exceptions.c:_PyVectorcall_NARGS:
   34|   102k|{
   35|   102k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   102k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   102k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|   102k|}
listobject.c:_PyVectorcall_NARGS:
   34|    362|{
   35|    362|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    362|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    362|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    362|}
longobject.c:_PyVectorcall_NARGS:
   34|  1.87k|{
   35|  1.87k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  1.87k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  1.87k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  1.87k|}
dictobject.c:_PyVectorcall_NARGS:
   34|     48|{
   35|     48|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     48|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     48|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     48|}
dictobject.c:PyObject_CallMethodOneArg:
   70|    405|{
   71|    405|    PyObject *args[2] = {self, arg};
   72|    405|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    405|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    405|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|    405|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 405, False: 0]
  ------------------
   74|    405|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|    405|#  define _Py_NULL NULL
  ------------------
   75|    405|}
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|    360|{
   35|    360|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    360|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    360|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    360|}
setobject.c:_PyVectorcall_NARGS:
   34|  18.9k|{
   35|  18.9k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  18.9k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  18.9k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  18.9k|}
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|  1.54k|{
   35|  1.54k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  1.54k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  1.54k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  1.54k|}
unicodeobject.c:_PyVectorcall_NARGS:
   34|   150k|{
   35|   150k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   150k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   150k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|   150k|}
weakrefobject.c:_PyVectorcall_NARGS:
   34|    398|{
   35|    398|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    398|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    398|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    398|}
bltinmodule.c:_PyVectorcall_NARGS:
   34|      7|{
   35|      7|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|      7|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|      7|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|      7|}
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|     91|{
   64|     91|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     91|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     91|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|     91|#  define _Py_NULL NULL
  ------------------
   66|     91|}
iobase.c:PyObject_CallMethodNoArgs:
   63|    176|{
   64|    176|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    176|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    176|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|    176|#  define _Py_NULL NULL
  ------------------
   66|    176|}
fileio.c:PyObject_CallMethodOneArg:
   70|     85|{
   71|     85|    PyObject *args[2] = {self, arg};
   72|     85|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     85|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     85|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|     85|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 85, False: 0]
  ------------------
   74|     85|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|     85|#  define _Py_NULL NULL
  ------------------
   75|     85|}
bufferedio.c:PyObject_CallMethodOneArg:
   70|  48.4k|{
   71|  48.4k|    PyObject *args[2] = {self, arg};
   72|  48.4k|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  48.4k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  48.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|  48.4k|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 48.4k, False: 0]
  ------------------
   74|  48.4k|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|  48.4k|#  define _Py_NULL NULL
  ------------------
   75|  48.4k|}
bufferedio.c:PyObject_CallMethodNoArgs:
   63|    277|{
   64|    277|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    277|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    277|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|    277|#  define _Py_NULL NULL
  ------------------
   66|    277|}
bufferedio.c:_PyVectorcall_NARGS:
   34|     85|{
   35|     85|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     85|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     85|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     85|}
textio.c:PyObject_CallMethodNoArgs:
   63|     22|{
   64|     22|    size_t nargsf = 1 | 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))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|     22|#  define _Py_NULL NULL
  ------------------
   66|     22|}
textio.c:PyObject_CallMethodOneArg:
   70|  48.4k|{
   71|  48.4k|    PyObject *args[2] = {self, arg};
   72|  48.4k|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  48.4k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  48.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|  48.4k|    assert(arg != NULL);
  ------------------
  |  Branch (73:5): [True: 48.4k, False: 0]
  ------------------
   74|  48.4k|    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|  48.4k|#  define _Py_NULL NULL
  ------------------
   75|  48.4k|}
_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|     85|{
   35|     85|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     85|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     85|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     85|}
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|}
call.c:_PyVectorcall_NARGS:
   34|   735k|{
   35|   735k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   735k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   735k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|   735k|}
descrobject.c:_PyVectorcall_NARGS:
   34|   148k|{
   35|   148k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   148k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   148k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|   148k|}
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|  38.0k|{
   35|  38.0k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  38.0k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  38.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  38.0k|}
fileobject.c:PyObject_CallMethodNoArgs:
   63|  48.6k|{
   64|  48.6k|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  48.6k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  48.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|  48.6k|#  define _Py_NULL NULL
  ------------------
   66|  48.6k|}
methodobject.c:_PyVectorcall_NARGS:
   34|   148k|{
   35|   148k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   148k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   148k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|   148k|}

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

exceptions.c:PyBytes_GET_SIZE:
   29|  2.22k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  2.22k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  2.22k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  2.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 2.22k, False: 0]
  ------------------
   31|  2.22k|    return Py_SIZE(self);
  ------------------
  |  |  214|  2.22k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  2.22k|}
exceptions.c:PyBytes_AS_STRING:
   24|  1.38k|{
   25|  1.38k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  1.38k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  1.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 1.38k, False: 0]
  ------------------
   26|  1.38k|}
longobject.c:PyBytes_AS_STRING:
   24|    255|{
   25|    255|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|    255|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    255|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 255, False: 0]
  ------------------
   26|    255|}
typeobject.c:PyBytes_GET_SIZE:
   29|     28|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|     28|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|     28|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 28, False: 0]
  ------------------
   31|     28|    return Py_SIZE(self);
  ------------------
  |  |  214|     28|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|     28|}
typeobject.c:PyBytes_AS_STRING:
   24|     28|{
   25|     28|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     28|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 28, False: 0]
  ------------------
   26|     28|}
unicodeobject.c:PyBytes_GET_SIZE:
   29|   258k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|   258k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|   258k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   258k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 258k, False: 0]
  ------------------
   31|   258k|    return Py_SIZE(self);
  ------------------
  |  |  214|   258k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   258k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   258k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|   258k|}
unicodeobject.c:PyBytes_AS_STRING:
   24|  90.2k|{
   25|  90.2k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  90.2k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  90.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 90.2k, False: 0]
  ------------------
   26|  90.2k|}
ceval.c:PyBytes_AS_STRING:
   24|  46.8k|{
   25|  46.8k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  46.8k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  46.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 46.8k, False: 0]
  ------------------
   26|  46.8k|}
ceval.c:PyBytes_GET_SIZE:
   29|  46.8k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  46.8k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  46.8k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  46.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 46.8k, False: 0]
  ------------------
   31|  46.8k|    return Py_SIZE(self);
  ------------------
  |  |  214|  46.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  46.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  46.8k|}
flowgraph.c:PyBytes_GET_SIZE:
   29|  7.14k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  7.14k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  7.14k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  7.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 7.14k, False: 0]
  ------------------
   31|  7.14k|    return Py_SIZE(self);
  ------------------
  |  |  214|  7.14k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  7.14k|}
import.c:PyBytes_AS_STRING:
   24|     43|{
   25|     43|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     43|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 43, False: 0]
  ------------------
   26|     43|}
importdl.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|}
marshal.c:PyBytes_AS_STRING:
   24|  9.98k|{
   25|  9.98k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  9.98k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  9.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 9.98k, False: 0]
  ------------------
   26|  9.98k|}
fileutils.c:PyBytes_AS_STRING:
   24|  5.50k|{
   25|  5.50k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  5.50k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  5.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 5.50k, False: 0]
  ------------------
   26|  5.50k|}
posixmodule.c:PyBytes_GET_SIZE:
   29|    533|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|    533|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|    533|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    533|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 533, False: 0]
  ------------------
   31|    533|    return Py_SIZE(self);
  ------------------
  |  |  214|    533|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    533|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    533|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|    533|}
posixmodule.c:PyBytes_AS_STRING:
   24|    533|{
   25|    533|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|    533|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    533|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 533, False: 0]
  ------------------
   26|    533|}
fileio.c:PyBytes_AS_STRING:
   24|     85|{
   25|     85|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     85|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 85, False: 0]
  ------------------
   26|     85|}
bytes_methods.c:PyBytes_AS_STRING:
   24|   129k|{
   25|   129k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|   129k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   129k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 129k, False: 0]
  ------------------
   26|   129k|}
bytes_methods.c:PyBytes_GET_SIZE:
   29|   129k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|   129k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|   129k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   129k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 129k, False: 0]
  ------------------
   31|   129k|    return Py_SIZE(self);
  ------------------
  |  |  214|   129k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   129k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   129k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|   129k|}
bytearrayobject.c:PyBytes_AS_STRING:
   24|   896k|{
   25|   896k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|   896k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   896k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 896k, False: 0]
  ------------------
   26|   896k|}
bytesobject.c:PyBytes_AS_STRING:
   24|   672k|{
   25|   672k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|   672k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   672k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 672k, False: 0]
  ------------------
   26|   672k|}
bytesobject.c:PyBytes_GET_SIZE:
   29|  2.14M|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  2.14M|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  2.14M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  2.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 2.14M, False: 0]
  ------------------
   31|  2.14M|    return Py_SIZE(self);
  ------------------
  |  |  214|  2.14M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  2.14M|}
codeobject.c:PyBytes_GET_SIZE:
   29|   632k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|   632k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|   632k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   632k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 632k, False: 0]
  ------------------
   31|   632k|    return Py_SIZE(self);
  ------------------
  |  |  214|   632k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   632k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   632k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|   632k|}
codeobject.c:PyBytes_AS_STRING:
   24|   464k|{
   25|   464k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|   464k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   464k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 464k, False: 0]
  ------------------
   26|   464k|}
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|}
memoryobject.c:PyBytes_AS_STRING:
   24|      4|{
   25|      4|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|      4|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 4, False: 0]
  ------------------
   26|      4|}
assemble.c:PyBytes_GET_SIZE:
   29|  5.27M|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  5.27M|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  5.27M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  5.27M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 5.27M, False: 0]
  ------------------
   31|  5.27M|    return Py_SIZE(self);
  ------------------
  |  |  214|  5.27M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.27M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.27M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  5.27M|}
assemble.c:PyBytes_AS_STRING:
   24|  11.1M|{
   25|  11.1M|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  11.1M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  11.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 11.1M, False: 0]
  ------------------
   26|  11.1M|}
pegen.c:PyBytes_GET_SIZE:
   29|  3.85M|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  3.85M|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  3.85M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  3.85M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 3.85M, False: 0]
  ------------------
   31|  3.85M|    return Py_SIZE(self);
  ------------------
  |  |  214|  3.85M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.85M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.85M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  3.85M|}
parser.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|}
lexer.c:PyBytes_GET_SIZE:
   29|    254|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|    254|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|    254|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|    254|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 254, False: 0]
  ------------------
   31|    254|    return Py_SIZE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|    254|}
string_tokenizer.c:PyBytes_AS_STRING:
   24|  3.15k|{
   25|  3.15k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  3.15k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  3.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 3.15k, False: 0]
  ------------------
   26|  3.15k|}
action_helpers.c:PyBytes_AS_STRING:
   24|  3.97k|{
   25|  3.97k|    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  3.97k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  3.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (25:12): [True: 3.97k, False: 0]
  ------------------
   26|  3.97k|}
action_helpers.c:PyBytes_GET_SIZE:
   29|  8.71k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  8.71k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  8.71k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  8.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 8.71k, False: 0]
  ------------------
   31|  8.71k|    return Py_SIZE(self);
  ------------------
  |  |  214|  8.71k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  8.71k|}
string_parser.c:PyBytes_GET_SIZE:
   29|  35.3k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  35.3k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  35.3k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  35.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (30:27): [True: 35.3k, False: 0]
  ------------------
   31|  35.3k|    return Py_SIZE(self);
  ------------------
  |  |  214|  35.3k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  35.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  35.3k|}

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

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

listobject.c:PyDict_GET_SIZE:
   53|     18|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     18|    PyDictObject *mp;
   55|     18|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 18, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|     18|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    return _Py_atomic_load_ssize_relaxed(&mp->ma_used);
   59|       |#else
   60|     18|    return mp->ma_used;
   61|     18|#endif
   62|     18|}
setobject.c:PyDict_GET_SIZE:
   53|    412|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|    412|    PyDictObject *mp;
   55|    412|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 412, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|    412|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|    412|#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|    412|    return mp->ma_used;
   61|    412|#endif
   62|    412|}
typeobject.c:PyDict_GET_SIZE:
   53|    156|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|    156|    PyDictObject *mp;
   55|    156|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 156, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|    156|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|    156|#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|    156|    return mp->ma_used;
   61|    156|#endif
   62|    156|}
ceval.c:PyDict_GET_SIZE:
   53|     87|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     87|    PyDictObject *mp;
   55|     87|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 87, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|     87|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     87|#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|     87|    return mp->ma_used;
   61|     87|#endif
   62|     87|}
compile.c:PyDict_GET_SIZE:
   53|   711k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|   711k|    PyDictObject *mp;
   55|   711k|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 711k, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|   711k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|   711k|#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|   711k|    return mp->ma_used;
   61|   711k|#endif
   62|   711k|}
flowgraph.c:PyDict_GET_SIZE:
   53|   696k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|   696k|    PyDictObject *mp;
   55|   696k|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 696k, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|   696k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|   696k|#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|   696k|    return mp->ma_used;
   61|   696k|#endif
   62|   696k|}
getargs.c:PyDict_GET_SIZE:
   53|    197|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|    197|    PyDictObject *mp;
   55|    197|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 197, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|    197|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|    197|#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|    197|    return mp->ma_used;
   61|    197|#endif
   62|    197|}
sre.c:PyDict_GET_SIZE:
   53|      9|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|      9|    PyDictObject *mp;
   55|      9|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 9, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|      9|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|      9|#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|      9|    return mp->ma_used;
   61|      9|#endif
   62|      9|}
_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|}
call.c:PyDict_GET_SIZE:
   53|  1.31k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|  1.31k|    PyDictObject *mp;
   55|  1.31k|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 1.31k, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|  1.31k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|  1.31k|#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.31k|    return mp->ma_used;
   61|  1.31k|#endif
   62|  1.31k|}
assemble.c:PyDict_GET_SIZE:
   53|   105k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|   105k|    PyDictObject *mp;
   55|   105k|    assert(PyAnyDict_Check(op));
  ------------------
  |  Branch (55:5): [True: 105k, False: 0]
  |  Branch (55:5): [True: 0, False: 0]
  ------------------
   56|   105k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|   105k|#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|   105k|    return mp->ma_used;
   61|   105k|#endif
   62|   105k|}

ceval.c:PyFloat_AS_DOUBLE:
   15|    572|static inline double PyFloat_AS_DOUBLE(PyObject *op) {
   16|    572|    return _PyFloat_CAST(op)->ob_fval;
  ------------------
  |  |   11|    572|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|    572|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (16:12): [True: 572, False: 0]
  ------------------
   17|    572|}
codeobject.c:PyFloat_AS_DOUBLE:
   15|  52.5M|static inline double PyFloat_AS_DOUBLE(PyObject *op) {
   16|  52.5M|    return _PyFloat_CAST(op)->ob_fval;
  ------------------
  |  |   11|  52.5M|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|  52.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (16:12): [True: 52.5M, False: 0]
  ------------------
   17|  52.5M|}
complexobject.c:PyFloat_AS_DOUBLE:
   15|  25.3k|static inline double PyFloat_AS_DOUBLE(PyObject *op) {
   16|  25.3k|    return _PyFloat_CAST(op)->ob_fval;
  ------------------
  |  |   11|  25.3k|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|  25.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (16:12): [True: 25.3k, False: 0]
  ------------------
   17|  25.3k|}
floatobject.c:PyFloat_AS_DOUBLE:
   15|   550k|static inline double PyFloat_AS_DOUBLE(PyObject *op) {
   16|   550k|    return _PyFloat_CAST(op)->ob_fval;
  ------------------
  |  |   11|   550k|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|   550k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (16:12): [True: 550k, False: 0]
  ------------------
   17|   550k|}
ast_unparse.c:PyFloat_AS_DOUBLE:
   15|  23.2k|static inline double PyFloat_AS_DOUBLE(PyObject *op) {
   16|  23.2k|    return _PyFloat_CAST(op)->ob_fval;
  ------------------
  |  |   11|  23.2k|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|  23.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (16:12): [True: 23.2k, False: 0]
  ------------------
   17|  23.2k|}

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

listobject.c:PyList_GET_SIZE:
   30|   173k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|   173k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   173k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   173k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 173k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|   173k|    return Py_SIZE(list);
  ------------------
  |  |  214|   173k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   173k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   173k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|   173k|#endif
   37|   173k|}
listobject.c:PyList_SET_ITEM:
   43|  7.98M|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  7.98M|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  7.98M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.98M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 7.98M, False: 0]
  ------------------
   45|  7.98M|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 7.98M, False: 0]
  ------------------
   46|  7.98M|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 7.98M, False: 0]
  ------------------
   47|  7.98M|    list->ob_item[index] = value;
   48|  7.98M|}
dictobject.c:PyList_SET_ITEM:
   43|   472k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|   472k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   472k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   472k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 472k, False: 0]
  ------------------
   45|   472k|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 472k, False: 0]
  ------------------
   46|   472k|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 472k, False: 0]
  ------------------
   47|   472k|    list->ob_item[index] = value;
   48|   472k|}
typeobject.c:PyList_SET_ITEM:
   43|    203|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|    203|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    203|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    203|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 203, False: 0]
  ------------------
   45|    203|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 203, False: 0]
  ------------------
   46|    203|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 203, False: 0]
  ------------------
   47|    203|    list->ob_item[index] = value;
   48|    203|}
unicodeobject.c:PyList_GET_SIZE:
   30|   273k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|   273k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   273k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   273k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 273k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|   273k|    return Py_SIZE(list);
  ------------------
  |  |  214|   273k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   273k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   273k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|   273k|#endif
   37|   273k|}
unicodeobject.c:PyList_SET_ITEM:
   43|    506|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|    506|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    506|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    506|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 506, False: 0]
  ------------------
   45|    506|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 506, False: 0]
  ------------------
   46|    506|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 506, False: 0]
  ------------------
   47|    506|    list->ob_item[index] = value;
   48|    506|}
unionobject.c:PyList_GET_SIZE:
   30|     45|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|     45|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     45|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 45, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|     45|    return Py_SIZE(list);
  ------------------
  |  |  214|     45|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|     45|#endif
   37|     45|}
_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|   290k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|   290k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   290k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   290k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 290k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|   290k|    return Py_SIZE(list);
  ------------------
  |  |  214|   290k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   290k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   290k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|   290k|#endif
   37|   290k|}
ceval.c:PyList_GET_SIZE:
   30|   240k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|   240k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   240k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   240k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 240k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|   240k|    return Py_SIZE(list);
  ------------------
  |  |  214|   240k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   240k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   240k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|   240k|#endif
   37|   240k|}
ceval.c:PyList_SET_ITEM:
   43|   768k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|   768k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   768k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   768k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 768k, False: 0]
  ------------------
   45|   768k|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 768k, False: 0]
  ------------------
   46|   768k|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 768k, False: 0]
  ------------------
   47|   768k|    list->ob_item[index] = value;
   48|   768k|}
codegen.c:PyList_GET_SIZE:
   30|  18.5k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  18.5k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  18.5k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  18.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 18.5k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  18.5k|    return Py_SIZE(list);
  ------------------
  |  |  214|  18.5k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  18.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  18.5k|#endif
   37|  18.5k|}
compile.c:PyList_GET_SIZE:
   30|   345k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|   345k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   345k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   345k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 345k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|   345k|    return Py_SIZE(list);
  ------------------
  |  |  214|   345k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   345k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   345k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|   345k|#endif
   37|   345k|}
compile.c:PyList_SET_ITEM:
   43|   277k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|   277k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   277k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   277k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 277k, False: 0]
  ------------------
   45|   277k|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 277k, False: 0]
  ------------------
   46|   277k|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 277k, False: 0]
  ------------------
   47|   277k|    list->ob_item[index] = value;
   48|   277k|}
flowgraph.c:PyList_GET_SIZE:
   30|  3.49M|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  3.49M|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  3.49M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 3.49M, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  3.49M|    return Py_SIZE(list);
  ------------------
  |  |  214|  3.49M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  3.49M|#endif
   37|  3.49M|}
gc.c:PyList_GET_SIZE:
   30|  31.0k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  31.0k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  31.0k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  31.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 31.0k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  31.0k|    return Py_SIZE(list);
  ------------------
  |  |  214|  31.0k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  31.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  31.0k|#endif
   37|  31.0k|}
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|  36.3k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  36.3k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  36.3k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  36.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 36.3k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|  36.3k|    return Py_SIZE(list);
  ------------------
  |  |  214|  36.3k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  36.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  36.3k|#endif
   37|  36.3k|}
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|     11|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|     11|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     11|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 11, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|     11|    return Py_SIZE(list);
  ------------------
  |  |  214|     11|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|     11|#endif
   37|     11|}
symtable.c:PyList_GET_SIZE:
   30|   235k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|   235k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   235k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   235k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 235k, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|   235k|    return Py_SIZE(list);
  ------------------
  |  |  214|   235k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   235k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   235k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|   235k|#endif
   37|   235k|}
sre.c:PyList_GET_SIZE:
   30|      9|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|      9|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|      9|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (31:26): [True: 9, False: 0]
  ------------------
   32|       |#ifdef Py_GIL_DISABLED
   33|       |    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
   34|       |#else
   35|      9|    return Py_SIZE(list);
  ------------------
  |  |  214|      9|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|      9|#endif
   37|      9|}
_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|    533|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|    533|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    533|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    533|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 533, False: 0]
  ------------------
   45|    533|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 533, False: 0]
  ------------------
   46|    533|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 533, False: 0]
  ------------------
   47|    533|    list->ob_item[index] = value;
   48|    533|}
bytesobject.c:PyList_SET_ITEM:
   43|  7.27k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  7.27k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  7.27k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 7.27k, False: 0]
  ------------------
   45|  7.27k|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 7.27k, False: 0]
  ------------------
   46|  7.27k|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 7.27k, False: 0]
  ------------------
   47|  7.27k|    list->ob_item[index] = value;
   48|  7.27k|}
memoryobject.c:PyList_SET_ITEM:
   43|    128|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|    128|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    128|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    128|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 128, False: 0]
  ------------------
   45|    128|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 128, False: 0]
  ------------------
   46|    128|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 128, False: 0]
  ------------------
   47|    128|    list->ob_item[index] = value;
   48|    128|}
Python-ast.c:PyList_SET_ITEM:
   43|   132k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|   132k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   132k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   132k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (44:26): [True: 132k, False: 0]
  ------------------
   45|   132k|    assert(0 <= index);
  ------------------
  |  Branch (45:5): [True: 132k, False: 0]
  ------------------
   46|   132k|    assert(index < list->allocated);
  ------------------
  |  Branch (46:5): [True: 132k, False: 0]
  ------------------
   47|   132k|    list->ob_item[index] = value;
   48|   132k|}

listobject.c:_PyLong_IsCompact:
  122|  6.12k|_PyLong_IsCompact(const PyLongObject* op) {
  123|  6.12k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (123:5): [True: 6.12k, False: 0]
  ------------------
  124|  6.12k|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|  6.12k|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|  6.12k|}
listobject.c:_PyLong_CompactValue:
  131|  2.55k|{
  132|  2.55k|    Py_ssize_t sign;
  133|  2.55k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (133:5): [True: 2.55k, False: 0]
  ------------------
  134|  2.55k|    assert(PyUnstable_Long_IsCompact(op));
  ------------------
  |  Branch (134:5): [True: 2.55k, False: 0]
  ------------------
  135|  2.55k|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|  2.55k|#define _PyLong_SIGN_MASK 3
  ------------------
  136|  2.55k|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 0, False: 2.55k]
  ------------------
  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|  2.55k|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|  2.55k|}
longobject.c:_PyLong_IsCompact:
  122|   370M|_PyLong_IsCompact(const PyLongObject* op) {
  123|   370M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (123:5): [True: 370M, False: 0]
  ------------------
  124|   370M|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|   370M|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|   370M|}
longobject.c:_PyLong_CompactValue:
  131|   202M|{
  132|   202M|    Py_ssize_t sign;
  133|   202M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (133:5): [True: 202M, False: 0]
  ------------------
  134|   202M|    assert(PyUnstable_Long_IsCompact(op));
  ------------------
  |  Branch (134:5): [True: 202M, False: 0]
  ------------------
  135|   202M|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|   202M|#define _PyLong_SIGN_MASK 3
  ------------------
  136|   202M|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 4.47M, False: 197M]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|  4.47M|        assert(op->long_value.ob_digit[0] == 0);
  ------------------
  |  Branch (139:9): [True: 4.47M, False: 0]
  ------------------
  140|  4.47M|    }
  141|   202M|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|   202M|}
bltinmodule.c:_PyLong_IsCompact:
  122|   140k|_PyLong_IsCompact(const PyLongObject* op) {
  123|   140k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (123:5): [True: 140k, False: 0]
  ------------------
  124|   140k|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|   140k|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|   140k|}
bltinmodule.c:_PyLong_CompactValue:
  131|  70.0k|{
  132|  70.0k|    Py_ssize_t sign;
  133|  70.0k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (133:5): [True: 70.0k, False: 0]
  ------------------
  134|  70.0k|    assert(PyUnstable_Long_IsCompact(op));
  ------------------
  |  Branch (134:5): [True: 70.0k, False: 0]
  ------------------
  135|  70.0k|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|  70.0k|#define _PyLong_SIGN_MASK 3
  ------------------
  136|  70.0k|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 41.9k, False: 28.0k]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|  41.9k|        assert(op->long_value.ob_digit[0] == 0);
  ------------------
  |  Branch (139:9): [True: 41.9k, False: 0]
  ------------------
  140|  41.9k|    }
  141|  70.0k|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|  70.0k|}
ceval.c:_PyLong_CompactValue:
  131|  59.6M|{
  132|  59.6M|    Py_ssize_t sign;
  133|  59.6M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (133:5): [True: 59.6M, False: 0]
  ------------------
  134|  59.6M|    assert(PyUnstable_Long_IsCompact(op));
  ------------------
  |  Branch (134:5): [True: 59.6M, False: 0]
  ------------------
  135|  59.6M|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|  59.6M|#define _PyLong_SIGN_MASK 3
  ------------------
  136|  59.6M|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 947k, False: 58.7M]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|   947k|        assert(op->long_value.ob_digit[0] == 0);
  ------------------
  |  Branch (139:9): [True: 947k, False: 0]
  ------------------
  140|   947k|    }
  141|  59.6M|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|  59.6M|}
ceval.c:_PyLong_IsCompact:
  122|   260M|_PyLong_IsCompact(const PyLongObject* op) {
  123|   260M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (123:5): [True: 260M, False: 0]
  ------------------
  124|   260M|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|   260M|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|   260M|}
specialize.c:_PyLong_CompactValue:
  131|  42.5k|{
  132|  42.5k|    Py_ssize_t sign;
  133|  42.5k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (133:5): [True: 42.5k, False: 0]
  ------------------
  134|  42.5k|    assert(PyUnstable_Long_IsCompact(op));
  ------------------
  |  Branch (134:5): [True: 42.5k, False: 0]
  ------------------
  135|  42.5k|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|  42.5k|#define _PyLong_SIGN_MASK 3
  ------------------
  136|  42.5k|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 269, False: 42.2k]
  ------------------
  137|       |        // gh-147988: Make sure that the digit is zero.
  138|       |        // It helps detecting the usage of uninitialized digits.
  139|    269|        assert(op->long_value.ob_digit[0] == 0);
  ------------------
  |  Branch (139:9): [True: 269, False: 0]
  ------------------
  140|    269|    }
  141|  42.5k|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|  42.5k|}
specialize.c:_PyLong_IsCompact:
  122|  86.9k|_PyLong_IsCompact(const PyLongObject* op) {
  123|  86.9k|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  ------------------
  |  Branch (123:5): [True: 86.9k, False: 0]
  ------------------
  124|  86.9k|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|  86.9k|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|  86.9k|}

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

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

longobject.c:_Py_atomic_load_int:
  248|  2.38k|{ 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|    416|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
typeobject.c:_Py_atomic_compare_exchange_uint:
  100|    416|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  101|    416|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
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); }
unicodeobject.c:_Py_atomic_load_ptr:
  300|  5.91k|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_SEQ_CST); }
unicodeobject.c:_Py_atomic_store_ptr:
  450|      1|{ __atomic_store_n((void **)obj, value, __ATOMIC_SEQ_CST); }
_warnings.c:_Py_atomic_load_uint8:
  272|  48.4k|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
ceval.c:_Py_atomic_load_uintptr_relaxed:
  375|  54.2M|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
gc.c:_Py_atomic_compare_exchange_int:
   70|  8.38k|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
   71|  8.38k|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
gc.c:_Py_atomic_store_int:
  402|  8.38k|{ __atomic_store_n(obj, value, __ATOMIC_SEQ_CST); }
gc.c:_Py_atomic_load_uintptr_relaxed:
  375|  33.0M|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
gc.c:_Py_atomic_or_uintptr:
  241|  8.38k|{ return __atomic_fetch_or(obj, value, __ATOMIC_SEQ_CST); }
gc.c:_Py_atomic_load_int_relaxed:
  307|  33.0M|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
getargs.c:_Py_atomic_load_uint8:
  272|  2.26k|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
getargs.c:_Py_atomic_load_ptr:
  300|      4|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_SEQ_CST); }
getargs.c:_Py_atomic_compare_exchange_ptr:
  135|      4|{ return __atomic_compare_exchange_n((void **)obj, (void **)expected, desired, 0,
  136|      4|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
ceval_gil.c:_Py_atomic_load_int_acquire:
  589|  55.7k|{ return __atomic_load_n(obj, __ATOMIC_ACQUIRE); }
ceval_gil.c:_Py_atomic_load_int_relaxed:
  307|   111k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_load_ptr_relaxed:
  387|  55.7k|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_store_ptr_relaxed:
  509|  55.7k|{ __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|   111k|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_and_uintptr:
  218|  55.9k|{ return __atomic_fetch_and(obj, value, __ATOMIC_SEQ_CST); }
ceval_gil.c:_Py_atomic_load_int32_relaxed:
  347|   111k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_load_uintptr_relaxed:
  375|   167k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
import.c:_Py_atomic_add_ssize:
   63|     51|{ return __atomic_fetch_add(obj, value, __ATOMIC_SEQ_CST); }
import.c:_Py_atomic_compare_exchange_uint8:
  105|    110|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|    110|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_load_uint8_relaxed:
  359|  97.9k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
lock.c:_Py_atomic_compare_exchange_uint8:
  105|   198k|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|   198k|                                     __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|   103k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
lock.c:_Py_atomic_store_ullong_relaxed:
  518|   101k|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
pylifecycle.c:_Py_atomic_load_ptr_relaxed:
  387|  96.9k|{ 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|   223k|{ 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|  97.1k|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|  97.1k|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
fileutils.c:_Py_atomic_load_int_relaxed:
  307|    170|{ 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|  1.27M|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
signalmodule.c:_Py_atomic_and_uintptr:
  218|  8.17k|{ return __atomic_fetch_and(obj, value, __ATOMIC_SEQ_CST); }
signalmodule.c:_Py_atomic_load_int:
  248|  1.27M|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
codeobject.c:_Py_atomic_add_uint64:
   55|  53.5k|{ return __atomic_fetch_add(obj, value, __ATOMIC_SEQ_CST); }
Python-ast.c:_Py_atomic_load_uint8:
  272|  1.87k|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }

obmalloc.c:_PyMutex_Lock:
   53|      2|{
   54|      2|    uint8_t expected = _Py_UNLOCKED;
  ------------------
  |  |    9|      2|#define _Py_UNLOCKED    0
  ------------------
   55|      2|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_LOCKED)) {
  ------------------
  |  |   10|      2|#define _Py_LOCKED      1
  ------------------
  |  Branch (55:9): [True: 0, False: 2]
  ------------------
   56|      0|        PyMutex_Lock(m);
   57|      0|    }
   58|      2|}
obmalloc.c:_PyMutex_Unlock:
   64|      2|{
   65|      2|    uint8_t expected = _Py_LOCKED;
  ------------------
  |  |   10|      2|#define _Py_LOCKED      1
  ------------------
   66|      2|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_UNLOCKED)) {
  ------------------
  |  |    9|      2|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (66:9): [True: 0, False: 2]
  ------------------
   67|      0|        PyMutex_Unlock(m);
   68|      0|    }
   69|      2|}
typeobject.c:_PyMutex_Lock:
   53|     12|{
   54|     12|    uint8_t expected = _Py_UNLOCKED;
  ------------------
  |  |    9|     12|#define _Py_UNLOCKED    0
  ------------------
   55|     12|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_LOCKED)) {
  ------------------
  |  |   10|     12|#define _Py_LOCKED      1
  ------------------
  |  Branch (55:9): [True: 0, False: 12]
  ------------------
   56|      0|        PyMutex_Lock(m);
   57|      0|    }
   58|     12|}
typeobject.c:_PyMutex_Unlock:
   64|     12|{
   65|     12|    uint8_t expected = _Py_LOCKED;
  ------------------
  |  |   10|     12|#define _Py_LOCKED      1
  ------------------
   66|     12|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_UNLOCKED)) {
  ------------------
  |  |    9|     12|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (66:9): [True: 0, False: 12]
  ------------------
   67|      0|        PyMutex_Unlock(m);
   68|      0|    }
   69|     12|}
_warnings.c:_PyMutex_IsLocked:
   75|  48.4k|{
   76|  48.4k|    return (_Py_atomic_load_uint8(&m->_bits) & _Py_LOCKED) != 0;
  ------------------
  |  |   10|  48.4k|#define _Py_LOCKED      1
  ------------------
   77|  48.4k|}
import.c:_PyMutex_Lock:
   53|     55|{
   54|     55|    uint8_t expected = _Py_UNLOCKED;
  ------------------
  |  |    9|     55|#define _Py_UNLOCKED    0
  ------------------
   55|     55|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_LOCKED)) {
  ------------------
  |  |   10|     55|#define _Py_LOCKED      1
  ------------------
  |  Branch (55:9): [True: 0, False: 55]
  ------------------
   56|      0|        PyMutex_Lock(m);
   57|      0|    }
   58|     55|}
import.c:_PyMutex_Unlock:
   64|     55|{
   65|     55|    uint8_t expected = _Py_LOCKED;
  ------------------
  |  |   10|     55|#define _Py_LOCKED      1
  ------------------
   66|     55|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_UNLOCKED)) {
  ------------------
  |  |    9|     55|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (66:9): [True: 0, False: 55]
  ------------------
   67|      0|        PyMutex_Unlock(m);
   68|      0|    }
   69|     55|}
lock.c:_PyMutex_Lock:
   53|  50.0k|{
   54|  50.0k|    uint8_t expected = _Py_UNLOCKED;
  ------------------
  |  |    9|  50.0k|#define _Py_UNLOCKED    0
  ------------------
   55|  50.0k|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_LOCKED)) {
  ------------------
  |  |   10|  50.0k|#define _Py_LOCKED      1
  ------------------
  |  Branch (55:9): [True: 0, False: 50.0k]
  ------------------
   56|      0|        PyMutex_Lock(m);
   57|      0|    }
   58|  50.0k|}
lock.c:_PyMutex_Unlock:
   64|  50.8k|{
   65|  50.8k|    uint8_t expected = _Py_LOCKED;
  ------------------
  |  |   10|  50.8k|#define _Py_LOCKED      1
  ------------------
   66|  50.8k|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_UNLOCKED)) {
  ------------------
  |  |    9|  50.8k|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (66:9): [True: 0, False: 50.8k]
  ------------------
   67|      0|        PyMutex_Unlock(m);
   68|      0|    }
   69|  50.8k|}
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|  97.1k|{
   65|  97.1k|    uint8_t expected = _Py_LOCKED;
  ------------------
  |  |   10|  97.1k|#define _Py_LOCKED      1
  ------------------
   66|  97.1k|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_UNLOCKED)) {
  ------------------
  |  |    9|  97.1k|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (66:9): [True: 0, False: 97.1k]
  ------------------
   67|      0|        PyMutex_Unlock(m);
   68|      0|    }
   69|  97.1k|}

listobject.c:PySet_GET_SIZE:
   64|  31.1k|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|  31.1k|    return _PySet_CAST(so)->used;
  ------------------
  |  |   62|  31.1k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  31.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (68:12): [True: 31.1k, False: 0]
  |  Branch (68:12): [True: 0, False: 0]
  |  Branch (68:12): [True: 0, False: 0]
  |  Branch (68:12): [True: 0, False: 0]
  ------------------
   69|  31.1k|#endif
   70|  31.1k|}
setobject.c:PySet_GET_SIZE:
   64|  36.2k|static inline Py_ssize_t PySet_GET_SIZE(PyObject *so) {
   65|       |#ifdef Py_GIL_DISABLED
   66|       |    return _Py_atomic_load_ssize_relaxed(&(_PySet_CAST(so)->used));
   67|       |#else
   68|  36.2k|    return _PySet_CAST(so)->used;
  ------------------
  |  |   62|  36.2k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  36.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (68:12): [True: 832, False: 35.3k]
  |  Branch (68:12): [True: 35.3k, False: 0]
  |  Branch (68:12): [True: 0, False: 0]
  |  Branch (68:12): [True: 0, False: 0]
  ------------------
   69|  36.2k|#endif
   70|  36.2k|}
_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|}
codeobject.c:PySet_GET_SIZE:
   64|  5.43k|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|  5.43k|    return _PySet_CAST(so)->used;
  ------------------
  |  |   62|  5.43k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  5.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (68:12): [True: 0, False: 5.43k]
  |  Branch (68:12): [True: 5.43k, False: 0]
  |  Branch (68:12): [True: 0, False: 0]
  |  Branch (68:12): [True: 0, False: 0]
  ------------------
   69|  5.43k|#endif
   70|  5.43k|}

exceptions.c:PyTuple_GET_SIZE:
   23|  74.4k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  74.4k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  74.4k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  74.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 74.4k, False: 0]
  ------------------
   25|  74.4k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  74.4k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  74.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  74.4k|}
listobject.c:PyTuple_GET_SIZE:
   23|  1.32k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  1.32k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.32k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 1.32k, False: 0]
  ------------------
   25|  1.32k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  1.32k|#  define Py_SIZE(ob) _Py_SIZE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  1.32k|}
longobject.c:PyTuple_GET_SIZE:
   23|    168|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    168|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    168|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    168|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 168, False: 0]
  ------------------
   25|    168|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    168|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    168|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    168|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    168|}
dictobject.c:PyTuple_SET_ITEM:
   33|    630|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    630|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    630|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    630|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 630, False: 0]
  ------------------
   35|    630|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 630, False: 0]
  ------------------
   36|    630|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 630, False: 0]
  ------------------
   37|    630|    tuple->ob_item[index] = value;
   38|    630|}
dictobject.c:PyTuple_GET_SIZE:
   23|  1.05k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  1.05k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.05k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 1.05k, False: 0]
  ------------------
   25|  1.05k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  1.05k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  1.05k|}
moduleobject.c:PyTuple_GET_SIZE:
   23|    117|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    117|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    117|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    117|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 117, False: 0]
  ------------------
   25|    117|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    117|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    117|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    117|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    117|}
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|  56.3k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  56.3k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  56.3k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  56.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 56.3k, False: 0]
  ------------------
   25|  56.3k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  56.3k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  56.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  56.3k|}
tupleobject.c:PyTuple_SET_ITEM:
   33|    612|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    612|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    612|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    612|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 612, False: 0]
  ------------------
   35|    612|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 612, False: 0]
  ------------------
   36|    612|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 612, False: 0]
  ------------------
   37|    612|    tuple->ob_item[index] = value;
   38|    612|}
typeobject.c:PyTuple_GET_SIZE:
   23|  19.6M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  19.6M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  19.6M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  19.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 19.6M, False: 0]
  ------------------
   25|  19.6M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  19.6M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  19.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  19.6M|}
typeobject.c:PyTuple_SET_ITEM:
   33|  3.61k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  3.61k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  3.61k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 3.61k, False: 0]
  ------------------
   35|  3.61k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 3.61k, False: 0]
  ------------------
   36|  3.61k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 3.61k, False: 0]
  ------------------
   37|  3.61k|    tuple->ob_item[index] = value;
   38|  3.61k|}
unicodeobject.c:PyTuple_GET_SIZE:
   23|    201|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    201|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    201|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    201|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 201, False: 0]
  ------------------
   25|    201|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    201|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    201|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    201|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    201|}
unicodeobject.c:PyTuple_SET_ITEM:
   33|  3.42k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  3.42k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  3.42k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 3.42k, False: 0]
  ------------------
   35|  3.42k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 3.42k, False: 0]
  ------------------
   36|  3.42k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 3.42k, False: 0]
  ------------------
   37|  3.42k|    tuple->ob_item[index] = value;
   38|  3.42k|}
weakrefobject.c:PyTuple_SET_ITEM:
   33|  1.40k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  1.40k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.40k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 1.40k, False: 0]
  ------------------
   35|  1.40k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 1.40k, False: 0]
  ------------------
   36|  1.40k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 1.40k, False: 0]
  ------------------
   37|  1.40k|    tuple->ob_item[index] = value;
   38|  1.40k|}
_warnings.c:PyTuple_GET_SIZE:
   23|   242k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|   242k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   242k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   242k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 242k, False: 0]
  ------------------
   25|   242k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|   242k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   242k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   242k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|   242k|}
bltinmodule.c:PyTuple_GET_SIZE:
   23|    999|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    999|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    999|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    999|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 999, False: 0]
  ------------------
   25|    999|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    999|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    999|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    999|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    999|}
bltinmodule.c:PyTuple_SET_ITEM:
   33|    147|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    147|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    147|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    147|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 147, False: 0]
  ------------------
   35|    147|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 147, False: 0]
  ------------------
   36|    147|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 147, False: 0]
  ------------------
   37|    147|    tuple->ob_item[index] = value;
   38|    147|}
ceval.c:PyTuple_GET_SIZE:
   23|  1.35M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  1.35M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.35M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.35M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 1.35M, False: 0]
  ------------------
   25|  1.35M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  1.35M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.35M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.35M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  1.35M|}
codecs.c:PyTuple_GET_SIZE:
   23|  39.2k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  39.2k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  39.2k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  39.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 39.2k, False: 0]
  ------------------
   25|  39.2k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  39.2k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  39.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  39.2k|}
codecs.c:PyTuple_SET_ITEM:
   33|  41.1k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  41.1k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  41.1k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  41.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 41.1k, False: 0]
  ------------------
   35|  41.1k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 41.1k, False: 0]
  ------------------
   36|  41.1k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 41.1k, False: 0]
  ------------------
   37|  41.1k|    tuple->ob_item[index] = value;
   38|  41.1k|}
codegen.c:PyTuple_SET_ITEM:
   33|  23.7k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  23.7k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  23.7k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  23.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 23.7k, False: 0]
  ------------------
   35|  23.7k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 23.7k, False: 0]
  ------------------
   36|  23.7k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 23.7k, False: 0]
  ------------------
   37|  23.7k|    tuple->ob_item[index] = value;
   38|  23.7k|}
compile.c:PyTuple_GET_SIZE:
   23|  2.63k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  2.63k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  2.63k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 2.63k, False: 0]
  ------------------
   25|  2.63k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  2.63k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  2.63k|}
flowgraph.c:PyTuple_GET_SIZE:
   23|   540k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|   540k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   540k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   540k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 540k, False: 0]
  ------------------
   25|   540k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|   540k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   540k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   540k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|   540k|}
flowgraph.c:PyTuple_SET_ITEM:
   33|  90.7k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  90.7k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  90.7k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  90.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 90.7k, False: 0]
  ------------------
   35|  90.7k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 90.7k, False: 0]
  ------------------
   36|  90.7k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 90.7k, False: 0]
  ------------------
   37|  90.7k|    tuple->ob_item[index] = value;
   38|  90.7k|}
getargs.c:PyTuple_GET_SIZE:
   23|  68.7k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  68.7k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  68.7k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  68.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 68.7k, False: 0]
  ------------------
   25|  68.7k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  68.7k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  68.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  68.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  68.7k|}
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|  47.0k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  47.0k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  47.0k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  47.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 47.0k, False: 0]
  ------------------
   35|  47.0k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 47.0k, False: 0]
  ------------------
   36|  47.0k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 47.0k, False: 0]
  ------------------
   37|  47.0k|    tuple->ob_item[index] = value;
   38|  47.0k|}
modsupport.c:PyTuple_SET_ITEM:
   33|   154k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|   154k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   154k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   154k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 154k, False: 0]
  ------------------
   35|   154k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 154k, False: 0]
  ------------------
   36|   154k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 154k, False: 0]
  ------------------
   37|   154k|    tuple->ob_item[index] = value;
   38|   154k|}
specialize.c:PyTuple_GET_SIZE:
   23|    134|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    134|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    134|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 134, False: 0]
  ------------------
   25|    134|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    134|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    134|}
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|     91|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     91|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     91|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 91, False: 0]
  ------------------
   25|     91|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     91|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     91|}
bufferedio.c:PyTuple_GET_SIZE:
   23|     91|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     91|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     91|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 91, False: 0]
  ------------------
   25|     91|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     91|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     91|}
textio.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|}
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|     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|}
_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|    101|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    101|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    101|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 101, False: 0]
  ------------------
   25|    101|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    101|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    101|}
bytearrayobject.c:PyTuple_GET_SIZE:
   23|   238k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|   238k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   238k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   238k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 238k, False: 0]
  ------------------
   25|   238k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|   238k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   238k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   238k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|   238k|}
bytesobject.c:PyTuple_GET_SIZE:
   23|  19.4k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  19.4k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  19.4k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  19.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 19.4k, False: 0]
  ------------------
   25|  19.4k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  19.4k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  19.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  19.4k|}
call.c:PyTuple_GET_SIZE:
   23|  94.7k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  94.7k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  94.7k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  94.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 94.7k, False: 0]
  ------------------
   25|  94.7k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  94.7k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  94.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  94.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  94.7k|}
call.c:PyTuple_SET_ITEM:
   33|  1.38k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  1.38k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.38k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 1.38k, False: 0]
  ------------------
   35|  1.38k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 1.38k, False: 0]
  ------------------
   36|  1.38k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 1.38k, False: 0]
  ------------------
   37|  1.38k|    tuple->ob_item[index] = value;
   38|  1.38k|}
codeobject.c:PyTuple_SET_ITEM:
   33|   115M|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|   115M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   115M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   115M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 115M, False: 0]
  ------------------
   35|   115M|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 115M, False: 0]
  ------------------
   36|   115M|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 115M, False: 0]
  ------------------
   37|   115M|    tuple->ob_item[index] = value;
   38|   115M|}
codeobject.c:PyTuple_GET_SIZE:
   23|   999k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|   999k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   999k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   999k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 999k, False: 0]
  ------------------
   25|   999k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|   999k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   999k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   999k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|   999k|}
descrobject.c:PyTuple_GET_SIZE:
   23|    591|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    591|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    591|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    591|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 591, False: 0]
  ------------------
   25|    591|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    591|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    591|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    591|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    591|}
enumobject.c:PyTuple_SET_ITEM:
   33|  1.24M|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  1.24M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.24M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 1.24M, False: 0]
  ------------------
   35|  1.24M|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 1.24M, False: 0]
  ------------------
   36|  1.24M|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 1.24M, False: 0]
  ------------------
   37|  1.24M|    tuple->ob_item[index] = value;
   38|  1.24M|}
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|}
memoryobject.c:PyTuple_GET_SIZE:
   23|     87|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     87|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     87|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (24:28): [True: 87, False: 0]
  ------------------
   25|     87|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     87|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     87|}
Python-ast.c:PyTuple_SET_ITEM:
   33|    230|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    230|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    230|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    230|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 230, False: 0]
  ------------------
   35|    230|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 230, False: 0]
  ------------------
   36|    230|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 230, False: 0]
  ------------------
   37|    230|    tuple->ob_item[index] = value;
   38|    230|}
assemble.c:PyTuple_SET_ITEM:
   33|   200k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|   200k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   200k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   200k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (34:28): [True: 200k, False: 0]
  ------------------
   35|   200k|    assert(0 <= index);
  ------------------
  |  Branch (35:5): [True: 200k, False: 0]
  ------------------
   36|   200k|    assert(index < Py_SIZE(tuple));
  ------------------
  |  Branch (36:5): [True: 200k, False: 0]
  ------------------
   37|   200k|    tuple->ob_item[index] = value;
   38|   200k|}

exceptions.c:PyUnicode_GET_LENGTH:
  296|     34|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|     34|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     34|    (assert(PyUnicode_Check(op)), \
  |  |  187|     34|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 34, False: 0]
  ------------------
  298|     34|}
listobject.c:PyUnicode_GET_LENGTH:
  296|  3.07M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  3.07M|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  3.07M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.07M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.07M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 3.07M, False: 0]
  ------------------
  298|  3.07M|}
listobject.c:_PyUnicode_DATA:
  278|  1.94M|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  1.94M|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  1.94M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.94M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.94M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 1.94M, False: 0]
  |  |  ------------------
  ------------------
  280|  1.94M|        return _PyUnicode_COMPACT_DATA(op);
  281|  1.94M|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  1.94M|}
listobject.c:PyUnicode_IS_COMPACT:
  231|  1.94M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|  1.94M|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  1.94M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.94M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.94M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 1.94M, False: 0]
  ------------------
  233|  1.94M|}
listobject.c:_PyUnicode_COMPACT_DATA:
  261|  1.94M|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  1.94M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  1.94M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.94M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.94M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 1.90M, False: 44.7k]
  |  |  ------------------
  ------------------
  263|  1.90M|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  3.80M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 1.90M, False: 0]
  |  |  ------------------
  ------------------
  264|  1.90M|    }
  265|  44.7k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  89.5k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 44.7k, False: 0]
  |  |  ------------------
  ------------------
  266|  44.7k|}
listobject.c:PyUnicode_IS_ASCII:
  224|  1.94M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|  1.94M|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  1.94M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.94M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.94M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 1.94M, False: 0]
  ------------------
  226|  1.94M|}
longobject.c:PyUnicode_GET_LENGTH:
  296|    132|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|    132|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|    132|    (assert(PyUnicode_Check(op)), \
  |  |  187|    132|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 132, False: 0]
  ------------------
  298|    132|}
longobject.c:_PyUnicode_DATA:
  278|   205k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|   205k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|   205k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   205k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   205k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 205k, False: 0]
  |  |  ------------------
  ------------------
  280|   205k|        return _PyUnicode_COMPACT_DATA(op);
  281|   205k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|   205k|}
longobject.c:PyUnicode_IS_COMPACT:
  231|   205k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|   205k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|   205k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   205k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   205k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 205k, False: 0]
  ------------------
  233|   205k|}
longobject.c:_PyUnicode_COMPACT_DATA:
  261|   205k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|   205k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|   205k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   205k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   205k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 205k, False: 0]
  |  |  ------------------
  ------------------
  263|   205k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|   411k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 205k, False: 0]
  |  |  ------------------
  ------------------
  264|   205k|    }
  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|   207k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|   207k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   207k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   207k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 207k, False: 0]
  ------------------
  226|   207k|}
dictobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  303|  20.8M|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|  20.8M|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|  20.8M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  20.8M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  20.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (307:12): [True: 20.8M, False: 0]
  ------------------
  308|  20.8M|#endif
  309|  20.8M|}
dictobject.c:PyUnicode_GET_LENGTH:
  296|   661k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|   661k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   661k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   661k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   661k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 661k, False: 0]
  ------------------
  298|   661k|}
dictobject.c:_PyUnicode_DATA:
  278|   660k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|   660k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|   660k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   660k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   660k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 660k, False: 0]
  |  |  ------------------
  ------------------
  280|   660k|        return _PyUnicode_COMPACT_DATA(op);
  281|   660k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|   660k|}
dictobject.c:PyUnicode_IS_COMPACT:
  231|   660k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|   660k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|   660k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   660k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   660k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 660k, False: 0]
  ------------------
  233|   660k|}
dictobject.c:_PyUnicode_COMPACT_DATA:
  261|   660k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|   660k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|   660k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   660k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   660k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 563k, False: 97.7k]
  |  |  ------------------
  ------------------
  263|   563k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  1.12M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 563k, False: 0]
  |  |  ------------------
  ------------------
  264|   563k|    }
  265|  97.7k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|   195k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 97.7k, False: 0]
  |  |  ------------------
  ------------------
  266|  97.7k|}
dictobject.c:PyUnicode_IS_ASCII:
  224|   660k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|   660k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   660k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   660k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   660k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 660k, False: 0]
  ------------------
  226|   660k|}
setobject.c:PyUnicode_GET_LENGTH:
  296|   115k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|   115k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   115k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   115k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   115k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 115k, False: 0]
  ------------------
  298|   115k|}
setobject.c:_PyUnicode_DATA:
  278|   115k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|   115k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|   115k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   115k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   115k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 115k, False: 0]
  |  |  ------------------
  ------------------
  280|   115k|        return _PyUnicode_COMPACT_DATA(op);
  281|   115k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|   115k|}
setobject.c:PyUnicode_IS_COMPACT:
  231|   115k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|   115k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|   115k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   115k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   115k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 115k, False: 0]
  ------------------
  233|   115k|}
setobject.c:_PyUnicode_COMPACT_DATA:
  261|   115k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|   115k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|   115k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   115k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   115k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 326, False: 115k]
  |  |  ------------------
  ------------------
  263|    326|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    652|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 326, False: 0]
  |  |  ------------------
  ------------------
  264|    326|    }
  265|   115k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|   230k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 115k, False: 0]
  |  |  ------------------
  ------------------
  266|   115k|}
setobject.c:PyUnicode_IS_ASCII:
  224|   115k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|   115k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   115k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   115k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   115k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 115k, False: 0]
  ------------------
  226|   115k|}
typeobject.c:PyUnicode_CHECK_INTERNED:
  207|  6.10M|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|  6.10M|    return _PyASCIIObject_CAST(op)->state.interned;
  ------------------
  |  |  186|  6.10M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  6.10M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  6.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (211:12): [True: 6.10M, False: 0]
  ------------------
  212|  6.10M|#endif
  213|  6.10M|}
typeobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  303|  82.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|  82.9k|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|  82.9k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  82.9k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  82.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (307:12): [True: 82.9k, False: 0]
  ------------------
  308|  82.9k|#endif
  309|  82.9k|}
typeobject.c:PyUnicode_GET_LENGTH:
  296|  49.6k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  49.6k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  49.6k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  49.6k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  49.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 49.6k, False: 0]
  ------------------
  298|  49.6k|}
typeobject.c:_PyUnicode_DATA:
  278|    343|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|    343|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|    343|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    343|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    343|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 343, False: 0]
  |  |  ------------------
  ------------------
  280|    343|        return _PyUnicode_COMPACT_DATA(op);
  281|    343|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|    343|}
typeobject.c:PyUnicode_IS_COMPACT:
  231|    343|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|    343|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|    343|    (assert(PyUnicode_Check(op)), \
  |  |  187|    343|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    343|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 343, False: 0]
  ------------------
  233|    343|}
typeobject.c:_PyUnicode_COMPACT_DATA:
  261|    343|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|    343|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|    343|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    343|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    343|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 343, False: 0]
  |  |  ------------------
  ------------------
  263|    343|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    686|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 343, False: 0]
  |  |  ------------------
  ------------------
  264|    343|    }
  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|    343|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|    343|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    343|    (assert(PyUnicode_Check(op)), \
  |  |  187|    343|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    343|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 343, False: 0]
  ------------------
  226|    343|}
unicode_formatter.c:_PyUnicode_DATA:
  278|    264|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|    264|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|    264|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    264|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 264, False: 0]
  |  |  ------------------
  ------------------
  280|    264|        return _PyUnicode_COMPACT_DATA(op);
  281|    264|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|    264|}
unicode_formatter.c:PyUnicode_IS_COMPACT:
  231|    264|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|    264|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|    264|    (assert(PyUnicode_Check(op)), \
  |  |  187|    264|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 264, False: 0]
  ------------------
  233|    264|}
unicode_formatter.c:_PyUnicode_COMPACT_DATA:
  261|    264|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|    264|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|    264|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    264|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 264, False: 0]
  |  |  ------------------
  ------------------
  263|    264|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    528|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 264, False: 0]
  |  |  ------------------
  ------------------
  264|    264|    }
  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_formatter.c:PyUnicode_IS_ASCII:
  224|    264|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|    264|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    264|    (assert(PyUnicode_Check(op)), \
  |  |  187|    264|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 264, False: 0]
  ------------------
  226|    264|}
unicode_formatter.c:PyUnicode_READ:
  342|  1.45k|{
  343|  1.45k|    assert(index >= 0);
  ------------------
  |  Branch (343:5): [True: 1.45k, False: 0]
  ------------------
  344|  1.45k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (344:9): [True: 1.45k, False: 0]
  ------------------
  345|  1.45k|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|  1.45k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  346|  1.45k|    }
  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|   532k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|   532k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|   532k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   532k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   532k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 532k, False: 0]
  |  |  ------------------
  ------------------
  280|   532k|        return _PyUnicode_COMPACT_DATA(op);
  281|   532k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|   532k|}
unicode_writer.c:PyUnicode_IS_COMPACT:
  231|   532k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|   532k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|   532k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   532k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   532k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 532k, False: 0]
  ------------------
  233|   532k|}
unicode_writer.c:_PyUnicode_COMPACT_DATA:
  261|   532k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|   532k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|   532k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   532k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   532k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 260k, False: 272k]
  |  |  ------------------
  ------------------
  263|   260k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|   521k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 260k, False: 0]
  |  |  ------------------
  ------------------
  264|   260k|    }
  265|   272k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|   544k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 272k, False: 0]
  |  |  ------------------
  ------------------
  266|   272k|}
unicode_writer.c:PyUnicode_IS_ASCII:
  224|  1.38M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|  1.38M|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  1.38M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.38M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.38M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 1.38M, False: 0]
  ------------------
  226|  1.38M|}
unicode_writer.c:PyUnicode_WRITE:
  318|  1.10M|{
  319|  1.10M|    assert(index >= 0);
  ------------------
  |  Branch (319:5): [True: 1.10M, False: 0]
  ------------------
  320|  1.10M|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (320:9): [True: 139k, False: 960k]
  ------------------
  321|   139k|        assert(value <= 0xffU);
  ------------------
  |  Branch (321:9): [True: 139k, False: 0]
  ------------------
  322|   139k|        _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|   139k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|   139k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  323|   139k|    }
  324|   960k|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (324:14): [True: 838k, False: 122k]
  ------------------
  325|   838k|        assert(value <= 0xffffU);
  ------------------
  |  Branch (325:9): [True: 838k, False: 0]
  ------------------
  326|   838k|        _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|   838k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|   838k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  327|   838k|    }
  328|   122k|    else {
  329|   122k|        assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (329:9): [True: 122k, False: 0]
  ------------------
  330|   122k|        assert(value <= 0x10ffffU);
  ------------------
  |  Branch (330:9): [True: 122k, False: 0]
  ------------------
  331|   122k|        _Py_STATIC_CAST(Py_UCS4*, data)[index] = value;
  ------------------
  |  |   34|   122k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  332|   122k|    }
  333|  1.10M|}
unicode_writer.c:PyUnicode_GET_LENGTH:
  296|  1.36M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  1.36M|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  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 (297:12): [True: 1.36M, False: 0]
  ------------------
  298|  1.36M|}
unicode_writer.c:PyUnicode_MAX_CHAR_VALUE:
  387|   855k|{
  388|   855k|    int kind;
  389|       |
  390|   855k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|   855k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   855k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   855k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 489k, False: 366k]
  |  |  ------------------
  ------------------
  391|   489k|        return 0x7fU;
  392|   489k|    }
  393|       |
  394|   366k|    kind = PyUnicode_KIND(op);
  ------------------
  |  |  258|   366k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   733k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 366k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  395|   366k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (395:9): [True: 99.7k, False: 266k]
  ------------------
  396|  99.7k|       return 0xffU;
  397|  99.7k|    }
  398|   266k|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (398:9): [True: 244k, False: 22.1k]
  ------------------
  399|   244k|        return 0xffffU;
  400|   244k|    }
  401|   266k|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (401:5): [True: 22.1k, False: 0]
  ------------------
  402|  22.1k|    return 0x10ffffU;
  403|  22.1k|}
unicodeobject.c:PyUnicode_CHECK_INTERNED:
  207|  3.67M|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|  3.67M|    return _PyASCIIObject_CAST(op)->state.interned;
  ------------------
  |  |  186|  3.67M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.67M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.67M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (211:12): [True: 3.67M, False: 0]
  ------------------
  212|  3.67M|#endif
  213|  3.67M|}
unicodeobject.c:_PyUnicode_DATA:
  278|   123M|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|   123M|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|   123M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   123M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   123M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 123M, False: 7]
  |  |  ------------------
  ------------------
  280|   123M|        return _PyUnicode_COMPACT_DATA(op);
  281|   123M|    }
  282|      7|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|   123M|}
unicodeobject.c:_PyUnicode_COMPACT_DATA:
  261|   123M|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|   123M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|   123M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   123M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   123M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 15.1M, False: 108M]
  |  |  ------------------
  ------------------
  263|  15.1M|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  30.2M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 15.1M, False: 0]
  |  |  ------------------
  ------------------
  264|  15.1M|    }
  265|   108M|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|   216M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 108M, False: 0]
  |  |  ------------------
  ------------------
  266|   108M|}
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|   210M|{
  343|   210M|    assert(index >= 0);
  ------------------
  |  Branch (343:5): [True: 210M, False: 0]
  ------------------
  344|   210M|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (344:9): [True: 54.3M, False: 156M]
  ------------------
  345|  54.3M|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|  54.3M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  346|  54.3M|    }
  347|   156M|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (347:9): [True: 141M, False: 15.0M]
  ------------------
  348|   141M|        return _Py_STATIC_CAST(const Py_UCS2*, data)[index];
  ------------------
  |  |   34|   141M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  349|   141M|    }
  350|   156M|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (350:5): [True: 15.0M, False: 0]
  ------------------
  351|  15.0M|    return _Py_STATIC_CAST(const Py_UCS4*, data)[index];
  ------------------
  |  |   34|  15.0M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  352|  15.0M|}
unicodeobject.c:PyUnicode_GET_LENGTH:
  296|  93.0M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  93.0M|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  93.0M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  93.0M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  93.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 93.0M, False: 0]
  ------------------
  298|  93.0M|}
unicodeobject.c:PyUnicode_IS_COMPACT:
  231|   150M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|   150M|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|   150M|    (assert(PyUnicode_Check(op)), \
  |  |  187|   150M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   150M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 150M, False: 0]
  ------------------
  233|   150M|}
unicodeobject.c:PyUnicode_IS_ASCII:
  224|   129M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|   129M|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   129M|    (assert(PyUnicode_Check(op)), \
  |  |  187|   129M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   129M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 129M, False: 0]
  ------------------
  226|   129M|}
unicodeobject.c:PyUnicode_IS_COMPACT_ASCII:
  238|  24.5M|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  239|  49.0M|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|  24.5M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  24.5M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  24.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  234|  3.35M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.35M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.35M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 3.35M, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (239:13): [True: 24.5M, False: 0]
  |  Branch (239:13): [True: 3.35M, False: 21.1M]
  ------------------
  240|  24.5M|}
unicodeobject.c:PyUnicode_WRITE:
  318|  2.57M|{
  319|  2.57M|    assert(index >= 0);
  ------------------
  |  Branch (319:5): [True: 2.57M, False: 0]
  ------------------
  320|  2.57M|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (320:9): [True: 1.20M, False: 1.37M]
  ------------------
  321|  1.20M|        assert(value <= 0xffU);
  ------------------
  |  Branch (321:9): [True: 1.20M, False: 0]
  ------------------
  322|  1.20M|        _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|  1.20M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|  1.20M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  323|  1.20M|    }
  324|  1.37M|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (324:14): [True: 882k, False: 490k]
  ------------------
  325|   882k|        assert(value <= 0xffffU);
  ------------------
  |  Branch (325:9): [True: 882k, False: 0]
  ------------------
  326|   882k|        _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|   882k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|   882k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  327|   882k|    }
  328|   490k|    else {
  329|   490k|        assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (329:9): [True: 490k, False: 0]
  ------------------
  330|   490k|        assert(value <= 0x10ffffU);
  ------------------
  |  Branch (330:9): [True: 490k, False: 0]
  ------------------
  331|   490k|        _Py_STATIC_CAST(Py_UCS4*, data)[index] = value;
  ------------------
  |  |   34|   490k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  332|   490k|    }
  333|  2.57M|}
unicodeobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  303|  3.05M|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|  3.05M|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|  3.05M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.05M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (307:12): [True: 3.05M, False: 0]
  ------------------
  308|  3.05M|#endif
  309|  3.05M|}
unicodeobject.c:PyUnicode_MAX_CHAR_VALUE:
  387|  1.70M|{
  388|  1.70M|    int kind;
  389|       |
  390|  1.70M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  1.70M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.70M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.70M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 796k, False: 912k]
  |  |  ------------------
  ------------------
  391|   796k|        return 0x7fU;
  392|   796k|    }
  393|       |
  394|   912k|    kind = PyUnicode_KIND(op);
  ------------------
  |  |  258|   912k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.82M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 912k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  395|   912k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (395:9): [True: 60.5k, False: 852k]
  ------------------
  396|  60.5k|       return 0xffU;
  397|  60.5k|    }
  398|   852k|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (398:9): [True: 765k, False: 87.0k]
  ------------------
  399|   765k|        return 0xffffU;
  400|   765k|    }
  401|   852k|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (401:5): [True: 87.0k, False: 0]
  ------------------
  402|  87.0k|    return 0x10ffffU;
  403|  87.0k|}
unicodeobject.c:Py_UNICODE_IS_LOW_SURROGATE:
   22|  1.27k|static inline int Py_UNICODE_IS_LOW_SURROGATE(Py_UCS4 ch) {
   23|  1.27k|    return (0xDC00 <= ch && ch <= 0xDFFF);
  ------------------
  |  Branch (23:13): [True: 1.07k, False: 197]
  |  Branch (23:29): [True: 1.05k, False: 18]
  ------------------
   24|  1.27k|}
unicodeobject.c:Py_UNICODE_JOIN_SURROGATES:
   27|    528|static inline Py_UCS4 Py_UNICODE_JOIN_SURROGATES(Py_UCS4 high, Py_UCS4 low)  {
   28|    528|    assert(Py_UNICODE_IS_HIGH_SURROGATE(high));
  ------------------
  |  Branch (28:5): [True: 528, False: 0]
  ------------------
   29|    528|    assert(Py_UNICODE_IS_LOW_SURROGATE(low));
  ------------------
  |  Branch (29:5): [True: 528, False: 0]
  ------------------
   30|    528|    return 0x10000 + (((high & 0x03FF) << 10) | (low & 0x03FF));
   31|    528|}
unicodeobject.c:Py_UNICODE_IS_HIGH_SURROGATE:
   19|  6.21k|static inline int Py_UNICODE_IS_HIGH_SURROGATE(Py_UCS4 ch) {
   20|  6.21k|    return (0xD800 <= ch && ch <= 0xDBFF);
  ------------------
  |  Branch (20:13): [True: 4.09k, False: 2.12k]
  |  Branch (20:29): [True: 1.58k, False: 2.50k]
  ------------------
   21|  6.21k|}
unicodeobject.c:Py_UNICODE_IS_SURROGATE:
   16|   394k|static inline int Py_UNICODE_IS_SURROGATE(Py_UCS4 ch) {
   17|   394k|    return (0xD800 <= ch && ch <= 0xDFFF);
  ------------------
  |  Branch (17:13): [True: 252k, False: 142k]
  |  Branch (17:29): [True: 278, False: 252k]
  ------------------
   18|   394k|}
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|  30.2M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  30.2M|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  30.2M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  30.2M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  30.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 30.2M, False: 0]
  ------------------
  298|  30.2M|}
bltinmodule.c:PyUnicode_READ_CHAR:
  363|  15.1M|{
  364|  15.1M|    int kind;
  365|       |
  366|  15.1M|    assert(index >= 0);
  ------------------
  |  Branch (366:5): [True: 15.1M, False: 0]
  ------------------
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|  15.1M|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (368:5): [True: 15.1M, False: 0]
  ------------------
  369|       |
  370|  15.1M|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  15.1M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  30.2M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 15.1M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|  15.1M|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 4.03M, False: 11.1M]
  ------------------
  372|  4.03M|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|  4.03M|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  4.03M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|  4.03M|    }
  374|  11.1M|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (374:9): [True: 10.3M, False: 775k]
  ------------------
  375|  10.3M|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|  10.3M|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  10.3M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  376|  10.3M|    }
  377|  11.1M|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (377:5): [True: 775k, False: 0]
  ------------------
  378|   775k|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|   775k|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   775k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  379|   775k|}
bltinmodule.c:_PyUnicode_DATA:
  278|  15.1M|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  15.1M|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  15.1M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 15.1M, False: 0]
  |  |  ------------------
  ------------------
  280|  15.1M|        return _PyUnicode_COMPACT_DATA(op);
  281|  15.1M|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  15.1M|}
bltinmodule.c:PyUnicode_IS_COMPACT:
  231|  15.1M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|  15.1M|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  15.1M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  15.1M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  15.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 15.1M, False: 0]
  ------------------
  233|  15.1M|}
bltinmodule.c:_PyUnicode_COMPACT_DATA:
  261|  15.1M|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  15.1M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  15.1M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 3.79M, False: 11.3M]
  |  |  ------------------
  ------------------
  263|  3.79M|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  7.58M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 3.79M, False: 0]
  |  |  ------------------
  ------------------
  264|  3.79M|    }
  265|  11.3M|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  22.7M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 11.3M, False: 0]
  |  |  ------------------
  ------------------
  266|  11.3M|}
bltinmodule.c:PyUnicode_IS_ASCII:
  224|  15.1M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|  15.1M|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  15.1M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  15.1M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  15.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 15.1M, False: 0]
  ------------------
  226|  15.1M|}
ceval.c:PyUnicode_IS_COMPACT_ASCII:
  238|  2.23k|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  239|  4.46k|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|  2.23k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  2.23k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  234|  2.22k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 2.22k, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (239:13): [True: 2.23k, False: 0]
  |  Branch (239:13): [True: 2.22k, False: 10]
  ------------------
  240|  2.23k|}
ceval.c:PyUnicode_IS_COMPACT:
  231|  12.3M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|  12.3M|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  12.3M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  12.3M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  12.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 12.3M, False: 0]
  ------------------
  233|  12.3M|}
ceval.c:PyUnicode_GET_LENGTH:
  296|  24.6M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  24.6M|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  24.6M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  24.6M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  24.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 24.6M, False: 0]
  ------------------
  298|  24.6M|}
ceval.c:_PyUnicode_DATA:
  278|  12.3M|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  12.3M|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  12.3M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 12.3M, False: 0]
  |  |  ------------------
  ------------------
  280|  12.3M|        return _PyUnicode_COMPACT_DATA(op);
  281|  12.3M|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  12.3M|}
ceval.c:_PyUnicode_COMPACT_DATA:
  261|  12.3M|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  12.3M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  12.3M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 2.21k, False: 12.3M]
  |  |  ------------------
  ------------------
  263|  2.21k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  4.43k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 2.21k, False: 0]
  |  |  ------------------
  ------------------
  264|  2.21k|    }
  265|  12.3M|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  24.6M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 12.3M, False: 0]
  |  |  ------------------
  ------------------
  266|  12.3M|}
ceval.c:PyUnicode_IS_ASCII:
  224|  12.3M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|  12.3M|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  12.3M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  12.3M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  12.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 12.3M, False: 0]
  ------------------
  226|  12.3M|}
ceval.c:PyUnicode_READ_CHAR:
  363|  12.3M|{
  364|  12.3M|    int kind;
  365|       |
  366|  12.3M|    assert(index >= 0);
  ------------------
  |  Branch (366:5): [True: 12.3M, False: 0]
  ------------------
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|  12.3M|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (368:5): [True: 12.3M, False: 0]
  ------------------
  369|       |
  370|  12.3M|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  12.3M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  24.6M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 12.3M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|  12.3M|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 73.0k, False: 12.2M]
  ------------------
  372|  73.0k|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|  73.0k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  73.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|  73.0k|    }
  374|  12.2M|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (374:9): [True: 11.4M, False: 759k]
  ------------------
  375|  11.4M|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|  11.4M|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  11.4M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  376|  11.4M|    }
  377|  12.2M|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (377:5): [True: 759k, False: 0]
  ------------------
  378|   759k|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|   759k|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   759k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  379|   759k|}
codegen.c:PyUnicode_READ_CHAR:
  363|  83.3k|{
  364|  83.3k|    int kind;
  365|       |
  366|  83.3k|    assert(index >= 0);
  ------------------
  |  Branch (366:5): [True: 83.3k, False: 0]
  ------------------
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|  83.3k|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (368:5): [True: 83.3k, False: 0]
  ------------------
  369|       |
  370|  83.3k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  83.3k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   166k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 83.3k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|  83.3k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 82.6k, False: 699]
  ------------------
  372|  82.6k|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|  82.6k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  82.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|  82.6k|    }
  374|    699|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (374:9): [True: 500, False: 199]
  ------------------
  375|    500|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|    500|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    500|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  376|    500|    }
  377|    699|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (377:5): [True: 199, False: 0]
  ------------------
  378|    199|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|    199|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    199|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  379|    199|}
codegen.c:PyUnicode_GET_LENGTH:
  296|  93.4k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  93.4k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  93.4k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  93.4k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  93.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 93.4k, False: 0]
  ------------------
  298|  93.4k|}
codegen.c:_PyUnicode_DATA:
  278|  83.3k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  83.3k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  83.3k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  83.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  83.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 83.3k, False: 0]
  |  |  ------------------
  ------------------
  280|  83.3k|        return _PyUnicode_COMPACT_DATA(op);
  281|  83.3k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  83.3k|}
codegen.c:PyUnicode_IS_COMPACT:
  231|  83.3k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|  83.3k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  83.3k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  83.3k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  83.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 83.3k, False: 0]
  ------------------
  233|  83.3k|}
codegen.c:_PyUnicode_COMPACT_DATA:
  261|  83.3k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  83.3k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  83.3k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  83.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  83.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 82.3k, False: 1.02k]
  |  |  ------------------
  ------------------
  263|  82.3k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|   164k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 82.3k, False: 0]
  |  |  ------------------
  ------------------
  264|  82.3k|    }
  265|  1.02k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  2.04k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 1.02k, False: 0]
  |  |  ------------------
  ------------------
  266|  1.02k|}
codegen.c:PyUnicode_IS_ASCII:
  224|  83.3k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|  83.3k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  83.3k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  83.3k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  83.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 83.3k, False: 0]
  ------------------
  226|  83.3k|}
flowgraph.c:PyUnicode_GET_LENGTH:
  296|   125k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|   125k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   125k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   125k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   125k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 125k, False: 0]
  ------------------
  298|   125k|}
import.c:PyUnicode_GET_LENGTH:
  296|   596k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|   596k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   596k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   596k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   596k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 596k, False: 0]
  ------------------
  298|   596k|}
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|   175k|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  239|   351k|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|   175k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   175k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   175k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  234|     10|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 10, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (239:13): [True: 175k, False: 0]
  |  Branch (239:13): [True: 10, False: 175k]
  ------------------
  240|   175k|}
specialize.c:PyUnicode_IS_COMPACT:
  231|     10|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|     10|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|     10|    (assert(PyUnicode_Check(op)), \
  |  |  187|     10|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 10, False: 0]
  ------------------
  233|     10|}
symtable.c:PyUnicode_GET_LENGTH:
  296|  1.10M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  1.10M|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  1.10M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.10M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 1.10M, False: 0]
  ------------------
  298|  1.10M|}
symtable.c:PyUnicode_READ_CHAR:
  363|   799k|{
  364|   799k|    int kind;
  365|       |
  366|   799k|    assert(index >= 0);
  ------------------
  |  Branch (366:5): [True: 799k, False: 0]
  ------------------
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|   799k|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (368:5): [True: 799k, False: 0]
  ------------------
  369|       |
  370|   799k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|   799k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.59M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 799k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|   799k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 598k, False: 200k]
  ------------------
  372|   598k|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|   598k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   598k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|   598k|    }
  374|   200k|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (374:9): [True: 199k, False: 1.20k]
  ------------------
  375|   199k|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|   199k|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   199k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  376|   199k|    }
  377|   200k|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (377:5): [True: 1.20k, False: 0]
  ------------------
  378|  1.20k|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|  1.20k|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  1.20k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  379|  1.20k|}
symtable.c:_PyUnicode_DATA:
  278|   799k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|   799k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|   799k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   799k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   799k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 799k, False: 0]
  |  |  ------------------
  ------------------
  280|   799k|        return _PyUnicode_COMPACT_DATA(op);
  281|   799k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|   799k|}
symtable.c:PyUnicode_IS_COMPACT:
  231|   799k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|   799k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|   799k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   799k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   799k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 799k, False: 0]
  ------------------
  233|   799k|}
symtable.c:_PyUnicode_COMPACT_DATA:
  261|   799k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|   799k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|   799k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   799k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   799k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 572k, False: 226k]
  |  |  ------------------
  ------------------
  263|   572k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  1.14M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 572k, False: 0]
  |  |  ------------------
  ------------------
  264|   572k|    }
  265|   226k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|   453k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 226k, False: 0]
  |  |  ------------------
  ------------------
  266|   226k|}
symtable.c:PyUnicode_IS_ASCII:
  224|   799k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|   799k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   799k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   799k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   799k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 799k, False: 0]
  ------------------
  226|   799k|}
typecache.c:PyUnicode_CHECK_INTERNED:
  207|  6.09M|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|  6.09M|    return _PyASCIIObject_CAST(op)->state.interned;
  ------------------
  |  |  186|  6.09M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  6.09M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  6.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (211:12): [True: 6.09M, False: 0]
  ------------------
  212|  6.09M|#endif
  213|  6.09M|}
typecache.c:PyUnstable_Unicode_GET_CACHED_HASH:
  303|  6.10M|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|  6.10M|    return _PyASCIIObject_CAST(op)->hash;
  ------------------
  |  |  186|  6.10M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  6.10M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  6.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (307:12): [True: 6.10M, False: 0]
  ------------------
  308|  6.10M|#endif
  309|  6.10M|}
fileutils.c:Py_UNICODE_IS_SURROGATE:
   16|   179k|static inline int Py_UNICODE_IS_SURROGATE(Py_UCS4 ch) {
   17|   179k|    return (0xD800 <= ch && ch <= 0xDFFF);
  ------------------
  |  Branch (17:13): [True: 0, False: 179k]
  |  Branch (17:29): [True: 0, False: 0]
  ------------------
   18|   179k|}
_codecsmodule.c:PyUnicode_GET_LENGTH:
  296|    243|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|    243|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|    243|    (assert(PyUnicode_Check(op)), \
  |  |  187|    243|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    243|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 243, False: 0]
  ------------------
  298|    243|}
textio.c:PyUnicode_GET_LENGTH:
  296|   290k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|   290k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   290k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   290k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   290k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 290k, False: 0]
  ------------------
  298|   290k|}
textio.c:PyUnicode_IS_ASCII:
  224|   145k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|   145k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   145k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   145k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   145k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 145k, False: 0]
  ------------------
  226|   145k|}
textio.c:_PyUnicode_DATA:
  278|  48.4k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  48.4k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  48.4k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 48.4k, False: 0]
  |  |  ------------------
  ------------------
  280|  48.4k|        return _PyUnicode_COMPACT_DATA(op);
  281|  48.4k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  48.4k|}
textio.c:PyUnicode_IS_COMPACT:
  231|  48.4k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|  48.4k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  48.4k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  48.4k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 48.4k, False: 0]
  ------------------
  233|  48.4k|}
textio.c:_PyUnicode_COMPACT_DATA:
  261|  48.4k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  48.4k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  48.4k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 48.4k, False: 0]
  |  |  ------------------
  ------------------
  263|  48.4k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  96.9k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 48.4k, False: 0]
  |  |  ------------------
  ------------------
  264|  48.4k|    }
  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_GET_LENGTH:
  296|     13|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|     13|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     13|    (assert(PyUnicode_Check(op)), \
  |  |  187|     13|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 13, False: 0]
  ------------------
  298|     13|}
sre.c:_PyUnicode_DATA:
  278|     13|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|     13|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|     13|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 13, False: 0]
  |  |  ------------------
  ------------------
  280|     13|        return _PyUnicode_COMPACT_DATA(op);
  281|     13|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|     13|}
sre.c:PyUnicode_IS_COMPACT:
  231|     13|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|     13|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|     13|    (assert(PyUnicode_Check(op)), \
  |  |  187|     13|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 13, False: 0]
  ------------------
  233|     13|}
sre.c:_PyUnicode_COMPACT_DATA:
  261|     13|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|     13|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|     13|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 12, False: 1]
  |  |  ------------------
  ------------------
  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|      1|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      2|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 1, False: 0]
  |  |  ------------------
  ------------------
  266|      1|}
sre.c:PyUnicode_IS_ASCII:
  224|     13|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|     13|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|     13|    (assert(PyUnicode_Check(op)), \
  |  |  187|     13|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 13, False: 0]
  ------------------
  226|     13|}
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|}
helpers.c:PyUnicode_GET_LENGTH:
  296|  2.93k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  2.93k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  2.93k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  2.93k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 2.93k, False: 0]
  ------------------
  298|  2.93k|}
abstract.c:PyUnicode_GET_LENGTH:
  296|    132|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|    132|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|    132|    (assert(PyUnicode_Check(op)), \
  |  |  187|    132|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 132, False: 0]
  ------------------
  298|    132|}
bytesobject.c:PyUnicode_IS_ASCII:
  224|    865|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|    865|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    865|    (assert(PyUnicode_Check(op)), \
  |  |  187|    865|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    865|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 865, False: 0]
  ------------------
  226|    865|}
bytesobject.c:_PyUnicode_DATA:
  278|    865|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|    865|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|    865|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    865|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    865|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 865, False: 0]
  |  |  ------------------
  ------------------
  280|    865|        return _PyUnicode_COMPACT_DATA(op);
  281|    865|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|    865|}
bytesobject.c:PyUnicode_IS_COMPACT:
  231|    865|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|    865|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|    865|    (assert(PyUnicode_Check(op)), \
  |  |  187|    865|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    865|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 865, False: 0]
  ------------------
  233|    865|}
bytesobject.c:_PyUnicode_COMPACT_DATA:
  261|    865|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|    865|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|    865|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    865|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    865|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 865, False: 0]
  |  |  ------------------
  ------------------
  263|    865|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  1.73k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 865, False: 0]
  |  |  ------------------
  ------------------
  264|    865|    }
  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_IS_ASCII:
  224|   123k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|   123k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   123k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   123k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   123k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 123k, False: 0]
  ------------------
  226|   123k|}
codeobject.c:_PyUnicode_DATA:
  278|  49.2k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  49.2k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  49.2k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  49.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  49.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 49.2k, False: 0]
  |  |  ------------------
  ------------------
  280|  49.2k|        return _PyUnicode_COMPACT_DATA(op);
  281|  49.2k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  49.2k|}
codeobject.c:PyUnicode_IS_COMPACT:
  231|  49.2k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|  49.2k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  49.2k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  49.2k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  49.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 49.2k, False: 0]
  ------------------
  233|  49.2k|}
codeobject.c:_PyUnicode_COMPACT_DATA:
  261|  49.2k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  49.2k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  49.2k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  49.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  49.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 49.2k, False: 0]
  |  |  ------------------
  ------------------
  263|  49.2k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  98.5k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 49.2k, False: 0]
  |  |  ------------------
  ------------------
  264|  49.2k|    }
  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|  49.2k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  49.2k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  49.2k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  49.2k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  49.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 49.2k, False: 0]
  ------------------
  298|  49.2k|}
unicode_format.c:PyUnicode_IS_ASCII:
  224|     21|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|     21|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|     21|    (assert(PyUnicode_Check(op)), \
  |  |  187|     21|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 21, False: 0]
  ------------------
  226|     21|}
unicode_format.c:_PyUnicode_DATA:
  278|     21|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|     21|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|     21|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 21, False: 0]
  |  |  ------------------
  ------------------
  280|     21|        return _PyUnicode_COMPACT_DATA(op);
  281|     21|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|     21|}
unicode_format.c:PyUnicode_IS_COMPACT:
  231|     21|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|     21|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|     21|    (assert(PyUnicode_Check(op)), \
  |  |  187|     21|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 21, False: 0]
  ------------------
  233|     21|}
unicode_format.c:_PyUnicode_COMPACT_DATA:
  261|     21|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|     21|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|     21|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 21, False: 0]
  |  |  ------------------
  ------------------
  263|     21|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|     42|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 21, False: 0]
  |  |  ------------------
  ------------------
  264|     21|    }
  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|     42|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|     42|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     42|    (assert(PyUnicode_Check(op)), \
  |  |  187|     42|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 42, False: 0]
  ------------------
  298|     42|}
unicode_format.c:PyUnicode_READ:
  342|    399|{
  343|    399|    assert(index >= 0);
  ------------------
  |  Branch (343:5): [True: 399, False: 0]
  ------------------
  344|    399|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (344:9): [True: 399, False: 0]
  ------------------
  345|    399|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|    399|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  346|    399|    }
  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|}
ast_preprocess.c:_PyUnicode_DATA:
  278|  27.5k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  27.5k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  27.5k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 27.5k, False: 0]
  |  |  ------------------
  ------------------
  280|  27.5k|        return _PyUnicode_COMPACT_DATA(op);
  281|  27.5k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  27.5k|}
ast_preprocess.c:PyUnicode_IS_COMPACT:
  231|  27.5k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|  27.5k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  27.5k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  27.5k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  27.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 27.5k, False: 0]
  ------------------
  233|  27.5k|}
ast_preprocess.c:_PyUnicode_COMPACT_DATA:
  261|  27.5k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  27.5k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  27.5k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 15.6k, False: 11.9k]
  |  |  ------------------
  ------------------
  263|  15.6k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  31.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 15.6k, False: 0]
  |  |  ------------------
  ------------------
  264|  15.6k|    }
  265|  11.9k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  23.8k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 11.9k, False: 0]
  |  |  ------------------
  ------------------
  266|  11.9k|}
ast_preprocess.c:PyUnicode_IS_ASCII:
  224|  27.5k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|  27.5k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  27.5k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  27.5k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  27.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 27.5k, False: 0]
  ------------------
  226|  27.5k|}
ast_preprocess.c:PyUnicode_READ:
  342|   431k|{
  343|   431k|    assert(index >= 0);
  ------------------
  |  Branch (343:5): [True: 431k, False: 0]
  ------------------
  344|   431k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (344:9): [True: 203k, False: 228k]
  ------------------
  345|   203k|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|   203k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  346|   203k|    }
  347|   228k|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (347:9): [True: 143k, False: 84.3k]
  ------------------
  348|   143k|        return _Py_STATIC_CAST(const Py_UCS2*, data)[index];
  ------------------
  |  |   34|   143k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  349|   143k|    }
  350|   228k|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (350:5): [True: 84.3k, False: 0]
  ------------------
  351|  84.3k|    return _Py_STATIC_CAST(const Py_UCS4*, data)[index];
  ------------------
  |  |   34|  84.3k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  352|  84.3k|}
ast_preprocess.c:PyUnicode_GET_LENGTH:
  296|  40.6k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  40.6k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  40.6k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  40.6k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  40.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 40.6k, False: 0]
  ------------------
  298|  40.6k|}
ast_preprocess.c:PyUnicode_READ_CHAR:
  363|  19.5k|{
  364|  19.5k|    int kind;
  365|       |
  366|  19.5k|    assert(index >= 0);
  ------------------
  |  Branch (366:5): [True: 19.5k, False: 0]
  ------------------
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|  19.5k|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (368:5): [True: 19.5k, False: 0]
  ------------------
  369|       |
  370|  19.5k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  19.5k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  39.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 19.5k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|  19.5k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 11.5k, False: 8.02k]
  ------------------
  372|  11.5k|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|  11.5k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  11.5k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|  11.5k|    }
  374|  8.02k|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (374:9): [True: 755, False: 7.26k]
  ------------------
  375|    755|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|    755|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    755|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  376|    755|    }
  377|  8.02k|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (377:5): [True: 7.26k, False: 0]
  ------------------
  378|  7.26k|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|  7.26k|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  7.26k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  379|  7.26k|}
pegen.c:PyUnicode_GET_LENGTH:
  296|  14.6k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  14.6k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  14.6k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  14.6k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  14.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 14.6k, False: 0]
  ------------------
  298|  14.6k|}
pegen.c:PyUnicode_IS_ASCII:
  224|   123k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|   123k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   123k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   123k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   123k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 123k, False: 0]
  ------------------
  226|   123k|}
lexer.c:PyUnicode_GET_LENGTH:
  296|   192k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|   192k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   192k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   192k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   192k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 192k, False: 0]
  ------------------
  298|   192k|}
lexer.c:PyUnicode_READ_CHAR:
  363|    352|{
  364|    352|    int kind;
  365|       |
  366|    352|    assert(index >= 0);
  ------------------
  |  Branch (366:5): [True: 352, False: 0]
  ------------------
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|    352|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (368:5): [True: 352, False: 0]
  ------------------
  369|       |
  370|    352|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|    352|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    704|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 352, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|    352|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 70, False: 282]
  ------------------
  372|     70|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|     70|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     70|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|     70|    }
  374|    282|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (374:9): [True: 121, False: 161]
  ------------------
  375|    121|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|    121|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    121|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  376|    121|    }
  377|    282|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (377:5): [True: 161, False: 0]
  ------------------
  378|    161|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|    161|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    161|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  379|    161|}
lexer.c:_PyUnicode_DATA:
  278|    352|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|    352|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|    352|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    352|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    352|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 352, False: 0]
  |  |  ------------------
  ------------------
  280|    352|        return _PyUnicode_COMPACT_DATA(op);
  281|    352|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|    352|}
lexer.c:PyUnicode_IS_COMPACT:
  231|    352|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|    352|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|    352|    (assert(PyUnicode_Check(op)), \
  |  |  187|    352|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    352|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 352, False: 0]
  ------------------
  233|    352|}
lexer.c:_PyUnicode_COMPACT_DATA:
  261|    352|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|    352|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|    352|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    352|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    352|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 0, False: 352]
  |  |  ------------------
  ------------------
  263|      0|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  264|      0|    }
  265|    352|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|    704|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 352, False: 0]
  |  |  ------------------
  ------------------
  266|    352|}
lexer.c:PyUnicode_IS_ASCII:
  224|    352|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|    352|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    352|    (assert(PyUnicode_Check(op)), \
  |  |  187|    352|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    352|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 352, False: 0]
  ------------------
  226|    352|}
action_helpers.c:PyUnicode_READ_CHAR:
  363|  21.9k|{
  364|  21.9k|    int kind;
  365|       |
  366|  21.9k|    assert(index >= 0);
  ------------------
  |  Branch (366:5): [True: 21.9k, False: 0]
  ------------------
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|  21.9k|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (368:5): [True: 21.9k, False: 0]
  ------------------
  369|       |
  370|  21.9k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  21.9k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  43.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 21.9k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|  21.9k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 21.5k, False: 423]
  ------------------
  372|  21.5k|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|  21.5k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  21.5k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|  21.5k|    }
  374|    423|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (374:9): [True: 420, False: 3]
  ------------------
  375|    420|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|    420|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    420|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  376|    420|    }
  377|    423|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (377:5): [True: 3, False: 0]
  ------------------
  378|      3|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|      3|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      3|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  379|      3|}
action_helpers.c:_PyUnicode_DATA:
  278|  21.9k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  21.9k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  21.9k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 21.9k, False: 0]
  |  |  ------------------
  ------------------
  280|  21.9k|        return _PyUnicode_COMPACT_DATA(op);
  281|  21.9k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  21.9k|}
action_helpers.c:PyUnicode_IS_COMPACT:
  231|  21.9k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|  21.9k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  21.9k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  21.9k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  21.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 21.9k, False: 0]
  ------------------
  233|  21.9k|}
action_helpers.c:_PyUnicode_COMPACT_DATA:
  261|  21.9k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  21.9k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  21.9k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 21.4k, False: 522]
  |  |  ------------------
  ------------------
  263|  21.4k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  42.8k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 21.4k, False: 0]
  |  |  ------------------
  ------------------
  264|  21.4k|    }
  265|    522|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  1.04k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 522, False: 0]
  |  |  ------------------
  ------------------
  266|    522|}
action_helpers.c:PyUnicode_IS_ASCII:
  224|  21.9k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|  21.9k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  21.9k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  21.9k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  21.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 21.9k, False: 0]
  ------------------
  226|  21.9k|}
action_helpers.c:PyUnicode_GET_LENGTH:
  296|   231k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|   231k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   231k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   231k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   231k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 231k, False: 0]
  ------------------
  298|   231k|}
string_parser.c:_PyUnicode_DATA:
  278|  35.3k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  35.3k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  35.3k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_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 (234:34): [True: 35.3k, False: 0]
  |  |  ------------------
  ------------------
  280|  35.3k|        return _PyUnicode_COMPACT_DATA(op);
  281|  35.3k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  35.3k|}
string_parser.c:PyUnicode_IS_COMPACT:
  231|  35.3k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|  35.3k|    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  35.3k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  35.3k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  35.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (232:12): [True: 35.3k, False: 0]
  ------------------
  233|  35.3k|}
string_parser.c:_PyUnicode_COMPACT_DATA:
  261|  35.3k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  35.3k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  35.3k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_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 (227:32): [True: 0, False: 35.3k]
  |  |  ------------------
  ------------------
  263|      0|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  264|      0|    }
  265|  35.3k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  70.7k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (34:47): [True: 35.3k, False: 0]
  |  |  ------------------
  ------------------
  266|  35.3k|}
string_parser.c:PyUnicode_IS_ASCII:
  224|  35.3k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|  35.3k|    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  35.3k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  35.3k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  35.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (225:12): [True: 35.3k, False: 0]
  ------------------
  226|  35.3k|}
string_parser.c:PyUnicode_GET_LENGTH:
  296|  35.3k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|  35.3k|    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  35.3k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  35.3k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  35.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (297:12): [True: 35.3k, False: 0]
  ------------------
  298|  35.3k|}
string_parser.c:PyUnicode_READ:
  342|   210k|{
  343|   210k|    assert(index >= 0);
  ------------------
  |  Branch (343:5): [True: 210k, False: 0]
  ------------------
  344|   210k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (344:9): [True: 184k, False: 26.2k]
  ------------------
  345|   184k|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|   184k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  346|   184k|    }
  347|  26.2k|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (347:9): [True: 23.1k, False: 3.04k]
  ------------------
  348|  23.1k|        return _Py_STATIC_CAST(const Py_UCS2*, data)[index];
  ------------------
  |  |   34|  23.1k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  349|  23.1k|    }
  350|  26.2k|    assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (350:5): [True: 3.04k, False: 0]
  ------------------
  351|  3.04k|    return _Py_STATIC_CAST(const Py_UCS4*, data)[index];
  ------------------
  |  |   34|  3.04k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  352|  3.04k|}

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

listobject.c:_PyIndex_Check:
   14|  2.06k|{
   15|  2.06k|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  2.06k|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 1.97k, False: 85]
  |  Branch (16:37): [True: 1.97k, False: 0]
  ------------------
   17|  2.06k|}
rangeobject.c:_PyIndex_Check:
   14|     40|{
   15|     40|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|     40|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|     40|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 0, False: 40]
  |  Branch (16:37): [True: 0, False: 0]
  ------------------
   17|     40|}
sliceobject.c:_PyIndex_Check:
   14|     40|{
   15|     40|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|     40|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|     40|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 40, False: 0]
  |  Branch (16:37): [True: 40, False: 0]
  ------------------
   17|     40|}
tupleobject.c:_PyIndex_Check:
   14|  2.28k|{
   15|  2.28k|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  2.28k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  2.28k|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 1.87k, False: 411]
  |  Branch (16:37): [True: 1.77k, False: 99]
  ------------------
   17|  2.28k|}
unicodeobject.c:_PyIndex_Check:
   14|  9.12M|{
   15|  9.12M|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  9.12M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.12M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.12M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  9.12M|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 9.12M, False: 1.17k]
  |  Branch (16:37): [True: 9.12M, False: 40]
  ------------------
   17|  9.12M|}
ceval.c:_PyIndex_Check:
   14|  1.67k|{
   15|  1.67k|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  1.67k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  1.67k|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 1.67k, False: 1]
  |  Branch (16:37): [True: 631, False: 1.04k]
  ------------------
   17|  1.67k|}
abstract.c:_PyIndex_Check:
   14|  54.9k|{
   15|  54.9k|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  54.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  54.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  54.9k|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 54.9k, False: 84]
  |  Branch (16:37): [True: 50.1k, False: 4.74k]
  ------------------
   17|  54.9k|}
bytes_methods.c:_PyIndex_Check:
   14|     78|{
   15|     78|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|     78|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|     78|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 78, False: 0]
  |  Branch (16:37): [True: 78, False: 0]
  ------------------
   17|     78|}
bytearrayobject.c:_PyIndex_Check:
   14|    691|{
   15|    691|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|    691|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    691|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    691|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|    691|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 580, False: 111]
  |  Branch (16:37): [True: 580, False: 0]
  ------------------
   17|    691|}
bytesobject.c:_PyIndex_Check:
   14|   670k|{
   15|   670k|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|   670k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   670k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   670k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|   670k|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 622k, False: 48.5k]
  |  Branch (16:37): [True: 621k, False: 55]
  ------------------
   17|   670k|}
memoryobject.c:_PyIndex_Check:
   14|     85|{
   15|     85|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|     85|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|     85|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 0, False: 85]
  |  Branch (16:37): [True: 0, False: 0]
  ------------------
   17|     85|}

ceval.c:backoff_counter_triggers:
  106|  26.9M|{
  107|       |    /* Test whether the value is zero and the backoff is not UNREACHABLE_BACKOFF */
  108|  26.9M|    return counter.value_and_backoff < UNREACHABLE_BACKOFF;
  ------------------
  |  |   40|  26.9M|#define UNREACHABLE_BACKOFF 7
  ------------------
  109|  26.9M|}
ceval.c:forge_backoff_counter:
   72|  26.9M|{
   73|  26.9M|    _Py_BackoffCounter result;
   74|  26.9M|    result.value_and_backoff = counter;
   75|  26.9M|    return result;
   76|  26.9M|}
ceval.c:advance_backoff_counter:
   98|  26.8M|{
   99|  26.8M|    _Py_BackoffCounter result;
  100|  26.8M|    result.value_and_backoff = counter.value_and_backoff - (1 << BACKOFF_BITS);
  ------------------
  |  |   37|  26.8M|#define BACKOFF_BITS 3
  ------------------
  101|  26.8M|    return result;
  102|  26.8M|}
specialize.c:initial_jump_backoff_counter:
  138|  56.1k|{
  139|  56.1k|    return make_backoff_counter(
  140|  56.1k|        opt_config->jump_backward_initial_value,
  141|  56.1k|        opt_config->jump_backward_initial_backoff);
  142|  56.1k|}
specialize.c:make_backoff_counter:
   62|   351k|{
   63|   351k|    assert(backoff <= UNREACHABLE_BACKOFF);
  ------------------
  |  Branch (63:5): [True: 351k, False: 0]
  ------------------
   64|   351k|    assert(value <= MAX_VALUE);
  ------------------
  |  Branch (64:5): [True: 351k, False: 0]
  ------------------
   65|   351k|    return ((_Py_BackoffCounter){
   66|   351k|        .value_and_backoff = MAKE_VALUE_AND_BACKOFF(value, backoff)
  ------------------
  |  |   44|   351k|    ((uint16_t)(((value) << BACKOFF_BITS) | (backoff)))
  |  |  ------------------
  |  |  |  |   37|   351k|#define BACKOFF_BITS 3
  |  |  ------------------
  ------------------
   67|   351k|    });
   68|   351k|}
specialize.c:initial_resume_backoff_counter:
  152|  56.1k|{
  153|  56.1k|    return make_backoff_counter(
  154|  56.1k|        opt_config->resume_initial_value,
  155|  56.1k|        opt_config->resume_initial_backoff);
  156|  56.1k|}
specialize.c:restart_backoff_counter:
   80|  3.74k|{
   81|  3.74k|    uint16_t backoff = counter.value_and_backoff & BACKOFF_MASK;
  ------------------
  |  |   38|  3.74k|#define BACKOFF_MASK 7
  ------------------
   82|  3.74k|    assert(backoff <= MAX_BACKOFF);
  ------------------
  |  Branch (82:5): [True: 3.74k, False: 0]
  ------------------
   83|  3.74k|    return ((_Py_BackoffCounter){
   84|  3.74k|        .value_and_backoff = value_and_backoff_next[backoff]
   85|  3.74k|    });
   86|  3.74k|}

longobject.c:_Py_bit_length:
  147|   245k|{
  148|   245k|#if (defined(__clang__) || defined(__GNUC__))
  149|   245k|    if (x != 0) {
  ------------------
  |  Branch (149:9): [True: 245k, False: 0]
  ------------------
  150|       |        // __builtin_clzl() is available since GCC 3.4.
  151|       |        // Undefined behavior for x == 0.
  152|   245k|        return (int)sizeof(unsigned long) * 8 - __builtin_clzl(x);
  153|   245k|    }
  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|   245k|}
dictobject.c:_Py_bit_length:
  147|   486k|{
  148|   486k|#if (defined(__clang__) || defined(__GNUC__))
  149|   486k|    if (x != 0) {
  ------------------
  |  Branch (149:9): [True: 486k, False: 0]
  ------------------
  150|       |        // __builtin_clzl() is available since GCC 3.4.
  151|       |        // Undefined behavior for x == 0.
  152|   486k|        return (int)sizeof(unsigned long) * 8 - __builtin_clzl(x);
  153|   486k|    }
  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|   486k|}
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|  96.9k|{
  100|  96.9k|    if (writer->obj == NULL) {
  ------------------
  |  Branch (100:9): [True: 84.5k, False: 12.3k]
  ------------------
  101|  84.5k|        return writer->small_buffer;
  102|  84.5k|    }
  103|  12.3k|    else if (writer->use_bytearray) {
  ------------------
  |  Branch (103:14): [True: 0, False: 12.3k]
  ------------------
  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|  12.3k|    else {
  107|  12.3k|        return PyBytes_AS_STRING(writer->obj);
  ------------------
  |  |   27|  12.3k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  108|  12.3k|    }
  109|  96.9k|}
bytesobject.c:_PyBytesWriter_GetSize:
   93|     20|{
   94|     20|    return writer->size;
   95|     20|}

dictobject.c:_PyObject_CallNoArgs:
  157|     16|_PyObject_CallNoArgs(PyObject *func) {
  158|     16|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|     16|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|     16|    PyThreadState *tstate = _PyThreadState_GET();
  160|     16|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|     16|}
dictobject.c:_PyObject_VectorcallTstate:
  132|     16|{
  133|     16|    vectorcallfunc func;
  134|     16|    PyObject *res;
  135|       |
  136|     16|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (136:5): [True: 16, False: 0]
  |  Branch (136:5): [True: 0, False: 0]
  ------------------
  137|     16|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (137:5): [True: 0, False: 16]
  |  Branch (137:5): [True: 16, False: 0]
  ------------------
  138|       |
  139|     16|    func = _PyVectorcall_FunctionInline(callable);
  140|     16|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 16]
  ------------------
  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|     16|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|     16|}
dictobject.c:_PyVectorcall_FunctionInline:
   92|     16|{
   93|     16|    assert(callable != NULL);
  ------------------
  |  Branch (93:5): [True: 16, False: 0]
  ------------------
   94|       |
   95|     16|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|     16|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|     16|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 16]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|     16|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (99:5): [True: 16, False: 0]
  ------------------
  100|       |
  101|     16|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|     16|    assert(offset > 0);
  ------------------
  |  Branch (102:5): [True: 16, False: 0]
  ------------------
  103|       |
  104|     16|    vectorcallfunc ptr;
  105|     16|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|     16|    return ptr;
  107|     16|}
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|    613|{
  133|    613|    vectorcallfunc func;
  134|    613|    PyObject *res;
  135|       |
  136|    613|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (136:5): [True: 613, False: 0]
  |  Branch (136:5): [True: 0, False: 0]
  ------------------
  137|    613|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (137:5): [True: 613, False: 0]
  |  Branch (137:5): [True: 0, False: 0]
  ------------------
  138|       |
  139|    613|    func = _PyVectorcall_FunctionInline(callable);
  140|    613|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 613]
  ------------------
  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|    613|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|    613|}
typeobject.c:_PyVectorcall_FunctionInline:
   92|    613|{
   93|    613|    assert(callable != NULL);
  ------------------
  |  Branch (93:5): [True: 613, False: 0]
  ------------------
   94|       |
   95|    613|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|    613|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    613|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    613|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|    613|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|    613|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 613]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|    613|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (99:5): [True: 613, False: 0]
  ------------------
  100|       |
  101|    613|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|    613|    assert(offset > 0);
  ------------------
  |  Branch (102:5): [True: 613, False: 0]
  ------------------
  103|       |
  104|    613|    vectorcallfunc ptr;
  105|    613|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|    613|    return ptr;
  107|    613|}
bltinmodule.c:_PyObject_VectorcallTstate:
  132|     72|{
  133|     72|    vectorcallfunc func;
  134|     72|    PyObject *res;
  135|       |
  136|     72|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (136:5): [True: 72, False: 0]
  |  Branch (136:5): [True: 0, False: 0]
  ------------------
  137|     72|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (137:5): [True: 72, False: 0]
  |  Branch (137:5): [True: 0, False: 0]
  ------------------
  138|       |
  139|     72|    func = _PyVectorcall_FunctionInline(callable);
  140|     72|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 72]
  ------------------
  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|     72|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|     72|}
bltinmodule.c:_PyVectorcall_FunctionInline:
   92|     72|{
   93|     72|    assert(callable != NULL);
  ------------------
  |  Branch (93:5): [True: 72, False: 0]
  ------------------
   94|       |
   95|     72|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|     72|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|     72|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 72]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|     72|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (99:5): [True: 72, False: 0]
  ------------------
  100|       |
  101|     72|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|     72|    assert(offset > 0);
  ------------------
  |  Branch (102:5): [True: 72, False: 0]
  ------------------
  103|       |
  104|     72|    vectorcallfunc ptr;
  105|     72|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|     72|    return ptr;
  107|     72|}
bufferedio.c:_PyObject_CallNoArgs:
  157|     85|_PyObject_CallNoArgs(PyObject *func) {
  158|     85|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|     85|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|     85|    PyThreadState *tstate = _PyThreadState_GET();
  160|     85|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|     85|}
bufferedio.c:_PyObject_VectorcallTstate:
  132|     85|{
  133|     85|    vectorcallfunc func;
  134|     85|    PyObject *res;
  135|       |
  136|     85|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (136:5): [True: 85, False: 0]
  |  Branch (136:5): [True: 0, False: 0]
  ------------------
  137|     85|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (137:5): [True: 0, False: 85]
  |  Branch (137:5): [True: 85, False: 0]
  ------------------
  138|       |
  139|     85|    func = _PyVectorcall_FunctionInline(callable);
  140|     85|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 85]
  ------------------
  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|     85|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|     85|}
bufferedio.c:_PyVectorcall_FunctionInline:
   92|     85|{
   93|     85|    assert(callable != NULL);
  ------------------
  |  Branch (93:5): [True: 85, False: 0]
  ------------------
   94|       |
   95|     85|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|     85|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|     85|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|     85|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 85]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|     85|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (99:5): [True: 85, False: 0]
  ------------------
  100|       |
  101|     85|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|     85|    assert(offset > 0);
  ------------------
  |  Branch (102:5): [True: 85, False: 0]
  ------------------
  103|       |
  104|     85|    vectorcallfunc ptr;
  105|     85|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|     85|    return ptr;
  107|     85|}
_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|     85|_PyObject_CallNoArgs(PyObject *func) {
  158|     85|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|     85|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|     85|    PyThreadState *tstate = _PyThreadState_GET();
  160|     85|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|     85|}
abstract.c:_PyObject_VectorcallTstate:
  132|     85|{
  133|     85|    vectorcallfunc func;
  134|     85|    PyObject *res;
  135|       |
  136|     85|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (136:5): [True: 85, False: 0]
  |  Branch (136:5): [True: 0, False: 0]
  ------------------
  137|     85|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (137:5): [True: 0, False: 85]
  |  Branch (137:5): [True: 85, False: 0]
  ------------------
  138|       |
  139|     85|    func = _PyVectorcall_FunctionInline(callable);
  140|     85|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 85]
  ------------------
  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|     85|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|     85|}
abstract.c:_PyVectorcall_FunctionInline:
   92|     85|{
   93|     85|    assert(callable != NULL);
  ------------------
  |  Branch (93:5): [True: 85, False: 0]
  ------------------
   94|       |
   95|     85|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|     85|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|     85|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|     85|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 85]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|     85|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (99:5): [True: 85, False: 0]
  ------------------
  100|       |
  101|     85|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|     85|    assert(offset > 0);
  ------------------
  |  Branch (102:5): [True: 85, False: 0]
  ------------------
  103|       |
  104|     85|    vectorcallfunc ptr;
  105|     85|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|     85|    return ptr;
  107|     85|}
call.c:_PyObject_VectorcallTstate:
  132|   838k|{
  133|   838k|    vectorcallfunc func;
  134|   838k|    PyObject *res;
  135|       |
  136|   838k|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (136:5): [True: 838k, False: 902]
  |  Branch (136:5): [True: 902, False: 0]
  ------------------
  137|   838k|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (137:5): [True: 836k, False: 2.00k]
  |  Branch (137:5): [True: 2.00k, False: 0]
  ------------------
  138|       |
  139|   838k|    func = _PyVectorcall_FunctionInline(callable);
  140|   838k|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 353k, False: 485k]
  ------------------
  141|   353k|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|   353k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  142|   353k|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  143|   353k|    }
  144|   485k|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|   838k|}
call.c:_PyVectorcall_FunctionInline:
   92|   954k|{
   93|   954k|    assert(callable != NULL);
  ------------------
  |  Branch (93:5): [True: 954k, False: 0]
  ------------------
   94|       |
   95|   954k|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|   954k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   954k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   954k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|   954k|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|   954k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 626, False: 953k]
  ------------------
   97|    626|        return NULL;
   98|    626|    }
   99|   954k|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (99:5): [True: 953k, False: 0]
  ------------------
  100|       |
  101|   953k|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|   953k|    assert(offset > 0);
  ------------------
  |  Branch (102:5): [True: 953k, False: 0]
  ------------------
  103|       |
  104|   953k|    vectorcallfunc ptr;
  105|   953k|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|   953k|    return ptr;
  107|   953k|}
call.c:_PyObject_CallNoArgsTstate:
  150|  2.00k|_PyObject_CallNoArgsTstate(PyThreadState *tstate, PyObject *func) {
  151|  2.00k|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  152|  2.00k|}
enumobject.c:_PyObject_CallNoArgs:
  157|    274|_PyObject_CallNoArgs(PyObject *func) {
  158|    274|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|    274|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|    274|    PyThreadState *tstate = _PyThreadState_GET();
  160|    274|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|    274|}
enumobject.c:_PyObject_VectorcallTstate:
  132|    274|{
  133|    274|    vectorcallfunc func;
  134|    274|    PyObject *res;
  135|       |
  136|    274|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (136:5): [True: 274, False: 0]
  |  Branch (136:5): [True: 0, False: 0]
  ------------------
  137|    274|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  ------------------
  |  Branch (137:5): [True: 0, False: 274]
  |  Branch (137:5): [True: 274, False: 0]
  ------------------
  138|       |
  139|    274|    func = _PyVectorcall_FunctionInline(callable);
  140|    274|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 274]
  ------------------
  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|    274|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|    274|}
enumobject.c:_PyVectorcall_FunctionInline:
   92|    274|{
   93|    274|    assert(callable != NULL);
  ------------------
  |  Branch (93:5): [True: 274, False: 0]
  ------------------
   94|       |
   95|    274|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|    274|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|    274|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 274]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|    274|    assert(PyCallable_Check(callable));
  ------------------
  |  Branch (99:5): [True: 274, False: 0]
  ------------------
  100|       |
  101|    274|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|    274|    assert(offset > 0);
  ------------------
  |  Branch (102:5): [True: 274, False: 0]
  ------------------
  103|       |
  104|    274|    vectorcallfunc ptr;
  105|    274|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|    274|    return ptr;
  107|    274|}

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

object.c:_Py_EnterRecursiveCallTstate:
  234|  20.3M|                                               const char *where) {
  235|  20.3M|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 20.3M]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|  20.3M|}
object.c:_Py_ReachedRecursionLimit:
  211|  20.3M|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|  20.3M|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|  20.3M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  214|       |    // Possible overflow if stack pointer is beyond the soft limit.
  215|       |    // _Py_CheckRecursiveCall will check for corner cases and
  216|       |    // report an error if there is an overflow.
  217|  20.3M|#if _Py_STACK_GROWS_DOWN
  218|  20.3M|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|  20.3M|}
object.c:_Py_LeaveRecursiveCallTstate:
  243|  20.3M|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|  20.3M|    (void)tstate;
  245|  20.3M|}
ceval.c:_PyEval_EvalFrame:
  119|   142k|{
  120|   142k|    EVAL_CALL_STAT_INC(EVAL_CALL_TOTAL);
  ------------------
  |  |   79|   142k|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  121|   142k|    if (tstate->interp->eval_frame == NULL) {
  ------------------
  |  Branch (121:9): [True: 142k, False: 0]
  ------------------
  122|   142k|        return _PyEval_EvalFrameDefault(tstate, frame, throwflag);
  123|   142k|    }
  124|      0|    return tstate->interp->eval_frame(tstate, frame, throwflag);
  125|   142k|}
ceval.c:_Py_EnterRecursiveCallTstate:
  234|  8.66M|                                               const char *where) {
  235|  8.66M|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 8.66M]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|  8.66M|}
ceval.c:_Py_ReachedRecursionLimit:
  211|  27.2M|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|  27.2M|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|  27.2M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  214|       |    // Possible overflow if stack pointer is beyond the soft limit.
  215|       |    // _Py_CheckRecursiveCall will check for corner cases and
  216|       |    // report an error if there is an overflow.
  217|  27.2M|#if _Py_STACK_GROWS_DOWN
  218|  27.2M|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|  27.2M|}
ceval.c:_Py_LeaveRecursiveCallTstate:
  243|  18.5M|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|  18.5M|    (void)tstate;
  245|  18.5M|}
ceval.c:_Py_EnterRecursiveCall:
  238|  8.45M|static inline int _Py_EnterRecursiveCall(const char *where) {
  239|  8.45M|    PyThreadState *tstate = _PyThreadState_GET();
  240|  8.45M|    return _Py_EnterRecursiveCallTstate(tstate, where);
  241|  8.45M|}
ceval.c:_Py_LeaveRecursiveCall:
  254|  5.93M|static inline void _Py_LeaveRecursiveCall(void)  {
  255|  5.93M|}
gc.c:_Py_eval_breaker_bit_is_set:
  372|  33.0M|{
  373|  33.0M|    uintptr_t b = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  374|  33.0M|    return (b & bit) != 0;
  375|  33.0M|}
gc.c:_Py_set_eval_breaker_bit:
  360|  8.38k|{
  361|  8.38k|    _Py_atomic_or_uintptr(&tstate->eval_breaker, bit);
  362|  8.38k|}
ceval_gil.c:_Py_eval_breaker_bit_is_set:
  372|  55.7k|{
  373|  55.7k|    uintptr_t b = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  374|  55.7k|    return (b & bit) != 0;
  375|  55.7k|}
ceval_gil.c:_Py_unset_eval_breaker_bit:
  366|  55.9k|{
  367|  55.9k|    _Py_atomic_and_uintptr(&tstate->eval_breaker, ~bit);
  368|  55.9k|}
signalmodule.c:_Py_unset_eval_breaker_bit:
  366|  8.17k|{
  367|  8.17k|    _Py_atomic_and_uintptr(&tstate->eval_breaker, ~bit);
  368|  8.17k|}
abstract.c:_Py_EnterRecursiveCallTstate:
  234|    213|                                               const char *where) {
  235|    213|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 213]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|    213|}
abstract.c:_Py_ReachedRecursionLimit:
  211|    213|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|    213|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|    213|    _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|    213|#if _Py_STACK_GROWS_DOWN
  218|    213|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|    213|}
abstract.c:_Py_LeaveRecursiveCallTstate:
  243|    213|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|    213|    (void)tstate;
  245|    213|}
call.c:_Py_EnterRecursiveCallTstate:
  234|   374k|                                               const char *where) {
  235|   374k|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 374k]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|   374k|}
call.c:_Py_ReachedRecursionLimit:
  211|   374k|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|   374k|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|   374k|    _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|   374k|#if _Py_STACK_GROWS_DOWN
  218|   374k|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|   374k|}
call.c:_Py_LeaveRecursiveCallTstate:
  243|   374k|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|   374k|    (void)tstate;
  245|   374k|}
descrobject.c:_Py_EnterRecursiveCallTstate:
  234|   148k|                                               const char *where) {
  235|   148k|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 148k]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|   148k|}
descrobject.c:_Py_ReachedRecursionLimit:
  211|   148k|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|   148k|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|   148k|    _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|   148k|#if _Py_STACK_GROWS_DOWN
  218|   148k|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|   148k|}
descrobject.c:_Py_LeaveRecursiveCallTstate:
  243|  99.8k|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|  99.8k|    (void)tstate;
  245|  99.8k|}
descrobject.c:_Py_LeaveRecursiveCall:
  254|  48.5k|static inline void _Py_LeaveRecursiveCall(void)  {
  255|  48.5k|}
genobject.c:_PyEval_EvalFrame:
  119|  71.3k|{
  120|  71.3k|    EVAL_CALL_STAT_INC(EVAL_CALL_TOTAL);
  ------------------
  |  |   79|  71.3k|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  121|  71.3k|    if (tstate->interp->eval_frame == NULL) {
  ------------------
  |  Branch (121:9): [True: 71.3k, False: 0]
  ------------------
  122|  71.3k|        return _PyEval_EvalFrameDefault(tstate, frame, throwflag);
  123|  71.3k|    }
  124|      0|    return tstate->interp->eval_frame(tstate, frame, throwflag);
  125|  71.3k|}
methodobject.c:_Py_EnterRecursiveCallTstate:
  234|   148k|                                               const char *where) {
  235|   148k|    return (_Py_ReachedRecursionLimit(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 148k]
  |  Branch (235:50): [True: 0, False: 0]
  ------------------
  236|   148k|}
methodobject.c:_Py_ReachedRecursionLimit:
  211|   148k|static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate)  {
  212|   148k|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|   148k|    _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|   148k|#if _Py_STACK_GROWS_DOWN
  218|   148k|    return here_addr < _tstate->c_stack_soft_limit;
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit;
  221|       |#endif
  222|   148k|}
methodobject.c:_Py_LeaveRecursiveCallTstate:
  243|   148k|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|   148k|    (void)tstate;
  245|   148k|}

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

dictobject.c:DK_ENTRIES:
  285|  3.97M|static inline PyDictKeyEntry* DK_ENTRIES(PyDictKeysObject *dk) {
  286|  3.97M|    assert(dk->dk_kind == DICT_KEYS_GENERAL);
  ------------------
  |  Branch (286:5): [True: 3.97M, False: 0]
  ------------------
  287|  3.97M|    return (PyDictKeyEntry*)_DK_ENTRIES(dk);
  288|  3.97M|}
dictobject.c:_DK_ENTRIES:
  279|  29.0M|static inline void* _DK_ENTRIES(PyDictKeysObject *dk) {
  280|  29.0M|    int8_t *indices = (int8_t*)(dk->dk_indices);
  281|  29.0M|    size_t index = (size_t)1 << dk->dk_log2_index_bytes;
  282|  29.0M|    return (&indices[index]);
  283|  29.0M|}
dictobject.c:DK_UNICODE_ENTRIES:
  289|  11.4M|static inline PyDictUnicodeEntry* DK_UNICODE_ENTRIES(PyDictKeysObject *dk) {
  290|  11.4M|    assert(dk->dk_kind != DICT_KEYS_GENERAL);
  ------------------
  |  Branch (290:5): [True: 11.4M, False: 0]
  ------------------
  291|  11.4M|    return (PyDictUnicodeEntry*)_DK_ENTRIES(dk);
  292|  11.4M|}
dictobject.c:get_insertion_order_array:
  340|  2.16k|{
  341|  2.16k|    return (uint8_t *)&values->values[values->capacity];
  342|  2.16k|}
dictobject.c:_PyDict_NotifyEvent:
  322|  5.53M|{
  323|  5.53M|    assert(Py_REFCNT((PyObject*)mp) > 0);
  ------------------
  |  Branch (323:5): [True: 5.53M, False: 0]
  ------------------
  324|  5.53M|    int watcher_bits = FT_ATOMIC_LOAD_UINT64_ACQUIRE(mp->_ma_watcher_tag) & DICT_WATCHER_MASK;
  ------------------
  |  |  160|  5.53M|#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.53M|#define DICT_WATCHER_MASK ((1 << DICT_MAX_WATCHERS) - 1)
  |  |  ------------------
  |  |  |  |   11|  5.53M|#define DICT_MAX_WATCHERS 8
  |  |  ------------------
  ------------------
  325|  5.53M|    if (watcher_bits) {
  ------------------
  |  Branch (325:9): [True: 9.08k, False: 5.52M]
  ------------------
  326|  9.08k|        RARE_EVENT_STAT_INC(watched_dict_modification);
  ------------------
  |  |   89|  9.08k|#define RARE_EVENT_STAT_INC(name) ((void)0)
  ------------------
  327|  9.08k|        _PyDict_SendEvent(watcher_bits, event, mp, key, value);
  328|  9.08k|    }
  329|  5.53M|}
dictobject.c:_PyDictValues_AddToInsertionOrder:
  346|  2.16k|{
  347|  2.16k|    assert(ix < SHARED_KEYS_MAX_SIZE);
  ------------------
  |  Branch (347:5): [True: 2.16k, False: 0]
  ------------------
  348|  2.16k|    int size = values->size;
  349|  2.16k|    uint8_t *array = get_insertion_order_array(values);
  350|  2.16k|    assert(size < values->capacity);
  ------------------
  |  Branch (350:5): [True: 2.16k, False: 0]
  ------------------
  351|  2.16k|    assert(((uint8_t)ix) == ix);
  ------------------
  |  Branch (351:5): [True: 2.16k, False: 0]
  ------------------
  352|  2.16k|    array[size] = (uint8_t)ix;
  353|  2.16k|    values->size = size+1;
  354|  2.16k|}
dictobject.c:shared_keys_usable_size:
  362|  51.5k|{
  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|  51.5k|    Py_ssize_t dk_usable = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_usable);
  ------------------
  |  |  148|  51.5k|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  371|  51.5k|    Py_ssize_t dk_nentries = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_nentries);
  ------------------
  |  |  148|  51.5k|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  372|  51.5k|    return dk_nentries + dk_usable;
  373|  51.5k|}
dictobject.c:_PyDictKeys_AsSharedKeys:
  249|    360|{
  250|    360|    assert(keys->dk_kind == DICT_KEYS_SPLIT);
  ------------------
  |  Branch (250:5): [True: 360, False: 0]
  ------------------
  251|    360|    return _Py_CONTAINER_OF(keys, struct _instancekeysobject, dsk_keys);
  ------------------
  |  |  273|    360|    (type*)((char*)ptr - offsetof(type, member))
  ------------------
  252|    360|}
typeobject.c:_PyInlineValuesSize:
  377|  51.2k|{
  378|  51.2k|    PyDictKeysObject *keys = ((PyHeapTypeObject*)tp)->ht_cached_keys;
  379|  51.2k|    assert(keys != NULL);
  ------------------
  |  Branch (379:5): [True: 51.2k, False: 0]
  ------------------
  380|  51.2k|    size_t size = shared_keys_usable_size(keys);
  381|  51.2k|    size_t prefix_size = _Py_SIZE_ROUND_UP(size, sizeof(PyObject *));
  ------------------
  |  |  213|  51.2k|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  214|  51.2k|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
  382|  51.2k|    assert(prefix_size < 256);
  ------------------
  |  Branch (382:5): [True: 51.2k, False: 0]
  ------------------
  383|  51.2k|    return prefix_size + (size + 1) * sizeof(PyObject *);
  384|  51.2k|}
typeobject.c:shared_keys_usable_size:
  362|  51.2k|{
  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|  51.2k|    Py_ssize_t dk_usable = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_usable);
  ------------------
  |  |  148|  51.2k|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  371|  51.2k|    Py_ssize_t dk_nentries = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_nentries);
  ------------------
  |  |  148|  51.2k|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  372|  51.2k|    return dk_nentries + dk_usable;
  373|  51.2k|}
ceval.c:DK_UNICODE_ENTRIES:
  289|  33.2M|static inline PyDictUnicodeEntry* DK_UNICODE_ENTRIES(PyDictKeysObject *dk) {
  290|  33.2M|    assert(dk->dk_kind != DICT_KEYS_GENERAL);
  ------------------
  |  Branch (290:5): [True: 33.2M, False: 0]
  ------------------
  291|  33.2M|    return (PyDictUnicodeEntry*)_DK_ENTRIES(dk);
  292|  33.2M|}
ceval.c:_DK_ENTRIES:
  279|  33.2M|static inline void* _DK_ENTRIES(PyDictKeysObject *dk) {
  280|  33.2M|    int8_t *indices = (int8_t*)(dk->dk_indices);
  281|  33.2M|    size_t index = (size_t)1 << dk->dk_log2_index_bytes;
  282|  33.2M|    return (&indices[index]);
  283|  33.2M|}
ceval.c:_PyDictValues_AddToInsertionOrder:
  346|   443k|{
  347|   443k|    assert(ix < SHARED_KEYS_MAX_SIZE);
  ------------------
  |  Branch (347:5): [True: 443k, False: 0]
  ------------------
  348|   443k|    int size = values->size;
  349|   443k|    uint8_t *array = get_insertion_order_array(values);
  350|   443k|    assert(size < values->capacity);
  ------------------
  |  Branch (350:5): [True: 443k, False: 0]
  ------------------
  351|   443k|    assert(((uint8_t)ix) == ix);
  ------------------
  |  Branch (351:5): [True: 443k, False: 0]
  ------------------
  352|   443k|    array[size] = (uint8_t)ix;
  353|   443k|    values->size = size+1;
  354|   443k|}
ceval.c:get_insertion_order_array:
  340|   443k|{
  341|   443k|    return (uint8_t *)&values->values[values->capacity];
  342|   443k|}

listobject.c:_Py_freelists_GET:
   19|  1.80M|{
   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.80M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  1.80M|    return &interp->object_state.freelists;
   30|  1.80M|#endif
   31|  1.80M|}
listobject.c:_PyFreeList_Pop:
   88|   904k|{
   89|   904k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|   904k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 810k, False: 93.8k]
  ------------------
   91|   810k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|   810k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|   810k|        _Py_NewReference(op);
   93|   810k|    }
   94|   904k|    return op;
   95|   904k|}
listobject.c:_PyFreeList_PopNoStats:
   76|   904k|{
   77|   904k|    void *obj = fl->freelist;
   78|   904k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 810k, False: 93.8k]
  ------------------
   79|   810k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 810k, False: 0]
  ------------------
   80|   810k|        fl->freelist = *(void **)obj;
   81|   810k|        fl->size--;
   82|   810k|    }
   83|   904k|    return obj;
   84|   904k|}
listobject.c:_PyFreeList_Free:
   68|   904k|{
   69|   904k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 93.2k, False: 811k]
  ------------------
   70|  93.2k|        dofree(obj);
   71|  93.2k|    }
   72|   904k|}
listobject.c:_PyFreeList_Push:
   54|   904k|{
   55|   904k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 811k, False: 93.2k]
  |  Branch (55:31): [True: 811k, False: 0]
  ------------------
   56|   811k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|   811k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|   811k|        fl->freelist = obj;
   58|   811k|        fl->size++;
   59|   811k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|   811k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|   811k|        return 1;
   61|   811k|    }
   62|  93.2k|    return 0;
   63|   904k|}
longobject.c:_PyFreeList_Pop:
   88|  12.8M|{
   89|  12.8M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  12.8M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 12.1M, False: 647k]
  ------------------
   91|  12.1M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  12.1M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  12.1M|        _Py_NewReference(op);
   93|  12.1M|    }
   94|  12.8M|    return op;
   95|  12.8M|}
longobject.c:_PyFreeList_PopNoStats:
   76|  12.8M|{
   77|  12.8M|    void *obj = fl->freelist;
   78|  12.8M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 12.1M, False: 647k]
  ------------------
   79|  12.1M|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 12.1M, False: 0]
  ------------------
   80|  12.1M|        fl->freelist = *(void **)obj;
   81|  12.1M|        fl->size--;
   82|  12.1M|    }
   83|  12.8M|    return obj;
   84|  12.8M|}
longobject.c:_PyFreeList_Free:
   68|  12.8M|{
   69|  12.8M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 652k, False: 12.1M]
  ------------------
   70|   652k|        dofree(obj);
   71|   652k|    }
   72|  12.8M|}
longobject.c:_PyFreeList_Push:
   54|  12.8M|{
   55|  12.8M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 12.1M, False: 652k]
  |  Branch (55:31): [True: 12.1M, False: 0]
  ------------------
   56|  12.1M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  12.1M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  12.1M|        fl->freelist = obj;
   58|  12.1M|        fl->size++;
   59|  12.1M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  12.1M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  12.1M|        return 1;
   61|  12.1M|    }
   62|   652k|    return 0;
   63|  12.8M|}
longobject.c:_Py_freelists_GET:
   19|  25.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|  25.6M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  25.6M|    return &interp->object_state.freelists;
   30|  25.6M|#endif
   31|  25.6M|}
dictobject.c:_Py_freelists_GET:
   19|  3.24M|{
   20|       |#ifdef Py_DEBUG
   21|       |    _Py_AssertHoldsTstate();
   22|       |#endif
   23|       |
   24|       |#ifdef Py_GIL_DISABLED
   25|       |    PyThreadState *tstate = _PyThreadState_GET();
   26|       |    return &((_PyThreadStateImpl*)tstate)->freelists;
   27|       |#else
   28|  3.24M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  3.24M|    return &interp->object_state.freelists;
   30|  3.24M|#endif
   31|  3.24M|}
dictobject.c:_PyFreeList_Pop:
   88|   938k|{
   89|   938k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|   938k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 541k, False: 397k]
  ------------------
   91|   541k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|   541k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|   541k|        _Py_NewReference(op);
   93|   541k|    }
   94|   938k|    return op;
   95|   938k|}
dictobject.c:_PyFreeList_PopNoStats:
   76|  1.62M|{
   77|  1.62M|    void *obj = fl->freelist;
   78|  1.62M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 1.15M, False: 464k]
  ------------------
   79|  1.15M|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 1.15M, False: 0]
  ------------------
   80|  1.15M|        fl->freelist = *(void **)obj;
   81|  1.15M|        fl->size--;
   82|  1.15M|    }
   83|  1.62M|    return obj;
   84|  1.62M|}
dictobject.c:_PyFreeList_PopMem:
   99|   685k|{
  100|   685k|    void *op = _PyFreeList_PopNoStats(fl);
  101|   685k|    if (op != NULL) {
  ------------------
  |  Branch (101:9): [True: 618k, False: 67.3k]
  ------------------
  102|   618k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|   618k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  103|   618k|    }
  104|   685k|    return op;
  105|   685k|}
dictobject.c:_PyFreeList_Free:
   68|  1.62M|{
   69|  1.62M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 460k, False: 1.16M]
  ------------------
   70|   460k|        dofree(obj);
   71|   460k|    }
   72|  1.62M|}
dictobject.c:_PyFreeList_Push:
   54|  1.62M|{
   55|  1.62M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 1.16M, False: 460k]
  |  Branch (55:31): [True: 1.16M, False: 0]
  ------------------
   56|  1.16M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  1.16M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  1.16M|        fl->freelist = obj;
   58|  1.16M|        fl->size++;
   59|  1.16M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  1.16M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  1.16M|        return 1;
   61|  1.16M|    }
   62|   460k|    return 0;
   63|  1.62M|}
object.c:_PyFreeList_PopNoStats:
   76|  12.6k|{
   77|  12.6k|    void *obj = fl->freelist;
   78|  12.6k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 12.3k, False: 280]
  ------------------
   79|  12.3k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 12.3k, False: 0]
  ------------------
   80|  12.3k|        fl->freelist = *(void **)obj;
   81|  12.3k|        fl->size--;
   82|  12.3k|    }
   83|  12.6k|    return obj;
   84|  12.6k|}
rangeobject.c:_PyFreeList_Free:
   68|    758|{
   69|    758|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 758]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|    758|}
rangeobject.c:_PyFreeList_Push:
   54|    758|{
   55|    758|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 758, False: 0]
  |  Branch (55:31): [True: 758, False: 0]
  ------------------
   56|    758|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|    758|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|    758|        fl->freelist = obj;
   58|    758|        fl->size++;
   59|    758|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|    758|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|    758|        return 1;
   61|    758|    }
   62|      0|    return 0;
   63|    758|}
rangeobject.c:_Py_freelists_GET:
   19|  1.51k|{
   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.51k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  1.51k|    return &interp->object_state.freelists;
   30|  1.51k|#endif
   31|  1.51k|}
rangeobject.c:_PyFreeList_Pop:
   88|    758|{
   89|    758|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|    758|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 746, False: 12]
  ------------------
   91|    746|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|    746|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|    746|        _Py_NewReference(op);
   93|    746|    }
   94|    758|    return op;
   95|    758|}
rangeobject.c:_PyFreeList_PopNoStats:
   76|    758|{
   77|    758|    void *obj = fl->freelist;
   78|    758|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 746, False: 12]
  ------------------
   79|    746|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 746, False: 0]
  ------------------
   80|    746|        fl->freelist = *(void **)obj;
   81|    746|        fl->size--;
   82|    746|    }
   83|    758|    return obj;
   84|    758|}
sliceobject.c:_PyFreeList_Pop:
   88|  39.5k|{
   89|  39.5k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  39.5k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 32.1k, False: 7.42k]
  ------------------
   91|  32.1k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  32.1k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  32.1k|        _Py_NewReference(op);
   93|  32.1k|    }
   94|  39.5k|    return op;
   95|  39.5k|}
sliceobject.c:_PyFreeList_PopNoStats:
   76|  39.5k|{
   77|  39.5k|    void *obj = fl->freelist;
   78|  39.5k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 32.1k, False: 7.42k]
  ------------------
   79|  32.1k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 32.1k, False: 0]
  ------------------
   80|  32.1k|        fl->freelist = *(void **)obj;
   81|  32.1k|        fl->size--;
   82|  32.1k|    }
   83|  39.5k|    return obj;
   84|  39.5k|}
sliceobject.c:_Py_freelists_GET:
   19|  79.0k|{
   20|       |#ifdef Py_DEBUG
   21|       |    _Py_AssertHoldsTstate();
   22|       |#endif
   23|       |
   24|       |#ifdef Py_GIL_DISABLED
   25|       |    PyThreadState *tstate = _PyThreadState_GET();
   26|       |    return &((_PyThreadStateImpl*)tstate)->freelists;
   27|       |#else
   28|  79.0k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  79.0k|    return &interp->object_state.freelists;
   30|  79.0k|#endif
   31|  79.0k|}
sliceobject.c:_PyFreeList_Free:
   68|  39.4k|{
   69|  39.4k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 7.30k, False: 32.1k]
  ------------------
   70|  7.30k|        dofree(obj);
   71|  7.30k|    }
   72|  39.4k|}
sliceobject.c:_PyFreeList_Push:
   54|  39.4k|{
   55|  39.4k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 32.1k, False: 7.30k]
  |  Branch (55:31): [True: 32.1k, False: 0]
  ------------------
   56|  32.1k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  32.1k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  32.1k|        fl->freelist = obj;
   58|  32.1k|        fl->size++;
   59|  32.1k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  32.1k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  32.1k|        return 1;
   61|  32.1k|    }
   62|  7.30k|    return 0;
   63|  39.4k|}
tupleobject.c:_PyFreeList_Pop:
   88|  54.9M|{
   89|  54.9M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  54.9M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 6.37M, False: 48.5M]
  ------------------
   91|  6.37M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  6.37M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  6.37M|        _Py_NewReference(op);
   93|  6.37M|    }
   94|  54.9M|    return op;
   95|  54.9M|}
tupleobject.c:_PyFreeList_PopNoStats:
   76|  54.9M|{
   77|  54.9M|    void *obj = fl->freelist;
   78|  54.9M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 6.37M, False: 48.5M]
  ------------------
   79|  6.37M|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 6.37M, False: 0]
  ------------------
   80|  6.37M|        fl->freelist = *(void **)obj;
   81|  6.37M|        fl->size--;
   82|  6.37M|    }
   83|  54.9M|    return obj;
   84|  54.9M|}
tupleobject.c:_PyFreeList_Free:
   68|  9.82k|{
   69|  9.82k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 9.82k]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  9.82k|}
tupleobject.c:_PyFreeList_Push:
   54|  54.9M|{
   55|  54.9M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 6.38M, False: 48.5M]
  |  Branch (55:31): [True: 6.38M, False: 0]
  ------------------
   56|  6.38M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  6.38M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  6.38M|        fl->freelist = obj;
   58|  6.38M|        fl->size++;
   59|  6.38M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  6.38M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  6.38M|        return 1;
   61|  6.38M|    }
   62|  48.5M|    return 0;
   63|  54.9M|}
tupleobject.c:_Py_freelists_GET:
   19|   109M|{
   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|   109M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|   109M|    return &interp->object_state.freelists;
   30|   109M|#endif
   31|   109M|}
unicode_writer.c:_PyFreeList_PopMem:
   99|  82.4k|{
  100|  82.4k|    void *op = _PyFreeList_PopNoStats(fl);
  101|  82.4k|    if (op != NULL) {
  ------------------
  |  Branch (101:9): [True: 80.0k, False: 2.40k]
  ------------------
  102|  80.0k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  80.0k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  103|  80.0k|    }
  104|  82.4k|    return op;
  105|  82.4k|}
unicode_writer.c:_PyFreeList_PopNoStats:
   76|  82.4k|{
   77|  82.4k|    void *obj = fl->freelist;
   78|  82.4k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 80.0k, False: 2.40k]
  ------------------
   79|  80.0k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 80.0k, False: 0]
  ------------------
   80|  80.0k|        fl->freelist = *(void **)obj;
   81|  80.0k|        fl->size--;
   82|  80.0k|    }
   83|  82.4k|    return obj;
   84|  82.4k|}
unicode_writer.c:_Py_freelists_GET:
   19|   164k|{
   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|   164k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|   164k|    return &interp->object_state.freelists;
   30|   164k|#endif
   31|   164k|}
unicode_writer.c:_PyFreeList_Free:
   68|  82.4k|{
   69|  82.4k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 2.40k, False: 80.0k]
  ------------------
   70|  2.40k|        dofree(obj);
   71|  2.40k|    }
   72|  82.4k|}
unicode_writer.c:_PyFreeList_Push:
   54|  82.4k|{
   55|  82.4k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 80.0k, False: 2.40k]
  |  Branch (55:31): [True: 80.0k, False: 0]
  ------------------
   56|  80.0k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  80.0k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  80.0k|        fl->freelist = obj;
   58|  80.0k|        fl->size++;
   59|  80.0k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  80.0k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  80.0k|        return 1;
   61|  80.0k|    }
   62|  2.40k|    return 0;
   63|  82.4k|}
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|}
bytesobject.c:_PyFreeList_PopMem:
   99|  76.4k|{
  100|  76.4k|    void *op = _PyFreeList_PopNoStats(fl);
  101|  76.4k|    if (op != NULL) {
  ------------------
  |  Branch (101:9): [True: 76.4k, False: 9]
  ------------------
  102|  76.4k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  76.4k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  103|  76.4k|    }
  104|  76.4k|    return op;
  105|  76.4k|}
bytesobject.c:_PyFreeList_PopNoStats:
   76|  76.4k|{
   77|  76.4k|    void *obj = fl->freelist;
   78|  76.4k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 76.4k, False: 9]
  ------------------
   79|  76.4k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 76.4k, False: 0]
  ------------------
   80|  76.4k|        fl->freelist = *(void **)obj;
   81|  76.4k|        fl->size--;
   82|  76.4k|    }
   83|  76.4k|    return obj;
   84|  76.4k|}
bytesobject.c:_PyFreeList_Free:
   68|  76.4k|{
   69|  76.4k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 76.4k]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  76.4k|}
bytesobject.c:_PyFreeList_Push:
   54|  76.4k|{
   55|  76.4k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 76.4k, False: 0]
  |  Branch (55:31): [True: 76.4k, False: 0]
  ------------------
   56|  76.4k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  76.4k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  76.4k|        fl->freelist = obj;
   58|  76.4k|        fl->size++;
   59|  76.4k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  76.4k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  76.4k|        return 1;
   61|  76.4k|    }
   62|      0|    return 0;
   63|  76.4k|}
bytesobject.c:_Py_freelists_GET:
   19|   152k|{
   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|   152k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|   152k|    return &interp->object_state.freelists;
   30|   152k|#endif
   31|   152k|}
classobject.c:_PyFreeList_Pop:
   88|  2.38k|{
   89|  2.38k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  2.38k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 2.23k, False: 157]
  ------------------
   91|  2.23k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  2.23k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  2.23k|        _Py_NewReference(op);
   93|  2.23k|    }
   94|  2.38k|    return op;
   95|  2.38k|}
classobject.c:_PyFreeList_PopNoStats:
   76|  2.38k|{
   77|  2.38k|    void *obj = fl->freelist;
   78|  2.38k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 2.23k, False: 157]
  ------------------
   79|  2.23k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 2.23k, False: 0]
  ------------------
   80|  2.23k|        fl->freelist = *(void **)obj;
   81|  2.23k|        fl->size--;
   82|  2.23k|    }
   83|  2.38k|    return obj;
   84|  2.38k|}
classobject.c:_Py_freelists_GET:
   19|  4.64k|{
   20|       |#ifdef Py_DEBUG
   21|       |    _Py_AssertHoldsTstate();
   22|       |#endif
   23|       |
   24|       |#ifdef Py_GIL_DISABLED
   25|       |    PyThreadState *tstate = _PyThreadState_GET();
   26|       |    return &((_PyThreadStateImpl*)tstate)->freelists;
   27|       |#else
   28|  4.64k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  4.64k|    return &interp->object_state.freelists;
   30|  4.64k|#endif
   31|  4.64k|}
classobject.c:_PyFreeList_Free:
   68|  2.25k|{
   69|  2.25k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 2.25k]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  2.25k|}
classobject.c:_PyFreeList_Push:
   54|  2.25k|{
   55|  2.25k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 2.25k, False: 0]
  |  Branch (55:31): [True: 2.25k, False: 0]
  ------------------
   56|  2.25k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  2.25k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  2.25k|        fl->freelist = obj;
   58|  2.25k|        fl->size++;
   59|  2.25k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  2.25k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  2.25k|        return 1;
   61|  2.25k|    }
   62|      0|    return 0;
   63|  2.25k|}
complexobject.c:_PyFreeList_Pop:
   88|   359k|{
   89|   359k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|   359k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 171k, False: 187k]
  ------------------
   91|   171k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|   171k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|   171k|        _Py_NewReference(op);
   93|   171k|    }
   94|   359k|    return op;
   95|   359k|}
complexobject.c:_PyFreeList_PopNoStats:
   76|   359k|{
   77|   359k|    void *obj = fl->freelist;
   78|   359k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 171k, False: 187k]
  ------------------
   79|   171k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 171k, False: 0]
  ------------------
   80|   171k|        fl->freelist = *(void **)obj;
   81|   171k|        fl->size--;
   82|   171k|    }
   83|   359k|    return obj;
   84|   359k|}
complexobject.c:_Py_freelists_GET:
   19|   719k|{
   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|   719k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|   719k|    return &interp->object_state.freelists;
   30|   719k|#endif
   31|   719k|}
complexobject.c:_PyFreeList_Free:
   68|   359k|{
   69|   359k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 187k, False: 172k]
  ------------------
   70|   187k|        dofree(obj);
   71|   187k|    }
   72|   359k|}
complexobject.c:_PyFreeList_Push:
   54|   359k|{
   55|   359k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 172k, False: 187k]
  |  Branch (55:31): [True: 172k, False: 0]
  ------------------
   56|   172k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|   172k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|   172k|        fl->freelist = obj;
   58|   172k|        fl->size++;
   59|   172k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|   172k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|   172k|        return 1;
   61|   172k|    }
   62|   187k|    return 0;
   63|   359k|}
floatobject.c:_PyFreeList_Pop:
   88|   402k|{
   89|   402k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|   402k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 235k, False: 166k]
  ------------------
   91|   235k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|   235k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|   235k|        _Py_NewReference(op);
   93|   235k|    }
   94|   402k|    return op;
   95|   402k|}
floatobject.c:_PyFreeList_PopNoStats:
   76|   402k|{
   77|   402k|    void *obj = fl->freelist;
   78|   402k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 235k, False: 166k]
  ------------------
   79|   235k|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 235k, False: 0]
  ------------------
   80|   235k|        fl->freelist = *(void **)obj;
   81|   235k|        fl->size--;
   82|   235k|    }
   83|   402k|    return obj;
   84|   402k|}
floatobject.c:_Py_freelists_GET:
   19|   805k|{
   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|   805k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|   805k|    return &interp->object_state.freelists;
   30|   805k|#endif
   31|   805k|}
floatobject.c:_PyFreeList_Free:
   68|   402k|{
   69|   402k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 166k, False: 236k]
  ------------------
   70|   166k|        dofree(obj);
   71|   166k|    }
   72|   402k|}
floatobject.c:_PyFreeList_Push:
   54|   402k|{
   55|   402k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 236k, False: 166k]
  |  Branch (55:31): [True: 236k, False: 0]
  ------------------
   56|   236k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|   236k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|   236k|        fl->freelist = obj;
   58|   236k|        fl->size++;
   59|   236k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|   236k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|   236k|        return 1;
   61|   236k|    }
   62|   166k|    return 0;
   63|   402k|}
methodobject.c:_PyFreeList_Pop:
   88|  1.93M|{
   89|  1.93M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  1.93M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 1.93M, False: 1.56k]
  ------------------
   91|  1.93M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  1.93M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  1.93M|        _Py_NewReference(op);
   93|  1.93M|    }
   94|  1.93M|    return op;
   95|  1.93M|}
methodobject.c:_PyFreeList_PopNoStats:
   76|  1.93M|{
   77|  1.93M|    void *obj = fl->freelist;
   78|  1.93M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 1.93M, False: 1.56k]
  ------------------
   79|  1.93M|        assert(fl->size > 0);
  ------------------
  |  Branch (79:9): [True: 1.93M, False: 0]
  ------------------
   80|  1.93M|        fl->freelist = *(void **)obj;
   81|  1.93M|        fl->size--;
   82|  1.93M|    }
   83|  1.93M|    return obj;
   84|  1.93M|}
methodobject.c:_Py_freelists_GET:
   19|  3.87M|{
   20|       |#ifdef Py_DEBUG
   21|       |    _Py_AssertHoldsTstate();
   22|       |#endif
   23|       |
   24|       |#ifdef Py_GIL_DISABLED
   25|       |    PyThreadState *tstate = _PyThreadState_GET();
   26|       |    return &((_PyThreadStateImpl*)tstate)->freelists;
   27|       |#else
   28|  3.87M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  3.87M|    return &interp->object_state.freelists;
   30|  3.87M|#endif
   31|  3.87M|}
methodobject.c:_PyFreeList_Free:
   68|  1.93M|{
   69|  1.93M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 1.93M]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  1.93M|}
methodobject.c:_PyFreeList_Push:
   54|  1.93M|{
   55|  1.93M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 1.93M, False: 0]
  |  Branch (55:31): [True: 1.93M, False: 0]
  ------------------
   56|  1.93M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  163|  1.93M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  1.93M|        fl->freelist = obj;
   58|  1.93M|        fl->size++;
   59|  1.93M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  1.93M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  1.93M|        return 1;
   61|  1.93M|    }
   62|      0|    return 0;
   63|  1.93M|}

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

exceptions.c:_PyObject_GC_UNTRACK:
  253|  62.1k|{
  254|  62.1k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  62.1k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 62.1k, False: 0]
  |  |  ------------------
  |  |  417|  62.1k|      ? (void)(0) \
  |  |  418|  62.1k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  62.1k|                          "object not tracked by the garbage collector",
  256|  62.1k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  62.1k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  62.1k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  62.1k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  62.1k|    _PyGCHead_SET_NEXT(prev, next);
  265|  62.1k|    _PyGCHead_SET_PREV(next, prev);
  266|  62.1k|    gc->_gc_next = 0;
  267|  62.1k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  62.1k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  62.1k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  62.1k|    gcstate->heap_size--;
  270|  62.1k|#endif
  271|  62.1k|}
exceptions.c:_PyObject_GC_IS_TRACKED:
   73|  62.1k|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.1k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  62.1k|    return (gc->_gc_next != 0);
   79|  62.1k|#endif
   80|  62.1k|}
exceptions.c:_Py_AS_GC:
   17|   124k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   124k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   124k|    return (PyGC_Head*)gc;
   20|   124k|}
exceptions.c:_PyGCHead_PREV:
  155|  62.1k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  62.1k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  62.1k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  62.1k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  62.1k|    return (PyGC_Head*)prev;
  158|  62.1k|}
exceptions.c:_PyGCHead_NEXT:
  146|  62.1k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  62.1k|    uintptr_t next = gc->_gc_next;
  148|  62.1k|    return (PyGC_Head*)next;
  149|  62.1k|}
exceptions.c:_PyGCHead_SET_NEXT:
  150|  62.2k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  62.2k|    gc->_gc_next = (uintptr_t)next;
  152|  62.2k|}
exceptions.c:_PyGCHead_SET_PREV:
  160|  62.1k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  62.1k|    uintptr_t uprev = (uintptr_t)prev;
  162|  62.1k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 62.1k, False: 0]
  ------------------
  163|  62.1k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  62.1k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  62.1k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  62.1k|}
exceptions.c:_PyObject_GC_TRACK:
  213|     54|{
  214|     54|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|     54|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 54, False: 0]
  |  |  ------------------
  |  |  417|     54|      ? (void)(0) \
  |  |  418|     54|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|     54|                          "object already tracked by the garbage collector",
  216|     54|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|     54|    PyGC_Head *gc = _Py_AS_GC(op);
  221|     54|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|     54|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 54, False: 0]
  |  |  ------------------
  |  |  417|     54|      ? (void)(0) \
  |  |  418|     54|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|     54|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|     54|                          "object is in generation which is garbage collected",
  224|     54|                          filename, lineno, __func__);
  225|       |
  226|     54|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|     54|    PyGC_Head *generation0 = gcstate->generation0;
  228|     54|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|     54|    _PyGCHead_SET_NEXT(last, gc);
  230|     54|    _PyGCHead_SET_PREV(gc, last);
  231|     54|    _PyGCHead_SET_NEXT(gc, generation0);
  232|     54|    generation0->_gc_prev = (uintptr_t)gc;
  233|     54|    gcstate->heap_size++;
  234|     54|#endif
  235|     54|}
genericaliasobject.c:_PyObject_GC_UNTRACK:
  253|      5|{
  254|      5|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|      5|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 5, False: 0]
  |  |  ------------------
  |  |  417|      5|      ? (void)(0) \
  |  |  418|      5|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      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|}
listobject.c:_PyObject_GC_TRACK:
  213|   904k|{
  214|   904k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|   904k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 904k, False: 0]
  |  |  ------------------
  |  |  417|   904k|      ? (void)(0) \
  |  |  418|   904k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|   904k|                          "object already tracked by the garbage collector",
  216|   904k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|   904k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|   904k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|   904k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 904k, False: 0]
  |  |  ------------------
  |  |  417|   904k|      ? (void)(0) \
  |  |  418|   904k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|   904k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|   904k|                          "object is in generation which is garbage collected",
  224|   904k|                          filename, lineno, __func__);
  225|       |
  226|   904k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|   904k|    PyGC_Head *generation0 = gcstate->generation0;
  228|   904k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|   904k|    _PyGCHead_SET_NEXT(last, gc);
  230|   904k|    _PyGCHead_SET_PREV(gc, last);
  231|   904k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|   904k|    generation0->_gc_prev = (uintptr_t)gc;
  233|   904k|    gcstate->heap_size++;
  234|   904k|#endif
  235|   904k|}
listobject.c:_PyObject_GC_IS_TRACKED:
   73|   941k|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|   941k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   941k|    return (gc->_gc_next != 0);
   79|   941k|#endif
   80|   941k|}
listobject.c:_Py_AS_GC:
   17|  1.88M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.88M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.88M|    return (PyGC_Head*)gc;
   20|  1.88M|}
listobject.c:_PyGCHead_SET_NEXT:
  150|  1.84M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  1.84M|    gc->_gc_next = (uintptr_t)next;
  152|  1.84M|}
listobject.c:_PyGCHead_SET_PREV:
  160|   941k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|   941k|    uintptr_t uprev = (uintptr_t)prev;
  162|   941k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 941k, False: 0]
  ------------------
  163|   941k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|   941k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   941k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|   941k|}
listobject.c:_PyObject_GC_UNTRACK:
  253|  36.8k|{
  254|  36.8k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  36.8k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 36.8k, False: 0]
  |  |  ------------------
  |  |  417|  36.8k|      ? (void)(0) \
  |  |  418|  36.8k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  36.8k|                          "object not tracked by the garbage collector",
  256|  36.8k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  36.8k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  36.8k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  36.8k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  36.8k|    _PyGCHead_SET_NEXT(prev, next);
  265|  36.8k|    _PyGCHead_SET_PREV(next, prev);
  266|  36.8k|    gc->_gc_next = 0;
  267|  36.8k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  36.8k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  36.8k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  36.8k|    gcstate->heap_size--;
  270|  36.8k|#endif
  271|  36.8k|}
listobject.c:_PyGCHead_PREV:
  155|  36.8k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  36.8k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  36.8k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  36.8k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  36.8k|    return (PyGC_Head*)prev;
  158|  36.8k|}
listobject.c:_PyGCHead_NEXT:
  146|  36.8k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  36.8k|    uintptr_t next = gc->_gc_next;
  148|  36.8k|    return (PyGC_Head*)next;
  149|  36.8k|}
dictobject.c:_PyObject_GC_IS_TRACKED:
   73|   943k|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|   943k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   943k|    return (gc->_gc_next != 0);
   79|   943k|#endif
   80|   943k|}
dictobject.c:_Py_AS_GC:
   17|  1.88M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.88M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.88M|    return (PyGC_Head*)gc;
   20|  1.88M|}
dictobject.c:_PyObject_GC_TRACK:
  213|   939k|{
  214|   939k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|   939k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 939k, False: 0]
  |  |  ------------------
  |  |  417|   939k|      ? (void)(0) \
  |  |  418|   939k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|   939k|                          "object already tracked by the garbage collector",
  216|   939k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|   939k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|   939k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|   939k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 939k, False: 0]
  |  |  ------------------
  |  |  417|   939k|      ? (void)(0) \
  |  |  418|   939k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|   939k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|   939k|                          "object is in generation which is garbage collected",
  224|   939k|                          filename, lineno, __func__);
  225|       |
  226|   939k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|   939k|    PyGC_Head *generation0 = gcstate->generation0;
  228|   939k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|   939k|    _PyGCHead_SET_NEXT(last, gc);
  230|   939k|    _PyGCHead_SET_PREV(gc, last);
  231|   939k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|   939k|    generation0->_gc_prev = (uintptr_t)gc;
  233|   939k|    gcstate->heap_size++;
  234|   939k|#endif
  235|   939k|}
dictobject.c:_PyGCHead_SET_NEXT:
  150|  1.88M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  1.88M|    gc->_gc_next = (uintptr_t)next;
  152|  1.88M|}
dictobject.c:_PyGCHead_SET_PREV:
  160|   940k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|   940k|    uintptr_t uprev = (uintptr_t)prev;
  162|   940k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 940k, False: 0]
  ------------------
  163|   940k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|   940k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   940k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|   940k|}
dictobject.c:_PyObject_GC_UNTRACK:
  253|  1.08k|{
  254|  1.08k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  1.08k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 1.08k, False: 0]
  |  |  ------------------
  |  |  417|  1.08k|      ? (void)(0) \
  |  |  418|  1.08k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  1.08k|                          "object not tracked by the garbage collector",
  256|  1.08k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  1.08k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  1.08k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  1.08k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  1.08k|    _PyGCHead_SET_NEXT(prev, next);
  265|  1.08k|    _PyGCHead_SET_PREV(next, prev);
  266|  1.08k|    gc->_gc_next = 0;
  267|  1.08k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  1.08k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  1.08k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  1.08k|    gcstate->heap_size--;
  270|  1.08k|#endif
  271|  1.08k|}
dictobject.c:_PyGCHead_PREV:
  155|  1.08k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  1.08k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  1.08k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  1.08k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  1.08k|    return (PyGC_Head*)prev;
  158|  1.08k|}
dictobject.c:_PyGCHead_NEXT:
  146|  1.08k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  1.08k|    uintptr_t next = gc->_gc_next;
  148|  1.08k|    return (PyGC_Head*)next;
  149|  1.08k|}
object.c:_PyGC_FINALIZED:
  166|  1.43k|static inline int _PyGC_FINALIZED(PyObject *op) {
  167|       |#ifdef Py_GIL_DISABLED
  168|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_FINALIZED);
  169|       |#else
  170|  1.43k|    PyGC_Head *gc = _Py_AS_GC(op);
  171|  1.43k|    return ((gc->_gc_prev & _PyGC_PREV_MASK_FINALIZED) != 0);
  ------------------
  |  |  117|  1.43k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  172|  1.43k|#endif
  173|  1.43k|}
object.c:_PyGC_SET_FINALIZED:
  174|  1.43k|static inline void _PyGC_SET_FINALIZED(PyObject *op) {
  175|       |#ifdef Py_GIL_DISABLED
  176|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_FINALIZED);
  177|       |#else
  178|  1.43k|    PyGC_Head *gc = _Py_AS_GC(op);
  179|  1.43k|    gc->_gc_prev |= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  1.43k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  180|  1.43k|#endif
  181|  1.43k|}
object.c:_PyObject_GC_IS_TRACKED:
   73|  3.10k|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|  3.10k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  3.10k|    return (gc->_gc_next != 0);
   79|  3.10k|#endif
   80|  3.10k|}
object.c:_PyObject_GC_UNTRACK:
  253|    830|{
  254|    830|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    830|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 830, False: 0]
  |  |  ------------------
  |  |  417|    830|      ? (void)(0) \
  |  |  418|    830|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|    830|                          "object not tracked by the garbage collector",
  256|    830|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    830|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    830|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    830|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    830|    _PyGCHead_SET_NEXT(prev, next);
  265|    830|    _PyGCHead_SET_PREV(next, prev);
  266|    830|    gc->_gc_next = 0;
  267|    830|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    830|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    830|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    830|    gcstate->heap_size--;
  270|    830|#endif
  271|    830|}
object.c:_PyGCHead_PREV:
  155|    830|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    830|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    830|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    830|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    830|    return (PyGC_Head*)prev;
  158|    830|}
object.c:_PyGCHead_NEXT:
  146|    830|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    830|    uintptr_t next = gc->_gc_next;
  148|    830|    return (PyGC_Head*)next;
  149|    830|}
object.c:_PyGCHead_SET_NEXT:
  150|    830|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|    830|    gc->_gc_next = (uintptr_t)next;
  152|    830|}
object.c:_PyGCHead_SET_PREV:
  160|    830|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|    830|    uintptr_t uprev = (uintptr_t)prev;
  162|    830|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 830, False: 0]
  ------------------
  163|    830|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|    830|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    830|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|    830|}
object.c:_Py_AS_GC:
   17|  6.80k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  6.80k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  6.80k|    return (PyGC_Head*)gc;
   20|  6.80k|}
sentinelobject.c:_PyObject_GC_TRACK:
  213|      1|{
  214|      1|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  417|      1|      ? (void)(0) \
  |  |  418|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      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,
  ------------------
  |  |  416|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  417|      1|      ? (void)(0) \
  |  |  418|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      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|  62.0k|{
  254|  62.0k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  62.0k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 62.0k, False: 0]
  |  |  ------------------
  |  |  417|  62.0k|      ? (void)(0) \
  |  |  418|  62.0k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  62.0k|                          "object not tracked by the garbage collector",
  256|  62.0k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  62.0k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  62.0k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  62.0k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  62.0k|    _PyGCHead_SET_NEXT(prev, next);
  265|  62.0k|    _PyGCHead_SET_PREV(next, prev);
  266|  62.0k|    gc->_gc_next = 0;
  267|  62.0k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  62.0k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  62.0k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  62.0k|    gcstate->heap_size--;
  270|  62.0k|#endif
  271|  62.0k|}
setobject.c:_PyObject_GC_IS_TRACKED:
   73|   653k|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|   653k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   653k|    return (gc->_gc_next != 0);
   79|   653k|#endif
   80|   653k|}
setobject.c:_Py_AS_GC:
   17|  1.30M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.30M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.30M|    return (PyGC_Head*)gc;
   20|  1.30M|}
setobject.c:_PyGCHead_PREV:
  155|  62.0k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  62.0k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  62.0k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  62.0k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  62.0k|    return (PyGC_Head*)prev;
  158|  62.0k|}
setobject.c:_PyGCHead_NEXT:
  146|  62.0k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  62.0k|    uintptr_t next = gc->_gc_next;
  148|  62.0k|    return (PyGC_Head*)next;
  149|  62.0k|}
setobject.c:_PyGCHead_SET_NEXT:
  150|  1.23M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  1.23M|    gc->_gc_next = (uintptr_t)next;
  152|  1.23M|}
setobject.c:_PyGCHead_SET_PREV:
  160|   648k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|   648k|    uintptr_t uprev = (uintptr_t)prev;
  162|   648k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 648k, False: 0]
  ------------------
  163|   648k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|   648k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   648k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|   648k|}
setobject.c:_PyObject_GC_MAY_BE_TRACKED:
   85|  33.6k|static inline int _PyObject_GC_MAY_BE_TRACKED(PyObject *obj) {
   86|  33.6k|    if (!PyObject_IS_GC(obj)) {
  ------------------
  |  Branch (86:9): [True: 28.3k, False: 5.24k]
  ------------------
   87|  28.3k|        return 0;
   88|  28.3k|    }
   89|  5.24k|    if (PyTuple_CheckExact(obj)) {
  ------------------
  |  |   28|  5.24k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  5.24k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 5.19k, False: 52]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   90|  5.19k|        return _PyObject_GC_IS_TRACKED(obj);
  ------------------
  |  |   81|  5.19k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  5.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   91|  5.19k|    }
   92|     52|    return 1;
   93|  5.24k|}
setobject.c:_PyObject_GC_TRACK:
  213|   586k|{
  214|   586k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|   586k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 586k, False: 0]
  |  |  ------------------
  |  |  417|   586k|      ? (void)(0) \
  |  |  418|   586k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|   586k|                          "object already tracked by the garbage collector",
  216|   586k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|   586k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|   586k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|   586k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 586k, False: 0]
  |  |  ------------------
  |  |  417|   586k|      ? (void)(0) \
  |  |  418|   586k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|   586k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|   586k|                          "object is in generation which is garbage collected",
  224|   586k|                          filename, lineno, __func__);
  225|       |
  226|   586k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|   586k|    PyGC_Head *generation0 = gcstate->generation0;
  228|   586k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|   586k|    _PyGCHead_SET_NEXT(last, gc);
  230|   586k|    _PyGCHead_SET_PREV(gc, last);
  231|   586k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|   586k|    generation0->_gc_prev = (uintptr_t)gc;
  233|   586k|    gcstate->heap_size++;
  234|   586k|#endif
  235|   586k|}
sliceobject.c:_PyObject_GC_TRACK:
  213|  39.5k|{
  214|  39.5k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  39.5k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 39.5k, False: 0]
  |  |  ------------------
  |  |  417|  39.5k|      ? (void)(0) \
  |  |  418|  39.5k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  39.5k|                          "object already tracked by the garbage collector",
  216|  39.5k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  39.5k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  39.5k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|  39.5k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 39.5k, False: 0]
  |  |  ------------------
  |  |  417|  39.5k|      ? (void)(0) \
  |  |  418|  39.5k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  39.5k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  39.5k|                          "object is in generation which is garbage collected",
  224|  39.5k|                          filename, lineno, __func__);
  225|       |
  226|  39.5k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  39.5k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  39.5k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  39.5k|    _PyGCHead_SET_NEXT(last, gc);
  230|  39.5k|    _PyGCHead_SET_PREV(gc, last);
  231|  39.5k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  39.5k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  39.5k|    gcstate->heap_size++;
  234|  39.5k|#endif
  235|  39.5k|}
sliceobject.c:_PyObject_GC_IS_TRACKED:
   73|  39.5k|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|  39.5k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  39.5k|    return (gc->_gc_next != 0);
   79|  39.5k|#endif
   80|  39.5k|}
sliceobject.c:_Py_AS_GC:
   17|  79.1k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  79.1k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  79.1k|    return (PyGC_Head*)gc;
   20|  79.1k|}
sliceobject.c:_PyGCHead_SET_NEXT:
  150|  79.1k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  79.1k|    gc->_gc_next = (uintptr_t)next;
  152|  79.1k|}
sliceobject.c:_PyGCHead_SET_PREV:
  160|  39.5k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  39.5k|    uintptr_t uprev = (uintptr_t)prev;
  162|  39.5k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 39.5k, False: 0]
  ------------------
  163|  39.5k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  39.5k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  39.5k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  39.5k|}
tupleobject.c:_PyObject_GC_TRACK:
  213|  54.2M|{
  214|  54.2M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  54.2M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 54.2M, False: 0]
  |  |  ------------------
  |  |  417|  54.2M|      ? (void)(0) \
  |  |  418|  54.2M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  54.2M|                          "object already tracked by the garbage collector",
  216|  54.2M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  54.2M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  54.2M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|  54.2M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 54.2M, False: 0]
  |  |  ------------------
  |  |  417|  54.2M|      ? (void)(0) \
  |  |  418|  54.2M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  54.2M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  54.2M|                          "object is in generation which is garbage collected",
  224|  54.2M|                          filename, lineno, __func__);
  225|       |
  226|  54.2M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  54.2M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  54.2M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  54.2M|    _PyGCHead_SET_NEXT(last, gc);
  230|  54.2M|    _PyGCHead_SET_PREV(gc, last);
  231|  54.2M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  54.2M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  54.2M|    gcstate->heap_size++;
  234|  54.2M|#endif
  235|  54.2M|}
tupleobject.c:_Py_AS_GC:
   17|   286M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   286M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   286M|    return (PyGC_Head*)gc;
   20|   286M|}
tupleobject.c:_PyGCHead_SET_NEXT:
  150|   155M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|   155M|    gc->_gc_next = (uintptr_t)next;
  152|   155M|}
tupleobject.c:_PyGCHead_SET_PREV:
  160|   100M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|   100M|    uintptr_t uprev = (uintptr_t)prev;
  162|   100M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 100M, False: 0]
  ------------------
  163|   100M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|   100M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   100M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|   100M|}
tupleobject.c:_PyObject_GC_IS_TRACKED:
   73|   185M|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|   185M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   185M|    return (gc->_gc_next != 0);
   79|   185M|#endif
   80|   185M|}
tupleobject.c:_PyObject_GC_MAY_BE_TRACKED:
   85|   277M|static inline int _PyObject_GC_MAY_BE_TRACKED(PyObject *obj) {
   86|   277M|    if (!PyObject_IS_GC(obj)) {
  ------------------
  |  Branch (86:9): [True: 239M, False: 38.3M]
  ------------------
   87|   239M|        return 0;
   88|   239M|    }
   89|  38.3M|    if (PyTuple_CheckExact(obj)) {
  ------------------
  |  |   28|  38.3M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  38.3M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  38.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  38.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 38.3M, False: 16.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   90|  38.3M|        return _PyObject_GC_IS_TRACKED(obj);
  ------------------
  |  |   81|  38.3M|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  38.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   91|  38.3M|    }
   92|  16.1k|    return 1;
   93|  38.3M|}
tupleobject.c:_PyObject_GC_UNTRACK:
  253|  46.5M|{
  254|  46.5M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  46.5M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 46.5M, False: 0]
  |  |  ------------------
  |  |  417|  46.5M|      ? (void)(0) \
  |  |  418|  46.5M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  46.5M|                          "object not tracked by the garbage collector",
  256|  46.5M|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  46.5M|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  46.5M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  46.5M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  46.5M|    _PyGCHead_SET_NEXT(prev, next);
  265|  46.5M|    _PyGCHead_SET_PREV(next, prev);
  266|  46.5M|    gc->_gc_next = 0;
  267|  46.5M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  46.5M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  46.5M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  46.5M|    gcstate->heap_size--;
  270|  46.5M|#endif
  271|  46.5M|}
tupleobject.c:_PyGCHead_PREV:
  155|  46.5M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  46.5M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  46.5M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  46.5M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  46.5M|    return (PyGC_Head*)prev;
  158|  46.5M|}
tupleobject.c:_PyGCHead_NEXT:
  146|  46.5M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  46.5M|    uintptr_t next = gc->_gc_next;
  148|  46.5M|    return (PyGC_Head*)next;
  149|  46.5M|}
typeobject.c:_PyObject_GC_TRACK:
  213|  1.09M|{
  214|  1.09M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  1.09M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 1.09M, False: 0]
  |  |  ------------------
  |  |  417|  1.09M|      ? (void)(0) \
  |  |  418|  1.09M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  1.09M|                          "object already tracked by the garbage collector",
  216|  1.09M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  1.09M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  1.09M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|  1.09M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 1.09M, False: 0]
  |  |  ------------------
  |  |  417|  1.09M|      ? (void)(0) \
  |  |  418|  1.09M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  1.09M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  1.09M|                          "object is in generation which is garbage collected",
  224|  1.09M|                          filename, lineno, __func__);
  225|       |
  226|  1.09M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  1.09M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  1.09M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  1.09M|    _PyGCHead_SET_NEXT(last, gc);
  230|  1.09M|    _PyGCHead_SET_PREV(gc, last);
  231|  1.09M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  1.09M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  1.09M|    gcstate->heap_size++;
  234|  1.09M|#endif
  235|  1.09M|}
typeobject.c:_PyObject_GC_IS_TRACKED:
   73|  1.09M|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.09M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  1.09M|    return (gc->_gc_next != 0);
   79|  1.09M|#endif
   80|  1.09M|}
typeobject.c:_Py_AS_GC:
   17|  2.18M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  2.18M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  2.18M|    return (PyGC_Head*)gc;
   20|  2.18M|}
typeobject.c:_PyGCHead_SET_NEXT:
  150|  2.18M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  2.18M|    gc->_gc_next = (uintptr_t)next;
  152|  2.18M|}
typeobject.c:_PyGCHead_SET_PREV:
  160|  1.09M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  1.09M|    uintptr_t uprev = (uintptr_t)prev;
  162|  1.09M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 1.09M, False: 0]
  ------------------
  163|  1.09M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  1.09M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  1.09M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  1.09M|}
typeobject.c:_PyObject_GC_UNTRACK:
  253|    794|{
  254|    794|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    794|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 794, False: 0]
  |  |  ------------------
  |  |  417|    794|      ? (void)(0) \
  |  |  418|    794|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|    794|                          "object not tracked by the garbage collector",
  256|    794|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    794|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    794|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    794|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    794|    _PyGCHead_SET_NEXT(prev, next);
  265|    794|    _PyGCHead_SET_PREV(next, prev);
  266|    794|    gc->_gc_next = 0;
  267|    794|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    794|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    794|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    794|    gcstate->heap_size--;
  270|    794|#endif
  271|    794|}
typeobject.c:_PyGCHead_PREV:
  155|    794|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    794|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    794|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    794|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    794|    return (PyGC_Head*)prev;
  158|    794|}
typeobject.c:_PyGCHead_NEXT:
  146|    794|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    794|    uintptr_t next = gc->_gc_next;
  148|    794|    return (PyGC_Head*)next;
  149|    794|}
unicodeobject.c:_PyObject_GC_UNTRACK:
  253|  18.4k|{
  254|  18.4k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  18.4k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 18.4k, False: 0]
  |  |  ------------------
  |  |  417|  18.4k|      ? (void)(0) \
  |  |  418|  18.4k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  18.4k|                          "object not tracked by the garbage collector",
  256|  18.4k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  18.4k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  18.4k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  18.4k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  18.4k|    _PyGCHead_SET_NEXT(prev, next);
  265|  18.4k|    _PyGCHead_SET_PREV(next, prev);
  266|  18.4k|    gc->_gc_next = 0;
  267|  18.4k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  18.4k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  18.4k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  18.4k|    gcstate->heap_size--;
  270|  18.4k|#endif
  271|  18.4k|}
unicodeobject.c:_PyObject_GC_IS_TRACKED:
   73|  36.8k|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|  36.8k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  36.8k|    return (gc->_gc_next != 0);
   79|  36.8k|#endif
   80|  36.8k|}
unicodeobject.c:_Py_AS_GC:
   17|  73.7k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  73.7k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  73.7k|    return (PyGC_Head*)gc;
   20|  73.7k|}
unicodeobject.c:_PyGCHead_PREV:
  155|  18.4k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  18.4k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  18.4k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  18.4k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  18.4k|    return (PyGC_Head*)prev;
  158|  18.4k|}
unicodeobject.c:_PyGCHead_NEXT:
  146|  18.4k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  18.4k|    uintptr_t next = gc->_gc_next;
  148|  18.4k|    return (PyGC_Head*)next;
  149|  18.4k|}
unicodeobject.c:_PyGCHead_SET_NEXT:
  150|  55.3k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  55.3k|    gc->_gc_next = (uintptr_t)next;
  152|  55.3k|}
unicodeobject.c:_PyGCHead_SET_PREV:
  160|  36.8k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  36.8k|    uintptr_t uprev = (uintptr_t)prev;
  162|  36.8k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 36.8k, False: 0]
  ------------------
  163|  36.8k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  36.8k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  36.8k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  36.8k|}
unicodeobject.c:_PyObject_GC_TRACK:
  213|  18.4k|{
  214|  18.4k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  18.4k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 18.4k, False: 0]
  |  |  ------------------
  |  |  417|  18.4k|      ? (void)(0) \
  |  |  418|  18.4k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  18.4k|                          "object already tracked by the garbage collector",
  216|  18.4k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  18.4k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  18.4k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|  18.4k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 18.4k, False: 0]
  |  |  ------------------
  |  |  417|  18.4k|      ? (void)(0) \
  |  |  418|  18.4k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  18.4k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  18.4k|                          "object is in generation which is garbage collected",
  224|  18.4k|                          filename, lineno, __func__);
  225|       |
  226|  18.4k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  18.4k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  18.4k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  18.4k|    _PyGCHead_SET_NEXT(last, gc);
  230|  18.4k|    _PyGCHead_SET_PREV(gc, last);
  231|  18.4k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  18.4k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  18.4k|    gcstate->heap_size++;
  234|  18.4k|#endif
  235|  18.4k|}
unionobject.c:_PyObject_GC_UNTRACK:
  253|      1|{
  254|      1|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  417|      1|      ? (void)(0) \
  |  |  418|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      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|     46|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|     46|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     46|    return (gc->_gc_next != 0);
   79|     46|#endif
   80|     46|}
unionobject.c:_Py_AS_GC:
   17|     92|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     92|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     92|    return (PyGC_Head*)gc;
   20|     92|}
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|     91|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|     91|    gc->_gc_next = (uintptr_t)next;
  152|     91|}
unionobject.c:_PyGCHead_SET_PREV:
  160|     46|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|     46|    uintptr_t uprev = (uintptr_t)prev;
  162|     46|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 46, False: 0]
  ------------------
  163|     46|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|     46|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     46|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|     46|}
unionobject.c:_PyObject_GC_TRACK:
  213|     45|{
  214|     45|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|     45|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 45, False: 0]
  |  |  ------------------
  |  |  417|     45|      ? (void)(0) \
  |  |  418|     45|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|     45|                          "object already tracked by the garbage collector",
  216|     45|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|     45|    PyGC_Head *gc = _Py_AS_GC(op);
  221|     45|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|     45|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 45, False: 0]
  |  |  ------------------
  |  |  417|     45|      ? (void)(0) \
  |  |  418|     45|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|     45|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|     45|                          "object is in generation which is garbage collected",
  224|     45|                          filename, lineno, __func__);
  225|       |
  226|     45|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|     45|    PyGC_Head *generation0 = gcstate->generation0;
  228|     45|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|     45|    _PyGCHead_SET_NEXT(last, gc);
  230|     45|    _PyGCHead_SET_PREV(gc, last);
  231|     45|    _PyGCHead_SET_NEXT(gc, generation0);
  232|     45|    generation0->_gc_prev = (uintptr_t)gc;
  233|     45|    gcstate->heap_size++;
  234|     45|#endif
  235|     45|}
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),
  ------------------
  |  |  416|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  417|      1|      ? (void)(0) \
  |  |  418|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      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,
  ------------------
  |  |  416|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  417|      1|      ? (void)(0) \
  |  |  418|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      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|  8.85k|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|  8.85k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  8.85k|    return (gc->_gc_next != 0);
   79|  8.85k|#endif
   80|  8.85k|}
frame.c:_Py_AS_GC:
   17|  13.2k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  13.2k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  13.2k|    return (PyGC_Head*)gc;
   20|  13.2k|}
frame.c:_PyObject_GC_TRACK:
  213|  4.42k|{
  214|  4.42k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  4.42k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 4.42k, False: 0]
  |  |  ------------------
  |  |  417|  4.42k|      ? (void)(0) \
  |  |  418|  4.42k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  4.42k|                          "object already tracked by the garbage collector",
  216|  4.42k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  4.42k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  4.42k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|  4.42k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 4.42k, False: 0]
  |  |  ------------------
  |  |  417|  4.42k|      ? (void)(0) \
  |  |  418|  4.42k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  4.42k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  4.42k|                          "object is in generation which is garbage collected",
  224|  4.42k|                          filename, lineno, __func__);
  225|       |
  226|  4.42k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  4.42k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  4.42k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  4.42k|    _PyGCHead_SET_NEXT(last, gc);
  230|  4.42k|    _PyGCHead_SET_PREV(gc, last);
  231|  4.42k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  4.42k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  4.42k|    gcstate->heap_size++;
  234|  4.42k|#endif
  235|  4.42k|}
frame.c:_PyGCHead_SET_NEXT:
  150|  8.85k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  8.85k|    gc->_gc_next = (uintptr_t)next;
  152|  8.85k|}
frame.c:_PyGCHead_SET_PREV:
  160|  4.42k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  4.42k|    uintptr_t uprev = (uintptr_t)prev;
  162|  4.42k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 4.42k, False: 0]
  ------------------
  163|  4.42k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  4.42k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  4.42k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  4.42k|}
gc.c:_PyGCHead_NEXT:
  146|   153M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|   153M|    uintptr_t next = gc->_gc_next;
  148|   153M|    return (PyGC_Head*)next;
  149|   153M|}
gc.c:_PyGCHead_PREV:
  155|   106M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|   106M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|   106M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   106M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|   106M|    return (PyGC_Head*)prev;
  158|   106M|}
gc.c:_PyGCHead_SET_NEXT:
  150|   106M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|   106M|    gc->_gc_next = (uintptr_t)next;
  152|   106M|}
gc.c:_PyGCHead_SET_PREV:
  160|   199M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|   199M|    uintptr_t uprev = (uintptr_t)prev;
  162|   199M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 199M, False: 0]
  ------------------
  163|   199M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|   199M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   199M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|   199M|}
gc.c:_Py_FROM_GC:
   23|   187M|static inline PyObject* _Py_FROM_GC(PyGC_Head *gc) {
   24|   187M|    char *op = ((char *)gc) + sizeof(PyGC_Head);
   25|   187M|    return (PyObject *)op;
   26|   187M|}
gc.c:_PyObject_GC_IS_TRACKED:
   73|   124M|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|   124M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   124M|    return (gc->_gc_next != 0);
   79|   124M|#endif
   80|   124M|}
gc.c:_PyObject_GC_TRACK:
  213|  97.5k|{
  214|  97.5k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  97.5k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 97.5k, False: 0]
  |  |  ------------------
  |  |  417|  97.5k|      ? (void)(0) \
  |  |  418|  97.5k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  97.5k|                          "object already tracked by the garbage collector",
  216|  97.5k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  97.5k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  97.5k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|  97.5k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 97.5k, False: 0]
  |  |  ------------------
  |  |  417|  97.5k|      ? (void)(0) \
  |  |  418|  97.5k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  97.5k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  97.5k|                          "object is in generation which is garbage collected",
  224|  97.5k|                          filename, lineno, __func__);
  225|       |
  226|  97.5k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  97.5k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  97.5k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  97.5k|    _PyGCHead_SET_NEXT(last, gc);
  230|  97.5k|    _PyGCHead_SET_PREV(gc, last);
  231|  97.5k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  97.5k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  97.5k|    gcstate->heap_size++;
  234|  97.5k|#endif
  235|  97.5k|}
gc.c:_PyObject_GC_UNTRACK:
  253|  13.2M|{
  254|  13.2M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  13.2M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 13.2M, False: 0]
  |  |  ------------------
  |  |  417|  13.2M|      ? (void)(0) \
  |  |  418|  13.2M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  13.2M|                          "object not tracked by the garbage collector",
  256|  13.2M|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  13.2M|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  13.2M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  13.2M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  13.2M|    _PyGCHead_SET_NEXT(prev, next);
  265|  13.2M|    _PyGCHead_SET_PREV(next, prev);
  266|  13.2M|    gc->_gc_next = 0;
  267|  13.2M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  13.2M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  13.2M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  13.2M|    gcstate->heap_size--;
  270|  13.2M|#endif
  271|  13.2M|}
gc.c:_Py_AS_GC:
   17|   409M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   409M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   409M|    return (PyGC_Head*)gc;
   20|   409M|}
gc.c:_PyGC_FINALIZED:
  166|  3.26k|static inline int _PyGC_FINALIZED(PyObject *op) {
  167|       |#ifdef Py_GIL_DISABLED
  168|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_FINALIZED);
  169|       |#else
  170|  3.26k|    PyGC_Head *gc = _Py_AS_GC(op);
  171|  3.26k|    return ((gc->_gc_prev & _PyGC_PREV_MASK_FINALIZED) != 0);
  ------------------
  |  |  117|  3.26k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  172|  3.26k|#endif
  173|  3.26k|}
hamt.c:_PyObject_GC_TRACK:
  213|      1|{
  214|      1|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  417|      1|      ? (void)(0) \
  |  |  418|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      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,
  ------------------
  |  |  416|      1|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 1, False: 0]
  |  |  ------------------
  |  |  417|      1|      ? (void)(0) \
  |  |  418|      1|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      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|     85|{
  254|     85|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|     85|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 85, False: 0]
  |  |  ------------------
  |  |  417|     85|      ? (void)(0) \
  |  |  418|     85|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|     85|                          "object not tracked by the garbage collector",
  256|     85|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|     85|    PyGC_Head *gc = _Py_AS_GC(op);
  262|     85|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|     85|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|     85|    _PyGCHead_SET_NEXT(prev, next);
  265|     85|    _PyGCHead_SET_PREV(next, prev);
  266|     85|    gc->_gc_next = 0;
  267|     85|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|     85|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|     85|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|     85|    gcstate->heap_size--;
  270|     85|#endif
  271|     85|}
fileio.c:_PyObject_GC_IS_TRACKED:
   73|     85|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|     85|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     85|    return (gc->_gc_next != 0);
   79|     85|#endif
   80|     85|}
fileio.c:_Py_AS_GC:
   17|    170|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    170|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    170|    return (PyGC_Head*)gc;
   20|    170|}
fileio.c:_PyGCHead_PREV:
  155|     85|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|     85|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|     85|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     85|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|     85|    return (PyGC_Head*)prev;
  158|     85|}
fileio.c:_PyGCHead_NEXT:
  146|     85|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|     85|    uintptr_t next = gc->_gc_next;
  148|     85|    return (PyGC_Head*)next;
  149|     85|}
fileio.c:_PyGCHead_SET_NEXT:
  150|     85|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|     85|    gc->_gc_next = (uintptr_t)next;
  152|     85|}
fileio.c:_PyGCHead_SET_PREV:
  160|     85|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|     85|    uintptr_t uprev = (uintptr_t)prev;
  162|     85|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 85, False: 0]
  ------------------
  163|     85|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|     85|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     85|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|     85|}
bufferedio.c:_PyObject_GC_UNTRACK:
  253|     85|{
  254|     85|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|     85|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 85, False: 0]
  |  |  ------------------
  |  |  417|     85|      ? (void)(0) \
  |  |  418|     85|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|     85|                          "object not tracked by the garbage collector",
  256|     85|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|     85|    PyGC_Head *gc = _Py_AS_GC(op);
  262|     85|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|     85|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|     85|    _PyGCHead_SET_NEXT(prev, next);
  265|     85|    _PyGCHead_SET_PREV(next, prev);
  266|     85|    gc->_gc_next = 0;
  267|     85|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|     85|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|     85|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|     85|    gcstate->heap_size--;
  270|     85|#endif
  271|     85|}
bufferedio.c:_PyObject_GC_IS_TRACKED:
   73|     85|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|     85|    PyGC_Head *gc = _Py_AS_GC(op);
   78|     85|    return (gc->_gc_next != 0);
   79|     85|#endif
   80|     85|}
bufferedio.c:_Py_AS_GC:
   17|    170|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    170|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    170|    return (PyGC_Head*)gc;
   20|    170|}
bufferedio.c:_PyGCHead_PREV:
  155|     85|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|     85|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|     85|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     85|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|     85|    return (PyGC_Head*)prev;
  158|     85|}
bufferedio.c:_PyGCHead_NEXT:
  146|     85|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|     85|    uintptr_t next = gc->_gc_next;
  148|     85|    return (PyGC_Head*)next;
  149|     85|}
bufferedio.c:_PyGCHead_SET_NEXT:
  150|     85|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|     85|    gc->_gc_next = (uintptr_t)next;
  152|     85|}
bufferedio.c:_PyGCHead_SET_PREV:
  160|     85|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|     85|    uintptr_t uprev = (uintptr_t)prev;
  162|     85|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 85, False: 0]
  ------------------
  163|     85|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|     85|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     85|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|     85|}
bytearrayobject.c:_PyObject_GC_UNTRACK:
  253|      2|{
  254|      2|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  417|      2|      ? (void)(0) \
  |  |  418|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      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),
  ------------------
  |  |  416|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  417|      2|      ? (void)(0) \
  |  |  418|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      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,
  ------------------
  |  |  416|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  417|      2|      ? (void)(0) \
  |  |  418|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      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|}
bytesobject.c:_PyObject_GC_UNTRACK:
  253|      2|{
  254|      2|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  417|      2|      ? (void)(0) \
  |  |  418|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      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),
  ------------------
  |  |  416|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  417|      2|      ? (void)(0) \
  |  |  418|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      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,
  ------------------
  |  |  416|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  417|      2|      ? (void)(0) \
  |  |  418|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      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.51k|{
  214|  2.51k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  2.51k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2.51k, False: 0]
  |  |  ------------------
  |  |  417|  2.51k|      ? (void)(0) \
  |  |  418|  2.51k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  2.51k|                          "object already tracked by the garbage collector",
  216|  2.51k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  2.51k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  2.51k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|  2.51k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2.51k, False: 0]
  |  |  ------------------
  |  |  417|  2.51k|      ? (void)(0) \
  |  |  418|  2.51k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  2.51k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  2.51k|                          "object is in generation which is garbage collected",
  224|  2.51k|                          filename, lineno, __func__);
  225|       |
  226|  2.51k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  2.51k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  2.51k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  2.51k|    _PyGCHead_SET_NEXT(last, gc);
  230|  2.51k|    _PyGCHead_SET_PREV(gc, last);
  231|  2.51k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  2.51k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  2.51k|    gcstate->heap_size++;
  234|  2.51k|#endif
  235|  2.51k|}
cellobject.c:_PyObject_GC_IS_TRACKED:
   73|  4.86k|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.86k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  4.86k|    return (gc->_gc_next != 0);
   79|  4.86k|#endif
   80|  4.86k|}
cellobject.c:_Py_AS_GC:
   17|  9.73k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  9.73k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  9.73k|    return (PyGC_Head*)gc;
   20|  9.73k|}
cellobject.c:_PyGCHead_SET_NEXT:
  150|  7.38k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  7.38k|    gc->_gc_next = (uintptr_t)next;
  152|  7.38k|}
cellobject.c:_PyGCHead_SET_PREV:
  160|  4.86k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  4.86k|    uintptr_t uprev = (uintptr_t)prev;
  162|  4.86k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 4.86k, False: 0]
  ------------------
  163|  4.86k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  4.86k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  4.86k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  4.86k|}
cellobject.c:_PyObject_GC_UNTRACK:
  253|  2.35k|{
  254|  2.35k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  2.35k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2.35k, False: 0]
  |  |  ------------------
  |  |  417|  2.35k|      ? (void)(0) \
  |  |  418|  2.35k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  2.35k|                          "object not tracked by the garbage collector",
  256|  2.35k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  2.35k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  2.35k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  2.35k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  2.35k|    _PyGCHead_SET_NEXT(prev, next);
  265|  2.35k|    _PyGCHead_SET_PREV(next, prev);
  266|  2.35k|    gc->_gc_next = 0;
  267|  2.35k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  2.35k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  2.35k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  2.35k|    gcstate->heap_size--;
  270|  2.35k|#endif
  271|  2.35k|}
cellobject.c:_PyGCHead_PREV:
  155|  2.35k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  2.35k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  2.35k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  2.35k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  2.35k|    return (PyGC_Head*)prev;
  158|  2.35k|}
cellobject.c:_PyGCHead_NEXT:
  146|  2.35k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  2.35k|    uintptr_t next = gc->_gc_next;
  148|  2.35k|    return (PyGC_Head*)next;
  149|  2.35k|}
classobject.c:_PyObject_GC_TRACK:
  213|  2.38k|{
  214|  2.38k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  2.38k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2.38k, False: 0]
  |  |  ------------------
  |  |  417|  2.38k|      ? (void)(0) \
  |  |  418|  2.38k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  2.38k|                          "object already tracked by the garbage collector",
  216|  2.38k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  2.38k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  2.38k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|  2.38k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2.38k, False: 0]
  |  |  ------------------
  |  |  417|  2.38k|      ? (void)(0) \
  |  |  418|  2.38k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  2.38k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  2.38k|                          "object is in generation which is garbage collected",
  224|  2.38k|                          filename, lineno, __func__);
  225|       |
  226|  2.38k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  2.38k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  2.38k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  2.38k|    _PyGCHead_SET_NEXT(last, gc);
  230|  2.38k|    _PyGCHead_SET_PREV(gc, last);
  231|  2.38k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  2.38k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  2.38k|    gcstate->heap_size++;
  234|  2.38k|#endif
  235|  2.38k|}
classobject.c:_PyObject_GC_IS_TRACKED:
   73|  4.64k|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|  4.64k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  4.64k|    return (gc->_gc_next != 0);
   79|  4.64k|#endif
   80|  4.64k|}
classobject.c:_Py_AS_GC:
   17|  9.28k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  9.28k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  9.28k|    return (PyGC_Head*)gc;
   20|  9.28k|}
classobject.c:_PyGCHead_SET_NEXT:
  150|  7.02k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  7.02k|    gc->_gc_next = (uintptr_t)next;
  152|  7.02k|}
classobject.c:_PyGCHead_SET_PREV:
  160|  4.64k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  4.64k|    uintptr_t uprev = (uintptr_t)prev;
  162|  4.64k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 4.64k, False: 0]
  ------------------
  163|  4.64k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  4.64k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  4.64k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  4.64k|}
classobject.c:_PyObject_GC_UNTRACK:
  253|  2.25k|{
  254|  2.25k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  2.25k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2.25k, False: 0]
  |  |  ------------------
  |  |  417|  2.25k|      ? (void)(0) \
  |  |  418|  2.25k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  2.25k|                          "object not tracked by the garbage collector",
  256|  2.25k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  2.25k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  2.25k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  2.25k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  2.25k|    _PyGCHead_SET_NEXT(prev, next);
  265|  2.25k|    _PyGCHead_SET_PREV(next, prev);
  266|  2.25k|    gc->_gc_next = 0;
  267|  2.25k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  2.25k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  2.25k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  2.25k|    gcstate->heap_size--;
  270|  2.25k|#endif
  271|  2.25k|}
classobject.c:_PyGCHead_PREV:
  155|  2.25k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  2.25k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  2.25k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  2.25k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  2.25k|    return (PyGC_Head*)prev;
  158|  2.25k|}
classobject.c:_PyGCHead_NEXT:
  146|  2.25k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  2.25k|    uintptr_t next = gc->_gc_next;
  148|  2.25k|    return (PyGC_Head*)next;
  149|  2.25k|}
descrobject.c:_PyObject_GC_UNTRACK:
  253|    471|{
  254|    471|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    471|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 471, False: 0]
  |  |  ------------------
  |  |  417|    471|      ? (void)(0) \
  |  |  418|    471|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|    471|                          "object not tracked by the garbage collector",
  256|    471|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    471|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    471|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    471|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    471|    _PyGCHead_SET_NEXT(prev, next);
  265|    471|    _PyGCHead_SET_PREV(next, prev);
  266|    471|    gc->_gc_next = 0;
  267|    471|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    471|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    471|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    471|    gcstate->heap_size--;
  270|    471|#endif
  271|    471|}
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|    471|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    471|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    471|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    471|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    471|    return (PyGC_Head*)prev;
  158|    471|}
descrobject.c:_PyGCHead_NEXT:
  146|    471|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    471|    uintptr_t next = gc->_gc_next;
  148|    471|    return (PyGC_Head*)next;
  149|    471|}
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|    490|{
  214|    490|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|    490|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 490, False: 0]
  |  |  ------------------
  |  |  417|    490|      ? (void)(0) \
  |  |  418|    490|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|    490|                          "object already tracked by the garbage collector",
  216|    490|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|    490|    PyGC_Head *gc = _Py_AS_GC(op);
  221|    490|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|    490|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 490, False: 0]
  |  |  ------------------
  |  |  417|    490|      ? (void)(0) \
  |  |  418|    490|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|    490|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|    490|                          "object is in generation which is garbage collected",
  224|    490|                          filename, lineno, __func__);
  225|       |
  226|    490|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|    490|    PyGC_Head *generation0 = gcstate->generation0;
  228|    490|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|    490|    _PyGCHead_SET_NEXT(last, gc);
  230|    490|    _PyGCHead_SET_PREV(gc, last);
  231|    490|    _PyGCHead_SET_NEXT(gc, generation0);
  232|    490|    generation0->_gc_prev = (uintptr_t)gc;
  233|    490|    gcstate->heap_size++;
  234|    490|#endif
  235|    490|}
enumobject.c:_PyObject_GC_IS_TRACKED:
   73|   658k|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|   658k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   658k|    return (gc->_gc_next != 0);
   79|   658k|#endif
   80|   658k|}
enumobject.c:_Py_AS_GC:
   17|   695k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   695k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   695k|    return (PyGC_Head*)gc;
   20|   695k|}
enumobject.c:_PyObject_GC_TRACK:
  213|  37.4k|{
  214|  37.4k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  37.4k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 37.4k, False: 0]
  |  |  ------------------
  |  |  417|  37.4k|      ? (void)(0) \
  |  |  418|  37.4k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  37.4k|                          "object already tracked by the garbage collector",
  216|  37.4k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  37.4k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  37.4k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|  37.4k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 37.4k, False: 0]
  |  |  ------------------
  |  |  417|  37.4k|      ? (void)(0) \
  |  |  418|  37.4k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  37.4k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  37.4k|                          "object is in generation which is garbage collected",
  224|  37.4k|                          filename, lineno, __func__);
  225|       |
  226|  37.4k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  37.4k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  37.4k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  37.4k|    _PyGCHead_SET_NEXT(last, gc);
  230|  37.4k|    _PyGCHead_SET_PREV(gc, last);
  231|  37.4k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  37.4k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  37.4k|    gcstate->heap_size++;
  234|  37.4k|#endif
  235|  37.4k|}
enumobject.c:_PyGCHead_SET_NEXT:
  150|  74.9k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  74.9k|    gc->_gc_next = (uintptr_t)next;
  152|  74.9k|}
enumobject.c:_PyGCHead_SET_PREV:
  160|  37.4k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  37.4k|    uintptr_t uprev = (uintptr_t)prev;
  162|  37.4k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 37.4k, False: 0]
  ------------------
  163|  37.4k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  37.4k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  37.4k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  37.4k|}
genobject.c:_PyObject_GC_UNTRACK:
  253|  2.53k|{
  254|  2.53k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  2.53k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2.53k, False: 0]
  |  |  ------------------
  |  |  417|  2.53k|      ? (void)(0) \
  |  |  418|  2.53k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  2.53k|                          "object not tracked by the garbage collector",
  256|  2.53k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  2.53k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  2.53k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  2.53k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  2.53k|    _PyGCHead_SET_NEXT(prev, next);
  265|  2.53k|    _PyGCHead_SET_PREV(next, prev);
  266|  2.53k|    gc->_gc_next = 0;
  267|  2.53k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  2.53k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  2.53k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  2.53k|    gcstate->heap_size--;
  270|  2.53k|#endif
  271|  2.53k|}
genobject.c:_PyObject_GC_IS_TRACKED:
   73|  5.06k|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.06k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  5.06k|    return (gc->_gc_next != 0);
   79|  5.06k|#endif
   80|  5.06k|}
genobject.c:_Py_AS_GC:
   17|  10.1k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  10.1k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  10.1k|    return (PyGC_Head*)gc;
   20|  10.1k|}
genobject.c:_PyGCHead_PREV:
  155|  2.53k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  2.53k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  2.53k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  2.53k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  2.53k|    return (PyGC_Head*)prev;
  158|  2.53k|}
genobject.c:_PyGCHead_NEXT:
  146|  2.53k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  2.53k|    uintptr_t next = gc->_gc_next;
  148|  2.53k|    return (PyGC_Head*)next;
  149|  2.53k|}
genobject.c:_PyGCHead_SET_NEXT:
  150|  7.60k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  7.60k|    gc->_gc_next = (uintptr_t)next;
  152|  7.60k|}
genobject.c:_PyGCHead_SET_PREV:
  160|  5.06k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  5.06k|    uintptr_t uprev = (uintptr_t)prev;
  162|  5.06k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 5.06k, False: 0]
  ------------------
  163|  5.06k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  5.06k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  5.06k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  5.06k|}
genobject.c:_PyObject_GC_TRACK:
  213|  2.53k|{
  214|  2.53k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  2.53k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2.53k, False: 0]
  |  |  ------------------
  |  |  417|  2.53k|      ? (void)(0) \
  |  |  418|  2.53k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  2.53k|                          "object already tracked by the garbage collector",
  216|  2.53k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  2.53k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  2.53k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|  2.53k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2.53k, False: 0]
  |  |  ------------------
  |  |  417|  2.53k|      ? (void)(0) \
  |  |  418|  2.53k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  2.53k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  2.53k|                          "object is in generation which is garbage collected",
  224|  2.53k|                          filename, lineno, __func__);
  225|       |
  226|  2.53k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  2.53k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  2.53k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  2.53k|    _PyGCHead_SET_NEXT(last, gc);
  230|  2.53k|    _PyGCHead_SET_PREV(gc, last);
  231|  2.53k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  2.53k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  2.53k|    gcstate->heap_size++;
  234|  2.53k|#endif
  235|  2.53k|}
frameobject.c:_PyObject_GC_IS_TRACKED:
   73|  27.6k|static inline int _PyObject_GC_IS_TRACKED(PyObject *op) {
   74|       |#ifdef Py_GIL_DISABLED
   75|       |    return _PyObject_HAS_GC_BITS(op, _PyGC_BITS_TRACKED);
   76|       |#else
   77|  27.6k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  27.6k|    return (gc->_gc_next != 0);
   79|  27.6k|#endif
   80|  27.6k|}
frameobject.c:_Py_AS_GC:
   17|  32.1k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  32.1k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  32.1k|    return (PyGC_Head*)gc;
   20|  32.1k|}
frameobject.c:_PyObject_GC_UNTRACK:
  253|  4.42k|{
  254|  4.42k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  4.42k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 4.42k, False: 0]
  |  |  ------------------
  |  |  417|  4.42k|      ? (void)(0) \
  |  |  418|  4.42k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  4.42k|                          "object not tracked by the garbage collector",
  256|  4.42k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  4.42k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  4.42k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  4.42k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  4.42k|    _PyGCHead_SET_NEXT(prev, next);
  265|  4.42k|    _PyGCHead_SET_PREV(next, prev);
  266|  4.42k|    gc->_gc_next = 0;
  267|  4.42k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  4.42k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  4.42k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  4.42k|    gcstate->heap_size--;
  270|  4.42k|#endif
  271|  4.42k|}
frameobject.c:_PyGCHead_PREV:
  155|  4.42k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  4.42k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  4.42k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  4.42k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  4.42k|    return (PyGC_Head*)prev;
  158|  4.42k|}
frameobject.c:_PyGCHead_NEXT:
  146|  4.42k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  4.42k|    uintptr_t next = gc->_gc_next;
  148|  4.42k|    return (PyGC_Head*)next;
  149|  4.42k|}
frameobject.c:_PyGCHead_SET_NEXT:
  150|  4.42k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  4.42k|    gc->_gc_next = (uintptr_t)next;
  152|  4.42k|}
frameobject.c:_PyGCHead_SET_PREV:
  160|  4.42k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  4.42k|    uintptr_t uprev = (uintptr_t)prev;
  162|  4.42k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 4.42k, False: 0]
  ------------------
  163|  4.42k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  4.42k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  4.42k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  4.42k|}
funcobject.c:_PyObject_GC_TRACK:
  213|  5.37k|{
  214|  5.37k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  5.37k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 5.37k, False: 0]
  |  |  ------------------
  |  |  417|  5.37k|      ? (void)(0) \
  |  |  418|  5.37k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  5.37k|                          "object already tracked by the garbage collector",
  216|  5.37k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  5.37k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  5.37k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|  5.37k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 5.37k, False: 0]
  |  |  ------------------
  |  |  417|  5.37k|      ? (void)(0) \
  |  |  418|  5.37k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  5.37k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  5.37k|                          "object is in generation which is garbage collected",
  224|  5.37k|                          filename, lineno, __func__);
  225|       |
  226|  5.37k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  5.37k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  5.37k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  5.37k|    _PyGCHead_SET_NEXT(last, gc);
  230|  5.37k|    _PyGCHead_SET_PREV(gc, last);
  231|  5.37k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  5.37k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  5.37k|    gcstate->heap_size++;
  234|  5.37k|#endif
  235|  5.37k|}
funcobject.c:_PyObject_GC_IS_TRACKED:
   73|  8.23k|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|  8.23k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  8.23k|    return (gc->_gc_next != 0);
   79|  8.23k|#endif
   80|  8.23k|}
funcobject.c:_Py_AS_GC:
   17|  16.4k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  16.4k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  16.4k|    return (PyGC_Head*)gc;
   20|  16.4k|}
funcobject.c:_PyGCHead_SET_NEXT:
  150|  13.6k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  13.6k|    gc->_gc_next = (uintptr_t)next;
  152|  13.6k|}
funcobject.c:_PyGCHead_SET_PREV:
  160|  8.23k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  8.23k|    uintptr_t uprev = (uintptr_t)prev;
  162|  8.23k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 8.23k, False: 0]
  ------------------
  163|  8.23k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  8.23k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  8.23k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  8.23k|}
funcobject.c:_PyObject_GC_UNTRACK:
  253|  2.85k|{
  254|  2.85k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  2.85k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2.85k, False: 0]
  |  |  ------------------
  |  |  417|  2.85k|      ? (void)(0) \
  |  |  418|  2.85k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|  2.85k|                          "object not tracked by the garbage collector",
  256|  2.85k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  2.85k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  2.85k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  2.85k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  2.85k|    _PyGCHead_SET_NEXT(prev, next);
  265|  2.85k|    _PyGCHead_SET_PREV(next, prev);
  266|  2.85k|    gc->_gc_next = 0;
  267|  2.85k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  2.85k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  2.85k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  2.85k|    gcstate->heap_size--;
  270|  2.85k|#endif
  271|  2.85k|}
funcobject.c:_PyGCHead_PREV:
  155|  2.85k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  2.85k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  2.85k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  2.85k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  2.85k|    return (PyGC_Head*)prev;
  158|  2.85k|}
funcobject.c:_PyGCHead_NEXT:
  146|  2.85k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  2.85k|    uintptr_t next = gc->_gc_next;
  148|  2.85k|    return (PyGC_Head*)next;
  149|  2.85k|}
iterobject.c:_PyObject_GC_TRACK:
  213|     63|{
  214|     63|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|     63|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 63, False: 0]
  |  |  ------------------
  |  |  417|     63|      ? (void)(0) \
  |  |  418|     63|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|     63|                          "object already tracked by the garbage collector",
  216|     63|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|     63|    PyGC_Head *gc = _Py_AS_GC(op);
  221|     63|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|     63|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 63, False: 0]
  |  |  ------------------
  |  |  417|     63|      ? (void)(0) \
  |  |  418|     63|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|     63|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|     63|                          "object is in generation which is garbage collected",
  224|     63|                          filename, lineno, __func__);
  225|       |
  226|     63|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|     63|    PyGC_Head *generation0 = gcstate->generation0;
  228|     63|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|     63|    _PyGCHead_SET_NEXT(last, gc);
  230|     63|    _PyGCHead_SET_PREV(gc, last);
  231|     63|    _PyGCHead_SET_NEXT(gc, generation0);
  232|     63|    generation0->_gc_prev = (uintptr_t)gc;
  233|     63|    gcstate->heap_size++;
  234|     63|#endif
  235|     63|}
iterobject.c:_PyObject_GC_IS_TRACKED:
   73|    126|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|    126|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    126|    return (gc->_gc_next != 0);
   79|    126|#endif
   80|    126|}
iterobject.c:_Py_AS_GC:
   17|    252|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|    252|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|    252|    return (PyGC_Head*)gc;
   20|    252|}
iterobject.c:_PyGCHead_SET_NEXT:
  150|    189|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|    189|    gc->_gc_next = (uintptr_t)next;
  152|    189|}
iterobject.c:_PyGCHead_SET_PREV:
  160|    126|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|    126|    uintptr_t uprev = (uintptr_t)prev;
  162|    126|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 126, False: 0]
  ------------------
  163|    126|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|    126|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    126|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|    126|}
iterobject.c:_PyObject_GC_UNTRACK:
  253|     63|{
  254|     63|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|     63|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 63, False: 0]
  |  |  ------------------
  |  |  417|     63|      ? (void)(0) \
  |  |  418|     63|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|     63|                          "object not tracked by the garbage collector",
  256|     63|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|     63|    PyGC_Head *gc = _Py_AS_GC(op);
  262|     63|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|     63|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|     63|    _PyGCHead_SET_NEXT(prev, next);
  265|     63|    _PyGCHead_SET_PREV(next, prev);
  266|     63|    gc->_gc_next = 0;
  267|     63|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|     63|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|     63|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|     63|    gcstate->heap_size--;
  270|     63|#endif
  271|     63|}
iterobject.c:_PyGCHead_PREV:
  155|     63|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|     63|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|     63|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     63|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|     63|    return (PyGC_Head*)prev;
  158|     63|}
iterobject.c:_PyGCHead_NEXT:
  146|     63|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|     63|    uintptr_t next = gc->_gc_next;
  148|     63|    return (PyGC_Head*)next;
  149|     63|}
lazyimportobject.c:_PyObject_GC_TRACK:
  213|     13|{
  214|     13|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|     13|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 13, False: 0]
  |  |  ------------------
  |  |  417|     13|      ? (void)(0) \
  |  |  418|     13|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      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,
  ------------------
  |  |  416|     13|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 13, False: 0]
  |  |  ------------------
  |  |  417|     13|      ? (void)(0) \
  |  |  418|     13|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      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),
  ------------------
  |  |  416|      2|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 2, False: 0]
  |  |  ------------------
  |  |  417|      2|      ? (void)(0) \
  |  |  418|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      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|}
memoryobject.c:_PyObject_GC_UNTRACK:
  253|   144k|{
  254|   144k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|   144k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 144k, False: 0]
  |  |  ------------------
  |  |  417|   144k|      ? (void)(0) \
  |  |  418|   144k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  255|   144k|                          "object not tracked by the garbage collector",
  256|   144k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|   144k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|   144k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|   144k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|   144k|    _PyGCHead_SET_NEXT(prev, next);
  265|   144k|    _PyGCHead_SET_PREV(next, prev);
  266|   144k|    gc->_gc_next = 0;
  267|   144k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|   144k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|   144k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|   144k|    gcstate->heap_size--;
  270|   144k|#endif
  271|   144k|}
memoryobject.c:_PyObject_GC_IS_TRACKED:
   73|   289k|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|   289k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   289k|    return (gc->_gc_next != 0);
   79|   289k|#endif
   80|   289k|}
memoryobject.c:_Py_AS_GC:
   17|   578k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   578k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   578k|    return (PyGC_Head*)gc;
   20|   578k|}
memoryobject.c:_PyGCHead_PREV:
  155|   144k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|   144k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|   144k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   144k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|   144k|    return (PyGC_Head*)prev;
  158|   144k|}
memoryobject.c:_PyGCHead_NEXT:
  146|   144k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|   144k|    uintptr_t next = gc->_gc_next;
  148|   144k|    return (PyGC_Head*)next;
  149|   144k|}
memoryobject.c:_PyGCHead_SET_NEXT:
  150|   433k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|   433k|    gc->_gc_next = (uintptr_t)next;
  152|   433k|}
memoryobject.c:_PyGCHead_SET_PREV:
  160|   289k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|   289k|    uintptr_t uprev = (uintptr_t)prev;
  162|   289k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 289k, False: 0]
  ------------------
  163|   289k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|   289k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   289k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|   289k|}
memoryobject.c:_PyObject_GC_TRACK:
  213|   144k|{
  214|   144k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|   144k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 144k, False: 0]
  |  |  ------------------
  |  |  417|   144k|      ? (void)(0) \
  |  |  418|   144k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|   144k|                          "object already tracked by the garbage collector",
  216|   144k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|   144k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|   144k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|   144k|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 144k, False: 0]
  |  |  ------------------
  |  |  417|   144k|      ? (void)(0) \
  |  |  418|   144k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|   144k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|   144k|                          "object is in generation which is garbage collected",
  224|   144k|                          filename, lineno, __func__);
  225|       |
  226|   144k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|   144k|    PyGC_Head *generation0 = gcstate->generation0;
  228|   144k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|   144k|    _PyGCHead_SET_NEXT(last, gc);
  230|   144k|    _PyGCHead_SET_PREV(gc, last);
  231|   144k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|   144k|    generation0->_gc_prev = (uintptr_t)gc;
  233|   144k|    gcstate->heap_size++;
  234|   144k|#endif
  235|   144k|}
methodobject.c:_PyObject_GC_TRACK:
  213|  1.93M|{
  214|  1.93M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  416|  1.93M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 1.93M, False: 0]
  |  |  ------------------
  |  |  417|  1.93M|      ? (void)(0) \
  |  |  418|  1.93M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  215|  1.93M|                          "object already tracked by the garbage collector",
  216|  1.93M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  1.93M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  1.93M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  416|  1.93M|    ((expr) \
  |  |  ------------------
  |  |  |  Branch (416:6): [True: 1.93M, False: 0]
  |  |  ------------------
  |  |  417|  1.93M|      ? (void)(0) \
  |  |  418|  1.93M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  ------------------
  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  ------------------
  222|  1.93M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  1.93M|                          "object is in generation which is garbage collected",
  224|  1.93M|                          filename, lineno, __func__);
  225|       |
  226|  1.93M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  1.93M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  1.93M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  1.93M|    _PyGCHead_SET_NEXT(last, gc);
  230|  1.93M|    _PyGCHead_SET_PREV(gc, last);
  231|  1.93M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  1.93M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  1.93M|    gcstate->heap_size++;
  234|  1.93M|#endif
  235|  1.93M|}
methodobject.c:_PyObject_GC_IS_TRACKED:
   73|  1.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|  1.93M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  1.93M|    return (gc->_gc_next != 0);
   79|  1.93M|#endif
   80|  1.93M|}
methodobject.c:_Py_AS_GC:
   17|  3.87M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  3.87M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  3.87M|    return (PyGC_Head*)gc;
   20|  3.87M|}
methodobject.c:_PyGCHead_SET_NEXT:
  150|  3.87M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  3.87M|    gc->_gc_next = (uintptr_t)next;
  152|  3.87M|}
methodobject.c:_PyGCHead_SET_PREV:
  160|  1.93M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  1.93M|    uintptr_t uprev = (uintptr_t)prev;
  162|  1.93M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  ------------------
  |  Branch (162:5): [True: 1.93M, False: 0]
  ------------------
  163|  1.93M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  1.93M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  1.93M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  1.93M|}

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

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

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

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|     14|{
  314|     14|    return _PyFrame_GetFirstComplete(tstate->current_frame);
  315|     14|}
typeobject.c:_PyFrame_GetFirstComplete:
  304|     14|{
  305|     14|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (305:12): [True: 14, False: 0]
  |  Branch (305:21): [True: 0, False: 14]
  ------------------
  306|      0|        frame = frame->previous;
  307|      0|    }
  308|     14|    return frame;
  309|     14|}
typeobject.c:_PyFrame_IsIncomplete:
  293|     14|{
  294|     14|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (294:9): [True: 0, False: 14]
  ------------------
  295|      0|        return true;
  296|      0|    }
  297|     14|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (297:12): [True: 14, False: 0]
  ------------------
  298|     14|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (298:12): [True: 0, False: 14]
  ------------------
  299|     14|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  300|     14|}
typeobject.c:_PyFrame_GetBytecode:
   59|     14|{
   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|     14|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|     14|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|     14|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|     14|#endif
   68|     14|}
typeobject.c:_PyFrame_GetCode:
   20|     56|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|     56|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (21:5): [True: 56, False: 0]
  ------------------
   22|     56|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|     56|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (23:5): [True: 56, False: 0]
  ------------------
   24|     56|    return (PyCodeObject *)executable;
   25|     56|}
typeobject.c:_PyFrame_GetLocalsArray:
  225|     28|{
  226|     28|    return frame->localsplus;
  227|     28|}
ceval.c:_PyFrame_GetCode:
   20|  59.4M|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|  59.4M|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (21:5): [True: 59.4M, False: 0]
  ------------------
   22|  59.4M|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|  59.4M|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (23:5): [True: 59.4M, False: 0]
  ------------------
   24|  59.4M|    return (PyCodeObject *)executable;
   25|  59.4M|}
ceval.c:_PyFrame_GetStackPointer:
  234|  90.5M|{
  235|  90.5M|    return frame->stackpointer;
  236|  90.5M|}
ceval.c:_PyFrame_StackPointerInvalidate:
  258|   334M|{
  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|   334M|}
ceval.c:_PyFrame_SetStackPointer:
  240|   257M|{
  241|   257M|    frame->stackpointer = stack_pointer;
  242|   257M|}
ceval.c:_PyFrame_StackPointerValidate:
  246|   334M|{
  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|   334M|}
ceval.c:_PyFrame_StackAssertInvalid:
  270|   569M|{
  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|   569M|}
ceval.c:_PyThreadState_HasStackSpace:
  383|  6.44M|{
  384|  6.44M|    assert(
  ------------------
  |  Branch (384:5): [True: 0, False: 6.44M]
  |  Branch (384:5): [True: 0, False: 0]
  |  Branch (384:5): [True: 6.44M, False: 0]
  |  Branch (384:5): [True: 6.44M, False: 0]
  ------------------
  385|  6.44M|        (tstate->datastack_top == NULL && tstate->datastack_limit == NULL)
  386|  6.44M|        ||
  387|  6.44M|        (tstate->datastack_top != NULL && tstate->datastack_limit != NULL)
  388|  6.44M|    );
  389|  6.44M|    return tstate->datastack_top != NULL &&
  ------------------
  |  Branch (389:12): [True: 6.44M, False: 0]
  ------------------
  390|  6.44M|        size < tstate->datastack_limit - tstate->datastack_top;
  ------------------
  |  Branch (390:9): [True: 6.44M, False: 0]
  ------------------
  391|  6.44M|}
ceval.c:_PyFrame_PushUnchecked:
  404|  6.44M|{
  405|  6.44M|    CALL_STAT_INC(frames_pushed);
  ------------------
  |  |   76|  6.44M|#define CALL_STAT_INC(name) ((void)0)
  ------------------
  406|  6.44M|    PyFunctionObject *func_obj = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(func);
  407|  6.44M|    PyCodeObject *code = (PyCodeObject *)func_obj->func_code;
  408|  6.44M|    _PyInterpreterFrame *new_frame = (_PyInterpreterFrame *)tstate->datastack_top;
  409|  6.44M|    tstate->datastack_top += code->co_framesize;
  410|  6.44M|    assert(tstate->datastack_top < tstate->datastack_limit);
  ------------------
  |  Branch (410:5): [True: 6.44M, False: 0]
  ------------------
  411|  6.44M|    _PyFrame_Initialize(tstate, new_frame, func, NULL, code, null_locals_from,
  412|  6.44M|                        previous);
  413|  6.44M|    return new_frame;
  414|  6.44M|}
ceval.c:_PyFrame_PushTrampolineUnchecked:
  420|  1.16k|{
  421|  1.16k|    CALL_STAT_INC(frames_pushed);
  ------------------
  |  |   76|  1.16k|#define CALL_STAT_INC(name) ((void)0)
  ------------------
  422|  1.16k|    _PyInterpreterFrame *frame = (_PyInterpreterFrame *)tstate->datastack_top;
  423|  1.16k|    tstate->datastack_top += code->co_framesize;
  424|  1.16k|    assert(tstate->datastack_top < tstate->datastack_limit);
  ------------------
  |  Branch (424:5): [True: 1.16k, False: 0]
  ------------------
  425|  1.16k|    frame->previous = previous;
  426|  1.16k|    frame->f_funcobj = PyStackRef_None;
  ------------------
  |  |  485|  1.16k|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|  1.16k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  427|  1.16k|    frame->f_executable = PyStackRef_FromPyObjectNew(code);
  ------------------
  |  |  611|  1.16k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  428|       |#ifdef Py_DEBUG
  429|       |    frame->f_builtins = NULL;
  430|       |    frame->f_globals = NULL;
  431|       |#endif
  432|  1.16k|    frame->f_locals = NULL;
  433|  1.16k|    assert(stackdepth <= code->co_stacksize);
  ------------------
  |  Branch (433:5): [True: 1.16k, False: 0]
  ------------------
  434|  1.16k|    frame->stackpointer = frame->localsplus + code->co_nlocalsplus + stackdepth;
  435|  1.16k|    frame->frame_obj = NULL;
  436|       |#ifdef Py_GIL_DISABLED
  437|       |    _PyFrame_InitializeTLBC(tstate, frame, code);
  438|       |#else
  439|  1.16k|    frame->instr_ptr = _PyCode_CODE(code);
  ------------------
  |  |   16|  1.16k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  1.16k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  440|  1.16k|#endif
  441|  1.16k|    frame->owner = FRAME_OWNED_BY_THREAD;
  442|  1.16k|    frame->visited = 0;
  443|       |#ifdef Py_DEBUG
  444|       |    frame->stackpointer_valid = 1;
  445|       |    frame->lltrace = 0;
  446|       |#endif
  447|  1.16k|    frame->return_offset = 0;
  448|  1.16k|    return frame;
  449|  1.16k|}
ceval.c:_PyFrame_GetBytecode:
   59|  26.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|  26.8M|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|  26.8M|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  26.8M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|  26.8M|#endif
   68|  26.8M|}
ceval.c:_PyFrame_StackPush:
  117|  46.1k|static inline void _PyFrame_StackPush(_PyInterpreterFrame *f, _PyStackRef value) {
  118|  46.1k|    *f->stackpointer = value;
  119|  46.1k|    f->stackpointer++;
  120|  46.1k|}
ceval.c:_PyFrame_Stackbase:
  101|  6.85M|static inline _PyStackRef *_PyFrame_Stackbase(_PyInterpreterFrame *f) {
  102|  6.85M|    return (f->localsplus + _PyFrame_GetCode(f)->co_nlocalsplus);
  103|  6.85M|}
ceval.c:_PyFrame_IsIncomplete:
  293|   350k|{
  294|   350k|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (294:9): [True: 263k, False: 86.8k]
  ------------------
  295|   263k|        return true;
  296|   263k|    }
  297|  86.8k|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (297:12): [True: 86.8k, False: 0]
  ------------------
  298|  86.8k|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (298:12): [True: 0, False: 86.8k]
  ------------------
  299|  86.8k|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  300|   350k|}
ceval.c:_PyFrame_Copy:
  134|  1.26k|{
  135|  1.26k|    dest->f_executable = PyStackRef_MakeHeapSafe(src->f_executable);
  136|       |    // Don't leave a dangling pointer to the old frame when creating generators
  137|       |    // and coroutines:
  138|  1.26k|    dest->previous = NULL;
  139|  1.26k|    dest->f_funcobj = PyStackRef_MakeHeapSafe(src->f_funcobj);
  140|  1.26k|    dest->f_globals = src->f_globals;
  141|  1.26k|    dest->f_builtins = src->f_builtins;
  142|  1.26k|    dest->f_locals = src->f_locals;
  143|  1.26k|    dest->frame_obj = src->frame_obj;
  144|  1.26k|    dest->instr_ptr = src->instr_ptr;
  145|       |#ifdef Py_GIL_DISABLED
  146|       |    dest->tlbc_index = src->tlbc_index;
  147|       |#endif
  148|  1.26k|    assert(src->stackpointer != NULL);
  ------------------
  |  Branch (148:5): [True: 1.26k, False: 0]
  ------------------
  149|  1.26k|    int stacktop = (int)(src->stackpointer - src->localsplus);
  150|  1.26k|    assert(stacktop >= 0);
  ------------------
  |  Branch (150:5): [True: 1.26k, False: 0]
  ------------------
  151|  1.26k|    dest->stackpointer = dest->localsplus + stacktop;
  152|       |    // visited is GC bookkeeping for the current stack walk, not frame state.
  153|  1.26k|    dest->visited = 0;
  154|       |#ifdef Py_DEBUG
  155|       |    dest->stackpointer_valid =  src->stackpointer_valid;
  156|       |    dest->lltrace = src->lltrace;
  157|       |#endif
  158|  6.20k|    for (int i = 0; i < stacktop; i++) {
  ------------------
  |  Branch (158:21): [True: 4.93k, False: 1.26k]
  ------------------
  159|  4.93k|        dest->localsplus[i] = PyStackRef_MakeHeapSafe(src->localsplus[i]);
  160|  4.93k|    }
  161|  1.26k|}
ceval.c:_PyFrame_GetFrameObject:
  344|  43.1k|{
  345|       |
  346|  43.1k|    assert(!_PyFrame_IsIncomplete(frame));
  ------------------
  |  Branch (346:5): [True: 43.1k, False: 0]
  ------------------
  347|  43.1k|    PyFrameObject *res =  frame->frame_obj;
  348|  43.1k|    if (res != NULL) {
  ------------------
  |  Branch (348:9): [True: 22.8k, False: 20.3k]
  ------------------
  349|  22.8k|        return res;
  350|  22.8k|    }
  351|  20.3k|    return _PyFrame_MakeAndSetFrameObject(frame);
  352|  43.1k|}
ceval.c:_PyFrame_StackPop:
  111|   120k|static inline _PyStackRef _PyFrame_StackPop(_PyInterpreterFrame *f) {
  112|   120k|    assert(f->stackpointer > _PyFrame_Stackbase(f));
  ------------------
  |  Branch (112:5): [True: 120k, False: 0]
  ------------------
  113|   120k|    f->stackpointer--;
  114|   120k|    return *f->stackpointer;
  115|   120k|}
ceval.c:_PyFrame_Initialize:
  191|  6.64M|{
  192|  6.64M|    frame->previous = previous;
  193|  6.64M|    frame->f_funcobj = func;
  194|  6.64M|    frame->f_executable = PyStackRef_FromPyObjectNew(code);
  ------------------
  |  |  611|  6.64M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.64M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.64M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  195|  6.64M|    PyFunctionObject *func_obj = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(func);
  196|  6.64M|    frame->f_builtins = func_obj->func_builtins;
  197|  6.64M|    frame->f_globals = func_obj->func_globals;
  198|  6.64M|    frame->f_locals = locals;
  199|  6.64M|    frame->stackpointer = frame->localsplus + code->co_nlocalsplus;
  200|  6.64M|    frame->frame_obj = NULL;
  201|       |#ifdef Py_GIL_DISABLED
  202|       |    _PyFrame_InitializeTLBC(tstate, frame, code);
  203|       |#else
  204|  6.64M|    (void)tstate;
  205|  6.64M|    frame->instr_ptr = _PyCode_CODE(code);
  ------------------
  |  |   16|  6.64M|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  6.64M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  206|  6.64M|#endif
  207|  6.64M|    frame->return_offset = 0;
  208|  6.64M|    frame->owner = FRAME_OWNED_BY_THREAD;
  209|  6.64M|    frame->visited = 0;
  210|       |#ifdef Py_DEBUG
  211|       |    frame->stackpointer_valid = 1;
  212|       |    frame->lltrace = 0;
  213|       |#endif
  214|       |
  215|  17.1M|    for (int i = null_locals_from; i < code->co_nlocalsplus; i++) {
  ------------------
  |  Branch (215:36): [True: 10.4M, False: 6.64M]
  ------------------
  216|  10.4M|        frame->localsplus[i] = PyStackRef_NULL;
  217|  10.4M|    }
  218|  6.64M|}
ceval.c:_PyThreadState_GetFrame:
  313|  52.4k|{
  314|  52.4k|    return _PyFrame_GetFirstComplete(tstate->current_frame);
  315|  52.4k|}
ceval.c:_PyFrame_GetFirstComplete:
  304|  52.4k|{
  305|   104k|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (305:12): [True: 52.4k, False: 51.9k]
  |  Branch (305:21): [True: 51.9k, False: 580]
  ------------------
  306|  51.9k|        frame = frame->previous;
  307|  51.9k|    }
  308|  52.4k|    return frame;
  309|  52.4k|}
frame.c:_PyFrame_GetCode:
   20|  53.5k|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|  53.5k|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (21:5): [True: 53.5k, False: 0]
  ------------------
   22|  53.5k|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|  53.5k|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (23:5): [True: 53.5k, False: 0]
  ------------------
   24|  53.5k|    return (PyCodeObject *)executable;
   25|  53.5k|}
frame.c:_PyFrame_Copy:
  134|  4.42k|{
  135|  4.42k|    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|  4.42k|    dest->previous = NULL;
  139|  4.42k|    dest->f_funcobj = PyStackRef_MakeHeapSafe(src->f_funcobj);
  140|  4.42k|    dest->f_globals = src->f_globals;
  141|  4.42k|    dest->f_builtins = src->f_builtins;
  142|  4.42k|    dest->f_locals = src->f_locals;
  143|  4.42k|    dest->frame_obj = src->frame_obj;
  144|  4.42k|    dest->instr_ptr = src->instr_ptr;
  145|       |#ifdef Py_GIL_DISABLED
  146|       |    dest->tlbc_index = src->tlbc_index;
  147|       |#endif
  148|  4.42k|    assert(src->stackpointer != NULL);
  ------------------
  |  Branch (148:5): [True: 4.42k, False: 0]
  ------------------
  149|  4.42k|    int stacktop = (int)(src->stackpointer - src->localsplus);
  150|  4.42k|    assert(stacktop >= 0);
  ------------------
  |  Branch (150:5): [True: 4.42k, False: 0]
  ------------------
  151|  4.42k|    dest->stackpointer = dest->localsplus + stacktop;
  152|       |    // visited is GC bookkeeping for the current stack walk, not frame state.
  153|  4.42k|    dest->visited = 0;
  154|       |#ifdef Py_DEBUG
  155|       |    dest->stackpointer_valid =  src->stackpointer_valid;
  156|       |    dest->lltrace = src->lltrace;
  157|       |#endif
  158|  36.6k|    for (int i = 0; i < stacktop; i++) {
  ------------------
  |  Branch (158:21): [True: 32.2k, False: 4.42k]
  ------------------
  159|  32.2k|        dest->localsplus[i] = PyStackRef_MakeHeapSafe(src->localsplus[i]);
  160|  32.2k|    }
  161|  4.42k|}
frame.c:_PyFrame_IsIncomplete:
  293|  18.2k|{
  294|  18.2k|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (294:9): [True: 3.09k, False: 15.1k]
  ------------------
  295|  3.09k|        return true;
  296|  3.09k|    }
  297|  15.1k|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (297:12): [True: 15.1k, False: 0]
  ------------------
  298|  15.1k|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (298:12): [True: 0, False: 15.1k]
  ------------------
  299|  15.1k|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  300|  18.2k|}
frame.c:_PyFrame_GetFirstComplete:
  304|  4.42k|{
  305|  7.52k|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (305:12): [True: 6.25k, False: 1.27k]
  |  Branch (305:21): [True: 3.09k, False: 3.15k]
  ------------------
  306|  3.09k|        frame = frame->previous;
  307|  3.09k|    }
  308|  4.42k|    return frame;
  309|  4.42k|}
frame.c:_PyFrame_GetFrameObject:
  344|  3.15k|{
  345|       |
  346|  3.15k|    assert(!_PyFrame_IsIncomplete(frame));
  ------------------
  |  Branch (346:5): [True: 3.15k, False: 0]
  ------------------
  347|  3.15k|    PyFrameObject *res =  frame->frame_obj;
  348|  3.15k|    if (res != NULL) {
  ------------------
  |  Branch (348:9): [True: 217, False: 2.93k]
  ------------------
  349|    217|        return res;
  350|    217|    }
  351|  2.93k|    return _PyFrame_MakeAndSetFrameObject(frame);
  352|  3.15k|}
frame.c:_PyFrame_GetBytecode:
   59|  15.1k|{
   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.1k|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|  15.1k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  15.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|  15.1k|#endif
   68|  15.1k|}
gc.c:_PyFrame_GetLocalsArray:
  225|     12|{
  226|     12|    return frame->localsplus;
  227|     12|}
pystate.c:_PyThreadState_HasStackSpace:
  383|   201k|{
  384|   201k|    assert(
  ------------------
  |  Branch (384:5): [True: 2, False: 201k]
  |  Branch (384:5): [True: 2, False: 0]
  |  Branch (384:5): [True: 201k, False: 0]
  |  Branch (384:5): [True: 201k, False: 0]
  ------------------
  385|   201k|        (tstate->datastack_top == NULL && tstate->datastack_limit == NULL)
  386|   201k|        ||
  387|   201k|        (tstate->datastack_top != NULL && tstate->datastack_limit != NULL)
  388|   201k|    );
  389|   201k|    return tstate->datastack_top != NULL &&
  ------------------
  |  Branch (389:12): [True: 201k, False: 2]
  ------------------
  390|   201k|        size < tstate->datastack_limit - tstate->datastack_top;
  ------------------
  |  Branch (390:9): [True: 201k, False: 0]
  ------------------
  391|   201k|}
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|  43.1k|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|  43.1k|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (21:5): [True: 43.1k, False: 0]
  ------------------
   22|  43.1k|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|  43.1k|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (23:5): [True: 43.1k, False: 0]
  ------------------
   24|  43.1k|    return (PyCodeObject *)executable;
   25|  43.1k|}
traceback.c:_PyFrame_GetBytecode:
   59|  43.1k|{
   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|  43.1k|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|  43.1k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  43.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|  43.1k|#endif
   68|  43.1k|}
genobject.c:_PyFrame_StackPush:
  117|  71.3k|static inline void _PyFrame_StackPush(_PyInterpreterFrame *f, _PyStackRef value) {
  118|  71.3k|    *f->stackpointer = value;
  119|  71.3k|    f->stackpointer++;
  120|  71.3k|}
genobject.c:_PyFrame_NumSlotsForCodeObject:
  126|  1.26k|{
  127|       |    /* This function needs to remain in sync with the calculation of
  128|       |     * co_framesize in Tools/build/deepfreeze.py */
  129|  1.26k|    assert(code->co_framesize >= FRAME_SPECIALS_SIZE);
  ------------------
  |  Branch (129:5): [True: 1.26k, False: 0]
  ------------------
  130|  1.26k|    return code->co_framesize - FRAME_SPECIALS_SIZE;
  ------------------
  |  |  122|  1.26k|#define FRAME_SPECIALS_SIZE ((int)((sizeof(_PyInterpreterFrame)-1)/sizeof(PyObject *)))
  ------------------
  131|  1.26k|}
genobject.c:_PyFrame_GetCode:
   20|     20|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|     20|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (21:5): [True: 20, False: 0]
  ------------------
   22|     20|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|     20|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (23:5): [True: 20, False: 0]
  ------------------
   24|     20|    return (PyCodeObject *)executable;
   25|     20|}
frameobject.c:_PyFrame_GetLocalsArray:
  225|  4.42k|{
  226|  4.42k|    return frame->localsplus;
  227|  4.42k|}
frameobject.c:_PyFrame_IsIncomplete:
  293|    370|{
  294|    370|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (294:9): [True: 0, False: 370]
  ------------------
  295|      0|        return true;
  296|      0|    }
  297|    370|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (297:12): [True: 370, False: 0]
  ------------------
  298|    370|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (298:12): [True: 0, False: 370]
  ------------------
  299|    370|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  300|    370|}
frameobject.c:_PyFrame_GetCode:
   20|  1.14k|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|  1.14k|    assert(!PyStackRef_IsNull(f->f_executable));
  ------------------
  |  Branch (21:5): [True: 1.14k, False: 0]
  ------------------
   22|  1.14k|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|  1.14k|    assert(PyCode_Check(executable));
  ------------------
  |  Branch (23:5): [True: 1.14k, False: 0]
  ------------------
   24|  1.14k|    return (PyCodeObject *)executable;
   25|  1.14k|}
frameobject.c:_PyFrame_GetBytecode:
   59|    370|{
   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|    370|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|    370|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|    370|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|    370|#endif
   68|    370|}
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|  8.32M|{
   39|  8.32M|    assert(self != NULL && newitem != NULL);
  ------------------
  |  Branch (39:5): [True: 8.32M, False: 0]
  |  Branch (39:5): [True: 8.32M, False: 0]
  ------------------
   40|  8.32M|    assert(PyList_Check(self));
  ------------------
  |  Branch (40:5): [True: 8.32M, False: 0]
  ------------------
   41|  8.32M|    Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  214|  8.32M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   42|  8.32M|    Py_ssize_t allocated = self->allocated;
   43|  8.32M|    assert((size_t)len + 1 < PY_SSIZE_T_MAX);
  ------------------
  |  Branch (43:5): [True: 8.32M, False: 0]
  ------------------
   44|  8.32M|    if (allocated > len) {
  ------------------
  |  Branch (44:9): [True: 7.98M, False: 337k]
  ------------------
   45|       |#ifdef Py_GIL_DISABLED
   46|       |        _Py_atomic_store_ptr_release(&self->ob_item[len], newitem);
   47|       |#else
   48|  7.98M|        PyList_SET_ITEM(self, len, newitem);
  ------------------
  |  |   50|  7.98M|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  7.98M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.98M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  7.98M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.98M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   49|  7.98M|#endif
   50|  7.98M|        Py_SET_SIZE(self, len + 1);
  ------------------
  |  |  216|  7.98M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  7.98M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.98M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|  7.98M|        return 0;
   52|  7.98M|    }
   53|   337k|    return _PyList_AppendTakeRefListResize(self, newitem);
   54|  8.32M|}
tupleobject.c:_Py_memory_repeat:
   59|  22.9k|{
   60|  22.9k|    assert(len_src > 0);
  ------------------
  |  Branch (60:5): [True: 22.9k, False: 0]
  ------------------
   61|  22.9k|    Py_ssize_t copied = len_src;
   62|   177k|    while (copied < len_dest) {
  ------------------
  |  Branch (62:12): [True: 154k, False: 22.9k]
  ------------------
   63|   154k|        Py_ssize_t bytes_to_copy = Py_MIN(copied, len_dest - copied);
  ------------------
  |  |  112|   154k|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 22.0k, False: 132k]
  |  |  ------------------
  ------------------
   64|   154k|        memcpy(dest + copied, dest, (size_t)bytes_to_copy);
   65|   154k|        copied += bytes_to_copy;
   66|   154k|    }
   67|  22.9k|}
ceval.c:_PyList_AppendTakeRef:
   38|  1.16M|{
   39|  1.16M|    assert(self != NULL && newitem != NULL);
  ------------------
  |  Branch (39:5): [True: 1.16M, False: 0]
  |  Branch (39:5): [True: 1.16M, False: 0]
  ------------------
   40|  1.16M|    assert(PyList_Check(self));
  ------------------
  |  Branch (40:5): [True: 1.16M, False: 0]
  ------------------
   41|  1.16M|    Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  214|  1.16M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.16M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   42|  1.16M|    Py_ssize_t allocated = self->allocated;
   43|  1.16M|    assert((size_t)len + 1 < PY_SSIZE_T_MAX);
  ------------------
  |  Branch (43:5): [True: 1.16M, False: 0]
  ------------------
   44|  1.16M|    if (allocated > len) {
  ------------------
  |  Branch (44:9): [True: 768k, False: 396k]
  ------------------
   45|       |#ifdef Py_GIL_DISABLED
   46|       |        _Py_atomic_store_ptr_release(&self->ob_item[len], newitem);
   47|       |#else
   48|   768k|        PyList_SET_ITEM(self, len, newitem);
  ------------------
  |  |   50|   768k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   768k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   768k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   768k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   768k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   49|   768k|#endif
   50|   768k|        Py_SET_SIZE(self, len + 1);
  ------------------
  |  |  216|   768k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|   768k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   768k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|   768k|        return 0;
   52|   768k|    }
   53|   396k|    return _PyList_AppendTakeRefListResize(self, newitem);
   54|  1.16M|}
abstract.c:_PyList_AppendTakeRef:
   38|    165|{
   39|    165|    assert(self != NULL && newitem != NULL);
  ------------------
  |  Branch (39:5): [True: 165, False: 0]
  |  Branch (39:5): [True: 165, False: 0]
  ------------------
   40|    165|    assert(PyList_Check(self));
  ------------------
  |  Branch (40:5): [True: 165, False: 0]
  ------------------
   41|    165|    Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  214|    165|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    165|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    165|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   42|    165|    Py_ssize_t allocated = self->allocated;
   43|    165|    assert((size_t)len + 1 < PY_SSIZE_T_MAX);
  ------------------
  |  Branch (43:5): [True: 165, False: 0]
  ------------------
   44|    165|    if (allocated > len) {
  ------------------
  |  Branch (44:9): [True: 157, False: 8]
  ------------------
   45|       |#ifdef Py_GIL_DISABLED
   46|       |        _Py_atomic_store_ptr_release(&self->ob_item[len], newitem);
   47|       |#else
   48|    157|        PyList_SET_ITEM(self, len, newitem);
  ------------------
  |  |   50|    157|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    157|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    157|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    157|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    157|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   49|    157|#endif
   50|    157|        Py_SET_SIZE(self, len + 1);
  ------------------
  |  |  216|    157|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    157|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    157|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|    157|        return 0;
   52|    157|    }
   53|      8|    return _PyList_AppendTakeRefListResize(self, newitem);
   54|    165|}

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:
  157|  2.26k|{
  158|  2.26k|    if (_Py_atomic_load_uint8(&flag->v) == _Py_ONCE_INITIALIZED) {
  ------------------
  |  |   18|  2.26k|#define _Py_ONCE_INITIALIZED 4
  ------------------
  |  Branch (158:9): [True: 2.25k, False: 4]
  ------------------
  159|  2.25k|        return 0;
  160|  2.25k|    }
  161|      4|    return _PyOnceFlag_CallOnceSlow(flag, fn, arg);
  162|  2.26k|}
pystate.c:PyMutex_LockFlags:
   67|      4|{
   68|      4|    uint8_t expected = _Py_UNLOCKED;
  ------------------
  |  |    9|      4|#define _Py_UNLOCKED    0
  ------------------
   69|      4|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_LOCKED)) {
  ------------------
  |  |   10|      4|#define _Py_LOCKED      1
  ------------------
  |  Branch (69:9): [True: 0, False: 4]
  ------------------
   70|      0|        _PyMutex_LockTimed(m, -1, flags);
   71|      0|    }
   72|      4|}
Python-ast.c:_PyOnceFlag_CallOnce:
  157|  1.87k|{
  158|  1.87k|    if (_Py_atomic_load_uint8(&flag->v) == _Py_ONCE_INITIALIZED) {
  ------------------
  |  |   18|  1.87k|#define _Py_ONCE_INITIALIZED 4
  ------------------
  |  Branch (158:9): [True: 1.87k, False: 1]
  ------------------
  159|  1.87k|        return 0;
  160|  1.87k|    }
  161|      1|    return _PyOnceFlag_CallOnceSlow(flag, fn, arg);
  162|  1.87k|}

longobject.c:_PyLong_InitTag:
  292|  1.50M|{
  293|  1.50M|    assert(PyLong_Check(op));
  ------------------
  |  Branch (293:5): [True: 1.50M, False: 0]
  ------------------
  294|  1.50M|    op->long_value.lv_tag = SIGN_ZERO; /* non-immortal zero */
  ------------------
  |  |  173|  1.50M|#define SIGN_ZERO 1
  ------------------
  295|  1.50M|}
longobject.c:_PyLong_GetZero:
   73|  77.8k|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|  77.8k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  77.8k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  77.8k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|  77.8k|#define _PY_NSMALLNEGINTS           5
  ------------------
longobject.c:_PyLong_SetSignAndDigitCount:
  302|  14.5M|{
  303|  14.5M|    assert(size >= 0);
  ------------------
  |  Branch (303:5): [True: 14.5M, False: 0]
  ------------------
  304|  14.5M|    assert(-1 <= sign && sign <= 1);
  ------------------
  |  Branch (304:5): [True: 14.5M, False: 0]
  |  Branch (304:5): [True: 14.5M, False: 0]
  ------------------
  305|  14.5M|    assert(sign != 0 || size == 0);
  ------------------
  |  Branch (305:5): [True: 14.4M, False: 78.0k]
  |  Branch (305:5): [True: 78.0k, False: 0]
  ------------------
  306|  14.5M|    assert(!_PyLong_IsSmallInt(op));
  ------------------
  |  Branch (306:5): [True: 14.5M, False: 0]
  ------------------
  307|  14.5M|    op->long_value.lv_tag = TAG_FROM_SIGN_AND_SIZE(sign, size);
  ------------------
  |  |  298|  14.5M|    ((uintptr_t)(1 - (sign)) | ((uintptr_t)(size) << NON_SIZE_BITS))
  |  |  ------------------
  |  |  |  |  175|  14.5M|#define NON_SIZE_BITS 3
  |  |  ------------------
  ------------------
  308|  14.5M|}
longobject.c:_PyLong_CompactSign:
  268|   327k|{
  269|   327k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (269:5): [True: 327k, False: 0]
  ------------------
  270|   327k|    assert(_PyLong_IsCompact((PyLongObject *)op));
  ------------------
  |  Branch (270:5): [True: 327k, False: 0]
  ------------------
  271|   327k|    return 1 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|   327k|#define SIGN_MASK 3
  ------------------
  272|   327k|}
longobject.c:_PyLong_NonCompactSign:
  276|  11.6M|{
  277|  11.6M|    assert(PyLong_Check(op));
  ------------------
  |  Branch (277:5): [True: 11.6M, False: 0]
  ------------------
  278|  11.6M|    assert(!_PyLong_IsCompact((PyLongObject *)op));
  ------------------
  |  Branch (278:5): [True: 11.6M, False: 0]
  ------------------
  279|  11.6M|    return 1 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  11.6M|#define SIGN_MASK 3
  ------------------
  280|  11.6M|}
longobject.c:_PyLong_DigitCount:
  252|  23.2M|{
  253|  23.2M|    assert(PyLong_Check(op));
  ------------------
  |  Branch (253:5): [True: 23.2M, False: 0]
  ------------------
  254|  23.2M|    return (Py_ssize_t)(op->long_value.lv_tag >> NON_SIZE_BITS);
  ------------------
  |  |  175|  23.2M|#define NON_SIZE_BITS 3
  ------------------
  255|  23.2M|}
longobject.c:_PyLong_FlipSign:
  322|  88.6k|{
  323|  88.6k|    assert(!_PyLong_IsSmallInt(op));
  ------------------
  |  Branch (323:5): [True: 88.6k, False: 0]
  ------------------
  324|  88.6k|    unsigned int flipped_sign = 2 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  88.6k|#define SIGN_MASK 3
  ------------------
  325|  88.6k|    op->long_value.lv_tag &= NON_SIZE_MASK;
  ------------------
  |  |  318|  88.6k|#define NON_SIZE_MASK ~(uintptr_t)((1 << NON_SIZE_BITS) - 1)
  |  |  ------------------
  |  |  |  |  175|  88.6k|#define NON_SIZE_BITS 3
  |  |  ------------------
  ------------------
  326|  88.6k|    op->long_value.lv_tag |= flipped_sign;
  327|  88.6k|}
longobject.c:_PyLong_IsNonNegativeCompact:
  205|  69.7k|_PyLong_IsNonNegativeCompact(const PyLongObject* op) {
  206|  69.7k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (206:5): [True: 69.7k, False: 0]
  ------------------
  207|  69.7k|    return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  176|  69.7k|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
                  return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  175|  69.7k|#define NON_SIZE_BITS 3
  ------------------
  208|  69.7k|}
longobject.c:_PyLong_IsNegative:
  225|  1.40M|{
  226|  1.40M|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  172|  1.40M|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  174|  1.40M|#define SIGN_NEGATIVE 2
  ------------------
  227|  1.40M|}
longobject.c:_PyLong_IsPositive:
  231|   124k|{
  232|   124k|    return (op->long_value.lv_tag & SIGN_MASK) == 0;
  ------------------
  |  |  172|   124k|#define SIGN_MASK 3
  ------------------
  233|   124k|}
longobject.c:_PyLong_IsZero:
  219|  93.3k|{
  220|  93.3k|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|  93.3k|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|  93.3k|#define SIGN_ZERO 1
  ------------------
  221|  93.3k|}
longobject.c:_PyLong_SetDigitCount:
  312|   152k|{
  313|   152k|    assert(size >= 0);
  ------------------
  |  Branch (313:5): [True: 152k, False: 0]
  ------------------
  314|   152k|    assert(!_PyLong_IsSmallInt(op));
  ------------------
  |  Branch (314:5): [True: 152k, False: 0]
  ------------------
  315|   152k|    op->long_value.lv_tag = (((size_t)size) << NON_SIZE_BITS) | (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  175|   152k|#define NON_SIZE_BITS 3
  ------------------
                  op->long_value.lv_tag = (((size_t)size) << NON_SIZE_BITS) | (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|   152k|#define SIGN_MASK 3
  ------------------
  316|   152k|}
longobject.c:_PyLong_IsSmallInt:
  238|  28.4M|{
  239|  28.4M|    assert(PyLong_Check(op));
  ------------------
  |  Branch (239:5): [True: 28.4M, False: 0]
  ------------------
  240|  28.4M|    bool is_small_int = (op->long_value.lv_tag & IMMORTALITY_BIT_MASK) != 0;
  ------------------
  |  |  176|  28.4M|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
  241|  28.4M|    if (is_small_int) {
  ------------------
  |  Branch (241:9): [True: 0, False: 28.4M]
  ------------------
  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|  28.4M|    return is_small_int;
  248|  28.4M|}
longobject.c:_PyLong_BothAreCompact:
  212|  36.0M|_PyLong_BothAreCompact(const PyLongObject* a, const PyLongObject* b) {
  213|  36.0M|    assert(PyLong_Check(a));
  ------------------
  |  Branch (213:5): [True: 36.0M, False: 0]
  ------------------
  214|  36.0M|    assert(PyLong_Check(b));
  ------------------
  |  Branch (214:5): [True: 36.0M, False: 0]
  ------------------
  215|  36.0M|    return (a->long_value.lv_tag | b->long_value.lv_tag) < (2 << NON_SIZE_BITS);
  ------------------
  |  |  175|  36.0M|#define NON_SIZE_BITS 3
  ------------------
  216|  36.0M|}
longobject.c:_PyLong_SignedDigitCount:
  260|   976k|{
  261|   976k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (261:5): [True: 976k, False: 0]
  ------------------
  262|   976k|    Py_ssize_t sign = 1 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|   976k|#define SIGN_MASK 3
  ------------------
  263|   976k|    return sign * (Py_ssize_t)(op->long_value.lv_tag >> NON_SIZE_BITS);
  ------------------
  |  |  175|   976k|#define NON_SIZE_BITS 3
  ------------------
  264|   976k|}
longobject.c:_PyLong_SameSign:
  285|  1.94M|{
  286|  1.94M|    return (a->long_value.lv_tag & SIGN_MASK) == (b->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  1.94M|#define SIGN_MASK 3
  ------------------
                  return (a->long_value.lv_tag & SIGN_MASK) == (b->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  1.94M|#define SIGN_MASK 3
  ------------------
  287|  1.94M|}
longobject.c:_PyLong_GetOne:
   78|  15.5k|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   59|  15.5k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  15.5k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  15.5k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   98|  15.5k|#define _PY_NSMALLNEGINTS           5
  ------------------
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|    740|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|    740|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|    740|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    740|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|    740|#define _PY_NSMALLNEGINTS           5
  ------------------
rangeobject.c:_PyLong_GetOne:
   78|    820|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   59|    820|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|    820|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    820|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   98|    820|#define _PY_NSMALLNEGINTS           5
  ------------------
rangeobject.c:_PyLong_IsZero:
  219|      9|{
  220|      9|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|      9|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|      9|#define SIGN_ZERO 1
  ------------------
  221|      9|}
typeobject.c:_PyLong_IsNegative:
  225|    145|{
  226|    145|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  172|    145|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  174|    145|#define SIGN_NEGATIVE 2
  ------------------
  227|    145|}
_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|   140M|{
  346|   140M|    return PyLong_CheckExact(op) && _PyLong_IsCompact((const PyLongObject *)op);
  ------------------
  |  |   14|   140M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|   281M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   140M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   140M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 140M, False: 65]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (346:37): [True: 140M, False: 6.32k]
  ------------------
  347|   140M|}
ceval.c:_PyLong_BothAreCompact:
  212|  34.6M|_PyLong_BothAreCompact(const PyLongObject* a, const PyLongObject* b) {
  213|  34.6M|    assert(PyLong_Check(a));
  ------------------
  |  Branch (213:5): [True: 34.6M, False: 0]
  ------------------
  214|  34.6M|    assert(PyLong_Check(b));
  ------------------
  |  Branch (214:5): [True: 34.6M, False: 0]
  ------------------
  215|  34.6M|    return (a->long_value.lv_tag | b->long_value.lv_tag) < (2 << NON_SIZE_BITS);
  ------------------
  |  |  175|  34.6M|#define NON_SIZE_BITS 3
  ------------------
  216|  34.6M|}
ceval.c:_PyLong_IsNonNegativeCompact:
  205|  12.3M|_PyLong_IsNonNegativeCompact(const PyLongObject* op) {
  206|  12.3M|    assert(PyLong_Check(op));
  ------------------
  |  Branch (206:5): [True: 12.3M, False: 0]
  ------------------
  207|  12.3M|    return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  176|  12.3M|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
                  return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  175|  12.3M|#define NON_SIZE_BITS 3
  ------------------
  208|  12.3M|}
ceval.c:_PyLong_DigitCount:
  252|  59.2M|{
  253|  59.2M|    assert(PyLong_Check(op));
  ------------------
  |  Branch (253:5): [True: 59.2M, False: 0]
  ------------------
  254|  59.2M|    return (Py_ssize_t)(op->long_value.lv_tag >> NON_SIZE_BITS);
  ------------------
  |  |  175|  59.2M|#define NON_SIZE_BITS 3
  ------------------
  255|  59.2M|}
ceval.c:_PyLong_IsZero:
  219|  49.8k|{
  220|  49.8k|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|  49.8k|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|  49.8k|#define SIGN_ZERO 1
  ------------------
  221|  49.8k|}
codegen.c:_PyLong_GetOne:
   78|  2.66k|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   59|  2.66k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  2.66k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.66k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   98|  2.66k|#define _PY_NSMALLNEGINTS           5
  ------------------
codegen.c:_PyLong_GetZero:
   73|  2.49k|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|  2.49k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  2.49k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.49k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|  2.49k|#define _PY_NSMALLNEGINTS           5
  ------------------
flowgraph.c:_PyLong_IsZero:
  219|   138k|{
  220|   138k|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|   138k|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|   138k|#define SIGN_ZERO 1
  ------------------
  221|   138k|}
flowgraph.c:_PyLong_IsPositive:
  231|  46.3k|{
  232|  46.3k|    return (op->long_value.lv_tag & SIGN_MASK) == 0;
  ------------------
  |  |  172|  46.3k|#define SIGN_MASK 3
  ------------------
  233|  46.3k|}
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|   351k|_PyLong_IsNonNegativeCompact(const PyLongObject* op) {
  206|   351k|    assert(PyLong_Check(op));
  ------------------
  |  Branch (206:5): [True: 351k, False: 0]
  ------------------
  207|   351k|    return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  176|   351k|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
                  return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  175|   351k|#define NON_SIZE_BITS 3
  ------------------
  208|   351k|}
specialize.c:_PyLong_CheckExactAndCompact:
  345|  1.08k|{
  346|  1.08k|    return PyLong_CheckExact(op) && _PyLong_IsCompact((const PyLongObject *)op);
  ------------------
  |  |   14|  1.08k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  2.16k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.07k, False: 13]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (346:37): [True: 632, False: 438]
  ------------------
  347|  1.08k|}
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
  ------------------
abstract.c:_PyLong_IsNegative:
  225|    466|{
  226|    466|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  172|    466|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  174|    466|#define SIGN_NEGATIVE 2
  ------------------
  227|    466|}
bytesobject.c:_PyLong_FromUnsignedChar:
   81|   621k|{
   82|   621k|    return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+i];
  ------------------
  |  |   59|   621k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|   621k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   621k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+i];
  ------------------
  |  |   98|   621k|#define _PY_NSMALLNEGINTS           5
  ------------------
   83|   621k|}
enumobject.c:_PyLong_GetOne:
   78|  37.4k|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   59|  37.4k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  37.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  37.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   98|  37.4k|#define _PY_NSMALLNEGINTS           5
  ------------------

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

moduleobject.c:_PyModule_GetDefOrNull:
   48|     43|static inline PyModuleDef *_PyModule_GetDefOrNull(PyObject *arg) {
   49|     43|    PyModuleObject *mod = _PyModule_CAST(arg);
  ------------------
  |  |   46|     43|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (49:27): [True: 43, False: 0]
  ------------------
   50|     43|    if (mod->md_token_is_def) {
  ------------------
  |  Branch (50:9): [True: 43, False: 0]
  ------------------
   51|     43|        return (PyModuleDef *)mod->md_token;
   52|     43|    }
   53|      0|    return NULL;
   54|     43|}
moduleobject.c:_PyModule_GetDict:
   67|    816|static inline PyObject* _PyModule_GetDict(PyObject *mod) {
   68|    816|    PyObject *dict = _PyModule_CAST(mod)->md_dict;
  ------------------
  |  |   46|    816|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    816|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (68:22): [True: 816, False: 0]
  ------------------
   69|       |    // _PyModule_GetDict(mod) must not be used after calling module_clear(mod)
   70|    816|    assert(dict != NULL);
  ------------------
  |  Branch (70:5): [True: 816, False: 0]
  ------------------
   71|    816|    return dict;  // borrowed reference
   72|    816|}
moduleobject.c:_PyModule_GetState:
   63|    162|static inline void* _PyModule_GetState(PyObject* mod) {
   64|    162|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    162|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 162, False: 0]
  ------------------
   65|    162|}
typeobject.c:_PyModule_GetToken:
   57|    438|static inline PyModuleDef *_PyModule_GetToken(PyObject *arg) {
   58|    438|    PyModuleObject *mod = _PyModule_CAST(arg);
  ------------------
  |  |   46|    438|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    438|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (58:27): [True: 438, False: 0]
  ------------------
   59|      0|    return (PyModuleDef *)mod->md_token;
   60|    438|}
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|    523|static inline void* _PyModule_GetState(PyObject* mod) {
   64|    523|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    523|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    523|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 523, False: 0]
  ------------------
   65|    523|}
_collectionsmodule.c:_PyModule_GetState:
   63|     19|static inline void* _PyModule_GetState(PyObject* mod) {
   64|     19|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|     19|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 19, False: 0]
  ------------------
   65|     19|}
_iomodule.c:_PyModule_GetState:
   63|    113|static inline void* _PyModule_GetState(PyObject* mod) {
   64|    113|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    113|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 113, False: 0]
  ------------------
   65|    113|}
bufferedio.c:_PyModule_GetState:
   63|     91|static inline void* _PyModule_GetState(PyObject* mod) {
   64|     91|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|     91|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 91, False: 0]
  ------------------
   65|     91|}
textio.c:_PyModule_GetState:
   63|      6|static inline void* _PyModule_GetState(PyObject* mod) {
   64|      6|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|      6|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 6, False: 0]
  ------------------
   65|      6|}
itertoolsmodule.c:_PyModule_GetState:
   63|     19|static inline void* _PyModule_GetState(PyObject* mod) {
   64|     19|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|     19|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 19, False: 0]
  ------------------
   65|     19|}
sre.c:_PyModule_GetState:
   63|     32|static inline void* _PyModule_GetState(PyObject* mod) {
   64|     32|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|     32|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 32, False: 0]
  ------------------
   65|     32|}
_threadmodule.c:_PyModule_GetState:
   63|    695|static inline void* _PyModule_GetState(PyObject* mod) {
   64|    695|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    695|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    695|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 695, False: 0]
  ------------------
   65|    695|}
timemodule.c:_PyModule_GetState:
   63|     22|static inline void* _PyModule_GetState(PyObject* mod) {
   64|     22|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|     22|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 22, False: 0]
  ------------------
   65|     22|}
_abc.c:_PyModule_GetState:
   63|    378|static inline void* _PyModule_GetState(PyObject* mod) {
   64|    378|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    378|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    378|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 378, False: 0]
  ------------------
   65|    378|}
_functoolsmodule.c:_PyModule_GetState:
   63|     23|static inline void* _PyModule_GetState(PyObject* mod) {
   64|     23|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|     23|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 23, False: 0]
  ------------------
   65|     23|}
_operator.c:_PyModule_GetState:
   63|     19|static inline void* _PyModule_GetState(PyObject* mod) {
   64|     19|    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|     19|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (64:12): [True: 19, False: 0]
  ------------------
   65|     19|}

listobject.c:_Py_RefcntAdd:
  135|     33|{
  136|     33|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     33|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 33, False: 0]
  |  |  ------------------
  ------------------
  137|     33|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     33|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  138|     33|        return;
  139|     33|    }
  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:
  478|  1.50M|{
  479|  1.50M|    assert(op != NULL);
  ------------------
  |  Branch (479:5): [True: 1.50M, False: 0]
  ------------------
  480|  1.50M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  1.50M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  1.50M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|  1.50M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (481:5): [True: 0, False: 1.50M]
  |  Branch (481:5): [True: 1.50M, False: 0]
  ------------------
  482|  1.50M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  307|  1.50M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  1.50M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.50M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|  1.50M|    _Py_NewReference(op);
  484|  1.50M|}
longobject.c:_PyType_HasFeature:
  284|  1.50M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|  1.50M|    return ((type->tp_flags) & feature) != 0;
  286|  1.50M|}
longobject.c:_Py_DECREF_SPECIALIZED:
  234|   160k|{
  235|   160k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   160k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   160k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   160k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 327, False: 160k]
  |  |  ------------------
  ------------------
  236|    327|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    327|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  237|    327|        return;
  238|    327|    }
  239|   160k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   160k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  240|       |#ifdef Py_REF_DEBUG
  241|       |    _Py_DEC_REFTOTAL(PyInterpreterState_Get());
  242|       |#endif
  243|   160k|    if (--op->ob_refcnt != 0) {
  ------------------
  |  Branch (243:9): [True: 273, False: 160k]
  ------------------
  244|    273|        assert(op->ob_refcnt > 0);
  ------------------
  |  Branch (244:9): [True: 273, False: 0]
  ------------------
  245|    273|    }
  246|   160k|    else {
  247|       |#ifdef Py_TRACE_REFS
  248|       |        _Py_ForgetReference(op);
  249|       |#endif
  250|       |        _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  112|   160k|    do { \
  |  |  113|   160k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|   160k|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 160k]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|   160k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 160k]
  |  |  ------------------
  ------------------
  251|   160k|        destruct(op);
  252|   160k|    }
  253|   160k|}
longobject.c:_PyObject_IsUniquelyReferenced:
  185|  39.2k|{
  186|  39.2k|#if !defined(Py_GIL_DISABLED)
  187|  39.2k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  39.2k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  39.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|  39.2k|}
dictobject.c:_Py_INCREF_MORTAL:
 1022|  32.3k|{
 1023|  32.3k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (1023:5): [True: 32.3k, False: 0]
  ------------------
 1024|  32.3k|    op->ob_refcnt++;
 1025|  32.3k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  32.3k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
 1026|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
 1027|       |    if (!_Py_IsImmortal(op)) {
 1028|       |        _Py_INCREF_IncRefTotal();
 1029|       |    }
 1030|       |#endif
 1031|  32.3k|}
dictobject.c:Py_DECREF_MORTAL:
  445|  5.37k|{
  446|  5.37k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (446:5): [True: 5.37k, False: 0]
  ------------------
  447|  5.37k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  5.37k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  448|  5.37k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (448:9): [True: 0, False: 5.37k]
  ------------------
  449|      0|        _Py_Dealloc(op);
  450|      0|    }
  451|  5.37k|}
dictobject.c:_PyObject_HashDictKey:
  839|  13.4M|{
  840|  13.4M|    if (PyUnicode_CheckExact(op)) {
  ------------------
  |  |  104|  13.4M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  13.4M|#  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: 9.38M, False: 4.07M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  841|  9.38M|        Py_hash_t hash = PyUnstable_Unicode_GET_CACHED_HASH(op);
  842|  9.38M|        if (hash != -1) {
  ------------------
  |  Branch (842:13): [True: 9.22M, False: 161k]
  ------------------
  843|  9.22M|            return hash;
  844|  9.22M|        }
  845|  9.38M|    }
  846|  4.23M|    return PyObject_Hash(op);
  847|  13.4M|}
dictobject.c:_PyObject_ResurrectStart:
  674|   935k|{
  675|   935k|    assert(Py_REFCNT(op) == 0);
  ------------------
  |  Branch (675:5): [True: 935k, False: 0]
  ------------------
  676|       |#ifdef Py_REF_DEBUG
  677|       |    _Py_IncRefTotal(_PyThreadState_GET());
  678|       |#endif
  679|       |#ifdef Py_GIL_DISABLED
  680|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
  681|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
  682|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
  683|       |#else
  684|   935k|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|   935k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|   935k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   935k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  685|   935k|#endif
  686|       |#ifdef Py_TRACE_REFS
  687|       |    _Py_ResurrectReference(op);
  688|       |#endif
  689|   935k|}
dictobject.c:_PyObject_ResurrectEnd:
  696|   935k|{
  697|       |#ifdef Py_REF_DEBUG
  698|       |    _Py_DecRefTotal(_PyThreadState_GET());
  699|       |#endif
  700|   935k|#ifndef Py_GIL_DISABLED
  701|   935k|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|   935k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|   935k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   935k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  702|   935k|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|   935k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   935k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   935k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (702:9): [True: 935k, False: 0]
  ------------------
  703|       |# ifdef Py_TRACE_REFS
  704|       |        _Py_ForgetReference(op);
  705|       |# endif
  706|   935k|        return 0;
  707|   935k|    }
  708|      0|    return 1;
  709|       |#else
  710|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  711|       |    Py_ssize_t shared = _Py_atomic_load_ssize_acquire(&op->ob_ref_shared);
  712|       |    if (_Py_IsOwnedByCurrentThread(op) && local == 1 && shared == 0) {
  713|       |        // Fast-path: object has a single refcount and is owned by this thread
  714|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 0);
  715|       |# ifdef Py_TRACE_REFS
  716|       |        _Py_ForgetReference(op);
  717|       |# endif
  718|       |        return 0;
  719|       |    }
  720|       |    // Slow-path: object has a shared refcount or is not owned by this thread
  721|       |    return _PyObject_ResurrectEndSlow(op);
  722|       |#endif
  723|   935k|}
dictobject.c:_PyObject_IsUniquelyReferenced:
  185|  1.09k|{
  186|  1.09k|#if !defined(Py_GIL_DISABLED)
  187|  1.09k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  1.09k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09k|#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.09k|}
dictobject.c:_PyObject_InlineValues:
  947|   555k|{
  948|   555k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|   555k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   555k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   555k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  949|   555k|    assert(tp->tp_basicsize > 0 && (size_t)tp->tp_basicsize % sizeof(PyObject *) == 0);
  ------------------
  |  Branch (949:5): [True: 555k, False: 0]
  |  Branch (949:5): [True: 555k, False: 0]
  ------------------
  950|   555k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (950:5): [True: 555k, False: 0]
  ------------------
  951|   555k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (951:5): [True: 555k, False: 0]
  ------------------
  952|   555k|    return (PyDictValues *)((char *)obj + tp->tp_basicsize);
  953|   555k|}
dictobject.c:_PyObject_ManagedDictPointer:
  933|   115k|{
  934|   115k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (934:5): [True: 115k, False: 0]
  ------------------
  935|   115k|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  923|   115k|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  936|   115k|}
dictobject.c:_PyObject_GetManagedDict:
  940|  51.6k|{
  941|  51.6k|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  942|  51.6k|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  150|  51.6k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  943|  51.6k|}
dictobject.c:_PyType_HasFeature:
  284|   417k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|   417k|    return ((type->tp_flags) & feature) != 0;
  286|   417k|}
object.c:_PyObject_Init:
  478|   119k|{
  479|   119k|    assert(op != NULL);
  ------------------
  |  Branch (479:5): [True: 119k, False: 0]
  ------------------
  480|   119k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|   119k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|   119k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   119k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|   119k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (481:5): [True: 0, False: 119k]
  |  Branch (481:5): [True: 119k, False: 0]
  ------------------
  482|   119k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  307|   119k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|   119k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   119k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   119k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|   119k|    _Py_NewReference(op);
  484|   119k|}
object.c:_PyObject_InitVar:
  488|  56.1k|{
  489|  56.1k|    assert(op != NULL);
  ------------------
  |  Branch (489:5): [True: 56.1k, False: 0]
  ------------------
  490|  56.1k|    assert(typeobj != &PyLong_Type);
  ------------------
  |  Branch (490:5): [True: 56.1k, False: 0]
  ------------------
  491|  56.1k|    _PyObject_Init((PyObject *)op, typeobj);
  492|  56.1k|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  56.1k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  56.1k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  493|  56.1k|}
object.c:_PyType_HasFeature:
  284|   319k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|   319k|    return ((type->tp_flags) & feature) != 0;
  286|   319k|}
object.c:_PyObject_ResurrectStart:
  674|  1.43k|{
  675|  1.43k|    assert(Py_REFCNT(op) == 0);
  ------------------
  |  Branch (675:5): [True: 1.43k, False: 0]
  ------------------
  676|       |#ifdef Py_REF_DEBUG
  677|       |    _Py_IncRefTotal(_PyThreadState_GET());
  678|       |#endif
  679|       |#ifdef Py_GIL_DISABLED
  680|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
  681|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
  682|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
  683|       |#else
  684|  1.43k|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|  1.43k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  1.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  685|  1.43k|#endif
  686|       |#ifdef Py_TRACE_REFS
  687|       |    _Py_ResurrectReference(op);
  688|       |#endif
  689|  1.43k|}
object.c:_PyObject_ResurrectEnd:
  696|  1.43k|{
  697|       |#ifdef Py_REF_DEBUG
  698|       |    _Py_DecRefTotal(_PyThreadState_GET());
  699|       |#endif
  700|  1.43k|#ifndef Py_GIL_DISABLED
  701|  1.43k|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|  1.43k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  1.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  702|  1.43k|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|  1.43k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (702:9): [True: 1.43k, False: 0]
  ------------------
  703|       |# ifdef Py_TRACE_REFS
  704|       |        _Py_ForgetReference(op);
  705|       |# endif
  706|  1.43k|        return 0;
  707|  1.43k|    }
  708|      0|    return 1;
  709|       |#else
  710|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  711|       |    Py_ssize_t shared = _Py_atomic_load_ssize_acquire(&op->ob_ref_shared);
  712|       |    if (_Py_IsOwnedByCurrentThread(op) && local == 1 && shared == 0) {
  713|       |        // Fast-path: object has a single refcount and is owned by this thread
  714|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 0);
  715|       |# ifdef Py_TRACE_REFS
  716|       |        _Py_ForgetReference(op);
  717|       |# endif
  718|       |        return 0;
  719|       |    }
  720|       |    // Slow-path: object has a shared refcount or is not owned by this thread
  721|       |    return _PyObject_ResurrectEndSlow(op);
  722|       |#endif
  723|  1.43k|}
object.c:_PyObject_GetManagedDict:
  940|  41.3k|{
  941|  41.3k|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  942|  41.3k|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  150|  41.3k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  943|  41.3k|}
object.c:_PyObject_ManagedDictPointer:
  933|  42.6k|{
  934|  42.6k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (934:5): [True: 42.6k, False: 0]
  ------------------
  935|  42.6k|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  923|  42.6k|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  936|  42.6k|}
object.c:Py_DECREF_MORTAL:
  445|  1.91M|{
  446|  1.91M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (446:5): [True: 1.91M, False: 0]
  ------------------
  447|  1.91M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.91M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  448|  1.91M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (448:9): [True: 0, False: 1.91M]
  ------------------
  449|      0|        _Py_Dealloc(op);
  450|      0|    }
  451|  1.91M|}
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|    503|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|    503|    return ((type->tp_flags) & feature) != 0;
  286|    503|}
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|  55.2M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|  55.2M|    return ((type->tp_flags) & feature) != 0;
  286|  55.2M|}
tupleobject.c:_Py_RefcntAdd:
  135|  57.4k|{
  136|  57.4k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  57.4k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  57.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  57.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.12k, False: 56.3k]
  |  |  ------------------
  ------------------
  137|  1.12k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.12k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  138|  1.12k|        return;
  139|  1.12k|    }
  140|  56.3k|#ifndef Py_GIL_DISABLED
  141|  56.3k|    Py_ssize_t refcnt = _Py_REFCNT(op);
  142|  56.3k|    Py_ssize_t new_refcnt = refcnt + n;
  143|  56.3k|    if (new_refcnt >= (Py_ssize_t)_Py_IMMORTAL_MINIMUM_REFCNT) {
  ------------------
  |  |   48|  56.3k|#define _Py_IMMORTAL_MINIMUM_REFCNT (1ULL << 31)
  ------------------
  |  Branch (143:9): [True: 0, False: 56.3k]
  ------------------
  144|      0|        new_refcnt = _Py_IMMORTAL_INITIAL_REFCNT;
  ------------------
  |  |   47|      0|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  145|      0|    }
  146|  56.3k|#  if SIZEOF_VOID_P > 4
  147|  56.3k|    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|  56.3k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  56.3k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  178|  56.3k|}
typeobject.c:_Py_TryIncref:
  728|      8|{
  729|       |#ifdef Py_GIL_DISABLED
  730|       |    return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
  731|       |#else
  732|      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 (732:9): [True: 8, False: 0]
  ------------------
  733|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  734|      8|        return 1;
  735|      8|    }
  736|      0|    return 0;
  737|      8|#endif
  738|      8|}
typeobject.c:_PyType_HasFeature:
  284|  6.25M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|  6.25M|    return ((type->tp_flags) & feature) != 0;
  286|  6.25M|}
typeobject.c:_PyType_PreHeaderSize:
  851|  1.44M|{
  852|  1.44M|    return (
  853|  1.44M|#ifndef Py_GIL_DISABLED
  854|  1.44M|        (size_t)_PyType_IS_GC(tp) * sizeof(PyGC_Head) +
  ------------------
  |  |  820|  1.44M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  1.44M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  ------------------
  855|  1.44M|#endif
  856|  1.44M|        (size_t)_PyType_HasFeature(tp, Py_TPFLAGS_PREHEADER) * 2 * sizeof(PyObject *)
  ------------------
  |  |  487|  1.44M|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|  1.44M|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|  1.44M|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
  857|  1.44M|    );
  858|  1.44M|}
typeobject.c:_PyObject_Init:
  478|  1.44M|{
  479|  1.44M|    assert(op != NULL);
  ------------------
  |  Branch (479:5): [True: 1.44M, False: 0]
  ------------------
  480|  1.44M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  1.44M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  1.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|  1.44M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (481:5): [True: 467k, False: 978k]
  |  Branch (481:5): [True: 978k, False: 0]
  ------------------
  482|  1.44M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  307|  1.44M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  1.44M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|  1.44M|    _Py_NewReference(op);
  484|  1.44M|}
typeobject.c:_PyObject_InitVar:
  488|  1.19k|{
  489|  1.19k|    assert(op != NULL);
  ------------------
  |  Branch (489:5): [True: 1.19k, False: 0]
  ------------------
  490|  1.19k|    assert(typeobj != &PyLong_Type);
  ------------------
  |  Branch (490:5): [True: 1.19k, False: 0]
  ------------------
  491|  1.19k|    _PyObject_Init((PyObject *)op, typeobj);
  492|  1.19k|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  1.19k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  1.19k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  493|  1.19k|}
typeobject.c:Py_DECREF_MORTAL:
  445|   246k|{
  446|   246k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (446:5): [True: 246k, False: 0]
  ------------------
  447|   246k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   246k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  448|   246k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (448:9): [True: 0, False: 246k]
  ------------------
  449|      0|        _Py_Dealloc(op);
  450|      0|    }
  451|   246k|}
typeobject.c:_PyObject_HashDictKey:
  839|  82.9k|{
  840|  82.9k|    if (PyUnicode_CheckExact(op)) {
  ------------------
  |  |  104|  82.9k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  82.9k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  82.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  82.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 82.9k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  841|  82.9k|        Py_hash_t hash = PyUnstable_Unicode_GET_CACHED_HASH(op);
  842|  82.9k|        if (hash != -1) {
  ------------------
  |  Branch (842:13): [True: 77.2k, False: 5.66k]
  ------------------
  843|  77.2k|            return hash;
  844|  77.2k|        }
  845|  82.9k|    }
  846|  5.66k|    return PyObject_Hash(op);
  847|  82.9k|}
typeobject.c:_Py_INCREF_MORTAL:
 1022|  77.9k|{
 1023|  77.9k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (1023:5): [True: 77.9k, False: 0]
  ------------------
 1024|  77.9k|    op->ob_refcnt++;
 1025|  77.9k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  77.9k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
 1026|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
 1027|       |    if (!_Py_IsImmortal(op)) {
 1028|       |        _Py_INCREF_IncRefTotal();
 1029|       |    }
 1030|       |#endif
 1031|  77.9k|}
typeobject.c:_PyObject_XDecRefDelayed:
  745|      5|{
  746|      5|    Py_XDECREF(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  747|      5|}
unicodeobject.c:_PyObject_Init:
  478|  23.4M|{
  479|  23.4M|    assert(op != NULL);
  ------------------
  |  Branch (479:5): [True: 23.4M, False: 0]
  ------------------
  480|  23.4M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  23.4M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  23.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|  23.4M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (481:5): [True: 0, False: 23.4M]
  |  Branch (481:5): [True: 23.4M, False: 0]
  ------------------
  482|  23.4M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  307|  23.4M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  23.4M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  23.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  23.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|  23.4M|    _Py_NewReference(op);
  484|  23.4M|}
unicodeobject.c:_PyType_HasFeature:
  284|  23.4M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|  23.4M|    return ((type->tp_flags) & feature) != 0;
  286|  23.4M|}
unicodeobject.c:_PyObject_IsUniquelyReferenced:
  185|   231k|{
  186|   231k|#if !defined(Py_GIL_DISABLED)
  187|   231k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|   231k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   231k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   231k|#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|   231k|}
weakrefobject.c:_PyType_SUPPORTS_WEAKREFS:
  869|   469k|static inline int _PyType_SUPPORTS_WEAKREFS(PyTypeObject *type) {
  870|   469k|    return (type->tp_weaklistoffset != 0);
  871|   469k|}
weakrefobject.c:_PyObject_GET_WEAKREFS_LISTPTR:
  785|   470k|{
  786|   470k|    if (PyType_Check(op) &&
  ------------------
  |  |  766|   940k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   470k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   470k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 1.74k, False: 468k]
  |  |  ------------------
  ------------------
  787|  1.74k|            ((PyTypeObject *)op)->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.74k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (787:13): [True: 592, False: 1.14k]
  ------------------
  788|    592|        PyInterpreterState *interp = _PyInterpreterState_GET();
  789|    592|        managed_static_type_state *state = _PyStaticType_GetState(
  790|    592|                                                interp, (PyTypeObject *)op);
  791|    592|        return _PyStaticType_GET_WEAKREFS_LISTPTR(state);
  792|    592|    }
  793|       |    // Essentially _PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET():
  794|   469k|    Py_ssize_t offset = Py_TYPE(op)->tp_weaklistoffset;
  ------------------
  |  |  213|   469k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   469k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   469k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  795|   469k|    return (PyObject **)((char *)op + offset);
  796|   470k|}
weakrefobject.c:_Py_TryIncref:
  728|  1.62k|{
  729|       |#ifdef Py_GIL_DISABLED
  730|       |    return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
  731|       |#else
  732|  1.62k|    if (Py_REFCNT(op) > 0) {
  ------------------
  |  |  119|  1.62k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (732:9): [True: 1.62k, False: 0]
  ------------------
  733|  1.62k|        Py_INCREF(op);
  ------------------
  |  |  310|  1.62k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  734|  1.62k|        return 1;
  735|  1.62k|    }
  736|      0|    return 0;
  737|  1.62k|#endif
  738|  1.62k|}
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:
  445|  62.3M|{
  446|  62.3M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (446:5): [True: 62.3M, False: 0]
  ------------------
  447|  62.3M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  62.3M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  448|  62.3M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (448:9): [True: 24.5M, False: 37.8M]
  ------------------
  449|  24.5M|        _Py_Dealloc(op);
  450|  24.5M|    }
  451|  62.3M|}
ceval.c:Py_DECREF_MORTAL_SPECIALIZED:
  455|  10.3M|{
  456|  10.3M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (456:5): [True: 10.3M, False: 0]
  ------------------
  457|  10.3M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  10.3M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  458|  10.3M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (458:9): [True: 10.1M, False: 138k]
  ------------------
  459|       |        _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  112|  10.1M|    do { \
  |  |  113|  10.1M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|  10.1M|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 10.1M]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|  10.1M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 10.1M]
  |  |  ------------------
  ------------------
  460|  10.1M|        destruct(op);
  461|  10.1M|    }
  462|  10.3M|}
ceval.c:_Py_INCREF_MORTAL:
 1022|  44.2M|{
 1023|  44.2M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (1023:5): [True: 44.2M, False: 0]
  ------------------
 1024|  44.2M|    op->ob_refcnt++;
 1025|  44.2M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  44.2M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
 1026|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
 1027|       |    if (!_Py_IsImmortal(op)) {
 1028|       |        _Py_INCREF_IncRefTotal();
 1029|       |    }
 1030|       |#endif
 1031|  44.2M|}
ceval.c:_PyObject_InlineValues:
  947|  1.39M|{
  948|  1.39M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  1.39M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.39M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  949|  1.39M|    assert(tp->tp_basicsize > 0 && (size_t)tp->tp_basicsize % sizeof(PyObject *) == 0);
  ------------------
  |  Branch (949:5): [True: 1.39M, False: 0]
  |  Branch (949:5): [True: 1.39M, False: 0]
  ------------------
  950|  1.39M|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (950:5): [True: 1.39M, False: 0]
  ------------------
  951|  1.39M|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (951:5): [True: 1.39M, False: 0]
  ------------------
  952|  1.39M|    return (PyDictValues *)((char *)obj + tp->tp_basicsize);
  953|  1.39M|}
ceval.c:_PyType_HasFeature:
  284|  3.66M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|  3.66M|    return ((type->tp_flags) & feature) != 0;
  286|  3.66M|}
ceval.c:_PyObject_GetManagedDict:
  940|   893k|{
  941|   893k|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  942|   893k|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  150|   893k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  943|   893k|}
ceval.c:_PyObject_ManagedDictPointer:
  933|   893k|{
  934|   893k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (934:5): [True: 893k, False: 0]
  ------------------
  935|   893k|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  923|   893k|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  936|   893k|}
frame.c:Py_DECREF_MORTAL:
  445|  10.0M|{
  446|  10.0M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (446:5): [True: 10.0M, False: 0]
  ------------------
  447|  10.0M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  10.0M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  448|  10.0M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (448:9): [True: 2.14M, False: 7.90M]
  ------------------
  449|  2.14M|        _Py_Dealloc(op);
  450|  2.14M|    }
  451|  10.0M|}
frame.c:_PyObject_IsUniquelyReferenced:
  185|  23.2k|{
  186|  23.2k|#if !defined(Py_GIL_DISABLED)
  187|  23.2k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  23.2k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  23.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|       |#else
  189|       |    // NOTE: the entire ob_ref_shared field must be zero, including flags, to
  190|       |    // ensure that other threads cannot concurrently create new references to
  191|       |    // this object.
  192|       |    return (_Py_IsOwnedByCurrentThread(ob) &&
  193|       |            _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
  194|       |            _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
  195|       |#endif
  196|  23.2k|}
frame.c:_Py_INCREF_MORTAL:
 1022|  4.42k|{
 1023|  4.42k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (1023:5): [True: 4.42k, False: 0]
  ------------------
 1024|  4.42k|    op->ob_refcnt++;
 1025|  4.42k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  4.42k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
 1026|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
 1027|       |    if (!_Py_IsImmortal(op)) {
 1028|       |        _Py_INCREF_IncRefTotal();
 1029|       |    }
 1030|       |#endif
 1031|  4.42k|}
gc.c:_PyType_SUPPORTS_WEAKREFS:
  869|  6.53k|static inline int _PyType_SUPPORTS_WEAKREFS(PyTypeObject *type) {
  870|  6.53k|    return (type->tp_weaklistoffset != 0);
  871|  6.53k|}
gc.c:_PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET:
  812|  1.06k|{
  813|  1.06k|    assert(!PyType_Check(op) ||
  ------------------
  |  Branch (813:5): [True: 1.04k, False: 16]
  |  Branch (813:5): [True: 16, False: 0]
  ------------------
  814|  1.06k|            ((PyTypeObject *)op)->tp_flags & Py_TPFLAGS_HEAPTYPE);
  815|  1.06k|    Py_ssize_t offset = Py_TYPE(op)->tp_weaklistoffset;
  ------------------
  |  |  213|  1.06k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  816|  1.06k|    return (PyWeakReference **)((char *)op + offset);
  817|  1.06k|}
gc.c:_PyObject_IS_GC:
  825|  1.03G|{
  826|  1.03G|    PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  213|  1.03G|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.03G|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.03G|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  827|  1.03G|    return (_PyType_IS_GC(type)
  ------------------
  |  |  820|  2.07G|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  1.03G|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (820:26): [True: 347M, False: 690M]
  |  |  ------------------
  ------------------
  828|   347M|            && (type->tp_is_gc == NULL || type->tp_is_gc(obj)));
  ------------------
  |  Branch (828:17): [True: 208M, False: 139M]
  |  Branch (828:43): [True: 142k, False: 139M]
  ------------------
  829|  1.03G|}
gc.c:_PyType_PreHeaderSize:
  851|   100M|{
  852|   100M|    return (
  853|   100M|#ifndef Py_GIL_DISABLED
  854|   100M|        (size_t)_PyType_IS_GC(tp) * sizeof(PyGC_Head) +
  ------------------
  |  |  820|   100M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|   100M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  ------------------
  855|   100M|#endif
  856|   100M|        (size_t)_PyType_HasFeature(tp, Py_TPFLAGS_PREHEADER) * 2 * sizeof(PyObject *)
  ------------------
  |  |  487|   100M|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|   100M|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|   100M|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
  857|   100M|    );
  858|   100M|}
gc.c:_PyType_HasFeature:
  284|  1.28G|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|  1.28G|    return ((type->tp_flags) & feature) != 0;
  286|  1.28G|}
gc.c:_PyObject_Init:
  478|  49.5M|{
  479|  49.5M|    assert(op != NULL);
  ------------------
  |  Branch (479:5): [True: 49.5M, False: 0]
  ------------------
  480|  49.5M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  49.5M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  49.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  49.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|  49.5M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (481:5): [True: 527, False: 49.5M]
  |  Branch (481:5): [True: 49.5M, False: 0]
  ------------------
  482|  49.5M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  307|  49.5M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  49.5M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  49.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  49.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|  49.5M|    _Py_NewReference(op);
  484|  49.5M|}
gc.c:_PyObject_InitVar:
  488|  48.7M|{
  489|  48.7M|    assert(op != NULL);
  ------------------
  |  Branch (489:5): [True: 48.7M, False: 0]
  ------------------
  490|  48.7M|    assert(typeobj != &PyLong_Type);
  ------------------
  |  Branch (490:5): [True: 48.7M, False: 0]
  ------------------
  491|  48.7M|    _PyObject_Init((PyObject *)op, typeobj);
  492|  48.7M|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  48.7M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  48.7M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  493|  48.7M|}
import.c:_Py_TryIncref:
  728|      2|{
  729|       |#ifdef Py_GIL_DISABLED
  730|       |    return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
  731|       |#else
  732|      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 (732:9): [True: 2, False: 0]
  ------------------
  733|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  734|      2|        return 1;
  735|      2|    }
  736|      0|    return 0;
  737|      2|#endif
  738|      2|}
intrinsics.c:_PyObject_IsUniquelyReferenced:
  185|    156|{
  186|    156|#if !defined(Py_GIL_DISABLED)
  187|    156|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|    156|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    156|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    156|#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|    156|}
specialize.c:_PyObject_GetManagedDict:
  940|    625|{
  941|    625|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  942|    625|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  150|    625|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  943|    625|}
specialize.c:_PyObject_ManagedDictPointer:
  933|    625|{
  934|    625|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (934:5): [True: 625, False: 0]
  ------------------
  935|    625|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  923|    625|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  936|    625|}
specialize.c:_PyObject_InlineValues:
  947|  1.17k|{
  948|  1.17k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  1.17k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  949|  1.17k|    assert(tp->tp_basicsize > 0 && (size_t)tp->tp_basicsize % sizeof(PyObject *) == 0);
  ------------------
  |  Branch (949:5): [True: 1.17k, False: 0]
  |  Branch (949:5): [True: 1.17k, False: 0]
  ------------------
  950|  1.17k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (950:5): [True: 1.17k, False: 0]
  ------------------
  951|  1.17k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (951:5): [True: 1.17k, False: 0]
  ------------------
  952|  1.17k|    return (PyDictValues *)((char *)obj + tp->tp_basicsize);
  953|  1.17k|}
typecache.c:_Py_INCREF_MORTAL:
 1022|  2.31M|{
 1023|  2.31M|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (1023:5): [True: 2.31M, False: 0]
  ------------------
 1024|  2.31M|    op->ob_refcnt++;
 1025|  2.31M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.31M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
 1026|       |#if defined(Py_REF_DEBUG) && !defined(Py_LIMITED_API)
 1027|       |    if (!_Py_IsImmortal(op)) {
 1028|       |        _Py_INCREF_IncRefTotal();
 1029|       |    }
 1030|       |#endif
 1031|  2.31M|}
_datetimemodule.c:_PyObject_Init:
  478|      8|{
  479|      8|    assert(op != NULL);
  ------------------
  |  Branch (479:5): [True: 8, False: 0]
  ------------------
  480|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|      8|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (481:5): [True: 0, False: 8]
  |  Branch (481:5): [True: 8, False: 0]
  ------------------
  482|      8|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  307|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|      8|    _Py_NewReference(op);
  484|      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|}
bytesobject.c:_PyObject_InitVar:
  488|  2.52M|{
  489|  2.52M|    assert(op != NULL);
  ------------------
  |  Branch (489:5): [True: 2.52M, False: 0]
  ------------------
  490|  2.52M|    assert(typeobj != &PyLong_Type);
  ------------------
  |  Branch (490:5): [True: 2.52M, False: 0]
  ------------------
  491|  2.52M|    _PyObject_Init((PyObject *)op, typeobj);
  492|  2.52M|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  2.52M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  2.52M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  493|  2.52M|}
bytesobject.c:_PyObject_Init:
  478|  2.52M|{
  479|  2.52M|    assert(op != NULL);
  ------------------
  |  Branch (479:5): [True: 2.52M, False: 0]
  ------------------
  480|  2.52M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  2.52M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  2.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|  2.52M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (481:5): [True: 0, False: 2.52M]
  |  Branch (481:5): [True: 2.52M, False: 0]
  ------------------
  482|  2.52M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  307|  2.52M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  2.52M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|  2.52M|    _Py_NewReference(op);
  484|  2.52M|}
bytesobject.c:_PyType_HasFeature:
  284|  2.52M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|  2.52M|    return ((type->tp_flags) & feature) != 0;
  286|  2.52M|}
bytesobject.c:_PyObject_IsUniquelyReferenced:
  185|   417k|{
  186|   417k|#if !defined(Py_GIL_DISABLED)
  187|   417k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|   417k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   417k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   417k|#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|   417k|}
call.c:Py_DECREF_MORTAL:
  445|   147k|{
  446|   147k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (446:5): [True: 147k, False: 0]
  ------------------
  447|   147k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   147k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  448|   147k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (448:9): [True: 90, False: 147k]
  ------------------
  449|     90|        _Py_Dealloc(op);
  450|     90|    }
  451|   147k|}
codeobject.c:_PyObject_ResurrectStart:
  674|  53.5k|{
  675|  53.5k|    assert(Py_REFCNT(op) == 0);
  ------------------
  |  Branch (675:5): [True: 53.5k, False: 0]
  ------------------
  676|       |#ifdef Py_REF_DEBUG
  677|       |    _Py_IncRefTotal(_PyThreadState_GET());
  678|       |#endif
  679|       |#ifdef Py_GIL_DISABLED
  680|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
  681|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
  682|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
  683|       |#else
  684|  53.5k|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|  53.5k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  53.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  685|  53.5k|#endif
  686|       |#ifdef Py_TRACE_REFS
  687|       |    _Py_ResurrectReference(op);
  688|       |#endif
  689|  53.5k|}
codeobject.c:_PyObject_ResurrectEnd:
  696|  53.5k|{
  697|       |#ifdef Py_REF_DEBUG
  698|       |    _Py_DecRefTotal(_PyThreadState_GET());
  699|       |#endif
  700|  53.5k|#ifndef Py_GIL_DISABLED
  701|  53.5k|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|  53.5k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  53.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  702|  53.5k|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|  53.5k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  53.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (702:9): [True: 53.5k, False: 0]
  ------------------
  703|       |# ifdef Py_TRACE_REFS
  704|       |        _Py_ForgetReference(op);
  705|       |# endif
  706|  53.5k|        return 0;
  707|  53.5k|    }
  708|      0|    return 1;
  709|       |#else
  710|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  711|       |    Py_ssize_t shared = _Py_atomic_load_ssize_acquire(&op->ob_ref_shared);
  712|       |    if (_Py_IsOwnedByCurrentThread(op) && local == 1 && shared == 0) {
  713|       |        // Fast-path: object has a single refcount and is owned by this thread
  714|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 0);
  715|       |# ifdef Py_TRACE_REFS
  716|       |        _Py_ForgetReference(op);
  717|       |# endif
  718|       |        return 0;
  719|       |    }
  720|       |    // Slow-path: object has a shared refcount or is not owned by this thread
  721|       |    return _PyObject_ResurrectEndSlow(op);
  722|       |#endif
  723|  53.5k|}
complexobject.c:_PyObject_Init:
  478|   187k|{
  479|   187k|    assert(op != NULL);
  ------------------
  |  Branch (479:5): [True: 187k, False: 0]
  ------------------
  480|   187k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|   187k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|   187k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   187k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|   187k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (481:5): [True: 0, False: 187k]
  |  Branch (481:5): [True: 187k, False: 0]
  ------------------
  482|   187k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  307|   187k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|   187k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   187k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   187k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|   187k|    _Py_NewReference(op);
  484|   187k|}
complexobject.c:_PyType_HasFeature:
  284|   187k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|   187k|    return ((type->tp_flags) & feature) != 0;
  286|   187k|}
enumobject.c:_PyObject_IsUniquelyReferenced:
  185|   620k|{
  186|   620k|#if !defined(Py_GIL_DISABLED)
  187|   620k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|   620k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   620k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   620k|#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|   620k|}
genobject.c:Py_DECREF_MORTAL:
  445|  1.26k|{
  446|  1.26k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (446:5): [True: 1.26k, False: 0]
  ------------------
  447|  1.26k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.26k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  448|  1.26k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (448:9): [True: 0, False: 1.26k]
  ------------------
  449|      0|        _Py_Dealloc(op);
  450|      0|    }
  451|  1.26k|}
floatobject.c:_PyObject_Init:
  478|   166k|{
  479|   166k|    assert(op != NULL);
  ------------------
  |  Branch (479:5): [True: 166k, False: 0]
  ------------------
  480|   166k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|   166k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|   166k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   166k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|   166k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  ------------------
  |  Branch (481:5): [True: 0, False: 166k]
  |  Branch (481:5): [True: 166k, False: 0]
  ------------------
  482|   166k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  307|   166k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|   166k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   166k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   166k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|   166k|    _Py_NewReference(op);
  484|   166k|}
floatobject.c:_PyType_HasFeature:
  284|   166k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  285|   166k|    return ((type->tp_flags) & feature) != 0;
  286|   166k|}
frameobject.c:Py_DECREF_MORTAL:
  445|  23.6k|{
  446|  23.6k|    assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (446:5): [True: 23.6k, False: 0]
  ------------------
  447|  23.6k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  23.6k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  448|  23.6k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (448:9): [True: 8.24k, False: 15.3k]
  ------------------
  449|  8.24k|        _Py_Dealloc(op);
  450|  8.24k|    }
  451|  23.6k|}
funcobject.c:_PyObject_ResurrectStart:
  674|  2.85k|{
  675|  2.85k|    assert(Py_REFCNT(op) == 0);
  ------------------
  |  Branch (675:5): [True: 2.85k, False: 0]
  ------------------
  676|       |#ifdef Py_REF_DEBUG
  677|       |    _Py_IncRefTotal(_PyThreadState_GET());
  678|       |#endif
  679|       |#ifdef Py_GIL_DISABLED
  680|       |    _Py_atomic_store_uintptr_relaxed(&op->ob_tid, _Py_ThreadId());
  681|       |    _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 1);
  682|       |    _Py_atomic_store_ssize_relaxed(&op->ob_ref_shared, 0);
  683|       |#else
  684|  2.85k|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|  2.85k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  2.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  685|  2.85k|#endif
  686|       |#ifdef Py_TRACE_REFS
  687|       |    _Py_ResurrectReference(op);
  688|       |#endif
  689|  2.85k|}
funcobject.c:_PyObject_ResurrectEnd:
  696|  2.85k|{
  697|       |#ifdef Py_REF_DEBUG
  698|       |    _Py_DecRefTotal(_PyThreadState_GET());
  699|       |#endif
  700|  2.85k|#ifndef Py_GIL_DISABLED
  701|  2.85k|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|  2.85k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  2.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  702|  2.85k|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|  2.85k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (702:9): [True: 2.85k, False: 0]
  ------------------
  703|       |# ifdef Py_TRACE_REFS
  704|       |        _Py_ForgetReference(op);
  705|       |# endif
  706|  2.85k|        return 0;
  707|  2.85k|    }
  708|      0|    return 1;
  709|       |#else
  710|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  711|       |    Py_ssize_t shared = _Py_atomic_load_ssize_acquire(&op->ob_ref_shared);
  712|       |    if (_Py_IsOwnedByCurrentThread(op) && local == 1 && shared == 0) {
  713|       |        // Fast-path: object has a single refcount and is owned by this thread
  714|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, 0);
  715|       |# ifdef Py_TRACE_REFS
  716|       |        _Py_ForgetReference(op);
  717|       |# endif
  718|       |        return 0;
  719|       |    }
  720|       |    // Slow-path: object has a shared refcount or is not owned by this thread
  721|       |    return _PyObject_ResurrectEndSlow(op);
  722|       |#endif
  723|  2.85k|}

typeobject.c:_PyObject_MallocWithType:
   40|  1.44M|{
   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|  1.44M|    void *mem = PyObject_Malloc(size);
   47|       |#ifdef Py_GIL_DISABLED
   48|       |    m->current_object_heap = &m->heaps[_Py_MIMALLOC_HEAP_OBJECT];
   49|       |#endif
   50|  1.44M|    return mem;
   51|  1.44M|}
gc.c:_PyObject_MallocWithType:
   40|  49.5M|{
   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|  49.5M|    void *mem = PyObject_Malloc(size);
   47|       |#ifdef Py_GIL_DISABLED
   48|       |    m->current_object_heap = &m->heaps[_Py_MIMALLOC_HEAP_OBJECT];
   49|       |#endif
   50|  49.5M|    return mem;
   51|  49.5M|}
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|  5.88M|int _PyOpcode_num_popped(int opcode, int oparg)  {
   38|  5.88M|    switch(opcode) {
   39|      0|        case ANNOTATIONS_PLACEHOLDER:
  ------------------
  |  |  244|      0|#define ANNOTATIONS_PLACEHOLDER                256
  ------------------
  |  Branch (39:9): [True: 0, False: 5.88M]
  ------------------
   40|      0|            return 0;
   41|   468k|        case BINARY_OP:
  ------------------
  |  |   55|   468k|#define BINARY_OP                               42
  ------------------
  |  Branch (41:9): [True: 468k, False: 5.41M]
  ------------------
   42|   468k|            return 2;
   43|      0|        case BINARY_OP_ADD_FLOAT:
  ------------------
  |  |  131|      0|#define BINARY_OP_ADD_FLOAT                    129
  ------------------
  |  Branch (43:9): [True: 0, False: 5.88M]
  ------------------
   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: 5.88M]
  ------------------
   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: 5.88M]
  ------------------
   48|      0|            return 2;
   49|      0|        case BINARY_OP_EXTEND:
  ------------------
  |  |  134|      0|#define BINARY_OP_EXTEND                       132
  ------------------
  |  Branch (49:9): [True: 0, False: 5.88M]
  ------------------
   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: 5.88M]
  ------------------
   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: 5.88M]
  ------------------
   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: 5.88M]
  ------------------
   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: 5.88M]
  ------------------
   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: 5.88M]
  ------------------
   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: 5.88M]
  ------------------
   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: 5.88M]
  ------------------
   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: 5.88M]
  ------------------
   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: 5.88M]
  ------------------
   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: 5.88M]
  ------------------
   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: 5.88M]
  ------------------
   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: 5.88M]
  ------------------
   74|      0|            return 2;
   75|  1.15k|        case BINARY_SLICE:
  ------------------
  |  |   14|  1.15k|#define BINARY_SLICE                             1
  ------------------
  |  Branch (75:9): [True: 1.15k, False: 5.88M]
  ------------------
   76|  1.15k|            return 3;
   77|  2.92k|        case BUILD_INTERPOLATION:
  ------------------
  |  |   56|  2.92k|#define BUILD_INTERPOLATION                     43
  ------------------
  |  Branch (77:9): [True: 2.92k, False: 5.88M]
  ------------------
   78|  2.92k|            return 2 + (oparg & 1);
   79|  9.62k|        case BUILD_LIST:
  ------------------
  |  |   57|  9.62k|#define BUILD_LIST                              44
  ------------------
  |  Branch (79:9): [True: 9.62k, False: 5.87M]
  ------------------
   80|  9.62k|            return oparg;
   81|  25.6k|        case BUILD_MAP:
  ------------------
  |  |   58|  25.6k|#define BUILD_MAP                               45
  ------------------
  |  Branch (81:9): [True: 25.6k, False: 5.85M]
  ------------------
   82|  25.6k|            return oparg*2;
   83|  21.5k|        case BUILD_SET:
  ------------------
  |  |   59|  21.5k|#define BUILD_SET                               46
  ------------------
  |  Branch (83:9): [True: 21.5k, False: 5.86M]
  ------------------
   84|  21.5k|            return oparg;
   85|  9.92k|        case BUILD_SLICE:
  ------------------
  |  |   60|  9.92k|#define BUILD_SLICE                             47
  ------------------
  |  Branch (85:9): [True: 9.92k, False: 5.87M]
  ------------------
   86|  9.92k|            return oparg;
   87|  3.28k|        case BUILD_STRING:
  ------------------
  |  |   61|  3.28k|#define BUILD_STRING                            48
  ------------------
  |  Branch (87:9): [True: 3.28k, False: 5.88M]
  ------------------
   88|  3.28k|            return oparg;
   89|  1.88k|        case BUILD_TEMPLATE:
  ------------------
  |  |   15|  1.88k|#define BUILD_TEMPLATE                           2
  ------------------
  |  Branch (89:9): [True: 1.88k, False: 5.88M]
  ------------------
   90|  1.88k|            return 2;
   91|  67.0k|        case BUILD_TUPLE:
  ------------------
  |  |   62|  67.0k|#define BUILD_TUPLE                             49
  ------------------
  |  Branch (91:9): [True: 67.0k, False: 5.81M]
  ------------------
   92|  67.0k|            return oparg;
   93|      0|        case CACHE:
  ------------------
  |  |   13|      0|#define CACHE                                    0
  ------------------
  |  Branch (93:9): [True: 0, False: 5.88M]
  ------------------
   94|      0|            return 0;
   95|  93.3k|        case CALL:
  ------------------
  |  |   63|  93.3k|#define CALL                                    50
  ------------------
  |  Branch (95:9): [True: 93.3k, False: 5.79M]
  ------------------
   96|  93.3k|            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: 5.88M]
  ------------------
   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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  102|      0|            return 2 + oparg;
  103|      0|        case CALL_BUILTIN_CLASS:
  ------------------
  |  |  149|      0|#define CALL_BUILTIN_CLASS                     147
  ------------------
  |  Branch (103:9): [True: 0, False: 5.88M]
  ------------------
  104|      0|            return 2 + oparg;
  105|      0|        case CALL_BUILTIN_FAST:
  ------------------
  |  |  150|      0|#define CALL_BUILTIN_FAST                      148
  ------------------
  |  Branch (105:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  108|      0|            return 2 + oparg;
  109|      0|        case CALL_BUILTIN_O:
  ------------------
  |  |  152|      0|#define CALL_BUILTIN_O                         150
  ------------------
  |  Branch (109:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  112|      0|            return 4;
  113|      0|        case CALL_EX_PY:
  ------------------
  |  |  154|      0|#define CALL_EX_PY                             152
  ------------------
  |  Branch (113:9): [True: 0, False: 5.88M]
  ------------------
  114|      0|            return 4;
  115|  3.95k|        case CALL_FUNCTION_EX:
  ------------------
  |  |   17|  3.95k|#define CALL_FUNCTION_EX                         4
  ------------------
  |  Branch (115:9): [True: 3.95k, False: 5.88M]
  ------------------
  116|  3.95k|            return 4;
  117|  76.9k|        case CALL_INTRINSIC_1:
  ------------------
  |  |   64|  76.9k|#define CALL_INTRINSIC_1                        51
  ------------------
  |  Branch (117:9): [True: 76.9k, False: 5.80M]
  ------------------
  118|  76.9k|            return 1;
  119|  18.7k|        case CALL_INTRINSIC_2:
  ------------------
  |  |   65|  18.7k|#define CALL_INTRINSIC_2                        52
  ------------------
  |  Branch (119:9): [True: 18.7k, False: 5.86M]
  ------------------
  120|  18.7k|            return 2;
  121|      0|        case CALL_ISINSTANCE:
  ------------------
  |  |  155|      0|#define CALL_ISINSTANCE                        153
  ------------------
  |  Branch (121:9): [True: 0, False: 5.88M]
  ------------------
  122|      0|            return 4;
  123|    643|        case CALL_KW:
  ------------------
  |  |   66|    643|#define CALL_KW                                 53
  ------------------
  |  Branch (123:9): [True: 643, False: 5.88M]
  ------------------
  124|    643|            return 3 + oparg;
  125|      0|        case CALL_KW_BOUND_METHOD:
  ------------------
  |  |  156|      0|#define CALL_KW_BOUND_METHOD                   154
  ------------------
  |  Branch (125:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  128|      0|            return 3 + oparg;
  129|      0|        case CALL_KW_PY:
  ------------------
  |  |  158|      0|#define CALL_KW_PY                             156
  ------------------
  |  Branch (129:9): [True: 0, False: 5.88M]
  ------------------
  130|      0|            return 3 + oparg;
  131|      0|        case CALL_LEN:
  ------------------
  |  |  159|      0|#define CALL_LEN                               157
  ------------------
  |  Branch (131:9): [True: 0, False: 5.88M]
  ------------------
  132|      0|            return 3;
  133|      0|        case CALL_LIST_APPEND:
  ------------------
  |  |  160|      0|#define CALL_LIST_APPEND                       158
  ------------------
  |  Branch (133:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  146|      0|            return 2 + oparg;
  147|      0|        case CALL_PY_GENERAL:
  ------------------
  |  |  167|      0|#define CALL_PY_GENERAL                        165
  ------------------
  |  Branch (147:9): [True: 0, False: 5.88M]
  ------------------
  148|      0|            return 2 + oparg;
  149|      0|        case CALL_STR_1:
  ------------------
  |  |  168|      0|#define CALL_STR_1                             166
  ------------------
  |  Branch (149:9): [True: 0, False: 5.88M]
  ------------------
  150|      0|            return 3;
  151|      0|        case CALL_TUPLE_1:
  ------------------
  |  |  169|      0|#define CALL_TUPLE_1                           167
  ------------------
  |  Branch (151:9): [True: 0, False: 5.88M]
  ------------------
  152|      0|            return 3;
  153|      0|        case CALL_TYPE_1:
  ------------------
  |  |  170|      0|#define CALL_TYPE_1                            168
  ------------------
  |  Branch (153:9): [True: 0, False: 5.88M]
  ------------------
  154|      0|            return 3;
  155|  1.46k|        case CHECK_EG_MATCH:
  ------------------
  |  |   18|  1.46k|#define CHECK_EG_MATCH                           5
  ------------------
  |  Branch (155:9): [True: 1.46k, False: 5.88M]
  ------------------
  156|  1.46k|            return 2;
  157|    285|        case CHECK_EXC_MATCH:
  ------------------
  |  |   19|    285|#define CHECK_EXC_MATCH                          6
  ------------------
  |  Branch (157:9): [True: 285, False: 5.88M]
  ------------------
  158|    285|            return 2;
  159|  35.2k|        case CLEANUP_THROW:
  ------------------
  |  |   20|  35.2k|#define CLEANUP_THROW                            7
  ------------------
  |  Branch (159:9): [True: 35.2k, False: 5.85M]
  ------------------
  160|  35.2k|            return 4;
  161|   135k|        case COMPARE_OP:
  ------------------
  |  |   67|   135k|#define COMPARE_OP                              54
  ------------------
  |  Branch (161:9): [True: 135k, False: 5.74M]
  ------------------
  162|   135k|            return 2;
  163|      0|        case COMPARE_OP_FLOAT:
  ------------------
  |  |  171|      0|#define COMPARE_OP_FLOAT                       169
  ------------------
  |  Branch (163:9): [True: 0, False: 5.88M]
  ------------------
  164|      0|            return 2;
  165|      0|        case COMPARE_OP_INT:
  ------------------
  |  |  172|      0|#define COMPARE_OP_INT                         170
  ------------------
  |  Branch (165:9): [True: 0, False: 5.88M]
  ------------------
  166|      0|            return 2;
  167|      0|        case COMPARE_OP_STR:
  ------------------
  |  |  173|      0|#define COMPARE_OP_STR                         171
  ------------------
  |  Branch (167:9): [True: 0, False: 5.88M]
  ------------------
  168|      0|            return 2;
  169|  12.5k|        case CONTAINS_OP:
  ------------------
  |  |   68|  12.5k|#define CONTAINS_OP                             55
  ------------------
  |  Branch (169:9): [True: 12.5k, False: 5.87M]
  ------------------
  170|  12.5k|            return 2;
  171|      0|        case CONTAINS_OP_DICT:
  ------------------
  |  |  174|      0|#define CONTAINS_OP_DICT                       172
  ------------------
  |  Branch (171:9): [True: 0, False: 5.88M]
  ------------------
  172|      0|            return 2;
  173|      0|        case CONTAINS_OP_SET:
  ------------------
  |  |  175|      0|#define CONTAINS_OP_SET                        173
  ------------------
  |  Branch (173:9): [True: 0, False: 5.88M]
  ------------------
  174|      0|            return 2;
  175|  4.12k|        case CONVERT_VALUE:
  ------------------
  |  |   69|  4.12k|#define CONVERT_VALUE                           56
  ------------------
  |  Branch (175:9): [True: 4.12k, False: 5.88M]
  ------------------
  176|  4.12k|            return 1;
  177|   196k|        case COPY:
  ------------------
  |  |   70|   196k|#define COPY                                    57
  ------------------
  |  Branch (177:9): [True: 196k, False: 5.68M]
  ------------------
  178|   196k|            return 1 + (oparg-1);
  179|  10.9k|        case COPY_FREE_VARS:
  ------------------
  |  |   71|  10.9k|#define COPY_FREE_VARS                          58
  ------------------
  |  Branch (179:9): [True: 10.9k, False: 5.87M]
  ------------------
  180|  10.9k|            return 0;
  181|      0|        case DELETE_DEREF:
  ------------------
  |  |   72|      0|#define DELETE_DEREF                            59
  ------------------
  |  Branch (181:9): [True: 0, False: 5.88M]
  ------------------
  182|      0|            return 0;
  183|  3.12k|        case DELETE_FAST:
  ------------------
  |  |   73|  3.12k|#define DELETE_FAST                             60
  ------------------
  |  Branch (183:9): [True: 3.12k, False: 5.88M]
  ------------------
  184|  3.12k|            return 0;
  185|     98|        case DELETE_SUBSCR:
  ------------------
  |  |   21|     98|#define DELETE_SUBSCR                            8
  ------------------
  |  Branch (185:9): [True: 98, False: 5.88M]
  ------------------
  186|     98|            return 2;
  187|  1.59k|        case DICT_MERGE:
  ------------------
  |  |   74|  1.59k|#define DICT_MERGE                              61
  ------------------
  |  Branch (187:9): [True: 1.59k, False: 5.88M]
  ------------------
  188|  1.59k|            return 5 + (oparg - 1);
  189|    677|        case DICT_UPDATE:
  ------------------
  |  |   75|    677|#define DICT_UPDATE                             62
  ------------------
  |  Branch (189:9): [True: 677, False: 5.88M]
  ------------------
  190|    677|            return 2 + (oparg - 1);
  191|  1.20k|        case END_ASYNC_FOR:
  ------------------
  |  |   76|  1.20k|#define END_ASYNC_FOR                           63
  ------------------
  |  Branch (191:9): [True: 1.20k, False: 5.88M]
  ------------------
  192|  1.20k|            return 2;
  193|  4.66k|        case END_FOR:
  ------------------
  |  |   22|  4.66k|#define END_FOR                                  9
  ------------------
  |  Branch (193:9): [True: 4.66k, False: 5.88M]
  ------------------
  194|  4.66k|            return 1;
  195|  55.2k|        case END_SEND:
  ------------------
  |  |   23|  55.2k|#define END_SEND                                10
  ------------------
  |  Branch (195:9): [True: 55.2k, False: 5.83M]
  ------------------
  196|  55.2k|            return 3;
  197|      0|        case ENTER_EXECUTOR:
  ------------------
  |  |  242|      0|#define ENTER_EXECUTOR                         254
  ------------------
  |  Branch (197:9): [True: 0, False: 5.88M]
  ------------------
  198|      0|            return 0;
  199|      0|        case EXIT_INIT_CHECK:
  ------------------
  |  |   24|      0|#define EXIT_INIT_CHECK                         11
  ------------------
  |  Branch (199:9): [True: 0, False: 5.88M]
  ------------------
  200|      0|            return 1;
  201|      0|        case EXTENDED_ARG:
  ------------------
  |  |   77|      0|#define EXTENDED_ARG                            64
  ------------------
  |  Branch (201:9): [True: 0, False: 5.88M]
  ------------------
  202|      0|            return 0;
  203|  4.13k|        case FORMAT_SIMPLE:
  ------------------
  |  |   25|  4.13k|#define FORMAT_SIMPLE                           12
  ------------------
  |  Branch (203:9): [True: 4.13k, False: 5.88M]
  ------------------
  204|  4.13k|            return 1;
  205|  3.23k|        case FORMAT_WITH_SPEC:
  ------------------
  |  |   26|  3.23k|#define FORMAT_WITH_SPEC                        13
  ------------------
  |  Branch (205:9): [True: 3.23k, False: 5.88M]
  ------------------
  206|  3.23k|            return 2;
  207|  4.93k|        case FOR_ITER:
  ------------------
  |  |   78|  4.93k|#define FOR_ITER                                65
  ------------------
  |  Branch (207:9): [True: 4.93k, False: 5.88M]
  ------------------
  208|  4.93k|            return 2;
  209|      0|        case FOR_ITER_GEN:
  ------------------
  |  |  176|      0|#define FOR_ITER_GEN                           174
  ------------------
  |  Branch (209:9): [True: 0, False: 5.88M]
  ------------------
  210|      0|            return 2;
  211|      0|        case FOR_ITER_LIST:
  ------------------
  |  |  177|      0|#define FOR_ITER_LIST                          175
  ------------------
  |  Branch (211:9): [True: 0, False: 5.88M]
  ------------------
  212|      0|            return 2;
  213|      0|        case FOR_ITER_RANGE:
  ------------------
  |  |  178|      0|#define FOR_ITER_RANGE                         176
  ------------------
  |  Branch (213:9): [True: 0, False: 5.88M]
  ------------------
  214|      0|            return 2;
  215|      0|        case FOR_ITER_TUPLE:
  ------------------
  |  |  179|      0|#define FOR_ITER_TUPLE                         177
  ------------------
  |  Branch (215:9): [True: 0, False: 5.88M]
  ------------------
  216|      0|            return 2;
  217|      0|        case FOR_ITER_VIRTUAL:
  ------------------
  |  |  180|      0|#define FOR_ITER_VIRTUAL                       178
  ------------------
  |  Branch (217:9): [True: 0, False: 5.88M]
  ------------------
  218|      0|            return 2;
  219|  1.69k|        case GET_AITER:
  ------------------
  |  |   27|  1.69k|#define GET_AITER                               14
  ------------------
  |  Branch (219:9): [True: 1.69k, False: 5.88M]
  ------------------
  220|  1.69k|            return 1;
  221|  1.69k|        case GET_ANEXT:
  ------------------
  |  |   28|  1.69k|#define GET_ANEXT                               15
  ------------------
  |  Branch (221:9): [True: 1.69k, False: 5.88M]
  ------------------
  222|  1.69k|            return 1;
  223|  53.5k|        case GET_AWAITABLE:
  ------------------
  |  |   79|  53.5k|#define GET_AWAITABLE                           66
  ------------------
  |  Branch (223:9): [True: 53.5k, False: 5.83M]
  ------------------
  224|  53.5k|            return 1;
  225|  4.68k|        case GET_ITER:
  ------------------
  |  |   80|  4.68k|#define GET_ITER                                67
  ------------------
  |  Branch (225:9): [True: 4.68k, False: 5.88M]
  ------------------
  226|  4.68k|            return 1;
  227|      0|        case GET_ITER_SELF:
  ------------------
  |  |  181|      0|#define GET_ITER_SELF                          179
  ------------------
  |  Branch (227:9): [True: 0, False: 5.88M]
  ------------------
  228|      0|            return 1;
  229|      0|        case GET_ITER_VIRTUAL:
  ------------------
  |  |  182|      0|#define GET_ITER_VIRTUAL                       180
  ------------------
  |  Branch (229:9): [True: 0, False: 5.88M]
  ------------------
  230|      0|            return 1;
  231|  2.40k|        case GET_LEN:
  ------------------
  |  |   29|  2.40k|#define GET_LEN                                 16
  ------------------
  |  Branch (231:9): [True: 2.40k, False: 5.88M]
  ------------------
  232|  2.40k|            return 1;
  233|  12.3k|        case IMPORT_FROM:
  ------------------
  |  |   81|  12.3k|#define IMPORT_FROM                             68
  ------------------
  |  Branch (233:9): [True: 12.3k, False: 5.87M]
  ------------------
  234|  12.3k|            return 1;
  235|  20.8k|        case IMPORT_NAME:
  ------------------
  |  |   82|  20.8k|#define IMPORT_NAME                             69
  ------------------
  |  Branch (235:9): [True: 20.8k, False: 5.86M]
  ------------------
  236|  20.8k|            return 2;
  237|      0|        case INSTRUMENTED_CALL:
  ------------------
  |  |  237|      0|#define INSTRUMENTED_CALL                      249
  ------------------
  |  Branch (237:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  240|      0|            return 4;
  241|      0|        case INSTRUMENTED_CALL_KW:
  ------------------
  |  |  238|      0|#define INSTRUMENTED_CALL_KW                   250
  ------------------
  |  Branch (241:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  244|      0|            return 2;
  245|      0|        case INSTRUMENTED_END_FOR:
  ------------------
  |  |  221|      0|#define INSTRUMENTED_END_FOR                   233
  ------------------
  |  Branch (245:9): [True: 0, False: 5.88M]
  ------------------
  246|      0|            return 3;
  247|      0|        case INSTRUMENTED_END_SEND:
  ------------------
  |  |  223|      0|#define INSTRUMENTED_END_SEND                  235
  ------------------
  |  Branch (247:9): [True: 0, False: 5.88M]
  ------------------
  248|      0|            return 3;
  249|      0|        case INSTRUMENTED_FOR_ITER:
  ------------------
  |  |  224|      0|#define INSTRUMENTED_FOR_ITER                  236
  ------------------
  |  Branch (249:9): [True: 0, False: 5.88M]
  ------------------
  250|      0|            return 2;
  251|      0|        case INSTRUMENTED_INSTRUCTION:
  ------------------
  |  |  225|      0|#define INSTRUMENTED_INSTRUCTION               237
  ------------------
  |  Branch (251:9): [True: 0, False: 5.88M]
  ------------------
  252|      0|            return 0;
  253|      0|        case INSTRUMENTED_JUMP_BACKWARD:
  ------------------
  |  |  240|      0|#define INSTRUMENTED_JUMP_BACKWARD             252
  ------------------
  |  Branch (253:9): [True: 0, False: 5.88M]
  ------------------
  254|      0|            return 0;
  255|      0|        case INSTRUMENTED_JUMP_FORWARD:
  ------------------
  |  |  226|      0|#define INSTRUMENTED_JUMP_FORWARD              238
  ------------------
  |  Branch (255:9): [True: 0, False: 5.88M]
  ------------------
  256|      0|            return 0;
  257|      0|        case INSTRUMENTED_LINE:
  ------------------
  |  |  241|      0|#define INSTRUMENTED_LINE                      253
  ------------------
  |  Branch (257:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  260|      0|            return 3;
  261|      0|        case INSTRUMENTED_NOT_TAKEN:
  ------------------
  |  |  227|      0|#define INSTRUMENTED_NOT_TAKEN                 239
  ------------------
  |  Branch (261:9): [True: 0, False: 5.88M]
  ------------------
  262|      0|            return 0;
  263|      0|        case INSTRUMENTED_POP_ITER:
  ------------------
  |  |  222|      0|#define INSTRUMENTED_POP_ITER                  234
  ------------------
  |  Branch (263:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  272|      0|            return 1;
  273|      0|        case INSTRUMENTED_RESUME:
  ------------------
  |  |  232|      0|#define INSTRUMENTED_RESUME                    244
  ------------------
  |  Branch (273:9): [True: 0, False: 5.88M]
  ------------------
  274|      0|            return 0;
  275|      0|        case INSTRUMENTED_RETURN_VALUE:
  ------------------
  |  |  233|      0|#define INSTRUMENTED_RETURN_VALUE              245
  ------------------
  |  Branch (275:9): [True: 0, False: 5.88M]
  ------------------
  276|      0|            return 1;
  277|      0|        case INSTRUMENTED_YIELD_VALUE:
  ------------------
  |  |  234|      0|#define INSTRUMENTED_YIELD_VALUE               246
  ------------------
  |  Branch (277:9): [True: 0, False: 5.88M]
  ------------------
  278|      0|            return 1;
  279|      0|        case INTERPRETER_EXIT:
  ------------------
  |  |   31|      0|#define INTERPRETER_EXIT                        18
  ------------------
  |  Branch (279:9): [True: 0, False: 5.88M]
  ------------------
  280|      0|            return 1;
  281|  7.88k|        case IS_OP:
  ------------------
  |  |   83|  7.88k|#define IS_OP                                   70
  ------------------
  |  Branch (281:9): [True: 7.88k, False: 5.87M]
  ------------------
  282|  7.88k|            return 2;
  283|  20.8k|        case JUMP:
  ------------------
  |  |  245|  20.8k|#define JUMP                                   257
  ------------------
  |  Branch (283:9): [True: 20.8k, False: 5.86M]
  ------------------
  284|  20.8k|            return 0;
  285|      0|        case JUMP_BACKWARD:
  ------------------
  |  |   84|      0|#define JUMP_BACKWARD                           71
  ------------------
  |  Branch (285:9): [True: 0, False: 5.88M]
  ------------------
  286|      0|            return 0;
  287|      0|        case JUMP_BACKWARD_JIT:
  ------------------
  |  |  183|      0|#define JUMP_BACKWARD_JIT                      181
  ------------------
  |  Branch (287:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  292|      0|            return 0;
  293|      0|        case JUMP_FORWARD:
  ------------------
  |  |   86|      0|#define JUMP_FORWARD                            73
  ------------------
  |  Branch (293:9): [True: 0, False: 5.88M]
  ------------------
  294|      0|            return 0;
  295|  1.04k|        case JUMP_IF_FALSE:
  ------------------
  |  |  246|  1.04k|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (295:9): [True: 1.04k, False: 5.88M]
  ------------------
  296|  1.04k|            return 1;
  297|    898|        case JUMP_IF_TRUE:
  ------------------
  |  |  247|    898|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (297:9): [True: 898, False: 5.88M]
  ------------------
  298|    898|            return 1;
  299|   180k|        case JUMP_NO_INTERRUPT:
  ------------------
  |  |  248|   180k|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (299:9): [True: 180k, False: 5.70M]
  ------------------
  300|   180k|            return 0;
  301|  61.1k|        case LIST_APPEND:
  ------------------
  |  |   87|  61.1k|#define LIST_APPEND                             74
  ------------------
  |  Branch (301:9): [True: 61.1k, False: 5.82M]
  ------------------
  302|  61.1k|            return 2 + (oparg-1);
  303|  5.42k|        case LIST_EXTEND:
  ------------------
  |  |   88|  5.42k|#define LIST_EXTEND                             75
  ------------------
  |  Branch (303:9): [True: 5.42k, False: 5.87M]
  ------------------
  304|  5.42k|            return 2 + (oparg-1);
  305|  14.1k|        case LOAD_ATTR:
  ------------------
  |  |   89|  14.1k|#define LOAD_ATTR                               76
  ------------------
  |  Branch (305:9): [True: 14.1k, False: 5.87M]
  ------------------
  306|  14.1k|            return 1;
  307|      0|        case LOAD_ATTR_CLASS:
  ------------------
  |  |  185|      0|#define LOAD_ATTR_CLASS                        183
  ------------------
  |  Branch (307:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  320|      0|            return 1;
  321|      0|        case LOAD_ATTR_MODULE:
  ------------------
  |  |  192|      0|#define LOAD_ATTR_MODULE                       190
  ------------------
  |  Branch (321:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  326|      0|            return 1;
  327|      0|        case LOAD_ATTR_PROPERTY:
  ------------------
  |  |  195|      0|#define LOAD_ATTR_PROPERTY                     193
  ------------------
  |  Branch (327:9): [True: 0, False: 5.88M]
  ------------------
  328|      0|            return 1;
  329|      0|        case LOAD_ATTR_SLOT:
  ------------------
  |  |  196|      0|#define LOAD_ATTR_SLOT                         194
  ------------------
  |  Branch (329:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  332|      0|            return 1;
  333|  25.0k|        case LOAD_BUILD_CLASS:
  ------------------
  |  |   32|  25.0k|#define LOAD_BUILD_CLASS                        19
  ------------------
  |  Branch (333:9): [True: 25.0k, False: 5.86M]
  ------------------
  334|  25.0k|            return 0;
  335|  18.4k|        case LOAD_CLOSURE:
  ------------------
  |  |  249|  18.4k|#define LOAD_CLOSURE                           261
  ------------------
  |  Branch (335:9): [True: 18.4k, False: 5.86M]
  ------------------
  336|  18.4k|            return 0;
  337|   307k|        case LOAD_COMMON_CONSTANT:
  ------------------
  |  |   90|   307k|#define LOAD_COMMON_CONSTANT                    77
  ------------------
  |  Branch (337:9): [True: 307k, False: 5.57M]
  ------------------
  338|   307k|            return 0;
  339|   628k|        case LOAD_CONST:
  ------------------
  |  |   91|   628k|#define LOAD_CONST                              78
  ------------------
  |  Branch (339:9): [True: 628k, False: 5.25M]
  ------------------
  340|   628k|            return 0;
  341|  37.7k|        case LOAD_DEREF:
  ------------------
  |  |   92|  37.7k|#define LOAD_DEREF                              79
  ------------------
  |  Branch (341:9): [True: 37.7k, False: 5.84M]
  ------------------
  342|  37.7k|            return 0;
  343|  18.9k|        case LOAD_FAST:
  ------------------
  |  |   93|  18.9k|#define LOAD_FAST                               80
  ------------------
  |  Branch (343:9): [True: 18.9k, False: 5.86M]
  ------------------
  344|  18.9k|            return 0;
  345|  6.55k|        case LOAD_FAST_AND_CLEAR:
  ------------------
  |  |   94|  6.55k|#define LOAD_FAST_AND_CLEAR                     81
  ------------------
  |  Branch (345:9): [True: 6.55k, False: 5.87M]
  ------------------
  346|  6.55k|            return 0;
  347|      0|        case LOAD_FAST_BORROW:
  ------------------
  |  |   95|      0|#define LOAD_FAST_BORROW                        82
  ------------------
  |  Branch (347:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  350|      0|            return 0;
  351|  8.21k|        case LOAD_FAST_CHECK:
  ------------------
  |  |   97|  8.21k|#define LOAD_FAST_CHECK                         84
  ------------------
  |  Branch (351:9): [True: 8.21k, False: 5.87M]
  ------------------
  352|  8.21k|            return 0;
  353|  2.83k|        case LOAD_FAST_LOAD_FAST:
  ------------------
  |  |   98|  2.83k|#define LOAD_FAST_LOAD_FAST                     85
  ------------------
  |  Branch (353:9): [True: 2.83k, False: 5.88M]
  ------------------
  354|  2.83k|            return 0;
  355|  5.68k|        case LOAD_FROM_DICT_OR_DEREF:
  ------------------
  |  |   99|  5.68k|#define LOAD_FROM_DICT_OR_DEREF                 86
  ------------------
  |  Branch (355:9): [True: 5.68k, False: 5.87M]
  ------------------
  356|  5.68k|            return 1;
  357|  27.2k|        case LOAD_FROM_DICT_OR_GLOBALS:
  ------------------
  |  |  100|  27.2k|#define LOAD_FROM_DICT_OR_GLOBALS               87
  ------------------
  |  Branch (357:9): [True: 27.2k, False: 5.85M]
  ------------------
  358|  27.2k|            return 1;
  359|   158k|        case LOAD_GLOBAL:
  ------------------
  |  |  101|   158k|#define LOAD_GLOBAL                             88
  ------------------
  |  Branch (359:9): [True: 158k, False: 5.72M]
  ------------------
  360|   158k|            return 0;
  361|      0|        case LOAD_GLOBAL_BUILTIN:
  ------------------
  |  |  198|      0|#define LOAD_GLOBAL_BUILTIN                    196
  ------------------
  |  Branch (361:9): [True: 0, False: 5.88M]
  ------------------
  362|      0|            return 0;
  363|      0|        case LOAD_GLOBAL_MODULE:
  ------------------
  |  |  199|      0|#define LOAD_GLOBAL_MODULE                     197
  ------------------
  |  Branch (363:9): [True: 0, False: 5.88M]
  ------------------
  364|      0|            return 0;
  365|  17.4k|        case LOAD_LOCALS:
  ------------------
  |  |   33|  17.4k|#define LOAD_LOCALS                             20
  ------------------
  |  Branch (365:9): [True: 17.4k, False: 5.86M]
  ------------------
  366|  17.4k|            return 0;
  367|   302k|        case LOAD_NAME:
  ------------------
  |  |  102|   302k|#define LOAD_NAME                               89
  ------------------
  |  Branch (367:9): [True: 302k, False: 5.58M]
  ------------------
  368|   302k|            return 0;
  369|   265k|        case LOAD_SMALL_INT:
  ------------------
  |  |  103|   265k|#define LOAD_SMALL_INT                          90
  ------------------
  |  Branch (369:9): [True: 265k, False: 5.61M]
  ------------------
  370|   265k|            return 0;
  371|  22.8k|        case LOAD_SPECIAL:
  ------------------
  |  |  104|  22.8k|#define LOAD_SPECIAL                            91
  ------------------
  |  Branch (371:9): [True: 22.8k, False: 5.86M]
  ------------------
  372|  22.8k|            return 1;
  373|    521|        case LOAD_SUPER_ATTR:
  ------------------
  |  |  105|    521|#define LOAD_SUPER_ATTR                         92
  ------------------
  |  Branch (373:9): [True: 521, False: 5.88M]
  ------------------
  374|    521|            return 3;
  375|      0|        case LOAD_SUPER_ATTR_ATTR:
  ------------------
  |  |  200|      0|#define LOAD_SUPER_ATTR_ATTR                   198
  ------------------
  |  Branch (375:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  378|      0|            return 3;
  379|  11.9k|        case MAKE_CELL:
  ------------------
  |  |  106|  11.9k|#define MAKE_CELL                               93
  ------------------
  |  Branch (379:9): [True: 11.9k, False: 5.87M]
  ------------------
  380|  11.9k|            return 0;
  381|  83.0k|        case MAKE_FUNCTION:
  ------------------
  |  |   34|  83.0k|#define MAKE_FUNCTION                           21
  ------------------
  |  Branch (381:9): [True: 83.0k, False: 5.80M]
  ------------------
  382|  83.0k|            return 1;
  383|  1.02k|        case MAP_ADD:
  ------------------
  |  |  107|  1.02k|#define MAP_ADD                                 94
  ------------------
  |  Branch (383:9): [True: 1.02k, False: 5.88M]
  ------------------
  384|  1.02k|            return 3 + (oparg - 1);
  385|     54|        case MATCH_CLASS:
  ------------------
  |  |  108|     54|#define MATCH_CLASS                             95
  ------------------
  |  Branch (385:9): [True: 54, False: 5.88M]
  ------------------
  386|     54|            return 3;
  387|     10|        case MATCH_KEYS:
  ------------------
  |  |   35|     10|#define MATCH_KEYS                              22
  ------------------
  |  Branch (387:9): [True: 10, False: 5.88M]
  ------------------
  388|     10|            return 2;
  389|     16|        case MATCH_MAPPING:
  ------------------
  |  |   36|     16|#define MATCH_MAPPING                           23
  ------------------
  |  Branch (389:9): [True: 16, False: 5.88M]
  ------------------
  390|     16|            return 1;
  391|  1.55k|        case MATCH_SEQUENCE:
  ------------------
  |  |   37|  1.55k|#define MATCH_SEQUENCE                          24
  ------------------
  |  Branch (391:9): [True: 1.55k, False: 5.88M]
  ------------------
  392|  1.55k|            return 1;
  393|  8.36k|        case NOP:
  ------------------
  |  |   38|  8.36k|#define NOP                                     25
  ------------------
  |  Branch (393:9): [True: 8.36k, False: 5.87M]
  ------------------
  394|  8.36k|            return 0;
  395|  66.6k|        case NOT_TAKEN:
  ------------------
  |  |   39|  66.6k|#define NOT_TAKEN                               26
  ------------------
  |  Branch (395:9): [True: 66.6k, False: 5.81M]
  ------------------
  396|  66.6k|            return 0;
  397|      0|        case POP_BLOCK:
  ------------------
  |  |  250|      0|#define POP_BLOCK                              262
  ------------------
  |  Branch (397:9): [True: 0, False: 5.88M]
  ------------------
  398|      0|            return 0;
  399|  31.1k|        case POP_EXCEPT:
  ------------------
  |  |   40|  31.1k|#define POP_EXCEPT                              27
  ------------------
  |  Branch (399:9): [True: 31.1k, False: 5.85M]
  ------------------
  400|  31.1k|            return 1;
  401|  4.66k|        case POP_ITER:
  ------------------
  |  |   41|  4.66k|#define POP_ITER                                28
  ------------------
  |  Branch (401:9): [True: 4.66k, False: 5.88M]
  ------------------
  402|  4.66k|            return 2;
  403|   211k|        case POP_JUMP_IF_FALSE:
  ------------------
  |  |  109|   211k|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (403:9): [True: 211k, False: 5.67M]
  ------------------
  404|   211k|            return 1;
  405|  3.02k|        case POP_JUMP_IF_NONE:
  ------------------
  |  |  110|  3.02k|#define POP_JUMP_IF_NONE                        97
  ------------------
  |  Branch (405:9): [True: 3.02k, False: 5.88M]
  ------------------
  406|  3.02k|            return 1;
  407|  2.31k|        case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  111|  2.31k|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  |  Branch (407:9): [True: 2.31k, False: 5.88M]
  ------------------
  408|  2.31k|            return 1;
  409|  30.7k|        case POP_JUMP_IF_TRUE:
  ------------------
  |  |  112|  30.7k|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (409:9): [True: 30.7k, False: 5.85M]
  ------------------
  410|  30.7k|            return 1;
  411|   388k|        case POP_TOP:
  ------------------
  |  |   42|   388k|#define POP_TOP                                 29
  ------------------
  |  Branch (411:9): [True: 388k, False: 5.49M]
  ------------------
  412|   388k|            return 1;
  413|  15.8k|        case PUSH_EXC_INFO:
  ------------------
  |  |   43|  15.8k|#define PUSH_EXC_INFO                           30
  ------------------
  |  Branch (413:9): [True: 15.8k, False: 5.86M]
  ------------------
  414|  15.8k|            return 1;
  415|   103k|        case PUSH_NULL:
  ------------------
  |  |   44|   103k|#define PUSH_NULL                               31
  ------------------
  |  Branch (415:9): [True: 103k, False: 5.78M]
  ------------------
  416|   103k|            return 0;
  417|  28.6k|        case RAISE_VARARGS:
  ------------------
  |  |  113|  28.6k|#define RAISE_VARARGS                          100
  ------------------
  |  Branch (417:9): [True: 28.6k, False: 5.85M]
  ------------------
  418|  28.6k|            return oparg;
  419|  37.3k|        case RERAISE:
  ------------------
  |  |  114|  37.3k|#define RERAISE                                101
  ------------------
  |  Branch (419:9): [True: 37.3k, False: 5.84M]
  ------------------
  420|  37.3k|            return 1 + oparg;
  421|      0|        case RESERVED:
  ------------------
  |  |   30|      0|#define RESERVED                                17
  ------------------
  |  Branch (421:9): [True: 0, False: 5.88M]
  ------------------
  422|      0|            return 0;
  423|   162k|        case RESUME:
  ------------------
  |  |  130|   162k|#define RESUME                                 128
  ------------------
  |  Branch (423:9): [True: 162k, False: 5.72M]
  ------------------
  424|   162k|            return 0;
  425|      0|        case RESUME_CHECK:
  ------------------
  |  |  202|      0|#define RESUME_CHECK                           200
  ------------------
  |  Branch (425:9): [True: 0, False: 5.88M]
  ------------------
  426|      0|            return 0;
  427|      0|        case RESUME_CHECK_JIT:
  ------------------
  |  |  203|      0|#define RESUME_CHECK_JIT                       201
  ------------------
  |  Branch (427:9): [True: 0, False: 5.88M]
  ------------------
  428|      0|            return 0;
  429|  5.92k|        case RETURN_GENERATOR:
  ------------------
  |  |   45|  5.92k|#define RETURN_GENERATOR                        32
  ------------------
  |  Branch (429:9): [True: 5.92k, False: 5.87M]
  ------------------
  430|  5.92k|            return 0;
  431|   112k|        case RETURN_VALUE:
  ------------------
  |  |   46|   112k|#define RETURN_VALUE                            33
  ------------------
  |  Branch (431:9): [True: 112k, False: 5.77M]
  ------------------
  432|   112k|            return 1;
  433|  70.5k|        case SEND:
  ------------------
  |  |  115|  70.5k|#define SEND                                   102
  ------------------
  |  Branch (433:9): [True: 70.5k, False: 5.81M]
  ------------------
  434|  70.5k|            return 3;
  435|      0|        case SEND_ASYNC_GEN:
  ------------------
  |  |  204|      0|#define SEND_ASYNC_GEN                         202
  ------------------
  |  Branch (435:9): [True: 0, False: 5.88M]
  ------------------
  436|      0|            return 3;
  437|      0|        case SEND_GEN:
  ------------------
  |  |  205|      0|#define SEND_GEN                               203
  ------------------
  |  Branch (437:9): [True: 0, False: 5.88M]
  ------------------
  438|      0|            return 3;
  439|      0|        case SEND_VIRTUAL:
  ------------------
  |  |  206|      0|#define SEND_VIRTUAL                           204
  ------------------
  |  Branch (439:9): [True: 0, False: 5.88M]
  ------------------
  440|      0|            return 3;
  441|  3.98k|        case SETUP_ANNOTATIONS:
  ------------------
  |  |   47|  3.98k|#define SETUP_ANNOTATIONS                       34
  ------------------
  |  Branch (441:9): [True: 3.98k, False: 5.88M]
  ------------------
  442|  3.98k|            return 0;
  443|  40.4k|        case SETUP_CLEANUP:
  ------------------
  |  |  251|  40.4k|#define SETUP_CLEANUP                          263
  ------------------
  |  Branch (443:9): [True: 40.4k, False: 5.84M]
  ------------------
  444|  40.4k|            return 0;
  445|  86.3k|        case SETUP_FINALLY:
  ------------------
  |  |  252|  86.3k|#define SETUP_FINALLY                          264
  ------------------
  |  Branch (445:9): [True: 86.3k, False: 5.79M]
  ------------------
  446|  86.3k|            return 0;
  447|  22.8k|        case SETUP_WITH:
  ------------------
  |  |  253|  22.8k|#define SETUP_WITH                             265
  ------------------
  |  Branch (447:9): [True: 22.8k, False: 5.86M]
  ------------------
  448|  22.8k|            return 0;
  449|  7.68k|        case SET_ADD:
  ------------------
  |  |  116|  7.68k|#define SET_ADD                                103
  ------------------
  |  Branch (449:9): [True: 7.68k, False: 5.87M]
  ------------------
  450|  7.68k|            return 2 + (oparg-1);
  451|  37.5k|        case SET_FUNCTION_ATTRIBUTE:
  ------------------
  |  |  117|  37.5k|#define SET_FUNCTION_ATTRIBUTE                 104
  ------------------
  |  Branch (451:9): [True: 37.5k, False: 5.84M]
  ------------------
  452|  37.5k|            return 2;
  453|  18.3k|        case SET_UPDATE:
  ------------------
  |  |  118|  18.3k|#define SET_UPDATE                             105
  ------------------
  |  Branch (453:9): [True: 18.3k, False: 5.86M]
  ------------------
  454|  18.3k|            return 2 + (oparg-1);
  455|  5.83k|        case STORE_ATTR:
  ------------------
  |  |  119|  5.83k|#define STORE_ATTR                             106
  ------------------
  |  Branch (455:9): [True: 5.83k, False: 5.87M]
  ------------------
  456|  5.83k|            return 2;
  457|      0|        case STORE_ATTR_INSTANCE_VALUE:
  ------------------
  |  |  207|      0|#define STORE_ATTR_INSTANCE_VALUE              205
  ------------------
  |  Branch (457:9): [True: 0, False: 5.88M]
  ------------------
  458|      0|            return 2;
  459|      0|        case STORE_ATTR_SLOT:
  ------------------
  |  |  208|      0|#define STORE_ATTR_SLOT                        206
  ------------------
  |  Branch (459:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  462|      0|            return 2;
  463|  19.8k|        case STORE_DEREF:
  ------------------
  |  |  120|  19.8k|#define STORE_DEREF                            107
  ------------------
  |  Branch (463:9): [True: 19.8k, False: 5.86M]
  ------------------
  464|  19.8k|            return 1;
  465|  76.0k|        case STORE_FAST:
  ------------------
  |  |  121|  76.0k|#define STORE_FAST                             108
  ------------------
  |  Branch (465:9): [True: 76.0k, False: 5.80M]
  ------------------
  466|  76.0k|            return 1;
  467|  3.20k|        case STORE_FAST_LOAD_FAST:
  ------------------
  |  |  122|  3.20k|#define STORE_FAST_LOAD_FAST                   109
  ------------------
  |  Branch (467:9): [True: 3.20k, False: 5.88M]
  ------------------
  468|  3.20k|            return 1;
  469|  13.1k|        case STORE_FAST_MAYBE_NULL:
  ------------------
  |  |  254|  13.1k|#define STORE_FAST_MAYBE_NULL                  266
  ------------------
  |  Branch (469:9): [True: 13.1k, False: 5.87M]
  ------------------
  470|  13.1k|            return 1;
  471|  14.9k|        case STORE_FAST_STORE_FAST:
  ------------------
  |  |  123|  14.9k|#define STORE_FAST_STORE_FAST                  110
  ------------------
  |  Branch (471:9): [True: 14.9k, False: 5.87M]
  ------------------
  472|  14.9k|            return 2;
  473|  1.07k|        case STORE_GLOBAL:
  ------------------
  |  |  124|  1.07k|#define STORE_GLOBAL                           111
  ------------------
  |  Branch (473:9): [True: 1.07k, False: 5.88M]
  ------------------
  474|  1.07k|            return 1;
  475|   238k|        case STORE_NAME:
  ------------------
  |  |  125|   238k|#define STORE_NAME                             112
  ------------------
  |  Branch (475:9): [True: 238k, False: 5.64M]
  ------------------
  476|   238k|            return 1;
  477|    524|        case STORE_SLICE:
  ------------------
  |  |   48|    524|#define STORE_SLICE                             35
  ------------------
  |  Branch (477:9): [True: 524, False: 5.88M]
  ------------------
  478|    524|            return 4;
  479|  41.3k|        case STORE_SUBSCR:
  ------------------
  |  |   49|  41.3k|#define STORE_SUBSCR                            36
  ------------------
  |  Branch (479:9): [True: 41.3k, False: 5.84M]
  ------------------
  480|  41.3k|            return 3;
  481|      0|        case STORE_SUBSCR_DICT:
  ------------------
  |  |  210|      0|#define STORE_SUBSCR_DICT                      208
  ------------------
  |  Branch (481:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  484|      0|            return 3;
  485|  95.8k|        case SWAP:
  ------------------
  |  |  126|  95.8k|#define SWAP                                   113
  ------------------
  |  Branch (485:9): [True: 95.8k, False: 5.78M]
  ------------------
  486|  95.8k|            return 2 + (oparg-2);
  487|   107k|        case TO_BOOL:
  ------------------
  |  |   50|   107k|#define TO_BOOL                                 37
  ------------------
  |  Branch (487:9): [True: 107k, False: 5.77M]
  ------------------
  488|   107k|            return 1;
  489|      0|        case TO_BOOL_ALWAYS_TRUE:
  ------------------
  |  |  212|      0|#define TO_BOOL_ALWAYS_TRUE                    210
  ------------------
  |  Branch (489:9): [True: 0, False: 5.88M]
  ------------------
  490|      0|            return 1;
  491|      0|        case TO_BOOL_BOOL:
  ------------------
  |  |  213|      0|#define TO_BOOL_BOOL                           211
  ------------------
  |  Branch (491:9): [True: 0, False: 5.88M]
  ------------------
  492|      0|            return 1;
  493|      0|        case TO_BOOL_INT:
  ------------------
  |  |  214|      0|#define TO_BOOL_INT                            212
  ------------------
  |  Branch (493:9): [True: 0, False: 5.88M]
  ------------------
  494|      0|            return 1;
  495|      0|        case TO_BOOL_LIST:
  ------------------
  |  |  215|      0|#define TO_BOOL_LIST                           213
  ------------------
  |  Branch (495:9): [True: 0, False: 5.88M]
  ------------------
  496|      0|            return 1;
  497|      0|        case TO_BOOL_NONE:
  ------------------
  |  |  216|      0|#define TO_BOOL_NONE                           214
  ------------------
  |  Branch (497:9): [True: 0, False: 5.88M]
  ------------------
  498|      0|            return 1;
  499|      0|        case TO_BOOL_STR:
  ------------------
  |  |  217|      0|#define TO_BOOL_STR                            215
  ------------------
  |  Branch (499:9): [True: 0, False: 5.88M]
  ------------------
  500|      0|            return 1;
  501|      0|        case TRACE_RECORD:
  ------------------
  |  |  243|      0|#define TRACE_RECORD                           255
  ------------------
  |  Branch (501:9): [True: 0, False: 5.88M]
  ------------------
  502|      0|            return 0;
  503|  1.35k|        case UNARY_INVERT:
  ------------------
  |  |   51|  1.35k|#define UNARY_INVERT                            38
  ------------------
  |  Branch (503:9): [True: 1.35k, False: 5.88M]
  ------------------
  504|  1.35k|            return 1;
  505|  26.6k|        case UNARY_NEGATIVE:
  ------------------
  |  |   52|  26.6k|#define UNARY_NEGATIVE                          39
  ------------------
  |  Branch (505:9): [True: 26.6k, False: 5.85M]
  ------------------
  506|  26.6k|            return 1;
  507|    142|        case UNARY_NOT:
  ------------------
  |  |   53|    142|#define UNARY_NOT                               40
  ------------------
  |  Branch (507:9): [True: 142, False: 5.88M]
  ------------------
  508|    142|            return 1;
  509|    838|        case UNPACK_EX:
  ------------------
  |  |  127|    838|#define UNPACK_EX                              114
  ------------------
  |  Branch (509:9): [True: 838, False: 5.88M]
  ------------------
  510|    838|            return 1;
  511|  46.8k|        case UNPACK_SEQUENCE:
  ------------------
  |  |  128|  46.8k|#define UNPACK_SEQUENCE                        115
  ------------------
  |  Branch (511:9): [True: 46.8k, False: 5.83M]
  ------------------
  512|  46.8k|            return 1;
  513|      0|        case UNPACK_SEQUENCE_LIST:
  ------------------
  |  |  218|      0|#define UNPACK_SEQUENCE_LIST                   216
  ------------------
  |  Branch (513:9): [True: 0, False: 5.88M]
  ------------------
  514|      0|            return 1;
  515|      0|        case UNPACK_SEQUENCE_TUPLE:
  ------------------
  |  |  219|      0|#define UNPACK_SEQUENCE_TUPLE                  217
  ------------------
  |  Branch (515:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  518|      0|            return 1;
  519|  11.4k|        case WITH_EXCEPT_START:
  ------------------
  |  |   54|  11.4k|#define WITH_EXCEPT_START                       41
  ------------------
  |  Branch (519:9): [True: 11.4k, False: 5.87M]
  ------------------
  520|  11.4k|            return 5;
  521|  56.3k|        case YIELD_VALUE:
  ------------------
  |  |  129|  56.3k|#define YIELD_VALUE                            116
  ------------------
  |  Branch (521:9): [True: 56.3k, False: 5.82M]
  ------------------
  522|  56.3k|            return 1;
  523|      0|        default:
  ------------------
  |  Branch (523:9): [True: 0, False: 5.88M]
  ------------------
  524|      0|            return -1;
  525|  5.88M|    }
  526|  5.88M|}
_PyOpcode_num_pushed:
  532|  5.88M|int _PyOpcode_num_pushed(int opcode, int oparg)  {
  533|  5.88M|    switch(opcode) {
  534|      0|        case ANNOTATIONS_PLACEHOLDER:
  ------------------
  |  |  244|      0|#define ANNOTATIONS_PLACEHOLDER                256
  ------------------
  |  Branch (534:9): [True: 0, False: 5.88M]
  ------------------
  535|      0|            return 0;
  536|   468k|        case BINARY_OP:
  ------------------
  |  |   55|   468k|#define BINARY_OP                               42
  ------------------
  |  Branch (536:9): [True: 468k, False: 5.41M]
  ------------------
  537|   468k|            return 1;
  538|      0|        case BINARY_OP_ADD_FLOAT:
  ------------------
  |  |  131|      0|#define BINARY_OP_ADD_FLOAT                    129
  ------------------
  |  Branch (538:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  543|      0|            return 1;
  544|      0|        case BINARY_OP_EXTEND:
  ------------------
  |  |  134|      0|#define BINARY_OP_EXTEND                       132
  ------------------
  |  Branch (544:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  569|      0|            return 1;
  570|  1.15k|        case BINARY_SLICE:
  ------------------
  |  |   14|  1.15k|#define BINARY_SLICE                             1
  ------------------
  |  Branch (570:9): [True: 1.15k, False: 5.88M]
  ------------------
  571|  1.15k|            return 1;
  572|  2.92k|        case BUILD_INTERPOLATION:
  ------------------
  |  |   56|  2.92k|#define BUILD_INTERPOLATION                     43
  ------------------
  |  Branch (572:9): [True: 2.92k, False: 5.88M]
  ------------------
  573|  2.92k|            return 1;
  574|  9.62k|        case BUILD_LIST:
  ------------------
  |  |   57|  9.62k|#define BUILD_LIST                              44
  ------------------
  |  Branch (574:9): [True: 9.62k, False: 5.87M]
  ------------------
  575|  9.62k|            return 1;
  576|  25.6k|        case BUILD_MAP:
  ------------------
  |  |   58|  25.6k|#define BUILD_MAP                               45
  ------------------
  |  Branch (576:9): [True: 25.6k, False: 5.85M]
  ------------------
  577|  25.6k|            return 1;
  578|  21.5k|        case BUILD_SET:
  ------------------
  |  |   59|  21.5k|#define BUILD_SET                               46
  ------------------
  |  Branch (578:9): [True: 21.5k, False: 5.86M]
  ------------------
  579|  21.5k|            return 1;
  580|  9.92k|        case BUILD_SLICE:
  ------------------
  |  |   60|  9.92k|#define BUILD_SLICE                             47
  ------------------
  |  Branch (580:9): [True: 9.92k, False: 5.87M]
  ------------------
  581|  9.92k|            return 1;
  582|  3.28k|        case BUILD_STRING:
  ------------------
  |  |   61|  3.28k|#define BUILD_STRING                            48
  ------------------
  |  Branch (582:9): [True: 3.28k, False: 5.88M]
  ------------------
  583|  3.28k|            return 1;
  584|  1.88k|        case BUILD_TEMPLATE:
  ------------------
  |  |   15|  1.88k|#define BUILD_TEMPLATE                           2
  ------------------
  |  Branch (584:9): [True: 1.88k, False: 5.88M]
  ------------------
  585|  1.88k|            return 1;
  586|  67.0k|        case BUILD_TUPLE:
  ------------------
  |  |   62|  67.0k|#define BUILD_TUPLE                             49
  ------------------
  |  Branch (586:9): [True: 67.0k, False: 5.81M]
  ------------------
  587|  67.0k|            return 1;
  588|      0|        case CACHE:
  ------------------
  |  |   13|      0|#define CACHE                                    0
  ------------------
  |  Branch (588:9): [True: 0, False: 5.88M]
  ------------------
  589|      0|            return 0;
  590|  93.3k|        case CALL:
  ------------------
  |  |   63|  93.3k|#define CALL                                    50
  ------------------
  |  Branch (590:9): [True: 93.3k, False: 5.79M]
  ------------------
  591|  93.3k|            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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  597|      0|            return 0;
  598|      0|        case CALL_BUILTIN_CLASS:
  ------------------
  |  |  149|      0|#define CALL_BUILTIN_CLASS                     147
  ------------------
  |  Branch (598:9): [True: 0, False: 5.88M]
  ------------------
  599|      0|            return 1;
  600|      0|        case CALL_BUILTIN_FAST:
  ------------------
  |  |  150|      0|#define CALL_BUILTIN_FAST                      148
  ------------------
  |  Branch (600:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  603|      0|            return 1;
  604|      0|        case CALL_BUILTIN_O:
  ------------------
  |  |  152|      0|#define CALL_BUILTIN_O                         150
  ------------------
  |  Branch (604:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  607|      0|            return 1;
  608|      0|        case CALL_EX_PY:
  ------------------
  |  |  154|      0|#define CALL_EX_PY                             152
  ------------------
  |  Branch (608:9): [True: 0, False: 5.88M]
  ------------------
  609|      0|            return 0;
  610|  3.95k|        case CALL_FUNCTION_EX:
  ------------------
  |  |   17|  3.95k|#define CALL_FUNCTION_EX                         4
  ------------------
  |  Branch (610:9): [True: 3.95k, False: 5.88M]
  ------------------
  611|  3.95k|            return 1;
  612|  76.9k|        case CALL_INTRINSIC_1:
  ------------------
  |  |   64|  76.9k|#define CALL_INTRINSIC_1                        51
  ------------------
  |  Branch (612:9): [True: 76.9k, False: 5.80M]
  ------------------
  613|  76.9k|            return 1;
  614|  18.7k|        case CALL_INTRINSIC_2:
  ------------------
  |  |   65|  18.7k|#define CALL_INTRINSIC_2                        52
  ------------------
  |  Branch (614:9): [True: 18.7k, False: 5.86M]
  ------------------
  615|  18.7k|            return 1;
  616|      0|        case CALL_ISINSTANCE:
  ------------------
  |  |  155|      0|#define CALL_ISINSTANCE                        153
  ------------------
  |  Branch (616:9): [True: 0, False: 5.88M]
  ------------------
  617|      0|            return 1;
  618|    643|        case CALL_KW:
  ------------------
  |  |   66|    643|#define CALL_KW                                 53
  ------------------
  |  Branch (618:9): [True: 643, False: 5.88M]
  ------------------
  619|    643|            return 1;
  620|      0|        case CALL_KW_BOUND_METHOD:
  ------------------
  |  |  156|      0|#define CALL_KW_BOUND_METHOD                   154
  ------------------
  |  Branch (620:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  623|      0|            return 1;
  624|      0|        case CALL_KW_PY:
  ------------------
  |  |  158|      0|#define CALL_KW_PY                             156
  ------------------
  |  Branch (624:9): [True: 0, False: 5.88M]
  ------------------
  625|      0|            return 0;
  626|      0|        case CALL_LEN:
  ------------------
  |  |  159|      0|#define CALL_LEN                               157
  ------------------
  |  Branch (626:9): [True: 0, False: 5.88M]
  ------------------
  627|      0|            return 1;
  628|      0|        case CALL_LIST_APPEND:
  ------------------
  |  |  160|      0|#define CALL_LIST_APPEND                       158
  ------------------
  |  Branch (628:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  641|      0|            return 0;
  642|      0|        case CALL_PY_GENERAL:
  ------------------
  |  |  167|      0|#define CALL_PY_GENERAL                        165
  ------------------
  |  Branch (642:9): [True: 0, False: 5.88M]
  ------------------
  643|      0|            return 0;
  644|      0|        case CALL_STR_1:
  ------------------
  |  |  168|      0|#define CALL_STR_1                             166
  ------------------
  |  Branch (644:9): [True: 0, False: 5.88M]
  ------------------
  645|      0|            return 1;
  646|      0|        case CALL_TUPLE_1:
  ------------------
  |  |  169|      0|#define CALL_TUPLE_1                           167
  ------------------
  |  Branch (646:9): [True: 0, False: 5.88M]
  ------------------
  647|      0|            return 1;
  648|      0|        case CALL_TYPE_1:
  ------------------
  |  |  170|      0|#define CALL_TYPE_1                            168
  ------------------
  |  Branch (648:9): [True: 0, False: 5.88M]
  ------------------
  649|      0|            return 1;
  650|  1.46k|        case CHECK_EG_MATCH:
  ------------------
  |  |   18|  1.46k|#define CHECK_EG_MATCH                           5
  ------------------
  |  Branch (650:9): [True: 1.46k, False: 5.88M]
  ------------------
  651|  1.46k|            return 2;
  652|    285|        case CHECK_EXC_MATCH:
  ------------------
  |  |   19|    285|#define CHECK_EXC_MATCH                          6
  ------------------
  |  Branch (652:9): [True: 285, False: 5.88M]
  ------------------
  653|    285|            return 2;
  654|  35.2k|        case CLEANUP_THROW:
  ------------------
  |  |   20|  35.2k|#define CLEANUP_THROW                            7
  ------------------
  |  Branch (654:9): [True: 35.2k, False: 5.85M]
  ------------------
  655|  35.2k|            return 3;
  656|   135k|        case COMPARE_OP:
  ------------------
  |  |   67|   135k|#define COMPARE_OP                              54
  ------------------
  |  Branch (656:9): [True: 135k, False: 5.74M]
  ------------------
  657|   135k|            return 1;
  658|      0|        case COMPARE_OP_FLOAT:
  ------------------
  |  |  171|      0|#define COMPARE_OP_FLOAT                       169
  ------------------
  |  Branch (658:9): [True: 0, False: 5.88M]
  ------------------
  659|      0|            return 1;
  660|      0|        case COMPARE_OP_INT:
  ------------------
  |  |  172|      0|#define COMPARE_OP_INT                         170
  ------------------
  |  Branch (660:9): [True: 0, False: 5.88M]
  ------------------
  661|      0|            return 1;
  662|      0|        case COMPARE_OP_STR:
  ------------------
  |  |  173|      0|#define COMPARE_OP_STR                         171
  ------------------
  |  Branch (662:9): [True: 0, False: 5.88M]
  ------------------
  663|      0|            return 1;
  664|  12.5k|        case CONTAINS_OP:
  ------------------
  |  |   68|  12.5k|#define CONTAINS_OP                             55
  ------------------
  |  Branch (664:9): [True: 12.5k, False: 5.87M]
  ------------------
  665|  12.5k|            return 1;
  666|      0|        case CONTAINS_OP_DICT:
  ------------------
  |  |  174|      0|#define CONTAINS_OP_DICT                       172
  ------------------
  |  Branch (666:9): [True: 0, False: 5.88M]
  ------------------
  667|      0|            return 1;
  668|      0|        case CONTAINS_OP_SET:
  ------------------
  |  |  175|      0|#define CONTAINS_OP_SET                        173
  ------------------
  |  Branch (668:9): [True: 0, False: 5.88M]
  ------------------
  669|      0|            return 1;
  670|  4.12k|        case CONVERT_VALUE:
  ------------------
  |  |   69|  4.12k|#define CONVERT_VALUE                           56
  ------------------
  |  Branch (670:9): [True: 4.12k, False: 5.88M]
  ------------------
  671|  4.12k|            return 1;
  672|   196k|        case COPY:
  ------------------
  |  |   70|   196k|#define COPY                                    57
  ------------------
  |  Branch (672:9): [True: 196k, False: 5.68M]
  ------------------
  673|   196k|            return 2 + (oparg-1);
  674|  10.9k|        case COPY_FREE_VARS:
  ------------------
  |  |   71|  10.9k|#define COPY_FREE_VARS                          58
  ------------------
  |  Branch (674:9): [True: 10.9k, False: 5.87M]
  ------------------
  675|  10.9k|            return 0;
  676|      0|        case DELETE_DEREF:
  ------------------
  |  |   72|      0|#define DELETE_DEREF                            59
  ------------------
  |  Branch (676:9): [True: 0, False: 5.88M]
  ------------------
  677|      0|            return 0;
  678|  3.12k|        case DELETE_FAST:
  ------------------
  |  |   73|  3.12k|#define DELETE_FAST                             60
  ------------------
  |  Branch (678:9): [True: 3.12k, False: 5.88M]
  ------------------
  679|  3.12k|            return 0;
  680|     98|        case DELETE_SUBSCR:
  ------------------
  |  |   21|     98|#define DELETE_SUBSCR                            8
  ------------------
  |  Branch (680:9): [True: 98, False: 5.88M]
  ------------------
  681|     98|            return 0;
  682|  1.59k|        case DICT_MERGE:
  ------------------
  |  |   74|  1.59k|#define DICT_MERGE                              61
  ------------------
  |  Branch (682:9): [True: 1.59k, False: 5.88M]
  ------------------
  683|  1.59k|            return 4 + (oparg - 1);
  684|    677|        case DICT_UPDATE:
  ------------------
  |  |   75|    677|#define DICT_UPDATE                             62
  ------------------
  |  Branch (684:9): [True: 677, False: 5.88M]
  ------------------
  685|    677|            return 1 + (oparg - 1);
  686|  1.20k|        case END_ASYNC_FOR:
  ------------------
  |  |   76|  1.20k|#define END_ASYNC_FOR                           63
  ------------------
  |  Branch (686:9): [True: 1.20k, False: 5.88M]
  ------------------
  687|  1.20k|            return 0;
  688|  4.66k|        case END_FOR:
  ------------------
  |  |   22|  4.66k|#define END_FOR                                  9
  ------------------
  |  Branch (688:9): [True: 4.66k, False: 5.88M]
  ------------------
  689|  4.66k|            return 0;
  690|  55.2k|        case END_SEND:
  ------------------
  |  |   23|  55.2k|#define END_SEND                                10
  ------------------
  |  Branch (690:9): [True: 55.2k, False: 5.83M]
  ------------------
  691|  55.2k|            return 1;
  692|      0|        case ENTER_EXECUTOR:
  ------------------
  |  |  242|      0|#define ENTER_EXECUTOR                         254
  ------------------
  |  Branch (692:9): [True: 0, False: 5.88M]
  ------------------
  693|      0|            return 0;
  694|      0|        case EXIT_INIT_CHECK:
  ------------------
  |  |   24|      0|#define EXIT_INIT_CHECK                         11
  ------------------
  |  Branch (694:9): [True: 0, False: 5.88M]
  ------------------
  695|      0|            return 0;
  696|      0|        case EXTENDED_ARG:
  ------------------
  |  |   77|      0|#define EXTENDED_ARG                            64
  ------------------
  |  Branch (696:9): [True: 0, False: 5.88M]
  ------------------
  697|      0|            return 0;
  698|  4.13k|        case FORMAT_SIMPLE:
  ------------------
  |  |   25|  4.13k|#define FORMAT_SIMPLE                           12
  ------------------
  |  Branch (698:9): [True: 4.13k, False: 5.88M]
  ------------------
  699|  4.13k|            return 1;
  700|  3.23k|        case FORMAT_WITH_SPEC:
  ------------------
  |  |   26|  3.23k|#define FORMAT_WITH_SPEC                        13
  ------------------
  |  Branch (700:9): [True: 3.23k, False: 5.88M]
  ------------------
  701|  3.23k|            return 1;
  702|  4.93k|        case FOR_ITER:
  ------------------
  |  |   78|  4.93k|#define FOR_ITER                                65
  ------------------
  |  Branch (702:9): [True: 4.93k, False: 5.88M]
  ------------------
  703|  4.93k|            return 3;
  704|      0|        case FOR_ITER_GEN:
  ------------------
  |  |  176|      0|#define FOR_ITER_GEN                           174
  ------------------
  |  Branch (704:9): [True: 0, False: 5.88M]
  ------------------
  705|      0|            return 2;
  706|      0|        case FOR_ITER_LIST:
  ------------------
  |  |  177|      0|#define FOR_ITER_LIST                          175
  ------------------
  |  Branch (706:9): [True: 0, False: 5.88M]
  ------------------
  707|      0|            return 3;
  708|      0|        case FOR_ITER_RANGE:
  ------------------
  |  |  178|      0|#define FOR_ITER_RANGE                         176
  ------------------
  |  Branch (708:9): [True: 0, False: 5.88M]
  ------------------
  709|      0|            return 3;
  710|      0|        case FOR_ITER_TUPLE:
  ------------------
  |  |  179|      0|#define FOR_ITER_TUPLE                         177
  ------------------
  |  Branch (710:9): [True: 0, False: 5.88M]
  ------------------
  711|      0|            return 3;
  712|      0|        case FOR_ITER_VIRTUAL:
  ------------------
  |  |  180|      0|#define FOR_ITER_VIRTUAL                       178
  ------------------
  |  Branch (712:9): [True: 0, False: 5.88M]
  ------------------
  713|      0|            return 3;
  714|  1.69k|        case GET_AITER:
  ------------------
  |  |   27|  1.69k|#define GET_AITER                               14
  ------------------
  |  Branch (714:9): [True: 1.69k, False: 5.88M]
  ------------------
  715|  1.69k|            return 1;
  716|  1.69k|        case GET_ANEXT:
  ------------------
  |  |   28|  1.69k|#define GET_ANEXT                               15
  ------------------
  |  Branch (716:9): [True: 1.69k, False: 5.88M]
  ------------------
  717|  1.69k|            return 2;
  718|  53.5k|        case GET_AWAITABLE:
  ------------------
  |  |   79|  53.5k|#define GET_AWAITABLE                           66
  ------------------
  |  Branch (718:9): [True: 53.5k, False: 5.83M]
  ------------------
  719|  53.5k|            return 1;
  720|  4.68k|        case GET_ITER:
  ------------------
  |  |   80|  4.68k|#define GET_ITER                                67
  ------------------
  |  Branch (720:9): [True: 4.68k, False: 5.88M]
  ------------------
  721|  4.68k|            return 2;
  722|      0|        case GET_ITER_SELF:
  ------------------
  |  |  181|      0|#define GET_ITER_SELF                          179
  ------------------
  |  Branch (722:9): [True: 0, False: 5.88M]
  ------------------
  723|      0|            return 2;
  724|      0|        case GET_ITER_VIRTUAL:
  ------------------
  |  |  182|      0|#define GET_ITER_VIRTUAL                       180
  ------------------
  |  Branch (724:9): [True: 0, False: 5.88M]
  ------------------
  725|      0|            return 2;
  726|  2.40k|        case GET_LEN:
  ------------------
  |  |   29|  2.40k|#define GET_LEN                                 16
  ------------------
  |  Branch (726:9): [True: 2.40k, False: 5.88M]
  ------------------
  727|  2.40k|            return 2;
  728|  12.3k|        case IMPORT_FROM:
  ------------------
  |  |   81|  12.3k|#define IMPORT_FROM                             68
  ------------------
  |  Branch (728:9): [True: 12.3k, False: 5.87M]
  ------------------
  729|  12.3k|            return 2;
  730|  20.8k|        case IMPORT_NAME:
  ------------------
  |  |   82|  20.8k|#define IMPORT_NAME                             69
  ------------------
  |  Branch (730:9): [True: 20.8k, False: 5.86M]
  ------------------
  731|  20.8k|            return 1;
  732|      0|        case INSTRUMENTED_CALL:
  ------------------
  |  |  237|      0|#define INSTRUMENTED_CALL                      249
  ------------------
  |  Branch (732:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  735|      0|            return 1;
  736|      0|        case INSTRUMENTED_CALL_KW:
  ------------------
  |  |  238|      0|#define INSTRUMENTED_CALL_KW                   250
  ------------------
  |  Branch (736:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  739|      0|            return 0;
  740|      0|        case INSTRUMENTED_END_FOR:
  ------------------
  |  |  221|      0|#define INSTRUMENTED_END_FOR                   233
  ------------------
  |  Branch (740:9): [True: 0, False: 5.88M]
  ------------------
  741|      0|            return 2;
  742|      0|        case INSTRUMENTED_END_SEND:
  ------------------
  |  |  223|      0|#define INSTRUMENTED_END_SEND                  235
  ------------------
  |  Branch (742:9): [True: 0, False: 5.88M]
  ------------------
  743|      0|            return 1;
  744|      0|        case INSTRUMENTED_FOR_ITER:
  ------------------
  |  |  224|      0|#define INSTRUMENTED_FOR_ITER                  236
  ------------------
  |  Branch (744:9): [True: 0, False: 5.88M]
  ------------------
  745|      0|            return 3;
  746|      0|        case INSTRUMENTED_INSTRUCTION:
  ------------------
  |  |  225|      0|#define INSTRUMENTED_INSTRUCTION               237
  ------------------
  |  Branch (746:9): [True: 0, False: 5.88M]
  ------------------
  747|      0|            return 0;
  748|      0|        case INSTRUMENTED_JUMP_BACKWARD:
  ------------------
  |  |  240|      0|#define INSTRUMENTED_JUMP_BACKWARD             252
  ------------------
  |  Branch (748:9): [True: 0, False: 5.88M]
  ------------------
  749|      0|            return 0;
  750|      0|        case INSTRUMENTED_JUMP_FORWARD:
  ------------------
  |  |  226|      0|#define INSTRUMENTED_JUMP_FORWARD              238
  ------------------
  |  Branch (750:9): [True: 0, False: 5.88M]
  ------------------
  751|      0|            return 0;
  752|      0|        case INSTRUMENTED_LINE:
  ------------------
  |  |  241|      0|#define INSTRUMENTED_LINE                      253
  ------------------
  |  Branch (752:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  757|      0|            return 0;
  758|      0|        case INSTRUMENTED_POP_ITER:
  ------------------
  |  |  222|      0|#define INSTRUMENTED_POP_ITER                  234
  ------------------
  |  Branch (758:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  767|      0|            return 0;
  768|      0|        case INSTRUMENTED_RESUME:
  ------------------
  |  |  232|      0|#define INSTRUMENTED_RESUME                    244
  ------------------
  |  Branch (768:9): [True: 0, False: 5.88M]
  ------------------
  769|      0|            return 0;
  770|      0|        case INSTRUMENTED_RETURN_VALUE:
  ------------------
  |  |  233|      0|#define INSTRUMENTED_RETURN_VALUE              245
  ------------------
  |  Branch (770:9): [True: 0, False: 5.88M]
  ------------------
  771|      0|            return 1;
  772|      0|        case INSTRUMENTED_YIELD_VALUE:
  ------------------
  |  |  234|      0|#define INSTRUMENTED_YIELD_VALUE               246
  ------------------
  |  Branch (772:9): [True: 0, False: 5.88M]
  ------------------
  773|      0|            return 1;
  774|      0|        case INTERPRETER_EXIT:
  ------------------
  |  |   31|      0|#define INTERPRETER_EXIT                        18
  ------------------
  |  Branch (774:9): [True: 0, False: 5.88M]
  ------------------
  775|      0|            return 0;
  776|  7.88k|        case IS_OP:
  ------------------
  |  |   83|  7.88k|#define IS_OP                                   70
  ------------------
  |  Branch (776:9): [True: 7.88k, False: 5.87M]
  ------------------
  777|  7.88k|            return 1;
  778|  20.8k|        case JUMP:
  ------------------
  |  |  245|  20.8k|#define JUMP                                   257
  ------------------
  |  Branch (778:9): [True: 20.8k, False: 5.86M]
  ------------------
  779|  20.8k|            return 0;
  780|      0|        case JUMP_BACKWARD:
  ------------------
  |  |   84|      0|#define JUMP_BACKWARD                           71
  ------------------
  |  Branch (780:9): [True: 0, False: 5.88M]
  ------------------
  781|      0|            return 0;
  782|      0|        case JUMP_BACKWARD_JIT:
  ------------------
  |  |  183|      0|#define JUMP_BACKWARD_JIT                      181
  ------------------
  |  Branch (782:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  787|      0|            return 0;
  788|      0|        case JUMP_FORWARD:
  ------------------
  |  |   86|      0|#define JUMP_FORWARD                            73
  ------------------
  |  Branch (788:9): [True: 0, False: 5.88M]
  ------------------
  789|      0|            return 0;
  790|  1.04k|        case JUMP_IF_FALSE:
  ------------------
  |  |  246|  1.04k|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (790:9): [True: 1.04k, False: 5.88M]
  ------------------
  791|  1.04k|            return 1;
  792|    898|        case JUMP_IF_TRUE:
  ------------------
  |  |  247|    898|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (792:9): [True: 898, False: 5.88M]
  ------------------
  793|    898|            return 1;
  794|   180k|        case JUMP_NO_INTERRUPT:
  ------------------
  |  |  248|   180k|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (794:9): [True: 180k, False: 5.70M]
  ------------------
  795|   180k|            return 0;
  796|  61.1k|        case LIST_APPEND:
  ------------------
  |  |   87|  61.1k|#define LIST_APPEND                             74
  ------------------
  |  Branch (796:9): [True: 61.1k, False: 5.82M]
  ------------------
  797|  61.1k|            return 1 + (oparg-1);
  798|  5.42k|        case LIST_EXTEND:
  ------------------
  |  |   88|  5.42k|#define LIST_EXTEND                             75
  ------------------
  |  Branch (798:9): [True: 5.42k, False: 5.87M]
  ------------------
  799|  5.42k|            return 1 + (oparg-1);
  800|  14.1k|        case LOAD_ATTR:
  ------------------
  |  |   89|  14.1k|#define LOAD_ATTR                               76
  ------------------
  |  Branch (800:9): [True: 14.1k, False: 5.87M]
  ------------------
  801|  14.1k|            return 1 + (oparg&1);
  802|      0|        case LOAD_ATTR_CLASS:
  ------------------
  |  |  185|      0|#define LOAD_ATTR_CLASS                        183
  ------------------
  |  Branch (802:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  815|      0|            return 2;
  816|      0|        case LOAD_ATTR_MODULE:
  ------------------
  |  |  192|      0|#define LOAD_ATTR_MODULE                       190
  ------------------
  |  Branch (816:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  821|      0|            return 1;
  822|      0|        case LOAD_ATTR_PROPERTY:
  ------------------
  |  |  195|      0|#define LOAD_ATTR_PROPERTY                     193
  ------------------
  |  Branch (822:9): [True: 0, False: 5.88M]
  ------------------
  823|      0|            return 0;
  824|      0|        case LOAD_ATTR_SLOT:
  ------------------
  |  |  196|      0|#define LOAD_ATTR_SLOT                         194
  ------------------
  |  Branch (824:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  827|      0|            return 1 + (oparg & 1);
  828|  25.0k|        case LOAD_BUILD_CLASS:
  ------------------
  |  |   32|  25.0k|#define LOAD_BUILD_CLASS                        19
  ------------------
  |  Branch (828:9): [True: 25.0k, False: 5.86M]
  ------------------
  829|  25.0k|            return 1;
  830|  18.4k|        case LOAD_CLOSURE:
  ------------------
  |  |  249|  18.4k|#define LOAD_CLOSURE                           261
  ------------------
  |  Branch (830:9): [True: 18.4k, False: 5.86M]
  ------------------
  831|  18.4k|            return 1;
  832|   307k|        case LOAD_COMMON_CONSTANT:
  ------------------
  |  |   90|   307k|#define LOAD_COMMON_CONSTANT                    77
  ------------------
  |  Branch (832:9): [True: 307k, False: 5.57M]
  ------------------
  833|   307k|            return 1;
  834|   628k|        case LOAD_CONST:
  ------------------
  |  |   91|   628k|#define LOAD_CONST                              78
  ------------------
  |  Branch (834:9): [True: 628k, False: 5.25M]
  ------------------
  835|   628k|            return 1;
  836|  37.7k|        case LOAD_DEREF:
  ------------------
  |  |   92|  37.7k|#define LOAD_DEREF                              79
  ------------------
  |  Branch (836:9): [True: 37.7k, False: 5.84M]
  ------------------
  837|  37.7k|            return 1;
  838|  18.9k|        case LOAD_FAST:
  ------------------
  |  |   93|  18.9k|#define LOAD_FAST                               80
  ------------------
  |  Branch (838:9): [True: 18.9k, False: 5.86M]
  ------------------
  839|  18.9k|            return 1;
  840|  6.55k|        case LOAD_FAST_AND_CLEAR:
  ------------------
  |  |   94|  6.55k|#define LOAD_FAST_AND_CLEAR                     81
  ------------------
  |  Branch (840:9): [True: 6.55k, False: 5.87M]
  ------------------
  841|  6.55k|            return 1;
  842|      0|        case LOAD_FAST_BORROW:
  ------------------
  |  |   95|      0|#define LOAD_FAST_BORROW                        82
  ------------------
  |  Branch (842:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  845|      0|            return 2;
  846|  8.21k|        case LOAD_FAST_CHECK:
  ------------------
  |  |   97|  8.21k|#define LOAD_FAST_CHECK                         84
  ------------------
  |  Branch (846:9): [True: 8.21k, False: 5.87M]
  ------------------
  847|  8.21k|            return 1;
  848|  2.83k|        case LOAD_FAST_LOAD_FAST:
  ------------------
  |  |   98|  2.83k|#define LOAD_FAST_LOAD_FAST                     85
  ------------------
  |  Branch (848:9): [True: 2.83k, False: 5.88M]
  ------------------
  849|  2.83k|            return 2;
  850|  5.68k|        case LOAD_FROM_DICT_OR_DEREF:
  ------------------
  |  |   99|  5.68k|#define LOAD_FROM_DICT_OR_DEREF                 86
  ------------------
  |  Branch (850:9): [True: 5.68k, False: 5.87M]
  ------------------
  851|  5.68k|            return 1;
  852|  27.2k|        case LOAD_FROM_DICT_OR_GLOBALS:
  ------------------
  |  |  100|  27.2k|#define LOAD_FROM_DICT_OR_GLOBALS               87
  ------------------
  |  Branch (852:9): [True: 27.2k, False: 5.85M]
  ------------------
  853|  27.2k|            return 1;
  854|   158k|        case LOAD_GLOBAL:
  ------------------
  |  |  101|   158k|#define LOAD_GLOBAL                             88
  ------------------
  |  Branch (854:9): [True: 158k, False: 5.72M]
  ------------------
  855|   158k|            return 1 + (oparg & 1);
  856|      0|        case LOAD_GLOBAL_BUILTIN:
  ------------------
  |  |  198|      0|#define LOAD_GLOBAL_BUILTIN                    196
  ------------------
  |  Branch (856:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  859|      0|            return 1 + (oparg & 1);
  860|  17.4k|        case LOAD_LOCALS:
  ------------------
  |  |   33|  17.4k|#define LOAD_LOCALS                             20
  ------------------
  |  Branch (860:9): [True: 17.4k, False: 5.86M]
  ------------------
  861|  17.4k|            return 1;
  862|   302k|        case LOAD_NAME:
  ------------------
  |  |  102|   302k|#define LOAD_NAME                               89
  ------------------
  |  Branch (862:9): [True: 302k, False: 5.58M]
  ------------------
  863|   302k|            return 1;
  864|   265k|        case LOAD_SMALL_INT:
  ------------------
  |  |  103|   265k|#define LOAD_SMALL_INT                          90
  ------------------
  |  Branch (864:9): [True: 265k, False: 5.61M]
  ------------------
  865|   265k|            return 1;
  866|  22.8k|        case LOAD_SPECIAL:
  ------------------
  |  |  104|  22.8k|#define LOAD_SPECIAL                            91
  ------------------
  |  Branch (866:9): [True: 22.8k, False: 5.86M]
  ------------------
  867|  22.8k|            return 2;
  868|    521|        case LOAD_SUPER_ATTR:
  ------------------
  |  |  105|    521|#define LOAD_SUPER_ATTR                         92
  ------------------
  |  Branch (868:9): [True: 521, False: 5.88M]
  ------------------
  869|    521|            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: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  873|      0|            return 2;
  874|  11.9k|        case MAKE_CELL:
  ------------------
  |  |  106|  11.9k|#define MAKE_CELL                               93
  ------------------
  |  Branch (874:9): [True: 11.9k, False: 5.87M]
  ------------------
  875|  11.9k|            return 0;
  876|  83.0k|        case MAKE_FUNCTION:
  ------------------
  |  |   34|  83.0k|#define MAKE_FUNCTION                           21
  ------------------
  |  Branch (876:9): [True: 83.0k, False: 5.80M]
  ------------------
  877|  83.0k|            return 1;
  878|  1.02k|        case MAP_ADD:
  ------------------
  |  |  107|  1.02k|#define MAP_ADD                                 94
  ------------------
  |  Branch (878:9): [True: 1.02k, False: 5.88M]
  ------------------
  879|  1.02k|            return 1 + (oparg - 1);
  880|     54|        case MATCH_CLASS:
  ------------------
  |  |  108|     54|#define MATCH_CLASS                             95
  ------------------
  |  Branch (880:9): [True: 54, False: 5.88M]
  ------------------
  881|     54|            return 1;
  882|     10|        case MATCH_KEYS:
  ------------------
  |  |   35|     10|#define MATCH_KEYS                              22
  ------------------
  |  Branch (882:9): [True: 10, False: 5.88M]
  ------------------
  883|     10|            return 3;
  884|     16|        case MATCH_MAPPING:
  ------------------
  |  |   36|     16|#define MATCH_MAPPING                           23
  ------------------
  |  Branch (884:9): [True: 16, False: 5.88M]
  ------------------
  885|     16|            return 2;
  886|  1.55k|        case MATCH_SEQUENCE:
  ------------------
  |  |   37|  1.55k|#define MATCH_SEQUENCE                          24
  ------------------
  |  Branch (886:9): [True: 1.55k, False: 5.88M]
  ------------------
  887|  1.55k|            return 2;
  888|  8.36k|        case NOP:
  ------------------
  |  |   38|  8.36k|#define NOP                                     25
  ------------------
  |  Branch (888:9): [True: 8.36k, False: 5.87M]
  ------------------
  889|  8.36k|            return 0;
  890|  66.6k|        case NOT_TAKEN:
  ------------------
  |  |   39|  66.6k|#define NOT_TAKEN                               26
  ------------------
  |  Branch (890:9): [True: 66.6k, False: 5.81M]
  ------------------
  891|  66.6k|            return 0;
  892|      0|        case POP_BLOCK:
  ------------------
  |  |  250|      0|#define POP_BLOCK                              262
  ------------------
  |  Branch (892:9): [True: 0, False: 5.88M]
  ------------------
  893|      0|            return 0;
  894|  31.1k|        case POP_EXCEPT:
  ------------------
  |  |   40|  31.1k|#define POP_EXCEPT                              27
  ------------------
  |  Branch (894:9): [True: 31.1k, False: 5.85M]
  ------------------
  895|  31.1k|            return 0;
  896|  4.66k|        case POP_ITER:
  ------------------
  |  |   41|  4.66k|#define POP_ITER                                28
  ------------------
  |  Branch (896:9): [True: 4.66k, False: 5.88M]
  ------------------
  897|  4.66k|            return 0;
  898|   211k|        case POP_JUMP_IF_FALSE:
  ------------------
  |  |  109|   211k|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (898:9): [True: 211k, False: 5.67M]
  ------------------
  899|   211k|            return 0;
  900|  3.02k|        case POP_JUMP_IF_NONE:
  ------------------
  |  |  110|  3.02k|#define POP_JUMP_IF_NONE                        97
  ------------------
  |  Branch (900:9): [True: 3.02k, False: 5.88M]
  ------------------
  901|  3.02k|            return 0;
  902|  2.31k|        case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  111|  2.31k|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  |  Branch (902:9): [True: 2.31k, False: 5.88M]
  ------------------
  903|  2.31k|            return 0;
  904|  30.7k|        case POP_JUMP_IF_TRUE:
  ------------------
  |  |  112|  30.7k|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (904:9): [True: 30.7k, False: 5.85M]
  ------------------
  905|  30.7k|            return 0;
  906|   388k|        case POP_TOP:
  ------------------
  |  |   42|   388k|#define POP_TOP                                 29
  ------------------
  |  Branch (906:9): [True: 388k, False: 5.49M]
  ------------------
  907|   388k|            return 0;
  908|  15.8k|        case PUSH_EXC_INFO:
  ------------------
  |  |   43|  15.8k|#define PUSH_EXC_INFO                           30
  ------------------
  |  Branch (908:9): [True: 15.8k, False: 5.86M]
  ------------------
  909|  15.8k|            return 2;
  910|   103k|        case PUSH_NULL:
  ------------------
  |  |   44|   103k|#define PUSH_NULL                               31
  ------------------
  |  Branch (910:9): [True: 103k, False: 5.78M]
  ------------------
  911|   103k|            return 1;
  912|  28.6k|        case RAISE_VARARGS:
  ------------------
  |  |  113|  28.6k|#define RAISE_VARARGS                          100
  ------------------
  |  Branch (912:9): [True: 28.6k, False: 5.85M]
  ------------------
  913|  28.6k|            return 0;
  914|  37.3k|        case RERAISE:
  ------------------
  |  |  114|  37.3k|#define RERAISE                                101
  ------------------
  |  Branch (914:9): [True: 37.3k, False: 5.84M]
  ------------------
  915|  37.3k|            return oparg;
  916|      0|        case RESERVED:
  ------------------
  |  |   30|      0|#define RESERVED                                17
  ------------------
  |  Branch (916:9): [True: 0, False: 5.88M]
  ------------------
  917|      0|            return 0;
  918|   162k|        case RESUME:
  ------------------
  |  |  130|   162k|#define RESUME                                 128
  ------------------
  |  Branch (918:9): [True: 162k, False: 5.72M]
  ------------------
  919|   162k|            return 0;
  920|      0|        case RESUME_CHECK:
  ------------------
  |  |  202|      0|#define RESUME_CHECK                           200
  ------------------
  |  Branch (920:9): [True: 0, False: 5.88M]
  ------------------
  921|      0|            return 0;
  922|      0|        case RESUME_CHECK_JIT:
  ------------------
  |  |  203|      0|#define RESUME_CHECK_JIT                       201
  ------------------
  |  Branch (922:9): [True: 0, False: 5.88M]
  ------------------
  923|      0|            return 0;
  924|  5.92k|        case RETURN_GENERATOR:
  ------------------
  |  |   45|  5.92k|#define RETURN_GENERATOR                        32
  ------------------
  |  Branch (924:9): [True: 5.92k, False: 5.87M]
  ------------------
  925|  5.92k|            return 1;
  926|   112k|        case RETURN_VALUE:
  ------------------
  |  |   46|   112k|#define RETURN_VALUE                            33
  ------------------
  |  Branch (926:9): [True: 112k, False: 5.77M]
  ------------------
  927|   112k|            return 1;
  928|  70.5k|        case SEND:
  ------------------
  |  |  115|  70.5k|#define SEND                                   102
  ------------------
  |  Branch (928:9): [True: 70.5k, False: 5.81M]
  ------------------
  929|  70.5k|            return 3;
  930|      0|        case SEND_ASYNC_GEN:
  ------------------
  |  |  204|      0|#define SEND_ASYNC_GEN                         202
  ------------------
  |  Branch (930:9): [True: 0, False: 5.88M]
  ------------------
  931|      0|            return 3;
  932|      0|        case SEND_GEN:
  ------------------
  |  |  205|      0|#define SEND_GEN                               203
  ------------------
  |  Branch (932:9): [True: 0, False: 5.88M]
  ------------------
  933|      0|            return 2;
  934|      0|        case SEND_VIRTUAL:
  ------------------
  |  |  206|      0|#define SEND_VIRTUAL                           204
  ------------------
  |  Branch (934:9): [True: 0, False: 5.88M]
  ------------------
  935|      0|            return 3;
  936|  3.98k|        case SETUP_ANNOTATIONS:
  ------------------
  |  |   47|  3.98k|#define SETUP_ANNOTATIONS                       34
  ------------------
  |  Branch (936:9): [True: 3.98k, False: 5.88M]
  ------------------
  937|  3.98k|            return 0;
  938|  40.4k|        case SETUP_CLEANUP:
  ------------------
  |  |  251|  40.4k|#define SETUP_CLEANUP                          263
  ------------------
  |  Branch (938:9): [True: 40.4k, False: 5.84M]
  ------------------
  939|  40.4k|            return 2;
  940|  86.3k|        case SETUP_FINALLY:
  ------------------
  |  |  252|  86.3k|#define SETUP_FINALLY                          264
  ------------------
  |  Branch (940:9): [True: 86.3k, False: 5.79M]
  ------------------
  941|  86.3k|            return 1;
  942|  22.8k|        case SETUP_WITH:
  ------------------
  |  |  253|  22.8k|#define SETUP_WITH                             265
  ------------------
  |  Branch (942:9): [True: 22.8k, False: 5.86M]
  ------------------
  943|  22.8k|            return 1;
  944|  7.68k|        case SET_ADD:
  ------------------
  |  |  116|  7.68k|#define SET_ADD                                103
  ------------------
  |  Branch (944:9): [True: 7.68k, False: 5.87M]
  ------------------
  945|  7.68k|            return 1 + (oparg-1);
  946|  37.5k|        case SET_FUNCTION_ATTRIBUTE:
  ------------------
  |  |  117|  37.5k|#define SET_FUNCTION_ATTRIBUTE                 104
  ------------------
  |  Branch (946:9): [True: 37.5k, False: 5.84M]
  ------------------
  947|  37.5k|            return 1;
  948|  18.3k|        case SET_UPDATE:
  ------------------
  |  |  118|  18.3k|#define SET_UPDATE                             105
  ------------------
  |  Branch (948:9): [True: 18.3k, False: 5.86M]
  ------------------
  949|  18.3k|            return 1 + (oparg-1);
  950|  5.83k|        case STORE_ATTR:
  ------------------
  |  |  119|  5.83k|#define STORE_ATTR                             106
  ------------------
  |  Branch (950:9): [True: 5.83k, False: 5.87M]
  ------------------
  951|  5.83k|            return 0;
  952|      0|        case STORE_ATTR_INSTANCE_VALUE:
  ------------------
  |  |  207|      0|#define STORE_ATTR_INSTANCE_VALUE              205
  ------------------
  |  Branch (952:9): [True: 0, False: 5.88M]
  ------------------
  953|      0|            return 0;
  954|      0|        case STORE_ATTR_SLOT:
  ------------------
  |  |  208|      0|#define STORE_ATTR_SLOT                        206
  ------------------
  |  Branch (954:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  957|      0|            return 0;
  958|  19.8k|        case STORE_DEREF:
  ------------------
  |  |  120|  19.8k|#define STORE_DEREF                            107
  ------------------
  |  Branch (958:9): [True: 19.8k, False: 5.86M]
  ------------------
  959|  19.8k|            return 0;
  960|  76.0k|        case STORE_FAST:
  ------------------
  |  |  121|  76.0k|#define STORE_FAST                             108
  ------------------
  |  Branch (960:9): [True: 76.0k, False: 5.80M]
  ------------------
  961|  76.0k|            return 0;
  962|  3.20k|        case STORE_FAST_LOAD_FAST:
  ------------------
  |  |  122|  3.20k|#define STORE_FAST_LOAD_FAST                   109
  ------------------
  |  Branch (962:9): [True: 3.20k, False: 5.88M]
  ------------------
  963|  3.20k|            return 1;
  964|  13.1k|        case STORE_FAST_MAYBE_NULL:
  ------------------
  |  |  254|  13.1k|#define STORE_FAST_MAYBE_NULL                  266
  ------------------
  |  Branch (964:9): [True: 13.1k, False: 5.87M]
  ------------------
  965|  13.1k|            return 0;
  966|  14.9k|        case STORE_FAST_STORE_FAST:
  ------------------
  |  |  123|  14.9k|#define STORE_FAST_STORE_FAST                  110
  ------------------
  |  Branch (966:9): [True: 14.9k, False: 5.87M]
  ------------------
  967|  14.9k|            return 0;
  968|  1.07k|        case STORE_GLOBAL:
  ------------------
  |  |  124|  1.07k|#define STORE_GLOBAL                           111
  ------------------
  |  Branch (968:9): [True: 1.07k, False: 5.88M]
  ------------------
  969|  1.07k|            return 0;
  970|   238k|        case STORE_NAME:
  ------------------
  |  |  125|   238k|#define STORE_NAME                             112
  ------------------
  |  Branch (970:9): [True: 238k, False: 5.64M]
  ------------------
  971|   238k|            return 0;
  972|    524|        case STORE_SLICE:
  ------------------
  |  |   48|    524|#define STORE_SLICE                             35
  ------------------
  |  Branch (972:9): [True: 524, False: 5.88M]
  ------------------
  973|    524|            return 0;
  974|  41.3k|        case STORE_SUBSCR:
  ------------------
  |  |   49|  41.3k|#define STORE_SUBSCR                            36
  ------------------
  |  Branch (974:9): [True: 41.3k, False: 5.84M]
  ------------------
  975|  41.3k|            return 0;
  976|      0|        case STORE_SUBSCR_DICT:
  ------------------
  |  |  210|      0|#define STORE_SUBSCR_DICT                      208
  ------------------
  |  Branch (976:9): [True: 0, False: 5.88M]
  ------------------
  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: 5.88M]
  ------------------
  979|      0|            return 0;
  980|  95.8k|        case SWAP:
  ------------------
  |  |  126|  95.8k|#define SWAP                                   113
  ------------------
  |  Branch (980:9): [True: 95.8k, False: 5.78M]
  ------------------
  981|  95.8k|            return 2 + (oparg-2);
  982|   107k|        case TO_BOOL:
  ------------------
  |  |   50|   107k|#define TO_BOOL                                 37
  ------------------
  |  Branch (982:9): [True: 107k, False: 5.77M]
  ------------------
  983|   107k|            return 1;
  984|      0|        case TO_BOOL_ALWAYS_TRUE:
  ------------------
  |  |  212|      0|#define TO_BOOL_ALWAYS_TRUE                    210
  ------------------
  |  Branch (984:9): [True: 0, False: 5.88M]
  ------------------
  985|      0|            return 1;
  986|      0|        case TO_BOOL_BOOL:
  ------------------
  |  |  213|      0|#define TO_BOOL_BOOL                           211
  ------------------
  |  Branch (986:9): [True: 0, False: 5.88M]
  ------------------
  987|      0|            return 1;
  988|      0|        case TO_BOOL_INT:
  ------------------
  |  |  214|      0|#define TO_BOOL_INT                            212
  ------------------
  |  Branch (988:9): [True: 0, False: 5.88M]
  ------------------
  989|      0|            return 1;
  990|      0|        case TO_BOOL_LIST:
  ------------------
  |  |  215|      0|#define TO_BOOL_LIST                           213
  ------------------
  |  Branch (990:9): [True: 0, False: 5.88M]
  ------------------
  991|      0|            return 1;
  992|      0|        case TO_BOOL_NONE:
  ------------------
  |  |  216|      0|#define TO_BOOL_NONE                           214
  ------------------
  |  Branch (992:9): [True: 0, False: 5.88M]
  ------------------
  993|      0|            return 1;
  994|      0|        case TO_BOOL_STR:
  ------------------
  |  |  217|      0|#define TO_BOOL_STR                            215
  ------------------
  |  Branch (994:9): [True: 0, False: 5.88M]
  ------------------
  995|      0|            return 1;
  996|      0|        case TRACE_RECORD:
  ------------------
  |  |  243|      0|#define TRACE_RECORD                           255
  ------------------
  |  Branch (996:9): [True: 0, False: 5.88M]
  ------------------
  997|      0|            return 0;
  998|  1.35k|        case UNARY_INVERT:
  ------------------
  |  |   51|  1.35k|#define UNARY_INVERT                            38
  ------------------
  |  Branch (998:9): [True: 1.35k, False: 5.88M]
  ------------------
  999|  1.35k|            return 1;
 1000|  26.6k|        case UNARY_NEGATIVE:
  ------------------
  |  |   52|  26.6k|#define UNARY_NEGATIVE                          39
  ------------------
  |  Branch (1000:9): [True: 26.6k, False: 5.85M]
  ------------------
 1001|  26.6k|            return 1;
 1002|    142|        case UNARY_NOT:
  ------------------
  |  |   53|    142|#define UNARY_NOT                               40
  ------------------
  |  Branch (1002:9): [True: 142, False: 5.88M]
  ------------------
 1003|    142|            return 1;
 1004|    838|        case UNPACK_EX:
  ------------------
  |  |  127|    838|#define UNPACK_EX                              114
  ------------------
  |  Branch (1004:9): [True: 838, False: 5.88M]
  ------------------
 1005|    838|            return 1 + (oparg & 0xFF) + (oparg >> 8);
 1006|  46.8k|        case UNPACK_SEQUENCE:
  ------------------
  |  |  128|  46.8k|#define UNPACK_SEQUENCE                        115
  ------------------
  |  Branch (1006:9): [True: 46.8k, False: 5.83M]
  ------------------
 1007|  46.8k|            return oparg;
 1008|      0|        case UNPACK_SEQUENCE_LIST:
  ------------------
  |  |  218|      0|#define UNPACK_SEQUENCE_LIST                   216
  ------------------
  |  Branch (1008:9): [True: 0, False: 5.88M]
  ------------------
 1009|      0|            return oparg;
 1010|      0|        case UNPACK_SEQUENCE_TUPLE:
  ------------------
  |  |  219|      0|#define UNPACK_SEQUENCE_TUPLE                  217
  ------------------
  |  Branch (1010:9): [True: 0, False: 5.88M]
  ------------------
 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: 5.88M]
  ------------------
 1013|      0|            return 2;
 1014|  11.4k|        case WITH_EXCEPT_START:
  ------------------
  |  |   54|  11.4k|#define WITH_EXCEPT_START                       41
  ------------------
  |  Branch (1014:9): [True: 11.4k, False: 5.87M]
  ------------------
 1015|  11.4k|            return 6;
 1016|  56.3k|        case YIELD_VALUE:
  ------------------
  |  |  129|  56.3k|#define YIELD_VALUE                            116
  ------------------
  |  Branch (1016:9): [True: 56.3k, False: 5.82M]
  ------------------
 1017|  56.3k|            return 1;
 1018|      0|        default:
  ------------------
  |  Branch (1018:9): [True: 0, False: 5.88M]
  ------------------
 1019|      0|            return -1;
 1020|  5.88M|    }
 1021|  5.88M|}
flowgraph.c:is_pseudo_target:
 2139|  31.5k|is_pseudo_target(int pseudo, int target) {
 2140|  31.5k|    if (pseudo < 256 || pseudo >= 267) {
  ------------------
  |  Branch (2140:9): [True: 0, False: 31.5k]
  |  Branch (2140:25): [True: 0, False: 31.5k]
  ------------------
 2141|      0|        return false;
 2142|      0|    }
 2143|  31.5k|    for (int i = 0; _PyOpcode_PseudoTargets[pseudo-256].targets[i]; i++) {
  ------------------
  |  Branch (2143:21): [True: 31.5k, False: 0]
  ------------------
 2144|  31.5k|        if (_PyOpcode_PseudoTargets[pseudo-256].targets[i] == target) return true;
  ------------------
  |  Branch (2144:13): [True: 31.5k, False: 0]
  ------------------
 2145|  31.5k|    }
 2146|      0|    return false;
 2147|  31.5k|}
assemble.c:is_pseudo_target:
 2139|   172k|is_pseudo_target(int pseudo, int target) {
 2140|   172k|    if (pseudo < 256 || pseudo >= 267) {
  ------------------
  |  Branch (2140:9): [True: 0, False: 172k]
  |  Branch (2140:25): [True: 0, False: 172k]
  ------------------
 2141|      0|        return false;
 2142|      0|    }
 2143|   258k|    for (int i = 0; _PyOpcode_PseudoTargets[pseudo-256].targets[i]; i++) {
  ------------------
  |  Branch (2143:21): [True: 258k, False: 0]
  ------------------
 2144|   258k|        if (_PyOpcode_PseudoTargets[pseudo-256].targets[i] == target) return true;
  ------------------
  |  Branch (2144:13): [True: 172k, False: 86.0k]
  ------------------
 2145|   258k|    }
 2146|      0|    return false;
 2147|   172k|}

dictobject.c:_PyErr_Occurred:
   76|    525|{
   77|    525|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 525, False: 0]
  ------------------
   78|    525|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 525, False: 0]
  ------------------
   79|    525|        return NULL;
   80|    525|    }
   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|    525|}
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|   373k|{
   77|   373k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 373k, False: 0]
  ------------------
   78|   373k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 373k, False: 54]
  ------------------
   79|   373k|        return NULL;
   80|   373k|    }
   81|     54|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|     54|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|   373k|}
ceval.c:_PyErr_Occurred:
   76|  20.7M|{
   77|  20.7M|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 20.7M, False: 0]
  ------------------
   78|  20.7M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 20.7M, False: 56.4k]
  ------------------
   79|  20.7M|        return NULL;
   80|  20.7M|    }
   81|  56.4k|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|  56.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  56.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  20.7M|}
ceval.c:_PyErr_ClearExcState:
   85|  1.25k|{
   86|       |    Py_CLEAR(exc_state->exc_value);
  ------------------
  |  |  484|  1.25k|    do { \
  |  |  485|  1.25k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.25k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.25k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.25k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.25k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 1.25k]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_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.25k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.25k]
  |  |  ------------------
  ------------------
   87|  1.25k|}
errors.c:_PyErr_Occurred:
   76|  3.85M|{
   77|  3.85M|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 3.85M, False: 0]
  ------------------
   78|  3.85M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 3.69M, False: 157k]
  ------------------
   79|  3.69M|        return NULL;
   80|  3.69M|    }
   81|   157k|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|   157k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   157k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   157k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  3.85M|}
gc.c:_PyErr_Occurred:
   76|  33.0M|{
   77|  33.0M|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 33.0M, False: 0]
  ------------------
   78|  33.0M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 33.0M, False: 0]
  ------------------
   79|  33.0M|        return NULL;
   80|  33.0M|    }
   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|  33.0M|}
import.c:_PyErr_Occurred:
   76|  52.2k|{
   77|  52.2k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 52.2k, False: 0]
  ------------------
   78|  52.2k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 52.2k, False: 0]
  ------------------
   79|  52.2k|        return NULL;
   80|  52.2k|    }
   81|      0|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  52.2k|}
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|  73.3k|{
   77|  73.3k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 73.3k, False: 0]
  ------------------
   78|  73.3k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 70.5k, False: 2.75k]
  ------------------
   79|  70.5k|        return NULL;
   80|  70.5k|    }
   81|  2.75k|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|  2.75k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  73.3k|}
call.c:_PyErr_Occurred:
   76|  16.6M|{
   77|  16.6M|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 16.6M, False: 0]
  ------------------
   78|  16.6M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 16.6M, False: 26.8k]
  ------------------
   79|  16.6M|        return NULL;
   80|  16.6M|    }
   81|  26.8k|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|  26.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  26.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  16.6M|}
genobject.c:_PyErr_ClearExcState:
   85|     12|{
   86|       |    Py_CLEAR(exc_state->exc_value);
  ------------------
  |  |  484|     12|    do { \
  |  |  485|     12|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     12|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     12|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     12|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     12|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 12]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
   87|     12|}
genobject.c:_PyErr_Occurred:
   76|  70.2k|{
   77|  70.2k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 70.2k, False: 0]
  ------------------
   78|  70.2k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 70.2k, False: 0]
  ------------------
   79|  70.2k|        return NULL;
   80|  70.2k|    }
   81|      0|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  70.2k|}
methodobject.c:_PyErr_Occurred:
   76|  73.3k|{
   77|  73.3k|    assert(tstate != NULL);
  ------------------
  |  Branch (77:5): [True: 73.3k, False: 0]
  ------------------
   78|  73.3k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 73.3k, False: 0]
  ------------------
   79|  73.3k|        return NULL;
   80|  73.3k|    }
   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|  73.3k|}

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

complexobject.c:_Py_ADJUST_ERANGE2:
   46|  54.4k|{
   47|  54.4k|    if (x == INFINITY || x == -INFINITY ||
  ------------------
  |  Branch (47:9): [True: 1.16k, False: 53.2k]
  |  Branch (47:26): [True: 862, False: 52.3k]
  ------------------
   48|  52.3k|        y == INFINITY || y == -INFINITY)
  ------------------
  |  Branch (48:9): [True: 26, False: 52.3k]
  |  Branch (48:26): [True: 1.03k, False: 51.3k]
  ------------------
   49|  3.09k|    {
   50|  3.09k|        if (errno == 0) {
  ------------------
  |  Branch (50:13): [True: 1.72k, False: 1.36k]
  ------------------
   51|  1.72k|            errno = ERANGE;
   52|  1.72k|        }
   53|  3.09k|    }
   54|  51.3k|    else if (errno == ERANGE) {
  ------------------
  |  Branch (54:14): [True: 4.08k, False: 47.2k]
  ------------------
   55|       |        errno = 0;
   56|  4.08k|    }
   57|  54.4k|}
floatobject.c:_Py_ADJUST_ERANGE1:
   34|  4.33k|{
   35|  4.33k|    if (errno == 0) {
  ------------------
  |  Branch (35:9): [True: 2.26k, False: 2.06k]
  ------------------
   36|  2.26k|        if (x == INFINITY || x == -INFINITY) {
  ------------------
  |  Branch (36:13): [True: 0, False: 2.26k]
  |  Branch (36:30): [True: 0, False: 2.26k]
  ------------------
   37|      0|            errno = ERANGE;
   38|      0|        }
   39|  2.26k|    }
   40|  2.06k|    else if (errno == ERANGE && x == 0.0) {
  ------------------
  |  Branch (40:14): [True: 2.06k, False: 0]
  |  Branch (40:33): [True: 634, False: 1.43k]
  ------------------
   41|       |        errno = 0;
   42|    634|    }
   43|  4.33k|}

object.c:_PyMem_IsPtrFreed:
   54|   760M|{
   55|   760M|    uintptr_t value = (uintptr_t)ptr;
   56|   760M|#if SIZEOF_VOID_P == 8
   57|   760M|    return (value <= 0xff  // NULL, 0x1, 0x2, ..., 0xff
  ------------------
  |  Branch (57:13): [True: 0, False: 760M]
  ------------------
   58|   760M|            || value == (uintptr_t)0xCDCDCDCDCDCDCDCD
  ------------------
  |  Branch (58:16): [True: 0, False: 760M]
  ------------------
   59|   760M|            || value == (uintptr_t)0xDDDDDDDDDDDDDDDD
  ------------------
  |  Branch (59:16): [True: 0, False: 760M]
  ------------------
   60|   760M|            || value == (uintptr_t)0xFDFDFDFDFDFDFDFD
  ------------------
  |  Branch (60:16): [True: 0, False: 760M]
  ------------------
   61|   760M|            || value >= (uintptr_t)0xFFFFFFFFFFFFFF00);  // -0xff, ..., -2, -1
  ------------------
  |  Branch (61:16): [True: 0, False: 760M]
  ------------------
   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|   760M|}
flowgraph.c:_PyMem_IsPtrFreed:
   54|   967k|{
   55|   967k|    uintptr_t value = (uintptr_t)ptr;
   56|   967k|#if SIZEOF_VOID_P == 8
   57|   967k|    return (value <= 0xff  // NULL, 0x1, 0x2, ..., 0xff
  ------------------
  |  Branch (57:13): [True: 0, False: 967k]
  ------------------
   58|   967k|            || value == (uintptr_t)0xCDCDCDCDCDCDCDCD
  ------------------
  |  Branch (58:16): [True: 0, False: 967k]
  ------------------
   59|   967k|            || value == (uintptr_t)0xDDDDDDDDDDDDDDDD
  ------------------
  |  Branch (59:16): [True: 0, False: 967k]
  ------------------
   60|   967k|            || value == (uintptr_t)0xFDFDFDFDFDFDFDFD
  ------------------
  |  Branch (60:16): [True: 0, False: 967k]
  ------------------
   61|   967k|            || value >= (uintptr_t)0xFFFFFFFFFFFFFF00);  // -0xff, ..., -2, -1
  ------------------
  |  Branch (61:16): [True: 0, False: 967k]
  ------------------
   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|   967k|}
pystate.c:_PyMem_IsPtrFreed:
   54|   223k|{
   55|   223k|    uintptr_t value = (uintptr_t)ptr;
   56|   223k|#if SIZEOF_VOID_P == 8
   57|   223k|    return (value <= 0xff  // NULL, 0x1, 0x2, ..., 0xff
  ------------------
  |  Branch (57:13): [True: 0, False: 223k]
  ------------------
   58|   223k|            || value == (uintptr_t)0xCDCDCDCDCDCDCDCD
  ------------------
  |  Branch (58:16): [True: 0, False: 223k]
  ------------------
   59|   223k|            || value == (uintptr_t)0xDDDDDDDDDDDDDDDD
  ------------------
  |  Branch (59:16): [True: 0, False: 223k]
  ------------------
   60|   223k|            || value == (uintptr_t)0xFDFDFDFDFDFDFDFD
  ------------------
  |  Branch (60:16): [True: 0, False: 223k]
  ------------------
   61|   223k|            || value >= (uintptr_t)0xFFFFFFFFFFFFFF00);  // -0xff, ..., -2, -1
  ------------------
  |  Branch (61:16): [True: 0, False: 223k]
  ------------------
   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|   223k|}

exceptions.c:_PyInterpreterState_GET:
  207|  67.8k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  67.8k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  67.8k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  67.8k|}
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|}
listobject.c:_PyInterpreterState_GET:
  207|  2.74M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  2.74M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  2.74M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  2.74M|}
longobject.c:_PyInterpreterState_GET:
  207|  25.6M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  25.6M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  25.6M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  25.6M|}
dictobject.c:_PyInterpreterState_GET:
  207|  4.20M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  4.20M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  4.20M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  4.20M|}
dictobject.c:_PyThreadState_GET:
  117|    541|{
  118|    541|#if !defined(Py_BUILD_CORE_MODULE)
  119|    541|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    541|}
moduleobject.c:_PyInterpreterState_GET:
  207|     43|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     43|#if !defined(Py_BUILD_CORE_MODULE)
  213|     43|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     43|}
object.c:_PyThreadState_GET:
  117|  88.9M|{
  118|  88.9M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  88.9M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  88.9M|}
object.c:_Py_get_machine_stack_pointer:
  318|  80.7M|_Py_get_machine_stack_pointer(void) {
  319|  80.7M|    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|  80.7M|    return result;
  333|  80.7M|}
object.c:_PyInterpreterState_GET:
  207|    830|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|    830|#if !defined(Py_BUILD_CORE_MODULE)
  213|    830|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|    830|}
object.c:_Py_RecursionLimit_GetMargin:
  337|  60.3M|{
  338|  60.3M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  339|  60.3M|    assert(_tstate->c_stack_hard_limit != 0);
  ------------------
  |  Branch (339:5): [True: 60.3M, False: 0]
  ------------------
  340|  60.3M|    intptr_t here_addr = _Py_get_machine_stack_pointer();
  341|  60.3M|#if _Py_STACK_GROWS_DOWN
  342|  60.3M|    return Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, here_addr - (intptr_t)_tstate->c_stack_soft_limit, _PyOS_STACK_MARGIN_SHIFT);
  ------------------
  |  |  226|  60.3M|#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|  60.3M|}
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|   199M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   199M|#if !defined(Py_BUILD_CORE_MODULE)
  213|   199M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   199M|}
obmalloc.c:_Py_IsMainInterpreter:
   61|      2|{
   62|      2|    return (interp == _PyInterpreterState_Main());
   63|      2|}
rangeobject.c:_PyInterpreterState_GET:
  207|  1.51k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  1.51k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  1.51k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  1.51k|}
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|   648k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   648k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   648k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   648k|}
sliceobject.c:_PyInterpreterState_GET:
  207|   118k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   118k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   118k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   118k|}
tupleobject.c:_PyInterpreterState_GET:
  207|   210M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   210M|#if !defined(Py_BUILD_CORE_MODULE)
  213|   210M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   210M|}
typeobject.c:_PyInterpreterState_GET:
  207|  2.07M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  2.07M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  2.07M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  2.07M|}
typeobject.c:_PyThreadState_GET:
  117|   612k|{
  118|   612k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   612k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   612k|}
typeobject.c:_Py_IsMainInterpreter:
   61|    404|{
   62|    404|    return (interp == _PyInterpreterState_Main());
   63|    404|}
unicode_writer.c:_PyInterpreterState_GET:
  207|   164k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   164k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   164k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   164k|}
unicodeobject.c:_PyInterpreterState_GET:
  207|   342k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   342k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   342k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   342k|}
unicodeobject.c:_Py_IsMainInterpreter:
   61|      6|{
   62|      6|    return (interp == _PyInterpreterState_Main());
   63|      6|}
unionobject.c:_PyInterpreterState_GET:
  207|     46|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     46|#if !defined(Py_BUILD_CORE_MODULE)
  213|     46|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     46|}
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|  48.4k|{
  118|  48.4k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  48.4k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  48.4k|}
_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|    830|{
  118|    830|#if !defined(Py_BUILD_CORE_MODULE)
  119|    830|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    830|}
ceval.c:_Py_get_machine_stack_pointer:
  318|   203M|_Py_get_machine_stack_pointer(void) {
  319|   203M|    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|   203M|    return result;
  333|   203M|}
ceval.c:_PyThreadState_GET:
  117|  8.96M|{
  118|  8.96M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  8.96M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  8.96M|}
ceval.c:_Py_EnsureFuncTstateNotNULL:
  177|   213k|{
  178|   213k|    if (tstate == NULL) {
  ------------------
  |  Branch (178:9): [True: 0, False: 213k]
  ------------------
  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|   213k|}
codecs.c:_PyInterpreterState_GET:
  207|  44.3k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  44.3k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  44.3k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  44.3k|}
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|  48.4k|{
  118|  48.4k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  48.4k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  48.4k|}
errors.c:_PyThreadState_GET:
  117|  8.08M|{
  118|  8.08M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  8.08M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  8.08M|}
errors.c:_Py_AssertHoldsTstateFunc:
  302|  3.75M|{
  303|  3.75M|    PyThreadState *tstate = _PyThreadState_GET();
  304|  3.75M|    _Py_EnsureFuncTstateNotNULL(func, tstate);
  305|  3.75M|}
errors.c:_Py_EnsureFuncTstateNotNULL:
  177|  3.75M|{
  178|  3.75M|    if (tstate == NULL) {
  ------------------
  |  Branch (178:9): [True: 0, False: 3.75M]
  ------------------
  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|  3.75M|}
flowgraph.c:_PyInterpreterState_GET:
  207|  46.3k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  46.3k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  46.3k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  46.3k|}
frame.c:_PyThreadState_GET:
  117|  6.64M|{
  118|  6.64M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  6.64M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  6.64M|}
frame.c:_PyInterpreterState_GET:
  207|  4.42k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  4.42k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  4.42k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  4.42k|}
gc.c:_PyInterpreterState_GET:
  207|  64.0M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  64.0M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  64.0M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  64.0M|}
gc.c:_PyThreadState_GET:
  117|   100M|{
  118|   100M|#if !defined(Py_BUILD_CORE_MODULE)
  119|   100M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   100M|}
ceval_gil.c:_PyThreadState_GET:
  117|  55.7k|{
  118|  55.7k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  55.7k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  55.7k|}
ceval_gil.c:_Py_EnsureFuncTstateNotNULL:
  177|   111k|{
  178|   111k|    if (tstate == NULL) {
  ------------------
  |  Branch (178:9): [True: 0, False: 111k]
  ------------------
  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|   111k|}
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|   496k|{
  118|   496k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   496k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   496k|}
import.c:_PyInterpreterState_GET:
  207|  4.04k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  4.04k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  4.04k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  4.04k|}
import.c:_Py_IsMainInterpreter:
   61|     47|{
   62|     47|    return (interp == _PyInterpreterState_Main());
   63|     47|}
marshal.c:_PyInterpreterState_GET:
  207|  16.9k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  16.9k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  16.9k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  16.9k|}
pylifecycle.c:_Py_IsMainInterpreter:
   61|      8|{
   62|      8|    return (interp == _PyInterpreterState_Main());
   63|      8|}
pystate.c:_Py_EnsureFuncTstateNotNULL:
  177|   176M|{
  178|   176M|    if (tstate == NULL) {
  ------------------
  |  Branch (178:9): [True: 0, False: 176M]
  ------------------
  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|   176M|}
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|  56.1k|{
  118|  56.1k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  56.1k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  56.1k|}
specialize.c:_PyInterpreterState_GET:
  207|  2.77k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  2.77k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  2.77k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  2.77k|}
symtable.c:_PyThreadState_GET:
  117|  10.8k|{
  118|  10.8k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  10.8k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  10.8k|}
sysmodule.c:_PyThreadState_GET:
  117|  61.1k|{
  118|  61.1k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  61.1k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  61.1k|}
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|    336|{
  178|    336|    if (tstate == NULL) {
  ------------------
  |  Branch (178:9): [True: 0, False: 336]
  ------------------
  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|    336|}
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|}
typecache.c:_PyInterpreterState_GET:
  207|   933k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   933k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   933k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   933k|}
dtoa.c:_PyInterpreterState_GET:
  207|  2.22M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  2.22M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  2.22M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  2.22M|}
fileutils.c:_Py_AssertHoldsTstateFunc:
  302|  54.1k|{
  303|  54.1k|    PyThreadState *tstate = _PyThreadState_GET();
  304|  54.1k|    _Py_EnsureFuncTstateNotNULL(func, tstate);
  305|  54.1k|}
fileutils.c:_PyThreadState_GET:
  117|  54.1k|{
  118|  54.1k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  54.1k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  54.1k|}
fileutils.c:_Py_EnsureFuncTstateNotNULL:
  177|  54.1k|{
  178|  54.1k|    if (tstate == NULL) {
  ------------------
  |  Branch (178:9): [True: 0, False: 54.1k]
  ------------------
  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|  54.1k|}
dynload_shlib.c:_PyInterpreterState_GET:
  207|     20|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     20|#if !defined(Py_BUILD_CORE_MODULE)
  213|     20|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     20|}
signalmodule.c:_Py_IsMainInterpreter:
   61|  1.27M|{
   62|  1.27M|    return (interp == _PyInterpreterState_Main());
   63|  1.27M|}
signalmodule.c:_PyThreadState_GET:
  117|  1.27M|{
  118|  1.27M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  1.27M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  1.27M|}
signalmodule.c:_Py_ThreadCanHandleSignals:
   84|  1.27M|{
   85|  1.27M|    return (_Py_IsMainThread() && _Py_IsMainInterpreter(interp));
  ------------------
  |  Branch (85:13): [True: 1.27M, False: 0]
  |  Branch (85:35): [True: 1.27M, False: 0]
  ------------------
   86|  1.27M|}
fileio.c:_PyInterpreterState_GET:
  207|     85|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     85|#if !defined(Py_BUILD_CORE_MODULE)
  213|     85|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     85|}
bufferedio.c:_PyInterpreterState_GET:
  207|     85|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     85|#if !defined(Py_BUILD_CORE_MODULE)
  213|     85|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     85|}
bufferedio.c:_PyThreadState_GET:
  117|     85|{
  118|     85|#if !defined(Py_BUILD_CORE_MODULE)
  119|     85|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|     85|}
textio.c:_PyInterpreterState_GET:
  207|      6|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|      6|#if !defined(Py_BUILD_CORE_MODULE)
  213|      6|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|      6|}
_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|   663k|{
  118|   663k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   663k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   663k|}
abstract.c:_Py_get_machine_stack_pointer:
  318|    213|_Py_get_machine_stack_pointer(void) {
  319|    213|    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|    213|    return result;
  333|    213|}
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|}
bytesobject.c:_PyInterpreterState_GET:
  207|   152k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   152k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   152k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   152k|}
call.c:_PyThreadState_GET:
  117|  16.2M|{
  118|  16.2M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  16.2M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  16.2M|}
call.c:_Py_get_machine_stack_pointer:
  318|   374k|_Py_get_machine_stack_pointer(void) {
  319|   374k|    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|   374k|    return result;
  333|   374k|}
cellobject.c:_PyInterpreterState_GET:
  207|  4.86k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  4.86k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  4.86k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  4.86k|}
classobject.c:_PyInterpreterState_GET:
  207|  9.28k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  9.28k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  9.28k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  9.28k|}
classobject.c:_PyThreadState_GET:
  117|  39.0k|{
  118|  39.0k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  39.0k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  39.0k|}
codeobject.c:_PyInterpreterState_GET:
  207|   394k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   394k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   394k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   394k|}
complexobject.c:_PyInterpreterState_GET:
  207|   719k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   719k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   719k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   719k|}
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|   148k|{
  118|   148k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   148k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   148k|}
descrobject.c:_Py_get_machine_stack_pointer:
  318|   148k|_Py_get_machine_stack_pointer(void) {
  319|   148k|    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|   148k|    return result;
  333|   148k|}
enumobject.c:_PyInterpreterState_GET:
  207|  37.4k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  37.4k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  37.4k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  37.4k|}
enumobject.c:_PyThreadState_GET:
  117|    274|{
  118|    274|#if !defined(Py_BUILD_CORE_MODULE)
  119|    274|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    274|}
genobject.c:_PyInterpreterState_GET:
  207|  5.06k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  5.06k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  5.06k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  5.06k|}
genobject.c:_PyThreadState_GET:
  117|  71.3k|{
  118|  71.3k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  71.3k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  71.3k|}
floatobject.c:_PyInterpreterState_GET:
  207|   805k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   805k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   805k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   805k|}
frameobject.c:_PyInterpreterState_GET:
  207|  4.42k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  4.42k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  4.42k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  4.42k|}
funcobject.c:_PyInterpreterState_GET:
  207|  78.3k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  78.3k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  78.3k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  78.3k|}
iterobject.c:_PyInterpreterState_GET:
  207|    126|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|    126|#if !defined(Py_BUILD_CORE_MODULE)
  213|    126|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|    126|}
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|}
memoryobject.c:_PyInterpreterState_GET:
  207|   289k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   289k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   289k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   289k|}
methodobject.c:_PyInterpreterState_GET:
  207|  5.81M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  5.81M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  5.81M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  5.81M|}
methodobject.c:_PyThreadState_GET:
  117|   148k|{
  118|   148k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   148k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   148k|}
methodobject.c:_Py_get_machine_stack_pointer:
  318|   148k|_Py_get_machine_stack_pointer(void) {
  319|   148k|    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|   148k|    return result;
  333|   148k|}
Python-ast.c:_PyInterpreterState_GET:
  207|  1.87k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  1.87k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  1.87k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  1.87k|}
crossinterp.c:_Py_IsMainInterpreter:
   61|      2|{
   62|      2|    return (interp == _PyInterpreterState_Main());
   63|      2|}
pegen.c:_PyInterpreterState_GET:
  207|   123k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   123k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   123k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   123k|}
pegen.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|}
action_helpers.c:_PyInterpreterState_GET:
  207|  9.40k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  9.40k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  9.40k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  9.40k|}

pylifecycle.c:_PyRuntimeState_GetFinalizing:
   36|  48.4k|_PyRuntimeState_GetFinalizing(_PyRuntimeState *runtime) {
   37|  48.4k|    return (PyThreadState*)_Py_atomic_load_ptr_relaxed(&runtime->_finalizing);
   38|  48.4k|}
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|    835|{
  382|    835|    switch (slot.sl_id) {
  ------------------
  |  Branch (382:13): [True: 834, False: 1]
  ------------------
  383|      1|        case Py_mp_subscript:
  ------------------
  |  |   13|      1|#define Py_mp_subscript 5
  ------------------
  |  Branch (383:9): [True: 1, False: 834]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 830]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 834]
  ------------------
  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: 834]
  ------------------
  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: 834]
  ------------------
  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: 834]
  ------------------
  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: 834]
  ------------------
  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: 834]
  ------------------
  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: 834]
  ------------------
  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: 834]
  ------------------
  507|      1|            ht->as_sequence.sq_repeat = (ssizeargfunc)slot.sl_func;
  508|      1|            break;
  509|     21|        case Py_tp_alloc:
  ------------------
  |  |   55|     21|#define Py_tp_alloc 47
  ------------------
  |  Branch (509:9): [True: 21, False: 814]
  ------------------
  510|     21|            ht->ht_type.tp_alloc = (allocfunc)slot.sl_func;
  511|     21|            break;
  512|      0|        case Py_tp_base:
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (512:9): [True: 0, False: 835]
  ------------------
  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: 835]
  ------------------
  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: 827]
  ------------------
  519|      8|            ht->ht_type.tp_call = (ternaryfunc)slot.sl_func;
  520|      8|            break;
  521|     55|        case Py_tp_clear:
  ------------------
  |  |   59|     55|#define Py_tp_clear 51
  ------------------
  |  Branch (521:9): [True: 55, False: 780]
  ------------------
  522|     55|            ht->ht_type.tp_clear = (inquiry)slot.sl_func;
  523|     55|            break;
  524|    124|        case Py_tp_dealloc:
  ------------------
  |  |   60|    124|#define Py_tp_dealloc 52
  ------------------
  |  Branch (524:9): [True: 124, False: 711]
  ------------------
  525|    124|            ht->ht_type.tp_dealloc = (destructor)slot.sl_func;
  526|    124|            break;
  527|      0|        case Py_tp_del:
  ------------------
  |  |   61|      0|#define Py_tp_del 53
  ------------------
  |  Branch (527:9): [True: 0, False: 835]
  ------------------
  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: 832]
  ------------------
  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: 834]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  540|      0|            ht->ht_type.tp_getattr = (getattrfunc)slot.sl_func;
  541|      0|            break;
  542|     40|        case Py_tp_getattro:
  ------------------
  |  |   66|     40|#define Py_tp_getattro 58
  ------------------
  |  Branch (542:9): [True: 40, False: 795]
  ------------------
  543|     40|            ht->ht_type.tp_getattro = (getattrofunc)slot.sl_func;
  544|     40|            break;
  545|      2|        case Py_tp_hash:
  ------------------
  |  |   67|      2|#define Py_tp_hash 59
  ------------------
  |  Branch (545:9): [True: 2, False: 833]
  ------------------
  546|      2|            ht->ht_type.tp_hash = (hashfunc)slot.sl_func;
  547|      2|            break;
  548|     25|        case Py_tp_init:
  ------------------
  |  |   68|     25|#define Py_tp_init 60
  ------------------
  |  Branch (548:9): [True: 25, False: 810]
  ------------------
  549|     25|            ht->ht_type.tp_init = (initproc)slot.sl_func;
  550|     25|            break;
  551|      0|        case Py_tp_is_gc:
  ------------------
  |  |   69|      0|#define Py_tp_is_gc 61
  ------------------
  |  Branch (551:9): [True: 0, False: 835]
  ------------------
  552|      0|            ht->ht_type.tp_is_gc = (inquiry)slot.sl_func;
  553|      0|            break;
  554|     34|        case Py_tp_iter:
  ------------------
  |  |   70|     34|#define Py_tp_iter 62
  ------------------
  |  Branch (554:9): [True: 34, False: 801]
  ------------------
  555|     34|            ht->ht_type.tp_iter = (getiterfunc)slot.sl_func;
  556|     34|            break;
  557|     39|        case Py_tp_iternext:
  ------------------
  |  |   71|     39|#define Py_tp_iternext 63
  ------------------
  |  Branch (557:9): [True: 39, False: 796]
  ------------------
  558|     39|            ht->ht_type.tp_iternext = (iternextfunc)slot.sl_func;
  559|     39|            break;
  560|     97|        case Py_tp_methods:
  ------------------
  |  |   72|     97|#define Py_tp_methods 64
  ------------------
  |  Branch (560:9): [True: 97, False: 738]
  ------------------
  561|     97|            ht->ht_type.tp_methods = slot.sl_ptr;
  562|     97|            break;
  563|     83|        case Py_tp_new:
  ------------------
  |  |   73|     83|#define Py_tp_new 65
  ------------------
  |  Branch (563:9): [True: 83, False: 752]
  ------------------
  564|     83|            ht->ht_type.tp_new = (newfunc)slot.sl_func;
  565|     83|            break;
  566|     64|        case Py_tp_repr:
  ------------------
  |  |   74|     64|#define Py_tp_repr 66
  ------------------
  |  Branch (566:9): [True: 64, False: 771]
  ------------------
  567|     64|            ht->ht_type.tp_repr = (reprfunc)slot.sl_func;
  568|     64|            break;
  569|      7|        case Py_tp_richcompare:
  ------------------
  |  |   75|      7|#define Py_tp_richcompare 67
  ------------------
  |  Branch (569:9): [True: 7, False: 828]
  ------------------
  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: 835]
  ------------------
  573|      0|            ht->ht_type.tp_setattr = (setattrfunc)slot.sl_func;
  574|      0|            break;
  575|      4|        case Py_tp_setattro:
  ------------------
  |  |   77|      4|#define Py_tp_setattro 69
  ------------------
  |  Branch (575:9): [True: 4, False: 831]
  ------------------
  576|      4|            ht->ht_type.tp_setattro = (setattrofunc)slot.sl_func;
  577|      4|            break;
  578|      1|        case Py_tp_str:
  ------------------
  |  |   78|      1|#define Py_tp_str 70
  ------------------
  |  Branch (578:9): [True: 1, False: 834]
  ------------------
  579|      1|            ht->ht_type.tp_str = (reprfunc)slot.sl_func;
  580|      1|            break;
  581|    116|        case Py_tp_traverse:
  ------------------
  |  |   79|    116|#define Py_tp_traverse 71
  ------------------
  |  Branch (581:9): [True: 116, False: 719]
  ------------------
  582|    116|            ht->ht_type.tp_traverse = (traverseproc)slot.sl_func;
  583|    116|            break;
  584|      0|        case Py_tp_members:
  ------------------
  |  |   80|      0|#define Py_tp_members 72
  ------------------
  |  Branch (584:9): [True: 0, False: 835]
  ------------------
  585|      0|            ht->ht_type.tp_members = slot.sl_ptr;
  586|      0|            break;
  587|     48|        case Py_tp_getset:
  ------------------
  |  |   81|     48|#define Py_tp_getset 73
  ------------------
  |  Branch (587:9): [True: 48, False: 787]
  ------------------
  588|     48|            ht->ht_type.tp_getset = slot.sl_ptr;
  589|     48|            break;
  590|     40|        case Py_tp_free:
  ------------------
  |  |   82|     40|#define Py_tp_free 74
  ------------------
  |  Branch (590:9): [True: 40, False: 795]
  ------------------
  591|     40|            ht->ht_type.tp_free = (freefunc)slot.sl_func;
  592|     40|            break;
  593|      0|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|      0|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (593:9): [True: 0, False: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 831]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  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: 833]
  ------------------
  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: 833]
  ------------------
  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: 835]
  ------------------
  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: 835]
  ------------------
  627|      0|            ht->as_mapping.mp_length = (lenfunc)slot.sl_func;
  628|      0|            break;
  629|    835|    }
  630|    835|}
typeobject.c:_PySlot_resolve_type_slot:
    8|   414k|{
    9|   414k|    switch (slot_id) {
   10|      0|        case 1:
  ------------------
  |  Branch (10:9): [True: 0, False: 414k]
  ------------------
   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: 414k]
  ------------------
   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: 414k]
  ------------------
   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: 414k]
  ------------------
   17|      0|            return Py_mp_length;
  ------------------
  |  |   99|      0|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
   18|      0|        case Py_slot_end:
  ------------------
  |  |   12|      0|#define Py_slot_end 0
  ------------------
  |  Branch (18:9): [True: 0, False: 414k]
  ------------------
   19|      0|        case Py_mp_subscript:
  ------------------
  |  |   13|      0|#define Py_mp_subscript 5
  ------------------
  |  Branch (19:9): [True: 0, False: 414k]
  ------------------
   20|      0|        case Py_nb_absolute:
  ------------------
  |  |   14|      0|#define Py_nb_absolute 6
  ------------------
  |  Branch (20:9): [True: 0, False: 414k]
  ------------------
   21|      0|        case Py_nb_add:
  ------------------
  |  |   15|      0|#define Py_nb_add 7
  ------------------
  |  Branch (21:9): [True: 0, False: 414k]
  ------------------
   22|      0|        case Py_nb_and:
  ------------------
  |  |   16|      0|#define Py_nb_and 8
  ------------------
  |  Branch (22:9): [True: 0, False: 414k]
  ------------------
   23|      0|        case Py_nb_bool:
  ------------------
  |  |   17|      0|#define Py_nb_bool 9
  ------------------
  |  Branch (23:9): [True: 0, False: 414k]
  ------------------
   24|      0|        case Py_nb_divmod:
  ------------------
  |  |   18|      0|#define Py_nb_divmod 10
  ------------------
  |  Branch (24:9): [True: 0, False: 414k]
  ------------------
   25|      0|        case Py_nb_float:
  ------------------
  |  |   19|      0|#define Py_nb_float 11
  ------------------
  |  Branch (25:9): [True: 0, False: 414k]
  ------------------
   26|      0|        case Py_nb_floor_divide:
  ------------------
  |  |   20|      0|#define Py_nb_floor_divide 12
  ------------------
  |  Branch (26:9): [True: 0, False: 414k]
  ------------------
   27|      0|        case Py_nb_index:
  ------------------
  |  |   21|      0|#define Py_nb_index 13
  ------------------
  |  Branch (27:9): [True: 0, False: 414k]
  ------------------
   28|      0|        case Py_nb_inplace_add:
  ------------------
  |  |   22|      0|#define Py_nb_inplace_add 14
  ------------------
  |  Branch (28:9): [True: 0, False: 414k]
  ------------------
   29|      0|        case Py_nb_inplace_and:
  ------------------
  |  |   23|      0|#define Py_nb_inplace_and 15
  ------------------
  |  Branch (29:9): [True: 0, False: 414k]
  ------------------
   30|      0|        case Py_nb_inplace_floor_divide:
  ------------------
  |  |   24|      0|#define Py_nb_inplace_floor_divide 16
  ------------------
  |  Branch (30:9): [True: 0, False: 414k]
  ------------------
   31|      0|        case Py_nb_inplace_lshift:
  ------------------
  |  |   25|      0|#define Py_nb_inplace_lshift 17
  ------------------
  |  Branch (31:9): [True: 0, False: 414k]
  ------------------
   32|      0|        case Py_nb_inplace_multiply:
  ------------------
  |  |   26|      0|#define Py_nb_inplace_multiply 18
  ------------------
  |  Branch (32:9): [True: 0, False: 414k]
  ------------------
   33|      0|        case Py_nb_inplace_or:
  ------------------
  |  |   27|      0|#define Py_nb_inplace_or 19
  ------------------
  |  Branch (33:9): [True: 0, False: 414k]
  ------------------
   34|      0|        case Py_nb_inplace_power:
  ------------------
  |  |   28|      0|#define Py_nb_inplace_power 20
  ------------------
  |  Branch (34:9): [True: 0, False: 414k]
  ------------------
   35|      0|        case Py_nb_inplace_remainder:
  ------------------
  |  |   29|      0|#define Py_nb_inplace_remainder 21
  ------------------
  |  Branch (35:9): [True: 0, False: 414k]
  ------------------
   36|      0|        case Py_nb_inplace_rshift:
  ------------------
  |  |   30|      0|#define Py_nb_inplace_rshift 22
  ------------------
  |  Branch (36:9): [True: 0, False: 414k]
  ------------------
   37|      0|        case Py_nb_inplace_subtract:
  ------------------
  |  |   31|      0|#define Py_nb_inplace_subtract 23
  ------------------
  |  Branch (37:9): [True: 0, False: 414k]
  ------------------
   38|      0|        case Py_nb_inplace_true_divide:
  ------------------
  |  |   32|      0|#define Py_nb_inplace_true_divide 24
  ------------------
  |  Branch (38:9): [True: 0, False: 414k]
  ------------------
   39|      0|        case Py_nb_inplace_xor:
  ------------------
  |  |   33|      0|#define Py_nb_inplace_xor 25
  ------------------
  |  Branch (39:9): [True: 0, False: 414k]
  ------------------
   40|      0|        case Py_nb_int:
  ------------------
  |  |   34|      0|#define Py_nb_int 26
  ------------------
  |  Branch (40:9): [True: 0, False: 414k]
  ------------------
   41|      0|        case Py_nb_invert:
  ------------------
  |  |   35|      0|#define Py_nb_invert 27
  ------------------
  |  Branch (41:9): [True: 0, False: 414k]
  ------------------
   42|      0|        case Py_nb_lshift:
  ------------------
  |  |   36|      0|#define Py_nb_lshift 28
  ------------------
  |  Branch (42:9): [True: 0, False: 414k]
  ------------------
   43|      0|        case Py_nb_multiply:
  ------------------
  |  |   37|      0|#define Py_nb_multiply 29
  ------------------
  |  Branch (43:9): [True: 0, False: 414k]
  ------------------
   44|      0|        case Py_nb_negative:
  ------------------
  |  |   38|      0|#define Py_nb_negative 30
  ------------------
  |  Branch (44:9): [True: 0, False: 414k]
  ------------------
   45|      0|        case Py_nb_or:
  ------------------
  |  |   39|      0|#define Py_nb_or 31
  ------------------
  |  Branch (45:9): [True: 0, False: 414k]
  ------------------
   46|      0|        case Py_nb_positive:
  ------------------
  |  |   40|      0|#define Py_nb_positive 32
  ------------------
  |  Branch (46:9): [True: 0, False: 414k]
  ------------------
   47|      0|        case Py_nb_power:
  ------------------
  |  |   41|      0|#define Py_nb_power 33
  ------------------
  |  Branch (47:9): [True: 0, False: 414k]
  ------------------
   48|      0|        case Py_nb_remainder:
  ------------------
  |  |   42|      0|#define Py_nb_remainder 34
  ------------------
  |  Branch (48:9): [True: 0, False: 414k]
  ------------------
   49|      0|        case Py_nb_rshift:
  ------------------
  |  |   43|      0|#define Py_nb_rshift 35
  ------------------
  |  Branch (49:9): [True: 0, False: 414k]
  ------------------
   50|      0|        case Py_nb_subtract:
  ------------------
  |  |   44|      0|#define Py_nb_subtract 36
  ------------------
  |  Branch (50:9): [True: 0, False: 414k]
  ------------------
   51|      0|        case Py_nb_true_divide:
  ------------------
  |  |   45|      0|#define Py_nb_true_divide 37
  ------------------
  |  Branch (51:9): [True: 0, False: 414k]
  ------------------
   52|      0|        case Py_nb_xor:
  ------------------
  |  |   46|      0|#define Py_nb_xor 38
  ------------------
  |  Branch (52:9): [True: 0, False: 414k]
  ------------------
   53|      0|        case Py_sq_ass_item:
  ------------------
  |  |   47|      0|#define Py_sq_ass_item 39
  ------------------
  |  Branch (53:9): [True: 0, False: 414k]
  ------------------
   54|      0|        case Py_sq_concat:
  ------------------
  |  |   48|      0|#define Py_sq_concat 40
  ------------------
  |  Branch (54:9): [True: 0, False: 414k]
  ------------------
   55|      0|        case Py_sq_contains:
  ------------------
  |  |   49|      0|#define Py_sq_contains 41
  ------------------
  |  Branch (55:9): [True: 0, False: 414k]
  ------------------
   56|      0|        case Py_sq_inplace_concat:
  ------------------
  |  |   50|      0|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (56:9): [True: 0, False: 414k]
  ------------------
   57|      0|        case Py_sq_inplace_repeat:
  ------------------
  |  |   51|      0|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (57:9): [True: 0, False: 414k]
  ------------------
   58|      0|        case Py_sq_item:
  ------------------
  |  |   52|      0|#define Py_sq_item 44
  ------------------
  |  Branch (58:9): [True: 0, False: 414k]
  ------------------
   59|      0|        case Py_sq_length:
  ------------------
  |  |   53|      0|#define Py_sq_length 45
  ------------------
  |  Branch (59:9): [True: 0, False: 414k]
  ------------------
   60|      0|        case Py_sq_repeat:
  ------------------
  |  |   54|      0|#define Py_sq_repeat 46
  ------------------
  |  Branch (60:9): [True: 0, False: 414k]
  ------------------
   61|      0|        case Py_tp_alloc:
  ------------------
  |  |   55|      0|#define Py_tp_alloc 47
  ------------------
  |  Branch (61:9): [True: 0, False: 414k]
  ------------------
   62|      0|        case Py_tp_base:
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (62:9): [True: 0, False: 414k]
  ------------------
   63|      0|        case Py_tp_bases:
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (63:9): [True: 0, False: 414k]
  ------------------
   64|      0|        case Py_tp_call:
  ------------------
  |  |   58|      0|#define Py_tp_call 50
  ------------------
  |  Branch (64:9): [True: 0, False: 414k]
  ------------------
   65|      0|        case Py_tp_clear:
  ------------------
  |  |   59|      0|#define Py_tp_clear 51
  ------------------
  |  Branch (65:9): [True: 0, False: 414k]
  ------------------
   66|      0|        case Py_tp_dealloc:
  ------------------
  |  |   60|      0|#define Py_tp_dealloc 52
  ------------------
  |  Branch (66:9): [True: 0, False: 414k]
  ------------------
   67|      0|        case Py_tp_del:
  ------------------
  |  |   61|      0|#define Py_tp_del 53
  ------------------
  |  Branch (67:9): [True: 0, False: 414k]
  ------------------
   68|      0|        case Py_tp_descr_get:
  ------------------
  |  |   62|      0|#define Py_tp_descr_get 54
  ------------------
  |  Branch (68:9): [True: 0, False: 414k]
  ------------------
   69|      0|        case Py_tp_descr_set:
  ------------------
  |  |   63|      0|#define Py_tp_descr_set 55
  ------------------
  |  Branch (69:9): [True: 0, False: 414k]
  ------------------
   70|      0|        case Py_tp_doc:
  ------------------
  |  |   64|      0|#define Py_tp_doc 56
  ------------------
  |  Branch (70:9): [True: 0, False: 414k]
  ------------------
   71|      0|        case Py_tp_getattr:
  ------------------
  |  |   65|      0|#define Py_tp_getattr 57
  ------------------
  |  Branch (71:9): [True: 0, False: 414k]
  ------------------
   72|      0|        case Py_tp_getattro:
  ------------------
  |  |   66|      0|#define Py_tp_getattro 58
  ------------------
  |  Branch (72:9): [True: 0, False: 414k]
  ------------------
   73|      0|        case Py_tp_hash:
  ------------------
  |  |   67|      0|#define Py_tp_hash 59
  ------------------
  |  Branch (73:9): [True: 0, False: 414k]
  ------------------
   74|      0|        case Py_tp_init:
  ------------------
  |  |   68|      0|#define Py_tp_init 60
  ------------------
  |  Branch (74:9): [True: 0, False: 414k]
  ------------------
   75|      0|        case Py_tp_is_gc:
  ------------------
  |  |   69|      0|#define Py_tp_is_gc 61
  ------------------
  |  Branch (75:9): [True: 0, False: 414k]
  ------------------
   76|      0|        case Py_tp_iter:
  ------------------
  |  |   70|      0|#define Py_tp_iter 62
  ------------------
  |  Branch (76:9): [True: 0, False: 414k]
  ------------------
   77|      0|        case Py_tp_iternext:
  ------------------
  |  |   71|      0|#define Py_tp_iternext 63
  ------------------
  |  Branch (77:9): [True: 0, False: 414k]
  ------------------
   78|      0|        case Py_tp_methods:
  ------------------
  |  |   72|      0|#define Py_tp_methods 64
  ------------------
  |  Branch (78:9): [True: 0, False: 414k]
  ------------------
   79|      0|        case Py_tp_new:
  ------------------
  |  |   73|      0|#define Py_tp_new 65
  ------------------
  |  Branch (79:9): [True: 0, False: 414k]
  ------------------
   80|      0|        case Py_tp_repr:
  ------------------
  |  |   74|      0|#define Py_tp_repr 66
  ------------------
  |  Branch (80:9): [True: 0, False: 414k]
  ------------------
   81|      0|        case Py_tp_richcompare:
  ------------------
  |  |   75|      0|#define Py_tp_richcompare 67
  ------------------
  |  Branch (81:9): [True: 0, False: 414k]
  ------------------
   82|      0|        case Py_tp_setattr:
  ------------------
  |  |   76|      0|#define Py_tp_setattr 68
  ------------------
  |  Branch (82:9): [True: 0, False: 414k]
  ------------------
   83|      0|        case Py_tp_setattro:
  ------------------
  |  |   77|      0|#define Py_tp_setattro 69
  ------------------
  |  Branch (83:9): [True: 0, False: 414k]
  ------------------
   84|      0|        case Py_tp_str:
  ------------------
  |  |   78|      0|#define Py_tp_str 70
  ------------------
  |  Branch (84:9): [True: 0, False: 414k]
  ------------------
   85|      0|        case Py_tp_traverse:
  ------------------
  |  |   79|      0|#define Py_tp_traverse 71
  ------------------
  |  Branch (85:9): [True: 0, False: 414k]
  ------------------
   86|      0|        case Py_tp_members:
  ------------------
  |  |   80|      0|#define Py_tp_members 72
  ------------------
  |  Branch (86:9): [True: 0, False: 414k]
  ------------------
   87|      0|        case Py_tp_getset:
  ------------------
  |  |   81|      0|#define Py_tp_getset 73
  ------------------
  |  Branch (87:9): [True: 0, False: 414k]
  ------------------
   88|   414k|        case Py_tp_free:
  ------------------
  |  |   82|   414k|#define Py_tp_free 74
  ------------------
  |  Branch (88:9): [True: 414k, False: 0]
  ------------------
   89|   414k|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|   414k|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (89:9): [True: 0, False: 414k]
  ------------------
   90|   414k|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|   414k|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (90:9): [True: 0, False: 414k]
  ------------------
   91|   414k|        case Py_am_await:
  ------------------
  |  |   85|   414k|#define Py_am_await 77
  ------------------
  |  Branch (91:9): [True: 0, False: 414k]
  ------------------
   92|   414k|        case Py_am_aiter:
  ------------------
  |  |   86|   414k|#define Py_am_aiter 78
  ------------------
  |  Branch (92:9): [True: 0, False: 414k]
  ------------------
   93|   414k|        case Py_am_anext:
  ------------------
  |  |   87|   414k|#define Py_am_anext 79
  ------------------
  |  Branch (93:9): [True: 0, False: 414k]
  ------------------
   94|   414k|        case Py_tp_finalize:
  ------------------
  |  |   88|   414k|#define Py_tp_finalize 80
  ------------------
  |  Branch (94:9): [True: 0, False: 414k]
  ------------------
   95|   414k|        case Py_am_send:
  ------------------
  |  |   89|   414k|#define Py_am_send 81
  ------------------
  |  Branch (95:9): [True: 0, False: 414k]
  ------------------
   96|   414k|        case Py_tp_vectorcall:
  ------------------
  |  |   90|   414k|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (96:9): [True: 0, False: 414k]
  ------------------
   97|   414k|        case Py_tp_token:
  ------------------
  |  |   91|   414k|#define Py_tp_token 83
  ------------------
  |  Branch (97:9): [True: 0, False: 414k]
  ------------------
   98|   414k|        case Py_bf_getbuffer:
  ------------------
  |  |   96|   414k|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|   414k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (98:9): [True: 0, False: 414k]
  ------------------
   99|   414k|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|   414k|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|   414k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (99:9): [True: 0, False: 414k]
  ------------------
  100|   414k|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|   414k|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|   414k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (100:9): [True: 0, False: 414k]
  ------------------
  101|   414k|        case Py_mp_length:
  ------------------
  |  |   99|   414k|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|   414k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (101:9): [True: 0, False: 414k]
  ------------------
  102|   414k|        case Py_slot_subslots:
  ------------------
  |  |  100|   414k|#define Py_slot_subslots 92
  ------------------
  |  Branch (102:9): [True: 0, False: 414k]
  ------------------
  103|   414k|        case Py_tp_slots:
  ------------------
  |  |  101|   414k|#define Py_tp_slots 93
  ------------------
  |  Branch (103:9): [True: 0, False: 414k]
  ------------------
  104|   414k|        case Py_tp_name:
  ------------------
  |  |  103|   414k|#define Py_tp_name 95
  ------------------
  |  Branch (104:9): [True: 0, False: 414k]
  ------------------
  105|   414k|        case Py_tp_basicsize:
  ------------------
  |  |  104|   414k|#define Py_tp_basicsize 96
  ------------------
  |  Branch (105:9): [True: 0, False: 414k]
  ------------------
  106|   414k|        case Py_tp_extra_basicsize:
  ------------------
  |  |  105|   414k|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (106:9): [True: 0, False: 414k]
  ------------------
  107|   414k|        case Py_tp_itemsize:
  ------------------
  |  |  106|   414k|#define Py_tp_itemsize 98
  ------------------
  |  Branch (107:9): [True: 0, False: 414k]
  ------------------
  108|   414k|        case Py_tp_flags:
  ------------------
  |  |  107|   414k|#define Py_tp_flags 99
  ------------------
  |  Branch (108:9): [True: 0, False: 414k]
  ------------------
  109|   414k|        case Py_tp_metaclass:
  ------------------
  |  |  115|   414k|#define Py_tp_metaclass 107
  ------------------
  |  Branch (109:9): [True: 0, False: 414k]
  ------------------
  110|   414k|        case Py_tp_module:
  ------------------
  |  |  116|   414k|#define Py_tp_module 108
  ------------------
  |  Branch (110:9): [True: 0, False: 414k]
  ------------------
  111|   414k|            return slot_id;
  112|      0|        default:
  ------------------
  |  Branch (112:9): [True: 0, False: 414k]
  ------------------
  113|      0|            return Py_slot_invalid;
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  114|   414k|    }
  115|   414k|}
typeobject.c:_PySlot_type_getslot:
  153|   414k|{
  154|   414k|    switch (slot_id) {
  ------------------
  |  Branch (154:13): [True: 414k, False: 0]
  ------------------
  155|      0|        case Py_mp_subscript:
  ------------------
  |  |   13|      0|#define Py_mp_subscript 5
  ------------------
  |  Branch (155:9): [True: 0, False: 414k]
  ------------------
  156|      0|            if (!(tp->tp_as_mapping)) return NULL;
  ------------------
  |  Branch (156:17): [True: 0, False: 0]
  ------------------
  157|      0|            return (void*)tp->tp_as_mapping->mp_subscript;
  158|      0|        case Py_nb_absolute:
  ------------------
  |  |   14|      0|#define Py_nb_absolute 6
  ------------------
  |  Branch (158:9): [True: 0, False: 414k]
  ------------------
  159|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (159:17): [True: 0, False: 0]
  ------------------
  160|      0|            return (void*)tp->tp_as_number->nb_absolute;
  161|      0|        case Py_nb_add:
  ------------------
  |  |   15|      0|#define Py_nb_add 7
  ------------------
  |  Branch (161:9): [True: 0, False: 414k]
  ------------------
  162|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (162:17): [True: 0, False: 0]
  ------------------
  163|      0|            return (void*)tp->tp_as_number->nb_add;
  164|      0|        case Py_nb_and:
  ------------------
  |  |   16|      0|#define Py_nb_and 8
  ------------------
  |  Branch (164:9): [True: 0, False: 414k]
  ------------------
  165|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (165:17): [True: 0, False: 0]
  ------------------
  166|      0|            return (void*)tp->tp_as_number->nb_and;
  167|      0|        case Py_nb_bool:
  ------------------
  |  |   17|      0|#define Py_nb_bool 9
  ------------------
  |  Branch (167:9): [True: 0, False: 414k]
  ------------------
  168|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (168:17): [True: 0, False: 0]
  ------------------
  169|      0|            return (void*)tp->tp_as_number->nb_bool;
  170|      0|        case Py_nb_divmod:
  ------------------
  |  |   18|      0|#define Py_nb_divmod 10
  ------------------
  |  Branch (170:9): [True: 0, False: 414k]
  ------------------
  171|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (171:17): [True: 0, False: 0]
  ------------------
  172|      0|            return (void*)tp->tp_as_number->nb_divmod;
  173|      0|        case Py_nb_float:
  ------------------
  |  |   19|      0|#define Py_nb_float 11
  ------------------
  |  Branch (173:9): [True: 0, False: 414k]
  ------------------
  174|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (174:17): [True: 0, False: 0]
  ------------------
  175|      0|            return (void*)tp->tp_as_number->nb_float;
  176|      0|        case Py_nb_floor_divide:
  ------------------
  |  |   20|      0|#define Py_nb_floor_divide 12
  ------------------
  |  Branch (176:9): [True: 0, False: 414k]
  ------------------
  177|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (177:17): [True: 0, False: 0]
  ------------------
  178|      0|            return (void*)tp->tp_as_number->nb_floor_divide;
  179|      0|        case Py_nb_index:
  ------------------
  |  |   21|      0|#define Py_nb_index 13
  ------------------
  |  Branch (179:9): [True: 0, False: 414k]
  ------------------
  180|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (180:17): [True: 0, False: 0]
  ------------------
  181|      0|            return (void*)tp->tp_as_number->nb_index;
  182|      0|        case Py_nb_inplace_add:
  ------------------
  |  |   22|      0|#define Py_nb_inplace_add 14
  ------------------
  |  Branch (182:9): [True: 0, False: 414k]
  ------------------
  183|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (183:17): [True: 0, False: 0]
  ------------------
  184|      0|            return (void*)tp->tp_as_number->nb_inplace_add;
  185|      0|        case Py_nb_inplace_and:
  ------------------
  |  |   23|      0|#define Py_nb_inplace_and 15
  ------------------
  |  Branch (185:9): [True: 0, False: 414k]
  ------------------
  186|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (186:17): [True: 0, False: 0]
  ------------------
  187|      0|            return (void*)tp->tp_as_number->nb_inplace_and;
  188|      0|        case Py_nb_inplace_floor_divide:
  ------------------
  |  |   24|      0|#define Py_nb_inplace_floor_divide 16
  ------------------
  |  Branch (188:9): [True: 0, False: 414k]
  ------------------
  189|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (189:17): [True: 0, False: 0]
  ------------------
  190|      0|            return (void*)tp->tp_as_number->nb_inplace_floor_divide;
  191|      0|        case Py_nb_inplace_lshift:
  ------------------
  |  |   25|      0|#define Py_nb_inplace_lshift 17
  ------------------
  |  Branch (191:9): [True: 0, False: 414k]
  ------------------
  192|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (192:17): [True: 0, False: 0]
  ------------------
  193|      0|            return (void*)tp->tp_as_number->nb_inplace_lshift;
  194|      0|        case Py_nb_inplace_multiply:
  ------------------
  |  |   26|      0|#define Py_nb_inplace_multiply 18
  ------------------
  |  Branch (194:9): [True: 0, False: 414k]
  ------------------
  195|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (195:17): [True: 0, False: 0]
  ------------------
  196|      0|            return (void*)tp->tp_as_number->nb_inplace_multiply;
  197|      0|        case Py_nb_inplace_or:
  ------------------
  |  |   27|      0|#define Py_nb_inplace_or 19
  ------------------
  |  Branch (197:9): [True: 0, False: 414k]
  ------------------
  198|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (198:17): [True: 0, False: 0]
  ------------------
  199|      0|            return (void*)tp->tp_as_number->nb_inplace_or;
  200|      0|        case Py_nb_inplace_power:
  ------------------
  |  |   28|      0|#define Py_nb_inplace_power 20
  ------------------
  |  Branch (200:9): [True: 0, False: 414k]
  ------------------
  201|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (201:17): [True: 0, False: 0]
  ------------------
  202|      0|            return (void*)tp->tp_as_number->nb_inplace_power;
  203|      0|        case Py_nb_inplace_remainder:
  ------------------
  |  |   29|      0|#define Py_nb_inplace_remainder 21
  ------------------
  |  Branch (203:9): [True: 0, False: 414k]
  ------------------
  204|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (204:17): [True: 0, False: 0]
  ------------------
  205|      0|            return (void*)tp->tp_as_number->nb_inplace_remainder;
  206|      0|        case Py_nb_inplace_rshift:
  ------------------
  |  |   30|      0|#define Py_nb_inplace_rshift 22
  ------------------
  |  Branch (206:9): [True: 0, False: 414k]
  ------------------
  207|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (207:17): [True: 0, False: 0]
  ------------------
  208|      0|            return (void*)tp->tp_as_number->nb_inplace_rshift;
  209|      0|        case Py_nb_inplace_subtract:
  ------------------
  |  |   31|      0|#define Py_nb_inplace_subtract 23
  ------------------
  |  Branch (209:9): [True: 0, False: 414k]
  ------------------
  210|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (210:17): [True: 0, False: 0]
  ------------------
  211|      0|            return (void*)tp->tp_as_number->nb_inplace_subtract;
  212|      0|        case Py_nb_inplace_true_divide:
  ------------------
  |  |   32|      0|#define Py_nb_inplace_true_divide 24
  ------------------
  |  Branch (212:9): [True: 0, False: 414k]
  ------------------
  213|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (213:17): [True: 0, False: 0]
  ------------------
  214|      0|            return (void*)tp->tp_as_number->nb_inplace_true_divide;
  215|      0|        case Py_nb_inplace_xor:
  ------------------
  |  |   33|      0|#define Py_nb_inplace_xor 25
  ------------------
  |  Branch (215:9): [True: 0, False: 414k]
  ------------------
  216|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (216:17): [True: 0, False: 0]
  ------------------
  217|      0|            return (void*)tp->tp_as_number->nb_inplace_xor;
  218|      0|        case Py_nb_int:
  ------------------
  |  |   34|      0|#define Py_nb_int 26
  ------------------
  |  Branch (218:9): [True: 0, False: 414k]
  ------------------
  219|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (219:17): [True: 0, False: 0]
  ------------------
  220|      0|            return (void*)tp->tp_as_number->nb_int;
  221|      0|        case Py_nb_invert:
  ------------------
  |  |   35|      0|#define Py_nb_invert 27
  ------------------
  |  Branch (221:9): [True: 0, False: 414k]
  ------------------
  222|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (222:17): [True: 0, False: 0]
  ------------------
  223|      0|            return (void*)tp->tp_as_number->nb_invert;
  224|      0|        case Py_nb_lshift:
  ------------------
  |  |   36|      0|#define Py_nb_lshift 28
  ------------------
  |  Branch (224:9): [True: 0, False: 414k]
  ------------------
  225|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (225:17): [True: 0, False: 0]
  ------------------
  226|      0|            return (void*)tp->tp_as_number->nb_lshift;
  227|      0|        case Py_nb_multiply:
  ------------------
  |  |   37|      0|#define Py_nb_multiply 29
  ------------------
  |  Branch (227:9): [True: 0, False: 414k]
  ------------------
  228|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (228:17): [True: 0, False: 0]
  ------------------
  229|      0|            return (void*)tp->tp_as_number->nb_multiply;
  230|      0|        case Py_nb_negative:
  ------------------
  |  |   38|      0|#define Py_nb_negative 30
  ------------------
  |  Branch (230:9): [True: 0, False: 414k]
  ------------------
  231|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (231:17): [True: 0, False: 0]
  ------------------
  232|      0|            return (void*)tp->tp_as_number->nb_negative;
  233|      0|        case Py_nb_or:
  ------------------
  |  |   39|      0|#define Py_nb_or 31
  ------------------
  |  Branch (233:9): [True: 0, False: 414k]
  ------------------
  234|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (234:17): [True: 0, False: 0]
  ------------------
  235|      0|            return (void*)tp->tp_as_number->nb_or;
  236|      0|        case Py_nb_positive:
  ------------------
  |  |   40|      0|#define Py_nb_positive 32
  ------------------
  |  Branch (236:9): [True: 0, False: 414k]
  ------------------
  237|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (237:17): [True: 0, False: 0]
  ------------------
  238|      0|            return (void*)tp->tp_as_number->nb_positive;
  239|      0|        case Py_nb_power:
  ------------------
  |  |   41|      0|#define Py_nb_power 33
  ------------------
  |  Branch (239:9): [True: 0, False: 414k]
  ------------------
  240|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (240:17): [True: 0, False: 0]
  ------------------
  241|      0|            return (void*)tp->tp_as_number->nb_power;
  242|      0|        case Py_nb_remainder:
  ------------------
  |  |   42|      0|#define Py_nb_remainder 34
  ------------------
  |  Branch (242:9): [True: 0, False: 414k]
  ------------------
  243|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (243:17): [True: 0, False: 0]
  ------------------
  244|      0|            return (void*)tp->tp_as_number->nb_remainder;
  245|      0|        case Py_nb_rshift:
  ------------------
  |  |   43|      0|#define Py_nb_rshift 35
  ------------------
  |  Branch (245:9): [True: 0, False: 414k]
  ------------------
  246|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (246:17): [True: 0, False: 0]
  ------------------
  247|      0|            return (void*)tp->tp_as_number->nb_rshift;
  248|      0|        case Py_nb_subtract:
  ------------------
  |  |   44|      0|#define Py_nb_subtract 36
  ------------------
  |  Branch (248:9): [True: 0, False: 414k]
  ------------------
  249|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (249:17): [True: 0, False: 0]
  ------------------
  250|      0|            return (void*)tp->tp_as_number->nb_subtract;
  251|      0|        case Py_nb_true_divide:
  ------------------
  |  |   45|      0|#define Py_nb_true_divide 37
  ------------------
  |  Branch (251:9): [True: 0, False: 414k]
  ------------------
  252|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (252:17): [True: 0, False: 0]
  ------------------
  253|      0|            return (void*)tp->tp_as_number->nb_true_divide;
  254|      0|        case Py_nb_xor:
  ------------------
  |  |   46|      0|#define Py_nb_xor 38
  ------------------
  |  Branch (254:9): [True: 0, False: 414k]
  ------------------
  255|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (255:17): [True: 0, False: 0]
  ------------------
  256|      0|            return (void*)tp->tp_as_number->nb_xor;
  257|      0|        case Py_sq_ass_item:
  ------------------
  |  |   47|      0|#define Py_sq_ass_item 39
  ------------------
  |  Branch (257:9): [True: 0, False: 414k]
  ------------------
  258|      0|            if (!(tp->tp_as_sequence)) return NULL;
  ------------------
  |  Branch (258:17): [True: 0, False: 0]
  ------------------
  259|      0|            return (void*)tp->tp_as_sequence->sq_ass_item;
  260|      0|        case Py_sq_concat:
  ------------------
  |  |   48|      0|#define Py_sq_concat 40
  ------------------
  |  Branch (260:9): [True: 0, False: 414k]
  ------------------
  261|      0|            if (!(tp->tp_as_sequence)) return NULL;
  ------------------
  |  Branch (261:17): [True: 0, False: 0]
  ------------------
  262|      0|            return (void*)tp->tp_as_sequence->sq_concat;
  263|      0|        case Py_sq_contains:
  ------------------
  |  |   49|      0|#define Py_sq_contains 41
  ------------------
  |  Branch (263:9): [True: 0, False: 414k]
  ------------------
  264|      0|            if (!(tp->tp_as_sequence)) return NULL;
  ------------------
  |  Branch (264:17): [True: 0, False: 0]
  ------------------
  265|      0|            return (void*)tp->tp_as_sequence->sq_contains;
  266|      0|        case Py_sq_inplace_concat:
  ------------------
  |  |   50|      0|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (266:9): [True: 0, False: 414k]
  ------------------
  267|      0|            if (!(tp->tp_as_sequence)) return NULL;
  ------------------
  |  Branch (267:17): [True: 0, False: 0]
  ------------------
  268|      0|            return (void*)tp->tp_as_sequence->sq_inplace_concat;
  269|      0|        case Py_sq_inplace_repeat:
  ------------------
  |  |   51|      0|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (269:9): [True: 0, False: 414k]
  ------------------
  270|      0|            if (!(tp->tp_as_sequence)) return NULL;
  ------------------
  |  Branch (270:17): [True: 0, False: 0]
  ------------------
  271|      0|            return (void*)tp->tp_as_sequence->sq_inplace_repeat;
  272|      0|        case Py_sq_item:
  ------------------
  |  |   52|      0|#define Py_sq_item 44
  ------------------
  |  Branch (272:9): [True: 0, False: 414k]
  ------------------
  273|      0|            if (!(tp->tp_as_sequence)) return NULL;
  ------------------
  |  Branch (273:17): [True: 0, False: 0]
  ------------------
  274|      0|            return (void*)tp->tp_as_sequence->sq_item;
  275|      0|        case Py_sq_length:
  ------------------
  |  |   53|      0|#define Py_sq_length 45
  ------------------
  |  Branch (275:9): [True: 0, False: 414k]
  ------------------
  276|      0|            if (!(tp->tp_as_sequence)) return NULL;
  ------------------
  |  Branch (276:17): [True: 0, False: 0]
  ------------------
  277|      0|            return (void*)tp->tp_as_sequence->sq_length;
  278|      0|        case Py_sq_repeat:
  ------------------
  |  |   54|      0|#define Py_sq_repeat 46
  ------------------
  |  Branch (278:9): [True: 0, False: 414k]
  ------------------
  279|      0|            if (!(tp->tp_as_sequence)) return NULL;
  ------------------
  |  Branch (279:17): [True: 0, False: 0]
  ------------------
  280|      0|            return (void*)tp->tp_as_sequence->sq_repeat;
  281|      0|        case Py_tp_alloc:
  ------------------
  |  |   55|      0|#define Py_tp_alloc 47
  ------------------
  |  Branch (281:9): [True: 0, False: 414k]
  ------------------
  282|      0|            return (void*)tp->tp_alloc;
  283|      0|        case Py_tp_base:
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (283:9): [True: 0, False: 414k]
  ------------------
  284|      0|            return (void*)tp->tp_base;
  285|      0|        case Py_tp_bases:
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (285:9): [True: 0, False: 414k]
  ------------------
  286|      0|            return (void*)tp->tp_bases;
  287|      0|        case Py_tp_call:
  ------------------
  |  |   58|      0|#define Py_tp_call 50
  ------------------
  |  Branch (287:9): [True: 0, False: 414k]
  ------------------
  288|      0|            return (void*)tp->tp_call;
  289|      0|        case Py_tp_clear:
  ------------------
  |  |   59|      0|#define Py_tp_clear 51
  ------------------
  |  Branch (289:9): [True: 0, False: 414k]
  ------------------
  290|      0|            return (void*)tp->tp_clear;
  291|      0|        case Py_tp_dealloc:
  ------------------
  |  |   60|      0|#define Py_tp_dealloc 52
  ------------------
  |  Branch (291:9): [True: 0, False: 414k]
  ------------------
  292|      0|            return (void*)tp->tp_dealloc;
  293|      0|        case Py_tp_del:
  ------------------
  |  |   61|      0|#define Py_tp_del 53
  ------------------
  |  Branch (293:9): [True: 0, False: 414k]
  ------------------
  294|      0|            return (void*)tp->tp_del;
  295|      0|        case Py_tp_descr_get:
  ------------------
  |  |   62|      0|#define Py_tp_descr_get 54
  ------------------
  |  Branch (295:9): [True: 0, False: 414k]
  ------------------
  296|      0|            return (void*)tp->tp_descr_get;
  297|      0|        case Py_tp_descr_set:
  ------------------
  |  |   63|      0|#define Py_tp_descr_set 55
  ------------------
  |  Branch (297:9): [True: 0, False: 414k]
  ------------------
  298|      0|            return (void*)tp->tp_descr_set;
  299|      0|        case Py_tp_doc:
  ------------------
  |  |   64|      0|#define Py_tp_doc 56
  ------------------
  |  Branch (299:9): [True: 0, False: 414k]
  ------------------
  300|      0|            return (void*)tp->tp_doc;
  301|      0|        case Py_tp_getattr:
  ------------------
  |  |   65|      0|#define Py_tp_getattr 57
  ------------------
  |  Branch (301:9): [True: 0, False: 414k]
  ------------------
  302|      0|            return (void*)tp->tp_getattr;
  303|      0|        case Py_tp_getattro:
  ------------------
  |  |   66|      0|#define Py_tp_getattro 58
  ------------------
  |  Branch (303:9): [True: 0, False: 414k]
  ------------------
  304|      0|            return (void*)tp->tp_getattro;
  305|      0|        case Py_tp_hash:
  ------------------
  |  |   67|      0|#define Py_tp_hash 59
  ------------------
  |  Branch (305:9): [True: 0, False: 414k]
  ------------------
  306|      0|            return (void*)tp->tp_hash;
  307|      0|        case Py_tp_init:
  ------------------
  |  |   68|      0|#define Py_tp_init 60
  ------------------
  |  Branch (307:9): [True: 0, False: 414k]
  ------------------
  308|      0|            return (void*)tp->tp_init;
  309|      0|        case Py_tp_is_gc:
  ------------------
  |  |   69|      0|#define Py_tp_is_gc 61
  ------------------
  |  Branch (309:9): [True: 0, False: 414k]
  ------------------
  310|      0|            return (void*)tp->tp_is_gc;
  311|      0|        case Py_tp_iter:
  ------------------
  |  |   70|      0|#define Py_tp_iter 62
  ------------------
  |  Branch (311:9): [True: 0, False: 414k]
  ------------------
  312|      0|            return (void*)tp->tp_iter;
  313|      0|        case Py_tp_iternext:
  ------------------
  |  |   71|      0|#define Py_tp_iternext 63
  ------------------
  |  Branch (313:9): [True: 0, False: 414k]
  ------------------
  314|      0|            return (void*)tp->tp_iternext;
  315|      0|        case Py_tp_methods:
  ------------------
  |  |   72|      0|#define Py_tp_methods 64
  ------------------
  |  Branch (315:9): [True: 0, False: 414k]
  ------------------
  316|      0|            return (void*)tp->tp_methods;
  317|      0|        case Py_tp_new:
  ------------------
  |  |   73|      0|#define Py_tp_new 65
  ------------------
  |  Branch (317:9): [True: 0, False: 414k]
  ------------------
  318|      0|            return (void*)tp->tp_new;
  319|      0|        case Py_tp_repr:
  ------------------
  |  |   74|      0|#define Py_tp_repr 66
  ------------------
  |  Branch (319:9): [True: 0, False: 414k]
  ------------------
  320|      0|            return (void*)tp->tp_repr;
  321|      0|        case Py_tp_richcompare:
  ------------------
  |  |   75|      0|#define Py_tp_richcompare 67
  ------------------
  |  Branch (321:9): [True: 0, False: 414k]
  ------------------
  322|      0|            return (void*)tp->tp_richcompare;
  323|      0|        case Py_tp_setattr:
  ------------------
  |  |   76|      0|#define Py_tp_setattr 68
  ------------------
  |  Branch (323:9): [True: 0, False: 414k]
  ------------------
  324|      0|            return (void*)tp->tp_setattr;
  325|      0|        case Py_tp_setattro:
  ------------------
  |  |   77|      0|#define Py_tp_setattro 69
  ------------------
  |  Branch (325:9): [True: 0, False: 414k]
  ------------------
  326|      0|            return (void*)tp->tp_setattro;
  327|      0|        case Py_tp_str:
  ------------------
  |  |   78|      0|#define Py_tp_str 70
  ------------------
  |  Branch (327:9): [True: 0, False: 414k]
  ------------------
  328|      0|            return (void*)tp->tp_str;
  329|      0|        case Py_tp_traverse:
  ------------------
  |  |   79|      0|#define Py_tp_traverse 71
  ------------------
  |  Branch (329:9): [True: 0, False: 414k]
  ------------------
  330|      0|            return (void*)tp->tp_traverse;
  331|      0|        case Py_tp_members:
  ------------------
  |  |   80|      0|#define Py_tp_members 72
  ------------------
  |  Branch (331:9): [True: 0, False: 414k]
  ------------------
  332|      0|            return (void*)tp->tp_members;
  333|      0|        case Py_tp_getset:
  ------------------
  |  |   81|      0|#define Py_tp_getset 73
  ------------------
  |  Branch (333:9): [True: 0, False: 414k]
  ------------------
  334|      0|            return (void*)tp->tp_getset;
  335|   414k|        case Py_tp_free:
  ------------------
  |  |   82|   414k|#define Py_tp_free 74
  ------------------
  |  Branch (335:9): [True: 414k, False: 0]
  ------------------
  336|   414k|            return (void*)tp->tp_free;
  337|      0|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|      0|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (337:9): [True: 0, False: 414k]
  ------------------
  338|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (338:17): [True: 0, False: 0]
  ------------------
  339|      0|            return (void*)tp->tp_as_number->nb_matrix_multiply;
  340|      0|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|      0|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (340:9): [True: 0, False: 414k]
  ------------------
  341|      0|            if (!(tp->tp_as_number)) return NULL;
  ------------------
  |  Branch (341:17): [True: 0, False: 0]
  ------------------
  342|      0|            return (void*)tp->tp_as_number->nb_inplace_matrix_multiply;
  343|      0|        case Py_am_await:
  ------------------
  |  |   85|      0|#define Py_am_await 77
  ------------------
  |  Branch (343:9): [True: 0, False: 414k]
  ------------------
  344|      0|            if (!(tp->tp_as_async)) return NULL;
  ------------------
  |  Branch (344:17): [True: 0, False: 0]
  ------------------
  345|      0|            return (void*)tp->tp_as_async->am_await;
  346|      0|        case Py_am_aiter:
  ------------------
  |  |   86|      0|#define Py_am_aiter 78
  ------------------
  |  Branch (346:9): [True: 0, False: 414k]
  ------------------
  347|      0|            if (!(tp->tp_as_async)) return NULL;
  ------------------
  |  Branch (347:17): [True: 0, False: 0]
  ------------------
  348|      0|            return (void*)tp->tp_as_async->am_aiter;
  349|      0|        case Py_am_anext:
  ------------------
  |  |   87|      0|#define Py_am_anext 79
  ------------------
  |  Branch (349:9): [True: 0, False: 414k]
  ------------------
  350|      0|            if (!(tp->tp_as_async)) return NULL;
  ------------------
  |  Branch (350:17): [True: 0, False: 0]
  ------------------
  351|      0|            return (void*)tp->tp_as_async->am_anext;
  352|      0|        case Py_tp_finalize:
  ------------------
  |  |   88|      0|#define Py_tp_finalize 80
  ------------------
  |  Branch (352:9): [True: 0, False: 414k]
  ------------------
  353|      0|            return (void*)tp->tp_finalize;
  354|      0|        case Py_am_send:
  ------------------
  |  |   89|      0|#define Py_am_send 81
  ------------------
  |  Branch (354:9): [True: 0, False: 414k]
  ------------------
  355|      0|            if (!(tp->tp_as_async)) return NULL;
  ------------------
  |  Branch (355:17): [True: 0, False: 0]
  ------------------
  356|      0|            return (void*)tp->tp_as_async->am_send;
  357|      0|        case Py_tp_vectorcall:
  ------------------
  |  |   90|      0|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (357:9): [True: 0, False: 414k]
  ------------------
  358|      0|            return (void*)tp->tp_vectorcall;
  359|      0|        case Py_tp_token:
  ------------------
  |  |   91|      0|#define Py_tp_token 83
  ------------------
  |  Branch (359:9): [True: 0, False: 414k]
  ------------------
  360|      0|            if (!(tp->tp_flags & Py_TPFLAGS_HEAPTYPE)) return NULL;
  ------------------
  |  |  503|      0|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (360:17): [True: 0, False: 0]
  ------------------
  361|      0|            return (void*)((PyHeapTypeObject*)tp)->ht_token;
  362|      0|        case Py_bf_getbuffer:
  ------------------
  |  |   96|      0|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (362:9): [True: 0, False: 414k]
  ------------------
  363|      0|            if (!(tp->tp_as_buffer)) return NULL;
  ------------------
  |  Branch (363:17): [True: 0, False: 0]
  ------------------
  364|      0|            return (void*)tp->tp_as_buffer->bf_getbuffer;
  365|      0|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|      0|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (365:9): [True: 0, False: 414k]
  ------------------
  366|      0|            if (!(tp->tp_as_buffer)) return NULL;
  ------------------
  |  Branch (366:17): [True: 0, False: 0]
  ------------------
  367|      0|            return (void*)tp->tp_as_buffer->bf_releasebuffer;
  368|      0|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|      0|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (368:9): [True: 0, False: 414k]
  ------------------
  369|      0|            if (!(tp->tp_as_mapping)) return NULL;
  ------------------
  |  Branch (369:17): [True: 0, False: 0]
  ------------------
  370|      0|            return (void*)tp->tp_as_mapping->mp_ass_subscript;
  371|      0|        case Py_mp_length:
  ------------------
  |  |   99|      0|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|      0|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (371:9): [True: 0, False: 414k]
  ------------------
  372|      0|            if (!(tp->tp_as_mapping)) return NULL;
  ------------------
  |  Branch (372:17): [True: 0, False: 0]
  ------------------
  373|      0|            return (void*)tp->tp_as_mapping->mp_length;
  374|   414k|    }
  375|      0|    _PySlot_err_bad_slot("PyType_GetSlot", slot_id);
  376|       |    return NULL;
  377|   414k|}
slots.c:_PySlot_resolve_type_slot:
    8|  2.27k|{
    9|  2.27k|    switch (slot_id) {
   10|      0|        case 1:
  ------------------
  |  Branch (10:9): [True: 0, False: 2.27k]
  ------------------
   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.27k]
  ------------------
   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.27k]
  ------------------
   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.27k]
  ------------------
   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|    260|        case Py_slot_end:
  ------------------
  |  |   12|    260|#define Py_slot_end 0
  ------------------
  |  Branch (18:9): [True: 260, False: 2.01k]
  ------------------
   19|    262|        case Py_mp_subscript:
  ------------------
  |  |   13|    262|#define Py_mp_subscript 5
  ------------------
  |  Branch (19:9): [True: 2, False: 2.27k]
  ------------------
   20|    262|        case Py_nb_absolute:
  ------------------
  |  |   14|    262|#define Py_nb_absolute 6
  ------------------
  |  Branch (20:9): [True: 0, False: 2.27k]
  ------------------
   21|    262|        case Py_nb_add:
  ------------------
  |  |   15|    262|#define Py_nb_add 7
  ------------------
  |  Branch (21:9): [True: 0, False: 2.27k]
  ------------------
   22|    262|        case Py_nb_and:
  ------------------
  |  |   16|    262|#define Py_nb_and 8
  ------------------
  |  Branch (22:9): [True: 0, False: 2.27k]
  ------------------
   23|    262|        case Py_nb_bool:
  ------------------
  |  |   17|    262|#define Py_nb_bool 9
  ------------------
  |  Branch (23:9): [True: 0, False: 2.27k]
  ------------------
   24|    262|        case Py_nb_divmod:
  ------------------
  |  |   18|    262|#define Py_nb_divmod 10
  ------------------
  |  Branch (24:9): [True: 0, False: 2.27k]
  ------------------
   25|    262|        case Py_nb_float:
  ------------------
  |  |   19|    262|#define Py_nb_float 11
  ------------------
  |  Branch (25:9): [True: 0, False: 2.27k]
  ------------------
   26|    262|        case Py_nb_floor_divide:
  ------------------
  |  |   20|    262|#define Py_nb_floor_divide 12
  ------------------
  |  Branch (26:9): [True: 0, False: 2.27k]
  ------------------
   27|    262|        case Py_nb_index:
  ------------------
  |  |   21|    262|#define Py_nb_index 13
  ------------------
  |  Branch (27:9): [True: 0, False: 2.27k]
  ------------------
   28|    262|        case Py_nb_inplace_add:
  ------------------
  |  |   22|    262|#define Py_nb_inplace_add 14
  ------------------
  |  Branch (28:9): [True: 0, False: 2.27k]
  ------------------
   29|    262|        case Py_nb_inplace_and:
  ------------------
  |  |   23|    262|#define Py_nb_inplace_and 15
  ------------------
  |  Branch (29:9): [True: 0, False: 2.27k]
  ------------------
   30|    262|        case Py_nb_inplace_floor_divide:
  ------------------
  |  |   24|    262|#define Py_nb_inplace_floor_divide 16
  ------------------
  |  Branch (30:9): [True: 0, False: 2.27k]
  ------------------
   31|    262|        case Py_nb_inplace_lshift:
  ------------------
  |  |   25|    262|#define Py_nb_inplace_lshift 17
  ------------------
  |  Branch (31:9): [True: 0, False: 2.27k]
  ------------------
   32|    262|        case Py_nb_inplace_multiply:
  ------------------
  |  |   26|    262|#define Py_nb_inplace_multiply 18
  ------------------
  |  Branch (32:9): [True: 0, False: 2.27k]
  ------------------
   33|    262|        case Py_nb_inplace_or:
  ------------------
  |  |   27|    262|#define Py_nb_inplace_or 19
  ------------------
  |  Branch (33:9): [True: 0, False: 2.27k]
  ------------------
   34|    262|        case Py_nb_inplace_power:
  ------------------
  |  |   28|    262|#define Py_nb_inplace_power 20
  ------------------
  |  Branch (34:9): [True: 0, False: 2.27k]
  ------------------
   35|    262|        case Py_nb_inplace_remainder:
  ------------------
  |  |   29|    262|#define Py_nb_inplace_remainder 21
  ------------------
  |  Branch (35:9): [True: 0, False: 2.27k]
  ------------------
   36|    262|        case Py_nb_inplace_rshift:
  ------------------
  |  |   30|    262|#define Py_nb_inplace_rshift 22
  ------------------
  |  Branch (36:9): [True: 0, False: 2.27k]
  ------------------
   37|    262|        case Py_nb_inplace_subtract:
  ------------------
  |  |   31|    262|#define Py_nb_inplace_subtract 23
  ------------------
  |  Branch (37:9): [True: 0, False: 2.27k]
  ------------------
   38|    262|        case Py_nb_inplace_true_divide:
  ------------------
  |  |   32|    262|#define Py_nb_inplace_true_divide 24
  ------------------
  |  Branch (38:9): [True: 0, False: 2.27k]
  ------------------
   39|    262|        case Py_nb_inplace_xor:
  ------------------
  |  |   33|    262|#define Py_nb_inplace_xor 25
  ------------------
  |  Branch (39:9): [True: 0, False: 2.27k]
  ------------------
   40|    262|        case Py_nb_int:
  ------------------
  |  |   34|    262|#define Py_nb_int 26
  ------------------
  |  Branch (40:9): [True: 0, False: 2.27k]
  ------------------
   41|    262|        case Py_nb_invert:
  ------------------
  |  |   35|    262|#define Py_nb_invert 27
  ------------------
  |  Branch (41:9): [True: 0, False: 2.27k]
  ------------------
   42|    262|        case Py_nb_lshift:
  ------------------
  |  |   36|    262|#define Py_nb_lshift 28
  ------------------
  |  Branch (42:9): [True: 0, False: 2.27k]
  ------------------
   43|    262|        case Py_nb_multiply:
  ------------------
  |  |   37|    262|#define Py_nb_multiply 29
  ------------------
  |  Branch (43:9): [True: 0, False: 2.27k]
  ------------------
   44|    262|        case Py_nb_negative:
  ------------------
  |  |   38|    262|#define Py_nb_negative 30
  ------------------
  |  Branch (44:9): [True: 0, False: 2.27k]
  ------------------
   45|    272|        case Py_nb_or:
  ------------------
  |  |   39|    272|#define Py_nb_or 31
  ------------------
  |  Branch (45:9): [True: 10, False: 2.26k]
  ------------------
   46|    272|        case Py_nb_positive:
  ------------------
  |  |   40|    272|#define Py_nb_positive 32
  ------------------
  |  Branch (46:9): [True: 0, False: 2.27k]
  ------------------
   47|    272|        case Py_nb_power:
  ------------------
  |  |   41|    272|#define Py_nb_power 33
  ------------------
  |  Branch (47:9): [True: 0, False: 2.27k]
  ------------------
   48|    272|        case Py_nb_remainder:
  ------------------
  |  |   42|    272|#define Py_nb_remainder 34
  ------------------
  |  Branch (48:9): [True: 0, False: 2.27k]
  ------------------
   49|    272|        case Py_nb_rshift:
  ------------------
  |  |   43|    272|#define Py_nb_rshift 35
  ------------------
  |  Branch (49:9): [True: 0, False: 2.27k]
  ------------------
   50|    272|        case Py_nb_subtract:
  ------------------
  |  |   44|    272|#define Py_nb_subtract 36
  ------------------
  |  Branch (50:9): [True: 0, False: 2.27k]
  ------------------
   51|    272|        case Py_nb_true_divide:
  ------------------
  |  |   45|    272|#define Py_nb_true_divide 37
  ------------------
  |  Branch (51:9): [True: 0, False: 2.27k]
  ------------------
   52|    272|        case Py_nb_xor:
  ------------------
  |  |   46|    272|#define Py_nb_xor 38
  ------------------
  |  Branch (52:9): [True: 0, False: 2.27k]
  ------------------
   53|    274|        case Py_sq_ass_item:
  ------------------
  |  |   47|    274|#define Py_sq_ass_item 39
  ------------------
  |  Branch (53:9): [True: 2, False: 2.27k]
  ------------------
   54|    276|        case Py_sq_concat:
  ------------------
  |  |   48|    276|#define Py_sq_concat 40
  ------------------
  |  Branch (54:9): [True: 2, False: 2.27k]
  ------------------
   55|    278|        case Py_sq_contains:
  ------------------
  |  |   49|    278|#define Py_sq_contains 41
  ------------------
  |  Branch (55:9): [True: 2, False: 2.27k]
  ------------------
   56|    280|        case Py_sq_inplace_concat:
  ------------------
  |  |   50|    280|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (56:9): [True: 2, False: 2.27k]
  ------------------
   57|    282|        case Py_sq_inplace_repeat:
  ------------------
  |  |   51|    282|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (57:9): [True: 2, False: 2.27k]
  ------------------
   58|    284|        case Py_sq_item:
  ------------------
  |  |   52|    284|#define Py_sq_item 44
  ------------------
  |  Branch (58:9): [True: 2, False: 2.27k]
  ------------------
   59|    286|        case Py_sq_length:
  ------------------
  |  |   53|    286|#define Py_sq_length 45
  ------------------
  |  Branch (59:9): [True: 2, False: 2.27k]
  ------------------
   60|    288|        case Py_sq_repeat:
  ------------------
  |  |   54|    288|#define Py_sq_repeat 46
  ------------------
  |  Branch (60:9): [True: 2, False: 2.27k]
  ------------------
   61|    330|        case Py_tp_alloc:
  ------------------
  |  |   55|    330|#define Py_tp_alloc 47
  ------------------
  |  Branch (61:9): [True: 42, False: 2.23k]
  ------------------
   62|    330|        case Py_tp_base:
  ------------------
  |  |   56|    330|#define Py_tp_base 48
  ------------------
  |  Branch (62:9): [True: 0, False: 2.27k]
  ------------------
   63|    330|        case Py_tp_bases:
  ------------------
  |  |   57|    330|#define Py_tp_bases 49
  ------------------
  |  Branch (63:9): [True: 0, False: 2.27k]
  ------------------
   64|    346|        case Py_tp_call:
  ------------------
  |  |   58|    346|#define Py_tp_call 50
  ------------------
  |  Branch (64:9): [True: 16, False: 2.25k]
  ------------------
   65|    456|        case Py_tp_clear:
  ------------------
  |  |   59|    456|#define Py_tp_clear 51
  ------------------
  |  Branch (65:9): [True: 110, False: 2.16k]
  ------------------
   66|    704|        case Py_tp_dealloc:
  ------------------
  |  |   60|    704|#define Py_tp_dealloc 52
  ------------------
  |  Branch (66:9): [True: 248, False: 2.02k]
  ------------------
   67|    704|        case Py_tp_del:
  ------------------
  |  |   61|    704|#define Py_tp_del 53
  ------------------
  |  Branch (67:9): [True: 0, False: 2.27k]
  ------------------
   68|    710|        case Py_tp_descr_get:
  ------------------
  |  |   62|    710|#define Py_tp_descr_get 54
  ------------------
  |  Branch (68:9): [True: 6, False: 2.26k]
  ------------------
   69|    712|        case Py_tp_descr_set:
  ------------------
  |  |   63|    712|#define Py_tp_descr_set 55
  ------------------
  |  Branch (69:9): [True: 2, False: 2.27k]
  ------------------
   70|    908|        case Py_tp_doc:
  ------------------
  |  |   64|    908|#define Py_tp_doc 56
  ------------------
  |  Branch (70:9): [True: 196, False: 2.07k]
  ------------------
   71|    908|        case Py_tp_getattr:
  ------------------
  |  |   65|    908|#define Py_tp_getattr 57
  ------------------
  |  Branch (71:9): [True: 0, False: 2.27k]
  ------------------
   72|    988|        case Py_tp_getattro:
  ------------------
  |  |   66|    988|#define Py_tp_getattro 58
  ------------------
  |  Branch (72:9): [True: 80, False: 2.19k]
  ------------------
   73|    992|        case Py_tp_hash:
  ------------------
  |  |   67|    992|#define Py_tp_hash 59
  ------------------
  |  Branch (73:9): [True: 4, False: 2.27k]
  ------------------
   74|  1.04k|        case Py_tp_init:
  ------------------
  |  |   68|  1.04k|#define Py_tp_init 60
  ------------------
  |  Branch (74:9): [True: 50, False: 2.22k]
  ------------------
   75|  1.04k|        case Py_tp_is_gc:
  ------------------
  |  |   69|  1.04k|#define Py_tp_is_gc 61
  ------------------
  |  Branch (75:9): [True: 0, False: 2.27k]
  ------------------
   76|  1.11k|        case Py_tp_iter:
  ------------------
  |  |   70|  1.11k|#define Py_tp_iter 62
  ------------------
  |  Branch (76:9): [True: 68, False: 2.20k]
  ------------------
   77|  1.18k|        case Py_tp_iternext:
  ------------------
  |  |   71|  1.18k|#define Py_tp_iternext 63
  ------------------
  |  Branch (77:9): [True: 78, False: 2.19k]
  ------------------
   78|  1.38k|        case Py_tp_methods:
  ------------------
  |  |   72|  1.38k|#define Py_tp_methods 64
  ------------------
  |  Branch (78:9): [True: 194, False: 2.08k]
  ------------------
   79|  1.54k|        case Py_tp_new:
  ------------------
  |  |   73|  1.54k|#define Py_tp_new 65
  ------------------
  |  Branch (79:9): [True: 166, False: 2.10k]
  ------------------
   80|  1.67k|        case Py_tp_repr:
  ------------------
  |  |   74|  1.67k|#define Py_tp_repr 66
  ------------------
  |  Branch (80:9): [True: 128, False: 2.14k]
  ------------------
   81|  1.69k|        case Py_tp_richcompare:
  ------------------
  |  |   75|  1.69k|#define Py_tp_richcompare 67
  ------------------
  |  Branch (81:9): [True: 14, False: 2.26k]
  ------------------
   82|  1.69k|        case Py_tp_setattr:
  ------------------
  |  |   76|  1.69k|#define Py_tp_setattr 68
  ------------------
  |  Branch (82:9): [True: 0, False: 2.27k]
  ------------------
   83|  1.69k|        case Py_tp_setattro:
  ------------------
  |  |   77|  1.69k|#define Py_tp_setattro 69
  ------------------
  |  Branch (83:9): [True: 8, False: 2.26k]
  ------------------
   84|  1.70k|        case Py_tp_str:
  ------------------
  |  |   78|  1.70k|#define Py_tp_str 70
  ------------------
  |  Branch (84:9): [True: 2, False: 2.27k]
  ------------------
   85|  1.93k|        case Py_tp_traverse:
  ------------------
  |  |   79|  1.93k|#define Py_tp_traverse 71
  ------------------
  |  Branch (85:9): [True: 232, False: 2.04k]
  ------------------
   86|  2.08k|        case Py_tp_members:
  ------------------
  |  |   80|  2.08k|#define Py_tp_members 72
  ------------------
  |  Branch (86:9): [True: 148, False: 2.12k]
  ------------------
   87|  2.17k|        case Py_tp_getset:
  ------------------
  |  |   81|  2.17k|#define Py_tp_getset 73
  ------------------
  |  Branch (87:9): [True: 96, False: 2.17k]
  ------------------
   88|  2.25k|        case Py_tp_free:
  ------------------
  |  |   82|  2.25k|#define Py_tp_free 74
  ------------------
  |  Branch (88:9): [True: 80, False: 2.19k]
  ------------------
   89|  2.25k|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|  2.25k|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (89:9): [True: 0, False: 2.27k]
  ------------------
   90|  2.25k|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|  2.25k|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (90:9): [True: 0, False: 2.27k]
  ------------------
   91|  2.25k|        case Py_am_await:
  ------------------
  |  |   85|  2.25k|#define Py_am_await 77
  ------------------
  |  Branch (91:9): [True: 0, False: 2.27k]
  ------------------
   92|  2.25k|        case Py_am_aiter:
  ------------------
  |  |   86|  2.25k|#define Py_am_aiter 78
  ------------------
  |  Branch (92:9): [True: 0, False: 2.27k]
  ------------------
   93|  2.25k|        case Py_am_anext:
  ------------------
  |  |   87|  2.25k|#define Py_am_anext 79
  ------------------
  |  Branch (93:9): [True: 0, False: 2.27k]
  ------------------
   94|  2.26k|        case Py_tp_finalize:
  ------------------
  |  |   88|  2.26k|#define Py_tp_finalize 80
  ------------------
  |  Branch (94:9): [True: 8, False: 2.26k]
  ------------------
   95|  2.26k|        case Py_am_send:
  ------------------
  |  |   89|  2.26k|#define Py_am_send 81
  ------------------
  |  Branch (95:9): [True: 0, False: 2.27k]
  ------------------
   96|  2.26k|        case Py_tp_vectorcall:
  ------------------
  |  |   90|  2.26k|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (96:9): [True: 0, False: 2.27k]
  ------------------
   97|  2.26k|        case Py_tp_token:
  ------------------
  |  |   91|  2.26k|#define Py_tp_token 83
  ------------------
  |  Branch (97:9): [True: 2, False: 2.27k]
  ------------------
   98|  2.27k|        case Py_bf_getbuffer:
  ------------------
  |  |   96|  2.27k|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|  2.27k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (98:9): [True: 4, False: 2.27k]
  ------------------
   99|  2.27k|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|  2.27k|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|  2.27k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (99:9): [True: 4, False: 2.27k]
  ------------------
  100|  2.27k|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|  2.27k|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|  2.27k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (100:9): [True: 0, False: 2.27k]
  ------------------
  101|  2.27k|        case Py_mp_length:
  ------------------
  |  |   99|  2.27k|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|  2.27k|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (101:9): [True: 0, False: 2.27k]
  ------------------
  102|  2.27k|        case Py_slot_subslots:
  ------------------
  |  |  100|  2.27k|#define Py_slot_subslots 92
  ------------------
  |  Branch (102:9): [True: 0, False: 2.27k]
  ------------------
  103|  2.27k|        case Py_tp_slots:
  ------------------
  |  |  101|  2.27k|#define Py_tp_slots 93
  ------------------
  |  Branch (103:9): [True: 0, False: 2.27k]
  ------------------
  104|  2.27k|        case Py_tp_name:
  ------------------
  |  |  103|  2.27k|#define Py_tp_name 95
  ------------------
  |  Branch (104:9): [True: 0, False: 2.27k]
  ------------------
  105|  2.27k|        case Py_tp_basicsize:
  ------------------
  |  |  104|  2.27k|#define Py_tp_basicsize 96
  ------------------
  |  Branch (105:9): [True: 0, False: 2.27k]
  ------------------
  106|  2.27k|        case Py_tp_extra_basicsize:
  ------------------
  |  |  105|  2.27k|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (106:9): [True: 0, False: 2.27k]
  ------------------
  107|  2.27k|        case Py_tp_itemsize:
  ------------------
  |  |  106|  2.27k|#define Py_tp_itemsize 98
  ------------------
  |  Branch (107:9): [True: 0, False: 2.27k]
  ------------------
  108|  2.27k|        case Py_tp_flags:
  ------------------
  |  |  107|  2.27k|#define Py_tp_flags 99
  ------------------
  |  Branch (108:9): [True: 0, False: 2.27k]
  ------------------
  109|  2.27k|        case Py_tp_metaclass:
  ------------------
  |  |  115|  2.27k|#define Py_tp_metaclass 107
  ------------------
  |  Branch (109:9): [True: 0, False: 2.27k]
  ------------------
  110|  2.27k|        case Py_tp_module:
  ------------------
  |  |  116|  2.27k|#define Py_tp_module 108
  ------------------
  |  Branch (110:9): [True: 0, False: 2.27k]
  ------------------
  111|  2.27k|            return slot_id;
  112|      0|        default:
  ------------------
  |  Branch (112:9): [True: 0, False: 2.27k]
  ------------------
  113|      0|            return Py_slot_invalid;
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  114|  2.27k|    }
  115|  2.27k|}
slots.c:_PySlot_resolve_mod_slot:
  119|    418|{
  120|    418|    switch (slot_id) {
  121|      0|        case 1:
  ------------------
  |  Branch (121:9): [True: 0, False: 418]
  ------------------
  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: 410]
  ------------------
  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: 410]
  ------------------
  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: 410]
  ------------------
  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|     86|        case Py_slot_end:
  ------------------
  |  |   12|     86|#define Py_slot_end 0
  ------------------
  |  Branch (129:9): [True: 86, False: 332]
  ------------------
  130|     86|        case Py_mod_create:
  ------------------
  |  |   92|     86|#define Py_mod_create _Py_SLOT_COMPAT_VALUE(1, 84)
  |  |  ------------------
  |  |  |  |    7|     86|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (130:9): [True: 0, False: 418]
  ------------------
  131|    160|        case Py_mod_exec:
  ------------------
  |  |   93|    160|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|    160|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (131:9): [True: 74, False: 344]
  ------------------
  132|    238|        case Py_mod_multiple_interpreters:
  ------------------
  |  |   94|    238|#define Py_mod_multiple_interpreters _Py_SLOT_COMPAT_VALUE(3, 86)
  |  |  ------------------
  |  |  |  |    7|    238|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (132:9): [True: 78, False: 340]
  ------------------
  133|    316|        case Py_mod_gil:
  ------------------
  |  |   95|    316|#define Py_mod_gil _Py_SLOT_COMPAT_VALUE(4, 87)
  |  |  ------------------
  |  |  |  |    7|    316|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (133:9): [True: 78, False: 340]
  ------------------
  134|    316|        case Py_slot_subslots:
  ------------------
  |  |  100|    316|#define Py_slot_subslots 92
  ------------------
  |  Branch (134:9): [True: 0, False: 418]
  ------------------
  135|    316|        case Py_mod_slots:
  ------------------
  |  |  102|    316|#define Py_mod_slots 94
  ------------------
  |  Branch (135:9): [True: 0, False: 418]
  ------------------
  136|    316|        case Py_mod_name:
  ------------------
  |  |  108|    316|#define Py_mod_name 100
  ------------------
  |  Branch (136:9): [True: 0, False: 418]
  ------------------
  137|    316|        case Py_mod_doc:
  ------------------
  |  |  109|    316|#define Py_mod_doc 101
  ------------------
  |  Branch (137:9): [True: 0, False: 418]
  ------------------
  138|    316|        case Py_mod_state_size:
  ------------------
  |  |  110|    316|#define Py_mod_state_size 102
  ------------------
  |  Branch (138:9): [True: 0, False: 418]
  ------------------
  139|    316|        case Py_mod_methods:
  ------------------
  |  |  111|    316|#define Py_mod_methods 103
  ------------------
  |  Branch (139:9): [True: 0, False: 418]
  ------------------
  140|    316|        case Py_mod_state_traverse:
  ------------------
  |  |  112|    316|#define Py_mod_state_traverse 104
  ------------------
  |  Branch (140:9): [True: 0, False: 418]
  ------------------
  141|    316|        case Py_mod_state_clear:
  ------------------
  |  |  113|    316|#define Py_mod_state_clear 105
  ------------------
  |  Branch (141:9): [True: 0, False: 418]
  ------------------
  142|    316|        case Py_mod_state_free:
  ------------------
  |  |  114|    316|#define Py_mod_state_free 106
  ------------------
  |  Branch (142:9): [True: 0, False: 418]
  ------------------
  143|    394|        case Py_mod_abi:
  ------------------
  |  |  117|    394|#define Py_mod_abi 109
  ------------------
  |  Branch (143:9): [True: 78, False: 340]
  ------------------
  144|    394|        case Py_mod_token:
  ------------------
  |  |  118|    394|#define Py_mod_token 110
  ------------------
  |  Branch (144:9): [True: 0, False: 418]
  ------------------
  145|    394|            return slot_id;
  146|      0|        default:
  ------------------
  |  Branch (146:9): [True: 0, False: 418]
  ------------------
  147|      0|            return Py_slot_invalid;
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  148|    418|    }
  149|    418|}
slots.c:_PySlot_get_dtype:
  634|  5.76k|{
  635|  5.76k|    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.76k]
  ------------------
  637|      5|        case Py_mp_subscript: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   13|      5|#define Py_mp_subscript 5
  ------------------
  |  Branch (637:9): [True: 5, False: 5.75k]
  ------------------
  638|      0|        case Py_nb_absolute: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   14|      0|#define Py_nb_absolute 6
  ------------------
  |  Branch (638:9): [True: 0, False: 5.76k]
  ------------------
  639|      0|        case Py_nb_add: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   15|      0|#define Py_nb_add 7
  ------------------
  |  Branch (639:9): [True: 0, False: 5.76k]
  ------------------
  640|      0|        case Py_nb_and: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   16|      0|#define Py_nb_and 8
  ------------------
  |  Branch (640:9): [True: 0, False: 5.76k]
  ------------------
  641|      0|        case Py_nb_bool: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   17|      0|#define Py_nb_bool 9
  ------------------
  |  Branch (641:9): [True: 0, False: 5.76k]
  ------------------
  642|      0|        case Py_nb_divmod: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   18|      0|#define Py_nb_divmod 10
  ------------------
  |  Branch (642:9): [True: 0, False: 5.76k]
  ------------------
  643|      0|        case Py_nb_float: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   19|      0|#define Py_nb_float 11
  ------------------
  |  Branch (643:9): [True: 0, False: 5.76k]
  ------------------
  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.76k]
  ------------------
  645|      0|        case Py_nb_index: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   21|      0|#define Py_nb_index 13
  ------------------
  |  Branch (645:9): [True: 0, False: 5.76k]
  ------------------
  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.76k]
  ------------------
  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.76k]
  ------------------
  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.76k]
  ------------------
  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.76k]
  ------------------
  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.76k]
  ------------------
  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.76k]
  ------------------
  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.76k]
  ------------------
  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.76k]
  ------------------
  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.76k]
  ------------------
  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.76k]
  ------------------
  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.76k]
  ------------------
  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.76k]
  ------------------
  658|      0|        case Py_nb_int: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   34|      0|#define Py_nb_int 26
  ------------------
  |  Branch (658:9): [True: 0, False: 5.76k]
  ------------------
  659|      0|        case Py_nb_invert: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   35|      0|#define Py_nb_invert 27
  ------------------
  |  Branch (659:9): [True: 0, False: 5.76k]
  ------------------
  660|      0|        case Py_nb_lshift: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   36|      0|#define Py_nb_lshift 28
  ------------------
  |  Branch (660:9): [True: 0, False: 5.76k]
  ------------------
  661|      0|        case Py_nb_multiply: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   37|      0|#define Py_nb_multiply 29
  ------------------
  |  Branch (661:9): [True: 0, False: 5.76k]
  ------------------
  662|      0|        case Py_nb_negative: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   38|      0|#define Py_nb_negative 30
  ------------------
  |  Branch (662:9): [True: 0, False: 5.76k]
  ------------------
  663|     25|        case Py_nb_or: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   39|     25|#define Py_nb_or 31
  ------------------
  |  Branch (663:9): [True: 25, False: 5.73k]
  ------------------
  664|      0|        case Py_nb_positive: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   40|      0|#define Py_nb_positive 32
  ------------------
  |  Branch (664:9): [True: 0, False: 5.76k]
  ------------------
  665|      0|        case Py_nb_power: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   41|      0|#define Py_nb_power 33
  ------------------
  |  Branch (665:9): [True: 0, False: 5.76k]
  ------------------
  666|      0|        case Py_nb_remainder: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   42|      0|#define Py_nb_remainder 34
  ------------------
  |  Branch (666:9): [True: 0, False: 5.76k]
  ------------------
  667|      0|        case Py_nb_rshift: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   43|      0|#define Py_nb_rshift 35
  ------------------
  |  Branch (667:9): [True: 0, False: 5.76k]
  ------------------
  668|      0|        case Py_nb_subtract: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   44|      0|#define Py_nb_subtract 36
  ------------------
  |  Branch (668:9): [True: 0, False: 5.76k]
  ------------------
  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.76k]
  ------------------
  670|      0|        case Py_nb_xor: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   46|      0|#define Py_nb_xor 38
  ------------------
  |  Branch (670:9): [True: 0, False: 5.76k]
  ------------------
  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.75k]
  ------------------
  672|      5|        case Py_sq_concat: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   48|      5|#define Py_sq_concat 40
  ------------------
  |  Branch (672:9): [True: 5, False: 5.75k]
  ------------------
  673|      5|        case Py_sq_contains: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   49|      5|#define Py_sq_contains 41
  ------------------
  |  Branch (673:9): [True: 5, False: 5.75k]
  ------------------
  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.75k]
  ------------------
  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.75k]
  ------------------
  676|      5|        case Py_sq_item: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   52|      5|#define Py_sq_item 44
  ------------------
  |  Branch (676:9): [True: 5, False: 5.75k]
  ------------------
  677|      5|        case Py_sq_length: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   53|      5|#define Py_sq_length 45
  ------------------
  |  Branch (677:9): [True: 5, False: 5.75k]
  ------------------
  678|      5|        case Py_sq_repeat: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   54|      5|#define Py_sq_repeat 46
  ------------------
  |  Branch (678:9): [True: 5, False: 5.75k]
  ------------------
  679|    105|        case Py_tp_alloc: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   55|    105|#define Py_tp_alloc 47
  ------------------
  |  Branch (679:9): [True: 105, False: 5.65k]
  ------------------
  680|      0|        case Py_tp_base: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (680:9): [True: 0, False: 5.76k]
  ------------------
  681|      0|        case Py_tp_bases: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (681:9): [True: 0, False: 5.76k]
  ------------------
  682|     40|        case Py_tp_call: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   58|     40|#define Py_tp_call 50
  ------------------
  |  Branch (682:9): [True: 40, False: 5.72k]
  ------------------
  683|    275|        case Py_tp_clear: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   59|    275|#define Py_tp_clear 51
  ------------------
  |  Branch (683:9): [True: 275, False: 5.48k]
  ------------------
  684|    620|        case Py_tp_dealloc: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   60|    620|#define Py_tp_dealloc 52
  ------------------
  |  Branch (684:9): [True: 620, False: 5.14k]
  ------------------
  685|      0|        case Py_tp_del: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   61|      0|#define Py_tp_del 53
  ------------------
  |  Branch (685:9): [True: 0, False: 5.76k]
  ------------------
  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.74k]
  ------------------
  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.75k]
  ------------------
  688|    392|        case Py_tp_doc: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   64|    392|#define Py_tp_doc 56
  ------------------
  |  Branch (688:9): [True: 392, False: 5.36k]
  ------------------
  689|      0|        case Py_tp_getattr: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   65|      0|#define Py_tp_getattr 57
  ------------------
  |  Branch (689:9): [True: 0, False: 5.76k]
  ------------------
  690|    200|        case Py_tp_getattro: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   66|    200|#define Py_tp_getattro 58
  ------------------
  |  Branch (690:9): [True: 200, False: 5.56k]
  ------------------
  691|     10|        case Py_tp_hash: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   67|     10|#define Py_tp_hash 59
  ------------------
  |  Branch (691:9): [True: 10, False: 5.75k]
  ------------------
  692|    125|        case Py_tp_init: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   68|    125|#define Py_tp_init 60
  ------------------
  |  Branch (692:9): [True: 125, False: 5.63k]
  ------------------
  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.76k]
  ------------------
  694|    170|        case Py_tp_iter: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   70|    170|#define Py_tp_iter 62
  ------------------
  |  Branch (694:9): [True: 170, False: 5.59k]
  ------------------
  695|    195|        case Py_tp_iternext: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   71|    195|#define Py_tp_iternext 63
  ------------------
  |  Branch (695:9): [True: 195, False: 5.56k]
  ------------------
  696|    485|        case Py_tp_methods: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   72|    485|#define Py_tp_methods 64
  ------------------
  |  Branch (696:9): [True: 485, False: 5.27k]
  ------------------
  697|    415|        case Py_tp_new: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   73|    415|#define Py_tp_new 65
  ------------------
  |  Branch (697:9): [True: 415, False: 5.34k]
  ------------------
  698|    320|        case Py_tp_repr: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   74|    320|#define Py_tp_repr 66
  ------------------
  |  Branch (698:9): [True: 320, False: 5.44k]
  ------------------
  699|     35|        case Py_tp_richcompare: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   75|     35|#define Py_tp_richcompare 67
  ------------------
  |  Branch (699:9): [True: 35, False: 5.72k]
  ------------------
  700|      0|        case Py_tp_setattr: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   76|      0|#define Py_tp_setattr 68
  ------------------
  |  Branch (700:9): [True: 0, False: 5.76k]
  ------------------
  701|     20|        case Py_tp_setattro: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   77|     20|#define Py_tp_setattro 69
  ------------------
  |  Branch (701:9): [True: 20, False: 5.74k]
  ------------------
  702|      5|        case Py_tp_str: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   78|      5|#define Py_tp_str 70
  ------------------
  |  Branch (702:9): [True: 5, False: 5.75k]
  ------------------
  703|    580|        case Py_tp_traverse: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   79|    580|#define Py_tp_traverse 71
  ------------------
  |  Branch (703:9): [True: 580, False: 5.18k]
  ------------------
  704|    370|        case Py_tp_members: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   80|    370|#define Py_tp_members 72
  ------------------
  |  Branch (704:9): [True: 370, False: 5.39k]
  ------------------
  705|    240|        case Py_tp_getset: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   81|    240|#define Py_tp_getset 73
  ------------------
  |  Branch (705:9): [True: 240, False: 5.52k]
  ------------------
  706|    200|        case Py_tp_free: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   82|    200|#define Py_tp_free 74
  ------------------
  |  Branch (706:9): [True: 200, False: 5.56k]
  ------------------
  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.76k]
  ------------------
  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.76k]
  ------------------
  709|      0|        case Py_am_await: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   85|      0|#define Py_am_await 77
  ------------------
  |  Branch (709:9): [True: 0, False: 5.76k]
  ------------------
  710|      0|        case Py_am_aiter: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   86|      0|#define Py_am_aiter 78
  ------------------
  |  Branch (710:9): [True: 0, False: 5.76k]
  ------------------
  711|      0|        case Py_am_anext: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   87|      0|#define Py_am_anext 79
  ------------------
  |  Branch (711:9): [True: 0, False: 5.76k]
  ------------------
  712|     20|        case Py_tp_finalize: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   88|     20|#define Py_tp_finalize 80
  ------------------
  |  Branch (712:9): [True: 20, False: 5.74k]
  ------------------
  713|      0|        case Py_am_send: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   89|      0|#define Py_am_send 81
  ------------------
  |  Branch (713:9): [True: 0, False: 5.76k]
  ------------------
  714|      0|        case Py_tp_vectorcall: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   90|      0|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (714:9): [True: 0, False: 5.76k]
  ------------------
  715|      4|        case Py_tp_token: return _PySlot_DTYPE_PTR;
  ------------------
  |  |   91|      4|#define Py_tp_token 83
  ------------------
  |  Branch (715:9): [True: 4, False: 5.75k]
  ------------------
  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.76k]
  ------------------
  717|    246|        case Py_mod_exec: return _PySlot_DTYPE_FUNC;
  ------------------
  |  |   93|    246|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|    246|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (717:9): [True: 246, False: 5.51k]
  ------------------
  718|    172|        case Py_mod_multiple_interpreters: return _PySlot_DTYPE_UINT64;
  ------------------
  |  |   94|    172|#define Py_mod_multiple_interpreters _Py_SLOT_COMPAT_VALUE(3, 86)
  |  |  ------------------
  |  |  |  |    7|    172|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (718:9): [True: 172, False: 5.58k]
  ------------------
  719|    172|        case Py_mod_gil: return _PySlot_DTYPE_UINT64;
  ------------------
  |  |   95|    172|#define Py_mod_gil _Py_SLOT_COMPAT_VALUE(4, 87)
  |  |  ------------------
  |  |  |  |    7|    172|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (719:9): [True: 172, False: 5.58k]
  ------------------
  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.75k]
  ------------------
  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.75k]
  ------------------
  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.76k]
  ------------------
  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.76k]
  ------------------
  724|      0|        case Py_slot_subslots: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  100|      0|#define Py_slot_subslots 92
  ------------------
  |  Branch (724:9): [True: 0, False: 5.76k]
  ------------------
  725|      0|        case Py_tp_slots: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  101|      0|#define Py_tp_slots 93
  ------------------
  |  Branch (725:9): [True: 0, False: 5.76k]
  ------------------
  726|      0|        case Py_mod_slots: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  102|      0|#define Py_mod_slots 94
  ------------------
  |  Branch (726:9): [True: 0, False: 5.76k]
  ------------------
  727|      0|        case Py_tp_name: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  103|      0|#define Py_tp_name 95
  ------------------
  |  Branch (727:9): [True: 0, False: 5.76k]
  ------------------
  728|      0|        case Py_tp_basicsize: return _PySlot_DTYPE_SIZE;
  ------------------
  |  |  104|      0|#define Py_tp_basicsize 96
  ------------------
  |  Branch (728:9): [True: 0, False: 5.76k]
  ------------------
  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.76k]
  ------------------
  730|      0|        case Py_tp_itemsize: return _PySlot_DTYPE_SIZE;
  ------------------
  |  |  106|      0|#define Py_tp_itemsize 98
  ------------------
  |  Branch (730:9): [True: 0, False: 5.76k]
  ------------------
  731|      0|        case Py_tp_flags: return _PySlot_DTYPE_UINT64;
  ------------------
  |  |  107|      0|#define Py_tp_flags 99
  ------------------
  |  Branch (731:9): [True: 0, False: 5.76k]
  ------------------
  732|      0|        case Py_mod_name: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  108|      0|#define Py_mod_name 100
  ------------------
  |  Branch (732:9): [True: 0, False: 5.76k]
  ------------------
  733|      0|        case Py_mod_doc: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  109|      0|#define Py_mod_doc 101
  ------------------
  |  Branch (733:9): [True: 0, False: 5.76k]
  ------------------
  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.76k]
  ------------------
  735|      0|        case Py_mod_methods: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  111|      0|#define Py_mod_methods 103
  ------------------
  |  Branch (735:9): [True: 0, False: 5.76k]
  ------------------
  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.76k]
  ------------------
  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.76k]
  ------------------
  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.76k]
  ------------------
  739|      0|        case Py_tp_metaclass: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  115|      0|#define Py_tp_metaclass 107
  ------------------
  |  Branch (739:9): [True: 0, False: 5.76k]
  ------------------
  740|      0|        case Py_tp_module: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  116|      0|#define Py_tp_module 108
  ------------------
  |  Branch (740:9): [True: 0, False: 5.76k]
  ------------------
  741|    234|        case Py_mod_abi: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  117|    234|#define Py_mod_abi 109
  ------------------
  |  Branch (741:9): [True: 234, False: 5.52k]
  ------------------
  742|      0|        case Py_mod_token: return _PySlot_DTYPE_PTR;
  ------------------
  |  |  118|      0|#define Py_mod_token 110
  ------------------
  |  Branch (742:9): [True: 0, False: 5.76k]
  ------------------
  743|      0|        default: return _PySlot_DTYPE_VOID;
  ------------------
  |  Branch (743:9): [True: 0, False: 5.76k]
  ------------------
  744|  5.76k|    }
  745|  5.76k|}
slots.c:_PySlot_get_must_be_static:
  948|  1.33k|{
  949|  1.33k|    switch (slot_id) {
  ------------------
  |  Branch (949:13): [True: 219, False: 1.12k]
  ------------------
  950|     97|        case Py_tp_methods: return true;
  ------------------
  |  |   72|     97|#define Py_tp_methods 64
  ------------------
  |  Branch (950:9): [True: 97, False: 1.24k]
  ------------------
  951|     74|        case Py_tp_members: return true;
  ------------------
  |  |   80|     74|#define Py_tp_members 72
  ------------------
  |  Branch (951:9): [True: 74, False: 1.26k]
  ------------------
  952|     48|        case Py_tp_getset: return true;
  ------------------
  |  |   81|     48|#define Py_tp_getset 73
  ------------------
  |  Branch (952:9): [True: 48, False: 1.29k]
  ------------------
  953|      0|        case Py_mod_methods: return true;
  ------------------
  |  |  111|      0|#define Py_mod_methods 103
  ------------------
  |  Branch (953:9): [True: 0, False: 1.33k]
  ------------------
  954|  1.33k|    }
  955|  1.12k|    return false;
  956|  1.33k|}
slots.c:_PySlot_get_null_handling:
  843|  1.33k|{
  844|  1.33k|    switch (slot_id) {
  845|      0|        case Py_slot_end:
  ------------------
  |  |   12|      0|#define Py_slot_end 0
  ------------------
  |  Branch (845:9): [True: 0, False: 1.33k]
  ------------------
  846|     98|        case Py_tp_doc:
  ------------------
  |  |   64|     98|#define Py_tp_doc 56
  ------------------
  |  Branch (846:9): [True: 98, False: 1.24k]
  ------------------
  847|     99|        case Py_tp_token:
  ------------------
  |  |   91|     99|#define Py_tp_token 83
  ------------------
  |  Branch (847:9): [True: 1, False: 1.33k]
  ------------------
  848|    185|        case Py_mod_multiple_interpreters:
  ------------------
  |  |   94|    185|#define Py_mod_multiple_interpreters _Py_SLOT_COMPAT_VALUE(3, 86)
  |  |  ------------------
  |  |  |  |    7|    185|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (848:9): [True: 86, False: 1.25k]
  ------------------
  849|    271|        case Py_mod_gil:
  ------------------
  |  |   95|    271|#define Py_mod_gil _Py_SLOT_COMPAT_VALUE(4, 87)
  |  |  ------------------
  |  |  |  |    7|    271|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (849:9): [True: 86, False: 1.25k]
  ------------------
  850|    271|        case Py_slot_subslots:
  ------------------
  |  |  100|    271|#define Py_slot_subslots 92
  ------------------
  |  Branch (850:9): [True: 0, False: 1.33k]
  ------------------
  851|    271|        case Py_tp_slots:
  ------------------
  |  |  101|    271|#define Py_tp_slots 93
  ------------------
  |  Branch (851:9): [True: 0, False: 1.33k]
  ------------------
  852|    271|        case Py_mod_slots:
  ------------------
  |  |  102|    271|#define Py_mod_slots 94
  ------------------
  |  Branch (852:9): [True: 0, False: 1.33k]
  ------------------
  853|    271|        case Py_tp_basicsize:
  ------------------
  |  |  104|    271|#define Py_tp_basicsize 96
  ------------------
  |  Branch (853:9): [True: 0, False: 1.33k]
  ------------------
  854|    271|        case Py_tp_extra_basicsize:
  ------------------
  |  |  105|    271|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (854:9): [True: 0, False: 1.33k]
  ------------------
  855|    271|        case Py_tp_itemsize:
  ------------------
  |  |  106|    271|#define Py_tp_itemsize 98
  ------------------
  |  Branch (855:9): [True: 0, False: 1.33k]
  ------------------
  856|    271|        case Py_tp_flags:
  ------------------
  |  |  107|    271|#define Py_tp_flags 99
  ------------------
  |  Branch (856:9): [True: 0, False: 1.33k]
  ------------------
  857|    271|        case Py_mod_state_size:
  ------------------
  |  |  110|    271|#define Py_mod_state_size 102
  ------------------
  |  Branch (857:9): [True: 0, False: 1.33k]
  ------------------
  858|    271|            return _PySlot_PROBLEM_ALLOW;
  859|      1|        case Py_mp_subscript:
  ------------------
  |  |   13|      1|#define Py_mp_subscript 5
  ------------------
  |  Branch (859:9): [True: 1, False: 1.33k]
  ------------------
  860|      1|        case Py_nb_absolute:
  ------------------
  |  |   14|      1|#define Py_nb_absolute 6
  ------------------
  |  Branch (860:9): [True: 0, False: 1.33k]
  ------------------
  861|      1|        case Py_nb_add:
  ------------------
  |  |   15|      1|#define Py_nb_add 7
  ------------------
  |  Branch (861:9): [True: 0, False: 1.33k]
  ------------------
  862|      1|        case Py_nb_and:
  ------------------
  |  |   16|      1|#define Py_nb_and 8
  ------------------
  |  Branch (862:9): [True: 0, False: 1.33k]
  ------------------
  863|      1|        case Py_nb_bool:
  ------------------
  |  |   17|      1|#define Py_nb_bool 9
  ------------------
  |  Branch (863:9): [True: 0, False: 1.33k]
  ------------------
  864|      1|        case Py_nb_divmod:
  ------------------
  |  |   18|      1|#define Py_nb_divmod 10
  ------------------
  |  Branch (864:9): [True: 0, False: 1.33k]
  ------------------
  865|      1|        case Py_nb_float:
  ------------------
  |  |   19|      1|#define Py_nb_float 11
  ------------------
  |  Branch (865:9): [True: 0, False: 1.33k]
  ------------------
  866|      1|        case Py_nb_floor_divide:
  ------------------
  |  |   20|      1|#define Py_nb_floor_divide 12
  ------------------
  |  Branch (866:9): [True: 0, False: 1.33k]
  ------------------
  867|      1|        case Py_nb_index:
  ------------------
  |  |   21|      1|#define Py_nb_index 13
  ------------------
  |  Branch (867:9): [True: 0, False: 1.33k]
  ------------------
  868|      1|        case Py_nb_inplace_add:
  ------------------
  |  |   22|      1|#define Py_nb_inplace_add 14
  ------------------
  |  Branch (868:9): [True: 0, False: 1.33k]
  ------------------
  869|      1|        case Py_nb_inplace_and:
  ------------------
  |  |   23|      1|#define Py_nb_inplace_and 15
  ------------------
  |  Branch (869:9): [True: 0, False: 1.33k]
  ------------------
  870|      1|        case Py_nb_inplace_floor_divide:
  ------------------
  |  |   24|      1|#define Py_nb_inplace_floor_divide 16
  ------------------
  |  Branch (870:9): [True: 0, False: 1.33k]
  ------------------
  871|      1|        case Py_nb_inplace_lshift:
  ------------------
  |  |   25|      1|#define Py_nb_inplace_lshift 17
  ------------------
  |  Branch (871:9): [True: 0, False: 1.33k]
  ------------------
  872|      1|        case Py_nb_inplace_multiply:
  ------------------
  |  |   26|      1|#define Py_nb_inplace_multiply 18
  ------------------
  |  Branch (872:9): [True: 0, False: 1.33k]
  ------------------
  873|      1|        case Py_nb_inplace_or:
  ------------------
  |  |   27|      1|#define Py_nb_inplace_or 19
  ------------------
  |  Branch (873:9): [True: 0, False: 1.33k]
  ------------------
  874|      1|        case Py_nb_inplace_power:
  ------------------
  |  |   28|      1|#define Py_nb_inplace_power 20
  ------------------
  |  Branch (874:9): [True: 0, False: 1.33k]
  ------------------
  875|      1|        case Py_nb_inplace_remainder:
  ------------------
  |  |   29|      1|#define Py_nb_inplace_remainder 21
  ------------------
  |  Branch (875:9): [True: 0, False: 1.33k]
  ------------------
  876|      1|        case Py_nb_inplace_rshift:
  ------------------
  |  |   30|      1|#define Py_nb_inplace_rshift 22
  ------------------
  |  Branch (876:9): [True: 0, False: 1.33k]
  ------------------
  877|      1|        case Py_nb_inplace_subtract:
  ------------------
  |  |   31|      1|#define Py_nb_inplace_subtract 23
  ------------------
  |  Branch (877:9): [True: 0, False: 1.33k]
  ------------------
  878|      1|        case Py_nb_inplace_true_divide:
  ------------------
  |  |   32|      1|#define Py_nb_inplace_true_divide 24
  ------------------
  |  Branch (878:9): [True: 0, False: 1.33k]
  ------------------
  879|      1|        case Py_nb_inplace_xor:
  ------------------
  |  |   33|      1|#define Py_nb_inplace_xor 25
  ------------------
  |  Branch (879:9): [True: 0, False: 1.33k]
  ------------------
  880|      1|        case Py_nb_int:
  ------------------
  |  |   34|      1|#define Py_nb_int 26
  ------------------
  |  Branch (880:9): [True: 0, False: 1.33k]
  ------------------
  881|      1|        case Py_nb_invert:
  ------------------
  |  |   35|      1|#define Py_nb_invert 27
  ------------------
  |  Branch (881:9): [True: 0, False: 1.33k]
  ------------------
  882|      1|        case Py_nb_lshift:
  ------------------
  |  |   36|      1|#define Py_nb_lshift 28
  ------------------
  |  Branch (882:9): [True: 0, False: 1.33k]
  ------------------
  883|      1|        case Py_nb_multiply:
  ------------------
  |  |   37|      1|#define Py_nb_multiply 29
  ------------------
  |  Branch (883:9): [True: 0, False: 1.33k]
  ------------------
  884|      1|        case Py_nb_negative:
  ------------------
  |  |   38|      1|#define Py_nb_negative 30
  ------------------
  |  Branch (884:9): [True: 0, False: 1.33k]
  ------------------
  885|      6|        case Py_nb_or:
  ------------------
  |  |   39|      6|#define Py_nb_or 31
  ------------------
  |  Branch (885:9): [True: 5, False: 1.33k]
  ------------------
  886|      6|        case Py_nb_positive:
  ------------------
  |  |   40|      6|#define Py_nb_positive 32
  ------------------
  |  Branch (886:9): [True: 0, False: 1.33k]
  ------------------
  887|      6|        case Py_nb_power:
  ------------------
  |  |   41|      6|#define Py_nb_power 33
  ------------------
  |  Branch (887:9): [True: 0, False: 1.33k]
  ------------------
  888|      6|        case Py_nb_remainder:
  ------------------
  |  |   42|      6|#define Py_nb_remainder 34
  ------------------
  |  Branch (888:9): [True: 0, False: 1.33k]
  ------------------
  889|      6|        case Py_nb_rshift:
  ------------------
  |  |   43|      6|#define Py_nb_rshift 35
  ------------------
  |  Branch (889:9): [True: 0, False: 1.33k]
  ------------------
  890|      6|        case Py_nb_subtract:
  ------------------
  |  |   44|      6|#define Py_nb_subtract 36
  ------------------
  |  Branch (890:9): [True: 0, False: 1.33k]
  ------------------
  891|      6|        case Py_nb_true_divide:
  ------------------
  |  |   45|      6|#define Py_nb_true_divide 37
  ------------------
  |  Branch (891:9): [True: 0, False: 1.33k]
  ------------------
  892|      6|        case Py_nb_xor:
  ------------------
  |  |   46|      6|#define Py_nb_xor 38
  ------------------
  |  Branch (892:9): [True: 0, False: 1.33k]
  ------------------
  893|      7|        case Py_sq_ass_item:
  ------------------
  |  |   47|      7|#define Py_sq_ass_item 39
  ------------------
  |  Branch (893:9): [True: 1, False: 1.33k]
  ------------------
  894|      8|        case Py_sq_concat:
  ------------------
  |  |   48|      8|#define Py_sq_concat 40
  ------------------
  |  Branch (894:9): [True: 1, False: 1.33k]
  ------------------
  895|      9|        case Py_sq_contains:
  ------------------
  |  |   49|      9|#define Py_sq_contains 41
  ------------------
  |  Branch (895:9): [True: 1, False: 1.33k]
  ------------------
  896|     10|        case Py_sq_inplace_concat:
  ------------------
  |  |   50|     10|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (896:9): [True: 1, False: 1.33k]
  ------------------
  897|     11|        case Py_sq_inplace_repeat:
  ------------------
  |  |   51|     11|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (897:9): [True: 1, False: 1.33k]
  ------------------
  898|     12|        case Py_sq_item:
  ------------------
  |  |   52|     12|#define Py_sq_item 44
  ------------------
  |  Branch (898:9): [True: 1, False: 1.33k]
  ------------------
  899|     13|        case Py_sq_length:
  ------------------
  |  |   53|     13|#define Py_sq_length 45
  ------------------
  |  Branch (899:9): [True: 1, False: 1.33k]
  ------------------
  900|     14|        case Py_sq_repeat:
  ------------------
  |  |   54|     14|#define Py_sq_repeat 46
  ------------------
  |  Branch (900:9): [True: 1, False: 1.33k]
  ------------------
  901|     35|        case Py_tp_alloc:
  ------------------
  |  |   55|     35|#define Py_tp_alloc 47
  ------------------
  |  Branch (901:9): [True: 21, False: 1.31k]
  ------------------
  902|     35|        case Py_tp_base:
  ------------------
  |  |   56|     35|#define Py_tp_base 48
  ------------------
  |  Branch (902:9): [True: 0, False: 1.33k]
  ------------------
  903|     35|        case Py_tp_bases:
  ------------------
  |  |   57|     35|#define Py_tp_bases 49
  ------------------
  |  Branch (903:9): [True: 0, False: 1.33k]
  ------------------
  904|     43|        case Py_tp_call:
  ------------------
  |  |   58|     43|#define Py_tp_call 50
  ------------------
  |  Branch (904:9): [True: 8, False: 1.33k]
  ------------------
  905|     98|        case Py_tp_clear:
  ------------------
  |  |   59|     98|#define Py_tp_clear 51
  ------------------
  |  Branch (905:9): [True: 55, False: 1.28k]
  ------------------
  906|    222|        case Py_tp_dealloc:
  ------------------
  |  |   60|    222|#define Py_tp_dealloc 52
  ------------------
  |  Branch (906:9): [True: 124, False: 1.21k]
  ------------------
  907|    222|        case Py_tp_del:
  ------------------
  |  |   61|    222|#define Py_tp_del 53
  ------------------
  |  Branch (907:9): [True: 0, False: 1.33k]
  ------------------
  908|    225|        case Py_tp_descr_get:
  ------------------
  |  |   62|    225|#define Py_tp_descr_get 54
  ------------------
  |  Branch (908:9): [True: 3, False: 1.33k]
  ------------------
  909|    226|        case Py_tp_descr_set:
  ------------------
  |  |   63|    226|#define Py_tp_descr_set 55
  ------------------
  |  Branch (909:9): [True: 1, False: 1.33k]
  ------------------
  910|    226|        case Py_tp_getattr:
  ------------------
  |  |   65|    226|#define Py_tp_getattr 57
  ------------------
  |  Branch (910:9): [True: 0, False: 1.33k]
  ------------------
  911|    266|        case Py_tp_getattro:
  ------------------
  |  |   66|    266|#define Py_tp_getattro 58
  ------------------
  |  Branch (911:9): [True: 40, False: 1.29k]
  ------------------
  912|    268|        case Py_tp_hash:
  ------------------
  |  |   67|    268|#define Py_tp_hash 59
  ------------------
  |  Branch (912:9): [True: 2, False: 1.33k]
  ------------------
  913|    293|        case Py_tp_init:
  ------------------
  |  |   68|    293|#define Py_tp_init 60
  ------------------
  |  Branch (913:9): [True: 25, False: 1.31k]
  ------------------
  914|    293|        case Py_tp_is_gc:
  ------------------
  |  |   69|    293|#define Py_tp_is_gc 61
  ------------------
  |  Branch (914:9): [True: 0, False: 1.33k]
  ------------------
  915|    327|        case Py_tp_iter:
  ------------------
  |  |   70|    327|#define Py_tp_iter 62
  ------------------
  |  Branch (915:9): [True: 34, False: 1.30k]
  ------------------
  916|    366|        case Py_tp_iternext:
  ------------------
  |  |   71|    366|#define Py_tp_iternext 63
  ------------------
  |  Branch (916:9): [True: 39, False: 1.30k]
  ------------------
  917|    463|        case Py_tp_methods:
  ------------------
  |  |   72|    463|#define Py_tp_methods 64
  ------------------
  |  Branch (917:9): [True: 97, False: 1.24k]
  ------------------
  918|    546|        case Py_tp_new:
  ------------------
  |  |   73|    546|#define Py_tp_new 65
  ------------------
  |  Branch (918:9): [True: 83, False: 1.25k]
  ------------------
  919|    610|        case Py_tp_repr:
  ------------------
  |  |   74|    610|#define Py_tp_repr 66
  ------------------
  |  Branch (919:9): [True: 64, False: 1.27k]
  ------------------
  920|    617|        case Py_tp_richcompare:
  ------------------
  |  |   75|    617|#define Py_tp_richcompare 67
  ------------------
  |  Branch (920:9): [True: 7, False: 1.33k]
  ------------------
  921|    617|        case Py_tp_setattr:
  ------------------
  |  |   76|    617|#define Py_tp_setattr 68
  ------------------
  |  Branch (921:9): [True: 0, False: 1.33k]
  ------------------
  922|    621|        case Py_tp_setattro:
  ------------------
  |  |   77|    621|#define Py_tp_setattro 69
  ------------------
  |  Branch (922:9): [True: 4, False: 1.33k]
  ------------------
  923|    622|        case Py_tp_str:
  ------------------
  |  |   78|    622|#define Py_tp_str 70
  ------------------
  |  Branch (923:9): [True: 1, False: 1.33k]
  ------------------
  924|    738|        case Py_tp_traverse:
  ------------------
  |  |   79|    738|#define Py_tp_traverse 71
  ------------------
  |  Branch (924:9): [True: 116, False: 1.22k]
  ------------------
  925|    786|        case Py_tp_getset:
  ------------------
  |  |   81|    786|#define Py_tp_getset 73
  ------------------
  |  Branch (925:9): [True: 48, False: 1.29k]
  ------------------
  926|    826|        case Py_tp_free:
  ------------------
  |  |   82|    826|#define Py_tp_free 74
  ------------------
  |  Branch (926:9): [True: 40, False: 1.29k]
  ------------------
  927|    826|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|    826|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (927:9): [True: 0, False: 1.33k]
  ------------------
  928|    826|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|    826|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (928:9): [True: 0, False: 1.33k]
  ------------------
  929|    826|        case Py_am_await:
  ------------------
  |  |   85|    826|#define Py_am_await 77
  ------------------
  |  Branch (929:9): [True: 0, False: 1.33k]
  ------------------
  930|    826|        case Py_am_aiter:
  ------------------
  |  |   86|    826|#define Py_am_aiter 78
  ------------------
  |  Branch (930:9): [True: 0, False: 1.33k]
  ------------------
  931|    826|        case Py_am_anext:
  ------------------
  |  |   87|    826|#define Py_am_anext 79
  ------------------
  |  Branch (931:9): [True: 0, False: 1.33k]
  ------------------
  932|    830|        case Py_tp_finalize:
  ------------------
  |  |   88|    830|#define Py_tp_finalize 80
  ------------------
  |  Branch (932:9): [True: 4, False: 1.33k]
  ------------------
  933|    830|        case Py_am_send:
  ------------------
  |  |   89|    830|#define Py_am_send 81
  ------------------
  |  Branch (933:9): [True: 0, False: 1.33k]
  ------------------
  934|    830|        case Py_tp_vectorcall:
  ------------------
  |  |   90|    830|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (934:9): [True: 0, False: 1.33k]
  ------------------
  935|    830|        case Py_mod_create:
  ------------------
  |  |   92|    830|#define Py_mod_create _Py_SLOT_COMPAT_VALUE(1, 84)
  |  |  ------------------
  |  |  |  |    7|    830|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (935:9): [True: 0, False: 1.33k]
  ------------------
  936|    832|        case Py_bf_getbuffer:
  ------------------
  |  |   96|    832|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|    832|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (936:9): [True: 2, False: 1.33k]
  ------------------
  937|    834|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|    834|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|    834|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (937:9): [True: 2, False: 1.33k]
  ------------------
  938|    834|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|    834|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|    834|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (938:9): [True: 0, False: 1.33k]
  ------------------
  939|    834|        case Py_mp_length:
  ------------------
  |  |   99|    834|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|    834|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (939:9): [True: 0, False: 1.33k]
  ------------------
  940|    834|            return _PySlot_PROBLEM_DEPRECATED;
  941|    234|        default:
  ------------------
  |  Branch (941:9): [True: 234, False: 1.10k]
  ------------------
  942|    234|            return _PySlot_PROBLEM_REJECT;
  943|  1.33k|    }
  944|  1.33k|}
slots.c:_PySlot_get_duplicate_handling:
  749|  1.33k|{
  750|  1.33k|    switch (slot_id) {
  751|      1|        case Py_mp_subscript:
  ------------------
  |  |   13|      1|#define Py_mp_subscript 5
  ------------------
  |  Branch (751:9): [True: 1, False: 1.33k]
  ------------------
  752|      1|        case Py_nb_absolute:
  ------------------
  |  |   14|      1|#define Py_nb_absolute 6
  ------------------
  |  Branch (752:9): [True: 0, False: 1.33k]
  ------------------
  753|      1|        case Py_nb_add:
  ------------------
  |  |   15|      1|#define Py_nb_add 7
  ------------------
  |  Branch (753:9): [True: 0, False: 1.33k]
  ------------------
  754|      1|        case Py_nb_and:
  ------------------
  |  |   16|      1|#define Py_nb_and 8
  ------------------
  |  Branch (754:9): [True: 0, False: 1.33k]
  ------------------
  755|      1|        case Py_nb_bool:
  ------------------
  |  |   17|      1|#define Py_nb_bool 9
  ------------------
  |  Branch (755:9): [True: 0, False: 1.33k]
  ------------------
  756|      1|        case Py_nb_divmod:
  ------------------
  |  |   18|      1|#define Py_nb_divmod 10
  ------------------
  |  Branch (756:9): [True: 0, False: 1.33k]
  ------------------
  757|      1|        case Py_nb_float:
  ------------------
  |  |   19|      1|#define Py_nb_float 11
  ------------------
  |  Branch (757:9): [True: 0, False: 1.33k]
  ------------------
  758|      1|        case Py_nb_floor_divide:
  ------------------
  |  |   20|      1|#define Py_nb_floor_divide 12
  ------------------
  |  Branch (758:9): [True: 0, False: 1.33k]
  ------------------
  759|      1|        case Py_nb_index:
  ------------------
  |  |   21|      1|#define Py_nb_index 13
  ------------------
  |  Branch (759:9): [True: 0, False: 1.33k]
  ------------------
  760|      1|        case Py_nb_inplace_add:
  ------------------
  |  |   22|      1|#define Py_nb_inplace_add 14
  ------------------
  |  Branch (760:9): [True: 0, False: 1.33k]
  ------------------
  761|      1|        case Py_nb_inplace_and:
  ------------------
  |  |   23|      1|#define Py_nb_inplace_and 15
  ------------------
  |  Branch (761:9): [True: 0, False: 1.33k]
  ------------------
  762|      1|        case Py_nb_inplace_floor_divide:
  ------------------
  |  |   24|      1|#define Py_nb_inplace_floor_divide 16
  ------------------
  |  Branch (762:9): [True: 0, False: 1.33k]
  ------------------
  763|      1|        case Py_nb_inplace_lshift:
  ------------------
  |  |   25|      1|#define Py_nb_inplace_lshift 17
  ------------------
  |  Branch (763:9): [True: 0, False: 1.33k]
  ------------------
  764|      1|        case Py_nb_inplace_multiply:
  ------------------
  |  |   26|      1|#define Py_nb_inplace_multiply 18
  ------------------
  |  Branch (764:9): [True: 0, False: 1.33k]
  ------------------
  765|      1|        case Py_nb_inplace_or:
  ------------------
  |  |   27|      1|#define Py_nb_inplace_or 19
  ------------------
  |  Branch (765:9): [True: 0, False: 1.33k]
  ------------------
  766|      1|        case Py_nb_inplace_power:
  ------------------
  |  |   28|      1|#define Py_nb_inplace_power 20
  ------------------
  |  Branch (766:9): [True: 0, False: 1.33k]
  ------------------
  767|      1|        case Py_nb_inplace_remainder:
  ------------------
  |  |   29|      1|#define Py_nb_inplace_remainder 21
  ------------------
  |  Branch (767:9): [True: 0, False: 1.33k]
  ------------------
  768|      1|        case Py_nb_inplace_rshift:
  ------------------
  |  |   30|      1|#define Py_nb_inplace_rshift 22
  ------------------
  |  Branch (768:9): [True: 0, False: 1.33k]
  ------------------
  769|      1|        case Py_nb_inplace_subtract:
  ------------------
  |  |   31|      1|#define Py_nb_inplace_subtract 23
  ------------------
  |  Branch (769:9): [True: 0, False: 1.33k]
  ------------------
  770|      1|        case Py_nb_inplace_true_divide:
  ------------------
  |  |   32|      1|#define Py_nb_inplace_true_divide 24
  ------------------
  |  Branch (770:9): [True: 0, False: 1.33k]
  ------------------
  771|      1|        case Py_nb_inplace_xor:
  ------------------
  |  |   33|      1|#define Py_nb_inplace_xor 25
  ------------------
  |  Branch (771:9): [True: 0, False: 1.33k]
  ------------------
  772|      1|        case Py_nb_int:
  ------------------
  |  |   34|      1|#define Py_nb_int 26
  ------------------
  |  Branch (772:9): [True: 0, False: 1.33k]
  ------------------
  773|      1|        case Py_nb_invert:
  ------------------
  |  |   35|      1|#define Py_nb_invert 27
  ------------------
  |  Branch (773:9): [True: 0, False: 1.33k]
  ------------------
  774|      1|        case Py_nb_lshift:
  ------------------
  |  |   36|      1|#define Py_nb_lshift 28
  ------------------
  |  Branch (774:9): [True: 0, False: 1.33k]
  ------------------
  775|      1|        case Py_nb_multiply:
  ------------------
  |  |   37|      1|#define Py_nb_multiply 29
  ------------------
  |  Branch (775:9): [True: 0, False: 1.33k]
  ------------------
  776|      1|        case Py_nb_negative:
  ------------------
  |  |   38|      1|#define Py_nb_negative 30
  ------------------
  |  Branch (776:9): [True: 0, False: 1.33k]
  ------------------
  777|      6|        case Py_nb_or:
  ------------------
  |  |   39|      6|#define Py_nb_or 31
  ------------------
  |  Branch (777:9): [True: 5, False: 1.33k]
  ------------------
  778|      6|        case Py_nb_positive:
  ------------------
  |  |   40|      6|#define Py_nb_positive 32
  ------------------
  |  Branch (778:9): [True: 0, False: 1.33k]
  ------------------
  779|      6|        case Py_nb_power:
  ------------------
  |  |   41|      6|#define Py_nb_power 33
  ------------------
  |  Branch (779:9): [True: 0, False: 1.33k]
  ------------------
  780|      6|        case Py_nb_remainder:
  ------------------
  |  |   42|      6|#define Py_nb_remainder 34
  ------------------
  |  Branch (780:9): [True: 0, False: 1.33k]
  ------------------
  781|      6|        case Py_nb_rshift:
  ------------------
  |  |   43|      6|#define Py_nb_rshift 35
  ------------------
  |  Branch (781:9): [True: 0, False: 1.33k]
  ------------------
  782|      6|        case Py_nb_subtract:
  ------------------
  |  |   44|      6|#define Py_nb_subtract 36
  ------------------
  |  Branch (782:9): [True: 0, False: 1.33k]
  ------------------
  783|      6|        case Py_nb_true_divide:
  ------------------
  |  |   45|      6|#define Py_nb_true_divide 37
  ------------------
  |  Branch (783:9): [True: 0, False: 1.33k]
  ------------------
  784|      6|        case Py_nb_xor:
  ------------------
  |  |   46|      6|#define Py_nb_xor 38
  ------------------
  |  Branch (784:9): [True: 0, False: 1.33k]
  ------------------
  785|      7|        case Py_sq_ass_item:
  ------------------
  |  |   47|      7|#define Py_sq_ass_item 39
  ------------------
  |  Branch (785:9): [True: 1, False: 1.33k]
  ------------------
  786|      8|        case Py_sq_concat:
  ------------------
  |  |   48|      8|#define Py_sq_concat 40
  ------------------
  |  Branch (786:9): [True: 1, False: 1.33k]
  ------------------
  787|      9|        case Py_sq_contains:
  ------------------
  |  |   49|      9|#define Py_sq_contains 41
  ------------------
  |  Branch (787:9): [True: 1, False: 1.33k]
  ------------------
  788|     10|        case Py_sq_inplace_concat:
  ------------------
  |  |   50|     10|#define Py_sq_inplace_concat 42
  ------------------
  |  Branch (788:9): [True: 1, False: 1.33k]
  ------------------
  789|     11|        case Py_sq_inplace_repeat:
  ------------------
  |  |   51|     11|#define Py_sq_inplace_repeat 43
  ------------------
  |  Branch (789:9): [True: 1, False: 1.33k]
  ------------------
  790|     12|        case Py_sq_item:
  ------------------
  |  |   52|     12|#define Py_sq_item 44
  ------------------
  |  Branch (790:9): [True: 1, False: 1.33k]
  ------------------
  791|     13|        case Py_sq_length:
  ------------------
  |  |   53|     13|#define Py_sq_length 45
  ------------------
  |  Branch (791:9): [True: 1, False: 1.33k]
  ------------------
  792|     14|        case Py_sq_repeat:
  ------------------
  |  |   54|     14|#define Py_sq_repeat 46
  ------------------
  |  Branch (792:9): [True: 1, False: 1.33k]
  ------------------
  793|     35|        case Py_tp_alloc:
  ------------------
  |  |   55|     35|#define Py_tp_alloc 47
  ------------------
  |  Branch (793:9): [True: 21, False: 1.31k]
  ------------------
  794|     35|        case Py_tp_base:
  ------------------
  |  |   56|     35|#define Py_tp_base 48
  ------------------
  |  Branch (794:9): [True: 0, False: 1.33k]
  ------------------
  795|     35|        case Py_tp_bases:
  ------------------
  |  |   57|     35|#define Py_tp_bases 49
  ------------------
  |  Branch (795:9): [True: 0, False: 1.33k]
  ------------------
  796|     43|        case Py_tp_call:
  ------------------
  |  |   58|     43|#define Py_tp_call 50
  ------------------
  |  Branch (796:9): [True: 8, False: 1.33k]
  ------------------
  797|     98|        case Py_tp_clear:
  ------------------
  |  |   59|     98|#define Py_tp_clear 51
  ------------------
  |  Branch (797:9): [True: 55, False: 1.28k]
  ------------------
  798|    222|        case Py_tp_dealloc:
  ------------------
  |  |   60|    222|#define Py_tp_dealloc 52
  ------------------
  |  Branch (798:9): [True: 124, False: 1.21k]
  ------------------
  799|    222|        case Py_tp_del:
  ------------------
  |  |   61|    222|#define Py_tp_del 53
  ------------------
  |  Branch (799:9): [True: 0, False: 1.33k]
  ------------------
  800|    225|        case Py_tp_descr_get:
  ------------------
  |  |   62|    225|#define Py_tp_descr_get 54
  ------------------
  |  Branch (800:9): [True: 3, False: 1.33k]
  ------------------
  801|    226|        case Py_tp_descr_set:
  ------------------
  |  |   63|    226|#define Py_tp_descr_set 55
  ------------------
  |  Branch (801:9): [True: 1, False: 1.33k]
  ------------------
  802|    226|        case Py_tp_getattr:
  ------------------
  |  |   65|    226|#define Py_tp_getattr 57
  ------------------
  |  Branch (802:9): [True: 0, False: 1.33k]
  ------------------
  803|    266|        case Py_tp_getattro:
  ------------------
  |  |   66|    266|#define Py_tp_getattro 58
  ------------------
  |  Branch (803:9): [True: 40, False: 1.29k]
  ------------------
  804|    268|        case Py_tp_hash:
  ------------------
  |  |   67|    268|#define Py_tp_hash 59
  ------------------
  |  Branch (804:9): [True: 2, False: 1.33k]
  ------------------
  805|    293|        case Py_tp_init:
  ------------------
  |  |   68|    293|#define Py_tp_init 60
  ------------------
  |  Branch (805:9): [True: 25, False: 1.31k]
  ------------------
  806|    293|        case Py_tp_is_gc:
  ------------------
  |  |   69|    293|#define Py_tp_is_gc 61
  ------------------
  |  Branch (806:9): [True: 0, False: 1.33k]
  ------------------
  807|    327|        case Py_tp_iter:
  ------------------
  |  |   70|    327|#define Py_tp_iter 62
  ------------------
  |  Branch (807:9): [True: 34, False: 1.30k]
  ------------------
  808|    366|        case Py_tp_iternext:
  ------------------
  |  |   71|    366|#define Py_tp_iternext 63
  ------------------
  |  Branch (808:9): [True: 39, False: 1.30k]
  ------------------
  809|    463|        case Py_tp_methods:
  ------------------
  |  |   72|    463|#define Py_tp_methods 64
  ------------------
  |  Branch (809:9): [True: 97, False: 1.24k]
  ------------------
  810|    546|        case Py_tp_new:
  ------------------
  |  |   73|    546|#define Py_tp_new 65
  ------------------
  |  Branch (810:9): [True: 83, False: 1.25k]
  ------------------
  811|    610|        case Py_tp_repr:
  ------------------
  |  |   74|    610|#define Py_tp_repr 66
  ------------------
  |  Branch (811:9): [True: 64, False: 1.27k]
  ------------------
  812|    617|        case Py_tp_richcompare:
  ------------------
  |  |   75|    617|#define Py_tp_richcompare 67
  ------------------
  |  Branch (812:9): [True: 7, False: 1.33k]
  ------------------
  813|    617|        case Py_tp_setattr:
  ------------------
  |  |   76|    617|#define Py_tp_setattr 68
  ------------------
  |  Branch (813:9): [True: 0, False: 1.33k]
  ------------------
  814|    621|        case Py_tp_setattro:
  ------------------
  |  |   77|    621|#define Py_tp_setattro 69
  ------------------
  |  Branch (814:9): [True: 4, False: 1.33k]
  ------------------
  815|    622|        case Py_tp_str:
  ------------------
  |  |   78|    622|#define Py_tp_str 70
  ------------------
  |  Branch (815:9): [True: 1, False: 1.33k]
  ------------------
  816|    738|        case Py_tp_traverse:
  ------------------
  |  |   79|    738|#define Py_tp_traverse 71
  ------------------
  |  Branch (816:9): [True: 116, False: 1.22k]
  ------------------
  817|    786|        case Py_tp_getset:
  ------------------
  |  |   81|    786|#define Py_tp_getset 73
  ------------------
  |  Branch (817:9): [True: 48, False: 1.29k]
  ------------------
  818|    826|        case Py_tp_free:
  ------------------
  |  |   82|    826|#define Py_tp_free 74
  ------------------
  |  Branch (818:9): [True: 40, False: 1.29k]
  ------------------
  819|    826|        case Py_nb_matrix_multiply:
  ------------------
  |  |   83|    826|#define Py_nb_matrix_multiply 75
  ------------------
  |  Branch (819:9): [True: 0, False: 1.33k]
  ------------------
  820|    826|        case Py_nb_inplace_matrix_multiply:
  ------------------
  |  |   84|    826|#define Py_nb_inplace_matrix_multiply 76
  ------------------
  |  Branch (820:9): [True: 0, False: 1.33k]
  ------------------
  821|    826|        case Py_am_await:
  ------------------
  |  |   85|    826|#define Py_am_await 77
  ------------------
  |  Branch (821:9): [True: 0, False: 1.33k]
  ------------------
  822|    826|        case Py_am_aiter:
  ------------------
  |  |   86|    826|#define Py_am_aiter 78
  ------------------
  |  Branch (822:9): [True: 0, False: 1.33k]
  ------------------
  823|    826|        case Py_am_anext:
  ------------------
  |  |   87|    826|#define Py_am_anext 79
  ------------------
  |  Branch (823:9): [True: 0, False: 1.33k]
  ------------------
  824|    830|        case Py_tp_finalize:
  ------------------
  |  |   88|    830|#define Py_tp_finalize 80
  ------------------
  |  Branch (824:9): [True: 4, False: 1.33k]
  ------------------
  825|    830|        case Py_am_send:
  ------------------
  |  |   89|    830|#define Py_am_send 81
  ------------------
  |  Branch (825:9): [True: 0, False: 1.33k]
  ------------------
  826|    830|        case Py_tp_vectorcall:
  ------------------
  |  |   90|    830|#define Py_tp_vectorcall 82
  ------------------
  |  Branch (826:9): [True: 0, False: 1.33k]
  ------------------
  827|    831|        case Py_tp_token:
  ------------------
  |  |   91|    831|#define Py_tp_token 83
  ------------------
  |  Branch (827:9): [True: 1, False: 1.33k]
  ------------------
  828|    833|        case Py_bf_getbuffer:
  ------------------
  |  |   96|    833|#define Py_bf_getbuffer _Py_SLOT_COMPAT_VALUE(1, 88)
  |  |  ------------------
  |  |  |  |    7|    833|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (828:9): [True: 2, False: 1.33k]
  ------------------
  829|    835|        case Py_bf_releasebuffer:
  ------------------
  |  |   97|    835|#define Py_bf_releasebuffer _Py_SLOT_COMPAT_VALUE(2, 89)
  |  |  ------------------
  |  |  |  |    7|    835|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (829:9): [True: 2, False: 1.33k]
  ------------------
  830|    835|        case Py_mp_ass_subscript:
  ------------------
  |  |   98|    835|#define Py_mp_ass_subscript _Py_SLOT_COMPAT_VALUE(3, 90)
  |  |  ------------------
  |  |  |  |    7|    835|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (830:9): [True: 0, False: 1.33k]
  ------------------
  831|    835|        case Py_mp_length:
  ------------------
  |  |   99|    835|#define Py_mp_length _Py_SLOT_COMPAT_VALUE(4, 91)
  |  |  ------------------
  |  |  |  |    7|    835|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (831:9): [True: 0, False: 1.33k]
  ------------------
  832|    835|            return _PySlot_PROBLEM_DEPRECATED;
  833|     82|        case Py_mod_exec:
  ------------------
  |  |   93|     82|#define Py_mod_exec _Py_SLOT_COMPAT_VALUE(2, 85)
  |  |  ------------------
  |  |  |  |    7|     82|#define _Py_SLOT_COMPAT_VALUE(OLD, NEW) NEW
  |  |  ------------------
  ------------------
  |  Branch (833:9): [True: 82, False: 1.25k]
  ------------------
  834|    160|        case Py_mod_abi:
  ------------------
  |  |  117|    160|#define Py_mod_abi 109
  ------------------
  |  Branch (834:9): [True: 78, False: 1.26k]
  ------------------
  835|    160|            return _PySlot_PROBLEM_ALLOW;
  836|    344|        default:
  ------------------
  |  Branch (836:9): [True: 344, False: 995]
  ------------------
  837|    344|            return _PySlot_PROBLEM_REJECT;
  838|  1.33k|    }
  839|  1.33k|}

listobject.c:PyStackRef_AsPyObjectSteal:
  554|  1.07k|{
  555|  1.07k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 1.07k, False: 0]
  ------------------
  556|  1.07k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 1.07k, False: 0]
  ------------------
  557|  1.07k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 153, False: 923]
  ------------------
  558|    153|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|    153|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|    153|    }
  560|    923|    else {
  561|    923|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  550|    923|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    923|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    923|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|    923|    }
  563|  1.07k|}
listobject.c:PyStackRef_IsTaggedInt:
  440|  1.07k|{
  441|  1.07k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  1.07k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  1.07k|#define Py_INT_TAG 3
  ------------------
  442|  1.07k|}
listobject.c:PyStackRef_RefcountOnObject:
  534|  1.07k|{
  535|  1.07k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  1.07k|#define Py_TAG_REFCNT 1
  ------------------
  536|  1.07k|}
longobject.c:PyStackRef_FromPyObjectBorrow:
  627|  33.1M|{
  628|  33.1M|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 33.1M, False: 0]
  ------------------
  629|  33.1M|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|  33.1M|#define Py_TAG_REFCNT 1
  ------------------
  630|  33.1M|}
longobject.c:PyStackRef_FromPyObjectStealMortal:
  585|  1.52M|{
  586|  1.52M|    assert(obj != NULL);
  ------------------
  |  Branch (586:5): [True: 1.52M, False: 0]
  ------------------
  587|  1.52M|    assert(!_Py_IsImmortal(obj));
  ------------------
  |  Branch (587:5): [True: 1.52M, False: 0]
  ------------------
  588|  1.52M|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  589|  1.52M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  1.52M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  590|  1.52M|    return ref;
  591|  1.52M|}
dictobject.c:_PyStackRef_FromPyObjectNew:
  595|  35.5k|{
  596|  35.5k|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 35.5k, 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|  35.5k|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  35.5k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  35.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 3.22k, False: 32.3k]
  |  |  ------------------
  ------------------
  603|  3.22k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|  3.22k|#define Py_TAG_REFCNT 1
  ------------------
  604|  3.22k|    }
  605|  32.3k|#endif
  606|  32.3k|    _Py_INCREF_MORTAL(obj);
  607|  32.3k|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|  32.3k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  32.3k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|  32.3k|    return ref;
  610|  35.5k|}
dictobject.c:PyStackRef_RefcountOnObject:
  534|  5.37k|{
  535|  5.37k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  5.37k|#define Py_TAG_REFCNT 1
  ------------------
  536|  5.37k|}
dictobject.c:PyStackRef_AsPyObjectBorrow:
  540|  5.37k|{
  541|  5.37k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 5.37k, False: 0]
  ------------------
  542|  5.37k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  5.37k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  5.37k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  5.37k|}
dictobject.c:PyStackRef_IsTaggedInt:
  440|  5.37k|{
  441|  5.37k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  5.37k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  5.37k|#define Py_INT_TAG 3
  ------------------
  442|  5.37k|}
dictobject.c:PyStackRef_CLOSE:
  700|  5.37k|{
  701|  5.37k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (701:5): [True: 5.37k, False: 0]
  ------------------
  702|  5.37k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (702:9): [True: 5.37k, False: 0]
  ------------------
  703|  5.37k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  452|  5.37k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|  5.37k|    }
  705|  5.37k|}
object.c:PyStackRef_FromPyObjectSteal:
  567|  1.87M|{
  568|  1.87M|    assert(obj != NULL);
  ------------------
  |  Branch (568:5): [True: 1.87M, False: 0]
  ------------------
  569|       |#ifdef Py_GIL_DISABLED
  570|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  571|       |#else
  572|  1.87M|#  if SIZEOF_VOID_P > 4
  573|  1.87M|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|  1.87M|#define Py_TAG_REFCNT 1
  ------------------
  574|       |#  else
  575|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  576|       |#  endif
  577|  1.87M|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  578|  1.87M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  1.87M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  579|  1.87M|    return ref;
  580|  1.87M|#endif
  581|  1.87M|}
object.c:PyStackRef_AsPyObjectBorrow:
  540|  6.05M|{
  541|  6.05M|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 6.05M, False: 0]
  ------------------
  542|  6.05M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  6.05M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  6.05M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  6.05M|}
object.c:PyStackRef_XCLOSE:
  722|  5.66M|{
  723|  5.66M|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 5.66M, False: 0]
  ------------------
  724|  5.66M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 1.91M, False: 3.74M]
  ------------------
  725|  1.91M|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 1.91M, False: 0]
  ------------------
  726|  1.91M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  452|  1.91M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.91M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.91M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  1.91M|    }
  728|  5.66M|}
object.c:PyStackRef_RefcountOnObject:
  534|  5.70M|{
  535|  5.70M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  5.70M|#define Py_TAG_REFCNT 1
  ------------------
  536|  5.70M|}
object.c:_PyThreadState_PushCStackRef:
  787|  5.66M|{
  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|  5.66M|    ref->ref = PyStackRef_NULL;
  794|  5.66M|}
object.c:PyStackRef_AsPyObjectSteal:
  554|  41.1k|{
  555|  41.1k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 41.1k, False: 0]
  ------------------
  556|  41.1k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 41.1k, False: 0]
  ------------------
  557|  41.1k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 25, False: 41.1k]
  ------------------
  558|     25|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|     25|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|     25|    }
  560|  41.1k|    else {
  561|  41.1k|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  550|  41.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  41.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|  41.1k|    }
  563|  41.1k|}
object.c:_PyThreadState_PopCStackRef:
  805|  5.66M|{
  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|  5.66M|    PyStackRef_XCLOSE(ref->ref);
  812|  5.66M|}
object.c:PyStackRef_IsTaggedInt:
  440|  6.09M|{
  441|  6.09M|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  6.09M|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  6.09M|#define Py_INT_TAG 3
  ------------------
  442|  6.09M|}
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|   957k|{
  555|   957k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 957k, False: 0]
  ------------------
  556|   957k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 957k, False: 0]
  ------------------
  557|   957k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 12.7k, False: 945k]
  ------------------
  558|  12.7k|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|  12.7k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|  12.7k|    }
  560|   945k|    else {
  561|   945k|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  550|   945k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   945k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   945k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|   945k|    }
  563|   957k|}
tupleobject.c:PyStackRef_IsTaggedInt:
  440|   957k|{
  441|   957k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|   957k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|   957k|#define Py_INT_TAG 3
  ------------------
  442|   957k|}
tupleobject.c:PyStackRef_RefcountOnObject:
  534|   957k|{
  535|   957k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|   957k|#define Py_TAG_REFCNT 1
  ------------------
  536|   957k|}
typeobject.c:PyStackRef_AsPyObjectBorrow:
  540|   234k|{
  541|   234k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 234k, False: 0]
  ------------------
  542|   234k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|   234k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   234k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|   234k|}
typeobject.c:PyStackRef_IsTaggedInt:
  440|   287k|{
  441|   287k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|   287k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|   287k|#define Py_INT_TAG 3
  ------------------
  442|   287k|}
typeobject.c:PyStackRef_XCLOSE:
  722|   345k|{
  723|   345k|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 345k, False: 0]
  ------------------
  724|   345k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 231k, False: 114k]
  ------------------
  725|   231k|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 231k, False: 0]
  ------------------
  726|   231k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  452|   231k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   231k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   231k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|   231k|    }
  728|   345k|}
typeobject.c:PyStackRef_RefcountOnObject:
  534|   414k|{
  535|   414k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|   414k|#define Py_TAG_REFCNT 1
  ------------------
  536|   414k|}
typeobject.c:PyStackRef_FromPyObjectSteal:
  567|   100k|{
  568|   100k|    assert(obj != NULL);
  ------------------
  |  Branch (568:5): [True: 100k, False: 0]
  ------------------
  569|       |#ifdef Py_GIL_DISABLED
  570|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  571|       |#else
  572|   100k|#  if SIZEOF_VOID_P > 4
  573|   100k|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|   100k|#define Py_TAG_REFCNT 1
  ------------------
  574|       |#  else
  575|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  576|       |#  endif
  577|   100k|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  578|   100k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|   100k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  579|   100k|    return ref;
  580|   100k|#endif
  581|   100k|}
typeobject.c:PyStackRef_AsPyObjectSteal:
  554|  53.5k|{
  555|  53.5k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 53.5k, False: 0]
  ------------------
  556|  53.5k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 53.5k, False: 0]
  ------------------
  557|  53.5k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 53.4k, False: 54]
  ------------------
  558|  53.4k|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|  53.4k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|  53.4k|    }
  560|     54|    else {
  561|     54|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  550|     54|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|     54|    }
  563|  53.5k|}
typeobject.c:_PyThreadState_PushCStackRef:
  787|   443k|{
  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|   443k|    ref->ref = PyStackRef_NULL;
  794|   443k|}
typeobject.c:_PyStackRef_FromPyObjectNew:
  595|  86.2k|{
  596|  86.2k|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 86.2k, 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|  86.2k|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  86.2k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  86.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  86.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 8.29k, False: 77.9k]
  |  |  ------------------
  ------------------
  603|  8.29k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|  8.29k|#define Py_TAG_REFCNT 1
  ------------------
  604|  8.29k|    }
  605|  77.9k|#endif
  606|  77.9k|    _Py_INCREF_MORTAL(obj);
  607|  77.9k|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|  77.9k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  77.9k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|  77.9k|    return ref;
  610|  86.2k|}
typeobject.c:_PyThreadState_PopCStackRef:
  805|   341k|{
  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|   341k|    PyStackRef_XCLOSE(ref->ref);
  812|   341k|}
typeobject.c:_PyThreadState_PopCStackRefSteal:
  816|   102k|{
  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|   102k|    return ref->ref;
  823|   102k|}
typeobject.c:PyStackRef_CLOSE:
  700|  14.6k|{
  701|  14.6k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (701:5): [True: 14.6k, False: 0]
  ------------------
  702|  14.6k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (702:9): [True: 14.6k, False: 32]
  ------------------
  703|  14.6k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  452|  14.6k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|  14.6k|    }
  705|  14.6k|}
typeobject.c:_PyThreadState_PushCStackRefNew:
  798|  1.90k|{
  799|  1.90k|    _PyThreadState_PushCStackRef(tstate, ref);
  800|  1.90k|    ref->ref = PyStackRef_FromPyObjectNew(obj);
  ------------------
  |  |  611|  1.90k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  801|  1.90k|}
ceval.c:_PyThreadState_PushCStackRef:
  787|   101k|{
  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|   101k|    ref->ref = PyStackRef_NULL;
  794|   101k|}
ceval.c:PyStackRef_FromPyObjectBorrow:
  627|  43.4M|{
  628|  43.4M|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 43.4M, False: 0]
  ------------------
  629|  43.4M|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|  43.4M|#define Py_TAG_REFCNT 1
  ------------------
  630|  43.4M|}
ceval.c:PyStackRef_AsPyObjectBorrow:
  540|   848M|{
  541|   848M|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 848M, False: 0]
  ------------------
  542|   848M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|   848M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   848M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|   848M|}
ceval.c:PyStackRef_XCLOSE:
  722|   153M|{
  723|   153M|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 153M, False: 0]
  ------------------
  724|   153M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 56.1M, False: 97.1M]
  ------------------
  725|  56.1M|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 56.1M, False: 0]
  ------------------
  726|  56.1M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  452|  56.1M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  56.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  56.1M|    }
  728|   153M|}
ceval.c:PyStackRef_RefcountOnObject:
  534|   358M|{
  535|   358M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|   358M|#define Py_TAG_REFCNT 1
  ------------------
  536|   358M|}
ceval.c:PyStackRef_CLOSE:
  700|  35.9M|{
  701|  35.9M|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (701:5): [True: 35.9M, False: 0]
  ------------------
  702|  35.9M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (702:9): [True: 6.15M, False: 29.7M]
  ------------------
  703|  6.15M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  452|  6.15M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.15M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.15M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|  6.15M|    }
  705|  35.9M|}
ceval.c:_PyThreadState_PopCStackRefSteal:
  816|   101k|{
  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|   101k|    return ref->ref;
  823|   101k|}
ceval.c:PyStackRef_TYPE:
  748|  6.21k|PyStackRef_TYPE(_PyStackRef stackref) {
  749|  6.21k|    if (PyStackRef_IsTaggedInt(stackref)) {
  ------------------
  |  Branch (749:9): [True: 0, False: 6.21k]
  ------------------
  750|      0|        return &PyLong_Type;
  751|      0|    }
  752|  6.21k|    return Py_TYPE(PyStackRef_AsPyObjectBorrow(stackref));
  ------------------
  |  |  213|  6.21k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  753|  6.21k|}
ceval.c:PyStackRef_TagInt:
  446|  13.7M|{
  447|  13.7M|    assert(Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, (intptr_t)(((uintptr_t)i) << Py_TAGGED_SHIFT),
  ------------------
  |  Branch (447:5): [True: 13.7M, False: 0]
  ------------------
  448|  13.7M|                                     Py_TAGGED_SHIFT) == i);
  449|  13.7M|    return (_PyStackRef){ .bits = ((((uintptr_t)i) << Py_TAGGED_SHIFT) | Py_INT_TAG) };
  ------------------
  |  |   58|  13.7M|#define Py_TAGGED_SHIFT 2
  ------------------
                  return (_PyStackRef){ .bits = ((((uintptr_t)i) << Py_TAGGED_SHIFT) | Py_INT_TAG) };
  ------------------
  |  |   53|  13.7M|#define Py_INT_TAG 3
  ------------------
  450|  13.7M|}
ceval.c:PyStackRef_FromPyObjectSteal:
  567|  49.3M|{
  568|  49.3M|    assert(obj != NULL);
  ------------------
  |  Branch (568:5): [True: 49.3M, False: 0]
  ------------------
  569|       |#ifdef Py_GIL_DISABLED
  570|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  571|       |#else
  572|  49.3M|#  if SIZEOF_VOID_P > 4
  573|  49.3M|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|  49.3M|#define Py_TAG_REFCNT 1
  ------------------
  574|       |#  else
  575|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  576|       |#  endif
  577|  49.3M|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  578|  49.3M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  49.3M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  579|  49.3M|    return ref;
  580|  49.3M|#endif
  581|  49.3M|}
ceval.c:PyStackRef_CLOSE_SPECIALIZED:
  710|   162M|{
  711|   162M|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (711:5): [True: 162M, False: 0]
  ------------------
  712|   162M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (712:9): [True: 10.3M, False: 152M]
  ------------------
  713|  10.3M|        Py_DECREF_MORTAL_SPECIALIZED(BITS_TO_PTR(ref), destruct);
  ------------------
  |  |  463|  10.3M|#define Py_DECREF_MORTAL_SPECIALIZED(op, destruct) Py_DECREF_MORTAL_SPECIALIZED(_PyObject_CAST(op), destruct)
  |  |  ------------------
  |  |  |  |  171|  10.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  714|  10.3M|    }
  715|   162M|}
ceval.c:PyStackRef_IsHeapSafe:
  659|  6.72M|{
  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|  6.72M|    return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |   56|  6.72M|#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|  13.4M|#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|  5.21M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  ------------------
  |  |  |  |   55|  11.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));
  ------------------
  |  |  137|  11.9M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 4.69M, False: 525k]
  |  |  ------------------
  ------------------
  |  Branch (667:12): [True: 1.50M, False: 5.21M]
  |  Branch (667:57): [True: 1.14k, False: 5.21M]
  ------------------
  668|  6.72M|#endif
  669|  6.72M|}
ceval.c:PyStackRef_AsPyObjectSteal:
  554|  1.86M|{
  555|  1.86M|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (555:5): [True: 1.86M, False: 0]
  ------------------
  556|  1.86M|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (556:5): [True: 1.86M, False: 0]
  ------------------
  557|  1.86M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (557:9): [True: 668k, False: 1.19M]
  ------------------
  558|   668k|        return BITS_TO_PTR(ref);
  ------------------
  |  |  476|   668k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  559|   668k|    }
  560|  1.19M|    else {
  561|  1.19M|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  550|  1.19M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|  1.19M|    }
  563|  1.86M|}
ceval.c:_PyStackRef_FromPyObjectNew:
  595|  47.4M|{
  596|  47.4M|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 47.4M, 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|  47.4M|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  47.4M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  47.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 3.69M, False: 43.7M]
  |  |  ------------------
  ------------------
  603|  3.69M|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|  3.69M|#define Py_TAG_REFCNT 1
  ------------------
  604|  3.69M|    }
  605|  43.7M|#endif
  606|  43.7M|    _Py_INCREF_MORTAL(obj);
  607|  43.7M|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|  43.7M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  43.7M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|  43.7M|    return ref;
  610|  47.4M|}
ceval.c:PyStackRef_Wrap:
  398|  6.50M|{
  399|  6.50M|    assert(ptr != NULL);
  ------------------
  |  Branch (399:5): [True: 6.50M, 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|  6.50M|    return (_PyStackRef){ .bits = (uintptr_t)ptr };
  405|  6.50M|#endif
  406|  6.50M|}
ceval.c:PyStackRef_Unwrap:
  410|  6.50M|{
  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|  6.50M|    return (void *)(ref.bits);
  416|  6.50M|#endif
  417|  6.50M|}
ceval.c:PyStackRef_FromPyObjectStealMortal:
  585|   838k|{
  586|   838k|    assert(obj != NULL);
  ------------------
  |  Branch (586:5): [True: 838k, False: 0]
  ------------------
  587|   838k|    assert(!_Py_IsImmortal(obj));
  ------------------
  |  Branch (587:5): [True: 838k, False: 0]
  ------------------
  588|   838k|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  589|   838k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|   838k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  590|   838k|    return ref;
  591|   838k|}
ceval.c:PyStackRef_DUP:
  639|  2.51M|{
  640|  2.51M|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (640:5): [True: 2.51M, False: 0]
  ------------------
  641|  2.51M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (641:9): [True: 464k, False: 2.05M]
  ------------------
  642|   464k|        _Py_INCREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  476|   464k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  643|   464k|    }
  644|  2.51M|    return ref;
  645|  2.51M|}
ceval.c:_PyStackRef_CloseStack:
  873|  1.99M|{
  874|       |    // arguments is a pointer into the GC visible stack,
  875|       |    // so we must NULL out values as we clear them.
  876|  4.52M|    for (int i = total_args-1; i >= 0; i--) {
  ------------------
  |  Branch (876:32): [True: 2.53M, False: 1.99M]
  ------------------
  877|  2.53M|        _PyStackRef tmp = arguments[i];
  878|  2.53M|        arguments[i] = PyStackRef_NULL;
  879|  2.53M|        PyStackRef_CLOSE(tmp);
  880|  2.53M|    }
  881|  1.99M|}
ceval.c:PyStackRef_IsValid:
  433|   658k|{
  434|       |    /* Invalid values are ERROR and NULL */
  435|   658k|    return ref.bits >= Py_INT_TAG;
  ------------------
  |  |   53|   658k|#define Py_INT_TAG 3
  ------------------
  436|   658k|}
ceval.c:PyStackRef_IsError:
  421|  37.3k|{
  422|  37.3k|    return ref.bits == Py_TAG_INVALID;
  ------------------
  |  |   54|  37.3k|#define Py_TAG_INVALID 2
  ------------------
  423|  37.3k|}
ceval.c:PyStackRef_IsTaggedInt:
  440|   929M|{
  441|   929M|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|   929M|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|   929M|#define Py_INT_TAG 3
  ------------------
  442|   929M|}
ceval.c:PyStackRef_UntagInt:
  454|  14.1M|{
  455|  14.1M|    assert(PyStackRef_IsTaggedInt(i));
  ------------------
  |  Branch (455:5): [True: 14.1M, False: 0]
  ------------------
  456|  14.1M|    intptr_t val = (intptr_t)i.bits;
  457|  14.1M|    return Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, val, Py_TAGGED_SHIFT);
  ------------------
  |  |  226|  14.1M|#define Py_ARITHMETIC_RIGHT_SHIFT(TYPE, I, J) ((I) >> (J))
  ------------------
  458|  14.1M|}
ceval.c:PyStackRef_IncrementTaggedIntNoOverflow:
  463|   222k|{
  464|   222k|    assert((ref.bits & Py_TAG_BITS) == Py_INT_TAG); // Is tagged int
  ------------------
  |  Branch (464:5): [True: 222k, False: 0]
  ------------------
  465|   222k|    assert((ref.bits & (~Py_TAG_BITS)) != (INTPTR_MAX & (~Py_TAG_BITS))); // Isn't about to overflow
  ------------------
  |  Branch (465:5): [True: 222k, False: 0]
  ------------------
  466|   222k|    return (_PyStackRef){ .bits = ref.bits + (1 << Py_TAGGED_SHIFT) };
  ------------------
  |  |   58|   222k|#define Py_TAGGED_SHIFT 2
  ------------------
  467|   222k|}
ceval.c:PyStackRef_MakeHeapSafe:
  673|  6.72M|{
  674|  6.72M|    if (PyStackRef_IsHeapSafe(ref)) {
  ------------------
  |  Branch (674:9): [True: 6.19M, False: 525k]
  ------------------
  675|  6.19M|        return ref;
  676|  6.19M|    }
  677|   525k|    PyObject *obj = BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|   525k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   525k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  678|   525k|    Py_INCREF(obj);
  ------------------
  |  |  310|   525k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   525k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   525k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  679|   525k|    ref.bits = (uintptr_t)obj;
  680|   525k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|   525k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  681|   525k|    return ref;
  682|  6.72M|}
ceval.c:PyStackRef_DupImmortal:
  650|  2.26M|{
  651|  2.26M|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (651:5): [True: 2.26M, False: 0]
  ------------------
  652|  2.26M|    assert(!PyStackRef_RefcountOnObject(ref));
  ------------------
  |  Branch (652:5): [True: 2.26M, False: 0]
  ------------------
  653|  2.26M|    assert(_Py_IsImmortal(BITS_TO_PTR_MASKED(ref)));
  ------------------
  |  Branch (653:5): [True: 2.26M, False: 0]
  ------------------
  654|  2.26M|    return ref;
  655|  2.26M|}
ceval.c:PyStackRef_Borrow:
  547|   189M|{
  548|   189M|    return (_PyStackRef){ .bits = ref.bits | Py_TAG_REFCNT };
  ------------------
  |  |   55|   189M|#define Py_TAG_REFCNT 1
  ------------------
  549|   189M|}
flowgraph.c:PyStackRef_AsPyObjectBorrow:
  540|  46.3k|{
  541|  46.3k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 46.3k, False: 0]
  ------------------
  542|  46.3k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  46.3k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  46.3k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  46.3k|}
flowgraph.c:PyStackRef_IsTaggedInt:
  440|  46.3k|{
  441|  46.3k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  46.3k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  46.3k|#define Py_INT_TAG 3
  ------------------
  442|  46.3k|}
frame.c:PyStackRef_IsTaggedInt:
  440|  53.6k|{
  441|  53.6k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  53.6k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  53.6k|#define Py_INT_TAG 3
  ------------------
  442|  53.6k|}
frame.c:PyStackRef_XCLOSE:
  722|  27.1M|{
  723|  27.1M|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 27.1M, False: 0]
  ------------------
  724|  27.1M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 10.0M, False: 17.0M]
  ------------------
  725|  10.0M|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 10.0M, False: 0]
  ------------------
  726|  10.0M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  452|  10.0M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  10.0M|    }
  728|  27.1M|}
frame.c:PyStackRef_RefcountOnObject:
  534|  27.1M|{
  535|  27.1M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  27.1M|#define Py_TAG_REFCNT 1
  ------------------
  536|  27.1M|}
frame.c:PyStackRef_MakeHeapSafe:
  673|  41.0k|{
  674|  41.0k|    if (PyStackRef_IsHeapSafe(ref)) {
  ------------------
  |  Branch (674:9): [True: 39.0k, False: 2.06k]
  ------------------
  675|  39.0k|        return ref;
  676|  39.0k|    }
  677|  2.06k|    PyObject *obj = BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  2.06k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  2.06k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  678|  2.06k|    Py_INCREF(obj);
  ------------------
  |  |  310|  2.06k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  679|  2.06k|    ref.bits = (uintptr_t)obj;
  680|  2.06k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  2.06k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  681|  2.06k|    return ref;
  682|  41.0k|}
frame.c:PyStackRef_IsHeapSafe:
  659|  41.0k|{
  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|  41.0k|    return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |   56|  41.0k|#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|  82.1k|#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|  19.5k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  ------------------
  |  |  |  |   55|  60.5k|#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|  54.2k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 11.0k, False: 2.06k]
  |  |  ------------------
  ------------------
  |  Branch (667:12): [True: 21.5k, False: 19.5k]
  |  Branch (667:57): [True: 6.36k, False: 13.1k]
  ------------------
  668|  41.0k|#endif
  669|  41.0k|}
frame.c:PyStackRef_DUP:
  639|  4.42k|{
  640|  4.42k|    assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (640:5): [True: 4.42k, False: 0]
  ------------------
  641|  4.42k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (641:9): [True: 4.42k, False: 0]
  ------------------
  642|  4.42k|        _Py_INCREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  476|  4.42k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  643|  4.42k|    }
  644|  4.42k|    return ref;
  645|  4.42k|}
frame.c:PyStackRef_AsPyObjectBorrow:
  540|  53.5k|{
  541|  53.5k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 53.5k, False: 0]
  ------------------
  542|  53.5k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  53.5k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  53.5k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  53.5k|}
gc.c:PyStackRef_IsTaggedInt:
  440|    306|{
  441|    306|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|    306|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|    306|#define Py_INT_TAG 3
  ------------------
  442|    306|}
gc.c:PyStackRef_RefcountOnObject:
  534|     70|{
  535|     70|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|     70|#define Py_TAG_REFCNT 1
  ------------------
  536|     70|}
gc.c:PyStackRef_AsPyObjectBorrow:
  540|    128|{
  541|    128|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 128, False: 0]
  ------------------
  542|    128|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|    128|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    128|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|    128|}
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|}
specialize.c:PyStackRef_AsPyObjectBorrow:
  540|   362k|{
  541|   362k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 362k, False: 0]
  ------------------
  542|   362k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|   362k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   362k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|   362k|}
specialize.c:PyStackRef_IsTaggedInt:
  440|   362k|{
  441|   362k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|   362k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|   362k|#define Py_INT_TAG 3
  ------------------
  442|   362k|}
specialize.c:PyStackRef_TYPE:
  748|    131|PyStackRef_TYPE(_PyStackRef stackref) {
  749|    131|    if (PyStackRef_IsTaggedInt(stackref)) {
  ------------------
  |  Branch (749:9): [True: 0, False: 131]
  ------------------
  750|      0|        return &PyLong_Type;
  751|      0|    }
  752|    131|    return Py_TYPE(PyStackRef_AsPyObjectBorrow(stackref));
  ------------------
  |  |  213|    131|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    131|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    131|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  753|    131|}
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|  43.1k|{
  541|  43.1k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 43.1k, False: 0]
  ------------------
  542|  43.1k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  43.1k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  43.1k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  43.1k|}
traceback.c:PyStackRef_IsTaggedInt:
  440|  43.1k|{
  441|  43.1k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  43.1k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  43.1k|#define Py_INT_TAG 3
  ------------------
  442|  43.1k|}
typecache.c:_PyStackRef_FromPyObjectNew:
  595|  3.29M|{
  596|  3.29M|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 3.29M, 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|  3.29M|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  3.29M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.29M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.29M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 978k, False: 2.31M]
  |  |  ------------------
  ------------------
  603|   978k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|   978k|#define Py_TAG_REFCNT 1
  ------------------
  604|   978k|    }
  605|  2.31M|#endif
  606|  2.31M|    _Py_INCREF_MORTAL(obj);
  607|  2.31M|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  608|  2.31M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  522|  2.31M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  609|  2.31M|    return ref;
  610|  3.29M|}
call.c:_PyThreadState_PushCStackRef:
  787|   294k|{
  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|   294k|    ref->ref = PyStackRef_NULL;
  794|   294k|}
call.c:PyStackRef_FromPyObjectBorrow:
  627|   147k|{
  628|   147k|    assert(obj != NULL);
  ------------------
  |  Branch (628:5): [True: 147k, False: 0]
  ------------------
  629|   147k|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|   147k|#define Py_TAG_REFCNT 1
  ------------------
  630|   147k|}
call.c:_PyThreadState_PopCStackRef:
  805|   294k|{
  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|   294k|    PyStackRef_XCLOSE(ref->ref);
  812|   294k|}
call.c:PyStackRef_XCLOSE:
  722|   294k|{
  723|   294k|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 294k, False: 0]
  ------------------
  724|   294k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 147k, False: 147k]
  ------------------
  725|   147k|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 147k, False: 0]
  ------------------
  726|   147k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  452|   147k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   147k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   147k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|   147k|    }
  728|   294k|}
call.c:PyStackRef_RefcountOnObject:
  534|   294k|{
  535|   294k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|   294k|#define Py_TAG_REFCNT 1
  ------------------
  536|   294k|}
call.c:PyStackRef_AsPyObjectBorrow:
  540|   294k|{
  541|   294k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 294k, False: 0]
  ------------------
  542|   294k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|   294k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   294k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|   294k|}
call.c:PyStackRef_IsTaggedInt:
  440|   294k|{
  441|   294k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|   294k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|   294k|#define Py_INT_TAG 3
  ------------------
  442|   294k|}
genobject.c:PyStackRef_XCLOSE:
  722|  1.26k|{
  723|  1.26k|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 1.26k, False: 0]
  ------------------
  724|  1.26k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 1.26k, False: 0]
  ------------------
  725|  1.26k|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 1.26k, False: 0]
  ------------------
  726|  1.26k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  452|  1.26k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  1.26k|    }
  728|  1.26k|}
genobject.c:PyStackRef_RefcountOnObject:
  534|  1.26k|{
  535|  1.26k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  1.26k|#define Py_TAG_REFCNT 1
  ------------------
  536|  1.26k|}
genobject.c:_PyStackRef_FromPyObjectNew:
  595|  71.3k|{
  596|  71.3k|    assert(obj != NULL);
  ------------------
  |  Branch (596:5): [True: 71.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|  71.3k|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  71.3k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  71.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  71.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 71.3k, False: 0]
  |  |  ------------------
  ------------------
  603|  71.3k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|  71.3k|#define Py_TAG_REFCNT 1
  ------------------
  604|  71.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|  71.3k|}
genobject.c:PyStackRef_IsTaggedInt:
  440|     20|{
  441|     20|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|     20|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|     20|#define Py_INT_TAG 3
  ------------------
  442|     20|}
genobject.c:PyStackRef_AsPyObjectBorrow:
  540|     20|{
  541|     20|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 20, False: 0]
  ------------------
  542|     20|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|     20|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|     20|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|     20|}
frameobject.c:PyStackRef_AsPyObjectBorrow:
  540|  1.14k|{
  541|  1.14k|    assert(!PyStackRef_IsTaggedInt(ref));
  ------------------
  |  Branch (541:5): [True: 1.14k, False: 0]
  ------------------
  542|  1.14k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  477|  1.14k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  1.14k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  543|  1.14k|}
frameobject.c:PyStackRef_IsTaggedInt:
  440|  1.14k|{
  441|  1.14k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  1.14k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  1.14k|#define Py_INT_TAG 3
  ------------------
  442|  1.14k|}
frameobject.c:PyStackRef_RefcountOnObject:
  534|  41.0k|{
  535|  41.0k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  41.0k|#define Py_TAG_REFCNT 1
  ------------------
  536|  41.0k|}
frameobject.c:PyStackRef_XCLOSE:
  722|  41.0k|{
  723|  41.0k|    assert(ref.bits != 0);
  ------------------
  |  Branch (723:5): [True: 41.0k, False: 0]
  ------------------
  724|  41.0k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (724:9): [True: 23.6k, False: 17.4k]
  ------------------
  725|  23.6k|        assert(!PyStackRef_IsNull(ref));
  ------------------
  |  Branch (725:9): [True: 23.6k, False: 0]
  ------------------
  726|  23.6k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  452|  23.6k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  23.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  23.6k|    }
  728|  41.0k|}
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|}

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|}
floatobject.c:_PyStructSequence_InitBuiltin:
   29|      2|{
   30|      2|    return _PyStructSequence_InitBuiltinWithFlags(interp, type, desc, 0);
   31|      2|}

dictobject.c:_PyTuple_Recycle:
   53|    315|{
   54|    315|    _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   44|    315|    do {                                    \
  |  |   45|    315|        assert(op != NULL);                 \
  |  |   46|    630|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|    315|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    315|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|    630|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 315]
  |  |  ------------------
  ------------------
  |  Branch (54:5): [True: 315, False: 0]
  |  Branch (54:5): [True: 315, False: 0]
  ------------------
   55|    315|    if (!_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|    315|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    315|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (55:9): [True: 92, False: 223]
  ------------------
   56|     92|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  505|     92|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|     92|    }
   58|    315|}
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);
  ------------------
  |  |  505|      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|   620k|{
   54|   620k|    _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   44|   620k|    do {                                    \
  |  |   45|   620k|        assert(op != NULL);                 \
  |  |   46|  1.24M|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|   620k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   620k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|  1.24M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 620k]
  |  |  ------------------
  ------------------
  |  Branch (54:5): [True: 620k, False: 0]
  |  Branch (54:5): [True: 620k, False: 0]
  ------------------
   55|   620k|    if (!_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|   620k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|   620k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (55:9): [True: 37.4k, False: 583k]
  ------------------
   56|  37.4k|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  505|  37.4k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  37.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|  37.4k|    }
   58|   620k|}

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

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

unicodeobject.c:_PyUnicode_InitStaticStrings:
   13|      2|_PyUnicode_InitStaticStrings(PyInterpreterState *interp) {
   14|      2|    PyObject *string;
   15|      2|    string = &_Py_ID(AGEN_CLOSED);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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__);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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_);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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_);
  ------------------
  |  |  921|      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_);
  ------------------
  |  |  921|      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_);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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_);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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_);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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(_find_and_load_lazy_submodule);
  ------------------
  |  |  921|      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(_fix_up_module);
  ------------------
  |  |  921|      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(_flags_);
  ------------------
  |  |  921|      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(_get_sourcefile);
  ------------------
  |  |  921|      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(_handle_fromlist);
  ------------------
  |  |  921|      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(_initializing);
  ------------------
  |  |  921|      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(_internal_use);
  ------------------
  |  |  921|      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(_io);
  ------------------
  |  |  921|      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(_is_text_encoding);
  ------------------
  |  |  921|      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(_isatty_open_only);
  ------------------
  |  |  921|      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(_length_);
  ------------------
  |  |  921|      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(_limbo);
  ------------------
  |  |  921|      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(_lock_unlock_module);
  ------------------
  |  |  921|      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(_loop);
  ------------------
  |  |  921|      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(_needs_com_addref_);
  ------------------
  |  |  921|      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(_only_immortal);
  ------------------
  |  |  921|      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(_restype_);
  ------------------
  |  |  921|      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(_showwarnmsg);
  ------------------
  |  |  921|      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(_shutdown);
  ------------------
  |  |  921|      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(_slotnames);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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_date);
  ------------------
  |  |  921|      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_datetime);
  ------------------
  |  |  921|      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(_strptime_datetime_time);
  ------------------
  |  |  921|      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(_type_);
  ------------------
  |  |  921|      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(_uninitialized_submodules);
  ------------------
  |  |  921|      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(_warn_unawaited_coroutine);
  ------------------
  |  |  921|      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(_xoptions);
  ------------------
  |  |  921|      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(abs_tol);
  ------------------
  |  |  921|      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(access);
  ------------------
  |  |  921|      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(aclose);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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(add_done_callback);
  ------------------
  |  |  921|      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(adobe);
  ------------------
  |  |  921|      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_child);
  ------------------
  |  |  921|      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(after_in_parent);
  ------------------
  |  |  921|      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(alias);
  ------------------
  |  |  921|      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(align);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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_interpreters);
  ------------------
  |  |  921|      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(all_threads);
  ------------------
  |  |  921|      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(allow_code);
  ------------------
  |  |  921|      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(alphabet);
  ------------------
  |  |  921|      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(any);
  ------------------
  |  |  921|      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(append);
  ------------------
  |  |  921|      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(arg);
  ------------------
  |  |  921|      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(argdefs);
  ------------------
  |  |  921|      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(args);
  ------------------
  |  |  921|      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(arguments);
  ------------------
  |  |  921|      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(argv);
  ------------------
  |  |  921|      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(as_integer_ratio);
  ------------------
  |  |  921|      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(asend);
  ------------------
  |  |  921|      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(ast);
  ------------------
  |  |  921|      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(athrow);
  ------------------
  |  |  921|      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(attr);
  ------------------
  |  |  921|      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(attribute);
  ------------------
  |  |  921|      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(autocommit);
  ------------------
  |  |  921|      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(backtick);
  ------------------
  |  |  921|      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(base);
  ------------------
  |  |  921|      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(before);
  ------------------
  |  |  921|      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(big);
  ------------------
  |  |  921|      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(binary_form);
  ------------------
  |  |  921|      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_offset);
  ------------------
  |  |  921|      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(bit_size);
  ------------------
  |  |  921|      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(block);
  ------------------
  |  |  921|      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(blocking);
  ------------------
  |  |  921|      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(bound);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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_callback);
  ------------------
  |  |  921|      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(buffer_size);
  ------------------
  |  |  921|      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(buffering);
  ------------------
  |  |  921|      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(buffers);
  ------------------
  |  |  921|      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(bufsize);
  ------------------
  |  |  921|      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(builtins);
  ------------------
  |  |  921|      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_offset);
  ------------------
  |  |  921|      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(byte_size);
  ------------------
  |  |  921|      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(byteorder);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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(bytes_per_sep);
  ------------------
  |  |  921|      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_call);
  ------------------
  |  |  921|      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_exception);
  ------------------
  |  |  921|      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_parameter_type);
  ------------------
  |  |  921|      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_return);
  ------------------
  |  |  921|      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(c_stack);
  ------------------
  |  |  921|      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(cache_frames);
  ------------------
  |  |  921|      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_datetime_module);
  ------------------
  |  |  921|      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(cached_statements);
  ------------------
  |  |  921|      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(cadata);
  ------------------
  |  |  921|      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(cafile);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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_exception_handler);
  ------------------
  |  |  921|      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(call_soon);
  ------------------
  |  |  921|      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(callable);
  ------------------
  |  |  921|      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(callback);
  ------------------
  |  |  921|      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(cancel);
  ------------------
  |  |  921|      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(canonical);
  ------------------
  |  |  921|      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(capath);
  ------------------
  |  |  921|      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(capitals);
  ------------------
  |  |  921|      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(category);
  ------------------
  |  |  921|      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(cb_type);
  ------------------
  |  |  921|      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(certfile);
  ------------------
  |  |  921|      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(chain);
  ------------------
  |  |  921|      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(check_same_thread);
  ------------------
  |  |  921|      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(clamp);
  ------------------
  |  |  921|      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(clear);
  ------------------
  |  |  921|      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(close);
  ------------------
  |  |  921|      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(closed);
  ------------------
  |  |  921|      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(closefd);
  ------------------
  |  |  921|      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(closure);
  ------------------
  |  |  921|      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_argcount);
  ------------------
  |  |  921|      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_cellvars);
  ------------------
  |  |  921|      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_code);
  ------------------
  |  |  921|      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_consts);
  ------------------
  |  |  921|      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_exceptiontable);
  ------------------
  |  |  921|      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_filename);
  ------------------
  |  |  921|      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_firstlineno);
  ------------------
  |  |  921|      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_flags);
  ------------------
  |  |  921|      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_freevars);
  ------------------
  |  |  921|      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_kwonlyargcount);
  ------------------
  |  |  921|      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_linetable);
  ------------------
  |  |  921|      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_name);
  ------------------
  |  |  921|      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_names);
  ------------------
  |  |  921|      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_nlocals);
  ------------------
  |  |  921|      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_posonlyargcount);
  ------------------
  |  |  921|      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_qualname);
  ------------------
  |  |  921|      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_stacksize);
  ------------------
  |  |  921|      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(co_varnames);
  ------------------
  |  |  921|      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(code);
  ------------------
  |  |  921|      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(col_offset);
  ------------------
  |  |  921|      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(collector);
  ------------------
  |  |  921|      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(command);
  ------------------
  |  |  921|      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(comment_factory);
  ------------------
  |  |  921|      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(compile_mode);
  ------------------
  |  |  921|      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(compression);
  ------------------
  |  |  921|      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(config);
  ------------------
  |  |  921|      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(consts);
  ------------------
  |  |  921|      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(context);
  ------------------
  |  |  921|      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(contravariant);
  ------------------
  |  |  921|      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(conversion);
  ------------------
  |  |  921|      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(cookie);
  ------------------
  |  |  921|      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(copy);
  ------------------
  |  |  921|      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(copyreg);
  ------------------
  |  |  921|      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(coro);
  ------------------
  |  |  921|      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(count);
  ------------------
  |  |  921|      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(covariant);
  ------------------
  |  |  921|      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(ctx);
  ------------------
  |  |  921|      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(cwd);
  ------------------
  |  |  921|      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(d_parameter_type);
  ------------------
  |  |  921|      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(data);
  ------------------
  |  |  921|      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(database);
  ------------------
  |  |  921|      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(date);
  ------------------
  |  |  921|      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(day);
  ------------------
  |  |  921|      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(days);
  ------------------
  |  |  921|      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(debug);
  ------------------
  |  |  921|      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(decode);
  ------------------
  |  |  921|      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(decoder);
  ------------------
  |  |  921|      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(default);
  ------------------
  |  |  921|      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(defaultaction);
  ------------------
  |  |  921|      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(delete);
  ------------------
  |  |  921|      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(depth);
  ------------------
  |  |  921|      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(desired_access);
  ------------------
  |  |  921|      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(detect_types);
  ------------------
  |  |  921|      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(deterministic);
  ------------------
  |  |  921|      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(device);
  ------------------
  |  |  921|      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(dict);
  ------------------
  |  |  921|      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(difference_update);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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(digest_size);
  ------------------
  |  |  921|      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(digestmod);
  ------------------
  |  |  921|      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(dir_fd);
  ------------------
  |  |  921|      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(discard);
  ------------------
  |  |  921|      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(dispatch_table);
  ------------------
  |  |  921|      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(displayhook);
  ------------------
  |  |  921|      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(dklen);
  ------------------
  |  |  921|      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(doc);
  ------------------
  |  |  921|      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(done);
  ------------------
  |  |  921|      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(dont_inherit);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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(dst_dir_fd);
  ------------------
  |  |  921|      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(eager_start);
  ------------------
  |  |  921|      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(effective_ids);
  ------------------
  |  |  921|      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(element_factory);
  ------------------
  |  |  921|      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(emptyerror);
  ------------------
  |  |  921|      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(encode);
  ------------------
  |  |  921|      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(encoding);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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_col_offset);
  ------------------
  |  |  921|      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_lineno);
  ------------------
  |  |  921|      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(end_offset);
  ------------------
  |  |  921|      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(endpos);
  ------------------
  |  |  921|      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(entrypoint);
  ------------------
  |  |  921|      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(env);
  ------------------
  |  |  921|      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(errors);
  ------------------
  |  |  921|      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(event);
  ------------------
  |  |  921|      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(eventmask);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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_tb);
  ------------------
  |  |  921|      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_type);
  ------------------
  |  |  921|      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_val);
  ------------------
  |  |  921|      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(exc_value);
  ------------------
  |  |  921|      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(excepthook);
  ------------------
  |  |  921|      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(exception);
  ------------------
  |  |  921|      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(existing_file_name);
  ------------------
  |  |  921|      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(exit);
  ------------------
  |  |  921|      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(exp);
  ------------------
  |  |  921|      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(expression);
  ------------------
  |  |  921|      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(extend);
  ------------------
  |  |  921|      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(extra_tokens);
  ------------------
  |  |  921|      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(facility);
  ------------------
  |  |  921|      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(factory);
  ------------------
  |  |  921|      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(fallback);
  ------------------
  |  |  921|      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(false);
  ------------------
  |  |  921|      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(family);
  ------------------
  |  |  921|      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(fanout);
  ------------------
  |  |  921|      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(fd);
  ------------------
  |  |  921|      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(fd2);
  ------------------
  |  |  921|      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(fdel);
  ------------------
  |  |  921|      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(fget);
  ------------------
  |  |  921|      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(fields);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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(file_actions);
  ------------------
  |  |  921|      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(filename);
  ------------------
  |  |  921|      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(fileno);
  ------------------
  |  |  921|      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(filepath);
  ------------------
  |  |  921|      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(fillvalue);
  ------------------
  |  |  921|      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(filter);
  ------------------
  |  |  921|      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(filters);
  ------------------
  |  |  921|      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(final);
  ------------------
  |  |  921|      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(find_class);
  ------------------
  |  |  921|      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(fix_imports);
  ------------------
  |  |  921|      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(flags);
  ------------------
  |  |  921|      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(flush);
  ------------------
  |  |  921|      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(fold);
  ------------------
  |  |  921|      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(foldspaces);
  ------------------
  |  |  921|      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(follow_symlinks);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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(format_spec);
  ------------------
  |  |  921|      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(frame_buffer);
  ------------------
  |  |  921|      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(free_threaded);
  ------------------
  |  |  921|      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(from_param);
  ------------------
  |  |  921|      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(fromlist);
  ------------------
  |  |  921|      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(fromtimestamp);
  ------------------
  |  |  921|      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(fromutc);
  ------------------
  |  |  921|      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(fset);
  ------------------
  |  |  921|      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(fullerror);
  ------------------
  |  |  921|      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(func);
  ------------------
  |  |  921|      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(future);
  ------------------
  |  |  921|      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(gc);
  ------------------
  |  |  921|      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(generation);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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_debug);
  ------------------
  |  |  921|      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_loop);
  ------------------
  |  |  921|      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(get_source);
  ------------------
  |  |  921|      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(getattr);
  ------------------
  |  |  921|      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(getstate);
  ------------------
  |  |  921|      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(gid);
  ------------------
  |  |  921|      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(globals);
  ------------------
  |  |  921|      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(groupindex);
  ------------------
  |  |  921|      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(groups);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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(handle_seq);
  ------------------
  |  |  921|      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(has_location);
  ------------------
  |  |  921|      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(hash_name);
  ------------------
  |  |  921|      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(header);
  ------------------
  |  |  921|      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(headers);
  ------------------
  |  |  921|      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(hi);
  ------------------
  |  |  921|      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(hook);
  ------------------
  |  |  921|      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(hour);
  ------------------
  |  |  921|      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(hours);
  ------------------
  |  |  921|      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(id);
  ------------------
  |  |  921|      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(ident);
  ------------------
  |  |  921|      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(identity_hint);
  ------------------
  |  |  921|      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(ignore);
  ------------------
  |  |  921|      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(ignorechars);
  ------------------
  |  |  921|      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(imag);
  ------------------
  |  |  921|      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(implieslink);
  ------------------
  |  |  921|      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(importlib);
  ------------------
  |  |  921|      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(in_fd);
  ------------------
  |  |  921|      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(include_aliases);
  ------------------
  |  |  921|      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(incoming);
  ------------------
  |  |  921|      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(index);
  ------------------
  |  |  921|      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(indexgroup);
  ------------------
  |  |  921|      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(inf);
  ------------------
  |  |  921|      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(infer_variance);
  ------------------
  |  |  921|      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(inherit_handle);
  ------------------
  |  |  921|      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(inheritable);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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_bytes);
  ------------------
  |  |  921|      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_owner);
  ------------------
  |  |  921|      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_state);
  ------------------
  |  |  921|      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(initial_value);
  ------------------
  |  |  921|      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(initval);
  ------------------
  |  |  921|      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(inner_size);
  ------------------
  |  |  921|      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(input);
  ------------------
  |  |  921|      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_comments);
  ------------------
  |  |  921|      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(insert_pis);
  ------------------
  |  |  921|      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(instructions);
  ------------------
  |  |  921|      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(intern);
  ------------------
  |  |  921|      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(intersection);
  ------------------
  |  |  921|      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(interval);
  ------------------
  |  |  921|      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(io);
  ------------------
  |  |  921|      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_compress);
  ------------------
  |  |  921|      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_raw);
  ------------------
  |  |  921|      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_running);
  ------------------
  |  |  921|      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(is_struct);
  ------------------
  |  |  921|      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(isatty);
  ------------------
  |  |  921|      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(isinstance);
  ------------------
  |  |  921|      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(isoformat);
  ------------------
  |  |  921|      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(isolation_level);
  ------------------
  |  |  921|      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(istext);
  ------------------
  |  |  921|      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(item);
  ------------------
  |  |  921|      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(items);
  ------------------
  |  |  921|      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(iter);
  ------------------
  |  |  921|      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(iterable);
  ------------------
  |  |  921|      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(iterations);
  ------------------
  |  |  921|      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(join);
  ------------------
  |  |  921|      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(jump);
  ------------------
  |  |  921|      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(keepends);
  ------------------
  |  |  921|      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(key);
  ------------------
  |  |  921|      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(keyfile);
  ------------------
  |  |  921|      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(keys);
  ------------------
  |  |  921|      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(kind);
  ------------------
  |  |  921|      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(kw);
  ------------------
  |  |  921|      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(kw1);
  ------------------
  |  |  921|      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(kw2);
  ------------------
  |  |  921|      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(kwargs);
  ------------------
  |  |  921|      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(kwdefaults);
  ------------------
  |  |  921|      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(label);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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_exc);
  ------------------
  |  |  921|      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_node);
  ------------------
  |  |  921|      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_traceback);
  ------------------
  |  |  921|      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_type);
  ------------------
  |  |  921|      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(last_value);
  ------------------
  |  |  921|      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(latin1);
  ------------------
  |  |  921|      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(leaf_size);
  ------------------
  |  |  921|      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(legacy);
  ------------------
  |  |  921|      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(len);
  ------------------
  |  |  921|      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(length);
  ------------------
  |  |  921|      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(level);
  ------------------
  |  |  921|      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(limit);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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(line_buffering);
  ------------------
  |  |  921|      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(lineno);
  ------------------
  |  |  921|      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(little);
  ------------------
  |  |  921|      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(lo);
  ------------------
  |  |  921|      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(locale);
  ------------------
  |  |  921|      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(locals);
  ------------------
  |  |  921|      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(logoption);
  ------------------
  |  |  921|      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(loop);
  ------------------
  |  |  921|      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(manual_reset);
  ------------------
  |  |  921|      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(mapping);
  ------------------
  |  |  921|      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(mask);
  ------------------
  |  |  921|      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(match);
  ------------------
  |  |  921|      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_length);
  ------------------
  |  |  921|      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(max_threads);
  ------------------
  |  |  921|      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(maxdigits);
  ------------------
  |  |  921|      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(maxevents);
  ------------------
  |  |  921|      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(maxlen);
  ------------------
  |  |  921|      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(maxmem);
  ------------------
  |  |  921|      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(maxsize);
  ------------------
  |  |  921|      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(maxsplit);
  ------------------
  |  |  921|      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(maxvalue);
  ------------------
  |  |  921|      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(memLevel);
  ------------------
  |  |  921|      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(memlimit);
  ------------------
  |  |  921|      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(message);
  ------------------
  |  |  921|      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(metaclass);
  ------------------
  |  |  921|      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(metadata);
  ------------------
  |  |  921|      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(method);
  ------------------
  |  |  921|      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(microsecond);
  ------------------
  |  |  921|      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(microseconds);
  ------------------
  |  |  921|      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(milliseconds);
  ------------------
  |  |  921|      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(minute);
  ------------------
  |  |  921|      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(minutes);
  ------------------
  |  |  921|      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(mod);
  ------------------
  |  |  921|      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(mode);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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(module_globals);
  ------------------
  |  |  921|      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(modules);
  ------------------
  |  |  921|      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(modulo);
  ------------------
  |  |  921|      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(month);
  ------------------
  |  |  921|      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(mro);
  ------------------
  |  |  921|      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(msg);
  ------------------
  |  |  921|      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(mutex);
  ------------------
  |  |  921|      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(mycmp);
  ------------------
  |  |  921|      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_fields);
  ------------------
  |  |  921|      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_sequence_fields);
  ------------------
  |  |  921|      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(n_unnamed_fields);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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(name_from);
  ------------------
  |  |  921|      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(namespace_separator);
  ------------------
  |  |  921|      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(namespaces);
  ------------------
  |  |  921|      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(native);
  ------------------
  |  |  921|      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(ndigits);
  ------------------
  |  |  921|      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(nested);
  ------------------
  |  |  921|      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_file_name);
  ------------------
  |  |  921|      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(new_limit);
  ------------------
  |  |  921|      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(newline);
  ------------------
  |  |  921|      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(newlines);
  ------------------
  |  |  921|      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(next);
  ------------------
  |  |  921|      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(nlocals);
  ------------------
  |  |  921|      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_depth);
  ------------------
  |  |  921|      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(node_offset);
  ------------------
  |  |  921|      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(ns);
  ------------------
  |  |  921|      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(nstype);
  ------------------
  |  |  921|      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(nt);
  ------------------
  |  |  921|      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(null);
  ------------------
  |  |  921|      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(number);
  ------------------
  |  |  921|      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(obj);
  ------------------
  |  |  921|      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(object);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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_dst);
  ------------------
  |  |  921|      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(offset_src);
  ------------------
  |  |  921|      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(on_type_read);
  ------------------
  |  |  921|      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(onceregistry);
  ------------------
  |  |  921|      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_active_thread);
  ------------------
  |  |  921|      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(only_keys);
  ------------------
  |  |  921|      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(oparg);
  ------------------
  |  |  921|      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(opcode);
  ------------------
  |  |  921|      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(opcodes);
  ------------------
  |  |  921|      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(open);
  ------------------
  |  |  921|      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(opener);
  ------------------
  |  |  921|      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(operation);
  ------------------
  |  |  921|      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(optimize);
  ------------------
  |  |  921|      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(options);
  ------------------
  |  |  921|      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(order);
  ------------------
  |  |  921|      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(origin);
  ------------------
  |  |  921|      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(other);
  ------------------
  |  |  921|      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(out_fd);
  ------------------
  |  |  921|      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(outgoing);
  ------------------
  |  |  921|      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(outpath);
  ------------------
  |  |  921|      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(overlapped);
  ------------------
  |  |  921|      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(owner);
  ------------------
  |  |  921|      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(pad);
  ------------------
  |  |  921|      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(padded);
  ------------------
  |  |  921|      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(pages);
  ------------------
  |  |  921|      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(pair);
  ------------------
  |  |  921|      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(parameter);
  ------------------
  |  |  921|      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(parent);
  ------------------
  |  |  921|      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(password);
  ------------------
  |  |  921|      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(path);
  ------------------
  |  |  921|      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(pattern);
  ------------------
  |  |  921|      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(peek);
  ------------------
  |  |  921|      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_id);
  ------------------
  |  |  921|      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(persistent_load);
  ------------------
  |  |  921|      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(person);
  ------------------
  |  |  921|      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(pi_factory);
  ------------------
  |  |  921|      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(pid);
  ------------------
  |  |  921|      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(pidfd);
  ------------------
  |  |  921|      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(pointer_bits);
  ------------------
  |  |  921|      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(policy);
  ------------------
  |  |  921|      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(pos);
  ------------------
  |  |  921|      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(pos1);
  ------------------
  |  |  921|      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(pos2);
  ------------------
  |  |  921|      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(posix);
  ------------------
  |  |  921|      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(prec);
  ------------------
  |  |  921|      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(preserve_exc);
  ------------------
  |  |  921|      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(print_file_and_line);
  ------------------
  |  |  921|      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(priority);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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_callback);
  ------------------
  |  |  921|      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(progress_routine);
  ------------------
  |  |  921|      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(proto);
  ------------------
  |  |  921|      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(protocol);
  ------------------
  |  |  921|      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(ps1);
  ------------------
  |  |  921|      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(ps2);
  ------------------
  |  |  921|      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(qid);
  ------------------
  |  |  921|      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(qualname);
  ------------------
  |  |  921|      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(query);
  ------------------
  |  |  921|      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(queuetype);
  ------------------
  |  |  921|      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(quotetabs);
  ------------------
  |  |  921|      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(raw);
  ------------------
  |  |  921|      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(read);
  ------------------
  |  |  921|      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(read1);
  ------------------
  |  |  921|      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(readable);
  ------------------
  |  |  921|      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(readall);
  ------------------
  |  |  921|      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(readinto);
  ------------------
  |  |  921|      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(readinto1);
  ------------------
  |  |  921|      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(readline);
  ------------------
  |  |  921|      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(readonly);
  ------------------
  |  |  921|      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(real);
  ------------------
  |  |  921|      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(recursive);
  ------------------
  |  |  921|      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(reducer_override);
  ------------------
  |  |  921|      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(registry);
  ------------------
  |  |  921|      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(rel_tol);
  ------------------
  |  |  921|      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(release);
  ------------------
  |  |  921|      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(reload);
  ------------------
  |  |  921|      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(repeat);
  ------------------
  |  |  921|      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(repl);
  ------------------
  |  |  921|      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(replace);
  ------------------
  |  |  921|      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(repr);
  ------------------
  |  |  921|      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(reqrefs);
  ------------------
  |  |  921|      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(require_ready);
  ------------------
  |  |  921|      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(reserved);
  ------------------
  |  |  921|      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(reset);
  ------------------
  |  |  921|      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(resetids);
  ------------------
  |  |  921|      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(restrict);
  ------------------
  |  |  921|      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(return);
  ------------------
  |  |  921|      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(reverse);
  ------------------
  |  |  921|      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(reversed);
  ------------------
  |  |  921|      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(rounding);
  ------------------
  |  |  921|      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(salt);
  ------------------
  |  |  921|      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(sample_interval_us);
  ------------------
  |  |  921|      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(sched_priority);
  ------------------
  |  |  921|      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(scheduler);
  ------------------
  |  |  921|      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(script);
  ------------------
  |  |  921|      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(second);
  ------------------
  |  |  921|      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(seconds);
  ------------------
  |  |  921|      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(security_attributes);
  ------------------
  |  |  921|      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(seek);
  ------------------
  |  |  921|      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(seekable);
  ------------------
  |  |  921|      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(selectors);
  ------------------
  |  |  921|      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(self);
  ------------------
  |  |  921|      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(send);
  ------------------
  |  |  921|      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(sep);
  ------------------
  |  |  921|      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(sequence);
  ------------------
  |  |  921|      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_hostname);
  ------------------
  |  |  921|      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(server_side);
  ------------------
  |  |  921|      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(session);
  ------------------
  |  |  921|      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(setpgroup);
  ------------------
  |  |  921|      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(setsid);
  ------------------
  |  |  921|      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(setsigdef);
  ------------------
  |  |  921|      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(setsigmask);
  ------------------
  |  |  921|      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(setstate);
  ------------------
  |  |  921|      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(shape);
  ------------------
  |  |  921|      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(shared);
  ------------------
  |  |  921|      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(short);
  ------------------
  |  |  921|      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(show_cmd);
  ------------------
  |  |  921|      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(signed);
  ------------------
  |  |  921|      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(signum);
  ------------------
  |  |  921|      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(size);
  ------------------
  |  |  921|      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(sizehint);
  ------------------
  |  |  921|      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_file_prefixes);
  ------------------
  |  |  921|      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(skip_non_matching_threads);
  ------------------
  |  |  921|      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(sleep);
  ------------------
  |  |  921|      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(sock);
  ------------------
  |  |  921|      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(sort);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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(source_traceback);
  ------------------
  |  |  921|      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(spam);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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(src_dir_fd);
  ------------------
  |  |  921|      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(stack_frames);
  ------------------
  |  |  921|      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(stacklevel);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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(start_time_us);
  ------------------
  |  |  921|      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(statement);
  ------------------
  |  |  921|      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(stats);
  ------------------
  |  |  921|      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(status);
  ------------------
  |  |  921|      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(stderr);
  ------------------
  |  |  921|      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(stdin);
  ------------------
  |  |  921|      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(stdout);
  ------------------
  |  |  921|      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(step);
  ------------------
  |  |  921|      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(steps);
  ------------------
  |  |  921|      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(store_name);
  ------------------
  |  |  921|      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(strategy);
  ------------------
  |  |  921|      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(strftime);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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(strict_mode);
  ------------------
  |  |  921|      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(string);
  ------------------
  |  |  921|      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(sub_key);
  ------------------
  |  |  921|      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(subcalls);
  ------------------
  |  |  921|      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(symmetric_difference_update);
  ------------------
  |  |  921|      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(tabsize);
  ------------------
  |  |  921|      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(tag);
  ------------------
  |  |  921|      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(take_bytes);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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(target_is_directory);
  ------------------
  |  |  921|      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(targetfd);
  ------------------
  |  |  921|      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(task);
  ------------------
  |  |  921|      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_frame);
  ------------------
  |  |  921|      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_lasti);
  ------------------
  |  |  921|      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_lineno);
  ------------------
  |  |  921|      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(tb_next);
  ------------------
  |  |  921|      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(tell);
  ------------------
  |  |  921|      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(template);
  ------------------
  |  |  921|      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(term);
  ------------------
  |  |  921|      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(text);
  ------------------
  |  |  921|      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(third);
  ------------------
  |  |  921|      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(threading);
  ------------------
  |  |  921|      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(throw);
  ------------------
  |  |  921|      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(time);
  ------------------
  |  |  921|      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(timeout);
  ------------------
  |  |  921|      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(timer);
  ------------------
  |  |  921|      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(times);
  ------------------
  |  |  921|      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(timespec);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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(timestamp_us);
  ------------------
  |  |  921|      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(timetuple);
  ------------------
  |  |  921|      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(timeunit);
  ------------------
  |  |  921|      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(top);
  ------------------
  |  |  921|      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(traceback);
  ------------------
  |  |  921|      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(trailers);
  ------------------
  |  |  921|      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(translate);
  ------------------
  |  |  921|      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(traps);
  ------------------
  |  |  921|      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(true);
  ------------------
  |  |  921|      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(truncate);
  ------------------
  |  |  921|      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(twice);
  ------------------
  |  |  921|      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(txt);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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(type_params);
  ------------------
  |  |  921|      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(tz);
  ------------------
  |  |  921|      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(tzinfo);
  ------------------
  |  |  921|      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(tzname);
  ------------------
  |  |  921|      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(uid);
  ------------------
  |  |  921|      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(unboundop);
  ------------------
  |  |  921|      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(unlink);
  ------------------
  |  |  921|      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(unraisablehook);
  ------------------
  |  |  921|      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(updates);
  ------------------
  |  |  921|      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(uri);
  ------------------
  |  |  921|      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(usedforsecurity);
  ------------------
  |  |  921|      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(utcoffset);
  ------------------
  |  |  921|      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(value);
  ------------------
  |  |  921|      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(values);
  ------------------
  |  |  921|      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(version);
  ------------------
  |  |  921|      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(volume);
  ------------------
  |  |  921|      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(wait_all);
  ------------------
  |  |  921|      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(warn_on_full_buffer);
  ------------------
  |  |  921|      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(warnings);
  ------------------
  |  |  921|      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(warnoptions);
  ------------------
  |  |  921|      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(wbits);
  ------------------
  |  |  921|      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(week);
  ------------------
  |  |  921|      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(weekday);
  ------------------
  |  |  921|      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(weeks);
  ------------------
  |  |  921|      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(which);
  ------------------
  |  |  921|      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(who);
  ------------------
  |  |  921|      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(withdata);
  ------------------
  |  |  921|      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(wrapcol);
  ------------------
  |  |  921|      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(writable);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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(write_through);
  ------------------
  |  |  921|      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(year);
  ------------------
  |  |  921|      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(zdict);
  ------------------
  |  |  921|      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_ID(zstd_dict);
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.identifiers._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(empty);
  ------------------
  |  |  923|      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(dbl_percent);
  ------------------
  |  |  923|      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(dot_locals);
  ------------------
  |  |  923|      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(defaults);
  ------------------
  |  |  923|      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(format);
  ------------------
  |  |  923|      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(generic_base);
  ------------------
  |  |  923|      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(kwdefaults);
  ------------------
  |  |  923|      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(type_params);
  ------------------
  |  |  923|      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(str_replace_inf);
  ------------------
  |  |  923|      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(gc);
  ------------------
  |  |  923|      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_null);
  ------------------
  |  |  923|      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_dictcomp);
  ------------------
  |  |  923|      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_genexpr);
  ------------------
  |  |  923|      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_lambda);
  ------------------
  |  |  923|      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_listcomp);
  ------------------
  |  |  923|      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(anon_module);
  ------------------
  |  |  923|      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(native);
  ------------------
  |  |  923|      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_setcomp);
  ------------------
  |  |  923|      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_string);
  ------------------
  |  |  923|      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(anon_unknown);
  ------------------
  |  |  923|      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(json_decoder);
  ------------------
  |  |  923|      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(list_err);
  ------------------
  |  |  923|      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(utf_8);
  ------------------
  |  |  923|      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_open_br);
  ------------------
  |  |  923|      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|    string = &_Py_STR(dbl_close_br);
  ------------------
  |  |  923|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3484|      2|    _PyUnicode_InternStatic(interp, &string);
 3485|      2|    assert(_PyUnicode_CheckConsistency(string, 1));
  ------------------
  |  Branch (3485:5): [True: 2, False: 0]
  ------------------
 3486|      2|    assert(PyUnicode_GET_LENGTH(string) != 1);
  ------------------
  |  Branch (3486:5): [True: 2, False: 0]
  ------------------
 3487|      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|    634|{
   74|    634|    assert(PyWeakref_Check(ref_obj));
  ------------------
  |  Branch (74:5): [True: 0, False: 0]
  |  Branch (74:5): [True: 0, False: 0]
  |  Branch (74:5): [True: 634, False: 0]
  ------------------
   75|    634|    PyWeakReference *ref = _Py_CAST(PyWeakReference*, ref_obj);
  ------------------
  |  |   37|    634|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   76|       |
   77|    634|    PyObject *obj = FT_ATOMIC_LOAD_PTR(ref->wr_object);
  ------------------
  |  |  145|    634|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
   78|    634|    if (obj == Py_None) {
  ------------------
  |  |  616|    634|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (78:9): [True: 0, False: 634]
  ------------------
   79|       |        // clear_weakref() was called
   80|      0|        return NULL;
   81|      0|    }
   82|       |
   83|    634|    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|    634|    if (_Py_TryIncref(obj)) {
  ------------------
  |  Branch (91:9): [True: 634, False: 0]
  ------------------
   92|    634|        UNLOCK_WEAKREFS(obj);
   93|    634|        return obj;
   94|    634|    }
   95|      0|    UNLOCK_WEAKREFS(obj);
   96|       |    return NULL;
   97|    634|}
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|    367|{
  101|    367|    assert(PyWeakref_Check(ref_obj));
  ------------------
  |  Branch (101:5): [True: 0, False: 0]
  |  Branch (101:5): [True: 0, False: 0]
  |  Branch (101:5): [True: 367, False: 0]
  ------------------
  102|    367|    int ret = 0;
  103|    367|    PyWeakReference *ref = _Py_CAST(PyWeakReference*, ref_obj);
  ------------------
  |  |   37|    367|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  104|    367|    PyObject *obj = FT_ATOMIC_LOAD_PTR(ref->wr_object);
  ------------------
  |  |  145|    367|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
  105|    367|    if (obj == Py_None) {
  ------------------
  |  |  616|    367|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (105:9): [True: 367, False: 0]
  ------------------
  106|       |        // clear_weakref() was called
  107|    367|        ret = 1;
  108|    367|    }
  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|    367|    return ret;
  120|    367|}

exceptions.c:PyType_Check:
  762|   107k|static inline int PyType_Check(PyObject *op) {
  763|   107k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   107k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   107k|}
exceptions.c:PyType_HasFeature:
  749|   867k|{
  750|   867k|    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|   867k|    flags = type->tp_flags;
  756|   867k|#endif
  757|   867k|    return ((flags & feature) != 0);
  758|   867k|}
exceptions.c:_Py_SIZE_impl:
  240|  76.6k|{
  241|  76.6k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 76.6k, False: 0]
  ------------------
  242|  76.6k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 76.6k, False: 0]
  ------------------
  243|  76.6k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  76.6k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  76.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  76.6k|}
exceptions.c:_Py_TYPE_impl:
  233|  1.46M|{
  234|  1.46M|    return ob->ob_type;
  235|  1.46M|}
exceptions.c:PyObject_TypeCheck:
  374|   126k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|   126k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|   252k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   126k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   126k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 28.2k, False: 98.0k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  98.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  98.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  98.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 98.0k, False: 0]
  ------------------
  376|   126k|}
exceptions.c:_Py_IS_TYPE_impl:
  248|   175k|{
  249|   175k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   175k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   175k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   175k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   175k|}
genericaliasobject.c:PyType_HasFeature:
  749|     79|{
  750|     79|    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|     79|    flags = type->tp_flags;
  756|     79|#endif
  757|     79|    return ((flags & feature) != 0);
  758|     79|}
genericaliasobject.c:_Py_TYPE_impl:
  233|     84|{
  234|     84|    return ob->ob_type;
  235|     84|}
listobject.c:_Py_SET_SIZE_impl:
  254|  10.0M|{
  255|  10.0M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 10.0M, False: 0]
  ------------------
  256|  10.0M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 10.0M, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  10.0M|    ob->ob_size = size;
  261|  10.0M|#endif
  262|  10.0M|}
listobject.c:PyType_HasFeature:
  749|  38.2M|{
  750|  38.2M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  38.2M|    flags = type->tp_flags;
  756|  38.2M|#endif
  757|  38.2M|    return ((flags & feature) != 0);
  758|  38.2M|}
listobject.c:_Py_TYPE_impl:
  233|  88.3M|{
  234|  88.3M|    return ob->ob_type;
  235|  88.3M|}
listobject.c:_Py_SIZE_impl:
  240|  12.4M|{
  241|  12.4M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 12.4M, False: 0]
  ------------------
  242|  12.4M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 12.4M, False: 0]
  ------------------
  243|  12.4M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  12.4M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  12.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  12.4M|}
listobject.c:_Py_IS_TYPE_impl:
  248|  4.31M|{
  249|  4.31M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  4.31M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.31M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.31M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  4.31M|}
listobject.c:PyType_Check:
  762|    362|static inline int PyType_Check(PyObject *op) {
  763|    362|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|    362|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|    362|}
longobject.c:Py_SET_TYPE:
  206|  1.50M|{
  207|  1.50M|    ob->ob_type = type;
  208|  1.50M|}
longobject.c:PyType_HasFeature:
  749|   735M|{
  750|   735M|    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|   735M|    flags = type->tp_flags;
  756|   735M|#endif
  757|   735M|    return ((flags & feature) != 0);
  758|   735M|}
longobject.c:_Py_TYPE_impl:
  233|   177M|{
  234|   177M|    return ob->ob_type;
  235|   177M|}
longobject.c:_Py_IS_TYPE_impl:
  248|  13.9M|{
  249|  13.9M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  13.9M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  13.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  13.9M|}
longobject.c:_Py_SIZE_impl:
  240|    527|{
  241|    527|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 527, False: 0]
  ------------------
  242|    527|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 527, False: 0]
  ------------------
  243|    527|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    527|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    527|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    527|}
longobject.c:PyObject_TypeCheck:
  374|    312|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    312|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    624|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    312|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    312|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 312, 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|    312|}
longobject.c:PyType_Check:
  762|    104|static inline int PyType_Check(PyObject *op) {
  763|    104|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|    104|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|    104|}
dictobject.c:PyType_HasFeature:
  749|  54.4M|{
  750|  54.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|  54.4M|    flags = type->tp_flags;
  756|  54.4M|#endif
  757|  54.4M|    return ((flags & feature) != 0);
  758|  54.4M|}
dictobject.c:_Py_TYPE_impl:
  233|   122M|{
  234|   122M|    return ob->ob_type;
  235|   122M|}
dictobject.c:PyObject_TypeCheck:
  374|  11.6M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  11.6M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  23.3M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  11.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 821, False: 11.6M]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 11.6M]
  ------------------
  376|  11.6M|}
dictobject.c:_Py_IS_TYPE_impl:
  248|  52.7M|{
  249|  52.7M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  52.7M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  52.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  52.7M|}
dictobject.c:_Py_SIZE_impl:
  240|  1.68k|{
  241|  1.68k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.68k, False: 0]
  ------------------
  242|  1.68k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.68k, False: 0]
  ------------------
  243|  1.68k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.68k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.68k|}
dictobject.c:PyType_Check:
  762|     32|static inline int PyType_Check(PyObject *op) {
  763|     32|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|     32|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|     32|}
moduleobject.c:PyObject_TypeCheck:
  374|  65.3k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  65.3k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|   130k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  65.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 65.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|  65.3k|}
moduleobject.c:Py_SET_TYPE:
  206|     51|{
  207|     51|    ob->ob_type = type;
  208|     51|}
moduleobject.c:PyType_HasFeature:
  749|  10.5k|{
  750|  10.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|  10.5k|    flags = type->tp_flags;
  756|  10.5k|#endif
  757|  10.5k|    return ((flags & feature) != 0);
  758|  10.5k|}
moduleobject.c:_Py_TYPE_impl:
  233|   777k|{
  234|   777k|    return ob->ob_type;
  235|   777k|}
moduleobject.c:_Py_IS_TYPE_impl:
  248|   766k|{
  249|   766k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   766k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   766k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   766k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   766k|}
moduleobject.c:_Py_SIZE_impl:
  240|    117|{
  241|    117|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 117, False: 0]
  ------------------
  242|    117|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 117, False: 0]
  ------------------
  243|    117|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    117|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    117|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    117|}
object.c:_Py_TYPE_impl:
  233|   920M|{
  234|   920M|    return ob->ob_type;
  235|   920M|}
object.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|}
object.c:Py_SET_TYPE:
  206|   119k|{
  207|   119k|    ob->ob_type = type;
  208|   119k|}
object.c:_Py_IS_TYPE_impl:
  248|  29.3M|{
  249|  29.3M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  29.3M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  29.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  29.3M|}
object.c:_Py_SET_SIZE_impl:
  254|  56.1k|{
  255|  56.1k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 56.1k, False: 0]
  ------------------
  256|  56.1k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 56.1k, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  56.1k|    ob->ob_size = size;
  261|  56.1k|#endif
  262|  56.1k|}
rangeobject.c:_Py_IS_TYPE_impl:
  248|    758|{
  249|    758|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    758|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    758|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    758|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    758|}
rangeobject.c:_Py_TYPE_impl:
  233|  2.03k|{
  234|  2.03k|    return ob->ob_type;
  235|  2.03k|}
rangeobject.c:PyType_HasFeature:
  749|  1.20k|{
  750|  1.20k|    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.20k|    flags = type->tp_flags;
  756|  1.20k|#endif
  757|  1.20k|    return ((flags & feature) != 0);
  758|  1.20k|}
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|     27|{
  234|     27|    return ob->ob_type;
  235|     27|}
sentinelobject.c:_Py_IS_TYPE_impl:
  248|     20|{
  249|     20|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     20|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     20|}
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|  1.14M|{
  750|  1.14M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  1.14M|    flags = type->tp_flags;
  756|  1.14M|#endif
  757|  1.14M|    return ((flags & feature) != 0);
  758|  1.14M|}
setobject.c:_Py_IS_TYPE_impl:
  248|  7.20M|{
  249|  7.20M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  7.20M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.20M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.20M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  7.20M|}
setobject.c:_Py_TYPE_impl:
  233|  8.90M|{
  234|  8.90M|    return ob->ob_type;
  235|  8.90M|}
setobject.c:PyType_Check:
  762|   566k|static inline int PyType_Check(PyObject *op) {
  763|   566k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   566k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   566k|}
sliceobject.c:_Py_IS_TYPE_impl:
  248|  17.6k|{
  249|  17.6k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  17.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  17.6k|}
sliceobject.c:PyType_HasFeature:
  749|     40|{
  750|     40|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|     40|    flags = type->tp_flags;
  756|     40|#endif
  757|     40|    return ((flags & feature) != 0);
  758|     40|}
sliceobject.c:_Py_TYPE_impl:
  233|  17.7k|{
  234|  17.7k|    return ob->ob_type;
  235|  17.7k|}
structseq.c:PyType_HasFeature:
  749|  10.4k|{
  750|  10.4k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  10.4k|    flags = type->tp_flags;
  756|  10.4k|#endif
  757|  10.4k|    return ((flags & feature) != 0);
  758|  10.4k|}
structseq.c:_Py_TYPE_impl:
  233|  43.2k|{
  234|  43.2k|    return ob->ob_type;
  235|  43.2k|}
structseq.c:_Py_SET_SIZE_impl:
  254|    515|{
  255|    515|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 515, False: 0]
  ------------------
  256|    515|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 515, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|    515|    ob->ob_size = size;
  261|    515|#endif
  262|    515|}
structseq.c:_Py_SIZE_impl:
  240|  10.4k|{
  241|  10.4k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 10.4k, False: 0]
  ------------------
  242|  10.4k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 10.4k, False: 0]
  ------------------
  243|  10.4k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  10.4k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  10.4k|}
structseq.c:Py_SET_TYPE:
  206|     16|{
  207|     16|    ob->ob_type = type;
  208|     16|}
tupleobject.c:PyType_HasFeature:
  749|   548M|{
  750|   548M|    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|   548M|    flags = type->tp_flags;
  756|   548M|#endif
  757|   548M|    return ((flags & feature) != 0);
  758|   548M|}
tupleobject.c:_Py_TYPE_impl:
  233|  1.74G|{
  234|  1.74G|    return ob->ob_type;
  235|  1.74G|}
tupleobject.c:_Py_SIZE_impl:
  240|   477M|{
  241|   477M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 477M, False: 0]
  ------------------
  242|   477M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 477M, False: 0]
  ------------------
  243|   477M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   477M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   477M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   477M|}
tupleobject.c:_Py_IS_TYPE_impl:
  248|   140M|{
  249|   140M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   140M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   140M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   140M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   140M|}
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|  6.58M|{
  249|  6.58M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  6.58M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.58M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.58M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  6.58M|}
typeobject.c:PyType_Check:
  762|   317k|static inline int PyType_Check(PyObject *op) {
  763|   317k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   317k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   317k|}
typeobject.c:PyType_HasFeature:
  749|  93.0M|{
  750|  93.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|  93.0M|    flags = type->tp_flags;
  756|  93.0M|#endif
  757|  93.0M|    return ((flags & feature) != 0);
  758|  93.0M|}
typeobject.c:_Py_TYPE_impl:
  233|   143M|{
  234|   143M|    return ob->ob_type;
  235|   143M|}
typeobject.c:Py_SET_TYPE:
  206|  1.44M|{
  207|  1.44M|    ob->ob_type = type;
  208|  1.44M|}
typeobject.c:_Py_SET_SIZE_impl:
  254|  1.19k|{
  255|  1.19k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 1.19k, False: 0]
  ------------------
  256|  1.19k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 1.19k, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  1.19k|    ob->ob_size = size;
  261|  1.19k|#endif
  262|  1.19k|}
typeobject.c:_Py_SIZE_impl:
  240|  20.5M|{
  241|  20.5M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 20.5M, False: 0]
  ------------------
  242|  20.5M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 20.5M, False: 0]
  ------------------
  243|  20.5M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  20.5M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  20.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  20.5M|}
typeobject.c:PyObject_TypeCheck:
  374|   375k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|   375k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|   750k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   375k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   375k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 369k, False: 5.52k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  5.52k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 5.52k, False: 0]
  ------------------
  376|   375k|}
unicode_formatter.c:PyType_HasFeature:
  749|  1.05k|{
  750|  1.05k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  1.05k|    flags = type->tp_flags;
  756|  1.05k|#endif
  757|  1.05k|    return ((flags & feature) != 0);
  758|  1.05k|}
unicode_formatter.c:_Py_TYPE_impl:
  233|  1.18k|{
  234|  1.18k|    return ob->ob_type;
  235|  1.18k|}
unicode_formatter.c:_Py_IS_TYPE_impl:
  248|    132|{
  249|    132|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    132|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    132|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    132|}
unicode_writer.c:PyType_HasFeature:
  749|  5.06M|{
  750|  5.06M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  5.06M|    flags = type->tp_flags;
  756|  5.06M|#endif
  757|  5.06M|    return ((flags & feature) != 0);
  758|  5.06M|}
unicode_writer.c:_Py_TYPE_impl:
  233|  5.30M|{
  234|  5.30M|    return ob->ob_type;
  235|  5.30M|}
unicodeobject.c:PyType_HasFeature:
  749|  1.18G|{
  750|  1.18G|    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.18G|    flags = type->tp_flags;
  756|  1.18G|#endif
  757|  1.18G|    return ((flags & feature) != 0);
  758|  1.18G|}
unicodeobject.c:_Py_TYPE_impl:
  233|  1.22G|{
  234|  1.22G|    return ob->ob_type;
  235|  1.22G|}
unicodeobject.c:Py_SET_TYPE:
  206|  23.4M|{
  207|  23.4M|    ob->ob_type = type;
  208|  23.4M|}
unicodeobject.c:_Py_IS_TYPE_impl:
  248|  6.16M|{
  249|  6.16M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  6.16M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.16M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  6.16M|}
unicodeobject.c:PyType_Check:
  762|   150k|static inline int PyType_Check(PyObject *op) {
  763|   150k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   150k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   150k|}
unicodeobject.c:_Py_SIZE_impl:
  240|   536k|{
  241|   536k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 536k, False: 0]
  ------------------
  242|   536k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 536k, False: 0]
  ------------------
  243|   536k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   536k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   536k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   536k|}
unicodeobject.c:_Py_SET_SIZE_impl:
  254|    251|{
  255|    251|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 251, False: 0]
  ------------------
  256|    251|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 251, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|    251|    ob->ob_size = size;
  261|    251|#endif
  262|    251|}
unionobject.c:PyType_Check:
  762|     46|static inline int PyType_Check(PyObject *op) {
  763|     46|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|     46|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|     46|}
unionobject.c:PyType_HasFeature:
  749|     91|{
  750|     91|    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|     91|    flags = type->tp_flags;
  756|     91|#endif
  757|     91|    return ((flags & feature) != 0);
  758|     91|}
unionobject.c:_Py_TYPE_impl:
  233|    228|{
  234|    228|    return ob->ob_type;
  235|    228|}
unionobject.c:_Py_IS_TYPE_impl:
  248|     46|{
  249|     46|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     46|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     46|}
unionobject.c:_Py_SIZE_impl:
  240|     45|{
  241|     45|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 45, False: 0]
  ------------------
  242|     45|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 45, False: 0]
  ------------------
  243|     45|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     45|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     45|}
weakrefobject.c:_Py_TYPE_impl:
  233|  1.44M|{
  234|  1.44M|    return ob->ob_type;
  235|  1.44M|}
weakrefobject.c:PyType_Check:
  762|   470k|static inline int PyType_Check(PyObject *op) {
  763|   470k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   470k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   470k|}
weakrefobject.c:PyObject_TypeCheck:
  374|  21.8k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  21.8k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  43.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  21.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 21.4k, False: 367]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|    367|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    367|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    367|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 367, False: 0]
  ------------------
  376|  21.8k|}
weakrefobject.c:_Py_IS_TYPE_impl:
  248|  23.6k|{
  249|  23.6k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  23.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  23.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  23.6k|}
weakrefobject.c:_Py_SIZE_impl:
  240|  1.40k|{
  241|  1.40k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.40k, False: 0]
  ------------------
  242|  1.40k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.40k, False: 0]
  ------------------
  243|  1.40k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.40k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.40k|}
weakrefobject.c:PyType_HasFeature:
  749|   473k|{
  750|   473k|    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|   473k|    flags = type->tp_flags;
  756|   473k|#endif
  757|   473k|    return ((flags & feature) != 0);
  758|   473k|}
_warnings.c:PyType_HasFeature:
  749|  2.56M|{
  750|  2.56M|    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.56M|    flags = type->tp_flags;
  756|  2.56M|#endif
  757|  2.56M|    return ((flags & feature) != 0);
  758|  2.56M|}
_warnings.c:_Py_TYPE_impl:
  233|  3.82M|{
  234|  3.82M|    return ob->ob_type;
  235|  3.82M|}
_warnings.c:_Py_SIZE_impl:
  240|   533k|{
  241|   533k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 533k, False: 0]
  ------------------
  242|   533k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 533k, False: 0]
  ------------------
  243|   533k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   533k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   533k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   533k|}
_warnings.c:_Py_IS_TYPE_impl:
  248|   145k|{
  249|   145k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   145k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   145k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   145k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   145k|}
_warnings.c:PyObject_TypeCheck:
  374|  48.4k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  48.4k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  96.9k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 48.4k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  48.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 48.4k]
  ------------------
  376|  48.4k|}
bltinmodule.c:_Py_TYPE_impl:
  233|   121M|{
  234|   121M|    return ob->ob_type;
  235|   121M|}
bltinmodule.c:PyType_Check:
  762|  1.38k|static inline int PyType_Check(PyObject *op) {
  763|  1.38k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  1.38k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  1.38k|}
bltinmodule.c:PyType_HasFeature:
  749|   121M|{
  750|   121M|    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|   121M|    flags = type->tp_flags;
  756|   121M|#endif
  757|   121M|    return ((flags & feature) != 0);
  758|   121M|}
bltinmodule.c:_Py_SIZE_impl:
  240|  1.14k|{
  241|  1.14k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.14k, False: 0]
  ------------------
  242|  1.14k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.14k, False: 0]
  ------------------
  243|  1.14k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.14k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.14k|}
bltinmodule.c:_Py_IS_TYPE_impl:
  248|  72.4k|{
  249|  72.4k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  72.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  72.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  72.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  72.4k|}
ceval.c:PyType_HasFeature:
  749|   547M|{
  750|   547M|    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|   547M|    flags = type->tp_flags;
  756|   547M|#endif
  757|   547M|    return ((flags & feature) != 0);
  758|   547M|}
ceval.c:_Py_TYPE_impl:
  233|   589M|{
  234|   589M|    return ob->ob_type;
  235|   589M|}
ceval.c:PyType_Check:
  762|   256k|static inline int PyType_Check(PyObject *op) {
  763|   256k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   256k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   256k|}
ceval.c:_Py_IS_TYPE_impl:
  248|   316M|{
  249|   316M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   316M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   316M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   316M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   316M|}
ceval.c:PyObject_TypeCheck:
  374|  51.8M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  51.8M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|   103M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  51.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  51.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 51.8M, 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|  51.8M|}
ceval.c:_Py_SIZE_impl:
  240|  2.81M|{
  241|  2.81M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 2.81M, False: 0]
  ------------------
  242|  2.81M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 2.81M, False: 0]
  ------------------
  243|  2.81M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  2.81M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  2.81M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  2.81M|}
ceval.c:_Py_SET_SIZE_impl:
  254|   768k|{
  255|   768k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 768k, False: 0]
  ------------------
  256|   768k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 768k, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|   768k|    ob->ob_size = size;
  261|   768k|#endif
  262|   768k|}
codecs.c:_Py_IS_TYPE_impl:
  248|  41.1k|{
  249|  41.1k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  41.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  41.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  41.1k|}
codecs.c:_Py_SIZE_impl:
  240|  80.4k|{
  241|  80.4k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 80.4k, False: 0]
  ------------------
  242|  80.4k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 80.4k, False: 0]
  ------------------
  243|  80.4k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  80.4k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  80.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  80.4k|}
codecs.c:PyType_HasFeature:
  749|   238k|{
  750|   238k|    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|   238k|    flags = type->tp_flags;
  756|   238k|#endif
  757|   238k|    return ((flags & feature) != 0);
  758|   238k|}
codecs.c:_Py_TYPE_impl:
  233|   479k|{
  234|   479k|    return ob->ob_type;
  235|   479k|}
codegen.c:PyType_HasFeature:
  749|   525k|{
  750|   525k|    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|   525k|    flags = type->tp_flags;
  756|   525k|#endif
  757|   525k|    return ((flags & feature) != 0);
  758|   525k|}
codegen.c:_Py_TYPE_impl:
  233|   677k|{
  234|   677k|    return ob->ob_type;
  235|   677k|}
codegen.c:_Py_SIZE_impl:
  240|  42.2k|{
  241|  42.2k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 42.2k, False: 0]
  ------------------
  242|  42.2k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 42.2k, False: 0]
  ------------------
  243|  42.2k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  42.2k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  42.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  42.2k|}
codegen.c:_Py_IS_TYPE_impl:
  248|  50.1k|{
  249|  50.1k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  50.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  50.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  50.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  50.1k|}
codegen.c:PyObject_TypeCheck:
  374|  8.22k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  8.22k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  16.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  8.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 149, False: 8.07k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  8.07k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 8.07k]
  ------------------
  376|  8.22k|}
compile.c:_Py_SIZE_impl:
  240|   348k|{
  241|   348k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 348k, False: 0]
  ------------------
  242|   348k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 348k, False: 0]
  ------------------
  243|   348k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   348k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   348k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   348k|}
compile.c:PyType_HasFeature:
  749|  2.66M|{
  750|  2.66M|    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.66M|    flags = type->tp_flags;
  756|  2.66M|#endif
  757|  2.66M|    return ((flags & feature) != 0);
  758|  2.66M|}
compile.c:_Py_TYPE_impl:
  233|  7.52M|{
  234|  7.52M|    return ob->ob_type;
  235|  7.52M|}
compile.c:_Py_IS_TYPE_impl:
  248|  4.16M|{
  249|  4.16M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  4.16M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.16M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  4.16M|}
context.c:_Py_IS_TYPE_impl:
  248|  68.8k|{
  249|  68.8k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  68.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  68.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  68.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  68.8k|}
context.c:_Py_TYPE_impl:
  233|  68.8k|{
  234|  68.8k|    return ob->ob_type;
  235|  68.8k|}
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|   486k|static inline int PyType_Check(PyObject *op) {
  763|   486k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   486k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   486k|}
errors.c:PyType_HasFeature:
  749|  1.71M|{
  750|  1.71M|    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.71M|    flags = type->tp_flags;
  756|  1.71M|#endif
  757|  1.71M|    return ((flags & feature) != 0);
  758|  1.71M|}
errors.c:_Py_TYPE_impl:
  233|  1.72M|{
  234|  1.72M|    return ob->ob_type;
  235|  1.72M|}
flowgraph.c:_Py_SIZE_impl:
  240|  4.13M|{
  241|  4.13M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 4.13M, False: 0]
  ------------------
  242|  4.13M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 4.13M, False: 0]
  ------------------
  243|  4.13M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  4.13M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  4.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  4.13M|}
flowgraph.c:PyType_HasFeature:
  749|  12.7M|{
  750|  12.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|  12.7M|    flags = type->tp_flags;
  756|  12.7M|#endif
  757|  12.7M|    return ((flags & feature) != 0);
  758|  12.7M|}
flowgraph.c:_Py_TYPE_impl:
  233|  31.1M|{
  234|  31.1M|    return ob->ob_type;
  235|  31.1M|}
flowgraph.c:_Py_IS_TYPE_impl:
  248|  10.1M|{
  249|  10.1M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  10.1M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  10.1M|}
frame.c:_Py_IS_TYPE_impl:
  248|  53.5k|{
  249|  53.5k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  53.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  53.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  53.5k|}
frame.c:_Py_TYPE_impl:
  233|  53.5k|{
  234|  53.5k|    return ob->ob_type;
  235|  53.5k|}
gc.c:_Py_SIZE_impl:
  240|  31.0k|{
  241|  31.0k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 31.0k, False: 0]
  ------------------
  242|  31.0k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 31.0k, False: 0]
  ------------------
  243|  31.0k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  31.0k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  31.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  31.0k|}
gc.c:PyType_HasFeature:
  749|  32.1k|{
  750|  32.1k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  32.1k|    flags = type->tp_flags;
  756|  32.1k|#endif
  757|  32.1k|    return ((flags & feature) != 0);
  758|  32.1k|}
gc.c:_Py_IS_TYPE_impl:
  248|  46.8M|{
  249|  46.8M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  46.8M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  46.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  46.8M|}
gc.c:PyType_Check:
  762|  1.06k|static inline int PyType_Check(PyObject *op) {
  763|  1.06k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  1.06k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  1.06k|}
gc.c:PyObject_TypeCheck:
  374|  3.26k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  3.26k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  6.53k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  3.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 3.26k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  3.26k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 3.26k]
  ------------------
  376|  3.26k|}
gc.c:Py_SET_TYPE:
  206|  49.5M|{
  207|  49.5M|    ob->ob_type = type;
  208|  49.5M|}
gc.c:_Py_TYPE_impl:
  233|  1.32G|{
  234|  1.32G|    return ob->ob_type;
  235|  1.32G|}
gc.c:_Py_SET_SIZE_impl:
  254|  48.7M|{
  255|  48.7M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 48.7M, False: 0]
  ------------------
  256|  48.7M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 48.7M, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  48.7M|    ob->ob_size = size;
  261|  48.7M|#endif
  262|  48.7M|}
getargs.c:PyType_HasFeature:
  749|   323k|{
  750|   323k|    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|   323k|    flags = type->tp_flags;
  756|   323k|#endif
  757|   323k|    return ((flags & feature) != 0);
  758|   323k|}
getargs.c:_Py_TYPE_impl:
  233|   462k|{
  234|   462k|    return ob->ob_type;
  235|   462k|}
getargs.c:_Py_SIZE_impl:
  240|  68.7k|{
  241|  68.7k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 68.7k, False: 0]
  ------------------
  242|  68.7k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 68.7k, False: 0]
  ------------------
  243|  68.7k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  68.7k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  68.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  68.7k|}
getargs.c:_Py_IS_TYPE_impl:
  248|    337|{
  249|    337|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    337|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    337|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    337|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    337|}
hamt.c:_Py_IS_TYPE_impl:
  248|  20.4k|{
  249|  20.4k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  20.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  20.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  20.4k|}
hamt.c:_Py_TYPE_impl:
  233|  20.4k|{
  234|  20.4k|    return ob->ob_type;
  235|  20.4k|}
hamt.c:_Py_SIZE_impl:
  240|     17|{
  241|     17|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 17, False: 0]
  ------------------
  242|     17|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 17, False: 0]
  ------------------
  243|     17|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     17|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     17|}
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|   948k|{
  750|   948k|    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|   948k|    flags = type->tp_flags;
  756|   948k|#endif
  757|   948k|    return ((flags & feature) != 0);
  758|   948k|}
import.c:_Py_TYPE_impl:
  233|   948k|{
  234|   948k|    return ob->ob_type;
  235|   948k|}
import.c:PyObject_TypeCheck:
  374|    148|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    148|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    296|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    148|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    148|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 148, 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|    148|}
import.c:_Py_IS_TYPE_impl:
  248|    550|{
  249|    550|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    550|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    550|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    550|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    550|}
importdl.c:PyType_HasFeature:
  749|     83|{
  750|     83|    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|     83|    flags = type->tp_flags;
  756|     83|#endif
  757|     83|    return ((flags & feature) != 0);
  758|     83|}
importdl.c:_Py_TYPE_impl:
  233|    169|{
  234|    169|    return ob->ob_type;
  235|    169|}
importdl.c:_Py_IS_TYPE_impl:
  248|     86|{
  249|     86|    return 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     86|}
importdl.c:PyObject_TypeCheck:
  374|     43|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     43|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     86|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 43, 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|     43|}
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|  10.1k|{
  750|  10.1k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  10.1k|    flags = type->tp_flags;
  756|  10.1k|#endif
  757|  10.1k|    return ((flags & feature) != 0);
  758|  10.1k|}
intrinsics.c:_Py_TYPE_impl:
  233|  11.9k|{
  234|  11.9k|    return ob->ob_type;
  235|  11.9k|}
intrinsics.c:_Py_IS_TYPE_impl:
  248|  1.83k|{
  249|  1.83k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.83k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.83k|}
marshal.c:PyType_HasFeature:
  749|   129k|{
  750|   129k|    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|   129k|    flags = type->tp_flags;
  756|   129k|#endif
  757|   129k|    return ((flags & feature) != 0);
  758|   129k|}
marshal.c:_Py_TYPE_impl:
  233|   296k|{
  234|   296k|    return ob->ob_type;
  235|   296k|}
marshal.c:_Py_SIZE_impl:
  240|  83.3k|{
  241|  83.3k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 83.3k, False: 0]
  ------------------
  242|  83.3k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 83.3k, False: 0]
  ------------------
  243|  83.3k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  83.3k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  83.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  83.3k|}
modsupport.c:_Py_TYPE_impl:
  233|   465k|{
  234|   465k|    return ob->ob_type;
  235|   465k|}
modsupport.c:PyType_HasFeature:
  749|   154k|{
  750|   154k|    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|   154k|    flags = type->tp_flags;
  756|   154k|#endif
  757|   154k|    return ((flags & feature) != 0);
  758|   154k|}
modsupport.c:_Py_SIZE_impl:
  240|   154k|{
  241|   154k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 154k, False: 0]
  ------------------
  242|   154k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 154k, False: 0]
  ------------------
  243|   154k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   154k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   154k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   154k|}
modsupport.c:PyObject_TypeCheck:
  374|    800|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    800|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  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: 800, 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|    800|}
modsupport.c:_Py_IS_TYPE_impl:
  248|    800|{
  249|    800|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    800|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    800|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    800|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    800|}
pylifecycle.c:PyType_HasFeature:
  749|      2|{
  750|      2|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|      2|    flags = type->tp_flags;
  756|      2|#endif
  757|      2|    return ((flags & feature) != 0);
  758|      2|}
pylifecycle.c:_Py_TYPE_impl:
  233|      2|{
  234|      2|    return ob->ob_type;
  235|      2|}
pythonrun.c:PyType_HasFeature:
  749|      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|  2.26k|static inline int PyType_Check(PyObject *op) {
  763|  2.26k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  2.26k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  2.26k|}
specialize.c:_Py_TYPE_impl:
  233|  1.31M|{
  234|  1.31M|    return ob->ob_type;
  235|  1.31M|}
specialize.c:_Py_IS_TYPE_impl:
  248|   766k|{
  249|   766k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   766k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   766k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   766k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   766k|}
specialize.c:PyObject_TypeCheck:
  374|    988|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    988|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.97k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    988|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    988|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 988, 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|    988|}
specialize.c:_Py_SIZE_impl:
  240|    145|{
  241|    145|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 145, False: 0]
  ------------------
  242|    145|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 145, False: 0]
  ------------------
  243|    145|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    145|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    145|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    145|}
specialize.c:PyType_HasFeature:
  749|   658k|{
  750|   658k|    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|   658k|    flags = type->tp_flags;
  756|   658k|#endif
  757|   658k|    return ((flags & feature) != 0);
  758|   658k|}
symtable.c:_Py_IS_TYPE_impl:
  248|   152k|{
  249|   152k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   152k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   152k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   152k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   152k|}
symtable.c:_Py_SIZE_impl:
  240|   235k|{
  241|   235k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 235k, False: 0]
  ------------------
  242|   235k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 235k, False: 0]
  ------------------
  243|   235k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   235k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   235k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   235k|}
symtable.c:PyType_HasFeature:
  749|  4.97M|{
  750|  4.97M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  4.97M|    flags = type->tp_flags;
  756|  4.97M|#endif
  757|  4.97M|    return ((flags & feature) != 0);
  758|  4.97M|}
symtable.c:_Py_TYPE_impl:
  233|  5.60M|{
  234|  5.60M|    return ob->ob_type;
  235|  5.60M|}
sysmodule.c:PyType_HasFeature:
  749|    955|{
  750|    955|    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|    955|    flags = type->tp_flags;
  756|    955|#endif
  757|    955|    return ((flags & feature) != 0);
  758|    955|}
sysmodule.c:_Py_TYPE_impl:
  233|  2.17k|{
  234|  2.17k|    return ob->ob_type;
  235|  2.17k|}
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|  92.0k|{
  249|  92.0k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  92.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  92.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  92.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  92.0k|}
traceback.c:PyType_HasFeature:
  749|  43.1k|{
  750|  43.1k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  43.1k|    flags = type->tp_flags;
  756|  43.1k|#endif
  757|  43.1k|    return ((flags & feature) != 0);
  758|  43.1k|}
traceback.c:_Py_TYPE_impl:
  233|   135k|{
  234|   135k|    return ob->ob_type;
  235|   135k|}
typecache.c:_Py_IS_TYPE_impl:
  248|  6.09M|{
  249|  6.09M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  6.09M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.09M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  6.09M|}
typecache.c:_Py_TYPE_impl:
  233|  18.2M|{
  234|  18.2M|    return ob->ob_type;
  235|  18.2M|}
typecache.c:PyType_HasFeature:
  749|  12.1M|{
  750|  12.1M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  12.1M|    flags = type->tp_flags;
  756|  12.1M|#endif
  757|  12.1M|    return ((flags & feature) != 0);
  758|  12.1M|}
fileutils.c:PyType_HasFeature:
  749|  5.50k|{
  750|  5.50k|    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.50k|    flags = type->tp_flags;
  756|  5.50k|#endif
  757|  5.50k|    return ((flags & feature) != 0);
  758|  5.50k|}
fileutils.c:_Py_TYPE_impl:
  233|  5.50k|{
  234|  5.50k|    return ob->ob_type;
  235|  5.50k|}
posixmodule.c:_Py_IS_TYPE_impl:
  248|    523|{
  249|    523|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    523|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    523|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    523|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    523|}
posixmodule.c:_Py_SIZE_impl:
  240|    533|{
  241|    533|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 533, False: 0]
  ------------------
  242|    533|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 533, False: 0]
  ------------------
  243|    533|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    533|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    533|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    533|}
posixmodule.c:_Py_TYPE_impl:
  233|  9.69k|{
  234|  9.69k|    return ob->ob_type;
  235|  9.69k|}
posixmodule.c:PyType_HasFeature:
  749|  8.10k|{
  750|  8.10k|    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.10k|    flags = type->tp_flags;
  756|  8.10k|#endif
  757|  8.10k|    return ((flags & feature) != 0);
  758|  8.10k|}
posixmodule.c:PyObject_TypeCheck:
  374|    523|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    523|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.04k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    523|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    523|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 523, 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|    523|}
_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|  3.35k|{
  750|  3.35k|    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.35k|    flags = type->tp_flags;
  756|  3.35k|#endif
  757|  3.35k|    return ((flags & feature) != 0);
  758|  3.35k|}
_codecsmodule.c:_Py_TYPE_impl:
  233|  3.35k|{
  234|  3.35k|    return ob->ob_type;
  235|  3.35k|}
_collectionsmodule.c:_Py_TYPE_impl:
  233|    568|{
  234|    568|    return ob->ob_type;
  235|    568|}
_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|     19|{
  249|     19|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     19|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     19|}
_collectionsmodule.c:PyObject_TypeCheck:
  374|     19|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     19|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     38|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 19, 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|     19|}
_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|    261|{
  750|    261|    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|    261|    flags = type->tp_flags;
  756|    261|#endif
  757|    261|    return ((flags & feature) != 0);
  758|    261|}
_iomodule.c:_Py_TYPE_impl:
  233|    374|{
  234|    374|    return ob->ob_type;
  235|    374|}
_iomodule.c:PyObject_TypeCheck:
  374|    113|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    113|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), 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]
  |  |  ------------------
  ------------------
                  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|    113|}
_iomodule.c:_Py_IS_TYPE_impl:
  248|    113|{
  249|    113|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    113|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    113|}
fileio.c:_Py_TYPE_impl:
  233|  1.01k|{
  234|  1.01k|    return ob->ob_type;
  235|  1.01k|}
fileio.c:PyType_Check:
  762|     85|static inline int PyType_Check(PyObject *op) {
  763|     85|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|     85|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|     85|}
fileio.c:PyType_HasFeature:
  749|    534|{
  750|    534|    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|    534|    flags = type->tp_flags;
  756|    534|#endif
  757|    534|    return ((flags & feature) != 0);
  758|    534|}
fileio.c:_Py_SIZE_impl:
  240|     91|{
  241|     91|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 91, False: 0]
  ------------------
  242|     91|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 91, False: 0]
  ------------------
  243|     91|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     91|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     91|}
fileio.c:_Py_IS_TYPE_impl:
  248|     91|{
  249|     91|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     91|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     91|}
bufferedio.c:_Py_IS_TYPE_impl:
  248|    273|{
  249|    273|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    273|}
bufferedio.c:_Py_TYPE_impl:
  233|  1.19k|{
  234|  1.19k|    return ob->ob_type;
  235|  1.19k|}
bufferedio.c:PyType_HasFeature:
  749|    443|{
  750|    443|    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|    443|    flags = type->tp_flags;
  756|    443|#endif
  757|    443|    return ((flags & feature) != 0);
  758|    443|}
bufferedio.c:_Py_SIZE_impl:
  240|     91|{
  241|     91|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 91, False: 0]
  ------------------
  242|     91|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 91, False: 0]
  ------------------
  243|     91|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     91|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     91|}
bufferedio.c:PyObject_TypeCheck:
  374|     91|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     91|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    182|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 91, 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|     91|}
textio.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|}
textio.c:PyType_HasFeature:
  749|   678k|{
  750|   678k|    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|   678k|    flags = type->tp_flags;
  756|   678k|#endif
  757|   678k|    return ((flags & feature) != 0);
  758|   678k|}
textio.c:_Py_TYPE_impl:
  233|   727k|{
  234|   727k|    return ob->ob_type;
  235|   727k|}
textio.c:PyObject_TypeCheck:
  374|      6|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|      6|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     12|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 6, False: 0]
  |  |  ------------------
  ------------------
                  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|}
textio.c:_Py_IS_TYPE_impl:
  248|  48.4k|{
  249|  48.4k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  48.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  48.4k|}
itertoolsmodule.c:PyObject_TypeCheck:
  374|     19|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     19|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     38|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 19, 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|     19|}
itertoolsmodule.c:_Py_IS_TYPE_impl:
  248|     52|{
  249|     52|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     52|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     52|}
itertoolsmodule.c:_Py_TYPE_impl:
  233|  3.18k|{
  234|  3.18k|    return ob->ob_type;
  235|  3.18k|}
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|    932|{
  750|    932|    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|    932|    flags = type->tp_flags;
  756|    932|#endif
  757|    932|    return ((flags & feature) != 0);
  758|    932|}
sre.c:_Py_TYPE_impl:
  233|  1.23k|{
  234|  1.23k|    return ob->ob_type;
  235|  1.23k|}
sre.c:PyObject_TypeCheck:
  374|     32|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     32|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     64|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 32, False: 0]
  |  |  ------------------
  ------------------
                  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|     32|}
sre.c:_Py_IS_TYPE_impl:
  248|     32|{
  249|     32|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     32|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     32|}
sre.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|}
_threadmodule.c:PyObject_TypeCheck:
  374|    695|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    695|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.39k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    695|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    695|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 695, 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|    695|}
_threadmodule.c:_Py_IS_TYPE_impl:
  248|    695|{
  249|    695|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    695|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    695|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    695|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    695|}
_threadmodule.c:_Py_TYPE_impl:
  233|  1.36k|{
  234|  1.36k|    return ob->ob_type;
  235|  1.36k|}
timemodule.c:_Py_TYPE_impl:
  233|     22|{
  234|     22|    return ob->ob_type;
  235|     22|}
timemodule.c:PyObject_TypeCheck:
  374|     22|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     22|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     44|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 22, 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|     22|}
timemodule.c:_Py_IS_TYPE_impl:
  248|     22|{
  249|     22|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     22|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     22|}
_weakref.c:PyType_HasFeature:
  749|    367|{
  750|    367|    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|    367|    flags = type->tp_flags;
  756|    367|#endif
  757|    367|    return ((flags & feature) != 0);
  758|    367|}
_weakref.c:_Py_TYPE_impl:
  233|  1.83k|{
  234|  1.83k|    return ob->ob_type;
  235|  1.83k|}
_weakref.c:PyObject_TypeCheck:
  374|    734|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    734|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.46k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    734|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    734|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 734]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|    734|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    734|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    734|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 734, False: 0]
  ------------------
  376|    734|}
_weakref.c:_Py_IS_TYPE_impl:
  248|    734|{
  249|    734|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    734|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    734|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    734|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    734|}
_abc.c:PyObject_TypeCheck:
  374|    378|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    378|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|    756|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    378|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    378|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 378, 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|    378|}
_abc.c:_Py_IS_TYPE_impl:
  248|    573|{
  249|    573|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    573|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    573|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    573|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    573|}
_abc.c:_Py_TYPE_impl:
  233|  14.2k|{
  234|  14.2k|    return ob->ob_type;
  235|  14.2k|}
_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|    122|{
  234|    122|    return ob->ob_type;
  235|    122|}
_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|     24|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     24|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     48|#  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: 23, 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|     24|}
_functoolsmodule.c:_Py_IS_TYPE_impl:
  248|     24|{
  249|     24|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     24|}
_operator.c:_Py_TYPE_impl:
  233|     19|{
  234|     19|    return ob->ob_type;
  235|     19|}
_operator.c:PyObject_TypeCheck:
  374|     19|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|     19|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|     38|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 19, 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|     19|}
_operator.c:_Py_IS_TYPE_impl:
  248|     19|{
  249|     19|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     19|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     19|}
_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|}
helpers.c:PyType_HasFeature:
  749|  2.93k|{
  750|  2.93k|    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.93k|    flags = type->tp_flags;
  756|  2.93k|#endif
  757|  2.93k|    return ((flags & feature) != 0);
  758|  2.93k|}
helpers.c:_Py_TYPE_impl:
  233|  2.93k|{
  234|  2.93k|    return ob->ob_type;
  235|  2.93k|}
abstract.c:_Py_TYPE_impl:
  233|  38.2M|{
  234|  38.2M|    return ob->ob_type;
  235|  38.2M|}
abstract.c:PyType_HasFeature:
  749|  10.4M|{
  750|  10.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|  10.4M|    flags = type->tp_flags;
  756|  10.4M|#endif
  757|  10.4M|    return ((flags & feature) != 0);
  758|  10.4M|}
abstract.c:PyType_Check:
  762|   507k|static inline int PyType_Check(PyObject *op) {
  763|   507k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   507k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   507k|}
abstract.c:_Py_IS_TYPE_impl:
  248|  4.89M|{
  249|  4.89M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  4.89M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.89M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.89M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  4.89M|}
abstract.c:PyObject_TypeCheck:
  374|  20.5k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  20.5k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  41.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  20.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 20.5k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  20.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  20.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 85, False: 20.5k]
  ------------------
  376|  20.5k|}
abstract.c:_Py_SIZE_impl:
  240|    266|{
  241|    266|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 266, False: 0]
  ------------------
  242|    266|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 266, False: 0]
  ------------------
  243|    266|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    266|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    266|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    266|}
abstract.c:_Py_SET_SIZE_impl:
  254|    204|{
  255|    204|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 204, False: 0]
  ------------------
  256|    204|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 204, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|    204|    ob->ob_size = size;
  261|    204|#endif
  262|    204|}
abstract.c:PyType_CheckExact:
  772|   312k|static inline int PyType_CheckExact(PyObject *op) {
  773|   312k|    return Py_IS_TYPE(op, &PyType_Type);
  ------------------
  |  |  215|   312k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   312k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   312k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  774|   312k|}
boolobject.c:_Py_IS_TYPE_impl:
  248|  2.69k|{
  249|  2.69k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  2.69k|}
boolobject.c:_Py_TYPE_impl:
  233|  2.70k|{
  234|  2.70k|    return ob->ob_type;
  235|  2.70k|}
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|   775k|{
  234|   775k|    return ob->ob_type;
  235|   775k|}
bytes_methods.c:PyType_HasFeature:
  749|   516k|{
  750|   516k|    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|   516k|    flags = type->tp_flags;
  756|   516k|#endif
  757|   516k|    return ((flags & feature) != 0);
  758|   516k|}
bytes_methods.c:_Py_SIZE_impl:
  240|   129k|{
  241|   129k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 129k, False: 0]
  ------------------
  242|   129k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 129k, False: 0]
  ------------------
  243|   129k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   129k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   129k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   129k|}
bytearrayobject.c:PyType_HasFeature:
  749|  1.61M|{
  750|  1.61M|    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.61M|    flags = type->tp_flags;
  756|  1.61M|#endif
  757|  1.61M|    return ((flags & feature) != 0);
  758|  1.61M|}
bytearrayobject.c:_Py_SET_SIZE_impl:
  254|  1.05M|{
  255|  1.05M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 1.05M, False: 0]
  ------------------
  256|  1.05M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 1.05M, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  1.05M|    ob->ob_size = size;
  261|  1.05M|#endif
  262|  1.05M|}
bytearrayobject.c:PyObject_TypeCheck:
  374|  2.26M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  2.26M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  4.52M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 2.26M, False: 562]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|    562|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    562|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    562|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 562]
  ------------------
  376|  2.26M|}
bytearrayobject.c:_Py_IS_TYPE_impl:
  248|  2.26M|{
  249|  2.26M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  2.26M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  2.26M|}
bytearrayobject.c:_Py_SIZE_impl:
  240|  2.91M|{
  241|  2.91M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 2.91M, False: 0]
  ------------------
  242|  2.91M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 2.91M, False: 0]
  ------------------
  243|  2.91M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  2.91M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  2.91M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  2.91M|}
bytearrayobject.c:_Py_TYPE_impl:
  233|  12.0M|{
  234|  12.0M|    return ob->ob_type;
  235|  12.0M|}
bytesobject.c:Py_SET_TYPE:
  206|  2.52M|{
  207|  2.52M|    ob->ob_type = type;
  208|  2.52M|}
bytesobject.c:PyType_HasFeature:
  749|  17.0M|{
  750|  17.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|  17.0M|    flags = type->tp_flags;
  756|  17.0M|#endif
  757|  17.0M|    return ((flags & feature) != 0);
  758|  17.0M|}
bytesobject.c:_Py_TYPE_impl:
  233|  31.2M|{
  234|  31.2M|    return ob->ob_type;
  235|  31.2M|}
bytesobject.c:_Py_IS_TYPE_impl:
  248|  54.0k|{
  249|  54.0k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  54.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  54.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  54.0k|}
bytesobject.c:_Py_SIZE_impl:
  240|  3.81M|{
  241|  3.81M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 3.81M, False: 0]
  ------------------
  242|  3.81M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 3.81M, False: 0]
  ------------------
  243|  3.81M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  3.81M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  3.81M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  3.81M|}
bytesobject.c:_Py_SET_SIZE_impl:
  254|  2.94M|{
  255|  2.94M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  ------------------
  |  Branch (255:5): [True: 2.94M, False: 0]
  ------------------
  256|  2.94M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
  ------------------
  |  Branch (256:5): [True: 2.94M, False: 0]
  ------------------
  257|       |#ifdef Py_GIL_DISABLED
  258|       |    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
  259|       |#else
  260|  2.94M|    ob->ob_size = size;
  261|  2.94M|#endif
  262|  2.94M|}
call.c:_Py_TYPE_impl:
  233|  1.99M|{
  234|  1.99M|    return ob->ob_type;
  235|  1.99M|}
call.c:PyType_HasFeature:
  749|  1.26M|{
  750|  1.26M|    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.26M|    flags = type->tp_flags;
  756|  1.26M|#endif
  757|  1.26M|    return ((flags & feature) != 0);
  758|  1.26M|}
call.c:_Py_SIZE_impl:
  240|  96.1k|{
  241|  96.1k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 96.1k, False: 0]
  ------------------
  242|  96.1k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 96.1k, False: 0]
  ------------------
  243|  96.1k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  96.1k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  96.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  96.1k|}
call.c:_Py_IS_TYPE_impl:
  248|   141k|{
  249|   141k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   141k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   141k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   141k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   141k|}
capsule.c:_Py_IS_TYPE_impl:
  248|  62.4k|{
  249|  62.4k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  62.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  62.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  62.4k|}
capsule.c:_Py_TYPE_impl:
  233|  62.4k|{
  234|  62.4k|    return ob->ob_type;
  235|  62.4k|}
cellobject.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|}
cellobject.c:_Py_TYPE_impl:
  233|    451|{
  234|    451|    return ob->ob_type;
  235|    451|}
classobject.c:_Py_IS_TYPE_impl:
  248|   119k|{
  249|   119k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   119k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   119k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   119k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   119k|}
classobject.c:_Py_TYPE_impl:
  233|   119k|{
  234|   119k|    return ob->ob_type;
  235|   119k|}
codeobject.c:PyType_HasFeature:
  749|   237M|{
  750|   237M|    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|   237M|    flags = type->tp_flags;
  756|   237M|#endif
  757|   237M|    return ((flags & feature) != 0);
  758|   237M|}
codeobject.c:_Py_TYPE_impl:
  233|   991M|{
  234|   991M|    return ob->ob_type;
  235|   991M|}
codeobject.c:_Py_SIZE_impl:
  240|   126M|{
  241|   126M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 126M, False: 0]
  ------------------
  242|   126M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 126M, False: 0]
  ------------------
  243|   126M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   126M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   126M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   126M|}
codeobject.c:_Py_IS_TYPE_impl:
  248|   448M|{
  249|   448M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   448M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   448M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   448M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   448M|}
codeobject.c:PyObject_TypeCheck:
  374|  52.5M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  52.5M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|   105M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  52.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 52.5M, 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|  52.5M|}
complexobject.c:Py_SET_TYPE:
  206|   187k|{
  207|   187k|    ob->ob_type = type;
  208|   187k|}
complexobject.c:PyObject_TypeCheck:
  374|  2.01M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  2.01M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  4.02M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 1.63M, False: 377k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|   377k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   377k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   377k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 377k]
  ------------------
  376|  2.01M|}
complexobject.c:_Py_IS_TYPE_impl:
  248|  2.37M|{
  249|  2.37M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  2.37M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.37M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.37M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  2.37M|}
complexobject.c:_Py_TYPE_impl:
  233|  2.93M|{
  234|  2.93M|    return ob->ob_type;
  235|  2.93M|}
complexobject.c:PyType_HasFeature:
  749|   183k|{
  750|   183k|    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|   183k|    flags = type->tp_flags;
  756|   183k|#endif
  757|   183k|    return ((flags & feature) != 0);
  758|   183k|}
descrobject.c:PyType_HasFeature:
  749|  4.28k|{
  750|  4.28k|    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.28k|    flags = type->tp_flags;
  756|  4.28k|#endif
  757|  4.28k|    return ((flags & feature) != 0);
  758|  4.28k|}
descrobject.c:PyType_Check:
  762|  1.78k|static inline int PyType_Check(PyObject *op) {
  763|  1.78k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  1.78k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  1.78k|}
descrobject.c:_Py_SIZE_impl:
  240|    591|{
  241|    591|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 591, False: 0]
  ------------------
  242|    591|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 591, False: 0]
  ------------------
  243|    591|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    591|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    591|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    591|}
descrobject.c:_Py_TYPE_impl:
  233|  4.29M|{
  234|  4.29M|    return ob->ob_type;
  235|  4.29M|}
descrobject.c:_Py_IS_TYPE_impl:
  248|  2.20M|{
  249|  2.20M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  2.20M|#  define Py_TYPE(ob) _Py_TYPE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  2.20M|}
descrobject.c:PyObject_TypeCheck:
  374|  2.20M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  2.20M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  4.41M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.20M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.20M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 2.13M, False: 70.8k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  70.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  70.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  70.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 70.8k, False: 0]
  ------------------
  376|  2.20M|}
enumobject.c:_Py_TYPE_impl:
  233|  6.32M|{
  234|  6.32M|    return ob->ob_type;
  235|  6.32M|}
enumobject.c:PyType_HasFeature:
  749|  3.14M|{
  750|  3.14M|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  3.14M|    flags = type->tp_flags;
  756|  3.14M|#endif
  757|  3.14M|    return ((flags & feature) != 0);
  758|  3.14M|}
enumobject.c:_Py_SIZE_impl:
  240|  1.24M|{
  241|  1.24M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 1.24M, False: 0]
  ------------------
  242|  1.24M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 1.24M, False: 0]
  ------------------
  243|  1.24M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.24M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.24M|}
enumobject.c:PyType_Check:
  762|  37.7k|static inline int PyType_Check(PyObject *op) {
  763|  37.7k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  37.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  37.7k|}
genobject.c:_Py_IS_TYPE_impl:
  248|  75.0k|{
  249|  75.0k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  75.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  75.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  75.0k|}
genobject.c:_Py_TYPE_impl:
  233|  75.0k|{
  234|  75.0k|    return ob->ob_type;
  235|  75.0k|}
fileobject.c:PyType_HasFeature:
  749|     85|{
  750|     85|    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|     85|    flags = type->tp_flags;
  756|     85|#endif
  757|     85|    return ((flags & feature) != 0);
  758|     85|}
fileobject.c:_Py_TYPE_impl:
  233|     85|{
  234|     85|    return ob->ob_type;
  235|     85|}
floatobject.c:Py_SET_TYPE:
  206|   166k|{
  207|   166k|    ob->ob_type = type;
  208|   166k|}
floatobject.c:PyType_HasFeature:
  749|   196k|{
  750|   196k|    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|   196k|    flags = type->tp_flags;
  756|   196k|#endif
  757|   196k|    return ((flags & feature) != 0);
  758|   196k|}
floatobject.c:_Py_TYPE_impl:
  233|   105M|{
  234|   105M|    return ob->ob_type;
  235|   105M|}
floatobject.c:PyObject_TypeCheck:
  374|   103M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|   103M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|   207M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   103M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   103M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 103M, False: 112k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|   112k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   112k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   112k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 112k]
  ------------------
  376|   103M|}
floatobject.c:_Py_IS_TYPE_impl:
  248|   104M|{
  249|   104M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   104M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   104M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   104M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   104M|}
frameobject.c:PyObject_TypeCheck:
  374|  23.2k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  23.2k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  46.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  23.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 23.2k, 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|  23.2k|}
frameobject.c:_Py_IS_TYPE_impl:
  248|  24.4k|{
  249|  24.4k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  24.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  24.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  24.4k|}
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|  24.4k|{
  234|  24.4k|    return ob->ob_type;
  235|  24.4k|}
funcobject.c:PyType_HasFeature:
  749|  11.7k|{
  750|  11.7k|    unsigned long flags;
  751|       |#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|       |    flags = PyType_GetFlags(type);
  754|       |#else
  755|  11.7k|    flags = type->tp_flags;
  756|  11.7k|#endif
  757|  11.7k|    return ((flags & feature) != 0);
  758|  11.7k|}
funcobject.c:_Py_TYPE_impl:
  233|  76.5k|{
  234|  76.5k|    return ob->ob_type;
  235|  76.5k|}
funcobject.c:PyObject_TypeCheck:
  374|  3.30k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  3.30k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  6.61k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  3.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 3.30k, 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|  3.30k|}
funcobject.c:_Py_IS_TYPE_impl:
  248|  64.7k|{
  249|  64.7k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  64.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  64.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  64.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  64.7k|}
iterobject.c:_Py_IS_TYPE_impl:
  248|    148|{
  249|    148|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    148|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    148|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    148|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    148|}
iterobject.c:_Py_TYPE_impl:
  233|    148|{
  234|    148|    return ob->ob_type;
  235|    148|}
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|}
memoryobject.c:_Py_IS_TYPE_impl:
  248|    172|{
  249|    172|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    172|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    172|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    172|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    172|}
memoryobject.c:_Py_TYPE_impl:
  233|    830|{
  234|    830|    return ob->ob_type;
  235|    830|}
memoryobject.c:PyType_HasFeature:
  749|    395|{
  750|    395|    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|    395|    flags = type->tp_flags;
  756|    395|#endif
  757|    395|    return ((flags & feature) != 0);
  758|    395|}
memoryobject.c:_Py_SIZE_impl:
  240|     89|{
  241|     89|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 89, False: 0]
  ------------------
  242|     89|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 89, False: 0]
  ------------------
  243|     89|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     89|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     89|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     89|}
methodobject.c:PyObject_TypeCheck:
  374|  4.27M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  4.27M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  8.55M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  4.27M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.27M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 4.27M, False: 580]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|    580|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    580|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    580|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 568, False: 12]
  ------------------
  376|  4.27M|}
methodobject.c:_Py_IS_TYPE_impl:
  248|  6.21M|{
  249|  6.21M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  6.21M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  6.21M|}
methodobject.c:_Py_TYPE_impl:
  233|  6.21M|{
  234|  6.21M|    return ob->ob_type;
  235|  6.21M|}
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|}
unicode_format.c:PyType_HasFeature:
  749|    231|{
  750|    231|    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|    231|    flags = type->tp_flags;
  756|    231|#endif
  757|    231|    return ((flags & feature) != 0);
  758|    231|}
unicode_format.c:_Py_TYPE_impl:
  233|    273|{
  234|    273|    return ob->ob_type;
  235|    273|}
unicode_format.c:_Py_IS_TYPE_impl:
  248|     42|{
  249|     42|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     42|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     42|}
Python-ast.c:_Py_TYPE_impl:
  233|   548k|{
  234|   548k|    return ob->ob_type;
  235|   548k|}
Python-ast.c:PyType_HasFeature:
  749|   132k|{
  750|   132k|    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|   132k|    flags = type->tp_flags;
  756|   132k|#endif
  757|   132k|    return ((flags & feature) != 0);
  758|   132k|}
Python-ast.c:_Py_SIZE_impl:
  240|    230|{
  241|    230|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 230, False: 0]
  ------------------
  242|    230|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 230, False: 0]
  ------------------
  243|    230|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    230|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    230|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    230|}
assemble.c:PyType_HasFeature:
  749|  16.7M|{
  750|  16.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|  16.7M|    flags = type->tp_flags;
  756|  16.7M|#endif
  757|  16.7M|    return ((flags & feature) != 0);
  758|  16.7M|}
assemble.c:_Py_TYPE_impl:
  233|  27.7M|{
  234|  27.7M|    return ob->ob_type;
  235|  27.7M|}
assemble.c:_Py_SIZE_impl:
  240|  5.47M|{
  241|  5.47M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 5.47M, False: 0]
  ------------------
  242|  5.47M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 5.47M, False: 0]
  ------------------
  243|  5.47M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  5.47M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  5.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  5.47M|}
ast.c:_Py_TYPE_impl:
  233|  9.65k|{
  234|  9.65k|    return ob->ob_type;
  235|  9.65k|}
ast.c:_Py_IS_TYPE_impl:
  248|  9.65k|{
  249|  9.65k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  9.65k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.65k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.65k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  9.65k|}
ast_preprocess.c:PyType_HasFeature:
  749|   157k|{
  750|   157k|    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|   157k|    flags = type->tp_flags;
  756|   157k|#endif
  757|   157k|    return ((flags & feature) != 0);
  758|   157k|}
ast_preprocess.c:_Py_TYPE_impl:
  233|   157k|{
  234|   157k|    return ob->ob_type;
  235|   157k|}
ast_unparse.c:_Py_IS_TYPE_impl:
  248|   334k|{
  249|   334k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   334k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   334k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   334k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   334k|}
ast_unparse.c:_Py_TYPE_impl:
  233|   334k|{
  234|   334k|    return ob->ob_type;
  235|   334k|}
ast_unparse.c:PyObject_TypeCheck:
  374|  23.2k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  23.2k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  46.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  23.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 23.2k, 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|  23.2k|}
crossinterp.c:_Py_TYPE_impl:
  233|      2|{
  234|      2|    return ob->ob_type;
  235|      2|}
pegen.c:PyType_HasFeature:
  749|  4.00M|{
  750|  4.00M|    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.00M|    flags = type->tp_flags;
  756|  4.00M|#endif
  757|  4.00M|    return ((flags & feature) != 0);
  758|  4.00M|}
pegen.c:_Py_TYPE_impl:
  233|  11.7M|{
  234|  11.7M|    return ob->ob_type;
  235|  11.7M|}
pegen.c:_Py_SIZE_impl:
  240|  3.85M|{
  241|  3.85M|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 3.85M, False: 0]
  ------------------
  242|  3.85M|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 3.85M, False: 0]
  ------------------
  243|  3.85M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  3.85M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  3.85M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  3.85M|}
pegen.c:PyObject_TypeCheck:
  374|  8.76k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  8.76k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  17.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  8.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 8.64k, False: 117]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|    117|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    117|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    117|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 117, False: 0]
  ------------------
  376|  8.76k|}
pegen.c:_Py_IS_TYPE_impl:
  248|  8.76k|{
  249|  8.76k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  8.76k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  8.76k|}
parser.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|}
parser.c:_Py_TYPE_impl:
  233|      3|{
  234|      3|    return ob->ob_type;
  235|      3|}
lexer.c:PyType_HasFeature:
  749|   194k|{
  750|   194k|    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|   194k|    flags = type->tp_flags;
  756|   194k|#endif
  757|   194k|    return ((flags & feature) != 0);
  758|   194k|}
lexer.c:_Py_TYPE_impl:
  233|   195k|{
  234|   195k|    return ob->ob_type;
  235|   195k|}
lexer.c:_Py_SIZE_impl:
  240|    254|{
  241|    254|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 254, False: 0]
  ------------------
  242|    254|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 254, False: 0]
  ------------------
  243|    254|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    254|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    254|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    254|}
string_tokenizer.c:PyType_HasFeature:
  749|  3.15k|{
  750|  3.15k|    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.15k|    flags = type->tp_flags;
  756|  3.15k|#endif
  757|  3.15k|    return ((flags & feature) != 0);
  758|  3.15k|}
string_tokenizer.c:_Py_TYPE_impl:
  233|  3.15k|{
  234|  3.15k|    return ob->ob_type;
  235|  3.15k|}
action_helpers.c:_Py_IS_TYPE_impl:
  248|   328k|{
  249|   328k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   328k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   328k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   328k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   328k|}
action_helpers.c:_Py_TYPE_impl:
  233|   677k|{
  234|   677k|    return ob->ob_type;
  235|   677k|}
action_helpers.c:PyType_HasFeature:
  749|   331k|{
  750|   331k|    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|   331k|    flags = type->tp_flags;
  756|   331k|#endif
  757|   331k|    return ((flags & feature) != 0);
  758|   331k|}
action_helpers.c:_Py_SIZE_impl:
  240|  8.71k|{
  241|  8.71k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 8.71k, False: 0]
  ------------------
  242|  8.71k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 8.71k, False: 0]
  ------------------
  243|  8.71k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  8.71k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  8.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  8.71k|}
string_parser.c:PyType_HasFeature:
  749|   212k|{
  750|   212k|    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|   212k|    flags = type->tp_flags;
  756|   212k|#endif
  757|   212k|    return ((flags & feature) != 0);
  758|   212k|}
string_parser.c:_Py_TYPE_impl:
  233|   282k|{
  234|   282k|    return ob->ob_type;
  235|   282k|}
string_parser.c:_Py_SIZE_impl:
  240|  35.3k|{
  241|  35.3k|    assert(Py_TYPE(ob) != &PyLong_Type);
  ------------------
  |  Branch (241:5): [True: 35.3k, False: 0]
  ------------------
  242|  35.3k|    assert(Py_TYPE(ob) != &PyBool_Type);
  ------------------
  |  Branch (242:5): [True: 35.3k, False: 0]
  ------------------
  243|  35.3k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  35.3k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  35.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  35.3k|}

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

exceptions.c:_Py_XNewRef:
  541|   225k|{
  542|   225k|    Py_XINCREF(obj);
  ------------------
  |  |  514|   225k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   225k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   225k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|   225k|    return obj;
  544|   225k|}
exceptions.c:Py_XINCREF:
  508|   225k|{
  509|   225k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   225k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 41.8k, False: 183k]
  ------------------
  510|  41.8k|        Py_INCREF(op);
  ------------------
  |  |  310|  41.8k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  41.8k|    }
  512|   225k|}
exceptions.c:Py_XDECREF:
  518|   375k|{
  519|   375k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   375k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 65.9k, False: 309k]
  ------------------
  520|  65.9k|        Py_DECREF(op);
  ------------------
  |  |  430|  65.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  65.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  65.9k|    }
  522|   375k|}
exceptions.c:_Py_NewRef:
  535|   351k|{
  536|   351k|    Py_INCREF(obj);
  ------------------
  |  |  310|   351k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   351k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   351k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   351k|    return obj;
  538|   351k|}
exceptions.c:Py_INCREF:
  256|   404k|{
  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|   404k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   404k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 65.5k, False: 338k]
  ------------------
  288|       |        // the object is immortal
  289|  65.5k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  65.5k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  65.5k|        return;
  291|  65.5k|    }
  292|   338k|    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|   338k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   338k|#  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|   338k|#endif
  308|   338k|}
exceptions.c:Py_DECREF:
  418|   544k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   544k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   544k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   544k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   544k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 70.9k, False: 473k]
  |  |  ------------------
  ------------------
  422|  70.9k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  70.9k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  70.9k|        return;
  424|  70.9k|    }
  425|   473k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   473k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   473k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 216k, False: 257k]
  ------------------
  427|   216k|        _Py_Dealloc(op);
  428|   216k|    }
  429|   473k|}
exceptions.c:_Py_IsImmortal:
  127|   544k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   544k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   544k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   544k|}
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_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_NewRef:
  535|     79|{
  536|     79|    Py_INCREF(obj);
  ------------------
  |  |  310|     79|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     79|    return obj;
  538|     79|}
genericaliasobject.c:Py_INCREF:
  256|     79|{
  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|     79|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     79|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 79, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|     79|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     79|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     79|        return;
  291|     79|    }
  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|    }
listobject.c:Py_DECREF:
  418|  10.8M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  10.8M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  10.8M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 6.41M, False: 4.47M]
  |  |  ------------------
  ------------------
  422|  6.41M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  6.41M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  6.41M|        return;
  424|  6.41M|    }
  425|  4.47M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  4.47M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  4.47M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 3.59M, False: 875k]
  ------------------
  427|  3.59M|        _Py_Dealloc(op);
  428|  3.59M|    }
  429|  4.47M|}
listobject.c:_Py_IsImmortal:
  127|  11.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|  11.5M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  11.5M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  11.5M|}
listobject.c:Py_XDECREF:
  518|  10.8M|{
  519|  10.8M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  10.8M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 10.6M, False: 152k]
  ------------------
  520|  10.6M|        Py_DECREF(op);
  ------------------
  |  |  430|  10.6M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  10.6M|    }
  522|  10.8M|}
listobject.c:_Py_NewRef:
  535|  9.12M|{
  536|  9.12M|    Py_INCREF(obj);
  ------------------
  |  |  310|  9.12M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.12M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.12M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  9.12M|    return obj;
  538|  9.12M|}
listobject.c:Py_INCREF:
  256|  9.26M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  9.26M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  9.26M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 5.80M, False: 3.45M]
  ------------------
  288|       |        // the object is immortal
  289|  5.80M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  5.80M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  5.80M|        return;
  291|  5.80M|    }
  292|  3.45M|    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.45M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  3.45M|#  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.45M|#endif
  308|  3.45M|}
listobject.c:_Py_XNewRef:
  541|   138k|{
  542|   138k|    Py_XINCREF(obj);
  ------------------
  |  |  514|   138k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   138k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   138k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|   138k|    return obj;
  544|   138k|}
listobject.c:Py_XINCREF:
  508|   138k|{
  509|   138k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   138k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 138k, False: 0]
  ------------------
  510|   138k|        Py_INCREF(op);
  ------------------
  |  |  310|   138k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   138k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   138k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|   138k|    }
  512|   138k|}
longobject.c:_Py_IsImmortal:
  127|  4.11M|{
  128|       |#if defined(Py_GIL_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.11M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  4.11M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  4.11M|}
longobject.c:Py_DECREF:
  418|   918k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   918k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   918k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   918k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   918k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 647k, False: 270k]
  |  |  ------------------
  ------------------
  422|   647k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   647k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   647k|        return;
  424|   647k|    }
  425|   270k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   270k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   270k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 243k, False: 26.9k]
  ------------------
  427|   243k|        _Py_Dealloc(op);
  428|   243k|    }
  429|   270k|}
longobject.c:Py_XDECREF:
  518|   710k|{
  519|   710k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   710k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 532k, False: 178k]
  ------------------
  520|   532k|        Py_DECREF(op);
  ------------------
  |  |  430|   532k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   532k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   532k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   532k|    }
  522|   710k|}
longobject.c:Py_INCREF:
  256|  1.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|  1.75M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.75M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.71M, False: 37.0k]
  ------------------
  288|       |        // the object is immortal
  289|  1.71M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.71M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.71M|        return;
  291|  1.71M|    }
  292|  37.0k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  37.0k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  37.0k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  37.0k|#endif
  308|  37.0k|}
longobject.c:_Py_NewRef:
  535|   247k|{
  536|   247k|    Py_INCREF(obj);
  ------------------
  |  |  310|   247k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   247k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   247k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   247k|    return obj;
  538|   247k|}
longobject.c:_Py_REFCNT:
  105|  47.7k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  47.7k|    #if !defined(Py_GIL_DISABLED)
  107|  47.7k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  47.7k|    }
dictobject.c:_Py_XNewRef:
  541|  1.14M|{
  542|  1.14M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  1.14M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  1.14M|    return obj;
  544|  1.14M|}
dictobject.c:Py_XINCREF:
  508|  1.14M|{
  509|  1.14M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.14M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 353k, False: 788k]
  ------------------
  510|   353k|        Py_INCREF(op);
  ------------------
  |  |  310|   353k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   353k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   353k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|   353k|    }
  512|  1.14M|}
dictobject.c:_Py_IsImmortal:
  127|  13.2M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  13.2M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  13.2M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  13.2M|}
dictobject.c:_Py_IsStaticImmortal:
  141|  37.6k|{
  142|  37.6k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  37.6k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  37.6k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  37.6k|}
dictobject.c:Py_INCREF:
  256|  18.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|  18.8M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  18.8M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 11.0M, False: 7.74M]
  ------------------
  288|       |        // the object is immortal
  289|  11.0M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  11.0M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  11.0M|        return;
  291|  11.0M|    }
  292|  7.74M|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  7.74M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  7.74M|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  7.74M|#endif
  308|  7.74M|}
dictobject.c:Py_DECREF:
  418|  11.3M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  11.3M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  11.3M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 7.53M, False: 3.78M]
  |  |  ------------------
  ------------------
  422|  7.53M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  7.53M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  7.53M|        return;
  424|  7.53M|    }
  425|  3.78M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.78M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.78M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.39M, False: 2.38M]
  ------------------
  427|  1.39M|        _Py_Dealloc(op);
  428|  1.39M|    }
  429|  3.78M|}
dictobject.c:_Py_REFCNT:
  105|  8.34M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  8.34M|    #if !defined(Py_GIL_DISABLED)
  107|  8.34M|        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.34M|    }
dictobject.c:_Py_NewRef:
  535|  17.1M|{
  536|  17.1M|    Py_INCREF(obj);
  ------------------
  |  |  310|  17.1M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  17.1M|    return obj;
  538|  17.1M|}
dictobject.c:Py_XDECREF:
  518|  8.99M|{
  519|  8.99M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  8.99M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 8.98M, False: 2.34k]
  ------------------
  520|  8.98M|        Py_DECREF(op);
  ------------------
  |  |  430|  8.98M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.98M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.98M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  8.98M|    }
  522|  8.99M|}
dictobject.c:Py_SET_REFCNT:
  154|  1.87M|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  1.87M|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 1.87M, 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|  1.87M|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  1.87M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.87M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.87M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 1.87M]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  1.87M|#ifndef Py_GIL_DISABLED
  170|  1.87M|#if SIZEOF_VOID_P > 4
  171|  1.87M|    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|  1.87M|#endif  // Py_LIMITED_API
  199|  1.87M|}
moduleobject.c:Py_SET_REFCNT:
  154|     51|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|     51|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 51, 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|     51|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  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: 51, False: 0]
  |  |  ------------------
  ------------------
  167|     51|        return;
  168|     51|    }
  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|   345k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   345k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   345k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   345k|}
moduleobject.c:_Py_NewRef:
  535|    174|{
  536|    174|    Py_INCREF(obj);
  ------------------
  |  |  310|    174|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    174|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    174|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    174|    return obj;
  538|    174|}
moduleobject.c:Py_INCREF:
  256|    174|{
  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|    174|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    174|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 80, False: 94]
  ------------------
  288|       |        // the object is immortal
  289|     80|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     80|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     80|        return;
  291|     80|    }
  292|     94|    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|     94|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     94|#  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|     94|#endif
  308|     94|}
moduleobject.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: 343k, False: 2.17k]
  |  |  ------------------
  ------------------
  422|   343k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   343k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   343k|        return;
  424|   343k|    }
  425|  2.17k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.17k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.17k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1, False: 2.17k]
  ------------------
  427|      1|        _Py_Dealloc(op);
  428|      1|    }
  429|  2.17k|}
moduleobject.c:Py_XDECREF:
  518|    327|{
  519|    327|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    327|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 132, False: 195]
  ------------------
  520|    132|        Py_DECREF(op);
  ------------------
  |  |  430|    132|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    132|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    132|    }
  522|    327|}
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|  7.18k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  7.18k|    #if !defined(Py_GIL_DISABLED)
  107|  7.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|  7.18k|    }
object.c:Py_XDECREF:
  518|    536|{
  519|    536|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    536|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 22, False: 514]
  ------------------
  520|     22|        Py_DECREF(op);
  ------------------
  |  |  430|     22|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     22|    }
  522|    536|}
object.c:Py_INCREF:
  256|  11.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|  11.7M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  11.7M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 8.39M, False: 3.35M]
  ------------------
  288|       |        // the object is immortal
  289|  8.39M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  8.39M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  8.39M|        return;
  291|  8.39M|    }
  292|  3.35M|    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.35M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  3.35M|#  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.35M|#endif
  308|  3.35M|}
object.c:Py_DECREF:
  418|  11.5M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  11.5M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  11.5M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 8.24M, False: 3.30M]
  |  |  ------------------
  ------------------
  422|  8.24M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  8.24M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  8.24M|        return;
  424|  8.24M|    }
  425|  3.30M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.30M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.30M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2.57k, False: 3.30M]
  ------------------
  427|  2.57k|        _Py_Dealloc(op);
  428|  2.57k|    }
  429|  3.30M|}
object.c:_Py_NewRef:
  535|   102k|{
  536|   102k|    Py_INCREF(obj);
  ------------------
  |  |  310|   102k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   102k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   102k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   102k|    return obj;
  538|   102k|}
object.c:_Py_IsImmortal:
  127|  19.9M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  19.9M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  19.9M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  19.9M|}
object.c:_Py_IsStaticImmortal:
  141|  1.91M|{
  142|  1.91M|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  1.91M|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  1.91M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  1.91M|}
object.c:Py_SET_REFCNT:
  154|  2.87k|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  2.87k|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 2.87k, 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.87k|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  2.87k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 2.87k]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  2.87k|#ifndef Py_GIL_DISABLED
  170|  2.87k|#if SIZEOF_VOID_P > 4
  171|  2.87k|    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.87k|#endif  // Py_LIMITED_API
  199|  2.87k|}
rangeobject.c:Py_DECREF:
  418|  1.73k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.73k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.73k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.69k, False: 41]
  |  |  ------------------
  ------------------
  422|  1.69k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.69k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.69k|        return;
  424|  1.69k|    }
  425|     41|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     41|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     41|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 17, False: 24]
  ------------------
  427|     17|        _Py_Dealloc(op);
  428|     17|    }
  429|     41|}
rangeobject.c:_Py_IsImmortal:
  127|  1.73k|{
  128|       |#if defined(Py_GIL_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.73k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.73k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.73k|}
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|  1.05M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.05M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.05M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 552k, False: 501k]
  |  |  ------------------
  ------------------
  422|   552k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   552k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   552k|        return;
  424|   552k|    }
  425|   501k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   501k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   501k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 18.3k, False: 483k]
  ------------------
  427|  18.3k|        _Py_Dealloc(op);
  428|  18.3k|    }
  429|   501k|}
setobject.c:_Py_IsImmortal:
  127|  1.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|  1.05M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.05M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.05M|}
setobject.c:Py_INCREF:
  256|  1.38M|{
  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.38M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.38M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 568k, False: 820k]
  ------------------
  288|       |        // the object is immortal
  289|   568k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   568k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   568k|        return;
  291|   568k|    }
  292|   820k|    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|   820k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   820k|#  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|   820k|#endif
  308|   820k|}
setobject.c:Py_XDECREF:
  518|  57.3k|{
  519|  57.3k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  57.3k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 2, False: 57.3k]
  ------------------
  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|  57.3k|}
setobject.c:_Py_REFCNT:
  105|   716k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|   716k|    #if !defined(Py_GIL_DISABLED)
  107|   716k|        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|   716k|    }
setobject.c:_Py_NewRef:
  535|  1.25M|{
  536|  1.25M|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.25M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.25M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.25M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  1.25M|    return obj;
  538|  1.25M|}
sliceobject.c:Py_DECREF:
  418|   136k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   136k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   136k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   136k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   136k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 111k, False: 25.0k]
  |  |  ------------------
  ------------------
  422|   111k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   111k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   111k|        return;
  424|   111k|    }
  425|  25.0k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  25.0k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  25.0k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 20.5k, False: 4.51k]
  ------------------
  427|  20.5k|        _Py_Dealloc(op);
  428|  20.5k|    }
  429|  25.0k|}
sliceobject.c:_Py_IsImmortal:
  127|   136k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   136k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   136k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   136k|}
sliceobject.c:_Py_NewRef:
  535|   118k|{
  536|   118k|    Py_INCREF(obj);
  ------------------
  |  |  310|   118k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   118k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   118k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   118k|    return obj;
  538|   118k|}
sliceobject.c:Py_INCREF:
  256|   118k|{
  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|   118k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   118k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 111k, False: 7.40k]
  ------------------
  288|       |        // the object is immortal
  289|   111k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   111k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   111k|        return;
  291|   111k|    }
  292|  7.40k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  7.40k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  7.40k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  7.40k|#endif
  308|  7.40k|}
structseq.c:_Py_IsImmortal:
  127|  10.2k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  10.2k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  10.2k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  10.2k|}
structseq.c:Py_XDECREF:
  518|  9.56k|{
  519|  9.56k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  9.56k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 9.56k, False: 0]
  ------------------
  520|  9.56k|        Py_DECREF(op);
  ------------------
  |  |  430|  9.56k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  9.56k|    }
  522|  9.56k|}
structseq.c:Py_DECREF:
  418|  10.2k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  10.2k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  10.2k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.65k, False: 7.54k]
  |  |  ------------------
  ------------------
  422|  2.65k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  2.65k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  2.65k|        return;
  424|  2.65k|    }
  425|  7.54k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  7.54k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  7.54k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 6.54k, False: 1.00k]
  ------------------
  427|  6.54k|        _Py_Dealloc(op);
  428|  6.54k|    }
  429|  7.54k|}
tupleobject.c:_Py_REFCNT:
  105|  56.3k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  56.3k|    #if !defined(Py_GIL_DISABLED)
  107|  56.3k|        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|  56.3k|    }
tupleobject.c:Py_XDECREF:
  518|   334M|{
  519|   334M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   334M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 334M, False: 9.81k]
  ------------------
  520|   334M|        Py_DECREF(op);
  ------------------
  |  |  430|   334M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   334M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   334M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   334M|    }
  522|   334M|}
tupleobject.c:_Py_NewRef:
  535|   214M|{
  536|   214M|    Py_INCREF(obj);
  ------------------
  |  |  310|   214M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   214M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   214M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   214M|    return obj;
  538|   214M|}
tupleobject.c:Py_INCREF:
  256|   214M|{
  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|   214M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   214M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 55.5M, False: 159M]
  ------------------
  288|       |        // the object is immortal
  289|  55.5M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  55.5M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  55.5M|        return;
  291|  55.5M|    }
  292|   159M|    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|   159M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   159M|#  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|   159M|#endif
  308|   159M|}
tupleobject.c:Py_DECREF:
  418|   334M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   334M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   334M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   334M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   334M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 57.1M, False: 277M]
  |  |  ------------------
  ------------------
  422|  57.1M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  57.1M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  57.1M|        return;
  424|  57.1M|    }
  425|   277M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   277M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   277M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 53.3M, False: 223M]
  ------------------
  427|  53.3M|        _Py_Dealloc(op);
  428|  53.3M|    }
  429|   277M|}
tupleobject.c:_Py_IsImmortal:
  127|   334M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   334M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   334M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   334M|}
typeobject.c:_Py_NewRef:
  535|  30.7k|{
  536|  30.7k|    Py_INCREF(obj);
  ------------------
  |  |  310|  30.7k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  30.7k|    return obj;
  538|  30.7k|}
typeobject.c:_Py_XNewRef:
  541|  1.57k|{
  542|  1.57k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  1.57k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  1.57k|    return obj;
  544|  1.57k|}
typeobject.c:Py_XINCREF:
  508|  2.34k|{
  509|  2.34k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.34k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 991, False: 1.35k]
  ------------------
  510|    991|        Py_INCREF(op);
  ------------------
  |  |  310|    991|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    991|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    991|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    991|    }
  512|  2.34k|}
typeobject.c:Py_INCREF:
  256|  1.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|  1.47M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.47M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.00M, False: 475k]
  ------------------
  288|       |        // the object is immortal
  289|  1.00M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.00M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.00M|        return;
  291|  1.00M|    }
  292|   475k|    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|   475k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   475k|#  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|   475k|#endif
  308|   475k|}
typeobject.c:Py_DECREF:
  418|   172k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   172k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   172k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   172k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   172k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 51.5k, False: 120k]
  |  |  ------------------
  ------------------
  422|  51.5k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  51.5k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  51.5k|        return;
  424|  51.5k|    }
  425|   120k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   120k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   120k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 3.59k, False: 116k]
  ------------------
  427|  3.59k|        _Py_Dealloc(op);
  428|  3.59k|    }
  429|   120k|}
typeobject.c:_Py_IsImmortal:
  127|  1.23M|{
  128|       |#if defined(Py_GIL_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.23M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.23M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.23M|}
typeobject.c:_Py_REFCNT:
  105|  2.59k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  2.59k|    #if !defined(Py_GIL_DISABLED)
  107|  2.59k|        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.59k|    }
typeobject.c:_Py_IsStaticImmortal:
  141|   324k|{
  142|   324k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|   324k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|   324k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|   324k|}
typeobject.c:Py_XDECREF:
  518|  9.11k|{
  519|  9.11k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  9.11k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 2.73k, False: 6.38k]
  ------------------
  520|  2.73k|        Py_DECREF(op);
  ------------------
  |  |  430|  2.73k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  2.73k|    }
  522|  9.11k|}
unicode_formatter.c:Py_XDECREF:
  518|    132|{
  519|    132|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    132|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 132]
  ------------------
  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|    132|}
unicode_writer.c:Py_DECREF:
  418|  99.4k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  99.4k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  99.4k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  99.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  99.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 99.4k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  99.4k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  99.4k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  99.4k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 99.4k, False: 0]
  ------------------
  427|  99.4k|        _Py_Dealloc(op);
  428|  99.4k|    }
  429|  99.4k|}
unicode_writer.c:_Py_IsImmortal:
  127|  99.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|  99.4k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  99.4k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  99.4k|}
unicodeobject.c:Py_DECREF:
  418|   794k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   794k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   794k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   794k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   794k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 89.0k, False: 705k]
  |  |  ------------------
  ------------------
  422|  89.0k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  89.0k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  89.0k|        return;
  424|  89.0k|    }
  425|   705k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   705k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   705k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 202k, False: 503k]
  ------------------
  427|   202k|        _Py_Dealloc(op);
  428|   202k|    }
  429|   705k|}
unicodeobject.c:_Py_IsImmortal:
  127|  24.5M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  24.5M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  24.5M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  24.5M|}
unicodeobject.c:_Py_REFCNT:
  105|   262k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|   262k|    #if !defined(Py_GIL_DISABLED)
  107|   262k|        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|   262k|    }
unicodeobject.c:_Py_NewRef:
  535|   497k|{
  536|   497k|    Py_INCREF(obj);
  ------------------
  |  |  310|   497k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   497k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   497k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   497k|    return obj;
  538|   497k|}
unicodeobject.c:Py_XDECREF:
  518|   672k|{
  519|   672k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   672k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 131k, False: 541k]
  ------------------
  520|   131k|        Py_DECREF(op);
  ------------------
  |  |  430|   131k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   131k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   131k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   131k|    }
  522|   672k|}
unicodeobject.c:Py_INCREF:
  256|  24.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|  24.0M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  24.0M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 23.5M, False: 434k]
  ------------------
  288|       |        // the object is immortal
  289|  23.5M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  23.5M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  23.5M|        return;
  291|  23.5M|    }
  292|   434k|    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|   434k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   434k|#  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|   434k|#endif
  308|   434k|}
unicodeobject.c:Py_SET_REFCNT:
  154|  30.9k|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  30.9k|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 30.9k, 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|  30.9k|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  30.9k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 30.9k]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  30.9k|#ifndef Py_GIL_DISABLED
  170|  30.9k|#if SIZEOF_VOID_P > 4
  171|  30.9k|    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|  30.9k|#endif  // Py_LIMITED_API
  199|  30.9k|}
unionobject.c:Py_DECREF:
  418|     92|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     92|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     92|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 92]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|     92|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     92|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     92|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 92, False: 0]
  ------------------
  427|     92|        _Py_Dealloc(op);
  428|     92|    }
  429|     92|}
unionobject.c:_Py_IsImmortal:
  127|     92|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     92|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     92|}
unionobject.c:Py_XDECREF:
  518|     49|{
  519|     49|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     49|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 2, False: 47]
  ------------------
  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|     49|}
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|  2.47k|{
  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.47k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.47k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 194, False: 2.27k]
  ------------------
  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|  2.27k|    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.27k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.27k|#  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.27k|#endif
  308|  2.27k|}
weakrefobject.c:_Py_XNewRef:
  541|  2.25k|{
  542|  2.25k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  2.25k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  2.25k|    return obj;
  544|  2.25k|}
weakrefobject.c:Py_XINCREF:
  508|  2.25k|{
  509|  2.25k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.25k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 843, False: 1.41k]
  ------------------
  510|    843|        Py_INCREF(op);
  ------------------
  |  |  310|    843|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    843|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    843|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    843|    }
  512|  2.25k|}
weakrefobject.c:Py_DECREF:
  418|  1.61k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.61k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.61k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 858, False: 761]
  |  |  ------------------
  ------------------
  422|    858|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    858|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    858|        return;
  424|    858|    }
  425|    761|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    761|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    761|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 730, False: 31]
  ------------------
  427|    730|        _Py_Dealloc(op);
  428|    730|    }
  429|    761|}
weakrefobject.c:_Py_IsImmortal:
  127|  1.61k|{
  128|       |#if defined(Py_GIL_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.61k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.61k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.61k|}
weakrefobject.c:_Py_REFCNT:
  105|   467k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|   467k|    #if !defined(Py_GIL_DISABLED)
  107|   467k|        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|   467k|    }
weakrefobject.c:Py_XDECREF:
  518|  1.47k|{
  519|  1.47k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.47k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 27, False: 1.44k]
  ------------------
  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|  1.47k|}
_warnings.c:_Py_NewRef:
  535|  96.9k|{
  536|  96.9k|    Py_INCREF(obj);
  ------------------
  |  |  310|  96.9k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  96.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  96.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  96.9k|    return obj;
  538|  96.9k|}
_warnings.c:Py_INCREF:
  256|   387k|{
  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|   387k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   387k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 96.9k, False: 290k]
  ------------------
  288|       |        // the object is immortal
  289|  96.9k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  96.9k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  96.9k|        return;
  291|  96.9k|    }
  292|   290k|    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|   290k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   290k|#  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|   290k|#endif
  308|   290k|}
_warnings.c:Py_DECREF:
  418|  1.01M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.01M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.01M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 192k, False: 825k]
  |  |  ------------------
  ------------------
  422|   192k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   192k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   192k|        return;
  424|   192k|    }
  425|   825k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   825k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   825k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 146k, False: 678k]
  ------------------
  427|   146k|        _Py_Dealloc(op);
  428|   146k|    }
  429|   825k|}
_warnings.c:_Py_IsImmortal:
  127|  1.01M|{
  128|       |#if defined(Py_GIL_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.01M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.01M|}
_warnings.c:Py_XDECREF:
  518|   242k|{
  519|   242k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   242k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 242k, False: 0]
  ------------------
  520|   242k|        Py_DECREF(op);
  ------------------
  |  |  430|   242k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   242k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   242k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   242k|    }
  522|   242k|}
bltinmodule.c:Py_XDECREF:
  518|  3.79k|{
  519|  3.79k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  3.79k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 3.04k, False: 751]
  ------------------
  520|  3.04k|        Py_DECREF(op);
  ------------------
  |  |  430|  3.04k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  3.04k|    }
  522|  3.79k|}
bltinmodule.c:_Py_NewRef:
  535|  2.66k|{
  536|  2.66k|    Py_INCREF(obj);
  ------------------
  |  |  310|  2.66k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  2.66k|    return obj;
  538|  2.66k|}
bltinmodule.c:Py_INCREF:
  256|  3.76k|{
  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.76k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  3.76k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.17k, False: 2.58k]
  ------------------
  288|       |        // the object is immortal
  289|  1.17k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.17k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.17k|        return;
  291|  1.17k|    }
  292|  2.58k|    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.58k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.58k|#  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.58k|#endif
  308|  2.58k|}
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|   409k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   409k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   409k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   409k|}
bltinmodule.c:Py_DECREF:
  418|   409k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   409k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   409k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   409k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   409k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 365k, False: 43.4k]
  |  |  ------------------
  ------------------
  422|   365k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   365k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   365k|        return;
  424|   365k|    }
  425|  43.4k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  43.4k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  43.4k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 38.2k, False: 5.19k]
  ------------------
  427|  38.2k|        _Py_Dealloc(op);
  428|  38.2k|    }
  429|  43.4k|}
ceval.c:_Py_IsImmortal:
  127|  68.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|  68.0M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  68.0M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  68.0M|}
ceval.c:_Py_NewRef:
  535|  1.23M|{
  536|  1.23M|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.23M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  1.23M|    return obj;
  538|  1.23M|}
ceval.c:_Py_IsStaticImmortal:
  141|   116M|{
  142|   116M|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|   116M|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|   116M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|   116M|}
ceval.c:_Py_REFCNT:
  105|  21.4k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  21.4k|    #if !defined(Py_GIL_DISABLED)
  107|  21.4k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  21.4k|    }
ceval.c:Py_INCREF:
  256|  1.77M|{
  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.77M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.77M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.04M, False: 729k]
  ------------------
  288|       |        // the object is immortal
  289|  1.04M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.04M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.04M|        return;
  291|  1.04M|    }
  292|   729k|    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|   729k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   729k|#  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|   729k|#endif
  308|   729k|}
ceval.c:Py_XDECREF:
  518|  1.87k|{
  519|  1.87k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.87k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 33, False: 1.84k]
  ------------------
  520|     33|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     33|    }
  522|  1.87k|}
ceval.c:Py_DECREF:
  418|     33|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     33|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     33|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2, False: 31]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|     31|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     31|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     31|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 9, False: 22]
  ------------------
  427|      9|        _Py_Dealloc(op);
  428|      9|    }
  429|     31|}
ceval.c:Py_XINCREF:
  508|   154k|{
  509|   154k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   154k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 13.4k, False: 141k]
  ------------------
  510|  13.4k|        Py_INCREF(op);
  ------------------
  |  |  310|  13.4k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  13.4k|    }
  512|   154k|}
ceval.c:_Py_XNewRef:
  541|  12.7k|{
  542|  12.7k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  12.7k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  12.7k|    return obj;
  544|  12.7k|}
codecs.c:Py_DECREF:
  418|   246k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   246k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   246k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   246k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   246k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 82.7k, False: 163k]
  |  |  ------------------
  ------------------
  422|  82.7k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  82.7k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  82.7k|        return;
  424|  82.7k|    }
  425|   163k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   163k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   163k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 80.2k, False: 83.0k]
  ------------------
  427|  80.2k|        _Py_Dealloc(op);
  428|  80.2k|    }
  429|   163k|}
codecs.c:_Py_IsImmortal:
  127|   246k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   246k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   246k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   246k|}
codecs.c:_Py_NewRef:
  535|   121k|{
  536|   121k|    Py_INCREF(obj);
  ------------------
  |  |  310|   121k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   121k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   121k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   121k|    return obj;
  538|   121k|}
codecs.c:Py_INCREF:
  256|   121k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|   121k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   121k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 2.62k, False: 118k]
  ------------------
  288|       |        // the object is immortal
  289|  2.62k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  2.62k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  2.62k|        return;
  291|  2.62k|    }
  292|   118k|    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|   118k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   118k|#  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|   118k|#endif
  308|   118k|}
codecs.c:Py_XDECREF:
  518|  5.97k|{
  519|  5.97k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  5.97k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 3.98k, False: 1.99k]
  ------------------
  520|  3.98k|        Py_DECREF(op);
  ------------------
  |  |  430|  3.98k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  3.98k|    }
  522|  5.97k|}
codegen.c:Py_DECREF:
  418|   796k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   796k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   796k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   796k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   796k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 662k, False: 134k]
  |  |  ------------------
  ------------------
  422|   662k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   662k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   662k|        return;
  424|   662k|    }
  425|   134k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   134k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   134k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 35.3k, False: 99.4k]
  ------------------
  427|  35.3k|        _Py_Dealloc(op);
  428|  35.3k|    }
  429|   134k|}
codegen.c:_Py_IsImmortal:
  127|   796k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   796k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   796k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   796k|}
codegen.c:_Py_NewRef:
  535|  19.0k|{
  536|  19.0k|    Py_INCREF(obj);
  ------------------
  |  |  310|  19.0k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  19.0k|    return obj;
  538|  19.0k|}
codegen.c:Py_INCREF:
  256|  25.9k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  25.9k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  25.9k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 25.7k, False: 167]
  ------------------
  288|       |        // the object is immortal
  289|  25.7k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  25.7k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  25.7k|        return;
  291|  25.7k|    }
  292|    167|    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|    167|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    167|#  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|    167|#endif
  308|    167|}
codegen.c:Py_XDECREF:
  518|    278|{
  519|    278|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    278|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 75, False: 203]
  ------------------
  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|    278|}
compile.c:Py_DECREF:
  418|  7.93M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  7.93M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  7.93M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.93M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.93M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 3.59M, False: 4.34M]
  |  |  ------------------
  ------------------
  422|  3.59M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  3.59M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  3.59M|        return;
  424|  3.59M|    }
  425|  4.34M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  4.34M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  4.34M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.88M, False: 2.45M]
  ------------------
  427|  1.88M|        _Py_Dealloc(op);
  428|  1.88M|    }
  429|  4.34M|}
compile.c:_Py_IsImmortal:
  127|  7.93M|{
  128|       |#if defined(Py_GIL_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.93M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  7.93M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  7.93M|}
compile.c:_Py_NewRef:
  535|  1.11M|{
  536|  1.11M|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.11M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.11M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.11M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  1.11M|    return obj;
  538|  1.11M|}
compile.c:Py_XDECREF:
  518|   234k|{
  519|   234k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   234k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 102k, False: 131k]
  ------------------
  520|   102k|        Py_DECREF(op);
  ------------------
  |  |  430|   102k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   102k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   102k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   102k|    }
  522|   234k|}
compile.c:_Py_XNewRef:
  541|   102k|{
  542|   102k|    Py_XINCREF(obj);
  ------------------
  |  |  514|   102k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   102k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   102k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|   102k|    return obj;
  544|   102k|}
compile.c:Py_XINCREF:
  508|   102k|{
  509|   102k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   102k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 37.0k, False: 65.7k]
  ------------------
  510|  37.0k|        Py_INCREF(op);
  ------------------
  |  |  310|  37.0k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  37.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  37.0k|    }
  512|   102k|}
compile.c:Py_INCREF:
  256|  1.14M|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  1.14M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.14M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 369k, False: 779k]
  ------------------
  288|       |        // the object is immortal
  289|   369k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   369k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   369k|        return;
  291|   369k|    }
  292|   779k|    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|   779k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   779k|#  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|   779k|#endif
  308|   779k|}
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|  48.4k|{
  509|  48.4k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  48.4k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 0, False: 48.4k]
  ------------------
  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|  48.4k|}
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|   504k|{
  519|   504k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   504k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 140k, False: 363k]
  ------------------
  520|   140k|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   140k|    }
  522|   504k|}
errors.c:Py_DECREF:
  418|   338k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   338k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   338k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   338k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   338k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 121k, False: 216k]
  |  |  ------------------
  ------------------
  422|   121k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   121k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   121k|        return;
  424|   121k|    }
  425|   216k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   216k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   216k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 79.9k, False: 137k]
  ------------------
  427|  79.9k|        _Py_Dealloc(op);
  428|  79.9k|    }
  429|   216k|}
errors.c:_Py_IsImmortal:
  127|   338k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   338k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   338k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   338k|}
errors.c:Py_XINCREF:
  508|   115k|{
  509|   115k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   115k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 115k, False: 0]
  ------------------
  510|   115k|        Py_INCREF(op);
  ------------------
  |  |  310|   115k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   115k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   115k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|   115k|    }
  512|   115k|}
errors.c:Py_INCREF:
  256|   241k|{
  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|   241k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   241k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 124k, False: 117k]
  ------------------
  288|       |        // the object is immortal
  289|   124k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   124k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   124k|        return;
  291|   124k|    }
  292|   117k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|   117k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   117k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|   117k|#endif
  308|   117k|}
errors.c:_Py_NewRef:
  535|   124k|{
  536|   124k|    Py_INCREF(obj);
  ------------------
  |  |  310|   124k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   124k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   124k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   124k|    return obj;
  538|   124k|}
flowgraph.c:_Py_NewRef:
  535|  3.00M|{
  536|  3.00M|    Py_INCREF(obj);
  ------------------
  |  |  310|  3.00M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.00M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  3.00M|    return obj;
  538|  3.00M|}
flowgraph.c:Py_INCREF:
  256|  3.00M|{
  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.00M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  3.00M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.07M, False: 1.93M]
  ------------------
  288|       |        // the object is immortal
  289|  1.07M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.07M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.07M|        return;
  291|  1.07M|    }
  292|  1.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|  1.93M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.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|  1.93M|#endif
  308|  1.93M|}
flowgraph.c:_Py_IsImmortal:
  127|  4.82M|{
  128|       |#if defined(Py_GIL_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.82M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  4.82M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  4.82M|}
flowgraph.c:Py_DECREF:
  418|  4.03M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  4.03M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  4.03M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.60M, False: 2.42M]
  |  |  ------------------
  ------------------
  422|  1.60M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.60M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.60M|        return;
  424|  1.60M|    }
  425|  2.42M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.42M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.42M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 4.29k, False: 2.42M]
  ------------------
  427|  4.29k|        _Py_Dealloc(op);
  428|  4.29k|    }
  429|  2.42M|}
frame.c:_Py_IsStaticImmortal:
  141|  10.0M|{
  142|  10.0M|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  10.0M|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  10.0M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  10.0M|}
frame.c:Py_DECREF:
  418|  24.0k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  24.0k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  24.0k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 24.0k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  24.0k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  24.0k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  24.0k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 18.8k, False: 5.18k]
  ------------------
  427|  18.8k|        _Py_Dealloc(op);
  428|  18.8k|    }
  429|  24.0k|}
frame.c:_Py_IsImmortal:
  127|  37.1k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  37.1k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  37.1k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  37.1k|}
frame.c:_Py_REFCNT:
  105|  23.2k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  23.2k|    #if !defined(Py_GIL_DISABLED)
  107|  23.2k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  23.2k|    }
frame.c:Py_INCREF:
  256|  5.21k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  5.21k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  5.21k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 5.21k]
  ------------------
  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.21k|    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.21k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  5.21k|#  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.21k|#endif
  308|  5.21k|}
frame.c:_Py_NewRef:
  535|  3.15k|{
  536|  3.15k|    Py_INCREF(obj);
  ------------------
  |  |  310|  3.15k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  3.15k|    return obj;
  538|  3.15k|}
gc.c:Py_DECREF:
  418|  16.9k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  16.9k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  16.9k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 16.9k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  16.9k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  16.9k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  16.9k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 15.9k, False: 983]
  ------------------
  427|  15.9k|        _Py_Dealloc(op);
  428|  15.9k|    }
  429|  16.9k|}
gc.c:_Py_IsImmortal:
  127|  96.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|  96.3M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  96.3M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  96.3M|}
gc.c:Py_INCREF:
  256|  49.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|  49.5M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  49.5M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 49.5M, False: 1.96k]
  ------------------
  288|       |        // the object is immortal
  289|  49.5M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  49.5M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  49.5M|        return;
  291|  49.5M|    }
  292|  1.96k|    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.96k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.96k|#  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.96k|#endif
  308|  1.96k|}
gc.c:_Py_REFCNT:
  105|  46.8M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  46.8M|    #if !defined(Py_GIL_DISABLED)
  107|  46.8M|        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|  46.8M|    }
gc.c:Py_XDECREF:
  518|  15.5k|{
  519|  15.5k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  15.5k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 15.5k]
  ------------------
  520|      0|        Py_DECREF(op);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      0|    }
  522|  15.5k|}
getargs.c:_Py_NewRef:
  535|    635|{
  536|    635|    Py_INCREF(obj);
  ------------------
  |  |  310|    635|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    635|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    635|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    635|    return obj;
  538|    635|}
getargs.c:Py_INCREF:
  256|    635|{
  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|    635|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    635|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 318, False: 317]
  ------------------
  288|       |        // the object is immortal
  289|    318|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    318|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    318|        return;
  291|    318|    }
  292|    317|    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|    317|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    317|#  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|    317|#endif
  308|    317|}
getargs.c:Py_DECREF:
  418|  83.3k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  83.3k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  83.3k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  83.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  83.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 81.6k, False: 1.67k]
  |  |  ------------------
  ------------------
  422|  81.6k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  81.6k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  81.6k|        return;
  424|  81.6k|    }
  425|  1.67k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.67k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.67k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 1.67k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  1.67k|}
getargs.c:_Py_IsImmortal:
  127|  83.3k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  83.3k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  83.3k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  83.3k|}
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|  1.53M|{
  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.53M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.53M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 242k, False: 1.29M]
  ------------------
  288|       |        // the object is immortal
  289|   242k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   242k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   242k|        return;
  291|   242k|    }
  292|  1.29M|    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.29M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.29M|#  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.29M|#endif
  308|  1.29M|}
import.c:Py_DECREF:
  418|  2.74M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.74M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.74M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.74M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.74M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 242k, False: 2.50M]
  |  |  ------------------
  ------------------
  422|   242k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   242k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   242k|        return;
  424|   242k|    }
  425|  2.50M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.50M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.50M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 162k, False: 2.34M]
  ------------------
  427|   162k|        _Py_Dealloc(op);
  428|   162k|    }
  429|  2.50M|}
import.c:_Py_IsImmortal:
  127|  2.74M|{
  128|       |#if defined(Py_GIL_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.74M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.74M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.74M|}
import.c:Py_XDECREF:
  518|   805k|{
  519|   805k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   805k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 805k, False: 582]
  ------------------
  520|   805k|        Py_DECREF(op);
  ------------------
  |  |  430|   805k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   805k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   805k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   805k|    }
  522|   805k|}
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|   596k|{
  536|   596k|    Py_INCREF(obj);
  ------------------
  |  |  310|   596k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   596k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   596k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   596k|    return obj;
  538|   596k|}
import.c:_Py_XNewRef:
  541|    379|{
  542|    379|    Py_XINCREF(obj);
  ------------------
  |  |  514|    379|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    379|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    379|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|    379|    return obj;
  544|    379|}
import.c:Py_XINCREF:
  508|    390|{
  509|    390|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    390|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 195, False: 195]
  ------------------
  510|    195|        Py_INCREF(op);
  ------------------
  |  |  310|    195|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    195|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    195|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    195|    }
  512|    390|}
importdl.c:Py_DECREF:
  418|    146|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    146|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    146|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    146|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    146|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 55, False: 91]
  |  |  ------------------
  ------------------
  422|     55|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     55|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     55|        return;
  424|     55|    }
  425|     91|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     91|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     91|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 53, False: 38]
  ------------------
  427|     53|        _Py_Dealloc(op);
  428|     53|    }
  429|     91|}
importdl.c:_Py_IsImmortal:
  127|    146|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    146|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    146|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    146|}
importdl.c:_Py_NewRef:
  535|     53|{
  536|     53|    Py_INCREF(obj);
  ------------------
  |  |  310|     53|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     53|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     53|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     53|    return obj;
  538|     53|}
importdl.c:Py_INCREF:
  256|     63|{
  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|     63|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     63|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 47, False: 16]
  ------------------
  288|       |        // the object is immortal
  289|     47|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     47|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     47|        return;
  291|     47|    }
  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|}
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|   107k|{
  519|   107k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   107k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 107k]
  ------------------
  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|   107k|}
instruction_sequence.c:Py_DECREF:
  418|    599|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    599|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    599|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    599|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    599|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 599]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|    599|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    599|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    599|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 599, False: 0]
  ------------------
  427|    599|        _Py_Dealloc(op);
  428|    599|    }
  429|    599|}
instruction_sequence.c:_Py_IsImmortal:
  127|    599|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    599|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    599|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    599|}
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_REFCNT:
  105|    156|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    156|    #if !defined(Py_GIL_DISABLED)
  107|    156|        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|    156|    }
marshal.c:Py_XDECREF:
  518|  34.3k|{
  519|  34.3k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  34.3k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 34.3k, False: 0]
  ------------------
  520|  34.3k|        Py_DECREF(op);
  ------------------
  |  |  430|  34.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  34.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  34.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  34.3k|    }
  522|  34.3k|}
marshal.c:_Py_NewRef:
  535|  36.3k|{
  536|  36.3k|    Py_INCREF(obj);
  ------------------
  |  |  310|  36.3k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  36.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  36.3k|    return obj;
  538|  36.3k|}
marshal.c:Py_INCREF:
  256|  36.3k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  36.3k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  36.3k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 32.5k, False: 3.74k]
  ------------------
  288|       |        // the object is immortal
  289|  32.5k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  32.5k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  32.5k|        return;
  291|  32.5k|    }
  292|  3.74k|    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.74k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  3.74k|#  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.74k|#endif
  308|  3.74k|}
marshal.c:Py_DECREF:
  418|  34.5k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  34.5k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  34.5k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  34.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  34.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 14.6k, False: 19.9k]
  |  |  ------------------
  ------------------
  422|  14.6k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  14.6k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  14.6k|        return;
  424|  14.6k|    }
  425|  19.9k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  19.9k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  19.9k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 121, False: 19.8k]
  ------------------
  427|    121|        _Py_Dealloc(op);
  428|    121|    }
  429|  19.9k|}
marshal.c:_Py_IsImmortal:
  127|  34.5k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  34.5k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  34.5k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  34.5k|}
modsupport.c:Py_INCREF:
  256|   278k|{
  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|   278k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   278k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 54.2k, False: 223k]
  ------------------
  288|       |        // the object is immortal
  289|  54.2k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  54.2k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  54.2k|        return;
  291|  54.2k|    }
  292|   223k|    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|   223k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   223k|#  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|   223k|#endif
  308|   223k|}
modsupport.c:Py_XDECREF:
  518|    644|{
  519|    644|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    644|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 644, False: 0]
  ------------------
  520|    644|        Py_DECREF(op);
  ------------------
  |  |  430|    644|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    644|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    644|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    644|    }
  522|    644|}
modsupport.c:Py_DECREF:
  418|  1.64k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.64k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.64k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 969, False: 679]
  |  |  ------------------
  ------------------
  422|    969|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    969|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    969|        return;
  424|    969|    }
  425|    679|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    679|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    679|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 679]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|    679|}
modsupport.c:_Py_IsImmortal:
  127|  1.64k|{
  128|       |#if defined(Py_GIL_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.64k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.64k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.64k|}
pyarena.c:Py_DECREF:
  418|  7.72M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  7.72M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  7.72M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.72M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.72M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 4.81M, False: 2.90M]
  |  |  ------------------
  ------------------
  422|  4.81M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  4.81M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  4.81M|        return;
  424|  4.81M|    }
  425|  2.90M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.90M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.90M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 24.5k, False: 2.88M]
  ------------------
  427|  24.5k|        _Py_Dealloc(op);
  428|  24.5k|    }
  429|  2.90M|}
pyarena.c:_Py_IsImmortal:
  127|  7.72M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  7.72M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  7.72M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  7.72M|}
pylifecycle.c:_Py_NewRef:
  535|      2|{
  536|      2|    Py_INCREF(obj);
  ------------------
  |  |  310|      2|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|      2|    return obj;
  538|      2|}
pylifecycle.c:Py_INCREF:
  256|      2|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|      2|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      2|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 2]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|      2|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|      2|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|      2|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|      2|#endif
  308|      2|}
pylifecycle.c:Py_DECREF:
  418|     72|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     72|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     72|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 14, False: 58]
  |  |  ------------------
  ------------------
  422|     14|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     14|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     14|        return;
  424|     14|    }
  425|     58|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     58|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     58|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 6, False: 52]
  ------------------
  427|      6|        _Py_Dealloc(op);
  428|      6|    }
  429|     58|}
pylifecycle.c:_Py_IsImmortal:
  127|     72|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     72|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     72|}
pylifecycle.c:Py_XDECREF:
  518|     12|{
  519|     12|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     12|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 12, False: 0]
  ------------------
  520|     12|        Py_DECREF(op);
  ------------------
  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     12|    }
  522|     12|}
pythonrun.c:Py_DECREF:
  418|  24.5k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  24.5k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  24.5k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 24.5k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  24.5k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  24.5k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  24.5k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2.26k, False: 22.2k]
  ------------------
  427|  2.26k|        _Py_Dealloc(op);
  428|  2.26k|    }
  429|  24.5k|}
pythonrun.c:_Py_IsImmortal:
  127|  24.5k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  24.5k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  24.5k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  24.5k|}
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|  1.82k|{
  519|  1.82k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.82k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 1.17k, False: 654]
  ------------------
  520|  1.17k|        Py_DECREF(op);
  ------------------
  |  |  430|  1.17k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  1.17k|    }
  522|  1.82k|}
specialize.c:Py_DECREF:
  418|  1.20k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.20k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.20k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 20, False: 1.18k]
  |  |  ------------------
  ------------------
  422|     20|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     20|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     20|        return;
  424|     20|    }
  425|  1.18k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.18k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.18k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 1.18k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  1.18k|}
specialize.c:_Py_IsImmortal:
  127|  1.20k|{
  128|       |#if defined(Py_GIL_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.20k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.20k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.20k|}
structmember.c:Py_INCREF:
  256|  3.23k|{
  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.23k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  3.23k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.87k, False: 1.35k]
  ------------------
  288|       |        // the object is immortal
  289|  1.87k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.87k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.87k|        return;
  291|  1.87k|    }
  292|  1.35k|    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.35k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.35k|#  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.35k|#endif
  308|  1.35k|}
structmember.c:Py_XINCREF:
  508|  2.71k|{
  509|  2.71k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.71k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 2.71k, False: 0]
  ------------------
  510|  2.71k|        Py_INCREF(op);
  ------------------
  |  |  310|  2.71k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  2.71k|    }
  512|  2.71k|}
structmember.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: 240, False: 6]
  |  |  ------------------
  ------------------
  422|    240|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    240|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    240|        return;
  424|    240|    }
  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|}
structmember.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|}
structmember.c:_Py_XNewRef:
  541|  2.69k|{
  542|  2.69k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  2.69k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  2.69k|    return obj;
  544|  2.69k|}
structmember.c:Py_XDECREF:
  518|  2.69k|{
  519|  2.69k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.69k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 246, False: 2.44k]
  ------------------
  520|    246|        Py_DECREF(op);
  ------------------
  |  |  430|    246|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    246|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    246|    }
  522|  2.69k|}
symtable.c:_Py_NewRef:
  535|  1.24M|{
  536|  1.24M|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.24M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.24M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  1.24M|    return obj;
  538|  1.24M|}
symtable.c:Py_INCREF:
  256|  1.24M|{
  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.24M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.24M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.20M, False: 32.0k]
  ------------------
  288|       |        // the object is immortal
  289|  1.20M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.20M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.20M|        return;
  291|  1.20M|    }
  292|  32.0k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  32.0k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  32.0k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  32.0k|#endif
  308|  32.0k|}
symtable.c:Py_XDECREF:
  518|   937k|{
  519|   937k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   937k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 700k, False: 237k]
  ------------------
  520|   700k|        Py_DECREF(op);
  ------------------
  |  |  430|   700k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   700k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   700k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   700k|    }
  522|   937k|}
symtable.c:Py_DECREF:
  418|  3.76M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.76M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.76M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.76M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.76M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.68M, False: 2.07M]
  |  |  ------------------
  ------------------
  422|  1.68M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.68M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.68M|        return;
  424|  1.68M|    }
  425|  2.07M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.07M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.07M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.00M, False: 1.07M]
  ------------------
  427|  1.00M|        _Py_Dealloc(op);
  428|  1.00M|    }
  429|  2.07M|}
symtable.c:_Py_IsImmortal:
  127|  3.76M|{
  128|       |#if defined(Py_GIL_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.76M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.76M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.76M|}
sysmodule.c:Py_XDECREF:
  518|    430|{
  519|    430|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    430|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 342, False: 88]
  ------------------
  520|    342|        Py_DECREF(op);
  ------------------
  |  |  430|    342|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    342|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    342|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    342|    }
  522|    430|}
sysmodule.c:Py_DECREF:
  418|    542|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    542|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    542|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    542|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    542|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 100, False: 442]
  |  |  ------------------
  ------------------
  422|    100|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    100|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    100|        return;
  424|    100|    }
  425|    442|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    442|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    442|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 344, False: 98]
  ------------------
  427|    344|        _Py_Dealloc(op);
  428|    344|    }
  429|    442|}
sysmodule.c:_Py_IsImmortal:
  127|    542|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    542|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    542|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    542|}
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|  46.0k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  46.0k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  46.0k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 46.0k]
  ------------------
  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|  46.0k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  46.0k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  46.0k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  46.0k|#endif
  308|  46.0k|}
traceback.c:Py_XINCREF:
  508|  86.2k|{
  509|  86.2k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  86.2k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 46.0k, False: 40.2k]
  ------------------
  510|  46.0k|        Py_INCREF(op);
  ------------------
  |  |  310|  46.0k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  46.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  46.0k|    }
  512|  86.2k|}
traceback.c:_Py_XNewRef:
  541|  86.2k|{
  542|  86.2k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  86.2k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  86.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  86.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  86.2k|    return obj;
  544|  86.2k|}
traceback.c:Py_XDECREF:
  518|   172k|{
  519|   172k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   172k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 92.0k, False: 80.4k]
  ------------------
  520|  92.0k|        Py_DECREF(op);
  ------------------
  |  |  430|  92.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  92.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  92.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  92.0k|    }
  522|   172k|}
traceback.c:Py_DECREF:
  418|  92.0k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  92.0k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  92.0k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  92.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  92.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 92.0k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  92.0k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  92.0k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  92.0k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 6.78k, False: 85.3k]
  ------------------
  427|  6.78k|        _Py_Dealloc(op);
  428|  6.78k|    }
  429|  92.0k|}
traceback.c:_Py_IsImmortal:
  127|  92.0k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  92.0k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  92.0k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  92.0k|}
typecache.c:Py_INCREF:
  256|  8.95k|{
  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.95k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  8.95k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 6.32k, False: 2.62k]
  ------------------
  288|       |        // the object is immortal
  289|  6.32k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  6.32k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  6.32k|        return;
  291|  6.32k|    }
  292|  2.62k|    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.62k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.62k|#  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.62k|#endif
  308|  2.62k|}
typecache.c:_Py_IsImmortal:
  127|  3.30M|{
  128|       |#if defined(Py_GIL_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.30M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.30M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.30M|}
typecache.c:_Py_IsStaticImmortal:
  141|  2.31M|{
  142|  2.31M|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  2.31M|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  2.31M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  2.31M|}
typecache.c:Py_DECREF:
  418|  4.71k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  4.71k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  4.71k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.95k, False: 1.75k]
  |  |  ------------------
  ------------------
  422|  2.95k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  2.95k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  2.95k|        return;
  424|  2.95k|    }
  425|  1.75k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.75k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.75k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 1.75k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  1.75k|}
fileutils.c:Py_DECREF:
  418|  5.51k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  5.51k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  5.51k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 5.51k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  5.51k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  5.51k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  5.51k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 5.51k, False: 0]
  ------------------
  427|  5.51k|        _Py_Dealloc(op);
  428|  5.51k|    }
  429|  5.51k|}
fileutils.c:_Py_IsImmortal:
  127|  5.51k|{
  128|       |#if defined(Py_GIL_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.51k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  5.51k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  5.51k|}
posixmodule.c:Py_DECREF:
  418|  2.32k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.32k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.32k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 338, False: 1.98k]
  |  |  ------------------
  ------------------
  422|    338|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    338|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    338|        return;
  424|    338|    }
  425|  1.98k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.98k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.98k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 533, False: 1.45k]
  ------------------
  427|    533|        _Py_Dealloc(op);
  428|    533|    }
  429|  1.98k|}
posixmodule.c:_Py_IsImmortal:
  127|  2.32k|{
  128|       |#if defined(Py_GIL_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.32k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.32k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.32k|}
posixmodule.c:_Py_NewRef:
  535|  5.93k|{
  536|  5.93k|    Py_INCREF(obj);
  ------------------
  |  |  310|  5.93k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  5.93k|    return obj;
  538|  5.93k|}
posixmodule.c:Py_INCREF:
  256|  6.47k|{
  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.47k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  6.47k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 12, False: 6.46k]
  ------------------
  288|       |        // the object is immortal
  289|     12|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     12|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     12|        return;
  291|     12|    }
  292|  6.46k|    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.46k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  6.46k|#  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.46k|#endif
  308|  6.46k|}
_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|    550|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    550|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    550|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    550|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    550|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 192, False: 358]
  |  |  ------------------
  ------------------
  422|    192|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    192|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    192|        return;
  424|    192|    }
  425|    358|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    358|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    358|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 182, False: 176]
  ------------------
  427|    182|        _Py_Dealloc(op);
  428|    182|    }
  429|    358|}
_iomodule.c:_Py_IsImmortal:
  127|    550|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    550|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    550|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    550|}
_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|    170|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    170|    #if !defined(Py_GIL_DISABLED)
  107|    170|        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|    170|    }
iobase.c:Py_DECREF:
  418|    346|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    346|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    346|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    346|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    346|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 346, False: 0]
  |  |  ------------------
  ------------------
  422|    346|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    346|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    346|        return;
  424|    346|    }
  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|    346|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    346|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    346|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    346|}
iobase.c:Py_INCREF:
  256|     85|{
  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|     85|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     85|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 85]
  ------------------
  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|     85|    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|     85|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     85|#  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|     85|#endif
  308|     85|}
iobase.c:_Py_NewRef:
  535|     85|{
  536|     85|    Py_INCREF(obj);
  ------------------
  |  |  310|     85|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     85|    return obj;
  538|     85|}
fileio.c:_Py_REFCNT:
  105|     85|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|     85|    #if !defined(Py_GIL_DISABLED)
  107|     85|        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|     85|    }
fileio.c:Py_DECREF:
  418|    255|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    255|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    255|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    255|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    255|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 255]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|    255|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    255|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    255|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 170, False: 85]
  ------------------
  427|    170|        _Py_Dealloc(op);
  428|    170|    }
  429|    255|}
fileio.c:_Py_IsImmortal:
  127|    255|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    255|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    255|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    255|}
bufferedio.c:Py_DECREF:
  418|   145k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   145k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   145k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   145k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   145k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 97.0k, False: 48.8k]
  |  |  ------------------
  ------------------
  422|  97.0k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  97.0k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  97.0k|        return;
  424|  97.0k|    }
  425|  48.8k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  48.8k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  48.8k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 48.6k, False: 261]
  ------------------
  427|  48.6k|        _Py_Dealloc(op);
  428|  48.6k|    }
  429|  48.8k|}
bufferedio.c:_Py_IsImmortal:
  127|   145k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   145k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   145k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   145k|}
bufferedio.c:_Py_REFCNT:
  105|     85|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|     85|    #if !defined(Py_GIL_DISABLED)
  107|     85|        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|     85|    }
bufferedio.c:Py_XDECREF:
  518|    346|{
  519|    346|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    346|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 85, False: 261]
  ------------------
  520|     85|        Py_DECREF(op);
  ------------------
  |  |  430|     85|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     85|    }
  522|    346|}
bufferedio.c:_Py_NewRef:
  535|     87|{
  536|     87|    Py_INCREF(obj);
  ------------------
  |  |  310|     87|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     87|    return obj;
  538|     87|}
bufferedio.c:Py_INCREF:
  256|    176|{
  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|    176|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    176|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 176]
  ------------------
  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|    176|    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|    176|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    176|#  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|    176|#endif
  308|    176|}
bufferedio.c:Py_XINCREF:
  508|     85|{
  509|     85|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     85|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 85, False: 0]
  ------------------
  510|     85|        Py_INCREF(op);
  ------------------
  |  |  310|     85|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     85|    }
  512|     85|}
textio.c:_Py_NewRef:
  535|  48.4k|{
  536|  48.4k|    Py_INCREF(obj);
  ------------------
  |  |  310|  48.4k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  48.4k|    return obj;
  538|  48.4k|}
textio.c:Py_INCREF:
  256|  96.9k|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|  96.9k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  96.9k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 96.9k]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|  96.9k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  96.9k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  96.9k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  96.9k|#endif
  308|  96.9k|}
textio.c:Py_DECREF:
  418|   193k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   193k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   193k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   193k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   193k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 48.4k, False: 145k]
  |  |  ------------------
  ------------------
  422|  48.4k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  48.4k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  48.4k|        return;
  424|  48.4k|    }
  425|   145k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   145k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   145k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 48.4k, False: 96.9k]
  ------------------
  427|  48.4k|        _Py_Dealloc(op);
  428|  48.4k|    }
  429|   145k|}
textio.c:_Py_IsImmortal:
  127|   193k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   193k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   193k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   193k|}
textio.c:Py_XDECREF:
  518|     10|{
  519|     10|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     10|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 4, False: 6]
  ------------------
  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|     10|}
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|     29|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     29|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     29|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 17, False: 12]
  |  |  ------------------
  ------------------
  422|     17|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     17|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     17|        return;
  424|     17|    }
  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: 1, False: 11]
  ------------------
  427|      1|        _Py_Dealloc(op);
  428|      1|    }
  429|     12|}
sre.c:_Py_IsImmortal:
  127|     29|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     29|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     29|}
sre.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|}
sre.c:Py_INCREF:
  256|     33|{
  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|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     33|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 16, False: 17]
  ------------------
  288|       |        // the object is immortal
  289|     16|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     16|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     16|        return;
  291|     16|    }
  292|     17|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|     17|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     17|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|     17|#endif
  308|     17|}
sre.c:Py_XDECREF:
  518|      4|{
  519|      4|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      4|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 4, False: 0]
  ------------------
  520|      4|        Py_DECREF(op);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      4|    }
  522|      4|}
sre.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|    }
_threadmodule.c:Py_DECREF:
  418|    672|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    672|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    672|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    672|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    672|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 672]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|    672|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    672|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    672|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 672]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|    672|}
_threadmodule.c:_Py_IsImmortal:
  127|    672|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|    672|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    672|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    672|}
_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|     17|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     17|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     17|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 4, False: 13]
  ------------------
  288|       |        // the object is immortal
  289|      4|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      4|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      4|        return;
  291|      4|    }
  292|     13|    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|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     13|#  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|#endif
  308|     13|}
_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|     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: 2, False: 8]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|      8|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      8|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      8|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2, False: 6]
  ------------------
  427|      2|        _Py_Dealloc(op);
  428|      2|    }
  429|      8|}
_functoolsmodule.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|}
_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|     17|{
  536|     17|    Py_INCREF(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     17|    return obj;
  538|     17|}
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|}
helpers.c:Py_DECREF:
  418|  57.4k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  57.4k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  57.4k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  57.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  57.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.99k, False: 55.4k]
  |  |  ------------------
  ------------------
  422|  1.99k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.99k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.99k|        return;
  424|  1.99k|    }
  425|  55.4k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  55.4k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  55.4k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 43.9k, False: 11.4k]
  ------------------
  427|  43.9k|        _Py_Dealloc(op);
  428|  43.9k|    }
  429|  55.4k|}
helpers.c:_Py_IsImmortal:
  127|  57.4k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  57.4k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  57.4k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  57.4k|}
helpers.c:Py_XDECREF:
  518|  11.4k|{
  519|  11.4k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  11.4k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 10.9k, False: 544]
  ------------------
  520|  10.9k|        Py_DECREF(op);
  ------------------
  |  |  430|  10.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  10.9k|    }
  522|  11.4k|}
abstract.c:_Py_NewRef:
  535|  10.2M|{
  536|  10.2M|    Py_INCREF(obj);
  ------------------
  |  |  310|  10.2M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  10.2M|    return obj;
  538|  10.2M|}
abstract.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: 9.73M, False: 825k]
  ------------------
  288|       |        // the object is immortal
  289|  9.73M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  9.73M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  9.73M|        return;
  291|  9.73M|    }
  292|   825k|    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|   825k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   825k|#  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|   825k|#endif
  308|   825k|}
abstract.c:Py_DECREF:
  418|  10.6M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  10.6M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  10.6M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 9.96M, False: 651k]
  |  |  ------------------
  ------------------
  422|  9.96M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  9.96M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  9.96M|        return;
  424|  9.96M|    }
  425|   651k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   651k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   651k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 50.2k, False: 601k]
  ------------------
  427|  50.2k|        _Py_Dealloc(op);
  428|  50.2k|    }
  429|   651k|}
abstract.c:_Py_IsImmortal:
  127|  10.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|  10.6M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  10.6M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  10.6M|}
abstract.c:Py_XDECREF:
  518|  48.5k|{
  519|  48.5k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  48.5k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 48.4k, False: 132]
  ------------------
  520|  48.4k|        Py_DECREF(op);
  ------------------
  |  |  430|  48.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  48.4k|    }
  522|  48.5k|}
abstract.c:_Py_XNewRef:
  541|   398k|{
  542|   398k|    Py_XINCREF(obj);
  ------------------
  |  |  514|   398k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   398k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   398k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|   398k|    return obj;
  544|   398k|}
abstract.c:Py_XINCREF:
  508|   398k|{
  509|   398k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   398k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 326k, False: 72.1k]
  ------------------
  510|   326k|        Py_INCREF(op);
  ------------------
  |  |  310|   326k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   326k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   326k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|   326k|    }
  512|   398k|}
bytearrayobject.c:Py_DECREF:
  418|   238k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   238k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   238k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   238k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   238k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 238k, False: 300]
  |  |  ------------------
  ------------------
  422|   238k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   238k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   238k|        return;
  424|   238k|    }
  425|    300|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    300|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    300|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 300, False: 0]
  ------------------
  427|    300|        _Py_Dealloc(op);
  428|    300|    }
  429|    300|}
bytearrayobject.c:_Py_IsImmortal:
  127|   238k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   238k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   238k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   238k|}
bytearrayobject.c:Py_XDECREF:
  518|   238k|{
  519|   238k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   238k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 238k, False: 0]
  ------------------
  520|   238k|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   238k|    }
  522|   238k|}
bytearrayobject.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|}
bytearrayobject.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: 0, False: 12]
  ------------------
  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|     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|}
bytesobject.c:_Py_IsImmortal:
  127|  7.16M|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  7.16M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  7.16M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  7.16M|}
bytesobject.c:Py_INCREF:
  256|  2.53M|{
  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.53M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.53M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 2.53M, False: 235]
  ------------------
  288|       |        // the object is immortal
  289|  2.53M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  2.53M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  2.53M|        return;
  291|  2.53M|    }
  292|    235|    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|    235|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    235|#  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|    235|#endif
  308|    235|}
bytesobject.c:Py_DECREF:
  418|   458k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   458k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   458k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   458k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   458k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 353k, False: 104k]
  |  |  ------------------
  ------------------
  422|   353k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   353k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   353k|        return;
  424|   353k|    }
  425|   104k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   104k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   104k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 51.4k, False: 53.2k]
  ------------------
  427|  51.4k|        _Py_Dealloc(op);
  428|  51.4k|    }
  429|   104k|}
bytesobject.c:Py_XDECREF:
  518|  76.4k|{
  519|  76.4k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  76.4k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 2.66k, False: 73.7k]
  ------------------
  520|  2.66k|        Py_DECREF(op);
  ------------------
  |  |  430|  2.66k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  2.66k|    }
  522|  76.4k|}
bytesobject.c:_Py_NewRef:
  535|  5.44k|{
  536|  5.44k|    Py_INCREF(obj);
  ------------------
  |  |  310|  5.44k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  5.44k|    return obj;
  538|  5.44k|}
bytesobject.c:_Py_REFCNT:
  105|   417k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|   417k|    #if !defined(Py_GIL_DISABLED)
  107|   417k|        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|   417k|    }
call.c:Py_DECREF:
  418|   815k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   815k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   815k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   815k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   815k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 422k, False: 393k]
  |  |  ------------------
  ------------------
  422|   422k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   422k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   422k|        return;
  424|   422k|    }
  425|   393k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   393k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   393k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 74.6k, False: 318k]
  ------------------
  427|  74.6k|        _Py_Dealloc(op);
  428|  74.6k|    }
  429|   393k|}
call.c:_Py_IsImmortal:
  127|   815k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   815k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   815k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   815k|}
call.c:_Py_IsStaticImmortal:
  141|   147k|{
  142|   147k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|   147k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|   147k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|   147k|}
call.c:_Py_NewRef:
  535|  2.77k|{
  536|  2.77k|    Py_INCREF(obj);
  ------------------
  |  |  310|  2.77k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.77k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.77k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  2.77k|    return obj;
  538|  2.77k|}
call.c:Py_INCREF:
  256|  2.77k|{
  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.77k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.77k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.60k, False: 1.17k]
  ------------------
  288|       |        // the object is immortal
  289|  1.60k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.60k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.60k|        return;
  291|  1.60k|    }
  292|  1.17k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  1.17k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.17k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  1.17k|#endif
  308|  1.17k|}
capsule.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|}
capsule.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|}
capsule.c:Py_XDECREF:
  518|      1|{
  519|      1|    if (op != _Py_NULL) {
  ------------------
  |  |   57|      1|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 1, False: 0]
  ------------------
  520|      1|        Py_DECREF(op);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      1|    }
  522|      1|}
cellobject.c:_Py_XNewRef:
  541|  2.96k|{
  542|  2.96k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  2.96k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  2.96k|    return obj;
  544|  2.96k|}
cellobject.c:Py_XINCREF:
  508|  2.96k|{
  509|  2.96k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.96k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 1.09k, False: 1.86k]
  ------------------
  510|  1.09k|        Py_INCREF(op);
  ------------------
  |  |  310|  1.09k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  1.09k|    }
  512|  2.96k|}
cellobject.c:Py_INCREF:
  256|  1.09k|{
  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.09k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.09k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 13, False: 1.08k]
  ------------------
  288|       |        // the object is immortal
  289|     13|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     13|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     13|        return;
  291|     13|    }
  292|  1.08k|    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.08k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.08k|#  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.08k|#endif
  308|  1.08k|}
cellobject.c:Py_XDECREF:
  518|  2.80k|{
  519|  2.80k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.80k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 1.43k, False: 1.37k]
  ------------------
  520|  1.43k|        Py_DECREF(op);
  ------------------
  |  |  430|  1.43k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  1.43k|    }
  522|  2.80k|}
cellobject.c:Py_DECREF:
  418|  2.78k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  2.78k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  2.78k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 7, False: 2.78k]
  |  |  ------------------
  ------------------
  422|      7|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      7|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      7|        return;
  424|      7|    }
  425|  2.78k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.78k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.78k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.37k, False: 1.40k]
  ------------------
  427|  1.37k|        _Py_Dealloc(op);
  428|  1.37k|    }
  429|  2.78k|}
cellobject.c:_Py_IsImmortal:
  127|  2.78k|{
  128|       |#if defined(Py_GIL_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.78k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.78k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.78k|}
classobject.c:_Py_NewRef:
  535|  4.77k|{
  536|  4.77k|    Py_INCREF(obj);
  ------------------
  |  |  310|  4.77k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.77k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.77k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  4.77k|    return obj;
  538|  4.77k|}
classobject.c:Py_INCREF:
  256|  4.77k|{
  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.77k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  4.77k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 4.77k]
  ------------------
  288|       |        // the object is immortal
  289|      0|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      0|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      0|        return;
  291|      0|    }
  292|  4.77k|    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.77k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  4.77k|#  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.77k|#endif
  308|  4.77k|}
classobject.c:_Py_REFCNT:
  105|  2.25k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  2.25k|    #if !defined(Py_GIL_DISABLED)
  107|  2.25k|        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.25k|    }
classobject.c:Py_DECREF:
  418|  4.50k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  4.50k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  4.50k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 4.50k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  4.50k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  4.50k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  4.50k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 4.50k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  4.50k|}
classobject.c:_Py_IsImmortal:
  127|  4.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|  4.50k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  4.50k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  4.50k|}
classobject.c:Py_XDECREF:
  518|  2.25k|{
  519|  2.25k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.25k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 2.25k, False: 0]
  ------------------
  520|  2.25k|        Py_DECREF(op);
  ------------------
  |  |  430|  2.25k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  2.25k|    }
  522|  2.25k|}
codeobject.c:_Py_NewRef:
  535|  64.4M|{
  536|  64.4M|    Py_INCREF(obj);
  ------------------
  |  |  310|  64.4M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  64.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  64.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  64.4M|    return obj;
  538|  64.4M|}
codeobject.c:Py_INCREF:
  256|  64.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|  64.4M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  64.4M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.98M, False: 62.4M]
  ------------------
  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|  62.4M|    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|  62.4M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  62.4M|#  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|  62.4M|#endif
  308|  62.4M|}
codeobject.c:Py_XDECREF:
  518|   560k|{
  519|   560k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   560k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 504k, False: 56.1k]
  ------------------
  520|   504k|        Py_DECREF(op);
  ------------------
  |  |  430|   504k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   504k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   504k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   504k|    }
  522|   560k|}
codeobject.c:_Py_REFCNT:
  105|   324k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|   324k|    #if !defined(Py_GIL_DISABLED)
  107|   324k|        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|   324k|    }
codeobject.c:Py_DECREF:
  418|  1.07M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.07M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.07M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.07M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.07M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 439k, False: 638k]
  |  |  ------------------
  ------------------
  422|   439k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   439k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   439k|        return;
  424|   439k|    }
  425|   638k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   638k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   638k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 154k, False: 484k]
  ------------------
  427|   154k|        _Py_Dealloc(op);
  428|   154k|    }
  429|   638k|}
codeobject.c:_Py_IsImmortal:
  127|  1.18M|{
  128|       |#if defined(Py_GIL_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.18M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.18M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.18M|}
codeobject.c:Py_SET_REFCNT:
  154|   107k|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|   107k|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 107k, 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|   107k|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|   107k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   107k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   107k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 107k]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|   107k|#ifndef Py_GIL_DISABLED
  170|   107k|#if SIZEOF_VOID_P > 4
  171|   107k|    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|   107k|#endif  // Py_LIMITED_API
  199|   107k|}
complexobject.c:_Py_IsImmortal:
  127|   187k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   187k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   187k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   187k|}
complexobject.c:Py_INCREF:
  256|   374k|{
  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|   374k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   374k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 371k, False: 3.55k]
  ------------------
  288|       |        // the object is immortal
  289|   371k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   371k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   371k|        return;
  291|   371k|    }
  292|  3.55k|    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.55k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  3.55k|#  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.55k|#endif
  308|  3.55k|}
complexobject.c:Py_DECREF:
  418|     41|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     41|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     41|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     41|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 41]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|     41|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     41|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     41|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 41, False: 0]
  ------------------
  427|     41|        _Py_Dealloc(op);
  428|     41|    }
  429|     41|}
complexobject.c:_Py_NewRef:
  535|   186k|{
  536|   186k|    Py_INCREF(obj);
  ------------------
  |  |  310|   186k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   186k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   186k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   186k|    return obj;
  538|   186k|}
descrobject.c:Py_XDECREF:
  518|    775|{
  519|    775|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    775|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 375, False: 400]
  ------------------
  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|    775|}
descrobject.c:Py_DECREF:
  418|  1.45k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.45k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.45k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 146, False: 1.30k]
  |  |  ------------------
  ------------------
  422|    146|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    146|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    146|        return;
  424|    146|    }
  425|  1.30k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.30k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.30k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 649, False: 659]
  ------------------
  427|    649|        _Py_Dealloc(op);
  428|    649|    }
  429|  1.30k|}
descrobject.c:_Py_IsImmortal:
  127|  1.45k|{
  128|       |#if defined(Py_GIL_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.45k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.45k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.45k|}
descrobject.c:_Py_XNewRef:
  541|  5.28k|{
  542|  5.28k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  5.28k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  5.28k|    return obj;
  544|  5.28k|}
descrobject.c:Py_XINCREF:
  508|  5.28k|{
  509|  5.28k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  5.28k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 5.20k, False: 74]
  ------------------
  510|  5.20k|        Py_INCREF(op);
  ------------------
  |  |  310|  5.20k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  5.20k|    }
  512|  5.28k|}
descrobject.c:Py_INCREF:
  256|  5.96k|{
  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.96k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  5.96k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 3.83k, False: 2.13k]
  ------------------
  288|       |        // the object is immortal
  289|  3.83k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  3.83k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  3.83k|        return;
  291|  3.83k|    }
  292|  2.13k|    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.13k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.13k|#  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.13k|#endif
  308|  2.13k|}
descrobject.c:_Py_NewRef:
  535|    761|{
  536|    761|    Py_INCREF(obj);
  ------------------
  |  |  310|    761|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    761|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    761|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    761|    return obj;
  538|    761|}
enumobject.c:Py_XDECREF:
  518|   112k|{
  519|   112k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   112k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 74.9k, False: 37.4k]
  ------------------
  520|  74.9k|        Py_DECREF(op);
  ------------------
  |  |  430|  74.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  74.9k|    }
  522|   112k|}
enumobject.c:Py_DECREF:
  418|  1.31M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.31M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.31M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.31M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 940k, False: 376k]
  |  |  ------------------
  ------------------
  422|   940k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   940k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   940k|        return;
  424|   940k|    }
  425|   376k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   376k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   376k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 75.2k, False: 301k]
  ------------------
  427|  75.2k|        _Py_Dealloc(op);
  428|  75.2k|    }
  429|   376k|}
enumobject.c:_Py_IsImmortal:
  127|  1.31M|{
  128|       |#if defined(Py_GIL_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.31M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.31M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.31M|}
enumobject.c:_Py_REFCNT:
  105|   620k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|   620k|    #if !defined(Py_GIL_DISABLED)
  107|   620k|        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|   620k|    }
enumobject.c:Py_INCREF:
  256|   620k|{
  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|   620k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   620k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 620k]
  ------------------
  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|   620k|    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|   620k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   620k|#  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|   620k|#endif
  308|   620k|}
genobject.c:Py_INCREF:
  256|  2.53k|{
  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.53k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.53k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 2.53k, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|  2.53k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  2.53k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  2.53k|        return;
  291|  2.53k|    }
  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|}
genobject.c:_Py_NewRef:
  535|  2.53k|{
  536|  2.53k|    Py_INCREF(obj);
  ------------------
  |  |  310|  2.53k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.53k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  2.53k|    return obj;
  538|  2.53k|}
genobject.c:Py_DECREF:
  418|  3.66k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.66k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.66k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 3.66k, False: 0]
  |  |  ------------------
  ------------------
  422|  3.66k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  3.66k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  3.66k|        return;
  424|  3.66k|    }
  425|      0|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|      0|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|      0|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 0]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|      0|}
genobject.c:_Py_IsImmortal:
  127|  75.0k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  75.0k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  75.0k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  75.0k|}
genobject.c:_Py_REFCNT:
  105|  1.26k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  1.26k|    #if !defined(Py_GIL_DISABLED)
  107|  1.26k|        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.26k|    }
genobject.c:_Py_IsStaticImmortal:
  141|  1.26k|{
  142|  1.26k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  1.26k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  1.26k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  1.26k|}
fileobject.c:Py_DECREF:
  418|  48.7k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  48.7k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  48.7k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 48.6k, False: 85]
  |  |  ------------------
  ------------------
  422|  48.6k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  48.6k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  48.6k|        return;
  424|  48.6k|    }
  425|     85|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     85|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     85|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 85]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|     85|}
fileobject.c:_Py_IsImmortal:
  127|  48.7k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  48.7k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  48.7k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  48.7k|}
floatobject.c:Py_DECREF:
  418|     69|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     69|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     69|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 69]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|     69|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     69|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     69|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 69, False: 0]
  ------------------
  427|     69|        _Py_Dealloc(op);
  428|     69|    }
  429|     69|}
floatobject.c:_Py_IsImmortal:
  127|   166k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   166k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   166k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   166k|}
floatobject.c:Py_INCREF:
  256|   195k|{
  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|   195k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   195k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 189k, False: 5.99k]
  ------------------
  288|       |        // the object is immortal
  289|   189k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   189k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   189k|        return;
  291|   189k|    }
  292|  5.99k|    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.99k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  5.99k|#  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.99k|#endif
  308|  5.99k|}
floatobject.c:Py_XDECREF:
  518|     69|{
  519|     69|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     69|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 69, False: 0]
  ------------------
  520|     69|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     69|    }
  522|     69|}
floatobject.c:_Py_NewRef:
  535|  28.4k|{
  536|  28.4k|    Py_INCREF(obj);
  ------------------
  |  |  310|  28.4k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  28.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  28.4k|    return obj;
  538|  28.4k|}
frameobject.c:Py_INCREF:
  256|    386|{
  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|    386|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    386|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 386]
  ------------------
  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|    386|    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|    386|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    386|#  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|    386|#endif
  308|    386|}
frameobject.c:_Py_IsImmortal:
  127|  3.15k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  3.15k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.15k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.15k|}
frameobject.c:_Py_IsStaticImmortal:
  141|  23.6k|{
  142|  23.6k|#if defined(Py_GIL_DISABLED) || SIZEOF_VOID_P > 4
  143|  23.6k|    return (op->ob_flags & _Py_STATICALLY_ALLOCATED_FLAG) != 0;
  ------------------
  |  |  583|  23.6k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  ------------------
  144|       |#else
  145|       |    return op->ob_refcnt >= _Py_STATIC_IMMORTAL_MINIMUM_REFCNT;
  146|       |#endif
  147|  23.6k|}
frameobject.c:Py_DECREF:
  418|  3.15k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.15k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.15k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 3.15k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  3.15k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.15k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.15k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 544, False: 2.61k]
  ------------------
  427|    544|        _Py_Dealloc(op);
  428|    544|    }
  429|  3.15k|}
frameobject.c:_Py_REFCNT:
  105|  23.2k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  23.2k|    #if !defined(Py_GIL_DISABLED)
  107|  23.2k|        return ob->ob_refcnt;
  108|       |    #else
  109|       |        uint32_t local = _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local);
  110|       |        if (local == _Py_IMMORTAL_REFCNT_LOCAL) {
  111|       |            return _Py_IMMORTAL_INITIAL_REFCNT;
  112|       |        }
  113|       |        Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared);
  114|       |        return _Py_STATIC_CAST(Py_ssize_t, local) +
  115|       |               Py_ARITHMETIC_RIGHT_SHIFT(Py_ssize_t, shared, _Py_REF_SHARED_SHIFT);
  116|       |    #endif
  117|  23.2k|    }
frameobject.c:_Py_NewRef:
  535|    386|{
  536|    386|    Py_INCREF(obj);
  ------------------
  |  |  310|    386|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    386|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    386|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    386|    return obj;
  538|    386|}
funcobject.c:Py_XDECREF:
  518|    306|{
  519|    306|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    306|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 130, False: 176]
  ------------------
  520|    130|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    130|    }
  522|    306|}
funcobject.c:Py_INCREF:
  256|  28.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|  28.6k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  28.6k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 15.6k, False: 13.0k]
  ------------------
  288|       |        // the object is immortal
  289|  15.6k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  15.6k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  15.6k|        return;
  291|  15.6k|    }
  292|  13.0k|    op->ob_refcnt = cur_refcnt + 1;
  293|       |#else
  294|       |    if (_Py_IsImmortal(op)) {
  295|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  296|       |        return;
  297|       |    }
  298|       |    op->ob_refcnt++;
  299|       |#endif
  300|  13.0k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  13.0k|#  define _Py_INCREF_STAT_INC() ((void)0)
  ------------------
  301|       |#ifdef Py_REF_DEBUG
  302|       |    // Don't count the incref if the object is immortal.
  303|       |    if (!_Py_IsImmortal(op)) {
  304|       |        _Py_INCREF_IncRefTotal();
  305|       |    }
  306|       |#endif
  307|  13.0k|#endif
  308|  13.0k|}
funcobject.c:_Py_NewRef:
  535|  7.24k|{
  536|  7.24k|    Py_INCREF(obj);
  ------------------
  |  |  310|  7.24k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  7.24k|    return obj;
  538|  7.24k|}
funcobject.c:_Py_XNewRef:
  541|    427|{
  542|    427|    Py_XINCREF(obj);
  ------------------
  |  |  514|    427|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    427|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    427|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|    427|    return obj;
  544|    427|}
funcobject.c:Py_XINCREF:
  508|    427|{
  509|    427|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    427|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 55, False: 372]
  ------------------
  510|     55|        Py_INCREF(op);
  ------------------
  |  |  310|     55|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     55|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     55|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     55|    }
  512|    427|}
funcobject.c:_Py_REFCNT:
  105|  19.6k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  19.6k|    #if !defined(Py_GIL_DISABLED)
  107|  19.6k|        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|  19.6k|    }
funcobject.c:Py_DECREF:
  418|  27.5k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  27.5k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  27.5k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 15.6k, False: 11.9k]
  |  |  ------------------
  ------------------
  422|  15.6k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  15.6k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  15.6k|        return;
  424|  15.6k|    }
  425|  11.9k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  11.9k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  11.9k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.06k, False: 10.9k]
  ------------------
  427|  1.06k|        _Py_Dealloc(op);
  428|  1.06k|    }
  429|  11.9k|}
funcobject.c:_Py_IsImmortal:
  127|  33.2k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  33.2k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  33.2k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  33.2k|}
funcobject.c:Py_SET_REFCNT:
  154|  5.70k|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  5.70k|    assert(refcnt >= 0);
  ------------------
  |  Branch (155:5): [True: 5.70k, 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|  5.70k|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  5.70k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 5.70k]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  5.70k|#ifndef Py_GIL_DISABLED
  170|  5.70k|#if SIZEOF_VOID_P > 4
  171|  5.70k|    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|  5.70k|#endif  // Py_LIMITED_API
  199|  5.70k|}
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|     63|{
  536|     63|    Py_INCREF(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     63|    return obj;
  538|     63|}
iterobject.c:Py_INCREF:
  256|     63|{
  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|     63|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     63|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 63]
  ------------------
  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|     63|    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|     63|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     63|#  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|     63|#endif
  308|     63|}
iterobject.c:Py_XDECREF:
  518|     63|{
  519|     63|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     63|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 63]
  ------------------
  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|     63|}
iterobject.c:Py_DECREF:
  418|     63|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     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]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|     63|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     63|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     63|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 63]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|     63|}
iterobject.c:_Py_IsImmortal:
  127|     63|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|     63|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     63|}
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|}
memoryobject.c:_Py_NewRef:
  535|   144k|{
  536|   144k|    Py_INCREF(obj);
  ------------------
  |  |  310|   144k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   144k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   144k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   144k|    return obj;
  538|   144k|}
memoryobject.c:Py_INCREF:
  256|   144k|{
  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|   144k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   144k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 144k]
  ------------------
  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|   144k|    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|   144k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   144k|#  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|   144k|#endif
  308|   144k|}
memoryobject.c:Py_DECREF:
  418|   144k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   144k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   144k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   144k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   144k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2, False: 144k]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|   144k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   144k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   144k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 72.2k, False: 72.3k]
  ------------------
  427|  72.2k|        _Py_Dealloc(op);
  428|  72.2k|    }
  429|   144k|}
memoryobject.c:_Py_IsImmortal:
  127|   144k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   144k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   144k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   144k|}
methodobject.c:_Py_NewRef:
  535|     94|{
  536|     94|    Py_INCREF(obj);
  ------------------
  |  |  310|     94|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     94|    return obj;
  538|     94|}
methodobject.c:Py_INCREF:
  256|  1.93M|{
  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.93M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.93M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 2.37k, False: 1.93M]
  ------------------
  288|       |        // the object is immortal
  289|  2.37k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  2.37k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  2.37k|        return;
  291|  2.37k|    }
  292|  1.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|  1.93M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.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|  1.93M|#endif
  308|  1.93M|}
methodobject.c:_Py_XNewRef:
  541|  3.87M|{
  542|  3.87M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  3.87M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.87M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.87M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  3.87M|    return obj;
  544|  3.87M|}
methodobject.c:Py_XINCREF:
  508|  3.87M|{
  509|  3.87M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  3.87M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 1.93M, False: 1.93M]
  ------------------
  510|  1.93M|        Py_INCREF(op);
  ------------------
  |  |  310|  1.93M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.93M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  1.93M|    }
  512|  3.87M|}
methodobject.c:_Py_REFCNT:
  105|  1.93M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  1.93M|    #if !defined(Py_GIL_DISABLED)
  107|  1.93M|        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.93M|    }
methodobject.c:Py_XDECREF:
  518|  5.80M|{
  519|  5.80M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  5.80M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 1.93M, False: 3.87M]
  ------------------
  520|  1.93M|        Py_DECREF(op);
  ------------------
  |  |  430|  1.93M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.93M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  1.93M|    }
  522|  5.80M|}
methodobject.c:Py_DECREF:
  418|  1.93M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.93M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.93M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.93M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.35k, False: 1.93M]
  |  |  ------------------
  ------------------
  422|  1.35k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.35k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.35k|        return;
  424|  1.35k|    }
  425|  1.93M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.93M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.93M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 36, False: 1.93M]
  ------------------
  427|     36|        _Py_Dealloc(op);
  428|     36|    }
  429|  1.93M|}
methodobject.c:_Py_IsImmortal:
  127|  1.93M|{
  128|       |#if defined(Py_GIL_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.93M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.93M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.93M|}
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|}
unicode_format.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: 21, False: 0]
  |  |  ------------------
  ------------------
  422|     21|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     21|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     21|        return;
  424|     21|    }
  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|}
unicode_format.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|}
unicode_format.c:_Py_NewRef:
  535|     21|{
  536|     21|    Py_INCREF(obj);
  ------------------
  |  |  310|     21|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     21|    return obj;
  538|     21|}
unicode_format.c:Py_INCREF:
  256|     21|{
  257|       |#if (defined(Py_LIMITED_API) && (Py_LIMITED_API+0 >= 0x030c0000 || defined(Py_REF_DEBUG))) \
  258|       |    || defined(_Py_OPAQUE_PYOBJECT)
  259|       |    // Stable ABI implements Py_INCREF() as a function call on limited C API
  260|       |    // version 3.12 and newer, abi3t, and on Python built in debug mode.
  261|       |    // _Py_IncRef() was added to Python 3.10.0a7, use Py_IncRef() on older versions.
  262|       |    // Py_IncRef() accepts NULL whereas _Py_IncRef() doesn't.
  263|       |#  if Py_LIMITED_API+0 >= 0x030a00A7
  264|       |    _Py_IncRef(op);
  265|       |#  else
  266|       |    Py_IncRef(op);
  267|       |#  endif
  268|       |#else
  269|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  270|       |    // directly PyObject.ob_refcnt.
  271|       |#if defined(Py_GIL_DISABLED)
  272|       |    uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
  273|       |    uint32_t new_local = local + 1;
  274|       |    if (new_local == 0) {
  275|       |        _Py_INCREF_IMMORTAL_STAT_INC();
  276|       |        // local is equal to _Py_IMMORTAL_REFCNT_LOCAL: do nothing
  277|       |        return;
  278|       |    }
  279|       |    if (_Py_IsOwnedByCurrentThread(op)) {
  280|       |        _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, new_local);
  281|       |    }
  282|       |    else {
  283|       |        _Py_atomic_add_ssize(&op->ob_ref_shared, (1 << _Py_REF_SHARED_SHIFT));
  284|       |    }
  285|       |#elif SIZEOF_VOID_P > 4
  286|       |    uint32_t cur_refcnt = op->ob_refcnt;
  287|     21|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     21|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 21, False: 0]
  ------------------
  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|      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|}
unicode_format.c:Py_XDECREF:
  518|     21|{
  519|     21|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     21|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 21]
  ------------------
  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|     21|}
Python-ast.c:Py_DECREF:
  418|  3.37M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.37M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.37M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.37M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.37M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.61M, False: 1.76M]
  |  |  ------------------
  ------------------
  422|  1.61M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.61M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.61M|        return;
  424|  1.61M|    }
  425|  1.76M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.76M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.76M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 414k, False: 1.35M]
  ------------------
  427|   414k|        _Py_Dealloc(op);
  428|   414k|    }
  429|  1.76M|}
Python-ast.c:_Py_IsImmortal:
  127|  3.37M|{
  128|       |#if defined(Py_GIL_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.37M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.37M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.37M|}
Python-ast.c:Py_INCREF:
  256|   546k|{
  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|   546k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   546k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 298k, False: 247k]
  ------------------
  288|       |        // the object is immortal
  289|   298k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   298k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   298k|        return;
  291|   298k|    }
  292|   247k|    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|   247k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   247k|#  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|   247k|#endif
  308|   247k|}
Python-ast.c:_Py_NewRef:
  535|   546k|{
  536|   546k|    Py_INCREF(obj);
  ------------------
  |  |  310|   546k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   546k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   546k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   546k|    return obj;
  538|   546k|}
assemble.c:Py_DECREF:
  418|   369k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   369k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   369k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   369k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   369k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 100k, False: 268k]
  |  |  ------------------
  ------------------
  422|   100k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   100k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   100k|        return;
  424|   100k|    }
  425|   268k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   268k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   268k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 268k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|   268k|}
assemble.c:_Py_IsImmortal:
  127|   369k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   369k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   369k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   369k|}
assemble.c:_Py_NewRef:
  535|   200k|{
  536|   200k|    Py_INCREF(obj);
  ------------------
  |  |  310|   200k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   200k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   200k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   200k|    return obj;
  538|   200k|}
assemble.c:Py_INCREF:
  256|   200k|{
  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|   200k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   200k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 191k, False: 8.72k]
  ------------------
  288|       |        // the object is immortal
  289|   191k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   191k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   191k|        return;
  291|   191k|    }
  292|  8.72k|    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.72k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  8.72k|#  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.72k|#endif
  308|  8.72k|}
assemble.c:Py_XDECREF:
  518|   369k|{
  519|   369k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   369k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 369k, False: 0]
  ------------------
  520|   369k|        Py_DECREF(op);
  ------------------
  |  |  430|   369k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   369k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   369k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   369k|    }
  522|   369k|}
ast_preprocess.c:Py_DECREF:
  418|  4.05k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  4.05k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  4.05k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 4.05k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  4.05k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  4.05k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  4.05k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 3.61k, False: 442]
  ------------------
  427|  3.61k|        _Py_Dealloc(op);
  428|  3.61k|    }
  429|  4.05k|}
ast_preprocess.c:_Py_IsImmortal:
  127|  4.05k|{
  128|       |#if defined(Py_GIL_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.05k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  4.05k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  4.05k|}
ast_unparse.c:Py_DECREF:
  418|   159k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   159k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   159k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   159k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   159k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 12.1k, False: 147k]
  |  |  ------------------
  ------------------
  422|  12.1k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  12.1k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  12.1k|        return;
  424|  12.1k|    }
  425|   147k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   147k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   147k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 117k, False: 29.8k]
  ------------------
  427|   117k|        _Py_Dealloc(op);
  428|   117k|    }
  429|   147k|}
ast_unparse.c:_Py_IsImmortal:
  127|   159k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|   159k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   159k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   159k|}
pegen.c:Py_DECREF:
  418|  46.6k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  46.6k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  46.6k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  46.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 15.6k, False: 31.0k]
  |  |  ------------------
  ------------------
  422|  15.6k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  15.6k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  15.6k|        return;
  424|  15.6k|    }
  425|  31.0k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  31.0k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  31.0k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 15.1k, False: 15.8k]
  ------------------
  427|  15.1k|        _Py_Dealloc(op);
  428|  15.1k|    }
  429|  31.0k|}
pegen.c:_Py_IsImmortal:
  127|  46.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|  46.6k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  46.6k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  46.6k|}
pegen.c:Py_XDECREF:
  518|  31.3k|{
  519|  31.3k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  31.3k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 3.00k, False: 28.3k]
  ------------------
  520|  3.00k|        Py_DECREF(op);
  ------------------
  |  |  430|  3.00k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  3.00k|    }
  522|  31.3k|}
pegen.c:Py_INCREF:
  256|  24.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|  24.1k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  24.1k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.52k, False: 22.6k]
  ------------------
  288|       |        // the object is immortal
  289|  1.52k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.52k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.52k|        return;
  291|  1.52k|    }
  292|  22.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|  22.6k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  22.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|  22.6k|#endif
  308|  22.6k|}
pegen.c:_Py_NewRef:
  535|  22.6k|{
  536|  22.6k|    Py_INCREF(obj);
  ------------------
  |  |  310|  22.6k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  22.6k|    return obj;
  538|  22.6k|}
pegen.c:_Py_XNewRef:
  541|  22.6k|{
  542|  22.6k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  22.6k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  22.6k|    return obj;
  544|  22.6k|}
pegen.c:Py_XINCREF:
  508|  22.6k|{
  509|  22.6k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  22.6k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 3, False: 22.6k]
  ------------------
  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|  22.6k|}
pegen_errors.c:Py_DECREF:
  418|  31.8k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  31.8k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  31.8k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2.33k, False: 29.5k]
  |  |  ------------------
  ------------------
  422|  2.33k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  2.33k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  2.33k|        return;
  424|  2.33k|    }
  425|  29.5k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  29.5k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  29.5k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 3.19k, False: 26.3k]
  ------------------
  427|  3.19k|        _Py_Dealloc(op);
  428|  3.19k|    }
  429|  29.5k|}
pegen_errors.c:_Py_IsImmortal:
  127|  31.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|  31.8k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  31.8k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  31.8k|}
pegen_errors.c:Py_XDECREF:
  518|  7.00k|{
  519|  7.00k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  7.00k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 4.67k, False: 2.33k]
  ------------------
  520|  4.67k|        Py_DECREF(op);
  ------------------
  |  |  430|  4.67k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  4.67k|    }
  522|  7.00k|}
lexer.c:Py_DECREF:
  418|  96.6k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  96.6k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  96.6k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  96.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  96.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.88k, False: 94.7k]
  |  |  ------------------
  ------------------
  422|  1.88k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.88k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.88k|        return;
  424|  1.88k|    }
  425|  94.7k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  94.7k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  94.7k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 94.7k, False: 0]
  ------------------
  427|  94.7k|        _Py_Dealloc(op);
  428|  94.7k|    }
  429|  94.7k|}
lexer.c:_Py_IsImmortal:
  127|  96.6k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  96.6k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  96.6k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  96.6k|}
state.c:Py_XDECREF:
  518|   128k|{
  519|   128k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   128k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 22.7k, False: 105k]
  ------------------
  520|  22.7k|        Py_DECREF(op);
  ------------------
  |  |  430|  22.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  22.7k|    }
  522|   128k|}
state.c:Py_DECREF:
  418|  22.7k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  22.7k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  22.7k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 24, False: 22.7k]
  |  |  ------------------
  ------------------
  422|     24|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     24|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     24|        return;
  424|     24|    }
  425|  22.7k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  22.7k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  22.7k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 82, False: 22.6k]
  ------------------
  427|     82|        _Py_Dealloc(op);
  428|     82|    }
  429|  22.7k|}
state.c:_Py_IsImmortal:
  127|  22.7k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  22.7k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  22.7k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  22.7k|}
string_tokenizer.c:Py_DECREF:
  418|  3.15k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.15k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.15k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 3.15k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  3.15k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.15k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.15k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 3.15k, False: 0]
  ------------------
  427|  3.15k|        _Py_Dealloc(op);
  428|  3.15k|    }
  429|  3.15k|}
string_tokenizer.c:_Py_IsImmortal:
  127|  3.15k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  3.15k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.15k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.15k|}
string_parser.c:Py_DECREF:
  418|  76.0k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  76.0k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  76.0k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  76.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  76.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 16.5k, False: 59.4k]
  |  |  ------------------
  ------------------
  422|  16.5k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  16.5k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  16.5k|        return;
  424|  16.5k|    }
  425|  59.4k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  59.4k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  59.4k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 59.4k, False: 0]
  ------------------
  427|  59.4k|        _Py_Dealloc(op);
  428|  59.4k|    }
  429|  59.4k|}
string_parser.c:_Py_IsImmortal:
  127|  76.0k|{
  128|       |#if defined(Py_GIL_DISABLED)
  129|       |    return (_Py_atomic_load_uint32_relaxed(&op->ob_ref_local) ==
  130|       |            _Py_IMMORTAL_REFCNT_LOCAL);
  131|       |#elif SIZEOF_VOID_P > 4
  132|  76.0k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  76.0k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  76.0k|}
string_parser.c:Py_XDECREF:
  518|  33.9k|{
  519|  33.9k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  33.9k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 33.9k, False: 0]
  ------------------
  520|  33.9k|        Py_DECREF(op);
  ------------------
  |  |  430|  33.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  33.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  33.9k|    }
  522|  33.9k|}

PyInit__abc:
 1000|      2|{
 1001|      2|    return PyModuleDef_Init(&_abcmodule);
 1002|      2|}
_abc.c:get_abc_state:
   29|    378|{
   30|    378|    void *state = _PyModule_GetState(module);
   31|    378|    assert(state != NULL);
  ------------------
  |  Branch (31:5): [True: 378, False: 0]
  ------------------
   32|    378|    return (_abcmodule_state *)state;
   33|    378|}
_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) {
  ------------------
  |  |  921|     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) {
  ------------------
  |  |  921|     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__));
  ------------------
  |  |  921|     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__));
  ------------------
  |  |  921|     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__),
  ------------------
  |  |  921|     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) {
  ------------------
  |  |  921|     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));
  ------------------
  |  |  921|    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);
  ------------------
  |  |  921|     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|    884|{
   95|    884|    _abc_data *self = _abc_data_CAST(op);
  ------------------
  |  |   70|    884|#define _abc_data_CAST(op)  ((_abc_data *)(op))
  ------------------
   96|    884|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|    884|    do {                                                                \
  |  |  195|    884|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 884, False: 0]
  |  |  ------------------
  |  |  196|    884|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    884|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    884|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    884|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 884]
  |  |  ------------------
  |  |  198|    884|                return vret;                                            \
  |  |  199|    884|        }                                                               \
  |  |  200|    884|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 884]
  |  |  ------------------
  ------------------
   97|    884|    Py_VISIT(self->_abc_registry);
  ------------------
  |  |  194|    884|    do {                                                                \
  |  |  195|    884|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 310, False: 574]
  |  |  ------------------
  |  |  196|    310|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    310|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    310|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    310|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 310]
  |  |  ------------------
  |  |  198|    310|                return vret;                                            \
  |  |  199|    310|        }                                                               \
  |  |  200|    884|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 884]
  |  |  ------------------
  ------------------
   98|    884|    Py_VISIT(self->_abc_cache);
  ------------------
  |  |  194|    884|    do {                                                                \
  |  |  195|    884|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 80, False: 804]
  |  |  ------------------
  |  |  196|     80|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     80|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 80]
  |  |  ------------------
  |  |  198|     80|                return vret;                                            \
  |  |  199|     80|        }                                                               \
  |  |  200|    884|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 884]
  |  |  ------------------
  ------------------
   99|    884|    Py_VISIT(self->_abc_negative_cache);
  ------------------
  |  |  194|    884|    do {                                                                \
  |  |  195|    884|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 354, False: 530]
  |  |  ------------------
  |  |  196|    354|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    354|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    354|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    354|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 354]
  |  |  ------------------
  |  |  198|    354|                return vret;                                            \
  |  |  199|    354|        }                                                               \
  |  |  200|    884|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 884]
  |  |  ------------------
  ------------------
  100|    884|    return 0;
  101|    884|}
_abc.c:_abcmodule_traverse:
  958|     20|{
  959|     20|    _abcmodule_state *state = get_abc_state(module);
  960|     20|    Py_VISIT(state->_abc_data_type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
  961|     20|    return 0;
  962|     20|}

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|  3.25k|{
  171|  3.25k|    if (decoded == NULL)
  ------------------
  |  Branch (171:9): [True: 439, False: 2.81k]
  ------------------
  172|    439|        return NULL;
  173|  2.81k|    return Py_BuildValue("Nn", decoded, len);
  174|  3.25k|}
_codecsmodule.c:_codecs_utf_8_decode_impl:
  285|      7|{
  286|      7|    Py_ssize_t consumed = data->len;
  287|      7|    PyObject *decoded = PyUnicode_DecodeUTF8Stateful(data->buf, data->len,
  288|      7|                                                     errors,
  289|      7|                                                     final ? NULL : &consumed);
  ------------------
  |  Branch (289:54): [True: 7, False: 0]
  ------------------
  290|      7|    return codec_tuple(decoded, consumed);
  291|      7|}
_codecsmodule.c:_codecs_utf_7_decode_impl:
  265|    170|{
  266|    170|    Py_ssize_t consumed = data->len;
  267|    170|    PyObject *decoded = PyUnicode_DecodeUTF7Stateful(data->buf, data->len,
  268|    170|                                                     errors,
  269|    170|                                                     final ? NULL : &consumed);
  ------------------
  |  Branch (269:54): [True: 170, False: 0]
  ------------------
  270|    170|    return codec_tuple(decoded, consumed);
  271|    170|}
_codecsmodule.c:_codecs_utf_16_decode_impl:
  305|     44|{
  306|     44|    int byteorder = 0;
  307|       |    /* This is overwritten unless final is true. */
  308|     44|    Py_ssize_t consumed = data->len;
  309|     44|    PyObject *decoded = PyUnicode_DecodeUTF16Stateful(data->buf, data->len,
  310|     44|                                                      errors, &byteorder,
  311|     44|                                                      final ? NULL : &consumed);
  ------------------
  |  Branch (311:55): [True: 44, False: 0]
  ------------------
  312|     44|    return codec_tuple(decoded, consumed);
  313|     44|}
_codecsmodule.c:_codecs_utf_16_le_decode_impl:
  327|      9|{
  328|      9|    int byteorder = -1;
  329|       |    /* This is overwritten unless final is true. */
  330|      9|    Py_ssize_t consumed = data->len;
  331|      9|    PyObject *decoded = PyUnicode_DecodeUTF16Stateful(data->buf, data->len,
  332|      9|                                                      errors, &byteorder,
  333|      9|                                                      final ? NULL : &consumed);
  ------------------
  |  Branch (333:55): [True: 9, False: 0]
  ------------------
  334|      9|    return codec_tuple(decoded, consumed);
  335|      9|}
_codecsmodule.c:_codecs_utf_16_be_decode_impl:
  349|     66|{
  350|     66|    int byteorder = 1;
  351|       |    /* This is overwritten unless final is true. */
  352|     66|    Py_ssize_t consumed = data->len;
  353|     66|    PyObject *decoded = PyUnicode_DecodeUTF16Stateful(data->buf, data->len,
  354|     66|                                                      errors, &byteorder,
  355|     66|                                                      final ? NULL : &consumed);
  ------------------
  |  Branch (355:55): [True: 66, False: 0]
  ------------------
  356|     66|    return codec_tuple(decoded, consumed);
  357|     66|}
_codecsmodule.c:_codecs_utf_32_decode_impl:
  403|      5|{
  404|      5|    int byteorder = 0;
  405|       |    /* This is overwritten unless final is true. */
  406|      5|    Py_ssize_t consumed = data->len;
  407|      5|    PyObject *decoded = PyUnicode_DecodeUTF32Stateful(data->buf, data->len,
  408|      5|                                                      errors, &byteorder,
  409|      5|                                                      final ? NULL : &consumed);
  ------------------
  |  Branch (409:55): [True: 5, False: 0]
  ------------------
  410|      5|    return codec_tuple(decoded, consumed);
  411|      5|}
_codecsmodule.c:_codecs_utf_32_le_decode_impl:
  425|      2|{
  426|      2|    int byteorder = -1;
  427|       |    /* This is overwritten unless final is true. */
  428|      2|    Py_ssize_t consumed = data->len;
  429|      2|    PyObject *decoded = PyUnicode_DecodeUTF32Stateful(data->buf, data->len,
  430|      2|                                                      errors, &byteorder,
  431|      2|                                                      final ? NULL : &consumed);
  ------------------
  |  Branch (431:55): [True: 2, False: 0]
  ------------------
  432|      2|    return codec_tuple(decoded, consumed);
  433|      2|}
_codecsmodule.c:_codecs_utf_32_be_decode_impl:
  447|      1|{
  448|      1|    int byteorder = 1;
  449|       |    /* This is overwritten unless final is true. */
  450|      1|    Py_ssize_t consumed = data->len;
  451|      1|    PyObject *decoded = PyUnicode_DecodeUTF32Stateful(data->buf, data->len,
  452|      1|                                                      errors, &byteorder,
  453|      1|                                                      final ? NULL : &consumed);
  ------------------
  |  Branch (453:55): [True: 1, False: 0]
  ------------------
  454|      1|    return codec_tuple(decoded, consumed);
  455|      1|}
_codecsmodule.c:_codecs_latin_1_decode_impl:
  538|    894|{
  539|    894|    PyObject *decoded = PyUnicode_DecodeLatin1(data->buf, data->len, errors);
  540|    894|    return codec_tuple(decoded, data->len);
  541|    894|}
_codecsmodule.c:_codecs_ascii_decode_impl:
  554|      4|{
  555|      4|    PyObject *decoded = PyUnicode_DecodeASCII(data->buf, data->len, errors);
  556|      4|    return codec_tuple(decoded, data->len);
  557|      4|}
_codecsmodule.c:_codecs_charmap_decode_impl:
  571|  1.68k|{
  572|  1.68k|    PyObject *decoded;
  573|       |
  574|  1.68k|    if (mapping == Py_None)
  ------------------
  |  |  616|  1.68k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (574:9): [True: 0, False: 1.68k]
  ------------------
  575|      0|        mapping = NULL;
  576|       |
  577|  1.68k|    decoded = PyUnicode_DecodeCharmap(data->buf, data->len, mapping, errors);
  578|  1.68k|    return codec_tuple(decoded, data->len);
  579|  1.68k|}
_codecsmodule.c:_codecs_charmap_build_impl:
  925|     20|{
  926|     20|    return PyUnicode_BuildEncodingMap(map);
  927|     20|}
_codecsmodule.c:_codecs_iconv_encode_impl:
  994|    243|{
  995|    243|    return codec_tuple(_PyUnicode_EncodeIconv(encoding, str, errors),
  996|    243|                       PyUnicode_GET_LENGTH(str));
  ------------------
  |  |  299|    243|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    243|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    243|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  997|    243|}
_codecsmodule.c:_codecs_iconv_decode_impl:
  660|    122|{
  661|    122|    Py_ssize_t consumed = data->len;
  662|    122|    PyObject *decoded = _PyUnicode_DecodeIconv(encoding, data->buf, data->len,
  663|    122|                                               errors,
  664|    122|                                               final ? NULL : &consumed);
  ------------------
  |  Branch (664:48): [True: 122, False: 0]
  ------------------
  665|    122|    return codec_tuple(decoded, consumed);
  666|    122|}
_codecsmodule.c:_codecs_lookup_error_impl:
 1065|     12|{
 1066|     12|    return PyCodec_LookupError(name);
 1067|     12|}
_codecsmodule.c:_codecs__normalize_encoding_impl:
 1083|    366|{
 1084|    366|    Py_ssize_t len;
 1085|    366|    const char *cstr = PyUnicode_AsUTF8AndSize(encoding, &len);
 1086|    366|    if (cstr == NULL) {
  ------------------
  |  Branch (1086:9): [True: 0, False: 366]
  ------------------
 1087|      0|        return NULL;
 1088|      0|    }
 1089|       |
 1090|    366|    if (len > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|    366|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1090:9): [True: 0, False: 366]
  ------------------
 1091|      0|        PyErr_SetString(PyExc_OverflowError, "encoding is too large");
 1092|      0|        return NULL;
 1093|      0|    }
 1094|       |
 1095|    366|    char *normalized = PyMem_Malloc(len + 1);
 1096|    366|    if (normalized == NULL) {
  ------------------
  |  Branch (1096:9): [True: 0, False: 366]
  ------------------
 1097|      0|        return PyErr_NoMemory();
 1098|      0|    }
 1099|       |
 1100|    366|    if (!_Py_normalize_encoding(cstr, normalized, len + 1, 0)) {
  ------------------
  |  Branch (1100:9): [True: 0, False: 366]
  ------------------
 1101|      0|        PyMem_Free(normalized);
 1102|      0|        return NULL;
 1103|      0|    }
 1104|       |
 1105|    366|    PyObject *result = PyUnicode_FromString(normalized);
 1106|    366|    PyMem_Free(normalized);
 1107|    366|    return result;
 1108|    366|}

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|     19|{
   23|     19|    void *state = _PyModule_GetState(mod);
   24|     19|    assert(state != NULL);
  ------------------
  |  Branch (24:5): [True: 19, False: 0]
  ------------------
   25|     19|    return (collections_state *)state;
   26|     19|}
_collectionsmodule.c:defdict_traverse:
 2448|     14|{
 2449|     14|    defdictobject *self = defdictobject_CAST(op);
  ------------------
  |  | 2222|     14|#define defdictobject_CAST(op)  ((defdictobject *)(op))
  ------------------
 2450|     14|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2451|     14|    Py_VISIT(self->default_factory);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2452|     14|    return PyDict_Type.tp_traverse(op, visit, arg);
 2453|     14|}
_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|    204|{
 2736|    204|    _tuplegetterobject *tuplegetter = tuplegetterobject_CAST(self);
  ------------------
  |  | 2667|    204|#define tuplegetterobject_CAST(op)  ((_tuplegetterobject *)(op))
  ------------------
 2737|    204|    Py_VISIT(Py_TYPE(tuplegetter));
  ------------------
  |  |  194|    204|    do {                                                                \
  |  |  195|    204|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 204, False: 0]
  |  |  ------------------
  |  |  196|    204|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    204|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    204|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    204|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 204]
  |  |  ------------------
  |  |  198|    204|                return vret;                                            \
  |  |  199|    204|        }                                                               \
  |  |  200|    204|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 204]
  |  |  ------------------
  ------------------
 2738|    204|    Py_VISIT(tuplegetter->doc);
  ------------------
  |  |  194|    204|    do {                                                                \
  |  |  195|    204|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 204, False: 0]
  |  |  ------------------
  |  |  196|    204|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    204|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    204|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    204|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 204]
  |  |  ------------------
  |  |  198|    204|                return vret;                                            \
  |  |  199|    204|        }                                                               \
  |  |  200|    204|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 204]
  |  |  ------------------
  ------------------
 2739|    204|    return 0;
 2740|    204|}
_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|     18|{
 2815|     18|    collections_state *state = get_module_state(mod);
 2816|     18|    Py_VISIT(state->deque_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 2817|     18|    Py_VISIT(state->defdict_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 2818|     18|    Py_VISIT(state->dequeiter_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 2819|     18|    Py_VISIT(state->dequereviter_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 2820|     18|    Py_VISIT(state->tuplegetter_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 2821|     18|    return 0;
 2822|     18|}

_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:
 2048|      1|{
 2049|      1|    return PyModuleDef_Init(&_functools_module);
 2050|      1|}
_functoolsmodule.c:get_functools_state:
   39|     23|{
   40|     23|    void *state = _PyModule_GetState(module);
   41|     23|    assert(state != NULL);
  ------------------
  |  Branch (41:5): [True: 23, False: 0]
  ------------------
   42|     23|    return (_functools_state *)state;
   43|     23|}
_functoolsmodule.c:_functools_exec:
 1929|      1|{
 1930|      1|    _functools_state *state = get_functools_state(module);
 1931|      1|    state->kwd_mark = _PyObject_CallNoArgs((PyObject *)&PyBaseObject_Type);
 1932|      1|    if (state->kwd_mark == NULL) {
  ------------------
  |  Branch (1932:9): [True: 0, False: 1]
  ------------------
 1933|      0|        return -1;
 1934|      0|    }
 1935|       |
 1936|      1|    state->placeholder_type = (PyTypeObject *)PyType_FromModuleAndSpec(module,
 1937|      1|        &placeholder_type_spec, NULL);
 1938|      1|    if (state->placeholder_type == NULL) {
  ------------------
  |  Branch (1938:9): [True: 0, False: 1]
  ------------------
 1939|      0|        return -1;
 1940|      0|    }
 1941|      1|    if (PyModule_AddType(module, state->placeholder_type) < 0) {
  ------------------
  |  Branch (1941:9): [True: 0, False: 1]
  ------------------
 1942|      0|        return -1;
 1943|      0|    }
 1944|       |
 1945|      1|    PyObject *placeholder = PyObject_CallNoArgs((PyObject *)state->placeholder_type);
 1946|      1|    if (placeholder == NULL) {
  ------------------
  |  Branch (1946:9): [True: 0, False: 1]
  ------------------
 1947|      0|        return -1;
 1948|      0|    }
 1949|      1|    if (PyModule_AddObjectRef(module, "Placeholder", placeholder) < 0) {
  ------------------
  |  Branch (1949:9): [True: 0, False: 1]
  ------------------
 1950|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1951|      0|        return -1;
 1952|      0|    }
 1953|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1954|       |
 1955|      1|    state->partial_type = (PyTypeObject *)PyType_FromModuleAndSpec(module,
 1956|      1|        &partial_type_spec, NULL);
 1957|      1|    if (state->partial_type == NULL) {
  ------------------
  |  Branch (1957:9): [True: 0, False: 1]
  ------------------
 1958|      0|        return -1;
 1959|      0|    }
 1960|      1|    if (PyModule_AddType(module, state->partial_type) < 0) {
  ------------------
  |  Branch (1960:9): [True: 0, False: 1]
  ------------------
 1961|      0|        return -1;
 1962|      0|    }
 1963|       |
 1964|      1|    PyObject *lru_cache_type = PyType_FromModuleAndSpec(module,
 1965|      1|        &lru_cache_type_spec, NULL);
 1966|      1|    if (lru_cache_type == NULL) {
  ------------------
  |  Branch (1966:9): [True: 0, False: 1]
  ------------------
 1967|      0|        return -1;
 1968|      0|    }
 1969|      1|    if (PyModule_AddType(module, (PyTypeObject *)lru_cache_type) < 0) {
  ------------------
  |  Branch (1969:9): [True: 0, False: 1]
  ------------------
 1970|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1971|      0|        return -1;
 1972|      0|    }
 1973|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1974|       |
 1975|      1|    state->keyobject_type = (PyTypeObject *)PyType_FromModuleAndSpec(module,
 1976|      1|        &keyobject_type_spec, NULL);
 1977|      1|    if (state->keyobject_type == NULL) {
  ------------------
  |  Branch (1977:9): [True: 0, False: 1]
  ------------------
 1978|      0|        return -1;
 1979|      0|    }
 1980|       |    // keyobject_type is used only internally.
 1981|       |    // So we don't expose it in module namespace.
 1982|       |
 1983|      1|    state->lru_list_elem_type = (PyTypeObject *)PyType_FromModuleAndSpec(
 1984|      1|        module, &lru_list_elem_type_spec, NULL);
 1985|      1|    if (state->lru_list_elem_type == NULL) {
  ------------------
  |  Branch (1985:9): [True: 0, False: 1]
  ------------------
 1986|      0|        return -1;
 1987|      0|    }
 1988|       |    // lru_list_elem is used only in _lru_cache_wrapper.
 1989|       |    // So we don't expose it in module namespace.
 1990|       |
 1991|      1|    return 0;
 1992|      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:
  576|      1|{
  577|      1|    if (PyVectorcall_Function(pto->fn) == NULL) {
  ------------------
  |  Branch (577:9): [True: 0, False: 1]
  ------------------
  578|       |        /* Don't use vectorcall if the underlying function doesn't support it */
  579|      0|        pto->vectorcall = NULL;
  580|      0|    }
  581|       |    /* We could have a special case if there are no arguments,
  582|       |     * but that is unlikely (why use partial without arguments?),
  583|       |     * so we don't optimize that */
  584|      1|    else {
  585|      1|        pto->vectorcall = partial_vectorcall;
  586|      1|    }
  587|      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 *result = NULL;
  386|      1|    PyObject *partial_function = Py_NewRef(pto->fn);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  387|      1|    PyObject *partial_args = Py_NewRef(pto->args);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  388|      1|    PyObject *partial_keywords = Py_NewRef(pto->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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  389|       |
  390|      1|    PyObject **pto_args = _PyTuple_ITEMS(partial_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  391|      1|    Py_ssize_t pto_nargs = PyTuple_GET_SIZE(partial_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  392|      1|    Py_ssize_t pto_nkwds = PyDict_GET_SIZE(partial_keywords);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  393|      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 (393:24): [True: 1, False: 0]
  ------------------
  394|      1|    Py_ssize_t nargskw = nargs + nkwds;
  395|       |
  396|       |    /* Special cases */
  397|      1|    if (!pto_nkwds) {
  ------------------
  |  Branch (397:9): [True: 0, False: 1]
  ------------------
  398|       |        /* Fast path if we're called without arguments */
  399|      0|        if (nargskw == 0) {
  ------------------
  |  Branch (399:13): [True: 0, False: 0]
  ------------------
  400|      0|            result = _PyObject_VectorcallTstate(tstate, partial_function, pto_args,
  401|      0|                                                pto_nargs, NULL);
  402|      0|            goto done;
  403|      0|        }
  404|       |
  405|       |        /* Use PY_VECTORCALL_ARGUMENTS_OFFSET to prepend a single
  406|       |         * positional argument. */
  407|      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 (407:13): [True: 0, False: 0]
  |  Branch (407:31): [True: 0, False: 0]
  ------------------
  408|      0|            PyObject **newargs = (PyObject **)args - 1;
  409|      0|            PyObject *tmp = newargs[0];
  410|      0|            newargs[0] = pto_args[0];
  411|      0|            result = _PyObject_VectorcallTstate(tstate, partial_function, newargs,
  412|      0|                                                nargs + 1, kwnames);
  413|      0|            newargs[0] = tmp;
  414|      0|            goto done;
  415|      0|        }
  416|      0|    }
  417|       |
  418|       |    /* Total sizes */
  419|      1|    Py_ssize_t tot_nargs = pto_nargs + nargs - pto_phcount;
  420|      1|    Py_ssize_t tot_nkwds = pto_nkwds + nkwds;
  421|      1|    Py_ssize_t tot_nargskw = tot_nargs + tot_nkwds;
  422|       |
  423|      1|    PyObject *pto_kw_merged = NULL;  // pto_kw with duplicates merged (if any)
  424|      1|    PyObject *tot_kwnames;
  425|       |
  426|       |    /* Allocate Stack
  427|       |     * Note, _PY_FASTCALL_SMALL_STACK is optimal for positional only
  428|       |     * This case might have keyword arguments
  429|       |     *  furthermore, it might use extra stack space for temporary key storage
  430|       |     *  thus, double small_stack size is used, which is 10 * 8 = 80 bytes */
  431|      1|    PyObject *small_stack[_PY_FASTCALL_SMALL_STACK * 2];
  432|      1|    PyObject **tmp_stack, **stack;
  433|      1|    Py_ssize_t init_stack_size = tot_nargskw;
  434|      1|    if (pto_nkwds) {
  ------------------
  |  Branch (434:9): [True: 1, False: 0]
  ------------------
  435|       |        // If pto_nkwds, allocate additional space for temporary new keys
  436|      1|        init_stack_size += nkwds;
  437|      1|    }
  438|      1|    if (init_stack_size <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) {
  ------------------
  |  |  196|      1|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (438:9): [True: 1, False: 0]
  ------------------
  439|      1|        stack = small_stack;
  440|      1|    }
  441|      0|    else {
  442|      0|        stack = PyMem_Malloc(init_stack_size * sizeof(PyObject *));
  443|      0|        if (stack == NULL) {
  ------------------
  |  Branch (443:13): [True: 0, False: 0]
  ------------------
  444|      0|            PyErr_NoMemory();
  445|      0|            goto done;
  446|      0|        }
  447|      0|    }
  448|       |
  449|       |    /* Copy keywords to stack */
  450|      1|    if (!pto_nkwds) {
  ------------------
  |  Branch (450:9): [True: 0, False: 1]
  ------------------
  451|      0|        tot_kwnames = kwnames;
  452|      0|        if (nkwds) {
  ------------------
  |  Branch (452:13): [True: 0, False: 0]
  ------------------
  453|       |            /* if !pto_nkwds & nkwds, then simply append kw */
  454|      0|            memcpy(stack + tot_nargs, args + nargs, nkwds * sizeof(PyObject*));
  455|      0|        }
  456|      0|    }
  457|      1|    else {
  458|       |        /* stack is now         [<positionals>, <pto_kwds>, <kwds>, <kwds_keys>]
  459|       |         * Will resize later to [<positionals>, <merged_kwds>] */
  460|      1|        PyObject *key, *val;
  461|       |
  462|       |        /* Merge kw to pto_kw or add to tail (if not duplicate) */
  463|      1|        Py_ssize_t n_tail = 0;
  464|      1|        for (Py_ssize_t i = 0; i < nkwds; ++i) {
  ------------------
  |  Branch (464:32): [True: 0, False: 1]
  ------------------
  465|      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 (465:19): [True: 0, False: 0]
  ------------------
  466|      0|            val = args[nargs + i];
  467|      0|            int contains = PyDict_Contains(partial_keywords, key);
  468|      0|            if (contains < 0) {
  ------------------
  |  Branch (468:17): [True: 0, False: 0]
  ------------------
  469|      0|                goto clean_stack;
  470|      0|            }
  471|      0|            else if (contains == 1) {
  ------------------
  |  Branch (471:22): [True: 0, False: 0]
  ------------------
  472|      0|                if (pto_kw_merged == NULL) {
  ------------------
  |  Branch (472:21): [True: 0, False: 0]
  ------------------
  473|      0|                    pto_kw_merged = PyDict_Copy(partial_keywords);
  474|      0|                    if (pto_kw_merged == NULL) {
  ------------------
  |  Branch (474:25): [True: 0, False: 0]
  ------------------
  475|      0|                        goto clean_stack;
  476|      0|                    }
  477|      0|                }
  478|      0|                if (PyDict_SetItem(pto_kw_merged, key, val) < 0) {
  ------------------
  |  Branch (478:21): [True: 0, False: 0]
  ------------------
  479|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|      0|                    goto clean_stack;
  481|      0|                }
  482|      0|            }
  483|      0|            else {
  484|       |                /* Copy keyword tail to stack */
  485|      0|                stack[tot_nargs + pto_nkwds + n_tail] = val;
  486|      0|                stack[tot_nargskw + n_tail] = key;
  487|      0|                n_tail++;
  488|      0|            }
  489|      0|        }
  490|      1|        Py_ssize_t n_merges = nkwds - n_tail;
  491|       |
  492|       |        /* Create total kwnames */
  493|      1|        tot_kwnames = PyTuple_New(tot_nkwds - n_merges);
  494|      1|        if (tot_kwnames == NULL) {
  ------------------
  |  Branch (494:13): [True: 0, False: 1]
  ------------------
  495|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  496|      0|            goto clean_stack;
  497|      0|        }
  498|      1|        for (Py_ssize_t i = 0; i < n_tail; ++i) {
  ------------------
  |  Branch (498:32): [True: 0, False: 1]
  ------------------
  499|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  500|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|      0|        }
  502|       |
  503|       |        /* Copy pto_keywords with overlapping call keywords merged
  504|       |         * Note, tail is already coppied. */
  505|      1|        Py_ssize_t pos = 0, i = 0;
  506|      1|        PyObject *keyword_dict = n_merges ? pto_kw_merged : partial_keywords;
  ------------------
  |  Branch (506:34): [True: 0, False: 1]
  ------------------
  507|      1|        Py_BEGIN_CRITICAL_SECTION(keyword_dict);
  ------------------
  |  |   51|      1|    {
  ------------------
  508|      4|        while (PyDict_Next(keyword_dict, &pos, &key, &val)) {
  ------------------
  |  Branch (508:16): [True: 3, False: 1]
  ------------------
  509|      3|            assert(i < pto_nkwds);
  ------------------
  |  Branch (509:13): [True: 3, False: 0]
  ------------------
  510|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|      3|            stack[tot_nargs + i] = val;
  512|      3|            i++;
  513|      3|        }
  514|      1|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      1|    }
  ------------------
  515|      1|        assert(i == pto_nkwds);
  ------------------
  |  Branch (515:9): [True: 1, False: 0]
  ------------------
  516|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  517|       |
  518|       |        /* Resize Stack if the removing overallocation saves some noticable memory
  519|       |         * NOTE: This whole block can be removed without breaking anything */
  520|      1|        Py_ssize_t noveralloc = n_merges + nkwds;
  521|      1|        if (stack != small_stack && noveralloc > 6 && noveralloc > init_stack_size / 10) {
  ------------------
  |  Branch (521:13): [True: 0, False: 1]
  |  Branch (521:37): [True: 0, False: 0]
  |  Branch (521:55): [True: 0, False: 0]
  ------------------
  522|      0|            tmp_stack = PyMem_Realloc(stack, (tot_nargskw - n_merges) * sizeof(PyObject *));
  523|      0|            if (tmp_stack == NULL) {
  ------------------
  |  Branch (523:17): [True: 0, False: 0]
  ------------------
  524|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  525|      0|                PyErr_NoMemory();
  526|      0|                goto clean_stack;
  527|      0|            }
  528|      0|            stack = tmp_stack;
  529|      0|        }
  530|      1|    }
  531|       |
  532|       |    /* Copy Positionals to stack */
  533|      1|    if (pto_phcount) {
  ------------------
  |  Branch (533:9): [True: 0, False: 1]
  ------------------
  534|      0|        Py_ssize_t j = 0;       // New args index
  535|      0|        for (Py_ssize_t i = 0; i < pto_nargs; i++) {
  ------------------
  |  Branch (535:32): [True: 0, False: 0]
  ------------------
  536|      0|            if (pto_args[i] == pto->placeholder) {
  ------------------
  |  Branch (536:17): [True: 0, False: 0]
  ------------------
  537|      0|                stack[i] = args[j];
  538|      0|                j += 1;
  539|      0|            }
  540|      0|            else {
  541|      0|                stack[i] = pto_args[i];
  542|      0|            }
  543|      0|        }
  544|      0|        assert(j == pto_phcount);
  ------------------
  |  Branch (544:9): [True: 0, False: 0]
  ------------------
  545|       |        /* Add remaining args from new_args */
  546|      0|        if (nargs > pto_phcount) {
  ------------------
  |  Branch (546:13): [True: 0, False: 0]
  ------------------
  547|      0|            memcpy(stack + pto_nargs, args + j, (nargs - j) * sizeof(PyObject*));
  548|      0|        }
  549|      0|    }
  550|      1|    else {
  551|      1|        memcpy(stack, pto_args, pto_nargs * sizeof(PyObject*));
  552|      1|        memcpy(stack + pto_nargs, args, nargs * sizeof(PyObject*));
  553|      1|    }
  554|       |
  555|      1|    result = _PyObject_VectorcallTstate(tstate, partial_function, stack,
  556|      1|                                        tot_nargs, tot_kwnames);
  557|      1|    if (pto_nkwds) {
  ------------------
  |  Branch (557:9): [True: 1, False: 0]
  ------------------
  558|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  559|      1|    }
  560|       |
  561|      1| clean_stack:
  562|      1|    if (stack != small_stack) {
  ------------------
  |  Branch (562:9): [True: 0, False: 1]
  ------------------
  563|      0|        PyMem_Free(stack);
  564|      0|    }
  565|       |
  566|      1| done:
  567|      1|    Py_DECREF(partial_function);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  568|      1|    Py_DECREF(partial_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  569|      1|    Py_DECREF(partial_keywords);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  570|      1|    return result;
  571|      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:
 1834|     36|{
 1835|     36|    lru_cache_object *self = lru_cache_object_CAST(op);
  ------------------
  |  | 1234|     36|#define lru_cache_object_CAST(op)   ((lru_cache_object *)(op))
  ------------------
 1836|     36|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|     36|    do {                                                                \
  |  |  195|     36|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 36, False: 0]
  |  |  ------------------
  |  |  196|     36|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     36|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 36]
  |  |  ------------------
  |  |  198|     36|                return vret;                                            \
  |  |  199|     36|        }                                                               \
  |  |  200|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 1837|     36|    lru_list_elem *link = self->root.next;
 1838|     36|    while (link != &self->root) {
  ------------------
  |  Branch (1838:12): [True: 0, False: 36]
  ------------------
 1839|      0|        lru_list_elem *next = link->next;
 1840|      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]
  |  |  ------------------
  ------------------
 1841|      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]
  |  |  ------------------
  ------------------
 1842|      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]
  |  |  ------------------
  ------------------
 1843|      0|        link = next;
 1844|      0|    }
 1845|     36|    Py_VISIT(self->cache);
  ------------------
  |  |  194|     36|    do {                                                                \
  |  |  195|     36|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 36, False: 0]
  |  |  ------------------
  |  |  196|     36|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     36|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 36]
  |  |  ------------------
  |  |  198|     36|                return vret;                                            \
  |  |  199|     36|        }                                                               \
  |  |  200|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 1846|     36|    Py_VISIT(self->func);
  ------------------
  |  |  194|     36|    do {                                                                \
  |  |  195|     36|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 36, False: 0]
  |  |  ------------------
  |  |  196|     36|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     36|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 36]
  |  |  ------------------
  |  |  198|     36|                return vret;                                            \
  |  |  199|     36|        }                                                               \
  |  |  200|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 1847|     36|    Py_VISIT(self->kwd_mark);
  ------------------
  |  |  194|     36|    do {                                                                \
  |  |  195|     36|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 36, False: 0]
  |  |  ------------------
  |  |  196|     36|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     36|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 36]
  |  |  ------------------
  |  |  198|     36|                return vret;                                            \
  |  |  199|     36|        }                                                               \
  |  |  200|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 1848|     36|    Py_VISIT(self->lru_list_elem_type);
  ------------------
  |  |  194|     36|    do {                                                                \
  |  |  195|     36|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 36, False: 0]
  |  |  ------------------
  |  |  196|     36|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     36|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 36]
  |  |  ------------------
  |  |  198|     36|                return vret;                                            \
  |  |  199|     36|        }                                                               \
  |  |  200|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 1849|     36|    Py_VISIT(self->cache_info_type);
  ------------------
  |  |  194|     36|    do {                                                                \
  |  |  195|     36|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 36, False: 0]
  |  |  ------------------
  |  |  196|     36|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     36|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 36]
  |  |  ------------------
  |  |  198|     36|                return vret;                                            \
  |  |  199|     36|        }                                                               \
  |  |  200|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 1850|     36|    Py_VISIT(self->dict);
  ------------------
  |  |  194|     36|    do {                                                                \
  |  |  195|     36|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 36, False: 0]
  |  |  ------------------
  |  |  196|     36|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     36|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 36]
  |  |  ------------------
  |  |  198|     36|                return vret;                                            \
  |  |  199|     36|        }                                                               \
  |  |  200|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 1851|     36|    return 0;
 1852|     36|}
_functoolsmodule.c:lru_cache_new:
 1621|      2|{
 1622|      2|    PyObject *func, *maxsize_O, *cache_info_type, *cachedict;
 1623|      2|    int typed;
 1624|      2|    lru_cache_object *obj;
 1625|      2|    Py_ssize_t maxsize;
 1626|      2|    PyObject *(*wrapper)(lru_cache_object *, PyObject *, PyObject *);
 1627|      2|    _functools_state *state;
 1628|      2|    static char *keywords[] = {"user_function", "maxsize", "typed",
 1629|      2|                               "cache_info_type", NULL};
 1630|       |
 1631|      2|    if (!PyArg_ParseTupleAndKeywords(args, kw, "OOpO:lru_cache", keywords,
  ------------------
  |  Branch (1631:9): [True: 0, False: 2]
  ------------------
 1632|      2|                                     &func, &maxsize_O, &typed,
 1633|      2|                                     &cache_info_type)) {
 1634|      0|        return NULL;
 1635|      0|    }
 1636|       |
 1637|      2|    if (!PyCallable_Check(func)) {
  ------------------
  |  Branch (1637:9): [True: 0, False: 2]
  ------------------
 1638|      0|        PyErr_SetString(PyExc_TypeError,
 1639|      0|                        "the first argument must be callable");
 1640|      0|        return NULL;
 1641|      0|    }
 1642|       |
 1643|      2|    state = get_functools_state_by_type(type);
 1644|      2|    if (state == NULL) {
  ------------------
  |  Branch (1644:9): [True: 0, False: 2]
  ------------------
 1645|      0|        return NULL;
 1646|      0|    }
 1647|       |
 1648|       |    /* select the caching function, and make/inc maxsize_O */
 1649|      2|    if (maxsize_O == Py_None) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1649:9): [True: 0, False: 2]
  ------------------
 1650|      0|        wrapper = infinite_lru_cache_wrapper;
 1651|       |        /* use this only to initialize lru_cache_object attribute maxsize */
 1652|      0|        maxsize = -1;
 1653|      2|    } else if (PyIndex_Check(maxsize_O)) {
  ------------------
  |  Branch (1653:16): [True: 2, False: 0]
  ------------------
 1654|      2|        maxsize = PyNumber_AsSsize_t(maxsize_O, PyExc_OverflowError);
 1655|      2|        if (maxsize == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1655:13): [True: 0, False: 2]
  |  Branch (1655:30): [True: 0, False: 0]
  ------------------
 1656|      0|            return NULL;
 1657|      2|        if (maxsize < 0) {
  ------------------
  |  Branch (1657:13): [True: 0, False: 2]
  ------------------
 1658|      0|            maxsize = 0;
 1659|      0|        }
 1660|      2|        if (maxsize == 0)
  ------------------
  |  Branch (1660:13): [True: 0, False: 2]
  ------------------
 1661|      0|            wrapper = uncached_lru_cache_wrapper;
 1662|      2|        else
 1663|      2|            wrapper = bounded_lru_cache_wrapper;
 1664|      2|    } else {
 1665|      0|        PyErr_SetString(PyExc_TypeError, "maxsize should be integer or None");
 1666|      0|        return NULL;
 1667|      0|    }
 1668|       |
 1669|      2|    if (!(cachedict = PyDict_New()))
  ------------------
  |  Branch (1669:9): [True: 0, False: 2]
  ------------------
 1670|      0|        return NULL;
 1671|       |
 1672|      2|    obj = (lru_cache_object *)type->tp_alloc(type, 0);
 1673|      2|    if (obj == NULL) {
  ------------------
  |  Branch (1673:9): [True: 0, False: 2]
  ------------------
 1674|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1675|      0|        return NULL;
 1676|      0|    }
 1677|       |
 1678|      2|    obj->root.prev = &obj->root;
 1679|      2|    obj->root.next = &obj->root;
 1680|      2|    obj->wrapper = wrapper;
 1681|      2|    obj->typed = typed;
 1682|      2|    obj->cache = cachedict;
 1683|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1684|      2|    obj->misses = obj->hits = 0;
 1685|      2|    obj->maxsize = maxsize;
 1686|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1687|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1688|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1689|      2|    obj->dict = NULL;
 1690|       |    obj->weakreflist = NULL;
 1691|      2|    return (PyObject *)obj;
 1692|      2|}
_functoolsmodule.c:_functools_traverse:
 1996|     18|{
 1997|     18|    _functools_state *state = get_functools_state(module);
 1998|     18|    Py_VISIT(state->kwd_mark);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1999|     18|    Py_VISIT(state->placeholder_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 2000|     18|    Py_VISIT(state->placeholder);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 2001|     18|    Py_VISIT(state->partial_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 2002|     18|    Py_VISIT(state->keyobject_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 2003|     18|    Py_VISIT(state->lru_list_elem_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 2004|     18|    return 0;
 2005|     18|}

PyNumber_AsOff_t:
  526|     95|{
  527|     95|    Py_off_t result;
  528|     95|    PyObject *runerr;
  529|     95|    PyObject *value = _PyNumber_Index(item);
  530|     95|    if (value == NULL)
  ------------------
  |  Branch (530:9): [True: 0, False: 95]
  ------------------
  531|      0|        return -1;
  532|       |
  533|       |    /* We're done if PyLong_AsSsize_t() returns without error. */
  534|     95|    result = PyLong_AsOff_t(value);
  ------------------
  |  |  111|     95|# define PyLong_AsOff_t     PyLong_AsSsize_t
  ------------------
  535|     95|    if (result != -1 || !(runerr = PyErr_Occurred()))
  ------------------
  |  Branch (535:9): [True: 95, False: 0]
  |  Branch (535:25): [True: 0, False: 0]
  ------------------
  536|     95|        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|     95| finish:
  561|     95|    Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|     95|    return result;
  563|      0|}
PyInit__io:
  745|      2|{
  746|      2|    return PyModuleDef_Init(&_PyIO_Module);
  747|      2|}
_iomodule.c:_io_open_impl:
  204|     91|{
  205|     91|    size_t i;
  206|       |
  207|     91|    int creating = 0, reading = 0, writing = 0, appending = 0, updating = 0;
  208|     91|    int text = 0, binary = 0;
  209|       |
  210|     91|    char rawmode[6], *m;
  211|     91|    int line_buffering, is_number, isatty = 0;
  212|       |
  213|     91|    PyObject *raw, *modeobj = NULL, *buffer, *wrapper, *result = NULL, *path_or_fd = NULL;
  214|       |
  215|     91|    is_number = PyNumber_Check(file);
  216|       |
  217|     91|    if (is_number) {
  ------------------
  |  Branch (217:9): [True: 6, False: 85]
  ------------------
  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|     85|    } else {
  220|     85|        path_or_fd = PyOS_FSPath(file);
  221|     85|        if (path_or_fd == NULL) {
  ------------------
  |  Branch (221:13): [True: 0, False: 85]
  ------------------
  222|      0|            return NULL;
  223|      0|        }
  224|     85|    }
  225|       |
  226|     91|    if (!is_number &&
  ------------------
  |  Branch (226:9): [True: 85, False: 6]
  ------------------
  227|     91|        !PyUnicode_Check(path_or_fd) &&
  ------------------
  |  |  103|     85|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    176|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (227:9): [True: 0, False: 85]
  ------------------
  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|    273|    for (i = 0; i < strlen(mode); i++) {
  ------------------
  |  Branch (234:17): [True: 182, False: 91]
  ------------------
  235|    182|        char c = mode[i];
  236|       |
  237|    182|        switch (c) {
  238|      0|        case 'x':
  ------------------
  |  Branch (238:9): [True: 0, False: 182]
  ------------------
  239|      0|            creating = 1;
  240|      0|            break;
  241|     87|        case 'r':
  ------------------
  |  Branch (241:9): [True: 87, False: 95]
  ------------------
  242|     87|            reading = 1;
  243|     87|            break;
  244|      4|        case 'w':
  ------------------
  |  Branch (244:9): [True: 4, False: 178]
  ------------------
  245|      4|            writing = 1;
  246|      4|            break;
  247|      0|        case 'a':
  ------------------
  |  Branch (247:9): [True: 0, False: 182]
  ------------------
  248|      0|            appending = 1;
  249|      0|            break;
  250|      0|        case '+':
  ------------------
  |  Branch (250:9): [True: 0, False: 182]
  ------------------
  251|      0|            updating = 1;
  252|      0|            break;
  253|      0|        case 't':
  ------------------
  |  Branch (253:9): [True: 0, False: 182]
  ------------------
  254|      0|            text = 1;
  255|      0|            break;
  256|     91|        case 'b':
  ------------------
  |  Branch (256:9): [True: 91, False: 91]
  ------------------
  257|     91|            binary = 1;
  258|     91|            break;
  259|      0|        default:
  ------------------
  |  Branch (259:9): [True: 0, False: 182]
  ------------------
  260|      0|            goto invalid_mode;
  261|    182|        }
  262|       |
  263|       |        /* c must not be duplicated */
  264|    182|        if (strchr(mode+i+1, c)) {
  ------------------
  |  Branch (264:13): [True: 0, False: 182]
  ------------------
  265|      0|          invalid_mode:
  266|      0|            PyErr_Format(PyExc_ValueError, "invalid mode: '%s'", mode);
  267|      0|            goto error;
  268|      0|        }
  269|       |
  270|    182|    }
  271|       |
  272|     91|    m = rawmode;
  273|     91|    if (creating)  *(m++) = 'x';
  ------------------
  |  Branch (273:9): [True: 0, False: 91]
  ------------------
  274|     91|    if (reading)   *(m++) = 'r';
  ------------------
  |  Branch (274:9): [True: 87, False: 4]
  ------------------
  275|     91|    if (writing)   *(m++) = 'w';
  ------------------
  |  Branch (275:9): [True: 4, False: 87]
  ------------------
  276|     91|    if (appending) *(m++) = 'a';
  ------------------
  |  Branch (276:9): [True: 0, False: 91]
  ------------------
  277|     91|    if (updating)  *(m++) = '+';
  ------------------
  |  Branch (277:9): [True: 0, False: 91]
  ------------------
  278|     91|    *m = '\0';
  279|       |
  280|       |    /* Parameters validation */
  281|     91|    if (text && binary) {
  ------------------
  |  Branch (281:9): [True: 0, False: 91]
  |  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|     91|    if (creating + reading + writing + appending > 1) {
  ------------------
  |  Branch (287:9): [True: 0, False: 91]
  ------------------
  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|     91|    if (binary && encoding != NULL) {
  ------------------
  |  Branch (293:9): [True: 91, False: 0]
  |  Branch (293:19): [True: 0, False: 91]
  ------------------
  294|      0|        PyErr_SetString(PyExc_ValueError,
  295|      0|                        "binary mode doesn't take an encoding argument");
  296|      0|        goto error;
  297|      0|    }
  298|       |
  299|     91|    if (binary && errors != NULL) {
  ------------------
  |  Branch (299:9): [True: 91, False: 0]
  |  Branch (299:19): [True: 0, False: 91]
  ------------------
  300|      0|        PyErr_SetString(PyExc_ValueError,
  301|      0|                        "binary mode doesn't take an errors argument");
  302|      0|        goto error;
  303|      0|    }
  304|       |
  305|     91|    if (binary && newline != NULL) {
  ------------------
  |  Branch (305:9): [True: 91, False: 0]
  |  Branch (305:19): [True: 0, False: 91]
  ------------------
  306|      0|        PyErr_SetString(PyExc_ValueError,
  307|      0|                        "binary mode doesn't take a newline argument");
  308|      0|        goto error;
  309|      0|    }
  310|       |
  311|     91|    if (binary && buffering == 1) {
  ------------------
  |  Branch (311:9): [True: 91, False: 0]
  |  Branch (311:19): [True: 0, False: 91]
  ------------------
  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|     91|    _PyIO_State *state = get_io_state(module);
  322|     91|    {
  323|     91|        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|     91|        raw = PyObject_CallFunction(RawIO_class, "OsOO",
  332|     91|                                    path_or_fd, rawmode,
  333|     91|                                    closefd ? Py_True : Py_False,
  ------------------
  |  |   26|     91|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                                  closefd ? Py_True : Py_False,
  ------------------
  |  |   25|     91|#  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: 85, False: 6]
  ------------------
  334|     91|                                    opener);
  335|     91|    }
  336|       |
  337|     91|    if (raw == NULL)
  ------------------
  |  Branch (337:9): [True: 0, False: 91]
  ------------------
  338|      0|        goto error;
  339|     91|    result = raw;
  340|       |
  341|     91|    Py_SETREF(path_or_fd, NULL);
  ------------------
  |  |  354|     91|    do { \
  |  |  355|     91|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     91|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|     91|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     91|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|     91|        *_tmp_dst_ptr = (src); \
  |  |  358|     91|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|     91|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|     91|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 91]
  |  |  ------------------
  ------------------
  342|       |
  343|     91|    modeobj = PyUnicode_FromString(mode);
  344|     91|    if (modeobj == NULL)
  ------------------
  |  Branch (344:9): [True: 0, False: 91]
  ------------------
  345|      0|        goto error;
  346|       |
  347|       |    /* buffering */
  348|     91|    if (buffering < 0) {
  ------------------
  |  Branch (348:9): [True: 91, False: 0]
  ------------------
  349|     91|        PyObject *res = PyObject_CallMethodNoArgs(raw, &_Py_ID(_isatty_open_only));
  ------------------
  |  |  921|     91|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     91|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     91|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  350|     91|        if (res == NULL)
  ------------------
  |  Branch (350:13): [True: 0, False: 91]
  ------------------
  351|      0|            goto error;
  352|     91|        isatty = PyObject_IsTrue(res);
  353|     91|        Py_DECREF(res);
  ------------------
  |  |  430|     91|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  354|     91|        if (isatty < 0)
  ------------------
  |  Branch (354:13): [True: 0, False: 91]
  ------------------
  355|      0|            goto error;
  356|     91|    }
  357|       |
  358|     91|    if (buffering == 1 || isatty) {
  ------------------
  |  Branch (358:9): [True: 0, False: 91]
  |  Branch (358:27): [True: 0, False: 91]
  ------------------
  359|      0|        buffering = -1;
  360|      0|        line_buffering = 1;
  361|      0|    }
  362|     91|    else
  363|     91|        line_buffering = 0;
  364|       |
  365|     91|    if (buffering < 0) {
  ------------------
  |  Branch (365:9): [True: 91, False: 0]
  ------------------
  366|     91|        PyObject *blksize_obj;
  367|     91|        blksize_obj = PyObject_GetAttr(raw, &_Py_ID(_blksize));
  ------------------
  |  |  921|     91|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     91|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     91|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  368|     91|        if (blksize_obj == NULL)
  ------------------
  |  Branch (368:13): [True: 0, False: 91]
  ------------------
  369|      0|            goto error;
  370|     91|        buffering = PyLong_AsLong(blksize_obj);
  371|     91|        Py_DECREF(blksize_obj);
  ------------------
  |  |  430|     91|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|     91|        if (buffering == -1 && PyErr_Occurred())
  ------------------
  |  Branch (372:13): [True: 0, False: 91]
  |  Branch (372:32): [True: 0, False: 0]
  ------------------
  373|      0|            goto error;
  374|     91|        buffering = Py_MAX(Py_MIN(buffering, 8192 * 1024), DEFAULT_BUFFER_SIZE);
  ------------------
  |  |  115|    182|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 91]
  |  |  |  Branch (115:25): [True: 0, False: 91]
  |  |  |  Branch (115:38): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  375|     91|    }
  376|     91|    if (buffering < 0) {
  ------------------
  |  Branch (376:9): [True: 0, False: 91]
  ------------------
  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|     91|    if (buffering == 0) {
  ------------------
  |  Branch (383:9): [True: 0, False: 91]
  ------------------
  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|     91|    {
  396|     91|        PyObject *Buffered_class;
  397|       |
  398|     91|        if (updating) {
  ------------------
  |  Branch (398:13): [True: 0, False: 91]
  ------------------
  399|      0|            Buffered_class = (PyObject *)state->PyBufferedRandom_Type;
  400|      0|        }
  401|     91|        else if (creating || writing || appending) {
  ------------------
  |  Branch (401:18): [True: 0, False: 91]
  |  Branch (401:30): [True: 4, False: 87]
  |  Branch (401:41): [True: 0, False: 87]
  ------------------
  402|      4|            Buffered_class = (PyObject *)state->PyBufferedWriter_Type;
  403|      4|        }
  404|     87|        else if (reading) {
  ------------------
  |  Branch (404:18): [True: 87, False: 0]
  ------------------
  405|     87|            Buffered_class = (PyObject *)state->PyBufferedReader_Type;
  406|     87|        }
  407|      0|        else {
  408|      0|            PyErr_Format(PyExc_ValueError,
  409|      0|                         "unknown mode: '%s'", mode);
  410|      0|            goto error;
  411|      0|        }
  412|       |
  413|     91|        buffer = PyObject_CallFunction(Buffered_class, "Oi", raw, buffering);
  414|     91|    }
  415|     91|    if (buffer == NULL)
  ------------------
  |  Branch (415:9): [True: 0, False: 91]
  ------------------
  416|      0|        goto error;
  417|     91|    result = buffer;
  418|     91|    Py_DECREF(raw);
  ------------------
  |  |  430|     91|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  419|       |
  420|       |
  421|       |    /* if binary, returns the buffered file */
  422|     91|    if (binary) {
  ------------------
  |  Branch (422:9): [True: 91, False: 0]
  ------------------
  423|     91|        Py_DECREF(modeobj);
  ------------------
  |  |  430|     91|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  424|     91|        return result;
  425|     91|    }
  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)
  ------------------
  |  |  921|      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));
  ------------------
  |  |  921|      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|     85|{
  517|     85|    return PyFile_OpenCodeObject(path);
  518|     85|}
_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)
  ------------------
  |  |  921|      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|     20|iomodule_traverse(PyObject *mod, visitproc visit, void *arg) {
  567|     20|    _PyIO_State *state = get_io_state(mod);
  568|     20|    Py_VISIT(state->unsupported_operation);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
  569|       |
  570|     20|    Py_VISIT(state->PyIOBase_Type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
  571|     20|    Py_VISIT(state->PyIncrementalNewlineDecoder_Type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
  572|     20|    Py_VISIT(state->PyRawIOBase_Type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
  573|     20|    Py_VISIT(state->PyBufferedIOBase_Type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
  574|     20|    Py_VISIT(state->PyBufferedRWPair_Type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
  575|     20|    Py_VISIT(state->PyBufferedRandom_Type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
  576|     20|    Py_VISIT(state->PyBufferedReader_Type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
  577|     20|    Py_VISIT(state->PyBufferedWriter_Type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
  578|     20|    Py_VISIT(state->PyBytesIOBuffer_Type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
  579|     20|    Py_VISIT(state->PyBytesIO_Type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
  580|     20|    Py_VISIT(state->PyFileIO_Type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
  581|     20|    Py_VISIT(state->PyStringIO_Type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
  582|     20|    Py_VISIT(state->PyTextIOBase_Type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
  583|     20|    Py_VISIT(state->PyTextIOWrapper_Type);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
  584|       |#ifdef HAVE_WINDOWS_CONSOLE_IO
  585|       |    Py_VISIT(state->PyWindowsConsoleIO_Type);
  586|       |#endif
  587|     20|    return 0;
  588|     20|}

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

bufferedio.c:buffered_dealloc:
  426|     85|{
  427|     85|    buffered *self = buffered_CAST(op);
  ------------------
  |  |  267|     85|#define buffered_CAST(op)   ((buffered *)(op))
  ------------------
  428|     85|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|     85|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  429|     85|    self->finalizing = 1;
  430|     85|    if (_PyIOBase_finalize(op) < 0)
  ------------------
  |  Branch (430:9): [True: 0, False: 85]
  ------------------
  431|      0|        return;
  432|     85|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|     85|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  433|     85|    self->ok = 0;
  434|     85|    FT_CLEAR_WEAKREFS(op, self->weakreflist);
  ------------------
  |  |   47|     85|    do {                                            \
  |  |   48|     85|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|     85|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 85]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|     85|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 85]
  |  |  ------------------
  ------------------
  |  Branch (434:5): [True: 85, False: 0]
  ------------------
  435|     85|    if (self->buffer) {
  ------------------
  |  Branch (435:9): [True: 0, False: 85]
  ------------------
  436|      0|        PyMem_Free(self->buffer);
  437|      0|        self->buffer = NULL;
  438|      0|    }
  439|     85|    if (self->lock) {
  ------------------
  |  Branch (439:9): [True: 85, False: 0]
  ------------------
  440|     85|        PyThread_free_lock(self->lock);
  441|     85|        self->lock = NULL;
  442|     85|    }
  443|     85|    (void)buffered_clear(op);
  444|     85|    tp->tp_free(self);
  445|     85|    Py_DECREF(tp);
  ------------------
  |  |  430|     85|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  446|     85|}
bufferedio.c:buffered_traverse:
  466|     60|{
  467|     60|    buffered *self = buffered_CAST(op);
  ------------------
  |  |  267|     60|#define buffered_CAST(op)   ((buffered *)(op))
  ------------------
  468|     60|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|     60|    do {                                                                \
  |  |  195|     60|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 60, False: 0]
  |  |  ------------------
  |  |  196|     60|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     60|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 60]
  |  |  ------------------
  |  |  198|     60|                return vret;                                            \
  |  |  199|     60|        }                                                               \
  |  |  200|     60|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 60]
  |  |  ------------------
  ------------------
  469|     60|    Py_VISIT(self->raw);
  ------------------
  |  |  194|     60|    do {                                                                \
  |  |  195|     60|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 60, False: 0]
  |  |  ------------------
  |  |  196|     60|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     60|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 60]
  |  |  ------------------
  |  |  198|     60|                return vret;                                            \
  |  |  199|     60|        }                                                               \
  |  |  200|     60|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 60]
  |  |  ------------------
  ------------------
  470|     60|    Py_VISIT(self->dict);
  ------------------
  |  |  194|     60|    do {                                                                \
  |  |  195|     60|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 60]
  |  |  ------------------
  |  |  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|     60|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 60]
  |  |  ------------------
  ------------------
  471|     60|    return 0;
  472|     60|}
bufferedio.c:buffered_clear:
  416|     85|{
  417|     85|    buffered *self = buffered_CAST(op);
  ------------------
  |  |  267|     85|#define buffered_CAST(op)   ((buffered *)(op))
  ------------------
  418|     85|    self->ok = 0;
  419|     85|    Py_CLEAR(self->raw);
  ------------------
  |  |  484|     85|    do { \
  |  |  485|     85|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     85|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     85|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     85|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     85|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 85, False: 0]
  |  |  ------------------
  |  |  488|     85|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     85|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     85|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     85|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     85|        } \
  |  |  491|     85|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 85]
  |  |  ------------------
  ------------------
  420|       |    Py_CLEAR(self->dict);
  ------------------
  |  |  484|     85|    do { \
  |  |  485|     85|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     85|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     85|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     85|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     85|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 85]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|     85|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 85]
  |  |  ------------------
  ------------------
  421|     85|    return 0;
  422|     85|}
bufferedio.c:buffered_flush_and_rewind_unlocked:
  909|  48.4k|{
  910|  48.4k|    PyObject *res;
  911|       |
  912|  48.4k|    res = _bufferedwriter_flush_unlocked(self);
  913|  48.4k|    if (res == NULL)
  ------------------
  |  Branch (913:9): [True: 0, False: 48.4k]
  ------------------
  914|      0|        return NULL;
  915|  48.4k|    Py_DECREF(res);
  ------------------
  |  |  430|  48.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  916|       |
  917|  48.4k|    if (self->readable) {
  ------------------
  |  Branch (917:9): [True: 0, False: 48.4k]
  ------------------
  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|  48.4k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  48.4k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  48.4k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  927|  48.4k|}
bufferedio.c:_bufferedwriter_flush_unlocked:
 2025|  48.4k|{
 2026|  48.4k|    Py_off_t n, rewind;
 2027|       |
 2028|  48.4k|    if (!VALID_WRITE_BUFFER(self) || self->write_pos == self->write_end)
  ------------------
  |  |  388|  96.9k|    (self->writable && self->write_end != -1)
  |  |  ------------------
  |  |  |  Branch (388:6): [True: 48.4k, False: 0]
  |  |  |  Branch (388:24): [True: 48.4k, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2028:38): [True: 0, False: 48.4k]
  ------------------
 2029|      0|        goto end;
 2030|       |    /* First, rewind */
 2031|  48.4k|    rewind = RAW_OFFSET(self) + (self->pos - self->write_pos);
  ------------------
  |  |  402|  48.4k|    (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  385|  96.9k|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 0, False: 48.4k]
  |  |  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  388|  48.4k|    (self->writable && self->write_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (388:6): [True: 48.4k, False: 0]
  |  |  |  |  |  Branch (388:24): [True: 48.4k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  403|  48.4k|        && self->raw_pos >= 0) ? self->raw_pos - self->pos : 0)
  |  |  ------------------
  |  |  |  Branch (403:12): [True: 48.4k, False: 0]
  |  |  ------------------
  ------------------
 2032|  48.4k|    if (rewind != 0) {
  ------------------
  |  Branch (2032:9): [True: 0, False: 48.4k]
  ------------------
 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|  96.9k|    while (self->write_pos < self->write_end) {
  ------------------
  |  Branch (2039:12): [True: 48.4k, False: 48.4k]
  ------------------
 2040|  48.4k|        n = _bufferedwriter_raw_write(self,
 2041|  48.4k|            self->buffer + self->write_pos,
 2042|  48.4k|            Py_SAFE_DOWNCAST(self->write_end - self->write_pos,
  ------------------
  |  |  247|  48.4k|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|  48.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2043|  48.4k|                             Py_off_t, Py_ssize_t));
 2044|  48.4k|        if (n == -1) {
  ------------------
  |  Branch (2044:13): [True: 0, False: 48.4k]
  ------------------
 2045|      0|            goto error;
 2046|      0|        }
 2047|  48.4k|        else if (n == -2) {
  ------------------
  |  Branch (2047:18): [True: 0, False: 48.4k]
  ------------------
 2048|      0|            _set_BlockingIOError("write could not complete without blocking",
 2049|      0|                                 0);
 2050|      0|            goto error;
 2051|      0|        }
 2052|  48.4k|        self->write_pos += n;
 2053|  48.4k|        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|  48.4k|        if (PyErr_CheckSignals() < 0)
  ------------------
  |  Branch (2057:13): [True: 0, False: 48.4k]
  ------------------
 2058|      0|            goto error;
 2059|  48.4k|    }
 2060|       |
 2061|       |
 2062|  48.4k|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|  48.4k|    _bufferedwriter_reset_buf(self);
 2073|  48.4k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  48.4k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  48.4k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2074|       |
 2075|      0|error:
 2076|       |    return NULL;
 2077|  48.4k|}
bufferedio.c:_bufferedwriter_raw_write:
 1978|  48.4k|{
 1979|  48.4k|    Py_buffer buf;
 1980|  48.4k|    PyObject *memobj, *res;
 1981|  48.4k|    Py_ssize_t n;
 1982|  48.4k|    int errnum;
 1983|       |    /* NOTE: the buffer needn't be released as its object is NULL. */
 1984|  48.4k|    if (PyBuffer_FillInfo(&buf, NULL, start, len, 1, PyBUF_CONTIG_RO) == -1)
  ------------------
  |  |  125|  48.4k|#define PyBUF_CONTIG_RO (PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|  48.4k|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
  |  Branch (1984:9): [True: 0, False: 48.4k]
  ------------------
 1985|      0|        return -1;
 1986|  48.4k|    memobj = PyMemoryView_FromBuffer(&buf);
 1987|  48.4k|    if (memobj == NULL)
  ------------------
  |  Branch (1987:9): [True: 0, False: 48.4k]
  ------------------
 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|  48.4k|    do {
 1995|  48.4k|        errno = 0;
 1996|  48.4k|        res = PyObject_CallMethodOneArg(self->raw, &_Py_ID(write), memobj);
  ------------------
  |  |  921|  48.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  48.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  48.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1997|  48.4k|        errnum = errno;
 1998|  48.4k|    } while (res == NULL && _PyIO_trap_eintr());
  ------------------
  |  Branch (1998:14): [True: 0, False: 48.4k]
  |  Branch (1998:29): [True: 0, False: 0]
  ------------------
 1999|  48.4k|    Py_DECREF(memobj);
  ------------------
  |  |  430|  48.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2000|  48.4k|    if (res == NULL)
  ------------------
  |  Branch (2000:9): [True: 0, False: 48.4k]
  ------------------
 2001|      0|        return -1;
 2002|  48.4k|    if (res == Py_None) {
  ------------------
  |  |  616|  48.4k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2002:9): [True: 0, False: 48.4k]
  ------------------
 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|  48.4k|    n = PyNumber_AsSsize_t(res, PyExc_ValueError);
 2011|  48.4k|    Py_DECREF(res);
  ------------------
  |  |  430|  48.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2012|  48.4k|    if (n < 0 || n > len) {
  ------------------
  |  Branch (2012:9): [True: 0, False: 48.4k]
  |  Branch (2012:18): [True: 0, False: 48.4k]
  ------------------
 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|  48.4k|    if (n > 0 && self->abs_pos != -1)
  ------------------
  |  Branch (2018:9): [True: 48.4k, False: 0]
  |  Branch (2018:18): [True: 48.4k, False: 0]
  ------------------
 2019|  48.4k|        self->abs_pos += n;
 2020|  48.4k|    return n;
 2021|  48.4k|}
bufferedio.c:_bufferedwriter_reset_buf:
 1926|  48.4k|{
 1927|  48.4k|    self->write_pos = 0;
 1928|  48.4k|    self->write_end = -1;
 1929|  48.4k|}
bufferedio.c:_bufferedreader_reset_buf:
 1579|    172|{
 1580|    172|    self->read_end = -1;
 1581|    172|}
bufferedio.c:_io__Buffered_simple_flush_impl:
  515|     85|{
  516|     85|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|     85|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 85]
  |  |  ------------------
  |  |  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|     85|    return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(flush));
  ------------------
  |  |  921|     85|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     85|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     85|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  518|     85|}
bufferedio.c:_io__Buffered_close_impl:
  556|     85|{
  557|     85|    PyObject *res = NULL;
  558|     85|    int r;
  559|       |
  560|     85|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|     85|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 85]
  |  |  ------------------
  |  |  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|     85|    if (!ENTER_BUFFERED(self)) {
  ------------------
  |  |  330|     85|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 85, False: 0]
  |  |  |  Branch (330:8): [True: 85, False: 0]
  |  |  ------------------
  |  |  331|     85|       1 : _enter_buffered_busy(self)) \
  |  |  332|     85|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 85, False: 0]
  |  |  ------------------
  ------------------
  562|      0|        return NULL;
  563|      0|    }
  564|       |    /* gh-138720: Use IS_CLOSED to match flush CHECK_CLOSED. */
  565|     85|    r = IS_CLOSED(self);
  ------------------
  |  |  365|     85|    (!self->buffer ? 1 : \
  |  |  ------------------
  |  |  |  Branch (365:6): [True: 0, False: 85]
  |  |  ------------------
  |  |  366|     85|    (self->fast_closed_checks \
  |  |  ------------------
  |  |  |  Branch (366:6): [True: 85, False: 0]
  |  |  ------------------
  |  |  367|     85|     ? _PyFileIO_closed(self->raw) \
  |  |  368|     85|     : buffered_closed(self)))
  ------------------
  566|     85|    if (r < 0)
  ------------------
  |  Branch (566:9): [True: 0, False: 85]
  ------------------
  567|      0|        goto end;
  568|     85|    if (r > 0) {
  ------------------
  |  Branch (568:9): [True: 0, False: 85]
  ------------------
  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|     85|    if (self->finalizing) {
  ------------------
  |  Branch (573:9): [True: 0, False: 85]
  ------------------
  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|     85|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|     85|    do { \
  |  |  336|     85|        self->owner = 0; \
  |  |  337|     85|        PyThread_release_lock(self->lock); \
  |  |  338|     85|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 85]
  |  |  ------------------
  ------------------
  582|     85|    r = _PyFile_Flush((PyObject *)self);
  583|     85|    if (!ENTER_BUFFERED(self)) {
  ------------------
  |  |  330|     85|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 85, False: 0]
  |  |  |  Branch (330:8): [True: 85, False: 0]
  |  |  ------------------
  |  |  331|     85|       1 : _enter_buffered_busy(self)) \
  |  |  332|     85|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 85, False: 0]
  |  |  ------------------
  ------------------
  584|      0|        return NULL;
  585|      0|    }
  586|     85|    PyObject *exc = NULL;
  587|     85|    if (r < 0) {
  ------------------
  |  Branch (587:9): [True: 0, False: 85]
  ------------------
  588|      0|        exc = PyErr_GetRaisedException();
  589|      0|    }
  590|       |
  591|     85|    res = PyObject_CallMethodNoArgs(self->raw, &_Py_ID(close));
  ------------------
  |  |  921|     85|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     85|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     85|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  592|       |
  593|     85|    if (self->buffer) {
  ------------------
  |  Branch (593:9): [True: 85, False: 0]
  ------------------
  594|     85|        PyMem_Free(self->buffer);
  595|     85|        self->buffer = NULL;
  596|     85|    }
  597|       |
  598|     85|    if (exc != NULL) {
  ------------------
  |  Branch (598:9): [True: 0, False: 85]
  ------------------
  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|     85|    self->read_end = 0;
  604|     85|    self->pos = 0;
  605|       |
  606|     85|end:
  607|     85|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|     85|    do { \
  |  |  336|     85|        self->owner = 0; \
  |  |  337|     85|        PyThread_release_lock(self->lock); \
  |  |  338|     85|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 85]
  |  |  ------------------
  ------------------
  608|     85|    return res;
  609|     85|}
bufferedio.c:_io__Buffered_seekable_impl:
  642|      6|{
  643|      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|    }
  ------------------
  644|      6|    return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(seekable));
  ------------------
  |  |  921|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  645|      6|}
bufferedio.c:_io__Buffered_readable_impl:
  655|      2|{
  656|      2|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|      2|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  342|      0|        if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (342:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  343|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  344|      0|                 "raw stream has been detached"); \
  |  |  345|      0|        } else { \
  |  |  346|      0|            PyErr_SetString(PyExc_ValueError, \
  |  |  347|      0|                "I/O operation on uninitialized object"); \
  |  |  348|      0|        } \
  |  |  349|      0|        return NULL; \
  |  |  350|      0|    }
  ------------------
  657|      2|    return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(readable));
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  658|      2|}
bufferedio.c:_io__Buffered_read_impl:
  994|     85|{
  995|     85|    PyObject *res;
  996|       |
  997|     85|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|     85|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 85]
  |  |  ------------------
  |  |  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|     85|    if (n < -1) {
  ------------------
  |  Branch (998:9): [True: 0, False: 85]
  ------------------
  999|      0|        PyErr_SetString(PyExc_ValueError,
 1000|      0|                        "read length must be non-negative or -1");
 1001|      0|        return NULL;
 1002|      0|    }
 1003|       |
 1004|     85|    CHECK_CLOSED(self, "read of closed file")
  ------------------
  |  |  371|     85|    do { \
  |  |  372|     85|        int _closed = IS_CLOSED(self); \
  |  |  ------------------
  |  |  |  |  365|     85|    (!self->buffer ? 1 : \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (365:6): [True: 0, False: 85]
  |  |  |  |  ------------------
  |  |  |  |  366|     85|    (self->fast_closed_checks \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (366:6): [True: 85, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  367|     85|     ? _PyFileIO_closed(self->raw) \
  |  |  |  |  368|     85|     : buffered_closed(self)))
  |  |  ------------------
  |  |  373|     85|        if (_closed < 0) { \
  |  |  ------------------
  |  |  |  Branch (373:13): [True: 0, False: 85]
  |  |  ------------------
  |  |  374|      0|            return NULL; \
  |  |  375|      0|        } \
  |  |  376|     85|        if (_closed && \
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 0, False: 85]
  |  |  ------------------
  |  |  377|     85|            (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|     85|        { \
  |  |  379|      0|            PyErr_SetString(PyExc_ValueError, error_msg); \
  |  |  380|      0|            return NULL; \
  |  |  381|      0|        } \
  |  |  382|     85|    } while (0);
  |  |  ------------------
  |  |  |  Branch (382:14): [Folded, False: 85]
  |  |  ------------------
  ------------------
 1005|       |
 1006|     85|    if (n == -1) {
  ------------------
  |  Branch (1006:9): [True: 85, False: 0]
  ------------------
 1007|       |        /* The number of bytes is unspecified, read until the end of stream */
 1008|     85|        if (!ENTER_BUFFERED(self))
  ------------------
  |  |  330|     85|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 85, False: 0]
  |  |  |  Branch (330:8): [True: 85, False: 0]
  |  |  ------------------
  |  |  331|     85|       1 : _enter_buffered_busy(self)) \
  |  |  332|     85|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 85, False: 0]
  |  |  ------------------
  ------------------
 1009|      0|            return NULL;
 1010|     85|        res = _bufferedreader_read_all(self);
 1011|     85|    }
 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|     85|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|     85|    do { \
  |  |  336|     85|        self->owner = 0; \
  |  |  337|     85|        PyThread_release_lock(self->lock); \
  |  |  338|     85|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 85]
  |  |  ------------------
  ------------------
 1023|     85|    return res;
 1024|     85|}
bufferedio.c:_bufferedreader_read_all:
 1691|     85|{
 1692|     85|    Py_ssize_t current_size;
 1693|     85|    PyObject *res = NULL, *data = NULL, *tmp = NULL, *chunks = NULL, *readall;
 1694|       |
 1695|       |    /* First copy what we have in the current buffer. */
 1696|     85|    current_size = Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t);
  ------------------
  |  |  247|     85|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|    510|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:47): [True: 85, False: 0]
  |  |  |  |  |  Branch (34:47): [True: 0, False: 85]
  |  |  |  |  |  Branch (34:47): [True: 85, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1697|     85|    if (current_size) {
  ------------------
  |  Branch (1697:9): [True: 0, False: 85]
  ------------------
 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|     85|    if (self->writable) {
  ------------------
  |  Branch (1705:9): [True: 0, False: 85]
  ------------------
 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|     85|    _bufferedreader_reset_buf(self);
 1712|       |
 1713|     85|    if (PyObject_GetOptionalAttr(self->raw, &_Py_ID(readall), &readall) < 0) {
  ------------------
  |  |  921|     85|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     85|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     85|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1713:9): [True: 0, False: 85]
  ------------------
 1714|      0|        goto cleanup;
 1715|      0|    }
 1716|     85|    if (readall) {
  ------------------
  |  Branch (1716:9): [True: 85, False: 0]
  ------------------
 1717|     85|        tmp = _PyObject_CallNoArgs(readall);
 1718|     85|        Py_DECREF(readall);
  ------------------
  |  |  430|     85|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1719|     85|        if (tmp == NULL)
  ------------------
  |  Branch (1719:13): [True: 0, False: 85]
  ------------------
 1720|      0|            goto cleanup;
 1721|     85|        if (tmp != Py_None && !PyBytes_Check(tmp)) {
  ------------------
  |  |  616|    170|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      if (tmp != Py_None && !PyBytes_Check(tmp)) {
  ------------------
  |  |   28|     85|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     85|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1721:13): [True: 85, False: 0]
  |  Branch (1721:31): [True: 0, False: 85]
  ------------------
 1722|      0|            PyErr_SetString(PyExc_TypeError, "readall() should return bytes");
 1723|      0|            goto cleanup;
 1724|      0|        }
 1725|     85|        if (current_size == 0) {
  ------------------
  |  Branch (1725:13): [True: 85, False: 0]
  ------------------
 1726|     85|            res = tmp;
 1727|     85|        } 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|     85|        goto cleanup;
 1734|     85|    }
 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));
  ------------------
  |  |  921|      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|     85|cleanup:
 1771|       |    /* res is either NULL or a borrowed ref */
 1772|     85|    Py_XINCREF(res);
  ------------------
  |  |  514|     85|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1773|     85|    Py_XDECREF(data);
  ------------------
  |  |  524|     85|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1774|     85|    Py_XDECREF(tmp);
  ------------------
  |  |  524|     85|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1775|     85|    Py_XDECREF(chunks);
  ------------------
  |  |  524|     85|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1776|     85|    return res;
 1777|      0|}
bufferedio.c:_buffered_raw_tell:
  785|     95|{
  786|     95|    Py_off_t n;
  787|     95|    PyObject *res;
  788|     95|    res = PyObject_CallMethodNoArgs(self->raw, &_Py_ID(tell));
  ------------------
  |  |  921|     95|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     95|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     95|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  789|     95|    if (res == NULL)
  ------------------
  |  Branch (789:9): [True: 0, False: 95]
  ------------------
  790|      0|        return -1;
  791|     95|    n = PyNumber_AsOff_t(res, PyExc_ValueError);
  792|     95|    Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  793|     95|    if (n < 0) {
  ------------------
  |  Branch (793:9): [True: 0, False: 95]
  ------------------
  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|     95|    self->abs_pos = n;
  801|     95|    return n;
  802|     95|}
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|    170|{
  544|    170|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|    170|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 170]
  |  |  ------------------
  |  |  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|    170|    return PyObject_GetAttr(self->raw, &_Py_ID(closed));
  ------------------
  |  |  921|    170|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    170|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    170|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  546|    170|}
bufferedio.c:_io_BufferedReader___init___impl:
 1595|     87|{
 1596|     87|    self->ok = 0;
 1597|     87|    self->detached = 0;
 1598|       |
 1599|     87|    _PyIO_State *state = find_io_state_by_def(Py_TYPE(self));
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1600|     87|    if (_PyIOBase_check_readable(state, raw, Py_True) == NULL) {
  ------------------
  |  |   26|     87|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1600:9): [True: 0, False: 87]
  ------------------
 1601|      0|        return -1;
 1602|      0|    }
 1603|       |
 1604|     87|    Py_XSETREF(self->raw, Py_NewRef(raw));
  ------------------
  |  |  376|     87|    do { \
  |  |  377|     87|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     87|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     87|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     87|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     87|        *_tmp_dst_ptr = (src); \
  |  |  380|     87|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     87|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     87|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 87]
  |  |  ------------------
  ------------------
 1605|     87|    self->buffer_size = buffer_size;
 1606|     87|    self->readable = 1;
 1607|     87|    self->writable = 0;
 1608|       |
 1609|     87|    if (_buffered_init(self) < 0)
  ------------------
  |  Branch (1609:9): [True: 0, False: 87]
  ------------------
 1610|      0|        return -1;
 1611|     87|    _bufferedreader_reset_buf(self);
 1612|       |
 1613|     87|    self->fast_closed_checks = (
 1614|     87|        Py_IS_TYPE(self, state->PyBufferedReader_Type) &&
  ------------------
  |  |  215|    174|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 87, False: 0]
  |  |  ------------------
  ------------------
 1615|     87|        Py_IS_TYPE(raw, state->PyFileIO_Type)
  ------------------
  |  |  215|     87|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 87, False: 0]
  |  |  ------------------
  ------------------
 1616|     87|    );
 1617|       |
 1618|     87|    self->ok = 1;
 1619|     87|    return 0;
 1620|     87|}
bufferedio.c:_buffered_init:
  839|     91|{
  840|     91|    Py_ssize_t n;
  841|     91|    if (self->buffer_size <= 0) {
  ------------------
  |  Branch (841:9): [True: 0, False: 91]
  ------------------
  842|      0|        PyErr_SetString(PyExc_ValueError,
  843|      0|            "buffer size must be strictly positive");
  844|      0|        return -1;
  845|      0|    }
  846|     91|    if (self->buffer)
  ------------------
  |  Branch (846:9): [True: 0, False: 91]
  ------------------
  847|      0|        PyMem_Free(self->buffer);
  848|     91|    self->buffer = PyMem_Malloc(self->buffer_size);
  849|     91|    if (self->buffer == NULL) {
  ------------------
  |  Branch (849:9): [True: 0, False: 91]
  ------------------
  850|      0|        PyErr_NoMemory();
  851|      0|        return -1;
  852|      0|    }
  853|     91|    if (self->lock)
  ------------------
  |  Branch (853:9): [True: 0, False: 91]
  ------------------
  854|      0|        PyThread_free_lock(self->lock);
  855|     91|    self->lock = PyThread_allocate_lock();
  856|     91|    if (self->lock == NULL) {
  ------------------
  |  Branch (856:9): [True: 0, False: 91]
  ------------------
  857|      0|        PyErr_SetString(PyExc_RuntimeError, "can't allocate read lock");
  858|      0|        return -1;
  859|      0|    }
  860|     91|    self->owner = 0;
  861|       |    /* Find out whether buffer_size is a power of 2 */
  862|       |    /* XXX is this optimization useful? */
  863|  1.63k|    for (n = self->buffer_size - 1; n & 1; n >>= 1)
  ------------------
  |  Branch (863:37): [True: 1.54k, False: 91]
  ------------------
  864|  1.54k|        ;
  865|     91|    if (n == 0)
  ------------------
  |  Branch (865:9): [True: 91, False: 0]
  ------------------
  866|     91|        self->buffer_mask = self->buffer_size - 1;
  867|      0|    else
  868|      0|        self->buffer_mask = 0;
  869|     91|    if (_buffered_raw_tell(self) == -1)
  ------------------
  |  Branch (869:9): [True: 0, False: 91]
  ------------------
  870|      0|        PyErr_Clear();
  871|     91|    return 0;
  872|     91|}
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));
  ------------------
  |  |  921|      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|  48.4k|{
 2090|  48.4k|    PyObject *res = NULL;
 2091|  48.4k|    Py_ssize_t written, avail, remaining;
 2092|  48.4k|    Py_off_t offset;
 2093|  48.4k|    int r;
 2094|       |
 2095|  48.4k|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|  48.4k|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 48.4k]
  |  |  ------------------
  |  |  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|  48.4k|    if (!ENTER_BUFFERED(self))
  ------------------
  |  |  330|  48.4k|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 48.4k, False: 0]
  |  |  |  Branch (330:8): [True: 48.4k, False: 0]
  |  |  ------------------
  |  |  331|  48.4k|       1 : _enter_buffered_busy(self)) \
  |  |  332|  48.4k|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 48.4k, 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|  48.4k|    r = IS_CLOSED(self);
  ------------------
  |  |  365|  48.4k|    (!self->buffer ? 1 : \
  |  |  ------------------
  |  |  |  Branch (365:6): [True: 0, False: 48.4k]
  |  |  ------------------
  |  |  366|  48.4k|    (self->fast_closed_checks \
  |  |  ------------------
  |  |  |  Branch (366:6): [True: 48.4k, False: 0]
  |  |  ------------------
  |  |  367|  48.4k|     ? _PyFileIO_closed(self->raw) \
  |  |  368|  48.4k|     : buffered_closed(self)))
  ------------------
 2103|  48.4k|    if (r < 0) {
  ------------------
  |  Branch (2103:9): [True: 0, False: 48.4k]
  ------------------
 2104|      0|        goto error;
 2105|      0|    }
 2106|  48.4k|    if (r > 0) {
  ------------------
  |  Branch (2106:9): [True: 0, False: 48.4k]
  ------------------
 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|  48.4k|    if (!VALID_READ_BUFFER(self) && !VALID_WRITE_BUFFER(self)) {
  ------------------
  |  |  385|  96.9k|    (self->readable && self->read_end != -1)
  |  |  ------------------
  |  |  |  Branch (385:6): [True: 0, False: 48.4k]
  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                  if (!VALID_READ_BUFFER(self) && !VALID_WRITE_BUFFER(self)) {
  ------------------
  |  |  388|  48.4k|    (self->writable && self->write_end != -1)
  |  |  ------------------
  |  |  |  Branch (388:6): [True: 48.4k, False: 0]
  |  |  |  Branch (388:24): [True: 0, False: 48.4k]
  |  |  ------------------
  ------------------
 2113|  48.4k|        self->pos = 0;
 2114|  48.4k|        self->raw_pos = 0;
 2115|  48.4k|    }
 2116|  48.4k|    avail = Py_SAFE_DOWNCAST(self->buffer_size - self->pos, Py_off_t, Py_ssize_t);
  ------------------
  |  |  247|  48.4k|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|  48.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2117|  48.4k|    if (buffer->len <= avail && buffer->len < self->buffer_size) {
  ------------------
  |  Branch (2117:9): [True: 48.4k, False: 0]
  |  Branch (2117:33): [True: 48.4k, False: 0]
  ------------------
 2118|  48.4k|        memcpy(self->buffer + self->pos, buffer->buf, buffer->len);
 2119|  48.4k|        if (!VALID_WRITE_BUFFER(self) || self->write_pos > self->pos) {
  ------------------
  |  |  388|  96.9k|    (self->writable && self->write_end != -1)
  |  |  ------------------
  |  |  |  Branch (388:6): [True: 48.4k, False: 0]
  |  |  |  Branch (388:24): [True: 0, False: 48.4k]
  |  |  ------------------
  ------------------
  |  Branch (2119:42): [True: 0, False: 0]
  ------------------
 2120|  48.4k|            self->write_pos = self->pos;
 2121|  48.4k|        }
 2122|  48.4k|        ADJUST_POSITION(self, self->pos + buffer->len);
  ------------------
  |  |  391|  48.4k|    do { \
  |  |  392|  48.4k|        self->pos = _new_pos; \
  |  |  393|  48.4k|        if (VALID_READ_BUFFER(self) && self->read_end < self->pos) \
  |  |  ------------------
  |  |  |  |  385|  96.9k|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 0, False: 48.4k]
  |  |  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (393:40): [True: 0, False: 0]
  |  |  ------------------
  |  |  394|  48.4k|            self->read_end = self->pos; \
  |  |  395|  48.4k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (395:13): [Folded, False: 48.4k]
  |  |  ------------------
  ------------------
 2123|  48.4k|        if (self->pos > self->write_end)
  ------------------
  |  Branch (2123:13): [True: 48.4k, False: 0]
  ------------------
 2124|  48.4k|            self->write_end = self->pos;
 2125|  48.4k|        written = buffer->len;
 2126|  48.4k|        goto end;
 2127|  48.4k|    }
 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|  48.4k|end:
 2229|  48.4k|    res = PyLong_FromSsize_t(written);
 2230|       |
 2231|  48.4k|error:
 2232|  48.4k|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|  48.4k|    do { \
  |  |  336|  48.4k|        self->owner = 0; \
  |  |  337|  48.4k|        PyThread_release_lock(self->lock); \
  |  |  338|  48.4k|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 48.4k]
  |  |  ------------------
  ------------------
 2233|  48.4k|    return res;
 2234|  48.4k|}
bufferedio.c:_io__Buffered_flush_impl:
  937|  48.4k|{
  938|  48.4k|    PyObject *res;
  939|       |
  940|  48.4k|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|  48.4k|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 48.4k]
  |  |  ------------------
  |  |  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|  48.4k|    CHECK_CLOSED(self, "flush of closed file")
  ------------------
  |  |  371|  48.4k|    do { \
  |  |  372|  48.4k|        int _closed = IS_CLOSED(self); \
  |  |  ------------------
  |  |  |  |  365|  48.4k|    (!self->buffer ? 1 : \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (365:6): [True: 0, False: 48.4k]
  |  |  |  |  ------------------
  |  |  |  |  366|  48.4k|    (self->fast_closed_checks \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (366:6): [True: 48.4k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  367|  48.4k|     ? _PyFileIO_closed(self->raw) \
  |  |  |  |  368|  48.4k|     : buffered_closed(self)))
  |  |  ------------------
  |  |  373|  48.4k|        if (_closed < 0) { \
  |  |  ------------------
  |  |  |  Branch (373:13): [True: 0, False: 48.4k]
  |  |  ------------------
  |  |  374|      0|            return NULL; \
  |  |  375|      0|        } \
  |  |  376|  48.4k|        if (_closed && \
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 0, False: 48.4k]
  |  |  ------------------
  |  |  377|  48.4k|            (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|  48.4k|        { \
  |  |  379|      0|            PyErr_SetString(PyExc_ValueError, error_msg); \
  |  |  380|      0|            return NULL; \
  |  |  381|      0|        } \
  |  |  382|  48.4k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (382:14): [Folded, False: 48.4k]
  |  |  ------------------
  ------------------
  942|       |
  943|  48.4k|    if (!ENTER_BUFFERED(self))
  ------------------
  |  |  330|  48.4k|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 48.4k, False: 0]
  |  |  |  Branch (330:8): [True: 48.4k, False: 0]
  |  |  ------------------
  |  |  331|  48.4k|       1 : _enter_buffered_busy(self)) \
  |  |  332|  48.4k|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 48.4k, False: 0]
  |  |  ------------------
  ------------------
  944|      0|        return NULL;
  945|  48.4k|    res = buffered_flush_and_rewind_unlocked(self);
  946|  48.4k|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|  48.4k|    do { \
  |  |  336|  48.4k|        self->owner = 0; \
  |  |  337|  48.4k|        PyThread_release_lock(self->lock); \
  |  |  338|  48.4k|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 48.4k]
  |  |  ------------------
  ------------------
  947|       |
  948|  48.4k|    return res;
  949|  48.4k|}
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);
  ------------------
  |  |  376|      4|    do { \
  |  |  377|      4|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|      4|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|      4|        *_tmp_dst_ptr = (src); \
  |  |  380|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381: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|     91|{
  142|     91|    PyObject *return_value = NULL;
  143|     91|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  144|       |
  145|     91|    #define NUM_KEYWORDS 8
  146|     91|    static struct {
  147|     91|        PyGC_Head _this_is_not_used;
  148|     91|        PyObject_VAR_HEAD
  149|     91|        Py_hash_t ob_hash;
  150|     91|        PyObject *ob_item[NUM_KEYWORDS];
  151|     91|    } _kwtuple = {
  152|     91|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     91|    {                                     \
  |  |   98|     91|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     91|    {                               \
  |  |  |  |   91|     91|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     91|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     91|#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|     91|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     91|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     91|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     91|        (type)                      \
  |  |  |  |   93|     91|    },
  |  |  ------------------
  |  |   99|     91|        (size)                            \
  |  |  100|     91|    },
  ------------------
  153|     91|        .ob_hash = -1,
  154|     91|        .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), },
  ------------------
  |  |  921|     91|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     91|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     91|    _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), },
  ------------------
  |  |  921|     91|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     91|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     91|    _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), },
  ------------------
  |  |  921|     91|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     91|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     91|    _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), },
  ------------------
  |  |  921|     91|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     91|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     91|    _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), },
  ------------------
  |  |  921|     91|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     91|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     91|    _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), },
  ------------------
  |  |  921|     91|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     91|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     91|    _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), },
  ------------------
  |  |  921|     91|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     91|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     91|    _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), },
  ------------------
  |  |  921|     91|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     91|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     91|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  155|     91|    };
  156|     91|    #undef NUM_KEYWORDS
  157|     91|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  158|       |
  159|       |    #else  // !Py_BUILD_CORE
  160|       |    #  define KWTUPLE NULL
  161|       |    #endif  // !Py_BUILD_CORE
  162|       |
  163|     91|    static const char * const _keywords[] = {"file", "mode", "buffering", "encoding", "errors", "newline", "closefd", "opener", NULL};
  164|     91|    static _PyArg_Parser _parser = {
  165|     91|        .keywords = _keywords,
  166|     91|        .fname = "open",
  167|     91|        .kwtuple = KWTUPLE,
  ------------------
  |  |  157|     91|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  168|     91|    };
  169|     91|    #undef KWTUPLE
  170|     91|    PyObject *argsbuf[8];
  171|     91|    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: 91]
  ------------------
  172|     91|    PyObject *file;
  173|     91|    const char *mode = "r";
  174|     91|    int buffering = -1;
  175|     91|    const char *encoding = NULL;
  176|     91|    const char *errors = NULL;
  177|     91|    const char *newline = NULL;
  178|     91|    int closefd = 1;
  179|     91|    PyObject *opener = Py_None;
  ------------------
  |  |  616|     91|#  define Py_None (&_Py_NoneStruct)
  ------------------
  180|       |
  181|     91|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     91|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 91, False: 0]
  |  |  ------------------
  |  |   89|     91|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 91, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 91]
  |  |  |  Branch (89:43): [True: 91, False: 0]
  |  |  |  Branch (89:67): [True: 91, False: 0]
  |  |  ------------------
  |  |   90|     91|      (args) : \
  |  |   91|     91|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  182|     91|            /*minpos*/ 1, /*maxpos*/ 8, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  183|     91|    if (!args) {
  ------------------
  |  Branch (183:9): [True: 0, False: 91]
  ------------------
  184|      0|        goto exit;
  185|      0|    }
  186|     91|    file = args[0];
  187|     91|    if (!noptargs) {
  ------------------
  |  Branch (187:9): [True: 0, False: 91]
  ------------------
  188|      0|        goto skip_optional_pos;
  189|      0|    }
  190|     91|    if (args[1]) {
  ------------------
  |  Branch (190:9): [True: 91, False: 0]
  ------------------
  191|     91|        if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|     91|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     91|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (191:13): [True: 0, False: 91]
  ------------------
  192|      0|            _PyArg_BadArgument("open", "argument 'mode'", "str", args[1]);
  193|      0|            goto exit;
  194|      0|        }
  195|     91|        Py_ssize_t mode_length;
  196|     91|        mode = PyUnicode_AsUTF8AndSize(args[1], &mode_length);
  197|     91|        if (mode == NULL) {
  ------------------
  |  Branch (197:13): [True: 0, False: 91]
  ------------------
  198|      0|            goto exit;
  199|      0|        }
  200|     91|        if (strlen(mode) != (size_t)mode_length) {
  ------------------
  |  Branch (200:13): [True: 0, False: 91]
  ------------------
  201|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
  202|      0|            goto exit;
  203|      0|        }
  204|     91|        if (!--noptargs) {
  ------------------
  |  Branch (204:13): [True: 85, False: 6]
  ------------------
  205|     85|            goto skip_optional_pos;
  206|     85|        }
  207|     91|    }
  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|     91|skip_optional_pos:
  297|     91|    return_value = _io_open_impl(module, file, mode, buffering, encoding, errors, newline, closefd, opener);
  298|       |
  299|     91|exit:
  300|     91|    return return_value;
  301|     91|}
_iomodule.c:_io_open_code:
  367|     85|{
  368|     85|    PyObject *return_value = NULL;
  369|     85|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  370|       |
  371|     85|    #define NUM_KEYWORDS 1
  372|     85|    static struct {
  373|     85|        PyGC_Head _this_is_not_used;
  374|     85|        PyObject_VAR_HEAD
  375|     85|        Py_hash_t ob_hash;
  376|     85|        PyObject *ob_item[NUM_KEYWORDS];
  377|     85|    } _kwtuple = {
  378|     85|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     85|    {                                     \
  |  |   98|     85|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     85|    {                               \
  |  |  |  |   91|     85|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     85|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     85|#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|     85|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     85|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     85|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     85|        (type)                      \
  |  |  |  |   93|     85|    },
  |  |  ------------------
  |  |   99|     85|        (size)                            \
  |  |  100|     85|    },
  ------------------
  379|     85|        .ob_hash = -1,
  380|     85|        .ob_item = { &_Py_ID(path), },
  ------------------
  |  |  921|     85|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     85|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     85|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  381|     85|    };
  382|     85|    #undef NUM_KEYWORDS
  383|     85|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  384|       |
  385|       |    #else  // !Py_BUILD_CORE
  386|       |    #  define KWTUPLE NULL
  387|       |    #endif  // !Py_BUILD_CORE
  388|       |
  389|     85|    static const char * const _keywords[] = {"path", NULL};
  390|     85|    static _PyArg_Parser _parser = {
  391|     85|        .keywords = _keywords,
  392|     85|        .fname = "open_code",
  393|     85|        .kwtuple = KWTUPLE,
  ------------------
  |  |  383|     85|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  394|     85|    };
  395|     85|    #undef KWTUPLE
  396|     85|    PyObject *argsbuf[1];
  397|     85|    PyObject *path;
  398|       |
  399|     85|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     85|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 85, False: 0]
  |  |  ------------------
  |  |   89|     85|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 85, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 85]
  |  |  |  Branch (89:43): [True: 85, False: 0]
  |  |  |  Branch (89:67): [True: 85, False: 0]
  |  |  ------------------
  |  |   90|     85|      (args) : \
  |  |   91|     85|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  400|     85|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  401|     85|    if (!args) {
  ------------------
  |  Branch (401:9): [True: 0, False: 85]
  ------------------
  402|      0|        goto exit;
  403|      0|    }
  404|     85|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|     85|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     85|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (404:9): [True: 0, False: 85]
  ------------------
  405|      0|        _PyArg_BadArgument("open_code", "argument 'path'", "str", args[0]);
  406|      0|        goto exit;
  407|      0|    }
  408|     85|    path = args[0];
  409|     85|    return_value = _io_open_code_impl(module, path);
  410|       |
  411|     85|exit:
  412|     85|    return return_value;
  413|     85|}

bufferedio.c:_io__Buffered_simple_flush:
  336|     85|{
  337|     85|    PyObject *return_value = NULL;
  338|       |
  339|     85|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     85|    {
  ------------------
  340|     85|    return_value = _io__Buffered_simple_flush_impl((buffered *)self);
  341|     85|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     85|    }
  ------------------
  342|       |
  343|     85|    return return_value;
  344|     85|}
bufferedio.c:_io__Buffered_close:
  384|     85|{
  385|     85|    PyObject *return_value = NULL;
  386|       |
  387|     85|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     85|    {
  ------------------
  388|     85|    return_value = _io__Buffered_close_impl((buffered *)self);
  389|     85|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     85|    }
  ------------------
  390|       |
  391|     85|    return return_value;
  392|     85|}
bufferedio.c:_io__Buffered_seekable:
  430|      6|{
  431|      6|    PyObject *return_value = NULL;
  432|       |
  433|      6|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      6|    {
  ------------------
  434|      6|    return_value = _io__Buffered_seekable_impl((buffered *)self);
  435|      6|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      6|    }
  ------------------
  436|       |
  437|      6|    return return_value;
  438|      6|}
bufferedio.c:_io__Buffered_readable:
  453|      2|{
  454|      2|    PyObject *return_value = NULL;
  455|       |
  456|      2|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      2|    {
  ------------------
  457|      2|    return_value = _io__Buffered_readable_impl((buffered *)self);
  458|      2|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      2|    }
  ------------------
  459|       |
  460|      2|    return return_value;
  461|      2|}
bufferedio.c:_io__Buffered_read:
  662|     85|{
  663|     85|    PyObject *return_value = NULL;
  664|     85|    Py_ssize_t n = -1;
  665|       |
  666|     85|    if (!_PyArg_CheckPositional("read", nargs, 0, 1)) {
  ------------------
  |  |   31|     85|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 85, False: 0]
  |  |  |  Branch (31:27): [True: 85, False: 0]
  |  |  ------------------
  |  |   32|     85|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  667|      0|        goto exit;
  668|      0|    }
  669|     85|    if (nargs < 1) {
  ------------------
  |  Branch (669:9): [True: 85, False: 0]
  ------------------
  670|     85|        goto skip_optional;
  671|     85|    }
  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|     85|skip_optional:
  676|     85|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     85|    {
  ------------------
  677|     85|    return_value = _io__Buffered_read_impl((buffered *)self, n);
  678|     85|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     85|    }
  ------------------
  679|       |
  680|     85|exit:
  681|     85|    return return_value;
  682|     85|}
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|    170|{
  362|    170|    PyObject *return_value = NULL;
  363|       |
  364|    170|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    170|    {
  ------------------
  365|    170|    return_value = _io__Buffered_closed_get_impl((buffered *)self);
  366|    170|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    170|    }
  ------------------
  367|       |
  368|    170|    return return_value;
  369|    170|}
bufferedio.c:_io_BufferedReader___init__:
  953|     87|{
  954|     87|    int return_value = -1;
  955|     87|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  956|       |
  957|     87|    #define NUM_KEYWORDS 2
  958|     87|    static struct {
  959|     87|        PyGC_Head _this_is_not_used;
  960|     87|        PyObject_VAR_HEAD
  961|     87|        Py_hash_t ob_hash;
  962|     87|        PyObject *ob_item[NUM_KEYWORDS];
  963|     87|    } _kwtuple = {
  964|     87|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     87|    {                                     \
  |  |   98|     87|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     87|    {                               \
  |  |  |  |   91|     87|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     87|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     87|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     87|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     87|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     87|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     87|        (type)                      \
  |  |  |  |   93|     87|    },
  |  |  ------------------
  |  |   99|     87|        (size)                            \
  |  |  100|     87|    },
  ------------------
  965|     87|        .ob_hash = -1,
  966|     87|        .ob_item = { &_Py_ID(raw), &_Py_ID(buffer_size), },
  ------------------
  |  |  921|     87|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     87|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     87|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(raw), &_Py_ID(buffer_size), },
  ------------------
  |  |  921|     87|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     87|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     87|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  967|     87|    };
  968|     87|    #undef NUM_KEYWORDS
  969|     87|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  970|       |
  971|       |    #else  // !Py_BUILD_CORE
  972|       |    #  define KWTUPLE NULL
  973|       |    #endif  // !Py_BUILD_CORE
  974|       |
  975|     87|    static const char * const _keywords[] = {"raw", "buffer_size", NULL};
  976|     87|    static _PyArg_Parser _parser = {
  977|     87|        .keywords = _keywords,
  978|     87|        .fname = "BufferedReader",
  979|     87|        .kwtuple = KWTUPLE,
  ------------------
  |  |  969|     87|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  980|     87|    };
  981|     87|    #undef KWTUPLE
  982|     87|    PyObject *argsbuf[2];
  983|     87|    PyObject * const *fastargs;
  984|     87|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     87|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  985|     87|    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: 87]
  ------------------
  986|     87|    PyObject *raw;
  987|     87|    Py_ssize_t buffer_size = DEFAULT_BUFFER_SIZE;
  ------------------
  |  |   81|     87|#define DEFAULT_BUFFER_SIZE (128 * 1024)  /* bytes */
  ------------------
  988|       |
  989|     87|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|     87|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 87, Folded]
  |  |  |  Branch (88:23): [True: 87, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|    174|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 87, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 87]
  |  |  |  Branch (89:43): [True: 87, False: 0]
  |  |  |  Branch (89:67): [True: 87, False: 0]
  |  |  |  Branch (89:68): [True: 87, False: 0]
  |  |  ------------------
  |  |   90|    174|      (args) : \
  |  |  ------------------
  |  |  |  Branch (90:8): [True: 87, False: 0]
  |  |  ------------------
  |  |   91|     87|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (91:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  990|     87|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  991|     87|    if (!fastargs) {
  ------------------
  |  Branch (991:9): [True: 0, False: 87]
  ------------------
  992|      0|        goto exit;
  993|      0|    }
  994|     87|    raw = fastargs[0];
  995|     87|    if (!noptargs) {
  ------------------
  |  Branch (995:9): [True: 0, False: 87]
  ------------------
  996|      0|        goto skip_optional_pos;
  997|      0|    }
  998|     87|    {
  999|     87|        Py_ssize_t ival = -1;
 1000|     87|        PyObject *iobj = _PyNumber_Index(fastargs[1]);
 1001|     87|        if (iobj != NULL) {
  ------------------
  |  Branch (1001:13): [True: 87, False: 0]
  ------------------
 1002|     87|            ival = PyLong_AsSsize_t(iobj);
 1003|     87|            Py_DECREF(iobj);
  ------------------
  |  |  430|     87|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1004|     87|        }
 1005|     87|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1005:13): [True: 0, False: 87]
  |  Branch (1005:27): [True: 0, False: 0]
  ------------------
 1006|      0|            goto exit;
 1007|      0|        }
 1008|     87|        buffer_size = ival;
 1009|     87|    }
 1010|     87|skip_optional_pos:
 1011|     87|    return_value = _io_BufferedReader___init___impl((buffered *)self, raw, buffer_size);
 1012|       |
 1013|     87|exit:
 1014|     87|    return return_value;
 1015|     87|}
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|  48.4k|{
 1111|  48.4k|    PyObject *return_value = NULL;
 1112|  48.4k|    Py_buffer buffer = {NULL, NULL};
 1113|       |
 1114|  48.4k|    if (PyObject_GetBuffer(arg, &buffer, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|  48.4k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1114:9): [True: 0, False: 48.4k]
  ------------------
 1115|      0|        goto exit;
 1116|      0|    }
 1117|  48.4k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  48.4k|    {
  ------------------
 1118|  48.4k|    return_value = _io_BufferedWriter_write_impl((buffered *)self, &buffer);
 1119|  48.4k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  48.4k|    }
  ------------------
 1120|       |
 1121|  48.4k|exit:
 1122|       |    /* Cleanup for buffer */
 1123|  48.4k|    if (buffer.obj) {
  ------------------
  |  Branch (1123:9): [True: 48.4k, False: 0]
  ------------------
 1124|  48.4k|       PyBuffer_Release(&buffer);
 1125|  48.4k|    }
 1126|       |
 1127|  48.4k|    return return_value;
 1128|  48.4k|}
bufferedio.c:_io__Buffered_flush:
  595|  48.4k|{
  596|  48.4k|    PyObject *return_value = NULL;
  597|       |
  598|  48.4k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  48.4k|    {
  ------------------
  599|  48.4k|    return_value = _io__Buffered_flush_impl((buffered *)self);
  600|  48.4k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  48.4k|    }
  ------------------
  601|       |
  602|  48.4k|    return return_value;
  603|  48.4k|}
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), },
  ------------------
  |  |  921|      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), },
  ------------------
  |  |  921|      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|     85|{
  293|     85|    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: 85]
  |  Branch (293:19): [True: 0, False: 85]
  ------------------
  294|      0|        PyErr_SetString(PyExc_TypeError, "readall() takes no arguments");
  295|      0|        return NULL;
  296|      0|    }
  297|     85|    return _io_FileIO_readall_impl((fileio *)self, cls);
  298|     85|}
fileio.c:_io_FileIO_write:
  377|  48.4k|{
  378|  48.4k|    PyObject *return_value = NULL;
  379|  48.4k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  380|  48.4k|    #  define KWTUPLE (PyObject *)&_Py_SINGLETON(tuple_empty)
  381|       |    #else
  382|       |    #  define KWTUPLE NULL
  383|       |    #endif
  384|       |
  385|  48.4k|    static const char * const _keywords[] = {"", NULL};
  386|  48.4k|    static _PyArg_Parser _parser = {
  387|  48.4k|        .keywords = _keywords,
  388|  48.4k|        .fname = "write",
  389|  48.4k|        .kwtuple = KWTUPLE,
  ------------------
  |  |  380|  48.4k|    #  define KWTUPLE (PyObject *)&_Py_SINGLETON(tuple_empty)
  |  |  ------------------
  |  |  |  |   18|  48.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  48.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  390|  48.4k|    };
  391|  48.4k|    #undef KWTUPLE
  392|  48.4k|    PyObject *argsbuf[1];
  393|  48.4k|    Py_buffer b = {NULL, NULL};
  394|       |
  395|  48.4k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  48.4k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 48.4k, False: 0]
  |  |  ------------------
  |  |   89|  48.4k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 48.4k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 48.4k]
  |  |  |  Branch (89:43): [True: 48.4k, False: 0]
  |  |  |  Branch (89:67): [True: 48.4k, False: 0]
  |  |  ------------------
  |  |   90|  48.4k|      (args) : \
  |  |   91|  48.4k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  396|  48.4k|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  397|  48.4k|    if (!args) {
  ------------------
  |  Branch (397:9): [True: 0, False: 48.4k]
  ------------------
  398|      0|        goto exit;
  399|      0|    }
  400|  48.4k|    if (PyObject_GetBuffer(args[0], &b, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|  48.4k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (400:9): [True: 0, False: 48.4k]
  ------------------
  401|      0|        goto exit;
  402|      0|    }
  403|  48.4k|    return_value = _io_FileIO_write_impl((fileio *)self, cls, &b);
  404|       |
  405|  48.4k|exit:
  406|       |    /* Cleanup for b */
  407|  48.4k|    if (b.obj) {
  ------------------
  |  Branch (407:9): [True: 48.4k, False: 0]
  ------------------
  408|  48.4k|       PyBuffer_Release(&b);
  409|  48.4k|    }
  410|       |
  411|  48.4k|    return return_value;
  412|  48.4k|}
fileio.c:_io_FileIO_tell:
  476|     95|{
  477|     95|    return _io_FileIO_tell_impl((fileio *)self);
  478|     95|}
fileio.c:_io_FileIO_close:
   29|     85|{
   30|     85|    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: 85]
  |  Branch (30:19): [True: 0, False: 85]
  ------------------
   31|      0|        PyErr_SetString(PyExc_TypeError, "close() takes no arguments");
   32|      0|        return NULL;
   33|      0|    }
   34|     85|    return _io_FileIO_close_impl((fileio *)self, cls);
   35|     85|}
fileio.c:_io_FileIO_seekable:
  214|      6|{
  215|      6|    return _io_FileIO_seekable_impl((fileio *)self);
  216|      6|}
fileio.c:_io_FileIO_readable:
  178|     89|{
  179|     89|    return _io_FileIO_readable_impl((fileio *)self);
  180|     89|}
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|     91|{
   65|     91|    int return_value = -1;
   66|     91|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   67|       |
   68|     91|    #define NUM_KEYWORDS 4
   69|     91|    static struct {
   70|     91|        PyGC_Head _this_is_not_used;
   71|     91|        PyObject_VAR_HEAD
   72|     91|        Py_hash_t ob_hash;
   73|     91|        PyObject *ob_item[NUM_KEYWORDS];
   74|     91|    } _kwtuple = {
   75|     91|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     91|    {                                     \
  |  |   98|     91|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     91|    {                               \
  |  |  |  |   91|     91|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     91|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     91|#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|     91|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     91|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     91|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     91|        (type)                      \
  |  |  |  |   93|     91|    },
  |  |  ------------------
  |  |   99|     91|        (size)                            \
  |  |  100|     91|    },
  ------------------
   76|     91|        .ob_hash = -1,
   77|     91|        .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  921|     91|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     91|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     91|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  921|     91|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     91|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     91|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  921|     91|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     91|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     91|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  921|     91|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     91|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     91|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   78|     91|    };
   79|     91|    #undef NUM_KEYWORDS
   80|     91|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   81|       |
   82|       |    #else  // !Py_BUILD_CORE
   83|       |    #  define KWTUPLE NULL
   84|       |    #endif  // !Py_BUILD_CORE
   85|       |
   86|     91|    static const char * const _keywords[] = {"file", "mode", "closefd", "opener", NULL};
   87|     91|    static _PyArg_Parser _parser = {
   88|     91|        .keywords = _keywords,
   89|     91|        .fname = "FileIO",
   90|     91|        .kwtuple = KWTUPLE,
  ------------------
  |  |   80|     91|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   91|     91|    };
   92|     91|    #undef KWTUPLE
   93|     91|    PyObject *argsbuf[4];
   94|     91|    PyObject * const *fastargs;
   95|     91|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     91|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|     91|    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: 91]
  ------------------
   97|     91|    PyObject *nameobj;
   98|     91|    const char *mode = "r";
   99|     91|    int closefd = 1;
  100|     91|    PyObject *opener = Py_None;
  ------------------
  |  |  616|     91|#  define Py_None (&_Py_NoneStruct)
  ------------------
  101|       |
  102|     91|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|     91|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 91, Folded]
  |  |  |  Branch (88:23): [True: 91, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|    182|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 91, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 91]
  |  |  |  Branch (89:43): [True: 91, False: 0]
  |  |  |  Branch (89:67): [True: 91, False: 0]
  |  |  |  Branch (89:68): [True: 91, False: 0]
  |  |  ------------------
  |  |   90|    182|      (args) : \
  |  |  ------------------
  |  |  |  Branch (90:8): [True: 91, False: 0]
  |  |  ------------------
  |  |   91|     91|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (91:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  103|     91|            /*minpos*/ 1, /*maxpos*/ 4, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  104|     91|    if (!fastargs) {
  ------------------
  |  Branch (104:9): [True: 0, False: 91]
  ------------------
  105|      0|        goto exit;
  106|      0|    }
  107|     91|    nameobj = fastargs[0];
  108|     91|    if (!noptargs) {
  ------------------
  |  Branch (108:9): [True: 0, False: 91]
  ------------------
  109|      0|        goto skip_optional_pos;
  110|      0|    }
  111|     91|    if (fastargs[1]) {
  ------------------
  |  Branch (111:9): [True: 91, False: 0]
  ------------------
  112|     91|        if (!PyUnicode_Check(fastargs[1])) {
  ------------------
  |  |  103|     91|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     91|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (112:13): [True: 0, False: 91]
  ------------------
  113|      0|            _PyArg_BadArgument("FileIO", "argument 'mode'", "str", fastargs[1]);
  114|      0|            goto exit;
  115|      0|        }
  116|     91|        Py_ssize_t mode_length;
  117|     91|        mode = PyUnicode_AsUTF8AndSize(fastargs[1], &mode_length);
  118|     91|        if (mode == NULL) {
  ------------------
  |  Branch (118:13): [True: 0, False: 91]
  ------------------
  119|      0|            goto exit;
  120|      0|        }
  121|     91|        if (strlen(mode) != (size_t)mode_length) {
  ------------------
  |  Branch (121:13): [True: 0, False: 91]
  ------------------
  122|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
  123|      0|            goto exit;
  124|      0|        }
  125|     91|        if (!--noptargs) {
  ------------------
  |  Branch (125:13): [True: 0, False: 91]
  ------------------
  126|      0|            goto skip_optional_pos;
  127|      0|        }
  128|     91|    }
  129|     91|    if (fastargs[2]) {
  ------------------
  |  Branch (129:9): [True: 91, False: 0]
  ------------------
  130|     91|        closefd = PyObject_IsTrue(fastargs[2]);
  131|     91|        if (closefd < 0) {
  ------------------
  |  Branch (131:13): [True: 0, False: 91]
  ------------------
  132|      0|            goto exit;
  133|      0|        }
  134|     91|        if (!--noptargs) {
  ------------------
  |  Branch (134:13): [True: 0, False: 91]
  ------------------
  135|      0|            goto skip_optional_pos;
  136|      0|        }
  137|     91|    }
  138|     91|    opener = fastargs[3];
  139|     91|skip_optional_pos:
  140|     91|    return_value = _io_FileIO___init___impl((fileio *)self, nameobj, mode, closefd, opener);
  141|       |
  142|     91|exit:
  143|     91|    return return_value;
  144|     91|}

iobase.c:_io__IOBase_flush:
  170|    170|{
  171|    170|    return _io__IOBase_flush_impl(self);
  172|    170|}
iobase.c:_io__IOBase_close:
  190|     85|{
  191|     85|    return _io__IOBase_close_impl(self);
  192|     85|}
iobase.c:_io__IOBase_readable:
  231|      4|{
  232|      4|    return _io__IOBase_readable_impl(self);
  233|      4|}
iobase.c:_io__IOBase_writable:
  251|      2|{
  252|      2|    return _io__IOBase_writable_impl(self);
  253|      2|}

textio.c:_io_TextIOWrapper_write:
  812|  48.4k|{
  813|  48.4k|    PyObject *return_value = NULL;
  814|  48.4k|    PyObject *text;
  815|       |
  816|  48.4k|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|  48.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  48.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (816:9): [True: 0, False: 48.4k]
  ------------------
  817|      0|        _PyArg_BadArgument("write", "argument", "str", arg);
  818|      0|        goto exit;
  819|      0|    }
  820|  48.4k|    text = arg;
  821|  48.4k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  48.4k|    {
  ------------------
  822|  48.4k|    return_value = _io_TextIOWrapper_write_impl((textio *)self, text);
  823|  48.4k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  48.4k|    }
  ------------------
  824|       |
  825|  48.4k|exit:
  826|  48.4k|    return return_value;
  827|  48.4k|}
textio.c:_io_TextIOWrapper___init__:
  554|      6|{
  555|      6|    int return_value = -1;
  556|      6|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  557|       |
  558|      6|    #define NUM_KEYWORDS 6
  559|      6|    static struct {
  560|      6|        PyGC_Head _this_is_not_used;
  561|      6|        PyObject_VAR_HEAD
  562|      6|        Py_hash_t ob_hash;
  563|      6|        PyObject *ob_item[NUM_KEYWORDS];
  564|      6|    } _kwtuple = {
  565|      6|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      6|    {                                     \
  |  |   98|      6|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      6|    {                               \
  |  |  |  |   91|      6|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      6|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      6|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|      6|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      6|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      6|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      6|        (type)                      \
  |  |  |  |   93|      6|    },
  |  |  ------------------
  |  |   99|      6|        (size)                            \
  |  |  100|      6|    },
  ------------------
  566|      6|        .ob_hash = -1,
  567|      6|        .ob_item = { &_Py_ID(buffer), &_Py_ID(encoding), &_Py_ID(errors), &_Py_ID(newline), &_Py_ID(line_buffering), &_Py_ID(write_through), },
  ------------------
  |  |  921|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(buffer), &_Py_ID(encoding), &_Py_ID(errors), &_Py_ID(newline), &_Py_ID(line_buffering), &_Py_ID(write_through), },
  ------------------
  |  |  921|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(buffer), &_Py_ID(encoding), &_Py_ID(errors), &_Py_ID(newline), &_Py_ID(line_buffering), &_Py_ID(write_through), },
  ------------------
  |  |  921|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(buffer), &_Py_ID(encoding), &_Py_ID(errors), &_Py_ID(newline), &_Py_ID(line_buffering), &_Py_ID(write_through), },
  ------------------
  |  |  921|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(buffer), &_Py_ID(encoding), &_Py_ID(errors), &_Py_ID(newline), &_Py_ID(line_buffering), &_Py_ID(write_through), },
  ------------------
  |  |  921|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(buffer), &_Py_ID(encoding), &_Py_ID(errors), &_Py_ID(newline), &_Py_ID(line_buffering), &_Py_ID(write_through), },
  ------------------
  |  |  921|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  568|      6|    };
  569|      6|    #undef NUM_KEYWORDS
  570|      6|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  571|       |
  572|       |    #else  // !Py_BUILD_CORE
  573|       |    #  define KWTUPLE NULL
  574|       |    #endif  // !Py_BUILD_CORE
  575|       |
  576|      6|    static const char * const _keywords[] = {"buffer", "encoding", "errors", "newline", "line_buffering", "write_through", NULL};
  577|      6|    static _PyArg_Parser _parser = {
  578|      6|        .keywords = _keywords,
  579|      6|        .fname = "TextIOWrapper",
  580|      6|        .kwtuple = KWTUPLE,
  ------------------
  |  |  570|      6|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  581|      6|    };
  582|      6|    #undef KWTUPLE
  583|      6|    PyObject *argsbuf[6];
  584|      6|    PyObject * const *fastargs;
  585|      6|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|      6|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  586|      6|    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 (586:36): [True: 0, False: 6]
  ------------------
  587|      6|    PyObject *buffer;
  588|      6|    const char *encoding = NULL;
  589|      6|    PyObject *errors = Py_None;
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
  590|      6|    const char *newline = NULL;
  591|      6|    int line_buffering = 0;
  592|      6|    int write_through = 0;
  593|       |
  594|      6|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|      6|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 6, Folded]
  |  |  |  Branch (88:23): [True: 6, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|     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|      6|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (91:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  595|      6|            /*minpos*/ 1, /*maxpos*/ 6, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  596|      6|    if (!fastargs) {
  ------------------
  |  Branch (596:9): [True: 0, False: 6]
  ------------------
  597|      0|        goto exit;
  598|      0|    }
  599|      6|    buffer = fastargs[0];
  600|      6|    if (!noptargs) {
  ------------------
  |  Branch (600:9): [True: 0, False: 6]
  ------------------
  601|      0|        goto skip_optional_pos;
  602|      0|    }
  603|      6|    if (fastargs[1]) {
  ------------------
  |  Branch (603:9): [True: 6, False: 0]
  ------------------
  604|      6|        if (fastargs[1] == Py_None) {
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (604:13): [True: 0, False: 6]
  ------------------
  605|      0|            encoding = NULL;
  606|      0|        }
  607|      6|        else if (PyUnicode_Check(fastargs[1])) {
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|      6|            Py_ssize_t encoding_length;
  609|      6|            encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length);
  610|      6|            if (encoding == NULL) {
  ------------------
  |  Branch (610:17): [True: 0, False: 6]
  ------------------
  611|      0|                goto exit;
  612|      0|            }
  613|      6|            if (strlen(encoding) != (size_t)encoding_length) {
  ------------------
  |  Branch (613:17): [True: 0, False: 6]
  ------------------
  614|      0|                PyErr_SetString(PyExc_ValueError, "embedded null character");
  615|      0|                goto exit;
  616|      0|            }
  617|      6|        }
  618|      0|        else {
  619|      0|            _PyArg_BadArgument("TextIOWrapper", "argument 'encoding'", "str or None", fastargs[1]);
  620|      0|            goto exit;
  621|      0|        }
  622|      6|        if (!--noptargs) {
  ------------------
  |  Branch (622:13): [True: 0, False: 6]
  ------------------
  623|      0|            goto skip_optional_pos;
  624|      0|        }
  625|      6|    }
  626|      6|    if (fastargs[2]) {
  ------------------
  |  Branch (626:9): [True: 6, False: 0]
  ------------------
  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|      6|    if (fastargs[3]) {
  ------------------
  |  Branch (632:9): [True: 6, False: 0]
  ------------------
  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|      6|    if (fastargs[4]) {
  ------------------
  |  Branch (655:9): [True: 6, False: 0]
  ------------------
  656|      6|        line_buffering = PyObject_IsTrue(fastargs[4]);
  657|      6|        if (line_buffering < 0) {
  ------------------
  |  Branch (657:13): [True: 0, False: 6]
  ------------------
  658|      0|            goto exit;
  659|      0|        }
  660|      6|        if (!--noptargs) {
  ------------------
  |  Branch (660:13): [True: 0, False: 6]
  ------------------
  661|      0|            goto skip_optional_pos;
  662|      0|        }
  663|      6|    }
  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|      6|skip_optional_pos:
  669|      6|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      6|    {
  ------------------
  670|      6|    return_value = _io_TextIOWrapper___init___impl((textio *)self, buffer, encoding, errors, newline, line_buffering, write_through);
  671|      6|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      6|    }
  ------------------
  672|       |
  673|      6|exit:
  674|      6|    return return_value;
  675|      6|}

_PyFileIO_closed:
   95|   145k|{
   96|   145k|    return (PyFileIO_CAST(self)->fd < 0);
  ------------------
  |  |   88|   145k|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
   97|   145k|}
fileio.c:fileio_dealloc:
  568|     85|{
  569|     85|    fileio *self = PyFileIO_CAST(op);
  ------------------
  |  |   88|     85|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
  570|     85|    self->finalizing = 1;
  571|     85|    if (_PyIOBase_finalize(op) < 0) {
  ------------------
  |  Branch (571:9): [True: 0, False: 85]
  ------------------
  572|      0|        return;
  573|      0|    }
  574|       |
  575|     85|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|     85|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  576|     85|    if (self->stat_atopen != NULL) {
  ------------------
  |  Branch (576:9): [True: 0, False: 85]
  ------------------
  577|      0|        PyMem_Free(self->stat_atopen);
  578|      0|        self->stat_atopen = NULL;
  579|      0|    }
  580|     85|    FT_CLEAR_WEAKREFS(op, self->weakreflist);
  ------------------
  |  |   47|     85|    do {                                            \
  |  |   48|     85|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|     85|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 85]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|     85|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 85]
  |  |  ------------------
  ------------------
  |  Branch (580:5): [True: 85, False: 0]
  ------------------
  581|     85|    (void)fileio_clear(op);
  582|       |
  583|     85|    PyTypeObject *tp = Py_TYPE(op);
  ------------------
  |  |  213|     85|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  584|     85|    tp->tp_free(op);
  585|     85|    Py_DECREF(tp);
  ------------------
  |  |  430|     85|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  586|     85|}
fileio.c:fileio_traverse:
  551|     60|{
  552|     60|    fileio *self = PyFileIO_CAST(op);
  ------------------
  |  |   88|     60|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
  553|     60|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|     60|    do {                                                                \
  |  |  195|     60|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 60, False: 0]
  |  |  ------------------
  |  |  196|     60|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     60|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 60]
  |  |  ------------------
  |  |  198|     60|                return vret;                                            \
  |  |  199|     60|        }                                                               \
  |  |  200|     60|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 60]
  |  |  ------------------
  ------------------
  554|     60|    Py_VISIT(self->dict);
  ------------------
  |  |  194|     60|    do {                                                                \
  |  |  195|     60|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 60, False: 0]
  |  |  ------------------
  |  |  196|     60|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     60|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 60]
  |  |  ------------------
  |  |  198|     60|                return vret;                                            \
  |  |  199|     60|        }                                                               \
  |  |  200|     60|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 60]
  |  |  ------------------
  ------------------
  555|     60|    return 0;
  556|     60|}
fileio.c:fileio_clear:
  560|     85|{
  561|     85|    fileio *self = PyFileIO_CAST(op);
  ------------------
  |  |   88|     85|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
  562|       |    Py_CLEAR(self->dict);
  ------------------
  |  |  484|     85|    do { \
  |  |  485|     85|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     85|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     85|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     85|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     85|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 85, False: 0]
  |  |  ------------------
  |  |  488|     85|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     85|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     85|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     85|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     85|        } \
  |  |  491|     85|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 85]
  |  |  ------------------
  ------------------
  563|     85|    return 0;
  564|     85|}
fileio.c:_io_FileIO_readall_impl:
  750|     85|{
  751|     85|    Py_off_t pos, end;
  752|     85|    PyBytesWriter *writer;
  753|     85|    Py_ssize_t bytes_read = 0;
  754|     85|    Py_ssize_t n;
  755|     85|    size_t bufsize;
  756|       |
  757|     85|    if (self->fd < 0) {
  ------------------
  |  Branch (757:9): [True: 0, False: 85]
  ------------------
  758|      0|        return err_closed();
  759|      0|    }
  760|     85|    if (!self->readable) {
  ------------------
  |  Branch (760:9): [True: 0, False: 85]
  ------------------
  761|      0|        _PyIO_State *state = get_io_state_by_cls(cls);
  762|      0|        return err_mode(state, "reading");
  763|      0|    }
  764|       |
  765|     85|    if (self->stat_atopen != NULL && self->stat_atopen->st_size < _PY_READ_MAX) {
  ------------------
  |  |   59|     85|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|     85|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (765:9): [True: 85, False: 0]
  |  Branch (765:38): [True: 85, False: 0]
  ------------------
  766|     85|        end = (Py_off_t)self->stat_atopen->st_size;
  767|     85|    }
  768|      0|    else {
  769|      0|        end = -1;
  770|      0|    }
  771|     85|    if (end <= 0) {
  ------------------
  |  Branch (771:9): [True: 0, False: 85]
  ------------------
  772|       |        /* Use a default size and resize as needed. */
  773|      0|        bufsize = SMALLCHUNK;
  ------------------
  |  |   52|      0|#  define SMALLCHUNK BUFSIZ
  ------------------
  774|      0|    }
  775|     85|    else {
  776|       |        /* This is probably a real file. */
  777|     85|        if (end > _PY_READ_MAX - 1) {
  ------------------
  |  |   59|     85|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|     85|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (777:13): [True: 0, False: 85]
  ------------------
  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|     85|        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|     85|            bufsize = (size_t)end + 1;
  787|     85|        }
  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|     85|        if (bufsize > LARGE_BUFFER_CUTOFF_SIZE) {
  ------------------
  |  |   57|     85|#define LARGE_BUFFER_CUTOFF_SIZE 65536
  ------------------
  |  Branch (794:13): [True: 4, False: 81]
  ------------------
  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|     85|    }
  810|       |
  811|     85|    writer = PyBytesWriter_Create(bufsize);
  812|     85|    if (writer == NULL) {
  ------------------
  |  Branch (812:9): [True: 0, False: 85]
  ------------------
  813|      0|        return NULL;
  814|      0|    }
  815|       |
  816|    170|    while (1) {
  ------------------
  |  Branch (816:12): [True: 170, Folded]
  ------------------
  817|    170|        if (bytes_read >= (Py_ssize_t)bufsize) {
  ------------------
  |  Branch (817:13): [True: 0, False: 170]
  ------------------
  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|    170|        n = _Py_read(self->fd,
  834|    170|                     (char*)PyBytesWriter_GetData(writer) + bytes_read,
  835|    170|                     bufsize - bytes_read);
  836|       |
  837|    170|        if (n == 0)
  ------------------
  |  Branch (837:13): [True: 85, False: 85]
  ------------------
  838|     85|            break;
  839|     85|        if (n == -1) {
  ------------------
  |  Branch (839:13): [True: 0, False: 85]
  ------------------
  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|     85|        bytes_read += n;
  851|     85|    }
  852|       |
  853|     85|    return PyBytesWriter_FinishWithSize(writer, bytes_read);
  854|     85|}
fileio.c:_io_FileIO_write_impl:
  929|  48.4k|{
  930|  48.4k|    Py_ssize_t n;
  931|  48.4k|    int err;
  932|       |
  933|  48.4k|    if (self->fd < 0)
  ------------------
  |  Branch (933:9): [True: 0, False: 48.4k]
  ------------------
  934|      0|        return err_closed();
  935|  48.4k|    if (!self->writable) {
  ------------------
  |  Branch (935:9): [True: 0, False: 48.4k]
  ------------------
  936|      0|        _PyIO_State *state = get_io_state_by_cls(cls);
  937|      0|        return err_mode(state, "writing");
  938|      0|    }
  939|       |
  940|  48.4k|    n = _Py_write(self->fd, b->buf, b->len);
  941|       |    /* copy errno because PyBuffer_Release() can indirectly modify it */
  942|  48.4k|    err = errno;
  943|       |
  944|  48.4k|    if (n < 0) {
  ------------------
  |  Branch (944:9): [True: 0, False: 48.4k]
  ------------------
  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|  48.4k|    return PyLong_FromSsize_t(n);
  953|  48.4k|}
fileio.c:portable_lseek:
  960|     95|{
  961|     95|    Py_off_t pos, res;
  962|     95|    int fd = self->fd;
  963|       |
  964|     95|#ifdef SEEK_SET
  965|       |    /* Turn 0, 1, 2 into SEEK_{SET,CUR,END} */
  966|     95|    switch (whence) {
  ------------------
  |  Branch (966:13): [Folded, False: 95]
  ------------------
  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|     95|    }
  977|     95|#endif /* SEEK_SET */
  978|       |
  979|     95|    if (posobj == NULL) {
  ------------------
  |  Branch (979:9): [True: 95, False: 0]
  ------------------
  980|     95|        pos = 0;
  981|     95|    }
  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|     95|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|     95|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|     95|                        PyThreadState *_save; \
  |  |  121|     95|                        _save = PyEval_SaveThread();
  ------------------
  993|     95|    _Py_BEGIN_SUPPRESS_IPH
  994|       |#ifdef MS_WINDOWS
  995|       |    HANDLE h = (HANDLE)_get_osfhandle(fd);
  996|       |    if (h != INVALID_HANDLE_VALUE && GetFileType(h) == FILE_TYPE_PIPE) {
  997|       |        res = -1;
  998|       |        errno = ESPIPE;
  999|       |    }
 1000|       |    else {
 1001|       |        res = _lseeki64(fd, pos, whence);
 1002|       |    }
 1003|       |#else
 1004|     95|    res = lseek(fd, pos, whence);
 1005|     95|#endif
 1006|     95|    _Py_END_SUPPRESS_IPH
 1007|     95|    Py_END_ALLOW_THREADS
  ------------------
  |  |  124|     95|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|     95|                 }
  ------------------
 1008|       |
 1009|     95|    if (self->seekable < 0) {
  ------------------
  |  Branch (1009:9): [True: 91, False: 4]
  ------------------
 1010|     91|        self->seekable = (res >= 0);
 1011|     91|    }
 1012|       |
 1013|     95|    if (res < 0) {
  ------------------
  |  Branch (1013:9): [True: 0, False: 95]
  ------------------
 1014|      0|        if (suppress_pipe_error && errno == ESPIPE) {
  ------------------
  |  Branch (1014:13): [True: 0, False: 0]
  |  Branch (1014:36): [True: 0, False: 0]
  ------------------
 1015|      0|            res = 0;
 1016|      0|        } else {
 1017|      0|            return PyErr_SetFromErrno(PyExc_OSError);
 1018|      0|        }
 1019|      0|    }
 1020|       |
 1021|       |#if defined(HAVE_LARGEFILE_SUPPORT)
 1022|       |    return PyLong_FromLongLong(res);
 1023|       |#else
 1024|     95|    return PyLong_FromLong(res);
 1025|     95|#endif
 1026|     95|}
fileio.c:_io_FileIO_tell_impl:
 1067|     95|{
 1068|     95|    if (self->fd < 0)
  ------------------
  |  Branch (1068:9): [True: 0, False: 95]
  ------------------
 1069|      0|        return err_closed();
 1070|       |
 1071|     95|    return portable_lseek(self, NULL, 1, false);
 1072|     95|}
fileio.c:_io_FileIO_close_impl:
  163|     85|{
  164|     85|    PyObject *res;
  165|     85|    int rc;
  166|     85|    _PyIO_State *state = get_io_state_by_cls(cls);
  167|     85|    res = PyObject_CallMethodOneArg((PyObject*)state->PyRawIOBase_Type,
  168|     85|                                     &_Py_ID(close), (PyObject *)self);
  ------------------
  |  |  921|     85|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     85|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     85|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  169|     85|    if (!self->closefd) {
  ------------------
  |  Branch (169:9): [True: 0, False: 85]
  ------------------
  170|      0|        self->fd = -1;
  171|      0|        return res;
  172|      0|    }
  173|       |
  174|     85|    PyObject *exc = NULL;
  175|     85|    if (res == NULL) {
  ------------------
  |  Branch (175:9): [True: 0, False: 85]
  ------------------
  176|      0|        exc = PyErr_GetRaisedException();
  177|      0|    }
  178|     85|    if (self->finalizing) {
  ------------------
  |  Branch (178:9): [True: 0, False: 85]
  ------------------
  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|     85|    rc = internal_close(self);
  188|     85|    if (res == NULL) {
  ------------------
  |  Branch (188:9): [True: 0, False: 85]
  ------------------
  189|      0|        _PyErr_ChainExceptions1(exc);
  190|      0|    }
  191|     85|    if (rc < 0) {
  ------------------
  |  Branch (191:9): [True: 0, False: 85]
  ------------------
  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|     85|    return res;
  195|     85|}
fileio.c:internal_close:
  123|     85|{
  124|     85|    int err = 0;
  125|     85|    int save_errno = 0;
  126|     85|    if (self->fd >= 0) {
  ------------------
  |  Branch (126:9): [True: 85, False: 0]
  ------------------
  127|     85|        int fd = self->fd;
  128|     85|        self->fd = -1;
  129|       |        /* fd is accessible and someone else may have closed it */
  130|     85|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|     85|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|     85|                        PyThreadState *_save; \
  |  |  121|     85|                        _save = PyEval_SaveThread();
  ------------------
  131|     85|        _Py_BEGIN_SUPPRESS_IPH
  132|     85|        err = close(fd);
  133|     85|        if (err < 0)
  ------------------
  |  Branch (133:13): [True: 0, False: 85]
  ------------------
  134|      0|            save_errno = errno;
  135|     85|        _Py_END_SUPPRESS_IPH
  136|     85|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|     85|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|     85|                 }
  ------------------
  137|     85|    }
  138|     85|    PyMem_Free(self->stat_atopen);
  139|     85|    self->stat_atopen = NULL;
  140|     85|    if (err < 0) {
  ------------------
  |  Branch (140:9): [True: 0, False: 85]
  ------------------
  141|      0|        errno = save_errno;
  142|      0|        PyErr_SetFromErrno(PyExc_OSError);
  143|      0|        return -1;
  144|      0|    }
  145|     85|    return 0;
  146|     85|}
fileio.c:_io_FileIO_seekable_impl:
  656|      6|{
  657|      6|    if (self->fd < 0)
  ------------------
  |  Branch (657:9): [True: 0, False: 6]
  ------------------
  658|      0|        return err_closed();
  659|      6|    if (self->seekable < 0) {
  ------------------
  |  Branch (659:9): [True: 0, False: 6]
  ------------------
  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|      6|    return PyBool_FromLong((long) self->seekable);
  671|      6|}
fileio.c:_io_FileIO_readable_impl:
  626|     89|{
  627|     89|    if (self->fd < 0)
  ------------------
  |  Branch (627:9): [True: 0, False: 89]
  ------------------
  628|      0|        return err_closed();
  629|     89|    return PyBool_FromLong((long) self->readable);
  630|     89|}
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:
 1232|      8|{
 1233|      8|    long res;
 1234|       |
 1235|      8|    if (self->fd < 0)
  ------------------
  |  Branch (1235:9): [True: 0, False: 8]
  ------------------
 1236|      0|        return err_closed();
 1237|      8|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      8|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      8|                        PyThreadState *_save; \
  |  |  121|      8|                        _save = PyEval_SaveThread();
  ------------------
 1238|      8|    _Py_BEGIN_SUPPRESS_IPH
 1239|      8|    res = isatty(self->fd);
 1240|      8|    _Py_END_SUPPRESS_IPH
 1241|      8|    Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      8|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      8|                 }
  ------------------
 1242|      8|    return PyBool_FromLong(res);
 1243|      8|}
fileio.c:_io_FileIO_isatty_open_only:
 1255|     91|{
 1256|     91|    fileio *self = PyFileIO_CAST(op);
  ------------------
  |  |   88|     91|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
 1257|     91|    if (self->stat_atopen != NULL && !S_ISCHR(self->stat_atopen->st_mode)) {
  ------------------
  |  Branch (1257:9): [True: 91, False: 0]
  |  Branch (1257:38): [True: 89, False: 2]
  ------------------
 1258|     89|        Py_RETURN_FALSE;
  ------------------
  |  |   45|     89|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|     89|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     89|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     89|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1259|     89|    }
 1260|      2|    return _io_FileIO_isatty_impl(self);
 1261|     91|}
fileio.c:fileio_get_closed:
 1289|    255|{
 1290|    255|    fileio *self = PyFileIO_CAST(op);
  ------------------
  |  |   88|    255|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
 1291|    255|    return PyBool_FromLong((long)(self->fd < 0));
 1292|    255|}
fileio.c:fileio_get_blksize:
 1310|     91|{
 1311|     91|#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE
 1312|     91|    fileio *self = PyFileIO_CAST(op);
  ------------------
  |  |   88|     91|#define PyFileIO_CAST(op) ((fileio *)(op))
  ------------------
 1313|     91|    if (self->stat_atopen != NULL && self->stat_atopen->st_blksize > 1) {
  ------------------
  |  Branch (1313:9): [True: 91, False: 0]
  |  Branch (1313:38): [True: 91, False: 0]
  ------------------
 1314|     91|        return PyLong_FromLong(self->stat_atopen->st_blksize);
 1315|     91|    }
 1316|      0|#endif /* HAVE_STRUCT_STAT_ST_BLKSIZE */
 1317|      0|    return PyLong_FromLong(DEFAULT_BUFFER_SIZE);
  ------------------
  |  |   81|      0|#define DEFAULT_BUFFER_SIZE (128 * 1024)  /* bytes */
  ------------------
 1318|     91|}
fileio.c:_io_FileIO___init___impl:
  253|     91|{
  254|       |#ifdef MS_WINDOWS
  255|       |    wchar_t *widename = NULL;
  256|       |#else
  257|     91|    const char *name = NULL;
  258|     91|#endif
  259|     91|    PyObject *stringobj = NULL;
  260|     91|    const char *s;
  261|     91|    int ret = 0;
  262|     91|    int rwa = 0, plus = 0;
  263|     91|    int flags = 0;
  264|     91|    int fd = -1;
  265|     91|    int fd_is_own = 0;
  266|     91|#ifdef O_CLOEXEC
  267|     91|    int *atomic_flag_works = &_Py_open_cloexec_works;
  268|       |#elif !defined(MS_WINDOWS)
  269|       |    int *atomic_flag_works = NULL;
  270|       |#endif
  271|     91|    int fstat_result;
  272|     91|    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|     91|    if (self->fd >= 0) {
  ------------------
  |  Branch (278:9): [True: 0, False: 91]
  ------------------
  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|     91|    if (PyBool_Check(nameobj)) {
  ------------------
  |  |   12|     91|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|     91|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 91]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|     91|    fd = PyLong_AsInt(nameobj);
  297|     91|    if (fd < 0) {
  ------------------
  |  Branch (297:9): [True: 85, False: 6]
  ------------------
  298|     85|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (298:13): [True: 0, False: 85]
  ------------------
  299|      0|            PyErr_SetString(PyExc_ValueError,
  300|      0|                            "negative file descriptor");
  301|      0|            return -1;
  302|      0|        }
  303|     85|        PyErr_Clear();
  304|     85|    }
  305|       |
  306|     91|    if (fd < 0) {
  ------------------
  |  Branch (306:9): [True: 85, 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|     85|        if (!PyUnicode_FSConverter(nameobj, &stringobj)) {
  ------------------
  |  Branch (315:13): [True: 0, False: 85]
  ------------------
  316|      0|            return -1;
  317|      0|        }
  318|     85|        name = PyBytes_AS_STRING(stringobj);
  ------------------
  |  |   27|     85|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  319|     85|#endif
  320|     85|    }
  321|       |
  322|     91|    s = mode;
  323|    182|    while (*s) {
  ------------------
  |  Branch (323:12): [True: 91, False: 91]
  ------------------
  324|     91|        switch (*s++) {
  325|      0|        case 'x':
  ------------------
  |  Branch (325:9): [True: 0, False: 91]
  ------------------
  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|     87|        case 'r':
  ------------------
  |  Branch (338:9): [True: 87, False: 4]
  ------------------
  339|     87|            if (rwa)
  ------------------
  |  Branch (339:17): [True: 0, False: 87]
  ------------------
  340|      0|                goto bad_mode;
  341|     87|            rwa = 1;
  342|     87|            self->readable = 1;
  343|     87|            break;
  344|      4|        case 'w':
  ------------------
  |  Branch (344:9): [True: 4, False: 87]
  ------------------
  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: 91]
  ------------------
  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: 91]
  ------------------
  361|      0|            break;
  362|      0|        case '+':
  ------------------
  |  Branch (362:9): [True: 0, False: 91]
  ------------------
  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: 91]
  ------------------
  369|      0|            PyErr_Format(PyExc_ValueError,
  370|      0|                         "invalid mode: %.200s", mode);
  371|      0|            goto error;
  372|     91|        }
  373|     91|    }
  374|       |
  375|     91|    if (!rwa)
  ------------------
  |  Branch (375:9): [True: 0, False: 91]
  ------------------
  376|      0|        goto bad_mode;
  377|       |
  378|     91|    if (self->readable && self->writable)
  ------------------
  |  Branch (378:9): [True: 87, False: 4]
  |  Branch (378:27): [True: 0, False: 87]
  ------------------
  379|      0|        flags |= O_RDWR;
  380|     91|    else if (self->readable)
  ------------------
  |  Branch (380:14): [True: 87, False: 4]
  ------------------
  381|     87|        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|     91|    flags |= O_CLOEXEC;
  393|     91|#endif
  394|       |
  395|     91|    if (PySys_Audit("open", "Osi", nameobj, mode, flags) < 0) {
  ------------------
  |  Branch (395:9): [True: 0, False: 91]
  ------------------
  396|      0|        goto error;
  397|      0|    }
  398|       |
  399|     91|    if (fd >= 0) {
  ------------------
  |  Branch (399:9): [True: 6, False: 85]
  ------------------
  400|      6|        self->fd = fd;
  401|      6|        self->closefd = closefd;
  402|      6|    }
  403|     85|    else {
  404|     85|        self->closefd = 1;
  405|     85|        if (!closefd) {
  ------------------
  |  Branch (405:13): [True: 0, False: 85]
  ------------------
  406|      0|            PyErr_SetString(PyExc_ValueError,
  407|      0|                "Cannot use closefd=False with file name");
  408|      0|            goto error;
  409|      0|        }
  410|       |
  411|     85|        errno = 0;
  412|     85|        if (opener == Py_None) {
  ------------------
  |  |  616|     85|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (412:13): [True: 85, False: 0]
  ------------------
  413|     85|            do {
  414|     85|                Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|     85|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|     85|                        PyThreadState *_save; \
  |  |  121|     85|                        _save = PyEval_SaveThread();
  ------------------
  415|       |#ifdef MS_WINDOWS
  416|       |                self->fd = _wopen(widename, flags, 0666);
  417|       |#else
  418|     85|                self->fd = open(name, flags, 0666);
  419|     85|#endif
  420|     85|                Py_END_ALLOW_THREADS
  ------------------
  |  |  124|     85|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|     85|                 }
  ------------------
  421|     85|            } while (self->fd < 0 && errno == EINTR &&
  ------------------
  |  Branch (421:22): [True: 0, False: 85]
  |  Branch (421:38): [True: 0, False: 0]
  ------------------
  422|      0|                     !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (422:22): [True: 0, False: 0]
  ------------------
  423|       |
  424|     85|            if (async_err)
  ------------------
  |  Branch (424:17): [True: 0, False: 85]
  ------------------
  425|      0|                goto error;
  426|       |
  427|     85|            if (self->fd < 0) {
  ------------------
  |  Branch (427:17): [True: 0, False: 85]
  ------------------
  428|      0|                PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, nameobj);
  429|      0|                goto error;
  430|      0|            }
  431|     85|        }
  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|     85|        fd_is_own = 1;
  463|       |
  464|     85|#ifndef MS_WINDOWS
  465|     85|        if (_Py_set_inheritable(self->fd, 0, atomic_flag_works) < 0)
  ------------------
  |  Branch (465:13): [True: 0, False: 85]
  ------------------
  466|      0|            goto error;
  467|     85|#endif
  468|     85|    }
  469|       |
  470|     91|    PyMem_Free(self->stat_atopen);
  471|     91|    self->stat_atopen = PyMem_New(struct _Py_stat_struct, 1);
  ------------------
  |  |   64|     91|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|     91|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [Folded, False: 91]
  |  |  ------------------
  |  |   65|     91|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  472|     91|    if (self->stat_atopen == NULL) {
  ------------------
  |  Branch (472:9): [True: 0, False: 91]
  ------------------
  473|      0|        PyErr_NoMemory();
  474|      0|        goto error;
  475|      0|    }
  476|     91|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|     91|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|     91|                        PyThreadState *_save; \
  |  |  121|     91|                        _save = PyEval_SaveThread();
  ------------------
  477|     91|    fstat_result = _Py_fstat_noraise(self->fd, self->stat_atopen);
  478|     91|    Py_END_ALLOW_THREADS
  ------------------
  |  |  124|     91|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|     91|                 }
  ------------------
  479|     91|    if (fstat_result < 0) {
  ------------------
  |  Branch (479:9): [True: 0, False: 91]
  ------------------
  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|     91|    else {
  497|     91|#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|     91|        if (S_ISDIR(self->stat_atopen->st_mode)) {
  ------------------
  |  Branch (501:13): [True: 0, False: 91]
  ------------------
  502|      0|            errno = EISDIR;
  503|      0|            PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, nameobj);
  504|      0|            goto error;
  505|      0|        }
  506|     91|#endif /* defined(S_ISDIR) */
  507|     91|    }
  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|     91|    if (PyObject_SetAttr((PyObject *)self, &_Py_ID(name), nameobj) < 0)
  ------------------
  |  |  921|     91|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     91|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     91|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (514:9): [True: 0, False: 91]
  ------------------
  515|      0|        goto error;
  516|       |
  517|     91|    if (self->appending) {
  ------------------
  |  Branch (517:9): [True: 0, False: 91]
  ------------------
  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|     91|    goto done;
  528|       |
  529|     91| 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|     91| done:
  542|       |#ifdef MS_WINDOWS
  543|       |    PyMem_Free(widename);
  544|       |#endif
  545|       |    Py_CLEAR(stringobj);
  ------------------
  |  |  484|     91|    do { \
  |  |  485|     91|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     91|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     91|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     91|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     91|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 85, False: 6]
  |  |  ------------------
  |  |  488|     85|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     85|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     85|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     85|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     85|        } \
  |  |  491|     91|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 91]
  |  |  ------------------
  ------------------
  546|     91|    return ret;
  547|      0|}
fileio.c:fileio_new:
  199|     91|{
  200|     91|    assert(type != NULL && type->tp_alloc != NULL);
  ------------------
  |  Branch (200:5): [True: 91, False: 0]
  |  Branch (200:5): [True: 91, False: 0]
  ------------------
  201|       |
  202|     91|    fileio *self = (fileio *) type->tp_alloc(type, 0);
  203|     91|    if (self == NULL) {
  ------------------
  |  Branch (203:9): [True: 0, False: 91]
  ------------------
  204|      0|        return NULL;
  205|      0|    }
  206|       |
  207|     91|    self->fd = -1;
  208|     91|    self->created = 0;
  209|     91|    self->readable = 0;
  210|     91|    self->writable = 0;
  211|     91|    self->appending = 0;
  212|     91|    self->seekable = -1;
  213|     91|    self->truncate = 0;
  214|     91|    self->stat_atopen = NULL;
  215|     91|    self->closefd = 1;
  216|       |    self->weakreflist = NULL;
  217|     91|    return (PyObject *) self;
  218|     91|}

_PyIOBase_finalize:
  337|    170|{
  338|    170|    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|    170|    is_zombie = (Py_REFCNT(self) == 0);
  ------------------
  |  |  119|    170|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    170|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    170|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  343|    170|    if (is_zombie)
  ------------------
  |  Branch (343:9): [True: 170, False: 0]
  ------------------
  344|    170|        return PyObject_CallFinalizerFromDealloc(self);
  345|      0|    else {
  346|      0|        PyObject_CallFinalizer(self);
  347|      0|        return 0;
  348|      0|    }
  349|    170|}
_PyIOBase_check_readable:
  448|     87|{
  449|     87|    PyObject *res = PyObject_CallMethodNoArgs(self, &_Py_ID(readable));
  ------------------
  |  |  921|     87|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     87|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     87|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  450|     87|    if (res == NULL)
  ------------------
  |  Branch (450:9): [True: 0, False: 87]
  ------------------
  451|      0|        return NULL;
  452|     87|    if (res != Py_True) {
  ------------------
  |  |   26|     87|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (452:9): [True: 0, False: 87]
  ------------------
  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|     87|    if (args == Py_True) {
  ------------------
  |  |   26|     87|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (457:9): [True: 87, False: 0]
  ------------------
  458|     87|        Py_DECREF(res);
  ------------------
  |  |  430|     87|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  459|     87|    }
  460|     87|    return res;
  461|     87|}
_PyIOBase_check_writable:
  481|      4|{
  482|      4|    PyObject *res = PyObject_CallMethodNoArgs(self, &_Py_ID(writable));
  ------------------
  |  |  921|      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|     85|{
  200|     85|    PyObject *res;
  201|     85|    int closed;
  202|       |    /* This gets the derived attribute, which is *not* __IOBase_closed
  203|       |       in most cases! */
  204|     85|    closed = PyObject_GetOptionalAttr(self, &_Py_ID(closed), &res);
  ------------------
  |  |  921|     85|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     85|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     85|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  205|     85|    if (closed > 0) {
  ------------------
  |  Branch (205:9): [True: 85, False: 0]
  ------------------
  206|     85|        closed = PyObject_IsTrue(res);
  207|     85|        Py_DECREF(res);
  ------------------
  |  |  430|     85|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  208|     85|        if (closed > 0) {
  ------------------
  |  Branch (208:13): [True: 0, False: 85]
  ------------------
  209|      0|            PyErr_SetString(PyExc_ValueError, "I/O operation on closed file.");
  210|      0|            return -1;
  211|      0|        }
  212|     85|    }
  213|     85|    return closed;
  214|     85|}
iobase.c:_io__IOBase_flush_impl:
  174|    170|{
  175|       |    /* XXX Should this return the number of bytes written??? */
  176|    170|    int closed = iobase_is_closed(self);
  177|       |
  178|    170|    if (!closed) {
  ------------------
  |  Branch (178:9): [True: 170, False: 0]
  ------------------
  179|    170|        Py_RETURN_NONE;
  ------------------
  |  |  628|    170|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    170|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  180|    170|    }
  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|    170|}
iobase.c:iobase_is_closed:
   82|    255|{
   83|    255|    return PyObject_HasAttrWithError(self, &_Py_ID(__IOBase_closed));
  ------------------
  |  |  921|    255|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    255|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    255|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|    255|}
iobase.c:_io__IOBase_close_impl:
  272|     85|{
  273|     85|    int rc1, rc2, closed = iobase_is_closed(self);
  274|       |
  275|     85|    if (closed < 0) {
  ------------------
  |  Branch (275:9): [True: 0, False: 85]
  ------------------
  276|      0|        return NULL;
  277|      0|    }
  278|     85|    if (closed) {
  ------------------
  |  Branch (278:9): [True: 0, False: 85]
  ------------------
  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|     85|    rc1 = _PyFile_Flush(self);
  283|     85|    PyObject *exc = PyErr_GetRaisedException();
  284|     85|    rc2 = PyObject_SetAttr(self, &_Py_ID(__IOBase_closed), Py_True);
  ------------------
  |  |  921|     85|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     85|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     85|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  rc2 = PyObject_SetAttr(self, &_Py_ID(__IOBase_closed), Py_True);
  ------------------
  |  |   26|     85|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  285|     85|    _PyErr_ChainExceptions1(exc);
  286|     85|    if (rc1 < 0 || rc2 < 0) {
  ------------------
  |  Branch (286:9): [True: 0, False: 85]
  |  Branch (286:20): [True: 0, False: 85]
  ------------------
  287|      0|        return NULL;
  288|      0|    }
  289|       |
  290|     85|    Py_RETURN_NONE;
  ------------------
  |  |  628|     85|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     85|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  291|     85|}
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|      2|{
  475|      2|    Py_RETURN_FALSE;
  ------------------
  |  |   45|      2|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      2|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  476|      2|}
iobase.c:iobase_enter:
  500|     85|{
  501|     85|    if (iobase_check_closed(self))
  ------------------
  |  Branch (501:9): [True: 0, False: 85]
  ------------------
  502|      0|        return NULL;
  503|       |
  504|     85|    return Py_NewRef(self);
  ------------------
  |  |  550|     85|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  505|     85|}
iobase.c:iobase_exit:
  509|     85|{
  510|     85|    return PyObject_CallMethodNoArgs(self, &_Py_ID(close));
  ------------------
  |  |  921|     85|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     85|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     85|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     85|}
iobase.c:iobase_finalize:
  297|    170|{
  298|    170|    PyObject *res;
  299|    170|    int closed;
  300|       |
  301|       |    /* Save the current exception, if any. */
  302|    170|    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|    170|    if (PyObject_GetOptionalAttr(self, &_Py_ID(closed), &res) <= 0) {
  ------------------
  |  |  921|    170|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    170|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    170|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (306:9): [True: 0, False: 170]
  ------------------
  307|      0|        PyErr_Clear();
  308|      0|        closed = -1;
  309|      0|    }
  310|    170|    else {
  311|    170|        closed = PyObject_IsTrue(res);
  312|    170|        Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  313|    170|        if (closed == -1)
  ------------------
  |  Branch (313:13): [True: 0, False: 170]
  ------------------
  314|      0|            PyErr_Clear();
  315|    170|    }
  316|    170|    if (closed == 0) {
  ------------------
  |  Branch (316:9): [True: 0, False: 170]
  ------------------
  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))
  ------------------
  |  |  921|      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));
  ------------------
  |  |  921|      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|    170|    PyErr_SetRaisedException(exc);
  333|    170|}

textio.c:textiowrapper_traverse:
 1549|     60|{
 1550|     60|    textio *self = textio_CAST(op);
  ------------------
  |  |  732|     60|#define textio_CAST(op) ((textio *)(op))
  ------------------
 1551|     60|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|     60|    do {                                                                \
  |  |  195|     60|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 60, False: 0]
  |  |  ------------------
  |  |  196|     60|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     60|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 60]
  |  |  ------------------
  |  |  198|     60|                return vret;                                            \
  |  |  199|     60|        }                                                               \
  |  |  200|     60|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 60]
  |  |  ------------------
  ------------------
 1552|     60|    Py_VISIT(self->buffer);
  ------------------
  |  |  194|     60|    do {                                                                \
  |  |  195|     60|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 60, False: 0]
  |  |  ------------------
  |  |  196|     60|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     60|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 60]
  |  |  ------------------
  |  |  198|     60|                return vret;                                            \
  |  |  199|     60|        }                                                               \
  |  |  200|     60|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 60]
  |  |  ------------------
  ------------------
 1553|     60|    Py_VISIT(self->encoding);
  ------------------
  |  |  194|     60|    do {                                                                \
  |  |  195|     60|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 60, False: 0]
  |  |  ------------------
  |  |  196|     60|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     60|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 60]
  |  |  ------------------
  |  |  198|     60|                return vret;                                            \
  |  |  199|     60|        }                                                               \
  |  |  200|     60|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 60]
  |  |  ------------------
  ------------------
 1554|     60|    Py_VISIT(self->encoder);
  ------------------
  |  |  194|     60|    do {                                                                \
  |  |  195|     60|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 40, False: 20]
  |  |  ------------------
  |  |  196|     40|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     40|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 40]
  |  |  ------------------
  |  |  198|     40|                return vret;                                            \
  |  |  199|     40|        }                                                               \
  |  |  200|     60|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 60]
  |  |  ------------------
  ------------------
 1555|     60|    Py_VISIT(self->decoder);
  ------------------
  |  |  194|     60|    do {                                                                \
  |  |  195|     60|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 40]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     60|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 60]
  |  |  ------------------
  ------------------
 1556|     60|    Py_VISIT(self->readnl);
  ------------------
  |  |  194|     60|    do {                                                                \
  |  |  195|     60|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 60, False: 0]
  |  |  ------------------
  |  |  196|     60|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     60|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 60]
  |  |  ------------------
  |  |  198|     60|                return vret;                                            \
  |  |  199|     60|        }                                                               \
  |  |  200|     60|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 60]
  |  |  ------------------
  ------------------
 1557|     60|    Py_VISIT(self->decoded_chars);
  ------------------
  |  |  194|     60|    do {                                                                \
  |  |  195|     60|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 60]
  |  |  ------------------
  |  |  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|     60|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 60]
  |  |  ------------------
  ------------------
 1558|     60|    Py_VISIT(self->pending_bytes);
  ------------------
  |  |  194|     60|    do {                                                                \
  |  |  195|     60|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 60]
  |  |  ------------------
  |  |  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|     60|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 60]
  |  |  ------------------
  ------------------
 1559|     60|    Py_VISIT(self->snapshot);
  ------------------
  |  |  194|     60|    do {                                                                \
  |  |  195|     60|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 60]
  |  |  ------------------
  |  |  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|     60|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 60]
  |  |  ------------------
  ------------------
 1560|     60|    Py_VISIT(self->errors);
  ------------------
  |  |  194|     60|    do {                                                                \
  |  |  195|     60|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 60, False: 0]
  |  |  ------------------
  |  |  196|     60|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     60|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 60]
  |  |  ------------------
  |  |  198|     60|                return vret;                                            \
  |  |  199|     60|        }                                                               \
  |  |  200|     60|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 60]
  |  |  ------------------
  ------------------
 1561|     60|    Py_VISIT(self->raw);
  ------------------
  |  |  194|     60|    do {                                                                \
  |  |  195|     60|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 60, False: 0]
  |  |  ------------------
  |  |  196|     60|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     60|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 60]
  |  |  ------------------
  |  |  198|     60|                return vret;                                            \
  |  |  199|     60|        }                                                               \
  |  |  200|     60|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 60]
  |  |  ------------------
  ------------------
 1562|       |
 1563|     60|    Py_VISIT(self->dict);
  ------------------
  |  |  194|     60|    do {                                                                \
  |  |  195|     60|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 60, False: 0]
  |  |  ------------------
  |  |  196|     60|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     60|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 60]
  |  |  ------------------
  |  |  198|     60|                return vret;                                            \
  |  |  199|     60|        }                                                               \
  |  |  200|     60|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 60]
  |  |  ------------------
  ------------------
 1564|     60|    return 0;
 1565|     60|}
textio.c:buffer_access_safe:
  741|  96.9k|{
  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|  96.9k|    if (self->buffer == NULL) {
  ------------------
  |  Branch (744:9): [True: 0, False: 96.9k]
  ------------------
  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|  96.9k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  759|  96.9k|    return self->buffer;
  760|  96.9k|}
textio.c:_textiowrapper_writeflush:
 1651|  48.4k|{
 1652|  48.4k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
 1653|       |
 1654|  48.4k|    if (self->pending_bytes == NULL)
  ------------------
  |  Branch (1654:9): [True: 0, False: 48.4k]
  ------------------
 1655|      0|        return 0;
 1656|       |
 1657|  48.4k|    PyObject *pending = self->pending_bytes;
 1658|  48.4k|    PyObject *b;
 1659|       |
 1660|  48.4k|    if (PyBytes_Check(pending)) {
  ------------------
  |  |   28|  48.4k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  48.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 48.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|  48.4k|    else if (PyUnicode_Check(pending)) {
  ------------------
  |  |  103|  48.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  48.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 48.4k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1664|  48.4k|        assert(PyUnicode_IS_ASCII(pending));
  ------------------
  |  Branch (1664:9): [True: 48.4k, False: 0]
  ------------------
 1665|  48.4k|        assert(PyUnicode_GET_LENGTH(pending) == self->pending_bytes_count);
  ------------------
  |  Branch (1665:9): [True: 48.4k, False: 0]
  ------------------
 1666|  48.4k|        b = PyBytes_FromStringAndSize(
 1667|  48.4k|                PyUnicode_DATA(pending), PyUnicode_GET_LENGTH(pending));
  ------------------
  |  |  284|  48.4k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              PyUnicode_DATA(pending), PyUnicode_GET_LENGTH(pending));
  ------------------
  |  |  299|  48.4k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1668|  48.4k|        if (b == NULL) {
  ------------------
  |  Branch (1668:13): [True: 0, False: 48.4k]
  ------------------
 1669|      0|            return -1;
 1670|      0|        }
 1671|  48.4k|    }
 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|  48.4k|    self->pending_bytes_count = 0;
 1705|  48.4k|    self->pending_bytes = NULL;
 1706|  48.4k|    Py_DECREF(pending);
  ------------------
  |  |  430|  48.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1707|       |
 1708|  48.4k|    PyObject *ret;
 1709|  48.4k|    do {
 1710|  48.4k|        ret = buffer_callmethod_onearg(self, &_Py_ID(write), b);
  ------------------
  |  |  921|  48.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  48.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  48.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1711|  48.4k|    } while (ret == NULL && _PyIO_trap_eintr());
  ------------------
  |  Branch (1711:14): [True: 0, False: 48.4k]
  |  Branch (1711:29): [True: 0, False: 0]
  ------------------
 1712|  48.4k|    Py_DECREF(b);
  ------------------
  |  |  430|  48.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1713|       |    // NOTE: We cleared buffer but we don't know how many bytes are actually written
 1714|       |    // when an error occurred.
 1715|  48.4k|    if (ret == NULL)
  ------------------
  |  Branch (1715:9): [True: 0, False: 48.4k]
  ------------------
 1716|      0|        return -1;
 1717|  48.4k|    Py_DECREF(ret);
  ------------------
  |  |  430|  48.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1718|  48.4k|    return 0;
 1719|  48.4k|}
textio.c:buffer_callmethod_onearg:
  786|  48.4k|{
  787|  48.4k|    PyObject *buffer = buffer_access_safe(self);
  788|  48.4k|    if (buffer == NULL) {
  ------------------
  |  Branch (788:9): [True: 0, False: 48.4k]
  ------------------
  789|      0|        return NULL;
  790|      0|    }
  791|       |
  792|  48.4k|    return PyObject_CallMethodOneArg(buffer, name, arg);
  793|  48.4k|}
textio.c:validate_newline:
  909|      6|{
  910|      6|    if (newline && newline[0] != '\0'
  ------------------
  |  Branch (910:9): [True: 6, False: 0]
  |  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|      6|    return 0;
  919|      6|}
textio.c:set_newline:
  923|      6|{
  924|      6|    PyObject *old = self->readnl;
  925|      6|    if (newline == NULL) {
  ------------------
  |  Branch (925:9): [True: 0, False: 6]
  ------------------
  926|      0|        self->readnl = NULL;
  927|      0|    }
  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|      6|    self->readuniversal = (newline == NULL || newline[0] == '\0');
  ------------------
  |  Branch (935:28): [True: 0, False: 6]
  |  Branch (935:47): [True: 0, False: 6]
  ------------------
  936|      6|    self->readtranslate = (newline == NULL);
  937|      6|    self->writetranslate = (newline == NULL || newline[0] != '\0');
  ------------------
  |  Branch (937:29): [True: 0, False: 6]
  |  Branch (937:48): [True: 6, False: 0]
  ------------------
  938|      6|    if (!self->readuniversal && self->readnl != NULL) {
  ------------------
  |  Branch (938:9): [True: 6, False: 0]
  |  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|      0|    else {
  947|       |#ifdef MS_WINDOWS
  948|       |        self->writenl = "\r\n";
  949|       |#else
  950|      0|        self->writenl = NULL;
  951|      0|#endif
  952|      0|    }
  953|      6|    Py_XDECREF(old);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  954|      6|    return 0;
  955|      6|}
textio.c:_textiowrapper_set_decoder:
  960|      6|{
  961|      6|    PyObject *res;
  962|      6|    int r;
  963|       |
  964|      6|    res = buffer_callmethod_noargs(self, &_Py_ID(readable));
  ------------------
  |  |  921|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  965|      6|    if (res == NULL)
  ------------------
  |  Branch (965:9): [True: 0, False: 6]
  ------------------
  966|      0|        return -1;
  967|       |
  968|      6|    r = PyObject_IsTrue(res);
  969|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  970|      6|    if (r == -1)
  ------------------
  |  Branch (970:9): [True: 0, False: 6]
  ------------------
  971|      0|        return -1;
  972|       |
  973|      6|    if (r != 1)
  ------------------
  |  Branch (973:9): [True: 4, False: 2]
  ------------------
  974|      4|        return 0;
  975|       |
  976|      2|    Py_CLEAR(self->decoder);
  ------------------
  |  |  484|      2|    do { \
  |  |  485|      2|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      2|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      2|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  977|      2|    self->decoder = _PyCodecInfo_GetIncrementalDecoder(codec_info, errors);
  978|      2|    if (self->decoder == NULL)
  ------------------
  |  Branch (978:9): [True: 0, False: 2]
  ------------------
  979|      0|        return -1;
  980|       |
  981|      2|    if (self->readuniversal) {
  ------------------
  |  Branch (981:9): [True: 0, False: 2]
  ------------------
  982|      0|        _PyIO_State *state = self->state;
  983|      0|        PyObject *incrementalDecoder = PyObject_CallFunctionObjArgs(
  984|      0|            (PyObject *)state->PyIncrementalNewlineDecoder_Type,
  985|      0|            self->decoder, self->readtranslate ? Py_True : Py_False, NULL);
  ------------------
  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          self->decoder, self->readtranslate ? Py_True : Py_False, NULL);
  ------------------
  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (985:28): [True: 0, False: 0]
  ------------------
  986|      0|        if (incrementalDecoder == NULL)
  ------------------
  |  Branch (986:13): [True: 0, False: 0]
  ------------------
  987|      0|            return -1;
  988|      0|        Py_XSETREF(self->decoder, incrementalDecoder);
  ------------------
  |  |  376|      0|    do { \
  |  |  377|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|      0|        *_tmp_dst_ptr = (src); \
  |  |  380|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  989|      0|    }
  990|       |
  991|      2|    return 0;
  992|      2|}
textio.c:buffer_callmethod_noargs:
  775|     16|{
  776|     16|    PyObject *buffer = buffer_access_safe(self);
  777|     16|    if (buffer == NULL) {
  ------------------
  |  Branch (777:9): [True: 0, False: 16]
  ------------------
  778|      0|        return NULL;
  779|      0|    }
  780|       |
  781|     16|    return PyObject_CallMethodNoArgs(buffer, name);
  782|     16|}
textio.c:_textiowrapper_set_encoder:
 1016|      6|{
 1017|      6|    PyObject *res;
 1018|      6|    int r;
 1019|       |
 1020|      6|    res = buffer_callmethod_noargs(self, &_Py_ID(writable));
  ------------------
  |  |  921|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1021|      6|    if (res == NULL)
  ------------------
  |  Branch (1021:9): [True: 0, False: 6]
  ------------------
 1022|      0|        return -1;
 1023|       |
 1024|      6|    r = PyObject_IsTrue(res);
 1025|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1026|      6|    if (r == -1)
  ------------------
  |  Branch (1026:9): [True: 0, False: 6]
  ------------------
 1027|      0|        return -1;
 1028|       |
 1029|      6|    if (r != 1)
  ------------------
  |  Branch (1029:9): [True: 2, False: 4]
  ------------------
 1030|      2|        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) {
  ------------------
  |  |  921|      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|      6|{
 1060|      6|    if (!self->seekable || !self->encoder) {
  ------------------
  |  Branch (1060:9): [True: 0, False: 6]
  |  Branch (1060:28): [True: 2, False: 4]
  ------------------
 1061|      2|        return 0;
 1062|      2|    }
 1063|       |
 1064|      4|    self->encoding_start_of_stream = 1;
 1065|       |
 1066|      4|    PyObject *cookieObj = buffer_callmethod_noargs(self, &_Py_ID(tell));
  ------------------
  |  |  921|      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());
  ------------------
  |  |  921|      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|  48.4k|{
 1732|  48.4k|    PyObject *ret;
 1733|  48.4k|    PyObject *b;
 1734|  48.4k|    Py_ssize_t textlen;
 1735|  48.4k|    int haslf = 0;
 1736|  48.4k|    int needflush = 0, text_needflush = 0;
 1737|       |
 1738|  48.4k|    CHECK_ATTACHED(self);
  ------------------
  |  | 1605|  48.4k|    CHECK_INITIALIZED(self); \
  |  |  ------------------
  |  |  |  | 1598|  48.4k|    if (self->ok <= 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1598:9): [True: 0, False: 48.4k]
  |  |  |  |  ------------------
  |  |  |  | 1599|      0|        PyErr_SetString(PyExc_ValueError, \
  |  |  |  | 1600|      0|            "I/O operation on uninitialized object"); \
  |  |  |  | 1601|      0|        return NULL; \
  |  |  |  | 1602|      0|    }
  |  |  ------------------
  |  | 1606|  48.4k|    if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (1606:9): [True: 0, False: 48.4k]
  |  |  ------------------
  |  | 1607|      0|        PyErr_SetString(PyExc_ValueError, \
  |  | 1608|      0|             "underlying buffer has been detached"); \
  |  | 1609|      0|        return NULL; \
  |  | 1610|      0|    }
  ------------------
 1739|  48.4k|    CHECK_CLOSED(self);
  ------------------
  |  | 1572|  48.4k|    do { \
  |  | 1573|  48.4k|        int r; \
  |  | 1574|  48.4k|        PyObject *_res; \
  |  | 1575|  48.4k|        if (Py_IS_TYPE(self, self->state->PyTextIOWrapper_Type)) { \
  |  |  ------------------
  |  |  |  |  215|  48.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 48.4k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1576|  48.4k|            if (self->raw != NULL) \
  |  |  ------------------
  |  |  |  Branch (1576:17): [True: 48.4k, False: 0]
  |  |  ------------------
  |  | 1577|  48.4k|                r = _PyFileIO_closed(self->raw); \
  |  | 1578|  48.4k|            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|  48.4k|            if (r > 0) { \
  |  |  ------------------
  |  |  |  Branch (1587:17): [True: 0, False: 48.4k]
  |  |  ------------------
  |  | 1588|      0|                PyErr_SetString(PyExc_ValueError, \
  |  | 1589|      0|                                "I/O operation on closed file."); \
  |  | 1590|      0|                return NULL; \
  |  | 1591|      0|            } \
  |  | 1592|  48.4k|        } \
  |  | 1593|  48.4k|        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|  48.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1595:14): [Folded, False: 48.4k]
  |  |  ------------------
  ------------------
 1740|       |
 1741|  48.4k|    if (self->encoder == NULL) {
  ------------------
  |  Branch (1741:9): [True: 0, False: 48.4k]
  ------------------
 1742|      0|        return _unsupported(self->state, "not writable");
 1743|      0|    }
 1744|       |
 1745|  48.4k|    Py_INCREF(text);
  ------------------
  |  |  310|  48.4k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1746|       |
 1747|  48.4k|    textlen = PyUnicode_GET_LENGTH(text);
  ------------------
  |  |  299|  48.4k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1748|       |
 1749|  48.4k|    if ((self->writetranslate && self->writenl != NULL) || self->line_buffering)
  ------------------
  |  Branch (1749:10): [True: 48.4k, False: 0]
  |  Branch (1749:34): [True: 0, False: 48.4k]
  |  Branch (1749:60): [True: 48.4k, False: 0]
  ------------------
 1750|  48.4k|        if (PyUnicode_FindChar(text, '\n', 0, PyUnicode_GET_LENGTH(text), 1) != -1)
  ------------------
  |  |  299|  48.4k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1750:13): [True: 48.4k, False: 0]
  ------------------
 1751|  48.4k|            haslf = 1;
 1752|       |
 1753|  48.4k|    if (haslf && self->writetranslate && self->writenl != NULL) {
  ------------------
  |  Branch (1753:9): [True: 48.4k, False: 0]
  |  Branch (1753:18): [True: 48.4k, False: 0]
  |  Branch (1753:42): [True: 0, False: 48.4k]
  ------------------
 1754|      0|        PyObject *newtext = _PyObject_CallMethod(text, &_Py_ID(replace),
  ------------------
  |  |  921|      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|  48.4k|    if (self->write_through)
  ------------------
  |  Branch (1762:9): [True: 0, False: 48.4k]
  ------------------
 1763|      0|        text_needflush = 1;
 1764|  48.4k|    if (self->line_buffering &&
  ------------------
  |  Branch (1764:9): [True: 48.4k, False: 0]
  ------------------
 1765|  48.4k|        (haslf ||
  ------------------
  |  Branch (1765:10): [True: 48.4k, 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|  48.4k|        needflush = 1;
 1768|       |
 1769|       |    /* XXX What if we were just reading? */
 1770|  48.4k|    if (self->encodefunc != NULL) {
  ------------------
  |  Branch (1770:9): [True: 48.4k, False: 0]
  ------------------
 1771|  48.4k|        if (PyUnicode_IS_ASCII(text) &&
  ------------------
  |  |  227|  96.9k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 48.4k, False: 0]
  |  |  ------------------
  ------------------
 1772|       |                // See bpo-43260
 1773|  48.4k|                PyUnicode_GET_LENGTH(text) <= self->chunk_size &&
  ------------------
  |  |  299|  48.4k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1773:17): [True: 48.4k, False: 0]
  ------------------
 1774|  48.4k|                is_asciicompat_encoding(self->encodefunc)) {
  ------------------
  |  Branch (1774:17): [True: 48.4k, False: 0]
  ------------------
 1775|  48.4k|            b = Py_NewRef(text);
  ------------------
  |  |  550|  48.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1776|  48.4k|        }
 1777|      0|        else {
 1778|      0|            b = (*self->encodefunc)((PyObject *) self, text);
 1779|      0|        }
 1780|  48.4k|        self->encoding_start_of_stream = 0;
 1781|  48.4k|    }
 1782|      0|    else {
 1783|      0|        b = PyObject_CallMethodOneArg(self->encoder, &_Py_ID(encode), text);
  ------------------
  |  |  921|      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|  48.4k|    Py_DECREF(text);
  ------------------
  |  |  430|  48.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1787|  48.4k|    if (b == NULL)
  ------------------
  |  Branch (1787:9): [True: 0, False: 48.4k]
  ------------------
 1788|      0|        return NULL;
 1789|  48.4k|    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: 48.4k]
  |  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|  48.4k|    Py_ssize_t bytes_len;
 1798|  48.4k|    if (b == text) {
  ------------------
  |  Branch (1798:9): [True: 48.4k, False: 0]
  ------------------
 1799|  48.4k|        bytes_len = PyUnicode_GET_LENGTH(b);
  ------------------
  |  |  299|  48.4k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1800|  48.4k|    }
 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|  48.4k|    if (bytes_len >= self->chunk_size) {
  ------------------
  |  Branch (1808:9): [True: 0, False: 48.4k]
  ------------------
 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|  48.4k|    if (bytes_len > 0) {
  ------------------
  |  Branch (1823:9): [True: 48.4k, False: 0]
  ------------------
 1824|  48.4k|        if (self->pending_bytes == NULL) {
  ------------------
  |  Branch (1824:13): [True: 48.4k, False: 0]
  ------------------
 1825|  48.4k|            assert(self->pending_bytes_count == 0);
  ------------------
  |  Branch (1825:13): [True: 48.4k, False: 0]
  ------------------
 1826|  48.4k|            self->pending_bytes = b;
 1827|  48.4k|        }
 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|  48.4k|        self->pending_bytes_count += bytes_len;
 1850|  48.4k|    }
 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|  48.4k|    if (self->pending_bytes_count >= self->chunk_size || needflush ||
  ------------------
  |  Branch (1855:9): [True: 0, False: 48.4k]
  |  Branch (1855:58): [True: 48.4k, False: 0]
  ------------------
 1856|  48.4k|        text_needflush) {
  ------------------
  |  Branch (1856:9): [True: 0, False: 0]
  ------------------
 1857|  48.4k|        if (_textiowrapper_writeflush(self) < 0)
  ------------------
  |  Branch (1857:13): [True: 0, False: 48.4k]
  ------------------
 1858|      0|            return NULL;
 1859|  48.4k|    }
 1860|       |
 1861|  48.4k|    if (needflush) {
  ------------------
  |  Branch (1861:9): [True: 48.4k, False: 0]
  ------------------
 1862|  48.4k|        PyObject *buffer = buffer_access_safe(self);
 1863|  48.4k|        if (buffer == NULL || _PyFile_Flush(buffer) < 0) {
  ------------------
  |  Branch (1863:13): [True: 0, False: 48.4k]
  |  Branch (1863:31): [True: 0, False: 48.4k]
  ------------------
 1864|      0|            return NULL;
 1865|      0|        }
 1866|  48.4k|    }
 1867|       |
 1868|  48.4k|    if (self->snapshot != NULL) {
  ------------------
  |  Branch (1868:9): [True: 0, False: 48.4k]
  ------------------
 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|  48.4k|    if (self->decoder) {
  ------------------
  |  Branch (1873:9): [True: 0, False: 48.4k]
  ------------------
 1874|      0|        ret = PyObject_CallMethodNoArgs(self->decoder, &_Py_ID(reset));
  ------------------
  |  |  921|      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|  48.4k|    return PyLong_FromSsize_t(textlen);
 1881|  48.4k|}
textio.c:is_asciicompat_encoding:
  883|  48.4k|{
  884|  48.4k|    return f == ascii_encode || f == latin1_encode || f == utf8_encode;
  ------------------
  |  Branch (884:12): [True: 0, False: 48.4k]
  |  Branch (884:33): [True: 0, False: 48.4k]
  |  Branch (884:55): [True: 48.4k, False: 0]
  ------------------
  885|  48.4k|}
textio.c:_io_TextIOWrapper___init___impl:
 1171|      6|{
 1172|      6|    PyObject *raw, *codec_info = NULL;
 1173|      6|    PyObject *res;
 1174|      6|    int r;
 1175|       |
 1176|      6|    self->ok = 0;
 1177|      6|    self->detached = 0;
 1178|       |
 1179|      6|    if (encoding == NULL) {
  ------------------
  |  Branch (1179:9): [True: 0, False: 6]
  ------------------
 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|      6|    if (errors == Py_None) {
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1189:9): [True: 0, False: 6]
  ------------------
 1190|      0|        errors = &_Py_ID(strict);
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1191|      0|    }
 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|      6|    const char *errors_str = _PyUnicode_AsUTF8NoNUL(errors);
 1205|      6|    if (errors_str == NULL) {
  ------------------
  |  Branch (1205:9): [True: 0, False: 6]
  ------------------
 1206|      0|        return -1;
 1207|      0|    }
 1208|       |
 1209|      6|    if (validate_newline(newline) < 0) {
  ------------------
  |  Branch (1209:9): [True: 0, False: 6]
  ------------------
 1210|      0|        return -1;
 1211|      0|    }
 1212|       |
 1213|      6|    Py_CLEAR(self->buffer);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1214|      6|    Py_CLEAR(self->encoding);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1215|      6|    Py_CLEAR(self->encoder);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1216|      6|    Py_CLEAR(self->decoder);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1217|      6|    Py_CLEAR(self->readnl);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1218|      6|    Py_CLEAR(self->decoded_chars);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1219|      6|    Py_CLEAR(self->pending_bytes);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1220|      6|    Py_CLEAR(self->snapshot);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1221|      6|    Py_CLEAR(self->errors);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1222|      6|    Py_CLEAR(self->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: 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]
  |  |  ------------------
  ------------------
 1223|      6|    self->decoded_chars_used = 0;
 1224|      6|    self->pending_bytes_count = 0;
 1225|      6|    self->encodefunc = NULL;
 1226|      6|    self->b2cratio = 0.0;
 1227|       |
 1228|      6|    if (encoding == NULL && _PyRuntime.preconfig.utf8_mode) {
  ------------------
  |  Branch (1228:9): [True: 0, False: 6]
  |  Branch (1228:29): [True: 0, False: 0]
  ------------------
 1229|      0|        _Py_DECLARE_STR(utf_8, "utf-8");
 1230|      0|        self->encoding = &_Py_STR(utf_8);
  ------------------
  |  |  923|      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|      6|    else if (encoding == NULL || (strcmp(encoding, "locale") == 0)) {
  ------------------
  |  Branch (1232:14): [True: 0, False: 6]
  |  Branch (1232:34): [True: 0, False: 6]
  ------------------
 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|      6|    if (self->encoding != NULL) {
  ------------------
  |  Branch (1240:9): [True: 0, False: 6]
  ------------------
 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|      6|    else if (encoding != NULL) {
  ------------------
  |  Branch (1245:14): [True: 6, False: 0]
  ------------------
 1246|      6|        self->encoding = PyUnicode_FromString(encoding);
 1247|      6|        if (self->encoding == NULL)
  ------------------
  |  Branch (1247:13): [True: 0, False: 6]
  ------------------
 1248|      0|            goto error;
 1249|      6|    }
 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|      6|    codec_info = _PyCodec_LookupTextEncoding(encoding, NULL);
 1258|      6|    if (codec_info == NULL) {
  ------------------
  |  Branch (1258:9): [True: 0, False: 6]
  ------------------
 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|      6|    self->errors = Py_NewRef(errors);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1268|      6|    self->chunk_size = 8192;
 1269|      6|    self->line_buffering = line_buffering;
 1270|      6|    self->write_through = write_through;
 1271|      6|    if (set_newline(self, newline) < 0) {
  ------------------
  |  Branch (1271:9): [True: 0, False: 6]
  ------------------
 1272|      0|        goto error;
 1273|      0|    }
 1274|       |
 1275|      6|    self->buffer = Py_NewRef(buffer);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1276|       |
 1277|       |    /* Build the decoder object */
 1278|      6|    _PyIO_State *state = find_io_state_by_def(Py_TYPE(self));
  ------------------
  |  |  213|      6|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1279|      6|    self->state = state;
 1280|      6|    if (_textiowrapper_set_decoder(self, codec_info, errors_str) != 0)
  ------------------
  |  Branch (1280:9): [True: 0, False: 6]
  ------------------
 1281|      0|        goto error;
 1282|       |
 1283|       |    /* Build the encoder object */
 1284|      6|    if (_textiowrapper_set_encoder(self, codec_info, errors_str) != 0)
  ------------------
  |  Branch (1284:9): [True: 0, False: 6]
  ------------------
 1285|      0|        goto error;
 1286|       |
 1287|       |    /* Finished sorting out the codec details */
 1288|      6|    Py_CLEAR(codec_info);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1289|       |
 1290|      6|    if (Py_IS_TYPE(buffer, state->PyBufferedReader_Type) ||
  ------------------
  |  |  215|     12|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 2, False: 4]
  |  |  ------------------
  ------------------
 1291|      4|        Py_IS_TYPE(buffer, state->PyBufferedWriter_Type) ||
  ------------------
  |  |  215|     10|#  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|      6|    {
 1294|      6|        if (PyObject_GetOptionalAttr(buffer, &_Py_ID(raw), &raw) < 0)
  ------------------
  |  |  921|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1294:13): [True: 0, False: 6]
  ------------------
 1295|      0|            goto error;
 1296|       |        /* Cache the raw FileIO object to speed up 'closed' checks */
 1297|      6|        if (raw != NULL) {
  ------------------
  |  Branch (1297:13): [True: 6, False: 0]
  ------------------
 1298|      6|            if (Py_IS_TYPE(raw, state->PyFileIO_Type))
  ------------------
  |  |  215|      6|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 6, False: 0]
  |  |  ------------------
  ------------------
 1299|      6|                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|      6|        }
 1303|      6|    }
 1304|       |
 1305|      6|    res = PyObject_CallMethodNoArgs(buffer, &_Py_ID(seekable));
  ------------------
  |  |  921|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1306|      6|    if (res == NULL)
  ------------------
  |  Branch (1306:9): [True: 0, False: 6]
  ------------------
 1307|      0|        goto error;
 1308|      6|    r = PyObject_IsTrue(res);
 1309|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1310|      6|    if (r < 0)
  ------------------
  |  Branch (1310:9): [True: 0, False: 6]
  ------------------
 1311|      0|        goto error;
 1312|      6|    self->seekable = self->telling = r;
 1313|       |
 1314|      6|    r = PyObject_HasAttrWithError(buffer, &_Py_ID(read1));
  ------------------
  |  |  921|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1315|      6|    if (r < 0) {
  ------------------
  |  Branch (1315:9): [True: 0, False: 6]
  ------------------
 1316|      0|        goto error;
 1317|      0|    }
 1318|      6|    self->has_read1 = r;
 1319|       |
 1320|      6|    self->encoding_start_of_stream = 0;
 1321|      6|    if (_textiowrapper_fix_encoder_state(self) < 0) {
  ------------------
  |  Branch (1321:9): [True: 0, False: 6]
  ------------------
 1322|      0|        goto error;
 1323|      0|    }
 1324|       |
 1325|      6|    self->ok = 1;
 1326|      6|    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|      6|}
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:
 1143|      1|{
 1144|      1|    return PyModuleDef_Init(&_localemodule);
 1145|      1|}
_localemodule.c:get_locale_state:
   42|     15|{
   43|     15|    void *state = PyModule_GetState(m);
   44|     15|    assert(state != NULL);
  ------------------
  |  Branch (44:5): [True: 15, False: 0]
  ------------------
   45|     15|    return (_locale_state *)state;
   46|     15|}
_localemodule.c:_locale_exec:
 1051|      1|{
 1052|      1|#ifdef HAVE_LANGINFO_H
 1053|      1|    int i;
 1054|      1|#endif
 1055|      1|#define ADD_INT(module, value)                                    \
 1056|      1|    do {                                                          \
 1057|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
 1058|      1|            return -1;                                            \
 1059|      1|        }                                                         \
 1060|      1|    } while (0)
 1061|       |
 1062|      1|    ADD_INT(module, LC_CTYPE);
  ------------------
  |  | 1056|      1|    do {                                                          \
  |  | 1057|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1057:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1058|      0|            return -1;                                            \
  |  | 1059|      0|        }                                                         \
  |  | 1060|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1060:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1063|      1|    ADD_INT(module, LC_TIME);
  ------------------
  |  | 1056|      1|    do {                                                          \
  |  | 1057|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1057:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1058|      0|            return -1;                                            \
  |  | 1059|      0|        }                                                         \
  |  | 1060|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1060:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1064|      1|    ADD_INT(module, LC_COLLATE);
  ------------------
  |  | 1056|      1|    do {                                                          \
  |  | 1057|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1057:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1058|      0|            return -1;                                            \
  |  | 1059|      0|        }                                                         \
  |  | 1060|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1060:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1065|      1|    ADD_INT(module, LC_MONETARY);
  ------------------
  |  | 1056|      1|    do {                                                          \
  |  | 1057|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1057:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1058|      0|            return -1;                                            \
  |  | 1059|      0|        }                                                         \
  |  | 1060|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1060:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1066|       |
 1067|      1|#ifdef LC_MESSAGES
 1068|      1|    ADD_INT(module, LC_MESSAGES);
  ------------------
  |  | 1056|      1|    do {                                                          \
  |  | 1057|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1057:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1058|      0|            return -1;                                            \
  |  | 1059|      0|        }                                                         \
  |  | 1060|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1060:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1069|      1|#endif /* LC_MESSAGES */
 1070|       |
 1071|      1|    ADD_INT(module, LC_NUMERIC);
  ------------------
  |  | 1056|      1|    do {                                                          \
  |  | 1057|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1057:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1058|      0|            return -1;                                            \
  |  | 1059|      0|        }                                                         \
  |  | 1060|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1060:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1072|      1|    ADD_INT(module, LC_ALL);
  ------------------
  |  | 1056|      1|    do {                                                          \
  |  | 1057|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1057:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1058|      0|            return -1;                                            \
  |  | 1059|      0|        }                                                         \
  |  | 1060|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1060:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1073|      1|    ADD_INT(module, CHAR_MAX);
  ------------------
  |  | 1056|      1|    do {                                                          \
  |  | 1057|      1|        if (PyModule_AddIntConstant(module, #value, value) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1057:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1058|      0|            return -1;                                            \
  |  | 1059|      0|        }                                                         \
  |  | 1060|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1060:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1074|       |
 1075|      1|    _locale_state *state = get_locale_state(module);
 1076|      1|    state->Error = PyErr_NewException("locale.Error", NULL, NULL);
 1077|      1|    if (PyModule_AddObjectRef(module, "Error", state->Error) < 0) {
  ------------------
  |  Branch (1077:9): [True: 0, False: 1]
  ------------------
 1078|      0|        return -1;
 1079|      0|    }
 1080|       |
 1081|      1|#ifdef HAVE_LANGINFO_H
 1082|     57|    for (i = 0; langinfo_constants[i].name; i++) {
  ------------------
  |  Branch (1082:17): [True: 56, False: 1]
  ------------------
 1083|     56|        if (PyModule_AddIntConstant(module,
  ------------------
  |  Branch (1083:13): [True: 0, False: 56]
  ------------------
 1084|     56|                                    langinfo_constants[i].name,
 1085|     56|                                    langinfo_constants[i].value) < 0) {
 1086|      0|            return -1;
 1087|      0|        }
 1088|     56|    }
 1089|      1|#endif
 1090|       |
 1091|      1|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1091:9): [True: 0, False: 1]
  ------------------
 1092|      0|        return -1;
 1093|      0|    }
 1094|      1|    return 0;
 1095|       |
 1096|      1|#undef ADD_INT
 1097|      1|}
_localemodule.c:locale_traverse:
 1109|     14|{
 1110|     14|    _locale_state *state = get_locale_state(module);
 1111|     14|    Py_VISIT(state->Error);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1112|     14|    return 0;
 1113|     14|}

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|     19|{
   21|     19|    void *state = _PyModule_GetState(module);
   22|     19|    assert(state != NULL);
  ------------------
  |  Branch (22:5): [True: 19, False: 0]
  ------------------
   23|     19|    return (_operator_state *)state;
   24|     19|}
_operator.c:operator_traverse:
 1993|     18|{
 1994|     18|    _operator_state *state = get_operator_state(module);
 1995|     18|    Py_VISIT(state->attrgetter_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1996|     18|    Py_VISIT(state->itemgetter_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1997|     18|    Py_VISIT(state->methodcaller_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1998|     18|    return 0;
 1999|     18|}

sre.c:_sre_compile:
 1073|      9|{
 1074|      9|    PyObject *return_value = NULL;
 1075|      9|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1076|       |
 1077|      9|    #define NUM_KEYWORDS 6
 1078|      9|    static struct {
 1079|      9|        PyGC_Head _this_is_not_used;
 1080|      9|        PyObject_VAR_HEAD
 1081|      9|        Py_hash_t ob_hash;
 1082|      9|        PyObject *ob_item[NUM_KEYWORDS];
 1083|      9|    } _kwtuple = {
 1084|      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|    },
  ------------------
 1085|      9|        .ob_hash = -1,
 1086|      9|        .ob_item = { &_Py_ID(pattern), &_Py_ID(flags), &_Py_ID(code), &_Py_ID(groups), &_Py_ID(groupindex), &_Py_ID(indexgroup), },
  ------------------
  |  |  921|      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(pattern), &_Py_ID(flags), &_Py_ID(code), &_Py_ID(groups), &_Py_ID(groupindex), &_Py_ID(indexgroup), },
  ------------------
  |  |  921|      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(pattern), &_Py_ID(flags), &_Py_ID(code), &_Py_ID(groups), &_Py_ID(groupindex), &_Py_ID(indexgroup), },
  ------------------
  |  |  921|      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(pattern), &_Py_ID(flags), &_Py_ID(code), &_Py_ID(groups), &_Py_ID(groupindex), &_Py_ID(indexgroup), },
  ------------------
  |  |  921|      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(pattern), &_Py_ID(flags), &_Py_ID(code), &_Py_ID(groups), &_Py_ID(groupindex), &_Py_ID(indexgroup), },
  ------------------
  |  |  921|      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(pattern), &_Py_ID(flags), &_Py_ID(code), &_Py_ID(groups), &_Py_ID(groupindex), &_Py_ID(indexgroup), },
  ------------------
  |  |  921|      9|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      9|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      9|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1087|      9|    };
 1088|      9|    #undef NUM_KEYWORDS
 1089|      9|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1090|       |
 1091|       |    #else  // !Py_BUILD_CORE
 1092|       |    #  define KWTUPLE NULL
 1093|       |    #endif  // !Py_BUILD_CORE
 1094|       |
 1095|      9|    static const char * const _keywords[] = {"pattern", "flags", "code", "groups", "groupindex", "indexgroup", NULL};
 1096|      9|    static _PyArg_Parser _parser = {
 1097|      9|        .keywords = _keywords,
 1098|      9|        .fname = "compile",
 1099|      9|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1089|      9|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1100|      9|    };
 1101|      9|    #undef KWTUPLE
 1102|      9|    PyObject *argsbuf[6];
 1103|      9|    PyObject *pattern;
 1104|      9|    int flags;
 1105|      9|    PyObject *code;
 1106|      9|    Py_ssize_t groups;
 1107|      9|    PyObject *groupindex;
 1108|      9|    PyObject *indexgroup;
 1109|       |
 1110|      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)))
  ------------------
 1111|      9|            /*minpos*/ 6, /*maxpos*/ 6, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1112|      9|    if (!args) {
  ------------------
  |  Branch (1112:9): [True: 0, False: 9]
  ------------------
 1113|      0|        goto exit;
 1114|      0|    }
 1115|      9|    pattern = args[0];
 1116|      9|    flags = PyLong_AsInt(args[1]);
 1117|      9|    if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1117:9): [True: 0, False: 9]
  |  Branch (1117:24): [True: 0, False: 0]
  ------------------
 1118|      0|        goto exit;
 1119|      0|    }
 1120|      9|    if (!PyList_Check(args[2])) {
  ------------------
  |  |   25|      9|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      9|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1120:9): [True: 0, False: 9]
  ------------------
 1121|      0|        _PyArg_BadArgument("compile", "argument 'code'", "list", args[2]);
 1122|      0|        goto exit;
 1123|      0|    }
 1124|      9|    code = args[2];
 1125|      9|    {
 1126|      9|        Py_ssize_t ival = -1;
 1127|      9|        PyObject *iobj = _PyNumber_Index(args[3]);
 1128|      9|        if (iobj != NULL) {
  ------------------
  |  Branch (1128:13): [True: 9, False: 0]
  ------------------
 1129|      9|            ival = PyLong_AsSsize_t(iobj);
 1130|      9|            Py_DECREF(iobj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1131|      9|        }
 1132|      9|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1132:13): [True: 0, False: 9]
  |  Branch (1132:27): [True: 0, False: 0]
  ------------------
 1133|      0|            goto exit;
 1134|      0|        }
 1135|      9|        groups = ival;
 1136|      9|    }
 1137|      9|    if (!PyDict_Check(args[4])) {
  ------------------
  |  |   18|      9|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      9|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1137:9): [True: 0, False: 9]
  ------------------
 1138|      0|        _PyArg_BadArgument("compile", "argument 'groupindex'", "dict", args[4]);
 1139|      0|        goto exit;
 1140|      0|    }
 1141|      9|    groupindex = args[4];
 1142|      9|    if (!PyTuple_Check(args[5])) {
  ------------------
  |  |   27|      9|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      9|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1142:9): [True: 0, False: 9]
  ------------------
 1143|      0|        _PyArg_BadArgument("compile", "argument 'indexgroup'", "tuple", args[5]);
 1144|      0|        goto exit;
 1145|      0|    }
 1146|      9|    indexgroup = args[5];
 1147|      9|    return_value = _sre_compile_impl(module, pattern, flags, code, groups, groupindex, indexgroup);
 1148|       |
 1149|      9|exit:
 1150|      9|    return return_value;
 1151|      9|}
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_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|      4|{
  184|      4|    PyObject *return_value = NULL;
  185|      4|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  186|       |
  187|      4|    #define NUM_KEYWORDS 3
  188|      4|    static struct {
  189|      4|        PyGC_Head _this_is_not_used;
  190|      4|        PyObject_VAR_HEAD
  191|      4|        Py_hash_t ob_hash;
  192|      4|        PyObject *ob_item[NUM_KEYWORDS];
  193|      4|    } _kwtuple = {
  194|      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|    },
  ------------------
  195|      4|        .ob_hash = -1,
  196|      4|        .ob_item = { &_Py_ID(string), &_Py_ID(pos), &_Py_ID(endpos), },
  ------------------
  |  |  921|      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(string), &_Py_ID(pos), &_Py_ID(endpos), },
  ------------------
  |  |  921|      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(string), &_Py_ID(pos), &_Py_ID(endpos), },
  ------------------
  |  |  921|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|      4|    };
  198|      4|    #undef NUM_KEYWORDS
  199|      4|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  200|       |
  201|       |    #else  // !Py_BUILD_CORE
  202|       |    #  define KWTUPLE NULL
  203|       |    #endif  // !Py_BUILD_CORE
  204|       |
  205|      4|    static const char * const _keywords[] = {"string", "pos", "endpos", NULL};
  206|      4|    static _PyArg_Parser _parser = {
  207|      4|        .keywords = _keywords,
  208|      4|        .fname = "prefixmatch",
  209|      4|        .kwtuple = KWTUPLE,
  ------------------
  |  |  199|      4|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  210|      4|    };
  211|      4|    #undef KWTUPLE
  212|      4|    PyObject *argsbuf[3];
  213|      4|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (213:36): [True: 0, False: 4]
  ------------------
  214|      4|    PyObject *string;
  215|      4|    Py_ssize_t pos = 0;
  216|      4|    Py_ssize_t endpos = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|      4|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  217|       |
  218|      4|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      4|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 4, False: 0]
  |  |  ------------------
  |  |   89|      4|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 4, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 4]
  |  |  |  Branch (89:43): [True: 4, False: 0]
  |  |  |  Branch (89:67): [True: 4, False: 0]
  |  |  ------------------
  |  |   90|      4|      (args) : \
  |  |   91|      4|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  219|      4|            /*minpos*/ 1, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  220|      4|    if (!args) {
  ------------------
  |  Branch (220:9): [True: 0, False: 4]
  ------------------
  221|      0|        goto exit;
  222|      0|    }
  223|      4|    string = args[0];
  224|      4|    if (!noptargs) {
  ------------------
  |  Branch (224:9): [True: 4, False: 0]
  ------------------
  225|      4|        goto skip_optional_pos;
  226|      4|    }
  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|      4|skip_optional_pos:
  257|      4|    return_value = _sre_SRE_Pattern_prefixmatch_impl((PatternObject *)self, cls, string, pos, endpos);
  258|       |
  259|      4|exit:
  260|      4|    return return_value;
  261|      4|}

PyInit__sre:
 3693|      1|{
 3694|      1|    return PyModuleDef_Init(&sremodule);
 3695|      1|}
sre.c:_sre_compile_impl:
 1779|      9|{
 1780|       |    /* "compile" pattern descriptor to pattern object */
 1781|       |
 1782|      9|    _sremodulestate *module_state = get_sre_module_state(module);
 1783|      9|    PatternObject* self;
 1784|      9|    Py_ssize_t i, n;
 1785|       |
 1786|      9|    n = PyList_GET_SIZE(code);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1787|       |    /* coverity[ampersand_in_size] */
 1788|      9|    self = PyObject_GC_NewVar(PatternObject, module_state->Pattern_Type, n);
  ------------------
  |  |  183|      9|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1789|      9|    if (!self)
  ------------------
  |  Branch (1789:9): [True: 0, False: 9]
  ------------------
 1790|      0|        return NULL;
 1791|      9|    self->weakreflist = NULL;
 1792|      9|    self->pattern = NULL;
 1793|      9|    self->groupindex = NULL;
 1794|      9|    self->indexgroup = NULL;
 1795|       |#ifdef Py_DEBUG
 1796|       |    self->fail_after_count = -1;
 1797|       |    self->fail_after_exc = NULL;
 1798|       |#endif
 1799|       |
 1800|      9|    self->codesize = n;
 1801|       |
 1802|    784|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1802:17): [True: 775, False: 9]
  ------------------
 1803|    775|        PyObject *o = PyList_GET_ITEM(code, i);
  ------------------
  |  |   40|    775|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|    775|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    775|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1803:23): [True: 775, False: 0]
  ------------------
 1804|      0|        unsigned long value = PyLong_AsUnsignedLong(o);
 1805|    775|        if (value == (unsigned long)-1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1805:13): [True: 0, False: 775]
  |  Branch (1805:43): [True: 0, False: 0]
  ------------------
 1806|      0|            break;
 1807|      0|        }
 1808|    775|        self->code[i] = (SRE_CODE) value;
 1809|    775|        if ((unsigned long) self->code[i] != value) {
  ------------------
  |  Branch (1809:13): [True: 0, False: 775]
  ------------------
 1810|      0|            PyErr_SetString(PyExc_OverflowError,
 1811|      0|                            "regular expression code size limit exceeded");
 1812|      0|            break;
 1813|      0|        }
 1814|    775|    }
 1815|      9|    PyObject_GC_Track(self);
 1816|       |
 1817|      9|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1817:9): [True: 0, False: 9]
  ------------------
 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|      9|    if (pattern == Py_None) {
  ------------------
  |  |  616|      9|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1822:9): [True: 0, False: 9]
  ------------------
 1823|      0|        self->isbytes = -1;
 1824|      0|    }
 1825|      9|    else {
 1826|      9|        Py_ssize_t p_length;
 1827|      9|        int charsize;
 1828|      9|        Py_buffer view;
 1829|      9|        view.buf = NULL;
 1830|      9|        if (!getstring(pattern, &p_length, &self->isbytes,
  ------------------
  |  Branch (1830:13): [True: 0, False: 9]
  ------------------
 1831|      9|                       &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|      9|        if (view.buf)
  ------------------
  |  Branch (1835:13): [True: 2, False: 7]
  ------------------
 1836|      2|            PyBuffer_Release(&view);
 1837|      9|    }
 1838|       |
 1839|      9|    self->pattern = Py_NewRef(pattern);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1840|       |
 1841|      9|    self->flags = flags;
 1842|       |
 1843|      9|    self->groups = groups;
 1844|       |
 1845|      9|    if (PyDict_GET_SIZE(groupindex) > 0) {
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1845:9): [True: 2, False: 7]
  ------------------
 1846|      2|        self->groupindex = Py_NewRef(groupindex);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1847|      2|        if (PyTuple_GET_SIZE(indexgroup) > 0) {
  ------------------
  |  |   27|      2|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1847:13): [True: 2, False: 0]
  ------------------
 1848|      2|            self->indexgroup = Py_NewRef(indexgroup);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1849|      2|        }
 1850|      2|    }
 1851|       |
 1852|      9|    if (!_validate(self)) {
  ------------------
  |  Branch (1852:9): [True: 0, False: 9]
  ------------------
 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|      9|    return (PyObject*) self;
 1858|      9|}
sre.c:get_sre_module_state:
  532|     32|{
  533|     32|    _sremodulestate *state = (_sremodulestate *)_PyModule_GetState(m);
  534|     32|    assert(state);
  ------------------
  |  Branch (534:5): [True: 32, False: 0]
  ------------------
  535|     32|    return state;
  536|     32|}
sre.c:getstring:
  650|     15|{
  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|     15|    if (PyUnicode_Check(string)) {
  ------------------
  |  |  103|     15|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     15|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 13, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  658|     13|        *p_length = PyUnicode_GET_LENGTH(string);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  659|     13|        *p_charsize = PyUnicode_KIND(string);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  660|      0|        *p_isbytes = 0;
  661|     13|        return PyUnicode_DATA(string);
  ------------------
  |  |  284|     13|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  662|     13|    }
  663|       |
  664|       |    /* get pointer to byte string buffer */
  665|      2|    if (PyObject_GetBuffer(string, view, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      2|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (665:9): [True: 0, False: 2]
  ------------------
  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|    *p_length = view->len;
  672|      2|    *p_charsize = 1;
  673|      2|    *p_isbytes = 1;
  674|       |
  675|      2|    if (view->buf == NULL) {
  ------------------
  |  Branch (675:9): [True: 0, False: 2]
  ------------------
  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|    return view->buf;
  682|      2|}
sre.c:_validate:
 2469|      9|{
 2470|      9|    if (_validate_outer(self->code, self->code+self->codesize, self->groups))
  ------------------
  |  Branch (2470:9): [True: 0, False: 9]
  ------------------
 2471|      0|    {
 2472|      0|        PyErr_SetString(PyExc_RuntimeError, "invalid SRE code");
 2473|      0|        return 0;
 2474|      0|    }
 2475|      9|    else
 2476|      9|        VTRACE(("Success!\n"));
  ------------------
  |  | 1956|      9|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1956:31): [Folded, False: 9]
  |  |  ------------------
  ------------------
 2477|      9|    return 1;
 2478|      9|}
sre.c:_validate_outer:
 2460|      9|{
 2461|      9|    if (groups < 0 || (size_t)groups > SRE_MAXGROUPS ||
  ------------------
  |  |   21|     18|# define SRE_MAXGROUPS ((SRE_CODE)INT32_MAX / 2)
  ------------------
  |  Branch (2461:9): [True: 0, False: 9]
  |  Branch (2461:23): [True: 0, False: 9]
  ------------------
 2462|      9|        code >= end || end[-1] != SRE_OP_SUCCESS)
  ------------------
  |  |   16|      9|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2462:9): [True: 0, False: 9]
  |  Branch (2462:24): [True: 0, False: 9]
  ------------------
 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|      9|    return _validate_inner(code, end-1, groups);
 2465|      9|}
sre.c:_validate_inner:
 2137|     49|{
 2138|       |    /* Some variables are manipulated by the macros above */
 2139|     49|    SRE_CODE op;
  ------------------
  |  |   18|     49|#define SRE_CODE Py_UCS4
  ------------------
 2140|     49|    SRE_CODE arg;
  ------------------
  |  |   18|     49|#define SRE_CODE Py_UCS4
  ------------------
 2141|     49|    SRE_CODE skip;
  ------------------
  |  |   18|     49|#define SRE_CODE Py_UCS4
  ------------------
 2142|       |
 2143|     49|    VTRACE(("code=%p, end=%p\n", code, end));
  ------------------
  |  | 1956|     49|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1956:31): [Folded, False: 49]
  |  |  ------------------
  ------------------
 2144|       |
 2145|     49|    if (code > end)
  ------------------
  |  Branch (2145:9): [True: 0, False: 49]
  ------------------
 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|    200|    while (code < end) {
  ------------------
  |  Branch (2148:12): [True: 151, False: 49]
  ------------------
 2149|    151|        GET_OP;
  ------------------
  |  | 1964|    151|    do {                                                \
  |  | 1965|    151|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|    151|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 151]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1966|    151|        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: 151]
  |  |  ------------------
  |  | 1967|    151|        op = *code++;                                   \
  |  | 1968|    151|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1956|    151|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 151]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1969|    151|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1969:14): [Folded, False: 151]
  |  |  ------------------
  ------------------
 2150|    151|        switch (op) {
 2151|       |
 2152|     44|        case SRE_OP_MARK:
  ------------------
  |  |   32|     44|#define SRE_OP_MARK 17
  ------------------
  |  Branch (2152:9): [True: 44, False: 107]
  ------------------
 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|     44|            GET_ARG;
  ------------------
  |  | 1971|     44|    do {                                                \
  |  | 1972|     44|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|     44|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|     44|        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: 44]
  |  |  ------------------
  |  | 1974|     44|        arg = *code++;                                  \
  |  | 1975|     44|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|     44|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 2157|     44|            if (arg >= 2 * (size_t)groups) {
  ------------------
  |  Branch (2157:17): [True: 0, False: 44]
  ------------------
 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|     44|            break;
 2162|       |
 2163|     44|        case SRE_OP_LITERAL:
  ------------------
  |  |   31|     16|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (2163:9): [True: 16, False: 135]
  ------------------
 2164|     16|        case SRE_OP_NOT_LITERAL:
  ------------------
  |  |   35|     16|#define SRE_OP_NOT_LITERAL 20
  ------------------
  |  Branch (2164:9): [True: 0, False: 151]
  ------------------
 2165|     16|        case SRE_OP_LITERAL_IGNORE:
  ------------------
  |  |   47|     16|#define SRE_OP_LITERAL_IGNORE 32
  ------------------
  |  Branch (2165:9): [True: 0, False: 151]
  ------------------
 2166|     16|        case SRE_OP_NOT_LITERAL_IGNORE:
  ------------------
  |  |   48|     16|#define SRE_OP_NOT_LITERAL_IGNORE 33
  ------------------
  |  Branch (2166:9): [True: 0, False: 151]
  ------------------
 2167|     25|        case SRE_OP_LITERAL_UNI_IGNORE:
  ------------------
  |  |   55|     25|#define SRE_OP_LITERAL_UNI_IGNORE 40
  ------------------
  |  Branch (2167:9): [True: 9, False: 142]
  ------------------
 2168|     25|        case SRE_OP_NOT_LITERAL_UNI_IGNORE:
  ------------------
  |  |   56|     25|#define SRE_OP_NOT_LITERAL_UNI_IGNORE 41
  ------------------
  |  Branch (2168:9): [True: 0, False: 151]
  ------------------
 2169|     25|        case SRE_OP_LITERAL_LOC_IGNORE:
  ------------------
  |  |   51|     25|#define SRE_OP_LITERAL_LOC_IGNORE 36
  ------------------
  |  Branch (2169:9): [True: 0, False: 151]
  ------------------
 2170|     25|        case SRE_OP_NOT_LITERAL_LOC_IGNORE:
  ------------------
  |  |   52|     25|#define SRE_OP_NOT_LITERAL_LOC_IGNORE 37
  ------------------
  |  Branch (2170:9): [True: 0, False: 151]
  ------------------
 2171|     25|            GET_ARG;
  ------------------
  |  | 1971|     25|    do {                                                \
  |  | 1972|     25|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|     25|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 25]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|     25|        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: 25]
  |  |  ------------------
  |  | 1974|     25|        arg = *code++;                                  \
  |  | 1975|     25|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|     25|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 25]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|     25|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 25]
  |  |  ------------------
  ------------------
 2172|       |            /* The arg is just a character, nothing to check */
 2173|     25|            break;
 2174|       |
 2175|     25|        case SRE_OP_SUCCESS:
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2175:9): [True: 0, False: 151]
  ------------------
 2176|      0|        case SRE_OP_FAILURE:
  ------------------
  |  |   15|      0|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (2176:9): [True: 0, False: 151]
  ------------------
 2177|       |            /* Nothing to check; these normally end the matching process */
 2178|      0|            break;
 2179|       |
 2180|      8|        case SRE_OP_AT:
  ------------------
  |  |   21|      8|#define SRE_OP_AT 6
  ------------------
  |  Branch (2180:9): [True: 8, False: 143]
  ------------------
 2181|      8|            GET_ARG;
  ------------------
  |  | 1971|      8|    do {                                                \
  |  | 1972|      8|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|      8|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      8|        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: 8]
  |  |  ------------------
  |  | 1974|      8|        arg = *code++;                                  \
  |  | 1975|      8|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|      8|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 2182|      8|            switch (arg) {
 2183|      2|            case SRE_AT_BEGINNING:
  ------------------
  |  |   58|      2|#define SRE_AT_BEGINNING 0
  ------------------
  |  Branch (2183:13): [True: 2, False: 6]
  ------------------
 2184|      3|            case SRE_AT_BEGINNING_STRING:
  ------------------
  |  |   60|      3|#define SRE_AT_BEGINNING_STRING 2
  ------------------
  |  Branch (2184:13): [True: 1, False: 7]
  ------------------
 2185|      3|            case SRE_AT_BEGINNING_LINE:
  ------------------
  |  |   59|      3|#define SRE_AT_BEGINNING_LINE 1
  ------------------
  |  Branch (2185:13): [True: 0, False: 8]
  ------------------
 2186|      6|            case SRE_AT_END:
  ------------------
  |  |   63|      6|#define SRE_AT_END 5
  ------------------
  |  Branch (2186:13): [True: 3, False: 5]
  ------------------
 2187|      6|            case SRE_AT_END_LINE:
  ------------------
  |  |   64|      6|#define SRE_AT_END_LINE 6
  ------------------
  |  Branch (2187:13): [True: 0, False: 8]
  ------------------
 2188|      8|            case SRE_AT_END_STRING:
  ------------------
  |  |   65|      8|#define SRE_AT_END_STRING 7
  ------------------
  |  Branch (2188:13): [True: 2, False: 6]
  ------------------
 2189|      8|            case SRE_AT_BOUNDARY:
  ------------------
  |  |   61|      8|#define SRE_AT_BOUNDARY 3
  ------------------
  |  Branch (2189:13): [True: 0, False: 8]
  ------------------
 2190|      8|            case SRE_AT_NON_BOUNDARY:
  ------------------
  |  |   62|      8|#define SRE_AT_NON_BOUNDARY 4
  ------------------
  |  Branch (2190:13): [True: 0, False: 8]
  ------------------
 2191|      8|            case SRE_AT_LOC_BOUNDARY:
  ------------------
  |  |   66|      8|#define SRE_AT_LOC_BOUNDARY 8
  ------------------
  |  Branch (2191:13): [True: 0, False: 8]
  ------------------
 2192|      8|            case SRE_AT_LOC_NON_BOUNDARY:
  ------------------
  |  |   67|      8|#define SRE_AT_LOC_NON_BOUNDARY 9
  ------------------
  |  Branch (2192:13): [True: 0, False: 8]
  ------------------
 2193|      8|            case SRE_AT_UNI_BOUNDARY:
  ------------------
  |  |   68|      8|#define SRE_AT_UNI_BOUNDARY 10
  ------------------
  |  Branch (2193:13): [True: 0, False: 8]
  ------------------
 2194|      8|            case SRE_AT_UNI_NON_BOUNDARY:
  ------------------
  |  |   69|      8|#define SRE_AT_UNI_NON_BOUNDARY 11
  ------------------
  |  Branch (2194:13): [True: 0, False: 8]
  ------------------
 2195|      8|                break;
 2196|      0|            default:
  ------------------
  |  Branch (2196:13): [True: 0, False: 8]
  ------------------
 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|      8|            }
 2199|      8|            break;
 2200|       |
 2201|      8|        case SRE_OP_CATEGORY:
  ------------------
  |  |   23|      8|#define SRE_OP_CATEGORY 8
  ------------------
  |  Branch (2201:9): [True: 8, False: 143]
  ------------------
 2202|      8|            GET_ARG;
  ------------------
  |  | 1971|      8|    do {                                                \
  |  | 1972|      8|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|      8|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      8|        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: 8]
  |  |  ------------------
  |  | 1974|      8|        arg = *code++;                                  \
  |  | 1975|      8|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|      8|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 2203|      8|            if (!_validate_category(arg)) {
  ------------------
  |  Branch (2203:17): [True: 0, False: 8]
  ------------------
 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|      8|            break;
 2207|       |
 2208|      8|        case SRE_OP_ANY:
  ------------------
  |  |   17|      1|#define SRE_OP_ANY 2
  ------------------
  |  Branch (2208:9): [True: 1, False: 150]
  ------------------
 2209|      2|        case SRE_OP_ANY_ALL:
  ------------------
  |  |   18|      2|#define SRE_OP_ANY_ALL 3
  ------------------
  |  Branch (2209:9): [True: 1, False: 150]
  ------------------
 2210|       |            /* These have no operands */
 2211|      2|            break;
 2212|       |
 2213|     15|        case SRE_OP_IN:
  ------------------
  |  |   28|     15|#define SRE_OP_IN 13
  ------------------
  |  Branch (2213:9): [True: 15, False: 136]
  ------------------
 2214|     15|        case SRE_OP_IN_IGNORE:
  ------------------
  |  |   46|     15|#define SRE_OP_IN_IGNORE 31
  ------------------
  |  Branch (2214:9): [True: 0, False: 151]
  ------------------
 2215|     19|        case SRE_OP_IN_UNI_IGNORE:
  ------------------
  |  |   54|     19|#define SRE_OP_IN_UNI_IGNORE 39
  ------------------
  |  Branch (2215:9): [True: 4, False: 147]
  ------------------
 2216|     19|        case SRE_OP_IN_LOC_IGNORE:
  ------------------
  |  |   50|     19|#define SRE_OP_IN_LOC_IGNORE 35
  ------------------
  |  Branch (2216:9): [True: 0, False: 151]
  ------------------
 2217|     19|            GET_SKIP;
  ------------------
  |  | 1988|     19|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1978|     19|    do {                                                \
  |  |  |  | 1979|     19|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|     19|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 19]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|     19|        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: 19]
  |  |  |  |  ------------------
  |  |  |  | 1981|     19|        skip = *code;                                   \
  |  |  |  | 1982|     19|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|     19|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 19]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|     19|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1984|     19|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:13): [True: 0, False: 19]
  |  |  |  |  ------------------
  |  |  |  | 1985|     19|            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|     19|        code++;                                         \
  |  |  |  | 1987|     19|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1987:14): [Folded, False: 19]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2218|       |            /* Stop 1 before the end; we check the FAILURE below */
 2219|     19|            if (_validate_charset(code, code+skip-2))
  ------------------
  |  Branch (2219:17): [True: 0, False: 19]
  ------------------
 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|     19|            if (code[skip-2] != SRE_OP_FAILURE)
  ------------------
  |  |   15|     19|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (2221:17): [True: 0, False: 19]
  ------------------
 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|     19|            code += skip-1;
 2224|     19|            break;
 2225|       |
 2226|      9|        case SRE_OP_INFO:
  ------------------
  |  |   29|      9|#define SRE_OP_INFO 14
  ------------------
  |  Branch (2226:9): [True: 9, False: 142]
  ------------------
 2227|      9|            {
 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|      9|                SRE_CODE flags, i;
  ------------------
  |  |   18|      9|#define SRE_CODE Py_UCS4
  ------------------
 2233|      9|                SRE_CODE *newcode;
  ------------------
  |  |   18|      9|#define SRE_CODE Py_UCS4
  ------------------
 2234|      9|                GET_SKIP;
  ------------------
  |  | 1988|      9|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1978|      9|    do {                                                \
  |  |  |  | 1979|      9|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      9|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 9]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|      9|        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: 9]
  |  |  |  |  ------------------
  |  |  |  | 1981|      9|        skip = *code;                                   \
  |  |  |  | 1982|      9|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      9|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 9]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|      9|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1984|      9|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:13): [True: 0, False: 9]
  |  |  |  |  ------------------
  |  |  |  | 1985|      9|            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|      9|        code++;                                         \
  |  |  |  | 1987|      9|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1987:14): [Folded, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2235|      9|                newcode = code+skip-1;
 2236|      9|                GET_ARG; flags = arg;
  ------------------
  |  | 1971|      9|    do {                                                \
  |  | 1972|      9|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|      9|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      9|        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: 9]
  |  |  ------------------
  |  | 1974|      9|        arg = *code++;                                  \
  |  | 1975|      9|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|      9|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
 2237|      9|                GET_ARG;
  ------------------
  |  | 1971|      9|    do {                                                \
  |  | 1972|      9|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|      9|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      9|        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: 9]
  |  |  ------------------
  |  | 1974|      9|        arg = *code++;                                  \
  |  | 1975|      9|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|      9|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
 2238|      9|                GET_ARG;
  ------------------
  |  | 1971|      9|    do {                                                \
  |  | 1972|      9|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|      9|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      9|        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: 9]
  |  |  ------------------
  |  | 1974|      9|        arg = *code++;                                  \
  |  | 1975|      9|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|      9|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
 2239|       |                /* Check that only valid flags are present */
 2240|      9|                if ((flags & ~(SRE_INFO_PREFIX |
  ------------------
  |  |  146|      9|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2240:21): [True: 0, False: 9]
  ------------------
 2241|      9|                               SRE_INFO_LITERAL |
  ------------------
  |  |  147|      9|#define SRE_INFO_LITERAL 2
  ------------------
 2242|      9|                               SRE_INFO_CHARSET)) != 0)
  ------------------
  |  |  148|      9|#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|      9|                if ((flags & SRE_INFO_PREFIX) &&
  ------------------
  |  |  146|      9|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2245:21): [True: 1, False: 8]
  ------------------
 2246|      1|                    (flags & SRE_INFO_CHARSET))
  ------------------
  |  |  148|      1|#define SRE_INFO_CHARSET 4
  ------------------
  |  Branch (2246:21): [True: 0, False: 1]
  ------------------
 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|      9|                if ((flags & SRE_INFO_LITERAL) &&
  ------------------
  |  |  147|      9|#define SRE_INFO_LITERAL 2
  ------------------
  |  Branch (2249:21): [True: 0, False: 9]
  ------------------
 2250|      0|                    !(flags & SRE_INFO_PREFIX))
  ------------------
  |  |  146|      0|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2250:21): [True: 0, False: 0]
  ------------------
 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|      9|                if (flags & SRE_INFO_PREFIX) {
  ------------------
  |  |  146|      9|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2253:21): [True: 1, False: 8]
  ------------------
 2254|      1|                    SRE_CODE prefix_len;
  ------------------
  |  |   18|      1|#define SRE_CODE Py_UCS4
  ------------------
 2255|      1|                    GET_ARG; prefix_len = arg;
  ------------------
  |  | 1971|      1|    do {                                                \
  |  | 1972|      1|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|      1|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      1|        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: 1]
  |  |  ------------------
  |  | 1974|      1|        arg = *code++;                                  \
  |  | 1975|      1|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|      1|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2256|      1|                    GET_ARG;
  ------------------
  |  | 1971|      1|    do {                                                \
  |  | 1972|      1|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|      1|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      1|        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: 1]
  |  |  ------------------
  |  | 1974|      1|        arg = *code++;                                  \
  |  | 1975|      1|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|      1|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2257|       |                    /* Here comes the prefix string */
 2258|      1|                    if (prefix_len > (uintptr_t)(newcode - code))
  ------------------
  |  Branch (2258:25): [True: 0, False: 1]
  ------------------
 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|      1|                    code += prefix_len;
 2261|       |                    /* And here comes the overlap table */
 2262|      1|                    if (prefix_len > (uintptr_t)(newcode - code))
  ------------------
  |  Branch (2262:25): [True: 0, False: 1]
  ------------------
 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|      2|                    for (i = 0; i < prefix_len; i++) {
  ------------------
  |  Branch (2265:33): [True: 1, False: 1]
  ------------------
 2266|      1|                        if (code[i] >= prefix_len)
  ------------------
  |  Branch (2266:29): [True: 0, False: 1]
  ------------------
 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|      1|                    }
 2269|      1|                    code += prefix_len;
 2270|      1|                }
 2271|       |                /* Validate the charset */
 2272|      9|                if (flags & SRE_INFO_CHARSET) {
  ------------------
  |  |  148|      9|#define SRE_INFO_CHARSET 4
  ------------------
  |  Branch (2272:21): [True: 1, False: 8]
  ------------------
 2273|      1|                    if (_validate_charset(code, newcode-1))
  ------------------
  |  Branch (2273:25): [True: 0, False: 1]
  ------------------
 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|      1|                    if (newcode[-1] != SRE_OP_FAILURE)
  ------------------
  |  |   15|      1|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (2275:25): [True: 0, False: 1]
  ------------------
 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|      1|                    code = newcode;
 2278|      1|                }
 2279|      8|                else if (code != newcode) {
  ------------------
  |  Branch (2279:26): [True: 0, False: 8]
  ------------------
 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|      9|            }
 2284|      9|            break;
 2285|       |
 2286|      9|        case SRE_OP_BRANCH:
  ------------------
  |  |   22|      3|#define SRE_OP_BRANCH 7
  ------------------
  |  Branch (2286:9): [True: 3, False: 148]
  ------------------
 2287|      3|            {
 2288|      3|                SRE_CODE *target = NULL;
  ------------------
  |  |   18|      3|#define SRE_CODE Py_UCS4
  ------------------
 2289|     10|                for (;;) {
 2290|     10|                    GET_SKIP;
  ------------------
  |  | 1988|     10|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1978|     10|    do {                                                \
  |  |  |  | 1979|     10|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|     10|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 10]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|     10|        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: 10]
  |  |  |  |  ------------------
  |  |  |  | 1981|     10|        skip = *code;                                   \
  |  |  |  | 1982|     10|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|     10|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 10]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|     10|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1984|     10|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:13): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  | 1985|     10|            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|     10|        code++;                                         \
  |  |  |  | 1987|     10|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1987:14): [Folded, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2291|     10|                    if (skip == 0)
  ------------------
  |  Branch (2291:25): [True: 3, False: 7]
  ------------------
 2292|      3|                        break;
 2293|       |                    /* Stop 2 before the end; we check the JUMP below */
 2294|      7|                    if (_validate_inner(code, code+skip-3, groups))
  ------------------
  |  Branch (2294:25): [True: 0, False: 7]
  ------------------
 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|      7|                    code += skip-3;
 2297|       |                    /* Check that it ends with a JUMP, and that each JUMP
 2298|       |                       has the same target */
 2299|      7|                    GET_OP;
  ------------------
  |  | 1964|      7|    do {                                                \
  |  | 1965|      7|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|      7|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1966|      7|        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: 7]
  |  |  ------------------
  |  | 1967|      7|        op = *code++;                                   \
  |  | 1968|      7|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1956|      7|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1969|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1969:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
 2300|      7|                    if (op != SRE_OP_JUMP)
  ------------------
  |  |   30|      7|#define SRE_OP_JUMP 15
  ------------------
  |  Branch (2300:25): [True: 0, False: 7]
  ------------------
 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|      7|                    GET_SKIP;
  ------------------
  |  | 1988|      7|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1978|      7|    do {                                                \
  |  |  |  | 1979|      7|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      7|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 7]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|      7|        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: 7]
  |  |  |  |  ------------------
  |  |  |  | 1981|      7|        skip = *code;                                   \
  |  |  |  | 1982|      7|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      7|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 7]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|      7|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1984|      7|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:13): [True: 0, False: 7]
  |  |  |  |  ------------------
  |  |  |  | 1985|      7|            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|      7|        code++;                                         \
  |  |  |  | 1987|      7|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1987:14): [Folded, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2303|      7|                    if (target == NULL)
  ------------------
  |  Branch (2303:25): [True: 3, False: 4]
  ------------------
 2304|      3|                        target = code+skip-1;
 2305|      4|                    else if (code+skip-1 != target)
  ------------------
  |  Branch (2305:30): [True: 0, False: 4]
  ------------------
 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|      7|                }
 2308|      3|                if (code != target)
  ------------------
  |  Branch (2308:21): [True: 0, False: 3]
  ------------------
 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|      3|            }
 2311|      3|            break;
 2312|       |
 2313|     13|        case SRE_OP_REPEAT_ONE:
  ------------------
  |  |   39|     13|#define SRE_OP_REPEAT_ONE 24
  ------------------
  |  Branch (2313:9): [True: 13, False: 138]
  ------------------
 2314|     14|        case SRE_OP_MIN_REPEAT_ONE:
  ------------------
  |  |   41|     14|#define SRE_OP_MIN_REPEAT_ONE 26
  ------------------
  |  Branch (2314:9): [True: 1, False: 150]
  ------------------
 2315|     14|        case SRE_OP_POSSESSIVE_REPEAT_ONE:
  ------------------
  |  |   44|     14|#define SRE_OP_POSSESSIVE_REPEAT_ONE 29
  ------------------
  |  Branch (2315:9): [True: 0, False: 151]
  ------------------
 2316|     14|            {
 2317|     14|                SRE_CODE min, max;
  ------------------
  |  |   18|     14|#define SRE_CODE Py_UCS4
  ------------------
 2318|     14|                GET_SKIP;
  ------------------
  |  | 1988|     14|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1978|     14|    do {                                                \
  |  |  |  | 1979|     14|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|     14|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|     14|        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: 14]
  |  |  |  |  ------------------
  |  |  |  | 1981|     14|        skip = *code;                                   \
  |  |  |  | 1982|     14|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|     14|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|     14|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1984|     14|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:13): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  | 1985|     14|            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|     14|        code++;                                         \
  |  |  |  | 1987|     14|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1987:14): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2319|     14|                GET_ARG; min = arg;
  ------------------
  |  | 1971|     14|    do {                                                \
  |  | 1972|     14|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|     14|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|     14|        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: 14]
  |  |  ------------------
  |  | 1974|     14|        arg = *code++;                                  \
  |  | 1975|     14|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|     14|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 2320|     14|                GET_ARG; max = arg;
  ------------------
  |  | 1971|     14|    do {                                                \
  |  | 1972|     14|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|     14|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|     14|        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: 14]
  |  |  ------------------
  |  | 1974|     14|        arg = *code++;                                  \
  |  | 1975|     14|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|     14|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 2321|     14|                if (min > max)
  ------------------
  |  Branch (2321:21): [True: 0, False: 14]
  ------------------
 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|     14|                if (max > SRE_MAXREPEAT)
  ------------------
  |  |   20|     14|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (2323:21): [True: 0, False: 14]
  ------------------
 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|     14|                if (_validate_inner(code, code+skip-4, groups))
  ------------------
  |  Branch (2325:21): [True: 0, False: 14]
  ------------------
 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|     14|                code += skip-4;
 2328|     14|                GET_OP;
  ------------------
  |  | 1964|     14|    do {                                                \
  |  | 1965|     14|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|     14|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1966|     14|        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: 14]
  |  |  ------------------
  |  | 1967|     14|        op = *code++;                                   \
  |  | 1968|     14|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1956|     14|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1969|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1969:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 2329|     14|                if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|     14|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2329:21): [True: 0, False: 14]
  ------------------
 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|     14|            }
 2332|     14|            break;
 2333|       |
 2334|     17|        case SRE_OP_REPEAT:
  ------------------
  |  |   38|     17|#define SRE_OP_REPEAT 23
  ------------------
  |  Branch (2334:9): [True: 17, False: 134]
  ------------------
 2335|     17|        case SRE_OP_POSSESSIVE_REPEAT:
  ------------------
  |  |   43|     17|#define SRE_OP_POSSESSIVE_REPEAT 28
  ------------------
  |  Branch (2335:9): [True: 0, False: 151]
  ------------------
 2336|     17|            {
 2337|     17|                SRE_CODE op1 = op, min, max;
  ------------------
  |  |   18|     17|#define SRE_CODE Py_UCS4
  ------------------
 2338|     17|                GET_SKIP;
  ------------------
  |  | 1988|     17|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1978|     17|    do {                                                \
  |  |  |  | 1979|     17|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|     17|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 17]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|     17|        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: 17]
  |  |  |  |  ------------------
  |  |  |  | 1981|     17|        skip = *code;                                   \
  |  |  |  | 1982|     17|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|     17|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 17]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|     17|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1984|     17|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:13): [True: 0, False: 17]
  |  |  |  |  ------------------
  |  |  |  | 1985|     17|            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|     17|        code++;                                         \
  |  |  |  | 1987|     17|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1987:14): [Folded, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2339|     17|                GET_ARG; min = arg;
  ------------------
  |  | 1971|     17|    do {                                                \
  |  | 1972|     17|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|     17|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|     17|        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: 17]
  |  |  ------------------
  |  | 1974|     17|        arg = *code++;                                  \
  |  | 1975|     17|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|     17|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|     17|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 17]
  |  |  ------------------
  ------------------
 2340|     17|                GET_ARG; max = arg;
  ------------------
  |  | 1971|     17|    do {                                                \
  |  | 1972|     17|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|     17|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|     17|        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: 17]
  |  |  ------------------
  |  | 1974|     17|        arg = *code++;                                  \
  |  | 1975|     17|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|     17|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|     17|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 17]
  |  |  ------------------
  ------------------
 2341|     17|                if (min > max)
  ------------------
  |  Branch (2341:21): [True: 0, False: 17]
  ------------------
 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|     17|                if (max > SRE_MAXREPEAT)
  ------------------
  |  |   20|     17|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (2343:21): [True: 0, False: 17]
  ------------------
 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|     17|                if (_validate_inner(code, code+skip-3, groups))
  ------------------
  |  Branch (2345:21): [True: 0, False: 17]
  ------------------
 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|     17|                code += skip-3;
 2348|     17|                GET_OP;
  ------------------
  |  | 1964|     17|    do {                                                \
  |  | 1965|     17|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|     17|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1966|     17|        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: 17]
  |  |  ------------------
  |  | 1967|     17|        op = *code++;                                   \
  |  | 1968|     17|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1956|     17|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1969|     17|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1969:14): [Folded, False: 17]
  |  |  ------------------
  ------------------
 2349|     17|                if (op1 == SRE_OP_POSSESSIVE_REPEAT) {
  ------------------
  |  |   43|     17|#define SRE_OP_POSSESSIVE_REPEAT 28
  ------------------
  |  Branch (2349:21): [True: 0, False: 17]
  ------------------
 2350|      0|                    if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2350:25): [True: 0, False: 0]
  ------------------
 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|      0|                }
 2353|     17|                else {
 2354|     17|                    if (op != SRE_OP_MAX_UNTIL && op != SRE_OP_MIN_UNTIL)
  ------------------
  |  |   33|     34|#define SRE_OP_MAX_UNTIL 18
  ------------------
                                  if (op != SRE_OP_MAX_UNTIL && op != SRE_OP_MIN_UNTIL)
  ------------------
  |  |   34|      0|#define SRE_OP_MIN_UNTIL 19
  ------------------
  |  Branch (2354:25): [True: 0, False: 17]
  |  Branch (2354:51): [True: 0, False: 0]
  ------------------
 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|     17|                }
 2357|     17|            }
 2358|     17|            break;
 2359|       |
 2360|     17|        case SRE_OP_ATOMIC_GROUP:
  ------------------
  |  |   42|      0|#define SRE_OP_ATOMIC_GROUP 27
  ------------------
  |  Branch (2360:9): [True: 0, False: 151]
  ------------------
 2361|      0|            {
 2362|      0|                GET_SKIP;
  ------------------
  |  | 1988|      0|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1978|      0|    do {                                                \
  |  |  |  | 1979|      0|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|      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 (1980:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1981|      0|        skip = *code;                                   \
  |  |  |  | 1982|      0|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|      0|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1984|      0|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1985|      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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1986|      0|        code++;                                         \
  |  |  |  | 1987|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1987:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2363|      0|                if (_validate_inner(code, code+skip-2, groups))
  ------------------
  |  Branch (2363:21): [True: 0, False: 0]
  ------------------
 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|      0|                code += skip-2;
 2366|      0|                GET_OP;
  ------------------
  |  | 1964|      0|    do {                                                \
  |  | 1965|      0|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1966|      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 (1966:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1967|      0|        op = *code++;                                   \
  |  | 1968|      0|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1969|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1969:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2367|      0|                if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2367:21): [True: 0, False: 0]
  ------------------
 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|      0|            }
 2370|      0|            break;
 2371|       |
 2372|      0|        case SRE_OP_GROUPREF:
  ------------------
  |  |   26|      0|#define SRE_OP_GROUPREF 11
  ------------------
  |  Branch (2372:9): [True: 0, False: 151]
  ------------------
 2373|      0|        case SRE_OP_GROUPREF_IGNORE:
  ------------------
  |  |   45|      0|#define SRE_OP_GROUPREF_IGNORE 30
  ------------------
  |  Branch (2373:9): [True: 0, False: 151]
  ------------------
 2374|      0|        case SRE_OP_GROUPREF_UNI_IGNORE:
  ------------------
  |  |   53|      0|#define SRE_OP_GROUPREF_UNI_IGNORE 38
  ------------------
  |  Branch (2374:9): [True: 0, False: 151]
  ------------------
 2375|      0|        case SRE_OP_GROUPREF_LOC_IGNORE:
  ------------------
  |  |   49|      0|#define SRE_OP_GROUPREF_LOC_IGNORE 34
  ------------------
  |  Branch (2375:9): [True: 0, False: 151]
  ------------------
 2376|      0|            GET_ARG;
  ------------------
  |  | 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]
  |  |  ------------------
  ------------------
 2377|      0|            if (arg >= (size_t)groups)
  ------------------
  |  Branch (2377:17): [True: 0, False: 0]
  ------------------
 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|      0|            break;
 2380|       |
 2381|      0|        case SRE_OP_GROUPREF_EXISTS:
  ------------------
  |  |   27|      0|#define SRE_OP_GROUPREF_EXISTS 12
  ------------------
  |  Branch (2381:9): [True: 0, False: 151]
  ------------------
 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|      0|            GET_ARG;
  ------------------
  |  | 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]
  |  |  ------------------
  ------------------
 2386|      0|            if (arg >= (size_t)groups)
  ------------------
  |  Branch (2386:17): [True: 0, False: 0]
  ------------------
 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|      0|            GET_SKIP_ADJ(1);
  ------------------
  |  | 1978|      0|    do {                                                \
  |  | 1979|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1980|      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 (1980:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1981|      0|        skip = *code;                                   \
  |  | 1982|      0|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  ------------------
  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1983|      0|               (unsigned long)skip, code+skip));        \
  |  | 1984|      0|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  ------------------
  |  |  |  Branch (1984:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1985|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1986|      0|        code++;                                         \
  |  | 1987|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1987:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2389|      0|            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|      0|            VTRACE(("then part:\n"));
  ------------------
  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2416|      0|            int rc = _validate_inner(code+1, code+skip-1, groups);
 2417|      0|            if (rc == 1) {
  ------------------
  |  Branch (2417:17): [True: 0, False: 0]
  ------------------
 2418|      0|                VTRACE(("else part:\n"));
  ------------------
  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2419|      0|                code += skip-2; /* Position after JUMP, at <skipno> */
 2420|      0|                GET_SKIP;
  ------------------
  |  | 1988|      0|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1978|      0|    do {                                                \
  |  |  |  | 1979|      0|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|      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 (1980:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1981|      0|        skip = *code;                                   \
  |  |  |  | 1982|      0|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|      0|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1984|      0|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1985|      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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1986|      0|        code++;                                         \
  |  |  |  | 1987|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1987:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2421|      0|                rc = _validate_inner(code, code+skip-1, groups);
 2422|      0|            }
 2423|      0|            if (rc)
  ------------------
  |  Branch (2423:17): [True: 0, False: 0]
  ------------------
 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|      0|            code += skip-1;
 2426|      0|            break;
 2427|       |
 2428|      2|        case SRE_OP_ASSERT:
  ------------------
  |  |   19|      2|#define SRE_OP_ASSERT 4
  ------------------
  |  Branch (2428:9): [True: 2, False: 149]
  ------------------
 2429|      2|        case SRE_OP_ASSERT_NOT:
  ------------------
  |  |   20|      2|#define SRE_OP_ASSERT_NOT 5
  ------------------
  |  Branch (2429:9): [True: 0, False: 151]
  ------------------
 2430|      2|            GET_SKIP;
  ------------------
  |  | 1988|      2|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1978|      2|    do {                                                \
  |  |  |  | 1979|      2|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1980|      2|        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]
  |  |  |  |  ------------------
  |  |  |  | 1981|      2|        skip = *code;                                   \
  |  |  |  | 1982|      2|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1956|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1956:31): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1983|      2|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1984|      2|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1984:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 1985|      2|            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|        code++;                                         \
  |  |  |  | 1987|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1987:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2431|      2|            GET_ARG; /* 0 for lookahead, width for lookbehind */
  ------------------
  |  | 1971|      2|    do {                                                \
  |  | 1972|      2|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      2|        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]
  |  |  ------------------
  |  | 1974|      2|        arg = *code++;                                  \
  |  | 1975|      2|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2432|      2|            code--; /* Back up over arg to simplify math below */
 2433|       |            /* Stop 1 before the end; we check the SUCCESS below */
 2434|      2|            if (_validate_inner(code+1, code+skip-2, groups))
  ------------------
  |  Branch (2434:17): [True: 0, False: 2]
  ------------------
 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|      2|            code += skip-2;
 2437|      2|            GET_OP;
  ------------------
  |  | 1964|      2|    do {                                                \
  |  | 1965|      2|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1966|      2|        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]
  |  |  ------------------
  |  | 1967|      2|        op = *code++;                                   \
  |  | 1968|      2|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1956|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1969|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1969:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2438|      2|            if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|      2|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2438:17): [True: 0, False: 2]
  ------------------
 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|      2|            break;
 2441|       |
 2442|      2|        case SRE_OP_JUMP:
  ------------------
  |  |   30|      0|#define SRE_OP_JUMP 15
  ------------------
  |  Branch (2442:9): [True: 0, False: 151]
  ------------------
 2443|      0|            if (code + 1 != end)
  ------------------
  |  Branch (2443:17): [True: 0, False: 0]
  ------------------
 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|      0|            VTRACE(("JUMP: %d\n", __LINE__));
  ------------------
  |  | 1956|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1956:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2446|      0|            return 1;
 2447|       |
 2448|      0|        default:
  ------------------
  |  Branch (2448:9): [True: 0, False: 151]
  ------------------
 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|    151|        }
 2452|    151|    }
 2453|       |
 2454|     49|    VTRACE(("okay\n"));
  ------------------
  |  | 1956|     49|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1956:31): [Folded, False: 49]
  |  |  ------------------
  ------------------
 2455|     49|    return 0;
 2456|     49|}
sre.c:_validate_category:
 1992|     10|{
 1993|     10|    switch (arg) {
 1994|      0|    case SRE_CATEGORY_DIGIT:
  ------------------
  |  |   70|      0|#define SRE_CATEGORY_DIGIT 0
  ------------------
  |  Branch (1994:5): [True: 0, False: 10]
  ------------------
 1995|      0|    case SRE_CATEGORY_NOT_DIGIT:
  ------------------
  |  |   71|      0|#define SRE_CATEGORY_NOT_DIGIT 1
  ------------------
  |  Branch (1995:5): [True: 0, False: 10]
  ------------------
 1996|      0|    case SRE_CATEGORY_SPACE:
  ------------------
  |  |   72|      0|#define SRE_CATEGORY_SPACE 2
  ------------------
  |  Branch (1996:5): [True: 0, False: 10]
  ------------------
 1997|      0|    case SRE_CATEGORY_NOT_SPACE:
  ------------------
  |  |   73|      0|#define SRE_CATEGORY_NOT_SPACE 3
  ------------------
  |  Branch (1997:5): [True: 0, False: 10]
  ------------------
 1998|      1|    case SRE_CATEGORY_WORD:
  ------------------
  |  |   74|      1|#define SRE_CATEGORY_WORD 4
  ------------------
  |  Branch (1998:5): [True: 1, False: 9]
  ------------------
 1999|      1|    case SRE_CATEGORY_NOT_WORD:
  ------------------
  |  |   75|      1|#define SRE_CATEGORY_NOT_WORD 5
  ------------------
  |  Branch (1999:5): [True: 0, False: 10]
  ------------------
 2000|      1|    case SRE_CATEGORY_LINEBREAK:
  ------------------
  |  |   76|      1|#define SRE_CATEGORY_LINEBREAK 6
  ------------------
  |  Branch (2000:5): [True: 0, False: 10]
  ------------------
 2001|      1|    case SRE_CATEGORY_NOT_LINEBREAK:
  ------------------
  |  |   77|      1|#define SRE_CATEGORY_NOT_LINEBREAK 7
  ------------------
  |  Branch (2001:5): [True: 0, False: 10]
  ------------------
 2002|      1|    case SRE_CATEGORY_LOC_WORD:
  ------------------
  |  |   78|      1|#define SRE_CATEGORY_LOC_WORD 8
  ------------------
  |  Branch (2002:5): [True: 0, False: 10]
  ------------------
 2003|      1|    case SRE_CATEGORY_LOC_NOT_WORD:
  ------------------
  |  |   79|      1|#define SRE_CATEGORY_LOC_NOT_WORD 9
  ------------------
  |  Branch (2003:5): [True: 0, False: 10]
  ------------------
 2004|     10|    case SRE_CATEGORY_UNI_DIGIT:
  ------------------
  |  |   80|     10|#define SRE_CATEGORY_UNI_DIGIT 10
  ------------------
  |  Branch (2004:5): [True: 9, False: 1]
  ------------------
 2005|     10|    case SRE_CATEGORY_UNI_NOT_DIGIT:
  ------------------
  |  |   81|     10|#define SRE_CATEGORY_UNI_NOT_DIGIT 11
  ------------------
  |  Branch (2005:5): [True: 0, False: 10]
  ------------------
 2006|     10|    case SRE_CATEGORY_UNI_SPACE:
  ------------------
  |  |   82|     10|#define SRE_CATEGORY_UNI_SPACE 12
  ------------------
  |  Branch (2006:5): [True: 0, False: 10]
  ------------------
 2007|     10|    case SRE_CATEGORY_UNI_NOT_SPACE:
  ------------------
  |  |   83|     10|#define SRE_CATEGORY_UNI_NOT_SPACE 13
  ------------------
  |  Branch (2007:5): [True: 0, False: 10]
  ------------------
 2008|     10|    case SRE_CATEGORY_UNI_WORD:
  ------------------
  |  |   84|     10|#define SRE_CATEGORY_UNI_WORD 14
  ------------------
  |  Branch (2008:5): [True: 0, False: 10]
  ------------------
 2009|     10|    case SRE_CATEGORY_UNI_NOT_WORD:
  ------------------
  |  |   85|     10|#define SRE_CATEGORY_UNI_NOT_WORD 15
  ------------------
  |  Branch (2009:5): [True: 0, False: 10]
  ------------------
 2010|     10|    case SRE_CATEGORY_UNI_LINEBREAK:
  ------------------
  |  |   86|     10|#define SRE_CATEGORY_UNI_LINEBREAK 16
  ------------------
  |  Branch (2010:5): [True: 0, False: 10]
  ------------------
 2011|     10|    case SRE_CATEGORY_UNI_NOT_LINEBREAK:
  ------------------
  |  |   87|     10|#define SRE_CATEGORY_UNI_NOT_LINEBREAK 17
  ------------------
  |  Branch (2011:5): [True: 0, False: 10]
  ------------------
 2012|     10|    case SRE_CATEGORY_ALPHA:
  ------------------
  |  |   88|     10|#define SRE_CATEGORY_ALPHA 18
  ------------------
  |  Branch (2012:5): [True: 0, False: 10]
  ------------------
 2013|     10|    case SRE_CATEGORY_NOT_ALPHA:
  ------------------
  |  |   89|     10|#define SRE_CATEGORY_NOT_ALPHA 19
  ------------------
  |  Branch (2013:5): [True: 0, False: 10]
  ------------------
 2014|     10|    case SRE_CATEGORY_LOWER:
  ------------------
  |  |   90|     10|#define SRE_CATEGORY_LOWER 20
  ------------------
  |  Branch (2014:5): [True: 0, False: 10]
  ------------------
 2015|     10|    case SRE_CATEGORY_NOT_LOWER:
  ------------------
  |  |   91|     10|#define SRE_CATEGORY_NOT_LOWER 21
  ------------------
  |  Branch (2015:5): [True: 0, False: 10]
  ------------------
 2016|     10|    case SRE_CATEGORY_UPPER:
  ------------------
  |  |   92|     10|#define SRE_CATEGORY_UPPER 22
  ------------------
  |  Branch (2016:5): [True: 0, False: 10]
  ------------------
 2017|     10|    case SRE_CATEGORY_NOT_UPPER:
  ------------------
  |  |   93|     10|#define SRE_CATEGORY_NOT_UPPER 23
  ------------------
  |  Branch (2017:5): [True: 0, False: 10]
  ------------------
 2018|     10|    case SRE_CATEGORY_NUMERIC:
  ------------------
  |  |   94|     10|#define SRE_CATEGORY_NUMERIC 24
  ------------------
  |  Branch (2018:5): [True: 0, False: 10]
  ------------------
 2019|     10|    case SRE_CATEGORY_NOT_NUMERIC:
  ------------------
  |  |   95|     10|#define SRE_CATEGORY_NOT_NUMERIC 25
  ------------------
  |  Branch (2019:5): [True: 0, False: 10]
  ------------------
 2020|     10|    case SRE_CATEGORY_PRINTABLE:
  ------------------
  |  |   96|     10|#define SRE_CATEGORY_PRINTABLE 26
  ------------------
  |  Branch (2020:5): [True: 0, False: 10]
  ------------------
 2021|     10|    case SRE_CATEGORY_NOT_PRINTABLE:
  ------------------
  |  |   97|     10|#define SRE_CATEGORY_NOT_PRINTABLE 27
  ------------------
  |  Branch (2021:5): [True: 0, False: 10]
  ------------------
 2022|     10|    case SRE_CATEGORY_ALNUM:
  ------------------
  |  |   98|     10|#define SRE_CATEGORY_ALNUM 28
  ------------------
  |  Branch (2022:5): [True: 0, False: 10]
  ------------------
 2023|     10|    case SRE_CATEGORY_NOT_ALNUM:
  ------------------
  |  |   99|     10|#define SRE_CATEGORY_NOT_ALNUM 29
  ------------------
  |  Branch (2023:5): [True: 0, False: 10]
  ------------------
 2024|     10|    case SRE_CATEGORY_XID_START:
  ------------------
  |  |  100|     10|#define SRE_CATEGORY_XID_START 30
  ------------------
  |  Branch (2024:5): [True: 0, False: 10]
  ------------------
 2025|     10|    case SRE_CATEGORY_NOT_XID_START:
  ------------------
  |  |  101|     10|#define SRE_CATEGORY_NOT_XID_START 31
  ------------------
  |  Branch (2025:5): [True: 0, False: 10]
  ------------------
 2026|     10|    case SRE_CATEGORY_XID_CONTINUE:
  ------------------
  |  |  102|     10|#define SRE_CATEGORY_XID_CONTINUE 32
  ------------------
  |  Branch (2026:5): [True: 0, False: 10]
  ------------------
 2027|     10|    case SRE_CATEGORY_NOT_XID_CONTINUE:
  ------------------
  |  |  103|     10|#define SRE_CATEGORY_NOT_XID_CONTINUE 33
  ------------------
  |  Branch (2027:5): [True: 0, False: 10]
  ------------------
 2028|     10|    case SRE_CATEGORY_TITLE:
  ------------------
  |  |  104|     10|#define SRE_CATEGORY_TITLE 34
  ------------------
  |  Branch (2028:5): [True: 0, False: 10]
  ------------------
 2029|     10|    case SRE_CATEGORY_NOT_TITLE:
  ------------------
  |  |  105|     10|#define SRE_CATEGORY_NOT_TITLE 35
  ------------------
  |  Branch (2029:5): [True: 0, False: 10]
  ------------------
 2030|     10|    case SRE_CATEGORY_CASED:
  ------------------
  |  |  106|     10|#define SRE_CATEGORY_CASED 36
  ------------------
  |  Branch (2030:5): [True: 0, False: 10]
  ------------------
 2031|     10|    case SRE_CATEGORY_NOT_CASED:
  ------------------
  |  |  107|     10|#define SRE_CATEGORY_NOT_CASED 37
  ------------------
  |  Branch (2031:5): [True: 0, False: 10]
  ------------------
 2032|     10|    case SRE_CATEGORY_CASE_IGNORABLE:
  ------------------
  |  |  108|     10|#define SRE_CATEGORY_CASE_IGNORABLE 38
  ------------------
  |  Branch (2032:5): [True: 0, False: 10]
  ------------------
 2033|     10|    case SRE_CATEGORY_NOT_CASE_IGNORABLE:
  ------------------
  |  |  109|     10|#define SRE_CATEGORY_NOT_CASE_IGNORABLE 39
  ------------------
  |  Branch (2033:5): [True: 0, False: 10]
  ------------------
 2034|     10|    case SRE_CATEGORY_LU:
  ------------------
  |  |  110|     10|#define SRE_CATEGORY_LU 40
  ------------------
  |  Branch (2034:5): [True: 0, False: 10]
  ------------------
 2035|     10|    case SRE_CATEGORY_NOT_LU:
  ------------------
  |  |  111|     10|#define SRE_CATEGORY_NOT_LU 41
  ------------------
  |  Branch (2035:5): [True: 0, False: 10]
  ------------------
 2036|     10|    case SRE_CATEGORY_N:
  ------------------
  |  |  112|     10|#define SRE_CATEGORY_N 42
  ------------------
  |  Branch (2036:5): [True: 0, False: 10]
  ------------------
 2037|     10|    case SRE_CATEGORY_NOT_N:
  ------------------
  |  |  113|     10|#define SRE_CATEGORY_NOT_N 43
  ------------------
  |  Branch (2037:5): [True: 0, False: 10]
  ------------------
 2038|     10|    case SRE_CATEGORY_LM:
  ------------------
  |  |  114|     10|#define SRE_CATEGORY_LM 44
  ------------------
  |  Branch (2038:5): [True: 0, False: 10]
  ------------------
 2039|     10|    case SRE_CATEGORY_NOT_LM:
  ------------------
  |  |  115|     10|#define SRE_CATEGORY_NOT_LM 45
  ------------------
  |  Branch (2039:5): [True: 0, False: 10]
  ------------------
 2040|     10|    case SRE_CATEGORY_NL:
  ------------------
  |  |  116|     10|#define SRE_CATEGORY_NL 46
  ------------------
  |  Branch (2040:5): [True: 0, False: 10]
  ------------------
 2041|     10|    case SRE_CATEGORY_NOT_NL:
  ------------------
  |  |  117|     10|#define SRE_CATEGORY_NOT_NL 47
  ------------------
  |  Branch (2041:5): [True: 0, False: 10]
  ------------------
 2042|     10|    case SRE_CATEGORY_NO:
  ------------------
  |  |  118|     10|#define SRE_CATEGORY_NO 48
  ------------------
  |  Branch (2042:5): [True: 0, False: 10]
  ------------------
 2043|     10|    case SRE_CATEGORY_NOT_NO:
  ------------------
  |  |  119|     10|#define SRE_CATEGORY_NOT_NO 49
  ------------------
  |  Branch (2043:5): [True: 0, False: 10]
  ------------------
 2044|     10|    case SRE_CATEGORY_CF:
  ------------------
  |  |  120|     10|#define SRE_CATEGORY_CF 50
  ------------------
  |  Branch (2044:5): [True: 0, False: 10]
  ------------------
 2045|     10|    case SRE_CATEGORY_NOT_CF:
  ------------------
  |  |  121|     10|#define SRE_CATEGORY_NOT_CF 51
  ------------------
  |  Branch (2045:5): [True: 0, False: 10]
  ------------------
 2046|     10|    case SRE_CATEGORY_Z:
  ------------------
  |  |  122|     10|#define SRE_CATEGORY_Z 52
  ------------------
  |  Branch (2046:5): [True: 0, False: 10]
  ------------------
 2047|     10|    case SRE_CATEGORY_NOT_Z:
  ------------------
  |  |  123|     10|#define SRE_CATEGORY_NOT_Z 53
  ------------------
  |  Branch (2047:5): [True: 0, False: 10]
  ------------------
 2048|     10|    case SRE_CATEGORY_ZS:
  ------------------
  |  |  124|     10|#define SRE_CATEGORY_ZS 54
  ------------------
  |  Branch (2048:5): [True: 0, False: 10]
  ------------------
 2049|     10|    case SRE_CATEGORY_NOT_ZS:
  ------------------
  |  |  125|     10|#define SRE_CATEGORY_NOT_ZS 55
  ------------------
  |  Branch (2049:5): [True: 0, False: 10]
  ------------------
 2050|     10|    case SRE_CATEGORY_C:
  ------------------
  |  |  126|     10|#define SRE_CATEGORY_C 56
  ------------------
  |  Branch (2050:5): [True: 0, False: 10]
  ------------------
 2051|     10|    case SRE_CATEGORY_NOT_C:
  ------------------
  |  |  127|     10|#define SRE_CATEGORY_NOT_C 57
  ------------------
  |  Branch (2051:5): [True: 0, False: 10]
  ------------------
 2052|     10|    case SRE_CATEGORY_CN:
  ------------------
  |  |  128|     10|#define SRE_CATEGORY_CN 58
  ------------------
  |  Branch (2052:5): [True: 0, False: 10]
  ------------------
 2053|     10|    case SRE_CATEGORY_NOT_CN:
  ------------------
  |  |  129|     10|#define SRE_CATEGORY_NOT_CN 59
  ------------------
  |  Branch (2053:5): [True: 0, False: 10]
  ------------------
 2054|     10|    case SRE_CATEGORY_ASSIGNED:
  ------------------
  |  |  130|     10|#define SRE_CATEGORY_ASSIGNED 60
  ------------------
  |  Branch (2054:5): [True: 0, False: 10]
  ------------------
 2055|     10|    case SRE_CATEGORY_NOT_ASSIGNED:
  ------------------
  |  |  131|     10|#define SRE_CATEGORY_NOT_ASSIGNED 61
  ------------------
  |  Branch (2055:5): [True: 0, False: 10]
  ------------------
 2056|     10|    case SRE_CATEGORY_BLANK:
  ------------------
  |  |  132|     10|#define SRE_CATEGORY_BLANK 62
  ------------------
  |  Branch (2056:5): [True: 0, False: 10]
  ------------------
 2057|     10|    case SRE_CATEGORY_NOT_BLANK:
  ------------------
  |  |  133|     10|#define SRE_CATEGORY_NOT_BLANK 63
  ------------------
  |  Branch (2057:5): [True: 0, False: 10]
  ------------------
 2058|     10|    case SRE_CATEGORY_GRAPH:
  ------------------
  |  |  134|     10|#define SRE_CATEGORY_GRAPH 64
  ------------------
  |  Branch (2058:5): [True: 0, False: 10]
  ------------------
 2059|     10|    case SRE_CATEGORY_NOT_GRAPH:
  ------------------
  |  |  135|     10|#define SRE_CATEGORY_NOT_GRAPH 65
  ------------------
  |  Branch (2059:5): [True: 0, False: 10]
  ------------------
 2060|     10|    case SRE_CATEGORY_PRINT:
  ------------------
  |  |  136|     10|#define SRE_CATEGORY_PRINT 66
  ------------------
  |  Branch (2060:5): [True: 0, False: 10]
  ------------------
 2061|     10|    case SRE_CATEGORY_NOT_PRINT:
  ------------------
  |  |  137|     10|#define SRE_CATEGORY_NOT_PRINT 67
  ------------------
  |  Branch (2061:5): [True: 0, False: 10]
  ------------------
 2062|     10|        return 1;
 2063|      0|    default:
  ------------------
  |  Branch (2063:5): [True: 0, False: 10]
  ------------------
 2064|      0|        return 0;
 2065|     10|    }
 2066|     10|}
sre.c:_validate_charset:
 2070|     20|{
 2071|       |    /* Some variables are manipulated by the macros above */
 2072|     20|    SRE_CODE op;
  ------------------
  |  |   18|     20|#define SRE_CODE Py_UCS4
  ------------------
 2073|     20|    SRE_CODE arg;
  ------------------
  |  |   18|     20|#define SRE_CODE Py_UCS4
  ------------------
 2074|     20|    SRE_CODE offset;
  ------------------
  |  |   18|     20|#define SRE_CODE Py_UCS4
  ------------------
 2075|     20|    int i;
 2076|       |
 2077|     54|    while (code < end) {
  ------------------
  |  Branch (2077:12): [True: 34, False: 20]
  ------------------
 2078|     34|        GET_OP;
  ------------------
  |  | 1964|     34|    do {                                                \
  |  | 1965|     34|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|     34|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 34]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1966|     34|        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: 34]
  |  |  ------------------
  |  | 1967|     34|        op = *code++;                                   \
  |  | 1968|     34|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1956|     34|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 34]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1969|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1969:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
 2079|     34|        switch (op) {
 2080|       |
 2081|      0|        case SRE_OP_NEGATE:
  ------------------
  |  |   36|      0|#define SRE_OP_NEGATE 21
  ------------------
  |  Branch (2081:9): [True: 0, False: 34]
  ------------------
 2082|      0|            break;
 2083|       |
 2084|     23|        case SRE_OP_LITERAL:
  ------------------
  |  |   31|     23|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (2084:9): [True: 23, False: 11]
  ------------------
 2085|     23|            GET_ARG;
  ------------------
  |  | 1971|     23|    do {                                                \
  |  | 1972|     23|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|     23|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 23]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|     23|        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: 23]
  |  |  ------------------
  |  | 1974|     23|        arg = *code++;                                  \
  |  | 1975|     23|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|     23|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 23]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|     23|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 23]
  |  |  ------------------
  ------------------
 2086|     23|            break;
 2087|       |
 2088|     23|        case SRE_OP_RANGE:
  ------------------
  |  |   37|      2|#define SRE_OP_RANGE 22
  ------------------
  |  Branch (2088:9): [True: 2, False: 32]
  ------------------
 2089|      2|        case SRE_OP_RANGE_UNI_IGNORE:
  ------------------
  |  |   57|      2|#define SRE_OP_RANGE_UNI_IGNORE 42
  ------------------
  |  Branch (2089:9): [True: 0, False: 34]
  ------------------
 2090|      2|            GET_ARG;
  ------------------
  |  | 1971|      2|    do {                                                \
  |  | 1972|      2|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      2|        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]
  |  |  ------------------
  |  | 1974|      2|        arg = *code++;                                  \
  |  | 1975|      2|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2091|      2|            GET_ARG;
  ------------------
  |  | 1971|      2|    do {                                                \
  |  | 1972|      2|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      2|        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]
  |  |  ------------------
  |  | 1974|      2|        arg = *code++;                                  \
  |  | 1975|      2|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2092|      2|            break;
 2093|       |
 2094|      5|        case SRE_OP_CHARSET:
  ------------------
  |  |   24|      5|#define SRE_OP_CHARSET 9
  ------------------
  |  Branch (2094:9): [True: 5, False: 29]
  ------------------
 2095|      5|            offset = 256/SRE_CODE_BITS; /* 256-bit bitmap */
  ------------------
  |  |   56|      5|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
 2096|      5|            if (offset > (uintptr_t)(end - code))
  ------------------
  |  Branch (2096:17): [True: 0, False: 5]
  ------------------
 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|      5|            code += offset;
 2099|      5|            break;
 2100|       |
 2101|      2|        case SRE_OP_BIGCHARSET:
  ------------------
  |  |   25|      2|#define SRE_OP_BIGCHARSET 10
  ------------------
  |  Branch (2101:9): [True: 2, False: 32]
  ------------------
 2102|      2|            GET_ARG; /* Number of blocks */
  ------------------
  |  | 1971|      2|    do {                                                \
  |  | 1972|      2|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      2|        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]
  |  |  ------------------
  |  | 1974|      2|        arg = *code++;                                  \
  |  | 1975|      2|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2103|      2|            offset = 256/sizeof(SRE_CODE); /* 256-byte table */
 2104|      2|            if (offset > (uintptr_t)(end - code))
  ------------------
  |  Branch (2104:17): [True: 0, False: 2]
  ------------------
 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|    514|            for (i = 0; i < 256; i++) {
  ------------------
  |  Branch (2107:25): [True: 512, False: 2]
  ------------------
 2108|    512|                if (((unsigned char *)code)[i] >= arg)
  ------------------
  |  Branch (2108:21): [True: 0, False: 512]
  ------------------
 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|    512|            }
 2111|      2|            code += offset;
 2112|      2|            offset = arg * (256/SRE_CODE_BITS); /* 256-bit bitmap times arg */
  ------------------
  |  |   56|      2|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
 2113|      2|            if (offset > (uintptr_t)(end - code))
  ------------------
  |  Branch (2113:17): [True: 0, False: 2]
  ------------------
 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|      2|            code += offset;
 2116|      2|            break;
 2117|       |
 2118|      2|        case SRE_OP_CATEGORY:
  ------------------
  |  |   23|      2|#define SRE_OP_CATEGORY 8
  ------------------
  |  Branch (2118:9): [True: 2, False: 32]
  ------------------
 2119|      2|            GET_ARG;
  ------------------
  |  | 1971|      2|    do {                                                \
  |  | 1972|      2|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1956|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1973|      2|        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]
  |  |  ------------------
  |  | 1974|      2|        arg = *code++;                                  \
  |  | 1975|      2|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1956|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1956:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1976|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1976:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2120|      2|            if (!_validate_category(arg)) {
  ------------------
  |  Branch (2120:17): [True: 0, False: 2]
  ------------------
 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|      2|            break;
 2124|       |
 2125|      2|        default:
  ------------------
  |  Branch (2125:9): [True: 0, False: 34]
  ------------------
 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|     34|        }
 2129|     34|    }
 2130|       |
 2131|     20|    return 0;
 2132|     20|}
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_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|      2|{
  891|      2|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  892|      2|    PyObject_GC_UnTrack(self);
  893|      2|    FT_CLEAR_WEAKREFS(self, _PatternObject_CAST(self)->weakreflist);
  ------------------
  |  |   47|      2|    do {                                            \
  |  |   48|      2|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|      2|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (893:5): [True: 2, False: 0]
  ------------------
  894|      2|    (void)pattern_clear(self);
  895|      2|    tp->tp_free(self);
  896|      2|    Py_DECREF(tp);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  897|      2|}
sre.c:_sre_SRE_Pattern_prefixmatch_impl:
  938|      4|{
  939|      4|    _sremodulestate *module_state = get_sre_module_state_by_class(cls);
  ------------------
  |  |  540|      4|    (get_sre_module_state(PyType_GetModule(cls)))
  ------------------
  940|      4|    SRE_STATE state;
  941|      4|    Py_ssize_t status;
  942|      4|    PyObject *match;
  943|       |
  944|      4|    if (!state_init(&state, self, string, pos, endpos))
  ------------------
  |  Branch (944:9): [True: 0, False: 4]
  ------------------
  945|      0|        return NULL;
  946|       |
  947|      4|    INIT_TRACE(&state);
  948|      4|    state.ptr = state.start;
  949|       |
  950|      4|    TRACE(("|%p|%p|MATCH\n", PatternObject_GetCode(self), state.ptr));
  951|       |
  952|      4|    status = sre_match(&state, PatternObject_GetCode(self));
  ------------------
  |  |   47|      4|#define PatternObject_GetCode(o) (((PatternObject*)(o))->code)
  ------------------
  953|       |
  954|      4|    TRACE(("|%p|%p|END\n", PatternObject_GetCode(self), state.ptr));
  955|      4|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (955:9): [True: 0, False: 4]
  ------------------
  956|      0|        state_fini(&state);
  957|      0|        return NULL;
  958|      0|    }
  959|       |
  960|      4|    match = pattern_new_match(module_state, self, &state, status);
  961|      4|    state_fini(&state);
  962|      4|    return match;
  963|      4|}
sre.c:state_init:
  687|      4|{
  688|       |    /* prepare state object */
  689|       |
  690|      4|    Py_ssize_t length;
  691|      4|    int isbytes, charsize;
  692|      4|    const void* ptr;
  693|       |
  694|      4|    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|      4|    if (pattern->groups) {
  ------------------
  |  Branch (700:9): [True: 3, False: 1]
  ------------------
  701|      3|        state->mark = PyMem_New(const void *, pattern->groups * 2);
  ------------------
  |  |   64|      3|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|      3|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 3]
  |  |  ------------------
  |  |   65|      3|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  702|      3|        if (!state->mark) {
  ------------------
  |  Branch (702:13): [True: 0, False: 3]
  ------------------
  703|      0|            PyErr_NoMemory();
  704|      0|            goto err;
  705|      0|        }
  706|      3|    }
  707|      4|    state->lastmark = -1;
  708|      4|    state->lastindex = -1;
  709|       |
  710|      4|    state->buffer.buf = NULL;
  711|      4|    ptr = getstring(string, &length, &isbytes, &charsize, &state->buffer);
  712|      4|    if (!ptr)
  ------------------
  |  Branch (712:9): [True: 0, False: 4]
  ------------------
  713|      0|        goto err;
  714|       |
  715|      4|    if (isbytes && pattern->isbytes == 0) {
  ------------------
  |  Branch (715:9): [True: 0, False: 4]
  |  Branch (715:20): [True: 0, False: 0]
  ------------------
  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|      4|    if (!isbytes && pattern->isbytes > 0) {
  ------------------
  |  Branch (720:9): [True: 4, False: 0]
  |  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|      4|    if (start < 0)
  ------------------
  |  Branch (727:9): [True: 0, False: 4]
  ------------------
  728|      0|        start = 0;
  729|      4|    else if (start > length)
  ------------------
  |  Branch (729:14): [True: 0, False: 4]
  ------------------
  730|      0|        start = length;
  731|       |
  732|      4|    if (end < 0)
  ------------------
  |  Branch (732:9): [True: 0, False: 4]
  ------------------
  733|      0|        end = 0;
  734|      4|    else if (end > length)
  ------------------
  |  Branch (734:14): [True: 4, False: 0]
  ------------------
  735|      4|        end = length;
  736|       |
  737|      4|    state->isbytes = isbytes;
  738|      4|    state->charsize = charsize;
  739|      4|    state->match_all = 0;
  740|      4|    state->must_advance = 0;
  741|      4|    state->save_marks = 0;
  742|      4|    state->debug = ((pattern->flags & SRE_FLAG_DEBUG) != 0);
  ------------------
  |  |  144|      4|#define SRE_FLAG_DEBUG 128
  ------------------
  743|       |
  744|      4|    state->beginning = ptr;
  745|       |
  746|      4|    state->start = (void*) ((char*) ptr + start * state->charsize);
  747|      4|    state->end = (void*) ((char*) ptr + end * state->charsize);
  748|       |
  749|      4|    state->string = Py_NewRef(string);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  750|      4|    state->pos = start;
  751|      4|    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|      4|    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|      4|}
sre.c:sre_match:
  901|      4|{
  902|      4|    if (state->charsize == 1)
  ------------------
  |  Branch (902:9): [True: 4, False: 0]
  ------------------
  903|      4|        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|      4|{
  399|      4|    INIT_TRACE(state);
  400|      4|    Py_ssize_t minsize, cursize;
  401|      4|    minsize = state->data_stack_base+size;
  402|      4|    cursize = state->data_stack_size;
  403|      4|    if (cursize < minsize) {
  ------------------
  |  Branch (403:9): [True: 4, False: 0]
  ------------------
  404|      4|        void* stack;
  405|      4|        cursize = minsize+minsize/4+1024;
  406|      4|        TRACE(("allocate/grow stack %zd\n", cursize));
  407|      4|        stack = PyMem_Realloc(state->data_stack, cursize);
  408|      4|        if (!stack) {
  ------------------
  |  Branch (408:13): [True: 0, False: 4]
  ------------------
  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|      4|        state->data_stack = (char *)stack;
  413|      4|        state->data_stack_size = cursize;
  414|      4|    }
  415|      4|    return 0;
  416|      4|}
sre.c:data_stack_dealloc:
  388|      4|{
  389|      4|    if (state->data_stack) {
  ------------------
  |  Branch (389:9): [True: 4, False: 0]
  ------------------
  390|      4|        PyMem_Free(state->data_stack);
  391|       |        state->data_stack = NULL;
  392|      4|    }
  393|      4|    state->data_stack_size = state->data_stack_base = 0;
  394|      4|}
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|      4|{
  773|      4|    if (state->buffer.buf)
  ------------------
  |  Branch (773:9): [True: 0, False: 4]
  ------------------
  774|      0|        PyBuffer_Release(&state->buffer);
  775|      4|    Py_XDECREF(state->string);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  776|      4|    data_stack_dealloc(state);
  777|       |    /* See above PyMem_Free() for why we explicitly cast here. */
  778|      4|    PyMem_Free((void*) state->mark);
  779|      4|    state->mark = NULL;
  780|       |    /* SRE_REPEAT pool */
  781|      4|    repeat_pool_clear(state);
  782|      4|}
sre.c:repeat_pool_clear:
  477|      4|{
  478|       |    /* clear used pool */
  479|      4|    SRE_REPEAT *next = state->repeat_pool_used;
  480|      4|    state->repeat_pool_used = NULL;
  481|      4|    while (next) {
  ------------------
  |  Branch (481:12): [True: 0, False: 4]
  ------------------
  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|      4|    next = state->repeat_pool_unused;
  489|      4|    state->repeat_pool_unused = NULL;
  490|     10|    while (next) {
  ------------------
  |  Branch (490:12): [True: 6, False: 4]
  ------------------
  491|      6|        SRE_REPEAT *temp = next;
  492|      6|        next = temp->pool_next;
  493|      6|        PyMem_Free(temp);
  494|      6|    }
  495|      4|}
sre.c:pattern_new_match:
 2943|      4|{
 2944|       |    /* create match object (from state object) */
 2945|       |
 2946|      4|    MatchObject* match;
 2947|      4|    Py_ssize_t i, j;
 2948|      4|    char* base;
 2949|      4|    int n;
 2950|       |
 2951|      4|    if (status > 0) {
  ------------------
  |  Branch (2951:9): [True: 4, False: 0]
  ------------------
 2952|       |
 2953|       |        /* create match object (with room for extra group marks) */
 2954|       |        /* coverity[ampersand_in_size] */
 2955|      4|        match = PyObject_GC_NewVar(MatchObject,
  ------------------
  |  |  183|      4|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2956|      4|                                   module_state->Match_Type,
 2957|      4|                                   2*(pattern->groups+1));
 2958|      4|        if (!match)
  ------------------
  |  Branch (2958:13): [True: 0, False: 4]
  ------------------
 2959|      0|            return NULL;
 2960|       |
 2961|      4|        Py_INCREF(pattern);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2962|      4|        match->pattern = pattern;
 2963|       |
 2964|      4|        match->string = Py_NewRef(state->string);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2965|       |
 2966|      4|        match->regs = NULL;
 2967|      4|        match->groups = pattern->groups+1;
 2968|       |
 2969|       |        /* fill in group slices */
 2970|       |
 2971|      4|        base = (char*) state->beginning;
 2972|      4|        n = state->charsize;
 2973|       |
 2974|      4|        match->mark[0] = ((char*) state->start - base) / n;
 2975|      4|        match->mark[1] = ((char*) state->ptr - base) / n;
 2976|       |
 2977|     34|        for (i = j = 0; i < pattern->groups; i++, j+=2)
  ------------------
  |  Branch (2977:25): [True: 30, False: 4]
  ------------------
 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|      4|        match->pos = state->pos;
 2994|      4|        match->endpos = state->endpos;
 2995|       |
 2996|      4|        match->lastindex = state->lastindex;
 2997|       |
 2998|      4|        PyObject_GC_Track(match);
 2999|      4|        return (PyObject*) match;
 3000|       |
 3001|      4|    } else if (status == 0) {
  ------------------
  |  Branch (3001:16): [True: 0, False: 0]
  ------------------
 3002|       |
 3003|       |        /* no match */
 3004|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 3005|       |
 3006|      0|    }
 3007|       |
 3008|       |    /* internal error */
 3009|      0|    pattern_error(status);
 3010|       |    return NULL;
 3011|      4|}
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|    110|{
  864|    110|    PatternObject *self = _PatternObject_CAST(op);
  ------------------
  |  |  546|    110|#define _PatternObject_CAST(op)     ((PatternObject *)(op))
  ------------------
  865|    110|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|    110|    do {                                                                \
  |  |  195|    110|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 110, False: 0]
  |  |  ------------------
  |  |  196|    110|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    110|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    110|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 110]
  |  |  ------------------
  |  |  198|    110|                return vret;                                            \
  |  |  199|    110|        }                                                               \
  |  |  200|    110|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 110]
  |  |  ------------------
  ------------------
  866|    110|    Py_VISIT(self->groupindex);
  ------------------
  |  |  194|    110|    do {                                                                \
  |  |  195|    110|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 28, False: 82]
  |  |  ------------------
  |  |  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|    110|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 110]
  |  |  ------------------
  ------------------
  867|    110|    Py_VISIT(self->indexgroup);
  ------------------
  |  |  194|    110|    do {                                                                \
  |  |  195|    110|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 28, False: 82]
  |  |  ------------------
  |  |  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|    110|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 110]
  |  |  ------------------
  ------------------
  868|    110|    Py_VISIT(self->pattern);
  ------------------
  |  |  194|    110|    do {                                                                \
  |  |  195|    110|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 110, False: 0]
  |  |  ------------------
  |  |  196|    110|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    110|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    110|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 110]
  |  |  ------------------
  |  |  198|    110|                return vret;                                            \
  |  |  199|    110|        }                                                               \
  |  |  200|    110|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 110]
  |  |  ------------------
  ------------------
  869|       |#ifdef Py_DEBUG
  870|       |    Py_VISIT(self->fail_after_exc);
  871|       |#endif
  872|    110|    return 0;
  873|    110|}
sre.c:pattern_clear:
  877|      2|{
  878|      2|    PatternObject *self = _PatternObject_CAST(op);
  ------------------
  |  |  546|      2|#define _PatternObject_CAST(op)     ((PatternObject *)(op))
  ------------------
  879|      2|    Py_CLEAR(self->groupindex);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  880|      2|    Py_CLEAR(self->indexgroup);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  881|      2|    Py_CLEAR(self->pattern);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  882|       |#ifdef Py_DEBUG
  883|       |    Py_CLEAR(self->fail_after_exc);
  884|       |#endif
  885|      2|    return 0;
  886|      2|}
sre.c:match_dealloc:
 2506|      4|{
 2507|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2508|      4|    PyObject_GC_UnTrack(self);
 2509|      4|    (void)match_clear(self);
 2510|      4|    tp->tp_free(self);
 2511|      4|    Py_DECREF(tp);
  ------------------
  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2512|      4|}
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|      4|{
 2497|      4|    MatchObject *self = _MatchObject_CAST(op);
  ------------------
  |  |  547|      4|#define _MatchObject_CAST(op)       ((MatchObject *)(op))
  ------------------
 2498|      4|    Py_CLEAR(self->string);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2499|      4|    Py_CLEAR(self->regs);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2500|       |    Py_CLEAR(self->pattern);
  ------------------
  |  |  484|      4|    do { \
  |  |  485|      4|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      4|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      4|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  488|      4|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      4|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      4|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      4|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      4|        } \
  |  |  491|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 2501|      4|    return 0;
 2502|      4|}
sre.c:sre_traverse:
 3572|     18|{
 3573|     18|    _sremodulestate *state = get_sre_module_state(module);
 3574|       |
 3575|     18|    Py_VISIT(state->Pattern_Type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 3576|     18|    Py_VISIT(state->Match_Type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 3577|     18|    Py_VISIT(state->Scanner_Type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 3578|     18|    Py_VISIT(state->Template_Type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 3579|     18|    Py_VISIT(state->compile_template);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 18]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 3580|       |
 3581|     18|    return 0;
 3582|     18|}

sre.c:sre_ucs1_match:
  608|      4|{
  609|      4|    const SRE_CHAR* end = (const SRE_CHAR *)state->end;
  610|      4|    Py_ssize_t alloc_pos, ctx_pos = -1;
  611|      4|    Py_ssize_t ret = 0;
  612|      4|    int jump;
  613|      4|    unsigned int sigcount = state->sigcount;
  614|       |
  615|      4|    SRE(match_context)* ctx;
  ------------------
  |  |  501|      4|#define SRE(F) sre_ucs1_##F
  ------------------
  616|      4|    SRE(match_context)* nextctx;
  ------------------
  |  |  501|      4|#define SRE(F) sre_ucs1_##F
  ------------------
  617|      4|    INIT_TRACE(state);
  618|       |
  619|      4|    TRACE(("|%p|%p|ENTER\n", pattern, state->ptr));
  620|       |
  621|      4|    DATA_ALLOC(SRE(match_context), ctx);
  ------------------
  |  |  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: 4, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  402|      4|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  403|      4|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (403:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  404|      4|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (404:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  405|      4|            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|      4|    } \
  |  |  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  622|      4|    ctx->last_ctx_pos = -1;
  623|      4|    ctx->jump = JUMP_NONE;
  ------------------
  |  |  504|      4|#define JUMP_NONE            0
  ------------------
  624|      4|    ctx->toplevel = toplevel;
  625|      4|    ctx_pos = alloc_pos;
  626|       |
  627|      4|#if USE_COMPUTED_GOTOS
  628|      4|#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|      4|static void *sre_targets[43] = {
  |  |   15|      4|    &&TARGET_SRE_OP_FAILURE,
  |  |   16|      4|    &&TARGET_SRE_OP_SUCCESS,
  |  |   17|      4|    &&TARGET_SRE_OP_ANY,
  |  |   18|      4|    &&TARGET_SRE_OP_ANY_ALL,
  |  |   19|      4|    &&TARGET_SRE_OP_ASSERT,
  |  |   20|      4|    &&TARGET_SRE_OP_ASSERT_NOT,
  |  |   21|      4|    &&TARGET_SRE_OP_AT,
  |  |   22|      4|    &&TARGET_SRE_OP_BRANCH,
  |  |   23|      4|    &&TARGET_SRE_OP_CATEGORY,
  |  |   24|      4|    &&TARGET_SRE_OP_CHARSET,
  |  |   25|      4|    &&TARGET_SRE_OP_BIGCHARSET,
  |  |   26|      4|    &&TARGET_SRE_OP_GROUPREF,
  |  |   27|      4|    &&TARGET_SRE_OP_GROUPREF_EXISTS,
  |  |   28|      4|    &&TARGET_SRE_OP_IN,
  |  |   29|      4|    &&TARGET_SRE_OP_INFO,
  |  |   30|      4|    &&TARGET_SRE_OP_JUMP,
  |  |   31|      4|    &&TARGET_SRE_OP_LITERAL,
  |  |   32|      4|    &&TARGET_SRE_OP_MARK,
  |  |   33|      4|    &&TARGET_SRE_OP_MAX_UNTIL,
  |  |   34|      4|    &&TARGET_SRE_OP_MIN_UNTIL,
  |  |   35|      4|    &&TARGET_SRE_OP_NOT_LITERAL,
  |  |   36|      4|    &&TARGET_SRE_OP_NEGATE,
  |  |   37|      4|    &&TARGET_SRE_OP_RANGE,
  |  |   38|      4|    &&TARGET_SRE_OP_REPEAT,
  |  |   39|      4|    &&TARGET_SRE_OP_REPEAT_ONE,
  |  |   40|      4|    &&TARGET_SRE_OP_SUBPATTERN,
  |  |   41|      4|    &&TARGET_SRE_OP_MIN_REPEAT_ONE,
  |  |   42|      4|    &&TARGET_SRE_OP_ATOMIC_GROUP,
  |  |   43|      4|    &&TARGET_SRE_OP_POSSESSIVE_REPEAT,
  |  |   44|      4|    &&TARGET_SRE_OP_POSSESSIVE_REPEAT_ONE,
  |  |   45|      4|    &&TARGET_SRE_OP_GROUPREF_IGNORE,
  |  |   46|      4|    &&TARGET_SRE_OP_IN_IGNORE,
  |  |   47|      4|    &&TARGET_SRE_OP_LITERAL_IGNORE,
  |  |   48|      4|    &&TARGET_SRE_OP_NOT_LITERAL_IGNORE,
  |  |   49|      4|    &&TARGET_SRE_OP_GROUPREF_LOC_IGNORE,
  |  |   50|      4|    &&TARGET_SRE_OP_IN_LOC_IGNORE,
  |  |   51|      4|    &&TARGET_SRE_OP_LITERAL_LOC_IGNORE,
  |  |   52|      4|    &&TARGET_SRE_OP_NOT_LITERAL_LOC_IGNORE,
  |  |   53|      4|    &&TARGET_SRE_OP_GROUPREF_UNI_IGNORE,
  |  |   54|      4|    &&TARGET_SRE_OP_IN_UNI_IGNORE,
  |  |   55|      4|    &&TARGET_SRE_OP_LITERAL_UNI_IGNORE,
  |  |   56|      4|    &&TARGET_SRE_OP_NOT_LITERAL_UNI_IGNORE,
  |  |   57|      4|    &&TARGET_SRE_OP_RANGE_UNI_IGNORE,
  |  |   58|      4|};
  ------------------
  629|      4|#endif
  630|       |
  631|     36|entrance:
  632|       |
  633|     36|    ;  // Fashion statement.
  634|     36|    const SRE_CHAR *ptr = (SRE_CHAR *)state->ptr;
  635|       |
  636|     36|    if (pattern[0] == SRE_OP_INFO) {
  ------------------
  |  |   29|     36|#define SRE_OP_INFO 14
  ------------------
  |  Branch (636:9): [True: 4, False: 32]
  ------------------
  637|       |        /* optimization info block */
  638|       |        /* <INFO> <1=skip> <2=flags> <3=min> ... */
  639|      4|        if (pattern[3] && (uintptr_t)(end - ptr) < pattern[3]) {
  ------------------
  |  Branch (639:13): [True: 0, False: 4]
  |  Branch (639:27): [True: 0, False: 0]
  ------------------
  640|      0|            TRACE(("reject (got %tu chars, need %zu)\n",
  641|      0|                   end - ptr, (size_t) pattern[3]));
  642|      0|            RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  643|      0|        }
  644|      4|        pattern += pattern[1] + 1;
  645|      4|    }
  646|       |
  647|     36|#if USE_COMPUTED_GOTOS
  648|     36|    DISPATCH;
  ------------------
  |  |  595|     36|        do {                               \
  |  |  596|     36|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|     36|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|     36|    do {                                                           \
  |  |  |  |  |  |  561|     36|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 36]
  |  |  |  |  |  |  |  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|     36|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 36]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|     36|            goto *sre_targets[*pattern++]; \
  |  |  598|     36|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 36]
  |  |  ------------------
  ------------------
  649|       |#else
  650|       |dispatch:
  651|       |    MAYBE_CHECK_SIGNALS;
  652|       |    switch (*pattern++)
  653|       |#endif
  654|     36|    {
  655|       |
  656|     36|        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|     15|        TARGET(SRE_OP_LITERAL):
  ------------------
  |  |  593|      0|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  681|       |            /* match literal string */
  682|       |            /* <LITERAL> <code> */
  683|      0|            TRACE(("|%p|%p|LITERAL %d\n", pattern,
  684|      0|                   ptr, *pattern));
  685|      0|            if (ptr >= end || (SRE_CODE) ptr[0] != pattern[0])
  ------------------
  |  Branch (685:17): [True: 0, False: 0]
  |  Branch (685:31): [True: 0, False: 0]
  ------------------
  686|      0|                RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  687|      0|            pattern++;
  688|      0|            ptr++;
  689|      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]
  |  |  ------------------
  ------------------
  690|       |
  691|      0|        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|      4|        TARGET(SRE_OP_SUCCESS):
  ------------------
  |  |  593|      4|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  703|       |            /* end of pattern */
  704|      4|            TRACE(("|%p|%p|SUCCESS\n", pattern, ptr));
  705|      4|            if (ctx->toplevel &&
  ------------------
  |  Branch (705:17): [True: 4, False: 0]
  ------------------
  706|      4|                ((state->match_all && ptr != state->end) ||
  ------------------
  |  Branch (706:19): [True: 0, False: 4]
  |  Branch (706:39): [True: 0, False: 0]
  ------------------
  707|      4|                 (state->must_advance && ptr == state->start)))
  ------------------
  |  Branch (707:19): [True: 0, False: 4]
  |  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|      4|            state->ptr = ptr;
  712|      4|            RETURN_SUCCESS;
  ------------------
  |  |  387|      4|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (387:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  713|       |
  714|      3|        TARGET(SRE_OP_AT):
  ------------------
  |  |  593|      3|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  715|       |            /* match at given position */
  716|       |            /* <AT> <code> */
  717|      3|            TRACE(("|%p|%p|AT %d\n", pattern, ptr, *pattern));
  718|      3|            if (!SRE(at)(state, ptr, *pattern))
  ------------------
  |  |  501|      3|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (718:17): [True: 0, False: 3]
  ------------------
  719|      0|                RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  720|      3|            pattern++;
  721|      3|            DISPATCH;
  ------------------
  |  |  595|      3|        do {                               \
  |  |  596|      3|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      3|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      3|    do {                                                           \
  |  |  |  |  |  |  561|      3|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 3]
  |  |  |  |  |  |  |  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|      3|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      3|            goto *sre_targets[*pattern++]; \
  |  |  598|      3|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 3]
  |  |  ------------------
  ------------------
  722|       |
  723|      3|        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|      3|        TARGET(SRE_OP_IN):
  ------------------
  |  |  593|      3|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  753|       |            /* match set member (or non_member) */
  754|       |            /* <IN> <skip> <set> */
  755|      3|            TRACE(("|%p|%p|IN\n", pattern, ptr));
  756|      3|            if (ptr >= end ||
  ------------------
  |  Branch (756:17): [True: 0, False: 3]
  ------------------
  757|      3|                !SRE(charset)(state, pattern + 1, *ptr))
  ------------------
  |  |  501|      3|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (757:17): [True: 2, False: 1]
  ------------------
  758|      2|                RETURN_FAILURE;
  ------------------
  |  |  386|      2|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  759|      1|            pattern += pattern[0];
  760|      1|            ptr++;
  761|      1|            DISPATCH;
  ------------------
  |  |  595|      1|        do {                               \
  |  |  596|      1|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      1|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      1|    do {                                                           \
  |  |  |  |  |  |  561|      1|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 1]
  |  |  |  |  |  |  |  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|      1|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      1|            goto *sre_targets[*pattern++]; \
  |  |  598|      1|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 1]
  |  |  ------------------
  ------------------
  762|       |
  763|      1|        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|      3|        TARGET(SRE_OP_JUMP):
  ------------------
  |  |  593|      3|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  853|      3|        TARGET(SRE_OP_INFO):
  ------------------
  |  |  593|      3|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  854|       |            /* jump forward */
  855|       |            /* <JUMP> <offset> */
  856|      3|            TRACE(("|%p|%p|JUMP %d\n", pattern,
  857|      3|                   ptr, pattern[0]));
  858|      3|            pattern += pattern[0];
  859|      3|            DISPATCH;
  ------------------
  |  |  595|      3|        do {                               \
  |  |  596|      3|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  578|      3|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  560|      3|    do {                                                           \
  |  |  |  |  |  |  561|      3|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (561:13): [True: 0, False: 3]
  |  |  |  |  |  |  |  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|      3|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (564:14): [Folded, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  597|      3|            goto *sre_targets[*pattern++]; \
  |  |  598|      3|        } while (0)
  |  |  ------------------
  |  |  |  Branch (598:18): [Folded, False: 3]
  |  |  ------------------
  ------------------
  860|       |
  861|      6|        TARGET(SRE_OP_BRANCH):
  ------------------
  |  |  593|      6|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  862|       |            /* alternation */
  863|       |            /* <BRANCH> <0=skip> code <JUMP> ... <NULL> */
  864|      6|            TRACE(("|%p|%p|BRANCH\n", pattern, ptr));
  865|      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]
  |  |  ------------------
  ------------------
  866|      6|            if (state->save_marks)
  ------------------
  |  Branch (866:17): [True: 0, False: 6]
  ------------------
  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|     16|            for (; pattern[0]; pattern += pattern[0]) {
  ------------------
  |  Branch (868:20): [True: 13, False: 3]
  ------------------
  869|     13|                if (pattern[1] == SRE_OP_LITERAL &&
  ------------------
  |  |   31|     26|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (869:21): [True: 3, False: 10]
  ------------------
  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|     10|                if (pattern[1] == SRE_OP_IN &&
  ------------------
  |  |   28|     20|#define SRE_OP_IN 13
  ------------------
  |  Branch (873:21): [True: 0, False: 10]
  ------------------
  874|      0|                    (ptr >= end ||
  ------------------
  |  Branch (874:22): [True: 0, False: 0]
  ------------------
  875|      0|                     !SRE(charset)(state, pattern + 3,
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (875:22): [True: 0, False: 0]
  ------------------
  876|      0|                                   (SRE_CODE) *ptr)))
  877|      0|                    continue;
  878|     10|                state->ptr = ptr;
  879|     10|                DO_JUMP(JUMP_BRANCH, jump_branch, pattern+1);
  ------------------
  |  |  539|     10|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  523|     10|    ctx->pattern = pattern; \
  |  |  |  |  524|     10|    ctx->ptr = ptr; \
  |  |  |  |  525|     10|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  457|     10|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|     10|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  397|     10|do { \
  |  |  |  |  |  |  |  |  398|     10|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  399|     10|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  400|     10|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  401|     10|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:9): [True: 0, False: 10]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  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|     10|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  408|     10|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  409|     10|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (409:10): [Folded, False: 10]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  526|     10|    nextctx->pattern = nextpattern; \
  |  |  |  |  527|     10|    nextctx->toplevel = toplevel_; \
  |  |  |  |  528|     10|    nextctx->jump = jumpvalue; \
  |  |  |  |  529|     10|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  530|     10|    pattern = nextpattern; \
  |  |  |  |  531|     10|    ctx_pos = alloc_pos; \
  |  |  |  |  532|     10|    ctx = nextctx; \
  |  |  |  |  533|     10|    goto entrance; \
  |  |  |  |  534|     10|    jumplabel: \
  |  |  |  |  535|     10|    pattern = ctx->pattern; \
  |  |  |  |  536|     10|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
  880|     10|                if (ret) {
  ------------------
  |  Branch (880:21): [True: 3, False: 7]
  ------------------
  881|      3|                    if (state->save_marks)
  ------------------
  |  Branch (881:25): [True: 0, False: 3]
  ------------------
  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|      3|                    RETURN_ON_ERROR(ret);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  884|      3|                    RETURN_SUCCESS;
  ------------------
  |  |  387|      3|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (387:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  885|      3|                }
  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|      1|        TARGET(SRE_OP_REPEAT_ONE):
  ------------------
  |  |  593|      1|    #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|      1|            TRACE(("|%p|%p|REPEAT_ONE %d %d\n", pattern, ptr,
  905|      1|                   pattern[1], pattern[2]));
  906|       |
  907|      1|            if ((Py_ssize_t) pattern[1] > end - ptr)
  ------------------
  |  Branch (907:17): [True: 0, False: 1]
  ------------------
  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|      1|            state->ptr = ptr;
  911|       |
  912|      1|            ret = SRE(count)(state, pattern+3, pattern[2]);
  ------------------
  |  |  501|      1|#define SRE(F) sre_ucs1_##F
  ------------------
  913|      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]
  |  |  ------------------
  ------------------
  914|      1|            DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  459|      1|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  411|      1|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  412|      1|do { \
  |  |  |  |  413|      1|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  414|      1|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  415|      1|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (415:10): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  915|      1|            ctx->count = ret;
  916|      1|            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|      1|            if (ctx->count < (Py_ssize_t) pattern[1])
  ------------------
  |  Branch (923:17): [True: 0, False: 1]
  ------------------
  924|      0|                RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  925|       |
  926|      1|            if (pattern[pattern[0]] == SRE_OP_SUCCESS &&
  ------------------
  |  |   16|      2|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (926:17): [True: 0, False: 1]
  ------------------
  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|      1|            LASTMARK_SAVE();
  ------------------
  |  |  362|      1|    do { \
  |  |  363|      1|        ctx->lastmark = state->lastmark; \
  |  |  364|      1|        ctx->lastindex = state->lastindex; \
  |  |  365|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (365:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  936|      1|            if (state->save_marks)
  ------------------
  |  Branch (936:17): [True: 0, False: 1]
  ------------------
  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|      1|            if (pattern[pattern[0]] == SRE_OP_LITERAL) {
  ------------------
  |  |   31|      1|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (939:17): [True: 0, False: 1]
  ------------------
  940|       |                /* tail starts with a literal. skip positions where
  941|       |                   the rest of the pattern cannot possibly match */
  942|      0|                ctx->u.chr = pattern[pattern[0]+1];
  943|      0|                for (;;) {
  944|      0|                    while (ctx->count >= (Py_ssize_t) pattern[1] &&
  ------------------
  |  Branch (944:28): [True: 0, False: 0]
  ------------------
  945|      0|                           (ptr >= end || *ptr != ctx->u.chr)) {
  ------------------
  |  Branch (945:29): [True: 0, False: 0]
  |  Branch (945:43): [True: 0, False: 0]
  ------------------
  946|      0|                        ptr--;
  947|      0|                        ctx->count--;
  948|      0|                    }
  949|      0|                    if (ctx->count < (Py_ssize_t) pattern[1])
  ------------------
  |  Branch (949:25): [True: 0, False: 0]
  ------------------
  950|      0|                        break;
  951|      0|                    state->ptr = ptr;
  952|      0|                    DO_JUMP(JUMP_REPEAT_ONE_1, jump_repeat_one_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;
  |  |  ------------------
  ------------------
  953|      0|                            pattern+pattern[0]);
  954|      0|                    if (ret) {
  ------------------
  |  Branch (954:25): [True: 0, False: 0]
  ------------------
  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|      0|                    if (state->save_marks)
  ------------------
  |  Branch (960:25): [True: 0, False: 0]
  ------------------
  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|      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]
  |  |  ------------------
  ------------------
  963|       |
  964|      0|                    ptr--;
  965|      0|                    ctx->count--;
  966|      0|                }
  967|      0|                if (state->save_marks)
  ------------------
  |  Branch (967:21): [True: 0, False: 0]
  ------------------
  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|      1|            } else {
  970|       |                /* general case */
  971|      1|                while (ctx->count >= (Py_ssize_t) pattern[1]) {
  ------------------
  |  Branch (971:24): [True: 1, False: 0]
  ------------------
  972|      1|                    state->ptr = ptr;
  973|      1|                    DO_JUMP(JUMP_REPEAT_ONE_2, jump_repeat_one_2,
  ------------------
  |  |  539|      1|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  523|      1|    ctx->pattern = pattern; \
  |  |  |  |  524|      1|    ctx->ptr = ptr; \
  |  |  |  |  525|      1|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  457|      1|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  396|      1|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  397|      1|do { \
  |  |  |  |  |  |  |  |  398|      1|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  399|      1|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  400|      1|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  401|      1|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:9): [True: 0, False: 1]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  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|      1|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  408|      1|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  409|      1|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (409:10): [Folded, False: 1]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  526|      1|    nextctx->pattern = nextpattern; \
  |  |  |  |  527|      1|    nextctx->toplevel = toplevel_; \
  |  |  |  |  528|      1|    nextctx->jump = jumpvalue; \
  |  |  |  |  529|      1|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  530|      1|    pattern = nextpattern; \
  |  |  |  |  531|      1|    ctx_pos = alloc_pos; \
  |  |  |  |  532|      1|    ctx = nextctx; \
  |  |  |  |  533|      1|    goto entrance; \
  |  |  |  |  534|      1|    jumplabel: \
  |  |  |  |  535|      1|    pattern = ctx->pattern; \
  |  |  |  |  536|      1|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
  974|      1|                            pattern+pattern[0]);
  975|      1|                    if (ret) {
  ------------------
  |  Branch (975:25): [True: 1, False: 0]
  ------------------
  976|      1|                        if (state->save_marks)
  ------------------
  |  Branch (976:29): [True: 0, False: 1]
  ------------------
  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|      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]
  |  |  ------------------
  ------------------
  979|      1|                        RETURN_SUCCESS;
  ------------------
  |  |  387|      1|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (387:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  980|      1|                    }
  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|      0|            RETURN_FAILURE;
  ------------------
  |  |  386|      0|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (386:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  992|       |
  993|      0|        TARGET(SRE_OP_MIN_REPEAT_ONE):
  ------------------
  |  |  593|      0|    #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|      0|            TRACE(("|%p|%p|MIN_REPEAT_ONE %d %d\n", pattern, ptr,
 1004|      0|                   pattern[1], pattern[2]));
 1005|       |
 1006|      0|            if ((Py_ssize_t) pattern[1] > end - ptr)
  ------------------
  |  Branch (1006:17): [True: 0, False: 0]
  ------------------
 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|      0|            state->ptr = ptr;
 1010|       |
 1011|      0|            if (pattern[1] == 0)
  ------------------
  |  Branch (1011:17): [True: 0, False: 0]
  ------------------
 1012|      0|                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|      0|            if (pattern[pattern[0]] == SRE_OP_SUCCESS &&
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (1026:17): [True: 0, False: 0]
  ------------------
 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|      0|            } else {
 1036|       |                /* general case */
 1037|      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]
  |  |  ------------------
  ------------------
 1038|      0|                if (state->save_marks)
  ------------------
  |  Branch (1038:21): [True: 0, False: 0]
  ------------------
 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|      0|                while ((Py_ssize_t)pattern[2] == SRE_MAXREPEAT
  ------------------
  |  |   20|      0|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (1041:24): [True: 0, False: 0]
  ------------------
 1042|      0|                       || ctx->count <= (Py_ssize_t)pattern[2]) {
  ------------------
  |  Branch (1042:27): [True: 0, False: 0]
  ------------------
 1043|      0|                    state->ptr = ptr;
 1044|      0|                    DO_JUMP(JUMP_MIN_REPEAT_ONE,jump_min_repeat_one,
  ------------------
  |  |  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;
  |  |  ------------------
  ------------------
 1045|      0|                            pattern+pattern[0]);
 1046|      0|                    if (ret) {
  ------------------
  |  Branch (1046:25): [True: 0, False: 0]
  ------------------
 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|      0|                    if (state->save_marks)
  ------------------
  |  Branch (1052:25): [True: 0, False: 0]
  ------------------
 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|      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]
  |  |  ------------------
  ------------------
 1055|       |
 1056|      0|                    state->ptr = ptr;
 1057|      0|                    ret = SRE(count)(state, pattern+3, 1);
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
 1058|      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]
  |  |  ------------------
  ------------------
 1059|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1060|      0|                    if (ret == 0)
  ------------------
  |  Branch (1060:25): [True: 0, False: 0]
  ------------------
 1061|      0|                        break;
 1062|      0|                    assert(ret == 1);
  ------------------
  |  Branch (1062:21): [True: 0, False: 0]
  ------------------
 1063|      0|                    ptr++;
 1064|      0|                    ctx->count++;
 1065|      0|                }
 1066|      0|                if (state->save_marks)
  ------------------
  |  Branch (1066:21): [True: 0, False: 0]
  ------------------
 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|      0|            }
 1069|      0|            RETURN_FAILURE;
  ------------------
  |  |  386|      0|#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|     36|exit:
 1626|     36|    ctx_pos = ctx->last_ctx_pos;
 1627|     36|    jump = ctx->jump;
 1628|     36|    DATA_POP_DISCARD(ctx);
  ------------------
  |  |  455|     36|    DATA_STACK_POP_DISCARD(state, sizeof(*(x)))
  |  |  ------------------
  |  |  |  |  443|     36|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  444|     36|do { \
  |  |  |  |  445|     36|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  446|     36|           state->data_stack_base-size, size)); \
  |  |  |  |  447|     36|    state->data_stack_base -= size; \
  |  |  |  |  448|     36|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (448:9): [Folded, False: 36]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1629|     36|    if (ctx_pos == -1) {
  ------------------
  |  Branch (1629:9): [True: 4, False: 32]
  ------------------
 1630|      4|        state->sigcount = sigcount;
 1631|      4|        return ret;
 1632|      4|    }
 1633|     32|    DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  459|     32|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  411|     32|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  412|     32|do { \
  |  |  |  |  413|     32|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  414|     32|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  415|     32|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (415:10): [Folded, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1634|       |
 1635|     32|    switch (jump) {
  ------------------
  |  Branch (1635:13): [True: 32, False: 0]
  ------------------
 1636|      6|        case JUMP_MAX_UNTIL_2:
  ------------------
  |  |  506|      6|#define JUMP_MAX_UNTIL_2     2
  ------------------
  |  Branch (1636:9): [True: 6, False: 26]
  ------------------
 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: 26]
  ------------------
 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: 32]
  ------------------
 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: 32]
  ------------------
 1646|      0|            TRACE(("|%p|%p|JUMP_MIN_UNTIL_3\n", pattern, ptr));
 1647|      0|            goto jump_min_until_3;
 1648|     10|        case JUMP_BRANCH:
  ------------------
  |  |  515|     10|#define JUMP_BRANCH          11
  ------------------
  |  Branch (1648:9): [True: 10, False: 22]
  ------------------
 1649|     10|            TRACE(("|%p|%p|JUMP_BRANCH\n", pattern, ptr));
 1650|     10|            goto jump_branch;
 1651|      0|        case JUMP_MAX_UNTIL_1:
  ------------------
  |  |  505|      0|#define JUMP_MAX_UNTIL_1     1
  ------------------
  |  Branch (1651:9): [True: 0, False: 32]
  ------------------
 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: 32]
  ------------------
 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: 32]
  ------------------
 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: 32]
  ------------------
 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: 26]
  ------------------
 1664|      6|            TRACE(("|%p|%p|JUMP_REPEAT\n", pattern, ptr));
 1665|      6|            goto jump_repeat;
 1666|      0|        case JUMP_REPEAT_ONE_1:
  ------------------
  |  |  512|      0|#define JUMP_REPEAT_ONE_1    8
  ------------------
  |  Branch (1666:9): [True: 0, False: 32]
  ------------------
 1667|      0|            TRACE(("|%p|%p|JUMP_REPEAT_ONE_1\n", pattern, ptr));
 1668|      0|            goto jump_repeat_one_1;
 1669|      1|        case JUMP_REPEAT_ONE_2:
  ------------------
  |  |  513|      1|#define JUMP_REPEAT_ONE_2    9
  ------------------
  |  Branch (1669:9): [True: 1, False: 31]
  ------------------
 1670|      1|            TRACE(("|%p|%p|JUMP_REPEAT_ONE_2\n", pattern, ptr));
 1671|      1|            goto jump_repeat_one_2;
 1672|      0|        case JUMP_MIN_REPEAT_ONE:
  ------------------
  |  |  514|      0|#define JUMP_MIN_REPEAT_ONE  10
  ------------------
  |  Branch (1672:9): [True: 0, False: 32]
  ------------------
 1673|      0|            TRACE(("|%p|%p|JUMP_MIN_REPEAT_ONE\n", pattern, ptr));
 1674|      0|            goto jump_min_repeat_one;
 1675|      0|        case JUMP_ATOMIC_GROUP:
  ------------------
  |  |  520|      0|#define JUMP_ATOMIC_GROUP    16
  ------------------
  |  Branch (1675:9): [True: 0, False: 32]
  ------------------
 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: 29]
  ------------------
 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: 32]
  ------------------
 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: 32]
  ------------------
 1685|      0|            TRACE(("|%p|%p|RETURN %zd\n", pattern,
 1686|      0|                   ptr, ret));
 1687|      0|            break;
 1688|     32|    }
 1689|       |
 1690|      0|    return ret; /* should never get here */
 1691|     32|}
sre.c:sre_ucs1_at:
   17|      3|{
   18|       |    /* check if pointer is at given position */
   19|       |
   20|      3|    Py_ssize_t thisp, thatp;
   21|       |
   22|      3|    switch (at) {
  ------------------
  |  Branch (22:13): [True: 3, False: 0]
  ------------------
   23|       |
   24|      0|    case SRE_AT_BEGINNING:
  ------------------
  |  |   58|      0|#define SRE_AT_BEGINNING 0
  ------------------
  |  Branch (24:5): [True: 0, False: 3]
  ------------------
   25|      0|    case SRE_AT_BEGINNING_STRING:
  ------------------
  |  |   60|      0|#define SRE_AT_BEGINNING_STRING 2
  ------------------
  |  Branch (25:5): [True: 0, False: 3]
  ------------------
   26|      0|        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: 3]
  ------------------
   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: 3]
  ------------------
   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: 3]
  ------------------
   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: 0]
  ------------------
   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: 3]
  ------------------
   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: 3]
  ------------------
   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: 3]
  ------------------
   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: 3]
  ------------------
   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: 3]
  ------------------
   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: 3]
  ------------------
   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|      3|    }
   87|       |
   88|      0|    return 0;
   89|      3|}
sre.c:sre_ucs1_charset:
   93|      7|{
   94|       |    /* check if character is a member of the given set */
   95|       |
   96|      7|    int ok = 1;
   97|       |
   98|     15|    for (;;) {
   99|     15|        switch (*set++) {
  100|       |
  101|      4|        case SRE_OP_FAILURE:
  ------------------
  |  |   15|      4|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (101:9): [True: 4, False: 11]
  ------------------
  102|      4|            return !ok;
  103|       |
  104|     11|        case SRE_OP_LITERAL:
  ------------------
  |  |   31|     11|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (104:9): [True: 11, False: 4]
  ------------------
  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: 15]
  ------------------
  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|      0|        case SRE_OP_CHARSET:
  ------------------
  |  |   24|      0|#define SRE_OP_CHARSET 9
  ------------------
  |  Branch (118:9): [True: 0, False: 15]
  ------------------
  119|       |            /* <CHARSET> <bitmap> */
  120|      0|            if (ch < 256 &&
  ------------------
  |  Branch (120:17): [True: 0, False: 0]
  ------------------
  121|      0|                (set[ch/SRE_CODE_BITS] & (1u << (ch & (SRE_CODE_BITS-1)))))
  ------------------
  |  |   56|      0|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
                              (set[ch/SRE_CODE_BITS] & (1u << (ch & (SRE_CODE_BITS-1)))))
  ------------------
  |  |   56|      0|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
  |  Branch (121:17): [True: 0, False: 0]
  ------------------
  122|      0|                return ok;
  123|      0|            set += 256/SRE_CODE_BITS;
  ------------------
  |  |   56|      0|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
  124|      0|            break;
  125|       |
  126|      0|        case SRE_OP_RANGE:
  ------------------
  |  |   37|      0|#define SRE_OP_RANGE 22
  ------------------
  |  Branch (126:9): [True: 0, False: 15]
  ------------------
  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: 15]
  ------------------
  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: 15]
  ------------------
  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: 15]
  ------------------
  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: 15]
  ------------------
  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|     15|        }
  175|     15|    }
  176|      7|}
sre.c:sre_ucs1_count:
  194|      1|{
  195|      1|    SRE_CODE chr;
  ------------------
  |  |   18|      1|#define SRE_CODE Py_UCS4
  ------------------
  196|      1|    SRE_CODE arg;
  ------------------
  |  |   18|      1|#define SRE_CODE Py_UCS4
  ------------------
  197|      1|    SRE_CHAR c;
  ------------------
  |  |  499|      1|#define SRE_CHAR Py_UCS1
  ------------------
  198|      1|    const SRE_CHAR* ptr = (const SRE_CHAR *)state->ptr;
  199|      1|    const SRE_CHAR* end = (const SRE_CHAR *)state->end;
  200|      1|    Py_ssize_t i;
  201|      1|    INIT_TRACE(state);
  202|       |
  203|       |    /* adjust end */
  204|      1|    if (maxcount < end - ptr && maxcount != SRE_MAXREPEAT)
  ------------------
  |  |   20|      0|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (204:9): [True: 0, False: 1]
  |  Branch (204:33): [True: 0, False: 0]
  ------------------
  205|      0|        end = ptr + maxcount;
  206|       |
  207|      1|    switch (pattern[0]) {
  208|       |
  209|      0|    case SRE_OP_IN:
  ------------------
  |  |   28|      0|#define SRE_OP_IN 13
  ------------------
  |  Branch (209:5): [True: 0, False: 1]
  ------------------
  210|       |        /* repeated set */
  211|      0|        TRACE(("|%p|%p|COUNT IN\n", pattern, ptr));
  212|      0|        while (ptr < end && SRE(charset)(state, pattern + 2, *ptr))
  ------------------
  |  |  501|      0|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (212:16): [True: 0, False: 0]
  |  Branch (212:29): [True: 0, False: 0]
  ------------------
  213|      0|            ptr++;
  214|      0|        break;
  215|       |
  216|      0|    case SRE_OP_ANY:
  ------------------
  |  |   17|      0|#define SRE_OP_ANY 2
  ------------------
  |  Branch (216:5): [True: 0, False: 1]
  ------------------
  217|       |        /* repeated dot wildcard. */
  218|      0|        TRACE(("|%p|%p|COUNT ANY\n", pattern, ptr));
  219|      0|        while (ptr < end && !SRE_IS_LINEBREAK(*ptr))
  ------------------
  |  |  142|      0|    ((ch) == '\n')
  ------------------
  |  Branch (219:16): [True: 0, False: 0]
  |  Branch (219:29): [True: 0, False: 0]
  ------------------
  220|      0|            ptr++;
  221|      0|        break;
  222|       |
  223|      0|    case SRE_OP_ANY_ALL:
  ------------------
  |  |   18|      0|#define SRE_OP_ANY_ALL 3
  ------------------
  |  Branch (223:5): [True: 0, False: 1]
  ------------------
  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: 1]
  ------------------
  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: 1]
  ------------------
  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: 1]
  ------------------
  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: 1]
  ------------------
  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: 1]
  ------------------
  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: 1]
  ------------------
  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: 1]
  ------------------
  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: 1]
  ------------------
  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: 0]
  ------------------
  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: 1]
  ------------------
  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|      1|    }
  327|       |
  328|      1|    TRACE(("|%p|%p|COUNT %zd\n", pattern, ptr,
  329|      1|           ptr - (SRE_CHAR*) state->ptr));
  330|      1|    return ptr - (SRE_CHAR*) state->ptr;
  331|      1|}

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

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|    367|{
   59|    367|    if (_PyDict_DelItemIf(dct, key, is_dead_weakref, NULL) < 0) {
  ------------------
  |  Branch (59:9): [True: 0, False: 367]
  ------------------
   60|      0|        return NULL;
   61|      0|    }
   62|    367|    Py_RETURN_NONE;
  ------------------
  |  |  628|    367|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    367|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
   63|    367|}
_weakref.c:is_dead_weakref:
   35|    367|{
   36|    367|    if (!PyWeakref_Check(value)) {
  ------------------
  |  |   23|    367|        (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   15|    367|#define PyWeakref_CheckRef(op) PyObject_TypeCheck((op), &_PyWeakref_RefType)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|    734|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    367|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    367|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 367, 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|    367|    return _PyWeakref_IS_DEAD(value);
   41|    367|}
_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|  24.5k|int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  632|  24.5k|    assert(Py_IsInitialized());
  633|       |
  634|  24.5k|    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|       |#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_sre_compile)
  667|       |    static int SRE_COMPILE_INITIALIZED = 0;
  668|       |    if (!SRE_COMPILE_INITIALIZED && !init_sre_compile()) {
  669|       |        PyErr_Print();
  670|       |        abort();
  671|       |    } else {
  672|       |        SRE_COMPILE_INITIALIZED = 1;
  673|       |    }
  674|       |
  675|       |    if (SRE_COMPILE_INITIALIZED) {
  676|       |        rv |= _run_fuzz(data, size, fuzz_sre_compile);
  677|       |    }
  678|       |#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|  24.5k|#if !defined(_Py_FUZZ_ONE) || defined(_Py_FUZZ_fuzz_pycompile)
  724|  24.5k|    rv |= _run_fuzz(data, size, fuzz_pycompile);
  725|  24.5k|#endif
  726|  24.5k|  return rv;
  727|  24.5k|}
fuzzer.c:_run_fuzz:
  582|  24.5k|static int _run_fuzz(const uint8_t *data, size_t size, int(*fuzzer)(const char* , size_t)) {
  583|  24.5k|    int rv = fuzzer((const char*) data, size);
  584|  24.5k|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (584:9): [True: 0, False: 24.5k]
  ------------------
  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|  24.5k|    return rv;
  592|  24.5k|}
fuzzer.c:fuzz_pycompile:
  513|  24.5k|static int fuzz_pycompile(const char* data, size_t size) {
  514|       |    // Ignore overly-large inputs, and account for a NUL terminator
  515|  24.5k|    if (size > MAX_PYCOMPILE_TEST_SIZE - 1) {
  ------------------
  |  |  503|  24.5k|#define MAX_PYCOMPILE_TEST_SIZE 16384
  ------------------
  |  Branch (515:9): [True: 1, False: 24.5k]
  ------------------
  516|      1|        return 0;
  517|      1|    }
  518|       |
  519|       |    // Need 3 bytes for parameter selection
  520|  24.5k|    if (size < 3) {
  ------------------
  |  Branch (520:9): [True: 2, False: 24.5k]
  ------------------
  521|      2|        return 0;
  522|      2|    }
  523|       |
  524|       |    // Use first byte to determine element of `start_vals` to use
  525|  24.5k|    unsigned char start_idx = (unsigned char) data[0];
  526|  24.5k|    int start = start_vals[start_idx % NUM_START_VALS];
  527|       |
  528|       |    // Use second byte to determine element of `optimize_vals` to use
  529|  24.5k|    unsigned char optimize_idx = (unsigned char) data[1];
  530|  24.5k|    int optimize = optimize_vals[optimize_idx % NUM_OPTIMIZE_VALS];
  531|       |
  532|       |    // Use third byte to determine compiler flags to use.
  533|  24.5k|    unsigned char flags_byte = (unsigned char) data[2];
  534|  24.5k|    PyCompilerFlags flags = _PyCompilerFlags_INIT;
  ------------------
  |  |   33|  24.5k|    (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
  |  |  ------------------
  |  |  |  |   24|  24.5k|#define PY_MINOR_VERSION        16
  |  |  ------------------
  ------------------
  535|  24.5k|    if (flags_byte & 0x01) {
  ------------------
  |  Branch (535:9): [True: 11.7k, False: 12.7k]
  ------------------
  536|  11.7k|        flags.cf_flags |= PyCF_DONT_IMPLY_DEDENT;
  ------------------
  |  |   16|  11.7k|#define PyCF_DONT_IMPLY_DEDENT 0x0200
  ------------------
  537|  11.7k|    }
  538|  24.5k|    if (flags_byte & 0x02) {
  ------------------
  |  Branch (538:9): [True: 6.84k, False: 17.6k]
  ------------------
  539|  6.84k|        flags.cf_flags |= PyCF_ONLY_AST;
  ------------------
  |  |   17|  6.84k|#define PyCF_ONLY_AST 0x0400
  ------------------
  540|  6.84k|    }
  541|  24.5k|    if (flags_byte & 0x04) {
  ------------------
  |  Branch (541:9): [True: 11.0k, False: 13.5k]
  ------------------
  542|  11.0k|        flags.cf_flags |= PyCF_IGNORE_COOKIE;
  ------------------
  |  |   18|  11.0k|#define PyCF_IGNORE_COOKIE 0x0800
  ------------------
  543|  11.0k|    }
  544|  24.5k|    if (flags_byte & 0x08) {
  ------------------
  |  Branch (544:9): [True: 10.4k, False: 14.1k]
  ------------------
  545|  10.4k|        flags.cf_flags |= PyCF_TYPE_COMMENTS;
  ------------------
  |  |   19|  10.4k|#define PyCF_TYPE_COMMENTS 0x1000
  ------------------
  546|  10.4k|    }
  547|  24.5k|    if (flags_byte & 0x10) {
  ------------------
  |  Branch (547:9): [True: 7.31k, False: 17.2k]
  ------------------
  548|  7.31k|        flags.cf_flags |= PyCF_ALLOW_TOP_LEVEL_AWAIT;
  ------------------
  |  |   20|  7.31k|#define PyCF_ALLOW_TOP_LEVEL_AWAIT 0x2000
  ------------------
  549|  7.31k|    }
  550|  24.5k|    if (flags_byte & 0x20) {
  ------------------
  |  Branch (550:9): [True: 18.5k, False: 5.95k]
  ------------------
  551|  18.5k|        flags.cf_flags |= PyCF_ALLOW_INCOMPLETE_INPUT;
  ------------------
  |  |   21|  18.5k|#define PyCF_ALLOW_INCOMPLETE_INPUT 0x4000
  ------------------
  552|  18.5k|    }
  553|  24.5k|    if (flags_byte & 0x40) {
  ------------------
  |  Branch (553:9): [True: 5.35k, False: 19.1k]
  ------------------
  554|  5.35k|        flags.cf_flags |= PyCF_OPTIMIZED_AST;
  ------------------
  |  |   22|  5.35k|#define PyCF_OPTIMIZED_AST (0x8000 | PyCF_ONLY_AST)
  |  |  ------------------
  |  |  |  |   17|  5.35k|#define PyCF_ONLY_AST 0x0400
  |  |  ------------------
  ------------------
  555|  5.35k|    }
  556|       |
  557|  24.5k|    char pycompile_scratch[MAX_PYCOMPILE_TEST_SIZE];
  558|       |
  559|       |    // Create a NUL-terminated C string from the remaining input
  560|  24.5k|    memcpy(pycompile_scratch, data + 3, size - 3);
  561|       |    // Put a NUL terminator just after the copied data. (Space was reserved already.)
  562|  24.5k|    pycompile_scratch[size - 3] = '\0';
  563|       |
  564|  24.5k|    PyObject *result = Py_CompileStringExFlags(pycompile_scratch, "<fuzz input>", start, &flags, optimize);
  565|  24.5k|    if (result == NULL) {
  ------------------
  |  Branch (565:9): [True: 12.6k, False: 11.9k]
  ------------------
  566|       |        /* Compilation failed, most likely from a syntax error. If it was a
  567|       |           SystemError we abort. There's no non-bug reason to raise a
  568|       |           SystemError. */
  569|  12.6k|        if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_SystemError)) {
  ------------------
  |  Branch (569:13): [True: 12.6k, False: 0]
  |  Branch (569:33): [True: 0, False: 12.6k]
  ------------------
  570|      0|            PyErr_Print();
  571|      0|            abort();
  572|      0|        }
  573|  12.6k|        PyErr_Clear();
  574|  12.6k|    } else {
  575|  11.9k|        Py_DECREF(result);
  ------------------
  |  |  430|  11.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  576|  11.9k|    }
  577|       |
  578|  24.5k|    return 0;
  579|  24.5k|}

_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|      7|{
  485|      7|    PyObject *return_value = NULL;
  486|      7|    Py_buffer data = {NULL, NULL};
  487|      7|    const char *errors = NULL;
  488|      7|    int final = 0;
  489|       |
  490|      7|    if (!_PyArg_CheckPositional("utf_8_decode", nargs, 1, 3)) {
  ------------------
  |  |   31|      7|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 7, False: 0]
  |  |  |  Branch (31:27): [True: 7, False: 0]
  |  |  ------------------
  |  |   32|      7|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  491|      0|        goto exit;
  492|      0|    }
  493|      7|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      7|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (493:9): [True: 0, False: 7]
  ------------------
  494|      0|        goto exit;
  495|      0|    }
  496|      7|    if (nargs < 2) {
  ------------------
  |  Branch (496:9): [True: 0, False: 7]
  ------------------
  497|      0|        goto skip_optional;
  498|      0|    }
  499|      7|    if (args[1] == Py_None) {
  ------------------
  |  |  616|      7|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (499:9): [True: 0, False: 7]
  ------------------
  500|      0|        errors = NULL;
  501|      0|    }
  502|      7|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|      7|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      7|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 7, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  503|      7|        Py_ssize_t errors_length;
  504|      7|        errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length);
  505|      7|        if (errors == NULL) {
  ------------------
  |  Branch (505:13): [True: 0, False: 7]
  ------------------
  506|      0|            goto exit;
  507|      0|        }
  508|      7|        if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (508:13): [True: 0, False: 7]
  ------------------
  509|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
  510|      0|            goto exit;
  511|      0|        }
  512|      7|    }
  513|      0|    else {
  514|      0|        _PyArg_BadArgument("utf_8_decode", "argument 2", "str or None", args[1]);
  515|      0|        goto exit;
  516|      0|    }
  517|      7|    if (nargs < 3) {
  ------------------
  |  Branch (517:9): [True: 0, False: 7]
  ------------------
  518|      0|        goto skip_optional;
  519|      0|    }
  520|      7|    final = PyObject_IsTrue(args[2]);
  521|      7|    if (final < 0) {
  ------------------
  |  Branch (521:9): [True: 0, False: 7]
  ------------------
  522|      0|        goto exit;
  523|      0|    }
  524|      7|skip_optional:
  525|      7|    return_value = _codecs_utf_8_decode_impl(module, &data, errors, final);
  526|       |
  527|      7|exit:
  528|       |    /* Cleanup for data */
  529|      7|    if (data.obj) {
  ------------------
  |  Branch (529:9): [True: 7, False: 0]
  ------------------
  530|      7|       PyBuffer_Release(&data);
  531|      7|    }
  532|       |
  533|      7|    return return_value;
  534|      7|}
_codecsmodule.c:_codecs_utf_7_decode:
  418|    170|{
  419|    170|    PyObject *return_value = NULL;
  420|    170|    Py_buffer data = {NULL, NULL};
  421|    170|    const char *errors = NULL;
  422|    170|    int final = 0;
  423|       |
  424|    170|    if (!_PyArg_CheckPositional("utf_7_decode", nargs, 1, 3)) {
  ------------------
  |  |   31|    170|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 170, False: 0]
  |  |  |  Branch (31:27): [True: 170, False: 0]
  |  |  ------------------
  |  |   32|    170|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  425|      0|        goto exit;
  426|      0|    }
  427|    170|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|    170|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (427:9): [True: 0, False: 170]
  ------------------
  428|      0|        goto exit;
  429|      0|    }
  430|    170|    if (nargs < 2) {
  ------------------
  |  Branch (430:9): [True: 0, False: 170]
  ------------------
  431|      0|        goto skip_optional;
  432|      0|    }
  433|    170|    if (args[1] == Py_None) {
  ------------------
  |  |  616|    170|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (433:9): [True: 0, False: 170]
  ------------------
  434|      0|        errors = NULL;
  435|      0|    }
  436|    170|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|    170|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    170|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 170, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  437|    170|        Py_ssize_t errors_length;
  438|    170|        errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length);
  439|    170|        if (errors == NULL) {
  ------------------
  |  Branch (439:13): [True: 0, False: 170]
  ------------------
  440|      0|            goto exit;
  441|      0|        }
  442|    170|        if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (442:13): [True: 0, False: 170]
  ------------------
  443|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
  444|      0|            goto exit;
  445|      0|        }
  446|    170|    }
  447|      0|    else {
  448|      0|        _PyArg_BadArgument("utf_7_decode", "argument 2", "str or None", args[1]);
  449|      0|        goto exit;
  450|      0|    }
  451|    170|    if (nargs < 3) {
  ------------------
  |  Branch (451:9): [True: 0, False: 170]
  ------------------
  452|      0|        goto skip_optional;
  453|      0|    }
  454|    170|    final = PyObject_IsTrue(args[2]);
  455|    170|    if (final < 0) {
  ------------------
  |  Branch (455:9): [True: 0, False: 170]
  ------------------
  456|      0|        goto exit;
  457|      0|    }
  458|    170|skip_optional:
  459|    170|    return_value = _codecs_utf_7_decode_impl(module, &data, errors, final);
  460|       |
  461|    170|exit:
  462|       |    /* Cleanup for data */
  463|    170|    if (data.obj) {
  ------------------
  |  Branch (463:9): [True: 170, False: 0]
  ------------------
  464|    170|       PyBuffer_Release(&data);
  465|    170|    }
  466|       |
  467|    170|    return return_value;
  468|    170|}
_codecsmodule.c:_codecs_utf_16_decode:
  550|     44|{
  551|     44|    PyObject *return_value = NULL;
  552|     44|    Py_buffer data = {NULL, NULL};
  553|     44|    const char *errors = NULL;
  554|     44|    int final = 0;
  555|       |
  556|     44|    if (!_PyArg_CheckPositional("utf_16_decode", nargs, 1, 3)) {
  ------------------
  |  |   31|     44|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 44, False: 0]
  |  |  |  Branch (31:27): [True: 44, False: 0]
  |  |  ------------------
  |  |   32|     44|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  557|      0|        goto exit;
  558|      0|    }
  559|     44|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     44|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (559:9): [True: 0, False: 44]
  ------------------
  560|      0|        goto exit;
  561|      0|    }
  562|     44|    if (nargs < 2) {
  ------------------
  |  Branch (562:9): [True: 0, False: 44]
  ------------------
  563|      0|        goto skip_optional;
  564|      0|    }
  565|     44|    if (args[1] == Py_None) {
  ------------------
  |  |  616|     44|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (565:9): [True: 0, False: 44]
  ------------------
  566|      0|        errors = NULL;
  567|      0|    }
  568|     44|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|     44|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     44|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 44, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  569|     44|        Py_ssize_t errors_length;
  570|     44|        errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length);
  571|     44|        if (errors == NULL) {
  ------------------
  |  Branch (571:13): [True: 0, False: 44]
  ------------------
  572|      0|            goto exit;
  573|      0|        }
  574|     44|        if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (574:13): [True: 0, False: 44]
  ------------------
  575|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
  576|      0|            goto exit;
  577|      0|        }
  578|     44|    }
  579|      0|    else {
  580|      0|        _PyArg_BadArgument("utf_16_decode", "argument 2", "str or None", args[1]);
  581|      0|        goto exit;
  582|      0|    }
  583|     44|    if (nargs < 3) {
  ------------------
  |  Branch (583:9): [True: 0, False: 44]
  ------------------
  584|      0|        goto skip_optional;
  585|      0|    }
  586|     44|    final = PyObject_IsTrue(args[2]);
  587|     44|    if (final < 0) {
  ------------------
  |  Branch (587:9): [True: 0, False: 44]
  ------------------
  588|      0|        goto exit;
  589|      0|    }
  590|     44|skip_optional:
  591|     44|    return_value = _codecs_utf_16_decode_impl(module, &data, errors, final);
  592|       |
  593|     44|exit:
  594|       |    /* Cleanup for data */
  595|     44|    if (data.obj) {
  ------------------
  |  Branch (595:9): [True: 44, False: 0]
  ------------------
  596|     44|       PyBuffer_Release(&data);
  597|     44|    }
  598|       |
  599|     44|    return return_value;
  600|     44|}
_codecsmodule.c:_codecs_utf_16_le_decode:
  616|      9|{
  617|      9|    PyObject *return_value = NULL;
  618|      9|    Py_buffer data = {NULL, NULL};
  619|      9|    const char *errors = NULL;
  620|      9|    int final = 0;
  621|       |
  622|      9|    if (!_PyArg_CheckPositional("utf_16_le_decode", nargs, 1, 3)) {
  ------------------
  |  |   31|      9|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 9, False: 0]
  |  |  |  Branch (31:27): [True: 9, False: 0]
  |  |  ------------------
  |  |   32|      9|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  623|      0|        goto exit;
  624|      0|    }
  625|      9|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      9|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (625:9): [True: 0, False: 9]
  ------------------
  626|      0|        goto exit;
  627|      0|    }
  628|      9|    if (nargs < 2) {
  ------------------
  |  Branch (628:9): [True: 0, False: 9]
  ------------------
  629|      0|        goto skip_optional;
  630|      0|    }
  631|      9|    if (args[1] == Py_None) {
  ------------------
  |  |  616|      9|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (631:9): [True: 0, False: 9]
  ------------------
  632|      0|        errors = NULL;
  633|      0|    }
  634|      9|    else if (PyUnicode_Check(args[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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  635|      9|        Py_ssize_t errors_length;
  636|      9|        errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length);
  637|      9|        if (errors == NULL) {
  ------------------
  |  Branch (637:13): [True: 0, False: 9]
  ------------------
  638|      0|            goto exit;
  639|      0|        }
  640|      9|        if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (640:13): [True: 0, False: 9]
  ------------------
  641|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
  642|      0|            goto exit;
  643|      0|        }
  644|      9|    }
  645|      0|    else {
  646|      0|        _PyArg_BadArgument("utf_16_le_decode", "argument 2", "str or None", args[1]);
  647|      0|        goto exit;
  648|      0|    }
  649|      9|    if (nargs < 3) {
  ------------------
  |  Branch (649:9): [True: 0, False: 9]
  ------------------
  650|      0|        goto skip_optional;
  651|      0|    }
  652|      9|    final = PyObject_IsTrue(args[2]);
  653|      9|    if (final < 0) {
  ------------------
  |  Branch (653:9): [True: 0, False: 9]
  ------------------
  654|      0|        goto exit;
  655|      0|    }
  656|      9|skip_optional:
  657|      9|    return_value = _codecs_utf_16_le_decode_impl(module, &data, errors, final);
  658|       |
  659|      9|exit:
  660|       |    /* Cleanup for data */
  661|      9|    if (data.obj) {
  ------------------
  |  Branch (661:9): [True: 9, False: 0]
  ------------------
  662|      9|       PyBuffer_Release(&data);
  663|      9|    }
  664|       |
  665|      9|    return return_value;
  666|      9|}
_codecsmodule.c:_codecs_utf_16_be_decode:
  682|     66|{
  683|     66|    PyObject *return_value = NULL;
  684|     66|    Py_buffer data = {NULL, NULL};
  685|     66|    const char *errors = NULL;
  686|     66|    int final = 0;
  687|       |
  688|     66|    if (!_PyArg_CheckPositional("utf_16_be_decode", nargs, 1, 3)) {
  ------------------
  |  |   31|     66|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 66, False: 0]
  |  |  |  Branch (31:27): [True: 66, False: 0]
  |  |  ------------------
  |  |   32|     66|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  689|      0|        goto exit;
  690|      0|    }
  691|     66|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     66|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (691:9): [True: 0, False: 66]
  ------------------
  692|      0|        goto exit;
  693|      0|    }
  694|     66|    if (nargs < 2) {
  ------------------
  |  Branch (694:9): [True: 0, False: 66]
  ------------------
  695|      0|        goto skip_optional;
  696|      0|    }
  697|     66|    if (args[1] == Py_None) {
  ------------------
  |  |  616|     66|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (697:9): [True: 0, False: 66]
  ------------------
  698|      0|        errors = NULL;
  699|      0|    }
  700|     66|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|     66|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     66|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 66, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  701|     66|        Py_ssize_t errors_length;
  702|     66|        errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length);
  703|     66|        if (errors == NULL) {
  ------------------
  |  Branch (703:13): [True: 0, False: 66]
  ------------------
  704|      0|            goto exit;
  705|      0|        }
  706|     66|        if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (706:13): [True: 0, False: 66]
  ------------------
  707|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
  708|      0|            goto exit;
  709|      0|        }
  710|     66|    }
  711|      0|    else {
  712|      0|        _PyArg_BadArgument("utf_16_be_decode", "argument 2", "str or None", args[1]);
  713|      0|        goto exit;
  714|      0|    }
  715|     66|    if (nargs < 3) {
  ------------------
  |  Branch (715:9): [True: 0, False: 66]
  ------------------
  716|      0|        goto skip_optional;
  717|      0|    }
  718|     66|    final = PyObject_IsTrue(args[2]);
  719|     66|    if (final < 0) {
  ------------------
  |  Branch (719:9): [True: 0, False: 66]
  ------------------
  720|      0|        goto exit;
  721|      0|    }
  722|     66|skip_optional:
  723|     66|    return_value = _codecs_utf_16_be_decode_impl(module, &data, errors, final);
  724|       |
  725|     66|exit:
  726|       |    /* Cleanup for data */
  727|     66|    if (data.obj) {
  ------------------
  |  Branch (727:9): [True: 66, False: 0]
  ------------------
  728|     66|       PyBuffer_Release(&data);
  729|     66|    }
  730|       |
  731|     66|    return return_value;
  732|     66|}
_codecsmodule.c:_codecs_utf_32_decode:
  823|      5|{
  824|      5|    PyObject *return_value = NULL;
  825|      5|    Py_buffer data = {NULL, NULL};
  826|      5|    const char *errors = NULL;
  827|      5|    int final = 0;
  828|       |
  829|      5|    if (!_PyArg_CheckPositional("utf_32_decode", nargs, 1, 3)) {
  ------------------
  |  |   31|      5|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 5, False: 0]
  |  |  |  Branch (31:27): [True: 5, False: 0]
  |  |  ------------------
  |  |   32|      5|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  830|      0|        goto exit;
  831|      0|    }
  832|      5|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      5|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (832:9): [True: 0, False: 5]
  ------------------
  833|      0|        goto exit;
  834|      0|    }
  835|      5|    if (nargs < 2) {
  ------------------
  |  Branch (835:9): [True: 0, False: 5]
  ------------------
  836|      0|        goto skip_optional;
  837|      0|    }
  838|      5|    if (args[1] == Py_None) {
  ------------------
  |  |  616|      5|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (838:9): [True: 0, False: 5]
  ------------------
  839|      0|        errors = NULL;
  840|      0|    }
  841|      5|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|      5|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      5|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 5, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  842|      5|        Py_ssize_t errors_length;
  843|      5|        errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length);
  844|      5|        if (errors == NULL) {
  ------------------
  |  Branch (844:13): [True: 0, False: 5]
  ------------------
  845|      0|            goto exit;
  846|      0|        }
  847|      5|        if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (847:13): [True: 0, False: 5]
  ------------------
  848|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
  849|      0|            goto exit;
  850|      0|        }
  851|      5|    }
  852|      0|    else {
  853|      0|        _PyArg_BadArgument("utf_32_decode", "argument 2", "str or None", args[1]);
  854|      0|        goto exit;
  855|      0|    }
  856|      5|    if (nargs < 3) {
  ------------------
  |  Branch (856:9): [True: 0, False: 5]
  ------------------
  857|      0|        goto skip_optional;
  858|      0|    }
  859|      5|    final = PyObject_IsTrue(args[2]);
  860|      5|    if (final < 0) {
  ------------------
  |  Branch (860:9): [True: 0, False: 5]
  ------------------
  861|      0|        goto exit;
  862|      0|    }
  863|      5|skip_optional:
  864|      5|    return_value = _codecs_utf_32_decode_impl(module, &data, errors, final);
  865|       |
  866|      5|exit:
  867|       |    /* Cleanup for data */
  868|      5|    if (data.obj) {
  ------------------
  |  Branch (868:9): [True: 5, False: 0]
  ------------------
  869|      5|       PyBuffer_Release(&data);
  870|      5|    }
  871|       |
  872|      5|    return return_value;
  873|      5|}
_codecsmodule.c:_codecs_utf_32_le_decode:
  889|      2|{
  890|      2|    PyObject *return_value = NULL;
  891|      2|    Py_buffer data = {NULL, NULL};
  892|      2|    const char *errors = NULL;
  893|      2|    int final = 0;
  894|       |
  895|      2|    if (!_PyArg_CheckPositional("utf_32_le_decode", 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]
  |  |  ------------------
  ------------------
  896|      0|        goto exit;
  897|      0|    }
  898|      2|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      2|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (898:9): [True: 0, False: 2]
  ------------------
  899|      0|        goto exit;
  900|      0|    }
  901|      2|    if (nargs < 2) {
  ------------------
  |  Branch (901:9): [True: 0, False: 2]
  ------------------
  902|      0|        goto skip_optional;
  903|      0|    }
  904|      2|    if (args[1] == Py_None) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (904:9): [True: 0, False: 2]
  ------------------
  905|      0|        errors = NULL;
  906|      0|    }
  907|      2|    else 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 (760:41): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  908|      2|        Py_ssize_t errors_length;
  909|      2|        errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length);
  910|      2|        if (errors == NULL) {
  ------------------
  |  Branch (910:13): [True: 0, False: 2]
  ------------------
  911|      0|            goto exit;
  912|      0|        }
  913|      2|        if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (913:13): [True: 0, False: 2]
  ------------------
  914|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
  915|      0|            goto exit;
  916|      0|        }
  917|      2|    }
  918|      0|    else {
  919|      0|        _PyArg_BadArgument("utf_32_le_decode", "argument 2", "str or None", args[1]);
  920|      0|        goto exit;
  921|      0|    }
  922|      2|    if (nargs < 3) {
  ------------------
  |  Branch (922:9): [True: 0, False: 2]
  ------------------
  923|      0|        goto skip_optional;
  924|      0|    }
  925|      2|    final = PyObject_IsTrue(args[2]);
  926|      2|    if (final < 0) {
  ------------------
  |  Branch (926:9): [True: 0, False: 2]
  ------------------
  927|      0|        goto exit;
  928|      0|    }
  929|      2|skip_optional:
  930|      2|    return_value = _codecs_utf_32_le_decode_impl(module, &data, errors, final);
  931|       |
  932|      2|exit:
  933|       |    /* Cleanup for data */
  934|      2|    if (data.obj) {
  ------------------
  |  Branch (934:9): [True: 2, False: 0]
  ------------------
  935|      2|       PyBuffer_Release(&data);
  936|      2|    }
  937|       |
  938|      2|    return return_value;
  939|      2|}
_codecsmodule.c:_codecs_utf_32_be_decode:
  955|      1|{
  956|      1|    PyObject *return_value = NULL;
  957|      1|    Py_buffer data = {NULL, NULL};
  958|      1|    const char *errors = NULL;
  959|      1|    int final = 0;
  960|       |
  961|      1|    if (!_PyArg_CheckPositional("utf_32_be_decode", nargs, 1, 3)) {
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
  962|      0|        goto exit;
  963|      0|    }
  964|      1|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      1|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (964:9): [True: 0, False: 1]
  ------------------
  965|      0|        goto exit;
  966|      0|    }
  967|      1|    if (nargs < 2) {
  ------------------
  |  Branch (967:9): [True: 0, False: 1]
  ------------------
  968|      0|        goto skip_optional;
  969|      0|    }
  970|      1|    if (args[1] == Py_None) {
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (970:9): [True: 0, False: 1]
  ------------------
  971|      0|        errors = NULL;
  972|      0|    }
  973|      1|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|      1|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      1|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  974|      1|        Py_ssize_t errors_length;
  975|      1|        errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length);
  976|      1|        if (errors == NULL) {
  ------------------
  |  Branch (976:13): [True: 0, False: 1]
  ------------------
  977|      0|            goto exit;
  978|      0|        }
  979|      1|        if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (979:13): [True: 0, False: 1]
  ------------------
  980|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
  981|      0|            goto exit;
  982|      0|        }
  983|      1|    }
  984|      0|    else {
  985|      0|        _PyArg_BadArgument("utf_32_be_decode", "argument 2", "str or None", args[1]);
  986|      0|        goto exit;
  987|      0|    }
  988|      1|    if (nargs < 3) {
  ------------------
  |  Branch (988:9): [True: 0, False: 1]
  ------------------
  989|      0|        goto skip_optional;
  990|      0|    }
  991|      1|    final = PyObject_IsTrue(args[2]);
  992|      1|    if (final < 0) {
  ------------------
  |  Branch (992:9): [True: 0, False: 1]
  ------------------
  993|      0|        goto exit;
  994|      0|    }
  995|      1|skip_optional:
  996|      1|    return_value = _codecs_utf_32_be_decode_impl(module, &data, errors, final);
  997|       |
  998|      1|exit:
  999|       |    /* Cleanup for data */
 1000|      1|    if (data.obj) {
  ------------------
  |  Branch (1000:9): [True: 1, False: 0]
  ------------------
 1001|      1|       PyBuffer_Release(&data);
 1002|      1|    }
 1003|       |
 1004|      1|    return return_value;
 1005|      1|}
_codecsmodule.c:_codecs_latin_1_decode:
 1252|    894|{
 1253|    894|    PyObject *return_value = NULL;
 1254|    894|    Py_buffer data = {NULL, NULL};
 1255|    894|    const char *errors = NULL;
 1256|       |
 1257|    894|    if (!_PyArg_CheckPositional("latin_1_decode", nargs, 1, 2)) {
  ------------------
  |  |   31|    894|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 894, False: 0]
  |  |  |  Branch (31:27): [True: 894, False: 0]
  |  |  ------------------
  |  |   32|    894|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1258|      0|        goto exit;
 1259|      0|    }
 1260|    894|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|    894|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1260:9): [True: 0, False: 894]
  ------------------
 1261|      0|        goto exit;
 1262|      0|    }
 1263|    894|    if (nargs < 2) {
  ------------------
  |  Branch (1263:9): [True: 894, False: 0]
  ------------------
 1264|    894|        goto skip_optional;
 1265|    894|    }
 1266|      0|    if (args[1] == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1266:9): [True: 0, False: 0]
  ------------------
 1267|      0|        errors = NULL;
 1268|      0|    }
 1269|      0|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1270|      0|        Py_ssize_t errors_length;
 1271|      0|        errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length);
 1272|      0|        if (errors == NULL) {
  ------------------
  |  Branch (1272:13): [True: 0, False: 0]
  ------------------
 1273|      0|            goto exit;
 1274|      0|        }
 1275|      0|        if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (1275:13): [True: 0, False: 0]
  ------------------
 1276|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
 1277|      0|            goto exit;
 1278|      0|        }
 1279|      0|    }
 1280|      0|    else {
 1281|      0|        _PyArg_BadArgument("latin_1_decode", "argument 2", "str or None", args[1]);
 1282|      0|        goto exit;
 1283|      0|    }
 1284|    894|skip_optional:
 1285|    894|    return_value = _codecs_latin_1_decode_impl(module, &data, errors);
 1286|       |
 1287|    894|exit:
 1288|       |    /* Cleanup for data */
 1289|    894|    if (data.obj) {
  ------------------
  |  Branch (1289:9): [True: 894, False: 0]
  ------------------
 1290|    894|       PyBuffer_Release(&data);
 1291|    894|    }
 1292|       |
 1293|    894|    return return_value;
 1294|    894|}
_codecsmodule.c:_codecs_ascii_decode:
 1310|      4|{
 1311|      4|    PyObject *return_value = NULL;
 1312|      4|    Py_buffer data = {NULL, NULL};
 1313|      4|    const char *errors = NULL;
 1314|       |
 1315|      4|    if (!_PyArg_CheckPositional("ascii_decode", nargs, 1, 2)) {
  ------------------
  |  |   31|      4|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 4, False: 0]
  |  |  |  Branch (31:27): [True: 4, False: 0]
  |  |  ------------------
  |  |   32|      4|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1316|      0|        goto exit;
 1317|      0|    }
 1318|      4|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      4|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1318:9): [True: 0, False: 4]
  ------------------
 1319|      0|        goto exit;
 1320|      0|    }
 1321|      4|    if (nargs < 2) {
  ------------------
  |  Branch (1321:9): [True: 4, False: 0]
  ------------------
 1322|      4|        goto skip_optional;
 1323|      4|    }
 1324|      0|    if (args[1] == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1324:9): [True: 0, False: 0]
  ------------------
 1325|      0|        errors = NULL;
 1326|      0|    }
 1327|      0|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1328|      0|        Py_ssize_t errors_length;
 1329|      0|        errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length);
 1330|      0|        if (errors == NULL) {
  ------------------
  |  Branch (1330:13): [True: 0, False: 0]
  ------------------
 1331|      0|            goto exit;
 1332|      0|        }
 1333|      0|        if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (1333:13): [True: 0, False: 0]
  ------------------
 1334|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
 1335|      0|            goto exit;
 1336|      0|        }
 1337|      0|    }
 1338|      0|    else {
 1339|      0|        _PyArg_BadArgument("ascii_decode", "argument 2", "str or None", args[1]);
 1340|      0|        goto exit;
 1341|      0|    }
 1342|      4|skip_optional:
 1343|      4|    return_value = _codecs_ascii_decode_impl(module, &data, errors);
 1344|       |
 1345|      4|exit:
 1346|       |    /* Cleanup for data */
 1347|      4|    if (data.obj) {
  ------------------
  |  Branch (1347:9): [True: 4, False: 0]
  ------------------
 1348|      4|       PyBuffer_Release(&data);
 1349|      4|    }
 1350|       |
 1351|      4|    return return_value;
 1352|      4|}
_codecsmodule.c:_codecs_charmap_decode:
 1368|  1.68k|{
 1369|  1.68k|    PyObject *return_value = NULL;
 1370|  1.68k|    Py_buffer data = {NULL, NULL};
 1371|  1.68k|    const char *errors = NULL;
 1372|  1.68k|    PyObject *mapping = Py_None;
  ------------------
  |  |  616|  1.68k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1373|       |
 1374|  1.68k|    if (!_PyArg_CheckPositional("charmap_decode", nargs, 1, 3)) {
  ------------------
  |  |   31|  1.68k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 1.68k, False: 0]
  |  |  |  Branch (31:27): [True: 1.68k, False: 0]
  |  |  ------------------
  |  |   32|  1.68k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1375|      0|        goto exit;
 1376|      0|    }
 1377|  1.68k|    if (PyObject_GetBuffer(args[0], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|  1.68k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1377:9): [True: 0, False: 1.68k]
  ------------------
 1378|      0|        goto exit;
 1379|      0|    }
 1380|  1.68k|    if (nargs < 2) {
  ------------------
  |  Branch (1380:9): [True: 0, False: 1.68k]
  ------------------
 1381|      0|        goto skip_optional;
 1382|      0|    }
 1383|  1.68k|    if (args[1] == Py_None) {
  ------------------
  |  |  616|  1.68k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1383:9): [True: 0, False: 1.68k]
  ------------------
 1384|      0|        errors = NULL;
 1385|      0|    }
 1386|  1.68k|    else if (PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|  1.68k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.68k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.68k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1387|  1.68k|        Py_ssize_t errors_length;
 1388|  1.68k|        errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length);
 1389|  1.68k|        if (errors == NULL) {
  ------------------
  |  Branch (1389:13): [True: 0, False: 1.68k]
  ------------------
 1390|      0|            goto exit;
 1391|      0|        }
 1392|  1.68k|        if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (1392:13): [True: 0, False: 1.68k]
  ------------------
 1393|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
 1394|      0|            goto exit;
 1395|      0|        }
 1396|  1.68k|    }
 1397|      0|    else {
 1398|      0|        _PyArg_BadArgument("charmap_decode", "argument 2", "str or None", args[1]);
 1399|      0|        goto exit;
 1400|      0|    }
 1401|  1.68k|    if (nargs < 3) {
  ------------------
  |  Branch (1401:9): [True: 0, False: 1.68k]
  ------------------
 1402|      0|        goto skip_optional;
 1403|      0|    }
 1404|  1.68k|    mapping = args[2];
 1405|  1.68k|skip_optional:
 1406|  1.68k|    return_value = _codecs_charmap_decode_impl(module, &data, errors, mapping);
 1407|       |
 1408|  1.68k|exit:
 1409|       |    /* Cleanup for data */
 1410|  1.68k|    if (data.obj) {
  ------------------
  |  Branch (1410:9): [True: 1.68k, False: 0]
  ------------------
 1411|  1.68k|       PyBuffer_Release(&data);
 1412|  1.68k|    }
 1413|       |
 1414|  1.68k|    return return_value;
 1415|  1.68k|}
_codecsmodule.c:_codecs_charmap_build:
 2535|     20|{
 2536|     20|    PyObject *return_value = NULL;
 2537|     20|    PyObject *map;
 2538|       |
 2539|     20|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|     20|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     20|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2539:9): [True: 0, False: 20]
  ------------------
 2540|      0|        _PyArg_BadArgument("charmap_build", "argument", "str", arg);
 2541|      0|        goto exit;
 2542|      0|    }
 2543|     20|    map = arg;
 2544|     20|    return_value = _codecs_charmap_build_impl(module, map);
 2545|       |
 2546|     20|exit:
 2547|     20|    return return_value;
 2548|     20|}
_codecsmodule.c:_codecs_iconv_encode:
 2746|    243|{
 2747|    243|    PyObject *return_value = NULL;
 2748|    243|    const char *encoding;
 2749|    243|    PyObject *str;
 2750|    243|    const char *errors = NULL;
 2751|       |
 2752|    243|    if (!_PyArg_CheckPositional("iconv_encode", nargs, 2, 3)) {
  ------------------
  |  |   31|    243|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 243, False: 0]
  |  |  |  Branch (31:27): [True: 243, False: 0]
  |  |  ------------------
  |  |   32|    243|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2753|      0|        goto exit;
 2754|      0|    }
 2755|    243|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|    243|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    243|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2755:9): [True: 0, False: 243]
  ------------------
 2756|      0|        _PyArg_BadArgument("iconv_encode", "argument 1", "str", args[0]);
 2757|      0|        goto exit;
 2758|      0|    }
 2759|    243|    Py_ssize_t encoding_length;
 2760|    243|    encoding = PyUnicode_AsUTF8AndSize(args[0], &encoding_length);
 2761|    243|    if (encoding == NULL) {
  ------------------
  |  Branch (2761:9): [True: 0, False: 243]
  ------------------
 2762|      0|        goto exit;
 2763|      0|    }
 2764|    243|    if (strlen(encoding) != (size_t)encoding_length) {
  ------------------
  |  Branch (2764:9): [True: 0, False: 243]
  ------------------
 2765|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 2766|      0|        goto exit;
 2767|      0|    }
 2768|    243|    if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|    243|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    243|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2768:9): [True: 0, False: 243]
  ------------------
 2769|      0|        _PyArg_BadArgument("iconv_encode", "argument 2", "str", args[1]);
 2770|      0|        goto exit;
 2771|      0|    }
 2772|    243|    str = args[1];
 2773|    243|    if (nargs < 3) {
  ------------------
  |  Branch (2773:9): [True: 243, False: 0]
  ------------------
 2774|    243|        goto skip_optional;
 2775|    243|    }
 2776|      0|    if (args[2] == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2776:9): [True: 0, False: 0]
  ------------------
 2777|      0|        errors = NULL;
 2778|      0|    }
 2779|      0|    else if (PyUnicode_Check(args[2])) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2780|      0|        Py_ssize_t errors_length;
 2781|      0|        errors = PyUnicode_AsUTF8AndSize(args[2], &errors_length);
 2782|      0|        if (errors == NULL) {
  ------------------
  |  Branch (2782:13): [True: 0, False: 0]
  ------------------
 2783|      0|            goto exit;
 2784|      0|        }
 2785|      0|        if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (2785:13): [True: 0, False: 0]
  ------------------
 2786|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
 2787|      0|            goto exit;
 2788|      0|        }
 2789|      0|    }
 2790|      0|    else {
 2791|      0|        _PyArg_BadArgument("iconv_encode", "argument 3", "str or None", args[2]);
 2792|      0|        goto exit;
 2793|      0|    }
 2794|    243|skip_optional:
 2795|    243|    return_value = _codecs_iconv_encode_impl(module, encoding, str, errors);
 2796|       |
 2797|    243|exit:
 2798|    243|    return return_value;
 2799|    243|}
_codecsmodule.c:_codecs_iconv_decode:
 1648|    122|{
 1649|    122|    PyObject *return_value = NULL;
 1650|    122|    const char *encoding;
 1651|    122|    Py_buffer data = {NULL, NULL};
 1652|    122|    const char *errors = NULL;
 1653|    122|    int final = 0;
 1654|       |
 1655|    122|    if (!_PyArg_CheckPositional("iconv_decode", nargs, 2, 4)) {
  ------------------
  |  |   31|    122|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 122, False: 0]
  |  |  |  Branch (31:27): [True: 122, False: 0]
  |  |  ------------------
  |  |   32|    122|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1656|      0|        goto exit;
 1657|      0|    }
 1658|    122|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|    122|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    122|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1658:9): [True: 0, False: 122]
  ------------------
 1659|      0|        _PyArg_BadArgument("iconv_decode", "argument 1", "str", args[0]);
 1660|      0|        goto exit;
 1661|      0|    }
 1662|    122|    Py_ssize_t encoding_length;
 1663|    122|    encoding = PyUnicode_AsUTF8AndSize(args[0], &encoding_length);
 1664|    122|    if (encoding == NULL) {
  ------------------
  |  Branch (1664:9): [True: 0, False: 122]
  ------------------
 1665|      0|        goto exit;
 1666|      0|    }
 1667|    122|    if (strlen(encoding) != (size_t)encoding_length) {
  ------------------
  |  Branch (1667:9): [True: 0, False: 122]
  ------------------
 1668|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 1669|      0|        goto exit;
 1670|      0|    }
 1671|    122|    if (PyObject_GetBuffer(args[1], &data, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|    122|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1671:9): [True: 0, False: 122]
  ------------------
 1672|      0|        goto exit;
 1673|      0|    }
 1674|    122|    if (nargs < 3) {
  ------------------
  |  Branch (1674:9): [True: 0, False: 122]
  ------------------
 1675|      0|        goto skip_optional;
 1676|      0|    }
 1677|    122|    if (args[2] == Py_None) {
  ------------------
  |  |  616|    122|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1677:9): [True: 0, False: 122]
  ------------------
 1678|      0|        errors = NULL;
 1679|      0|    }
 1680|    122|    else if (PyUnicode_Check(args[2])) {
  ------------------
  |  |  103|    122|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    122|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 122, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1681|    122|        Py_ssize_t errors_length;
 1682|    122|        errors = PyUnicode_AsUTF8AndSize(args[2], &errors_length);
 1683|    122|        if (errors == NULL) {
  ------------------
  |  Branch (1683:13): [True: 0, False: 122]
  ------------------
 1684|      0|            goto exit;
 1685|      0|        }
 1686|    122|        if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (1686:13): [True: 0, False: 122]
  ------------------
 1687|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
 1688|      0|            goto exit;
 1689|      0|        }
 1690|    122|    }
 1691|      0|    else {
 1692|      0|        _PyArg_BadArgument("iconv_decode", "argument 3", "str or None", args[2]);
 1693|      0|        goto exit;
 1694|      0|    }
 1695|    122|    if (nargs < 4) {
  ------------------
  |  Branch (1695:9): [True: 0, False: 122]
  ------------------
 1696|      0|        goto skip_optional;
 1697|      0|    }
 1698|    122|    final = PyObject_IsTrue(args[3]);
 1699|    122|    if (final < 0) {
  ------------------
  |  Branch (1699:9): [True: 0, False: 122]
  ------------------
 1700|      0|        goto exit;
 1701|      0|    }
 1702|    122|skip_optional:
 1703|    122|    return_value = _codecs_iconv_decode_impl(module, encoding, &data, errors, final);
 1704|       |
 1705|    122|exit:
 1706|       |    /* Cleanup for data */
 1707|    122|    if (data.obj) {
  ------------------
  |  Branch (1707:9): [True: 122, False: 0]
  ------------------
 1708|    122|       PyBuffer_Release(&data);
 1709|    122|    }
 1710|       |
 1711|    122|    return return_value;
 1712|    122|}
_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|    366|{
 2958|    366|    PyObject *return_value = NULL;
 2959|    366|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 2960|       |
 2961|    366|    #define NUM_KEYWORDS 1
 2962|    366|    static struct {
 2963|    366|        PyGC_Head _this_is_not_used;
 2964|    366|        PyObject_VAR_HEAD
 2965|    366|        Py_hash_t ob_hash;
 2966|    366|        PyObject *ob_item[NUM_KEYWORDS];
 2967|    366|    } _kwtuple = {
 2968|    366|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    366|    {                                     \
  |  |   98|    366|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    366|    {                               \
  |  |  |  |   91|    366|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    366|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    366|#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|    366|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    366|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    366|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    366|        (type)                      \
  |  |  |  |   93|    366|    },
  |  |  ------------------
  |  |   99|    366|        (size)                            \
  |  |  100|    366|    },
  ------------------
 2969|    366|        .ob_hash = -1,
 2970|    366|        .ob_item = { &_Py_ID(encoding), },
  ------------------
  |  |  921|    366|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    366|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    366|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2971|    366|    };
 2972|    366|    #undef NUM_KEYWORDS
 2973|    366|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 2974|       |
 2975|       |    #else  // !Py_BUILD_CORE
 2976|       |    #  define KWTUPLE NULL
 2977|       |    #endif  // !Py_BUILD_CORE
 2978|       |
 2979|    366|    static const char * const _keywords[] = {"encoding", NULL};
 2980|    366|    static _PyArg_Parser _parser = {
 2981|    366|        .keywords = _keywords,
 2982|    366|        .fname = "_normalize_encoding",
 2983|    366|        .kwtuple = KWTUPLE,
  ------------------
  |  | 2973|    366|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 2984|    366|    };
 2985|    366|    #undef KWTUPLE
 2986|    366|    PyObject *argsbuf[1];
 2987|    366|    PyObject *encoding;
 2988|       |
 2989|    366|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    366|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 366, False: 0]
  |  |  ------------------
  |  |   89|    366|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 366, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 366]
  |  |  |  Branch (89:43): [True: 366, False: 0]
  |  |  |  Branch (89:67): [True: 366, False: 0]
  |  |  ------------------
  |  |   90|    366|      (args) : \
  |  |   91|    366|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 2990|    366|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 2991|    366|    if (!args) {
  ------------------
  |  Branch (2991:9): [True: 0, False: 366]
  ------------------
 2992|      0|        goto exit;
 2993|      0|    }
 2994|    366|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|    366|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    366|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2994:9): [True: 0, False: 366]
  ------------------
 2995|      0|        _PyArg_BadArgument("_normalize_encoding", "argument 'encoding'", "str", args[0]);
 2996|      0|        goto exit;
 2997|      0|    }
 2998|    366|    encoding = args[0];
 2999|    366|    return_value = _codecs__normalize_encoding_impl(module, encoding);
 3000|       |
 3001|    366|exit:
 3002|    366|    return return_value;
 3003|    366|}

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

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

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'), },
  ------------------
  |  |  921|     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'), },
  ------------------
  |  |  925|     24|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (925:6): [True: 0, Folded]
  |  |  ------------------
  |  |  926|     24|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  927|     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|    523|{
   47|    523|    PyObject *return_value = NULL;
   48|    523|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   49|       |
   50|    523|    #define NUM_KEYWORDS 3
   51|    523|    static struct {
   52|    523|        PyGC_Head _this_is_not_used;
   53|    523|        PyObject_VAR_HEAD
   54|    523|        Py_hash_t ob_hash;
   55|    523|        PyObject *ob_item[NUM_KEYWORDS];
   56|    523|    } _kwtuple = {
   57|    523|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    523|    {                                     \
  |  |   98|    523|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    523|    {                               \
  |  |  |  |   91|    523|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    523|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    523|#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|    523|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    523|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    523|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    523|        (type)                      \
  |  |  |  |   93|    523|    },
  |  |  ------------------
  |  |   99|    523|        (size)                            \
  |  |  100|    523|    },
  ------------------
   58|    523|        .ob_hash = -1,
   59|    523|        .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), &_Py_ID(follow_symlinks), },
  ------------------
  |  |  921|    523|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    523|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    523|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), &_Py_ID(follow_symlinks), },
  ------------------
  |  |  921|    523|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    523|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    523|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), &_Py_ID(follow_symlinks), },
  ------------------
  |  |  921|    523|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    523|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    523|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   60|    523|    };
   61|    523|    #undef NUM_KEYWORDS
   62|    523|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   63|       |
   64|       |    #else  // !Py_BUILD_CORE
   65|       |    #  define KWTUPLE NULL
   66|       |    #endif  // !Py_BUILD_CORE
   67|       |
   68|    523|    static const char * const _keywords[] = {"path", "dir_fd", "follow_symlinks", NULL};
   69|    523|    static _PyArg_Parser _parser = {
   70|    523|        .keywords = _keywords,
   71|    523|        .fname = "stat",
   72|    523|        .kwtuple = KWTUPLE,
  ------------------
  |  |   62|    523|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   73|    523|    };
   74|    523|    #undef KWTUPLE
   75|    523|    PyObject *argsbuf[3];
   76|    523|    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: 523]
  ------------------
   77|    523|    path_t path = PATH_T_INITIALIZE_P("stat", "path", 0, 0, 0, 1);
  ------------------
  |  | 1377|    523|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1367|    523|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1368|    523|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1378|    523|                      suppress_value_error, allow_fd)
  ------------------
   78|    523|    int dir_fd = DEFAULT_DIR_FD;
  ------------------
  |  | 1150|    523|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
   79|    523|    int follow_symlinks = 1;
   80|       |
   81|    523|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    523|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 523, False: 0]
  |  |  ------------------
  |  |   89|    523|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 523, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 523]
  |  |  |  Branch (89:43): [True: 523, False: 0]
  |  |  |  Branch (89:67): [True: 523, False: 0]
  |  |  ------------------
  |  |   90|    523|      (args) : \
  |  |   91|    523|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   82|    523|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   83|    523|    if (!args) {
  ------------------
  |  Branch (83:9): [True: 0, False: 523]
  ------------------
   84|      0|        goto exit;
   85|      0|    }
   86|    523|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (86:9): [True: 0, False: 523]
  ------------------
   87|      0|        goto exit;
   88|      0|    }
   89|    523|    if (!noptargs) {
  ------------------
  |  Branch (89:9): [True: 523, False: 0]
  ------------------
   90|    523|        goto skip_optional_kwonly;
   91|    523|    }
   92|      0|    if (args[1]) {
  ------------------
  |  Branch (92:9): [True: 0, False: 0]
  ------------------
   93|      0|        if (!FSTATAT_DIR_FD_CONVERTER(args[1], &dir_fd)) {
  ------------------
  |  | 3022|      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|    523|skip_optional_kwonly:
  105|    523|    return_value = os_stat_impl(module, &path, dir_fd, follow_symlinks);
  106|       |
  107|    523|exit:
  108|       |    /* Cleanup for path */
  109|    523|    path_cleanup(&path);
  110|       |
  111|    523|    return return_value;
  112|    523|}
posixmodule.c:os_listdir:
 1776|     10|{
 1777|     10|    PyObject *return_value = NULL;
 1778|     10|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1779|       |
 1780|     10|    #define NUM_KEYWORDS 1
 1781|     10|    static struct {
 1782|     10|        PyGC_Head _this_is_not_used;
 1783|     10|        PyObject_VAR_HEAD
 1784|     10|        Py_hash_t ob_hash;
 1785|     10|        PyObject *ob_item[NUM_KEYWORDS];
 1786|     10|    } _kwtuple = {
 1787|     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|    },
  ------------------
 1788|     10|        .ob_hash = -1,
 1789|     10|        .ob_item = { &_Py_ID(path), },
  ------------------
  |  |  921|     10|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     10|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     10|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1790|     10|    };
 1791|     10|    #undef NUM_KEYWORDS
 1792|     10|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1793|       |
 1794|       |    #else  // !Py_BUILD_CORE
 1795|       |    #  define KWTUPLE NULL
 1796|       |    #endif  // !Py_BUILD_CORE
 1797|       |
 1798|     10|    static const char * const _keywords[] = {"path", NULL};
 1799|     10|    static _PyArg_Parser _parser = {
 1800|     10|        .keywords = _keywords,
 1801|     10|        .fname = "listdir",
 1802|     10|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1792|     10|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1803|     10|    };
 1804|     10|    #undef KWTUPLE
 1805|     10|    PyObject *argsbuf[1];
 1806|     10|    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: 10]
  ------------------
 1807|     10|    path_t path = PATH_T_INITIALIZE_P("listdir", "path", 1, 0, 0, PATH_HAVE_FDOPENDIR);
  ------------------
  |  | 1377|     10|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1367|     10|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1368|     10|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1378|     10|                      suppress_value_error, allow_fd)
  ------------------
 1808|       |
 1809|     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)))
  ------------------
 1810|     10|            /*minpos*/ 0, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1811|     10|    if (!args) {
  ------------------
  |  Branch (1811:9): [True: 0, False: 10]
  ------------------
 1812|      0|        goto exit;
 1813|      0|    }
 1814|     10|    if (!noptargs) {
  ------------------
  |  Branch (1814:9): [True: 0, False: 10]
  ------------------
 1815|      0|        goto skip_optional_pos;
 1816|      0|    }
 1817|     10|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (1817:9): [True: 0, False: 10]
  ------------------
 1818|      0|        goto exit;
 1819|      0|    }
 1820|     10|skip_optional_pos:
 1821|     10|    return_value = os_listdir_impl(module, &path);
 1822|       |
 1823|     10|exit:
 1824|       |    /* Cleanup for path */
 1825|     10|    path_cleanup(&path);
 1826|       |
 1827|     10|    return return_value;
 1828|     10|}
posixmodule.c:os_getegid:
 5218|      2|{
 5219|      2|    return os_getegid_impl(module);
 5220|      2|}
posixmodule.c:os_geteuid:
 5240|      2|{
 5241|      2|    return os_geteuid_impl(module);
 5242|      2|}
posixmodule.c:os_getgid:
 5262|      2|{
 5263|      2|    return os_getgid_impl(module);
 5264|      2|}
posixmodule.c:os_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), },
  ------------------
  |  |  921|     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);
  ------------------
  |  | 1367|     10|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  | 1368|     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:
12537|    260|{
12538|    260|    PyObject *return_value = NULL;
12539|    260|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
12540|       |
12541|    260|    #define NUM_KEYWORDS 1
12542|    260|    static struct {
12543|    260|        PyGC_Head _this_is_not_used;
12544|    260|        PyObject_VAR_HEAD
12545|    260|        Py_hash_t ob_hash;
12546|    260|        PyObject *ob_item[NUM_KEYWORDS];
12547|    260|    } _kwtuple = {
12548|    260|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    260|    {                                     \
  |  |   98|    260|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    260|    {                               \
  |  |  |  |   91|    260|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    260|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    260|#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|    260|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    260|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    260|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    260|        (type)                      \
  |  |  |  |   93|    260|    },
  |  |  ------------------
  |  |   99|    260|        (size)                            \
  |  |  100|    260|    },
  ------------------
12549|    260|        .ob_hash = -1,
12550|    260|        .ob_item = { &_Py_ID(path), },
  ------------------
  |  |  921|    260|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    260|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    260|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12551|    260|    };
12552|    260|    #undef NUM_KEYWORDS
12553|    260|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
12554|       |
12555|       |    #else  // !Py_BUILD_CORE
12556|       |    #  define KWTUPLE NULL
12557|       |    #endif  // !Py_BUILD_CORE
12558|       |
12559|    260|    static const char * const _keywords[] = {"path", NULL};
12560|    260|    static _PyArg_Parser _parser = {
12561|    260|        .keywords = _keywords,
12562|    260|        .fname = "fspath",
12563|    260|        .kwtuple = KWTUPLE,
  ------------------
  |  |12553|    260|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
12564|    260|    };
12565|    260|    #undef KWTUPLE
12566|    260|    PyObject *argsbuf[1];
12567|    260|    PyObject *path;
12568|       |
12569|    260|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    260|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 260, False: 0]
  |  |  ------------------
  |  |   89|    260|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 260, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 260]
  |  |  |  Branch (89:43): [True: 260, False: 0]
  |  |  |  Branch (89:67): [True: 260, False: 0]
  |  |  ------------------
  |  |   90|    260|      (args) : \
  |  |   91|    260|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
12570|    260|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
12571|    260|    if (!args) {
  ------------------
  |  Branch (12571:9): [True: 0, False: 260]
  ------------------
12572|      0|        goto exit;
12573|      0|    }
12574|    260|    path = args[0];
12575|    260|    return_value = os_fspath_impl(module, path);
12576|       |
12577|    260|exit:
12578|    260|    return return_value;
12579|    260|}

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:
 4241|      1|{
 4242|      1|    return PyModuleDef_Init(&itertoolsmodule);
 4243|      1|}
itertoolsmodule.c:get_module_state:
   44|     19|{
   45|     19|    void *state = _PyModule_GetState(mod);
   46|     19|    assert(state != NULL);
  ------------------
  |  Branch (46:5): [True: 19, False: 0]
  ------------------
   47|     19|    return (itertools_state *)state;
   48|     19|}
itertoolsmodule.c:itertoolsmodule_exec:
 4184|      1|{
 4185|      1|    itertools_state *state = get_module_state(mod);
 4186|      1|    ADD_TYPE(mod, state->accumulate_type, &accumulate_spec);
  ------------------
  |  | 4171|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4172|      1|do {                                                                     \
  |  | 4173|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4174|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4174:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4175|      0|        return -1;                                                       \
  |  | 4176|      0|    }                                                                    \
  |  | 4177|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4177:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4178|      0|        return -1;                                                       \
  |  | 4179|      0|    }                                                                    \
  |  | 4180|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4180:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4187|      1|    ADD_TYPE(mod, state->batched_type, &batched_spec);
  ------------------
  |  | 4171|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4172|      1|do {                                                                     \
  |  | 4173|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4174|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4174:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4175|      0|        return -1;                                                       \
  |  | 4176|      0|    }                                                                    \
  |  | 4177|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4177:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4178|      0|        return -1;                                                       \
  |  | 4179|      0|    }                                                                    \
  |  | 4180|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4180:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4188|      1|    ADD_TYPE(mod, state->chain_type, &chain_spec);
  ------------------
  |  | 4171|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4172|      1|do {                                                                     \
  |  | 4173|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4174|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4174:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4175|      0|        return -1;                                                       \
  |  | 4176|      0|    }                                                                    \
  |  | 4177|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4177:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4178|      0|        return -1;                                                       \
  |  | 4179|      0|    }                                                                    \
  |  | 4180|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4180:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4189|      1|    ADD_TYPE(mod, state->combinations_type, &combinations_spec);
  ------------------
  |  | 4171|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4172|      1|do {                                                                     \
  |  | 4173|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4174|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4174:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4175|      0|        return -1;                                                       \
  |  | 4176|      0|    }                                                                    \
  |  | 4177|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4177:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4178|      0|        return -1;                                                       \
  |  | 4179|      0|    }                                                                    \
  |  | 4180|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4180:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4190|      1|    ADD_TYPE(mod, state->compress_type, &compress_spec);
  ------------------
  |  | 4171|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4172|      1|do {                                                                     \
  |  | 4173|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4174|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4174:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4175|      0|        return -1;                                                       \
  |  | 4176|      0|    }                                                                    \
  |  | 4177|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4177:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4178|      0|        return -1;                                                       \
  |  | 4179|      0|    }                                                                    \
  |  | 4180|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4180:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4191|      1|    ADD_TYPE(mod, state->count_type, &count_spec);
  ------------------
  |  | 4171|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4172|      1|do {                                                                     \
  |  | 4173|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4174|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4174:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4175|      0|        return -1;                                                       \
  |  | 4176|      0|    }                                                                    \
  |  | 4177|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4177:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4178|      0|        return -1;                                                       \
  |  | 4179|      0|    }                                                                    \
  |  | 4180|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4180:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4192|      1|    ADD_TYPE(mod, state->cwr_type, &cwr_spec);
  ------------------
  |  | 4171|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4172|      1|do {                                                                     \
  |  | 4173|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4174|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4174:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4175|      0|        return -1;                                                       \
  |  | 4176|      0|    }                                                                    \
  |  | 4177|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4177:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4178|      0|        return -1;                                                       \
  |  | 4179|      0|    }                                                                    \
  |  | 4180|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4180:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4193|      1|    ADD_TYPE(mod, state->cycle_type, &cycle_spec);
  ------------------
  |  | 4171|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4172|      1|do {                                                                     \
  |  | 4173|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4174|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4174:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4175|      0|        return -1;                                                       \
  |  | 4176|      0|    }                                                                    \
  |  | 4177|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4177:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4178|      0|        return -1;                                                       \
  |  | 4179|      0|    }                                                                    \
  |  | 4180|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4180:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4194|      1|    ADD_TYPE(mod, state->dropwhile_type, &dropwhile_spec);
  ------------------
  |  | 4171|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4172|      1|do {                                                                     \
  |  | 4173|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4174|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4174:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4175|      0|        return -1;                                                       \
  |  | 4176|      0|    }                                                                    \
  |  | 4177|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4177:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4178|      0|        return -1;                                                       \
  |  | 4179|      0|    }                                                                    \
  |  | 4180|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4180:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4195|      1|    ADD_TYPE(mod, state->filterfalse_type, &filterfalse_spec);
  ------------------
  |  | 4171|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4172|      1|do {                                                                     \
  |  | 4173|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4174|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4174:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4175|      0|        return -1;                                                       \
  |  | 4176|      0|    }                                                                    \
  |  | 4177|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4177:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4178|      0|        return -1;                                                       \
  |  | 4179|      0|    }                                                                    \
  |  | 4180|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4180:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4196|      1|    ADD_TYPE(mod, state->groupby_type, &groupby_spec);
  ------------------
  |  | 4171|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4172|      1|do {                                                                     \
  |  | 4173|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4174|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4174:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4175|      0|        return -1;                                                       \
  |  | 4176|      0|    }                                                                    \
  |  | 4177|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4177:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4178|      0|        return -1;                                                       \
  |  | 4179|      0|    }                                                                    \
  |  | 4180|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4180:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4197|      1|    ADD_TYPE(mod, state->_grouper_type, &_grouper_spec);
  ------------------
  |  | 4171|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4172|      1|do {                                                                     \
  |  | 4173|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4174|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4174:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4175|      0|        return -1;                                                       \
  |  | 4176|      0|    }                                                                    \
  |  | 4177|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4177:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4178|      0|        return -1;                                                       \
  |  | 4179|      0|    }                                                                    \
  |  | 4180|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4180:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4198|      1|    ADD_TYPE(mod, state->islice_type, &islice_spec);
  ------------------
  |  | 4171|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4172|      1|do {                                                                     \
  |  | 4173|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4174|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4174:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4175|      0|        return -1;                                                       \
  |  | 4176|      0|    }                                                                    \
  |  | 4177|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4177:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4178|      0|        return -1;                                                       \
  |  | 4179|      0|    }                                                                    \
  |  | 4180|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4180:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4199|      1|    ADD_TYPE(mod, state->pairwise_type, &pairwise_spec);
  ------------------
  |  | 4171|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4172|      1|do {                                                                     \
  |  | 4173|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4174|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4174:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4175|      0|        return -1;                                                       \
  |  | 4176|      0|    }                                                                    \
  |  | 4177|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4177:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4178|      0|        return -1;                                                       \
  |  | 4179|      0|    }                                                                    \
  |  | 4180|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4180:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4200|      1|    ADD_TYPE(mod, state->permutations_type, &permutations_spec);
  ------------------
  |  | 4171|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4172|      1|do {                                                                     \
  |  | 4173|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4174|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4174:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4175|      0|        return -1;                                                       \
  |  | 4176|      0|    }                                                                    \
  |  | 4177|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4177:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4178|      0|        return -1;                                                       \
  |  | 4179|      0|    }                                                                    \
  |  | 4180|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4180:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4201|      1|    ADD_TYPE(mod, state->product_type, &product_spec);
  ------------------
  |  | 4171|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4172|      1|do {                                                                     \
  |  | 4173|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4174|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4174:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4175|      0|        return -1;                                                       \
  |  | 4176|      0|    }                                                                    \
  |  | 4177|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4177:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4178|      0|        return -1;                                                       \
  |  | 4179|      0|    }                                                                    \
  |  | 4180|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4180:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4202|      1|    ADD_TYPE(mod, state->repeat_type, &repeat_spec);
  ------------------
  |  | 4171|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4172|      1|do {                                                                     \
  |  | 4173|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4174|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4174:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4175|      0|        return -1;                                                       \
  |  | 4176|      0|    }                                                                    \
  |  | 4177|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4177:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4178|      0|        return -1;                                                       \
  |  | 4179|      0|    }                                                                    \
  |  | 4180|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4180:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4203|      1|    ADD_TYPE(mod, state->starmap_type, &starmap_spec);
  ------------------
  |  | 4171|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4172|      1|do {                                                                     \
  |  | 4173|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4174|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4174:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4175|      0|        return -1;                                                       \
  |  | 4176|      0|    }                                                                    \
  |  | 4177|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4177:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4178|      0|        return -1;                                                       \
  |  | 4179|      0|    }                                                                    \
  |  | 4180|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4180:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4204|      1|    ADD_TYPE(mod, state->takewhile_type, &takewhile_spec);
  ------------------
  |  | 4171|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4172|      1|do {                                                                     \
  |  | 4173|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4174|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4174:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4175|      0|        return -1;                                                       \
  |  | 4176|      0|    }                                                                    \
  |  | 4177|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4177:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4178|      0|        return -1;                                                       \
  |  | 4179|      0|    }                                                                    \
  |  | 4180|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4180:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4205|      1|    ADD_TYPE(mod, state->tee_type, &tee_spec);
  ------------------
  |  | 4171|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4172|      1|do {                                                                     \
  |  | 4173|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4174|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4174:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4175|      0|        return -1;                                                       \
  |  | 4176|      0|    }                                                                    \
  |  | 4177|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4177:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4178|      0|        return -1;                                                       \
  |  | 4179|      0|    }                                                                    \
  |  | 4180|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4180:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4206|      1|    ADD_TYPE(mod, state->teedataobject_type, &teedataobject_spec);
  ------------------
  |  | 4171|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4172|      1|do {                                                                     \
  |  | 4173|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4174|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4174:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4175|      0|        return -1;                                                       \
  |  | 4176|      0|    }                                                                    \
  |  | 4177|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4177:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4178|      0|        return -1;                                                       \
  |  | 4179|      0|    }                                                                    \
  |  | 4180|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4180:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4207|      1|    ADD_TYPE(mod, state->ziplongest_type, &ziplongest_spec);
  ------------------
  |  | 4171|      1|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4172|      1|do {                                                                     \
  |  | 4173|      1|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4174|      1|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4174:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4175|      0|        return -1;                                                       \
  |  | 4176|      0|    }                                                                    \
  |  | 4177|      1|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4177:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 4178|      0|        return -1;                                                       \
  |  | 4179|      0|    }                                                                    \
  |  | 4180|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (4180:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4208|       |
 4209|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4210|      1|    return 0;
 4211|      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:
 4109|     18|{
 4110|     18|    itertools_state *state = get_module_state(mod);
 4111|     18|    Py_VISIT(state->accumulate_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 4112|     18|    Py_VISIT(state->batched_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 4113|     18|    Py_VISIT(state->chain_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 4114|     18|    Py_VISIT(state->combinations_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 4115|     18|    Py_VISIT(state->compress_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 4116|     18|    Py_VISIT(state->count_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 4117|     18|    Py_VISIT(state->cwr_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 4118|     18|    Py_VISIT(state->cycle_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 4119|     18|    Py_VISIT(state->dropwhile_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 4120|     18|    Py_VISIT(state->filterfalse_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 4121|     18|    Py_VISIT(state->groupby_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 4122|     18|    Py_VISIT(state->_grouper_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 4123|     18|    Py_VISIT(state->islice_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 4124|     18|    Py_VISIT(state->pairwise_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 4125|     18|    Py_VISIT(state->permutations_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 4126|     18|    Py_VISIT(state->product_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 4127|     18|    Py_VISIT(state->repeat_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 4128|     18|    Py_VISIT(state->starmap_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 4129|     18|    Py_VISIT(state->takewhile_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 4130|     18|    Py_VISIT(state->tee_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 4131|     18|    Py_VISIT(state->teedataobject_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 4132|     18|    Py_VISIT(state->ziplongest_type);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 4133|     18|    return 0;
 4134|     18|}

_PyLong_FromUid:
  855|    505|{
  856|    505|    if (uid == (uid_t)-1)
  ------------------
  |  Branch (856:9): [True: 0, False: 505]
  ------------------
  857|      0|        return PyLong_FromLong(-1);
  858|    505|    return PyLong_FromUnsignedLong(uid);
  859|    505|}
_PyLong_FromGid:
  863|    505|{
  864|    505|    if (gid == (gid_t)-1)
  ------------------
  |  Branch (864:9): [True: 0, False: 505]
  ------------------
  865|      0|        return PyLong_FromLong(-1);
  866|    505|    return PyLong_FromUnsignedLong(gid);
  867|    505|}
PyOS_FSPath:
17324|  5.93k|{
17325|       |    /* For error message reasons, this function is manually inlined in
17326|       |       path_converter(). */
17327|  5.93k|    PyObject *func = NULL;
17328|  5.93k|    PyObject *path_repr = NULL;
17329|       |
17330|  5.93k|    if (PyUnicode_Check(path) || PyBytes_Check(path)) {
  ------------------
  |  |  103|  5.93k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  11.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 5.93k, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17331|  5.93k|        return Py_NewRef(path);
  ------------------
  |  |  550|  5.93k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17332|  5.93k|    }
17333|       |
17334|      0|    func = _PyObject_LookupSpecial(path, &_Py_ID(__fspath__));
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17335|      0|    if ((NULL == func) || (func == Py_None)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (17335:9): [True: 0, False: 0]
  |  Branch (17335:27): [True: 0, False: 0]
  ------------------
17336|      0|        return PyErr_Format(PyExc_TypeError,
17337|      0|                            "expected str, bytes or os.PathLike object, "
17338|      0|                            "not %.200s",
17339|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17340|      0|    }
17341|       |
17342|      0|    path_repr = _PyObject_CallNoArgs(func);
17343|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17344|      0|    if (NULL == path_repr) {
  ------------------
  |  Branch (17344:9): [True: 0, False: 0]
  ------------------
17345|      0|        return NULL;
17346|      0|    }
17347|       |
17348|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17349|      0|        PyErr_Format(PyExc_TypeError,
17350|      0|                     "expected %.200s.__fspath__() to return str or bytes, "
17351|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17352|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17353|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17354|      0|        return NULL;
17355|      0|    }
17356|       |
17357|      0|    return path_repr;
17358|      0|}
PyInit_posix:
19084|      2|{
19085|      2|    return PyModuleDef_Init(&posixmodule);
19086|      2|}
posixmodule.c:path_converter:
 1393|    543|{
 1394|    543|    path_t *path = (path_t *)p;
 1395|    543|    PyObject *bytes = NULL;
 1396|    543|    Py_ssize_t length = 0;
 1397|    543|    int is_index, is_bytes, is_unicode;
 1398|    543|    const char *narrow;
 1399|    543|    PyObject *wo = NULL;
 1400|    543|    wchar_t *wide = NULL;
 1401|       |
 1402|    543|#define FORMAT_EXCEPTION(exc, fmt) \
 1403|    543|    PyErr_Format(exc, "%s%s" fmt, \
 1404|    543|        path->function_name ? path->function_name : "", \
 1405|    543|        path->function_name ? ": "                : "", \
 1406|    543|        path->argument_name ? path->argument_name : "path")
 1407|       |
 1408|       |    /* Py_CLEANUP_SUPPORTED support */
 1409|    543|    if (o == NULL) {
  ------------------
  |  Branch (1409:9): [True: 0, False: 543]
  ------------------
 1410|      0|        path_cleanup(path);
 1411|      0|        return 1;
 1412|      0|    }
 1413|       |
 1414|       |    /* Ensure it's always safe to call path_cleanup(). */
 1415|    543|    path->object = path->cleanup = NULL;
 1416|       |    /* path->object owns a reference to the original object */
 1417|    543|    Py_INCREF(o);
  ------------------
  |  |  310|    543|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    543|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    543|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1418|       |
 1419|    543|    if ((o == Py_None) && path->nullable) {
  ------------------
  |  |  616|    543|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1419:9): [True: 0, False: 543]
  |  Branch (1419:27): [True: 0, False: 0]
  ------------------
 1420|      0|        path->wide = NULL;
 1421|      0|        path->narrow = NULL;
 1422|      0|        path->fd = -1;
 1423|      0|        goto success_exit;
 1424|      0|    }
 1425|       |
 1426|       |    /* Only call this here so that we don't treat the return value of
 1427|       |       os.fspath() as an fd or buffer. */
 1428|    543|    is_index = path->allow_fd && PyIndex_Check(o);
  ------------------
  |  Branch (1428:16): [True: 533, False: 10]
  |  Branch (1428:34): [True: 0, False: 533]
  ------------------
 1429|    543|    is_bytes = PyBytes_Check(o);
  ------------------
  |  |   28|    543|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    543|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
 1430|    543|    is_unicode = PyUnicode_Check(o);
  ------------------
  |  |  103|    543|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    543|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
 1431|       |
 1432|    543|    if (!is_index && !is_unicode && !is_bytes) {
  ------------------
  |  Branch (1432:9): [True: 543, False: 0]
  |  Branch (1432:22): [True: 0, False: 543]
  |  Branch (1432:37): [True: 0, False: 0]
  ------------------
 1433|       |        /* Inline PyOS_FSPath() for better error messages. */
 1434|      0|        PyObject *func, *res;
 1435|       |
 1436|      0|        func = _PyObject_LookupSpecial(o, &_Py_ID(__fspath__));
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1437|      0|        if ((NULL == func) || (func == Py_None)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1437:13): [True: 0, False: 0]
  |  Branch (1437:31): [True: 0, False: 0]
  ------------------
 1438|      0|            goto error_format;
 1439|      0|        }
 1440|      0|        res = _PyObject_CallNoArgs(func);
 1441|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1442|      0|        if (NULL == res) {
  ------------------
  |  Branch (1442:13): [True: 0, False: 0]
  ------------------
 1443|      0|            goto error_exit;
 1444|      0|        }
 1445|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1446|      0|            is_unicode = 1;
 1447|      0|        }
 1448|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1449|      0|            is_bytes = 1;
 1450|      0|        }
 1451|      0|        else {
 1452|      0|            PyErr_Format(PyExc_TypeError,
 1453|      0|                 "expected %.200s.__fspath__() to return str or bytes, "
 1454|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1455|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1456|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1457|      0|            goto error_exit;
 1458|      0|        }
 1459|       |
 1460|       |        /* still owns a reference to the original object */
 1461|      0|        Py_SETREF(o, res);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1462|      0|    }
 1463|       |
 1464|    543|    if (is_unicode) {
  ------------------
  |  Branch (1464:9): [True: 543, False: 0]
  ------------------
 1465|    543|        if (path->make_wide) {
  ------------------
  |  Branch (1465:13): [True: 10, False: 533]
  ------------------
 1466|     10|            wide = PyUnicode_AsWideCharString(o, &length);
 1467|     10|            if (!wide) {
  ------------------
  |  Branch (1467:17): [True: 0, False: 10]
  ------------------
 1468|      0|                goto error_exit;
 1469|      0|            }
 1470|       |#ifdef MS_WINDOWS
 1471|       |            if (!path->nonstrict && length > 32767) {
 1472|       |                FORMAT_EXCEPTION(PyExc_ValueError, "%s too long for Windows");
 1473|       |                goto error_exit;
 1474|       |            }
 1475|       |#endif
 1476|     10|            if (!path->nonstrict && wcslen(wide) != (size_t)length) {
  ------------------
  |  Branch (1476:17): [True: 0, False: 10]
  |  Branch (1476:37): [True: 0, False: 0]
  ------------------
 1477|      0|                FORMAT_EXCEPTION(PyExc_ValueError,
  ------------------
  |  | 1403|      0|    PyErr_Format(exc, "%s%s" fmt, \
  |  | 1404|      0|        path->function_name ? path->function_name : "", \
  |  |  ------------------
  |  |  |  Branch (1404:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1405|      0|        path->function_name ? ": "                : "", \
  |  |  ------------------
  |  |  |  Branch (1405:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1406|      0|        path->argument_name ? path->argument_name : "path")
  |  |  ------------------
  |  |  |  Branch (1406:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1478|      0|                                 "embedded null character in %s");
 1479|      0|                goto error_exit;
 1480|      0|            }
 1481|       |
 1482|     10|            path->wide = wide;
 1483|     10|            path->narrow = NULL;
 1484|     10|            path->fd = -1;
 1485|     10|            wide = NULL;
 1486|     10|            goto success_exit;
 1487|     10|        }
 1488|    533|        bytes = PyUnicode_EncodeFSDefault(o);
 1489|    533|        if (!bytes) {
  ------------------
  |  Branch (1489:13): [True: 0, False: 533]
  ------------------
 1490|      0|            goto error_exit;
 1491|      0|        }
 1492|    533|    }
 1493|      0|    else if (is_bytes) {
  ------------------
  |  Branch (1493:14): [True: 0, False: 0]
  ------------------
 1494|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1495|      0|    }
 1496|      0|    else if (is_index) {
  ------------------
  |  Branch (1496:14): [True: 0, False: 0]
  ------------------
 1497|      0|        if (!_fd_converter(o, &path->fd)) {
  ------------------
  |  Branch (1497:13): [True: 0, False: 0]
  ------------------
 1498|      0|            goto error_exit;
 1499|      0|        }
 1500|      0|        path->wide = NULL;
 1501|      0|        path->narrow = NULL;
 1502|      0|        path->is_fd = true;
 1503|      0|        goto success_exit;
 1504|      0|    }
 1505|      0|    else {
 1506|      0| error_format:
 1507|      0|        PyErr_Format(PyExc_TypeError, "%s%s%s should be %s, not %.200s",
 1508|      0|            path->function_name ? path->function_name : "",
  ------------------
  |  Branch (1508:13): [True: 0, False: 0]
  ------------------
 1509|      0|            path->function_name ? ": "                : "",
  ------------------
  |  Branch (1509:13): [True: 0, False: 0]
  ------------------
 1510|      0|            path->argument_name ? path->argument_name : "path",
  ------------------
  |  Branch (1510:13): [True: 0, False: 0]
  ------------------
 1511|      0|            path->allow_fd && path->nullable ? "string, bytes, os.PathLike, "
  ------------------
  |  Branch (1511:13): [True: 0, False: 0]
  |  Branch (1511:31): [True: 0, False: 0]
  ------------------
 1512|      0|                                               "integer or None" :
 1513|      0|            path->allow_fd ? "string, bytes, os.PathLike or integer" :
  ------------------
  |  Branch (1513:13): [True: 0, False: 0]
  ------------------
 1514|      0|            path->nullable ? "string, bytes, os.PathLike or None" :
  ------------------
  |  Branch (1514:13): [True: 0, False: 0]
  ------------------
 1515|      0|                             "string, bytes or os.PathLike",
 1516|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1517|      0|        goto error_exit;
 1518|      0|    }
 1519|       |
 1520|    533|    length = PyBytes_GET_SIZE(bytes);
  ------------------
  |  |   33|    533|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    533|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    533|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1521|    533|    narrow = PyBytes_AS_STRING(bytes);
  ------------------
  |  |   27|    533|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    533|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    533|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1522|    533|    if (!path->nonstrict && strlen(narrow) != (size_t)length) {
  ------------------
  |  Branch (1522:9): [True: 533, False: 0]
  |  Branch (1522:29): [True: 0, False: 533]
  ------------------
 1523|      0|        FORMAT_EXCEPTION(PyExc_ValueError, "embedded null character in %s");
  ------------------
  |  | 1403|      0|    PyErr_Format(exc, "%s%s" fmt, \
  |  | 1404|      0|        path->function_name ? path->function_name : "", \
  |  |  ------------------
  |  |  |  Branch (1404:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1405|      0|        path->function_name ? ": "                : "", \
  |  |  ------------------
  |  |  |  Branch (1405:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1406|      0|        path->argument_name ? path->argument_name : "path")
  |  |  ------------------
  |  |  |  Branch (1406:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1524|      0|        goto error_exit;
 1525|      0|    }
 1526|       |
 1527|    533|    if (path->make_wide) {
  ------------------
  |  Branch (1527:9): [True: 0, False: 533]
  ------------------
 1528|      0|        wo = PyUnicode_DecodeFSDefaultAndSize(narrow, length);
 1529|      0|        if (!wo) {
  ------------------
  |  Branch (1529:13): [True: 0, False: 0]
  ------------------
 1530|      0|            goto error_exit;
 1531|      0|        }
 1532|       |
 1533|      0|        wide = PyUnicode_AsWideCharString(wo, &length);
 1534|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1535|      0|        if (!wide) {
  ------------------
  |  Branch (1535:13): [True: 0, False: 0]
  ------------------
 1536|      0|            goto error_exit;
 1537|      0|        }
 1538|       |#ifdef MS_WINDOWS
 1539|       |        if (!path->nonstrict && length > 32767) {
 1540|       |            FORMAT_EXCEPTION(PyExc_ValueError, "%s too long for Windows");
 1541|       |            goto error_exit;
 1542|       |        }
 1543|       |#endif
 1544|      0|        if (!path->nonstrict && wcslen(wide) != (size_t)length) {
  ------------------
  |  Branch (1544:13): [True: 0, False: 0]
  |  Branch (1544:33): [True: 0, False: 0]
  ------------------
 1545|      0|            FORMAT_EXCEPTION(PyExc_ValueError,
  ------------------
  |  | 1403|      0|    PyErr_Format(exc, "%s%s" fmt, \
  |  | 1404|      0|        path->function_name ? path->function_name : "", \
  |  |  ------------------
  |  |  |  Branch (1404:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1405|      0|        path->function_name ? ": "                : "", \
  |  |  ------------------
  |  |  |  Branch (1405:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1406|      0|        path->argument_name ? path->argument_name : "path")
  |  |  ------------------
  |  |  |  Branch (1406:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1546|      0|                             "embedded null character in %s");
 1547|      0|            goto error_exit;
 1548|      0|        }
 1549|      0|        path->wide = wide;
 1550|      0|        path->narrow = NULL;
 1551|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1552|      0|        wide = NULL;
 1553|      0|    }
 1554|    533|    else {
 1555|    533|        path->wide = NULL;
 1556|    533|        path->narrow = narrow;
 1557|    533|        if (bytes == o) {
  ------------------
  |  Branch (1557:13): [True: 0, False: 533]
  ------------------
 1558|       |            /* Still a reference owned by path->object, don't have to
 1559|       |            worry about path->narrow is used after free. */
 1560|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1561|      0|        }
 1562|    533|        else {
 1563|    533|            path->cleanup = bytes;
 1564|    533|        }
 1565|    533|    }
 1566|    533|    path->fd = -1;
 1567|       |
 1568|    543| success_exit:
 1569|    543|    path->value_error = 0;
 1570|    543|    path->length = length;
 1571|    543|    path->object = o;
 1572|    543|    return Py_CLEANUP_SUPPORTED;
  ------------------
  |  |   57|    543|#define Py_CLEANUP_SUPPORTED 0x20000
  ------------------
 1573|       |
 1574|      0| error_exit:
 1575|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1576|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1577|      0|    PyMem_Free(wide);
 1578|      0|    if (!path->suppress_value_error ||
  ------------------
  |  Branch (1578:9): [True: 0, False: 0]
  ------------------
 1579|      0|        !PyErr_ExceptionMatches(PyExc_ValueError))
  ------------------
  |  Branch (1579:9): [True: 0, False: 0]
  ------------------
 1580|      0|    {
 1581|      0|        return 0;
 1582|      0|    }
 1583|      0|    PyErr_Clear();
 1584|      0|    path->wide = NULL;
 1585|      0|    path->narrow = NULL;
 1586|      0|    path->fd = -1;
 1587|      0|    path->value_error = 1;
 1588|      0|    path->length = 0;
 1589|      0|    path->object = NULL;
 1590|      0|    return Py_CLEANUP_SUPPORTED;
  ------------------
  |  |   57|      0|#define Py_CLEANUP_SUPPORTED 0x20000
  ------------------
 1591|      0|}
posixmodule.c:dir_fd_converter:
 1194|      4|{
 1195|      4|    if (o == Py_None) {
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1195:9): [True: 4, False: 0]
  ------------------
 1196|      4|        *(int *)p = DEFAULT_DIR_FD;
  ------------------
  |  | 1150|      4|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
 1197|      4|        return 1;
 1198|      4|    }
 1199|      0|    else if (PyIndex_Check(o)) {
  ------------------
  |  Branch (1199:14): [True: 0, False: 0]
  ------------------
 1200|      0|        return _fd_converter(o, (int *)p);
 1201|      0|    }
 1202|      0|    else {
 1203|      0|        PyErr_Format(PyExc_TypeError,
 1204|      0|                     "argument should be integer or None, not %.200s",
 1205|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1206|      0|        return 0;
 1207|      0|    }
 1208|      4|}
posixmodule.c:os_stat_impl:
 3318|    523|{
 3319|    523|    return posix_do_stat(module, "stat", path, dir_fd, follow_symlinks);
 3320|    523|}
posixmodule.c:posix_do_stat:
 2890|    523|{
 2891|    523|    STRUCT_STAT st;
  ------------------
  |  |  411|    523|#  define STRUCT_STAT struct stat
  ------------------
 2892|    523|    int result;
 2893|       |
 2894|    523|#ifdef HAVE_FSTATAT
 2895|    523|    int fstatat_unavailable = 0;
 2896|    523|#endif
 2897|       |
 2898|       |#if !defined(MS_WINDOWS) && !defined(HAVE_FSTATAT) && !defined(HAVE_LSTAT)
 2899|       |    if (follow_symlinks_specified(function_name, follow_symlinks))
 2900|       |        return NULL;
 2901|       |#endif
 2902|       |
 2903|    523|    if (path_and_dir_fd_invalid("stat", path, dir_fd) ||
  ------------------
  |  Branch (2903:9): [True: 0, False: 523]
  ------------------
 2904|    523|        dir_fd_and_fd_invalid("stat", dir_fd, path->fd) ||
  ------------------
  |  Branch (2904:9): [True: 0, False: 523]
  ------------------
 2905|    523|        fd_and_follow_symlinks_invalid("stat", path->is_fd, follow_symlinks))
  ------------------
  |  Branch (2905:9): [True: 0, False: 523]
  ------------------
 2906|      0|        return NULL;
 2907|       |
 2908|    523|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|    523|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|    523|                        PyThreadState *_save; \
  |  |  121|    523|                        _save = PyEval_SaveThread();
  ------------------
 2909|    523|    if (path->is_fd) {
  ------------------
  |  Branch (2909:9): [True: 0, False: 523]
  ------------------
 2910|      0|        result = FSTAT(path->fd, &st);
  ------------------
  |  |  410|      0|#  define FSTAT fstat
  ------------------
 2911|      0|    }
 2912|       |#ifdef MS_WINDOWS
 2913|       |    else if (follow_symlinks)
 2914|       |        result = win32_stat(path->wide, &st);
 2915|       |    else
 2916|       |        result = win32_lstat(path->wide, &st);
 2917|       |#else
 2918|    523|    else
 2919|    523|#if defined(HAVE_LSTAT)
 2920|    523|    if ((!follow_symlinks) && (dir_fd == DEFAULT_DIR_FD))
  ------------------
  |  | 1150|      0|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (2920:9): [True: 0, False: 523]
  |  Branch (2920:31): [True: 0, False: 0]
  ------------------
 2921|      0|        result = LSTAT(path->narrow, &st);
  ------------------
  |  |  409|      0|#  define LSTAT lstat
  ------------------
 2922|    523|    else
 2923|    523|#endif /* HAVE_LSTAT */
 2924|    523|#ifdef HAVE_FSTATAT
 2925|    523|    if ((dir_fd != DEFAULT_DIR_FD) || !follow_symlinks) {
  ------------------
  |  | 1150|    523|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (2925:9): [True: 0, False: 523]
  |  Branch (2925:39): [True: 0, False: 523]
  ------------------
 2926|      0|        if (HAVE_FSTATAT_RUNTIME) {
  ------------------
  |  |  610|      0|#  define HAVE_FSTATAT_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (610:32): [True: 0, Folded]
  |  |  ------------------
  ------------------
 2927|      0|            result = fstatat(dir_fd, path->narrow, &st,
 2928|      0|                         follow_symlinks ? 0 : AT_SYMLINK_NOFOLLOW);
  ------------------
  |  Branch (2928:26): [True: 0, False: 0]
  ------------------
 2929|       |
 2930|      0|        } else {
 2931|      0|            fstatat_unavailable = 1;
 2932|      0|        }
 2933|      0|    } else
 2934|    523|#endif /* HAVE_FSTATAT */
 2935|    523|        result = STAT(path->narrow, &st);
  ------------------
  |  |  408|    523|#  define STAT stat
  ------------------
 2936|    523|#endif /* MS_WINDOWS */
 2937|    523|    Py_END_ALLOW_THREADS
  ------------------
  |  |  124|    523|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|    523|                 }
  ------------------
 2938|       |
 2939|    523|#ifdef HAVE_FSTATAT
 2940|    523|    if (fstatat_unavailable) {
  ------------------
  |  Branch (2940:9): [True: 0, False: 523]
  ------------------
 2941|      0|        argument_unavailable_error("stat", "dir_fd");
 2942|      0|        return NULL;
 2943|      0|    }
 2944|    523|#endif
 2945|       |
 2946|    523|    if (result != 0) {
  ------------------
  |  Branch (2946:9): [True: 22, False: 501]
  ------------------
 2947|     22|        return path_error(path);
 2948|     22|    }
 2949|       |
 2950|    501|    return _pystat_fromstructstat(module, &st);
 2951|    523|}
posixmodule.c:path_and_dir_fd_invalid:
 1639|    523|{
 1640|    523|    if (!path->wide && (dir_fd != DEFAULT_DIR_FD) && !path->narrow) {
  ------------------
  |  | 1150|    523|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (1640:9): [True: 523, False: 0]
  |  Branch (1640:24): [True: 0, False: 523]
  |  Branch (1640:54): [True: 0, False: 0]
  ------------------
 1641|      0|        PyErr_Format(PyExc_ValueError,
 1642|      0|                     "%s: can't specify dir_fd without matching path",
 1643|      0|                     function_name);
 1644|      0|        return 1;
 1645|      0|    }
 1646|    523|    return 0;
 1647|    523|}
posixmodule.c:dir_fd_and_fd_invalid:
 1651|    523|{
 1652|    523|    if ((dir_fd != DEFAULT_DIR_FD) && (fd != -1)) {
  ------------------
  |  | 1150|    523|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (1652:9): [True: 0, False: 523]
  |  Branch (1652:39): [True: 0, False: 0]
  ------------------
 1653|      0|        PyErr_Format(PyExc_ValueError,
 1654|      0|                     "%s: can't specify both dir_fd and fd",
 1655|      0|                     function_name);
 1656|      0|        return 1;
 1657|      0|    }
 1658|    523|    return 0;
 1659|    523|}
posixmodule.c:fd_and_follow_symlinks_invalid:
 1664|    523|{
 1665|    523|    if (is_fd && (!follow_symlinks)) {
  ------------------
  |  Branch (1665:9): [True: 0, False: 523]
  |  Branch (1665:18): [True: 0, False: 0]
  ------------------
 1666|      0|        PyErr_Format(PyExc_ValueError,
 1667|      0|                     "%s: cannot use fd and follow_symlinks together",
 1668|      0|                     function_name);
 1669|      0|        return 1;
 1670|      0|    }
 1671|    523|    return 0;
 1672|    523|}
posixmodule.c:path_error:
 1947|     22|{
 1948|     22|    return path_object_error(path->object);
 1949|     22|}
posixmodule.c:path_object_error:
 1925|     22|{
 1926|       |#ifdef MS_WINDOWS
 1927|       |    return PyErr_SetExcFromWindowsErrWithFilenameObject(
 1928|       |                PyExc_OSError, 0, path);
 1929|       |#else
 1930|     22|    return posix_path_object_error(path);
 1931|     22|#endif
 1932|     22|}
posixmodule.c:posix_path_object_error:
 1919|     22|{
 1920|     22|    return PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, path);
 1921|     22|}
posixmodule.c:_pystat_fromstructstat:
 2763|    501|{
 2764|    501|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2764:5): [True: 501, False: 0]
  ------------------
 2765|       |
 2766|    501|    _posixstate *state = get_posix_state(module);
 2767|    501|    PyObject *StatResultType = state->StatResultType;
 2768|    501|    PyObject *v = PyStructSequence_New((PyTypeObject *)StatResultType);
 2769|    501|    if (v == NULL) {
  ------------------
  |  Branch (2769:9): [True: 0, False: 501]
  ------------------
 2770|      0|        return NULL;
 2771|      0|    }
 2772|       |
 2773|    501|#define SET_ITEM(pos, expr) \
 2774|    501|    do { \
 2775|    501|        PyObject *obj = (expr); \
 2776|    501|        if (obj == NULL) { \
 2777|    501|            goto error; \
 2778|    501|        } \
 2779|    501|        PyStructSequence_SET_ITEM(v, (pos), obj); \
 2780|    501|    } while (0)
 2781|       |
 2782|    501|    SET_ITEM(0, PyLong_FromLong((long)st->st_mode));
  ------------------
  |  | 2774|    501|    do { \
  |  | 2775|    501|        PyObject *obj = (expr); \
  |  | 2776|    501|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2776:13): [True: 0, False: 501]
  |  |  ------------------
  |  | 2777|      0|            goto error; \
  |  | 2778|      0|        } \
  |  | 2779|    501|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    501|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2780|    501|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2780:14): [Folded, False: 501]
  |  |  ------------------
  ------------------
 2783|       |#ifdef MS_WINDOWS
 2784|       |    SET_ITEM(1, _pystat_l128_from_l64_l64(st->st_ino, st->st_ino_high));
 2785|       |    SET_ITEM(2, PyLong_FromUnsignedLongLong(st->st_dev));
 2786|       |#else
 2787|    501|    static_assert(sizeof(unsigned long long) >= sizeof(st->st_ino),
 2788|    501|                  "stat.st_ino is larger than unsigned long long");
 2789|    501|    SET_ITEM(1, PyLong_FromUnsignedLongLong(st->st_ino));
  ------------------
  |  | 2774|    501|    do { \
  |  | 2775|    501|        PyObject *obj = (expr); \
  |  | 2776|    501|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2776:13): [True: 0, False: 501]
  |  |  ------------------
  |  | 2777|      0|            goto error; \
  |  | 2778|      0|        } \
  |  | 2779|    501|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    501|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2780|    501|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2780:14): [Folded, False: 501]
  |  |  ------------------
  ------------------
 2790|    501|    SET_ITEM(2, _PyLong_FromDev(st->st_dev));
  ------------------
  |  | 2774|    501|    do { \
  |  | 2775|    501|        PyObject *obj = (expr); \
  |  | 2776|    501|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2776:13): [True: 0, False: 501]
  |  |  ------------------
  |  | 2777|      0|            goto error; \
  |  | 2778|      0|        } \
  |  | 2779|    501|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    501|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2780|    501|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2780:14): [Folded, False: 501]
  |  |  ------------------
  ------------------
 2791|    501|#endif
 2792|    501|    SET_ITEM(3, PyLong_FromLong((long)st->st_nlink));
  ------------------
  |  | 2774|    501|    do { \
  |  | 2775|    501|        PyObject *obj = (expr); \
  |  | 2776|    501|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2776:13): [True: 0, False: 501]
  |  |  ------------------
  |  | 2777|      0|            goto error; \
  |  | 2778|      0|        } \
  |  | 2779|    501|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    501|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2780|    501|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2780:14): [Folded, False: 501]
  |  |  ------------------
  ------------------
 2793|       |#if defined(MS_WINDOWS)
 2794|       |    SET_ITEM(4, PyLong_FromLong(0));
 2795|       |    SET_ITEM(5, PyLong_FromLong(0));
 2796|       |#else
 2797|    501|    SET_ITEM(4, _PyLong_FromUid(st->st_uid));
  ------------------
  |  | 2774|    501|    do { \
  |  | 2775|    501|        PyObject *obj = (expr); \
  |  | 2776|    501|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2776:13): [True: 0, False: 501]
  |  |  ------------------
  |  | 2777|      0|            goto error; \
  |  | 2778|      0|        } \
  |  | 2779|    501|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    501|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2780|    501|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2780:14): [Folded, False: 501]
  |  |  ------------------
  ------------------
 2798|    501|    SET_ITEM(5, _PyLong_FromGid(st->st_gid));
  ------------------
  |  | 2774|    501|    do { \
  |  | 2775|    501|        PyObject *obj = (expr); \
  |  | 2776|    501|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2776:13): [True: 0, False: 501]
  |  |  ------------------
  |  | 2777|      0|            goto error; \
  |  | 2778|      0|        } \
  |  | 2779|    501|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    501|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2780|    501|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2780:14): [Folded, False: 501]
  |  |  ------------------
  ------------------
 2799|    501|#endif
 2800|    501|    static_assert(sizeof(long long) >= sizeof(st->st_size),
 2801|    501|                  "stat.st_size is larger than long long");
 2802|    501|    SET_ITEM(6, PyLong_FromLongLong(st->st_size));
  ------------------
  |  | 2774|    501|    do { \
  |  | 2775|    501|        PyObject *obj = (expr); \
  |  | 2776|    501|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2776:13): [True: 0, False: 501]
  |  |  ------------------
  |  | 2777|      0|            goto error; \
  |  | 2778|      0|        } \
  |  | 2779|    501|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    501|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2780|    501|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2780:14): [Folded, False: 501]
  |  |  ------------------
  ------------------
 2803|       |
 2804|       |    // Set st_atime, st_mtime and st_ctime
 2805|    501|    unsigned long ansec, mnsec, cnsec;
 2806|    501|#if defined(HAVE_STAT_TV_NSEC)
 2807|    501|    ansec = st->st_atim.tv_nsec;
 2808|    501|    mnsec = st->st_mtim.tv_nsec;
 2809|    501|    cnsec = st->st_ctim.tv_nsec;
 2810|       |#elif defined(HAVE_STAT_TV_NSEC2)
 2811|       |    ansec = st->st_atimespec.tv_nsec;
 2812|       |    mnsec = st->st_mtimespec.tv_nsec;
 2813|       |    cnsec = st->st_ctimespec.tv_nsec;
 2814|       |#elif defined(HAVE_STAT_NSEC)
 2815|       |    ansec = st->st_atime_nsec;
 2816|       |    mnsec = st->st_mtime_nsec;
 2817|       |    cnsec = st->st_ctime_nsec;
 2818|       |#else
 2819|       |    ansec = mnsec = cnsec = 0;
 2820|       |#endif
 2821|    501|    if (fill_time(state, v, 7, 10, 13, st->st_atime, ansec) < 0) {
  ------------------
  |  Branch (2821:9): [True: 0, False: 501]
  ------------------
 2822|      0|        goto error;
 2823|      0|    }
 2824|    501|    if (fill_time(state, v, 8, 11, 14, st->st_mtime, mnsec) < 0) {
  ------------------
  |  Branch (2824:9): [True: 0, False: 501]
  ------------------
 2825|      0|        goto error;
 2826|      0|    }
 2827|    501|    if (fill_time(state, v, 9, 12, 15, st->st_ctime, cnsec) < 0) {
  ------------------
  |  Branch (2827:9): [True: 0, False: 501]
  ------------------
 2828|      0|        goto error;
 2829|      0|    }
 2830|       |
 2831|    501|#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE
 2832|    501|    SET_ITEM(ST_BLKSIZE_IDX, PyLong_FromLong((long)st->st_blksize));
  ------------------
  |  | 2774|    501|    do { \
  |  | 2775|    501|        PyObject *obj = (expr); \
  |  | 2776|    501|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2776:13): [True: 0, False: 501]
  |  |  ------------------
  |  | 2777|      0|            goto error; \
  |  | 2778|      0|        } \
  |  | 2779|    501|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    501|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2780|    501|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2780:14): [Folded, False: 501]
  |  |  ------------------
  ------------------
 2833|    501|#endif
 2834|    501|#ifdef HAVE_STRUCT_STAT_ST_BLOCKS
 2835|    501|    SET_ITEM(ST_BLOCKS_IDX, PyLong_FromLong((long)st->st_blocks));
  ------------------
  |  | 2774|    501|    do { \
  |  | 2775|    501|        PyObject *obj = (expr); \
  |  | 2776|    501|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2776:13): [True: 0, False: 501]
  |  |  ------------------
  |  | 2777|      0|            goto error; \
  |  | 2778|      0|        } \
  |  | 2779|    501|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    501|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2780|    501|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2780:14): [Folded, False: 501]
  |  |  ------------------
  ------------------
 2836|    501|#endif
 2837|    501|#ifdef HAVE_STRUCT_STAT_ST_RDEV
 2838|    501|    SET_ITEM(ST_RDEV_IDX, _PyLong_FromDev(st->st_rdev));
  ------------------
  |  | 2774|    501|    do { \
  |  | 2775|    501|        PyObject *obj = (expr); \
  |  | 2776|    501|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2776:13): [True: 0, False: 501]
  |  |  ------------------
  |  | 2777|      0|            goto error; \
  |  | 2778|      0|        } \
  |  | 2779|    501|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|    501|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2780|    501|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2780:14): [Folded, False: 501]
  |  |  ------------------
  ------------------
 2839|    501|#endif
 2840|       |#ifdef HAVE_STRUCT_STAT_ST_GEN
 2841|       |    SET_ITEM(ST_GEN_IDX, PyLong_FromLong((long)st->st_gen));
 2842|       |#endif
 2843|       |#if defined(HAVE_STRUCT_STAT_ST_BIRTHTIME)
 2844|       |    {
 2845|       |      unsigned long bsec, bnsec;
 2846|       |      bsec = (long)st->st_birthtime;
 2847|       |#ifdef HAVE_STAT_TV_NSEC2
 2848|       |      bnsec = st->st_birthtimespec.tv_nsec;
 2849|       |#else
 2850|       |      bnsec = 0;
 2851|       |#endif
 2852|       |      SET_ITEM(ST_BIRTHTIME_IDX, PyFloat_FromDouble(bsec + bnsec * 1e-9));
 2853|       |    }
 2854|       |#elif defined(MS_WINDOWS)
 2855|       |    if (fill_time(state, v, -1, ST_BIRTHTIME_IDX, ST_BIRTHTIME_NS_IDX,
 2856|       |                  st->st_birthtime, st->st_birthtime_nsec) < 0) {
 2857|       |        goto error;
 2858|       |    }
 2859|       |#endif
 2860|       |#ifdef HAVE_STRUCT_STAT_ST_FLAGS
 2861|       |    SET_ITEM(ST_FLAGS_IDX, PyLong_FromLong((long)st->st_flags));
 2862|       |#endif
 2863|       |#ifdef HAVE_STRUCT_STAT_ST_FILE_ATTRIBUTES
 2864|       |    SET_ITEM(ST_FILE_ATTRIBUTES_IDX,
 2865|       |             PyLong_FromUnsignedLong(st->st_file_attributes));
 2866|       |#endif
 2867|       |#ifdef HAVE_STRUCT_STAT_ST_FSTYPE
 2868|       |   SET_ITEM(ST_FSTYPE_IDX, PyUnicode_FromString(st->st_fstype));
 2869|       |#endif
 2870|       |#ifdef HAVE_STRUCT_STAT_ST_REPARSE_TAG
 2871|       |    SET_ITEM(ST_REPARSE_TAG_IDX, PyLong_FromUnsignedLong(st->st_reparse_tag));
 2872|       |#endif
 2873|       |
 2874|    501|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2874:5): [True: 501, False: 0]
  ------------------
 2875|    501|    return v;
 2876|       |
 2877|      0|error:
 2878|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2879|      0|    return NULL;
 2880|       |
 2881|    501|#undef SET_ITEM
 2882|    501|}
posixmodule.c:get_posix_state:
 1242|    523|{
 1243|    523|    void *state = _PyModule_GetState(module);
 1244|    523|    assert(state != NULL);
  ------------------
  |  Branch (1244:5): [True: 523, False: 0]
  ------------------
 1245|    523|    return (_posixstate *)state;
 1246|    523|}
posixmodule.c:_PyLong_FromDev:
 1086|  1.00k|{
 1087|  1.00k|#ifdef NODEV
 1088|  1.00k|    if (dev == NODEV) {
  ------------------
  |  Branch (1088:9): [True: 2, False: 1.00k]
  ------------------
 1089|      2|        return PyLong_FromLongLong((long long)dev);
 1090|      2|    }
 1091|  1.00k|#endif
 1092|  1.00k|    return PyLong_FromUnsignedLongLong((unsigned long long)dev);
 1093|  1.00k|}
posixmodule.c:fill_time:
 2699|  1.50k|{
 2700|  1.50k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2700:5): [True: 1.50k, False: 0]
  ------------------
 2701|  1.50k|    assert(nsec < SEC_TO_NS);
  ------------------
  |  Branch (2701:5): [True: 1.50k, False: 0]
  ------------------
 2702|       |
 2703|  1.50k|    if (s_index >= 0) {
  ------------------
  |  Branch (2703:9): [True: 1.50k, False: 0]
  ------------------
 2704|  1.50k|        PyObject *s = _PyLong_FromTime_t(sec);
 2705|  1.50k|        if (s == NULL) {
  ------------------
  |  Branch (2705:13): [True: 0, False: 1.50k]
  ------------------
 2706|      0|            return -1;
 2707|      0|        }
 2708|  1.50k|        PyStructSequence_SET_ITEM(v, s_index, s);
  ------------------
  |  |   11|  1.50k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 2709|  1.50k|    }
 2710|       |
 2711|  1.50k|    if (f_index >= 0) {
  ------------------
  |  Branch (2711:9): [True: 1.50k, False: 0]
  ------------------
 2712|  1.50k|        PyObject *float_s = PyFloat_FromDouble((double)sec + 1e-9 * nsec);
 2713|  1.50k|        if (float_s == NULL) {
  ------------------
  |  Branch (2713:13): [True: 0, False: 1.50k]
  ------------------
 2714|      0|            return -1;
 2715|      0|        }
 2716|  1.50k|        PyStructSequence_SET_ITEM(v, f_index, float_s);
  ------------------
  |  |   11|  1.50k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 2717|  1.50k|    }
 2718|       |
 2719|  1.50k|    if (ns_index >= 0) {
  ------------------
  |  Branch (2719:9): [True: 1.50k, False: 0]
  ------------------
 2720|  1.50k|        PyObject *ns_total = stat_nanosecond_timestamp(state, sec, nsec);
 2721|  1.50k|        if (ns_total == NULL) {
  ------------------
  |  Branch (2721:13): [True: 0, False: 1.50k]
  ------------------
 2722|      0|            return -1;
 2723|      0|        }
 2724|  1.50k|        PyStructSequence_SET_ITEM(v, ns_index, ns_total);
  ------------------
  |  |   11|  1.50k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 2725|  1.50k|    }
 2726|       |
 2727|  1.50k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2727:5): [True: 1.50k, False: 0]
  ------------------
 2728|  1.50k|    return 0;
 2729|  1.50k|}
posixmodule.c:stat_nanosecond_timestamp:
 2662|  1.50k|{
 2663|       |#if SIZEOF_TIME_T == 4
 2664|       |    return PyLong_FromLongLong(sec * SEC_TO_NS + nsec);
 2665|       |#else
 2666|       |    /* 1677-09-21 00:12:44 to 2262-04-11 23:47:15 UTC inclusive */
 2667|  1.50k|    if ((LLONG_MIN/SEC_TO_NS) <= sec && sec <= (LLONG_MAX/SEC_TO_NS - 1)) {
  ------------------
  |  | 2659|  1.50k|#define SEC_TO_NS (1000000000LL)
  ------------------
                  if ((LLONG_MIN/SEC_TO_NS) <= sec && sec <= (LLONG_MAX/SEC_TO_NS - 1)) {
  ------------------
  |  | 2659|  1.50k|#define SEC_TO_NS (1000000000LL)
  ------------------
  |  Branch (2667:9): [True: 1.50k, False: 0]
  |  Branch (2667:41): [True: 1.50k, False: 0]
  ------------------
 2668|  1.50k|        return PyLong_FromLongLong(sec * SEC_TO_NS + nsec);
  ------------------
  |  | 2659|  1.50k|#define SEC_TO_NS (1000000000LL)
  ------------------
 2669|  1.50k|    }
 2670|      0|    else
 2671|      0|    {
 2672|      0|        PyObject *ns_total = NULL;
 2673|      0|        PyObject *s_in_ns = NULL;
 2674|      0|        PyObject *s = _PyLong_FromTime_t(sec);
 2675|      0|        PyObject *ns_fractional = PyLong_FromUnsignedLong(nsec);
 2676|      0|        if (s == NULL || ns_fractional == NULL) {
  ------------------
  |  Branch (2676:13): [True: 0, False: 0]
  |  Branch (2676:26): [True: 0, False: 0]
  ------------------
 2677|      0|            goto exit;
 2678|      0|        }
 2679|       |
 2680|      0|        s_in_ns = PyNumber_Multiply(s, state->billion);
 2681|      0|        if (s_in_ns == NULL) {
  ------------------
  |  Branch (2681:13): [True: 0, False: 0]
  ------------------
 2682|      0|            goto exit;
 2683|      0|        }
 2684|       |
 2685|      0|        ns_total = PyNumber_Add(s_in_ns, ns_fractional);
 2686|       |
 2687|      0|    exit:
 2688|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2689|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2690|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2691|      0|        return ns_total;
 2692|      0|    }
 2693|  1.50k|#endif
 2694|  1.50k|}
posixmodule.c:path_cleanup:
 1383|    543|{
 1384|    543|    wchar_t *wide = (wchar_t *)path->wide;
 1385|    543|    path->wide = NULL;
 1386|    543|    PyMem_Free(wide);
 1387|    543|    Py_CLEAR(path->object);
  ------------------
  |  |  484|    543|    do { \
  |  |  485|    543|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    543|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    543|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    543|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    543|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 543, False: 0]
  |  |  ------------------
  |  |  488|    543|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    543|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    543|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    543|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    543|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    543|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    543|        } \
  |  |  491|    543|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 543]
  |  |  ------------------
  ------------------
 1388|       |    Py_CLEAR(path->cleanup);
  ------------------
  |  |  484|    543|    do { \
  |  |  485|    543|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    543|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    543|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    543|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    543|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 533, False: 10]
  |  |  ------------------
  |  |  488|    533|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    533|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    533|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    533|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    533|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    533|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    533|        } \
  |  |  491|    543|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 543]
  |  |  ------------------
  ------------------
 1389|    543|}
posixmodule.c:follow_symlinks_specified:
 1629|      2|{
 1630|      2|    if (follow_symlinks)
  ------------------
  |  Branch (1630:9): [True: 2, False: 0]
  ------------------
 1631|      2|        return 0;
 1632|       |
 1633|      0|    argument_unavailable_error(function_name, "follow_symlinks");
 1634|      0|    return 1;
 1635|      2|}
posixmodule.c:dir_fd_and_follow_symlinks_invalid:
 1677|      2|{
 1678|      2|    if ((dir_fd != DEFAULT_DIR_FD) && (!follow_symlinks)) {
  ------------------
  |  | 1150|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (1678:9): [True: 0, False: 2]
  |  Branch (1678:39): [True: 0, False: 0]
  ------------------
 1679|      0|        PyErr_Format(PyExc_ValueError,
 1680|      0|                     "%s: cannot use dir_fd and follow_symlinks together",
 1681|      0|                     function_name);
 1682|      0|        return 1;
 1683|      0|    }
 1684|      2|    return 0;
 1685|      2|}
posixmodule.c:os_listdir_impl:
 5149|     10|{
 5150|     10|    if (PySys_Audit("os.listdir", "O",
  ------------------
  |  Branch (5150:9): [True: 0, False: 10]
  ------------------
 5151|     10|                    path->object ? path->object : Py_None) < 0) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5151:21): [True: 10, False: 0]
  ------------------
 5152|      0|        return NULL;
 5153|      0|    }
 5154|       |#if defined(MS_WINDOWS) && !defined(HAVE_OPENDIR)
 5155|       |    return _listdir_windows_no_opendir(path, NULL);
 5156|       |#else
 5157|     10|    return _posix_listdir(path, NULL);
 5158|     10|#endif
 5159|     10|}
posixmodule.c:_posix_listdir:
 5013|     10|{
 5014|     10|    PyObject *v;
 5015|     10|    DIR *dirp = NULL;
 5016|     10|    struct dirent *ep;
 5017|     10|    int return_str; /* if false, return bytes */
 5018|     10|#ifdef HAVE_FDOPENDIR
 5019|     10|    int fd = -1;
 5020|     10|#endif
 5021|       |
 5022|     10|    errno = 0;
 5023|     10|#ifdef HAVE_FDOPENDIR
 5024|     10|    if (path->is_fd) {
  ------------------
  |  Branch (5024:9): [True: 0, False: 10]
  ------------------
 5025|      0|      if (HAVE_FDOPENDIR_RUNTIME) {
  ------------------
  |  |  619|      0|#  define HAVE_FDOPENDIR_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (619:34): [True: 0, Folded]
  |  |  ------------------
  ------------------
 5026|       |        /* closedir() closes the FD, so we duplicate it */
 5027|      0|        fd = _Py_dup(path->fd);
 5028|      0|        if (fd == -1)
  ------------------
  |  Branch (5028:13): [True: 0, False: 0]
  ------------------
 5029|      0|            return NULL;
 5030|       |
 5031|      0|        return_str = 1;
 5032|       |
 5033|      0|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      0|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      0|                        PyThreadState *_save; \
  |  |  121|      0|                        _save = PyEval_SaveThread();
  ------------------
 5034|      0|        dirp = fdopendir(fd);
 5035|      0|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      0|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      0|                 }
  ------------------
 5036|      0|      } else {
 5037|      0|        PyErr_SetString(PyExc_TypeError,
 5038|      0|            "listdir: path should be string, bytes, os.PathLike or None, not int");
 5039|      0|        return NULL;
 5040|      0|      }
 5041|      0|    }
 5042|     10|    else
 5043|     10|#endif
 5044|     10|    {
 5045|     10|        const char *name;
 5046|     10|        if (path->narrow) {
  ------------------
  |  Branch (5046:13): [True: 10, False: 0]
  ------------------
 5047|     10|            name = path->narrow;
 5048|       |            /* only return bytes if they specified a bytes object */
 5049|     10|            return_str = !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))
  |  |  ------------------
  ------------------
 5050|     10|        }
 5051|      0|        else {
 5052|      0|            name = ".";
 5053|      0|            return_str = 1;
 5054|      0|        }
 5055|       |
 5056|     10|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|     10|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|     10|                        PyThreadState *_save; \
  |  |  121|     10|                        _save = PyEval_SaveThread();
  ------------------
 5057|     10|        dirp = opendir(name);
 5058|     10|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|     10|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|     10|                 }
  ------------------
 5059|     10|    }
 5060|       |
 5061|     10|    if (dirp == NULL) {
  ------------------
  |  Branch (5061:9): [True: 0, False: 10]
  ------------------
 5062|      0|        path_error(path);
 5063|      0|        list = NULL;
 5064|      0|#ifdef HAVE_FDOPENDIR
 5065|      0|        if (fd != -1) {
  ------------------
  |  Branch (5065:13): [True: 0, False: 0]
  ------------------
 5066|      0|            Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      0|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      0|                        PyThreadState *_save; \
  |  |  121|      0|                        _save = PyEval_SaveThread();
  ------------------
 5067|      0|            close(fd);
 5068|      0|            Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      0|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      0|                 }
  ------------------
 5069|      0|        }
 5070|      0|#endif
 5071|      0|        goto exit;
 5072|      0|    }
 5073|     10|    if ((list = PyList_New(0)) == NULL) {
  ------------------
  |  Branch (5073:9): [True: 0, False: 10]
  ------------------
 5074|      0|        goto exit;
 5075|      0|    }
 5076|    716|    for (;;) {
 5077|    716|        errno = 0;
 5078|    716|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|    716|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|    716|                        PyThreadState *_save; \
  |  |  121|    716|                        _save = PyEval_SaveThread();
  ------------------
 5079|    716|        ep = readdir(dirp);
 5080|    716|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|    716|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|    716|                 }
  ------------------
 5081|    716|        if (ep == NULL) {
  ------------------
  |  Branch (5081:13): [True: 10, False: 706]
  ------------------
 5082|     10|            if (errno == 0) {
  ------------------
  |  Branch (5082:17): [True: 10, False: 0]
  ------------------
 5083|     10|                break;
 5084|     10|            } else {
 5085|      0|                path_error(path);
 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|                goto exit;
 5088|      0|            }
 5089|     10|        }
 5090|    706|        if (ep->d_name[0] == '.' &&
  ------------------
  |  Branch (5090:13): [True: 20, False: 686]
  ------------------
 5091|     20|            (NAMLEN(ep) == 1 ||
  ------------------
  |  |  327|     20|#  define NAMLEN(dirent) strlen((dirent)->d_name)
  ------------------
  |  Branch (5091:14): [True: 10, False: 10]
  ------------------
 5092|     10|             (ep->d_name[1] == '.' && NAMLEN(ep) == 2)))
  ------------------
  |  |  327|     10|#  define NAMLEN(dirent) strlen((dirent)->d_name)
  ------------------
  |  Branch (5092:15): [True: 10, False: 0]
  |  Branch (5092:39): [True: 10, False: 0]
  ------------------
 5093|     20|            continue;
 5094|    686|        if (return_str)
  ------------------
  |  Branch (5094:13): [True: 686, False: 0]
  ------------------
 5095|    686|            v = PyUnicode_DecodeFSDefaultAndSize(ep->d_name, NAMLEN(ep));
  ------------------
  |  |  327|    686|#  define NAMLEN(dirent) strlen((dirent)->d_name)
  ------------------
 5096|      0|        else
 5097|      0|            v = PyBytes_FromStringAndSize(ep->d_name, NAMLEN(ep));
  ------------------
  |  |  327|      0|#  define NAMLEN(dirent) strlen((dirent)->d_name)
  ------------------
 5098|    686|        if (v == NULL) {
  ------------------
  |  Branch (5098:13): [True: 0, False: 686]
  ------------------
 5099|      0|            Py_CLEAR(list);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5100|      0|            break;
 5101|      0|        }
 5102|    686|        if (PyList_Append(list, v) != 0) {
  ------------------
  |  Branch (5102:13): [True: 0, False: 686]
  ------------------
 5103|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5104|      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]
  |  |  ------------------
  ------------------
 5105|      0|            break;
 5106|      0|        }
 5107|    686|        Py_DECREF(v);
  ------------------
  |  |  430|    686|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    686|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    686|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5108|    686|    }
 5109|       |
 5110|     10|exit:
 5111|     10|    if (dirp != NULL) {
  ------------------
  |  Branch (5111:9): [True: 10, False: 0]
  ------------------
 5112|     10|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|     10|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|     10|                        PyThreadState *_save; \
  |  |  121|     10|                        _save = PyEval_SaveThread();
  ------------------
 5113|     10|#ifdef HAVE_FDOPENDIR
 5114|     10|        if (fd > -1)
  ------------------
  |  Branch (5114:13): [True: 0, False: 10]
  ------------------
 5115|      0|            rewinddir(dirp);
 5116|     10|#endif
 5117|     10|        closedir(dirp);
 5118|     10|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|     10|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|     10|                 }
  ------------------
 5119|     10|    }
 5120|       |
 5121|     10|    return list;
 5122|     10|}  /* end of _posix_listdir */
posixmodule.c:os_getegid_impl:
 9611|      2|{
 9612|      2|    return _PyLong_FromGid(getegid());
 9613|      2|}
posixmodule.c:os_geteuid_impl:
 9627|      2|{
 9628|      2|    return _PyLong_FromUid(geteuid());
 9629|      2|}
posixmodule.c:os_getgid_impl:
 9643|      2|{
 9644|      2|    return _PyLong_FromGid(getgid());
 9645|      2|}
posixmodule.c:os_getuid_impl:
10177|      2|{
10178|      2|    return _PyLong_FromUid(getuid());
10179|      2|}
posixmodule.c:os__path_normpath_impl:
 6142|     10|{
 6143|     10|    PyObject *result;
 6144|     10|    Py_ssize_t norm_len;
 6145|     10|    wchar_t *norm_path = _Py_normpath_and_size((wchar_t *)path->wide,
 6146|     10|                                               path->length, &norm_len);
 6147|     10|    if (!norm_len) {
  ------------------
  |  Branch (6147:9): [True: 0, False: 10]
  ------------------
 6148|      0|        result = PyUnicode_FromOrdinal('.');
 6149|      0|    }
 6150|     10|    else {
 6151|     10|        result = PyUnicode_FromWideChar(norm_path, norm_len);
 6152|     10|    }
 6153|     10|    if (result == NULL) {
  ------------------
  |  Branch (6153:9): [True: 0, False: 10]
  ------------------
 6154|      0|        return NULL;
 6155|      0|    }
 6156|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6157|      0|        Py_SETREF(result, PyUnicode_EncodeFSDefault(result));
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6158|      0|    }
 6159|     10|    return result;
 6160|     10|}
posixmodule.c:os_fspath_impl:
17375|    260|{
17376|    260|    return PyOS_FSPath(path);
17377|    260|}
posixmodule.c:convertenviron:
 1804|      2|{
 1805|      2|    PyObject *d;
 1806|       |#ifdef MS_WINDOWS
 1807|       |    wchar_t **e;
 1808|       |#else
 1809|      2|    char **e;
 1810|      2|#endif
 1811|       |
 1812|      2|    d = PyDict_New();
 1813|      2|    if (d == NULL)
  ------------------
  |  Branch (1813:9): [True: 0, False: 2]
  ------------------
 1814|      0|        return NULL;
 1815|       |#ifdef MS_WINDOWS
 1816|       |    /* _wenviron must be initialized in this way if the program is started
 1817|       |       through main() instead of wmain(). */
 1818|       |    (void)_wgetenv(L"");
 1819|       |    e = _wenviron;
 1820|       |#elif defined(USE_DARWIN_NS_GET_ENVIRON)
 1821|       |    /* environ is not accessible as an extern in a shared object on OSX; use
 1822|       |       _NSGetEnviron to resolve it. The value changes if you add environment
 1823|       |       variables between calls to Py_Initialize, so don't cache the value. */
 1824|       |    e = *_NSGetEnviron();
 1825|       |#else
 1826|      2|    e = environ;
 1827|      2|#endif
 1828|      2|    if (e == NULL)
  ------------------
  |  Branch (1828:9): [True: 0, False: 2]
  ------------------
 1829|      0|        return d;
 1830|     70|    for (; *e != NULL; e++) {
  ------------------
  |  Branch (1830:12): [True: 68, False: 2]
  ------------------
 1831|     68|        PyObject *k;
 1832|     68|        PyObject *v;
 1833|       |#ifdef MS_WINDOWS
 1834|       |        const wchar_t *p = wcschr(*e, L'=');
 1835|       |#else
 1836|     68|        const char *p = strchr(*e, '=');
 1837|     68|#endif
 1838|     68|        if (p == NULL)
  ------------------
  |  Branch (1838:13): [True: 0, False: 68]
  ------------------
 1839|      0|            continue;
 1840|       |#ifdef MS_WINDOWS
 1841|       |        k = PyUnicode_FromWideChar(*e, (Py_ssize_t)(p-*e));
 1842|       |#else
 1843|     68|        k = PyBytes_FromStringAndSize(*e, (Py_ssize_t)(p-*e));
 1844|     68|#endif
 1845|     68|        if (k == NULL) {
  ------------------
  |  Branch (1845:13): [True: 0, False: 68]
  ------------------
 1846|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1847|      0|            return NULL;
 1848|      0|        }
 1849|       |#ifdef MS_WINDOWS
 1850|       |        v = PyUnicode_FromWideChar(p+1, -1);
 1851|       |#else
 1852|     68|        v = PyBytes_FromStringAndSize(p+1, strlen(p+1));
 1853|     68|#endif
 1854|     68|        if (v == NULL) {
  ------------------
  |  Branch (1854:13): [True: 0, False: 68]
  ------------------
 1855|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1856|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1857|      0|            return NULL;
 1858|      0|        }
 1859|     68|        if (PyDict_SetDefaultRef(d, k, v, NULL) < 0) {
  ------------------
  |  Branch (1859:13): [True: 0, False: 68]
  ------------------
 1860|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1861|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1862|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1863|      0|            return NULL;
 1864|      0|        }
 1865|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1866|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1867|     68|    }
 1868|      2|    return d;
 1869|      2|}
posixmodule.c:posixmodule_exec:
18876|      2|{
18877|      2|    _posixstate *state = get_posix_state(m);
18878|       |
18879|      2|#if defined(HAVE_PWRITEV)
18880|      2|    if (HAVE_PWRITEV_RUNTIME) {} else {
  ------------------
  |  |  628|      2|#  define HAVE_PWRITEV_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (628:32): [True: 2, Folded]
  |  |  ------------------
  ------------------
18881|      0|        PyObject* dct = PyModule_GetDict(m);
18882|       |
18883|      0|        if (dct == NULL) {
  ------------------
  |  Branch (18883:13): [True: 0, False: 0]
  ------------------
18884|      0|            return -1;
18885|      0|        }
18886|       |
18887|      0|        if (PyDict_PopString(dct, "pwritev", NULL) < 0) {
  ------------------
  |  Branch (18887:13): [True: 0, False: 0]
  ------------------
18888|      0|            return -1;
18889|      0|        }
18890|      0|        if (PyDict_PopString(dct, "preadv", NULL) < 0) {
  ------------------
  |  Branch (18890:13): [True: 0, False: 0]
  ------------------
18891|      0|            return -1;
18892|      0|        }
18893|      0|    }
18894|      2|#endif
18895|       |
18896|      2|#ifdef HAVE_STATX
18897|      2|    if (statx == NULL) {
  ------------------
  |  Branch (18897:9): [True: 0, False: 2]
  ------------------
18898|      0|        PyObject* dct = PyModule_GetDict(m);
18899|      0|        if (dct == NULL) {
  ------------------
  |  Branch (18899:13): [True: 0, False: 0]
  ------------------
18900|      0|            return -1;
18901|      0|        }
18902|      0|        if (PyDict_PopString(dct, "statx", NULL) < 0) {
  ------------------
  |  Branch (18902:13): [True: 0, False: 0]
  ------------------
18903|      0|            return -1;
18904|      0|        }
18905|      0|    }
18906|      2|    else {
18907|      2|        state->StatxResultType = PyType_FromModuleAndSpec(m, &pystatx_result_spec, NULL);
18908|      2|        if (PyModule_AddObjectRef(m, "statx_result", state->StatxResultType) < 0) {
  ------------------
  |  Branch (18908:13): [True: 0, False: 2]
  ------------------
18909|      0|            return -1;
18910|      0|        }
18911|      2|    }
18912|      2|#endif
18913|       |
18914|      2|#if HAVE_PIPE2
18915|      2|    if (HAVE_PIPE2_RUNTIME) {
  ------------------
  |  |  633|      2|#  define HAVE_PIPE2_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (633:30): [True: 2, Folded]
  |  |  ------------------
  ------------------
18916|       |        // Do nothing. (`__builtin_available` doesn't allow `!`; see
18917|       |        // "using negations" in a comment above.)
18918|      2|    }
18919|      0|    else {
18920|      0|        PyObject* dct = PyModule_GetDict(m);
18921|      0|        if (dct == NULL) {
  ------------------
  |  Branch (18921:13): [True: 0, False: 0]
  ------------------
18922|      0|            return -1;
18923|      0|        }
18924|      0|        if (PyDict_PopString(dct, "pipe2", NULL) < 0) {
  ------------------
  |  Branch (18924:13): [True: 0, False: 0]
  ------------------
18925|      0|            return -1;
18926|      0|        }
18927|      0|    }
18928|      2|#endif
18929|       |
18930|       |    /* Initialize environ dictionary */
18931|      2|    if (PyModule_Add(m, "environ", convertenviron()) != 0) {
  ------------------
  |  Branch (18931:9): [True: 0, False: 2]
  ------------------
18932|      0|        return -1;
18933|      0|    }
18934|       |
18935|      2|    if (all_ins(m))
  ------------------
  |  Branch (18935:9): [True: 0, False: 2]
  ------------------
18936|      0|        return -1;
18937|       |
18938|      2|    if (setup_confname_tables(m))
  ------------------
  |  Branch (18938:9): [True: 0, False: 2]
  ------------------
18939|      0|        return -1;
18940|       |
18941|      2|    if (PyModule_AddObjectRef(m, "error", PyExc_OSError) < 0) {
  ------------------
  |  Branch (18941:9): [True: 0, False: 2]
  ------------------
18942|      0|        return -1;
18943|      0|    }
18944|       |
18945|      2|#if defined(HAVE_WAITID)
18946|      2|    state->WaitidResultType = (PyObject *)PyStructSequence_NewType(&waitid_result_desc);
18947|      2|    if (PyModule_AddObjectRef(m, "waitid_result", state->WaitidResultType) < 0) {
  ------------------
  |  Branch (18947:9): [True: 0, False: 2]
  ------------------
18948|      0|        return -1;
18949|      0|    }
18950|      2|#endif
18951|       |
18952|      2|    stat_result_desc.fields[7].name = PyStructSequence_UnnamedField;
18953|      2|    stat_result_desc.fields[8].name = PyStructSequence_UnnamedField;
18954|      2|    stat_result_desc.fields[9].name = PyStructSequence_UnnamedField;
18955|      2|    state->StatResultType = (PyObject *)PyStructSequence_NewType(&stat_result_desc);
18956|      2|    if (PyModule_AddObjectRef(m, "stat_result", state->StatResultType) < 0) {
  ------------------
  |  Branch (18956:9): [True: 0, False: 2]
  ------------------
18957|      0|        return -1;
18958|      0|    }
18959|      2|    state->statresult_new_orig = ((PyTypeObject *)state->StatResultType)->tp_new;
18960|      2|    ((PyTypeObject *)state->StatResultType)->tp_new = statresult_new;
18961|       |
18962|      2|    state->StatVFSResultType = (PyObject *)PyStructSequence_NewType(&statvfs_result_desc);
18963|      2|    if (PyModule_AddObjectRef(m, "statvfs_result", state->StatVFSResultType) < 0) {
  ------------------
  |  Branch (18963:9): [True: 0, False: 2]
  ------------------
18964|      0|        return -1;
18965|      0|    }
18966|       |
18967|      2|#if defined(HAVE_SCHED_SETPARAM) || defined(HAVE_SCHED_SETSCHEDULER) || defined(POSIX_SPAWN_SETSCHEDULER) || defined(POSIX_SPAWN_SETSCHEDPARAM)
18968|      2|    state->SchedParamType = (PyObject *)PyStructSequence_NewType(&sched_param_desc);
18969|      2|    if (PyModule_AddObjectRef(m, "sched_param", state->SchedParamType) < 0) {
  ------------------
  |  Branch (18969:9): [True: 0, False: 2]
  ------------------
18970|      0|        return -1;
18971|      0|    }
18972|      2|    ((PyTypeObject *)state->SchedParamType)->tp_new = os_sched_param;
18973|      2|    if (_PyType_AddMethod((PyTypeObject *)state->SchedParamType,
  ------------------
  |  Branch (18973:9): [True: 0, False: 2]
  ------------------
18974|      2|                          &os_sched_param_reduce_method) < 0)
18975|      0|    {
18976|      0|        return -1;
18977|      0|    }
18978|      2|    PyType_Modified((PyTypeObject *)state->SchedParamType);
18979|      2|#endif
18980|       |
18981|       |    /* initialize TerminalSize_info */
18982|      2|    state->TerminalSizeType = (PyObject *)PyStructSequence_NewType(&TerminalSize_desc);
18983|      2|    if (PyModule_AddObjectRef(m, "terminal_size", state->TerminalSizeType) < 0) {
  ------------------
  |  Branch (18983:9): [True: 0, False: 2]
  ------------------
18984|      0|        return -1;
18985|      0|    }
18986|       |
18987|       |    /* initialize scandir types */
18988|      2|    PyObject *ScandirIteratorType = PyType_FromModuleAndSpec(m, &ScandirIteratorType_spec, NULL);
18989|      2|    if (ScandirIteratorType == NULL) {
  ------------------
  |  Branch (18989:9): [True: 0, False: 2]
  ------------------
18990|      0|        return -1;
18991|      0|    }
18992|      2|    state->ScandirIteratorType = ScandirIteratorType;
18993|       |
18994|      2|    state->DirEntryType = PyType_FromModuleAndSpec(m, &DirEntryType_spec, NULL);
18995|      2|    if (PyModule_AddObjectRef(m, "DirEntry", state->DirEntryType) < 0) {
  ------------------
  |  Branch (18995:9): [True: 0, False: 2]
  ------------------
18996|      0|        return -1;
18997|      0|    }
18998|       |
18999|      2|    state->TimesResultType = (PyObject *)PyStructSequence_NewType(&times_result_desc);
19000|      2|    if (PyModule_AddObjectRef(m, "times_result", state->TimesResultType) < 0) {
  ------------------
  |  Branch (19000:9): [True: 0, False: 2]
  ------------------
19001|      0|        return -1;
19002|      0|    }
19003|       |
19004|      2|    state->UnameResultType = (PyObject *)PyStructSequence_NewType(&uname_result_desc);
19005|      2|    if (PyModule_AddObjectRef(m, "uname_result", state->UnameResultType) < 0) {
  ------------------
  |  Branch (19005:9): [True: 0, False: 2]
  ------------------
19006|      0|        return -1;
19007|      0|    }
19008|       |
19009|      2|    if ((state->billion = PyLong_FromLong(1000000000)) == NULL)
  ------------------
  |  Branch (19009:9): [True: 0, False: 2]
  ------------------
19010|      0|        return -1;
19011|      2|#if defined(HAVE_WAIT3) || defined(HAVE_WAIT4)
19012|      2|    state->struct_rusage = PyUnicode_InternFromString("struct_rusage");
19013|      2|    if (state->struct_rusage == NULL)
  ------------------
  |  Branch (19013:9): [True: 0, False: 2]
  ------------------
19014|      0|        return -1;
19015|      2|#endif
19016|      2|    state->st_mode = PyUnicode_InternFromString("st_mode");
19017|      2|    if (state->st_mode == NULL)
  ------------------
  |  Branch (19017:9): [True: 0, False: 2]
  ------------------
19018|      0|        return -1;
19019|       |
19020|       |    /* suppress "function not used" warnings */
19021|      2|    {
19022|      2|    int ignored;
19023|      2|    fd_specified("", -1);
19024|      2|    follow_symlinks_specified("", 1);
19025|      2|    dir_fd_and_follow_symlinks_invalid("chmod", DEFAULT_DIR_FD, 1);
  ------------------
  |  | 1150|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
19026|      2|    dir_fd_converter(Py_None, &ignored);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
19027|      2|    dir_fd_unavailable(Py_None, &ignored);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
19028|      2|    }
19029|       |
19030|       |    /*
19031|       |     * provide list of locally available functions
19032|       |     * so os.py can populate support_* lists
19033|       |     */
19034|      2|    PyObject *list = PyList_New(0);
19035|      2|    if (!list) {
  ------------------
  |  Branch (19035:9): [True: 0, False: 2]
  ------------------
19036|      0|        return -1;
19037|      0|    }
19038|     66|    for (const struct have_function *trace = have_functions; trace->label; trace++) {
  ------------------
  |  Branch (19038:62): [True: 64, False: 2]
  ------------------
19039|     64|        PyObject *unicode;
19040|     64|        if (trace->probe && !trace->probe()) continue;
  ------------------
  |  Branch (19040:13): [True: 34, False: 30]
  |  Branch (19040:29): [True: 0, False: 34]
  ------------------
19041|     64|        unicode = PyUnicode_DecodeASCII(trace->label, strlen(trace->label), NULL);
19042|     64|        if (!unicode)
  ------------------
  |  Branch (19042:13): [True: 0, False: 64]
  ------------------
19043|      0|            return -1;
19044|     64|        if (PyList_Append(list, unicode))
  ------------------
  |  Branch (19044:13): [True: 0, False: 64]
  ------------------
19045|      0|            return -1;
19046|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
19047|     64|    }
19048|       |
19049|      2|#ifndef MS_WINDOWS
19050|      2|    if (_Py_GetTicksPerSecond(&state->ticks_per_second) < 0) {
  ------------------
  |  Branch (19050:9): [True: 0, False: 2]
  ------------------
19051|      0|        PyErr_SetString(PyExc_RuntimeError,
19052|      0|                        "cannot read ticks_per_second");
19053|      0|        return -1;
19054|      0|    }
19055|      2|    assert(state->ticks_per_second >= 1);
  ------------------
  |  Branch (19055:5): [True: 2, False: 0]
  ------------------
19056|      2|#endif
19057|       |
19058|      2|    return PyModule_Add(m, "_have_functions", list);
19059|      2|}
posixmodule.c:all_ins:
17951|      2|{
17952|      2|#ifdef F_OK
17953|      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]
  |  |  ------------------
  ------------------
17954|      2|#endif
17955|      2|#ifdef R_OK
17956|      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]
  |  |  ------------------
  ------------------
17957|      2|#endif
17958|      2|#ifdef W_OK
17959|      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]
  |  |  ------------------
  ------------------
17960|      2|#endif
17961|      2|#ifdef X_OK
17962|      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]
  |  |  ------------------
  ------------------
17963|      2|#endif
17964|      2|#ifdef NGROUPS_MAX
17965|      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]
  |  |  ------------------
  ------------------
17966|      2|#endif
17967|      2|#ifdef TMP_MAX
17968|      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]
  |  |  ------------------
  ------------------
17969|      2|#endif
17970|      2|#ifdef WCONTINUED
17971|      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]
  |  |  ------------------
  ------------------
17972|      2|#endif
17973|      2|#ifdef WNOHANG
17974|      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]
  |  |  ------------------
  ------------------
17975|      2|#endif
17976|      2|#ifdef WUNTRACED
17977|      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]
  |  |  ------------------
  ------------------
17978|      2|#endif
17979|      2|#ifdef O_RDONLY
17980|      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]
  |  |  ------------------
  ------------------
17981|      2|#endif
17982|      2|#ifdef O_WRONLY
17983|      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]
  |  |  ------------------
  ------------------
17984|      2|#endif
17985|      2|#ifdef O_RDWR
17986|      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]
  |  |  ------------------
  ------------------
17987|      2|#endif
17988|      2|#ifdef O_NDELAY
17989|      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]
  |  |  ------------------
  ------------------
17990|      2|#endif
17991|      2|#ifdef O_NONBLOCK
17992|      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]
  |  |  ------------------
  ------------------
17993|      2|#endif
17994|      2|#ifdef O_APPEND
17995|      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]
  |  |  ------------------
  ------------------
17996|      2|#endif
17997|      2|#ifdef O_DSYNC
17998|      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]
  |  |  ------------------
  ------------------
17999|      2|#endif
18000|      2|#ifdef O_RSYNC
18001|      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]
  |  |  ------------------
  ------------------
18002|      2|#endif
18003|      2|#ifdef O_SYNC
18004|      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]
  |  |  ------------------
  ------------------
18005|      2|#endif
18006|      2|#ifdef O_NOCTTY
18007|      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]
  |  |  ------------------
  ------------------
18008|      2|#endif
18009|      2|#ifdef O_CREAT
18010|      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]
  |  |  ------------------
  ------------------
18011|      2|#endif
18012|      2|#ifdef O_EXCL
18013|      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]
  |  |  ------------------
  ------------------
18014|      2|#endif
18015|      2|#ifdef O_TRUNC
18016|      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]
  |  |  ------------------
  ------------------
18017|      2|#endif
18018|       |#ifdef O_BINARY
18019|       |    if (PyModule_AddIntMacro(m, O_BINARY)) return -1;
18020|       |#endif
18021|       |#ifdef O_TEXT
18022|       |    if (PyModule_AddIntMacro(m, O_TEXT)) return -1;
18023|       |#endif
18024|       |#ifdef O_XATTR
18025|       |    if (PyModule_AddIntMacro(m, O_XATTR)) return -1;
18026|       |#endif
18027|      2|#ifdef O_LARGEFILE
18028|      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]
  |  |  ------------------
  ------------------
18029|      2|#endif
18030|      2|#ifndef __GNU__
18031|       |#ifdef O_SHLOCK
18032|       |    if (PyModule_AddIntMacro(m, O_SHLOCK)) return -1;
18033|       |#endif
18034|       |#ifdef O_EXLOCK
18035|       |    if (PyModule_AddIntMacro(m, O_EXLOCK)) return -1;
18036|       |#endif
18037|      2|#endif
18038|       |#ifdef O_EXEC
18039|       |    if (PyModule_AddIntMacro(m, O_EXEC)) return -1;
18040|       |#endif
18041|       |#ifdef O_SEARCH
18042|       |    if (PyModule_AddIntMacro(m, O_SEARCH)) return -1;
18043|       |#endif
18044|      2|#ifdef O_PATH
18045|      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]
  |  |  ------------------
  ------------------
18046|      2|#endif
18047|       |#ifdef O_TTY_INIT
18048|       |    if (PyModule_AddIntMacro(m, O_TTY_INIT)) return -1;
18049|       |#endif
18050|      2|#ifdef O_TMPFILE
18051|      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]
  |  |  ------------------
  ------------------
18052|      2|#endif
18053|      2|#ifdef PRIO_PROCESS
18054|      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]
  |  |  ------------------
  ------------------
18055|      2|#endif
18056|      2|#ifdef PRIO_PGRP
18057|      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]
  |  |  ------------------
  ------------------
18058|      2|#endif
18059|      2|#ifdef PRIO_USER
18060|      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]
  |  |  ------------------
  ------------------
18061|      2|#endif
18062|       |#ifdef PRIO_DARWIN_THREAD
18063|       |    if (PyModule_AddIntMacro(m, PRIO_DARWIN_THREAD)) return -1;
18064|       |#endif
18065|       |#ifdef PRIO_DARWIN_PROCESS
18066|       |    if (PyModule_AddIntMacro(m, PRIO_DARWIN_PROCESS)) return -1;
18067|       |#endif
18068|       |#ifdef PRIO_DARWIN_BG
18069|       |    if (PyModule_AddIntMacro(m, PRIO_DARWIN_BG)) return -1;
18070|       |#endif
18071|       |#ifdef PRIO_DARWIN_NONUI
18072|       |    if (PyModule_AddIntMacro(m, PRIO_DARWIN_NONUI)) return -1;
18073|       |#endif
18074|      2|#ifdef O_CLOEXEC
18075|      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]
  |  |  ------------------
  ------------------
18076|      2|#endif
18077|      2|#ifdef O_ACCMODE
18078|      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]
  |  |  ------------------
  ------------------
18079|      2|#endif
18080|       |#ifdef O_EVTONLY
18081|       |    if (PyModule_AddIntMacro(m, O_EVTONLY)) return -1;
18082|       |#endif
18083|      2|#ifdef O_FSYNC
18084|      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]
  |  |  ------------------
  ------------------
18085|      2|#endif
18086|       |#ifdef O_SYMLINK
18087|       |    if (PyModule_AddIntMacro(m, O_SYMLINK)) return -1;
18088|       |#endif
18089|       |
18090|      2|#ifdef SEEK_HOLE
18091|      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]
  |  |  ------------------
  ------------------
18092|      2|#endif
18093|      2|#ifdef SEEK_DATA
18094|      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]
  |  |  ------------------
  ------------------
18095|      2|#endif
18096|       |
18097|       |/* MS Windows */
18098|       |#ifdef O_NOINHERIT
18099|       |    /* Don't inherit in child processes. */
18100|       |    if (PyModule_AddIntMacro(m, O_NOINHERIT)) return -1;
18101|       |#endif
18102|       |#ifdef _O_SHORT_LIVED
18103|       |    /* Optimize for short life (keep in memory). */
18104|       |    /* MS forgot to define this one with a non-underscore form too. */
18105|       |    if (PyModule_AddIntConstant(m, "O_SHORT_LIVED", _O_SHORT_LIVED)) return -1;
18106|       |#endif
18107|       |#ifdef O_TEMPORARY
18108|       |    /* Automatically delete when last handle is closed. */
18109|       |    if (PyModule_AddIntMacro(m, O_TEMPORARY)) return -1;
18110|       |#endif
18111|       |#ifdef O_RANDOM
18112|       |    /* Optimize for random access. */
18113|       |    if (PyModule_AddIntMacro(m, O_RANDOM)) return -1;
18114|       |#endif
18115|       |#ifdef O_SEQUENTIAL
18116|       |    /* Optimize for sequential access. */
18117|       |    if (PyModule_AddIntMacro(m, O_SEQUENTIAL)) return -1;
18118|       |#endif
18119|       |
18120|       |/* GNU extensions. */
18121|      2|#ifdef O_ASYNC
18122|       |    /* Send a SIGIO signal whenever input or output
18123|       |       becomes available on file descriptor */
18124|      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]
  |  |  ------------------
  ------------------
18125|      2|#endif
18126|      2|#ifdef O_DIRECT
18127|       |    /* Direct disk access. */
18128|      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]
  |  |  ------------------
  ------------------
18129|      2|#endif
18130|      2|#ifdef O_DIRECTORY
18131|       |    /* Must be a directory.      */
18132|      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]
  |  |  ------------------
  ------------------
18133|      2|#endif
18134|      2|#ifdef O_NOFOLLOW
18135|       |    /* Do not follow links.      */
18136|      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]
  |  |  ------------------
  ------------------
18137|      2|#endif
18138|       |#ifdef O_NOFOLLOW_ANY
18139|       |    if (PyModule_AddIntMacro(m, O_NOFOLLOW_ANY)) return -1;
18140|       |#endif
18141|       |#ifdef O_NOLINKS
18142|       |    /* Fails if link count of the named file is greater than 1 */
18143|       |    if (PyModule_AddIntMacro(m, O_NOLINKS)) return -1;
18144|       |#endif
18145|      2|#ifdef O_NOATIME
18146|       |    /* Do not update the access time. */
18147|      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]
  |  |  ------------------
  ------------------
18148|      2|#endif
18149|       |
18150|       |    /* These come from sysexits.h */
18151|      2|#ifdef EX_OK
18152|      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]
  |  |  ------------------
  ------------------
18153|      2|#endif /* EX_OK */
18154|      2|#ifdef EX_USAGE
18155|      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]
  |  |  ------------------
  ------------------
18156|      2|#endif /* EX_USAGE */
18157|      2|#ifdef EX_DATAERR
18158|      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]
  |  |  ------------------
  ------------------
18159|      2|#endif /* EX_DATAERR */
18160|      2|#ifdef EX_NOINPUT
18161|      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]
  |  |  ------------------
  ------------------
18162|      2|#endif /* EX_NOINPUT */
18163|      2|#ifdef EX_NOUSER
18164|      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]
  |  |  ------------------
  ------------------
18165|      2|#endif /* EX_NOUSER */
18166|      2|#ifdef EX_NOHOST
18167|      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]
  |  |  ------------------
  ------------------
18168|      2|#endif /* EX_NOHOST */
18169|      2|#ifdef EX_UNAVAILABLE
18170|      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]
  |  |  ------------------
  ------------------
18171|      2|#endif /* EX_UNAVAILABLE */
18172|      2|#ifdef EX_SOFTWARE
18173|      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]
  |  |  ------------------
  ------------------
18174|      2|#endif /* EX_SOFTWARE */
18175|      2|#ifdef EX_OSERR
18176|      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]
  |  |  ------------------
  ------------------
18177|      2|#endif /* EX_OSERR */
18178|      2|#ifdef EX_OSFILE
18179|      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]
  |  |  ------------------
  ------------------
18180|      2|#endif /* EX_OSFILE */
18181|      2|#ifdef EX_CANTCREAT
18182|      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]
  |  |  ------------------
  ------------------
18183|      2|#endif /* EX_CANTCREAT */
18184|      2|#ifdef EX_IOERR
18185|      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]
  |  |  ------------------
  ------------------
18186|      2|#endif /* EX_IOERR */
18187|      2|#ifdef EX_TEMPFAIL
18188|      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]
  |  |  ------------------
  ------------------
18189|      2|#endif /* EX_TEMPFAIL */
18190|      2|#ifdef EX_PROTOCOL
18191|      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]
  |  |  ------------------
  ------------------
18192|      2|#endif /* EX_PROTOCOL */
18193|      2|#ifdef EX_NOPERM
18194|      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]
  |  |  ------------------
  ------------------
18195|      2|#endif /* EX_NOPERM */
18196|      2|#ifdef EX_CONFIG
18197|      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]
  |  |  ------------------
  ------------------
18198|      2|#endif /* EX_CONFIG */
18199|       |#ifdef EX_NOTFOUND
18200|       |    if (PyModule_AddIntMacro(m, EX_NOTFOUND)) return -1;
18201|       |#endif /* EX_NOTFOUND */
18202|       |
18203|       |    /* statvfs */
18204|      2|#ifdef ST_RDONLY
18205|      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]
  |  |  ------------------
  ------------------
18206|      2|#endif /* ST_RDONLY */
18207|      2|#ifdef ST_NOSUID
18208|      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]
  |  |  ------------------
  ------------------
18209|      2|#endif /* ST_NOSUID */
18210|       |
18211|       |       /* GNU extensions */
18212|      2|#ifdef ST_NODEV
18213|      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]
  |  |  ------------------
  ------------------
18214|      2|#endif /* ST_NODEV */
18215|      2|#ifdef ST_NOEXEC
18216|      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]
  |  |  ------------------
  ------------------
18217|      2|#endif /* ST_NOEXEC */
18218|      2|#ifdef ST_SYNCHRONOUS
18219|      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]
  |  |  ------------------
  ------------------
18220|      2|#endif /* ST_SYNCHRONOUS */
18221|      2|#ifdef ST_MANDLOCK
18222|      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]
  |  |  ------------------
  ------------------
18223|      2|#endif /* ST_MANDLOCK */
18224|      2|#ifdef ST_WRITE
18225|      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]
  |  |  ------------------
  ------------------
18226|      2|#endif /* ST_WRITE */
18227|      2|#ifdef ST_APPEND
18228|      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]
  |  |  ------------------
  ------------------
18229|      2|#endif /* ST_APPEND */
18230|      2|#ifdef ST_NOATIME
18231|      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]
  |  |  ------------------
  ------------------
18232|      2|#endif /* ST_NOATIME */
18233|      2|#ifdef ST_NODIRATIME
18234|      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]
  |  |  ------------------
  ------------------
18235|      2|#endif /* ST_NODIRATIME */
18236|      2|#ifdef ST_RELATIME
18237|      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]
  |  |  ------------------
  ------------------
18238|      2|#endif /* ST_RELATIME */
18239|       |
18240|       |    /* FreeBSD sendfile() constants */
18241|       |#ifdef SF_NODISKIO
18242|       |    if (PyModule_AddIntMacro(m, SF_NODISKIO)) return -1;
18243|       |#endif
18244|       |    /* is obsolete since the 11.x release */
18245|       |#ifdef SF_MNOWAIT
18246|       |    if (PyModule_AddIntMacro(m, SF_MNOWAIT)) return -1;
18247|       |#endif
18248|       |#ifdef SF_SYNC
18249|       |    if (PyModule_AddIntMacro(m, SF_SYNC)) return -1;
18250|       |#endif
18251|       |#ifdef SF_NOCACHE
18252|       |    if (PyModule_AddIntMacro(m, SF_NOCACHE)) return -1;
18253|       |#endif
18254|       |
18255|      2|#ifdef TFD_NONBLOCK
18256|      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]
  |  |  ------------------
  ------------------
18257|      2|#endif
18258|      2|#ifdef TFD_CLOEXEC
18259|      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]
  |  |  ------------------
  ------------------
18260|      2|#endif
18261|      2|#ifdef TFD_TIMER_ABSTIME
18262|      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]
  |  |  ------------------
  ------------------
18263|      2|#endif
18264|      2|#ifdef TFD_TIMER_CANCEL_ON_SET
18265|      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]
  |  |  ------------------
  ------------------
18266|      2|#endif
18267|       |
18268|       |    /* constants for posix_fadvise */
18269|      2|#ifdef POSIX_FADV_NORMAL
18270|      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]
  |  |  ------------------
  ------------------
18271|      2|#endif
18272|      2|#ifdef POSIX_FADV_SEQUENTIAL
18273|      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]
  |  |  ------------------
  ------------------
18274|      2|#endif
18275|      2|#ifdef POSIX_FADV_RANDOM
18276|      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]
  |  |  ------------------
  ------------------
18277|      2|#endif
18278|      2|#ifdef POSIX_FADV_NOREUSE
18279|      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]
  |  |  ------------------
  ------------------
18280|      2|#endif
18281|      2|#ifdef POSIX_FADV_WILLNEED
18282|      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]
  |  |  ------------------
  ------------------
18283|      2|#endif
18284|      2|#ifdef POSIX_FADV_DONTNEED
18285|      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]
  |  |  ------------------
  ------------------
18286|      2|#endif
18287|       |
18288|       |    /* constants for waitid */
18289|      2|#if defined(HAVE_SYS_WAIT_H) && defined(HAVE_WAITID)
18290|      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]
  |  |  ------------------
  ------------------
18291|      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]
  |  |  ------------------
  ------------------
18292|      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]
  |  |  ------------------
  ------------------
18293|      2|#ifdef P_PIDFD
18294|      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]
  |  |  ------------------
  ------------------
18295|      2|#endif
18296|       |#ifdef PIDFD_NONBLOCK
18297|       |    if (PyModule_AddIntMacro(m, PIDFD_NONBLOCK)) return -1;
18298|       |#endif
18299|      2|#endif
18300|      2|#ifdef WEXITED
18301|      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]
  |  |  ------------------
  ------------------
18302|      2|#endif
18303|      2|#ifdef WNOWAIT
18304|      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]
  |  |  ------------------
  ------------------
18305|      2|#endif
18306|      2|#ifdef WSTOPPED
18307|      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]
  |  |  ------------------
  ------------------
18308|      2|#endif
18309|      2|#ifdef CLD_EXITED
18310|      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]
  |  |  ------------------
  ------------------
18311|      2|#endif
18312|      2|#ifdef CLD_KILLED
18313|      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]
  |  |  ------------------
  ------------------
18314|      2|#endif
18315|      2|#ifdef CLD_DUMPED
18316|      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]
  |  |  ------------------
  ------------------
18317|      2|#endif
18318|      2|#ifdef CLD_TRAPPED
18319|      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]
  |  |  ------------------
  ------------------
18320|      2|#endif
18321|      2|#ifdef CLD_STOPPED
18322|      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]
  |  |  ------------------
  ------------------
18323|      2|#endif
18324|      2|#ifdef CLD_CONTINUED
18325|      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]
  |  |  ------------------
  ------------------
18326|      2|#endif
18327|       |
18328|       |    /* constants for lockf */
18329|      2|#ifdef F_LOCK
18330|      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]
  |  |  ------------------
  ------------------
18331|      2|#endif
18332|      2|#ifdef F_TLOCK
18333|      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]
  |  |  ------------------
  ------------------
18334|      2|#endif
18335|      2|#ifdef F_ULOCK
18336|      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]
  |  |  ------------------
  ------------------
18337|      2|#endif
18338|      2|#ifdef F_TEST
18339|      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]
  |  |  ------------------
  ------------------
18340|      2|#endif
18341|       |
18342|      2|#ifdef RWF_DSYNC
18343|      2|    if (PyModule_AddIntConstant(m, "RWF_DSYNC", RWF_DSYNC)) return -1;
  ------------------
  |  Branch (18343:9): [True: 0, False: 2]
  ------------------
18344|      2|#endif
18345|      2|#ifdef RWF_HIPRI
18346|      2|    if (PyModule_AddIntConstant(m, "RWF_HIPRI", RWF_HIPRI)) return -1;
  ------------------
  |  Branch (18346:9): [True: 0, False: 2]
  ------------------
18347|      2|#endif
18348|      2|#ifdef RWF_SYNC
18349|      2|    if (PyModule_AddIntConstant(m, "RWF_SYNC", RWF_SYNC)) return -1;
  ------------------
  |  Branch (18349:9): [True: 0, False: 2]
  ------------------
18350|      2|#endif
18351|      2|#ifdef RWF_NOWAIT
18352|      2|    if (PyModule_AddIntConstant(m, "RWF_NOWAIT", RWF_NOWAIT)) return -1;
  ------------------
  |  Branch (18352:9): [True: 0, False: 2]
  ------------------
18353|      2|#endif
18354|       |#ifdef RWF_DONTCACHE
18355|       |    if (PyModule_AddIntConstant(m, "RWF_DONTCACHE", RWF_DONTCACHE)) return -1;
18356|       |#endif
18357|       |#ifdef RWF_ATOMIC
18358|       |    if (PyModule_AddIntConstant(m, "RWF_ATOMIC", RWF_ATOMIC)) return -1;
18359|       |#endif
18360|      2|#ifdef RWF_APPEND
18361|      2|    if (PyModule_AddIntConstant(m, "RWF_APPEND", RWF_APPEND)) return -1;
  ------------------
  |  Branch (18361:9): [True: 0, False: 2]
  ------------------
18362|      2|#endif
18363|       |#ifdef RWF_NOSIGNAL
18364|       |    if (PyModule_AddIntConstant(m, "RWF_NOSIGNAL", RWF_NOSIGNAL)) return -1;
18365|       |#endif
18366|       |
18367|       |/* constants for splice */
18368|      2|#if defined(HAVE_SPLICE) && defined(__linux__)
18369|      2|    if (PyModule_AddIntConstant(m, "SPLICE_F_MOVE", SPLICE_F_MOVE)) return -1;
  ------------------
  |  Branch (18369:9): [True: 0, False: 2]
  ------------------
18370|      2|    if (PyModule_AddIntConstant(m, "SPLICE_F_NONBLOCK", SPLICE_F_NONBLOCK)) return -1;
  ------------------
  |  Branch (18370:9): [True: 0, False: 2]
  ------------------
18371|      2|    if (PyModule_AddIntConstant(m, "SPLICE_F_MORE", SPLICE_F_MORE)) return -1;
  ------------------
  |  Branch (18371:9): [True: 0, False: 2]
  ------------------
18372|      2|#endif
18373|       |
18374|       |/* constants for posix_spawn */
18375|      2|#ifdef HAVE_POSIX_SPAWN
18376|      2|    if (PyModule_AddIntConstant(m, "POSIX_SPAWN_OPEN", POSIX_SPAWN_OPEN)) return -1;
  ------------------
  |  Branch (18376:9): [True: 0, False: 2]
  ------------------
18377|      2|    if (PyModule_AddIntConstant(m, "POSIX_SPAWN_CLOSE", POSIX_SPAWN_CLOSE)) return -1;
  ------------------
  |  Branch (18377:9): [True: 0, False: 2]
  ------------------
18378|      2|    if (PyModule_AddIntConstant(m, "POSIX_SPAWN_DUP2", POSIX_SPAWN_DUP2)) return -1;
  ------------------
  |  Branch (18378:9): [True: 0, False: 2]
  ------------------
18379|       |#ifdef HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSEFROM_NP
18380|       |    if (PyModule_AddIntMacro(m, POSIX_SPAWN_CLOSEFROM)) return -1;
18381|       |#endif
18382|      2|#endif
18383|       |
18384|       |#if defined(HAVE_SPAWNV) || defined (HAVE_RTPSPAWN)
18385|       |    if (PyModule_AddIntConstant(m, "P_WAIT", _P_WAIT)) return -1;
18386|       |    if (PyModule_AddIntConstant(m, "P_NOWAIT", _P_NOWAIT)) return -1;
18387|       |    if (PyModule_AddIntConstant(m, "P_NOWAITO", _P_NOWAITO)) return -1;
18388|       |#endif
18389|       |#ifdef HAVE_SPAWNV
18390|       |    if (PyModule_AddIntConstant(m, "P_OVERLAY", _OLD_P_OVERLAY)) return -1;
18391|       |    if (PyModule_AddIntConstant(m, "P_DETACH", _P_DETACH)) return -1;
18392|       |#endif
18393|       |
18394|      2|#ifdef HAVE_SCHED_H
18395|      2|#ifdef SCHED_OTHER
18396|      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]
  |  |  ------------------
  ------------------
18397|      2|#endif
18398|      2|#ifdef SCHED_DEADLINE
18399|      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]
  |  |  ------------------
  ------------------
18400|      2|#endif
18401|      2|#ifdef SCHED_FIFO
18402|      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]
  |  |  ------------------
  ------------------
18403|      2|#endif
18404|      2|#ifdef SCHED_NORMAL
18405|      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]
  |  |  ------------------
  ------------------
18406|      2|#endif
18407|      2|#ifdef SCHED_RR
18408|      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]
  |  |  ------------------
  ------------------
18409|      2|#endif
18410|       |#ifdef SCHED_SPORADIC
18411|       |    if (PyModule_AddIntMacro(m, SCHED_SPORADIC)) return -1;
18412|       |#endif
18413|      2|#ifdef SCHED_BATCH
18414|      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]
  |  |  ------------------
  ------------------
18415|      2|#endif
18416|      2|#ifdef SCHED_IDLE
18417|      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]
  |  |  ------------------
  ------------------
18418|      2|#endif
18419|      2|#ifdef SCHED_RESET_ON_FORK
18420|      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]
  |  |  ------------------
  ------------------
18421|      2|#endif
18422|       |#ifdef SCHED_SYS
18423|       |    if (PyModule_AddIntMacro(m, SCHED_SYS)) return -1;
18424|       |#endif
18425|       |#ifdef SCHED_IA
18426|       |    if (PyModule_AddIntMacro(m, SCHED_IA)) return -1;
18427|       |#endif
18428|       |#ifdef SCHED_FSS
18429|       |    if (PyModule_AddIntMacro(m, SCHED_FSS)) return -1;
18430|       |#endif
18431|       |#ifdef SCHED_FX
18432|       |    if (PyModule_AddIntConstant(m, "SCHED_FX", SCHED_FSS)) return -1;
18433|       |#endif
18434|       |
18435|       |/* constants for namespaces */
18436|      2|#if defined(HAVE_SETNS) || defined(HAVE_UNSHARE)
18437|      2|#ifdef CLONE_FS
18438|      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]
  |  |  ------------------
  ------------------
18439|      2|#endif
18440|      2|#ifdef CLONE_FILES
18441|      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]
  |  |  ------------------
  ------------------
18442|      2|#endif
18443|      2|#ifdef CLONE_NEWNS
18444|      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]
  |  |  ------------------
  ------------------
18445|      2|#endif
18446|      2|#ifdef CLONE_NEWCGROUP
18447|      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]
  |  |  ------------------
  ------------------
18448|      2|#endif
18449|      2|#ifdef CLONE_NEWUTS
18450|      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]
  |  |  ------------------
  ------------------
18451|      2|#endif
18452|      2|#ifdef CLONE_NEWIPC
18453|      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]
  |  |  ------------------
  ------------------
18454|      2|#endif
18455|      2|#ifdef CLONE_NEWUSER
18456|      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]
  |  |  ------------------
  ------------------
18457|      2|#endif
18458|      2|#ifdef CLONE_NEWPID
18459|      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]
  |  |  ------------------
  ------------------
18460|      2|#endif
18461|      2|#ifdef CLONE_NEWNET
18462|      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]
  |  |  ------------------
  ------------------
18463|      2|#endif
18464|       |#ifdef CLONE_NEWTIME
18465|       |    if (PyModule_AddIntMacro(m, CLONE_NEWTIME)) return -1;
18466|       |#endif
18467|      2|#ifdef CLONE_SYSVSEM
18468|      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]
  |  |  ------------------
  ------------------
18469|      2|#endif
18470|      2|#ifdef CLONE_THREAD
18471|      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]
  |  |  ------------------
  ------------------
18472|      2|#endif
18473|      2|#ifdef CLONE_SIGHAND
18474|      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]
  |  |  ------------------
  ------------------
18475|      2|#endif
18476|      2|#ifdef CLONE_VM
18477|      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]
  |  |  ------------------
  ------------------
18478|      2|#endif
18479|      2|#endif
18480|       |
18481|      2|#endif
18482|       |
18483|      2|#ifdef USE_XATTRS
18484|      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]
  |  |  ------------------
  ------------------
18485|      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]
  |  |  ------------------
  ------------------
18486|      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]
  |  |  ------------------
  ------------------
18487|      2|#endif
18488|       |
18489|      2|#if HAVE_DECL_RTLD_LAZY
18490|      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]
  |  |  ------------------
  ------------------
18491|      2|#endif
18492|      2|#if HAVE_DECL_RTLD_NOW
18493|      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]
  |  |  ------------------
  ------------------
18494|      2|#endif
18495|      2|#if HAVE_DECL_RTLD_GLOBAL
18496|      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]
  |  |  ------------------
  ------------------
18497|      2|#endif
18498|      2|#if HAVE_DECL_RTLD_LOCAL
18499|      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]
  |  |  ------------------
  ------------------
18500|      2|#endif
18501|      2|#if HAVE_DECL_RTLD_NODELETE
18502|      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]
  |  |  ------------------
  ------------------
18503|      2|#endif
18504|      2|#if HAVE_DECL_RTLD_NOLOAD
18505|      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]
  |  |  ------------------
  ------------------
18506|      2|#endif
18507|      2|#if HAVE_DECL_RTLD_DEEPBIND
18508|      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]
  |  |  ------------------
  ------------------
18509|      2|#endif
18510|       |#if HAVE_DECL_RTLD_MEMBER
18511|       |    if (PyModule_AddIntMacro(m, RTLD_MEMBER)) return -1;
18512|       |#endif
18513|       |
18514|      2|#ifdef HAVE_GETRANDOM_SYSCALL
18515|      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]
  |  |  ------------------
  ------------------
18516|      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]
  |  |  ------------------
  ------------------
18517|      2|#endif
18518|      2|#ifdef HAVE_MEMFD_CREATE
18519|      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]
  |  |  ------------------
  ------------------
18520|      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]
  |  |  ------------------
  ------------------
18521|      2|#ifdef MFD_HUGETLB
18522|      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]
  |  |  ------------------
  ------------------
18523|      2|#endif
18524|      2|#ifdef MFD_HUGE_SHIFT
18525|      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]
  |  |  ------------------
  ------------------
18526|      2|#endif
18527|      2|#ifdef MFD_HUGE_MASK
18528|      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]
  |  |  ------------------
  ------------------
18529|      2|#endif
18530|      2|#ifdef MFD_HUGE_64KB
18531|      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]
  |  |  ------------------
  ------------------
18532|      2|#endif
18533|      2|#ifdef MFD_HUGE_512KB
18534|      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]
  |  |  ------------------
  ------------------
18535|      2|#endif
18536|      2|#ifdef MFD_HUGE_1MB
18537|      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]
  |  |  ------------------
  ------------------
18538|      2|#endif
18539|      2|#ifdef MFD_HUGE_2MB
18540|      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]
  |  |  ------------------
  ------------------
18541|      2|#endif
18542|      2|#ifdef MFD_HUGE_8MB
18543|      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]
  |  |  ------------------
  ------------------
18544|      2|#endif
18545|      2|#ifdef MFD_HUGE_16MB
18546|      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]
  |  |  ------------------
  ------------------
18547|      2|#endif
18548|      2|#ifdef MFD_HUGE_32MB
18549|      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]
  |  |  ------------------
  ------------------
18550|      2|#endif
18551|      2|#ifdef MFD_HUGE_256MB
18552|      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]
  |  |  ------------------
  ------------------
18553|      2|#endif
18554|      2|#ifdef MFD_HUGE_512MB
18555|      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]
  |  |  ------------------
  ------------------
18556|      2|#endif
18557|      2|#ifdef MFD_HUGE_1GB
18558|      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]
  |  |  ------------------
  ------------------
18559|      2|#endif
18560|      2|#ifdef MFD_HUGE_2GB
18561|      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]
  |  |  ------------------
  ------------------
18562|      2|#endif
18563|      2|#ifdef MFD_HUGE_16GB
18564|      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]
  |  |  ------------------
  ------------------
18565|      2|#endif
18566|      2|#endif /* HAVE_MEMFD_CREATE */
18567|       |
18568|      2|#if defined(HAVE_EVENTFD) && defined(EFD_CLOEXEC)
18569|      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]
  |  |  ------------------
  ------------------
18570|      2|#ifdef EFD_NONBLOCK
18571|      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]
  |  |  ------------------
  ------------------
18572|      2|#endif
18573|      2|#ifdef EFD_SEMAPHORE
18574|      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]
  |  |  ------------------
  ------------------
18575|      2|#endif
18576|      2|#endif  /* HAVE_EVENTFD && EFD_CLOEXEC */
18577|       |
18578|      2|#ifdef NODEV
18579|      2|    if (PyModule_Add(m, "NODEV", _PyLong_FromDev(NODEV))) return -1;
  ------------------
  |  Branch (18579:9): [True: 0, False: 2]
  ------------------
18580|      2|#endif
18581|       |
18582|      2|#ifdef AT_NO_AUTOMOUNT
18583|      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]
  |  |  ------------------
  ------------------
18584|      2|#endif
18585|       |
18586|      2|#ifdef HAVE_STATX
18587|      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]
  |  |  ------------------
  ------------------
18588|      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]
  |  |  ------------------
  ------------------
18589|      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]
  |  |  ------------------
  ------------------
18590|      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]
  |  |  ------------------
  ------------------
18591|      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]
  |  |  ------------------
  ------------------
18592|      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]
  |  |  ------------------
  ------------------
18593|      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]
  |  |  ------------------
  ------------------
18594|      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]
  |  |  ------------------
  ------------------
18595|      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]
  |  |  ------------------
  ------------------
18596|      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]
  |  |  ------------------
  ------------------
18597|      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]
  |  |  ------------------
  ------------------
18598|      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]
  |  |  ------------------
  ------------------
18599|      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]
  |  |  ------------------
  ------------------
18600|       |#ifdef STATX_MNT_ID
18601|       |    if (PyModule_AddIntMacro(m, STATX_MNT_ID)) return -1;
18602|       |#endif
18603|       |#ifdef STATX_DIOALIGN
18604|       |    if (PyModule_AddIntMacro(m, STATX_DIOALIGN)) return -1;
18605|       |#endif
18606|       |#ifdef STATX_MNT_ID_UNIQUE
18607|       |    if (PyModule_AddIntMacro(m, STATX_MNT_ID_UNIQUE)) return -1;
18608|       |#endif
18609|       |#ifdef STATX_SUBVOL
18610|       |    if (PyModule_AddIntMacro(m, STATX_SUBVOL)) return -1;
18611|       |#endif
18612|       |#ifdef STATX_WRITE_ATOMIC
18613|       |    if (PyModule_AddIntMacro(m, STATX_WRITE_ATOMIC)) return -1;
18614|       |#endif
18615|       |#ifdef STATX_DIO_READ_ALIGN
18616|       |    if (PyModule_AddIntMacro(m, STATX_DIO_READ_ALIGN)) return -1;
18617|       |#endif
18618|       |    /* STATX_ALL intentionally omitted because it is deprecated */
18619|      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]
  |  |  ------------------
  ------------------
18620|      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]
  |  |  ------------------
  ------------------
18621|      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]
  |  |  ------------------
  ------------------
18622|       |    /* STATX_ATTR_* constants are in the stat module */
18623|      2|#endif /* HAVE_STATX */
18624|       |
18625|       |#if defined(__APPLE__)
18626|       |    if (PyModule_AddIntConstant(m, "_COPYFILE_DATA", COPYFILE_DATA)) return -1;
18627|       |    if (PyModule_AddIntConstant(m, "_COPYFILE_STAT", COPYFILE_STAT)) return -1;
18628|       |    if (PyModule_AddIntConstant(m, "_COPYFILE_ACL", COPYFILE_ACL)) return -1;
18629|       |    if (PyModule_AddIntConstant(m, "_COPYFILE_XATTR", COPYFILE_XATTR)) return -1;
18630|       |#endif
18631|       |
18632|       |#ifdef MS_WINDOWS
18633|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_DEFAULT_DIRS", LOAD_LIBRARY_SEARCH_DEFAULT_DIRS)) return -1;
18634|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_APPLICATION_DIR", LOAD_LIBRARY_SEARCH_APPLICATION_DIR)) return -1;
18635|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_SYSTEM32", LOAD_LIBRARY_SEARCH_SYSTEM32)) return -1;
18636|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_USER_DIRS", LOAD_LIBRARY_SEARCH_USER_DIRS)) return -1;
18637|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR", LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR)) return -1;
18638|       |#endif
18639|       |
18640|      2|    return 0;
18641|      2|}
posixmodule.c:setup_confname_tables:
15288|      2|{
15289|      2|#if defined(HAVE_FPATHCONF) || defined(HAVE_PATHCONF)
15290|      2|    if (setup_confname_table(posix_constants_pathconf,
  ------------------
  |  Branch (15290:9): [True: 0, False: 2]
  ------------------
15291|      2|                             sizeof(posix_constants_pathconf)
15292|      2|                               / sizeof(struct constdef),
15293|      2|                             "pathconf_names", module))
15294|      0|        return -1;
15295|      2|#endif
15296|      2|#ifdef HAVE_CONFSTR
15297|      2|    if (setup_confname_table(posix_constants_confstr,
  ------------------
  |  Branch (15297:9): [True: 0, False: 2]
  ------------------
15298|      2|                             sizeof(posix_constants_confstr)
15299|      2|                               / sizeof(struct constdef),
15300|      2|                             "confstr_names", module))
15301|      0|        return -1;
15302|      2|#endif
15303|      2|#ifdef HAVE_SYSCONF
15304|      2|    if (setup_confname_table(posix_constants_sysconf,
  ------------------
  |  Branch (15304:9): [True: 0, False: 2]
  ------------------
15305|      2|                             sizeof(posix_constants_sysconf)
15306|      2|                               / sizeof(struct constdef),
15307|      2|                             "sysconf_names", module))
15308|      0|        return -1;
15309|      2|#endif
15310|      2|    return 0;
15311|      2|}
posixmodule.c:setup_confname_table:
15268|      6|{
15269|      6|    PyObject *d = PyDict_New();
15270|      6|    if (d == NULL)
  ------------------
  |  Branch (15270:9): [True: 0, False: 6]
  ------------------
15271|      0|        return -1;
15272|       |
15273|    368|    for (size_t i=0; i < tablesize; ++i) {
  ------------------
  |  Branch (15273:22): [True: 362, False: 6]
  ------------------
15274|    362|        PyObject *o = PyLong_FromLong(table[i].value);
15275|    362|        if (o == NULL || PyDict_SetItemString(d, table[i].name, o) == -1) {
  ------------------
  |  Branch (15275:13): [True: 0, False: 362]
  |  Branch (15275:26): [True: 0, False: 362]
  ------------------
15276|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15277|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15278|      0|            return -1;
15279|      0|        }
15280|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15281|    362|    }
15282|      6|    return PyModule_Add(module, tablename, d);
15283|      6|}
posixmodule.c:fd_specified:
 1619|      2|{
 1620|      2|    if (fd == -1)
  ------------------
  |  Branch (1620:9): [True: 2, False: 0]
  ------------------
 1621|      2|        return 0;
 1622|       |
 1623|      0|    argument_unavailable_error(function_name, "fd");
 1624|      0|    return 1;
 1625|      2|}
posixmodule.c:dir_fd_unavailable:
 1605|      2|{
 1606|      2|    int dir_fd;
 1607|      2|    if (!dir_fd_converter(o, &dir_fd))
  ------------------
  |  Branch (1607:9): [True: 0, False: 2]
  ------------------
 1608|      0|        return 0;
 1609|      2|    if (dir_fd != DEFAULT_DIR_FD) {
  ------------------
  |  | 1150|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (1609:9): [True: 0, False: 2]
  ------------------
 1610|      0|        argument_unavailable_error(NULL, "dir_fd");
 1611|      0|        return 0;
 1612|      0|    }
 1613|      2|    *(int *)p = dir_fd;
 1614|      2|    return 1;
 1615|      2|}
posixmodule.c:probe_faccessat:
18647|      2|   {                      \
18648|      2|      if (test) {        \
  ------------------
  |  Branch (18648:11): [True: 2, Folded]
  ------------------
18649|      2|          return 1;       \
18650|      2|      } else {            \
18651|      0|          return 0;       \
18652|      0|      }                   \
18653|      2|   }
posixmodule.c:probe_fchmodat:
18647|      2|   {                      \
18648|      2|      if (test) {        \
  ------------------
  |  Branch (18648:11): [True: 2, Folded]
  ------------------
18649|      2|          return 1;       \
18650|      2|      } else {            \
18651|      0|          return 0;       \
18652|      0|      }                   \
18653|      2|   }
posixmodule.c:probe_fchownat:
18647|      2|   {                      \
18648|      2|      if (test) {        \
  ------------------
  |  Branch (18648:11): [True: 2, Folded]
  ------------------
18649|      2|          return 1;       \
18650|      2|      } else {            \
18651|      0|          return 0;       \
18652|      0|      }                   \
18653|      2|   }
posixmodule.c:probe_fdopendir:
18647|      2|   {                      \
18648|      2|      if (test) {        \
  ------------------
  |  Branch (18648:11): [True: 2, Folded]
  ------------------
18649|      2|          return 1;       \
18650|      2|      } else {            \
18651|      0|          return 0;       \
18652|      0|      }                   \
18653|      2|   }
posixmodule.c:probe_fstatat:
18647|      2|   {                      \
18648|      2|      if (test) {        \
  ------------------
  |  Branch (18648:11): [True: 2, Folded]
  ------------------
18649|      2|          return 1;       \
18650|      2|      } else {            \
18651|      0|          return 0;       \
18652|      0|      }                   \
18653|      2|   }
posixmodule.c:probe_futimens:
18647|      2|   {                      \
18648|      2|      if (test) {        \
  ------------------
  |  Branch (18648:11): [True: 2, Folded]
  ------------------
18649|      2|          return 1;       \
18650|      2|      } else {            \
18651|      0|          return 0;       \
18652|      0|      }                   \
18653|      2|   }
posixmodule.c:probe_linkat:
18647|      2|   {                      \
18648|      2|      if (test) {        \
  ------------------
  |  Branch (18648:11): [True: 2, Folded]
  ------------------
18649|      2|          return 1;       \
18650|      2|      } else {            \
18651|      0|          return 0;       \
18652|      0|      }                   \
18653|      2|   }
posixmodule.c:probe_mkdirat:
18647|      2|   {                      \
18648|      2|      if (test) {        \
  ------------------
  |  Branch (18648:11): [True: 2, Folded]
  ------------------
18649|      2|          return 1;       \
18650|      2|      } else {            \
18651|      0|          return 0;       \
18652|      0|      }                   \
18653|      2|   }
posixmodule.c:probe_mkfifoat:
18647|      2|   {                      \
18648|      2|      if (test) {        \
  ------------------
  |  Branch (18648:11): [True: 2, Folded]
  ------------------
18649|      2|          return 1;       \
18650|      2|      } else {            \
18651|      0|          return 0;       \
18652|      0|      }                   \
18653|      2|   }
posixmodule.c:probe_mknodat:
18647|      2|   {                      \
18648|      2|      if (test) {        \
  ------------------
  |  Branch (18648:11): [True: 2, Folded]
  ------------------
18649|      2|          return 1;       \
18650|      2|      } else {            \
18651|      0|          return 0;       \
18652|      0|      }                   \
18653|      2|   }
posixmodule.c:probe_openat:
18647|      2|   {                      \
18648|      2|      if (test) {        \
  ------------------
  |  Branch (18648:11): [True: 2, Folded]
  ------------------
18649|      2|          return 1;       \
18650|      2|      } else {            \
18651|      0|          return 0;       \
18652|      0|      }                   \
18653|      2|   }
posixmodule.c:probe_readlinkat:
18647|      2|   {                      \
18648|      2|      if (test) {        \
  ------------------
  |  Branch (18648:11): [True: 2, Folded]
  ------------------
18649|      2|          return 1;       \
18650|      2|      } else {            \
18651|      0|          return 0;       \
18652|      0|      }                   \
18653|      2|   }
posixmodule.c:probe_renameat:
18647|      2|   {                      \
18648|      2|      if (test) {        \
  ------------------
  |  Branch (18648:11): [True: 2, Folded]
  ------------------
18649|      2|          return 1;       \
18650|      2|      } else {            \
18651|      0|          return 0;       \
18652|      0|      }                   \
18653|      2|   }
posixmodule.c:probe_symlinkat:
18647|      2|   {                      \
18648|      2|      if (test) {        \
  ------------------
  |  Branch (18648:11): [True: 2, Folded]
  ------------------
18649|      2|          return 1;       \
18650|      2|      } else {            \
18651|      0|          return 0;       \
18652|      0|      }                   \
18653|      2|   }
posixmodule.c:probe_unlinkat:
18647|      2|   {                      \
18648|      2|      if (test) {        \
  ------------------
  |  Branch (18648:11): [True: 2, Folded]
  ------------------
18649|      2|          return 1;       \
18650|      2|      } else {            \
18651|      0|          return 0;       \
18652|      0|      }                   \
18653|      2|   }
posixmodule.c:probe_utimensat:
18647|      2|   {                      \
18648|      2|      if (test) {        \
  ------------------
  |  Branch (18648:11): [True: 2, Folded]
  ------------------
18649|      2|          return 1;       \
18650|      2|      } else {            \
18651|      0|          return 0;       \
18652|      0|      }                   \
18653|      2|   }
posixmodule.c:probe_ptsname_r:
18647|      2|   {                      \
18648|      2|      if (test) {        \
  ------------------
  |  Branch (18648:11): [True: 2, Folded]
  ------------------
18649|      2|          return 1;       \
18650|      2|      } else {            \
18651|      0|          return 0;       \
18652|      0|      }                   \
18653|      2|   }
posixmodule.c:_posix_traverse:
 2626|     20|{
 2627|     20|    _posixstate *state = get_posix_state(module);
 2628|     20|    Py_VISIT(state->billion);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 2629|     20|    Py_VISIT(state->DirEntryType);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 2630|     20|    Py_VISIT(state->ScandirIteratorType);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 2631|     20|#if defined(HAVE_SCHED_SETPARAM) || defined(HAVE_SCHED_SETSCHEDULER) || defined(POSIX_SPAWN_SETSCHEDULER) || defined(POSIX_SPAWN_SETSCHEDPARAM)
 2632|     20|    Py_VISIT(state->SchedParamType);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 2633|     20|#endif
 2634|     20|    Py_VISIT(state->StatResultType);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 2635|     20|#ifdef HAVE_STATX
 2636|     20|    Py_VISIT(state->StatxResultType);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 2637|     20|#endif
 2638|     20|    Py_VISIT(state->StatVFSResultType);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 2639|     20|    Py_VISIT(state->TerminalSizeType);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 2640|     20|    Py_VISIT(state->TimesResultType);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 2641|     20|    Py_VISIT(state->UnameResultType);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 2642|     20|#if defined(HAVE_WAITID)
 2643|     20|    Py_VISIT(state->WaitidResultType);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 2644|     20|#endif
 2645|     20|#if defined(HAVE_WAIT3) || defined(HAVE_WAIT4)
 2646|     20|    Py_VISIT(state->struct_rusage);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 2647|     20|#endif
 2648|     20|    Py_VISIT(state->st_mode);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 2649|     20|    return 0;
 2650|     20|}

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

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|  1.56M|{
   59|  1.56M|    if (o == NULL) {
  ------------------
  |  Branch (59:9): [True: 0, False: 1.56M]
  ------------------
   60|      0|        null_error();
   61|      0|        return -1;
   62|      0|    }
   63|       |
   64|  1.56M|    PySequenceMethods *m = Py_TYPE(o)->tp_as_sequence;
  ------------------
  |  |  213|  1.56M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.56M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.56M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   65|  1.56M|    if (m && m->sq_length) {
  ------------------
  |  Branch (65:9): [True: 1.56M, False: 0]
  |  Branch (65:14): [True: 1.56M, False: 384]
  ------------------
   66|  1.56M|        Py_ssize_t len = m->sq_length(o);
   67|  1.56M|        assert(_Py_CheckSlotResult(o, "__len__", len >= 0));
  ------------------
  |  Branch (67:9): [True: 1.56M, False: 0]
  ------------------
   68|  1.56M|        return len;
   69|  1.56M|    }
   70|       |
   71|    384|    return PyMapping_Size(o);
   72|  1.56M|}
_PyObject_HasLen:
   83|    164|_PyObject_HasLen(PyObject *o) {
   84|    164|    return (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_length) ||
  ------------------
  |  |  213|    164|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    164|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    164|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_length) ||
  ------------------
  |  |  213|     43|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (84:13): [True: 43, False: 121]
  |  Branch (84:43): [True: 43, False: 0]
  ------------------
   85|    121|        (Py_TYPE(o)->tp_as_mapping && Py_TYPE(o)->tp_as_mapping->mp_length);
  ------------------
  |  |  213|    121|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    121|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    121|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      (Py_TYPE(o)->tp_as_mapping && Py_TYPE(o)->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 (85:10): [True: 0, False: 121]
  |  Branch (85:39): [True: 0, False: 0]
  ------------------
   86|    164|}
PyObject_LengthHint:
   96|    163|{
   97|    163|    PyObject *hint, *result;
   98|    163|    Py_ssize_t res;
   99|    163|    if (_PyObject_HasLen(o)) {
  ------------------
  |  Branch (99:9): [True: 42, False: 121]
  ------------------
  100|     42|        res = PyObject_Length(o);
  ------------------
  |  |   80|     42|#define PyObject_Length PyObject_Size
  ------------------
  101|     42|        if (res < 0) {
  ------------------
  |  Branch (101:13): [True: 0, False: 42]
  ------------------
  102|      0|            PyThreadState *tstate = _PyThreadState_GET();
  103|      0|            assert(_PyErr_Occurred(tstate));
  ------------------
  |  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|     42|        else {
  110|     42|            return res;
  111|     42|        }
  112|     42|    }
  113|    121|    hint = _PyObject_LookupSpecial(o, &_Py_ID(__length_hint__));
  ------------------
  |  |  921|    121|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    121|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    121|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  114|    121|    if (hint == NULL) {
  ------------------
  |  Branch (114:9): [True: 36, False: 85]
  ------------------
  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|     85|    result = _PyObject_CallNoArgs(hint);
  121|     85|    Py_DECREF(hint);
  ------------------
  |  |  430|     85|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  122|     85|    if (result == NULL) {
  ------------------
  |  Branch (122:9): [True: 0, False: 85]
  ------------------
  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|     85|    else if (result == Py_NotImplemented) {
  ------------------
  |  |  640|     85|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (130:14): [True: 0, False: 85]
  ------------------
  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|     85|    if (!PyLong_Check(result)) {
  ------------------
  |  |   13|     85|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     85|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (134:9): [True: 0, False: 85]
  ------------------
  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|     85|    res = PyLong_AsSsize_t(result);
  142|     85|    Py_DECREF(result);
  ------------------
  |  |  430|     85|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  143|     85|    if (res < 0 && PyErr_Occurred()) {
  ------------------
  |  Branch (143:9): [True: 0, False: 85]
  |  Branch (143:20): [True: 0, False: 0]
  ------------------
  144|      0|        return -1;
  145|      0|    }
  146|     85|    if (res < 0) {
  ------------------
  |  Branch (146:9): [True: 0, False: 85]
  ------------------
  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|     85|    return res;
  152|     85|}
PyObject_GetItem:
  156|  9.78M|{
  157|  9.78M|    if (o == NULL || key == NULL) {
  ------------------
  |  Branch (157:9): [True: 0, False: 9.78M]
  |  Branch (157:22): [True: 0, False: 9.78M]
  ------------------
  158|      0|        return null_error();
  159|      0|    }
  160|       |
  161|  9.78M|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|  9.78M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.78M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.78M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  162|  9.78M|    if (m && m->mp_subscript) {
  ------------------
  |  Branch (162:9): [True: 9.78M, False: 444]
  |  Branch (162:14): [True: 9.78M, False: 0]
  ------------------
  163|  9.78M|        PyObject *item = m->mp_subscript(o, key);
  164|  9.78M|        assert(_Py_CheckSlotResult(o, "__getitem__", item != NULL));
  ------------------
  |  Branch (164:9): [True: 9.78M, False: 0]
  ------------------
  165|  9.78M|        return item;
  166|  9.78M|    }
  167|       |
  168|    444|    PySequenceMethods *ms = Py_TYPE(o)->tp_as_sequence;
  ------------------
  |  |  213|    444|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    444|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    444|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  169|    444|    if (ms && ms->sq_item) {
  ------------------
  |  Branch (169:9): [True: 0, False: 444]
  |  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|    444|    if (PyType_Check(o)) {
  ------------------
  |  |  766|    444|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    444|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    444|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 5, False: 439]
  |  |  ------------------
  ------------------
  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) {
  ------------------
  |  |  921|      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|    439|    return type_error("'%.200s' object is not subscriptable", o);
  206|    444|}
PyMapping_GetOptionalItem:
  210|  1.14M|{
  211|  1.14M|    if (PyAnyDict_CheckExact(obj)) {
  ------------------
  |  |   41|  1.14M|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  1.14M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  2.28M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 1.14M, 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|  1.14M|        return PyDict_GetItemRef(obj, key, result);
  213|  1.14M|    }
  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|    631|{
  230|    631|    PyObject* result;
  231|    631|    *err = PyMapping_GetOptionalItem(obj, key, &result);
  232|    631|    return result;
  233|    631|}
PyObject_SetItem:
  237|    918|{
  238|    918|    if (o == NULL || key == NULL || value == NULL) {
  ------------------
  |  Branch (238:9): [True: 0, False: 918]
  |  Branch (238:22): [True: 0, False: 918]
  |  Branch (238:37): [True: 0, False: 918]
  ------------------
  239|      0|        null_error();
  240|      0|        return -1;
  241|      0|    }
  242|       |
  243|    918|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|    918|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    918|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    918|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|    918|    if (m && m->mp_ass_subscript) {
  ------------------
  |  Branch (244:9): [True: 918, False: 0]
  |  Branch (244:14): [True: 918, False: 0]
  ------------------
  245|    918|        int res = m->mp_ass_subscript(o, key, value);
  246|    918|        assert(_Py_CheckSlotResult(o, "__setitem__", res >= 0));
  ------------------
  |  Branch (246:9): [True: 918, False: 0]
  ------------------
  247|    918|        return res;
  248|    918|    }
  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|    394|{
  272|    394|    if (o == NULL || key == NULL) {
  ------------------
  |  Branch (272:9): [True: 0, False: 394]
  |  Branch (272:22): [True: 0, False: 394]
  ------------------
  273|      0|        null_error();
  274|      0|        return -1;
  275|      0|    }
  276|       |
  277|    394|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|    394|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    394|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    394|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  278|    394|    if (m && m->mp_ass_subscript) {
  ------------------
  |  Branch (278:9): [True: 394, False: 0]
  |  Branch (278:14): [True: 394, False: 0]
  ------------------
  279|    394|        int res = m->mp_ass_subscript(o, key, (PyObject*)NULL);
  280|    394|        assert(_Py_CheckSlotResult(o, "__delitem__", res >= 0));
  ------------------
  |  Branch (280:9): [True: 394, False: 0]
  ------------------
  281|    394|        return res;
  282|    394|    }
  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|   241k|{
  326|   241k|    PyBufferProcs *tp_as_buffer = Py_TYPE(obj)->tp_as_buffer;
  ------------------
  |  |  213|   241k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   241k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   241k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  327|   241k|    return (tp_as_buffer != NULL && tp_as_buffer->bf_getbuffer != NULL);
  ------------------
  |  Branch (327:13): [True: 240k, False: 110]
  |  Branch (327:37): [True: 240k, False: 0]
  ------------------
  328|   241k|}
PyObject_GetBuffer:
  440|   398k|{
  441|   398k|    if (flags != PyBUF_SIMPLE) {  /* fast path */
  ------------------
  |  |  108|   398k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (441:9): [True: 19.5k, False: 379k]
  ------------------
  442|  19.5k|        if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  137|  39.1k|#define PyBUF_READ  0x100
  ------------------
                      if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  138|  19.5k|#define PyBUF_WRITE 0x200
  ------------------
  |  Branch (442:13): [True: 0, False: 19.5k]
  |  Branch (442:36): [True: 0, False: 19.5k]
  ------------------
  443|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  444|      0|            return -1;
  445|      0|        }
  446|  19.5k|    }
  447|   398k|    PyBufferProcs *pb = Py_TYPE(obj)->tp_as_buffer;
  ------------------
  |  |  213|   398k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   398k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   398k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  448|       |
  449|   398k|    if (pb == NULL || pb->bf_getbuffer == NULL) {
  ------------------
  |  Branch (449:9): [True: 785, False: 398k]
  |  Branch (449:23): [True: 0, False: 398k]
  ------------------
  450|    785|        PyErr_Format(PyExc_TypeError,
  451|    785|                     "a bytes-like object is required, not '%.100s'",
  452|    785|                     Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|    785|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    785|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    785|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  453|    785|        return -1;
  454|    785|    }
  455|   398k|    int res = (*pb->bf_getbuffer)(obj, view, flags);
  456|   398k|    assert(_Py_CheckSlotResult(obj, "getbuffer", res >= 0));
  ------------------
  |  Branch (456:5): [True: 398k, False: 0]
  ------------------
  457|   398k|    return res;
  458|   398k|}
PyBuffer_IsContiguous:
  529|  19.4k|{
  530|       |
  531|  19.4k|    if (view->suboffsets != NULL) return 0;
  ------------------
  |  Branch (531:9): [True: 0, False: 19.4k]
  ------------------
  532|       |
  533|  19.4k|    if (order == 'C')
  ------------------
  |  Branch (533:9): [True: 19.4k, False: 0]
  ------------------
  534|  19.4k|        return _IsCContiguous(view);
  535|      0|    else if (order == 'F')
  ------------------
  |  Branch (535:14): [True: 0, False: 0]
  ------------------
  536|      0|        return _IsFortranContiguous(view);
  537|      0|    else if (order == 'A')
  ------------------
  |  Branch (537:14): [True: 0, False: 0]
  ------------------
  538|      0|        return (_IsCContiguous(view) || _IsFortranContiguous(view));
  ------------------
  |  Branch (538:17): [True: 0, False: 0]
  |  Branch (538:41): [True: 0, False: 0]
  ------------------
  539|      0|    return 0;
  540|  19.4k|}
PyBuffer_FillInfo:
  776|   398k|{
  777|   398k|    if (view == NULL) {
  ------------------
  |  Branch (777:9): [True: 0, False: 398k]
  ------------------
  778|      0|        PyErr_SetString(PyExc_BufferError,
  779|      0|                        "PyBuffer_FillInfo: view==NULL argument is obsolete");
  780|      0|        return -1;
  781|      0|    }
  782|       |
  783|   398k|    if (flags != PyBUF_SIMPLE) {  /* fast path */
  ------------------
  |  |  108|   398k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (783:9): [True: 72.2k, False: 326k]
  ------------------
  784|  72.2k|        if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  137|   144k|#define PyBUF_READ  0x100
  ------------------
                      if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  138|  72.2k|#define PyBUF_WRITE 0x200
  ------------------
  |  Branch (784:13): [True: 0, False: 72.2k]
  |  Branch (784:36): [True: 0, False: 72.2k]
  ------------------
  785|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  786|      0|            return -1;
  787|      0|        }
  788|  72.2k|        if (((flags & PyBUF_WRITABLE) == PyBUF_WRITABLE) &&
  ------------------
  |  |  109|  72.2k|#define PyBUF_WRITABLE 0x0001
  ------------------
                      if (((flags & PyBUF_WRITABLE) == PyBUF_WRITABLE) &&
  ------------------
  |  |  109|  72.2k|#define PyBUF_WRITABLE 0x0001
  ------------------
  |  Branch (788:13): [True: 0, False: 72.2k]
  ------------------
  789|      0|            (readonly == 1)) {
  ------------------
  |  Branch (789:13): [True: 0, False: 0]
  ------------------
  790|      0|            PyErr_SetString(PyExc_BufferError,
  791|      0|                            "Object is not writable.");
  792|      0|            return -1;
  793|      0|        }
  794|  72.2k|    }
  795|       |
  796|   398k|    view->obj = Py_XNewRef(obj);
  ------------------
  |  |  551|   398k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   398k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   398k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  797|   398k|    view->buf = buf;
  798|   398k|    view->len = len;
  799|   398k|    view->readonly = readonly;
  800|   398k|    view->itemsize = 1;
  801|   398k|    view->format = NULL;
  802|   398k|    if ((flags & PyBUF_FORMAT) == PyBUF_FORMAT)
  ------------------
  |  |  116|   398k|#define PyBUF_FORMAT 0x0004
  ------------------
                  if ((flags & PyBUF_FORMAT) == PyBUF_FORMAT)
  ------------------
  |  |  116|   398k|#define PyBUF_FORMAT 0x0004
  ------------------
  |  Branch (802:9): [True: 23.7k, False: 374k]
  ------------------
  803|  23.7k|        view->format = "B";
  804|   398k|    view->ndim = 1;
  805|   398k|    view->shape = NULL;
  806|   398k|    if ((flags & PyBUF_ND) == PyBUF_ND)
  ------------------
  |  |  117|   398k|#define PyBUF_ND 0x0008
  ------------------
                  if ((flags & PyBUF_ND) == PyBUF_ND)
  ------------------
  |  |  117|   398k|#define PyBUF_ND 0x0008
  ------------------
  |  Branch (806:9): [True: 72.2k, False: 326k]
  ------------------
  807|  72.2k|        view->shape = &(view->len);
  808|   398k|    view->strides = NULL;
  809|   398k|    if ((flags & PyBUF_STRIDES) == PyBUF_STRIDES)
  ------------------
  |  |  118|   398k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|   398k|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
                  if ((flags & PyBUF_STRIDES) == PyBUF_STRIDES)
  ------------------
  |  |  118|   398k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|   398k|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
  |  Branch (809:9): [True: 23.7k, False: 374k]
  ------------------
  810|  23.7k|        view->strides = &(view->itemsize);
  811|   398k|    view->suboffsets = NULL;
  812|       |    view->internal = NULL;
  813|   398k|    return 0;
  814|   398k|}
PyBuffer_Release:
  818|   599k|{
  819|   599k|    PyObject *obj = view->obj;
  820|   599k|    PyBufferProcs *pb;
  821|   599k|    if (obj == NULL)
  ------------------
  |  Branch (821:9): [True: 201k, False: 398k]
  ------------------
  822|   201k|        return;
  823|   398k|    pb = Py_TYPE(obj)->tp_as_buffer;
  ------------------
  |  |  213|   398k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   398k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   398k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  824|   398k|    if (pb && pb->bf_releasebuffer) {
  ------------------
  |  Branch (824:9): [True: 398k, False: 0]
  |  Branch (824:15): [True: 71.9k, False: 326k]
  ------------------
  825|  71.9k|        pb->bf_releasebuffer(obj, view);
  826|  71.9k|    }
  827|   398k|    view->obj = NULL;
  828|   398k|    Py_DECREF(obj);
  ------------------
  |  |  430|   398k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   398k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   398k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  829|   398k|}
PyObject_Format:
  854|  97.2k|{
  855|  97.2k|    PyObject *meth;
  856|  97.2k|    PyObject *empty = NULL;
  857|  97.2k|    PyObject *result = NULL;
  858|       |
  859|  97.2k|    if (format_spec != NULL && !PyUnicode_Check(format_spec)) {
  ------------------
  |  |  103|    132|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    132|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (859:9): [True: 132, False: 97.1k]
  |  Branch (859:32): [True: 0, False: 132]
  ------------------
  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|  97.2k|    if (format_spec == NULL || PyUnicode_GET_LENGTH(format_spec) == 0) {
  ------------------
  |  |  299|    132|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    132|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (867:9): [True: 97.1k, False: 132]
  |  Branch (867:32): [True: 0, False: 132]
  ------------------
  868|  97.1k|        if (PyUnicode_CheckExact(obj)) {
  ------------------
  |  |  104|  97.1k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  97.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  97.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  97.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 97.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|  97.1k|        if (PyLong_CheckExact(obj)) {
  ------------------
  |  |   14|  97.1k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  97.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  97.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  97.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 48.6k, False: 48.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  872|  48.6k|            return PyObject_Str(obj);
  873|  48.6k|        }
  874|  97.1k|    }
  875|       |
  876|       |    /* If no format_spec is provided, use an empty string */
  877|  48.5k|    if (format_spec == NULL) {
  ------------------
  |  Branch (877:9): [True: 48.4k, False: 132]
  ------------------
  878|  48.4k|        empty = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|  48.4k|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  879|  48.4k|        format_spec = empty;
  880|  48.4k|    }
  881|       |
  882|       |    /* Find the (unbound!) __format__ method */
  883|  48.5k|    meth = _PyObject_LookupSpecial(obj, &_Py_ID(__format__));
  ------------------
  |  |  921|  48.5k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  48.5k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  48.5k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  884|  48.5k|    if (meth == NULL) {
  ------------------
  |  Branch (884:9): [True: 0, False: 48.5k]
  ------------------
  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|  48.5k|    result = PyObject_CallOneArg(meth, format_spec);
  896|  48.5k|    Py_DECREF(meth);
  ------------------
  |  |  430|  48.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  897|       |
  898|  48.5k|    if (result && !PyUnicode_Check(result)) {
  ------------------
  |  |  103|  48.5k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  48.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (898:9): [True: 48.5k, False: 0]
  |  Branch (898:19): [True: 0, False: 48.5k]
  ------------------
  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);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  903|      0|        goto done;
  904|      0|    }
  905|       |
  906|  48.5k|done:
  907|  48.5k|    Py_XDECREF(empty);
  ------------------
  |  |  524|  48.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  908|  48.5k|    return result;
  909|  48.5k|}
PyNumber_Check:
  914|     91|{
  915|     91|    if (o == NULL)
  ------------------
  |  Branch (915:9): [True: 0, False: 91]
  ------------------
  916|      0|        return 0;
  917|     91|    PyNumberMethods *nb = Py_TYPE(o)->tp_as_number;
  ------------------
  |  |  213|     91|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  918|     91|    return nb && (nb->nb_index || nb->nb_int || nb->nb_float || PyComplex_Check(o));
  ------------------
  |  |   13|     85|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  378|     85|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 85]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (918:12): [True: 91, False: 0]
  |  Branch (918:19): [True: 6, False: 85]
  |  Branch (918:35): [True: 0, False: 85]
  |  Branch (918:49): [True: 0, False: 85]
  ------------------
  919|     91|}
PyNumber_Add:
 1139|  83.0k|{
 1140|  83.0k|    PyObject *result = BINARY_OP1(v, w, NB_SLOT(nb_add), "+");
  ------------------
  |  |  995|  83.0k|#  define BINARY_OP1(v, w, op_slot, op_name) binary_op1(v, w, op_slot, op_name)
  ------------------
 1141|  83.0k|    if (result != Py_NotImplemented) {
  ------------------
  |  |  640|  83.0k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1141:9): [True: 63.3k, False: 19.7k]
  ------------------
 1142|  63.3k|        return result;
 1143|  63.3k|    }
 1144|  19.7k|    Py_DECREF(result);
  ------------------
  |  |  430|  19.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1145|       |
 1146|  19.7k|    PySequenceMethods *m = Py_TYPE(v)->tp_as_sequence;
  ------------------
  |  |  213|  19.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  19.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1147|  19.7k|    if (m && m->sq_concat) {
  ------------------
  |  Branch (1147:9): [True: 19.2k, False: 489]
  |  Branch (1147:14): [True: 19.2k, False: 0]
  ------------------
 1148|  19.2k|        result = (*m->sq_concat)(v, w);
 1149|  19.2k|        assert(_Py_CheckSlotResult(v, "+", result != NULL));
  ------------------
  |  Branch (1149:9): [True: 19.2k, False: 0]
  ------------------
 1150|  19.2k|        return result;
 1151|  19.2k|    }
 1152|       |
 1153|    489|    return binop_type_error(v, w, "+");
 1154|  19.7k|}
PyNumber_Multiply:
 1177|   183k|{
 1178|   183k|    PyObject *result = BINARY_OP1(v, w, NB_SLOT(nb_multiply), "*");
  ------------------
  |  |  995|   183k|#  define BINARY_OP1(v, w, op_slot, op_name) binary_op1(v, w, op_slot, op_name)
  ------------------
 1179|   183k|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|   183k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1179:9): [True: 53.8k, False: 129k]
  ------------------
 1180|  53.8k|        PySequenceMethods *mv = Py_TYPE(v)->tp_as_sequence;
  ------------------
  |  |  213|  53.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  53.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1181|  53.8k|        PySequenceMethods *mw = Py_TYPE(w)->tp_as_sequence;
  ------------------
  |  |  213|  53.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  53.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1182|  53.8k|        Py_DECREF(result);
  ------------------
  |  |  430|  53.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  53.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1183|  53.8k|        if  (mv && mv->sq_repeat) {
  ------------------
  |  Branch (1183:14): [True: 2.89k, False: 50.9k]
  |  Branch (1183:20): [True: 2.89k, False: 0]
  ------------------
 1184|  2.89k|            return sequence_repeat(mv->sq_repeat, v, w);
 1185|  2.89k|        }
 1186|  50.9k|        else if (mw && mw->sq_repeat) {
  ------------------
  |  Branch (1186:18): [True: 50.1k, False: 821]
  |  Branch (1186:24): [True: 50.1k, False: 0]
  ------------------
 1187|  50.1k|            return sequence_repeat(mw->sq_repeat, w, v);
 1188|  50.1k|        }
 1189|    821|        result = binop_type_error(v, w, "*");
 1190|    821|    }
 1191|   130k|    return result;
 1192|   183k|}
PyNumber_Power:
 1201|   111k|{
 1202|       |    return ternary_op(v, w, z, NB_SLOT(nb_power), "** or pow()");
  ------------------
  |  |  923|   111k|#define NB_SLOT(x) offsetof(PyNumberMethods, x)
  ------------------
 1203|   111k|}
_PyNumber_PowerNoMod:
 1207|    406|{
 1208|    406|    return PyNumber_Power(lhs, rhs, Py_None);
  ------------------
  |  |  616|    406|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1209|    406|}
PyNumber_InPlaceAdd:
 1308|  27.6k|{
 1309|  27.6k|    PyObject *result = BINARY_IOP1(v, w, NB_SLOT(nb_inplace_add),
  ------------------
  |  | 1256|  27.6k|#  define BINARY_IOP1(v, w, iop_slot, op_slot, op_name) binary_iop1(v, w, iop_slot, op_slot, op_name)
  ------------------
 1310|  27.6k|                                   NB_SLOT(nb_add), "+=");
 1311|  27.6k|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|  27.6k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1311:9): [True: 34, False: 27.5k]
  ------------------
 1312|     34|        PySequenceMethods *m = Py_TYPE(v)->tp_as_sequence;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1313|     34|        Py_DECREF(result);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1314|     34|        if (m != NULL) {
  ------------------
  |  Branch (1314:13): [True: 34, False: 0]
  ------------------
 1315|     34|            binaryfunc func = m->sq_inplace_concat;
 1316|     34|            if (func == NULL)
  ------------------
  |  Branch (1316:17): [True: 6, False: 28]
  ------------------
 1317|      6|                func = m->sq_concat;
 1318|     34|            if (func != NULL) {
  ------------------
  |  Branch (1318:17): [True: 34, False: 0]
  ------------------
 1319|     34|                result = func(v, w);
 1320|     34|                assert(_Py_CheckSlotResult(v, "+=", result != NULL));
  ------------------
  |  Branch (1320:17): [True: 34, False: 0]
  ------------------
 1321|     34|                return result;
 1322|     34|            }
 1323|     34|        }
 1324|      0|        result = binop_type_error(v, w, "+=");
 1325|      0|    }
 1326|  27.5k|    return result;
 1327|  27.6k|}
PyNumber_InPlaceMultiply:
 1331|    274|{
 1332|    274|    PyObject *result = BINARY_IOP1(v, w, NB_SLOT(nb_inplace_multiply),
  ------------------
  |  | 1256|    274|#  define BINARY_IOP1(v, w, iop_slot, op_slot, op_name) binary_iop1(v, w, iop_slot, op_slot, op_name)
  ------------------
 1333|    274|                                   NB_SLOT(nb_multiply), "*=");
 1334|    274|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|    274|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1334:9): [True: 0, False: 274]
  ------------------
 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|    274|    return result;
 1356|    274|}
PyIndex_Check:
 1399|    545|{
 1400|    545|    return _PyIndex_Check(obj);
 1401|    545|}
_PyNumber_Index:
 1411|  9.93M|{
 1412|  9.93M|    if (item == NULL) {
  ------------------
  |  Branch (1412:9): [True: 0, False: 9.93M]
  ------------------
 1413|      0|        return null_error();
 1414|      0|    }
 1415|       |
 1416|  9.93M|    if (PyLong_Check(item)) {
  ------------------
  |  |   13|  9.93M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  9.93M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 9.93M, False: 1.41k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1417|  9.93M|        return Py_NewRef(item);
  ------------------
  |  |  550|  9.93M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  9.93M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.93M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1418|  9.93M|    }
 1419|  1.41k|    if (!_PyIndex_Check(item)) {
  ------------------
  |  Branch (1419:9): [True: 1.41k, False: 0]
  ------------------
 1420|  1.41k|        PyErr_Format(PyExc_TypeError,
 1421|  1.41k|                     "'%.200s' object cannot be interpreted "
 1422|  1.41k|                     "as an integer", Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|  1.41k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1423|  1.41k|        return NULL;
 1424|  1.41k|    }
 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|    429|{
 1458|    429|    PyObject *result = _PyNumber_Index(item);
 1459|    429|    if (result != NULL && !PyLong_CheckExact(result)) {
  ------------------
  |  |   14|    429|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    429|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    429|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    429|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1459:9): [True: 429, False: 0]
  |  Branch (1459:27): [True: 0, False: 429]
  ------------------
 1460|      0|        Py_SETREF(result, _PyLong_Copy((PyLongObject *)result));
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1461|      0|    }
 1462|    429|    return result;
 1463|    429|}
PyNumber_AsSsize_t:
 1469|  9.85M|{
 1470|  9.85M|    Py_ssize_t result;
 1471|  9.85M|    PyObject *runerr;
 1472|  9.85M|    PyObject *value = _PyNumber_Index(item);
 1473|  9.85M|    if (value == NULL)
  ------------------
  |  Branch (1473:9): [True: 1.32k, False: 9.85M]
  ------------------
 1474|  1.32k|        return -1;
 1475|       |
 1476|       |    /* We're done if PyLong_AsSsize_t() returns without error. */
 1477|  9.85M|    result = PyLong_AsSsize_t(value);
 1478|  9.85M|    if (result != -1)
  ------------------
  |  Branch (1478:9): [True: 9.84M, False: 4.95k]
  ------------------
 1479|  9.84M|        goto finish;
 1480|       |
 1481|  4.95k|    PyThreadState *tstate = _PyThreadState_GET();
 1482|  4.95k|    runerr = _PyErr_Occurred(tstate);
 1483|  4.95k|    if (!runerr) {
  ------------------
  |  Branch (1483:9): [True: 2.19k, False: 2.75k]
  ------------------
 1484|  2.19k|        goto finish;
 1485|  2.19k|    }
 1486|       |
 1487|       |    /* Error handling code -- only manage OverflowError differently */
 1488|  2.75k|    if (!PyErr_GivenExceptionMatches(runerr, PyExc_OverflowError)) {
  ------------------
  |  Branch (1488:9): [True: 0, False: 2.75k]
  ------------------
 1489|      0|        goto finish;
 1490|      0|    }
 1491|  2.75k|    _PyErr_Clear(tstate);
 1492|       |
 1493|       |    /* If no error-handling desired then the default clipping
 1494|       |       is sufficient. */
 1495|  2.75k|    if (!err) {
  ------------------
  |  Branch (1495:9): [True: 466, False: 2.29k]
  ------------------
 1496|    466|        assert(PyLong_Check(value));
  ------------------
  |  Branch (1496:9): [True: 466, 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|    466|        if (_PyLong_IsNegative((PyLongObject *)value))
  ------------------
  |  Branch (1500:13): [True: 0, False: 466]
  ------------------
 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|    466|        else
 1503|    466|            result = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|    466|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1504|    466|    }
 1505|  2.29k|    else {
 1506|       |        /* Otherwise replace the error with caller's error object. */
 1507|  2.29k|        _PyErr_Format(tstate, err,
 1508|  2.29k|                      "cannot fit '%.200s' into an index-sized integer",
 1509|  2.29k|                      Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|  2.29k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1510|  2.29k|    }
 1511|       |
 1512|  9.85M| finish:
 1513|  9.85M|    Py_DECREF(value);
  ------------------
  |  |  430|  9.85M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.85M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.85M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1514|  9.85M|    return result;
 1515|  2.75k|}
PyNumber_Long:
 1520|  1.91k|{
 1521|  1.91k|    PyObject *result;
 1522|  1.91k|    PyNumberMethods *m;
 1523|  1.91k|    Py_buffer view;
 1524|       |
 1525|  1.91k|    if (o == NULL) {
  ------------------
  |  Branch (1525:9): [True: 0, False: 1.91k]
  ------------------
 1526|      0|        return null_error();
 1527|      0|    }
 1528|       |
 1529|  1.91k|    if (PyLong_CheckExact(o)) {
  ------------------
  |  |   14|  1.91k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  1.91k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 144, False: 1.76k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|  1.76k|    m = Py_TYPE(o)->tp_as_number;
  ------------------
  |  |  213|  1.76k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1533|  1.76k|    if (m && m->nb_int) { /* This should include subclasses of int */
  ------------------
  |  Branch (1533:9): [True: 1.76k, False: 0]
  |  Branch (1533:14): [True: 147, False: 1.62k]
  ------------------
 1534|       |        /* Convert using the nb_int slot, which should return something
 1535|       |           of exact type int. */
 1536|    147|        result = m->nb_int(o);
 1537|    147|        assert(_Py_CheckSlotResult(o, "__int__", result != NULL));
  ------------------
  |  Branch (1537:9): [True: 147, False: 0]
  ------------------
 1538|    147|        if (!result || PyLong_CheckExact(result)) {
  ------------------
  |  |   14|    147|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    147|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    147|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    147|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 147, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1538:13): [True: 0, False: 147]
  ------------------
 1539|    147|            return result;
 1540|    147|        }
 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));
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1559|      0|        return result;
 1560|      0|    }
 1561|  1.62k|    if (m && m->nb_index) {
  ------------------
  |  Branch (1561:9): [True: 1.62k, False: 0]
  |  Branch (1561:14): [True: 0, False: 1.62k]
  ------------------
 1562|      0|        return PyNumber_Index(o);
 1563|      0|    }
 1564|       |
 1565|  1.62k|    if (PyUnicode_Check(o))
  ------------------
  |  |  103|  1.62k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.62k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.62k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1566|       |        /* The below check is done in PyLong_FromUnicodeObject(). */
 1567|  1.62k|        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|    126|{
 1683|    126|    if (PyDict_Check(s))
  ------------------
  |  |   18|    126|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    126|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 126]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1684|      0|        return 0;
 1685|    126|    return Py_TYPE(s)->tp_as_sequence &&
  ------------------
  |  |  213|    126|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    126|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    126|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1685:12): [True: 126, False: 0]
  ------------------
 1686|    126|        Py_TYPE(s)->tp_as_sequence->sq_item != NULL;
  ------------------
  |  |  213|    126|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    126|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    126|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1686:9): [True: 126, False: 0]
  ------------------
 1687|    126|}
PySequence_Size:
 1691|      1|{
 1692|      1|    if (s == NULL) {
  ------------------
  |  Branch (1692:9): [True: 0, False: 1]
  ------------------
 1693|      0|        null_error();
 1694|      0|        return -1;
 1695|      0|    }
 1696|       |
 1697|      1|    PySequenceMethods *m = Py_TYPE(s)->tp_as_sequence;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1698|      1|    if (m && m->sq_length) {
  ------------------
  |  Branch (1698:9): [True: 1, False: 0]
  |  Branch (1698:14): [True: 1, False: 0]
  ------------------
 1699|      1|        Py_ssize_t len = m->sq_length(s);
 1700|      1|        assert(_Py_CheckSlotResult(s, "__len__", len >= 0));
  ------------------
  |  Branch (1700:9): [True: 1, False: 0]
  ------------------
 1701|      1|        return len;
 1702|      1|    }
 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|  1.93k|{
 1843|  1.93k|    if (s == NULL) {
  ------------------
  |  Branch (1843:9): [True: 0, False: 1.93k]
  ------------------
 1844|      0|        return null_error();
 1845|      0|    }
 1846|       |
 1847|  1.93k|    PySequenceMethods *m = Py_TYPE(s)->tp_as_sequence;
  ------------------
  |  |  213|  1.93k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1848|  1.93k|    if (m && m->sq_item) {
  ------------------
  |  Branch (1848:9): [True: 1.93k, False: 0]
  |  Branch (1848:14): [True: 1.93k, False: 0]
  ------------------
 1849|  1.93k|        if (i < 0) {
  ------------------
  |  Branch (1849:13): [True: 0, False: 1.93k]
  ------------------
 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|  1.93k|        PyObject *res = m->sq_item(s, i);
 1860|  1.93k|        assert(_Py_CheckSlotResult(s, "__getitem__", res != NULL));
  ------------------
  |  Branch (1860:9): [True: 1.93k, False: 0]
  ------------------
 1861|  1.93k|        return res;
 1862|  1.93k|    }
 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|  42.8k|{
 1928|  42.8k|    if (s == NULL) {
  ------------------
  |  Branch (1928:9): [True: 0, False: 42.8k]
  ------------------
 1929|      0|        null_error();
 1930|      0|        return -1;
 1931|      0|    }
 1932|       |
 1933|  42.8k|    PySequenceMethods *m = Py_TYPE(s)->tp_as_sequence;
  ------------------
  |  |  213|  42.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  42.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1934|  42.8k|    if (m && m->sq_ass_item) {
  ------------------
  |  Branch (1934:9): [True: 42.8k, False: 0]
  |  Branch (1934:14): [True: 42.8k, False: 0]
  ------------------
 1935|  42.8k|        if (i < 0) {
  ------------------
  |  Branch (1935:13): [True: 0, False: 42.8k]
  ------------------
 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|  42.8k|        int res = m->sq_ass_item(s, i, (PyObject *)NULL);
 1946|  42.8k|        assert(_Py_CheckSlotResult(s, "__delitem__", res >= 0));
  ------------------
  |  Branch (1946:9): [True: 42.8k, False: 0]
  ------------------
 1947|  42.8k|        return res;
 1948|  42.8k|    }
 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|  30.0k|{
 2007|  30.0k|    PyObject *it;  /* iter(v) */
 2008|       |
 2009|  30.0k|    if (v == NULL) {
  ------------------
  |  Branch (2009:9): [True: 0, False: 30.0k]
  ------------------
 2010|      0|        return null_error();
 2011|      0|    }
 2012|       |
 2013|       |    /* Special-case the common tuple and list cases, for efficiency. */
 2014|  30.0k|    if (PyTuple_CheckExact(v)) {
  ------------------
  |  |   28|  30.0k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  30.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  30.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  30.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 15.5k, False: 14.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|  15.5k|        return Py_NewRef(v);
  ------------------
  |  |  550|  15.5k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  15.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2020|  15.5k|    }
 2021|  14.5k|    if (PyList_CheckExact(v))
  ------------------
  |  |   26|  14.5k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  14.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 13.3k, False: 1.18k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2022|  13.3k|        return PyList_AsTuple(v);
 2023|       |
 2024|       |    /* Get iterator. */
 2025|  1.18k|    it = PyObject_GetIter(v);
 2026|  1.18k|    if (it == NULL)
  ------------------
  |  Branch (2026:9): [True: 0, False: 1.18k]
  ------------------
 2027|      0|        return NULL;
 2028|       |
 2029|  1.18k|    Py_ssize_t n;
 2030|  1.18k|    PyObject *buffer[8];
 2031|  6.44k|    for (n = 0; n < 8; n++) {
  ------------------
  |  Branch (2031:17): [True: 6.40k, False: 47]
  ------------------
 2032|  6.40k|        PyObject *item = PyIter_Next(it);
 2033|  6.40k|        if (item == NULL) {
  ------------------
  |  Branch (2033:13): [True: 1.13k, False: 5.26k]
  ------------------
 2034|  1.13k|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (2034:17): [True: 0, False: 1.13k]
  ------------------
 2035|      0|                goto fail;
 2036|      0|            }
 2037|  1.13k|            Py_DECREF(it);
  ------------------
  |  |  430|  1.13k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2038|  1.13k|            return _PyTuple_FromArraySteal(buffer, n);
 2039|  1.13k|        }
 2040|  5.26k|        buffer[n] = item;
 2041|  5.26k|    }
 2042|     47|    PyListObject *list = (PyListObject *)PyList_New(16);
 2043|     47|    if (list == NULL) {
  ------------------
  |  Branch (2043:9): [True: 0, False: 47]
  ------------------
 2044|      0|        goto fail;
 2045|      0|    }
 2046|     47|    assert(n == 8);
  ------------------
  |  Branch (2046:5): [True: 47, False: 0]
  ------------------
 2047|     47|    Py_SET_SIZE(list, n);
  ------------------
  |  |  216|     47|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     47|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     47|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2048|    423|    for (Py_ssize_t j = 0; j < n; j++) {
  ------------------
  |  Branch (2048:28): [True: 376, False: 47]
  ------------------
 2049|    376|        PyList_SET_ITEM(list, j, buffer[j]);
  ------------------
  |  |   50|    376|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    376|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    376|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    376|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    376|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2050|    376|    }
 2051|    212|    for (;;) {
 2052|    212|        PyObject *item = PyIter_Next(it);
 2053|    212|        if (item == NULL) {
  ------------------
  |  Branch (2053:13): [True: 47, False: 165]
  ------------------
 2054|     47|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (2054:17): [True: 0, False: 47]
  ------------------
 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|     47|            break;
 2060|     47|        }
 2061|    165|        if (_PyList_AppendTakeRef(list, item) < 0) {
  ------------------
  |  Branch (2061:13): [True: 0, False: 165]
  ------------------
 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|    165|    }
 2067|     47|    Py_DECREF(it);
  ------------------
  |  |  430|     47|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     47|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     47|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2068|     47|    PyObject *res = _PyList_AsTupleAndClear(list);
 2069|     47|    Py_DECREF(list);
  ------------------
  |  |  430|     47|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     47|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     47|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2070|     47|    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|     47|}
PySequence_List:
 2082|  31.2k|{
 2083|  31.2k|    PyObject *result;  /* result list */
 2084|  31.2k|    PyObject *rv;          /* return value from PyList_Extend */
 2085|       |
 2086|  31.2k|    if (v == NULL) {
  ------------------
  |  Branch (2086:9): [True: 0, False: 31.2k]
  ------------------
 2087|      0|        return null_error();
 2088|      0|    }
 2089|       |
 2090|  31.2k|    result = PyList_New(0);
 2091|  31.2k|    if (result == NULL)
  ------------------
  |  Branch (2091:9): [True: 0, False: 31.2k]
  ------------------
 2092|      0|        return NULL;
 2093|       |
 2094|  31.2k|    rv = _PyList_Extend((PyListObject *)result, v);
 2095|  31.2k|    if (rv == NULL) {
  ------------------
  |  Branch (2095:9): [True: 0, False: 31.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|  31.2k|    Py_DECREF(rv);
  ------------------
  |  |  430|  31.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2100|  31.2k|    return result;
 2101|  31.2k|}
PySequence_Fast:
 2105|   279k|{
 2106|   279k|    PyObject *it;
 2107|       |
 2108|   279k|    if (v == NULL) {
  ------------------
  |  Branch (2108:9): [True: 0, False: 279k]
  ------------------
 2109|      0|        return null_error();
 2110|      0|    }
 2111|       |
 2112|   279k|    if (PyList_CheckExact(v) || PyTuple_CheckExact(v)) {
  ------------------
  |  |   26|   279k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|   558k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   279k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   279k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 277k, False: 1.42k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyList_CheckExact(v) || PyTuple_CheckExact(v)) {
  ------------------
  |  |   28|  1.42k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  1.42k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.42k, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2113|   279k|        return Py_NewRef(v);
  ------------------
  |  |  550|   279k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   279k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   279k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2114|   279k|    }
 2115|       |
 2116|      4|    it = PyObject_GetIter(v);
 2117|      4|    if (it == NULL) {
  ------------------
  |  Branch (2117:9): [True: 0, False: 4]
  ------------------
 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|      4|    v = PySequence_List(it);
 2126|      4|    Py_DECREF(it);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2127|       |
 2128|      4|    return v;
 2129|      4|}
_PySequence_IterSearch:
 2139|      7|{
 2140|      7|    Py_ssize_t n;
 2141|      7|    int wrapped;  /* for PY_ITERSEARCH_INDEX, true iff n wrapped around */
 2142|      7|    PyObject *it;  /* iter(seq) */
 2143|       |
 2144|      7|    if (seq == NULL || obj == NULL) {
  ------------------
  |  Branch (2144:9): [True: 0, False: 7]
  |  Branch (2144:24): [True: 0, False: 7]
  ------------------
 2145|      0|        null_error();
 2146|      0|        return -1;
 2147|      0|    }
 2148|       |
 2149|      7|    it = PyObject_GetIter(seq);
 2150|      7|    if (it == NULL) {
  ------------------
  |  Branch (2150:9): [True: 0, False: 7]
  ------------------
 2151|      0|        if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (2151:13): [True: 0, False: 0]
  ------------------
 2152|      0|            if (operation == PY_ITERSEARCH_CONTAINS) {
  ------------------
  |  |   29|      0|#define PY_ITERSEARCH_CONTAINS 3
  ------------------
  |  Branch (2152:17): [True: 0, False: 0]
  ------------------
 2153|      0|                type_error(
 2154|      0|                    "argument of type '%.200s' is not a container or iterable",
 2155|      0|                    seq
 2156|      0|                    );
 2157|      0|            }
 2158|      0|            else {
 2159|      0|                type_error("argument of type '%.200s' is not iterable", seq);
 2160|      0|            }
 2161|      0|        }
 2162|      0|        return -1;
 2163|      0|    }
 2164|       |
 2165|      7|    n = wrapped = 0;
 2166|     14|    for (;;) {
 2167|     14|        int cmp;
 2168|     14|        PyObject *item = PyIter_Next(it);
 2169|     14|        if (item == NULL) {
  ------------------
  |  Branch (2169:13): [True: 5, False: 9]
  ------------------
 2170|      5|            if (PyErr_Occurred())
  ------------------
  |  Branch (2170:17): [True: 0, False: 5]
  ------------------
 2171|      0|                goto Fail;
 2172|      5|            break;
 2173|      5|        }
 2174|       |
 2175|      9|        cmp = PyObject_RichCompareBool(item, obj, Py_EQ);
  ------------------
  |  |  654|      9|#define Py_EQ 2
  ------------------
 2176|      9|        Py_DECREF(item);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2177|      9|        if (cmp < 0)
  ------------------
  |  Branch (2177:13): [True: 0, False: 9]
  ------------------
 2178|      0|            goto Fail;
 2179|      9|        if (cmp > 0) {
  ------------------
  |  Branch (2179:13): [True: 2, False: 7]
  ------------------
 2180|      2|            switch (operation) {
 2181|      0|            case PY_ITERSEARCH_COUNT:
  ------------------
  |  |   27|      0|#define PY_ITERSEARCH_COUNT    1
  ------------------
  |  Branch (2181:13): [True: 0, False: 2]
  ------------------
 2182|      0|                if (n == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2182:21): [True: 0, False: 0]
  ------------------
 2183|      0|                    PyErr_SetString(PyExc_OverflowError,
 2184|      0|                           "count exceeds C integer size");
 2185|      0|                    goto Fail;
 2186|      0|                }
 2187|      0|                ++n;
 2188|      0|                break;
 2189|       |
 2190|      2|            case PY_ITERSEARCH_INDEX:
  ------------------
  |  |   28|      2|#define PY_ITERSEARCH_INDEX    2
  ------------------
  |  Branch (2190:13): [True: 2, False: 0]
  ------------------
 2191|      2|                if (wrapped) {
  ------------------
  |  Branch (2191:21): [True: 0, False: 2]
  ------------------
 2192|      0|                    PyErr_SetString(PyExc_OverflowError,
 2193|      0|                           "index exceeds C integer size");
 2194|      0|                    goto Fail;
 2195|      0|                }
 2196|      2|                goto Done;
 2197|       |
 2198|      2|            case PY_ITERSEARCH_CONTAINS:
  ------------------
  |  |   29|      0|#define PY_ITERSEARCH_CONTAINS 3
  ------------------
  |  Branch (2198:13): [True: 0, False: 2]
  ------------------
 2199|      0|                n = 1;
 2200|      0|                goto Done;
 2201|       |
 2202|      0|            default:
  ------------------
  |  Branch (2202:13): [True: 0, False: 2]
  ------------------
 2203|      0|                Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2204|      2|            }
 2205|      2|        }
 2206|       |
 2207|      7|        if (operation == PY_ITERSEARCH_INDEX) {
  ------------------
  |  |   28|      7|#define PY_ITERSEARCH_INDEX    2
  ------------------
  |  Branch (2207:13): [True: 7, False: 0]
  ------------------
 2208|      7|            if (n == PY_SSIZE_T_MAX)
  ------------------
  |  |  137|      7|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2208:17): [True: 0, False: 7]
  ------------------
 2209|      0|                wrapped = 1;
 2210|      7|            ++n;
 2211|      7|        }
 2212|      7|    }
 2213|       |
 2214|      5|    if (operation != PY_ITERSEARCH_INDEX)
  ------------------
  |  |   28|      5|#define PY_ITERSEARCH_INDEX    2
  ------------------
  |  Branch (2214:9): [True: 0, False: 5]
  ------------------
 2215|      0|        goto Done;
 2216|       |
 2217|      5|    PyErr_SetString(PyExc_ValueError,
 2218|      5|                    "sequence.index(x): x not in sequence");
 2219|       |    /* fall into failure code */
 2220|      5|Fail:
 2221|      5|    n = -1;
 2222|       |    /* fall through */
 2223|      7|Done:
 2224|      7|    Py_DECREF(it);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2225|      7|    return n;
 2226|       |
 2227|      5|}
PySequence_Contains:
 2241|   325k|{
 2242|   325k|    PySequenceMethods *sqm = Py_TYPE(seq)->tp_as_sequence;
  ------------------
  |  |  213|   325k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   325k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   325k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2243|   325k|    if (sqm != NULL && sqm->sq_contains != NULL) {
  ------------------
  |  Branch (2243:9): [True: 325k, False: 0]
  |  Branch (2243:24): [True: 325k, False: 0]
  ------------------
 2244|   325k|        int res = (*sqm->sq_contains)(seq, ob);
 2245|   325k|        assert(_Py_CheckSlotResult(seq, "__contains__", res >= 0));
  ------------------
  |  Branch (2245:9): [True: 325k, False: 0]
  ------------------
 2246|   325k|        return res;
 2247|   325k|    }
 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|   325k|}
PySequence_Index:
 2262|      7|{
 2263|      7|    return _PySequence_IterSearch(s, o, PY_ITERSEARCH_INDEX);
  ------------------
  |  |   28|      7|#define PY_ITERSEARCH_INDEX    2
  ------------------
 2264|      7|}
PyMapping_Check:
 2270|  1.15k|{
 2271|  1.15k|    return o && Py_TYPE(o)->tp_as_mapping &&
  ------------------
  |  |  213|  1.15k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2271:12): [True: 1.15k, False: 0]
  |  Branch (2271:17): [True: 1.15k, False: 0]
  ------------------
 2272|  1.15k|        Py_TYPE(o)->tp_as_mapping->mp_subscript;
  ------------------
  |  |  213|  1.15k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2272:9): [True: 1.15k, False: 0]
  ------------------
 2273|  1.15k|}
PyMapping_Size:
 2277|    384|{
 2278|    384|    if (o == NULL) {
  ------------------
  |  Branch (2278:9): [True: 0, False: 384]
  ------------------
 2279|      0|        null_error();
 2280|      0|        return -1;
 2281|      0|    }
 2282|       |
 2283|    384|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|    384|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    384|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    384|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2284|    384|    if (m && m->mp_length) {
  ------------------
  |  Branch (2284:9): [True: 384, False: 0]
  |  Branch (2284:14): [True: 384, False: 0]
  ------------------
 2285|    384|        Py_ssize_t len = m->mp_length(o);
 2286|    384|        assert(_Py_CheckSlotResult(o, "__len__", len >= 0));
  ------------------
  |  Branch (2286:9): [True: 384, False: 0]
  ------------------
 2287|    384|        return len;
 2288|    384|    }
 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));
  ------------------
  |  |  921|      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));
  ------------------
  |  |  921|     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|   297k|{
 2706|   297k|    PyThreadState *tstate = _PyThreadState_GET();
 2707|   297k|    return object_recursive_isinstance(tstate, inst, cls);
 2708|   297k|}
PyObject_IsSubclass:
 2793|   291k|{
 2794|   291k|    PyThreadState *tstate = _PyThreadState_GET();
 2795|   291k|    return object_issubclass(tstate, derived, cls);
 2796|   291k|}
_PyObject_RealIsInstance:
 2801|     12|{
 2802|     12|    return object_isinstance(inst, cls);
 2803|     12|}
_PyObject_RealIsSubclass:
 2807|    666|{
 2808|    666|    return recursive_issubclass(derived, cls);
 2809|    666|}
PyObject_GetIter:
 2814|   124k|{
 2815|   124k|    PyTypeObject *t = Py_TYPE(o);
  ------------------
  |  |  213|   124k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   124k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   124k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2816|   124k|    getiterfunc f;
 2817|       |
 2818|   124k|    f = t->tp_iter;
 2819|   124k|    if (f == NULL) {
  ------------------
  |  Branch (2819:9): [True: 63, False: 124k]
  ------------------
 2820|     63|        if (PySequence_Check(o))
  ------------------
  |  Branch (2820:13): [True: 63, False: 0]
  ------------------
 2821|     63|            return PySeqIter_New(o);
 2822|      0|        return type_error("'%.200s' object is not iterable", o);
 2823|     63|    }
 2824|   124k|    else {
 2825|   124k|        PyObject *res = (*f)(o);
 2826|   124k|        if (res != NULL && !PyIter_Check(res)) {
  ------------------
  |  Branch (2826:13): [True: 124k, False: 0]
  |  Branch (2826:28): [True: 0, False: 124k]
  ------------------
 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);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2831|      0|        }
 2832|   124k|        return res;
 2833|   124k|    }
 2834|   124k|}
PyIter_Check:
 2857|   124k|{
 2858|   124k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|   124k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   124k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   124k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2859|   124k|    return (tp->tp_iternext != NULL &&
  ------------------
  |  Branch (2859:13): [True: 124k, False: 0]
  ------------------
 2860|   124k|            tp->tp_iternext != &_PyObject_NextNotImplemented);
  ------------------
  |  Branch (2860:13): [True: 124k, False: 0]
  ------------------
 2861|   124k|}
PyIter_NextItem:
 2901|     71|{
 2902|     71|    assert(iter != NULL);
  ------------------
  |  Branch (2902:5): [True: 71, False: 0]
  ------------------
 2903|     71|    assert(item != NULL);
  ------------------
  |  Branch (2903:5): [True: 71, False: 0]
  ------------------
 2904|       |
 2905|     71|    if (Py_TYPE(iter)->tp_iternext == NULL) {
  ------------------
  |  |  213|     71|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     71|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     71|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2905:9): [True: 0, False: 71]
  ------------------
 2906|      0|        *item = NULL;
 2907|      0|        PyErr_Format(PyExc_TypeError, "expected an iterator, got '%T'", iter);
 2908|      0|        return -1;
 2909|      0|    }
 2910|       |
 2911|     71|    return iternext(iter, item);
 2912|     71|}
PyIter_Next:
 2924|   196k|{
 2925|   196k|    PyObject *item;
 2926|   196k|    (void)iternext(iter, &item);
 2927|   196k|    return item;
 2928|   196k|}
abstract.c:type_error:
   25|  4.74k|{
   26|  4.74k|    PyErr_Format(PyExc_TypeError, msg, Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|  4.74k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   27|       |    return NULL;
   28|  4.74k|}
abstract.c:_IsCContiguous:
  502|  19.4k|{
  503|  19.4k|    Py_ssize_t sd, dim;
  504|  19.4k|    int i;
  505|       |
  506|       |    /* 1) len = product(shape) * itemsize
  507|       |       2) itemsize > 0
  508|       |       3) len = 0 <==> exists i: shape[i] = 0 */
  509|  19.4k|    if (view->len == 0) return 1;
  ------------------
  |  Branch (509:9): [True: 0, False: 19.4k]
  ------------------
  510|  19.4k|    if (view->strides == NULL) return 1; /* C-contiguous by definition */
  ------------------
  |  Branch (510:9): [True: 0, False: 19.4k]
  ------------------
  511|       |
  512|       |    /* strides != NULL implies both of these */
  513|  19.4k|    assert(view->ndim > 0);
  ------------------
  |  Branch (513:5): [True: 19.4k, False: 0]
  ------------------
  514|  19.4k|    assert(view->shape != NULL);
  ------------------
  |  Branch (514:5): [True: 19.4k, False: 0]
  ------------------
  515|       |
  516|  19.4k|    sd = view->itemsize;
  517|  38.9k|    for (i=view->ndim-1; i>=0; i--) {
  ------------------
  |  Branch (517:26): [True: 19.4k, False: 19.4k]
  ------------------
  518|  19.4k|        dim = view->shape[i];
  519|  19.4k|        if (dim > 1 && view->strides[i] != sd) {
  ------------------
  |  Branch (519:13): [True: 19.4k, False: 11]
  |  Branch (519:24): [True: 0, False: 19.4k]
  ------------------
  520|      0|            return 0;
  521|      0|        }
  522|  19.4k|        sd *= dim;
  523|  19.4k|    }
  524|  19.4k|    return 1;
  525|  19.4k|}
abstract.c:binary_op:
 1012|  1.77M|{
 1013|  1.77M|    PyObject *result = BINARY_OP1(v, w, op_slot, op_name);
  ------------------
  |  |  995|  1.77M|#  define BINARY_OP1(v, w, op_slot, op_name) binary_op1(v, w, op_slot, op_name)
  ------------------
 1014|  1.77M|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|  1.77M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1014:9): [True: 11.3k, False: 1.76M]
  ------------------
 1015|  11.3k|        Py_DECREF(result);
  ------------------
  |  |  430|  11.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1016|  11.3k|        return binop_type_error(v, w, op_name);
 1017|  11.3k|    }
 1018|  1.76M|    return result;
 1019|  1.77M|}
abstract.c:binary_op1:
  945|  2.48M|{
  946|  2.48M|    binaryfunc slotv;
  947|  2.48M|    if (Py_TYPE(v)->tp_as_number != NULL) {
  ------------------
  |  |  213|  2.48M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.48M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.48M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (947:9): [True: 2.46M, False: 17.6k]
  ------------------
  948|  2.46M|        slotv = NB_BINOP(Py_TYPE(v)->tp_as_number, op_slot);
  ------------------
  |  |  925|  2.46M|        (*(binaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
  949|  2.46M|    }
  950|  17.6k|    else {
  951|  17.6k|        slotv = NULL;
  952|  17.6k|    }
  953|       |
  954|  2.48M|    binaryfunc slotw;
  955|  2.48M|    if (!Py_IS_TYPE(w, Py_TYPE(v)) && Py_TYPE(w)->tp_as_number != NULL) {
  ------------------
  |  |  215|  4.96M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.48M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.48M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!Py_IS_TYPE(w, Py_TYPE(v)) && Py_TYPE(w)->tp_as_number != NULL) {
  ------------------
  |  |  213|   216k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   216k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   216k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (955:9): [True: 216k, False: 2.26M]
  |  Branch (955:39): [True: 182k, False: 33.4k]
  ------------------
  956|   182k|        slotw = NB_BINOP(Py_TYPE(w)->tp_as_number, op_slot);
  ------------------
  |  |  925|   182k|        (*(binaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
  957|   182k|        if (slotw == slotv) {
  ------------------
  |  Branch (957:13): [True: 288, False: 182k]
  ------------------
  958|    288|            slotw = NULL;
  959|    288|        }
  960|   182k|    }
  961|  2.30M|    else {
  962|  2.30M|        slotw = NULL;
  963|  2.30M|    }
  964|       |
  965|  2.48M|    if (slotv) {
  ------------------
  |  Branch (965:9): [True: 2.45M, False: 29.1k]
  ------------------
  966|  2.45M|        PyObject *x;
  967|  2.45M|        if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) {
  ------------------
  |  |  213|   149k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   149k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   149k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) {
  ------------------
  |  |  213|   149k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   149k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   149k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (967:13): [True: 149k, False: 2.30M]
  |  Branch (967:22): [True: 520, False: 148k]
  ------------------
  968|    520|            x = slotw(v, w);
  969|    520|            if (x != Py_NotImplemented)
  ------------------
  |  |  640|    520|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (969:17): [True: 520, False: 0]
  ------------------
  970|    520|                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|  2.45M|        x = slotv(v, w);
  975|  2.45M|        assert(_Py_CheckSlotResult(v, op_name, x != NULL));
  ------------------
  |  Branch (975:9): [True: 2.45M, False: 0]
  ------------------
  976|  2.45M|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|  2.45M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (976:13): [True: 2.35M, False: 95.8k]
  ------------------
  977|  2.35M|            return x;
  978|  2.35M|        }
  979|  95.8k|        Py_DECREF(x); /* can't do it */
  ------------------
  |  |  430|  95.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  95.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  95.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  980|  95.8k|    }
  981|   125k|    if (slotw) {
  ------------------
  |  Branch (981:9): [True: 51.0k, False: 74.0k]
  ------------------
  982|  51.0k|        PyObject *x = slotw(v, w);
  983|  51.0k|        assert(_Py_CheckSlotResult(w, op_name, x != NULL));
  ------------------
  |  Branch (983:9): [True: 51.0k, False: 0]
  ------------------
  984|  51.0k|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|  51.0k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (984:13): [True: 40.0k, False: 10.9k]
  ------------------
  985|  40.0k|            return x;
  986|  40.0k|        }
  987|  10.9k|        Py_DECREF(x); /* can't do it */
  ------------------
  |  |  430|  10.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  988|  10.9k|    }
  989|  85.0k|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|  85.0k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|  85.0k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  990|   125k|}
abstract.c:binop_type_error:
 1000|  12.6k|{
 1001|  12.6k|    PyErr_Format(PyExc_TypeError,
 1002|  12.6k|                 "unsupported operand type(s) for %.100s: "
 1003|  12.6k|                 "'%.100s' and '%.100s'",
 1004|  12.6k|                 op_name,
 1005|  12.6k|                 Py_TYPE(v)->tp_name,
  ------------------
  |  |  213|  12.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1006|  12.6k|                 Py_TYPE(w)->tp_name);
  ------------------
  |  |  213|  12.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1007|       |    return NULL;
 1008|  12.6k|}
abstract.c:sequence_repeat:
 1158|  53.0k|{
 1159|  53.0k|    Py_ssize_t count;
 1160|  53.0k|    if (_PyIndex_Check(n)) {
  ------------------
  |  Branch (1160:9): [True: 50.1k, False: 2.87k]
  ------------------
 1161|  50.1k|        count = PyNumber_AsSsize_t(n, PyExc_OverflowError);
 1162|  50.1k|        if (count == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1162:13): [True: 1.60k, False: 48.5k]
  |  Branch (1162:28): [True: 1.47k, False: 122]
  ------------------
 1163|  1.47k|            return NULL;
 1164|  1.47k|        }
 1165|  50.1k|    }
 1166|  2.87k|    else {
 1167|  2.87k|        return type_error("can't multiply sequence by "
 1168|  2.87k|                          "non-int of type '%.200s'", n);
 1169|  2.87k|    }
 1170|  48.6k|    PyObject *res = (*repeatfunc)(seq, count);
 1171|  48.6k|    assert(_Py_CheckSlotResult(seq, "*", res != NULL));
  ------------------
  |  Branch (1171:5): [True: 48.6k, False: 0]
  ------------------
 1172|  48.6k|    return res;
 1173|  48.6k|}
abstract.c:ternary_op:
 1036|   111k|{
 1037|   111k|    PyNumberMethods *mv = Py_TYPE(v)->tp_as_number;
  ------------------
  |  |  213|   111k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   111k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   111k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1038|   111k|    PyNumberMethods *mw = Py_TYPE(w)->tp_as_number;
  ------------------
  |  |  213|   111k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   111k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   111k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1039|       |
 1040|   111k|    ternaryfunc slotv;
 1041|   111k|    if (mv != NULL) {
  ------------------
  |  Branch (1041:9): [True: 111k, False: 520]
  ------------------
 1042|   111k|        slotv = NB_TERNOP(mv, op_slot);
  ------------------
  |  |  927|   111k|        (*(ternaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
 1043|   111k|    }
 1044|    520|    else {
 1045|    520|        slotv = NULL;
 1046|    520|    }
 1047|       |
 1048|   111k|    ternaryfunc slotw;
 1049|   111k|    if (!Py_IS_TYPE(w, Py_TYPE(v)) && mw != NULL) {
  ------------------
  |  |  215|   223k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   111k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   111k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1049:9): [True: 45.1k, False: 66.6k]
  |  Branch (1049:39): [True: 45.0k, False: 106]
  ------------------
 1050|  45.0k|        slotw = NB_TERNOP(mw, op_slot);
  ------------------
  |  |  927|  45.0k|        (*(ternaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
 1051|  45.0k|        if (slotw == slotv) {
  ------------------
  |  Branch (1051:13): [True: 60, False: 45.0k]
  ------------------
 1052|     60|            slotw = NULL;
 1053|     60|        }
 1054|  45.0k|    }
 1055|  66.7k|    else {
 1056|  66.7k|        slotw = NULL;
 1057|  66.7k|    }
 1058|       |
 1059|   111k|    if (slotv) {
  ------------------
  |  Branch (1059:9): [True: 111k, False: 568]
  ------------------
 1060|   111k|        PyObject *x;
 1061|   111k|        if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) {
  ------------------
  |  |  213|  44.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  44.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) {
  ------------------
  |  |  213|  44.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  44.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1061:13): [True: 44.4k, False: 66.8k]
  |  Branch (1061:22): [True: 0, False: 44.4k]
  ------------------
 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|   111k|        x = slotv(v, w, z);
 1070|   111k|        assert(_Py_CheckSlotResult(v, op_name, x != NULL));
  ------------------
  |  Branch (1070:9): [True: 111k, False: 0]
  ------------------
 1071|   111k|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|   111k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1071:13): [True: 87.6k, False: 23.6k]
  ------------------
 1072|  87.6k|            return x;
 1073|  87.6k|        }
 1074|  23.6k|        Py_DECREF(x); /* can't do it */
  ------------------
  |  |  430|  23.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  23.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1075|  23.6k|    }
 1076|  24.2k|    if (slotw) {
  ------------------
  |  Branch (1076:9): [True: 24.1k, False: 116]
  ------------------
 1077|  24.1k|        PyObject *x = slotw(v, w, z);
 1078|  24.1k|        assert(_Py_CheckSlotResult(w, op_name, x != NULL));
  ------------------
  |  Branch (1078:9): [True: 24.1k, False: 0]
  ------------------
 1079|  24.1k|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|  24.1k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1079:13): [True: 23.5k, False: 568]
  ------------------
 1080|  23.5k|            return x;
 1081|  23.5k|        }
 1082|    568|        Py_DECREF(x); /* can't do it */
  ------------------
  |  |  430|    568|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    568|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    568|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1083|    568|    }
 1084|       |
 1085|    684|    PyNumberMethods *mz = Py_TYPE(z)->tp_as_number;
  ------------------
  |  |  213|    684|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    684|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    684|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1086|    684|    if (mz != NULL) {
  ------------------
  |  Branch (1086:9): [True: 684, False: 0]
  ------------------
 1087|    684|        ternaryfunc slotz = NB_TERNOP(mz, op_slot);
  ------------------
  |  |  927|    684|        (*(ternaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
 1088|    684|        if (slotz == slotv || slotz == slotw) {
  ------------------
  |  Branch (1088:13): [True: 568, False: 116]
  |  Branch (1088:31): [True: 116, False: 0]
  ------------------
 1089|    684|            slotz = NULL;
 1090|    684|        }
 1091|    684|        if (slotz) {
  ------------------
  |  Branch (1091:13): [True: 0, False: 684]
  ------------------
 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|    684|    }
 1100|       |
 1101|    684|    if (z == Py_None) {
  ------------------
  |  |  616|    684|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1101:9): [True: 684, False: 0]
  ------------------
 1102|    684|        PyErr_Format(
 1103|    684|            PyExc_TypeError,
 1104|    684|            "unsupported operand type(s) for %.100s: "
 1105|    684|            "'%.100s' and '%.100s'",
 1106|    684|            op_name,
 1107|    684|            Py_TYPE(v)->tp_name,
  ------------------
  |  |  213|    684|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    684|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    684|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1108|    684|            Py_TYPE(w)->tp_name);
  ------------------
  |  |  213|    684|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    684|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    684|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1109|    684|    }
 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|    684|}
abstract.c:binary_iop:
 1262|   644k|{
 1263|   644k|    PyObject *result = BINARY_IOP1(v, w, iop_slot, op_slot, op_name);
  ------------------
  |  | 1256|   644k|#  define BINARY_IOP1(v, w, iop_slot, op_slot, op_name) binary_iop1(v, w, iop_slot, op_slot, op_name)
  ------------------
 1264|   644k|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|   644k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1264:9): [True: 0, False: 644k]
  ------------------
 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|   644k|    return result;
 1269|   644k|}
abstract.c:binary_iop1:
 1233|   672k|{
 1234|   672k|    PyNumberMethods *mv = Py_TYPE(v)->tp_as_number;
  ------------------
  |  |  213|   672k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   672k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   672k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1235|   672k|    if (mv != NULL) {
  ------------------
  |  Branch (1235:9): [True: 672k, False: 18]
  ------------------
 1236|   672k|        binaryfunc slot = NB_BINOP(mv, iop_slot);
  ------------------
  |  |  925|   672k|        (*(binaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
 1237|   672k|        if (slot) {
  ------------------
  |  Branch (1237:13): [True: 229k, False: 442k]
  ------------------
 1238|   229k|            PyObject *x = (slot)(v, w);
 1239|   229k|            assert(_Py_CheckSlotResult(v, op_name, x != NULL));
  ------------------
  |  Branch (1239:13): [True: 229k, False: 0]
  ------------------
 1240|   229k|            if (x != Py_NotImplemented) {
  ------------------
  |  |  640|   229k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1240:17): [True: 229k, False: 0]
  ------------------
 1241|   229k|                return x;
 1242|   229k|            }
 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|   672k|    }
 1246|       |#ifdef NDEBUG
 1247|       |    return binary_op1(v, w, op_slot);
 1248|       |#else
 1249|   442k|    return binary_op1(v, w, op_slot, op_name);
 1250|   672k|#endif
 1251|   672k|}
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|   298k|{
 2641|       |    /* Quick test for an exact match */
 2642|   298k|    if (Py_IS_TYPE(inst, (PyTypeObject *)cls)) {
  ------------------
  |  |  215|   298k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   298k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   298k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 277k, False: 20.6k]
  |  |  ------------------
  ------------------
 2643|   277k|        return 1;
 2644|   277k|    }
 2645|       |
 2646|       |    /* We know what type's __instancecheck__ does. */
 2647|  20.6k|    if (PyType_CheckExact(cls)) {
  ------------------
  |  |  776|  20.6k|#  define PyType_CheckExact(op) PyType_CheckExact(_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 (776:33): [True: 20.4k, False: 113]
  |  |  ------------------
  ------------------
 2648|  20.4k|        return object_isinstance(inst, cls);
 2649|  20.4k|    }
 2650|       |
 2651|    113|    if (_PyUnion_Check(cls)) {
  ------------------
  |  |   15|    113|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_Type)
  |  |  ------------------
  |  |  |  |  215|    113|#  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: 0, False: 113]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2652|      0|        cls = _Py_union_args(cls);
 2653|      0|    }
 2654|       |
 2655|    113|    if (PyTuple_Check(cls)) {
  ------------------
  |  |   27|    113|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    113|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 101, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2656|       |        /* Not a general sequence -- that opens up the road to
 2657|       |           recursion and stack overflow. */
 2658|    101|        if (_Py_EnterRecursiveCallTstate(tstate, " in __instancecheck__")) {
  ------------------
  |  Branch (2658:13): [True: 0, False: 101]
  ------------------
 2659|      0|            return -1;
 2660|      0|        }
 2661|    101|        Py_ssize_t n = PyTuple_GET_SIZE(cls);
  ------------------
  |  |   27|    101|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    101|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    101|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2662|    101|        int r = 0;
 2663|    105|        for (Py_ssize_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (2663:32): [True: 105, False: 0]
  ------------------
 2664|    105|            PyObject *item = PyTuple_GET_ITEM(cls, i);
  ------------------
  |  |   29|    105|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    105|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2664:30): [True: 105, False: 0]
  ------------------
 2665|      0|            r = object_recursive_isinstance(tstate, inst, item);
 2666|    105|            if (r != 0) {
  ------------------
  |  Branch (2666:17): [True: 101, False: 4]
  ------------------
 2667|       |                /* either found it, or got an error */
 2668|    101|                break;
 2669|    101|            }
 2670|    105|        }
 2671|    101|        _Py_LeaveRecursiveCallTstate(tstate);
 2672|    101|        return r;
 2673|    101|    }
 2674|       |
 2675|     12|    PyObject *checker = _PyObject_LookupSpecial(cls, &_Py_ID(__instancecheck__));
  ------------------
  |  |  921|     12|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     12|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     12|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2676|     12|    if (checker != NULL) {
  ------------------
  |  Branch (2676:9): [True: 12, False: 0]
  ------------------
 2677|     12|        if (_Py_EnterRecursiveCallTstate(tstate, " in __instancecheck__")) {
  ------------------
  |  Branch (2677:13): [True: 0, False: 12]
  ------------------
 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|     12|        PyObject *res = PyObject_CallOneArg(checker, inst);
 2683|     12|        _Py_LeaveRecursiveCallTstate(tstate);
 2684|     12|        Py_DECREF(checker);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2685|       |
 2686|     12|        if (res == NULL) {
  ------------------
  |  Branch (2686:13): [True: 0, False: 12]
  ------------------
 2687|      0|            return -1;
 2688|      0|        }
 2689|     12|        int ok = PyObject_IsTrue(res);
 2690|     12|        Py_DECREF(res);
  ------------------
  |  |  430|     12|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2691|       |
 2692|     12|        return ok;
 2693|     12|    }
 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|     12|}
abstract.c:object_issubclass:
 2733|   291k|{
 2734|   291k|    PyObject *checker;
 2735|       |
 2736|       |    /* We know what type's __subclasscheck__ does. */
 2737|   291k|    if (PyType_CheckExact(cls)) {
  ------------------
  |  |  776|   291k|#  define PyType_CheckExact(op) PyType_CheckExact(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   291k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   291k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (776:33): [True: 291k, False: 100]
  |  |  ------------------
  ------------------
 2738|       |        /* Quick test for an exact match */
 2739|   291k|        if (derived == cls)
  ------------------
  |  Branch (2739:13): [True: 49.1k, False: 242k]
  ------------------
 2740|  49.1k|            return 1;
 2741|   242k|        return recursive_issubclass(derived, cls);
 2742|   291k|    }
 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__));
  ------------------
  |  |  921|    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.5k|{
 2605|  20.5k|    PyObject *icls;
 2606|  20.5k|    int retval;
 2607|  20.5k|    if (PyType_Check(cls)) {
  ------------------
  |  |  766|  20.5k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 20.5k, False: 0]
  |  |  ------------------
  ------------------
 2608|  20.5k|        retval = PyObject_TypeCheck(inst, (PyTypeObject *)cls);
  ------------------
  |  |  378|  20.5k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  20.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2609|  20.5k|        if (retval == 0) {
  ------------------
  |  Branch (2609:13): [True: 20.4k, False: 85]
  ------------------
 2610|  20.4k|            retval = PyObject_GetOptionalAttr(inst, &_Py_ID(__class__), &icls);
  ------------------
  |  |  921|  20.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  20.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  20.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2611|  20.4k|            if (icls != NULL) {
  ------------------
  |  Branch (2611:17): [True: 20.4k, False: 0]
  ------------------
 2612|  20.4k|                if (icls != (PyObject *)(Py_TYPE(inst)) && PyType_Check(icls)) {
  ------------------
  |  |  213|  20.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  20.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.4k|#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.4k]
  ------------------
 2613|      0|                    retval = PyType_IsSubtype(
 2614|      0|                        (PyTypeObject *)icls,
 2615|      0|                        (PyTypeObject *)cls);
 2616|      0|                }
 2617|  20.4k|                else {
 2618|  20.4k|                    retval = 0;
 2619|  20.4k|                }
 2620|  20.4k|                Py_DECREF(icls);
  ------------------
  |  |  430|  20.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2621|  20.4k|            }
 2622|  20.4k|        }
 2623|  20.5k|    }
 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);
  ------------------
  |  |  921|      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.5k|    return retval;
 2636|  20.5k|}
abstract.c:recursive_issubclass:
 2713|   243k|{
 2714|   243k|    if (PyType_Check(cls) && PyType_Check(derived)) {
  ------------------
  |  |  766|   486k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   243k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   243k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 243k, False: 0]
  |  |  ------------------
  ------------------
                  if (PyType_Check(cls) && PyType_Check(derived)) {
  ------------------
  |  |  766|   243k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   243k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   243k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 243k, False: 0]
  |  |  ------------------
  ------------------
 2715|       |        /* Fast path (non-recursive) */
 2716|   243k|        return PyType_IsSubtype((PyTypeObject *)derived, (PyTypeObject *)cls);
 2717|   243k|    }
 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|   196k|{
 2875|   196k|    iternextfunc tp_iternext = Py_TYPE(iter)->tp_iternext;
  ------------------
  |  |  213|   196k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   196k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   196k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2876|   196k|    if ((*item = tp_iternext(iter))) {
  ------------------
  |  Branch (2876:9): [True: 127k, False: 68.3k]
  ------------------
 2877|   127k|        return 1;
 2878|   127k|    }
 2879|       |
 2880|  68.3k|    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|  68.3k|    if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2883:9): [True: 68.3k, False: 0]
  ------------------
 2884|  68.3k|        return 0;
 2885|  68.3k|    }
 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|  1.15M|{
   23|  1.15M|    return ok ? Py_True : Py_False;
  ------------------
  |  |   26|  1.15M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|   417k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   417k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return ok ? Py_True : Py_False;
  ------------------
  |  |   25|  1.15M|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|   737k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   737k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (23:12): [True: 417k, False: 737k]
  ------------------
   24|  1.15M|}
boolobject.c:bool_repr:
   15|    385|{
   16|    385|    return self == Py_True ? &_Py_ID(True) : &_Py_ID(False);
  ------------------
  |  |   26|    385|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    385|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    385|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return self == Py_True ? &_Py_ID(True) : &_Py_ID(False);
  ------------------
  |  |  921|    381|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    381|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    381|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return self == Py_True ? &_Py_ID(True) : &_Py_ID(False);
  ------------------
  |  |  921|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (16:12): [True: 381, False: 4]
  ------------------
   17|    385|}
boolobject.c:bool_and:
   88|  1.00k|{
   89|  1.00k|    if (!PyBool_Check(a) || !PyBool_Check(b))
  ------------------
  |  |   12|  1.00k|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|  2.01k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PyBool_Check(a) || !PyBool_Check(b))
  ------------------
  |  |   12|    941|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|    941|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    941|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    941|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (89:9): [True: 65, False: 941]
  |  Branch (89:29): [True: 455, False: 486]
  ------------------
   90|    520|        return PyLong_Type.tp_as_number->nb_and(a, b);
   91|    486|    return PyBool_FromLong((a == Py_True) & (b == Py_True));
  ------------------
  |  |   26|    486|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    486|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    486|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return PyBool_FromLong((a == Py_True) & (b == Py_True));
  ------------------
  |  |   26|    486|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    486|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    486|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   92|  1.00k|}
boolobject.c:bool_xor:
  104|    179|{
  105|    179|    if (!PyBool_Check(a) || !PyBool_Check(b))
  ------------------
  |  |   12|    179|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|    358|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    179|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    179|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PyBool_Check(a) || !PyBool_Check(b))
  ------------------
  |  |   12|     90|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_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 (105:9): [True: 89, False: 90]
  |  Branch (105:29): [True: 2, False: 88]
  ------------------
  106|     91|        return PyLong_Type.tp_as_number->nb_xor(a, b);
  107|     88|    return PyBool_FromLong((a == Py_True) ^ (b == Py_True));
  ------------------
  |  |   26|     88|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return PyBool_FromLong((a == Py_True) ^ (b == Py_True));
  ------------------
  |  |   26|     88|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  108|    179|}
boolobject.c:bool_or:
   96|    421|{
   97|    421|    if (!PyBool_Check(a) || !PyBool_Check(b))
  ------------------
  |  |   12|    421|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|    842|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    421|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    421|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PyBool_Check(a) || !PyBool_Check(b))
  ------------------
  |  |   12|     60|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|     60|#  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 (97:9): [True: 361, False: 60]
  |  Branch (97:29): [True: 42, False: 18]
  ------------------
   98|    403|        return PyLong_Type.tp_as_number->nb_or(a, b);
   99|     18|    return PyBool_FromLong((a == Py_True) | (b == Py_True));
  ------------------
  |  |   26|     18|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return PyBool_FromLong((a == Py_True) | (b == Py_True));
  ------------------
  |  |   26|     18|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  100|    421|}
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|    280|{
  156|    280|    PyByteArrayObject *new;
  157|       |
  158|    280|    if (size < 0) {
  ------------------
  |  Branch (158:9): [True: 0, False: 280]
  ------------------
  159|      0|        PyErr_SetString(PyExc_SystemError,
  160|      0|            "Negative size passed to PyByteArray_FromStringAndSize");
  161|      0|        return NULL;
  162|      0|    }
  163|       |
  164|    280|    new = PyObject_New(PyByteArrayObject, &PyByteArray_Type);
  ------------------
  |  |  130|    280|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
  165|    280|    if (new == NULL) {
  ------------------
  |  Branch (165:9): [True: 0, False: 280]
  ------------------
  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|    280|    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|    280|    new->ob_bytes_object = PyBytes_FromStringAndSize(NULL, size);
  181|    280|    if (new->ob_bytes_object == NULL) {
  ------------------
  |  Branch (181:9): [True: 0, False: 280]
  ------------------
  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|    280|    bytearray_reinit_from_bytes(new, size, size);
  186|    280|    if (bytes != NULL && size > 0) {
  ------------------
  |  Branch (186:9): [True: 104, False: 176]
  |  Branch (186:26): [True: 104, False: 0]
  ------------------
  187|    104|        memcpy(new->ob_bytes, bytes, size);
  188|    104|    }
  189|       |
  190|    280|    return (PyObject *)new;
  191|    280|}
PyByteArray_Resize:
  307|   238k|{
  308|   238k|    int ret;
  309|   238k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|   238k|    {
  ------------------
  310|   238k|    ret = bytearray_resize_lock_held(self, requested_size);
  311|   238k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   238k|    }
  ------------------
  312|   238k|    return ret;
  313|   238k|}
bytearrayobject.c:bytearray_reinit_from_bytes:
   48|   896k|                            Py_ssize_t alloc) {
   49|   896k|    self->ob_bytes = self->ob_start = PyBytes_AS_STRING(self->ob_bytes_object);
  ------------------
  |  |   27|   896k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   896k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   896k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   50|   896k|    Py_SET_SIZE(self, size);
  ------------------
  |  |  216|   896k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|   896k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   896k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|   896k|    FT_ATOMIC_STORE_SSIZE_RELAXED(self->ob_alloc, alloc);
  ------------------
  |  |  194|   896k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
   52|   896k|}
bytearrayobject.c:bytearray_resize_lock_held:
  213|   829k|{
  214|   829k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  215|   829k|    PyByteArrayObject *obj = ((PyByteArrayObject *)self);
  216|       |
  217|   829k|    assert(obj->ob_bytes_object != NULL);
  ------------------
  |  Branch (217:5): [True: 829k, False: 0]
  ------------------
  218|       |
  219|       |    /* All computations are done unsigned to avoid integer overflows
  220|       |       (see issue #22335). */
  221|   829k|    size_t alloc = (size_t) obj->ob_alloc;
  222|   829k|    size_t logical_offset = (size_t) (obj->ob_start - obj->ob_bytes);
  223|   829k|    size_t size = (size_t) requested_size;
  224|       |
  225|   829k|    assert(self != NULL);
  ------------------
  |  Branch (225:5): [True: 829k, False: 0]
  ------------------
  226|   829k|    assert(PyByteArray_Check(self));
  ------------------
  |  Branch (226:5): [True: 829k, False: 0]
  ------------------
  227|   829k|    assert(logical_offset <= alloc);
  ------------------
  |  Branch (227:5): [True: 829k, False: 0]
  ------------------
  228|       |
  229|   829k|    if (requested_size < 0) {
  ------------------
  |  Branch (229:9): [True: 0, False: 829k]
  ------------------
  230|      0|        PyErr_Format(PyExc_ValueError,
  231|      0|            "Can only resize to positive sizes, got %zd", requested_size);
  232|      0|        return -1;
  233|      0|    }
  234|       |
  235|   829k|    if (requested_size == Py_SIZE(self)) {
  ------------------
  |  |  214|   829k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   829k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   829k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (235:9): [True: 238k, False: 591k]
  ------------------
  236|   238k|        return 0;
  237|   238k|    }
  238|   591k|    if (!_canresize(obj)) {
  ------------------
  |  Branch (238:9): [True: 0, False: 591k]
  ------------------
  239|      0|        return -1;
  240|      0|    }
  241|       |
  242|       |    /* Resize to 0 resets to empty bytes (see issue #153419). */
  243|   591k|    if (requested_size == 0) {
  ------------------
  |  Branch (243:9): [True: 0, False: 591k]
  ------------------
  244|      0|        Py_SETREF(obj->ob_bytes_object,
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  245|      0|                   Py_GetConstant(Py_CONSTANT_EMPTY_BYTES));
  246|      0|        bytearray_reinit_from_bytes(obj, 0, 0);
  247|      0|        return 0;
  248|      0|    }
  249|       |
  250|   591k|    if (size + logical_offset <= alloc) {
  ------------------
  |  Branch (250:9): [True: 158k, False: 432k]
  ------------------
  251|       |        /* Current buffer is large enough to host the requested size,
  252|       |           decide on a strategy. */
  253|   158k|        if (size < alloc / 2) {
  ------------------
  |  Branch (253:13): [True: 0, False: 158k]
  ------------------
  254|       |            /* Major downsize; resize down to exact size */
  255|      0|            alloc = size;
  256|      0|        }
  257|   158k|        else {
  258|       |            /* Minor downsize; quick exit */
  259|   158k|            Py_SET_SIZE(self, size);
  ------------------
  |  |  216|   158k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|   158k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   158k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  260|       |            /* Add mid-buffer null; end provided by bytes. */
  261|   158k|            PyByteArray_AS_STRING(self)[size] = '\0'; /* Trailing null */
  ------------------
  |  |   28|   158k|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   158k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   158k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  262|   158k|            return 0;
  263|   158k|        }
  264|   158k|    }
  265|   432k|    else {
  266|       |        /* Need growing, decide on a strategy */
  267|   432k|        if (size <= alloc * 1.125) {
  ------------------
  |  Branch (267:13): [True: 20.8k, False: 411k]
  ------------------
  268|       |            /* Moderate upsize; overallocate similar to list_resize() */
  269|  20.8k|            alloc = size + (size >> 3) + (size < 9 ? 3 : 6);
  ------------------
  |  Branch (269:43): [True: 0, False: 20.8k]
  ------------------
  270|  20.8k|        }
  271|   411k|        else {
  272|       |            /* Major upsize; resize up to exact size */
  273|   411k|            alloc = size;
  274|   411k|        }
  275|   432k|    }
  276|   432k|    if (alloc > PyByteArray_SIZE_MAX) {
  ------------------
  |  |   21|   432k|#define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |  137|   432k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |               #define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |   76|   432k|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (276:9): [True: 0, False: 432k]
  ------------------
  277|      0|        PyErr_NoMemory();
  278|      0|        return -1;
  279|      0|    }
  280|       |
  281|       |    /* Re-align data to the start of the allocation. */
  282|   432k|    if (logical_offset > 0) {
  ------------------
  |  Branch (282:9): [True: 0, False: 432k]
  ------------------
  283|       |        /* optimization tradeoff: This is faster than a new allocation when
  284|       |           the number of bytes being removed in a resize is small; for large
  285|       |           size changes it may be better to just make a new bytes object as
  286|       |           _PyBytes_Resize will do a malloc + memcpy internally. */
  287|      0|        memmove(obj->ob_bytes, obj->ob_start,
  288|      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]
  |  |  ------------------
  ------------------
  289|      0|    }
  290|       |
  291|   432k|    int ret = _PyBytes_Resize(&obj->ob_bytes_object, alloc);
  292|   432k|    if (ret == -1) {
  ------------------
  |  Branch (292:9): [True: 0, False: 432k]
  ------------------
  293|      0|        obj->ob_bytes_object = Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|      0|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
  294|      0|        size = alloc = 0;
  295|      0|    }
  296|   432k|    bytearray_reinit_from_bytes(obj, size, alloc);
  297|   432k|    if (alloc != size) {
  ------------------
  |  Branch (297:9): [True: 20.8k, False: 411k]
  ------------------
  298|       |        /* Add mid-buffer null; end provided by bytes. */
  299|  20.8k|        obj->ob_bytes[size] = '\0';
  300|  20.8k|    }
  301|       |
  302|   432k|    return ret;
  303|   432k|}
bytearrayobject.c:_canresize:
  114|  1.06M|{
  115|  1.06M|    if (self->ob_exports > 0) {
  ------------------
  |  Branch (115:9): [True: 0, False: 1.06M]
  ------------------
  116|      0|        PyErr_SetString(PyExc_BufferError,
  117|      0|                "Existing exports of data: object cannot be re-sized");
  118|      0|        return 0;
  119|      0|    }
  120|  1.06M|    return 1;
  121|  1.06M|}
bytearrayobject.c:bytearray_dealloc:
 1229|   238k|{
 1230|   238k|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|   238k|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|   238k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1230:31): [True: 238k, False: 0]
  ------------------
 1231|   238k|    if (self->ob_exports > 0) {
  ------------------
  |  Branch (1231:9): [True: 0, False: 238k]
  ------------------
 1232|      0|        PyErr_SetString(PyExc_SystemError,
 1233|      0|                        "deallocated bytearray object has exported buffers");
 1234|      0|        PyErr_Print();
 1235|      0|    }
 1236|   238k|    Py_XDECREF(self->ob_bytes_object);
  ------------------
  |  |  524|   238k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   238k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   238k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1237|   238k|    Py_TYPE(self)->tp_free((PyObject *)self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1238|   238k|}
bytearrayobject.c:bytearray_length:
  356|     18|{
  357|     18|    return PyByteArray_GET_SIZE(op);
  ------------------
  |  |   38|     18|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  358|     18|}
bytearrayobject.c:_getbytevalue:
   27|   388k|{
   28|   388k|    int overflow;
   29|   388k|    long face_value = PyLong_AsLongAndOverflow(arg, &overflow);
   30|       |
   31|   388k|    if (face_value == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (31:9): [True: 0, False: 388k]
  |  Branch (31:29): [True: 0, False: 0]
  ------------------
   32|      0|        *value = -1;
   33|      0|        return 0;
   34|      0|    }
   35|   388k|    if (face_value < 0 || face_value >= 256) {
  ------------------
  |  Branch (35:9): [True: 0, False: 388k]
  |  Branch (35:27): [True: 0, False: 388k]
  ------------------
   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|   388k|    *value = face_value;
   43|   388k|    return 1;
   44|   388k|}
bytearrayobject.c:bytearray_setslice:
  649|   203k|{
  650|   203k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  651|   203k|    Py_ssize_t needed;
  652|   203k|    void *bytes;
  653|   203k|    Py_buffer vbytes;
  654|   203k|    int res = 0;
  655|       |
  656|   203k|    vbytes.len = -1;
  657|   203k|    if (values == (PyObject *)self) {
  ------------------
  |  Branch (657:9): [True: 0, False: 203k]
  ------------------
  658|       |        /* Make a copy and call this function recursively */
  659|      0|        int err;
  660|      0|        values = PyByteArray_FromStringAndSize(PyByteArray_AS_STRING(values),
  ------------------
  |  |   28|      0|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  661|      0|                                               PyByteArray_GET_SIZE(values));
  ------------------
  |  |   38|      0|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  662|      0|        if (values == NULL)
  ------------------
  |  Branch (662:13): [True: 0, False: 0]
  ------------------
  663|      0|            return -1;
  664|      0|        err = bytearray_setslice(self, lo, hi, values);
  665|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  666|      0|        return err;
  667|      0|    }
  668|   203k|    if (values == NULL) {
  ------------------
  |  Branch (668:9): [True: 0, False: 203k]
  ------------------
  669|       |        /* del b[lo:hi] */
  670|      0|        bytes = NULL;
  671|      0|        needed = 0;
  672|      0|    }
  673|   203k|    else {
  674|   203k|        if (PyObject_GetBuffer(values, &vbytes, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|   203k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (674:13): [True: 0, False: 203k]
  ------------------
  675|      0|            PyErr_Format(PyExc_TypeError,
  676|      0|                         "can't set bytearray slice from %.100s",
  677|      0|                         Py_TYPE(values)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  678|      0|            return -1;
  679|      0|        }
  680|   203k|        needed = vbytes.len;
  681|   203k|        bytes = vbytes.buf;
  682|   203k|    }
  683|       |
  684|   203k|    if (lo < 0)
  ------------------
  |  Branch (684:9): [True: 0, False: 203k]
  ------------------
  685|      0|        lo = 0;
  686|   203k|    if (hi < lo)
  ------------------
  |  Branch (686:9): [True: 0, False: 203k]
  ------------------
  687|      0|        hi = lo;
  688|   203k|    if (hi > Py_SIZE(self))
  ------------------
  |  |  214|   203k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   203k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   203k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (688:9): [True: 0, False: 203k]
  ------------------
  689|      0|        hi = Py_SIZE(self);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  690|       |
  691|   203k|    res = bytearray_setslice_linear(self, lo, hi, bytes, needed);
  692|   203k|    if (vbytes.len != -1)
  ------------------
  |  Branch (692:9): [True: 203k, False: 0]
  ------------------
  693|   203k|        PyBuffer_Release(&vbytes);
  694|   203k|    return res;
  695|   203k|}
bytearrayobject.c:bytearray_setslice_linear:
  565|   203k|{
  566|   203k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  567|   203k|    Py_ssize_t avail = hi - lo;
  568|   203k|    char *buf = PyByteArray_AS_STRING(self);
  ------------------
  |  |   28|   203k|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   203k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   203k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  569|   203k|    Py_ssize_t growth = bytes_len - avail;
  570|   203k|    int res = 0;
  571|   203k|    assert(avail >= 0);
  ------------------
  |  Branch (571:5): [True: 203k, False: 0]
  ------------------
  572|       |
  573|   203k|    if (growth < 0) {
  ------------------
  |  Branch (573:9): [True: 0, False: 203k]
  ------------------
  574|      0|        if (!_canresize(self))
  ------------------
  |  Branch (574:13): [True: 0, False: 0]
  ------------------
  575|      0|            return -1;
  576|       |
  577|      0|        if (lo == 0) {
  ------------------
  |  Branch (577:13): [True: 0, False: 0]
  ------------------
  578|       |            /* Shrink the buffer by advancing its logical start */
  579|      0|            self->ob_start -= growth;
  580|       |            /*
  581|       |              0   lo               hi             old_size
  582|       |              |   |<----avail----->|<-----tail------>|
  583|       |              |      |<-bytes_len->|<-----tail------>|
  584|       |              0    new_lo         new_hi          new_size
  585|       |            */
  586|      0|        }
  587|      0|        else {
  588|       |            /*
  589|       |              0   lo               hi               old_size
  590|       |              |   |<----avail----->|<-----tomove------>|
  591|       |              |   |<-bytes_len->|<-----tomove------>|
  592|       |              0   lo         new_hi              new_size
  593|       |            */
  594|      0|            memmove(buf + lo + bytes_len, buf + hi,
  595|      0|                    Py_SIZE(self) - hi);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  596|      0|        }
  597|      0|        if (bytearray_resize_lock_held((PyObject *)self,
  ------------------
  |  Branch (597:13): [True: 0, False: 0]
  ------------------
  598|      0|                               Py_SIZE(self) + growth) < 0) {
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  599|       |            /* Issue #19578: Handling the memory allocation failure here is
  600|       |               tricky here because the bytearray object has already been
  601|       |               modified. Depending on growth and lo, the behaviour is
  602|       |               different.
  603|       |
  604|       |               If growth < 0 and lo != 0, the operation is completed, but a
  605|       |               MemoryError is still raised and the memory block is not
  606|       |               shrunk. Otherwise, the bytearray is restored in its previous
  607|       |               state and a MemoryError is raised. */
  608|      0|            if (lo == 0) {
  ------------------
  |  Branch (608:17): [True: 0, False: 0]
  ------------------
  609|      0|                self->ob_start += growth;
  610|      0|                return -1;
  611|      0|            }
  612|       |            /* memmove() removed bytes, the bytearray object cannot be
  613|       |               restored in its previous state. */
  614|      0|            Py_SET_SIZE(self, Py_SIZE(self) + growth);
  ------------------
  |  |  216|      0|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      0|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  615|      0|            res = -1;
  616|      0|        }
  617|      0|        buf = PyByteArray_AS_STRING(self);
  ------------------
  |  |   28|      0|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      0|    }
  619|   203k|    else if (growth > 0) {
  ------------------
  |  Branch (619:14): [True: 203k, False: 0]
  ------------------
  620|   203k|        if (Py_SIZE(self) > PyByteArray_SIZE_MAX - growth) {
  ------------------
  |  |  214|   203k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   203k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   203k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (Py_SIZE(self) > PyByteArray_SIZE_MAX - growth) {
  ------------------
  |  |   21|   203k|#define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |  137|   203k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |               #define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |   76|   203k|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (620:13): [True: 0, False: 203k]
  ------------------
  621|      0|            PyErr_NoMemory();
  622|      0|            return -1;
  623|      0|        }
  624|       |
  625|   203k|        if (bytearray_resize_lock_held((PyObject *)self,
  ------------------
  |  Branch (625:13): [True: 0, False: 203k]
  ------------------
  626|   203k|                               Py_SIZE(self) + growth) < 0) {
  ------------------
  |  |  214|   203k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   203k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   203k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  627|      0|            return -1;
  628|      0|        }
  629|   203k|        buf = PyByteArray_AS_STRING(self);
  ------------------
  |  |   28|   203k|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   203k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   203k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  630|       |        /* Make the place for the additional bytes */
  631|       |        /*
  632|       |          0   lo        hi               old_size
  633|       |          |   |<-avail->|<-----tomove------>|
  634|       |          |   |<---bytes_len-->|<-----tomove------>|
  635|       |          0   lo            new_hi              new_size
  636|       |         */
  637|   203k|        memmove(buf + lo + bytes_len, buf + hi,
  638|   203k|                Py_SIZE(self) - lo - bytes_len);
  ------------------
  |  |  214|   203k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   203k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   203k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  639|   203k|    }
  640|       |
  641|   203k|    if (bytes_len > 0)
  ------------------
  |  Branch (641:9): [True: 203k, False: 0]
  ------------------
  642|   203k|        memcpy(buf + lo, bytes, bytes_len);
  643|   203k|    return res;
  644|   203k|}
bytearrayobject.c:bytearray_iconcat:
  391|     10|{
  392|     10|    PyObject *ret;
  393|     10|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|     10|    {
  ------------------
  394|     10|    ret = bytearray_iconcat_lock_held(op, other);
  395|     10|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     10|    }
  ------------------
  396|     10|    return ret;
  397|     10|}
bytearrayobject.c:bytearray_iconcat_lock_held:
  362|     10|{
  363|     10|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(op);
  364|     10|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|     10|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (364:31): [True: 10, False: 0]
  ------------------
  365|       |
  366|      0|    Py_buffer vo;
  367|     10|    if (PyObject_GetBuffer(other, &vo, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     10|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (367:9): [True: 0, False: 10]
  ------------------
  368|      0|        PyErr_Format(PyExc_TypeError, "can't concat %.100s to %.100s",
  369|      0|                     Py_TYPE(other)->tp_name, Py_TYPE(self)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                   Py_TYPE(other)->tp_name, Py_TYPE(self)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  370|      0|        return NULL;
  371|      0|    }
  372|       |
  373|     10|    Py_ssize_t size = Py_SIZE(self);
  ------------------
  |  |  214|     10|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  374|     10|    if (size > PyByteArray_SIZE_MAX - vo.len) {
  ------------------
  |  |   21|     10|#define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |  137|     10|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |               #define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |   76|     10|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (374:9): [True: 0, False: 10]
  ------------------
  375|      0|        PyBuffer_Release(&vo);
  376|      0|        return PyErr_NoMemory();
  377|      0|    }
  378|       |
  379|     10|    if (bytearray_resize_lock_held((PyObject *)self, size + vo.len) < 0) {
  ------------------
  |  Branch (379:9): [True: 0, False: 10]
  ------------------
  380|      0|        PyBuffer_Release(&vo);
  381|      0|        return NULL;
  382|      0|    }
  383|       |
  384|     10|    memcpy(PyByteArray_AS_STRING(self) + size, vo.buf, vo.len);
  ------------------
  |  |   28|     10|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  385|     10|    PyBuffer_Release(&vo);
  386|     10|    return Py_NewRef(self);
  ------------------
  |  |  550|     10|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  387|     10|}
bytearrayobject.c:bytearray_subscript:
  552|    111|{
  553|    111|    PyObject *ret;
  554|    111|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|    111|    {
  ------------------
  555|    111|    ret = bytearray_subscript_lock_held(op, index);
  556|    111|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    111|    }
  ------------------
  557|    111|    return ret;
  558|       |
  559|    111|}
bytearrayobject.c:bytearray_subscript_lock_held:
  492|    111|{
  493|    111|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(op);
  494|    111|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|    111|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|    111|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (494:31): [True: 111, False: 0]
  ------------------
  495|    111|    if (_PyIndex_Check(index)) {
  ------------------
  |  Branch (495:9): [True: 0, False: 111]
  ------------------
  496|      0|        Py_ssize_t i = PyNumber_AsSsize_t(index, PyExc_IndexError);
  497|       |
  498|      0|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (498:13): [True: 0, False: 0]
  |  Branch (498:24): [True: 0, False: 0]
  ------------------
  499|      0|            return NULL;
  500|       |
  501|      0|        if (i < 0)
  ------------------
  |  Branch (501:13): [True: 0, False: 0]
  ------------------
  502|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  503|       |
  504|      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 (504:13): [True: 0, False: 0]
  |  Branch (504:22): [True: 0, False: 0]
  ------------------
  505|      0|            PyErr_SetString(PyExc_IndexError, "bytearray index out of range");
  506|      0|            return NULL;
  507|      0|        }
  508|      0|        return _PyLong_FromUnsignedChar((unsigned char)(self->ob_start[i]));
  509|      0|    }
  510|    111|    else if (PySlice_Check(index)) {
  ------------------
  |  |   22|    111|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|    111|#  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    111|        Py_ssize_t start, stop, step, slicelength, i;
  512|    111|        size_t cur;
  513|    111|        if (PySlice_Unpack(index, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (513:13): [True: 0, False: 111]
  ------------------
  514|      0|            return NULL;
  515|      0|        }
  516|    111|        slicelength = PySlice_AdjustIndices(PyByteArray_GET_SIZE(self),
  ------------------
  |  |   38|    111|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    111|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    111|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  517|    111|                                            &start, &stop, step);
  518|       |
  519|    111|        if (slicelength <= 0)
  ------------------
  |  Branch (519:13): [True: 0, False: 111]
  ------------------
  520|      0|            return PyByteArray_FromStringAndSize("", 0);
  521|    111|        else if (step == 1) {
  ------------------
  |  Branch (521:18): [True: 104, False: 7]
  ------------------
  522|    104|            return PyByteArray_FromStringAndSize(
  523|    104|                PyByteArray_AS_STRING(self) + start, slicelength);
  ------------------
  |  |   28|    104|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  524|    104|        }
  525|      7|        else {
  526|      7|            char *source_buf = PyByteArray_AS_STRING(self);
  ------------------
  |  |   28|      7|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  527|      7|            char *result_buf;
  528|      7|            PyObject *result;
  529|       |
  530|      7|            result = PyByteArray_FromStringAndSize(NULL, slicelength);
  531|      7|            if (result == NULL)
  ------------------
  |  Branch (531:17): [True: 0, False: 7]
  ------------------
  532|      0|                return NULL;
  533|       |
  534|      7|            result_buf = PyByteArray_AS_STRING(result);
  ------------------
  |  |   28|      7|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  535|  3.33k|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (535:38): [True: 3.32k, False: 7]
  ------------------
  536|  3.32k|                 cur += step, i++) {
  537|  3.32k|                     result_buf[i] = source_buf[cur];
  538|  3.32k|            }
  539|      7|            return result;
  540|      7|        }
  541|    111|    }
  542|      0|    else {
  543|      0|        PyErr_Format(PyExc_TypeError,
  544|      0|                     "bytearray indices must be integers or slices, not %.200s",
  545|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  546|       |        return NULL;
  547|      0|    }
  548|    111|}
bytearrayobject.c:bytearray_ass_subscript:
  901|    562|{
  902|    562|    int ret;
  903|    562|    if (values != NULL && PyByteArray_Check(values)) {
  ------------------
  |  |   24|    562|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|    562|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    562|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    562|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 562]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (903:9): [True: 562, False: 0]
  ------------------
  904|      0|        Py_BEGIN_CRITICAL_SECTION2(op, values);
  ------------------
  |  |   57|      0|    {
  ------------------
  905|      0|        ret = bytearray_ass_subscript_lock_held(op, index, values);
  906|      0|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
  907|      0|    }
  908|    562|    else {
  909|    562|        Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|    562|    {
  ------------------
  910|    562|        ret = bytearray_ass_subscript_lock_held(op, index, values);
  911|    562|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    562|    }
  ------------------
  912|    562|    }
  913|    562|    return ret;
  914|    562|}
bytearrayobject.c:bytearray_ass_subscript_lock_held:
  740|    562|{
  741|    562|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(op);
  742|    562|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|    562|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|    562|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (742:31): [True: 562, False: 0]
  ------------------
  743|      0|    Py_ssize_t start, stop, step, slicelen;
  744|       |    // Do not store a reference to the internal buffer since
  745|       |    // index.__index__() or _getbytevalue() may alter 'self'.
  746|       |    // See https://github.com/python/cpython/issues/91153.
  747|       |
  748|    562|    if (_PyIndex_Check(index)) {
  ------------------
  |  Branch (748:9): [True: 562, False: 0]
  ------------------
  749|    562|        Py_ssize_t i = PyNumber_AsSsize_t(index, PyExc_IndexError);
  750|       |
  751|    562|        if (i == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (751:13): [True: 0, False: 562]
  |  Branch (751:24): [True: 0, False: 0]
  ------------------
  752|      0|            return -1;
  753|      0|        }
  754|       |
  755|    562|        int ival = -1;
  756|       |
  757|       |        // GH-91153: We need to do this *before* the size check, in case values
  758|       |        // has a nasty __index__ method that changes the size of the bytearray:
  759|    562|        if (values && !_getbytevalue(values, &ival)) {
  ------------------
  |  Branch (759:13): [True: 562, False: 0]
  |  Branch (759:23): [True: 0, False: 562]
  ------------------
  760|      0|            return -1;
  761|      0|        }
  762|       |
  763|    562|        if (i < 0) {
  ------------------
  |  Branch (763:13): [True: 0, False: 562]
  ------------------
  764|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  765|      0|        }
  766|       |
  767|    562|        if (i < 0 || i >= Py_SIZE(self)) {
  ------------------
  |  |  214|    562|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    562|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    562|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (767:13): [True: 0, False: 562]
  |  Branch (767:22): [True: 2, False: 560]
  ------------------
  768|      2|            PyErr_SetString(PyExc_IndexError, "bytearray index out of range");
  769|      2|            return -1;
  770|      2|        }
  771|       |
  772|    560|        if (values == NULL) {
  ------------------
  |  Branch (772:13): [True: 0, False: 560]
  ------------------
  773|       |            /* Fall through to slice assignment */
  774|      0|            start = i;
  775|      0|            stop = i + 1;
  776|      0|            step = 1;
  777|      0|            slicelen = 1;
  778|      0|        }
  779|    560|        else {
  780|    560|            assert(0 <= ival && ival < 256);
  ------------------
  |  Branch (780:13): [True: 560, False: 0]
  |  Branch (780:13): [True: 560, False: 0]
  ------------------
  781|    560|            PyByteArray_AS_STRING(self)[i] = (char)ival;
  ------------------
  |  |   28|    560|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    560|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    560|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  782|    560|            return 0;
  783|    560|        }
  784|    560|    }
  785|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  786|      0|        if (PySlice_Unpack(index, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (786:13): [True: 0, False: 0]
  ------------------
  787|      0|            return -1;
  788|      0|        }
  789|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  790|      0|                                         &stop, step);
  791|      0|    }
  792|      0|    else {
  793|      0|        PyErr_Format(PyExc_TypeError,
  794|      0|                     "bytearray indices must be integers or slices, not %.200s",
  795|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  796|      0|        return -1;
  797|      0|    }
  798|       |
  799|      0|    char *bytes;
  800|      0|    Py_ssize_t needed;
  801|      0|    if (values == NULL) {
  ------------------
  |  Branch (801:9): [True: 0, False: 0]
  ------------------
  802|      0|        bytes = NULL;
  803|      0|        needed = 0;
  804|      0|    }
  805|      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 (805:14): [True: 0, False: 0]
  |  Branch (805:44): [True: 0, False: 0]
  ------------------
  806|      0|        int err;
  807|      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 (807:13): [True: 0, False: 0]
  ------------------
  808|      0|            PyErr_SetString(PyExc_TypeError,
  809|      0|                            "can assign only bytes, buffers, or iterables "
  810|      0|                            "of ints in range(0, 256)");
  811|      0|            return -1;
  812|      0|        }
  813|       |        /* Make a copy and call this function recursively */
  814|      0|        values = PyByteArray_FromObject(values);
  815|      0|        if (values == NULL)
  ------------------
  |  Branch (815:13): [True: 0, False: 0]
  ------------------
  816|      0|            return -1;
  817|      0|        err = bytearray_ass_subscript_lock_held((PyObject*)self, index, values);
  818|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  819|      0|        return err;
  820|      0|    }
  821|      0|    else {
  822|      0|        assert(PyByteArray_Check(values));
  ------------------
  |  Branch (822:9): [True: 0, False: 0]
  ------------------
  823|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  824|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  825|      0|    }
  826|       |
  827|       |    /* Make sure b[5:2] = ... inserts before 5, not before 2. */
  828|      0|    if ((step < 0 && start < stop) ||
  ------------------
  |  Branch (828:10): [True: 0, False: 0]
  |  Branch (828:22): [True: 0, False: 0]
  ------------------
  829|      0|        (step > 0 && start > stop))
  ------------------
  |  Branch (829:10): [True: 0, False: 0]
  |  Branch (829:22): [True: 0, False: 0]
  ------------------
  830|      0|    {
  831|      0|        stop = start;
  832|      0|    }
  833|       |
  834|      0|    if (step == 1) {
  ------------------
  |  Branch (834:9): [True: 0, False: 0]
  ------------------
  835|      0|        return bytearray_setslice_linear(self, start, stop, bytes, needed);
  836|      0|    }
  837|      0|    else {
  838|      0|        if (needed == 0) {
  ------------------
  |  Branch (838:13): [True: 0, False: 0]
  ------------------
  839|       |            /* Delete slice */
  840|      0|            size_t cur;
  841|      0|            Py_ssize_t i;
  842|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  843|       |
  844|      0|            if (!_canresize(self))
  ------------------
  |  Branch (844:17): [True: 0, False: 0]
  ------------------
  845|      0|                return -1;
  846|       |
  847|      0|            if (slicelen == 0)
  ------------------
  |  Branch (847:17): [True: 0, False: 0]
  ------------------
  848|       |                /* Nothing to do here. */
  849|      0|                return 0;
  850|       |
  851|      0|            if (step < 0) {
  ------------------
  |  Branch (851:17): [True: 0, False: 0]
  ------------------
  852|      0|                stop = start + 1;
  853|      0|                start = stop + step * (slicelen - 1) - 1;
  854|      0|                step = -step;
  855|      0|            }
  856|      0|            for (cur = start, i = 0;
  857|      0|                 i < slicelen; cur += step, i++) {
  ------------------
  |  Branch (857:18): [True: 0, False: 0]
  ------------------
  858|      0|                Py_ssize_t lim = step - 1;
  859|       |
  860|      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 (860:21): [True: 0, False: 0]
  ------------------
  861|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  862|       |
  863|      0|                memmove(buf + cur - i,
  864|      0|                        buf + cur + 1, lim);
  865|      0|            }
  866|       |            /* Move the tail of the bytes, in one chunk */
  867|      0|            cur = start + (size_t)slicelen*step;
  868|      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 (868:17): [True: 0, False: 0]
  ------------------
  869|      0|                memmove(buf + cur - slicelen,
  870|      0|                        buf + cur,
  871|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  872|      0|            }
  873|      0|            if (bytearray_resize_lock_held((PyObject *)self,
  ------------------
  |  Branch (873:17): [True: 0, False: 0]
  ------------------
  874|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  875|      0|                return -1;
  876|       |
  877|      0|            return 0;
  878|      0|        }
  879|      0|        else {
  880|       |            /* Assign slice */
  881|      0|            Py_ssize_t i;
  882|      0|            size_t cur;
  883|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  884|       |
  885|      0|            if (needed != slicelen) {
  ------------------
  |  Branch (885:17): [True: 0, False: 0]
  ------------------
  886|      0|                PyErr_Format(PyExc_ValueError,
  887|      0|                             "attempt to assign bytes of size %zd "
  888|      0|                             "to extended slice of size %zd",
  889|      0|                             needed, slicelen);
  890|      0|                return -1;
  891|      0|            }
  892|      0|            for (cur = start, i = 0; i < slicelen; cur += step, i++)
  ------------------
  |  Branch (892:38): [True: 0, False: 0]
  ------------------
  893|      0|                buf[cur] = bytes[i];
  894|      0|            return 0;
  895|      0|        }
  896|      0|    }
  897|      0|}
bytearrayobject.c:bytearray_getbuffer:
   75|      2|{
   76|      2|    int ret;
   77|      2|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      2|    {
  ------------------
   78|      2|    ret = bytearray_getbuffer_lock_held(self, view, flags);
   79|      2|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      2|    }
  ------------------
   80|      2|    return ret;
   81|      2|}
bytearrayobject.c:bytearray_getbuffer_lock_held:
   56|      2|{
   57|      2|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
   58|      2|    PyByteArrayObject *obj = _PyByteArray_CAST(self);
  ------------------
  |  |   22|      2|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (58:30): [True: 2, False: 0]
  ------------------
   59|      2|    if (view == NULL) {
  ------------------
  |  Branch (59:9): [True: 0, False: 2]
  ------------------
   60|      0|        PyErr_SetString(PyExc_BufferError,
   61|      0|            "bytearray_getbuffer: view==NULL argument is obsolete");
   62|      0|        return -1;
   63|      0|    }
   64|       |
   65|      2|    void *ptr = (void *) PyByteArray_AS_STRING(obj);
  ------------------
  |  |   28|      2|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   66|      2|    if (PyBuffer_FillInfo(view, (PyObject*)obj, ptr, Py_SIZE(obj), 0, flags) < 0) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (66:9): [True: 0, False: 2]
  ------------------
   67|      0|        return -1;
   68|      0|    }
   69|      2|    obj->ob_exports++;
   70|      2|    return 0;
   71|      2|}
bytearrayobject.c:bytearray_releasebuffer:
   85|      2|{
   86|      2|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      2|    {
  ------------------
   87|      2|    PyByteArrayObject *obj = _PyByteArray_CAST(self);
  ------------------
  |  |   22|      2|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (87:30): [True: 2, False: 0]
  ------------------
   88|      0|    obj->ob_exports--;
   89|      2|    assert(obj->ob_exports >= 0);
  ------------------
  |  Branch (89:5): [True: 2, False: 0]
  ------------------
   90|      2|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      2|    }
  ------------------
   91|      2|}
bytearrayobject.c:bytearray_append_impl:
 2148|   387k|{
 2149|   387k|    Py_ssize_t n = Py_SIZE(self);
  ------------------
  |  |  214|   387k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   387k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   387k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2150|       |
 2151|   387k|    if (bytearray_resize_lock_held((PyObject *)self, n + 1) < 0)
  ------------------
  |  Branch (2151:9): [True: 0, False: 387k]
  ------------------
 2152|      0|        return NULL;
 2153|       |
 2154|   387k|    PyByteArray_AS_STRING(self)[n] = item;
  ------------------
  |  |   28|   387k|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   387k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   387k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2155|       |
 2156|   387k|    Py_RETURN_NONE;
  ------------------
  |  |  628|   387k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|   387k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2157|   387k|}
bytearrayobject.c:_bytearray_with_buffer:
  100|     78|{
  101|     78|    PyObject *res;
  102|       |
  103|     78|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  104|       |
  105|       |    /* Increase exports to prevent bytearray storage from changing during op. */
  106|     78|    self->ob_exports++;
  107|     78|    res = op(PyByteArray_AS_STRING(self), Py_SIZE(self), sub, start, end);
  ------------------
  |  |   28|     78|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  res = op(PyByteArray_AS_STRING(self), Py_SIZE(self), sub, start, end);
  ------------------
  |  |  214|     78|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  108|     78|    self->ob_exports--;
  109|     78|    return res;
  110|     78|}
bytearrayobject.c:bytearray_extend_impl:
 2204|   203k|{
 2205|   203k|    PyObject *it, *item, *bytearray_obj;
 2206|   203k|    Py_ssize_t buf_size = 0, len = 0;
 2207|   203k|    int value;
 2208|   203k|    char *buf;
 2209|       |
 2210|       |    /* bytearray_setslice code only accepts something supporting PEP 3118. */
 2211|   203k|    if (PyObject_CheckBuffer(iterable_of_ints)) {
  ------------------
  |  Branch (2211:9): [True: 203k, False: 0]
  ------------------
 2212|   203k|        if (bytearray_setslice(self, Py_SIZE(self), Py_SIZE(self), iterable_of_ints) == -1)
  ------------------
  |  |  214|   203k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   203k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   203k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (bytearray_setslice(self, Py_SIZE(self), Py_SIZE(self), iterable_of_ints) == -1)
  ------------------
  |  |  214|   203k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   203k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   203k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2212:13): [True: 0, False: 203k]
  ------------------
 2213|      0|            return NULL;
 2214|       |
 2215|   203k|        Py_RETURN_NONE;
  ------------------
  |  |  628|   203k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|   203k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2216|   203k|    }
 2217|       |
 2218|      0|    it = PyObject_GetIter(iterable_of_ints);
 2219|      0|    if (it == NULL) {
  ------------------
  |  Branch (2219:9): [True: 0, False: 0]
  ------------------
 2220|      0|        if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (2220:13): [True: 0, False: 0]
  ------------------
 2221|      0|            PyErr_Format(PyExc_TypeError,
 2222|      0|                         "can't extend bytearray with %.100s",
 2223|      0|                         Py_TYPE(iterable_of_ints)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2224|      0|        }
 2225|      0|        return NULL;
 2226|      0|    }
 2227|       |
 2228|       |    /* Try to determine the length of the argument. 32 is arbitrary. */
 2229|      0|    buf_size = PyObject_LengthHint(iterable_of_ints, 32);
 2230|      0|    if (buf_size == -1) {
  ------------------
  |  Branch (2230:9): [True: 0, False: 0]
  ------------------
 2231|      0|        Py_DECREF(it);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2232|      0|        return NULL;
 2233|      0|    }
 2234|       |
 2235|      0|    bytearray_obj = PyByteArray_FromStringAndSize(NULL, buf_size);
 2236|      0|    if (bytearray_obj == NULL) {
  ------------------
  |  Branch (2236:9): [True: 0, False: 0]
  ------------------
 2237|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2238|      0|        return NULL;
 2239|      0|    }
 2240|      0|    buf = PyByteArray_AS_STRING(bytearray_obj);
  ------------------
  |  |   28|      0|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2241|       |
 2242|      0|    while ((item = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (2242:12): [True: 0, False: 0]
  ------------------
 2243|      0|        if (! _getbytevalue(item, &value)) {
  ------------------
  |  Branch (2243:13): [True: 0, False: 0]
  ------------------
 2244|      0|            if (PyErr_ExceptionMatches(PyExc_TypeError) && PyUnicode_Check(iterable_of_ints)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2244:17): [True: 0, False: 0]
  ------------------
 2245|      0|                PyErr_Format(PyExc_TypeError,
 2246|      0|                             "expected iterable of integers; got: 'str'");
 2247|      0|            }
 2248|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2249|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2250|      0|            Py_DECREF(bytearray_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2251|      0|            return NULL;
 2252|      0|        }
 2253|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2254|       |
 2255|      0|        if (len >= buf_size) {
  ------------------
  |  Branch (2255:13): [True: 0, False: 0]
  ------------------
 2256|      0|            Py_ssize_t addition;
 2257|      0|            if (len == PyByteArray_SIZE_MAX) {
  ------------------
  |  |   21|      0|#define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |               #define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |   76|      0|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (2257:17): [True: 0, False: 0]
  ------------------
 2258|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2259|      0|                Py_DECREF(bytearray_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2260|      0|                return PyErr_NoMemory();
 2261|      0|            }
 2262|      0|            addition = len ? len >> 1 : 1;
  ------------------
  |  Branch (2262:24): [True: 0, False: 0]
  ------------------
 2263|      0|            if (addition > PyByteArray_SIZE_MAX - len)
  ------------------
  |  |   21|      0|#define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |               #define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |   76|      0|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (2263:17): [True: 0, False: 0]
  ------------------
 2264|      0|                buf_size = PyByteArray_SIZE_MAX;
  ------------------
  |  |   21|      0|#define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |               #define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |   76|      0|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
 2265|      0|            else
 2266|      0|                buf_size = len + addition;
 2267|      0|            if (bytearray_resize_lock_held((PyObject *)bytearray_obj, buf_size) < 0) {
  ------------------
  |  Branch (2267:17): [True: 0, False: 0]
  ------------------
 2268|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2269|      0|                Py_DECREF(bytearray_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2270|      0|                return NULL;
 2271|      0|            }
 2272|       |            /* Recompute the `buf' pointer, since the resizing operation may
 2273|       |               have invalidated it. */
 2274|      0|            buf = PyByteArray_AS_STRING(bytearray_obj);
  ------------------
  |  |   28|      0|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2275|      0|        }
 2276|      0|        buf[len++] = value;
 2277|      0|    }
 2278|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2279|       |
 2280|      0|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (2280:9): [True: 0, False: 0]
  ------------------
 2281|      0|        Py_DECREF(bytearray_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2282|      0|        return NULL;
 2283|      0|    }
 2284|       |
 2285|       |    /* Resize down to exact size. */
 2286|      0|    if (bytearray_resize_lock_held((PyObject *)bytearray_obj, len) < 0) {
  ------------------
  |  Branch (2286:9): [True: 0, False: 0]
  ------------------
 2287|      0|        Py_DECREF(bytearray_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2288|      0|        return NULL;
 2289|      0|    }
 2290|       |
 2291|      0|    if (bytearray_setslice(self, Py_SIZE(self), Py_SIZE(self), bytearray_obj) == -1) {
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (bytearray_setslice(self, Py_SIZE(self), Py_SIZE(self), bytearray_obj) == -1) {
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2291:9): [True: 0, False: 0]
  ------------------
 2292|      0|        Py_DECREF(bytearray_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2293|      0|        return NULL;
 2294|      0|    }
 2295|      0|    Py_DECREF(bytearray_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2296|       |
 2297|      0|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2297:5): [True: 0, False: 0]
  ------------------
 2298|      0|    Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2299|      0|}
bytearrayobject.c:bytearray_find_impl:
 1290|     78|{
 1291|     78|    return _bytearray_with_buffer(self, _Py_bytes_find, sub, start, end);
 1292|     78|}
bytearrayobject.c:bytearray_take_bytes_impl:
 1567|   238k|{
 1568|   238k|    Py_ssize_t to_take;
 1569|   238k|    Py_ssize_t size = Py_SIZE(self);
  ------------------
  |  |  214|   238k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   238k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   238k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1570|   238k|    if (Py_IsNone(n)) {
  ------------------
  |  |  621|   238k|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|   238k|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 238k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1571|   238k|        to_take = size;
 1572|   238k|    }
 1573|       |    // Integer index, from start (zero, positive) or end (negative).
 1574|      0|    else if (_PyIndex_Check(n)) {
  ------------------
  |  Branch (1574:14): [True: 0, False: 0]
  ------------------
 1575|      0|        to_take = PyNumber_AsSsize_t(n, PyExc_IndexError);
 1576|      0|        if (to_take == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1576:13): [True: 0, False: 0]
  |  Branch (1576:30): [True: 0, False: 0]
  ------------------
 1577|      0|            return NULL;
 1578|      0|        }
 1579|       |        // n.__index__() may have resized self; use the current size.
 1580|      0|        size = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1581|      0|        if (to_take < 0) {
  ------------------
  |  Branch (1581:13): [True: 0, False: 0]
  ------------------
 1582|      0|            to_take += size;
 1583|      0|        }
 1584|      0|    }
 1585|      0|    else {
 1586|      0|        PyErr_SetString(PyExc_TypeError, "n must be an integer or None");
 1587|      0|        return NULL;
 1588|      0|    }
 1589|       |
 1590|   238k|    if (to_take < 0 || to_take > size) {
  ------------------
  |  Branch (1590:9): [True: 0, False: 238k]
  |  Branch (1590:24): [True: 0, False: 238k]
  ------------------
 1591|      0|        PyErr_Format(PyExc_IndexError,
 1592|      0|            "can't take %zd bytes outside size %zd",
 1593|      0|            to_take, size);
 1594|      0|        return NULL;
 1595|      0|    }
 1596|       |
 1597|       |    // Exports may change the contents. No mutable bytes allowed.
 1598|   238k|    if (!_canresize(self)) {
  ------------------
  |  Branch (1598:9): [True: 0, False: 238k]
  ------------------
 1599|      0|        return NULL;
 1600|      0|    }
 1601|       |
 1602|   238k|    if (to_take == 0 || size == 0) {
  ------------------
  |  Branch (1602:9): [True: 13.5k, False: 225k]
  |  Branch (1602:25): [True: 0, False: 225k]
  ------------------
 1603|  13.5k|        return Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|  13.5k|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 1604|  13.5k|    }
 1605|       |
 1606|   225k|    Py_ssize_t remaining_length = size - to_take;
 1607|       |    // optimization: If taking less than leaving, just copy the small to_take
 1608|       |    // portion out and move ob_start.
 1609|   225k|    if (to_take < remaining_length) {
  ------------------
  |  Branch (1609:9): [True: 0, False: 225k]
  ------------------
 1610|      0|        PyObject *ret = PyBytes_FromStringAndSize(self->ob_start, to_take);
 1611|      0|        if (ret == NULL) {
  ------------------
  |  Branch (1611:13): [True: 0, False: 0]
  ------------------
 1612|      0|            return NULL;
 1613|      0|        }
 1614|      0|        self->ob_start += to_take;
 1615|      0|        Py_SET_SIZE(self, remaining_length);
  ------------------
  |  |  216|      0|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      0|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1616|      0|        return ret;
 1617|      0|    }
 1618|       |
 1619|       |    // Copy remaining bytes to a new bytes.
 1620|   225k|    PyObject *remaining = PyBytes_FromStringAndSize(self->ob_start + to_take,
 1621|   225k|                                                    remaining_length);
 1622|   225k|    if (remaining == NULL) {
  ------------------
  |  Branch (1622:9): [True: 0, False: 225k]
  ------------------
 1623|      0|        return NULL;
 1624|      0|    }
 1625|       |
 1626|       |    // If the bytes are offset inside the buffer must first align.
 1627|   225k|    if (self->ob_start != self->ob_bytes) {
  ------------------
  |  Branch (1627:9): [True: 0, False: 225k]
  ------------------
 1628|      0|        memmove(self->ob_bytes, self->ob_start, to_take);
 1629|      0|        self->ob_start = self->ob_bytes;
 1630|      0|    }
 1631|       |
 1632|   225k|    if (_PyBytes_Resize(&self->ob_bytes_object, to_take) == -1) {
  ------------------
  |  Branch (1632:9): [True: 0, False: 225k]
  ------------------
 1633|      0|        assert(self->ob_bytes_object == NULL);
  ------------------
  |  Branch (1633:9): [True: 0, False: 0]
  ------------------
 1634|      0|        self->ob_bytes_object = Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|      0|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 1635|      0|        bytearray_reinit_from_bytes(self, 0, 0);
 1636|      0|        Py_DECREF(remaining);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1637|      0|        return NULL;
 1638|      0|    }
 1639|       |
 1640|       |    // Point the bytearray towards the buffer with the remaining data.
 1641|   225k|    PyObject *result = self->ob_bytes_object;
 1642|   225k|    self->ob_bytes_object = remaining;
 1643|   225k|    bytearray_reinit_from_bytes(self, remaining_length, remaining_length);
 1644|   225k|    return result;
 1645|   225k|}
bytearrayobject.c:bytearray_translate_impl:
 1669|      7|{
 1670|      7|    char *input, *output;
 1671|      7|    const char *table_chars;
 1672|      7|    Py_ssize_t i, c;
 1673|      7|    PyObject *input_obj = (PyObject*)self;
 1674|      7|    const char *output_start;
 1675|      7|    Py_ssize_t inlen;
 1676|      7|    PyObject *result = NULL;
 1677|      7|    int trans_table[256];
 1678|      7|    Py_buffer vtable, vdel;
 1679|       |
 1680|      7|    if (table == Py_None) {
  ------------------
  |  |  616|      7|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1680:9): [True: 0, False: 7]
  ------------------
 1681|      0|        table_chars = NULL;
 1682|      0|        table = NULL;
 1683|      7|    } else if (PyObject_GetBuffer(table, &vtable, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      7|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1683:16): [True: 0, False: 7]
  ------------------
 1684|      0|        return NULL;
 1685|      7|    } else {
 1686|      7|        if (vtable.len != 256) {
  ------------------
  |  Branch (1686:13): [True: 0, False: 7]
  ------------------
 1687|      0|            PyErr_SetString(PyExc_ValueError,
 1688|      0|                            "translation table must be 256 characters long");
 1689|      0|            PyBuffer_Release(&vtable);
 1690|      0|            return NULL;
 1691|      0|        }
 1692|      7|        table_chars = (const char*)vtable.buf;
 1693|      7|    }
 1694|       |
 1695|      7|    if (deletechars != NULL) {
  ------------------
  |  Branch (1695:9): [True: 0, False: 7]
  ------------------
 1696|      0|        if (PyObject_GetBuffer(deletechars, &vdel, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1696:13): [True: 0, False: 0]
  ------------------
 1697|      0|            if (table != NULL)
  ------------------
  |  Branch (1697:17): [True: 0, False: 0]
  ------------------
 1698|      0|                PyBuffer_Release(&vtable);
 1699|      0|            return NULL;
 1700|      0|        }
 1701|      0|    }
 1702|      7|    else {
 1703|      7|        vdel.buf = NULL;
 1704|      7|        vdel.len = 0;
 1705|      7|    }
 1706|       |
 1707|      7|    inlen = PyByteArray_GET_SIZE(input_obj);
  ------------------
  |  |   38|      7|#define PyByteArray_GET_SIZE(self) PyByteArray_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1708|      7|    result = PyByteArray_FromStringAndSize((char *)NULL, inlen);
 1709|      7|    if (result == NULL)
  ------------------
  |  Branch (1709:9): [True: 0, False: 7]
  ------------------
 1710|      0|        goto done;
 1711|      7|    output_start = output = PyByteArray_AS_STRING(result);
  ------------------
  |  |   28|      7|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1712|      7|    input = PyByteArray_AS_STRING(input_obj);
  ------------------
  |  |   28|      7|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1713|       |
 1714|      7|    if (vdel.len == 0 && table_chars != NULL) {
  ------------------
  |  Branch (1714:9): [True: 7, False: 0]
  |  Branch (1714:26): [True: 7, False: 0]
  ------------------
 1715|       |        /* If no deletions are required, use faster code */
 1716|  3.33k|        for (i = inlen; --i >= 0; ) {
  ------------------
  |  Branch (1716:25): [True: 3.32k, False: 7]
  ------------------
 1717|  3.32k|            c = Py_CHARMASK(*input++);
  ------------------
  |  |  138|  3.32k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1718|  3.32k|            *output++ = table_chars[c];
 1719|  3.32k|        }
 1720|      7|        goto done;
 1721|      7|    }
 1722|       |
 1723|      0|    if (table_chars == NULL) {
  ------------------
  |  Branch (1723:9): [True: 0, False: 0]
  ------------------
 1724|      0|        for (i = 0; i < 256; i++)
  ------------------
  |  Branch (1724:21): [True: 0, False: 0]
  ------------------
 1725|      0|            trans_table[i] = Py_CHARMASK(i);
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1726|      0|    } else {
 1727|      0|        for (i = 0; i < 256; i++)
  ------------------
  |  Branch (1727:21): [True: 0, False: 0]
  ------------------
 1728|      0|            trans_table[i] = Py_CHARMASK(table_chars[i]);
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1729|      0|    }
 1730|       |
 1731|      0|    for (i = 0; i < vdel.len; i++)
  ------------------
  |  Branch (1731:17): [True: 0, False: 0]
  ------------------
 1732|      0|        trans_table[(int) Py_CHARMASK( ((unsigned char*)vdel.buf)[i] )] = -1;
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1733|       |
 1734|      0|    for (i = inlen; --i >= 0; ) {
  ------------------
  |  Branch (1734:21): [True: 0, False: 0]
  ------------------
 1735|      0|        c = Py_CHARMASK(*input++);
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1736|      0|        if (trans_table[c] != -1)
  ------------------
  |  Branch (1736:13): [True: 0, False: 0]
  ------------------
 1737|      0|            *output++ = (char)trans_table[c];
 1738|      0|    }
 1739|       |    /* Fix the size of the resulting bytearray */
 1740|      0|    if (inlen > 0)
  ------------------
  |  Branch (1740:9): [True: 0, False: 0]
  ------------------
 1741|      0|        if (PyByteArray_Resize(result, output - output_start) < 0) {
  ------------------
  |  Branch (1741:13): [True: 0, False: 0]
  ------------------
 1742|      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]
  |  |  ------------------
  ------------------
 1743|      0|            goto done;
 1744|      0|        }
 1745|       |
 1746|      7|done:
 1747|      7|    if (table != NULL)
  ------------------
  |  Branch (1747:9): [True: 7, False: 0]
  ------------------
 1748|      7|        PyBuffer_Release(&vtable);
 1749|      7|    if (deletechars != NULL)
  ------------------
  |  Branch (1749:9): [True: 0, False: 7]
  ------------------
 1750|      0|        PyBuffer_Release(&vdel);
 1751|      7|    return result;
 1752|      0|}
bytearrayobject.c:bytearray___init___impl:
  943|   238k|{
  944|   238k|    Py_ssize_t count;
  945|   238k|    PyObject *it;
  946|   238k|    PyObject *(*iternext)(PyObject *);
  947|       |
  948|       |    /* Disallow any __init__ call if the object is not resizable (has exports)
  949|       |       to make the handling of non-null `source` init values simpler. */
  950|   238k|    if (!_canresize(self)) {
  ------------------
  |  Branch (950:9): [True: 0, False: 238k]
  ------------------
  951|      0|        return -1;
  952|      0|    }
  953|       |
  954|       |    /* Empty any previous contents (do this first of all!). */
  955|   238k|    if (PyByteArray_Resize((PyObject *)self, 0) < 0) {
  ------------------
  |  Branch (955:9): [True: 0, False: 238k]
  ------------------
  956|      0|        return -1;
  957|      0|    }
  958|   238k|    assert(self->ob_bytes_object == Py_GetConstantBorrowed(Py_CONSTANT_EMPTY_BYTES));
  ------------------
  |  Branch (958:5): [True: 238k, False: 0]
  ------------------
  959|   238k|    assert(self->ob_exports == 0);
  ------------------
  |  Branch (959:5): [True: 238k, False: 0]
  ------------------
  960|       |
  961|       |    /* Make a quick exit if no first argument */
  962|   238k|    if (arg == NULL) {
  ------------------
  |  Branch (962:9): [True: 238k, False: 18]
  ------------------
  963|   238k|        if (encoding != NULL || errors != NULL) {
  ------------------
  |  Branch (963:13): [True: 0, False: 238k]
  |  Branch (963:33): [True: 0, False: 238k]
  ------------------
  964|      0|            PyErr_SetString(PyExc_TypeError,
  965|      0|                            encoding != NULL ?
  ------------------
  |  Branch (965:29): [True: 0, False: 0]
  ------------------
  966|      0|                            "encoding without a string argument" :
  967|      0|                            "errors without a string argument");
  968|      0|            return -1;
  969|      0|        }
  970|   238k|        return 0;
  971|   238k|    }
  972|       |
  973|     18|    if (PyUnicode_Check(arg)) {
  ------------------
  |  |  103|     18|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     18|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  974|       |        /* Encode via the codec registry */
  975|      0|        PyObject *encoded, *new;
  976|      0|        if (encoding == NULL) {
  ------------------
  |  Branch (976:13): [True: 0, False: 0]
  ------------------
  977|      0|            PyErr_SetString(PyExc_TypeError,
  978|      0|                            "string argument without an encoding");
  979|      0|            return -1;
  980|      0|        }
  981|      0|        encoded = PyUnicode_AsEncodedString(arg, encoding, errors);
  982|      0|        if (encoded == NULL) {
  ------------------
  |  Branch (982:13): [True: 0, False: 0]
  ------------------
  983|      0|            return -1;
  984|      0|        }
  985|      0|        assert(PyBytes_Check(encoded));
  ------------------
  |  Branch (985:9): [True: 0, False: 0]
  ------------------
  986|       |
  987|       |        /* Most encodes return a new unique bytes, just use it as buffer. */
  988|      0|        if (_PyObject_IsUniquelyReferenced(encoded)
  ------------------
  |  Branch (988:13): [True: 0, False: 0]
  ------------------
  989|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  990|      0|        {
  991|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  992|      0|            self->ob_bytes_object = encoded;
  993|      0|            bytearray_reinit_from_bytes(self, size, size);
  994|      0|            return 0;
  995|      0|        }
  996|      0|        new = bytearray_iconcat((PyObject*)self, encoded);
  997|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  998|      0|        if (new == NULL)
  ------------------
  |  Branch (998:13): [True: 0, False: 0]
  ------------------
  999|      0|            return -1;
 1000|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1001|      0|        return 0;
 1002|      0|    }
 1003|       |
 1004|       |    /* If it's not unicode, there can't be encoding or errors */
 1005|     18|    if (encoding != NULL || errors != NULL) {
  ------------------
  |  Branch (1005:9): [True: 0, False: 18]
  |  Branch (1005:29): [True: 0, False: 18]
  ------------------
 1006|      0|        PyErr_SetString(PyExc_TypeError,
 1007|      0|                        encoding != NULL ?
  ------------------
  |  Branch (1007:25): [True: 0, False: 0]
  ------------------
 1008|      0|                        "encoding without a string argument" :
 1009|      0|                        "errors without a string argument");
 1010|      0|        return -1;
 1011|      0|    }
 1012|       |
 1013|       |    /* Is it an int? */
 1014|     18|    if (_PyIndex_Check(arg)) {
  ------------------
  |  Branch (1014:9): [True: 18, False: 0]
  ------------------
 1015|     18|        count = PyNumber_AsSsize_t(arg, PyExc_OverflowError);
 1016|     18|        if (count == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1016:13): [True: 0, False: 18]
  |  Branch (1016:28): [True: 0, False: 0]
  ------------------
 1017|      0|            if (!PyErr_ExceptionMatches(PyExc_TypeError))
  ------------------
  |  Branch (1017:17): [True: 0, False: 0]
  ------------------
 1018|      0|                return -1;
 1019|      0|            PyErr_Clear();  /* fall through */
 1020|      0|        }
 1021|     18|        else {
 1022|     18|            if (count < 0) {
  ------------------
  |  Branch (1022:17): [True: 0, False: 18]
  ------------------
 1023|      0|                PyErr_SetString(PyExc_ValueError, "negative count");
 1024|      0|                return -1;
 1025|      0|            }
 1026|     18|            if (count > 0) {
  ------------------
  |  Branch (1026:17): [True: 18, False: 0]
  ------------------
 1027|     18|                if (PyByteArray_Resize((PyObject *)self, count))
  ------------------
  |  Branch (1027:21): [True: 0, False: 18]
  ------------------
 1028|      0|                    return -1;
 1029|     18|                memset(PyByteArray_AS_STRING(self), 0, count);
  ------------------
  |  |   28|     18|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1030|     18|            }
 1031|     18|            return 0;
 1032|     18|        }
 1033|     18|    }
 1034|       |
 1035|       |    /* Use the buffer API */
 1036|      0|    if (PyObject_CheckBuffer(arg)) {
  ------------------
  |  Branch (1036:9): [True: 0, False: 0]
  ------------------
 1037|      0|        Py_ssize_t size;
 1038|      0|        Py_buffer view;
 1039|      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 (1039:13): [True: 0, False: 0]
  ------------------
 1040|      0|            return -1;
 1041|      0|        size = view.len;
 1042|      0|        if (PyByteArray_Resize((PyObject *)self, size) < 0) goto fail;
  ------------------
  |  Branch (1042:13): [True: 0, False: 0]
  ------------------
 1043|      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 (1043:13): [True: 0, False: 0]
  ------------------
 1044|      0|            &view, size, 'C') < 0)
 1045|      0|            goto fail;
 1046|      0|        PyBuffer_Release(&view);
 1047|      0|        return 0;
 1048|      0|    fail:
 1049|      0|        PyBuffer_Release(&view);
 1050|      0|        return -1;
 1051|      0|    }
 1052|       |
 1053|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1054|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1055|      0|        if (PyByteArray_Resize((PyObject *)self, size) < 0) {
  ------------------
  |  Branch (1055:13): [True: 0, False: 0]
  ------------------
 1056|      0|            return -1;
 1057|      0|        }
 1058|      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)
  ------------------
 1059|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1060|      0|        for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (1060:32): [True: 0, False: 0]
  ------------------
 1061|      0|            int value;
 1062|      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 (1062:17): [True: 0, False: 0]
  ------------------
 1063|       |                /* Resize to 0 and go through slowpath */
 1064|      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 (1064:21): [True: 0, False: 0]
  ------------------
 1065|      0|                   if (PyByteArray_Resize((PyObject *)self, 0) < 0) {
  ------------------
  |  Branch (1065:24): [True: 0, False: 0]
  ------------------
 1066|      0|                       return -1;
 1067|      0|                   }
 1068|      0|                }
 1069|      0|                goto slowpath;
 1070|      0|            }
 1071|      0|            int rc = _getbytevalue(items[i], &value);
 1072|      0|            if (!rc) {
  ------------------
  |  Branch (1072:17): [True: 0, False: 0]
  ------------------
 1073|      0|                return -1;
 1074|      0|            }
 1075|      0|            s[i] = value;
 1076|      0|        }
 1077|      0|        return 0;
 1078|      0|    }
 1079|      0|slowpath:
 1080|       |    /* Get the iterator */
 1081|      0|    it = PyObject_GetIter(arg);
 1082|      0|    if (it == NULL) {
  ------------------
  |  Branch (1082:9): [True: 0, False: 0]
  ------------------
 1083|      0|        if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (1083:13): [True: 0, False: 0]
  ------------------
 1084|      0|            PyErr_Format(PyExc_TypeError,
 1085|      0|                         "cannot convert '%.200s' object to bytearray",
 1086|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1087|      0|        }
 1088|      0|        return -1;
 1089|      0|    }
 1090|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1091|       |
 1092|       |    /* Run the iterator to exhaustion */
 1093|      0|    for (;;) {
 1094|      0|        PyObject *item;
 1095|      0|        int rc, value;
 1096|       |
 1097|       |        /* Get the next item */
 1098|      0|        item = iternext(it);
 1099|      0|        if (item == NULL) {
  ------------------
  |  Branch (1099:13): [True: 0, False: 0]
  ------------------
 1100|      0|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (1100:17): [True: 0, False: 0]
  ------------------
 1101|      0|                if (!PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (1101:21): [True: 0, False: 0]
  ------------------
 1102|      0|                    goto error;
 1103|      0|                PyErr_Clear();
 1104|      0|            }
 1105|      0|            break;
 1106|      0|        }
 1107|       |
 1108|       |        /* Interpret it as an int (__index__) */
 1109|      0|        rc = _getbytevalue(item, &value);
 1110|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1111|      0|        if (!rc)
  ------------------
  |  Branch (1111:13): [True: 0, False: 0]
  ------------------
 1112|      0|            goto error;
 1113|       |
 1114|       |        /* Append the byte */
 1115|      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 (1115:13): [True: 0, False: 0]
  ------------------
 1116|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1117|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1118|      0|        }
 1119|      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 (1119:18): [True: 0, False: 0]
  ------------------
 1120|      0|            goto error;
 1121|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1122|      0|    }
 1123|       |
 1124|       |    /* Clean up and return success */
 1125|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1126|      0|    return 0;
 1127|       |
 1128|      0| error:
 1129|       |    /* Error handling when it != NULL */
 1130|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1131|      0|    return -1;
 1132|      0|}
bytearrayobject.c:bytearray_new:
  918|   238k|{
  919|   238k|    PyObject *op = PyType_GenericNew(type, args, kwds);
  920|   238k|    if (op == NULL) {
  ------------------
  |  Branch (920:9): [True: 0, False: 238k]
  ------------------
  921|      0|        return NULL;
  922|      0|    }
  923|   238k|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|   238k|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|   238k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (923:31): [True: 238k, False: 0]
  ------------------
  924|   238k|    self->ob_bytes_object = Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|   238k|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
  925|   238k|    bytearray_reinit_from_bytes(self, 0, 0);
  926|   238k|    self->ob_exports = 0;
  927|   238k|    return op;
  928|   238k|}
bytearrayobject.c:bytearrayiter_dealloc:
 2983|      2|{
 2984|      2|    bytesiterobject *it = _bytesiterobject_CAST(self);
  ------------------
  |  | 2979|      2|#define _bytesiterobject_CAST(op)   ((bytesiterobject *)(op))
  ------------------
 2985|      2|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  507|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2986|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2987|      2|    PyObject_GC_Del(it);
 2988|      2|}
bytearrayobject.c:bytearray_iter:
 3137|      2|{
 3138|      2|    bytesiterobject *it;
 3139|       |
 3140|      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 (3140:9): [True: 0, False: 2]
  ------------------
 3141|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3142|      0|        return NULL;
 3143|      0|    }
 3144|      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))
  |  |  ------------------
  ------------------
 3145|      2|    if (it == NULL)
  ------------------
  |  Branch (3145:9): [True: 0, False: 2]
  ------------------
 3146|      0|        return NULL;
 3147|      2|    it->it_index = 0;  // -1 indicates exhausted
 3148|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3149|      2|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  505|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3150|      2|    return (PyObject *)it;
 3151|      2|}

_Py_bytes_lower:
  252|   272k|{
  253|   272k|    Py_ssize_t i;
  254|       |
  255|  2.73M|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (255:17): [True: 2.45M, False: 272k]
  ------------------
  256|  2.45M|        result[i] = Py_TOLOWER((unsigned char) cptr[i]);
  ------------------
  |  |   32|  2.45M|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|  2.45M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  257|  2.45M|    }
  258|   272k|}
_Py_bytes_upper:
  268|  18.2k|{
  269|  18.2k|    Py_ssize_t i;
  270|       |
  271|   351k|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (271:17): [True: 332k, False: 18.2k]
  ------------------
  272|   332k|        result[i] = Py_TOUPPER((unsigned char) cptr[i]);
  ------------------
  |  |   33|   332k|#define Py_TOUPPER(c) (_Py_ctype_toupper[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|   332k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  273|   332k|    }
  274|  18.2k|}
_Py_bytes_find:
  515|     78|{
  516|     78|    Py_ssize_t result = find_internal(str, len, "find", sub, start, end, +1);
  517|     78|    if (result == -2)
  ------------------
  |  Branch (517:9): [True: 0, False: 78]
  ------------------
  518|      0|        return NULL;
  519|     78|    return PyLong_FromSsize_t(result);
  520|     78|}
_Py_bytes_rfind:
  540|  18.1k|{
  541|  18.1k|    Py_ssize_t result = find_internal(str, len, "rfind", sub, start, end, -1);
  542|  18.1k|    if (result == -2)
  ------------------
  |  Branch (542:9): [True: 0, False: 18.1k]
  ------------------
  543|      0|        return NULL;
  544|  18.1k|    return PyLong_FromSsize_t(result);
  545|  18.1k|}
_Py_bytes_contains:
  603|  1.32k|{
  604|  1.32k|    Py_ssize_t ival = PyNumber_AsSsize_t(arg, NULL);
  605|  1.32k|    if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (605:9): [True: 1.32k, False: 0]
  |  Branch (605:23): [True: 1.32k, False: 0]
  ------------------
  606|  1.32k|        Py_buffer varg;
  607|  1.32k|        Py_ssize_t pos;
  608|  1.32k|        PyErr_Clear();
  609|  1.32k|        if (PyObject_GetBuffer(arg, &varg, PyBUF_SIMPLE) != 0)
  ------------------
  |  |  108|  1.32k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (609:13): [True: 0, False: 1.32k]
  ------------------
  610|      0|            return -1;
  611|  1.32k|        pos = stringlib_find(str, len,
  612|  1.32k|                             varg.buf, varg.len, 0);
  613|  1.32k|        PyBuffer_Release(&varg);
  614|  1.32k|        return pos >= 0;
  615|  1.32k|    }
  616|      0|    if (ival < 0 || ival >= 256) {
  ------------------
  |  Branch (616:9): [True: 0, False: 0]
  |  Branch (616:21): [True: 0, False: 0]
  ------------------
  617|      0|        PyErr_SetString(PyExc_ValueError, "byte must be in range(0, 256)");
  618|      0|        return -1;
  619|      0|    }
  620|       |
  621|      0|    return memchr(str, (int) ival, len) != NULL;
  622|      0|}
_Py_bytes_startswith:
  711|   129k|{
  712|   129k|    return _Py_bytes_tailmatch(str, len, "startswith", subobj, start, end, -1);
  713|   129k|}
bytes_methods.c:find_internal:
  457|  18.2k|{
  458|  18.2k|    char byte;
  459|  18.2k|    Py_buffer subbuf;
  460|  18.2k|    const char *sub;
  461|  18.2k|    Py_ssize_t sub_len;
  462|  18.2k|    Py_ssize_t res;
  463|       |
  464|  18.2k|    if (!parse_args_finds_byte(function_name, &subobj, &byte)) {
  ------------------
  |  Branch (464:9): [True: 0, False: 18.2k]
  ------------------
  465|      0|        return -2;
  466|      0|    }
  467|       |
  468|  18.2k|    if (subobj) {
  ------------------
  |  Branch (468:9): [True: 18.1k, False: 78]
  ------------------
  469|  18.1k|        if (PyObject_GetBuffer(subobj, &subbuf, PyBUF_SIMPLE) != 0)
  ------------------
  |  |  108|  18.1k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (469:13): [True: 0, False: 18.1k]
  ------------------
  470|      0|            return -2;
  471|       |
  472|  18.1k|        sub = subbuf.buf;
  473|  18.1k|        sub_len = subbuf.len;
  474|  18.1k|    }
  475|     78|    else {
  476|     78|        sub = &byte;
  477|     78|        sub_len = 1;
  478|     78|    }
  479|       |
  480|  18.2k|    ADJUST_INDICES(start, end, len);
  ------------------
  |  |  434|  18.2k|    do {                                \
  |  |  435|  18.2k|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (435:13): [True: 18.2k, False: 0]
  |  |  ------------------
  |  |  436|  18.2k|            end = len;                  \
  |  |  437|  18.2k|        }                               \
  |  |  438|  18.2k|        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|  18.2k|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (444:13): [True: 0, False: 18.2k]
  |  |  ------------------
  |  |  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|  18.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (450:14): [Folded, False: 18.2k]
  |  |  ------------------
  ------------------
  481|  18.2k|    if (end - start < sub_len)
  ------------------
  |  Branch (481:9): [True: 0, False: 18.2k]
  ------------------
  482|      0|        res = -1;
  483|  18.2k|    else if (sub_len == 1) {
  ------------------
  |  Branch (483:14): [True: 18.2k, False: 0]
  ------------------
  484|  18.2k|        if (dir > 0)
  ------------------
  |  Branch (484:13): [True: 78, False: 18.1k]
  ------------------
  485|     78|            res = stringlib_find_char(
  486|     78|                str + start, end - start,
  487|     78|                *sub);
  488|  18.1k|        else
  489|  18.1k|            res = stringlib_rfind_char(
  490|  18.1k|                str + start, end - start,
  491|  18.1k|                *sub);
  492|  18.2k|        if (res >= 0)
  ------------------
  |  Branch (492:13): [True: 4.21k, False: 14.0k]
  ------------------
  493|  4.21k|            res += start;
  494|  18.2k|    }
  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|  18.2k|    if (subobj)
  ------------------
  |  Branch (506:9): [True: 18.1k, False: 78]
  ------------------
  507|  18.1k|        PyBuffer_Release(&subbuf);
  508|       |
  509|  18.2k|    return res;
  510|  18.2k|}
bytes_methods.c:parse_args_finds_byte:
  405|  18.2k|{
  406|  18.2k|    if (PyObject_CheckBuffer(*subobj)) {
  ------------------
  |  Branch (406:9): [True: 18.1k, False: 78]
  ------------------
  407|  18.1k|        return 1;
  408|  18.1k|    }
  409|       |
  410|     78|    if (!_PyIndex_Check(*subobj)) {
  ------------------
  |  Branch (410:9): [True: 0, False: 78]
  ------------------
  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|     78|    Py_ssize_t ival = PyNumber_AsSsize_t(*subobj, NULL);
  419|     78|    if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (419:9): [True: 0, False: 78]
  |  Branch (419:23): [True: 0, False: 0]
  ------------------
  420|      0|        return 0;
  421|      0|    }
  422|     78|    if (ival < 0 || ival > 255) {
  ------------------
  |  Branch (422:9): [True: 0, False: 78]
  |  Branch (422:21): [True: 0, False: 78]
  ------------------
  423|      0|        PyErr_SetString(PyExc_ValueError, "byte must be in range(0, 256)");
  424|      0|        return 0;
  425|      0|    }
  426|       |
  427|     78|    *subobj = NULL;
  428|     78|    *byte = (char)ival;
  429|     78|    return 1;
  430|     78|}
bytes_methods.c:_Py_bytes_tailmatch:
  680|   129k|{
  681|   129k|    if (PyTuple_Check(subobj)) {
  ------------------
  |  |   27|   129k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   129k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 129k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|   129k|    int result = tailmatch(str, len, subobj, start, end, direction);
  696|   129k|    if (result == -1) {
  ------------------
  |  Branch (696:9): [True: 0, False: 129k]
  ------------------
  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|   129k|    return PyBool_FromLong(result);
  706|   129k|}
bytes_methods.c:tailmatch:
  632|   129k|{
  633|   129k|    Py_buffer sub_view = {NULL, NULL};
  634|   129k|    const char *sub;
  635|   129k|    Py_ssize_t slen;
  636|       |
  637|   129k|    if (PyBytes_Check(substr)) {
  ------------------
  |  |   28|   129k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   129k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 129k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  638|   129k|        sub = PyBytes_AS_STRING(substr);
  ------------------
  |  |   27|   129k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   129k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   129k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  639|   129k|        slen = PyBytes_GET_SIZE(substr);
  ------------------
  |  |   33|   129k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   129k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   129k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|   129k|    }
  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|   129k|    ADJUST_INDICES(start, end, len);
  ------------------
  |  |  434|   129k|    do {                                \
  |  |  435|   129k|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (435:13): [True: 129k, False: 0]
  |  |  ------------------
  |  |  436|   129k|            end = len;                  \
  |  |  437|   129k|        }                               \
  |  |  438|   129k|        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|   129k|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (444:13): [True: 0, False: 129k]
  |  |  ------------------
  |  |  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|   129k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (450:14): [Folded, False: 129k]
  |  |  ------------------
  ------------------
  649|       |
  650|   129k|    if (direction < 0) {
  ------------------
  |  Branch (650:9): [True: 129k, False: 0]
  ------------------
  651|       |        /* startswith */
  652|   129k|        if (start > len - slen)
  ------------------
  |  Branch (652:13): [True: 93.9k, False: 35.2k]
  ------------------
  653|  93.9k|            goto notfound;
  654|   129k|    } 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|  35.2k|    if (end - start < slen)
  ------------------
  |  Branch (662:9): [True: 0, False: 35.2k]
  ------------------
  663|      0|        goto notfound;
  664|  35.2k|    if (memcmp(str + start, sub, slen) != 0)
  ------------------
  |  Branch (664:9): [True: 17.1k, False: 18.1k]
  ------------------
  665|  17.1k|        goto notfound;
  666|       |
  667|  18.1k|    PyBuffer_Release(&sub_view);
  668|  18.1k|    return 1;
  669|       |
  670|   111k|notfound:
  671|   111k|    PyBuffer_Release(&sub_view);
  672|   111k|    return 0;
  673|  35.2k|}

PyBytes_FromStringAndSize:
  135|  6.01M|{
  136|  6.01M|    PyBytesObject *op;
  137|  6.01M|    if (size < 0) {
  ------------------
  |  Branch (137:9): [True: 0, False: 6.01M]
  ------------------
  138|      0|        PyErr_SetString(PyExc_SystemError,
  139|      0|            "Negative size passed to PyBytes_FromStringAndSize");
  140|      0|        return NULL;
  141|      0|    }
  142|  6.01M|    if (size == 1 && str != NULL) {
  ------------------
  |  Branch (142:9): [True: 3.09M, False: 2.92M]
  |  Branch (142:22): [True: 3.07M, False: 20.5k]
  ------------------
  143|  3.07M|        op = CHARACTER(*str & 255);
  ------------------
  |  |   39|  3.07M|     ((PyBytesObject *)&(CHARACTERS[ch]));
  |  |  ------------------
  |  |  |  |   37|  3.07M|#define CHARACTERS _Py_SINGLETON(bytes_characters)
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  3.07M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  3.07M|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  144|  3.07M|        assert(_Py_IsImmortal(op));
  ------------------
  |  Branch (144:9): [True: 3.07M, False: 0]
  ------------------
  145|  3.07M|        return (PyObject *)op;
  146|  3.07M|    }
  147|  2.94M|    if (size == 0) {
  ------------------
  |  Branch (147:9): [True: 643k, False: 2.30M]
  ------------------
  148|   643k|        return bytes_get_empty();
  149|   643k|    }
  150|       |
  151|  2.30M|    op = (PyBytesObject *)_PyBytes_FromSize(size, 0);
  152|  2.30M|    if (op == NULL)
  ------------------
  |  Branch (152:9): [True: 0, False: 2.30M]
  ------------------
  153|      0|        return NULL;
  154|  2.30M|    if (str == NULL)
  ------------------
  |  Branch (154:9): [True: 330k, False: 1.97M]
  ------------------
  155|   330k|        return (PyObject *) op;
  156|       |
  157|  1.97M|    memcpy(op->ob_sval, str, size);
  158|  1.97M|    return (PyObject *) op;
  159|  2.30M|}
PyBytes_FromString:
  163|     26|{
  164|     26|    size_t size;
  165|     26|    PyBytesObject *op;
  166|       |
  167|     26|    assert(str != NULL);
  ------------------
  |  Branch (167:5): [True: 26, False: 0]
  ------------------
  168|     26|    size = strlen(str);
  169|     26|    if (size > PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |  137|     26|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if (size > PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |   29|     26|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|     26|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (169:9): [True: 0, False: 26]
  ------------------
  170|      0|        PyErr_SetString(PyExc_OverflowError,
  171|      0|            "byte string is too long");
  172|      0|        return NULL;
  173|      0|    }
  174|       |
  175|     26|    if (size == 0) {
  ------------------
  |  Branch (175:9): [True: 0, False: 26]
  ------------------
  176|      0|        return bytes_get_empty();
  177|      0|    }
  178|     26|    else if (size == 1) {
  ------------------
  |  Branch (178:14): [True: 0, False: 26]
  ------------------
  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|     26|    op = (PyBytesObject *)PyObject_Malloc(PyBytesObject_SIZE + size);
  ------------------
  |  |   29|     26|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|     26|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  186|     26|    if (op == NULL) {
  ------------------
  |  Branch (186:9): [True: 0, False: 26]
  ------------------
  187|      0|        return PyErr_NoMemory();
  188|      0|    }
  189|     26|    _PyObject_InitVar((PyVarObject*)op, &PyBytes_Type, size);
  190|     26|    set_ob_shash(op, -1);
  191|     26|    memcpy(op->ob_sval, str, size+1);
  192|     26|    return (PyObject *) op;
  193|     26|}
_PyBytes_DecodeEscape2:
 1181|  6.14k|{
 1182|  6.14k|    PyBytesWriter *writer = PyBytesWriter_Create(len);
 1183|  6.14k|    if (writer == NULL) {
  ------------------
  |  Branch (1183:9): [True: 0, False: 6.14k]
  ------------------
 1184|      0|        return NULL;
 1185|      0|    }
 1186|  6.14k|    char *p = PyBytesWriter_GetData(writer);
 1187|       |
 1188|  6.14k|    *first_invalid_escape_char = -1;
 1189|  6.14k|    *first_invalid_escape_ptr = NULL;
 1190|       |
 1191|  6.14k|    const char *end = s + len;
 1192|   417k|    while (s < end) {
  ------------------
  |  Branch (1192:12): [True: 411k, False: 6.13k]
  ------------------
 1193|   411k|        if (*s != '\\') {
  ------------------
  |  Branch (1193:13): [True: 353k, False: 57.6k]
  ------------------
 1194|   353k|            *p++ = *s++;
 1195|   353k|            continue;
 1196|   353k|        }
 1197|       |
 1198|  57.6k|        s++;
 1199|  57.6k|        if (s == end) {
  ------------------
  |  Branch (1199:13): [True: 0, False: 57.6k]
  ------------------
 1200|      0|            PyErr_SetString(PyExc_ValueError,
 1201|      0|                            "Trailing \\ in string");
 1202|      0|            goto failed;
 1203|      0|        }
 1204|       |
 1205|  57.6k|        switch (*s++) {
 1206|       |        /* XXX This assumes ASCII! */
 1207|    151|        case '\n': break;
  ------------------
  |  Branch (1207:9): [True: 151, False: 57.4k]
  ------------------
 1208|  4.33k|        case '\\': *p++ = '\\'; break;
  ------------------
  |  Branch (1208:9): [True: 4.33k, False: 53.3k]
  ------------------
 1209|  1.17k|        case '\'': *p++ = '\''; break;
  ------------------
  |  Branch (1209:9): [True: 1.17k, False: 56.4k]
  ------------------
 1210|    121|        case '\"': *p++ = '\"'; break;
  ------------------
  |  Branch (1210:9): [True: 121, False: 57.5k]
  ------------------
 1211|    376|        case 'b': *p++ = '\b'; break;
  ------------------
  |  Branch (1211:9): [True: 376, False: 57.2k]
  ------------------
 1212|    294|        case 'f': *p++ = '\014'; break; /* FF */
  ------------------
  |  Branch (1212:9): [True: 294, False: 57.3k]
  ------------------
 1213|    390|        case 't': *p++ = '\t'; break;
  ------------------
  |  Branch (1213:9): [True: 390, False: 57.2k]
  ------------------
 1214|    438|        case 'n': *p++ = '\n'; break;
  ------------------
  |  Branch (1214:9): [True: 438, False: 57.1k]
  ------------------
 1215|  1.05k|        case 'r': *p++ = '\r'; break;
  ------------------
  |  Branch (1215:9): [True: 1.05k, False: 56.5k]
  ------------------
 1216|     58|        case 'v': *p++ = '\013'; break; /* VT */
  ------------------
  |  Branch (1216:9): [True: 58, False: 57.5k]
  ------------------
 1217|  1.79k|        case 'a': *p++ = '\007'; break; /* BEL, not classic C */
  ------------------
  |  Branch (1217:9): [True: 1.79k, False: 55.8k]
  ------------------
 1218|  22.4k|        case '0': case '1': case '2': case '3':
  ------------------
  |  Branch (1218:9): [True: 938, False: 56.6k]
  |  Branch (1218:19): [True: 998, False: 56.6k]
  |  Branch (1218:29): [True: 17.5k, False: 40.0k]
  |  Branch (1218:39): [True: 2.95k, False: 54.6k]
  ------------------
 1219|  41.7k|        case '4': case '5': case '6': case '7':
  ------------------
  |  Branch (1219:9): [True: 1.05k, False: 56.5k]
  |  Branch (1219:19): [True: 1.76k, False: 55.8k]
  |  Branch (1219:29): [True: 5.68k, False: 51.9k]
  |  Branch (1219:39): [True: 10.7k, False: 46.8k]
  ------------------
 1220|  41.7k|        {
 1221|  41.7k|            int c = s[-1] - '0';
 1222|  41.7k|            if (s < end && '0' <= *s && *s <= '7') {
  ------------------
  |  Branch (1222:17): [True: 40.1k, False: 1.54k]
  |  Branch (1222:28): [True: 19.0k, False: 21.1k]
  |  Branch (1222:41): [True: 9.91k, False: 9.12k]
  ------------------
 1223|  9.91k|                c = (c<<3) + *s++ - '0';
 1224|  9.91k|                if (s < end && '0' <= *s && *s <= '7')
  ------------------
  |  Branch (1224:21): [True: 9.27k, False: 641]
  |  Branch (1224:32): [True: 9.00k, False: 268]
  |  Branch (1224:45): [True: 4.46k, False: 4.54k]
  ------------------
 1225|  4.46k|                    c = (c<<3) + *s++ - '0';
 1226|  9.91k|            }
 1227|  41.7k|            if (c > 0377) {
  ------------------
  |  Branch (1227:17): [True: 4.33k, False: 37.3k]
  ------------------
 1228|  4.33k|                if (*first_invalid_escape_char == -1) {
  ------------------
  |  Branch (1228:21): [True: 3.12k, False: 1.20k]
  ------------------
 1229|  3.12k|                    *first_invalid_escape_char = c;
 1230|       |                    /* Back up 3 chars, since we've already incremented s. */
 1231|  3.12k|                    *first_invalid_escape_ptr = s - 3;
 1232|  3.12k|                }
 1233|  4.33k|            }
 1234|  41.7k|            *p++ = c;
 1235|  41.7k|            break;
 1236|  30.9k|        }
 1237|    242|        case 'x':
  ------------------
  |  Branch (1237:9): [True: 242, False: 57.3k]
  ------------------
 1238|    242|            if (s+1 < end) {
  ------------------
  |  Branch (1238:17): [True: 238, False: 4]
  ------------------
 1239|    238|                int digit1, digit2;
 1240|    238|                digit1 = _PyLong_DigitValue[Py_CHARMASK(s[0])];
  ------------------
  |  |  138|    238|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1241|    238|                digit2 = _PyLong_DigitValue[Py_CHARMASK(s[1])];
  ------------------
  |  |  138|    238|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1242|    238|                if (digit1 < 16 && digit2 < 16) {
  ------------------
  |  Branch (1242:21): [True: 236, False: 2]
  |  Branch (1242:36): [True: 234, False: 2]
  ------------------
 1243|    234|                    *p++ = (unsigned char)((digit1 << 4) + digit2);
 1244|    234|                    s += 2;
 1245|    234|                    break;
 1246|    234|                }
 1247|    238|            }
 1248|       |            /* invalid hexadecimal digits */
 1249|       |
 1250|      8|            if (!errors || strcmp(errors, "strict") == 0) {
  ------------------
  |  Branch (1250:17): [True: 8, False: 0]
  |  Branch (1250:28): [True: 0, False: 0]
  ------------------
 1251|      8|                PyErr_Format(PyExc_ValueError,
 1252|      8|                             "invalid \\x escape at position %zd",
 1253|      8|                             s - 2 - (end - len));
 1254|      8|                goto failed;
 1255|      8|            }
 1256|      0|            if (strcmp(errors, "replace") == 0) {
  ------------------
  |  Branch (1256:17): [True: 0, False: 0]
  ------------------
 1257|      0|                *p++ = '?';
 1258|      0|            } else if (strcmp(errors, "ignore") == 0)
  ------------------
  |  Branch (1258:24): [True: 0, False: 0]
  ------------------
 1259|      0|                /* do nothing */;
 1260|      0|            else {
 1261|      0|                PyErr_Format(PyExc_ValueError,
 1262|      0|                             "decoding error; unknown "
 1263|      0|                             "error handling code: %.400s",
 1264|      0|                             errors);
 1265|      0|                goto failed;
 1266|      0|            }
 1267|       |            /* skip \x */
 1268|      0|            if (s < end && Py_ISXDIGIT(s[0]))
  ------------------
  |  |   25|      0|#define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |   14|      0|#define PY_CTF_XDIGIT 0x10
  |  |  ------------------
  |  |  |  Branch (25:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1268:17): [True: 0, False: 0]
  ------------------
 1269|      0|                s++; /* and a hexdigit */
 1270|      0|            break;
 1271|       |
 1272|  5.49k|        default:
  ------------------
  |  Branch (1272:9): [True: 5.49k, False: 52.1k]
  ------------------
 1273|  5.49k|            if (*first_invalid_escape_char == -1) {
  ------------------
  |  Branch (1273:17): [True: 1.51k, False: 3.97k]
  ------------------
 1274|  1.51k|                *first_invalid_escape_char = (unsigned char)s[-1];
 1275|       |                /* Back up one char, since we've already incremented s. */
 1276|  1.51k|                *first_invalid_escape_ptr = s - 1;
 1277|  1.51k|            }
 1278|  5.49k|            *p++ = '\\';
 1279|  5.49k|            s--;
 1280|  57.6k|        }
 1281|  57.6k|    }
 1282|       |
 1283|  6.13k|    return PyBytesWriter_FinishWithPointer(writer, p);
 1284|       |
 1285|      8|  failed:
 1286|      8|    PyBytesWriter_Discard(writer);
 1287|       |    return NULL;
 1288|  6.14k|}
PyBytes_Size:
 1332|  12.3k|{
 1333|  12.3k|    if (!PyBytes_Check(op)) {
  ------------------
  |  |   28|  12.3k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  12.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1333:9): [True: 0, False: 12.3k]
  ------------------
 1334|      0|        PyErr_Format(PyExc_TypeError,
 1335|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1336|      0|        return -1;
 1337|      0|    }
 1338|  12.3k|    return Py_SIZE(op);
  ------------------
  |  |  214|  12.3k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1339|  12.3k|}
PyBytes_AsString:
 1343|  6.89M|{
 1344|  6.89M|    if (!PyBytes_Check(op)) {
  ------------------
  |  |   28|  6.89M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  6.89M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1344:9): [True: 0, False: 6.89M]
  ------------------
 1345|      0|        PyErr_Format(PyExc_TypeError,
 1346|      0|             "expected bytes, %.200s found", Py_TYPE(op)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1347|      0|        return NULL;
 1348|      0|    }
 1349|  6.89M|    return ((PyBytesObject *)op)->ob_sval;
 1350|  6.89M|}
PyBytes_AsStringAndSize:
 1356|   132k|{
 1357|   132k|    if (s == NULL) {
  ------------------
  |  Branch (1357:9): [True: 0, False: 132k]
  ------------------
 1358|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1359|      0|        return -1;
 1360|      0|    }
 1361|       |
 1362|   132k|    if (!PyBytes_Check(obj)) {
  ------------------
  |  |   28|   132k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   132k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1362:9): [True: 0, False: 132k]
  ------------------
 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|   132k|    *s = PyBytes_AS_STRING(obj);
  ------------------
  |  |   27|   132k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   132k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   132k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1369|   132k|    if (len != NULL)
  ------------------
  |  Branch (1369:9): [True: 132k, False: 10]
  ------------------
 1370|   132k|        *len = PyBytes_GET_SIZE(obj);
  ------------------
  |  |   33|   132k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   132k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   132k|#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|   132k|    return 0;
 1377|   132k|}
PyBytes_Repr:
 1436|    865|{
 1437|    865|    return _Py_bytes_repr(PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   27|    865|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    865|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    865|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _Py_bytes_repr(PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   33|    865|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    865|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    865|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1438|    865|                          smartquotes, "bytes");
 1439|    865|}
_Py_bytes_repr:
 1444|    865|{
 1445|    865|    Py_ssize_t i;
 1446|    865|    Py_ssize_t newsize, squotes, dquotes;
 1447|    865|    PyObject *v;
 1448|    865|    unsigned char quote;
 1449|    865|    Py_UCS1 *p;
 1450|       |
 1451|       |    /* Compute size of output string */
 1452|    865|    squotes = dquotes = 0;
 1453|    865|    newsize = 3; /* b'' */
 1454|  30.1k|    for (i = 0; i < length; i++) {
  ------------------
  |  Branch (1454:17): [True: 29.2k, False: 865]
  ------------------
 1455|  29.2k|        unsigned char c = data[i];
 1456|  29.2k|        Py_ssize_t incr = 1;
 1457|  29.2k|        switch(c) {
 1458|  1.05k|        case '\'': squotes++; break;
  ------------------
  |  Branch (1458:9): [True: 1.05k, False: 28.2k]
  ------------------
 1459|    275|        case '"':  dquotes++; break;
  ------------------
  |  Branch (1459:9): [True: 275, False: 28.9k]
  ------------------
 1460|    625|        case '\\': case '\t': case '\n': case '\r':
  ------------------
  |  Branch (1460:9): [True: 347, False: 28.9k]
  |  Branch (1460:20): [True: 102, False: 29.1k]
  |  Branch (1460:31): [True: 173, False: 29.0k]
  |  Branch (1460:42): [True: 3, False: 29.2k]
  ------------------
 1461|    625|            incr = 2; break; /* \C */
 1462|  27.3k|        default:
  ------------------
  |  Branch (1462:9): [True: 27.3k, False: 1.95k]
  ------------------
 1463|  27.3k|            if (c < ' ' || c >= 0x7f)
  ------------------
  |  Branch (1463:17): [True: 1.47k, False: 25.8k]
  |  Branch (1463:28): [True: 430, False: 25.4k]
  ------------------
 1464|  1.90k|                incr = 4; /* \xHH */
 1465|  29.2k|        }
 1466|  29.2k|        if (newsize > PY_SSIZE_T_MAX - incr)
  ------------------
  |  |  137|  29.2k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1466:13): [True: 0, False: 29.2k]
  ------------------
 1467|      0|            goto overflow;
 1468|  29.2k|        newsize += incr;
 1469|  29.2k|    }
 1470|    865|    quote = '\'';
 1471|    865|    if (smartquotes && squotes && !dquotes)
  ------------------
  |  Branch (1471:9): [True: 865, False: 0]
  |  Branch (1471:24): [True: 50, False: 815]
  |  Branch (1471:35): [True: 28, False: 22]
  ------------------
 1472|     28|        quote = '"';
 1473|    865|    if (squotes && quote == '\'') {
  ------------------
  |  Branch (1473:9): [True: 50, False: 815]
  |  Branch (1473:20): [True: 22, False: 28]
  ------------------
 1474|     22|        if (newsize > PY_SSIZE_T_MAX - squotes)
  ------------------
  |  |  137|     22|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1474:13): [True: 0, False: 22]
  ------------------
 1475|      0|            goto overflow;
 1476|     22|        newsize += squotes;
 1477|     22|    }
 1478|       |
 1479|    865|    v = PyUnicode_New(newsize, 127);
 1480|    865|    if (v == NULL) {
  ------------------
  |  Branch (1480:9): [True: 0, False: 865]
  ------------------
 1481|      0|        return NULL;
 1482|      0|    }
 1483|    865|    p = PyUnicode_1BYTE_DATA(v);
  ------------------
  |  |  291|    865|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    865|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1484|       |
 1485|    865|    *p++ = 'b', *p++ = quote;
 1486|  30.1k|    for (i = 0; i < length; i++) {
  ------------------
  |  Branch (1486:17): [True: 29.2k, False: 865]
  ------------------
 1487|  29.2k|        unsigned char c = data[i];
 1488|  29.2k|        if (c == quote || c == '\\')
  ------------------
  |  Branch (1488:13): [True: 90, False: 29.1k]
  |  Branch (1488:27): [True: 347, False: 28.8k]
  ------------------
 1489|    437|            *p++ = '\\', *p++ = c;
 1490|  28.8k|        else if (c == '\t')
  ------------------
  |  Branch (1490:18): [True: 102, False: 28.7k]
  ------------------
 1491|    102|            *p++ = '\\', *p++ = 't';
 1492|  28.7k|        else if (c == '\n')
  ------------------
  |  Branch (1492:18): [True: 173, False: 28.5k]
  ------------------
 1493|    173|            *p++ = '\\', *p++ = 'n';
 1494|  28.5k|        else if (c == '\r')
  ------------------
  |  Branch (1494:18): [True: 3, False: 28.5k]
  ------------------
 1495|      3|            *p++ = '\\', *p++ = 'r';
 1496|  28.5k|        else if (c < ' ' || c >= 0x7f) {
  ------------------
  |  Branch (1496:18): [True: 1.47k, False: 27.0k]
  |  Branch (1496:29): [True: 430, False: 26.6k]
  ------------------
 1497|  1.90k|            *p++ = '\\';
 1498|  1.90k|            *p++ = 'x';
 1499|  1.90k|            *p++ = Py_hexdigits[(c & 0xf0) >> 4];
 1500|  1.90k|            *p++ = Py_hexdigits[c & 0xf];
 1501|  1.90k|        }
 1502|  26.6k|        else
 1503|  26.6k|            *p++ = c;
 1504|  29.2k|    }
 1505|    865|    *p++ = quote;
 1506|    865|    assert(_PyUnicode_CheckConsistency(v, 1));
  ------------------
  |  Branch (1506:5): [True: 865, False: 0]
  ------------------
 1507|    865|    return v;
 1508|       |
 1509|      0|  overflow:
 1510|      0|    PyErr_Format(PyExc_OverflowError,
 1511|      0|                 "%s object is too large to make repr", classname);
 1512|       |    return NULL;
 1513|    865|}
_PyBytes_Concat:
 1543|  27.2k|{
 1544|  27.2k|    Py_buffer va, vb;
 1545|  27.2k|    PyObject *result = NULL;
 1546|       |
 1547|  27.2k|    va.len = -1;
 1548|  27.2k|    vb.len = -1;
 1549|  27.2k|    if (PyObject_GetBuffer(a, &va, PyBUF_SIMPLE) != 0 ||
  ------------------
  |  |  108|  27.2k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1549:9): [True: 0, False: 27.2k]
  ------------------
 1550|  27.2k|        PyObject_GetBuffer(b, &vb, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|  27.2k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1550:9): [True: 785, False: 26.4k]
  ------------------
 1551|    785|        PyErr_Format(PyExc_TypeError, "can't concat %.100s to %.100s",
 1552|    785|                     Py_TYPE(b)->tp_name, Py_TYPE(a)->tp_name);
  ------------------
  |  |  213|    785|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    785|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    785|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                   Py_TYPE(b)->tp_name, Py_TYPE(a)->tp_name);
  ------------------
  |  |  213|    785|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    785|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    785|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1553|    785|        goto done;
 1554|    785|    }
 1555|       |
 1556|       |    /* Optimize end cases */
 1557|  26.4k|    if (va.len == 0 && PyBytes_CheckExact(b)) {
  ------------------
  |  |   29|     19|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|     19|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 19, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1557:9): [True: 19, False: 26.4k]
  ------------------
 1558|     19|        result = Py_NewRef(b);
  ------------------
  |  |  550|     19|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1559|     19|        goto done;
 1560|     19|    }
 1561|  26.4k|    if (vb.len == 0 && PyBytes_CheckExact(a)) {
  ------------------
  |  |   29|    499|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|    499|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    499|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    499|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 499, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1561:9): [True: 499, False: 25.9k]
  ------------------
 1562|    499|        result = Py_NewRef(a);
  ------------------
  |  |  550|    499|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    499|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    499|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1563|    499|        goto done;
 1564|    499|    }
 1565|       |
 1566|  25.9k|    if (va.len > PY_SSIZE_T_MAX - vb.len) {
  ------------------
  |  |  137|  25.9k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1566:9): [True: 0, False: 25.9k]
  ------------------
 1567|      0|        PyErr_NoMemory();
 1568|      0|        goto done;
 1569|      0|    }
 1570|       |
 1571|  25.9k|    result = PyBytes_FromStringAndSize(NULL, va.len + vb.len);
 1572|  25.9k|    if (result != NULL) {
  ------------------
  |  Branch (1572:9): [True: 25.9k, False: 0]
  ------------------
 1573|  25.9k|        memcpy(PyBytes_AS_STRING(result), va.buf, va.len);
  ------------------
  |  |   27|  25.9k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1574|  25.9k|        memcpy(PyBytes_AS_STRING(result) + va.len, vb.buf, vb.len);
  ------------------
  |  |   27|  25.9k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1575|  25.9k|    }
 1576|       |
 1577|  27.2k|  done:
 1578|  27.2k|    if (va.len != -1)
  ------------------
  |  Branch (1578:9): [True: 27.2k, False: 0]
  ------------------
 1579|  27.2k|        PyBuffer_Release(&va);
 1580|  27.2k|    if (vb.len != -1)
  ------------------
  |  Branch (1580:9): [True: 26.4k, False: 785]
  ------------------
 1581|  26.4k|        PyBuffer_Release(&vb);
 1582|  27.2k|    return result;
 1583|  25.9k|}
_PyBytes_Repeat:
 1587|  5.40k|{
 1588|  5.40k|    PyBytesObject *a = _PyBytes_CAST(self);
  ------------------
  |  |   21|  5.40k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  5.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1588:24): [True: 5.40k, False: 0]
  ------------------
 1589|  5.40k|    if (n < 0)
  ------------------
  |  Branch (1589:9): [True: 3.31k, False: 2.08k]
  ------------------
 1590|  3.31k|        n = 0;
 1591|       |    /* watch out for overflows:  the size can overflow int,
 1592|       |     * and the # of bytes needed can overflow size_t
 1593|       |     */
 1594|  5.40k|    if (n > 0 && Py_SIZE(a) > PY_SSIZE_T_MAX / n) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (n > 0 && Py_SIZE(a) > PY_SSIZE_T_MAX / n) {
  ------------------
  |  |  137|  1.88k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1594:9): [True: 1.88k, False: 3.52k]
  |  Branch (1594:18): [True: 0, False: 1.88k]
  ------------------
 1595|      0|        PyErr_SetString(PyExc_OverflowError,
 1596|      0|            "repeated bytes are too long");
 1597|      0|        return NULL;
 1598|      0|    }
 1599|  5.40k|    Py_ssize_t size = Py_SIZE(a) * n;
  ------------------
  |  |  214|  5.40k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1600|  5.40k|    if (size == Py_SIZE(a) && PyBytes_CheckExact(a)) {
  ------------------
  |  |  214|  10.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (size == Py_SIZE(a) && PyBytes_CheckExact(a)) {
  ------------------
  |  |   29|  4.71k|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|  4.71k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4.71k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1600:9): [True: 4.71k, False: 691]
  ------------------
 1601|  4.71k|        return Py_NewRef(a);
  ------------------
  |  |  550|  4.71k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1602|  4.71k|    }
 1603|    691|    size_t nbytes = (size_t)size;
 1604|    691|    if (nbytes + PyBytesObject_SIZE <= nbytes) {
  ------------------
  |  |   29|    691|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|    691|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (1604:9): [True: 0, False: 691]
  ------------------
 1605|      0|        PyErr_SetString(PyExc_OverflowError,
 1606|      0|            "repeated bytes are too long");
 1607|      0|        return NULL;
 1608|      0|    }
 1609|    691|    PyBytesObject *op = PyObject_Malloc(PyBytesObject_SIZE + nbytes);
  ------------------
  |  |   29|    691|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|    691|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
 1610|    691|    if (op == NULL) {
  ------------------
  |  Branch (1610:9): [True: 0, False: 691]
  ------------------
 1611|      0|        return PyErr_NoMemory();
 1612|      0|    }
 1613|    691|    _PyObject_InitVar((PyVarObject*)op, &PyBytes_Type, size);
 1614|    691|    set_ob_shash(op, -1);
 1615|    691|    op->ob_sval[size] = '\0';
 1616|       |
 1617|    691|    _PyBytes_RepeatBuffer(op->ob_sval, size, a->ob_sval, Py_SIZE(a));
  ------------------
  |  |  214|    691|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    691|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    691|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1618|       |
 1619|    691|    return (PyObject *) op;
 1620|    691|}
PyBytes_FromObject:
 3126|  19.4k|{
 3127|  19.4k|    PyObject *it, *result;
 3128|       |
 3129|  19.4k|    if (x == NULL) {
  ------------------
  |  Branch (3129:9): [True: 0, False: 19.4k]
  ------------------
 3130|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3131|      0|        return NULL;
 3132|      0|    }
 3133|       |
 3134|  19.4k|    if (PyBytes_CheckExact(x)) {
  ------------------
  |  |   29|  19.4k|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|  19.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  19.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  19.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 19.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3135|      0|        return Py_NewRef(x);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3136|      0|    }
 3137|       |
 3138|       |    /* Use the modern buffer interface */
 3139|  19.4k|    if (PyObject_CheckBuffer(x))
  ------------------
  |  Branch (3139:9): [True: 19.4k, False: 0]
  ------------------
 3140|  19.4k|        return _PyBytes_FromBuffer(x);
 3141|       |
 3142|      0|    if (PyList_CheckExact(x))
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3143|      0|        return _PyBytes_FromList(x);
 3144|       |
 3145|      0|    if (PyTuple_CheckExact(x))
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3146|      0|        return _PyBytes_FromTuple(x);
 3147|       |
 3148|      0|    if (!PyUnicode_Check(x)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3148:9): [True: 0, False: 0]
  ------------------
 3149|      0|        it = PyObject_GetIter(x);
 3150|      0|        if (it != NULL) {
  ------------------
  |  Branch (3150:13): [True: 0, False: 0]
  ------------------
 3151|      0|            result = _PyBytes_FromIterator(it, x);
 3152|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3153|      0|            return result;
 3154|      0|        }
 3155|      0|        if (!PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (3155:13): [True: 0, False: 0]
  ------------------
 3156|      0|            return NULL;
 3157|      0|        }
 3158|      0|    }
 3159|       |
 3160|      0|    PyErr_Format(PyExc_TypeError,
 3161|      0|                 "cannot convert '%.200s' object to bytes",
 3162|      0|                 Py_TYPE(x)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3163|       |    return NULL;
 3164|      0|}
_PyBytes_Resize:
 3345|   906k|{
 3346|   906k|    PyObject *v;
 3347|   906k|    PyBytesObject *sv;
 3348|   906k|    v = *pv;
 3349|   906k|    if (!PyBytes_Check(v) || newsize < 0) {
  ------------------
  |  |   28|   906k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.81M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3349:9): [True: 0, False: 906k]
  |  Branch (3349:30): [True: 0, False: 906k]
  ------------------
 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|   906k|    Py_ssize_t oldsize = PyBytes_GET_SIZE(v);
  ------------------
  |  |   33|   906k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   906k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   906k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3356|   906k|    if (oldsize == newsize) {
  ------------------
  |  Branch (3356:9): [True: 215k, False: 691k]
  ------------------
 3357|       |        /* return early if newsize equals to v->ob_size */
 3358|   215k|        return 0;
 3359|   215k|    }
 3360|   691k|    if (oldsize == 0) {
  ------------------
  |  Branch (3360:9): [True: 225k, False: 465k]
  ------------------
 3361|   225k|        *pv = _PyBytes_FromSize(newsize, 0);
 3362|   225k|        Py_DECREF(v);
  ------------------
  |  |  430|   225k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   225k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   225k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3363|   225k|        return (*pv == NULL) ? -1 : 0;
  ------------------
  |  Branch (3363:16): [True: 0, False: 225k]
  ------------------
 3364|   225k|    }
 3365|   465k|    if (newsize == 0) {
  ------------------
  |  Branch (3365:9): [True: 48.7k, False: 417k]
  ------------------
 3366|  48.7k|        *pv = bytes_get_empty();
 3367|  48.7k|        Py_DECREF(v);
  ------------------
  |  |  430|  48.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3368|  48.7k|        return 0;
 3369|  48.7k|    }
 3370|   417k|    if (!_PyObject_IsUniquelyReferenced(v)) {
  ------------------
  |  Branch (3370:9): [True: 0, False: 417k]
  ------------------
 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|   417k|    assert(v != bytes_get_empty());
  ------------------
  |  Branch (3383:5): [True: 417k, False: 0]
  ------------------
 3384|       |
 3385|       |#ifdef Py_TRACE_REFS
 3386|       |    _Py_ForgetReference(v);
 3387|       |#endif
 3388|   417k|    _PyReftracerTrack(v, PyRefTracer_DESTROY);
  ------------------
  |  |  112|   417k|    do { \
  |  |  113|   417k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|   417k|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 417k]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|   417k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 417k]
  |  |  ------------------
  ------------------
 3389|   417k|    *pv = (PyObject *)
 3390|   417k|        PyObject_Realloc(v, PyBytesObject_SIZE + newsize);
  ------------------
  |  |   29|   417k|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|   417k|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
 3391|   417k|    if (*pv == NULL) {
  ------------------
  |  Branch (3391:9): [True: 0, False: 417k]
  ------------------
 3392|       |#ifdef Py_REF_DEBUG
 3393|       |        _Py_DecRefTotal(_PyThreadState_GET());
 3394|       |#endif
 3395|      0|        PyObject_Free(v);
 3396|      0|        PyErr_NoMemory();
 3397|      0|        return -1;
 3398|      0|    }
 3399|   417k|    _Py_NewReferenceNoTotal(*pv);
 3400|   417k|    sv = (PyBytesObject *) *pv;
 3401|   417k|    Py_SET_SIZE(sv, newsize);
  ------------------
  |  |  216|   417k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|   417k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   417k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3402|   417k|    sv->ob_sval[newsize] = '\0';
 3403|   417k|    set_ob_shash(sv, -1);          /* invalidate cached hash value */
 3404|   417k|    return 0;
 3405|   417k|}
_PyBytes_RepeatBuffer:
 3569|  8.31k|{
 3570|  8.31k|    if (len_dest == 0) {
  ------------------
  |  Branch (3570:9): [True: 331, False: 7.98k]
  ------------------
 3571|    331|        return;
 3572|    331|    }
 3573|  7.98k|    if (len_src == 1) {
  ------------------
  |  Branch (3573:9): [True: 390, False: 7.59k]
  ------------------
 3574|    390|        memset(dest, src[0], len_dest);
 3575|    390|    }
 3576|  7.59k|    else {
 3577|  7.59k|        if (src != dest) {
  ------------------
  |  Branch (3577:13): [True: 7.59k, False: 0]
  ------------------
 3578|  7.59k|            memcpy(dest, src, len_src);
 3579|  7.59k|        }
 3580|  7.59k|        Py_ssize_t copied = len_src;
 3581|  43.5k|        while (copied < len_dest) {
  ------------------
  |  Branch (3581:16): [True: 35.9k, False: 7.59k]
  ------------------
 3582|  35.9k|            Py_ssize_t bytes_to_copy = Py_MIN(copied, len_dest - copied);
  ------------------
  |  |  112|  35.9k|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 5.56k, False: 30.4k]
  |  |  ------------------
  ------------------
 3583|  35.9k|            memcpy(dest + copied, dest, bytes_to_copy);
 3584|  35.9k|            copied += bytes_to_copy;
 3585|  35.9k|        }
 3586|  7.59k|    }
 3587|  7.98k|}
PyBytesWriter_Create:
 3724|  76.4k|{
 3725|  76.4k|    return byteswriter_create(size, 0);
 3726|  76.4k|}
PyBytesWriter_Discard:
 3737|  76.4k|{
 3738|  76.4k|    if (writer == NULL) {
  ------------------
  |  Branch (3738:9): [True: 34, False: 76.4k]
  ------------------
 3739|     34|        return;
 3740|     34|    }
 3741|       |
 3742|  76.4k|    Py_XDECREF(writer->obj);
  ------------------
  |  |  524|  76.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  76.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  76.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3743|  76.4k|    _Py_FREELIST_FREE(bytes_writers, writer, PyMem_Free);
  ------------------
  |  |   35|  76.4k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  76.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  76.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  76.4k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   30|  76.4k|#  define Py_bytes_writers_MAXFREELIST 1
  |  |  ------------------
  ------------------
 3744|  76.4k|}
PyBytesWriter_FinishWithSize:
 3749|  29.8k|{
 3750|  29.8k|    PyObject *result;
 3751|  29.8k|    if (size == 0) {
  ------------------
  |  Branch (3751:9): [True: 831, False: 28.9k]
  ------------------
 3752|    831|        result = bytes_get_empty();
 3753|    831|    }
 3754|  28.9k|    else if (writer->obj != NULL) {
  ------------------
  |  Branch (3754:14): [True: 3.95k, False: 25.0k]
  ------------------
 3755|  3.95k|        if (writer->use_bytearray) {
  ------------------
  |  Branch (3755:13): [True: 0, False: 3.95k]
  ------------------
 3756|      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 (3756:17): [True: 0, False: 0]
  ------------------
 3757|      0|                if (PyByteArray_Resize(writer->obj, size)) {
  ------------------
  |  Branch (3757:21): [True: 0, False: 0]
  ------------------
 3758|      0|                    goto error;
 3759|      0|                }
 3760|      0|            }
 3761|      0|        }
 3762|  3.95k|        else {
 3763|  3.95k|            if (size != PyBytes_GET_SIZE(writer->obj)) {
  ------------------
  |  |   33|  3.95k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  3.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3763:17): [True: 2.95k, False: 1.00k]
  ------------------
 3764|  2.95k|                if (_PyBytes_Resize(&writer->obj, size)) {
  ------------------
  |  Branch (3764:21): [True: 0, False: 2.95k]
  ------------------
 3765|      0|                    goto error;
 3766|      0|                }
 3767|  2.95k|            }
 3768|  3.95k|        }
 3769|  3.95k|        result = writer->obj;
 3770|  3.95k|        writer->obj = NULL;
 3771|  3.95k|    }
 3772|  25.0k|    else if (writer->use_bytearray) {
  ------------------
  |  Branch (3772:14): [True: 0, False: 25.0k]
  ------------------
 3773|      0|        result = PyByteArray_FromStringAndSize(writer->small_buffer, size);
 3774|      0|    }
 3775|  25.0k|    else {
 3776|  25.0k|        result = PyBytes_FromStringAndSize(writer->small_buffer, size);
 3777|  25.0k|    }
 3778|  29.8k|    PyBytesWriter_Discard(writer);
 3779|  29.8k|    return result;
 3780|       |
 3781|      0|error:
 3782|      0|    PyBytesWriter_Discard(writer);
 3783|       |    return NULL;
 3784|  29.8k|}
PyBytesWriter_Finish:
 3788|  20.3k|{
 3789|  20.3k|    return PyBytesWriter_FinishWithSize(writer, writer->size);
 3790|  20.3k|}
PyBytesWriter_FinishWithPointer:
 3795|  9.37k|{
 3796|  9.37k|    Py_ssize_t size = (char*)buf - byteswriter_data(writer);
 3797|  9.37k|    if (size < 0 || size > byteswriter_allocated(writer)) {
  ------------------
  |  Branch (3797:9): [True: 0, False: 9.37k]
  |  Branch (3797:21): [True: 0, False: 9.37k]
  ------------------
 3798|      0|        PyBytesWriter_Discard(writer);
 3799|      0|        PyErr_SetString(PyExc_ValueError, "invalid end pointer");
 3800|      0|        return NULL;
 3801|      0|    }
 3802|       |
 3803|  9.37k|    return PyBytesWriter_FinishWithSize(writer, size);
 3804|  9.37k|}
PyBytesWriter_GetData:
 3809|  87.5k|{
 3810|  87.5k|    return byteswriter_data(writer);
 3811|  87.5k|}
PyBytesWriter_GetSize:
 3816|     20|{
 3817|     20|    return _PyBytesWriter_GetSize(writer);
 3818|     20|}
PyBytesWriter_Resize:
 3830|     20|{
 3831|     20|    if (size < 0) {
  ------------------
  |  Branch (3831:9): [True: 0, False: 20]
  ------------------
 3832|      0|        PyErr_SetString(PyExc_ValueError, "size must be >= 0");
 3833|      0|        return -1;
 3834|      0|    }
 3835|     20|    if (byteswriter_resize(writer, size, 1) < 0) {
  ------------------
  |  Branch (3835:9): [True: 0, False: 20]
  ------------------
 3836|      0|        return -1;
 3837|      0|    }
 3838|     20|    writer->size = size;
 3839|     20|    return 0;
 3840|     20|}
bytesobject.c:bytes_get_empty:
   45|  1.11M|{
   46|  1.11M|    PyObject *empty = &EMPTY->ob_base.ob_base;
  ------------------
  |  |   40|  1.11M|#define EMPTY (&_Py_SINGLETON(bytes_empty))
  |  |  ------------------
  |  |  |  |   18|  1.11M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.11M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   47|  1.11M|    assert(_Py_IsImmortal(empty));
  ------------------
  |  Branch (47:5): [True: 1.11M, False: 0]
  ------------------
   48|  1.11M|    return empty;
   49|  1.11M|}
bytesobject.c:_PyBytes_FromSize:
  103|  2.52M|{
  104|  2.52M|    PyBytesObject *op;
  105|  2.52M|    assert(size >= 0);
  ------------------
  |  Branch (105:5): [True: 2.52M, False: 0]
  ------------------
  106|       |
  107|  2.52M|    if (size == 0) {
  ------------------
  |  Branch (107:9): [True: 0, False: 2.52M]
  ------------------
  108|      0|        return bytes_get_empty();
  109|      0|    }
  110|       |
  111|  2.52M|    if ((size_t)size > (size_t)PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |  137|  2.52M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if ((size_t)size > (size_t)PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |   29|  2.52M|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|  2.52M|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (111:9): [True: 0, False: 2.52M]
  ------------------
  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|  2.52M|    if (use_calloc)
  ------------------
  |  Branch (118:9): [True: 0, False: 2.52M]
  ------------------
  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|  2.52M|    else
  121|  2.52M|        op = (PyBytesObject *)PyObject_Malloc(PyBytesObject_SIZE + size);
  ------------------
  |  |   29|  2.52M|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   76|  2.52M|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  122|  2.52M|    if (op == NULL) {
  ------------------
  |  Branch (122:9): [True: 0, False: 2.52M]
  ------------------
  123|      0|        return PyErr_NoMemory();
  124|      0|    }
  125|  2.52M|    _PyObject_InitVar((PyVarObject*)op, &PyBytes_Type, size);
  126|  2.52M|    set_ob_shash(op, -1);
  127|  2.52M|    if (!use_calloc) {
  ------------------
  |  Branch (127:9): [True: 2.52M, False: 0]
  ------------------
  128|  2.52M|        op->ob_sval[size] = '\0';
  129|  2.52M|    }
  130|  2.52M|    return (PyObject *) op;
  131|  2.52M|}
bytesobject.c:set_ob_shash:
   54|  3.61M|{
   55|  3.61M|_Py_COMP_DIAG_PUSH
   56|  3.61M|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
   57|       |#ifdef Py_GIL_DISABLED
   58|       |    _Py_atomic_store_ssize_relaxed(&a->ob_shash, hash);
   59|       |#else
   60|  3.61M|    a->ob_shash = hash;
   61|  3.61M|#endif
   62|  3.61M|_Py_COMP_DIAG_POP
   63|  3.61M|}
bytesobject.c:_PyBytes_FromBuffer:
 2964|  19.4k|{
 2965|  19.4k|    Py_buffer view;
 2966|  19.4k|    if (PyObject_GetBuffer(x, &view, PyBUF_FULL_RO) < 0)
  ------------------
  |  |  134|  19.4k|#define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  122|  19.4k|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  19.4k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  19.4k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  116|  19.4k|#define PyBUF_FORMAT 0x0004
  |  |  ------------------
  ------------------
  |  Branch (2966:9): [True: 0, False: 19.4k]
  ------------------
 2967|      0|        return NULL;
 2968|       |
 2969|  19.4k|    PyBytesWriter *writer = PyBytesWriter_Create(view.len);
 2970|  19.4k|    if (writer == NULL) {
  ------------------
  |  Branch (2970:9): [True: 0, False: 19.4k]
  ------------------
 2971|      0|        goto fail;
 2972|      0|    }
 2973|       |
 2974|  19.4k|    if (PyBuffer_ToContiguous(PyBytesWriter_GetData(writer),
  ------------------
  |  Branch (2974:9): [True: 0, False: 19.4k]
  ------------------
 2975|  19.4k|                              &view, view.len, 'C') < 0) {
 2976|      0|        goto fail;
 2977|      0|    }
 2978|       |
 2979|  19.4k|    PyBuffer_Release(&view);
 2980|  19.4k|    return PyBytesWriter_Finish(writer);
 2981|       |
 2982|      0|fail:
 2983|      0|    PyBytesWriter_Discard(writer);
 2984|      0|    PyBuffer_Release(&view);
 2985|       |    return NULL;
 2986|  19.4k|}
bytesobject.c:bytes_repr:
 1517|    865|{
 1518|    865|    return PyBytes_Repr(op, 1);
 1519|    865|}
bytesobject.c:bytes_mod:
 2848|     90|{
 2849|     90|    if (!PyBytes_Check(self)) {
  ------------------
  |  |   28|     90|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     90|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2849:9): [True: 90, False: 0]
  ------------------
 2850|     90|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|     90|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|     90|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 2851|     90|    }
 2852|      0|    return _PyBytes_FormatEx(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _PyBytes_FormatEx(PyBytes_AS_STRING(self), 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2853|      0|                             arg, 0);
 2854|     90|}
bytesobject.c:bytes_length:
 1535|   502k|{
 1536|   502k|    PyBytesObject *a = _PyBytes_CAST(self);
  ------------------
  |  |   21|   502k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   502k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1536:24): [True: 502k, False: 0]
  ------------------
 1537|   502k|    return Py_SIZE(a);
  ------------------
  |  |  214|   502k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   502k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   502k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1538|   502k|}
bytesobject.c:bytes_contains:
 1624|  1.32k|{
 1625|  1.32k|    return _Py_bytes_contains(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), arg);
  ------------------
  |  |   27|  1.32k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _Py_bytes_contains(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), arg);
  ------------------
  |  |   33|  1.32k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  1.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1626|  1.32k|}
bytesobject.c:bytes_subscript:
 1734|   651k|{
 1735|   651k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|   651k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   651k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1735:27): [True: 651k, False: 0]
  ------------------
 1736|   651k|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (1736:9): [True: 621k, False: 29.1k]
  ------------------
 1737|   621k|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
 1738|   621k|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1738:13): [True: 6, False: 621k]
  |  Branch (1738:24): [True: 6, False: 0]
  ------------------
 1739|      6|            return NULL;
 1740|   621k|        if (i < 0)
  ------------------
  |  Branch (1740:13): [True: 30, False: 621k]
  ------------------
 1741|     30|            i += PyBytes_GET_SIZE(self);
  ------------------
  |  |   33|     30|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1742|   621k|        if (i < 0 || i >= PyBytes_GET_SIZE(self)) {
  ------------------
  |  |   33|   621k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   621k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   621k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1742:13): [True: 30, False: 621k]
  |  Branch (1742:22): [True: 64, False: 621k]
  ------------------
 1743|     94|            PyErr_SetString(PyExc_IndexError,
 1744|     94|                            "index out of range");
 1745|     94|            return NULL;
 1746|     94|        }
 1747|   621k|        return _PyLong_FromUnsignedChar((unsigned char)self->ob_sval[i]);
 1748|   621k|    }
 1749|  29.1k|    else if (PySlice_Check(item)) {
  ------------------
  |  |   22|  29.1k|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|  29.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  29.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  29.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 29.1k, False: 55]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1750|  29.1k|        Py_ssize_t start, stop, step, slicelength, i;
 1751|  29.1k|        size_t cur;
 1752|  29.1k|        const char* source_buf;
 1753|  29.1k|        char* result_buf;
 1754|  29.1k|        PyObject* result;
 1755|       |
 1756|  29.1k|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (1756:13): [True: 947, False: 28.1k]
  ------------------
 1757|    947|            return NULL;
 1758|    947|        }
 1759|  28.1k|        slicelength = PySlice_AdjustIndices(PyBytes_GET_SIZE(self), &start,
  ------------------
  |  |   33|  28.1k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  28.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1760|  28.1k|                                            &stop, step);
 1761|       |
 1762|  28.1k|        if (slicelength <= 0) {
  ------------------
  |  Branch (1762:13): [True: 616, False: 27.5k]
  ------------------
 1763|    616|            return Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|    616|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 1764|    616|        }
 1765|  27.5k|        else if (start == 0 && step == 1 &&
  ------------------
  |  Branch (1765:18): [True: 4.53k, False: 23.0k]
  |  Branch (1765:32): [True: 4.41k, False: 117]
  ------------------
 1766|  4.41k|                 slicelength == PyBytes_GET_SIZE(self) &&
  ------------------
  |  |   33|  31.9k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  4.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1766:18): [True: 197, False: 4.22k]
  ------------------
 1767|    197|                 PyBytes_CheckExact(self)) {
  ------------------
  |  |   29|    197|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|    197|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    197|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    197|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 197, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1768|    197|            return Py_NewRef(self);
  ------------------
  |  |  550|    197|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    197|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    197|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1769|    197|        }
 1770|  27.3k|        else if (step == 1) {
  ------------------
  |  Branch (1770:18): [True: 27.2k, False: 117]
  ------------------
 1771|  27.2k|            return PyBytes_FromStringAndSize(
 1772|  27.2k|                PyBytes_AS_STRING(self) + start,
  ------------------
  |  |   27|  27.2k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1773|  27.2k|                slicelength);
 1774|  27.2k|        }
 1775|    117|        else {
 1776|    117|            source_buf = PyBytes_AS_STRING(self);
  ------------------
  |  |   27|    117|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    117|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    117|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1777|    117|            result = PyBytes_FromStringAndSize(NULL, slicelength);
 1778|    117|            if (result == NULL)
  ------------------
  |  Branch (1778:17): [True: 0, False: 117]
  ------------------
 1779|      0|                return NULL;
 1780|       |
 1781|    117|            result_buf = PyBytes_AS_STRING(result);
  ------------------
  |  |   27|    117|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    117|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    117|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1782|    317|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (1782:38): [True: 200, False: 117]
  ------------------
 1783|    200|                 cur += step, i++) {
 1784|    200|                result_buf[i] = source_buf[cur];
 1785|    200|            }
 1786|       |
 1787|    117|            return result;
 1788|    117|        }
 1789|  28.1k|    }
 1790|     55|    else {
 1791|     55|        PyErr_Format(PyExc_TypeError,
 1792|     55|                     "byte indices must be integers or slices, not %.200s",
 1793|     55|                     Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|     55|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     55|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     55|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1794|       |        return NULL;
 1795|     55|    }
 1796|   651k|}
bytesobject.c:bytes_hash:
 1721|  4.45M|{
 1722|  4.45M|    PyBytesObject *a = _PyBytes_CAST(self);
  ------------------
  |  |   21|  4.45M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  4.45M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1722:24): [True: 4.45M, False: 0]
  ------------------
 1723|      0|    Py_hash_t hash = get_ob_shash(a);
 1724|  4.45M|    if (hash == -1) {
  ------------------
  |  Branch (1724:9): [True: 669k, False: 3.78M]
  ------------------
 1725|       |        /* Can't fail */
 1726|   669k|        hash = Py_HashBuffer(a->ob_sval, Py_SIZE(a));
  ------------------
  |  |  214|   669k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   669k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   669k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1727|   669k|        set_ob_shash(a, hash);
 1728|   669k|    }
 1729|  4.45M|    return hash;
 1730|  4.45M|}
bytesobject.c:get_ob_shash:
   67|  4.45M|{
   68|  4.45M|_Py_COMP_DIAG_PUSH
   69|  4.45M|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
   70|       |#ifdef Py_GIL_DISABLED
   71|       |    return _Py_atomic_load_ssize_relaxed(&a->ob_shash);
   72|       |#else
   73|  4.45M|    return a->ob_shash;
   74|  4.45M|#endif
   75|  4.45M|_Py_COMP_DIAG_POP
   76|  4.45M|}
bytesobject.c:bytes_buffer_getbuffer:
 1800|   326k|{
 1801|   326k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|   326k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   326k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1801:27): [True: 326k, False: 0]
  ------------------
 1802|   326k|    return PyBuffer_FillInfo(view, (PyObject*)self, (void *)self->ob_sval, Py_SIZE(self),
  ------------------
  |  |  214|   326k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   326k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   326k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1803|   326k|                             1, flags);
 1804|   326k|}
bytesobject.c:bytes_richcompare:
 1658|  59.6k|{
 1659|       |    /* Make sure both arguments are strings. */
 1660|  59.6k|    if (!(PyBytes_Check(aa) && PyBytes_Check(bb))) {
  ------------------
  |  |   28|  59.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   119k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 59.6k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!(PyBytes_Check(aa) && PyBytes_Check(bb))) {
  ------------------
  |  |   28|  59.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  59.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 59.6k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1661|      0|        if (_Py_GetConfig()->bytes_warning && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
                      if (_Py_GetConfig()->bytes_warning && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (1661:13): [True: 0, False: 0]
  |  Branch (1661:48): [True: 0, False: 0]
  |  Branch (1661:63): [True: 0, False: 0]
  ------------------
 1662|      0|            if (PyUnicode_Check(aa) || PyUnicode_Check(bb)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyUnicode_Check(aa) || PyUnicode_Check(bb)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1663|      0|                if (PyErr_WarnEx(PyExc_BytesWarning,
  ------------------
  |  Branch (1663:21): [True: 0, False: 0]
  ------------------
 1664|      0|                                 "Comparison between bytes and string", 1))
 1665|      0|                    return NULL;
 1666|      0|            }
 1667|      0|            if (PyLong_Check(aa) || PyLong_Check(bb)) {
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyLong_Check(aa) || PyLong_Check(bb)) {
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1668|      0|                if (PyErr_WarnEx(PyExc_BytesWarning,
  ------------------
  |  Branch (1668:21): [True: 0, False: 0]
  ------------------
 1669|      0|                                 "Comparison between bytes and int", 1))
 1670|      0|                    return NULL;
 1671|      0|            }
 1672|      0|        }
 1673|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 1674|      0|    }
 1675|       |
 1676|  59.6k|    PyBytesObject *a = _PyBytes_CAST(aa);
  ------------------
  |  |   21|  59.6k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  59.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1676:24): [True: 59.6k, False: 0]
  ------------------
 1677|  59.6k|    PyBytesObject *b = _PyBytes_CAST(bb);
  ------------------
  |  |   21|  59.6k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  59.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1677:24): [True: 59.6k, False: 0]
  ------------------
 1678|  59.6k|    if (a == b) {
  ------------------
  |  Branch (1678:9): [True: 0, False: 59.6k]
  ------------------
 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|  59.6k|    else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  654|   119k|#define Py_EQ 2
  ------------------
                  else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  655|     85|#define Py_NE 3
  ------------------
  |  Branch (1694:14): [True: 59.5k, False: 85]
  |  Branch (1694:29): [True: 85, False: 0]
  ------------------
 1695|  59.6k|        int eq = bytes_compare_eq(a, b);
 1696|  59.6k|        eq ^= (op == Py_NE);
  ------------------
  |  |  655|  59.6k|#define Py_NE 3
  ------------------
 1697|  59.6k|        return PyBool_FromLong(eq);
 1698|  59.6k|    }
 1699|      0|    else {
 1700|      0|        Py_ssize_t len_a = Py_SIZE(a);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1701|      0|        Py_ssize_t len_b = Py_SIZE(b);
  ------------------
  |  |  214|      0|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1702|      0|        Py_ssize_t min_len = Py_MIN(len_a, len_b);
  ------------------
  |  |  112|      0|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1703|      0|        int c;
 1704|      0|        if (min_len > 0) {
  ------------------
  |  Branch (1704:13): [True: 0, False: 0]
  ------------------
 1705|      0|            c = Py_CHARMASK(*a->ob_sval) - Py_CHARMASK(*b->ob_sval);
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
                          c = Py_CHARMASK(*a->ob_sval) - Py_CHARMASK(*b->ob_sval);
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1706|      0|            if (c == 0)
  ------------------
  |  Branch (1706:17): [True: 0, False: 0]
  ------------------
 1707|      0|                c = memcmp(a->ob_sval, b->ob_sval, min_len);
 1708|      0|        }
 1709|      0|        else {
 1710|      0|            c = 0;
 1711|      0|        }
 1712|      0|        if (c != 0) {
  ------------------
  |  Branch (1712:13): [True: 0, False: 0]
  ------------------
 1713|      0|            Py_RETURN_RICHCOMPARE(c, 0, op);
  ------------------
  |  |  674|      0|    do {                                                                    \
  |  |  675|      0|        switch (op) {                                                       \
  |  |  676|      0|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|      0|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (676:9): [True: 0, False: 0]
  |  |  |  Branch (676:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  677|      0|        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  655|      0|#define Py_NE 3
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (677:9): [True: 0, False: 0]
  |  |  |  Branch (677:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  678|      0|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|      0|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 0, False: 0]
  |  |  |  Branch (678:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  679|      0|        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  656|      0|#define Py_GT 4
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (679:9): [True: 0, False: 0]
  |  |  |  Branch (679:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  680|      0|        case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  653|      0|#define Py_LE 1
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (680:9): [True: 0, False: 0]
  |  |  |  Branch (680:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  681|      0|        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  657|      0|#define Py_GE 5
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (681:9): [True: 0, False: 0]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|      0|        }                                                                   \
  |  |  685|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1714|      0|        }
 1715|      0|        Py_RETURN_RICHCOMPARE(len_a, len_b, op);
  ------------------
  |  |  674|      0|    do {                                                                    \
  |  |  675|      0|        switch (op) {                                                       \
  |  |  676|      0|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|      0|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (676:9): [True: 0, False: 0]
  |  |  |  Branch (676:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  677|      0|        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  655|      0|#define Py_NE 3
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (677:9): [True: 0, False: 0]
  |  |  |  Branch (677:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  678|      0|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|      0|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 0, False: 0]
  |  |  |  Branch (678:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  679|      0|        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  656|      0|#define Py_GT 4
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (679:9): [True: 0, False: 0]
  |  |  |  Branch (679:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  680|      0|        case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  653|      0|#define Py_LE 1
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (680:9): [True: 0, False: 0]
  |  |  |  Branch (680:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  681|      0|        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  657|      0|#define Py_GE 5
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      0|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|      0|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (681:9): [True: 0, False: 0]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|      0|        }                                                                   \
  |  |  685|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1716|      0|    }
 1717|  59.6k|}
bytesobject.c:bytes_compare_eq:
 1641|  59.6k|{
 1642|  59.6k|    int cmp;
 1643|  59.6k|    Py_ssize_t len;
 1644|       |
 1645|  59.6k|    len = Py_SIZE(a);
  ------------------
  |  |  214|  59.6k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  59.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  59.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1646|  59.6k|    if (Py_SIZE(b) != len)
  ------------------
  |  |  214|  59.6k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  59.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  59.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1646:9): [True: 0, False: 59.6k]
  ------------------
 1647|      0|        return 0;
 1648|       |
 1649|  59.6k|    if (a->ob_sval[0] != b->ob_sval[0])
  ------------------
  |  Branch (1649:9): [True: 0, False: 59.6k]
  ------------------
 1650|      0|        return 0;
 1651|       |
 1652|  59.6k|    cmp = memcmp(a->ob_sval, b->ob_sval, len);
 1653|  59.6k|    return (cmp == 0);
 1654|  59.6k|}
bytesobject.c:bytes_decode_impl:
 2583|  18.2k|{
 2584|  18.2k|    return PyUnicode_FromEncodedObject((PyObject*)self, encoding, errors);
 2585|  18.2k|}
bytesobject.c:bytes_replace_impl:
 2428|     10|{
 2429|     10|    return stringlib_replace((PyObject *)self,
 2430|     10|                             (const char *)old->buf, old->len,
 2431|     10|                             (const char *)new->buf, new->len, count);
 2432|     10|}
bytesobject.c:bytes_rfind_impl:
 2073|  18.1k|{
 2074|  18.1k|    return _Py_bytes_rfind(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self),
  ------------------
  |  |   27|  18.1k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _Py_bytes_rfind(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self),
  ------------------
  |  |   33|  18.1k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  18.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2075|  18.1k|                           sub, start, end);
 2076|  18.1k|}
bytesobject.c:bytes_split_impl:
 1869|  1.28k|{
 1870|  1.28k|    Py_ssize_t len = PyBytes_GET_SIZE(self), n;
  ------------------
  |  |   33|  1.28k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  1.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1871|  1.28k|    const char *s = PyBytes_AS_STRING(self), *sub;
  ------------------
  |  |   27|  1.28k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1872|  1.28k|    Py_buffer vsub;
 1873|  1.28k|    PyObject *list;
 1874|       |
 1875|  1.28k|    if (maxsplit < 0)
  ------------------
  |  Branch (1875:9): [True: 1.28k, False: 0]
  ------------------
 1876|  1.28k|        maxsplit = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  1.28k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1877|  1.28k|    if (sep == Py_None)
  ------------------
  |  |  616|  1.28k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1877:9): [True: 0, False: 1.28k]
  ------------------
 1878|      0|        return stringlib_split_whitespace((PyObject*) self, s, len, maxsplit);
 1879|  1.28k|    if (PyObject_GetBuffer(sep, &vsub, PyBUF_SIMPLE) != 0)
  ------------------
  |  |  108|  1.28k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1879:9): [True: 0, False: 1.28k]
  ------------------
 1880|      0|        return NULL;
 1881|  1.28k|    sub = vsub.buf;
 1882|  1.28k|    n = vsub.len;
 1883|       |
 1884|  1.28k|    list = stringlib_split((PyObject*) self, s, len, sub, n, maxsplit);
 1885|  1.28k|    PyBuffer_Release(&vsub);
 1886|  1.28k|    return list;
 1887|  1.28k|}
bytesobject.c:bytes_startswith_impl:
 2533|   129k|{
 2534|   129k|    return _Py_bytes_startswith(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self),
  ------------------
  |  |   27|   129k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   129k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   129k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _Py_bytes_startswith(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self),
  ------------------
  |  |   33|   129k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   129k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   129k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2535|   129k|                                subobj, start, end);
 2536|   129k|}
bytesobject.c:bytes_new_impl:
 2880|  19.4k|{
 2881|  19.4k|    PyObject *bytes;
 2882|  19.4k|    PyObject *func;
 2883|  19.4k|    Py_ssize_t size;
 2884|       |
 2885|  19.4k|    if (x == NULL) {
  ------------------
  |  Branch (2885:9): [True: 0, False: 19.4k]
  ------------------
 2886|      0|        if (encoding != NULL || errors != NULL) {
  ------------------
  |  Branch (2886:13): [True: 0, False: 0]
  |  Branch (2886:33): [True: 0, False: 0]
  ------------------
 2887|      0|            PyErr_SetString(PyExc_TypeError,
 2888|      0|                            encoding != NULL ?
  ------------------
  |  Branch (2888:29): [True: 0, False: 0]
  ------------------
 2889|      0|                            "encoding without a string argument" :
 2890|      0|                            "errors without a string argument");
 2891|      0|            return NULL;
 2892|      0|        }
 2893|      0|        bytes = Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|      0|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 2894|      0|    }
 2895|  19.4k|    else if (encoding != NULL) {
  ------------------
  |  Branch (2895:14): [True: 0, False: 19.4k]
  ------------------
 2896|       |        /* Encode via the codec registry */
 2897|      0|        if (!PyUnicode_Check(x)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2897:13): [True: 0, False: 0]
  ------------------
 2898|      0|            PyErr_SetString(PyExc_TypeError,
 2899|      0|                            "encoding without a string argument");
 2900|      0|            return NULL;
 2901|      0|        }
 2902|      0|        bytes = PyUnicode_AsEncodedString(x, encoding, errors);
 2903|      0|    }
 2904|  19.4k|    else if (errors != NULL) {
  ------------------
  |  Branch (2904:14): [True: 0, False: 19.4k]
  ------------------
 2905|      0|        PyErr_SetString(PyExc_TypeError,
 2906|      0|                        PyUnicode_Check(x) ?
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2907|      0|                        "string argument without an encoding" :
 2908|      0|                        "errors without a string argument");
 2909|      0|        return NULL;
 2910|      0|    }
 2911|       |    /* We'd like to call PyObject_Bytes here, but we need to check for an
 2912|       |       integer argument before deferring to PyBytes_FromObject, something
 2913|       |       PyObject_Bytes doesn't do. */
 2914|  19.4k|    else if ((func = _PyObject_LookupSpecial(x, &_Py_ID(__bytes__))) != NULL) {
  ------------------
  |  |  921|  19.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  19.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  19.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2914:14): [True: 0, False: 19.4k]
  ------------------
 2915|      0|        bytes = _PyObject_CallNoArgs(func);
 2916|      0|        Py_DECREF(func);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2917|      0|        if (bytes == NULL)
  ------------------
  |  Branch (2917:13): [True: 0, False: 0]
  ------------------
 2918|      0|            return NULL;
 2919|      0|        if (!PyBytes_Check(bytes)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2919:13): [True: 0, False: 0]
  ------------------
 2920|      0|            PyErr_Format(PyExc_TypeError,
 2921|      0|                         "%T.__bytes__() must return a bytes, not %T",
 2922|      0|                         x, bytes);
 2923|      0|            Py_DECREF(bytes);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2924|      0|            return NULL;
 2925|      0|        }
 2926|      0|    }
 2927|  19.4k|    else if (PyErr_Occurred())
  ------------------
  |  Branch (2927:14): [True: 0, False: 19.4k]
  ------------------
 2928|      0|        return NULL;
 2929|  19.4k|    else if (PyUnicode_Check(x)) {
  ------------------
  |  |  103|  19.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  19.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 19.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2930|      0|        PyErr_SetString(PyExc_TypeError,
 2931|      0|                        "string argument without an encoding");
 2932|      0|        return NULL;
 2933|      0|    }
 2934|       |    /* Is it an integer? */
 2935|  19.4k|    else if (_PyIndex_Check(x)) {
  ------------------
  |  Branch (2935:14): [True: 0, False: 19.4k]
  ------------------
 2936|      0|        size = PyNumber_AsSsize_t(x, PyExc_OverflowError);
 2937|      0|        if (size == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (2937:13): [True: 0, False: 0]
  |  Branch (2937:27): [True: 0, False: 0]
  ------------------
 2938|      0|            if (!PyErr_ExceptionMatches(PyExc_TypeError))
  ------------------
  |  Branch (2938:17): [True: 0, False: 0]
  ------------------
 2939|      0|                return NULL;
 2940|      0|            PyErr_Clear();  /* fall through */
 2941|      0|            bytes = PyBytes_FromObject(x);
 2942|      0|        }
 2943|      0|        else {
 2944|      0|            if (size < 0) {
  ------------------
  |  Branch (2944:17): [True: 0, False: 0]
  ------------------
 2945|      0|                PyErr_SetString(PyExc_ValueError, "negative count");
 2946|      0|                return NULL;
 2947|      0|            }
 2948|      0|            bytes = _PyBytes_FromSize(size, 1);
 2949|      0|        }
 2950|      0|    }
 2951|  19.4k|    else {
 2952|  19.4k|        bytes = PyBytes_FromObject(x);
 2953|  19.4k|    }
 2954|       |
 2955|  19.4k|    if (bytes != NULL && type != &PyBytes_Type) {
  ------------------
  |  Branch (2955:9): [True: 19.4k, False: 0]
  |  Branch (2955:26): [True: 0, False: 19.4k]
  ------------------
 2956|      0|        Py_SETREF(bytes, bytes_subtype_new(type, bytes));
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2957|      0|    }
 2958|       |
 2959|  19.4k|    return bytes;
 2960|  19.4k|}
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:
 3420|      2|{
 3421|      2|    striterobject *it = _striterobject_CAST(op);
  ------------------
  |  | 3416|      2|#define _striterobject_CAST(op)  ((striterobject *)(op))
  ------------------
 3422|      2|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  507|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3423|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3424|      2|    PyObject_GC_Del(it);
 3425|      2|}
bytesobject.c:bytes_iter:
 3549|      2|{
 3550|      2|    striterobject *it;
 3551|       |
 3552|      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 (3552:9): [True: 0, False: 2]
  ------------------
 3553|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3554|      0|        return NULL;
 3555|      0|    }
 3556|      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))
  |  |  ------------------
  ------------------
 3557|      2|    if (it == NULL)
  ------------------
  |  Branch (3557:9): [True: 0, False: 2]
  ------------------
 3558|      0|        return NULL;
 3559|      2|    it->it_index = 0;
 3560|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3561|      2|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  505|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3562|      2|    return (PyObject *)it;
 3563|      2|}
bytesobject.c:byteswriter_create:
 3690|  76.4k|{
 3691|  76.4k|    if (size < 0) {
  ------------------
  |  Branch (3691:9): [True: 0, False: 76.4k]
  ------------------
 3692|      0|        PyErr_SetString(PyExc_ValueError, "size must be >= 0");
 3693|      0|        return NULL;
 3694|      0|    }
 3695|       |
 3696|  76.4k|    PyBytesWriter *writer = _Py_FREELIST_POP_MEM(bytes_writers);
  ------------------
  |  |   48|  76.4k|    _PyFreeList_PopMem(&_Py_freelists_GET()->NAME)
  ------------------
 3697|  76.4k|    if (writer == NULL) {
  ------------------
  |  Branch (3697:9): [True: 9, False: 76.4k]
  ------------------
 3698|      9|        writer = (PyBytesWriter *)PyMem_Malloc(sizeof(PyBytesWriter));
 3699|      9|        if (writer == NULL) {
  ------------------
  |  Branch (3699:13): [True: 0, False: 9]
  ------------------
 3700|      0|            PyErr_NoMemory();
 3701|      0|            return NULL;
 3702|      0|        }
 3703|      9|    }
 3704|  76.4k|    writer->obj = NULL;
 3705|  76.4k|    writer->size = 0;
 3706|  76.4k|    writer->use_bytearray = use_bytearray;
 3707|  76.4k|    writer->overallocate = !use_bytearray;
 3708|       |
 3709|  76.4k|    if (size >= 1) {
  ------------------
  |  Branch (3709:9): [True: 75.6k, False: 725]
  ------------------
 3710|  75.6k|        if (byteswriter_resize(writer, size, 0) < 0) {
  ------------------
  |  Branch (3710:13): [True: 0, False: 75.6k]
  ------------------
 3711|      0|            PyBytesWriter_Discard(writer);
 3712|      0|            return NULL;
 3713|      0|        }
 3714|  75.6k|        writer->size = size;
 3715|  75.6k|    }
 3716|       |#ifdef Py_DEBUG
 3717|       |    memset(byteswriter_data(writer), 0xff, byteswriter_allocated(writer));
 3718|       |#endif
 3719|  76.4k|    return writer;
 3720|  76.4k|}
bytesobject.c:byteswriter_data:
 3594|  96.9k|{
 3595|  96.9k|    return _PyBytesWriter_GetData(writer);
 3596|  96.9k|}
bytesobject.c:byteswriter_allocated:
 3601|  85.0k|{
 3602|  85.0k|    if (writer->obj == NULL) {
  ------------------
  |  Branch (3602:9): [True: 81.8k, False: 3.22k]
  ------------------
 3603|  81.8k|        return sizeof(writer->small_buffer);
 3604|  81.8k|    }
 3605|  3.22k|    else if (writer->use_bytearray) {
  ------------------
  |  Branch (3605:14): [True: 0, False: 3.22k]
  ------------------
 3606|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3607|      0|    }
 3608|  3.22k|    else {
 3609|  3.22k|        return PyBytes_GET_SIZE(writer->obj);
  ------------------
  |  |   33|  3.22k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  3.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3610|  3.22k|    }
 3611|  85.0k|}
bytesobject.c:byteswriter_resize:
 3624|  75.7k|{
 3625|  75.7k|    assert(size >= 0);
  ------------------
  |  Branch (3625:5): [True: 75.7k, False: 0]
  ------------------
 3626|       |
 3627|  75.7k|    Py_ssize_t old_allocated = byteswriter_allocated(writer);
 3628|  75.7k|    if (size <= old_allocated) {
  ------------------
  |  Branch (3628:9): [True: 69.0k, False: 6.61k]
  ------------------
 3629|  69.0k|        return 0;
 3630|  69.0k|    }
 3631|       |
 3632|  6.61k|    if (resize & writer->overallocate) {
  ------------------
  |  Branch (3632:9): [True: 0, False: 6.61k]
  ------------------
 3633|      0|        if (size <= (PY_SSIZE_T_MAX - size / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                      if (size <= (PY_SSIZE_T_MAX - size / OVERALLOCATE_FACTOR)) {
  ------------------
  |  | 3619|      0|#  define OVERALLOCATE_FACTOR 4
  ------------------
  |  Branch (3633:13): [True: 0, False: 0]
  ------------------
 3634|      0|            size += size / OVERALLOCATE_FACTOR;
  ------------------
  |  | 3619|      0|#  define OVERALLOCATE_FACTOR 4
  ------------------
 3635|      0|        }
 3636|      0|    }
 3637|       |
 3638|  6.61k|    if (writer->obj != NULL) {
  ------------------
  |  Branch (3638:9): [True: 0, False: 6.61k]
  ------------------
 3639|      0|        if (writer->use_bytearray) {
  ------------------
  |  Branch (3639:13): [True: 0, False: 0]
  ------------------
 3640|      0|            if (PyByteArray_Resize(writer->obj, size)) {
  ------------------
  |  Branch (3640:17): [True: 0, False: 0]
  ------------------
 3641|      0|                return -1;
 3642|      0|            }
 3643|      0|        }
 3644|      0|        else {
 3645|      0|            if (_PyBytes_Resize(&writer->obj, size)) {
  ------------------
  |  Branch (3645:17): [True: 0, False: 0]
  ------------------
 3646|      0|                return -1;
 3647|      0|            }
 3648|      0|        }
 3649|      0|        assert(writer->obj != NULL);
  ------------------
  |  Branch (3649:9): [True: 0, False: 0]
  ------------------
 3650|      0|    }
 3651|  6.61k|    else if (writer->use_bytearray) {
  ------------------
  |  Branch (3651:14): [True: 0, False: 6.61k]
  ------------------
 3652|      0|        writer->obj = PyByteArray_FromStringAndSize(NULL, size);
 3653|      0|        if (writer->obj == NULL) {
  ------------------
  |  Branch (3653:13): [True: 0, False: 0]
  ------------------
 3654|      0|            return -1;
 3655|      0|        }
 3656|      0|        if (resize) {
  ------------------
  |  Branch (3656:13): [True: 0, False: 0]
  ------------------
 3657|      0|            assert((size_t)size > sizeof(writer->small_buffer));
  ------------------
  |  Branch (3657:13): [True: 0, False: 0]
  ------------------
 3658|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3659|      0|                   writer->small_buffer,
 3660|      0|                   sizeof(writer->small_buffer));
 3661|      0|        }
 3662|      0|    }
 3663|  6.61k|    else {
 3664|  6.61k|        writer->obj = PyBytes_FromStringAndSize(NULL, size);
 3665|  6.61k|        if (writer->obj == NULL) {
  ------------------
  |  Branch (3665:13): [True: 0, False: 6.61k]
  ------------------
 3666|      0|            return -1;
 3667|      0|        }
 3668|  6.61k|        if (resize) {
  ------------------
  |  Branch (3668:13): [True: 0, False: 6.61k]
  ------------------
 3669|      0|            assert((size_t)size > sizeof(writer->small_buffer));
  ------------------
  |  Branch (3669:13): [True: 0, False: 0]
  ------------------
 3670|      0|            memcpy(PyBytes_AS_STRING(writer->obj),
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3671|      0|                   writer->small_buffer,
 3672|      0|                   sizeof(writer->small_buffer));
 3673|      0|        }
 3674|  6.61k|    }
 3675|       |
 3676|       |#ifdef Py_DEBUG
 3677|       |    Py_ssize_t allocated = byteswriter_allocated(writer);
 3678|       |    if (resize && allocated > old_allocated) {
 3679|       |        memset(byteswriter_data(writer) + old_allocated, 0xff,
 3680|       |               allocated - old_allocated);
 3681|       |    }
 3682|       |#endif
 3683|       |
 3684|  6.61k|    return 0;
 3685|  6.61k|}

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

PyCapsule_New:
   62|  42.8k|{
   63|  42.8k|    PyCapsule *capsule;
   64|       |
   65|  42.8k|    if (!pointer) {
  ------------------
  |  Branch (65:9): [True: 0, False: 42.8k]
  ------------------
   66|      0|        PyErr_SetString(PyExc_ValueError, "PyCapsule_New called with null pointer");
   67|      0|        return NULL;
   68|      0|    }
   69|       |
   70|  42.8k|    capsule = PyObject_GC_New(PyCapsule, &PyCapsule_Type);
  ------------------
  |  |  181|  42.8k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  42.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   71|  42.8k|    if (capsule == NULL) {
  ------------------
  |  Branch (71:9): [True: 0, False: 42.8k]
  ------------------
   72|      0|        return NULL;
   73|      0|    }
   74|       |
   75|  42.8k|    capsule->pointer = pointer;
   76|  42.8k|    capsule->name = name;
   77|  42.8k|    capsule->context = NULL;
   78|  42.8k|    capsule->destructor = destructor;
   79|  42.8k|    capsule->traverse_func = NULL;
   80|  42.8k|    capsule->clear_func = NULL;
   81|       |    // Only track the object by the GC when _PyCapsule_SetTraverse() is called
   82|       |
   83|  42.8k|    return (PyObject *)capsule;
   84|  42.8k|}
PyCapsule_IsValid:
   89|     13|{
   90|     13|    PyCapsule *capsule = (PyCapsule *)op;
   91|       |
   92|     13|    return (capsule != NULL &&
  ------------------
  |  Branch (92:13): [True: 13, False: 0]
  ------------------
   93|     13|            PyCapsule_CheckExact(capsule) &&
  ------------------
  |  |   25|     13|#define PyCapsule_CheckExact(op) Py_IS_TYPE((op), &PyCapsule_Type)
  |  |  ------------------
  |  |  |  |  215|     26|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 13, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   94|     13|            capsule->pointer != NULL &&
  ------------------
  |  Branch (94:13): [True: 13, False: 0]
  ------------------
   95|     13|            name_matches(capsule->name, name));
  ------------------
  |  Branch (95:13): [True: 13, False: 0]
  ------------------
   96|     13|}
PyCapsule_GetPointer:
  101|  62.4k|{
  102|  62.4k|    if (!is_legal_capsule(op, "PyCapsule_GetPointer")) {
  ------------------
  |  |   44|  62.4k|    (_is_legal_capsule(capsule, \
  |  |   45|  62.4k|     name " called with invalid PyCapsule object"))
  ------------------
  |  Branch (102:9): [True: 0, False: 62.4k]
  ------------------
  103|      0|        return NULL;
  104|      0|    }
  105|  62.4k|    PyCapsule *capsule = (PyCapsule *)op;
  106|       |
  107|  62.4k|    if (!name_matches(name, capsule->name)) {
  ------------------
  |  Branch (107:9): [True: 0, False: 62.4k]
  ------------------
  108|      0|        PyErr_SetString(PyExc_ValueError, "PyCapsule_GetPointer called with incorrect name");
  109|      0|        return NULL;
  110|      0|    }
  111|       |
  112|  62.4k|    return capsule->pointer;
  113|  62.4k|}
PyCapsule_Import:
  232|      1|{
  233|      1|    PyObject *object = NULL;
  234|      1|    void *return_value = NULL;
  235|      1|    char *name_dup = _PyMem_Strdup(name);
  236|       |
  237|      1|    if (!name_dup) {
  ------------------
  |  Branch (237:9): [True: 0, False: 1]
  ------------------
  238|      0|        return PyErr_NoMemory();
  239|      0|    }
  240|       |
  241|      1|    char *trace = name_dup;
  242|      2|    while (1) {
  ------------------
  |  Branch (242:12): [True: 2, Folded]
  ------------------
  243|      2|        char *dot = strchr(trace, '.');
  244|      2|        if (dot) {
  ------------------
  |  Branch (244:13): [True: 1, False: 1]
  ------------------
  245|      1|            *dot = '\0';
  246|      1|        }
  247|      2|        if (object) {
  ------------------
  |  Branch (247:13): [True: 1, False: 1]
  ------------------
  248|      1|            PyObject *attr;
  249|      1|            if (PyObject_GetOptionalAttrString(object, trace, &attr) < 0) {
  ------------------
  |  Branch (249:17): [True: 0, False: 1]
  ------------------
  250|      0|                Py_CLEAR(object);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  251|      0|                break;
  252|      0|            }
  253|      1|            Py_SETREF(object, attr);
  ------------------
  |  |  354|      1|    do { \
  |  |  355|      1|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      1|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      1|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  254|      1|        }
  255|      2|        if (!dot) {
  ------------------
  |  Branch (255:13): [True: 1, False: 1]
  ------------------
  256|       |            // We are done
  257|      1|            break;
  258|      1|        }
  259|       |
  260|      1|        if (!object) {
  ------------------
  |  Branch (260:13): [True: 1, False: 0]
  ------------------
  261|      1|            object = PyImport_ImportModule(name_dup);
  262|      1|            if (!object) {
  ------------------
  |  Branch (262:17): [True: 0, False: 1]
  ------------------
  263|      0|                break;
  264|      0|            }
  265|      1|        }
  266|      1|        *dot = '.';
  267|      1|        trace = dot + 1;
  268|      1|    }
  269|       |
  270|       |    /* compare attribute name to module.name by hand */
  271|      1|    if (PyCapsule_IsValid(object, name)) {
  ------------------
  |  Branch (271:9): [True: 1, False: 0]
  ------------------
  272|      1|        PyCapsule *capsule = (PyCapsule *)object;
  273|      1|        return_value = capsule->pointer;
  274|      1|    }
  275|      0|    else if (!PyErr_Occurred()) {
  ------------------
  |  Branch (275:14): [True: 0, False: 0]
  ------------------
  276|      0|        PyErr_Format(PyExc_AttributeError,
  277|      0|            "PyCapsule_Import \"%s\" is not valid",
  278|      0|            name);
  279|      0|    }
  280|       |
  281|      1|    Py_XDECREF(object);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  282|      1|    PyMem_Free(name_dup);
  283|      1|    return return_value;
  284|      1|}
capsule.c:name_matches:
   49|  62.4k|name_matches(const char *name1, const char *name2) {
   50|       |    /* if either is NULL, */
   51|  62.4k|    if (!name1 || !name2) {
  ------------------
  |  Branch (51:9): [True: 0, False: 62.4k]
  |  Branch (51:19): [True: 0, False: 62.4k]
  ------------------
   52|       |        /* they're only the same if they're both NULL. */
   53|      0|        return name1 == name2;
   54|      0|    }
   55|  62.4k|    return !strcmp(name1, name2);
   56|  62.4k|}
capsule.c:_is_legal_capsule:
   27|  62.4k|{
   28|  62.4k|    if (!op || !PyCapsule_CheckExact(op)) {
  ------------------
  |  |   25|  62.4k|#define PyCapsule_CheckExact(op) Py_IS_TYPE((op), &PyCapsule_Type)
  |  |  ------------------
  |  |  |  |  215|  62.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  62.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  62.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (28:9): [True: 0, False: 62.4k]
  |  Branch (28:16): [True: 0, False: 62.4k]
  ------------------
   29|      0|        goto error;
   30|      0|    }
   31|  62.4k|    PyCapsule *capsule = (PyCapsule *)op;
   32|       |
   33|  62.4k|    if (capsule->pointer == NULL) {
  ------------------
  |  Branch (33:9): [True: 0, False: 62.4k]
  ------------------
   34|      0|        goto error;
   35|      0|    }
   36|  62.4k|    return 1;
   37|       |
   38|      0|error:
   39|      0|    PyErr_SetString(PyExc_ValueError, invalid_capsule);
   40|      0|    return 0;
   41|  62.4k|}
capsule.c:capsule_dealloc:
  289|  42.8k|{
  290|  42.8k|    PyCapsule *capsule = _PyCapsule_CAST(op);
  ------------------
  |  |   22|  42.8k|#define _PyCapsule_CAST(op)     ((PyCapsule *)(op))
  ------------------
  291|  42.8k|    PyObject_GC_UnTrack(op);
  292|  42.8k|    if (capsule->destructor) {
  ------------------
  |  Branch (292:9): [True: 12, False: 42.8k]
  ------------------
  293|     12|        capsule->destructor(op);
  294|     12|    }
  295|  42.8k|    PyObject_GC_Del(op);
  296|  42.8k|}

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

PyMethod_New:
   66|  2.38k|{
   67|  2.38k|    if (self == NULL) {
  ------------------
  |  Branch (67:9): [True: 0, False: 2.38k]
  ------------------
   68|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   69|      0|        return NULL;
   70|      0|    }
   71|  2.38k|    PyMethodObject *im = _Py_FREELIST_POP(PyMethodObject, pymethodobjects);
  ------------------
  |  |   43|  2.38k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  2.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   72|  2.38k|    if (im == NULL) {
  ------------------
  |  Branch (72:9): [True: 157, False: 2.23k]
  ------------------
   73|    157|        im = PyObject_GC_New(PyMethodObject, &PyMethod_Type);
  ------------------
  |  |  181|    157|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    157|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   74|    157|        if (im == NULL) {
  ------------------
  |  Branch (74:13): [True: 0, False: 157]
  ------------------
   75|      0|            return NULL;
   76|      0|        }
   77|    157|    }
   78|  2.38k|    im->im_weakreflist = NULL;
   79|  2.38k|    im->im_func = Py_NewRef(func);
  ------------------
  |  |  550|  2.38k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   80|  2.38k|    im->im_self = Py_NewRef(self);
  ------------------
  |  |  550|  2.38k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   81|  2.38k|    im->vectorcall = method_vectorcall;
   82|  2.38k|    _PyObject_GC_TRACK(im);
  ------------------
  |  |  505|  2.38k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   83|  2.38k|    return (PyObject *)im;
   84|  2.38k|}
classobject.c:method_vectorcall:
   49|  39.0k|{
   50|  39.0k|    assert(Py_IS_TYPE(method, &PyMethod_Type));
  ------------------
  |  Branch (50:5): [True: 39.0k, False: 0]
  ------------------
   51|       |
   52|  39.0k|    PyThreadState *tstate = _PyThreadState_GET();
   53|  39.0k|    PyObject *self = PyMethod_GET_SELF(method);
  ------------------
  |  |   42|  39.0k|#define PyMethod_GET_SELF(meth) PyMethod_GET_SELF(_PyObject_CAST(meth))
  |  |  ------------------
  |  |  |  |  171|  39.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   54|  39.0k|    PyObject *func = PyMethod_GET_FUNCTION(method);
  ------------------
  |  |   37|  39.0k|#define PyMethod_GET_FUNCTION(meth) PyMethod_GET_FUNCTION(_PyObject_CAST(meth))
  |  |  ------------------
  |  |  |  |  171|  39.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   55|  39.0k|    return _PyObject_VectorcallPrepend(tstate, func, self, args, nargsf, kwnames);
   56|  39.0k|}
classobject.c:method_dealloc:
  214|  2.25k|{
  215|  2.25k|    PyMethodObject *im = _PyMethodObject_CAST(self);
  ------------------
  |  |   16|  2.25k|#define _PyMethodObject_CAST(op) _Py_CAST(PyMethodObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  2.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  216|  2.25k|    _PyObject_GC_UNTRACK(im);
  ------------------
  |  |  507|  2.25k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  217|  2.25k|    FT_CLEAR_WEAKREFS(self, im->im_weakreflist);
  ------------------
  |  |   47|  2.25k|    do {                                            \
  |  |   48|  2.25k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  2.25k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 2.25k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  2.25k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 2.25k]
  |  |  ------------------
  ------------------
  |  Branch (217:5): [True: 2.25k, False: 0]
  ------------------
  218|  2.25k|    Py_DECREF(im->im_func);
  ------------------
  |  |  430|  2.25k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  219|  2.25k|    Py_XDECREF(im->im_self);
  ------------------
  |  |  524|  2.25k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  220|  2.25k|    assert(Py_IS_TYPE(self, &PyMethod_Type));
  ------------------
  |  Branch (220:5): [True: 2.25k, False: 0]
  ------------------
  221|  2.25k|    _Py_FREELIST_FREE(pymethodobjects, (PyObject *)im, PyObject_GC_Del);
  ------------------
  |  |   35|  2.25k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  2.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  2.25k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   33|  2.25k|#  define Py_pymethodobjects_MAXFREELIST 20
  |  |  ------------------
  ------------------
  222|  2.25k|}
classobject.c:method_traverse:
  299|  2.39k|{
  300|  2.39k|    PyMethodObject *im = _PyMethodObject_CAST(self);
  ------------------
  |  |   16|  2.39k|#define _PyMethodObject_CAST(op) _Py_CAST(PyMethodObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  301|  2.39k|    Py_VISIT(im->im_func);
  ------------------
  |  |  194|  2.39k|    do {                                                                \
  |  |  195|  2.39k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.39k, False: 0]
  |  |  ------------------
  |  |  196|  2.39k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.39k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.39k]
  |  |  ------------------
  |  |  198|  2.39k|                return vret;                                            \
  |  |  199|  2.39k|        }                                                               \
  |  |  200|  2.39k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.39k]
  |  |  ------------------
  ------------------
  302|  2.39k|    Py_VISIT(im->im_self);
  ------------------
  |  |  194|  2.39k|    do {                                                                \
  |  |  195|  2.39k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.39k, False: 0]
  |  |  ------------------
  |  |  196|  2.39k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.39k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.39k]
  |  |  ------------------
  |  |  198|  2.39k|                return vret;                                            \
  |  |  199|  2.39k|        }                                                               \
  |  |  200|  2.39k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.39k]
  |  |  ------------------
  ------------------
  303|  2.39k|    return 0;
  304|  2.39k|}
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_append:
 1240|   387k|{
 1241|   387k|    PyObject *return_value = NULL;
 1242|   387k|    int item;
 1243|       |
 1244|   387k|    if (!_getbytevalue(arg, &item)) {
  ------------------
  |  Branch (1244:9): [True: 0, False: 387k]
  ------------------
 1245|      0|        goto exit;
 1246|      0|    }
 1247|   387k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|   387k|    {
  ------------------
 1248|   387k|    return_value = bytearray_append_impl((PyByteArrayObject *)self, item);
 1249|   387k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   387k|    }
  ------------------
 1250|       |
 1251|   387k|exit:
 1252|   387k|    return return_value;
 1253|   387k|}
bytearrayobject.c:bytearray_extend:
 1272|   203k|{
 1273|   203k|    PyObject *return_value = NULL;
 1274|       |
 1275|   203k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|   203k|    {
  ------------------
 1276|   203k|    return_value = bytearray_extend_impl((PyByteArrayObject *)self, iterable_of_ints);
 1277|   203k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   203k|    }
  ------------------
 1278|       |
 1279|   203k|    return return_value;
 1280|   203k|}
bytearrayobject.c:bytearray_find:
  130|     78|{
  131|     78|    PyObject *return_value = NULL;
  132|     78|    PyObject *sub;
  133|     78|    Py_ssize_t start = 0;
  134|     78|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|     78|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  135|       |
  136|     78|    if (!_PyArg_CheckPositional("find", nargs, 1, 3)) {
  ------------------
  |  |   31|     78|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 78, False: 0]
  |  |  |  Branch (31:27): [True: 78, False: 0]
  |  |  ------------------
  |  |   32|     78|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  137|      0|        goto exit;
  138|      0|    }
  139|     78|    sub = args[0];
  140|     78|    if (nargs < 2) {
  ------------------
  |  Branch (140:9): [True: 0, False: 78]
  ------------------
  141|      0|        goto skip_optional;
  142|      0|    }
  143|     78|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (143:9): [True: 0, False: 78]
  ------------------
  144|      0|        goto exit;
  145|      0|    }
  146|     78|    if (nargs < 3) {
  ------------------
  |  Branch (146:9): [True: 78, False: 0]
  ------------------
  147|     78|        goto skip_optional;
  148|     78|    }
  149|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (149:9): [True: 0, False: 0]
  ------------------
  150|      0|        goto exit;
  151|      0|    }
  152|     78|skip_optional:
  153|     78|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     78|    {
  ------------------
  154|     78|    return_value = bytearray_find_impl((PyByteArrayObject *)self, sub, start, end);
  155|     78|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     78|    }
  ------------------
  156|       |
  157|     78|exit:
  158|     78|    return return_value;
  159|     78|}
bytearrayobject.c:bytearray_take_bytes:
  653|   238k|{
  654|   238k|    PyObject *return_value = NULL;
  655|   238k|    PyObject *n = Py_None;
  ------------------
  |  |  616|   238k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  656|       |
  657|   238k|    if (!_PyArg_CheckPositional("take_bytes", nargs, 0, 1)) {
  ------------------
  |  |   31|   238k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 238k, False: 0]
  |  |  |  Branch (31:27): [True: 238k, False: 0]
  |  |  ------------------
  |  |   32|   238k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  658|      0|        goto exit;
  659|      0|    }
  660|   238k|    if (nargs < 1) {
  ------------------
  |  Branch (660:9): [True: 238k, False: 0]
  ------------------
  661|   238k|        goto skip_optional;
  662|   238k|    }
  663|      0|    n = args[0];
  664|   238k|skip_optional:
  665|   238k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|   238k|    {
  ------------------
  666|   238k|    return_value = bytearray_take_bytes_impl((PyByteArrayObject *)self, n);
  667|   238k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   238k|    }
  ------------------
  668|       |
  669|   238k|exit:
  670|   238k|    return return_value;
  671|   238k|}
bytearrayobject.c:bytearray_translate:
  695|      7|{
  696|      7|    PyObject *return_value = NULL;
  697|      7|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  698|       |
  699|      7|    #define NUM_KEYWORDS 1
  700|      7|    static struct {
  701|      7|        PyGC_Head _this_is_not_used;
  702|      7|        PyObject_VAR_HEAD
  703|      7|        Py_hash_t ob_hash;
  704|      7|        PyObject *ob_item[NUM_KEYWORDS];
  705|      7|    } _kwtuple = {
  706|      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|    },
  ------------------
  707|      7|        .ob_hash = -1,
  708|      7|        .ob_item = { &_Py_ID(delete), },
  ------------------
  |  |  921|      7|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      7|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      7|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  709|      7|    };
  710|      7|    #undef NUM_KEYWORDS
  711|      7|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  712|       |
  713|       |    #else  // !Py_BUILD_CORE
  714|       |    #  define KWTUPLE NULL
  715|       |    #endif  // !Py_BUILD_CORE
  716|       |
  717|      7|    static const char * const _keywords[] = {"", "delete", NULL};
  718|      7|    static _PyArg_Parser _parser = {
  719|      7|        .keywords = _keywords,
  720|      7|        .fname = "translate",
  721|      7|        .kwtuple = KWTUPLE,
  ------------------
  |  |  711|      7|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  722|      7|    };
  723|      7|    #undef KWTUPLE
  724|      7|    PyObject *argsbuf[2];
  725|      7|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (725:36): [True: 0, False: 7]
  ------------------
  726|      7|    PyObject *table;
  727|      7|    PyObject *deletechars = NULL;
  728|       |
  729|      7|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      7|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 7, False: 0]
  |  |  ------------------
  |  |   89|      7|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 7, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 7]
  |  |  |  Branch (89:43): [True: 7, False: 0]
  |  |  |  Branch (89:67): [True: 7, False: 0]
  |  |  ------------------
  |  |   90|      7|      (args) : \
  |  |   91|      7|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  730|      7|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  731|      7|    if (!args) {
  ------------------
  |  Branch (731:9): [True: 0, False: 7]
  ------------------
  732|      0|        goto exit;
  733|      0|    }
  734|      7|    table = args[0];
  735|      7|    if (!noptargs) {
  ------------------
  |  Branch (735:9): [True: 7, False: 0]
  ------------------
  736|      7|        goto skip_optional_pos;
  737|      7|    }
  738|      0|    deletechars = args[1];
  739|      7|skip_optional_pos:
  740|      7|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      7|    {
  ------------------
  741|      7|    return_value = bytearray_translate_impl((PyByteArrayObject *)self, table, deletechars);
  742|      7|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      7|    }
  ------------------
  743|       |
  744|      7|exit:
  745|      7|    return return_value;
  746|      7|}
bytearrayobject.c:bytearray___init__:
   19|   238k|{
   20|   238k|    int return_value = -1;
   21|   238k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   22|       |
   23|   238k|    #define NUM_KEYWORDS 3
   24|   238k|    static struct {
   25|   238k|        PyGC_Head _this_is_not_used;
   26|   238k|        PyObject_VAR_HEAD
   27|   238k|        Py_hash_t ob_hash;
   28|   238k|        PyObject *ob_item[NUM_KEYWORDS];
   29|   238k|    } _kwtuple = {
   30|   238k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|   238k|    {                                     \
  |  |   98|   238k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|   238k|    {                               \
  |  |  |  |   91|   238k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|   238k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|   238k|#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|   238k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|   238k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|   238k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|   238k|        (type)                      \
  |  |  |  |   93|   238k|    },
  |  |  ------------------
  |  |   99|   238k|        (size)                            \
  |  |  100|   238k|    },
  ------------------
   31|   238k|        .ob_hash = -1,
   32|   238k|        .ob_item = { &_Py_ID(source), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  921|   238k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   238k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   238k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  921|   238k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   238k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   238k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  921|   238k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   238k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   238k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   33|   238k|    };
   34|   238k|    #undef NUM_KEYWORDS
   35|   238k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   36|       |
   37|       |    #else  // !Py_BUILD_CORE
   38|       |    #  define KWTUPLE NULL
   39|       |    #endif  // !Py_BUILD_CORE
   40|       |
   41|   238k|    static const char * const _keywords[] = {"source", "encoding", "errors", NULL};
   42|   238k|    static _PyArg_Parser _parser = {
   43|   238k|        .keywords = _keywords,
   44|   238k|        .fname = "bytearray",
   45|   238k|        .kwtuple = KWTUPLE,
  ------------------
  |  |   35|   238k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   46|   238k|    };
   47|   238k|    #undef KWTUPLE
   48|   238k|    PyObject *argsbuf[3];
   49|   238k|    PyObject * const *fastargs;
   50|   238k|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|   238k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   238k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   238k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|   238k|    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: 238k]
  ------------------
   52|   238k|    PyObject *arg = NULL;
   53|   238k|    const char *encoding = NULL;
   54|   238k|    const char *errors = NULL;
   55|       |
   56|   238k|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|   238k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 238k, Folded]
  |  |  |  Branch (88:23): [True: 238k, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|   477k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 238k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 238k]
  |  |  |  Branch (89:43): [True: 238k, False: 0]
  |  |  |  Branch (89:67): [True: 238k, False: 0]
  |  |  |  Branch (89:68): [True: 238k, False: 0]
  |  |  ------------------
  |  |   90|   477k|      (args) : \
  |  |  ------------------
  |  |  |  Branch (90:8): [True: 238k, False: 0]
  |  |  ------------------
  |  |   91|   238k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (91:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   57|   238k|            /*minpos*/ 0, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   58|   238k|    if (!fastargs) {
  ------------------
  |  Branch (58:9): [True: 0, False: 238k]
  ------------------
   59|      0|        goto exit;
   60|      0|    }
   61|   238k|    if (!noptargs) {
  ------------------
  |  Branch (61:9): [True: 238k, False: 18]
  ------------------
   62|   238k|        goto skip_optional_pos;
   63|   238k|    }
   64|     18|    if (fastargs[0]) {
  ------------------
  |  Branch (64:9): [True: 18, False: 0]
  ------------------
   65|     18|        arg = fastargs[0];
   66|     18|        if (!--noptargs) {
  ------------------
  |  Branch (66:13): [True: 18, False: 0]
  ------------------
   67|     18|            goto skip_optional_pos;
   68|     18|        }
   69|     18|    }
   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|   238k|skip_optional_pos:
  102|   238k|    return_value = bytearray___init___impl((PyByteArrayObject *)self, arg, encoding, errors);
  103|       |
  104|   238k|exit:
  105|   238k|    return return_value;
  106|   238k|}

bytesobject.c:bytes_decode:
 1092|  18.2k|{
 1093|  18.2k|    PyObject *return_value = NULL;
 1094|  18.2k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1095|       |
 1096|  18.2k|    #define NUM_KEYWORDS 2
 1097|  18.2k|    static struct {
 1098|  18.2k|        PyGC_Head _this_is_not_used;
 1099|  18.2k|        PyObject_VAR_HEAD
 1100|  18.2k|        Py_hash_t ob_hash;
 1101|  18.2k|        PyObject *ob_item[NUM_KEYWORDS];
 1102|  18.2k|    } _kwtuple = {
 1103|  18.2k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  18.2k|    {                                     \
  |  |   98|  18.2k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  18.2k|    {                               \
  |  |  |  |   91|  18.2k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  18.2k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  18.2k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|  18.2k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  18.2k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  18.2k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  18.2k|        (type)                      \
  |  |  |  |   93|  18.2k|    },
  |  |  ------------------
  |  |   99|  18.2k|        (size)                            \
  |  |  100|  18.2k|    },
  ------------------
 1104|  18.2k|        .ob_hash = -1,
 1105|  18.2k|        .ob_item = { &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  921|  18.2k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  18.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  18.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  921|  18.2k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  18.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  18.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1106|  18.2k|    };
 1107|  18.2k|    #undef NUM_KEYWORDS
 1108|  18.2k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1109|       |
 1110|       |    #else  // !Py_BUILD_CORE
 1111|       |    #  define KWTUPLE NULL
 1112|       |    #endif  // !Py_BUILD_CORE
 1113|       |
 1114|  18.2k|    static const char * const _keywords[] = {"encoding", "errors", NULL};
 1115|  18.2k|    static _PyArg_Parser _parser = {
 1116|  18.2k|        .keywords = _keywords,
 1117|  18.2k|        .fname = "decode",
 1118|  18.2k|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1108|  18.2k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1119|  18.2k|    };
 1120|  18.2k|    #undef KWTUPLE
 1121|  18.2k|    PyObject *argsbuf[2];
 1122|  18.2k|    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: 18.2k]
  ------------------
 1123|  18.2k|    const char *encoding = NULL;
 1124|  18.2k|    const char *errors = NULL;
 1125|       |
 1126|  18.2k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  18.2k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 18.2k, False: 0]
  |  |  ------------------
  |  |   89|  18.2k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 18.2k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 18.2k]
  |  |  |  Branch (89:43): [True: 18.2k, False: 0]
  |  |  |  Branch (89:67): [True: 18.2k, False: 0]
  |  |  ------------------
  |  |   90|  18.2k|      (args) : \
  |  |   91|  18.2k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1127|  18.2k|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1128|  18.2k|    if (!args) {
  ------------------
  |  Branch (1128:9): [True: 0, False: 18.2k]
  ------------------
 1129|      0|        goto exit;
 1130|      0|    }
 1131|  18.2k|    if (!noptargs) {
  ------------------
  |  Branch (1131:9): [True: 0, False: 18.2k]
  ------------------
 1132|      0|        goto skip_optional_pos;
 1133|      0|    }
 1134|  18.2k|    if (args[0]) {
  ------------------
  |  Branch (1134:9): [True: 18.2k, False: 0]
  ------------------
 1135|  18.2k|        if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|  18.2k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  18.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1135:13): [True: 0, False: 18.2k]
  ------------------
 1136|      0|            _PyArg_BadArgument("decode", "argument 'encoding'", "str", args[0]);
 1137|      0|            goto exit;
 1138|      0|        }
 1139|  18.2k|        Py_ssize_t encoding_length;
 1140|  18.2k|        encoding = PyUnicode_AsUTF8AndSize(args[0], &encoding_length);
 1141|  18.2k|        if (encoding == NULL) {
  ------------------
  |  Branch (1141:13): [True: 0, False: 18.2k]
  ------------------
 1142|      0|            goto exit;
 1143|      0|        }
 1144|  18.2k|        if (strlen(encoding) != (size_t)encoding_length) {
  ------------------
  |  Branch (1144:13): [True: 0, False: 18.2k]
  ------------------
 1145|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
 1146|      0|            goto exit;
 1147|      0|        }
 1148|  18.2k|        if (!--noptargs) {
  ------------------
  |  Branch (1148:13): [True: 18.2k, False: 4]
  ------------------
 1149|  18.2k|            goto skip_optional_pos;
 1150|  18.2k|        }
 1151|  18.2k|    }
 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|  18.2k|skip_optional_pos:
 1166|  18.2k|    return_value = bytes_decode_impl((PyBytesObject *)self, encoding, errors);
 1167|       |
 1168|  18.2k|exit:
 1169|  18.2k|    return return_value;
 1170|  18.2k|}
bytesobject.c:bytes_replace:
  817|     10|{
  818|     10|    PyObject *return_value = NULL;
  819|     10|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  820|       |
  821|     10|    #define NUM_KEYWORDS 1
  822|     10|    static struct {
  823|     10|        PyGC_Head _this_is_not_used;
  824|     10|        PyObject_VAR_HEAD
  825|     10|        Py_hash_t ob_hash;
  826|     10|        PyObject *ob_item[NUM_KEYWORDS];
  827|     10|    } _kwtuple = {
  828|     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|    },
  ------------------
  829|     10|        .ob_hash = -1,
  830|     10|        .ob_item = { &_Py_ID(count), },
  ------------------
  |  |  921|     10|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     10|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     10|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  831|     10|    };
  832|     10|    #undef NUM_KEYWORDS
  833|     10|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  834|       |
  835|       |    #else  // !Py_BUILD_CORE
  836|       |    #  define KWTUPLE NULL
  837|       |    #endif  // !Py_BUILD_CORE
  838|       |
  839|     10|    static const char * const _keywords[] = {"", "", "count", NULL};
  840|     10|    static _PyArg_Parser _parser = {
  841|     10|        .keywords = _keywords,
  842|     10|        .fname = "replace",
  843|     10|        .kwtuple = KWTUPLE,
  ------------------
  |  |  833|     10|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  844|     10|    };
  845|     10|    #undef KWTUPLE
  846|     10|    PyObject *argsbuf[3];
  847|     10|    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: 10]
  ------------------
  848|     10|    Py_buffer old = {NULL, NULL};
  849|     10|    Py_buffer new = {NULL, NULL};
  850|     10|    Py_ssize_t count = -1;
  851|       |
  852|     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)))
  ------------------
  853|     10|            /*minpos*/ 2, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  854|     10|    if (!args) {
  ------------------
  |  Branch (854:9): [True: 0, False: 10]
  ------------------
  855|      0|        goto exit;
  856|      0|    }
  857|     10|    if (PyObject_GetBuffer(args[0], &old, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     10|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (857:9): [True: 0, False: 10]
  ------------------
  858|      0|        goto exit;
  859|      0|    }
  860|     10|    if (PyObject_GetBuffer(args[1], &new, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     10|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (860:9): [True: 0, False: 10]
  ------------------
  861|      0|        goto exit;
  862|      0|    }
  863|     10|    if (!noptargs) {
  ------------------
  |  Branch (863:9): [True: 10, False: 0]
  ------------------
  864|     10|        goto skip_optional_pos;
  865|     10|    }
  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|     10|skip_optional_pos:
  879|     10|    return_value = bytes_replace_impl((PyBytesObject *)self, &old, &new, count);
  880|       |
  881|     10|exit:
  882|       |    /* Cleanup for old */
  883|     10|    if (old.obj) {
  ------------------
  |  Branch (883:9): [True: 10, False: 0]
  ------------------
  884|     10|       PyBuffer_Release(&old);
  885|     10|    }
  886|       |    /* Cleanup for new */
  887|     10|    if (new.obj) {
  ------------------
  |  Branch (887:9): [True: 10, False: 0]
  ------------------
  888|     10|       PyBuffer_Release(&new);
  889|     10|    }
  890|       |
  891|     10|    return return_value;
  892|     10|}
bytesobject.c:bytes_rfind:
  442|  18.1k|{
  443|  18.1k|    PyObject *return_value = NULL;
  444|  18.1k|    PyObject *sub;
  445|  18.1k|    Py_ssize_t start = 0;
  446|  18.1k|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  18.1k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  447|       |
  448|  18.1k|    if (!_PyArg_CheckPositional("rfind", nargs, 1, 3)) {
  ------------------
  |  |   31|  18.1k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 18.1k, False: 0]
  |  |  |  Branch (31:27): [True: 18.1k, False: 0]
  |  |  ------------------
  |  |   32|  18.1k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  449|      0|        goto exit;
  450|      0|    }
  451|  18.1k|    sub = args[0];
  452|  18.1k|    if (nargs < 2) {
  ------------------
  |  Branch (452:9): [True: 18.1k, False: 0]
  ------------------
  453|  18.1k|        goto skip_optional;
  454|  18.1k|    }
  455|      0|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (455:9): [True: 0, False: 0]
  ------------------
  456|      0|        goto exit;
  457|      0|    }
  458|      0|    if (nargs < 3) {
  ------------------
  |  Branch (458:9): [True: 0, False: 0]
  ------------------
  459|      0|        goto skip_optional;
  460|      0|    }
  461|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (461:9): [True: 0, False: 0]
  ------------------
  462|      0|        goto exit;
  463|      0|    }
  464|  18.1k|skip_optional:
  465|  18.1k|    return_value = bytes_rfind_impl((PyBytesObject *)self, sub, start, end);
  466|       |
  467|  18.1k|exit:
  468|  18.1k|    return return_value;
  469|  18.1k|}
bytesobject.c:bytes_split:
   52|  1.28k|{
   53|  1.28k|    PyObject *return_value = NULL;
   54|  1.28k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   55|       |
   56|  1.28k|    #define NUM_KEYWORDS 2
   57|  1.28k|    static struct {
   58|  1.28k|        PyGC_Head _this_is_not_used;
   59|  1.28k|        PyObject_VAR_HEAD
   60|  1.28k|        Py_hash_t ob_hash;
   61|  1.28k|        PyObject *ob_item[NUM_KEYWORDS];
   62|  1.28k|    } _kwtuple = {
   63|  1.28k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  1.28k|    {                                     \
  |  |   98|  1.28k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  1.28k|    {                               \
  |  |  |  |   91|  1.28k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  1.28k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  1.28k|#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.28k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  1.28k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  1.28k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  1.28k|        (type)                      \
  |  |  |  |   93|  1.28k|    },
  |  |  ------------------
  |  |   99|  1.28k|        (size)                            \
  |  |  100|  1.28k|    },
  ------------------
   64|  1.28k|        .ob_hash = -1,
   65|  1.28k|        .ob_item = { &_Py_ID(sep), &_Py_ID(maxsplit), },
  ------------------
  |  |  921|  1.28k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.28k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.28k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(sep), &_Py_ID(maxsplit), },
  ------------------
  |  |  921|  1.28k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.28k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.28k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   66|  1.28k|    };
   67|  1.28k|    #undef NUM_KEYWORDS
   68|  1.28k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   69|       |
   70|       |    #else  // !Py_BUILD_CORE
   71|       |    #  define KWTUPLE NULL
   72|       |    #endif  // !Py_BUILD_CORE
   73|       |
   74|  1.28k|    static const char * const _keywords[] = {"sep", "maxsplit", NULL};
   75|  1.28k|    static _PyArg_Parser _parser = {
   76|  1.28k|        .keywords = _keywords,
   77|  1.28k|        .fname = "split",
   78|  1.28k|        .kwtuple = KWTUPLE,
  ------------------
  |  |   68|  1.28k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   79|  1.28k|    };
   80|  1.28k|    #undef KWTUPLE
   81|  1.28k|    PyObject *argsbuf[2];
   82|  1.28k|    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 (82:36): [True: 0, False: 1.28k]
  ------------------
   83|  1.28k|    PyObject *sep = Py_None;
  ------------------
  |  |  616|  1.28k|#  define Py_None (&_Py_NoneStruct)
  ------------------
   84|  1.28k|    Py_ssize_t maxsplit = -1;
   85|       |
   86|  1.28k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  1.28k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 1.28k, False: 0]
  |  |  ------------------
  |  |   89|  1.28k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 1.28k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 1.28k]
  |  |  |  Branch (89:43): [True: 1.28k, False: 0]
  |  |  |  Branch (89:67): [True: 1.28k, False: 0]
  |  |  ------------------
  |  |   90|  1.28k|      (args) : \
  |  |   91|  1.28k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   87|  1.28k|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   88|  1.28k|    if (!args) {
  ------------------
  |  Branch (88:9): [True: 0, False: 1.28k]
  ------------------
   89|      0|        goto exit;
   90|      0|    }
   91|  1.28k|    if (!noptargs) {
  ------------------
  |  Branch (91:9): [True: 0, False: 1.28k]
  ------------------
   92|      0|        goto skip_optional_pos;
   93|      0|    }
   94|  1.28k|    if (args[0]) {
  ------------------
  |  Branch (94:9): [True: 1.28k, False: 0]
  ------------------
   95|  1.28k|        sep = args[0];
   96|  1.28k|        if (!--noptargs) {
  ------------------
  |  Branch (96:13): [True: 1.28k, False: 0]
  ------------------
   97|  1.28k|            goto skip_optional_pos;
   98|  1.28k|        }
   99|  1.28k|    }
  100|      0|    {
  101|      0|        Py_ssize_t ival = -1;
  102|      0|        PyObject *iobj = _PyNumber_Index(args[1]);
  103|      0|        if (iobj != NULL) {
  ------------------
  |  Branch (103:13): [True: 0, False: 0]
  ------------------
  104|      0|            ival = PyLong_AsSsize_t(iobj);
  105|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  106|      0|        }
  107|      0|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (107:13): [True: 0, False: 0]
  |  Branch (107:27): [True: 0, False: 0]
  ------------------
  108|      0|            goto exit;
  109|      0|        }
  110|      0|        maxsplit = ival;
  111|      0|    }
  112|  1.28k|skip_optional_pos:
  113|  1.28k|    return_value = bytes_split_impl((PyBytesObject *)self, sep, maxsplit);
  114|       |
  115|  1.28k|exit:
  116|  1.28k|    return return_value;
  117|  1.28k|}
bytesobject.c:bytes_startswith:
  988|   129k|{
  989|   129k|    PyObject *return_value = NULL;
  990|   129k|    PyObject *subobj;
  991|   129k|    Py_ssize_t start = 0;
  992|   129k|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|   129k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  993|       |
  994|   129k|    if (!_PyArg_CheckPositional("startswith", nargs, 1, 3)) {
  ------------------
  |  |   31|   129k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 129k, False: 0]
  |  |  |  Branch (31:27): [True: 129k, False: 0]
  |  |  ------------------
  |  |   32|   129k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  995|      0|        goto exit;
  996|      0|    }
  997|   129k|    subobj = args[0];
  998|   129k|    if (nargs < 2) {
  ------------------
  |  Branch (998:9): [True: 129k, False: 0]
  ------------------
  999|   129k|        goto skip_optional;
 1000|   129k|    }
 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|   129k|skip_optional:
 1011|   129k|    return_value = bytes_startswith_impl((PyBytesObject *)self, subobj, start, end);
 1012|       |
 1013|   129k|exit:
 1014|   129k|    return return_value;
 1015|   129k|}
bytesobject.c:bytes_new:
 1370|  19.4k|{
 1371|  19.4k|    PyObject *return_value = NULL;
 1372|  19.4k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1373|       |
 1374|  19.4k|    #define NUM_KEYWORDS 3
 1375|  19.4k|    static struct {
 1376|  19.4k|        PyGC_Head _this_is_not_used;
 1377|  19.4k|        PyObject_VAR_HEAD
 1378|  19.4k|        Py_hash_t ob_hash;
 1379|  19.4k|        PyObject *ob_item[NUM_KEYWORDS];
 1380|  19.4k|    } _kwtuple = {
 1381|  19.4k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  19.4k|    {                                     \
  |  |   98|  19.4k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  19.4k|    {                               \
  |  |  |  |   91|  19.4k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  19.4k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  19.4k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|  19.4k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  19.4k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  19.4k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  19.4k|        (type)                      \
  |  |  |  |   93|  19.4k|    },
  |  |  ------------------
  |  |   99|  19.4k|        (size)                            \
  |  |  100|  19.4k|    },
  ------------------
 1382|  19.4k|        .ob_hash = -1,
 1383|  19.4k|        .ob_item = { &_Py_ID(source), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  921|  19.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  19.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  19.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  921|  19.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  19.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  19.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  921|  19.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  19.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  19.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1384|  19.4k|    };
 1385|  19.4k|    #undef NUM_KEYWORDS
 1386|  19.4k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1387|       |
 1388|       |    #else  // !Py_BUILD_CORE
 1389|       |    #  define KWTUPLE NULL
 1390|       |    #endif  // !Py_BUILD_CORE
 1391|       |
 1392|  19.4k|    static const char * const _keywords[] = {"source", "encoding", "errors", NULL};
 1393|  19.4k|    static _PyArg_Parser _parser = {
 1394|  19.4k|        .keywords = _keywords,
 1395|  19.4k|        .fname = "bytes",
 1396|  19.4k|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1386|  19.4k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1397|  19.4k|    };
 1398|  19.4k|    #undef KWTUPLE
 1399|  19.4k|    PyObject *argsbuf[3];
 1400|  19.4k|    PyObject * const *fastargs;
 1401|  19.4k|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  19.4k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1402|  19.4k|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 0;
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1402:36): [True: 0, False: 19.4k]
  ------------------
 1403|  19.4k|    PyObject *x = NULL;
 1404|  19.4k|    const char *encoding = NULL;
 1405|  19.4k|    const char *errors = NULL;
 1406|       |
 1407|  19.4k|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|  19.4k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 19.4k, Folded]
  |  |  |  Branch (88:23): [True: 19.4k, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|  38.9k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 19.4k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 19.4k]
  |  |  |  Branch (89:43): [True: 19.4k, False: 0]
  |  |  |  Branch (89:67): [True: 19.4k, False: 0]
  |  |  |  Branch (89:68): [True: 19.4k, False: 0]
  |  |  ------------------
  |  |   90|  38.9k|      (args) : \
  |  |  ------------------
  |  |  |  Branch (90:8): [True: 19.4k, False: 0]
  |  |  ------------------
  |  |   91|  19.4k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (91:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1408|  19.4k|            /*minpos*/ 0, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1409|  19.4k|    if (!fastargs) {
  ------------------
  |  Branch (1409:9): [True: 0, False: 19.4k]
  ------------------
 1410|      0|        goto exit;
 1411|      0|    }
 1412|  19.4k|    if (!noptargs) {
  ------------------
  |  Branch (1412:9): [True: 0, False: 19.4k]
  ------------------
 1413|      0|        goto skip_optional_pos;
 1414|      0|    }
 1415|  19.4k|    if (fastargs[0]) {
  ------------------
  |  Branch (1415:9): [True: 19.4k, False: 0]
  ------------------
 1416|  19.4k|        x = fastargs[0];
 1417|  19.4k|        if (!--noptargs) {
  ------------------
  |  Branch (1417:13): [True: 19.4k, False: 0]
  ------------------
 1418|  19.4k|            goto skip_optional_pos;
 1419|  19.4k|        }
 1420|  19.4k|    }
 1421|      0|    if (fastargs[1]) {
  ------------------
  |  Branch (1421:9): [True: 0, False: 0]
  ------------------
 1422|      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 (1422:13): [True: 0, False: 0]
  ------------------
 1423|      0|            _PyArg_BadArgument("bytes", "argument 'encoding'", "str", fastargs[1]);
 1424|      0|            goto exit;
 1425|      0|        }
 1426|      0|        Py_ssize_t encoding_length;
 1427|      0|        encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length);
 1428|      0|        if (encoding == NULL) {
  ------------------
  |  Branch (1428:13): [True: 0, False: 0]
  ------------------
 1429|      0|            goto exit;
 1430|      0|        }
 1431|      0|        if (strlen(encoding) != (size_t)encoding_length) {
  ------------------
  |  Branch (1431:13): [True: 0, False: 0]
  ------------------
 1432|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
 1433|      0|            goto exit;
 1434|      0|        }
 1435|      0|        if (!--noptargs) {
  ------------------
  |  Branch (1435:13): [True: 0, False: 0]
  ------------------
 1436|      0|            goto skip_optional_pos;
 1437|      0|        }
 1438|      0|    }
 1439|      0|    if (!PyUnicode_Check(fastargs[2])) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1439:9): [True: 0, False: 0]
  ------------------
 1440|      0|        _PyArg_BadArgument("bytes", "argument 'errors'", "str", fastargs[2]);
 1441|      0|        goto exit;
 1442|      0|    }
 1443|      0|    Py_ssize_t errors_length;
 1444|      0|    errors = PyUnicode_AsUTF8AndSize(fastargs[2], &errors_length);
 1445|      0|    if (errors == NULL) {
  ------------------
  |  Branch (1445:9): [True: 0, False: 0]
  ------------------
 1446|      0|        goto exit;
 1447|      0|    }
 1448|      0|    if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (1448:9): [True: 0, False: 0]
  ------------------
 1449|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 1450|      0|        goto exit;
 1451|      0|    }
 1452|  19.4k|skip_optional_pos:
 1453|  19.4k|    return_value = bytes_new_impl(type, x, encoding, errors);
 1454|       |
 1455|  19.4k|exit:
 1456|  19.4k|    return return_value;
 1457|  19.4k|}

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), },
  ------------------
  |  |  921|      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), },
  ------------------
  |  |  921|     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), },
  ------------------
  |  |  921|     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), },
  ------------------
  |  |  921|     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), },
  ------------------
  |  |  921|     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|   593k|{
   97|   593k|    PyObject *return_value = NULL;
   98|   593k|    PyObject *key;
   99|   593k|    PyObject *default_value = Py_None;
  ------------------
  |  |  616|   593k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  100|       |
  101|   593k|    if (!_PyArg_CheckPositional("get", nargs, 1, 2)) {
  ------------------
  |  |   31|   593k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 593k, False: 0]
  |  |  |  Branch (31:27): [True: 593k, False: 0]
  |  |  ------------------
  |  |   32|   593k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  102|      0|        goto exit;
  103|      0|    }
  104|   593k|    key = args[0];
  105|   593k|    if (nargs < 2) {
  ------------------
  |  Branch (105:9): [True: 543k, False: 49.6k]
  ------------------
  106|   543k|        goto skip_optional;
  107|   543k|    }
  108|  49.6k|    default_value = args[1];
  109|   593k|skip_optional:
  110|   593k|    return_value = dict_get_impl((PyDictObject *)self, key, default_value);
  111|       |
  112|   593k|exit:
  113|   593k|    return return_value;
  114|   593k|}
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|  48.6k|{
  191|  48.6k|    PyObject *return_value = NULL;
  192|  48.6k|    PyObject *key;
  193|  48.6k|    PyObject *default_value = NULL;
  194|       |
  195|  48.6k|    if (!_PyArg_CheckPositional("pop", nargs, 1, 2)) {
  ------------------
  |  |   31|  48.6k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 48.6k, False: 0]
  |  |  |  Branch (31:27): [True: 48.6k, False: 0]
  |  |  ------------------
  |  |   32|  48.6k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  196|      0|        goto exit;
  197|      0|    }
  198|  48.6k|    key = args[0];
  199|  48.6k|    if (nargs < 2) {
  ------------------
  |  Branch (199:9): [True: 160, False: 48.4k]
  ------------------
  200|    160|        goto skip_optional;
  201|    160|    }
  202|  48.4k|    default_value = args[1];
  203|  48.6k|skip_optional:
  204|  48.6k|    return_value = dict_pop_impl((PyDictObject *)self, key, default_value);
  205|       |
  206|  48.6k|exit:
  207|  48.6k|    return return_value;
  208|  48.6k|}
dictobject.c:dict_keys:
  287|    823|{
  288|    823|    return dict_keys_impl((PyDictObject *)self);
  289|    823|}
dictobject.c:dict_items:
  305|    108|{
  306|    108|    return dict_items_impl((PyDictObject *)self);
  307|    108|}
dictobject.c:dict_values:
  323|      5|{
  324|      5|    return dict_values_impl((PyDictObject *)self);
  325|      5|}
dictobject.c:dict_fromkeys:
   22|     16|{
   23|     16|    PyObject *return_value = NULL;
   24|     16|    PyObject *iterable;
   25|     16|    PyObject *value = Py_None;
  ------------------
  |  |  616|     16|#  define Py_None (&_Py_NoneStruct)
  ------------------
   26|       |
   27|     16|    if (!_PyArg_CheckPositional("fromkeys", nargs, 1, 2)) {
  ------------------
  |  |   31|     16|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 16, False: 0]
  |  |  |  Branch (31:27): [True: 16, False: 0]
  |  |  ------------------
  |  |   32|     16|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   28|      0|        goto exit;
   29|      0|    }
   30|     16|    iterable = args[0];
   31|     16|    if (nargs < 2) {
  ------------------
  |  Branch (31:9): [True: 15, False: 1]
  ------------------
   32|     15|        goto skip_optional;
   33|     15|    }
   34|      1|    value = args[1];
   35|     16|skip_optional:
   36|     16|    return_value = dict_fromkeys_impl((PyTypeObject *)type, iterable, value);
   37|       |
   38|     16|exit:
   39|     16|    return return_value;
   40|     16|}
dictobject.c:dict_copy:
   56|      3|{
   57|      3|    return dict_copy_impl((PyDictObject *)self);
   58|      3|}

exceptions.c:BaseException_add_note:
   92|  1.99k|{
   93|  1.99k|    PyObject *return_value = NULL;
   94|  1.99k|    PyObject *note;
   95|       |
   96|  1.99k|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  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 (96:9): [True: 0, False: 1.99k]
  ------------------
   97|      0|        _PyArg_BadArgument("add_note", "argument", "str", arg);
   98|      0|        goto exit;
   99|      0|    }
  100|  1.99k|    note = arg;
  101|  1.99k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  1.99k|    {
  ------------------
  102|  1.99k|    return_value = BaseException_add_note_impl((PyBaseExceptionObject *)self, note);
  103|  1.99k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.99k|    }
  ------------------
  104|       |
  105|  1.99k|exit:
  106|  1.99k|    return return_value;
  107|  1.99k|}

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

longobject.c:int_bit_length:
  202|    206|{
  203|    206|    return int_bit_length_impl(self);
  204|    206|}
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), },
  ------------------
  |  |  921|      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), },
  ------------------
  |  |  921|      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), },
  ------------------
  |  |  921|      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|    255|{
  411|    255|    PyObject *return_value = NULL;
  412|    255|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  413|       |
  414|    255|    #define NUM_KEYWORDS 3
  415|    255|    static struct {
  416|    255|        PyGC_Head _this_is_not_used;
  417|    255|        PyObject_VAR_HEAD
  418|    255|        Py_hash_t ob_hash;
  419|    255|        PyObject *ob_item[NUM_KEYWORDS];
  420|    255|    } _kwtuple = {
  421|    255|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    255|    {                                     \
  |  |   98|    255|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    255|    {                               \
  |  |  |  |   91|    255|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    255|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    255|#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|    255|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    255|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    255|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    255|        (type)                      \
  |  |  |  |   93|    255|    },
  |  |  ------------------
  |  |   99|    255|        (size)                            \
  |  |  100|    255|    },
  ------------------
  422|    255|        .ob_hash = -1,
  423|    255|        .ob_item = { &_Py_ID(bytes), &_Py_ID(byteorder), &_Py_ID(signed), },
  ------------------
  |  |  921|    255|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    255|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    255|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(bytes), &_Py_ID(byteorder), &_Py_ID(signed), },
  ------------------
  |  |  921|    255|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    255|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    255|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(bytes), &_Py_ID(byteorder), &_Py_ID(signed), },
  ------------------
  |  |  921|    255|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    255|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    255|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  424|    255|    };
  425|    255|    #undef NUM_KEYWORDS
  426|    255|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  427|       |
  428|       |    #else  // !Py_BUILD_CORE
  429|       |    #  define KWTUPLE NULL
  430|       |    #endif  // !Py_BUILD_CORE
  431|       |
  432|    255|    static const char * const _keywords[] = {"bytes", "byteorder", "signed", NULL};
  433|    255|    static _PyArg_Parser _parser = {
  434|    255|        .keywords = _keywords,
  435|    255|        .fname = "from_bytes",
  436|    255|        .kwtuple = KWTUPLE,
  ------------------
  |  |  426|    255|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  437|    255|    };
  438|    255|    #undef KWTUPLE
  439|    255|    PyObject *argsbuf[3];
  440|    255|    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: 255]
  ------------------
  441|    255|    PyObject *bytes_obj;
  442|    255|    PyObject *byteorder = NULL;
  443|    255|    int is_signed = 0;
  444|       |
  445|    255|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    255|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 255, False: 0]
  |  |  ------------------
  |  |   89|    255|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 255, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 255]
  |  |  |  Branch (89:43): [True: 255, False: 0]
  |  |  |  Branch (89:67): [True: 255, False: 0]
  |  |  ------------------
  |  |   90|    255|      (args) : \
  |  |   91|    255|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  446|    255|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  447|    255|    if (!args) {
  ------------------
  |  Branch (447:9): [True: 0, False: 255]
  ------------------
  448|      0|        goto exit;
  449|      0|    }
  450|    255|    bytes_obj = args[0];
  451|    255|    if (!noptargs) {
  ------------------
  |  Branch (451:9): [True: 0, False: 255]
  ------------------
  452|      0|        goto skip_optional_pos;
  453|      0|    }
  454|    255|    if (args[1]) {
  ------------------
  |  Branch (454:9): [True: 255, False: 0]
  ------------------
  455|    255|        if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|    255|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    255|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (455:13): [True: 0, False: 255]
  ------------------
  456|      0|            _PyArg_BadArgument("from_bytes", "argument 'byteorder'", "str", args[1]);
  457|      0|            goto exit;
  458|      0|        }
  459|    255|        byteorder = args[1];
  460|    255|        if (!--noptargs) {
  ------------------
  |  Branch (460:13): [True: 255, False: 0]
  ------------------
  461|    255|            goto skip_optional_pos;
  462|    255|        }
  463|    255|    }
  464|    255|skip_optional_pos:
  465|    255|    if (!noptargs) {
  ------------------
  |  Branch (465:9): [True: 255, False: 0]
  ------------------
  466|    255|        goto skip_optional_kwonly;
  467|    255|    }
  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|    255|skip_optional_kwonly:
  473|    255|    return_value = int_from_bytes_impl((PyTypeObject *)type, bytes_obj, byteorder, is_signed);
  474|       |
  475|    255|exit:
  476|    255|    return return_value;
  477|    255|}
longobject.c:int___format__:
  106|    132|{
  107|    132|    PyObject *return_value = NULL;
  108|    132|    PyObject *format_spec;
  109|       |
  110|    132|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|    132|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    132|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (110:9): [True: 0, False: 132]
  ------------------
  111|      0|        _PyArg_BadArgument("__format__", "argument", "str", arg);
  112|      0|        goto exit;
  113|      0|    }
  114|    132|    format_spec = arg;
  115|    132|    return_value = int___format___impl(self, format_spec);
  116|       |
  117|    132|exit:
  118|    132|    return return_value;
  119|    132|}
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), },
  ------------------
  |  |  921|    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_tolist:
  278|      2|{
  279|      2|    return memoryview_tolist_impl((PyMemoryViewObject *)self);
  280|      2|}
memoryobject.c:memoryview_cast:
  169|      2|{
  170|      2|    PyObject *return_value = NULL;
  171|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  172|       |
  173|      2|    #define NUM_KEYWORDS 3
  174|      2|    static struct {
  175|      2|        PyGC_Head _this_is_not_used;
  176|      2|        PyObject_VAR_HEAD
  177|      2|        Py_hash_t ob_hash;
  178|      2|        PyObject *ob_item[NUM_KEYWORDS];
  179|      2|    } _kwtuple = {
  180|      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|    },
  ------------------
  181|      2|        .ob_hash = -1,
  182|      2|        .ob_item = { &_Py_ID(format), &_Py_ID(shape), &_Py_ID(order), },
  ------------------
  |  |  921|      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(format), &_Py_ID(shape), &_Py_ID(order), },
  ------------------
  |  |  921|      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(format), &_Py_ID(shape), &_Py_ID(order), },
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  183|      2|    };
  184|      2|    #undef NUM_KEYWORDS
  185|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  186|       |
  187|       |    #else  // !Py_BUILD_CORE
  188|       |    #  define KWTUPLE NULL
  189|       |    #endif  // !Py_BUILD_CORE
  190|       |
  191|      2|    static const char * const _keywords[] = {"format", "shape", "order", NULL};
  192|      2|    static _PyArg_Parser _parser = {
  193|      2|        .keywords = _keywords,
  194|      2|        .fname = "cast",
  195|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  |  185|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  196|      2|    };
  197|      2|    #undef KWTUPLE
  198|      2|    PyObject *argsbuf[3];
  199|      2|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (199:36): [True: 0, False: 2]
  ------------------
  200|      2|    PyObject *format;
  201|      2|    PyObject *shape = NULL;
  202|      2|    int order = 'C';
  203|       |
  204|      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)))
  ------------------
  205|      2|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  206|      2|    if (!args) {
  ------------------
  |  Branch (206:9): [True: 0, False: 2]
  ------------------
  207|      0|        goto exit;
  208|      0|    }
  209|      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 (209:9): [True: 0, False: 2]
  ------------------
  210|      0|        _PyArg_BadArgument("cast", "argument 'format'", "str", args[0]);
  211|      0|        goto exit;
  212|      0|    }
  213|      2|    format = args[0];
  214|      2|    if (!noptargs) {
  ------------------
  |  Branch (214:9): [True: 2, False: 0]
  ------------------
  215|      2|        goto skip_optional_pos;
  216|      2|    }
  217|      0|    if (args[1]) {
  ------------------
  |  Branch (217:9): [True: 0, False: 0]
  ------------------
  218|      0|        shape = args[1];
  219|      0|        if (!--noptargs) {
  ------------------
  |  Branch (219:13): [True: 0, False: 0]
  ------------------
  220|      0|            goto skip_optional_pos;
  221|      0|        }
  222|      0|    }
  223|      2|skip_optional_pos:
  224|      2|    if (!noptargs) {
  ------------------
  |  Branch (224:9): [True: 2, False: 0]
  ------------------
  225|      2|        goto skip_optional_kwonly;
  226|      2|    }
  227|      0|    if (!PyUnicode_Check(args[2])) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (227:9): [True: 0, False: 0]
  ------------------
  228|      0|        _PyArg_BadArgument("cast", "argument 'order'", "a unicode character", args[2]);
  229|      0|        goto exit;
  230|      0|    }
  231|      0|    if (PyUnicode_GET_LENGTH(args[2]) != 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 (231:9): [True: 0, False: 0]
  ------------------
  232|      0|        PyErr_Format(PyExc_TypeError,
  233|      0|            "cast(): argument 'order' must be a unicode character, "
  234|      0|            "not a string of length %zd",
  235|      0|            PyUnicode_GET_LENGTH(args[2]));
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  236|      0|        goto exit;
  237|      0|    }
  238|      0|    order = PyUnicode_READ_CHAR(args[2], 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  239|      2|skip_optional_kwonly:
  240|      2|    return_value = memoryview_cast_impl((PyMemoryViewObject *)self, format, shape, order);
  241|       |
  242|      2|exit:
  243|      2|    return return_value;
  244|      2|}
memoryobject.c:memoryview:
   23|     87|{
   24|     87|    PyObject *return_value = NULL;
   25|     87|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   26|       |
   27|     87|    #define NUM_KEYWORDS 1
   28|     87|    static struct {
   29|     87|        PyGC_Head _this_is_not_used;
   30|     87|        PyObject_VAR_HEAD
   31|     87|        Py_hash_t ob_hash;
   32|     87|        PyObject *ob_item[NUM_KEYWORDS];
   33|     87|    } _kwtuple = {
   34|     87|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     87|    {                                     \
  |  |   98|     87|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     87|    {                               \
  |  |  |  |   91|     87|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     87|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     87|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|     87|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     87|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     87|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     87|        (type)                      \
  |  |  |  |   93|     87|    },
  |  |  ------------------
  |  |   99|     87|        (size)                            \
  |  |  100|     87|    },
  ------------------
   35|     87|        .ob_hash = -1,
   36|     87|        .ob_item = { &_Py_ID(object), },
  ------------------
  |  |  921|     87|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     87|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     87|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   37|     87|    };
   38|     87|    #undef NUM_KEYWORDS
   39|     87|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   40|       |
   41|       |    #else  // !Py_BUILD_CORE
   42|       |    #  define KWTUPLE NULL
   43|       |    #endif  // !Py_BUILD_CORE
   44|       |
   45|     87|    static const char * const _keywords[] = {"object", NULL};
   46|     87|    static _PyArg_Parser _parser = {
   47|     87|        .keywords = _keywords,
   48|     87|        .fname = "memoryview",
   49|     87|        .kwtuple = KWTUPLE,
  ------------------
  |  |   39|     87|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   50|     87|    };
   51|     87|    #undef KWTUPLE
   52|     87|    PyObject *argsbuf[1];
   53|     87|    PyObject * const *fastargs;
   54|     87|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     87|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   55|     87|    PyObject *object;
   56|       |
   57|     87|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|     87|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 87, Folded]
  |  |  |  Branch (88:23): [True: 87, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|    174|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 87, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 87]
  |  |  |  Branch (89:43): [True: 87, False: 0]
  |  |  |  Branch (89:67): [True: 87, False: 0]
  |  |  |  Branch (89:68): [True: 87, False: 0]
  |  |  ------------------
  |  |   90|    174|      (args) : \
  |  |  ------------------
  |  |  |  Branch (90:8): [True: 87, False: 0]
  |  |  ------------------
  |  |   91|     87|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |  ------------------
  |  |  |  Branch (91:29): [True: 0, False: 0]
  |  |  ------------------
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   58|     87|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   59|     87|    if (!fastargs) {
  ------------------
  |  Branch (59:9): [True: 0, False: 87]
  ------------------
   60|      0|        goto exit;
   61|      0|    }
   62|     87|    object = fastargs[0];
   63|     87|    return_value = memoryview_impl(type, object);
   64|       |
   65|     87|exit:
   66|     87|    return return_value;
   67|     87|}

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

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), },
  ------------------
  |  |  921|      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|    810|{
   75|    810|    PyObject *return_value = NULL;
   76|       |
   77|    810|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|    810|    {
  ------------------
   78|    810|    return_value = set_copy_impl((PySetObject *)so);
   79|    810|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    810|    }
  ------------------
   80|       |
   81|    810|    return return_value;
   82|    810|}
setobject.c:set_issubset:
  351|  6.41k|{
  352|  6.41k|    PyObject *return_value = NULL;
  353|       |
  354|  6.41k|    Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|  6.41k|    {
  ------------------
  355|  6.41k|    return_value = set_issubset_impl((PySetObject *)so, other);
  356|  6.41k|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|  6.41k|    }
  ------------------
  357|       |
  358|  6.41k|    return return_value;
  359|  6.41k|}
setobject.c:set_add:
  401|   207k|{
  402|   207k|    PyObject *return_value = NULL;
  403|       |
  404|   207k|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|   207k|    {
  ------------------
  405|   207k|    return_value = set_add_impl((PySetObject *)so, key);
  406|   207k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   207k|    }
  ------------------
  407|       |
  408|   207k|    return return_value;
  409|   207k|}
setobject.c:set_difference_update:
  252|    405|{
  253|    405|    PyObject *return_value = NULL;
  254|    405|    PyObject * const *others;
  255|    405|    Py_ssize_t others_length;
  256|       |
  257|    405|    others = args;
  258|    405|    others_length = nargs;
  259|    405|    return_value = set_difference_update_impl((PySetObject *)so, others, others_length);
  260|       |
  261|    405|    return return_value;
  262|    405|}
setobject.c:set_remove:
  471|  1.01k|{
  472|  1.01k|    PyObject *return_value = NULL;
  473|       |
  474|  1.01k|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|  1.01k|    {
  ------------------
  475|  1.01k|    return_value = set_remove_impl((PySetObject *)so, key);
  476|  1.01k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.01k|    }
  ------------------
  477|       |
  478|  1.01k|    return return_value;
  479|  1.01k|}
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|  6.71k|{
   24|  6.71k|    PyObject *return_value = NULL;
   25|       |
   26|  6.71k|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|  6.71k|    {
  ------------------
   27|  6.71k|    return_value = set_pop_impl((PySetObject *)so);
   28|  6.71k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  6.71k|    }
  ------------------
   29|       |
   30|  6.71k|    return return_value;
   31|  6.71k|}

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

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|     12|{
   22|     12|    PyObject *return_value = NULL;
   23|     12|    int _return_value;
   24|       |
   25|     12|    _return_value = type___instancecheck___impl((PyTypeObject *)self, instance);
   26|     12|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (26:9): [True: 0, False: 12]
  |  Branch (26:34): [True: 0, False: 0]
  ------------------
   27|      0|        goto exit;
   28|      0|    }
   29|     12|    return_value = PyBool_FromLong((long)_return_value);
   30|       |
   31|     12|exit:
   32|     12|    return return_value;
   33|     12|}
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|  48.4k|{
  216|  48.4k|    PyObject *return_value = NULL;
  217|  48.4k|    PyObject *format_spec;
  218|       |
  219|  48.4k|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|  48.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  48.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (219:9): [True: 0, False: 48.4k]
  ------------------
  220|      0|        _PyArg_BadArgument("__format__", "argument", "str", arg);
  221|      0|        goto exit;
  222|      0|    }
  223|  48.4k|    format_spec = arg;
  224|  48.4k|    return_value = object___format___impl(self, format_spec);
  225|       |
  226|  48.4k|exit:
  227|  48.4k|    return return_value;
  228|  48.4k|}

unicodeobject.c:unicode_encode:
  219|  53.2k|{
  220|  53.2k|    PyObject *return_value = NULL;
  221|  53.2k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  222|       |
  223|  53.2k|    #define NUM_KEYWORDS 2
  224|  53.2k|    static struct {
  225|  53.2k|        PyGC_Head _this_is_not_used;
  226|  53.2k|        PyObject_VAR_HEAD
  227|  53.2k|        Py_hash_t ob_hash;
  228|  53.2k|        PyObject *ob_item[NUM_KEYWORDS];
  229|  53.2k|    } _kwtuple = {
  230|  53.2k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  53.2k|    {                                     \
  |  |   98|  53.2k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  53.2k|    {                               \
  |  |  |  |   91|  53.2k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  53.2k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  53.2k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|  53.2k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  53.2k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  53.2k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  53.2k|        (type)                      \
  |  |  |  |   93|  53.2k|    },
  |  |  ------------------
  |  |   99|  53.2k|        (size)                            \
  |  |  100|  53.2k|    },
  ------------------
  231|  53.2k|        .ob_hash = -1,
  232|  53.2k|        .ob_item = { &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  921|  53.2k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  53.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  53.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  921|  53.2k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  53.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  53.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  233|  53.2k|    };
  234|  53.2k|    #undef NUM_KEYWORDS
  235|  53.2k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  236|       |
  237|       |    #else  // !Py_BUILD_CORE
  238|       |    #  define KWTUPLE NULL
  239|       |    #endif  // !Py_BUILD_CORE
  240|       |
  241|  53.2k|    static const char * const _keywords[] = {"encoding", "errors", NULL};
  242|  53.2k|    static _PyArg_Parser _parser = {
  243|  53.2k|        .keywords = _keywords,
  244|  53.2k|        .fname = "encode",
  245|  53.2k|        .kwtuple = KWTUPLE,
  ------------------
  |  |  235|  53.2k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  246|  53.2k|    };
  247|  53.2k|    #undef KWTUPLE
  248|  53.2k|    PyObject *argsbuf[2];
  249|  53.2k|    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: 53.2k]
  ------------------
  250|  53.2k|    const char *encoding = NULL;
  251|  53.2k|    const char *errors = NULL;
  252|       |
  253|  53.2k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  53.2k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 53.2k, False: 0]
  |  |  ------------------
  |  |   89|  53.2k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 53.2k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 53.2k]
  |  |  |  Branch (89:43): [True: 53.2k, False: 0]
  |  |  |  Branch (89:67): [True: 53.2k, False: 0]
  |  |  ------------------
  |  |   90|  53.2k|      (args) : \
  |  |   91|  53.2k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  254|  53.2k|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  255|  53.2k|    if (!args) {
  ------------------
  |  Branch (255:9): [True: 0, False: 53.2k]
  ------------------
  256|      0|        goto exit;
  257|      0|    }
  258|  53.2k|    if (!noptargs) {
  ------------------
  |  Branch (258:9): [True: 0, False: 53.2k]
  ------------------
  259|      0|        goto skip_optional_pos;
  260|      0|    }
  261|  53.2k|    if (args[0]) {
  ------------------
  |  Branch (261:9): [True: 53.2k, False: 0]
  ------------------
  262|  53.2k|        if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|  53.2k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  53.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (262:13): [True: 0, False: 53.2k]
  ------------------
  263|      0|            _PyArg_BadArgument("encode", "argument 'encoding'", "str", args[0]);
  264|      0|            goto exit;
  265|      0|        }
  266|  53.2k|        Py_ssize_t encoding_length;
  267|  53.2k|        encoding = PyUnicode_AsUTF8AndSize(args[0], &encoding_length);
  268|  53.2k|        if (encoding == NULL) {
  ------------------
  |  Branch (268:13): [True: 0, False: 53.2k]
  ------------------
  269|      0|            goto exit;
  270|      0|        }
  271|  53.2k|        if (strlen(encoding) != (size_t)encoding_length) {
  ------------------
  |  Branch (271:13): [True: 0, False: 53.2k]
  ------------------
  272|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
  273|      0|            goto exit;
  274|      0|        }
  275|  53.2k|        if (!--noptargs) {
  ------------------
  |  Branch (275:13): [True: 53.2k, False: 6]
  ------------------
  276|  53.2k|            goto skip_optional_pos;
  277|  53.2k|        }
  278|  53.2k|    }
  279|      6|    if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|      6|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (279:9): [True: 0, False: 6]
  ------------------
  280|      0|        _PyArg_BadArgument("encode", "argument 'errors'", "str", args[1]);
  281|      0|        goto exit;
  282|      0|    }
  283|      6|    Py_ssize_t errors_length;
  284|      6|    errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length);
  285|      6|    if (errors == NULL) {
  ------------------
  |  Branch (285:9): [True: 0, False: 6]
  ------------------
  286|      0|        goto exit;
  287|      0|    }
  288|      6|    if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (288:9): [True: 0, False: 6]
  ------------------
  289|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
  290|      0|        goto exit;
  291|      0|    }
  292|  53.2k|skip_optional_pos:
  293|  53.2k|    return_value = unicode_encode_impl(self, encoding, errors);
  294|       |
  295|  53.2k|exit:
  296|  53.2k|    return return_value;
  297|  53.2k|}
unicodeobject.c:unicode_replace:
  936|    776|{
  937|    776|    PyObject *return_value = NULL;
  938|    776|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  939|       |
  940|    776|    #define NUM_KEYWORDS 1
  941|    776|    static struct {
  942|    776|        PyGC_Head _this_is_not_used;
  943|    776|        PyObject_VAR_HEAD
  944|    776|        Py_hash_t ob_hash;
  945|    776|        PyObject *ob_item[NUM_KEYWORDS];
  946|    776|    } _kwtuple = {
  947|    776|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    776|    {                                     \
  |  |   98|    776|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    776|    {                               \
  |  |  |  |   91|    776|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    776|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    776|#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|    776|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    776|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    776|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    776|        (type)                      \
  |  |  |  |   93|    776|    },
  |  |  ------------------
  |  |   99|    776|        (size)                            \
  |  |  100|    776|    },
  ------------------
  948|    776|        .ob_hash = -1,
  949|    776|        .ob_item = { &_Py_ID(count), },
  ------------------
  |  |  921|    776|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    776|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    776|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  950|    776|    };
  951|    776|    #undef NUM_KEYWORDS
  952|    776|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  953|       |
  954|       |    #else  // !Py_BUILD_CORE
  955|       |    #  define KWTUPLE NULL
  956|       |    #endif  // !Py_BUILD_CORE
  957|       |
  958|    776|    static const char * const _keywords[] = {"", "", "count", NULL};
  959|    776|    static _PyArg_Parser _parser = {
  960|    776|        .keywords = _keywords,
  961|    776|        .fname = "replace",
  962|    776|        .kwtuple = KWTUPLE,
  ------------------
  |  |  952|    776|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  963|    776|    };
  964|    776|    #undef KWTUPLE
  965|    776|    PyObject *argsbuf[3];
  966|    776|    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: 776]
  ------------------
  967|    776|    PyObject *old;
  968|    776|    PyObject *new;
  969|    776|    Py_ssize_t count = -1;
  970|       |
  971|    776|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    776|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 776, False: 0]
  |  |  ------------------
  |  |   89|    776|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 776, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 776]
  |  |  |  Branch (89:43): [True: 776, False: 0]
  |  |  |  Branch (89:67): [True: 776, False: 0]
  |  |  ------------------
  |  |   90|    776|      (args) : \
  |  |   91|    776|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  972|    776|            /*minpos*/ 2, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  973|    776|    if (!args) {
  ------------------
  |  Branch (973:9): [True: 0, False: 776]
  ------------------
  974|      0|        goto exit;
  975|      0|    }
  976|    776|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|    776|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    776|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (976:9): [True: 0, False: 776]
  ------------------
  977|      0|        _PyArg_BadArgument("replace", "argument 1", "str", args[0]);
  978|      0|        goto exit;
  979|      0|    }
  980|    776|    old = args[0];
  981|    776|    if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|    776|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    776|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (981:9): [True: 0, False: 776]
  ------------------
  982|      0|        _PyArg_BadArgument("replace", "argument 2", "str", args[1]);
  983|      0|        goto exit;
  984|      0|    }
  985|    776|    new = args[1];
  986|    776|    if (!noptargs) {
  ------------------
  |  Branch (986:9): [True: 776, False: 0]
  ------------------
  987|    776|        goto skip_optional_pos;
  988|    776|    }
  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|    776|skip_optional_pos:
 1002|    776|    return_value = unicode_replace_impl(self, old, new, count);
 1003|       |
 1004|    776|exit:
 1005|    776|    return return_value;
 1006|    776|}
unicodeobject.c:unicode_split:
 1266|    251|{
 1267|    251|    PyObject *return_value = NULL;
 1268|    251|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1269|       |
 1270|    251|    #define NUM_KEYWORDS 2
 1271|    251|    static struct {
 1272|    251|        PyGC_Head _this_is_not_used;
 1273|    251|        PyObject_VAR_HEAD
 1274|    251|        Py_hash_t ob_hash;
 1275|    251|        PyObject *ob_item[NUM_KEYWORDS];
 1276|    251|    } _kwtuple = {
 1277|    251|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    251|    {                                     \
  |  |   98|    251|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    251|    {                               \
  |  |  |  |   91|    251|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    251|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    251|#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|    251|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    251|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    251|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    251|        (type)                      \
  |  |  |  |   93|    251|    },
  |  |  ------------------
  |  |   99|    251|        (size)                            \
  |  |  100|    251|    },
  ------------------
 1278|    251|        .ob_hash = -1,
 1279|    251|        .ob_item = { &_Py_ID(sep), &_Py_ID(maxsplit), },
  ------------------
  |  |  921|    251|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    251|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    251|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(sep), &_Py_ID(maxsplit), },
  ------------------
  |  |  921|    251|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    251|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    251|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1280|    251|    };
 1281|    251|    #undef NUM_KEYWORDS
 1282|    251|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1283|       |
 1284|       |    #else  // !Py_BUILD_CORE
 1285|       |    #  define KWTUPLE NULL
 1286|       |    #endif  // !Py_BUILD_CORE
 1287|       |
 1288|    251|    static const char * const _keywords[] = {"sep", "maxsplit", NULL};
 1289|    251|    static _PyArg_Parser _parser = {
 1290|    251|        .keywords = _keywords,
 1291|    251|        .fname = "split",
 1292|    251|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1282|    251|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1293|    251|    };
 1294|    251|    #undef KWTUPLE
 1295|    251|    PyObject *argsbuf[2];
 1296|    251|    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: 251]
  ------------------
 1297|    251|    PyObject *sep = Py_None;
  ------------------
  |  |  616|    251|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1298|    251|    Py_ssize_t maxsplit = -1;
 1299|       |
 1300|    251|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    251|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 251, False: 0]
  |  |  ------------------
  |  |   89|    251|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 251, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 251]
  |  |  |  Branch (89:43): [True: 251, False: 0]
  |  |  |  Branch (89:67): [True: 251, False: 0]
  |  |  ------------------
  |  |   90|    251|      (args) : \
  |  |   91|    251|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1301|    251|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1302|    251|    if (!args) {
  ------------------
  |  Branch (1302:9): [True: 0, False: 251]
  ------------------
 1303|      0|        goto exit;
 1304|      0|    }
 1305|    251|    if (!noptargs) {
  ------------------
  |  Branch (1305:9): [True: 2, False: 249]
  ------------------
 1306|      2|        goto skip_optional_pos;
 1307|      2|    }
 1308|    249|    if (args[0]) {
  ------------------
  |  Branch (1308:9): [True: 249, False: 0]
  ------------------
 1309|    249|        sep = args[0];
 1310|    249|        if (!--noptargs) {
  ------------------
  |  Branch (1310:13): [True: 249, False: 0]
  ------------------
 1311|    249|            goto skip_optional_pos;
 1312|    249|        }
 1313|    249|    }
 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|    251|skip_optional_pos:
 1327|    251|    return_value = unicode_split_impl(self, sep, maxsplit);
 1328|       |
 1329|    251|exit:
 1330|    251|    return return_value;
 1331|    251|}
unicodeobject.c:unicode_expandtabs:
  315|  1.94k|{
  316|  1.94k|    PyObject *return_value = NULL;
  317|  1.94k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  318|       |
  319|  1.94k|    #define NUM_KEYWORDS 1
  320|  1.94k|    static struct {
  321|  1.94k|        PyGC_Head _this_is_not_used;
  322|  1.94k|        PyObject_VAR_HEAD
  323|  1.94k|        Py_hash_t ob_hash;
  324|  1.94k|        PyObject *ob_item[NUM_KEYWORDS];
  325|  1.94k|    } _kwtuple = {
  326|  1.94k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  1.94k|    {                                     \
  |  |   98|  1.94k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  1.94k|    {                               \
  |  |  |  |   91|  1.94k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  1.94k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  1.94k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   49|  1.94k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  1.94k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  1.94k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  1.94k|        (type)                      \
  |  |  |  |   93|  1.94k|    },
  |  |  ------------------
  |  |   99|  1.94k|        (size)                            \
  |  |  100|  1.94k|    },
  ------------------
  327|  1.94k|        .ob_hash = -1,
  328|  1.94k|        .ob_item = { &_Py_ID(tabsize), },
  ------------------
  |  |  921|  1.94k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.94k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.94k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  329|  1.94k|    };
  330|  1.94k|    #undef NUM_KEYWORDS
  331|  1.94k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  332|       |
  333|       |    #else  // !Py_BUILD_CORE
  334|       |    #  define KWTUPLE NULL
  335|       |    #endif  // !Py_BUILD_CORE
  336|       |
  337|  1.94k|    static const char * const _keywords[] = {"tabsize", NULL};
  338|  1.94k|    static _PyArg_Parser _parser = {
  339|  1.94k|        .keywords = _keywords,
  340|  1.94k|        .fname = "expandtabs",
  341|  1.94k|        .kwtuple = KWTUPLE,
  ------------------
  |  |  331|  1.94k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  342|  1.94k|    };
  343|  1.94k|    #undef KWTUPLE
  344|  1.94k|    PyObject *argsbuf[1];
  345|  1.94k|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (345:36): [True: 0, False: 1.94k]
  ------------------
  346|  1.94k|    int tabsize = 8;
  347|       |
  348|  1.94k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  1.94k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 1.94k, False: 0]
  |  |  ------------------
  |  |   89|  1.94k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 1.94k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 1.94k]
  |  |  |  Branch (89:43): [True: 1.94k, False: 0]
  |  |  |  Branch (89:67): [True: 0, False: 1.94k]
  |  |  ------------------
  |  |   90|  1.94k|      (args) : \
  |  |   91|  1.94k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|  1.94k|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  349|  1.94k|            /*minpos*/ 0, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  350|  1.94k|    if (!args) {
  ------------------
  |  Branch (350:9): [True: 0, False: 1.94k]
  ------------------
  351|      0|        goto exit;
  352|      0|    }
  353|  1.94k|    if (!noptargs) {
  ------------------
  |  Branch (353:9): [True: 1.94k, False: 0]
  ------------------
  354|  1.94k|        goto skip_optional_pos;
  355|  1.94k|    }
  356|      0|    tabsize = PyLong_AsInt(args[0]);
  357|      0|    if (tabsize == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (357:9): [True: 0, False: 0]
  |  Branch (357:26): [True: 0, False: 0]
  ------------------
  358|      0|        goto exit;
  359|      0|    }
  360|  1.94k|skip_optional_pos:
  361|  1.94k|    return_value = unicode_expandtabs_impl(self, tabsize);
  362|       |
  363|  1.94k|exit:
  364|  1.94k|    return return_value;
  365|  1.94k|}
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|   574k|{
  809|   574k|    return unicode_lower_impl(self);
  810|   574k|}
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|     91|{
 1093|     91|    PyObject *return_value = NULL;
 1094|     91|    PyObject *substr;
 1095|     91|    Py_ssize_t start = 0;
 1096|     91|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|     91|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1097|     91|    Py_ssize_t _return_value;
 1098|       |
 1099|     91|    if (!_PyArg_CheckPositional("rfind", nargs, 1, 3)) {
  ------------------
  |  |   31|     91|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 91, False: 0]
  |  |  |  Branch (31:27): [True: 91, False: 0]
  |  |  ------------------
  |  |   32|     91|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1100|      0|        goto exit;
 1101|      0|    }
 1102|     91|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|     91|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     91|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1102:9): [True: 0, False: 91]
  ------------------
 1103|      0|        _PyArg_BadArgument("rfind", "argument 1", "str", args[0]);
 1104|      0|        goto exit;
 1105|      0|    }
 1106|     91|    substr = args[0];
 1107|     91|    if (nargs < 2) {
  ------------------
  |  Branch (1107:9): [True: 91, False: 0]
  ------------------
 1108|     91|        goto skip_optional;
 1109|     91|    }
 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|     91|skip_optional:
 1120|     91|    _return_value = unicode_rfind_impl(str, substr, start, end);
 1121|     91|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (1121:9): [True: 0, False: 91]
  |  Branch (1121:34): [True: 0, False: 0]
  ------------------
 1122|      0|        goto exit;
 1123|      0|    }
 1124|     91|    return_value = PyLong_FromSsize_t(_return_value);
 1125|       |
 1126|     91|exit:
 1127|     91|    return return_value;
 1128|     91|}
unicodeobject.c:unicode_rstrip:
  896|  5.17k|{
  897|  5.17k|    PyObject *return_value = NULL;
  898|  5.17k|    PyObject *chars = Py_None;
  ------------------
  |  |  616|  5.17k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  899|       |
  900|  5.17k|    if (!_PyArg_CheckPositional("rstrip", nargs, 0, 1)) {
  ------------------
  |  |   31|  5.17k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 5.17k, False: 0]
  |  |  |  Branch (31:27): [True: 5.17k, False: 0]
  |  |  ------------------
  |  |   32|  5.17k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  901|      0|        goto exit;
  902|      0|    }
  903|  5.17k|    if (nargs < 1) {
  ------------------
  |  Branch (903:9): [True: 405, False: 4.77k]
  ------------------
  904|    405|        goto skip_optional;
  905|    405|    }
  906|  4.77k|    chars = args[0];
  907|  5.17k|skip_optional:
  908|  5.17k|    return_value = unicode_rstrip_impl(self, chars);
  909|       |
  910|  5.17k|exit:
  911|  5.17k|    return return_value;
  912|  5.17k|}
unicodeobject.c:unicode_strip:
  828|      3|{
  829|      3|    PyObject *return_value = NULL;
  830|      3|    PyObject *chars = Py_None;
  ------------------
  |  |  616|      3|#  define Py_None (&_Py_NoneStruct)
  ------------------
  831|       |
  832|      3|    if (!_PyArg_CheckPositional("strip", 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]
  |  |  ------------------
  ------------------
  833|      0|        goto exit;
  834|      0|    }
  835|      3|    if (nargs < 1) {
  ------------------
  |  Branch (835:9): [True: 3, False: 0]
  ------------------
  836|      3|        goto skip_optional;
  837|      3|    }
  838|      0|    chars = args[0];
  839|      3|skip_optional:
  840|      3|    return_value = unicode_strip_impl(self, chars);
  841|       |
  842|      3|exit:
  843|      3|    return return_value;
  844|      3|}
unicodeobject.c:unicode_upper:
 1634|     51|{
 1635|     51|    return unicode_upper_impl(self);
 1636|     51|}
unicodeobject.c:unicode_startswith:
 1698|   115k|{
 1699|   115k|    PyObject *return_value = NULL;
 1700|   115k|    PyObject *subobj;
 1701|   115k|    Py_ssize_t start = 0;
 1702|   115k|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|   115k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1703|       |
 1704|   115k|    if (!_PyArg_CheckPositional("startswith", nargs, 1, 3)) {
  ------------------
  |  |   31|   115k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 115k, False: 0]
  |  |  |  Branch (31:27): [True: 115k, False: 0]
  |  |  ------------------
  |  |   32|   115k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1705|      0|        goto exit;
 1706|      0|    }
 1707|   115k|    subobj = args[0];
 1708|   115k|    if (nargs < 2) {
  ------------------
  |  Branch (1708:9): [True: 115k, False: 0]
  ------------------
 1709|   115k|        goto skip_optional;
 1710|   115k|    }
 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|   115k|skip_optional:
 1721|   115k|    return_value = unicode_startswith_impl(self, subobj, start, end);
 1722|       |
 1723|   115k|exit:
 1724|   115k|    return return_value;
 1725|   115k|}
unicodeobject.c:unicode_endswith:
 1749|  48.5k|{
 1750|  48.5k|    PyObject *return_value = NULL;
 1751|  48.5k|    PyObject *subobj;
 1752|  48.5k|    Py_ssize_t start = 0;
 1753|  48.5k|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  48.5k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1754|       |
 1755|  48.5k|    if (!_PyArg_CheckPositional("endswith", nargs, 1, 3)) {
  ------------------
  |  |   31|  48.5k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 48.5k, False: 0]
  |  |  |  Branch (31:27): [True: 48.5k, False: 0]
  |  |  ------------------
  |  |   32|  48.5k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1756|      0|        goto exit;
 1757|      0|    }
 1758|  48.5k|    subobj = args[0];
 1759|  48.5k|    if (nargs < 2) {
  ------------------
  |  Branch (1759:9): [True: 48.5k, False: 0]
  ------------------
 1760|  48.5k|        goto skip_optional;
 1761|  48.5k|    }
 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|  48.5k|skip_optional:
 1772|  48.5k|    return_value = unicode_endswith_impl(self, subobj, start, end);
 1773|       |
 1774|  48.5k|exit:
 1775|  48.5k|    return return_value;
 1776|  48.5k|}
unicodeobject.c:unicode_isascii:
  496|    366|{
  497|    366|    return unicode_isascii_impl(self);
  498|    366|}
unicodeobject.c:unicode_isidentifier:
  706|     32|{
  707|     32|    return unicode_isidentifier_impl(self);
  708|     32|}
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), },
  ------------------
  |  |  921|      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), },
  ------------------
  |  |  921|      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), },
  ------------------
  |  |  921|      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|   110k|{
  384|   110k|    PyTuple_SET_ITEM(names, offset, Py_NewRef(name));
  ------------------
  |  |   40|   110k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   110k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   110k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   110k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   110k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  385|   110k|    _PyLocals_SetKind(kinds, offset, kind);
  386|   110k|}
_PyCode_Validate:
  447|  56.1k|{
  448|       |    /* Check argument types */
  449|  56.1k|    if (con->argcount < con->posonlyargcount || con->posonlyargcount < 0 ||
  ------------------
  |  Branch (449:9): [True: 0, False: 56.1k]
  |  Branch (449:49): [True: 0, False: 56.1k]
  ------------------
  450|  56.1k|        con->kwonlyargcount < 0 ||
  ------------------
  |  Branch (450:9): [True: 0, False: 56.1k]
  ------------------
  451|  56.1k|        con->stacksize < 0 || con->flags < 0 ||
  ------------------
  |  Branch (451:9): [True: 0, False: 56.1k]
  |  Branch (451:31): [True: 0, False: 56.1k]
  ------------------
  452|  56.1k|        con->code == NULL || !PyBytes_Check(con->code) ||
  ------------------
  |  |   28|  56.1k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   112k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (452:9): [True: 0, False: 56.1k]
  |  Branch (452:30): [True: 0, False: 56.1k]
  ------------------
  453|  56.1k|        con->consts == NULL || !PyTuple_Check(con->consts) ||
  ------------------
  |  |   27|  56.1k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   112k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (453:9): [True: 0, False: 56.1k]
  |  Branch (453:32): [True: 0, False: 56.1k]
  ------------------
  454|  56.1k|        con->names == NULL || !PyTuple_Check(con->names) ||
  ------------------
  |  |   27|  56.1k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   112k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (454:9): [True: 0, False: 56.1k]
  |  Branch (454:31): [True: 0, False: 56.1k]
  ------------------
  455|  56.1k|        con->localsplusnames == NULL || !PyTuple_Check(con->localsplusnames) ||
  ------------------
  |  |   27|  56.1k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   112k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (455:9): [True: 0, False: 56.1k]
  |  Branch (455:41): [True: 0, False: 56.1k]
  ------------------
  456|  56.1k|        con->localspluskinds == NULL || !PyBytes_Check(con->localspluskinds) ||
  ------------------
  |  |   28|  56.1k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   112k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (456:9): [True: 0, False: 56.1k]
  |  Branch (456:41): [True: 0, False: 56.1k]
  ------------------
  457|  56.1k|        PyTuple_GET_SIZE(con->localsplusnames)
  ------------------
  |  |   27|  56.1k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  56.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (457:9): [True: 0, False: 56.1k]
  ------------------
  458|  56.1k|            != PyBytes_GET_SIZE(con->localspluskinds) ||
  ------------------
  |  |   33|   112k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  56.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  459|  56.1k|        con->name == NULL || !PyUnicode_Check(con->name) ||
  ------------------
  |  |  103|  56.1k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   112k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (459:9): [True: 0, False: 56.1k]
  |  Branch (459:30): [True: 0, False: 56.1k]
  ------------------
  460|  56.1k|        con->qualname == NULL || !PyUnicode_Check(con->qualname) ||
  ------------------
  |  |  103|  56.1k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   112k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (460:9): [True: 0, False: 56.1k]
  |  Branch (460:34): [True: 0, False: 56.1k]
  ------------------
  461|  56.1k|        con->filename == NULL || !PyUnicode_Check(con->filename) ||
  ------------------
  |  |  103|  56.1k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   112k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (461:9): [True: 0, False: 56.1k]
  |  Branch (461:34): [True: 0, False: 56.1k]
  ------------------
  462|  56.1k|        con->linetable == NULL || !PyBytes_Check(con->linetable) ||
  ------------------
  |  |   28|  56.1k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   112k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (462:9): [True: 0, False: 56.1k]
  |  Branch (462:35): [True: 0, False: 56.1k]
  ------------------
  463|  56.1k|        con->exceptiontable == NULL || !PyBytes_Check(con->exceptiontable)
  ------------------
  |  |   28|  56.1k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  56.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (463:9): [True: 0, False: 56.1k]
  |  Branch (463:40): [True: 0, False: 56.1k]
  ------------------
  464|  56.1k|        ) {
  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|  56.1k|    if (PyBytes_GET_SIZE(con->code) > INT_MAX) {
  ------------------
  |  |   33|  56.1k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  56.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (472:9): [True: 0, False: 56.1k]
  ------------------
  473|      0|        PyErr_SetString(PyExc_OverflowError,
  474|      0|                        "code: co_code larger than INT_MAX");
  475|      0|        return -1;
  476|      0|    }
  477|  56.1k|    if (PyBytes_GET_SIZE(con->code) % sizeof(_Py_CODEUNIT) != 0 ||
  ------------------
  |  |   33|  56.1k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  56.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (477:9): [True: 0, False: 56.1k]
  ------------------
  478|  56.1k|        !_Py_IS_ALIGNED(PyBytes_AS_STRING(con->code), sizeof(_Py_CODEUNIT))
  ------------------
  |  |  221|  56.1k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (478:9): [True: 0, False: 56.1k]
  ------------------
  479|  56.1k|        ) {
  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|  56.1k|    int nlocals;
  488|  56.1k|    get_localsplus_counts(con->localsplusnames, con->localspluskinds,
  489|  56.1k|                          &nlocals, NULL, NULL);
  490|  56.1k|    int nplainlocals = nlocals -
  491|  56.1k|                       con->argcount -
  492|  56.1k|                       con->kwonlyargcount -
  493|  56.1k|                       ((con->flags & CO_VARARGS) != 0) -
  ------------------
  |  |  124|  56.1k|#define CO_VARARGS      0x0004
  ------------------
  494|  56.1k|                       ((con->flags & CO_VARKEYWORDS) != 0);
  ------------------
  |  |  125|  56.1k|#define CO_VARKEYWORDS  0x0008
  ------------------
  495|  56.1k|    if (nplainlocals < 0) {
  ------------------
  |  Branch (495:9): [True: 0, False: 56.1k]
  ------------------
  496|      0|        PyErr_SetString(PyExc_ValueError, "code: co_varnames is too small");
  497|      0|        return -1;
  498|      0|    }
  499|       |
  500|  56.1k|    return 0;
  501|  56.1k|}
_PyCode_New:
  717|  56.1k|{
  718|  56.1k|    if (intern_code_constants(con) < 0) {
  ------------------
  |  Branch (718:9): [True: 0, False: 56.1k]
  ------------------
  719|      0|        return NULL;
  720|      0|    }
  721|       |
  722|  56.1k|    PyObject *replacement_locations = NULL;
  723|       |    // Compact the linetable if we are opted out of debug
  724|       |    // ranges.
  725|  56.1k|    if (!_Py_GetConfig()->code_debug_ranges) {
  ------------------
  |  Branch (725:9): [True: 0, False: 56.1k]
  ------------------
  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|  56.1k|    Py_ssize_t size = PyBytes_GET_SIZE(con->code) / sizeof(_Py_CODEUNIT);
  ------------------
  |  |   33|  56.1k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  56.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  734|  56.1k|    PyCodeObject *co;
  735|       |#ifdef Py_GIL_DISABLED
  736|       |    co = PyObject_GC_NewVar(PyCodeObject, &PyCode_Type, size);
  737|       |#else
  738|  56.1k|    co = PyObject_NewVar(PyCodeObject, &PyCode_Type, size);
  ------------------
  |  |  137|  56.1k|                ( (type *) _PyObject_NewVar((typeobj), (n)) )
  ------------------
  739|  56.1k|#endif
  740|  56.1k|    if (co == NULL) {
  ------------------
  |  Branch (740:9): [True: 0, False: 56.1k]
  ------------------
  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|  56.1k|    if (init_code(co, con) < 0) {
  ------------------
  |  Branch (750:9): [True: 0, False: 56.1k]
  ------------------
  751|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  752|      0|        Py_DECREF(co);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  753|      0|        return NULL;
  754|      0|    }
  755|       |
  756|       |#ifdef Py_GIL_DISABLED
  757|       |    co->_co_unique_id = _PyObject_AssignUniqueId((PyObject *)co);
  758|       |    _PyObject_GC_TRACK(co);
  759|       |#endif
  760|  56.1k|    Py_XDECREF(replacement_locations);
  ------------------
  |  |  524|  56.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  56.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  761|  56.1k|    return co;
  762|  56.1k|}
_PyCode_ConstantKey:
 2936|   117M|{
 2937|   117M|    PyObject *key;
 2938|       |
 2939|       |    /* Py_None and Py_Ellipsis are singletons. */
 2940|   117M|    if (op == Py_None || op == Py_Ellipsis
  ------------------
  |  |  616|   234M|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (op == Py_None || op == Py_Ellipsis
  ------------------
  |  |   14|   234M|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (2940:9): [True: 20.7k, False: 117M]
  |  Branch (2940:26): [True: 3.32k, False: 117M]
  ------------------
 2941|   117M|       || PyLong_CheckExact(op)
  ------------------
  |  |   14|   117M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|   234M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   117M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   117M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 63.1M, False: 54.2M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2942|   117M|       || PyUnicode_CheckExact(op)
  ------------------
  |  |  104|  54.2M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   171M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 565k, False: 53.6M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2943|       |          /* code_richcompare() uses _PyCode_ConstantKey() internally */
 2944|  53.6M|       || PyCode_Check(op))
  ------------------
  |  |  168|  53.6M|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|  53.6M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  53.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  53.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 89.2k, False: 53.5M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2945|  63.8M|    {
 2946|       |        /* Objects of these types are always different from object of other
 2947|       |         * type and from tuples. */
 2948|  63.8M|        key = Py_NewRef(op);
  ------------------
  |  |  550|  63.8M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  63.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2949|  63.8M|    }
 2950|  53.5M|    else if (PyBool_Check(op) || PyBytes_CheckExact(op)) {
  ------------------
  |  |   12|  53.5M|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|   107M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  53.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  53.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 14.0k, False: 53.5M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  else if (PyBool_Check(op) || PyBytes_CheckExact(op)) {
  ------------------
  |  |   29|  53.5M|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|  53.5M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  53.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  53.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 176k, False: 53.3M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2951|       |        /* Make booleans different from integers 0 and 1.
 2952|       |         * Avoid BytesWarning from comparing bytes with strings. */
 2953|   190k|        key = _PyTuple_FromPair((PyObject *)Py_TYPE(op), op);
  ------------------
  |  |  213|   190k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   190k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   190k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2954|   190k|    }
 2955|  53.3M|    else if (PyFloat_CheckExact(op)) {
  ------------------
  |  |   17|  53.3M|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|  53.3M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  53.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  53.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 52.5M, False: 849k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2956|  52.5M|        double d = PyFloat_AS_DOUBLE(op);
  ------------------
  |  |   18|  52.5M|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2957|       |        /* all we need is to make the tuple different in either the 0.0
 2958|       |         * or -0.0 case from all others, just to avoid the "coercion".
 2959|       |         */
 2960|  52.5M|        if (d == 0.0 && copysign(1.0, d) < 0.0)
  ------------------
  |  Branch (2960:13): [True: 91.1k, False: 52.4M]
  |  Branch (2960:25): [True: 7.06k, False: 84.0k]
  ------------------
 2961|  7.06k|            key = PyTuple_Pack(3, Py_TYPE(op), op, Py_None);
  ------------------
  |  |  213|  7.06k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          key = PyTuple_Pack(3, Py_TYPE(op), op, Py_None);
  ------------------
  |  |  616|  7.06k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2962|  52.5M|        else
 2963|  52.5M|            key = _PyTuple_FromPair((PyObject *)Py_TYPE(op), op);
  ------------------
  |  |  213|  52.5M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  52.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2964|  52.5M|    }
 2965|   849k|    else if (PyComplex_CheckExact(op)) {
  ------------------
  |  |   14|   849k|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  215|   849k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   849k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   849k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 289k, False: 559k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2966|   289k|        Py_complex z;
 2967|   289k|        int real_negzero, imag_negzero;
 2968|       |        /* For the complex case we must make complex(x, 0.)
 2969|       |           different from complex(x, -0.) and complex(0., y)
 2970|       |           different from complex(-0., y), for any x and y.
 2971|       |           All four complex zeros must be distinguished.*/
 2972|   289k|        z = PyComplex_AsCComplex(op);
 2973|   289k|        real_negzero = z.real == 0.0 && copysign(1.0, z.real) < 0.0;
  ------------------
  |  Branch (2973:24): [True: 150k, False: 139k]
  |  Branch (2973:41): [True: 20.4k, False: 130k]
  ------------------
 2974|   289k|        imag_negzero = z.imag == 0.0 && copysign(1.0, z.imag) < 0.0;
  ------------------
  |  Branch (2974:24): [True: 59.2k, False: 230k]
  |  Branch (2974:41): [True: 18.3k, False: 40.8k]
  ------------------
 2975|       |        /* use True, False and None singleton as tags for the real and imag
 2976|       |         * sign, to make tuples different */
 2977|   289k|        if (real_negzero && imag_negzero) {
  ------------------
  |  Branch (2977:13): [True: 20.4k, False: 269k]
  |  Branch (2977:29): [True: 8.38k, False: 12.0k]
  ------------------
 2978|  8.38k|            key = PyTuple_Pack(3, Py_TYPE(op), op, Py_True);
  ------------------
  |  |  213|  8.38k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          key = PyTuple_Pack(3, Py_TYPE(op), op, Py_True);
  ------------------
  |  |   26|  8.38k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  8.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2979|  8.38k|        }
 2980|   281k|        else if (imag_negzero) {
  ------------------
  |  Branch (2980:18): [True: 9.98k, False: 271k]
  ------------------
 2981|  9.98k|            key = PyTuple_Pack(3, Py_TYPE(op), op, Py_False);
  ------------------
  |  |  213|  9.98k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          key = PyTuple_Pack(3, Py_TYPE(op), op, Py_False);
  ------------------
  |  |   25|  9.98k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  9.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2982|  9.98k|        }
 2983|   271k|        else if (real_negzero) {
  ------------------
  |  Branch (2983:18): [True: 12.0k, False: 259k]
  ------------------
 2984|  12.0k|            key = PyTuple_Pack(3, Py_TYPE(op), op, Py_None);
  ------------------
  |  |  213|  12.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          key = PyTuple_Pack(3, Py_TYPE(op), op, Py_None);
  ------------------
  |  |  616|  12.0k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2985|  12.0k|        }
 2986|   259k|        else {
 2987|   259k|            key = _PyTuple_FromPair((PyObject *)Py_TYPE(op), op);
  ------------------
  |  |  213|   259k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   259k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   259k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2988|   259k|        }
 2989|   289k|    }
 2990|   559k|    else if (PyTuple_CheckExact(op)) {
  ------------------
  |  |   28|   559k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|   559k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   559k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   559k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 546k, False: 12.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2991|   546k|        Py_ssize_t i, len;
 2992|   546k|        PyObject *tuple;
 2993|       |
 2994|   546k|        len = PyTuple_GET_SIZE(op);
  ------------------
  |  |   27|   546k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   546k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   546k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2995|   546k|        tuple = PyTuple_New(len);
 2996|   546k|        if (tuple == NULL)
  ------------------
  |  Branch (2996:13): [True: 0, False: 546k]
  ------------------
 2997|      0|            return NULL;
 2998|       |
 2999|   115M|        for (i=0; i < len; i++) {
  ------------------
  |  Branch (2999:19): [True: 115M, False: 546k]
  ------------------
 3000|   115M|            PyObject *item, *item_key;
 3001|       |
 3002|   115M|            item = PyTuple_GET_ITEM(op, i);
  ------------------
  |  |   29|   115M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   115M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   115M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3002:20): [True: 115M, False: 0]
  ------------------
 3003|      0|            item_key = _PyCode_ConstantKey(item);
 3004|   115M|            if (item_key == NULL) {
  ------------------
  |  Branch (3004:17): [True: 0, False: 115M]
  ------------------
 3005|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3006|      0|                return NULL;
 3007|      0|            }
 3008|       |
 3009|   115M|            PyTuple_SET_ITEM(tuple, i, item_key);
  ------------------
  |  |   40|   115M|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   115M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   115M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   115M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   115M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3010|   115M|        }
 3011|       |
 3012|   546k|        key = _PyTuple_FromPair(tuple, op);
 3013|   546k|        Py_DECREF(tuple);
  ------------------
  |  |  430|   546k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   546k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   546k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3014|   546k|    }
 3015|  12.7k|    else if (PyFrozenSet_CheckExact(op)) {
  ------------------
  |  |   23|  12.7k|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|  12.7k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 5.43k, False: 7.34k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3016|  5.43k|        Py_ssize_t pos = 0;
 3017|  5.43k|        PyObject *item;
 3018|  5.43k|        Py_hash_t hash;
 3019|  5.43k|        Py_ssize_t i, len;
 3020|  5.43k|        PyObject *tuple, *set;
 3021|       |
 3022|  5.43k|        len = PySet_GET_SIZE(op);
  ------------------
  |  |   71|  5.43k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|  5.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3023|  5.43k|        tuple = PyTuple_New(len);
 3024|  5.43k|        if (tuple == NULL)
  ------------------
  |  Branch (3024:13): [True: 0, False: 5.43k]
  ------------------
 3025|      0|            return NULL;
 3026|       |
 3027|  5.43k|        i = 0;
 3028|  29.5k|        while (_PySet_NextEntry(op, &pos, &item, &hash)) {
  ------------------
  |  Branch (3028:16): [True: 24.1k, False: 5.43k]
  ------------------
 3029|  24.1k|            PyObject *item_key;
 3030|       |
 3031|  24.1k|            item_key = _PyCode_ConstantKey(item);
 3032|  24.1k|            if (item_key == NULL) {
  ------------------
  |  Branch (3032:17): [True: 0, False: 24.1k]
  ------------------
 3033|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3034|      0|                return NULL;
 3035|      0|            }
 3036|       |
 3037|  24.1k|            assert(i < len);
  ------------------
  |  Branch (3037:13): [True: 24.1k, False: 0]
  ------------------
 3038|  24.1k|            PyTuple_SET_ITEM(tuple, i, item_key);
  ------------------
  |  |   40|  24.1k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  24.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  24.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3039|  24.1k|            i++;
 3040|  24.1k|        }
 3041|  5.43k|        set = PyFrozenSet_New(tuple);
 3042|  5.43k|        Py_DECREF(tuple);
  ------------------
  |  |  430|  5.43k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3043|  5.43k|        if (set == NULL)
  ------------------
  |  Branch (3043:13): [True: 0, False: 5.43k]
  ------------------
 3044|      0|            return NULL;
 3045|       |
 3046|  5.43k|        key = _PyTuple_FromPair(set, op);
 3047|  5.43k|        Py_DECREF(set);
  ------------------
  |  |  430|  5.43k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3048|  5.43k|        return key;
 3049|  5.43k|    }
 3050|  7.34k|    else if (PySlice_Check(op)) {
  ------------------
  |  |   22|  7.34k|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|  7.34k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 7.34k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3051|  7.34k|        PySliceObject *slice = (PySliceObject *)op;
 3052|  7.34k|        PyObject *start_key = NULL;
 3053|  7.34k|        PyObject *stop_key = NULL;
 3054|  7.34k|        PyObject *step_key = NULL;
 3055|  7.34k|        key = NULL;
 3056|       |
 3057|  7.34k|        start_key = _PyCode_ConstantKey(slice->start);
 3058|  7.34k|        if (start_key == NULL) {
  ------------------
  |  Branch (3058:13): [True: 0, False: 7.34k]
  ------------------
 3059|      0|            goto slice_exit;
 3060|      0|        }
 3061|       |
 3062|  7.34k|        stop_key = _PyCode_ConstantKey(slice->stop);
 3063|  7.34k|        if (stop_key == NULL) {
  ------------------
  |  Branch (3063:13): [True: 0, False: 7.34k]
  ------------------
 3064|      0|            goto slice_exit;
 3065|      0|        }
 3066|       |
 3067|  7.34k|        step_key = _PyCode_ConstantKey(slice->step);
 3068|  7.34k|        if (step_key == NULL) {
  ------------------
  |  Branch (3068:13): [True: 0, False: 7.34k]
  ------------------
 3069|      0|            goto slice_exit;
 3070|      0|        }
 3071|       |
 3072|  7.34k|        PyObject *slice_key = PySlice_New(start_key, stop_key, step_key);
 3073|  7.34k|        if (slice_key == NULL) {
  ------------------
  |  Branch (3073:13): [True: 0, False: 7.34k]
  ------------------
 3074|      0|            goto slice_exit;
 3075|      0|        }
 3076|       |
 3077|  7.34k|        key = _PyTuple_FromPair(slice_key, op);
 3078|  7.34k|        Py_DECREF(slice_key);
  ------------------
  |  |  430|  7.34k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3079|  7.34k|    slice_exit:
 3080|  7.34k|        Py_XDECREF(start_key);
  ------------------
  |  |  524|  7.34k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3081|  7.34k|        Py_XDECREF(stop_key);
  ------------------
  |  |  524|  7.34k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3082|  7.34k|        Py_XDECREF(step_key);
  ------------------
  |  |  524|  7.34k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3083|  7.34k|    }
 3084|      0|    else {
 3085|       |        /* for other types, use the object identifier as a unique identifier
 3086|       |         * to ensure that they are seen as unequal. */
 3087|      0|        PyObject *obj_id = PyLong_FromVoidPtr(op);
 3088|      0|        if (obj_id == NULL)
  ------------------
  |  Branch (3088:13): [True: 0, False: 0]
  ------------------
 3089|      0|            return NULL;
 3090|       |
 3091|      0|        key = _PyTuple_FromPair(obj_id, op);
 3092|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3093|      0|    }
 3094|   117M|    return key;
 3095|   117M|}
_PyCode_Init:
 3257|      2|{
 3258|       |#ifdef Py_GIL_DISABLED
 3259|       |    struct _py_code_state *state = &interp->code_state;
 3260|       |    state->constants = _Py_hashtable_new_full(&hash_const, &compare_constants,
 3261|       |                                              &destroy_key, NULL, NULL);
 3262|       |    if (state->constants == NULL) {
 3263|       |        return _PyStatus_NO_MEMORY();
 3264|       |    }
 3265|       |#endif
 3266|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3267|      2|}
codeobject.c:get_localsplus_counts:
  392|   112k|{
  393|   112k|    int nlocals = 0;
  394|   112k|    int ncellvars = 0;
  395|   112k|    int nfreevars = 0;
  396|   112k|    Py_ssize_t nlocalsplus = PyTuple_GET_SIZE(names);
  ------------------
  |  |   27|   112k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   112k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   112k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  397|   353k|    for (int i = 0; i < nlocalsplus; i++) {
  ------------------
  |  Branch (397:21): [True: 241k, False: 112k]
  ------------------
  398|   241k|        _PyLocals_Kind kind = _PyLocals_GetKind(kinds, i);
  399|   241k|        if (kind & CO_FAST_LOCAL) {
  ------------------
  |  |  197|   241k|#define CO_FAST_LOCAL   (0x20)
  ------------------
  |  Branch (399:13): [True: 190k, False: 50.1k]
  ------------------
  400|   190k|            nlocals += 1;
  401|   190k|            if (kind & CO_FAST_CELL) {
  ------------------
  |  |  198|   190k|#define CO_FAST_CELL    (0x40)
  ------------------
  |  Branch (401:17): [True: 362, False: 190k]
  ------------------
  402|    362|                ncellvars += 1;
  403|    362|            }
  404|   190k|        }
  405|  50.1k|        else if (kind & CO_FAST_CELL) {
  ------------------
  |  |  198|  50.1k|#define CO_FAST_CELL    (0x40)
  ------------------
  |  Branch (405:18): [True: 24.7k, False: 25.3k]
  ------------------
  406|  24.7k|            ncellvars += 1;
  407|  24.7k|        }
  408|  25.3k|        else if (kind & CO_FAST_FREE) {
  ------------------
  |  |  199|  25.3k|#define CO_FAST_FREE    (0x80)
  ------------------
  |  Branch (408:18): [True: 25.3k, False: 0]
  ------------------
  409|  25.3k|            nfreevars += 1;
  410|  25.3k|        }
  411|   241k|    }
  412|   112k|    if (pnlocals != NULL) {
  ------------------
  |  Branch (412:9): [True: 112k, False: 0]
  ------------------
  413|   112k|        *pnlocals = nlocals;
  414|   112k|    }
  415|   112k|    if (pncellvars != NULL) {
  ------------------
  |  Branch (415:9): [True: 56.1k, False: 56.1k]
  ------------------
  416|  56.1k|        *pncellvars = ncellvars;
  417|  56.1k|    }
  418|   112k|    if (pnfreevars != NULL) {
  ------------------
  |  Branch (418:9): [True: 56.1k, False: 56.1k]
  ------------------
  419|  56.1k|        *pnfreevars = nfreevars;
  420|  56.1k|    }
  421|   112k|}
codeobject.c:intern_code_constants:
  690|  56.1k|{
  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|  56.1k|    if (intern_strings(con->names) < 0) {
  ------------------
  |  Branch (696:9): [True: 0, False: 56.1k]
  ------------------
  697|      0|        goto error;
  698|      0|    }
  699|  56.1k|    if (intern_constants(con->consts, NULL) < 0) {
  ------------------
  |  Branch (699:9): [True: 0, False: 56.1k]
  ------------------
  700|      0|        goto error;
  701|      0|    }
  702|  56.1k|    if (intern_strings(con->localsplusnames) < 0) {
  ------------------
  |  Branch (702:9): [True: 0, False: 56.1k]
  ------------------
  703|      0|        goto error;
  704|      0|    }
  705|  56.1k|    FT_MUTEX_UNLOCK(&state->mutex);
  ------------------
  |  |  206|  56.1k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (206:44): [Folded, False: 56.1k]
  |  |  ------------------
  ------------------
  706|  56.1k|    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|  56.1k|}
codeobject.c:intern_strings:
  183|   112k|{
  184|   112k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  185|   112k|    Py_ssize_t i;
  186|       |
  187|   455k|    for (i = PyTuple_GET_SIZE(tuple); --i >= 0; ) {
  ------------------
  |  |   27|   112k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   112k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   112k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (187:39): [True: 342k, False: 112k]
  ------------------
  188|   342k|        PyObject *v = PyTuple_GET_ITEM(tuple, i);
  ------------------
  |  |   29|   342k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   342k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   342k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (188:23): [True: 342k, False: 0]
  ------------------
  189|   342k|        if (v == NULL || !PyUnicode_CheckExact(v)) {
  ------------------
  |  |  104|   342k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   342k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   342k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   342k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (189:13): [True: 0, False: 342k]
  |  Branch (189:26): [True: 0, False: 342k]
  ------------------
  190|      0|            PyErr_SetString(PyExc_SystemError,
  191|      0|                            "non-string found in code slot");
  192|      0|            return -1;
  193|      0|        }
  194|   342k|        _PyUnicode_InternImmortal(interp, &_PyTuple_ITEMS(tuple)[i]);
  ------------------
  |  |   26|   342k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|   685k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 342k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  195|   342k|    }
  196|   112k|    return 0;
  197|   112k|}
codeobject.c:intern_constants:
  204|   116k|{
  205|   116k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  206|  2.98M|    for (Py_ssize_t i = PyTuple_GET_SIZE(tuple); --i >= 0; ) {
  ------------------
  |  |   27|   116k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   116k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   116k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (206:50): [True: 2.86M, False: 116k]
  ------------------
  207|  2.86M|        PyObject *v = PyTuple_GET_ITEM(tuple, i);
  ------------------
  |  |   29|  2.86M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.86M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.86M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (207:23): [True: 2.86M, False: 0]
  ------------------
  208|  2.86M|        if (PyUnicode_CheckExact(v)) {
  ------------------
  |  |  104|  2.86M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  2.86M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.86M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.86M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 74.0k, False: 2.79M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|  74.0k|            if (should_intern_string(v)) {
  ------------------
  |  Branch (209:17): [True: 37.7k, False: 36.3k]
  ------------------
  210|  37.7k|                PyObject *w = v;
  211|  37.7k|                _PyUnicode_InternMortal(interp, &v);
  212|  37.7k|                if (w != v) {
  ------------------
  |  Branch (212:21): [True: 95, False: 37.6k]
  ------------------
  213|     95|                    PyTuple_SET_ITEM(tuple, i, v);
  ------------------
  |  |   40|     95|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  214|     95|                    if (modified) {
  ------------------
  |  Branch (214:25): [True: 0, False: 95]
  ------------------
  215|      0|                        *modified = 1;
  216|      0|                    }
  217|     95|                }
  218|  37.7k|            }
  219|  74.0k|        }
  220|  2.79M|        else if (PyTuple_CheckExact(v)) {
  ------------------
  |  |   28|  2.79M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  2.79M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.79M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.79M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 58.8k, False: 2.73M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  221|  58.8k|            if (intern_constants(v, NULL) < 0) {
  ------------------
  |  Branch (221:17): [True: 0, False: 58.8k]
  ------------------
  222|      0|                return -1;
  223|      0|            }
  224|  58.8k|        }
  225|  2.73M|        else if (PyFrozenSet_CheckExact(v)) {
  ------------------
  |  |   23|  2.73M|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|  2.73M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.15k, False: 2.73M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  226|  1.15k|            PyObject *w = v;
  227|  1.15k|            PyObject *tmp = PySequence_Tuple(v);
  228|  1.15k|            if (tmp == NULL) {
  ------------------
  |  Branch (228:17): [True: 0, False: 1.15k]
  ------------------
  229|      0|                return -1;
  230|      0|            }
  231|  1.15k|            int tmp_modified = 0;
  232|  1.15k|            if (intern_constants(tmp, &tmp_modified) < 0) {
  ------------------
  |  Branch (232:17): [True: 0, False: 1.15k]
  ------------------
  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|  1.15k|            if (tmp_modified) {
  ------------------
  |  Branch (236:17): [True: 0, False: 1.15k]
  ------------------
  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|  1.15k|            Py_DECREF(tmp);
  ------------------
  |  |  430|  1.15k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.15k|        }
  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|  2.86M|    }
  303|   116k|    return 0;
  304|   116k|}
codeobject.c:should_intern_string:
  118|  74.0k|{
  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|  74.0k|    const unsigned char *s, *e;
  125|       |
  126|  74.0k|    if (!PyUnicode_IS_ASCII(o))
  ------------------
  |  |  227|  74.0k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (126:9): [True: 24.7k, False: 49.2k]
  ------------------
  127|  24.7k|        return 0;
  128|       |
  129|  49.2k|    s = PyUnicode_1BYTE_DATA(o);
  ------------------
  |  |  291|  49.2k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  49.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  130|  49.2k|    e = s + PyUnicode_GET_LENGTH(o);
  ------------------
  |  |  299|  49.2k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  49.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  49.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  131|   266k|    for (; s != e; s++) {
  ------------------
  |  Branch (131:12): [True: 228k, False: 37.7k]
  ------------------
  132|   228k|        if (!Py_ISALNUM(*s) && *s != '_')
  ------------------
  |  |   26|   457k|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |  138|   228k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |   12|   228k|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   10|   228k|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    8|   228k|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    9|   228k|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|   228k|#define PY_CTF_DIGIT  0x04
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (132:13): [True: 26.6k, False: 202k]
  |  Branch (132:32): [True: 11.5k, False: 15.0k]
  ------------------
  133|  11.5k|            return 0;
  134|   228k|    }
  135|  37.7k|    return 1;
  136|  49.2k|#endif
  137|  49.2k|}
codeobject.c:init_code:
  512|  56.1k|{
  513|  56.1k|    int nlocalsplus = (int)PyTuple_GET_SIZE(con->localsplusnames);
  ------------------
  |  |   27|  56.1k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  56.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  514|  56.1k|    int nlocals, ncellvars, nfreevars;
  515|  56.1k|    get_localsplus_counts(con->localsplusnames, con->localspluskinds,
  516|  56.1k|                          &nlocals, &ncellvars, &nfreevars);
  517|  56.1k|    if (con->stacksize == 0) {
  ------------------
  |  Branch (517:9): [True: 3, False: 56.1k]
  ------------------
  518|      3|        con->stacksize = 1;
  519|      3|    }
  520|       |
  521|  56.1k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  522|  56.1k|    co->co_filename = Py_NewRef(con->filename);
  ------------------
  |  |  550|  56.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  56.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  523|  56.1k|    co->co_name = Py_NewRef(con->name);
  ------------------
  |  |  550|  56.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  56.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  524|  56.1k|    co->co_qualname = Py_NewRef(con->qualname);
  ------------------
  |  |  550|  56.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  56.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  525|  56.1k|    _PyUnicode_InternMortal(interp, &co->co_filename);
  526|  56.1k|    _PyUnicode_InternMortal(interp, &co->co_name);
  527|  56.1k|    _PyUnicode_InternMortal(interp, &co->co_qualname);
  528|  56.1k|    co->co_flags = con->flags;
  529|       |
  530|  56.1k|    co->co_firstlineno = con->firstlineno;
  531|  56.1k|    co->co_linetable = Py_NewRef(con->linetable);
  ------------------
  |  |  550|  56.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  56.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  532|       |
  533|  56.1k|    co->co_consts = Py_NewRef(con->consts);
  ------------------
  |  |  550|  56.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  56.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  534|  56.1k|    co->co_names = Py_NewRef(con->names);
  ------------------
  |  |  550|  56.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  56.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  535|       |
  536|  56.1k|    co->co_localsplusnames = Py_NewRef(con->localsplusnames);
  ------------------
  |  |  550|  56.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  56.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  56.1k|    co->co_localspluskinds = Py_NewRef(con->localspluskinds);
  ------------------
  |  |  550|  56.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  56.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  538|       |
  539|  56.1k|    co->co_argcount = con->argcount;
  540|  56.1k|    co->co_posonlyargcount = con->posonlyargcount;
  541|  56.1k|    co->co_kwonlyargcount = con->kwonlyargcount;
  542|       |
  543|  56.1k|    co->co_stacksize = con->stacksize;
  544|       |
  545|  56.1k|    co->co_exceptiontable = Py_NewRef(con->exceptiontable);
  ------------------
  |  |  550|  56.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  56.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  546|       |
  547|       |    /* derived values */
  548|  56.1k|    co->co_nlocalsplus = nlocalsplus;
  549|  56.1k|    co->co_nlocals = nlocals;
  550|  56.1k|    co->co_framesize = nlocalsplus + con->stacksize + FRAME_SPECIALS_SIZE;
  ------------------
  |  |  122|  56.1k|#define FRAME_SPECIALS_SIZE ((int)((sizeof(_PyInterpreterFrame)-1)/sizeof(PyObject *)))
  ------------------
  551|  56.1k|    co->co_ncellvars = ncellvars;
  552|  56.1k|    co->co_nfreevars = nfreevars;
  553|  56.1k|    FT_MUTEX_LOCK(&interp->func_state.mutex);
  ------------------
  |  |  204|  56.1k|#define FT_MUTEX_LOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (204:42): [Folded, False: 56.1k]
  |  |  ------------------
  ------------------
  554|  56.1k|    co->co_version = interp->func_state.next_version;
  555|  56.1k|    if (interp->func_state.next_version != 0) {
  ------------------
  |  Branch (555:9): [True: 56.1k, False: 0]
  ------------------
  556|  56.1k|        interp->func_state.next_version++;
  557|  56.1k|    }
  558|  56.1k|    FT_MUTEX_UNLOCK(&interp->func_state.mutex);
  ------------------
  |  |  206|  56.1k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (206:44): [Folded, False: 56.1k]
  |  |  ------------------
  ------------------
  559|  56.1k|    co->_co_monitoring = NULL;
  560|  56.1k|    co->_co_instrumentation_version = 0;
  561|       |    /* not set */
  562|  56.1k|    co->co_weakreflist = NULL;
  563|  56.1k|    co->co_extra = NULL;
  564|  56.1k|    co->_co_cached = NULL;
  565|  56.1k|    co->co_executors = NULL;
  566|       |
  567|  56.1k|    memcpy(_PyCode_CODE(co), PyBytes_AS_STRING(con->code),
  ------------------
  |  |   16|  56.1k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  56.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                  memcpy(_PyCode_CODE(co), PyBytes_AS_STRING(con->code),
  ------------------
  |  |   27|  56.1k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  56.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  568|  56.1k|           PyBytes_GET_SIZE(con->code));
  ------------------
  |  |   33|  56.1k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  56.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.1k|#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|  56.1k|    int entry_point = 0;
  577|  88.1k|    while (entry_point < Py_SIZE(co)) {
  ------------------
  |  |  214|  88.1k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  88.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  88.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (577:12): [True: 88.1k, False: 0]
  ------------------
  578|  88.1k|        if (_PyCode_CODE(co)[entry_point].op.code == RESUME &&
  ------------------
  |  |   16|  88.1k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  88.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                      if (_PyCode_CODE(co)[entry_point].op.code == RESUME &&
  ------------------
  |  |  130|   176k|#define RESUME                                 128
  ------------------
  |  Branch (578:13): [True: 56.5k, False: 31.5k]
  ------------------
  579|  56.5k|           (_PyCode_CODE(co)[entry_point].op.arg & RESUME_OPARG_LOCATION_MASK) != RESUME_AT_GEN_EXPR_START
  ------------------
  |  |   16|  56.5k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  56.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                         (_PyCode_CODE(co)[entry_point].op.arg & RESUME_OPARG_LOCATION_MASK) != RESUME_AT_GEN_EXPR_START
  ------------------
  |  |   94|  56.5k|#define RESUME_OPARG_LOCATION_MASK 0x7
  ------------------
                         (_PyCode_CODE(co)[entry_point].op.arg & RESUME_OPARG_LOCATION_MASK) != RESUME_AT_GEN_EXPR_START
  ------------------
  |  |   92|  56.5k|#define RESUME_AT_GEN_EXPR_START 4
  ------------------
  |  Branch (579:12): [True: 56.1k, False: 423]
  ------------------
  580|  88.1k|        ) {
  581|  56.1k|            break;
  582|  56.1k|        }
  583|  31.9k|        entry_point++;
  584|  31.9k|    }
  585|  56.1k|    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|  56.1k|    _PyCode_Quicken(_PyCode_CODE(co), Py_SIZE(co), interp->opt_config.specialization_enabled, co->co_flags);
  ------------------
  |  |   16|  56.1k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  56.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                  _PyCode_Quicken(_PyCode_CODE(co), Py_SIZE(co), interp->opt_config.specialization_enabled, co->co_flags);
  ------------------
  |  |  214|  56.1k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  56.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  592|  56.1k|#endif
  593|  56.1k|    notify_code_watchers(PY_CODE_EVENT_CREATE, co);
  594|  56.1k|    return 0;
  595|  56.1k|}
codeobject.c:notify_code_watchers:
   42|   109k|{
   43|   109k|    assert(Py_REFCNT(co) > 0);
  ------------------
  |  Branch (43:5): [True: 109k, False: 0]
  ------------------
   44|   109k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   45|   109k|    assert(interp->_initialized);
  ------------------
  |  Branch (45:5): [True: 109k, False: 0]
  ------------------
   46|   109k|    uint8_t bits = interp->active_code_watchers;
   47|   109k|    int i = 0;
   48|   109k|    while (bits) {
  ------------------
  |  Branch (48:12): [True: 0, False: 109k]
  ------------------
   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|   109k|}
codeobject.c:code_dealloc:
 2400|  53.5k|{
 2401|  53.5k|    PyThreadState *tstate = PyThreadState_GET();
  ------------------
  |  |   63|  53.5k|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 2402|  53.5k|    _Py_atomic_add_uint64(&tstate->interp->_code_object_generation, 1);
 2403|  53.5k|    PyCodeObject *co = _PyCodeObject_CAST(self);
  ------------------
  |  |  114|  53.5k|#define _PyCodeObject_CAST(op)  (assert(PyCode_Check(op)), (PyCodeObject *)(op))
  ------------------
  |  Branch (2403:24): [True: 53.5k, False: 0]
  ------------------
 2404|      0|    _PyObject_ResurrectStart(self);
 2405|  53.5k|    notify_code_watchers(PY_CODE_EVENT_DESTROY, co);
 2406|  53.5k|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (2406:9): [True: 0, False: 53.5k]
  ------------------
 2407|      0|        return;
 2408|      0|    }
 2409|       |
 2410|       |#ifdef Py_GIL_DISABLED
 2411|       |    PyObject_GC_UnTrack(co);
 2412|       |#endif
 2413|       |
 2414|  53.5k|    _PyFunction_ClearCodeByVersion(co->co_version);
 2415|  53.5k|    if (co->co_extra != NULL) {
  ------------------
  |  Branch (2415:9): [True: 0, False: 53.5k]
  ------------------
 2416|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 2417|      0|        _PyCodeObjectExtra *co_extra = co->co_extra;
 2418|       |
 2419|      0|        for (Py_ssize_t i = 0; i < co_extra->ce_size; i++) {
  ------------------
  |  Branch (2419:32): [True: 0, False: 0]
  ------------------
 2420|      0|            freefunc free_extra = interp->co_extra_freefuncs[i];
 2421|       |
 2422|      0|            if (free_extra != NULL) {
  ------------------
  |  Branch (2422:17): [True: 0, False: 0]
  ------------------
 2423|      0|                free_extra(co_extra->ce_extras[i]);
 2424|      0|            }
 2425|      0|        }
 2426|       |
 2427|      0|        PyMem_Free(co_extra);
 2428|      0|    }
 2429|       |#ifdef _Py_TIER2
 2430|       |    if (co->co_executors != NULL) {
 2431|       |        clear_executors(co);
 2432|       |    }
 2433|       |#endif
 2434|       |
 2435|  53.5k|    Py_XDECREF(co->co_consts);
  ------------------
  |  |  524|  53.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  53.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2436|  53.5k|    Py_XDECREF(co->co_names);
  ------------------
  |  |  524|  53.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  53.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2437|  53.5k|    Py_XDECREF(co->co_localsplusnames);
  ------------------
  |  |  524|  53.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  53.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2438|  53.5k|    Py_XDECREF(co->co_localspluskinds);
  ------------------
  |  |  524|  53.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  53.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2439|  53.5k|    Py_XDECREF(co->co_filename);
  ------------------
  |  |  524|  53.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  53.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2440|  53.5k|    Py_XDECREF(co->co_name);
  ------------------
  |  |  524|  53.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  53.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2441|  53.5k|    Py_XDECREF(co->co_qualname);
  ------------------
  |  |  524|  53.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  53.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2442|  53.5k|    Py_XDECREF(co->co_linetable);
  ------------------
  |  |  524|  53.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  53.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2443|  53.5k|    Py_XDECREF(co->co_exceptiontable);
  ------------------
  |  |  524|  53.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  53.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2444|       |#ifdef Py_GIL_DISABLED
 2445|       |    assert(co->_co_unique_id == _Py_INVALID_UNIQUE_ID);
 2446|       |#endif
 2447|  53.5k|    if (co->_co_cached != NULL) {
  ------------------
  |  Branch (2447:9): [True: 0, False: 53.5k]
  ------------------
 2448|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2449|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2450|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2451|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2452|      0|        PyMem_Free(co->_co_cached);
 2453|      0|    }
 2454|  53.5k|    FT_CLEAR_WEAKREFS(self, co->co_weakreflist);
  ------------------
  |  |   47|  53.5k|    do {                                            \
  |  |   48|  53.5k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  53.5k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 53.5k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  53.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 53.5k]
  |  |  ------------------
  ------------------
  |  Branch (2454:5): [True: 53.5k, False: 0]
  ------------------
 2455|  53.5k|    free_monitoring_data(co->_co_monitoring);
 2456|       |#ifdef Py_GIL_DISABLED
 2457|       |    if (co->co_tlbc != NULL) {
 2458|       |        // The first element always points to the mutable bytecode at the end of
 2459|       |        // the code object, which will be freed when the code object is freed.
 2460|       |        for (Py_ssize_t i = 1; i < co->co_tlbc->size; i++) {
 2461|       |            char *entry = co->co_tlbc->entries[i];
 2462|       |            if (entry != NULL) {
 2463|       |                PyMem_Free(entry);
 2464|       |            }
 2465|       |        }
 2466|       |        PyMem_Free(co->co_tlbc);
 2467|       |    }
 2468|       |#endif
 2469|  53.5k|    PyObject_Free(co);
 2470|  53.5k|}
codeobject.c:free_monitoring_data:
 2376|  53.5k|{
 2377|  53.5k|    if (data == NULL) {
  ------------------
  |  Branch (2377:9): [True: 53.5k, False: 0]
  ------------------
 2378|  53.5k|        return;
 2379|  53.5k|    }
 2380|      0|    if (data->tools) {
  ------------------
  |  Branch (2380:9): [True: 0, False: 0]
  ------------------
 2381|      0|        PyMem_Free(data->tools);
 2382|      0|    }
 2383|      0|    if (data->lines) {
  ------------------
  |  Branch (2383:9): [True: 0, False: 0]
  ------------------
 2384|      0|        PyMem_Free(data->lines);
 2385|      0|    }
 2386|      0|    if (data->line_tools) {
  ------------------
  |  Branch (2386:9): [True: 0, False: 0]
  ------------------
 2387|      0|        PyMem_Free(data->line_tools);
 2388|      0|    }
 2389|      0|    if (data->per_instruction_opcodes) {
  ------------------
  |  Branch (2389:9): [True: 0, False: 0]
  ------------------
 2390|      0|        PyMem_Free(data->per_instruction_opcodes);
 2391|      0|    }
 2392|      0|    if (data->per_instruction_tools) {
  ------------------
  |  Branch (2392:9): [True: 0, False: 0]
  ------------------
 2393|      0|        PyMem_Free(data->per_instruction_tools);
 2394|      0|    }
 2395|      0|    PyMem_Free(data);
 2396|      0|}
codeobject.c:code_hash:
 2593|   208k|{
 2594|   208k|    PyCodeObject *co = _PyCodeObject_CAST(self);
  ------------------
  |  |  114|   208k|#define _PyCodeObject_CAST(op)  (assert(PyCode_Check(op)), (PyCodeObject *)(op))
  ------------------
  |  Branch (2594:24): [True: 208k, False: 0]
  ------------------
 2595|      0|    Py_uhash_t uhash = 20221211;
 2596|   208k|    #define SCRAMBLE_IN(H) do {       \
 2597|   208k|        uhash ^= (Py_uhash_t)(H);     \
 2598|   208k|        uhash *= PyHASH_MULTIPLIER;  \
 2599|   208k|    } while (0)
 2600|   208k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
 2601|   208k|        Py_hash_t h = PyObject_Hash(EXPR);  \
 2602|   208k|        if (h == -1) {                      \
 2603|   208k|            return -1;                      \
 2604|   208k|        }                                   \
 2605|   208k|        SCRAMBLE_IN(h);                     \
 2606|   208k|    } while (0)
 2607|       |
 2608|   208k|    SCRAMBLE_IN_HASH(co->co_name);
  ------------------
  |  | 2600|   208k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2601|   208k|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2602|   208k|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2602:13): [True: 0, False: 208k]
  |  |  ------------------
  |  | 2603|      0|            return -1;                      \
  |  | 2604|      0|        }                                   \
  |  | 2605|   208k|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2596|   208k|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2597|   208k|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2598|   208k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|   208k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2599|   208k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2599:14): [Folded, False: 208k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2606|   208k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2606:14): [Folded, False: 208k]
  |  |  ------------------
  ------------------
 2609|   208k|    SCRAMBLE_IN_HASH(co->co_consts);
  ------------------
  |  | 2600|   208k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2601|   208k|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2602|   208k|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2602:13): [True: 0, False: 208k]
  |  |  ------------------
  |  | 2603|      0|            return -1;                      \
  |  | 2604|      0|        }                                   \
  |  | 2605|   208k|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2596|   208k|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2597|   208k|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2598|   208k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|   208k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2599|   208k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2599:14): [Folded, False: 208k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2606|   208k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2606:14): [Folded, False: 208k]
  |  |  ------------------
  ------------------
 2610|   208k|    SCRAMBLE_IN_HASH(co->co_names);
  ------------------
  |  | 2600|   208k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2601|   208k|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2602|   208k|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2602:13): [True: 0, False: 208k]
  |  |  ------------------
  |  | 2603|      0|            return -1;                      \
  |  | 2604|      0|        }                                   \
  |  | 2605|   208k|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2596|   208k|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2597|   208k|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2598|   208k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|   208k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2599|   208k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2599:14): [Folded, False: 208k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2606|   208k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2606:14): [Folded, False: 208k]
  |  |  ------------------
  ------------------
 2611|   208k|    SCRAMBLE_IN_HASH(co->co_localsplusnames);
  ------------------
  |  | 2600|   208k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2601|   208k|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2602|   208k|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2602:13): [True: 0, False: 208k]
  |  |  ------------------
  |  | 2603|      0|            return -1;                      \
  |  | 2604|      0|        }                                   \
  |  | 2605|   208k|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2596|   208k|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2597|   208k|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2598|   208k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|   208k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2599|   208k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2599:14): [Folded, False: 208k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2606|   208k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2606:14): [Folded, False: 208k]
  |  |  ------------------
  ------------------
 2612|   208k|    SCRAMBLE_IN_HASH(co->co_linetable);
  ------------------
  |  | 2600|   208k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2601|   208k|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2602|   208k|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2602:13): [True: 0, False: 208k]
  |  |  ------------------
  |  | 2603|      0|            return -1;                      \
  |  | 2604|      0|        }                                   \
  |  | 2605|   208k|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2596|   208k|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2597|   208k|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2598|   208k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|   208k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2599|   208k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2599:14): [Folded, False: 208k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2606|   208k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2606:14): [Folded, False: 208k]
  |  |  ------------------
  ------------------
 2613|   208k|    SCRAMBLE_IN_HASH(co->co_exceptiontable);
  ------------------
  |  | 2600|   208k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2601|   208k|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2602|   208k|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2602:13): [True: 0, False: 208k]
  |  |  ------------------
  |  | 2603|      0|            return -1;                      \
  |  | 2604|      0|        }                                   \
  |  | 2605|   208k|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2596|   208k|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2597|   208k|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2598|   208k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|   208k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2599|   208k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2599:14): [Folded, False: 208k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2606|   208k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2606:14): [Folded, False: 208k]
  |  |  ------------------
  ------------------
 2614|   208k|    SCRAMBLE_IN(co->co_argcount);
  ------------------
  |  | 2596|   208k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2597|   208k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2598|   208k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|   208k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2599|   208k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2599:14): [Folded, False: 208k]
  |  |  ------------------
  ------------------
 2615|   208k|    SCRAMBLE_IN(co->co_posonlyargcount);
  ------------------
  |  | 2596|   208k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2597|   208k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2598|   208k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|   208k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2599|   208k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2599:14): [Folded, False: 208k]
  |  |  ------------------
  ------------------
 2616|   208k|    SCRAMBLE_IN(co->co_kwonlyargcount);
  ------------------
  |  | 2596|   208k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2597|   208k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2598|   208k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|   208k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2599|   208k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2599:14): [Folded, False: 208k]
  |  |  ------------------
  ------------------
 2617|   208k|    SCRAMBLE_IN(co->co_flags);
  ------------------
  |  | 2596|   208k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2597|   208k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2598|   208k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|   208k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2599|   208k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2599:14): [Folded, False: 208k]
  |  |  ------------------
  ------------------
 2618|   208k|    SCRAMBLE_IN(co->co_firstlineno);
  ------------------
  |  | 2596|   208k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2597|   208k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2598|   208k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|   208k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2599|   208k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2599:14): [Folded, False: 208k]
  |  |  ------------------
  ------------------
 2619|   208k|    SCRAMBLE_IN(Py_SIZE(co));
  ------------------
  |  | 2596|   208k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2597|   208k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2598|   208k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|   208k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2599|   208k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2599:14): [Folded, False: 208k]
  |  |  ------------------
  ------------------
 2620|  9.01M|    for (int i = 0; i < Py_SIZE(co); i++) {
  ------------------
  |  |  214|  9.01M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2620:21): [True: 8.80M, False: 208k]
  ------------------
 2621|  8.80M|        _Py_CODEUNIT co_instr = _Py_GetBaseCodeUnit(co, i);
 2622|  8.80M|        SCRAMBLE_IN(co_instr.op.code);
  ------------------
  |  | 2596|  8.80M|    #define SCRAMBLE_IN(H) do {       \
  |  | 2597|  8.80M|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2598|  8.80M|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|  8.80M|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2599|  8.80M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2599:14): [Folded, False: 8.80M]
  |  |  ------------------
  ------------------
 2623|  8.80M|        SCRAMBLE_IN(co_instr.op.arg);
  ------------------
  |  | 2596|  8.80M|    #define SCRAMBLE_IN(H) do {       \
  |  | 2597|  8.80M|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2598|  8.80M|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|  8.80M|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2599|  8.80M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2599:14): [Folded, False: 8.80M]
  |  |  ------------------
  ------------------
 2624|  8.80M|        i += _PyOpcode_Caches[co_instr.op.code];
 2625|  8.80M|    }
 2626|   208k|    if ((Py_hash_t)uhash == -1) {
  ------------------
  |  Branch (2626:9): [True: 0, False: 208k]
  ------------------
 2627|      0|        return -2;
 2628|      0|    }
 2629|   208k|    return (Py_hash_t)uhash;
 2630|   208k|}
codeobject.c:code_richcompare:
 2504|  3.88k|{
 2505|  3.88k|    PyCodeObject *co, *cp;
 2506|  3.88k|    int eq;
 2507|  3.88k|    PyObject *consts1, *consts2;
 2508|  3.88k|    PyObject *res;
 2509|       |
 2510|  3.88k|    if ((op != Py_EQ && op != Py_NE) ||
  ------------------
  |  |  654|  7.77k|#define Py_EQ 2
  ------------------
                  if ((op != Py_EQ && op != Py_NE) ||
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (2510:10): [True: 0, False: 3.88k]
  |  Branch (2510:25): [True: 0, False: 0]
  ------------------
 2511|  3.88k|        !PyCode_Check(self) ||
  ------------------
  |  |  168|  3.88k|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|  7.77k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2511:9): [True: 0, False: 3.88k]
  ------------------
 2512|  3.88k|        !PyCode_Check(other)) {
  ------------------
  |  |  168|  3.88k|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|  3.88k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2512:9): [True: 0, False: 3.88k]
  ------------------
 2513|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 2514|      0|    }
 2515|       |
 2516|  3.88k|    co = (PyCodeObject *)self;
 2517|  3.88k|    cp = (PyCodeObject *)other;
 2518|       |
 2519|  3.88k|    eq = PyObject_RichCompareBool(co->co_name, cp->co_name, Py_EQ);
  ------------------
  |  |  654|  3.88k|#define Py_EQ 2
  ------------------
 2520|  3.88k|    if (eq <= 0) goto unequal;
  ------------------
  |  Branch (2520:9): [True: 0, False: 3.88k]
  ------------------
 2521|  3.88k|    eq = co->co_argcount == cp->co_argcount;
 2522|  3.88k|    if (!eq) goto unequal;
  ------------------
  |  Branch (2522:9): [True: 0, False: 3.88k]
  ------------------
 2523|  3.88k|    eq = co->co_posonlyargcount == cp->co_posonlyargcount;
 2524|  3.88k|    if (!eq) goto unequal;
  ------------------
  |  Branch (2524:9): [True: 0, False: 3.88k]
  ------------------
 2525|  3.88k|    eq = co->co_kwonlyargcount == cp->co_kwonlyargcount;
 2526|  3.88k|    if (!eq) goto unequal;
  ------------------
  |  Branch (2526:9): [True: 0, False: 3.88k]
  ------------------
 2527|  3.88k|    eq = co->co_flags == cp->co_flags;
 2528|  3.88k|    if (!eq) goto unequal;
  ------------------
  |  Branch (2528:9): [True: 0, False: 3.88k]
  ------------------
 2529|  3.88k|    eq = co->co_firstlineno == cp->co_firstlineno;
 2530|  3.88k|    if (!eq) goto unequal;
  ------------------
  |  Branch (2530:9): [True: 0, False: 3.88k]
  ------------------
 2531|  3.88k|    eq = Py_SIZE(co) == Py_SIZE(cp);
  ------------------
  |  |  214|  3.88k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  eq = Py_SIZE(co) == Py_SIZE(cp);
  ------------------
  |  |  214|  3.88k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2532|  3.88k|    if (!eq) {
  ------------------
  |  Branch (2532:9): [True: 0, False: 3.88k]
  ------------------
 2533|      0|        goto unequal;
 2534|      0|    }
 2535|  74.7k|    for (int i = 0; i < Py_SIZE(co); i++) {
  ------------------
  |  |  214|  74.7k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  74.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2535:21): [True: 70.8k, False: 3.88k]
  ------------------
 2536|  70.8k|        _Py_CODEUNIT co_instr = _Py_GetBaseCodeUnit(co, i);
 2537|  70.8k|        _Py_CODEUNIT cp_instr = _Py_GetBaseCodeUnit(cp, i);
 2538|  70.8k|        if (co_instr.cache != cp_instr.cache) {
  ------------------
  |  Branch (2538:13): [True: 0, False: 70.8k]
  ------------------
 2539|      0|            goto unequal;
 2540|      0|        }
 2541|  70.8k|        i += _PyOpcode_Caches[co_instr.op.code];
 2542|  70.8k|    }
 2543|       |
 2544|       |    /* compare constants */
 2545|  3.88k|    consts1 = _PyCode_ConstantKey(co->co_consts);
 2546|  3.88k|    if (!consts1)
  ------------------
  |  Branch (2546:9): [True: 0, False: 3.88k]
  ------------------
 2547|      0|        return NULL;
 2548|  3.88k|    consts2 = _PyCode_ConstantKey(cp->co_consts);
 2549|  3.88k|    if (!consts2) {
  ------------------
  |  Branch (2549:9): [True: 0, False: 3.88k]
  ------------------
 2550|      0|        Py_DECREF(consts1);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2551|      0|        return NULL;
 2552|      0|    }
 2553|  3.88k|    eq = PyObject_RichCompareBool(consts1, consts2, Py_EQ);
  ------------------
  |  |  654|  3.88k|#define Py_EQ 2
  ------------------
 2554|  3.88k|    Py_DECREF(consts1);
  ------------------
  |  |  430|  3.88k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2555|  3.88k|    Py_DECREF(consts2);
  ------------------
  |  |  430|  3.88k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2556|  3.88k|    if (eq <= 0) goto unequal;
  ------------------
  |  Branch (2556:9): [True: 0, False: 3.88k]
  ------------------
 2557|       |
 2558|  3.88k|    eq = PyObject_RichCompareBool(co->co_names, cp->co_names, Py_EQ);
  ------------------
  |  |  654|  3.88k|#define Py_EQ 2
  ------------------
 2559|  3.88k|    if (eq <= 0) goto unequal;
  ------------------
  |  Branch (2559:9): [True: 0, False: 3.88k]
  ------------------
 2560|  3.88k|    eq = PyObject_RichCompareBool(co->co_localsplusnames,
 2561|  3.88k|                                  cp->co_localsplusnames, Py_EQ);
  ------------------
  |  |  654|  3.88k|#define Py_EQ 2
  ------------------
 2562|  3.88k|    if (eq <= 0) goto unequal;
  ------------------
  |  Branch (2562:9): [True: 0, False: 3.88k]
  ------------------
 2563|  3.88k|    eq = PyObject_RichCompareBool(co->co_linetable, cp->co_linetable, Py_EQ);
  ------------------
  |  |  654|  3.88k|#define Py_EQ 2
  ------------------
 2564|  3.88k|    if (eq <= 0) {
  ------------------
  |  Branch (2564:9): [True: 0, False: 3.88k]
  ------------------
 2565|      0|        goto unequal;
 2566|      0|    }
 2567|  3.88k|    eq = PyObject_RichCompareBool(co->co_exceptiontable,
 2568|  3.88k|                                  cp->co_exceptiontable, Py_EQ);
  ------------------
  |  |  654|  3.88k|#define Py_EQ 2
  ------------------
 2569|  3.88k|    if (eq <= 0) {
  ------------------
  |  Branch (2569:9): [True: 0, False: 3.88k]
  ------------------
 2570|      0|        goto unequal;
 2571|      0|    }
 2572|       |
 2573|  3.88k|    if (op == Py_EQ)
  ------------------
  |  |  654|  3.88k|#define Py_EQ 2
  ------------------
  |  Branch (2573:9): [True: 3.88k, False: 0]
  ------------------
 2574|  3.88k|        res = Py_True;
  ------------------
  |  |   26|  3.88k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  3.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2575|      0|    else
 2576|      0|        res = Py_False;
  ------------------
  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2577|  3.88k|    goto done;
 2578|       |
 2579|      0|  unequal:
 2580|      0|    if (eq < 0)
  ------------------
  |  Branch (2580:9): [True: 0, False: 0]
  ------------------
 2581|      0|        return NULL;
 2582|      0|    if (op == Py_NE)
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (2582:9): [True: 0, False: 0]
  ------------------
 2583|      0|        res = Py_True;
  ------------------
  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2584|      0|    else
 2585|      0|        res = Py_False;
  ------------------
  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2586|       |
 2587|  3.88k|  done:
 2588|  3.88k|    return Py_NewRef(res);
  ------------------
  |  |  550|  3.88k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2589|      0|}

_Py_c_sum:
   33|  3.51k|{
   34|  3.51k|    Py_complex r;
   35|  3.51k|    r.real = a.real + b.real;
   36|  3.51k|    r.imag = a.imag + b.imag;
   37|  3.51k|    return r;
   38|  3.51k|}
_Py_cr_sum:
   42|  27.2k|{
   43|  27.2k|    Py_complex r = a;
   44|  27.2k|    r.real += b;
   45|  27.2k|    return r;
   46|  27.2k|}
_Py_c_diff:
   56|  1.24k|{
   57|  1.24k|    Py_complex r;
   58|  1.24k|    r.real = a.real - b.real;
   59|  1.24k|    r.imag = a.imag - b.imag;
   60|  1.24k|    return r;
   61|  1.24k|}
_Py_cr_diff:
   65|  11.1k|{
   66|  11.1k|    Py_complex r = a;
   67|  11.1k|    r.real -= b;
   68|  11.1k|    return r;
   69|  11.1k|}
_Py_rc_diff:
   73|  1.34k|{
   74|  1.34k|    Py_complex r;
   75|  1.34k|    r.real = a - b.real;
   76|  1.34k|    r.imag = -b.imag;
   77|  1.34k|    return r;
   78|  1.34k|}
_Py_c_prod:
   91|   100k|{
   92|   100k|    double a = z.real, b = z.imag, c = w.real, d = w.imag;
   93|   100k|    double ac = a*c, bd = b*d, ad = a*d, bc = b*c;
   94|   100k|    Py_complex r = {ac - bd, ad + bc};
   95|       |
   96|       |    /* Recover infinities that computed as nan+nanj.  See e.g. the C11,
   97|       |       Annex G.5.1, routine _Cmultd(). */
   98|   100k|    if (isnan(r.real) && isnan(r.imag)) {
  ------------------
  |  Branch (98:9): [True: 14.9k, False: 85.4k]
  |  Branch (98:26): [True: 14.7k, False: 245]
  ------------------
   99|  14.7k|        int recalc = 0;
  100|       |
  101|  14.7k|        if (isinf(a) || isinf(b)) {  /* z is infinite */
  ------------------
  |  Branch (101:13): [True: 7.04k, False: 7.70k]
  |  Branch (101:25): [True: 3.53k, False: 4.16k]
  ------------------
  102|       |            /* "Box" the infinity and change nans in the other factor to 0 */
  103|  10.5k|            a = copysign(isinf(a) ? 1.0 : 0.0, a);
  ------------------
  |  Branch (103:26): [True: 7.04k, False: 3.53k]
  ------------------
  104|  10.5k|            b = copysign(isinf(b) ? 1.0 : 0.0, b);
  ------------------
  |  Branch (104:26): [True: 4.37k, False: 6.20k]
  ------------------
  105|  10.5k|            if (isnan(c)) {
  ------------------
  |  Branch (105:17): [True: 695, False: 9.89k]
  ------------------
  106|    695|                c = copysign(0.0, c);
  107|    695|            }
  108|  10.5k|            if (isnan(d)) {
  ------------------
  |  Branch (108:17): [True: 3.27k, False: 7.31k]
  ------------------
  109|  3.27k|                d = copysign(0.0, d);
  110|  3.27k|            }
  111|  10.5k|            recalc = 1;
  112|  10.5k|        }
  113|  14.7k|        if (isinf(c) || isinf(d)) {  /* w is infinite */
  ------------------
  |  Branch (113:13): [True: 2.87k, False: 11.8k]
  |  Branch (113:25): [True: 838, False: 11.0k]
  ------------------
  114|       |            /* "Box" the infinity and change nans in the other factor to 0 */
  115|  3.71k|            c = copysign(isinf(c) ? 1.0 : 0.0, c);
  ------------------
  |  Branch (115:26): [True: 2.87k, False: 838]
  ------------------
  116|  3.71k|            d = copysign(isinf(d) ? 1.0 : 0.0, d);
  ------------------
  |  Branch (116:26): [True: 838, False: 2.87k]
  ------------------
  117|  3.71k|            if (isnan(a)) {
  ------------------
  |  Branch (117:17): [True: 112, False: 3.59k]
  ------------------
  118|    112|                a = copysign(0.0, a);
  119|    112|            }
  120|  3.71k|            if (isnan(b)) {
  ------------------
  |  Branch (120:17): [True: 112, False: 3.59k]
  ------------------
  121|    112|                b = copysign(0.0, b);
  122|    112|            }
  123|  3.71k|            recalc = 1;
  124|  3.71k|        }
  125|  14.7k|        if (!recalc && (isinf(ac) || isinf(bd) || isinf(ad) || isinf(bc))) {
  ------------------
  |  Branch (125:13): [True: 3.75k, False: 10.9k]
  |  Branch (125:25): [True: 0, False: 3.75k]
  |  Branch (125:38): [True: 0, False: 3.75k]
  |  Branch (125:51): [True: 0, False: 3.75k]
  |  Branch (125:64): [True: 0, False: 3.75k]
  ------------------
  126|       |            /* Recover infinities from overflow by changing nans to 0 */
  127|      0|            if (isnan(a)) {
  ------------------
  |  Branch (127:17): [True: 0, False: 0]
  ------------------
  128|      0|                a = copysign(0.0, a);
  129|      0|            }
  130|      0|            if (isnan(b)) {
  ------------------
  |  Branch (130:17): [True: 0, False: 0]
  ------------------
  131|      0|                b = copysign(0.0, b);
  132|      0|            }
  133|      0|            if (isnan(c)) {
  ------------------
  |  Branch (133:17): [True: 0, False: 0]
  ------------------
  134|      0|                c = copysign(0.0, c);
  135|      0|            }
  136|      0|            if (isnan(d)) {
  ------------------
  |  Branch (136:17): [True: 0, False: 0]
  ------------------
  137|      0|                d = copysign(0.0, d);
  138|      0|            }
  139|      0|            recalc = 1;
  140|      0|        }
  141|  14.7k|        if (recalc) {
  ------------------
  |  Branch (141:13): [True: 10.9k, False: 3.75k]
  ------------------
  142|  10.9k|            r.real = INFINITY*(a*c - b*d);
  143|  10.9k|            r.imag = INFINITY*(a*d + b*c);
  144|  10.9k|        }
  145|  14.7k|    }
  146|       |
  147|   100k|    return r;
  148|   100k|}
_Py_cr_prod:
  152|  14.1k|{
  153|  14.1k|    Py_complex r = a;
  154|  14.1k|    r.real *= b;
  155|  14.1k|    r.imag *= b;
  156|  14.1k|    return r;
  157|  14.1k|}
_Py_c_quot:
  171|  11.7k|{
  172|       |    /******************************************************************
  173|       |    This was the original algorithm.  It's grossly prone to spurious
  174|       |    overflow and underflow errors.  It also merrily divides by 0 despite
  175|       |    checking for that(!).  The code still serves a doc purpose here, as
  176|       |    the algorithm following is a simple by-cases transformation of this
  177|       |    one:
  178|       |
  179|       |    Py_complex r;
  180|       |    double d = b.real*b.real + b.imag*b.imag;
  181|       |    if (d == 0.)
  182|       |        errno = EDOM;
  183|       |    r.real = (a.real*b.real + a.imag*b.imag)/d;
  184|       |    r.imag = (a.imag*b.real - a.real*b.imag)/d;
  185|       |    return r;
  186|       |    ******************************************************************/
  187|       |
  188|       |    /* This algorithm is better, and is pretty obvious:  first divide the
  189|       |     * numerators and denominator by whichever of {b.real, b.imag} has
  190|       |     * larger magnitude.  The earliest reference I found was to CACM
  191|       |     * Algorithm 116 (Complex Division, Robert L. Smith, Stanford
  192|       |     * University).
  193|       |     */
  194|  11.7k|     Py_complex r;      /* the result */
  195|  11.7k|     const double abs_breal = b.real < 0 ? -b.real : b.real;
  ------------------
  |  Branch (195:31): [True: 675, False: 11.1k]
  ------------------
  196|  11.7k|     const double abs_bimag = b.imag < 0 ? -b.imag : b.imag;
  ------------------
  |  Branch (196:31): [True: 594, False: 11.1k]
  ------------------
  197|       |
  198|  11.7k|    if (abs_breal >= abs_bimag) {
  ------------------
  |  Branch (198:9): [True: 6.96k, False: 4.82k]
  ------------------
  199|       |        /* divide tops and bottom by b.real */
  200|  6.96k|        if (abs_breal == 0.0) {
  ------------------
  |  Branch (200:13): [True: 1.39k, False: 5.56k]
  ------------------
  201|  1.39k|            errno = EDOM;
  202|  1.39k|            r.real = r.imag = 0.0;
  203|  1.39k|        }
  204|  5.56k|        else {
  205|  5.56k|            const double ratio = b.imag / b.real;
  206|  5.56k|            const double denom = b.real + b.imag * ratio;
  207|  5.56k|            r.real = (a.real + a.imag * ratio) / denom;
  208|  5.56k|            r.imag = (a.imag - a.real * ratio) / denom;
  209|  5.56k|        }
  210|  6.96k|    }
  211|  4.82k|    else if (abs_bimag >= abs_breal) {
  ------------------
  |  Branch (211:14): [True: 4.32k, False: 504]
  ------------------
  212|       |        /* divide tops and bottom by b.imag */
  213|  4.32k|        const double ratio = b.real / b.imag;
  214|  4.32k|        const double denom = b.real * ratio + b.imag;
  215|  4.32k|        assert(b.imag != 0.0);
  ------------------
  |  Branch (215:9): [True: 4.32k, False: 0]
  ------------------
  216|  4.32k|        r.real = (a.real * ratio + a.imag) / denom;
  217|  4.32k|        r.imag = (a.imag * ratio - a.real) / denom;
  218|  4.32k|    }
  219|    504|    else {
  220|       |        /* At least one of b.real or b.imag is a NaN */
  221|    504|        r.real = r.imag = Py_NAN;
  ------------------
  |  |   79|    504|#    define Py_NAN      ((double)NAN)
  ------------------
  222|    504|    }
  223|       |
  224|       |    /* Recover infinities and zeros that computed as nan+nanj.  See e.g.
  225|       |       the C11, Annex G.5.2, routine _Cdivd(). */
  226|  11.7k|    if (isnan(r.real) && isnan(r.imag)) {
  ------------------
  |  Branch (226:9): [True: 3.69k, False: 8.09k]
  |  Branch (226:26): [True: 3.67k, False: 19]
  ------------------
  227|  3.67k|        if ((isinf(a.real) || isinf(a.imag))
  ------------------
  |  Branch (227:14): [True: 482, False: 3.19k]
  |  Branch (227:31): [True: 2.14k, False: 1.04k]
  ------------------
  228|  3.67k|            && isfinite(b.real) && isfinite(b.imag))
  ------------------
  |  Branch (228:16): [True: 2.38k, False: 240]
  |  Branch (228:36): [True: 1.91k, False: 471]
  ------------------
  229|  1.91k|        {
  230|  1.91k|            const double x = copysign(isinf(a.real) ? 1.0 : 0.0, a.real);
  ------------------
  |  Branch (230:39): [True: 212, False: 1.70k]
  ------------------
  231|  1.91k|            const double y = copysign(isinf(a.imag) ? 1.0 : 0.0, a.imag);
  ------------------
  |  Branch (231:39): [True: 1.89k, False: 23]
  ------------------
  232|  1.91k|            r.real = INFINITY * (x*b.real + y*b.imag);
  233|  1.91k|            r.imag = INFINITY * (y*b.real - x*b.imag);
  234|  1.91k|        }
  235|  1.76k|        else if ((isinf(abs_breal) || isinf(abs_bimag))
  ------------------
  |  Branch (235:19): [True: 250, False: 1.51k]
  |  Branch (235:39): [True: 746, False: 764]
  ------------------
  236|  1.76k|                 && isfinite(a.real) && isfinite(a.imag))
  ------------------
  |  Branch (236:21): [True: 317, False: 679]
  |  Branch (236:41): [True: 264, False: 53]
  ------------------
  237|    264|        {
  238|    264|            const double x = copysign(isinf(b.real) ? 1.0 : 0.0, b.real);
  ------------------
  |  Branch (238:39): [True: 250, False: 14]
  ------------------
  239|    264|            const double y = copysign(isinf(b.imag) ? 1.0 : 0.0, b.imag);
  ------------------
  |  Branch (239:39): [True: 14, False: 250]
  ------------------
  240|    264|            r.real = 0.0 * (a.real*x + a.imag*y);
  241|    264|            r.imag = 0.0 * (a.imag*x - a.real*y);
  242|    264|        }
  243|  3.67k|    }
  244|       |
  245|  11.7k|    return r;
  246|  11.7k|}
_Py_cr_quot:
  250|  5.11k|{
  251|  5.11k|    Py_complex r = a;
  252|  5.11k|    if (b) {
  ------------------
  |  Branch (252:9): [True: 4.85k, False: 264]
  ------------------
  253|  4.85k|        r.real /= b;
  254|  4.85k|        r.imag /= b;
  255|  4.85k|    }
  256|    264|    else {
  257|    264|        errno = EDOM;
  258|    264|        r.real = r.imag = 0.0;
  259|    264|    }
  260|  5.11k|    return r;
  261|  5.11k|}
_Py_rc_quot:
  266|  7.41k|{
  267|  7.41k|    Py_complex r;
  268|  7.41k|    const double abs_breal = b.real < 0 ? -b.real : b.real;
  ------------------
  |  Branch (268:30): [True: 595, False: 6.81k]
  ------------------
  269|  7.41k|    const double abs_bimag = b.imag < 0 ? -b.imag : b.imag;
  ------------------
  |  Branch (269:30): [True: 367, False: 7.04k]
  ------------------
  270|       |
  271|  7.41k|    if (abs_breal >= abs_bimag) {
  ------------------
  |  Branch (271:9): [True: 1.82k, False: 5.59k]
  ------------------
  272|  1.82k|        if (abs_breal == 0.0) {
  ------------------
  |  Branch (272:13): [True: 1.01k, False: 803]
  ------------------
  273|  1.01k|            errno = EDOM;
  274|  1.01k|            r.real = r.imag = 0.0;
  275|  1.01k|        }
  276|    803|        else {
  277|    803|            const double ratio = b.imag / b.real;
  278|    803|            const double denom = b.real + b.imag * ratio;
  279|    803|            r.real = a / denom;
  280|    803|            r.imag = (-a * ratio) / denom;
  281|    803|        }
  282|  1.82k|    }
  283|  5.59k|    else if (abs_bimag >= abs_breal) {
  ------------------
  |  Branch (283:14): [True: 5.44k, False: 144]
  ------------------
  284|  5.44k|        const double ratio = b.real / b.imag;
  285|  5.44k|        const double denom = b.real * ratio + b.imag;
  286|  5.44k|        assert(b.imag != 0.0);
  ------------------
  |  Branch (286:9): [True: 5.44k, False: 0]
  ------------------
  287|  5.44k|        r.real = (a * ratio) / denom;
  288|  5.44k|        r.imag = (-a) / denom;
  289|  5.44k|    }
  290|    144|    else {
  291|    144|        r.real = r.imag = Py_NAN;
  ------------------
  |  |   79|    144|#    define Py_NAN      ((double)NAN)
  ------------------
  292|    144|    }
  293|       |
  294|  7.41k|    if (isnan(r.real) && isnan(r.imag) && isfinite(a)
  ------------------
  |  Branch (294:9): [True: 3.20k, False: 4.20k]
  |  Branch (294:26): [True: 167, False: 3.03k]
  |  Branch (294:43): [True: 142, False: 25]
  ------------------
  295|    142|        && (isinf(abs_breal) || isinf(abs_bimag)))
  ------------------
  |  Branch (295:13): [True: 0, False: 142]
  |  Branch (295:33): [True: 0, False: 142]
  ------------------
  296|      0|    {
  297|      0|        const double x = copysign(isinf(b.real) ? 1.0 : 0.0, b.real);
  ------------------
  |  Branch (297:35): [True: 0, False: 0]
  ------------------
  298|      0|        const double y = copysign(isinf(b.imag) ? 1.0 : 0.0, b.imag);
  ------------------
  |  Branch (298:35): [True: 0, False: 0]
  ------------------
  299|      0|        r.real = 0.0 * (a*x);
  300|      0|        r.imag = 0.0 * (-a*y);
  301|      0|    }
  302|       |
  303|  7.41k|    return r;
  304|  7.41k|}
_Py_c_pow:
  311|  35.9k|{
  312|  35.9k|    Py_complex r;
  313|  35.9k|    double vabs,len,at,phase;
  314|  35.9k|    if (b.real == 0. && b.imag == 0.) {
  ------------------
  |  Branch (314:9): [True: 7.28k, False: 28.6k]
  |  Branch (314:25): [True: 0, False: 7.28k]
  ------------------
  315|      0|        r.real = 1.;
  316|      0|        r.imag = 0.;
  317|      0|    }
  318|  35.9k|    else if (a.real == 0. && a.imag == 0.) {
  ------------------
  |  Branch (318:14): [True: 18.3k, False: 17.6k]
  |  Branch (318:30): [True: 794, False: 17.5k]
  ------------------
  319|    794|        if (b.imag != 0. || b.real < 0.)
  ------------------
  |  Branch (319:13): [True: 210, False: 584]
  |  Branch (319:29): [True: 363, False: 221]
  ------------------
  320|    794|            errno = EDOM;
  321|    794|        r.real = 0.;
  322|    794|        r.imag = 0.;
  323|    794|    }
  324|  35.1k|    else {
  325|  35.1k|        vabs = hypot(a.real,a.imag);
  326|  35.1k|        len = pow(vabs,b.real);
  327|  35.1k|        at = atan2(a.imag, a.real);
  328|  35.1k|        phase = at*b.real;
  329|  35.1k|        if (b.imag != 0.0) {
  ------------------
  |  Branch (329:13): [True: 22.5k, False: 12.5k]
  ------------------
  330|  22.5k|            len *= exp(-at*b.imag);
  331|  22.5k|            phase += b.imag*log(vabs);
  332|  22.5k|        }
  333|  35.1k|        r.real = len*cos(phase);
  334|  35.1k|        r.imag = len*sin(phase);
  335|       |
  336|  35.1k|        _Py_ADJUST_ERANGE2(r.real, r.imag);
  337|  35.1k|    }
  338|  35.9k|    return r;
  339|  35.9k|}
PyComplex_FromCComplex:
  412|   359k|{
  413|   359k|    PyComplexObject *op = _Py_FREELIST_POP(PyComplexObject, complexes);
  ------------------
  |  |   43|   359k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|   359k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  414|       |
  415|   359k|    if (op == NULL) {
  ------------------
  |  Branch (415:9): [True: 187k, False: 171k]
  ------------------
  416|       |        /* Inline PyObject_New */
  417|   187k|        op = PyObject_Malloc(sizeof(PyComplexObject));
  418|   187k|        if (op == NULL) {
  ------------------
  |  Branch (418:13): [True: 0, False: 187k]
  ------------------
  419|      0|            return PyErr_NoMemory();
  420|      0|        }
  421|   187k|        _PyObject_Init((PyObject*)op, &PyComplex_Type);
  422|   187k|    }
  423|   359k|    op->cval = cval;
  424|   359k|    return (PyObject *) op;
  425|   359k|}
PyComplex_AsCComplex:
  539|   289k|{
  540|   289k|    Py_complex cv;
  541|   289k|    PyObject *newop = NULL;
  542|       |
  543|   289k|    assert(op);
  ------------------
  |  Branch (543:5): [True: 289k, False: 0]
  ------------------
  544|       |    /* If op is already of type PyComplex_Type, return its value */
  545|   289k|    if (PyComplex_Check(op)) {
  ------------------
  |  |   13|   289k|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  378|   289k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   289k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   289k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 289k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  546|   289k|        return ((PyComplexObject *)op)->cval;
  547|   289k|    }
  548|       |    /* If not, use op's __complex__  method, if it exists */
  549|       |
  550|       |    /* return -1 on failure */
  551|      0|    cv.real = -1.;
  552|      0|    cv.imag = 0.;
  553|       |
  554|      0|    newop = try_complex_special_method(op);
  555|       |
  556|      0|    if (newop) {
  ------------------
  |  Branch (556:9): [True: 0, False: 0]
  ------------------
  557|      0|        cv = ((PyComplexObject *)newop)->cval;
  558|      0|        Py_DECREF(newop);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  559|      0|        return cv;
  560|      0|    }
  561|      0|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (561:14): [True: 0, False: 0]
  ------------------
  562|      0|        return cv;
  563|      0|    }
  564|       |    /* If neither of the above works, interpret op as a float giving the
  565|       |       real part of the result, and fill in the imaginary part as 0. */
  566|      0|    else {
  567|       |        /* PyFloat_AsDouble will return -1 on failure */
  568|      0|        cv.real = PyFloat_AsDouble(op);
  569|      0|        return cv;
  570|      0|    }
  571|      0|}
complexobject.c:complex_dealloc:
  429|   359k|{
  430|   359k|    assert(PyComplex_Check(op));
  ------------------
  |  Branch (430:5): [True: 359k, False: 0]
  ------------------
  431|   359k|    if (PyComplex_CheckExact(op)) {
  ------------------
  |  |   14|   359k|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  215|   359k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   359k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   359k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 359k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  432|   359k|        _Py_FREELIST_FREE(complexes, op, PyObject_Free);
  ------------------
  |  |   35|   359k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|   359k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   359k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|   359k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   19|   359k|#  define Py_complexes_MAXFREELIST 100
  |  |  ------------------
  ------------------
  433|   359k|    }
  434|      0|    else {
  435|      0|        Py_TYPE(op)->tp_free(op);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  436|      0|    }
  437|   359k|}
complexobject.c:complex_repr:
  575|  19.6k|{
  576|  19.6k|    int precision = 0;
  577|  19.6k|    char format_code = 'r';
  578|  19.6k|    PyObject *result = NULL;
  579|  19.6k|    PyComplexObject *v = _PyComplexObject_CAST(op);
  ------------------
  |  |   17|  19.6k|#define _PyComplexObject_CAST(op)   ((PyComplexObject *)(op))
  ------------------
  580|       |
  581|       |    /* If these are non-NULL, they'll need to be freed. */
  582|  19.6k|    char *pre = NULL;
  583|  19.6k|    char *im = NULL;
  584|       |
  585|       |    /* These do not need to be freed. re is either an alias
  586|       |       for pre or a pointer to a constant.  lead and tail
  587|       |       are pointers to constants. */
  588|  19.6k|    const char *re = NULL;
  589|  19.6k|    const char *lead = "";
  590|  19.6k|    const char *tail = "";
  591|       |
  592|  19.6k|    if (v->cval.real == 0. && copysign(1.0, v->cval.real)==1.0) {
  ------------------
  |  Branch (592:9): [True: 19.6k, False: 0]
  |  Branch (592:31): [True: 19.6k, False: 0]
  ------------------
  593|       |        /* Real part is +0: just output the imaginary part and do not
  594|       |           include parens. */
  595|  19.6k|        re = "";
  596|  19.6k|        im = PyOS_double_to_string(v->cval.imag, format_code,
  597|  19.6k|                                   precision, 0, NULL);
  598|  19.6k|        if (!im) {
  ------------------
  |  Branch (598:13): [True: 0, False: 19.6k]
  ------------------
  599|      0|            PyErr_NoMemory();
  600|      0|            goto done;
  601|      0|        }
  602|  19.6k|    } else {
  603|       |        /* Format imaginary part with sign, real part without. Include
  604|       |           parens in the result. */
  605|      0|        pre = PyOS_double_to_string(v->cval.real, format_code,
  606|      0|                                    precision, 0, NULL);
  607|      0|        if (!pre) {
  ------------------
  |  Branch (607:13): [True: 0, False: 0]
  ------------------
  608|      0|            PyErr_NoMemory();
  609|      0|            goto done;
  610|      0|        }
  611|      0|        re = pre;
  612|       |
  613|      0|        im = PyOS_double_to_string(v->cval.imag, format_code,
  614|      0|                                   precision, Py_DTSF_SIGN, NULL);
  ------------------
  |  |   22|      0|#define Py_DTSF_SIGN      0x01 /* always add the sign */
  ------------------
  615|      0|        if (!im) {
  ------------------
  |  Branch (615:13): [True: 0, False: 0]
  ------------------
  616|      0|            PyErr_NoMemory();
  617|      0|            goto done;
  618|      0|        }
  619|      0|        lead = "(";
  620|      0|        tail = ")";
  621|      0|    }
  622|  19.6k|    result = PyUnicode_FromFormat("%s%s%sj%s", lead, re, im, tail);
  623|  19.6k|  done:
  624|  19.6k|    PyMem_Free(im);
  625|  19.6k|    PyMem_Free(pre);
  626|       |
  627|  19.6k|    return result;
  628|  19.6k|}
complexobject.c:real_to_double:
  662|   109k|{
  663|   109k|    PyObject *obj = *pobj;
  664|       |
  665|   109k|    if (PyFloat_Check(obj)) {
  ------------------
  |  |   16|   109k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|   109k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   109k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   109k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 25.3k, False: 84.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  666|  25.3k|        *dbl = PyFloat_AS_DOUBLE(obj);
  ------------------
  |  |   18|  25.3k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  667|  25.3k|    }
  668|  84.2k|    else if (_Py_convert_int_to_double(pobj, dbl) < 0) {
  ------------------
  |  Branch (668:14): [True: 6.06k, False: 78.1k]
  ------------------
  669|  6.06k|        return -1;
  670|  6.06k|    }
  671|   103k|    return 0;
  672|   109k|}
complexobject.c:_Py_rc_sum:
   50|  7.59k|{
   51|  7.59k|    return _Py_cr_sum(b, a);
   52|  7.59k|}
complexobject.c:_Py_rc_prod:
  161|  3.87k|{
  162|  3.87k|    return _Py_cr_prod(b, a);
  163|  3.87k|}
complexobject.c:complex_pow:
  741|  55.3k|{
  742|  55.3k|    Py_complex p;
  743|  55.3k|    Py_complex a, b;
  744|  55.3k|    TO_COMPLEX(v, a);
  ------------------
  |  |  655|  55.3k|    if (PyComplex_Check(obj))                   \
  |  |  ------------------
  |  |  |  |   13|  55.3k|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  55.3k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  55.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  55.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 35.3k, False: 20.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  656|  55.3k|        c = ((PyComplexObject *)(obj))->cval;   \
  |  |  657|  55.3k|    else if (real_to_complex(&(obj), &(c)) < 0) \
  |  |  ------------------
  |  |  |  Branch (657:14): [True: 70, False: 19.9k]
  |  |  ------------------
  |  |  658|  20.0k|        return (obj)
  ------------------
  745|  55.2k|    TO_COMPLEX(w, b);
  ------------------
  |  |  655|  55.2k|    if (PyComplex_Check(obj))                   \
  |  |  ------------------
  |  |  |  |   13|  55.2k|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  55.2k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  55.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  55.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 37.9k, False: 17.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  656|  55.2k|        c = ((PyComplexObject *)(obj))->cval;   \
  |  |  657|  55.2k|    else if (real_to_complex(&(obj), &(c)) < 0) \
  |  |  ------------------
  |  |  |  Branch (657:14): [True: 60, False: 17.2k]
  |  |  ------------------
  |  |  658|  17.3k|        return (obj)
  ------------------
  746|       |
  747|  55.2k|    if (z != Py_None) {
  ------------------
  |  |  616|  55.2k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (747:9): [True: 0, False: 55.2k]
  ------------------
  748|      0|        PyErr_SetString(PyExc_ValueError, "complex modulo");
  749|      0|        return NULL;
  750|      0|    }
  751|  55.2k|    errno = 0;
  752|       |    // Check whether the exponent has a small integer value, and if so use
  753|       |    // a faster and more accurate algorithm.
  754|  55.2k|    if (b.imag == 0.0 && b.real == floor(b.real) && fabs(b.real) <= 100.0) {
  ------------------
  |  Branch (754:9): [True: 32.4k, False: 22.7k]
  |  Branch (754:26): [True: 24.6k, False: 7.74k]
  |  Branch (754:53): [True: 19.2k, False: 5.38k]
  ------------------
  755|  19.2k|        p = c_powi(a, (long)b.real);
  756|  19.2k|        _Py_ADJUST_ERANGE2(p.real, p.imag);
  757|  19.2k|    }
  758|  35.9k|    else {
  759|  35.9k|        p = _Py_c_pow(a, b);
  760|  35.9k|    }
  761|       |
  762|  55.2k|    if (errno == EDOM) {
  ------------------
  |  Branch (762:9): [True: 1.47k, False: 53.7k]
  ------------------
  763|  1.47k|        PyErr_SetString(PyExc_ZeroDivisionError,
  764|  1.47k|                        "zero to a negative or complex power");
  765|  1.47k|        return NULL;
  766|  1.47k|    }
  767|  53.7k|    else if (errno == ERANGE) {
  ------------------
  |  Branch (767:14): [True: 3.09k, False: 50.6k]
  ------------------
  768|  3.09k|        PyErr_SetString(PyExc_OverflowError,
  769|  3.09k|                        "complex exponentiation");
  770|  3.09k|        return NULL;
  771|  3.09k|    }
  772|  50.6k|    return PyComplex_FromCComplex(p);
  773|  55.2k|}
complexobject.c:real_to_complex:
  676|  37.3k|{
  677|  37.3k|    pc->imag = 0.0;
  678|  37.3k|    return real_to_double(pobj, &(pc->real));
  679|  37.3k|}
complexobject.c:c_powi:
  359|  19.2k|{
  360|  19.2k|    if (n > 0)
  ------------------
  |  Branch (360:9): [True: 13.0k, False: 6.23k]
  ------------------
  361|  13.0k|        return c_powu(x,n);
  362|  6.23k|    else
  363|  6.23k|        return _Py_c_quot(c_1, c_powu(x,-n));
  364|       |
  365|  19.2k|}
complexobject.c:c_powu:
  343|  19.2k|{
  344|  19.2k|    Py_complex r, p;
  345|  19.2k|    long mask = 1;
  346|  19.2k|    r = c_1;
  347|  19.2k|    p = x;
  348|  71.6k|    while (mask > 0 && n >= mask) {
  ------------------
  |  Branch (348:12): [True: 71.6k, False: 0]
  |  Branch (348:24): [True: 52.3k, False: 19.2k]
  ------------------
  349|  52.3k|        if (n & mask)
  ------------------
  |  Branch (349:13): [True: 30.4k, False: 21.8k]
  ------------------
  350|  30.4k|            r = _Py_c_prod(r,p);
  351|  52.3k|        mask <<= 1;
  352|  52.3k|        p = _Py_c_prod(p,p);
  353|  52.3k|    }
  354|  19.2k|    return r;
  355|  19.2k|}
complexobject.c:complex_neg:
  777|  18.6k|{
  778|  18.6k|    PyComplexObject *v = _PyComplexObject_CAST(op);
  ------------------
  |  |   17|  18.6k|#define _PyComplexObject_CAST(op)   ((PyComplexObject *)(op))
  ------------------
  779|  18.6k|    Py_complex neg;
  780|  18.6k|    neg.real = -v->cval.real;
  781|  18.6k|    neg.imag = -v->cval.imag;
  782|  18.6k|    return PyComplex_FromCComplex(neg);
  783|  18.6k|}
complexobject.c:complex_pos:
  787|  3.55k|{
  788|  3.55k|    PyComplexObject *v = _PyComplexObject_CAST(op);
  ------------------
  |  |   17|  3.55k|#define _PyComplexObject_CAST(op)   ((PyComplexObject *)(op))
  ------------------
  789|  3.55k|    if (PyComplex_CheckExact(v)) {
  ------------------
  |  |   14|  3.55k|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  215|  3.55k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 3.55k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  790|  3.55k|        return Py_NewRef(v);
  ------------------
  |  |  550|  3.55k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  791|  3.55k|    }
  792|      0|    return PyComplex_FromCComplex(v->cval);
  793|  3.55k|}
complexobject.c:complex_bool:
  810|    820|{
  811|    820|    PyComplexObject *v = _PyComplexObject_CAST(op);
  ------------------
  |  |   17|    820|#define _PyComplexObject_CAST(op)   ((PyComplexObject *)(op))
  ------------------
  812|    820|    return v->cval.real != 0.0 || v->cval.imag != 0.0;
  ------------------
  |  Branch (812:12): [True: 0, False: 820]
  |  Branch (812:35): [True: 168, False: 652]
  ------------------
  813|    820|}
complexobject.c:complex_hash:
  632|   320k|{
  633|   320k|    Py_uhash_t hashreal, hashimag, combined;
  634|   320k|    PyComplexObject *v = _PyComplexObject_CAST(op);
  ------------------
  |  |   17|   320k|#define _PyComplexObject_CAST(op)   ((PyComplexObject *)(op))
  ------------------
  635|   320k|    hashreal = (Py_uhash_t)_Py_HashDouble(op, v->cval.real);
  636|   320k|    if (hashreal == (Py_uhash_t)-1)
  ------------------
  |  Branch (636:9): [True: 0, False: 320k]
  ------------------
  637|      0|        return -1;
  638|   320k|    hashimag = (Py_uhash_t)_Py_HashDouble(op, v->cval.imag);
  639|   320k|    if (hashimag == (Py_uhash_t)-1)
  ------------------
  |  Branch (639:9): [True: 0, False: 320k]
  ------------------
  640|      0|        return -1;
  641|       |    /* Note:  if the imaginary part is 0, hashimag is 0 now,
  642|       |     * so the following returns hashreal unchanged.  This is
  643|       |     * important because numbers of different types that
  644|       |     * compare equal must have the same hash value, so that
  645|       |     * hash(x + 0*j) must equal hash(x).
  646|       |     */
  647|   320k|    combined = hashreal + PyHASH_IMAG * hashimag;
  ------------------
  |  |   20|   320k|#define PyHASH_IMAG PyHASH_MULTIPLIER
  |  |  ------------------
  |  |  |  |    6|   320k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  ------------------
  648|   320k|    if (combined == (Py_uhash_t)-1)
  ------------------
  |  Branch (648:9): [True: 0, False: 320k]
  ------------------
  649|      0|        combined = (Py_uhash_t)-2;
  650|   320k|    return (Py_hash_t)combined;
  651|   320k|}
complexobject.c:complex_richcompare:
  817|   183k|{
  818|   183k|    PyObject *res;
  819|   183k|    Py_complex i;
  820|   183k|    int equal;
  821|       |
  822|   183k|    if (op != Py_EQ && op != Py_NE) {
  ------------------
  |  |  654|   366k|#define Py_EQ 2
  ------------------
                  if (op != Py_EQ && op != Py_NE) {
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (822:9): [True: 0, False: 183k]
  |  Branch (822:24): [True: 0, False: 0]
  ------------------
  823|      0|        goto Unimplemented;
  824|      0|    }
  825|       |
  826|   183k|    assert(PyComplex_Check(v));
  ------------------
  |  Branch (826:5): [True: 183k, False: 0]
  ------------------
  827|   183k|    TO_COMPLEX(v, i);
  ------------------
  |  |  655|   183k|    if (PyComplex_Check(obj))                   \
  |  |  ------------------
  |  |  |  |   13|   183k|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|   183k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   183k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   183k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 183k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  656|   183k|        c = ((PyComplexObject *)(obj))->cval;   \
  |  |  657|   183k|    else if (real_to_complex(&(obj), &(c)) < 0) \
  |  |  ------------------
  |  |  |  Branch (657:14): [True: 0, False: 0]
  |  |  ------------------
  |  |  658|      0|        return (obj)
  ------------------
  828|       |
  829|   183k|    if (PyLong_Check(w)) {
  ------------------
  |  |   13|   183k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   183k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 41, False: 183k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  830|       |        /* Check for 0.0 imaginary part first to avoid the rich
  831|       |         * comparison when possible.
  832|       |         */
  833|     41|        if (i.imag == 0.0) {
  ------------------
  |  Branch (833:13): [True: 41, False: 0]
  ------------------
  834|     41|            PyObject *j, *sub_res;
  835|     41|            j = PyFloat_FromDouble(i.real);
  836|     41|            if (j == NULL)
  ------------------
  |  Branch (836:17): [True: 0, False: 41]
  ------------------
  837|      0|                return NULL;
  838|       |
  839|     41|            sub_res = PyObject_RichCompare(j, w, op);
  840|     41|            Py_DECREF(j);
  ------------------
  |  |  430|     41|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     41|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  841|     41|            return sub_res;
  842|     41|        }
  843|      0|        else {
  844|      0|            equal = 0;
  845|      0|        }
  846|     41|    }
  847|   183k|    else if (PyFloat_Check(w)) {
  ------------------
  |  |   16|   183k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|   183k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   183k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   183k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 1, False: 183k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  848|      1|        equal = (i.real == PyFloat_AsDouble(w) && i.imag == 0.0);
  ------------------
  |  Branch (848:18): [True: 1, False: 0]
  |  Branch (848:51): [True: 1, False: 0]
  ------------------
  849|      1|    }
  850|   183k|    else if (PyComplex_Check(w)) {
  ------------------
  |  |   13|   183k|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  378|   183k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   183k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   183k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 183k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  851|   183k|        Py_complex j;
  852|       |
  853|   183k|        TO_COMPLEX(w, j);
  ------------------
  |  |  655|   183k|    if (PyComplex_Check(obj))                   \
  |  |  ------------------
  |  |  |  |   13|   183k|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|   183k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   183k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   183k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 183k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  656|   183k|        c = ((PyComplexObject *)(obj))->cval;   \
  |  |  657|   183k|    else if (real_to_complex(&(obj), &(c)) < 0) \
  |  |  ------------------
  |  |  |  Branch (657:14): [True: 0, False: 0]
  |  |  ------------------
  |  |  658|      0|        return (obj)
  ------------------
  854|   183k|        equal = (i.real == j.real && i.imag == j.imag);
  ------------------
  |  Branch (854:18): [True: 183k, False: 153]
  |  Branch (854:38): [True: 182k, False: 339]
  ------------------
  855|   183k|    }
  856|      0|    else {
  857|      0|        goto Unimplemented;
  858|      0|    }
  859|       |
  860|   183k|    if (equal == (op == Py_EQ))
  ------------------
  |  |  654|   183k|#define Py_EQ 2
  ------------------
  |  Branch (860:9): [True: 182k, False: 492]
  ------------------
  861|   182k|         res = Py_True;
  ------------------
  |  |   26|   182k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|   182k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   182k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  862|    492|    else
  863|    492|         res = Py_False;
  ------------------
  |  |   25|    492|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|    492|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    492|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  864|       |
  865|   183k|    return Py_NewRef(res);
  ------------------
  |  |  550|   183k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   183k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   183k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  866|       |
  867|      0|Unimplemented:
  868|      0|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  869|   183k|}

PyDescr_NewMethod:
  936|  1.66k|{
  937|       |    /* Figure out correct vectorcall function to use */
  938|  1.66k|    vectorcallfunc vectorcall;
  939|  1.66k|    switch (method->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS |
  ------------------
  |  |   95|  1.66k|#define METH_VARARGS  0x0001
  ------------------
                  switch (method->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS |
  ------------------
  |  |  115|  1.66k|#  define METH_FASTCALL  0x0080
  ------------------
                  switch (method->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS |
  ------------------
  |  |   98|  1.66k|#define METH_NOARGS   0x0004
  ------------------
  940|  1.66k|                                METH_O | METH_KEYWORDS | METH_METHOD))
  ------------------
  |  |   99|  1.66k|#define METH_O        0x0008
  ------------------
                                              METH_O | METH_KEYWORDS | METH_METHOD))
  ------------------
  |  |   96|  1.66k|#define METH_KEYWORDS 0x0002
  ------------------
                                              METH_O | METH_KEYWORDS | METH_METHOD))
  ------------------
  |  |  133|  1.66k|#define METH_METHOD 0x0200
  ------------------
  941|  1.66k|    {
  942|     39|        case METH_VARARGS:
  ------------------
  |  |   95|     39|#define METH_VARARGS  0x0001
  ------------------
  |  Branch (942:9): [True: 39, False: 1.62k]
  ------------------
  943|     39|            vectorcall = method_vectorcall_VARARGS;
  944|     39|            break;
  945|     43|        case METH_VARARGS | METH_KEYWORDS:
  ------------------
  |  |   95|     43|#define METH_VARARGS  0x0001
  ------------------
                      case METH_VARARGS | METH_KEYWORDS:
  ------------------
  |  |   96|     43|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (945:9): [True: 43, False: 1.62k]
  ------------------
  946|     43|            vectorcall = method_vectorcall_VARARGS_KEYWORDS;
  947|     43|            break;
  948|    235|        case METH_FASTCALL:
  ------------------
  |  |  115|    235|#  define METH_FASTCALL  0x0080
  ------------------
  |  Branch (948:9): [True: 235, False: 1.42k]
  ------------------
  949|    235|            vectorcall = method_vectorcall_FASTCALL;
  950|    235|            break;
  951|    118|        case METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  115|    118|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |   96|    118|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (951:9): [True: 118, False: 1.54k]
  ------------------
  952|    118|            vectorcall = method_vectorcall_FASTCALL_KEYWORDS;
  953|    118|            break;
  954|    847|        case METH_NOARGS:
  ------------------
  |  |   98|    847|#define METH_NOARGS   0x0004
  ------------------
  |  Branch (954:9): [True: 847, False: 816]
  ------------------
  955|    847|            vectorcall = method_vectorcall_NOARGS;
  956|    847|            break;
  957|    307|        case METH_O:
  ------------------
  |  |   99|    307|#define METH_O        0x0008
  ------------------
  |  Branch (957:9): [True: 307, False: 1.35k]
  ------------------
  958|    307|            vectorcall = method_vectorcall_O;
  959|    307|            break;
  960|     74|        case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  133|     74|#define METH_METHOD 0x0200
  ------------------
                      case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  115|     74|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |   96|     74|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (960:9): [True: 74, False: 1.58k]
  ------------------
  961|     74|            vectorcall = method_vectorcall_FASTCALL_KEYWORDS_METHOD;
  962|     74|            break;
  963|      0|        default:
  ------------------
  |  Branch (963:9): [True: 0, False: 1.66k]
  ------------------
  964|      0|            PyErr_Format(PyExc_SystemError,
  965|      0|                         "%s() method: bad call flags", method->ml_name);
  966|      0|            return NULL;
  967|  1.66k|    }
  968|       |
  969|  1.66k|    PyMethodDescrObject *descr;
  970|       |
  971|  1.66k|    descr = (PyMethodDescrObject *)descr_new(&PyMethodDescr_Type,
  972|  1.66k|                                             type, method->ml_name);
  973|  1.66k|    if (descr != NULL) {
  ------------------
  |  Branch (973:9): [True: 1.66k, False: 0]
  ------------------
  974|  1.66k|        descr->d_method = method;
  975|  1.66k|        descr->vectorcall = vectorcall;
  976|  1.66k|    }
  977|  1.66k|    return (PyObject *)descr;
  978|  1.66k|}
PyDescr_NewClassMethod:
  982|    115|{
  983|    115|    PyMethodDescrObject *descr;
  984|       |
  985|    115|    descr = (PyMethodDescrObject *)descr_new(&PyClassMethodDescr_Type,
  986|    115|                                             type, method->ml_name);
  987|    115|    if (descr != NULL)
  ------------------
  |  Branch (987:9): [True: 115, False: 0]
  ------------------
  988|    115|        descr->d_method = method;
  989|    115|    return (PyObject *)descr;
  990|    115|}
PyDescr_NewMember:
  994|    692|{
  995|    692|    PyMemberDescrObject *descr;
  996|       |
  997|    692|    if (member->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|    692|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (997:9): [True: 0, False: 692]
  ------------------
  998|      0|        PyErr_SetString(
  999|      0|            PyExc_SystemError,
 1000|      0|            "PyDescr_NewMember used with Py_RELATIVE_OFFSET");
 1001|      0|        return NULL;
 1002|      0|    }
 1003|    692|    descr = (PyMemberDescrObject *)descr_new(&PyMemberDescr_Type,
 1004|    692|                                             type, member->name);
 1005|    692|    if (descr != NULL)
  ------------------
  |  Branch (1005:9): [True: 692, False: 0]
  ------------------
 1006|    692|        descr->d_member = member;
 1007|    692|    return (PyObject *)descr;
 1008|    692|}
PyDescr_NewGetSet:
 1012|    463|{
 1013|    463|    PyGetSetDescrObject *descr;
 1014|       |
 1015|    463|    descr = (PyGetSetDescrObject *)descr_new(&PyGetSetDescr_Type,
 1016|    463|                                             type, getset->name);
 1017|    463|    if (descr != NULL)
  ------------------
  |  Branch (1017:9): [True: 463, False: 0]
  ------------------
 1018|    463|        descr->d_getset = getset;
 1019|    463|    return (PyObject *)descr;
 1020|    463|}
PyDescr_NewWrapper:
 1024|  2.19k|{
 1025|  2.19k|    PyWrapperDescrObject *descr;
 1026|       |
 1027|  2.19k|    descr = (PyWrapperDescrObject *)descr_new(&PyWrapperDescr_Type,
 1028|  2.19k|                                             type, base->name);
 1029|  2.19k|    if (descr != NULL) {
  ------------------
  |  Branch (1029:9): [True: 2.19k, False: 0]
  ------------------
 1030|  2.19k|        descr->d_base = base;
 1031|  2.19k|        descr->d_wrapped = wrapped;
 1032|  2.19k|    }
 1033|  2.19k|    return (PyObject *)descr;
 1034|  2.19k|}
PyDescr_IsData:
 1038|  2.01M|{
 1039|  2.01M|    return Py_TYPE(ob)->tp_descr_set != NULL;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1040|  2.01M|}
PyDictProxy_New:
 1287|    387|{
 1288|    387|    mappingproxyobject *pp;
 1289|       |
 1290|    387|    if (mappingproxy_check_mapping(mapping) == -1)
  ------------------
  |  Branch (1290:9): [True: 0, False: 387]
  ------------------
 1291|      0|        return NULL;
 1292|       |
 1293|    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))
  |  |  ------------------
  ------------------
 1294|    387|    if (pp != NULL) {
  ------------------
  |  Branch (1294:9): [True: 387, False: 0]
  ------------------
 1295|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1296|    387|        _PyObject_GC_TRACK(pp);
  ------------------
  |  |  505|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1297|    387|    }
 1298|    387|    return (PyObject *)pp;
 1299|    387|}
PyWrapper_New:
 1511|    103|{
 1512|    103|    wrapperobject *wp;
 1513|    103|    PyWrapperDescrObject *descr;
 1514|       |
 1515|    103|    assert(PyObject_TypeCheck(d, &PyWrapperDescr_Type));
  ------------------
  |  Branch (1515:5): [True: 103, False: 0]
  ------------------
 1516|    103|    descr = (PyWrapperDescrObject *)d;
 1517|    103|    assert(_PyObject_RealIsSubclass((PyObject *)Py_TYPE(self),
  ------------------
  |  Branch (1517:5): [True: 103, False: 0]
  ------------------
 1518|    103|                                    (PyObject *)PyDescr_TYPE(descr)));
 1519|       |
 1520|    103|    wp = PyObject_GC_New(wrapperobject, &_PyMethodWrapper_Type);
  ------------------
  |  |  181|    103|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1521|    103|    if (wp != NULL) {
  ------------------
  |  Branch (1521:9): [True: 103, False: 0]
  ------------------
 1522|    103|        wp->descr = (PyWrapperDescrObject*)Py_NewRef(descr);
  ------------------
  |  |  550|    103|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1523|    103|        wp->self = Py_NewRef(self);
  ------------------
  |  |  550|    103|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1524|    103|        _PyObject_GC_TRACK(wp);
  ------------------
  |  |  505|    103|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1525|    103|    }
 1526|    103|    return (PyObject *)wp;
 1527|    103|}
descrobject.c:descr_dealloc:
   24|     80|{
   25|     80|    PyDescrObject *descr = (PyDescrObject *)self;
   26|     80|    _PyObject_GC_UNTRACK(descr);
  ------------------
  |  |  507|     80|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   27|     80|    Py_XDECREF(descr->d_type);
  ------------------
  |  |  524|     80|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   28|     80|    Py_XDECREF(descr->d_name);
  ------------------
  |  |  524|     80|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   29|     80|    Py_XDECREF(descr->d_qualname);
  ------------------
  |  |  524|     80|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   30|     80|    PyObject_GC_Del(descr);
   31|     80|}
descrobject.c:descr_traverse:
  719|  53.1k|{
  720|  53.1k|    PyDescrObject *descr = (PyDescrObject *)self;
  721|  53.1k|    Py_VISIT(descr->d_type);
  ------------------
  |  |  194|  53.1k|    do {                                                                \
  |  |  195|  53.1k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 53.1k, False: 0]
  |  |  ------------------
  |  |  196|  53.1k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  53.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  53.1k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 53.1k]
  |  |  ------------------
  |  |  198|  53.1k|                return vret;                                            \
  |  |  199|  53.1k|        }                                                               \
  |  |  200|  53.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 53.1k]
  |  |  ------------------
  ------------------
  722|  53.1k|    return 0;
  723|  53.1k|}
descrobject.c:method_get:
  139|  1.93M|{
  140|  1.93M|    PyMethodDescrObject *descr = (PyMethodDescrObject *)self;
  141|  1.93M|    if (obj == NULL) {
  ------------------
  |  Branch (141:9): [True: 122, False: 1.93M]
  ------------------
  142|    122|        return Py_NewRef(descr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  143|    122|    }
  144|  1.93M|    if (descr_check((PyDescrObject *)descr, obj) < 0) {
  ------------------
  |  Branch (144:9): [True: 0, False: 1.93M]
  ------------------
  145|      0|        return NULL;
  146|      0|    }
  147|  1.93M|    if (descr->d_method->ml_flags & METH_METHOD) {
  ------------------
  |  |  133|  1.93M|#define METH_METHOD 0x0200
  ------------------
  |  Branch (147:9): [True: 92, False: 1.93M]
  ------------------
  148|     92|        if (type == NULL || PyType_Check(type)) {
  ------------------
  |  |  766|     92|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 92, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (148:13): [True: 0, False: 92]
  ------------------
  149|     92|            return PyCMethod_New(descr->d_method, obj, NULL, descr->d_common.d_type);
  150|     92|        } else {
  151|      0|            PyErr_Format(PyExc_TypeError,
  152|      0|                        "descriptor '%V' needs a type, not '%s', as arg 2",
  153|      0|                        descr_name((PyDescrObject *)descr), "?",
  154|      0|                        Py_TYPE(type)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  155|      0|            return NULL;
  156|      0|        }
  157|  1.93M|    } else {
  158|       |        return PyCFunction_NewEx(descr->d_method, obj, NULL);
  ------------------
  |  |   87|  1.93M|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
  159|  1.93M|    }
  160|  1.93M|}
descrobject.c:descr_check:
   81|  2.20M|{
   82|  2.20M|    if (!PyObject_TypeCheck(obj, descr->d_type)) {
  ------------------
  |  |  378|  2.20M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.20M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.20M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (82:9): [True: 0, False: 2.20M]
  ------------------
   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|  2.20M|    return 0;
   92|  2.20M|}
descrobject.c:classmethod_get:
   96|  1.68k|{
   97|  1.68k|    PyMethodDescrObject *descr = (PyMethodDescrObject *)self;
   98|       |    /* Ensure a valid type.  Class methods ignore obj. */
   99|  1.68k|    if (type == NULL) {
  ------------------
  |  Branch (99:9): [True: 0, False: 1.68k]
  ------------------
  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.68k|    if (!PyType_Check(type)) {
  ------------------
  |  |  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 (112:9): [True: 0, False: 1.68k]
  ------------------
  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.68k|    if (!PyType_IsSubtype((PyTypeObject *)type, PyDescr_TYPE(descr))) {
  ------------------
  |  |   35|  1.68k|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  |  Branch (121:9): [True: 0, False: 1.68k]
  ------------------
  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.68k|    PyTypeObject *cls = NULL;
  131|  1.68k|    if (descr->d_method->ml_flags & METH_METHOD) {
  ------------------
  |  |  133|  1.68k|#define METH_METHOD 0x0200
  ------------------
  |  Branch (131:9): [True: 0, False: 1.68k]
  ------------------
  132|      0|        cls = descr->d_common.d_type;
  133|      0|    }
  134|       |    return PyCMethod_New(descr->d_method, type, NULL, cls);
  135|  1.68k|}
descrobject.c:member_get:
  164|  3.56k|{
  165|  3.56k|    PyMemberDescrObject *descr = (PyMemberDescrObject *)self;
  166|  3.56k|    if (obj == NULL) {
  ------------------
  |  Branch (166:9): [True: 0, False: 3.56k]
  ------------------
  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|  3.56k|    if (descr_check((PyDescrObject *)descr, obj) < 0) {
  ------------------
  |  Branch (169:9): [True: 0, False: 3.56k]
  ------------------
  170|      0|        return NULL;
  171|      0|    }
  172|       |
  173|  3.56k|    if (descr->d_member->flags & Py_AUDIT_READ) {
  ------------------
  |  |   84|  3.56k|#define Py_AUDIT_READ          (1 << 1) // Added in 3.10, harmless no-op before that
  ------------------
  |  Branch (173:9): [True: 0, False: 3.56k]
  ------------------
  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|  3.56k|    return PyMember_GetOne((char *)obj, descr->d_member);
  181|  3.56k|}
descrobject.c:member_set:
  234|  2.69k|{
  235|  2.69k|    PyMemberDescrObject *descr = (PyMemberDescrObject *)self;
  236|  2.69k|    if (descr_setcheck((PyDescrObject *)descr, obj, value) < 0) {
  ------------------
  |  Branch (236:9): [True: 0, False: 2.69k]
  ------------------
  237|      0|        return -1;
  238|      0|    }
  239|  2.69k|    return PyMember_SetOne((char *)obj, descr->d_member, value);
  240|  2.69k|}
descrobject.c:descr_setcheck:
  218|  3.01k|{
  219|  3.01k|    assert(obj != NULL);
  ------------------
  |  Branch (219:5): [True: 3.01k, False: 0]
  ------------------
  220|  3.01k|    if (!PyObject_TypeCheck(obj, descr->d_type)) {
  ------------------
  |  |  378|  3.01k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  3.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (220:9): [True: 0, False: 3.01k]
  ------------------
  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|  3.01k|    return 0;
  230|  3.01k|}
descrobject.c:getset_get:
  185|   119k|{
  186|   119k|    PyGetSetDescrObject *descr = (PyGetSetDescrObject *)self;
  187|   119k|    if (obj == NULL) {
  ------------------
  |  Branch (187:9): [True: 0, False: 119k]
  ------------------
  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|   119k|    if (descr_check((PyDescrObject *)descr, obj) < 0) {
  ------------------
  |  Branch (190:9): [True: 0, False: 119k]
  ------------------
  191|      0|        return NULL;
  192|      0|    }
  193|   119k|    if (descr->d_getset->get != NULL)
  ------------------
  |  Branch (193:9): [True: 119k, False: 0]
  ------------------
  194|   119k|        return descr_get_trampoline_call(
  ------------------
  |  |   63|   119k|    (get)((obj), (closure))
  ------------------
  195|   119k|            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|   119k|}
descrobject.c:getset_set:
  244|    320|{
  245|    320|    PyGetSetDescrObject *descr = (PyGetSetDescrObject *)self;
  246|    320|    if (descr_setcheck((PyDescrObject *)descr, obj, value) < 0) {
  ------------------
  |  Branch (246:9): [True: 0, False: 320]
  ------------------
  247|      0|        return -1;
  248|      0|    }
  249|    320|    if (descr->d_getset->set != NULL) {
  ------------------
  |  Branch (249:9): [True: 320, False: 0]
  ------------------
  250|    320|        return descr_set_trampoline_call(
  ------------------
  |  |   60|    320|    (set)((obj), (value), (closure))
  ------------------
  251|    320|            descr->d_getset->set, obj, value,
  252|    320|            descr->d_getset->closure);
  253|    320|    }
  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|    320|}
descrobject.c:wrapperdescr_call:
  537|    515|{
  538|    515|    PyWrapperDescrObject *descr = (PyWrapperDescrObject *)_descr;
  539|    515|    Py_ssize_t argc;
  540|    515|    PyObject *self, *result;
  541|       |
  542|       |    /* Make sure that the first argument is acceptable as 'self' */
  543|    515|    assert(PyTuple_Check(args));
  ------------------
  |  Branch (543:5): [True: 515, False: 0]
  ------------------
  544|    515|    argc = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    515|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    515|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    515|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  545|    515|    if (argc < 1) {
  ------------------
  |  Branch (545:9): [True: 0, False: 515]
  ------------------
  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|    515|    self = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|    515|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    515|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    515|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (553:12): [True: 515, False: 0]
  ------------------
  554|    515|    if (!_PyObject_RealIsSubclass((PyObject *)Py_TYPE(self),
  ------------------
  |  |  213|    515|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    515|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    515|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (554:9): [True: 0, False: 515]
  ------------------
  555|    515|                                  (PyObject *)PyDescr_TYPE(descr))) {
  ------------------
  |  |   35|    515|#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|    515|    args = PyTuple_GetSlice(args, 1, argc);
  567|    515|    if (args == NULL) {
  ------------------
  |  Branch (567:9): [True: 0, False: 515]
  ------------------
  568|      0|        return NULL;
  569|      0|    }
  570|    515|    result = wrapperdescr_raw_call(descr, self, args, kwds);
  571|    515|    Py_DECREF(args);
  ------------------
  |  |  430|    515|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    515|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    515|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  572|    515|    return result;
  573|    515|}
descrobject.c:wrapperdescr_raw_call:
  518|    617|{
  519|    617|    wrapperfunc wrapper = descr->d_base->wrapper;
  520|       |
  521|    617|    if (descr->d_base->flags & PyWrapperFlag_KEYWORDS) {
  ------------------
  |  |   22|    617|#define PyWrapperFlag_KEYWORDS 1 /* wrapper function takes keyword args */
  ------------------
  |  Branch (521:9): [True: 390, False: 227]
  ------------------
  522|    390|        wrapperfunc_kwds wk = _Py_FUNC_CAST(wrapperfunc_kwds, wrapper);
  ------------------
  |  |   47|    390|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  ------------------
  |  |  |  |   37|    390|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  523|    390|        return (*wk)(self, args, descr->d_wrapped, kwds);
  524|    390|    }
  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|    145|{
  206|    145|    PyWrapperDescrObject *descr = (PyWrapperDescrObject *)self;
  207|    145|    if (obj == NULL) {
  ------------------
  |  Branch (207:9): [True: 42, False: 103]
  ------------------
  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|    103|    if (descr_check((PyDescrObject *)descr, obj) < 0) {
  ------------------
  |  Branch (210:9): [True: 0, False: 103]
  ------------------
  211|      0|        return NULL;
  212|      0|    }
  213|    103|    return PyWrapper_New((PyObject *)descr, obj);
  214|    103|}
descrobject.c:method_vectorcall_VARARGS:
  310|     95|{
  311|     95|    PyThreadState *tstate = _PyThreadState_GET();
  312|     95|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     95|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  313|     95|    if (method_check_args(func, args, nargs, kwnames)) {
  ------------------
  |  Branch (313:9): [True: 0, False: 95]
  ------------------
  314|      0|        return NULL;
  315|      0|    }
  316|     95|    PyObject *argstuple = PyTuple_FromArray(args+1, nargs-1);
  317|     95|    if (argstuple == NULL) {
  ------------------
  |  Branch (317:9): [True: 0, False: 95]
  ------------------
  318|      0|        return NULL;
  319|      0|    }
  320|     95|    PyCFunction meth = (PyCFunction)method_enter_call(tstate, func);
  321|     95|    if (meth == NULL) {
  ------------------
  |  Branch (321:9): [True: 0, False: 95]
  ------------------
  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|     95|    PyObject *result = _PyCFunction_TrampolineCall(
  ------------------
  |  |  995|     95|    (meth)((self), (args))
  ------------------
  326|     95|        meth, args[0], argstuple);
  327|     95|    Py_DECREF(argstuple);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  328|     95|    _Py_LeaveRecursiveCallTstate(tstate);
  329|     95|    return result;
  330|     95|}
descrobject.c:method_check_args:
  268|   148k|{
  269|   148k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (269:5): [True: 148k, False: 0]
  ------------------
  270|   148k|    if (nargs < 1) {
  ------------------
  |  Branch (270:9): [True: 0, False: 148k]
  ------------------
  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|   148k|    PyObject *self = args[0];
  280|   148k|    if (descr_check((PyDescrObject *)func, self) < 0) {
  ------------------
  |  Branch (280:9): [True: 0, False: 148k]
  ------------------
  281|      0|        return -1;
  282|      0|    }
  283|   148k|    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: 148k]
  ------------------
  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|   148k|    return 0;
  293|   148k|}
descrobject.c:method_enter_call:
  299|   148k|{
  300|   148k|    if (_Py_EnterRecursiveCallTstate(tstate, " while calling a Python object")) {
  ------------------
  |  Branch (300:9): [True: 0, False: 148k]
  ------------------
  301|      0|        return NULL;
  302|      0|    }
  303|   148k|    return (funcptr)((PyMethodDescrObject *)func)->d_method->ml_meth;
  304|   148k|}
descrobject.c:method_vectorcall_VARARGS_KEYWORDS:
  335|     45|{
  336|     45|    PyThreadState *tstate = _PyThreadState_GET();
  337|     45|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     45|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  338|     45|    if (method_check_args(func, args, nargs, NULL)) {
  ------------------
  |  Branch (338:9): [True: 0, False: 45]
  ------------------
  339|      0|        return NULL;
  340|      0|    }
  341|     45|    PyObject *argstuple = PyTuple_FromArray(args+1, nargs-1);
  342|     45|    if (argstuple == NULL) {
  ------------------
  |  Branch (342:9): [True: 0, False: 45]
  ------------------
  343|      0|        return NULL;
  344|      0|    }
  345|     45|    PyObject *result = NULL;
  346|       |    /* Create a temporary dict for keyword arguments */
  347|     45|    PyObject *kwdict = NULL;
  348|     45|    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: 45]
  |  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|     45|    PyCFunctionWithKeywords meth = (PyCFunctionWithKeywords)
  355|     45|                                   method_enter_call(tstate, func);
  356|     45|    if (meth == NULL) {
  ------------------
  |  Branch (356:9): [True: 0, False: 45]
  ------------------
  357|      0|        goto exit;
  358|      0|    }
  359|     45|    result = _PyCFunctionWithKeywords_TrampolineCall(
  ------------------
  |  |  997|     45|    (meth)((self), (args), (kw))
  ------------------
  360|     45|        meth, args[0], argstuple, kwdict);
  361|     45|    _Py_LeaveRecursiveCallTstate(tstate);
  362|     45|exit:
  363|     45|    Py_DECREF(argstuple);
  ------------------
  |  |  430|     45|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  364|     45|    Py_XDECREF(kwdict);
  ------------------
  |  |  524|     45|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  365|     45|    return result;
  366|     45|}
descrobject.c:method_vectorcall_FASTCALL:
  391|    695|{
  392|    695|    PyThreadState *tstate = _PyThreadState_GET();
  393|    695|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    695|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  394|    695|    if (method_check_args(func, args, nargs, kwnames)) {
  ------------------
  |  Branch (394:9): [True: 0, False: 695]
  ------------------
  395|      0|        return NULL;
  396|      0|    }
  397|    695|    PyCFunctionFast meth = (PyCFunctionFast)
  398|    695|                            method_enter_call(tstate, func);
  399|    695|    if (meth == NULL) {
  ------------------
  |  Branch (399:9): [True: 0, False: 695]
  ------------------
  400|      0|        return NULL;
  401|      0|    }
  402|    695|    PyObject *result = meth(args[0], args+1, nargs-1);
  403|    695|    _Py_LeaveRecursiveCallTstate(tstate);
  404|    695|    return result;
  405|    695|}
descrobject.c:method_vectorcall_FASTCALL_KEYWORDS:
  410|     25|{
  411|     25|    PyThreadState *tstate = _PyThreadState_GET();
  412|     25|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     25|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  413|     25|    if (method_check_args(func, args, nargs, NULL)) {
  ------------------
  |  Branch (413:9): [True: 0, False: 25]
  ------------------
  414|      0|        return NULL;
  415|      0|    }
  416|     25|    PyCFunctionFastWithKeywords meth = (PyCFunctionFastWithKeywords)
  417|     25|                                        method_enter_call(tstate, func);
  418|     25|    if (meth == NULL) {
  ------------------
  |  Branch (418:9): [True: 0, False: 25]
  ------------------
  419|      0|        return NULL;
  420|      0|    }
  421|     25|    PyObject *result = meth(args[0], args+1, nargs-1, kwnames);
  422|     25|    _Py_LeaveRecursiveCallTstate(tstate);
  423|     25|    return result;
  424|     25|}
descrobject.c:method_vectorcall_NOARGS:
  429|  49.6k|{
  430|  49.6k|    PyThreadState *tstate = _PyThreadState_GET();
  431|  49.6k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  49.6k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  432|  49.6k|    if (method_check_args(func, args, nargs, kwnames)) {
  ------------------
  |  Branch (432:9): [True: 0, False: 49.6k]
  ------------------
  433|      0|        return NULL;
  434|      0|    }
  435|  49.6k|    if (nargs != 1) {
  ------------------
  |  Branch (435:9): [True: 0, False: 49.6k]
  ------------------
  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|  49.6k|    PyCFunction meth = (PyCFunction)method_enter_call(tstate, func);
  445|  49.6k|    if (meth == NULL) {
  ------------------
  |  Branch (445:9): [True: 0, False: 49.6k]
  ------------------
  446|      0|        return NULL;
  447|      0|    }
  448|  49.6k|    PyObject *result = _PyCFunction_TrampolineCall(meth, args[0], NULL);
  ------------------
  |  |  995|  49.6k|    (meth)((self), (args))
  ------------------
  449|  49.6k|    _Py_LeaveRecursiveCallTstate(tstate);
  450|  49.6k|    return result;
  451|  49.6k|}
descrobject.c:method_vectorcall_O:
  456|  49.3k|{
  457|  49.3k|    PyThreadState *tstate = _PyThreadState_GET();
  458|  49.3k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  49.3k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  459|  49.3k|    if (method_check_args(func, args, nargs, kwnames)) {
  ------------------
  |  Branch (459:9): [True: 0, False: 49.3k]
  ------------------
  460|      0|        return NULL;
  461|      0|    }
  462|  49.3k|    if (nargs != 2) {
  ------------------
  |  Branch (462:9): [True: 0, False: 49.3k]
  ------------------
  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|  49.3k|    PyCFunction meth = (PyCFunction)method_enter_call(tstate, func);
  473|  49.3k|    if (meth == NULL) {
  ------------------
  |  Branch (473:9): [True: 0, False: 49.3k]
  ------------------
  474|      0|        return NULL;
  475|      0|    }
  476|  49.3k|    PyObject *result = _PyCFunction_TrampolineCall(meth, args[0], args[1]);
  ------------------
  |  |  995|  49.3k|    (meth)((self), (args))
  ------------------
  477|  49.3k|    _Py_LeaveRecursiveCallTstate(tstate);
  478|  49.3k|    return result;
  479|  49.3k|}
descrobject.c:method_vectorcall_FASTCALL_KEYWORDS_METHOD:
  371|  48.5k|{
  372|  48.5k|    PyThreadState *tstate = _PyThreadState_GET();
  373|  48.5k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  48.5k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  374|  48.5k|    if (method_check_args(func, args, nargs, NULL)) {
  ------------------
  |  Branch (374:9): [True: 0, False: 48.5k]
  ------------------
  375|      0|        return NULL;
  376|      0|    }
  377|  48.5k|    PyCMethod meth = (PyCMethod) method_enter_call(tstate, func);
  378|  48.5k|    if (meth == NULL) {
  ------------------
  |  Branch (378:9): [True: 0, False: 48.5k]
  ------------------
  379|      0|        return NULL;
  380|      0|    }
  381|  48.5k|    PyObject *result = meth(args[0],
  382|  48.5k|                            ((PyMethodDescrObject *)func)->d_common.d_type,
  383|  48.5k|                            args+1, nargs-1, kwnames);
  384|  48.5k|    _Py_LeaveRecursiveCall();
  385|  48.5k|    return result;
  386|  48.5k|}
descrobject.c:descr_new:
  916|  5.12k|{
  917|  5.12k|    PyDescrObject *descr;
  918|       |
  919|  5.12k|    descr = (PyDescrObject *)PyType_GenericAlloc(descrtype, 0);
  920|  5.12k|    if (descr != NULL) {
  ------------------
  |  Branch (920:9): [True: 5.12k, False: 0]
  ------------------
  921|  5.12k|        _PyObject_SetDeferredRefcount((PyObject *)descr);
  922|  5.12k|        descr->d_type = (PyTypeObject*)Py_XNewRef(type);
  ------------------
  |  |  551|  5.12k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  923|  5.12k|        descr->d_name = PyUnicode_InternFromString(name);
  924|  5.12k|        if (descr->d_name == NULL) {
  ------------------
  |  Branch (924:13): [True: 0, False: 5.12k]
  ------------------
  925|      0|            Py_SETREF(descr, NULL);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  926|      0|        }
  927|  5.12k|        else {
  928|       |            descr->d_qualname = NULL;
  929|  5.12k|        }
  930|  5.12k|    }
  931|  5.12k|    return descr;
  932|  5.12k|}
descrobject.c:mappingproxy_check_mapping:
 1273|    387|{
 1274|    387|    if (!PyMapping_Check(mapping)
  ------------------
  |  Branch (1274:9): [True: 0, False: 387]
  ------------------
 1275|    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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1276|    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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1277|      0|        PyErr_Format(PyExc_TypeError,
 1278|      0|                    "mappingproxy() argument must be a mapping, not %s",
 1279|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1280|      0|        return -1;
 1281|      0|    }
 1282|    387|    return 0;
 1283|    387|}
descrobject.c:wrapper_dealloc:
 1333|    103|{
 1334|    103|    wrapperobject *wp = (wrapperobject *)self;
 1335|    103|    PyObject_GC_UnTrack(wp);
 1336|    103|    Py_XDECREF(wp->descr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1337|    103|    Py_XDECREF(wp->self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1338|    103|    PyObject_GC_Del(wp);
 1339|    103|}
descrobject.c:wrapper_call:
 1457|    102|{
 1458|    102|    wrapperobject *wp = (wrapperobject *)self;
 1459|    102|    return wrapperdescr_raw_call(wp->descr, wp->self, args, kwds);
 1460|    102|}
descrobject.c:mappingproxy_dealloc:
 1197|    387|{
 1198|    387|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1199|    387|    _PyObject_GC_UNTRACK(pp);
  ------------------
  |  |  507|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1200|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1201|    387|    PyObject_GC_Del(pp);
 1202|    387|}
descrobject.c:mappingproxy_contains:
 1098|     92|{
 1099|     92|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1100|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1101|     92|        return PyDict_Contains(pp->mapping, key);
 1102|      0|    else
 1103|      0|        return PySequence_Contains(pp->mapping, key);
 1104|     92|}
descrobject.c:mappingproxy_getitem:
 1061|    283|{
 1062|    283|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1063|    283|    return PyObject_GetItem(pp->mapping, key);
 1064|    283|}
descrobject.c:mappingproxy_get:
 1121|    124|{
 1122|    124|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1123|       |    /* newargs: mapping, key, default=None */
 1124|    124|    PyObject *newargs[3];
 1125|    124|    newargs[0] = pp->mapping;
 1126|    124|    newargs[2] = Py_None;
  ------------------
  |  |  616|    124|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1127|       |
 1128|    124|    if (!_PyArg_UnpackStack(args, nargs, "get", 1, 2,
  ------------------
  |  Branch (1128:9): [True: 0, False: 124]
  ------------------
 1129|    124|                            &newargs[1], &newargs[2]))
 1130|      0|    {
 1131|      0|        return NULL;
 1132|      0|    }
 1133|    124|    return PyObject_VectorcallMethod(&_Py_ID(get), newargs,
  ------------------
  |  |  921|    124|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    124|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    124|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1134|    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))
  |  |  ------------------
  ------------------
 1135|       |                                     NULL);
 1136|    124|}
descrobject.c:mappingproxy_keys:
 1140|      8|{
 1141|      8|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1142|      8|    return PyObject_CallMethodNoArgs(pp->mapping, &_Py_ID(keys));
  ------------------
  |  |  921|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1143|      8|}
descrobject.c:mappingproxy_items:
 1154|     78|{
 1155|     78|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1156|     78|    return PyObject_CallMethodNoArgs(pp->mapping, &_Py_ID(items));
  ------------------
  |  |  921|     78|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     78|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     78|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1157|     78|}
descrobject.c:mappingproxy_new_impl:
 1313|      1|{
 1314|      1|    return PyDictProxy_New(mapping);
 1315|      1|}
descrobject.c:property_dealloc:
 1656|      4|{
 1657|      4|    propertyobject *gs = (propertyobject *)self;
 1658|       |
 1659|      4|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1660|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1661|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1662|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1663|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1664|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1665|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1666|      4|}
descrobject.c:property_traverse:
 1999|    506|{
 2000|    506|    propertyobject *pp = (propertyobject *)self;
 2001|    506|    Py_VISIT(pp->prop_get);
  ------------------
  |  |  194|    506|    do {                                                                \
  |  |  195|    506|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 506, False: 0]
  |  |  ------------------
  |  |  196|    506|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    506|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    506|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    506|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 506]
  |  |  ------------------
  |  |  198|    506|                return vret;                                            \
  |  |  199|    506|        }                                                               \
  |  |  200|    506|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 506]
  |  |  ------------------
  ------------------
 2002|    506|    Py_VISIT(pp->prop_set);
  ------------------
  |  |  194|    506|    do {                                                                \
  |  |  195|    506|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 40, False: 466]
  |  |  ------------------
  |  |  196|     40|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     40|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 40]
  |  |  ------------------
  |  |  198|     40|                return vret;                                            \
  |  |  199|     40|        }                                                               \
  |  |  200|    506|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 506]
  |  |  ------------------
  ------------------
 2003|    506|    Py_VISIT(pp->prop_del);
  ------------------
  |  |  194|    506|    do {                                                                \
  |  |  195|    506|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 506]
  |  |  ------------------
  |  |  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|    506|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 506]
  |  |  ------------------
  ------------------
 2004|    506|    Py_VISIT(pp->prop_doc);
  ------------------
  |  |  194|    506|    do {                                                                \
  |  |  195|    506|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 168, False: 338]
  |  |  ------------------
  |  |  196|    168|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    168|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    168|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    168|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 168]
  |  |  ------------------
  |  |  198|    168|                return vret;                                            \
  |  |  199|    168|        }                                                               \
  |  |  200|    506|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 506]
  |  |  ------------------
  ------------------
 2005|    506|    Py_VISIT(pp->prop_name);
  ------------------
  |  |  194|    506|    do {                                                                \
  |  |  195|    506|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 506, False: 0]
  |  |  ------------------
  |  |  196|    506|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    506|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    506|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    506|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 506]
  |  |  ------------------
  |  |  198|    506|                return vret;                                            \
  |  |  199|    506|        }                                                               \
  |  |  200|    506|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 506]
  |  |  ------------------
  ------------------
 2006|    506|    return 0;
 2007|    506|}
descrobject.c:property_copy:
 1785|      4|{
 1786|      4|    propertyobject *pold = (propertyobject *)old;
 1787|      4|    PyObject *new, *type, *doc;
 1788|       |
 1789|      4|    type = PyObject_Type(old);
 1790|      4|    if (type == NULL)
  ------------------
  |  Branch (1790:9): [True: 0, False: 4]
  ------------------
 1791|      0|        return NULL;
 1792|       |
 1793|      4|    if (get == NULL || get == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1793:9): [True: 4, False: 0]
  |  Branch (1793:24): [True: 0, False: 0]
  ------------------
 1794|      4|        get = pold->prop_get ? pold->prop_get : Py_None;
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1794:15): [True: 4, False: 0]
  ------------------
 1795|      4|    }
 1796|      4|    if (set == NULL || set == Py_None) {
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1796:9): [True: 0, False: 4]
  |  Branch (1796:24): [True: 0, False: 4]
  ------------------
 1797|      0|        set = pold->prop_set ? pold->prop_set : Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1797:15): [True: 0, False: 0]
  ------------------
 1798|      0|    }
 1799|      4|    if (del == NULL || del == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1799:9): [True: 4, False: 0]
  |  Branch (1799:24): [True: 0, False: 0]
  ------------------
 1800|      4|        del = pold->prop_del ? pold->prop_del : Py_None;
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1800:15): [True: 0, False: 4]
  ------------------
 1801|      4|    }
 1802|      4|    if (pold->getter_doc && get != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1802:9): [True: 0, False: 4]
  |  Branch (1802:29): [True: 0, False: 0]
  ------------------
 1803|       |        /* make _init use __doc__ from getter */
 1804|      0|        doc = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1805|      0|    }
 1806|      4|    else {
 1807|      4|        doc = pold->prop_doc ? pold->prop_doc : Py_None;
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1807:15): [True: 0, False: 4]
  ------------------
 1808|      4|    }
 1809|       |
 1810|      4|    new =  PyObject_CallFunctionObjArgs(type, get, set, del, doc, NULL);
 1811|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1812|      4|    if (new == NULL)
  ------------------
  |  Branch (1812:9): [True: 0, False: 4]
  ------------------
 1813|      0|        return NULL;
 1814|       |
 1815|      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]
  |  |  ------------------
  ------------------
 1816|      4|        Py_XSETREF(((propertyobject *) new)->prop_name, Py_XNewRef(pold->prop_name));
  ------------------
  |  |  376|      4|    do { \
  |  |  377|      4|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|      4|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      4|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|      4|        *_tmp_dst_ptr = (src); \
  |  |  380|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1817|      4|    }
 1818|      4|    return new;
 1819|      4|}
descrobject.c:property_setter:
 1606|      4|{
 1607|      4|    return property_copy(self, NULL, setter, NULL);
 1608|      4|}
descrobject.c:property_set_name:
 1628|     38|property_set_name(PyObject *self, PyObject *args) {
 1629|     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 (1629:9): [True: 0, False: 38]
  ------------------
 1630|      0|        PyErr_Format(
 1631|      0|                PyExc_TypeError,
 1632|      0|                "__set_name__() takes 2 positional arguments but %zd were given",
 1633|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1634|      0|        return NULL;
 1635|      0|    }
 1636|       |
 1637|     38|    propertyobject *prop = (propertyobject *)self;
 1638|     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 (1638:22): [True: 38, False: 0]
  ------------------
 1639|       |
 1640|     38|    Py_XSETREF(prop->prop_name, Py_XNewRef(name));
  ------------------
  |  |  376|     38|    do { \
  |  |  377|     38|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     38|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     38|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     38|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     38|        *_tmp_dst_ptr = (src); \
  |  |  380|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     38|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 38]
  |  |  ------------------
  ------------------
 1641|       |
 1642|     38|    Py_RETURN_NONE;
  ------------------
  |  |  628|     38|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     38|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1643|     38|}
descrobject.c:property_get___isabstractmethod__:
 1961|     13|{
 1962|     13|    propertyobject *prop = _propertyobject_CAST(op);
  ------------------
  |  | 1532|     13|#define _propertyobject_CAST(op)    ((propertyobject *)(op))
  ------------------
 1963|     13|    int res = _PyObject_IsAbstract(prop->prop_get);
 1964|     13|    if (res == -1) {
  ------------------
  |  Branch (1964:9): [True: 0, False: 13]
  ------------------
 1965|      0|        return NULL;
 1966|      0|    }
 1967|     13|    else if (res) {
  ------------------
  |  Branch (1967:14): [True: 4, False: 9]
  ------------------
 1968|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1969|      4|    }
 1970|       |
 1971|      9|    res = _PyObject_IsAbstract(prop->prop_set);
 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|       |
 1979|      9|    res = _PyObject_IsAbstract(prop->prop_del);
 1980|      9|    if (res == -1) {
  ------------------
  |  Branch (1980:9): [True: 0, False: 9]
  ------------------
 1981|      0|        return NULL;
 1982|      0|    }
 1983|      9|    else if (res) {
  ------------------
  |  Branch (1983:14): [True: 0, False: 9]
  ------------------
 1984|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1985|      0|    }
 1986|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1987|      9|}
descrobject.c:property_descr_get:
 1684|    317|{
 1685|    317|    if (obj == NULL || obj == Py_None) {
  ------------------
  |  |  616|    313|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1685:9): [True: 4, False: 313]
  |  Branch (1685:24): [True: 0, False: 313]
  ------------------
 1686|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1687|      4|    }
 1688|       |
 1689|    313|    propertyobject *gs = (propertyobject *)self;
 1690|    313|    if (gs->prop_get == NULL) {
  ------------------
  |  Branch (1690:9): [True: 0, False: 313]
  ------------------
 1691|      0|        PyObject *propname;
 1692|      0|        if (property_name(gs, &propname) < 0) {
  ------------------
  |  Branch (1692:13): [True: 0, False: 0]
  ------------------
 1693|      0|            return NULL;
 1694|      0|        }
 1695|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1696|      0|        if (propname != NULL && qualname != NULL) {
  ------------------
  |  Branch (1696:13): [True: 0, False: 0]
  |  Branch (1696:33): [True: 0, False: 0]
  ------------------
 1697|      0|            PyErr_Format(PyExc_AttributeError,
 1698|      0|                         "property %R of %R object has no getter",
 1699|      0|                         propname,
 1700|      0|                         qualname);
 1701|      0|        }
 1702|      0|        else if (qualname != NULL) {
  ------------------
  |  Branch (1702:18): [True: 0, False: 0]
  ------------------
 1703|      0|            PyErr_Format(PyExc_AttributeError,
 1704|      0|                         "property of %R object has no getter",
 1705|      0|                         qualname);
 1706|      0|        } else {
 1707|      0|            PyErr_SetString(PyExc_AttributeError,
 1708|      0|                            "property has no getter");
 1709|      0|        }
 1710|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1711|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1712|      0|        return NULL;
 1713|      0|    }
 1714|       |
 1715|    313|    return PyObject_CallOneArg(gs->prop_get, obj);
 1716|    313|}
descrobject.c:property_descr_set:
 1720|      8|{
 1721|      8|    propertyobject *gs = (propertyobject *)self;
 1722|      8|    PyObject *func, *res;
 1723|       |
 1724|      8|    if (value == NULL) {
  ------------------
  |  Branch (1724:9): [True: 0, False: 8]
  ------------------
 1725|      0|        func = gs->prop_del;
 1726|      0|    }
 1727|      8|    else {
 1728|      8|        func = gs->prop_set;
 1729|      8|    }
 1730|       |
 1731|      8|    if (func == NULL) {
  ------------------
  |  Branch (1731:9): [True: 0, False: 8]
  ------------------
 1732|      0|        PyObject *propname;
 1733|      0|        if (property_name(gs, &propname) < 0) {
  ------------------
  |  Branch (1733:13): [True: 0, False: 0]
  ------------------
 1734|      0|            return -1;
 1735|      0|        }
 1736|      0|        PyObject *qualname = NULL;
 1737|      0|        if (obj != NULL) {
  ------------------
  |  Branch (1737:13): [True: 0, False: 0]
  ------------------
 1738|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1739|      0|        }
 1740|      0|        if (propname != NULL && qualname != NULL) {
  ------------------
  |  Branch (1740:13): [True: 0, False: 0]
  |  Branch (1740:33): [True: 0, False: 0]
  ------------------
 1741|      0|            PyErr_Format(PyExc_AttributeError,
 1742|      0|                        value == NULL ?
  ------------------
  |  Branch (1742:25): [True: 0, False: 0]
  ------------------
 1743|      0|                        "property %R of %R object has no deleter" :
 1744|      0|                        "property %R of %R object has no setter",
 1745|      0|                        propname,
 1746|      0|                        qualname);
 1747|      0|        }
 1748|      0|        else if (qualname != NULL) {
  ------------------
  |  Branch (1748:18): [True: 0, False: 0]
  ------------------
 1749|      0|            PyErr_Format(PyExc_AttributeError,
 1750|      0|                            value == NULL ?
  ------------------
  |  Branch (1750:29): [True: 0, False: 0]
  ------------------
 1751|      0|                            "property of %R object has no deleter" :
 1752|      0|                            "property of %R object has no setter",
 1753|      0|                            qualname);
 1754|      0|        }
 1755|      0|        else {
 1756|      0|            PyErr_SetString(PyExc_AttributeError,
 1757|      0|                         value == NULL ?
  ------------------
  |  Branch (1757:26): [True: 0, False: 0]
  ------------------
 1758|      0|                         "property has no deleter" :
 1759|      0|                         "property has no setter");
 1760|      0|        }
 1761|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1762|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1763|      0|        return -1;
 1764|      0|    }
 1765|       |
 1766|      8|    if (value == NULL) {
  ------------------
  |  Branch (1766:9): [True: 0, False: 8]
  ------------------
 1767|      0|        res = PyObject_CallOneArg(func, obj);
 1768|      0|    }
 1769|      8|    else {
 1770|      8|        EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|      8|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
 1771|      8|        PyObject *args[] = { obj, value };
 1772|      8|        res = PyObject_Vectorcall(func, args, 2, NULL);
 1773|      8|    }
 1774|       |
 1775|      8|    if (res == NULL) {
  ------------------
  |  Branch (1775:9): [True: 0, False: 8]
  ------------------
 1776|      0|        return -1;
 1777|      0|    }
 1778|       |
 1779|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1780|      8|    return 0;
 1781|      8|}
descrobject.c:property_init_impl:
 1862|     37|{
 1863|     37|    if (fget == Py_None)
  ------------------
  |  |  616|     37|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1863:9): [True: 0, False: 37]
  ------------------
 1864|      0|        fget = NULL;
 1865|     37|    if (fset == Py_None)
  ------------------
  |  |  616|     37|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1865:9): [True: 0, False: 37]
  ------------------
 1866|      0|        fset = NULL;
 1867|     37|    if (fdel == Py_None)
  ------------------
  |  |  616|     37|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1867:9): [True: 4, False: 33]
  ------------------
 1868|      4|        fdel = NULL;
 1869|       |
 1870|     37|    Py_XSETREF(self->prop_get, Py_XNewRef(fget));
  ------------------
  |  |  376|     37|    do { \
  |  |  377|     37|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     37|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     37|        *_tmp_dst_ptr = (src); \
  |  |  380|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     37|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 37]
  |  |  ------------------
  ------------------
 1871|     37|    Py_XSETREF(self->prop_set, Py_XNewRef(fset));
  ------------------
  |  |  376|     37|    do { \
  |  |  377|     37|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     37|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     37|        *_tmp_dst_ptr = (src); \
  |  |  380|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     37|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 37]
  |  |  ------------------
  ------------------
 1872|     37|    Py_XSETREF(self->prop_del, Py_XNewRef(fdel));
  ------------------
  |  |  376|     37|    do { \
  |  |  377|     37|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     37|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     37|        *_tmp_dst_ptr = (src); \
  |  |  380|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     37|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 37]
  |  |  ------------------
  ------------------
 1873|     37|    Py_XSETREF(self->prop_doc, NULL);
  ------------------
  |  |  376|     37|    do { \
  |  |  377|     37|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     37|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     37|        *_tmp_dst_ptr = (src); \
  |  |  380|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     37|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 37]
  |  |  ------------------
  ------------------
 1874|     37|    Py_XSETREF(self->prop_name, NULL);
  ------------------
  |  |  376|     37|    do { \
  |  |  377|     37|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     37|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     37|        *_tmp_dst_ptr = (src); \
  |  |  380|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     37|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 37]
  |  |  ------------------
  ------------------
 1875|       |
 1876|     37|    self->getter_doc = 0;
 1877|     37|    PyObject *prop_doc = NULL;
 1878|       |
 1879|     37|    if (doc != NULL && doc != Py_None) {
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1879:9): [True: 4, False: 33]
  |  Branch (1879:24): [True: 0, False: 4]
  ------------------
 1880|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1881|      0|    }
 1882|       |    /* if no docstring given and the getter has one, use that one */
 1883|     37|    else if (fget != NULL) {
  ------------------
  |  Branch (1883:14): [True: 37, False: 0]
  ------------------
 1884|     37|        int rc = PyObject_GetOptionalAttr(fget, &_Py_ID(__doc__), &prop_doc);
  ------------------
  |  |  921|     37|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     37|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     37|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1885|     37|        if (rc < 0) {
  ------------------
  |  Branch (1885:13): [True: 0, False: 37]
  ------------------
 1886|      0|            return rc;
 1887|      0|        }
 1888|     37|        if (prop_doc == Py_None) {
  ------------------
  |  |  616|     37|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1888:13): [True: 25, False: 12]
  ------------------
 1889|     25|            prop_doc = NULL;
 1890|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1891|     25|        }
 1892|     37|        if (prop_doc != NULL){
  ------------------
  |  Branch (1892:13): [True: 12, False: 25]
  ------------------
 1893|     12|            self->getter_doc = 1;
 1894|     12|        }
 1895|     37|    }
 1896|       |
 1897|       |    /* At this point `prop_doc` is either NULL or
 1898|       |       a non-None object with incremented ref counter */
 1899|       |
 1900|     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]
  |  |  ------------------
  ------------------
 1901|     37|        Py_XSETREF(self->prop_doc, prop_doc);
  ------------------
  |  |  376|     37|    do { \
  |  |  377|     37|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     37|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     37|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     37|        *_tmp_dst_ptr = (src); \
  |  |  380|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     37|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 37]
  |  |  ------------------
  ------------------
 1902|     37|    } else {
 1903|       |        /* If this is a property subclass, put __doc__ in the dict
 1904|       |           or designated slot of the subclass instance instead, otherwise
 1905|       |           it gets shadowed by __doc__ in the class's dict. */
 1906|       |
 1907|      0|        if (prop_doc == NULL) {
  ------------------
  |  Branch (1907:13): [True: 0, False: 0]
  ------------------
 1908|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1909|      0|        }
 1910|      0|        int err = PyObject_SetAttr(
 1911|      0|                    (PyObject *)self, &_Py_ID(__doc__), prop_doc);
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1912|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1913|      0|        if (err < 0) {
  ------------------
  |  Branch (1913:13): [True: 0, False: 0]
  ------------------
 1914|      0|            assert(PyErr_Occurred());
  ------------------
  |  Branch (1914:13): [True: 0, False: 0]
  ------------------
 1915|      0|            if (!self->getter_doc &&
  ------------------
  |  Branch (1915:17): [True: 0, False: 0]
  ------------------
 1916|      0|                PyErr_ExceptionMatches(PyExc_AttributeError))
  ------------------
  |  Branch (1916:17): [True: 0, False: 0]
  ------------------
 1917|      0|            {
 1918|      0|                PyErr_Clear();
 1919|       |                // https://github.com/python/cpython/issues/98963#issuecomment-1574413319
 1920|       |                // Python silently dropped this doc assignment through 3.11.
 1921|       |                // We preserve that behavior for backwards compatibility.
 1922|       |                //
 1923|       |                // If we ever want to deprecate this behavior, only raise a
 1924|       |                // warning or error when proc_doc is not None so that
 1925|       |                // property without a specific doc= still works.
 1926|      0|                return 0;
 1927|      0|            } else {
 1928|      0|                return -1;
 1929|      0|            }
 1930|      0|        }
 1931|      0|    }
 1932|       |
 1933|     37|    return 0;
 1934|     37|}

_PyDict_CheckConsistency:
  699|  9.96M|{
  700|  9.96M|    ASSERT_WORLD_STOPPED_OR_DICT_LOCKED(op);
  701|       |
  702|  9.96M|#define CHECK(expr) \
  703|  9.96M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  704|       |
  705|  9.96M|    assert(op != NULL);
  ------------------
  |  Branch (705:5): [True: 9.96M, False: 0]
  ------------------
  706|  9.96M|    CHECK(PyAnyDict_Check(op));
  ------------------
  |  |  703|  9.96M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 9.96M, False: 3]
  |  |  |  Branch (703:16): [True: 3, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 9.96M]
  |  |  ------------------
  ------------------
  707|  9.96M|    PyDictObject *mp = (PyDictObject *)op;
  708|       |
  709|  9.96M|    PyDictKeysObject *keys = mp->ma_keys;
  710|  9.96M|    int splitted = _PyDict_HasSplitTable(mp);
  ------------------
  |  |   56|  9.96M|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  ------------------
  711|  9.96M|    Py_ssize_t usable = USABLE_FRACTION(DK_SIZE(keys));
  ------------------
  |  |  590|  9.96M|#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|  9.96M|    Py_ssize_t dk_usable = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_usable);
  ------------------
  |  |  148|  9.96M|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  716|  9.96M|    Py_ssize_t dk_nentries = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_nentries);
  ------------------
  |  |  148|  9.96M|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  717|       |
  718|  9.96M|    CHECK(0 <= mp->ma_used && mp->ma_used <= usable);
  ------------------
  |  |  703|  19.9M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 9.96M, False: 0]
  |  |  |  Branch (703:16): [True: 9.96M, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 9.96M]
  |  |  ------------------
  ------------------
  719|  9.96M|    CHECK(0 <= dk_usable && dk_usable <= usable);
  ------------------
  |  |  703|  19.9M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 9.96M, False: 0]
  |  |  |  Branch (703:16): [True: 9.96M, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 9.96M]
  |  |  ------------------
  ------------------
  720|  9.96M|    CHECK(0 <= dk_nentries && dk_nentries <= usable);
  ------------------
  |  |  703|  19.9M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 9.96M, False: 0]
  |  |  |  Branch (703:16): [True: 9.96M, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 9.96M]
  |  |  ------------------
  ------------------
  721|  9.96M|    CHECK(dk_usable + dk_nentries <= usable);
  ------------------
  |  |  703|  9.96M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 9.96M]
  |  |  |  Branch (703:89): [Folded, False: 9.96M]
  |  |  ------------------
  ------------------
  722|       |
  723|  9.96M|    if (!splitted) {
  ------------------
  |  Branch (723:9): [True: 9.95M, False: 2.91k]
  ------------------
  724|       |        /* combined table */
  725|  9.95M|        CHECK(keys->dk_kind != DICT_KEYS_SPLIT);
  ------------------
  |  |  703|  9.95M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 9.95M]
  |  |  |  Branch (703:89): [Folded, False: 9.95M]
  |  |  ------------------
  ------------------
  726|  9.95M|        CHECK(keys->dk_refcnt == 1 || keys == Py_EMPTY_KEYS);
  ------------------
  |  |  703|  10.8M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:16): [True: 9.01M, False: 937k]
  |  |  |  Branch (703:16): [True: 937k, False: 0]
  |  |  |  Branch (703:89): [Folded, False: 9.95M]
  |  |  ------------------
  ------------------
  727|  9.95M|    }
  728|  2.91k|    else {
  729|  2.91k|        CHECK(keys->dk_kind == DICT_KEYS_SPLIT);
  ------------------
  |  |  703|  2.91k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 2.91k]
  |  |  |  Branch (703:89): [Folded, False: 2.91k]
  |  |  ------------------
  ------------------
  730|  2.91k|        CHECK(mp->ma_used <= SHARED_KEYS_MAX_SIZE);
  ------------------
  |  |  703|  2.91k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (703:14): [True: 0, False: 2.91k]
  |  |  |  Branch (703:89): [Folded, False: 2.91k]
  |  |  ------------------
  ------------------
  731|  2.91k|        if (mp->ma_values->embedded) {
  ------------------
  |  Branch (731:13): [True: 0, False: 2.91k]
  ------------------
  732|      0|            CHECK(mp->ma_values->embedded == 1);
  ------------------
  |  |  703|      0|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      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)
  |  |  ------------------
  |  |  |  |  428|      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|  2.91k|    }
  736|       |
  737|  9.96M|    if (check_content) {
  ------------------
  |  Branch (737:9): [True: 0, False: 9.96M]
  ------------------
  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)
  |  |  ------------------
  |  |  |  |  428|      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)
  |  |  ------------------
  |  |  |  |  428|      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)
  |  |  ------------------
  |  |  |  |  428|      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)
  |  |  ------------------
  |  |  |  |  428|      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)
  |  |  ------------------
  |  |  |  |  428|      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)
  |  |  ------------------
  |  |  |  |  428|      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)
  |  |  ------------------
  |  |  |  |  428|      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)
  |  |  ------------------
  |  |  |  |  428|      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)
  |  |  ------------------
  |  |  |  |  428|      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)
  |  |  ------------------
  |  |  |  |  428|      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)
  |  |  ------------------
  |  |  |  |  428|      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|  9.96M|    return 1;
  797|       |
  798|  9.96M|#undef CHECK
  799|  9.96M|}
PyDict_New:
 1085|   936k|{
 1086|       |    /* We don't incref Py_EMPTY_KEYS here because it is immortal. */
 1087|   936k|    return new_dict(Py_EMPTY_KEYS, NULL, 0, 0);
  ------------------
  |  |  660|   936k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 1088|   936k|}
_PyDictKeys_StringLookup:
 1301|     73|{
 1302|     73|    if (!check_keys_unicode(dk, key)) {
  ------------------
  |  Branch (1302:9): [True: 0, False: 73]
  ------------------
 1303|      0|        return DKIX_ERROR;
  ------------------
  |  |  187|      0|#define DKIX_ERROR (-3)
  ------------------
 1304|      0|    }
 1305|     73|    Py_hash_t hash = hash_unicode_key(key);
 1306|     73|    return unicodekeys_lookup_unicode(dk, key, hash);
 1307|     73|}
_PyDictKeys_StringLookupAndVersion:
 1311|    347|{
 1312|    347|    if (!check_keys_unicode(dk, key)) {
  ------------------
  |  Branch (1312:9): [True: 0, False: 347]
  ------------------
 1313|      0|        return DKIX_ERROR;
  ------------------
  |  |  187|      0|#define DKIX_ERROR (-3)
  ------------------
 1314|      0|    }
 1315|    347|    Py_ssize_t ix;
 1316|    347|    Py_hash_t hash = hash_unicode_key(key);
 1317|    347|    LOCK_KEYS(dk);
 1318|    347|    ix = unicodekeys_lookup_unicode(dk, key, hash);
 1319|    347|    *version = _PyDictKeys_GetVersionForCurrentState(_PyInterpreterState_GET(), dk);
 1320|    347|    UNLOCK_KEYS(dk);
 1321|    347|    return ix;
 1322|    347|}
_PyDictKeys_StringLookupSplit:
 1329|   446k|{
 1330|   446k|    assert(dk->dk_kind == DICT_KEYS_SPLIT);
  ------------------
  |  Branch (1330:5): [True: 446k, False: 0]
  ------------------
 1331|   446k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1331:5): [True: 446k, False: 0]
  ------------------
 1332|   446k|    Py_hash_t hash = unicode_get_hash(key);
 1333|   446k|    if (hash == -1) {
  ------------------
  |  Branch (1333:9): [True: 0, False: 446k]
  ------------------
 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|   446k|    return unicodekeys_lookup_split(dk, key, hash);
 1341|   446k|}
_Py_dict_lookup:
 1360|  13.1M|{
 1361|  13.1M|    PyDictKeysObject *dk;
 1362|  13.1M|    DictKeysKind kind;
 1363|  13.1M|    Py_ssize_t ix;
 1364|       |
 1365|  13.1M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(mp);
 1366|  13.1M|start:
 1367|  13.1M|    dk = mp->ma_keys;
 1368|  13.1M|    kind = dk->dk_kind;
 1369|       |
 1370|  13.1M|    if (kind != DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (1370:9): [True: 8.97M, False: 4.16M]
  ------------------
 1371|  8.97M|        if (PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|  8.97M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  8.97M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.97M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.97M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 8.89M, False: 75.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|  8.89M|            ix = unicodekeys_lookup_unicode(dk, key, hash);
 1381|  8.89M|#endif
 1382|  8.89M|        }
 1383|  75.9k|        else {
 1384|  75.9k|            INCREF_KEYS_FT(dk);
 1385|  75.9k|            LOCK_KEYS_IF_SPLIT(dk, kind);
 1386|       |
 1387|  75.9k|            ix = unicodekeys_lookup_generic(mp, dk, key, hash);
 1388|       |
 1389|  75.9k|            UNLOCK_KEYS_IF_SPLIT(dk, kind);
 1390|  75.9k|            DECREF_KEYS_FT(dk, IS_DICT_SHARED(mp));
 1391|  75.9k|            if (ix == DKIX_KEY_CHANGED) {
  ------------------
  |  |  188|  75.9k|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
  |  Branch (1391:17): [True: 0, False: 75.9k]
  ------------------
 1392|      0|                goto start;
 1393|      0|            }
 1394|  75.9k|        }
 1395|       |
 1396|  8.97M|        if (ix >= 0) {
  ------------------
  |  Branch (1396:13): [True: 4.62M, False: 4.35M]
  ------------------
 1397|  4.62M|            if (kind == DICT_KEYS_SPLIT) {
  ------------------
  |  Branch (1397:17): [True: 41.3k, False: 4.57M]
  ------------------
 1398|  41.3k|                *value_addr = mp->ma_values->values[ix];
 1399|  41.3k|            }
 1400|  4.57M|            else {
 1401|  4.57M|                *value_addr = DK_UNICODE_ENTRIES(dk)[ix].me_value;
 1402|  4.57M|            }
 1403|  4.62M|        }
 1404|  4.35M|        else {
 1405|  4.35M|            *value_addr = NULL;
 1406|  4.35M|        }
 1407|  8.97M|    }
 1408|  4.16M|    else {
 1409|  4.16M|        ix = dictkeys_generic_lookup(mp, dk, key, hash);
 1410|  4.16M|        if (ix == DKIX_KEY_CHANGED) {
  ------------------
  |  |  188|  4.16M|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
  |  Branch (1410:13): [True: 0, False: 4.16M]
  ------------------
 1411|      0|            goto start;
 1412|      0|        }
 1413|  4.16M|        if (ix >= 0) {
  ------------------
  |  Branch (1413:13): [True: 2.73M, False: 1.42M]
  ------------------
 1414|  2.73M|            *value_addr = DK_ENTRIES(dk)[ix].me_value;
 1415|  2.73M|        }
 1416|  1.42M|        else {
 1417|  1.42M|            *value_addr = NULL;
 1418|  1.42M|        }
 1419|  4.16M|    }
 1420|       |
 1421|  13.1M|    return ix;
 1422|  13.1M|}
_Py_dict_lookup_threadsafe:
 1758|   696k|{
 1759|   696k|    Py_ssize_t ix = _Py_dict_lookup(mp, key, hash, value_addr);
 1760|   696k|    Py_XNewRef(*value_addr);
  ------------------
  |  |  551|   696k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   696k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   696k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1761|   696k|    return ix;
 1762|   696k|}
_Py_dict_lookup_threadsafe_stackref:
 1766|   311k|{
 1767|   311k|    PyObject *val;
 1768|   311k|    Py_ssize_t ix = _Py_dict_lookup(mp, key, hash, &val);
 1769|   311k|    if (val == NULL) {
  ------------------
  |  Branch (1769:9): [True: 275k, False: 35.5k]
  ------------------
 1770|   275k|        *value_addr = PyStackRef_NULL;
 1771|   275k|    }
 1772|  35.5k|    else {
 1773|  35.5k|        *value_addr = PyStackRef_FromPyObjectNew(val);
  ------------------
  |  |  611|  35.5k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  35.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1774|  35.5k|    }
 1775|   311k|    return ix;
 1776|   311k|}
_PyDict_GetMethodStackRef:
 1784|  97.5k|{
 1785|  97.5k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1785:5): [True: 97.5k, False: 0]
  ------------------
 1786|  97.5k|    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|  97.5k|    PyObject *obj;
 1814|  97.5k|    Py_INCREF(mp);
  ------------------
  |  |  310|  97.5k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  97.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  97.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1815|  97.5k|    Py_ssize_t ix = _Py_dict_lookup_threadsafe(mp, key, hash, &obj);
 1816|  97.5k|    Py_DECREF(mp);
  ------------------
  |  |  430|  97.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  97.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  97.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1817|  97.5k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|  97.5k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (1817:9): [True: 0, False: 97.5k]
  ------------------
 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|  97.5k|    else if (ix >= 0 && obj != NULL) {
  ------------------
  |  Branch (1821:14): [True: 0, False: 97.5k]
  |  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|  97.5k|    return 0;  // not found
 1826|  97.5k|}
_PyDict_HasOnlyStringKeys:
 1830|    805|{
 1831|    805|    Py_ssize_t pos = 0;
 1832|    805|    PyObject *key, *value;
 1833|    805|    assert(PyDict_Check(dict));
  ------------------
  |  Branch (1833:5): [True: 805, False: 0]
  ------------------
 1834|       |    /* Shortcut */
 1835|    805|    if (((PyDictObject *)dict)->ma_keys->dk_kind != DICT_KEYS_GENERAL)
  ------------------
  |  Branch (1835:9): [True: 805, False: 0]
  ------------------
 1836|    805|        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|    172|{
 1846|    172|    assert(PyDict_Check(op));
  ------------------
  |  Branch (1846:5): [True: 172, 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|    172|}
_PyDict_InsertSplitValue:
 1991|  1.30k|{
 1992|  1.30k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (1992:5): [True: 1.30k, False: 0]
  ------------------
 1993|  1.30k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1993:5): [True: 1.30k, False: 0]
  ------------------
 1994|       |
 1995|  1.30k|    PyObject *old_value = mp->ma_values->values[ix];
 1996|  1.30k|    if (old_value == NULL) {
  ------------------
  |  Branch (1996:9): [True: 1.30k, False: 0]
  ------------------
 1997|  1.30k|        _PyDict_NotifyEvent(PyDict_EVENT_ADDED, mp, key, value);
 1998|  1.30k|        STORE_SPLIT_VALUE(mp, ix, Py_NewRef(value));
  ------------------
  |  |  332|  1.30k|#define STORE_SPLIT_VALUE(mp, idx, value) FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_values->values[idx], value)
  |  |  ------------------
  |  |  |  |  164|  1.30k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1999|  1.30k|        _PyDictValues_AddToInsertionOrder(mp->ma_values, ix);
 2000|  1.30k|        STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  336|  1.30k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|  1.30k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2001|  1.30k|    }
 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|  1.30k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2009:5): [True: 1.30k, False: 0]
  ------------------
 2010|  1.30k|}
_PyDict_FromItems:
 2381|  2.57k|{
 2382|  2.57k|    bool unicode = true;
 2383|  2.57k|    PyObject *const *ks = keys;
 2384|       |
 2385|  4.82k|    for (Py_ssize_t i = 0; i < length; i++) {
  ------------------
  |  Branch (2385:28): [True: 2.29k, False: 2.53k]
  ------------------
 2386|  2.29k|        if (!PyUnicode_CheckExact(*ks)) {
  ------------------
  |  |  104|  2.29k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  2.29k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2386:13): [True: 38, False: 2.25k]
  ------------------
 2387|     38|            unicode = false;
 2388|     38|            break;
 2389|     38|        }
 2390|  2.25k|        ks += keys_offset;
 2391|  2.25k|    }
 2392|       |
 2393|  2.57k|    PyObject *dict = dict_new_presized(length, unicode);
 2394|  2.57k|    if (dict == NULL) {
  ------------------
  |  Branch (2394:9): [True: 0, False: 2.57k]
  ------------------
 2395|      0|        return NULL;
 2396|      0|    }
 2397|       |
 2398|  2.57k|    ks = keys;
 2399|  2.57k|    PyObject *const *vs = values;
 2400|       |
 2401|  5.04k|    for (Py_ssize_t i = 0; i < length; i++) {
  ------------------
  |  Branch (2401:28): [True: 2.47k, False: 2.57k]
  ------------------
 2402|  2.47k|        PyObject *key = *ks;
 2403|  2.47k|        PyObject *value = *vs;
 2404|  2.47k|        if (setitem_lock_held((PyDictObject *)dict, key, value) < 0) {
  ------------------
  |  Branch (2404:13): [True: 0, False: 2.47k]
  ------------------
 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|  2.47k|        ks += keys_offset;
 2409|  2.47k|        vs += values_offset;
 2410|  2.47k|    }
 2411|       |
 2412|  2.57k|    return dict;
 2413|  2.57k|}
PyDict_GetItem:
 2471|    525|{
 2472|    525|    return dict_getitem(op, key,
 2473|    525|            "Exception ignored in PyDict_GetItem(); consider using "
 2474|    525|            "PyDict_GetItemRef() or PyDict_GetItemWithError()");
 2475|    525|}
_PyDict_LookupIndexAndValue:
 2500|  2.55k|{
 2501|       |    // TODO: Thread safety
 2502|  2.55k|    assert(PyDict_CheckExact((PyObject*)mp));
  ------------------
  |  Branch (2502:5): [True: 2.55k, False: 0]
  ------------------
 2503|  2.55k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (2503:5): [True: 2.55k, False: 0]
  ------------------
 2504|       |
 2505|  2.55k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2506|  2.55k|    if (hash == -1) {
  ------------------
  |  Branch (2506:9): [True: 0, False: 2.55k]
  ------------------
 2507|      0|        dict_unhashable_type((PyObject*)mp, key);
 2508|      0|        return -1;
 2509|      0|    }
 2510|       |
 2511|  2.55k|    return _Py_dict_lookup(mp, key, hash, value);
 2512|  2.55k|}
_PyDict_GetItemRef_KnownHash:
 2576|  4.90M|{
 2577|  4.90M|    PyObject *value;
 2578|       |#ifdef Py_GIL_DISABLED
 2579|       |    Py_ssize_t ix = _Py_dict_lookup_threadsafe(op, key, hash, &value);
 2580|       |#else
 2581|  4.90M|    Py_ssize_t ix = _Py_dict_lookup(op, key, hash, &value);
 2582|  4.90M|#endif
 2583|  4.90M|    assert(ix >= 0 || value == NULL);
  ------------------
  |  Branch (2583:5): [True: 4.09M, False: 804k]
  |  Branch (2583:5): [True: 804k, False: 0]
  ------------------
 2584|  4.90M|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|  4.90M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2584:9): [True: 0, False: 4.90M]
  ------------------
 2585|      0|        *result = NULL;
 2586|      0|        return -1;
 2587|      0|    }
 2588|  4.90M|    if (value == NULL) {
  ------------------
  |  Branch (2588:9): [True: 845k, False: 4.05M]
  ------------------
 2589|   845k|        *result = NULL;
 2590|   845k|        return 0;  // missing key
 2591|   845k|    }
 2592|       |#ifdef Py_GIL_DISABLED
 2593|       |    *result = value;
 2594|       |#else
 2595|  4.05M|    *result = Py_NewRef(value);
  ------------------
  |  |  550|  4.05M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2596|  4.05M|#endif
 2597|  4.05M|    return 1;  // key is present
 2598|  4.90M|}
PyDict_GetItemRef:
 2602|  4.90M|{
 2603|  4.90M|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|  4.90M|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  4.90M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  9.80M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 4.90M, 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|  4.90M|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2610|  4.90M|    if (hash == -1) {
  ------------------
  |  Branch (2610:9): [True: 0, False: 4.90M]
  ------------------
 2611|      0|        dict_unhashable_type(op, key);
 2612|      0|        *result = NULL;
 2613|      0|        return -1;
 2614|      0|    }
 2615|       |
 2616|  4.90M|    return _PyDict_GetItemRef_KnownHash((PyDictObject *)op, key, hash, result);
 2617|  4.90M|}
_PyDict_GetItemRef_Unicode_LockHeld:
 2621|    377|{
 2622|    377|    ASSERT_DICT_LOCKED(op);
 2623|    377|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (2623:5): [True: 377, False: 0]
  ------------------
 2624|       |
 2625|    377|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2626|    377|    if (hash == -1) {
  ------------------
  |  Branch (2626:9): [True: 0, False: 377]
  ------------------
 2627|      0|        dict_unhashable_type((PyObject*)op, key);
 2628|      0|        *result = NULL;
 2629|      0|        return -1;
 2630|      0|    }
 2631|       |
 2632|    377|    PyObject *value;
 2633|    377|    Py_ssize_t ix = _Py_dict_lookup(op, key, hash, &value);
 2634|    377|    assert(ix >= 0 || value == NULL);
  ------------------
  |  Branch (2634:5): [True: 43, False: 334]
  |  Branch (2634:5): [True: 334, False: 0]
  ------------------
 2635|    377|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|    377|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2635:9): [True: 0, False: 377]
  ------------------
 2636|      0|        *result = NULL;
 2637|      0|        return -1;
 2638|      0|    }
 2639|    377|    if (value == NULL) {
  ------------------
  |  Branch (2639:9): [True: 334, False: 43]
  ------------------
 2640|    334|        *result = NULL;
 2641|    334|        return 0;  // missing key
 2642|    334|    }
 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|    377|}
PyDict_GetItemWithError:
 2653|  1.06M|{
 2654|  1.06M|    Py_ssize_t ix; (void)ix;
 2655|  1.06M|    Py_hash_t hash;
 2656|  1.06M|    PyDictObject*mp = (PyDictObject *)op;
 2657|  1.06M|    PyObject *value;
 2658|       |
 2659|  1.06M|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|  1.06M|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  1.06M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  2.12M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 1.06M, 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|  1.06M|    hash = _PyObject_HashDictKey(key);
 2664|  1.06M|    if (hash == -1) {
  ------------------
  |  Branch (2664:9): [True: 0, False: 1.06M]
  ------------------
 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|  1.06M|    ix = _Py_dict_lookup(mp, key, hash, &value);
 2674|  1.06M|#endif
 2675|  1.06M|    assert(ix >= 0 || value == NULL);
  ------------------
  |  Branch (2675:5): [True: 799k, False: 262k]
  |  Branch (2675:5): [True: 262k, False: 0]
  ------------------
 2676|  1.06M|    return value;  // borrowed reference
 2677|  1.06M|}
_PyDict_LoadGlobalStackRef:
 2742|  12.1k|{
 2743|  12.1k|    Py_ssize_t ix;
 2744|  12.1k|    Py_hash_t hash;
 2745|       |
 2746|  12.1k|    hash = _PyObject_HashDictKey(key);
 2747|  12.1k|    if (hash == -1) {
  ------------------
  |  Branch (2747:9): [True: 0, False: 12.1k]
  ------------------
 2748|      0|        *res = PyStackRef_NULL;
 2749|      0|        return;
 2750|      0|    }
 2751|       |
 2752|       |    /* namespace 1: globals */
 2753|  12.1k|    ix = _Py_dict_lookup_threadsafe_stackref(globals, key, hash, res);
 2754|  12.1k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|  12.1k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2754:9): [True: 0, False: 12.1k]
  ------------------
 2755|      0|        return;
 2756|      0|    }
 2757|  12.1k|    if (ix != DKIX_EMPTY && !PyStackRef_IsNull(*res)) {
  ------------------
  |  |  185|  24.2k|#define DKIX_EMPTY (-1)
  ------------------
                  if (ix != DKIX_EMPTY && !PyStackRef_IsNull(*res)) {
  ------------------
  |  |  482|  6.34k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  6.34k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  6.34k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2757:9): [True: 6.34k, False: 5.76k]
  |  Branch (2757:29): [True: 6.34k, False: 0]
  ------------------
 2758|  6.34k|        return;
 2759|  6.34k|    }
 2760|       |
 2761|       |    /* namespace 2: builtins */
 2762|  5.76k|    ix = _Py_dict_lookup_threadsafe_stackref(builtins, key, hash, res);
 2763|       |    assert(ix >= 0 || PyStackRef_IsNull(*res));
  ------------------
  |  Branch (2763:5): [True: 5.76k, False: 1]
  |  Branch (2763:5): [True: 1, False: 0]
  ------------------
 2764|  5.76k|}
_PyDict_LoadBuiltinsFromGlobals:
 2768|  5.37k|{
 2769|  5.37k|    if (!PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|  5.37k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  5.37k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  10.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 5.37k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|      0|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2770|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2771|      0|        return NULL;
 2772|      0|    }
 2773|       |
 2774|  5.37k|    PyDictObject *mp = (PyDictObject *)globals;
 2775|  5.37k|    PyObject *key = &_Py_ID(__builtins__);
  ------------------
  |  |  921|  5.37k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  5.37k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  5.37k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2776|  5.37k|    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|  5.37k|    _PyStackRef ref;
 2783|  5.37k|    Py_ssize_t ix = _Py_dict_lookup_threadsafe_stackref(mp, key, hash, &ref);
 2784|  5.37k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|  5.37k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2784:9): [True: 0, False: 5.37k]
  ------------------
 2785|      0|        return NULL;
 2786|      0|    }
 2787|  5.37k|    if (PyStackRef_IsNull(ref)) {
  ------------------
  |  |  482|  5.37k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  5.37k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  5.37k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 5.37k]
  |  |  ------------------
  ------------------
 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|  5.37k|    PyObject *builtins = PyStackRef_AsPyObjectBorrow(ref);
 2791|  5.37k|    if (PyModule_Check(builtins)) {
  ------------------
  |  |   12|  5.37k|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|  5.37k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 5.37k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2792|      0|        builtins = _PyModule_GetDict(builtins);
 2793|      0|        assert(builtins != NULL);
  ------------------
  |  Branch (2793:9): [True: 0, False: 0]
  ------------------
 2794|      0|    }
 2795|  5.37k|    _Py_INCREF_BUILTINS(builtins);
  ------------------
  |  |  398|  5.37k|#  define _Py_INCREF_BUILTINS Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  5.37k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2796|  5.37k|    PyStackRef_CLOSE(ref);
 2797|  5.37k|    return builtins;
 2798|  5.37k|}
_PyDict_SetItem_Take2:
 2836|  1.79M|{
 2837|  1.79M|    int res;
 2838|  1.79M|    Py_BEGIN_CRITICAL_SECTION(mp);
  ------------------
  |  |   51|  1.79M|    {
  ------------------
 2839|  1.79M|    res = setitem_take2_lock_held(mp, key, value);
 2840|  1.79M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.79M|    }
  ------------------
 2841|  1.79M|    return res;
 2842|  1.79M|}
PyDict_SetItem:
 2862|  1.78M|{
 2863|  1.78M|    assert(key);
  ------------------
  |  Branch (2863:5): [True: 1.78M, False: 0]
  ------------------
 2864|  1.78M|    assert(value);
  ------------------
  |  Branch (2864:5): [True: 1.78M, False: 0]
  ------------------
 2865|       |
 2866|  1.78M|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|  1.78M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.78M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2866:9): [True: 0, False: 1.78M]
  ------------------
 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|  1.78M|    return _PyDict_SetItem_Take2((PyDictObject *)op,
 2877|  1.78M|                                 Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                               Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2878|  1.78M|}
PyDict_DelItem:
 2999|  1.51k|{
 3000|  1.51k|    assert(key);
  ------------------
  |  Branch (3000:5): [True: 1.51k, False: 0]
  ------------------
 3001|  1.51k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 3002|  1.51k|    if (hash == -1) {
  ------------------
  |  Branch (3002:9): [True: 0, False: 1.51k]
  ------------------
 3003|      0|        dict_unhashable_type(op, key);
 3004|      0|        return -1;
 3005|      0|    }
 3006|       |
 3007|  1.51k|    return _PyDict_DelItem_KnownHash(op, key, hash);
 3008|  1.51k|}
_PyDict_DelItem_KnownHash_LockHeld:
 3012|  1.55k|{
 3013|  1.55k|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|  1.55k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.55k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3013:9): [True: 0, False: 1.55k]
  ------------------
 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|  1.55k|    Py_ssize_t ix;
 3024|  1.55k|    PyObject *old_value;
 3025|  1.55k|    PyDictObject *mp = (PyDictObject *)op;
 3026|  1.55k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3026:5): [True: 1.55k, False: 0]
  ------------------
 3027|       |
 3028|  1.55k|    assert(key);
  ------------------
  |  Branch (3028:5): [True: 1.55k, False: 0]
  ------------------
 3029|  1.55k|    assert(hash != -1);
  ------------------
  |  Branch (3029:5): [True: 1.55k, False: 0]
  ------------------
 3030|  1.55k|    ix = _Py_dict_lookup(mp, key, hash, &old_value);
 3031|  1.55k|    if (ix == DKIX_ERROR)
  ------------------
  |  |  187|  1.55k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3031:9): [True: 0, False: 1.55k]
  ------------------
 3032|      0|        return -1;
 3033|  1.55k|    if (ix == DKIX_EMPTY || old_value == NULL) {
  ------------------
  |  |  185|  3.10k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3033:9): [True: 0, False: 1.55k]
  |  Branch (3033:29): [True: 0, False: 1.55k]
  ------------------
 3034|      0|        _PyErr_SetKeyError(key);
 3035|      0|        return -1;
 3036|      0|    }
 3037|       |
 3038|  1.55k|    _PyDict_NotifyEvent(PyDict_EVENT_DELETED, mp, key, NULL);
 3039|  1.55k|    delitem_common(mp, hash, ix, old_value);
 3040|  1.55k|    return 0;
 3041|  1.55k|}
_PyDict_DelItem_KnownHash:
 3045|  1.51k|{
 3046|  1.51k|    int res;
 3047|  1.51k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  1.51k|    {
  ------------------
 3048|  1.51k|    res = _PyDict_DelItem_KnownHash_LockHeld(op, key, hash);
 3049|  1.51k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.51k|    }
  ------------------
 3050|  1.51k|    return res;
 3051|  1.51k|}
_PyDict_DelItemIf:
 3099|    367|{
 3100|    367|    assert(PyDict_Check(op));
  ------------------
  |  Branch (3100:5): [True: 367, False: 0]
  ------------------
 3101|    367|    int res;
 3102|    367|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|    367|    {
  ------------------
 3103|    367|    res = delitemif_lock_held(op, key, predicate, arg);
 3104|    367|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    367|    }
  ------------------
 3105|    367|    return res;
 3106|    367|}
PyDict_Clear:
 3176|     20|{
 3177|     20|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|     20|    {
  ------------------
 3178|     20|    clear_lock_held(op);
 3179|     20|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     20|    }
  ------------------
 3180|     20|}
_PyDict_Next:
 3190|  2.34M|{
 3191|  2.34M|    Py_ssize_t i;
 3192|  2.34M|    PyDictObject *mp;
 3193|  2.34M|    PyObject *key, *value;
 3194|  2.34M|    Py_hash_t hash;
 3195|       |
 3196|  2.34M|    if (!PyAnyDict_Check(op))
  ------------------
  |  |   43|  2.34M|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  2.34M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  4.68M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 2.34M, 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|  2.34M|    mp = (PyDictObject *)op;
 3200|  2.34M|    i = *ppos;
 3201|  2.34M|    if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|  2.34M|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 2.34M]
  |  |  ------------------
  ------------------
 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|  2.34M|    else {
 3212|  2.34M|        Py_ssize_t n = mp->ma_keys->dk_nentries;
 3213|  2.34M|        if (i < 0 || i >= n)
  ------------------
  |  Branch (3213:13): [True: 0, False: 2.34M]
  |  Branch (3213:22): [True: 577k, False: 1.76M]
  ------------------
 3214|   577k|            return 0;
 3215|  1.76M|        if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  294|  1.76M|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 1.48M, False: 285k]
  |  |  ------------------
  ------------------
 3216|  1.48M|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(mp->ma_keys)[i];
 3217|  1.48M|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (3217:20): [True: 1.48M, False: 43]
  |  Branch (3217:29): [True: 934, False: 1.48M]
  ------------------
 3218|    934|                entry_ptr++;
 3219|    934|                i++;
 3220|    934|            }
 3221|  1.48M|            if (i >= n)
  ------------------
  |  Branch (3221:17): [True: 43, False: 1.48M]
  ------------------
 3222|     43|                return 0;
 3223|  1.48M|            key = entry_ptr->me_key;
 3224|  1.48M|            hash = unicode_get_hash(entry_ptr->me_key);
 3225|  1.48M|            value = entry_ptr->me_value;
 3226|  1.48M|        }
 3227|   285k|        else {
 3228|   285k|            PyDictKeyEntry *entry_ptr = &DK_ENTRIES(mp->ma_keys)[i];
 3229|   285k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (3229:20): [True: 285k, False: 0]
  |  Branch (3229:29): [True: 0, False: 285k]
  ------------------
 3230|      0|                entry_ptr++;
 3231|      0|                i++;
 3232|      0|            }
 3233|   285k|            if (i >= n)
  ------------------
  |  Branch (3233:17): [True: 0, False: 285k]
  ------------------
 3234|      0|                return 0;
 3235|   285k|            key = entry_ptr->me_key;
 3236|   285k|            hash = entry_ptr->me_hash;
 3237|   285k|            value = entry_ptr->me_value;
 3238|   285k|        }
 3239|  1.76M|    }
 3240|  1.76M|    *ppos = i+1;
 3241|  1.76M|    if (pkey)
  ------------------
  |  Branch (3241:9): [True: 1.76M, False: 8]
  ------------------
 3242|  1.76M|        *pkey = key;
 3243|  1.76M|    if (pvalue)
  ------------------
  |  Branch (3243:9): [True: 1.29M, False: 472k]
  ------------------
 3244|  1.29M|        *pvalue = value;
 3245|  1.76M|    if (phash)
  ------------------
  |  Branch (3245:9): [True: 9.80k, False: 1.75M]
  ------------------
 3246|  9.80k|        *phash = hash;
 3247|  1.76M|    return 1;
 3248|  2.34M|}
PyDict_Next:
 3270|  1.75M|{
 3271|       |    return _PyDict_Next(op, ppos, pkey, pvalue, NULL);
 3272|  1.75M|}
_PyDict_Pop_KnownHash:
 3279|  16.0k|{
 3280|  16.0k|    assert(PyDict_Check(mp));
  ------------------
  |  Branch (3280:5): [True: 16.0k, False: 0]
  ------------------
 3281|  16.0k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3281:5): [True: 16.0k, False: 0]
  ------------------
 3282|       |
 3283|  16.0k|    if (mp->ma_used == 0) {
  ------------------
  |  Branch (3283:9): [True: 0, False: 16.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|  16.0k|    PyObject *old_value;
 3291|  16.0k|    Py_ssize_t ix = _Py_dict_lookup(mp, key, hash, &old_value);
 3292|  16.0k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|  16.0k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3292:9): [True: 0, False: 16.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|  16.0k|    if (ix == DKIX_EMPTY || old_value == NULL) {
  ------------------
  |  |  185|  32.0k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3299:9): [True: 318, False: 15.6k]
  |  Branch (3299:29): [True: 0, False: 15.6k]
  ------------------
 3300|    318|        if (result) {
  ------------------
  |  Branch (3300:13): [True: 87, False: 231]
  ------------------
 3301|     87|            *result = NULL;
 3302|     87|        }
 3303|    318|        return 0;
 3304|    318|    }
 3305|       |
 3306|  16.0k|    assert(old_value != NULL);
  ------------------
  |  Branch (3306:5): [True: 15.6k, False: 0]
  ------------------
 3307|  15.6k|    _PyDict_NotifyEvent(PyDict_EVENT_DELETED, mp, key, NULL);
 3308|  15.6k|    delitem_common(mp, hash, ix, Py_NewRef(old_value));
  ------------------
  |  |  550|  15.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  15.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3309|       |
 3310|  15.6k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  15.6k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (3310:5): [True: 15.6k, False: 0]
  ------------------
 3311|  15.6k|    if (result) {
  ------------------
  |  Branch (3311:9): [True: 15.6k, False: 0]
  ------------------
 3312|  15.6k|        *result = old_value;
 3313|  15.6k|    }
 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|  15.6k|    return 1;
 3318|  15.6k|}
PyDict_Pop:
 3358|  64.4k|{
 3359|  64.4k|    int err;
 3360|  64.4k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  64.4k|    {
  ------------------
 3361|  64.4k|    err = pop_lock_held(op, key, result);
 3362|  64.4k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  64.4k|    }
  ------------------
 3363|       |
 3364|  64.4k|    return err;
 3365|  64.4k|}
_PyDict_FromKeys:
 3461|     16|{
 3462|     16|    PyObject *it = NULL;       /* iter(iterable) */
 3463|     16|    PyObject *d;
 3464|     16|    int need_copy = 0;
 3465|       |
 3466|     16|    if (cls == (PyObject*)&PyFrozenDict_Type) {
  ------------------
  |  Branch (3466:9): [True: 0, False: 16]
  ------------------
 3467|       |        // gh-151722: Create a frozendict which is not tracked by the GC.
 3468|      0|        d = frozendict_new_untracked(&PyFrozenDict_Type);
 3469|      0|    }
 3470|     16|    else {
 3471|       |        // Dict subclass, or frozendict subclass which overrides
 3472|       |        // the constructor.
 3473|     16|        d = _PyObject_CallNoArgs(cls);
 3474|     16|    }
 3475|     16|    if (d == NULL) {
  ------------------
  |  Branch (3475:9): [True: 0, False: 16]
  ------------------
 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|     16|    if (PyFrozenDict_Check(d) && _PyObject_GC_IS_TRACKED(d)) {
  ------------------
  |  |   37|     16|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|     32|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  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);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3498|      0|    }
 3499|     16|    if (PyFrozenDict_Check(d)) {
  ------------------
  |  |   37|     16|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|     16|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3500|      0|        assert(can_modify_dict((PyDictObject*)d));
  ------------------
  |  Branch (3500:9): [True: 0, False: 0]
  ------------------
 3501|      0|    }
 3502|       |
 3503|     16|    if (PyDict_CheckExact(d)) {
  ------------------
  |  |   19|     16|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|     16|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 16, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3504|     16|        if (PyDict_CheckExact(iterable)) {
  ------------------
  |  |   19|     16|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|     16|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|     16|        else if (PyFrozenDict_CheckExact(iterable)) {
  ------------------
  |  |   38|     16|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|     16|        else if (PyAnySet_CheckExact(iterable)) {
  ------------------
  |  |   29|     16|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|     32|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|     16|    }
 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|     16|    it = PyObject_GetIter(iterable);
 3554|     16|    if (it == NULL){
  ------------------
  |  Branch (3554:9): [True: 0, False: 16]
  ------------------
 3555|      0|        goto Fail;
 3556|      0|    }
 3557|       |
 3558|     16|    if (PyDict_CheckExact(d)) {
  ------------------
  |  |   19|     16|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|     16|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 16, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3559|     16|        int status = 0;
 3560|       |
 3561|     16|        Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|     16|    {
  ------------------
 3562|     71|        while (1) {
  ------------------
  |  Branch (3562:16): [True: 71, Folded]
  ------------------
 3563|     71|            PyObject *key;
 3564|     71|            status = PyIter_NextItem(it, &key);
 3565|     71|            if (status <= 0) {
  ------------------
  |  Branch (3565:17): [True: 16, False: 55]
  ------------------
 3566|     16|                break;
 3567|     16|            }
 3568|       |
 3569|     55|            status = setitem_lock_held((PyDictObject *)d, key, value);
 3570|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3571|     55|            if (status < 0) {
  ------------------
  |  Branch (3571:17): [True: 0, False: 55]
  ------------------
 3572|      0|                break;
 3573|      0|            }
 3574|     55|        }
 3575|     16|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     16|    }
  ------------------
 3576|       |
 3577|     16|        if (status < 0) {
  ------------------
  |  Branch (3577:13): [True: 0, False: 16]
  ------------------
 3578|      0|            goto Fail;
 3579|      0|        }
 3580|     16|    }
 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|     16|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (3620:5): [True: 16, False: 0]
  ------------------
 3621|     16|    Py_DECREF(it);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3622|     16|    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|     16|Done:
 3631|     16|    if (d == NULL) {
  ------------------
  |  Branch (3631:9): [True: 0, False: 16]
  ------------------
 3632|      0|        return NULL;
 3633|      0|    }
 3634|       |
 3635|     16|    if (need_copy) {
  ------------------
  |  Branch (3635:9): [True: 0, False: 16]
  ------------------
 3636|      0|        PyObject *copy = _PyObject_CallOneArg(cls, d);
  ------------------
  |  |   47|      0|#define _PyObject_CallOneArg PyObject_CallOneArg
  ------------------
 3637|      0|        Py_SETREF(d, copy);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3638|      0|    }
 3639|     16|    else if (!_PyObject_GC_IS_TRACKED(d)) {
  ------------------
  |  |   81|     16|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (3639:14): [True: 0, False: 16]
  ------------------
 3640|      0|        _PyObject_GC_TRACK(d);
  ------------------
  |  |  505|      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|     16|    return d;
 3643|     16|}
_PyDict_SubscriptKnownHash:
 3800|  5.01k|{
 3801|  5.01k|    PyDictObject *mp = (PyDictObject *)self;
 3802|  5.01k|    Py_ssize_t ix;
 3803|  5.01k|    PyObject *value;
 3804|       |
 3805|  5.01k|    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 3806|  5.01k|    if (ix == DKIX_ERROR)
  ------------------
  |  |  187|  5.01k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3806:9): [True: 0, False: 5.01k]
  ------------------
 3807|      0|        return NULL;
 3808|  5.01k|    if (ix == DKIX_EMPTY || value == NULL) {
  ------------------
  |  |  185|  10.0k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3808:9): [True: 749, False: 4.26k]
  |  Branch (3808:29): [True: 0, False: 4.26k]
  ------------------
 3809|    749|        if (!PyAnyDict_CheckExact(mp)) {
  ------------------
  |  |   41|    749|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|    749|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  1.49k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    749|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    749|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 728, 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__));
  ------------------
  |  |  921|     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|    749|        _PyErr_SetKeyError(key);
 3823|    749|        return NULL;
 3824|    749|    }
 3825|  4.26k|    return value;
 3826|  5.01k|}
_PyDict_Subscript:
 3830|  5.01k|{
 3831|  5.01k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 3832|  5.01k|    if (hash == -1) {
  ------------------
  |  Branch (3832:9): [True: 0, False: 5.01k]
  ------------------
 3833|      0|        dict_unhashable_type(self, key);
 3834|      0|        return NULL;
 3835|      0|    }
 3836|  5.01k|    return _PyDict_SubscriptKnownHash(self, key, hash);
 3837|  5.01k|}
_PyDict_StoreSubscript:
 3841|    582|{
 3842|    582|    if (w == NULL)
  ------------------
  |  Branch (3842:9): [True: 376, False: 206]
  ------------------
 3843|    376|        return PyDict_DelItem(mp, v);
 3844|    206|    else
 3845|    206|        return PyDict_SetItem(mp, v, w);
 3846|    582|}
PyDict_Keys:
 3894|   106k|{
 3895|   106k|    PyObject *res;
 3896|   106k|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|   106k|    {
  ------------------
 3897|   106k|    res = keys_lock_held(dict);
 3898|   106k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   106k|    }
  ------------------
 3899|       |
 3900|   106k|    return res;
 3901|   106k|}
PyDict_Update:
 4422|    472|{
 4423|       |    return dict_merge_api(a, b, 1, NULL);
 4424|    472|}
_PyDict_MergeUniq:
 4435|    695|{
 4436|    695|    return dict_merge_api(a, b, 2, dupkey);
 4437|    695|}
PyDict_Copy:
 4591|    778|{
 4592|    778|    if (o == NULL || !PyDict_Check(o)) {
  ------------------
  |  |   18|    778|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    778|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4592:9): [True: 0, False: 778]
  |  Branch (4592:22): [True: 0, False: 778]
  ------------------
 4593|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4594|      0|        return NULL;
 4595|      0|    }
 4596|       |
 4597|    778|    PyObject *res;
 4598|    778|    Py_BEGIN_CRITICAL_SECTION(o);
  ------------------
  |  |   51|    778|    {
  ------------------
 4599|    778|    res = copy_lock_held_untracked(o, 0);
 4600|    778|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    778|    }
  ------------------
 4601|    778|    if (res != NULL) {
  ------------------
  |  Branch (4601:9): [True: 778, False: 0]
  ------------------
 4602|    778|        _PyObject_GC_TRACK(res);
  ------------------
  |  |  505|    778|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    778|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    778|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4603|    778|    }
 4604|    778|    return res;
 4605|    778|}
_PyDict_CopyAsDict:
 4630|    771|{
 4631|    771|    assert(PyAnyDict_Check(o));
  ------------------
  |  Branch (4631:5): [True: 771, False: 0]
  |  Branch (4631:5): [True: 0, False: 0]
  ------------------
 4632|       |
 4633|    771|    PyObject *res;
 4634|    771|    if (PyFrozenDict_Check(o)) {
  ------------------
  |  |   37|    771|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|    771|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    771|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    771|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 771]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4635|      0|        res = copy_lock_held_untracked(o, 0);
 4636|      0|    }
 4637|    771|    else {
 4638|    771|        Py_BEGIN_CRITICAL_SECTION(o);
  ------------------
  |  |   51|    771|    {
  ------------------
 4639|    771|        res = copy_lock_held_untracked(o, 0);
 4640|    771|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    771|    }
  ------------------
 4641|    771|    }
 4642|    771|    if (res != NULL) {
  ------------------
  |  Branch (4642:9): [True: 771, False: 0]
  ------------------
 4643|    771|        _PyObject_GC_TRACK(res);
  ------------------
  |  |  505|    771|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    771|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    771|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4644|    771|    }
 4645|    771|    return res;
 4646|    771|}
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|  2.31M|{
 4918|  2.31M|    int res;
 4919|  2.31M|    Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|  2.31M|    {
  ------------------
 4920|  2.31M|    res = dict_setdefault_ref_lock_held(d, key, default_value, result, 1);
 4921|  2.31M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.31M|    }
  ------------------
 4922|  2.31M|    return res;
 4923|  2.31M|}
_PyDict_KeysSize:
 5169|  1.58k|{
 5170|  1.58k|    size_t es = (keys->dk_kind == DICT_KEYS_GENERAL
  ------------------
  |  Branch (5170:18): [True: 3, False: 1.58k]
  ------------------
 5171|  1.58k|                 ? sizeof(PyDictKeyEntry) : sizeof(PyDictUnicodeEntry));
 5172|  1.58k|    size_t size = sizeof(PyDictKeysObject);
 5173|  1.58k|    size += (size_t)1 << keys->dk_log2_index_bytes;
 5174|  1.58k|    size += USABLE_FRACTION((size_t)DK_SIZE(keys)) * es;
  ------------------
  |  |  590|  1.58k|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
 5175|  1.58k|    return size;
 5176|  1.58k|}
PyDict_Contains:
 5290|   196k|{
 5291|   196k|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|   196k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|   196k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   392k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 196k, 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|   196k|    return dict_contains(op, key);
 5297|   196k|}
PyDict_ContainsString:
 5301|    118|{
 5302|    118|    PyObject *key_obj = PyUnicode_FromString(key);
 5303|    118|    if (key_obj == NULL) {
  ------------------
  |  Branch (5303:9): [True: 0, False: 118]
  ------------------
 5304|      0|        return -1;
 5305|      0|    }
 5306|    118|    int res = PyDict_Contains(op, key_obj);
 5307|    118|    Py_DECREF(key_obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5308|    118|    return res;
 5309|    118|}
_PyDict_Contains_KnownHash:
 5314|   197k|{
 5315|   197k|    PyDictObject *mp = _PyAnyDict_CAST(op);
  ------------------
  |  |  326|   197k|    (assert(PyAnyDict_Check(op)), _Py_CAST(PyDictObject*, op))
  |  |  ------------------
  |  |  |  |   37|   197k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5315:24): [True: 197k, False: 0]
  |  Branch (5315:24): [True: 0, False: 0]
  ------------------
 5316|      0|    PyObject *value;
 5317|   197k|    Py_ssize_t ix;
 5318|       |
 5319|       |#ifdef Py_GIL_DISABLED
 5320|       |    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 5321|       |#else
 5322|   197k|    ix = _Py_dict_lookup(mp, key, hash, &value);
 5323|   197k|#endif
 5324|   197k|    if (ix == DKIX_ERROR)
  ------------------
  |  |  187|   197k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (5324:9): [True: 0, False: 197k]
  ------------------
 5325|      0|        return -1;
 5326|   197k|    if (ix != DKIX_EMPTY && value != NULL) {
  ------------------
  |  |  185|   395k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (5326:9): [True: 7.98k, False: 189k]
  |  Branch (5326:29): [True: 7.98k, False: 0]
  ------------------
 5327|       |#ifdef Py_GIL_DISABLED
 5328|       |        Py_DECREF(value);
 5329|       |#endif
 5330|  7.98k|        return 1;
 5331|  7.98k|    }
 5332|   189k|    return 0;
 5333|   197k|}
PyDict_GetItemStringRef:
 5566|  3.31k|{
 5567|  3.31k|    PyObject *key_obj = PyUnicode_FromString(key);
 5568|  3.31k|    if (key_obj == NULL) {
  ------------------
  |  Branch (5568:9): [True: 0, False: 3.31k]
  ------------------
 5569|      0|        *result = NULL;
 5570|      0|        return -1;
 5571|      0|    }
 5572|  3.31k|    int res = PyDict_GetItemRef(v, key_obj, result);
 5573|  3.31k|    Py_DECREF(key_obj);
  ------------------
  |  |  430|  3.31k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5574|  3.31k|    return res;
 5575|  3.31k|}
PyDict_SetItemString:
 5579|  2.09k|{
 5580|  2.09k|    PyObject *kv;
 5581|  2.09k|    int err;
 5582|  2.09k|    kv = PyUnicode_FromString(key);
 5583|  2.09k|    if (kv == NULL)
  ------------------
  |  Branch (5583:9): [True: 0, False: 2.09k]
  ------------------
 5584|      0|        return -1;
 5585|  2.09k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5586|  2.09k|    _PyUnicode_InternImmortal(interp, &kv); /* XXX Should we really? */
 5587|  2.09k|    err = PyDict_SetItem(v, kv, item);
 5588|  2.09k|    Py_DECREF(kv);
  ------------------
  |  |  430|  2.09k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5589|  2.09k|    return err;
 5590|  2.09k|}
_PyDictView_New:
 6465|    936|{
 6466|    936|    _PyDictViewObject *dv;
 6467|    936|    if (dict == NULL) {
  ------------------
  |  Branch (6467:9): [True: 0, False: 936]
  ------------------
 6468|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 6469|      0|        return NULL;
 6470|      0|    }
 6471|    936|    if (!PyAnyDict_Check(dict)) {
  ------------------
  |  |   43|    936|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    936|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  1.87k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 936, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6472|       |        /* XXX Get rid of this restriction later */
 6473|      0|        PyErr_Format(PyExc_TypeError,
 6474|      0|                     "%s() requires a dict argument, not '%s'",
 6475|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6476|      0|        return NULL;
 6477|      0|    }
 6478|    936|    dv = PyObject_GC_New(_PyDictViewObject, type);
  ------------------
  |  |  181|    936|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    936|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 6479|    936|    if (dv == NULL)
  ------------------
  |  Branch (6479:9): [True: 0, False: 936]
  ------------------
 6480|      0|        return NULL;
 6481|    936|    dv->dv_dict = (PyDictObject *)Py_NewRef(dict);
  ------------------
  |  |  550|    936|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    936|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    936|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6482|    936|    _PyObject_GC_TRACK(dv);
  ------------------
  |  |  505|    936|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    936|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    936|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6483|    936|    return (PyObject *)dv;
 6484|    936|}
_PyDictView_Intersect:
 6692|      1|{
 6693|      1|    PyObject *result;
 6694|      1|    PyObject *it;
 6695|      1|    PyObject *key;
 6696|      1|    Py_ssize_t len_self;
 6697|      1|    int rv;
 6698|      1|    objobjproc dict_contains;
 6699|       |
 6700|       |    /* Python interpreter swaps parameters when dict view
 6701|       |       is on right side of & */
 6702|      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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6703|      0|        PyObject *tmp = other;
 6704|      0|        other = self;
 6705|      0|        self = tmp;
 6706|      0|    }
 6707|       |
 6708|      1|    len_self = dictview_len(self);
 6709|       |
 6710|       |    /* if other is a set and self is smaller than other,
 6711|       |       reuse set intersection logic */
 6712|      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 (6712:36): [True: 0, False: 0]
  ------------------
 6713|      0|        return PyObject_CallMethodObjArgs(
 6714|      0|                other, &_Py_ID(intersection), self, NULL);
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6715|      0|    }
 6716|       |
 6717|       |    /* if other is another dict view, and it is bigger than self,
 6718|       |       swap them */
 6719|      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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6720|      0|        Py_ssize_t len_other = dictview_len(other);
 6721|      0|        if (len_other > len_self) {
  ------------------
  |  Branch (6721:13): [True: 0, False: 0]
  ------------------
 6722|      0|            PyObject *tmp = other;
 6723|      0|            other = self;
 6724|      0|            self = tmp;
 6725|      0|        }
 6726|      0|    }
 6727|       |
 6728|       |    /* at this point, two things should be true
 6729|       |       1. self is a dictview
 6730|       |       2. if other is a dictview then it is smaller than self */
 6731|      1|    result = PySet_New(NULL);
 6732|      1|    if (result == NULL)
  ------------------
  |  Branch (6732:9): [True: 0, False: 1]
  ------------------
 6733|      0|        return NULL;
 6734|       |
 6735|      1|    it = PyObject_GetIter(other);
 6736|      1|    if (it == NULL) {
  ------------------
  |  Branch (6736:9): [True: 0, False: 1]
  ------------------
 6737|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6738|      0|        return NULL;
 6739|      0|    }
 6740|       |
 6741|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6742|      1|        dict_contains = dictkeys_contains;
 6743|      1|    }
 6744|       |    /* else PyDictItems_Check(self) */
 6745|      0|    else {
 6746|      0|        dict_contains = dictitems_contains;
 6747|      0|    }
 6748|       |
 6749|     56|    while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (6749:12): [True: 55, False: 1]
  ------------------
 6750|     55|        rv = dict_contains(self, key);
 6751|     55|        if (rv < 0) {
  ------------------
  |  Branch (6751:13): [True: 0, False: 55]
  ------------------
 6752|      0|            goto error;
 6753|      0|        }
 6754|     55|        if (rv) {
  ------------------
  |  Branch (6754:13): [True: 55, False: 0]
  ------------------
 6755|     55|            if (PySet_Add(result, key)) {
  ------------------
  |  Branch (6755:17): [True: 0, False: 55]
  ------------------
 6756|      0|                goto error;
 6757|      0|            }
 6758|     55|        }
 6759|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6760|     55|    }
 6761|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6762|      1|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (6762:9): [True: 0, False: 1]
  ------------------
 6763|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6764|      0|        return NULL;
 6765|      0|    }
 6766|      1|    return result;
 6767|       |
 6768|      0|error:
 6769|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6770|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6771|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6772|       |    return NULL;
 6773|      1|}
_PyDict_NewKeysForClass:
 7263|    525|{
 7264|    525|    int log2_bytes = get_log2_bytes(NEXT_LOG2_SHARED_KEYS_MAX_SIZE);
  ------------------
  |  |  256|    525|#define NEXT_LOG2_SHARED_KEYS_MAX_SIZE 6
  ------------------
 7265|    525|    Py_ssize_t usable = USABLE_FRACTION((size_t)1<<NEXT_LOG2_SHARED_KEYS_MAX_SIZE);
  ------------------
  |  |  590|    525|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
 7266|       |
 7267|    525|    struct _instancekeysobject *shared_keys =
 7268|    525|                          PyMem_Malloc(sizeof(struct _instancekeysobject)
 7269|    525|                          + ((size_t)1 << log2_bytes)
 7270|    525|                          + sizeof(PyDictUnicodeEntry) * usable);
 7271|    525|    if (shared_keys == NULL) {
  ------------------
  |  Branch (7271:9): [True: 0, False: 525]
  ------------------
 7272|      0|        PyErr_Clear();
 7273|      0|        return NULL;
 7274|      0|    }
 7275|       |
 7276|    525|    shared_keys->dsk_owning_type = (PyTypeObject *)cls;
 7277|    525|    PyDictKeysObject* keys = &shared_keys->dsk_keys;
 7278|    525|    init_keys_object(keys, NEXT_LOG2_SHARED_KEYS_MAX_SIZE, log2_bytes, DICT_KEYS_SPLIT,
  ------------------
  |  |  256|    525|#define NEXT_LOG2_SHARED_KEYS_MAX_SIZE 6
  ------------------
 7279|    525|                     SHARED_KEYS_MAX_SIZE, sizeof(PyDictUnicodeEntry));
  ------------------
  |  |  255|    525|#define SHARED_KEYS_MAX_SIZE 30
  ------------------
 7280|    525|    assert(keys->dk_nentries == 0);
  ------------------
  |  Branch (7280:5): [True: 525, False: 0]
  ------------------
 7281|       |    /* Set to max size+1 as it will shrink by one before each new object */
 7282|    525|    if (cls->ht_type.tp_dict) {
  ------------------
  |  Branch (7282:9): [True: 525, False: 0]
  ------------------
 7283|    525|        PyObject *attrs = PyDict_GetItem(cls->ht_type.tp_dict, &_Py_ID(__static_attributes__));
  ------------------
  |  |  921|    525|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    525|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    525|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7284|    525|        if (attrs != NULL && PyTuple_Check(attrs)) {
  ------------------
  |  |   27|    519|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    519|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 519, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7284:13): [True: 519, False: 6]
  ------------------
 7285|    831|            for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(attrs); i++) {
  ------------------
  |  |   27|    831|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    831|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    831|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7285:36): [True: 312, False: 519]
  ------------------
 7286|    312|                PyObject *key = PyTuple_GET_ITEM(attrs, i);
  ------------------
  |  |   29|    312|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    312|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    312|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7286:33): [True: 312, False: 0]
  ------------------
 7287|      0|                Py_hash_t hash;
 7288|    312|                if (PyUnicode_CheckExact(key) && (hash = unicode_get_hash(key)) != -1) {
  ------------------
  |  |  104|    312|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    624|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    312|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    312|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 312, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7288:50): [True: 312, False: 0]
  ------------------
 7289|    312|                    if (insert_split_key(keys, key, hash) == DKIX_EMPTY) {
  ------------------
  |  |  185|    312|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (7289:25): [True: 0, False: 312]
  ------------------
 7290|      0|                        break;
 7291|      0|                    }
 7292|    312|                }
 7293|    312|            }
 7294|    519|        }
 7295|    525|    }
 7296|    525|    return keys;
 7297|    525|}
_PyDict_RemoveKeysForClass:
 7301|      4|{
 7302|      4|    struct _instancekeysobject *shared_keys = _PyDictKeys_AsSharedKeys(cls->ht_cached_keys);
 7303|      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
  ------------------
 7304|       |
 7305|      4|    _PyDictKeys_DecRef(cls->ht_cached_keys);
 7306|      4|}
_PyObject_InitInlineValues:
 7310|  51.2k|{
 7311|  51.2k|    assert(tp->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  Branch (7311:5): [True: 51.2k, False: 0]
  ------------------
 7312|  51.2k|    assert(tp->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (7312:5): [True: 51.2k, False: 0]
  ------------------
 7313|  51.2k|    assert(tp->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  Branch (7313:5): [True: 51.2k, False: 0]
  ------------------
 7314|  51.2k|    PyDictKeysObject *keys = CACHED_KEYS(tp);
  ------------------
  |  |  911|  51.2k|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7315|  51.2k|    assert(keys != NULL);
  ------------------
  |  Branch (7315:5): [True: 51.2k, False: 0]
  ------------------
 7316|  51.2k|    OBJECT_STAT_INC(inline_values);
  ------------------
  |  |   77|  51.2k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 7317|       |#ifdef Py_GIL_DISABLED
 7318|       |    Py_ssize_t usable = _Py_atomic_load_ssize_relaxed(&keys->dk_usable);
 7319|       |    if (usable > 1) {
 7320|       |        LOCK_KEYS(keys);
 7321|       |        if (keys->dk_usable > 1) {
 7322|       |            _Py_atomic_store_ssize(&keys->dk_usable, keys->dk_usable - 1);
 7323|       |        }
 7324|       |        UNLOCK_KEYS(keys);
 7325|       |    }
 7326|       |#else
 7327|  51.2k|    if (keys->dk_usable > 1) {
  ------------------
  |  Branch (7327:9): [True: 652, False: 50.5k]
  ------------------
 7328|    652|        keys->dk_usable--;
 7329|    652|    }
 7330|  51.2k|#endif
 7331|  51.2k|    size_t size = shared_keys_usable_size(keys);
 7332|  51.2k|    PyDictValues *values = _PyObject_InlineValues(obj);
 7333|  51.2k|    assert(size < 256);
  ------------------
  |  Branch (7333:5): [True: 51.2k, False: 0]
  ------------------
 7334|  51.2k|    values->capacity = (uint8_t)size;
 7335|  51.2k|    values->size = 0;
 7336|  51.2k|    values->embedded = 1;
 7337|  51.2k|    values->valid = 1;
 7338|   558k|    for (size_t i = 0; i < size; i++) {
  ------------------
  |  Branch (7338:24): [True: 506k, False: 51.2k]
  ------------------
 7339|   506k|        values->values[i] = NULL;
 7340|   506k|    }
 7341|       |    _PyObject_ManagedDictPointer(obj)->dict = NULL;
 7342|  51.2k|}
_PyDict_SetItem_LockHeld:
 7409|  2.55M|{
 7410|  2.55M|    if (!PyDict_Check(dict)) {
  ------------------
  |  |   18|  2.55M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.55M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7410:9): [True: 0, False: 2.55M]
  ------------------
 7411|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7412|      0|            if (value == NULL) {
  ------------------
  |  Branch (7412:17): [True: 0, False: 0]
  ------------------
 7413|      0|                frozendict_does_not_support("deletion");
  ------------------
  |  | 2801|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2802|      0|                    "not support item " WHAT)
  ------------------
 7414|      0|            }
 7415|      0|            else {
 7416|      0|                frozendict_does_not_support("assignment");
  ------------------
  |  | 2801|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2802|      0|                    "not support item " WHAT)
  ------------------
 7417|      0|            }
 7418|      0|        }
 7419|      0|        else {
 7420|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 7421|      0|        }
 7422|      0|        return -1;
 7423|      0|    }
 7424|       |
 7425|  2.55M|    if (value == NULL) {
  ------------------
  |  Branch (7425:9): [True: 36, False: 2.55M]
  ------------------
 7426|     36|        Py_hash_t hash = _PyObject_HashDictKey(name);
 7427|     36|        if (hash == -1) {
  ------------------
  |  Branch (7427:13): [True: 0, False: 36]
  ------------------
 7428|      0|            dict_unhashable_type((PyObject*)dict, name);
 7429|      0|            return -1;
 7430|      0|        }
 7431|     36|        return _PyDict_DelItem_KnownHash_LockHeld((PyObject *)dict, name, hash);
 7432|  2.55M|    } else {
 7433|  2.55M|        return setitem_lock_held(dict, name, value);
 7434|  2.55M|    }
 7435|  2.55M|}
_PyObject_StoreInstanceAttribute:
 7556|    897|{
 7557|    897|    PyDictValues *values = _PyObject_InlineValues(obj);
 7558|    897|    if (!FT_ATOMIC_LOAD_UINT8(values->valid)) {
  ------------------
  |  |  154|    897|#define FT_ATOMIC_LOAD_UINT8(value) value
  ------------------
  |  Branch (7558:9): [True: 0, False: 897]
  ------------------
 7559|      0|        PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7560|      0|        if (dict == NULL) {
  ------------------
  |  Branch (7560:13): [True: 0, False: 0]
  ------------------
 7561|      0|            dict = (PyDictObject *)PyObject_GenericGetDict(obj, NULL);
 7562|      0|            if (dict == NULL) {
  ------------------
  |  Branch (7562:17): [True: 0, False: 0]
  ------------------
 7563|      0|                return -1;
 7564|      0|            }
 7565|      0|            int res = store_instance_attr_dict(obj, dict, name, value);
 7566|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7567|      0|            return res;
 7568|      0|        }
 7569|      0|        return store_instance_attr_dict(obj, dict, name, value);
 7570|      0|    }
 7571|       |
 7572|       |#ifdef Py_GIL_DISABLED
 7573|       |    // We have a valid inline values, at least for now...  There are two potential
 7574|       |    // races with having the values become invalid.  One is the dictionary
 7575|       |    // being detached from the object.  The other is if someone is inserting
 7576|       |    // into the dictionary directly and therefore causing it to resize.
 7577|       |    //
 7578|       |    // If we haven't materialized the dictionary yet we lock on the object, which
 7579|       |    // will also be used to prevent the dictionary from being materialized while
 7580|       |    // we're doing the insertion.  If we race and the dictionary gets created
 7581|       |    // then we'll need to release the object lock and lock the dictionary to
 7582|       |    // prevent resizing.
 7583|       |    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7584|       |    if (dict == NULL) {
 7585|       |        int res;
 7586|       |        Py_BEGIN_CRITICAL_SECTION(obj);
 7587|       |        dict = _PyObject_GetManagedDict(obj);
 7588|       |
 7589|       |        if (dict == NULL) {
 7590|       |            res = store_instance_attr_lock_held(obj, values, name, value);
 7591|       |        }
 7592|       |        Py_END_CRITICAL_SECTION();
 7593|       |
 7594|       |        if (dict == NULL) {
 7595|       |            return res;
 7596|       |        }
 7597|       |    }
 7598|       |    return store_instance_attr_dict(obj, dict, name, value);
 7599|       |#else
 7600|    897|    return store_instance_attr_lock_held(obj, values, name, value);
 7601|    897|#endif
 7602|    897|}
_PyObject_TryGetInstanceAttribute:
 7639|   445k|{
 7640|   445k|    assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (7640:5): [True: 445k, False: 0]
  ------------------
 7641|   445k|    PyDictValues *values = _PyObject_InlineValues(obj);
 7642|   445k|    if (!FT_ATOMIC_LOAD_UINT8(values->valid)) {
  ------------------
  |  |  154|   445k|#define FT_ATOMIC_LOAD_UINT8(value) value
  ------------------
  |  Branch (7642:9): [True: 0, False: 445k]
  ------------------
 7643|      0|        return false;
 7644|      0|    }
 7645|       |
 7646|   445k|    PyDictKeysObject *keys = CACHED_KEYS(Py_TYPE(obj));
  ------------------
  |  |  911|   445k|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7647|   445k|    assert(keys != NULL);
  ------------------
  |  Branch (7647:5): [True: 445k, False: 0]
  ------------------
 7648|   445k|    Py_ssize_t ix = _PyDictKeys_StringLookupSplit(keys, name);
 7649|   445k|    if (ix == DKIX_EMPTY) {
  ------------------
  |  |  185|   445k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (7649:9): [True: 550, False: 445k]
  ------------------
 7650|    550|        *attr = NULL;
 7651|    550|        return true;
 7652|    550|    }
 7653|       |
 7654|       |#ifdef Py_GIL_DISABLED
 7655|       |    PyObject *value = _Py_atomic_load_ptr_acquire(&values->values[ix]);
 7656|       |    if (value == NULL) {
 7657|       |        if (FT_ATOMIC_LOAD_UINT8(values->valid)) {
 7658|       |            *attr = NULL;
 7659|       |            return true;
 7660|       |        }
 7661|       |    }
 7662|       |    else if (_Py_TryIncrefCompare(&values->values[ix], value)) {
 7663|       |        *attr = value;
 7664|       |        return true;
 7665|       |    }
 7666|       |
 7667|       |    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7668|       |    if (dict == NULL) {
 7669|       |        // No dict, lock the object to prevent one from being
 7670|       |        // materialized...
 7671|       |        bool success = false;
 7672|       |        Py_BEGIN_CRITICAL_SECTION(obj);
 7673|       |
 7674|       |        dict = _PyObject_GetManagedDict(obj);
 7675|       |        if (dict == NULL) {
 7676|       |            // Still no dict, we can read from the values
 7677|       |            assert(values->valid);
 7678|       |            value = values->values[ix];
 7679|       |            *attr = _Py_XNewRefWithLock(value);
 7680|       |            success = true;
 7681|       |        }
 7682|       |
 7683|       |        Py_END_CRITICAL_SECTION();
 7684|       |
 7685|       |        if (success) {
 7686|       |            return true;
 7687|       |        }
 7688|       |    }
 7689|       |
 7690|       |    // We have a dictionary, we'll need to lock it to prevent
 7691|       |    // the values from being resized.
 7692|       |    assert(dict != NULL);
 7693|       |
 7694|       |    bool success;
 7695|       |    Py_BEGIN_CRITICAL_SECTION(dict);
 7696|       |
 7697|       |    if (dict->ma_values == values && FT_ATOMIC_LOAD_UINT8(values->valid)) {
 7698|       |        value = _Py_atomic_load_ptr_consume(&values->values[ix]);
 7699|       |        *attr = _Py_XNewRefWithLock(value);
 7700|       |        success = true;
 7701|       |    } else {
 7702|       |        // Caller needs to lookup from the dictionary
 7703|       |        success = false;
 7704|       |    }
 7705|       |
 7706|       |    Py_END_CRITICAL_SECTION();
 7707|       |
 7708|       |    return success;
 7709|       |#else
 7710|   445k|    PyObject *value = values->values[ix];
 7711|   445k|    *attr = Py_XNewRef(value);
  ------------------
  |  |  551|   445k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   445k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   445k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7712|       |    return true;
 7713|   445k|#endif
 7714|   445k|}
PyObject_VisitManagedDict:
 7752|  12.4k|{
 7753|  12.4k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  12.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7754|  12.4k|    if((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0) {
  ------------------
  |  |  482|  12.4k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (7754:8): [True: 0, False: 12.4k]
  ------------------
 7755|      0|        return 0;
 7756|      0|    }
 7757|  12.4k|    PyDictObject *dict = _PyObject_ManagedDictPointer(obj)->dict;
 7758|  12.4k|    if (dict != NULL) {
  ------------------
  |  Branch (7758:9): [True: 5.19k, False: 7.28k]
  ------------------
 7759|       |        // GH-130327: If there's a managed dictionary available, we should
 7760|       |        // *always* traverse it. The dict is responsible for traversing the
 7761|       |        // inline values if it points to them.
 7762|  5.19k|        Py_VISIT(dict);
  ------------------
  |  |  194|  5.19k|    do {                                                                \
  |  |  195|  5.19k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 5.19k, False: 0]
  |  |  ------------------
  |  |  196|  5.19k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  5.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  5.19k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 5.19k]
  |  |  ------------------
  |  |  198|  5.19k|                return vret;                                            \
  |  |  199|  5.19k|        }                                                               \
  |  |  200|  5.19k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 5.19k]
  |  |  ------------------
  ------------------
 7763|  5.19k|    }
 7764|  7.28k|    else if (tp->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  7.28k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (7764:14): [True: 7.26k, False: 18]
  ------------------
 7765|  7.26k|        PyDictValues *values = _PyObject_InlineValues(obj);
 7766|  7.26k|        if (values->valid) {
  ------------------
  |  Branch (7766:13): [True: 7.26k, False: 0]
  ------------------
 7767|   132k|            for (Py_ssize_t i = 0; i < values->capacity; i++) {
  ------------------
  |  Branch (7767:36): [True: 125k, False: 7.26k]
  ------------------
 7768|   125k|                Py_VISIT(values->values[i]);
  ------------------
  |  |  194|   125k|    do {                                                                \
  |  |  195|   125k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 28.7k, False: 96.6k]
  |  |  ------------------
  |  |  196|  28.7k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  28.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  28.7k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 28.7k]
  |  |  ------------------
  |  |  198|  28.7k|                return vret;                                            \
  |  |  199|  28.7k|        }                                                               \
  |  |  200|   125k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 125k]
  |  |  ------------------
  ------------------
 7769|   125k|            }
 7770|  7.26k|        }
 7771|  7.26k|    }
 7772|  12.4k|    return 0;
 7773|  12.4k|}
PyObject_ClearManagedDict:
 7991|  50.8k|{
 7992|       |    // This is called when the object is being freed or cleared
 7993|       |    // by the GC and therefore known to have no references.
 7994|  50.8k|    if (Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  213|  50.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  50.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  50.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  50.8k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (7994:9): [True: 50.7k, False: 7]
  ------------------
 7995|  50.7k|        PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7996|  50.7k|        if (dict == NULL) {
  ------------------
  |  Branch (7996:13): [True: 50.7k, False: 0]
  ------------------
 7997|       |            // We have no materialized dictionary and inline values
 7998|       |            // that just need to be cleared.
 7999|       |            // No dict to clear, we're done
 8000|  50.7k|            clear_inline_values(_PyObject_InlineValues(obj));
 8001|  50.7k|            return;
 8002|  50.7k|        }
 8003|      0|        else if (FT_ATOMIC_LOAD_PTR_RELAXED(dict->ma_values) ==
  ------------------
  |  |  153|      0|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  ------------------
  |  Branch (8003:18): [True: 0, False: 0]
  ------------------
 8004|      0|                    _PyObject_InlineValues(obj)) {
 8005|       |            // We have a materialized object which points at the inline
 8006|       |            // values. We need to materialize the keys. Nothing can modify
 8007|       |            // this object, but we need to lock the dictionary.
 8008|      0|            int err;
 8009|      0|            Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|      0|    {
  ------------------
 8010|      0|            err = detach_dict_from_object(dict, obj);
 8011|      0|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 8012|       |
 8013|      0|            if (err) {
  ------------------
  |  Branch (8013:17): [True: 0, False: 0]
  ------------------
 8014|       |                /* Must be out of memory */
 8015|      0|                assert(PyErr_Occurred() == PyExc_MemoryError);
  ------------------
  |  Branch (8015:17): [True: 0, False: 0]
  ------------------
 8016|      0|                PyErr_FormatUnraisable("Exception ignored while "
 8017|      0|                                       "clearing an object managed dict");
 8018|       |                /* Clear the dict */
 8019|      0|                Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|      0|    {
  ------------------
 8020|      0|                PyDictKeysObject *oldkeys = dict->ma_keys;
 8021|      0|                set_keys(dict, Py_EMPTY_KEYS);
  ------------------
  |  |  660|      0|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 8022|      0|                dict->ma_values = NULL;
 8023|      0|                dictkeys_decref(oldkeys, IS_DICT_SHARED(dict));
  ------------------
  |  |  269|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 8024|      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
  |  |  ------------------
  ------------------
 8025|      0|                clear_inline_values(_PyObject_InlineValues(obj));
 8026|      0|                Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 8027|      0|            }
 8028|      0|        }
 8029|  50.7k|    }
 8030|      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]
  |  |  ------------------
  ------------------
 8031|      7|}
PyObject_GenericGetDict:
 8106|     41|{
 8107|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8108|     41|    if (_PyType_HasFeature(tp, Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|     41|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (8108:9): [True: 0, False: 41]
  ------------------
 8109|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8110|      0|    }
 8111|     41|    else {
 8112|     41|        PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 8113|     41|        if (dictptr == NULL) {
  ------------------
  |  Branch (8113:13): [True: 0, False: 41]
  ------------------
 8114|      0|            PyErr_SetString(PyExc_AttributeError,
 8115|      0|                            "This object has no __dict__");
 8116|      0|            return NULL;
 8117|      0|        }
 8118|       |
 8119|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8120|     41|    }
 8121|     41|}
_PyObjectDict_SetItem:
 8126|  2.55M|{
 8127|  2.55M|    PyObject *dict;
 8128|  2.55M|    int res;
 8129|       |
 8130|  2.55M|    assert(dictptr != NULL);
  ------------------
  |  Branch (8130:5): [True: 2.55M, False: 0]
  ------------------
 8131|  2.55M|    dict = ensure_nonmanaged_dict(obj, dictptr);
 8132|  2.55M|    if (dict == NULL) {
  ------------------
  |  Branch (8132:9): [True: 0, False: 2.55M]
  ------------------
 8133|      0|        return -1;
 8134|      0|    }
 8135|       |
 8136|  2.55M|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|  2.55M|    {
  ------------------
 8137|  2.55M|    res = _PyDict_SetItem_LockHeld((PyDictObject *)dict, key, value);
 8138|  2.55M|    ASSERT_CONSISTENT(dict);
  ------------------
  |  |  668|  2.55M|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (8138:5): [True: 2.55M, False: 0]
  ------------------
 8139|  2.55M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.55M|    }
  ------------------
 8140|  2.55M|    return res;
 8141|  2.55M|}
_PyDictKeys_DecRef:
 8145|      4|{
 8146|       |    dictkeys_decref(keys, false);
 8147|      4|}
_PyDictKeys_GetVersionForCurrentState:
 8176|  2.88k|{
 8177|  2.88k|    uint32_t dk_version = FT_ATOMIC_LOAD_UINT32_RELAXED(dictkeys->dk_version);
  ------------------
  |  |  159|  2.88k|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  ------------------
 8178|  2.88k|    if (dk_version != 0) {
  ------------------
  |  Branch (8178:9): [True: 2.65k, False: 228]
  ------------------
 8179|  2.65k|        return dk_version;
 8180|  2.65k|    }
 8181|    228|    dk_version = get_next_dict_keys_version(interp);
 8182|    228|    FT_ATOMIC_STORE_UINT32_RELAXED(dictkeys->dk_version, dk_version);
  ------------------
  |  |  172|    228|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 8183|    228|    return dk_version;
 8184|  2.88k|}
_PyDict_GetKeysVersionForCurrentState:
 8189|  2.54k|{
 8190|  2.54k|    ASSERT_DICT_LOCKED((PyObject *) dict);
 8191|  2.54k|    uint32_t dk_version =
 8192|  2.54k|        _PyDictKeys_GetVersionForCurrentState(interp, dict->ma_keys);
 8193|  2.54k|    ensure_shared_on_keys_version_assignment(dict);
 8194|  2.54k|    return dk_version;
 8195|  2.54k|}
PyDict_Watch:
 8219|  2.41k|{
 8220|  2.41k|    if (!PyDict_Check(dict)) {
  ------------------
  |  |   18|  2.41k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.41k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (8220:9): [True: 0, False: 2.41k]
  ------------------
 8221|      0|        PyErr_SetString(PyExc_ValueError, "Cannot watch non-dictionary");
 8222|      0|        return -1;
 8223|      0|    }
 8224|  2.41k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 8225|  2.41k|    if (validate_watcher_id(interp, watcher_id)) {
  ------------------
  |  Branch (8225:9): [True: 0, False: 2.41k]
  ------------------
 8226|      0|        return -1;
 8227|      0|    }
 8228|  2.41k|    FT_ATOMIC_OR_UINT64(((PyDictObject*)dict)->_ma_watcher_tag,
  ------------------
  |  |  174|  2.41k|#define FT_ATOMIC_OR_UINT64(value, new_value) (void)(value |= new_value)
  ------------------
 8229|  2.41k|                        1ULL << watcher_id);
 8230|  2.41k|    return 0;
 8231|  2.41k|}
_PyDict_SendEvent:
 8306|  9.08k|{
 8307|  9.08k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 8308|  81.7k|    for (int i = 0; i < DICT_MAX_WATCHERS; i++) {
  ------------------
  |  |   11|  81.7k|#define DICT_MAX_WATCHERS 8
  ------------------
  |  Branch (8308:21): [True: 72.6k, False: 9.08k]
  ------------------
 8309|  72.6k|        if (watcher_bits & 1) {
  ------------------
  |  Branch (8309:13): [True: 9.08k, False: 63.5k]
  ------------------
 8310|  9.08k|            PyDict_WatchCallback cb = FT_ATOMIC_LOAD_PTR_ACQUIRE(
  ------------------
  |  |  150|  9.08k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 8311|  9.08k|                interp->dict_state.watchers[i]);
 8312|  9.08k|            if (cb && (cb(event, (PyObject*)mp, key, value) < 0)) {
  ------------------
  |  Branch (8312:17): [True: 9.08k, False: 0]
  |  Branch (8312:23): [True: 0, False: 9.08k]
  ------------------
 8313|       |                // We don't want to resurrect the dict by potentially having an
 8314|       |                // unraisablehook keep a reference to it, so we don't pass the
 8315|       |                // dict as context, just an informative string message.  Dict
 8316|       |                // repr can call arbitrary code, so we invent a simpler version.
 8317|      0|                PyErr_FormatUnraisable(
 8318|      0|                    "Exception ignored in %s watcher callback for <dict at %p>",
 8319|      0|                    dict_event_name(event), mp);
 8320|      0|            }
 8321|  9.08k|        }
 8322|  72.6k|        watcher_bits >>= 1;
 8323|  72.6k|    }
 8324|  9.08k|}
dictobject.c:dictkeys_get_index:
  528|  32.9M|{
  529|  32.9M|    int log2size = DK_LOG_SIZE(keys);
  ------------------
  |  |  272|  32.9M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  277|  32.9M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  530|  32.9M|    Py_ssize_t ix;
  531|       |
  532|  32.9M|    if (log2size < 8) {
  ------------------
  |  Branch (532:9): [True: 27.6M, False: 5.24M]
  ------------------
  533|  27.6M|        ix = LOAD_INDEX(keys, 8, i);
  ------------------
  |  |  271|  27.6M|#define LOAD_INDEX(keys, size, idx) ((const int##size##_t*)(keys->dk_indices))[idx]
  ------------------
  534|  27.6M|    }
  535|  5.24M|    else if (log2size < 16) {
  ------------------
  |  Branch (535:14): [True: 4.98M, False: 259k]
  ------------------
  536|  4.98M|        ix = LOAD_INDEX(keys, 16, i);
  ------------------
  |  |  271|  4.98M|#define LOAD_INDEX(keys, size, idx) ((const int##size##_t*)(keys->dk_indices))[idx]
  ------------------
  537|  4.98M|    }
  538|   259k|#if SIZEOF_VOID_P > 4
  539|   259k|    else if (log2size >= 32) {
  ------------------
  |  Branch (539:14): [True: 0, False: 259k]
  ------------------
  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|   259k|#endif
  543|   259k|    else {
  544|   259k|        ix = LOAD_INDEX(keys, 32, i);
  ------------------
  |  |  271|   259k|#define LOAD_INDEX(keys, size, idx) ((const int##size##_t*)(keys->dk_indices))[idx]
  ------------------
  545|   259k|    }
  546|  32.9M|    assert(ix >= DKIX_DUMMY);
  ------------------
  |  Branch (546:5): [True: 32.9M, False: 0]
  ------------------
  547|  32.9M|    return ix;
  548|  32.9M|}
dictobject.c:unicode_get_hash:
  451|  11.4M|{
  452|  11.4M|    return PyUnstable_Unicode_GET_CACHED_HASH(o);
  453|  11.4M|}
dictobject.c:new_dict:
  973|   937k|{
  974|   937k|    PyDictObject *mp = _Py_FREELIST_POP(PyDictObject, dicts);
  ------------------
  |  |   43|   937k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|   937k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  975|   937k|    if (mp == NULL) {
  ------------------
  |  Branch (975:9): [True: 396k, False: 540k]
  ------------------
  976|   396k|        mp = PyObject_GC_New(PyDictObject, &PyDict_Type);
  ------------------
  |  |  181|   396k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|   396k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  977|   396k|    }
  978|   937k|    assert(mp == NULL || Py_IS_TYPE(mp, &PyDict_Type));
  ------------------
  |  Branch (978:5): [True: 0, False: 937k]
  |  Branch (978:5): [True: 937k, False: 0]
  ------------------
  979|       |
  980|   937k|    return new_dict_impl(mp, keys, values, used, free_values_on_failure, 0, 1);
  981|   937k|}
dictobject.c:new_dict_impl:
  945|   938k|{
  946|   938k|    assert(keys != NULL);
  ------------------
  |  Branch (946:5): [True: 938k, False: 0]
  ------------------
  947|   938k|    if (mp == NULL) {
  ------------------
  |  Branch (947:9): [True: 0, False: 938k]
  ------------------
  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|   938k|    mp->ma_keys = keys;
  956|   938k|    mp->ma_values = values;
  957|   938k|    mp->ma_used = used;
  958|   938k|    mp->_ma_watcher_tag = 0;
  959|   938k|    if (frozendict) {
  ------------------
  |  Branch (959:9): [True: 0, False: 938k]
  ------------------
  960|      0|        ((PyFrozenDictObject *)mp)->ma_hash = -1;
  961|      0|    }
  962|   938k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|   938k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (962:5): [True: 938k, False: 0]
  ------------------
  963|   938k|    if (gc_track) {
  ------------------
  |  Branch (963:9): [True: 937k, False: 1.54k]
  ------------------
  964|   937k|        _PyObject_GC_TRACK(mp);
  ------------------
  |  |  505|   937k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   937k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   937k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  965|   937k|    }
  966|   938k|    return (PyObject *)mp;
  967|   938k|}
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|    420|{
 1249|    420|    return PyUnicode_CheckExact(key) && (dk->dk_kind != DICT_KEYS_GENERAL);
  ------------------
  |  |  104|    420|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    840|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    420|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    420|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 420, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1249:41): [True: 420, False: 0]
  ------------------
 1250|    420|}
dictobject.c:hash_unicode_key:
 1254|  97.9k|{
 1255|  97.9k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1255:5): [True: 97.9k, False: 0]
  ------------------
 1256|  97.9k|    Py_hash_t hash = unicode_get_hash(key);
 1257|  97.9k|    if (hash == -1) {
  ------------------
  |  Branch (1257:9): [True: 0, False: 97.9k]
  ------------------
 1258|      0|        hash = PyUnicode_Type.tp_hash(key);
 1259|      0|        assert(hash != -1);
  ------------------
  |  Branch (1259:9): [True: 0, False: 0]
  ------------------
 1260|      0|    }
 1261|  97.9k|    return hash;
 1262|  97.9k|}
dictobject.c:unicodekeys_lookup_unicode:
 1208|  9.34M|{
 1209|       |    return do_lookup(NULL, dk, key, hash, compare_unicode_unicode);
 1210|  9.34M|}
dictobject.c:do_lookup:
 1115|  13.5M|{
 1116|  13.5M|    void *ep0 = _DK_ENTRIES(dk);
 1117|  13.5M|    size_t mask = DK_MASK(dk);
  ------------------
  |  |  467|  13.5M|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  274|  13.5M|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  272|  13.5M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  277|  13.5M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1118|  13.5M|    size_t perturb = hash;
 1119|  13.5M|    size_t i = (size_t)hash & mask;
 1120|  13.5M|    Py_ssize_t ix;
 1121|  17.0M|    for (;;) {
 1122|  17.0M|        ix = dictkeys_get_index(dk, i);
 1123|  17.0M|        if (ix >= 0) {
  ------------------
  |  Branch (1123:13): [True: 12.6M, False: 4.47M]
  ------------------
 1124|  12.6M|            int cmp = check_lookup(mp, dk, ep0, ix, key, hash);
 1125|  12.6M|            if (cmp < 0) {
  ------------------
  |  Branch (1125:17): [True: 0, False: 12.6M]
  ------------------
 1126|      0|                return cmp;
 1127|  12.6M|            } else if (cmp) {
  ------------------
  |  Branch (1127:24): [True: 6.93M, False: 5.67M]
  ------------------
 1128|  6.93M|                return ix;
 1129|  6.93M|            }
 1130|  12.6M|        }
 1131|  4.47M|        else if (ix == DKIX_EMPTY) {
  ------------------
  |  |  185|  4.47M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1131:18): [True: 4.45M, False: 26.9k]
  ------------------
 1132|  4.45M|            return DKIX_EMPTY;
  ------------------
  |  |  185|  4.45M|#define DKIX_EMPTY (-1)
  ------------------
 1133|  4.45M|        }
 1134|  5.70M|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|  5.70M|#define PERTURB_SHIFT 5
  ------------------
 1135|  5.70M|        i = mask & (i*5 + perturb + 1);
 1136|       |
 1137|       |        // Manual loop unrolling
 1138|  5.70M|        ix = dictkeys_get_index(dk, i);
 1139|  5.70M|        if (ix >= 0) {
  ------------------
  |  Branch (1139:13): [True: 4.37M, False: 1.33M]
  ------------------
 1140|  4.37M|            int cmp = check_lookup(mp, dk, ep0, ix, key, hash);
 1141|  4.37M|            if (cmp < 0) {
  ------------------
  |  Branch (1141:17): [True: 0, False: 4.37M]
  ------------------
 1142|      0|                return cmp;
 1143|  4.37M|            } else if (cmp) {
  ------------------
  |  Branch (1143:24): [True: 874k, False: 3.49M]
  ------------------
 1144|   874k|                return ix;
 1145|   874k|            }
 1146|  4.37M|        }
 1147|  1.33M|        else if (ix == DKIX_EMPTY) {
  ------------------
  |  |  185|  1.33M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1147:18): [True: 1.32M, False: 10.7k]
  ------------------
 1148|  1.32M|            return DKIX_EMPTY;
  ------------------
  |  |  185|  1.32M|#define DKIX_EMPTY (-1)
  ------------------
 1149|  1.32M|        }
 1150|  3.50M|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|  3.50M|#define PERTURB_SHIFT 5
  ------------------
 1151|  3.50M|        i = mask & (i*5 + perturb + 1);
 1152|  3.50M|    }
 1153|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1154|  13.5M|}
dictobject.c:compare_unicode_unicode:
 1194|  11.6M|{
 1195|  11.6M|    PyDictUnicodeEntry *ep = &((PyDictUnicodeEntry *)ep0)[ix];
 1196|  11.6M|    PyObject *ep_key = FT_ATOMIC_LOAD_PTR_CONSUME(ep->me_key);
  ------------------
  |  |  151|  11.6M|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  ------------------
 1197|  11.6M|    assert(ep_key != NULL);
  ------------------
  |  Branch (1197:5): [True: 11.6M, False: 0]
  ------------------
 1198|  11.6M|    assert(PyUnicode_CheckExact(ep_key));
  ------------------
  |  Branch (1198:5): [True: 11.6M, False: 0]
  ------------------
 1199|  11.6M|    if (ep_key == key ||
  ------------------
  |  Branch (1199:9): [True: 4.73M, False: 6.91M]
  ------------------
 1200|  6.91M|            (unicode_get_hash(ep_key) == hash && unicode_eq(ep_key, key))) {
  ------------------
  |  Branch (1200:14): [True: 330k, False: 6.58M]
  |  Branch (1200:50): [True: 330k, False: 69]
  ------------------
 1201|  5.06M|        return 1;
 1202|  5.06M|    }
 1203|  6.58M|    return 0;
 1204|  11.6M|}
dictobject.c:unicodekeys_lookup_split:
 1272|   446k|{
 1273|   446k|    Py_ssize_t ix;
 1274|   446k|    assert(dk->dk_kind == DICT_KEYS_SPLIT);
  ------------------
  |  Branch (1274:5): [True: 446k, False: 0]
  ------------------
 1275|   446k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1275:5): [True: 446k, 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|   446k|    ix = unicodekeys_lookup_unicode(dk, key, hash);
 1289|   446k|#endif
 1290|   446k|    return ix;
 1291|   446k|}
dictobject.c:unicodekeys_lookup_generic:
 1187|  75.9k|{
 1188|  75.9k|    return do_lookup(mp, dk, key, hash, compare_unicode_generic);
 1189|  75.9k|}
dictobject.c:compare_unicode_generic:
 1159|  7.14k|{
 1160|  7.14k|    PyDictUnicodeEntry *ep = &((PyDictUnicodeEntry *)ep0)[ix];
 1161|  7.14k|    assert(ep->me_key != NULL);
  ------------------
  |  Branch (1161:5): [True: 7.14k, False: 0]
  ------------------
 1162|  7.14k|    assert(PyUnicode_CheckExact(ep->me_key));
  ------------------
  |  Branch (1162:5): [True: 7.14k, False: 0]
  ------------------
 1163|  7.14k|    assert(!PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1163:5): [True: 7.14k, False: 0]
  ------------------
 1164|       |
 1165|  7.14k|    if (unicode_get_hash(ep->me_key) == hash) {
  ------------------
  |  Branch (1165:9): [True: 24, False: 7.12k]
  ------------------
 1166|     24|        PyObject *startkey = ep->me_key;
 1167|     24|        Py_INCREF(startkey);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1168|     24|        int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|     24|#define Py_EQ 2
  ------------------
 1169|     24|        Py_DECREF(startkey);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1170|     24|        if (cmp < 0) {
  ------------------
  |  Branch (1170:13): [True: 0, False: 24]
  ------------------
 1171|      0|            return DKIX_ERROR;
  ------------------
  |  |  187|      0|#define DKIX_ERROR (-3)
  ------------------
 1172|      0|        }
 1173|     24|        if (dk == mp->ma_keys && ep->me_key == startkey) {
  ------------------
  |  Branch (1173:13): [True: 24, False: 0]
  |  Branch (1173:34): [True: 24, False: 0]
  ------------------
 1174|     24|            return cmp;
 1175|     24|        }
 1176|      0|        else {
 1177|       |            /* The dict was mutated, restart */
 1178|      0|            return DKIX_KEY_CHANGED;
  ------------------
  |  |  188|      0|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
 1179|      0|        }
 1180|     24|    }
 1181|  7.12k|    return 0;
 1182|  7.14k|}
dictobject.c:dictkeys_generic_lookup:
 1242|  4.16M|{
 1243|  4.16M|    return do_lookup(mp, dk, key, hash, compare_generic);
 1244|  4.16M|}
dictobject.c:compare_generic:
 1215|  5.32M|{
 1216|  5.32M|    PyDictKeyEntry *ep = &((PyDictKeyEntry *)ep0)[ix];
 1217|  5.32M|    assert(ep->me_key != NULL);
  ------------------
  |  Branch (1217:5): [True: 5.32M, False: 0]
  ------------------
 1218|  5.32M|    if (ep->me_key == key) {
  ------------------
  |  Branch (1218:9): [True: 1.59M, False: 3.72M]
  ------------------
 1219|  1.59M|        return 1;
 1220|  1.59M|    }
 1221|  3.72M|    if (ep->me_hash == hash) {
  ------------------
  |  Branch (1221:9): [True: 1.17M, False: 2.55M]
  ------------------
 1222|  1.17M|        PyObject *startkey = ep->me_key;
 1223|  1.17M|        Py_INCREF(startkey);
  ------------------
  |  |  310|  1.17M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1224|  1.17M|        int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|  1.17M|#define Py_EQ 2
  ------------------
 1225|  1.17M|        Py_DECREF(startkey);
  ------------------
  |  |  430|  1.17M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1226|  1.17M|        if (cmp < 0) {
  ------------------
  |  Branch (1226:13): [True: 0, False: 1.17M]
  ------------------
 1227|      0|            return DKIX_ERROR;
  ------------------
  |  |  187|      0|#define DKIX_ERROR (-3)
  ------------------
 1228|      0|        }
 1229|  1.17M|        if (dk == mp->ma_keys && ep->me_key == startkey) {
  ------------------
  |  Branch (1229:13): [True: 1.17M, False: 0]
  |  Branch (1229:34): [True: 1.17M, False: 0]
  ------------------
 1230|  1.17M|            return cmp;
 1231|  1.17M|        }
 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.17M|    }
 1237|  2.55M|    return 0;
 1238|  3.72M|}
dictobject.c:can_modify_dict:
  306|  11.6M|{
  307|  11.6M|    if (PyFrozenDict_Check(mp)) {
  ------------------
  |  |   37|  11.6M|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|  11.6M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 3, False: 11.6M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|  11.6M|    else {
  317|       |        // Locking is only required if the dictionary is not
  318|       |        // uniquely referenced.
  319|  11.6M|        ASSERT_DICT_LOCKED(mp);
  320|  11.6M|    }
  321|  11.6M|    return 1;
  322|  11.6M|}
dictobject.c:dict_new_presized:
 2345|  2.57k|{
 2346|  2.57k|    const uint8_t log2_max_presize = 17;
 2347|  2.57k|    const Py_ssize_t max_presize = ((Py_ssize_t)1) << log2_max_presize;
 2348|  2.57k|    uint8_t log2_newsize;
 2349|  2.57k|    PyDictKeysObject *new_keys;
 2350|       |
 2351|  2.57k|    if (minused <= USABLE_FRACTION(PyDict_MINSIZE)) {
  ------------------
  |  |  590|  2.57k|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (2351:9): [True: 2.38k, False: 187]
  ------------------
 2352|  2.38k|        return PyDict_New();
 2353|  2.38k|    }
 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|    187|    if (minused > USABLE_FRACTION(max_presize)) {
  ------------------
  |  |  590|    187|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (2358:9): [True: 0, False: 187]
  ------------------
 2359|      0|        log2_newsize = log2_max_presize;
 2360|      0|    }
 2361|    187|    else {
 2362|    187|        log2_newsize = estimate_log2_keysize(minused);
 2363|    187|    }
 2364|       |
 2365|    187|    new_keys = new_keys_object(log2_newsize, unicode);
 2366|    187|    if (new_keys == NULL)
  ------------------
  |  Branch (2366:9): [True: 0, False: 187]
  ------------------
 2367|      0|        return NULL;
 2368|    187|    return new_dict(new_keys, NULL, 0, 0);
 2369|    187|}
dictobject.c:estimate_log2_keysize:
  622|    188|{
  623|    188|    return calculate_log2_keysize((n*3 + 1) / 2);
  624|    188|}
dictobject.c:calculate_log2_keysize:
  595|   486k|{
  596|   486k|#if SIZEOF_LONG == SIZEOF_SIZE_T
  597|   486k|    minsize = Py_MAX(minsize, PyDict_MINSIZE);
  ------------------
  |  |  115|   486k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 465k, False: 21.4k]
  |  |  ------------------
  ------------------
  598|   486k|    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|   486k|}
dictobject.c:new_keys_object:
  849|  1.22M|{
  850|  1.22M|    Py_ssize_t usable = USABLE_FRACTION((size_t)1<<log2_size);
  ------------------
  |  |  590|  1.22M|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  851|  1.22M|    size_t entry_size = unicode ? sizeof(PyDictUnicodeEntry) : sizeof(PyDictKeyEntry);
  ------------------
  |  Branch (851:25): [True: 1.10M, False: 119k]
  ------------------
  852|       |
  853|  1.22M|    int log2_bytes = get_log2_bytes(log2_size);
  854|       |
  855|  1.22M|    PyDictKeysObject *dk = NULL;
  856|  1.22M|    if (log2_size == PyDict_LOG_MINSIZE && unicode) {
  ------------------
  |  |  115|  2.45M|#define PyDict_LOG_MINSIZE 3
  ------------------
  |  Branch (856:9): [True: 760k, False: 465k]
  |  Branch (856:44): [True: 685k, False: 74.4k]
  ------------------
  857|   685k|        dk = _Py_FREELIST_POP_MEM(dictkeys);
  ------------------
  |  |   48|   685k|    _PyFreeList_PopMem(&_Py_freelists_GET()->NAME)
  ------------------
  858|   685k|    }
  859|  1.22M|    if (dk == NULL) {
  ------------------
  |  Branch (859:9): [True: 607k, False: 618k]
  ------------------
  860|   607k|        dk = PyMem_Malloc(sizeof(PyDictKeysObject)
  861|   607k|                          + ((size_t)1 << log2_bytes)
  862|   607k|                          + entry_size * usable);
  863|   607k|        if (dk == NULL) {
  ------------------
  |  Branch (863:13): [True: 0, False: 607k]
  ------------------
  864|      0|            PyErr_NoMemory();
  865|      0|            return NULL;
  866|      0|        }
  867|   607k|    }
  868|  1.22M|    init_keys_object(dk, log2_size, log2_bytes,
  869|  1.22M|                     unicode ? DICT_KEYS_UNICODE : DICT_KEYS_GENERAL,
  ------------------
  |  Branch (869:22): [True: 1.10M, False: 119k]
  ------------------
  870|  1.22M|                     usable, entry_size);
  871|  1.22M|    return dk;
  872|  1.22M|}
dictobject.c:dict_getitem:
 2427|    525|{
 2428|    525|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|    525|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    525|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  1.05k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 525, 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|    525|    PyDictObject *mp = (PyDictObject *)op;
 2432|       |
 2433|    525|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2434|    525|    if (hash == -1) {
  ------------------
  |  Branch (2434:9): [True: 0, False: 525]
  ------------------
 2435|      0|        PyErr_FormatUnraisable(warnmsg);
 2436|      0|        return NULL;
 2437|      0|    }
 2438|       |
 2439|    525|    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|    525|    PyObject *value;
 2448|    525|    Py_ssize_t ix; (void)ix;
 2449|       |
 2450|    525|    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|    525|    ix = _Py_dict_lookup(mp, key, hash, &value);
 2456|    525|#endif
 2457|       |
 2458|       |    /* Ignore any exception raised by the lookup */
 2459|    525|    PyObject *exc2 = _PyErr_Occurred(tstate);
 2460|    525|    if (exc2 && !PyErr_GivenExceptionMatches(exc2, PyExc_KeyError)) {
  ------------------
  |  Branch (2460:9): [True: 0, False: 525]
  |  Branch (2460:17): [True: 0, False: 0]
  ------------------
 2461|      0|        PyErr_FormatUnraisable(warnmsg);
 2462|      0|    }
 2463|    525|    _PyErr_SetRaisedException(tstate, exc);
 2464|       |
 2465|    525|    assert(ix >= 0 || value == NULL);
  ------------------
  |  Branch (2465:5): [True: 519, False: 6]
  |  Branch (2465:5): [True: 6, False: 0]
  ------------------
 2466|    525|    return value;  // borrowed reference
 2467|    525|}
dictobject.c:setitem_take2_lock_held:
 2822|  4.35M|{
 2823|  4.35M|    Py_hash_t hash = _PyObject_HashDictKey(key);
 2824|  4.35M|    if (hash == -1) {
  ------------------
  |  Branch (2824:9): [True: 0, False: 4.35M]
  ------------------
 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.35M|    return setitem_take2_lock_held_known_hash(mp, key, value, hash);
 2832|  4.35M|}
dictobject.c:setitem_take2_lock_held_known_hash:
 2807|  4.35M|{
 2808|  4.35M|    assert(PyAnyDict_Check(mp));
  ------------------
  |  Branch (2808:5): [True: 4.35M, False: 0]
  |  Branch (2808:5): [True: 0, False: 0]
  ------------------
 2809|  4.35M|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2809:5): [True: 4.35M, False: 0]
  ------------------
 2810|  4.35M|    assert(key);
  ------------------
  |  Branch (2810:5): [True: 4.35M, False: 0]
  ------------------
 2811|  4.35M|    assert(value);
  ------------------
  |  Branch (2811:5): [True: 4.35M, False: 0]
  ------------------
 2812|       |
 2813|  4.35M|    if (mp->ma_keys == Py_EMPTY_KEYS) {
  ------------------
  |  |  660|  4.35M|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (2813:9): [True: 728k, False: 3.62M]
  ------------------
 2814|   728k|        return insert_to_emptydict(mp, key, hash, value);
 2815|   728k|    }
 2816|       |    /* insertdict() handles any resizing that might be necessary */
 2817|  3.62M|    return insertdict(mp, key, hash, value);
 2818|  4.35M|}
dictobject.c:setitem_lock_held:
 2892|  2.55M|{
 2893|  2.55M|    assert(key);
  ------------------
  |  Branch (2893:5): [True: 2.55M, False: 0]
  ------------------
 2894|  2.55M|    assert(value);
  ------------------
  |  Branch (2894:5): [True: 2.55M, False: 0]
  ------------------
 2895|  2.55M|    return setitem_take2_lock_held(mp,
 2896|  2.55M|                                   Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  550|  2.55M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                                 Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  550|  2.55M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2897|  2.55M|}
dictobject.c:insert_to_emptydict:
 2092|   738k|{
 2093|   738k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2093:5): [True: 738k, False: 0]
  ------------------
 2094|   738k|    assert(mp->ma_keys == Py_EMPTY_KEYS);
  ------------------
  |  Branch (2094:5): [True: 738k, False: 0]
  ------------------
 2095|       |
 2096|   738k|    int unicode = PyUnicode_CheckExact(key);
  ------------------
  |  |  104|   738k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   738k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   738k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   738k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2097|   738k|    PyDictKeysObject *newkeys = new_keys_object(PyDict_LOG_MINSIZE, unicode);
  ------------------
  |  |  115|   738k|#define PyDict_LOG_MINSIZE 3
  ------------------
 2098|   738k|    if (newkeys == NULL) {
  ------------------
  |  Branch (2098:9): [True: 0, False: 738k]
  ------------------
 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|   738k|    _PyDict_NotifyEvent(PyDict_EVENT_ADDED, mp, key, value);
 2104|       |
 2105|       |    /* We don't decref Py_EMPTY_KEYS here because it is immortal. */
 2106|   738k|    assert(mp->ma_values == NULL);
  ------------------
  |  Branch (2106:5): [True: 738k, False: 0]
  ------------------
 2107|       |
 2108|   738k|    size_t hashpos = (size_t)hash & (PyDict_MINSIZE-1);
  ------------------
  |  |  116|   738k|#define PyDict_MINSIZE 8
  ------------------
 2109|   738k|    dictkeys_set_index(newkeys, hashpos, 0);
 2110|   738k|    if (unicode) {
  ------------------
  |  Branch (2110:9): [True: 685k, False: 53.0k]
  ------------------
 2111|   685k|        PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(newkeys);
 2112|   685k|        ep->me_key = key;
 2113|   685k|        STORE_VALUE(ep, value);
  ------------------
  |  |  331|   685k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|   685k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2114|   685k|    }
 2115|  53.0k|    else {
 2116|  53.0k|        PyDictKeyEntry *ep = DK_ENTRIES(newkeys);
 2117|  53.0k|        ep->me_key = key;
 2118|  53.0k|        ep->me_hash = hash;
 2119|  53.0k|        STORE_VALUE(ep, value);
  ------------------
  |  |  331|  53.0k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|  53.0k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2120|  53.0k|    }
 2121|   738k|    STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  336|   738k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|   738k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2122|   738k|    newkeys->dk_usable--;
 2123|   738k|    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|   738k|    FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_keys, newkeys);
  ------------------
  |  |  164|   738k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 2130|   738k|    return 0;
 2131|   738k|}
dictobject.c:dictkeys_set_index:
  553|  7.54M|{
  554|  7.54M|    int log2size = DK_LOG_SIZE(keys);
  ------------------
  |  |  272|  7.54M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  277|  7.54M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  555|       |
  556|  7.54M|    assert(ix >= DKIX_DUMMY);
  ------------------
  |  Branch (556:5): [True: 7.54M, False: 0]
  ------------------
  557|  7.54M|    assert(keys->dk_version == 0);
  ------------------
  |  Branch (557:5): [True: 7.54M, False: 0]
  ------------------
  558|       |
  559|  7.54M|    if (log2size < 8) {
  ------------------
  |  Branch (559:9): [True: 6.90M, False: 643k]
  ------------------
  560|  6.90M|        assert(ix <= 0x7f);
  ------------------
  |  Branch (560:9): [True: 6.90M, False: 0]
  ------------------
  561|  6.90M|        STORE_INDEX(keys, 8, i, ix);
  ------------------
  |  |  272|  6.90M|#define STORE_INDEX(keys, size, idx, value) ((int##size##_t*)(keys->dk_indices))[idx] = (int##size##_t)value
  ------------------
  562|  6.90M|    }
  563|   643k|    else if (log2size < 16) {
  ------------------
  |  Branch (563:14): [True: 599k, False: 44.3k]
  ------------------
  564|   599k|        assert(ix <= 0x7fff);
  ------------------
  |  Branch (564:9): [True: 599k, False: 0]
  ------------------
  565|   599k|        STORE_INDEX(keys, 16, i, ix);
  ------------------
  |  |  272|   599k|#define STORE_INDEX(keys, size, idx, value) ((int##size##_t*)(keys->dk_indices))[idx] = (int##size##_t)value
  ------------------
  566|   599k|    }
  567|  44.3k|#if SIZEOF_VOID_P > 4
  568|  44.3k|    else if (log2size >= 32) {
  ------------------
  |  Branch (568:14): [True: 0, False: 44.3k]
  ------------------
  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|  44.3k|#endif
  572|  44.3k|    else {
  573|  44.3k|        assert(ix <= 0x7fffffff);
  ------------------
  |  Branch (573:9): [True: 44.3k, False: 0]
  ------------------
  574|  44.3k|        STORE_INDEX(keys, 32, i, ix);
  ------------------
  |  |  272|  44.3k|#define STORE_INDEX(keys, size, idx, value) ((int##size##_t*)(keys->dk_indices))[idx] = (int##size##_t)value
  ------------------
  575|  44.3k|    }
  576|  7.54M|}
dictobject.c:insertdict:
 2021|  3.63M|{
 2022|  3.63M|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2022:5): [True: 3.63M, False: 0]
  ------------------
 2023|       |
 2024|  3.63M|    PyObject *old_value = NULL;
 2025|  3.63M|    Py_ssize_t ix;
 2026|       |
 2027|  3.63M|    if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |   56|  7.27M|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 1.30k, False: 3.63M]
  |  |  ------------------
  ------------------
                  if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|  1.30k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  1.30k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.30k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2028|  1.30k|        ix = insert_split_key(mp->ma_keys, key, hash);
 2029|  1.30k|        if (ix != DKIX_EMPTY) {
  ------------------
  |  |  185|  1.30k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2029:13): [True: 1.30k, False: 0]
  ------------------
 2030|  1.30k|            _PyDict_InsertSplitValue(mp, key, value, ix);
 2031|  1.30k|            Py_DECREF(key);
  ------------------
  |  |  430|  1.30k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2032|  1.30k|            Py_DECREF(value);
  ------------------
  |  |  430|  1.30k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2033|  1.30k|            return 0;
 2034|  1.30k|        }
 2035|       |        // No space in shared keys. Go to insert_combined_dict() below.
 2036|  1.30k|    }
 2037|  3.63M|    else {
 2038|  3.63M|        ix = _Py_dict_lookup(mp, key, hash, &old_value);
 2039|  3.63M|        if (ix == DKIX_ERROR)
  ------------------
  |  |  187|  3.63M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2039:13): [True: 0, False: 3.63M]
  ------------------
 2040|      0|            goto Fail;
 2041|  3.63M|    }
 2042|       |
 2043|  3.63M|    if (old_value == NULL) {
  ------------------
  |  Branch (2043:9): [True: 3.08M, False: 553k]
  ------------------
 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|  3.08M|        if (insert_combined_dict(mp, hash, key, value) < 0) {
  ------------------
  |  Branch (2051:13): [True: 0, False: 3.08M]
  ------------------
 2052|      0|            goto Fail;
 2053|      0|        }
 2054|  3.08M|        STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  336|  3.08M|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|  3.08M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2055|  3.08M|        ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  3.08M|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2055:9): [True: 3.08M, False: 0]
  ------------------
 2056|  3.08M|        return 0;
 2057|  3.08M|    }
 2058|       |
 2059|   553k|    if (old_value != value) {
  ------------------
  |  Branch (2059:9): [True: 288k, False: 264k]
  ------------------
 2060|   288k|        _PyDict_NotifyEvent(PyDict_EVENT_MODIFIED, mp, key, value);
 2061|   288k|        assert(old_value != NULL);
  ------------------
  |  Branch (2061:9): [True: 288k, False: 0]
  ------------------
 2062|   288k|        if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  294|   288k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 287k, False: 1.67k]
  |  |  ------------------
  ------------------
 2063|   287k|            if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|   287k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 287k]
  |  |  ------------------
  ------------------
 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|   287k|            else {
 2067|   287k|                PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(mp->ma_keys)[ix];
 2068|   287k|                STORE_VALUE(ep, value);
  ------------------
  |  |  331|   287k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|   287k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2069|   287k|            }
 2070|   287k|        }
 2071|  1.67k|        else {
 2072|  1.67k|            PyDictKeyEntry *ep = &DK_ENTRIES(mp->ma_keys)[ix];
 2073|  1.67k|            STORE_VALUE(ep, value);
  ------------------
  |  |  331|  1.67k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|  1.67k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2074|  1.67k|        }
 2075|   288k|    }
 2076|   553k|    Py_XDECREF(old_value); /* which **CAN** re-enter (see issue #22653) */
  ------------------
  |  |  524|   553k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   553k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   553k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2077|   553k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|   553k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2077:5): [True: 553k, False: 0]
  ------------------
 2078|   553k|    Py_DECREF(key);
  ------------------
  |  |  430|   553k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   553k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   553k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2079|   553k|    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|   553k|}
dictobject.c:insert_combined_dict:
 1901|  3.55M|{
 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|  3.55M|    if (DK_IS_UNICODE(mp->ma_keys) && !PyUnicode_CheckExact(key)) {
  ------------------
  |  |  294|  7.10M|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 2.86M, False: 682k]
  |  |  ------------------
  ------------------
                  if (DK_IS_UNICODE(mp->ma_keys) && !PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|  2.86M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  2.86M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.86M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.86M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1904:39): [True: 22.1k, False: 2.84M]
  ------------------
 1905|  22.1k|        if (insertion_resize(mp, 0) < 0)
  ------------------
  |  Branch (1905:13): [True: 0, False: 22.1k]
  ------------------
 1906|      0|            return -1;
 1907|  22.1k|        assert(mp->ma_keys->dk_kind == DICT_KEYS_GENERAL);
  ------------------
  |  Branch (1907:9): [True: 22.1k, False: 0]
  ------------------
 1908|  22.1k|    }
 1909|       |
 1910|  3.55M|    if (mp->ma_keys->dk_usable <= 0) {
  ------------------
  |  Branch (1910:9): [True: 464k, False: 3.08M]
  ------------------
 1911|       |        /* Need to resize. */
 1912|   464k|        if (insertion_resize(mp, 1) < 0) {
  ------------------
  |  Branch (1912:13): [True: 0, False: 464k]
  ------------------
 1913|      0|            return -1;
 1914|      0|        }
 1915|   464k|    }
 1916|       |
 1917|  3.55M|    _PyDict_NotifyEvent(PyDict_EVENT_ADDED, mp, key, value);
 1918|  3.55M|    FT_ATOMIC_STORE_UINT32_RELAXED(mp->ma_keys->dk_version, 0);
  ------------------
  |  |  172|  3.55M|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 1919|       |
 1920|  3.55M|    Py_ssize_t hashpos = find_empty_slot(mp->ma_keys, hash);
 1921|  3.55M|    dictkeys_set_index(mp->ma_keys, hashpos, mp->ma_keys->dk_nentries);
 1922|       |
 1923|  3.55M|    if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  294|  3.55M|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 2.84M, False: 704k]
  |  |  ------------------
  ------------------
 1924|  2.84M|        PyDictUnicodeEntry *ep;
 1925|  2.84M|        ep = &DK_UNICODE_ENTRIES(mp->ma_keys)[mp->ma_keys->dk_nentries];
 1926|  2.84M|        STORE_KEY(ep, key);
  ------------------
  |  |  330|  2.84M|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  164|  2.84M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1927|  2.84M|        STORE_VALUE(ep, value);
  ------------------
  |  |  331|  2.84M|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|  2.84M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1928|  2.84M|    }
 1929|   704k|    else {
 1930|   704k|        PyDictKeyEntry *ep;
 1931|   704k|        ep = &DK_ENTRIES(mp->ma_keys)[mp->ma_keys->dk_nentries];
 1932|   704k|        STORE_KEY(ep, key);
  ------------------
  |  |  330|   704k|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  164|   704k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1933|   704k|        STORE_VALUE(ep, value);
  ------------------
  |  |  331|   704k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|   704k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1934|   704k|        STORE_HASH(ep, hash);
  ------------------
  |  |  333|   704k|#define STORE_HASH(ep, hash) FT_ATOMIC_STORE_SSIZE_RELAXED((ep)->me_hash, hash)
  |  |  ------------------
  |  |  |  |  194|   704k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1935|   704k|    }
 1936|  3.55M|    STORE_KEYS_USABLE(mp->ma_keys, mp->ma_keys->dk_usable - 1);
  ------------------
  |  |  334|  3.55M|#define STORE_KEYS_USABLE(keys, usable) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_usable, usable)
  |  |  ------------------
  |  |  |  |  194|  3.55M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1937|  3.55M|    STORE_KEYS_NENTRIES(mp->ma_keys, mp->ma_keys->dk_nentries + 1);
  ------------------
  |  |  335|  3.55M|#define STORE_KEYS_NENTRIES(keys, nentries) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_nentries, nentries)
  |  |  ------------------
  |  |  |  |  194|  3.55M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1938|  3.55M|    assert(mp->ma_keys->dk_usable >= 0);
  ------------------
  |  Branch (1938:5): [True: 3.55M, False: 0]
  ------------------
 1939|  3.55M|    return 0;
 1940|  3.55M|}
dictobject.c:insertion_resize:
 1894|   486k|{
 1895|   486k|    return dictresize(mp, calculate_log2_keysize(GROWTH_RATE(mp)), unicode);
  ------------------
  |  |  637|   486k|#define GROWTH_RATE(d) ((d)->ma_used*3)
  ------------------
 1896|   486k|}
dictobject.c:dictresize:
 2194|   486k|{
 2195|   486k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2195:5): [True: 486k, False: 0]
  ------------------
 2196|       |
 2197|   486k|    PyDictKeysObject *oldkeys, *newkeys;
 2198|   486k|    PyDictValues *oldvalues;
 2199|       |
 2200|   486k|    if (log2_newsize >= SIZEOF_SIZE_T*8) {
  ------------------
  |  | 1958|   486k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (2200:9): [True: 0, False: 486k]
  ------------------
 2201|      0|        PyErr_NoMemory();
 2202|      0|        return -1;
 2203|      0|    }
 2204|   486k|    assert(log2_newsize >= PyDict_LOG_MINSIZE);
  ------------------
  |  Branch (2204:5): [True: 486k, False: 0]
  ------------------
 2205|       |
 2206|   486k|    oldkeys = mp->ma_keys;
 2207|   486k|    oldvalues = mp->ma_values;
 2208|       |
 2209|   486k|    if (!DK_IS_UNICODE(oldkeys)) {
  ------------------
  |  |  294|   486k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  ------------------
  |  Branch (2209:9): [True: 43.9k, False: 442k]
  ------------------
 2210|  43.9k|        unicode = 0;
 2211|  43.9k|    }
 2212|       |
 2213|   486k|    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|   486k|    newkeys = new_keys_object(log2_newsize, unicode);
 2221|   486k|    if (newkeys == NULL) {
  ------------------
  |  Branch (2221:9): [True: 0, False: 486k]
  ------------------
 2222|      0|        return -1;
 2223|      0|    }
 2224|       |    // New table must be large enough.
 2225|   486k|    assert(newkeys->dk_usable >= mp->ma_used);
  ------------------
  |  Branch (2225:5): [True: 486k, False: 0]
  ------------------
 2226|       |
 2227|   486k|    Py_ssize_t numentries = mp->ma_used;
 2228|       |
 2229|   486k|    if (oldvalues != NULL) {
  ------------------
  |  Branch (2229:9): [True: 0, False: 486k]
  ------------------
 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|   486k|    else {  // oldkeys is combined.
 2275|   486k|        if (oldkeys->dk_kind == DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (2275:13): [True: 43.9k, False: 442k]
  ------------------
 2276|       |            // generic -> generic
 2277|  43.9k|            assert(newkeys->dk_kind == DICT_KEYS_GENERAL);
  ------------------
  |  Branch (2277:13): [True: 43.9k, False: 0]
  ------------------
 2278|  43.9k|            PyDictKeyEntry *oldentries = DK_ENTRIES(oldkeys);
 2279|  43.9k|            PyDictKeyEntry *newentries = DK_ENTRIES(newkeys);
 2280|  43.9k|            if (oldkeys->dk_nentries == numentries) {
  ------------------
  |  Branch (2280:17): [True: 43.9k, False: 72]
  ------------------
 2281|  43.9k|                memcpy(newentries, oldentries, numentries * sizeof(PyDictKeyEntry));
 2282|  43.9k|            }
 2283|     72|            else {
 2284|     72|                PyDictKeyEntry *ep = oldentries;
 2285|     72|                for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2285:40): [True: 0, False: 72]
  ------------------
 2286|      0|                    while (ep->me_value == NULL)
  ------------------
  |  Branch (2286:28): [True: 0, False: 0]
  ------------------
 2287|      0|                        ep++;
 2288|      0|                    newentries[i] = *ep++;
 2289|      0|                }
 2290|     72|            }
 2291|  43.9k|            build_indices_generic(newkeys, newentries, numentries);
 2292|  43.9k|        }
 2293|   442k|        else {  // oldkeys is combined unicode
 2294|   442k|            PyDictUnicodeEntry *oldentries = DK_UNICODE_ENTRIES(oldkeys);
 2295|   442k|            if (unicode) { // combined unicode -> combined unicode
  ------------------
  |  Branch (2295:17): [True: 420k, False: 22.1k]
  ------------------
 2296|   420k|                PyDictUnicodeEntry *newentries = DK_UNICODE_ENTRIES(newkeys);
 2297|   420k|                if (oldkeys->dk_nentries == numentries && mp->ma_keys->dk_kind == DICT_KEYS_UNICODE) {
  ------------------
  |  Branch (2297:21): [True: 420k, False: 258]
  |  Branch (2297:59): [True: 420k, False: 0]
  ------------------
 2298|   420k|                    memcpy(newentries, oldentries, numentries * sizeof(PyDictUnicodeEntry));
 2299|   420k|                }
 2300|    258|                else {
 2301|    258|                    PyDictUnicodeEntry *ep = oldentries;
 2302|  32.5k|                    for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2302:44): [True: 32.3k, False: 258]
  ------------------
 2303|  40.2k|                        while (ep->me_value == NULL)
  ------------------
  |  Branch (2303:32): [True: 7.98k, False: 32.3k]
  ------------------
 2304|  7.98k|                            ep++;
 2305|  32.3k|                        newentries[i] = *ep++;
 2306|  32.3k|                    }
 2307|    258|                }
 2308|   420k|                build_indices_unicode(newkeys, newentries, numentries);
 2309|   420k|            }
 2310|  22.1k|            else { // combined unicode -> generic
 2311|  22.1k|                PyDictKeyEntry *newentries = DK_ENTRIES(newkeys);
 2312|  22.1k|                PyDictUnicodeEntry *ep = oldentries;
 2313|  52.3k|                for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2313:40): [True: 30.2k, False: 22.1k]
  ------------------
 2314|  30.2k|                    while (ep->me_value == NULL)
  ------------------
  |  Branch (2314:28): [True: 0, False: 30.2k]
  ------------------
 2315|      0|                        ep++;
 2316|  30.2k|                    newentries[i].me_key = ep->me_key;
 2317|  30.2k|                    newentries[i].me_hash = unicode_get_hash(ep->me_key);
 2318|  30.2k|                    newentries[i].me_value = ep->me_value;
 2319|  30.2k|                    ep++;
 2320|  30.2k|                }
 2321|  22.1k|                build_indices_generic(newkeys, newentries, numentries);
 2322|  22.1k|            }
 2323|   442k|        }
 2324|       |
 2325|   486k|        set_keys(mp, newkeys);
 2326|       |
 2327|   486k|        if (oldkeys != Py_EMPTY_KEYS) {
  ------------------
  |  |  660|   486k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (2327:13): [True: 486k, False: 0]
  ------------------
 2328|       |#ifdef Py_REF_DEBUG
 2329|       |            _Py_DecRefTotal(_PyThreadState_GET());
 2330|       |#endif
 2331|   486k|            assert(oldkeys->dk_kind != DICT_KEYS_SPLIT);
  ------------------
  |  Branch (2331:13): [True: 486k, False: 0]
  ------------------
 2332|   486k|            assert(oldkeys->dk_refcnt == 1);
  ------------------
  |  Branch (2332:13): [True: 486k, False: 0]
  ------------------
 2333|   486k|            free_keys_object(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  269|   486k|#define IS_DICT_SHARED(mp) (false)
  ------------------
 2334|   486k|        }
 2335|   486k|    }
 2336|       |
 2337|   486k|    STORE_KEYS_USABLE(mp->ma_keys, mp->ma_keys->dk_usable - numentries);
  ------------------
  |  |  334|   486k|#define STORE_KEYS_USABLE(keys, usable) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_usable, usable)
  |  |  ------------------
  |  |  |  |  194|   486k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2338|   486k|    STORE_KEYS_NENTRIES(mp->ma_keys, numentries);
  ------------------
  |  |  335|   486k|#define STORE_KEYS_NENTRIES(keys, nentries) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_nentries, nentries)
  |  |  ------------------
  |  |  |  |  194|   486k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2339|   486k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|   486k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2339:5): [True: 486k, False: 0]
  ------------------
 2340|   486k|    return 0;
 2341|   486k|}
dictobject.c:ensure_shared_on_resize:
 1450|   486k|{
 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|   486k|}
dictobject.c:build_indices_generic:
 2138|  66.1k|{
 2139|  66.1k|    size_t mask = DK_MASK(keys);
  ------------------
  |  |  467|  66.1k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  274|  66.1k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  272|  66.1k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  277|  66.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2140|   881k|    for (Py_ssize_t ix = 0; ix != n; ix++, ep++) {
  ------------------
  |  Branch (2140:29): [True: 815k, False: 66.1k]
  ------------------
 2141|   815k|        Py_hash_t hash = ep->me_hash;
 2142|   815k|        size_t i = hash & mask;
 2143|  1.04M|        for (size_t perturb = hash; dictkeys_get_index(keys, i) != DKIX_EMPTY;) {
  ------------------
  |  |  185|  1.04M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2143:37): [True: 225k, False: 815k]
  ------------------
 2144|   225k|            perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|   225k|#define PERTURB_SHIFT 5
  ------------------
 2145|   225k|            i = mask & (i*5 + perturb + 1);
 2146|   225k|        }
 2147|   815k|        dictkeys_set_index(keys, i, ix);
 2148|   815k|    }
 2149|  66.1k|}
dictobject.c:build_indices_unicode:
 2153|   420k|{
 2154|   420k|    size_t mask = DK_MASK(keys);
  ------------------
  |  |  467|   420k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  274|   420k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  272|   420k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  277|   420k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2155|  2.84M|    for (Py_ssize_t ix = 0; ix != n; ix++, ep++) {
  ------------------
  |  Branch (2155:29): [True: 2.42M, False: 420k]
  ------------------
 2156|  2.42M|        Py_hash_t hash = unicode_get_hash(ep->me_key);
 2157|  2.42M|        assert(hash != -1);
  ------------------
  |  Branch (2157:9): [True: 2.42M, False: 0]
  ------------------
 2158|  2.42M|        size_t i = hash & mask;
 2159|  2.80M|        for (size_t perturb = hash; dictkeys_get_index(keys, i) != DKIX_EMPTY;) {
  ------------------
  |  |  185|  2.80M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2159:37): [True: 377k, False: 2.42M]
  ------------------
 2160|   377k|            perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|   377k|#define PERTURB_SHIFT 5
  ------------------
 2161|   377k|            i = mask & (i*5 + perturb + 1);
 2162|   377k|        }
 2163|  2.42M|        dictkeys_set_index(keys, i, ix);
 2164|  2.42M|    }
 2165|   420k|}
dictobject.c:free_keys_object:
  876|  1.22M|{
  877|  1.22M|    void *ptr = keys;
  878|       |#ifdef Py_GIL_DISABLED
  879|       |    size_t size = _PyDict_KeysSize(keys);
  880|       |#endif
  881|  1.22M|    if (keys->dk_kind == DICT_KEYS_SPLIT) {
  ------------------
  |  Branch (881:9): [True: 4, False: 1.22M]
  ------------------
  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.22M|    if (DK_LOG_SIZE(keys) == PyDict_LOG_MINSIZE && keys->dk_kind == DICT_KEYS_UNICODE) {
  ------------------
  |  |  272|  1.22M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  277|  1.22M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                  if (DK_LOG_SIZE(keys) == PyDict_LOG_MINSIZE && keys->dk_kind == DICT_KEYS_UNICODE) {
  ------------------
  |  |  115|  2.44M|#define PyDict_LOG_MINSIZE 3
  ------------------
  |  Branch (893:9): [True: 759k, False: 465k]
  |  Branch (893:52): [True: 685k, False: 74.2k]
  ------------------
  894|   685k|        _Py_FREELIST_FREE(dictkeys, keys, PyMem_Free);
  ------------------
  |  |   35|   685k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|   685k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   685k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|   685k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   17|   685k|#  define Py_dictkeys_MAXFREELIST 80
  |  |  ------------------
  ------------------
  895|   685k|    }
  896|   539k|    else {
  897|   539k|        PyMem_Free(ptr);
  898|   539k|    }
  899|  1.22M|}
dictobject.c:find_empty_slot:
 1878|  3.55M|{
 1879|  3.55M|    assert(keys != NULL);
  ------------------
  |  Branch (1879:5): [True: 3.55M, False: 0]
  ------------------
 1880|       |
 1881|  3.55M|    const size_t mask = DK_MASK(keys);
  ------------------
  |  |  467|  3.55M|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  274|  3.55M|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  272|  3.55M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  277|  3.55M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1882|  3.55M|    size_t i = hash & mask;
 1883|  3.55M|    Py_ssize_t ix = dictkeys_get_index(keys, i);
 1884|  6.24M|    for (size_t perturb = hash; is_unusable_slot(ix);) {
  ------------------
  |  Branch (1884:33): [True: 2.69M, False: 3.55M]
  ------------------
 1885|  2.69M|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|  2.69M|#define PERTURB_SHIFT 5
  ------------------
 1886|  2.69M|        i = (i*5 + perturb + 1) & mask;
 1887|  2.69M|        ix = dictkeys_get_index(keys, i);
 1888|  2.69M|    }
 1889|  3.55M|    return i;
 1890|  3.55M|}
dictobject.c:is_unusable_slot:
 1865|  6.24M|{
 1866|       |#ifdef Py_GIL_DISABLED
 1867|       |    return ix >= 0 || ix == DKIX_DUMMY;
 1868|       |#else
 1869|  6.24M|    return ix >= 0;
 1870|  6.24M|#endif
 1871|  6.24M|}
dictobject.c:delitem_common:
 2957|  17.6k|{
 2958|  17.6k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (2958:5): [True: 17.6k, False: 0]
  ------------------
 2959|       |
 2960|  17.6k|    PyObject *old_key;
 2961|       |
 2962|  17.6k|    Py_ssize_t hashpos = lookdict_index(mp->ma_keys, hash, ix);
 2963|  17.6k|    assert(hashpos >= 0);
  ------------------
  |  Branch (2963:5): [True: 17.6k, False: 0]
  ------------------
 2964|       |
 2965|  17.6k|    STORE_USED(mp, mp->ma_used - 1);
  ------------------
  |  |  336|  17.6k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|  17.6k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2966|  17.6k|    if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|  17.6k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 17.6k]
  |  |  ------------------
  ------------------
 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|  17.6k|    else {
 2975|  17.6k|        FT_ATOMIC_STORE_UINT32_RELAXED(mp->ma_keys->dk_version, 0);
  ------------------
  |  |  172|  17.6k|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 2976|  17.6k|        dictkeys_set_index(mp->ma_keys, hashpos, DKIX_DUMMY);
  ------------------
  |  |  186|  17.6k|#define DKIX_DUMMY (-2)  /* Used internally */
  ------------------
 2977|  17.6k|        if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  294|  17.6k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 17.2k, False: 375]
  |  |  ------------------
  ------------------
 2978|  17.2k|            PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(mp->ma_keys)[ix];
 2979|  17.2k|            old_key = ep->me_key;
 2980|  17.2k|            STORE_KEY(ep, NULL);
  ------------------
  |  |  330|  17.2k|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  164|  17.2k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2981|  17.2k|            STORE_VALUE(ep, NULL);
  ------------------
  |  |  331|  17.2k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|  17.2k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2982|  17.2k|        }
 2983|    375|        else {
 2984|    375|            PyDictKeyEntry *ep = &DK_ENTRIES(mp->ma_keys)[ix];
 2985|    375|            old_key = ep->me_key;
 2986|    375|            STORE_KEY(ep, NULL);
  ------------------
  |  |  330|    375|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  164|    375|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2987|    375|            STORE_VALUE(ep, NULL);
  ------------------
  |  |  331|    375|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  164|    375|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2988|    375|            STORE_HASH(ep, 0);
  ------------------
  |  |  333|    375|#define STORE_HASH(ep, hash) FT_ATOMIC_STORE_SSIZE_RELAXED((ep)->me_hash, hash)
  |  |  ------------------
  |  |  |  |  194|    375|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2989|    375|        }
 2990|  17.6k|        Py_DECREF(old_key);
  ------------------
  |  |  430|  17.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2991|  17.6k|    }
 2992|  17.6k|    Py_DECREF(old_value);
  ------------------
  |  |  430|  17.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2993|       |
 2994|       |    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  17.6k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (2994:5): [True: 17.6k, False: 0]
  ------------------
 2995|  17.6k|}
dictobject.c:lookdict_index:
 1093|  17.6k|{
 1094|  17.6k|    size_t mask = DK_MASK(k);
  ------------------
  |  |  467|  17.6k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  274|  17.6k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  272|  17.6k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  277|  17.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1095|  17.6k|    size_t perturb = (size_t)hash;
 1096|  17.6k|    size_t i = (size_t)hash & mask;
 1097|       |
 1098|  22.5k|    for (;;) {
 1099|  22.5k|        Py_ssize_t ix = dictkeys_get_index(k, i);
 1100|  22.5k|        if (ix == index) {
  ------------------
  |  Branch (1100:13): [True: 17.6k, False: 4.97k]
  ------------------
 1101|  17.6k|            return i;
 1102|  17.6k|        }
 1103|  4.97k|        if (ix == DKIX_EMPTY) {
  ------------------
  |  |  185|  4.97k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1103:13): [True: 0, False: 4.97k]
  ------------------
 1104|      0|            return DKIX_EMPTY;
  ------------------
  |  |  185|      0|#define DKIX_EMPTY (-1)
  ------------------
 1105|      0|        }
 1106|  4.97k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  338|  4.97k|#define PERTURB_SHIFT 5
  ------------------
 1107|  4.97k|        i = mask & (i*5 + perturb + 1);
 1108|  4.97k|    }
 1109|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1110|  17.6k|}
dictobject.c:delitemif_lock_held:
 3057|    367|{
 3058|    367|    PyDictObject *mp = _PyAnyDict_CAST(op);
  ------------------
  |  |  326|    367|    (assert(PyAnyDict_Check(op)), _Py_CAST(PyDictObject*, op))
  |  |  ------------------
  |  |  |  |   37|    367|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (3058:24): [True: 367, False: 0]
  |  Branch (3058:24): [True: 0, False: 0]
  ------------------
 3059|    367|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3059:5): [True: 367, False: 0]
  ------------------
 3060|       |
 3061|    367|    Py_ssize_t ix;
 3062|    367|    Py_hash_t hash;
 3063|    367|    PyObject *old_value;
 3064|    367|    int res;
 3065|       |
 3066|    367|    assert(key);
  ------------------
  |  Branch (3066:5): [True: 367, False: 0]
  ------------------
 3067|    367|    hash = PyObject_Hash(key);
 3068|    367|    if (hash == -1)
  ------------------
  |  Branch (3068:9): [True: 0, False: 367]
  ------------------
 3069|      0|        return -1;
 3070|    367|    ix = _Py_dict_lookup(mp, key, hash, &old_value);
 3071|    367|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|    367|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3071:9): [True: 0, False: 367]
  ------------------
 3072|      0|        return -1;
 3073|      0|    }
 3074|    367|    if (ix == DKIX_EMPTY || old_value == NULL) {
  ------------------
  |  |  185|    734|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3074:9): [True: 0, False: 367]
  |  Branch (3074:29): [True: 0, False: 367]
  ------------------
 3075|      0|        return 0;
 3076|      0|    }
 3077|       |
 3078|    367|    res = predicate(old_value, arg);
 3079|    367|    if (res == -1)
  ------------------
  |  Branch (3079:9): [True: 0, False: 367]
  ------------------
 3080|      0|        return -1;
 3081|       |
 3082|    367|    if (res > 0) {
  ------------------
  |  Branch (3082:9): [True: 367, False: 0]
  ------------------
 3083|    367|        _PyDict_NotifyEvent(PyDict_EVENT_DELETED, mp, key, NULL);
 3084|    367|        delitem_common(mp, hash, ix, old_value);
 3085|    367|        return 1;
 3086|    367|    } else {
 3087|      0|        return 0;
 3088|      0|    }
 3089|    367|}
dictobject.c:clear_lock_held:
 3125|     20|{
 3126|     20|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|     20|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     20|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3126:9): [True: 0, False: 20]
  ------------------
 3127|      0|        return;
 3128|      0|    }
 3129|     20|    PyDictObject *mp = (PyDictObject *)op;
 3130|     20|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (3130:5): [True: 20, False: 0]
  ------------------
 3131|       |
 3132|     20|    PyDictKeysObject *oldkeys;
 3133|     20|    PyDictValues *oldvalues;
 3134|     20|    Py_ssize_t i, n;
 3135|       |
 3136|     20|    oldkeys = mp->ma_keys;
 3137|     20|    oldvalues = mp->ma_values;
 3138|     20|    if (oldkeys == Py_EMPTY_KEYS) {
  ------------------
  |  |  660|     20|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (3138:9): [True: 8, False: 12]
  ------------------
 3139|      8|        return;
 3140|      8|    }
 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|  64.4k|{
 3323|  64.4k|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|  64.4k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  64.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3323:9): [True: 0, False: 64.4k]
  ------------------
 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|  64.4k|    PyDictObject *dict = (PyDictObject *)op;
 3336|  64.4k|    assert(can_modify_dict(dict));
  ------------------
  |  Branch (3336:5): [True: 64.4k, False: 0]
  ------------------
 3337|       |
 3338|  64.4k|    if (dict->ma_used == 0) {
  ------------------
  |  Branch (3338:9): [True: 48.4k, False: 16.0k]
  ------------------
 3339|  48.4k|        if (result) {
  ------------------
  |  Branch (3339:13): [True: 48.4k, False: 0]
  ------------------
 3340|  48.4k|            *result = NULL;
 3341|  48.4k|        }
 3342|  48.4k|        return 0;
 3343|  48.4k|    }
 3344|       |
 3345|  16.0k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 3346|  16.0k|    if (hash == -1) {
  ------------------
  |  Branch (3346:9): [True: 0, False: 16.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|  16.0k|    return _PyDict_Pop_KnownHash(dict, key, hash, result);
 3354|  16.0k|}
dictobject.c:dict_pop_default:
 3387|  48.6k|{
 3388|  48.6k|    PyObject *result;
 3389|  48.6k|    if (PyDict_Pop(dict, key, &result) == 0) {
  ------------------
  |  Branch (3389:9): [True: 48.4k, False: 169]
  ------------------
 3390|  48.4k|        if (default_value != NULL) {
  ------------------
  |  Branch (3390:13): [True: 48.4k, False: 0]
  ------------------
 3391|  48.4k|            return Py_NewRef(default_value);
  ------------------
  |  |  550|  48.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3392|  48.4k|        }
 3393|      0|        _PyErr_SetKeyError(key);
 3394|      0|        return NULL;
 3395|  48.4k|    }
 3396|    169|    return result;
 3397|  48.6k|}
dictobject.c:keys_lock_held:
 3856|   106k|{
 3857|   106k|    ASSERT_DICT_LOCKED(dict);
 3858|       |
 3859|   106k|    if (dict == NULL || !PyAnyDict_Check(dict)) {
  ------------------
  |  |   43|   106k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|   106k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   213k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 106k, 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: 106k]
  ------------------
 3860|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3861|      0|        return NULL;
 3862|      0|    }
 3863|   106k|    PyDictObject *mp = (PyDictObject *)dict;
 3864|   106k|    PyObject *v;
 3865|   106k|    Py_ssize_t n;
 3866|       |
 3867|   106k|  again:
 3868|   106k|    n = mp->ma_used;
 3869|   106k|    v = PyList_New(n);
 3870|   106k|    if (v == NULL)
  ------------------
  |  Branch (3870:9): [True: 0, False: 106k]
  ------------------
 3871|      0|        return NULL;
 3872|   106k|    if (n != mp->ma_used) {
  ------------------
  |  Branch (3872:9): [True: 0, False: 106k]
  ------------------
 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|   106k|    Py_ssize_t j = 0, pos = 0;
 3882|   106k|    PyObject *key;
 3883|   579k|    while (_PyDict_Next((PyObject*)mp, &pos, &key, NULL, NULL)) {
  ------------------
  |  Branch (3883:12): [True: 472k, False: 106k]
  ------------------
 3884|   472k|        assert(j < n);
  ------------------
  |  Branch (3884:9): [True: 472k, False: 0]
  ------------------
 3885|   472k|        PyList_SET_ITEM(v, j, Py_NewRef(key));
  ------------------
  |  |   50|   472k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   472k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   472k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   472k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   472k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3886|   472k|        j++;
 3887|   472k|    }
 3888|   106k|    assert(j == n);
  ------------------
  |  Branch (3888:5): [True: 106k, False: 0]
  ------------------
 3889|   106k|    return v;
 3890|   106k|}
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|  1.21k|{
 4302|  1.21k|    assert(a != NULL);
  ------------------
  |  Branch (4302:5): [True: 1.21k, False: 0]
  ------------------
 4303|  1.21k|    assert(b != NULL);
  ------------------
  |  Branch (4303:5): [True: 1.21k, False: 0]
  ------------------
 4304|  1.21k|    assert(0 <= override && override <= 2);
  ------------------
  |  Branch (4304:5): [True: 1.21k, False: 0]
  |  Branch (4304:5): [True: 1.21k, False: 0]
  ------------------
 4305|       |
 4306|  1.21k|    PyDictObject *mp = _PyAnyDict_CAST(a);
  ------------------
  |  |  326|  1.21k|    (assert(PyAnyDict_Check(op)), _Py_CAST(PyDictObject*, op))
  |  |  ------------------
  |  |  |  |   37|  1.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (4306:24): [True: 1.21k, False: 1]
  |  Branch (4306:24): [True: 1, False: 0]
  ------------------
 4307|       |
 4308|      0|    int res = 0;
 4309|  1.21k|    if (PyAnyDict_Check(b) && (Py_TYPE(b)->tp_iter == dict_iter)) {
  ------------------
  |  |   43|  2.42k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  1.21k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  2.42k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 1.20k, 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|  1.20k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4309:31): [True: 1.20k, False: 0]
  ------------------
 4310|  1.20k|        PyDictObject *other = (PyDictObject*)b;
 4311|  1.20k|        int res;
 4312|  1.20k|        Py_BEGIN_CRITICAL_SECTION2(a, b);
  ------------------
  |  |   57|  1.20k|    {
  ------------------
 4313|  1.20k|        assert(can_modify_dict(mp));
  ------------------
  |  Branch (4313:9): [True: 1.20k, False: 0]
  ------------------
 4314|  1.20k|        res = dict_dict_merge((PyDictObject *)a, other, override, dupkey);
 4315|  1.20k|        ASSERT_CONSISTENT(a);
  ------------------
  |  |  668|  1.20k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4315:9): [True: 1.20k, False: 0]
  ------------------
 4316|  1.20k|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|  1.20k|    }
  ------------------
 4317|  1.20k|        return res;
 4318|  1.20k|    }
 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|  1.21k|}
dictobject.c:dict_dict_merge:
 4212|  1.20k|{
 4213|  1.20k|    assert(can_modify_dict(mp));
  ------------------
  |  Branch (4213:5): [True: 1.20k, False: 0]
  ------------------
 4214|  1.20k|    ASSERT_DICT_LOCKED(other);
 4215|       |
 4216|  1.20k|    if (other == mp || other->ma_used == 0)
  ------------------
  |  Branch (4216:9): [True: 0, False: 1.20k]
  |  Branch (4216:24): [True: 716, False: 489]
  ------------------
 4217|       |        /* a.update(a) or a.update({}); nothing to do */
 4218|    716|        return 0;
 4219|    489|    if (mp->ma_used == 0) {
  ------------------
  |  Branch (4219:9): [True: 41, False: 448]
  ------------------
 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|    448|    if (USABLE_FRACTION(DK_SIZE(mp->ma_keys)) < other->ma_used) {
  ------------------
  |  |  590|    448|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (4251:9): [True: 1, False: 447]
  ------------------
 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|    448|    Py_ssize_t orig_size = other->ma_used;
 4260|    448|    Py_ssize_t pos = 0;
 4261|    448|    Py_hash_t hash;
 4262|    448|    PyObject *key, *value;
 4263|       |
 4264|  9.23k|    while (_PyDict_Next((PyObject*)other, &pos, &key, &value, &hash)) {
  ------------------
  |  Branch (4264:12): [True: 8.78k, False: 448]
  ------------------
 4265|  8.78k|        int err = 0;
 4266|  8.78k|        Py_INCREF(key);
  ------------------
  |  |  310|  8.78k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4267|  8.78k|        Py_INCREF(value);
  ------------------
  |  |  310|  8.78k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4268|  8.78k|        if (override == 1) {
  ------------------
  |  Branch (4268:13): [True: 8.78k, False: 0]
  ------------------
 4269|  8.78k|            err = insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  550|  8.78k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          err = insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  550|  8.78k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4270|  8.78k|        }
 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|  8.78k|        Py_DECREF(value);
  ------------------
  |  |  430|  8.78k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4286|  8.78k|        Py_DECREF(key);
  ------------------
  |  |  430|  8.78k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4287|  8.78k|        if (err != 0)
  ------------------
  |  Branch (4287:13): [True: 0, False: 8.78k]
  ------------------
 4288|      0|            return -1;
 4289|       |
 4290|  8.78k|        if (orig_size != other->ma_used) {
  ------------------
  |  Branch (4290:13): [True: 0, False: 8.78k]
  ------------------
 4291|      0|            PyErr_SetString(PyExc_RuntimeError,
 4292|      0|                    "dict mutated during update");
 4293|      0|            return -1;
 4294|      0|        }
 4295|  8.78k|    }
 4296|    448|    return 0;
 4297|    448|}
dictobject.c:clone_combined_dict_keys:
 1024|  1.58k|{
 1025|  1.58k|    assert(PyAnyDict_Check(orig));
  ------------------
  |  Branch (1025:5): [True: 1.58k, False: 0]
  |  Branch (1025:5): [True: 0, False: 0]
  ------------------
 1026|  1.58k|    assert(Py_TYPE(orig)->tp_iter == dict_iter);
  ------------------
  |  Branch (1026:5): [True: 1.58k, False: 0]
  ------------------
 1027|  1.58k|    assert(orig->ma_values == NULL);
  ------------------
  |  Branch (1027:5): [True: 1.58k, False: 0]
  ------------------
 1028|  1.58k|    assert(orig->ma_keys != Py_EMPTY_KEYS);
  ------------------
  |  Branch (1028:5): [True: 1.58k, False: 0]
  ------------------
 1029|  1.58k|    assert(orig->ma_keys->dk_refcnt == 1);
  ------------------
  |  Branch (1029:5): [True: 1.58k, False: 0]
  ------------------
 1030|       |
 1031|  1.58k|    if (!PyFrozenDict_Check(orig)) {
  ------------------
  |  |   37|  1.58k|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|  1.58k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1031:9): [True: 1.58k, False: 0]
  ------------------
 1032|  1.58k|        ASSERT_DICT_LOCKED(orig);
 1033|  1.58k|    }
 1034|       |
 1035|  1.58k|    size_t keys_size = _PyDict_KeysSize(orig->ma_keys);
 1036|  1.58k|    PyDictKeysObject *keys = PyMem_Malloc(keys_size);
 1037|  1.58k|    if (keys == NULL) {
  ------------------
  |  Branch (1037:9): [True: 0, False: 1.58k]
  ------------------
 1038|      0|        PyErr_NoMemory();
 1039|      0|        return NULL;
 1040|      0|    }
 1041|       |
 1042|  1.58k|    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|  1.58k|    PyObject **pkey, **pvalue;
 1048|  1.58k|    size_t offs;
 1049|  1.58k|    if (DK_IS_UNICODE(orig->ma_keys)) {
  ------------------
  |  |  294|  1.58k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 1.58k, False: 3]
  |  |  ------------------
  ------------------
 1050|  1.58k|        PyDictUnicodeEntry *ep0 = DK_UNICODE_ENTRIES(keys);
 1051|  1.58k|        pkey = &ep0->me_key;
 1052|  1.58k|        pvalue = &ep0->me_value;
 1053|  1.58k|        offs = sizeof(PyDictUnicodeEntry) / sizeof(PyObject*);
 1054|  1.58k|    }
 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|  1.58k|    Py_ssize_t n = keys->dk_nentries;
 1063|  14.5k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1063:28): [True: 12.9k, False: 1.58k]
  ------------------
 1064|  12.9k|        PyObject *value = *pvalue;
 1065|  12.9k|        if (value != NULL) {
  ------------------
  |  Branch (1065:13): [True: 12.0k, False: 931]
  ------------------
 1066|  12.0k|            Py_INCREF(value);
  ------------------
  |  |  310|  12.0k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1067|  12.0k|            Py_INCREF(*pkey);
  ------------------
  |  |  310|  12.0k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1068|  12.0k|        }
 1069|  12.9k|        pvalue += offs;
 1070|  12.9k|        pkey += offs;
 1071|  12.9k|    }
 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|  1.58k|    return keys;
 1081|  1.58k|}
dictobject.c:dict_merge_api:
 4399|  1.16k|{
 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|  1.16k|    if (a == NULL || !PyDict_Check(a) || b == NULL) {
  ------------------
  |  |   18|  1.16k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.33k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4405:9): [True: 0, False: 1.16k]
  |  Branch (4405:22): [True: 0, False: 1.16k]
  |  Branch (4405:42): [True: 0, False: 1.16k]
  ------------------
 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|  1.16k|    int res = dict_merge(a, b, override, dupkey);
 4416|  1.16k|    assert(_PyObject_GC_IS_TRACKED(a));
  ------------------
  |  Branch (4416:5): [True: 1.16k, False: 0]
  ------------------
 4417|  1.16k|    return res;
 4418|  1.16k|}
dictobject.c:copy_lock_held_untracked:
 4475|  1.54k|{
 4476|  1.54k|    PyObject *copy;
 4477|  1.54k|    PyDictObject *mp;
 4478|       |
 4479|       |    // frozendict is immutable and so doesn't need critical section
 4480|  1.54k|    if (!PyFrozenDict_Check(o)) {
  ------------------
  |  |   37|  1.54k|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|  1.54k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4480:9): [True: 1.54k, False: 0]
  ------------------
 4481|  1.54k|        ASSERT_DICT_LOCKED(o);
 4482|  1.54k|    }
 4483|       |
 4484|  1.54k|    mp = (PyDictObject *)o;
 4485|  1.54k|    if (mp->ma_used == 0) {
  ------------------
  |  Branch (4485:9): [True: 2, False: 1.54k]
  ------------------
 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|  1.54k|    if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|  1.54k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 1.54k]
  |  |  ------------------
  ------------------
 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|  1.54k|    if (Py_TYPE(mp)->tp_iter == dict_iter &&
  ------------------
  |  |  213|  1.54k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4531:9): [True: 1.54k, False: 0]
  ------------------
 4532|  1.54k|            mp->ma_values == NULL &&
  ------------------
  |  Branch (4532:13): [True: 1.54k, False: 0]
  ------------------
 4533|  1.54k|            (mp->ma_used >= (mp->ma_keys->dk_nentries * 2) / 3))
  ------------------
  |  Branch (4533:13): [True: 1.54k, False: 0]
  ------------------
 4534|  1.54k|    {
 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|  1.54k|        PyDictKeysObject *keys = clone_combined_dict_keys(mp);
 4550|  1.54k|        if (keys == NULL) {
  ------------------
  |  Branch (4550:13): [True: 0, False: 1.54k]
  ------------------
 4551|      0|            return NULL;
 4552|      0|        }
 4553|  1.54k|        PyDictObject *new;
 4554|  1.54k|        if (as_frozendict) {
  ------------------
  |  Branch (4554:13): [True: 0, False: 1.54k]
  ------------------
 4555|      0|            new = (PyDictObject *)new_frozendict_untracked(keys, NULL, 0, 0);
 4556|      0|        }
 4557|  1.54k|        else {
 4558|  1.54k|            new = (PyDictObject *)new_dict_untracked(keys, NULL, 0, 0);
 4559|  1.54k|        }
 4560|  1.54k|        if (new == NULL) {
  ------------------
  |  Branch (4560:13): [True: 0, False: 1.54k]
  ------------------
 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|  1.54k|        new->ma_used = mp->ma_used;
 4567|  1.54k|        ASSERT_CONSISTENT(new);
  ------------------
  |  |  668|  1.54k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4567:9): [True: 1.54k, False: 0]
  ------------------
 4568|  1.54k|        assert(!_PyObject_GC_IS_TRACKED(new));
  ------------------
  |  Branch (4568:9): [True: 1.54k, False: 0]
  ------------------
 4569|  1.54k|        return (PyObject *)new;
 4570|  1.54k|    }
 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|     41|{
 5380|     41|    assert(PyObject_IsSubclass((PyObject*)type, (PyObject*)&PyDict_Type));
  ------------------
  |  Branch (5380:5): [True: 41, False: 0]
  ------------------
 5381|       |
 5382|     41|    return anydict_new_untracked(type);
 5383|     41|}
dictobject.c:anydict_new_untracked:
 5356|     42|{
 5357|     42|    assert(type != NULL);
  ------------------
  |  Branch (5357:5): [True: 42, False: 0]
  ------------------
 5358|       |    // dict and frozendict subclasses must implement the GC protocol
 5359|     42|    assert(_PyType_IS_GC(type));
  ------------------
  |  Branch (5359:5): [True: 42, False: 0]
  ------------------
 5360|       |
 5361|     42|    PyObject *self = _PyType_AllocNoTrack(type, 0);
 5362|     42|    if (self == NULL) {
  ------------------
  |  Branch (5362:9): [True: 0, False: 42]
  ------------------
 5363|      0|        return NULL;
 5364|      0|    }
 5365|     42|    PyDictObject *d = (PyDictObject *)self;
 5366|       |
 5367|     42|    d->ma_used = 0;
 5368|     42|    d->_ma_watcher_tag = 0;
 5369|       |    // We don't inc ref empty keys because they're immortal
 5370|     42|    assert((Py_EMPTY_KEYS)->dk_refcnt == _Py_DICT_IMMORTAL_INITIAL_REFCNT);
  ------------------
  |  Branch (5370:5): [True: 42, False: 0]
  ------------------
 5371|     42|    d->ma_keys = Py_EMPTY_KEYS;
  ------------------
  |  |  660|     42|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 5372|     42|    d->ma_values = NULL;
 5373|     42|    ASSERT_CONSISTENT(d);
  ------------------
  |  |  668|     42|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (5373:5): [True: 42, False: 0]
  ------------------
 5374|     42|    return self;
 5375|     42|}
dictobject.c:new_values:
  915|    297|{
  916|    297|    size_t n = values_size_from_count(size);
  917|    297|    PyDictValues *res = (PyDictValues *)PyMem_Malloc(n);
  918|    297|    if (res == NULL) {
  ------------------
  |  Branch (918:9): [True: 0, False: 297]
  ------------------
  919|      0|        return NULL;
  920|      0|    }
  921|    297|    res->embedded = 0;
  922|    297|    res->size = 0;
  923|    297|    assert(size < 256);
  ------------------
  |  Branch (923:5): [True: 297, False: 0]
  ------------------
  924|    297|    res->capacity = (uint8_t)size;
  925|    297|    return res;
  926|    297|}
dictobject.c:values_size_from_count:
  903|    297|{
  904|    297|    assert(count >= 1);
  ------------------
  |  Branch (904:5): [True: 297, False: 0]
  ------------------
  905|    297|    size_t suffix_size = _Py_SIZE_ROUND_UP(count, sizeof(PyObject *));
  ------------------
  |  |  213|    297|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  214|    297|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
  906|    297|    assert(suffix_size < 128);
  ------------------
  |  Branch (906:5): [True: 297, False: 0]
  ------------------
  907|    297|    assert(suffix_size % sizeof(PyObject *) == 0);
  ------------------
  |  Branch (907:5): [True: 297, False: 0]
  ------------------
  908|    297|    return (count + 1) * sizeof(PyObject *) + suffix_size;
  909|    297|}
dictobject.c:dictkeys_incref:
  482|    297|{
  483|    297|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) < 0) {
  ------------------
  |  |  149|    297|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (483:9): [True: 0, False: 297]
  ------------------
  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|    297|    INCREF_KEYS(dk);
  ------------------
  |  |  262|    297|#define INCREF_KEYS(dk)  dk->dk_refcnt++
  ------------------
  491|    297|}
dictobject.c:new_dict_untracked:
  987|  1.54k|{
  988|  1.54k|    PyDictObject *mp = _Py_FREELIST_POP(PyDictObject, dicts);
  ------------------
  |  |   43|  1.54k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  1.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  989|  1.54k|    if (mp == NULL) {
  ------------------
  |  Branch (989:9): [True: 491, False: 1.05k]
  ------------------
  990|    491|        mp = PyObject_GC_New(PyDictObject, &PyDict_Type);
  ------------------
  |  |  181|    491|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    491|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  991|    491|    }
  992|  1.54k|    assert(mp == NULL || Py_IS_TYPE(mp, &PyDict_Type));
  ------------------
  |  Branch (992:5): [True: 0, False: 1.54k]
  |  Branch (992:5): [True: 1.54k, False: 0]
  ------------------
  993|       |
  994|  1.54k|    return new_dict_impl(mp, keys, values, used, free_values_on_failure, 0, 0);
  995|  1.54k|}
dictobject.c:dict_setdefault_ref_lock_held:
 4815|  2.31M|{
 4816|  2.31M|    if (!PyDict_Check(d)) {
  ------------------
  |  |   18|  2.31M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.31M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4816:9): [True: 0, False: 2.31M]
  ------------------
 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|  2.31M|    assert(can_modify_dict((PyDictObject*)d));
  ------------------
  |  Branch (4828:5): [True: 2.31M, False: 0]
  ------------------
 4829|       |
 4830|  2.31M|    PyDictObject *mp = (PyDictObject *)d;
 4831|  2.31M|    PyObject *value;
 4832|  2.31M|    Py_hash_t hash;
 4833|  2.31M|    Py_ssize_t ix;
 4834|       |
 4835|  2.31M|    hash = _PyObject_HashDictKey(key);
 4836|  2.31M|    if (hash == -1) {
  ------------------
  |  Branch (4836:9): [True: 0, False: 2.31M]
  ------------------
 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|  2.31M|    if (mp->ma_keys == Py_EMPTY_KEYS) {
  ------------------
  |  |  660|  2.31M|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (4844:9): [True: 10.3k, False: 2.30M]
  ------------------
 4845|  10.3k|        if (insert_to_emptydict(mp, Py_NewRef(key), hash,
  ------------------
  |  |  550|  10.3k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4845:13): [True: 0, False: 10.3k]
  ------------------
 4846|  10.3k|                                Py_NewRef(default_value)) < 0) {
  ------------------
  |  |  550|  10.3k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.3k|#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|  10.3k|        if (result) {
  ------------------
  |  Branch (4852:13): [True: 10.3k, False: 17]
  ------------------
 4853|  10.3k|            *result = incref_result ? Py_NewRef(default_value) : default_value;
  ------------------
  |  |  550|  10.3k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4853:23): [True: 10.3k, False: 0]
  ------------------
 4854|  10.3k|        }
 4855|  10.3k|        return 0;
 4856|  10.3k|    }
 4857|       |
 4858|  2.30M|    if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |   56|  4.60M|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 2.30M]
  |  |  ------------------
  ------------------
                  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|  2.30M|    else {
 4875|  2.30M|        ix = _Py_dict_lookup(mp, key, hash, &value);
 4876|  2.30M|        if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|  2.30M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (4876:13): [True: 0, False: 2.30M]
  ------------------
 4877|      0|            if (result) {
  ------------------
  |  Branch (4877:17): [True: 0, False: 0]
  ------------------
 4878|      0|                *result = NULL;
 4879|      0|            }
 4880|      0|            return -1;
 4881|      0|        }
 4882|  2.30M|    }
 4883|       |
 4884|  2.30M|    if (ix == DKIX_EMPTY) {
  ------------------
  |  |  185|  2.30M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (4884:9): [True: 467k, False: 1.83M]
  ------------------
 4885|   467k|        value = default_value;
 4886|       |
 4887|       |        // See comment to this function in insertdict.
 4888|   467k|        if (insert_combined_dict(mp, hash, Py_NewRef(key), Py_NewRef(value)) < 0) {
  ------------------
  |  |  550|   467k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   467k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   467k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (insert_combined_dict(mp, hash, Py_NewRef(key), Py_NewRef(value)) < 0) {
  ------------------
  |  |  550|   467k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   467k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   467k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4888:13): [True: 0, False: 467k]
  ------------------
 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|   467k|        STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  336|   467k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  194|   467k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4898|   467k|        assert(mp->ma_keys->dk_usable >= 0);
  ------------------
  |  Branch (4898:9): [True: 467k, False: 0]
  ------------------
 4899|   467k|        ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|   467k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4899:9): [True: 467k, False: 0]
  ------------------
 4900|   467k|        if (result) {
  ------------------
  |  Branch (4900:13): [True: 464k, False: 3.31k]
  ------------------
 4901|   464k|            *result = incref_result ? Py_NewRef(value) : value;
  ------------------
  |  |  550|   464k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   464k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   464k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4901:23): [True: 464k, False: 0]
  ------------------
 4902|   464k|        }
 4903|   467k|        return 0;
 4904|   467k|    }
 4905|       |
 4906|  2.30M|    assert(value != NULL);
  ------------------
  |  Branch (4906:5): [True: 1.83M, False: 0]
  ------------------
 4907|  1.83M|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  668|  1.83M|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  |  Branch (4907:5): [True: 1.83M, False: 0]
  ------------------
 4908|  1.83M|    if (result) {
  ------------------
  |  Branch (4908:9): [True: 1.83M, False: 0]
  ------------------
 4909|  1.83M|        *result = incref_result ? Py_NewRef(value) : value;
  ------------------
  |  |  550|  1.83M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.83M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.83M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4909:19): [True: 1.83M, False: 0]
  ------------------
 4910|  1.83M|    }
 4911|  1.83M|    return 1;
 4912|  1.83M|}
dictobject.c:dict_update_arg:
 4036|     60|{
 4037|     60|    if (PyAnyDict_CheckExact(arg)) {
  ------------------
  |  |   41|     60|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|     60|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|    120|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 38, 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|     38|        return dict_merge(self, arg, 1, NULL);
 4039|     38|    }
 4040|     22|    int has_keys = PyObject_HasAttrWithError(arg, &_Py_ID(keys));
  ------------------
  |  |  921|     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|   197k|{
 5278|   197k|    Py_hash_t hash = _PyObject_HashDictKey(key);
 5279|   197k|    if (hash == -1) {
  ------------------
  |  Branch (5279:9): [True: 0, False: 197k]
  ------------------
 5280|      0|        dict_unhashable_type(op, key);
 5281|      0|        return -1;
 5282|      0|    }
 5283|       |
 5284|   197k|    return _PyDict_Contains_KnownHash(op, key, hash);
 5285|   197k|}
dictobject.c:dict_dealloc:
 3649|   935k|{
 3650|   935k|    PyDictObject *mp = (PyDictObject *)self;
 3651|   935k|    _PyObject_ResurrectStart(self);
 3652|   935k|    _PyDict_NotifyEvent(PyDict_EVENT_DEALLOCATED, mp, NULL, NULL);
 3653|   935k|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (3653:9): [True: 0, False: 935k]
  ------------------
 3654|      0|        return;
 3655|      0|    }
 3656|   935k|    PyDictValues *values = mp->ma_values;
 3657|   935k|    PyDictKeysObject *keys = mp->ma_keys;
 3658|   935k|    Py_ssize_t i, n;
 3659|       |
 3660|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 3661|   935k|    PyObject_GC_UnTrack(mp);
 3662|   935k|    if (values != NULL) {
  ------------------
  |  Branch (3662:9): [True: 7, False: 935k]
  ------------------
 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|   935k|    else if (keys != NULL) {
  ------------------
  |  Branch (3671:14): [True: 935k, False: 0]
  ------------------
 3672|   935k|        assert(keys->dk_refcnt == 1 || keys == Py_EMPTY_KEYS);
  ------------------
  |  Branch (3672:9): [True: 738k, False: 197k]
  |  Branch (3672:9): [True: 197k, False: 0]
  ------------------
 3673|   935k|        dictkeys_decref(keys, false);
 3674|   935k|    }
 3675|   935k|    if (Py_IS_TYPE(mp, &PyDict_Type)) {
  ------------------
  |  |  215|   935k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   935k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   935k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 935k, False: 7]
  |  |  ------------------
  ------------------
 3676|   935k|        _Py_FREELIST_FREE(dicts, mp, Py_TYPE(mp)->tp_free);
  ------------------
  |  |   35|   935k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|   935k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   935k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|   935k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   16|   935k|#  define Py_dicts_MAXFREELIST 80
  |  |  ------------------
  ------------------
 3677|   935k|    }
 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|   935k|}
dictobject.c:dict_length:
 3788|    412|{
 3789|    412|    return GET_USED(_PyAnyDict_CAST(self));
  ------------------
  |  |  328|    412|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  149|  1.64k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:45): [True: 412, False: 0]
  |  |  |  |  |  Branch (149:45): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3790|    412|}
dictobject.c:dict_traverse:
 5090|  47.5k|{
 5091|  47.5k|    PyDictObject *mp = (PyDictObject *)op;
 5092|  47.5k|    PyDictKeysObject *keys = mp->ma_keys;
 5093|  47.5k|    Py_ssize_t i, n = keys->dk_nentries;
 5094|       |
 5095|  47.5k|    if (DK_IS_UNICODE(keys)) {
  ------------------
  |  |  294|  47.5k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 40.3k, False: 7.17k]
  |  |  ------------------
  ------------------
 5096|  40.3k|        if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|  40.3k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 5.19k, False: 35.1k]
  |  |  ------------------
  ------------------
 5097|  32.8k|            for (i = 0; i < n; i++) {
  ------------------
  |  Branch (5097:25): [True: 27.6k, False: 5.19k]
  ------------------
 5098|  27.6k|                Py_VISIT(mp->ma_values->values[i]);
  ------------------
  |  |  194|  27.6k|    do {                                                                \
  |  |  195|  27.6k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 23.2k, False: 4.38k]
  |  |  ------------------
  |  |  196|  23.2k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  23.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  23.2k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 23.2k]
  |  |  ------------------
  |  |  198|  23.2k|                return vret;                                            \
  |  |  199|  23.2k|        }                                                               \
  |  |  200|  27.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 27.6k]
  |  |  ------------------
  ------------------
 5099|  27.6k|            }
 5100|  5.19k|        }
 5101|  35.1k|        else {
 5102|  35.1k|            PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
 5103|   855k|            for (i = 0; i < n; i++) {
  ------------------
  |  Branch (5103:25): [True: 820k, False: 35.1k]
  ------------------
 5104|   820k|                Py_VISIT(entries[i].me_value);
  ------------------
  |  |  194|   820k|    do {                                                                \
  |  |  195|   820k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 711k, False: 108k]
  |  |  ------------------
  |  |  196|   711k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   711k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   711k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   711k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 711k]
  |  |  ------------------
  |  |  198|   711k|                return vret;                                            \
  |  |  199|   711k|        }                                                               \
  |  |  200|   820k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 820k]
  |  |  ------------------
  ------------------
 5105|   820k|            }
 5106|  35.1k|        }
 5107|  40.3k|    }
 5108|  7.17k|    else {
 5109|  7.17k|        PyDictKeyEntry *entries = DK_ENTRIES(keys);
 5110|   295k|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (5110:21): [True: 288k, False: 7.17k]
  ------------------
 5111|   288k|            if (entries[i].me_value != NULL) {
  ------------------
  |  Branch (5111:17): [True: 288k, False: 188]
  ------------------
 5112|   288k|                Py_VISIT(entries[i].me_value);
  ------------------
  |  |  194|   288k|    do {                                                                \
  |  |  195|   288k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 288k, False: 0]
  |  |  ------------------
  |  |  196|   288k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   288k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   288k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   288k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 288k]
  |  |  ------------------
  |  |  198|   288k|                return vret;                                            \
  |  |  199|   288k|        }                                                               \
  |  |  200|   288k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 288k]
  |  |  ------------------
  ------------------
 5113|   288k|                Py_VISIT(entries[i].me_key);
  ------------------
  |  |  194|   288k|    do {                                                                \
  |  |  195|   288k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 288k, False: 0]
  |  |  ------------------
  |  |  196|   288k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   288k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   288k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   288k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 288k]
  |  |  ------------------
  |  |  198|   288k|                return vret;                                            \
  |  |  199|   288k|        }                                                               \
  |  |  200|   288k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 288k]
  |  |  ------------------
  ------------------
 5114|   288k|            }
 5115|   288k|        }
 5116|  7.17k|    }
 5117|  47.5k|    return 0;
 5118|  47.5k|}
dictobject.c:dict_tp_clear:
 5122|     12|{
 5123|     12|    PyDict_Clear(op);
 5124|     12|    return 0;
 5125|     12|}
dictobject.c:dict_iter:
 5481|     28|{
 5482|     28|    PyDictObject *dict = (PyDictObject *)self;
 5483|     28|    return dictiter_new(dict, &PyDictIterKey_Type);
 5484|     28|}
dictobject.c:dictiter_new:
 5618|    145|{
 5619|    145|    Py_ssize_t used;
 5620|    145|    dictiterobject *di;
 5621|    145|    di = PyObject_GC_New(dictiterobject, itertype);
  ------------------
  |  |  181|    145|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    145|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5622|    145|    if (di == NULL) {
  ------------------
  |  Branch (5622:9): [True: 0, False: 145]
  ------------------
 5623|      0|        return NULL;
 5624|      0|    }
 5625|    145|    di->di_dict = (PyDictObject*)Py_NewRef(dict);
  ------------------
  |  |  550|    145|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    145|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    145|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5626|    145|    used = GET_USED(dict);
  ------------------
  |  |  328|    145|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  149|    145|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
 5627|    145|    di->di_used = used;
 5628|    145|    di->len = used;
 5629|    145|    if (itertype == &PyDictRevIterKey_Type ||
  ------------------
  |  Branch (5629:9): [True: 0, False: 145]
  ------------------
 5630|    145|         itertype == &PyDictRevIterItem_Type ||
  ------------------
  |  Branch (5630:10): [True: 0, False: 145]
  ------------------
 5631|    145|         itertype == &PyDictRevIterValue_Type) {
  ------------------
  |  Branch (5631:10): [True: 0, False: 145]
  ------------------
 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|    145|    else {
 5640|    145|        di->di_pos = 0;
 5641|    145|    }
 5642|    145|    if (itertype == &PyDictIterItem_Type ||
  ------------------
  |  Branch (5642:9): [True: 105, False: 40]
  ------------------
 5643|    105|        itertype == &PyDictRevIterItem_Type) {
  ------------------
  |  Branch (5643:9): [True: 0, False: 40]
  ------------------
 5644|    105|        di->di_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|    105|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      di->di_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|    105|#  define Py_None (&_Py_NoneStruct)
  ------------------
 5645|    105|        if (di->di_result == NULL) {
  ------------------
  |  Branch (5645:13): [True: 0, False: 105]
  ------------------
 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|    105|    }
 5650|     40|    else {
 5651|     40|        di->di_result = NULL;
 5652|     40|    }
 5653|    145|    _PyObject_GC_TRACK(di);
  ------------------
  |  |  505|    145|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    145|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    145|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5654|    145|    return (PyObject *)di;
 5655|    145|}
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|   593k|{
 4794|   593k|    PyObject *val = NULL;
 4795|   593k|    Py_hash_t hash;
 4796|   593k|    Py_ssize_t ix;
 4797|       |
 4798|   593k|    hash = _PyObject_HashDictKey(key);
 4799|   593k|    if (hash == -1) {
  ------------------
  |  Branch (4799:9): [True: 0, False: 593k]
  ------------------
 4800|      0|        dict_unhashable_type((PyObject*)self, key);
 4801|      0|        return NULL;
 4802|      0|    }
 4803|   593k|    ix = _Py_dict_lookup_threadsafe(self, key, hash, &val);
 4804|   593k|    if (ix == DKIX_ERROR)
  ------------------
  |  |  187|   593k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (4804:9): [True: 0, False: 593k]
  ------------------
 4805|      0|        return NULL;
 4806|   593k|    if (ix == DKIX_EMPTY || val == NULL) {
  ------------------
  |  |  185|  1.18M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (4806:9): [True: 590k, False: 3.26k]
  |  Branch (4806:29): [True: 0, False: 3.26k]
  ------------------
 4807|   590k|        val = Py_NewRef(default_value);
  ------------------
  |  |  550|   590k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   590k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   590k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4808|   590k|    }
 4809|   593k|    return val;
 4810|   593k|}
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|  48.6k|{
 4991|  48.6k|    return dict_pop_default((PyObject*)self, key, default_value);
 4992|  48.6k|}
dictobject.c:dict_keys_impl:
 7042|    823|{
 7043|    823|    return _PyDictView_New((PyObject *)self, &PyDictKeys_Type);
 7044|    823|}
dictobject.c:dict_items_impl:
 7154|    108|{
 7155|    108|    return _PyDictView_New((PyObject *)self, &PyDictItems_Type);
 7156|    108|}
dictobject.c:dict_values_impl:
 7244|      5|{
 7245|      5|    return _PyDictView_New((PyObject *)self, &PyDictValues_Type);
 7246|      5|}
dictobject.c:dict_update:
 4078|     45|{
 4079|     45|    if (dict_update_common(self, args, kwds, "update") != -1)
  ------------------
  |  Branch (4079:9): [True: 45, False: 0]
  ------------------
 4080|     45|        Py_RETURN_NONE;
  ------------------
  |  |  628|     45|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     45|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 4081|      0|    return NULL;
 4082|     45|}
dictobject.c:dict_update_common:
 4053|     53|{
 4054|     53|    PyObject *arg = NULL;
 4055|     53|    int result = 0;
 4056|       |
 4057|     53|    if (!PyArg_UnpackTuple(args, methname, 0, 1, &arg)) {
  ------------------
  |  Branch (4057:9): [True: 0, False: 53]
  ------------------
 4058|      0|        result = -1;
 4059|      0|    }
 4060|     53|    else if (arg != NULL) {
  ------------------
  |  Branch (4060:14): [True: 45, False: 8]
  ------------------
 4061|     45|        result = dict_update_arg(self, arg);
 4062|     45|    }
 4063|       |
 4064|     53|    if (result == 0 && kwds != NULL) {
  ------------------
  |  Branch (4064:9): [True: 53, False: 0]
  |  Branch (4064:24): [True: 0, False: 53]
  ------------------
 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|     53|    return result;
 4071|     53|}
dictobject.c:dict_fromkeys_impl:
 4029|     16|{
 4030|     16|    return _PyDict_FromKeys((PyObject *)type, iterable, value);
 4031|     16|}
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|     39|{
 5388|       |    /* tp_new ignores args/kwds; args/kwds are consumed by dict_init (tp_init). */
 5389|     39|    PyObject *self = dict_new_untracked(type);
 5390|     39|    if (self == NULL) {
  ------------------
  |  Branch (5390:9): [True: 0, False: 39]
  ------------------
 5391|      0|        return NULL;
 5392|      0|    }
 5393|     39|    _PyObject_GC_TRACK(self);
  ------------------
  |  |  505|     39|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     39|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     39|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5394|     39|    return self;
 5395|     39|}
dictobject.c:dict_vectorcall:
 5406|     31|{
 5407|     31|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     31|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 5408|     31|    if (!_PyArg_CheckPositional("dict", nargs, 0, 1)) {
  ------------------
  |  |   31|     31|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 31, False: 0]
  |  |  |  Branch (31:27): [True: 31, False: 0]
  |  |  ------------------
  |  |   32|     31|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5409|      0|        return NULL;
 5410|      0|    }
 5411|       |
 5412|     31|    PyObject *self = dict_new(_PyType_CAST(type), NULL, NULL);
  ------------------
  |  |  770|     31|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5412:31): [True: 31, False: 0]
  ------------------
 5413|     31|    if (self == NULL) {
  ------------------
  |  Branch (5413:9): [True: 0, False: 31]
  ------------------
 5414|      0|        return NULL;
 5415|      0|    }
 5416|     31|    if (nargs == 1) {
  ------------------
  |  Branch (5416:9): [True: 14, False: 17]
  ------------------
 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|     31|    if (kwnames != NULL) {
  ------------------
  |  Branch (5423:9): [True: 1, False: 30]
  ------------------
 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|     31|    return self;
 5433|     31|}
dictobject.c:dictiter_dealloc:
 5659|    145|{
 5660|    145|    dictiterobject *di = (dictiterobject *)self;
 5661|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 5662|    145|    _PyObject_GC_UNTRACK(di);
  ------------------
  |  |  507|    145|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    145|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    145|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5663|    145|    Py_XDECREF(di->di_dict);
  ------------------
  |  |  524|    145|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    145|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    145|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5664|    145|    Py_XDECREF(di->di_result);
  ------------------
  |  |  524|    145|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    145|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    145|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5665|    145|    PyObject_GC_Del(di);
 5666|    145|}
dictobject.c:dictiter_iternextkey:
 5782|    374|{
 5783|    374|    dictiterobject *di = (dictiterobject *)self;
 5784|    374|    PyDictObject *d = di->di_dict;
 5785|       |
 5786|    374|    if (d == NULL)
  ------------------
  |  Branch (5786:9): [True: 0, False: 374]
  ------------------
 5787|      0|        return NULL;
 5788|       |
 5789|    374|    PyObject *value;
 5790|       |#ifdef Py_GIL_DISABLED
 5791|       |    if (dictiter_iternext_threadsafe(d, self, &value, NULL) < 0) {
 5792|       |        value = NULL;
 5793|       |    }
 5794|       |#else
 5795|    374|    value = dictiter_iternextkey_lock_held(d, self);
 5796|    374|#endif
 5797|       |
 5798|    374|    return value;
 5799|    374|}
dictobject.c:dictiter_iternextkey_lock_held:
 5713|    374|{
 5714|    374|    dictiterobject *di = (dictiterobject *)self;
 5715|    374|    PyObject *key;
 5716|    374|    Py_ssize_t i;
 5717|    374|    PyDictKeysObject *k;
 5718|       |
 5719|    374|    assert (PyAnyDict_Check(d));
  ------------------
  |  Branch (5719:5): [True: 374, False: 0]
  |  Branch (5719:5): [True: 0, False: 0]
  ------------------
 5720|    374|    ASSERT_DICT_LOCKED(d);
 5721|       |
 5722|    374|    if (di->di_used != d->ma_used) {
  ------------------
  |  Branch (5722:9): [True: 0, False: 374]
  ------------------
 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|    374|    i = di->di_pos;
 5730|    374|    k = d->ma_keys;
 5731|    374|    assert(i >= 0);
  ------------------
  |  Branch (5731:5): [True: 374, False: 0]
  ------------------
 5732|    374|    if (_PyDict_HasSplitTable(d)) {
  ------------------
  |  |   56|    374|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 374]
  |  |  ------------------
  ------------------
 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|    374|    else {
 5740|    374|        Py_ssize_t n = k->dk_nentries;
 5741|    374|        if (DK_IS_UNICODE(k)) {
  ------------------
  |  |  294|    374|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 274, False: 100]
  |  |  ------------------
  ------------------
 5742|    274|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(k)[i];
 5743|    295|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5743:20): [True: 269, False: 26]
  |  Branch (5743:29): [True: 21, False: 248]
  ------------------
 5744|     21|                entry_ptr++;
 5745|     21|                i++;
 5746|     21|            }
 5747|    274|            if (i >= n)
  ------------------
  |  Branch (5747:17): [True: 26, False: 248]
  ------------------
 5748|     26|                goto fail;
 5749|    248|            key = entry_ptr->me_key;
 5750|    248|        }
 5751|    100|        else {
 5752|    100|            PyDictKeyEntry *entry_ptr = &DK_ENTRIES(k)[i];
 5753|    100|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5753:20): [True: 90, False: 10]
  |  Branch (5753:29): [True: 0, False: 90]
  ------------------
 5754|      0|                entry_ptr++;
 5755|      0|                i++;
 5756|      0|            }
 5757|    100|            if (i >= n)
  ------------------
  |  Branch (5757:17): [True: 10, False: 90]
  ------------------
 5758|     10|                goto fail;
 5759|     90|            key = entry_ptr->me_key;
 5760|     90|        }
 5761|    374|    }
 5762|       |    // We found an element (key), but did not expect it
 5763|    338|    if (di->len == 0) {
  ------------------
  |  Branch (5763:9): [True: 0, False: 338]
  ------------------
 5764|      0|        PyErr_SetString(PyExc_RuntimeError,
 5765|      0|                        "dictionary keys changed during iteration");
 5766|      0|        goto fail;
 5767|      0|    }
 5768|    338|    di->di_pos = i+1;
 5769|    338|    di->len--;
 5770|    338|    return Py_NewRef(key);
  ------------------
  |  |  550|    338|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    338|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    338|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5771|       |
 5772|     36|fail:
 5773|     36|    di->di_dict = NULL;
 5774|     36|    Py_DECREF(d);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5775|       |    return NULL;
 5776|    338|}
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|  1.20k|{
 6184|  1.20k|    dictiterobject *di = (dictiterobject *)self;
 6185|  1.20k|    PyDictObject *d = di->di_dict;
 6186|       |
 6187|  1.20k|    if (d == NULL)
  ------------------
  |  Branch (6187:9): [True: 0, False: 1.20k]
  ------------------
 6188|      0|        return NULL;
 6189|       |
 6190|  1.20k|    PyObject *key, *value;
 6191|       |#ifdef Py_GIL_DISABLED
 6192|       |    if (dictiter_iternext_threadsafe(d, self, &key, &value) == 0) {
 6193|       |#else
 6194|  1.20k|    if (dictiter_iternextitem_lock_held(d, self, &key, &value) == 0) {
  ------------------
  |  Branch (6194:9): [True: 1.09k, False: 103]
  ------------------
 6195|       |
 6196|  1.09k|#endif
 6197|  1.09k|        PyObject *result = di->di_result;
 6198|  1.09k|        if (acquire_iter_result(result)) {
  ------------------
  |  Branch (6198:13): [True: 315, False: 783]
  ------------------
 6199|    315|            PyObject *oldkey = PyTuple_GET_ITEM(result, 0);
  ------------------
  |  |   29|    315|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    315|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    315|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6199:32): [True: 315, False: 0]
  ------------------
 6200|    315|            PyObject *oldvalue = PyTuple_GET_ITEM(result, 1);
  ------------------
  |  |   29|    315|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    315|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    315|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6200:34): [True: 315, False: 0]
  ------------------
 6201|    315|            PyTuple_SET_ITEM(result, 0, key);
  ------------------
  |  |   40|    315|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    315|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    315|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    315|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    315|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6202|    315|            PyTuple_SET_ITEM(result, 1, value);
  ------------------
  |  |   40|    315|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    315|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    315|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    315|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    315|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6203|    315|            Py_DECREF(oldkey);
  ------------------
  |  |  430|    315|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    315|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    315|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6204|    315|            Py_DECREF(oldvalue);
  ------------------
  |  |  430|    315|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    315|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    315|#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|    315|            _PyTuple_Recycle(result);
 6208|    315|        }
 6209|    783|        else {
 6210|    783|            result = _PyTuple_FromPairSteal(key, value);
 6211|    783|        }
 6212|  1.09k|        return result;
 6213|  1.09k|    }
 6214|    103|    return NULL;
 6215|  1.20k|}
dictobject.c:dictiter_iternextitem_lock_held:
 5960|  1.20k|{
 5961|  1.20k|    dictiterobject *di = (dictiterobject *)self;
 5962|  1.20k|    PyObject *key, *value;
 5963|  1.20k|    Py_ssize_t i;
 5964|       |
 5965|  1.20k|    assert (PyAnyDict_Check(d));
  ------------------
  |  Branch (5965:5): [True: 1.20k, False: 0]
  |  Branch (5965:5): [True: 0, False: 0]
  ------------------
 5966|  1.20k|    ASSERT_DICT_LOCKED(d);
 5967|       |
 5968|  1.20k|    if (di->di_used != d->ma_used) {
  ------------------
  |  Branch (5968:9): [True: 0, False: 1.20k]
  ------------------
 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|  1.20k|    i = FT_ATOMIC_LOAD_SSIZE_RELAXED(di->di_pos);
  ------------------
  |  |  149|  1.20k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 5976|       |
 5977|  1.20k|    assert(i >= 0);
  ------------------
  |  Branch (5977:5): [True: 1.20k, False: 0]
  ------------------
 5978|  1.20k|    if (_PyDict_HasSplitTable(d)) {
  ------------------
  |  |   56|  1.20k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 1.20k]
  |  |  ------------------
  ------------------
 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|  1.20k|    else {
 5987|  1.20k|        Py_ssize_t n = d->ma_keys->dk_nentries;
 5988|  1.20k|        if (DK_IS_UNICODE(d->ma_keys)) {
  ------------------
  |  |  294|  1.20k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 1.20k, False: 0]
  |  |  ------------------
  ------------------
 5989|  1.20k|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(d->ma_keys)[i];
 5990|  1.34k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5990:20): [True: 1.24k, False: 103]
  |  Branch (5990:29): [True: 143, False: 1.09k]
  ------------------
 5991|    143|                entry_ptr++;
 5992|    143|                i++;
 5993|    143|            }
 5994|  1.20k|            if (i >= n)
  ------------------
  |  Branch (5994:17): [True: 103, False: 1.09k]
  ------------------
 5995|    103|                goto fail;
 5996|  1.09k|            key = entry_ptr->me_key;
 5997|  1.09k|            value = entry_ptr->me_value;
 5998|  1.09k|        }
 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|  1.20k|    }
 6011|       |    // We found an element, but did not expect it
 6012|  1.09k|    if (di->len == 0) {
  ------------------
  |  Branch (6012:9): [True: 0, False: 1.09k]
  ------------------
 6013|      0|        PyErr_SetString(PyExc_RuntimeError,
 6014|      0|                        "dictionary keys changed during iteration");
 6015|      0|        goto fail;
 6016|      0|    }
 6017|  1.09k|    di->di_pos = i+1;
 6018|  1.09k|    di->len--;
 6019|  1.09k|    if (out_key != NULL) {
  ------------------
  |  Branch (6019:9): [True: 1.09k, False: 0]
  ------------------
 6020|  1.09k|        *out_key = Py_NewRef(key);
  ------------------
  |  |  550|  1.09k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6021|  1.09k|    }
 6022|  1.09k|    if (out_value != NULL) {
  ------------------
  |  Branch (6022:9): [True: 1.09k, False: 0]
  ------------------
 6023|  1.09k|        *out_value = Py_NewRef(value);
  ------------------
  |  |  550|  1.09k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6024|  1.09k|    }
 6025|  1.09k|    return 0;
 6026|       |
 6027|    103|fail:
 6028|    103|    di->di_dict = NULL;
 6029|    103|    Py_DECREF(d);
  ------------------
  |  |  430|    103|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6030|    103|    return -1;
 6031|  1.09k|}
dictobject.c:acquire_iter_result:
 6173|  1.09k|{
 6174|  1.09k|    if (_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (6174:9): [True: 315, False: 783]
  ------------------
 6175|    315|        Py_INCREF(result);
  ------------------
  |  |  310|    315|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    315|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    315|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6176|    315|        return true;
 6177|    315|    }
 6178|    783|    return false;
 6179|  1.09k|}
dictobject.c:dictview_len:
 6455|    406|{
 6456|    406|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6457|    406|    Py_ssize_t len = 0;
 6458|    406|    if (dv->dv_dict != NULL)
  ------------------
  |  Branch (6458:9): [True: 406, False: 0]
  ------------------
 6459|    406|        len = GET_USED(dv->dv_dict);
  ------------------
  |  |  328|    406|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  149|    406|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
 6460|    406|    return len;
 6461|    406|}
dictobject.c:dictkeys_contains:
 6633|  1.06k|{
 6634|  1.06k|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6635|  1.06k|    if (dv->dv_dict == NULL)
  ------------------
  |  Branch (6635:9): [True: 0, False: 1.06k]
  ------------------
 6636|      0|        return 0;
 6637|  1.06k|    return dict_contains((PyObject *)dv->dv_dict, obj);
 6638|  1.06k|}
dictobject.c:dictview_dealloc:
 6437|    936|{
 6438|    936|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6439|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 6440|    936|    _PyObject_GC_UNTRACK(dv);
  ------------------
  |  |  507|    936|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    936|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    936|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6441|    936|    Py_XDECREF(dv->dv_dict);
  ------------------
  |  |  524|    936|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    936|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    936|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6442|    936|    PyObject_GC_Del(dv);
 6443|    936|}
dictobject.c:dictviews_sub:
 6670|    405|{
 6671|    405|    PyObject *result = dictviews_to_set(self);
 6672|    405|    if (result == NULL) {
  ------------------
  |  Branch (6672:9): [True: 0, False: 405]
  ------------------
 6673|      0|        return NULL;
 6674|      0|    }
 6675|       |
 6676|    405|    PyObject *tmp = PyObject_CallMethodOneArg(
 6677|    405|            result, &_Py_ID(difference_update), other);
  ------------------
  |  |  921|    405|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    405|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    405|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6678|    405|    if (tmp == NULL) {
  ------------------
  |  Branch (6678:9): [True: 0, False: 405]
  ------------------
 6679|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6680|      0|        return NULL;
 6681|      0|    }
 6682|       |
 6683|    405|    Py_DECREF(tmp);
  ------------------
  |  |  430|    405|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    405|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    405|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6684|    405|    return result;
 6685|    405|}
dictobject.c:dictviews_to_set:
 6656|    405|{
 6657|    405|    PyObject *left = self;
 6658|    405|    if (PyDictKeys_Check(self)) {
  ------------------
  |  |   93|    405|#define PyDictKeys_Check(op) PyObject_TypeCheck((op), &PyDictKeys_Type)
  |  |  ------------------
  |  |  |  |  378|    405|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    405|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    405|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 405, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6659|       |        // PySet_New() has fast path for the dict object.
 6660|    405|        PyObject *dict = (PyObject *)((_PyDictViewObject *)self)->dv_dict;
 6661|    405|        if (PyAnyDict_CheckExact(dict)) {
  ------------------
  |  |   41|    405|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|    405|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|    810|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    405|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    405|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 405, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6662|    405|            left = dict;
 6663|    405|        }
 6664|    405|    }
 6665|    405|    return PySet_New(left);
 6666|    405|}
dictobject.c:dictview_richcompare:
 6538|    405|{
 6539|    405|    Py_ssize_t len_self, len_other;
 6540|    405|    int ok;
 6541|    405|    PyObject *result;
 6542|       |
 6543|    405|    assert(self != NULL);
  ------------------
  |  Branch (6543:5): [True: 405, False: 0]
  ------------------
 6544|    405|    assert(PyDictViewSet_Check(self));
  ------------------
  |  Branch (6544:5): [True: 405, False: 0]
  |  Branch (6544:5): [True: 0, False: 0]
  ------------------
 6545|    405|    assert(other != NULL);
  ------------------
  |  Branch (6545:5): [True: 405, False: 0]
  ------------------
 6546|       |
 6547|    405|    if (!PyAnySet_Check(other) && !PyDictViewSet_Check(other))
  ------------------
  |  |   31|    810|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    810|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    405|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    405|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 405, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    405|#  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|    405|      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|    810|      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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6548|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 6549|       |
 6550|    405|    len_self = PyObject_Size(self);
 6551|    405|    if (len_self < 0)
  ------------------
  |  Branch (6551:9): [True: 0, False: 405]
  ------------------
 6552|      0|        return NULL;
 6553|    405|    len_other = PyObject_Size(other);
 6554|    405|    if (len_other < 0)
  ------------------
  |  Branch (6554:9): [True: 0, False: 405]
  ------------------
 6555|      0|        return NULL;
 6556|       |
 6557|    405|    ok = 0;
 6558|    405|    switch(op) {
  ------------------
  |  Branch (6558:12): [True: 405, False: 0]
  ------------------
 6559|       |
 6560|      0|    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (6560:5): [True: 0, False: 405]
  ------------------
 6561|      0|    case Py_EQ:
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  |  Branch (6561:5): [True: 0, False: 405]
  ------------------
 6562|      0|        if (len_self == len_other)
  ------------------
  |  Branch (6562:13): [True: 0, False: 0]
  ------------------
 6563|      0|            ok = all_contained_in(self, other);
 6564|      0|        if (op == Py_NE && ok >= 0)
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (6564:13): [True: 0, False: 0]
  |  Branch (6564:28): [True: 0, False: 0]
  ------------------
 6565|      0|            ok = !ok;
 6566|      0|        break;
 6567|       |
 6568|      0|    case Py_LT:
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  |  Branch (6568:5): [True: 0, False: 405]
  ------------------
 6569|      0|        if (len_self < len_other)
  ------------------
  |  Branch (6569:13): [True: 0, False: 0]
  ------------------
 6570|      0|            ok = all_contained_in(self, other);
 6571|      0|        break;
 6572|       |
 6573|      0|      case Py_LE:
  ------------------
  |  |  653|      0|#define Py_LE 1
  ------------------
  |  Branch (6573:7): [True: 0, False: 405]
  ------------------
 6574|      0|          if (len_self <= len_other)
  ------------------
  |  Branch (6574:15): [True: 0, False: 0]
  ------------------
 6575|      0|              ok = all_contained_in(self, other);
 6576|      0|          break;
 6577|       |
 6578|      0|    case Py_GT:
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  |  Branch (6578:5): [True: 0, False: 405]
  ------------------
 6579|      0|        if (len_self > len_other)
  ------------------
  |  Branch (6579:13): [True: 0, False: 0]
  ------------------
 6580|      0|            ok = all_contained_in(other, self);
 6581|      0|        break;
 6582|       |
 6583|    405|    case Py_GE:
  ------------------
  |  |  657|    405|#define Py_GE 5
  ------------------
  |  Branch (6583:5): [True: 405, False: 0]
  ------------------
 6584|    405|        if (len_self >= len_other)
  ------------------
  |  Branch (6584:13): [True: 405, False: 0]
  ------------------
 6585|    405|            ok = all_contained_in(other, self);
 6586|    405|        break;
 6587|       |
 6588|    405|    }
 6589|    405|    if (ok < 0)
  ------------------
  |  Branch (6589:9): [True: 0, False: 405]
  ------------------
 6590|      0|        return NULL;
 6591|    405|    result = ok ? Py_True : Py_False;
  ------------------
  |  |   26|    405|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    405|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    405|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  result = ok ? Py_True : Py_False;
  ------------------
  |  |   25|    405|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    405|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6591:14): [True: 405, False: 0]
  ------------------
 6592|    405|    return Py_NewRef(result);
  ------------------
  |  |  550|    405|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    405|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    405|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6593|    405|}
dictobject.c:all_contained_in:
 6514|    405|{
 6515|    405|    PyObject *iter = PyObject_GetIter(self);
 6516|    405|    int ok = 1;
 6517|       |
 6518|    405|    if (iter == NULL)
  ------------------
  |  Branch (6518:9): [True: 0, False: 405]
  ------------------
 6519|      0|        return -1;
 6520|  1.41k|    for (;;) {
 6521|  1.41k|        PyObject *next = PyIter_Next(iter);
 6522|  1.41k|        if (next == NULL) {
  ------------------
  |  Branch (6522:13): [True: 405, False: 1.01k]
  ------------------
 6523|    405|            if (PyErr_Occurred())
  ------------------
  |  Branch (6523:17): [True: 0, False: 405]
  ------------------
 6524|      0|                ok = -1;
 6525|    405|            break;
 6526|    405|        }
 6527|  1.01k|        ok = PySequence_Contains(other, next);
 6528|  1.01k|        Py_DECREF(next);
  ------------------
  |  |  430|  1.01k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6529|  1.01k|        if (ok <= 0)
  ------------------
  |  Branch (6529:13): [True: 0, False: 1.01k]
  ------------------
 6530|      0|            break;
 6531|  1.01k|    }
 6532|    405|    Py_DECREF(iter);
  ------------------
  |  |  430|    405|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    405|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    405|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6533|    405|    return ok;
 6534|    405|}
dictobject.c:dictkeys_iter:
 6623|     10|{
 6624|     10|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6625|     10|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (6625:9): [True: 0, False: 10]
  ------------------
 6626|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6627|      0|    }
 6628|     10|    return dictiter_new(dv->dv_dict, &PyDictIterKey_Type);
 6629|     10|}
dictobject.c:dictitems_iter:
 7060|    105|{
 7061|    105|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 7062|    105|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (7062:9): [True: 0, False: 105]
  ------------------
 7063|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 7064|      0|    }
 7065|    105|    return dictiter_new(dv->dv_dict, &PyDictIterItem_Type);
 7066|    105|}
dictobject.c:dictvalues_iter:
 7172|      2|{
 7173|      2|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 7174|      2|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (7174:9): [True: 0, False: 2]
  ------------------
 7175|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 7176|      0|    }
 7177|      2|    return dictiter_new(dv->dv_dict, &PyDictIterValue_Type);
 7178|      2|}
dictobject.c:get_log2_bytes:
  804|  1.22M|{
  805|  1.22M|    int log2_bytes;
  806|  1.22M|    assert(log2_size >= PyDict_LOG_MINSIZE);
  ------------------
  |  Branch (806:5): [True: 1.22M, False: 0]
  ------------------
  807|       |
  808|  1.22M|    if (log2_size < 8) {
  ------------------
  |  Branch (808:9): [True: 1.22M, False: 2.37k]
  ------------------
  809|  1.22M|        log2_bytes = log2_size;
  810|  1.22M|    }
  811|  2.37k|    else if (log2_size < 16) {
  ------------------
  |  Branch (811:14): [True: 2.37k, False: 1]
  ------------------
  812|  2.37k|        log2_bytes = log2_size + 1;
  813|  2.37k|    }
  814|      1|#if SIZEOF_VOID_P > 4
  815|      1|    else if (log2_size >= 32) {
  ------------------
  |  Branch (815:14): [True: 0, False: 1]
  ------------------
  816|      0|        log2_bytes = log2_size + 3;
  817|      0|    }
  818|      1|#endif
  819|      1|    else {
  820|      1|        log2_bytes = log2_size + 2;
  821|      1|    }
  822|       |
  823|  1.22M|    return log2_bytes;
  824|  1.22M|}
dictobject.c:init_keys_object:
  829|  1.22M|{
  830|       |#ifdef Py_REF_DEBUG
  831|       |    _Py_IncRefTotal(_PyThreadState_GET());
  832|       |#endif
  833|  1.22M|    dk->dk_refcnt = 1;
  834|  1.22M|    dk->dk_log2_size = log2_size;
  835|  1.22M|    dk->dk_log2_index_bytes = log2_bytes;
  836|  1.22M|    dk->dk_kind = kind;
  837|       |#ifdef Py_GIL_DISABLED
  838|       |    dk->dk_mutex = (PyMutex){0};
  839|       |#endif
  840|  1.22M|    dk->dk_nentries = 0;
  841|  1.22M|    dk->dk_usable = usable;
  842|  1.22M|    dk->dk_version = 0;
  843|  1.22M|    memset(&dk->dk_indices[0], 0xff, ((size_t)1 << log2_bytes));
  844|  1.22M|    memset(&dk->dk_indices[(size_t)1 << log2_bytes], 0, entry_size * usable);
  845|  1.22M|}
dictobject.c:insert_split_key:
 1944|  2.51k|{
 1945|  2.51k|    assert(PyUnicode_CheckExact(key));
  ------------------
  |  Branch (1945:5): [True: 2.51k, False: 0]
  ------------------
 1946|  2.51k|    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|  2.51k|    LOCK_KEYS(keys);
 1963|  2.51k|    ix = unicodekeys_lookup_unicode(keys, key, hash);
 1964|  2.51k|    if (ix == DKIX_EMPTY && keys->dk_usable > 0) {
  ------------------
  |  |  185|  5.03k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1964:9): [True: 352, False: 2.16k]
  |  Branch (1964:29): [True: 352, False: 0]
  ------------------
 1965|       |        // Insert into new slot
 1966|    352|        FT_ATOMIC_STORE_UINT32_RELAXED(keys->dk_version, 0);
  ------------------
  |  |  172|    352|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 1967|    352|        struct _instancekeysobject *shared_keys = _PyDictKeys_AsSharedKeys(keys);
 1968|    352|        PyTypeObject *type = FT_ATOMIC_LOAD_PTR_ACQUIRE(shared_keys->dsk_owning_type);
  ------------------
  |  |  150|    352|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1969|    352|        if (type) {
  ------------------
  |  Branch (1969:13): [True: 352, False: 0]
  ------------------
 1970|       |            // we acquired the type lock above
 1971|    352|            _PyType_Modified_Unlocked(type);
 1972|    352|        }
 1973|    352|        Py_ssize_t hashpos = find_empty_slot(keys, hash);
 1974|    352|        ix = keys->dk_nentries;
 1975|    352|        dictkeys_set_index(keys, hashpos, ix);
 1976|    352|        PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(keys)[ix];
 1977|    352|        STORE_SHARED_KEY(ep->me_key, Py_NewRef(key));
  ------------------
  |  |  261|    352|#define STORE_SHARED_KEY(key, value) key = value
  ------------------
 1978|    352|        split_keys_entry_added(keys);
 1979|    352|    }
 1980|  2.51k|    assert (ix < SHARED_KEYS_MAX_SIZE);
  ------------------
  |  Branch (1980:5): [True: 2.51k, False: 0]
  ------------------
 1981|  2.51k|    UNLOCK_KEYS(keys);
 1982|       |
 1983|       |#ifdef Py_GIL_DISABLED
 1984|       |    Py_END_CRITICAL_SECTION();
 1985|       |#endif
 1986|  2.51k|    return ix;
 1987|  2.51k|}
dictobject.c:split_keys_entry_added:
  275|    352|{
  276|    352|    keys->dk_usable--;
  277|    352|    keys->dk_nentries++;
  278|    352|}
dictobject.c:store_instance_attr_lock_held:
 7443|    897|{
 7444|    897|    PyDictKeysObject *keys = CACHED_KEYS(Py_TYPE(obj));
  ------------------
  |  |  911|    897|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7445|    897|    assert(keys != NULL);
  ------------------
  |  Branch (7445:5): [True: 897, False: 0]
  ------------------
 7446|    897|    assert(values != NULL);
  ------------------
  |  Branch (7446:5): [True: 897, False: 0]
  ------------------
 7447|    897|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  Branch (7447:5): [True: 897, False: 0]
  ------------------
 7448|    897|    Py_ssize_t ix = DKIX_EMPTY;
  ------------------
  |  |  185|    897|#define DKIX_EMPTY (-1)
  ------------------
 7449|    897|    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7450|    897|    assert(dict == NULL || ((PyDictObject *)dict)->ma_values == values);
  ------------------
  |  Branch (7450:5): [True: 897, False: 0]
  |  Branch (7450:5): [True: 0, False: 0]
  ------------------
 7451|    897|    if (PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|    897|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    897|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    897|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    897|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 897, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7452|    897|        Py_hash_t hash = unicode_get_hash(name);
 7453|    897|        if (hash == -1) {
  ------------------
  |  Branch (7453:13): [True: 0, False: 897]
  ------------------
 7454|      0|            hash = PyUnicode_Type.tp_hash(name);
 7455|      0|            assert(hash != -1);
  ------------------
  |  Branch (7455:13): [True: 0, False: 0]
  ------------------
 7456|      0|        }
 7457|       |
 7458|    897|        ix = insert_split_key(keys, name, hash);
 7459|       |
 7460|       |#ifdef Py_STATS
 7461|       |        if (ix == DKIX_EMPTY) {
 7462|       |            if (PyUnicode_CheckExact(name)) {
 7463|       |                if (shared_keys_usable_size(keys) == SHARED_KEYS_MAX_SIZE) {
 7464|       |                    OBJECT_STAT_INC(dict_materialized_too_big);
 7465|       |                }
 7466|       |                else {
 7467|       |                    OBJECT_STAT_INC(dict_materialized_new_key);
 7468|       |                }
 7469|       |            }
 7470|       |            else {
 7471|       |                OBJECT_STAT_INC(dict_materialized_str_subclass);
 7472|       |            }
 7473|       |        }
 7474|       |#endif
 7475|    897|    }
 7476|       |
 7477|    897|    if (ix == DKIX_EMPTY) {
  ------------------
  |  |  185|    897|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (7477:9): [True: 0, False: 897]
  ------------------
 7478|      0|        int res;
 7479|      0|        if (dict == NULL) {
  ------------------
  |  Branch (7479:13): [True: 0, False: 0]
  ------------------
 7480|       |            // Make the dict but don't publish it in the object
 7481|       |            // so that no one else will see it.
 7482|      0|            dict = make_dict_from_instance_attributes(keys, values);
 7483|      0|            if (dict == NULL ||
  ------------------
  |  Branch (7483:17): [True: 0, False: 0]
  ------------------
 7484|      0|                _PyDict_SetItem_LockHeld(dict, name, value) < 0) {
  ------------------
  |  Branch (7484:17): [True: 0, False: 0]
  ------------------
 7485|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7486|      0|                return -1;
 7487|      0|            }
 7488|       |
 7489|      0|            FT_ATOMIC_STORE_PTR_RELEASE(_PyObject_ManagedDictPointer(obj)->dict,
  ------------------
  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7490|      0|                                        (PyDictObject *)dict);
 7491|      0|            return 0;
 7492|      0|        }
 7493|       |
 7494|      0|        _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(dict);
 7495|       |
 7496|      0|        res = _PyDict_SetItem_LockHeld(dict, name, value);
 7497|      0|        return res;
 7498|      0|    }
 7499|       |
 7500|    897|    PyObject *old_value = values->values[ix];
 7501|    897|    if (old_value == NULL && value == NULL) {
  ------------------
  |  Branch (7501:9): [True: 858, False: 39]
  |  Branch (7501:30): [True: 0, False: 858]
  ------------------
 7502|      0|        PyErr_Format(PyExc_AttributeError,
 7503|      0|                        "'%.100s' object has no attribute '%U'",
 7504|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7505|      0|        (void)_PyObject_SetAttributeErrorContext(obj, name);
 7506|      0|        return -1;
 7507|      0|    }
 7508|       |
 7509|    897|    if (dict) {
  ------------------
  |  Branch (7509:9): [True: 0, False: 897]
  ------------------
 7510|      0|        PyDict_WatchEvent event = (old_value == NULL ? PyDict_EVENT_ADDED :
  ------------------
  |  Branch (7510:36): [True: 0, False: 0]
  ------------------
 7511|      0|                                   value == NULL ? PyDict_EVENT_DELETED :
  ------------------
  |  Branch (7511:36): [True: 0, False: 0]
  ------------------
 7512|      0|                                   PyDict_EVENT_MODIFIED);
 7513|      0|        _PyDict_NotifyEvent(event, dict, name, value);
 7514|      0|    }
 7515|       |
 7516|    897|    FT_ATOMIC_STORE_PTR_RELEASE(values->values[ix], Py_XNewRef(value));
  ------------------
  |  |  164|    897|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7517|       |
 7518|    897|    if (old_value == NULL) {
  ------------------
  |  Branch (7518:9): [True: 858, False: 39]
  ------------------
 7519|    858|        _PyDictValues_AddToInsertionOrder(values, ix);
 7520|    858|        if (dict) {
  ------------------
  |  Branch (7520:13): [True: 0, False: 858]
  ------------------
 7521|      0|            assert(dict->ma_values == values);
  ------------------
  |  Branch (7521:13): [True: 0, False: 0]
  ------------------
 7522|      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
  |  |  ------------------
  ------------------
 7523|      0|        }
 7524|    858|    }
 7525|     39|    else {
 7526|     39|        if (value == NULL) {
  ------------------
  |  Branch (7526:13): [True: 0, False: 39]
  ------------------
 7527|      0|            delete_index_from_values(values, ix);
 7528|      0|            if (dict) {
  ------------------
  |  Branch (7528:17): [True: 0, False: 0]
  ------------------
 7529|      0|                assert(dict->ma_values == values);
  ------------------
  |  Branch (7529:17): [True: 0, False: 0]
  ------------------
 7530|      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
  |  |  ------------------
  ------------------
 7531|      0|            }
 7532|      0|        }
 7533|     39|        Py_DECREF(old_value);
  ------------------
  |  |  430|     39|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     39|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     39|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7534|     39|    }
 7535|    897|    return 0;
 7536|    897|}
dictobject.c:clear_inline_values:
 7777|  50.7k|{
 7778|  50.7k|    if (values->valid) {
  ------------------
  |  Branch (7778:9): [True: 50.7k, False: 0]
  ------------------
 7779|  50.7k|        FT_ATOMIC_STORE_UINT8(values->valid, 0);
  ------------------
  |  |  155|  50.7k|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  ------------------
 7780|   549k|        for (Py_ssize_t i = 0; i < values->capacity; i++) {
  ------------------
  |  Branch (7780:32): [True: 499k, False: 50.7k]
  ------------------
 7781|       |            Py_CLEAR(values->values[i]);
  ------------------
  |  |  484|   499k|    do { \
  |  |  485|   499k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|   499k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|   499k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|   499k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|   499k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 442k, False: 56.9k]
  |  |  ------------------
  |  |  488|   442k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|   442k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|   442k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|   442k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   442k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   442k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|   442k|        } \
  |  |  491|   499k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 499k]
  |  |  ------------------
  ------------------
 7782|   499k|        }
 7783|  50.7k|    }
 7784|  50.7k|}
dictobject.c:set_keys:
  282|   486k|{
  283|   486k|    mp->ma_keys = keys;
  284|   486k|}
dictobject.c:dictkeys_decref:
  495|   936k|{
  496|   936k|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) < 0) {
  ------------------
  |  |  149|   936k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (496:9): [True: 197k, False: 738k]
  ------------------
  497|   197k|        assert(FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) == _Py_DICT_IMMORTAL_INITIAL_REFCNT);
  ------------------
  |  Branch (497:9): [True: 197k, False: 0]
  ------------------
  498|   197k|        return;
  499|   197k|    }
  500|   936k|    assert(FT_ATOMIC_LOAD_SSIZE(dk->dk_refcnt) > 0);
  ------------------
  |  Branch (500:5): [True: 738k, False: 0]
  ------------------
  501|       |#ifdef Py_REF_DEBUG
  502|       |    _Py_DecRefTotal(_PyThreadState_GET());
  503|       |#endif
  504|   738k|    if (DECREF_KEYS(dk) == 1) {
  ------------------
  |  |  263|   738k|#define DECREF_KEYS(dk)  dk->dk_refcnt--
  ------------------
  |  Branch (504:9): [True: 738k, False: 7]
  ------------------
  505|   738k|        if (DK_IS_UNICODE(dk)) {
  ------------------
  |  |  294|   738k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (294:27): [True: 663k, False: 74.9k]
  |  |  ------------------
  ------------------
  506|   663k|            PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(dk);
  507|   663k|            Py_ssize_t i, n;
  508|  4.10M|            for (i = 0, n = dk->dk_nentries; i < n; i++) {
  ------------------
  |  Branch (508:46): [True: 3.44M, False: 663k]
  ------------------
  509|  3.44M|                Py_XDECREF(entries[i].me_key);
  ------------------
  |  |  524|  3.44M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  510|  3.44M|                Py_XDECREF(entries[i].me_value);
  ------------------
  |  |  524|  3.44M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  3.44M|            }
  512|   663k|        }
  513|  74.9k|        else {
  514|  74.9k|            PyDictKeyEntry *entries = DK_ENTRIES(dk);
  515|  74.9k|            Py_ssize_t i, n;
  516|   852k|            for (i = 0, n = dk->dk_nentries; i < n; i++) {
  ------------------
  |  Branch (516:46): [True: 777k, False: 74.9k]
  ------------------
  517|   777k|                Py_XDECREF(entries[i].me_key);
  ------------------
  |  |  524|   777k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   777k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   777k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  518|   777k|                Py_XDECREF(entries[i].me_value);
  ------------------
  |  |  524|   777k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   777k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   777k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  519|   777k|            }
  520|  74.9k|        }
  521|   738k|        free_keys_object(dk, use_qsbr);
  522|   738k|    }
  523|   738k|}
dictobject.c:new_dict_with_shared_keys:
 1008|    297|{
 1009|    297|    size_t size = shared_keys_usable_size(keys);
 1010|    297|    PyDictValues *values = new_values(size);
 1011|    297|    if (values == NULL) {
  ------------------
  |  Branch (1011:9): [True: 0, False: 297]
  ------------------
 1012|      0|        return PyErr_NoMemory();
 1013|      0|    }
 1014|    297|    dictkeys_incref(keys);
 1015|  9.20k|    for (size_t i = 0; i < size; i++) {
  ------------------
  |  Branch (1015:24): [True: 8.91k, False: 297]
  ------------------
 1016|       |        values->values[i] = NULL;
 1017|  8.91k|    }
 1018|    297|    return new_dict(keys, values, 0, 1);
 1019|    297|}
dictobject.c:ensure_nonmanaged_dict:
 8075|  2.55M|{
 8076|  2.55M|    PyDictKeysObject *cached;
 8077|       |
 8078|  2.55M|    PyObject *dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*dictptr);
  ------------------
  |  |  150|  2.55M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 8079|  2.55M|    if (dict == NULL) {
  ------------------
  |  Branch (8079:9): [True: 417k, False: 2.13M]
  ------------------
 8080|       |#ifdef Py_GIL_DISABLED
 8081|       |        Py_BEGIN_CRITICAL_SECTION(obj);
 8082|       |        dict = *dictptr;
 8083|       |        if (dict != NULL) {
 8084|       |            goto done;
 8085|       |        }
 8086|       |#endif
 8087|   417k|        PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|   417k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   417k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   417k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8088|   417k|        if (_PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE) && (cached = CACHED_KEYS(tp))) {
  ------------------
  |  |  503|   417k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
                      if (_PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE) && (cached = CACHED_KEYS(tp))) {
  ------------------
  |  |  911|   414k|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
  |  Branch (8088:13): [True: 414k, False: 2.26k]
  |  Branch (8088:60): [True: 297, False: 414k]
  ------------------
 8089|    297|            assert(!_PyType_HasFeature(tp, Py_TPFLAGS_INLINE_VALUES));
  ------------------
  |  Branch (8089:13): [True: 297, False: 0]
  ------------------
 8090|    297|            dict = new_dict_with_shared_keys(cached);
 8091|    297|        }
 8092|   416k|        else {
 8093|   416k|            dict = PyDict_New();
 8094|   416k|        }
 8095|   417k|        FT_ATOMIC_STORE_PTR_RELEASE(*dictptr, dict);
  ------------------
  |  |  164|   417k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 8096|       |#ifdef Py_GIL_DISABLED
 8097|       |done:
 8098|       |        Py_END_CRITICAL_SECTION();
 8099|       |#endif
 8100|   417k|    }
 8101|  2.55M|    return dict;
 8102|  2.55M|}
dictobject.c:get_next_dict_keys_version:
 8151|    228|{
 8152|       |#ifdef Py_GIL_DISABLED
 8153|       |    uint32_t v;
 8154|       |    do {
 8155|       |        v = _Py_atomic_load_uint32_relaxed(
 8156|       |            &interp->dict_state.next_keys_version);
 8157|       |        if (v == 0) {
 8158|       |            return 0;
 8159|       |        }
 8160|       |    } while (!_Py_atomic_compare_exchange_uint32(
 8161|       |        &interp->dict_state.next_keys_version, &v, v + 1));
 8162|       |#else
 8163|    228|    if (interp->dict_state.next_keys_version == 0) {
  ------------------
  |  Branch (8163:9): [True: 0, False: 228]
  ------------------
 8164|      0|        return 0;
 8165|      0|    }
 8166|    228|    uint32_t v = interp->dict_state.next_keys_version++;
 8167|    228|#endif
 8168|    228|    return v;
 8169|    228|}
dictobject.c:ensure_shared_on_keys_version_assignment:
 1470|  2.54k|{
 1471|  2.54k|    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.54k|}
dictobject.c:validate_watcher_id:
 8199|  2.41k|{
 8200|  2.41k|    if (watcher_id < 0 || watcher_id >= DICT_MAX_WATCHERS) {
  ------------------
  |  |   11|  2.41k|#define DICT_MAX_WATCHERS 8
  ------------------
  |  Branch (8200:9): [True: 0, False: 2.41k]
  |  Branch (8200:27): [True: 0, False: 2.41k]
  ------------------
 8201|      0|        PyErr_Format(PyExc_ValueError, "Invalid dict watcher ID %d", watcher_id);
 8202|      0|        return -1;
 8203|      0|    }
 8204|  2.41k|    PyDict_WatchCallback cb = FT_ATOMIC_LOAD_PTR_RELAXED(
  ------------------
  |  |  153|  2.41k|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  ------------------
 8205|  2.41k|        interp->dict_state.watchers[watcher_id]);
 8206|  2.41k|    if (cb == NULL) {
  ------------------
  |  Branch (8206:9): [True: 0, False: 2.41k]
  ------------------
 8207|      0|        PyErr_Format(PyExc_ValueError, "No dict watcher set for ID %d", watcher_id);
 8208|      0|        return -1;
 8209|      0|    }
 8210|  2.41k|    return 0;
 8211|  2.41k|}
dictobject.c:frozendict_new_untracked:
 8493|      1|{
 8494|      1|    assert(PyObject_IsSubclass((PyObject*)type, (PyObject*)&PyFrozenDict_Type));
  ------------------
  |  Branch (8494:5): [True: 1, False: 0]
  ------------------
 8495|       |
 8496|      1|    PyObject *d = anydict_new_untracked(type);
 8497|      1|    if (d == NULL) {
  ------------------
  |  Branch (8497:9): [True: 0, False: 1]
  ------------------
 8498|      0|        return NULL;
 8499|      0|    }
 8500|      1|    assert(can_modify_dict(_PyAnyDict_CAST(d)));
  ------------------
  |  Branch (8500:5): [True: 0, False: 1]
  |  Branch (8500:5): [True: 1, False: 0]
  |  Branch (8500:5): [True: 1, False: 0]
  ------------------
 8501|      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 (8501:5): [True: 1, False: 0]
  ------------------
 8502|      0|    return d;
 8503|      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);
  ------------------
  |  |  505|      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|  37.4k|{
  158|  37.4k|    enumobject *en = _enumobject_CAST(op);
  ------------------
  |  |   28|  37.4k|#define _enumobject_CAST(op)    ((enumobject *)(op))
  ------------------
  159|  37.4k|    PyObject_GC_UnTrack(en);
  160|  37.4k|    Py_XDECREF(en->en_sit);
  ------------------
  |  |  524|  37.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  37.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  161|  37.4k|    Py_XDECREF(en->en_result);
  ------------------
  |  |  524|  37.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  37.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  162|  37.4k|    Py_XDECREF(en->en_longindex);
  ------------------
  |  |  524|  37.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  37.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  163|  37.4k|    Py_TYPE(en)->tp_free(en);
  ------------------
  |  |  213|  37.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  37.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  164|  37.4k|}
enumobject.c:enum_traverse:
  168|      4|{
  169|      4|    enumobject *en = _enumobject_CAST(op);
  ------------------
  |  |   28|      4|#define _enumobject_CAST(op)    ((enumobject *)(op))
  ------------------
  170|      4|    Py_VISIT(en->en_sit);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  171|      4|    Py_VISIT(en->en_result);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  172|      4|    Py_VISIT(en->en_longindex);
  ------------------
  |  |  194|      4|    do {                                                                \
  |  |  195|      4|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  173|      4|    return 0;
  174|      4|}
enumobject.c:enum_next:
  234|   657k|{
  235|   657k|    enumobject *en = _enumobject_CAST(op);
  ------------------
  |  |   28|   657k|#define _enumobject_CAST(op)    ((enumobject *)(op))
  ------------------
  236|   657k|    PyObject *next_index;
  237|   657k|    PyObject *next_item;
  238|   657k|    PyObject *result = en->en_result;
  239|   657k|    PyObject *it = en->en_sit;
  240|   657k|    PyObject *old_index;
  241|   657k|    PyObject *old_item;
  242|       |
  243|   657k|    next_item = (*Py_TYPE(it)->tp_iternext)(it);
  ------------------
  |  |  213|   657k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   657k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   657k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|   657k|    if (next_item == NULL)
  ------------------
  |  Branch (244:9): [True: 36.3k, False: 620k]
  ------------------
  245|  36.3k|        return NULL;
  246|       |
  247|   620k|    Py_ssize_t en_index = FT_ATOMIC_LOAD_SSIZE_RELAXED(en->en_index);
  ------------------
  |  |  149|   620k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  248|   620k|    if (en_index == PY_SSIZE_T_MAX)
  ------------------
  |  |  137|   620k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (248:9): [True: 0, False: 620k]
  ------------------
  249|      0|        return enum_next_long(en, next_item);
  250|       |
  251|   620k|    next_index = PyLong_FromSsize_t(en_index);
  252|   620k|    if (next_index == NULL) {
  ------------------
  |  Branch (252:9): [True: 0, False: 620k]
  ------------------
  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|   620k|    FT_ATOMIC_STORE_SSIZE_RELAXED(en->en_index, en_index + 1);
  ------------------
  |  |  194|   620k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  257|       |
  258|   620k|    if (_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (258:9): [True: 620k, False: 0]
  ------------------
  259|   620k|        Py_INCREF(result);
  ------------------
  |  |  310|   620k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   620k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   620k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  260|   620k|        old_index = PyTuple_GET_ITEM(result, 0);
  ------------------
  |  |   29|   620k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   620k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   620k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (260:21): [True: 620k, False: 0]
  ------------------
  261|   620k|        old_item = PyTuple_GET_ITEM(result, 1);
  ------------------
  |  |   29|   620k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   620k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   620k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (261:20): [True: 620k, False: 0]
  ------------------
  262|   620k|        PyTuple_SET_ITEM(result, 0, next_index);
  ------------------
  |  |   40|   620k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   620k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   620k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   620k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   620k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  263|   620k|        PyTuple_SET_ITEM(result, 1, next_item);
  ------------------
  |  |   40|   620k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   620k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   620k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   620k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   620k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  264|   620k|        Py_DECREF(old_index);
  ------------------
  |  |  430|   620k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   620k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   620k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  265|   620k|        Py_DECREF(old_item);
  ------------------
  |  |  430|   620k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   620k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   620k|#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|   620k|        _PyTuple_Recycle(result);
  269|   620k|        return result;
  270|   620k|    }
  271|      0|    return _PyTuple_FromPairSteal(next_index, next_item);
  272|   620k|}
enumobject.c:enum_new_impl:
   50|  37.4k|{
   51|  37.4k|    enumobject *en;
   52|       |
   53|  37.4k|    en = (enumobject *)type->tp_alloc(type, 0);
   54|  37.4k|    if (en == NULL)
  ------------------
  |  Branch (54:9): [True: 0, False: 37.4k]
  ------------------
   55|      0|        return NULL;
   56|  37.4k|    if (start != NULL) {
  ------------------
  |  Branch (56:9): [True: 0, False: 37.4k]
  ------------------
   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|  37.4k|    } else {
   73|  37.4k|        en->en_index = 0;
   74|  37.4k|        en->en_longindex = NULL;
   75|  37.4k|    }
   76|  37.4k|    en->en_sit = PyObject_GetIter(iterable);
   77|  37.4k|    if (en->en_sit == NULL) {
  ------------------
  |  Branch (77:9): [True: 0, False: 37.4k]
  ------------------
   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|  37.4k|    en->en_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|  37.4k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  en->en_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|  37.4k|#  define Py_None (&_Py_NoneStruct)
  ------------------
   82|  37.4k|    if (en->en_result == NULL) {
  ------------------
  |  Branch (82:9): [True: 0, False: 37.4k]
  ------------------
   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|  37.4k|    en->one = _PyLong_GetOne();    /* borrowed reference */
   87|  37.4k|    return (PyObject *)en;
   88|  37.4k|}
enumobject.c:enumerate_vectorcall:
  106|  37.4k|{
  107|  37.4k|    PyTypeObject *tp = _PyType_CAST(type);
  ------------------
  |  |  770|  37.4k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  37.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (107:24): [True: 37.4k, False: 0]
  ------------------
  108|  37.4k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  37.4k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  109|  37.4k|    Py_ssize_t nkwargs = 0;
  110|  37.4k|    if (kwnames != NULL) {
  ------------------
  |  Branch (110:9): [True: 0, False: 37.4k]
  ------------------
  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|  37.4k|    if (nargs + nkwargs == 2) {
  ------------------
  |  Branch (115:9): [True: 0, False: 37.4k]
  ------------------
  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|  37.4k|    if (nargs + nkwargs == 1) {
  ------------------
  |  Branch (137:9): [True: 37.4k, False: 0]
  ------------------
  138|  37.4k|        if (nkwargs == 1 && !check_keyword(kwnames, 0, "iterable")) {
  ------------------
  |  Branch (138:13): [True: 0, False: 37.4k]
  |  Branch (138:29): [True: 0, False: 0]
  ------------------
  139|      0|            return NULL;
  140|      0|        }
  141|  37.4k|        return enum_new_impl(tp, args[0], NULL);
  142|  37.4k|    }
  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:
  368|    274|{
  369|    274|    Py_ssize_t n;
  370|    274|    PyObject *reversed_meth;
  371|    274|    reversedobject *ro;
  372|       |
  373|    274|    reversed_meth = _PyObject_LookupSpecial(seq, &_Py_ID(__reversed__));
  ------------------
  |  |  921|    274|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    274|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    274|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  374|    274|    if (reversed_meth == Py_None) {
  ------------------
  |  |  616|    274|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (374:9): [True: 0, False: 274]
  ------------------
  375|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  376|      0|        PyErr_Format(PyExc_TypeError,
  377|      0|                     "'%.200s' object is not reversible",
  378|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  379|      0|        return NULL;
  380|      0|    }
  381|    274|    if (reversed_meth != NULL) {
  ------------------
  |  Branch (381:9): [True: 274, False: 0]
  ------------------
  382|    274|        PyObject *res = _PyObject_CallNoArgs(reversed_meth);
  383|    274|        Py_DECREF(reversed_meth);
  ------------------
  |  |  430|    274|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    274|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    274|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  384|    274|        return res;
  385|    274|    }
  386|      0|    else if (PyErr_Occurred())
  ------------------
  |  Branch (386:14): [True: 0, False: 0]
  ------------------
  387|      0|        return NULL;
  388|       |
  389|      0|    if (!PySequence_Check(seq)) {
  ------------------
  |  Branch (389:9): [True: 0, False: 0]
  ------------------
  390|      0|        PyErr_Format(PyExc_TypeError,
  391|      0|                     "'%.200s' object is not reversible",
  392|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  393|      0|        return NULL;
  394|      0|    }
  395|       |
  396|      0|    n = PySequence_Size(seq);
  397|      0|    if (n == -1)
  ------------------
  |  Branch (397:9): [True: 0, False: 0]
  ------------------
  398|      0|        return NULL;
  399|       |
  400|      0|    ro = (reversedobject *)type->tp_alloc(type, 0);
  401|      0|    if (ro == NULL)
  ------------------
  |  Branch (401:9): [True: 0, False: 0]
  ------------------
  402|      0|        return NULL;
  403|       |
  404|      0|    ro->index = n-1;
  405|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  406|      0|    return (PyObject *)ro;
  407|      0|}
enumobject.c:reversed_vectorcall:
  412|    274|{
  413|    274|    if (!_PyArg_NoKwnames("reversed", kwnames)) {
  ------------------
  |  |   15|    274|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 274, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  414|      0|        return NULL;
  415|      0|    }
  416|       |
  417|    274|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    274|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  418|    274|    if (!_PyArg_CheckPositional("reversed", nargs, 1, 1)) {
  ------------------
  |  |   31|    274|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 274, False: 0]
  |  |  |  Branch (31:27): [True: 274, False: 0]
  |  |  ------------------
  |  |   32|    274|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  419|      0|        return NULL;
  420|      0|    }
  421|       |
  422|    274|    return reversed_new_impl(_PyType_CAST(type), args[0]);
  ------------------
  |  |  770|    274|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    274|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (422:30): [True: 274, False: 0]
  ------------------
  423|    274|}

PyException_GetTraceback:
  514|   167k|{
  515|   167k|    PyObject *traceback;
  516|   167k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|   167k|    {
  ------------------
  517|   167k|    traceback = Py_XNewRef(PyBaseExceptionObject_CAST(self)->traceback);
  ------------------
  |  |  551|   167k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   167k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   167k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  518|   167k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   167k|    }
  ------------------
  519|   167k|    return traceback;
  520|   167k|}
PyException_SetTraceback:
  525|  43.3k|{
  526|  43.3k|    int res;
  527|  43.3k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  43.3k|    {
  ------------------
  528|  43.3k|    res = BaseException___traceback___set_impl(PyBaseExceptionObject_CAST(self), tb);
  529|  43.3k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  43.3k|    }
  ------------------
  530|  43.3k|    return res;
  531|  43.3k|}
PyException_SetCause:
  546|    277|{
  547|    277|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    277|    {
  ------------------
  548|    277|    PyBaseExceptionObject *base_self = PyBaseExceptionObject_CAST(self);
  549|    277|    base_self->suppress_context = 1;
  550|    277|    Py_XSETREF(base_self->cause, cause);
  ------------------
  |  |  376|    277|    do { \
  |  |  377|    277|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    277|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|    277|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    277|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|    277|        *_tmp_dst_ptr = (src); \
  |  |  380|    277|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    277|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    277|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    277|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|    277|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 277]
  |  |  ------------------
  ------------------
  551|    277|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    277|    }
  ------------------
  552|    277|}
PyException_GetContext:
  556|  2.72k|{
  557|  2.72k|    PyObject *context;
  558|  2.72k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  2.72k|    {
  ------------------
  559|  2.72k|    context = Py_XNewRef(PyBaseExceptionObject_CAST(self)->context);
  ------------------
  |  |  551|  2.72k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  560|  2.72k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.72k|    }
  ------------------
  561|  2.72k|    return context;
  562|  2.72k|}
PyException_SetContext:
  567|  1.64k|{
  568|  1.64k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  1.64k|    {
  ------------------
  569|  1.64k|    Py_XSETREF(PyBaseExceptionObject_CAST(self)->context, context);
  ------------------
  |  |  376|  1.64k|    do { \
  |  |  377|  1.64k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  1.64k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|  1.64k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.64k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|  1.64k|        *_tmp_dst_ptr = (src); \
  |  |  380|  1.64k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  1.64k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|  1.64k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 1.64k]
  |  |  ------------------
  ------------------
  570|  1.64k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.64k|    }
  ------------------
  571|  1.64k|}
PyUnicodeDecodeError_Create:
 3991|  3.33k|{
 3992|  3.33k|    return PyObject_CallFunction(PyExc_UnicodeDecodeError, "sy#nns",
 3993|  3.33k|                                 encoding, object, length, start, end, reason);
 3994|  3.33k|}
_PyExc_InitTypes:
 4553|      2|{
 4554|    140|    for (size_t i=0; i < Py_ARRAY_LENGTH(static_exceptions); i++) {
  ------------------
  |  |  196|    140|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (4554:22): [True: 138, False: 2]
  ------------------
 4555|    138|        PyTypeObject *exc = static_exceptions[i].exc;
 4556|    138|        if (_PyStaticType_InitBuiltin(interp, exc) < 0) {
  ------------------
  |  Branch (4556:13): [True: 0, False: 138]
  ------------------
 4557|      0|            return -1;
 4558|      0|        }
 4559|    138|        if (exc->tp_new == BaseException_new
  ------------------
  |  Branch (4559:13): [True: 102, False: 36]
  ------------------
 4560|    102|            && exc->tp_init == BaseException_init)
  ------------------
  |  Branch (4560:16): [True: 72, False: 30]
  ------------------
 4561|     72|        {
 4562|     72|            exc->tp_vectorcall = BaseException_vectorcall;
 4563|     72|        }
 4564|    138|    }
 4565|      2|    return 0;
 4566|      2|}
_PyExc_InitGlobalObjects:
 4581|      2|{
 4582|      2|    if (preallocate_memerrors() < 0) {
  ------------------
  |  Branch (4582:9): [True: 0, False: 2]
  ------------------
 4583|      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)}
  |  |  ------------------
  ------------------
 4584|      0|    }
 4585|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4586|      2|}
_PyExc_InitState:
 4590|      2|{
 4591|      2|    struct _Py_exc_state *state = &interp->exc_state;
 4592|       |
 4593|      2|#define ADD_ERRNO(TYPE, CODE) \
 4594|      2|    do { \
 4595|      2|        PyObject *_code = PyLong_FromLong(CODE); \
 4596|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
 4597|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
 4598|      2|            Py_XDECREF(_code); \
 4599|      2|            return _PyStatus_ERR("errmap insertion problem."); \
 4600|      2|        } \
 4601|      2|        Py_DECREF(_code); \
 4602|      2|    } while (0)
 4603|       |
 4604|       |    /* Add exceptions to errnomap */
 4605|      2|    assert(state->errnomap == NULL);
  ------------------
  |  Branch (4605:5): [True: 2, False: 0]
  ------------------
 4606|      2|    state->errnomap = PyDict_New();
 4607|      2|    if (!state->errnomap) {
  ------------------
  |  Branch (4607:9): [True: 0, False: 2]
  ------------------
 4608|      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)}
  |  |  ------------------
  ------------------
 4609|      0|    }
 4610|       |
 4611|      2|    ADD_ERRNO(BlockingIOError, EAGAIN);
  ------------------
  |  | 4594|      2|    do { \
  |  | 4595|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4596|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4597|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4597:13): [True: 0, False: 2]
  |  |  |  Branch (4597:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4598|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4599|      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)}
  |  |  ------------------
  |  | 4600|      0|        } \
  |  | 4601|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4602|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4602:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4611:5): [True: 2, False: 0]
  ------------------
 4612|      2|    ADD_ERRNO(BlockingIOError, EALREADY);
  ------------------
  |  | 4594|      2|    do { \
  |  | 4595|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4596|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4597|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4597:13): [True: 0, False: 2]
  |  |  |  Branch (4597:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4598|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4599|      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)}
  |  |  ------------------
  |  | 4600|      0|        } \
  |  | 4601|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4602|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4602:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4612:5): [True: 2, False: 0]
  ------------------
 4613|      2|    ADD_ERRNO(BlockingIOError, EINPROGRESS);
  ------------------
  |  | 4594|      2|    do { \
  |  | 4595|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4596|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4597|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4597:13): [True: 0, False: 2]
  |  |  |  Branch (4597:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4598|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4599|      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)}
  |  |  ------------------
  |  | 4600|      0|        } \
  |  | 4601|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4602|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4602:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4613:5): [True: 2, False: 0]
  ------------------
 4614|      2|    ADD_ERRNO(BlockingIOError, EWOULDBLOCK);
  ------------------
  |  | 4594|      2|    do { \
  |  | 4595|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4596|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4597|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4597:13): [True: 0, False: 2]
  |  |  |  Branch (4597:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4598|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4599|      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)}
  |  |  ------------------
  |  | 4600|      0|        } \
  |  | 4601|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4602|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4602:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4614:5): [True: 2, False: 0]
  ------------------
 4615|      2|    ADD_ERRNO(BrokenPipeError, EPIPE);
  ------------------
  |  | 4594|      2|    do { \
  |  | 4595|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4596|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4597|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4597:13): [True: 0, False: 2]
  |  |  |  Branch (4597:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4598|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4599|      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)}
  |  |  ------------------
  |  | 4600|      0|        } \
  |  | 4601|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4602|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4602:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4615:5): [True: 2, False: 0]
  ------------------
 4616|      2|#ifdef ESHUTDOWN
 4617|      2|    ADD_ERRNO(BrokenPipeError, ESHUTDOWN);
  ------------------
  |  | 4594|      2|    do { \
  |  | 4595|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4596|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4597|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4597:13): [True: 0, False: 2]
  |  |  |  Branch (4597:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4598|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4599|      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)}
  |  |  ------------------
  |  | 4600|      0|        } \
  |  | 4601|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4602|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4602:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4617:5): [True: 2, False: 0]
  ------------------
 4618|      2|#endif
 4619|      2|    ADD_ERRNO(ChildProcessError, ECHILD);
  ------------------
  |  | 4594|      2|    do { \
  |  | 4595|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4596|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4597|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4597:13): [True: 0, False: 2]
  |  |  |  Branch (4597:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4598|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4599|      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)}
  |  |  ------------------
  |  | 4600|      0|        } \
  |  | 4601|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4602|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4602:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4619:5): [True: 2, False: 0]
  ------------------
 4620|      2|    ADD_ERRNO(ConnectionAbortedError, ECONNABORTED);
  ------------------
  |  | 4594|      2|    do { \
  |  | 4595|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4596|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4597|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4597:13): [True: 0, False: 2]
  |  |  |  Branch (4597:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4598|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4599|      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)}
  |  |  ------------------
  |  | 4600|      0|        } \
  |  | 4601|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4602|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4602:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4620:5): [True: 2, False: 0]
  ------------------
 4621|      2|    ADD_ERRNO(ConnectionRefusedError, ECONNREFUSED);
  ------------------
  |  | 4594|      2|    do { \
  |  | 4595|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4596|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4597|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4597:13): [True: 0, False: 2]
  |  |  |  Branch (4597:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4598|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4599|      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)}
  |  |  ------------------
  |  | 4600|      0|        } \
  |  | 4601|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4602|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4602:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4621:5): [True: 2, False: 0]
  ------------------
 4622|      2|    ADD_ERRNO(ConnectionResetError, ECONNRESET);
  ------------------
  |  | 4594|      2|    do { \
  |  | 4595|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4596|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4597|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4597:13): [True: 0, False: 2]
  |  |  |  Branch (4597:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4598|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4599|      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)}
  |  |  ------------------
  |  | 4600|      0|        } \
  |  | 4601|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4602|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4602:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4622:5): [True: 2, False: 0]
  ------------------
 4623|      2|    ADD_ERRNO(FileExistsError, EEXIST);
  ------------------
  |  | 4594|      2|    do { \
  |  | 4595|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4596|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4597|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4597:13): [True: 0, False: 2]
  |  |  |  Branch (4597:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4598|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4599|      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)}
  |  |  ------------------
  |  | 4600|      0|        } \
  |  | 4601|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4602|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4602:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4623:5): [True: 2, False: 0]
  ------------------
 4624|      2|    ADD_ERRNO(FileNotFoundError, ENOENT);
  ------------------
  |  | 4594|      2|    do { \
  |  | 4595|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4596|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4597|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4597:13): [True: 0, False: 2]
  |  |  |  Branch (4597:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4598|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4599|      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)}
  |  |  ------------------
  |  | 4600|      0|        } \
  |  | 4601|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4602|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4602:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4624:5): [True: 2, False: 0]
  ------------------
 4625|      2|    ADD_ERRNO(IsADirectoryError, EISDIR);
  ------------------
  |  | 4594|      2|    do { \
  |  | 4595|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4596|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4597|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4597:13): [True: 0, False: 2]
  |  |  |  Branch (4597:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4598|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4599|      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)}
  |  |  ------------------
  |  | 4600|      0|        } \
  |  | 4601|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4602|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4602:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4625:5): [True: 2, False: 0]
  ------------------
 4626|      2|    ADD_ERRNO(NotADirectoryError, ENOTDIR);
  ------------------
  |  | 4594|      2|    do { \
  |  | 4595|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4596|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4597|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4597:13): [True: 0, False: 2]
  |  |  |  Branch (4597:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4598|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4599|      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)}
  |  |  ------------------
  |  | 4600|      0|        } \
  |  | 4601|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4602|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4602:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4626:5): [True: 2, False: 0]
  ------------------
 4627|      2|    ADD_ERRNO(InterruptedError, EINTR);
  ------------------
  |  | 4594|      2|    do { \
  |  | 4595|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4596|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4597|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4597:13): [True: 0, False: 2]
  |  |  |  Branch (4597:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4598|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4599|      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)}
  |  |  ------------------
  |  | 4600|      0|        } \
  |  | 4601|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4602|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4602:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4627:5): [True: 2, False: 0]
  ------------------
 4628|      2|    ADD_ERRNO(PermissionError, EACCES);
  ------------------
  |  | 4594|      2|    do { \
  |  | 4595|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4596|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4597|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4597:13): [True: 0, False: 2]
  |  |  |  Branch (4597:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4598|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4599|      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)}
  |  |  ------------------
  |  | 4600|      0|        } \
  |  | 4601|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4602|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4602:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4628:5): [True: 2, False: 0]
  ------------------
 4629|      2|    ADD_ERRNO(PermissionError, EPERM);
  ------------------
  |  | 4594|      2|    do { \
  |  | 4595|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4596|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4597|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4597:13): [True: 0, False: 2]
  |  |  |  Branch (4597:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4598|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4599|      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)}
  |  |  ------------------
  |  | 4600|      0|        } \
  |  | 4601|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4602|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4602:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4629:5): [True: 2, False: 0]
  ------------------
 4630|       |#ifdef ENOTCAPABLE
 4631|       |    // Extension for WASI capability-based security. Process lacks
 4632|       |    // capability to access a resource.
 4633|       |    ADD_ERRNO(PermissionError, ENOTCAPABLE);
 4634|       |#endif
 4635|      2|    ADD_ERRNO(ProcessLookupError, ESRCH);
  ------------------
  |  | 4594|      2|    do { \
  |  | 4595|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4596|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4597|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4597:13): [True: 0, False: 2]
  |  |  |  Branch (4597:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4598|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4599|      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)}
  |  |  ------------------
  |  | 4600|      0|        } \
  |  | 4601|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4602|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4602:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4635:5): [True: 2, False: 0]
  ------------------
 4636|      2|    ADD_ERRNO(TimeoutError, ETIMEDOUT);
  ------------------
  |  | 4594|      2|    do { \
  |  | 4595|      2|        PyObject *_code = PyLong_FromLong(CODE); \
  |  | 4596|      2|        assert(_PyObject_RealIsSubclass(PyExc_ ## TYPE, PyExc_OSError)); \
  |  | 4597|      2|        if (!_code || PyDict_SetItem(state->errnomap, _code, PyExc_ ## TYPE)) { \
  |  |  ------------------
  |  |  |  Branch (4597:13): [True: 0, False: 2]
  |  |  |  Branch (4597:23): [True: 0, False: 2]
  |  |  ------------------
  |  | 4598|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4599|      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)}
  |  |  ------------------
  |  | 4600|      0|        } \
  |  | 4601|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4602|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4602:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4636:5): [True: 2, False: 0]
  ------------------
 4637|       |#ifdef WSAETIMEDOUT
 4638|       |    ADD_ERRNO(TimeoutError, WSAETIMEDOUT);
 4639|       |#endif
 4640|       |
 4641|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4642|       |
 4643|      2|#undef ADD_ERRNO
 4644|      2|}
_PyBuiltins_AddExceptions:
 4650|      2|{
 4651|      2|    PyObject *mod_dict = PyModule_GetDict(bltinmod);
 4652|      2|    if (mod_dict == NULL) {
  ------------------
  |  Branch (4652:9): [True: 0, False: 2]
  ------------------
 4653|      0|        return -1;
 4654|      0|    }
 4655|       |
 4656|    140|    for (size_t i=0; i < Py_ARRAY_LENGTH(static_exceptions); i++) {
  ------------------
  |  |  196|    140|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (4656:22): [True: 138, False: 2]
  ------------------
 4657|    138|        struct static_exception item = static_exceptions[i];
 4658|       |
 4659|    138|        if (PyDict_SetItemString(mod_dict, item.name, (PyObject*)item.exc)) {
  ------------------
  |  Branch (4659:13): [True: 0, False: 138]
  ------------------
 4660|      0|            return -1;
 4661|      0|        }
 4662|    138|    }
 4663|       |
 4664|      2|    PyObject *PyExc_ExceptionGroup = create_exception_group_class();
 4665|      2|    if (!PyExc_ExceptionGroup) {
  ------------------
  |  Branch (4665:9): [True: 0, False: 2]
  ------------------
 4666|      0|        return -1;
 4667|      0|    }
 4668|      2|    if (PyDict_SetItemString(mod_dict, "ExceptionGroup", PyExc_ExceptionGroup)) {
  ------------------
  |  Branch (4668:9): [True: 0, False: 2]
  ------------------
 4669|      0|        return -1;
 4670|      0|    }
 4671|      2|    if (PyDict_SetItemString(mod_dict, "EnvironmentError", PyExc_OSError)) {
  ------------------
  |  Branch (4671:9): [True: 0, False: 2]
  ------------------
 4672|      0|        return -1;
 4673|      0|    }
 4674|      2|    if (PyDict_SetItemString(mod_dict, "IOError", PyExc_OSError)) {
  ------------------
  |  Branch (4674:9): [True: 0, False: 2]
  ------------------
 4675|      0|        return -1;
 4676|      0|    }
 4677|       |#ifdef MS_WINDOWS
 4678|       |    if (PyDict_SetItemString(mod_dict, "WindowsError", PyExc_OSError)) {
 4679|       |        return -1;
 4680|       |    }
 4681|       |#endif
 4682|      2|    return 0;
 4683|      2|}
_PyException_AddNote:
 4704|  1.99k|{
 4705|  1.99k|    if (!PyExceptionInstance_Check(exc)) {
  ------------------
  |  |   65|  1.99k|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.99k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4705:9): [True: 0, False: 1.99k]
  ------------------
 4706|      0|        PyErr_Format(PyExc_TypeError,
 4707|      0|                     "exc must be an exception, not '%s'",
 4708|      0|                     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4709|      0|        return -1;
 4710|      0|    }
 4711|  1.99k|    PyObject *r = BaseException_add_note(exc, note);
 4712|  1.99k|    int res = r == NULL ? -1 : 0;
  ------------------
  |  Branch (4712:15): [True: 0, False: 1.99k]
  ------------------
 4713|  1.99k|    Py_XDECREF(r);
  ------------------
  |  |  524|  1.99k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4714|  1.99k|    return res;
 4715|  1.99k|}
exceptions.c:PyBaseExceptionObject_CAST:
   45|   587k|{
   46|   587k|    assert(PyExceptionInstance_Check(exc));
  ------------------
  |  Branch (46:5): [True: 587k, False: 0]
  ------------------
   47|   587k|    return (PyBaseExceptionObject *)exc;
   48|   587k|}
exceptions.c:BaseException___traceback___set_impl:
  395|  43.3k|{
  396|  43.3k|    if (value == NULL) {
  ------------------
  |  Branch (396:9): [True: 0, False: 43.3k]
  ------------------
  397|      0|        PyErr_SetString(PyExc_TypeError, "__traceback__ may not be deleted");
  398|      0|        return -1;
  399|      0|    }
  400|  43.3k|    if (PyTraceBack_Check(value)) {
  ------------------
  |  |   14|  43.3k|#define PyTraceBack_Check(v) Py_IS_TYPE((v), &PyTraceBack_Type)
  |  |  ------------------
  |  |  |  |  215|  43.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  43.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  43.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 43.1k, False: 184]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  401|  43.1k|        Py_XSETREF(self->traceback, Py_NewRef(value));
  ------------------
  |  |  376|  43.1k|    do { \
  |  |  377|  43.1k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  43.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|  43.1k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  43.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|  43.1k|        *_tmp_dst_ptr = (src); \
  |  |  380|  43.1k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  43.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  43.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  43.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|  43.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 43.1k]
  |  |  ------------------
  ------------------
  402|  43.1k|    }
  403|    184|    else if (value == Py_None) {
  ------------------
  |  |  616|    184|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (403:14): [True: 184, False: 0]
  ------------------
  404|    184|        Py_CLEAR(self->traceback);
  ------------------
  |  |  484|    184|    do { \
  |  |  485|    184|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    184|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    184|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    184|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    184|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 184, False: 0]
  |  |  ------------------
  |  |  488|    184|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    184|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    184|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    184|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    184|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    184|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    184|        } \
  |  |  491|    184|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 184]
  |  |  ------------------
  ------------------
  405|    184|    }
  406|      0|    else {
  407|      0|        PyErr_SetString(PyExc_TypeError,
  408|      0|                        "__traceback__ must be a traceback or None");
  409|      0|        return -1;
  410|      0|    }
  411|  43.3k|    return 0;
  412|  43.3k|}
exceptions.c:BaseException_dealloc:
  141|   102k|{
  142|   102k|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
  143|   102k|    PyObject_GC_UnTrack(self);
  144|       |    // bpo-44348: The trashcan mechanism prevents stack overflow when deleting
  145|       |    // long chains of exceptions. For example, exceptions can be chained
  146|       |    // through the __context__ attributes or the __traceback__ attribute.
  147|   102k|    (void)BaseException_clear(op);
  148|   102k|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|   102k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   102k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   102k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  149|   102k|}
exceptions.c:BaseException_str:
  166|  48.7k|{
  167|  48.7k|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
  168|       |
  169|  48.7k|    PyObject *res;
  170|  48.7k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  48.7k|    {
  ------------------
  171|  48.7k|    switch (PyTuple_GET_SIZE(self->args)) {
  ------------------
  |  |   27|  48.7k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  172|      0|    case 0:
  ------------------
  |  Branch (172:5): [True: 0, False: 48.7k]
  ------------------
  173|      0|        res = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  174|      0|        break;
  175|  48.7k|    case 1:
  ------------------
  |  Branch (175:5): [True: 48.7k, False: 0]
  ------------------
  176|  48.7k|        res = PyObject_Str(PyTuple_GET_ITEM(self->args, 0));
  ------------------
  |  |   29|  48.7k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  48.7k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (176:28): [True: 48.7k, False: 0]
  ------------------
  177|      0|        break;
  178|      0|    default:
  ------------------
  |  Branch (178:5): [True: 0, False: 48.7k]
  ------------------
  179|      0|        res = PyObject_Str(self->args);
  180|      0|        break;
  181|  48.7k|    }
  182|  48.7k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  48.7k|    }
  ------------------
  183|  48.7k|    return res;
  184|  48.7k|}
exceptions.c:get_exc_state:
   33|  5.69k|{
   34|  5.69k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   35|  5.69k|    return &interp->exc_state;
   36|  5.69k|}
exceptions.c:ImportError_dealloc:
 1850|    197|{
 1851|    197|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|    197|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    197|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    197|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1852|    197|    (void)ImportError_clear(self);
 1853|    197|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|    197|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    197|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    197|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1854|    197|}
exceptions.c:PyImportErrorObject_CAST:
 1796|    394|{
 1797|    394|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_ImportError));
  ------------------
  |  Branch (1797:5): [True: 394, False: 0]
  ------------------
 1798|    394|    return (PyImportErrorObject *)self;
 1799|    394|}
exceptions.c:ImportError_clear:
 1839|    197|{
 1840|    197|    PyImportErrorObject *self = PyImportErrorObject_CAST(op);
 1841|    197|    Py_CLEAR(self->msg);
  ------------------
  |  |  484|    197|    do { \
  |  |  485|    197|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    197|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    197|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    197|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    197|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 197, False: 0]
  |  |  ------------------
  |  |  488|    197|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    197|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    197|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    197|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    197|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    197|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    197|        } \
  |  |  491|    197|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 197]
  |  |  ------------------
  ------------------
 1842|    197|    Py_CLEAR(self->name);
  ------------------
  |  |  484|    197|    do { \
  |  |  485|    197|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    197|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    197|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    197|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    197|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 185, False: 12]
  |  |  ------------------
  |  |  488|    185|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    185|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    185|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    185|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    185|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    185|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    185|        } \
  |  |  491|    197|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 197]
  |  |  ------------------
  ------------------
 1843|    197|    Py_CLEAR(self->path);
  ------------------
  |  |  484|    197|    do { \
  |  |  485|    197|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    197|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    197|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    197|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    197|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 13, False: 184]
  |  |  ------------------
  |  |  488|     13|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     13|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     13|            Py_DECREF(_tmp_old_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     13|        } \
  |  |  491|    197|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 197]
  |  |  ------------------
  ------------------
 1844|       |    Py_CLEAR(self->name_from);
  ------------------
  |  |  484|    197|    do { \
  |  |  485|    197|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    197|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    197|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    197|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    197|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1, False: 196]
  |  |  ------------------
  |  |  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|    197|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 197]
  |  |  ------------------
  ------------------
 1845|    197|    return BaseException_clear(op);
 1846|    197|}
exceptions.c:ImportError_init:
 1803|    197|{
 1804|    197|    static char *kwlist[] = {"name", "path", "name_from", 0};
 1805|    197|    PyObject *empty_tuple;
 1806|    197|    PyObject *msg = NULL;
 1807|    197|    PyObject *name = NULL;
 1808|    197|    PyObject *path = NULL;
 1809|    197|    PyObject *name_from = NULL;
 1810|       |
 1811|    197|    if (BaseException_init(op, args, NULL) == -1)
  ------------------
  |  Branch (1811:9): [True: 0, False: 197]
  ------------------
 1812|      0|        return -1;
 1813|       |
 1814|    197|    PyImportErrorObject *self = PyImportErrorObject_CAST(op);
 1815|    197|    empty_tuple = PyTuple_New(0);
 1816|    197|    if (!empty_tuple)
  ------------------
  |  Branch (1816:9): [True: 0, False: 197]
  ------------------
 1817|      0|        return -1;
 1818|    197|    if (!PyArg_ParseTupleAndKeywords(empty_tuple, kwds, "|$OOO:ImportError", kwlist,
  ------------------
  |  Branch (1818:9): [True: 0, False: 197]
  ------------------
 1819|    197|                                     &name, &path, &name_from)) {
 1820|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1821|      0|        return -1;
 1822|      0|    }
 1823|    197|    Py_DECREF(empty_tuple);
  ------------------
  |  |  430|    197|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    197|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    197|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1824|       |
 1825|    197|    Py_XSETREF(self->name, Py_XNewRef(name));
  ------------------
  |  |  376|    197|    do { \
  |  |  377|    197|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    197|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|    197|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    197|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|    197|        *_tmp_dst_ptr = (src); \
  |  |  380|    197|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    197|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    197|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    197|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|    197|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 197]
  |  |  ------------------
  ------------------
 1826|    197|    Py_XSETREF(self->path, Py_XNewRef(path));
  ------------------
  |  |  376|    197|    do { \
  |  |  377|    197|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    197|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|    197|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    197|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|    197|        *_tmp_dst_ptr = (src); \
  |  |  380|    197|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    197|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    197|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    197|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|    197|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 197]
  |  |  ------------------
  ------------------
 1827|    197|    Py_XSETREF(self->name_from, Py_XNewRef(name_from));
  ------------------
  |  |  376|    197|    do { \
  |  |  377|    197|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    197|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|    197|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    197|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|    197|        *_tmp_dst_ptr = (src); \
  |  |  380|    197|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    197|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    197|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    197|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|    197|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 197]
  |  |  ------------------
  ------------------
 1828|       |
 1829|    197|    if (PyTuple_GET_SIZE(args) == 1) {
  ------------------
  |  |   27|    197|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    197|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    197|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1829:9): [True: 197, False: 0]
  ------------------
 1830|    197|        msg = Py_NewRef(PyTuple_GET_ITEM(args, 0));
  ------------------
  |  |  550|    197|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    197|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    394|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 197, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1831|    197|    }
 1832|    197|    Py_XSETREF(self->msg, msg);
  ------------------
  |  |  376|    197|    do { \
  |  |  377|    197|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    197|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|    197|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    197|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|    197|        *_tmp_dst_ptr = (src); \
  |  |  380|    197|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    197|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    197|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    197|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|    197|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 197]
  |  |  ------------------
  ------------------
 1833|       |
 1834|    197|    return 0;
 1835|    197|}
exceptions.c:OSError_dealloc:
 2324|  5.52k|{
 2325|  5.52k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|  5.52k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2326|  5.52k|    (void)OSError_clear(self);
 2327|  5.52k|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  5.52k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2328|  5.52k|}
exceptions.c:PyOSErrorObject_CAST:
 2038|  11.0k|{
 2039|  11.0k|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_OSError));
  ------------------
  |  Branch (2039:5): [True: 11.0k, False: 0]
  ------------------
 2040|  11.0k|    return (PyOSErrorObject *)self;
 2041|  11.0k|}
exceptions.c:OSError_clear:
 2310|  5.52k|{
 2311|  5.52k|    PyOSErrorObject *self = PyOSErrorObject_CAST(op);
 2312|  5.52k|    Py_CLEAR(self->myerrno);
  ------------------
  |  |  484|  5.52k|    do { \
  |  |  485|  5.52k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  5.52k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  5.52k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  5.52k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  5.52k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 5.52k, False: 0]
  |  |  ------------------
  |  |  488|  5.52k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  5.52k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  5.52k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  5.52k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  5.52k|        } \
  |  |  491|  5.52k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 5.52k]
  |  |  ------------------
  ------------------
 2313|  5.52k|    Py_CLEAR(self->strerror);
  ------------------
  |  |  484|  5.52k|    do { \
  |  |  485|  5.52k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  5.52k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  5.52k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  5.52k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  5.52k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 5.52k, False: 0]
  |  |  ------------------
  |  |  488|  5.52k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  5.52k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  5.52k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  5.52k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  5.52k|        } \
  |  |  491|  5.52k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 5.52k]
  |  |  ------------------
  ------------------
 2314|  5.52k|    Py_CLEAR(self->filename);
  ------------------
  |  |  484|  5.52k|    do { \
  |  |  485|  5.52k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  5.52k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  5.52k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  5.52k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  5.52k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 5.52k, False: 0]
  |  |  ------------------
  |  |  488|  5.52k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  5.52k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  5.52k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  5.52k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  5.52k|        } \
  |  |  491|  5.52k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 5.52k]
  |  |  ------------------
  ------------------
 2315|  5.52k|    Py_CLEAR(self->filename2);
  ------------------
  |  |  484|  5.52k|    do { \
  |  |  485|  5.52k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  5.52k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  5.52k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  5.52k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  5.52k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 5.52k]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_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.52k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 5.52k]
  |  |  ------------------
  ------------------
 2316|       |#ifdef MS_WINDOWS
 2317|       |    Py_CLEAR(self->winerror);
 2318|       |#endif
 2319|  5.52k|    return BaseException_clear(op);
 2320|  5.52k|}
exceptions.c:OSError_init:
 2271|  5.52k|{
 2272|  5.52k|    PyOSErrorObject *self = PyOSErrorObject_CAST(op);
 2273|  5.52k|    PyObject *myerrno = NULL, *strerror = NULL;
 2274|  5.52k|    PyObject *filename = NULL, *filename2 = NULL;
 2275|       |#ifdef MS_WINDOWS
 2276|       |    PyObject *winerror = NULL;
 2277|       |#endif
 2278|       |
 2279|  5.52k|    if (!oserror_use_init(Py_TYPE(self)))
  ------------------
  |  |  213|  5.52k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2279:9): [True: 5.52k, False: 0]
  ------------------
 2280|       |        /* Everything already done in OSError_new */
 2281|  5.52k|        return 0;
 2282|       |
 2283|      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]
  |  |  ------------------
  ------------------
 2284|      0|        return -1;
 2285|       |
 2286|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2287|      0|    if (oserror_parse_args(&args, &myerrno, &strerror, &filename, &filename2
  ------------------
  |  Branch (2287:9): [True: 0, False: 0]
  ------------------
 2288|       |#ifdef MS_WINDOWS
 2289|       |                           , &winerror
 2290|       |#endif
 2291|      0|        ))
 2292|      0|        goto error;
 2293|       |
 2294|      0|    if (oserror_init(self, &args, myerrno, strerror, filename, filename2
  ------------------
  |  Branch (2294:9): [True: 0, False: 0]
  ------------------
 2295|       |#ifdef MS_WINDOWS
 2296|       |                     , winerror
 2297|       |#endif
 2298|      0|        ))
 2299|      0|        goto error;
 2300|       |
 2301|      0|    return 0;
 2302|       |
 2303|      0|error:
 2304|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2305|      0|    return -1;
 2306|      0|}
exceptions.c:oserror_use_init:
 2183|  16.5k|{
 2184|       |    /* When __init__ is defined in an OSError subclass, we want any
 2185|       |       extraneous argument to __new__ to be ignored.  The only reasonable
 2186|       |       solution, given __new__ takes a variable number of arguments,
 2187|       |       is to defer arg parsing and initialization to __init__.
 2188|       |
 2189|       |       But when __new__ is overridden as well, it should call our __new__
 2190|       |       with the right arguments.
 2191|       |
 2192|       |       (see http://bugs.python.org/issue12555#msg148829 )
 2193|       |    */
 2194|  16.5k|    if (type->tp_init != OSError_init && type->tp_new == OSError_new) {
  ------------------
  |  Branch (2194:9): [True: 0, False: 16.5k]
  |  Branch (2194:42): [True: 0, False: 0]
  ------------------
 2195|      0|        assert((PyObject *) type != PyExc_OSError);
  ------------------
  |  Branch (2195:9): [True: 0, False: 0]
  ------------------
 2196|      0|        return 1;
 2197|      0|    }
 2198|  16.5k|    return 0;
 2199|  16.5k|}
exceptions.c:oserror_parse_args:
 2072|  5.52k|{
 2073|  5.52k|    Py_ssize_t nargs;
 2074|  5.52k|    PyObject *args = *p_args;
 2075|  5.52k|#ifndef MS_WINDOWS
 2076|       |    /*
 2077|       |     * ignored on non-Windows platforms,
 2078|       |     * but parsed so OSError has a consistent signature
 2079|       |     */
 2080|  5.52k|    PyObject *_winerror = NULL;
 2081|  5.52k|    PyObject **winerror = &_winerror;
 2082|  5.52k|#endif /* MS_WINDOWS */
 2083|       |
 2084|  5.52k|    nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  5.52k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2085|       |
 2086|  5.52k|    if (nargs >= 2 && nargs <= 5) {
  ------------------
  |  Branch (2086:9): [True: 5.52k, False: 0]
  |  Branch (2086:23): [True: 5.52k, False: 0]
  ------------------
 2087|  5.52k|        if (!PyArg_UnpackTuple(args, "OSError", 2, 5,
  ------------------
  |  Branch (2087:13): [True: 0, False: 5.52k]
  ------------------
 2088|  5.52k|                               myerrno, strerror,
 2089|  5.52k|                               filename, winerror, filename2))
 2090|      0|            return -1;
 2091|       |#ifdef MS_WINDOWS
 2092|       |        if (*winerror && PyLong_Check(*winerror)) {
 2093|       |            long errcode, winerrcode;
 2094|       |            PyObject *newargs;
 2095|       |            Py_ssize_t i;
 2096|       |
 2097|       |            winerrcode = PyLong_AsLong(*winerror);
 2098|       |            if (winerrcode == -1 && PyErr_Occurred())
 2099|       |                return -1;
 2100|       |            errcode = winerror_to_errno(winerrcode);
 2101|       |            *myerrno = PyLong_FromLong(errcode);
 2102|       |            if (!*myerrno)
 2103|       |                return -1;
 2104|       |            newargs = PyTuple_New(nargs);
 2105|       |            if (!newargs)
 2106|       |                return -1;
 2107|       |            PyTuple_SET_ITEM(newargs, 0, *myerrno);
 2108|       |            for (i = 1; i < nargs; i++) {
 2109|       |                PyObject *val = PyTuple_GET_ITEM(args, i);
 2110|       |                PyTuple_SET_ITEM(newargs, i, Py_NewRef(val));
 2111|       |            }
 2112|       |            Py_DECREF(args);
 2113|       |            args = *p_args = newargs;
 2114|       |        }
 2115|       |#endif /* MS_WINDOWS */
 2116|  5.52k|    }
 2117|       |
 2118|  5.52k|    return 0;
 2119|  5.52k|}
exceptions.c:oserror_init:
 2129|  5.52k|{
 2130|  5.52k|    PyObject *args = *p_args;
 2131|  5.52k|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  5.52k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2132|       |
 2133|       |    /* self->filename will remain Py_None otherwise */
 2134|  5.52k|    if (filename && filename != Py_None) {
  ------------------
  |  |  616|  5.52k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2134:9): [True: 5.52k, False: 0]
  |  Branch (2134:21): [True: 5.52k, False: 0]
  ------------------
 2135|  5.52k|        if (Py_IS_TYPE(self, (PyTypeObject *) PyExc_BlockingIOError) &&
  ------------------
  |  |  215|  11.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  5.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 5.52k]
  |  |  ------------------
  ------------------
 2136|      0|            PyNumber_Check(filename)) {
  ------------------
  |  Branch (2136:13): [True: 0, False: 0]
  ------------------
 2137|       |            /* BlockingIOError's 3rd argument can be the number of
 2138|       |             * characters written.
 2139|       |             */
 2140|      0|            self->written = PyNumber_AsSsize_t(filename, PyExc_ValueError);
 2141|      0|            if (self->written == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2141:17): [True: 0, False: 0]
  |  Branch (2141:40): [True: 0, False: 0]
  ------------------
 2142|      0|                return -1;
 2143|      0|        }
 2144|  5.52k|        else {
 2145|  5.52k|            Py_XSETREF(self->filename, Py_NewRef(filename));
  ------------------
  |  |  376|  5.52k|    do { \
  |  |  377|  5.52k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  5.52k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|  5.52k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  5.52k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|  5.52k|        *_tmp_dst_ptr = (src); \
  |  |  380|  5.52k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  5.52k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|  5.52k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 5.52k]
  |  |  ------------------
  ------------------
 2146|       |
 2147|  5.52k|            if (filename2 && filename2 != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2147:17): [True: 0, False: 5.52k]
  |  Branch (2147:30): [True: 0, False: 0]
  ------------------
 2148|      0|                Py_XSETREF(self->filename2, Py_NewRef(filename2));
  ------------------
  |  |  376|      0|    do { \
  |  |  377|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|      0|        *_tmp_dst_ptr = (src); \
  |  |  380|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2149|      0|            }
 2150|       |
 2151|  5.52k|            if (nargs >= 2 && nargs <= 5) {
  ------------------
  |  Branch (2151:17): [True: 5.52k, False: 0]
  |  Branch (2151:31): [True: 5.52k, False: 0]
  ------------------
 2152|       |                /* filename, filename2, and winerror are removed from the args tuple
 2153|       |                   (for compatibility purposes, see test_exceptions.py) */
 2154|  5.52k|                PyObject *subslice = PyTuple_GetSlice(args, 0, 2);
 2155|  5.52k|                if (!subslice)
  ------------------
  |  Branch (2155:21): [True: 0, False: 5.52k]
  ------------------
 2156|      0|                    return -1;
 2157|       |
 2158|  5.52k|                Py_DECREF(args);  /* replacing args */
  ------------------
  |  |  430|  5.52k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2159|  5.52k|                *p_args = args = subslice;
 2160|  5.52k|            }
 2161|  5.52k|        }
 2162|  5.52k|    }
 2163|  5.52k|    Py_XSETREF(self->myerrno, Py_XNewRef(myerrno));
  ------------------
  |  |  376|  5.52k|    do { \
  |  |  377|  5.52k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  5.52k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|  5.52k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  5.52k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|  5.52k|        *_tmp_dst_ptr = (src); \
  |  |  380|  5.52k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  5.52k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|  5.52k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 5.52k]
  |  |  ------------------
  ------------------
 2164|  5.52k|    Py_XSETREF(self->strerror, Py_XNewRef(strerror));
  ------------------
  |  |  376|  5.52k|    do { \
  |  |  377|  5.52k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  5.52k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|  5.52k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  5.52k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|  5.52k|        *_tmp_dst_ptr = (src); \
  |  |  380|  5.52k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  5.52k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|  5.52k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 5.52k]
  |  |  ------------------
  ------------------
 2165|       |#ifdef MS_WINDOWS
 2166|       |    Py_XSETREF(self->winerror, Py_XNewRef(winerror));
 2167|       |#endif
 2168|       |
 2169|       |    /* Steals the reference to args */
 2170|  5.52k|    Py_XSETREF(self->args, args);
  ------------------
  |  |  376|  5.52k|    do { \
  |  |  377|  5.52k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  5.52k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|  5.52k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  5.52k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|  5.52k|        *_tmp_dst_ptr = (src); \
  |  |  380|  5.52k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  5.52k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|  5.52k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 5.52k]
  |  |  ------------------
  ------------------
 2171|  5.52k|    *p_args = args = NULL;
 2172|       |
 2173|  5.52k|    return 0;
 2174|  5.52k|}
exceptions.c:OSError_new:
 2203|  5.52k|{
 2204|  5.52k|    PyOSErrorObject *self = NULL;
 2205|  5.52k|    PyObject *myerrno = NULL, *strerror = NULL;
 2206|  5.52k|    PyObject *filename = NULL, *filename2 = NULL;
 2207|       |#ifdef MS_WINDOWS
 2208|       |    PyObject *winerror = NULL;
 2209|       |#endif
 2210|       |
 2211|  5.52k|    Py_INCREF(args);
  ------------------
  |  |  310|  5.52k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2212|       |
 2213|  5.52k|    if (!oserror_use_init(type)) {
  ------------------
  |  Branch (2213:9): [True: 5.52k, False: 0]
  ------------------
 2214|  5.52k|        if (!_PyArg_NoKeywords(type->tp_name, kwds))
  ------------------
  |  |   25|  5.52k|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 5.52k, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2215|      0|            goto error;
 2216|       |
 2217|  5.52k|        if (oserror_parse_args(&args, &myerrno, &strerror,
  ------------------
  |  Branch (2217:13): [True: 0, False: 5.52k]
  ------------------
 2218|  5.52k|                               &filename, &filename2
 2219|       |#ifdef MS_WINDOWS
 2220|       |                               , &winerror
 2221|       |#endif
 2222|  5.52k|            ))
 2223|      0|            goto error;
 2224|       |
 2225|  5.52k|        struct _Py_exc_state *state = get_exc_state();
 2226|  5.52k|        if (myerrno && PyLong_Check(myerrno) &&
  ------------------
  |  |   13|  5.52k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  11.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 5.52k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2226:13): [True: 5.52k, False: 0]
  ------------------
 2227|  5.52k|            state->errnomap && (PyObject *) type == PyExc_OSError) {
  ------------------
  |  Branch (2227:13): [True: 5.52k, False: 0]
  |  Branch (2227:32): [True: 5.52k, False: 0]
  ------------------
 2228|  5.52k|            PyObject *newtype;
 2229|  5.52k|            newtype = PyDict_GetItemWithError(state->errnomap, myerrno);
 2230|  5.52k|            if (newtype) {
  ------------------
  |  Branch (2230:17): [True: 5.52k, False: 0]
  ------------------
 2231|  5.52k|                type = _PyType_CAST(newtype);
  ------------------
  |  |  770|  5.52k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  5.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2231:24): [True: 5.52k, False: 0]
  ------------------
 2232|  5.52k|            }
 2233|      0|            else if (PyErr_Occurred())
  ------------------
  |  Branch (2233:22): [True: 0, False: 0]
  ------------------
 2234|      0|                goto error;
 2235|  5.52k|        }
 2236|  5.52k|    }
 2237|       |
 2238|  5.52k|    self = (PyOSErrorObject *) type->tp_alloc(type, 0);
 2239|  5.52k|    if (!self)
  ------------------
  |  Branch (2239:9): [True: 0, False: 5.52k]
  ------------------
 2240|      0|        goto error;
 2241|       |
 2242|  5.52k|    self->dict = NULL;
 2243|  5.52k|    self->traceback = self->cause = self->context = NULL;
 2244|  5.52k|    self->written = -1;
 2245|       |
 2246|  5.52k|    if (!oserror_use_init(type)) {
  ------------------
  |  Branch (2246:9): [True: 5.52k, False: 0]
  ------------------
 2247|  5.52k|        if (oserror_init(self, &args, myerrno, strerror, filename, filename2
  ------------------
  |  Branch (2247:13): [True: 0, False: 5.52k]
  ------------------
 2248|       |#ifdef MS_WINDOWS
 2249|       |                         , winerror
 2250|       |#endif
 2251|  5.52k|            ))
 2252|      0|            goto error;
 2253|  5.52k|    }
 2254|      0|    else {
 2255|      0|        self->args = PyTuple_New(0);
 2256|      0|        if (self->args == NULL)
  ------------------
  |  Branch (2256:13): [True: 0, False: 0]
  ------------------
 2257|      0|            goto error;
 2258|      0|    }
 2259|       |
 2260|  5.52k|    Py_XDECREF(args);
  ------------------
  |  |  524|  5.52k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2261|  5.52k|    return (PyObject *) self;
 2262|       |
 2263|      0|error:
 2264|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2265|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2266|       |    return NULL;
 2267|  5.52k|}
exceptions.c:NameError_dealloc:
 2615|      1|{
 2616|      1|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2617|      1|    (void)NameError_clear(self);
 2618|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2619|      1|}
exceptions.c:PyNameErrorObject_CAST:
 2573|      2|{
 2574|      2|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_NameError));
  ------------------
  |  Branch (2574:5): [True: 2, False: 0]
  ------------------
 2575|      2|    return (PyNameErrorObject *)self;
 2576|      2|}
exceptions.c:NameError_clear:
 2607|      1|{
 2608|      1|    PyNameErrorObject *self = PyNameErrorObject_CAST(op);
 2609|       |    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]
  |  |  ------------------
  ------------------
 2610|      1|    return BaseException_clear(op);
 2611|      1|}
exceptions.c:NameError_init:
 2580|      1|{
 2581|      1|    static char *kwlist[] = {"name", NULL};
 2582|      1|    PyObject *name = NULL;
 2583|       |
 2584|      1|    if (BaseException_init(op, args, NULL) == -1) {
  ------------------
  |  Branch (2584:9): [True: 0, False: 1]
  ------------------
 2585|      0|        return -1;
 2586|      0|    }
 2587|       |
 2588|      1|    PyObject *empty_tuple = PyTuple_New(0);
 2589|      1|    if (!empty_tuple) {
  ------------------
  |  Branch (2589:9): [True: 0, False: 1]
  ------------------
 2590|      0|        return -1;
 2591|      0|    }
 2592|      1|    if (!PyArg_ParseTupleAndKeywords(empty_tuple, kwds, "|$O:NameError", kwlist,
  ------------------
  |  Branch (2592:9): [True: 0, False: 1]
  ------------------
 2593|      1|                                     &name)) {
 2594|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2595|      0|        return -1;
 2596|      0|    }
 2597|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2598|       |
 2599|      1|    PyNameErrorObject *self = PyNameErrorObject_CAST(op);
 2600|      1|    Py_XSETREF(self->name, Py_XNewRef(name));
  ------------------
  |  |  376|      1|    do { \
  |  |  377|      1|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|      1|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|      1|        *_tmp_dst_ptr = (src); \
  |  |  380|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2601|       |
 2602|      1|    return 0;
 2603|      1|}
exceptions.c:AttributeError_dealloc:
 2701|    571|{
 2702|    571|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|    571|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    571|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    571|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2703|    571|    (void)AttributeError_clear(self);
 2704|    571|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|    571|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    571|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    571|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2705|    571|}
exceptions.c:PyAttributeErrorObject_CAST:
 2656|  1.14k|{
 2657|  1.14k|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_AttributeError));
  ------------------
  |  Branch (2657:5): [True: 1.14k, False: 0]
  ------------------
 2658|  1.14k|    return (PyAttributeErrorObject *)self;
 2659|  1.14k|}
exceptions.c:AttributeError_clear:
 2692|    571|{
 2693|    571|    PyAttributeErrorObject *self = PyAttributeErrorObject_CAST(op);
 2694|    571|    Py_CLEAR(self->obj);
  ------------------
  |  |  484|    571|    do { \
  |  |  485|    571|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    571|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    571|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    571|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    571|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 539, False: 32]
  |  |  ------------------
  |  |  488|    539|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    539|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    539|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    539|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    539|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    539|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    539|        } \
  |  |  491|    571|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 571]
  |  |  ------------------
  ------------------
 2695|       |    Py_CLEAR(self->name);
  ------------------
  |  |  484|    571|    do { \
  |  |  485|    571|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    571|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    571|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    571|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    571|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 539, False: 32]
  |  |  ------------------
  |  |  488|    539|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    539|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    539|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    539|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    539|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    539|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    539|        } \
  |  |  491|    571|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 571]
  |  |  ------------------
  ------------------
 2696|    571|    return BaseException_clear(op);
 2697|    571|}
exceptions.c:AttributeError_init:
 2663|    571|{
 2664|    571|    static char *kwlist[] = {"name", "obj", NULL};
 2665|    571|    PyObject *name = NULL;
 2666|    571|    PyObject *obj = NULL;
 2667|       |
 2668|    571|    if (BaseException_init(op, args, NULL) == -1) {
  ------------------
  |  Branch (2668:9): [True: 0, False: 571]
  ------------------
 2669|      0|        return -1;
 2670|      0|    }
 2671|       |
 2672|    571|    PyObject *empty_tuple = PyTuple_New(0);
 2673|    571|    if (!empty_tuple) {
  ------------------
  |  Branch (2673:9): [True: 0, False: 571]
  ------------------
 2674|      0|        return -1;
 2675|      0|    }
 2676|    571|    if (!PyArg_ParseTupleAndKeywords(empty_tuple, kwds, "|$OO:AttributeError", kwlist,
  ------------------
  |  Branch (2676:9): [True: 0, False: 571]
  ------------------
 2677|    571|                                     &name, &obj)) {
 2678|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2679|      0|        return -1;
 2680|      0|    }
 2681|    571|    Py_DECREF(empty_tuple);
  ------------------
  |  |  430|    571|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    571|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    571|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2682|       |
 2683|    571|    PyAttributeErrorObject *self = PyAttributeErrorObject_CAST(op);
 2684|    571|    Py_XSETREF(self->name, Py_XNewRef(name));
  ------------------
  |  |  376|    571|    do { \
  |  |  377|    571|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    571|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|    571|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    571|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|    571|        *_tmp_dst_ptr = (src); \
  |  |  380|    571|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    571|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    571|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    571|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|    571|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 571]
  |  |  ------------------
  ------------------
 2685|    571|    Py_XSETREF(self->obj, Py_XNewRef(obj));
  ------------------
  |  |  376|    571|    do { \
  |  |  377|    571|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    571|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|    571|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    571|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|    571|        *_tmp_dst_ptr = (src); \
  |  |  380|    571|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    571|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    571|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    571|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|    571|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 571]
  |  |  ------------------
  ------------------
 2686|       |
 2687|    571|    return 0;
 2688|    571|}
exceptions.c:PySyntaxErrorObject_CAST:
 2842|  28.9k|{
 2843|  28.9k|    assert(PyObject_TypeCheck(self, (PyTypeObject *)PyExc_SyntaxError));
  ------------------
  |  Branch (2843:5): [True: 28.9k, False: 0]
  ------------------
 2844|  28.9k|    return (PySyntaxErrorObject *)self;
 2845|  28.9k|}
exceptions.c:SyntaxError_dealloc:
 2914|  14.4k|{
 2915|  14.4k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|  14.4k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2916|  14.4k|    (void)SyntaxError_clear(self);
 2917|  14.4k|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  14.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  14.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2918|  14.4k|}
exceptions.c:SyntaxError_clear:
 2898|  14.4k|{
 2899|  14.4k|    PySyntaxErrorObject *self = PySyntaxErrorObject_CAST(op);
 2900|  14.4k|    Py_CLEAR(self->msg);
  ------------------
  |  |  484|  14.4k|    do { \
  |  |  485|  14.4k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  14.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  14.4k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  14.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  14.4k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 14.4k, False: 0]
  |  |  ------------------
  |  |  488|  14.4k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  14.4k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  14.4k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  14.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  14.4k|        } \
  |  |  491|  14.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 14.4k]
  |  |  ------------------
  ------------------
 2901|  14.4k|    Py_CLEAR(self->filename);
  ------------------
  |  |  484|  14.4k|    do { \
  |  |  485|  14.4k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  14.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  14.4k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  14.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  14.4k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 14.4k, False: 0]
  |  |  ------------------
  |  |  488|  14.4k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  14.4k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  14.4k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  14.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  14.4k|        } \
  |  |  491|  14.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 14.4k]
  |  |  ------------------
  ------------------
 2902|  14.4k|    Py_CLEAR(self->lineno);
  ------------------
  |  |  484|  14.4k|    do { \
  |  |  485|  14.4k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  14.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  14.4k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  14.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  14.4k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 14.4k, False: 0]
  |  |  ------------------
  |  |  488|  14.4k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  14.4k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  14.4k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  14.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  14.4k|        } \
  |  |  491|  14.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 14.4k]
  |  |  ------------------
  ------------------
 2903|  14.4k|    Py_CLEAR(self->offset);
  ------------------
  |  |  484|  14.4k|    do { \
  |  |  485|  14.4k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  14.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  14.4k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  14.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  14.4k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 14.4k, False: 0]
  |  |  ------------------
  |  |  488|  14.4k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  14.4k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  14.4k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  14.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  14.4k|        } \
  |  |  491|  14.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 14.4k]
  |  |  ------------------
  ------------------
 2904|  14.4k|    Py_CLEAR(self->end_lineno);
  ------------------
  |  |  484|  14.4k|    do { \
  |  |  485|  14.4k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  14.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  14.4k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  14.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  14.4k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 12.8k, False: 1.63k]
  |  |  ------------------
  |  |  488|  12.8k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  12.8k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  12.8k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  12.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  12.8k|        } \
  |  |  491|  14.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 14.4k]
  |  |  ------------------
  ------------------
 2905|  14.4k|    Py_CLEAR(self->end_offset);
  ------------------
  |  |  484|  14.4k|    do { \
  |  |  485|  14.4k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  14.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  14.4k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  14.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  14.4k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 12.8k, False: 1.63k]
  |  |  ------------------
  |  |  488|  12.8k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  12.8k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  12.8k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  12.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  12.8k|        } \
  |  |  491|  14.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 14.4k]
  |  |  ------------------
  ------------------
 2906|  14.4k|    Py_CLEAR(self->text);
  ------------------
  |  |  484|  14.4k|    do { \
  |  |  485|  14.4k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  14.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  14.4k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  14.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  14.4k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 14.1k, False: 269]
  |  |  ------------------
  |  |  488|  14.1k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  14.1k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  14.1k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  14.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  14.1k|        } \
  |  |  491|  14.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 14.4k]
  |  |  ------------------
  ------------------
 2907|  14.4k|    Py_CLEAR(self->print_file_and_line);
  ------------------
  |  |  484|  14.4k|    do { \
  |  |  485|  14.4k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  14.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  14.4k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  14.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  14.4k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 14.4k]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|  14.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 14.4k]
  |  |  ------------------
  ------------------
 2908|       |    Py_CLEAR(self->metadata);
  ------------------
  |  |  484|  14.4k|    do { \
  |  |  485|  14.4k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  14.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  14.4k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  14.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  14.4k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 8.76k, False: 5.70k]
  |  |  ------------------
  |  |  488|  8.76k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  8.76k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  8.76k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  8.76k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  8.76k|        } \
  |  |  491|  14.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 14.4k]
  |  |  ------------------
  ------------------
 2909|  14.4k|    return BaseException_clear(op);
 2910|  14.4k|}
exceptions.c:SyntaxError_init:
 2849|  14.4k|{
 2850|  14.4k|    PyObject *info = NULL;
 2851|  14.4k|    Py_ssize_t lenargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  14.4k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2852|       |
 2853|  14.4k|    if (BaseException_init(op, args, kwds) == -1)
  ------------------
  |  Branch (2853:9): [True: 0, False: 14.4k]
  ------------------
 2854|      0|        return -1;
 2855|       |
 2856|  14.4k|    PySyntaxErrorObject *self = PySyntaxErrorObject_CAST(op);
 2857|  14.4k|    if (lenargs >= 1) {
  ------------------
  |  Branch (2857:9): [True: 14.4k, False: 0]
  ------------------
 2858|  14.4k|        Py_XSETREF(self->msg, Py_NewRef(PyTuple_GET_ITEM(args, 0)));
  ------------------
  |  |  376|  14.4k|    do { \
  |  |  377|  14.4k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  14.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|  14.4k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  14.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|  28.9k|        *_tmp_dst_ptr = (src); \
  |  |  ------------------
  |  |  |  Branch (379:26): [True: 14.4k, False: 0]
  |  |  ------------------
  |  |  380|  14.4k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  14.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|  14.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 14.4k]
  |  |  ------------------
  ------------------
 2859|  14.4k|    }
 2860|  14.4k|    if (lenargs == 2) {
  ------------------
  |  Branch (2860:9): [True: 14.1k, False: 269]
  ------------------
 2861|  14.1k|        info = PyTuple_GET_ITEM(args, 1);
  ------------------
  |  |   29|  14.1k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  14.1k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2861:16): [True: 14.1k, False: 0]
  ------------------
 2862|      0|        info = PySequence_Tuple(info);
 2863|  14.1k|        if (!info) {
  ------------------
  |  Branch (2863:13): [True: 0, False: 14.1k]
  ------------------
 2864|      0|            return -1;
 2865|      0|        }
 2866|       |
 2867|  14.1k|        PyObject *filename, *lineno, *offset, *text;
 2868|  14.1k|        PyObject *end_lineno = NULL;
 2869|  14.1k|        PyObject *end_offset = NULL;
 2870|  14.1k|        PyObject *metadata = NULL;
 2871|  14.1k|        if (!PyArg_ParseTuple(info, "OOOO|OOO",
  ------------------
  |  Branch (2871:13): [True: 0, False: 14.1k]
  ------------------
 2872|  14.1k|                              &filename, &lineno,
 2873|  14.1k|                              &offset, &text,
 2874|  14.1k|                              &end_lineno, &end_offset, &metadata)) {
 2875|      0|            Py_DECREF(info);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2876|      0|            return -1;
 2877|      0|        }
 2878|       |
 2879|  14.1k|        Py_XSETREF(self->filename, Py_NewRef(filename));
  ------------------
  |  |  376|  14.1k|    do { \
  |  |  377|  14.1k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  14.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|  14.1k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  14.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|  14.1k|        *_tmp_dst_ptr = (src); \
  |  |  380|  14.1k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  14.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|  14.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 14.1k]
  |  |  ------------------
  ------------------
 2880|  14.1k|        Py_XSETREF(self->lineno, Py_NewRef(lineno));
  ------------------
  |  |  376|  14.1k|    do { \
  |  |  377|  14.1k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  14.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|  14.1k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  14.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|  14.1k|        *_tmp_dst_ptr = (src); \
  |  |  380|  14.1k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  14.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|  14.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 14.1k]
  |  |  ------------------
  ------------------
 2881|  14.1k|        Py_XSETREF(self->offset, Py_NewRef(offset));
  ------------------
  |  |  376|  14.1k|    do { \
  |  |  377|  14.1k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  14.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|  14.1k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  14.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|  14.1k|        *_tmp_dst_ptr = (src); \
  |  |  380|  14.1k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  14.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|  14.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 14.1k]
  |  |  ------------------
  ------------------
 2882|  14.1k|        Py_XSETREF(self->text, Py_NewRef(text));
  ------------------
  |  |  376|  14.1k|    do { \
  |  |  377|  14.1k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  14.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|  14.1k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  14.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|  14.1k|        *_tmp_dst_ptr = (src); \
  |  |  380|  14.1k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  14.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|  14.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 14.1k]
  |  |  ------------------
  ------------------
 2883|  14.1k|        Py_XSETREF(self->end_lineno, Py_XNewRef(end_lineno));
  ------------------
  |  |  376|  14.1k|    do { \
  |  |  377|  14.1k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  14.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|  14.1k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  14.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|  14.1k|        *_tmp_dst_ptr = (src); \
  |  |  380|  14.1k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  14.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|  14.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 14.1k]
  |  |  ------------------
  ------------------
 2884|  14.1k|        Py_XSETREF(self->end_offset, Py_XNewRef(end_offset));
  ------------------
  |  |  376|  14.1k|    do { \
  |  |  377|  14.1k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  14.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|  14.1k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  14.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|  14.1k|        *_tmp_dst_ptr = (src); \
  |  |  380|  14.1k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  14.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|  14.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 14.1k]
  |  |  ------------------
  ------------------
 2885|  14.1k|        Py_XSETREF(self->metadata, Py_XNewRef(metadata));
  ------------------
  |  |  376|  14.1k|    do { \
  |  |  377|  14.1k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  14.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|  14.1k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  14.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|  14.1k|        *_tmp_dst_ptr = (src); \
  |  |  380|  14.1k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  14.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|  14.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 14.1k]
  |  |  ------------------
  ------------------
 2886|  14.1k|        Py_DECREF(info);
  ------------------
  |  |  430|  14.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2887|       |
 2888|  14.1k|        if (self->end_lineno != NULL && self->end_offset == NULL) {
  ------------------
  |  Branch (2888:13): [True: 12.5k, False: 1.63k]
  |  Branch (2888:41): [True: 0, False: 12.5k]
  ------------------
 2889|      0|            PyErr_SetString(PyExc_TypeError, "end_offset must be provided when end_lineno is provided");
 2890|      0|            return -1;
 2891|      0|        }
 2892|  14.1k|    }
 2893|  14.4k|    return 0;
 2894|  14.4k|}
exceptions.c:check_unicode_error_attribute:
 3123|  2.26k|{
 3124|  2.26k|    assert(as_bytes == 0 || as_bytes == 1);
  ------------------
  |  Branch (3124:5): [True: 34, False: 2.22k]
  |  Branch (3124:5): [True: 2.22k, False: 0]
  ------------------
 3125|  2.26k|    if (attr == NULL) {
  ------------------
  |  Branch (3125:9): [True: 0, False: 2.26k]
  ------------------
 3126|      0|        PyErr_Format(PyExc_TypeError,
 3127|      0|                     "UnicodeError '%s' attribute is not set",
 3128|      0|                     name);
 3129|      0|        return -1;
 3130|      0|    }
 3131|  2.26k|    if (!(as_bytes ? PyBytes_Check(attr) : PyUnicode_Check(attr))) {
  ------------------
  |  |   28|  2.22k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.22k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!(as_bytes ? PyBytes_Check(attr) : PyUnicode_Check(attr))) {
  ------------------
  |  |  103|     34|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     34|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3131:9): [True: 0, False: 2.26k]
  |  Branch (3131:11): [True: 2.22k, False: 34]
  ------------------
 3132|      0|        PyErr_Format(PyExc_TypeError,
 3133|      0|                     "UnicodeError '%s' attribute must be a %s",
 3134|      0|                     name, as_bytes ? "bytes" : "string");
  ------------------
  |  Branch (3134:28): [True: 0, False: 0]
  ------------------
 3135|      0|        return -1;
 3136|      0|    }
 3137|  2.26k|    return 0;
 3138|  2.26k|}
exceptions.c:UnicodeError_dealloc:
 3736|  41.2k|{
 3737|  41.2k|    PyTypeObject *type = Py_TYPE(self);
  ------------------
  |  |  213|  41.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  41.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3738|  41.2k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|  41.2k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3739|  41.2k|    (void)UnicodeError_clear(self);
 3740|  41.2k|    type->tp_free(self);
 3741|  41.2k|}
exceptions.c:UnicodeEncodeError_str:
 3799|     34|{
 3800|     34|    PyUnicodeErrorObject *exc = PyUnicodeErrorObject_CAST(self);
  ------------------
  |  | 3356|     34|    (assert(PyUnicodeError_Check(op)), ((PyUnicodeErrorObject *)(op)))
  ------------------
  |  Branch (3800:33): [True: 34, False: 0]
  ------------------
 3801|     34|    PyObject *result = NULL;
 3802|     34|    PyObject *reason_str = NULL;
 3803|     34|    PyObject *encoding_str = NULL;
 3804|       |
 3805|     34|    if (exc->object == NULL) {
  ------------------
  |  Branch (3805:9): [True: 0, False: 34]
  ------------------
 3806|       |        /* Not properly initialized. */
 3807|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
 3808|      0|    }
 3809|       |
 3810|       |    /* Get reason and encoding as strings, which they might not be if
 3811|       |       they've been modified after we were constructed. */
 3812|     34|    reason_str = PyObject_Str(exc->reason);
 3813|     34|    if (reason_str == NULL) {
  ------------------
  |  Branch (3813:9): [True: 0, False: 34]
  ------------------
 3814|      0|        goto done;
 3815|      0|    }
 3816|     34|    encoding_str = PyObject_Str(exc->encoding);
 3817|     34|    if (encoding_str == NULL) {
  ------------------
  |  Branch (3817:9): [True: 0, False: 34]
  ------------------
 3818|      0|        goto done;
 3819|      0|    }
 3820|       |    // calls to PyObject_Str(...) above might mutate 'exc->object'
 3821|     34|    if (check_unicode_error_attribute(exc->object, "object", false) < 0) {
  ------------------
  |  Branch (3821:9): [True: 0, False: 34]
  ------------------
 3822|      0|        goto done;
 3823|      0|    }
 3824|     34|    Py_ssize_t len = PyUnicode_GET_LENGTH(exc->object);
  ------------------
  |  |  299|     34|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3825|     34|    Py_ssize_t start = exc->start, end = exc->end;
 3826|       |
 3827|     34|    if ((start >= 0 && start < len) && (end >= 0 && end <= len) && end == start + 1) {
  ------------------
  |  Branch (3827:10): [True: 34, False: 0]
  |  Branch (3827:24): [True: 34, False: 0]
  |  Branch (3827:41): [True: 34, False: 0]
  |  Branch (3827:53): [True: 34, False: 0]
  |  Branch (3827:68): [True: 29, False: 5]
  ------------------
 3828|     29|        Py_UCS4 badchar = PyUnicode_ReadChar(exc->object, start);
 3829|     29|        const char *fmt;
 3830|     29|        if (badchar <= 0xff) {
  ------------------
  |  Branch (3830:13): [True: 0, False: 29]
  ------------------
 3831|      0|            fmt = "'%U' codec can't encode character '\\x%02x' in position %zd: %U";
 3832|      0|        }
 3833|     29|        else if (badchar <= 0xffff) {
  ------------------
  |  Branch (3833:18): [True: 29, False: 0]
  ------------------
 3834|     29|            fmt = "'%U' codec can't encode character '\\u%04x' in position %zd: %U";
 3835|     29|        }
 3836|      0|        else {
 3837|      0|            fmt = "'%U' codec can't encode character '\\U%08x' in position %zd: %U";
 3838|      0|        }
 3839|     29|        result = PyUnicode_FromFormat(
 3840|     29|            fmt,
 3841|     29|            encoding_str,
 3842|     29|            (int)badchar,
 3843|     29|            start,
 3844|     29|            reason_str);
 3845|     29|    }
 3846|      5|    else {
 3847|      5|        result = PyUnicode_FromFormat(
 3848|      5|            "'%U' codec can't encode characters in position %zd-%zd: %U",
 3849|      5|            encoding_str,
 3850|      5|            start,
 3851|      5|            end - 1,
 3852|      5|            reason_str);
 3853|      5|    }
 3854|     34|done:
 3855|     34|    Py_XDECREF(reason_str);
  ------------------
  |  |  524|     34|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3856|     34|    Py_XDECREF(encoding_str);
  ------------------
  |  |  524|     34|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3857|     34|    return result;
 3858|     34|}
exceptions.c:UnicodeError_traverse:
 3745|      2|{
 3746|      2|    PyUnicodeErrorObject *exc = PyUnicodeErrorObject_CAST(self);
  ------------------
  |  | 3356|      2|    (assert(PyUnicodeError_Check(op)), ((PyUnicodeErrorObject *)(op)))
  ------------------
  |  Branch (3746:33): [True: 2, False: 0]
  ------------------
 3747|      2|    Py_VISIT(exc->encoding);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 3748|      2|    Py_VISIT(exc->object);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 3749|      2|    Py_VISIT(exc->reason);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 3750|      2|    return BaseException_traverse(self, visit, arg);
 3751|      2|}
exceptions.c:UnicodeError_clear:
 3726|  41.2k|{
 3727|  41.2k|    PyUnicodeErrorObject *exc = PyUnicodeErrorObject_CAST(self);
  ------------------
  |  | 3356|  41.2k|    (assert(PyUnicodeError_Check(op)), ((PyUnicodeErrorObject *)(op)))
  ------------------
  |  Branch (3727:33): [True: 41.2k, False: 0]
  ------------------
 3728|  41.2k|    Py_CLEAR(exc->encoding);
  ------------------
  |  |  484|  41.2k|    do { \
  |  |  485|  41.2k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  41.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  41.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  41.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  41.2k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 41.2k, False: 44]
  |  |  ------------------
  |  |  488|  41.2k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  41.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  41.2k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  41.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  41.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  41.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  41.2k|        } \
  |  |  491|  41.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 41.2k]
  |  |  ------------------
  ------------------
 3729|  41.2k|    Py_CLEAR(exc->object);
  ------------------
  |  |  484|  41.2k|    do { \
  |  |  485|  41.2k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  41.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  41.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  41.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  41.2k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 41.2k, False: 44]
  |  |  ------------------
  |  |  488|  41.2k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  41.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  41.2k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  41.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  41.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  41.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  41.2k|        } \
  |  |  491|  41.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 41.2k]
  |  |  ------------------
  ------------------
 3730|       |    Py_CLEAR(exc->reason);
  ------------------
  |  |  484|  41.2k|    do { \
  |  |  485|  41.2k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  41.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  41.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  41.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  41.2k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 41.2k, False: 44]
  |  |  ------------------
  |  |  488|  41.2k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  41.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  41.2k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  41.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  41.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  41.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  41.2k|        } \
  |  |  491|  41.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 41.2k]
  |  |  ------------------
  ------------------
 3731|  41.2k|    return BaseException_clear(self);
 3732|  41.2k|}
exceptions.c:UnicodeEncodeError_init:
 3774|  35.9k|{
 3775|  35.9k|    if (BaseException_init(self, args, kwds) == -1) {
  ------------------
  |  Branch (3775:9): [True: 0, False: 35.9k]
  ------------------
 3776|      0|        return -1;
 3777|      0|    }
 3778|       |
 3779|  35.9k|    PyObject *encoding = NULL, *object = NULL, *reason = NULL;  // borrowed
 3780|  35.9k|    Py_ssize_t start = -1, end = -1;
 3781|       |
 3782|  35.9k|    if (!PyArg_ParseTuple(args, "UUnnU",
  ------------------
  |  Branch (3782:9): [True: 0, False: 35.9k]
  ------------------
 3783|  35.9k|                          &encoding, &object, &start, &end, &reason))
 3784|      0|    {
 3785|      0|        return -1;
 3786|      0|    }
 3787|       |
 3788|  35.9k|    PyUnicodeErrorObject *exc = PyUnicodeErrorObject_CAST(self);
  ------------------
  |  | 3356|  35.9k|    (assert(PyUnicodeError_Check(op)), ((PyUnicodeErrorObject *)(op)))
  ------------------
  |  Branch (3788:33): [True: 35.9k, False: 0]
  ------------------
 3789|  35.9k|    Py_XSETREF(exc->encoding, Py_NewRef(encoding));
  ------------------
  |  |  376|  35.9k|    do { \
  |  |  377|  35.9k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  35.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|  35.9k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  35.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|  35.9k|        *_tmp_dst_ptr = (src); \
  |  |  380|  35.9k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  35.9k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  35.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  35.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|  35.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 35.9k]
  |  |  ------------------
  ------------------
 3790|  35.9k|    Py_XSETREF(exc->object, Py_NewRef(object));
  ------------------
  |  |  376|  35.9k|    do { \
  |  |  377|  35.9k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  35.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|  35.9k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  35.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|  35.9k|        *_tmp_dst_ptr = (src); \
  |  |  380|  35.9k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  35.9k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  35.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  35.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|  35.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 35.9k]
  |  |  ------------------
  ------------------
 3791|  35.9k|    exc->start = start;
 3792|  35.9k|    exc->end = end;
 3793|  35.9k|    Py_XSETREF(exc->reason, Py_NewRef(reason));
  ------------------
  |  |  376|  35.9k|    do { \
  |  |  377|  35.9k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  35.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|  35.9k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  35.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|  35.9k|        *_tmp_dst_ptr = (src); \
  |  |  380|  35.9k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  35.9k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  35.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  35.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|  35.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 35.9k]
  |  |  ------------------
  ------------------
 3794|  35.9k|    return 0;
 3795|  35.9k|}
exceptions.c:UnicodeDecodeError_str:
 3922|  2.22k|{
 3923|  2.22k|    PyUnicodeErrorObject *exc = PyUnicodeErrorObject_CAST(self);
  ------------------
  |  | 3356|  2.22k|    (assert(PyUnicodeError_Check(op)), ((PyUnicodeErrorObject *)(op)))
  ------------------
  |  Branch (3923:33): [True: 2.22k, False: 0]
  ------------------
 3924|  2.22k|    PyObject *result = NULL;
 3925|  2.22k|    PyObject *reason_str = NULL;
 3926|  2.22k|    PyObject *encoding_str = NULL;
 3927|       |
 3928|  2.22k|    if (exc->object == NULL) {
  ------------------
  |  Branch (3928:9): [True: 0, False: 2.22k]
  ------------------
 3929|       |        /* Not properly initialized. */
 3930|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
 3931|      0|    }
 3932|       |
 3933|       |    /* Get reason and encoding as strings, which they might not be if
 3934|       |       they've been modified after we were constructed. */
 3935|  2.22k|    reason_str = PyObject_Str(exc->reason);
 3936|  2.22k|    if (reason_str == NULL) {
  ------------------
  |  Branch (3936:9): [True: 0, False: 2.22k]
  ------------------
 3937|      0|        goto done;
 3938|      0|    }
 3939|  2.22k|    encoding_str = PyObject_Str(exc->encoding);
 3940|  2.22k|    if (encoding_str == NULL) {
  ------------------
  |  Branch (3940:9): [True: 0, False: 2.22k]
  ------------------
 3941|      0|        goto done;
 3942|      0|    }
 3943|       |    // calls to PyObject_Str(...) above might mutate 'exc->object'
 3944|  2.22k|    if (check_unicode_error_attribute(exc->object, "object", true) < 0) {
  ------------------
  |  Branch (3944:9): [True: 0, False: 2.22k]
  ------------------
 3945|      0|        goto done;
 3946|      0|    }
 3947|  2.22k|    Py_ssize_t len = PyBytes_GET_SIZE(exc->object);
  ------------------
  |  |   33|  2.22k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  2.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3948|  2.22k|    Py_ssize_t start = exc->start, end = exc->end;
 3949|       |
 3950|  2.22k|    if ((start >= 0 && start < len) && (end >= 0 && end <= len) && end == start + 1) {
  ------------------
  |  Branch (3950:10): [True: 2.22k, False: 0]
  |  Branch (3950:24): [True: 2.13k, False: 90]
  |  Branch (3950:41): [True: 2.13k, False: 0]
  |  Branch (3950:53): [True: 2.01k, False: 125]
  |  Branch (3950:68): [True: 1.38k, False: 630]
  ------------------
 3951|  1.38k|        int badbyte = (int)(PyBytes_AS_STRING(exc->object)[start] & 0xff);
  ------------------
  |  |   27|  1.38k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3952|  1.38k|        result = PyUnicode_FromFormat(
 3953|  1.38k|            "'%U' codec can't decode byte 0x%02x in position %zd: %U",
 3954|  1.38k|            encoding_str,
 3955|  1.38k|            badbyte,
 3956|  1.38k|            start,
 3957|  1.38k|            reason_str);
 3958|  1.38k|    }
 3959|    845|    else {
 3960|    845|        result = PyUnicode_FromFormat(
 3961|    845|            "'%U' codec can't decode bytes in position %zd-%zd: %U",
 3962|    845|            encoding_str,
 3963|    845|            start,
 3964|    845|            end - 1,
 3965|    845|            reason_str);
 3966|    845|    }
 3967|  2.22k|done:
 3968|  2.22k|    Py_XDECREF(reason_str);
  ------------------
  |  |  524|  2.22k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3969|  2.22k|    Py_XDECREF(encoding_str);
  ------------------
  |  |  524|  2.22k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3970|  2.22k|    return result;
 3971|  2.22k|}
exceptions.c:UnicodeDecodeError_init:
 3881|  5.28k|{
 3882|  5.28k|    if (BaseException_init(self, args, kwds) == -1) {
  ------------------
  |  Branch (3882:9): [True: 0, False: 5.28k]
  ------------------
 3883|      0|        return -1;
 3884|      0|    }
 3885|       |
 3886|  5.28k|    PyObject *encoding = NULL, *object = NULL, *reason = NULL;  // borrowed
 3887|  5.28k|    Py_ssize_t start = -1, end = -1;
 3888|       |
 3889|  5.28k|    if (!PyArg_ParseTuple(args, "UOnnU",
  ------------------
  |  Branch (3889:9): [True: 44, False: 5.24k]
  ------------------
 3890|  5.28k|                          &encoding, &object, &start, &end, &reason))
 3891|     44|    {
 3892|     44|        return -1;
 3893|     44|    }
 3894|       |
 3895|  5.24k|    if (PyBytes_Check(object)) {
  ------------------
  |  |   28|  5.24k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.24k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 5.24k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3896|  5.24k|        Py_INCREF(object);  // make 'object' a strong reference
  ------------------
  |  |  310|  5.24k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3897|  5.24k|    }
 3898|      0|    else {
 3899|      0|        Py_buffer view;
 3900|      0|        if (PyObject_GetBuffer(object, &view, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (3900:13): [True: 0, False: 0]
  ------------------
 3901|      0|            return -1;
 3902|      0|        }
 3903|       |        // 'object' is borrowed, so we can re-use the variable
 3904|      0|        object = PyBytes_FromStringAndSize(view.buf, view.len);
 3905|      0|        PyBuffer_Release(&view);
 3906|      0|        if (object == NULL) {
  ------------------
  |  Branch (3906:13): [True: 0, False: 0]
  ------------------
 3907|      0|            return -1;
 3908|      0|        }
 3909|      0|    }
 3910|       |
 3911|  5.24k|    PyUnicodeErrorObject *exc = PyUnicodeErrorObject_CAST(self);
  ------------------
  |  | 3356|  5.24k|    (assert(PyUnicodeError_Check(op)), ((PyUnicodeErrorObject *)(op)))
  ------------------
  |  Branch (3911:33): [True: 5.24k, False: 0]
  ------------------
 3912|  5.24k|    Py_XSETREF(exc->encoding, Py_NewRef(encoding));
  ------------------
  |  |  376|  5.24k|    do { \
  |  |  377|  5.24k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  5.24k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|  5.24k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  5.24k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|  5.24k|        *_tmp_dst_ptr = (src); \
  |  |  380|  5.24k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  5.24k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|  5.24k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 5.24k]
  |  |  ------------------
  ------------------
 3913|  5.24k|    Py_XSETREF(exc->object, object /* already a strong reference */);
  ------------------
  |  |  376|  5.24k|    do { \
  |  |  377|  5.24k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  5.24k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|  5.24k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  5.24k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|  5.24k|        *_tmp_dst_ptr = (src); \
  |  |  380|  5.24k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  5.24k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|  5.24k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 5.24k]
  |  |  ------------------
  ------------------
 3914|  5.24k|    exc->start = start;
 3915|  5.24k|    exc->end = end;
 3916|  5.24k|    Py_XSETREF(exc->reason, Py_NewRef(reason));
  ------------------
  |  |  376|  5.24k|    do { \
  |  |  377|  5.24k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  5.24k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|  5.24k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  5.24k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|  5.24k|        *_tmp_dst_ptr = (src); \
  |  |  380|  5.24k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  5.24k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|  5.24k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 5.24k]
  |  |  ------------------
  ------------------
 3917|  5.24k|    return 0;
 3918|  5.24k|}
exceptions.c:get_memory_error:
 4170|     86|{
 4171|     86|    PyBaseExceptionObject *self = NULL;
 4172|     86|    struct _Py_exc_state *state = get_exc_state();
 4173|       |
 4174|     86|    MEMERRORS_LOCK(state);
  ------------------
  |  | 4164|     86|# define MEMERRORS_LOCK(state) ((void)0)
  ------------------
 4175|     86|    if (state->memerrors_freelist != NULL) {
  ------------------
  |  Branch (4175:9): [True: 54, False: 32]
  ------------------
 4176|       |        /* Fetch MemoryError from freelist and initialize it */
 4177|     54|        self = state->memerrors_freelist;
 4178|     54|        state->memerrors_freelist = (PyBaseExceptionObject *) self->dict;
 4179|     54|        state->memerrors_numfree--;
 4180|     54|        self->dict = NULL;
 4181|     54|        self->args = (PyObject *)&_Py_SINGLETON(tuple_empty);
  ------------------
  |  |   18|     54|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|     54|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 4182|     54|        _Py_NewReference((PyObject *)self);
 4183|     54|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  505|     54|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4184|     54|    }
 4185|     86|    MEMERRORS_UNLOCK(state);
  ------------------
  |  | 4165|     86|# define MEMERRORS_UNLOCK(state) ((void)0)
  ------------------
 4186|       |
 4187|     86|    if (self != NULL) {
  ------------------
  |  Branch (4187:9): [True: 54, False: 32]
  ------------------
 4188|     54|        return (PyObject *)self;
 4189|     54|    }
 4190|       |
 4191|     32|    if (!allow_allocation) {
  ------------------
  |  Branch (4191:9): [True: 0, False: 32]
  ------------------
 4192|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 4193|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4194|      0|            &_Py_INTERP_SINGLETON(interp, last_resort_memory_error));
 4195|      0|    }
 4196|     32|    return BaseException_new((PyTypeObject *)PyExc_MemoryError, args, kwds);
 4197|     32|}
exceptions.c:MemoryError_dealloc:
 4228|     86|{
 4229|     86|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
 4230|     86|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|     86|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4231|       |
 4232|     86|    (void)BaseException_clear(op);
 4233|       |
 4234|       |    /* If this is a subclass of MemoryError, we don't need to
 4235|       |     * do anything in the free-list*/
 4236|     86|    if (!Py_IS_TYPE(self, (PyTypeObject *) PyExc_MemoryError)) {
  ------------------
  |  |  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 (4236:9): [True: 0, False: 86]
  ------------------
 4237|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4238|      0|        return;
 4239|      0|    }
 4240|       |
 4241|     86|    struct _Py_exc_state *state = get_exc_state();
 4242|     86|    MEMERRORS_LOCK(state);
  ------------------
  |  | 4164|     86|# define MEMERRORS_LOCK(state) ((void)0)
  ------------------
 4243|     86|    if (state->memerrors_numfree < MEMERRORS_SAVE) {
  ------------------
  |  | 4158|     86|#define MEMERRORS_SAVE 16
  ------------------
  |  Branch (4243:9): [True: 86, False: 0]
  ------------------
 4244|     86|        self->dict = (PyObject *) state->memerrors_freelist;
 4245|     86|        state->memerrors_freelist = self;
 4246|     86|        state->memerrors_numfree++;
 4247|     86|        MEMERRORS_UNLOCK(state);
  ------------------
  |  | 4165|     86|# define MEMERRORS_UNLOCK(state) ((void)0)
  ------------------
 4248|     86|        return;
 4249|     86|    }
 4250|      0|    MEMERRORS_UNLOCK(state);
  ------------------
  |  | 4165|      0|# define MEMERRORS_UNLOCK(state) ((void)0)
  ------------------
 4251|       |
 4252|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4253|      0|}
exceptions.c:BaseException_traverse:
  153|     10|{
  154|     10|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
  155|     10|    Py_VISIT(self->dict);
  ------------------
  |  |  194|     10|    do {                                                                \
  |  |  195|     10|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 10]
  |  |  ------------------
  |  |  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|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
  156|     10|    Py_VISIT(self->args);
  ------------------
  |  |  194|     10|    do {                                                                \
  |  |  195|     10|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 10, False: 0]
  |  |  ------------------
  |  |  196|     10|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     10|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 10]
  |  |  ------------------
  |  |  198|     10|                return vret;                                            \
  |  |  199|     10|        }                                                               \
  |  |  200|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
  157|     10|    Py_VISIT(self->notes);
  ------------------
  |  |  194|     10|    do {                                                                \
  |  |  195|     10|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 10]
  |  |  ------------------
  |  |  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|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
  158|     10|    Py_VISIT(self->traceback);
  ------------------
  |  |  194|     10|    do {                                                                \
  |  |  195|     10|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 6, False: 4]
  |  |  ------------------
  |  |  196|      6|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      6|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 6]
  |  |  ------------------
  |  |  198|      6|                return vret;                                            \
  |  |  199|      6|        }                                                               \
  |  |  200|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
  159|     10|    Py_VISIT(self->cause);
  ------------------
  |  |  194|     10|    do {                                                                \
  |  |  195|     10|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 10]
  |  |  ------------------
  |  |  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|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
  160|     10|    Py_VISIT(self->context);
  ------------------
  |  |  194|     10|    do {                                                                \
  |  |  195|     10|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 10]
  |  |  ------------------
  |  |  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|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
  161|     10|    return 0;
  162|     10|}
exceptions.c:BaseException_clear:
  128|   164k|{
  129|   164k|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
  130|   164k|    Py_CLEAR(self->dict);
  ------------------
  |  |  484|   164k|    do { \
  |  |  485|   164k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|   164k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|   164k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|   164k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|   164k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1.95k, False: 162k]
  |  |  ------------------
  |  |  488|  1.95k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  1.95k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  1.95k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  1.95k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  1.95k|        } \
  |  |  491|   164k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 164k]
  |  |  ------------------
  ------------------
  131|   164k|    Py_CLEAR(self->args);
  ------------------
  |  |  484|   164k|    do { \
  |  |  485|   164k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|   164k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|   164k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|   164k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|   164k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 164k, False: 0]
  |  |  ------------------
  |  |  488|   164k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|   164k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|   164k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|   164k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   164k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   164k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|   164k|        } \
  |  |  491|   164k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 164k]
  |  |  ------------------
  ------------------
  132|   164k|    Py_CLEAR(self->notes);
  ------------------
  |  |  484|   164k|    do { \
  |  |  485|   164k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|   164k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|   164k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|   164k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|   164k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 164k]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|   164k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 164k]
  |  |  ------------------
  ------------------
  133|   164k|    Py_CLEAR(self->traceback);
  ------------------
  |  |  484|   164k|    do { \
  |  |  485|   164k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|   164k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|   164k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|   164k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|   164k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 40.0k, False: 124k]
  |  |  ------------------
  |  |  488|  40.0k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  40.0k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  40.0k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  40.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  40.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  40.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  40.0k|        } \
  |  |  491|   164k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 164k]
  |  |  ------------------
  ------------------
  134|   164k|    Py_CLEAR(self->cause);
  ------------------
  |  |  484|   164k|    do { \
  |  |  485|   164k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|   164k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|   164k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|   164k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|   164k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 164k]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|   164k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 164k]
  |  |  ------------------
  ------------------
  135|       |    Py_CLEAR(self->context);
  ------------------
  |  |  484|   164k|    do { \
  |  |  485|   164k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|   164k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|   164k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|   164k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|   164k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1.64k, False: 162k]
  |  |  ------------------
  |  |  488|  1.64k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  1.64k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  1.64k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  1.64k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  1.64k|        } \
  |  |  491|   164k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 164k]
  |  |  ------------------
  ------------------
  136|   164k|    return 0;
  137|   164k|}
exceptions.c:BaseException_init:
   83|  56.5k|{
   84|  56.5k|    PyBaseExceptionObject *self = PyBaseExceptionObject_CAST(op);
   85|  56.5k|    if (!_PyArg_NoKeywords(Py_TYPE(self)->tp_name, kwds))
  ------------------
  |  |   25|  56.5k|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 56.5k, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   86|      0|        return -1;
   87|       |
   88|  56.5k|    Py_XSETREF(self->args, Py_NewRef(args));
  ------------------
  |  |  376|  56.5k|    do { \
  |  |  377|  56.5k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  56.5k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|  56.5k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  56.5k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|  56.5k|        *_tmp_dst_ptr = (src); \
  |  |  380|  56.5k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  56.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  56.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  56.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|  56.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 56.5k]
  |  |  ------------------
  ------------------
   89|  56.5k|    return 0;
   90|  56.5k|}
exceptions.c:MemoryError_new:
 4201|     86|{
 4202|       |    /* If this is a subclass of MemoryError, don't use the freelist
 4203|       |     * and just return a fresh object */
 4204|     86|    if (type != (PyTypeObject *) PyExc_MemoryError) {
  ------------------
  |  Branch (4204:9): [True: 0, False: 86]
  ------------------
 4205|      0|        return BaseException_new(type, args, kwds);
 4206|      0|    }
 4207|     86|    return get_memory_error(1, args, kwds);
 4208|     86|}
exceptions.c:BaseException_new:
   55|  56.5k|{
   56|  56.5k|    PyBaseExceptionObject *self;
   57|       |
   58|  56.5k|    self = (PyBaseExceptionObject *)type->tp_alloc(type, 0);
   59|  56.5k|    if (!self)
  ------------------
  |  Branch (59:9): [True: 0, False: 56.5k]
  ------------------
   60|      0|        return NULL;
   61|       |    /* the dict is created on the fly in PyObject_GenericSetAttr */
   62|  56.5k|    self->dict = NULL;
   63|  56.5k|    self->notes = NULL;
   64|  56.5k|    self->traceback = self->cause = self->context = NULL;
   65|  56.5k|    self->suppress_context = 0;
   66|       |
   67|  56.5k|    if (args) {
  ------------------
  |  Branch (67:9): [True: 56.5k, False: 32]
  ------------------
   68|  56.5k|        self->args = Py_NewRef(args);
  ------------------
  |  |  550|  56.5k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  56.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   69|  56.5k|        return (PyObject *)self;
   70|  56.5k|    }
   71|       |
   72|     32|    self->args = PyTuple_New(0);
   73|     32|    if (!self->args) {
  ------------------
  |  Branch (73:9): [True: 0, False: 32]
  ------------------
   74|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   75|      0|        return NULL;
   76|      0|    }
   77|       |
   78|     32|    return (PyObject *)self;
   79|     32|}
exceptions.c:BaseException_vectorcall:
   96|   102k|{
   97|   102k|    PyTypeObject *type = _PyType_CAST(type_obj);
  ------------------
  |  |  770|   102k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   102k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (97:26): [True: 102k, False: 0]
  ------------------
   98|   102k|    if (!_PyArg_NoKwnames(type->tp_name, kwnames)) {
  ------------------
  |  |   15|   102k|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 102k, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   99|      0|        return NULL;
  100|      0|    }
  101|       |
  102|   102k|    PyBaseExceptionObject *self;
  103|   102k|    self = (PyBaseExceptionObject *)type->tp_alloc(type, 0);
  104|   102k|    if (!self) {
  ------------------
  |  Branch (104:9): [True: 0, False: 102k]
  ------------------
  105|      0|        return NULL;
  106|      0|    }
  107|       |
  108|       |    // The dict is created on the fly in PyObject_GenericSetAttr()
  109|   102k|    self->dict = NULL;
  110|   102k|    self->notes = NULL;
  111|   102k|    self->traceback = NULL;
  112|   102k|    self->cause = NULL;
  113|   102k|    self->context = NULL;
  114|   102k|    self->suppress_context = 0;
  115|       |
  116|   102k|    self->args = PyTuple_FromArray(args, PyVectorcall_NARGS(nargsf));
  ------------------
  |  |   37|   102k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  117|   102k|    if (!self->args) {
  ------------------
  |  Branch (117:9): [True: 0, False: 102k]
  ------------------
  118|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  119|      0|        return NULL;
  120|      0|    }
  121|       |
  122|   102k|    return (PyObject *)self;
  123|   102k|}
exceptions.c:preallocate_memerrors:
 4257|      2|{
 4258|       |    /* We create enough MemoryErrors and then decref them, which will fill
 4259|       |       up the freelist. */
 4260|      2|    int i;
 4261|       |
 4262|      2|    PyObject *errors[MEMERRORS_SAVE];
 4263|     34|    for (i = 0; i < MEMERRORS_SAVE; i++) {
  ------------------
  |  | 4158|     34|#define MEMERRORS_SAVE 16
  ------------------
  |  Branch (4263:17): [True: 32, False: 2]
  ------------------
 4264|     32|        errors[i] = MemoryError_new((PyTypeObject *) PyExc_MemoryError,
 4265|     32|                                    NULL, NULL);
 4266|     32|        if (!errors[i]) {
  ------------------
  |  Branch (4266:13): [True: 0, False: 32]
  ------------------
 4267|      0|            return -1;
 4268|      0|        }
 4269|     32|    }
 4270|     34|    for (i = 0; i < MEMERRORS_SAVE; i++) {
  ------------------
  |  | 4158|     34|#define MEMERRORS_SAVE 16
  ------------------
  |  Branch (4270:17): [True: 32, False: 2]
  ------------------
 4271|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4272|     32|    }
 4273|      2|    return 0;
 4274|      2|}
exceptions.c:create_exception_group_class:
 1766|      2|create_exception_group_class(void) {
 1767|      2|    struct _Py_exc_state *state = get_exc_state();
 1768|       |
 1769|      2|    PyObject *bases = _PyTuple_FromPair(
 1770|      2|        PyExc_BaseExceptionGroup, PyExc_Exception);
 1771|      2|    if (bases == NULL) {
  ------------------
  |  Branch (1771:9): [True: 0, False: 2]
  ------------------
 1772|      0|        return NULL;
 1773|      0|    }
 1774|       |
 1775|      2|    assert(!state->PyExc_ExceptionGroup);
  ------------------
  |  Branch (1775:5): [True: 2, False: 0]
  ------------------
 1776|      2|    state->PyExc_ExceptionGroup = PyErr_NewException(
 1777|      2|        "builtins.ExceptionGroup", bases, NULL);
 1778|       |
 1779|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1780|      2|    return state->PyExc_ExceptionGroup;
 1781|      2|}
exceptions.c:BaseException_add_note_impl:
  294|  1.99k|{
  295|  1.99k|    PyObject *notes;
  296|  1.99k|    if (PyObject_GetOptionalAttr((PyObject *)self, &_Py_ID(__notes__), &notes) < 0) {
  ------------------
  |  |  921|  1.99k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.99k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.99k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (296:9): [True: 0, False: 1.99k]
  ------------------
  297|      0|        return NULL;
  298|      0|    }
  299|  1.99k|    if (notes == NULL) {
  ------------------
  |  Branch (299:9): [True: 1.95k, False: 36]
  ------------------
  300|  1.95k|        notes = PyList_New(0);
  301|  1.95k|        if (notes == NULL) {
  ------------------
  |  Branch (301:13): [True: 0, False: 1.95k]
  ------------------
  302|      0|            return NULL;
  303|      0|        }
  304|  1.95k|        if (PyObject_SetAttr((PyObject *)self, &_Py_ID(__notes__), notes) < 0) {
  ------------------
  |  |  921|  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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (304:13): [True: 0, False: 1.95k]
  ------------------
  305|      0|            Py_DECREF(notes);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) 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|            return NULL;
  307|      0|        }
  308|  1.95k|    }
  309|     36|    else if (!PyList_Check(notes)) {
  ------------------
  |  |   25|     36|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     36|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (309:14): [True: 0, False: 36]
  ------------------
  310|      0|        Py_DECREF(notes);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) 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|        PyErr_SetString(PyExc_TypeError, "Cannot add note: __notes__ is not a list");
  312|      0|        return NULL;
  313|      0|    }
  314|  1.99k|    if (PyList_Append(notes, note) < 0) {
  ------------------
  |  Branch (314:9): [True: 0, False: 1.99k]
  ------------------
  315|      0|        Py_DECREF(notes);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  316|      0|        return NULL;
  317|      0|    }
  318|  1.99k|    Py_DECREF(notes);
  ------------------
  |  |  430|  1.99k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  319|  1.99k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  1.99k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  1.99k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  320|  1.99k|}

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|     85|{
  503|     85|    PyObject *f = NULL;
  504|       |
  505|     85|    if (!PyUnicode_Check(path)) {
  ------------------
  |  |  103|     85|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     85|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (505:9): [True: 0, False: 85]
  ------------------
  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|     85|    Py_OpenCodeHookFunction hook = _PyRuntime.open_code_hook;
  512|     85|    if (hook) {
  ------------------
  |  Branch (512:9): [True: 0, False: 85]
  ------------------
  513|      0|        f = hook(path, _PyRuntime.open_code_userdata);
  514|     85|    } else {
  515|     85|        PyObject *open = PyImport_ImportModuleAttrString("_io", "open");
  516|     85|        if (open) {
  ------------------
  |  Branch (516:13): [True: 85, False: 0]
  ------------------
  517|     85|            f = PyObject_CallFunction(open, "Os", path, "rb");
  518|     85|            Py_DECREF(open);
  ------------------
  |  |  430|     85|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  519|     85|        }
  520|     85|    }
  521|       |
  522|     85|    return f;
  523|     85|}
_PyFile_Flush:
  541|  48.6k|{
  542|  48.6k|    PyObject *tmp = PyObject_CallMethodNoArgs(file, &_Py_ID(flush));
  ------------------
  |  |  921|  48.6k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  48.6k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  48.6k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  48.6k|    if (tmp == NULL) {
  ------------------
  |  Branch (543:9): [True: 0, False: 48.6k]
  ------------------
  544|      0|        return -1;
  545|      0|    }
  546|  48.6k|    Py_DECREF(tmp);
  ------------------
  |  |  430|  48.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  547|  48.6k|    return 0;
  548|  48.6k|}

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|   402k|{
  127|   402k|    PyFloatObject *op = _Py_FREELIST_POP(PyFloatObject, floats);
  ------------------
  |  |   43|   402k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|   402k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  128|   402k|    if (op == NULL) {
  ------------------
  |  Branch (128:9): [True: 166k, False: 235k]
  ------------------
  129|   166k|        op = PyObject_Malloc(sizeof(PyFloatObject));
  130|   166k|        if (!op) {
  ------------------
  |  Branch (130:13): [True: 0, False: 166k]
  ------------------
  131|      0|            return PyErr_NoMemory();
  132|      0|        }
  133|   166k|        _PyObject_Init((PyObject*)op, &PyFloat_Type);
  134|   166k|    }
  135|   402k|    op->ob_fval = fval;
  136|   402k|    return (PyObject *) op;
  137|   402k|}
_PyFloat_ExactDealloc:
  231|   402k|{
  232|   402k|    assert(PyFloat_CheckExact(obj));
  ------------------
  |  Branch (232:5): [True: 402k, False: 0]
  ------------------
  233|   402k|    _Py_FREELIST_FREE(floats, obj, PyObject_Free);
  ------------------
  |  |   35|   402k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|   402k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   402k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|   402k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   18|   402k|#  define Py_floats_MAXFREELIST 100
  |  |  ------------------
  ------------------
  234|   402k|}
PyFloat_AsDouble:
  248|      1|{
  249|      1|    PyNumberMethods *nb;
  250|      1|    PyObject *res;
  251|      1|    double val;
  252|       |
  253|      1|    if (op == NULL) {
  ------------------
  |  Branch (253:9): [True: 0, False: 1]
  ------------------
  254|      0|        PyErr_BadArgument();
  255|      0|        return -1;
  256|      0|    }
  257|       |
  258|      1|    if (PyFloat_Check(op)) {
  ------------------
  |  |   16|      1|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  259|      1|        return PyFloat_AS_DOUBLE(op);
  ------------------
  |  |   18|      1|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  260|      1|    }
  261|       |
  262|      0|    nb = Py_TYPE(op)->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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  263|      0|    if (nb == NULL || nb->nb_float == NULL) {
  ------------------
  |  Branch (263:9): [True: 0, False: 0]
  |  Branch (263:23): [True: 0, False: 0]
  ------------------
  264|      0|        if (nb && nb->nb_index) {
  ------------------
  |  Branch (264:13): [True: 0, False: 0]
  |  Branch (264:19): [True: 0, False: 0]
  ------------------
  265|      0|            PyObject *res = _PyNumber_Index(op);
  266|      0|            if (!res) {
  ------------------
  |  Branch (266:17): [True: 0, False: 0]
  ------------------
  267|      0|                return -1;
  268|      0|            }
  269|      0|            double val = PyLong_AsDouble(res);
  270|      0|            Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  271|      0|            return val;
  272|      0|        }
  273|      0|        PyErr_Format(PyExc_TypeError, "must be real number, not %.50s",
  274|      0|                     Py_TYPE(op)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  275|      0|        return -1;
  276|      0|    }
  277|       |
  278|      0|    res = (*nb->nb_float) (op);
  279|      0|    if (res == NULL) {
  ------------------
  |  Branch (279:9): [True: 0, False: 0]
  ------------------
  280|      0|        return -1;
  281|      0|    }
  282|      0|    if (!PyFloat_CheckExact(res)) {
  ------------------
  |  |   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 (282:9): [True: 0, False: 0]
  ------------------
  283|      0|        if (!PyFloat_Check(res)) {
  ------------------
  |  |   16|      0|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (283:13): [True: 0, False: 0]
  ------------------
  284|      0|            PyErr_Format(PyExc_TypeError,
  285|      0|                         "%T.__float__() must return a float, not %T",
  286|      0|                         op, res);
  287|      0|            Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  288|      0|            return -1;
  289|      0|        }
  290|      0|        if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
  ------------------
  |  Branch (290:13): [True: 0, False: 0]
  ------------------
  291|      0|                "%T.__float__() must return a float, not %T.  "
  292|      0|                "The ability to return an instance of a strict subclass of float "
  293|      0|                "is deprecated, and may be removed in a future version of Python.",
  294|      0|                op, res)) {
  295|      0|            Py_DECREF(res);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  296|      0|            return -1;
  297|      0|        }
  298|      0|    }
  299|       |
  300|      0|    val = PyFloat_AS_DOUBLE(res);
  ------------------
  |  |   18|      0|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  301|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  302|      0|    return val;
  303|      0|}
_Py_convert_int_to_double:
  321|   195k|{
  322|   195k|    PyObject *obj = *v;
  323|       |
  324|   195k|    if (PyLong_Check(obj)) {
  ------------------
  |  |   13|   195k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   195k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 172k, False: 22.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  325|   172k|        *dbl = PyLong_AsDouble(obj);
  326|   172k|        if (*dbl == -1.0 && PyErr_Occurred()) {
  ------------------
  |  Branch (326:13): [True: 10.6k, False: 161k]
  |  Branch (326:29): [True: 263, False: 10.3k]
  ------------------
  327|    263|            *v = NULL;
  328|    263|            return -1;
  329|    263|        }
  330|   172k|    }
  331|  22.5k|    else {
  332|  22.5k|        *v = Py_NewRef(Py_NotImplemented);
  ------------------
  |  |  550|  22.5k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  22.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  333|  22.5k|        return -1;
  334|  22.5k|    }
  335|   172k|    return 0;
  336|   195k|}
_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|   402k|{
  239|   402k|    assert(PyFloat_Check(op));
  ------------------
  |  Branch (239:5): [True: 402k, False: 0]
  ------------------
  240|   402k|    if (PyFloat_CheckExact(op))
  ------------------
  |  |   17|   402k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|   402k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   402k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   402k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 402k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  241|   402k|        _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|   402k|}
floatobject.c:float_repr:
  340|  23.2k|{
  341|  23.2k|    PyFloatObject *v = _PyFloat_CAST(op);
  ------------------
  |  |   11|  23.2k|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|  23.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (341:24): [True: 23.2k, False: 0]
  ------------------
  342|      0|    PyObject *result;
  343|  23.2k|    char *buf;
  344|       |
  345|  23.2k|    buf = PyOS_double_to_string(PyFloat_AS_DOUBLE(v),
  ------------------
  |  |   18|  23.2k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  23.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  346|  23.2k|                                'r', 0,
  347|  23.2k|                                Py_DTSF_ADD_DOT_0,
  ------------------
  |  |   23|  23.2k|#define Py_DTSF_ADD_DOT_0 0x02 /* if the result is an integer add ".0" */
  ------------------
  348|  23.2k|                                NULL);
  349|  23.2k|    if (!buf)
  ------------------
  |  Branch (349:9): [True: 0, False: 23.2k]
  ------------------
  350|      0|        return PyErr_NoMemory();
  351|  23.2k|    result = _PyUnicode_FromASCII(buf, strlen(buf));
  352|  23.2k|    PyMem_Free(buf);
  353|  23.2k|    return result;
  354|  23.2k|}
floatobject.c:float_add:
  543|  19.0k|{
  544|  19.0k|    double a,b;
  545|  19.0k|    CONVERT_TO_DOUBLE(v, a);
  ------------------
  |  |  312|  19.0k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  19.0k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  19.0k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  19.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  19.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 17.7k, False: 1.36k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|  19.0k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  36.7k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  17.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  17.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  19.0k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 381, False: 983]
  |  |  ------------------
  |  |  315|  1.36k|        return obj;
  ------------------
  546|  18.6k|    CONVERT_TO_DOUBLE(w, b);
  ------------------
  |  |  312|  18.6k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  18.6k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  18.6k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  18.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  18.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 3.65k, False: 15.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|  18.6k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  22.3k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.65k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.65k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  18.6k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 193, False: 14.8k]
  |  |  ------------------
  |  |  315|  15.0k|        return obj;
  ------------------
  547|  18.4k|    a = a + b;
  548|  18.4k|    return PyFloat_FromDouble(a);
  549|  18.6k|}
floatobject.c:float_sub:
  553|  42.4k|{
  554|  42.4k|    double a,b;
  555|  42.4k|    CONVERT_TO_DOUBLE(v, a);
  ------------------
  |  |  312|  42.4k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  42.4k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  42.4k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  42.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  42.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 40.0k, False: 2.40k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|  42.4k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  82.5k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  40.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  40.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  42.4k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 187, False: 2.22k]
  |  |  ------------------
  |  |  315|  2.40k|        return obj;
  ------------------
  556|  42.2k|    CONVERT_TO_DOUBLE(w, b);
  ------------------
  |  |  312|  42.2k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  42.2k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  42.2k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  42.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  42.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 10.8k, False: 31.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|  42.2k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  53.1k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  42.2k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 623, False: 30.7k]
  |  |  ------------------
  |  |  315|  31.3k|        return obj;
  ------------------
  557|  41.6k|    a = a - b;
  558|  41.6k|    return PyFloat_FromDouble(a);
  559|  42.2k|}
floatobject.c:float_mul:
  563|  12.8k|{
  564|  12.8k|    double a,b;
  565|  12.8k|    CONVERT_TO_DOUBLE(v, a);
  ------------------
  |  |  312|  12.8k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  12.8k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  12.8k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  12.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  12.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 8.31k, False: 4.55k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|  12.8k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  21.1k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  12.8k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 298, False: 4.25k]
  |  |  ------------------
  |  |  315|  4.55k|        return obj;
  ------------------
  566|  12.5k|    CONVERT_TO_DOUBLE(w, b);
  ------------------
  |  |  312|  12.5k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  12.5k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  12.5k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  12.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  12.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 6.45k, False: 6.11k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|  12.5k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  19.0k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  12.5k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 974, False: 5.14k]
  |  |  ------------------
  |  |  315|  6.11k|        return obj;
  ------------------
  567|  11.6k|    a = a * b;
  568|  11.6k|    return PyFloat_FromDouble(a);
  569|  12.5k|}
floatobject.c:float_rem:
  588|  6.91k|{
  589|  6.91k|    double vx, wx;
  590|  6.91k|    double mod;
  591|  6.91k|    CONVERT_TO_DOUBLE(v, vx);
  ------------------
  |  |  312|  6.91k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  6.91k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  6.91k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  6.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  6.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 2.58k, False: 4.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|  6.91k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  9.49k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  6.91k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 115, False: 4.20k]
  |  |  ------------------
  |  |  315|  4.32k|        return obj;
  ------------------
  592|  6.79k|    CONVERT_TO_DOUBLE(w, wx);
  ------------------
  |  |  312|  6.79k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  6.79k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  6.79k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  6.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  6.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 4.27k, False: 2.52k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|  6.79k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  11.0k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  6.79k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 43, False: 2.47k]
  |  |  ------------------
  |  |  315|  2.52k|        return obj;
  ------------------
  593|  6.75k|    if (wx == 0.0) {
  ------------------
  |  Branch (593:9): [True: 272, False: 6.48k]
  ------------------
  594|    272|        PyErr_SetString(PyExc_ZeroDivisionError,
  595|    272|                        "division by zero");
  596|    272|        return NULL;
  597|    272|    }
  598|  6.48k|    mod = fmod(vx, wx);
  599|  6.48k|    if (mod) {
  ------------------
  |  Branch (599:9): [True: 4.94k, False: 1.53k]
  ------------------
  600|       |        /* ensure the remainder has the same sign as the denominator */
  601|  4.94k|        if ((wx < 0) != (mod < 0)) {
  ------------------
  |  Branch (601:13): [True: 2.15k, False: 2.79k]
  ------------------
  602|  2.15k|            mod += wx;
  603|  2.15k|        }
  604|  4.94k|    }
  605|  1.53k|    else {
  606|       |        /* the remainder is zero, and in the presence of signed zeroes
  607|       |           fmod returns different results across platforms; ensure
  608|       |           it has the same sign as the denominator. */
  609|  1.53k|        mod = copysign(0.0, wx);
  610|  1.53k|    }
  611|  6.48k|    return PyFloat_FromDouble(mod);
  612|  6.75k|}
floatobject.c:_float_div_mod:
  616|  4.88k|{
  617|  4.88k|    double div;
  618|  4.88k|    *mod = fmod(vx, wx);
  619|       |    /* fmod is typically exact, so vx-mod is *mathematically* an
  620|       |       exact multiple of wx.  But this is fp arithmetic, and fp
  621|       |       vx - mod is an approximation; the result is that div may
  622|       |       not be an exact integral value after the division, although
  623|       |       it will always be very close to one.
  624|       |    */
  625|  4.88k|    div = (vx - *mod) / wx;
  626|  4.88k|    if (*mod) {
  ------------------
  |  Branch (626:9): [True: 2.66k, False: 2.22k]
  ------------------
  627|       |        /* ensure the remainder has the same sign as the denominator */
  628|  2.66k|        if ((wx < 0) != (*mod < 0)) {
  ------------------
  |  Branch (628:13): [True: 1.43k, False: 1.22k]
  ------------------
  629|  1.43k|            *mod += wx;
  630|  1.43k|            div -= 1.0;
  631|  1.43k|        }
  632|  2.66k|    }
  633|  2.22k|    else {
  634|       |        /* the remainder is zero, and in the presence of signed zeroes
  635|       |           fmod returns different results across platforms; ensure
  636|       |           it has the same sign as the denominator. */
  637|  2.22k|        *mod = copysign(0.0, wx);
  638|  2.22k|    }
  639|       |    /* snap quotient to nearest integral value */
  640|  4.88k|    if (div) {
  ------------------
  |  Branch (640:9): [True: 4.37k, False: 512]
  ------------------
  641|  4.37k|        *floordiv = floor(div);
  642|  4.37k|        if (div - *floordiv > 0.5) {
  ------------------
  |  Branch (642:13): [True: 482, False: 3.89k]
  ------------------
  643|    482|            *floordiv += 1.0;
  644|    482|        }
  645|  4.37k|    }
  646|    512|    else {
  647|       |        /* div is zero - get the same sign as the true quotient */
  648|    512|        *floordiv = copysign(0.0, vx / wx); /* zero w/ sign of vx/wx */
  649|    512|    }
  650|  4.88k|}
floatobject.c:float_pow:
  688|  21.2k|{
  689|  21.2k|    double iv, iw, ix;
  690|  21.2k|    int negate_result = 0;
  691|       |
  692|  21.2k|    if ((PyObject *)z != Py_None) {
  ------------------
  |  |  616|  21.2k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (692:9): [True: 0, False: 21.2k]
  ------------------
  693|      0|        PyErr_SetString(PyExc_TypeError, "pow() 3rd argument not "
  694|      0|            "allowed unless all arguments are integers");
  695|      0|        return NULL;
  696|      0|    }
  697|       |
  698|  21.2k|    CONVERT_TO_DOUBLE(v, iv);
  ------------------
  |  |  312|  21.2k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  21.2k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  21.2k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  21.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  21.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 14.5k, False: 6.63k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|  21.2k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  35.8k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  21.2k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 192, False: 6.44k]
  |  |  ------------------
  |  |  315|  6.63k|        return obj;
  ------------------
  699|  21.0k|    CONVERT_TO_DOUBLE(w, iw);
  ------------------
  |  |  312|  21.0k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  21.0k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  21.0k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  21.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  21.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 4.50k, False: 16.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|  21.0k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  25.5k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  21.0k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 10.1k, False: 6.42k]
  |  |  ------------------
  |  |  315|  16.5k|        return obj;
  ------------------
  700|       |
  701|       |    /* Sort out special cases here instead of relying on pow() */
  702|  10.9k|    if (iw == 0) {              /* v**0 is 1, even 0**0 */
  ------------------
  |  Branch (702:9): [True: 524, False: 10.4k]
  ------------------
  703|    524|        return PyFloat_FromDouble(1.0);
  704|    524|    }
  705|  10.4k|    if (isnan(iv)) {        /* nan**w = nan, unless w == 0 */
  ------------------
  |  Branch (705:9): [True: 0, False: 10.4k]
  ------------------
  706|      0|        return PyFloat_FromDouble(iv);
  707|      0|    }
  708|  10.4k|    if (isnan(iw)) {        /* v**nan = nan, unless v == 1; 1**nan = 1 */
  ------------------
  |  Branch (708:9): [True: 0, False: 10.4k]
  ------------------
  709|      0|        return PyFloat_FromDouble(iv == 1.0 ? 1.0 : iw);
  ------------------
  |  Branch (709:35): [True: 0, False: 0]
  ------------------
  710|      0|    }
  711|  10.4k|    if (isinf(iw)) {
  ------------------
  |  Branch (711:9): [True: 1.15k, False: 9.25k]
  ------------------
  712|       |        /* v**inf is: 0.0 if abs(v) < 1; 1.0 if abs(v) == 1; inf if
  713|       |         *     abs(v) > 1 (including case where v infinite)
  714|       |         *
  715|       |         * v**-inf is: inf if abs(v) < 1; 1.0 if abs(v) == 1; 0.0 if
  716|       |         *     abs(v) > 1 (including case where v infinite)
  717|       |         */
  718|  1.15k|        iv = fabs(iv);
  719|  1.15k|        if (iv == 1.0)
  ------------------
  |  Branch (719:13): [True: 469, False: 682]
  ------------------
  720|    469|            return PyFloat_FromDouble(1.0);
  721|    682|        else if ((iw > 0.0) == (iv > 1.0))
  ------------------
  |  Branch (721:18): [True: 521, False: 161]
  ------------------
  722|    521|            return PyFloat_FromDouble(fabs(iw)); /* return inf */
  723|    161|        else
  724|    161|            return PyFloat_FromDouble(0.0);
  725|  1.15k|    }
  726|  9.25k|    if (isinf(iv)) {
  ------------------
  |  Branch (726:9): [True: 2.90k, False: 6.35k]
  ------------------
  727|       |        /* (+-inf)**w is: inf for w positive, 0 for w negative; in
  728|       |         *     both cases, we need to add the appropriate sign if w is
  729|       |         *     an odd integer.
  730|       |         */
  731|  2.90k|        int iw_is_odd = DOUBLE_IS_ODD_INTEGER(iw);
  ------------------
  |  |  684|  2.90k|#define DOUBLE_IS_ODD_INTEGER(x) (fmod(fabs(x), 2.0) == 1.0)
  ------------------
  732|  2.90k|        if (iw > 0.0)
  ------------------
  |  Branch (732:13): [True: 1.62k, False: 1.27k]
  ------------------
  733|  1.62k|            return PyFloat_FromDouble(iw_is_odd ? iv : fabs(iv));
  ------------------
  |  Branch (733:39): [True: 487, False: 1.13k]
  ------------------
  734|  1.27k|        else
  735|  1.27k|            return PyFloat_FromDouble(iw_is_odd ?
  ------------------
  |  Branch (735:39): [True: 593, False: 683]
  ------------------
  736|    683|                                      copysign(0.0, iv) : 0.0);
  737|  2.90k|    }
  738|  6.35k|    if (iv == 0.0) {  /* 0**w is: 0 for w positive, 1 for w zero
  ------------------
  |  Branch (738:9): [True: 1.43k, False: 4.92k]
  ------------------
  739|       |                         (already dealt with above), and an error
  740|       |                         if w is negative. */
  741|  1.43k|        int iw_is_odd = DOUBLE_IS_ODD_INTEGER(iw);
  ------------------
  |  |  684|  1.43k|#define DOUBLE_IS_ODD_INTEGER(x) (fmod(fabs(x), 2.0) == 1.0)
  ------------------
  742|  1.43k|        if (iw < 0.0) {
  ------------------
  |  Branch (742:13): [True: 1.20k, False: 228]
  ------------------
  743|  1.20k|            PyErr_SetString(PyExc_ZeroDivisionError,
  744|  1.20k|                            "zero to a negative power");
  745|  1.20k|            return NULL;
  746|  1.20k|        }
  747|       |        /* use correct sign if iw is odd */
  748|    228|        return PyFloat_FromDouble(iw_is_odd ? iv : 0.0);
  ------------------
  |  Branch (748:35): [True: 155, False: 73]
  ------------------
  749|  1.43k|    }
  750|       |
  751|  4.92k|    if (iv < 0.0) {
  ------------------
  |  Branch (751:9): [True: 46, False: 4.87k]
  ------------------
  752|       |        /* Whether this is an error is a mess, and bumps into libm
  753|       |         * bugs so we have to figure it out ourselves.
  754|       |         */
  755|     46|        if (iw != floor(iw)) {
  ------------------
  |  Branch (755:13): [True: 24, False: 22]
  ------------------
  756|       |            /* Negative numbers raised to fractional powers
  757|       |             * become complex.
  758|       |             */
  759|     24|            return PyComplex_Type.tp_as_number->nb_power(v, w, z);
  760|     24|        }
  761|       |        /* iw is an exact integer, albeit perhaps a very large
  762|       |         * one.  Replace iv by its absolute value and remember
  763|       |         * to negate the pow result if iw is odd.
  764|       |         */
  765|     22|        iv = -iv;
  766|     22|        negate_result = DOUBLE_IS_ODD_INTEGER(iw);
  ------------------
  |  |  684|     22|#define DOUBLE_IS_ODD_INTEGER(x) (fmod(fabs(x), 2.0) == 1.0)
  ------------------
  767|     22|    }
  768|       |
  769|  4.89k|    if (iv == 1.0) { /* 1**w is 1, even 1**inf and 1**nan */
  ------------------
  |  Branch (769:9): [True: 562, False: 4.33k]
  ------------------
  770|       |        /* (-1) ** large_integer also ends up here.  Here's an
  771|       |         * extract from the comments for the previous
  772|       |         * implementation explaining why this special case is
  773|       |         * necessary:
  774|       |         *
  775|       |         * -1 raised to an exact integer should never be exceptional.
  776|       |         * Alas, some libms (chiefly glibc as of early 2003) return
  777|       |         * NaN and set EDOM on pow(-1, large_int) if the int doesn't
  778|       |         * happen to be representable in a *C* integer.  That's a
  779|       |         * bug.
  780|       |         */
  781|    562|        return PyFloat_FromDouble(negate_result ? -1.0 : 1.0);
  ------------------
  |  Branch (781:35): [True: 1, False: 561]
  ------------------
  782|    562|    }
  783|       |
  784|       |    /* Now iv and iw are finite, iw is nonzero, and iv is
  785|       |     * positive and not equal to 1.0.  We finally allow
  786|       |     * the platform pow to step in and do the rest.
  787|       |     */
  788|  4.89k|    errno = 0;
  789|  4.33k|    ix = pow(iv, iw);
  790|  4.33k|    _Py_ADJUST_ERANGE1(ix);
  791|  4.33k|    if (negate_result)
  ------------------
  |  Branch (791:9): [True: 3, False: 4.33k]
  ------------------
  792|      3|        ix = -ix;
  793|       |
  794|  4.33k|    if (errno != 0) {
  ------------------
  |  Branch (794:9): [True: 1.43k, False: 2.90k]
  ------------------
  795|       |        /* We don't expect any errno value other than ERANGE, but
  796|       |         * the range of libm bugs appears unbounded.
  797|       |         */
  798|  1.43k|        PyErr_SetFromErrno(errno == ERANGE ? PyExc_OverflowError :
  ------------------
  |  Branch (798:28): [True: 1.43k, False: 0]
  ------------------
  799|  1.43k|                             PyExc_ValueError);
  800|  1.43k|        return NULL;
  801|  1.43k|    }
  802|  2.90k|    return PyFloat_FromDouble(ix);
  803|  4.33k|}
floatobject.c:float_neg:
  809|  6.72k|{
  810|  6.72k|    PyFloatObject *v = _PyFloat_CAST(op);
  ------------------
  |  |   11|  6.72k|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|  6.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (810:24): [True: 6.72k, False: 0]
  ------------------
  811|      0|    return PyFloat_FromDouble(-v->ob_fval);
  812|  6.72k|}
floatobject.c:float_float:
 1070|  5.99k|{
 1071|  5.99k|    if (PyFloat_CheckExact(v)) {
  ------------------
  |  |   17|  5.99k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|  5.99k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 5.99k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1072|  5.99k|        return Py_NewRef(v);
  ------------------
  |  |  550|  5.99k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1073|  5.99k|    }
 1074|      0|    else {
 1075|      0|        return PyFloat_FromDouble(((PyFloatObject *)v)->ob_fval);
 1076|      0|    }
 1077|  5.99k|}
floatobject.c:float_bool:
  823|    359|{
  824|    359|    PyFloatObject *v = _PyFloat_CAST(op);
  ------------------
  |  |   11|    359|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|    359|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (824:24): [True: 359, False: 0]
  ------------------
  825|      0|    return v->ob_fval != 0.0;
  826|    359|}
floatobject.c:float___trunc___impl:
  864|     85|{
  865|     85|    return PyLong_FromDouble(PyFloat_AS_DOUBLE(self));
  ------------------
  |  |   18|     85|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  866|     85|}
floatobject.c:float_floor_div:
  669|  5.25k|{
  670|  5.25k|    double vx, wx;
  671|  5.25k|    double mod, floordiv;
  672|  5.25k|    CONVERT_TO_DOUBLE(v, vx);
  ------------------
  |  |  312|  5.25k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  5.25k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  5.25k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  5.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 4.03k, False: 1.22k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|  5.25k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  9.28k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  5.25k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 242, False: 982]
  |  |  ------------------
  |  |  315|  1.22k|        return obj;
  ------------------
  673|  5.01k|    CONVERT_TO_DOUBLE(w, wx);
  ------------------
  |  |  312|  5.01k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  5.01k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  5.01k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  5.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 1.13k, False: 3.88k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|  5.01k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  6.14k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  5.01k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 36, False: 3.84k]
  |  |  ------------------
  |  |  315|  3.88k|        return obj;
  ------------------
  674|  4.97k|    if (wx == 0.0) {
  ------------------
  |  Branch (674:9): [True: 93, False: 4.88k]
  ------------------
  675|     93|        PyErr_SetString(PyExc_ZeroDivisionError, "division by zero");
  676|     93|        return NULL;
  677|     93|    }
  678|  4.88k|    _float_div_mod(vx, wx, &floordiv, &mod);
  679|  4.88k|    return PyFloat_FromDouble(floordiv);
  680|  4.97k|}
floatobject.c:float_div:
  573|  18.2k|{
  574|  18.2k|    double a,b;
  575|  18.2k|    CONVERT_TO_DOUBLE(v, a);
  ------------------
  |  |  312|  18.2k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  18.2k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  18.2k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  18.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  18.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 11.1k, False: 7.09k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|  18.2k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  29.4k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  18.2k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 103, False: 6.98k]
  |  |  ------------------
  |  |  315|  7.09k|        return obj;
  ------------------
  576|  18.1k|    CONVERT_TO_DOUBLE(w, b);
  ------------------
  |  |  312|  18.1k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  18.1k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  18.1k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  18.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  18.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 10.4k, False: 7.74k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|  18.1k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  28.6k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  18.1k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 3.21k, False: 4.53k]
  |  |  ------------------
  |  |  315|  7.74k|        return obj;
  ------------------
  577|  14.9k|    if (b == 0.0) {
  ------------------
  |  Branch (577:9): [True: 5.04k, False: 9.92k]
  ------------------
  578|  5.04k|        PyErr_SetString(PyExc_ZeroDivisionError,
  579|  5.04k|                        "division by zero");
  580|  5.04k|        return NULL;
  581|  5.04k|    }
  582|  9.92k|    a = a / b;
  583|  9.92k|    return PyFloat_FromDouble(a);
  584|  14.9k|}
floatobject.c:float_hash:
  536|   102M|{
  537|   102M|    PyFloatObject *v = _PyFloat_CAST(op);
  ------------------
  |  |   11|   102M|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|   102M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (537:24): [True: 102M, False: 0]
  ------------------
  538|      0|    return _Py_HashDouble(op, v->ob_fval);
  539|   102M|}
floatobject.c:float_richcompare:
  373|   194k|{
  374|   194k|    double i, j;
  375|   194k|    int r = 0;
  376|       |
  377|   194k|    assert(PyFloat_Check(v));
  ------------------
  |  Branch (377:5): [True: 194k, False: 0]
  ------------------
  378|   194k|    i = PyFloat_AS_DOUBLE(v);
  ------------------
  |  |   18|   194k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   194k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   194k|#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|   194k|    if (PyFloat_Check(w))
  ------------------
  |  |   16|   194k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|   194k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   194k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   194k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 192k, False: 1.26k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  384|   192k|        j = PyFloat_AS_DOUBLE(w);
  ------------------
  |  |   18|   192k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   192k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   192k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  385|       |
  386|  1.26k|    else if (!isfinite(i)) {
  ------------------
  |  Branch (386:14): [True: 0, False: 1.26k]
  ------------------
  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|  1.26k|    else if (PyLong_Check(w)) {
  ------------------
  |  |   13|  1.26k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.26k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.26k, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  398|  1.26k|        int vsign = i == 0.0 ? 0 : i < 0.0 ? -1 : 1;
  ------------------
  |  Branch (398:21): [True: 28, False: 1.23k]
  |  Branch (398:36): [True: 1.20k, False: 29]
  ------------------
  399|  1.26k|        int wsign;
  400|  1.26k|        int exponent;
  401|       |
  402|  1.26k|        (void)PyLong_GetSign(w, &wsign);
  403|  1.26k|        if (vsign != wsign) {
  ------------------
  |  Branch (403:13): [True: 8, False: 1.25k]
  ------------------
  404|       |            /* Magnitudes are irrelevant -- the signs alone
  405|       |             * determine the outcome.
  406|       |             */
  407|      8|            i = (double)vsign;
  408|      8|            j = (double)wsign;
  409|      8|            goto Compare;
  410|      8|        }
  411|       |        /* The signs are the same. */
  412|       |        /* Convert w to a double if it fits.  In particular, 0 fits. */
  413|  1.25k|        int64_t nbits64 = _PyLong_NumBits(w);
  414|  1.25k|        assert(nbits64 >= 0);
  ------------------
  |  Branch (414:9): [True: 1.25k, False: 0]
  ------------------
  415|  1.25k|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (415:9): [True: 1.25k, False: 0]
  ------------------
  416|  1.25k|        if (nbits64 > DBL_MAX_EXP) {
  ------------------
  |  Branch (416:13): [True: 0, False: 1.25k]
  ------------------
  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|  1.25k|        int nbits = (int)nbits64;
  429|  1.25k|        if (nbits <= 48) {
  ------------------
  |  Branch (429:13): [True: 843, False: 409]
  ------------------
  430|    843|            j = PyLong_AsDouble(w);
  431|       |            /* It's impossible that <= 48 bits overflowed. */
  432|    843|            assert(j != -1.0 || ! PyErr_Occurred());
  ------------------
  |  Branch (432:13): [True: 568, False: 275]
  |  Branch (432:13): [True: 275, False: 0]
  ------------------
  433|    843|            goto Compare;
  434|    843|        }
  435|  1.25k|        assert(wsign != 0); /* else nbits was 0 */
  ------------------
  |  Branch (435:9): [True: 409, False: 0]
  ------------------
  436|    409|        assert(vsign != 0); /* if vsign were 0, then since wsign is
  ------------------
  |  Branch (436:9): [True: 409, False: 0]
  ------------------
  437|       |                             * not 0, we would have taken the
  438|       |                             * vsign != wsign branch at the start */
  439|    409|        (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|    409|        if (exponent < nbits) {
  ------------------
  |  Branch (443:13): [True: 227, False: 182]
  ------------------
  444|    227|            j = i;
  445|    227|            i = 0.0;
  446|    227|            goto Compare;
  447|    227|        }
  448|    182|        if (exponent > nbits) {
  ------------------
  |  Branch (448:13): [True: 113, False: 69]
  ------------------
  449|    113|            j = 0.0;
  450|    113|            goto Compare;
  451|    113|        }
  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|     69|        {
  457|     69|            double fracpart;
  458|     69|            double intpart;
  459|     69|            PyObject *result = NULL;
  460|     69|            PyObject *vv = NULL;
  461|       |
  462|     69|            fracpart = modf(i, &intpart);
  463|     69|            if (fracpart != 0.0) {
  ------------------
  |  Branch (463:17): [True: 0, False: 69]
  ------------------
  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|     69|            vv = PyLong_FromDouble(intpart);
  491|     69|            if (vv == NULL)
  ------------------
  |  Branch (491:17): [True: 0, False: 69]
  ------------------
  492|      0|                goto Error;
  493|       |
  494|     69|            r = PyObject_RichCompareBool(vv, w, op);
  495|     69|            if (r < 0)
  ------------------
  |  Branch (495:17): [True: 0, False: 69]
  ------------------
  496|      0|                goto Error;
  497|     69|            result = PyBool_FromLong(r);
  498|     69|         Error:
  499|     69|            Py_XDECREF(vv);
  ------------------
  |  |  524|     69|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  500|     69|            return result;
  501|     69|        }
  502|     69|    } /* else if (PyLong_Check(w)) */
  503|       |
  504|      1|    else        /* w isn't float or int */
  505|      1|        goto Unimplemented;
  506|       |
  507|   194k| Compare:
  508|   194k|    switch (op) {
  ------------------
  |  Branch (508:13): [True: 194k, False: 0]
  ------------------
  509|   194k|    case Py_EQ:
  ------------------
  |  |  654|   194k|#define Py_EQ 2
  ------------------
  |  Branch (509:5): [True: 194k, False: 15]
  ------------------
  510|   194k|        r = i == j;
  511|   194k|        break;
  512|     15|    case Py_NE:
  ------------------
  |  |  655|     15|#define Py_NE 3
  ------------------
  |  Branch (512:5): [True: 15, False: 194k]
  ------------------
  513|     15|        r = i != j;
  514|     15|        break;
  515|      0|    case Py_LE:
  ------------------
  |  |  653|      0|#define Py_LE 1
  ------------------
  |  Branch (515:5): [True: 0, False: 194k]
  ------------------
  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: 194k]
  ------------------
  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: 194k]
  ------------------
  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: 194k]
  ------------------
  525|      0|        r = i > j;
  526|      0|        break;
  527|   194k|    }
  528|   194k|    return PyBool_FromLong(r);
  529|       |
  530|      1| Unimplemented:
  531|      1|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      1|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      1|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  532|   194k|}
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));
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359: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_New_NoTrack:
 2116|  23.2k|{
 2117|  23.2k|    CALL_STAT_INC(frame_objects_created);
  ------------------
  |  |   76|  23.2k|#define CALL_STAT_INC(name) ((void)0)
  ------------------
 2118|  23.2k|    int slots = code->co_nlocalsplus + code->co_stacksize;
 2119|  23.2k|    PyFrameObject *f = PyObject_GC_NewVar(PyFrameObject, &PyFrame_Type, slots);
  ------------------
  |  |  183|  23.2k|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|  23.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2120|  23.2k|    if (f == NULL) {
  ------------------
  |  Branch (2120:9): [True: 0, False: 23.2k]
  ------------------
 2121|      0|        return NULL;
 2122|      0|    }
 2123|  23.2k|    f->f_back = NULL;
 2124|  23.2k|    f->f_trace = NULL;
 2125|  23.2k|    f->f_trace_lines = 1;
 2126|  23.2k|    f->f_trace_opcodes = 0;
 2127|  23.2k|    f->f_lineno = 0;
 2128|  23.2k|    f->f_extra_locals = NULL;
 2129|  23.2k|    f->f_locals_cache = NULL;
 2130|  23.2k|    f->f_overwritten_fast_locals = NULL;
 2131|       |    f->f_weakreflist = NULL;
 2132|  23.2k|    return f;
 2133|  23.2k|}
_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|    368|{
 2388|    368|    assert(frame != NULL);
  ------------------
  |  Branch (2388:5): [True: 368, False: 0]
  ------------------
 2389|    368|    PyObject *code;
 2390|    368|    Py_BEGIN_CRITICAL_SECTION(frame);
  ------------------
  |  |   51|    368|    {
  ------------------
 2391|    368|    assert(!_PyFrame_IsIncomplete(frame->f_frame));
  ------------------
  |  Branch (2391:5): [True: 368, False: 0]
  ------------------
 2392|    368|    code = Py_NewRef(_PyFrame_GetCode(frame->f_frame));
  ------------------
  |  |  550|    368|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    368|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    368|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2393|    368|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    368|    }
  ------------------
 2394|    368|    return (PyCodeObject *)code;
 2395|    368|}
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|  23.2k|{
 1928|       |    /* It is the responsibility of the owning generator/coroutine
 1929|       |     * to have cleared the generator pointer */
 1930|  23.2k|    PyFrameObject *f = PyFrameObject_CAST(op);
  ------------------
  |  |   28|  23.2k|    (assert(PyObject_TypeCheck((op), &PyFrame_Type)), (PyFrameObject *)(op))
  ------------------
  |  Branch (1930:24): [True: 23.2k, False: 0]
  ------------------
 1931|  23.2k|    if (_PyObject_GC_IS_TRACKED(f)) {
  ------------------
  |  |   81|  23.2k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  23.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 4.42k, False: 18.8k]
  |  |  ------------------
  ------------------
 1932|  4.42k|        _PyObject_GC_UNTRACK(f);
  ------------------
  |  |  507|  4.42k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1933|  4.42k|    }
 1934|       |
 1935|  23.2k|    FT_CLEAR_WEAKREFS(op, f->f_weakreflist);
  ------------------
  |  |   47|  23.2k|    do {                                            \
  |  |   48|  23.2k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  23.2k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 23.2k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  23.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 23.2k]
  |  |  ------------------
  ------------------
  |  Branch (1935:5): [True: 23.2k, 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|  23.2k|    _PyInterpreterFrame *frame = (_PyInterpreterFrame *)f->_f_frame_data;
 1942|       |
 1943|       |    /* Kill all local variables including specials, if we own them */
 1944|  23.2k|    if (f->f_frame == frame && frame->owner == FRAME_OWNED_BY_FRAME_OBJECT) {
  ------------------
  |  Branch (1944:9): [True: 4.42k, False: 18.8k]
  |  Branch (1944:32): [True: 4.42k, False: 0]
  ------------------
 1945|  4.42k|        PyStackRef_CLEAR(frame->f_executable);
  ------------------
  |  |  732|  4.42k|    do { \
  |  |  733|  4.42k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  4.42k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  4.42k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  4.42k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  4.42k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 4.42k]
  |  |  ------------------
  ------------------
 1946|  4.42k|        PyStackRef_CLEAR(frame->f_funcobj);
  ------------------
  |  |  732|  4.42k|    do { \
  |  |  733|  4.42k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  4.42k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  4.42k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  4.42k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  4.42k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 4.42k]
  |  |  ------------------
  ------------------
 1947|  4.42k|        Py_CLEAR(frame->f_locals);
  ------------------
  |  |  484|  4.42k|    do { \
  |  |  485|  4.42k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  4.42k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  4.42k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.42k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  4.42k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 4.42k]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_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.42k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4.42k]
  |  |  ------------------
  ------------------
 1948|  4.42k|        _PyStackRef *locals = _PyFrame_GetLocalsArray(frame);
 1949|  4.42k|        _PyStackRef *sp = frame->stackpointer;
 1950|  36.6k|        while (sp > locals) {
  ------------------
  |  Branch (1950:16): [True: 32.2k, False: 4.42k]
  ------------------
 1951|  32.2k|            sp--;
 1952|  32.2k|            PyStackRef_CLEAR(*sp);
  ------------------
  |  |  732|  32.2k|    do { \
  |  |  733|  32.2k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  32.2k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  32.2k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  32.2k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  32.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 32.2k]
  |  |  ------------------
  ------------------
 1953|  32.2k|        }
 1954|  4.42k|    }
 1955|  23.2k|    Py_CLEAR(f->f_back);
  ------------------
  |  |  484|  23.2k|    do { \
  |  |  485|  23.2k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  23.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  23.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  23.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  23.2k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3.15k, False: 20.1k]
  |  |  ------------------
  |  |  488|  3.15k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  3.15k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  3.15k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  3.15k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  3.15k|        } \
  |  |  491|  23.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 23.2k]
  |  |  ------------------
  ------------------
 1956|  23.2k|    Py_CLEAR(f->f_trace);
  ------------------
  |  |  484|  23.2k|    do { \
  |  |  485|  23.2k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  23.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  23.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  23.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  23.2k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 23.2k]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|  23.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 23.2k]
  |  |  ------------------
  ------------------
 1957|  23.2k|    Py_CLEAR(f->f_extra_locals);
  ------------------
  |  |  484|  23.2k|    do { \
  |  |  485|  23.2k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  23.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  23.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  23.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  23.2k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 23.2k]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|  23.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 23.2k]
  |  |  ------------------
  ------------------
 1958|  23.2k|    Py_CLEAR(f->f_locals_cache);
  ------------------
  |  |  484|  23.2k|    do { \
  |  |  485|  23.2k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  23.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  23.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  23.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  23.2k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 23.2k]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|  23.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 23.2k]
  |  |  ------------------
  ------------------
 1959|       |    Py_CLEAR(f->f_overwritten_fast_locals);
  ------------------
  |  |  484|  23.2k|    do { \
  |  |  485|  23.2k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  23.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  23.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  23.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  23.2k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 23.2k]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|  23.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 23.2k]
  |  |  ------------------
  ------------------
 1960|  23.2k|    PyObject_GC_Del(f);
 1961|  23.2k|}
frameobject.c:frame_traverse:
 1965|      6|{
 1966|      6|    PyFrameObject *f = PyFrameObject_CAST(op);
  ------------------
  |  |   28|      6|    (assert(PyObject_TypeCheck((op), &PyFrame_Type)), (PyFrameObject *)(op))
  ------------------
  |  Branch (1966:24): [True: 6, False: 0]
  ------------------
 1967|      6|    Py_VISIT(f->f_back);
  ------------------
  |  |  194|      6|    do {                                                                \
  |  |  195|      6|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  196|      6|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      6|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 6]
  |  |  ------------------
  |  |  198|      6|                return vret;                                            \
  |  |  199|      6|        }                                                               \
  |  |  200|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1968|      6|    Py_VISIT(f->f_trace);
  ------------------
  |  |  194|      6|    do {                                                                \
  |  |  195|      6|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1969|      6|    Py_VISIT(f->f_extra_locals);
  ------------------
  |  |  194|      6|    do {                                                                \
  |  |  195|      6|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1970|      6|    Py_VISIT(f->f_locals_cache);
  ------------------
  |  |  194|      6|    do {                                                                \
  |  |  195|      6|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1971|      6|    Py_VISIT(f->f_overwritten_fast_locals);
  ------------------
  |  |  194|      6|    do {                                                                \
  |  |  195|      6|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1972|      6|    if (f->f_frame->owner != FRAME_OWNED_BY_FRAME_OBJECT) {
  ------------------
  |  Branch (1972:9): [True: 0, False: 6]
  ------------------
 1973|      0|        return 0;
 1974|      0|    }
 1975|      6|    assert(f->f_frame->frame_obj == NULL);
  ------------------
  |  Branch (1975:5): [True: 6, False: 0]
  ------------------
 1976|      6|    return _PyFrame_Traverse(f->f_frame, visit, arg);
 1977|      6|}
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|    124|{
  118|    124|    PyObject *module;
  119|    124|    if (PyDict_GetItemRef(constr->fc_globals, &_Py_ID(__name__), &module) < 0) {
  ------------------
  |  |  921|    124|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    124|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    124|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (119:9): [True: 0, False: 124]
  ------------------
  120|      0|        return NULL;
  121|      0|    }
  122|       |
  123|    124|    PyFunctionObject *op = PyObject_GC_New(PyFunctionObject, &PyFunction_Type);
  ------------------
  |  |  181|    124|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  124|    124|    if (op == NULL) {
  ------------------
  |  Branch (124:9): [True: 0, False: 124]
  ------------------
  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|    124|    _Py_INCREF_DICT(constr->fc_globals);
  ------------------
  |  |  396|    124|#  define _Py_INCREF_DICT Py_INCREF
  |  |  ------------------
  |  |  |  |  310|    124|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  129|    124|    op->func_globals = constr->fc_globals;
  130|    124|    _Py_INCREF_BUILTINS(constr->fc_builtins);
  ------------------
  |  |  398|    124|#  define _Py_INCREF_BUILTINS Py_INCREF
  |  |  ------------------
  |  |  |  |  310|    124|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  131|    124|    op->func_builtins = constr->fc_builtins;
  132|    124|    op->func_name = Py_NewRef(constr->fc_name);
  ------------------
  |  |  550|    124|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  133|    124|    op->func_qualname = Py_NewRef(constr->fc_qualname);
  ------------------
  |  |  550|    124|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  134|    124|    _Py_INCREF_CODE((PyCodeObject *)constr->fc_code);
  ------------------
  |  |  309|    124|#  define _Py_INCREF_CODE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|    124|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  135|    124|    op->func_code = constr->fc_code;
  136|    124|    op->func_defaults = Py_XNewRef(constr->fc_defaults);
  ------------------
  |  |  551|    124|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  137|    124|    op->func_kwdefaults = Py_XNewRef(constr->fc_kwdefaults);
  ------------------
  |  |  551|    124|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  138|    124|    op->func_closure = Py_XNewRef(constr->fc_closure);
  ------------------
  |  |  551|    124|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  139|    124|    op->func_doc = Py_NewRef(Py_None);
  ------------------
  |  |  550|    124|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  140|    124|    op->func_dict = NULL;
  141|    124|    op->func_weakreflist = NULL;
  142|    124|    op->func_module = module;
  143|    124|    op->func_annotations = NULL;
  144|    124|    op->func_annotate = NULL;
  145|    124|    op->func_typeparams = NULL;
  146|    124|    op->vectorcall = _PyFunction_Vectorcall;
  147|    124|    op->func_version = FUNC_VERSION_UNSET;
  ------------------
  |  |   18|    124|#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|    124|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  505|    124|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  152|       |    handle_func_event(PyFunction_EVENT_CREATE, op, NULL);
  153|    124|    return op;
  154|    124|}
PyFunction_NewWithQualName:
  158|  5.24k|{
  159|  5.24k|    assert(globals != NULL);
  ------------------
  |  Branch (159:5): [True: 5.24k, False: 0]
  ------------------
  160|  5.24k|    assert(PyAnyDict_Check(globals));
  ------------------
  |  Branch (160:5): [True: 5.24k, False: 0]
  |  Branch (160:5): [True: 0, False: 0]
  ------------------
  161|  5.24k|    _Py_INCREF_DICT(globals);
  ------------------
  |  |  396|  5.24k|#  define _Py_INCREF_DICT Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  5.24k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  162|       |
  163|  5.24k|    PyCodeObject *code_obj = (PyCodeObject *)code;
  164|  5.24k|    _Py_INCREF_CODE(code_obj);
  ------------------
  |  |  309|  5.24k|#  define _Py_INCREF_CODE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  5.24k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|       |
  166|  5.24k|    assert(code_obj->co_name != NULL);
  ------------------
  |  Branch (166:5): [True: 5.24k, False: 0]
  ------------------
  167|  5.24k|    PyObject *name = Py_NewRef(code_obj->co_name);
  ------------------
  |  |  550|  5.24k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  168|       |
  169|  5.24k|    if (!qualname) {
  ------------------
  |  Branch (169:9): [True: 5.24k, False: 0]
  ------------------
  170|  5.24k|        qualname = code_obj->co_qualname;
  171|  5.24k|    }
  172|  5.24k|    assert(qualname != NULL);
  ------------------
  |  Branch (172:5): [True: 5.24k, False: 0]
  ------------------
  173|  5.24k|    Py_INCREF(qualname);
  ------------------
  |  |  310|  5.24k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  174|       |
  175|  5.24k|    PyObject *consts = code_obj->co_consts;
  176|  5.24k|    assert(PyTuple_Check(consts));
  ------------------
  |  Branch (176:5): [True: 5.24k, False: 0]
  ------------------
  177|  5.24k|    PyObject *doc;
  178|  5.24k|    if (code_obj->co_flags & CO_HAS_DOCSTRING) {
  ------------------
  |  |  154|  5.24k|#define CO_HAS_DOCSTRING 0x4000000
  ------------------
  |  Branch (178:9): [True: 1.16k, False: 4.08k]
  ------------------
  179|  1.16k|        assert(PyTuple_Size(consts) >= 1);
  ------------------
  |  Branch (179:9): [True: 1.16k, False: 0]
  ------------------
  180|  1.16k|        doc = PyTuple_GetItem(consts, 0);
  181|  1.16k|        if (!PyUnicode_Check(doc)) {
  ------------------
  |  |  103|  1.16k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.16k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (181:13): [True: 0, False: 1.16k]
  ------------------
  182|      0|            doc = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  183|      0|        }
  184|  1.16k|    }
  185|  4.08k|    else {
  186|  4.08k|        doc = Py_None;
  ------------------
  |  |  616|  4.08k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  187|  4.08k|    }
  188|  5.24k|    Py_INCREF(doc);
  ------------------
  |  |  310|  5.24k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|       |
  190|       |    // __module__: Use globals['__name__'] if it exists, or NULL.
  191|  5.24k|    PyObject *module;
  192|  5.24k|    PyObject *builtins = NULL;
  193|  5.24k|    if (PyDict_GetItemRef(globals, &_Py_ID(__name__), &module) < 0) {
  ------------------
  |  |  921|  5.24k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  5.24k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  5.24k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (193:9): [True: 0, False: 5.24k]
  ------------------
  194|      0|        goto error;
  195|      0|    }
  196|       |
  197|  5.24k|    builtins = _PyDict_LoadBuiltinsFromGlobals(globals);
  198|  5.24k|    if (builtins == NULL) {
  ------------------
  |  Branch (198:9): [True: 0, False: 5.24k]
  ------------------
  199|      0|        goto error;
  200|      0|    }
  201|       |
  202|  5.24k|    PyFunctionObject *op = PyObject_GC_New(PyFunctionObject, &PyFunction_Type);
  ------------------
  |  |  181|  5.24k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  5.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  203|  5.24k|    if (op == NULL) {
  ------------------
  |  Branch (203:9): [True: 0, False: 5.24k]
  ------------------
  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|  5.24k|    op->func_globals = globals;
  210|  5.24k|    op->func_builtins = builtins;
  211|  5.24k|    op->func_name = name;
  212|  5.24k|    op->func_qualname = qualname;
  213|  5.24k|    op->func_code = (PyObject*)code_obj;
  214|  5.24k|    op->func_defaults = NULL;    // No default positional arguments
  215|  5.24k|    op->func_kwdefaults = NULL;  // No default keyword arguments
  216|  5.24k|    op->func_closure = NULL;
  217|  5.24k|    op->func_doc = doc;
  218|  5.24k|    op->func_dict = NULL;
  219|  5.24k|    op->func_weakreflist = NULL;
  220|  5.24k|    op->func_module = module;
  221|  5.24k|    op->func_annotations = NULL;
  222|  5.24k|    op->func_annotate = NULL;
  223|  5.24k|    op->func_typeparams = NULL;
  224|  5.24k|    op->vectorcall = _PyFunction_Vectorcall;
  225|  5.24k|    op->func_version = FUNC_VERSION_UNSET;
  ------------------
  |  |   18|  5.24k|#define FUNC_VERSION_UNSET 0
  ------------------
  226|  5.24k|    if (((code_obj->co_flags & CO_NESTED) == 0) ||
  ------------------
  |  |  126|  5.24k|#define CO_NESTED       0x0010
  ------------------
  |  Branch (226:9): [True: 3.12k, False: 2.12k]
  ------------------
  227|  3.20k|        (code_obj->co_flags & CO_METHOD)) {
  ------------------
  |  |  157|  2.12k|#define CO_METHOD  0x8000000
  ------------------
  |  Branch (227:9): [True: 86, False: 2.04k]
  ------------------
  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|  3.20k|        _PyObject_SetDeferredRefcount((PyObject *)op);
  235|  3.20k|    }
  236|  5.24k|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  505|  5.24k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  237|  5.24k|    handle_func_event(PyFunction_EVENT_CREATE, op, NULL);
  238|  5.24k|    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|  5.24k|}
_PyFunction_SetVersion:
  320|  5.24k|{
  321|  5.24k|    assert(func->func_version == FUNC_VERSION_UNSET);
  ------------------
  |  Branch (321:5): [True: 5.24k, False: 0]
  ------------------
  322|  5.24k|    assert(version >= FUNC_VERSION_FIRST_VALID);
  ------------------
  |  Branch (322:5): [True: 5.24k, 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|  5.24k|    func->func_version = version;
  326|  5.24k|#ifndef Py_GIL_DISABLED
  327|  5.24k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  328|  5.24k|    struct _func_version_cache_item *slot = get_cache_item(interp, version);
  329|  5.24k|    slot->func = func;
  330|  5.24k|    slot->code = func->func_code;
  331|  5.24k|#endif
  332|  5.24k|}
_PyFunction_ClearCodeByVersion:
  354|  53.5k|{
  355|  53.5k|#ifndef Py_GIL_DISABLED
  356|  53.5k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  357|  53.5k|    struct _func_version_cache_item *slot = get_cache_item(interp, version);
  358|  53.5k|    if (slot->code) {
  ------------------
  |  Branch (358:9): [True: 19.3k, False: 34.2k]
  ------------------
  359|  19.3k|        assert(PyCode_Check(slot->code));
  ------------------
  |  Branch (359:9): [True: 19.3k, False: 0]
  ------------------
  360|  19.3k|        PyCodeObject *code = (PyCodeObject *)slot->code;
  361|  19.3k|        if (code->co_version == version) {
  ------------------
  |  Branch (361:13): [True: 658, False: 18.6k]
  ------------------
  362|    658|            slot->code = NULL;
  363|       |            slot->func = NULL;
  364|    658|        }
  365|  19.3k|    }
  366|  53.5k|#endif
  367|  53.5k|}
_PyFunction_GetVersionForCurrentState:
  371|    405|{
  372|    405|    return func->func_version;
  373|    405|}
PyFunction_New:
  377|  5.24k|{
  378|       |    return PyFunction_NewWithQualName(code, globals, NULL);
  379|  5.24k|}
PyFunction_GetModule:
  403|      3|{
  404|      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 (404:9): [True: 0, False: 3]
  ------------------
  405|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  406|      0|        return NULL;
  407|      0|    }
  408|      3|    return ((PyFunctionObject *) op) -> func_module;
  409|      3|}
PyClassMethod_New:
 1724|      1|{
 1725|      1|    classmethod *cm = (classmethod *)
 1726|      1|        PyType_GenericAlloc(&PyClassMethod_Type, 0);
 1727|      1|    if (cm == NULL) {
  ------------------
  |  Branch (1727:9): [True: 0, False: 1]
  ------------------
 1728|      0|        return NULL;
 1729|      0|    }
 1730|      1|    if (cm_set_callable(cm, callable) < 0) {
  ------------------
  |  Branch (1730:9): [True: 0, False: 1]
  ------------------
 1731|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1732|      0|        return NULL;
 1733|      0|    }
 1734|      1|    return (PyObject *)cm;
 1735|      1|}
PyStaticMethod_New:
 1990|     28|{
 1991|     28|    staticmethod *sm = (staticmethod *)
 1992|     28|        PyType_GenericAlloc(&PyStaticMethod_Type, 0);
 1993|     28|    if (sm == NULL) {
  ------------------
  |  Branch (1993:9): [True: 0, False: 28]
  ------------------
 1994|      0|        return NULL;
 1995|      0|    }
 1996|     28|    _PyObject_SetDeferredRefcount((PyObject *)sm);
 1997|     28|    if (sm_set_callable(sm, callable) < 0) {
  ------------------
  |  Branch (1997:9): [True: 0, False: 28]
  ------------------
 1998|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1999|      0|        return NULL;
 2000|      0|    }
 2001|     28|    return (PyObject *)sm;
 2002|     28|}
_PyStaticMethod_GetFunc:
 2013|  1.34k|{
 2014|  1.34k|    staticmethod *sm = _PyStaticMethod_CAST(self);
  ------------------
  |  | 1763|  1.34k|    (assert(PyObject_TypeCheck((cm), &PyStaticMethod_Type)), \
  |  | 1764|  1.34k|     _Py_CAST(staticmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|  1.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2014:24): [True: 1.34k, False: 0]
  ------------------
 2015|      0|    return sm->sm_callable;
 2016|  1.34k|}
funcobject.c:handle_func_event:
   55|  8.26k|{
   56|  8.26k|    assert(Py_REFCNT(func) > 0);
  ------------------
  |  Branch (56:5): [True: 8.26k, False: 0]
  ------------------
   57|  8.26k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   58|  8.26k|    assert(interp->_initialized);
  ------------------
  |  Branch (58:5): [True: 8.26k, False: 0]
  ------------------
   59|  8.26k|    if (interp->active_func_watchers) {
  ------------------
  |  Branch (59:9): [True: 0, False: 8.26k]
  ------------------
   60|      0|        notify_func_watchers(interp, event, func, new_value);
   61|      0|    }
   62|  8.26k|    switch (event) {
   63|      0|        case PyFunction_EVENT_MODIFY_CODE:
  ------------------
  |  Branch (63:9): [True: 0, False: 8.26k]
  ------------------
   64|      0|        case PyFunction_EVENT_MODIFY_DEFAULTS:
  ------------------
  |  Branch (64:9): [True: 0, False: 8.26k]
  ------------------
   65|      0|        case PyFunction_EVENT_MODIFY_KWDEFAULTS:
  ------------------
  |  Branch (65:9): [True: 0, False: 8.26k]
  ------------------
   66|     40|        case PyFunction_EVENT_MODIFY_QUALNAME:
  ------------------
  |  Branch (66:9): [True: 40, False: 8.22k]
  ------------------
   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|  8.22k|        default:
  ------------------
  |  Branch (76:9): [True: 8.22k, False: 40]
  ------------------
   77|  8.22k|            break;
   78|  8.26k|    }
   79|  8.26k|}
funcobject.c:get_cache_item:
  312|  61.5k|{
  313|  61.5k|    return interp->func_state.func_version_cache +
  314|  61.5k|           (version % FUNC_VERSION_CACHE_SIZE);
  ------------------
  |  |  509|  61.5k|#define FUNC_VERSION_CACHE_SIZE (1<<12)  /* Must be a power of 2 */
  ------------------
  315|  61.5k|}
funcobject.c:func_clear_version:
  336|  2.89k|{
  337|  2.89k|    if (func->func_version < FUNC_VERSION_FIRST_VALID) {
  ------------------
  |  |   20|  2.89k|#define FUNC_VERSION_FIRST_VALID 2
  ------------------
  |  Branch (337:9): [True: 169, False: 2.72k]
  ------------------
  338|       |        // Version was never set or has already been cleared.
  339|    169|        return;
  340|    169|    }
  341|  2.72k|#ifndef Py_GIL_DISABLED
  342|  2.72k|    struct _func_version_cache_item *slot =
  343|  2.72k|        get_cache_item(interp, func->func_version);
  344|  2.72k|    if (slot->func == func) {
  ------------------
  |  Branch (344:9): [True: 2.29k, False: 429]
  ------------------
  345|  2.29k|        slot->func = NULL;
  346|       |        // Leave slot->code alone, there may be use for it.
  347|  2.29k|    }
  348|  2.72k|#endif
  349|  2.72k|    func->func_version = FUNC_VERSION_CLEARED;
  ------------------
  |  |   19|  2.72k|#define FUNC_VERSION_CLEARED 1
  ------------------
  350|  2.72k|}
funcobject.c:func_dealloc:
 1216|  2.85k|{
 1217|  2.85k|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  2.85k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  2.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1217:28): [True: 2.85k, False: 0]
  ------------------
 1218|      0|    _PyObject_ResurrectStart(self);
 1219|  2.85k|    handle_func_event(PyFunction_EVENT_DESTROY, op, NULL);
 1220|  2.85k|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (1220:9): [True: 0, False: 2.85k]
  ------------------
 1221|      0|        return;
 1222|      0|    }
 1223|  2.85k|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  507|  2.85k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1224|  2.85k|    FT_CLEAR_WEAKREFS(self, op->func_weakreflist);
  ------------------
  |  |   47|  2.85k|    do {                                            \
  |  |   48|  2.85k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  2.85k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 2.85k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  2.85k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 2.85k]
  |  |  ------------------
  ------------------
  |  Branch (1224:5): [True: 2.85k, False: 0]
  ------------------
 1225|  2.85k|    (void)func_clear((PyObject*)op);
 1226|       |    // These aren't cleared by func_clear().
 1227|  2.85k|    _Py_DECREF_CODE((PyCodeObject *)op->func_code);
  ------------------
  |  |  310|  2.85k|#  define _Py_DECREF_CODE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  2.85k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1228|  2.85k|    Py_DECREF(op->func_name);
  ------------------
  |  |  430|  2.85k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1229|  2.85k|    Py_DECREF(op->func_qualname);
  ------------------
  |  |  430|  2.85k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1230|  2.85k|    PyObject_GC_Del(op);
 1231|  2.85k|}
funcobject.c:func_traverse:
 1243|  35.5k|{
 1244|  35.5k|    PyFunctionObject *f = _PyFunction_CAST(self);
  ------------------
  |  |   86|  35.5k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  35.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1244:27): [True: 35.5k, False: 0]
  ------------------
 1245|  35.5k|    Py_VISIT(f->func_code);
  ------------------
  |  |  194|  35.5k|    do {                                                                \
  |  |  195|  35.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 35.5k, False: 0]
  |  |  ------------------
  |  |  196|  35.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  35.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  35.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 35.5k]
  |  |  ------------------
  |  |  198|  35.5k|                return vret;                                            \
  |  |  199|  35.5k|        }                                                               \
  |  |  200|  35.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 35.5k]
  |  |  ------------------
  ------------------
 1246|  35.5k|    Py_VISIT(f->func_globals);
  ------------------
  |  |  194|  35.5k|    do {                                                                \
  |  |  195|  35.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 35.5k, False: 0]
  |  |  ------------------
  |  |  196|  35.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  35.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  35.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 35.5k]
  |  |  ------------------
  |  |  198|  35.5k|                return vret;                                            \
  |  |  199|  35.5k|        }                                                               \
  |  |  200|  35.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 35.5k]
  |  |  ------------------
  ------------------
 1247|  35.5k|    Py_VISIT(f->func_builtins);
  ------------------
  |  |  194|  35.5k|    do {                                                                \
  |  |  195|  35.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 35.5k, False: 0]
  |  |  ------------------
  |  |  196|  35.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  35.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  35.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 35.5k]
  |  |  ------------------
  |  |  198|  35.5k|                return vret;                                            \
  |  |  199|  35.5k|        }                                                               \
  |  |  200|  35.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 35.5k]
  |  |  ------------------
  ------------------
 1248|  35.5k|    Py_VISIT(f->func_module);
  ------------------
  |  |  194|  35.5k|    do {                                                                \
  |  |  195|  35.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 35.5k, False: 4]
  |  |  ------------------
  |  |  196|  35.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  35.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  35.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 35.5k]
  |  |  ------------------
  |  |  198|  35.5k|                return vret;                                            \
  |  |  199|  35.5k|        }                                                               \
  |  |  200|  35.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 35.5k]
  |  |  ------------------
  ------------------
 1249|  35.5k|    Py_VISIT(f->func_defaults);
  ------------------
  |  |  194|  35.5k|    do {                                                                \
  |  |  195|  35.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 10.0k, False: 25.4k]
  |  |  ------------------
  |  |  196|  10.0k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  10.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  10.0k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 10.0k]
  |  |  ------------------
  |  |  198|  10.0k|                return vret;                                            \
  |  |  199|  10.0k|        }                                                               \
  |  |  200|  35.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 35.5k]
  |  |  ------------------
  ------------------
 1250|  35.5k|    Py_VISIT(f->func_kwdefaults);
  ------------------
  |  |  194|  35.5k|    do {                                                                \
  |  |  195|  35.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 658, False: 34.8k]
  |  |  ------------------
  |  |  196|    658|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    658|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    658|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    658|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 658]
  |  |  ------------------
  |  |  198|    658|                return vret;                                            \
  |  |  199|    658|        }                                                               \
  |  |  200|  35.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 35.5k]
  |  |  ------------------
  ------------------
 1251|  35.5k|    Py_VISIT(f->func_doc);
  ------------------
  |  |  194|  35.5k|    do {                                                                \
  |  |  195|  35.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 35.5k, False: 0]
  |  |  ------------------
  |  |  196|  35.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  35.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  35.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 35.5k]
  |  |  ------------------
  |  |  198|  35.5k|                return vret;                                            \
  |  |  199|  35.5k|        }                                                               \
  |  |  200|  35.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 35.5k]
  |  |  ------------------
  ------------------
 1252|  35.5k|    Py_VISIT(f->func_name);
  ------------------
  |  |  194|  35.5k|    do {                                                                \
  |  |  195|  35.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 35.5k, False: 0]
  |  |  ------------------
  |  |  196|  35.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  35.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  35.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 35.5k]
  |  |  ------------------
  |  |  198|  35.5k|                return vret;                                            \
  |  |  199|  35.5k|        }                                                               \
  |  |  200|  35.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 35.5k]
  |  |  ------------------
  ------------------
 1253|  35.5k|    Py_VISIT(f->func_dict);
  ------------------
  |  |  194|  35.5k|    do {                                                                \
  |  |  195|  35.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.65k, False: 33.8k]
  |  |  ------------------
  |  |  196|  1.65k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.65k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.65k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.65k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.65k]
  |  |  ------------------
  |  |  198|  1.65k|                return vret;                                            \
  |  |  199|  1.65k|        }                                                               \
  |  |  200|  35.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 35.5k]
  |  |  ------------------
  ------------------
 1254|  35.5k|    Py_VISIT(f->func_closure);
  ------------------
  |  |  194|  35.5k|    do {                                                                \
  |  |  195|  35.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 4.11k, False: 31.3k]
  |  |  ------------------
  |  |  196|  4.11k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  4.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  4.11k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 4.11k]
  |  |  ------------------
  |  |  198|  4.11k|                return vret;                                            \
  |  |  199|  4.11k|        }                                                               \
  |  |  200|  35.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 35.5k]
  |  |  ------------------
  ------------------
 1255|  35.5k|    Py_VISIT(f->func_annotations);
  ------------------
  |  |  194|  35.5k|    do {                                                                \
  |  |  195|  35.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 35.5k]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|  35.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 35.5k]
  |  |  ------------------
  ------------------
 1256|  35.5k|    Py_VISIT(f->func_annotate);
  ------------------
  |  |  194|  35.5k|    do {                                                                \
  |  |  195|  35.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 114, False: 35.3k]
  |  |  ------------------
  |  |  196|    114|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    114|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    114|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    114|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 114]
  |  |  ------------------
  |  |  198|    114|                return vret;                                            \
  |  |  199|    114|        }                                                               \
  |  |  200|  35.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 35.5k]
  |  |  ------------------
  ------------------
 1257|  35.5k|    Py_VISIT(f->func_typeparams);
  ------------------
  |  |  194|  35.5k|    do {                                                                \
  |  |  195|  35.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22, False: 35.4k]
  |  |  ------------------
  |  |  196|     22|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     22|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22]
  |  |  ------------------
  |  |  198|     22|                return vret;                                            \
  |  |  199|     22|        }                                                               \
  |  |  200|  35.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 35.5k]
  |  |  ------------------
  ------------------
 1258|  35.5k|    Py_VISIT(f->func_qualname);
  ------------------
  |  |  194|  35.5k|    do {                                                                \
  |  |  195|  35.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 35.5k, False: 0]
  |  |  ------------------
  |  |  196|  35.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  35.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  35.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 35.5k]
  |  |  ------------------
  |  |  198|  35.5k|                return vret;                                            \
  |  |  199|  35.5k|        }                                                               \
  |  |  200|  35.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 35.5k]
  |  |  ------------------
  ------------------
 1259|  35.5k|    return 0;
 1260|  35.5k|}
funcobject.c:func_clear:
 1182|  2.89k|{
 1183|  2.89k|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  2.89k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  2.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1183:28): [True: 2.89k, False: 0]
  ------------------
 1184|      0|    func_clear_version(_PyInterpreterState_GET(), op);
 1185|  2.89k|    PyObject *globals = op->func_globals;
 1186|  2.89k|    op->func_globals = NULL;
 1187|  2.89k|    if (globals != NULL) {
  ------------------
  |  Branch (1187:9): [True: 2.85k, False: 45]
  ------------------
 1188|  2.85k|        _Py_DECREF_DICT(globals);
  ------------------
  |  |  397|  2.85k|#  define _Py_DECREF_DICT Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  2.85k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1189|  2.85k|    }
 1190|  2.89k|    PyObject *builtins = op->func_builtins;
 1191|  2.89k|    op->func_builtins = NULL;
 1192|  2.89k|    if (builtins != NULL) {
  ------------------
  |  Branch (1192:9): [True: 2.85k, False: 45]
  ------------------
 1193|  2.85k|        _Py_DECREF_BUILTINS(builtins);
  ------------------
  |  |  399|  2.85k|#  define _Py_DECREF_BUILTINS Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  2.85k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1194|  2.85k|    }
 1195|  2.89k|    Py_CLEAR(op->func_module);
  ------------------
  |  |  484|  2.89k|    do { \
  |  |  485|  2.89k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.89k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.89k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.89k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.89k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.84k, False: 57]
  |  |  ------------------
  |  |  488|  2.84k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.84k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.84k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.84k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.84k|        } \
  |  |  491|  2.89k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.89k]
  |  |  ------------------
  ------------------
 1196|  2.89k|    Py_CLEAR(op->func_defaults);
  ------------------
  |  |  484|  2.89k|    do { \
  |  |  485|  2.89k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.89k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.89k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.89k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.89k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 347, False: 2.55k]
  |  |  ------------------
  |  |  488|    347|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    347|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    347|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    347|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    347|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    347|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    347|        } \
  |  |  491|  2.89k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.89k]
  |  |  ------------------
  ------------------
 1197|  2.89k|    Py_CLEAR(op->func_kwdefaults);
  ------------------
  |  |  484|  2.89k|    do { \
  |  |  485|  2.89k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.89k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.89k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.89k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.89k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 2.89k]
  |  |  ------------------
  |  |  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.89k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.89k]
  |  |  ------------------
  ------------------
 1198|  2.89k|    Py_CLEAR(op->func_doc);
  ------------------
  |  |  484|  2.89k|    do { \
  |  |  485|  2.89k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.89k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.89k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.89k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.89k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.85k, False: 45]
  |  |  ------------------
  |  |  488|  2.85k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.85k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.85k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.85k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.85k|        } \
  |  |  491|  2.89k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.89k]
  |  |  ------------------
  ------------------
 1199|  2.89k|    Py_CLEAR(op->func_dict);
  ------------------
  |  |  484|  2.89k|    do { \
  |  |  485|  2.89k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.89k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.89k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.89k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.89k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 2.89k]
  |  |  ------------------
  |  |  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.89k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.89k]
  |  |  ------------------
  ------------------
 1200|  2.89k|    Py_CLEAR(op->func_closure);
  ------------------
  |  |  484|  2.89k|    do { \
  |  |  485|  2.89k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.89k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.89k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.89k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.89k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 683, False: 2.21k]
  |  |  ------------------
  |  |  488|    683|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    683|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    683|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    683|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    683|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    683|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    683|        } \
  |  |  491|  2.89k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.89k]
  |  |  ------------------
  ------------------
 1201|  2.89k|    Py_CLEAR(op->func_annotations);
  ------------------
  |  |  484|  2.89k|    do { \
  |  |  485|  2.89k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.89k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.89k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.89k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.89k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 2.89k]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_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.89k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.89k]
  |  |  ------------------
  ------------------
 1202|  2.89k|    Py_CLEAR(op->func_annotate);
  ------------------
  |  |  484|  2.89k|    do { \
  |  |  485|  2.89k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.89k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.89k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.89k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.89k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 2.89k]
  |  |  ------------------
  |  |  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.89k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.89k]
  |  |  ------------------
  ------------------
 1203|  2.89k|    Py_CLEAR(op->func_typeparams);
  ------------------
  |  |  484|  2.89k|    do { \
  |  |  485|  2.89k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.89k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.89k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.89k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.89k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 2.89k]
  |  |  ------------------
  |  |  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.89k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.89k]
  |  |  ------------------
  ------------------
 1204|       |    // Don't Py_CLEAR(op->func_code), since code is always required
 1205|       |    // to be non-NULL. Similarly, name and qualname shouldn't be NULL.
 1206|       |    // However, name and qualname could be str subclasses, so they
 1207|       |    // could have reference cycles. The solution is to replace them
 1208|       |    // with a genuinely immutable string.
 1209|  2.89k|    Py_SETREF(op->func_name, &_Py_STR(empty));
  ------------------
  |  |  354|  2.89k|    do { \
  |  |  355|  2.89k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  2.89k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|  2.89k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.89k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|  2.89k|        *_tmp_dst_ptr = (src); \
  |  |  358|  2.89k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|  2.89k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 2.89k]
  |  |  ------------------
  ------------------
 1210|  2.89k|    Py_SETREF(op->func_qualname, &_Py_STR(empty));
  ------------------
  |  |  354|  2.89k|    do { \
  |  |  355|  2.89k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  2.89k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|  2.89k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.89k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|  2.89k|        *_tmp_dst_ptr = (src); \
  |  |  358|  2.89k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|  2.89k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 2.89k]
  |  |  ------------------
  ------------------
 1211|  2.89k|    return 0;
 1212|  2.89k|}
funcobject.c:func_get_code:
  645|      4|{
  646|      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 (646:28): [True: 4, False: 0]
  ------------------
  647|      4|    if (PySys_Audit("object.__getattr__", "Os", op, "__code__") < 0) {
  ------------------
  |  Branch (647:9): [True: 0, False: 4]
  ------------------
  648|      0|        return NULL;
  649|      0|    }
  650|       |
  651|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  652|      4|}
funcobject.c:function___annotate___get_impl:
  919|      5|{
  920|      5|    if (self->func_annotate == NULL) {
  ------------------
  |  Branch (920:9): [True: 5, False: 0]
  ------------------
  921|      5|        Py_RETURN_NONE;
  ------------------
  |  |  628|      5|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      5|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  922|      5|    }
  923|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  924|      5|}
funcobject.c:function___annotate___set_impl:
  935|      3|{
  936|      3|    if (value == NULL) {
  ------------------
  |  Branch (936:9): [True: 0, False: 3]
  ------------------
  937|      0|        PyErr_SetString(PyExc_TypeError,
  938|      0|            "__annotate__ cannot be deleted");
  939|      0|        return -1;
  940|      0|    }
  941|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  942|      3|        Py_XSETREF(self->func_annotate, Py_NewRef(value));
  ------------------
  |  |  376|      3|    do { \
  |  |  377|      3|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|      3|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|      3|        *_tmp_dst_ptr = (src); \
  |  |  380|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
  943|      3|        return 0;
  944|      3|    }
  945|      0|    else if (PyCallable_Check(value)) {
  ------------------
  |  Branch (945:14): [True: 0, False: 0]
  ------------------
  946|      0|        Py_XSETREF(self->func_annotate, Py_NewRef(value));
  ------------------
  |  |  376|      0|    do { \
  |  |  377|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|      0|        *_tmp_dst_ptr = (src); \
  |  |  380|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  947|      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]
  |  |  ------------------
  ------------------
  948|      0|        return 0;
  949|      0|    }
  950|      0|    else {
  951|      0|        PyErr_SetString(PyExc_TypeError,
  952|      0|            "__annotate__ must be callable or None");
  953|      0|        return -1;
  954|      0|    }
  955|      3|}
funcobject.c:func_get_doc:
  765|    225|{
  766|    225|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|    225|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|    225|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (766:28): [True: 225, False: 0]
  ------------------
  767|      0|    PyObject *doc = op->func_doc;
  768|    225|    if (doc == NULL) {
  ------------------
  |  Branch (768:9): [True: 0, False: 225]
  ------------------
  769|      0|        doc = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  770|      0|    }
  771|    225|    return Py_NewRef(doc);
  ------------------
  |  |  550|    225|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    225|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    225|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  772|    225|}
funcobject.c:func_set_doc:
  776|     33|{
  777|       |    /* Legal to del f.__doc__ or to set it to any object. */
  778|     33|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|     33|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (778:28): [True: 33, False: 0]
  ------------------
  779|      0|    PyInterpreterState *interp = _PyInterpreterState_GET();
  780|     33|    _PyEval_StopTheWorld(interp);
  781|     33|    PyObject *old_doc = op->func_doc;
  782|     33|    op->func_doc = Py_XNewRef(value);
  ------------------
  |  |  551|     33|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  783|     33|    _PyEval_StartTheWorld(interp);
  784|     33|    Py_XDECREF(old_doc);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  785|     33|    return 0;
  786|     33|}
funcobject.c:func_get_module:
  790|    182|{
  791|    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 (791:28): [True: 182, False: 0]
  ------------------
  792|      0|    PyObject *module = op->func_module;
  793|    182|    if (module == NULL) {
  ------------------
  |  Branch (793:9): [True: 0, False: 182]
  ------------------
  794|      0|        module = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  795|      0|    }
  796|    182|    return Py_NewRef(module);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  797|    182|}
funcobject.c:func_set_module:
  801|     22|{
  802|       |    /* Legal to del f.__module__ or to set it to any object. */
  803|     22|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|     22|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (803:28): [True: 22, False: 0]
  ------------------
  804|      0|    PyInterpreterState *interp = _PyInterpreterState_GET();
  805|     22|    _PyEval_StopTheWorld(interp);
  806|     22|    PyObject *old_module = op->func_module;
  807|     22|    op->func_module = Py_XNewRef(value);
  ------------------
  |  |  551|     22|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  808|     22|    _PyEval_StartTheWorld(interp);
  809|     22|    Py_XDECREF(old_module);
  ------------------
  |  |  524|     22|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     22|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     22|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  810|     22|    return 0;
  811|     22|}
funcobject.c:func_get_name:
  710|    200|{
  711|    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 (711:28): [True: 200, False: 0]
  ------------------
  712|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  713|    200|}
funcobject.c:func_set_name:
  717|     25|{
  718|     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 (718:28): [True: 25, False: 0]
  ------------------
  719|       |    /* Not legal to del f.func_name or to set it to anything
  720|       |     * other than a string object. */
  721|     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 (721:9): [True: 0, False: 25]
  |  Branch (721:26): [True: 0, False: 25]
  ------------------
  722|      0|        PyErr_SetString(PyExc_TypeError,
  723|      0|                        "__name__ must be set to a string object");
  724|      0|        return -1;
  725|      0|    }
  726|     25|    PyInterpreterState *interp = _PyInterpreterState_GET();
  727|     25|    _PyEval_StopTheWorld(interp);
  728|     25|    PyObject *old_name = op->func_name;
  729|     25|    op->func_name = Py_NewRef(value);
  ------------------
  |  |  550|     25|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  730|     25|    _PyEval_StartTheWorld(interp);
  731|     25|    Py_XDECREF(old_name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  732|     25|    return 0;
  733|     25|}
funcobject.c:func_get_qualname:
  737|    182|{
  738|    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 (738:28): [True: 182, False: 0]
  ------------------
  739|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  740|    182|}
funcobject.c:func_set_qualname:
  744|     40|{
  745|     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 (745:28): [True: 40, False: 0]
  ------------------
  746|       |    /* Not legal to del f.__qualname__ or to set it to anything
  747|       |     * other than a string object. */
  748|     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 (748:9): [True: 0, False: 40]
  |  Branch (748:26): [True: 0, False: 40]
  ------------------
  749|      0|        PyErr_SetString(PyExc_TypeError,
  750|      0|                        "__qualname__ must be set to a string object");
  751|      0|        return -1;
  752|      0|    }
  753|     40|    handle_func_event(PyFunction_EVENT_MODIFY_QUALNAME, (PyFunctionObject *) op, value);
  754|     40|    PyInterpreterState *interp = _PyInterpreterState_GET();
  755|     40|    _PyEval_StopTheWorld(interp);
  756|     40|    PyObject *old_qualname = op->func_qualname;
  757|     40|    op->func_qualname = Py_NewRef(value);
  ------------------
  |  |  550|     40|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  758|     40|    _PyEval_StartTheWorld(interp);
  759|     40|    Py_XDECREF(old_qualname);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  760|     40|    return 0;
  761|     40|}
funcobject.c:function___type_params___get_impl:
 1016|      5|{
 1017|      5|    if (self->func_typeparams == NULL) {
  ------------------
  |  Branch (1017:9): [True: 5, False: 0]
  ------------------
 1018|      5|        return PyTuple_New(0);
 1019|      5|    }
 1020|       |
 1021|      5|    assert(PyTuple_Check(self->func_typeparams));
  ------------------
  |  Branch (1021:5): [True: 0, False: 0]
  ------------------
 1022|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1023|      0|}
funcobject.c:function___type_params___set_impl:
 1034|      3|{
 1035|       |    /* Not legal to del f.__type_params__ or to set it to anything
 1036|       |     * other than a tuple object. */
 1037|      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 (1037:9): [True: 0, False: 3]
  |  Branch (1037:26): [True: 0, False: 3]
  ------------------
 1038|      0|        PyErr_SetString(PyExc_TypeError,
 1039|      0|                        "__type_params__ must be set to a tuple");
 1040|      0|        return -1;
 1041|      0|    }
 1042|      3|    Py_XSETREF(self->func_typeparams, Py_NewRef(value));
  ------------------
  |  |  376|      3|    do { \
  |  |  377|      3|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|      3|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      3|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|      3|        *_tmp_dst_ptr = (src); \
  |  |  380|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 1043|      3|    return 0;
 1044|      3|}
funcobject.c:func_descr_get:
 1265|    827|{
 1266|    827|    if (obj == Py_None || obj == NULL) {
  ------------------
  |  |  616|  1.65k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1266:9): [True: 0, False: 827]
  |  Branch (1266:27): [True: 221, False: 606]
  ------------------
 1267|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1268|    221|    }
 1269|    606|    return PyMethod_New(func, obj);
 1270|    827|}
funcobject.c:cm_dealloc:
 1503|      3|{
 1504|      3|    classmethod *cm = _PyClassMethod_CAST(self);
  ------------------
  |  | 1498|      3|    (assert(PyObject_TypeCheck((cm), &PyClassMethod_Type)), \
  |  | 1499|      3|     _Py_CAST(classmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1504:23): [True: 3, False: 0]
  ------------------
 1505|      3|    _PyObject_GC_UNTRACK((PyObject *)cm);
  ------------------
  |  |  507|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1506|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1507|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1508|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1509|      3|}
funcobject.c:cm_traverse:
 1513|  1.28k|{
 1514|  1.28k|    classmethod *cm = _PyClassMethod_CAST(self);
  ------------------
  |  | 1498|  1.28k|    (assert(PyObject_TypeCheck((cm), &PyClassMethod_Type)), \
  |  | 1499|  1.28k|     _Py_CAST(classmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|  1.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1514:23): [True: 1.28k, False: 0]
  ------------------
 1515|  1.28k|    Py_VISIT(cm->cm_callable);
  ------------------
  |  |  194|  1.28k|    do {                                                                \
  |  |  195|  1.28k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.28k, False: 0]
  |  |  ------------------
  |  |  196|  1.28k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.28k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.28k]
  |  |  ------------------
  |  |  198|  1.28k|                return vret;                                            \
  |  |  199|  1.28k|        }                                                               \
  |  |  200|  1.28k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.28k]
  |  |  ------------------
  ------------------
 1516|  1.28k|    Py_VISIT(cm->cm_dict);
  ------------------
  |  |  194|  1.28k|    do {                                                                \
  |  |  195|  1.28k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.28k, False: 0]
  |  |  ------------------
  |  |  196|  1.28k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.28k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.28k]
  |  |  ------------------
  |  |  198|  1.28k|                return vret;                                            \
  |  |  199|  1.28k|        }                                                               \
  |  |  200|  1.28k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.28k]
  |  |  ------------------
  ------------------
 1517|  1.28k|    return 0;
 1518|  1.28k|}
funcobject.c:cm_clear:
 1522|      2|{
 1523|      2|    classmethod *cm = _PyClassMethod_CAST(self);
  ------------------
  |  | 1498|      2|    (assert(PyObject_TypeCheck((cm), &PyClassMethod_Type)), \
  |  | 1499|      2|     _Py_CAST(classmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1523:23): [True: 2, False: 0]
  ------------------
 1524|      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]
  |  |  ------------------
  ------------------
 1525|       |    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]
  |  |  ------------------
  ------------------
 1526|      2|    return 0;
 1527|      2|}
funcobject.c:cm_get___isabstractmethod__:
 1598|     58|{
 1599|     58|    classmethod *cm = _PyClassMethod_CAST(self);
  ------------------
  |  | 1498|     58|    (assert(PyObject_TypeCheck((cm), &PyClassMethod_Type)), \
  |  | 1499|     58|     _Py_CAST(classmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1599:23): [True: 58, False: 0]
  ------------------
 1600|      0|    int res = _PyObject_IsAbstract(cm->cm_callable);
 1601|     58|    if (res == -1) {
  ------------------
  |  Branch (1601:9): [True: 0, False: 58]
  ------------------
 1602|      0|        return NULL;
 1603|      0|    }
 1604|     58|    else if (res) {
  ------------------
  |  Branch (1604:14): [True: 0, False: 58]
  ------------------
 1605|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1606|      0|    }
 1607|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1608|     58|}
funcobject.c:cm_descr_get:
 1532|  1.78k|{
 1533|  1.78k|    classmethod *cm = (classmethod *)self;
 1534|  1.78k|    if (type == NULL)
  ------------------
  |  Branch (1534:9): [True: 0, False: 1.78k]
  ------------------
 1535|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1536|  1.78k|    return PyMethod_New(cm->cm_callable, type);
 1537|  1.78k|}
funcobject.c:cm_init:
 1577|    112|{
 1578|    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]
  |  |  ------------------
  ------------------
 1579|      0|        return -1;
 1580|      0|    }
 1581|    112|    PyObject *callable;  // borrowed ref
 1582|    112|    if (!PyArg_UnpackTuple(args, "classmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1582:9): [True: 0, False: 112]
  ------------------
 1583|      0|        return -1;
 1584|      0|    }
 1585|       |
 1586|    112|    classmethod *cm = (classmethod *)self;
 1587|    112|    return cm_set_callable(cm, callable);
 1588|    112|}
funcobject.c:cm_new:
 1554|    112|{
 1555|    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]
  |  |  ------------------
  ------------------
 1556|      0|        return NULL;
 1557|      0|    }
 1558|    112|    PyObject *callable;  // borrowed ref
 1559|    112|    if (!PyArg_UnpackTuple(args, "classmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1559:9): [True: 0, False: 112]
  ------------------
 1560|      0|        return NULL;
 1561|      0|    }
 1562|       |
 1563|    112|    classmethod *cm = (classmethod *)PyType_GenericAlloc(type, 0);
 1564|    112|    if (cm == NULL) {
  ------------------
  |  Branch (1564:9): [True: 0, False: 112]
  ------------------
 1565|      0|        return NULL;
 1566|      0|    }
 1567|    112|    _PyObject_SetDeferredRefcount((PyObject *)cm);
 1568|    112|    if (cm_set_callable(cm, callable) < 0) {
  ------------------
  |  Branch (1568:9): [True: 0, False: 112]
  ------------------
 1569|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1570|      0|        return NULL;
 1571|      0|    }
 1572|    112|    return (PyObject *)cm;
 1573|    112|}
funcobject.c:cm_set_callable:
 1541|    225|{
 1542|    225|    assert(callable != NULL);
  ------------------
  |  Branch (1542:5): [True: 225, False: 0]
  ------------------
 1543|    225|    if (cm->cm_callable == callable) {
  ------------------
  |  Branch (1543:9): [True: 112, False: 113]
  ------------------
 1544|       |        // cm_init() sets the same callable than cm_new()
 1545|    112|        return 0;
 1546|    112|    }
 1547|       |
 1548|    113|    Py_XSETREF(cm->cm_callable, Py_NewRef(callable));
  ------------------
  |  |  376|    113|    do { \
  |  |  377|    113|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    113|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|    113|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    113|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|    113|        *_tmp_dst_ptr = (src); \
  |  |  380|    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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|    113|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 113]
  |  |  ------------------
  ------------------
 1549|    113|    return functools_wraps((PyObject *)cm, cm->cm_callable);
 1550|    225|}
funcobject.c:functools_wraps:
 1389|    166|{
 1390|    166|#define COPY_ATTR(ATTR) \
 1391|    166|    do { \
 1392|    166|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
 1393|    166|            return -1; \
 1394|    166|        } \
 1395|    166|    } while (0) \
 1396|    166|
 1397|    166|    COPY_ATTR(__module__);
  ------------------
  |  | 1391|    166|    do { \
  |  | 1392|    166|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  921|    166|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    166|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    166|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1392:13): [True: 0, False: 166]
  |  |  ------------------
  |  | 1393|      0|            return -1; \
  |  | 1394|      0|        } \
  |  | 1395|    166|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1395:14): [Folded, False: 166]
  |  |  ------------------
  ------------------
 1398|    166|    COPY_ATTR(__name__);
  ------------------
  |  | 1391|    166|    do { \
  |  | 1392|    166|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  921|    166|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    166|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    166|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1392:13): [True: 0, False: 166]
  |  |  ------------------
  |  | 1393|      0|            return -1; \
  |  | 1394|      0|        } \
  |  | 1395|    166|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1395:14): [Folded, False: 166]
  |  |  ------------------
  ------------------
 1399|    166|    COPY_ATTR(__qualname__);
  ------------------
  |  | 1391|    166|    do { \
  |  | 1392|    166|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  921|    166|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    166|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    166|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1392:13): [True: 0, False: 166]
  |  |  ------------------
  |  | 1393|      0|            return -1; \
  |  | 1394|      0|        } \
  |  | 1395|    166|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1395:14): [Folded, False: 166]
  |  |  ------------------
  ------------------
 1400|    166|    COPY_ATTR(__doc__);
  ------------------
  |  | 1391|    166|    do { \
  |  | 1392|    166|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  921|    166|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    166|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    166|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1392:13): [True: 0, False: 166]
  |  |  ------------------
  |  | 1393|      0|            return -1; \
  |  | 1394|      0|        } \
  |  | 1395|    166|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1395:14): [Folded, False: 166]
  |  |  ------------------
  ------------------
 1401|    166|    return 0;
 1402|       |
 1403|    166|#undef COPY_ATTR
 1404|    166|}
funcobject.c:functools_copy_attr:
 1376|    664|{
 1377|    664|    PyObject *value;
 1378|    664|    int res = PyObject_GetOptionalAttr(wrapped, name, &value);
 1379|    664|    if (value != NULL) {
  ------------------
  |  Branch (1379:9): [True: 664, False: 0]
  ------------------
 1380|    664|        res = PyObject_SetAttr(wrapper, name, value);
 1381|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1382|    664|    }
 1383|    664|    return res;
 1384|    664|}
funcobject.c:sm_dealloc:
 1768|      4|{
 1769|      4|    staticmethod *sm = _PyStaticMethod_CAST(self);
  ------------------
  |  | 1763|      4|    (assert(PyObject_TypeCheck((cm), &PyStaticMethod_Type)), \
  |  | 1764|      4|     _Py_CAST(staticmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1769:24): [True: 4, False: 0]
  ------------------
 1770|      4|    _PyObject_GC_UNTRACK((PyObject *)sm);
  ------------------
  |  |  507|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1771|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1772|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1773|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1774|      4|}
funcobject.c:sm_traverse:
 1778|    608|{
 1779|    608|    staticmethod *sm = _PyStaticMethod_CAST(self);
  ------------------
  |  | 1763|    608|    (assert(PyObject_TypeCheck((cm), &PyStaticMethod_Type)), \
  |  | 1764|    608|     _Py_CAST(staticmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|    608|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1779:24): [True: 608, False: 0]
  ------------------
 1780|    608|    Py_VISIT(sm->sm_callable);
  ------------------
  |  |  194|    608|    do {                                                                \
  |  |  195|    608|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 608, False: 0]
  |  |  ------------------
  |  |  196|    608|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    608|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    608|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    608|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 608]
  |  |  ------------------
  |  |  198|    608|                return vret;                                            \
  |  |  199|    608|        }                                                               \
  |  |  200|    608|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 608]
  |  |  ------------------
  ------------------
 1781|    608|    Py_VISIT(sm->sm_dict);
  ------------------
  |  |  194|    608|    do {                                                                \
  |  |  195|    608|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 608, False: 0]
  |  |  ------------------
  |  |  196|    608|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    608|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    608|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    608|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 608]
  |  |  ------------------
  |  |  198|    608|                return vret;                                            \
  |  |  199|    608|        }                                                               \
  |  |  200|    608|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 608]
  |  |  ------------------
  ------------------
 1782|    608|    return 0;
 1783|    608|}
funcobject.c:sm_descr_get:
 1796|    369|{
 1797|    369|    staticmethod *sm = (staticmethod *)self;
 1798|    369|    return Py_NewRef(sm->sm_callable);
  ------------------
  |  |  550|    369|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    369|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    369|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1799|    369|}
funcobject.c:sm_init:
 1839|     25|{
 1840|     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]
  |  |  ------------------
  ------------------
 1841|      0|        return -1;
 1842|      0|    }
 1843|     25|    PyObject *callable;  // borrowed ref
 1844|     25|    if (!PyArg_UnpackTuple(args, "staticmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1844:9): [True: 0, False: 25]
  ------------------
 1845|      0|        return -1;
 1846|      0|    }
 1847|       |
 1848|     25|    staticmethod *sm = (staticmethod *)self;
 1849|     25|    return sm_set_callable(sm, callable);
 1850|     25|}
funcobject.c:sm_new:
 1816|     25|{
 1817|     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]
  |  |  ------------------
  ------------------
 1818|      0|        return NULL;
 1819|      0|    }
 1820|     25|    PyObject *callable;  // borrowed ref
 1821|     25|    if (!PyArg_UnpackTuple(args, "staticmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1821:9): [True: 0, False: 25]
  ------------------
 1822|      0|        return NULL;
 1823|      0|    }
 1824|       |
 1825|     25|    staticmethod *sm = (staticmethod *)PyType_GenericAlloc(type, 0);
 1826|     25|    if (sm == NULL) {
  ------------------
  |  Branch (1826:9): [True: 0, False: 25]
  ------------------
 1827|      0|        return NULL;
 1828|      0|    }
 1829|     25|    _PyObject_SetDeferredRefcount((PyObject *)sm);
 1830|     25|    if (sm_set_callable(sm, callable) < 0) {
  ------------------
  |  Branch (1830:9): [True: 0, False: 25]
  ------------------
 1831|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1832|      0|        return NULL;
 1833|      0|    }
 1834|     25|    return (PyObject *)sm;
 1835|     25|}
funcobject.c:sm_set_callable:
 1803|     78|{
 1804|     78|    assert(callable != NULL);
  ------------------
  |  Branch (1804:5): [True: 78, False: 0]
  ------------------
 1805|     78|    if (sm->sm_callable == callable) {
  ------------------
  |  Branch (1805:9): [True: 25, False: 53]
  ------------------
 1806|       |        // sm_init() sets the same callable than sm_new()
 1807|     25|        return 0;
 1808|     25|    }
 1809|       |
 1810|     53|    Py_XSETREF(sm->sm_callable, Py_NewRef(callable));
  ------------------
  |  |  376|     53|    do { \
  |  |  377|     53|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     53|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     53|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     53|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     53|        *_tmp_dst_ptr = (src); \
  |  |  380|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     53|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 53]
  |  |  ------------------
  ------------------
 1811|     53|    return functools_wraps((PyObject *)sm, sm->sm_callable);
 1812|     78|}

Py_GenericAlias:
 1068|     79|{
 1069|     79|    gaobject *alias = (gaobject*) PyType_GenericAlloc(
 1070|     79|            (PyTypeObject *)&Py_GenericAliasType, 0);
 1071|     79|    if (alias == NULL) {
  ------------------
  |  Branch (1071:9): [True: 0, False: 79]
  ------------------
 1072|      0|        return NULL;
 1073|      0|    }
 1074|     79|    if (!setup_ga(alias, origin, args)) {
  ------------------
  |  Branch (1074:9): [True: 0, False: 79]
  ------------------
 1075|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1076|      0|        return NULL;
 1077|      0|    }
 1078|     79|    return (PyObject *)alias;
 1079|     79|}
genericaliasobject.c:ga_dealloc:
   33|      5|{
   34|      5|    gaobject *alias = (gaobject *)self;
   35|       |
   36|      5|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|      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:ga_traverse:
   46|  1.33k|{
   47|  1.33k|    gaobject *alias = (gaobject *)self;
   48|  1.33k|    Py_VISIT(alias->origin);
  ------------------
  |  |  194|  1.33k|    do {                                                                \
  |  |  195|  1.33k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.33k, False: 0]
  |  |  ------------------
  |  |  196|  1.33k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.33k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.33k]
  |  |  ------------------
  |  |  198|  1.33k|                return vret;                                            \
  |  |  199|  1.33k|        }                                                               \
  |  |  200|  1.33k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.33k]
  |  |  ------------------
  ------------------
   49|  1.33k|    Py_VISIT(alias->args);
  ------------------
  |  |  194|  1.33k|    do {                                                                \
  |  |  195|  1.33k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.33k, False: 0]
  |  |  ------------------
  |  |  196|  1.33k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.33k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.33k]
  |  |  ------------------
  |  |  198|  1.33k|                return vret;                                            \
  |  |  199|  1.33k|        }                                                               \
  |  |  200|  1.33k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.33k]
  |  |  ------------------
  ------------------
   50|  1.33k|    Py_VISIT(alias->parameters);
  ------------------
  |  |  194|  1.33k|    do {                                                                \
  |  |  195|  1.33k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 1.33k]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|  1.33k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.33k]
  |  |  ------------------
  ------------------
   51|  1.33k|    return 0;
   52|  1.33k|}
genericaliasobject.c:setup_ga:
  889|     79|setup_ga(gaobject *alias, PyObject *origin, PyObject *args) {
  890|     79|    if (!PyTuple_Check(args)) {
  ------------------
  |  |   27|     79|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     79|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (890:9): [True: 79, False: 0]
  ------------------
  891|     79|        args = PyTuple_Pack(1, args);
  892|     79|        if (args == NULL) {
  ------------------
  |  Branch (892:13): [True: 0, False: 79]
  ------------------
  893|      0|            return 0;
  894|      0|        }
  895|     79|    }
  896|      0|    else {
  897|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  898|      0|    }
  899|       |
  900|     79|    alias->origin = Py_NewRef(origin);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  901|     79|    alias->args = args;
  902|     79|    alias->parameters = NULL;
  903|     79|    alias->weakreflist = NULL;
  904|       |
  905|     79|    if (PyVectorcall_Function(origin) != NULL) {
  ------------------
  |  Branch (905:9): [True: 79, False: 0]
  ------------------
  906|     79|        alias->vectorcall = ga_vectorcall;
  907|     79|    }
  908|      0|    else {
  909|      0|        alias->vectorcall = NULL;
  910|      0|    }
  911|       |
  912|     79|    return 1;
  913|     79|}

_Py_MakeCoro:
 1119|  1.26k|{
 1120|  1.26k|    int coro_flags = ((PyCodeObject *)func->func_code)->co_flags &
 1121|  1.26k|        (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR);
  ------------------
  |  |  127|  1.26k|#define CO_GENERATOR    0x0020
  ------------------
                      (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR);
  ------------------
  |  |  131|  1.26k|#define CO_COROUTINE            0x0080
  ------------------
                      (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR);
  ------------------
  |  |  133|  1.26k|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
 1122|  1.26k|    assert(coro_flags);
  ------------------
  |  Branch (1122:5): [True: 1.26k, False: 0]
  ------------------
 1123|  1.26k|    if (coro_flags == CO_GENERATOR) {
  ------------------
  |  |  127|  1.26k|#define CO_GENERATOR    0x0020
  ------------------
  |  Branch (1123:9): [True: 1.26k, False: 4]
  ------------------
 1124|  1.26k|        return make_gen(&PyGen_Type, func);
 1125|  1.26k|    }
 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|     20|_PyGen_GetCode(PyGenObject *gen) {
   70|     20|    return _PyFrame_GetCode(&gen->gi_iframe);
   71|     20|}
genobject.c:gen_clear_frame:
  168|     12|{
  169|     12|    assert(FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state) == FRAME_CLEARED);
  ------------------
  |  Branch (169:5): [True: 12, False: 0]
  ------------------
  170|     12|    _PyInterpreterFrame *frame = &gen->gi_iframe;
  171|     12|    _PyThreadState_UpdateLastProfiledFrame(_PyThreadState_GET(), frame, frame->previous);
  ------------------
  |  |  325|     12|    do { \
  |  |  326|     12|        PyThreadState *tstate_ = (tstate); \
  |  |  327|     12|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  328|     12|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  ------------------
  |  |  |  Branch (328:13): [True: 0, False: 12]
  |  |  ------------------
  |  |  329|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  330|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  331|      0|        } \
  |  |  332|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (332:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
  172|       |    frame->previous = NULL;
  173|     12|    _PyFrame_ClearExceptCode(frame);
  174|     12|    _PyErr_ClearExcState(&gen->gi_exc_state);
  175|     12|}
genobject.c:gen_dealloc:
  207|  1.26k|{
  208|  1.26k|    PyGenObject *gen = _PyGen_CAST(self);
  ------------------
  |  |   33|  1.26k|    _Py_CAST(PyGenObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  209|       |
  210|  1.26k|    _PyObject_GC_UNTRACK(gen);
  ------------------
  |  |  507|  1.26k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  211|       |
  212|  1.26k|    FT_CLEAR_WEAKREFS(self, gen->gi_weakreflist);
  ------------------
  |  |   47|  1.26k|    do {                                            \
  |  |   48|  1.26k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  1.26k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 1.26k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  1.26k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 1.26k]
  |  |  ------------------
  ------------------
  |  Branch (212:5): [True: 1.26k, False: 0]
  ------------------
  213|       |
  214|  1.26k|    _PyObject_GC_TRACK(self);
  ------------------
  |  |  505|  1.26k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  215|       |
  216|  1.26k|    if (PyObject_CallFinalizerFromDealloc(self))
  ------------------
  |  Branch (216:9): [True: 0, False: 1.26k]
  ------------------
  217|      0|        return;                     /* resurrected.  :( */
  218|       |
  219|  1.26k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|  1.26k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  220|  1.26k|    if (PyAsyncGen_CheckExact(gen)) {
  ------------------
  |  |   46|  1.26k|#define PyAsyncGen_CheckExact(op) Py_IS_TYPE((op), &PyAsyncGen_Type)
  |  |  ------------------
  |  |  |  |  215|  1.26k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 1.26k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|  1.26k|    if (PyCoro_CheckExact(gen)) {
  ------------------
  |  |   31|  1.26k|#define PyCoro_CheckExact(op) Py_IS_TYPE((op), &PyCoro_Type)
  |  |  ------------------
  |  |  |  |  215|  1.26k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 1.26k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|  1.26k|    if (gen->gi_frame_state != FRAME_CLEARED) {
  ------------------
  |  Branch (229:9): [True: 0, False: 1.26k]
  ------------------
  230|      0|        gen->gi_frame_state = FRAME_CLEARED;
  231|      0|        gen_clear_frame(gen);
  232|      0|    }
  233|  1.26k|    assert(gen->gi_exc_state.exc_value == NULL);
  ------------------
  |  Branch (233:5): [True: 1.26k, False: 0]
  ------------------
  234|  1.26k|    PyStackRef_CLEAR(gen->gi_iframe.f_executable);
  ------------------
  |  |  732|  1.26k|    do { \
  |  |  733|  1.26k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  1.26k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  1.26k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  1.26k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  1.26k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 1.26k]
  |  |  ------------------
  ------------------
  235|  1.26k|    Py_CLEAR(gen->gi_name);
  ------------------
  |  |  484|  1.26k|    do { \
  |  |  485|  1.26k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.26k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.26k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.26k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.26k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1.26k, False: 0]
  |  |  ------------------
  |  |  488|  1.26k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  1.26k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  1.26k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  1.26k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  1.26k|        } \
  |  |  491|  1.26k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.26k]
  |  |  ------------------
  ------------------
  236|  1.26k|    Py_CLEAR(gen->gi_qualname);
  ------------------
  |  |  484|  1.26k|    do { \
  |  |  485|  1.26k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.26k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.26k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.26k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.26k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1.26k, False: 0]
  |  |  ------------------
  |  |  488|  1.26k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  1.26k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  1.26k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  1.26k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  1.26k|        } \
  |  |  491|  1.26k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.26k]
  |  |  ------------------
  ------------------
  237|       |
  238|  1.26k|    PyObject_GC_Del(gen);
  239|  1.26k|}
genobject.c:gen_send_ex:
  331|  71.3k|{
  332|  71.3k|    *presult = NULL;
  333|  71.3k|    int8_t frame_state = FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state);
  ------------------
  |  |  156|  71.3k|#define FT_ATOMIC_LOAD_INT8_RELAXED(value) value
  ------------------
  334|  71.3k|    do {
  335|  71.3k|        if (frame_state == FRAME_CREATED && arg && arg != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (335:13): [True: 1.13k, False: 70.2k]
  |  Branch (335:45): [True: 0, False: 1.13k]
  |  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|  71.3k|        if (frame_state == FRAME_EXECUTING) {
  ------------------
  |  Branch (348:13): [True: 0, False: 71.3k]
  ------------------
  349|      0|            gen_raise_already_executing_error(gen);
  350|      0|            return PYGEN_ERROR;
  351|      0|        }
  352|  71.3k|        if (FRAME_STATE_FINISHED(frame_state)) {
  ------------------
  |  |   58|  71.3k|#define FRAME_STATE_FINISHED(S) ((S) == FRAME_CLEARED)
  |  |  ------------------
  |  |  |  Branch (58:33): [True: 0, False: 71.3k]
  |  |  ------------------
  ------------------
  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|  71.3k|        assert((frame_state == FRAME_CREATED) ||
  ------------------
  |  Branch (370:9): [True: 70.2k, False: 0]
  |  Branch (370:9): [True: 70.2k, False: 0]
  |  Branch (370:9): [True: 1.13k, False: 70.2k]
  ------------------
  371|  71.3k|               FRAME_STATE_SUSPENDED(frame_state));
  372|  71.3k|    } while (!_Py_GEN_TRY_SET_FRAME_STATE(gen, frame_state, FRAME_EXECUTING));
  ------------------
  |  |   57|  71.3k|    ((gen)->gi_frame_state = (state), true)
  ------------------
  |  Branch (372:14): [True: 0, False: 71.3k]
  ------------------
  373|       |
  374|  71.3k|    return gen_send_ex2(gen, arg, presult, 0);
  375|  71.3k|}
genobject.c:gen_send_ex2:
  261|  71.3k|{
  262|  71.3k|    assert(FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state) == FRAME_EXECUTING);
  ------------------
  |  Branch (262:5): [True: 71.3k, False: 0]
  ------------------
  263|       |
  264|  71.3k|    PyThreadState *tstate = _PyThreadState_GET();
  265|  71.3k|    _PyInterpreterFrame *frame = &gen->gi_iframe;
  266|       |
  267|       |    /* Push arg onto the frame's value stack */
  268|  71.3k|    PyObject *arg_obj = arg ? arg : Py_None;
  ------------------
  |  |  616|  71.3k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (268:25): [True: 0, False: 71.3k]
  ------------------
  269|  71.3k|    _PyFrame_StackPush(frame, PyStackRef_FromPyObjectNew(arg_obj));
  ------------------
  |  |  611|  71.3k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  71.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  71.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  270|       |
  271|  71.3k|    _PyErr_StackItem *prev_exc_info = tstate->exc_info;
  272|  71.3k|    gen->gi_exc_state.previous_item = prev_exc_info;
  273|  71.3k|    tstate->exc_info = &gen->gi_exc_state;
  274|       |
  275|  71.3k|    if (exc) {
  ------------------
  |  Branch (275:9): [True: 0, False: 71.3k]
  ------------------
  276|      0|        assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (276:9): [True: 0, False: 0]
  ------------------
  277|      0|        _PyErr_ChainStackItem();
  278|      0|    }
  279|       |
  280|  71.3k|    EVAL_CALL_STAT_INC(EVAL_CALL_GENERATOR);
  ------------------
  |  |   79|  71.3k|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  281|  71.3k|    PyObject *result = _PyEval_EvalFrame(tstate, frame, exc);
  282|  71.3k|    assert(tstate->exc_info == prev_exc_info);
  ------------------
  |  Branch (282:5): [True: 71.3k, False: 0]
  ------------------
  283|  71.3k|#ifndef Py_GIL_DISABLED
  284|  71.3k|    assert(gen->gi_exc_state.previous_item == NULL);
  ------------------
  |  Branch (284:5): [True: 71.3k, False: 0]
  ------------------
  285|  71.3k|    assert(frame->previous == NULL);
  ------------------
  |  Branch (285:5): [True: 71.3k, False: 0]
  ------------------
  286|  71.3k|    assert(gen->gi_frame_state != FRAME_EXECUTING);
  ------------------
  |  Branch (286:5): [True: 71.3k, False: 0]
  ------------------
  287|  71.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|  71.3k|    int return_kind = ((_PyThreadStateImpl *)tstate)->generator_return_kind;
  294|       |
  295|  71.3k|    if (return_kind == GENERATOR_YIELD) {
  ------------------
  |  Branch (295:9): [True: 70.2k, False: 1.12k]
  ------------------
  296|  70.2k|        assert(result != NULL && !_PyErr_Occurred(tstate));
  ------------------
  |  Branch (296:9): [True: 70.2k, False: 0]
  |  Branch (296:9): [True: 70.2k, False: 0]
  ------------------
  297|  70.2k|#ifndef Py_GIL_DISABLED
  298|  70.2k|        assert(FRAME_STATE_SUSPENDED(gen->gi_frame_state));
  ------------------
  |  Branch (298:9): [True: 70.2k, False: 0]
  |  Branch (298:9): [True: 70.2k, False: 0]
  ------------------
  299|  70.2k|#endif
  300|  70.2k|        *presult = result;
  301|  70.2k|        return PYGEN_NEXT;
  302|  70.2k|    }
  303|       |
  304|  71.3k|    assert(return_kind == GENERATOR_RETURN);
  ------------------
  |  Branch (304:5): [True: 1.12k, False: 0]
  ------------------
  305|  1.12k|    assert(gen->gi_exc_state.exc_value == NULL);
  ------------------
  |  Branch (305:5): [True: 1.12k, False: 0]
  ------------------
  306|  1.12k|    assert(FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state) == FRAME_CLEARED);
  ------------------
  |  Branch (306:5): [True: 1.12k, False: 0]
  ------------------
  307|       |
  308|       |    /* If the generator just returned (as opposed to yielding), signal
  309|       |     * that the generator is exhausted. */
  310|  1.12k|    if (result) {
  ------------------
  |  Branch (310:9): [True: 1.12k, False: 0]
  ------------------
  311|  1.12k|        assert(result == Py_None || !PyAsyncGen_CheckExact(gen));
  ------------------
  |  Branch (311:9): [True: 1.12k, False: 0]
  |  Branch (311:9): [True: 0, False: 0]
  ------------------
  312|  1.12k|        if (result == Py_None && !PyAsyncGen_CheckExact(gen) && !arg) {
  ------------------
  |  |  616|  2.24k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      if (result == Py_None && !PyAsyncGen_CheckExact(gen) && !arg) {
  ------------------
  |  |   46|  1.12k|#define PyAsyncGen_CheckExact(op) Py_IS_TYPE((op), &PyAsyncGen_Type)
  |  |  ------------------
  |  |  |  |  215|  2.24k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (312:13): [True: 1.12k, False: 0]
  |  Branch (312:34): [True: 1.12k, False: 0]
  |  Branch (312:65): [True: 1.12k, False: 0]
  ------------------
  313|       |            /* Return NULL if called by gen_iternext() */
  314|  1.12k|            Py_CLEAR(result);
  ------------------
  |  |  484|  1.12k|    do { \
  |  |  485|  1.12k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.12k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.12k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.12k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.12k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1.12k, False: 0]
  |  |  ------------------
  |  |  488|  1.12k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  1.12k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  1.12k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  1.12k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  1.12k|        } \
  |  |  491|  1.12k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.12k]
  |  |  ------------------
  ------------------
  315|  1.12k|        }
  316|  1.12k|    }
  317|      0|    else {
  318|      0|        assert(!PyErr_ExceptionMatches(PyExc_StopIteration));
  ------------------
  |  Branch (318:9): [True: 0, False: 0]
  ------------------
  319|      0|        assert(!PyAsyncGen_CheckExact(gen) ||
  ------------------
  |  Branch (319:9): [True: 0, False: 0]
  |  Branch (319:9): [True: 0, False: 0]
  ------------------
  320|      0|            !PyErr_ExceptionMatches(PyExc_StopAsyncIteration));
  321|      0|    }
  322|       |
  323|  1.12k|    *presult = result;
  324|  1.12k|    return result ? PYGEN_RETURN : PYGEN_ERROR;
  ------------------
  |  Branch (324:12): [True: 0, False: 1.12k]
  ------------------
  325|  1.12k|}
genobject.c:gen_traverse:
   83|      6|{
   84|      6|    PyGenObject *gen = _PyGen_CAST(self);
  ------------------
  |  |   33|      6|    _Py_CAST(PyGenObject*, (op))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   85|      6|    Py_VISIT(gen->gi_name);
  ------------------
  |  |  194|      6|    do {                                                                \
  |  |  195|      6|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  196|      6|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      6|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 6]
  |  |  ------------------
  |  |  198|      6|                return vret;                                            \
  |  |  199|      6|        }                                                               \
  |  |  200|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
   86|      6|    Py_VISIT(gen->gi_qualname);
  ------------------
  |  |  194|      6|    do {                                                                \
  |  |  195|      6|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 6, False: 0]
  |  |  ------------------
  |  |  196|      6|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      6|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 6]
  |  |  ------------------
  |  |  198|      6|                return vret;                                            \
  |  |  199|      6|        }                                                               \
  |  |  200|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
   87|      6|    if (gen->gi_frame_state != FRAME_CLEARED) {
  ------------------
  |  Branch (87:9): [True: 6, False: 0]
  ------------------
   88|      6|        _PyInterpreterFrame *frame = &gen->gi_iframe;
   89|      6|        assert(frame->frame_obj == NULL ||
  ------------------
  |  Branch (89:9): [True: 6, False: 0]
  |  Branch (89:9): [True: 0, False: 0]
  ------------------
   90|      6|               frame->frame_obj->f_frame->owner == FRAME_OWNED_BY_GENERATOR);
   91|      6|        int err = _PyFrame_Traverse(frame, visit, arg);
   92|      6|        if (err) {
  ------------------
  |  Branch (92:13): [True: 0, False: 6]
  ------------------
   93|      0|            return err;
   94|      0|        }
   95|      6|    }
   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|      6|    Py_VISIT(gen->gi_exc_state.exc_value);
  ------------------
  |  |  194|      6|    do {                                                                \
  |  |  195|      6|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 6]
  |  |  ------------------
  |  |  196|      0|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      0|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  198|      0|                return vret;                                            \
  |  |  199|      0|        }                                                               \
  |  |  200|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  104|      6|    return 0;
  105|      6|}
genobject.c:gen_iternext:
  762|  71.3k|{
  763|  71.3k|    assert(PyGen_CheckExact(self) || PyCoro_CheckExact(self));
  ------------------
  |  Branch (763:5): [True: 71.3k, False: 0]
  |  Branch (763:5): [True: 0, False: 0]
  ------------------
  764|  71.3k|    PyGenObject *gen = _PyGen_CAST(self);
  ------------------
  |  |   33|  71.3k|    _Py_CAST(PyGenObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  71.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  765|       |
  766|  71.3k|    PyObject *result;
  767|  71.3k|    if (gen_send_ex(gen, NULL, &result) == PYGEN_RETURN) {
  ------------------
  |  Branch (767:9): [True: 0, False: 71.3k]
  ------------------
  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|  71.3k|    return result;
  774|  71.3k|}
genobject.c:gen_close:
  465|     12|{
  466|     12|    PyGenObject *gen = _PyGen_CAST(self);
  ------------------
  |  |   33|     12|    _Py_CAST(PyGenObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  467|       |
  468|     12|    int8_t frame_state = FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state);
  ------------------
  |  |  156|     12|#define FT_ATOMIC_LOAD_INT8_RELAXED(value) value
  ------------------
  469|     12|    do {
  470|     12|        if (frame_state == FRAME_CREATED) {
  ------------------
  |  Branch (470:13): [True: 6, False: 6]
  ------------------
  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|      6|        if (FRAME_STATE_FINISHED(frame_state)) {
  ------------------
  |  |   58|      6|#define FRAME_STATE_FINISHED(S) ((S) == FRAME_CLEARED)
  |  |  ------------------
  |  |  |  Branch (58:33): [True: 0, False: 6]
  |  |  ------------------
  ------------------
  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|      6|        if (frame_state == FRAME_EXECUTING) {
  ------------------
  |  Branch (483:13): [True: 0, False: 6]
  ------------------
  484|      0|            gen_raise_already_executing_error(gen);
  485|      0|            return NULL;
  486|      0|        }
  487|       |
  488|      6|        assert(FRAME_STATE_SUSPENDED(frame_state));
  ------------------
  |  Branch (488:9): [True: 6, False: 0]
  |  Branch (488:9): [True: 6, False: 0]
  ------------------
  489|      6|    } while (!_Py_GEN_TRY_SET_FRAME_STATE(gen, frame_state, FRAME_EXECUTING));
  ------------------
  |  |   57|      6|    ((gen)->gi_frame_state = (state), true)
  ------------------
  |  Branch (489:14): [True: 0, False: 6]
  ------------------
  490|       |
  491|      6|    int err = 0;
  492|      6|    _PyInterpreterFrame *frame = &gen->gi_iframe;
  493|      6|    if (frame_state == FRAME_SUSPENDED_YIELD_FROM) {
  ------------------
  |  Branch (493:9): [True: 0, False: 6]
  ------------------
  494|      0|        PyObject *yf = PyStackRef_AsPyObjectNew(_PyFrame_StackPeek(frame, 2));
  ------------------
  |  |  757|      0|#define PyStackRef_AsPyObjectNew(stackref) Py_NewRef(PyStackRef_AsPyObjectBorrow(stackref))
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  495|      0|        err = gen_close_iter(yf);
  496|      0|        Py_DECREF(yf);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  497|      0|    }
  498|       |
  499|      6|    if (is_resume(frame->instr_ptr)) {
  ------------------
  |  Branch (499:9): [True: 6, False: 0]
  ------------------
  500|      6|        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|      6|        int oparg = frame->instr_ptr->op.arg;
  505|      6|        if (oparg & RESUME_OPARG_DEPTH1_MASK && no_unwind_tools) {
  ------------------
  |  |   95|     12|#define RESUME_OPARG_DEPTH1_MASK 0x8
  ------------------
  |  Branch (505:13): [True: 6, False: 0]
  |  Branch (505:49): [True: 6, False: 0]
  ------------------
  506|       |            // RESUME after YIELD_VALUE and exception depth is 1
  507|      6|            assert((oparg & RESUME_OPARG_LOCATION_MASK) != RESUME_AT_FUNC_START);
  ------------------
  |  Branch (507:13): [True: 6, False: 0]
  ------------------
  508|      6|            FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_CLEARED);
  ------------------
  |  |  167|      6|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  ------------------
  509|      6|            gen_clear_frame(gen);
  510|      6|            Py_RETURN_NONE;
  ------------------
  |  |  628|      6|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  511|      6|        }
  512|      6|    }
  513|      0|    if (err == 0) {
  ------------------
  |  Branch (513:9): [True: 0, False: 0]
  ------------------
  514|      0|        PyErr_SetNone(PyExc_GeneratorExit);
  515|      0|    }
  516|       |
  517|      0|    PyObject *retval;
  518|      0|    if (gen_send_ex2(gen, Py_None, &retval, 1) == PYGEN_RETURN) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (518:9): [True: 0, False: 0]
  ------------------
  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|      0|    else if (retval) {
  ------------------
  |  Branch (523:14): [True: 0, False: 0]
  ------------------
  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|      0|    assert(PyErr_Occurred());
  ------------------
  |  Branch (534:5): [True: 0, False: 0]
  ------------------
  535|       |
  536|      0|    if (PyErr_ExceptionMatches(PyExc_GeneratorExit)) {
  ------------------
  |  Branch (536:9): [True: 0, False: 0]
  ------------------
  537|      0|        PyErr_Clear();          /* ignore this error */
  538|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  539|      0|    }
  540|      0|    return NULL;
  541|      0|}
genobject.c:is_resume:
  453|      6|{
  454|      6|    uint8_t code = FT_ATOMIC_LOAD_UINT8_RELAXED(instr->op.code);
  ------------------
  |  |  157|      6|#define FT_ATOMIC_LOAD_UINT8_RELAXED(value) value
  ------------------
  455|      6|    return (
  456|      6|        code == RESUME ||
  ------------------
  |  |  130|     12|#define RESUME                                 128
  ------------------
  |  Branch (456:9): [True: 4, False: 2]
  ------------------
  457|      2|        code == RESUME_CHECK ||
  ------------------
  |  |  202|      8|#define RESUME_CHECK                           200
  ------------------
  |  Branch (457:9): [True: 2, False: 0]
  ------------------
  458|      0|        code == RESUME_CHECK_JIT ||
  ------------------
  |  |  203|      6|#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|      6|    );
  461|      6|}
genobject.c:gen_finalize:
  109|  1.26k|{
  110|  1.26k|    PyGenObject *gen = (PyGenObject *)self;
  111|       |
  112|  1.26k|    if (FRAME_STATE_FINISHED(gen->gi_frame_state)) {
  ------------------
  |  |   58|  1.26k|#define FRAME_STATE_FINISHED(S) ((S) == FRAME_CLEARED)
  |  |  ------------------
  |  |  |  Branch (58:33): [True: 1.25k, False: 10]
  |  |  ------------------
  ------------------
  113|       |        /* Generator isn't paused, so no need to close */
  114|  1.25k|        return;
  115|  1.25k|    }
  116|       |
  117|     10|    if (PyAsyncGen_CheckExact(self)) {
  ------------------
  |  |   46|     10|#define PyAsyncGen_CheckExact(op) Py_IS_TYPE((op), &PyAsyncGen_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: 2, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|     10|    PyObject *exc = PyErr_GetRaisedException();
  140|       |
  141|       |    /* If `gen` is a coroutine, and if it was never awaited on,
  142|       |       issue a RuntimeWarning. */
  143|     10|    assert(_PyGen_GetCode(gen) != NULL);
  ------------------
  |  Branch (143:5): [True: 10, False: 0]
  ------------------
  144|     10|    if (_PyGen_GetCode(gen)->co_flags & CO_COROUTINE &&
  ------------------
  |  |  131|     20|#define CO_COROUTINE            0x0080
  ------------------
  |  Branch (144:9): [True: 0, False: 10]
  ------------------
  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|     10|    else {
  150|     10|        PyObject *res = gen_close((PyObject*)gen, NULL);
  151|     10|        if (res == NULL) {
  ------------------
  |  Branch (151:13): [True: 0, False: 10]
  ------------------
  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|     10|        else {
  158|     10|            Py_DECREF(res);
  ------------------
  |  |  430|     10|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  159|     10|        }
  160|     10|    }
  161|       |
  162|       |    /* Restore the saved exception. */
  163|     10|    PyErr_SetRaisedException(exc);
  164|     10|}
genobject.c:make_gen:
 1097|  1.26k|{
 1098|  1.26k|    PyCodeObject *code = (PyCodeObject *)func->func_code;
 1099|  1.26k|    int slots = _PyFrame_NumSlotsForCodeObject(code);
 1100|  1.26k|    PyGenObject *gen = PyObject_GC_NewVar(PyGenObject, type, slots);
  ------------------
  |  |  183|  1.26k|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|  1.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1101|  1.26k|    if (gen == NULL) {
  ------------------
  |  Branch (1101:9): [True: 0, False: 1.26k]
  ------------------
 1102|      0|        return NULL;
 1103|      0|    }
 1104|  1.26k|    gen->gi_frame_state = FRAME_CLEARED;
 1105|  1.26k|    gen->gi_weakreflist = NULL;
 1106|  1.26k|    gen->gi_exc_state.exc_value = NULL;
 1107|  1.26k|    gen->gi_exc_state.previous_item = NULL;
 1108|  1.26k|    gen->gi_iframe.f_executable = PyStackRef_None;
  ------------------
  |  |  485|  1.26k|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|  1.26k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
 1109|  1.26k|    assert(func->func_name != NULL);
  ------------------
  |  Branch (1109:5): [True: 1.26k, False: 0]
  ------------------
 1110|  1.26k|    gen->gi_name = Py_NewRef(func->func_name);
  ------------------
  |  |  550|  1.26k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1111|  1.26k|    assert(func->func_qualname != NULL);
  ------------------
  |  Branch (1111:5): [True: 1.26k, False: 0]
  ------------------
 1112|  1.26k|    gen->gi_qualname = Py_NewRef(func->func_qualname);
  ------------------
  |  |  550|  1.26k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1113|  1.26k|    _PyObject_GC_TRACK(gen);
  ------------------
  |  |  505|  1.26k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1114|  1.26k|    return (PyObject *)gen;
 1115|  1.26k|}

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

_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);
  ------------------
  |  |  505|     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);
  ------------------
  |  |  507|      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|    134|{
   57|    134|    PyLazyImportObject *m = PyLazyImportObject_CAST(op);
  ------------------
  |  |   11|    134|#define PyLazyImportObject_CAST(op) ((PyLazyImportObject *)(op))
  ------------------
   58|    134|    Py_VISIT(m->lz_builtins);
  ------------------
  |  |  194|    134|    do {                                                                \
  |  |  195|    134|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 134, False: 0]
  |  |  ------------------
  |  |  196|    134|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    134|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 134]
  |  |  ------------------
  |  |  198|    134|                return vret;                                            \
  |  |  199|    134|        }                                                               \
  |  |  200|    134|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 134]
  |  |  ------------------
  ------------------
   59|    134|    Py_VISIT(m->lz_from);
  ------------------
  |  |  194|    134|    do {                                                                \
  |  |  195|    134|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 134, False: 0]
  |  |  ------------------
  |  |  196|    134|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    134|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 134]
  |  |  ------------------
  |  |  198|    134|                return vret;                                            \
  |  |  199|    134|        }                                                               \
  |  |  200|    134|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 134]
  |  |  ------------------
  ------------------
   60|    134|    Py_VISIT(m->lz_attr);
  ------------------
  |  |  194|    134|    do {                                                                \
  |  |  195|    134|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 36, False: 98]
  |  |  ------------------
  |  |  196|     36|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     36|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 36]
  |  |  ------------------
  |  |  198|     36|                return vret;                                            \
  |  |  199|     36|        }                                                               \
  |  |  200|    134|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 134]
  |  |  ------------------
  ------------------
   61|    134|    Py_VISIT(m->lz_code);
  ------------------
  |  |  194|    134|    do {                                                                \
  |  |  195|    134|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 134, False: 0]
  |  |  ------------------
  |  |  196|    134|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    134|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 134]
  |  |  ------------------
  |  |  198|    134|                return vret;                                            \
  |  |  199|    134|        }                                                               \
  |  |  200|    134|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 134]
  |  |  ------------------
  ------------------
   62|    134|    return 0;
   63|    134|}
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|   867k|{
  243|   867k|    if (size < 0) {
  ------------------
  |  Branch (243:9): [True: 0, False: 867k]
  ------------------
  244|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  245|      0|        return NULL;
  246|      0|    }
  247|       |
  248|   867k|    PyListObject *op = _Py_FREELIST_POP(PyListObject, lists);
  ------------------
  |  |   43|   867k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|   867k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  249|   867k|    if (op == NULL) {
  ------------------
  |  Branch (249:9): [True: 93.7k, False: 773k]
  ------------------
  250|  93.7k|        op = PyObject_GC_New(PyListObject, &PyList_Type);
  ------------------
  |  |  181|  93.7k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  93.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  251|  93.7k|        if (op == NULL) {
  ------------------
  |  Branch (251:13): [True: 0, False: 93.7k]
  ------------------
  252|      0|            return NULL;
  253|      0|        }
  254|  93.7k|    }
  255|   867k|    if (size <= 0) {
  ------------------
  |  Branch (255:9): [True: 684k, False: 183k]
  ------------------
  256|   684k|        op->ob_item = NULL;
  257|   684k|    }
  258|   183k|    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|   183k|        op->ob_item = (PyObject **) PyMem_Calloc(size, sizeof(PyObject *));
  269|   183k|#endif
  270|   183k|        if (op->ob_item == NULL) {
  ------------------
  |  Branch (270:13): [True: 0, False: 183k]
  ------------------
  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|   183k|    }
  275|   867k|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|   867k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|   867k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   867k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  276|   867k|    op->allocated = size;
  277|   867k|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  505|   867k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   867k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   867k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  278|   867k|    return (PyObject *) op;
  279|   867k|}
PyList_Size:
  310|  60.2k|{
  311|  60.2k|    if (!PyList_Check(op)) {
  ------------------
  |  |   25|  60.2k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  60.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (311:9): [True: 0, False: 60.2k]
  ------------------
  312|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  313|      0|        return -1;
  314|      0|    }
  315|  60.2k|    else {
  316|  60.2k|        return PyList_GET_SIZE(op);
  ------------------
  |  |   38|  60.2k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  60.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  60.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  317|  60.2k|    }
  318|  60.2k|}
PyList_GetItem:
  392|  13.1k|{
  393|  13.1k|    if (!PyList_Check(op)) {
  ------------------
  |  |   25|  13.1k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  13.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (393:9): [True: 0, False: 13.1k]
  ------------------
  394|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  395|      0|        return NULL;
  396|      0|    }
  397|  13.1k|    if (!valid_index(i, Py_SIZE(op))) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (397:9): [True: 0, False: 13.1k]
  ------------------
  398|      0|        _Py_DECLARE_STR(list_err, "list index out of range");
  399|      0|        PyErr_SetObject(PyExc_IndexError, &_Py_STR(list_err));
  ------------------
  |  |  923|      0|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  400|      0|        return NULL;
  401|      0|    }
  402|  13.1k|    return ((PyListObject *)op) -> ob_item[i];
  403|  13.1k|}
PyList_GetItemRef:
  407|    627|{
  408|    627|    if (!PyList_Check(op)) {
  ------------------
  |  |   25|    627|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    627|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (408:9): [True: 0, False: 627]
  ------------------
  409|      0|        PyErr_SetString(PyExc_TypeError, "expected a list");
  410|      0|        return NULL;
  411|      0|    }
  412|    627|    PyObject *item = list_get_item_ref((PyListObject *)op, i);
  413|    627|    if (item == NULL) {
  ------------------
  |  Branch (413:9): [True: 0, False: 627]
  ------------------
  414|      0|        _Py_DECLARE_STR(list_err, "list index out of range");
  415|      0|        PyErr_SetObject(PyExc_IndexError, &_Py_STR(list_err));
  ------------------
  |  |  923|      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|    627|    return item;
  419|    627|}
PyList_SetItem:
  456|  61.6k|{
  457|  61.6k|    if (!PyList_Check(op)) {
  ------------------
  |  |   25|  61.6k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  61.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (457:9): [True: 0, False: 61.6k]
  ------------------
  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|  61.6k|    int ret;
  463|  61.6k|    PyListObject *self = ((PyListObject *)op);
  464|  61.6k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  61.6k|    {
  ------------------
  465|  61.6k|    if (!valid_index(i, Py_SIZE(self))) {
  ------------------
  |  |  214|  61.6k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  61.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  61.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (465:9): [True: 0, False: 61.6k]
  ------------------
  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|  61.6k|    PyObject *tmp = self->ob_item[i];
  473|  61.6k|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item[i], newitem);
  ------------------
  |  |  164|  61.6k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  474|  61.6k|    Py_XDECREF(tmp);
  ------------------
  |  |  524|  61.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  61.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  61.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  475|  61.6k|    ret = 0;
  476|  61.6k|end:;
  477|  61.6k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  61.6k|    }
  ------------------
  478|  61.6k|    return ret;
  479|  61.6k|}
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|   734k|{
  528|   734k|    Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  214|   734k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   734k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   734k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  529|   734k|    assert(self->allocated == -1 || self->allocated == len);
  ------------------
  |  Branch (529:5): [True: 0, False: 734k]
  |  Branch (529:5): [True: 734k, False: 0]
  ------------------
  530|   734k|    if (list_resize(self, len + 1) < 0) {
  ------------------
  |  Branch (530:9): [True: 0, False: 734k]
  ------------------
  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|   734k|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item[len], newitem);
  ------------------
  |  |  164|   734k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  535|   734k|    return 0;
  536|   734k|}
PyList_Append:
  540|  8.32M|{
  541|  8.32M|    if (PyList_Check(op) && (newitem != NULL)) {
  ------------------
  |  |   25|  8.32M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  16.6M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 8.32M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (541:29): [True: 8.32M, False: 0]
  ------------------
  542|  8.32M|        int ret;
  543|  8.32M|        Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  8.32M|    {
  ------------------
  544|  8.32M|        ret = _PyList_AppendTakeRef((PyListObject *)op, Py_NewRef(newitem));
  ------------------
  |  |  550|  8.32M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  545|  8.32M|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  8.32M|    }
  ------------------
  546|  8.32M|        return ret;
  547|  8.32M|    }
  548|      0|    PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  549|      0|    return -1;
  550|  8.32M|}
_PyList_BinarySlice:
  721|  2.47k|{
  722|  2.47k|    assert(PyList_CheckExact(container));
  ------------------
  |  Branch (722:5): [True: 2.47k, False: 0]
  ------------------
  723|  2.47k|    Py_ssize_t istart = 0;
  724|  2.47k|    Py_ssize_t istop = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  2.47k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  725|       |    /* Unpack the index values before acquiring the lock, since
  726|       |     * _PyEval_SliceIndex may call __index__ which could execute
  727|       |     * arbitrary Python code. */
  728|  2.47k|    if (!_PyEval_SliceIndex(start, &istart)) {
  ------------------
  |  Branch (728:9): [True: 0, False: 2.47k]
  ------------------
  729|      0|        return NULL;
  730|      0|    }
  731|  2.47k|    if (!_PyEval_SliceIndex(stop, &istop)) {
  ------------------
  |  Branch (731:9): [True: 0, False: 2.47k]
  ------------------
  732|      0|        return NULL;
  733|      0|    }
  734|  2.47k|    PyObject *ret;
  735|  2.47k|    Py_BEGIN_CRITICAL_SECTION(container);
  ------------------
  |  |   51|  2.47k|    {
  ------------------
  736|  2.47k|    Py_ssize_t len = Py_SIZE(container);
  ------------------
  |  |  214|  2.47k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  737|  2.47k|    PySlice_AdjustIndices(len, &istart, &istop, 1);
  738|  2.47k|    ret = list_slice_lock_held((PyListObject *)container, istart, istop);
  739|  2.47k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.47k|    }
  ------------------
  740|  2.47k|    return ret;
  741|  2.47k|}
_PyList_Concat:
  803|     24|{
  804|     24|    if (!PyList_Check(bb)) {
  ------------------
  |  |   25|     24|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     24|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (804:9): [True: 0, False: 24]
  ------------------
  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|     24|    PyListObject *a = (PyListObject *)aa;
  811|     24|    PyListObject *b = (PyListObject *)bb;
  812|     24|    PyObject *ret;
  813|     24|    Py_BEGIN_CRITICAL_SECTION2(a, b);
  ------------------
  |  |   57|     24|    {
  ------------------
  814|     24|    ret = list_concat_lock_held(a, b);
  815|     24|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|     24|    }
  ------------------
  816|     24|    return ret;
  817|     24|}
PyList_SetSlice:
 1072|   120k|{
 1073|   120k|    if (!PyList_Check(a)) {
  ------------------
  |  |   25|   120k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   120k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1073:9): [True: 0, False: 120k]
  ------------------
 1074|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1075|      0|        return -1;
 1076|      0|    }
 1077|   120k|    return list_ass_slice((PyListObject *)a, ilow, ihigh, v);
 1078|   120k|}
_PyList_Extend:
 1534|  31.4k|{
 1535|  31.4k|    return list_extend((PyObject*)self, iterable);
 1536|  31.4k|}
PyList_Sort:
 3212|   119k|{
 3213|   119k|    if (v == NULL || !PyList_Check(v)) {
  ------------------
  |  |   25|   119k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   119k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3213:9): [True: 0, False: 119k]
  |  Branch (3213:22): [True: 0, False: 119k]
  ------------------
 3214|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3215|      0|        return -1;
 3216|      0|    }
 3217|   119k|    Py_BEGIN_CRITICAL_SECTION(v);
  ------------------
  |  |   51|   119k|    {
  ------------------
 3218|   119k|    v = list_sort_impl((PyListObject *)v, NULL, 0);
 3219|   119k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   119k|    }
  ------------------
 3220|   119k|    if (v == NULL)
  ------------------
  |  Branch (3220:9): [True: 0, False: 119k]
  ------------------
 3221|      0|        return -1;
 3222|   119k|    Py_DECREF(v);
  ------------------
  |  |  430|   119k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   119k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   119k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3223|   119k|    return 0;
 3224|   119k|}
PyList_AsTuple:
 3261|  66.2k|{
 3262|  66.2k|    if (v == NULL || !PyList_Check(v)) {
  ------------------
  |  |   25|  66.2k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  66.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3262:9): [True: 0, False: 66.2k]
  |  Branch (3262:22): [True: 0, False: 66.2k]
  ------------------
 3263|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3264|      0|        return NULL;
 3265|      0|    }
 3266|  66.2k|    PyObject *ret;
 3267|  66.2k|    PyListObject *self = (PyListObject *)v;
 3268|  66.2k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  66.2k|    {
  ------------------
 3269|  66.2k|    ret = PyTuple_FromArray(self->ob_item, Py_SIZE(v));
  ------------------
  |  |  214|  66.2k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  66.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  66.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3270|  66.2k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  66.2k|    }
  ------------------
 3271|  66.2k|    return ret;
 3272|  66.2k|}
_PyList_AsTupleAndClear:
 3276|    200|{
 3277|    200|    assert(self != NULL);
  ------------------
  |  Branch (3277:5): [True: 200, False: 0]
  ------------------
 3278|    200|    PyObject *ret;
 3279|    200|    if (self->ob_item == NULL) {
  ------------------
  |  Branch (3279:9): [True: 0, False: 200]
  ------------------
 3280|      0|        return PyTuple_New(0);
 3281|      0|    }
 3282|    200|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    200|    {
  ------------------
 3283|    200|    PyObject **items = self->ob_item;
 3284|    200|    Py_ssize_t size = Py_SIZE(self);
  ------------------
  |  |  214|    200|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    200|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3285|    200|    Py_SET_SIZE(self, 0);
  ------------------
  |  |  216|    200|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    200|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    200|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3286|    200|    ret = _PyTuple_FromArraySteal(items, size);
 3287|    200|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    200|    }
  ------------------
 3288|    200|    return ret;
 3289|    200|}
_PyList_FromStackRefStealOnSuccess:
 3293|   361k|{
 3294|   361k|    if (n == 0) {
  ------------------
  |  Branch (3294:9): [True: 360k, False: 679]
  ------------------
 3295|   360k|        return PyList_New(0);
 3296|   360k|    }
 3297|       |
 3298|    679|    PyListObject *list = (PyListObject *)PyList_New(n);
 3299|    679|    if (list == NULL) {
  ------------------
  |  Branch (3299:9): [True: 0, False: 679]
  ------------------
 3300|      0|        return NULL;
 3301|      0|    }
 3302|       |
 3303|    679|    PyObject **dst = list->ob_item;
 3304|  1.75k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3304:28): [True: 1.07k, False: 679]
  ------------------
 3305|  1.07k|        dst[i] = PyStackRef_AsPyObjectSteal(src[i]);
 3306|  1.07k|    }
 3307|       |
 3308|    679|    return (PyObject *)list;
 3309|    679|}
_PyList_SliceSubscript:
 3684|     33|{
 3685|     33|    return list_slice_subscript(_self, item);
 3686|     33|}
listobject.c:valid_index:
  322|   772k|{
  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|   772k|    return (size_t) i < (size_t) limit;
  331|   772k|}
listobject.c:list_get_item_ref:
  382|   651k|{
  383|   651k|    if (!valid_index(i, Py_SIZE(op))) {
  ------------------
  |  |  214|   651k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   651k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   651k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (383:9): [True: 37.4k, False: 613k]
  ------------------
  384|  37.4k|        return NULL;
  385|  37.4k|    }
  386|   613k|    return Py_NewRef(PyList_GET_ITEM(op, i));
  ------------------
  |  |  550|   613k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   613k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.22M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 613k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  387|   613k|}
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|   861k|{
  106|   861k|    size_t new_allocated, target_bytes;
  107|   861k|    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|   861k|    if (allocated >= newsize && newsize >= (allocated >> 1)) {
  ------------------
  |  Branch (113:9): [True: 108k, False: 752k]
  |  Branch (113:33): [True: 64.5k, False: 44.0k]
  ------------------
  114|  64.5k|        assert(self->ob_item != NULL || newsize == 0);
  ------------------
  |  Branch (114:9): [True: 64.5k, False: 0]
  |  Branch (114:9): [True: 0, False: 0]
  ------------------
  115|  64.5k|        Py_SET_SIZE(self, newsize);
  ------------------
  |  |  216|  64.5k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  64.5k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  64.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  116|  64.5k|        return 0;
  117|  64.5k|    }
  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|   796k|    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|   796k|    if (newsize - Py_SIZE(self) > (Py_ssize_t)(new_allocated - newsize))
  ------------------
  |  |  214|   796k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   796k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   796k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (133:9): [True: 8.00k, False: 788k]
  ------------------
  134|  8.00k|        new_allocated = ((size_t)newsize + 3) & ~(size_t)3;
  135|       |
  136|   796k|    if (newsize == 0)
  ------------------
  |  Branch (136:9): [True: 4, False: 796k]
  ------------------
  137|      4|        new_allocated = 0;
  138|       |
  139|   796k|    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|   796k|    PyObject **items;
  173|   796k|    if (new_allocated <= (size_t)PY_SSIZE_T_MAX / sizeof(PyObject *)) {
  ------------------
  |  |  137|   796k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (173:9): [True: 796k, False: 0]
  ------------------
  174|   796k|        target_bytes = new_allocated * sizeof(PyObject *);
  175|   796k|        items = (PyObject **)PyMem_Realloc(self->ob_item, target_bytes);
  176|   796k|    }
  177|      0|    else {
  178|       |        // integer overflow
  179|      0|        items = NULL;
  180|      0|    }
  181|   796k|    if (items == NULL) {
  ------------------
  |  Branch (181:9): [True: 0, False: 796k]
  ------------------
  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|   796k|    self->ob_item = items;
  191|   796k|    Py_SET_SIZE(self, newsize);
  ------------------
  |  |  216|   796k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|   796k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   796k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  192|   796k|    self->allocated = new_allocated;
  193|   796k|#endif
  194|   796k|    return 0;
  195|   796k|}
listobject.c:ensure_shared_on_resize:
   77|   796k|{
   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|   796k|}
listobject.c:list_slice_lock_held:
  697|  2.51k|{
  698|  2.51k|    PyListObject *np;
  699|  2.51k|    PyObject **src, **dest;
  700|  2.51k|    Py_ssize_t i, len;
  701|  2.51k|    len = ihigh - ilow;
  702|  2.51k|    if (len <= 0) {
  ------------------
  |  Branch (702:9): [True: 26, False: 2.48k]
  ------------------
  703|     26|        return PyList_New(0);
  704|     26|    }
  705|  2.48k|    np = (PyListObject *) list_new_prealloc(len);
  706|  2.48k|    if (np == NULL)
  ------------------
  |  Branch (706:9): [True: 0, False: 2.48k]
  ------------------
  707|      0|        return NULL;
  708|       |
  709|  2.48k|    src = a->ob_item + ilow;
  710|  2.48k|    dest = np->ob_item;
  711|   143k|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (711:17): [True: 140k, False: 2.48k]
  ------------------
  712|   140k|        PyObject *v = src[i];
  713|   140k|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  714|   140k|    }
  715|  2.48k|    Py_SET_SIZE(np, len);
  ------------------
  |  |  216|  2.48k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  2.48k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  716|  2.48k|    return (PyObject *)np;
  717|  2.48k|}
listobject.c:list_new_prealloc:
  283|  2.54k|{
  284|  2.54k|    assert(size > 0);
  ------------------
  |  Branch (284:5): [True: 2.54k, False: 0]
  ------------------
  285|  2.54k|    PyListObject *op = (PyListObject *) PyList_New(0);
  286|  2.54k|    if (op == NULL) {
  ------------------
  |  Branch (286:9): [True: 0, False: 2.54k]
  ------------------
  287|      0|        return NULL;
  288|      0|    }
  289|  2.54k|    assert(op->ob_item == NULL);
  ------------------
  |  Branch (289:5): [True: 2.54k, 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|  2.54k|    op->ob_item = PyMem_New(PyObject *, size);
  ------------------
  |  |   64|  2.54k|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|  2.54k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 2.54k]
  |  |  ------------------
  |  |   65|  2.54k|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  299|  2.54k|    if (op->ob_item == NULL) {
  ------------------
  |  Branch (299:9): [True: 0, False: 2.54k]
  ------------------
  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|  2.54k|#endif
  304|  2.54k|    op->allocated = size;
  305|  2.54k|    return (PyObject *) op;
  306|  2.54k|}
listobject.c:list_concat_lock_held:
  771|     24|{
  772|     24|    Py_ssize_t size;
  773|     24|    Py_ssize_t i;
  774|     24|    PyObject **src, **dest;
  775|     24|    PyListObject *np;
  776|     24|    assert((size_t)Py_SIZE(a) + (size_t)Py_SIZE(b) < PY_SSIZE_T_MAX);
  ------------------
  |  Branch (776:5): [True: 24, False: 0]
  ------------------
  777|     24|    size = Py_SIZE(a) + Py_SIZE(b);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  size = Py_SIZE(a) + Py_SIZE(b);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  778|     24|    if (size == 0) {
  ------------------
  |  Branch (778:9): [True: 0, False: 24]
  ------------------
  779|      0|        return PyList_New(0);
  780|      0|    }
  781|     24|    np = (PyListObject *) list_new_prealloc(size);
  782|     24|    if (np == NULL) {
  ------------------
  |  Branch (782:9): [True: 0, False: 24]
  ------------------
  783|      0|        return NULL;
  784|      0|    }
  785|     24|    src = a->ob_item;
  786|     24|    dest = np->ob_item;
  787|    314|    for (i = 0; i < Py_SIZE(a); i++) {
  ------------------
  |  |  214|    314|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    314|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    314|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (787:17): [True: 290, False: 24]
  ------------------
  788|    290|        PyObject *v = src[i];
  789|    290|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  550|    290|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    290|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    290|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  790|    290|    }
  791|     24|    src = b->ob_item;
  792|     24|    dest = np->ob_item + Py_SIZE(a);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  793|    396|    for (i = 0; i < Py_SIZE(b); i++) {
  ------------------
  |  |  214|    396|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    396|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    396|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (793:17): [True: 372, False: 24]
  ------------------
  794|    372|        PyObject *v = src[i];
  795|    372|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  550|    372|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    372|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    372|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  796|    372|    }
  797|     24|    Py_SET_SIZE(np, size);
  ------------------
  |  |  216|     24|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     24|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  798|     24|    return (PyObject *)np;
  799|     24|}
listobject.c:list_ass_slice:
 1042|   120k|{
 1043|   120k|    int ret;
 1044|   120k|    if (a == (PyListObject *)v) {
  ------------------
  |  Branch (1044:9): [True: 0, False: 120k]
  ------------------
 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|   120k|    else if (v != NULL && PyList_CheckExact(v)) {
  ------------------
  |  |   26|  3.29k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  3.29k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 3.29k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1057:14): [True: 3.29k, False: 116k]
  ------------------
 1058|  3.29k|        Py_BEGIN_CRITICAL_SECTION2(a, v);
  ------------------
  |  |   57|  3.29k|    {
  ------------------
 1059|  3.29k|        ret = list_ass_slice_lock_held(a, ilow, ihigh, v);
 1060|  3.29k|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|  3.29k|    }
  ------------------
 1061|  3.29k|    }
 1062|   116k|    else {
 1063|   116k|        Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|   116k|    {
  ------------------
 1064|   116k|        ret = list_ass_slice_lock_held(a, ilow, ihigh, v);
 1065|   116k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   116k|    }
  ------------------
 1066|   116k|    }
 1067|   120k|    return ret;
 1068|   120k|}
listobject.c:list_ass_slice_lock_held:
  951|   120k|{
  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|   120k|    PyObject *recycle_on_stack[8];
  959|   120k|    PyObject **recycle = recycle_on_stack; /* will allocate more if needed */
  960|   120k|    PyObject **item;
  961|   120k|    PyObject **vitem = NULL;
  962|   120k|    PyObject *v_as_SF = NULL; /* PySequence_Fast(v) */
  963|   120k|    Py_ssize_t n; /* # of elements in replacement list */
  964|   120k|    Py_ssize_t norig; /* # of elements in list getting replaced */
  965|   120k|    Py_ssize_t d; /* Change in size */
  966|   120k|    Py_ssize_t k;
  967|   120k|    size_t s;
  968|   120k|    int result = -1;            /* guilty until proved innocent */
  969|   120k|#define b ((PyListObject *)v)
  970|   120k|    if (v == NULL)
  ------------------
  |  Branch (970:9): [True: 117k, False: 3.36k]
  ------------------
  971|   117k|        n = 0;
  972|  3.36k|    else {
  973|  3.36k|        v_as_SF = PySequence_Fast(v, "can only assign an iterable");
  974|  3.36k|        if(v_as_SF == NULL)
  ------------------
  |  Branch (974:12): [True: 0, False: 3.36k]
  ------------------
  975|      0|            goto Error;
  976|  3.36k|        n = PySequence_Fast_GET_SIZE(v_as_SF);
  ------------------
  |  |   92|  3.36k|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|  3.36k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  3.36k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 3.36k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|  3.36k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.36k|#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|  3.36k|        vitem = PySequence_Fast_ITEMS(v_as_SF);
  ------------------
  |  |  102|  3.36k|    (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
  |  |  ------------------
  |  |  |  |   25|  3.36k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  3.36k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 3.36k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  103|  3.36k|                      : ((PyTupleObject *)(sf))->ob_item)
  ------------------
  978|  3.36k|    }
  979|   120k|    if (ilow < 0)
  ------------------
  |  Branch (979:9): [True: 0, False: 120k]
  ------------------
  980|      0|        ilow = 0;
  981|   120k|    else if (ilow > Py_SIZE(a))
  ------------------
  |  |  214|   120k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   120k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   120k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (981:14): [True: 0, False: 120k]
  ------------------
  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|   120k|    if (ihigh < ilow)
  ------------------
  |  Branch (984:9): [True: 0, False: 120k]
  ------------------
  985|      0|        ihigh = ilow;
  986|   120k|    else if (ihigh > Py_SIZE(a))
  ------------------
  |  |  214|   120k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   120k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   120k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (986:14): [True: 0, False: 120k]
  ------------------
  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|   120k|    norig = ihigh - ilow;
  990|   120k|    assert(norig >= 0);
  ------------------
  |  Branch (990:5): [True: 120k, False: 0]
  ------------------
  991|   120k|    d = n - norig;
  992|   120k|    if (Py_SIZE(a) + d == 0) {
  ------------------
  |  |  214|   120k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   120k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   120k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (992:9): [True: 11.9k, False: 108k]
  ------------------
  993|  11.9k|        Py_XDECREF(v_as_SF);
  ------------------
  |  |  524|  11.9k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  994|  11.9k|        list_clear(a);
  995|  11.9k|        return 0;
  996|  11.9k|    }
  997|   108k|    item = a->ob_item;
  998|       |    /* recycle the items that we are about to remove */
  999|   108k|    s = norig * sizeof(PyObject *);
 1000|       |    /* If norig == 0, item might be NULL, in which case we may not memcpy from it. */
 1001|   108k|    if (s) {
  ------------------
  |  Branch (1001:9): [True: 108k, False: 2]
  ------------------
 1002|   108k|        if (s > sizeof(recycle_on_stack)) {
  ------------------
  |  Branch (1002:13): [True: 3.59k, False: 105k]
  ------------------
 1003|  3.59k|            recycle = (PyObject **)PyMem_Malloc(s);
 1004|  3.59k|            if (recycle == NULL) {
  ------------------
  |  Branch (1004:17): [True: 0, False: 3.59k]
  ------------------
 1005|      0|                PyErr_NoMemory();
 1006|      0|                goto Error;
 1007|      0|            }
 1008|  3.59k|        }
 1009|   108k|        memcpy(recycle, &item[ilow], s);
 1010|   108k|    }
 1011|       |
 1012|   108k|    if (d < 0) { /* Delete -d items */
  ------------------
  |  Branch (1012:9): [True: 108k, False: 200]
  ------------------
 1013|   108k|        Py_ssize_t tail = Py_SIZE(a) - ihigh;
  ------------------
  |  |  214|   108k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   108k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   108k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1014|   108k|        ptr_wise_atomic_memmove(a, &item[ihigh+d], &item[ihigh], tail);
 1015|   108k|        (void)list_resize(a, Py_SIZE(a) + d); // NB: shrinking a list can't fail
  ------------------
  |  |  214|   108k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   108k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   108k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1016|   108k|        item = a->ob_item;
 1017|   108k|    }
 1018|    200|    else if (d > 0) { /* Insert d items */
  ------------------
  |  Branch (1018:14): [True: 2, False: 198]
  ------------------
 1019|      2|        k = Py_SIZE(a);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1020|      2|        if (list_resize(a, k+d) < 0)
  ------------------
  |  Branch (1020:13): [True: 0, False: 2]
  ------------------
 1021|      0|            goto Error;
 1022|      2|        item = a->ob_item;
 1023|      2|        ptr_wise_atomic_memmove(a, &item[ihigh+d], &item[ihigh], k - ihigh);
 1024|      2|    }
 1025|   109k|    for (k = 0; k < n; k++, ilow++) {
  ------------------
  |  Branch (1025:17): [True: 383, False: 108k]
  ------------------
 1026|    383|        PyObject *w = vitem[k];
 1027|    383|        FT_ATOMIC_STORE_PTR_RELEASE(item[ilow], Py_XNewRef(w));
  ------------------
  |  |  164|    383|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1028|    383|    }
 1029|   447k|    for (k = norig - 1; k >= 0; --k)
  ------------------
  |  Branch (1029:25): [True: 339k, False: 108k]
  ------------------
 1030|   339k|        Py_XDECREF(recycle[k]);
  ------------------
  |  |  524|   447k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   339k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   339k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1031|   108k|    result = 0;
 1032|   108k| Error:
 1033|   108k|    if (recycle != recycle_on_stack)
  ------------------
  |  Branch (1033:9): [True: 3.59k, False: 105k]
  ------------------
 1034|  3.59k|        PyMem_Free(recycle);
 1035|   108k|    Py_XDECREF(v_as_SF);
  ------------------
  |  |  524|   108k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   108k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   108k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1036|   108k|    return result;
 1037|   108k|#undef b
 1038|   108k|}
listobject.c:ptr_wise_atomic_memmove:
  919|   108k|{
  920|   108k|#ifndef Py_GIL_DISABLED
  921|   108k|    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|   108k|}
listobject.c:list_extend_impl:
 1525|  31.5k|{
 1526|  31.5k|    if (_list_extend(self, iterable) < 0) {
  ------------------
  |  Branch (1526:9): [True: 0, False: 31.5k]
  ------------------
 1527|      0|        return NULL;
 1528|      0|    }
 1529|  31.5k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  31.5k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  31.5k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1530|  31.5k|}
listobject.c:_list_extend:
 1458|  31.9k|{
 1459|       |    // Special case:
 1460|       |    // lists and tuples which can use PySequence_Fast ops
 1461|  31.9k|    int res = -1;
 1462|  31.9k|    if ((PyObject *)self == iterable) {
  ------------------
  |  Branch (1462:9): [True: 0, False: 31.9k]
  ------------------
 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|  31.9k|    else if (PyList_CheckExact(iterable)) {
  ------------------
  |  |   26|  31.9k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  31.9k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  31.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  31.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 396, False: 31.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1468|    396|        Py_BEGIN_CRITICAL_SECTION2(self, iterable);
  ------------------
  |  |   57|    396|    {
  ------------------
 1469|    396|        res = list_extend_lock_held(self, iterable);
 1470|    396|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|    396|    }
  ------------------
 1471|    396|    }
 1472|  31.5k|    else if (PyTuple_CheckExact(iterable)) {
  ------------------
  |  |   28|  31.5k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  31.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  31.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  31.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 224, False: 31.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1473|    224|        Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    224|    {
  ------------------
 1474|    224|        res = list_extend_lock_held(self, iterable);
 1475|    224|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    224|    }
  ------------------
 1476|    224|    }
 1477|  31.3k|    else if (PyAnySet_CheckExact(iterable)) {
  ------------------
  |  |   29|  31.3k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|  62.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  31.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  31.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 31.1k, False: 181]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|    181|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    181|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    181|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 181]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1478|  31.1k|        Py_BEGIN_CRITICAL_SECTION2(self, iterable);
  ------------------
  |  |   57|  31.1k|    {
  ------------------
 1479|  31.1k|        res = list_extend_set(self, (PySetObject *)iterable);
 1480|  31.1k|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|  31.1k|    }
  ------------------
 1481|  31.1k|    }
 1482|    181|    else if (PyDict_CheckExact(iterable)) {
  ------------------
  |  |   19|    181|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|    181|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    181|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    181|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 16, False: 165]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1483|     16|        Py_BEGIN_CRITICAL_SECTION2(self, iterable);
  ------------------
  |  |   57|     16|    {
  ------------------
 1484|     16|        res = list_extend_dict(self, (PyDictObject *)iterable, 0 /*keys*/);
 1485|     16|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|     16|    }
  ------------------
 1486|     16|    }
 1487|    165|    else if (Py_IS_TYPE(iterable, &PyDictKeys_Type)) {
  ------------------
  |  |  215|    165|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    165|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    165|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 165]
  |  |  ------------------
  ------------------
 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|    165|    else if (Py_IS_TYPE(iterable, &PyDictValues_Type)) {
  ------------------
  |  |  215|    165|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    165|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    165|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 1, False: 164]
  |  |  ------------------
  ------------------
 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|    164|    else if (Py_IS_TYPE(iterable, &PyDictItems_Type)) {
  ------------------
  |  |  215|    164|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    164|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    164|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 1, False: 163]
  |  |  ------------------
  ------------------
 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|    163|    else {
 1506|    163|        Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    163|    {
  ------------------
 1507|    163|        res = list_extend_iter_lock_held(self, iterable);
 1508|    163|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    163|    }
  ------------------
 1509|    163|    }
 1510|  31.9k|    return res;
 1511|  31.9k|}
listobject.c:list_extend_lock_held:
 1356|    620|{
 1357|    620|    PyObject *seq = PySequence_Fast(iterable, "argument must be iterable");
 1358|    620|    if (!seq) {
  ------------------
  |  Branch (1358:9): [True: 0, False: 620]
  ------------------
 1359|      0|        return -1;
 1360|      0|    }
 1361|       |
 1362|    620|    int res = list_extend_fast(self, seq);
 1363|    620|    Py_DECREF(seq);
  ------------------
  |  |  430|    620|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    620|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    620|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1364|    620|    return res;
 1365|    620|}
listobject.c:list_extend_fast:
 1243|    620|{
 1244|    620|    Py_ssize_t n = PySequence_Fast_GET_SIZE(iterable);
  ------------------
  |  |   92|    620|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|    620|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    620|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 396, False: 224]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|    396|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    396|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    396|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|    224|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    224|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    224|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1245|    620|    if (n == 0) {
  ------------------
  |  Branch (1245:9): [True: 100, False: 520]
  ------------------
 1246|       |        /* short circuit when iterable is empty */
 1247|    100|        return 0;
 1248|    100|    }
 1249|       |
 1250|    520|    Py_ssize_t m = Py_SIZE(self);
  ------------------
  |  |  214|    520|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    520|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    520|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1251|       |    // It should not be possible to allocate a list large enough to cause
 1252|       |    // an overflow on any relevant platform.
 1253|    520|    assert(m < PY_SSIZE_T_MAX - n);
  ------------------
  |  Branch (1253:5): [True: 520, False: 0]
  ------------------
 1254|    520|    if (self->ob_item == NULL) {
  ------------------
  |  Branch (1254:9): [True: 458, False: 62]
  ------------------
 1255|    458|        if (list_preallocate_exact(self, n) < 0) {
  ------------------
  |  Branch (1255:13): [True: 0, False: 458]
  ------------------
 1256|      0|            return -1;
 1257|      0|        }
 1258|    458|        Py_SET_SIZE(self, n);
  ------------------
  |  |  216|    458|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    458|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    458|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1259|    458|    }
 1260|     62|    else if (list_resize(self, m + n) < 0) {
  ------------------
  |  Branch (1260:14): [True: 0, False: 62]
  ------------------
 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|    520|    PyObject **src = PySequence_Fast_ITEMS(iterable);
  ------------------
  |  |  102|    520|    (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
  |  |  ------------------
  |  |  |  |   25|    520|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    520|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 381, False: 139]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  103|    520|                      : ((PyTupleObject *)(sf))->ob_item)
  ------------------
 1271|    520|    PyObject **dest = self->ob_item + m;
 1272|  4.02k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1272:28): [True: 3.50k, False: 520]
  ------------------
 1273|  3.50k|        PyObject *o = src[i];
 1274|  3.50k|        FT_ATOMIC_STORE_PTR_RELEASE(dest[i], Py_NewRef(o));
  ------------------
  |  |  164|  3.50k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1275|  3.50k|    }
 1276|    520|    return 0;
 1277|    520|}
listobject.c:list_preallocate_exact:
  199|    605|{
  200|    605|    PyObject **items;
  201|    605|    assert(self->ob_item == NULL);
  ------------------
  |  Branch (201:5): [True: 605, False: 0]
  ------------------
  202|    605|    assert(size > 0);
  ------------------
  |  Branch (202:5): [True: 605, 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|    605|    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|    605|    items = PyMem_New(PyObject*, size);
  ------------------
  |  |   64|    605|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    605|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 605]
  |  |  ------------------
  |  |   65|    605|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  220|    605|    if (items == NULL) {
  ------------------
  |  Branch (220:9): [True: 0, False: 605]
  ------------------
  221|      0|        PyErr_NoMemory();
  222|      0|        return -1;
  223|      0|    }
  224|    605|#endif
  225|    605|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item, items);
  ------------------
  |  |  164|    605|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  226|    605|    self->allocated = size;
  227|    605|    return 0;
  228|    605|}
listobject.c:list_extend_set:
 1369|  31.1k|{
 1370|  31.1k|    Py_ssize_t m = Py_SIZE(self);
  ------------------
  |  |  214|  31.1k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  31.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1371|  31.1k|    Py_ssize_t n = PySet_GET_SIZE(other);
  ------------------
  |  |   71|  31.1k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|  31.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1372|  31.1k|    Py_ssize_t r = m + n;
 1373|  31.1k|    if (r == 0) {
  ------------------
  |  Branch (1373:9): [True: 13.0k, False: 18.0k]
  ------------------
 1374|  13.0k|        return 0;
 1375|  13.0k|    }
 1376|  18.0k|    if (list_resize(self, r) < 0) {
  ------------------
  |  Branch (1376:9): [True: 0, False: 18.0k]
  ------------------
 1377|      0|        return -1;
 1378|      0|    }
 1379|       |
 1380|  18.0k|    assert(self->ob_item != NULL);
  ------------------
  |  Branch (1380:5): [True: 18.0k, False: 0]
  ------------------
 1381|       |    /* populate the end of self with iterable's items */
 1382|  18.0k|    Py_ssize_t setpos = 0;
 1383|  18.0k|    Py_hash_t hash;
 1384|  18.0k|    PyObject *key;
 1385|  18.0k|    PyObject **dest = self->ob_item + m;
 1386|   158k|    while (_PySet_NextEntryRef((PyObject *)other, &setpos, &key, &hash)) {
  ------------------
  |  Branch (1386:12): [True: 140k, False: 18.0k]
  ------------------
 1387|   140k|        FT_ATOMIC_STORE_PTR_RELEASE(*dest, key);
  ------------------
  |  |  164|   140k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1388|   140k|        dest++;
 1389|   140k|    }
 1390|  18.0k|    Py_SET_SIZE(self, r);
  ------------------
  |  |  216|  18.0k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  18.0k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1391|  18.0k|    return 0;
 1392|  18.0k|}
listobject.c:list_extend_dict:
 1396|     17|{
 1397|       |    // which_item: 0 for keys and 1 for values
 1398|     17|    Py_ssize_t m = Py_SIZE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1399|     17|    Py_ssize_t n = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|     17|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1400|     17|    Py_ssize_t r = m + n;
 1401|     17|    if (r == 0) {
  ------------------
  |  Branch (1401:9): [True: 0, False: 17]
  ------------------
 1402|      0|        return 0;
 1403|      0|    }
 1404|     17|    if (list_resize(self, r) < 0) {
  ------------------
  |  Branch (1404:9): [True: 0, False: 17]
  ------------------
 1405|      0|        return -1;
 1406|      0|    }
 1407|       |
 1408|     17|    assert(self->ob_item != NULL);
  ------------------
  |  Branch (1408:5): [True: 17, False: 0]
  ------------------
 1409|     17|    PyObject **dest = self->ob_item + m;
 1410|     17|    Py_ssize_t pos = 0;
 1411|     17|    PyObject *keyvalue[2];
 1412|    182|    while (_PyDict_Next((PyObject *)dict, &pos, &keyvalue[0], &keyvalue[1], NULL)) {
  ------------------
  |  Branch (1412:12): [True: 165, False: 17]
  ------------------
 1413|    165|        PyObject *obj = keyvalue[which_item];
 1414|    165|        Py_INCREF(obj);
  ------------------
  |  |  310|    165|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    165|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    165|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1415|    165|        FT_ATOMIC_STORE_PTR_RELEASE(*dest, obj);
  ------------------
  |  |  164|    165|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1416|    165|        dest++;
 1417|    165|    }
 1418|       |
 1419|     17|    Py_SET_SIZE(self, r);
  ------------------
  |  |  216|     17|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     17|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1420|     17|    return 0;
 1421|     17|}
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|    163|{
 1282|    163|    PyObject *it = PyObject_GetIter(iterable);
 1283|    163|    if (it == NULL) {
  ------------------
  |  Branch (1283:9): [True: 0, False: 163]
  ------------------
 1284|      0|        return -1;
 1285|      0|    }
 1286|    163|    PyObject *(*iternext)(PyObject *) = *Py_TYPE(it)->tp_iternext;
  ------------------
  |  |  213|    163|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    163|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    163|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1287|       |
 1288|       |    /* Guess a result list size. */
 1289|    163|    Py_ssize_t n = PyObject_LengthHint(iterable, 8);
 1290|    163|    if (n < 0) {
  ------------------
  |  Branch (1290:9): [True: 0, False: 163]
  ------------------
 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|    163|    Py_ssize_t m = Py_SIZE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1296|    163|    if (m > PY_SSIZE_T_MAX - n) {
  ------------------
  |  |  137|    163|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1296:9): [True: 0, False: 163]
  ------------------
 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|    163|    else if (self->ob_item == NULL) {
  ------------------
  |  Branch (1302:14): [True: 147, False: 16]
  ------------------
 1303|    147|        if (n && list_preallocate_exact(self, n) < 0)
  ------------------
  |  Branch (1303:13): [True: 147, False: 0]
  |  Branch (1303:18): [True: 0, False: 147]
  ------------------
 1304|      0|            goto error;
 1305|    147|    }
 1306|     16|    else {
 1307|       |        /* Make room. */
 1308|     16|        if (list_resize(self, m + n) < 0) {
  ------------------
  |  Branch (1308:13): [True: 0, False: 16]
  ------------------
 1309|      0|            goto error;
 1310|      0|        }
 1311|       |
 1312|       |        /* Make the list sane again. */
 1313|     16|        Py_SET_SIZE(self, m);
  ------------------
  |  |  216|     16|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     16|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1314|     16|    }
 1315|       |
 1316|       |    /* Run iterator to exhaustion. */
 1317|  5.81k|    for (;;) {
 1318|  5.81k|        PyObject *item = iternext(it);
 1319|  5.81k|        if (item == NULL) {
  ------------------
  |  Branch (1319:13): [True: 163, False: 5.64k]
  ------------------
 1320|    163|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (1320:17): [True: 0, False: 163]
  ------------------
 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|    163|            break;
 1327|    163|        }
 1328|       |
 1329|  5.64k|        if (Py_SIZE(self) < self->allocated) {
  ------------------
  |  |  214|  5.64k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1329:13): [True: 5.64k, False: 0]
  ------------------
 1330|  5.64k|            Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  214|  5.64k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1331|  5.64k|            FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item[len], item);  // steals item ref
  ------------------
  |  |  164|  5.64k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1332|  5.64k|            Py_SET_SIZE(self, len + 1);
  ------------------
  |  |  216|  5.64k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  5.64k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1333|  5.64k|        }
 1334|      0|        else {
 1335|      0|            if (_PyList_AppendTakeRef(self, item) < 0)
  ------------------
  |  Branch (1335:17): [True: 0, False: 0]
  ------------------
 1336|      0|                goto error;
 1337|      0|        }
 1338|  5.64k|    }
 1339|       |
 1340|       |    /* Cut back result list if initial guess was too large. */
 1341|    163|    if (Py_SIZE(self) < self->allocated) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1341:9): [True: 71, False: 92]
  ------------------
 1342|     71|        if (list_resize(self, Py_SIZE(self)) < 0)
  ------------------
  |  |  214|     71|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     71|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     71|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1342:13): [True: 0, False: 71]
  ------------------
 1343|      0|            goto error;
 1344|     71|    }
 1345|       |
 1346|    163|    Py_DECREF(it);
  ------------------
  |  |  430|    163|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    163|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    163|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1347|    163|    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|    163|}
listobject.c:list_clear:
  904|  12.6k|{
  905|       |    list_clear_impl(a, true);
  906|  12.6k|}
listobject.c:list_clear_impl:
  874|  12.6k|{
  875|  12.6k|    PyObject **items = a->ob_item;
  876|  12.6k|    if (items == NULL) {
  ------------------
  |  Branch (876:9): [True: 2, False: 12.6k]
  ------------------
  877|      2|        return;
  878|      2|    }
  879|       |
  880|       |    /* Because XDECREF can recursively invoke operations on
  881|       |       this list, we make it empty first. */
  882|  12.6k|    Py_ssize_t i = Py_SIZE(a);
  ------------------
  |  |  214|  12.6k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  883|  12.6k|    Py_SET_SIZE(a, 0);
  ------------------
  |  |  216|  12.6k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  12.6k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  884|  12.6k|    FT_ATOMIC_STORE_PTR_RELEASE(a->ob_item, NULL);
  ------------------
  |  |  164|  12.6k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  885|  12.6k|    a->allocated = 0;
  886|  25.3k|    while (--i >= 0) {
  ------------------
  |  Branch (886:12): [True: 12.6k, False: 12.6k]
  ------------------
  887|  12.6k|        Py_XDECREF(items[i]);
  ------------------
  |  |  524|  12.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  888|  12.6k|    }
  889|       |#ifdef Py_GIL_DISABLED
  890|       |    if (is_resize) {
  891|       |        ensure_shared_on_resize(a);
  892|       |    }
  893|       |    bool use_qsbr = is_resize && _PyObject_GC_IS_SHARED(a);
  894|       |#else
  895|  12.6k|    bool use_qsbr = false;
  896|  12.6k|#endif
  897|  12.6k|    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|  12.6k|}
listobject.c:free_list_items:
   60|   621k|{
   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|   621k|    PyMem_Free(items);
   72|   621k|#endif
   73|   621k|}
listobject.c:list_sort_impl:
 2946|   137k|{
 2947|   137k|    MergeState ms;
 2948|   137k|    Py_ssize_t nremaining;
 2949|   137k|    Py_ssize_t minrun;
 2950|   137k|    sortslice lo;
 2951|   137k|    Py_ssize_t saved_ob_size, saved_allocated;
 2952|   137k|    PyObject **saved_ob_item;
 2953|   137k|    PyObject **final_ob_item;
 2954|   137k|    PyObject *result = NULL;            /* guilty until proved innocent */
 2955|   137k|    Py_ssize_t i;
 2956|   137k|    PyObject **keys;
 2957|       |
 2958|   137k|    assert(self != NULL);
  ------------------
  |  Branch (2958:5): [True: 137k, False: 0]
  ------------------
 2959|   137k|    assert(PyList_Check(self));
  ------------------
  |  Branch (2959:5): [True: 137k, False: 0]
  ------------------
 2960|   137k|    if (keyfunc == Py_None)
  ------------------
  |  |  616|   137k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2960:9): [True: 18.0k, False: 119k]
  ------------------
 2961|  18.0k|        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|   137k|    saved_ob_size = Py_SIZE(self);
  ------------------
  |  |  214|   137k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   137k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   137k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2969|   137k|    saved_ob_item = self->ob_item;
 2970|   137k|    saved_allocated = self->allocated;
 2971|   137k|    Py_SET_SIZE(self, 0);
  ------------------
  |  |  216|   137k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|   137k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   137k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2972|   137k|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item, NULL);
  ------------------
  |  |  164|   137k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 2973|   137k|    self->allocated = -1; /* any operation will reset it to >= 0 */
 2974|       |
 2975|   137k|    if (keyfunc == NULL) {
  ------------------
  |  Branch (2975:9): [True: 137k, False: 2]
  ------------------
 2976|   137k|        keys = NULL;
 2977|   137k|        lo.keys = saved_ob_item;
 2978|   137k|        lo.values = NULL;
 2979|   137k|    }
 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|   137k|    if (saved_ob_size > 1) {
  ------------------
  |  Branch (3012:9): [True: 91.7k, False: 46.1k]
  ------------------
 3013|       |        /* Assume the first element is representative of the whole list. */
 3014|  91.7k|        int keys_are_in_tuples = (Py_IS_TYPE(lo.keys[0], &PyTuple_Type) &&
  ------------------
  |  |  215|   183k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  91.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  91.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 1, False: 91.7k]
  |  |  ------------------
  ------------------
 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|  91.7k|        PyTypeObject* key_type = (keys_are_in_tuples ?
  ------------------
  |  Branch (3017:35): [True: 1, False: 91.7k]
  ------------------
 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|  91.7k|                                  Py_TYPE(lo.keys[0]));
  ------------------
  |  |  213|  91.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  91.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  91.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3020|       |
 3021|  91.7k|        int keys_are_all_same_type = 1;
 3022|  91.7k|        int strings_are_latin = 1;
 3023|  91.7k|        int ints_are_bounded = 1;
 3024|       |
 3025|       |        /* Prove that assumption by checking every key. */
 3026|   682k|        for (i=0; i < saved_ob_size; i++) {
  ------------------
  |  Branch (3026:19): [True: 591k, False: 91.7k]
  ------------------
 3027|       |
 3028|   591k|            if (keys_are_in_tuples &&
  ------------------
  |  Branch (3028:17): [True: 44, False: 591k]
  ------------------
 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|   591k|            PyObject *key = (keys_are_in_tuples ?
  ------------------
  |  Branch (3038:30): [True: 44, False: 591k]
  ------------------
 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|   591k|                             lo.keys[i]);
 3041|       |
 3042|   591k|            if (!Py_IS_TYPE(key, key_type)) {
  ------------------
  |  |  215|   591k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   591k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   591k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3042:17): [True: 0, False: 591k]
  ------------------
 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|   591k|            if (keys_are_all_same_type) {
  ------------------
  |  Branch (3051:17): [True: 591k, False: 0]
  ------------------
 3052|   591k|                if (key_type == &PyLong_Type &&
  ------------------
  |  Branch (3052:21): [True: 1.02k, False: 590k]
  ------------------
 3053|  1.02k|                    ints_are_bounded &&
  ------------------
  |  Branch (3053:21): [True: 1.02k, False: 0]
  ------------------
 3054|  1.02k|                    !_PyLong_IsCompact((PyLongObject *)key)) {
  ------------------
  |  Branch (3054:21): [True: 0, False: 1.02k]
  ------------------
 3055|       |
 3056|      0|                    ints_are_bounded = 0;
 3057|      0|                }
 3058|   591k|                else if (key_type == &PyUnicode_Type &&
  ------------------
  |  Branch (3058:26): [True: 590k, False: 1.02k]
  ------------------
 3059|   590k|                         strings_are_latin &&
  ------------------
  |  Branch (3059:26): [True: 397k, False: 192k]
  ------------------
 3060|   795k|                         PyUnicode_KIND(key) != PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  258|   397k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   795k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 397k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3060:26): [True: 33.7k, False: 364k]
  ------------------
 3061|       |
 3062|  33.7k|                        strings_are_latin = 0;
 3063|  33.7k|                    }
 3064|   591k|                }
 3065|   591k|            }
 3066|       |
 3067|       |        /* Choose the best compare, given what we now know about the keys. */
 3068|  91.7k|        if (keys_are_all_same_type) {
  ------------------
  |  Branch (3068:13): [True: 91.7k, False: 0]
  ------------------
 3069|       |
 3070|  91.7k|            if (key_type == &PyUnicode_Type && strings_are_latin) {
  ------------------
  |  Branch (3070:17): [True: 91.3k, False: 408]
  |  Branch (3070:48): [True: 57.6k, False: 33.7k]
  ------------------
 3071|  57.6k|                ms.key_compare = unsafe_latin_compare;
 3072|  57.6k|            }
 3073|  34.1k|            else if (key_type == &PyLong_Type && ints_are_bounded) {
  ------------------
  |  Branch (3073:22): [True: 408, False: 33.7k]
  |  Branch (3073:50): [True: 408, False: 0]
  ------------------
 3074|    408|                ms.key_compare = unsafe_long_compare;
 3075|    408|            }
 3076|  33.7k|            else if (key_type == &PyFloat_Type) {
  ------------------
  |  Branch (3076:22): [True: 0, False: 33.7k]
  ------------------
 3077|      0|                ms.key_compare = unsafe_float_compare;
 3078|      0|            }
 3079|  33.7k|            else if ((ms.key_richcompare = key_type->tp_richcompare) != NULL) {
  ------------------
  |  Branch (3079:22): [True: 33.7k, False: 0]
  ------------------
 3080|  33.7k|                ms.key_compare = unsafe_object_compare;
 3081|  33.7k|            }
 3082|      0|            else {
 3083|      0|                ms.key_compare = safe_object_compare;
 3084|      0|            }
 3085|  91.7k|        }
 3086|      0|        else {
 3087|      0|            ms.key_compare = safe_object_compare;
 3088|      0|        }
 3089|       |
 3090|  91.7k|        if (keys_are_in_tuples) {
  ------------------
  |  Branch (3090:13): [True: 1, False: 91.7k]
  ------------------
 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|  91.7k|    }
 3103|       |    /* End of pre-sort check: ms is now set properly! */
 3104|       |
 3105|   137k|    merge_init(&ms, saved_ob_size, keys != NULL, &lo);
 3106|       |
 3107|   137k|    nremaining = saved_ob_size;
 3108|   137k|    if (nremaining < 2)
  ------------------
  |  Branch (3108:9): [True: 46.1k, False: 91.7k]
  ------------------
 3109|  46.1k|        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|  91.7k|    if (reverse) {
  ------------------
  |  Branch (3113:9): [True: 1, False: 91.7k]
  ------------------
 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|  93.3k|    do {
 3123|  93.3k|        Py_ssize_t n;
 3124|       |
 3125|       |        /* Identify next run. */
 3126|  93.3k|        n = count_run(&ms, &lo, nremaining);
 3127|  93.3k|        if (n < 0)
  ------------------
  |  Branch (3127:13): [True: 0, False: 93.3k]
  ------------------
 3128|      0|            goto fail;
 3129|       |        /* If short, extend to min(minrun, nremaining). */
 3130|  93.3k|        minrun = minrun_next(&ms);
 3131|  93.3k|        if (n < minrun) {
  ------------------
  |  Branch (3131:13): [True: 44.3k, False: 49.0k]
  ------------------
 3132|  44.3k|            const Py_ssize_t force = nremaining <= minrun ?
  ------------------
  |  Branch (3132:38): [True: 42.7k, False: 1.63k]
  ------------------
 3133|  42.7k|                              nremaining : minrun;
 3134|  44.3k|            if (binarysort(&ms, &lo, force, n) < 0)
  ------------------
  |  Branch (3134:17): [True: 0, False: 44.3k]
  ------------------
 3135|      0|                goto fail;
 3136|  44.3k|            n = force;
 3137|  44.3k|        }
 3138|       |        /* Maybe merge pending runs. */
 3139|  93.3k|        assert(ms.n == 0 || ms.pending[ms.n -1].base.keys +
  ------------------
  |  Branch (3139:9): [True: 91.7k, False: 1.63k]
  |  Branch (3139:9): [True: 1.63k, False: 0]
  ------------------
 3140|  93.3k|                            ms.pending[ms.n-1].len == lo.keys);
 3141|  93.3k|        if (found_new_run(&ms, n) < 0)
  ------------------
  |  Branch (3141:13): [True: 0, False: 93.3k]
  ------------------
 3142|      0|            goto fail;
 3143|       |        /* Push new run on stack. */
 3144|  93.3k|        assert(ms.n < MAX_MERGE_PENDING);
  ------------------
  |  Branch (3144:9): [True: 93.3k, False: 0]
  ------------------
 3145|  93.3k|        ms.pending[ms.n].base = lo;
 3146|  93.3k|        ms.pending[ms.n].len = n;
 3147|  93.3k|        ++ms.n;
 3148|       |        /* Advance to find next run. */
 3149|  93.3k|        sortslice_advance(&lo, n);
 3150|  93.3k|        nremaining -= n;
 3151|  93.3k|    } while (nremaining);
  ------------------
  |  Branch (3151:14): [True: 1.63k, False: 91.7k]
  ------------------
 3152|       |
 3153|  91.7k|    if (merge_force_collapse(&ms) < 0)
  ------------------
  |  Branch (3153:9): [True: 0, False: 91.7k]
  ------------------
 3154|      0|        goto fail;
 3155|  91.7k|    assert(ms.n == 1);
  ------------------
  |  Branch (3155:5): [True: 91.7k, False: 0]
  ------------------
 3156|  91.7k|    assert(keys == NULL
  ------------------
  |  Branch (3156:5): [True: 91.7k, False: 2]
  |  Branch (3156:5): [True: 91.7k, False: 0]
  ------------------
 3157|  91.7k|           ? ms.pending[0].base.keys == saved_ob_item
 3158|  91.7k|           : ms.pending[0].base.keys == &keys[0]);
 3159|  91.7k|    assert(ms.pending[0].len == saved_ob_size);
  ------------------
  |  Branch (3159:5): [True: 91.7k, False: 0]
  ------------------
 3160|  91.7k|    lo = ms.pending[0].base;
 3161|       |
 3162|   137k|succeed:
 3163|   137k|    result = Py_None;
  ------------------
  |  |  616|   137k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3164|   137k|fail:
 3165|   137k|    if (keys != NULL) {
  ------------------
  |  Branch (3165:9): [True: 2, False: 137k]
  ------------------
 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|   137k|    if (self->allocated != -1 && result != NULL) {
  ------------------
  |  Branch (3172:9): [True: 0, False: 137k]
  |  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|   137k|    if (reverse && saved_ob_size > 1)
  ------------------
  |  Branch (3180:9): [True: 1, False: 137k]
  |  Branch (3180:20): [True: 1, False: 0]
  ------------------
 3181|      1|        reverse_slice(saved_ob_item, saved_ob_item + saved_ob_size);
 3182|       |
 3183|   137k|    merge_freemem(&ms);
 3184|       |
 3185|   137k|keyfunc_fail:
 3186|   137k|    final_ob_item = self->ob_item;
 3187|   137k|    i = Py_SIZE(self);
  ------------------
  |  |  214|   137k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   137k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   137k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3188|   137k|    Py_SET_SIZE(self, saved_ob_size);
  ------------------
  |  |  216|   137k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|   137k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   137k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3189|   137k|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item, saved_ob_item);
  ------------------
  |  |  164|   137k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 3190|   137k|    FT_ATOMIC_STORE_SSIZE_RELAXED(self->allocated, saved_allocated);
  ------------------
  |  |  194|   137k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 3191|   137k|    if (final_ob_item != NULL) {
  ------------------
  |  Branch (3191:9): [True: 0, False: 137k]
  ------------------
 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|   137k|    return Py_XNewRef(result);
  ------------------
  |  |  551|   137k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   137k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   137k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3206|   137k|}
listobject.c:unsafe_latin_compare:
 2816|   972k|{
 2817|   972k|    Py_ssize_t len;
 2818|   972k|    int res;
 2819|       |
 2820|       |    /* Modified from Objects/unicodeobject.c:unicode_compare, assuming: */
 2821|   972k|    assert(Py_IS_TYPE(v, &PyUnicode_Type));
  ------------------
  |  Branch (2821:5): [True: 972k, False: 0]
  ------------------
 2822|   972k|    assert(Py_IS_TYPE(w, &PyUnicode_Type));
  ------------------
  |  Branch (2822:5): [True: 972k, False: 0]
  ------------------
 2823|   972k|    assert(PyUnicode_KIND(v) == PyUnicode_KIND(w));
  ------------------
  |  Branch (2823:5): [True: 972k, False: 0]
  |  Branch (2823:5): [True: 972k, False: 0]
  |  Branch (2823:5): [True: 972k, False: 0]
  ------------------
 2824|   972k|    assert(PyUnicode_KIND(v) == PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (2824:5): [True: 972k, False: 0]
  |  Branch (2824:5): [True: 972k, False: 0]
  ------------------
 2825|       |
 2826|   972k|    len = Py_MIN(PyUnicode_GET_LENGTH(v), PyUnicode_GET_LENGTH(w));
  ------------------
  |  |  112|   972k|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 420k, False: 551k]
  |  |  ------------------
  ------------------
 2827|   972k|    res = memcmp(PyUnicode_DATA(v), PyUnicode_DATA(w), len);
  ------------------
  |  |  284|   972k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   972k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   972k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  res = memcmp(PyUnicode_DATA(v), PyUnicode_DATA(w), len);
  ------------------
  |  |  284|   972k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   972k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   972k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2828|       |
 2829|   972k|    res = (res != 0 ?
  ------------------
  |  Branch (2829:12): [True: 891k, False: 80.9k]
  ------------------
 2830|   891k|           res < 0 :
 2831|   972k|           PyUnicode_GET_LENGTH(v) < PyUnicode_GET_LENGTH(w));
  ------------------
  |  |  299|  80.9k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  80.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                         PyUnicode_GET_LENGTH(v) < PyUnicode_GET_LENGTH(w));
  ------------------
  |  |  299|  80.9k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  80.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2832|       |
 2833|   972k|    assert(res == PyObject_RichCompareBool(v, w, Py_LT));;
  ------------------
  |  Branch (2833:5): [True: 972k, False: 0]
  ------------------
 2834|   972k|    return res;
 2835|   972k|}
listobject.c:unsafe_long_compare:
 2840|  1.27k|{
 2841|  1.27k|    PyLongObject *vl, *wl;
 2842|  1.27k|    intptr_t v0, w0;
 2843|  1.27k|    int res;
 2844|       |
 2845|       |    /* Modified from Objects/longobject.c:long_compare, assuming: */
 2846|  1.27k|    assert(Py_IS_TYPE(v, &PyLong_Type));
  ------------------
  |  Branch (2846:5): [True: 1.27k, False: 0]
  ------------------
 2847|  1.27k|    assert(Py_IS_TYPE(w, &PyLong_Type));
  ------------------
  |  Branch (2847:5): [True: 1.27k, False: 0]
  ------------------
 2848|  1.27k|    assert(_PyLong_IsCompact((PyLongObject *)v));
  ------------------
  |  Branch (2848:5): [True: 1.27k, False: 0]
  ------------------
 2849|  1.27k|    assert(_PyLong_IsCompact((PyLongObject *)w));
  ------------------
  |  Branch (2849:5): [True: 1.27k, False: 0]
  ------------------
 2850|       |
 2851|  1.27k|    vl = (PyLongObject*)v;
 2852|  1.27k|    wl = (PyLongObject*)w;
 2853|       |
 2854|  1.27k|    v0 = _PyLong_CompactValue(vl);
 2855|  1.27k|    w0 = _PyLong_CompactValue(wl);
 2856|       |
 2857|  1.27k|    res = v0 < w0;
 2858|  1.27k|    assert(res == PyObject_RichCompareBool(v, w, Py_LT));
  ------------------
  |  Branch (2858:5): [True: 1.27k, False: 0]
  ------------------
 2859|  1.27k|    return res;
 2860|  1.27k|}
listobject.c:unsafe_object_compare:
 2779|   643k|{
 2780|   643k|    PyObject *res_obj; int res;
 2781|       |
 2782|       |    /* No assumptions, because we check first: */
 2783|   643k|    if (Py_TYPE(v)->tp_richcompare != ms->key_richcompare)
  ------------------
  |  |  213|   643k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   643k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   643k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2783:9): [True: 0, False: 643k]
  ------------------
 2784|      0|        return PyObject_RichCompareBool(v, w, Py_LT);
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
 2785|       |
 2786|   643k|    assert(ms->key_richcompare != NULL);
  ------------------
  |  Branch (2786:5): [True: 643k, False: 0]
  ------------------
 2787|   643k|    res_obj = (*(ms->key_richcompare))(v, w, Py_LT);
  ------------------
  |  |  652|   643k|#define Py_LT 0
  ------------------
 2788|       |
 2789|   643k|    if (res_obj == Py_NotImplemented) {
  ------------------
  |  |  640|   643k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (2789:9): [True: 0, False: 643k]
  ------------------
 2790|      0|        Py_DECREF(res_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2791|      0|        return PyObject_RichCompareBool(v, w, Py_LT);
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
 2792|      0|    }
 2793|   643k|    if (res_obj == NULL)
  ------------------
  |  Branch (2793:9): [True: 0, False: 643k]
  ------------------
 2794|      0|        return -1;
 2795|       |
 2796|   643k|    if (PyBool_Check(res_obj)) {
  ------------------
  |  |   12|   643k|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|   643k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   643k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   643k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 643k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2797|   643k|        res = (res_obj == Py_True);
  ------------------
  |  |   26|   643k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|   643k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   643k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2798|   643k|        assert(_Py_IsImmortal(res_obj));
  ------------------
  |  Branch (2798:9): [True: 643k, False: 0]
  ------------------
 2799|   643k|    }
 2800|      0|    else {
 2801|      0|        res = PyObject_IsTrue(res_obj);
 2802|      0|        Py_DECREF(res_obj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2803|      0|    }
 2804|       |
 2805|       |    /* Note that we can't assert
 2806|       |     *     res == PyObject_RichCompareBool(v, w, Py_LT);
 2807|       |     * because of evil compare functions like this:
 2808|       |     *     lambda a, b:  int(random.random() * 3) - 1)
 2809|       |     * (which is actually in test_sort.py) */
 2810|   643k|    return res;
 2811|   643k|}
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|   137k|{
 2235|   137k|    assert(ms != NULL);
  ------------------
  |  Branch (2235:5): [True: 137k, False: 0]
  ------------------
 2236|   137k|    if (has_keyfunc) {
  ------------------
  |  Branch (2236:9): [True: 2, False: 137k]
  ------------------
 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|   137k|    else {
 2252|   137k|        ms->alloced = MERGESTATE_TEMP_SIZE;
  ------------------
  |  | 1731|   137k|#define MERGESTATE_TEMP_SIZE 256
  ------------------
 2253|   137k|        ms->a.values = NULL;
 2254|   137k|    }
 2255|   137k|    ms->a.keys = ms->temparray;
 2256|   137k|    ms->n = 0;
 2257|   137k|    ms->min_gallop = MIN_GALLOP;
  ------------------
  |  | 1728|   137k|#define MIN_GALLOP 7
  ------------------
 2258|   137k|    ms->listlen = list_size;
 2259|   137k|    ms->basekeys = lo->keys;
 2260|       |
 2261|       |    /* State for generating minrun values. See listsort.txt. */
 2262|   137k|    ms->mr_e = 0;
 2263|   139k|    while (list_size >> ms->mr_e >= MAX_MINRUN) {
  ------------------
  |  | 1734|   139k|#define MAX_MINRUN 64
  ------------------
  |  Branch (2263:12): [True: 1.48k, False: 137k]
  ------------------
 2264|  1.48k|        ++ms->mr_e;
 2265|  1.48k|    }
 2266|   137k|    ms->mr_mask = (1 << ms->mr_e) - 1;
 2267|   137k|    ms->mr_current = 0;
 2268|   137k|}
listobject.c:count_run:
 1952|  93.3k|{
 1953|  93.3k|    Py_ssize_t k; /* used by IFLT macro expansion */
 1954|  93.3k|    Py_ssize_t n;
 1955|  93.3k|    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|  93.3k|#define REVERSE_LAST_NEQ                        \
 1964|  93.3k|    if (neq) {                                  \
 1965|  93.3k|        sortslice slice = *slo;                 \
 1966|  93.3k|        ++neq;                                  \
 1967|  93.3k|        sortslice_advance(&slice, n - neq);     \
 1968|  93.3k|        sortslice_reverse(&slice, neq);         \
 1969|  93.3k|        neq = 0;                                \
 1970|  93.3k|    }
 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|  93.3k|#define IF_NEXT_LARGER  IFLT(lo[n-1], lo[n])
 1978|  93.3k|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
 1979|       |
 1980|  93.3k|    assert(nremaining);
  ------------------
  |  Branch (1980:5): [True: 93.3k, False: 0]
  ------------------
 1981|       |    /* try ascending run first */
 1982|   169k|    for (n = 1; n < nremaining; ++n) {
  ------------------
  |  Branch (1982:17): [True: 139k, False: 30.1k]
  ------------------
 1983|   139k|        IF_NEXT_SMALLER
  ------------------
  |  | 1978|   139k|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
  |  |  ------------------
  |  |  |  | 1715|   139k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1709|   139k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1715:24): [True: 0, False: 139k]
  |  |  |  |  ------------------
  |  |  |  | 1716|   139k|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1716:16): [True: 63.2k, False: 76.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1984|  63.2k|            break;
 1985|   139k|    }
 1986|  93.3k|    if (n == nremaining)
  ------------------
  |  Branch (1986:9): [True: 30.1k, False: 63.2k]
  ------------------
 1987|  30.1k|        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|  63.2k|    if (n > 1) {
  ------------------
  |  Branch (1998:9): [True: 19.6k, False: 43.5k]
  ------------------
 1999|  19.6k|        IFLT(lo[0], lo[n-1])
  ------------------
  |  | 1715|  19.6k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|  19.6k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 19.6k]
  |  |  ------------------
  |  | 1716|  19.6k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 19.6k, False: 0]
  |  |  ------------------
  ------------------
 2000|  19.6k|            return n;
 2001|      0|        sortslice_reverse(slo, n);
 2002|      0|    }
 2003|  43.5k|    ++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|  43.5k|    Py_ssize_t neq = 0;
 2010|  58.5k|    for ( ; n < nremaining; ++n) {
  ------------------
  |  Branch (2010:13): [True: 52.1k, False: 6.38k]
  ------------------
 2011|  52.1k|        IF_NEXT_SMALLER {
  ------------------
  |  | 1978|  52.1k|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
  |  |  ------------------
  |  |  |  | 1715|  52.1k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1709|  52.1k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1715:24): [True: 0, False: 52.1k]
  |  |  |  |  ------------------
  |  |  |  | 1716|  52.1k|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1716:16): [True: 14.9k, False: 37.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2012|       |            /* This ends the most recent run of equal elements, but still in
 2013|       |             * the "descending" direction.
 2014|       |             */
 2015|  14.9k|            REVERSE_LAST_NEQ
  ------------------
  |  | 1964|  14.9k|    if (neq) {                                  \
  |  |  ------------------
  |  |  |  Branch (1964:9): [True: 0, False: 14.9k]
  |  |  ------------------
  |  | 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|  14.9k|        }
 2017|  37.2k|        else {
 2018|  37.2k|            IF_NEXT_LARGER /* descending run is over */
  ------------------
  |  | 1977|  37.2k|#define IF_NEXT_LARGER  IFLT(lo[n-1], lo[n])
  |  |  ------------------
  |  |  |  | 1715|  37.2k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1709|  37.2k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1715:24): [True: 0, False: 37.2k]
  |  |  |  |  ------------------
  |  |  |  | 1716|  37.2k|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1716:16): [True: 37.2k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2019|  37.2k|                break;
 2020|      0|            else /* not x < y and not y < x implies x == y */
 2021|      0|                ++neq;
 2022|  37.2k|        }
 2023|  52.1k|    }
 2024|  43.5k|    REVERSE_LAST_NEQ
  ------------------
  |  | 1964|  43.5k|    if (neq) {                                  \
  |  |  ------------------
  |  |  |  Branch (1964:9): [True: 0, False: 43.5k]
  |  |  ------------------
  |  | 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|  43.5k|    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|  66.3k|    for ( ; n < nremaining; ++n) {
  ------------------
  |  Branch (2031:13): [True: 47.4k, False: 18.8k]
  ------------------
 2032|  47.4k|        IF_NEXT_SMALLER
  ------------------
  |  | 1978|  47.4k|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
  |  |  ------------------
  |  |  |  | 1715|  47.4k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1709|  47.4k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1715:24): [True: 0, False: 47.4k]
  |  |  |  |  ------------------
  |  |  |  | 1716|  47.4k|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1716:16): [True: 24.7k, False: 22.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2033|  24.7k|            break;
 2034|  47.4k|    }
 2035|       |
 2036|  43.5k|    return n;
 2037|      0|fail:
 2038|      0|    return -1;
 2039|       |
 2040|  43.5k|#undef REVERSE_LAST_NEQ
 2041|  43.5k|#undef IF_NEXT_SMALLER
 2042|  43.5k|#undef IF_NEXT_LARGER
 2043|  43.5k|}
listobject.c:sortslice_reverse:
 1936|  43.5k|{
 1937|  43.5k|    reverse_slice(s->keys, &s->keys[n]);
 1938|  43.5k|    if (s->values != NULL)
  ------------------
  |  Branch (1938:9): [True: 0, False: 43.5k]
  ------------------
 1939|      0|        reverse_slice(s->values, &s->values[n]);
 1940|  43.5k|}
listobject.c:minrun_next:
 2748|  93.3k|{
 2749|  93.3k|    ms->mr_current += ms->listlen;
 2750|  93.3k|    assert(ms->mr_current >= 0); /* no overflow */
  ------------------
  |  Branch (2750:5): [True: 93.3k, False: 0]
  ------------------
 2751|  93.3k|    Py_ssize_t result = ms->mr_current >> ms->mr_e;
 2752|  93.3k|    ms->mr_current &= ms->mr_mask;
 2753|  93.3k|    return result;
 2754|  93.3k|}
listobject.c:binarysort:
 1814|  44.3k|{
 1815|  44.3k|    Py_ssize_t k; /* for IFLT macro expansion */
 1816|  44.3k|    PyObject ** const a = ss->keys;
 1817|  44.3k|    PyObject ** const v = ss->values;
 1818|  44.3k|    const bool has_values = v != NULL;
 1819|  44.3k|    PyObject *pivot;
 1820|  44.3k|    Py_ssize_t M;
 1821|       |
 1822|  44.3k|    assert(0 <= ok && ok <= n && 1 <= n && n <= MAX_MINRUN);
  ------------------
  |  Branch (1822:5): [True: 44.3k, False: 0]
  |  Branch (1822:5): [True: 44.3k, False: 0]
  |  Branch (1822:5): [True: 44.3k, False: 0]
  |  Branch (1822:5): [True: 44.3k, False: 0]
  ------------------
 1823|       |    /* assert a[:ok] is sorted */
 1824|  44.3k|    if (! ok)
  ------------------
  |  Branch (1824:9): [True: 0, False: 44.3k]
  ------------------
 1825|      0|        ++ok;
 1826|       |    /* Regular insertion sort has average- and worst-case O(n**2) cost
 1827|       |       for both # of comparisons and number of bytes moved. But its branches
 1828|       |       are highly predictable, and it loves sorted input (n-1 compares and no
 1829|       |       data movement). This is significant in cases like sortperf.py's %sort,
 1830|       |       where an out-of-order element near the start of a run is moved into
 1831|       |       place slowly but then the remaining elements up to length minrun are
 1832|       |       generally at worst one slot away from their correct position (so only
 1833|       |       need 1 or 2 commpares to resolve). If comparisons are very fast (such
 1834|       |       as for a list of Python floats), the simple inner loop leaves it
 1835|       |       very competitive with binary insertion, despite that it does
 1836|       |       significantly more compares overall on random data.
 1837|       |
 1838|       |       Binary insertion sort has worst, average, and best case O(n log n)
 1839|       |       cost for # of comparisons, but worst and average case O(n**2) cost
 1840|       |       for data movement. The more expensive comparisons, the more important
 1841|       |       the comparison advantage. But its branches are less predictable the
 1842|       |       more "randomish" the data, and that's so significant its worst case
 1843|       |       in real life is random input rather than reverse-ordered (which does
 1844|       |       about twice the data movement than random input does).
 1845|       |
 1846|       |       Note that the number of bytes moved doesn't seem to matter. MAX_MINRUN
 1847|       |       of 64 is so small that the key and value pointers all fit in a corner
 1848|       |       of L1 cache, and moving things around in that is very fast. */
 1849|       |#if 0 // ordinary insertion sort.
 1850|       |    PyObject * vpivot = NULL;
 1851|       |    for (; ok < n; ++ok) {
 1852|       |        pivot = a[ok];
 1853|       |        if (has_values)
 1854|       |            vpivot = v[ok];
 1855|       |        for (M = ok - 1; M >= 0; --M) {
 1856|       |            k = ISLT(pivot, a[M]);
 1857|       |            if (k < 0) {
 1858|       |                a[M + 1] = pivot;
 1859|       |                if (has_values)
 1860|       |                    v[M + 1] = vpivot;
 1861|       |                goto fail;
 1862|       |            }
 1863|       |            else if (k) {
 1864|       |                a[M + 1] = a[M];
 1865|       |                if (has_values)
 1866|       |                    v[M + 1] = v[M];
 1867|       |            }
 1868|       |            else
 1869|       |                break;
 1870|       |        }
 1871|       |        a[M + 1] = pivot;
 1872|       |        if (has_values)
 1873|       |            v[M + 1] = vpivot;
 1874|       |    }
 1875|       |#else // binary insertion sort
 1876|  44.3k|    Py_ssize_t L, R;
 1877|   384k|    for (; ok < n; ++ok) {
  ------------------
  |  Branch (1877:12): [True: 340k, False: 44.3k]
  ------------------
 1878|       |        /* set L to where a[ok] belongs */
 1879|   340k|        L = 0;
 1880|   340k|        R = ok;
 1881|   340k|        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|   340k|        assert(L < R);
  ------------------
  |  Branch (1887:9): [True: 340k, False: 0]
  ------------------
 1888|  1.18M|        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|  1.18M|            M = (L + R) >> 1;
 1892|  1.18M|#if 1 // straightforward, but highly unpredictable branch on random data
 1893|  1.18M|            IFLT(pivot, a[M])
  ------------------
  |  | 1715|  1.18M|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|  1.18M|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 1.18M]
  |  |  ------------------
  |  | 1716|  1.18M|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 644k, False: 544k]
  |  |  ------------------
  ------------------
 1894|   644k|                R = M;
 1895|   544k|            else
 1896|   544k|                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|  1.18M|        } while (L < R);
  ------------------
  |  Branch (1910:18): [True: 848k, False: 340k]
  ------------------
 1911|   340k|        assert(L == R);
  ------------------
  |  Branch (1911:9): [True: 340k, 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|  2.61M|        for (M = ok; M > L; --M)
  ------------------
  |  Branch (1917:22): [True: 2.27M, False: 340k]
  ------------------
 1918|  2.27M|            a[M] = a[M - 1];
 1919|   340k|        a[L] = pivot;
 1920|   340k|        if (has_values) {
  ------------------
  |  Branch (1920:13): [True: 0, False: 340k]
  ------------------
 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|   340k|    }
 1927|  44.3k|#endif // pick binary or regular insertion sort
 1928|  44.3k|    return 0;
 1929|       |
 1930|      0| fail:
 1931|      0|    return -1;
 1932|  44.3k|}
listobject.c:found_new_run:
 2706|  93.3k|{
 2707|  93.3k|    assert(ms);
  ------------------
  |  Branch (2707:5): [True: 93.3k, False: 0]
  ------------------
 2708|  93.3k|    if (ms->n) {
  ------------------
  |  Branch (2708:9): [True: 1.63k, False: 91.7k]
  ------------------
 2709|  1.63k|        assert(ms->n > 0);
  ------------------
  |  Branch (2709:9): [True: 1.63k, False: 0]
  ------------------
 2710|  1.63k|        struct s_slice *p = ms->pending;
 2711|  1.63k|        Py_ssize_t s1 = p[ms->n - 1].base.keys - ms->basekeys; /* start index */
 2712|  1.63k|        Py_ssize_t n1 = p[ms->n - 1].len;
 2713|  1.63k|        int power = powerloop(s1, n1, n2, ms->listlen);
 2714|  1.77k|        while (ms->n > 1 && p[ms->n - 2].power > power) {
  ------------------
  |  Branch (2714:16): [True: 294, False: 1.48k]
  |  Branch (2714:29): [True: 147, False: 147]
  ------------------
 2715|    147|            if (merge_at(ms, ms->n - 2) < 0)
  ------------------
  |  Branch (2715:17): [True: 0, False: 147]
  ------------------
 2716|      0|                return -1;
 2717|    147|        }
 2718|  1.63k|        assert(ms->n < 2 || p[ms->n - 2].power < power);
  ------------------
  |  Branch (2718:9): [True: 1.48k, False: 147]
  |  Branch (2718:9): [True: 147, False: 0]
  ------------------
 2719|  1.63k|        p[ms->n - 1].power = power;
 2720|  1.63k|    }
 2721|  93.3k|    return 0;
 2722|  93.3k|}
listobject.c:powerloop:
 2659|  1.63k|{
 2660|  1.63k|    int result = 0;
 2661|  1.63k|    assert(s1 >= 0);
  ------------------
  |  Branch (2661:5): [True: 1.63k, False: 0]
  ------------------
 2662|  1.63k|    assert(n1 > 0 && n2 > 0);
  ------------------
  |  Branch (2662:5): [True: 1.63k, False: 0]
  |  Branch (2662:5): [True: 1.63k, False: 0]
  ------------------
 2663|  1.63k|    assert(s1 + n1 + n2 <= n);
  ------------------
  |  Branch (2663:5): [True: 1.63k, 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|  1.63k|    Py_ssize_t a = 2 * s1 + n1;  /* 2*a */
 2674|  1.63k|    Py_ssize_t b = a + n1 + n2;  /* 2*b */
 2675|       |    /* Emulate a/n and b/n one bit a time, until bits differ. */
 2676|  1.98k|    for (;;) {
 2677|  1.98k|        ++result;
 2678|  1.98k|        if (a >= n) {  /* both quotient bits are 1 */
  ------------------
  |  Branch (2678:13): [True: 175, False: 1.80k]
  ------------------
 2679|    175|            assert(b >= a);
  ------------------
  |  Branch (2679:13): [True: 175, False: 0]
  ------------------
 2680|    175|            a -= n;
 2681|    175|            b -= n;
 2682|    175|        }
 2683|  1.80k|        else if (b >= n) {  /* a/n bit is 0, b/n bit is 1 */
  ------------------
  |  Branch (2683:18): [True: 1.63k, False: 175]
  ------------------
 2684|  1.63k|            break;
 2685|  1.63k|        } /* else both quotient bits are 0 */
 2686|  1.98k|        assert(a < b && b < n);
  ------------------
  |  Branch (2686:9): [True: 350, False: 0]
  |  Branch (2686:9): [True: 350, False: 0]
  ------------------
 2687|    350|        a <<= 1;
 2688|    350|        b <<= 1;
 2689|    350|    }
 2690|  1.63k|    return result;
 2691|  1.63k|}
listobject.c:merge_at:
 2599|  1.63k|{
 2600|  1.63k|    sortslice ssa, ssb;
 2601|  1.63k|    Py_ssize_t na, nb;
 2602|  1.63k|    Py_ssize_t k;
 2603|       |
 2604|  1.63k|    assert(ms != NULL);
  ------------------
  |  Branch (2604:5): [True: 1.63k, False: 0]
  ------------------
 2605|  1.63k|    assert(ms->n >= 2);
  ------------------
  |  Branch (2605:5): [True: 1.63k, False: 0]
  ------------------
 2606|  1.63k|    assert(i >= 0);
  ------------------
  |  Branch (2606:5): [True: 1.63k, False: 0]
  ------------------
 2607|  1.63k|    assert(i == ms->n - 2 || i == ms->n - 3);
  ------------------
  |  Branch (2607:5): [True: 1.63k, False: 0]
  |  Branch (2607:5): [True: 0, False: 0]
  ------------------
 2608|       |
 2609|  1.63k|    ssa = ms->pending[i].base;
 2610|  1.63k|    na = ms->pending[i].len;
 2611|  1.63k|    ssb = ms->pending[i+1].base;
 2612|  1.63k|    nb = ms->pending[i+1].len;
 2613|  1.63k|    assert(na > 0 && nb > 0);
  ------------------
  |  Branch (2613:5): [True: 1.63k, False: 0]
  |  Branch (2613:5): [True: 1.63k, False: 0]
  ------------------
 2614|  1.63k|    assert(ssa.keys + na == ssb.keys);
  ------------------
  |  Branch (2614:5): [True: 1.63k, 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|  1.63k|    ms->pending[i].len = na + nb;
 2621|  1.63k|    if (i == ms->n - 3)
  ------------------
  |  Branch (2621:9): [True: 0, False: 1.63k]
  ------------------
 2622|      0|        ms->pending[i+1] = ms->pending[i+2];
 2623|  1.63k|    --ms->n;
 2624|       |
 2625|       |    /* Where does b start in a?  Elements in a before that can be
 2626|       |     * ignored (already in place).
 2627|       |     */
 2628|  1.63k|    k = gallop_right(ms, *ssb.keys, ssa.keys, na, 0);
 2629|  1.63k|    if (k < 0)
  ------------------
  |  Branch (2629:9): [True: 0, False: 1.63k]
  ------------------
 2630|      0|        return -1;
 2631|  1.63k|    sortslice_advance(&ssa, k);
 2632|  1.63k|    na -= k;
 2633|  1.63k|    if (na == 0)
  ------------------
  |  Branch (2633:9): [True: 0, False: 1.63k]
  ------------------
 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|  1.63k|    nb = gallop_left(ms, ssa.keys[na-1], ssb.keys, nb, nb-1);
 2640|  1.63k|    if (nb <= 0)
  ------------------
  |  Branch (2640:9): [True: 0, False: 1.63k]
  ------------------
 2641|      0|        return nb;
 2642|       |
 2643|       |    /* Merge what remains of the runs, using a temp array with
 2644|       |     * min(na, nb) elements.
 2645|       |     */
 2646|  1.63k|    if (na <= nb)
  ------------------
  |  Branch (2646:9): [True: 943, False: 689]
  ------------------
 2647|    943|        return merge_lo(ms, ssa, na, ssb, nb);
 2648|    689|    else
 2649|    689|        return merge_hi(ms, ssa, na, ssb, nb);
 2650|  1.63k|}
listobject.c:gallop_right:
 2157|  5.40k|{
 2158|  5.40k|    Py_ssize_t ofs;
 2159|  5.40k|    Py_ssize_t lastofs;
 2160|  5.40k|    Py_ssize_t k;
 2161|       |
 2162|  5.40k|    assert(key && a && n > 0 && hint >= 0 && hint < n);
  ------------------
  |  Branch (2162:5): [True: 5.40k, False: 0]
  |  Branch (2162:5): [True: 5.40k, False: 0]
  |  Branch (2162:5): [True: 5.40k, False: 0]
  |  Branch (2162:5): [True: 5.40k, False: 0]
  |  Branch (2162:5): [True: 5.40k, False: 0]
  ------------------
 2163|       |
 2164|  5.40k|    a += hint;
 2165|  5.40k|    lastofs = 0;
 2166|  5.40k|    ofs = 1;
 2167|  5.40k|    IFLT(key, *a) {
  ------------------
  |  | 1715|  5.40k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|  5.40k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 5.40k]
  |  |  ------------------
  |  | 1716|  5.40k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 3.16k, False: 2.24k]
  |  |  ------------------
  ------------------
 2168|       |        /* key < a[hint] -- gallop left, until
 2169|       |         * a[hint - ofs] <= key < a[hint - lastofs]
 2170|       |         */
 2171|  3.16k|        const Py_ssize_t maxofs = hint + 1;             /* &a[0] is lowest */
 2172|  4.47k|        while (ofs < maxofs) {
  ------------------
  |  Branch (2172:16): [True: 2.06k, False: 2.41k]
  ------------------
 2173|  2.06k|            IFLT(key, *(a-ofs)) {
  ------------------
  |  | 1715|  2.06k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|  2.06k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 2.06k]
  |  |  ------------------
  |  | 1716|  2.06k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 1.31k, False: 748]
  |  |  ------------------
  ------------------
 2174|  1.31k|                lastofs = ofs;
 2175|  1.31k|                assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
  ------------------
  |  Branch (2175:17): [True: 1.31k, False: 0]
  ------------------
 2176|  1.31k|                ofs = (ofs << 1) + 1;
 2177|  1.31k|            }
 2178|    748|            else                /* a[hint - ofs] <= key */
 2179|    748|                break;
 2180|  2.06k|        }
 2181|  3.16k|        if (ofs > maxofs)
  ------------------
  |  Branch (2181:13): [True: 66, False: 3.09k]
  ------------------
 2182|     66|            ofs = maxofs;
 2183|       |        /* Translate back to positive offsets relative to &a[0]. */
 2184|  3.16k|        k = lastofs;
 2185|  3.16k|        lastofs = hint - ofs;
 2186|  3.16k|        ofs = hint - k;
 2187|  3.16k|    }
 2188|  2.24k|    else {
 2189|       |        /* a[hint] <= key -- gallop right, until
 2190|       |         * a[hint + lastofs] <= key < a[hint + ofs]
 2191|       |        */
 2192|  2.24k|        const Py_ssize_t maxofs = n - hint;             /* &a[n-1] is highest */
 2193|  4.32k|        while (ofs < maxofs) {
  ------------------
  |  Branch (2193:16): [True: 3.75k, False: 564]
  ------------------
 2194|  3.75k|            IFLT(key, a[ofs])
  ------------------
  |  | 1715|  3.75k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|  3.75k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 3.75k]
  |  |  ------------------
  |  | 1716|  3.75k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 1.68k, False: 2.07k]
  |  |  ------------------
  ------------------
 2195|  1.68k|                break;
 2196|       |            /* a[hint + ofs] <= key */
 2197|  2.07k|            lastofs = ofs;
 2198|  2.07k|            assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
  ------------------
  |  Branch (2198:13): [True: 2.07k, False: 0]
  ------------------
 2199|  2.07k|            ofs = (ofs << 1) + 1;
 2200|  2.07k|        }
 2201|  2.24k|        if (ofs > maxofs)
  ------------------
  |  Branch (2201:13): [True: 66, False: 2.18k]
  ------------------
 2202|     66|            ofs = maxofs;
 2203|       |        /* Translate back to offsets relative to &a[0]. */
 2204|  2.24k|        lastofs += hint;
 2205|  2.24k|        ofs += hint;
 2206|  2.24k|    }
 2207|  5.40k|    a -= hint;
 2208|       |
 2209|  5.40k|    assert(-1 <= lastofs && lastofs < ofs && ofs <= n);
  ------------------
  |  Branch (2209:5): [True: 5.40k, False: 0]
  |  Branch (2209:5): [True: 5.40k, False: 0]
  |  Branch (2209:5): [True: 5.40k, 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|  5.40k|    ++lastofs;
 2215|  8.72k|    while (lastofs < ofs) {
  ------------------
  |  Branch (2215:12): [True: 3.31k, False: 5.40k]
  ------------------
 2216|  3.31k|        Py_ssize_t m = lastofs + ((ofs - lastofs) >> 1);
 2217|       |
 2218|  3.31k|        IFLT(key, a[m])
  ------------------
  |  | 1715|  3.31k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|  3.31k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 3.31k]
  |  |  ------------------
  |  | 1716|  3.31k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 1.77k, False: 1.53k]
  |  |  ------------------
  ------------------
 2219|  1.77k|            ofs = m;                    /* key < a[m] */
 2220|  1.53k|        else
 2221|  1.53k|            lastofs = m+1;              /* a[m] <= key */
 2222|  3.31k|    }
 2223|  5.40k|    assert(lastofs == ofs);             /* so a[ofs-1] <= key < a[ofs] */
  ------------------
  |  Branch (2223:5): [True: 5.40k, False: 0]
  ------------------
 2224|  5.40k|    return ofs;
 2225|       |
 2226|      0|fail:
 2227|      0|    return -1;
 2228|  5.40k|}
listobject.c:gallop_left:
 2068|  5.30k|{
 2069|  5.30k|    Py_ssize_t ofs;
 2070|  5.30k|    Py_ssize_t lastofs;
 2071|  5.30k|    Py_ssize_t k;
 2072|       |
 2073|  5.30k|    assert(key && a && n > 0 && hint >= 0 && hint < n);
  ------------------
  |  Branch (2073:5): [True: 5.30k, False: 0]
  |  Branch (2073:5): [True: 5.30k, False: 0]
  |  Branch (2073:5): [True: 5.30k, False: 0]
  |  Branch (2073:5): [True: 5.30k, False: 0]
  |  Branch (2073:5): [True: 5.30k, False: 0]
  ------------------
 2074|       |
 2075|  5.30k|    a += hint;
 2076|  5.30k|    lastofs = 0;
 2077|  5.30k|    ofs = 1;
 2078|  5.30k|    IFLT(*a, key) {
  ------------------
  |  | 1715|  5.30k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|  5.30k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 5.30k]
  |  |  ------------------
  |  | 1716|  5.30k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 2.62k, False: 2.67k]
  |  |  ------------------
  ------------------
 2079|       |        /* a[hint] < key -- gallop right, until
 2080|       |         * a[hint + lastofs] < key <= a[hint + ofs]
 2081|       |         */
 2082|  2.62k|        const Py_ssize_t maxofs = n - hint;             /* &a[n-1] is highest */
 2083|  4.49k|        while (ofs < maxofs) {
  ------------------
  |  Branch (2083:16): [True: 3.16k, False: 1.33k]
  ------------------
 2084|  3.16k|            IFLT(a[ofs], key) {
  ------------------
  |  | 1715|  3.16k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|  3.16k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 3.16k]
  |  |  ------------------
  |  | 1716|  3.16k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 1.87k, False: 1.29k]
  |  |  ------------------
  ------------------
 2085|  1.87k|                lastofs = ofs;
 2086|  1.87k|                assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
  ------------------
  |  Branch (2086:17): [True: 1.87k, False: 0]
  ------------------
 2087|  1.87k|                ofs = (ofs << 1) + 1;
 2088|  1.87k|            }
 2089|  1.29k|            else                /* key <= a[hint + ofs] */
 2090|  1.29k|                break;
 2091|  3.16k|        }
 2092|  2.62k|        if (ofs > maxofs)
  ------------------
  |  Branch (2092:13): [True: 144, False: 2.48k]
  ------------------
 2093|    144|            ofs = maxofs;
 2094|       |        /* Translate back to offsets relative to &a[0]. */
 2095|  2.62k|        lastofs += hint;
 2096|  2.62k|        ofs += hint;
 2097|  2.62k|    }
 2098|  2.67k|    else {
 2099|       |        /* key <= a[hint] -- gallop left, until
 2100|       |         * a[hint - ofs] < key <= a[hint - lastofs]
 2101|       |         */
 2102|  2.67k|        const Py_ssize_t maxofs = hint + 1;             /* &a[0] is lowest */
 2103|  4.73k|        while (ofs < maxofs) {
  ------------------
  |  Branch (2103:16): [True: 3.76k, False: 976]
  ------------------
 2104|  3.76k|            IFLT(*(a-ofs), key)
  ------------------
  |  | 1715|  3.76k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|  3.76k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 3.76k]
  |  |  ------------------
  |  | 1716|  3.76k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 1.69k, False: 2.06k]
  |  |  ------------------
  ------------------
 2105|  1.69k|                break;
 2106|       |            /* key <= a[hint - ofs] */
 2107|  2.06k|            lastofs = ofs;
 2108|  2.06k|            assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
  ------------------
  |  Branch (2108:13): [True: 2.06k, False: 0]
  ------------------
 2109|  2.06k|            ofs = (ofs << 1) + 1;
 2110|  2.06k|        }
 2111|  2.67k|        if (ofs > maxofs)
  ------------------
  |  Branch (2111:13): [True: 30, False: 2.64k]
  ------------------
 2112|     30|            ofs = maxofs;
 2113|       |        /* Translate back to positive offsets relative to &a[0]. */
 2114|  2.67k|        k = lastofs;
 2115|  2.67k|        lastofs = hint - ofs;
 2116|  2.67k|        ofs = hint - k;
 2117|  2.67k|    }
 2118|  5.30k|    a -= hint;
 2119|       |
 2120|  5.30k|    assert(-1 <= lastofs && lastofs < ofs && ofs <= n);
  ------------------
  |  Branch (2120:5): [True: 5.30k, False: 0]
  |  Branch (2120:5): [True: 5.30k, False: 0]
  |  Branch (2120:5): [True: 5.30k, 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|  5.30k|    ++lastofs;
 2126|  9.11k|    while (lastofs < ofs) {
  ------------------
  |  Branch (2126:12): [True: 3.81k, False: 5.30k]
  ------------------
 2127|  3.81k|        Py_ssize_t m = lastofs + ((ofs - lastofs) >> 1);
 2128|       |
 2129|  3.81k|        IFLT(a[m], key)
  ------------------
  |  | 1715|  3.81k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|  3.81k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 3.81k]
  |  |  ------------------
  |  | 1716|  3.81k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 1.86k, False: 1.95k]
  |  |  ------------------
  ------------------
 2130|  1.86k|            lastofs = m+1;              /* a[m] < key */
 2131|  1.95k|        else
 2132|  1.95k|            ofs = m;                    /* key <= a[m] */
 2133|  3.81k|    }
 2134|  5.30k|    assert(lastofs == ofs);             /* so a[ofs-1] < key <= a[ofs] */
  ------------------
  |  Branch (2134:5): [True: 5.30k, False: 0]
  ------------------
 2135|  5.30k|    return ofs;
 2136|       |
 2137|      0|fail:
 2138|      0|    return -1;
 2139|  5.30k|}
listobject.c:merge_lo:
 2329|    943|{
 2330|    943|    Py_ssize_t k;
 2331|    943|    sortslice dest;
 2332|    943|    int result = -1;            /* guilty until proved innocent */
 2333|    943|    Py_ssize_t min_gallop;
 2334|       |
 2335|    943|    assert(ms && ssa.keys && ssb.keys && na > 0 && nb > 0);
  ------------------
  |  Branch (2335:5): [True: 943, False: 0]
  |  Branch (2335:5): [True: 943, False: 0]
  |  Branch (2335:5): [True: 943, False: 0]
  |  Branch (2335:5): [True: 943, False: 0]
  |  Branch (2335:5): [True: 943, False: 0]
  ------------------
 2336|    943|    assert(ssa.keys + na == ssb.keys);
  ------------------
  |  Branch (2336:5): [True: 943, False: 0]
  ------------------
 2337|    943|    if (MERGE_GETMEM(ms, na) < 0)
  ------------------
  |  | 2317|    943|#define MERGE_GETMEM(MS, NEED) ((NEED) <= (MS)->alloced ? 0 :   \
  |  |  ------------------
  |  |  |  Branch (2317:33): [True: 943, False: 0]
  |  |  ------------------
  |  | 2318|    943|                                merge_getmem(MS, NEED))
  ------------------
  |  Branch (2337:9): [True: 0, False: 943]
  ------------------
 2338|      0|        return -1;
 2339|    943|    sortslice_memcpy(&ms->a, 0, &ssa, 0, na);
 2340|    943|    dest = ssa;
 2341|    943|    ssa = ms->a;
 2342|       |
 2343|    943|    sortslice_copy_incr(&dest, &ssb);
 2344|    943|    --nb;
 2345|    943|    if (nb == 0)
  ------------------
  |  Branch (2345:9): [True: 0, False: 943]
  ------------------
 2346|      0|        goto Succeed;
 2347|    943|    if (na == 1)
  ------------------
  |  Branch (2347:9): [True: 0, False: 943]
  ------------------
 2348|      0|        goto CopyB;
 2349|       |
 2350|    943|    min_gallop = ms->min_gallop;
 2351|  2.48k|    for (;;) {
 2352|  2.48k|        Py_ssize_t acount = 0;          /* # of times A won in a row */
 2353|  2.48k|        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|  57.0k|        for (;;) {
 2359|  57.0k|            assert(na > 1 && nb > 0);
  ------------------
  |  Branch (2359:13): [True: 57.0k, False: 0]
  |  Branch (2359:13): [True: 57.0k, False: 0]
  ------------------
 2360|  57.0k|            k = ISLT(ssb.keys[0], ssa.keys[0]);
  ------------------
  |  | 1709|  57.0k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  ------------------
 2361|  57.0k|            if (k) {
  ------------------
  |  Branch (2361:17): [True: 28.1k, False: 28.9k]
  ------------------
 2362|  28.1k|                if (k < 0)
  ------------------
  |  Branch (2362:21): [True: 0, False: 28.1k]
  ------------------
 2363|      0|                    goto Fail;
 2364|  28.1k|                sortslice_copy_incr(&dest, &ssb);
 2365|  28.1k|                ++bcount;
 2366|  28.1k|                acount = 0;
 2367|  28.1k|                --nb;
 2368|  28.1k|                if (nb == 0)
  ------------------
  |  Branch (2368:21): [True: 199, False: 27.9k]
  ------------------
 2369|    199|                    goto Succeed;
 2370|  27.9k|                if (bcount >= min_gallop)
  ------------------
  |  Branch (2370:21): [True: 920, False: 27.0k]
  ------------------
 2371|    920|                    break;
 2372|  27.9k|            }
 2373|  28.9k|            else {
 2374|  28.9k|                sortslice_copy_incr(&dest, &ssa);
 2375|  28.9k|                ++acount;
 2376|  28.9k|                bcount = 0;
 2377|  28.9k|                --na;
 2378|  28.9k|                if (na == 1)
  ------------------
  |  Branch (2378:21): [True: 561, False: 28.3k]
  ------------------
 2379|    561|                    goto CopyB;
 2380|  28.3k|                if (acount >= min_gallop)
  ------------------
  |  Branch (2380:21): [True: 801, False: 27.5k]
  ------------------
 2381|    801|                    break;
 2382|  28.3k|            }
 2383|  57.0k|        }
 2384|       |
 2385|       |        /* One run is winning so consistently that galloping may
 2386|       |         * be a huge win.  So try that, and continue galloping until
 2387|       |         * (if ever) neither run appears to be winning consistently
 2388|       |         * anymore.
 2389|       |         */
 2390|  1.72k|        ++min_gallop;
 2391|  2.44k|        do {
 2392|  2.44k|            assert(na > 1 && nb > 0);
  ------------------
  |  Branch (2392:13): [True: 2.44k, False: 0]
  |  Branch (2392:13): [True: 2.44k, False: 0]
  ------------------
 2393|  2.44k|            min_gallop -= min_gallop > 1;
 2394|  2.44k|            ms->min_gallop = min_gallop;
 2395|  2.44k|            k = gallop_right(ms, ssb.keys[0], ssa.keys, na, 0);
 2396|  2.44k|            acount = k;
 2397|  2.44k|            if (k) {
  ------------------
  |  Branch (2397:17): [True: 1.56k, False: 878]
  ------------------
 2398|  1.56k|                if (k < 0)
  ------------------
  |  Branch (2398:21): [True: 0, False: 1.56k]
  ------------------
 2399|      0|                    goto Fail;
 2400|  1.56k|                sortslice_memcpy(&dest, 0, &ssa, 0, k);
 2401|  1.56k|                sortslice_advance(&dest, k);
 2402|  1.56k|                sortslice_advance(&ssa, k);
 2403|  1.56k|                na -= k;
 2404|  1.56k|                if (na == 1)
  ------------------
  |  Branch (2404:21): [True: 28, False: 1.53k]
  ------------------
 2405|     28|                    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|  1.53k|                if (na == 0)
  ------------------
  |  Branch (2410:21): [True: 0, False: 1.53k]
  ------------------
 2411|      0|                    goto Succeed;
 2412|  1.53k|            }
 2413|  2.41k|            sortslice_copy_incr(&dest, &ssb);
 2414|  2.41k|            --nb;
 2415|  2.41k|            if (nb == 0)
  ------------------
  |  Branch (2415:17): [True: 19, False: 2.39k]
  ------------------
 2416|     19|                goto Succeed;
 2417|       |
 2418|  2.39k|            k = gallop_left(ms, ssa.keys[0], ssb.keys, nb, 0);
 2419|  2.39k|            bcount = k;
 2420|  2.39k|            if (k) {
  ------------------
  |  Branch (2420:17): [True: 1.45k, False: 942]
  ------------------
 2421|  1.45k|                if (k < 0)
  ------------------
  |  Branch (2421:21): [True: 0, False: 1.45k]
  ------------------
 2422|      0|                    goto Fail;
 2423|  1.45k|                sortslice_memmove(&dest, 0, &ssb, 0, k);
 2424|  1.45k|                sortslice_advance(&dest, k);
 2425|  1.45k|                sortslice_advance(&ssb, k);
 2426|  1.45k|                nb -= k;
 2427|  1.45k|                if (nb == 0)
  ------------------
  |  Branch (2427:21): [True: 33, False: 1.41k]
  ------------------
 2428|     33|                    goto Succeed;
 2429|  1.45k|            }
 2430|  2.36k|            sortslice_copy_incr(&dest, &ssa);
 2431|  2.36k|            --na;
 2432|  2.36k|            if (na == 1)
  ------------------
  |  Branch (2432:17): [True: 103, False: 2.25k]
  ------------------
 2433|    103|                goto CopyB;
 2434|  2.36k|        } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1728|  4.51k|#define MIN_GALLOP 7
  ------------------
                      } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1728|  1.90k|#define MIN_GALLOP 7
  ------------------
  |  Branch (2434:18): [True: 353, False: 1.90k]
  |  Branch (2434:42): [True: 366, False: 1.53k]
  ------------------
 2435|  1.53k|        ++min_gallop;           /* penalize it for leaving galloping mode */
 2436|  1.53k|        ms->min_gallop = min_gallop;
 2437|  1.53k|    }
 2438|    251|Succeed:
 2439|    251|    result = 0;
 2440|    251|Fail:
 2441|    251|    if (na)
  ------------------
  |  Branch (2441:9): [True: 251, False: 0]
  ------------------
 2442|    251|        sortslice_memcpy(&dest, 0, &ssa, 0, na);
 2443|    251|    return result;
 2444|    692|CopyB:
 2445|    692|    assert(na == 1 && nb > 0);
  ------------------
  |  Branch (2445:5): [True: 692, False: 0]
  |  Branch (2445:5): [True: 692, False: 0]
  ------------------
 2446|       |    /* The last element of ssa belongs at the end of the merge. */
 2447|    692|    sortslice_memmove(&dest, 0, &ssb, 0, nb);
 2448|    692|    sortslice_copy(&dest, nb, &ssa, 0);
 2449|    692|    return 0;
 2450|    692|}
listobject.c:sortslice_memcpy:
 1681|  4.86k|{
 1682|  4.86k|    memcpy(&s1->keys[i], &s2->keys[j], sizeof(PyObject *) * n);
 1683|  4.86k|    if (s1->values != NULL)
  ------------------
  |  Branch (1683:9): [True: 0, False: 4.86k]
  ------------------
 1684|      0|        memcpy(&s1->values[i], &s2->values[j], sizeof(PyObject *) * n);
 1685|  4.86k|}
listobject.c:sortslice_copy_incr:
 1663|  62.8k|{
 1664|  62.8k|    *dst->keys++ = *src->keys++;
 1665|  62.8k|    if (dst->values != NULL)
  ------------------
  |  Branch (1665:9): [True: 0, False: 62.8k]
  ------------------
 1666|      0|        *dst->values++ = *src->values++;
 1667|  62.8k|}
listobject.c:sortslice_memmove:
 1690|  3.14k|{
 1691|  3.14k|    memmove(&s1->keys[i], &s2->keys[j], sizeof(PyObject *) * n);
 1692|  3.14k|    if (s1->values != NULL)
  ------------------
  |  Branch (1692:9): [True: 0, False: 3.14k]
  ------------------
 1693|      0|        memmove(&s1->values[i], &s2->values[j], sizeof(PyObject *) * n);
 1694|  3.14k|}
listobject.c:sortslice_copy:
 1655|    840|{
 1656|    840|    s1->keys[i] = s2->keys[j];
 1657|    840|    if (s1->values != NULL)
  ------------------
  |  Branch (1657:9): [True: 0, False: 840]
  ------------------
 1658|      0|        s1->values[i] = s2->values[j];
 1659|    840|}
listobject.c:merge_hi:
 2461|    689|{
 2462|    689|    Py_ssize_t k;
 2463|    689|    sortslice dest, basea, baseb;
 2464|    689|    int result = -1;            /* guilty until proved innocent */
 2465|    689|    Py_ssize_t min_gallop;
 2466|       |
 2467|    689|    assert(ms && ssa.keys && ssb.keys && na > 0 && nb > 0);
  ------------------
  |  Branch (2467:5): [True: 689, False: 0]
  |  Branch (2467:5): [True: 689, False: 0]
  |  Branch (2467:5): [True: 689, False: 0]
  |  Branch (2467:5): [True: 689, False: 0]
  |  Branch (2467:5): [True: 689, False: 0]
  ------------------
 2468|    689|    assert(ssa.keys + na == ssb.keys);
  ------------------
  |  Branch (2468:5): [True: 689, False: 0]
  ------------------
 2469|    689|    if (MERGE_GETMEM(ms, nb) < 0)
  ------------------
  |  | 2317|    689|#define MERGE_GETMEM(MS, NEED) ((NEED) <= (MS)->alloced ? 0 :   \
  |  |  ------------------
  |  |  |  Branch (2317:33): [True: 689, False: 0]
  |  |  ------------------
  |  | 2318|    689|                                merge_getmem(MS, NEED))
  ------------------
  |  Branch (2469:9): [True: 0, False: 689]
  ------------------
 2470|      0|        return -1;
 2471|    689|    dest = ssb;
 2472|    689|    sortslice_advance(&dest, nb-1);
 2473|    689|    sortslice_memcpy(&ms->a, 0, &ssb, 0, nb);
 2474|    689|    basea = ssa;
 2475|    689|    baseb = ms->a;
 2476|    689|    ssb.keys = ms->a.keys + nb - 1;
 2477|    689|    if (ssb.values != NULL)
  ------------------
  |  Branch (2477:9): [True: 0, False: 689]
  ------------------
 2478|      0|        ssb.values = ms->a.values + nb - 1;
 2479|    689|    sortslice_advance(&ssa, na - 1);
 2480|       |
 2481|    689|    sortslice_copy_decr(&dest, &ssa);
 2482|    689|    --na;
 2483|    689|    if (na == 0)
  ------------------
  |  Branch (2483:9): [True: 0, False: 689]
  ------------------
 2484|      0|        goto Succeed;
 2485|    689|    if (nb == 1)
  ------------------
  |  Branch (2485:9): [True: 0, False: 689]
  ------------------
 2486|      0|        goto CopyA;
 2487|       |
 2488|    689|    min_gallop = ms->min_gallop;
 2489|  1.39k|    for (;;) {
 2490|  1.39k|        Py_ssize_t acount = 0;          /* # of times A won in a row */
 2491|  1.39k|        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|  45.2k|        for (;;) {
 2497|  45.2k|            assert(na > 0 && nb > 1);
  ------------------
  |  Branch (2497:13): [True: 45.2k, False: 0]
  |  Branch (2497:13): [True: 45.2k, False: 0]
  ------------------
 2498|  45.2k|            k = ISLT(ssb.keys[0], ssa.keys[0]);
  ------------------
  |  | 1709|  45.2k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  ------------------
 2499|  45.2k|            if (k) {
  ------------------
  |  Branch (2499:17): [True: 24.3k, False: 20.8k]
  ------------------
 2500|  24.3k|                if (k < 0)
  ------------------
  |  Branch (2500:21): [True: 0, False: 24.3k]
  ------------------
 2501|      0|                    goto Fail;
 2502|  24.3k|                sortslice_copy_decr(&dest, &ssa);
 2503|  24.3k|                ++acount;
 2504|  24.3k|                bcount = 0;
 2505|  24.3k|                --na;
 2506|  24.3k|                if (na == 0)
  ------------------
  |  Branch (2506:21): [True: 391, False: 23.9k]
  ------------------
 2507|    391|                    goto Succeed;
 2508|  23.9k|                if (acount >= min_gallop)
  ------------------
  |  Branch (2508:21): [True: 579, False: 23.3k]
  ------------------
 2509|    579|                    break;
 2510|  23.9k|            }
 2511|  20.8k|            else {
 2512|  20.8k|                sortslice_copy_decr(&dest, &ssb);
 2513|  20.8k|                ++bcount;
 2514|  20.8k|                acount = 0;
 2515|  20.8k|                --nb;
 2516|  20.8k|                if (nb == 1)
  ------------------
  |  Branch (2516:21): [True: 135, False: 20.7k]
  ------------------
 2517|    135|                    goto CopyA;
 2518|  20.7k|                if (bcount >= min_gallop)
  ------------------
  |  Branch (2518:21): [True: 287, False: 20.4k]
  ------------------
 2519|    287|                    break;
 2520|  20.7k|            }
 2521|  45.2k|        }
 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|    866|        ++min_gallop;
 2529|  1.33k|        do {
 2530|  1.33k|            assert(na > 0 && nb > 1);
  ------------------
  |  Branch (2530:13): [True: 1.33k, False: 0]
  |  Branch (2530:13): [True: 1.33k, False: 0]
  ------------------
 2531|  1.33k|            min_gallop -= min_gallop > 1;
 2532|  1.33k|            ms->min_gallop = min_gallop;
 2533|  1.33k|            k = gallop_right(ms, ssb.keys[0], basea.keys, na, na-1);
 2534|  1.33k|            if (k < 0)
  ------------------
  |  Branch (2534:17): [True: 0, False: 1.33k]
  ------------------
 2535|      0|                goto Fail;
 2536|  1.33k|            k = na - k;
 2537|  1.33k|            acount = k;
 2538|  1.33k|            if (k) {
  ------------------
  |  Branch (2538:17): [True: 852, False: 484]
  ------------------
 2539|    852|                sortslice_advance(&dest, -k);
 2540|    852|                sortslice_advance(&ssa, -k);
 2541|    852|                sortslice_memmove(&dest, 1, &ssa, 1, k);
 2542|    852|                na -= k;
 2543|    852|                if (na == 0)
  ------------------
  |  Branch (2543:21): [True: 52, False: 800]
  ------------------
 2544|     52|                    goto Succeed;
 2545|    852|            }
 2546|  1.28k|            sortslice_copy_decr(&dest, &ssb);
 2547|  1.28k|            --nb;
 2548|  1.28k|            if (nb == 1)
  ------------------
  |  Branch (2548:17): [True: 7, False: 1.27k]
  ------------------
 2549|      7|                goto CopyA;
 2550|       |
 2551|  1.27k|            k = gallop_left(ms, ssa.keys[0], baseb.keys, nb, nb-1);
 2552|  1.27k|            if (k < 0)
  ------------------
  |  Branch (2552:17): [True: 0, False: 1.27k]
  ------------------
 2553|      0|                goto Fail;
 2554|  1.27k|            k = nb - k;
 2555|  1.27k|            bcount = k;
 2556|  1.27k|            if (k) {
  ------------------
  |  Branch (2556:17): [True: 882, False: 395]
  ------------------
 2557|    882|                sortslice_advance(&dest, -k);
 2558|    882|                sortslice_advance(&ssb, -k);
 2559|    882|                sortslice_memcpy(&dest, 1, &ssb, 1, k);
 2560|    882|                nb -= k;
 2561|    882|                if (nb == 1)
  ------------------
  |  Branch (2561:21): [True: 6, False: 876]
  ------------------
 2562|      6|                    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|    876|                if (nb == 0)
  ------------------
  |  Branch (2567:21): [True: 0, False: 876]
  ------------------
 2568|      0|                    goto Succeed;
 2569|    876|            }
 2570|  1.27k|            sortslice_copy_decr(&dest, &ssa);
 2571|  1.27k|            --na;
 2572|  1.27k|            if (na == 0)
  ------------------
  |  Branch (2572:17): [True: 98, False: 1.17k]
  ------------------
 2573|     98|                goto Succeed;
 2574|  1.27k|        } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1728|  2.34k|#define MIN_GALLOP 7
  ------------------
                      } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1728|    945|#define MIN_GALLOP 7
  ------------------
  |  Branch (2574:18): [True: 228, False: 945]
  |  Branch (2574:42): [True: 242, False: 703]
  ------------------
 2575|    703|        ++min_gallop;           /* penalize it for leaving galloping mode */
 2576|    703|        ms->min_gallop = min_gallop;
 2577|    703|    }
 2578|    541|Succeed:
 2579|    541|    result = 0;
 2580|    541|Fail:
 2581|    541|    if (nb)
  ------------------
  |  Branch (2581:9): [True: 541, False: 0]
  ------------------
 2582|    541|        sortslice_memcpy(&dest, -(nb-1), &baseb, 0, nb);
 2583|    541|    return result;
 2584|    148|CopyA:
 2585|    148|    assert(nb == 1 && na > 0);
  ------------------
  |  Branch (2585:5): [True: 148, False: 0]
  |  Branch (2585:5): [True: 148, False: 0]
  ------------------
 2586|       |    /* The first element of ssb belongs at the front of the merge. */
 2587|    148|    sortslice_memmove(&dest, 1-na, &ssa, 1-na, na);
 2588|    148|    sortslice_advance(&dest, -na);
 2589|    148|    sortslice_advance(&ssa, -na);
 2590|    148|    sortslice_copy(&dest, 0, &ssb, 0);
 2591|    148|    return 0;
 2592|    148|}
listobject.c:sortslice_copy_decr:
 1671|  48.4k|{
 1672|  48.4k|    *dst->keys-- = *src->keys--;
 1673|  48.4k|    if (dst->values != NULL)
  ------------------
  |  Branch (1673:9): [True: 0, False: 48.4k]
  ------------------
 1674|      0|        *dst->values-- = *src->values--;
 1675|  48.4k|}
listobject.c:sortslice_advance:
 1698|   106k|{
 1699|   106k|    slice->keys += n;
 1700|   106k|    if (slice->values != NULL)
  ------------------
  |  Branch (1700:9): [True: 2, False: 106k]
  ------------------
 1701|      2|        slice->values += n;
 1702|   106k|}
listobject.c:merge_force_collapse:
 2731|  91.7k|{
 2732|  91.7k|    struct s_slice *p = ms->pending;
 2733|       |
 2734|  91.7k|    assert(ms);
  ------------------
  |  Branch (2734:5): [True: 91.7k, False: 0]
  ------------------
 2735|  93.2k|    while (ms->n > 1) {
  ------------------
  |  Branch (2735:12): [True: 1.48k, False: 91.7k]
  ------------------
 2736|  1.48k|        Py_ssize_t n = ms->n - 2;
 2737|  1.48k|        if (n > 0 && p[n-1].len < p[n+1].len)
  ------------------
  |  Branch (2737:13): [True: 91, False: 1.39k]
  |  Branch (2737:22): [True: 0, False: 91]
  ------------------
 2738|      0|            --n;
 2739|  1.48k|        if (merge_at(ms, n) < 0)
  ------------------
  |  Branch (2739:13): [True: 0, False: 1.48k]
  ------------------
 2740|      0|            return -1;
 2741|  1.48k|    }
 2742|  91.7k|    return 0;
 2743|  91.7k|}
listobject.c:merge_freemem:
 2276|   137k|{
 2277|   137k|    assert(ms != NULL);
  ------------------
  |  Branch (2277:5): [True: 137k, False: 0]
  ------------------
 2278|   137k|    if (ms->a.keys != ms->temparray) {
  ------------------
  |  Branch (2278:9): [True: 0, False: 137k]
  ------------------
 2279|      0|        PyMem_Free(ms->a.keys);
 2280|       |        ms->a.keys = NULL;
 2281|      0|    }
 2282|   137k|}
listobject.c:reverse_slice:
 1622|  43.6k|{
 1623|  43.6k|    assert(lo && hi);
  ------------------
  |  Branch (1623:5): [True: 43.6k, False: 0]
  |  Branch (1623:5): [True: 43.6k, False: 0]
  ------------------
 1624|       |
 1625|  43.6k|    --hi;
 1626|  90.6k|    while (lo < hi) {
  ------------------
  |  Branch (1626:12): [True: 47.0k, False: 43.6k]
  ------------------
 1627|  47.0k|        PyObject *t = *lo;
 1628|  47.0k|        FT_ATOMIC_STORE_PTR_RELEASE(*lo, *hi);
  ------------------
  |  |  164|  47.0k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1629|  47.0k|        FT_ATOMIC_STORE_PTR_RELEASE(*hi, t);
  ------------------
  |  |  164|  47.0k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1630|  47.0k|        ++lo;
 1631|  47.0k|        --hi;
 1632|  47.0k|    }
 1633|  43.6k|}
listobject.c:list_slice_subscript:
 3672|     41|{
 3673|     41|    assert(PyList_Check(self));
  ------------------
  |  Branch (3673:5): [True: 41, False: 0]
  ------------------
 3674|     41|    assert(PySlice_Check(item));
  ------------------
  |  Branch (3674:5): [True: 41, False: 0]
  ------------------
 3675|     41|    Py_ssize_t start, stop, step;
 3676|     41|    if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (3676:9): [True: 0, False: 41]
  ------------------
 3677|      0|        return NULL;
 3678|      0|    }
 3679|     41|    return list_slice_wrap((PyListObject *)self, start, stop, step);
 3680|     41|}
listobject.c:list_slice_wrap:
 3653|     41|{
 3654|     41|    PyObject *res = NULL;
 3655|     41|    Py_BEGIN_CRITICAL_SECTION(aa);
  ------------------
  |  |   51|     41|    {
  ------------------
 3656|     41|    Py_ssize_t len = PySlice_AdjustIndices(Py_SIZE(aa), &start, &stop, step);
  ------------------
  |  |  214|     41|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     41|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3657|     41|    if (len <= 0) {
  ------------------
  |  Branch (3657:9): [True: 1, False: 40]
  ------------------
 3658|      1|        res = PyList_New(0);
 3659|      1|    }
 3660|     40|    else if (step == 1) {
  ------------------
  |  Branch (3660:14): [True: 36, False: 4]
  ------------------
 3661|     36|        res = list_slice_lock_held(aa, start, stop);
 3662|     36|    }
 3663|      4|    else {
 3664|      4|        res = list_slice_step_lock_held(aa, start, step, len);
 3665|      4|    }
 3666|     41|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     41|    }
  ------------------
 3667|     41|    return res;
 3668|     41|}
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|   867k|{
  557|   867k|    PyListObject *op = (PyListObject *)self;
  558|   867k|    Py_ssize_t i;
  559|   867k|    PyObject_GC_UnTrack(op);
  560|   867k|    if (op->ob_item != NULL) {
  ------------------
  |  Branch (560:9): [True: 609k, False: 258k]
  ------------------
  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|   609k|        i = Py_SIZE(op);
  ------------------
  |  |  214|   609k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   609k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   609k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  566|  10.8M|        while (--i >= 0) {
  ------------------
  |  Branch (566:16): [True: 10.2M, False: 609k]
  ------------------
  567|  10.2M|            Py_XDECREF(op->ob_item[i]);
  ------------------
  |  |  524|  10.2M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  568|  10.2M|        }
  569|   609k|        free_list_items(op->ob_item, false);
  570|   609k|        op->ob_item = NULL;
  571|   609k|    }
  572|   867k|    if (PyList_CheckExact(op)) {
  ------------------
  |  |   26|   867k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|   867k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   867k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   867k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 867k, False: 367]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  573|   867k|        _Py_FREELIST_FREE(lists, op, PyObject_GC_Del);
  ------------------
  |  |   35|   867k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|   867k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   867k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|   867k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   13|   867k|#  define Py_lists_MAXFREELIST 80
  |  |  ------------------
  ------------------
  574|   867k|    }
  575|    367|    else {
  576|    367|        PyObject_GC_Del(op);
  577|    367|    }
  578|   867k|}
listobject.c:list_length:
  651|   103k|{
  652|   103k|    return PyList_GET_SIZE(a);
  ------------------
  |  |   38|   103k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   103k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   103k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  653|   103k|}
listobject.c:list_repeat:
  863|     33|{
  864|     33|    PyObject *ret;
  865|     33|    PyListObject *a = (PyListObject *)aa;
  866|     33|    Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|     33|    {
  ------------------
  867|     33|    ret = list_repeat_lock_held(a, n);
  868|     33|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     33|    }
  ------------------
  869|     33|    return ret;
  870|     33|}
listobject.c:list_repeat_lock_held:
  821|     33|{
  822|     33|    const Py_ssize_t input_size = Py_SIZE(a);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  823|     33|    if (input_size == 0 || n <= 0)
  ------------------
  |  Branch (823:9): [True: 0, False: 33]
  |  Branch (823:28): [True: 0, False: 33]
  ------------------
  824|      0|        return PyList_New(0);
  825|     33|    assert(n > 0);
  ------------------
  |  Branch (825:5): [True: 33, False: 0]
  ------------------
  826|       |
  827|     33|    if (input_size > PY_SSIZE_T_MAX / n)
  ------------------
  |  |  137|     33|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (827:9): [True: 0, False: 33]
  ------------------
  828|      0|        return PyErr_NoMemory();
  829|     33|    Py_ssize_t output_size = input_size * n;
  830|       |
  831|     33|    PyListObject *np = (PyListObject *) list_new_prealloc(output_size);
  832|     33|    if (np == NULL)
  ------------------
  |  Branch (832:9): [True: 0, False: 33]
  ------------------
  833|      0|        return NULL;
  834|       |
  835|     33|    PyObject **dest = np->ob_item;
  836|     33|    if (input_size == 1) {
  ------------------
  |  Branch (836:9): [True: 33, False: 0]
  ------------------
  837|     33|        PyObject *elem = a->ob_item[0];
  838|     33|        _Py_RefcntAdd(elem, n);
  ------------------
  |  |  179|     33|#define _Py_RefcntAdd(op, n) _Py_RefcntAdd(_PyObject_CAST(op), n)
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  839|     33|        PyObject **dest_end = dest + output_size;
  840|    118|        while (dest < dest_end) {
  ------------------
  |  Branch (840:16): [True: 85, False: 33]
  ------------------
  841|     85|            *dest++ = elem;
  842|     85|        }
  843|     33|    }
  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|     33|    Py_SET_SIZE(np, output_size);
  ------------------
  |  |  216|     33|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     33|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  858|     33|    return (PyObject *) np;
  859|     33|}
listobject.c:list_item:
  676|  3.71k|{
  677|  3.71k|    PyListObject *a = (PyListObject *)aa;
  678|  3.71k|    if (!valid_index(i, PyList_GET_SIZE(a))) {
  ------------------
  |  |   38|  3.71k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (678:9): [True: 78, False: 3.63k]
  ------------------
  679|     78|        PyErr_SetObject(PyExc_IndexError, &_Py_STR(list_err));
  ------------------
  |  |  923|     78|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     78|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     78|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  680|     78|        return NULL;
  681|     78|    }
  682|  3.63k|    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.63k|    item = Py_NewRef(a->ob_item[i]);
  ------------------
  |  |  550|  3.63k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  691|  3.63k|#endif
  692|  3.63k|    return item;
  693|  3.71k|}
listobject.c:list_ass_item:
 1162|  42.8k|{
 1163|  42.8k|    int ret;
 1164|  42.8k|    PyListObject *a = (PyListObject *)aa;
 1165|  42.8k|    Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|  42.8k|    {
  ------------------
 1166|  42.8k|    ret = list_ass_item_lock_held(a, i, v);
 1167|  42.8k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  42.8k|    }
  ------------------
 1168|  42.8k|    return ret;
 1169|  42.8k|}
listobject.c:list_ass_item_lock_held:
 1139|  42.8k|{
 1140|  42.8k|    if (!valid_index(i, Py_SIZE(a))) {
  ------------------
  |  |  214|  42.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  42.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1140:9): [True: 0, False: 42.8k]
  ------------------
 1141|      0|        PyErr_SetString(PyExc_IndexError,
 1142|      0|                        "list assignment index out of range");
 1143|      0|        return -1;
 1144|      0|    }
 1145|  42.8k|    PyObject *tmp = a->ob_item[i];
 1146|  42.8k|    if (v == NULL) {
  ------------------
  |  Branch (1146:9): [True: 42.8k, False: 42]
  ------------------
 1147|  42.8k|        Py_ssize_t size = Py_SIZE(a);
  ------------------
  |  |  214|  42.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  42.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1148|  42.8k|        for (Py_ssize_t idx = i; idx < size - 1; idx++) {
  ------------------
  |  Branch (1148:34): [True: 0, False: 42.8k]
  ------------------
 1149|      0|            FT_ATOMIC_STORE_PTR_RELEASE(a->ob_item[idx], a->ob_item[idx + 1]);
  ------------------
  |  |  164|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1150|      0|        }
 1151|  42.8k|        Py_SET_SIZE(a, size - 1);
  ------------------
  |  |  216|  42.8k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  42.8k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1152|  42.8k|    }
 1153|     42|    else {
 1154|     42|        FT_ATOMIC_STORE_PTR_RELEASE(a->ob_item[i], Py_NewRef(v));
  ------------------
  |  |  164|     42|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1155|     42|    }
 1156|  42.8k|    Py_DECREF(tmp);
  ------------------
  |  |  430|  42.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  42.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1157|  42.8k|    return 0;
 1158|  42.8k|}
listobject.c:list_contains:
  657|  2.36k|{
  658|       |
  659|  6.07k|    for (Py_ssize_t i = 0; ; i++) {
  660|  6.07k|        PyObject *item = list_get_item_ref((PyListObject *)aa, i);
  661|  6.07k|        if (item == NULL) {
  ------------------
  |  Branch (661:13): [True: 2.16k, False: 3.91k]
  ------------------
  662|       |            // out-of-bounds
  663|  2.16k|            return 0;
  664|  2.16k|        }
  665|  3.91k|        int cmp = PyObject_RichCompareBool(item, el, Py_EQ);
  ------------------
  |  |  654|  3.91k|#define Py_EQ 2
  ------------------
  666|  3.91k|        Py_DECREF(item);
  ------------------
  |  |  430|  3.91k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  667|  3.91k|        if (cmp != 0) {
  ------------------
  |  Branch (667:13): [True: 206, False: 3.70k]
  ------------------
  668|    206|            return cmp;
  669|    206|        }
  670|  3.91k|    }
  671|      0|    return 0;
  672|  2.36k|}
listobject.c:list_inplace_concat:
 1565|     18|{
 1566|     18|    PyListObject *self = (PyListObject *)_self;
 1567|     18|    if (_list_extend(self, other) < 0) {
  ------------------
  |  Branch (1567:9): [True: 0, False: 18]
  ------------------
 1568|      0|        return NULL;
 1569|      0|    }
 1570|     18|    return Py_NewRef(self);
  ------------------
  |  |  550|     18|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1571|     18|}
listobject.c:list_subscript:
 3690|  1.92k|{
 3691|  1.92k|    PyListObject* self = (PyListObject*)_self;
 3692|  1.92k|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (3692:9): [True: 1.92k, False: 8]
  ------------------
 3693|  1.92k|        Py_ssize_t i;
 3694|  1.92k|        i = PyNumber_AsSsize_t(item, PyExc_IndexError);
 3695|  1.92k|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (3695:13): [True: 1.84k, False: 76]
  |  Branch (3695:24): [True: 0, False: 1.84k]
  ------------------
 3696|      0|            return NULL;
 3697|  1.92k|        if (i < 0)
  ------------------
  |  Branch (3697:13): [True: 1.84k, False: 76]
  ------------------
 3698|  1.84k|            i += PyList_GET_SIZE(self);
  ------------------
  |  |   38|  1.84k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3699|  1.92k|        return list_item((PyObject *)self, i);
 3700|  1.92k|    }
 3701|      8|    else if (PySlice_Check(item)) {
  ------------------
  |  |   22|      8|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|      8|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 8, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3702|      8|        return list_slice_subscript(_self, item);
 3703|      8|    }
 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|  1.92k|}
listobject.c:list_ass_subscript:
 3897|    136|{
 3898|    136|    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|    136|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    136|    {
  ------------------
 3908|    136|    res = list_ass_subscript_lock_held(self, item, value);
 3909|    136|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    136|    }
  ------------------
 3910|    136|    return res;
 3911|    136|}
listobject.c:list_ass_subscript_lock_held:
 3731|    136|{
 3732|    136|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(_self);
 3733|       |
 3734|    136|    PyListObject *self = (PyListObject *)_self;
 3735|    136|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (3735:9): [True: 59, False: 77]
  ------------------
 3736|     59|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
 3737|     59|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (3737:13): [True: 48, False: 11]
  |  Branch (3737:24): [True: 0, False: 48]
  ------------------
 3738|      0|            return -1;
 3739|     59|        if (i < 0)
  ------------------
  |  Branch (3739:13): [True: 48, False: 11]
  ------------------
 3740|     48|            i += PyList_GET_SIZE(self);
  ------------------
  |  |   38|     48|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     48|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3741|     59|        return list_ass_item_lock_held(self, i, value);
 3742|     59|    }
 3743|     77|    else if (PySlice_Check(item)) {
  ------------------
  |  |   22|     77|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|     77|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     77|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     77|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 77, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3744|     77|        Py_ssize_t start, stop, step;
 3745|       |
 3746|     77|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (3746:13): [True: 0, False: 77]
  ------------------
 3747|      0|            return -1;
 3748|      0|        }
 3749|       |
 3750|     77|        if (value == NULL) {
  ------------------
  |  Branch (3750:13): [True: 1, False: 76]
  ------------------
 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|     76|        else {
 3816|       |            /* assign slice */
 3817|     76|            PyObject *ins, *seq;
 3818|     76|            PyObject **garbage, **seqitems, **selfitems;
 3819|     76|            Py_ssize_t i;
 3820|     76|            size_t cur;
 3821|       |
 3822|       |            /* protect against a[::-1] = a */
 3823|     76|            if (self == (PyListObject*)value) {
  ------------------
  |  Branch (3823:17): [True: 0, False: 76]
  ------------------
 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|     76|            else {
 3828|     76|                seq = PySequence_Fast(value,
 3829|     76|                                      "must assign iterable "
 3830|     76|                                      "to extended slice");
 3831|     76|            }
 3832|     76|            if (!seq)
  ------------------
  |  Branch (3832:17): [True: 0, False: 76]
  ------------------
 3833|      0|                return -1;
 3834|       |
 3835|     76|            Py_ssize_t slicelength = adjust_slice_indexes(self, &start, &stop,
 3836|     76|                                                          step);
 3837|       |
 3838|     76|            if (step == 1) {
  ------------------
  |  Branch (3838:17): [True: 76, False: 0]
  ------------------
 3839|     76|                int res = list_ass_slice_lock_held(self, start, stop, seq);
 3840|     76|                Py_DECREF(seq);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3841|     76|                return res;
 3842|     76|            }
 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|     77|    }
 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|    136|}
listobject.c:adjust_slice_indexes:
 3716|     77|{
 3717|     77|    Py_ssize_t slicelength = PySlice_AdjustIndices(Py_SIZE(lst), start, stop,
  ------------------
  |  |  214|     77|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     77|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     77|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3718|     77|                                                   step);
 3719|       |
 3720|       |    /* Make sure s[5:2] = [..] inserts at the right place:
 3721|       |        before 5, not before 2. */
 3722|     77|    if ((step < 0 && *start < *stop) ||
  ------------------
  |  Branch (3722:10): [True: 0, False: 77]
  |  Branch (3722:22): [True: 0, False: 0]
  ------------------
 3723|     77|        (step > 0 && *start > *stop))
  ------------------
  |  Branch (3723:10): [True: 77, False: 0]
  |  Branch (3723:22): [True: 0, False: 77]
  ------------------
 3724|      0|        *stop = *start;
 3725|       |
 3726|     77|    return slicelength;
 3727|     77|}
listobject.c:list_traverse:
 3428|  12.5k|{
 3429|  12.5k|    PyListObject *o = (PyListObject *)self;
 3430|  12.5k|    Py_ssize_t i;
 3431|       |
 3432|  1.85M|    for (i = Py_SIZE(o); --i >= 0; )
  ------------------
  |  |  214|  12.5k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3432:26): [True: 1.84M, False: 12.5k]
  ------------------
 3433|  1.84M|        Py_VISIT(o->ob_item[i]);
  ------------------
  |  |  194|  1.84M|    do {                                                                \
  |  |  195|  1.84M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.84M, False: 0]
  |  |  ------------------
  |  |  196|  1.84M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.84M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.84M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.84M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.84M]
  |  |  ------------------
  |  |  198|  1.84M|                return vret;                                            \
  |  |  199|  1.84M|        }                                                               \
  |  |  200|  1.84M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.84M]
  |  |  ------------------
  ------------------
 3434|  12.5k|    return 0;
 3435|  12.5k|}
listobject.c:list_clear_slot:
  910|     22|{
  911|       |    list_clear_impl((PyListObject *)self, false);
  912|     22|    return 0;
  913|     22|}
listobject.c:list_richcompare:
 3502|    482|{
 3503|    482|    PyObject *ret;
 3504|    482|    Py_BEGIN_CRITICAL_SECTION2(v, w);
  ------------------
  |  |   57|    482|    {
  ------------------
 3505|    482|    ret = list_richcompare_impl(v, w, op);
 3506|    482|    Py_END_CRITICAL_SECTION2()
  ------------------
  |  |   61|    482|    }
  ------------------
 3507|    482|    return ret;
 3508|    482|}
listobject.c:list_richcompare_impl:
 3439|    482|{
 3440|    482|    PyListObject *vl, *wl;
 3441|    482|    Py_ssize_t i;
 3442|       |
 3443|    482|    if (!PyList_Check(v) || !PyList_Check(w))
  ------------------
  |  |   25|    482|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    964|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyList_Check(v) || !PyList_Check(w))
  ------------------
  |  |   25|    482|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    482|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3443:9): [True: 0, False: 482]
  |  Branch (3443:29): [True: 93, False: 389]
  ------------------
 3444|     93|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|     93|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|     93|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 3445|       |
 3446|    389|    vl = (PyListObject *)v;
 3447|    389|    wl = (PyListObject *)w;
 3448|       |
 3449|    389|    if (Py_SIZE(vl) != Py_SIZE(wl) && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  214|    389|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    389|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    389|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_SIZE(vl) != Py_SIZE(wl) && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  214|    778|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    389|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    389|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_SIZE(vl) != Py_SIZE(wl) && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  654|     84|#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: 42, False: 347]
  |  Branch (3449:40): [True: 42, False: 0]
  |  Branch (3449:55): [True: 0, False: 0]
  ------------------
 3450|       |        /* Shortcut: if the lengths differ, the lists differ */
 3451|     42|        if (op == Py_EQ)
  ------------------
  |  |  654|     42|#define Py_EQ 2
  ------------------
  |  Branch (3451:13): [True: 42, False: 0]
  ------------------
 3452|     42|            Py_RETURN_FALSE;
  ------------------
  |  |   45|     42|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|     42|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|     42|    }
 3456|       |
 3457|       |    /* Search for the first index where items are different */
 3458|    353|    for (i = 0; i < Py_SIZE(vl) && i < Py_SIZE(wl); i++) {
  ------------------
  |  |  214|    706|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    353|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    353|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  for (i = 0; i < Py_SIZE(vl) && i < Py_SIZE(wl); i++) {
  ------------------
  |  |  214|     14|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3458:17): [True: 14, False: 339]
  |  Branch (3458:36): [True: 14, False: 0]
  ------------------
 3459|     14|        PyObject *vitem = vl->ob_item[i];
 3460|     14|        PyObject *witem = wl->ob_item[i];
 3461|     14|        if (vitem == witem) {
  ------------------
  |  Branch (3461:13): [True: 0, False: 14]
  ------------------
 3462|      0|            continue;
 3463|      0|        }
 3464|       |
 3465|     14|        Py_INCREF(vitem);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3466|     14|        Py_INCREF(witem);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3467|     14|        int k = PyObject_RichCompareBool(vitem, witem, Py_EQ);
  ------------------
  |  |  654|     14|#define Py_EQ 2
  ------------------
 3468|     14|        Py_DECREF(vitem);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3469|     14|        Py_DECREF(witem);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3470|     14|        if (k < 0)
  ------------------
  |  Branch (3470:13): [True: 0, False: 14]
  ------------------
 3471|      0|            return NULL;
 3472|     14|        if (!k)
  ------------------
  |  Branch (3472:13): [True: 8, False: 6]
  ------------------
 3473|      8|            break;
 3474|     14|    }
 3475|       |
 3476|    347|    if (i >= Py_SIZE(vl) || i >= Py_SIZE(wl)) {
  ------------------
  |  |  214|    694|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    347|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    347|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (i >= Py_SIZE(vl) || i >= Py_SIZE(wl)) {
  ------------------
  |  |  214|      8|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3476:9): [True: 339, False: 8]
  |  Branch (3476:29): [True: 0, False: 8]
  ------------------
 3477|       |        /* No more items to compare -- compare sizes */
 3478|    339|        Py_RETURN_RICHCOMPARE(Py_SIZE(vl), Py_SIZE(wl), op);
  ------------------
  |  |  674|    339|    do {                                                                    \
  |  |  675|    339|        switch (op) {                                                       \
  |  |  676|    336|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|    336|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|    336|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|    336|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    336|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    336|#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: 336, False: 3]
  |  |  |  Branch (676:25): [True: 336, False: 0]
  |  |  ------------------
  |  |  677|    336|        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: 336]
  |  |  |  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: 339]
  |  |  |  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: 339]
  |  |  |  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: 339]
  |  |  |  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: 339]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 339]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|    339|        }                                                                   \
  |  |  685|    339|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3479|    339|    }
 3480|       |
 3481|       |    /* We have an item that differs -- shortcuts for EQ/NE */
 3482|      8|    if (op == Py_EQ) {
  ------------------
  |  |  654|      8|#define Py_EQ 2
  ------------------
  |  Branch (3482:9): [True: 7, False: 1]
  ------------------
 3483|      7|        Py_RETURN_FALSE;
  ------------------
  |  |   45|      7|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      7|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3484|      7|    }
 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|    274|{
 4191|    274|    listreviterobject *it;
 4192|       |
 4193|    274|    it = PyObject_GC_New(listreviterobject, &PyListRevIter_Type);
  ------------------
  |  |  181|    274|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    274|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4194|    274|    if (it == NULL)
  ------------------
  |  Branch (4194:9): [True: 0, False: 274]
  ------------------
 4195|      0|        return NULL;
 4196|    274|    assert(PyList_Check(self));
  ------------------
  |  Branch (4196:5): [True: 274, False: 0]
  ------------------
 4197|    274|    it->it_index = PyList_GET_SIZE(self) - 1;
  ------------------
  |  |   38|    274|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    274|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    274|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4198|    274|    it->it_seq = (PyListObject*)Py_NewRef(self);
  ------------------
  |  |  550|    274|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    274|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    274|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4199|    274|    PyObject_GC_Track(it);
 4200|    274|    return (PyObject *)it;
 4201|    274|}
listobject.c:py_list_clear_impl:
 1202|    249|{
 1203|    249|    list_clear(self);
 1204|    249|    Py_RETURN_NONE;
  ------------------
  |  |  628|    249|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    249|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1205|    249|}
listobject.c:list_append_impl:
 1234|  1.03k|{
 1235|  1.03k|    if (_PyList_AppendTakeRef(self, Py_NewRef(object)) < 0) {
  ------------------
  |  |  550|  1.03k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1235:9): [True: 0, False: 1.03k]
  ------------------
 1236|      0|        return NULL;
 1237|      0|    }
 1238|  1.03k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  1.03k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  1.03k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1239|  1.03k|}
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|    438|{
 1589|    438|    PyObject *v;
 1590|       |
 1591|    438|    if (Py_SIZE(self) == 0) {
  ------------------
  |  |  214|    438|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    438|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    438|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1591:9): [True: 0, False: 438]
  ------------------
 1592|       |        /* Special-case most common failure cause */
 1593|      0|        PyErr_SetString(PyExc_IndexError, "pop from empty list");
 1594|      0|        return NULL;
 1595|      0|    }
 1596|    438|    if (index < 0)
  ------------------
  |  Branch (1596:9): [True: 438, False: 0]
  ------------------
 1597|    438|        index += Py_SIZE(self);
  ------------------
  |  |  214|    438|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    438|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    438|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1598|    438|    if (!valid_index(index, Py_SIZE(self))) {
  ------------------
  |  |  214|    438|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    438|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    438|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1598:9): [True: 0, False: 438]
  ------------------
 1599|      0|        PyErr_SetString(PyExc_IndexError, "pop index out of range");
 1600|      0|        return NULL;
 1601|      0|    }
 1602|       |
 1603|    438|    PyObject **items = self->ob_item;
 1604|    438|    v = items[index];
 1605|    438|    if (Py_SIZE(self) == 1) {
  ------------------
  |  |  214|    438|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    438|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    438|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1605:9): [True: 403, False: 35]
  ------------------
 1606|    403|        Py_INCREF(v);
  ------------------
  |  |  310|    403|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    403|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    403|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1607|    403|        list_clear(self);
 1608|    403|        return v;
 1609|    403|    }
 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|    438|}
listobject.c:list_remove_impl:
 3406|    367|{
 3407|    367|    Py_ssize_t i;
 3408|       |
 3409|    367|    for (i = 0; i < Py_SIZE(self); i++) {
  ------------------
  |  |  214|    367|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    367|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    367|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3409:17): [True: 367, False: 0]
  ------------------
 3410|    367|        PyObject *obj = self->ob_item[i];
 3411|    367|        Py_INCREF(obj);
  ------------------
  |  |  310|    367|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    367|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    367|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3412|    367|        int cmp = PyObject_RichCompareBool(obj, value, Py_EQ);
  ------------------
  |  |  654|    367|#define Py_EQ 2
  ------------------
 3413|    367|        Py_DECREF(obj);
  ------------------
  |  |  430|    367|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    367|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    367|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3414|    367|        if (cmp > 0) {
  ------------------
  |  Branch (3414:13): [True: 367, False: 0]
  ------------------
 3415|    367|            if (list_ass_slice_lock_held(self, i, i+1, NULL) == 0)
  ------------------
  |  Branch (3415:17): [True: 367, False: 0]
  ------------------
 3416|    367|                Py_RETURN_NONE;
  ------------------
  |  |  628|    367|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    367|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 3417|      0|            return NULL;
 3418|    367|        }
 3419|      0|        else if (cmp < 0)
  ------------------
  |  Branch (3419:18): [True: 0, False: 0]
  ------------------
 3420|      0|            return NULL;
 3421|    367|    }
 3422|      0|    PyErr_SetString(PyExc_ValueError, "list.remove(x): x not in list");
 3423|       |    return NULL;
 3424|    367|}
listobject.c:list_reverse_impl:
 3236|     23|{
 3237|     23|    if (Py_SIZE(self) > 1)
  ------------------
  |  |  214|     23|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     23|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3237:9): [True: 23, False: 0]
  ------------------
 3238|     23|        reverse_slice(self->ob_item, self->ob_item + Py_SIZE(self));
  ------------------
  |  |  214|     23|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     23|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3239|     23|    Py_RETURN_NONE;
  ------------------
  |  |  628|     23|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     23|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 3240|     23|}
listobject.c:list___init___impl:
 3525|    729|{
 3526|       |    /* Verify list invariants established by PyType_GenericAlloc() */
 3527|    729|    assert(0 <= Py_SIZE(self));
  ------------------
  |  Branch (3527:5): [True: 729, False: 0]
  ------------------
 3528|    729|    assert(Py_SIZE(self) <= self->allocated || self->allocated == -1);
  ------------------
  |  Branch (3528:5): [True: 729, False: 0]
  |  Branch (3528:5): [True: 0, False: 0]
  ------------------
 3529|    729|    assert(self->ob_item != NULL ||
  ------------------
  |  Branch (3529:5): [True: 0, False: 729]
  |  Branch (3529:5): [True: 729, False: 0]
  |  Branch (3529:5): [True: 0, False: 0]
  ------------------
 3530|    729|           self->allocated == 0 || self->allocated == -1);
 3531|       |
 3532|       |    /* Empty previous contents */
 3533|    729|    if (self->ob_item != NULL) {
  ------------------
  |  Branch (3533:9): [True: 0, False: 729]
  ------------------
 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|    729|    if (iterable != NULL) {
  ------------------
  |  Branch (3538:9): [True: 362, False: 367]
  ------------------
 3539|    362|        if (_list_extend(self, iterable) < 0) {
  ------------------
  |  Branch (3539:13): [True: 0, False: 362]
  ------------------
 3540|      0|            return -1;
 3541|      0|        }
 3542|    362|    }
 3543|    729|    return 0;
 3544|    729|}
listobject.c:list_vectorcall:
 3549|    362|{
 3550|    362|    if (!_PyArg_NoKwnames("list", kwnames)) {
  ------------------
  |  |   15|    362|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 362, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3551|      0|        return NULL;
 3552|      0|    }
 3553|    362|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    362|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 3554|    362|    if (!_PyArg_CheckPositional("list", nargs, 0, 1)) {
  ------------------
  |  |   31|    362|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 362, False: 0]
  |  |  |  Branch (31:27): [True: 362, False: 0]
  |  |  ------------------
  |  |   32|    362|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3555|      0|        return NULL;
 3556|      0|    }
 3557|       |
 3558|    362|    PyObject *list = PyType_GenericAlloc(_PyType_CAST(type), 0);
  ------------------
  |  |  770|    362|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    362|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (3558:42): [True: 362, False: 0]
  ------------------
 3559|    362|    if (list == NULL) {
  ------------------
  |  Branch (3559:9): [True: 0, False: 362]
  ------------------
 3560|      0|        return NULL;
 3561|      0|    }
 3562|    362|    if (nargs) {
  ------------------
  |  Branch (3562:9): [True: 362, False: 0]
  ------------------
 3563|    362|        if (list___init___impl((PyListObject *)list, args[0])) {
  ------------------
  |  Branch (3563:13): [True: 0, False: 362]
  ------------------
 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|    362|    }
 3568|    362|    return list;
 3569|    362|}
listobject.c:list_iteritem:
 3915|    117|{
 3916|    117|    PyObject *result = list_get_item_ref((PyListObject *)obj, index);
 3917|    117|    return (_PyObjectIndexPair) { .object = result, .index = index + 1 };
 3918|    117|}
listobject.c:list_iter:
 4030|  36.8k|{
 4031|  36.8k|    if (!PyList_Check(seq)) {
  ------------------
  |  |   25|  36.8k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  36.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4031:9): [True: 0, False: 36.8k]
  ------------------
 4032|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4033|      0|        return NULL;
 4034|      0|    }
 4035|  36.8k|    _PyListIterObject *it = _Py_FREELIST_POP(_PyListIterObject, list_iters);
  ------------------
  |  |   43|  36.8k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  36.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4036|  36.8k|    if (it == NULL) {
  ------------------
  |  Branch (4036:9): [True: 23, False: 36.8k]
  ------------------
 4037|     23|        it = PyObject_GC_New(_PyListIterObject, &PyListIter_Type);
  ------------------
  |  |  181|     23|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4038|     23|        if (it == NULL) {
  ------------------
  |  Branch (4038:13): [True: 0, False: 23]
  ------------------
 4039|      0|            return NULL;
 4040|      0|        }
 4041|     23|    }
 4042|  36.8k|    it->it_index = 0;
 4043|  36.8k|    it->it_seq = (PyListObject *)Py_NewRef(seq);
  ------------------
  |  |  550|  36.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  36.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4044|  36.8k|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  505|  36.8k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  36.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4045|  36.8k|    return (PyObject *)it;
 4046|  36.8k|}
listobject.c:listiter_dealloc:
 4050|  36.8k|{
 4051|  36.8k|    _PyListIterObject *it = (_PyListIterObject *)self;
 4052|  36.8k|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  507|  36.8k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  36.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4053|  36.8k|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  524|  36.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  36.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4054|  36.8k|    assert(Py_IS_TYPE(self, &PyListIter_Type));
  ------------------
  |  Branch (4054:5): [True: 36.8k, False: 0]
  ------------------
 4055|  36.8k|    _Py_FREELIST_FREE(list_iters, it, PyObject_GC_Del);
  ------------------
  |  |   35|  36.8k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  36.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  36.8k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   14|  36.8k|#  define Py_list_iters_MAXFREELIST 10
  |  |  ------------------
  ------------------
 4056|  36.8k|}
listobject.c:listiter_traverse:
 4060|      4|{
 4061|      4|    Py_VISIT(((_PyListIterObject *)it)->it_seq);
  ------------------
  |  |  194|      4|    do {                                                                \
  |  |  195|      4|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 4, False: 0]
  |  |  ------------------
  |  |  196|      4|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      4|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 4]
  |  |  ------------------
  |  |  198|      4|                return vret;                                            \
  |  |  199|      4|        }                                                               \
  |  |  200|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 4062|      4|    return 0;
 4063|      4|}
listobject.c:listiter_next:
 4067|   644k|{
 4068|   644k|    _PyListIterObject *it = (_PyListIterObject *)self;
 4069|   644k|    Py_ssize_t index = FT_ATOMIC_LOAD_SSIZE_RELAXED(it->it_index);
  ------------------
  |  |  149|   644k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 4070|   644k|    if (index < 0) {
  ------------------
  |  Branch (4070:9): [True: 0, False: 644k]
  ------------------
 4071|      0|        return NULL;
 4072|      0|    }
 4073|       |
 4074|   644k|    PyObject *item = list_get_item_ref(it->it_seq, index);
 4075|   644k|    if (item == NULL) {
  ------------------
  |  Branch (4075:9): [True: 35.2k, False: 608k]
  ------------------
 4076|       |        // out-of-bounds
 4077|  35.2k|        FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, -1);
  ------------------
  |  |  194|  35.2k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 4078|  35.2k|#ifndef Py_GIL_DISABLED
 4079|  35.2k|        PyListObject *seq = it->it_seq;
 4080|  35.2k|        it->it_seq = NULL;
 4081|  35.2k|        Py_DECREF(seq);
  ------------------
  |  |  430|  35.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  35.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4082|  35.2k|#endif
 4083|  35.2k|        return NULL;
 4084|  35.2k|    }
 4085|   608k|    FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, index + 1);
  ------------------
  |  |  194|   608k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 4086|   608k|    return item;
 4087|   644k|}
listobject.c:listreviter_dealloc:
 4205|    274|{
 4206|    274|    listreviterobject *it = (listreviterobject *)self;
 4207|    274|    PyObject_GC_UnTrack(it);
 4208|    274|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  524|    274|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    274|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    274|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4209|    274|    PyObject_GC_Del(it);
 4210|    274|}
listobject.c:listreviter_next:
 4221|    583|{
 4222|    583|    listreviterobject *it = (listreviterobject *)self;
 4223|    583|    assert(it != NULL);
  ------------------
  |  Branch (4223:5): [True: 583, False: 0]
  ------------------
 4224|    583|    Py_ssize_t index = FT_ATOMIC_LOAD_SSIZE_RELAXED(it->it_index);
  ------------------
  |  |  149|    583|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 4225|    583|    if (index < 0) {
  ------------------
  |  Branch (4225:9): [True: 272, False: 311]
  ------------------
 4226|    272|        return NULL;
 4227|    272|    }
 4228|       |
 4229|    311|    PyListObject *seq = it->it_seq;
 4230|    311|    assert(PyList_Check(seq));
  ------------------
  |  Branch (4230:5): [True: 311, False: 0]
  ------------------
 4231|    311|    PyObject *item = list_get_item_ref(seq, index);
 4232|    311|    if (item != NULL) {
  ------------------
  |  Branch (4232:9): [True: 311, False: 0]
  ------------------
 4233|    311|        FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, index - 1);
  ------------------
  |  |  194|    311|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 4234|    311|        return item;
 4235|    311|    }
 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|    311|}

_PyLong_Copy:
  223|  39.5k|{
  224|  39.5k|    assert(src != NULL);
  ------------------
  |  Branch (224:5): [True: 39.5k, False: 0]
  ------------------
  225|  39.5k|    int sign;
  226|       |
  227|  39.5k|    if (_PyLong_IsCompact(src)) {
  ------------------
  |  Branch (227:9): [True: 3.40k, False: 36.1k]
  ------------------
  228|  3.40k|        stwodigits ival = medium_value(src);
  ------------------
  |  |   27|  3.40k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
  229|  3.40k|        if (IS_SMALL_INT(ival)) {
  ------------------
  |  |   29|  3.40k|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|  3.40k|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  3.40k|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|  3.40k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 3.40k, False: 0]
  |  |  |  |  |  Branch (68:37): [True: 3.40k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  230|  3.40k|            return get_small_int((sdigit)ival);
  231|  3.40k|        }
  232|      0|        sign = _PyLong_CompactSign(src);
  233|      0|    }
  234|  36.1k|    else {
  235|  36.1k|        sign = _PyLong_NonCompactSign(src);
  236|  36.1k|    }
  237|       |
  238|  36.1k|    Py_ssize_t size = _PyLong_DigitCount(src);
  239|  36.1k|    PyLongObject *result = long_alloc(size);
  240|       |
  241|  36.1k|    if (result == NULL) {
  ------------------
  |  Branch (241:9): [True: 0, False: 36.1k]
  ------------------
  242|      0|        return NULL;
  243|      0|    }
  244|  36.1k|    _PyLong_SetSignAndDigitCount(result, sign, size);
  245|  36.1k|    memcpy(result->long_value.ob_digit, src->long_value.ob_digit,
  246|  36.1k|           size * sizeof(digit));
  247|  36.1k|    return (PyObject *)result;
  248|  36.1k|}
PyLong_FromLong:
  408|  22.3M|{
  409|       |    PYLONG_FROM_INT(unsigned long, long, ival);
  ------------------
  |  |  371|  22.3M|    do {                                                                            \
  |  |  372|  22.3M|        /* Handle small and medium cases. */                                        \
  |  |  373|  22.3M|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|  22.3M|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|  22.3M|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|  22.3M|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|  22.3M|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 22.3M, False: 2.11k]
  |  |  |  |  |  |  |  Branch (68:37): [True: 11.1M, False: 11.1M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|  11.1M|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|  11.1M|        }                                                                           \
  |  |  376|  22.3M|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  11.2M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  11.2M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  11.2M|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  11.2M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  11.2M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  11.2M|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 11.2M, False: 33]
  |  |  |  Branch (376:49): [True: 11.0M, False: 130k]
  |  |  ------------------
  |  |  377|  11.0M|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|  11.0M|        }                                                                           \
  |  |  379|  11.2M|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 33, False: 130k]
  |  |  ------------------
  |  |  380|   130k|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|   130k|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|   130k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|   130k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|   130k|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|   130k|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|   136k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 5.41k, False: 130k]
  |  |  ------------------
  |  |  385|  5.41k|            ++ndigits;                                                              \
  |  |  386|  5.41k|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|  5.41k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|  5.41k|        }                                                                           \
  |  |  388|   130k|        /* Construct output value. */                                               \
  |  |  389|   130k|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|   130k|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 130k]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|   130k|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|   130k|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 33, False: 130k]
  |  |  ------------------
  |  |  395|   130k|        t = abs_ival;                                                               \
  |  |  396|   398k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 267k, False: 130k]
  |  |  ------------------
  |  |  397|   267k|            *p++ = (digit)(t & PyLong_MASK);                                        \
  |  |  ------------------
  |  |  |  |   62|   267k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|   267k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|   267k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|   267k|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|   267k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|   267k|        }                                                                           \
  |  |  400|   130k|        return (PyObject *)v;                                                       \
  |  |  401|   130k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  410|  22.3M|}
PyLong_FromUnsignedLong:
  446|   145k|{
  447|       |    PYLONG_FROM_UINT(unsigned long, ival);
  ------------------
  |  |  413|   145k|    do { \
  |  |  414|   145k|        /* Handle small and medium cases. */ \
  |  |  415|   145k|        if (IS_SMALL_UINT(ival)) { \
  |  |  ------------------
  |  |  |  |   30|   145k|#define IS_SMALL_UINT(ival) ((ival) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|   145k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (30:29): [True: 1.01k, False: 144k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  416|  1.01k|            return get_small_int((sdigit)(ival)); \
  |  |  417|  1.01k|        } \
  |  |  418|   145k|        if ((ival) <= PyLong_MASK) { \
  |  |  ------------------
  |  |  |  |   62|   144k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|   144k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|   144k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (418:13): [True: 129, False: 144k]
  |  |  ------------------
  |  |  419|    129|            return _PyLong_FromMedium((sdigit)(ival)); \
  |  |  420|    129|        } \
  |  |  421|   144k|        /* Do shift in two steps to avoid possible undefined behavior. */ \
  |  |  422|   144k|        INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|   144k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|   144k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  423|   144k|        /* Count digits (at least two - smaller cases were handled above). */ \
  |  |  424|   144k|        Py_ssize_t ndigits = 2; \
  |  |  425|   144k|        while (t) { \
  |  |  ------------------
  |  |  |  Branch (425:16): [True: 0, False: 144k]
  |  |  ------------------
  |  |  426|      0|            ++ndigits; \
  |  |  427|      0|            t >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  428|      0|        } \
  |  |  429|   144k|        /* Construct output value. */ \
  |  |  430|   144k|        PyLongObject *v = long_alloc(ndigits); \
  |  |  431|   144k|        if (v == NULL) { \
  |  |  ------------------
  |  |  |  Branch (431:13): [True: 0, False: 144k]
  |  |  ------------------
  |  |  432|      0|            return NULL; \
  |  |  433|      0|        } \
  |  |  434|   144k|        digit *p = v->long_value.ob_digit; \
  |  |  435|   434k|        while ((ival)) { \
  |  |  ------------------
  |  |  |  Branch (435:16): [True: 289k, False: 144k]
  |  |  ------------------
  |  |  436|   289k|            *p++ = (digit)((ival) & PyLong_MASK); \
  |  |  ------------------
  |  |  |  |   62|   289k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|   289k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|   289k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  437|   289k|            (ival) >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|   289k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  438|   289k|        } \
  |  |  439|   144k|        return (PyObject *)v; \
  |  |  440|   144k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (440:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  448|   145k|}
PyLong_FromUnsignedLongLong:
  454|  2.23k|{
  455|       |    PYLONG_FROM_UINT(unsigned long long, ival);
  ------------------
  |  |  413|  2.23k|    do { \
  |  |  414|  2.23k|        /* Handle small and medium cases. */ \
  |  |  415|  2.23k|        if (IS_SMALL_UINT(ival)) { \
  |  |  ------------------
  |  |  |  |   30|  2.23k|#define IS_SMALL_UINT(ival) ((ival) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|  2.23k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (30:29): [True: 501, False: 1.73k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  416|    501|            return get_small_int((sdigit)(ival)); \
  |  |  417|    501|        } \
  |  |  418|  2.23k|        if ((ival) <= PyLong_MASK) { \
  |  |  ------------------
  |  |  |  |   62|  1.73k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  1.73k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  1.73k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (418:13): [True: 1.00k, False: 734]
  |  |  ------------------
  |  |  419|  1.00k|            return _PyLong_FromMedium((sdigit)(ival)); \
  |  |  420|  1.00k|        } \
  |  |  421|  1.73k|        /* Do shift in two steps to avoid possible undefined behavior. */ \
  |  |  422|  1.73k|        INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|    734|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|    734|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  423|    734|        /* Count digits (at least two - smaller cases were handled above). */ \
  |  |  424|    734|        Py_ssize_t ndigits = 2; \
  |  |  425|    734|        while (t) { \
  |  |  ------------------
  |  |  |  Branch (425:16): [True: 0, False: 734]
  |  |  ------------------
  |  |  426|      0|            ++ndigits; \
  |  |  427|      0|            t >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  428|      0|        } \
  |  |  429|    734|        /* Construct output value. */ \
  |  |  430|    734|        PyLongObject *v = long_alloc(ndigits); \
  |  |  431|    734|        if (v == NULL) { \
  |  |  ------------------
  |  |  |  Branch (431:13): [True: 0, False: 734]
  |  |  ------------------
  |  |  432|      0|            return NULL; \
  |  |  433|      0|        } \
  |  |  434|    734|        digit *p = v->long_value.ob_digit; \
  |  |  435|  2.20k|        while ((ival)) { \
  |  |  ------------------
  |  |  |  Branch (435:16): [True: 1.46k, False: 734]
  |  |  ------------------
  |  |  436|  1.46k|            *p++ = (digit)((ival) & PyLong_MASK); \
  |  |  ------------------
  |  |  |  |   62|  1.46k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  1.46k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  1.46k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  437|  1.46k|            (ival) >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|  1.46k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  438|  1.46k|        } \
  |  |  439|    734|        return (PyObject *)v; \
  |  |  440|    734|    } while(0)
  |  |  ------------------
  |  |  |  Branch (440:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  456|  2.23k|}
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|    154|{
  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|    154|    const double int_max = (unsigned long)LONG_MAX + 1;
  482|    154|    if (-int_max < dval && dval < int_max) {
  ------------------
  |  Branch (482:9): [True: 131, False: 23]
  |  Branch (482:28): [True: 118, False: 13]
  ------------------
  483|    118|        return PyLong_FromLong((long)dval);
  484|    118|    }
  485|       |
  486|     36|    PyLongObject *v;
  487|     36|    double frac;
  488|     36|    int i, ndig, expo, neg;
  489|     36|    neg = 0;
  490|     36|    if (isinf(dval)) {
  ------------------
  |  Branch (490:9): [True: 0, False: 36]
  ------------------
  491|      0|        PyErr_SetString(PyExc_OverflowError,
  492|      0|                        "cannot convert float infinity to integer");
  493|      0|        return NULL;
  494|      0|    }
  495|     36|    if (isnan(dval)) {
  ------------------
  |  Branch (495:9): [True: 0, False: 36]
  ------------------
  496|      0|        PyErr_SetString(PyExc_ValueError,
  497|      0|                        "cannot convert float NaN to integer");
  498|      0|        return NULL;
  499|      0|    }
  500|     36|    if (dval < 0.0) {
  ------------------
  |  Branch (500:9): [True: 23, False: 13]
  ------------------
  501|     23|        neg = 1;
  502|     23|        dval = -dval;
  503|     23|    }
  504|     36|    frac = frexp(dval, &expo); /* dval = frac*2**expo; 0.0 <= frac < 1.0 */
  505|     36|    assert(expo > 0);
  ------------------
  |  Branch (505:5): [True: 36, False: 0]
  ------------------
  506|     36|    ndig = (expo-1) / PyLong_SHIFT + 1; /* Number of 'digits' in result */
  ------------------
  |  |   47|     36|#define PyLong_SHIFT    30
  ------------------
  507|     36|    v = long_alloc(ndig);
  508|     36|    if (v == NULL)
  ------------------
  |  Branch (508:9): [True: 0, False: 36]
  ------------------
  509|      0|        return NULL;
  510|     36|    frac = ldexp(frac, (expo-1) % PyLong_SHIFT + 1);
  ------------------
  |  |   47|     36|#define PyLong_SHIFT    30
  ------------------
  511|    144|    for (i = ndig; --i >= 0; ) {
  ------------------
  |  Branch (511:20): [True: 108, False: 36]
  ------------------
  512|    108|        digit bits = (digit)frac;
  513|    108|        v->long_value.ob_digit[i] = bits;
  514|    108|        frac = frac - (double)bits;
  515|    108|        frac = ldexp(frac, PyLong_SHIFT);
  ------------------
  |  |   47|    108|#define PyLong_SHIFT    30
  ------------------
  516|    108|    }
  517|     36|    if (neg) {
  ------------------
  |  Branch (517:9): [True: 23, False: 13]
  ------------------
  518|     23|        _PyLong_FlipSign(v);
  519|     23|    }
  520|     36|    return (PyObject *)v;
  521|     36|}
PyLong_AsLongAndOverflow:
  594|  6.47M|{
  595|       |    /* This version originally by Tim Peters */
  596|  6.47M|    PyLongObject *v;
  597|  6.47M|    long res;
  598|  6.47M|    Py_ssize_t i;
  599|  6.47M|    int sign;
  600|  6.47M|    int do_decref = 0; /* if PyNumber_Index was called */
  601|       |
  602|  6.47M|    *overflow = 0;
  603|  6.47M|    if (vv == NULL) {
  ------------------
  |  Branch (603:9): [True: 0, False: 6.47M]
  ------------------
  604|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  605|      0|        return -1;
  606|      0|    }
  607|       |
  608|  6.47M|    if (PyLong_Check(vv)) {
  ------------------
  |  |   13|  6.47M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  6.47M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 6.47M, False: 85]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  609|  6.47M|        v = (PyLongObject *)vv;
  610|  6.47M|    }
  611|     85|    else {
  612|     85|        v = (PyLongObject *)_PyNumber_Index(vv);
  613|     85|        if (v == NULL)
  ------------------
  |  Branch (613:13): [True: 85, False: 0]
  ------------------
  614|     85|            return -1;
  615|      0|        do_decref = 1;
  616|      0|    }
  617|  6.47M|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (617:9): [True: 6.01M, False: 460k]
  ------------------
  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|  6.01M|        res = _PyLong_CompactValue(v);
  633|  6.01M|#endif
  634|  6.01M|    }
  635|   460k|    else {
  636|   460k|        res = -1;
  637|   460k|        i = _PyLong_DigitCount(v);
  638|   460k|        sign = _PyLong_NonCompactSign(v);
  639|       |
  640|   460k|        unsigned long x = unroll_digits_ulong(v, &i);
  641|   528k|        while (--i >= 0) {
  ------------------
  |  Branch (641:16): [True: 256k, False: 272k]
  ------------------
  642|   256k|            if (x > (ULONG_MAX >> PyLong_SHIFT)) {
  ------------------
  |  |   47|   256k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (642:17): [True: 188k, False: 68.2k]
  ------------------
  643|   188k|                *overflow = sign;
  644|   188k|                goto exit;
  645|   188k|            }
  646|  68.2k|            x = (x << PyLong_SHIFT) | v->long_value.ob_digit[i];
  ------------------
  |  |   47|  68.2k|#define PyLong_SHIFT    30
  ------------------
  647|  68.2k|        }
  648|       |        /* Haven't lost any bits, but casting to long requires extra
  649|       |        * care (see comment above).
  650|       |        */
  651|   272k|        if (x <= (unsigned long)LONG_MAX) {
  ------------------
  |  Branch (651:13): [True: 259k, False: 12.7k]
  ------------------
  652|   259k|            res = (long)x * sign;
  653|   259k|        }
  654|  12.7k|        else if (sign < 0 && x == PY_ABS_LONG_MIN) {
  ------------------
  |  |  532|  4.69k|#define PY_ABS_LONG_MIN         (0-(unsigned long)LONG_MIN)
  ------------------
  |  Branch (654:18): [True: 4.69k, False: 8.05k]
  |  Branch (654:30): [True: 1.75k, False: 2.93k]
  ------------------
  655|  1.75k|            res = LONG_MIN;
  656|  1.75k|        }
  657|  10.9k|        else {
  658|  10.9k|            *overflow = sign;
  659|       |            /* res is already set to -1 */
  660|  10.9k|        }
  661|   272k|    }
  662|  6.47M|  exit:
  663|  6.47M|    if (do_decref) {
  ------------------
  |  Branch (663:9): [True: 0, False: 6.47M]
  ------------------
  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|  6.47M|    return res;
  667|  6.47M|}
PyLong_AsLong:
  674|  3.88M|{
  675|  3.88M|    int overflow;
  676|  3.88M|    long result = PyLong_AsLongAndOverflow(obj, &overflow);
  677|  3.88M|    if (overflow) {
  ------------------
  |  Branch (677:9): [True: 158, False: 3.88M]
  ------------------
  678|       |        /* XXX: could be cute and give a different
  679|       |           message for overflow == -1 */
  680|    158|        PyErr_SetString(PyExc_OverflowError,
  681|    158|                        "Python int too large to convert to C long");
  682|    158|    }
  683|  3.88M|    return result;
  684|  3.88M|}
PyLong_AsInt:
  691|   357k|{
  692|   357k|    int overflow;
  693|   357k|    long result = PyLong_AsLongAndOverflow(obj, &overflow);
  694|   357k|    if (overflow || result > INT_MAX || result < INT_MIN) {
  ------------------
  |  Branch (694:9): [True: 0, False: 357k]
  |  Branch (694:21): [True: 0, False: 357k]
  |  Branch (694:41): [True: 0, False: 357k]
  ------------------
  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|   357k|    return (int)result;
  702|   357k|}
PyLong_AsSsize_t:
  708|  10.3M|PyLong_AsSsize_t(PyObject *vv) {
  709|  10.3M|    PyLongObject *v;
  710|  10.3M|    Py_ssize_t i;
  711|  10.3M|    int sign;
  712|       |
  713|  10.3M|    if (vv == NULL) {
  ------------------
  |  Branch (713:9): [True: 0, False: 10.3M]
  ------------------
  714|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  715|      0|        return -1;
  716|      0|    }
  717|  10.3M|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|  10.3M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  10.3M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (717:9): [True: 0, False: 10.3M]
  ------------------
  718|      0|        PyErr_SetString(PyExc_TypeError, "an integer is required");
  719|      0|        return -1;
  720|      0|    }
  721|       |
  722|  10.3M|    v = (PyLongObject *)vv;
  723|  10.3M|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (723:9): [True: 10.3M, False: 5.83k]
  ------------------
  724|  10.3M|        return _PyLong_CompactValue(v);
  725|  10.3M|    }
  726|  5.83k|    i = _PyLong_DigitCount(v);
  727|  5.83k|    sign = _PyLong_NonCompactSign(v);
  728|       |
  729|  5.83k|    size_t x = unroll_digits_size_t(v, &i);
  730|  7.63k|    while (--i >= 0) {
  ------------------
  |  Branch (730:12): [True: 3.49k, False: 4.14k]
  ------------------
  731|  3.49k|        if (x > (SIZE_MAX >> PyLong_SHIFT)) {
  ------------------
  |  |   47|  3.49k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (731:13): [True: 1.69k, False: 1.80k]
  ------------------
  732|  1.69k|            goto overflow;
  733|  1.69k|        }
  734|  1.80k|        x = (x << PyLong_SHIFT) | v->long_value.ob_digit[i];
  ------------------
  |  |   47|  1.80k|#define PyLong_SHIFT    30
  ------------------
  735|  1.80k|    }
  736|       |    /* Haven't lost any bits, but casting to a signed type requires
  737|       |     * extra care (see comment above).
  738|       |     */
  739|  4.14k|    if (x <= (size_t)PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  4.14k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (739:9): [True: 2.91k, False: 1.22k]
  ------------------
  740|  2.91k|        return (Py_ssize_t)x * sign;
  741|  2.91k|    }
  742|  1.22k|    else if (sign < 0 && x == PY_ABS_SSIZE_T_MIN) {
  ------------------
  |  |  533|    829|#define PY_ABS_SSIZE_T_MIN      (0-(size_t)PY_SSIZE_T_MIN)
  |  |  ------------------
  |  |  |  |  146|    829|#define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|    829|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (742:14): [True: 829, False: 400]
  |  Branch (742:26): [True: 119, False: 710]
  ------------------
  743|    119|        return PY_SSIZE_T_MIN;
  ------------------
  |  |  146|    119|#define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1)
  |  |  ------------------
  |  |  |  |  137|    119|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  744|    119|    }
  745|       |    /* else overflow */
  746|       |
  747|  2.80k|  overflow:
  748|  2.80k|    PyErr_SetString(PyExc_OverflowError,
  749|  2.80k|                    "Python int too large to convert to C ssize_t");
  750|  2.80k|    return -1;
  751|  4.14k|}
PyLong_AsUnsignedLong:
  758|  17.2k|{
  759|  17.2k|    PyLongObject *v;
  760|  17.2k|    Py_ssize_t i;
  761|       |
  762|  17.2k|    if (vv == NULL) {
  ------------------
  |  Branch (762:9): [True: 0, False: 17.2k]
  ------------------
  763|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  764|      0|        return (unsigned long)-1;
  765|      0|    }
  766|  17.2k|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|  17.2k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  17.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (766:9): [True: 0, False: 17.2k]
  ------------------
  767|      0|        PyErr_SetString(PyExc_TypeError, "an integer is required");
  768|      0|        return (unsigned long)-1;
  769|      0|    }
  770|       |
  771|  17.2k|    v = (PyLongObject *)vv;
  772|  17.2k|    if (_PyLong_IsNonNegativeCompact(v)) {
  ------------------
  |  Branch (772:9): [True: 760, False: 16.4k]
  ------------------
  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|    760|        return (unsigned long)(size_t)_PyLong_CompactValue(v);
  782|    760|#endif
  783|    760|    }
  784|  16.4k|    if (_PyLong_IsNegative(v)) {
  ------------------
  |  Branch (784:9): [True: 0, False: 16.4k]
  ------------------
  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|  16.4k|    i = _PyLong_DigitCount(v);
  790|       |
  791|  16.4k|    unsigned long x = unroll_digits_ulong(v, &i);
  792|  16.4k|    while (--i >= 0) {
  ------------------
  |  Branch (792:12): [True: 0, False: 16.4k]
  ------------------
  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|  16.4k|    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|  16.4k|}
PyLong_AsSize_t:
  811|  52.4k|{
  812|  52.4k|    PyLongObject *v;
  813|  52.4k|    Py_ssize_t i;
  814|       |
  815|  52.4k|    if (vv == NULL) {
  ------------------
  |  Branch (815:9): [True: 0, False: 52.4k]
  ------------------
  816|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  817|      0|        return (size_t) -1;
  818|      0|    }
  819|  52.4k|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|  52.4k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  52.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (819:9): [True: 0, False: 52.4k]
  ------------------
  820|      0|        PyErr_SetString(PyExc_TypeError, "an integer is required");
  821|      0|        return (size_t)-1;
  822|      0|    }
  823|       |
  824|  52.4k|    v = (PyLongObject *)vv;
  825|  52.4k|    if (_PyLong_IsNonNegativeCompact(v)) {
  ------------------
  |  Branch (825:9): [True: 51.0k, False: 1.42k]
  ------------------
  826|  51.0k|        return (size_t)_PyLong_CompactValue(v);
  827|  51.0k|    }
  828|  1.42k|    if (_PyLong_IsNegative(v)) {
  ------------------
  |  Branch (828:9): [True: 751, False: 675]
  ------------------
  829|    751|        PyErr_SetString(PyExc_OverflowError,
  830|    751|                   "can't convert negative value to size_t");
  831|    751|        return (size_t) -1;
  832|    751|    }
  833|    675|    i = _PyLong_DigitCount(v);
  834|       |
  835|    675|    size_t x = unroll_digits_size_t(v, &i);
  836|    856|    while (--i >= 0) {
  ------------------
  |  Branch (836:12): [True: 537, False: 319]
  ------------------
  837|    537|            if (x > (SIZE_MAX >> PyLong_SHIFT)) {
  ------------------
  |  |   47|    537|#define PyLong_SHIFT    30
  ------------------
  |  Branch (837:17): [True: 356, False: 181]
  ------------------
  838|    356|                PyErr_SetString(PyExc_OverflowError,
  839|    356|                    "Python int too large to convert to C size_t");
  840|    356|                return (size_t) -1;
  841|    356|            }
  842|    181|            x = (x << PyLong_SHIFT) | v->long_value.ob_digit[i];
  ------------------
  |  |   47|    181|#define PyLong_SHIFT    30
  ------------------
  843|    181|        }
  844|    319|    return x;
  845|    675|}
PyLong_GetSign:
  955|  1.30k|{
  956|  1.30k|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|  1.30k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.30k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (956:9): [True: 0, False: 1.30k]
  ------------------
  957|      0|        PyErr_Format(PyExc_TypeError, "expect int, got %T", vv);
  958|      0|        return -1;
  959|      0|    }
  960|       |
  961|  1.30k|    *sign = long_sign(vv);
  962|  1.30k|    return 0;
  963|  1.30k|}
_PyLong_NumBits:
  977|   135k|{
  978|   135k|    PyLongObject *v = (PyLongObject *)vv;
  979|   135k|    int64_t result = 0;
  980|   135k|    Py_ssize_t ndigits;
  981|   135k|    int msd_bits;
  982|       |
  983|   135k|    assert(v != NULL);
  ------------------
  |  Branch (983:5): [True: 135k, False: 0]
  ------------------
  984|   135k|    assert(PyLong_Check(v));
  ------------------
  |  Branch (984:5): [True: 135k, False: 0]
  ------------------
  985|   135k|    ndigits = _PyLong_DigitCount(v);
  986|   135k|    assert(ndigits == 0 || v->long_value.ob_digit[ndigits - 1] != 0);
  ------------------
  |  Branch (986:5): [True: 28, False: 135k]
  |  Branch (986:5): [True: 135k, False: 0]
  ------------------
  987|   135k|    if (ndigits > 0) {
  ------------------
  |  Branch (987:9): [True: 135k, False: 28]
  ------------------
  988|   135k|        digit msd = v->long_value.ob_digit[ndigits - 1];
  989|   135k|#if SIZEOF_SIZE_T == 8
  990|   135k|        assert(ndigits <= INT64_MAX / PyLong_SHIFT);
  ------------------
  |  Branch (990:9): [True: 135k, False: 0]
  ------------------
  991|   135k|#endif
  992|   135k|        result = (int64_t)(ndigits - 1) * PyLong_SHIFT;
  ------------------
  |  |   47|   135k|#define PyLong_SHIFT    30
  ------------------
  993|   135k|        msd_bits = bit_length_digit(msd);
  994|   135k|        result += msd_bits;
  995|   135k|    }
  996|   135k|    return result;
  997|   135k|}
_PyLong_FromByteArray:
 1002|    255|{
 1003|    255|    const unsigned char* pstartbyte;    /* LSB of bytes */
 1004|    255|    int incr;                           /* direction to move pstartbyte */
 1005|    255|    const unsigned char* pendbyte;      /* MSB of bytes */
 1006|    255|    size_t numsignificantbytes;         /* number of bytes that matter */
 1007|    255|    Py_ssize_t ndigits;                 /* number of Python int digits */
 1008|    255|    PyLongObject* v;                    /* result */
 1009|    255|    Py_ssize_t idigit = 0;              /* next free index in v->long_value.ob_digit */
 1010|       |
 1011|    255|    if (n == 0)
  ------------------
  |  Branch (1011:9): [True: 0, False: 255]
  ------------------
 1012|      0|        return PyLong_FromLong(0L);
 1013|       |
 1014|    255|    if (little_endian) {
  ------------------
  |  Branch (1014:9): [True: 255, False: 0]
  ------------------
 1015|    255|        pstartbyte = bytes;
 1016|    255|        pendbyte = bytes + n - 1;
 1017|    255|        incr = 1;
 1018|    255|    }
 1019|      0|    else {
 1020|      0|        pstartbyte = bytes + n - 1;
 1021|      0|        pendbyte = bytes;
 1022|      0|        incr = -1;
 1023|      0|    }
 1024|       |
 1025|    255|    if (is_signed)
  ------------------
  |  Branch (1025:9): [True: 0, False: 255]
  ------------------
 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|    255|    {
 1032|    255|        size_t i;
 1033|    255|        const unsigned char* p = pendbyte;
 1034|    255|        const int pincr = -incr;  /* search MSB to LSB */
 1035|    255|        const unsigned char insignificant = is_signed ? 0xff : 0x00;
  ------------------
  |  Branch (1035:45): [True: 0, False: 255]
  ------------------
 1036|       |
 1037|    763|        for (i = 0; i < n; ++i, p += pincr) {
  ------------------
  |  Branch (1037:21): [True: 678, False: 85]
  ------------------
 1038|    678|            if (*p != insignificant)
  ------------------
  |  Branch (1038:17): [True: 170, False: 508]
  ------------------
 1039|    170|                break;
 1040|    678|        }
 1041|    255|        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|    255|        if (is_signed && numsignificantbytes < n)
  ------------------
  |  Branch (1047:13): [True: 0, False: 255]
  |  Branch (1047:26): [True: 0, False: 0]
  ------------------
 1048|      0|            ++numsignificantbytes;
 1049|    255|    }
 1050|       |
 1051|       |    /* avoid integer overflow */
 1052|    255|    ndigits = numsignificantbytes / PyLong_SHIFT * 8
  ------------------
  |  |   47|    255|#define PyLong_SHIFT    30
  ------------------
 1053|    255|        + (numsignificantbytes % PyLong_SHIFT * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|    255|#define PyLong_SHIFT    30
  ------------------
                      + (numsignificantbytes % PyLong_SHIFT * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|    255|#define PyLong_SHIFT    30
  ------------------
                      + (numsignificantbytes % PyLong_SHIFT * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|    255|#define PyLong_SHIFT    30
  ------------------
 1054|    255|    v = long_alloc(ndigits);
 1055|    255|    if (v == NULL)
  ------------------
  |  Branch (1055:9): [True: 0, False: 255]
  ------------------
 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|    255|    {
 1062|    255|        size_t i;
 1063|    255|        twodigits carry = 1;                    /* for 2's-comp calculation */
 1064|    255|        twodigits accum = 0;                    /* sliding register */
 1065|    255|        unsigned int accumbits = 0;             /* number of bits in accum */
 1066|    255|        const unsigned char* p = pstartbyte;
 1067|       |
 1068|    767|        for (i = 0; i < numsignificantbytes; ++i, p += incr) {
  ------------------
  |  Branch (1068:21): [True: 512, False: 255]
  ------------------
 1069|    512|            twodigits thisbyte = *p;
 1070|       |            /* Compute correction for 2's comp, if needed. */
 1071|    512|            if (is_signed) {
  ------------------
  |  Branch (1071:17): [True: 0, False: 512]
  ------------------
 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|    512|            accum |= thisbyte << accumbits;
 1080|    512|            accumbits += 8;
 1081|    512|            if (accumbits >= PyLong_SHIFT) {
  ------------------
  |  |   47|    512|#define PyLong_SHIFT    30
  ------------------
  |  Branch (1081:17): [True: 85, False: 427]
  ------------------
 1082|       |                /* There's enough to fill a Python digit. */
 1083|     85|                assert(idigit < ndigits);
  ------------------
  |  Branch (1083:17): [True: 85, False: 0]
  ------------------
 1084|     85|                v->long_value.ob_digit[idigit] = (digit)(accum & PyLong_MASK);
  ------------------
  |  |   62|     85|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|     85|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     85|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1085|     85|                ++idigit;
 1086|     85|                accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|     85|#define PyLong_SHIFT    30
  ------------------
 1087|     85|                accumbits -= PyLong_SHIFT;
  ------------------
  |  |   47|     85|#define PyLong_SHIFT    30
  ------------------
 1088|     85|                assert(accumbits < PyLong_SHIFT);
  ------------------
  |  Branch (1088:17): [True: 85, False: 0]
  ------------------
 1089|     85|            }
 1090|    512|        }
 1091|    255|        assert(accumbits < PyLong_SHIFT);
  ------------------
  |  Branch (1091:9): [True: 255, False: 0]
  ------------------
 1092|    255|        if (accumbits) {
  ------------------
  |  Branch (1092:13): [True: 170, False: 85]
  ------------------
 1093|    170|            assert(idigit < ndigits);
  ------------------
  |  Branch (1093:13): [True: 170, False: 0]
  ------------------
 1094|    170|            v->long_value.ob_digit[idigit] = (digit)accum;
 1095|    170|            ++idigit;
 1096|    170|        }
 1097|    255|    }
 1098|       |
 1099|    255|    int sign = is_signed ? -1: 1;
  ------------------
  |  Branch (1099:16): [True: 0, False: 255]
  ------------------
 1100|    255|    if (idigit == 0) {
  ------------------
  |  Branch (1100:9): [True: 85, False: 170]
  ------------------
 1101|     85|        sign = 0;
 1102|     85|        v->long_value.ob_digit[0] = 0;
 1103|     85|    }
 1104|    255|    _PyLong_SetSignAndDigitCount(v, sign, idigit);
 1105|    255|    return (PyObject *)maybe_small_long(long_normalize(v));
 1106|    255|}
_PyLong_AsByteArray:
 1113|  6.26k|{
 1114|  6.26k|    Py_ssize_t i;               /* index into v->long_value.ob_digit */
 1115|  6.26k|    Py_ssize_t ndigits;         /* number of digits */
 1116|  6.26k|    twodigits accum;            /* sliding register */
 1117|  6.26k|    unsigned int accumbits;     /* # bits in accum */
 1118|  6.26k|    int do_twos_comp;           /* store 2's-comp?  is_signed and v < 0 */
 1119|  6.26k|    digit carry;                /* for computing 2's-comp */
 1120|  6.26k|    size_t j;                   /* # bytes filled */
 1121|  6.26k|    unsigned char* p;           /* pointer to next byte in bytes */
 1122|  6.26k|    int pincr;                  /* direction to move p */
 1123|       |
 1124|  6.26k|    assert(v != NULL && PyLong_Check(v));
  ------------------
  |  Branch (1124:5): [True: 6.26k, False: 0]
  |  Branch (1124:5): [True: 6.26k, False: 0]
  ------------------
 1125|       |
 1126|  6.26k|    ndigits = _PyLong_DigitCount(v);
 1127|  6.26k|    if (_PyLong_IsNegative(v)) {
  ------------------
  |  Branch (1127:9): [True: 0, False: 6.26k]
  ------------------
 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|  6.26k|    else {
 1138|  6.26k|        do_twos_comp = 0;
 1139|  6.26k|    }
 1140|       |
 1141|  6.26k|    if (little_endian) {
  ------------------
  |  Branch (1141:9): [True: 6.26k, False: 0]
  ------------------
 1142|  6.26k|        p = bytes;
 1143|  6.26k|        pincr = 1;
 1144|  6.26k|    }
 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|  6.26k|    assert(ndigits == 0 || v->long_value.ob_digit[ndigits - 1] != 0);
  ------------------
  |  Branch (1159:5): [True: 0, False: 6.26k]
  |  Branch (1159:5): [True: 6.26k, False: 0]
  ------------------
 1160|  6.26k|    j = 0;
 1161|  6.26k|    accum = 0;
 1162|  6.26k|    accumbits = 0;
 1163|  6.26k|    carry = do_twos_comp ? 1 : 0;
  ------------------
  |  Branch (1163:13): [True: 0, False: 6.26k]
  ------------------
 1164|  19.8k|    for (i = 0; i < ndigits; ++i) {
  ------------------
  |  Branch (1164:17): [True: 17.4k, False: 2.46k]
  ------------------
 1165|  17.4k|        digit thisdigit = v->long_value.ob_digit[i];
 1166|  17.4k|        if (do_twos_comp) {
  ------------------
  |  Branch (1166:13): [True: 0, False: 17.4k]
  ------------------
 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|  17.4k|        accum |= (twodigits)thisdigit << accumbits;
 1175|       |
 1176|       |        /* The most-significant digit may be (probably is) at least
 1177|       |           partly empty. */
 1178|  17.4k|        if (i == ndigits - 1) {
  ------------------
  |  Branch (1178:13): [True: 3.42k, False: 14.0k]
  ------------------
 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|  3.42k|            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: 3.42k]
  ------------------
 1183|  44.7k|            while (s != 0) {
  ------------------
  |  Branch (1183:20): [True: 41.3k, False: 3.42k]
  ------------------
 1184|  41.3k|                s >>= 1;
 1185|  41.3k|                accumbits++;
 1186|  41.3k|            }
 1187|  3.42k|        }
 1188|  14.0k|        else
 1189|  14.0k|            accumbits += PyLong_SHIFT;
  ------------------
  |  |   47|  14.0k|#define PyLong_SHIFT    30
  ------------------
 1190|       |
 1191|       |        /* Store as many bytes as possible. */
 1192|  62.9k|        while (accumbits >= 8) {
  ------------------
  |  Branch (1192:16): [True: 49.3k, False: 13.6k]
  ------------------
 1193|  49.3k|            if (j >= n)
  ------------------
  |  Branch (1193:17): [True: 3.79k, False: 45.5k]
  ------------------
 1194|  3.79k|                goto Overflow;
 1195|  45.5k|            ++j;
 1196|  45.5k|            *p = (unsigned char)(accum & 0xff);
 1197|  45.5k|            p += pincr;
 1198|  45.5k|            accumbits -= 8;
 1199|  45.5k|            accum >>= 8;
 1200|  45.5k|        }
 1201|  17.4k|    }
 1202|       |
 1203|       |    /* Store the straggler (if any). */
 1204|  6.26k|    assert(accumbits < 8);
  ------------------
  |  Branch (1204:5): [True: 2.46k, False: 0]
  ------------------
 1205|  2.46k|    assert(carry == 0);  /* else do_twos_comp and *every* digit was 0 */
  ------------------
  |  Branch (1205:5): [True: 2.46k, False: 0]
  ------------------
 1206|  2.46k|    if (accumbits > 0) {
  ------------------
  |  Branch (1206:9): [True: 2.28k, False: 178]
  ------------------
 1207|  2.28k|        if (j >= n)
  ------------------
  |  Branch (1207:13): [True: 849, False: 1.43k]
  ------------------
 1208|    849|            goto Overflow;
 1209|  1.43k|        ++j;
 1210|  1.43k|        if (do_twos_comp) {
  ------------------
  |  Branch (1210:13): [True: 0, False: 1.43k]
  ------------------
 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|  1.43k|        *p = (unsigned char)(accum & 0xff);
 1217|  1.43k|        p += pincr;
 1218|  1.43k|    }
 1219|    178|    else if (j == n && is_signed) {
  ------------------
  |  Branch (1219:14): [True: 57, False: 121]
  |  Branch (1219:24): [True: 57, 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|     57|        int sign_bit_set;
 1225|     57|        if (n > 0) {
  ------------------
  |  Branch (1225:13): [True: 57, False: 0]
  ------------------
 1226|     57|            unsigned char msb = *(p - pincr);
 1227|     57|            sign_bit_set = msb >= 0x80;
 1228|     57|        }
 1229|      0|        else {
 1230|      0|            sign_bit_set = 0;
 1231|      0|        }
 1232|     57|        assert(accumbits == 0);
  ------------------
  |  Branch (1232:9): [True: 57, False: 0]
  ------------------
 1233|     57|        if (sign_bit_set == do_twos_comp)
  ------------------
  |  Branch (1233:13): [True: 0, False: 57]
  ------------------
 1234|      0|            return 0;
 1235|     57|        else
 1236|     57|            goto Overflow;
 1237|     57|    }
 1238|       |
 1239|       |    /* Fill remaining bytes with copies of the sign bit. */
 1240|  1.55k|    {
 1241|  1.55k|        unsigned char signbyte = do_twos_comp ? 0xffU : 0U;
  ------------------
  |  Branch (1241:34): [True: 0, False: 1.55k]
  ------------------
 1242|  4.64k|        for ( ; j < n; ++j, p += pincr)
  ------------------
  |  Branch (1242:17): [True: 3.08k, False: 1.55k]
  ------------------
 1243|  3.08k|            *p = signbyte;
 1244|  1.55k|    }
 1245|       |
 1246|  1.55k|    return 0;
 1247|       |
 1248|  4.70k|  Overflow:
 1249|  4.70k|    if (with_exceptions) {
  ------------------
  |  Branch (1249:9): [True: 0, False: 4.70k]
  ------------------
 1250|      0|        PyErr_SetString(PyExc_OverflowError, "int too big to convert");
 1251|      0|    }
 1252|  4.70k|    return -1;
 1253|       |
 1254|  2.46k|}
PyLong_AsNativeBytes:
 1283|  22.7k|{
 1284|  22.7k|    PyLongObject *v;
 1285|  22.7k|    union {
 1286|  22.7k|        Py_ssize_t v;
 1287|  22.7k|        unsigned char b[sizeof(Py_ssize_t)];
 1288|  22.7k|    } cv;
 1289|  22.7k|    int do_decref = 0;
 1290|  22.7k|    Py_ssize_t res = 0;
 1291|       |
 1292|  22.7k|    if (vv == NULL || n < 0) {
  ------------------
  |  Branch (1292:9): [True: 0, False: 22.7k]
  |  Branch (1292:23): [True: 0, False: 22.7k]
  ------------------
 1293|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1294|      0|        return -1;
 1295|      0|    }
 1296|       |
 1297|  22.7k|    int little_endian = flags;
 1298|  22.7k|    if (_resolve_endianness(&little_endian) < 0) {
  ------------------
  |  Branch (1298:9): [True: 0, False: 22.7k]
  ------------------
 1299|      0|        return -1;
 1300|      0|    }
 1301|       |
 1302|  22.7k|    if (PyLong_Check(vv)) {
  ------------------
  |  |   13|  22.7k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  22.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 22.7k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1303|  22.7k|        v = (PyLongObject *)vv;
 1304|  22.7k|    }
 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|  22.7k|    if ((flags != -1 && (flags & Py_ASNATIVEBYTES_REJECT_NEGATIVE))
  ------------------
  |  |   49|  22.7k|#define Py_ASNATIVEBYTES_REJECT_NEGATIVE 8
  ------------------
  |  Branch (1317:10): [True: 22.7k, False: 0]
  |  Branch (1317:25): [True: 0, False: 22.7k]
  ------------------
 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|  22.7k|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (1326:9): [True: 16.5k, False: 6.26k]
  ------------------
 1327|  16.5k|        res = 0;
 1328|  16.5k|        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|  16.5k|        res = sizeof(cv.b);
 1333|  16.5k|        if (n <= 0) {
  ------------------
  |  Branch (1333:13): [True: 0, False: 16.5k]
  ------------------
 1334|       |            // nothing to do!
 1335|      0|        }
 1336|  16.5k|        else if (n <= (Py_ssize_t)sizeof(cv.b)) {
  ------------------
  |  Branch (1336:18): [True: 16.5k, False: 0]
  ------------------
 1337|  16.5k|#if PY_LITTLE_ENDIAN
 1338|  16.5k|            if (little_endian) {
  ------------------
  |  Branch (1338:17): [True: 16.5k, False: 0]
  ------------------
 1339|  16.5k|                memcpy(buffer, cv.b, n);
 1340|  16.5k|            }
 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|  16.5k|            if (_fits_in_n_bits(cv.v, n * 8)) {
  ------------------
  |  Branch (1358:17): [True: 16.5k, False: 0]
  ------------------
 1359|  16.5k|                res = n;
 1360|  16.5k|            } 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|  16.5k|        }
 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|  16.5k|    }
 1404|  6.26k|    else {
 1405|  6.26k|        if (n > 0) {
  ------------------
  |  Branch (1405:13): [True: 6.26k, False: 0]
  ------------------
 1406|  6.26k|            _PyLong_AsByteArray(v, buffer, (size_t)n, little_endian, 1, 0);
 1407|  6.26k|        }
 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|  6.26k|        int64_t nb = _PyLong_NumBits((PyObject *)v);
 1412|  6.26k|        assert(nb >= 0);
  ------------------
  |  Branch (1412:9): [True: 6.26k, 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|  6.26k|        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|  6.26k|        if (n > 0 && res == n + 1 && nb % 8 == 0) {
  ------------------
  |  Branch (1422:13): [True: 6.26k, False: 0]
  |  Branch (1422:22): [True: 906, False: 5.35k]
  |  Branch (1422:38): [True: 57, False: 849]
  ------------------
 1423|     57|            if (_PyLong_IsNegative(v)) {
  ------------------
  |  Branch (1423:17): [True: 0, False: 57]
  ------------------
 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|     57|            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|     57|                unsigned char *b = (unsigned char *)buffer;
 1447|     57|                if (b[little_endian ? n - 1 : 0] & 0x80) {
  ------------------
  |  Branch (1447:21): [True: 57, False: 0]
  |  Branch (1447:23): [True: 57, False: 0]
  ------------------
 1448|     57|                    if (flags == -1 || (flags & Py_ASNATIVEBYTES_UNSIGNED_BUFFER)) {
  ------------------
  |  |   48|     57|#define Py_ASNATIVEBYTES_UNSIGNED_BUFFER 4
  ------------------
  |  Branch (1448:25): [True: 0, False: 57]
  |  Branch (1448:40): [True: 0, False: 57]
  ------------------
 1449|      0|                        res = n;
 1450|     57|                    } else {
 1451|     57|                        res = n + 1;
 1452|     57|                    }
 1453|     57|                }
 1454|     57|            }
 1455|     57|        }
 1456|  6.26k|    }
 1457|       |
 1458|  22.7k|    if (do_decref) {
  ------------------
  |  Branch (1458:9): [True: 0, False: 22.7k]
  ------------------
 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|  22.7k|    return res;
 1463|  22.7k|}
PyLong_FromVoidPtr:
 1509|   144k|{
 1510|   144k|#if SIZEOF_VOID_P <= SIZEOF_LONG
 1511|   144k|    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|   144k|}
PyLong_AsVoidPtr:
 1526|  16.4k|{
 1527|  16.4k|#if SIZEOF_VOID_P <= SIZEOF_LONG
 1528|  16.4k|    long x;
 1529|       |
 1530|  16.4k|    if (PyLong_Check(vv) && _PyLong_IsNegative((PyLongObject *)vv)) {
  ------------------
  |  |   13|  16.4k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  32.9k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 16.4k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1530:29): [True: 0, False: 16.4k]
  ------------------
 1531|      0|        x = PyLong_AsLong(vv);
 1532|      0|    }
 1533|  16.4k|    else {
 1534|  16.4k|        x = PyLong_AsUnsignedLong(vv);
 1535|  16.4k|    }
 1536|       |#else
 1537|       |
 1538|       |#if SIZEOF_LONG_LONG < SIZEOF_VOID_P
 1539|       |#   error "PyLong_AsVoidPtr: sizeof(long long) < sizeof(void*)"
 1540|       |#endif
 1541|       |    long long x;
 1542|       |
 1543|       |    if (PyLong_Check(vv) && _PyLong_IsNegative((PyLongObject *)vv)) {
 1544|       |        x = PyLong_AsLongLong(vv);
 1545|       |    }
 1546|       |    else {
 1547|       |        x = PyLong_AsUnsignedLongLong(vv);
 1548|       |    }
 1549|       |
 1550|       |#endif /* SIZEOF_VOID_P <= SIZEOF_LONG */
 1551|       |
 1552|  16.4k|    if (x == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1552:9): [True: 0, False: 16.4k]
  |  Branch (1552:20): [True: 0, False: 0]
  ------------------
 1553|      0|        return NULL;
 1554|  16.4k|    return (void *)x;
 1555|  16.4k|}
PyLong_FromLongLong:
 1567|  3.50k|{
 1568|       |    PYLONG_FROM_INT(unsigned long long, long long, ival);
  ------------------
  |  |  371|  3.50k|    do {                                                                            \
  |  |  372|  3.50k|        /* Handle small and medium cases. */                                        \
  |  |  373|  3.50k|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|  3.50k|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|  3.50k|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|  3.50k|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|  3.50k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 3.50k, False: 0]
  |  |  |  |  |  |  |  Branch (68:37): [True: 10, False: 3.49k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|     10|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|     10|        }                                                                           \
  |  |  376|  3.50k|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  3.49k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  3.49k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  3.49k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  3.49k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  3.49k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  3.49k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 3.49k, False: 0]
  |  |  |  Branch (376:49): [True: 493, False: 3.00k]
  |  |  ------------------
  |  |  377|    493|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|    493|        }                                                                           \
  |  |  379|  3.49k|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 0, False: 3.00k]
  |  |  ------------------
  |  |  380|  3.00k|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|  3.00k|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|  3.00k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|  3.00k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|  3.00k|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|  3.00k|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|  4.50k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 1.50k, False: 3.00k]
  |  |  ------------------
  |  |  385|  1.50k|            ++ndigits;                                                              \
  |  |  386|  1.50k|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|  1.50k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|  1.50k|        }                                                                           \
  |  |  388|  3.00k|        /* Construct output value. */                                               \
  |  |  389|  3.00k|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|  3.00k|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 3.00k]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|  3.00k|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|  3.00k|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 0, False: 3.00k]
  |  |  ------------------
  |  |  395|  3.00k|        t = abs_ival;                                                               \
  |  |  396|  10.5k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 7.51k, False: 3.00k]
  |  |  ------------------
  |  |  397|  7.51k|            *p++ = (digit)(t & PyLong_MASK);                                        \
  |  |  ------------------
  |  |  |  |   62|  7.51k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  7.51k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  7.51k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|  7.51k|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|  7.51k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|  7.51k|        }                                                                           \
  |  |  400|  3.00k|        return (PyObject *)v;                                                       \
  |  |  401|  3.00k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1569|  3.50k|}
PyLong_FromSsize_t:
 1575|  2.95M|{
 1576|       |    PYLONG_FROM_INT(size_t, Py_ssize_t, ival);
  ------------------
  |  |  371|  2.95M|    do {                                                                            \
  |  |  372|  2.95M|        /* Handle small and medium cases. */                                        \
  |  |  373|  2.95M|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|  2.95M|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|  2.95M|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|  2.95M|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|  2.95M|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 2.95M, False: 0]
  |  |  |  |  |  |  |  Branch (68:37): [True: 2.86M, False: 93.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|  2.86M|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|  2.86M|        }                                                                           \
  |  |  376|  2.95M|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  93.3k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  93.3k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  93.3k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  93.3k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  93.3k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  93.3k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 93.3k, False: 0]
  |  |  |  Branch (376:49): [True: 92.9k, False: 414]
  |  |  ------------------
  |  |  377|  92.9k|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|  92.9k|        }                                                                           \
  |  |  379|  93.3k|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 0, False: 414]
  |  |  ------------------
  |  |  380|    414|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|    414|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|    414|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|    414|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|    414|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|    414|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|    492|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 78, False: 414]
  |  |  ------------------
  |  |  385|     78|            ++ndigits;                                                              \
  |  |  386|     78|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|     78|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|     78|        }                                                                           \
  |  |  388|    414|        /* Construct output value. */                                               \
  |  |  389|    414|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|    414|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 414]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|    414|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|    414|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 0, False: 414]
  |  |  ------------------
  |  |  395|    414|        t = abs_ival;                                                               \
  |  |  396|  1.32k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 906, False: 414]
  |  |  ------------------
  |  |  397|    906|            *p++ = (digit)(t & PyLong_MASK);                                        \
  |  |  ------------------
  |  |  |  |   62|    906|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|    906|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    906|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|    906|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|    906|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|    906|        }                                                                           \
  |  |  400|    414|        return (PyObject *)v;                                                       \
  |  |  401|    414|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1577|  2.95M|}
_PyLong_FormatWriter:
 2517|    132|{
 2518|    132|    if (base == 10)
  ------------------
  |  Branch (2518:9): [True: 0, False: 132]
  ------------------
 2519|      0|        return long_to_decimal_string_internal(obj, NULL, writer,
 2520|      0|                                               NULL, NULL);
 2521|    132|    else
 2522|    132|        return long_format_binary(obj, base, alternate, NULL, writer,
 2523|    132|                                  NULL, NULL);
 2524|    132|}
PyLong_FromString:
 3053|  79.4k|{
 3054|  79.4k|    int sign = 1, error_if_nonzero = 0;
 3055|  79.4k|    const char *orig_str = str;
 3056|  79.4k|    PyLongObject *z = NULL;
 3057|  79.4k|    PyObject *strobj;
 3058|  79.4k|    Py_ssize_t slen;
 3059|       |
 3060|  79.4k|    if ((base != 0 && base < 2) || base > 36) {
  ------------------
  |  Branch (3060:10): [True: 1.72k, False: 77.6k]
  |  Branch (3060:23): [True: 0, False: 1.72k]
  |  Branch (3060:36): [True: 0, False: 79.4k]
  ------------------
 3061|      0|        PyErr_SetString(PyExc_ValueError,
 3062|      0|                        "int() arg 2 must be >= 2 and <= 36");
 3063|      0|        return NULL;
 3064|      0|    }
 3065|  79.4k|    while (*str != '\0' && Py_ISSPACE(*str)) {
  ------------------
  |  |   27|  79.4k|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  138|  79.4k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |   13|  79.4k|#define PY_CTF_SPACE  0x08
  |  |  ------------------
  |  |  |  Branch (27:24): [True: 0, False: 79.4k]
  |  |  ------------------
  ------------------
  |  Branch (3065:12): [True: 79.4k, False: 0]
  ------------------
 3066|      0|        ++str;
 3067|      0|    }
 3068|  79.4k|    if (*str == '+') {
  ------------------
  |  Branch (3068:9): [True: 0, False: 79.4k]
  ------------------
 3069|      0|        ++str;
 3070|      0|    }
 3071|  79.4k|    else if (*str == '-') {
  ------------------
  |  Branch (3071:14): [True: 0, False: 79.4k]
  ------------------
 3072|      0|        ++str;
 3073|      0|        sign = -1;
 3074|      0|    }
 3075|  79.4k|    if (base == 0) {
  ------------------
  |  Branch (3075:9): [True: 77.6k, False: 1.72k]
  ------------------
 3076|  77.6k|        if (str[0] != '0') {
  ------------------
  |  Branch (3076:13): [True: 72.3k, False: 5.36k]
  ------------------
 3077|  72.3k|            base = 10;
 3078|  72.3k|        }
 3079|  5.36k|        else if (str[1] == 'x' || str[1] == 'X') {
  ------------------
  |  Branch (3079:18): [True: 2.79k, False: 2.57k]
  |  Branch (3079:35): [True: 766, False: 1.80k]
  ------------------
 3080|  3.56k|            base = 16;
 3081|  3.56k|        }
 3082|  1.80k|        else if (str[1] == 'o' || str[1] == 'O') {
  ------------------
  |  Branch (3082:18): [True: 163, False: 1.64k]
  |  Branch (3082:35): [True: 652, False: 991]
  ------------------
 3083|    815|            base = 8;
 3084|    815|        }
 3085|    991|        else if (str[1] == 'b' || str[1] == 'B') {
  ------------------
  |  Branch (3085:18): [True: 373, False: 618]
  |  Branch (3085:35): [True: 618, False: 0]
  ------------------
 3086|    991|            base = 2;
 3087|    991|        }
 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|  77.6k|    }
 3095|  79.4k|    if (str[0] == '0' &&
  ------------------
  |  Branch (3095:9): [True: 6.62k, False: 72.7k]
  ------------------
 3096|  6.62k|        ((base == 16 && (str[1] == 'x' || str[1] == 'X')) ||
  ------------------
  |  Branch (3096:11): [True: 3.56k, False: 3.06k]
  |  Branch (3096:26): [True: 2.79k, False: 766]
  |  Branch (3096:43): [True: 766, False: 0]
  ------------------
 3097|  3.06k|         (base == 8  && (str[1] == 'o' || str[1] == 'O')) ||
  ------------------
  |  Branch (3097:11): [True: 815, False: 2.25k]
  |  Branch (3097:26): [True: 163, False: 652]
  |  Branch (3097:43): [True: 652, False: 0]
  ------------------
 3098|  5.36k|         (base == 2  && (str[1] == 'b' || str[1] == 'B')))) {
  ------------------
  |  Branch (3098:11): [True: 1.09k, False: 1.15k]
  |  Branch (3098:26): [True: 373, False: 722]
  |  Branch (3098:43): [True: 618, False: 104]
  ------------------
 3099|  5.36k|        str += 2;
 3100|       |        /* One underscore allowed here. */
 3101|  5.36k|        if (*str == '_') {
  ------------------
  |  Branch (3101:13): [True: 0, False: 5.36k]
  ------------------
 3102|      0|            ++str;
 3103|      0|        }
 3104|  5.36k|    }
 3105|       |
 3106|       |    /* long_from_string_base is the main workhorse here. */
 3107|  79.4k|    int ret = long_from_string_base(&str, base, &z);
 3108|  79.4k|    if (ret == -1) {
  ------------------
  |  Branch (3108:9): [True: 0, False: 79.4k]
  ------------------
 3109|       |        /* Syntax error. */
 3110|      0|        goto onError;
 3111|      0|    }
 3112|  79.4k|    if (z == NULL) {
  ------------------
  |  Branch (3112:9): [True: 2, False: 79.4k]
  ------------------
 3113|       |        /* Error. exception already set. */
 3114|      2|        return NULL;
 3115|      2|    }
 3116|       |
 3117|  79.4k|    if (error_if_nonzero) {
  ------------------
  |  Branch (3117:9): [True: 0, False: 79.4k]
  ------------------
 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|  79.4k|    long_normalize(z);
 3130|  79.4k|    z = maybe_small_long(z);
 3131|  79.4k|    if (sign < 0) {
  ------------------
  |  Branch (3131:9): [True: 0, False: 79.4k]
  ------------------
 3132|      0|        _PyLong_Negate(&z);
 3133|      0|    }
 3134|       |
 3135|  79.4k|    if (pend != NULL) {
  ------------------
  |  Branch (3135:9): [True: 1.72k, False: 77.6k]
  ------------------
 3136|  1.72k|        *pend = (char *)str;
 3137|  1.72k|    }
 3138|  79.4k|    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|    104|{
 3165|    104|    PyObject *result, *strobj;
 3166|    104|    char *end = NULL;
 3167|       |
 3168|    104|    result = PyLong_FromString(s, &end, base);
 3169|    104|    if (end == NULL || (result != NULL && end == s + len))
  ------------------
  |  Branch (3169:9): [True: 0, False: 104]
  |  Branch (3169:25): [True: 104, False: 0]
  |  Branch (3169:43): [True: 104, False: 0]
  ------------------
 3170|    104|        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|    104|}
PyLong_FromUnicodeObject:
 3184|  1.62k|{
 3185|  1.62k|    PyObject *result, *asciidig;
 3186|  1.62k|    const char *buffer;
 3187|  1.62k|    char *end = NULL;
 3188|  1.62k|    Py_ssize_t buflen;
 3189|       |
 3190|  1.62k|    asciidig = _PyUnicode_TransformDecimalAndSpaceToASCII(u);
 3191|  1.62k|    if (asciidig == NULL)
  ------------------
  |  Branch (3191:9): [True: 0, False: 1.62k]
  ------------------
 3192|      0|        return NULL;
 3193|  1.62k|    assert(PyUnicode_IS_ASCII(asciidig));
  ------------------
  |  Branch (3193:5): [True: 1.62k, False: 0]
  ------------------
 3194|       |    /* Simply get a pointer to existing ASCII characters. */
 3195|  1.62k|    buffer = PyUnicode_AsUTF8AndSize(asciidig, &buflen);
 3196|  1.62k|    assert(buffer != NULL);
  ------------------
  |  Branch (3196:5): [True: 1.62k, False: 0]
  ------------------
 3197|       |
 3198|  1.62k|    result = PyLong_FromString(buffer, &end, base);
 3199|  1.62k|    if (end == NULL || (result != NULL && end == buffer + buflen)) {
  ------------------
  |  Branch (3199:9): [True: 0, False: 1.62k]
  |  Branch (3199:25): [True: 1.62k, False: 0]
  |  Branch (3199:43): [True: 1.62k, False: 0]
  ------------------
 3200|  1.62k|        Py_DECREF(asciidig);
  ------------------
  |  |  430|  1.62k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3201|  1.62k|        return result;
 3202|  1.62k|    }
 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|  1.62k|}
_PyLong_Frexp:
 3466|  14.3k|{
 3467|  14.3k|    Py_ssize_t a_size, shift_digits, x_size;
 3468|  14.3k|    int shift_bits;
 3469|  14.3k|    int64_t a_bits;
 3470|       |    /* See below for why x_digits is always large enough. */
 3471|  14.3k|    digit rem;
 3472|  14.3k|    digit x_digits[2 + (DBL_MANT_DIG + 1) / PyLong_SHIFT] = {0,};
 3473|  14.3k|    double dx;
 3474|       |    /* Correction term for round-half-to-even rounding.  For a digit x,
 3475|       |       "x + half_even_correction[x & 7]" gives x rounded to the nearest
 3476|       |       multiple of 4, rounding ties to a multiple of 8. */
 3477|  14.3k|    static const int half_even_correction[8] = {0, -1, -2, 1, 0, -1, 2, 1};
 3478|       |
 3479|  14.3k|    a_size = _PyLong_DigitCount(a);
 3480|  14.3k|    if (a_size == 0) {
  ------------------
  |  Branch (3480:9): [True: 0, False: 14.3k]
  ------------------
 3481|       |        /* Special case for 0: significand 0.0, exponent 0. */
 3482|      0|        *e = 0;
 3483|      0|        return 0.0;
 3484|      0|    }
 3485|  14.3k|    a_bits = _PyLong_NumBits((PyObject *)a);
 3486|       |
 3487|       |    /* Shift the first DBL_MANT_DIG + 2 bits of a into x_digits[0:x_size]
 3488|       |       (shifting left if a_bits <= DBL_MANT_DIG + 2).
 3489|       |
 3490|       |       Number of digits needed for result: write // for floor division.
 3491|       |       Then if shifting left, we end up using
 3492|       |
 3493|       |         1 + a_size + (DBL_MANT_DIG + 2 - a_bits) // PyLong_SHIFT
 3494|       |
 3495|       |       digits.  If shifting right, we use
 3496|       |
 3497|       |         a_size - (a_bits - DBL_MANT_DIG - 2) // PyLong_SHIFT
 3498|       |
 3499|       |       digits.  Using a_size = 1 + (a_bits - 1) // PyLong_SHIFT along with
 3500|       |       the inequalities
 3501|       |
 3502|       |         m // PyLong_SHIFT + n // PyLong_SHIFT <= (m + n) // PyLong_SHIFT
 3503|       |         m // PyLong_SHIFT - n // PyLong_SHIFT <=
 3504|       |                                          1 + (m - n - 1) // PyLong_SHIFT,
 3505|       |
 3506|       |       valid for any integers m and n, we find that x_size satisfies
 3507|       |
 3508|       |         x_size <= 2 + (DBL_MANT_DIG + 1) // PyLong_SHIFT
 3509|       |
 3510|       |       in both cases.
 3511|       |    */
 3512|  14.3k|    if (a_bits <= DBL_MANT_DIG + 2) {
  ------------------
  |  Branch (3512:9): [True: 8.33k, False: 6.04k]
  ------------------
 3513|  8.33k|        shift_digits = (DBL_MANT_DIG + 2 - (Py_ssize_t)a_bits) / PyLong_SHIFT;
  ------------------
  |  |   47|  8.33k|#define PyLong_SHIFT    30
  ------------------
 3514|  8.33k|        shift_bits = (DBL_MANT_DIG + 2 - (int)a_bits) % PyLong_SHIFT;
  ------------------
  |  |   47|  8.33k|#define PyLong_SHIFT    30
  ------------------
 3515|  8.33k|        x_size = shift_digits;
 3516|  8.33k|        rem = v_lshift(x_digits + x_size, a->long_value.ob_digit, a_size,
 3517|  8.33k|                       shift_bits);
 3518|  8.33k|        x_size += a_size;
 3519|  8.33k|        x_digits[x_size++] = rem;
 3520|  8.33k|    }
 3521|  6.04k|    else {
 3522|  6.04k|        shift_digits = (Py_ssize_t)((a_bits - DBL_MANT_DIG - 2) / PyLong_SHIFT);
  ------------------
  |  |   47|  6.04k|#define PyLong_SHIFT    30
  ------------------
 3523|  6.04k|        shift_bits = (int)((a_bits - DBL_MANT_DIG - 2) % PyLong_SHIFT);
  ------------------
  |  |   47|  6.04k|#define PyLong_SHIFT    30
  ------------------
 3524|  6.04k|        rem = v_rshift(x_digits, a->long_value.ob_digit + shift_digits,
 3525|  6.04k|                       a_size - shift_digits, shift_bits);
 3526|  6.04k|        x_size = a_size - shift_digits;
 3527|       |        /* For correct rounding below, we need the least significant
 3528|       |           bit of x to be 'sticky' for this shift: if any of the bits
 3529|       |           shifted out was nonzero, we set the least significant bit
 3530|       |           of x. */
 3531|  6.04k|        if (rem)
  ------------------
  |  Branch (3531:13): [True: 4.35k, False: 1.69k]
  ------------------
 3532|  4.35k|            x_digits[0] |= 1;
 3533|  1.69k|        else
 3534|  2.95k|            while (shift_digits > 0)
  ------------------
  |  Branch (3534:20): [True: 1.84k, False: 1.10k]
  ------------------
 3535|  1.84k|                if (a->long_value.ob_digit[--shift_digits]) {
  ------------------
  |  Branch (3535:21): [True: 587, False: 1.25k]
  ------------------
 3536|    587|                    x_digits[0] |= 1;
 3537|    587|                    break;
 3538|    587|                }
 3539|  6.04k|    }
 3540|  14.3k|    assert(1 <= x_size && x_size <= (Py_ssize_t)Py_ARRAY_LENGTH(x_digits));
  ------------------
  |  Branch (3540:5): [True: 14.3k, False: 0]
  |  Branch (3540:5): [True: 14.3k, False: 0]
  ------------------
 3541|       |
 3542|       |    /* Round, and convert to double. */
 3543|  14.3k|    x_digits[0] += half_even_correction[x_digits[0] & 7];
 3544|  14.3k|    dx = x_digits[--x_size];
 3545|  41.0k|    while (x_size > 0)
  ------------------
  |  Branch (3545:12): [True: 26.6k, False: 14.3k]
  ------------------
 3546|  26.6k|        dx = dx * PyLong_BASE + x_digits[--x_size];
  ------------------
  |  |   61|  26.6k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  26.6k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
 3547|       |
 3548|       |    /* Rescale;  make correction if result is 1.0. */
 3549|  14.3k|    dx /= 4.0 * EXP2_DBL_MANT_DIG;
  ------------------
  |  | 3459|  14.3k|#define EXP2_DBL_MANT_DIG 9007199254740992.0
  ------------------
 3550|  14.3k|    if (dx == 1.0) {
  ------------------
  |  Branch (3550:9): [True: 169, False: 14.2k]
  ------------------
 3551|    169|        assert(a_bits < INT64_MAX);
  ------------------
  |  Branch (3551:9): [True: 169, False: 0]
  ------------------
 3552|    169|        dx = 0.5;
 3553|    169|        a_bits += 1;
 3554|    169|    }
 3555|       |
 3556|  14.3k|    *e = a_bits;
 3557|  14.3k|    return _PyLong_IsNegative(a) ? -dx : dx;
  ------------------
  |  Branch (3557:12): [True: 2.32k, False: 12.0k]
  ------------------
 3558|  14.3k|}
PyLong_AsDouble:
 3565|   173k|{
 3566|   173k|    int64_t exponent;
 3567|   173k|    double x;
 3568|       |
 3569|   173k|    if (v == NULL) {
  ------------------
  |  Branch (3569:9): [True: 0, False: 173k]
  ------------------
 3570|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3571|      0|        return -1.0;
 3572|      0|    }
 3573|   173k|    if (!PyLong_Check(v)) {
  ------------------
  |  |   13|   173k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   173k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3573:9): [True: 0, False: 173k]
  ------------------
 3574|      0|        PyErr_SetString(PyExc_TypeError, "an integer is required");
 3575|      0|        return -1.0;
 3576|      0|    }
 3577|   173k|    if (_PyLong_IsCompact((PyLongObject *)v)) {
  ------------------
  |  Branch (3577:9): [True: 159k, False: 14.3k]
  ------------------
 3578|       |        /* Fast path; single digit long (31 bits) will cast safely
 3579|       |           to double.  This improves performance of FP/long operations
 3580|       |           by 20%.
 3581|       |        */
 3582|   159k|        return (double)medium_value((PyLongObject *)v);
  ------------------
  |  |   27|   159k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3583|   159k|    }
 3584|  14.3k|    x = _PyLong_Frexp((PyLongObject *)v, &exponent);
 3585|  14.3k|    assert(exponent >= 0);
  ------------------
  |  Branch (3585:5): [True: 14.3k, False: 0]
  ------------------
 3586|  14.3k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (3586:5): [True: 14.3k, False: 0]
  ------------------
 3587|  14.3k|    if (exponent > DBL_MAX_EXP) {
  ------------------
  |  Branch (3587:9): [True: 263, False: 14.1k]
  ------------------
 3588|    263|        PyErr_SetString(PyExc_OverflowError,
 3589|    263|                        "int too large to convert to float");
 3590|    263|        return -1.0;
 3591|    263|    }
 3592|  14.1k|    return ldexp(x, (int)exponent);
 3593|  14.3k|}
_PyLong_ExactDealloc:
 3636|  8.63M|{
 3637|  8.63M|    assert(PyLong_CheckExact(self));
  ------------------
  |  Branch (3637:5): [True: 8.63M, False: 0]
  ------------------
 3638|  8.63M|    if (_PyLong_IsSmallInt((PyLongObject *)self)) {
  ------------------
  |  Branch (3638:9): [True: 0, False: 8.63M]
  ------------------
 3639|       |        // See PEP 683, section Accidental De-Immortalizing for details
 3640|      0|        _Py_SetImmortal(self);
 3641|      0|        return;
 3642|      0|    }
 3643|  8.63M|    if (_PyLong_IsCompact((PyLongObject *)self)) {
  ------------------
  |  Branch (3643:9): [True: 8.48M, False: 153k]
  ------------------
 3644|  8.48M|        _Py_FREELIST_FREE(ints, self, PyObject_Free);
  ------------------
  |  |   35|  8.48M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  8.48M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.48M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  8.48M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   20|  8.48M|#  define Py_ints_MAXFREELIST 100
  |  |  ------------------
  ------------------
 3645|  8.48M|        return;
 3646|  8.48M|    }
 3647|   153k|    PyObject_Free(self);
 3648|   153k|}
_PyCompactLong_Add:
 3868|  31.1M|{
 3869|  31.1M|    assert(_PyLong_BothAreCompact(a, b));
  ------------------
  |  Branch (3869:5): [True: 31.1M, False: 0]
  ------------------
 3870|  31.1M|    stwodigits v = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|  31.1M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                  stwodigits v = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|  31.1M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3871|  31.1M|    return medium_from_stwodigits(v);
 3872|  31.1M|}
_PyCompactLong_Subtract:
 3913|  2.02M|{
 3914|  2.02M|    assert(_PyLong_BothAreCompact(a, b));
  ------------------
  |  Branch (3914:5): [True: 2.02M, False: 0]
  ------------------
 3915|  2.02M|    stwodigits v = medium_value(a) - medium_value(b);
  ------------------
  |  |   27|  2.02M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                  stwodigits v = medium_value(a) - medium_value(b);
  ------------------
  |  |   27|  2.02M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3916|  2.02M|    return medium_from_stwodigits(v);
 3917|  2.02M|}
_PyCompactLong_Multiply:
 4360|  1.53M|{
 4361|  1.53M|    assert(_PyLong_BothAreCompact(a, b));
  ------------------
  |  Branch (4361:5): [True: 1.53M, False: 0]
  ------------------
 4362|  1.53M|    stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|  1.53M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                  stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|  1.53M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 4363|  1.53M|    return medium_from_stwodigits(v);
 4364|  1.53M|}
_PyLong_Rshift:
 5428|  10.2k|{
 5429|  10.2k|    Py_ssize_t wordshift;
 5430|  10.2k|    digit remshift;
 5431|       |
 5432|  10.2k|    assert(PyLong_Check(a));
  ------------------
  |  Branch (5432:5): [True: 10.2k, False: 0]
  ------------------
 5433|  10.2k|    assert(shiftby >= 0);
  ------------------
  |  Branch (5433:5): [True: 10.2k, False: 0]
  ------------------
 5434|  10.2k|    if (_PyLong_IsZero((PyLongObject *)a)) {
  ------------------
  |  Branch (5434:9): [True: 0, False: 10.2k]
  ------------------
 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|  10.2k|    wordshift = (Py_ssize_t)(shiftby / PyLong_SHIFT);
  ------------------
  |  |   47|  10.2k|#define PyLong_SHIFT    30
  ------------------
 5448|  10.2k|    remshift = (digit)(shiftby % PyLong_SHIFT);
  ------------------
  |  |   47|  10.2k|#define PyLong_SHIFT    30
  ------------------
 5449|  10.2k|    return long_rshift1((PyLongObject *)a, wordshift, remshift);
 5450|  10.2k|}
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|    206|{
 6795|       |    PYLONG_FROM_INT(uint64_t, int64_t, value);
  ------------------
  |  |  371|    206|    do {                                                                            \
  |  |  372|    206|        /* Handle small and medium cases. */                                        \
  |  |  373|    206|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|    206|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|    206|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|    206|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|    206|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 206, False: 0]
  |  |  |  |  |  |  |  Branch (68:37): [True: 7, False: 199]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|      7|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|      7|        }                                                                           \
  |  |  376|    206|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|    199|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|    199|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    199|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|    199|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|    199|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    199|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 199, False: 0]
  |  |  |  Branch (376:49): [True: 199, False: 0]
  |  |  ------------------
  |  |  377|    199|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|    199|        }                                                                           \
  |  |  379|    199|        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|    206|}
PyLong_AsInt64:
 6825|  22.7k|{
 6826|  22.7k|    LONG_TO_INT(obj, value, "C int64_t");
  ------------------
  |  | 6804|  22.7k|    do { \
  |  | 6805|  22.7k|        int flags = (Py_ASNATIVEBYTES_NATIVE_ENDIAN \
  |  |  ------------------
  |  |  |  |   47|  22.7k|#define Py_ASNATIVEBYTES_NATIVE_ENDIAN 3
  |  |  ------------------
  |  | 6806|  22.7k|                     | Py_ASNATIVEBYTES_ALLOW_INDEX); \
  |  |  ------------------
  |  |  |  |   50|  22.7k|#define Py_ASNATIVEBYTES_ALLOW_INDEX 16
  |  |  ------------------
  |  | 6807|  22.7k|        Py_ssize_t bytes = PyLong_AsNativeBytes(obj, value, sizeof(*value), flags); \
  |  | 6808|  22.7k|        if (bytes < 0) { \
  |  |  ------------------
  |  |  |  Branch (6808:13): [True: 0, False: 22.7k]
  |  |  ------------------
  |  | 6809|      0|            return -1; \
  |  | 6810|      0|        } \
  |  | 6811|  22.7k|        if ((size_t)bytes > sizeof(*value)) { \
  |  |  ------------------
  |  |  |  Branch (6811:13): [True: 4.70k, False: 18.0k]
  |  |  ------------------
  |  | 6812|  4.70k|            PyErr_SetString(PyExc_OverflowError, \
  |  | 6813|  4.70k|                            "Python int too large to convert to " type_name); \
  |  | 6814|  4.70k|            return -1; \
  |  | 6815|  4.70k|        } \
  |  | 6816|  22.7k|        return 0; \
  |  | 6817|  22.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6817:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6827|  22.7k|}
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|   871k|{
  161|   871k|    assert(size >= 0);
  ------------------
  |  Branch (161:5): [True: 871k, False: 0]
  ------------------
  162|   871k|    PyLongObject *result = NULL;
  163|   871k|    if (size > (Py_ssize_t)MAX_LONG_DIGITS) {
  ------------------
  |  |  155|   871k|# define MAX_LONG_DIGITS ((INT64_MAX-1) / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|   871k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (163:9): [True: 0, False: 871k]
  ------------------
  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|   871k|    Py_ssize_t ndigits = size ? size : 1;
  ------------------
  |  Branch (170:26): [True: 870k, False: 1.37k]
  ------------------
  171|       |
  172|   871k|    if (ndigits == 1) {
  ------------------
  |  Branch (172:9): [True: 12.1k, False: 859k]
  ------------------
  173|  12.1k|        result = (PyLongObject *)_Py_FREELIST_POP(PyLongObject, ints);
  ------------------
  |  |   43|  12.1k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  174|  12.1k|    }
  175|   871k|    if (result == NULL) {
  ------------------
  |  Branch (175:9): [True: 860k, False: 11.9k]
  ------------------
  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|   860k|        result = PyObject_Malloc(offsetof(PyLongObject, long_value.ob_digit) +
  182|   860k|                                ndigits*sizeof(digit));
  183|   860k|        if (!result) {
  ------------------
  |  Branch (183:13): [True: 0, False: 860k]
  ------------------
  184|      0|            PyErr_NoMemory();
  185|      0|            return NULL;
  186|      0|        }
  187|   860k|        _PyObject_Init((PyObject*)result, &PyLong_Type);
  188|   860k|        _PyLong_InitTag(result);
  189|   860k|    }
  190|   871k|    _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|   871k|    return result;
  197|   871k|}
longobject.c:get_small_int:
   62|  47.7M|{
   63|  47.7M|    assert(IS_SMALL_INT(ival));
  ------------------
  |  Branch (63:5): [True: 47.7M, False: 0]
  |  Branch (63:5): [True: 47.7M, False: 0]
  ------------------
   64|  47.7M|    return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + ival];
  ------------------
  |  |   59|  47.7M|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  47.7M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  47.7M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + ival];
  ------------------
  |  |   98|  47.7M|#define _PY_NSMALLNEGINTS           5
  ------------------
   65|  47.7M|}
longobject.c:_PyLong_FromMedium:
  252|  11.3M|{
  253|  11.3M|    assert(!IS_SMALL_INT(x));
  ------------------
  |  Branch (253:5): [True: 11.2M, False: 56.5k]
  |  Branch (253:5): [True: 0, False: 11.2M]
  ------------------
  254|  11.3M|    assert(is_medium_int(x));
  ------------------
  |  Branch (254:5): [True: 11.3M, False: 0]
  ------------------
  255|       |
  256|  11.3M|    PyLongObject *v = (PyLongObject *)_Py_FREELIST_POP(PyLongObject, ints);
  ------------------
  |  |   43|  11.3M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  11.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  257|  11.3M|    if (v == NULL) {
  ------------------
  |  Branch (257:9): [True: 645k, False: 10.6M]
  ------------------
  258|   645k|        v = PyObject_Malloc(sizeof(PyLongObject));
  259|   645k|        if (v == NULL) {
  ------------------
  |  Branch (259:13): [True: 0, False: 645k]
  ------------------
  260|      0|            PyErr_NoMemory();
  261|      0|            return NULL;
  262|      0|        }
  263|   645k|        _PyObject_Init((PyObject*)v, &PyLong_Type);
  264|   645k|        _PyLong_InitTag(v);
  265|   645k|    }
  266|  11.3M|    digit abs_x = x < 0 ? -x : x;
  ------------------
  |  Branch (266:19): [True: 56.5k, False: 11.2M]
  ------------------
  267|  11.3M|    _PyLong_SetSignAndDigitCount(v, x<0?-1:1, 1);
  ------------------
  |  Branch (267:37): [True: 56.5k, False: 11.2M]
  ------------------
  268|  11.3M|    v->long_value.ob_digit[0] = abs_x;
  269|  11.3M|    return (PyObject*)v;
  270|  11.3M|}
longobject.c:is_medium_int:
   54|  13.0M|{
   55|       |    /* Take care that we are comparing unsigned values. */
   56|  13.0M|    twodigits x_plus_mask = ((twodigits)x) + PyLong_MASK;
  ------------------
  |  |   62|  13.0M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  13.0M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  13.0M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|  13.0M|    return x_plus_mask < ((twodigits)PyLong_MASK) + PyLong_BASE;
  ------------------
  |  |   62|  13.0M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  13.0M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  13.0M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return x_plus_mask < ((twodigits)PyLong_MASK) + PyLong_BASE;
  ------------------
  |  |   61|  13.0M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  13.0M|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
   58|  13.0M|}
longobject.c:unroll_digits_ulong:
  537|   477k|{
  538|   477k|    assert(ULONG_MAX >= ((1UL << PyLong_SHIFT) - 1));
  ------------------
  |  Branch (538:5): [True: 477k, Folded]
  ------------------
  539|       |
  540|   477k|    Py_ssize_t i = *iptr;
  541|   477k|    assert(i >= 2);
  ------------------
  |  Branch (541:5): [True: 477k, False: 0]
  ------------------
  542|       |
  543|       |    /* unroll 1 digit */
  544|   477k|    --i;
  545|   477k|    digit *digits = v->long_value.ob_digit;
  546|   477k|    unsigned long x = digits[i];
  547|       |
  548|   477k|#if (ULONG_MAX >> PyLong_SHIFT) >= ((1UL << PyLong_SHIFT) - 1)
  549|       |    /* unroll another digit */
  550|   477k|    x <<= PyLong_SHIFT;
  ------------------
  |  |   47|   477k|#define PyLong_SHIFT    30
  ------------------
  551|   477k|    --i;
  552|   477k|    x |= digits[i];
  553|   477k|#endif
  554|       |
  555|   477k|    *iptr = i;
  556|   477k|    return x;
  557|   477k|}
longobject.c:unroll_digits_size_t:
  561|  6.51k|{
  562|  6.51k|    assert(SIZE_MAX >= ((1UL << PyLong_SHIFT) - 1));
  ------------------
  |  Branch (562:5): [True: 6.51k, Folded]
  ------------------
  563|       |
  564|  6.51k|    Py_ssize_t i = *iptr;
  565|  6.51k|    assert(i >= 2);
  ------------------
  |  Branch (565:5): [True: 6.51k, False: 0]
  ------------------
  566|       |
  567|       |    /* unroll 1 digit */
  568|  6.51k|    --i;
  569|  6.51k|    digit *digits = v->long_value.ob_digit;
  570|  6.51k|    size_t x = digits[i];
  571|       |
  572|  6.51k|#if (SIZE_MAX >> PyLong_SHIFT) >= ((1 << PyLong_SHIFT) - 1)
  573|       |    /* unroll another digit */
  574|  6.51k|    x <<= PyLong_SHIFT;
  ------------------
  |  |   47|  6.51k|#define PyLong_SHIFT    30
  ------------------
  575|  6.51k|    --i;
  576|  6.51k|    x |= digits[i];
  577|  6.51k|#endif
  578|       |
  579|  6.51k|    *iptr = i;
  580|  6.51k|    return x;
  581|  6.51k|}
longobject.c:long_sign:
  936|  1.30k|{
  937|  1.30k|    assert(vv != NULL);
  ------------------
  |  Branch (937:5): [True: 1.30k, False: 0]
  ------------------
  938|  1.30k|    assert(PyLong_Check(vv));
  ------------------
  |  Branch (938:5): [True: 1.30k, False: 0]
  ------------------
  939|  1.30k|    PyLongObject *v = (PyLongObject *)vv;
  940|       |
  941|  1.30k|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (941:9): [True: 891, False: 409]
  ------------------
  942|    891|        return _PyLong_CompactSign(v);
  943|    891|    }
  944|    409|    return _PyLong_NonCompactSign(v);
  945|  1.30k|}
longobject.c:bit_length_digit:
  967|   245k|{
  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|   245k|                  "digit is larger than unsigned long");
  972|   245k|    return _Py_bit_length((unsigned long)x);
  973|   245k|}
longobject.c:maybe_small_long:
   69|   134k|{
   70|   134k|    if (v && _PyLong_IsCompact(v)) {
  ------------------
  |  Branch (70:9): [True: 134k, False: 0]
  |  Branch (70:14): [True: 10.1k, False: 123k]
  ------------------
   71|  10.1k|        stwodigits ival = medium_value(v);
  ------------------
  |  |   27|  10.1k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
   72|  10.1k|        if (IS_SMALL_INT(ival)) {
  ------------------
  |  |   29|  10.1k|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|  10.1k|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  10.1k|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|  6.90k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 6.90k, False: 3.27k]
  |  |  |  |  |  Branch (68:37): [True: 4.14k, False: 2.75k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   73|  4.14k|            _Py_DECREF_INT(v);
   74|  4.14k|            return (PyLongObject *)get_small_int((sdigit)ival);
   75|  4.14k|        }
   76|  10.1k|    }
   77|   129k|    return v;
   78|   134k|}
longobject.c:_Py_DECREF_INT:
   47|   160k|{
   48|   160k|    assert(PyLong_CheckExact(op));
  ------------------
  |  Branch (48:5): [True: 160k, False: 0]
  ------------------
   49|   160k|    _Py_DECREF_SPECIALIZED((PyObject *)op, _PyLong_ExactDealloc);
   50|   160k|}
longobject.c:long_normalize:
  127|   388k|{
  128|   388k|    Py_ssize_t j = _PyLong_DigitCount(v);
  129|   388k|    Py_ssize_t i = j;
  130|       |
  131|   576k|    while (i > 0 && v->long_value.ob_digit[i-1] == 0)
  ------------------
  |  Branch (131:12): [True: 571k, False: 4.87k]
  |  Branch (131:21): [True: 187k, False: 384k]
  ------------------
  132|   187k|        --i;
  133|   388k|    if (i != j) {
  ------------------
  |  Branch (133:9): [True: 155k, False: 233k]
  ------------------
  134|   155k|        if (i == 0) {
  ------------------
  |  Branch (134:13): [True: 3.04k, False: 152k]
  ------------------
  135|  3.04k|            _PyLong_SetSignAndDigitCount(v, 0, 0);
  136|  3.04k|        }
  137|   152k|        else {
  138|   152k|            _PyLong_SetDigitCount(v, i);
  139|   152k|        }
  140|   155k|    }
  141|   388k|    return v;
  142|   388k|}
longobject.c:_resolve_endianness:
 1271|  22.7k|{
 1272|  22.7k|    if (*endianness == -1 || (*endianness & 2)) {
  ------------------
  |  Branch (1272:9): [True: 0, False: 22.7k]
  |  Branch (1272:30): [True: 22.7k, False: 0]
  ------------------
 1273|  22.7k|        *endianness = PY_LITTLE_ENDIAN;
  ------------------
  |  |  454|  22.7k|#  define PY_LITTLE_ENDIAN 1
  ------------------
 1274|  22.7k|    } else {
 1275|      0|        *endianness &= 1;
 1276|      0|    }
 1277|  22.7k|    assert(*endianness == 0 || *endianness == 1);
  ------------------
  |  Branch (1277:5): [True: 0, False: 22.7k]
  |  Branch (1277:5): [True: 22.7k, False: 0]
  ------------------
 1278|  22.7k|    return 0;
 1279|  22.7k|}
longobject.c:_fits_in_n_bits:
 1259|  16.5k|{
 1260|  16.5k|    if (n >= (Py_ssize_t)sizeof(Py_ssize_t) * 8) {
  ------------------
  |  Branch (1260:9): [True: 16.5k, False: 0]
  ------------------
 1261|  16.5k|        return 1;
 1262|  16.5k|    }
 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|  16.5k|}
longobject.c:long_to_decimal_string_internal:
 2101|   102k|{
 2102|   102k|    PyLongObject *scratch, *a;
 2103|   102k|    PyObject *str = NULL;
 2104|   102k|    Py_ssize_t size, strlen, size_a, i, j;
 2105|   102k|    digit *pout, *pin, rem, tenpow;
 2106|   102k|    int negative;
 2107|   102k|    int d;
 2108|       |
 2109|       |    // writer or bytes_writer can be used, but not both at the same time.
 2110|   102k|    assert(writer == NULL || bytes_writer == NULL);
  ------------------
  |  Branch (2110:5): [True: 102k, False: 0]
  |  Branch (2110:5): [True: 0, False: 0]
  ------------------
 2111|       |
 2112|   102k|    a = (PyLongObject *)aa;
 2113|   102k|    if (a == NULL || !PyLong_Check(a)) {
  ------------------
  |  |   13|   102k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   102k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2113:9): [True: 0, False: 102k]
  |  Branch (2113:22): [True: 0, False: 102k]
  ------------------
 2114|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2115|      0|        return -1;
 2116|      0|    }
 2117|   102k|    size_a = _PyLong_DigitCount(a);
 2118|   102k|    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|   102k|    if (size_a >= 10 * _PY_LONG_MAX_STR_DIGITS_THRESHOLD
  ------------------
  |  |   42|   102k|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (2125:9): [True: 29, False: 102k]
  ------------------
 2126|   102k|                  / (3 * PyLong_SHIFT) + 2) {
  ------------------
  |  |   47|   102k|#define PyLong_SHIFT    30
  ------------------
 2127|     29|        PyInterpreterState *interp = _PyInterpreterState_GET();
 2128|     29|        int max_str_digits = _Py_atomic_load_int(&interp->long_state.max_str_digits);
 2129|     29|        if ((max_str_digits > 0) &&
  ------------------
  |  Branch (2129:13): [True: 29, False: 0]
  ------------------
 2130|     29|            (max_str_digits / (3 * PyLong_SHIFT) <= (size_a - 11) / 10)) {
  ------------------
  |  |   47|     29|#define PyLong_SHIFT    30
  ------------------
  |  Branch (2130:13): [True: 0, False: 29]
  ------------------
 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|     29|    }
 2136|       |
 2137|   102k|#if WITH_PYLONG_MODULE
 2138|   102k|    if (size_a > 1000) {
  ------------------
  |  Branch (2138:9): [True: 0, False: 102k]
  ------------------
 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|   102k|#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|   102k|    d = (33 * _PyLong_DECIMAL_SHIFT) /
  ------------------
  |  |   48|   102k|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  ------------------
 2163|   102k|        (10 * PyLong_SHIFT - 33 * _PyLong_DECIMAL_SHIFT);
  ------------------
  |  |   47|   102k|#define PyLong_SHIFT    30
  ------------------
                      (10 * PyLong_SHIFT - 33 * _PyLong_DECIMAL_SHIFT);
  ------------------
  |  |   48|   102k|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  ------------------
 2164|   102k|    assert(size_a < PY_SSIZE_T_MAX/2);
  ------------------
  |  Branch (2164:5): [True: 102k, False: 0]
  ------------------
 2165|   102k|    size = 1 + size_a + size_a / d;
 2166|   102k|    scratch = long_alloc(size);
 2167|   102k|    if (scratch == NULL)
  ------------------
  |  Branch (2167:9): [True: 0, False: 102k]
  ------------------
 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|   102k|    pin = a->long_value.ob_digit;
 2174|   102k|    pout = scratch->long_value.ob_digit;
 2175|   102k|    size = 0;
 2176|   213k|    for (i = size_a; --i >= 0; ) {
  ------------------
  |  Branch (2176:22): [True: 111k, False: 102k]
  ------------------
 2177|   111k|        digit hi = pin[i];
 2178|   250k|        for (j = 0; j < size; j++) {
  ------------------
  |  Branch (2178:21): [True: 139k, False: 111k]
  ------------------
 2179|   139k|            twodigits z = (twodigits)pout[j] << PyLong_SHIFT | hi;
  ------------------
  |  |   47|   139k|#define PyLong_SHIFT    30
  ------------------
 2180|   139k|            hi = (digit)(z / _PyLong_DECIMAL_BASE);
  ------------------
  |  |   49|   139k|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2181|   139k|            pout[j] = (digit)(z - (twodigits)hi *
 2182|   139k|                              _PyLong_DECIMAL_BASE);
  ------------------
  |  |   49|   139k|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2183|   139k|        }
 2184|   222k|        while (hi) {
  ------------------
  |  Branch (2184:16): [True: 111k, False: 111k]
  ------------------
 2185|   111k|            pout[size++] = hi % _PyLong_DECIMAL_BASE;
  ------------------
  |  |   49|   111k|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2186|   111k|            hi /= _PyLong_DECIMAL_BASE;
  ------------------
  |  |   49|   111k|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2187|   111k|        }
 2188|       |        /* check for keyboard interrupt */
 2189|   111k|        SIGCHECK({
  ------------------
  |  |  117|   111k|    do {                                        \
  |  |  118|   111k|        if (PyErr_CheckSignals()) PyTryBlock    \
  |  |  ------------------
  |  |  |  Branch (118:13): [True: 0, False: 111k]
  |  |  ------------------
  |  |  119|   111k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (119:13): [Folded, False: 111k]
  |  |  ------------------
  ------------------
 2190|   111k|                Py_DECREF(scratch);
 2191|   111k|                return -1;
 2192|   111k|            });
 2193|   111k|    }
 2194|       |    /* pout should have at least one digit, so that the case when a = 0
 2195|       |       works correctly */
 2196|   102k|    if (size == 0)
  ------------------
  |  Branch (2196:9): [True: 2.51k, False: 100k]
  ------------------
 2197|  2.51k|        pout[size++] = 0;
 2198|       |
 2199|       |    /* calculate exact length of output string, and allocate */
 2200|   102k|    strlen = negative + 1 + (size - 1) * _PyLong_DECIMAL_SHIFT;
  ------------------
  |  |   48|   102k|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  ------------------
 2201|   102k|    tenpow = 10;
 2202|   102k|    rem = pout[size-1];
 2203|   190k|    while (rem >= tenpow) {
  ------------------
  |  Branch (2203:12): [True: 87.6k, False: 102k]
  ------------------
 2204|  87.6k|        tenpow *= 10;
 2205|  87.6k|        strlen++;
 2206|  87.6k|    }
 2207|   102k|    if (strlen > _PY_LONG_MAX_STR_DIGITS_THRESHOLD) {
  ------------------
  |  |   42|   102k|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (2207:9): [True: 30, False: 102k]
  ------------------
 2208|     30|        PyInterpreterState *interp = _PyInterpreterState_GET();
 2209|     30|        int max_str_digits = _Py_atomic_load_int(&interp->long_state.max_str_digits);
 2210|     30|        Py_ssize_t strlen_nosign = strlen - negative;
 2211|     30|        if ((max_str_digits > 0) && (strlen_nosign > max_str_digits)) {
  ------------------
  |  Branch (2211:13): [True: 30, False: 0]
  |  Branch (2211:37): [True: 0, False: 30]
  ------------------
 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|     30|    }
 2218|   102k|    if (writer) {
  ------------------
  |  Branch (2218:9): [True: 0, False: 102k]
  ------------------
 2219|      0|        if (_PyUnicodeWriter_Prepare(writer, strlen, '9') == -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 (2219:13): [True: 0, False: 0]
  ------------------
 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|      0|    }
 2224|   102k|    else if (bytes_writer) {
  ------------------
  |  Branch (2224:14): [True: 0, False: 102k]
  ------------------
 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|   102k|    else {
 2233|   102k|        str = PyUnicode_New(strlen, '9');
 2234|   102k|        if (str == NULL) {
  ------------------
  |  Branch (2234:13): [True: 0, False: 102k]
  ------------------
 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|   102k|    }
 2239|       |
 2240|   102k|#define WRITE_DIGITS(p)                                               \
 2241|   102k|    do {                                                              \
 2242|       |        /* pout[0] through pout[size-2] contribute exactly            \
 2243|       |           _PyLong_DECIMAL_SHIFT digits each */                       \
 2244|   102k|        for (i=0; i < size - 1; i++) {                                \
 2245|   102k|            rem = pout[i];                                            \
 2246|   102k|            for (j = 0; j < _PyLong_DECIMAL_SHIFT; j++) {             \
 2247|   102k|                *--p = '0' + rem % 10;                                \
 2248|   102k|                rem /= 10;                                            \
 2249|   102k|            }                                                         \
 2250|   102k|        }                                                             \
 2251|       |        /* pout[size-1]: always produce at least one decimal digit */ \
 2252|   102k|        rem = pout[i];                                                \
 2253|   102k|        do {                                                          \
 2254|   102k|            *--p = '0' + rem % 10;                                    \
 2255|   102k|            rem /= 10;                                                \
 2256|   102k|        } while (rem != 0);                                           \
 2257|   102k|                                                                      \
 2258|       |        /* and sign */                                                \
 2259|   102k|        if (negative)                                                 \
 2260|   102k|            *--p = '-';                                               \
 2261|   102k|    } while (0)
 2262|       |
 2263|   102k|#define WRITE_UNICODE_DIGITS(TYPE)                                    \
 2264|   102k|    do {                                                              \
 2265|   102k|        if (writer)                                                   \
 2266|   102k|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
 2267|   102k|        else                                                          \
 2268|   102k|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
 2269|   102k|                                                                      \
 2270|   102k|        WRITE_DIGITS(p);                                              \
 2271|   102k|                                                                      \
 2272|       |        /* check we've counted correctly */                           \
 2273|   102k|        if (writer)                                                   \
 2274|   102k|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
 2275|   102k|        else                                                          \
 2276|   102k|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
 2277|   102k|    } while (0)
 2278|       |
 2279|       |    /* fill the string right-to-left */
 2280|   102k|    if (bytes_writer) {
  ------------------
  |  Branch (2280:9): [True: 0, False: 102k]
  ------------------
 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|   102k|    else {
 2286|   102k|        int kind = writer ? writer->kind : PyUnicode_KIND(str);
  ------------------
  |  |  258|   102k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   205k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 102k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2286:20): [True: 0, False: 102k]
  ------------------
 2287|   102k|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (2287:13): [True: 102k, False: 0]
  ------------------
 2288|   102k|            Py_UCS1 *p;
 2289|   102k|            WRITE_UNICODE_DIGITS(Py_UCS1);
  ------------------
  |  | 2264|   102k|    do {                                                              \
  |  | 2265|   102k|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2265:13): [True: 0, False: 102k]
  |  |  ------------------
  |  | 2266|   102k|            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|   102k|        else                                                          \
  |  | 2268|   102k|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
  |  |  ------------------
  |  |  |  |  284|   102k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   102k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   102k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2269|   102k|                                                                      \
  |  | 2270|   102k|        WRITE_DIGITS(p);                                              \
  |  |  ------------------
  |  |  |  | 2241|   102k|    do {                                                              \
  |  |  |  | 2242|   102k|        /* pout[0] through pout[size-2] contribute exactly            \
  |  |  |  | 2243|   102k|           _PyLong_DECIMAL_SHIFT digits each */                       \
  |  |  |  | 2244|   113k|        for (i=0; i < size - 1; i++) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2244:19): [True: 11.0k, False: 102k]
  |  |  |  |  ------------------
  |  |  |  | 2245|  11.0k|            rem = pout[i];                                            \
  |  |  |  | 2246|   110k|            for (j = 0; j < _PyLong_DECIMAL_SHIFT; j++) {             \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|   110k|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2246:25): [True: 99.4k, False: 11.0k]
  |  |  |  |  ------------------
  |  |  |  | 2247|  99.4k|                *--p = '0' + rem % 10;                                \
  |  |  |  | 2248|  99.4k|                rem /= 10;                                            \
  |  |  |  | 2249|  99.4k|            }                                                         \
  |  |  |  | 2250|  11.0k|        }                                                             \
  |  |  |  | 2251|   102k|        /* pout[size-1]: always produce at least one decimal digit */ \
  |  |  |  | 2252|   102k|        rem = pout[i];                                                \
  |  |  |  | 2253|   190k|        do {                                                          \
  |  |  |  | 2254|   190k|            *--p = '0' + rem % 10;                                    \
  |  |  |  | 2255|   190k|            rem /= 10;                                                \
  |  |  |  | 2256|   190k|        } while (rem != 0);                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2256:18): [True: 87.6k, False: 102k]
  |  |  |  |  ------------------
  |  |  |  | 2257|   102k|                                                                      \
  |  |  |  | 2258|   102k|        /* and sign */                                                \
  |  |  |  | 2259|   102k|        if (negative)                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2259:13): [True: 0, False: 102k]
  |  |  |  |  ------------------
  |  |  |  | 2260|   102k|            *--p = '-';                                               \
  |  |  |  | 2261|   102k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2261:14): [Folded, False: 102k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2271|   102k|                                                                      \
  |  | 2272|   102k|        /* check we've counted correctly */                           \
  |  | 2273|   102k|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2273:13): [True: 0, False: 102k]
  |  |  ------------------
  |  | 2274|   102k|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2275|   102k|        else                                                          \
  |  | 2276|   102k|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
  |  | 2277|   102k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2277:14): [Folded, False: 102k]
  |  |  ------------------
  ------------------
  |  Branch (2289:13): [True: 0, False: 0]
  |  Branch (2289:13): [True: 102k, False: 0]
  ------------------
 2290|   102k|        }
 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|   102k|    }
 2301|       |
 2302|   102k|#undef WRITE_DIGITS
 2303|   102k|#undef WRITE_UNICODE_DIGITS
 2304|       |
 2305|   102k|    _Py_DECREF_INT(scratch);
 2306|   102k|    if (writer) {
  ------------------
  |  Branch (2306:9): [True: 0, False: 102k]
  ------------------
 2307|      0|        writer->pos += strlen;
 2308|      0|    }
 2309|   102k|    else if (bytes_writer) {
  ------------------
  |  Branch (2309:14): [True: 0, False: 102k]
  ------------------
 2310|      0|        (*bytes_str) += strlen;
 2311|      0|    }
 2312|   102k|    else {
 2313|   102k|        assert(_PyUnicode_CheckConsistency(str, 1));
  ------------------
  |  Branch (2313:9): [True: 102k, False: 0]
  ------------------
 2314|   102k|        *p_output = (PyObject *)str;
 2315|   102k|    }
 2316|   102k|    return 0;
 2317|   102k|}
longobject.c:long_format_binary:
 2337|    132|{
 2338|    132|    PyLongObject *a = (PyLongObject *)aa;
 2339|    132|    PyObject *v = NULL;
 2340|    132|    Py_ssize_t sz;
 2341|    132|    Py_ssize_t size_a;
 2342|    132|    int negative;
 2343|    132|    int bits;
 2344|       |
 2345|    132|    assert(base == 2 || base == 8 || base == 16);
  ------------------
  |  Branch (2345:5): [True: 0, False: 132]
  |  Branch (2345:5): [True: 0, False: 132]
  |  Branch (2345:5): [True: 132, False: 0]
  ------------------
 2346|       |    // writer or bytes_writer can be used, but not both at the same time.
 2347|    132|    assert(writer == NULL || bytes_writer == NULL);
  ------------------
  |  Branch (2347:5): [True: 0, False: 132]
  |  Branch (2347:5): [True: 132, False: 0]
  ------------------
 2348|    132|    if (a == NULL || !PyLong_Check(a)) {
  ------------------
  |  |   13|    132|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    132|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2348:9): [True: 0, False: 132]
  |  Branch (2348:22): [True: 0, False: 132]
  ------------------
 2349|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2350|      0|        return -1;
 2351|      0|    }
 2352|    132|    size_a = _PyLong_DigitCount(a);
 2353|    132|    negative = _PyLong_IsNegative(a);
 2354|       |
 2355|       |    /* Compute a rough upper bound for the length of the string */
 2356|    132|    switch (base) {
 2357|    132|    case 16:
  ------------------
  |  Branch (2357:5): [True: 132, False: 0]
  ------------------
 2358|    132|        bits = 4;
 2359|    132|        break;
 2360|      0|    case 8:
  ------------------
  |  Branch (2360:5): [True: 0, False: 132]
  ------------------
 2361|      0|        bits = 3;
 2362|      0|        break;
 2363|      0|    case 2:
  ------------------
  |  Branch (2363:5): [True: 0, False: 132]
  ------------------
 2364|      0|        bits = 1;
 2365|      0|        break;
 2366|      0|    default:
  ------------------
  |  Branch (2366:5): [True: 0, False: 132]
  ------------------
 2367|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2368|    132|    }
 2369|       |
 2370|       |    /* Compute exact length 'sz' of output string. */
 2371|    132|    if (size_a == 0) {
  ------------------
  |  Branch (2371:9): [True: 0, False: 132]
  ------------------
 2372|      0|        sz = 1;
 2373|      0|    }
 2374|    132|    else {
 2375|    132|        Py_ssize_t size_a_in_bits;
 2376|       |        /* Ensure overflow doesn't occur during computation of sz. */
 2377|    132|        if (size_a > (PY_SSIZE_T_MAX - 3) / PyLong_SHIFT) {
  ------------------
  |  |  137|    132|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                      if (size_a > (PY_SSIZE_T_MAX - 3) / PyLong_SHIFT) {
  ------------------
  |  |   47|    132|#define PyLong_SHIFT    30
  ------------------
  |  Branch (2377:13): [True: 0, False: 132]
  ------------------
 2378|      0|            PyErr_SetString(PyExc_OverflowError,
 2379|      0|                            "int too large to format");
 2380|      0|            return -1;
 2381|      0|        }
 2382|    132|        size_a_in_bits = (size_a - 1) * PyLong_SHIFT +
  ------------------
  |  |   47|    132|#define PyLong_SHIFT    30
  ------------------
 2383|    132|                         bit_length_digit(a->long_value.ob_digit[size_a - 1]);
 2384|       |        /* Allow 1 character for a '-' sign. */
 2385|    132|        sz = negative + (size_a_in_bits + (bits - 1)) / bits;
 2386|    132|    }
 2387|    132|    if (alternate) {
  ------------------
  |  Branch (2387:9): [True: 0, False: 132]
  ------------------
 2388|       |        /* 2 characters for prefix  */
 2389|      0|        sz += 2;
 2390|      0|    }
 2391|       |
 2392|    132|    if (writer) {
  ------------------
  |  Branch (2392:9): [True: 132, False: 0]
  ------------------
 2393|    132|        if (_PyUnicodeWriter_Prepare(writer, sz, 'x') == -1)
  ------------------
  |  |  562|    132|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 0, False: 132]
  |  |  ------------------
  |  |  563|    132|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  564|    132|     ? 0                                                              \
  |  |  565|    132|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 132]
  |  |  ------------------
  |  |  566|    132|        ? 0                                                           \
  |  |  567|    132|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (2393:13): [True: 0, False: 132]
  ------------------
 2394|      0|            return -1;
 2395|    132|    }
 2396|      0|    else if (bytes_writer) {
  ------------------
  |  Branch (2396:14): [True: 0, False: 0]
  ------------------
 2397|      0|        *bytes_str = PyBytesWriter_GrowAndUpdatePointer(bytes_writer, sz,
 2398|      0|                                                        *bytes_str);
 2399|      0|        if (*bytes_str == NULL)
  ------------------
  |  Branch (2399:13): [True: 0, False: 0]
  ------------------
 2400|      0|            return -1;
 2401|      0|    }
 2402|      0|    else {
 2403|      0|        v = PyUnicode_New(sz, 'x');
 2404|      0|        if (v == NULL)
  ------------------
  |  Branch (2404:13): [True: 0, False: 0]
  ------------------
 2405|      0|            return -1;
 2406|      0|    }
 2407|       |
 2408|    132|#define WRITE_DIGITS(p)                                                 \
 2409|    132|    do {                                                                \
 2410|    132|        if (size_a == 0) {                                              \
 2411|    132|            *--p = '0';                                                 \
 2412|    132|        }                                                               \
 2413|    132|        else {                                                          \
 2414|       |            /* JRH: special case for power-of-2 bases */                \
 2415|    132|            twodigits accum = 0;                                        \
 2416|    132|            int accumbits = 0;   /* # of bits in accum */               \
 2417|    132|            Py_ssize_t i;                                               \
 2418|    132|            for (i = 0; i < size_a; ++i) {                              \
 2419|    132|                accum |= (twodigits)a->long_value.ob_digit[i] << accumbits;        \
 2420|    132|                accumbits += PyLong_SHIFT;                              \
 2421|    132|                assert(accumbits >= bits);                              \
 2422|    132|                do {                                                    \
 2423|    132|                    char cdigit;                                        \
 2424|    132|                    cdigit = (char)(accum & (base - 1));                \
 2425|    132|                    cdigit += (cdigit < 10) ? '0' : 'a'-10;             \
 2426|    132|                    *--p = cdigit;                                      \
 2427|    132|                    accumbits -= bits;                                  \
 2428|    132|                    accum >>= bits;                                     \
 2429|    132|                } while (i < size_a-1 ? accumbits >= bits : accum > 0); \
 2430|    132|            }                                                           \
 2431|    132|        }                                                               \
 2432|    132|                                                                        \
 2433|    132|        if (alternate) {                                                \
 2434|    132|            if (base == 16)                                             \
 2435|    132|                *--p = 'x';                                             \
 2436|    132|            else if (base == 8)                                         \
 2437|    132|                *--p = 'o';                                             \
 2438|    132|            else /* (base == 2) */                                      \
 2439|    132|                *--p = 'b';                                             \
 2440|    132|            *--p = '0';                                                 \
 2441|    132|        }                                                               \
 2442|    132|        if (negative)                                                   \
 2443|    132|            *--p = '-';                                                 \
 2444|    132|    } while (0)
 2445|       |
 2446|    132|#define WRITE_UNICODE_DIGITS(TYPE)                                      \
 2447|    132|    do {                                                                \
 2448|    132|        if (writer)                                                     \
 2449|    132|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + sz; \
 2450|    132|        else                                                            \
 2451|    132|            p = (TYPE*)PyUnicode_DATA(v) + sz;                          \
 2452|    132|                                                                        \
 2453|    132|        WRITE_DIGITS(p);                                                \
 2454|    132|                                                                        \
 2455|    132|        if (writer)                                                     \
 2456|    132|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
 2457|    132|        else                                                            \
 2458|    132|            assert(p == (TYPE*)PyUnicode_DATA(v));                      \
 2459|    132|    } while (0)
 2460|       |
 2461|    132|    if (bytes_writer) {
  ------------------
  |  Branch (2461:9): [True: 0, False: 132]
  ------------------
 2462|      0|        char *p = *bytes_str + sz;
 2463|      0|        WRITE_DIGITS(p);
  ------------------
  |  | 2409|      0|    do {                                                                \
  |  | 2410|      0|        if (size_a == 0) {                                              \
  |  |  ------------------
  |  |  |  Branch (2410:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2411|      0|            *--p = '0';                                                 \
  |  | 2412|      0|        }                                                               \
  |  | 2413|      0|        else {                                                          \
  |  | 2414|      0|            /* JRH: special case for power-of-2 bases */                \
  |  | 2415|      0|            twodigits accum = 0;                                        \
  |  | 2416|      0|            int accumbits = 0;   /* # of bits in accum */               \
  |  | 2417|      0|            Py_ssize_t i;                                               \
  |  | 2418|      0|            for (i = 0; i < size_a; ++i) {                              \
  |  |  ------------------
  |  |  |  Branch (2418:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2419|      0|                accum |= (twodigits)a->long_value.ob_digit[i] << accumbits;        \
  |  | 2420|      0|                accumbits += PyLong_SHIFT;                              \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  | 2421|      0|                assert(accumbits >= bits);                              \
  |  | 2422|      0|                do {                                                    \
  |  | 2423|      0|                    char cdigit;                                        \
  |  | 2424|      0|                    cdigit = (char)(accum & (base - 1));                \
  |  | 2425|      0|                    cdigit += (cdigit < 10) ? '0' : 'a'-10;             \
  |  |  ------------------
  |  |  |  Branch (2425:31): [True: 0, False: 0]
  |  |  ------------------
  |  | 2426|      0|                    *--p = cdigit;                                      \
  |  | 2427|      0|                    accumbits -= bits;                                  \
  |  | 2428|      0|                    accum >>= bits;                                     \
  |  | 2429|      0|                } while (i < size_a-1 ? accumbits >= bits : accum > 0); \
  |  |  ------------------
  |  |  |  Branch (2429:26): [True: 0, False: 0]
  |  |  |  Branch (2429:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 2430|      0|            }                                                           \
  |  | 2431|      0|        }                                                               \
  |  | 2432|      0|                                                                        \
  |  | 2433|      0|        if (alternate) {                                                \
  |  |  ------------------
  |  |  |  Branch (2433:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2434|      0|            if (base == 16)                                             \
  |  |  ------------------
  |  |  |  Branch (2434:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2435|      0|                *--p = 'x';                                             \
  |  | 2436|      0|            else if (base == 8)                                         \
  |  |  ------------------
  |  |  |  Branch (2436:22): [True: 0, False: 0]
  |  |  ------------------
  |  | 2437|      0|                *--p = 'o';                                             \
  |  | 2438|      0|            else /* (base == 2) */                                      \
  |  | 2439|      0|                *--p = 'b';                                             \
  |  | 2440|      0|            *--p = '0';                                                 \
  |  | 2441|      0|        }                                                               \
  |  | 2442|      0|        if (negative)                                                   \
  |  |  ------------------
  |  |  |  Branch (2442:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2443|      0|            *--p = '-';                                                 \
  |  | 2444|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2444:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2463:9): [True: 0, False: 0]
  ------------------
 2464|      0|        assert(p == *bytes_str);
  ------------------
  |  Branch (2464:9): [True: 0, False: 0]
  ------------------
 2465|      0|    }
 2466|    132|    else {
 2467|    132|        int kind = writer ? writer->kind : PyUnicode_KIND(v);
  ------------------
  |  |  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 (2467:20): [True: 132, False: 0]
  ------------------
 2468|    132|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (2468:13): [True: 132, False: 0]
  ------------------
 2469|    132|            Py_UCS1 *p;
 2470|    132|            WRITE_UNICODE_DIGITS(Py_UCS1);
  ------------------
  |  | 2447|    132|    do {                                                                \
  |  | 2448|    132|        if (writer)                                                     \
  |  |  ------------------
  |  |  |  Branch (2448:13): [True: 132, False: 0]
  |  |  ------------------
  |  | 2449|    132|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + sz; \
  |  |  ------------------
  |  |  |  |  284|    132|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    132|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2450|    132|        else                                                            \
  |  | 2451|    132|            p = (TYPE*)PyUnicode_DATA(v) + sz;                          \
  |  |  ------------------
  |  |  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2452|    132|                                                                        \
  |  | 2453|    132|        WRITE_DIGITS(p);                                                \
  |  |  ------------------
  |  |  |  | 2409|    132|    do {                                                                \
  |  |  |  | 2410|    132|        if (size_a == 0) {                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2410:13): [True: 0, False: 132]
  |  |  |  |  ------------------
  |  |  |  | 2411|      0|            *--p = '0';                                                 \
  |  |  |  | 2412|      0|        }                                                               \
  |  |  |  | 2413|    132|        else {                                                          \
  |  |  |  | 2414|    132|            /* JRH: special case for power-of-2 bases */                \
  |  |  |  | 2415|    132|            twodigits accum = 0;                                        \
  |  |  |  | 2416|    132|            int accumbits = 0;   /* # of bits in accum */               \
  |  |  |  | 2417|    132|            Py_ssize_t i;                                               \
  |  |  |  | 2418|  1.37k|            for (i = 0; i < size_a; ++i) {                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2418:25): [True: 1.24k, False: 132]
  |  |  |  |  ------------------
  |  |  |  | 2419|  1.24k|                accum |= (twodigits)a->long_value.ob_digit[i] << accumbits;        \
  |  |  |  | 2420|  1.24k|                accumbits += PyLong_SHIFT;                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  1.24k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  |  | 2421|  1.24k|                assert(accumbits >= bits);                              \
  |  |  |  | 2422|  8.98k|                do {                                                    \
  |  |  |  | 2423|  8.98k|                    char cdigit;                                        \
  |  |  |  | 2424|  8.98k|                    cdigit = (char)(accum & (base - 1));                \
  |  |  |  | 2425|  8.98k|                    cdigit += (cdigit < 10) ? '0' : 'a'-10;             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2425:31): [True: 5.75k, False: 3.23k]
  |  |  |  |  ------------------
  |  |  |  | 2426|  8.98k|                    *--p = cdigit;                                      \
  |  |  |  | 2427|  8.98k|                    accumbits -= bits;                                  \
  |  |  |  | 2428|  8.98k|                    accum >>= bits;                                     \
  |  |  |  | 2429|  8.98k|                } while (i < size_a-1 ? accumbits >= bits : accum > 0); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2429:26): [True: 8.31k, False: 673]
  |  |  |  |  |  Branch (2429:26): [True: 7.74k, False: 1.24k]
  |  |  |  |  ------------------
  |  |  |  | 2430|  1.24k|            }                                                           \
  |  |  |  | 2431|    132|        }                                                               \
  |  |  |  | 2432|    132|                                                                        \
  |  |  |  | 2433|    132|        if (alternate) {                                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2433:13): [True: 0, False: 132]
  |  |  |  |  ------------------
  |  |  |  | 2434|      0|            if (base == 16)                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2434:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2435|      0|                *--p = 'x';                                             \
  |  |  |  | 2436|      0|            else if (base == 8)                                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2436:22): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2437|      0|                *--p = 'o';                                             \
  |  |  |  | 2438|      0|            else /* (base == 2) */                                      \
  |  |  |  | 2439|      0|                *--p = 'b';                                             \
  |  |  |  | 2440|      0|            *--p = '0';                                                 \
  |  |  |  | 2441|      0|        }                                                               \
  |  |  |  | 2442|    132|        if (negative)                                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2442:13): [True: 0, False: 132]
  |  |  |  |  ------------------
  |  |  |  | 2443|    132|            *--p = '-';                                                 \
  |  |  |  | 2444|    132|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2444:14): [Folded, False: 132]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2454|    132|                                                                        \
  |  | 2455|    132|        if (writer)                                                     \
  |  |  ------------------
  |  |  |  Branch (2455:13): [True: 132, False: 0]
  |  |  ------------------
  |  | 2456|    132|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2457|    132|        else                                                            \
  |  | 2458|    132|            assert(p == (TYPE*)PyUnicode_DATA(v));                      \
  |  | 2459|    132|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2459:14): [Folded, False: 132]
  |  |  ------------------
  ------------------
  |  Branch (2470:13): [True: 1.24k, False: 0]
  |  Branch (2470:13): [True: 132, False: 0]
  |  Branch (2470:13): [True: 0, False: 0]
  ------------------
 2471|    132|        }
 2472|      0|        else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (2472:18): [True: 0, False: 0]
  ------------------
 2473|      0|            Py_UCS2 *p;
 2474|      0|            WRITE_UNICODE_DIGITS(Py_UCS2);
  ------------------
  |  | 2447|      0|    do {                                                                \
  |  | 2448|      0|        if (writer)                                                     \
  |  |  ------------------
  |  |  |  Branch (2448:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2449|      0|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + sz; \
  |  |  ------------------
  |  |  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2450|      0|        else                                                            \
  |  | 2451|      0|            p = (TYPE*)PyUnicode_DATA(v) + sz;                          \
  |  |  ------------------
  |  |  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2452|      0|                                                                        \
  |  | 2453|      0|        WRITE_DIGITS(p);                                                \
  |  |  ------------------
  |  |  |  | 2409|      0|    do {                                                                \
  |  |  |  | 2410|      0|        if (size_a == 0) {                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2410:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2411|      0|            *--p = '0';                                                 \
  |  |  |  | 2412|      0|        }                                                               \
  |  |  |  | 2413|      0|        else {                                                          \
  |  |  |  | 2414|      0|            /* JRH: special case for power-of-2 bases */                \
  |  |  |  | 2415|      0|            twodigits accum = 0;                                        \
  |  |  |  | 2416|      0|            int accumbits = 0;   /* # of bits in accum */               \
  |  |  |  | 2417|      0|            Py_ssize_t i;                                               \
  |  |  |  | 2418|      0|            for (i = 0; i < size_a; ++i) {                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2418:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2419|      0|                accum |= (twodigits)a->long_value.ob_digit[i] << accumbits;        \
  |  |  |  | 2420|      0|                accumbits += PyLong_SHIFT;                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  |  | 2421|      0|                assert(accumbits >= bits);                              \
  |  |  |  | 2422|      0|                do {                                                    \
  |  |  |  | 2423|      0|                    char cdigit;                                        \
  |  |  |  | 2424|      0|                    cdigit = (char)(accum & (base - 1));                \
  |  |  |  | 2425|      0|                    cdigit += (cdigit < 10) ? '0' : 'a'-10;             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2425:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2426|      0|                    *--p = cdigit;                                      \
  |  |  |  | 2427|      0|                    accumbits -= bits;                                  \
  |  |  |  | 2428|      0|                    accum >>= bits;                                     \
  |  |  |  | 2429|      0|                } while (i < size_a-1 ? accumbits >= bits : accum > 0); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2429:26): [True: 0, False: 0]
  |  |  |  |  |  Branch (2429:26): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2430|      0|            }                                                           \
  |  |  |  | 2431|      0|        }                                                               \
  |  |  |  | 2432|      0|                                                                        \
  |  |  |  | 2433|      0|        if (alternate) {                                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2433:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2434|      0|            if (base == 16)                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2434:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2435|      0|                *--p = 'x';                                             \
  |  |  |  | 2436|      0|            else if (base == 8)                                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2436:22): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2437|      0|                *--p = 'o';                                             \
  |  |  |  | 2438|      0|            else /* (base == 2) */                                      \
  |  |  |  | 2439|      0|                *--p = 'b';                                             \
  |  |  |  | 2440|      0|            *--p = '0';                                                 \
  |  |  |  | 2441|      0|        }                                                               \
  |  |  |  | 2442|      0|        if (negative)                                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2442:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2443|      0|            *--p = '-';                                                 \
  |  |  |  | 2444|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2444:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2454|      0|                                                                        \
  |  | 2455|      0|        if (writer)                                                     \
  |  |  ------------------
  |  |  |  Branch (2455:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2456|      0|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2457|      0|        else                                                            \
  |  | 2458|      0|            assert(p == (TYPE*)PyUnicode_DATA(v));                      \
  |  | 2459|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2459:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2474:13): [True: 0, False: 0]
  |  Branch (2474:13): [True: 0, False: 0]
  |  Branch (2474:13): [True: 0, False: 0]
  ------------------
 2475|      0|        }
 2476|      0|        else {
 2477|      0|            assert (kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (2477:13): [True: 0, False: 0]
  ------------------
 2478|      0|            Py_UCS4 *p;
 2479|      0|            WRITE_UNICODE_DIGITS(Py_UCS4);
  ------------------
  |  | 2447|      0|    do {                                                                \
  |  | 2448|      0|        if (writer)                                                     \
  |  |  ------------------
  |  |  |  Branch (2448:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2449|      0|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + sz; \
  |  |  ------------------
  |  |  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2450|      0|        else                                                            \
  |  | 2451|      0|            p = (TYPE*)PyUnicode_DATA(v) + sz;                          \
  |  |  ------------------
  |  |  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2452|      0|                                                                        \
  |  | 2453|      0|        WRITE_DIGITS(p);                                                \
  |  |  ------------------
  |  |  |  | 2409|      0|    do {                                                                \
  |  |  |  | 2410|      0|        if (size_a == 0) {                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2410:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2411|      0|            *--p = '0';                                                 \
  |  |  |  | 2412|      0|        }                                                               \
  |  |  |  | 2413|      0|        else {                                                          \
  |  |  |  | 2414|      0|            /* JRH: special case for power-of-2 bases */                \
  |  |  |  | 2415|      0|            twodigits accum = 0;                                        \
  |  |  |  | 2416|      0|            int accumbits = 0;   /* # of bits in accum */               \
  |  |  |  | 2417|      0|            Py_ssize_t i;                                               \
  |  |  |  | 2418|      0|            for (i = 0; i < size_a; ++i) {                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2418:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2419|      0|                accum |= (twodigits)a->long_value.ob_digit[i] << accumbits;        \
  |  |  |  | 2420|      0|                accumbits += PyLong_SHIFT;                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  |  | 2421|      0|                assert(accumbits >= bits);                              \
  |  |  |  | 2422|      0|                do {                                                    \
  |  |  |  | 2423|      0|                    char cdigit;                                        \
  |  |  |  | 2424|      0|                    cdigit = (char)(accum & (base - 1));                \
  |  |  |  | 2425|      0|                    cdigit += (cdigit < 10) ? '0' : 'a'-10;             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2425:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2426|      0|                    *--p = cdigit;                                      \
  |  |  |  | 2427|      0|                    accumbits -= bits;                                  \
  |  |  |  | 2428|      0|                    accum >>= bits;                                     \
  |  |  |  | 2429|      0|                } while (i < size_a-1 ? accumbits >= bits : accum > 0); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2429:26): [True: 0, False: 0]
  |  |  |  |  |  Branch (2429:26): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2430|      0|            }                                                           \
  |  |  |  | 2431|      0|        }                                                               \
  |  |  |  | 2432|      0|                                                                        \
  |  |  |  | 2433|      0|        if (alternate) {                                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2433:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2434|      0|            if (base == 16)                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2434:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2435|      0|                *--p = 'x';                                             \
  |  |  |  | 2436|      0|            else if (base == 8)                                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2436:22): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2437|      0|                *--p = 'o';                                             \
  |  |  |  | 2438|      0|            else /* (base == 2) */                                      \
  |  |  |  | 2439|      0|                *--p = 'b';                                             \
  |  |  |  | 2440|      0|            *--p = '0';                                                 \
  |  |  |  | 2441|      0|        }                                                               \
  |  |  |  | 2442|      0|        if (negative)                                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2442:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2443|      0|            *--p = '-';                                                 \
  |  |  |  | 2444|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2444:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2454|      0|                                                                        \
  |  | 2455|      0|        if (writer)                                                     \
  |  |  ------------------
  |  |  |  Branch (2455:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 2456|      0|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2457|      0|        else                                                            \
  |  | 2458|      0|            assert(p == (TYPE*)PyUnicode_DATA(v));                      \
  |  | 2459|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2459:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2479:13): [True: 0, False: 0]
  |  Branch (2479:13): [True: 0, False: 0]
  |  Branch (2479:13): [True: 0, False: 0]
  ------------------
 2480|      0|        }
 2481|    132|    }
 2482|       |
 2483|    132|#undef WRITE_DIGITS
 2484|    132|#undef WRITE_UNICODE_DIGITS
 2485|       |
 2486|    132|    if (writer) {
  ------------------
  |  Branch (2486:9): [True: 132, False: 0]
  ------------------
 2487|    132|        writer->pos += sz;
 2488|    132|    }
 2489|      0|    else if (bytes_writer) {
  ------------------
  |  Branch (2489:14): [True: 0, False: 0]
  ------------------
 2490|      0|        (*bytes_str) += sz;
 2491|      0|    }
 2492|      0|    else {
 2493|      0|        assert(_PyUnicode_CheckConsistency(v, 1));
  ------------------
  |  Branch (2493:9): [True: 0, False: 0]
  ------------------
 2494|      0|        *p_output = v;
 2495|      0|    }
 2496|    132|    return 0;
 2497|    132|}
longobject.c:long_from_string_base:
 2960|  79.4k|{
 2961|  79.4k|    const char *start, *end, *p;
 2962|  79.4k|    char prev = 0;
 2963|  79.4k|    Py_ssize_t digits = 0;
 2964|  79.4k|    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|  79.4k|    start = p = *str;
 2974|       |    /* Leading underscore not allowed. */
 2975|  79.4k|    if (*start == '_') {
  ------------------
  |  Branch (2975:9): [True: 0, False: 79.4k]
  ------------------
 2976|      0|        return -1;
 2977|      0|    }
 2978|       |    /* Verify all characters are digits and underscores. */
 2979|  8.65M|    while (_PyLong_DigitValue[Py_CHARMASK(*p)] < base || *p == '_') {
  ------------------
  |  |  138|  8.65M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (2979:12): [True: 8.58M, False: 79.4k]
  |  Branch (2979:58): [True: 0, False: 79.4k]
  ------------------
 2980|  8.58M|        if (*p == '_') {
  ------------------
  |  Branch (2980:13): [True: 0, False: 8.58M]
  ------------------
 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|  8.58M|        } else {
 2987|  8.58M|            ++digits;
 2988|  8.58M|        }
 2989|  8.58M|        prev = *p;
 2990|  8.58M|        ++p;
 2991|  8.58M|    }
 2992|       |    /* Trailing underscore not allowed. */
 2993|  79.4k|    if (prev == '_') {
  ------------------
  |  Branch (2993:9): [True: 0, False: 79.4k]
  ------------------
 2994|      0|        *str = p - 1;
 2995|      0|        return -1;
 2996|      0|    }
 2997|  79.4k|    *str = end = p;
 2998|       |    /* Reject empty strings */
 2999|  79.4k|    if (start == end) {
  ------------------
  |  Branch (2999:9): [True: 0, False: 79.4k]
  ------------------
 3000|      0|        return -1;
 3001|      0|    }
 3002|       |    /* Allow only trailing whitespace after `end` */
 3003|  79.4k|    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: 79.4k]
  ------------------
 3004|      0|        p++;
 3005|      0|    }
 3006|  79.4k|    *str = p;
 3007|  79.4k|    if (*p != '\0') {
  ------------------
  |  Branch (3007:9): [True: 0, False: 79.4k]
  ------------------
 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|  79.4k|    if (is_binary_base) {
  ------------------
  |  Branch (3015:9): [True: 5.47k, False: 73.9k]
  ------------------
 3016|       |        /* Use the linear algorithm for binary bases. */
 3017|  5.47k|        return long_from_binary_base(start, end, digits, base, res);
 3018|  5.47k|    }
 3019|  73.9k|    else {
 3020|       |        /* Limit the size to avoid excessive computation attacks exploiting the
 3021|       |         * quadratic algorithm. */
 3022|  73.9k|        if (digits > _PY_LONG_MAX_STR_DIGITS_THRESHOLD) {
  ------------------
  |  |   42|  73.9k|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (3022:13): [True: 2.33k, False: 71.6k]
  ------------------
 3023|  2.33k|            PyInterpreterState *interp = _PyInterpreterState_GET();
 3024|  2.33k|            int max_str_digits = _Py_atomic_load_int(&interp->long_state.max_str_digits);
 3025|  2.33k|            if ((max_str_digits > 0) && (digits > max_str_digits)) {
  ------------------
  |  Branch (3025:17): [True: 2.33k, False: 0]
  |  Branch (3025:41): [True: 2, False: 2.32k]
  ------------------
 3026|      2|                PyErr_Format(PyExc_ValueError, _MAX_STR_DIGITS_ERROR_FMT_TO_INT,
  ------------------
  |  |   32|      2|#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|      2|                             max_str_digits, digits);
 3028|      2|                *res = NULL;
 3029|      2|                return 0;
 3030|      2|            }
 3031|  2.33k|        }
 3032|  73.9k|#if WITH_PYLONG_MODULE
 3033|  73.9k|        if (digits > 6000 && base == 10) {
  ------------------
  |  Branch (3033:13): [True: 405, False: 73.5k]
  |  Branch (3033:30): [True: 405, False: 0]
  ------------------
 3034|       |            /* Switch to _pylong.int_from_string() */
 3035|    405|            return pylong_int_from_string(start, end, res);
 3036|    405|        }
 3037|  73.5k|#endif
 3038|       |        /* Use the quadratic algorithm for non binary bases. */
 3039|  73.5k|        return long_from_non_binary_base(start, end, digits, base, res);
 3040|  73.9k|    }
 3041|  79.4k|}
longobject.c:long_from_binary_base:
 2587|  5.47k|{
 2588|  5.47k|    const char *p;
 2589|  5.47k|    int bits_per_char;
 2590|  5.47k|    Py_ssize_t n;
 2591|  5.47k|    PyLongObject *z;
 2592|  5.47k|    twodigits accum;
 2593|  5.47k|    int bits_in_accum;
 2594|  5.47k|    digit *pdigit;
 2595|       |
 2596|  5.47k|    assert(base >= 2 && base <= 32 && (base & (base - 1)) == 0);
  ------------------
  |  Branch (2596:5): [True: 5.47k, False: 0]
  |  Branch (2596:5): [True: 5.47k, False: 0]
  |  Branch (2596:5): [True: 5.47k, False: 0]
  ------------------
 2597|  5.47k|    n = base;
 2598|  28.7k|    for (bits_per_char = -1; n; ++bits_per_char) {
  ------------------
  |  Branch (2598:30): [True: 23.2k, False: 5.47k]
  ------------------
 2599|  23.2k|        n >>= 1;
 2600|  23.2k|    }
 2601|       |
 2602|       |    /* n <- the number of Python digits needed,
 2603|       |            = ceiling((digits * bits_per_char) / PyLong_SHIFT). */
 2604|  5.47k|    if (digits > (PY_SSIZE_T_MAX - (PyLong_SHIFT - 1)) / bits_per_char) {
  ------------------
  |  |  137|  5.47k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if (digits > (PY_SSIZE_T_MAX - (PyLong_SHIFT - 1)) / bits_per_char) {
  ------------------
  |  |   47|  5.47k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (2604:9): [True: 0, False: 5.47k]
  ------------------
 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|  5.47k|    n = (digits * bits_per_char + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|  5.47k|#define PyLong_SHIFT    30
  ------------------
                  n = (digits * bits_per_char + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|  5.47k|#define PyLong_SHIFT    30
  ------------------
 2611|  5.47k|    z = long_alloc(n);
 2612|  5.47k|    if (z == NULL) {
  ------------------
  |  Branch (2612:9): [True: 0, False: 5.47k]
  ------------------
 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|  5.47k|    accum = 0;
 2620|  5.47k|    bits_in_accum = 0;
 2621|  5.47k|    pdigit = z->long_value.ob_digit;
 2622|  5.47k|    p = end;
 2623|   351k|    while (--p >= start) {
  ------------------
  |  Branch (2623:12): [True: 345k, False: 5.47k]
  ------------------
 2624|   345k|        int k;
 2625|   345k|        if (*p == '_') {
  ------------------
  |  Branch (2625:13): [True: 0, False: 345k]
  ------------------
 2626|      0|            continue;
 2627|      0|        }
 2628|   345k|        k = (int)_PyLong_DigitValue[Py_CHARMASK(*p)];
  ------------------
  |  |  138|   345k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 2629|   345k|        assert(k >= 0 && k < base);
  ------------------
  |  Branch (2629:9): [True: 345k, False: 0]
  |  Branch (2629:9): [True: 345k, False: 0]
  ------------------
 2630|   345k|        accum |= (twodigits)k << bits_in_accum;
 2631|   345k|        bits_in_accum += bits_per_char;
 2632|   345k|        if (bits_in_accum >= PyLong_SHIFT) {
  ------------------
  |  |   47|   345k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (2632:13): [True: 32.9k, False: 312k]
  ------------------
 2633|  32.9k|            *pdigit++ = (digit)(accum & PyLong_MASK);
  ------------------
  |  |   62|  32.9k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  32.9k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  32.9k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2634|  32.9k|            assert(pdigit - z->long_value.ob_digit <= n);
  ------------------
  |  Branch (2634:13): [True: 32.9k, False: 0]
  ------------------
 2635|  32.9k|            accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|  32.9k|#define PyLong_SHIFT    30
  ------------------
 2636|  32.9k|            bits_in_accum -= PyLong_SHIFT;
  ------------------
  |  |   47|  32.9k|#define PyLong_SHIFT    30
  ------------------
 2637|  32.9k|            assert(bits_in_accum < PyLong_SHIFT);
  ------------------
  |  Branch (2637:13): [True: 32.9k, False: 0]
  ------------------
 2638|  32.9k|        }
 2639|   345k|    }
 2640|  5.47k|    if (bits_in_accum) {
  ------------------
  |  Branch (2640:9): [True: 4.90k, False: 564]
  ------------------
 2641|  4.90k|        assert(bits_in_accum <= PyLong_SHIFT);
  ------------------
  |  Branch (2641:9): [True: 4.90k, False: 0]
  ------------------
 2642|  4.90k|        *pdigit++ = (digit)accum;
 2643|  4.90k|        assert(pdigit - z->long_value.ob_digit <= n);
  ------------------
  |  Branch (2643:9): [True: 4.90k, False: 0]
  ------------------
 2644|  4.90k|    }
 2645|  5.47k|    while (pdigit - z->long_value.ob_digit < n)
  ------------------
  |  Branch (2645:12): [True: 0, False: 5.47k]
  ------------------
 2646|      0|        *pdigit++ = 0;
 2647|  5.47k|    *res = z;
 2648|  5.47k|    return 0;
 2649|  5.47k|}
longobject.c:pylong_int_from_string:
 2655|    405|{
 2656|    405|    PyObject *mod = PyImport_ImportModule("_pylong");
 2657|    405|    if (mod == NULL) {
  ------------------
  |  Branch (2657:9): [True: 0, False: 405]
  ------------------
 2658|      0|        goto error;
 2659|      0|    }
 2660|    405|    PyObject *s = PyUnicode_FromStringAndSize(start, end-start);
 2661|    405|    if (s == NULL) {
  ------------------
  |  Branch (2661:9): [True: 0, False: 405]
  ------------------
 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|    405|    PyObject *result = PyObject_CallMethod(mod, "int_from_string", "O", s);
 2666|    405|    Py_DECREF(s);
  ------------------
  |  |  430|    405|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    405|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    405|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2667|    405|    Py_DECREF(mod);
  ------------------
  |  |  430|    405|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    405|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    405|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2668|    405|    if (result == NULL) {
  ------------------
  |  Branch (2668:9): [True: 0, False: 405]
  ------------------
 2669|      0|        goto error;
 2670|      0|    }
 2671|    405|    if (!PyLong_Check(result)) {
  ------------------
  |  |   13|    405|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    405|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2671:9): [True: 0, False: 405]
  ------------------
 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|    405|    *res = (PyLongObject *)result;
 2678|    405|    return 0;
 2679|      0|error:
 2680|       |    *res = NULL;
 2681|      0|    return 0;  // See the long_from_string_base() API comment.
 2682|    405|}
longobject.c:long_from_non_binary_base:
 2827|  73.5k|{
 2828|  73.5k|    twodigits c;           /* current input character */
 2829|  73.5k|    Py_ssize_t size_z;
 2830|  73.5k|    int i;
 2831|  73.5k|    int convwidth;
 2832|  73.5k|    twodigits convmultmax, convmult;
 2833|  73.5k|    digit *pz, *pzstop;
 2834|  73.5k|    PyLongObject *z;
 2835|  73.5k|    const char *p;
 2836|       |
 2837|  73.5k|    assert(log_base_BASE[base] != 0.0);
  ------------------
  |  Branch (2837:5): [True: 73.5k, 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|  73.5k|    double fsize_z = (double)digits * log_base_BASE[base] + 1.0;
 2845|  73.5k|    if (fsize_z > (double)MAX_LONG_DIGITS) {
  ------------------
  |  |  155|  73.5k|# define MAX_LONG_DIGITS ((INT64_MAX-1) / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  73.5k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (2845:9): [True: 0, False: 73.5k]
  ------------------
 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|  73.5k|    size_z = (Py_ssize_t)fsize_z;
 2853|       |    /* Uncomment next line to test exceedingly rare copy code */
 2854|       |    /* size_z = 1; */
 2855|  73.5k|    assert(size_z > 0);
  ------------------
  |  Branch (2855:5): [True: 73.5k, False: 0]
  ------------------
 2856|  73.5k|    z = long_alloc(size_z);
 2857|  73.5k|    if (z == NULL) {
  ------------------
  |  Branch (2857:9): [True: 0, False: 73.5k]
  ------------------
 2858|      0|        *res = NULL;
 2859|      0|        return 0;
 2860|      0|    }
 2861|  73.5k|    z->long_value.ob_digit[0] = 0;
 2862|  73.5k|    _PyLong_SetSignAndDigitCount(z, 0, 0);
 2863|       |
 2864|       |    /* `convwidth` consecutive input digits are treated as a single
 2865|       |     * digit in base `convmultmax`.
 2866|       |     */
 2867|  73.5k|    convwidth = convwidth_base[base];
 2868|  73.5k|    convmultmax = convmultmax_base[base];
 2869|       |
 2870|       |    /* Work ;-) */
 2871|  73.5k|    p = start;
 2872|   737k|    while (p < end) {
  ------------------
  |  Branch (2872:12): [True: 663k, False: 73.5k]
  ------------------
 2873|   663k|        if (*p == '_') {
  ------------------
  |  Branch (2873:13): [True: 0, False: 663k]
  ------------------
 2874|      0|            p++;
 2875|      0|            continue;
 2876|      0|        }
 2877|       |        /* grab up to convwidth digits from the input string */
 2878|   663k|        c = (digit)_PyLong_DigitValue[Py_CHARMASK(*p++)];
  ------------------
  |  |  138|   663k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 2879|  5.57M|        for (i = 1; i < convwidth && p != end; ++p) {
  ------------------
  |  Branch (2879:21): [True: 4.98M, False: 594k]
  |  Branch (2879:38): [True: 4.91M, False: 69.6k]
  ------------------
 2880|  4.91M|            if (*p == '_') {
  ------------------
  |  Branch (2880:17): [True: 0, False: 4.91M]
  ------------------
 2881|      0|                continue;
 2882|      0|            }
 2883|  4.91M|            i++;
 2884|  4.91M|            c = (twodigits)(c *  base +
 2885|  4.91M|                            (int)_PyLong_DigitValue[Py_CHARMASK(*p)]);
  ------------------
  |  |  138|  4.91M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 2886|  4.91M|            assert(c < PyLong_BASE);
  ------------------
  |  Branch (2886:13): [True: 4.91M, False: 0]
  ------------------
 2887|  4.91M|        }
 2888|       |
 2889|   663k|        convmult = convmultmax;
 2890|       |        /* Calculate the shift only if we couldn't get
 2891|       |         * convwidth digits.
 2892|       |         */
 2893|   663k|        if (i != convwidth) {
  ------------------
  |  Branch (2893:13): [True: 69.6k, False: 594k]
  ------------------
 2894|  69.6k|            convmult = base;
 2895|   228k|            for ( ; i > 1; --i) {
  ------------------
  |  Branch (2895:21): [True: 158k, False: 69.6k]
  ------------------
 2896|   158k|                convmult *= base;
 2897|   158k|            }
 2898|  69.6k|        }
 2899|       |
 2900|       |        /* Multiply z by convmult, and add c. */
 2901|   663k|        pz = z->long_value.ob_digit;
 2902|   663k|        pzstop = pz + _PyLong_DigitCount(z);
 2903|  29.0M|        for (; pz < pzstop; ++pz) {
  ------------------
  |  Branch (2903:16): [True: 28.3M, False: 663k]
  ------------------
 2904|  28.3M|            c += (twodigits)*pz * convmult;
 2905|  28.3M|            *pz = (digit)(c & PyLong_MASK);
  ------------------
  |  |   62|  28.3M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  28.3M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  28.3M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2906|  28.3M|            c >>= PyLong_SHIFT;
  ------------------
  |  |   47|  28.3M|#define PyLong_SHIFT    30
  ------------------
 2907|  28.3M|        }
 2908|       |        /* carry off the current end? */
 2909|   663k|        if (c) {
  ------------------
  |  Branch (2909:13): [True: 520k, False: 142k]
  ------------------
 2910|   520k|            assert(c < PyLong_BASE);
  ------------------
  |  Branch (2910:13): [True: 520k, False: 0]
  ------------------
 2911|   520k|            if (_PyLong_DigitCount(z) < size_z) {
  ------------------
  |  Branch (2911:17): [True: 520k, False: 0]
  ------------------
 2912|   520k|                *pz = (digit)c;
 2913|   520k|                assert(!_PyLong_IsNegative(z));
  ------------------
  |  Branch (2913:17): [True: 520k, False: 0]
  ------------------
 2914|   520k|                _PyLong_SetSignAndDigitCount(z, 1, _PyLong_DigitCount(z) + 1);
 2915|   520k|            }
 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);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2930|      0|                z->long_value.ob_digit[size_z] = (digit)c;
 2931|      0|                ++size_z;
 2932|      0|            }
 2933|   520k|        }
 2934|   663k|    }
 2935|  73.5k|    *res = z;
 2936|  73.5k|    return 0;
 2937|  73.5k|}
longobject.c:_PyLong_Negate:
  357|  39.2k|{
  358|  39.2k|    PyLongObject *x;
  359|       |
  360|  39.2k|    x = (PyLongObject *)*x_p;
  361|  39.2k|    if (_PyObject_IsUniquelyReferenced((PyObject *)x)) {
  ------------------
  |  Branch (361:9): [True: 35.7k, False: 3.47k]
  ------------------
  362|  35.7k|         _PyLong_FlipSign(x);
  363|  35.7k|        return;
  364|  35.7k|    }
  365|       |
  366|  3.47k|    *x_p = _PyLong_FromSTwoDigits(-medium_value(x));
  ------------------
  |  |   27|  3.47k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
  367|  3.47k|    Py_DECREF(x);
  ------------------
  |  |  430|  3.47k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  368|  3.47k|}
longobject.c:_PyLong_FromSTwoDigits:
  314|   704k|{
  315|   704k|    if (IS_SMALL_INT(x)) {
  ------------------
  |  |   29|   704k|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|   704k|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|   704k|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|   649k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 649k, False: 55.8k]
  |  |  |  |  |  Branch (68:37): [True: 523k, False: 126k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  316|   523k|        return (PyLongObject*)get_small_int((sdigit)x);
  317|   523k|    }
  318|   704k|    assert(x != 0);
  ------------------
  |  Branch (318:5): [True: 181k, False: 0]
  ------------------
  319|   181k|    if (is_medium_int(x)) {
  ------------------
  |  Branch (319:9): [True: 144k, False: 37.0k]
  ------------------
  320|   144k|        return (PyLongObject*)_PyLong_FromMedium((sdigit)x);
  321|   144k|    }
  322|  37.0k|    return (PyLongObject*)_PyLong_FromLarge(x);
  323|   181k|}
longobject.c:_PyLong_FromLarge:
  274|  37.0k|{
  275|  37.0k|    twodigits abs_ival;
  276|  37.0k|    int sign;
  277|  37.0k|    assert(!is_medium_int(ival));
  ------------------
  |  Branch (277:5): [True: 37.0k, False: 0]
  ------------------
  278|       |
  279|  37.0k|    if (ival < 0) {
  ------------------
  |  Branch (279:9): [True: 1.34k, False: 35.6k]
  ------------------
  280|       |        /* negate: can't write this as abs_ival = -ival since that
  281|       |           invokes undefined behaviour when ival is LONG_MIN */
  282|  1.34k|        abs_ival = 0U-(twodigits)ival;
  283|  1.34k|        sign = -1;
  284|  1.34k|    }
  285|  35.6k|    else {
  286|  35.6k|        abs_ival = (twodigits)ival;
  287|  35.6k|        sign = 1;
  288|  35.6k|    }
  289|       |    /* Must be at least two digits */
  290|  37.0k|    assert(abs_ival >> PyLong_SHIFT != 0);
  ------------------
  |  Branch (290:5): [True: 37.0k, False: 0]
  ------------------
  291|  37.0k|    twodigits t = abs_ival >> (PyLong_SHIFT * 2);
  ------------------
  |  |   47|  37.0k|#define PyLong_SHIFT    30
  ------------------
  292|  37.0k|    Py_ssize_t ndigits = 2;
  293|  37.0k|    while (t) {
  ------------------
  |  Branch (293:12): [True: 0, False: 37.0k]
  ------------------
  294|      0|        ++ndigits;
  295|      0|        t >>= PyLong_SHIFT;
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  296|      0|    }
  297|  37.0k|    PyLongObject *v = long_alloc(ndigits);
  298|  37.0k|    if (v != NULL) {
  ------------------
  |  Branch (298:9): [True: 37.0k, False: 0]
  ------------------
  299|  37.0k|        digit *p = v->long_value.ob_digit;
  300|  37.0k|        _PyLong_SetSignAndDigitCount(v, sign, ndigits);
  301|  37.0k|        t = abs_ival;
  302|   111k|        while (t) {
  ------------------
  |  Branch (302:16): [True: 74.0k, False: 37.0k]
  ------------------
  303|  74.0k|            *p++ = Py_SAFE_DOWNCAST(
  ------------------
  |  |  247|  74.0k|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|  74.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  304|  74.0k|                t & PyLong_MASK, twodigits, digit);
  305|  74.0k|            t >>= PyLong_SHIFT;
  ------------------
  |  |   47|  74.0k|#define PyLong_SHIFT    30
  ------------------
  306|  74.0k|        }
  307|  37.0k|    }
  308|  37.0k|    return (PyObject *)v;
  309|  37.0k|}
longobject.c:v_lshift:
 1906|  88.7k|{
 1907|  88.7k|    Py_ssize_t i;
 1908|  88.7k|    digit carry = 0;
 1909|       |
 1910|  88.7k|    assert(0 <= d && d < PyLong_SHIFT);
  ------------------
  |  Branch (1910:5): [True: 88.7k, False: 0]
  |  Branch (1910:5): [True: 88.7k, False: 0]
  ------------------
 1911|   375k|    for (i=0; i < m; i++) {
  ------------------
  |  Branch (1911:15): [True: 286k, False: 88.7k]
  ------------------
 1912|   286k|        twodigits acc = (twodigits)a[i] << d | carry;
 1913|   286k|        z[i] = (digit)acc & PyLong_MASK;
  ------------------
  |  |   62|   286k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|   286k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|   286k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1914|   286k|        carry = (digit)(acc >> PyLong_SHIFT);
  ------------------
  |  |   47|   286k|#define PyLong_SHIFT    30
  ------------------
 1915|   286k|    }
 1916|  88.7k|    return carry;
 1917|  88.7k|}
longobject.c:v_rshift:
 1924|  41.6k|{
 1925|  41.6k|    Py_ssize_t i;
 1926|  41.6k|    digit carry = 0;
 1927|  41.6k|    digit mask = ((digit)1 << d) - 1U;
 1928|       |
 1929|  41.6k|    assert(0 <= d && d < PyLong_SHIFT);
  ------------------
  |  Branch (1929:5): [True: 41.6k, False: 0]
  |  Branch (1929:5): [True: 41.6k, False: 0]
  ------------------
 1930|   173k|    for (i=m; i-- > 0;) {
  ------------------
  |  Branch (1930:15): [True: 131k, False: 41.6k]
  ------------------
 1931|   131k|        twodigits acc = (twodigits)carry << PyLong_SHIFT | a[i];
  ------------------
  |  |   47|   131k|#define PyLong_SHIFT    30
  ------------------
 1932|   131k|        carry = (digit)acc & mask;
 1933|   131k|        z[i] = (digit)(acc >> d);
 1934|   131k|    }
 1935|  41.6k|    return carry;
 1936|  41.6k|}
longobject.c:medium_from_stwodigits:
  329|  34.6M|{
  330|  34.6M|    if (IS_SMALL_INT(x)) {
  ------------------
  |  |   29|  34.6M|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|  34.6M|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  34.6M|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|  34.5M|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 34.5M, False: 96.5k]
  |  |  |  |  |  Branch (68:37): [True: 33.1M, False: 1.42M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  331|  33.1M|        return PyStackRef_FromPyObjectBorrow(get_small_int((sdigit)x));
  332|  33.1M|    }
  333|  34.6M|    assert(x != 0);
  ------------------
  |  Branch (333:5): [True: 1.52M, False: 0]
  ------------------
  334|  1.52M|    if(!is_medium_int(x)) {
  ------------------
  |  Branch (334:8): [True: 278, False: 1.52M]
  ------------------
  335|    278|        return PyStackRef_NULL;
  336|    278|    }
  337|  1.52M|    PyLongObject *v = (PyLongObject *)_Py_FREELIST_POP(PyLongObject, ints);
  ------------------
  |  |   43|  1.52M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  1.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  338|  1.52M|    if (v == NULL) {
  ------------------
  |  Branch (338:9): [True: 1.16k, False: 1.52M]
  ------------------
  339|  1.16k|        v = PyObject_Malloc(sizeof(PyLongObject));
  340|  1.16k|        if (v == NULL) {
  ------------------
  |  Branch (340:13): [True: 0, False: 1.16k]
  ------------------
  341|      0|            return PyStackRef_NULL;
  342|      0|        }
  343|  1.16k|        _PyObject_Init((PyObject*)v, &PyLong_Type);
  344|  1.16k|        _PyLong_InitTag(v);
  345|  1.16k|    }
  346|  1.52M|    digit abs_x = x < 0 ? (digit)(-x) : (digit)x;
  ------------------
  |  Branch (346:19): [True: 96.5k, False: 1.42M]
  ------------------
  347|  1.52M|    _PyLong_SetSignAndDigitCount(v, x<0?-1:1, 1);
  ------------------
  |  Branch (347:37): [True: 96.5k, False: 1.42M]
  ------------------
  348|  1.52M|    v->long_value.ob_digit[0] = abs_x;
  349|  1.52M|    return PyStackRef_FromPyObjectStealMortal((PyObject *)v);
  350|  1.52M|}
longobject.c:long_rshift1:
 5312|  10.2k|{
 5313|  10.2k|    PyLongObject *z = NULL;
 5314|  10.2k|    Py_ssize_t newsize, hishift, size_a;
 5315|  10.2k|    twodigits accum;
 5316|  10.2k|    int a_negative;
 5317|       |
 5318|       |    /* Total number of bits shifted must be nonnegative. */
 5319|  10.2k|    assert(wordshift >= 0);
  ------------------
  |  Branch (5319:5): [True: 10.2k, False: 0]
  ------------------
 5320|  10.2k|    assert(remshift < PyLong_SHIFT);
  ------------------
  |  Branch (5320:5): [True: 10.2k, False: 0]
  ------------------
 5321|       |
 5322|       |    /* Fast path for small a. */
 5323|  10.2k|    if (_PyLong_IsCompact(a)) {
  ------------------
  |  Branch (5323:9): [True: 7.81k, False: 2.44k]
  ------------------
 5324|  7.81k|        stwodigits m, x;
 5325|  7.81k|        digit shift;
 5326|  7.81k|        m = medium_value(a);
  ------------------
  |  |   27|  7.81k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5327|  7.81k|        shift = wordshift == 0 ? remshift : PyLong_SHIFT;
  ------------------
  |  |   47|  10.1k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (5327:17): [True: 5.44k, False: 2.36k]
  ------------------
 5328|  7.81k|        x = m < 0 ? ~(~m >> shift) : m >> shift;
  ------------------
  |  Branch (5328:13): [True: 1.25k, False: 6.55k]
  ------------------
 5329|  7.81k|        return (PyObject*)_PyLong_FromSTwoDigits(x);
 5330|  7.81k|    }
 5331|       |
 5332|  2.44k|    a_negative = _PyLong_IsNegative(a);
 5333|  2.44k|    size_a = _PyLong_DigitCount(a);
 5334|       |
 5335|  2.44k|    if (a_negative) {
  ------------------
  |  Branch (5335:9): [True: 788, False: 1.65k]
  ------------------
 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|    788|        if (remshift == 0) {
  ------------------
  |  Branch (5339:13): [True: 304, False: 484]
  ------------------
 5340|    304|            if (wordshift == 0) {
  ------------------
  |  Branch (5340:17): [True: 165, False: 139]
  ------------------
 5341|       |                /* Can only happen if the original shift was 0. */
 5342|    165|                return long_long((PyObject *)a);
 5343|    165|            }
 5344|    139|            remshift = PyLong_SHIFT;
  ------------------
  |  |   47|    139|#define PyLong_SHIFT    30
  ------------------
 5345|    139|            --wordshift;
 5346|    139|        }
 5347|    788|    }
 5348|       |
 5349|  2.44k|    assert(wordshift >= 0);
  ------------------
  |  Branch (5349:5): [True: 2.27k, False: 0]
  ------------------
 5350|  2.27k|    newsize = size_a - wordshift;
 5351|  2.27k|    if (newsize <= 0) {
  ------------------
  |  Branch (5351:9): [True: 1.09k, False: 1.18k]
  ------------------
 5352|       |        /* Shifting all the bits of 'a' out gives either -1 or 0. */
 5353|  1.09k|        return PyLong_FromLong(-a_negative);
 5354|  1.09k|    }
 5355|  1.18k|    z = long_alloc(newsize);
 5356|  1.18k|    if (z == NULL) {
  ------------------
  |  Branch (5356:9): [True: 0, False: 1.18k]
  ------------------
 5357|      0|        return NULL;
 5358|      0|    }
 5359|  1.18k|    hishift = PyLong_SHIFT - remshift;
  ------------------
  |  |   47|  1.18k|#define PyLong_SHIFT    30
  ------------------
 5360|       |
 5361|  1.18k|    accum = a->long_value.ob_digit[wordshift];
 5362|  1.18k|    if (a_negative) {
  ------------------
  |  Branch (5362:9): [True: 190, False: 992]
  ------------------
 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|    190|        _PyLong_SetSignAndDigitCount(z, -1, newsize);
 5375|       |
 5376|    190|        digit sticky = 0;
 5377|    429|        for (Py_ssize_t j = 0; j < wordshift; j++) {
  ------------------
  |  Branch (5377:32): [True: 239, False: 190]
  ------------------
 5378|    239|            sticky |= a->long_value.ob_digit[j];
 5379|    239|        }
 5380|    190|        accum += (PyLong_MASK >> hishift) + (digit)(sticky != 0);
  ------------------
  |  |   62|    190|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|    190|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|    190|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5381|    190|    }
 5382|       |
 5383|  1.18k|    accum >>= remshift;
 5384|  58.2k|    for (Py_ssize_t i = 0, j = wordshift + 1; j < size_a; i++, j++) {
  ------------------
  |  Branch (5384:47): [True: 57.0k, False: 1.18k]
  ------------------
 5385|  57.0k|        accum += (twodigits)a->long_value.ob_digit[j] << hishift;
 5386|  57.0k|        z->long_value.ob_digit[i] = (digit)(accum & PyLong_MASK);
  ------------------
  |  |   62|  57.0k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  57.0k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  57.0k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5387|  57.0k|        accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|  57.0k|#define PyLong_SHIFT    30
  ------------------
 5388|  57.0k|    }
 5389|  1.18k|    assert(accum <= PyLong_MASK);
  ------------------
  |  Branch (5389:5): [True: 1.18k, False: 0]
  ------------------
 5390|  1.18k|    z->long_value.ob_digit[newsize - 1] = (digit)accum;
 5391|       |
 5392|  1.18k|    z = maybe_small_long(long_normalize(z));
 5393|  1.18k|    return (PyObject *)z;
 5394|  1.18k|}
longobject.c:long_long:
 5731|   114k|{
 5732|   114k|    if (PyLong_CheckExact(v)) {
  ------------------
  |  |   14|   114k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_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: 110k, False: 3.40k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5733|   110k|        return Py_NewRef(v);
  ------------------
  |  |  550|   110k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   110k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   110k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5734|   110k|    }
 5735|  3.40k|    else {
 5736|  3.40k|        return _PyLong_Copy((PyLongObject *)v);
 5737|  3.40k|    }
 5738|   114k|}
longobject.c:long_lshift_int64:
 5523|  7.82k|{
 5524|  7.82k|    assert(shiftby >= 0);
  ------------------
  |  Branch (5524:5): [True: 7.82k, False: 0]
  ------------------
 5525|       |
 5526|  7.82k|    if (_PyLong_IsZero(a)) {
  ------------------
  |  Branch (5526:9): [True: 0, False: 7.82k]
  ------------------
 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|  7.82k|    Py_ssize_t wordshift = (Py_ssize_t)(shiftby / PyLong_SHIFT);
  ------------------
  |  |   47|  7.82k|#define PyLong_SHIFT    30
  ------------------
 5537|  7.82k|    digit remshift = (digit)(shiftby % PyLong_SHIFT);
  ------------------
  |  |   47|  7.82k|#define PyLong_SHIFT    30
  ------------------
 5538|  7.82k|    return long_lshift1(a, wordshift, remshift);
 5539|  7.82k|}
longobject.c:long_lshift1:
 5454|  7.82k|{
 5455|  7.82k|    PyLongObject *z = NULL;
 5456|  7.82k|    Py_ssize_t oldsize, newsize, i, j;
 5457|  7.82k|    twodigits accum;
 5458|       |
 5459|  7.82k|    if (wordshift == 0 && _PyLong_IsCompact(a)) {
  ------------------
  |  Branch (5459:9): [True: 882, False: 6.93k]
  |  Branch (5459:27): [True: 480, False: 402]
  ------------------
 5460|    480|        stwodigits m = medium_value(a);
  ------------------
  |  |   27|    480|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5461|       |        // bypass undefined shift operator behavior
 5462|    480|        stwodigits x = m < 0 ? -(-m << remshift) : m << remshift;
  ------------------
  |  Branch (5462:24): [True: 15, False: 465]
  ------------------
 5463|    480|        return (PyObject*)_PyLong_FromSTwoDigits(x);
 5464|    480|    }
 5465|       |
 5466|  7.34k|    oldsize = _PyLong_DigitCount(a);
 5467|  7.34k|    newsize = oldsize + wordshift;
 5468|  7.34k|    if (remshift)
  ------------------
  |  Branch (5468:9): [True: 3.44k, False: 3.89k]
  ------------------
 5469|  3.44k|        ++newsize;
 5470|  7.34k|    z = long_alloc(newsize);
 5471|  7.34k|    if (z == NULL)
  ------------------
  |  Branch (5471:9): [True: 0, False: 7.34k]
  ------------------
 5472|      0|        return NULL;
 5473|  7.34k|    if (_PyLong_IsNegative(a)) {
  ------------------
  |  Branch (5473:9): [True: 168, False: 7.17k]
  ------------------
 5474|    168|        assert(Py_REFCNT(z) == 1);
  ------------------
  |  Branch (5474:9): [True: 168, False: 0]
  ------------------
 5475|    168|        _PyLong_FlipSign(z);
 5476|    168|    }
 5477|   138k|    for (i = 0; i < wordshift; i++)
  ------------------
  |  Branch (5477:17): [True: 131k, False: 7.34k]
  ------------------
 5478|   131k|        z->long_value.ob_digit[i] = 0;
 5479|  7.34k|    accum = 0;
 5480|   492k|    for (j = 0; j < oldsize; i++, j++) {
  ------------------
  |  Branch (5480:17): [True: 484k, False: 7.34k]
  ------------------
 5481|   484k|        accum |= (twodigits)a->long_value.ob_digit[j] << remshift;
 5482|   484k|        z->long_value.ob_digit[i] = (digit)(accum & PyLong_MASK);
  ------------------
  |  |   62|   484k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|   484k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|   484k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5483|   484k|        accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|   484k|#define PyLong_SHIFT    30
  ------------------
 5484|   484k|    }
 5485|  7.34k|    if (remshift)
  ------------------
  |  Branch (5485:9): [True: 3.44k, False: 3.89k]
  ------------------
 5486|  3.44k|        z->long_value.ob_digit[newsize-1] = (digit)accum;
 5487|  3.89k|    else
 5488|  7.34k|        assert(!accum);
  ------------------
  |  Branch (5488:9): [True: 3.89k, False: 0]
  ------------------
 5489|  7.34k|    z = long_normalize(z);
 5490|  7.34k|    return (PyObject *) maybe_small_long(z);
 5491|  7.34k|}
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|   669k|{
 3604|   669k|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (3604:9): [True: 218k, False: 451k]
  ------------------
 3605|   218k|        return _PyLong_CompactValue(a) - _PyLong_CompactValue(b);
 3606|   218k|    }
 3607|   451k|    Py_ssize_t sign = _PyLong_SignedDigitCount(a) - _PyLong_SignedDigitCount(b);
 3608|   451k|    if (sign == 0) {
  ------------------
  |  Branch (3608:9): [True: 253k, False: 197k]
  ------------------
 3609|   253k|        Py_ssize_t i = _PyLong_DigitCount(a);
 3610|   253k|        sdigit diff = 0;
 3611|   921k|        while (--i >= 0) {
  ------------------
  |  Branch (3611:16): [True: 669k, False: 252k]
  ------------------
 3612|   669k|            diff = (sdigit) a->long_value.ob_digit[i] - (sdigit) b->long_value.ob_digit[i];
 3613|   669k|            if (diff) {
  ------------------
  |  Branch (3613:17): [True: 1.33k, False: 667k]
  ------------------
 3614|  1.33k|                break;
 3615|  1.33k|            }
 3616|   669k|        }
 3617|   253k|        sign = _PyLong_IsNegative(a) ? -diff : diff;
  ------------------
  |  Branch (3617:16): [True: 56.9k, False: 196k]
  ------------------
 3618|   253k|    }
 3619|   451k|    return sign;
 3620|   669k|}
longobject.c:l_mod:
 4558|   349k|{
 4559|   349k|    PyLongObject *mod;
 4560|       |
 4561|   349k|    assert(pmod);
  ------------------
  |  Branch (4561:5): [True: 349k, False: 0]
  ------------------
 4562|   349k|    if (_PyLong_DigitCount(v) == 1 && _PyLong_DigitCount(w) == 1) {
  ------------------
  |  Branch (4562:9): [True: 330k, False: 19.2k]
  |  Branch (4562:39): [True: 326k, False: 3.65k]
  ------------------
 4563|       |        /* Fast path for single-digit longs */
 4564|   326k|        *pmod = (PyLongObject *)fast_mod(v, w);
 4565|   326k|        return -(*pmod == NULL);
 4566|   326k|    }
 4567|  22.9k|    if (long_rem(v, w, &mod) < 0)
  ------------------
  |  Branch (4567:9): [True: 263, False: 22.6k]
  ------------------
 4568|    263|        return -1;
 4569|  22.6k|    if ((_PyLong_IsNegative(mod) && _PyLong_IsPositive(w)) ||
  ------------------
  |  Branch (4569:10): [True: 6.31k, False: 16.3k]
  |  Branch (4569:37): [True: 2.04k, False: 4.26k]
  ------------------
 4570|  20.6k|        (_PyLong_IsPositive(mod) && _PyLong_IsNegative(w))) {
  ------------------
  |  Branch (4570:10): [True: 6.46k, False: 14.1k]
  |  Branch (4570:37): [True: 3.37k, False: 3.09k]
  ------------------
 4571|  5.42k|        PyLongObject *temp;
 4572|  5.42k|        temp = long_add(mod, w);
 4573|  5.42k|        Py_SETREF(mod, temp);
  ------------------
  |  |  354|  5.42k|    do { \
  |  |  355|  5.42k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  5.42k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|  5.42k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  5.42k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|  5.42k|        *_tmp_dst_ptr = (src); \
  |  |  358|  5.42k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  5.42k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|  5.42k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 5.42k]
  |  |  ------------------
  ------------------
 4574|  5.42k|        if (mod == NULL)
  ------------------
  |  Branch (4574:13): [True: 0, False: 5.42k]
  ------------------
 4575|      0|            return -1;
 4576|  5.42k|    }
 4577|  22.6k|    *pmod = mod;
 4578|       |
 4579|  22.6k|    return 0;
 4580|  22.6k|}
longobject.c:fast_mod:
 4376|   326k|{
 4377|   326k|    sdigit left = a->long_value.ob_digit[0];
 4378|   326k|    sdigit right = b->long_value.ob_digit[0];
 4379|   326k|    sdigit mod;
 4380|       |
 4381|   326k|    assert(_PyLong_DigitCount(a) == 1);
  ------------------
  |  Branch (4381:5): [True: 326k, False: 0]
  ------------------
 4382|   326k|    assert(_PyLong_DigitCount(b) == 1);
  ------------------
  |  Branch (4382:5): [True: 326k, False: 0]
  ------------------
 4383|   326k|    sdigit sign = _PyLong_CompactSign(b);
 4384|   326k|    if (_PyLong_SameSign(a, b)) {
  ------------------
  |  Branch (4384:9): [True: 323k, False: 3.45k]
  ------------------
 4385|   323k|        mod = left % right;
 4386|   323k|    }
 4387|  3.45k|    else {
 4388|       |        /* Either 'a' or 'b' is negative. */
 4389|  3.45k|        mod = right - 1 - (left - 1) % right;
 4390|  3.45k|    }
 4391|       |
 4392|   326k|    return PyLong_FromLong(mod * sign);
 4393|   326k|}
longobject.c:long_rem:
 3279|  22.9k|{
 3280|  22.9k|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3281|       |
 3282|  22.9k|    if (size_b == 0) {
  ------------------
  |  Branch (3282:9): [True: 263, False: 22.6k]
  ------------------
 3283|    263|        PyErr_SetString(PyExc_ZeroDivisionError,
 3284|    263|                        "division by zero");
 3285|    263|        return -1;
 3286|    263|    }
 3287|  22.6k|    if (size_a < size_b ||
  ------------------
  |  Branch (3287:9): [True: 9.06k, False: 13.6k]
  ------------------
 3288|  13.6k|        (size_a == size_b &&
  ------------------
  |  Branch (3288:10): [True: 6.07k, False: 7.54k]
  ------------------
 3289|  10.3k|         a->long_value.ob_digit[size_a-1] < b->long_value.ob_digit[size_b-1])) {
  ------------------
  |  Branch (3289:10): [True: 1.33k, False: 4.74k]
  ------------------
 3290|       |        /* |a| < |b|. */
 3291|  10.3k|        *prem = (PyLongObject *)long_long((PyObject *)a);
 3292|  10.3k|        return -(*prem == NULL);
 3293|  10.3k|    }
 3294|  12.2k|    if (size_b == 1) {
  ------------------
  |  Branch (3294:9): [True: 6.66k, False: 5.62k]
  ------------------
 3295|  6.66k|        *prem = rem1(a, b->long_value.ob_digit[0]);
 3296|  6.66k|        if (*prem == NULL)
  ------------------
  |  Branch (3296:13): [True: 0, False: 6.66k]
  ------------------
 3297|      0|            return -1;
 3298|  6.66k|    }
 3299|  5.62k|    else {
 3300|       |        /* Slow path using divrem. */
 3301|  5.62k|        Py_XDECREF(x_divrem(a, b, prem));
  ------------------
  |  |  524|  5.62k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3302|  5.62k|        *prem = maybe_small_long(*prem);
 3303|  5.62k|        if (*prem == NULL)
  ------------------
  |  Branch (3303:13): [True: 0, False: 5.62k]
  ------------------
 3304|      0|            return -1;
 3305|  5.62k|    }
 3306|       |    /* Set the sign. */
 3307|  12.2k|    if (_PyLong_IsNegative(a) && !_PyLong_IsZero(*prem)) {
  ------------------
  |  Branch (3307:9): [True: 7.11k, False: 5.17k]
  |  Branch (3307:34): [True: 4.51k, False: 2.59k]
  ------------------
 3308|  4.51k|        _PyLong_Negate(prem);
 3309|  4.51k|        if (*prem == NULL) {
  ------------------
  |  Branch (3309:13): [True: 0, False: 4.51k]
  ------------------
 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|  4.51k|    }
 3314|  12.2k|    return 0;
 3315|  12.2k|}
longobject.c:rem1:
 2015|  6.66k|{
 2016|  6.66k|    const Py_ssize_t size = _PyLong_DigitCount(a);
 2017|       |
 2018|  6.66k|    assert(n > 0 && n <= PyLong_MASK);
  ------------------
  |  Branch (2018:5): [True: 6.66k, False: 0]
  |  Branch (2018:5): [True: 6.66k, False: 0]
  ------------------
 2019|  6.66k|    return (PyLongObject *)PyLong_FromLong(
 2020|  6.66k|        (long)inplace_rem1(a->long_value.ob_digit, size, n)
 2021|  6.66k|    );
 2022|  6.66k|}
longobject.c:inplace_rem1:
 2000|  6.66k|{
 2001|  6.66k|    twodigits rem = 0;
 2002|       |
 2003|  6.66k|    assert(n > 0 && n <= PyLong_MASK);
  ------------------
  |  Branch (2003:5): [True: 6.66k, False: 0]
  |  Branch (2003:5): [True: 6.66k, False: 0]
  ------------------
 2004|  25.6k|    while (--size >= 0)
  ------------------
  |  Branch (2004:12): [True: 18.9k, False: 6.66k]
  ------------------
 2005|  18.9k|        rem = ((rem << PyLong_SHIFT) | pin[size]) % n;
  ------------------
  |  |   47|  18.9k|#define PyLong_SHIFT    30
  ------------------
 2006|  6.66k|    return (digit)rem;
 2007|  6.66k|}
longobject.c:x_divrem:
 3322|  29.7k|{
 3323|  29.7k|    PyLongObject *v, *w, *a;
 3324|  29.7k|    Py_ssize_t i, k, size_v, size_w;
 3325|  29.7k|    int d;
 3326|  29.7k|    digit wm1, wm2, carry, q, r, vtop, *v0, *vk, *w0, *ak;
 3327|  29.7k|    twodigits vv;
 3328|  29.7k|    sdigit zhi;
 3329|  29.7k|    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|  29.7k|    size_v = _PyLong_DigitCount(v1);
 3339|  29.7k|    size_w = _PyLong_DigitCount(w1);
 3340|  29.7k|    assert(size_v >= size_w && size_w >= 2); /* Assert checks by div() */
  ------------------
  |  Branch (3340:5): [True: 29.7k, False: 0]
  |  Branch (3340:5): [True: 29.7k, False: 0]
  ------------------
 3341|  29.7k|    v = long_alloc(size_v+1);
 3342|  29.7k|    if (v == NULL) {
  ------------------
  |  Branch (3342:9): [True: 0, False: 29.7k]
  ------------------
 3343|      0|        *prem = NULL;
 3344|      0|        return NULL;
 3345|      0|    }
 3346|  29.7k|    w = long_alloc(size_w);
 3347|  29.7k|    if (w == NULL) {
  ------------------
  |  Branch (3347:9): [True: 0, False: 29.7k]
  ------------------
 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|  29.7k|    d = PyLong_SHIFT - bit_length_digit(w1->long_value.ob_digit[size_w-1]);
  ------------------
  |  |   47|  29.7k|#define PyLong_SHIFT    30
  ------------------
 3356|  29.7k|    carry = v_lshift(w->long_value.ob_digit, w1->long_value.ob_digit, size_w, d);
 3357|  29.7k|    assert(carry == 0);
  ------------------
  |  Branch (3357:5): [True: 29.7k, False: 0]
  ------------------
 3358|  29.7k|    carry = v_lshift(v->long_value.ob_digit, v1->long_value.ob_digit, size_v, d);
 3359|  29.7k|    if (carry != 0 || v->long_value.ob_digit[size_v-1] >= w->long_value.ob_digit[size_w-1]) {
  ------------------
  |  Branch (3359:9): [True: 13.6k, False: 16.0k]
  |  Branch (3359:23): [True: 755, False: 15.2k]
  ------------------
 3360|  14.4k|        v->long_value.ob_digit[size_v] = carry;
 3361|  14.4k|        size_v++;
 3362|  14.4k|    }
 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|  29.7k|    k = size_v - size_w;
 3367|  29.7k|    assert(k >= 0);
  ------------------
  |  Branch (3367:5): [True: 29.7k, False: 0]
  ------------------
 3368|  29.7k|    a = long_alloc(k);
 3369|  29.7k|    if (a == NULL) {
  ------------------
  |  Branch (3369:9): [True: 0, False: 29.7k]
  ------------------
 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|  29.7k|    a->long_value.ob_digit[0] = 0;
 3376|  29.7k|    v0 = v->long_value.ob_digit;
 3377|  29.7k|    w0 = w->long_value.ob_digit;
 3378|  29.7k|    wm1 = w0[size_w-1];
 3379|  29.7k|    wm2 = w0[size_w-2];
 3380|  94.1k|    for (vk = v0+k, ak = a->long_value.ob_digit + k; vk-- > v0;) {
  ------------------
  |  Branch (3380:54): [True: 64.4k, False: 29.7k]
  ------------------
 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|  64.4k|        SIGCHECK({
  ------------------
  |  |  117|  64.4k|    do {                                        \
  |  |  118|  64.4k|        if (PyErr_CheckSignals()) PyTryBlock    \
  |  |  ------------------
  |  |  |  Branch (118:13): [True: 0, False: 64.4k]
  |  |  ------------------
  |  |  119|  64.4k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (119:13): [Folded, False: 64.4k]
  |  |  ------------------
  ------------------
 3385|  64.4k|                Py_DECREF(a);
 3386|  64.4k|                Py_DECREF(w);
 3387|  64.4k|                Py_DECREF(v);
 3388|  64.4k|                *prem = NULL;
 3389|  64.4k|                return NULL;
 3390|  64.4k|            });
 3391|       |
 3392|       |        /* estimate quotient digit q; may overestimate by 1 (rare) */
 3393|  64.4k|        vtop = vk[size_w];
 3394|  64.4k|        assert(vtop <= wm1);
  ------------------
  |  Branch (3394:9): [True: 64.4k, False: 0]
  ------------------
 3395|  64.4k|        vv = ((twodigits)vtop << PyLong_SHIFT) | vk[size_w-1];
  ------------------
  |  |   47|  64.4k|#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|  64.4k|        q = (digit)(vv / wm1);
 3404|  64.4k|        r = (digit)(vv % wm1);
 3405|  80.3k|        while ((twodigits)wm2 * q > (((twodigits)r << PyLong_SHIFT)
  ------------------
  |  |   47|  80.3k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (3405:16): [True: 18.6k, False: 61.6k]
  ------------------
 3406|  80.3k|                                     | vk[size_w-2])) {
 3407|  18.6k|            --q;
 3408|  18.6k|            r += wm1;
 3409|  18.6k|            if (r >= PyLong_BASE)
  ------------------
  |  |   61|  18.6k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  18.6k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (3409:17): [True: 2.73k, False: 15.9k]
  ------------------
 3410|  2.73k|                break;
 3411|  18.6k|        }
 3412|  64.4k|        assert(q <= PyLong_BASE);
  ------------------
  |  Branch (3412:9): [True: 64.4k, False: 0]
  ------------------
 3413|       |
 3414|       |        /* subtract q*w0[0:size_w] from vk[0:size_w+1] */
 3415|  64.4k|        zhi = 0;
 3416|  1.12M|        for (i = 0; i < size_w; ++i) {
  ------------------
  |  Branch (3416:21): [True: 1.06M, False: 64.4k]
  ------------------
 3417|       |            /* invariants: -PyLong_BASE <= -q <= zhi <= 0;
 3418|       |               -PyLong_BASE * q <= z < PyLong_BASE */
 3419|  1.06M|            z = (sdigit)vk[i] + zhi -
 3420|  1.06M|                (stwodigits)q * (stwodigits)w0[i];
 3421|  1.06M|            vk[i] = (digit)z & PyLong_MASK;
  ------------------
  |  |   62|  1.06M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  1.06M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  1.06M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3422|  1.06M|            zhi = (sdigit)Py_ARITHMETIC_RIGHT_SHIFT(stwodigits,
  ------------------
  |  |  226|  1.06M|#define Py_ARITHMETIC_RIGHT_SHIFT(TYPE, I, J) ((I) >> (J))
  ------------------
 3423|  1.06M|                                                    z, PyLong_SHIFT);
 3424|  1.06M|        }
 3425|       |
 3426|       |        /* add w back if q was too large (this branch taken rarely) */
 3427|  64.4k|        assert((sdigit)vtop + zhi == -1 || (sdigit)vtop + zhi == 0);
  ------------------
  |  Branch (3427:9): [True: 584, False: 63.8k]
  |  Branch (3427:9): [True: 63.8k, False: 0]
  ------------------
 3428|  64.4k|        if ((sdigit)vtop + zhi < 0) {
  ------------------
  |  Branch (3428:13): [True: 584, False: 63.8k]
  ------------------
 3429|    584|            carry = 0;
 3430|  3.39k|            for (i = 0; i < size_w; ++i) {
  ------------------
  |  Branch (3430:25): [True: 2.80k, False: 584]
  ------------------
 3431|  2.80k|                carry += vk[i] + w0[i];
 3432|  2.80k|                vk[i] = carry & PyLong_MASK;
  ------------------
  |  |   62|  2.80k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  2.80k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  2.80k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3433|  2.80k|                carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|  2.80k|#define PyLong_SHIFT    30
  ------------------
 3434|  2.80k|            }
 3435|    584|            --q;
 3436|    584|        }
 3437|       |
 3438|       |        /* store quotient digit */
 3439|  64.4k|        assert(q < PyLong_BASE);
  ------------------
  |  Branch (3439:9): [True: 64.4k, False: 0]
  ------------------
 3440|  64.4k|        *--ak = q;
 3441|  64.4k|    }
 3442|       |
 3443|       |    /* unshift remainder; we reuse w to store the result */
 3444|  29.7k|    carry = v_rshift(w0, v0, size_w, d);
 3445|  29.7k|    assert(carry==0);
  ------------------
  |  Branch (3445:5): [True: 29.7k, False: 0]
  ------------------
 3446|  29.7k|    Py_DECREF(v);
  ------------------
  |  |  430|  29.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  29.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3447|       |
 3448|  29.7k|    *prem = long_normalize(w);
 3449|  29.7k|    return long_normalize(a);
 3450|  29.7k|}
longobject.c:long_divrem:
 3216|  91.5k|{
 3217|  91.5k|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3218|  91.5k|    PyLongObject *z;
 3219|       |
 3220|  91.5k|    if (size_b == 0) {
  ------------------
  |  Branch (3220:9): [True: 108, False: 91.4k]
  ------------------
 3221|    108|        PyErr_SetString(PyExc_ZeroDivisionError, "division by zero");
 3222|    108|        return -1;
 3223|    108|    }
 3224|  91.4k|    if (size_a < size_b ||
  ------------------
  |  Branch (3224:9): [True: 77.4k, False: 14.0k]
  ------------------
 3225|  14.0k|        (size_a == size_b &&
  ------------------
  |  Branch (3225:10): [True: 1.85k, False: 12.1k]
  ------------------
 3226|  77.8k|         a->long_value.ob_digit[size_a-1] < b->long_value.ob_digit[size_b-1])) {
  ------------------
  |  Branch (3226:10): [True: 442, False: 1.41k]
  ------------------
 3227|       |        /* |a| < |b|. */
 3228|  77.8k|        *prem = (PyLongObject *)long_long((PyObject *)a);
 3229|  77.8k|        if (*prem == NULL) {
  ------------------
  |  Branch (3229:13): [True: 0, False: 77.8k]
  ------------------
 3230|      0|            return -1;
 3231|      0|        }
 3232|  77.8k|        *pdiv = (PyLongObject*)_PyLong_GetZero();
 3233|  77.8k|        return 0;
 3234|  77.8k|    }
 3235|  13.5k|    if (size_b == 1) {
  ------------------
  |  Branch (3235:9): [True: 9.35k, False: 4.20k]
  ------------------
 3236|  9.35k|        digit rem = 0;
 3237|  9.35k|        z = divrem1(a, b->long_value.ob_digit[0], &rem);
 3238|  9.35k|        if (z == NULL)
  ------------------
  |  Branch (3238:13): [True: 0, False: 9.35k]
  ------------------
 3239|      0|            return -1;
 3240|  9.35k|        *prem = (PyLongObject *) PyLong_FromLong((long)rem);
 3241|  9.35k|        if (*prem == NULL) {
  ------------------
  |  Branch (3241:13): [True: 0, False: 9.35k]
  ------------------
 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|  9.35k|    }
 3246|  4.20k|    else {
 3247|  4.20k|        z = x_divrem(a, b, prem);
 3248|  4.20k|        *prem = maybe_small_long(*prem);
 3249|  4.20k|        if (z == NULL)
  ------------------
  |  Branch (3249:13): [True: 0, False: 4.20k]
  ------------------
 3250|      0|            return -1;
 3251|  4.20k|    }
 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|  13.5k|    if ((_PyLong_IsNegative(a)) != (_PyLong_IsNegative(b))) {
  ------------------
  |  Branch (3256:9): [True: 12.4k, False: 1.08k]
  ------------------
 3257|  12.4k|        _PyLong_Negate(&z);
 3258|  12.4k|        if (z == NULL) {
  ------------------
  |  Branch (3258:13): [True: 0, False: 12.4k]
  ------------------
 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|  12.4k|    }
 3263|  13.5k|    if (_PyLong_IsNegative(a) && !_PyLong_IsZero(*prem)) {
  ------------------
  |  Branch (3263:9): [True: 12.3k, False: 1.25k]
  |  Branch (3263:34): [True: 8.21k, False: 4.09k]
  ------------------
 3264|  8.21k|        _PyLong_Negate(prem);
 3265|  8.21k|        if (*prem == NULL) {
  ------------------
  |  Branch (3265:13): [True: 0, False: 8.21k]
  ------------------
 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|  8.21k|    }
 3271|  13.5k|    *pdiv = maybe_small_long(z);
 3272|  13.5k|    return 0;
 3273|  13.5k|}
longobject.c:divrem1:
 1983|  9.35k|{
 1984|  9.35k|    const Py_ssize_t size = _PyLong_DigitCount(a);
 1985|  9.35k|    PyLongObject *z;
 1986|       |
 1987|  9.35k|    assert(n > 0 && n <= PyLong_MASK);
  ------------------
  |  Branch (1987:5): [True: 9.35k, False: 0]
  |  Branch (1987:5): [True: 9.35k, False: 0]
  ------------------
 1988|  9.35k|    z = long_alloc(size);
 1989|  9.35k|    if (z == NULL)
  ------------------
  |  Branch (1989:9): [True: 0, False: 9.35k]
  ------------------
 1990|      0|        return NULL;
 1991|  9.35k|    *prem = inplace_divrem1(z->long_value.ob_digit, a->long_value.ob_digit, size, n);
 1992|  9.35k|    return long_normalize(z);
 1993|  9.35k|}
longobject.c:inplace_divrem1:
 1961|  16.3k|{
 1962|  16.3k|    digit remainder = 0;
 1963|       |
 1964|  16.3k|    assert(n > 0 && n <= PyLong_MASK);
  ------------------
  |  Branch (1964:5): [True: 16.3k, False: 0]
  |  Branch (1964:5): [True: 16.3k, False: 0]
  ------------------
 1965|  57.4k|    while (--size >= 0) {
  ------------------
  |  Branch (1965:12): [True: 41.0k, False: 16.3k]
  ------------------
 1966|  41.0k|        twodigits dividend;
 1967|  41.0k|        dividend = ((twodigits)remainder << PyLong_SHIFT) | pin[size];
  ------------------
  |  |   47|  41.0k|#define PyLong_SHIFT    30
  ------------------
 1968|  41.0k|        digit quotient;
 1969|  41.0k|        quotient = (digit)(dividend / n);
 1970|  41.0k|        remainder = dividend % n;
 1971|  41.0k|        pout[size] = quotient;
 1972|  41.0k|    }
 1973|  16.3k|    return remainder;
 1974|  16.3k|}
longobject.c:long_neg:
 5267|   119k|{
 5268|   119k|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (5268:9): [True: 82.9k, False: 36.1k]
  ------------------
 5269|  82.9k|        return _PyLong_FromSTwoDigits(-medium_value(v));
  ------------------
  |  |   27|  82.9k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5270|  82.9k|    }
 5271|       |
 5272|  36.1k|    PyLongObject *z = (PyLongObject *)_PyLong_Copy(v);
 5273|  36.1k|    if (z != NULL) {
  ------------------
  |  Branch (5273:9): [True: 36.1k, False: 0]
  ------------------
 5274|  36.1k|        _PyLong_FlipSign(z);
 5275|  36.1k|    }
 5276|  36.1k|    return z;
 5277|   119k|}
longobject.c:long_sub:
 3884|  32.1k|{
 3885|  32.1k|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (3885:9): [True: 17.7k, False: 14.3k]
  ------------------
 3886|  17.7k|        return _PyLong_FromSTwoDigits(medium_value(a) - medium_value(b));
  ------------------
  |  |   27|  17.7k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return _PyLong_FromSTwoDigits(medium_value(a) - medium_value(b));
  ------------------
  |  |   27|  17.7k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3887|  17.7k|    }
 3888|       |
 3889|  14.3k|    PyLongObject *z;
 3890|  14.3k|    if (_PyLong_IsNegative(a)) {
  ------------------
  |  Branch (3890:9): [True: 8.34k, False: 6.03k]
  ------------------
 3891|  8.34k|        if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (3891:13): [True: 667, False: 7.67k]
  ------------------
 3892|    667|            z = x_sub(b, a);
 3893|    667|        }
 3894|  7.67k|        else {
 3895|  7.67k|            z = x_add(a, b);
 3896|  7.67k|            if (z != NULL) {
  ------------------
  |  Branch (3896:17): [True: 7.67k, False: 0]
  ------------------
 3897|  7.67k|                assert(_PyLong_IsZero(z) || Py_REFCNT(z) == 1);
  ------------------
  |  Branch (3897:17): [True: 0, False: 7.67k]
  |  Branch (3897:17): [True: 7.67k, False: 0]
  ------------------
 3898|  7.67k|                _PyLong_FlipSign(z);
 3899|  7.67k|            }
 3900|  7.67k|        }
 3901|  8.34k|    }
 3902|  6.03k|    else {
 3903|  6.03k|        if (_PyLong_IsNegative(b))
  ------------------
  |  Branch (3903:13): [True: 1.76k, False: 4.26k]
  ------------------
 3904|  1.76k|            z = x_add(a, b);
 3905|  4.26k|        else
 3906|  4.26k|            z = x_sub(a, b);
 3907|  6.03k|    }
 3908|  14.3k|    return z;
 3909|  14.3k|}
longobject.c:x_sub:
 3781|  15.1k|{
 3782|  15.1k|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3783|  15.1k|    PyLongObject *z;
 3784|  15.1k|    Py_ssize_t i;
 3785|  15.1k|    int sign = 1;
 3786|  15.1k|    digit borrow = 0;
 3787|       |
 3788|       |    /* Ensure a is the larger of the two: */
 3789|  15.1k|    if (size_a < size_b) {
  ------------------
  |  Branch (3789:9): [True: 4.75k, False: 10.4k]
  ------------------
 3790|  4.75k|        sign = -1;
 3791|  4.75k|        { PyLongObject *temp = a; a = b; b = temp; }
 3792|  4.75k|        { Py_ssize_t size_temp = size_a;
 3793|  4.75k|            size_a = size_b;
 3794|  4.75k|            size_b = size_temp; }
 3795|  4.75k|    }
 3796|  10.4k|    else if (size_a == size_b) {
  ------------------
  |  Branch (3796:14): [True: 5.10k, False: 5.30k]
  ------------------
 3797|       |        /* Find highest digit where a and b differ: */
 3798|  5.10k|        i = size_a;
 3799|  6.43k|        while (--i >= 0 && a->long_value.ob_digit[i] == b->long_value.ob_digit[i])
  ------------------
  |  Branch (3799:16): [True: 6.10k, False: 322]
  |  Branch (3799:28): [True: 1.32k, False: 4.78k]
  ------------------
 3800|  1.32k|            ;
 3801|  5.10k|        if (i < 0)
  ------------------
  |  Branch (3801:13): [True: 322, False: 4.78k]
  ------------------
 3802|    322|            return (PyLongObject *)PyLong_FromLong(0);
 3803|  4.78k|        if (a->long_value.ob_digit[i] < b->long_value.ob_digit[i]) {
  ------------------
  |  Branch (3803:13): [True: 652, False: 4.13k]
  ------------------
 3804|    652|            sign = -1;
 3805|    652|            { PyLongObject *temp = a; a = b; b = temp; }
 3806|    652|        }
 3807|  4.78k|        size_a = size_b = i+1;
 3808|  4.78k|    }
 3809|  14.8k|    z = long_alloc(size_a);
 3810|  14.8k|    if (z == NULL)
  ------------------
  |  Branch (3810:9): [True: 0, False: 14.8k]
  ------------------
 3811|      0|        return NULL;
 3812|  65.4k|    for (i = 0; i < size_b; ++i) {
  ------------------
  |  Branch (3812:17): [True: 50.6k, False: 14.8k]
  ------------------
 3813|       |        /* The following assumes unsigned arithmetic
 3814|       |           works module 2**N for some N>PyLong_SHIFT. */
 3815|  50.6k|        borrow = a->long_value.ob_digit[i] - b->long_value.ob_digit[i] - borrow;
 3816|  50.6k|        z->long_value.ob_digit[i] = borrow & PyLong_MASK;
  ------------------
  |  |   62|  50.6k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  50.6k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  50.6k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3817|  50.6k|        borrow >>= PyLong_SHIFT;
  ------------------
  |  |   47|  50.6k|#define PyLong_SHIFT    30
  ------------------
 3818|  50.6k|        borrow &= 1; /* Keep only one sign bit */
 3819|  50.6k|    }
 3820|  49.5k|    for (; i < size_a; ++i) {
  ------------------
  |  Branch (3820:12): [True: 34.7k, False: 14.8k]
  ------------------
 3821|  34.7k|        borrow = a->long_value.ob_digit[i] - borrow;
 3822|  34.7k|        z->long_value.ob_digit[i] = borrow & PyLong_MASK;
  ------------------
  |  |   62|  34.7k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  34.7k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  34.7k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3823|  34.7k|        borrow >>= PyLong_SHIFT;
  ------------------
  |  |   47|  34.7k|#define PyLong_SHIFT    30
  ------------------
 3824|  34.7k|        borrow &= 1; /* Keep only one sign bit */
 3825|  34.7k|    }
 3826|  14.8k|    assert(borrow == 0);
  ------------------
  |  Branch (3826:5): [True: 14.8k, False: 0]
  ------------------
 3827|  14.8k|    if (sign < 0) {
  ------------------
  |  Branch (3827:9): [True: 5.40k, False: 9.43k]
  ------------------
 3828|  5.40k|        _PyLong_FlipSign(z);
 3829|  5.40k|    }
 3830|  14.8k|    return maybe_small_long(long_normalize(z));
 3831|  14.8k|}
longobject.c:x_add:
 3747|  44.2k|{
 3748|  44.2k|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3749|  44.2k|    PyLongObject *z;
 3750|  44.2k|    Py_ssize_t i;
 3751|  44.2k|    digit carry = 0;
 3752|       |
 3753|       |    /* Ensure a is the larger of the two: */
 3754|  44.2k|    if (size_a < size_b) {
  ------------------
  |  Branch (3754:9): [True: 6.25k, False: 37.9k]
  ------------------
 3755|  6.25k|        { PyLongObject *temp = a; a = b; b = temp; }
 3756|  6.25k|        { Py_ssize_t size_temp = size_a;
 3757|  6.25k|            size_a = size_b;
 3758|  6.25k|            size_b = size_temp; }
 3759|  6.25k|    }
 3760|  44.2k|    z = long_alloc(size_a+1);
 3761|  44.2k|    if (z == NULL)
  ------------------
  |  Branch (3761:9): [True: 0, False: 44.2k]
  ------------------
 3762|      0|        return NULL;
 3763|  1.62M|    for (i = 0; i < size_b; ++i) {
  ------------------
  |  Branch (3763:17): [True: 1.57M, False: 44.2k]
  ------------------
 3764|  1.57M|        carry += a->long_value.ob_digit[i] + b->long_value.ob_digit[i];
 3765|  1.57M|        z->long_value.ob_digit[i] = carry & PyLong_MASK;
  ------------------
  |  |   62|  1.57M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  1.57M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  1.57M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3766|  1.57M|        carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|  1.57M|#define PyLong_SHIFT    30
  ------------------
 3767|  1.57M|    }
 3768|   578k|    for (; i < size_a; ++i) {
  ------------------
  |  Branch (3768:12): [True: 534k, False: 44.2k]
  ------------------
 3769|   534k|        carry += a->long_value.ob_digit[i];
 3770|   534k|        z->long_value.ob_digit[i] = carry & PyLong_MASK;
  ------------------
  |  |   62|   534k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|   534k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|   534k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3771|   534k|        carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|   534k|#define PyLong_SHIFT    30
  ------------------
 3772|   534k|    }
 3773|  44.2k|    z->long_value.ob_digit[i] = carry;
 3774|  44.2k|    return long_normalize(z);
 3775|  44.2k|}
longobject.c:long_add:
 3835|  62.5k|{
 3836|  62.5k|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (3836:9): [True: 29.2k, False: 33.3k]
  ------------------
 3837|  29.2k|        stwodigits z = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|  29.2k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      stwodigits z = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|  29.2k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3838|  29.2k|        return _PyLong_FromSTwoDigits(z);
 3839|  29.2k|    }
 3840|       |
 3841|  33.3k|    PyLongObject *z;
 3842|  33.3k|    if (_PyLong_IsNegative(a)) {
  ------------------
  |  Branch (3842:9): [True: 7.26k, False: 26.0k]
  ------------------
 3843|  7.26k|        if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (3843:13): [True: 667, False: 6.59k]
  ------------------
 3844|    667|            z = x_add(a, b);
 3845|    667|            if (z != NULL) {
  ------------------
  |  Branch (3845:17): [True: 667, 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|    667|                assert(Py_REFCNT(z) == 1);
  ------------------
  |  Branch (3850:17): [True: 667, False: 0]
  ------------------
 3851|    667|                _PyLong_FlipSign(z);
 3852|    667|            }
 3853|    667|        }
 3854|  6.59k|        else
 3855|  6.59k|            z = x_sub(b, a);
 3856|  7.26k|    }
 3857|  26.0k|    else {
 3858|  26.0k|        if (_PyLong_IsNegative(b))
  ------------------
  |  Branch (3858:13): [True: 3.64k, False: 22.4k]
  ------------------
 3859|  3.64k|            z = x_sub(a, b);
 3860|  22.4k|        else
 3861|  22.4k|            z = x_add(a, b);
 3862|  26.0k|    }
 3863|  33.3k|    return z;
 3864|  33.3k|}
longobject.c:long_dealloc:
 3652|  5.06M|{
 3653|  5.06M|    if (_PyLong_IsSmallInt((PyLongObject *)self)) {
  ------------------
  |  Branch (3653:9): [True: 0, False: 5.06M]
  ------------------
 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|  5.06M|    if (PyLong_CheckExact(self) && _PyLong_IsCompact((PyLongObject *)self)) {
  ------------------
  |  |   14|  5.06M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  10.1M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.06M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 5.06M, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3663:36): [True: 4.36M, False: 697k]
  ------------------
 3664|  4.36M|        _Py_FREELIST_FREE(ints, self, PyObject_Free);
  ------------------
  |  |   35|  4.36M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  4.36M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.36M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  4.36M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   20|  4.36M|#  define Py_ints_MAXFREELIST 100
  |  |  ------------------
  ------------------
 3665|  4.36M|        return;
 3666|  4.36M|    }
 3667|   697k|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|   697k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   697k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   697k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3668|   697k|}
longobject.c:long_to_decimal_string:
 2321|   102k|{
 2322|   102k|    PyObject *v;
 2323|   102k|    if (long_to_decimal_string_internal(aa, &v, NULL, NULL, NULL) == -1)
  ------------------
  |  Branch (2323:9): [True: 0, False: 102k]
  ------------------
 2324|      0|        return NULL;
 2325|   102k|    return v;
 2326|   102k|}
longobject.c:long_add_method:
 3876|  50.7k|{
 3877|  50.7k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  50.7k|    do {                                                \
  |  | 1845|  50.7k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  50.7k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   101k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  50.4k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  50.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 265, False: 50.4k]
  |  |  |  Branch (1845:33): [True: 8.88k, False: 41.6k]
  |  |  ------------------
  |  | 1846|  50.7k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|  9.14k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  9.14k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  50.7k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 41.6k]
  |  |  ------------------
  ------------------
 3878|  41.6k|    return (PyObject*)long_add((PyLongObject*)a, (PyLongObject*)b);
 3879|  50.7k|}
longobject.c:long_sub_method:
 3921|  28.2k|{
 3922|  28.2k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  28.2k|    do {                                                \
  |  | 1845|  28.2k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  28.2k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  56.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  27.7k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  27.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 462, False: 27.7k]
  |  |  |  Branch (1845:33): [True: 5.03k, False: 22.7k]
  |  |  ------------------
  |  | 1846|  28.2k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|  5.49k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  5.49k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  28.2k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 22.7k]
  |  |  ------------------
  ------------------
 3923|  22.7k|    return (PyObject*)long_sub((PyLongObject*)a, (PyLongObject*)b);
 3924|  28.2k|}
longobject.c:long_mul_method:
 4368|   144k|{
 4369|   144k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|   144k|    do {                                                \
  |  | 1845|   144k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|   144k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   288k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|   144k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   144k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 38, False: 144k]
  |  |  |  Branch (1845:33): [True: 57.3k, False: 86.8k]
  |  |  ------------------
  |  | 1846|   144k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|  57.3k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  57.3k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|   144k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 86.8k]
  |  |  ------------------
  ------------------
 4370|  86.8k|    return (PyObject*)long_mul((PyLongObject*)a, (PyLongObject*)b);
 4371|   144k|}
longobject.c:long_mul:
 4341|   640k|{
 4342|       |    /* fast path for single-digit multiplication */
 4343|   640k|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (4343:9): [True: 549k, False: 90.9k]
  ------------------
 4344|   549k|        stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|   549k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|   549k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 4345|   549k|        return _PyLong_FromSTwoDigits(v);
 4346|   549k|    }
 4347|       |
 4348|  90.9k|    PyLongObject *z = k_mul(a, b);
 4349|       |    /* Negate if exactly one of the inputs is negative. */
 4350|  90.9k|    if (!_PyLong_SameSign(a, b) && z) {
  ------------------
  |  Branch (4350:9): [True: 7.82k, False: 83.0k]
  |  Branch (4350:36): [True: 7.82k, False: 0]
  ------------------
 4351|  7.82k|        _PyLong_Negate(&z);
 4352|  7.82k|    }
 4353|  90.9k|    return z;
 4354|   640k|}
longobject.c:k_mul:
 4071|   109k|{
 4072|   109k|    Py_ssize_t asize = _PyLong_DigitCount(a);
 4073|   109k|    Py_ssize_t bsize = _PyLong_DigitCount(b);
 4074|   109k|    PyLongObject *ah = NULL;
 4075|   109k|    PyLongObject *al = NULL;
 4076|   109k|    PyLongObject *bh = NULL;
 4077|   109k|    PyLongObject *bl = NULL;
 4078|   109k|    PyLongObject *ret = NULL;
 4079|   109k|    PyLongObject *t1, *t2, *t3;
 4080|   109k|    Py_ssize_t shift;           /* the number of digits we split off */
 4081|   109k|    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|   109k|    if (asize > bsize) {
  ------------------
  |  Branch (4094:9): [True: 38.9k, False: 70.2k]
  ------------------
 4095|  38.9k|        t1 = a;
 4096|  38.9k|        a = b;
 4097|  38.9k|        b = t1;
 4098|       |
 4099|  38.9k|        i = asize;
 4100|  38.9k|        asize = bsize;
 4101|  38.9k|        bsize = i;
 4102|  38.9k|    }
 4103|       |
 4104|       |    /* Use gradeschool math when either number is too small. */
 4105|   109k|    i = a == b ? KARATSUBA_SQUARE_CUTOFF : KARATSUBA_CUTOFF;
  ------------------
  |  |   85|  31.8k|#define KARATSUBA_SQUARE_CUTOFF (2 * KARATSUBA_CUTOFF)
  |  |  ------------------
  |  |  |  |   84|  31.8k|#define KARATSUBA_CUTOFF 70
  |  |  ------------------
  ------------------
                  i = a == b ? KARATSUBA_SQUARE_CUTOFF : KARATSUBA_CUTOFF;
  ------------------
  |  |   84|   186k|#define KARATSUBA_CUTOFF 70
  ------------------
  |  Branch (4105:9): [True: 31.8k, False: 77.3k]
  ------------------
 4106|   109k|    if (asize <= i) {
  ------------------
  |  Branch (4106:9): [True: 103k, False: 6.08k]
  ------------------
 4107|   103k|        if (asize == 0)
  ------------------
  |  Branch (4107:13): [True: 1.30k, False: 101k]
  ------------------
 4108|  1.30k|            return (PyLongObject *)PyLong_FromLong(0);
 4109|   101k|        else
 4110|   101k|            return x_mul(a, b);
 4111|   103k|    }
 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|  6.08k|    if (2 * asize <= bsize)
  ------------------
  |  Branch (4119:9): [True: 191, False: 5.89k]
  ------------------
 4120|    191|        return k_lopsided_mul(a, b);
 4121|       |
 4122|       |    /* Split a & b into hi & lo pieces. */
 4123|  5.89k|    shift = bsize >> 1;
 4124|  5.89k|    if (kmul_split(a, shift, &ah, &al) < 0) goto fail;
  ------------------
  |  Branch (4124:9): [True: 0, False: 5.89k]
  ------------------
 4125|  5.89k|    assert(_PyLong_IsPositive(ah));        /* the split isn't degenerate */
  ------------------
  |  Branch (4125:5): [True: 5.89k, False: 0]
  ------------------
 4126|       |
 4127|  5.89k|    if (a == b) {
  ------------------
  |  Branch (4127:9): [True: 91, False: 5.80k]
  ------------------
 4128|     91|        bh = (PyLongObject*)Py_NewRef(ah);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4129|     91|        bl = (PyLongObject*)Py_NewRef(al);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4130|     91|    }
 4131|  5.80k|    else if (kmul_split(b, shift, &bh, &bl) < 0) goto fail;
  ------------------
  |  Branch (4131:14): [True: 0, False: 5.80k]
  ------------------
 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|  5.89k|    ret = long_alloc(asize + bsize);
 4151|  5.89k|    if (ret == NULL) goto fail;
  ------------------
  |  Branch (4151:9): [True: 0, False: 5.89k]
  ------------------
 4152|       |
 4153|       |    /* 2. t1 <- ah*bh, and copy into high digits of result. */
 4154|  5.89k|    if ((t1 = k_mul(ah, bh)) == NULL) goto fail;
  ------------------
  |  Branch (4154:9): [True: 0, False: 5.89k]
  ------------------
 4155|  5.89k|    assert(!_PyLong_IsNegative(t1));
  ------------------
  |  Branch (4155:5): [True: 5.89k, False: 0]
  ------------------
 4156|  5.89k|    assert(2*shift + _PyLong_DigitCount(t1) <= _PyLong_DigitCount(ret));
  ------------------
  |  Branch (4156:5): [True: 5.89k, False: 0]
  ------------------
 4157|  5.89k|    memcpy(ret->long_value.ob_digit + 2*shift, t1->long_value.ob_digit,
 4158|  5.89k|           _PyLong_DigitCount(t1) * sizeof(digit));
 4159|       |
 4160|       |    /* Zero-out the digits higher than the ah*bh copy. */
 4161|  5.89k|    i = _PyLong_DigitCount(ret) - 2*shift - _PyLong_DigitCount(t1);
 4162|  5.89k|    if (i)
  ------------------
  |  Branch (4162:9): [True: 966, False: 4.92k]
  ------------------
 4163|    966|        memset(ret->long_value.ob_digit + 2*shift + _PyLong_DigitCount(t1), 0,
 4164|    966|               i * sizeof(digit));
 4165|       |
 4166|       |    /* 3. t2 <- al*bl, and copy into the low digits. */
 4167|  5.89k|    if ((t2 = k_mul(al, bl)) == NULL) {
  ------------------
  |  Branch (4167:9): [True: 0, False: 5.89k]
  ------------------
 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|  5.89k|    assert(!_PyLong_IsNegative(t2));
  ------------------
  |  Branch (4171:5): [True: 5.89k, False: 0]
  ------------------
 4172|  5.89k|    assert(_PyLong_DigitCount(t2) <= 2*shift); /* no overlap with high digits */
  ------------------
  |  Branch (4172:5): [True: 5.89k, False: 0]
  ------------------
 4173|  5.89k|    memcpy(ret->long_value.ob_digit, t2->long_value.ob_digit, _PyLong_DigitCount(t2) * sizeof(digit));
 4174|       |
 4175|       |    /* Zero out remaining digits. */
 4176|  5.89k|    i = 2*shift - _PyLong_DigitCount(t2);          /* number of uninitialized digits */
 4177|  5.89k|    if (i)
  ------------------
  |  Branch (4177:9): [True: 471, False: 5.42k]
  ------------------
 4178|    471|        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|  5.89k|    i = _PyLong_DigitCount(ret) - shift;  /* # digits after shift */
 4184|  5.89k|    (void)v_isub(ret->long_value.ob_digit + shift, i, t2->long_value.ob_digit, _PyLong_DigitCount(t2));
 4185|  5.89k|    _Py_DECREF_INT(t2);
 4186|       |
 4187|  5.89k|    (void)v_isub(ret->long_value.ob_digit + shift, i, t1->long_value.ob_digit, _PyLong_DigitCount(t1));
 4188|  5.89k|    _Py_DECREF_INT(t1);
 4189|       |
 4190|       |    /* 6. t3 <- (ah+al)(bh+bl), and add into result. */
 4191|  5.89k|    if ((t1 = x_add(ah, al)) == NULL) goto fail;
  ------------------
  |  Branch (4191:9): [True: 0, False: 5.89k]
  ------------------
 4192|  5.89k|    _Py_DECREF_INT(ah);
 4193|  5.89k|    _Py_DECREF_INT(al);
 4194|  5.89k|    ah = al = NULL;
 4195|       |
 4196|  5.89k|    if (a == b) {
  ------------------
  |  Branch (4196:9): [True: 91, False: 5.80k]
  ------------------
 4197|     91|        t2 = (PyLongObject*)Py_NewRef(t1);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4198|     91|    }
 4199|  5.80k|    else if ((t2 = x_add(bh, bl)) == NULL) {
  ------------------
  |  Branch (4199:14): [True: 0, False: 5.80k]
  ------------------
 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|  5.89k|    _Py_DECREF_INT(bh);
 4204|  5.89k|    _Py_DECREF_INT(bl);
 4205|  5.89k|    bh = bl = NULL;
 4206|       |
 4207|  5.89k|    t3 = k_mul(t1, t2);
 4208|  5.89k|    _Py_DECREF_INT(t1);
 4209|  5.89k|    _Py_DECREF_INT(t2);
 4210|  5.89k|    if (t3 == NULL) goto fail;
  ------------------
  |  Branch (4210:9): [True: 0, False: 5.89k]
  ------------------
 4211|  5.89k|    assert(!_PyLong_IsNegative(t3));
  ------------------
  |  Branch (4211:5): [True: 5.89k, 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|  5.89k|    (void)v_iadd(ret->long_value.ob_digit + shift, i, t3->long_value.ob_digit, _PyLong_DigitCount(t3));
 4217|  5.89k|    _Py_DECREF_INT(t3);
 4218|       |
 4219|  5.89k|    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|  5.89k|}
longobject.c:x_mul:
 3932|   101k|{
 3933|   101k|    PyLongObject *z;
 3934|   101k|    Py_ssize_t size_a = _PyLong_DigitCount(a);
 3935|   101k|    Py_ssize_t size_b = _PyLong_DigitCount(b);
 3936|   101k|    Py_ssize_t i;
 3937|       |
 3938|   101k|    z = long_alloc(size_a + size_b);
 3939|   101k|    if (z == NULL)
  ------------------
  |  Branch (3939:9): [True: 0, False: 101k]
  ------------------
 3940|      0|        return NULL;
 3941|       |
 3942|   101k|    memset(z->long_value.ob_digit, 0, _PyLong_DigitCount(z) * sizeof(digit));
 3943|   101k|    if (a == b) {
  ------------------
  |  Branch (3943:9): [True: 31.7k, False: 70.0k]
  ------------------
 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|  31.7k|        digit *paend = a->long_value.ob_digit + size_a;
 3951|   198k|        for (i = 0; i < size_a; ++i) {
  ------------------
  |  Branch (3951:21): [True: 166k, False: 31.7k]
  ------------------
 3952|   166k|            twodigits carry;
 3953|   166k|            twodigits f = a->long_value.ob_digit[i];
 3954|   166k|            digit *pz = z->long_value.ob_digit + (i << 1);
 3955|   166k|            digit *pa = a->long_value.ob_digit + i + 1;
 3956|       |
 3957|   166k|            SIGCHECK({
  ------------------
  |  |  117|   166k|    do {                                        \
  |  |  118|   166k|        if (PyErr_CheckSignals()) PyTryBlock    \
  |  |  ------------------
  |  |  |  Branch (118:13): [True: 0, False: 166k]
  |  |  ------------------
  |  |  119|   166k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (119:13): [Folded, False: 166k]
  |  |  ------------------
  ------------------
 3958|   166k|                    Py_DECREF(z);
 3959|   166k|                    return NULL;
 3960|   166k|                });
 3961|       |
 3962|   166k|            carry = *pz + f * f;
 3963|   166k|            *pz++ = (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|   166k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|   166k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|   166k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3964|   166k|            carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|   166k|#define PyLong_SHIFT    30
  ------------------
 3965|   166k|            assert(carry <= PyLong_MASK);
  ------------------
  |  Branch (3965:13): [True: 166k, 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|   166k|            f <<= 1;
 3971|  4.29M|            while (pa < paend) {
  ------------------
  |  Branch (3971:20): [True: 4.12M, False: 166k]
  ------------------
 3972|  4.12M|                carry += *pz + *pa++ * f;
 3973|  4.12M|                *pz++ = (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|  4.12M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  4.12M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  4.12M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3974|  4.12M|                carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|  4.12M|#define PyLong_SHIFT    30
  ------------------
 3975|  4.12M|                assert(carry <= (PyLong_MASK << 1));
  ------------------
  |  Branch (3975:17): [True: 4.12M, False: 0]
  ------------------
 3976|  4.12M|            }
 3977|   166k|            if (carry) {
  ------------------
  |  Branch (3977:17): [True: 138k, False: 28.6k]
  ------------------
 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|   138k|                assert(*pz <= 1);
  ------------------
  |  Branch (3982:17): [True: 138k, False: 0]
  ------------------
 3983|   138k|                carry += *pz;
 3984|   138k|                *pz = (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|   138k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|   138k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|   138k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3985|   138k|                carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|   138k|#define PyLong_SHIFT    30
  ------------------
 3986|   138k|                if (carry) {
  ------------------
  |  Branch (3986:21): [True: 2.28k, False: 135k]
  ------------------
 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|  2.28k|                    assert(carry == 1);
  ------------------
  |  Branch (3994:21): [True: 2.28k, False: 0]
  ------------------
 3995|  2.28k|                    assert(pz[1] == 0);
  ------------------
  |  Branch (3995:21): [True: 2.28k, False: 0]
  ------------------
 3996|  2.28k|                    pz[1] = (digit)carry;
 3997|  2.28k|                }
 3998|   138k|            }
 3999|   166k|        }
 4000|  31.7k|    }
 4001|  70.0k|    else {      /* a is not the same as b -- gradeschool int mult */
 4002|   698k|        for (i = 0; i < size_a; ++i) {
  ------------------
  |  Branch (4002:21): [True: 628k, False: 70.0k]
  ------------------
 4003|   628k|            twodigits carry = 0;
 4004|   628k|            twodigits f = a->long_value.ob_digit[i];
 4005|   628k|            digit *pz = z->long_value.ob_digit + i;
 4006|   628k|            digit *pb = b->long_value.ob_digit;
 4007|   628k|            digit *pbend = b->long_value.ob_digit + size_b;
 4008|       |
 4009|   628k|            SIGCHECK({
  ------------------
  |  |  117|   628k|    do {                                        \
  |  |  118|   628k|        if (PyErr_CheckSignals()) PyTryBlock    \
  |  |  ------------------
  |  |  |  Branch (118:13): [True: 0, False: 628k]
  |  |  ------------------
  |  |  119|   628k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (119:13): [Folded, False: 628k]
  |  |  ------------------
  ------------------
 4010|   628k|                    Py_DECREF(z);
 4011|   628k|                    return NULL;
 4012|   628k|                });
 4013|       |
 4014|  31.2M|            while (pb < pbend) {
  ------------------
  |  Branch (4014:20): [True: 30.5M, False: 628k]
  ------------------
 4015|  30.5M|                carry += *pz + *pb++ * f;
 4016|  30.5M|                *pz++ = (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|  30.5M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  30.5M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  30.5M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4017|  30.5M|                carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|  30.5M|#define PyLong_SHIFT    30
  ------------------
 4018|  30.5M|                assert(carry <= PyLong_MASK);
  ------------------
  |  Branch (4018:17): [True: 30.5M, False: 0]
  ------------------
 4019|  30.5M|            }
 4020|   628k|            if (carry)
  ------------------
  |  Branch (4020:17): [True: 530k, False: 97.9k]
  ------------------
 4021|   530k|                *pz += (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|   530k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|   530k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|   530k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4022|   628k|            assert((carry >> PyLong_SHIFT) == 0);
  ------------------
  |  Branch (4022:13): [True: 628k, False: 0]
  ------------------
 4023|   628k|        }
 4024|  70.0k|    }
 4025|   101k|    return long_normalize(z);
 4026|   101k|}
longobject.c:k_lopsided_mul:
 4285|    191|{
 4286|    191|    const Py_ssize_t asize = _PyLong_DigitCount(a);
 4287|    191|    Py_ssize_t bsize = _PyLong_DigitCount(b);
 4288|    191|    Py_ssize_t nbdone;          /* # of b digits already multiplied */
 4289|    191|    PyLongObject *ret;
 4290|    191|    PyLongObject *bslice = NULL;
 4291|       |
 4292|    191|    assert(asize > KARATSUBA_CUTOFF);
  ------------------
  |  Branch (4292:5): [True: 191, False: 0]
  ------------------
 4293|    191|    assert(2 * asize <= bsize);
  ------------------
  |  Branch (4293:5): [True: 191, False: 0]
  ------------------
 4294|       |
 4295|       |    /* Allocate result space, and zero it out. */
 4296|    191|    ret = long_alloc(asize + bsize);
 4297|    191|    if (ret == NULL)
  ------------------
  |  Branch (4297:9): [True: 0, False: 191]
  ------------------
 4298|      0|        return NULL;
 4299|    191|    memset(ret->long_value.ob_digit, 0, _PyLong_DigitCount(ret) * sizeof(digit));
 4300|       |
 4301|       |    /* Successive slices of b are copied into bslice. */
 4302|    191|    bslice = long_alloc(asize);
 4303|    191|    if (bslice == NULL)
  ------------------
  |  Branch (4303:9): [True: 0, False: 191]
  ------------------
 4304|      0|        goto fail;
 4305|       |
 4306|    191|    nbdone = 0;
 4307|    763|    while (bsize > 0) {
  ------------------
  |  Branch (4307:12): [True: 572, False: 191]
  ------------------
 4308|    572|        PyLongObject *product;
 4309|    572|        const Py_ssize_t nbtouse = Py_MIN(bsize, asize);
  ------------------
  |  |  112|    572|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 381, False: 191]
  |  |  ------------------
  ------------------
 4310|       |
 4311|       |        /* Multiply the next slice of b by a. */
 4312|    572|        memcpy(bslice->long_value.ob_digit, b->long_value.ob_digit + nbdone,
 4313|    572|               nbtouse * sizeof(digit));
 4314|    572|        assert(nbtouse >= 0);
  ------------------
  |  Branch (4314:9): [True: 572, False: 0]
  ------------------
 4315|    572|        _PyLong_SetSignAndDigitCount(bslice, 1, nbtouse);
 4316|    572|        product = k_mul(a, bslice);
 4317|    572|        if (product == NULL)
  ------------------
  |  Branch (4317:13): [True: 0, False: 572]
  ------------------
 4318|      0|            goto fail;
 4319|       |
 4320|       |        /* Add into result. */
 4321|    572|        (void)v_iadd(ret->long_value.ob_digit + nbdone, _PyLong_DigitCount(ret) - nbdone,
 4322|    572|                     product->long_value.ob_digit, _PyLong_DigitCount(product));
 4323|    572|        _Py_DECREF_INT(product);
 4324|       |
 4325|    572|        bsize -= nbtouse;
 4326|    572|        nbdone += nbtouse;
 4327|    572|    }
 4328|       |
 4329|    191|    _Py_DECREF_INT(bslice);
 4330|    191|    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|    191|}
longobject.c:kmul_split:
 4040|  11.6k|{
 4041|  11.6k|    PyLongObject *hi, *lo;
 4042|  11.6k|    Py_ssize_t size_lo, size_hi;
 4043|  11.6k|    const Py_ssize_t size_n = _PyLong_DigitCount(n);
 4044|       |
 4045|  11.6k|    size_lo = Py_MIN(size_n, size);
  ------------------
  |  |  112|  11.6k|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 11.6k, False: 0]
  |  |  ------------------
  ------------------
 4046|  11.6k|    size_hi = size_n - size_lo;
 4047|       |
 4048|  11.6k|    if ((hi = long_alloc(size_hi)) == NULL)
  ------------------
  |  Branch (4048:9): [True: 0, False: 11.6k]
  ------------------
 4049|      0|        return -1;
 4050|  11.6k|    if ((lo = long_alloc(size_lo)) == NULL) {
  ------------------
  |  Branch (4050:9): [True: 0, False: 11.6k]
  ------------------
 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|  11.6k|    memcpy(lo->long_value.ob_digit, n->long_value.ob_digit, size_lo * sizeof(digit));
 4056|  11.6k|    memcpy(hi->long_value.ob_digit, n->long_value.ob_digit + size_lo, size_hi * sizeof(digit));
 4057|       |
 4058|  11.6k|    *high = long_normalize(hi);
 4059|  11.6k|    *low = long_normalize(lo);
 4060|  11.6k|    return 0;
 4061|  11.6k|}
longobject.c:v_isub:
 1881|  11.7k|{
 1882|  11.7k|    Py_ssize_t i;
 1883|  11.7k|    digit borrow = 0;
 1884|       |
 1885|  11.7k|    assert(m >= n);
  ------------------
  |  Branch (1885:5): [True: 11.7k, False: 0]
  ------------------
 1886|  1.42M|    for (i = 0; i < n; ++i) {
  ------------------
  |  Branch (1886:17): [True: 1.41M, False: 11.7k]
  ------------------
 1887|  1.41M|        borrow = x[i] - y[i] - borrow;
 1888|  1.41M|        x[i] = borrow & PyLong_MASK;
  ------------------
  |  |   62|  1.41M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  1.41M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  1.41M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1889|  1.41M|        borrow >>= PyLong_SHIFT;
  ------------------
  |  |   47|  1.41M|#define PyLong_SHIFT    30
  ------------------
 1890|  1.41M|        borrow &= 1;            /* keep only 1 sign bit */
 1891|  1.41M|    }
 1892|  14.8k|    for (; borrow && i < m; ++i) {
  ------------------
  |  Branch (1892:12): [True: 3.02k, False: 11.7k]
  |  Branch (1892:22): [True: 3.02k, False: 0]
  ------------------
 1893|  3.02k|        borrow = x[i] - borrow;
 1894|  3.02k|        x[i] = borrow & PyLong_MASK;
  ------------------
  |  |   62|  3.02k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  3.02k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  3.02k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1895|  3.02k|        borrow >>= PyLong_SHIFT;
  ------------------
  |  |   47|  3.02k|#define PyLong_SHIFT    30
  ------------------
 1896|  3.02k|        borrow &= 1;
 1897|  3.02k|    }
 1898|  11.7k|    return borrow;
 1899|  11.7k|}
longobject.c:v_iadd:
 1855|  6.46k|{
 1856|  6.46k|    Py_ssize_t i;
 1857|  6.46k|    digit carry = 0;
 1858|       |
 1859|  6.46k|    assert(m >= n);
  ------------------
  |  Branch (1859:5): [True: 6.46k, False: 0]
  ------------------
 1860|   856k|    for (i = 0; i < n; ++i) {
  ------------------
  |  Branch (1860:17): [True: 849k, False: 6.46k]
  ------------------
 1861|   849k|        carry += x[i] + y[i];
 1862|   849k|        x[i] = carry & PyLong_MASK;
  ------------------
  |  |   62|   849k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|   849k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|   849k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1863|   849k|        carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|   849k|#define PyLong_SHIFT    30
  ------------------
 1864|   849k|        assert((carry & 1) == carry);
  ------------------
  |  Branch (1864:9): [True: 849k, False: 0]
  ------------------
 1865|   849k|    }
 1866|  7.88k|    for (; carry && i < m; ++i) {
  ------------------
  |  Branch (1866:12): [True: 1.41k, False: 6.46k]
  |  Branch (1866:21): [True: 1.41k, False: 0]
  ------------------
 1867|  1.41k|        carry += x[i];
 1868|  1.41k|        x[i] = carry & PyLong_MASK;
  ------------------
  |  |   62|  1.41k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  1.41k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  1.41k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1869|  1.41k|        carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|  1.41k|#define PyLong_SHIFT    30
  ------------------
 1870|  1.41k|        assert((carry & 1) == carry);
  ------------------
  |  Branch (1870:9): [True: 1.41k, False: 0]
  ------------------
 1871|  1.41k|    }
 1872|  6.46k|    return carry;
 1873|  6.46k|}
longobject.c:long_mod:
 4862|   354k|{
 4863|   354k|    PyLongObject *mod;
 4864|       |
 4865|   354k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|   354k|    do {                                                \
  |  | 1845|   354k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|   354k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   708k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|   353k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   353k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 219, False: 353k]
  |  |  |  Branch (1845:33): [True: 4.47k, False: 349k]
  |  |  ------------------
  |  | 1846|   354k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|  4.69k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  4.69k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|   354k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 349k]
  |  |  ------------------
  ------------------
 4866|       |
 4867|   349k|    if (l_mod((PyLongObject*)a, (PyLongObject*)b, &mod) < 0)
  ------------------
  |  Branch (4867:9): [True: 263, False: 349k]
  ------------------
 4868|    263|        mod = NULL;
 4869|   349k|    return (PyObject *)mod;
 4870|   354k|}
longobject.c:long_divmod:
 4874|    106|{
 4875|    106|    PyLongObject *div, *mod;
 4876|    106|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|    106|    do {                                                \
  |  | 1845|    106|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|    106|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    212|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|    106|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    106|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 106]
  |  |  |  Branch (1845:33): [True: 0, False: 106]
  |  |  ------------------
  |  | 1846|    106|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|    106|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 106]
  |  |  ------------------
  ------------------
 4877|       |
 4878|    106|    if (l_divmod((PyLongObject*)a, (PyLongObject*)b, &div, &mod) < 0) {
  ------------------
  |  Branch (4878:9): [True: 0, False: 106]
  ------------------
 4879|      0|        return NULL;
 4880|      0|    }
 4881|    106|    return _PyTuple_FromPairSteal((PyObject *)div, (PyObject *)mod);
 4882|    106|}
longobject.c:l_divmod:
 4481|  91.5k|{
 4482|  91.5k|    PyLongObject *div, *mod;
 4483|       |
 4484|  91.5k|    if (_PyLong_DigitCount(v) == 1 && _PyLong_DigitCount(w) == 1) {
  ------------------
  |  Branch (4484:9): [True: 1.06k, False: 90.5k]
  |  Branch (4484:39): [True: 0, False: 1.06k]
  ------------------
 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|  91.5k|#if WITH_PYLONG_MODULE
 4509|  91.5k|    Py_ssize_t size_v = _PyLong_DigitCount(v); /* digits in numerator */
 4510|  91.5k|    Py_ssize_t size_w = _PyLong_DigitCount(w); /* digits in denominator */
 4511|  91.5k|    if (size_w > 300 && (size_v - size_w) > 150) {
  ------------------
  |  Branch (4511:9): [True: 57, False: 91.5k]
  |  Branch (4511:25): [True: 23, False: 34]
  ------------------
 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|     23|        return pylong_int_divmod(v, w, pdiv, pmod);
 4518|     23|    }
 4519|  91.5k|#endif
 4520|  91.5k|    if (long_divrem(v, w, &div, &mod) < 0)
  ------------------
  |  Branch (4520:9): [True: 108, False: 91.4k]
  ------------------
 4521|    108|        return -1;
 4522|  91.4k|    if ((_PyLong_IsNegative(mod) && _PyLong_IsPositive(w)) ||
  ------------------
  |  Branch (4522:10): [True: 9.13k, False: 82.3k]
  |  Branch (4522:37): [True: 9.08k, False: 48]
  ------------------
 4523|  82.3k|        (_PyLong_IsPositive(mod) && _PyLong_IsNegative(w))) {
  ------------------
  |  Branch (4523:10): [True: 1.66k, False: 80.7k]
  |  Branch (4523:37): [True: 297, False: 1.36k]
  ------------------
 4524|  9.38k|        PyLongObject *temp;
 4525|  9.38k|        temp = long_add(mod, w);
 4526|  9.38k|        Py_SETREF(mod, temp);
  ------------------
  |  |  354|  9.38k|    do { \
  |  |  355|  9.38k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  9.38k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|  9.38k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  9.38k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|  9.38k|        *_tmp_dst_ptr = (src); \
  |  |  358|  9.38k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  9.38k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  9.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  9.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|  9.38k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 9.38k]
  |  |  ------------------
  ------------------
 4527|  9.38k|        if (mod == NULL) {
  ------------------
  |  Branch (4527:13): [True: 0, False: 9.38k]
  ------------------
 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|  9.38k|        temp = long_sub(div, (PyLongObject *)_PyLong_GetOne());
 4532|  9.38k|        if (temp == NULL) {
  ------------------
  |  Branch (4532:13): [True: 0, False: 9.38k]
  ------------------
 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|  9.38k|        Py_SETREF(div, temp);
  ------------------
  |  |  354|  9.38k|    do { \
  |  |  355|  9.38k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  9.38k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|  9.38k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  9.38k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|  9.38k|        *_tmp_dst_ptr = (src); \
  |  |  358|  9.38k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  9.38k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  9.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  9.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|  9.38k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 9.38k]
  |  |  ------------------
  ------------------
 4538|  9.38k|    }
 4539|  91.4k|    if (pdiv != NULL)
  ------------------
  |  Branch (4539:9): [True: 91.4k, False: 0]
  ------------------
 4540|  91.4k|        *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|  91.4k|    if (pmod != NULL)
  ------------------
  |  Branch (4544:9): [True: 106, False: 91.3k]
  ------------------
 4545|    106|        *pmod = mod;
 4546|  91.3k|    else
 4547|  91.3k|        Py_DECREF(mod);
  ------------------
  |  |  430|  91.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  91.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  91.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4548|       |
 4549|  91.4k|    return 0;
 4550|  91.4k|}
longobject.c:fast_floor_div:
 4398|  1.53M|{
 4399|  1.53M|    sdigit left = a->long_value.ob_digit[0];
 4400|  1.53M|    sdigit right = b->long_value.ob_digit[0];
 4401|  1.53M|    sdigit div;
 4402|       |
 4403|  1.53M|    assert(_PyLong_DigitCount(a) == 1);
  ------------------
  |  Branch (4403:5): [True: 1.53M, False: 0]
  ------------------
 4404|  1.53M|    assert(_PyLong_DigitCount(b) == 1);
  ------------------
  |  Branch (4404:5): [True: 1.53M, False: 0]
  ------------------
 4405|       |
 4406|  1.53M|    if (_PyLong_SameSign(a, b)) {
  ------------------
  |  Branch (4406:9): [True: 1.52M, False: 1.63k]
  ------------------
 4407|  1.52M|        div = left / right;
 4408|  1.52M|    }
 4409|  1.63k|    else {
 4410|       |        /* Either 'a' or 'b' is negative. */
 4411|  1.63k|        div = -1 - (left - 1) / right;
 4412|  1.63k|    }
 4413|       |
 4414|  1.53M|    return PyLong_FromLong(div);
 4415|  1.53M|}
longobject.c:pylong_int_divmod:
 4422|     23|{
 4423|     23|    PyObject *mod = PyImport_ImportModule("_pylong");
 4424|     23|    if (mod == NULL) {
  ------------------
  |  Branch (4424:9): [True: 0, False: 23]
  ------------------
 4425|      0|        return -1;
 4426|      0|    }
 4427|     23|    PyObject *result = PyObject_CallMethod(mod, "int_divmod", "OO", v, w);
 4428|     23|    Py_DECREF(mod);
  ------------------
  |  |  430|     23|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     23|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4429|     23|    if (result == NULL) {
  ------------------
  |  Branch (4429:9): [True: 0, False: 23]
  ------------------
 4430|      0|        return -1;
 4431|      0|    }
 4432|     23|    if (!PyTuple_Check(result) || PyTuple_GET_SIZE(result) != 2) {
  ------------------
  |  |   27|     23|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     46|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyTuple_Check(result) || PyTuple_GET_SIZE(result) != 2) {
  ------------------
  |  |   27|     23|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     23|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4432:9): [True: 0, False: 23]
  |  Branch (4432:35): [True: 0, False: 23]
  ------------------
 4433|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4434|      0|        PyErr_SetString(PyExc_ValueError,
 4435|      0|                        "tuple of length 2 is required from int_divmod()");
 4436|      0|        return -1;
 4437|      0|    }
 4438|     23|    PyObject *q = PyTuple_GET_ITEM(result, 0);
  ------------------
  |  |   29|     23|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     23|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4438:19): [True: 23, False: 0]
  ------------------
 4439|     23|    PyObject *r = PyTuple_GET_ITEM(result, 1);
  ------------------
  |  |   29|     23|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     23|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4439:19): [True: 23, False: 0]
  ------------------
 4440|     23|    if (!PyLong_Check(q) || !PyLong_Check(r)) {
  ------------------
  |  |   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(q) || !PyLong_Check(r)) {
  ------------------
  |  |   13|     23|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     23|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4440:9): [True: 0, False: 23]
  |  Branch (4440:29): [True: 0, False: 23]
  ------------------
 4441|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4442|      0|        PyErr_SetString(PyExc_ValueError,
 4443|      0|                        "tuple of int is required from int_divmod()");
 4444|      0|        return -1;
 4445|      0|    }
 4446|     23|    if (pdiv != NULL) {
  ------------------
  |  Branch (4446:9): [True: 23, False: 0]
  ------------------
 4447|     23|        *pdiv = (PyLongObject *)Py_NewRef(q);
  ------------------
  |  |  550|     23|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     23|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4448|     23|    }
 4449|     23|    if (pmod != NULL) {
  ------------------
  |  Branch (4449:9): [True: 0, False: 23]
  ------------------
 4450|      0|        *pmod = (PyLongObject *)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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4451|      0|    }
 4452|     23|    Py_DECREF(result);
  ------------------
  |  |  430|     23|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     23|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     23|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4453|     23|    return 0;
 4454|     23|}
longobject.c:long_pow:
 4968|  61.6k|{
 4969|  61.6k|    PyLongObject *a, *b, *c; /* a,b,c = v,w,x */
 4970|  61.6k|    int negativeOutput = 0;  /* if x<0 return negative output */
 4971|       |
 4972|  61.6k|    PyLongObject *z = NULL;  /* accumulated result */
 4973|  61.6k|    Py_ssize_t i, j;             /* counters */
 4974|  61.6k|    PyLongObject *temp = NULL;
 4975|  61.6k|    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|  61.6k|    PyLongObject *table[EXP_TABLE_LEN];
 4986|  61.6k|    Py_ssize_t num_table_entries = 0;
 4987|       |
 4988|       |    /* a, b, c = v, w, x */
 4989|  61.6k|    CHECK_BINOP(v, w);
  ------------------
  |  | 1844|  61.6k|    do {                                                \
  |  | 1845|  61.6k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  61.6k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   123k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  61.3k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  61.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 309, False: 61.3k]
  |  |  |  Branch (1845:33): [True: 13.5k, False: 47.8k]
  |  |  ------------------
  |  | 1846|  61.6k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|  13.8k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  13.8k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  61.6k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 47.8k]
  |  |  ------------------
  ------------------
 4990|  47.8k|    a = (PyLongObject*)Py_NewRef(v);
  ------------------
  |  |  550|  47.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  47.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4991|  47.8k|    b = (PyLongObject*)Py_NewRef(w);
  ------------------
  |  |  550|  47.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  47.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4992|  47.8k|    if (PyLong_Check(x)) {
  ------------------
  |  |   13|  47.8k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  47.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1, False: 47.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|  47.8k|    else if (x == Py_None)
  ------------------
  |  |  616|  47.8k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4995:14): [True: 47.8k, False: 0]
  ------------------
 4996|  47.8k|        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|  47.8k|    if (_PyLong_IsNegative(b) && c == NULL) {
  ------------------
  |  Branch (5003:9): [True: 2.79k, False: 45.0k]
  |  Branch (5003:34): [True: 2.79k, False: 0]
  ------------------
 5004|       |        /* if exponent is negative and there's no modulus:
 5005|       |               return a float.  This works because we know
 5006|       |               that this calls float_pow() which converts its
 5007|       |               arguments to double. */
 5008|  2.79k|        Py_DECREF(a);
  ------------------
  |  |  430|  2.79k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5009|  2.79k|        Py_DECREF(b);
  ------------------
  |  |  430|  2.79k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5010|  2.79k|        return PyFloat_Type.tp_as_number->nb_power(v, w, x);
 5011|  2.79k|    }
 5012|       |
 5013|  45.0k|    if (c) {
  ------------------
  |  Branch (5013:9): [True: 1, False: 45.0k]
  ------------------
 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);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359: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);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359: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);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359: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);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359: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|  45.0k|    z = (PyLongObject *)PyLong_FromLong(1L);
 5084|  45.0k|    if (z == NULL)
  ------------------
  |  Branch (5084:9): [True: 0, False: 45.0k]
  ------------------
 5085|      0|        goto Error;
 5086|       |
 5087|       |    /* Perform a modular reduction, X = X % c, but leave X alone if c
 5088|       |     * is NULL.
 5089|       |     */
 5090|  45.0k|#define REDUCE(X)                                       \
 5091|  45.0k|    do {                                                \
 5092|  45.0k|        if (c != NULL) {                                \
 5093|  45.0k|            if (l_mod(X, c, &temp) < 0)                 \
 5094|  45.0k|                goto Error;                             \
 5095|  45.0k|            Py_XDECREF(X);                              \
 5096|  45.0k|            X = temp;                                   \
 5097|  45.0k|            temp = NULL;                                \
 5098|  45.0k|        }                                               \
 5099|  45.0k|    } while(0)
 5100|       |
 5101|       |    /* Multiply two values, then reduce the result:
 5102|       |       result = X*Y % c.  If c is NULL, skip the mod. */
 5103|  45.0k|#define MULT(X, Y, result)                      \
 5104|  45.0k|    do {                                        \
 5105|  45.0k|        temp = (PyLongObject *)long_mul(X, Y);  \
 5106|  45.0k|        if (temp == NULL)                       \
 5107|  45.0k|            goto Error;                         \
 5108|  45.0k|        Py_XDECREF(result);                     \
 5109|  45.0k|        result = temp;                          \
 5110|  45.0k|        temp = NULL;                            \
 5111|  45.0k|        REDUCE(result);                         \
 5112|  45.0k|    } while(0)
 5113|       |
 5114|  45.0k|    i = _PyLong_SignedDigitCount(b);
 5115|  45.0k|    digit bi = i ? b->long_value.ob_digit[i-1] : 0;
  ------------------
  |  Branch (5115:16): [True: 43.8k, False: 1.19k]
  ------------------
 5116|  45.0k|    digit bit;
 5117|  45.0k|    if (i <= 1 && bi <= 3) {
  ------------------
  |  Branch (5117:9): [True: 42.0k, False: 3.02k]
  |  Branch (5117:19): [True: 4.51k, False: 37.5k]
  ------------------
 5118|       |        /* aim for minimal overhead */
 5119|  4.51k|        if (bi >= 2) {
  ------------------
  |  Branch (5119:13): [True: 2.07k, False: 2.44k]
  ------------------
 5120|  2.07k|            MULT(a, a, z);
  ------------------
  |  | 5104|  2.07k|    do {                                        \
  |  | 5105|  2.07k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5106|  2.07k|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5106:13): [True: 0, False: 2.07k]
  |  |  ------------------
  |  | 5107|  2.07k|            goto Error;                         \
  |  | 5108|  2.07k|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|  2.07k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|  2.07k|        result = temp;                          \
  |  | 5110|  2.07k|        temp = NULL;                            \
  |  | 5111|  2.07k|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5091|  2.07k|    do {                                                \
  |  |  |  | 5092|  2.07k|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5092:13): [True: 0, False: 2.07k]
  |  |  |  |  ------------------
  |  |  |  | 5093|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5093:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5094|      0|                goto Error;                             \
  |  |  |  | 5095|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5096|      0|            X = temp;                                   \
  |  |  |  | 5097|      0|            temp = NULL;                                \
  |  |  |  | 5098|      0|        }                                               \
  |  |  |  | 5099|  2.07k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5099:13): [Folded, False: 2.07k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|  2.07k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5112:13): [Folded, False: 2.07k]
  |  |  ------------------
  ------------------
 5121|  2.07k|            if (bi == 3) {
  ------------------
  |  Branch (5121:17): [True: 306, False: 1.77k]
  ------------------
 5122|    306|                MULT(z, a, z);
  ------------------
  |  | 5104|    306|    do {                                        \
  |  | 5105|    306|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5106|    306|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5106:13): [True: 0, False: 306]
  |  |  ------------------
  |  | 5107|    306|            goto Error;                         \
  |  | 5108|    306|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|    306|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    306|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    306|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|    306|        result = temp;                          \
  |  | 5110|    306|        temp = NULL;                            \
  |  | 5111|    306|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5091|    306|    do {                                                \
  |  |  |  | 5092|    306|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5092:13): [True: 0, False: 306]
  |  |  |  |  ------------------
  |  |  |  | 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|    306|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5099:13): [Folded, False: 306]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|    306|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5112:13): [Folded, False: 306]
  |  |  ------------------
  ------------------
 5123|    306|            }
 5124|  2.07k|        }
 5125|  2.44k|        else if (bi == 1) {
  ------------------
  |  Branch (5125:18): [True: 1.25k, False: 1.19k]
  ------------------
 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|  1.25k|            MULT(a, z, z);
  ------------------
  |  | 5104|  1.25k|    do {                                        \
  |  | 5105|  1.25k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5106|  1.25k|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5106:13): [True: 0, False: 1.25k]
  |  |  ------------------
  |  | 5107|  1.25k|            goto Error;                         \
  |  | 5108|  1.25k|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|  1.25k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|  1.25k|        result = temp;                          \
  |  | 5110|  1.25k|        temp = NULL;                            \
  |  | 5111|  1.25k|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5091|  1.25k|    do {                                                \
  |  |  |  | 5092|  1.25k|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5092:13): [True: 0, False: 1.25k]
  |  |  |  |  ------------------
  |  |  |  | 5093|      0|            if (l_mod(X, c, &temp) < 0)                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5093:17): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5094|      0|                goto Error;                             \
  |  |  |  | 5095|      0|            Py_XDECREF(X);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5096|      0|            X = temp;                                   \
  |  |  |  | 5097|      0|            temp = NULL;                                \
  |  |  |  | 5098|      0|        }                                               \
  |  |  |  | 5099|  1.25k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5099:13): [Folded, False: 1.25k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|  1.25k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5112:13): [Folded, False: 1.25k]
  |  |  ------------------
  ------------------
 5131|  1.25k|        }
 5132|       |        /* else bi is 0, and z==1 is correct */
 5133|  4.51k|    }
 5134|  40.5k|    else if (i <= HUGE_EXP_CUTOFF / PyLong_SHIFT ) {
  ------------------
  |  |  114|  40.5k|#define HUGE_EXP_CUTOFF 60
  ------------------
                  else if (i <= HUGE_EXP_CUTOFF / PyLong_SHIFT ) {
  ------------------
  |  |   47|  40.5k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (5134:14): [True: 38.5k, False: 1.96k]
  ------------------
 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|  38.5k|        assert(bi);  /* else there is no significant bit */
  ------------------
  |  Branch (5141:9): [True: 38.5k, False: 0]
  ------------------
 5142|  38.5k|        Py_SETREF(z, (PyLongObject*)Py_NewRef(a));
  ------------------
  |  |  354|  38.5k|    do { \
  |  |  355|  38.5k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  38.5k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|  38.5k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  38.5k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|  38.5k|        *_tmp_dst_ptr = (src); \
  |  |  358|  38.5k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  38.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  38.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  38.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|  38.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 38.5k]
  |  |  ------------------
  ------------------
 5143|   192k|        for (bit = 2; ; bit <<= 1) {
 5144|   192k|            if (bit > bi) { /* found the first bit */
  ------------------
  |  Branch (5144:17): [True: 38.5k, False: 154k]
  ------------------
 5145|  38.5k|                assert((bi & bit) == 0);
  ------------------
  |  Branch (5145:17): [True: 38.5k, False: 0]
  ------------------
 5146|  38.5k|                bit >>= 1;
 5147|  38.5k|                assert(bi & bit);
  ------------------
  |  Branch (5147:17): [True: 38.5k, False: 0]
  ------------------
 5148|  38.5k|                break;
 5149|  38.5k|            }
 5150|   192k|        }
 5151|  39.6k|        for (--i, bit >>= 1;;) {
 5152|   225k|            for (; bit != 0; bit >>= 1) {
  ------------------
  |  Branch (5152:20): [True: 185k, False: 39.6k]
  ------------------
 5153|   185k|                MULT(z, z, z);
  ------------------
  |  | 5104|   185k|    do {                                        \
  |  | 5105|   185k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5106|   185k|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5106:13): [True: 0, False: 185k]
  |  |  ------------------
  |  | 5107|   185k|            goto Error;                         \
  |  | 5108|   185k|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|   185k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   185k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   185k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|   185k|        result = temp;                          \
  |  | 5110|   185k|        temp = NULL;                            \
  |  | 5111|   185k|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5091|   185k|    do {                                                \
  |  |  |  | 5092|   185k|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5092:13): [True: 0, False: 185k]
  |  |  |  |  ------------------
  |  |  |  | 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|   185k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5099:13): [Folded, False: 185k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|   185k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5112:13): [Folded, False: 185k]
  |  |  ------------------
  ------------------
 5154|   185k|                if (bi & bit) {
  ------------------
  |  Branch (5154:21): [True: 73.7k, False: 111k]
  ------------------
 5155|  73.7k|                    MULT(z, a, z);
  ------------------
  |  | 5104|  73.7k|    do {                                        \
  |  | 5105|  73.7k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5106|  73.7k|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5106:13): [True: 0, False: 73.7k]
  |  |  ------------------
  |  | 5107|  73.7k|            goto Error;                         \
  |  | 5108|  73.7k|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|  73.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  73.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  73.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|  73.7k|        result = temp;                          \
  |  | 5110|  73.7k|        temp = NULL;                            \
  |  | 5111|  73.7k|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5091|  73.7k|    do {                                                \
  |  |  |  | 5092|  73.7k|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5092:13): [True: 0, False: 73.7k]
  |  |  |  |  ------------------
  |  |  |  | 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|  73.7k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5099:13): [Folded, False: 73.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|  73.7k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5112:13): [Folded, False: 73.7k]
  |  |  ------------------
  ------------------
 5156|  73.7k|                }
 5157|   185k|            }
 5158|  39.6k|            if (--i < 0) {
  ------------------
  |  Branch (5158:17): [True: 38.5k, False: 1.05k]
  ------------------
 5159|  38.5k|                break;
 5160|  38.5k|            }
 5161|  1.05k|            bi = b->long_value.ob_digit[i];
 5162|  1.05k|            bit = (digit)1 << (PyLong_SHIFT-1);
  ------------------
  |  |   47|  1.05k|#define PyLong_SHIFT    30
  ------------------
 5163|  1.05k|        }
 5164|  38.5k|    }
 5165|  1.96k|    else {
 5166|       |        /* Left-to-right k-ary sliding window exponentiation
 5167|       |         * (Handbook of Applied Cryptography (HAC) Algorithm 14.85)
 5168|       |         */
 5169|  1.96k|        table[0] = (PyLongObject*)Py_NewRef(a);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5170|  1.96k|        num_table_entries = 1;
 5171|  1.96k|        MULT(a, a, a2);
  ------------------
  |  | 5104|  1.96k|    do {                                        \
  |  | 5105|  1.96k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5106|  1.96k|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5106:13): [True: 0, False: 1.96k]
  |  |  ------------------
  |  | 5107|  1.96k|            goto Error;                         \
  |  | 5108|  1.96k|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|  1.96k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|  1.96k|        result = temp;                          \
  |  | 5110|  1.96k|        temp = NULL;                            \
  |  | 5111|  1.96k|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5091|  1.96k|    do {                                                \
  |  |  |  | 5092|  1.96k|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5092:13): [True: 1, False: 1.96k]
  |  |  |  |  ------------------
  |  |  |  | 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.96k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5099:13): [Folded, False: 1.96k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|  1.96k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5112:13): [Folded, False: 1.96k]
  |  |  ------------------
  ------------------
 5172|       |        /* table[i] == a**(2*i + 1) % c */
 5173|  31.4k|        for (i = 1; i < EXP_TABLE_LEN; ++i) {
  ------------------
  |  |   94|  31.4k|#define EXP_TABLE_LEN (1 << (EXP_WINDOW_SIZE - 1))
  |  |  ------------------
  |  |  |  |   93|  31.4k|#define EXP_WINDOW_SIZE 5
  |  |  ------------------
  ------------------
  |  Branch (5173:21): [True: 29.5k, False: 1.96k]
  ------------------
 5174|  29.5k|            table[i] = NULL; /* must set to known value for MULT */
 5175|  29.5k|            MULT(table[i-1], a2, table[i]);
  ------------------
  |  | 5104|  29.5k|    do {                                        \
  |  | 5105|  29.5k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5106|  29.5k|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5106:13): [True: 0, False: 29.5k]
  |  |  ------------------
  |  | 5107|  29.5k|            goto Error;                         \
  |  | 5108|  29.5k|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|  29.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  29.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  29.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|  29.5k|        result = temp;                          \
  |  | 5110|  29.5k|        temp = NULL;                            \
  |  | 5111|  29.5k|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5091|  29.5k|    do {                                                \
  |  |  |  | 5092|  29.5k|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5092:13): [True: 15, False: 29.5k]
  |  |  |  |  ------------------
  |  |  |  | 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|  29.5k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5099:13): [Folded, False: 29.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|  29.5k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5112:13): [Folded, False: 29.5k]
  |  |  ------------------
  ------------------
 5176|  29.5k|            ++num_table_entries; /* incremented iff MULT succeeded */
 5177|  29.5k|        }
 5178|  1.96k|        Py_CLEAR(a2);
  ------------------
  |  |  484|  1.96k|    do { \
  |  |  485|  1.96k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.96k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.96k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.96k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.96k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1.96k, False: 0]
  |  |  ------------------
  |  |  488|  1.96k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  1.96k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  1.96k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  1.96k|        } \
  |  |  491|  1.96k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.96k]
  |  |  ------------------
  ------------------
 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.96k|        int pending = 0, blen = 0;
 5185|  1.96k|#define ABSORB_PENDING  do { \
 5186|  1.96k|            int ntz = 0; /* number of trailing zeroes in `pending` */ \
 5187|  1.96k|            assert(pending && blen); \
 5188|  1.96k|            assert(pending >> (blen - 1)); \
 5189|  1.96k|            assert(pending >> blen == 0); \
 5190|  1.96k|            while ((pending & 1) == 0) { \
 5191|  1.96k|                ++ntz; \
 5192|  1.96k|                pending >>= 1; \
 5193|  1.96k|            } \
 5194|  1.96k|            assert(ntz < blen); \
 5195|  1.96k|            blen -= ntz; \
 5196|  1.96k|            do { \
 5197|  1.96k|                MULT(z, z, z); \
 5198|  1.96k|            } while (--blen); \
 5199|  1.96k|            MULT(z, table[pending >> 1], z); \
 5200|  1.96k|            while (ntz-- > 0) \
 5201|  1.96k|                MULT(z, z, z); \
 5202|  1.96k|            assert(blen == 0); \
 5203|  1.96k|            pending = 0; \
 5204|  1.96k|        } while(0)
 5205|       |
 5206|  9.60k|        for (i = _PyLong_SignedDigitCount(b) - 1; i >= 0; --i) {
  ------------------
  |  Branch (5206:51): [True: 7.63k, False: 1.96k]
  ------------------
 5207|  7.63k|            const digit bi = b->long_value.ob_digit[i];
 5208|   236k|            for (j = PyLong_SHIFT - 1; j >= 0; --j) {
  ------------------
  |  |   47|  7.63k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (5208:40): [True: 228k, False: 7.63k]
  ------------------
 5209|   228k|                const int bit = (bi >> j) & 1;
 5210|   228k|                pending = (pending << 1) | bit;
 5211|   228k|                if (pending) {
  ------------------
  |  Branch (5211:21): [True: 146k, False: 82.3k]
  ------------------
 5212|   146k|                    ++blen;
 5213|   146k|                    if (blen == EXP_WINDOW_SIZE)
  ------------------
  |  |   93|   146k|#define EXP_WINDOW_SIZE 5
  ------------------
  |  Branch (5213:25): [True: 28.4k, False: 118k]
  ------------------
 5214|  28.4k|                        ABSORB_PENDING;
  ------------------
  |  | 5185|  28.4k|#define ABSORB_PENDING  do { \
  |  | 5186|  28.4k|            int ntz = 0; /* number of trailing zeroes in `pending` */ \
  |  | 5187|  28.4k|            assert(pending && blen); \
  |  | 5188|  28.4k|            assert(pending >> (blen - 1)); \
  |  | 5189|  28.4k|            assert(pending >> blen == 0); \
  |  | 5190|  61.0k|            while ((pending & 1) == 0) { \
  |  |  ------------------
  |  |  |  Branch (5190:20): [True: 32.5k, False: 28.4k]
  |  |  ------------------
  |  | 5191|  32.5k|                ++ntz; \
  |  | 5192|  32.5k|                pending >>= 1; \
  |  | 5193|  32.5k|            } \
  |  | 5194|  28.4k|            assert(ntz < blen); \
  |  | 5195|  28.4k|            blen -= ntz; \
  |  | 5196|   109k|            do { \
  |  | 5197|   109k|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5104|   109k|    do {                                        \
  |  |  |  | 5105|   109k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5106|   109k|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5106:13): [True: 0, False: 109k]
  |  |  |  |  ------------------
  |  |  |  | 5107|   109k|            goto Error;                         \
  |  |  |  | 5108|   109k|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|   109k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   109k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   109k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5109|   109k|        result = temp;                          \
  |  |  |  | 5110|   109k|        temp = NULL;                            \
  |  |  |  | 5111|   109k|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5091|   109k|    do {                                                \
  |  |  |  |  |  | 5092|   109k|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5092:13): [True: 59, False: 109k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 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|   109k|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5099:13): [Folded, False: 109k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5112|   109k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5112:13): [Folded, False: 109k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5198|   109k|            } while (--blen); \
  |  |  ------------------
  |  |  |  Branch (5198:22): [True: 81.2k, False: 28.4k]
  |  |  ------------------
  |  | 5199|  28.4k|            MULT(z, table[pending >> 1], z); \
  |  |  ------------------
  |  |  |  | 5104|  28.4k|    do {                                        \
  |  |  |  | 5105|  28.4k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5106|  28.4k|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5106:13): [True: 0, False: 28.4k]
  |  |  |  |  ------------------
  |  |  |  | 5107|  28.4k|            goto Error;                         \
  |  |  |  | 5108|  28.4k|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|  28.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  28.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  28.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5109|  28.4k|        result = temp;                          \
  |  |  |  | 5110|  28.4k|        temp = NULL;                            \
  |  |  |  | 5111|  28.4k|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5091|  28.4k|    do {                                                \
  |  |  |  |  |  | 5092|  28.4k|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5092:13): [True: 12, False: 28.4k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 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|  28.4k|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5099:13): [Folded, False: 28.4k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5112|  28.4k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5112:13): [Folded, False: 28.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5200|  61.0k|            while (ntz-- > 0) \
  |  |  ------------------
  |  |  |  Branch (5200:20): [True: 32.5k, False: 28.4k]
  |  |  ------------------
  |  | 5201|  32.5k|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5104|  61.0k|    do {                                        \
  |  |  |  | 5105|  32.5k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5106|  32.5k|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5106:13): [True: 0, False: 32.5k]
  |  |  |  |  ------------------
  |  |  |  | 5107|  32.5k|            goto Error;                         \
  |  |  |  | 5108|  32.5k|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|  32.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  32.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  32.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5109|  32.5k|        result = temp;                          \
  |  |  |  | 5110|  32.5k|        temp = NULL;                            \
  |  |  |  | 5111|  32.5k|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5091|  32.5k|    do {                                                \
  |  |  |  |  |  | 5092|  32.5k|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5092:13): [True: 1, False: 32.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 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|  32.5k|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5099:13): [Folded, False: 32.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5112|  32.5k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5112:13): [Folded, False: 32.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5202|  28.4k|            assert(blen == 0); \
  |  | 5203|  28.4k|            pending = 0; \
  |  | 5204|  28.4k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (5204:17): [Folded, False: 28.4k]
  |  |  ------------------
  ------------------
  |  Branch (5214:25): [True: 28.4k, False: 0]
  |  Branch (5214:25): [True: 28.4k, False: 0]
  |  Branch (5214:25): [True: 28.4k, False: 0]
  |  Branch (5214:25): [True: 28.4k, False: 0]
  |  Branch (5214:25): [True: 28.4k, False: 0]
  |  Branch (5214:25): [True: 28.4k, False: 0]
  ------------------
 5215|   146k|                }
 5216|  82.3k|                else /* absorb strings of 0 bits */
 5217|  82.3k|                    MULT(z, z, z);
  ------------------
  |  | 5104|  82.3k|    do {                                        \
  |  | 5105|  82.3k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5106|  82.3k|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5106:13): [True: 0, False: 82.3k]
  |  |  ------------------
  |  | 5107|  82.3k|            goto Error;                         \
  |  | 5108|  82.3k|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|  82.3k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  82.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  82.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|  82.3k|        result = temp;                          \
  |  | 5110|  82.3k|        temp = NULL;                            \
  |  | 5111|  82.3k|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5091|  82.3k|    do {                                                \
  |  |  |  | 5092|  82.3k|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5092:13): [True: 29, False: 82.3k]
  |  |  |  |  ------------------
  |  |  |  | 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|  82.3k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5099:13): [Folded, False: 82.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|  82.3k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5112:13): [Folded, False: 82.3k]
  |  |  ------------------
  ------------------
 5218|   228k|            }
 5219|  7.63k|        }
 5220|  1.96k|        if (pending)
  ------------------
  |  Branch (5220:13): [True: 1.39k, False: 578]
  ------------------
 5221|  1.39k|            ABSORB_PENDING;
  ------------------
  |  | 5185|  1.39k|#define ABSORB_PENDING  do { \
  |  | 5186|  1.39k|            int ntz = 0; /* number of trailing zeroes in `pending` */ \
  |  | 5187|  1.39k|            assert(pending && blen); \
  |  | 5188|  1.39k|            assert(pending >> (blen - 1)); \
  |  | 5189|  1.39k|            assert(pending >> blen == 0); \
  |  | 5190|  2.19k|            while ((pending & 1) == 0) { \
  |  |  ------------------
  |  |  |  Branch (5190:20): [True: 802, False: 1.39k]
  |  |  ------------------
  |  | 5191|    802|                ++ntz; \
  |  | 5192|    802|                pending >>= 1; \
  |  | 5193|    802|            } \
  |  | 5194|  1.39k|            assert(ntz < blen); \
  |  | 5195|  1.39k|            blen -= ntz; \
  |  | 5196|  3.45k|            do { \
  |  | 5197|  3.45k|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5104|  3.45k|    do {                                        \
  |  |  |  | 5105|  3.45k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5106|  3.45k|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5106:13): [True: 0, False: 3.45k]
  |  |  |  |  ------------------
  |  |  |  | 5107|  3.45k|            goto Error;                         \
  |  |  |  | 5108|  3.45k|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|  3.45k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5109|  3.45k|        result = temp;                          \
  |  |  |  | 5110|  3.45k|        temp = NULL;                            \
  |  |  |  | 5111|  3.45k|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5091|  3.45k|    do {                                                \
  |  |  |  |  |  | 5092|  3.45k|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5092:13): [True: 1, False: 3.45k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 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|  3.45k|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5099:13): [Folded, False: 3.45k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5112|  3.45k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5112:13): [Folded, False: 3.45k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5198|  3.45k|            } while (--blen); \
  |  |  ------------------
  |  |  |  Branch (5198:22): [True: 2.06k, False: 1.39k]
  |  |  ------------------
  |  | 5199|  1.39k|            MULT(z, table[pending >> 1], z); \
  |  |  ------------------
  |  |  |  | 5104|  1.39k|    do {                                        \
  |  |  |  | 5105|  1.39k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5106|  1.39k|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5106:13): [True: 0, False: 1.39k]
  |  |  |  |  ------------------
  |  |  |  | 5107|  1.39k|            goto Error;                         \
  |  |  |  | 5108|  1.39k|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|  1.39k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5109|  1.39k|        result = temp;                          \
  |  |  |  | 5110|  1.39k|        temp = NULL;                            \
  |  |  |  | 5111|  1.39k|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5091|  1.39k|    do {                                                \
  |  |  |  |  |  | 5092|  1.39k|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5092:13): [True: 1, False: 1.38k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 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.39k|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5099:13): [Folded, False: 1.39k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5112|  1.39k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5112:13): [Folded, False: 1.39k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5200|  2.19k|            while (ntz-- > 0) \
  |  |  ------------------
  |  |  |  Branch (5200:20): [True: 802, False: 1.39k]
  |  |  ------------------
  |  | 5201|  1.39k|                MULT(z, z, z); \
  |  |  ------------------
  |  |  |  | 5104|  2.19k|    do {                                        \
  |  |  |  | 5105|    802|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  |  |  | 5106|    802|        if (temp == NULL)                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5106:13): [True: 0, False: 802]
  |  |  |  |  ------------------
  |  |  |  | 5107|    802|            goto Error;                         \
  |  |  |  | 5108|    802|        Py_XDECREF(result);                     \
  |  |  |  |  ------------------
  |  |  |  |  |  |  524|    802|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    802|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    802|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5109|    802|        result = temp;                          \
  |  |  |  | 5110|    802|        temp = NULL;                            \
  |  |  |  | 5111|    802|        REDUCE(result);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5091|    802|    do {                                                \
  |  |  |  |  |  | 5092|    802|        if (c != NULL) {                                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5092:13): [True: 0, False: 802]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 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|    802|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5099:13): [Folded, False: 802]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5112|    802|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5112:13): [Folded, False: 802]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5202|  1.39k|            assert(blen == 0); \
  |  | 5203|  1.39k|            pending = 0; \
  |  | 5204|  1.39k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (5204:17): [Folded, False: 1.39k]
  |  |  ------------------
  ------------------
  |  Branch (5221:13): [True: 1.39k, False: 0]
  |  Branch (5221:13): [True: 1.39k, False: 0]
  |  Branch (5221:13): [True: 1.39k, False: 0]
  |  Branch (5221:13): [True: 1.39k, False: 0]
  |  Branch (5221:13): [True: 1.39k, False: 0]
  |  Branch (5221:13): [True: 1.39k, False: 0]
  ------------------
 5222|  1.96k|    }
 5223|       |
 5224|  45.0k|    if (negativeOutput && !_PyLong_IsZero(z)) {
  ------------------
  |  Branch (5224:9): [True: 0, False: 45.0k]
  |  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);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5229|      0|        temp = NULL;
 5230|      0|    }
 5231|  45.0k|    goto Done;
 5232|       |
 5233|  45.0k|  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|  45.0k|  Done:
 5237|  76.5k|    for (i = 0; i < num_table_entries; ++i)
  ------------------
  |  Branch (5237:17): [True: 31.4k, False: 45.0k]
  ------------------
 5238|  31.4k|        Py_DECREF(table[i]);
  ------------------
  |  |  430|  76.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5239|  45.0k|    Py_DECREF(a);
  ------------------
  |  |  430|  45.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  45.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5240|  45.0k|    Py_DECREF(b);
  ------------------
  |  |  430|  45.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  45.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5241|  45.0k|    Py_XDECREF(c);
  ------------------
  |  |  524|  45.0k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  45.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5242|  45.0k|    Py_XDECREF(a2);
  ------------------
  |  |  524|  45.0k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  45.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5243|  45.0k|    Py_XDECREF(temp);
  ------------------
  |  |  524|  45.0k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  45.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5244|  45.0k|    return (PyObject *)z;
 5245|      0|}
longobject.c:long_neg_method:
 5281|   119k|{
 5282|   119k|    return (PyObject*)long_neg(_PyLong_CAST(v));
  ------------------
  |  |    6|   119k|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   119k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5282:32): [True: 119k, False: 0]
  ------------------
 5283|   119k|}
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|  3.61k|{
 5303|  3.61k|    return !_PyLong_IsZero(_PyLong_CAST(v));
  ------------------
  |  |    6|  3.61k|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5303:28): [True: 3.61k, False: 0]
  ------------------
 5304|  3.61k|}
longobject.c:long_invert:
 5249|  11.1k|{
 5250|  11.1k|    PyLongObject *v = _PyLong_CAST(self);
  ------------------
  |  |    6|  11.1k|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  11.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5250:23): [True: 11.1k, False: 0]
  ------------------
 5251|       |
 5252|       |    /* Implement ~x as -(x+1) */
 5253|  11.1k|    if (_PyLong_IsCompact(v))
  ------------------
  |  Branch (5253:9): [True: 4.94k, False: 6.18k]
  ------------------
 5254|  4.94k|        return (PyObject*)_PyLong_FromSTwoDigits(~medium_value(v));
  ------------------
  |  |   27|  4.94k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5255|       |
 5256|  6.18k|    PyLongObject *x = long_add(v, (PyLongObject *)_PyLong_GetOne());
 5257|  6.18k|    if (x == NULL)
  ------------------
  |  Branch (5257:9): [True: 0, False: 6.18k]
  ------------------
 5258|      0|        return NULL;
 5259|  6.18k|    _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|  6.18k|    return (PyObject *)x;
 5263|  6.18k|}
longobject.c:long_lshift_method:
 5496|  9.65k|{
 5497|  9.65k|    CHECK_BINOP(aa, bb);
  ------------------
  |  | 1844|  9.65k|    do {                                                \
  |  | 1845|  9.65k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  9.65k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  19.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  9.50k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  9.50k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 153, False: 9.50k]
  |  |  |  Branch (1845:33): [True: 126, False: 9.37k]
  |  |  ------------------
  |  | 1846|  9.65k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|    279|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|    279|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  9.65k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 9.37k]
  |  |  ------------------
  ------------------
 5498|  9.37k|    PyLongObject *a = (PyLongObject*)aa;
 5499|  9.37k|    PyLongObject *b = (PyLongObject*)bb;
 5500|       |
 5501|  9.37k|    if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (5501:9): [True: 583, False: 8.79k]
  ------------------
 5502|    583|        PyErr_SetString(PyExc_ValueError, "negative shift count");
 5503|    583|        return NULL;
 5504|    583|    }
 5505|  8.79k|    if (_PyLong_IsZero(a)) {
  ------------------
  |  Branch (5505:9): [True: 972, False: 7.82k]
  ------------------
 5506|    972|        return PyLong_FromLong(0);
 5507|    972|    }
 5508|       |
 5509|  7.82k|    int64_t shiftby;
 5510|  7.82k|    if (PyLong_AsInt64(bb, &shiftby) < 0) {
  ------------------
  |  Branch (5510:9): [True: 0, False: 7.82k]
  ------------------
 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|  7.82k|    return long_lshift_int64(a, shiftby);
 5518|  7.82k|}
longobject.c:long_rshift:
 5398|  18.1k|{
 5399|  18.1k|    int64_t shiftby;
 5400|       |
 5401|  18.1k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  18.1k|    do {                                                \
  |  | 1845|  18.1k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  18.1k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  36.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  17.1k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  17.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 953, False: 17.1k]
  |  |  |  Branch (1845:33): [True: 1.03k, False: 16.1k]
  |  |  ------------------
  |  | 1846|  18.1k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|  1.98k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  1.98k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  18.1k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 16.1k]
  |  |  ------------------
  ------------------
 5402|       |
 5403|  16.1k|    if (_PyLong_IsNegative((PyLongObject *)b)) {
  ------------------
  |  Branch (5403:9): [True: 212, False: 15.9k]
  ------------------
 5404|    212|        PyErr_SetString(PyExc_ValueError, "negative shift count");
 5405|    212|        return NULL;
 5406|    212|    }
 5407|  15.9k|    if (_PyLong_IsZero((PyLongObject *)a)) {
  ------------------
  |  Branch (5407:9): [True: 969, False: 14.9k]
  ------------------
 5408|    969|        return PyLong_FromLong(0);
 5409|    969|    }
 5410|  14.9k|    if (PyLong_AsInt64(b, &shiftby) < 0) {
  ------------------
  |  Branch (5410:9): [True: 4.70k, False: 10.2k]
  ------------------
 5411|  4.70k|        if (!PyErr_ExceptionMatches(PyExc_OverflowError)) {
  ------------------
  |  Branch (5411:13): [True: 0, False: 4.70k]
  ------------------
 5412|      0|            return NULL;
 5413|      0|        }
 5414|  4.70k|        PyErr_Clear();
 5415|  4.70k|        if (_PyLong_IsNegative((PyLongObject *)a)) {
  ------------------
  |  Branch (5415:13): [True: 2.01k, False: 2.69k]
  ------------------
 5416|  2.01k|            return PyLong_FromLong(-1);
 5417|  2.01k|        }
 5418|  2.69k|        else {
 5419|  2.69k|            return PyLong_FromLong(0);
 5420|  2.69k|        }
 5421|  4.70k|    }
 5422|  10.2k|    return _PyLong_Rshift(a, shiftby);
 5423|  14.9k|}
longobject.c:long_and:
 5695|  6.24k|{
 5696|  6.24k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  6.24k|    do {                                                \
  |  | 1845|  6.24k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  6.24k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  12.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  5.81k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  5.81k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 430, False: 5.81k]
  |  |  |  Branch (1845:33): [True: 324, False: 5.49k]
  |  |  ------------------
  |  | 1846|  6.24k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|    754|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|    754|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  6.24k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 5.49k]
  |  |  ------------------
  ------------------
 5697|  5.49k|    PyLongObject *x = (PyLongObject*)a;
 5698|  5.49k|    PyLongObject *y = (PyLongObject*)b;
 5699|  5.49k|    if (_PyLong_IsCompact(x) && _PyLong_IsCompact(y)) {
  ------------------
  |  Branch (5699:9): [True: 3.47k, False: 2.02k]
  |  Branch (5699:33): [True: 3.01k, False: 456]
  ------------------
 5700|  3.01k|        return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) & medium_value(y));
  ------------------
  |  |   27|  3.01k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) & medium_value(y));
  ------------------
  |  |   27|  3.01k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5701|  3.01k|    }
 5702|  2.47k|    return long_bitwise(x, '&', y);
 5703|  5.49k|}
longobject.c:long_bitwise:
 5571|  8.13k|{
 5572|  8.13k|    int nega, negb, negz;
 5573|  8.13k|    Py_ssize_t size_a, size_b, size_z, i;
 5574|  8.13k|    PyLongObject *z;
 5575|       |
 5576|  8.13k|    PyLongObject *new_a = NULL;
 5577|  8.13k|    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|  8.13k|    size_a = _PyLong_DigitCount(a);
 5585|  8.13k|    size_b = _PyLong_DigitCount(b);
 5586|       |    /* Swap a and b if necessary to ensure size_a >= size_b. */
 5587|  8.13k|    if (size_a < size_b) {
  ------------------
  |  Branch (5587:9): [True: 1.76k, False: 6.36k]
  ------------------
 5588|  1.76k|        z = a; a = b; b = z;
 5589|  1.76k|        size_z = size_a; size_a = size_b; size_b = size_z;
 5590|  1.76k|    }
 5591|       |
 5592|       |    /* If a is negative, replace it by its two's complement. */
 5593|  8.13k|    nega = _PyLong_IsNegative(a);
 5594|  8.13k|    if (nega) {
  ------------------
  |  Branch (5594:9): [True: 2.60k, False: 5.52k]
  ------------------
 5595|  2.60k|        z = long_alloc(size_a);
 5596|  2.60k|        if (z == NULL)
  ------------------
  |  Branch (5596:13): [True: 0, False: 2.60k]
  ------------------
 5597|      0|            return NULL;
 5598|  2.60k|        v_complement(z->long_value.ob_digit, a->long_value.ob_digit, size_a);
 5599|  2.60k|        new_a = z; // reference to decrement instead of a itself
 5600|  2.60k|        a = z;
 5601|  2.60k|    }
 5602|       |
 5603|       |    /* Same for b. */
 5604|  8.13k|    negb = _PyLong_IsNegative(b);
 5605|  8.13k|    if (negb) {
  ------------------
  |  Branch (5605:9): [True: 2.25k, False: 5.87k]
  ------------------
 5606|  2.25k|        z = long_alloc(size_b);
 5607|  2.25k|        if (z == NULL) {
  ------------------
  |  Branch (5607:13): [True: 0, False: 2.25k]
  ------------------
 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|  2.25k|        v_complement(z->long_value.ob_digit, b->long_value.ob_digit, size_b);
 5612|  2.25k|        new_b = z; // reference to decrement instead of b itself
 5613|  2.25k|        b = z;
 5614|  2.25k|    }
 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|  8.13k|    switch (op) {
 5624|  3.67k|    case '^':
  ------------------
  |  Branch (5624:5): [True: 3.67k, False: 4.45k]
  ------------------
 5625|  3.67k|        negz = nega ^ negb;
 5626|  3.67k|        size_z = size_a;
 5627|  3.67k|        break;
 5628|  2.47k|    case '&':
  ------------------
  |  Branch (5628:5): [True: 2.47k, False: 5.65k]
  ------------------
 5629|  2.47k|        negz = nega & negb;
 5630|  2.47k|        size_z = negb ? size_a : size_b;
  ------------------
  |  Branch (5630:18): [True: 761, False: 1.71k]
  ------------------
 5631|  2.47k|        break;
 5632|  1.97k|    case '|':
  ------------------
  |  Branch (5632:5): [True: 1.97k, False: 6.15k]
  ------------------
 5633|  1.97k|        negz = nega | negb;
 5634|  1.97k|        size_z = negb ? size_b : size_a;
  ------------------
  |  Branch (5634:18): [True: 613, False: 1.36k]
  ------------------
 5635|  1.97k|        break;
 5636|      0|    default:
  ------------------
  |  Branch (5636:5): [True: 0, False: 8.13k]
  ------------------
 5637|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5638|  8.13k|    }
 5639|       |
 5640|  8.13k|    if ((size_z + negz) == 0) {
  ------------------
  |  Branch (5640:9): [True: 462, False: 7.67k]
  ------------------
 5641|    462|        Py_XDECREF(new_a);
  ------------------
  |  |  524|    462|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    462|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    462|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5642|    462|        Py_XDECREF(new_b);
  ------------------
  |  |  524|    462|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    462|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    462|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5643|    462|        return get_small_int(0);
 5644|    462|    }
 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|  7.67k|    z = long_alloc(size_z + negz);
 5649|  7.67k|    if (z == NULL) {
  ------------------
  |  Branch (5649:9): [True: 0, False: 7.67k]
  ------------------
 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|  7.67k|    switch(op) {
 5657|  2.01k|    case '&':
  ------------------
  |  Branch (5657:5): [True: 2.01k, False: 5.65k]
  ------------------
 5658|  24.9k|        for (i = 0; i < size_b; ++i)
  ------------------
  |  Branch (5658:21): [True: 22.9k, False: 2.01k]
  ------------------
 5659|  22.9k|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] & b->long_value.ob_digit[i];
 5660|  2.01k|        break;
 5661|  1.97k|    case '|':
  ------------------
  |  Branch (5661:5): [True: 1.97k, False: 5.69k]
  ------------------
 5662|  22.1k|        for (i = 0; i < size_b; ++i)
  ------------------
  |  Branch (5662:21): [True: 20.1k, False: 1.97k]
  ------------------
 5663|  20.1k|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] | b->long_value.ob_digit[i];
 5664|  1.97k|        break;
 5665|  3.67k|    case '^':
  ------------------
  |  Branch (5665:5): [True: 3.67k, False: 3.99k]
  ------------------
 5666|  23.8k|        for (i = 0; i < size_b; ++i)
  ------------------
  |  Branch (5666:21): [True: 20.1k, False: 3.67k]
  ------------------
 5667|  20.1k|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] ^ b->long_value.ob_digit[i];
 5668|  3.67k|        break;
 5669|      0|    default:
  ------------------
  |  Branch (5669:5): [True: 0, False: 7.67k]
  ------------------
 5670|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5671|  7.67k|    }
 5672|       |
 5673|       |    /* Copy any remaining digits of a, inverting if necessary. */
 5674|  7.67k|    if (op == '^' && negb)
  ------------------
  |  Branch (5674:9): [True: 3.67k, False: 3.99k]
  |  Branch (5674:22): [True: 882, False: 2.79k]
  ------------------
 5675|  3.05k|        for (; i < size_z; ++i)
  ------------------
  |  Branch (5675:16): [True: 2.17k, False: 882]
  ------------------
 5676|  2.17k|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] ^ PyLong_MASK;
  ------------------
  |  |   62|  2.17k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  2.17k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  2.17k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5677|  6.79k|    else if (i < size_z)
  ------------------
  |  Branch (5677:14): [True: 4.61k, False: 2.17k]
  ------------------
 5678|  4.61k|        memcpy(&z->long_value.ob_digit[i], &a->long_value.ob_digit[i],
 5679|  4.61k|               (size_z-i)*sizeof(digit));
 5680|       |
 5681|       |    /* Complement result if negative. */
 5682|  7.67k|    if (negz) {
  ------------------
  |  Branch (5682:9): [True: 2.82k, False: 4.84k]
  ------------------
 5683|  2.82k|        _PyLong_FlipSign(z);
 5684|  2.82k|        z->long_value.ob_digit[size_z] = PyLong_MASK;
  ------------------
  |  |   62|  2.82k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  2.82k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  2.82k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5685|  2.82k|        v_complement(z->long_value.ob_digit, z->long_value.ob_digit, size_z+1);
 5686|  2.82k|    }
 5687|       |
 5688|  7.67k|    Py_XDECREF(new_a);
  ------------------
  |  |  524|  7.67k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5689|  7.67k|    Py_XDECREF(new_b);
  ------------------
  |  |  524|  7.67k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5690|  7.67k|    return (PyObject *)maybe_small_long(long_normalize(z));
 5691|  7.67k|}
longobject.c:v_complement:
 5554|  7.69k|{
 5555|  7.69k|    Py_ssize_t i;
 5556|  7.69k|    digit carry = 1;
 5557|  44.5k|    for (i = 0; i < m; ++i) {
  ------------------
  |  Branch (5557:17): [True: 36.9k, False: 7.69k]
  ------------------
 5558|  36.9k|        carry += a[i] ^ PyLong_MASK;
  ------------------
  |  |   62|  36.9k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  36.9k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  36.9k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5559|  36.9k|        z[i] = carry & PyLong_MASK;
  ------------------
  |  |   62|  36.9k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  36.9k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  36.9k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5560|  36.9k|        carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|  36.9k|#define PyLong_SHIFT    30
  ------------------
 5561|  36.9k|    }
 5562|       |    assert(carry == 0);
  ------------------
  |  Branch (5562:5): [True: 7.69k, False: 0]
  ------------------
 5563|  7.69k|}
longobject.c:long_xor:
 5707|  5.87k|{
 5708|  5.87k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  5.87k|    do {                                                \
  |  | 1845|  5.87k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  5.87k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  11.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  5.10k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  5.10k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 763, False: 5.10k]
  |  |  |  Branch (1845:33): [True: 96, False: 5.01k]
  |  |  ------------------
  |  | 1846|  5.87k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|    859|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|    859|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  5.87k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 5.01k]
  |  |  ------------------
  ------------------
 5709|  5.01k|    PyLongObject *x = (PyLongObject*)a;
 5710|  5.01k|    PyLongObject *y = (PyLongObject*)b;
 5711|  5.01k|    if (_PyLong_IsCompact(x) && _PyLong_IsCompact(y)) {
  ------------------
  |  Branch (5711:9): [True: 1.76k, False: 3.25k]
  |  Branch (5711:33): [True: 1.33k, False: 429]
  ------------------
 5712|  1.33k|        return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) ^ medium_value(y));
  ------------------
  |  |   27|  1.33k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) ^ medium_value(y));
  ------------------
  |  |   27|  1.33k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5713|  1.33k|    }
 5714|  3.67k|    return long_bitwise(x, '^', y);
 5715|  5.01k|}
longobject.c:long_or:
 5719|  6.82k|{
 5720|  6.82k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  6.82k|    do {                                                \
  |  | 1845|  6.82k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  6.82k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  13.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  6.63k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  6.63k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 192, False: 6.63k]
  |  |  |  Branch (1845:33): [True: 86, False: 6.54k]
  |  |  ------------------
  |  | 1846|  6.82k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|    278|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|    278|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  6.82k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 6.54k]
  |  |  ------------------
  ------------------
 5721|  6.54k|    PyLongObject *x = (PyLongObject*)a;
 5722|  6.54k|    PyLongObject *y = (PyLongObject*)b;
 5723|  6.54k|    if (_PyLong_IsCompact(x) && _PyLong_IsCompact(y)) {
  ------------------
  |  Branch (5723:9): [True: 5.28k, False: 1.26k]
  |  Branch (5723:33): [True: 4.56k, False: 717]
  ------------------
 5724|  4.56k|        return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) | medium_value(y));
  ------------------
  |  |   27|  4.56k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) | medium_value(y));
  ------------------
  |  |   27|  4.56k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5725|  4.56k|    }
 5726|  1.97k|    return long_bitwise(x, '|', y);
 5727|  6.54k|}
longobject.c:long_div:
 4584|  1.62M|{
 4585|  1.62M|    PyLongObject *div;
 4586|       |
 4587|  1.62M|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  1.62M|    do {                                                \
  |  | 1845|  1.62M|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  1.62M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  3.24M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  1.62M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  1.62M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 1.04k, False: 1.62M]
  |  |  |  Branch (1845:33): [True: 1.01k, False: 1.62M]
  |  |  ------------------
  |  | 1846|  1.62M|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|  2.05k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  2.05k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  1.62M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 1.62M]
  |  |  ------------------
  ------------------
 4588|       |
 4589|  1.62M|    if (_PyLong_DigitCount((PyLongObject*)a) == 1 && _PyLong_DigitCount((PyLongObject*)b) == 1) {
  ------------------
  |  Branch (4589:9): [True: 1.53M, False: 90.4k]
  |  Branch (4589:54): [True: 1.53M, False: 1.06k]
  ------------------
 4590|  1.53M|        return fast_floor_div((PyLongObject*)a, (PyLongObject*)b);
 4591|  1.53M|    }
 4592|       |
 4593|  91.4k|    if (l_divmod((PyLongObject*)a, (PyLongObject*)b, &div, NULL) < 0)
  ------------------
  |  Branch (4593:9): [True: 108, False: 91.3k]
  ------------------
 4594|    108|        div = NULL;
 4595|  91.4k|    return (PyObject *)div;
 4596|  1.62M|}
longobject.c:long_true_divide:
 4605|  51.7k|{
 4606|  51.7k|    PyLongObject *a, *b, *x;
 4607|  51.7k|    Py_ssize_t a_size, b_size, shift, extra_bits, diff, x_size, x_bits;
 4608|  51.7k|    digit mask, low;
 4609|  51.7k|    int inexact, negate, a_is_small, b_is_small;
 4610|  51.7k|    double dx, result;
 4611|       |
 4612|  51.7k|    CHECK_BINOP(v, w);
  ------------------
  |  | 1844|  51.7k|    do {                                                \
  |  | 1845|  51.7k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  51.7k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   103k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  51.2k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  51.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 511, False: 51.2k]
  |  |  |  Branch (1845:33): [True: 11.2k, False: 40.0k]
  |  |  ------------------
  |  | 1846|  51.7k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|  11.7k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  11.7k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  51.7k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 40.0k]
  |  |  ------------------
  ------------------
 4613|  40.0k|    a = (PyLongObject *)v;
 4614|  40.0k|    b = (PyLongObject *)w;
 4615|       |
 4616|       |    /*
 4617|       |       Method in a nutshell:
 4618|       |
 4619|       |         0. reduce to case a, b > 0; filter out obvious underflow/overflow
 4620|       |         1. choose a suitable integer 'shift'
 4621|       |         2. use integer arithmetic to compute x = floor(2**-shift*a/b)
 4622|       |         3. adjust x for correct rounding
 4623|       |         4. convert x to a double dx with the same value
 4624|       |         5. return ldexp(dx, shift).
 4625|       |
 4626|       |       In more detail:
 4627|       |
 4628|       |       0. For any a, a/0 raises ZeroDivisionError; for nonzero b, 0/b
 4629|       |       returns either 0.0 or -0.0, depending on the sign of b.  For a and
 4630|       |       b both nonzero, ignore signs of a and b, and add the sign back in
 4631|       |       at the end.  Now write a_bits and b_bits for the bit lengths of a
 4632|       |       and b respectively (that is, a_bits = 1 + floor(log_2(a)); likewise
 4633|       |       for b).  Then
 4634|       |
 4635|       |          2**(a_bits - b_bits - 1) < a/b < 2**(a_bits - b_bits + 1).
 4636|       |
 4637|       |       So if a_bits - b_bits > DBL_MAX_EXP then a/b > 2**DBL_MAX_EXP and
 4638|       |       so overflows.  Similarly, if a_bits - b_bits < DBL_MIN_EXP -
 4639|       |       DBL_MANT_DIG - 1 then a/b underflows to 0.  With these cases out of
 4640|       |       the way, we can assume that
 4641|       |
 4642|       |          DBL_MIN_EXP - DBL_MANT_DIG - 1 <= a_bits - b_bits <= DBL_MAX_EXP.
 4643|       |
 4644|       |       1. The integer 'shift' is chosen so that x has the right number of
 4645|       |       bits for a double, plus two or three extra bits that will be used
 4646|       |       in the rounding decisions.  Writing a_bits and b_bits for the
 4647|       |       number of significant bits in a and b respectively, a
 4648|       |       straightforward formula for shift is:
 4649|       |
 4650|       |          shift = a_bits - b_bits - DBL_MANT_DIG - 2
 4651|       |
 4652|       |       This is fine in the usual case, but if a/b is smaller than the
 4653|       |       smallest normal float then it can lead to double rounding on an
 4654|       |       IEEE 754 platform, giving incorrectly rounded results.  So we
 4655|       |       adjust the formula slightly.  The actual formula used is:
 4656|       |
 4657|       |           shift = MAX(a_bits - b_bits, DBL_MIN_EXP) - DBL_MANT_DIG - 2
 4658|       |
 4659|       |       2. The quantity x is computed by first shifting a (left -shift bits
 4660|       |       if shift <= 0, right shift bits if shift > 0) and then dividing by
 4661|       |       b.  For both the shift and the division, we keep track of whether
 4662|       |       the result is inexact, in a flag 'inexact'; this information is
 4663|       |       needed at the rounding stage.
 4664|       |
 4665|       |       With the choice of shift above, together with our assumption that
 4666|       |       a_bits - b_bits >= DBL_MIN_EXP - DBL_MANT_DIG - 1, it follows
 4667|       |       that x >= 1.
 4668|       |
 4669|       |       3. Now x * 2**shift <= a/b < (x+1) * 2**shift.  We want to replace
 4670|       |       this with an exactly representable float of the form
 4671|       |
 4672|       |          round(x/2**extra_bits) * 2**(extra_bits+shift).
 4673|       |
 4674|       |       For float representability, we need x/2**extra_bits <
 4675|       |       2**DBL_MANT_DIG and extra_bits + shift >= DBL_MIN_EXP -
 4676|       |       DBL_MANT_DIG.  This translates to the condition:
 4677|       |
 4678|       |          extra_bits >= MAX(x_bits, DBL_MIN_EXP - shift) - DBL_MANT_DIG
 4679|       |
 4680|       |       To round, we just modify the bottom digit of x in-place; this can
 4681|       |       end up giving a digit with value > PyLONG_MASK, but that's not a
 4682|       |       problem since digits can hold values up to 2*PyLONG_MASK+1.
 4683|       |
 4684|       |       With the original choices for shift above, extra_bits will always
 4685|       |       be 2 or 3.  Then rounding under the round-half-to-even rule, we
 4686|       |       round up iff the most significant of the extra bits is 1, and
 4687|       |       either: (a) the computation of x in step 2 had an inexact result,
 4688|       |       or (b) at least one other of the extra bits is 1, or (c) the least
 4689|       |       significant bit of x (above those to be rounded) is 1.
 4690|       |
 4691|       |       4. Conversion to a double is straightforward; all floating-point
 4692|       |       operations involved in the conversion are exact, so there's no
 4693|       |       danger of rounding errors.
 4694|       |
 4695|       |       5. Use ldexp(x, shift) to compute x*2**shift, the final result.
 4696|       |       The result will always be exactly representable as a double, except
 4697|       |       in the case that it overflows.  To avoid dependence on the exact
 4698|       |       behaviour of ldexp on overflow, we check for overflow before
 4699|       |       applying ldexp.  The result of ldexp is adjusted for sign before
 4700|       |       returning.
 4701|       |    */
 4702|       |
 4703|       |    /* Reduce to case where a and b are both positive. */
 4704|  40.0k|    a_size = _PyLong_DigitCount(a);
 4705|  40.0k|    b_size = _PyLong_DigitCount(b);
 4706|  40.0k|    negate = (_PyLong_IsNegative(a)) != (_PyLong_IsNegative(b));
 4707|  40.0k|    if (b_size == 0) {
  ------------------
  |  Branch (4707:9): [True: 293, False: 39.7k]
  ------------------
 4708|    293|        PyErr_SetString(PyExc_ZeroDivisionError,
 4709|    293|                        "division by zero");
 4710|    293|        goto error;
 4711|    293|    }
 4712|  39.7k|    if (a_size == 0)
  ------------------
  |  Branch (4712:9): [True: 579, False: 39.1k]
  ------------------
 4713|    579|        goto underflow_or_zero;
 4714|       |
 4715|       |    /* Fast path for a and b small (exactly representable in a double).
 4716|       |       Relies on floating-point division being correctly rounded; results
 4717|       |       may be subject to double rounding on x86 machines that operate with
 4718|       |       the x87 FPU set to 64-bit precision. */
 4719|  39.1k|    a_is_small = a_size <= MANT_DIG_DIGITS ||
  ------------------
  |  | 4600|  78.3k|#define MANT_DIG_DIGITS (DBL_MANT_DIG / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  39.1k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (4719:18): [True: 30.1k, False: 9.05k]
  ------------------
 4720|  9.05k|        (a_size == MANT_DIG_DIGITS+1 &&
  ------------------
  |  | 4600|  9.05k|#define MANT_DIG_DIGITS (DBL_MANT_DIG / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  9.05k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (4720:10): [True: 2.63k, False: 6.42k]
  ------------------
 4721|  2.63k|         a->long_value.ob_digit[MANT_DIG_DIGITS] >> MANT_DIG_BITS == 0);
  ------------------
  |  | 4600|  2.63k|#define MANT_DIG_DIGITS (DBL_MANT_DIG / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  2.63k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
                       a->long_value.ob_digit[MANT_DIG_DIGITS] >> MANT_DIG_BITS == 0);
  ------------------
  |  | 4601|  2.63k|#define MANT_DIG_BITS (DBL_MANT_DIG % PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  2.63k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (4721:10): [True: 1.75k, False: 881]
  ------------------
 4722|  39.1k|    b_is_small = b_size <= MANT_DIG_DIGITS ||
  ------------------
  |  | 4600|  78.3k|#define MANT_DIG_DIGITS (DBL_MANT_DIG / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  39.1k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (4722:18): [True: 15.8k, False: 23.2k]
  ------------------
 4723|  23.2k|        (b_size == MANT_DIG_DIGITS+1 &&
  ------------------
  |  | 4600|  23.2k|#define MANT_DIG_DIGITS (DBL_MANT_DIG / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  23.2k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (4723:10): [True: 12.6k, False: 10.6k]
  ------------------
 4724|  12.6k|         b->long_value.ob_digit[MANT_DIG_DIGITS] >> MANT_DIG_BITS == 0);
  ------------------
  |  | 4600|  12.6k|#define MANT_DIG_DIGITS (DBL_MANT_DIG / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  12.6k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
                       b->long_value.ob_digit[MANT_DIG_DIGITS] >> MANT_DIG_BITS == 0);
  ------------------
  |  | 4601|  12.6k|#define MANT_DIG_BITS (DBL_MANT_DIG % PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  12.6k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (4724:10): [True: 3.53k, False: 9.11k]
  ------------------
 4725|  39.1k|    if (a_is_small && b_is_small) {
  ------------------
  |  Branch (4725:9): [True: 31.8k, False: 7.30k]
  |  Branch (4725:23): [True: 12.2k, False: 19.6k]
  ------------------
 4726|  12.2k|        double da, db;
 4727|  12.2k|        da = a->long_value.ob_digit[--a_size];
 4728|  13.7k|        while (a_size > 0)
  ------------------
  |  Branch (4728:16): [True: 1.47k, False: 12.2k]
  ------------------
 4729|  1.47k|            da = da * PyLong_BASE + a->long_value.ob_digit[--a_size];
  ------------------
  |  |   61|  1.47k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  1.47k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
 4730|  12.2k|        db = b->long_value.ob_digit[--b_size];
 4731|  15.6k|        while (b_size > 0)
  ------------------
  |  Branch (4731:16): [True: 3.37k, False: 12.2k]
  ------------------
 4732|  3.37k|            db = db * PyLong_BASE + b->long_value.ob_digit[--b_size];
  ------------------
  |  |   61|  3.37k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  3.37k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
 4733|  12.2k|        result = da / db;
 4734|  12.2k|        goto success;
 4735|  12.2k|    }
 4736|       |
 4737|       |    /* Catch obvious cases of underflow and overflow */
 4738|  26.9k|    diff = a_size - b_size;
 4739|  26.9k|    if (diff > PY_SSIZE_T_MAX/PyLong_SHIFT - 1)
  ------------------
  |  |  137|  26.9k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if (diff > PY_SSIZE_T_MAX/PyLong_SHIFT - 1)
  ------------------
  |  |   47|  26.9k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (4739:9): [True: 0, False: 26.9k]
  ------------------
 4740|       |        /* Extreme overflow */
 4741|      0|        goto overflow;
 4742|  26.9k|    else if (diff < 1 - PY_SSIZE_T_MAX/PyLong_SHIFT)
  ------------------
  |  |  137|  26.9k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  else if (diff < 1 - PY_SSIZE_T_MAX/PyLong_SHIFT)
  ------------------
  |  |   47|  26.9k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (4742:14): [True: 0, False: 26.9k]
  ------------------
 4743|       |        /* Extreme underflow */
 4744|      0|        goto underflow_or_zero;
 4745|       |    /* Next line is now safe from overflowing a Py_ssize_t */
 4746|  26.9k|    diff = diff * PyLong_SHIFT + bit_length_digit(a->long_value.ob_digit[a_size - 1]) -
  ------------------
  |  |   47|  26.9k|#define PyLong_SHIFT    30
  ------------------
 4747|  26.9k|        bit_length_digit(b->long_value.ob_digit[b_size - 1]);
 4748|       |    /* Now diff = a_bits - b_bits. */
 4749|  26.9k|    if (diff > DBL_MAX_EXP)
  ------------------
  |  Branch (4749:9): [True: 13, False: 26.9k]
  ------------------
 4750|     13|        goto overflow;
 4751|  26.9k|    else if (diff < DBL_MIN_EXP - DBL_MANT_DIG - 1)
  ------------------
  |  Branch (4751:14): [True: 23, False: 26.9k]
  ------------------
 4752|     23|        goto underflow_or_zero;
 4753|       |
 4754|       |    /* Choose value for shift; see comments for step 1 above. */
 4755|  26.9k|    shift = Py_MAX(diff, DBL_MIN_EXP) - DBL_MANT_DIG - 2;
  ------------------
  |  |  115|  26.9k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 26.8k, False: 48]
  |  |  ------------------
  ------------------
 4756|       |
 4757|  26.9k|    inexact = 0;
 4758|       |
 4759|       |    /* x = abs(a * 2**-shift) */
 4760|  26.9k|    if (shift <= 0) {
  ------------------
  |  Branch (4760:9): [True: 21.0k, False: 5.88k]
  ------------------
 4761|  21.0k|        Py_ssize_t i, shift_digits = -shift / PyLong_SHIFT;
  ------------------
  |  |   47|  21.0k|#define PyLong_SHIFT    30
  ------------------
 4762|  21.0k|        digit rem;
 4763|       |        /* x = a << -shift */
 4764|  21.0k|        if (a_size >= PY_SSIZE_T_MAX - 1 - shift_digits) {
  ------------------
  |  |  137|  21.0k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (4764:13): [True: 0, False: 21.0k]
  ------------------
 4765|       |            /* In practice, it's probably impossible to end up
 4766|       |               here.  Both a and b would have to be enormous,
 4767|       |               using close to SIZE_T_MAX bytes of memory each. */
 4768|      0|            PyErr_SetString(PyExc_OverflowError,
 4769|      0|                            "intermediate overflow during division");
 4770|      0|            goto error;
 4771|      0|        }
 4772|  21.0k|        x = long_alloc(a_size + shift_digits + 1);
 4773|  21.0k|        if (x == NULL)
  ------------------
  |  Branch (4773:13): [True: 0, False: 21.0k]
  ------------------
 4774|      0|            goto error;
 4775|  92.9k|        for (i = 0; i < shift_digits; i++)
  ------------------
  |  Branch (4775:21): [True: 71.9k, False: 21.0k]
  ------------------
 4776|  71.9k|            x->long_value.ob_digit[i] = 0;
 4777|  21.0k|        rem = v_lshift(x->long_value.ob_digit + shift_digits, a->long_value.ob_digit,
 4778|  21.0k|                       a_size, -shift % PyLong_SHIFT);
  ------------------
  |  |   47|  21.0k|#define PyLong_SHIFT    30
  ------------------
 4779|  21.0k|        x->long_value.ob_digit[a_size + shift_digits] = rem;
 4780|  21.0k|    }
 4781|  5.88k|    else {
 4782|  5.88k|        Py_ssize_t shift_digits = shift / PyLong_SHIFT;
  ------------------
  |  |   47|  5.88k|#define PyLong_SHIFT    30
  ------------------
 4783|  5.88k|        digit rem;
 4784|       |        /* x = a >> shift */
 4785|  5.88k|        assert(a_size >= shift_digits);
  ------------------
  |  Branch (4785:9): [True: 5.88k, False: 0]
  ------------------
 4786|  5.88k|        x = long_alloc(a_size - shift_digits);
 4787|  5.88k|        if (x == NULL)
  ------------------
  |  Branch (4787:13): [True: 0, False: 5.88k]
  ------------------
 4788|      0|            goto error;
 4789|  5.88k|        rem = v_rshift(x->long_value.ob_digit, a->long_value.ob_digit + shift_digits,
 4790|  5.88k|                       a_size - shift_digits, shift % PyLong_SHIFT);
  ------------------
  |  |   47|  5.88k|#define PyLong_SHIFT    30
  ------------------
 4791|       |        /* set inexact if any of the bits shifted out is nonzero */
 4792|  5.88k|        if (rem)
  ------------------
  |  Branch (4792:13): [True: 4.78k, False: 1.10k]
  ------------------
 4793|  4.78k|            inexact = 1;
 4794|  7.10k|        while (!inexact && shift_digits > 0)
  ------------------
  |  Branch (4794:16): [True: 1.94k, False: 5.16k]
  |  Branch (4794:28): [True: 1.22k, False: 719]
  ------------------
 4795|  1.22k|            if (a->long_value.ob_digit[--shift_digits])
  ------------------
  |  Branch (4795:17): [True: 381, False: 843]
  ------------------
 4796|    381|                inexact = 1;
 4797|  5.88k|    }
 4798|  26.9k|    long_normalize(x);
 4799|  26.9k|    x_size = _PyLong_SignedDigitCount(x);
 4800|       |
 4801|       |    /* x //= b. If the remainder is nonzero, set inexact.  We own the only
 4802|       |       reference to x, so it's safe to modify it in-place. */
 4803|  26.9k|    if (b_size == 1) {
  ------------------
  |  Branch (4803:9): [True: 7.02k, False: 19.8k]
  ------------------
 4804|  7.02k|        digit rem = inplace_divrem1(x->long_value.ob_digit, x->long_value.ob_digit, x_size,
 4805|  7.02k|                              b->long_value.ob_digit[0]);
 4806|  7.02k|        long_normalize(x);
 4807|  7.02k|        if (rem)
  ------------------
  |  Branch (4807:13): [True: 2.72k, False: 4.29k]
  ------------------
 4808|  2.72k|            inexact = 1;
 4809|  7.02k|    }
 4810|  19.8k|    else {
 4811|  19.8k|        PyLongObject *div, *rem;
 4812|  19.8k|        div = x_divrem(x, b, &rem);
 4813|  19.8k|        Py_SETREF(x, div);
  ------------------
  |  |  354|  19.8k|    do { \
  |  |  355|  19.8k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  19.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|  19.8k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  19.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|  19.8k|        *_tmp_dst_ptr = (src); \
  |  |  358|  19.8k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  19.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  19.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  19.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|  19.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 19.8k]
  |  |  ------------------
  ------------------
 4814|  19.8k|        if (x == NULL)
  ------------------
  |  Branch (4814:13): [True: 0, False: 19.8k]
  ------------------
 4815|      0|            goto error;
 4816|  19.8k|        if (!_PyLong_IsZero(rem))
  ------------------
  |  Branch (4816:13): [True: 19.8k, False: 53]
  ------------------
 4817|  19.8k|            inexact = 1;
 4818|  19.8k|        Py_DECREF(rem);
  ------------------
  |  |  430|  19.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4819|  19.8k|    }
 4820|  26.9k|    x_size = _PyLong_DigitCount(x);
 4821|  26.9k|    assert(x_size > 0); /* result of division is never zero */
  ------------------
  |  Branch (4821:5): [True: 26.9k, False: 0]
  ------------------
 4822|  26.9k|    x_bits = (x_size-1)*PyLong_SHIFT+bit_length_digit(x->long_value.ob_digit[x_size-1]);
  ------------------
  |  |   47|  26.9k|#define PyLong_SHIFT    30
  ------------------
 4823|       |
 4824|       |    /* The number of extra bits that have to be rounded away. */
 4825|  26.9k|    extra_bits = Py_MAX(x_bits, DBL_MIN_EXP - shift) - DBL_MANT_DIG;
  ------------------
  |  |  115|  26.9k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 26.8k, False: 48]
  |  |  ------------------
  ------------------
 4826|  26.9k|    assert(extra_bits == 2 || extra_bits == 3);
  ------------------
  |  Branch (4826:5): [True: 3.73k, False: 23.1k]
  |  Branch (4826:5): [True: 23.1k, False: 0]
  ------------------
 4827|       |
 4828|       |    /* Round by directly modifying the low digit of x. */
 4829|  26.9k|    mask = (digit)1 << (extra_bits - 1);
 4830|  26.9k|    low = x->long_value.ob_digit[0] | inexact;
 4831|  26.9k|    if ((low & mask) && (low & (3U*mask-1U)))
  ------------------
  |  Branch (4831:9): [True: 7.81k, False: 19.0k]
  |  Branch (4831:25): [True: 7.76k, False: 45]
  ------------------
 4832|  7.76k|        low += mask;
 4833|  26.9k|    x->long_value.ob_digit[0] = low & ~(2U*mask-1U);
 4834|       |
 4835|       |    /* Convert x to a double dx; the conversion is exact. */
 4836|  26.9k|    dx = x->long_value.ob_digit[--x_size];
 4837|  53.7k|    while (x_size > 0)
  ------------------
  |  Branch (4837:12): [True: 26.8k, False: 26.9k]
  ------------------
 4838|  26.8k|        dx = dx * PyLong_BASE + x->long_value.ob_digit[--x_size];
  ------------------
  |  |   61|  26.8k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  26.8k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
 4839|  26.9k|    Py_DECREF(x);
  ------------------
  |  |  430|  26.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4840|       |
 4841|       |    /* Check whether ldexp result will overflow a double. */
 4842|  26.9k|    if (shift + x_bits >= DBL_MAX_EXP &&
  ------------------
  |  Branch (4842:9): [True: 8, False: 26.8k]
  ------------------
 4843|      8|        (shift + x_bits > DBL_MAX_EXP || dx == ldexp(1.0, (int)x_bits)))
  ------------------
  |  Branch (4843:10): [True: 8, False: 0]
  |  Branch (4843:42): [True: 0, False: 0]
  ------------------
 4844|      8|        goto overflow;
 4845|  26.8k|    result = ldexp(dx, (int)shift);
 4846|       |
 4847|  39.1k|  success:
 4848|  39.1k|    return PyFloat_FromDouble(negate ? -result : result);
  ------------------
  |  Branch (4848:31): [True: 5.40k, False: 33.7k]
  ------------------
 4849|       |
 4850|    602|  underflow_or_zero:
 4851|    602|    return PyFloat_FromDouble(negate ? -0.0 : 0.0);
  ------------------
  |  Branch (4851:31): [True: 26, False: 576]
  ------------------
 4852|       |
 4853|     21|  overflow:
 4854|     21|    PyErr_SetString(PyExc_OverflowError,
 4855|     21|                    "integer division result too large for a float");
 4856|    314|  error:
 4857|       |    return NULL;
 4858|     21|}
longobject.c:long_hash:
 3672|   125M|{
 3673|   125M|    PyLongObject *v = (PyLongObject *)obj;
 3674|   125M|    Py_uhash_t x;
 3675|   125M|    Py_ssize_t i;
 3676|   125M|    int sign;
 3677|       |
 3678|   125M|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (3678:9): [True: 114M, False: 11.1M]
  ------------------
 3679|   114M|        x = (Py_uhash_t)_PyLong_CompactValue(v);
 3680|   114M|        if (x == (Py_uhash_t)-1) {
  ------------------
  |  Branch (3680:13): [True: 1.79k, False: 114M]
  ------------------
 3681|  1.79k|            x = (Py_uhash_t)-2;
 3682|  1.79k|        }
 3683|   114M|        return x;
 3684|   114M|    }
 3685|  11.1M|    i = _PyLong_DigitCount(v);
 3686|  11.1M|    sign = _PyLong_NonCompactSign(v);
 3687|       |
 3688|       |    // unroll first digit
 3689|  11.1M|    Py_BUILD_ASSERT(PyHASH_BITS > PyLong_SHIFT);
  ------------------
  |  |  167|  11.1M|        do { \
  |  |  168|  11.1M|            static_assert((cond), #cond); \
  |  |  169|  11.1M|        } while (0)
  |  |  ------------------
  |  |  |  Branch (169:18): [Folded, False: 11.1M]
  |  |  ------------------
  ------------------
 3690|  11.1M|    assert(i >= 1);
  ------------------
  |  Branch (3690:5): [True: 11.1M, False: 0]
  ------------------
 3691|  11.1M|    --i;
 3692|  11.1M|    x = v->long_value.ob_digit[i];
 3693|  11.1M|    assert(x < PyHASH_MODULUS);
  ------------------
  |  Branch (3693:5): [True: 11.1M, False: 0]
  ------------------
 3694|       |
 3695|  11.1M|#if PyHASH_BITS >= 2 * PyLong_SHIFT
 3696|       |    // unroll second digit
 3697|  11.1M|    assert(i >= 1);
  ------------------
  |  Branch (3697:5): [True: 11.1M, False: 0]
  ------------------
 3698|  11.1M|    --i;
 3699|  11.1M|    x <<= PyLong_SHIFT;
  ------------------
  |  |   47|  11.1M|#define PyLong_SHIFT    30
  ------------------
 3700|  11.1M|    x += v->long_value.ob_digit[i];
 3701|  11.1M|    assert(x < PyHASH_MODULUS);
  ------------------
  |  Branch (3701:5): [True: 11.1M, False: 0]
  ------------------
 3702|  11.1M|#endif
 3703|       |
 3704|  13.2M|    while (--i >= 0) {
  ------------------
  |  Branch (3704:12): [True: 2.11M, False: 11.1M]
  ------------------
 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|  2.11M|        x = ((x << PyLong_SHIFT) & PyHASH_MODULUS) |
  ------------------
  |  |   47|  2.11M|#define PyLong_SHIFT    30
  ------------------
                      x = ((x << PyLong_SHIFT) & PyHASH_MODULUS) |
  ------------------
  |  |   18|  2.11M|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|  2.11M|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
 3731|  2.11M|            (x >> (PyHASH_BITS - PyLong_SHIFT));
  ------------------
  |  |   13|  2.11M|#  define PyHASH_BITS 61
  ------------------
                          (x >> (PyHASH_BITS - PyLong_SHIFT));
  ------------------
  |  |   47|  2.11M|#define PyLong_SHIFT    30
  ------------------
 3732|  2.11M|        x += v->long_value.ob_digit[i];
 3733|  2.11M|        if (x >= PyHASH_MODULUS)
  ------------------
  |  |   18|  2.11M|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|  2.11M|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
  |  Branch (3733:13): [True: 2.98k, False: 2.11M]
  ------------------
 3734|  2.98k|            x -= PyHASH_MODULUS;
  ------------------
  |  |   18|  2.98k|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|  2.98k|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
 3735|  2.11M|    }
 3736|  11.1M|    x = x * sign;
 3737|  11.1M|    if (x == (Py_uhash_t)-1)
  ------------------
  |  Branch (3737:9): [True: 5.52k, False: 11.1M]
  ------------------
 3738|  5.52k|        x = (Py_uhash_t)-2;
 3739|  11.1M|    return (Py_hash_t)x;
 3740|  11.1M|}
longobject.c:long_richcompare:
 3624|   675k|{
 3625|   675k|    Py_ssize_t result;
 3626|   675k|    CHECK_BINOP(self, other);
  ------------------
  |  | 1844|   675k|    do {                                                \
  |  | 1845|   675k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|   675k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  1.35M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|   675k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   675k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 675k]
  |  |  |  Branch (1845:33): [True: 5.88k, False: 669k]
  |  |  ------------------
  |  | 1846|   675k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|  5.88k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  5.88k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|   675k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 669k]
  |  |  ------------------
  ------------------
 3627|   669k|    if (self == other)
  ------------------
  |  Branch (3627:9): [True: 62, False: 669k]
  ------------------
 3628|     62|        result = 0;
 3629|   669k|    else
 3630|   669k|        result = long_compare((PyLongObject*)self, (PyLongObject*)other);
 3631|   669k|    Py_RETURN_RICHCOMPARE(result, 0, op);
  ------------------
  |  |  674|   669k|    do {                                                                    \
  |  |  675|   669k|        switch (op) {                                                       \
  |  |  676|   666k|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|   666k|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|   426k|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|   426k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   426k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   426k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|   240k|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|   240k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   240k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   240k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (676:9): [True: 666k, False: 3.07k]
  |  |  |  Branch (676:25): [True: 426k, False: 240k]
  |  |  ------------------
  |  |  677|   666k|        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  655|    464|#define Py_NE 3
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|    460|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|    460|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    460|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    460|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (677:9): [True: 464, False: 669k]
  |  |  |  Branch (677:25): [True: 4, False: 460]
  |  |  ------------------
  |  |  678|  1.63k|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|  1.63k|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|    841|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|    841|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    841|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    841|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|    795|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|    795|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    795|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    795|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 1.63k, False: 668k]
  |  |  |  Branch (678:25): [True: 841, False: 795]
  |  |  ------------------
  |  |  679|  1.63k|        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  656|    949|#define Py_GT 4
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|    461|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|    461|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    461|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    461|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|    488|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|    488|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    488|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    488|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (679:9): [True: 949, False: 668k]
  |  |  |  Branch (679:25): [True: 461, False: 488]
  |  |  ------------------
  |  |  680|    949|        case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  653|     11|#define Py_LE 1
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|      6|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|      6|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; 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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (680:9): [True: 11, False: 669k]
  |  |  |  Branch (680:25): [True: 6, False: 5]
  |  |  ------------------
  |  |  681|     14|        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  657|     14|#define Py_GE 5
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|     12|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|     12|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (681:9): [True: 14, False: 669k]
  |  |  |  Branch (681:25): [True: 2, False: 12]
  |  |  ------------------
  |  |  682|     14|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 669k]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|   669k|        }                                                                   \
  |  |  685|   669k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3632|   669k|}
longobject.c:int_bit_length_impl:
 6292|    206|{
 6293|    206|    int64_t nbits = _PyLong_NumBits(self);
 6294|    206|    assert(nbits >= 0);
  ------------------
  |  Branch (6294:5): [True: 206, False: 0]
  ------------------
 6295|    206|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (6295:5): [True: 206, False: 0]
  ------------------
 6296|    206|    return PyLong_FromInt64(nbits);
 6297|    206|}
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)))
  ------------------
  |  |  921|      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)))
  ------------------
  |  |  921|      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|    255|{
 6451|    255|    int little_endian;
 6452|    255|    PyObject *long_obj, *bytes;
 6453|       |
 6454|    255|    if (byteorder == NULL)
  ------------------
  |  Branch (6454:9): [True: 0, False: 255]
  ------------------
 6455|      0|        little_endian = 0;
 6456|    255|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(little)))
  ------------------
  |  |  921|    255|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    255|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    255|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6456:14): [True: 255, False: 0]
  ------------------
 6457|    255|        little_endian = 1;
 6458|      0|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(big)))
  ------------------
  |  |  921|      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|    255|    if (PyBytes_CheckExact(bytes_obj)) {
  ------------------
  |  |   29|    255|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|    255|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    255|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    255|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 255, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6468|    255|        long_obj = _PyLong_FromByteArray(
 6469|    255|            (unsigned char *)PyBytes_AS_STRING(bytes_obj), Py_SIZE(bytes_obj),
  ------------------
  |  |   27|    255|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    255|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    255|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          (unsigned char *)PyBytes_AS_STRING(bytes_obj), Py_SIZE(bytes_obj),
  ------------------
  |  |  214|    255|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    255|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    255|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6470|    255|            little_endian, is_signed);
 6471|    255|    }
 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|    255|    if (long_obj != NULL && type != &PyLong_Type) {
  ------------------
  |  Branch (6494:9): [True: 255, False: 0]
  |  Branch (6494:29): [True: 0, False: 255]
  ------------------
 6495|      0|        Py_SETREF(long_obj, PyObject_CallOneArg((PyObject *)type, long_obj));
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6496|      0|    }
 6497|       |
 6498|    255|    return long_obj;
 6499|    255|}
longobject.c:int___format___impl:
 6091|    132|{
 6092|    132|    _PyUnicodeWriter writer;
 6093|    132|    int ret;
 6094|       |
 6095|    132|    _PyUnicodeWriter_Init(&writer);
 6096|    132|    ret = _PyLong_FormatAdvancedWriter(
 6097|    132|        &writer,
 6098|    132|        self,
 6099|    132|        format_spec, 0, PyUnicode_GET_LENGTH(format_spec));
  ------------------
  |  |  299|    132|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    132|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6100|    132|    if (ret == -1) {
  ------------------
  |  Branch (6100:9): [True: 0, False: 132]
  ------------------
 6101|      0|        _PyUnicodeWriter_Dealloc(&writer);
 6102|      0|        return NULL;
 6103|      0|    }
 6104|    132|    return _PyUnicodeWriter_Finish(&writer);
 6105|    132|}
longobject.c:long_new_impl:
 5972|    394|{
 5973|    394|    Py_ssize_t base;
 5974|       |
 5975|    394|    if (type != &PyLong_Type)
  ------------------
  |  Branch (5975:9): [True: 145, False: 249]
  ------------------
 5976|    145|        return long_subtype_new(type, x, obase); /* Wimp out */
 5977|    249|    if (x == NULL) {
  ------------------
  |  Branch (5977:9): [True: 1, False: 248]
  ------------------
 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|    248|    if (obase == NULL)
  ------------------
  |  Branch (5986:9): [True: 144, False: 104]
  ------------------
 5987|    144|        return PyNumber_Long(x);
 5988|       |
 5989|    104|    base = PyNumber_AsSsize_t(obase, NULL);
 5990|    104|    if (base == -1 && PyErr_Occurred())
  ------------------
  |  Branch (5990:9): [True: 0, False: 104]
  |  Branch (5990:23): [True: 0, False: 0]
  ------------------
 5991|      0|        return NULL;
 5992|    104|    if ((base != 0 && base < 2) || base > 36) {
  ------------------
  |  Branch (5992:10): [True: 104, False: 0]
  |  Branch (5992:23): [True: 0, False: 104]
  |  Branch (5992:36): [True: 0, False: 104]
  ------------------
 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|    104|    if (PyUnicode_Check(x))
  ------------------
  |  |  103|    104|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    104|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 104]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5999|      0|        return PyLong_FromUnicodeObject(x, (int)base);
 6000|    104|    else if (PyByteArray_Check(x) || PyBytes_Check(x)) {
  ------------------
  |  |   24|    104|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|    208|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 104, 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|    104|        const char *string;
 6002|    104|        if (PyByteArray_Check(x))
  ------------------
  |  |   24|    104|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|    104|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 104, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6003|    104|            string = PyByteArray_AS_STRING(x);
  ------------------
  |  |   28|    104|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#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|    104|        return _PyLong_FromBytes(string, Py_SIZE(x), (int)base);
  ------------------
  |  |  214|    104|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6007|    104|    }
 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|    104|}
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|  1.87k|{
 6531|  1.87k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  1.87k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 6532|  1.87k|    if (kwnames != NULL) {
  ------------------
  |  Branch (6532:9): [True: 0, False: 1.87k]
  ------------------
 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|  1.87k|    switch (nargs) {
 6537|      0|        case 0:
  ------------------
  |  Branch (6537:9): [True: 0, False: 1.87k]
  ------------------
 6538|      0|            return _PyLong_GetZero();
 6539|  1.76k|        case 1:
  ------------------
  |  Branch (6539:9): [True: 1.76k, False: 104]
  ------------------
 6540|  1.76k|            return PyNumber_Long(args[0]);
 6541|    104|        case 2:
  ------------------
  |  Branch (6541:9): [True: 104, False: 1.76k]
  ------------------
 6542|    104|            return long_new_impl(_PyType_CAST(type), args[0], args[1]);
  ------------------
  |  |  770|    104|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (6542:34): [True: 104, False: 0]
  ------------------
 6543|      0|        default:
  ------------------
  |  Branch (6543:9): [True: 0, False: 1.87k]
  ------------------
 6544|      0|            return PyErr_Format(PyExc_TypeError,
 6545|      0|                                "int expected at most 2 arguments, got %zd",
 6546|      0|                                nargs);
 6547|  1.87k|    }
 6548|  1.87k|}

PyMemoryView_FromBuffer:
  771|  72.1k|{
  772|  72.1k|    _PyManagedBufferObject *mbuf;
  773|  72.1k|    PyObject *mv;
  774|       |
  775|  72.1k|    if (info->buf == NULL) {
  ------------------
  |  Branch (775:9): [True: 0, False: 72.1k]
  ------------------
  776|      0|        PyErr_SetString(PyExc_ValueError,
  777|      0|            "PyMemoryView_FromBuffer(): info->buf must not be NULL");
  778|      0|        return NULL;
  779|      0|    }
  780|       |
  781|  72.1k|    mbuf = mbuf_alloc();
  782|  72.1k|    if (mbuf == NULL)
  ------------------
  |  Branch (782:9): [True: 0, False: 72.1k]
  ------------------
  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|  72.1k|    mbuf->master = *info;
  788|  72.1k|    mbuf->master.obj = NULL;
  789|       |
  790|  72.1k|    mv = mbuf_add_view(mbuf, NULL);
  791|  72.1k|    Py_DECREF(mbuf);
  ------------------
  |  |  430|  72.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  72.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  72.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  792|       |
  793|  72.1k|    return mv;
  794|  72.1k|}
PyMemoryView_FromObject:
  855|     87|{
  856|     87|    return PyMemoryView_FromObjectAndFlags(v, PyBUF_FULL_RO);
  ------------------
  |  |  134|     87|#define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  122|     87|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|     87|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|     87|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  116|     87|#define PyBUF_FORMAT 0x0004
  |  |  ------------------
  ------------------
  857|     87|}
PyBuffer_ToContiguous:
 1050|  19.4k|{
 1051|  19.4k|    Py_buffer_full *fb = NULL;
 1052|  19.4k|    int ret;
 1053|       |
 1054|  19.4k|    assert(order == 'C' || order == 'F' || order == 'A');
  ------------------
  |  Branch (1054:5): [True: 19.4k, False: 0]
  |  Branch (1054:5): [True: 0, False: 0]
  |  Branch (1054:5): [True: 0, False: 0]
  ------------------
 1055|       |
 1056|  19.4k|    if (len != src->len) {
  ------------------
  |  Branch (1056:9): [True: 0, False: 19.4k]
  ------------------
 1057|      0|        PyErr_SetString(PyExc_ValueError,
 1058|      0|            "PyBuffer_ToContiguous: len != view->len");
 1059|      0|        return -1;
 1060|      0|    }
 1061|       |
 1062|  19.4k|    if (PyBuffer_IsContiguous(src, order)) {
  ------------------
  |  Branch (1062:9): [True: 19.4k, False: 0]
  ------------------
 1063|  19.4k|        memcpy((char *)buf, src->buf, len);
 1064|  19.4k|        return 0;
 1065|  19.4k|    }
 1066|       |
 1067|       |    /* buffer_to_contiguous() assumes PyBUF_FULL */
 1068|      0|    fb = PyMem_Malloc(sizeof *fb + 3 * src->ndim * (sizeof *fb->array));
 1069|      0|    if (fb == NULL) {
  ------------------
  |  Branch (1069:9): [True: 0, False: 0]
  ------------------
 1070|      0|        PyErr_NoMemory();
 1071|      0|        return -1;
 1072|      0|    }
 1073|      0|    fb->view.ndim = src->ndim;
 1074|      0|    fb->view.shape = fb->array;
 1075|      0|    fb->view.strides = fb->array + src->ndim;
 1076|      0|    fb->view.suboffsets = fb->array + 2 * src->ndim;
 1077|       |
 1078|      0|    init_shared_values(&fb->view, src);
 1079|      0|    init_shape_strides(&fb->view, src);
 1080|      0|    init_suboffsets(&fb->view, src);
 1081|       |
 1082|      0|    src = &fb->view;
 1083|       |
 1084|      0|    ret = buffer_to_contiguous(buf, src, order);
 1085|      0|    PyMem_Free(fb);
 1086|      0|    return ret;
 1087|      0|}
memoryobject.c:mbuf_dealloc:
  121|  72.2k|{
  122|  72.2k|    _PyManagedBufferObject *self = (_PyManagedBufferObject *)_self;
  123|  72.2k|    assert(self->exports == 0);
  ------------------
  |  Branch (123:5): [True: 72.2k, False: 0]
  ------------------
  124|  72.2k|    mbuf_release(self);
  125|  72.2k|    if (self->flags&_Py_MANAGED_BUFFER_FREE_FORMAT)
  ------------------
  |  |    9|  72.2k|#define _Py_MANAGED_BUFFER_FREE_FORMAT 0x002  /* free format */
  ------------------
  |  Branch (125:9): [True: 0, False: 72.2k]
  ------------------
  126|      0|        PyMem_Free(self->master.format);
  127|  72.2k|    PyObject_GC_Del(self);
  128|  72.2k|}
memoryobject.c:mbuf_release:
  108|   144k|{
  109|   144k|    if (self->flags&_Py_MANAGED_BUFFER_RELEASED)
  ------------------
  |  |    8|   144k|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  ------------------
  |  Branch (109:9): [True: 72.2k, False: 72.2k]
  ------------------
  110|  72.2k|        return;
  111|       |
  112|  72.2k|    self->flags |= _Py_MANAGED_BUFFER_RELEASED;
  ------------------
  |  |    8|  72.2k|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  ------------------
  113|       |
  114|       |    /* PyBuffer_Release() decrements master->obj and sets it to NULL. */
  115|  72.2k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|  72.2k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  72.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  72.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  116|  72.2k|    PyBuffer_Release(&self->master);
  117|  72.2k|}
memoryobject.c:mbuf_traverse:
  132|     20|{
  133|     20|    _PyManagedBufferObject *self = (_PyManagedBufferObject *)_self;
  134|     20|    Py_VISIT(self->master.obj);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2, False: 18]
  |  |  ------------------
  |  |  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|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
  135|     20|    return 0;
  136|     20|}
memoryobject.c:mbuf_alloc:
   73|  72.2k|{
   74|  72.2k|    _PyManagedBufferObject *mbuf;
   75|       |
   76|  72.2k|    mbuf = (_PyManagedBufferObject *)
   77|  72.2k|        PyObject_GC_New(_PyManagedBufferObject, &_PyManagedBuffer_Type);
  ------------------
  |  |  181|  72.2k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  72.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   78|  72.2k|    if (mbuf == NULL)
  ------------------
  |  Branch (78:9): [True: 0, False: 72.2k]
  ------------------
   79|      0|        return NULL;
   80|  72.2k|    mbuf->flags = 0;
   81|  72.2k|    mbuf->exports = 0;
   82|  72.2k|    mbuf->master.obj = NULL;
   83|  72.2k|    _PyObject_GC_TRACK(mbuf);
  ------------------
  |  |  505|  72.2k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  72.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  72.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|       |
   85|  72.2k|    return mbuf;
   86|  72.2k|}
memoryobject.c:mbuf_add_view:
  677|  72.3k|{
  678|  72.3k|    PyMemoryViewObject *mv;
  679|  72.3k|    Py_buffer *dest;
  680|       |
  681|  72.3k|    if (src == NULL)
  ------------------
  |  Branch (681:9): [True: 72.2k, False: 85]
  ------------------
  682|  72.2k|        src = &mbuf->master;
  683|       |
  684|  72.3k|    if (src->ndim > PyBUF_MAX_NDIM) {
  ------------------
  |  |  105|  72.3k|#define PyBUF_MAX_NDIM 64
  ------------------
  |  Branch (684:9): [True: 0, False: 72.3k]
  ------------------
  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|  72.3k|    mv = memory_alloc(src->ndim);
  692|  72.3k|    if (mv == NULL)
  ------------------
  |  Branch (692:9): [True: 0, False: 72.3k]
  ------------------
  693|      0|        return NULL;
  694|       |
  695|  72.3k|    dest = &mv->view;
  696|  72.3k|    init_shared_values(dest, src);
  697|  72.3k|    init_shape_strides(dest, src);
  698|  72.3k|    init_suboffsets(dest, src);
  699|  72.3k|    init_flags(mv);
  700|       |
  701|  72.3k|    mv->mbuf = (_PyManagedBufferObject*)Py_NewRef(mbuf);
  ------------------
  |  |  550|  72.3k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  72.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  72.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  702|  72.3k|    mbuf->exports++;
  703|       |
  704|  72.3k|    return (PyObject *)mv;
  705|  72.3k|}
memoryobject.c:memory_alloc:
  645|  72.3k|{
  646|  72.3k|    PyMemoryViewObject *mv;
  647|       |
  648|  72.3k|    mv = (PyMemoryViewObject *)
  649|  72.3k|        PyObject_GC_NewVar(PyMemoryViewObject, &PyMemoryView_Type, 3*ndim);
  ------------------
  |  |  183|  72.3k|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|  72.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  650|  72.3k|    if (mv == NULL)
  ------------------
  |  Branch (650:9): [True: 0, False: 72.3k]
  ------------------
  651|      0|        return NULL;
  652|       |
  653|  72.3k|    mv->mbuf = NULL;
  654|  72.3k|    mv->hash = -1;
  655|  72.3k|    mv->flags = 0;
  656|  72.3k|    mv->exports = 0;
  657|  72.3k|    mv->view.ndim = ndim;
  658|  72.3k|    mv->view.shape = mv->ob_array;
  659|  72.3k|    mv->view.strides = mv->ob_array + ndim;
  660|  72.3k|    mv->view.suboffsets = mv->ob_array + 2 * ndim;
  661|  72.3k|    mv->weakreflist = NULL;
  662|       |
  663|  72.3k|    _PyObject_GC_TRACK(mv);
  ------------------
  |  |  505|  72.3k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  72.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  72.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  664|  72.3k|    return mv;
  665|  72.3k|}
memoryobject.c:init_flags:
  612|  72.4k|{
  613|  72.4k|    const Py_buffer *view = &mv->view;
  614|  72.4k|    int flags = 0;
  615|       |
  616|  72.4k|    switch (view->ndim) {
  617|      0|    case 0:
  ------------------
  |  Branch (617:5): [True: 0, False: 72.4k]
  ------------------
  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|  72.4k|    case 1:
  ------------------
  |  Branch (621:5): [True: 72.4k, False: 0]
  ------------------
  622|  72.4k|        if (MV_CONTIGUOUS_NDIM1(view))
  ------------------
  |  |  241|  72.4k|    ((view)->shape[0] == 1 || (view)->strides[0] == (view)->itemsize)
  |  |  ------------------
  |  |  |  Branch (241:6): [True: 11, False: 72.3k]
  |  |  |  Branch (241:31): [True: 72.3k, False: 0]
  |  |  ------------------
  ------------------
  623|  72.4k|            flags |= (_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN);
  ------------------
  |  |   21|  72.4k|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  ------------------
                          flags |= (_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN);
  ------------------
  |  |   22|  72.4k|#define _Py_MEMORYVIEW_FORTRAN     0x004  /* Fortran contiguous layout */
  ------------------
  624|  72.4k|        break;
  625|      0|    default:
  ------------------
  |  Branch (625:5): [True: 0, False: 72.4k]
  ------------------
  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|  72.4k|    }
  632|       |
  633|  72.4k|    if (view->suboffsets) {
  ------------------
  |  Branch (633:9): [True: 0, False: 72.4k]
  ------------------
  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|  72.4k|    mv->flags = flags;
  639|  72.4k|}
memoryobject.c:PyMemoryView_FromObjectAndFlags:
  802|     87|{
  803|     87|    _PyManagedBufferObject *mbuf;
  804|       |
  805|     87|    if (PyMemoryView_Check(v)) {
  ------------------
  |  |   11|     87|#define PyMemoryView_Check(op) Py_IS_TYPE((op), &PyMemoryView_Type)
  |  |  ------------------
  |  |  |  |  215|     87|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 87]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|     87|    else if (PyObject_CheckBuffer(v)) {
  ------------------
  |  Branch (811:14): [True: 87, False: 0]
  ------------------
  812|     87|        PyObject *ret;
  813|     87|        mbuf = (_PyManagedBufferObject *)_PyManagedBuffer_FromObject(v, flags);
  814|     87|        if (mbuf == NULL)
  ------------------
  |  Branch (814:13): [True: 0, False: 87]
  ------------------
  815|      0|            return NULL;
  816|     87|        ret = mbuf_add_view(mbuf, NULL);
  817|     87|        Py_DECREF(mbuf);
  ------------------
  |  |  430|     87|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  818|     87|        return ret;
  819|     87|    }
  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|     87|}
memoryobject.c:_PyManagedBuffer_FromObject:
   90|     87|{
   91|     87|    _PyManagedBufferObject *mbuf;
   92|       |
   93|     87|    mbuf = mbuf_alloc();
   94|     87|    if (mbuf == NULL)
  ------------------
  |  Branch (94:9): [True: 0, False: 87]
  ------------------
   95|      0|        return NULL;
   96|       |
   97|     87|    if (PyObject_GetBuffer(base, &mbuf->master, flags) < 0) {
  ------------------
  |  Branch (97:9): [True: 0, False: 87]
  ------------------
   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|     87|    return (PyObject *)mbuf;
  104|     87|}
memoryobject.c:mbuf_add_incomplete_view:
  715|      2|{
  716|      2|    PyMemoryViewObject *mv;
  717|      2|    Py_buffer *dest;
  718|       |
  719|      2|    if (src == NULL)
  ------------------
  |  Branch (719:9): [True: 0, False: 2]
  ------------------
  720|      0|        src = &mbuf->master;
  721|       |
  722|      2|    assert(ndim <= PyBUF_MAX_NDIM);
  ------------------
  |  Branch (722:5): [True: 2, False: 0]
  ------------------
  723|       |
  724|      2|    mv = memory_alloc(ndim);
  725|      2|    if (mv == NULL)
  ------------------
  |  Branch (725:9): [True: 0, False: 2]
  ------------------
  726|      0|        return NULL;
  727|       |
  728|      2|    dest = &mv->view;
  729|      2|    init_shared_values(dest, src);
  730|       |
  731|      2|    mv->mbuf = (_PyManagedBufferObject*)Py_NewRef(mbuf);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  732|      2|    mbuf->exports++;
  733|       |
  734|      2|    return (PyObject *)mv;
  735|      2|}
memoryobject.c:init_shared_values:
  544|  72.3k|{
  545|  72.3k|    dest->obj = src->obj;
  546|  72.3k|    dest->buf = src->buf;
  547|  72.3k|    dest->len = src->len;
  548|  72.3k|    dest->itemsize = src->itemsize;
  549|  72.3k|    dest->readonly = src->readonly;
  550|  72.3k|    dest->format = src->format ? src->format : "B";
  ------------------
  |  Branch (550:20): [True: 23.8k, False: 48.4k]
  ------------------
  551|  72.3k|    dest->internal = src->internal;
  552|  72.3k|}
memoryobject.c:init_shape_strides:
  557|  72.3k|{
  558|  72.3k|    Py_ssize_t i;
  559|       |
  560|  72.3k|    if (src->ndim == 0) {
  ------------------
  |  Branch (560:9): [True: 0, False: 72.3k]
  ------------------
  561|      0|        dest->shape = NULL;
  562|      0|        dest->strides = NULL;
  563|      0|        return;
  564|      0|    }
  565|  72.3k|    if (src->ndim == 1) {
  ------------------
  |  Branch (565:9): [True: 72.3k, False: 0]
  ------------------
  566|  72.3k|        dest->shape[0] = src->shape ? src->shape[0] : src->len / src->itemsize;
  ------------------
  |  Branch (566:26): [True: 72.3k, False: 0]
  ------------------
  567|  72.3k|        dest->strides[0] = src->strides ? src->strides[0] : src->itemsize;
  ------------------
  |  Branch (567:28): [True: 23.8k, False: 48.4k]
  ------------------
  568|  72.3k|        return;
  569|  72.3k|    }
  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|  72.3k|{
  585|  72.3k|    Py_ssize_t i;
  586|       |
  587|  72.3k|    if (src->suboffsets == NULL) {
  ------------------
  |  Branch (587:9): [True: 72.3k, False: 0]
  ------------------
  588|  72.3k|        dest->suboffsets = NULL;
  589|  72.3k|        return;
  590|  72.3k|    }
  591|      0|    for (i = 0; i < src->ndim; i++)
  ------------------
  |  Branch (591:17): [True: 0, False: 0]
  ------------------
  592|      0|        dest->suboffsets[i] = src->suboffsets[i];
  593|      0|}
memoryobject.c:unpack_single:
 1823|    128|{
 1824|    128|    unsigned long long llu;
 1825|    128|    unsigned long lu;
 1826|    128|    size_t zu;
 1827|    128|    long long lld;
 1828|    128|    long ld;
 1829|    128|    Py_ssize_t zd;
 1830|    128|    double d[2];
 1831|    128|    unsigned char uc;
 1832|    128|    void *p;
 1833|       |
 1834|    128|    CHECK_RELEASED_AGAIN(self);
  ------------------
  |  |  214|    128|#define CHECK_RELEASED_AGAIN(mv) CHECK_RELEASED(mv)
  |  |  ------------------
  |  |  |  |  185|    128|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  181|    128|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|    256|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (181:6): [True: 0, False: 128]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  182|    128|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    8|    128|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (182:6): [True: 0, False: 128]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  186|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  |  |  187|      0|            "operation forbidden on released memoryview object"); \
  |  |  |  |  188|      0|        return NULL;                                              \
  |  |  |  |  189|      0|    }
  |  |  ------------------
  ------------------
 1835|       |
 1836|    128|#if PY_LITTLE_ENDIAN
 1837|    128|    int endian = 1;
 1838|       |#else
 1839|       |    int endian = 0;
 1840|       |#endif
 1841|       |
 1842|    128|    switch (fmt[0]) {
 1843|       |
 1844|       |    /* signed integers and fast path for 'B' */
 1845|      0|    case 'B': uc = *((const unsigned char *)ptr); goto convert_uc;
  ------------------
  |  Branch (1845:5): [True: 0, False: 128]
  ------------------
 1846|      0|    case 'b': ld =   *((const signed char *)ptr); goto convert_ld;
  ------------------
  |  Branch (1846:5): [True: 0, False: 128]
  ------------------
 1847|      0|    case 'h': UNPACK_SINGLE(ld, ptr, short); goto convert_ld;
  ------------------
  |  | 1812|      0|    do {                                   \
  |  | 1813|      0|        type x;                            \
  |  | 1814|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1815|      0|        dest = x;                          \
  |  | 1816|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1816:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1847:5): [True: 0, False: 128]
  ------------------
 1848|      0|    case 'i': UNPACK_SINGLE(ld, ptr, int); goto convert_ld;
  ------------------
  |  | 1812|      0|    do {                                   \
  |  | 1813|      0|        type x;                            \
  |  | 1814|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1815|      0|        dest = x;                          \
  |  | 1816|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1816:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1848:5): [True: 0, False: 128]
  ------------------
 1849|      0|    case 'l': UNPACK_SINGLE(ld, ptr, long); goto convert_ld;
  ------------------
  |  | 1812|      0|    do {                                   \
  |  | 1813|      0|        type x;                            \
  |  | 1814|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1815|      0|        dest = x;                          \
  |  | 1816|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1816:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1849:5): [True: 0, False: 128]
  ------------------
 1850|       |
 1851|       |    /* boolean */
 1852|      0|    case '?': ld = UNPACK_TO_BOOL(ptr); goto convert_bool;
  ------------------
  |  | 1715|      0|#define UNPACK_TO_BOOL(PTR) (memcmp((PTR), &bool_false, sizeof(_Bool)) != 0)
  ------------------
  |  Branch (1852:5): [True: 0, False: 128]
  ------------------
 1853|       |
 1854|       |    /* unsigned integers */
 1855|      0|    case 'H': UNPACK_SINGLE(lu, ptr, unsigned short); goto convert_lu;
  ------------------
  |  | 1812|      0|    do {                                   \
  |  | 1813|      0|        type x;                            \
  |  | 1814|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1815|      0|        dest = x;                          \
  |  | 1816|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1816:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1855:5): [True: 0, False: 128]
  ------------------
 1856|    128|    case 'I': UNPACK_SINGLE(lu, ptr, unsigned int); goto convert_lu;
  ------------------
  |  | 1812|    128|    do {                                   \
  |  | 1813|    128|        type x;                            \
  |  | 1814|    128|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1815|    128|        dest = x;                          \
  |  | 1816|    128|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1816:14): [Folded, False: 128]
  |  |  ------------------
  ------------------
  |  Branch (1856:5): [True: 128, False: 0]
  ------------------
 1857|      0|    case 'L': UNPACK_SINGLE(lu, ptr, unsigned long); goto convert_lu;
  ------------------
  |  | 1812|      0|    do {                                   \
  |  | 1813|      0|        type x;                            \
  |  | 1814|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1815|      0|        dest = x;                          \
  |  | 1816|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1816:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1857:5): [True: 0, False: 128]
  ------------------
 1858|       |
 1859|       |    /* native 64-bit */
 1860|      0|    case 'q': UNPACK_SINGLE(lld, ptr, long long); goto convert_lld;
  ------------------
  |  | 1812|      0|    do {                                   \
  |  | 1813|      0|        type x;                            \
  |  | 1814|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1815|      0|        dest = x;                          \
  |  | 1816|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1816:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1860:5): [True: 0, False: 128]
  ------------------
 1861|      0|    case 'Q': UNPACK_SINGLE(llu, ptr, unsigned long long); goto convert_llu;
  ------------------
  |  | 1812|      0|    do {                                   \
  |  | 1813|      0|        type x;                            \
  |  | 1814|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1815|      0|        dest = x;                          \
  |  | 1816|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1816:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1861:5): [True: 0, False: 128]
  ------------------
 1862|       |
 1863|       |    /* ssize_t and size_t */
 1864|      0|    case 'n': UNPACK_SINGLE(zd, ptr, Py_ssize_t); goto convert_zd;
  ------------------
  |  | 1812|      0|    do {                                   \
  |  | 1813|      0|        type x;                            \
  |  | 1814|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1815|      0|        dest = x;                          \
  |  | 1816|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1816:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1864:5): [True: 0, False: 128]
  ------------------
 1865|      0|    case 'N': UNPACK_SINGLE(zu, ptr, size_t); goto convert_zu;
  ------------------
  |  | 1812|      0|    do {                                   \
  |  | 1813|      0|        type x;                            \
  |  | 1814|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1815|      0|        dest = x;                          \
  |  | 1816|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1816:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1865:5): [True: 0, False: 128]
  ------------------
 1866|       |
 1867|       |    /* floats */
 1868|      0|    case 'f': UNPACK_SINGLE(d[0], ptr, float); goto convert_double;
  ------------------
  |  | 1812|      0|    do {                                   \
  |  | 1813|      0|        type x;                            \
  |  | 1814|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1815|      0|        dest = x;                          \
  |  | 1816|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1816:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1868:5): [True: 0, False: 128]
  ------------------
 1869|      0|    case 'd': UNPACK_SINGLE(d[0], ptr, double); goto convert_double;
  ------------------
  |  | 1812|      0|    do {                                   \
  |  | 1813|      0|        type x;                            \
  |  | 1814|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1815|      0|        dest = x;                          \
  |  | 1816|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1816:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1869:5): [True: 0, False: 128]
  ------------------
 1870|      0|    case 'e': d[0] = PyFloat_Unpack2(ptr, endian); goto convert_double;
  ------------------
  |  Branch (1870:5): [True: 0, False: 128]
  ------------------
 1871|       |
 1872|       |    /* complexes */
 1873|      0|    case 'Z': {
  ------------------
  |  Branch (1873:5): [True: 0, False: 128]
  ------------------
 1874|      0|        switch (fmt[1]) {
 1875|      0|        case 'f':
  ------------------
  |  Branch (1875:9): [True: 0, False: 0]
  ------------------
 1876|      0|            d[0] = PyFloat_Unpack4(ptr, endian);
 1877|      0|            d[1] = PyFloat_Unpack4(ptr + sizeof(float), endian);
 1878|      0|            goto convert_double_complex;
 1879|       |
 1880|      0|        case 'd':
  ------------------
  |  Branch (1880:9): [True: 0, False: 0]
  ------------------
 1881|      0|            d[0] = PyFloat_Unpack8(ptr, endian);
 1882|      0|            d[1] = PyFloat_Unpack8(ptr + sizeof(double), endian);
 1883|      0|            goto convert_double_complex;
 1884|       |
 1885|      0|        default: goto err_format;
  ------------------
  |  Branch (1885:9): [True: 0, False: 0]
  ------------------
 1886|      0|        }
 1887|      0|        break;
 1888|      0|    }
 1889|       |
 1890|       |    /* bytes object */
 1891|      0|    case 'c': goto convert_bytes;
  ------------------
  |  Branch (1891:5): [True: 0, False: 128]
  ------------------
 1892|       |
 1893|       |    /* pointer */
 1894|      0|    case 'P': UNPACK_SINGLE(p, ptr, void *); goto convert_pointer;
  ------------------
  |  | 1812|      0|    do {                                   \
  |  | 1813|      0|        type x;                            \
  |  | 1814|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1815|      0|        dest = x;                          \
  |  | 1816|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1816:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1894:5): [True: 0, False: 128]
  ------------------
 1895|       |
 1896|       |    /* default */
 1897|      0|    default: goto err_format;
  ------------------
  |  Branch (1897:5): [True: 0, False: 128]
  ------------------
 1898|    128|    }
 1899|       |
 1900|      0|convert_uc:
 1901|       |    /* PyLong_FromUnsignedLong() is slower */
 1902|      0|    return PyLong_FromLong(uc);
 1903|      0|convert_ld:
 1904|      0|    return PyLong_FromLong(ld);
 1905|    128|convert_lu:
 1906|    128|    return PyLong_FromUnsignedLong(lu);
 1907|      0|convert_lld:
 1908|      0|    return PyLong_FromLongLong(lld);
 1909|      0|convert_llu:
 1910|      0|    return PyLong_FromUnsignedLongLong(llu);
 1911|      0|convert_zd:
 1912|      0|    return PyLong_FromSsize_t(zd);
 1913|      0|convert_zu:
 1914|      0|    return PyLong_FromSize_t(zu);
 1915|      0|convert_double:
 1916|      0|    return PyFloat_FromDouble(d[0]);
 1917|      0|convert_double_complex:
 1918|      0|    return PyComplex_FromDoubles(d[0], d[1]);
 1919|      0|convert_bool:
 1920|      0|    return PyBool_FromLong(ld);
 1921|      0|convert_bytes:
 1922|      0|    return PyBytes_FromStringAndSize(ptr, 1);
 1923|      0|convert_pointer:
 1924|      0|    return PyLong_FromVoidPtr(p);
 1925|      0|err_format:
 1926|      0|    PyErr_Format(PyExc_NotImplementedError,
 1927|      0|        "memoryview: format %s not supported", fmt);
 1928|       |    return NULL;
 1929|    128|}
memoryobject.c:memory_dealloc:
 1152|  72.3k|{
 1153|  72.3k|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1154|  72.3k|    assert(get_exports(self) == 0);
  ------------------
  |  Branch (1154:5): [True: 72.3k, False: 0]
  ------------------
 1155|  72.3k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|  72.3k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  72.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  72.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1156|  72.3k|    _memory_release(self);
 1157|  72.3k|    Py_CLEAR(self->mbuf);
  ------------------
  |  |  484|  72.3k|    do { \
  |  |  485|  72.3k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  72.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  72.3k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  72.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  72.3k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 72.3k, False: 0]
  |  |  ------------------
  |  |  488|  72.3k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  72.3k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  72.3k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  72.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  72.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  72.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  72.3k|        } \
  |  |  491|  72.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 72.3k]
  |  |  ------------------
  ------------------
 1158|  72.3k|    if (self->weakreflist != NULL)
  ------------------
  |  Branch (1158:9): [True: 0, False: 72.3k]
  ------------------
 1159|      0|        PyObject_ClearWeakRefs((PyObject *) self);
 1160|  72.3k|    PyObject_GC_Del(self);
 1161|  72.3k|}
memoryobject.c:get_exports:
 1091|   144k|{
 1092|       |#ifdef Py_GIL_DISABLED
 1093|       |    return _Py_atomic_load_ssize_relaxed(&buf->exports);
 1094|       |#else
 1095|   144k|    return buf->exports;
 1096|   144k|#endif
 1097|   144k|}
memoryobject.c:_memory_release:
 1110|  72.3k|{
 1111|  72.3k|    assert(get_exports(self) == 0);
  ------------------
  |  Branch (1111:5): [True: 72.3k, False: 0]
  ------------------
 1112|  72.3k|    if (self->flags & _Py_MEMORYVIEW_RELEASED)
  ------------------
  |  |   20|  72.3k|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  ------------------
  |  Branch (1112:9): [True: 0, False: 72.3k]
  ------------------
 1113|      0|        return;
 1114|       |
 1115|  72.3k|    self->flags |= _Py_MEMORYVIEW_RELEASED;
  ------------------
  |  |   20|  72.3k|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  ------------------
 1116|  72.3k|    assert(self->mbuf->exports > 0);
  ------------------
  |  Branch (1116:5): [True: 72.3k, False: 0]
  ------------------
 1117|  72.3k|    if (--self->mbuf->exports == 0) {
  ------------------
  |  Branch (1117:9): [True: 72.2k, False: 87]
  ------------------
 1118|  72.2k|        mbuf_release(self->mbuf);
 1119|  72.2k|    }
 1120|  72.3k|}
memoryobject.c:memory_length:
 2844|  19.1k|{
 2845|  19.1k|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 2846|  19.1k|    CHECK_RELEASED_INT(self);
  ------------------
  |  |  192|  19.1k|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  181|  19.1k|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|  38.3k|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (181:6): [True: 0, False: 19.1k]
  |  |  |  |  ------------------
  |  |  |  |  182|  19.1k|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|  19.1k|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:6): [True: 0, False: 19.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  193|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  194|      0|            "operation forbidden on released memoryview object"); \
  |  |  195|      0|        return -1;                                                \
  |  |  196|      0|    }
  ------------------
 2847|  19.1k|    if (self->view.ndim == 0) {
  ------------------
  |  Branch (2847:9): [True: 0, False: 19.1k]
  ------------------
 2848|      0|        PyErr_SetString(PyExc_TypeError, "0-dim memory has no length");
 2849|      0|        return -1;
 2850|      0|    }
 2851|  19.1k|    return self->view.shape[0];
 2852|  19.1k|}
memoryobject.c:adjust_fmt:
 2247|      2|{
 2248|      2|    const char *fmt;
 2249|       |
 2250|      2|    fmt = (view->format[0] == '@') ? view->format+1 : view->format;
  ------------------
  |  Branch (2250:11): [True: 0, False: 2]
  ------------------
 2251|      2|    if (fmt[0] == 'Z' && fmt[1] && fmt[2] == '\0')
  ------------------
  |  Branch (2251:9): [True: 0, False: 2]
  |  Branch (2251:26): [True: 0, False: 0]
  |  Branch (2251:36): [True: 0, False: 0]
  ------------------
 2252|      0|        return fmt;
 2253|      2|    if (fmt[0] && fmt[1] == '\0')
  ------------------
  |  Branch (2253:9): [True: 2, False: 0]
  |  Branch (2253:19): [True: 2, False: 0]
  ------------------
 2254|      2|        return fmt;
 2255|       |
 2256|      0|    PyErr_Format(PyExc_NotImplementedError,
 2257|      0|        "memoryview: unsupported format %s", view->format);
 2258|       |    return NULL;
 2259|      2|}
memoryobject.c:memory_subscript:
 2678|     85|{
 2679|     85|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 2680|     85|    Py_buffer *view;
 2681|     85|    view = &(self->view);
 2682|       |
 2683|     85|    CHECK_RELEASED(self);
  ------------------
  |  |  185|     85|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  181|     85|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|    170|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (181:6): [True: 0, False: 85]
  |  |  |  |  ------------------
  |  |  |  |  182|     85|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|     85|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:6): [True: 0, False: 85]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  186|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  187|      0|            "operation forbidden on released memoryview object"); \
  |  |  188|      0|        return NULL;                                              \
  |  |  189|      0|    }
  ------------------
 2684|       |
 2685|     85|    if (view->ndim == 0) {
  ------------------
  |  Branch (2685:9): [True: 0, False: 85]
  ------------------
 2686|      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 (2686:35): [True: 0, False: 0]
  ------------------
 2687|      0|            const char *fmt = adjust_fmt(view);
 2688|      0|            if (fmt == NULL)
  ------------------
  |  Branch (2688:17): [True: 0, False: 0]
  ------------------
 2689|      0|                return NULL;
 2690|      0|            return unpack_single(self, view->buf, fmt);
 2691|      0|        }
 2692|      0|        else if (key == Py_Ellipsis) {
  ------------------
  |  |   14|      0|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (2692:18): [True: 0, False: 0]
  ------------------
 2693|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2694|      0|        }
 2695|      0|        else {
 2696|      0|            PyErr_SetString(PyExc_TypeError,
 2697|      0|                "invalid indexing of 0-dim memory");
 2698|      0|            return NULL;
 2699|      0|        }
 2700|      0|    }
 2701|       |
 2702|     85|    if (_PyIndex_Check(key)) {
  ------------------
  |  Branch (2702:9): [True: 0, False: 85]
  ------------------
 2703|      0|        Py_ssize_t index;
 2704|      0|        index = PyNumber_AsSsize_t(key, PyExc_IndexError);
 2705|      0|        if (index == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2705:13): [True: 0, False: 0]
  |  Branch (2705:28): [True: 0, False: 0]
  ------------------
 2706|      0|            return NULL;
 2707|      0|        return memory_item((PyObject *)self, index);
 2708|      0|    }
 2709|     85|    else if (PySlice_Check(key)) {
  ------------------
  |  |   22|     85|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|     85|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 85, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2710|     85|        CHECK_RESTRICTED(self);
  ------------------
  |  |  199|     85|    if (((PyMemoryViewObject *)(mv))->flags & _Py_MEMORYVIEW_RESTRICTED) { \
  |  |  ------------------
  |  |  |  |   25|     85|#define _Py_MEMORYVIEW_RESTRICTED  0x020  /* Disallow new references to the memoryview's buffer */
  |  |  ------------------
  |  |  |  Branch (199:9): [True: 0, False: 85]
  |  |  ------------------
  |  |  200|      0|        PyErr_SetString(PyExc_ValueError,                                  \
  |  |  201|      0|            "cannot create new view on restricted memoryview");            \
  |  |  202|      0|        return NULL;                                                       \
  |  |  203|      0|    }
  ------------------
 2711|     85|        PyMemoryViewObject *sliced;
 2712|       |
 2713|     85|        sliced = (PyMemoryViewObject *)mbuf_add_view(self->mbuf, view);
 2714|     85|        if (sliced == NULL)
  ------------------
  |  Branch (2714:13): [True: 0, False: 85]
  ------------------
 2715|      0|            return NULL;
 2716|       |
 2717|     85|        if (init_slice(&sliced->view, key, 0) < 0) {
  ------------------
  |  Branch (2717:13): [True: 0, False: 85]
  ------------------
 2718|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2719|      0|            return NULL;
 2720|      0|        }
 2721|     85|        init_len(&sliced->view);
 2722|     85|        init_flags(sliced);
 2723|       |
 2724|     85|        return (PyObject *)sliced;
 2725|     85|    }
 2726|      0|    else if (is_multiindex(key)) {
  ------------------
  |  Branch (2726:14): [True: 0, False: 0]
  ------------------
 2727|      0|        return memory_item_multi(self, key);
 2728|      0|    }
 2729|      0|    else if (is_multislice(key)) {
  ------------------
  |  Branch (2729:14): [True: 0, False: 0]
  ------------------
 2730|      0|        PyErr_SetString(PyExc_NotImplementedError,
 2731|      0|            "multi-dimensional slicing is not implemented");
 2732|      0|        return NULL;
 2733|      0|    }
 2734|       |
 2735|      0|    PyErr_SetString(PyExc_TypeError, "memoryview: invalid slice key");
 2736|       |    return NULL;
 2737|     85|}
memoryobject.c:init_slice:
 2607|     85|{
 2608|     85|    Py_ssize_t start, stop, step, slicelength;
 2609|       |
 2610|     85|    if (PySlice_Unpack(key, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (2610:9): [True: 0, False: 85]
  ------------------
 2611|      0|        return -1;
 2612|      0|    }
 2613|     85|    slicelength = PySlice_AdjustIndices(base->shape[dim], &start, &stop, step);
 2614|       |
 2615|       |
 2616|     85|    if (base->suboffsets == NULL || dim == 0) {
  ------------------
  |  Branch (2616:9): [True: 85, False: 0]
  |  Branch (2616:37): [True: 0, False: 0]
  ------------------
 2617|     85|    adjust_buf:
 2618|     85|        base->buf = (char *)base->buf + base->strides[dim] * start;
 2619|     85|    }
 2620|      0|    else {
 2621|      0|        Py_ssize_t n = dim-1;
 2622|      0|        while (n >= 0 && base->suboffsets[n] < 0)
  ------------------
  |  Branch (2622:16): [True: 0, False: 0]
  |  Branch (2622:26): [True: 0, False: 0]
  ------------------
 2623|      0|            n--;
 2624|      0|        if (n < 0)
  ------------------
  |  Branch (2624:13): [True: 0, False: 0]
  ------------------
 2625|      0|            goto adjust_buf; /* all suboffsets are negative */
 2626|      0|        base->suboffsets[n] = base->suboffsets[n] + base->strides[dim] * start;
 2627|      0|    }
 2628|     85|    base->shape[dim] = slicelength;
 2629|     85|    base->strides[dim] = base->strides[dim] * step;
 2630|       |
 2631|     85|    return 0;
 2632|     85|}
memoryobject.c:init_len:
  598|     85|{
  599|     85|    Py_ssize_t i, len;
  600|       |
  601|     85|    len = 1;
  602|    170|    for (i = 0; i < view->ndim; i++)
  ------------------
  |  Branch (602:17): [True: 85, False: 85]
  ------------------
  603|     85|        len *= view->shape[i];
  604|     85|    len *= view->itemsize;
  605|       |
  606|     85|    view->len = len;
  607|     85|}
memoryobject.c:get_native_fmtchar:
 1205|      4|{
 1206|      4|    Py_ssize_t size = -1;
 1207|       |
 1208|      4|    if (fmt[0] == '@') fmt++;
  ------------------
  |  Branch (1208:9): [True: 0, False: 4]
  ------------------
 1209|       |
 1210|      4|    switch (fmt[0]) {
  ------------------
  |  Branch (1210:13): [True: 4, False: 0]
  ------------------
 1211|      2|    case 'c': case 'b': case 'B': size = sizeof(char); break;
  ------------------
  |  Branch (1211:5): [True: 0, False: 4]
  |  Branch (1211:15): [True: 0, False: 4]
  |  Branch (1211:25): [True: 2, False: 2]
  ------------------
 1212|      0|    case 'h': case 'H': size = sizeof(short); break;
  ------------------
  |  Branch (1212:5): [True: 0, False: 4]
  |  Branch (1212:15): [True: 0, False: 4]
  ------------------
 1213|      2|    case 'i': case 'I': size = sizeof(int); break;
  ------------------
  |  Branch (1213:5): [True: 0, False: 4]
  |  Branch (1213:15): [True: 2, False: 2]
  ------------------
 1214|      0|    case 'l': case 'L': size = sizeof(long); break;
  ------------------
  |  Branch (1214:5): [True: 0, False: 4]
  |  Branch (1214:15): [True: 0, False: 4]
  ------------------
 1215|      0|    case 'q': case 'Q': size = sizeof(long long); break;
  ------------------
  |  Branch (1215:5): [True: 0, False: 4]
  |  Branch (1215:15): [True: 0, False: 4]
  ------------------
 1216|      0|    case 'n': case 'N': size = sizeof(Py_ssize_t); break;
  ------------------
  |  Branch (1216:5): [True: 0, False: 4]
  |  Branch (1216:15): [True: 0, False: 4]
  ------------------
 1217|      0|    case 'f': size = sizeof(float); break;
  ------------------
  |  Branch (1217:5): [True: 0, False: 4]
  ------------------
 1218|      0|    case 'd': size = sizeof(double); break;
  ------------------
  |  Branch (1218:5): [True: 0, False: 4]
  ------------------
 1219|      0|    case 'e': size = sizeof(float) / 2; break;
  ------------------
  |  Branch (1219:5): [True: 0, False: 4]
  ------------------
 1220|      0|    case '?': size = sizeof(_Bool); break;
  ------------------
  |  Branch (1220:5): [True: 0, False: 4]
  ------------------
 1221|      0|    case 'P': size = sizeof(void *); break;
  ------------------
  |  Branch (1221:5): [True: 0, False: 4]
  ------------------
 1222|      0|    case 'Z': {
  ------------------
  |  Branch (1222:5): [True: 0, False: 4]
  ------------------
 1223|      0|        switch (fmt[1]) {
  ------------------
  |  Branch (1223:17): [True: 0, False: 0]
  ------------------
 1224|      0|            case 'f': size = 2*sizeof(float); break;
  ------------------
  |  Branch (1224:13): [True: 0, False: 0]
  ------------------
 1225|      0|            case 'd': size = 2*sizeof(double); break;
  ------------------
  |  Branch (1225:13): [True: 0, False: 0]
  ------------------
 1226|      0|        }
 1227|      0|        if (size > 0 && fmt[2] == '\0') {
  ------------------
  |  Branch (1227:13): [True: 0, False: 0]
  |  Branch (1227:25): [True: 0, False: 0]
  ------------------
 1228|      0|            *result = fmt;
 1229|      0|            return size;
 1230|      0|        }
 1231|      0|        break;
 1232|      0|    }
 1233|      4|    }
 1234|       |
 1235|      4|    if (size > 0 && fmt[1] == '\0') {
  ------------------
  |  Branch (1235:9): [True: 4, False: 0]
  |  Branch (1235:21): [True: 4, False: 0]
  ------------------
 1236|      4|        *result = fmt;
 1237|      4|        return size;
 1238|      4|    }
 1239|       |
 1240|      0|    return -1;
 1241|      4|}
memoryobject.c:memory_getbuf:
 1576|  71.9k|{
 1577|  71.9k|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1578|  71.9k|    Py_buffer *base = &self->view;
 1579|  71.9k|    int baseflags = self->flags;
 1580|       |
 1581|  71.9k|    CHECK_RELEASED_INT(self);
  ------------------
  |  |  192|  71.9k|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  181|  71.9k|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|   143k|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (181:6): [True: 0, False: 71.9k]
  |  |  |  |  ------------------
  |  |  |  |  182|  71.9k|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|  71.9k|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:6): [True: 0, False: 71.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  193|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  194|      0|            "operation forbidden on released memoryview object"); \
  |  |  195|      0|        return -1;                                                \
  |  |  196|      0|    }
  ------------------
 1582|  71.9k|    CHECK_RESTRICTED_INT(self);
  ------------------
  |  |  206|  71.9k|    if (((PyMemoryViewObject *)(mv))->flags & _Py_MEMORYVIEW_RESTRICTED) { \
  |  |  ------------------
  |  |  |  |   25|  71.9k|#define _Py_MEMORYVIEW_RESTRICTED  0x020  /* Disallow new references to the memoryview's buffer */
  |  |  ------------------
  |  |  |  Branch (206:9): [True: 0, False: 71.9k]
  |  |  ------------------
  |  |  207|      0|        PyErr_SetString(PyExc_ValueError,                                  \
  |  |  208|      0|            "cannot create new view on restricted memoryview");            \
  |  |  209|      0|        return -1;                                                       \
  |  |  210|      0|    }
  ------------------
 1583|       |
 1584|       |    /* start with complete information */
 1585|  71.9k|    *view = *base;
 1586|  71.9k|    view->obj = NULL;
 1587|       |
 1588|  71.9k|    if (REQ_WRITABLE(flags) && base->readonly) {
  ------------------
  |  |  250|   143k|#define REQ_WRITABLE(flags) (flags&PyBUF_WRITABLE)
  |  |  ------------------
  |  |  |  |  109|  71.9k|#define PyBUF_WRITABLE 0x0001
  |  |  ------------------
  |  |  |  Branch (250:29): [True: 0, False: 71.9k]
  |  |  ------------------
  ------------------
  |  Branch (1588:32): [True: 0, False: 0]
  ------------------
 1589|      0|        PyErr_SetString(PyExc_BufferError,
 1590|      0|            "memoryview: underlying buffer is not writable");
 1591|      0|        return -1;
 1592|      0|    }
 1593|  71.9k|    if (!REQ_FORMAT(flags)) {
  ------------------
  |  |  251|  71.9k|#define REQ_FORMAT(flags) (flags&PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  116|  71.9k|#define PyBUF_FORMAT 0x0004
  |  |  ------------------
  ------------------
  |  Branch (1593:9): [True: 52.5k, False: 19.4k]
  ------------------
 1594|       |        /* NULL indicates that the buffer's data type has been cast to 'B'.
 1595|       |           view->itemsize is the _previous_ itemsize. If shape is present,
 1596|       |           the equality product(shape) * itemsize = len still holds at this
 1597|       |           point. The equality calcsize(format) = itemsize does _not_ hold
 1598|       |           from here on! */
 1599|  52.5k|        view->format = NULL;
 1600|  52.5k|    }
 1601|       |
 1602|  71.9k|    if (REQ_C_CONTIGUOUS(flags) && !MV_C_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  245|   143k|#define REQ_C_CONTIGUOUS(flags) ((flags&PyBUF_C_CONTIGUOUS) == PyBUF_C_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  119|  71.9k|#define PyBUF_C_CONTIGUOUS (0x0020 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  71.9k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  71.9k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_C_CONTIGUOUS(flags) ((flags&PyBUF_C_CONTIGUOUS) == PyBUF_C_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  119|  71.9k|#define PyBUF_C_CONTIGUOUS (0x0020 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  71.9k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  71.9k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (245:33): [True: 0, False: 71.9k]
  |  |  ------------------
  ------------------
                  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 (1602:36): [True: 0, False: 0]
  ------------------
 1603|      0|        PyErr_SetString(PyExc_BufferError,
 1604|      0|            "memoryview: underlying buffer is not C-contiguous");
 1605|      0|        return -1;
 1606|      0|    }
 1607|  71.9k|    if (REQ_F_CONTIGUOUS(flags) && !MV_F_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  246|   143k|#define REQ_F_CONTIGUOUS(flags) ((flags&PyBUF_F_CONTIGUOUS) == PyBUF_F_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  120|  71.9k|#define PyBUF_F_CONTIGUOUS (0x0040 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  71.9k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  71.9k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_F_CONTIGUOUS(flags) ((flags&PyBUF_F_CONTIGUOUS) == PyBUF_F_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  120|  71.9k|#define PyBUF_F_CONTIGUOUS (0x0040 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  71.9k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  71.9k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (246:33): [True: 0, False: 71.9k]
  |  |  ------------------
  ------------------
                  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 (1607:36): [True: 0, False: 0]
  ------------------
 1608|      0|        PyErr_SetString(PyExc_BufferError,
 1609|      0|            "memoryview: underlying buffer is not Fortran contiguous");
 1610|      0|        return -1;
 1611|      0|    }
 1612|  71.9k|    if (REQ_ANY_CONTIGUOUS(flags) && !MV_ANY_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  247|   143k|#define REQ_ANY_CONTIGUOUS(flags) ((flags&PyBUF_ANY_CONTIGUOUS) == PyBUF_ANY_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  121|  71.9k|#define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  71.9k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  71.9k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_ANY_CONTIGUOUS(flags) ((flags&PyBUF_ANY_CONTIGUOUS) == PyBUF_ANY_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  121|  71.9k|#define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  71.9k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  71.9k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (247:35): [True: 0, False: 71.9k]
  |  |  ------------------
  ------------------
                  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 (1612:38): [True: 0, False: 0]
  ------------------
 1613|      0|        PyErr_SetString(PyExc_BufferError,
 1614|      0|            "memoryview: underlying buffer is not contiguous");
 1615|      0|        return -1;
 1616|      0|    }
 1617|  71.9k|    if (!REQ_INDIRECT(flags) && (baseflags & _Py_MEMORYVIEW_PIL)) {
  ------------------
  |  |  244|   143k|#define REQ_INDIRECT(flags) ((flags&PyBUF_INDIRECT) == PyBUF_INDIRECT)
  |  |  ------------------
  |  |  |  |  122|  71.9k|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  71.9k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  71.9k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_INDIRECT(flags) ((flags&PyBUF_INDIRECT) == PyBUF_INDIRECT)
  |  |  ------------------
  |  |  |  |  122|  71.9k|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  71.9k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  71.9k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!REQ_INDIRECT(flags) && (baseflags & _Py_MEMORYVIEW_PIL)) {
  ------------------
  |  |   24|  52.5k|#define _Py_MEMORYVIEW_PIL         0x010  /* PIL-style layout */
  ------------------
  |  Branch (1617:9): [True: 52.5k, False: 19.4k]
  |  Branch (1617:33): [True: 0, False: 52.5k]
  ------------------
 1618|      0|        PyErr_SetString(PyExc_BufferError,
 1619|      0|            "memoryview: underlying buffer requires suboffsets");
 1620|      0|        return -1;
 1621|      0|    }
 1622|  71.9k|    if (!REQ_STRIDES(flags)) {
  ------------------
  |  |  248|  71.9k|#define REQ_STRIDES(flags) ((flags&PyBUF_STRIDES) == PyBUF_STRIDES)
  |  |  ------------------
  |  |  |  |  118|  71.9k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|  71.9k|#define PyBUF_ND 0x0008
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_STRIDES(flags) ((flags&PyBUF_STRIDES) == PyBUF_STRIDES)
  |  |  ------------------
  |  |  |  |  118|  71.9k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|  71.9k|#define PyBUF_ND 0x0008
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1622:9): [True: 52.5k, False: 19.4k]
  ------------------
 1623|  52.5k|        if (!MV_C_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  233|  52.5k|#define MV_C_CONTIGUOUS(flags) (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C))
  |  |  ------------------
  |  |  |  |   23|  52.5k|#define _Py_MEMORYVIEW_SCALAR      0x008  /* scalar: ndim = 0 */
  |  |  ------------------
  |  |               #define MV_C_CONTIGUOUS(flags) (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C))
  |  |  ------------------
  |  |  |  |   21|  52.5k|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  |  |  ------------------
  ------------------
  |  Branch (1623:13): [True: 0, False: 52.5k]
  ------------------
 1624|      0|            PyErr_SetString(PyExc_BufferError,
 1625|      0|                "memoryview: underlying buffer is not C-contiguous");
 1626|      0|            return -1;
 1627|      0|        }
 1628|  52.5k|        view->strides = NULL;
 1629|  52.5k|    }
 1630|  71.9k|    if (!REQ_SHAPE(flags)) {
  ------------------
  |  |  249|  71.9k|#define REQ_SHAPE(flags) ((flags&PyBUF_ND) == PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|  71.9k|#define PyBUF_ND 0x0008
  |  |  ------------------
  |  |               #define REQ_SHAPE(flags) ((flags&PyBUF_ND) == PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|  71.9k|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
  |  Branch (1630:9): [True: 52.5k, False: 19.4k]
  ------------------
 1631|       |        /* PyBUF_SIMPLE or PyBUF_WRITABLE: at this point buf is C-contiguous,
 1632|       |           so base->buf = ndbuf->data. */
 1633|  52.5k|        if (view->format != NULL) {
  ------------------
  |  Branch (1633:13): [True: 0, False: 52.5k]
  ------------------
 1634|       |            /* PyBUF_SIMPLE|PyBUF_FORMAT and PyBUF_WRITABLE|PyBUF_FORMAT do
 1635|       |               not make sense. */
 1636|      0|            PyErr_Format(PyExc_BufferError,
 1637|      0|                "memoryview: cannot cast to unsigned bytes if the format flag "
 1638|      0|                "is present");
 1639|      0|            return -1;
 1640|      0|        }
 1641|       |        /* product(shape) * itemsize = len and calcsize(format) = itemsize
 1642|       |           do _not_ hold from here on! */
 1643|  52.5k|        view->ndim = 1;
 1644|  52.5k|        view->shape = NULL;
 1645|  52.5k|    }
 1646|       |
 1647|       |
 1648|  71.9k|    view->obj = Py_NewRef(self);
  ------------------
  |  |  550|  71.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  71.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  71.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1649|  71.9k|    FT_ATOMIC_ADD_SSIZE(self->exports, 1);
  ------------------
  |  |  203|  71.9k|#define FT_ATOMIC_ADD_SSIZE(value, new_value) (void)(value += new_value)
  ------------------
 1650|       |
 1651|  71.9k|    return 0;
 1652|  71.9k|}
memoryobject.c:memory_releasebuf:
 1656|  71.9k|{
 1657|  71.9k|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1658|  71.9k|    FT_ATOMIC_ADD_SSIZE(self->exports, -1);
  ------------------
  |  |  203|  71.9k|#define FT_ATOMIC_ADD_SSIZE(value, new_value) (void)(value += new_value)
  ------------------
 1659|  71.9k|    return;
 1660|       |    /* PyBuffer_Release() decrements view->obj after this function returns. */
 1661|  71.9k|}
memoryobject.c:memory_traverse:
 1165|     20|{
 1166|     20|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1167|     20|    Py_VISIT(self->mbuf);
  ------------------
  |  |  194|     20|    do {                                                                \
  |  |  195|     20|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  196|     20|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     20|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20]
  |  |  ------------------
  |  |  198|     20|                return vret;                                            \
  |  |  199|     20|        }                                                               \
  |  |  200|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 1168|     20|    return 0;
 1169|     20|}
memoryobject.c:memoryview_tolist_impl:
 2334|      2|{
 2335|      2|    const Py_buffer *view = &self->view;
 2336|      2|    const char *fmt;
 2337|       |
 2338|      2|    CHECK_RELEASED(self);
  ------------------
  |  |  185|      2|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  181|      2|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      4|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (181:6): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |  182|      2|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|      2|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:6): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  186|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  187|      0|            "operation forbidden on released memoryview object"); \
  |  |  188|      0|        return NULL;                                              \
  |  |  189|      0|    }
  ------------------
 2339|       |
 2340|      2|    fmt = adjust_fmt(view);
 2341|      2|    if (fmt == NULL)
  ------------------
  |  Branch (2341:9): [True: 0, False: 2]
  ------------------
 2342|      0|        return NULL;
 2343|      2|    if (view->ndim == 0) {
  ------------------
  |  Branch (2343:9): [True: 0, False: 2]
  ------------------
 2344|      0|        return unpack_single(self, view->buf, fmt);
 2345|      0|    }
 2346|      2|    else if (view->ndim == 1) {
  ------------------
  |  Branch (2346:14): [True: 2, False: 0]
  ------------------
 2347|      2|        return tolist_base(self, view->buf, view->shape,
 2348|      2|                           view->strides, view->suboffsets,
 2349|      2|                           fmt);
 2350|      2|    }
 2351|      0|    else {
 2352|      0|        return tolist_rec(self, view->buf, view->ndim, view->shape,
 2353|      0|                          view->strides, view->suboffsets,
 2354|      0|                          fmt);
 2355|      0|    }
 2356|      2|}
memoryobject.c:tolist_base:
 2266|      2|{
 2267|      2|    PyObject *lst, *item;
 2268|      2|    Py_ssize_t i;
 2269|       |
 2270|      2|    lst = PyList_New(shape[0]);
 2271|      2|    if (lst == NULL)
  ------------------
  |  Branch (2271:9): [True: 0, False: 2]
  ------------------
 2272|      0|        return NULL;
 2273|       |
 2274|    130|    for (i = 0; i < shape[0]; ptr+=strides[0], i++) {
  ------------------
  |  Branch (2274:17): [True: 128, False: 2]
  ------------------
 2275|    128|        const char *xptr = ADJUST_PTR(ptr, suboffsets, 0);
  ------------------
  |  |  230|    128|    (HAVE_PTR(suboffsets, dim) ? *((char**)ptr) + suboffsets[dim] : ptr)
  |  |  ------------------
  |  |  |  |  227|    128|#define HAVE_PTR(suboffsets, dim) (suboffsets && suboffsets[dim] >= 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (227:36): [True: 0, False: 128]
  |  |  |  |  |  Branch (227:50): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2276|    128|        item = unpack_single(self, xptr, fmt);
 2277|    128|        if (item == NULL) {
  ------------------
  |  Branch (2277:13): [True: 0, False: 128]
  ------------------
 2278|      0|            Py_DECREF(lst);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2279|      0|            return NULL;
 2280|      0|        }
 2281|    128|        PyList_SET_ITEM(lst, i, item);
  ------------------
  |  |   50|    128|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    128|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    128|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    128|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    128|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2282|    128|    }
 2283|       |
 2284|      2|    return lst;
 2285|      2|}
memoryobject.c:memoryview_cast_impl:
 1490|      2|{
 1491|      2|    PyMemoryViewObject *mv = NULL;
 1492|      2|    Py_ssize_t ndim = 1;
 1493|       |
 1494|      2|    CHECK_RELEASED(self);
  ------------------
  |  |  185|      2|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  181|      2|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      4|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (181:6): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |  182|      2|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|      2|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:6): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  186|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  187|      0|            "operation forbidden on released memoryview object"); \
  |  |  188|      0|        return NULL;                                              \
  |  |  189|      0|    }
  ------------------
 1495|      2|    CHECK_RESTRICTED(self);
  ------------------
  |  |  199|      2|    if (((PyMemoryViewObject *)(mv))->flags & _Py_MEMORYVIEW_RESTRICTED) { \
  |  |  ------------------
  |  |  |  |   25|      2|#define _Py_MEMORYVIEW_RESTRICTED  0x020  /* Disallow new references to the memoryview's buffer */
  |  |  ------------------
  |  |  |  Branch (199:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  200|      0|        PyErr_SetString(PyExc_ValueError,                                  \
  |  |  201|      0|            "cannot create new view on restricted memoryview");            \
  |  |  202|      0|        return NULL;                                                       \
  |  |  203|      0|    }
  ------------------
 1496|       |
 1497|      2|    if (order != 'C' && order != 'F') {
  ------------------
  |  Branch (1497:9): [True: 0, False: 2]
  |  Branch (1497:25): [True: 0, False: 0]
  ------------------
 1498|      0|        PyErr_SetString(PyExc_ValueError, "order must be 'C' or 'F'");
 1499|      0|        return NULL;
 1500|      0|    }
 1501|       |
 1502|      2|    if (!MV_C_CONTIGUOUS(self->flags)) {
  ------------------
  |  |  233|      2|#define MV_C_CONTIGUOUS(flags) (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C))
  |  |  ------------------
  |  |  |  |   23|      2|#define _Py_MEMORYVIEW_SCALAR      0x008  /* scalar: ndim = 0 */
  |  |  ------------------
  |  |               #define MV_C_CONTIGUOUS(flags) (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C))
  |  |  ------------------
  |  |  |  |   21|      2|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  |  |  ------------------
  ------------------
  |  Branch (1502:9): [True: 0, False: 2]
  ------------------
 1503|      0|        if (shape || !MV_F_CONTIGUOUS(self->flags)) {
  ------------------
  |  |  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 (1503:13): [True: 0, False: 0]
  |  Branch (1503:22): [True: 0, False: 0]
  ------------------
 1504|      0|            PyErr_SetString(PyExc_TypeError,
 1505|      0|                "memoryview: casts are restricted to contiguous views");
 1506|      0|            return NULL;
 1507|      0|        }
 1508|      0|    }
 1509|      2|    if ((shape || self->view.ndim != 1) && zero_in_shape(self)) {
  ------------------
  |  Branch (1509:10): [True: 0, False: 2]
  |  Branch (1509:19): [True: 0, False: 2]
  |  Branch (1509:44): [True: 0, False: 0]
  ------------------
 1510|      0|        PyErr_SetString(PyExc_TypeError,
 1511|      0|            "memoryview: cannot cast view with zeros in shape or strides");
 1512|      0|        return NULL;
 1513|      0|    }
 1514|      2|    if (shape) {
  ------------------
  |  Branch (1514:9): [True: 0, False: 2]
  ------------------
 1515|      0|        CHECK_LIST_OR_TUPLE(shape)
  ------------------
  |  |  218|      0|    if (!PyList_Check(v) && !PyTuple_Check(v)) { \
  |  |  ------------------
  |  |  |  |   25|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   if (!PyList_Check(v) && !PyTuple_Check(v)) { \
  |  |  ------------------
  |  |  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (218:9): [True: 0, False: 0]
  |  |  |  Branch (218:29): [True: 0, False: 0]
  |  |  ------------------
  |  |  219|      0|        PyErr_SetString(PyExc_TypeError,         \
  |  |  220|      0|            #v " must be a list or a tuple");    \
  |  |  221|      0|        return NULL;                             \
  |  |  222|      0|    }
  ------------------
 1516|      0|        ndim = PySequence_Fast_GET_SIZE(shape);
  ------------------
  |  |   92|      0|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|      0|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|      0|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1517|      0|        if (ndim > PyBUF_MAX_NDIM) {
  ------------------
  |  |  105|      0|#define PyBUF_MAX_NDIM 64
  ------------------
  |  Branch (1517:13): [True: 0, False: 0]
  ------------------
 1518|      0|            PyErr_SetString(PyExc_ValueError,
 1519|      0|                "memoryview: number of dimensions must not exceed "
 1520|      0|                Py_STRINGIFY(PyBUF_MAX_NDIM));
  ------------------
  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  ------------------
  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  ------------------
  ------------------
 1521|      0|            return NULL;
 1522|      0|        }
 1523|      0|        if (self->view.ndim != 1 && ndim != 1) {
  ------------------
  |  Branch (1523:13): [True: 0, False: 0]
  |  Branch (1523:37): [True: 0, False: 0]
  ------------------
 1524|      0|            PyErr_SetString(PyExc_TypeError,
 1525|      0|                "memoryview: cast must be 1D -> ND or ND -> 1D");
 1526|      0|            return NULL;
 1527|      0|        }
 1528|      0|    }
 1529|       |
 1530|      2|    mv = (PyMemoryViewObject *)
 1531|      2|        mbuf_add_incomplete_view(self->mbuf, &self->view, ndim==0 ? 1 : (int)ndim);
  ------------------
  |  Branch (1531:59): [True: 0, False: 2]
  ------------------
 1532|      2|    if (mv == NULL)
  ------------------
  |  Branch (1532:9): [True: 0, False: 2]
  ------------------
 1533|      0|        return NULL;
 1534|       |
 1535|      2|    if (cast_to_1D(mv, format) < 0)
  ------------------
  |  Branch (1535:9): [True: 0, False: 2]
  ------------------
 1536|      0|        goto error;
 1537|      2|    if (shape && cast_to_ND(mv, shape, (int)ndim, (char)order) < 0)
  ------------------
  |  Branch (1537:9): [True: 0, False: 2]
  |  Branch (1537:18): [True: 0, False: 0]
  ------------------
 1538|      0|        goto error;
 1539|       |
 1540|      2|    return (PyObject *)mv;
 1541|       |
 1542|      0|error:
 1543|      0|    Py_DECREF(mv);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1544|       |    return NULL;
 1545|      2|}
memoryobject.c:cast_to_1D:
 1306|      2|{
 1307|      2|    Py_buffer *view = &mv->view;
 1308|      2|    PyObject *asciifmt;
 1309|      2|    const char *srcfmt, *destfmt;
 1310|      2|    Py_ssize_t itemsize;
 1311|      2|    int ret = -1;
 1312|       |
 1313|      2|    assert(view->ndim >= 1);
  ------------------
  |  Branch (1313:5): [True: 2, False: 0]
  ------------------
 1314|      2|    assert(Py_SIZE(mv) == 3*view->ndim);
  ------------------
  |  Branch (1314:5): [True: 2, False: 0]
  ------------------
 1315|      2|    assert(view->shape == mv->ob_array);
  ------------------
  |  Branch (1315:5): [True: 2, False: 0]
  ------------------
 1316|      2|    assert(view->strides == mv->ob_array + view->ndim);
  ------------------
  |  Branch (1316:5): [True: 2, False: 0]
  ------------------
 1317|      2|    assert(view->suboffsets == mv->ob_array + 2*view->ndim);
  ------------------
  |  Branch (1317:5): [True: 2, False: 0]
  ------------------
 1318|       |
 1319|      2|    asciifmt = PyUnicode_AsASCIIString(format);
 1320|      2|    if (asciifmt == NULL)
  ------------------
  |  Branch (1320:9): [True: 0, False: 2]
  ------------------
 1321|      0|        return ret;
 1322|       |
 1323|      2|    itemsize = get_native_fmtchar(&destfmt, PyBytes_AS_STRING(asciifmt));
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1324|      2|    if (itemsize < 0) {
  ------------------
  |  Branch (1324:9): [True: 0, False: 2]
  ------------------
 1325|      0|        PyErr_SetString(PyExc_ValueError,
 1326|      0|            "memoryview: destination format must be a native "
 1327|      0|            "format prefixed with an optional '@'");
 1328|      0|        goto out;
 1329|      0|    }
 1330|       |
 1331|      2|    if ((get_native_fmtchar(&srcfmt, view->format) < 0 ||
  ------------------
  |  Branch (1331:10): [True: 0, False: 2]
  ------------------
 1332|      2|         !IS_BYTE_FORMAT(srcfmt)) && !IS_BYTE_FORMAT(destfmt)) {
  ------------------
  |  | 1201|      2|    (strcmp(f, "b") == 0 || strcmp(f, "B") == 0 || strcmp(f, "c") == 0)
  |  |  ------------------
  |  |  |  Branch (1201:6): [True: 0, False: 2]
  |  |  |  Branch (1201:29): [True: 2, False: 0]
  |  |  |  Branch (1201:52): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                       !IS_BYTE_FORMAT(srcfmt)) && !IS_BYTE_FORMAT(destfmt)) {
  ------------------
  |  | 1201|      0|    (strcmp(f, "b") == 0 || strcmp(f, "B") == 0 || strcmp(f, "c") == 0)
  |  |  ------------------
  |  |  |  Branch (1201:6): [True: 0, False: 0]
  |  |  |  Branch (1201:29): [True: 0, False: 0]
  |  |  |  Branch (1201:52): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1333|      0|        PyErr_SetString(PyExc_TypeError,
 1334|      0|            "memoryview: cannot cast between two non-byte formats");
 1335|      0|        goto out;
 1336|      0|    }
 1337|      2|    if (view->len % itemsize) {
  ------------------
  |  Branch (1337:9): [True: 0, False: 2]
  ------------------
 1338|      0|        PyErr_SetString(PyExc_TypeError,
 1339|      0|            "memoryview: length is not a multiple of itemsize");
 1340|      0|        goto out;
 1341|      0|    }
 1342|       |
 1343|      2|    view->format = (char *)get_native_fmtstr(PyBytes_AS_STRING(asciifmt));
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1344|      2|    if (view->format == NULL) {
  ------------------
  |  Branch (1344:9): [True: 0, False: 2]
  ------------------
 1345|       |        /* NOT_REACHED: get_native_fmtchar() already validates the format. */
 1346|      0|        PyErr_SetString(PyExc_RuntimeError,
 1347|      0|            "memoryview: internal error");
 1348|      0|        goto out;
 1349|      0|    }
 1350|      2|    view->itemsize = itemsize;
 1351|       |
 1352|      2|    view->ndim = 1;
 1353|      2|    view->shape[0] = view->len / view->itemsize;
 1354|      2|    view->strides[0] = view->itemsize;
 1355|      2|    view->suboffsets = NULL;
 1356|       |
 1357|      2|    init_flags(mv);
 1358|       |
 1359|      2|    ret = 0;
 1360|       |
 1361|      2|out:
 1362|      2|    Py_DECREF(asciifmt);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1363|      2|    return ret;
 1364|      2|}
memoryobject.c:get_native_fmtstr:
 1245|      2|{
 1246|      2|    int at = 0;
 1247|       |
 1248|      2|    if (fmt[0] == '@') {
  ------------------
  |  Branch (1248:9): [True: 0, False: 2]
  ------------------
 1249|      0|        at = 1;
 1250|      0|        fmt++;
 1251|      0|    }
 1252|      2|    if (fmt[0] == '\0') {
  ------------------
  |  Branch (1252:9): [True: 0, False: 2]
  ------------------
 1253|      0|        return NULL;
 1254|      0|    }
 1255|      2|    if (fmt[0] == 'Z') {
  ------------------
  |  Branch (1255:9): [True: 0, False: 2]
  ------------------
 1256|      0|        if (fmt[1] == '\0' || fmt[2] != '\0') {
  ------------------
  |  Branch (1256:13): [True: 0, False: 0]
  |  Branch (1256:31): [True: 0, False: 0]
  ------------------
 1257|      0|            return NULL;
 1258|      0|        }
 1259|      0|    }
 1260|      2|    else {
 1261|      2|        if (fmt[1] != '\0') {
  ------------------
  |  Branch (1261:13): [True: 0, False: 2]
  ------------------
 1262|      0|            return NULL;
 1263|      0|        }
 1264|      2|    }
 1265|       |
 1266|      2|#define RETURN(s) do { return at ? "@" s : s; } while (0)
 1267|       |
 1268|      2|    switch (fmt[0]) {
  ------------------
  |  Branch (1268:13): [True: 2, False: 0]
  ------------------
 1269|      0|    case 'c': RETURN("c");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1269:5): [True: 0, False: 2]
  ------------------
 1270|      0|    case 'b': RETURN("b");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1270:5): [True: 0, False: 2]
  ------------------
 1271|      0|    case 'B': RETURN("B");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1271:5): [True: 0, False: 2]
  ------------------
 1272|      0|    case 'h': RETURN("h");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1272:5): [True: 0, False: 2]
  ------------------
 1273|      0|    case 'H': RETURN("H");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1273:5): [True: 0, False: 2]
  ------------------
 1274|      0|    case 'i': RETURN("i");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1274:5): [True: 0, False: 2]
  ------------------
 1275|      2|    case 'I': RETURN("I");
  ------------------
  |  | 1266|      2|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 2]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1275:5): [True: 2, False: 0]
  ------------------
 1276|      0|    case 'l': RETURN("l");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1276:5): [True: 0, False: 2]
  ------------------
 1277|      0|    case 'L': RETURN("L");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1277:5): [True: 0, False: 2]
  ------------------
 1278|      0|    case 'q': RETURN("q");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1278:5): [True: 0, False: 2]
  ------------------
 1279|      0|    case 'Q': RETURN("Q");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1279:5): [True: 0, False: 2]
  ------------------
 1280|      0|    case 'n': RETURN("n");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1280:5): [True: 0, False: 2]
  ------------------
 1281|      0|    case 'N': RETURN("N");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1281:5): [True: 0, False: 2]
  ------------------
 1282|      0|    case 'f': RETURN("f");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1282:5): [True: 0, False: 2]
  ------------------
 1283|      0|    case 'd': RETURN("d");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1283:5): [True: 0, False: 2]
  ------------------
 1284|      0|    case 'e': RETURN("e");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1284:5): [True: 0, False: 2]
  ------------------
 1285|      0|    case 'Z': {
  ------------------
  |  Branch (1285:5): [True: 0, False: 2]
  ------------------
 1286|      0|        switch (fmt[1]) {
  ------------------
  |  Branch (1286:17): [True: 0, False: 0]
  ------------------
 1287|      0|        case 'f': RETURN("Zf");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1287:9): [True: 0, False: 0]
  ------------------
 1288|      0|        case 'd': RETURN("Zd");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1288:9): [True: 0, False: 0]
  ------------------
 1289|      0|        }
 1290|      0|        break;
 1291|      0|    }
 1292|      0|    case '?': RETURN("?");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1292:5): [True: 0, False: 2]
  ------------------
 1293|      0|    case 'P': RETURN("P");
  ------------------
  |  | 1266|      0|#define RETURN(s) do { return at ? "@" s : s; } while (0)
  |  |  ------------------
  |  |  |  Branch (1266:31): [True: 0, False: 0]
  |  |  |  Branch (1266:56): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1293:5): [True: 0, False: 2]
  ------------------
 1294|      2|    }
 1295|       |
 1296|      0|    return NULL;
 1297|      2|}
memoryobject.c:memory_itemsize_get:
 3466|      4|{
 3467|      4|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 3468|      4|    CHECK_RELEASED(self);
  ------------------
  |  |  185|      4|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  181|      4|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      8|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (181:6): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  182|      4|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|      4|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:6): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  186|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  187|      0|            "operation forbidden on released memoryview object"); \
  |  |  188|      0|        return NULL;                                              \
  |  |  189|      0|    }
  ------------------
 3469|      4|    return PyLong_FromSsize_t(self->view.itemsize);
 3470|      4|}
memoryobject.c:memoryview_impl:
 1016|     87|{
 1017|     87|    return PyMemoryView_FromObject(object);
 1018|     87|}

PyCMethod_New:
   48|  1.93M|{
   49|       |    /* Figure out correct vectorcall function to use */
   50|  1.93M|    vectorcallfunc vectorcall;
   51|  1.93M|    switch (ml->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS |
  ------------------
  |  |   95|  1.93M|#define METH_VARARGS  0x0001
  ------------------
                  switch (ml->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS |
  ------------------
  |  |  115|  1.93M|#  define METH_FASTCALL  0x0080
  ------------------
                  switch (ml->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS |
  ------------------
  |  |   98|  1.93M|#define METH_NOARGS   0x0004
  ------------------
   52|  1.93M|                            METH_O | METH_KEYWORDS | METH_METHOD))
  ------------------
  |  |   99|  1.93M|#define METH_O        0x0008
  ------------------
                                          METH_O | METH_KEYWORDS | METH_METHOD))
  ------------------
  |  |   96|  1.93M|#define METH_KEYWORDS 0x0002
  ------------------
                                          METH_O | METH_KEYWORDS | METH_METHOD))
  ------------------
  |  |  133|  1.93M|#define METH_METHOD 0x0200
  ------------------
   53|  1.93M|    {
   54|     97|        case METH_VARARGS:
  ------------------
  |  |   95|     97|#define METH_VARARGS  0x0001
  ------------------
  |  Branch (54:9): [True: 97, False: 1.93M]
  ------------------
   55|    103|        case METH_VARARGS | METH_KEYWORDS:
  ------------------
  |  |   95|    103|#define METH_VARARGS  0x0001
  ------------------
                      case METH_VARARGS | METH_KEYWORDS:
  ------------------
  |  |   96|    103|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (55:9): [True: 6, False: 1.93M]
  ------------------
   56|       |            /* For METH_VARARGS functions, it's more efficient to use tp_call
   57|       |             * instead of vectorcall. */
   58|    103|            vectorcall = NULL;
   59|    103|            break;
   60|   523k|        case METH_FASTCALL:
  ------------------
  |  |  115|   523k|#  define METH_FASTCALL  0x0080
  ------------------
  |  Branch (60:9): [True: 523k, False: 1.41M]
  ------------------
   61|   523k|            vectorcall = cfunction_vectorcall_FASTCALL;
   62|   523k|            break;
   63|  21.5k|        case METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  115|  21.5k|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |   96|  21.5k|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (63:9): [True: 21.5k, False: 1.91M]
  ------------------
   64|  21.5k|            vectorcall = cfunction_vectorcall_FASTCALL_KEYWORDS;
   65|  21.5k|            break;
   66|  1.40k|        case METH_NOARGS:
  ------------------
  |  |   98|  1.40k|#define METH_NOARGS   0x0004
  ------------------
  |  Branch (66:9): [True: 1.40k, False: 1.93M]
  ------------------
   67|  1.40k|            vectorcall = cfunction_vectorcall_NOARGS;
   68|  1.40k|            break;
   69|  1.39M|        case METH_O:
  ------------------
  |  |   99|  1.39M|#define METH_O        0x0008
  ------------------
  |  Branch (69:9): [True: 1.39M, False: 546k]
  ------------------
   70|  1.39M|            vectorcall = cfunction_vectorcall_O;
   71|  1.39M|            break;
   72|     92|        case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  133|     92|#define METH_METHOD 0x0200
  ------------------
                      case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  115|     92|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |   96|     92|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (72:9): [True: 92, False: 1.93M]
  ------------------
   73|     92|            vectorcall = cfunction_vectorcall_FASTCALL_KEYWORDS_METHOD;
   74|     92|            break;
   75|      0|        default:
  ------------------
  |  Branch (75:9): [True: 0, False: 1.93M]
  ------------------
   76|      0|            PyErr_Format(PyExc_SystemError,
   77|      0|                         "%s() method: bad call flags", ml->ml_name);
   78|      0|            return NULL;
   79|  1.93M|    }
   80|       |
   81|  1.93M|    PyCFunctionObject *op = NULL;
   82|       |
   83|  1.93M|    if (ml->ml_flags & METH_METHOD) {
  ------------------
  |  |  133|  1.93M|#define METH_METHOD 0x0200
  ------------------
  |  Branch (83:9): [True: 92, False: 1.93M]
  ------------------
   84|     92|        if (!cls) {
  ------------------
  |  Branch (84:13): [True: 0, False: 92]
  ------------------
   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|     92|        PyCMethodObject *om = _Py_FREELIST_POP(PyCMethodObject, pycmethodobject);
  ------------------
  |  |   43|     92|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   91|     92|        if (om == NULL) {
  ------------------
  |  Branch (91:13): [True: 6, False: 86]
  ------------------
   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|     92|        om->mm_class = (PyTypeObject*)Py_NewRef(cls);
  ------------------
  |  |  550|     92|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     92|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     92|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   98|     92|        op = (PyCFunctionObject *)om;
   99|  1.93M|    } else {
  100|  1.93M|        if (cls) {
  ------------------
  |  Branch (100:13): [True: 0, False: 1.93M]
  ------------------
  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|  1.93M|        op = _Py_FREELIST_POP(PyCFunctionObject, pycfunctionobject);
  ------------------
  |  |   43|  1.93M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  1.93M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  107|  1.93M|        if (op == NULL) {
  ------------------
  |  Branch (107:13): [True: 1.55k, False: 1.93M]
  ------------------
  108|  1.55k|            op = PyObject_GC_New(PyCFunctionObject, &PyCFunction_Type);
  ------------------
  |  |  181|  1.55k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  1.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  109|  1.55k|            if (op == NULL) {
  ------------------
  |  Branch (109:17): [True: 0, False: 1.55k]
  ------------------
  110|      0|                return NULL;
  111|      0|            }
  112|  1.55k|        }
  113|  1.93M|    }
  114|       |
  115|  1.93M|    op->m_weakreflist = NULL;
  116|  1.93M|    op->m_ml = ml;
  117|  1.93M|    op->m_self = Py_XNewRef(self);
  ------------------
  |  |  551|  1.93M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.93M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  118|  1.93M|    op->m_module = Py_XNewRef(module);
  ------------------
  |  |  551|  1.93M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.93M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  119|  1.93M|    op->vectorcall = vectorcall;
  120|  1.93M|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  505|  1.93M|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.93M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  121|  1.93M|    return (PyObject *)op;
  122|  1.93M|}
methodobject.c:meth_dealloc:
  168|  1.93M|{
  169|  1.93M|    PyCFunctionObject *m = _PyCFunctionObject_CAST(self);
  ------------------
  |  |   17|  1.93M|    (assert(PyCFunction_Check(func)), \
  |  |   18|  1.93M|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  1.93M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (169:28): [True: 1.93M, False: 0]
  ------------------
  170|      0|    PyObject_GC_UnTrack(m);
  171|  1.93M|    FT_CLEAR_WEAKREFS(self, m->m_weakreflist);
  ------------------
  |  |   47|  1.93M|    do {                                            \
  |  |   48|  1.93M|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  1.93M|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 1.93M]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  1.93M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 1.93M]
  |  |  ------------------
  ------------------
  |  Branch (171:5): [True: 1.93M, 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|  1.93M|    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|  1.93M|    Py_XDECREF(PyCFunction_GET_CLASS(m));
  ------------------
  |  |  524|  1.93M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.93M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  179|  1.93M|    Py_XDECREF(m->m_self);
  ------------------
  |  |  524|  1.93M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.93M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  180|  1.93M|    Py_XDECREF(m->m_module);
  ------------------
  |  |  524|  1.93M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.93M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  181|  1.93M|    if (ml_flags & METH_METHOD) {
  ------------------
  |  |  133|  1.93M|#define METH_METHOD 0x0200
  ------------------
  |  Branch (181:9): [True: 89, False: 1.93M]
  ------------------
  182|     89|        assert(Py_IS_TYPE(self, &PyCMethod_Type));
  ------------------
  |  Branch (182:9): [True: 89, False: 0]
  ------------------
  183|     89|        _Py_FREELIST_FREE(pycmethodobject, m, PyObject_GC_Del);
  ------------------
  |  |   35|     89|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|     89|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     89|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|     89|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   32|     89|#  define Py_pycmethodobject_MAXFREELIST 16
  |  |  ------------------
  ------------------
  184|     89|    }
  185|  1.93M|    else {
  186|  1.93M|        assert(Py_IS_TYPE(self, &PyCFunction_Type));
  ------------------
  |  Branch (186:9): [True: 1.93M, False: 0]
  ------------------
  187|  1.93M|        _Py_FREELIST_FREE(pycfunctionobject, m, PyObject_GC_Del);
  ------------------
  |  |   35|  1.93M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  1.93M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  1.93M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   31|  1.93M|#  define Py_pycfunctionobject_MAXFREELIST 16
  |  |  ------------------
  ------------------
  188|  1.93M|    }
  189|  1.93M|}
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|  17.4k|{
  268|  17.4k|    PyCFunctionObject *m = _PyCFunctionObject_CAST(self);
  ------------------
  |  |   17|  17.4k|    (assert(PyCFunction_Check(func)), \
  |  |   18|  17.4k|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  17.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (268:28): [True: 17.4k, False: 0]
  ------------------
  269|  17.4k|    Py_VISIT(PyCFunction_GET_CLASS(m));
  ------------------
  |  |  194|  17.4k|    do {                                                                \
  |  |  195|  17.4k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 42, False: 17.4k]
  |  |  ------------------
  |  |  196|     42|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     42|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 42]
  |  |  ------------------
  |  |  198|     42|                return vret;                                            \
  |  |  199|     42|        }                                                               \
  |  |  200|  17.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 17.4k]
  |  |  ------------------
  ------------------
  270|  17.4k|    Py_VISIT(m->m_self);
  ------------------
  |  |  194|  17.4k|    do {                                                                \
  |  |  195|  17.4k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 17.2k, False: 208]
  |  |  ------------------
  |  |  196|  17.2k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  17.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  17.2k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 17.2k]
  |  |  ------------------
  |  |  198|  17.2k|                return vret;                                            \
  |  |  199|  17.2k|        }                                                               \
  |  |  200|  17.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 17.4k]
  |  |  ------------------
  ------------------
  271|  17.4k|    Py_VISIT(m->m_module);
  ------------------
  |  |  194|  17.4k|    do {                                                                \
  |  |  195|  17.4k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 12.2k, False: 5.26k]
  |  |  ------------------
  |  |  196|  12.2k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  12.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  12.2k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 12.2k]
  |  |  ------------------
  |  |  198|  12.2k|                return vret;                                            \
  |  |  199|  12.2k|        }                                                               \
  |  |  200|  17.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 17.4k]
  |  |  ------------------
  ------------------
  272|  17.4k|    return 0;
  273|  17.4k|}
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__));
  ------------------
  |  |  921|      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:cfunction_vectorcall_FASTCALL:
  438|  15.7k|{
  439|  15.7k|    PyThreadState *tstate = _PyThreadState_GET();
  440|  15.7k|    if (cfunction_check_kwargs(tstate, func, kwnames)) {
  ------------------
  |  Branch (440:9): [True: 0, False: 15.7k]
  ------------------
  441|      0|        return NULL;
  442|      0|    }
  443|  15.7k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  15.7k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  444|  15.7k|    PyCFunctionFast meth = (PyCFunctionFast)
  445|  15.7k|                            cfunction_enter_call(tstate, func);
  446|  15.7k|    if (meth == NULL) {
  ------------------
  |  Branch (446:9): [True: 0, False: 15.7k]
  ------------------
  447|      0|        return NULL;
  448|      0|    }
  449|  15.7k|    PyObject *result = meth(PyCFunction_GET_SELF(func), args, nargs);
  ------------------
  |  |   52|  15.7k|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  15.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  450|  15.7k|    _Py_LeaveRecursiveCallTstate(tstate);
  451|  15.7k|    return result;
  452|  15.7k|}
methodobject.c:cfunction_check_kwargs:
  408|  73.2k|{
  409|  73.2k|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (409:5): [True: 73.2k, False: 0]
  ------------------
  410|  73.2k|    assert(PyCFunction_Check(func));
  ------------------
  |  Branch (410:5): [True: 73.2k, False: 0]
  ------------------
  411|  73.2k|    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: 73.2k]
  ------------------
  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|  73.2k|    return 0;
  421|  73.2k|}
methodobject.c:cfunction_enter_call:
  427|   148k|{
  428|   148k|    if (_Py_EnterRecursiveCallTstate(tstate, " while calling a Python object")) {
  ------------------
  |  Branch (428:9): [True: 0, False: 148k]
  ------------------
  429|      0|        return NULL;
  430|      0|    }
  431|   148k|    return (funcptr)PyCFunction_GET_FUNCTION(func);
  ------------------
  |  |   43|   148k|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|   148k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   148k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  432|   148k|}
methodobject.c:cfunction_vectorcall_FASTCALL_KEYWORDS:
  457|  75.4k|{
  458|  75.4k|    PyThreadState *tstate = _PyThreadState_GET();
  459|  75.4k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  75.4k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  460|  75.4k|    PyCFunctionFastWithKeywords meth = (PyCFunctionFastWithKeywords)
  461|  75.4k|                                        cfunction_enter_call(tstate, func);
  462|  75.4k|    if (meth == NULL) {
  ------------------
  |  Branch (462:9): [True: 0, False: 75.4k]
  ------------------
  463|      0|        return NULL;
  464|      0|    }
  465|  75.4k|    PyObject *result = meth(PyCFunction_GET_SELF(func), args, nargs, kwnames);
  ------------------
  |  |   52|  75.4k|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  75.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  466|  75.4k|    _Py_LeaveRecursiveCallTstate(tstate);
  467|  75.4k|    return result;
  468|  75.4k|}
methodobject.c:cfunction_vectorcall_FASTCALL_KEYWORDS_METHOD:
  473|     88|{
  474|     88|    PyThreadState *tstate = _PyThreadState_GET();
  475|     88|    PyTypeObject *cls = PyCFunction_GET_CLASS(func);
  ------------------
  |  |   66|     88|#define PyCFunction_GET_CLASS(func) PyCFunction_GET_CLASS(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  476|     88|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     88|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  477|     88|    PyCMethod meth = (PyCMethod)cfunction_enter_call(tstate, func);
  478|     88|    if (meth == NULL) {
  ------------------
  |  Branch (478:9): [True: 0, False: 88]
  ------------------
  479|      0|        return NULL;
  480|      0|    }
  481|     88|    PyObject *result = meth(PyCFunction_GET_SELF(func), cls, args, nargs, kwnames);
  ------------------
  |  |   52|     88|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  482|     88|    _Py_LeaveRecursiveCallTstate(tstate);
  483|     88|    return result;
  484|     88|}
methodobject.c:cfunction_vectorcall_NOARGS:
  489|  5.58k|{
  490|  5.58k|    PyThreadState *tstate = _PyThreadState_GET();
  491|  5.58k|    if (cfunction_check_kwargs(tstate, func, kwnames)) {
  ------------------
  |  Branch (491:9): [True: 0, False: 5.58k]
  ------------------
  492|      0|        return NULL;
  493|      0|    }
  494|  5.58k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  5.58k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  495|  5.58k|    if (nargs != 0) {
  ------------------
  |  Branch (495:9): [True: 0, False: 5.58k]
  ------------------
  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|  5.58k|    PyCFunction meth = (PyCFunction)cfunction_enter_call(tstate, func);
  505|  5.58k|    if (meth == NULL) {
  ------------------
  |  Branch (505:9): [True: 0, False: 5.58k]
  ------------------
  506|      0|        return NULL;
  507|      0|    }
  508|  5.58k|    PyObject *result = _PyCFunction_TrampolineCall(
  ------------------
  |  |  995|  5.58k|    (meth)((self), (args))
  ------------------
  509|  5.58k|        meth, PyCFunction_GET_SELF(func), NULL);
  510|  5.58k|    _Py_LeaveRecursiveCallTstate(tstate);
  511|  5.58k|    return result;
  512|  5.58k|}
methodobject.c:cfunction_vectorcall_O:
  517|  51.9k|{
  518|  51.9k|    PyThreadState *tstate = _PyThreadState_GET();
  519|  51.9k|    if (cfunction_check_kwargs(tstate, func, kwnames)) {
  ------------------
  |  Branch (519:9): [True: 0, False: 51.9k]
  ------------------
  520|      0|        return NULL;
  521|      0|    }
  522|  51.9k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  51.9k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  523|  51.9k|    if (nargs != 1) {
  ------------------
  |  Branch (523:9): [True: 0, False: 51.9k]
  ------------------
  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|  51.9k|    PyCFunction meth = (PyCFunction)cfunction_enter_call(tstate, func);
  533|  51.9k|    if (meth == NULL) {
  ------------------
  |  Branch (533:9): [True: 0, False: 51.9k]
  ------------------
  534|      0|        return NULL;
  535|      0|    }
  536|  51.9k|    PyObject *result = _PyCFunction_TrampolineCall(
  ------------------
  |  |  995|  51.9k|    (meth)((self), (args))
  ------------------
  537|  51.9k|        meth, PyCFunction_GET_SELF(func), args[0]);
  538|  51.9k|    _Py_LeaveRecursiveCallTstate(tstate);
  539|  51.9k|    return result;
  540|  51.9k|}
methodobject.c:cfunction_call:
  545|    113|{
  546|    113|    assert(kwargs == NULL || PyDict_Check(kwargs));
  ------------------
  |  Branch (546:5): [True: 113, False: 0]
  |  Branch (546:5): [True: 0, False: 0]
  ------------------
  547|       |
  548|    113|    PyThreadState *tstate = _PyThreadState_GET();
  549|    113|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (549:5): [True: 113, False: 0]
  ------------------
  550|       |
  551|    113|    int flags = PyCFunction_GET_FLAGS(func);
  ------------------
  |  |   57|    113|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  552|    113|    if (!(flags & METH_VARARGS)) {
  ------------------
  |  |   95|    113|#define METH_VARARGS  0x0001
  ------------------
  |  Branch (552:9): [True: 0, False: 113]
  ------------------
  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|    113|    PyCFunction meth = PyCFunction_GET_FUNCTION(func);
  ------------------
  |  |   43|    113|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  560|    113|    PyObject *self = PyCFunction_GET_SELF(func);
  ------------------
  |  |   52|    113|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  561|       |
  562|    113|    PyObject *result;
  563|    113|    if (flags & METH_KEYWORDS) {
  ------------------
  |  |   96|    113|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (563:9): [True: 0, False: 113]
  ------------------
  564|      0|        result = _PyCFunctionWithKeywords_TrampolineCall(
  ------------------
  |  |  997|      0|    (meth)((self), (args), (kw))
  ------------------
  565|      0|            *_PyCFunctionWithKeywords_CAST(meth),
  566|      0|            self, args, kwargs);
  567|      0|    }
  568|    113|    else {
  569|    113|        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: 113]
  |  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|    113|        result = _PyCFunction_TrampolineCall(meth, self, args);
  ------------------
  |  |  995|    113|    (meth)((self), (args))
  ------------------
  576|    113|    }
  577|    113|    return _Py_CheckFunctionResult(tstate, func, result, NULL);
  578|    113|}

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

_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|    416|{
  180|    416|    _PyNamespaceObject *ns = _PyNamespace_CAST(op);
  ------------------
  |  |   15|    416|#define _PyNamespace_CAST(op) _Py_CAST(_PyNamespaceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    416|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  181|    416|    Py_VISIT(ns->ns_dict);
  ------------------
  |  |  194|    416|    do {                                                                \
  |  |  195|    416|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 416, False: 0]
  |  |  ------------------
  |  |  196|    416|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    416|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    416|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    416|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 416]
  |  |  ------------------
  |  |  198|    416|                return vret;                                            \
  |  |  199|    416|        }                                                               \
  |  |  200|    416|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 416]
  |  |  ------------------
  ------------------
  182|    416|    return 0;
  183|    416|}
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|  63.5k|{
  556|  63.5k|    PyObject *op = (PyObject *) PyObject_Malloc(_PyObject_SIZE(tp));
  557|  63.5k|    if (op == NULL) {
  ------------------
  |  Branch (557:9): [True: 0, False: 63.5k]
  ------------------
  558|      0|        return PyErr_NoMemory();
  559|      0|    }
  560|  63.5k|    _PyObject_Init(op, tp);
  561|  63.5k|    return op;
  562|  63.5k|}
_PyObject_NewVar:
  566|  56.1k|{
  567|  56.1k|    PyVarObject *op;
  568|  56.1k|    const size_t size = _PyObject_VAR_SIZE(tp, nitems);
  569|  56.1k|    op = (PyVarObject *) PyObject_Malloc(size);
  570|  56.1k|    if (op == NULL) {
  ------------------
  |  Branch (570:9): [True: 0, False: 56.1k]
  ------------------
  571|      0|        return (PyVarObject *)PyErr_NoMemory();
  572|      0|    }
  573|  56.1k|    _PyObject_InitVar(op, tp, nitems);
  574|  56.1k|    return op;
  575|  56.1k|}
PyObject_CallFinalizer:
  579|  1.43k|{
  580|  1.43k|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|  1.43k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  581|       |
  582|  1.43k|    if (tp->tp_finalize == NULL)
  ------------------
  |  Branch (582:9): [True: 0, False: 1.43k]
  ------------------
  583|      0|        return;
  584|       |    /* tp_finalize should only be called once. */
  585|  1.43k|    if (_PyType_IS_GC(tp) && _PyGC_FINALIZED(self))
  ------------------
  |  |  820|  2.87k|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  1.43k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (820:26): [True: 1.43k, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (585:30): [True: 0, False: 1.43k]
  ------------------
  586|      0|        return;
  587|       |
  588|  1.43k|    tp->tp_finalize(self);
  589|  1.43k|    if (_PyType_IS_GC(tp)) {
  ------------------
  |  |  820|  1.43k|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  1.43k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (820:26): [True: 1.43k, False: 0]
  |  |  ------------------
  ------------------
  590|  1.43k|        _PyGC_SET_FINALIZED(self);
  591|  1.43k|    }
  592|  1.43k|}
PyObject_CallFinalizerFromDealloc:
  596|  1.43k|{
  597|  1.43k|    if (Py_REFCNT(self) != 0) {
  ------------------
  |  |  119|  1.43k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (597:9): [True: 0, False: 1.43k]
  ------------------
  598|      0|        _PyObject_ASSERT_FAILED_MSG(self,
  ------------------
  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  ------------------
  599|      0|                                    "PyObject_CallFinalizerFromDealloc called "
  600|      0|                                    "on object with a non-zero refcount");
  601|      0|    }
  602|       |
  603|       |    /* Temporarily resurrect the object. */
  604|  1.43k|    _PyObject_ResurrectStart(self);
  605|       |
  606|  1.43k|    PyObject_CallFinalizer(self);
  607|       |
  608|  1.43k|    _PyObject_ASSERT_WITH_MSG(self,
  ------------------
  |  |  423|  1.43k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  416|  1.43k|    ((expr) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (416:6): [True: 1.43k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  417|  1.43k|      ? (void)(0) \
  |  |  |  |  418|  1.43k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  ------------------
  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  ------------------
  ------------------
  609|  1.43k|                              Py_REFCNT(self) > 0,
  610|  1.43k|                              "refcount is too small");
  611|       |
  612|  1.43k|    _PyObject_ASSERT(self,
  ------------------
  |  |  425|  1.43k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|  1.43k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|  2.87k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:7): [True: 0, False: 1.43k]
  |  |  |  |  |  |  |  Branch (416:7): [True: 1.43k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|  1.43k|      ? (void)(0) \
  |  |  |  |  |  |  418|  1.43k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  613|  1.43k|                    (!_PyType_IS_GC(Py_TYPE(self))
  614|  1.43k|                    || _PyObject_GC_IS_TRACKED(self)));
  615|       |
  616|       |    /* Undo the temporary resurrection; can't use DECREF here, it would
  617|       |     * cause a recursive call. */
  618|  1.43k|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (618:9): [True: 0, False: 1.43k]
  ------------------
  619|       |        /* tp_finalize resurrected it!
  620|       |           gh-130202: Note that the object may still be dead in the free
  621|       |           threaded build in some circumstances, so it's not safe to access
  622|       |           `self` after this point. For example, the last reference to the
  623|       |           resurrected `self` may be held by another thread, which can
  624|       |           concurrently deallocate it. */
  625|      0|        return -1;
  626|      0|    }
  627|       |
  628|       |    /* this is the normal path out, the caller continues with deallocation. */
  629|  1.43k|    return 0;
  630|  1.43k|}
_PyObject_IsFreed:
  711|   380M|{
  712|   380M|    if (_PyMem_IsPtrFreed(op) || _PyMem_IsPtrFreed(Py_TYPE(op))) {
  ------------------
  |  |  213|   380M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   380M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   380M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (712:9): [True: 0, False: 380M]
  |  Branch (712:34): [True: 0, False: 380M]
  ------------------
  713|      0|        return 1;
  714|      0|    }
  715|   380M|    return 0;
  716|   380M|}
PyObject_Repr:
  760|   106k|{
  761|   106k|    PyObject *res;
  762|   106k|    if (PyErr_CheckSignals())
  ------------------
  |  Branch (762:9): [True: 0, False: 106k]
  ------------------
  763|      0|        return NULL;
  764|   106k|    if (v == NULL)
  ------------------
  |  Branch (764:9): [True: 0, False: 106k]
  ------------------
  765|      0|        return PyUnicode_FromString("<NULL>");
  766|   106k|    if (Py_TYPE(v)->tp_repr == NULL)
  ------------------
  |  |  213|   106k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   106k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   106k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (766:9): [True: 0, False: 106k]
  ------------------
  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|   106k|    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|   106k|    if (_Py_EnterRecursiveCallTstate(tstate,
  ------------------
  |  Branch (780:9): [True: 0, False: 106k]
  ------------------
  781|   106k|                                     " while getting the repr of an object")) {
  782|      0|        return NULL;
  783|      0|    }
  784|   106k|    res = (*Py_TYPE(v)->tp_repr)(v);
  ------------------
  |  |  213|   106k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   106k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   106k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  785|   106k|    _Py_LeaveRecursiveCallTstate(tstate);
  786|       |
  787|   106k|    if (res == NULL) {
  ------------------
  |  Branch (787:9): [True: 0, False: 106k]
  ------------------
  788|      0|        return NULL;
  789|      0|    }
  790|   106k|    if (!PyUnicode_Check(res)) {
  ------------------
  |  |  103|   106k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   106k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (790:9): [True: 0, False: 106k]
  ------------------
  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|   106k|    return res;
  797|   106k|}
PyObject_Str:
  801|   153k|{
  802|   153k|    PyObject *res;
  803|   153k|    if (PyErr_CheckSignals())
  ------------------
  |  Branch (803:9): [True: 0, False: 153k]
  ------------------
  804|      0|        return NULL;
  805|   153k|    if (v == NULL)
  ------------------
  |  Branch (805:9): [True: 0, False: 153k]
  ------------------
  806|      0|        return PyUnicode_FromString("<NULL>");
  807|   153k|    if (PyUnicode_CheckExact(v)) {
  ------------------
  |  |  104|   153k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   153k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   153k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   153k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 53.5k, False: 99.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  808|  53.5k|        return Py_NewRef(v);
  ------------------
  |  |  550|  53.5k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  53.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  809|  53.5k|    }
  810|  99.6k|    if (Py_TYPE(v)->tp_str == NULL)
  ------------------
  |  |  213|  99.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  99.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  99.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (810:9): [True: 0, False: 99.6k]
  ------------------
  811|      0|        return PyObject_Repr(v);
  812|       |
  813|  99.6k|    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|  99.6k|    if (_Py_EnterRecursiveCallTstate(tstate, " while getting the str of an object")) {
  ------------------
  |  Branch (823:9): [True: 0, False: 99.6k]
  ------------------
  824|      0|        return NULL;
  825|      0|    }
  826|  99.6k|    res = (*Py_TYPE(v)->tp_str)(v);
  ------------------
  |  |  213|  99.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  99.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  99.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  827|  99.6k|    _Py_LeaveRecursiveCallTstate(tstate);
  828|       |
  829|  99.6k|    if (res == NULL) {
  ------------------
  |  Branch (829:9): [True: 0, False: 99.6k]
  ------------------
  830|      0|        return NULL;
  831|      0|    }
  832|  99.6k|    if (!PyUnicode_Check(res)) {
  ------------------
  |  |  103|  99.6k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  99.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (832:9): [True: 0, False: 99.6k]
  ------------------
  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|  99.6k|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (838:5): [True: 99.6k, False: 0]
  ------------------
  839|  99.6k|    return res;
  840|  99.6k|}
_PyObject_ClearFreeLists:
  927|      7|{
  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|      7|    clear_freelist(&freelists->floats, is_finalization, free_object);
  931|      7|    clear_freelist(&freelists->complexes, is_finalization, free_object);
  932|    147|    for (Py_ssize_t i = 0; i < PyTuple_MAXSAVESIZE; i++) {
  ------------------
  |  |   11|    147|#  define PyTuple_MAXSAVESIZE 20     // Largest tuple to save on freelist
  ------------------
  |  Branch (932:28): [True: 140, False: 7]
  ------------------
  933|    140|        clear_freelist(&freelists->tuples[i], is_finalization, free_object);
  934|    140|    }
  935|      7|    clear_freelist(&freelists->lists, is_finalization, free_object);
  936|      7|    clear_freelist(&freelists->list_iters, is_finalization, free_object);
  937|      7|    clear_freelist(&freelists->tuple_iters, is_finalization, free_object);
  938|      7|    clear_freelist(&freelists->dicts, is_finalization, free_object);
  939|      7|    clear_freelist(&freelists->dictkeys, is_finalization, PyMem_Free);
  940|      7|    clear_freelist(&freelists->slices, is_finalization, free_object);
  941|      7|    clear_freelist(&freelists->ranges, is_finalization, free_object);
  942|      7|    clear_freelist(&freelists->range_iters, is_finalization, free_object);
  943|      7|    clear_freelist(&freelists->contexts, is_finalization, free_object);
  944|      7|    clear_freelist(&freelists->async_gens, is_finalization, free_object);
  945|      7|    clear_freelist(&freelists->async_gen_asends, is_finalization, free_object);
  946|      7|    clear_freelist(&freelists->futureiters, is_finalization, free_object);
  947|      7|    if (is_finalization) {
  ------------------
  |  Branch (947:9): [True: 0, False: 7]
  ------------------
  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|      7|    clear_freelist(&freelists->unicode_writers, is_finalization, PyMem_Free);
  953|      7|    clear_freelist(&freelists->bytes_writers, is_finalization, PyMem_Free);
  954|      7|    clear_freelist(&freelists->ints, is_finalization, free_object);
  955|      7|    clear_freelist(&freelists->pycfunctionobject, is_finalization, PyObject_GC_Del);
  956|      7|    clear_freelist(&freelists->pycmethodobject, is_finalization, PyObject_GC_Del);
  957|      7|    clear_freelist(&freelists->pymethodobjects, is_finalization, free_object);
  958|      7|}
PyObject_RichCompare:
 1100|  20.1M|{
 1101|  20.1M|    PyThreadState *tstate = _PyThreadState_GET();
 1102|       |
 1103|  20.1M|    assert(Py_LT <= op && op <= Py_GE);
  ------------------
  |  Branch (1103:5): [True: 20.1M, False: 0]
  |  Branch (1103:5): [True: 20.1M, False: 0]
  ------------------
 1104|  20.1M|    if (v == NULL || w == NULL) {
  ------------------
  |  Branch (1104:9): [True: 0, False: 20.1M]
  |  Branch (1104:22): [True: 0, False: 20.1M]
  ------------------
 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|  20.1M|    if (_Py_EnterRecursiveCallTstate(tstate, " in comparison")) {
  ------------------
  |  Branch (1110:9): [True: 0, False: 20.1M]
  ------------------
 1111|      0|        return NULL;
 1112|      0|    }
 1113|  20.1M|    PyObject *res = do_richcompare(tstate, v, w, op);
 1114|  20.1M|    _Py_LeaveRecursiveCallTstate(tstate);
 1115|  20.1M|    return res;
 1116|  20.1M|}
PyObject_RichCompareBool:
 1122|  31.5M|{
 1123|  31.5M|    PyObject *res;
 1124|  31.5M|    int ok;
 1125|       |
 1126|       |    /* Quick result when objects are the same.
 1127|       |       Guarantees that identity implies equality. */
 1128|  31.5M|    if (v == w) {
  ------------------
  |  Branch (1128:9): [True: 23.3M, False: 8.23M]
  ------------------
 1129|  23.3M|        if (op == Py_EQ)
  ------------------
  |  |  654|  23.3M|#define Py_EQ 2
  ------------------
  |  Branch (1129:13): [True: 23.3M, False: 10]
  ------------------
 1130|  23.3M|            return 1;
 1131|     10|        else if (op == Py_NE)
  ------------------
  |  |  655|     10|#define Py_NE 3
  ------------------
  |  Branch (1131:18): [True: 0, False: 10]
  ------------------
 1132|      0|            return 0;
 1133|  23.3M|    }
 1134|       |
 1135|  8.23M|    res = PyObject_RichCompare(v, w, op);
 1136|  8.23M|    if (res == NULL)
  ------------------
  |  Branch (1136:9): [True: 0, False: 8.23M]
  ------------------
 1137|      0|        return -1;
 1138|  8.23M|    if (PyBool_Check(res)) {
  ------------------
  |  |   12|  8.23M|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|  8.23M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 8.23M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1139|  8.23M|        ok = (res == Py_True);
  ------------------
  |  |   26|  8.23M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  8.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1140|  8.23M|        assert(_Py_IsImmortal(res));
  ------------------
  |  Branch (1140:9): [True: 8.23M, False: 0]
  ------------------
 1141|  8.23M|    }
 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|  8.23M|    return ok;
 1147|  8.23M|}
PyObject_Hash:
 1159|   344M|{
 1160|   344M|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|   344M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   344M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   344M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1161|   344M|    if (tp->tp_hash != NULL)
  ------------------
  |  Branch (1161:9): [True: 344M, False: 0]
  ------------------
 1162|   344M|        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|  2.55k|{
 1181|  2.55k|    PyObject *w, *res;
 1182|       |
 1183|  2.55k|    if (Py_TYPE(v)->tp_getattr != NULL)
  ------------------
  |  |  213|  2.55k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1183:9): [True: 0, False: 2.55k]
  ------------------
 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|  2.55k|    w = PyUnicode_FromString(name);
 1186|  2.55k|    if (w == NULL)
  ------------------
  |  Branch (1186:9): [True: 0, False: 2.55k]
  ------------------
 1187|      0|        return NULL;
 1188|  2.55k|    res = PyObject_GetAttr(v, w);
 1189|  2.55k|    Py_DECREF(w);
  ------------------
  |  |  430|  2.55k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1190|  2.55k|    return res;
 1191|  2.55k|}
PyObject_SetAttrString:
 1219|  1.38k|{
 1220|  1.38k|    PyThreadState *tstate = _PyThreadState_GET();
 1221|  1.38k|    if (w == NULL && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1221:9): [True: 0, False: 1.38k]
  |  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.38k|    if (Py_TYPE(v)->tp_setattr != NULL) {
  ------------------
  |  |  213|  1.38k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1230:9): [True: 0, False: 1.38k]
  ------------------
 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.38k|    PyObject *s = PyUnicode_InternFromString(name);
 1235|  1.38k|    if (s == NULL) {
  ------------------
  |  Branch (1235:9): [True: 0, False: 1.38k]
  ------------------
 1236|      0|        return -1;
 1237|      0|    }
 1238|       |
 1239|  1.38k|    int res = PyObject_SetAttr(v, s, w);
 1240|  1.38k|    Py_DECREF(s);
  ------------------
  |  |  430|  1.38k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1241|  1.38k|    return res;
 1242|  1.38k|}
_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);
  ------------------
  |  |  921|  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|    774|{
 1284|    774|    assert(PyErr_Occurred());
  ------------------
  |  Branch (1284:5): [True: 774, False: 0]
  ------------------
 1285|    774|    if (!PyErr_ExceptionMatches(PyExc_AttributeError)){
  ------------------
  |  Branch (1285:9): [True: 0, False: 774]
  ------------------
 1286|      0|        return 0;
 1287|      0|    }
 1288|       |    // Intercept AttributeError exceptions and augment them to offer suggestions later.
 1289|    774|    PyObject *exc = PyErr_GetRaisedException();
 1290|    774|    if (!PyErr_GivenExceptionMatches(exc, PyExc_AttributeError)) {
  ------------------
  |  Branch (1290:9): [True: 0, False: 774]
  ------------------
 1291|      0|        goto restore;
 1292|      0|    }
 1293|    774|    PyAttributeErrorObject* the_exc = (PyAttributeErrorObject*) exc;
 1294|       |    // Check if this exception was already augmented
 1295|    774|    if (the_exc->name || the_exc->obj) {
  ------------------
  |  Branch (1295:9): [True: 235, False: 539]
  |  Branch (1295:26): [True: 0, False: 539]
  ------------------
 1296|    235|        goto restore;
 1297|    235|    }
 1298|       |    // Augment the exception with the name and object
 1299|    539|    if (PyObject_SetAttr(exc, &_Py_ID(name), name) ||
  ------------------
  |  |  921|    539|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    539|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    539|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1299:9): [True: 0, False: 539]
  ------------------
 1300|    539|        PyObject_SetAttr(exc, &_Py_ID(obj), v)) {
  ------------------
  |  |  921|    539|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    539|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    539|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1300:9): [True: 0, False: 539]
  ------------------
 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|    774|restore:
 1305|    774|    PyErr_SetRaisedException(exc);
 1306|    774|    return 0;
 1307|    539|}
PyObject_GetAttr:
 1311|  81.0k|{
 1312|  81.0k|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  81.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  81.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  81.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1313|  81.0k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  81.0k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  81.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1313:9): [True: 0, False: 81.0k]
  ------------------
 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|  81.0k|    PyObject* result = NULL;
 1321|  81.0k|    if (tp->tp_getattro != NULL) {
  ------------------
  |  Branch (1321:9): [True: 81.0k, False: 0]
  ------------------
 1322|  81.0k|        result = (*tp->tp_getattro)(v, name);
 1323|  81.0k|    }
 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|  81.0k|    if (result == NULL) {
  ------------------
  |  Branch (1337:9): [True: 135, False: 80.8k]
  ------------------
 1338|    135|        _PyObject_SetAttributeErrorContext(v, name);
 1339|    135|    }
 1340|  81.0k|    return result;
 1341|  81.0k|}
_PyObject_GetAttrStackRef:
 1348|  1.97M|{
 1349|  1.97M|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  1.97M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.97M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.97M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1350|  1.97M|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  1.97M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.97M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1350:9): [True: 0, False: 1.97M]
  ------------------
 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|  1.97M|    if (tp->tp_getattro == _Py_type_getattro) {
  ------------------
  |  Branch (1358:9): [True: 99.5k, False: 1.87M]
  ------------------
 1359|  99.5k|        _PyStackRef result = _Py_type_getattro_stackref((PyTypeObject *)v, name, NULL);
 1360|  99.5k|        if (PyStackRef_IsNull(result)) {
  ------------------
  |  |  482|  99.5k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  99.5k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  99.5k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 2, False: 99.5k]
  |  |  ------------------
  ------------------
 1361|      2|            _PyObject_SetAttributeErrorContext(v, name);
 1362|      2|        }
 1363|  99.5k|        return result;
 1364|  99.5k|    }
 1365|       |
 1366|       |    /* Fall back to regular PyObject_GetAttr and convert to stackref */
 1367|  1.87M|    PyObject *result = NULL;
 1368|  1.87M|    if (tp->tp_getattro != NULL) {
  ------------------
  |  Branch (1368:9): [True: 1.87M, False: 0]
  ------------------
 1369|  1.87M|        result = (*tp->tp_getattro)(v, name);
 1370|  1.87M|    }
 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|  1.87M|    if (result == NULL) {
  ------------------
  |  Branch (1384:9): [True: 251, False: 1.87M]
  ------------------
 1385|    251|        _PyObject_SetAttributeErrorContext(v, name);
 1386|    251|        return PyStackRef_NULL;
 1387|    251|    }
 1388|  1.87M|    return PyStackRef_FromPyObjectSteal(result);
 1389|  1.87M|}
PyObject_GetOptionalAttr:
 1393|  1.15M|{
 1394|  1.15M|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  1.15M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.15M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.15M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1395|       |
 1396|  1.15M|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  1.15M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.15M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1396:9): [True: 0, False: 1.15M]
  ------------------
 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|  1.15M|    if (tp->tp_getattro == PyObject_GenericGetAttr) {
  ------------------
  |  Branch (1404:9): [True: 510k, False: 641k]
  ------------------
 1405|   510k|        *result = _PyObject_GenericGetAttrWithDict(v, name, NULL, 1);
 1406|   510k|        if (*result != NULL) {
  ------------------
  |  Branch (1406:13): [True: 407k, False: 103k]
  ------------------
 1407|   407k|            return 1;
 1408|   407k|        }
 1409|   103k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1409:13): [True: 0, False: 103k]
  ------------------
 1410|      0|            return -1;
 1411|      0|        }
 1412|   103k|        return 0;
 1413|   103k|    }
 1414|   641k|    if (tp->tp_getattro == _Py_type_getattro) {
  ------------------
  |  Branch (1414:9): [True: 1.14k, False: 639k]
  ------------------
 1415|  1.14k|        int suppress_missing_attribute_exception = 0;
 1416|  1.14k|        *result = _Py_type_getattro_impl((PyTypeObject*)v, name, &suppress_missing_attribute_exception);
 1417|  1.14k|        if (suppress_missing_attribute_exception) {
  ------------------
  |  Branch (1417:13): [True: 29, False: 1.11k]
  ------------------
 1418|       |            // return 0 without having to clear the exception
 1419|     29|            return 0;
 1420|     29|        }
 1421|  1.14k|    }
 1422|   639k|    else if (tp->tp_getattro == (getattrofunc)_Py_module_getattro) {
  ------------------
  |  Branch (1422:14): [True: 639k, False: 0]
  ------------------
 1423|       |        // optimization: suppress attribute error from module getattro method
 1424|   639k|        *result = _Py_module_getattro_impl((PyModuleObject*)v, name, 1);
 1425|   639k|        if (*result != NULL) {
  ------------------
  |  Branch (1425:13): [True: 639k, False: 529]
  ------------------
 1426|   639k|            return 1;
 1427|   639k|        }
 1428|    529|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1428:13): [True: 0, False: 529]
  ------------------
 1429|      0|            return -1;
 1430|      0|        }
 1431|    529|        return 0;
 1432|    529|    }
 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|  1.11k|    if (*result != NULL) {
  ------------------
  |  Branch (1449:9): [True: 1.08k, False: 25]
  ------------------
 1450|  1.08k|        return 1;
 1451|  1.08k|    }
 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_GetOptionalAttrString:
 1461|      1|{
 1462|      1|    if (Py_TYPE(obj)->tp_getattr == NULL) {
  ------------------
  |  |  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 (1462:9): [True: 1, False: 0]
  ------------------
 1463|      1|        PyObject *oname = PyUnicode_FromString(name);
 1464|      1|        if (oname == NULL) {
  ------------------
  |  Branch (1464:13): [True: 0, False: 1]
  ------------------
 1465|      0|            *result = NULL;
 1466|      0|            return -1;
 1467|      0|        }
 1468|      1|        int rc = PyObject_GetOptionalAttr(obj, oname, result);
 1469|      1|        Py_DECREF(oname);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1470|      1|        return rc;
 1471|      1|    }
 1472|       |
 1473|      0|    *result = (*Py_TYPE(obj)->tp_getattr)(obj, (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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1474|      0|    if (*result != NULL) {
  ------------------
  |  Branch (1474:9): [True: 0, False: 0]
  ------------------
 1475|      0|        return 1;
 1476|      0|    }
 1477|      0|    if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1477:9): [True: 0, False: 0]
  ------------------
 1478|      0|        return -1;
 1479|      0|    }
 1480|      0|    PyErr_Clear();
 1481|      0|    return 0;
 1482|      0|}
PyObject_HasAttrWithError:
 1486|    536|{
 1487|    536|    PyObject *res;
 1488|    536|    int rc = PyObject_GetOptionalAttr(obj, name, &res);
 1489|    536|    Py_XDECREF(res);
  ------------------
  |  |  524|    536|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    536|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    536|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1490|    536|    return rc;
 1491|    536|}
PyObject_SetAttr:
 1509|  2.56M|{
 1510|  2.56M|    PyThreadState *tstate = _PyThreadState_GET();
 1511|  2.56M|    if (value == NULL && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1511:9): [True: 36, False: 2.56M]
  |  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|  2.56M|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  2.56M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.56M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.56M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1521|  2.56M|    int err;
 1522|       |
 1523|  2.56M|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  2.56M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.56M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1523:9): [True: 0, False: 2.56M]
  ------------------
 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|  2.56M|    Py_INCREF(name);
  ------------------
  |  |  310|  2.56M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.56M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.56M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1530|       |
 1531|  2.56M|    _PyUnicode_InternMortal(tstate->interp, &name);
 1532|  2.56M|    if (tp->tp_setattro != NULL) {
  ------------------
  |  Branch (1532:9): [True: 2.56M, False: 0]
  ------------------
 1533|  2.56M|        err = (*tp->tp_setattro)(v, name, value);
 1534|  2.56M|        Py_DECREF(name);
  ------------------
  |  |  430|  2.56M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.56M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.56M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1535|  2.56M|        return err;
 1536|  2.56M|    }
 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);
  ------------------
  |  |  425|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|      ? (void)(0) \
  |  |  |  |  |  |  418|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      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|  5.34M|{
 1575|  5.34M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  5.34M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1576|  5.34M|    assert((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
  ------------------
  |  Branch (1576:5): [True: 5.34M, False: 0]
  ------------------
 1577|       |
 1578|  5.34M|    Py_ssize_t dictoffset = tp->tp_dictoffset;
 1579|  5.34M|    if (dictoffset == 0) {
  ------------------
  |  Branch (1579:9): [True: 1.88M, False: 3.45M]
  ------------------
 1580|  1.88M|        return NULL;
 1581|  1.88M|    }
 1582|       |
 1583|  3.45M|    if (dictoffset < 0) {
  ------------------
  |  Branch (1583:9): [True: 0, False: 3.45M]
  ------------------
 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);
  ------------------
  |  |  425|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|      ? (void)(0) \
  |  |  |  |  |  |  418|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1595|      0|        _PyObject_ASSERT(obj, dictoffset % SIZEOF_VOID_P == 0);
  ------------------
  |  |  425|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|      ? (void)(0) \
  |  |  |  |  |  |  418|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1596|      0|    }
 1597|  3.45M|    return (PyObject **) ((char *)obj + dictoffset);
 1598|  3.45M|}
PyObject_SelfIter:
 1626|  1.21k|{
 1627|  1.21k|    return Py_NewRef(obj);
  ------------------
  |  |  550|  1.21k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1628|  1.21k|}
_PyObject_GetMethodStackRef:
 1758|   197k|{
 1759|   197k|    int meth_found = 0;
 1760|   197k|    PyObject *obj = PyStackRef_AsPyObjectBorrow(*self);
 1761|       |
 1762|   197k|    assert(PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1762:5): [True: 197k, False: 0]
  ------------------
 1763|       |
 1764|   197k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|   197k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   197k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   197k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1765|   197k|    if (!_PyType_IsReady(tp)) {
  ------------------
  |  Branch (1765:9): [True: 0, False: 197k]
  ------------------
 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|   197k|    if (tp->tp_getattro != PyObject_GenericGetAttr || !PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|   195k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   195k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   195k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   195k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1772:9): [True: 2.07k, False: 195k]
  |  Branch (1772:55): [True: 0, False: 195k]
  ------------------
 1773|  2.07k|        PyObject *res = PyObject_GetAttr(obj, name);
 1774|  2.07k|        PyStackRef_CLEAR(*self);
  ------------------
  |  |  732|  2.07k|    do { \
  |  |  733|  2.07k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  2.07k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  2.07k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  2.07k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  2.07k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 2.07k]
  |  |  ------------------
  ------------------
 1775|  2.07k|        if (res != NULL) {
  ------------------
  |  Branch (1775:13): [True: 1.94k, False: 133]
  ------------------
 1776|  1.94k|            *method = PyStackRef_FromPyObjectSteal(res);
 1777|  1.94k|            return 0;
 1778|  1.94k|        }
 1779|    133|        return -1;
 1780|  2.07k|    }
 1781|       |
 1782|   195k|    _PyType_LookupStackRefAndVersion(tp, name, method);
 1783|   195k|    PyObject *descr = PyStackRef_AsPyObjectBorrow(*method);
 1784|   195k|    descrgetfunc f = NULL;
 1785|   195k|    if (descr != NULL) {
  ------------------
  |  Branch (1785:9): [True: 195k, False: 8]
  ------------------
 1786|   195k|        if (_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|   195k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   195k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   195k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|   195k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (1786:13): [True: 195k, False: 2]
  ------------------
 1787|   195k|            meth_found = 1;
 1788|   195k|        }
 1789|      2|        else {
 1790|      2|            f = Py_TYPE(descr)->tp_descr_get;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1791|      2|            if (f != NULL && PyDescr_IsData(descr)) {
  ------------------
  |  Branch (1791:17): [True: 2, False: 0]
  |  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|      2|        }
 1802|   195k|    }
 1803|   195k|    PyObject *dict, *attr;
 1804|   195k|    if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES) &&
  ------------------
  |  |  472|   195k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (1804:9): [True: 103, False: 195k]
  ------------------
 1805|    103|         _PyObject_TryGetInstanceAttribute(obj, name, &attr)) {
  ------------------
  |  Branch (1805:10): [True: 103, False: 0]
  ------------------
 1806|    103|        if (attr != NULL) {
  ------------------
  |  Branch (1806:13): [True: 8, False: 95]
  ------------------
 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|     95|        dict = NULL;
 1812|     95|    }
 1813|   195k|    else if ((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|   195k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (1813:14): [True: 25, False: 195k]
  ------------------
 1814|     25|        dict = (PyObject *)_PyObject_GetManagedDict(obj);
 1815|     25|    }
 1816|   195k|    else {
 1817|   195k|        PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 1818|   195k|        if (dictptr != NULL) {
  ------------------
  |  Branch (1818:13): [True: 194k, False: 1.13k]
  ------------------
 1819|   194k|            dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*dictptr);
  ------------------
  |  |  150|   194k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1820|   194k|        }
 1821|  1.13k|        else {
 1822|  1.13k|            dict = NULL;
 1823|  1.13k|        }
 1824|   195k|    }
 1825|   195k|    if (dict != NULL) {
  ------------------
  |  Branch (1825:9): [True: 97.5k, False: 98.3k]
  ------------------
 1826|  97.5k|        assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (1826:9): [True: 97.5k, False: 0]
  ------------------
 1827|  97.5k|        int found = _PyDict_GetMethodStackRef((PyDictObject *)dict, name, method);
 1828|  97.5k|        if (found < 0) {
  ------------------
  |  Branch (1828:13): [True: 0, False: 97.5k]
  ------------------
 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|  97.5k|        else if (found) {
  ------------------
  |  Branch (1833:18): [True: 0, False: 97.5k]
  ------------------
 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|  97.5k|    }
 1838|       |
 1839|   195k|    if (meth_found) {
  ------------------
  |  Branch (1839:9): [True: 195k, False: 0]
  ------------------
 1840|   195k|        assert(!PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1840:9): [True: 195k, False: 0]
  ------------------
 1841|   195k|        return 1;
 1842|   195k|    }
 1843|       |
 1844|      0|    if (f != NULL) {
  ------------------
  |  Branch (1844:9): [True: 0, False: 0]
  ------------------
 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|      0|    if (descr != NULL) {
  ------------------
  |  Branch (1867:9): [True: 0, False: 0]
  ------------------
 1868|      0|        assert(!PyStackRef_IsNull(*method));
  ------------------
  |  Branch (1868:9): [True: 0, False: 0]
  ------------------
 1869|      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]
  |  |  ------------------
  ------------------
 1870|      0|        return 0;
 1871|      0|    }
 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|  3.10M|{
 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|  3.10M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  3.10M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1897|  3.10M|    PyObject *descr = NULL;
 1898|  3.10M|    PyObject *res = NULL;
 1899|  3.10M|    descrgetfunc f;
 1900|       |
 1901|  3.10M|    if (!PyUnicode_Check(name)){
  ------------------
  |  |  103|  3.10M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.10M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1901:9): [True: 0, False: 3.10M]
  ------------------
 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|  3.10M|    if (!_PyType_IsReady(tp)) {
  ------------------
  |  Branch (1908:9): [True: 0, False: 3.10M]
  ------------------
 1909|      0|        if (PyType_Ready(tp) < 0)
  ------------------
  |  Branch (1909:13): [True: 0, False: 0]
  ------------------
 1910|      0|            return NULL;
 1911|      0|    }
 1912|       |
 1913|  3.10M|    Py_INCREF(name);
  ------------------
  |  |  310|  3.10M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1914|       |
 1915|  3.10M|    PyThreadState *tstate = _PyThreadState_GET();
 1916|  3.10M|    _PyCStackRef cref;
 1917|  3.10M|    _PyThreadState_PushCStackRef(tstate, &cref);
 1918|       |
 1919|  3.10M|    _PyType_LookupStackRefAndVersion(tp, name, &cref.ref);
 1920|  3.10M|    descr = PyStackRef_AsPyObjectBorrow(cref.ref);
 1921|       |
 1922|  3.10M|    f = NULL;
 1923|  3.10M|    if (descr != NULL) {
  ------------------
  |  Branch (1923:9): [True: 1.95M, False: 1.14M]
  ------------------
 1924|  1.95M|        f = Py_TYPE(descr)->tp_descr_get;
  ------------------
  |  |  213|  1.95M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.95M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.95M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1925|  1.95M|        if (f != NULL && PyDescr_IsData(descr)) {
  ------------------
  |  Branch (1925:13): [True: 1.91M, False: 41.1k]
  |  Branch (1925:26): [True: 25.7k, False: 1.88M]
  ------------------
 1926|  25.7k|            res = f(descr, obj, (PyObject *)Py_TYPE(obj));
  ------------------
  |  |  213|  25.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  25.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1927|  25.7k|            if (res == NULL && suppress &&
  ------------------
  |  Branch (1927:17): [True: 0, False: 25.7k]
  |  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|  25.7k|            goto done;
 1932|  25.7k|        }
 1933|  1.95M|    }
 1934|  3.07M|    if (dict == NULL) {
  ------------------
  |  Branch (1934:9): [True: 3.07M, False: 0]
  ------------------
 1935|  3.07M|        if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES)) {
  ------------------
  |  |  472|  3.07M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (1935:13): [True: 445k, False: 2.63M]
  ------------------
 1936|   445k|            if (PyUnicode_CheckExact(name) &&
  ------------------
  |  |  104|   445k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   891k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   445k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   445k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 445k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1937|   445k|                _PyObject_TryGetInstanceAttribute(obj, name, &res)) {
  ------------------
  |  Branch (1937:17): [True: 445k, False: 0]
  ------------------
 1938|   445k|                if (res != NULL) {
  ------------------
  |  Branch (1938:21): [True: 344k, False: 100k]
  ------------------
 1939|   344k|                    goto done;
 1940|   344k|                }
 1941|   445k|            }
 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|   445k|        }
 1950|  2.63M|        else if ((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  2.63M|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (1950:18): [True: 41.3k, False: 2.59M]
  ------------------
 1951|  41.3k|            dict = (PyObject *)_PyObject_GetManagedDict(obj);
 1952|  41.3k|        }
 1953|  2.59M|        else {
 1954|  2.59M|            PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 1955|  2.59M|            if (dictptr) {
  ------------------
  |  Branch (1955:17): [True: 703k, False: 1.88M]
  ------------------
 1956|       |#ifdef Py_GIL_DISABLED
 1957|       |                dict = _Py_atomic_load_ptr_acquire(dictptr);
 1958|       |#else
 1959|   703k|                dict = *dictptr;
 1960|   703k|#endif
 1961|   703k|            }
 1962|  2.59M|        }
 1963|  3.07M|    }
 1964|  2.73M|    if (dict != NULL) {
  ------------------
  |  Branch (1964:9): [True: 742k, False: 1.99M]
  ------------------
 1965|   742k|        Py_INCREF(dict);
  ------------------
  |  |  310|   742k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   742k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   742k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1966|   742k|        int rc = PyDict_GetItemRef(dict, name, &res);
 1967|   742k|        Py_DECREF(dict);
  ------------------
  |  |  430|   742k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   742k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   742k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1968|   742k|        if (res != NULL) {
  ------------------
  |  Branch (1968:13): [True: 700k, False: 42.1k]
  ------------------
 1969|   700k|            goto done;
 1970|   700k|        }
 1971|  42.1k|        else if (rc < 0) {
  ------------------
  |  Branch (1971:18): [True: 0, False: 42.1k]
  ------------------
 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|   742k|    }
 1980|       |
 1981|  2.03M|    if (f != NULL) {
  ------------------
  |  Branch (1981:9): [True: 1.88M, False: 145k]
  ------------------
 1982|  1.88M|        res = f(descr, obj, (PyObject *)Py_TYPE(obj));
  ------------------
  |  |  213|  1.88M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.88M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.88M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1983|  1.88M|        if (res == NULL && suppress &&
  ------------------
  |  Branch (1983:13): [True: 0, False: 1.88M]
  |  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|  1.88M|        goto done;
 1988|  1.88M|    }
 1989|       |
 1990|   145k|    if (descr != NULL) {
  ------------------
  |  Branch (1990:9): [True: 41.1k, False: 104k]
  ------------------
 1991|  41.1k|        res = PyStackRef_AsPyObjectSteal(cref.ref);
 1992|  41.1k|        cref.ref = PyStackRef_NULL;
 1993|  41.1k|        goto done;
 1994|  41.1k|    }
 1995|       |
 1996|   104k|    if (!suppress) {
  ------------------
  |  Branch (1996:9): [True: 386, False: 104k]
  ------------------
 1997|    386|        PyErr_Format(PyExc_AttributeError,
 1998|    386|                     "'%.100s' object has no attribute '%U'",
 1999|    386|                     tp->tp_name, name);
 2000|       |
 2001|    386|        _PyObject_SetAttributeErrorContext(obj, name);
 2002|    386|    }
 2003|  3.10M|  done:
 2004|  3.10M|    _PyThreadState_PopCStackRef(tstate, &cref);
 2005|  3.10M|    Py_DECREF(name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2006|  3.10M|    return res;
 2007|   104k|}
PyObject_GenericGetAttr:
 2011|  1.89M|{
 2012|       |    return _PyObject_GenericGetAttrWithDict(obj, name, NULL, 0);
 2013|  1.89M|}
_PyObject_GenericSetAttrWithDict:
 2018|  2.55M|{
 2019|  2.55M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2020|  2.55M|    PyObject *descr;
 2021|  2.55M|    descrsetfunc f;
 2022|  2.55M|    int res = -1;
 2023|       |
 2024|  2.55M|    assert(!PyType_IsSubtype(tp, &PyType_Type));
  ------------------
  |  Branch (2024:5): [True: 2.55M, False: 0]
  ------------------
 2025|  2.55M|    if (!PyUnicode_Check(name)){
  ------------------
  |  |  103|  2.55M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.55M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2025:9): [True: 0, False: 2.55M]
  ------------------
 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|  2.55M|    if (!_PyType_IsReady(tp) && PyType_Ready(tp) < 0) {
  ------------------
  |  Branch (2032:9): [True: 0, False: 2.55M]
  |  Branch (2032:33): [True: 0, False: 0]
  ------------------
 2033|      0|        return -1;
 2034|      0|    }
 2035|       |
 2036|  2.55M|    Py_INCREF(name);
  ------------------
  |  |  310|  2.55M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2037|  2.55M|    _Py_INCREF_TYPE(tp);
  ------------------
  |  |  307|  2.55M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  2.55M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2038|       |
 2039|  2.55M|    PyThreadState *tstate = _PyThreadState_GET();
 2040|  2.55M|    _PyCStackRef cref;
 2041|  2.55M|    _PyThreadState_PushCStackRef(tstate, &cref);
 2042|       |
 2043|  2.55M|    _PyType_LookupStackRefAndVersion(tp, name, &cref.ref);
 2044|  2.55M|    descr = PyStackRef_AsPyObjectBorrow(cref.ref);
 2045|       |
 2046|  2.55M|    if (descr != NULL) {
  ------------------
  |  Branch (2046:9): [True: 940k, False: 1.61M]
  ------------------
 2047|   940k|        f = Py_TYPE(descr)->tp_descr_set;
  ------------------
  |  |  213|   940k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   940k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   940k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2048|   940k|        if (f != NULL) {
  ------------------
  |  Branch (2048:13): [True: 2.82k, False: 937k]
  ------------------
 2049|  2.82k|            res = f(descr, obj, value);
 2050|  2.82k|            goto done;
 2051|  2.82k|        }
 2052|   940k|    }
 2053|       |
 2054|  2.55M|    if (dict == NULL) {
  ------------------
  |  Branch (2054:9): [True: 2.55M, False: 0]
  ------------------
 2055|  2.55M|        PyObject **dictptr;
 2056|       |
 2057|  2.55M|        if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES)) {
  ------------------
  |  |  472|  2.55M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2057:13): [True: 897, False: 2.55M]
  ------------------
 2058|    897|            res = _PyObject_StoreInstanceAttribute(obj, name, value);
 2059|    897|            goto error_check;
 2060|    897|        }
 2061|       |
 2062|  2.55M|        if ((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  2.55M|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2062:13): [True: 1.30k, False: 2.55M]
  ------------------
 2063|  1.30k|            PyManagedDictPointer *managed_dict = _PyObject_ManagedDictPointer(obj);
 2064|  1.30k|            dictptr = (PyObject **)&managed_dict->dict;
 2065|  1.30k|        }
 2066|  2.55M|        else {
 2067|  2.55M|            dictptr = _PyObject_ComputedDictPointer(obj);
 2068|  2.55M|        }
 2069|  2.55M|        if (dictptr == NULL) {
  ------------------
  |  Branch (2069:13): [True: 0, False: 2.55M]
  ------------------
 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|  2.55M|        else {
 2092|  2.55M|            res = _PyObjectDict_SetItem(tp, obj, dictptr, name, value);
 2093|  2.55M|        }
 2094|  2.55M|    }
 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|  2.55M|  error_check:
 2104|  2.55M|    if (res < 0 && PyErr_ExceptionMatches(PyExc_KeyError)) {
  ------------------
  |  Branch (2104:9): [True: 0, False: 2.55M]
  |  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|  2.55M|  done:
 2111|  2.55M|    _PyThreadState_PopCStackRef(tstate, &cref);
 2112|  2.55M|    _Py_DECREF_TYPE(tp);
  ------------------
  |  |  308|  2.55M|#  define _Py_DECREF_TYPE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  2.55M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2113|  2.55M|    Py_DECREF(name);
  ------------------
  |  |  430|  2.55M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2114|  2.55M|    return res;
 2115|  2.55M|}
PyObject_GenericSetAttr:
 2119|  2.55M|{
 2120|       |    return _PyObject_GenericSetAttrWithDict(obj, name, value, NULL);
 2121|  2.55M|}
PyObject_IsTrue:
 2139|  12.7M|{
 2140|  12.7M|    Py_ssize_t res;
 2141|  12.7M|    if (v == Py_True)
  ------------------
  |  |   26|  12.7M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  12.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2141:9): [True: 7.04M, False: 5.68M]
  ------------------
 2142|  7.04M|        return 1;
 2143|  5.68M|    if (v == Py_False)
  ------------------
  |  |   25|  5.68M|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  5.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2143:9): [True: 5.55M, False: 130k]
  ------------------
 2144|  5.55M|        return 0;
 2145|   130k|    if (v == Py_None)
  ------------------
  |  |  616|   130k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2145:9): [True: 240, False: 129k]
  ------------------
 2146|    240|        return 0;
 2147|   129k|    else if (Py_TYPE(v)->tp_as_number != NULL &&
  ------------------
  |  |  213|   129k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   129k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   129k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2147:14): [True: 76.3k, False: 53.6k]
  ------------------
 2148|  76.3k|             Py_TYPE(v)->tp_as_number->nb_bool != NULL)
  ------------------
  |  |  213|  76.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  76.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  76.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2148:14): [True: 4.79k, False: 71.5k]
  ------------------
 2149|  4.79k|        res = (*Py_TYPE(v)->tp_as_number->nb_bool)(v);
  ------------------
  |  |  213|  4.79k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2150|   125k|    else if (Py_TYPE(v)->tp_as_mapping != NULL &&
  ------------------
  |  |  213|   125k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   125k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   125k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2150:14): [True: 71.7k, False: 53.4k]
  ------------------
 2151|  71.7k|             Py_TYPE(v)->tp_as_mapping->mp_length != NULL)
  ------------------
  |  |  213|  71.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  71.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  71.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2151:14): [True: 71.6k, False: 110]
  ------------------
 2152|  71.6k|        res = (*Py_TYPE(v)->tp_as_mapping->mp_length)(v);
  ------------------
  |  |  213|  71.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  71.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  71.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2153|  53.5k|    else if (Py_TYPE(v)->tp_as_sequence != NULL &&
  ------------------
  |  |  213|  53.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  53.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2153:14): [True: 5.08k, False: 48.5k]
  ------------------
 2154|  5.08k|             Py_TYPE(v)->tp_as_sequence->sq_length != NULL)
  ------------------
  |  |  213|  5.08k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2154:14): [True: 4.97k, False: 110]
  ------------------
 2155|  4.97k|        res = (*Py_TYPE(v)->tp_as_sequence->sq_length)(v);
  ------------------
  |  |  213|  4.97k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.97k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2156|  48.6k|    else
 2157|  48.6k|        return 1;
 2158|       |    /* if it is negative, it should be either -1 or -2 */
 2159|  81.3k|    return (res > 0) ? 1 : Py_SAFE_DOWNCAST(res, Py_ssize_t, int);
  ------------------
  |  |  247|  69.2k|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|  69.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2159:12): [True: 12.1k, False: 69.2k]
  ------------------
 2160|   130k|}
PyCallable_Check:
 2179|  1.00M|{
 2180|  1.00M|    if (x == NULL)
  ------------------
  |  Branch (2180:9): [True: 0, False: 1.00M]
  ------------------
 2181|      0|        return 0;
 2182|  1.00M|    return Py_TYPE(x)->tp_call != NULL;
  ------------------
  |  |  213|  1.00M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.00M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2183|  1.00M|}
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__));
  ------------------
  |  |  921|      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|   101M|{
 2761|       |#ifdef Py_REF_DEBUG
 2762|       |    _Py_IncRefTotal(_PyThreadState_GET());
 2763|       |#endif
 2764|   101M|    new_reference(op);
 2765|   101M|}
_Py_NewReferenceNoTotal:
 2769|   617k|{
 2770|   617k|    new_reference(op);
 2771|   617k|}
_Py_SetImmortalUntracked:
 2775|  31.6k|{
 2776|       |    // Check if already immortal to avoid degrading from static immortal to plain immortal
 2777|  31.6k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  31.6k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 30, False: 31.6k]
  |  |  ------------------
  ------------------
 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|  31.6k|    op->ob_flags = _Py_IMMORTAL_FLAGS;
  ------------------
  |  |  581|  31.6k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  ------------------
 2787|  31.6k|    op->ob_refcnt = _Py_IMMORTAL_INITIAL_REFCNT;
  ------------------
  |  |   47|  31.6k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
 2788|       |#else
 2789|       |    op->ob_refcnt = _Py_IMMORTAL_INITIAL_REFCNT;
 2790|       |#endif
 2791|  31.6k|}
_Py_SetImmortal:
 2795|  31.6k|{
 2796|  31.6k|    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: 30.8k]
  ------------------
 2797|    830|        _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  507|    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|  31.6k|    _Py_SetImmortalUntracked(op);
 2800|  31.6k|}
_PyObject_SetDeferredRefcount:
 2804|  10.0k|{
 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|  10.0k|}
PyUnstable_Object_EnableDeferredRefcount:
 2816|    901|{
 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|    901|    return 0;
 2847|    901|#endif
 2848|    901|}
_Py_Dealloc:
 3291|  90.7M|{
 3292|  90.7M|    PyTypeObject *type = Py_TYPE(op);
  ------------------
  |  |  213|  90.7M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  90.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  90.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3293|  90.7M|    unsigned long gc_flag = type->tp_flags & Py_TPFLAGS_HAVE_GC;
  ------------------
  |  |  524|  90.7M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 3294|  90.7M|    destructor dealloc = type->tp_dealloc;
 3295|  90.7M|    PyThreadState *tstate = NULL;
 3296|  90.7M|    intptr_t margin = 0;
 3297|  90.7M|    if (gc_flag) {
  ------------------
  |  Branch (3297:9): [True: 60.3M, False: 30.4M]
  ------------------
 3298|  60.3M|        tstate = _PyThreadState_GET();
 3299|  60.3M|        margin = _Py_RecursionLimit_GetMargin(tstate);
 3300|  60.3M|        if (margin < 2) {
  ------------------
  |  Branch (3300:13): [True: 0, False: 60.3M]
  ------------------
 3301|      0|            _PyTrash_thread_deposit_object(tstate, (PyObject *)op);
 3302|      0|            return;
 3303|      0|        }
 3304|  60.3M|    }
 3305|       |#ifdef Py_DEBUG
 3306|       |    if (tstate == NULL) {
 3307|       |        tstate = _PyThreadState_GET();
 3308|       |    }
 3309|       |#if !defined(Py_GIL_DISABLED) && !defined(Py_STACKREF_DEBUG)
 3310|       |    /* This assertion doesn't hold for the free-threading build, as
 3311|       |     * PyStackRef_CLOSE_SPECIALIZED is not implemented */
 3312|       |    assert(tstate->current_frame == NULL || tstate->current_frame->stackpointer != NULL);
 3313|       |#endif
 3314|       |    PyObject *old_exc = tstate != NULL ? tstate->current_exception : NULL;
 3315|       |    // Keep the old exception type alive to prevent undefined behavior
 3316|       |    // on (tstate->curexc_type != old_exc_type) below
 3317|       |    Py_XINCREF(old_exc);
 3318|       |    // Make sure that type->tp_name remains valid
 3319|       |    Py_INCREF(type);
 3320|       |#endif
 3321|       |
 3322|       |#ifdef Py_TRACE_REFS
 3323|       |    _Py_ForgetReference(op);
 3324|       |#endif
 3325|  90.7M|    _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  112|  90.7M|    do { \
  |  |  113|  90.7M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|  90.7M|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 90.7M]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|  90.7M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 90.7M]
  |  |  ------------------
  ------------------
 3326|  90.7M|    (*dealloc)(op);
 3327|       |
 3328|       |#ifdef Py_DEBUG
 3329|       |    // gh-89373: The tp_dealloc function must leave the current exception
 3330|       |    // unchanged.
 3331|       |    if (tstate != NULL && tstate->current_exception != old_exc) {
 3332|       |        const char *err;
 3333|       |        if (old_exc == NULL) {
 3334|       |            err = "Deallocator of type '%s' raised an exception";
 3335|       |        }
 3336|       |        else if (tstate->current_exception == NULL) {
 3337|       |            err = "Deallocator of type '%s' cleared the current exception";
 3338|       |        }
 3339|       |        else {
 3340|       |            // It can happen if dealloc() normalized the current exception.
 3341|       |            // A deallocator function must not change the current exception,
 3342|       |            // not even normalize it.
 3343|       |            err = "Deallocator of type '%s' overrode the current exception";
 3344|       |        }
 3345|       |        _Py_FatalErrorFormat(__func__, err, type->tp_name);
 3346|       |    }
 3347|       |    Py_XDECREF(old_exc);
 3348|       |    Py_DECREF(type);
 3349|       |#endif
 3350|  90.7M|    if (gc_flag && tstate->delete_later && margin >= 4) {
  ------------------
  |  Branch (3350:9): [True: 60.3M, False: 30.4M]
  |  Branch (3350:20): [True: 0, False: 60.3M]
  |  Branch (3350:44): [True: 0, False: 0]
  ------------------
 3351|      0|        _PyTrash_thread_destroy_chain(tstate);
 3352|      0|    }
 3353|  90.7M|}
_Py_GetConstant_Init:
 3456|      2|{
 3457|      2|    constants[Py_CONSTANT_ZERO] = _PyLong_GetZero();
  ------------------
  |  |  595|      2|#define Py_CONSTANT_ZERO 5
  ------------------
 3458|      2|    constants[Py_CONSTANT_ONE] = _PyLong_GetOne();
  ------------------
  |  |  596|      2|#define Py_CONSTANT_ONE 6
  ------------------
 3459|      2|    constants[Py_CONSTANT_EMPTY_STR] = PyUnicode_New(0, 0);
  ------------------
  |  |  597|      2|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
 3460|      2|    constants[Py_CONSTANT_EMPTY_BYTES] = PyBytes_FromStringAndSize(NULL, 0);
  ------------------
  |  |  598|      2|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 3461|      2|    constants[Py_CONSTANT_EMPTY_TUPLE] = PyTuple_New(0);
  ------------------
  |  |  599|      2|#define Py_CONSTANT_EMPTY_TUPLE 9
  ------------------
 3462|      2|#ifndef NDEBUG
 3463|     22|    for (size_t i=0; i < Py_ARRAY_LENGTH(constants); i++) {
  ------------------
  |  |  196|     22|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (3463:22): [True: 20, False: 2]
  ------------------
 3464|     20|        assert(constants[i] != NULL);
  ------------------
  |  Branch (3464:9): [True: 20, False: 0]
  ------------------
 3465|     20|        assert(_Py_IsImmortal(constants[i]));
  ------------------
  |  Branch (3465:9): [True: 20, False: 0]
  ------------------
 3466|     20|    }
 3467|      2|#endif
 3468|      2|}
Py_GetConstant:
 3472|   539k|{
 3473|   539k|    if (constant_id < Py_ARRAY_LENGTH(constants)) {
  ------------------
  |  |  196|   539k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (3473:9): [True: 539k, False: 0]
  ------------------
 3474|   539k|        return constants[constant_id];
 3475|   539k|    }
 3476|      0|    else {
 3477|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3478|       |        return NULL;
 3479|      0|    }
 3480|   539k|}
Py_GetConstantBorrowed:
 3485|   238k|{
 3486|       |    // All constants are immortal
 3487|   238k|    return Py_GetConstant(constant_id);
 3488|   238k|}
PyUnstable_IsImmortal:
 3492|     31|{
 3493|       |    /* Checking a reference count requires a thread state */
 3494|     31|    _Py_AssertHoldsTstate();
  ------------------
  |  |  306|     31|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 3495|     31|    assert(op != NULL);
  ------------------
  |  Branch (3495:5): [True: 31, False: 0]
  ------------------
 3496|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3497|     31|}
PyUnstable_Object_IsUniquelyReferenced:
 3501|      3|{
 3502|      3|    _Py_AssertHoldsTstate();
  ------------------
  |  |  306|      3|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 3503|      3|    assert(op != NULL);
  ------------------
  |  Branch (3503:5): [True: 3, False: 0]
  ------------------
 3504|      3|    return _PyObject_IsUniquelyReferenced(op);
 3505|      3|}
_PyObject_VisitType:
 3509|    106|{
 3510|    106|    assert(op != NULL);
  ------------------
  |  Branch (3510:5): [True: 106, False: 0]
  ------------------
 3511|    106|    PyTypeObject *tp = Py_TYPE(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3512|    106|    _PyObject_ASSERT((PyObject *)tp, PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  |  425|    106|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|    106|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|    106|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 106, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|    106|      ? (void)(0) \
  |  |  |  |  |  |  418|    106|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3513|    106|    Py_VISIT(tp);
  ------------------
  |  |  194|    106|    do {                                                                \
  |  |  195|    106|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 106, False: 0]
  |  |  ------------------
  |  |  196|    106|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    106|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    106|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    106|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 106]
  |  |  ------------------
  |  |  198|    106|                return vret;                                            \
  |  |  199|    106|        }                                                               \
  |  |  200|    106|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 106]
  |  |  ------------------
  ------------------
 3514|    106|    return 0;
 3515|    106|}
object.c:clear_freelist:
  904|    280|{
  905|    280|    void *ptr;
  906|  12.6k|    while ((ptr = _PyFreeList_PopNoStats(freelist)) != NULL) {
  ------------------
  |  Branch (906:12): [True: 12.3k, False: 280]
  ------------------
  907|  12.3k|        dofree(ptr);
  908|  12.3k|    }
  909|    280|    assert(freelist->size == 0 || freelist->size == -1);
  ------------------
  |  Branch (909:5): [True: 280, False: 0]
  |  Branch (909:5): [True: 0, False: 0]
  ------------------
  910|    280|    assert(freelist->freelist == NULL);
  ------------------
  |  Branch (910:5): [True: 280, False: 0]
  ------------------
  911|    280|    if (is_finalization) {
  ------------------
  |  Branch (911:9): [True: 0, False: 280]
  ------------------
  912|      0|        freelist->size = -1;
  913|      0|    }
  914|    280|}
object.c:free_object:
  918|  11.7k|{
  919|  11.7k|    PyObject *op = (PyObject *)obj;
  920|  11.7k|    PyTypeObject *tp = Py_TYPE(op);
  ------------------
  |  |  213|  11.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  921|  11.7k|    tp->tp_free(op);
  922|  11.7k|    Py_DECREF(tp);
  ------------------
  |  |  430|  11.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  923|  11.7k|}
object.c:do_richcompare:
 1049|  20.1M|{
 1050|  20.1M|    richcmpfunc f;
 1051|  20.1M|    PyObject *res;
 1052|  20.1M|    int checked_reverse_op = 0;
 1053|       |
 1054|  20.1M|    if (!Py_IS_TYPE(v, Py_TYPE(w)) &&
  ------------------
  |  |  215|  40.3M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  20.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1054:9): [True: 7.56k, False: 20.1M]
  ------------------
 1055|  7.56k|        PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v)) &&
  ------------------
  |  |  213|  7.56k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v)) &&
  ------------------
  |  |  213|  7.56k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1055:9): [True: 21, False: 7.54k]
  ------------------
 1056|     21|        (f = Py_TYPE(w)->tp_richcompare) != NULL) {
  ------------------
  |  |  213|     21|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1056:9): [True: 21, False: 0]
  ------------------
 1057|     21|        checked_reverse_op = 1;
 1058|     21|        res = (*f)(w, v, _Py_SwappedOp[op]);
 1059|     21|        if (res != Py_NotImplemented)
  ------------------
  |  |  640|     21|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1059:13): [True: 18, False: 3]
  ------------------
 1060|     18|            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|  20.1M|    if ((f = Py_TYPE(v)->tp_richcompare) != NULL) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1063:9): [True: 20.1M, False: 0]
  ------------------
 1064|  20.1M|        res = (*f)(v, w, op);
 1065|  20.1M|        if (res != Py_NotImplemented)
  ------------------
  |  |  640|  20.1M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1065:13): [True: 20.1M, False: 6.86k]
  ------------------
 1066|  20.1M|            return res;
 1067|  6.86k|        Py_DECREF(res);
  ------------------
  |  |  430|  6.86k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1068|  6.86k|    }
 1069|  6.86k|    if (!checked_reverse_op && (f = Py_TYPE(w)->tp_richcompare) != NULL) {
  ------------------
  |  |  213|  6.86k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1069:9): [True: 6.86k, False: 3]
  |  Branch (1069:32): [True: 6.86k, False: 0]
  ------------------
 1070|  6.86k|        res = (*f)(w, v, _Py_SwappedOp[op]);
 1071|  6.86k|        if (res != Py_NotImplemented)
  ------------------
  |  |  640|  6.86k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1071:13): [True: 599, False: 6.26k]
  ------------------
 1072|    599|            return res;
 1073|  6.26k|        Py_DECREF(res);
  ------------------
  |  |  430|  6.26k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1074|  6.26k|    }
 1075|       |    /* If neither object implements it, provide a sensible default
 1076|       |       for == and !=, but raise an exception for ordering. */
 1077|  6.26k|    switch (op) {
 1078|  6.26k|    case Py_EQ:
  ------------------
  |  |  654|  6.26k|#define Py_EQ 2
  ------------------
  |  Branch (1078:5): [True: 6.26k, False: 0]
  ------------------
 1079|  6.26k|        res = (v == w) ? Py_True : Py_False;
  ------------------
  |  |   26|  6.26k|#  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|  6.26k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  6.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1079:15): [True: 0, False: 6.26k]
  ------------------
 1080|  6.26k|        break;
 1081|      0|    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (1081:5): [True: 0, False: 6.26k]
  ------------------
 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: 6.26k]
  ------------------
 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|  6.26k|    }
 1092|  6.26k|    return Py_NewRef(res);
  ------------------
  |  |  550|  6.26k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1093|  6.26k|}
object.c:_dir_object:
 2235|      2|{
 2236|      2|    PyObject *result, *sorted;
 2237|      2|    PyObject *dirfunc = _PyObject_LookupSpecial(obj, &_Py_ID(__dir__));
  ------------------
  |  |  921|      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|    157|{
 2282|    157|    return PyUnicode_FromString("None");
 2283|    157|}
object.c:none_hash:
 2312|   262k|{
 2313|   262k|    return 0xFCA86420;
 2314|   262k|}
object.c:new_reference:
 2727|   101M|{
 2728|       |    // Skip the immortal object check in Py_SET_REFCNT; always set refcnt to 1
 2729|   101M|#if !defined(Py_GIL_DISABLED)
 2730|   101M|#if SIZEOF_VOID_P > 4
 2731|   101M|    op->ob_refcnt_full = 1;
 2732|   101M|    assert(op->ob_refcnt == 1);
  ------------------
  |  Branch (2732:5): [True: 101M, False: 0]
  ------------------
 2733|   101M|    assert(op->ob_flags == 0);
  ------------------
  |  Branch (2733:5): [True: 101M, 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|   101M|    _PyReftracerTrack(op, PyRefTracer_CREATE);
  ------------------
  |  |  112|   101M|    do { \
  |  |  113|   101M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|   101M|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 101M]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|   101M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 101M]
  |  |  ------------------
  ------------------
 2756|   101M|}

_PyMem_RawMalloc:
   59|   584k|{
   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|   584k|    if (size == 0)
  ------------------
  |  Branch (64:9): [True: 65.9k, False: 518k]
  ------------------
   65|  65.9k|        size = 1;
   66|   584k|    return malloc(size);
   67|   584k|}
_PyMem_RawCalloc:
   71|   714k|{
   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|   714k|    if (nelem == 0 || elsize == 0) {
  ------------------
  |  Branch (76:9): [True: 0, False: 714k]
  |  Branch (76:23): [True: 0, False: 714k]
  ------------------
   77|      0|        nelem = 1;
   78|      0|        elsize = 1;
   79|      0|    }
   80|   714k|    return calloc(nelem, elsize);
   81|   714k|}
_PyMem_RawRealloc:
   85|   271k|{
   86|   271k|    if (size == 0)
  ------------------
  |  Branch (86:9): [True: 0, False: 271k]
  ------------------
   87|      0|        size = 1;
   88|   271k|    return realloc(ptr, size);
   89|   271k|}
_PyMem_RawFree:
   93|  1.29M|{
   94|  1.29M|    free(ptr);
   95|  1.29M|}
_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|  1.70k|{
  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|  1.70k|    ptr = mmap(NULL, size, PROT_READ|PROT_WRITE,
  667|  1.70k|               MAP_PRIVATE|MAP_ANONYMOUS, -1, 0);
  668|  1.70k|    if (ptr == MAP_FAILED)
  ------------------
  |  Branch (668:9): [True: 0, False: 1.70k]
  ------------------
  669|      0|        return NULL;
  670|  1.70k|    assert(ptr != NULL);
  ------------------
  |  Branch (670:5): [True: 1.70k, False: 0]
  ------------------
  671|  1.70k|#ifdef MADV_HUGEPAGE
  672|  1.70k|    (void)madvise(ptr, size, MADV_HUGEPAGE);
  673|  1.70k|#endif
  674|  1.70k|    (void)_PyAnnotateMemoryMap(ptr, size, "cpython:pymalloc");
  675|  1.70k|    return ptr;
  676|       |#else
  677|       |    return malloc(size);
  678|       |#endif
  679|  1.70k|}
_PyMem_ArenaFree:
  689|  1.66k|{
  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|  1.66k|    if (ptr == NULL) {
  ------------------
  |  Branch (698:9): [True: 0, False: 1.66k]
  ------------------
  699|      0|        return;
  700|      0|    }
  701|  1.66k|    if (munmap(ptr, size) < 0) {
  ------------------
  |  Branch (701:9): [True: 0, False: 1.66k]
  ------------------
  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|  1.66k|}
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|      2|{
 1185|      2|    size_t alloc_size = _pymalloc_virtual_alloc_size(size);
 1186|      2|    if (alloc_size == 0 && size != 0) {
  ------------------
  |  Branch (1186:9): [True: 0, False: 2]
  |  Branch (1186:28): [True: 0, False: 0]
  ------------------
 1187|      0|        return NULL;
 1188|      0|    }
 1189|      2|    return _PyObject_Arena.alloc(_PyObject_Arena.ctx, alloc_size);
  ------------------
  |  |  721|      2|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                  return _PyObject_Arena.alloc(_PyObject_Arena.ctx, alloc_size);
  ------------------
  |  |  721|      2|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
 1190|      2|}
PyMem_RawMalloc:
 1207|   584k|{
 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|   584k|    if (size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|   584k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1214:9): [True: 0, False: 584k]
  ------------------
 1215|      0|        return NULL;
 1216|   584k|    return _PyMem_Raw.malloc(_PyMem_Raw.ctx, size);
  ------------------
  |  |  717|   584k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
                  return _PyMem_Raw.malloc(_PyMem_Raw.ctx, size);
  ------------------
  |  |  717|   584k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
 1217|   584k|}
PyMem_RawCalloc:
 1221|   714k|{
 1222|       |    /* see PyMem_RawMalloc() */
 1223|   714k|    if (elsize != 0 && nelem > (size_t)PY_SSIZE_T_MAX / elsize)
  ------------------
  |  |  137|   714k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1223:9): [True: 714k, False: 0]
  |  Branch (1223:24): [True: 0, False: 714k]
  ------------------
 1224|      0|        return NULL;
 1225|   714k|    return _PyMem_Raw.calloc(_PyMem_Raw.ctx, nelem, elsize);
  ------------------
  |  |  717|   714k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
                  return _PyMem_Raw.calloc(_PyMem_Raw.ctx, nelem, elsize);
  ------------------
  |  |  717|   714k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
 1226|   714k|}
PyMem_RawRealloc:
 1230|   271k|{
 1231|       |    /* see PyMem_RawMalloc() */
 1232|   271k|    if (new_size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|   271k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1232:9): [True: 0, False: 271k]
  ------------------
 1233|      0|        return NULL;
 1234|   271k|    return _PyMem_Raw.realloc(_PyMem_Raw.ctx, ptr, new_size);
  ------------------
  |  |  717|   271k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
                  return _PyMem_Raw.realloc(_PyMem_Raw.ctx, ptr, new_size);
  ------------------
  |  |  717|   271k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
 1235|   271k|}
PyMem_RawFree:
 1238|  1.29M|{
 1239|  1.29M|    _PyMem_Raw.free(_PyMem_Raw.ctx, ptr);
  ------------------
  |  |  717|  1.29M|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
                  _PyMem_Raw.free(_PyMem_Raw.ctx, ptr);
  ------------------
  |  |  717|  1.29M|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
 1240|  1.29M|}
PyMem_Malloc:
 1249|  9.00M|{
 1250|       |    /* see PyMem_RawMalloc() */
 1251|  9.00M|    if (size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  9.00M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1251:9): [True: 0, False: 9.00M]
  ------------------
 1252|      0|        return NULL;
 1253|  9.00M|    OBJECT_STAT_INC_COND(allocations512, size < 512);
  ------------------
  |  |   78|  9.00M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1254|  9.00M|    OBJECT_STAT_INC_COND(allocations4k, size >= 512 && size < 4094);
  ------------------
  |  |   78|  9.00M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1255|  9.00M|    OBJECT_STAT_INC_COND(allocations_big, size >= 4094);
  ------------------
  |  |   78|  9.00M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1256|  9.00M|    OBJECT_STAT_INC(allocations);
  ------------------
  |  |   77|  9.00M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1257|  9.00M|    return _PyMem.malloc(_PyMem.ctx, size);
  ------------------
  |  |  718|  9.00M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
                  return _PyMem.malloc(_PyMem.ctx, size);
  ------------------
  |  |  718|  9.00M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
 1258|  9.00M|}
PyMem_Calloc:
 1262|  8.72M|{
 1263|       |    /* see PyMem_RawMalloc() */
 1264|  8.72M|    if (elsize != 0 && nelem > (size_t)PY_SSIZE_T_MAX / elsize)
  ------------------
  |  |  137|  8.72M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1264:9): [True: 8.72M, False: 0]
  |  Branch (1264:24): [True: 0, False: 8.72M]
  ------------------
 1265|      0|        return NULL;
 1266|  8.72M|    OBJECT_STAT_INC_COND(allocations512, elsize < 512);
  ------------------
  |  |   78|  8.72M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1267|  8.72M|    OBJECT_STAT_INC_COND(allocations4k, elsize >= 512 && elsize < 4094);
  ------------------
  |  |   78|  8.72M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1268|  8.72M|    OBJECT_STAT_INC_COND(allocations_big, elsize >= 4094);
  ------------------
  |  |   78|  8.72M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1269|  8.72M|    OBJECT_STAT_INC(allocations);
  ------------------
  |  |   77|  8.72M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1270|  8.72M|    return _PyMem.calloc(_PyMem.ctx, nelem, elsize);
  ------------------
  |  |  718|  8.72M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
                  return _PyMem.calloc(_PyMem.ctx, nelem, elsize);
  ------------------
  |  |  718|  8.72M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
 1271|  8.72M|}
PyMem_Realloc:
 1275|  1.88M|{
 1276|       |    /* see PyMem_RawMalloc() */
 1277|  1.88M|    if (new_size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  1.88M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1277:9): [True: 0, False: 1.88M]
  ------------------
 1278|      0|        return NULL;
 1279|  1.88M|    return _PyMem.realloc(_PyMem.ctx, ptr, new_size);
  ------------------
  |  |  718|  1.88M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
                  return _PyMem.realloc(_PyMem.ctx, ptr, new_size);
  ------------------
  |  |  718|  1.88M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
 1280|  1.88M|}
PyMem_Free:
 1284|  18.8M|{
 1285|  18.8M|    OBJECT_STAT_INC(frees);
  ------------------
  |  |   77|  18.8M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1286|  18.8M|    _PyMem.free(_PyMem.ctx, ptr);
  ------------------
  |  |  718|  18.8M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
                  _PyMem.free(_PyMem.ctx, ptr);
  ------------------
  |  |  718|  18.8M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
 1287|  18.8M|}
_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|}
_PyMem_Strdup:
 1329|      1|{
 1330|      1|    assert(str != NULL);
  ------------------
  |  Branch (1330:5): [True: 1, False: 0]
  ------------------
 1331|      1|    size_t size = strlen(str) + 1;
 1332|      1|    char *copy = PyMem_Malloc(size);
 1333|      1|    if (copy == NULL) {
  ------------------
  |  Branch (1333:9): [True: 0, False: 1]
  ------------------
 1334|      0|        return NULL;
 1335|      0|    }
 1336|      1|    memcpy(copy, str, size);
 1337|      1|    return copy;
 1338|      1|}
_PyMem_FreeDelayed:
 1511|    313|{
 1512|    313|    assert(!((uintptr_t)ptr & 0x01));
  ------------------
  |  Branch (1512:5): [True: 313, False: 0]
  ------------------
 1513|    313|    if (ptr != NULL) {
  ------------------
  |  Branch (1513:9): [True: 313, False: 0]
  ------------------
 1514|    313|        free_delayed((uintptr_t)ptr, size);
 1515|    313|    }
 1516|    313|}
PyObject_Malloc:
 1701|  78.9M|{
 1702|       |    /* see PyMem_RawMalloc() */
 1703|  78.9M|    if (size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  78.9M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1703:9): [True: 0, False: 78.9M]
  ------------------
 1704|      0|        return NULL;
 1705|  78.9M|    OBJECT_STAT_INC_COND(allocations512, size < 512);
  ------------------
  |  |   78|  78.9M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1706|  78.9M|    OBJECT_STAT_INC_COND(allocations4k, size >= 512 && size < 4094);
  ------------------
  |  |   78|  78.9M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1707|  78.9M|    OBJECT_STAT_INC_COND(allocations_big, size >= 4094);
  ------------------
  |  |   78|  78.9M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1708|  78.9M|    OBJECT_STAT_INC(allocations);
  ------------------
  |  |   77|  78.9M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1709|  78.9M|    return _PyObject.malloc(_PyObject.ctx, size);
  ------------------
  |  |  719|  78.9M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
                  return _PyObject.malloc(_PyObject.ctx, size);
  ------------------
  |  |  719|  78.9M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
 1710|  78.9M|}
PyObject_Realloc:
 1727|   617k|{
 1728|       |    /* see PyMem_RawMalloc() */
 1729|   617k|    if (new_size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|   617k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1729:9): [True: 0, False: 617k]
  ------------------
 1730|      0|        return NULL;
 1731|   617k|    return _PyObject.realloc(_PyObject.ctx, ptr, new_size);
  ------------------
  |  |  719|   617k|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
                  return _PyObject.realloc(_PyObject.ctx, ptr, new_size);
  ------------------
  |  |  719|   617k|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
 1732|   617k|}
PyObject_Free:
 1736|  78.8M|{
 1737|  78.8M|    OBJECT_STAT_INC(frees);
  ------------------
  |  |   77|  78.8M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1738|  78.8M|    _PyObject.free(_PyObject.ctx, ptr);
  ------------------
  |  |  719|  78.8M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
                  _PyObject.free(_PyObject.ctx, ptr);
  ------------------
  |  |  719|  78.8M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
 1739|  78.8M|}
_PyObject_Malloc:
 2542|  89.8M|{
 2543|  89.8M|    OMState *state = get_state();
 2544|  89.8M|    void* ptr = pymalloc_alloc(state, ctx, nbytes);
 2545|  89.8M|    if (LIKELY(ptr != NULL)) {
  ------------------
  |  | 1746|  89.8M|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1746:25): [True: 89.2M, False: 574k]
  |  |  ------------------
  ------------------
 2546|  89.2M|        return ptr;
 2547|  89.2M|    }
 2548|       |
 2549|   574k|    ptr = PyMem_RawMalloc(nbytes);
 2550|   574k|    if (ptr != NULL) {
  ------------------
  |  Branch (2550:9): [True: 574k, False: 0]
  ------------------
 2551|   574k|        raw_allocated_blocks++;
  ------------------
  |  | 1796|   574k|#define raw_allocated_blocks (state->mgmt.raw_allocated_blocks)
  ------------------
 2552|   574k|    }
 2553|   574k|    return ptr;
 2554|  89.8M|}
_PyObject_Calloc:
 2559|  8.72M|{
 2560|  8.72M|    assert(elsize == 0 || nelem <= (size_t)PY_SSIZE_T_MAX / elsize);
  ------------------
  |  Branch (2560:5): [True: 0, False: 8.72M]
  |  Branch (2560:5): [True: 8.72M, False: 0]
  ------------------
 2561|  8.72M|    size_t nbytes = nelem * elsize;
 2562|       |
 2563|  8.72M|    OMState *state = get_state();
 2564|  8.72M|    void* ptr = pymalloc_alloc(state, ctx, nbytes);
 2565|  8.72M|    if (LIKELY(ptr != NULL)) {
  ------------------
  |  | 1746|  8.72M|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1746:25): [True: 8.02M, False: 703k]
  |  |  ------------------
  ------------------
 2566|  8.02M|        memset(ptr, 0, nbytes);
 2567|  8.02M|        return ptr;
 2568|  8.02M|    }
 2569|       |
 2570|   703k|    ptr = PyMem_RawCalloc(nelem, elsize);
 2571|   703k|    if (ptr != NULL) {
  ------------------
  |  Branch (2571:9): [True: 703k, False: 0]
  ------------------
 2572|   703k|        raw_allocated_blocks++;
  ------------------
  |  | 1796|   703k|#define raw_allocated_blocks (state->mgmt.raw_allocated_blocks)
  ------------------
 2573|   703k|    }
 2574|   703k|    return ptr;
 2575|  8.72M|}
_PyObject_Free:
 2824|  99.1M|{
 2825|       |    /* PyObject_Free(NULL) has no effect */
 2826|  99.1M|    if (p == NULL) {
  ------------------
  |  Branch (2826:9): [True: 666k, False: 98.4M]
  ------------------
 2827|   666k|        return;
 2828|   666k|    }
 2829|       |
 2830|  98.4M|    OMState *state = get_state();
 2831|  98.4M|    if (UNLIKELY(!pymalloc_free(state, ctx, p))) {
  ------------------
  |  | 1745|  98.4M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1745:27): [True: 1.27M, False: 97.2M]
  |  |  ------------------
  ------------------
 2832|       |        /* pymalloc didn't allocate this address */
 2833|  1.27M|        PyMem_RawFree(p);
 2834|  1.27M|        raw_allocated_blocks--;
  ------------------
  |  | 1796|  1.27M|#define raw_allocated_blocks (state->mgmt.raw_allocated_blocks)
  ------------------
 2835|  1.27M|    }
 2836|  98.4M|}
_PyObject_Realloc:
 2912|  2.50M|{
 2913|  2.50M|    void *ptr2;
 2914|       |
 2915|  2.50M|    if (ptr == NULL) {
  ------------------
  |  Branch (2915:9): [True: 489k, False: 2.01M]
  ------------------
 2916|   489k|        return _PyObject_Malloc(ctx, nbytes);
 2917|   489k|    }
 2918|       |
 2919|  2.01M|    OMState *state = get_state();
 2920|  2.01M|    if (pymalloc_realloc(state, ctx, &ptr2, ptr, nbytes)) {
  ------------------
  |  Branch (2920:9): [True: 1.74M, False: 271k]
  ------------------
 2921|  1.74M|        return ptr2;
 2922|  1.74M|    }
 2923|       |
 2924|   271k|    return PyMem_RawRealloc(ptr, nbytes);
 2925|  2.01M|}
_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|      2|{
  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|      2|    return size;
  620|      2|}
obmalloc.c:free_delayed:
 1432|    313|{
 1433|    313|#ifndef Py_GIL_DISABLED
 1434|    313|    free_work_item(ptr, NULL, NULL);
 1435|       |#else
 1436|       |    PyInterpreterState *interp = _PyInterpreterState_GET();
 1437|       |    if (_PyInterpreterState_GetFinalizing(interp) != NULL ||
 1438|       |        interp->stoptheworld.world_stopped)
 1439|       |    {
 1440|       |        // Free immediately during interpreter shutdown or if the world is
 1441|       |        // stopped.
 1442|       |        assert(!interp->stoptheworld.world_stopped || !work_item_should_decref(ptr));
 1443|       |        free_work_item(ptr, NULL, NULL);
 1444|       |        return;
 1445|       |    }
 1446|       |
 1447|       |    _PyThreadStateImpl *tstate = (_PyThreadStateImpl *)_PyThreadState_GET();
 1448|       |    struct llist_node *head = &tstate->mem_free_queue;
 1449|       |
 1450|       |    struct _mem_work_chunk *buf = NULL;
 1451|       |    if (!llist_empty(head)) {
 1452|       |        // Try to re-use the last buffer
 1453|       |        buf = llist_data(head->prev, struct _mem_work_chunk, node);
 1454|       |        if (buf->wr_idx == WORK_ITEMS_PER_CHUNK) {
 1455|       |            // already full
 1456|       |            buf = NULL;
 1457|       |        }
 1458|       |    }
 1459|       |
 1460|       |    if (buf == NULL) {
 1461|       |        buf = PyMem_Calloc(1, sizeof(*buf));
 1462|       |        if (buf != NULL) {
 1463|       |            llist_insert_tail(head, &buf->node);
 1464|       |        }
 1465|       |    }
 1466|       |
 1467|       |    if (buf == NULL) {
 1468|       |        // failed to allocate a buffer, free immediately
 1469|       |        PyObject *to_dealloc = NULL;
 1470|       |        _PyEval_StopTheWorld(tstate->base.interp);
 1471|       |        if (work_item_should_decref(ptr)) {
 1472|       |            PyObject *obj = (PyObject *)(ptr - 1);
 1473|       |            Py_ssize_t refcount = _Py_ExplicitMergeRefcount(obj, -1);
 1474|       |            if (refcount == 0) {
 1475|       |                to_dealloc = obj;
 1476|       |            }
 1477|       |        }
 1478|       |        else {
 1479|       |            PyMem_Free((void *)ptr);
 1480|       |        }
 1481|       |        _PyEval_StartTheWorld(tstate->base.interp);
 1482|       |        if (to_dealloc != NULL) {
 1483|       |            _Py_Dealloc(to_dealloc);
 1484|       |        }
 1485|       |        return;
 1486|       |    }
 1487|       |
 1488|       |    assert(buf != NULL && buf->wr_idx < WORK_ITEMS_PER_CHUNK);
 1489|       |    uint64_t seq;
 1490|       |    if (should_advance_qsbr_for_free(tstate->qsbr, size)) {
 1491|       |        seq = _Py_qsbr_advance(tstate->qsbr->shared);
 1492|       |    }
 1493|       |    else {
 1494|       |        seq = _Py_qsbr_shared_next(tstate->qsbr->shared);
 1495|       |    }
 1496|       |    buf->array[buf->wr_idx].ptr = ptr;
 1497|       |    buf->array[buf->wr_idx].qsbr_goal = seq;
 1498|       |    buf->wr_idx++;
 1499|       |
 1500|       |    if (buf->wr_idx == WORK_ITEMS_PER_CHUNK) {
 1501|       |        // Normally the processing of delayed items is done from the eval
 1502|       |        // breaker.  Processing here is a safety measure to ensure too much
 1503|       |        // work does not accumulate.
 1504|       |        _PyMem_ProcessDelayed((PyThreadState *)tstate);
 1505|       |    }
 1506|       |#endif
 1507|    313|}
obmalloc.c:free_work_item:
 1371|    313|{
 1372|    313|    if (work_item_should_decref(ptr)) {
  ------------------
  |  Branch (1372:9): [True: 0, False: 313]
  ------------------
 1373|      0|        PyObject *obj = (PyObject *)(ptr - 1);
 1374|       |#ifdef Py_GIL_DISABLED
 1375|       |        if (cb == NULL) {
 1376|       |            assert(!_PyInterpreterState_GET()->stoptheworld.world_stopped);
 1377|       |            Py_DECREF(obj);
 1378|       |            return;
 1379|       |        }
 1380|       |        assert(_PyInterpreterState_GET()->stoptheworld.world_stopped);
 1381|       |        Py_ssize_t refcount = _Py_ExplicitMergeRefcount(obj, -1);
 1382|       |        if (refcount == 0) {
 1383|       |            cb(obj, state);
 1384|       |        }
 1385|       |#else
 1386|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1387|      0|#endif
 1388|      0|    }
 1389|    313|    else {
 1390|    313|        PyMem_Free((void *)ptr);
 1391|    313|    }
 1392|    313|}
obmalloc.c:work_item_should_decref:
 1365|    313|{
 1366|    313|    return ptr & 0x01;
 1367|    313|}
obmalloc.c:get_state:
 1780|   199M|{
 1781|   199M|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1782|   199M|    assert(interp->obmalloc != NULL); // otherwise not initialized or freed
  ------------------
  |  Branch (1782:5): [True: 199M, False: 0]
  ------------------
 1783|   199M|    return interp->obmalloc;
 1784|   199M|}
obmalloc.c:pymalloc_alloc:
 2494|  98.5M|{
 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|  98.5M|    if (UNLIKELY(nbytes == 0)) {
  ------------------
  |  | 1745|  98.5M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1745:27): [True: 65.9k, False: 98.4M]
  |  |  ------------------
  ------------------
 2505|  65.9k|        return NULL;
 2506|  65.9k|    }
 2507|  98.4M|    if (UNLIKELY(nbytes > SMALL_REQUEST_THRESHOLD)) {
  ------------------
  |  | 1745|  98.4M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1745:27): [True: 1.21M, False: 97.2M]
  |  |  ------------------
  ------------------
 2508|  1.21M|        return NULL;
 2509|  1.21M|    }
 2510|       |
 2511|  97.2M|    uint size = (uint)(nbytes - 1) >> ALIGNMENT_SHIFT;
  ------------------
  |  |   35|  97.2M|#define uint pymem_uint
  ------------------
                  uint size = (uint)(nbytes - 1) >> ALIGNMENT_SHIFT;
  ------------------
  |  |  139|  97.2M|#define ALIGNMENT_SHIFT         4
  ------------------
 2512|  97.2M|    poolp pool = usedpools[size + size];
  ------------------
  |  | 1787|  97.2M|#define usedpools (state->pools.used)
  ------------------
 2513|  97.2M|    pymem_block *bp;
 2514|       |
 2515|  97.2M|    if (LIKELY(pool != pool->nextpool)) {
  ------------------
  |  | 1746|  97.2M|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1746:25): [True: 97.0M, False: 210k]
  |  |  ------------------
  ------------------
 2516|       |        /*
 2517|       |         * There is a used pool for this size class.
 2518|       |         * Pick up the head block of its free list.
 2519|       |         */
 2520|  97.0M|        ++pool->ref.count;
 2521|  97.0M|        bp = pool->freeblock;
 2522|  97.0M|        assert(bp != NULL);
  ------------------
  |  Branch (2522:9): [True: 97.0M, False: 0]
  ------------------
 2523|       |
 2524|  97.0M|        if (UNLIKELY((pool->freeblock = *(pymem_block **)bp) == NULL)) {
  ------------------
  |  | 1745|  97.0M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1745:27): [True: 36.6M, False: 60.3M]
  |  |  ------------------
  ------------------
 2525|       |            // Reached the end of the free list, try to extend it.
 2526|  36.6M|            pymalloc_pool_extend(pool, size);
 2527|  36.6M|        }
 2528|  97.0M|    }
 2529|   210k|    else {
 2530|       |        /* There isn't a pool of the right size class immediately
 2531|       |         * available:  use a free pool.
 2532|       |         */
 2533|   210k|        bp = allocate_from_new_pool(state, size);
 2534|   210k|    }
 2535|       |
 2536|  97.2M|    return (void *)bp;
 2537|  97.2M|}
obmalloc.c:pymalloc_pool_extend:
 2336|  36.6M|{
 2337|  36.6M|    if (UNLIKELY(pool->nextoffset <= pool->maxnextoffset)) {
  ------------------
  |  | 1745|  36.6M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1745:27): [True: 28.7M, False: 7.98M]
  |  |  ------------------
  ------------------
 2338|       |        /* There is room for another block. */
 2339|  28.7M|        pool->freeblock = (pymem_block*)pool + pool->nextoffset;
 2340|  28.7M|        pool->nextoffset += INDEX2SIZE(size);
  ------------------
  |  |  146|  28.7M|#define INDEX2SIZE(I) (((pymem_uint)(I) + 1) << ALIGNMENT_SHIFT)
  |  |  ------------------
  |  |  |  |  139|  28.7M|#define ALIGNMENT_SHIFT         4
  |  |  ------------------
  ------------------
 2341|  28.7M|        *(pymem_block **)(pool->freeblock) = NULL;
 2342|  28.7M|        return;
 2343|  28.7M|    }
 2344|       |
 2345|       |    /* Pool is full, unlink from used pools. */
 2346|  7.98M|    poolp next;
 2347|  7.98M|    next = pool->nextpool;
 2348|  7.98M|    pool = pool->prevpool;
 2349|  7.98M|    next->prevpool = pool;
 2350|  7.98M|    pool->nextpool = next;
 2351|  7.98M|}
obmalloc.c:allocate_from_new_pool:
 2358|   210k|{
 2359|       |    /* There isn't a pool of the right size class immediately
 2360|       |     * available:  use a free pool.
 2361|       |     */
 2362|   210k|    if (UNLIKELY(usable_arenas == NULL)) {
  ------------------
  |  | 1745|   210k|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1745:27): [True: 1.70k, False: 208k]
  |  |  ------------------
  ------------------
 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|  1.70k|        usable_arenas = new_arena(state);
  ------------------
  |  | 1791|  1.70k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2370|  1.70k|        if (usable_arenas == NULL) {
  ------------------
  |  | 1791|  1.70k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2370:13): [True: 0, False: 1.70k]
  ------------------
 2371|      0|            return NULL;
 2372|      0|        }
 2373|  1.70k|        usable_arenas->nextarena = usable_arenas->prevarena = NULL;
  ------------------
  |  | 1791|  1.70k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      usable_arenas->nextarena = usable_arenas->prevarena = NULL;
  ------------------
  |  | 1791|  1.70k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2374|  1.70k|        assert(nfp2lasta[usable_arenas->nfreepools] == NULL);
  ------------------
  |  Branch (2374:9): [True: 1.70k, False: 0]
  ------------------
 2375|  1.70k|        nfp2lasta[usable_arenas->nfreepools] = usable_arenas;
  ------------------
  |  | 1792|  1.70k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools] = usable_arenas;
  ------------------
  |  | 1791|  1.70k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools] = usable_arenas;
  ------------------
  |  | 1791|  1.70k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2376|  1.70k|    }
 2377|   210k|    assert(usable_arenas->address != 0);
  ------------------
  |  Branch (2377:5): [True: 210k, 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|   210k|    assert(usable_arenas->nfreepools > 0);
  ------------------
  |  Branch (2384:5): [True: 210k, False: 0]
  ------------------
 2385|   210k|    if (nfp2lasta[usable_arenas->nfreepools] == usable_arenas) {
  ------------------
  |  | 1792|   210k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
                  if (nfp2lasta[usable_arenas->nfreepools] == usable_arenas) {
  ------------------
  |  | 1791|   210k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                  if (nfp2lasta[usable_arenas->nfreepools] == usable_arenas) {
  ------------------
  |  | 1791|   210k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2385:9): [True: 209k, False: 745]
  ------------------
 2386|       |        /* It's the last of this size, so there won't be any. */
 2387|   209k|        nfp2lasta[usable_arenas->nfreepools] = NULL;
  ------------------
  |  | 1792|   209k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools] = NULL;
  ------------------
  |  | 1791|   209k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2388|   209k|    }
 2389|       |    /* If any free pools will remain, it will be the new smallest. */
 2390|   210k|    if (usable_arenas->nfreepools > 1) {
  ------------------
  |  | 1791|   210k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2390:9): [True: 204k, False: 5.94k]
  ------------------
 2391|   204k|        assert(nfp2lasta[usable_arenas->nfreepools - 1] == NULL);
  ------------------
  |  Branch (2391:9): [True: 204k, False: 0]
  ------------------
 2392|   204k|        nfp2lasta[usable_arenas->nfreepools - 1] = usable_arenas;
  ------------------
  |  | 1792|   204k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools - 1] = usable_arenas;
  ------------------
  |  | 1791|   204k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools - 1] = usable_arenas;
  ------------------
  |  | 1791|   204k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2393|   204k|    }
 2394|       |
 2395|       |    /* Try to get a cached free pool. */
 2396|   210k|    poolp pool = usable_arenas->freepools;
  ------------------
  |  | 1791|   210k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2397|   210k|    if (LIKELY(pool != NULL)) {
  ------------------
  |  | 1746|   210k|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1746:25): [True: 103k, False: 106k]
  |  |  ------------------
  ------------------
 2398|       |        /* Unlink from cached pools. */
 2399|   103k|        usable_arenas->freepools = pool->nextpool;
  ------------------
  |  | 1791|   103k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2400|   103k|        usable_arenas->nfreepools--;
  ------------------
  |  | 1791|   103k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2401|   103k|        if (UNLIKELY(usable_arenas->nfreepools == 0)) {
  ------------------
  |  | 1745|   103k|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1745:27): [True: 4.26k, False: 99.5k]
  |  |  ------------------
  ------------------
 2402|       |            /* Wholly allocated:  remove. */
 2403|  4.26k|            assert(usable_arenas->freepools == NULL);
  ------------------
  |  Branch (2403:13): [True: 4.26k, False: 0]
  ------------------
 2404|  4.26k|            assert(usable_arenas->nextarena == NULL ||
  ------------------
  |  Branch (2404:13): [True: 89, False: 4.17k]
  |  Branch (2404:13): [True: 4.17k, False: 0]
  ------------------
 2405|  4.26k|                   usable_arenas->nextarena->prevarena ==
 2406|  4.26k|                   usable_arenas);
 2407|  4.26k|            usable_arenas = usable_arenas->nextarena;
  ------------------
  |  | 1791|  4.26k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                          usable_arenas = usable_arenas->nextarena;
  ------------------
  |  | 1791|  4.26k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2408|  4.26k|            if (usable_arenas != NULL) {
  ------------------
  |  | 1791|  4.26k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2408:17): [True: 4.17k, False: 89]
  ------------------
 2409|  4.17k|                usable_arenas->prevarena = NULL;
  ------------------
  |  | 1791|  4.17k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2410|  4.17k|                assert(usable_arenas->address != 0);
  ------------------
  |  Branch (2410:17): [True: 4.17k, False: 0]
  ------------------
 2411|  4.17k|            }
 2412|  4.26k|        }
 2413|  99.5k|        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|  99.5k|            assert(usable_arenas->freepools != NULL ||
  ------------------
  |  Branch (2419:13): [True: 97.7k, False: 1.75k]
  |  Branch (2419:13): [True: 1.75k, False: 0]
  ------------------
 2420|  99.5k|                   usable_arenas->pool_address <=
 2421|  99.5k|                   (pymem_block*)usable_arenas->address +
 2422|  99.5k|                       ARENA_SIZE - POOL_SIZE);
 2423|  99.5k|        }
 2424|   103k|    }
 2425|   106k|    else {
 2426|       |        /* Carve off a new pool. */
 2427|   106k|        assert(usable_arenas->nfreepools > 0);
  ------------------
  |  Branch (2427:9): [True: 106k, False: 0]
  ------------------
 2428|   106k|        assert(usable_arenas->freepools == NULL);
  ------------------
  |  Branch (2428:9): [True: 106k, False: 0]
  ------------------
 2429|   106k|        pool = (poolp)usable_arenas->pool_address;
  ------------------
  |  | 1791|   106k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2430|   106k|        assert((pymem_block*)pool <= (pymem_block*)usable_arenas->address +
  ------------------
  |  Branch (2430:9): [True: 106k, False: 0]
  ------------------
 2431|   106k|                                 ARENA_SIZE - POOL_SIZE);
 2432|   106k|        pool->arenaindex = (uint)(usable_arenas - allarenas);
  ------------------
  |  | 1791|   106k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      pool->arenaindex = (uint)(usable_arenas - allarenas);
  ------------------
  |  | 1788|   106k|#define allarenas (state->mgmt.arenas)
  ------------------
 2433|   106k|        assert(&allarenas[pool->arenaindex] == usable_arenas);
  ------------------
  |  Branch (2433:9): [True: 106k, False: 0]
  ------------------
 2434|   106k|        pool->szidx = DUMMY_SIZE_IDX;
  ------------------
  |  |  321|   106k|#define DUMMY_SIZE_IDX          0xffff  /* size class of newly cached pools */
  ------------------
 2435|   106k|        usable_arenas->pool_address += POOL_SIZE;
  ------------------
  |  | 1791|   106k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      usable_arenas->pool_address += POOL_SIZE;
  ------------------
  |  |  240|   106k|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  ------------------
  |  |  |  |  236|   106k|#define POOL_BITS               14                  /* 16 KiB */
  |  |  ------------------
  ------------------
 2436|   106k|        --usable_arenas->nfreepools;
  ------------------
  |  | 1791|   106k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2437|       |
 2438|   106k|        if (usable_arenas->nfreepools == 0) {
  ------------------
  |  | 1791|   106k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2438:13): [True: 1.68k, False: 104k]
  ------------------
 2439|  1.68k|            assert(usable_arenas->nextarena == NULL ||
  ------------------
  |  Branch (2439:13): [True: 1.64k, False: 44]
  |  Branch (2439:13): [True: 44, False: 0]
  ------------------
 2440|  1.68k|                   usable_arenas->nextarena->prevarena ==
 2441|  1.68k|                   usable_arenas);
 2442|       |            /* Unlink the arena:  it is completely allocated. */
 2443|  1.68k|            usable_arenas = usable_arenas->nextarena;
  ------------------
  |  | 1791|  1.68k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                          usable_arenas = usable_arenas->nextarena;
  ------------------
  |  | 1791|  1.68k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2444|  1.68k|            if (usable_arenas != NULL) {
  ------------------
  |  | 1791|  1.68k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2444:17): [True: 44, False: 1.64k]
  ------------------
 2445|     44|                usable_arenas->prevarena = NULL;
  ------------------
  |  | 1791|     44|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2446|     44|                assert(usable_arenas->address != 0);
  ------------------
  |  Branch (2446:17): [True: 44, False: 0]
  ------------------
 2447|     44|            }
 2448|  1.68k|        }
 2449|   106k|    }
 2450|       |
 2451|       |    /* Frontlink to used pools. */
 2452|   210k|    pymem_block *bp;
 2453|   210k|    poolp next = usedpools[size + size]; /* == prev */
  ------------------
  |  | 1787|   210k|#define usedpools (state->pools.used)
  ------------------
 2454|   210k|    pool->nextpool = next;
 2455|   210k|    pool->prevpool = next;
 2456|   210k|    next->nextpool = pool;
 2457|   210k|    next->prevpool = pool;
 2458|   210k|    pool->ref.count = 1;
 2459|   210k|    if (pool->szidx == size) {
  ------------------
  |  Branch (2459:9): [True: 89.5k, False: 120k]
  ------------------
 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|  89.5k|        bp = pool->freeblock;
 2465|  89.5k|        assert(bp != NULL);
  ------------------
  |  Branch (2465:9): [True: 89.5k, False: 0]
  ------------------
 2466|  89.5k|        pool->freeblock = *(pymem_block **)bp;
 2467|  89.5k|        return bp;
 2468|  89.5k|    }
 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|   120k|    pool->szidx = size;
 2475|   120k|    size = INDEX2SIZE(size);
  ------------------
  |  |  146|   120k|#define INDEX2SIZE(I) (((pymem_uint)(I) + 1) << ALIGNMENT_SHIFT)
  |  |  ------------------
  |  |  |  |  139|   120k|#define ALIGNMENT_SHIFT         4
  |  |  ------------------
  ------------------
 2476|   120k|    bp = (pymem_block *)pool + POOL_OVERHEAD;
  ------------------
  |  |  319|   120k|#define POOL_OVERHEAD   _Py_SIZE_ROUND_UP(sizeof(struct pool_header), ALIGNMENT)
  |  |  ------------------
  |  |  |  |  213|   120k|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  |  |  214|   120k|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  |  |  ------------------
  ------------------
 2477|   120k|    pool->nextoffset = POOL_OVERHEAD + (size << 1);
  ------------------
  |  |  319|   120k|#define POOL_OVERHEAD   _Py_SIZE_ROUND_UP(sizeof(struct pool_header), ALIGNMENT)
  |  |  ------------------
  |  |  |  |  213|   120k|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  |  |  214|   120k|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  |  |  ------------------
  ------------------
 2478|   120k|    pool->maxnextoffset = POOL_SIZE - size;
  ------------------
  |  |  240|   120k|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  ------------------
  |  |  |  |  236|   120k|#define POOL_BITS               14                  /* 16 KiB */
  |  |  ------------------
  ------------------
 2479|   120k|    pool->freeblock = bp + size;
 2480|       |    *(pymem_block **)(pool->freeblock) = NULL;
 2481|   120k|    return bp;
 2482|   210k|}
obmalloc.c:new_arena:
 2124|  1.70k|{
 2125|  1.70k|    struct arena_object* arenaobj;
 2126|  1.70k|    uint excess;        /* number of bytes above pool alignment */
  ------------------
  |  |   35|  1.70k|#define uint pymem_uint
  ------------------
 2127|  1.70k|    void *address;
 2128|       |
 2129|  1.70k|    int debug_stats = _PyRuntime.obmalloc.dump_debug_stats;
 2130|  1.70k|    if (debug_stats == -1) {
  ------------------
  |  Branch (2130:9): [True: 2, False: 1.70k]
  ------------------
 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|  1.70k|    if (debug_stats) {
  ------------------
  |  Branch (2135:9): [True: 0, False: 1.70k]
  ------------------
 2136|      0|        _PyObject_DebugMallocStats(stderr);
 2137|      0|    }
 2138|       |
 2139|  1.70k|    if (unused_arena_objects == NULL) {
  ------------------
  |  | 1790|  1.70k|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
  |  Branch (2139:9): [True: 6, False: 1.69k]
  ------------------
 2140|      6|        uint i;
  ------------------
  |  |   35|      6|#define uint pymem_uint
  ------------------
 2141|      6|        uint numarenas;
  ------------------
  |  |   35|      6|#define uint pymem_uint
  ------------------
 2142|      6|        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|      6|        numarenas = maxarenas ? maxarenas << 1 : INITIAL_ARENA_OBJECTS;
  ------------------
  |  | 1789|      6|#define maxarenas (state->mgmt.maxarenas)
  |  |  ------------------
  |  |  |  Branch (1789:19): [True: 4, False: 2]
  |  |  ------------------
  ------------------
                      numarenas = maxarenas ? maxarenas << 1 : INITIAL_ARENA_OBJECTS;
  ------------------
  |  | 1789|      4|#define maxarenas (state->mgmt.maxarenas)
  ------------------
                      numarenas = maxarenas ? maxarenas << 1 : INITIAL_ARENA_OBJECTS;
  ------------------
  |  |  485|      8|#define INITIAL_ARENA_OBJECTS 16
  ------------------
 2148|      6|        if (numarenas <= maxarenas)
  ------------------
  |  | 1789|      6|#define maxarenas (state->mgmt.maxarenas)
  ------------------
  |  Branch (2148:13): [True: 0, False: 6]
  ------------------
 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|      6|        nbytes = numarenas * sizeof(*allarenas);
  ------------------
  |  | 1788|      6|#define allarenas (state->mgmt.arenas)
  ------------------
 2155|      6|        arenaobj = (struct arena_object *)PyMem_RawRealloc(allarenas, nbytes);
  ------------------
  |  | 1788|      6|#define allarenas (state->mgmt.arenas)
  ------------------
 2156|      6|        if (arenaobj == NULL)
  ------------------
  |  Branch (2156:13): [True: 0, False: 6]
  ------------------
 2157|      0|            return NULL;
 2158|      6|        allarenas = arenaobj;
  ------------------
  |  | 1788|      6|#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|      6|        assert(usable_arenas == NULL);
  ------------------
  |  Branch (2166:9): [True: 6, False: 0]
  ------------------
 2167|      6|        assert(unused_arena_objects == NULL);
  ------------------
  |  Branch (2167:9): [True: 6, False: 0]
  ------------------
 2168|       |
 2169|       |        /* Put the new arenas on the unused_arena_objects list. */
 2170|    278|        for (i = maxarenas; i < numarenas; ++i) {
  ------------------
  |  | 1789|      6|#define maxarenas (state->mgmt.maxarenas)
  ------------------
  |  Branch (2170:29): [True: 272, False: 6]
  ------------------
 2171|    272|            allarenas[i].address = 0;              /* mark as unassociated */
  ------------------
  |  | 1788|    272|#define allarenas (state->mgmt.arenas)
  ------------------
 2172|    272|            allarenas[i].nextarena = i < numarenas - 1 ?
  ------------------
  |  | 1788|    272|#define allarenas (state->mgmt.arenas)
  ------------------
  |  Branch (2172:38): [True: 266, False: 6]
  ------------------
 2173|    272|                                        &allarenas[i+1] : NULL;
  ------------------
  |  | 1788|    266|#define allarenas (state->mgmt.arenas)
  ------------------
 2174|    272|        }
 2175|       |
 2176|       |        /* Update globals. */
 2177|      6|        unused_arena_objects = &allarenas[maxarenas];
  ------------------
  |  | 1790|      6|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
                      unused_arena_objects = &allarenas[maxarenas];
  ------------------
  |  | 1788|      6|#define allarenas (state->mgmt.arenas)
  ------------------
                      unused_arena_objects = &allarenas[maxarenas];
  ------------------
  |  | 1789|      6|#define maxarenas (state->mgmt.maxarenas)
  ------------------
 2178|      6|        maxarenas = numarenas;
  ------------------
  |  | 1789|      6|#define maxarenas (state->mgmt.maxarenas)
  ------------------
 2179|      6|    }
 2180|       |
 2181|       |    /* Take the next available arena object off the head of the list. */
 2182|  1.70k|    assert(unused_arena_objects != NULL);
  ------------------
  |  Branch (2182:5): [True: 1.70k, False: 0]
  ------------------
 2183|  1.70k|    arenaobj = unused_arena_objects;
  ------------------
  |  | 1790|  1.70k|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2184|  1.70k|    unused_arena_objects = arenaobj->nextarena;
  ------------------
  |  | 1790|  1.70k|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2185|  1.70k|    assert(arenaobj->address == 0);
  ------------------
  |  Branch (2185:5): [True: 1.70k, False: 0]
  ------------------
 2186|  1.70k|    address = _PyObject_Arena.alloc(_PyObject_Arena.ctx, ARENA_SIZE);
  ------------------
  |  |  721|  1.70k|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                  address = _PyObject_Arena.alloc(_PyObject_Arena.ctx, ARENA_SIZE);
  ------------------
  |  |  721|  1.70k|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                  address = _PyObject_Arena.alloc(_PyObject_Arena.ctx, ARENA_SIZE);
  ------------------
  |  |  225|  1.70k|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  ------------------
  |  |  |  |  220|  1.70k|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  ------------------
  ------------------
 2187|  1.70k|#if WITH_PYMALLOC_RADIX_TREE
 2188|  1.70k|    if (address != NULL) {
  ------------------
  |  Branch (2188:9): [True: 1.70k, False: 0]
  ------------------
 2189|  1.70k|        if (!arena_map_mark_used(state, (uintptr_t)address, 1)) {
  ------------------
  |  Branch (2189:13): [True: 0, False: 1.70k]
  ------------------
 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|  1.70k|    }
 2195|  1.70k|#endif
 2196|  1.70k|    if (address == NULL) {
  ------------------
  |  Branch (2196:9): [True: 0, False: 1.70k]
  ------------------
 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|  1.70k|    arenaobj->address = (uintptr_t)address;
 2205|       |
 2206|  1.70k|    ++narenas_currently_allocated;
  ------------------
  |  | 1793|  1.70k|#define narenas_currently_allocated (state->mgmt.narenas_currently_allocated)
  ------------------
 2207|  1.70k|    ++ntimes_arena_allocated;
  ------------------
  |  | 1794|  1.70k|#define ntimes_arena_allocated (state->mgmt.ntimes_arena_allocated)
  ------------------
 2208|  1.70k|    if (narenas_currently_allocated > narenas_highwater)
  ------------------
  |  | 1793|  1.70k|#define narenas_currently_allocated (state->mgmt.narenas_currently_allocated)
  ------------------
                  if (narenas_currently_allocated > narenas_highwater)
  ------------------
  |  | 1795|  1.70k|#define narenas_highwater (state->mgmt.narenas_highwater)
  ------------------
  |  Branch (2208:9): [True: 147, False: 1.55k]
  ------------------
 2209|    147|        narenas_highwater = narenas_currently_allocated;
  ------------------
  |  | 1795|    147|#define narenas_highwater (state->mgmt.narenas_highwater)
  ------------------
                      narenas_highwater = narenas_currently_allocated;
  ------------------
  |  | 1793|    147|#define narenas_currently_allocated (state->mgmt.narenas_currently_allocated)
  ------------------
 2210|  1.70k|    arenaobj->freepools = NULL;
 2211|       |    /* pool_address <- first pool-aligned address in the arena
 2212|       |       nfreepools <- number of whole pools that fit after alignment */
 2213|  1.70k|    arenaobj->pool_address = (pymem_block*)arenaobj->address;
 2214|  1.70k|    arenaobj->nfreepools = MAX_POOLS_IN_ARENA;
  ------------------
  |  |  249|  1.70k|#define MAX_POOLS_IN_ARENA  (ARENA_SIZE / POOL_SIZE)
  |  |  ------------------
  |  |  |  |  225|  1.70k|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|  1.70k|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAX_POOLS_IN_ARENA  (ARENA_SIZE / POOL_SIZE)
  |  |  ------------------
  |  |  |  |  240|  1.70k|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  236|  1.70k|#define POOL_BITS               14                  /* 16 KiB */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2215|  1.70k|    excess = (uint)(arenaobj->address & POOL_SIZE_MASK);
  ------------------
  |  |  241|  1.70k|#define POOL_SIZE_MASK          (POOL_SIZE - 1)
  |  |  ------------------
  |  |  |  |  240|  1.70k|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  236|  1.70k|#define POOL_BITS               14                  /* 16 KiB */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2216|  1.70k|    if (excess != 0) {
  ------------------
  |  Branch (2216:9): [True: 1.69k, False: 5]
  ------------------
 2217|  1.69k|        --arenaobj->nfreepools;
 2218|  1.69k|        arenaobj->pool_address += POOL_SIZE - excess;
  ------------------
  |  |  240|  1.69k|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  ------------------
  |  |  |  |  236|  1.69k|#define POOL_BITS               14                  /* 16 KiB */
  |  |  ------------------
  ------------------
 2219|  1.69k|    }
 2220|  1.70k|    arenaobj->ntotalpools = arenaobj->nfreepools;
 2221|       |
 2222|  1.70k|    return arenaobj;
 2223|  1.70k|}
obmalloc.c:arena_map_mark_used:
 2053|  3.37k|{
 2054|       |    /* sanity check that IGNORE_BITS is correct */
 2055|  3.37k|    assert(HIGH_BITS(arena_base) == HIGH_BITS(&arena_map_root));
  ------------------
  |  Branch (2055:5): [True: 3.37k, Folded]
  ------------------
 2056|  3.37k|    arena_map_bot_t *n_hi = arena_map_get(
 2057|  3.37k|            state, (pymem_block *)arena_base, is_used);
 2058|  3.37k|    if (n_hi == NULL) {
  ------------------
  |  Branch (2058:9): [True: 0, False: 3.37k]
  ------------------
 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|  3.37k|    int i3 = MAP_BOT_INDEX((pymem_block *)arena_base);
  ------------------
  |  |  625|  3.37k|#define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  624|  3.37k|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  620|  3.37k|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|  3.37k|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  618|  3.37k|#define MAP_BOT_MASK (MAP_BOT_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  617|  3.37k|#define MAP_BOT_LENGTH (1 << MAP_BOT_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  616|  3.37k|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|  3.37k|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|  3.37k|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|  3.37k|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|  3.37k|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|  3.37k|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|  3.37k|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|  3.37k|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|  3.37k|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|  3.37k|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2063|  3.37k|    int32_t tail = (int32_t)(arena_base & ARENA_SIZE_MASK);
  ------------------
  |  |  226|  3.37k|#define ARENA_SIZE_MASK         (ARENA_SIZE - 1)
  |  |  ------------------
  |  |  |  |  225|  3.37k|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|  3.37k|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2064|  3.37k|    if (tail == 0) {
  ------------------
  |  Branch (2064:9): [True: 4, False: 3.36k]
  ------------------
 2065|       |        /* is ideal arena address */
 2066|      4|        n_hi->arenas[i3].tail_hi = is_used ? -1 : 0;
  ------------------
  |  Branch (2066:36): [True: 4, False: 0]
  ------------------
 2067|      4|    }
 2068|  3.36k|    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|  3.36k|        n_hi->arenas[i3].tail_hi = is_used ? tail : 0;
  ------------------
  |  Branch (2075:36): [True: 1.69k, False: 1.66k]
  ------------------
 2076|  3.36k|        uintptr_t arena_base_next = arena_base + ARENA_SIZE;
  ------------------
  |  |  225|  3.36k|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  ------------------
  |  |  |  |  220|  3.36k|#    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|  3.36k|        assert(arena_base < arena_base_next);
  ------------------
  |  Branch (2081:9): [True: 3.36k, False: 0]
  ------------------
 2082|  3.36k|        arena_map_bot_t *n_lo = arena_map_get(
 2083|  3.36k|                state, (pymem_block *)arena_base_next, is_used);
 2084|  3.36k|        if (n_lo == NULL) {
  ------------------
  |  Branch (2084:13): [True: 0, False: 3.36k]
  ------------------
 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|  3.36k|        int i3_next = MAP_BOT_INDEX(arena_base_next);
  ------------------
  |  |  625|  3.36k|#define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  624|  3.36k|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  620|  3.36k|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|  3.36k|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  618|  3.36k|#define MAP_BOT_MASK (MAP_BOT_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  617|  3.36k|#define MAP_BOT_LENGTH (1 << MAP_BOT_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  616|  3.36k|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|  3.36k|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|  3.36k|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|  3.36k|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|  3.36k|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|  3.36k|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|  3.36k|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|  3.36k|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|  3.36k|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|  3.36k|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2090|  3.36k|        n_lo->arenas[i3_next].tail_lo = is_used ? tail : 0;
  ------------------
  |  Branch (2090:41): [True: 1.69k, False: 1.66k]
  ------------------
 2091|  3.36k|    }
 2092|  3.37k|    return 1;
 2093|  3.37k|}
obmalloc.c:arena_map_get:
 1992|   100M|{
 1993|   100M|#ifdef USE_INTERIOR_NODES
 1994|       |    /* sanity check that IGNORE_BITS is correct */
 1995|   100M|    assert(HIGH_BITS(p) == HIGH_BITS(&arena_map_root));
  ------------------
  |  Branch (1995:5): [True: 100M, Folded]
  ------------------
 1996|   100M|    int i1 = MAP_TOP_INDEX(p);
  ------------------
  |  |  627|   100M|#define MAP_TOP_INDEX(p) ((AS_UINT(p) >> MAP_TOP_SHIFT) & MAP_TOP_MASK)
  |  |  ------------------
  |  |  |  |  624|   100M|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_TOP_INDEX(p) ((AS_UINT(p) >> MAP_TOP_SHIFT) & MAP_TOP_MASK)
  |  |  ------------------
  |  |  |  |  622|   100M|#define MAP_TOP_SHIFT (MAP_MID_BITS + MAP_MID_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  612|   100M|#define MAP_MID_BITS INTERIOR_BITS
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  603|   100M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|   100M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|   100M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|   100M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|   100M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define MAP_TOP_SHIFT (MAP_MID_BITS + MAP_MID_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|   100M|#define MAP_MID_SHIFT (MAP_BOT_BITS + MAP_BOT_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  616|   100M|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|   100M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|   100M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|   100M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|   100M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|   100M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|   100M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|   100M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|   100M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|   100M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define MAP_MID_SHIFT (MAP_BOT_BITS + MAP_BOT_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  620|   100M|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|   100M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_TOP_INDEX(p) ((AS_UINT(p) >> MAP_TOP_SHIFT) & MAP_TOP_MASK)
  |  |  ------------------
  |  |  |  |  610|   100M|#define MAP_TOP_MASK (MAP_TOP_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  609|   100M|#define MAP_TOP_LENGTH (1 << MAP_TOP_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  608|   100M|#define MAP_TOP_BITS INTERIOR_BITS
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|   100M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|   100M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|   100M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|   100M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|   100M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1997|   100M|    if (arena_map_root.ptrs[i1] == NULL) {
  ------------------
  |  | 1982|   100M|#define arena_map_root (state->usage.arena_map_root)
  ------------------
  |  Branch (1997:9): [True: 2, False: 100M]
  ------------------
 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|   100M|    int i2 = MAP_MID_INDEX(p);
  ------------------
  |  |  626|   100M|#define MAP_MID_INDEX(p) ((AS_UINT(p) >> MAP_MID_SHIFT) & MAP_MID_MASK)
  |  |  ------------------
  |  |  |  |  624|   100M|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_MID_INDEX(p) ((AS_UINT(p) >> MAP_MID_SHIFT) & MAP_MID_MASK)
  |  |  ------------------
  |  |  |  |  621|   100M|#define MAP_MID_SHIFT (MAP_BOT_BITS + MAP_BOT_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  616|   100M|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  599|   100M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  565|   100M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  576|   100M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  220|   100M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  603|   100M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|   100M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|   100M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|   100M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|   100M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define MAP_MID_SHIFT (MAP_BOT_BITS + MAP_BOT_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  620|   100M|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  220|   100M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_MID_INDEX(p) ((AS_UINT(p) >> MAP_MID_SHIFT) & MAP_MID_MASK)
  |  |  ------------------
  |  |  |  |  614|   100M|#define MAP_MID_MASK (MAP_MID_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  613|   100M|#define MAP_MID_LENGTH (1 << MAP_MID_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  612|   100M|#define MAP_MID_BITS INTERIOR_BITS
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|   100M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|   100M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|   100M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|   100M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|   100M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2009|   100M|    if (arena_map_root.ptrs[i1]->ptrs[i2] == NULL) {
  ------------------
  |  | 1982|   100M|#define arena_map_root (state->usage.arena_map_root)
  ------------------
  |  Branch (2009:9): [True: 1.54M, False: 98.9M]
  ------------------
 2010|  1.54M|        if (!create) {
  ------------------
  |  Branch (2010:13): [True: 1.54M, False: 2]
  ------------------
 2011|  1.54M|            return NULL;
 2012|  1.54M|        }
 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|  98.9M|    return arena_map_root.ptrs[i1]->ptrs[i2];
  ------------------
  |  | 1982|  98.9M|#define arena_map_root (state->usage.arena_map_root)
  ------------------
 2021|       |#else
 2022|       |    return &arena_map_root;
 2023|       |#endif
 2024|   100M|}
obmalloc.c:pymalloc_free:
 2766|  98.4M|{
 2767|  98.4M|    assert(p != NULL);
  ------------------
  |  Branch (2767:5): [True: 98.4M, False: 0]
  ------------------
 2768|       |
 2769|       |#ifdef WITH_VALGRIND
 2770|       |    if (UNLIKELY(running_on_valgrind > 0)) {
 2771|       |        return 0;
 2772|       |    }
 2773|       |#endif
 2774|       |
 2775|  98.4M|    poolp pool = POOL_ADDR(p);
  ------------------
  |  |  324|  98.4M|#define POOL_ADDR(P) ((poolp)_Py_ALIGN_DOWN((P), POOL_SIZE))
  |  |  ------------------
  |  |  |  |  216|  98.4M|#define _Py_ALIGN_DOWN(p, a) ((void *)((uintptr_t)(p) & ~(uintptr_t)((a) - 1)))
  |  |  ------------------
  ------------------
 2776|  98.4M|    if (UNLIKELY(!address_in_range(state, p, pool))) {
  ------------------
  |  | 1745|  98.4M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1745:27): [True: 1.27M, False: 97.2M]
  |  |  ------------------
  ------------------
 2777|  1.27M|        return 0;
 2778|  1.27M|    }
 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.4M|    assert(pool->ref.count > 0);            /* else it was empty */
  ------------------
  |  Branch (2787:5): [True: 97.2M, False: 0]
  ------------------
 2788|  97.2M|    pymem_block *lastfree = pool->freeblock;
 2789|  97.2M|    *(pymem_block **)p = lastfree;
 2790|  97.2M|    pool->freeblock = (pymem_block *)p;
 2791|  97.2M|    pool->ref.count--;
 2792|       |
 2793|  97.2M|    if (UNLIKELY(lastfree == NULL)) {
  ------------------
  |  | 1745|  97.2M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1745:27): [True: 7.98M, False: 89.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|  7.98M|        insert_to_usedpool(state, pool);
 2801|  7.98M|        return 1;
 2802|  7.98M|    }
 2803|       |
 2804|       |    /* freeblock wasn't NULL, so the pool wasn't full,
 2805|       |     * and the pool is in a usedpools[] list.
 2806|       |     */
 2807|  89.2M|    if (LIKELY(pool->ref.count != 0)) {
  ------------------
  |  | 1746|  89.2M|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1746:25): [True: 89.0M, False: 209k]
  |  |  ------------------
  ------------------
 2808|       |        /* pool isn't empty:  leave it in usedpools */
 2809|  89.0M|        return 1;
 2810|  89.0M|    }
 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|   209k|    insert_to_freepool(state, pool);
 2818|   209k|    return 1;
 2819|  89.2M|}
obmalloc.c:address_in_range:
 2233|   100M|{
 2234|   100M|    return arena_map_is_used(state, p);
 2235|   100M|}
obmalloc.c:arena_map_is_used:
 2099|   100M|{
 2100|   100M|    arena_map_bot_t *n = arena_map_get(state, p, 0);
 2101|   100M|    if (n == NULL) {
  ------------------
  |  Branch (2101:9): [True: 1.54M, False: 98.9M]
  ------------------
 2102|  1.54M|        return 0;
 2103|  1.54M|    }
 2104|  98.9M|    int i3 = MAP_BOT_INDEX(p);
  ------------------
  |  |  625|  98.9M|#define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  624|  98.9M|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  620|  98.9M|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|  98.9M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  618|  98.9M|#define MAP_BOT_MASK (MAP_BOT_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  617|  98.9M|#define MAP_BOT_LENGTH (1 << MAP_BOT_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  616|  98.9M|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|  98.9M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|  98.9M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|  98.9M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|  98.9M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|  98.9M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|  98.9M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|  98.9M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|  98.9M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|  98.9M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2105|       |    /* ARENA_BITS must be < 32 so that the tail is a non-negative int32_t. */
 2106|  98.9M|    int32_t hi = n->arenas[i3].tail_hi;
 2107|  98.9M|    int32_t lo = n->arenas[i3].tail_lo;
 2108|  98.9M|    int32_t tail = (int32_t)(AS_UINT(p) & ARENA_SIZE_MASK);
  ------------------
  |  |  624|  98.9M|#define AS_UINT(p) ((uintptr_t)(p))
  ------------------
                  int32_t tail = (int32_t)(AS_UINT(p) & ARENA_SIZE_MASK);
  ------------------
  |  |  226|  98.9M|#define ARENA_SIZE_MASK         (ARENA_SIZE - 1)
  |  |  ------------------
  |  |  |  |  225|  98.9M|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|  98.9M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2109|  98.9M|    return (tail < lo) || (tail >= hi && hi != 0);
  ------------------
  |  Branch (2109:12): [True: 62.5M, False: 36.3M]
  |  Branch (2109:28): [True: 36.3M, False: 1]
  |  Branch (2109:42): [True: 36.3M, False: 7]
  ------------------
 2110|   100M|}
obmalloc.c:insert_to_usedpool:
 2580|  7.98M|{
 2581|  7.98M|    assert(pool->ref.count > 0);            /* else the pool is empty */
  ------------------
  |  Branch (2581:5): [True: 7.98M, False: 0]
  ------------------
 2582|       |
 2583|  7.98M|    uint size = pool->szidx;
  ------------------
  |  |   35|  7.98M|#define uint pymem_uint
  ------------------
 2584|  7.98M|    poolp next = usedpools[size + size];
  ------------------
  |  | 1787|  7.98M|#define usedpools (state->pools.used)
  ------------------
 2585|  7.98M|    poolp prev = next->prevpool;
 2586|       |
 2587|       |    /* insert pool before next:   prev <-> pool <-> next */
 2588|  7.98M|    pool->nextpool = next;
 2589|  7.98M|    pool->prevpool = prev;
 2590|  7.98M|    next->prevpool = pool;
 2591|  7.98M|    prev->nextpool = pool;
 2592|  7.98M|}
obmalloc.c:insert_to_freepool:
 2596|   209k|{
 2597|   209k|    poolp next = pool->nextpool;
 2598|   209k|    poolp prev = pool->prevpool;
 2599|   209k|    next->prevpool = prev;
 2600|   209k|    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|   209k|    struct arena_object *ao = &allarenas[pool->arenaindex];
  ------------------
  |  | 1788|   209k|#define allarenas (state->mgmt.arenas)
  ------------------
 2606|   209k|    pool->nextpool = ao->freepools;
 2607|   209k|    ao->freepools = pool;
 2608|   209k|    uint nf = ao->nfreepools;
  ------------------
  |  |   35|   209k|#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|   209k|    struct arena_object* lastnf = nfp2lasta[nf];
  ------------------
  |  | 1792|   209k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
 2614|   209k|    assert((nf == 0 && lastnf == NULL) ||
  ------------------
  |  Branch (2614:5): [True: 5.94k, False: 203k]
  |  Branch (2614:5): [True: 5.94k, False: 0]
  |  Branch (2614:5): [True: 203k, False: 0]
  |  Branch (2614:5): [True: 203k, False: 0]
  |  Branch (2614:5): [True: 203k, False: 0]
  |  Branch (2614:5): [True: 12.9k, False: 190k]
  |  Branch (2614:5): [True: 190k, False: 0]
  ------------------
 2615|   209k|           (nf > 0 &&
 2616|   209k|            lastnf != NULL &&
 2617|   209k|            lastnf->nfreepools == nf &&
 2618|   209k|            (lastnf->nextarena == NULL ||
 2619|   209k|             nf < lastnf->nextarena->nfreepools)));
 2620|   209k|    if (lastnf == ao) {  /* it is the rightmost */
  ------------------
  |  Branch (2620:9): [True: 185k, False: 23.8k]
  ------------------
 2621|   185k|        struct arena_object* p = ao->prevarena;
 2622|   185k|        nfp2lasta[nf] = (p != NULL && p->nfreepools == nf) ? p : NULL;
  ------------------
  |  | 1792|   185k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
  |  Branch (2622:26): [True: 144k, False: 41.0k]
  |  Branch (2622:39): [True: 49, False: 144k]
  ------------------
 2623|   185k|    }
 2624|   209k|    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|   209k|    if (nf == ao->ntotalpools && ao->nextarena != NULL) {
  ------------------
  |  Branch (2643:9): [True: 1.90k, False: 207k]
  |  Branch (2643:34): [True: 1.66k, False: 241]
  ------------------
 2644|       |        /* Case 1.  First unlink ao from usable_arenas.
 2645|       |         */
 2646|  1.66k|        assert(ao->prevarena == NULL ||
  ------------------
  |  Branch (2646:9): [True: 0, False: 1.66k]
  |  Branch (2646:9): [True: 1.66k, False: 0]
  ------------------
 2647|  1.66k|               ao->prevarena->address != 0);
 2648|  1.66k|        assert(ao ->nextarena == NULL ||
  ------------------
  |  Branch (2648:9): [True: 0, False: 1.66k]
  |  Branch (2648:9): [True: 1.66k, False: 0]
  ------------------
 2649|  1.66k|               ao->nextarena->address != 0);
 2650|       |
 2651|       |        /* Fix the pointer in the prevarena, or the
 2652|       |         * usable_arenas pointer.
 2653|       |         */
 2654|  1.66k|        if (ao->prevarena == NULL) {
  ------------------
  |  Branch (2654:13): [True: 0, False: 1.66k]
  ------------------
 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|  1.66k|        else {
 2660|  1.66k|            assert(ao->prevarena->nextarena == ao);
  ------------------
  |  Branch (2660:13): [True: 1.66k, False: 0]
  ------------------
 2661|  1.66k|            ao->prevarena->nextarena =
 2662|  1.66k|                ao->nextarena;
 2663|  1.66k|        }
 2664|       |        /* Fix the pointer in the nextarena. */
 2665|  1.66k|        if (ao->nextarena != NULL) {
  ------------------
  |  Branch (2665:13): [True: 1.66k, False: 0]
  ------------------
 2666|  1.66k|            assert(ao->nextarena->prevarena == ao);
  ------------------
  |  Branch (2666:13): [True: 1.66k, False: 0]
  ------------------
 2667|  1.66k|            ao->nextarena->prevarena =
 2668|  1.66k|                ao->prevarena;
 2669|  1.66k|        }
 2670|       |        /* Record that this arena_object slot is
 2671|       |         * available to be reused.
 2672|       |         */
 2673|  1.66k|        ao->nextarena = unused_arena_objects;
  ------------------
  |  | 1790|  1.66k|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2674|  1.66k|        unused_arena_objects = ao;
  ------------------
  |  | 1790|  1.66k|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2675|       |
 2676|  1.66k|#if WITH_PYMALLOC_RADIX_TREE
 2677|       |        /* mark arena region as not under control of obmalloc */
 2678|  1.66k|        arena_map_mark_used(state, ao->address, 0);
 2679|  1.66k|#endif
 2680|       |
 2681|       |        /* Free the entire arena. */
 2682|  1.66k|        _PyObject_Arena.free(_PyObject_Arena.ctx,
  ------------------
  |  |  721|  1.66k|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                      _PyObject_Arena.free(_PyObject_Arena.ctx,
  ------------------
  |  |  721|  1.66k|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
 2683|  1.66k|                             (void *)ao->address, ARENA_SIZE);
  ------------------
  |  |  225|  1.66k|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  ------------------
  |  |  |  |  220|  1.66k|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  ------------------
  ------------------
 2684|  1.66k|        ao->address = 0;                        /* mark unassociated */
 2685|  1.66k|        --narenas_currently_allocated;
  ------------------
  |  | 1793|  1.66k|#define narenas_currently_allocated (state->mgmt.narenas_currently_allocated)
  ------------------
 2686|       |
 2687|  1.66k|        return;
 2688|  1.66k|    }
 2689|       |
 2690|   208k|    if (nf == 1) {
  ------------------
  |  Branch (2690:9): [True: 5.94k, False: 202k]
  ------------------
 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|  5.94k|        ao->nextarena = usable_arenas;
  ------------------
  |  | 1791|  5.94k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2697|  5.94k|        ao->prevarena = NULL;
 2698|  5.94k|        if (usable_arenas)
  ------------------
  |  | 1791|  5.94k|#define usable_arenas (state->mgmt.usable_arenas)
  |  |  ------------------
  |  |  |  Branch (1791:23): [True: 5.91k, False: 30]
  |  |  ------------------
  ------------------
 2699|  5.91k|            usable_arenas->prevarena = ao;
  ------------------
  |  | 1791|  5.91k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2700|  5.94k|        usable_arenas = ao;
  ------------------
  |  | 1791|  5.94k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2701|  5.94k|        assert(usable_arenas->address != 0);
  ------------------
  |  Branch (2701:9): [True: 5.94k, False: 0]
  ------------------
 2702|  5.94k|        if (nfp2lasta[1] == NULL) {
  ------------------
  |  | 1792|  5.94k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
  |  Branch (2702:13): [True: 5.05k, False: 889]
  ------------------
 2703|  5.05k|            nfp2lasta[1] = ao;
  ------------------
  |  | 1792|  5.05k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
 2704|  5.05k|        }
 2705|       |
 2706|  5.94k|        return;
 2707|  5.94k|    }
 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|   202k|    if (nfp2lasta[nf] == NULL) {
  ------------------
  |  | 1792|   202k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
  |  Branch (2717:9): [True: 184k, False: 17.8k]
  ------------------
 2718|   184k|        nfp2lasta[nf] = ao;
  ------------------
  |  | 1792|   184k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
 2719|   184k|    } /* else the rightmost with nf doesn't change */
 2720|       |    /* If this was the rightmost of the old size, it remains in place. */
 2721|   202k|    if (ao == lastnf) {
  ------------------
  |  Branch (2721:9): [True: 185k, False: 16.2k]
  ------------------
 2722|       |        /* Case 4.  Nothing to do. */
 2723|   185k|        return;
 2724|   185k|    }
 2725|       |    /* If ao were the only arena in the list, the last block would have
 2726|       |     * gotten us out.
 2727|       |     */
 2728|   202k|    assert(ao->nextarena != NULL);
  ------------------
  |  Branch (2728:5): [True: 16.2k, 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|  16.2k|    if (ao->prevarena != NULL) {
  ------------------
  |  Branch (2735:9): [True: 13.3k, False: 2.87k]
  ------------------
 2736|       |        /* ao isn't at the head of the list */
 2737|  13.3k|        assert(ao->prevarena->nextarena == ao);
  ------------------
  |  Branch (2737:9): [True: 13.3k, False: 0]
  ------------------
 2738|  13.3k|        ao->prevarena->nextarena = ao->nextarena;
 2739|  13.3k|    }
 2740|  2.87k|    else {
 2741|       |        /* ao is at the head of the list */
 2742|  2.87k|        assert(usable_arenas == ao);
  ------------------
  |  Branch (2742:9): [True: 2.87k, False: 0]
  ------------------
 2743|  2.87k|        usable_arenas = ao->nextarena;
  ------------------
  |  | 1791|  2.87k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2744|  2.87k|    }
 2745|  16.2k|    ao->nextarena->prevarena = ao->prevarena;
 2746|       |    /* And insert after lastnf. */
 2747|  16.2k|    ao->prevarena = lastnf;
 2748|  16.2k|    ao->nextarena = lastnf->nextarena;
 2749|  16.2k|    if (ao->nextarena != NULL) {
  ------------------
  |  Branch (2749:9): [True: 15.9k, False: 295]
  ------------------
 2750|  15.9k|        ao->nextarena->prevarena = ao;
 2751|  15.9k|    }
 2752|  16.2k|    lastnf->nextarena = ao;
 2753|       |    /* Verify that the swaps worked. */
 2754|  16.2k|    assert(ao->nextarena == NULL || nf <= ao->nextarena->nfreepools);
  ------------------
  |  Branch (2754:5): [True: 295, False: 15.9k]
  |  Branch (2754:5): [True: 15.9k, False: 0]
  ------------------
 2755|  16.2k|    assert(ao->prevarena == NULL || nf > ao->prevarena->nfreepools);
  ------------------
  |  Branch (2755:5): [True: 0, False: 16.2k]
  |  Branch (2755:5): [True: 16.2k, False: 0]
  ------------------
 2756|  16.2k|    assert(ao->nextarena == NULL || ao->nextarena->prevarena == ao);
  ------------------
  |  Branch (2756:5): [True: 295, False: 15.9k]
  |  Branch (2756:5): [True: 15.9k, False: 0]
  ------------------
 2757|  16.2k|    assert((usable_arenas == ao && ao->prevarena == NULL)
  ------------------
  |  Branch (2757:5): [True: 0, False: 16.2k]
  |  Branch (2757:5): [True: 0, False: 0]
  |  Branch (2757:5): [True: 16.2k, False: 0]
  ------------------
 2758|  16.2k|           || ao->prevarena->nextarena == ao);
 2759|  16.2k|}
obmalloc.c:pymalloc_realloc:
 2851|  2.01M|{
 2852|  2.01M|    void *bp;
 2853|  2.01M|    poolp pool;
 2854|  2.01M|    size_t size;
 2855|       |
 2856|  2.01M|    assert(p != NULL);
  ------------------
  |  Branch (2856:5): [True: 2.01M, 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|  2.01M|    pool = POOL_ADDR(p);
  ------------------
  |  |  324|  2.01M|#define POOL_ADDR(P) ((poolp)_Py_ALIGN_DOWN((P), POOL_SIZE))
  |  |  ------------------
  |  |  |  |  216|  2.01M|#define _Py_ALIGN_DOWN(p, a) ((void *)((uintptr_t)(p) & ~(uintptr_t)((a) - 1)))
  |  |  ------------------
  ------------------
 2866|  2.01M|    if (!address_in_range(state, p, pool)) {
  ------------------
  |  Branch (2866:9): [True: 271k, False: 1.74M]
  ------------------
 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|   271k|        return 0;
 2880|   271k|    }
 2881|       |
 2882|       |    /* pymalloc is in charge of this block */
 2883|  1.74M|    size = INDEX2SIZE(pool->szidx);
  ------------------
  |  |  146|  1.74M|#define INDEX2SIZE(I) (((pymem_uint)(I) + 1) << ALIGNMENT_SHIFT)
  |  |  ------------------
  |  |  |  |  139|  1.74M|#define ALIGNMENT_SHIFT         4
  |  |  ------------------
  ------------------
 2884|  1.74M|    if (nbytes <= size) {
  ------------------
  |  Branch (2884:9): [True: 688k, False: 1.05M]
  ------------------
 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|   688k|        if (4 * nbytes > 3 * size) {
  ------------------
  |  Branch (2892:13): [True: 336k, False: 351k]
  ------------------
 2893|       |            /* It's the same, or shrinking and new/old > 3/4. */
 2894|   336k|            *newptr_p = p;
 2895|   336k|            return 1;
 2896|   336k|        }
 2897|   351k|        size = nbytes;
 2898|   351k|    }
 2899|       |
 2900|  1.40M|    bp = _PyObject_Malloc(ctx, nbytes);
 2901|  1.40M|    if (bp != NULL) {
  ------------------
  |  Branch (2901:9): [True: 1.40M, False: 0]
  ------------------
 2902|  1.40M|        memcpy(bp, p, size);
 2903|  1.40M|        _PyObject_Free(ctx, p);
 2904|  1.40M|    }
 2905|  1.40M|    *newptr_p = bp;
 2906|  1.40M|    return 1;
 2907|  1.74M|}
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|    400|{
  187|    400|    rangeobject *r = (rangeobject*)op;
  188|    400|    Py_DECREF(r->start);
  ------------------
  |  |  430|    400|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    400|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    400|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|    400|    Py_DECREF(r->stop);
  ------------------
  |  |  430|    400|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    400|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    400|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  190|    400|    Py_DECREF(r->step);
  ------------------
  |  |  430|    400|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    400|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    400|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|    400|    Py_DECREF(r->length);
  ------------------
  |  |  430|    400|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    400|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    400|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  192|    400|    _Py_FREELIST_FREE(ranges, r, PyObject_Free);
  ------------------
  |  |   35|    400|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|    400|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    400|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|    400|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   22|    400|#  define Py_ranges_MAXFREELIST 6
  |  |  ------------------
  ------------------
  193|    400|}
rangeobject.c:range_length:
  327|     42|{
  328|     42|    rangeobject *r = (rangeobject*)op;
  329|     42|    return PyLong_AsSsize_t(r->length);
  330|     42|}
rangeobject.c:compute_item:
  334|     80|{
  335|     80|    PyObject *incr, *result;
  336|       |    /* PyLong equivalent to:
  337|       |     *    return r->start + (i * r->step)
  338|       |     */
  339|     80|    if (r->step == _PyLong_GetOne()) {
  ------------------
  |  Branch (339:9): [True: 80, False: 0]
  ------------------
  340|     80|        result = PyNumber_Add(r->start, i);
  341|     80|    }
  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|     80|    return result;
  351|     80|}
rangeobject.c:range_subscript:
  730|     40|{
  731|     40|    rangeobject *self = (rangeobject*)op;
  732|     40|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (732:9): [True: 0, False: 40]
  ------------------
  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|     40|    if (PySlice_Check(item)) {
  ------------------
  |  |   22|     40|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|     40|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 40, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  742|     40|        return compute_slice(self, item);
  743|     40|    }
  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|     40|}
rangeobject.c:compute_slice:
  420|     40|{
  421|     40|    PySliceObject *slice = (PySliceObject *) _slice;
  422|     40|    rangeobject *result;
  423|     40|    PyObject *start = NULL, *stop = NULL, *step = NULL;
  424|     40|    PyObject *substart = NULL, *substop = NULL, *substep = NULL;
  425|     40|    int error;
  426|       |
  427|     40|    error = _PySlice_GetLongIndices(slice, r->length, &start, &stop, &step);
  428|     40|    if (error == -1)
  ------------------
  |  Branch (428:9): [True: 0, False: 40]
  ------------------
  429|      0|        return NULL;
  430|       |
  431|     40|    substep = PyNumber_Multiply(r->step, step);
  432|     40|    if (substep == NULL) goto fail;
  ------------------
  |  Branch (432:9): [True: 0, False: 40]
  ------------------
  433|     40|    Py_CLEAR(step);
  ------------------
  |  |  484|     40|    do { \
  |  |  485|     40|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     40|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     40|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     40|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     40|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 40, False: 0]
  |  |  ------------------
  |  |  488|     40|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     40|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     40|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     40|        } \
  |  |  491|     40|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
  434|       |
  435|     40|    substart = compute_item(r, start);
  436|     40|    if (substart == NULL) goto fail;
  ------------------
  |  Branch (436:9): [True: 0, False: 40]
  ------------------
  437|     40|    Py_CLEAR(start);
  ------------------
  |  |  484|     40|    do { \
  |  |  485|     40|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     40|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     40|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     40|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     40|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 40, False: 0]
  |  |  ------------------
  |  |  488|     40|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     40|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     40|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     40|        } \
  |  |  491|     40|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
  438|       |
  439|     40|    substop = compute_item(r, stop);
  440|     40|    if (substop == NULL) goto fail;
  ------------------
  |  Branch (440:9): [True: 0, False: 40]
  ------------------
  441|     40|    Py_CLEAR(stop);
  ------------------
  |  |  484|     40|    do { \
  |  |  485|     40|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     40|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     40|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     40|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     40|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 40, False: 0]
  |  |  ------------------
  |  |  488|     40|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     40|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     40|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     40|        } \
  |  |  491|     40|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
  442|       |
  443|     40|    result = make_range_object(Py_TYPE(r), substart, substop, substep);
  ------------------
  |  |  213|     40|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  444|     40|    if (result != NULL) {
  ------------------
  |  Branch (444:9): [True: 40, False: 0]
  ------------------
  445|     40|        return (PyObject *) result;
  446|     40|    }
  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|     40|}
rangeobject.c:make_range_object:
   69|    400|{
   70|    400|    PyObject *length;
   71|    400|    length = compute_range_length(start, stop, step);
   72|    400|    if (length == NULL) {
  ------------------
  |  Branch (72:9): [True: 0, False: 400]
  ------------------
   73|      0|        return NULL;
   74|      0|    }
   75|    400|    rangeobject *obj = _Py_FREELIST_POP(rangeobject, ranges);
  ------------------
  |  |   43|    400|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|    400|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   76|    400|    if (obj == NULL) {
  ------------------
  |  Branch (76:9): [True: 7, False: 393]
  ------------------
   77|      7|        obj = PyObject_New(rangeobject, type);
  ------------------
  |  |  130|      7|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
   78|      7|        if (obj == NULL) {
  ------------------
  |  Branch (78:13): [True: 0, False: 7]
  ------------------
   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|      7|    }
   83|    400|    obj->start = start;
   84|    400|    obj->stop = stop;
   85|    400|    obj->step = step;
   86|    400|    obj->length = length;
   87|    400|    return obj;
   88|    400|}
rangeobject.c:compute_range_length:
  244|    400|{
  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|    400|    int cmp_result;
  250|    400|    PyObject *lo, *hi;
  251|    400|    PyObject *diff = NULL;
  252|    400|    PyObject *tmp1 = NULL, *tmp2 = NULL, *result;
  253|       |                /* holds sub-expression evaluations */
  254|       |
  255|    400|    PyObject *zero = _PyLong_GetZero();  // borrowed reference
  256|    400|    PyObject *one = _PyLong_GetOne();  // borrowed reference
  257|       |
  258|    400|    assert(PyLong_Check(start));
  ------------------
  |  Branch (258:5): [True: 400, False: 0]
  ------------------
  259|    400|    assert(PyLong_Check(stop));
  ------------------
  |  Branch (259:5): [True: 400, False: 0]
  ------------------
  260|    400|    assert(PyLong_Check(step));
  ------------------
  |  Branch (260:5): [True: 400, False: 0]
  ------------------
  261|       |
  262|       |    /* fast path when all arguments fit into a long integer */
  263|    400|    long len = compute_range_length_long(start, stop, step);
  264|    400|    if (len >= 0) {
  ------------------
  |  Branch (264:9): [True: 398, False: 2]
  ------------------
  265|    398|        return PyLong_FromLong(len);
  266|    398|    }
  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|    400|    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|    400|                PyObject *stop, PyObject *step) {
  204|    400|    int overflow = 0;
  205|       |
  206|    400|    long long_start = PyLong_AsLongAndOverflow(start, &overflow);
  207|    400|    if (overflow) {
  ------------------
  |  Branch (207:9): [True: 0, False: 400]
  ------------------
  208|      0|        return -2;
  209|      0|    }
  210|    400|    if (long_start == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (210:9): [True: 2, False: 398]
  |  Branch (210:29): [True: 0, False: 2]
  ------------------
  211|      0|        return -1;
  212|      0|    }
  213|    400|    long long_stop = PyLong_AsLongAndOverflow(stop, &overflow);
  214|    400|    if (overflow) {
  ------------------
  |  Branch (214:9): [True: 2, False: 398]
  ------------------
  215|      2|        return -2;
  216|      2|    }
  217|    398|    if (long_stop == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (217:9): [True: 40, False: 358]
  |  Branch (217:28): [True: 0, False: 40]
  ------------------
  218|      0|        return -1;
  219|      0|    }
  220|    398|    long long_step = PyLong_AsLongAndOverflow(step, &overflow);
  221|    398|    if (overflow) {
  ------------------
  |  Branch (221:9): [True: 0, False: 398]
  ------------------
  222|      0|        return -2;
  223|      0|    }
  224|    398|    if (long_step == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (224:9): [True: 40, False: 358]
  |  Branch (224:28): [True: 0, False: 40]
  ------------------
  225|      0|        return -1;
  226|      0|    }
  227|       |
  228|    398|    unsigned long ulen = get_len_of_range(long_start, long_stop, long_step);
  229|    398|    if (ulen > (unsigned long)LONG_MAX) {
  ------------------
  |  Branch (229:9): [True: 0, False: 398]
  ------------------
  230|       |        /* length too large for a long */
  231|      0|        return -2;
  232|      0|    }
  233|    398|    else {
  234|    398|        return (long)ulen;
  235|    398|    }
  236|    398|}
rangeobject.c:get_len_of_range:
  993|    756|{
  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|    756|    assert(step != 0);
  ------------------
  |  Branch (1007:5): [True: 756, False: 0]
  ------------------
 1008|    756|    if (step > 0 && lo < hi)
  ------------------
  |  Branch (1008:9): [True: 662, False: 94]
  |  Branch (1008:21): [True: 654, False: 8]
  ------------------
 1009|    654|        return 1UL + (hi - 1UL - lo) / step;
 1010|    102|    else if (step < 0 && lo > hi)
  ------------------
  |  Branch (1010:14): [True: 94, False: 8]
  |  Branch (1010:26): [True: 90, False: 4]
  ------------------
 1011|     90|        return 1UL + (lo - 1UL - hi) / (0UL - step);
 1012|     12|    else
 1013|     12|        return 0UL;
 1014|    756|}
rangeobject.c:fast_range_iter:
 1021|    358|{
 1022|    358|    _PyRangeIterObject *it = _Py_FREELIST_POP(_PyRangeIterObject, range_iters);
  ------------------
  |  |   43|    358|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|    358|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1023|    358|    if (it == NULL) {
  ------------------
  |  Branch (1023:9): [True: 5, False: 353]
  ------------------
 1024|      5|        it = PyObject_New(_PyRangeIterObject, &PyRangeIter_Type);
  ------------------
  |  |  130|      5|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
 1025|      5|        if (it == NULL) {
  ------------------
  |  Branch (1025:13): [True: 0, False: 5]
  ------------------
 1026|      0|            return NULL;
 1027|      0|        }
 1028|      5|    }
 1029|    358|    assert(Py_IS_TYPE(it, &PyRangeIter_Type));
  ------------------
  |  Branch (1029:5): [True: 358, False: 0]
  ------------------
 1030|    358|    it->start = start;
 1031|    358|    it->step = step;
 1032|    358|    it->len = len;
 1033|    358|    return (PyObject *)it;
 1034|    358|}
rangeobject.c:range_from_array:
   97|    360|{
   98|    360|    rangeobject *obj;
   99|    360|    PyObject *start = NULL, *stop = NULL, *step = NULL;
  100|       |
  101|    360|    switch (num_args) {
  102|      9|        case 3:
  ------------------
  |  Branch (102:9): [True: 9, False: 351]
  ------------------
  103|      9|            step = args[2];
  104|      9|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|      9|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  105|     20|        case 2:
  ------------------
  |  Branch (105:9): [True: 11, False: 349]
  ------------------
  106|       |            /* Convert borrowed refs to owned refs */
  107|     20|            start = PyNumber_Index(args[0]);
  108|     20|            if (!start) {
  ------------------
  |  Branch (108:17): [True: 0, False: 20]
  ------------------
  109|      0|                return NULL;
  110|      0|            }
  111|     20|            stop = PyNumber_Index(args[1]);
  112|     20|            if (!stop) {
  ------------------
  |  Branch (112:17): [True: 0, False: 20]
  ------------------
  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|     20|            step = validate_step(step);  /* Caution, this can clear exceptions */
  117|     20|            if (!step) {
  ------------------
  |  Branch (117:17): [True: 0, False: 20]
  ------------------
  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|     20|            break;
  123|    340|        case 1:
  ------------------
  |  Branch (123:9): [True: 340, False: 20]
  ------------------
  124|    340|            stop = PyNumber_Index(args[0]);
  125|    340|            if (!stop) {
  ------------------
  |  Branch (125:17): [True: 0, False: 340]
  ------------------
  126|      0|                return NULL;
  127|      0|            }
  128|    340|            start = _PyLong_GetZero();
  129|    340|            step = _PyLong_GetOne();
  130|    340|            break;
  131|      0|        case 0:
  ------------------
  |  Branch (131:9): [True: 0, False: 360]
  ------------------
  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: 360]
  ------------------
  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|    360|    }
  141|    360|    obj = make_range_object(type, start, stop, step);
  142|    360|    if (obj != NULL) {
  ------------------
  |  Branch (142:9): [True: 360, False: 0]
  ------------------
  143|    360|        return (PyObject *) obj;
  144|    360|    }
  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|    360|}
rangeobject.c:validate_step:
   48|     20|{
   49|       |    /* No step specified, use a step of 1. */
   50|     20|    if (!step)
  ------------------
  |  Branch (50:9): [True: 11, False: 9]
  ------------------
   51|     11|        return PyLong_FromLong(1);
   52|       |
   53|      9|    step = PyNumber_Index(step);
   54|      9|    if (step && _PyLong_IsZero((PyLongObject *)step)) {
  ------------------
  |  Branch (54:9): [True: 9, False: 0]
  |  Branch (54:17): [True: 0, False: 9]
  ------------------
   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|      9|    return step;
   61|     20|}
rangeobject.c:range_vectorcall:
  166|    360|{
  167|    360|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    360|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  168|    360|    if (!_PyArg_NoKwnames("range", kwnames)) {
  ------------------
  |  |   15|    360|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 360, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  169|      0|        return NULL;
  170|      0|    }
  171|    360|    return range_from_array((PyTypeObject *)rangetype, args, nargs);
  172|    360|}
rangeobject.c:rangeiter_dealloc:
  944|    358|{
  945|    358|    _Py_FREELIST_FREE(range_iters, (_PyRangeIterObject *)self, PyObject_Free);
  ------------------
  |  |   35|    358|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|    358|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    358|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|    358|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   23|    358|#  define Py_range_iters_MAXFREELIST 6
  |  |  ------------------
  ------------------
  946|    358|}
rangeobject.c:rangeiter_next:
  847|  4.56k|{
  848|  4.56k|    PyObject *ret = NULL;
  849|  4.56k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  4.56k|    {
  ------------------
  850|  4.56k|    _PyRangeIterObject *r = (_PyRangeIterObject*)op;
  851|  4.56k|    if (r->len > 0) {
  ------------------
  |  Branch (851:9): [True: 4.51k, False: 46]
  ------------------
  852|  4.51k|        long result = r->start;
  853|  4.51k|        r->start = result + r->step;
  854|  4.51k|        r->len--;
  855|  4.51k|        ret = PyLong_FromLong(result);
  856|  4.51k|    }
  857|  4.56k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  4.56k|    }
  ------------------
  858|  4.56k|    return ret;
  859|  4.56k|}
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|    360|{
 1229|    360|    rangeobject *r = (rangeobject *)seq;
 1230|    360|    longrangeiterobject *it;
 1231|    360|    long lstart, lstop, lstep;
 1232|    360|    unsigned long ulen;
 1233|       |
 1234|    360|    assert(PyRange_Check(seq));
  ------------------
  |  Branch (1234:5): [True: 360, False: 0]
  ------------------
 1235|       |
 1236|       |    /* If all three fields and the length convert to long, use the int
 1237|       |     * version */
 1238|    360|    lstart = PyLong_AsLong(r->start);
 1239|    360|    if (lstart == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1239:9): [True: 2, False: 358]
  |  Branch (1239:25): [True: 0, False: 2]
  ------------------
 1240|      0|        PyErr_Clear();
 1241|      0|        goto long_range;
 1242|      0|    }
 1243|    360|    lstop = PyLong_AsLong(r->stop);
 1244|    360|    if (lstop == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1244:9): [True: 42, False: 318]
  |  Branch (1244:24): [True: 2, False: 40]
  ------------------
 1245|      2|        PyErr_Clear();
 1246|      2|        goto long_range;
 1247|      2|    }
 1248|    358|    lstep = PyLong_AsLong(r->step);
 1249|    358|    if (lstep == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1249:9): [True: 40, False: 318]
  |  Branch (1249:24): [True: 0, False: 40]
  ------------------
 1250|      0|        PyErr_Clear();
 1251|      0|        goto long_range;
 1252|      0|    }
 1253|    358|    ulen = get_len_of_range(lstart, lstop, lstep);
 1254|    358|    if (ulen > (unsigned long)LONG_MAX) {
  ------------------
  |  Branch (1254:9): [True: 0, False: 358]
  ------------------
 1255|      0|        goto long_range;
 1256|      0|    }
 1257|       |    /* check for potential overflow of lstart + ulen * lstep */
 1258|    358|    if (ulen) {
  ------------------
  |  Branch (1258:9): [True: 353, False: 5]
  ------------------
 1259|    353|        if (lstep > 0) {
  ------------------
  |  Branch (1259:13): [True: 308, False: 45]
  ------------------
 1260|    308|            if (lstop > LONG_MAX - (lstep - 1))
  ------------------
  |  Branch (1260:17): [True: 0, False: 308]
  ------------------
 1261|      0|                goto long_range;
 1262|    308|        }
 1263|     45|        else {
 1264|     45|            if (lstop < LONG_MIN + (-1 - lstep))
  ------------------
  |  Branch (1264:17): [True: 0, False: 45]
  ------------------
 1265|      0|                goto long_range;
 1266|     45|        }
 1267|    353|    }
 1268|    358|    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);
  ------------------
  |  |  505|      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|     18|{
  145|     18|    sentinelobject *self = sentinelobject_CAST(op);
  ------------------
  |  |   21|     18|    (assert(PySentinel_Check(op)), _Py_CAST(sentinelobject *, (op)))
  |  |  ------------------
  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (145:28): [True: 18, False: 0]
  ------------------
  146|     18|    Py_VISIT(self->name);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
  147|     18|    Py_VISIT(self->module);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
  148|     18|    Py_VISIT(self->repr);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 18]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
  149|     18|    return 0;
  150|     18|}
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|    520|{
  364|    520|    Py_hash_t hash = PyObject_Hash(key);
  365|    520|    if (hash == -1) {
  ------------------
  |  Branch (365:9): [True: 0, False: 520]
  ------------------
  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|    520|    return set_add_entry_takeref(so, key, hash);
  373|    520|}
_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|  1.59M|{
 2557|  1.59M|    assert(so);
  ------------------
  |  Branch (2557:5): [True: 1.59M, False: 0]
  ------------------
 2558|       |
 2559|  1.59M|    Py_hash_t hash = PyObject_Hash(key);
 2560|  1.59M|    if (hash == -1) {
  ------------------
  |  Branch (2560:9): [True: 0, False: 1.59M]
  ------------------
 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|  1.59M|    return set_contains_entry(so, key, hash);
 2574|  1.59M|}
PySet_New:
 3034|   498k|{
 3035|   498k|    return make_new_set(&PySet_Type, iterable);
 3036|   498k|}
PyFrozenSet_New:
 3040|  9.89k|{
 3041|  9.89k|    PyObject *result = make_new_set(&PyFrozenSet_Type, iterable);
 3042|  9.89k|    if (result != NULL) {
  ------------------
  |  Branch (3042:9): [True: 9.89k, False: 0]
  ------------------
 3043|  9.89k|        _PyFrozenSet_MaybeUntrack(result);
 3044|  9.89k|    }
 3045|  9.89k|    return result;
 3046|  9.89k|}
PySet_Size:
 3050|  5.49k|{
 3051|  5.49k|    if (!PyAnySet_Check(anyset)) {
  ------------------
  |  |   31|  5.49k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  10.9k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 5.49k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  5.49k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|  5.49k|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|  5.49k|      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]
  |  |  ------------------
  ------------------
 3052|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3053|      0|        return -1;
 3054|      0|    }
 3055|  5.49k|    return set_len(anyset);
 3056|  5.49k|}
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|   639k|{
 3078|   639k|    if (!PyAnySet_Check(anyset)) {
  ------------------
  |  |   31|   639k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  1.27M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   639k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   639k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 639k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   639k|#  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|   639k|      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|   639k|      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|   639k|    PySetObject *so = (PySetObject *)anyset;
 3084|   639k|    Py_hash_t hash = PyObject_Hash(key);
 3085|   639k|    if (hash == -1) {
  ------------------
  |  Branch (3085:9): [True: 0, False: 639k]
  ------------------
 3086|      0|        set_unhashable_type(key);
 3087|      0|        return -1;
 3088|      0|    }
 3089|   639k|    return set_contains_entry(so, key, hash);
 3090|   639k|}
PySet_Discard:
 3094|   291k|{
 3095|   291k|    if (!PySet_Check(set)) {
  ------------------
  |  |   37|   291k|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   582k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   291k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   291k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 291k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|   291k|    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|   291k|    int rv;
 3101|   291k|    Py_BEGIN_CRITICAL_SECTION(set);
  ------------------
  |  |   51|   291k|    {
  ------------------
 3102|   291k|    rv = set_discard_key((PySetObject *)set, key);
 3103|   291k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   291k|    }
  ------------------
 3104|   291k|    return rv;
 3105|   291k|}
PySet_Add:
 3109|   191k|{
 3110|   191k|    if (PySet_Check(anyset)) {
  ------------------
  |  |   37|   191k|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   383k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   191k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   191k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 191k, False: 245]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|   191k|    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|   191k|        int rv;
 3112|   191k|        Py_BEGIN_CRITICAL_SECTION(anyset);
  ------------------
  |  |   51|   191k|    {
  ------------------
 3113|   191k|        rv = set_add_key((PySetObject *)anyset, key);
 3114|   191k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   191k|    }
  ------------------
 3115|   191k|        return rv;
 3116|   191k|    }
 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);
  ------------------
  |  |  505|      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|  29.6k|{
 3138|  29.6k|    setentry *entry;
 3139|       |
 3140|  29.6k|    if (!PyAnySet_Check(set)) {
  ------------------
  |  |   31|  29.6k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  59.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  29.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  29.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 29.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  59.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  29.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  29.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 29.6k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|  29.6k|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|  29.6k|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3141|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3142|      0|        return -1;
 3143|      0|    }
 3144|  29.6k|    if (set_next((PySetObject *)set, pos, &entry) == 0)
  ------------------
  |  Branch (3144:9): [True: 5.46k, False: 24.1k]
  ------------------
 3145|  5.46k|        return 0;
 3146|  24.1k|    *key = entry->key;
 3147|  24.1k|    *hash = entry->hash;
 3148|  24.1k|    return 1;
 3149|  29.6k|}
_PySet_NextEntryRef:
 3153|   158k|{
 3154|   158k|    setentry *entry;
 3155|       |
 3156|   158k|    if (!PyAnySet_Check(set)) {
  ------------------
  |  |   31|   158k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   317k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   158k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   158k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 158k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   158k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      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|   158k|      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|   158k|      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|   158k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(set);
 3161|   158k|    if (set_next((PySetObject *)set, pos, &entry) == 0)
  ------------------
  |  Branch (3161:9): [True: 18.0k, False: 140k]
  ------------------
 3162|  18.0k|        return 0;
 3163|   140k|    *key = Py_NewRef(entry->key);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3164|   140k|    *hash = entry->hash;
 3165|   140k|    return 1;
 3166|   158k|}
PySet_Pop:
 3170|  4.82k|{
 3171|  4.82k|    if (!PySet_Check(set)) {
  ------------------
  |  |   37|  4.82k|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  9.65k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4.82k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|  4.82k|    PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (38:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3172|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3173|      0|        return NULL;
 3174|      0|    }
 3175|  4.82k|    return set_pop(set, NULL);
 3176|  4.82k|}
setobject.c:set_add_entry_takeref:
  254|   545k|{
  255|   545k|    setentry *table;
  256|   545k|    setentry *freeslot;
  257|   545k|    setentry *entry;
  258|   545k|    size_t perturb;
  259|   545k|    size_t mask;
  260|   545k|    size_t i;                       /* Unsigned for defined overflow behavior */
  261|   545k|    int probes;
  262|   545k|    int cmp;
  263|       |
  264|   545k|  restart:
  265|       |
  266|   545k|    mask = so->mask;
  267|   545k|    i = (size_t)hash & mask;
  268|   545k|    freeslot = NULL;
  269|   545k|    perturb = hash;
  270|       |
  271|   749k|    while (1) {
  ------------------
  |  Branch (271:12): [True: 749k, Folded]
  ------------------
  272|   749k|        entry = &so->table[i];
  273|   749k|        probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|   749k|#define LINEAR_PROBES 9
  ------------------
                      probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|   221k|#define LINEAR_PROBES 9
  ------------------
  |  Branch (273:18): [True: 221k, False: 528k]
  ------------------
  274|   835k|        do {
  275|   835k|            if (entry->hash == 0 && entry->key == NULL)
  ------------------
  |  Branch (275:17): [True: 471k, False: 364k]
  |  Branch (275:37): [True: 471k, False: 635]
  ------------------
  276|   471k|                goto found_unused_or_dummy;
  277|   364k|            if (entry->hash == hash) {
  ------------------
  |  Branch (277:17): [True: 181k, False: 183k]
  ------------------
  278|   181k|                PyObject *startkey = entry->key;
  279|   181k|                assert(startkey != dummy);
  ------------------
  |  Branch (279:17): [True: 181k, False: 0]
  ------------------
  280|   181k|                if (startkey == key)
  ------------------
  |  Branch (280:21): [True: 15.9k, False: 165k]
  ------------------
  281|  15.9k|                    goto found_active;
  282|   165k|                if (PyUnicode_CheckExact(startkey)
  ------------------
  |  |  104|   165k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   330k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   165k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   165k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 57.6k, False: 107k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  283|   165k|                    && PyUnicode_CheckExact(key)
  ------------------
  |  |  104|  57.6k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   222k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  57.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  57.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 57.6k, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  284|  57.6k|                    && unicode_eq(startkey, key))
  ------------------
  |  Branch (284:24): [True: 57.6k, False: 0]
  ------------------
  285|  57.6k|                    goto found_active;
  286|   107k|                table = so->table;
  287|   107k|                Py_INCREF(startkey);
  ------------------
  |  |  310|   107k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   107k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   107k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  288|   107k|                cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|   107k|#define Py_EQ 2
  ------------------
  289|   107k|                Py_DECREF(startkey);
  ------------------
  |  |  430|   107k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   107k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   107k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  290|   107k|                if (cmp > 0)
  ------------------
  |  Branch (290:21): [True: 432, False: 107k]
  ------------------
  291|    432|                    goto found_active;
  292|   107k|                if (cmp < 0)
  ------------------
  |  Branch (292:21): [True: 0, False: 107k]
  ------------------
  293|      0|                    goto comparison_error;
  294|   107k|                if (table != so->table || entry->key != startkey)
  ------------------
  |  Branch (294:21): [True: 0, False: 107k]
  |  Branch (294:43): [True: 0, False: 107k]
  ------------------
  295|      0|                    goto restart;
  296|   107k|                mask = so->mask;
  297|   107k|            }
  298|   183k|            else if (entry->hash == -1) {
  ------------------
  |  Branch (298:22): [True: 435, False: 182k]
  ------------------
  299|    435|                assert (entry->key == dummy);
  ------------------
  |  Branch (299:17): [True: 435, False: 0]
  ------------------
  300|    435|                freeslot = entry;
  301|    435|            }
  302|   290k|            entry++;
  303|   290k|        } while (probes--);
  ------------------
  |  Branch (303:18): [True: 85.8k, False: 204k]
  ------------------
  304|   204k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  218|   204k|#define PERTURB_SHIFT 5
  ------------------
  305|   204k|        i = (i * 5 + 1 + perturb) & mask;
  306|   204k|    }
  307|       |
  308|   471k|  found_unused_or_dummy:
  309|   471k|    if (freeslot == NULL)
  ------------------
  |  Branch (309:9): [True: 470k, False: 366]
  ------------------
  310|   470k|        goto found_unused;
  311|    366|    if (freeslot->hash != -1) {
  ------------------
  |  Branch (311:9): [True: 0, False: 366]
  ------------------
  312|      0|        goto restart;
  313|      0|    }
  314|    366|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used + 1);
  ------------------
  |  |  194|    366|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  315|    366|    FT_ATOMIC_STORE_SSIZE_RELAXED(freeslot->hash, hash);
  ------------------
  |  |  194|    366|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  316|    366|    FT_ATOMIC_STORE_PTR_RELEASE(freeslot->key, key);
  ------------------
  |  |  164|    366|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  317|    366|    return 0;
  318|       |
  319|   470k|  found_unused:
  320|   470k|    so->fill++;
  321|   470k|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used + 1);
  ------------------
  |  |  194|   470k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  322|   470k|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, hash);
  ------------------
  |  |  194|   470k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  323|   470k|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, key);
  ------------------
  |  |  164|   470k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  324|   470k|    if ((size_t)so->fill*5 < mask*3)
  ------------------
  |  Branch (324:9): [True: 449k, False: 21.2k]
  ------------------
  325|   449k|        return 0;
  326|  21.2k|    return set_table_resize(so, so->used>50000 ? so->used*2 : so->used*4);
  ------------------
  |  Branch (326:33): [True: 0, False: 21.2k]
  ------------------
  327|       |
  328|  74.0k|  found_active:
  329|  74.0k|    Py_DECREF(key);
  ------------------
  |  |  430|  74.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  330|  74.0k|    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|   470k|}
setobject.c:set_table_resize:
  485|  37.6k|{
  486|  37.6k|    setentry *oldtable, *newtable, *entry;
  487|  37.6k|    Py_ssize_t oldmask = so->mask;
  488|  37.6k|    Py_ssize_t oldsize = (size_t)oldmask + 1;
  489|  37.6k|    size_t newmask;
  490|  37.6k|    int is_oldtable_malloced;
  491|  37.6k|    setentry small_copy[PySet_MINSIZE];
  492|       |
  493|  37.6k|    assert(minused >= 0);
  ------------------
  |  Branch (493:5): [True: 37.6k, False: 0]
  ------------------
  494|       |
  495|       |    /* Find the smallest table size > minused. */
  496|       |    /* XXX speed-up with intrinsics */
  497|  37.6k|    size_t newsize = PySet_MINSIZE;
  ------------------
  |  |   18|  37.6k|#define PySet_MINSIZE 8
  ------------------
  498|   118k|    while (newsize <= (size_t)minused) {
  ------------------
  |  Branch (498:12): [True: 81.2k, False: 37.6k]
  ------------------
  499|  81.2k|        newsize <<= 1; // The largest possible value is PY_SSIZE_T_MAX + 1.
  500|  81.2k|    }
  501|       |
  502|       |    /* Get space for a new table. */
  503|  37.6k|    oldtable = so->table;
  504|  37.6k|    assert(oldtable != NULL);
  ------------------
  |  Branch (504:5): [True: 37.6k, False: 0]
  ------------------
  505|  37.6k|    is_oldtable_malloced = oldtable != so->smalltable;
  506|       |
  507|  37.6k|    if (newsize == PySet_MINSIZE) {
  ------------------
  |  |   18|  37.6k|#define PySet_MINSIZE 8
  ------------------
  |  Branch (507:9): [True: 405, False: 37.2k]
  ------------------
  508|       |        /* A large table is shrinking, or we can't get any smaller. */
  509|    405|        newtable = so->smalltable;
  510|    405|        if (newtable == oldtable) {
  ------------------
  |  Branch (510:13): [True: 405, False: 0]
  ------------------
  511|    405|            if (so->fill == so->used) {
  ------------------
  |  Branch (511:17): [True: 0, False: 405]
  ------------------
  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|    405|            assert(so->fill > so->used);
  ------------------
  |  Branch (521:13): [True: 405, False: 0]
  ------------------
  522|    405|            memcpy(small_copy, oldtable, sizeof(small_copy));
  523|    405|            oldtable = small_copy;
  524|    405|        }
  525|    405|    }
  526|  37.2k|    else {
  527|  37.2k|        newtable = PyMem_NEW(setentry, newsize);
  ------------------
  |  |   82|  37.2k|#define PyMem_NEW(type, n)        PyMem_New(type, (n))
  |  |  ------------------
  |  |  |  |   64|  37.2k|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  37.2k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:5): [True: 0, False: 37.2k]
  |  |  |  |  ------------------
  |  |  |  |   65|  37.2k|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  |  |  ------------------
  ------------------
  528|  37.2k|        if (newtable == NULL) {
  ------------------
  |  Branch (528:13): [True: 0, False: 37.2k]
  ------------------
  529|      0|            PyErr_NoMemory();
  530|      0|            return -1;
  531|      0|        }
  532|  37.2k|    }
  533|       |
  534|       |    /* Make the set empty, using the new table. */
  535|  37.6k|    assert(newtable != oldtable);
  ------------------
  |  Branch (535:5): [True: 37.6k, False: 0]
  ------------------
  536|  37.6k|    set_zero_table(newtable, newsize);
  537|  37.6k|    FT_ATOMIC_STORE_PTR_RELEASE(so->table, NULL);
  ------------------
  |  |  164|  37.6k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  538|  37.6k|    FT_ATOMIC_STORE_SSIZE_RELEASE(so->mask, newsize - 1);
  ------------------
  |  |  169|  37.6k|#define FT_ATOMIC_STORE_SSIZE_RELEASE(value, new_value) value = new_value
  ------------------
  539|       |
  540|       |    /* Copy the data over; this is refcount-neutral for active entries;
  541|       |       dummy entries aren't copied over, of course */
  542|  37.6k|    newmask = (size_t)so->mask;
  543|  37.6k|    if (so->fill == so->used) {
  ------------------
  |  Branch (543:9): [True: 37.1k, False: 545]
  ------------------
  544|   422k|        for (entry = oldtable; entry <= oldtable + oldmask; entry++) {
  ------------------
  |  Branch (544:32): [True: 385k, False: 37.1k]
  ------------------
  545|   385k|            if (entry->key != NULL) {
  ------------------
  |  Branch (545:17): [True: 167k, False: 217k]
  ------------------
  546|   167k|                set_insert_clean(newtable, newmask, entry->key, entry->hash);
  547|   167k|            }
  548|   385k|        }
  549|  37.1k|    } else {
  550|    545|        so->fill = so->used;
  551|  4.90k|        for (entry = oldtable; entry <= oldtable + oldmask; entry++) {
  ------------------
  |  Branch (551:32): [True: 4.36k, False: 545]
  ------------------
  552|  4.36k|            if (entry->key != NULL && entry->key != dummy) {
  ------------------
  |  |   64|  1.71k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (552:17): [True: 1.71k, False: 2.64k]
  |  Branch (552:39): [True: 410, False: 1.30k]
  ------------------
  553|    410|                set_insert_clean(newtable, newmask, entry->key, entry->hash);
  554|    410|            }
  555|  4.36k|        }
  556|    545|    }
  557|       |
  558|  37.6k|    FT_ATOMIC_STORE_PTR_RELEASE(so->table, newtable);
  ------------------
  |  |  164|  37.6k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  559|       |
  560|  37.6k|    if (is_oldtable_malloced)
  ------------------
  |  Branch (560:9): [True: 3.37k, False: 34.2k]
  ------------------
  561|  3.37k|        free_entries(oldtable, oldsize, SET_IS_SHARED(so));
  ------------------
  |  |  132|  3.37k|#define SET_IS_SHARED(so) 0
  ------------------
  562|  37.6k|    return 0;
  563|  37.6k|}
setobject.c:set_zero_table:
  197|  37.6k|{
  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|  37.6k|    memset(table, 0, sizeof(setentry)*size);
  206|  37.6k|#endif
  207|  37.6k|}
setobject.c:set_insert_clean:
  385|   218k|{
  386|   218k|    setentry *entry;
  387|   218k|    size_t perturb = hash;
  388|   218k|    size_t i = (size_t)hash & mask;
  389|   218k|    size_t j;
  390|       |
  391|   265k|    while (1) {
  ------------------
  |  Branch (391:12): [True: 265k, Folded]
  ------------------
  392|   265k|        entry = &table[i];
  393|   265k|        if (entry->key == NULL)
  ------------------
  |  Branch (393:13): [True: 200k, False: 65.3k]
  ------------------
  394|   200k|            goto found_null;
  395|  65.3k|        if (i + LINEAR_PROBES <= mask) {
  ------------------
  |  |  214|  65.3k|#define LINEAR_PROBES 9
  ------------------
  |  Branch (395:13): [True: 17.6k, False: 47.7k]
  ------------------
  396|  27.9k|            for (j = 0; j < LINEAR_PROBES; j++) {
  ------------------
  |  |  214|  27.9k|#define LINEAR_PROBES 9
  ------------------
  |  Branch (396:25): [True: 27.9k, False: 0]
  ------------------
  397|  27.9k|                entry++;
  398|  27.9k|                if (entry->key == NULL)
  ------------------
  |  Branch (398:21): [True: 17.6k, False: 10.3k]
  ------------------
  399|  17.6k|                    goto found_null;
  400|  27.9k|            }
  401|  17.6k|        }
  402|  47.7k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  218|  47.7k|#define PERTURB_SHIFT 5
  ------------------
  403|  47.7k|        i = (i * 5 + 1 + perturb) & mask;
  404|  47.7k|    }
  405|   218k|  found_null:
  406|   218k|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, hash);
  ------------------
  |  |  194|   218k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  407|   218k|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, key);
  ------------------
  |  |  164|   218k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  408|   218k|}
setobject.c:free_entries:
  468|  37.2k|{
  469|       |#ifdef Py_GIL_DISABLED
  470|       |    if (use_qsbr) {
  471|       |        _PyMem_FreeDelayed(entries, size * sizeof(setentry));
  472|       |        return;
  473|       |    }
  474|       |#endif
  475|  37.2k|    PyMem_Free(entries);
  476|  37.2k|}
setobject.c:setiter_dealloc:
 1041|  57.3k|{
 1042|  57.3k|    setiterobject *si = (setiterobject*)self;
 1043|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 1044|  57.3k|    _PyObject_GC_UNTRACK(si);
  ------------------
  |  |  507|  57.3k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  57.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  57.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1045|  57.3k|    Py_XDECREF(si->si_set);
  ------------------
  |  |  524|  57.3k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  57.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  57.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1046|  57.3k|    PyObject_GC_Del(si);
 1047|  57.3k|}
setobject.c:setiter_iternext:
 1096|  68.7k|{
 1097|  68.7k|    setiterobject *si = (setiterobject*)self;
 1098|  68.7k|    PyObject *key = NULL;
 1099|  68.7k|    Py_ssize_t i, mask;
 1100|  68.7k|    setentry *entry;
 1101|  68.7k|    PySetObject *so = si->si_set;
 1102|       |
 1103|  68.7k|    if (so == NULL)
  ------------------
  |  Branch (1103:9): [True: 0, False: 68.7k]
  ------------------
 1104|      0|        return NULL;
 1105|  68.7k|    assert (PyAnySet_Check(so));
  ------------------
  |  Branch (1105:5): [True: 62.0k, False: 6.69k]
  |  Branch (1105:5): [True: 6.69k, False: 0]
  |  Branch (1105:5): [True: 0, False: 0]
  |  Branch (1105:5): [True: 0, False: 0]
  ------------------
 1106|       |
 1107|  68.7k|    Py_ssize_t so_used = FT_ATOMIC_LOAD_SSIZE_RELAXED(so->used);
  ------------------
  |  |  149|  68.7k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 1108|  68.7k|    Py_ssize_t si_used = FT_ATOMIC_LOAD_SSIZE_RELAXED(si->si_used);
  ------------------
  |  |  149|  68.7k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 1109|  68.7k|    if (si_used != so_used) {
  ------------------
  |  Branch (1109:9): [True: 0, False: 68.7k]
  ------------------
 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|  68.7k|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|  68.7k|    {
  ------------------
 1117|  68.7k|    i = si->si_pos;
 1118|  68.7k|    assert(i>=0);
  ------------------
  |  Branch (1118:5): [True: 68.7k, False: 0]
  ------------------
 1119|  68.7k|    entry = so->table;
 1120|  68.7k|    mask = so->mask;
 1121|   531k|    while (i <= mask && (entry[i].key == NULL || entry[i].key == dummy)) {
  ------------------
  |  |   64|  19.7k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (1121:12): [True: 474k, False: 57.3k]
  |  Branch (1121:26): [True: 454k, False: 19.7k]
  |  Branch (1121:50): [True: 8.41k, False: 11.3k]
  ------------------
 1122|   463k|        i++;
 1123|   463k|    }
 1124|  68.7k|    if (i <= mask) {
  ------------------
  |  Branch (1124:9): [True: 11.3k, False: 57.3k]
  ------------------
 1125|  11.3k|        key = Py_NewRef(entry[i].key);
  ------------------
  |  |  550|  11.3k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  11.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1126|  11.3k|    }
 1127|  68.7k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  68.7k|    }
  ------------------
 1128|  68.7k|    si->si_pos = i+1;
 1129|  68.7k|    if (key == NULL) {
  ------------------
  |  Branch (1129:9): [True: 57.3k, False: 11.3k]
  ------------------
 1130|  57.3k|        si->si_set = NULL;
 1131|  57.3k|        Py_DECREF(so);
  ------------------
  |  |  430|  57.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  57.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  57.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1132|  57.3k|        return NULL;
 1133|  57.3k|    }
 1134|  11.3k|    si->len--;
 1135|  11.3k|    return key;
 1136|  68.7k|}
setobject.c:frozenset_hash_impl:
  974|  9.73k|{
  975|  9.73k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|  9.73k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  9.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (975:23): [True: 0, False: 9.73k]
  |  Branch (975:23): [True: 9.73k, False: 0]
  |  Branch (975:23): [True: 0, False: 0]
  |  Branch (975:23): [True: 0, False: 0]
  ------------------
  976|      0|    Py_uhash_t hash = 0;
  977|  9.73k|    setentry *entry;
  978|       |
  979|       |    /* Xor-in shuffled bits from every entry's hash field because xor is
  980|       |       commutative and a frozenset hash should be independent of order.
  981|       |
  982|       |       For speed, include null entries and dummy entries and then
  983|       |       subtract out their effect afterwards so that the final hash
  984|       |       depends only on active entries.  This allows the code to be
  985|       |       vectorized by the compiler and it saves the unpredictable
  986|       |       branches that would arise when trying to exclude null and dummy
  987|       |       entries on every iteration. */
  988|       |
  989|   189k|    for (entry = so->table; entry <= &so->table[so->mask]; entry++)
  ------------------
  |  Branch (989:29): [True: 179k, False: 9.73k]
  ------------------
  990|   179k|        hash ^= _shuffle_bits(entry->hash);
  991|       |
  992|       |    /* Remove the effect of an odd number of NULL entries */
  993|  9.73k|    if ((so->mask + 1 - so->fill) & 1)
  ------------------
  |  Branch (993:9): [True: 4.21k, False: 5.51k]
  ------------------
  994|  4.21k|        hash ^= _shuffle_bits(0);
  995|       |
  996|       |    /* Remove the effect of an odd number of dummy entries */
  997|  9.73k|    if ((so->fill - so->used) & 1)
  ------------------
  |  Branch (997:9): [True: 0, False: 9.73k]
  ------------------
  998|      0|        hash ^= _shuffle_bits(-1);
  999|       |
 1000|       |    /* Factor in the number of active entries */
 1001|  9.73k|    hash ^= ((Py_uhash_t)PySet_GET_SIZE(self) + 1) * 1927868237UL;
  ------------------
  |  |   71|  9.73k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|  9.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1002|       |
 1003|       |    /* Disperse patterns arising in nested frozensets */
 1004|  9.73k|    hash ^= (hash >> 11) ^ (hash >> 25);
 1005|  9.73k|    hash = hash * 69069U + 907133923UL;
 1006|       |
 1007|       |    /* -1 is reserved as an error code */
 1008|  9.73k|    if (hash == (Py_uhash_t)-1)
  ------------------
  |  Branch (1008:9): [True: 0, False: 9.73k]
  ------------------
 1009|      0|        hash = 590923713UL;
 1010|       |
 1011|  9.73k|    return (Py_hash_t)hash;
 1012|  9.73k|}
setobject.c:_shuffle_bits:
  955|   183k|{
  956|   183k|    return ((h ^ 89869747UL) ^ (h << 16)) * 3644798167UL;
  957|   183k|}
setobject.c:set_contains_entry:
  567|  2.26M|{
  568|       |#ifdef Py_GIL_DISABLED
  569|       |    return set_lookkey_threadsafe(so, key, hash);
  570|       |#else
  571|  2.26M|    setentry *entry; // unused
  572|  2.26M|    return set_lookkey(so, key, hash, &entry);
  573|  2.26M|#endif
  574|  2.26M|}
setobject.c:set_lookkey:
  415|  2.55M|{
  416|  2.55M|    int status;
  417|  2.55M|    if (PyFrozenSet_CheckExact(so)) {
  ------------------
  |  |   23|  2.55M|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|  2.55M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 28.2k, False: 2.53M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  418|  28.2k|        status = set_do_lookup(so, so->table, so->mask, key, hash, epp,
  419|  28.2k|                               set_compare_frozenset);
  420|  28.2k|    }
  421|  2.53M|    else {
  422|  2.53M|        Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|  2.53M|    {
  ------------------
  423|  2.53M|        do {
  424|  2.53M|            status = set_do_lookup(so, so->table, so->mask, key, hash, epp,
  425|  2.53M|                                   set_compare_entry_lock_held);
  426|  2.53M|        } while (status == SET_LOOKKEY_CHANGED);
  ------------------
  |  |   69|  2.53M|#define SET_LOOKKEY_CHANGED (-2)
  ------------------
  |  Branch (426:18): [True: 0, False: 2.53M]
  ------------------
  427|  2.53M|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.53M|    }
  ------------------
  428|  2.53M|    }
  429|  2.55M|    assert(status == SET_LOOKKEY_FOUND ||
  ------------------
  |  Branch (429:5): [True: 61.7k, False: 2.49M]
  |  Branch (429:5): [True: 2.49M, False: 0]
  |  Branch (429:5): [True: 0, False: 0]
  ------------------
  430|  2.55M|           status == SET_LOOKKEY_NO_MATCH ||
  431|  2.55M|           status == SET_LOOKKEY_ERROR);
  432|  2.55M|    return status;
  433|  2.55M|}
setobject.c:set_do_lookup:
  223|  2.55M|{
  224|  2.55M|    setentry *entry;
  225|  2.55M|    size_t perturb = hash;
  226|  2.55M|    size_t i = (size_t)hash & mask; /* Unsigned for defined overflow behavior */
  227|  2.55M|    int probes;
  228|  2.55M|    int status;
  229|       |
  230|  2.96M|    while (1) {
  ------------------
  |  Branch (230:12): [True: 2.96M, Folded]
  ------------------
  231|  2.96M|        entry = &table[i];
  232|  2.96M|        probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|  2.96M|#define LINEAR_PROBES 9
  ------------------
                      probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|  1.59M|#define LINEAR_PROBES 9
  ------------------
  |  Branch (232:18): [True: 1.59M, False: 1.36M]
  ------------------
  233|  5.79M|        do {
  234|  5.79M|            status = compare_entry(so, table, entry, key, hash);
  235|  5.79M|            if (status != SET_LOOKKEY_NO_MATCH) {
  ------------------
  |  |   67|  5.79M|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  |  Branch (235:17): [True: 2.55M, False: 3.23M]
  ------------------
  236|  2.55M|                if (status == SET_LOOKKEY_EMPTY) {
  ------------------
  |  |   70|  2.55M|#define SET_LOOKKEY_EMPTY (-3)
  ------------------
  |  Branch (236:21): [True: 2.49M, False: 61.7k]
  ------------------
  237|  2.49M|                    return SET_LOOKKEY_NO_MATCH;
  ------------------
  |  |   67|  2.49M|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  238|  2.49M|                }
  239|  61.7k|                *epp = entry;
  240|  61.7k|                return status;
  241|  2.55M|            }
  242|  3.23M|            entry++;
  243|  3.23M|        } while (probes--);
  ------------------
  |  Branch (243:18): [True: 2.83M, False: 401k]
  ------------------
  244|   401k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  218|   401k|#define PERTURB_SHIFT 5
  ------------------
  245|   401k|        i = (i * 5 + 1 + perturb) & mask;
  246|   401k|    }
  247|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  248|  2.55M|}
setobject.c:set_compare_frozenset:
  174|   106k|{
  175|   106k|    assert(PyFrozenSet_Check(so));
  ------------------
  |  Branch (175:5): [True: 106k, False: 0]
  |  Branch (175:5): [True: 0, False: 0]
  ------------------
  176|   106k|    PyObject *startkey = ep->key;
  177|   106k|    if (startkey == NULL) {
  ------------------
  |  Branch (177:9): [True: 318, False: 106k]
  ------------------
  178|    318|        return SET_LOOKKEY_EMPTY;
  ------------------
  |  |   70|    318|#define SET_LOOKKEY_EMPTY (-3)
  ------------------
  179|    318|    }
  180|   106k|    if (startkey == key) {
  ------------------
  |  Branch (180:9): [True: 24.3k, False: 81.8k]
  ------------------
  181|  24.3k|        return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|  24.3k|#define SET_LOOKKEY_FOUND 1
  ------------------
  182|  24.3k|    }
  183|  81.8k|    Py_ssize_t ep_hash = ep->hash;
  184|  81.8k|    if (ep_hash == hash) {
  ------------------
  |  Branch (184:9): [True: 78.4k, False: 3.41k]
  ------------------
  185|  78.4k|        int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|  78.4k|#define Py_EQ 2
  ------------------
  186|  78.4k|        if (cmp < 0) {
  ------------------
  |  Branch (186:13): [True: 0, False: 78.4k]
  ------------------
  187|      0|            return SET_LOOKKEY_ERROR;
  ------------------
  |  |   68|      0|#define SET_LOOKKEY_ERROR (-1)
  ------------------
  188|      0|        }
  189|  78.4k|        assert(cmp == SET_LOOKKEY_FOUND || cmp == SET_LOOKKEY_NO_MATCH);
  ------------------
  |  Branch (189:9): [True: 3.52k, False: 74.9k]
  |  Branch (189:9): [True: 74.9k, False: 0]
  ------------------
  190|  78.4k|        return cmp;
  191|  78.4k|    }
  192|  3.41k|    return SET_LOOKKEY_NO_MATCH;
  ------------------
  |  |   67|  3.41k|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  193|  81.8k|}
setobject.c:set_compare_entry_lock_held:
  140|  5.68M|{
  141|  5.68M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
  142|  5.68M|    if (entry->hash == 0 && entry->key == NULL)
  ------------------
  |  Branch (142:9): [True: 2.49M, False: 3.19M]
  |  Branch (142:29): [True: 2.49M, False: 9]
  ------------------
  143|  2.49M|        return SET_LOOKKEY_EMPTY;
  ------------------
  |  |   70|  2.49M|#define SET_LOOKKEY_EMPTY (-3)
  ------------------
  144|  3.19M|    if (entry->hash == hash) {
  ------------------
  |  Branch (144:9): [True: 33.8k, False: 3.15M]
  ------------------
  145|  33.8k|        PyObject *startkey = entry->key;
  146|  33.8k|        assert(startkey != dummy);
  ------------------
  |  Branch (146:9): [True: 33.8k, False: 0]
  ------------------
  147|  33.8k|        if (startkey == key)
  ------------------
  |  Branch (147:13): [True: 33.6k, False: 153]
  ------------------
  148|  33.6k|            return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|  33.6k|#define SET_LOOKKEY_FOUND 1
  ------------------
  149|    153|        if (PyUnicode_CheckExact(startkey)
  ------------------
  |  |  104|    153|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    306|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    153|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    153|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 97, False: 56]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  150|    153|            && PyUnicode_CheckExact(key)
  ------------------
  |  |  104|     97|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    250|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     97|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 97, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  151|     97|            && unicode_eq(startkey, key))
  ------------------
  |  Branch (151:16): [True: 97, False: 0]
  ------------------
  152|     97|            return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|     97|#define SET_LOOKKEY_FOUND 1
  ------------------
  153|     56|        table = so->table;
  154|     56|        Py_INCREF(startkey);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  155|     56|        int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|     56|#define Py_EQ 2
  ------------------
  156|     56|        Py_DECREF(startkey);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  157|     56|        if (cmp < 0)
  ------------------
  |  Branch (157:13): [True: 0, False: 56]
  ------------------
  158|      0|            return SET_LOOKKEY_ERROR;
  ------------------
  |  |   68|      0|#define SET_LOOKKEY_ERROR (-1)
  ------------------
  159|     56|        if (table != so->table || entry->key != startkey)
  ------------------
  |  Branch (159:13): [True: 0, False: 56]
  |  Branch (159:35): [True: 0, False: 56]
  ------------------
  160|      0|            return SET_LOOKKEY_CHANGED;
  ------------------
  |  |   69|      0|#define SET_LOOKKEY_CHANGED (-2)
  ------------------
  161|     56|        if (cmp > 0)
  ------------------
  |  Branch (161:13): [True: 56, False: 0]
  ------------------
  162|     56|            return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|     56|#define SET_LOOKKEY_FOUND 1
  ------------------
  163|     56|    }
  164|  3.15M|    return SET_LOOKKEY_NO_MATCH;
  ------------------
  |  |   67|  3.15M|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  165|  3.19M|}
setobject.c:set_dealloc:
  735|   528k|{
  736|   528k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|   528k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|   528k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (736:23): [True: 518k, False: 9.76k]
  |  Branch (736:23): [True: 9.76k, False: 0]
  |  Branch (736:23): [True: 0, False: 0]
  |  Branch (736:23): [True: 0, False: 0]
  ------------------
  737|      0|    setentry *entry;
  738|   528k|    Py_ssize_t used = so->used;
  739|   528k|    Py_ssize_t oldsize = (size_t)so->mask + 1;
  740|       |
  741|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
  742|   528k|    PyObject_GC_UnTrack(so);
  743|   528k|    FT_CLEAR_WEAKREFS(self, so->weakreflist);
  ------------------
  |  |   47|   528k|    do {                                            \
  |  |   48|   528k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|   528k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 528k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|   528k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 528k]
  |  |  ------------------
  ------------------
  |  Branch (743:5): [True: 528k, False: 0]
  ------------------
  744|       |
  745|  2.67M|    for (entry = so->table; used > 0; entry++) {
  ------------------
  |  Branch (745:29): [True: 2.14M, False: 528k]
  ------------------
  746|  2.14M|        if (entry->key && entry->key != dummy) {
  ------------------
  |  |   64|   720k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (746:13): [True: 720k, False: 1.42M]
  |  Branch (746:27): [True: 719k, False: 372]
  ------------------
  747|   719k|                used--;
  748|   719k|                Py_DECREF(entry->key);
  ------------------
  |  |  430|   719k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   719k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   719k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  749|   719k|        }
  750|  2.14M|    }
  751|   528k|    if (so->table != so->smalltable)
  ------------------
  |  Branch (751:9): [True: 33.8k, False: 494k]
  ------------------
  752|  33.8k|        free_entries(so->table, oldsize, SET_IS_SHARED(so));
  ------------------
  |  |  132|  33.8k|#define SET_IS_SHARED(so) 0
  ------------------
  753|   528k|    Py_TYPE(so)->tp_free(so);
  ------------------
  |  |  213|   528k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   528k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   528k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  754|   528k|}
setobject.c:set_copy_untracked_lock_held:
 1582|    810|{
 1583|    810|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
 1584|    810|    PyObject *copy = make_new_set_basetype_untracked(Py_TYPE(so), NULL);
  ------------------
  |  |  213|    810|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    810|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    810|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1585|    810|    if (copy == NULL) {
  ------------------
  |  Branch (1585:9): [True: 0, False: 810]
  ------------------
 1586|      0|        return NULL;
 1587|      0|    }
 1588|    810|    if (set_merge_lock_held((PySetObject *)copy, (PyObject *)so) < 0) {
  ------------------
  |  Branch (1588:9): [True: 0, False: 810]
  ------------------
 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|    810|    return copy;
 1593|    810|}
setobject.c:set_merge_lock_held:
  830|   407k|{
  831|   407k|    PySetObject *other;
  832|   407k|    PyObject *key;
  833|   407k|    Py_ssize_t i;
  834|   407k|    setentry *so_entry;
  835|   407k|    setentry *other_entry;
  836|       |
  837|   407k|    assert (PyAnySet_Check(so));
  ------------------
  |  Branch (837:5): [True: 407k, False: 72]
  |  Branch (837:5): [True: 72, False: 0]
  |  Branch (837:5): [True: 0, False: 0]
  |  Branch (837:5): [True: 0, False: 0]
  ------------------
  838|   407k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
  839|   407k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(otherset);
  840|       |
  841|   407k|    other = _PySet_CAST(otherset);
  ------------------
  |  |   62|   407k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|   407k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (841:13): [True: 407k, False: 0]
  |  Branch (841:13): [True: 0, False: 0]
  |  Branch (841:13): [True: 0, False: 0]
  |  Branch (841:13): [True: 0, False: 0]
  ------------------
  842|   407k|    if (other == so || other->used == 0)
  ------------------
  |  Branch (842:9): [True: 0, False: 407k]
  |  Branch (842:24): [True: 314k, False: 93.9k]
  ------------------
  843|       |        /* a.update(a) or a.update(set()); nothing to do */
  844|   314k|        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|  93.9k|    if ((so->fill + other->used)*5 >= so->mask*3) {
  ------------------
  |  Branch (849:9): [True: 15.9k, False: 77.9k]
  ------------------
  850|  15.9k|        if (set_table_resize(so, (so->used + other->used)*2) != 0)
  ------------------
  |  Branch (850:13): [True: 0, False: 15.9k]
  ------------------
  851|      0|            return -1;
  852|  15.9k|    }
  853|  93.9k|    so_entry = so->table;
  854|  93.9k|    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|  93.9k|    if (so->fill == 0 && so->mask == other->mask && other->fill == other->used) {
  ------------------
  |  Branch (858:9): [True: 76.4k, False: 17.5k]
  |  Branch (858:26): [True: 72.5k, False: 3.92k]
  |  Branch (858:53): [True: 72.4k, False: 36]
  ------------------
  859|   898k|        for (i = 0; i <= other->mask; i++, so_entry++, other_entry++) {
  ------------------
  |  Branch (859:21): [True: 825k, False: 72.4k]
  ------------------
  860|   825k|            key = other_entry->key;
  861|   825k|            if (key != NULL) {
  ------------------
  |  Branch (861:17): [True: 217k, False: 607k]
  ------------------
  862|   217k|                assert(so_entry->key == NULL);
  ------------------
  |  Branch (862:17): [True: 217k, False: 0]
  ------------------
  863|   217k|                FT_ATOMIC_STORE_SSIZE_RELAXED(so_entry->hash, other_entry->hash);
  ------------------
  |  |  194|   217k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  864|   217k|                FT_ATOMIC_STORE_PTR_RELEASE(so_entry->key, Py_NewRef(key));
  ------------------
  |  |  164|   217k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  865|   217k|            }
  866|   825k|        }
  867|  72.4k|        so->fill = other->fill;
  868|  72.4k|        FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, other->used);
  ------------------
  |  |  194|  72.4k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  869|  72.4k|        return 0;
  870|  72.4k|    }
  871|       |
  872|       |    /* If our table is empty, we can use set_insert_clean() */
  873|  21.4k|    if (so->fill == 0) {
  ------------------
  |  Branch (873:9): [True: 3.96k, False: 17.5k]
  ------------------
  874|  3.96k|        setentry *newtable = so->table;
  875|  3.96k|        size_t newmask = (size_t)so->mask;
  876|  3.96k|        so->fill = other->used;
  877|  3.96k|        FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, other->used);
  ------------------
  |  |  194|  3.96k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  878|   215k|        for (i = other->mask + 1; i > 0 ; i--, other_entry++) {
  ------------------
  |  Branch (878:35): [True: 211k, False: 3.96k]
  ------------------
  879|   211k|            key = other_entry->key;
  880|   211k|            if (key != NULL && key != dummy) {
  ------------------
  |  |   64|  50.5k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (880:17): [True: 50.5k, False: 160k]
  |  Branch (880:32): [True: 50.4k, False: 36]
  ------------------
  881|  50.4k|                set_insert_clean(newtable, newmask, Py_NewRef(key),
  ------------------
  |  |  550|  50.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  50.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  50.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  882|  50.4k|                                 other_entry->hash);
  883|  50.4k|            }
  884|   211k|        }
  885|  3.96k|        return 0;
  886|  3.96k|    }
  887|       |
  888|       |    /* We can't assure there are no duplicates, so do normal insertions */
  889|   307k|    for (i = 0; i <= other->mask; i++) {
  ------------------
  |  Branch (889:17): [True: 290k, False: 17.5k]
  ------------------
  890|   290k|        other_entry = &other->table[i];
  891|   290k|        key = other_entry->key;
  892|   290k|        if (key != NULL && key != dummy) {
  ------------------
  |  |   64|  99.3k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (892:13): [True: 99.3k, False: 190k]
  |  Branch (892:28): [True: 98.6k, False: 713]
  ------------------
  893|  98.6k|            if (set_add_entry(so, key, other_entry->hash))
  ------------------
  |  Branch (893:17): [True: 0, False: 98.6k]
  ------------------
  894|      0|                return -1;
  895|  98.6k|        }
  896|   290k|    }
  897|  17.5k|    return 0;
  898|  17.5k|}
setobject.c:set_difference_update_internal:
 1982|    405|{
 1983|    405|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
 1984|    405|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(other);
 1985|       |
 1986|    405|    if ((PyObject *)so == other)
  ------------------
  |  Branch (1986:9): [True: 0, False: 405]
  ------------------
 1987|      0|        return set_clear_internal((PyObject*)so);
 1988|       |
 1989|    405|    if (PyAnySet_Check(other)) {
  ------------------
  |  |   31|    405|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    810|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    405|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    405|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 405, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    405|#  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|    405|      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|    405|      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|    405|        setentry *entry;
 1991|    405|        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|    405|        if ((PySet_GET_SIZE(other) >> 3) > PySet_GET_SIZE(so)) {
  ------------------
  |  |   71|    405|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|    405|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    405|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if ((PySet_GET_SIZE(other) >> 3) > PySet_GET_SIZE(so)) {
  ------------------
  |  |   71|    405|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|    405|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    405|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1997:13): [True: 0, False: 405]
  ------------------
 1998|      0|            other = set_intersection(so, other);
 1999|      0|            if (other == NULL)
  ------------------
  |  Branch (1999:17): [True: 0, False: 0]
  ------------------
 2000|      0|                return -1;
 2001|    405|        } else {
 2002|    405|            Py_INCREF(other);
  ------------------
  |  |  310|    405|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    405|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    405|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2003|    405|        }
 2004|       |
 2005|  1.41k|        while (set_next((PySetObject *)other, &pos, &entry)) {
  ------------------
  |  Branch (2005:16): [True: 1.01k, False: 405]
  ------------------
 2006|  1.01k|            PyObject *key = entry->key;
 2007|  1.01k|            Py_INCREF(key);
  ------------------
  |  |  310|  1.01k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2008|  1.01k|            if (set_discard_entry(so, key, entry->hash) < 0) {
  ------------------
  |  Branch (2008:17): [True: 0, False: 1.01k]
  ------------------
 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|  1.01k|            Py_DECREF(key);
  ------------------
  |  |  430|  1.01k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2014|  1.01k|        }
 2015|       |
 2016|    405|        Py_DECREF(other);
  ------------------
  |  |  430|    405|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    405|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    405|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2017|    405|    } 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|    405|    if ((size_t)(so->fill - so->used) <= (size_t)so->mask / 4)
  ------------------
  |  Branch (2036:9): [True: 0, False: 405]
  ------------------
 2037|      0|        return 0;
 2038|    405|    return set_table_resize(so, so->used>50000 ? so->used*2 : so->used*4);
  ------------------
  |  Branch (2038:33): [True: 0, False: 405]
  ------------------
 2039|    405|}
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);
  ------------------
  |  |  505|      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);
  ------------------
  |  |  505|      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|    810|{
 1607|    810|    PyObject *copy = set_copy_untracked_lock_held(so);
 1608|    810|    if (copy != NULL) {
  ------------------
  |  Branch (1608:9): [True: 810, False: 0]
  ------------------
 1609|    810|        _PyObject_GC_TRACK(copy);
  ------------------
  |  |  505|    810|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    810|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    810|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1610|    810|    }
 1611|    810|    return copy;
 1612|    810|}
setobject.c:set_discard_entry:
  581|   293k|{
  582|   293k|    setentry *entry;
  583|   293k|    PyObject *old_key;
  584|   293k|    int status = set_lookkey(so, key, hash, &entry);
  585|   293k|    if (status < 0) {
  ------------------
  |  Branch (585:9): [True: 0, False: 293k]
  ------------------
  586|      0|        return -1;
  587|      0|    }
  588|   293k|    if (status == SET_LOOKKEY_NO_MATCH) {
  ------------------
  |  |   67|   293k|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  |  Branch (588:9): [True: 282k, False: 10.6k]
  ------------------
  589|   282k|        return DISCARD_NOTFOUND;
  ------------------
  |  |  576|   282k|#define DISCARD_NOTFOUND 0
  ------------------
  590|   282k|    }
  591|   293k|    assert(status == SET_LOOKKEY_FOUND);
  ------------------
  |  Branch (591:5): [True: 10.6k, False: 0]
  ------------------
  592|  10.6k|    old_key = entry->key;
  593|  10.6k|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, -1);
  ------------------
  |  |  194|  10.6k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  594|  10.6k|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used - 1);
  ------------------
  |  |  194|  10.6k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  595|  10.6k|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, dummy);
  ------------------
  |  |  164|  10.6k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  596|  10.6k|    Py_DECREF(old_key);
  ------------------
  |  |  430|  10.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  597|  10.6k|    return DISCARD_FOUND;
  ------------------
  |  |  577|  10.6k|#define DISCARD_FOUND 1
  ------------------
  598|  10.6k|}
setobject.c:make_new_set_basetype_untracked:
 1390|    817|{
 1391|    817|    if (type != &PySet_Type && type != &PyFrozenSet_Type) {
  ------------------
  |  Branch (1391:9): [True: 0, False: 817]
  |  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|    817|    return make_new_set_untracked(type, iterable);
 1398|    817|}
setobject.c:make_new_set_untracked:
 1352|   528k|{
 1353|   528k|    assert(PyType_Check(type));
  ------------------
  |  Branch (1353:5): [True: 528k, False: 0]
  ------------------
 1354|   528k|    PySetObject *so;
 1355|       |
 1356|   528k|    so = (PySetObject *)_PyType_AllocNoTrack(type, 0);
 1357|   528k|    if (so == NULL)
  ------------------
  |  Branch (1357:9): [True: 0, False: 528k]
  ------------------
 1358|      0|        return NULL;
 1359|       |
 1360|   528k|    so->fill = 0;
 1361|   528k|    so->used = 0;
 1362|   528k|    so->mask = PySet_MINSIZE - 1;
  ------------------
  |  |   18|   528k|#define PySet_MINSIZE 8
  ------------------
 1363|   528k|    so->table = so->smalltable;
 1364|   528k|    so->hash = -1;
 1365|   528k|    so->finger = 0;
 1366|   528k|    so->weakreflist = NULL;
 1367|       |
 1368|   528k|    if (iterable != NULL) {
  ------------------
  |  Branch (1368:9): [True: 187k, False: 341k]
  ------------------
 1369|   187k|        if (set_update_local(so, iterable)) {
  ------------------
  |  Branch (1369:13): [True: 0, False: 187k]
  ------------------
 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|   187k|    }
 1374|       |
 1375|   528k|    return (PyObject *)so;
 1376|   528k|}
setobject.c:set_update_local:
 1261|   187k|{
 1262|   187k|    assert(Py_REFCNT(so) == 1);
  ------------------
  |  Branch (1262:5): [True: 187k, False: 0]
  ------------------
 1263|   187k|    if (PyAnySet_Check(other)) {
  ------------------
  |  |   31|   187k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   374k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   187k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   187k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 177k, False: 10.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   197k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 10.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|   187k|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|  10.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 10.1k]
  |  |  ------------------
  |  |   33|   187k|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|  10.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 10.1k]
  |  |  ------------------
  ------------------
 1264|   177k|        int rv;
 1265|   177k|        Py_BEGIN_CRITICAL_SECTION(other);
  ------------------
  |  |   51|   177k|    {
  ------------------
 1266|   177k|        rv = set_merge_lock_held(so, other);
 1267|   177k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   177k|    }
  ------------------
 1268|   177k|        return rv;
 1269|   177k|    }
 1270|  10.1k|    else if (PyDict_CheckExact(other)) {
  ------------------
  |  |   19|  10.1k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|  10.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 412, False: 9.75k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1271|    412|        int rv;
 1272|    412|        Py_BEGIN_CRITICAL_SECTION(other);
  ------------------
  |  |   51|    412|    {
  ------------------
 1273|    412|        rv = set_update_dict_lock_held(so, other);
 1274|    412|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    412|    }
  ------------------
 1275|    412|        return rv;
 1276|    412|    }
 1277|  9.75k|    else if (PyFrozenDict_CheckExact(other)) {
  ------------------
  |  |   38|  9.75k|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  215|  9.75k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  9.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  9.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 9.75k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1278|      0|        return set_update_dict_lock_held(so, other);
 1279|      0|    }
 1280|  9.75k|    return set_update_iterable_lock_held(so, other);
 1281|   187k|}
setobject.c:set_update_dict_lock_held:
 1188|    412|{
 1189|    412|    assert(PyAnyDict_CheckExact(other));
  ------------------
  |  Branch (1189:5): [True: 412, False: 0]
  |  Branch (1189:5): [True: 0, False: 0]
  ------------------
 1190|       |
 1191|    412|    _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|    412|    Py_ssize_t dictsize = PyDict_GET_SIZE(other);
  ------------------
  |  |   63|    412|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    412|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    412|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1203|    412|    if ((so->fill + dictsize)*5 >= so->mask*3) {
  ------------------
  |  Branch (1203:9): [True: 0, False: 412]
  ------------------
 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|    412|    Py_ssize_t pos = 0;
 1210|    412|    PyObject *key;
 1211|    412|    PyObject *value;
 1212|    412|    Py_hash_t hash;
 1213|  1.42k|    while (_PyDict_Next(other, &pos, &key, &value, &hash)) {
  ------------------
  |  Branch (1213:12): [True: 1.01k, False: 412]
  ------------------
 1214|  1.01k|        if (set_add_entry(so, key, hash)) {
  ------------------
  |  Branch (1214:13): [True: 0, False: 1.01k]
  ------------------
 1215|      0|            return -1;
 1216|      0|        }
 1217|  1.01k|    }
 1218|    412|    return 0;
 1219|    412|}
setobject.c:set_update_iterable_lock_held:
 1223|  9.75k|{
 1224|  9.75k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
 1225|       |
 1226|  9.75k|    PyObject *it = PyObject_GetIter(other);
 1227|  9.75k|    if (it == NULL) {
  ------------------
  |  Branch (1227:9): [True: 0, False: 9.75k]
  ------------------
 1228|      0|        return -1;
 1229|      0|    }
 1230|       |
 1231|  9.75k|    PyObject *key;
 1232|  55.3k|    while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (1232:12): [True: 45.5k, False: 9.75k]
  ------------------
 1233|  45.5k|        if (set_add_key(so, key)) {
  ------------------
  |  Branch (1233:13): [True: 0, False: 45.5k]
  ------------------
 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|  45.5k|        Py_DECREF(key);
  ------------------
  |  |  430|  45.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  45.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1239|  45.5k|    }
 1240|  9.75k|    Py_DECREF(it);
  ------------------
  |  |  430|  9.75k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1241|  9.75k|    if (PyErr_Occurred())
  ------------------
  |  Branch (1241:9): [True: 0, False: 9.75k]
  ------------------
 1242|      0|        return -1;
 1243|  9.75k|    return 0;
 1244|  9.75k|}
setobject.c:set_add_entry:
  339|   544k|{
  340|   544k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
  341|       |
  342|   544k|    return set_add_entry_takeref(so, Py_NewRef(key), hash);
  ------------------
  |  |  550|   544k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   544k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   544k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  343|   544k|}
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|    405|{
 1686|    405|    PySetObject *result;
 1687|       |
 1688|    405|    if (!PyAnySet_Check(self) || !PyAnySet_Check(other))
  ------------------
  |  |   31|    810|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    810|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    405|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    405|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 405, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    405|#  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|    405|      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|    810|      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|    405|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    810|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    405|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    405|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 405, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    405|#  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|    405|      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|    405|      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|    405|    result = (PySetObject *)set_copy(self, NULL);
 1692|    405|    if (result == NULL) {
  ------------------
  |  Branch (1692:9): [True: 0, False: 405]
  ------------------
 1693|      0|        return NULL;
 1694|      0|    }
 1695|    405|    if (Py_Is(self, other)) {
  ------------------
  |  |  187|    405|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  |  |  Branch (187:21): [True: 0, False: 405]
  |  |  ------------------
  ------------------
 1696|      0|        return (PyObject *)result;
 1697|      0|    }
 1698|    405|    if (set_update_local(result, other)) {
  ------------------
  |  Branch (1698:9): [True: 0, False: 405]
  ------------------
 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|    405|    return (PyObject *)result;
 1703|    405|}
setobject.c:set_ior:
 1707|   229k|{
 1708|   229k|    if (!PyAnySet_Check(other))
  ------------------
  |  |   31|   229k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   459k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   229k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   229k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 229k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   229k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      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|   229k|      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|   229k|      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|   229k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|   229k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|   229k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1710:23): [True: 229k, 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|   229k|    if (set_update_internal(so, other)) {
  ------------------
  |  Branch (1712:9): [True: 0, False: 229k]
  ------------------
 1713|      0|        return NULL;
 1714|      0|    }
 1715|   229k|    return Py_NewRef(so);
  ------------------
  |  |  550|   229k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   229k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   229k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1716|   229k|}
setobject.c:set_contains:
 2578|     37|{
 2579|     37|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|     37|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2579:23): [True: 25, False: 12]
  |  Branch (2579:23): [True: 12, False: 0]
  |  Branch (2579:23): [True: 0, False: 0]
  |  Branch (2579:23): [True: 0, False: 0]
  ------------------
 2580|      0|    return _PySet_Contains(so, key);
 2581|     37|}
setobject.c:set_traverse:
  938|  2.00k|{
  939|  2.00k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|  2.00k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  2.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (939:23): [True: 1.50k, False: 504]
  |  Branch (939:23): [True: 504, False: 0]
  |  Branch (939:23): [True: 0, False: 0]
  |  Branch (939:23): [True: 0, False: 0]
  ------------------
  940|      0|    Py_ssize_t pos = 0;
  941|  2.00k|    setentry *entry;
  942|       |
  943|  19.4k|    while (set_next(so, &pos, &entry))
  ------------------
  |  Branch (943:12): [True: 17.4k, False: 2.00k]
  ------------------
  944|  17.4k|        Py_VISIT(entry->key);
  ------------------
  |  |  194|  19.4k|    do {                                                                \
  |  |  195|  17.4k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 17.4k, False: 0]
  |  |  ------------------
  |  |  196|  17.4k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  17.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  17.4k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 17.4k]
  |  |  ------------------
  |  |  198|  17.4k|                return vret;                                            \
  |  |  199|  17.4k|        }                                                               \
  |  |  200|  17.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 17.4k]
  |  |  ------------------
  ------------------
  945|  2.00k|    return 0;
  946|  2.00k|}
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|    132|    for (entry = table; used > 0; entry++) {
  ------------------
  |  Branch (684:25): [True: 105, False: 27]
  ------------------
  685|    105|        if (entry->key && entry->key != dummy) {
  ------------------
  |  |   64|     27|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (685:13): [True: 27, False: 78]
  |  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|    105|    }
  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|  6.81k|{
 2492|  6.81k|    PySetObject *v = _PySet_CAST(self);
  ------------------
  |  |   62|  6.81k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  6.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2492:22): [True: 409, False: 6.40k]
  |  Branch (2492:22): [True: 6.40k, False: 0]
  |  Branch (2492:22): [True: 0, False: 0]
  |  Branch (2492:22): [True: 0, False: 0]
  ------------------
 2493|      0|    PyObject *r1;
 2494|  6.81k|    int r2;
 2495|       |
 2496|  6.81k|    if(!PyAnySet_Check(w))
  ------------------
  |  |   31|  6.81k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  13.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4, False: 6.81k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  13.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 6.40k, False: 405]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|  6.81k|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|    405|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    405|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    405|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 405]
  |  |  ------------------
  |  |   33|  6.81k|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|    405|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    405|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    405|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 405]
  |  |  ------------------
  ------------------
 2497|    405|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|    405|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|    405|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 2498|       |
 2499|  6.41k|    switch (op) {
  ------------------
  |  Branch (2499:13): [True: 6.41k, False: 0]
  ------------------
 2500|  6.40k|    case Py_EQ:
  ------------------
  |  |  654|  6.40k|#define Py_EQ 2
  ------------------
  |  Branch (2500:5): [True: 6.40k, False: 4]
  ------------------
 2501|  6.40k|        if (PySet_GET_SIZE(v) != PySet_GET_SIZE(w))
  ------------------
  |  |   71|  6.40k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|  6.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PySet_GET_SIZE(v) != PySet_GET_SIZE(w))
  ------------------
  |  |   71|  6.40k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|  6.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2501:13): [True: 0, False: 6.40k]
  ------------------
 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|  6.40k|        Py_hash_t v_hash = FT_ATOMIC_LOAD_SSIZE_RELAXED(v->hash);
  ------------------
  |  |  149|  6.40k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 2504|  6.40k|        Py_hash_t w_hash = FT_ATOMIC_LOAD_SSIZE_RELAXED(((PySetObject *)w)->hash);
  ------------------
  |  |  149|  6.40k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 2505|  6.40k|        if (v_hash != -1 && w_hash != -1 && v_hash != w_hash)
  ------------------
  |  Branch (2505:13): [True: 6.40k, False: 0]
  |  Branch (2505:29): [True: 6.40k, False: 0]
  |  Branch (2505:45): [True: 0, False: 6.40k]
  ------------------
 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|  6.40k|        return set_issubset((PyObject*)v, w);
 2508|      0|    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (2508:5): [True: 0, False: 6.41k]
  ------------------
 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: 6.40k]
  ------------------
 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: 6.41k]
  ------------------
 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: 6.41k]
  ------------------
 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: 6.41k]
  ------------------
 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|  6.41k|    }
 2530|      0|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 2531|  6.41k|}
setobject.c:set_issubset_impl:
 2416|  6.41k|{
 2417|  6.41k|    setentry *entry;
 2418|  6.41k|    Py_ssize_t pos = 0;
 2419|  6.41k|    int rv;
 2420|       |
 2421|  6.41k|    if (!PyAnySet_Check(other)) {
  ------------------
  |  |   31|  6.41k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  12.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4, False: 6.40k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  12.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 6.40k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|  6.41k|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   33|  6.41k|      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|  6.41k|    if (PySet_GET_SIZE(so) > PySet_GET_SIZE(other))
  ------------------
  |  |   71|  6.41k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|  6.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PySet_GET_SIZE(so) > PySet_GET_SIZE(other))
  ------------------
  |  |   71|  6.41k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|  6.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2430:9): [True: 0, False: 6.41k]
  ------------------
 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|  34.0k|    while (set_next(so, &pos, &entry)) {
  ------------------
  |  Branch (2433:12): [True: 27.6k, False: 6.32k]
  ------------------
 2434|  27.6k|        PyObject *key = entry->key;
 2435|  27.6k|        Py_INCREF(key);
  ------------------
  |  |  310|  27.6k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2436|  27.6k|        rv = set_contains_entry((PySetObject *)other, key, entry->hash);
 2437|  27.6k|        Py_DECREF(key);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2438|  27.6k|        if (rv < 0) {
  ------------------
  |  Branch (2438:13): [True: 0, False: 27.6k]
  ------------------
 2439|      0|            return NULL;
 2440|      0|        }
 2441|  27.6k|        if (!rv) {
  ------------------
  |  Branch (2441:13): [True: 85, False: 27.5k]
  ------------------
 2442|     85|            Py_RETURN_FALSE;
  ------------------
  |  |   45|     85|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|     85|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2443|     85|        }
 2444|  27.6k|    }
 2445|  6.32k|    Py_RETURN_TRUE;
  ------------------
  |  |   44|  6.32k|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|  6.32k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2446|  6.41k|}
setobject.c:set_iter:
 1173|  57.3k|{
 1174|  57.3k|    Py_ssize_t size = set_len(so);
 1175|  57.3k|    setiterobject *si = PyObject_GC_New(setiterobject, &PySetIter_Type);
  ------------------
  |  |  181|  57.3k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  57.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1176|  57.3k|    if (si == NULL)
  ------------------
  |  Branch (1176:9): [True: 0, False: 57.3k]
  ------------------
 1177|      0|        return NULL;
 1178|  57.3k|    si->si_set = (PySetObject*)Py_NewRef(so);
  ------------------
  |  |  550|  57.3k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  57.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  57.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1179|  57.3k|    si->si_used = size;
 1180|  57.3k|    si->si_pos = 0;
 1181|  57.3k|    si->len = size;
 1182|  57.3k|    _PyObject_GC_TRACK(si);
  ------------------
  |  |  505|  57.3k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  57.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  57.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1183|  57.3k|    return (PyObject *)si;
 1184|  57.3k|}
setobject.c:set_add_impl:
 2548|   207k|{
 2549|   207k|    if (set_add_key(so, key))
  ------------------
  |  Branch (2549:9): [True: 0, False: 207k]
  ------------------
 2550|      0|        return NULL;
 2551|   207k|    Py_RETURN_NONE;
  ------------------
  |  |  628|   207k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|   207k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2552|   207k|}
setobject.c:set_difference_update_impl:
 2053|    405|{
 2054|    405|    Py_ssize_t i;
 2055|       |
 2056|    810|    for (i = 0; i < others_length; i++) {
  ------------------
  |  Branch (2056:17): [True: 405, False: 405]
  ------------------
 2057|    405|        PyObject *other = others[i];
 2058|    405|        int rv;
 2059|    405|        Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|    405|    {
  ------------------
 2060|    405|        rv = set_difference_update_internal(so, other);
 2061|    405|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|    405|    }
  ------------------
 2062|    405|        if (rv) {
  ------------------
  |  Branch (2062:13): [True: 0, False: 405]
  ------------------
 2063|      0|            return NULL;
 2064|      0|        }
 2065|    405|    }
 2066|    405|    Py_RETURN_NONE;
  ------------------
  |  |  628|    405|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    405|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2067|    405|}
setobject.c:set_remove_impl:
 2653|  1.01k|{
 2654|  1.01k|    int rv;
 2655|       |
 2656|  1.01k|    rv = set_discard_key(so, key);
 2657|  1.01k|    if (rv < 0) {
  ------------------
  |  Branch (2657:9): [True: 0, False: 1.01k]
  ------------------
 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|  1.01k|    if (rv == DISCARD_NOTFOUND) {
  ------------------
  |  |  576|  1.01k|#define DISCARD_NOTFOUND 0
  ------------------
  |  Branch (2670:9): [True: 0, False: 1.01k]
  ------------------
 2671|      0|        _PyErr_SetKeyError(key);
 2672|      0|        return NULL;
 2673|      0|    }
 2674|  1.01k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  1.01k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  1.01k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2675|  1.01k|}
setobject.c:set_vectorcall:
 2794|  18.9k|{
 2795|  18.9k|    assert(PyType_Check(type));
  ------------------
  |  Branch (2795:5): [True: 18.9k, False: 0]
  ------------------
 2796|       |
 2797|  18.9k|    if (!_PyArg_NoKwnames("set", kwnames)) {
  ------------------
  |  |   15|  18.9k|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 18.9k, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2798|      0|        return NULL;
 2799|      0|    }
 2800|       |
 2801|  18.9k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  18.9k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 2802|  18.9k|    if (!_PyArg_CheckPositional("set", nargs, 0, 1)) {
  ------------------
  |  |   31|  18.9k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 18.9k, False: 0]
  |  |  |  Branch (31:27): [True: 18.9k, False: 0]
  |  |  ------------------
  |  |   32|  18.9k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2803|      0|        return NULL;
 2804|      0|    }
 2805|       |
 2806|  18.9k|    if (nargs) {
  ------------------
  |  Branch (2806:9): [True: 21, False: 18.9k]
  ------------------
 2807|     21|        return make_new_set(_PyType_CAST(type), args[0]);
  ------------------
  |  |  770|     21|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2807:29): [True: 21, False: 0]
  ------------------
 2808|     21|    }
 2809|       |
 2810|  18.9k|    return make_new_set(_PyType_CAST(type), NULL);
  ------------------
  |  |  770|  18.9k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  18.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2810:25): [True: 18.9k, False: 0]
  ------------------
 2811|  18.9k|}
setobject.c:frozenset_hash:
 1016|  12.0k|{
 1017|  12.0k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|  12.0k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  12.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1017:23): [True: 0, False: 12.0k]
  |  Branch (1017:23): [True: 12.0k, False: 0]
  |  Branch (1017:23): [True: 0, False: 0]
  |  Branch (1017:23): [True: 0, False: 0]
  ------------------
 1018|      0|    Py_uhash_t hash;
 1019|       |
 1020|  12.0k|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(so->hash) != -1) {
  ------------------
  |  |  149|  12.0k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (1020:9): [True: 2.28k, False: 9.73k]
  ------------------
 1021|  2.28k|        return FT_ATOMIC_LOAD_SSIZE_ACQUIRE(so->hash);
  ------------------
  |  |  148|  2.28k|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
 1022|  2.28k|    }
 1023|       |
 1024|  9.73k|    hash = frozenset_hash_impl(self);
 1025|  9.73k|    FT_ATOMIC_STORE_SSIZE_RELEASE(so->hash, hash);
  ------------------
  |  |  169|  9.73k|#define FT_ATOMIC_STORE_SSIZE_RELEASE(value, new_value) value = new_value
  ------------------
 1026|  9.73k|    return hash;
 1027|  12.0k|}
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|   527k|{
 1381|   527k|    PyObject *so = make_new_set_untracked(type, iterable);
 1382|   527k|    if (so != NULL) {
  ------------------
  |  Branch (1382:9): [True: 527k, False: 0]
  ------------------
 1383|   527k|        _PyObject_GC_TRACK(so);
  ------------------
  |  |  505|   527k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   527k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   527k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1384|   527k|    }
 1385|   527k|    return so;
 1386|   527k|}
setobject.c:_PyFrozenSet_MaybeUntrack:
 1413|  9.90k|{
 1414|  9.90k|    assert(op != NULL);
  ------------------
  |  Branch (1414:5): [True: 9.90k, False: 0]
  ------------------
 1415|       |    // subclasses of a frozenset can generate reference cycles, so do not untrack
 1416|  9.90k|    if (!PyFrozenSet_CheckExact(op)) {
  ------------------
  |  |   23|  9.90k|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|  9.90k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  9.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  9.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1416:9): [True: 0, False: 9.90k]
  ------------------
 1417|      0|        return;
 1418|      0|    }
 1419|       |    // if no elements of a frozenset are tracked by the GC, we untrack the object
 1420|  9.90k|    Py_ssize_t pos = 0;
 1421|  9.90k|    setentry *entry;
 1422|  38.2k|    while (set_next((PySetObject *)op, &pos, &entry)) {
  ------------------
  |  Branch (1422:12): [True: 33.6k, False: 4.65k]
  ------------------
 1423|  33.6k|        if (_PyObject_GC_MAY_BE_TRACKED(entry->key)) {
  ------------------
  |  Branch (1423:13): [True: 5.24k, False: 28.3k]
  ------------------
 1424|  5.24k|            return;
 1425|  5.24k|        }
 1426|  33.6k|    }
 1427|  4.65k|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  507|  4.65k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.65k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.65k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1428|  4.65k|}
setobject.c:set_len:
  823|  68.2k|{
  824|  68.2k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|  68.2k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  68.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (824:23): [True: 66.9k, False: 1.29k]
  |  Branch (824:23): [True: 1.29k, False: 0]
  |  Branch (824:23): [True: 0, False: 0]
  |  Branch (824:23): [True: 0, False: 0]
  ------------------
  825|  68.2k|    return FT_ATOMIC_LOAD_SSIZE_RELAXED(so->used);
  ------------------
  |  |  149|  68.2k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  826|  68.2k|}
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|   292k|{
  625|   292k|    Py_hash_t hash = PyObject_Hash(key);
  626|   292k|    if (hash == -1) {
  ------------------
  |  Branch (626:9): [True: 0, False: 292k]
  ------------------
  627|      0|        set_unhashable_type(key);
  628|      0|        return -1;
  629|      0|    }
  630|   292k|    return set_discard_entry(so, key, hash);
  631|   292k|}
setobject.c:set_add_key:
  602|   444k|{
  603|   444k|    Py_hash_t hash = PyObject_Hash(key);
  604|   444k|    if (hash == -1) {
  ------------------
  |  Branch (604:9): [True: 0, False: 444k]
  ------------------
  605|      0|        set_unhashable_type(key);
  606|      0|        return -1;
  607|      0|    }
  608|   444k|    return set_add_entry(so, key, hash);
  609|   444k|}
setobject.c:set_next:
  711|   281k|{
  712|   281k|    Py_ssize_t i;
  713|   281k|    Py_ssize_t mask;
  714|   281k|    setentry *entry;
  715|       |
  716|   281k|    assert (PyAnySet_Check(so));
  ------------------
  |  Branch (716:5): [True: 178k, False: 103k]
  |  Branch (716:5): [True: 103k, False: 0]
  |  Branch (716:5): [True: 0, False: 0]
  |  Branch (716:5): [True: 0, False: 0]
  ------------------
  717|   281k|    i = *pos_ptr;
  718|   281k|    assert(i >= 0);
  ------------------
  |  Branch (718:5): [True: 281k, False: 0]
  ------------------
  719|   281k|    mask = so->mask;
  720|   281k|    entry = &so->table[i];
  721|   980k|    while (i <= mask && (entry->key == NULL || entry->key == dummy)) {
  ------------------
  |  |   64|   244k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (721:12): [True: 943k, False: 36.9k]
  |  Branch (721:26): [True: 698k, False: 244k]
  |  Branch (721:48): [True: 10, False: 244k]
  ------------------
  722|   698k|        i++;
  723|   698k|        entry++;
  724|   698k|    }
  725|   281k|    *pos_ptr = i+1;
  726|   281k|    if (i > mask)
  ------------------
  |  Branch (726:9): [True: 36.9k, False: 244k]
  ------------------
  727|  36.9k|        return 0;
  728|   281k|    assert(entry != NULL);
  ------------------
  |  Branch (728:5): [True: 244k, False: 0]
  ------------------
  729|   244k|    *entry_ptr = entry;
  730|   244k|    return 1;
  731|   244k|}
setobject.c:set_pop_impl:
  913|  6.71k|{
  914|       |    /* Make sure the search finger is in bounds */
  915|  6.71k|    setentry *entry = so->table + (so->finger & so->mask);
  916|  6.71k|    setentry *limit = so->table + so->mask;
  917|  6.71k|    PyObject *key;
  918|       |
  919|  6.71k|    if (so->used == 0) {
  ------------------
  |  Branch (919:9): [True: 0, False: 6.71k]
  ------------------
  920|      0|        PyErr_SetString(PyExc_KeyError, "pop from an empty set");
  921|      0|        return NULL;
  922|      0|    }
  923|  20.7k|    while (entry->key == NULL || entry->key==dummy) {
  ------------------
  |  |   64|  6.84k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (923:12): [True: 13.8k, False: 6.84k]
  |  Branch (923:34): [True: 133, False: 6.71k]
  ------------------
  924|  13.9k|        entry++;
  925|  13.9k|        if (entry > limit)
  ------------------
  |  Branch (925:13): [True: 331, False: 13.6k]
  ------------------
  926|    331|            entry = so->table;
  927|  13.9k|    }
  928|  6.71k|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, -1);
  ------------------
  |  |  194|  6.71k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  929|  6.71k|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used - 1);
  ------------------
  |  |  194|  6.71k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  930|  6.71k|    key = entry->key;
  931|  6.71k|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, dummy);
  ------------------
  |  |  164|  6.71k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  932|  6.71k|    so->finger = entry - so->table + 1;   /* next place to start */
  933|  6.71k|    return key;
  934|  6.71k|}
setobject.c:set_update_internal:
 1285|   229k|{
 1286|   229k|    if (PyAnySet_Check(other)) {
  ------------------
  |  |   31|   229k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   459k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   229k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   229k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 229k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   229k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      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|   229k|      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|   229k|      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|   229k|        if (Py_Is((PyObject *)so, other)) {
  ------------------
  |  |  187|   229k|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  |  |  Branch (187:21): [True: 0, False: 229k]
  |  |  ------------------
  ------------------
 1288|      0|            return 0;
 1289|      0|        }
 1290|   229k|        int rv;
 1291|   229k|        Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|   229k|    {
  ------------------
 1292|   229k|        rv = set_merge_lock_held(so, other);
 1293|   229k|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|   229k|    }
  ------------------
 1294|   229k|        return rv;
 1295|   229k|    }
 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|   229k|}

_PyBuildSlice_ConsumeRefs:
  122|  39.5k|{
  123|  39.5k|    assert(start != NULL && stop != NULL && step != NULL);
  ------------------
  |  Branch (123:5): [True: 39.5k, False: 0]
  |  Branch (123:5): [True: 39.5k, False: 0]
  |  Branch (123:5): [True: 39.5k, False: 0]
  ------------------
  124|  39.5k|    PySliceObject *obj = _Py_FREELIST_POP(PySliceObject, slices);
  ------------------
  |  |   43|  39.5k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  39.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  125|  39.5k|    if (obj == NULL) {
  ------------------
  |  Branch (125:9): [True: 7.42k, False: 32.1k]
  ------------------
  126|  7.42k|        obj = PyObject_GC_New(PySliceObject, &PySlice_Type);
  ------------------
  |  |  181|  7.42k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  7.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  127|  7.42k|        if (obj == NULL) {
  ------------------
  |  Branch (127:13): [True: 0, False: 7.42k]
  ------------------
  128|      0|            goto error;
  129|      0|        }
  130|  7.42k|    }
  131|       |
  132|  39.5k|    obj->start = start;
  133|  39.5k|    obj->stop = stop;
  134|  39.5k|    obj->step = step;
  135|       |
  136|  39.5k|    _PyObject_GC_TRACK(obj);
  ------------------
  |  |  505|  39.5k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  39.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  137|  39.5k|    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|  39.5k|}
PySlice_New:
  147|  39.5k|{
  148|  39.5k|    if (step == NULL) {
  ------------------
  |  Branch (148:9): [True: 30.3k, False: 9.19k]
  ------------------
  149|  30.3k|        step = Py_None;
  ------------------
  |  |  616|  30.3k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  150|  30.3k|    }
  151|  39.5k|    if (start == NULL) {
  ------------------
  |  Branch (151:9): [True: 2.16k, False: 37.3k]
  ------------------
  152|  2.16k|        start = Py_None;
  ------------------
  |  |  616|  2.16k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  153|  2.16k|    }
  154|  39.5k|    if (stop == NULL) {
  ------------------
  |  Branch (154:9): [True: 3.48k, False: 36.0k]
  ------------------
  155|  3.48k|        stop = Py_None;
  ------------------
  |  |  616|  3.48k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  156|  3.48k|    }
  157|  39.5k|    return _PyBuildSlice_ConsumeRefs(Py_NewRef(start),
  ------------------
  |  |  550|  39.5k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  39.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  158|  39.5k|                                              Py_NewRef(stop), Py_NewRef(step));
  ------------------
  |  |  550|  39.5k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  39.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                                            Py_NewRef(stop), Py_NewRef(step));
  ------------------
  |  |  550|  39.5k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  39.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  159|  39.5k|}
_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|  30.8k|{
  214|  30.8k|    PySliceObject *r = (PySliceObject*)_r;
  215|       |    /* this is harder to get right than you might think */
  216|       |
  217|  30.8k|    static_assert(PY_SSIZE_T_MIN + 1 <= -PY_SSIZE_T_MAX,
  218|  30.8k|                  "-PY_SSIZE_T_MAX < PY_SSIZE_T_MIN + 1");
  219|       |
  220|  30.8k|    if (r->step == Py_None) {
  ------------------
  |  |  616|  30.8k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (220:9): [True: 29.5k, False: 1.31k]
  ------------------
  221|  29.5k|        *step = 1;
  222|  29.5k|    }
  223|  1.31k|    else {
  224|  1.31k|        if (!_PyEval_SliceIndex(r->step, step)) return -1;
  ------------------
  |  Branch (224:13): [True: 857, False: 453]
  ------------------
  225|    453|        if (*step == 0) {
  ------------------
  |  Branch (225:13): [True: 55, False: 398]
  ------------------
  226|     55|            PyErr_SetString(PyExc_ValueError,
  227|     55|                            "slice step cannot be zero");
  228|     55|            return -1;
  229|     55|        }
  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|    398|        if (*step < -PY_SSIZE_T_MAX)
  ------------------
  |  |  137|    398|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (235:13): [True: 0, False: 398]
  ------------------
  236|      0|            *step = -PY_SSIZE_T_MAX;
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  237|    398|    }
  238|       |
  239|  29.9k|    if (r->start == Py_None) {
  ------------------
  |  |  616|  29.9k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (239:9): [True: 4.97k, False: 24.9k]
  ------------------
  240|  4.97k|        *start = *step < 0 ? PY_SSIZE_T_MAX : 0;
  ------------------
  |  |  137|  4.97k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (240:18): [True: 7, False: 4.96k]
  ------------------
  241|  4.97k|    }
  242|  24.9k|    else {
  243|  24.9k|        if (!_PyEval_SliceIndex(r->start, start)) return -1;
  ------------------
  |  Branch (243:13): [True: 106, False: 24.8k]
  ------------------
  244|  24.9k|    }
  245|       |
  246|  29.8k|    if (r->stop == Py_None) {
  ------------------
  |  |  616|  29.8k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (246:9): [True: 23.8k, False: 6.00k]
  ------------------
  247|  23.8k|        *stop = *step < 0 ? PY_SSIZE_T_MIN : PY_SSIZE_T_MAX;
  ------------------
  |  |  146|      7|#define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1)
  |  |  ------------------
  |  |  |  |  137|      7|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
                      *stop = *step < 0 ? PY_SSIZE_T_MIN : PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  23.8k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (247:17): [True: 7, False: 23.8k]
  ------------------
  248|  23.8k|    }
  249|  6.00k|    else {
  250|  6.00k|        if (!_PyEval_SliceIndex(r->stop, stop)) return -1;
  ------------------
  |  Branch (250:13): [True: 79, False: 5.92k]
  ------------------
  251|  6.00k|    }
  252|       |
  253|  29.7k|    return 0;
  254|  29.8k|}
PySlice_AdjustIndices:
  259|   457k|{
  260|       |    /* this is harder to get right than you might think */
  261|       |
  262|   457k|    assert(step != 0);
  ------------------
  |  Branch (262:5): [True: 457k, False: 0]
  ------------------
  263|   457k|    assert(step >= -PY_SSIZE_T_MAX);
  ------------------
  |  Branch (263:5): [True: 457k, False: 0]
  ------------------
  264|       |
  265|   457k|    if (*start < 0) {
  ------------------
  |  Branch (265:9): [True: 120, False: 456k]
  ------------------
  266|    120|        *start += length;
  267|    120|        if (*start < 0) {
  ------------------
  |  Branch (267:13): [True: 0, False: 120]
  ------------------
  268|      0|            *start = (step < 0) ? -1 : 0;
  ------------------
  |  Branch (268:22): [True: 0, False: 0]
  ------------------
  269|      0|        }
  270|    120|    }
  271|   456k|    else if (*start >= length) {
  ------------------
  |  Branch (271:14): [True: 64.6k, False: 392k]
  ------------------
  272|  64.6k|        *start = (step < 0) ? length - 1 : length;
  ------------------
  |  Branch (272:18): [True: 7, False: 64.6k]
  ------------------
  273|  64.6k|    }
  274|       |
  275|   457k|    if (*stop < 0) {
  ------------------
  |  Branch (275:9): [True: 7, False: 457k]
  ------------------
  276|      7|        *stop += length;
  277|      7|        if (*stop < 0) {
  ------------------
  |  Branch (277:13): [True: 7, False: 0]
  ------------------
  278|      7|            *stop = (step < 0) ? -1 : 0;
  ------------------
  |  Branch (278:21): [True: 7, False: 0]
  ------------------
  279|      7|        }
  280|      7|    }
  281|   457k|    else if (*stop >= length) {
  ------------------
  |  Branch (281:14): [True: 286k, False: 170k]
  ------------------
  282|   286k|        *stop = (step < 0) ? length - 1 : length;
  ------------------
  |  Branch (282:17): [True: 0, False: 286k]
  ------------------
  283|   286k|    }
  284|       |
  285|   457k|    if (step < 0) {
  ------------------
  |  Branch (285:9): [True: 7, False: 457k]
  ------------------
  286|      7|        if (*stop < *start) {
  ------------------
  |  Branch (286:13): [True: 7, False: 0]
  ------------------
  287|      7|            return (*start - *stop - 1) / (-step) + 1;
  288|      7|        }
  289|      7|    }
  290|   457k|    else {
  291|   457k|        if (*start < *stop) {
  ------------------
  |  Branch (291:13): [True: 372k, False: 84.6k]
  ------------------
  292|   372k|            return (*stop - *start - 1) / step + 1;
  293|   372k|        }
  294|   457k|    }
  295|  84.6k|    return 0;
  296|   457k|}
_PySlice_GetLongIndices:
  392|     40|{
  393|     40|    PyObject *start=NULL, *stop=NULL, *step=NULL;
  394|     40|    PyObject *upper=NULL, *lower=NULL;
  395|     40|    int step_is_negative, cmp_result;
  396|       |
  397|       |    /* Convert step to an integer; raise for zero step. */
  398|     40|    if (self->step == Py_None) {
  ------------------
  |  |  616|     40|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (398:9): [True: 0, False: 40]
  ------------------
  399|      0|        step = _PyLong_GetOne();
  400|      0|        step_is_negative = 0;
  401|      0|    }
  402|     40|    else {
  403|     40|        step = evaluate_slice_index(self->step);
  404|     40|        if (step == NULL) {
  ------------------
  |  Branch (404:13): [True: 0, False: 40]
  ------------------
  405|      0|            goto error;
  406|      0|        }
  407|     40|        assert(PyLong_Check(step));
  ------------------
  |  Branch (407:9): [True: 40, False: 0]
  ------------------
  408|       |
  409|     40|        int step_sign;
  410|     40|        (void)PyLong_GetSign(step, &step_sign);
  411|     40|        if (step_sign == 0) {
  ------------------
  |  Branch (411:13): [True: 0, False: 40]
  ------------------
  412|      0|            PyErr_SetString(PyExc_ValueError,
  413|      0|                            "slice step cannot be zero");
  414|      0|            goto error;
  415|      0|        }
  416|     40|        step_is_negative = step_sign < 0;
  417|     40|    }
  418|       |
  419|       |    /* Find lower and upper bounds for start and stop. */
  420|     40|    if (step_is_negative) {
  ------------------
  |  Branch (420:9): [True: 40, False: 0]
  ------------------
  421|     40|        lower = PyLong_FromLong(-1L);
  422|     40|        if (lower == NULL)
  ------------------
  |  Branch (422:13): [True: 0, False: 40]
  ------------------
  423|      0|            goto error;
  424|       |
  425|     40|        upper = PyNumber_Add(length, lower);
  426|     40|        if (upper == NULL)
  ------------------
  |  Branch (426:13): [True: 0, False: 40]
  ------------------
  427|      0|            goto error;
  428|     40|    }
  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|     40|    if (self->start == Py_None) {
  ------------------
  |  |  616|     40|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (435:9): [True: 40, False: 0]
  ------------------
  436|     40|        start = Py_NewRef(step_is_negative ? upper : lower);
  ------------------
  |  |  550|     40|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 40, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  437|     40|    }
  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);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359: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));
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359: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));
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  463|      0|            }
  464|      0|        }
  465|      0|    }
  466|       |
  467|       |    /* Compute stop. */
  468|     40|    if (self->stop == Py_None) {
  ------------------
  |  |  616|     40|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (468:9): [True: 40, False: 0]
  ------------------
  469|     40|        stop = Py_NewRef(step_is_negative ? lower : upper);
  ------------------
  |  |  550|     40|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 40, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  470|     40|    }
  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);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359: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));
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359: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));
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  496|      0|            }
  497|      0|        }
  498|      0|    }
  499|       |
  500|     40|    *start_ptr = start;
  501|     40|    *stop_ptr = stop;
  502|     40|    *step_ptr = step;
  503|     40|    Py_DECREF(upper);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  504|     40|    Py_DECREF(lower);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  505|     40|    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|     40|}
sliceobject.c:evaluate_slice_index:
  372|     40|{
  373|     40|    if (_PyIndex_Check(v)) {
  ------------------
  |  Branch (373:9): [True: 40, False: 0]
  ------------------
  374|     40|        return PyNumber_Index(v);
  375|     40|    }
  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|     40|}
sliceobject.c:slice_dealloc:
  343|  39.4k|{
  344|  39.4k|    PySliceObject *r = _PySlice_CAST(op);
  ------------------
  |  |   25|  39.4k|#define _PySlice_CAST(op) _Py_CAST(PySliceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  39.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  345|  39.4k|    PyObject_GC_UnTrack(r);
  346|  39.4k|    Py_DECREF(r->step);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  347|  39.4k|    Py_DECREF(r->start);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  348|  39.4k|    Py_DECREF(r->stop);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  349|  39.4k|    _Py_FREELIST_FREE(slices, r, PyObject_GC_Del);
  ------------------
  |  |   35|  39.4k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  39.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  39.4k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   21|  39.4k|#  define Py_slices_MAXFREELIST 1
  |  |  ------------------
  ------------------
  350|  39.4k|}
sliceobject.c:slice_hash:
  644|  16.6k|{
  645|  16.6k|    PySliceObject *v = _PySlice_CAST(op);
  ------------------
  |  |   25|  16.6k|#define _PySlice_CAST(op) _Py_CAST(PySliceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  16.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  646|  16.6k|    Py_uhash_t acc = _PyHASH_XXPRIME_5;
  ------------------
  |  |  633|  16.6k|#define _PyHASH_XXPRIME_5 ((Py_uhash_t)2870177450012600261ULL)
  ------------------
  647|  16.6k|#define _PyHASH_SLICE_PART(com) { \
  648|  16.6k|    Py_uhash_t lane = PyObject_Hash(v->com); \
  649|  16.6k|    if(lane == (Py_uhash_t)-1) { \
  650|  16.6k|        return -1; \
  651|  16.6k|    } \
  652|  16.6k|    acc += lane * _PyHASH_XXPRIME_2; \
  653|  16.6k|    acc = _PyHASH_XXROTATE(acc); \
  654|  16.6k|    acc *= _PyHASH_XXPRIME_1; \
  655|  16.6k|}
  656|  16.6k|    _PyHASH_SLICE_PART(start);
  ------------------
  |  |  647|  16.6k|#define _PyHASH_SLICE_PART(com) { \
  |  |  648|  16.6k|    Py_uhash_t lane = PyObject_Hash(v->com); \
  |  |  649|  16.6k|    if(lane == (Py_uhash_t)-1) { \
  |  |  ------------------
  |  |  |  Branch (649:8): [True: 0, False: 16.6k]
  |  |  ------------------
  |  |  650|      0|        return -1; \
  |  |  651|      0|    } \
  |  |  652|  16.6k|    acc += lane * _PyHASH_XXPRIME_2; \
  |  |  ------------------
  |  |  |  |  632|  16.6k|#define _PyHASH_XXPRIME_2 ((Py_uhash_t)14029467366897019727ULL)
  |  |  ------------------
  |  |  653|  16.6k|    acc = _PyHASH_XXROTATE(acc); \
  |  |  ------------------
  |  |  |  |  634|  16.6k|#define _PyHASH_XXROTATE(x) ((x << 31) | (x >> 33))  /* Rotate left 31 bits */
  |  |  ------------------
  |  |  654|  16.6k|    acc *= _PyHASH_XXPRIME_1; \
  |  |  ------------------
  |  |  |  |  631|  16.6k|#define _PyHASH_XXPRIME_1 ((Py_uhash_t)11400714785074694791ULL)
  |  |  ------------------
  |  |  655|  16.6k|}
  ------------------
  657|  16.6k|    _PyHASH_SLICE_PART(stop);
  ------------------
  |  |  647|  16.6k|#define _PyHASH_SLICE_PART(com) { \
  |  |  648|  16.6k|    Py_uhash_t lane = PyObject_Hash(v->com); \
  |  |  649|  16.6k|    if(lane == (Py_uhash_t)-1) { \
  |  |  ------------------
  |  |  |  Branch (649:8): [True: 0, False: 16.6k]
  |  |  ------------------
  |  |  650|      0|        return -1; \
  |  |  651|      0|    } \
  |  |  652|  16.6k|    acc += lane * _PyHASH_XXPRIME_2; \
  |  |  ------------------
  |  |  |  |  632|  16.6k|#define _PyHASH_XXPRIME_2 ((Py_uhash_t)14029467366897019727ULL)
  |  |  ------------------
  |  |  653|  16.6k|    acc = _PyHASH_XXROTATE(acc); \
  |  |  ------------------
  |  |  |  |  634|  16.6k|#define _PyHASH_XXROTATE(x) ((x << 31) | (x >> 33))  /* Rotate left 31 bits */
  |  |  ------------------
  |  |  654|  16.6k|    acc *= _PyHASH_XXPRIME_1; \
  |  |  ------------------
  |  |  |  |  631|  16.6k|#define _PyHASH_XXPRIME_1 ((Py_uhash_t)11400714785074694791ULL)
  |  |  ------------------
  |  |  655|  16.6k|}
  ------------------
  658|  16.6k|    _PyHASH_SLICE_PART(step);
  ------------------
  |  |  647|  16.6k|#define _PyHASH_SLICE_PART(com) { \
  |  |  648|  16.6k|    Py_uhash_t lane = PyObject_Hash(v->com); \
  |  |  649|  16.6k|    if(lane == (Py_uhash_t)-1) { \
  |  |  ------------------
  |  |  |  Branch (649:8): [True: 0, False: 16.6k]
  |  |  ------------------
  |  |  650|      0|        return -1; \
  |  |  651|      0|    } \
  |  |  652|  16.6k|    acc += lane * _PyHASH_XXPRIME_2; \
  |  |  ------------------
  |  |  |  |  632|  16.6k|#define _PyHASH_XXPRIME_2 ((Py_uhash_t)14029467366897019727ULL)
  |  |  ------------------
  |  |  653|  16.6k|    acc = _PyHASH_XXROTATE(acc); \
  |  |  ------------------
  |  |  |  |  634|  16.6k|#define _PyHASH_XXROTATE(x) ((x << 31) | (x >> 33))  /* Rotate left 31 bits */
  |  |  ------------------
  |  |  654|  16.6k|    acc *= _PyHASH_XXPRIME_1; \
  |  |  ------------------
  |  |  |  |  631|  16.6k|#define _PyHASH_XXPRIME_1 ((Py_uhash_t)11400714785074694791ULL)
  |  |  ------------------
  |  |  655|  16.6k|}
  ------------------
  659|  16.6k|#undef _PyHASH_SLICE_PART
  660|  16.6k|    if(acc == (Py_uhash_t)-1) {
  ------------------
  |  Branch (660:8): [True: 0, False: 16.6k]
  ------------------
  661|      0|        return 1546275796;
  662|      0|    }
  663|  16.6k|    return acc;
  664|  16.6k|}
sliceobject.c:slice_traverse:
  621|  1.34k|{
  622|  1.34k|    PySliceObject *v = _PySlice_CAST(op);
  ------------------
  |  |   25|  1.34k|#define _PySlice_CAST(op) _Py_CAST(PySliceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  623|  1.34k|    Py_VISIT(v->start);
  ------------------
  |  |  194|  1.34k|    do {                                                                \
  |  |  195|  1.34k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.34k, False: 0]
  |  |  ------------------
  |  |  196|  1.34k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.34k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.34k]
  |  |  ------------------
  |  |  198|  1.34k|                return vret;                                            \
  |  |  199|  1.34k|        }                                                               \
  |  |  200|  1.34k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.34k]
  |  |  ------------------
  ------------------
  624|  1.34k|    Py_VISIT(v->stop);
  ------------------
  |  |  194|  1.34k|    do {                                                                \
  |  |  195|  1.34k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.34k, False: 0]
  |  |  ------------------
  |  |  196|  1.34k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.34k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.34k]
  |  |  ------------------
  |  |  198|  1.34k|                return vret;                                            \
  |  |  199|  1.34k|        }                                                               \
  |  |  200|  1.34k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.34k]
  |  |  ------------------
  ------------------
  625|  1.34k|    Py_VISIT(v->step);
  ------------------
  |  |  194|  1.34k|    do {                                                                \
  |  |  195|  1.34k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.34k, False: 0]
  |  |  ------------------
  |  |  196|  1.34k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.34k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.34k]
  |  |  ------------------
  |  |  198|  1.34k|                return vret;                                            \
  |  |  199|  1.34k|        }                                                               \
  |  |  200|  1.34k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.34k]
  |  |  ------------------
  ------------------
  626|  1.34k|    return 0;
  627|  1.34k|}
sliceobject.c:slice_richcompare:
  574|  8.82k|{
  575|  8.82k|    if (!PySlice_Check(v) || !PySlice_Check(w))
  ------------------
  |  |   22|  8.82k|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|  17.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PySlice_Check(v) || !PySlice_Check(w))
  ------------------
  |  |   22|  8.82k|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|  8.82k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (575:9): [True: 0, False: 8.82k]
  |  Branch (575:30): [True: 0, False: 8.82k]
  ------------------
  576|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  577|       |
  578|  8.82k|    if (v == w) {
  ------------------
  |  Branch (578:9): [True: 0, False: 8.82k]
  ------------------
  579|      0|        PyObject *res;
  580|       |        /* XXX Do we really need this shortcut?
  581|       |           There's a unit test for it, but is that fair? */
  582|      0|        switch (op) {
  583|      0|        case Py_EQ:
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  |  Branch (583:9): [True: 0, False: 0]
  ------------------
  584|      0|        case Py_LE:
  ------------------
  |  |  653|      0|#define Py_LE 1
  ------------------
  |  Branch (584:9): [True: 0, False: 0]
  ------------------
  585|      0|        case Py_GE:
  ------------------
  |  |  657|      0|#define Py_GE 5
  ------------------
  |  Branch (585:9): [True: 0, False: 0]
  ------------------
  586|      0|            res = Py_True;
  ------------------
  |  |   26|      0|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  587|      0|            break;
  588|      0|        default:
  ------------------
  |  Branch (588:9): [True: 0, False: 0]
  ------------------
  589|      0|            res = Py_False;
  ------------------
  |  |   25|      0|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  590|      0|            break;
  591|      0|        }
  592|      0|        return Py_NewRef(res);
  ------------------
  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  593|      0|    }
  594|       |
  595|       |
  596|  8.82k|    PyObject *t1 = PyTuple_Pack(3,
  597|  8.82k|                                ((PySliceObject *)v)->start,
  598|  8.82k|                                ((PySliceObject *)v)->stop,
  599|  8.82k|                                ((PySliceObject *)v)->step);
  600|  8.82k|    if (t1 == NULL) {
  ------------------
  |  Branch (600:9): [True: 0, False: 8.82k]
  ------------------
  601|      0|        return NULL;
  602|      0|    }
  603|       |
  604|  8.82k|    PyObject *t2 = PyTuple_Pack(3,
  605|  8.82k|                                ((PySliceObject *)w)->start,
  606|  8.82k|                                ((PySliceObject *)w)->stop,
  607|  8.82k|                                ((PySliceObject *)w)->step);
  608|  8.82k|    if (t2 == NULL) {
  ------------------
  |  Branch (608:9): [True: 0, False: 8.82k]
  ------------------
  609|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  610|      0|        return NULL;
  611|      0|    }
  612|       |
  613|  8.82k|    PyObject *res = PyObject_RichCompare(t1, t2, op);
  614|  8.82k|    Py_DECREF(t1);
  ------------------
  |  |  430|  8.82k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  615|  8.82k|    Py_DECREF(t2);
  ------------------
  |  |  430|  8.82k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  616|  8.82k|    return res;
  617|  8.82k|}

unicodeobject.c:ucs1lib_utf8_encoder:
  267|  7.95k|{
  268|       |#if STRINGLIB_SIZEOF_CHAR > 1
  269|       |    PyObject *error_handler_obj = NULL;
  270|       |    PyObject *exc = NULL;
  271|       |    PyObject *rep = NULL;
  272|       |#endif
  273|  7.95k|#if STRINGLIB_SIZEOF_CHAR == 1
  274|  7.95k|    const Py_ssize_t max_char_size = 2;
  275|       |#elif STRINGLIB_SIZEOF_CHAR == 2
  276|       |    const Py_ssize_t max_char_size = 3;
  277|       |#else /*  STRINGLIB_SIZEOF_CHAR == 4 */
  278|       |    const Py_ssize_t max_char_size = 4;
  279|       |#endif
  280|       |
  281|  7.95k|    assert(size >= 0);
  ------------------
  |  Branch (281:5): [True: 7.95k, False: 0]
  ------------------
  282|  7.95k|    if (size > PY_SSIZE_T_MAX / max_char_size) {
  ------------------
  |  |  137|  7.95k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (282:9): [True: 0, False: 7.95k]
  ------------------
  283|       |        /* integer overflow */
  284|      0|        PyErr_NoMemory();
  285|      0|        *end = NULL;
  286|      0|        return NULL;
  287|      0|    }
  288|       |
  289|  7.95k|    PyBytesWriter *writer = PyBytesWriter_Create(size * max_char_size);
  290|  7.95k|    if (writer == NULL) {
  ------------------
  |  Branch (290:9): [True: 0, False: 7.95k]
  ------------------
  291|      0|        *end = NULL;
  292|      0|        return NULL;
  293|      0|    }
  294|       |    /* next free byte in output buffer */
  295|  7.95k|    char *p = PyBytesWriter_GetData(writer);
  296|       |
  297|  7.95k|    Py_ssize_t i;                /* index into data of next input character */
  298|  2.93M|    for (i = 0; i < size;) {
  ------------------
  |  Branch (298:17): [True: 2.92M, False: 7.95k]
  ------------------
  299|  2.92M|        Py_UCS4 ch = data[i++];
  300|       |
  301|  2.92M|        if (ch < 0x80) {
  ------------------
  |  Branch (301:13): [True: 2.31M, False: 610k]
  ------------------
  302|       |            /* Encode ASCII */
  303|  2.31M|            *p++ = (char) ch;
  304|       |
  305|  2.31M|        }
  306|   610k|        else
  307|       |#if STRINGLIB_SIZEOF_CHAR > 1
  308|       |        if (ch < 0x0800)
  309|       |#endif
  310|   610k|        {
  311|       |            /* Encode Latin-1 */
  312|   610k|            *p++ = (char)(0xc0 | (ch >> 6));
  313|   610k|            *p++ = (char)(0x80 | (ch & 0x3f));
  314|   610k|        }
  315|       |#if STRINGLIB_SIZEOF_CHAR > 1
  316|       |        else if (Py_UNICODE_IS_SURROGATE(ch)) {
  317|       |            Py_ssize_t startpos, endpos, newpos;
  318|       |            Py_ssize_t k;
  319|       |            if (error_handler == _Py_ERROR_UNKNOWN) {
  320|       |                error_handler = _Py_GetErrorHandler(errors);
  321|       |            }
  322|       |
  323|       |            startpos = i-1;
  324|       |            endpos = startpos+1;
  325|       |
  326|       |            while ((endpos < size) && Py_UNICODE_IS_SURROGATE(data[endpos]))
  327|       |                endpos++;
  328|       |
  329|       |            /* Only overallocate the buffer if it's not the last write */
  330|       |            writer->overallocate = (endpos < size);
  331|       |
  332|       |            switch (error_handler)
  333|       |            {
  334|       |            case _Py_ERROR_REPLACE:
  335|       |                memset(p, '?', endpos - startpos);
  336|       |                p += (endpos - startpos);
  337|       |                _Py_FALLTHROUGH;
  338|       |            case _Py_ERROR_IGNORE:
  339|       |                i += (endpos - startpos - 1);
  340|       |                break;
  341|       |
  342|       |            case _Py_ERROR_SURROGATEPASS:
  343|       |                for (k=startpos; k<endpos; k++) {
  344|       |                    ch = data[k];
  345|       |                    *p++ = (char)(0xe0 | (ch >> 12));
  346|       |                    *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  347|       |                    *p++ = (char)(0x80 | (ch & 0x3f));
  348|       |                }
  349|       |                i += (endpos - startpos - 1);
  350|       |                break;
  351|       |
  352|       |            case _Py_ERROR_BACKSLASHREPLACE:
  353|       |                /* subtract preallocated bytes */
  354|       |                writer->size -= max_char_size * (endpos - startpos);
  355|       |                p = backslashreplace(writer, p,
  356|       |                                     unicode, startpos, endpos);
  357|       |                if (p == NULL)
  358|       |                    goto error;
  359|       |                i += (endpos - startpos - 1);
  360|       |                break;
  361|       |
  362|       |            case _Py_ERROR_XMLCHARREFREPLACE:
  363|       |                /* subtract preallocated bytes */
  364|       |                writer->size -= max_char_size * (endpos - startpos);
  365|       |                p = xmlcharrefreplace(writer, p,
  366|       |                                      unicode, startpos, endpos);
  367|       |                if (p == NULL)
  368|       |                    goto error;
  369|       |                i += (endpos - startpos - 1);
  370|       |                break;
  371|       |
  372|       |            case _Py_ERROR_SURROGATEESCAPE:
  373|       |                for (k=startpos; k<endpos; k++) {
  374|       |                    ch = data[k];
  375|       |                    if (!(0xDC80 <= ch && ch <= 0xDCFF))
  376|       |                        break;
  377|       |                    *p++ = (char)(ch & 0xff);
  378|       |                }
  379|       |                if (k >= endpos) {
  380|       |                    i += (endpos - startpos - 1);
  381|       |                    break;
  382|       |                }
  383|       |                startpos = k;
  384|       |                assert(startpos < endpos);
  385|       |                _Py_FALLTHROUGH;
  386|       |            default:
  387|       |                rep = unicode_encode_call_errorhandler(
  388|       |                      errors, &error_handler_obj, "utf-8", "surrogates not allowed",
  389|       |                      unicode, &exc, startpos, endpos, &newpos);
  390|       |                if (!rep)
  391|       |                    goto error;
  392|       |
  393|       |                if (newpos < startpos) {
  394|       |                    writer->overallocate = 1;
  395|       |                    p = PyBytesWriter_GrowAndUpdatePointer(writer,
  396|       |                                               max_char_size * (startpos - newpos),
  397|       |                                               p);
  398|       |                    if (p == NULL) {
  399|       |                        goto error;
  400|       |                    }
  401|       |                }
  402|       |                else {
  403|       |                    /* subtract preallocated bytes */
  404|       |                    writer->size -= max_char_size * (newpos - startpos);
  405|       |                    /* Only overallocate the buffer if it's not the last write */
  406|       |                    writer->overallocate = (newpos < size);
  407|       |                }
  408|       |
  409|       |                char *rep_str;
  410|       |                Py_ssize_t rep_len;
  411|       |                if (PyBytes_Check(rep)) {
  412|       |                    rep_str = PyBytes_AS_STRING(rep);
  413|       |                    rep_len = PyBytes_GET_SIZE(rep);
  414|       |                }
  415|       |                else {
  416|       |                    /* rep is unicode */
  417|       |                    if (!PyUnicode_IS_ASCII(rep)) {
  418|       |                        raise_encode_exception(&exc, "utf-8", unicode,
  419|       |                                               startpos, endpos,
  420|       |                                               "surrogates not allowed");
  421|       |                        goto error;
  422|       |                    }
  423|       |
  424|       |                    rep_str = PyUnicode_DATA(rep);
  425|       |                    rep_len = PyUnicode_GET_LENGTH(rep);
  426|       |                }
  427|       |
  428|       |                p = PyBytesWriter_GrowAndUpdatePointer(writer, rep_len, p);
  429|       |                if (p == NULL) {
  430|       |                    goto error;
  431|       |                }
  432|       |                memcpy(p, rep_str, rep_len);
  433|       |                p += rep_len;
  434|       |                Py_CLEAR(rep);
  435|       |
  436|       |                i = newpos;
  437|       |            }
  438|       |
  439|       |            /* If overallocation was disabled, ensure that it was the last
  440|       |               write. Otherwise, we missed an optimization */
  441|       |            assert(writer->overallocate || i == size);
  442|       |        }
  443|       |        else
  444|       |#if STRINGLIB_SIZEOF_CHAR > 2
  445|       |        if (ch < 0x10000)
  446|       |#endif
  447|       |        {
  448|       |            *p++ = (char)(0xe0 | (ch >> 12));
  449|       |            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  450|       |            *p++ = (char)(0x80 | (ch & 0x3f));
  451|       |        }
  452|       |#if STRINGLIB_SIZEOF_CHAR > 2
  453|       |        else /* ch >= 0x10000 */
  454|       |        {
  455|       |            assert(ch <= MAX_UNICODE);
  456|       |            /* Encode UCS4 Unicode ordinals */
  457|       |            *p++ = (char)(0xf0 | (ch >> 18));
  458|       |            *p++ = (char)(0x80 | ((ch >> 12) & 0x3f));
  459|       |            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  460|       |            *p++ = (char)(0x80 | (ch & 0x3f));
  461|       |        }
  462|       |#endif /* STRINGLIB_SIZEOF_CHAR > 2 */
  463|       |#endif /* STRINGLIB_SIZEOF_CHAR > 1 */
  464|  2.92M|    }
  465|       |
  466|       |#if STRINGLIB_SIZEOF_CHAR > 1
  467|       |    Py_XDECREF(error_handler_obj);
  468|       |    Py_XDECREF(exc);
  469|       |#endif
  470|  7.95k|    *end = p;
  471|  7.95k|    return writer;
  472|       |
  473|       |#if STRINGLIB_SIZEOF_CHAR > 1
  474|       | error:
  475|       |    PyBytesWriter_Discard(writer);
  476|       |    Py_XDECREF(rep);
  477|       |    Py_XDECREF(error_handler_obj);
  478|       |    Py_XDECREF(exc);
  479|       |    *end = NULL;
  480|       |    return NULL;
  481|       |#endif
  482|  7.95k|}
unicodeobject.c:ucs2lib_utf8_encoder:
  267|  4.92k|{
  268|  4.92k|#if STRINGLIB_SIZEOF_CHAR > 1
  269|  4.92k|    PyObject *error_handler_obj = NULL;
  270|  4.92k|    PyObject *exc = NULL;
  271|  4.92k|    PyObject *rep = NULL;
  272|  4.92k|#endif
  273|       |#if STRINGLIB_SIZEOF_CHAR == 1
  274|       |    const Py_ssize_t max_char_size = 2;
  275|       |#elif STRINGLIB_SIZEOF_CHAR == 2
  276|       |    const Py_ssize_t max_char_size = 3;
  277|       |#else /*  STRINGLIB_SIZEOF_CHAR == 4 */
  278|       |    const Py_ssize_t max_char_size = 4;
  279|       |#endif
  280|       |
  281|  4.92k|    assert(size >= 0);
  ------------------
  |  Branch (281:5): [True: 4.92k, False: 0]
  ------------------
  282|  4.92k|    if (size > PY_SSIZE_T_MAX / max_char_size) {
  ------------------
  |  |  137|  4.92k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (282:9): [True: 0, False: 4.92k]
  ------------------
  283|       |        /* integer overflow */
  284|      0|        PyErr_NoMemory();
  285|      0|        *end = NULL;
  286|      0|        return NULL;
  287|      0|    }
  288|       |
  289|  4.92k|    PyBytesWriter *writer = PyBytesWriter_Create(size * max_char_size);
  290|  4.92k|    if (writer == NULL) {
  ------------------
  |  Branch (290:9): [True: 0, False: 4.92k]
  ------------------
  291|      0|        *end = NULL;
  292|      0|        return NULL;
  293|      0|    }
  294|       |    /* next free byte in output buffer */
  295|  4.92k|    char *p = PyBytesWriter_GetData(writer);
  296|       |
  297|  4.92k|    Py_ssize_t i;                /* index into data of next input character */
  298|  4.83M|    for (i = 0; i < size;) {
  ------------------
  |  Branch (298:17): [True: 4.83M, False: 4.89k]
  ------------------
  299|  4.83M|        Py_UCS4 ch = data[i++];
  300|       |
  301|  4.83M|        if (ch < 0x80) {
  ------------------
  |  Branch (301:13): [True: 3.96M, False: 867k]
  ------------------
  302|       |            /* Encode ASCII */
  303|  3.96M|            *p++ = (char) ch;
  304|       |
  305|  3.96M|        }
  306|   867k|        else
  307|   867k|#if STRINGLIB_SIZEOF_CHAR > 1
  308|   867k|        if (ch < 0x0800)
  ------------------
  |  Branch (308:13): [True: 608k, False: 259k]
  ------------------
  309|   608k|#endif
  310|   608k|        {
  311|       |            /* Encode Latin-1 */
  312|   608k|            *p++ = (char)(0xc0 | (ch >> 6));
  313|   608k|            *p++ = (char)(0x80 | (ch & 0x3f));
  314|   608k|        }
  315|   259k|#if STRINGLIB_SIZEOF_CHAR > 1
  316|   259k|        else if (Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (316:18): [True: 21, False: 259k]
  ------------------
  317|     21|            Py_ssize_t startpos, endpos, newpos;
  318|     21|            Py_ssize_t k;
  319|     21|            if (error_handler == _Py_ERROR_UNKNOWN) {
  ------------------
  |  Branch (319:17): [True: 21, False: 0]
  ------------------
  320|     21|                error_handler = _Py_GetErrorHandler(errors);
  321|     21|            }
  322|       |
  323|     21|            startpos = i-1;
  324|     21|            endpos = startpos+1;
  325|       |
  326|     27|            while ((endpos < size) && Py_UNICODE_IS_SURROGATE(data[endpos]))
  ------------------
  |  Branch (326:20): [True: 26, False: 1]
  |  Branch (326:39): [True: 6, False: 20]
  ------------------
  327|      6|                endpos++;
  328|       |
  329|       |            /* Only overallocate the buffer if it's not the last write */
  330|     21|            writer->overallocate = (endpos < size);
  331|       |
  332|     21|            switch (error_handler)
  333|     21|            {
  334|      0|            case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (334:13): [True: 0, False: 21]
  ------------------
  335|      0|                memset(p, '?', endpos - startpos);
  336|      0|                p += (endpos - startpos);
  337|      0|                _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  338|      0|            case _Py_ERROR_IGNORE:
  ------------------
  |  Branch (338:13): [True: 0, False: 21]
  ------------------
  339|      0|                i += (endpos - startpos - 1);
  340|      0|                break;
  341|       |
  342|      0|            case _Py_ERROR_SURROGATEPASS:
  ------------------
  |  Branch (342:13): [True: 0, False: 21]
  ------------------
  343|      0|                for (k=startpos; k<endpos; k++) {
  ------------------
  |  Branch (343:34): [True: 0, False: 0]
  ------------------
  344|      0|                    ch = data[k];
  345|      0|                    *p++ = (char)(0xe0 | (ch >> 12));
  346|      0|                    *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  347|      0|                    *p++ = (char)(0x80 | (ch & 0x3f));
  348|      0|                }
  349|      0|                i += (endpos - startpos - 1);
  350|      0|                break;
  351|       |
  352|      0|            case _Py_ERROR_BACKSLASHREPLACE:
  ------------------
  |  Branch (352:13): [True: 0, False: 21]
  ------------------
  353|       |                /* subtract preallocated bytes */
  354|      0|                writer->size -= max_char_size * (endpos - startpos);
  355|      0|                p = backslashreplace(writer, p,
  356|      0|                                     unicode, startpos, endpos);
  357|      0|                if (p == NULL)
  ------------------
  |  Branch (357:21): [True: 0, False: 0]
  ------------------
  358|      0|                    goto error;
  359|      0|                i += (endpos - startpos - 1);
  360|      0|                break;
  361|       |
  362|      0|            case _Py_ERROR_XMLCHARREFREPLACE:
  ------------------
  |  Branch (362:13): [True: 0, False: 21]
  ------------------
  363|       |                /* subtract preallocated bytes */
  364|      0|                writer->size -= max_char_size * (endpos - startpos);
  365|      0|                p = xmlcharrefreplace(writer, p,
  366|      0|                                      unicode, startpos, endpos);
  367|      0|                if (p == NULL)
  ------------------
  |  Branch (367:21): [True: 0, False: 0]
  ------------------
  368|      0|                    goto error;
  369|      0|                i += (endpos - startpos - 1);
  370|      0|                break;
  371|       |
  372|      0|            case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (372:13): [True: 0, False: 21]
  ------------------
  373|      0|                for (k=startpos; k<endpos; k++) {
  ------------------
  |  Branch (373:34): [True: 0, False: 0]
  ------------------
  374|      0|                    ch = data[k];
  375|      0|                    if (!(0xDC80 <= ch && ch <= 0xDCFF))
  ------------------
  |  Branch (375:27): [True: 0, False: 0]
  |  Branch (375:43): [True: 0, False: 0]
  ------------------
  376|      0|                        break;
  377|      0|                    *p++ = (char)(ch & 0xff);
  378|      0|                }
  379|      0|                if (k >= endpos) {
  ------------------
  |  Branch (379:21): [True: 0, False: 0]
  ------------------
  380|      0|                    i += (endpos - startpos - 1);
  381|      0|                    break;
  382|      0|                }
  383|      0|                startpos = k;
  384|      0|                assert(startpos < endpos);
  ------------------
  |  Branch (384:17): [True: 0, False: 0]
  ------------------
  385|      0|                _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  386|     21|            default:
  ------------------
  |  Branch (386:13): [True: 21, False: 0]
  ------------------
  387|     21|                rep = unicode_encode_call_errorhandler(
  388|     21|                      errors, &error_handler_obj, "utf-8", "surrogates not allowed",
  389|     21|                      unicode, &exc, startpos, endpos, &newpos);
  390|     21|                if (!rep)
  ------------------
  |  Branch (390:21): [True: 21, False: 0]
  ------------------
  391|     21|                    goto error;
  392|       |
  393|      0|                if (newpos < startpos) {
  ------------------
  |  Branch (393:21): [True: 0, False: 0]
  ------------------
  394|      0|                    writer->overallocate = 1;
  395|      0|                    p = PyBytesWriter_GrowAndUpdatePointer(writer,
  396|      0|                                               max_char_size * (startpos - newpos),
  397|      0|                                               p);
  398|      0|                    if (p == NULL) {
  ------------------
  |  Branch (398:25): [True: 0, False: 0]
  ------------------
  399|      0|                        goto error;
  400|      0|                    }
  401|      0|                }
  402|      0|                else {
  403|       |                    /* subtract preallocated bytes */
  404|      0|                    writer->size -= max_char_size * (newpos - startpos);
  405|       |                    /* Only overallocate the buffer if it's not the last write */
  406|      0|                    writer->overallocate = (newpos < size);
  407|      0|                }
  408|       |
  409|      0|                char *rep_str;
  410|      0|                Py_ssize_t rep_len;
  411|      0|                if (PyBytes_Check(rep)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  412|      0|                    rep_str = PyBytes_AS_STRING(rep);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  413|      0|                    rep_len = PyBytes_GET_SIZE(rep);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  414|      0|                }
  415|      0|                else {
  416|       |                    /* rep is unicode */
  417|      0|                    if (!PyUnicode_IS_ASCII(rep)) {
  ------------------
  |  |  227|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (417:25): [True: 0, False: 0]
  ------------------
  418|      0|                        raise_encode_exception(&exc, "utf-8", unicode,
  419|      0|                                               startpos, endpos,
  420|      0|                                               "surrogates not allowed");
  421|      0|                        goto error;
  422|      0|                    }
  423|       |
  424|      0|                    rep_str = PyUnicode_DATA(rep);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  425|      0|                    rep_len = PyUnicode_GET_LENGTH(rep);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  426|      0|                }
  427|       |
  428|      0|                p = PyBytesWriter_GrowAndUpdatePointer(writer, rep_len, p);
  429|      0|                if (p == NULL) {
  ------------------
  |  Branch (429:21): [True: 0, False: 0]
  ------------------
  430|      0|                    goto error;
  431|      0|                }
  432|      0|                memcpy(p, rep_str, rep_len);
  433|      0|                p += rep_len;
  434|      0|                Py_CLEAR(rep);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  435|       |
  436|      0|                i = newpos;
  437|     21|            }
  438|       |
  439|       |            /* If overallocation was disabled, ensure that it was the last
  440|       |               write. Otherwise, we missed an optimization */
  441|     21|            assert(writer->overallocate || i == size);
  ------------------
  |  Branch (441:13): [True: 0, False: 0]
  |  Branch (441:13): [True: 0, False: 0]
  ------------------
  442|      0|        }
  443|   259k|        else
  444|       |#if STRINGLIB_SIZEOF_CHAR > 2
  445|       |        if (ch < 0x10000)
  446|       |#endif
  447|   259k|        {
  448|   259k|            *p++ = (char)(0xe0 | (ch >> 12));
  449|   259k|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  450|   259k|            *p++ = (char)(0x80 | (ch & 0x3f));
  451|   259k|        }
  452|       |#if STRINGLIB_SIZEOF_CHAR > 2
  453|       |        else /* ch >= 0x10000 */
  454|       |        {
  455|       |            assert(ch <= MAX_UNICODE);
  456|       |            /* Encode UCS4 Unicode ordinals */
  457|       |            *p++ = (char)(0xf0 | (ch >> 18));
  458|       |            *p++ = (char)(0x80 | ((ch >> 12) & 0x3f));
  459|       |            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  460|       |            *p++ = (char)(0x80 | (ch & 0x3f));
  461|       |        }
  462|       |#endif /* STRINGLIB_SIZEOF_CHAR > 2 */
  463|  4.83M|#endif /* STRINGLIB_SIZEOF_CHAR > 1 */
  464|  4.83M|    }
  465|       |
  466|  4.89k|#if STRINGLIB_SIZEOF_CHAR > 1
  467|  4.89k|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|  4.89k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  468|  4.89k|    Py_XDECREF(exc);
  ------------------
  |  |  524|  4.89k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  469|  4.89k|#endif
  470|  4.89k|    *end = p;
  471|  4.89k|    return writer;
  472|       |
  473|      0|#if STRINGLIB_SIZEOF_CHAR > 1
  474|     21| error:
  475|     21|    PyBytesWriter_Discard(writer);
  476|     21|    Py_XDECREF(rep);
  ------------------
  |  |  524|     21|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  477|     21|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|     21|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|     21|    Py_XDECREF(exc);
  ------------------
  |  |  524|     21|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  479|     21|    *end = NULL;
  480|       |    return NULL;
  481|  4.92k|#endif
  482|  4.92k|}
unicodeobject.c:ucs4lib_utf8_encoder:
  267|  1.44k|{
  268|  1.44k|#if STRINGLIB_SIZEOF_CHAR > 1
  269|  1.44k|    PyObject *error_handler_obj = NULL;
  270|  1.44k|    PyObject *exc = NULL;
  271|  1.44k|    PyObject *rep = NULL;
  272|  1.44k|#endif
  273|       |#if STRINGLIB_SIZEOF_CHAR == 1
  274|       |    const Py_ssize_t max_char_size = 2;
  275|       |#elif STRINGLIB_SIZEOF_CHAR == 2
  276|       |    const Py_ssize_t max_char_size = 3;
  277|       |#else /*  STRINGLIB_SIZEOF_CHAR == 4 */
  278|  1.44k|    const Py_ssize_t max_char_size = 4;
  279|  1.44k|#endif
  280|       |
  281|  1.44k|    assert(size >= 0);
  ------------------
  |  Branch (281:5): [True: 1.44k, False: 0]
  ------------------
  282|  1.44k|    if (size > PY_SSIZE_T_MAX / max_char_size) {
  ------------------
  |  |  137|  1.44k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (282:9): [True: 0, False: 1.44k]
  ------------------
  283|       |        /* integer overflow */
  284|      0|        PyErr_NoMemory();
  285|      0|        *end = NULL;
  286|      0|        return NULL;
  287|      0|    }
  288|       |
  289|  1.44k|    PyBytesWriter *writer = PyBytesWriter_Create(size * max_char_size);
  290|  1.44k|    if (writer == NULL) {
  ------------------
  |  Branch (290:9): [True: 0, False: 1.44k]
  ------------------
  291|      0|        *end = NULL;
  292|      0|        return NULL;
  293|      0|    }
  294|       |    /* next free byte in output buffer */
  295|  1.44k|    char *p = PyBytesWriter_GetData(writer);
  296|       |
  297|  1.44k|    Py_ssize_t i;                /* index into data of next input character */
  298|   593k|    for (i = 0; i < size;) {
  ------------------
  |  Branch (298:17): [True: 591k, False: 1.42k]
  ------------------
  299|   591k|        Py_UCS4 ch = data[i++];
  300|       |
  301|   591k|        if (ch < 0x80) {
  ------------------
  |  Branch (301:13): [True: 509k, False: 82.2k]
  ------------------
  302|       |            /* Encode ASCII */
  303|   509k|            *p++ = (char) ch;
  304|       |
  305|   509k|        }
  306|  82.2k|        else
  307|  82.2k|#if STRINGLIB_SIZEOF_CHAR > 1
  308|  82.2k|        if (ch < 0x0800)
  ------------------
  |  Branch (308:13): [True: 6.91k, False: 75.2k]
  ------------------
  309|  6.91k|#endif
  310|  6.91k|        {
  311|       |            /* Encode Latin-1 */
  312|  6.91k|            *p++ = (char)(0xc0 | (ch >> 6));
  313|  6.91k|            *p++ = (char)(0x80 | (ch & 0x3f));
  314|  6.91k|        }
  315|  75.2k|#if STRINGLIB_SIZEOF_CHAR > 1
  316|  75.2k|        else if (Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (316:18): [True: 13, False: 75.2k]
  ------------------
  317|     13|            Py_ssize_t startpos, endpos, newpos;
  318|     13|            Py_ssize_t k;
  319|     13|            if (error_handler == _Py_ERROR_UNKNOWN) {
  ------------------
  |  Branch (319:17): [True: 13, False: 0]
  ------------------
  320|     13|                error_handler = _Py_GetErrorHandler(errors);
  321|     13|            }
  322|       |
  323|     13|            startpos = i-1;
  324|     13|            endpos = startpos+1;
  325|       |
  326|     16|            while ((endpos < size) && Py_UNICODE_IS_SURROGATE(data[endpos]))
  ------------------
  |  Branch (326:20): [True: 15, False: 1]
  |  Branch (326:39): [True: 3, False: 12]
  ------------------
  327|      3|                endpos++;
  328|       |
  329|       |            /* Only overallocate the buffer if it's not the last write */
  330|     13|            writer->overallocate = (endpos < size);
  331|       |
  332|     13|            switch (error_handler)
  333|     13|            {
  334|      0|            case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (334:13): [True: 0, False: 13]
  ------------------
  335|      0|                memset(p, '?', endpos - startpos);
  336|      0|                p += (endpos - startpos);
  337|      0|                _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  338|      0|            case _Py_ERROR_IGNORE:
  ------------------
  |  Branch (338:13): [True: 0, False: 13]
  ------------------
  339|      0|                i += (endpos - startpos - 1);
  340|      0|                break;
  341|       |
  342|      0|            case _Py_ERROR_SURROGATEPASS:
  ------------------
  |  Branch (342:13): [True: 0, False: 13]
  ------------------
  343|      0|                for (k=startpos; k<endpos; k++) {
  ------------------
  |  Branch (343:34): [True: 0, False: 0]
  ------------------
  344|      0|                    ch = data[k];
  345|      0|                    *p++ = (char)(0xe0 | (ch >> 12));
  346|      0|                    *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  347|      0|                    *p++ = (char)(0x80 | (ch & 0x3f));
  348|      0|                }
  349|      0|                i += (endpos - startpos - 1);
  350|      0|                break;
  351|       |
  352|      0|            case _Py_ERROR_BACKSLASHREPLACE:
  ------------------
  |  Branch (352:13): [True: 0, False: 13]
  ------------------
  353|       |                /* subtract preallocated bytes */
  354|      0|                writer->size -= max_char_size * (endpos - startpos);
  355|      0|                p = backslashreplace(writer, p,
  356|      0|                                     unicode, startpos, endpos);
  357|      0|                if (p == NULL)
  ------------------
  |  Branch (357:21): [True: 0, False: 0]
  ------------------
  358|      0|                    goto error;
  359|      0|                i += (endpos - startpos - 1);
  360|      0|                break;
  361|       |
  362|      0|            case _Py_ERROR_XMLCHARREFREPLACE:
  ------------------
  |  Branch (362:13): [True: 0, False: 13]
  ------------------
  363|       |                /* subtract preallocated bytes */
  364|      0|                writer->size -= max_char_size * (endpos - startpos);
  365|      0|                p = xmlcharrefreplace(writer, p,
  366|      0|                                      unicode, startpos, endpos);
  367|      0|                if (p == NULL)
  ------------------
  |  Branch (367:21): [True: 0, False: 0]
  ------------------
  368|      0|                    goto error;
  369|      0|                i += (endpos - startpos - 1);
  370|      0|                break;
  371|       |
  372|      0|            case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (372:13): [True: 0, False: 13]
  ------------------
  373|      0|                for (k=startpos; k<endpos; k++) {
  ------------------
  |  Branch (373:34): [True: 0, False: 0]
  ------------------
  374|      0|                    ch = data[k];
  375|      0|                    if (!(0xDC80 <= ch && ch <= 0xDCFF))
  ------------------
  |  Branch (375:27): [True: 0, False: 0]
  |  Branch (375:43): [True: 0, False: 0]
  ------------------
  376|      0|                        break;
  377|      0|                    *p++ = (char)(ch & 0xff);
  378|      0|                }
  379|      0|                if (k >= endpos) {
  ------------------
  |  Branch (379:21): [True: 0, False: 0]
  ------------------
  380|      0|                    i += (endpos - startpos - 1);
  381|      0|                    break;
  382|      0|                }
  383|      0|                startpos = k;
  384|      0|                assert(startpos < endpos);
  ------------------
  |  Branch (384:17): [True: 0, False: 0]
  ------------------
  385|      0|                _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  386|     13|            default:
  ------------------
  |  Branch (386:13): [True: 13, False: 0]
  ------------------
  387|     13|                rep = unicode_encode_call_errorhandler(
  388|     13|                      errors, &error_handler_obj, "utf-8", "surrogates not allowed",
  389|     13|                      unicode, &exc, startpos, endpos, &newpos);
  390|     13|                if (!rep)
  ------------------
  |  Branch (390:21): [True: 13, False: 0]
  ------------------
  391|     13|                    goto error;
  392|       |
  393|      0|                if (newpos < startpos) {
  ------------------
  |  Branch (393:21): [True: 0, False: 0]
  ------------------
  394|      0|                    writer->overallocate = 1;
  395|      0|                    p = PyBytesWriter_GrowAndUpdatePointer(writer,
  396|      0|                                               max_char_size * (startpos - newpos),
  397|      0|                                               p);
  398|      0|                    if (p == NULL) {
  ------------------
  |  Branch (398:25): [True: 0, False: 0]
  ------------------
  399|      0|                        goto error;
  400|      0|                    }
  401|      0|                }
  402|      0|                else {
  403|       |                    /* subtract preallocated bytes */
  404|      0|                    writer->size -= max_char_size * (newpos - startpos);
  405|       |                    /* Only overallocate the buffer if it's not the last write */
  406|      0|                    writer->overallocate = (newpos < size);
  407|      0|                }
  408|       |
  409|      0|                char *rep_str;
  410|      0|                Py_ssize_t rep_len;
  411|      0|                if (PyBytes_Check(rep)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  412|      0|                    rep_str = PyBytes_AS_STRING(rep);
  ------------------
  |  |   27|      0|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  413|      0|                    rep_len = PyBytes_GET_SIZE(rep);
  ------------------
  |  |   33|      0|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  414|      0|                }
  415|      0|                else {
  416|       |                    /* rep is unicode */
  417|      0|                    if (!PyUnicode_IS_ASCII(rep)) {
  ------------------
  |  |  227|      0|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (417:25): [True: 0, False: 0]
  ------------------
  418|      0|                        raise_encode_exception(&exc, "utf-8", unicode,
  419|      0|                                               startpos, endpos,
  420|      0|                                               "surrogates not allowed");
  421|      0|                        goto error;
  422|      0|                    }
  423|       |
  424|      0|                    rep_str = PyUnicode_DATA(rep);
  ------------------
  |  |  284|      0|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  425|      0|                    rep_len = PyUnicode_GET_LENGTH(rep);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  426|      0|                }
  427|       |
  428|      0|                p = PyBytesWriter_GrowAndUpdatePointer(writer, rep_len, p);
  429|      0|                if (p == NULL) {
  ------------------
  |  Branch (429:21): [True: 0, False: 0]
  ------------------
  430|      0|                    goto error;
  431|      0|                }
  432|      0|                memcpy(p, rep_str, rep_len);
  433|      0|                p += rep_len;
  434|      0|                Py_CLEAR(rep);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  435|       |
  436|      0|                i = newpos;
  437|     13|            }
  438|       |
  439|       |            /* If overallocation was disabled, ensure that it was the last
  440|       |               write. Otherwise, we missed an optimization */
  441|     13|            assert(writer->overallocate || i == size);
  ------------------
  |  Branch (441:13): [True: 0, False: 0]
  |  Branch (441:13): [True: 0, False: 0]
  ------------------
  442|      0|        }
  443|  75.2k|        else
  444|  75.2k|#if STRINGLIB_SIZEOF_CHAR > 2
  445|  75.2k|        if (ch < 0x10000)
  ------------------
  |  Branch (445:13): [True: 62.3k, False: 12.9k]
  ------------------
  446|  62.3k|#endif
  447|  62.3k|        {
  448|  62.3k|            *p++ = (char)(0xe0 | (ch >> 12));
  449|  62.3k|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  450|  62.3k|            *p++ = (char)(0x80 | (ch & 0x3f));
  451|  62.3k|        }
  452|  12.9k|#if STRINGLIB_SIZEOF_CHAR > 2
  453|  12.9k|        else /* ch >= 0x10000 */
  454|  12.9k|        {
  455|  12.9k|            assert(ch <= MAX_UNICODE);
  ------------------
  |  Branch (455:13): [True: 12.9k, False: 0]
  ------------------
  456|       |            /* Encode UCS4 Unicode ordinals */
  457|  12.9k|            *p++ = (char)(0xf0 | (ch >> 18));
  458|  12.9k|            *p++ = (char)(0x80 | ((ch >> 12) & 0x3f));
  459|  12.9k|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  460|  12.9k|            *p++ = (char)(0x80 | (ch & 0x3f));
  461|  12.9k|        }
  462|   591k|#endif /* STRINGLIB_SIZEOF_CHAR > 2 */
  463|   591k|#endif /* STRINGLIB_SIZEOF_CHAR > 1 */
  464|   591k|    }
  465|       |
  466|  1.42k|#if STRINGLIB_SIZEOF_CHAR > 1
  467|  1.42k|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|  1.42k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  468|  1.42k|    Py_XDECREF(exc);
  ------------------
  |  |  524|  1.42k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  469|  1.42k|#endif
  470|  1.42k|    *end = p;
  471|  1.42k|    return writer;
  472|       |
  473|      0|#if STRINGLIB_SIZEOF_CHAR > 1
  474|     13| error:
  475|     13|    PyBytesWriter_Discard(writer);
  476|     13|    Py_XDECREF(rep);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  477|     13|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|     13|    Py_XDECREF(exc);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  479|     13|    *end = NULL;
  480|       |    return NULL;
  481|  1.44k|#endif
  482|  1.44k|}
unicodeobject.c:asciilib_utf8_decode:
   26|  7.84k|{
   27|  7.84k|    Py_UCS4 ch;
   28|  7.84k|    const char *s = *inptr;
   29|  7.84k|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|  7.84k|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
   30|       |
   31|  7.84k|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 7.84k, False: 0]
  ------------------
   32|  7.84k|        ch = (unsigned char)*s;
   33|       |
   34|  7.84k|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 0, False: 7.84k]
  ------------------
   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) {
  ------------------
  |  | 1958|      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;
  ------------------
  |  | 1958|      0|#define SIZEOF_SIZE_T 8
  ------------------
   82|      0|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1958|      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|  7.84k|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 4.30k, False: 3.53k]
  ------------------
   98|       |            /* \xC2\x80-\xDF\xBF -- 0080-07FF */
   99|  4.30k|            Py_UCS4 ch2;
  100|  4.30k|            if (ch < 0xC2) {
  ------------------
  |  Branch (100:17): [True: 1.03k, False: 3.26k]
  ------------------
  101|       |                /* invalid sequence
  102|       |                \x80-\xBF -- continuation byte
  103|       |                \xC0-\xC1 -- fake 0000-007F */
  104|  1.03k|                goto InvalidStart;
  105|  1.03k|            }
  106|  3.26k|            if (end - s < 2) {
  ------------------
  |  Branch (106:17): [True: 64, False: 3.20k]
  ------------------
  107|       |                /* unexpected end of data: the caller will decide whether
  108|       |                   it's an error or not */
  109|     64|                break;
  110|     64|            }
  111|  3.20k|            ch2 = (unsigned char)s[1];
  112|  3.20k|            if (!IS_CONTINUATION_BYTE(ch2))
  ------------------
  |  |   20|  3.20k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 3.10k, False: 98]
  |  |  |  Branch (20:51): [True: 3.00k, False: 101]
  |  |  ------------------
  ------------------
  113|       |                /* invalid continuation byte */
  114|    199|                goto InvalidContinuation1;
  115|  3.00k|            ch = (ch << 6) + ch2 -
  116|  3.00k|                 ((0xC0 << 6) + 0x80);
  117|  3.00k|            assert ((ch > 0x007F) && (ch <= 0x07FF));
  ------------------
  |  Branch (117:13): [True: 3.00k, False: 0]
  |  Branch (117:13): [True: 3.00k, False: 0]
  ------------------
  118|  3.00k|            s += 2;
  119|  3.00k|            if (STRINGLIB_MAX_CHAR <= 0x007F ||
  ------------------
  |  |   10|  3.00k|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (119:17): [True: 3.00k, 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|  3.00k|                goto Return;
  123|      0|            *p++ = ch;
  124|      0|            continue;
  125|  3.00k|        }
  126|       |
  127|  3.53k|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 2.01k, False: 1.52k]
  ------------------
  128|       |            /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  129|  2.01k|            Py_UCS4 ch2, ch3;
  130|  2.01k|            if (end - s < 3) {
  ------------------
  |  Branch (130:17): [True: 372, False: 1.64k]
  ------------------
  131|       |                /* unexpected end of data: the caller will decide whether
  132|       |                   it's an error or not */
  133|    372|                if (end - s < 2)
  ------------------
  |  Branch (133:21): [True: 223, False: 149]
  ------------------
  134|    223|                    break;
  135|    149|                ch2 = (unsigned char)s[1];
  136|    149|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|    298|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 134, False: 15]
  |  |  |  Branch (20:51): [True: 125, False: 9]
  |  |  ------------------
  ------------------
  137|    125|                    (ch2 < 0xA0 ? ch == 0xE0 : ch == 0xED))
  ------------------
  |  Branch (137:21): [True: 9, False: 116]
  |  Branch (137:22): [True: 11, False: 114]
  ------------------
  138|       |                    /* for clarification see comments below */
  139|     33|                    goto InvalidContinuation1;
  140|    116|                break;
  141|    149|            }
  142|  1.64k|            ch2 = (unsigned char)s[1];
  143|  1.64k|            ch3 = (unsigned char)s[2];
  144|  1.64k|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|  1.64k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 1.59k, False: 53]
  |  |  |  Branch (20:51): [True: 1.54k, False: 46]
  |  |  ------------------
  ------------------
  145|       |                /* invalid continuation byte */
  146|     99|                goto InvalidContinuation1;
  147|     99|            }
  148|  1.54k|            if (ch == 0xE0) {
  ------------------
  |  Branch (148:17): [True: 124, False: 1.42k]
  ------------------
  149|    124|                if (ch2 < 0xA0)
  ------------------
  |  Branch (149:21): [True: 14, False: 110]
  ------------------
  150|       |                    /* invalid sequence
  151|       |                       \xE0\x80\x80-\xE0\x9F\xBF -- fake 0000-0800 */
  152|     14|                    goto InvalidContinuation1;
  153|  1.42k|            } else if (ch == 0xED && ch2 >= 0xA0) {
  ------------------
  |  Branch (153:24): [True: 60, False: 1.36k]
  |  Branch (153:38): [True: 14, False: 46]
  ------------------
  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|     14|                goto InvalidContinuation1;
  160|     14|            }
  161|  1.51k|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|  1.51k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 1.49k, False: 17]
  |  |  |  Branch (20:51): [True: 1.48k, False: 19]
  |  |  ------------------
  ------------------
  162|       |                /* invalid continuation byte */
  163|     36|                goto InvalidContinuation2;
  164|     36|            }
  165|  1.48k|            ch = (ch << 12) + (ch2 << 6) + ch3 -
  166|  1.48k|                 ((0xE0 << 12) + (0x80 << 6) + 0x80);
  167|  1.48k|            assert ((ch > 0x07FF) && (ch <= 0xFFFF));
  ------------------
  |  Branch (167:13): [True: 1.48k, False: 0]
  |  Branch (167:13): [True: 1.48k, False: 0]
  ------------------
  168|  1.48k|            s += 3;
  169|  1.48k|            if (STRINGLIB_MAX_CHAR <= 0x07FF ||
  ------------------
  |  |   10|  1.48k|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (169:17): [True: 1.48k, 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|  1.48k|                goto Return;
  173|      0|            *p++ = ch;
  174|      0|            continue;
  175|  1.48k|        }
  176|       |
  177|  1.52k|        if (ch < 0xF5) {
  ------------------
  |  Branch (177:13): [True: 1.25k, False: 263]
  ------------------
  178|       |            /* \xF0\x90\x80\x80-\xF4\x8F\xBF\xBF -- 10000-10FFFF */
  179|  1.25k|            Py_UCS4 ch2, ch3, ch4;
  180|  1.25k|            if (end - s < 4) {
  ------------------
  |  Branch (180:17): [True: 101, False: 1.15k]
  ------------------
  181|       |                /* unexpected end of data: the caller will decide whether
  182|       |                   it's an error or not */
  183|    101|                if (end - s < 2)
  ------------------
  |  Branch (183:21): [True: 28, False: 73]
  ------------------
  184|     28|                    break;
  185|     73|                ch2 = (unsigned char)s[1];
  186|     73|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|    146|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 53, False: 20]
  |  |  |  Branch (20:51): [True: 44, False: 9]
  |  |  ------------------
  ------------------
  187|     44|                    (ch2 < 0x90 ? ch == 0xF0 : ch == 0xF4))
  ------------------
  |  Branch (187:21): [True: 14, False: 30]
  |  Branch (187:22): [True: 16, False: 28]
  ------------------
  188|       |                    /* for clarification see comments below */
  189|     43|                    goto InvalidContinuation1;
  190|     30|                if (end - s < 3)
  ------------------
  |  Branch (190:21): [True: 10, False: 20]
  ------------------
  191|     10|                    break;
  192|     20|                ch3 = (unsigned char)s[2];
  193|     20|                if (!IS_CONTINUATION_BYTE(ch3))
  ------------------
  |  |   20|     20|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 11, False: 9]
  |  |  |  Branch (20:51): [True: 5, False: 6]
  |  |  ------------------
  ------------------
  194|     15|                    goto InvalidContinuation2;
  195|      5|                break;
  196|     20|            }
  197|  1.15k|            ch2 = (unsigned char)s[1];
  198|  1.15k|            ch3 = (unsigned char)s[2];
  199|  1.15k|            ch4 = (unsigned char)s[3];
  200|  1.15k|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|  1.15k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 1.11k, False: 42]
  |  |  |  Branch (20:51): [True: 1.07k, False: 41]
  |  |  ------------------
  ------------------
  201|       |                /* invalid continuation byte */
  202|     83|                goto InvalidContinuation1;
  203|     83|            }
  204|  1.07k|            if (ch == 0xF0) {
  ------------------
  |  Branch (204:17): [True: 236, False: 838]
  ------------------
  205|    236|                if (ch2 < 0x90)
  ------------------
  |  Branch (205:21): [True: 14, False: 222]
  ------------------
  206|       |                    /* invalid sequence
  207|       |                       \xF0\x80\x80\x80-\xF0\x8F\xBF\xBF -- fake 0000-FFFF */
  208|     14|                    goto InvalidContinuation1;
  209|    838|            } else if (ch == 0xF4 && ch2 >= 0x90) {
  ------------------
  |  Branch (209:24): [True: 127, False: 711]
  |  Branch (209:38): [True: 13, False: 114]
  ------------------
  210|       |                /* invalid sequence
  211|       |                   \xF4\x90\x80\x80- -- 110000- overflow */
  212|     13|                goto InvalidContinuation1;
  213|     13|            }
  214|  1.04k|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|  1.04k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 1.03k, False: 13]
  |  |  |  Branch (20:51): [True: 1.02k, False: 12]
  |  |  ------------------
  ------------------
  215|       |                /* invalid continuation byte */
  216|     25|                goto InvalidContinuation2;
  217|     25|            }
  218|  1.02k|            if (!IS_CONTINUATION_BYTE(ch4)) {
  ------------------
  |  |   20|  1.02k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 1.00k, False: 22]
  |  |  |  Branch (20:51): [True: 981, False: 19]
  |  |  ------------------
  ------------------
  219|       |                /* invalid continuation byte */
  220|     41|                goto InvalidContinuation3;
  221|     41|            }
  222|    981|            ch = (ch << 18) + (ch2 << 12) + (ch3 << 6) + ch4 -
  223|    981|                 ((0xF0 << 18) + (0x80 << 12) + (0x80 << 6) + 0x80);
  224|    981|            assert ((ch > 0xFFFF) && (ch <= 0x10FFFF));
  ------------------
  |  Branch (224:13): [True: 981, False: 0]
  |  Branch (224:13): [True: 981, False: 0]
  ------------------
  225|    981|            s += 4;
  226|    981|            if (STRINGLIB_MAX_CHAR <= 0xFFFF ||
  ------------------
  |  |   10|    981|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (226:17): [True: 981, 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|    981|                goto Return;
  230|      0|            *p++ = ch;
  231|      0|            continue;
  232|    981|        }
  233|    263|        goto InvalidStart;
  234|  1.52k|    }
  235|    446|    ch = 0;
  236|  7.84k|Return:
  237|  7.84k|    *inptr = s;
  238|  7.84k|    *outpos = p - dest;
  239|  7.84k|    return ch;
  240|  1.30k|InvalidStart:
  241|  1.30k|    ch = 1;
  242|  1.30k|    goto Return;
  243|    512|InvalidContinuation1:
  244|    512|    ch = 2;
  245|    512|    goto Return;
  246|     76|InvalidContinuation2:
  247|     76|    ch = 3;
  248|     76|    goto Return;
  249|     41|InvalidContinuation3:
  250|     41|    ch = 4;
  251|     41|    goto Return;
  252|    446|}
unicodeobject.c:ucs1lib_utf8_decode:
   26|  71.2k|{
   27|  71.2k|    Py_UCS4 ch;
   28|  71.2k|    const char *s = *inptr;
   29|  71.2k|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|  71.2k|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
   30|       |
   31|  1.27M|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 1.21M, False: 61.7k]
  ------------------
   32|  1.21M|        ch = (unsigned char)*s;
   33|       |
   34|  1.21M|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 277k, False: 936k]
  ------------------
   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|   277k|            if (_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  221|   277k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 34.9k, False: 242k]
  |  |  ------------------
  ------------------
   43|       |                /* Help register allocation */
   44|  34.9k|                const char *_s = s;
   45|  34.9k|                STRINGLIB_CHAR *_p = p;
  ------------------
  |  |   11|  34.9k|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
   46|   133k|                while (_s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1958|   133k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (46:24): [True: 121k, False: 11.5k]
  ------------------
   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|   121k|                    size_t value = *(const size_t *) _s;
   51|   121k|                    if (value & ASCII_CHAR_MASK)
  ------------------
  |  |   12|   121k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (51:25): [True: 23.3k, False: 98.3k]
  ------------------
   52|  23.3k|                        break;
   53|  98.3k|#if PY_LITTLE_ENDIAN
   54|  98.3k|                    _p[0] = (STRINGLIB_CHAR)(value & 0xFFu);
   55|  98.3k|                    _p[1] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   56|  98.3k|                    _p[2] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   57|  98.3k|                    _p[3] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   58|  98.3k|# if SIZEOF_SIZE_T == 8
   59|  98.3k|                    _p[4] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   60|  98.3k|                    _p[5] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   61|  98.3k|                    _p[6] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   62|  98.3k|                    _p[7] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   63|  98.3k|# 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|  98.3k|                    _s += SIZEOF_SIZE_T;
  ------------------
  |  | 1958|  98.3k|#define SIZEOF_SIZE_T 8
  ------------------
   82|  98.3k|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1958|  98.3k|#define SIZEOF_SIZE_T 8
  ------------------
   83|  98.3k|                }
   84|  34.9k|                s = _s;
   85|  34.9k|                p = _p;
   86|  34.9k|                if (s == end)
  ------------------
  |  Branch (86:21): [True: 879, False: 34.0k]
  ------------------
   87|    879|                    break;
   88|  34.0k|                ch = (unsigned char)*s;
   89|  34.0k|            }
   90|   276k|            if (ch < 0x80) {
  ------------------
  |  Branch (90:17): [True: 274k, False: 2.32k]
  ------------------
   91|   274k|                s++;
   92|   274k|                *p++ = ch;
   93|   274k|                continue;
   94|   274k|            }
   95|   276k|        }
   96|       |
   97|   938k|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 935k, False: 2.40k]
  ------------------
   98|       |            /* \xC2\x80-\xDF\xBF -- 0080-07FF */
   99|   935k|            Py_UCS4 ch2;
  100|   935k|            if (ch < 0xC2) {
  ------------------
  |  Branch (100:17): [True: 45, False: 935k]
  ------------------
  101|       |                /* invalid sequence
  102|       |                \x80-\xBF -- continuation byte
  103|       |                \xC0-\xC1 -- fake 0000-007F */
  104|     45|                goto InvalidStart;
  105|     45|            }
  106|   935k|            if (end - s < 2) {
  ------------------
  |  Branch (106:17): [True: 38, False: 935k]
  ------------------
  107|       |                /* unexpected end of data: the caller will decide whether
  108|       |                   it's an error or not */
  109|     38|                break;
  110|     38|            }
  111|   935k|            ch2 = (unsigned char)s[1];
  112|   935k|            if (!IS_CONTINUATION_BYTE(ch2))
  ------------------
  |  |   20|   935k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 935k, False: 25]
  |  |  |  Branch (20:51): [True: 935k, False: 22]
  |  |  ------------------
  ------------------
  113|       |                /* invalid continuation byte */
  114|     47|                goto InvalidContinuation1;
  115|   935k|            ch = (ch << 6) + ch2 -
  116|   935k|                 ((0xC0 << 6) + 0x80);
  117|   935k|            assert ((ch > 0x007F) && (ch <= 0x07FF));
  ------------------
  |  Branch (117:13): [True: 935k, False: 0]
  |  Branch (117:13): [True: 935k, False: 0]
  ------------------
  118|   935k|            s += 2;
  119|   935k|            if (STRINGLIB_MAX_CHAR <= 0x007F ||
  ------------------
  |  |   10|   935k|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (119:17): [Folded, False: 935k]
  ------------------
  120|   935k|                (STRINGLIB_MAX_CHAR < 0x07FF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|   935k|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
                              (STRINGLIB_MAX_CHAR < 0x07FF && ch > STRINGLIB_MAX_CHAR))
  ------------------
  |  |   10|   935k|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (120:18): [True: 935k, Folded]
  |  Branch (120:49): [True: 6.07k, False: 929k]
  ------------------
  121|       |                /* Out-of-range */
  122|  6.07k|                goto Return;
  123|   929k|            *p++ = ch;
  124|   929k|            continue;
  125|   935k|        }
  126|       |
  127|  2.40k|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 795, False: 1.61k]
  ------------------
  128|       |            /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  129|    795|            Py_UCS4 ch2, ch3;
  130|    795|            if (end - s < 3) {
  ------------------
  |  Branch (130:17): [True: 103, False: 692]
  ------------------
  131|       |                /* unexpected end of data: the caller will decide whether
  132|       |                   it's an error or not */
  133|    103|                if (end - s < 2)
  ------------------
  |  Branch (133:21): [True: 26, False: 77]
  ------------------
  134|     26|                    break;
  135|     77|                ch2 = (unsigned char)s[1];
  136|     77|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|    154|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 70, False: 7]
  |  |  |  Branch (20:51): [True: 59, False: 11]
  |  |  ------------------
  ------------------
  137|     59|                    (ch2 < 0xA0 ? ch == 0xE0 : ch == 0xED))
  ------------------
  |  Branch (137:21): [True: 12, False: 47]
  |  Branch (137:22): [True: 15, False: 44]
  ------------------
  138|       |                    /* for clarification see comments below */
  139|     30|                    goto InvalidContinuation1;
  140|     47|                break;
  141|     77|            }
  142|    692|            ch2 = (unsigned char)s[1];
  143|    692|            ch3 = (unsigned char)s[2];
  144|    692|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|    692|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 678, False: 14]
  |  |  |  Branch (20:51): [True: 663, False: 15]
  |  |  ------------------
  ------------------
  145|       |                /* invalid continuation byte */
  146|     29|                goto InvalidContinuation1;
  147|     29|            }
  148|    663|            if (ch == 0xE0) {
  ------------------
  |  Branch (148:17): [True: 50, False: 613]
  ------------------
  149|     50|                if (ch2 < 0xA0)
  ------------------
  |  Branch (149:21): [True: 15, False: 35]
  ------------------
  150|       |                    /* invalid sequence
  151|       |                       \xE0\x80\x80-\xE0\x9F\xBF -- fake 0000-0800 */
  152|     15|                    goto InvalidContinuation1;
  153|    613|            } else if (ch == 0xED && ch2 >= 0xA0) {
  ------------------
  |  Branch (153:24): [True: 107, False: 506]
  |  Branch (153:38): [True: 12, False: 95]
  ------------------
  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|     12|                goto InvalidContinuation1;
  160|     12|            }
  161|    636|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|    636|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 622, False: 14]
  |  |  |  Branch (20:51): [True: 608, False: 14]
  |  |  ------------------
  ------------------
  162|       |                /* invalid continuation byte */
  163|     28|                goto InvalidContinuation2;
  164|     28|            }
  165|    608|            ch = (ch << 12) + (ch2 << 6) + ch3 -
  166|    608|                 ((0xE0 << 12) + (0x80 << 6) + 0x80);
  167|    608|            assert ((ch > 0x07FF) && (ch <= 0xFFFF));
  ------------------
  |  Branch (167:13): [True: 608, False: 0]
  |  Branch (167:13): [True: 608, False: 0]
  ------------------
  168|    608|            s += 3;
  169|    608|            if (STRINGLIB_MAX_CHAR <= 0x07FF ||
  ------------------
  |  |   10|    608|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (169:17): [True: 608, 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|    608|                goto Return;
  173|      0|            *p++ = ch;
  174|      0|            continue;
  175|    608|        }
  176|       |
  177|  1.61k|        if (ch < 0xF5) {
  ------------------
  |  Branch (177:13): [True: 1.59k, False: 20]
  ------------------
  178|       |            /* \xF0\x90\x80\x80-\xF4\x8F\xBF\xBF -- 10000-10FFFF */
  179|  1.59k|            Py_UCS4 ch2, ch3, ch4;
  180|  1.59k|            if (end - s < 4) {
  ------------------
  |  Branch (180:17): [True: 98, False: 1.49k]
  ------------------
  181|       |                /* unexpected end of data: the caller will decide whether
  182|       |                   it's an error or not */
  183|     98|                if (end - s < 2)
  ------------------
  |  Branch (183:21): [True: 11, False: 87]
  ------------------
  184|     11|                    break;
  185|     87|                ch2 = (unsigned char)s[1];
  186|     87|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|    174|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 71, False: 16]
  |  |  |  Branch (20:51): [True: 58, False: 13]
  |  |  ------------------
  ------------------
  187|     58|                    (ch2 < 0x90 ? ch == 0xF0 : ch == 0xF4))
  ------------------
  |  Branch (187:21): [True: 19, False: 39]
  |  Branch (187:22): [True: 22, False: 36]
  ------------------
  188|       |                    /* for clarification see comments below */
  189|     48|                    goto InvalidContinuation1;
  190|     39|                if (end - s < 3)
  ------------------
  |  Branch (190:21): [True: 12, False: 27]
  ------------------
  191|     12|                    break;
  192|     27|                ch3 = (unsigned char)s[2];
  193|     27|                if (!IS_CONTINUATION_BYTE(ch3))
  ------------------
  |  |   20|     27|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 18, False: 9]
  |  |  |  Branch (20:51): [True: 10, False: 8]
  |  |  ------------------
  ------------------
  194|     17|                    goto InvalidContinuation2;
  195|     10|                break;
  196|     27|            }
  197|  1.49k|            ch2 = (unsigned char)s[1];
  198|  1.49k|            ch3 = (unsigned char)s[2];
  199|  1.49k|            ch4 = (unsigned char)s[3];
  200|  1.49k|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|  1.49k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 1.47k, False: 14]
  |  |  |  Branch (20:51): [True: 1.46k, False: 16]
  |  |  ------------------
  ------------------
  201|       |                /* invalid continuation byte */
  202|     30|                goto InvalidContinuation1;
  203|     30|            }
  204|  1.46k|            if (ch == 0xF0) {
  ------------------
  |  Branch (204:17): [True: 584, False: 878]
  ------------------
  205|    584|                if (ch2 < 0x90)
  ------------------
  |  Branch (205:21): [True: 12, False: 572]
  ------------------
  206|       |                    /* invalid sequence
  207|       |                       \xF0\x80\x80\x80-\xF0\x8F\xBF\xBF -- fake 0000-FFFF */
  208|     12|                    goto InvalidContinuation1;
  209|    878|            } else if (ch == 0xF4 && ch2 >= 0x90) {
  ------------------
  |  Branch (209:24): [True: 137, False: 741]
  |  Branch (209:38): [True: 14, False: 123]
  ------------------
  210|       |                /* invalid sequence
  211|       |                   \xF4\x90\x80\x80- -- 110000- overflow */
  212|     14|                goto InvalidContinuation1;
  213|     14|            }
  214|  1.43k|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|  1.43k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 1.40k, False: 29]
  |  |  |  Branch (20:51): [True: 1.38k, False: 18]
  |  |  ------------------
  ------------------
  215|       |                /* invalid continuation byte */
  216|     47|                goto InvalidContinuation2;
  217|     47|            }
  218|  1.38k|            if (!IS_CONTINUATION_BYTE(ch4)) {
  ------------------
  |  |   20|  1.38k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 1.37k, False: 12]
  |  |  |  Branch (20:51): [True: 1.36k, False: 10]
  |  |  ------------------
  ------------------
  219|       |                /* invalid continuation byte */
  220|     22|                goto InvalidContinuation3;
  221|     22|            }
  222|  1.36k|            ch = (ch << 18) + (ch2 << 12) + (ch3 << 6) + ch4 -
  223|  1.36k|                 ((0xF0 << 18) + (0x80 << 12) + (0x80 << 6) + 0x80);
  224|  1.36k|            assert ((ch > 0xFFFF) && (ch <= 0x10FFFF));
  ------------------
  |  Branch (224:13): [True: 1.36k, False: 0]
  |  Branch (224:13): [True: 1.36k, False: 0]
  ------------------
  225|  1.36k|            s += 4;
  226|  1.36k|            if (STRINGLIB_MAX_CHAR <= 0xFFFF ||
  ------------------
  |  |   10|  1.36k|#define STRINGLIB_MAX_CHAR       0xFFu
  ------------------
  |  Branch (226:17): [True: 1.36k, 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|  1.36k|                goto Return;
  230|      0|            *p++ = ch;
  231|      0|            continue;
  232|  1.36k|        }
  233|     20|        goto InvalidStart;
  234|  1.61k|    }
  235|  62.7k|    ch = 0;
  236|  71.2k|Return:
  237|  71.2k|    *inptr = s;
  238|  71.2k|    *outpos = p - dest;
  239|  71.2k|    return ch;
  240|     65|InvalidStart:
  241|     65|    ch = 1;
  242|     65|    goto Return;
  243|    237|InvalidContinuation1:
  244|    237|    ch = 2;
  245|    237|    goto Return;
  246|     92|InvalidContinuation2:
  247|     92|    ch = 3;
  248|     92|    goto Return;
  249|     22|InvalidContinuation3:
  250|     22|    ch = 4;
  251|     22|    goto Return;
  252|  62.7k|}
unicodeobject.c:ucs2lib_utf8_decode:
   26|   126k|{
   27|   126k|    Py_UCS4 ch;
   28|   126k|    const char *s = *inptr;
   29|   126k|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|   126k|#define STRINGLIB_CHAR           Py_UCS2
  ------------------
   30|       |
   31|  1.44M|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 1.34M, False: 104k]
  ------------------
   32|  1.34M|        ch = (unsigned char)*s;
   33|       |
   34|  1.34M|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 546k, False: 795k]
  ------------------
   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|   546k|            if (_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  221|   546k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 76.2k, False: 470k]
  |  |  ------------------
  ------------------
   43|       |                /* Help register allocation */
   44|  76.2k|                const char *_s = s;
   45|  76.2k|                STRINGLIB_CHAR *_p = p;
  ------------------
  |  |   11|  76.2k|#define STRINGLIB_CHAR           Py_UCS2
  ------------------
   46|   265k|                while (_s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1958|   265k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (46:24): [True: 230k, False: 34.1k]
  ------------------
   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|   230k|                    size_t value = *(const size_t *) _s;
   51|   230k|                    if (value & ASCII_CHAR_MASK)
  ------------------
  |  |   12|   230k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (51:25): [True: 42.1k, False: 188k]
  ------------------
   52|  42.1k|                        break;
   53|   188k|#if PY_LITTLE_ENDIAN
   54|   188k|                    _p[0] = (STRINGLIB_CHAR)(value & 0xFFu);
   55|   188k|                    _p[1] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   56|   188k|                    _p[2] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   57|   188k|                    _p[3] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   58|   188k|# if SIZEOF_SIZE_T == 8
   59|   188k|                    _p[4] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   60|   188k|                    _p[5] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   61|   188k|                    _p[6] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   62|   188k|                    _p[7] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   63|   188k|# 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|   188k|                    _s += SIZEOF_SIZE_T;
  ------------------
  |  | 1958|   188k|#define SIZEOF_SIZE_T 8
  ------------------
   82|   188k|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1958|   188k|#define SIZEOF_SIZE_T 8
  ------------------
   83|   188k|                }
   84|  76.2k|                s = _s;
   85|  76.2k|                p = _p;
   86|  76.2k|                if (s == end)
  ------------------
  |  Branch (86:21): [True: 842, False: 75.4k]
  ------------------
   87|    842|                    break;
   88|  75.4k|                ch = (unsigned char)*s;
   89|  75.4k|            }
   90|   546k|            if (ch < 0x80) {
  ------------------
  |  Branch (90:17): [True: 543k, False: 3.02k]
  ------------------
   91|   543k|                s++;
   92|   543k|                *p++ = ch;
   93|   543k|                continue;
   94|   543k|            }
   95|   546k|        }
   96|       |
   97|   798k|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 386k, False: 412k]
  ------------------
   98|       |            /* \xC2\x80-\xDF\xBF -- 0080-07FF */
   99|   386k|            Py_UCS4 ch2;
  100|   386k|            if (ch < 0xC2) {
  ------------------
  |  Branch (100:17): [True: 7.44k, False: 379k]
  ------------------
  101|       |                /* invalid sequence
  102|       |                \x80-\xBF -- continuation byte
  103|       |                \xC0-\xC1 -- fake 0000-007F */
  104|  7.44k|                goto InvalidStart;
  105|  7.44k|            }
  106|   379k|            if (end - s < 2) {
  ------------------
  |  Branch (106:17): [True: 115, False: 379k]
  ------------------
  107|       |                /* unexpected end of data: the caller will decide whether
  108|       |                   it's an error or not */
  109|    115|                break;
  110|    115|            }
  111|   379k|            ch2 = (unsigned char)s[1];
  112|   379k|            if (!IS_CONTINUATION_BYTE(ch2))
  ------------------
  |  |   20|   379k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 378k, False: 640]
  |  |  |  Branch (20:51): [True: 376k, False: 1.62k]
  |  |  ------------------
  ------------------
  113|       |                /* invalid continuation byte */
  114|  2.26k|                goto InvalidContinuation1;
  115|   376k|            ch = (ch << 6) + ch2 -
  116|   376k|                 ((0xC0 << 6) + 0x80);
  117|   376k|            assert ((ch > 0x007F) && (ch <= 0x07FF));
  ------------------
  |  Branch (117:13): [True: 376k, False: 0]
  |  Branch (117:13): [True: 376k, False: 0]
  ------------------
  118|   376k|            s += 2;
  119|   376k|            if (STRINGLIB_MAX_CHAR <= 0x007F ||
  ------------------
  |  |   10|   376k|#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|   376k|            *p++ = ch;
  124|   376k|            continue;
  125|   376k|        }
  126|       |
  127|   412k|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 403k, False: 8.12k]
  ------------------
  128|       |            /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  129|   403k|            Py_UCS4 ch2, ch3;
  130|   403k|            if (end - s < 3) {
  ------------------
  |  Branch (130:17): [True: 409, False: 403k]
  ------------------
  131|       |                /* unexpected end of data: the caller will decide whether
  132|       |                   it's an error or not */
  133|    409|                if (end - s < 2)
  ------------------
  |  Branch (133:21): [True: 200, False: 209]
  ------------------
  134|    200|                    break;
  135|    209|                ch2 = (unsigned char)s[1];
  136|    209|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|    418|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 170, False: 39]
  |  |  |  Branch (20:51): [True: 152, False: 18]
  |  |  ------------------
  ------------------
  137|    152|                    (ch2 < 0xA0 ? ch == 0xE0 : ch == 0xED))
  ------------------
  |  Branch (137:21): [True: 27, False: 125]
  |  Branch (137:22): [True: 35, False: 117]
  ------------------
  138|       |                    /* for clarification see comments below */
  139|     84|                    goto InvalidContinuation1;
  140|    125|                break;
  141|    209|            }
  142|   403k|            ch2 = (unsigned char)s[1];
  143|   403k|            ch3 = (unsigned char)s[2];
  144|   403k|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|   403k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 403k, False: 533]
  |  |  |  Branch (20:51): [True: 402k, False: 919]
  |  |  ------------------
  ------------------
  145|       |                /* invalid continuation byte */
  146|  1.45k|                goto InvalidContinuation1;
  147|  1.45k|            }
  148|   402k|            if (ch == 0xE0) {
  ------------------
  |  Branch (148:17): [True: 1.25k, False: 400k]
  ------------------
  149|  1.25k|                if (ch2 < 0xA0)
  ------------------
  |  Branch (149:21): [True: 181, False: 1.06k]
  ------------------
  150|       |                    /* invalid sequence
  151|       |                       \xE0\x80\x80-\xE0\x9F\xBF -- fake 0000-0800 */
  152|    181|                    goto InvalidContinuation1;
  153|   400k|            } else if (ch == 0xED && ch2 >= 0xA0) {
  ------------------
  |  Branch (153:24): [True: 2.08k, False: 398k]
  |  Branch (153:38): [True: 206, False: 1.87k]
  ------------------
  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|    206|                goto InvalidContinuation1;
  160|    206|            }
  161|   401k|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|   401k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 401k, False: 580]
  |  |  |  Branch (20:51): [True: 400k, False: 288]
  |  |  ------------------
  ------------------
  162|       |                /* invalid continuation byte */
  163|    868|                goto InvalidContinuation2;
  164|    868|            }
  165|   400k|            ch = (ch << 12) + (ch2 << 6) + ch3 -
  166|   400k|                 ((0xE0 << 12) + (0x80 << 6) + 0x80);
  167|   400k|            assert ((ch > 0x07FF) && (ch <= 0xFFFF));
  ------------------
  |  Branch (167:13): [True: 400k, False: 0]
  |  Branch (167:13): [True: 400k, False: 0]
  ------------------
  168|   400k|            s += 3;
  169|   400k|            if (STRINGLIB_MAX_CHAR <= 0x07FF ||
  ------------------
  |  |   10|   400k|#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|   400k|            *p++ = ch;
  174|   400k|            continue;
  175|   400k|        }
  176|       |
  177|  8.12k|        if (ch < 0xF5) {
  ------------------
  |  Branch (177:13): [True: 5.08k, False: 3.03k]
  ------------------
  178|       |            /* \xF0\x90\x80\x80-\xF4\x8F\xBF\xBF -- 10000-10FFFF */
  179|  5.08k|            Py_UCS4 ch2, ch3, ch4;
  180|  5.08k|            if (end - s < 4) {
  ------------------
  |  Branch (180:17): [True: 196, False: 4.89k]
  ------------------
  181|       |                /* unexpected end of data: the caller will decide whether
  182|       |                   it's an error or not */
  183|    196|                if (end - s < 2)
  ------------------
  |  Branch (183:21): [True: 29, False: 167]
  ------------------
  184|     29|                    break;
  185|    167|                ch2 = (unsigned char)s[1];
  186|    167|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|    334|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 131, False: 36]
  |  |  |  Branch (20:51): [True: 99, False: 32]
  |  |  ------------------
  ------------------
  187|     99|                    (ch2 < 0x90 ? ch == 0xF0 : ch == 0xF4))
  ------------------
  |  Branch (187:21): [True: 27, False: 72]
  |  Branch (187:22): [True: 39, False: 60]
  ------------------
  188|       |                    /* for clarification see comments below */
  189|     95|                    goto InvalidContinuation1;
  190|     72|                if (end - s < 3)
  ------------------
  |  Branch (190:21): [True: 33, False: 39]
  ------------------
  191|     33|                    break;
  192|     39|                ch3 = (unsigned char)s[2];
  193|     39|                if (!IS_CONTINUATION_BYTE(ch3))
  ------------------
  |  |   20|     39|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 27, False: 12]
  |  |  |  Branch (20:51): [True: 12, False: 15]
  |  |  ------------------
  ------------------
  194|     27|                    goto InvalidContinuation2;
  195|     12|                break;
  196|     39|            }
  197|  4.89k|            ch2 = (unsigned char)s[1];
  198|  4.89k|            ch3 = (unsigned char)s[2];
  199|  4.89k|            ch4 = (unsigned char)s[3];
  200|  4.89k|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|  4.89k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 4.16k, False: 733]
  |  |  |  Branch (20:51): [True: 3.04k, False: 1.11k]
  |  |  ------------------
  ------------------
  201|       |                /* invalid continuation byte */
  202|  1.84k|                goto InvalidContinuation1;
  203|  1.84k|            }
  204|  3.04k|            if (ch == 0xF0) {
  ------------------
  |  Branch (204:17): [True: 1.26k, False: 1.78k]
  ------------------
  205|  1.26k|                if (ch2 < 0x90)
  ------------------
  |  Branch (205:21): [True: 279, False: 984]
  ------------------
  206|       |                    /* invalid sequence
  207|       |                       \xF0\x80\x80\x80-\xF0\x8F\xBF\xBF -- fake 0000-FFFF */
  208|    279|                    goto InvalidContinuation1;
  209|  1.78k|            } else if (ch == 0xF4 && ch2 >= 0x90) {
  ------------------
  |  Branch (209:24): [True: 639, False: 1.14k]
  |  Branch (209:38): [True: 239, False: 400]
  ------------------
  210|       |                /* invalid sequence
  211|       |                   \xF4\x90\x80\x80- -- 110000- overflow */
  212|    239|                goto InvalidContinuation1;
  213|    239|            }
  214|  2.52k|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|  2.52k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 2.03k, False: 488]
  |  |  |  Branch (20:51): [True: 1.62k, False: 416]
  |  |  ------------------
  ------------------
  215|       |                /* invalid continuation byte */
  216|    904|                goto InvalidContinuation2;
  217|    904|            }
  218|  1.62k|            if (!IS_CONTINUATION_BYTE(ch4)) {
  ------------------
  |  |   20|  1.62k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 1.53k, False: 85]
  |  |  |  Branch (20:51): [True: 1.23k, False: 304]
  |  |  ------------------
  ------------------
  219|       |                /* invalid continuation byte */
  220|    389|                goto InvalidContinuation3;
  221|    389|            }
  222|  1.23k|            ch = (ch << 18) + (ch2 << 12) + (ch3 << 6) + ch4 -
  223|  1.23k|                 ((0xF0 << 18) + (0x80 << 12) + (0x80 << 6) + 0x80);
  224|  1.23k|            assert ((ch > 0xFFFF) && (ch <= 0x10FFFF));
  ------------------
  |  Branch (224:13): [True: 1.23k, False: 0]
  |  Branch (224:13): [True: 1.23k, False: 0]
  ------------------
  225|  1.23k|            s += 4;
  226|  1.23k|            if (STRINGLIB_MAX_CHAR <= 0xFFFF ||
  ------------------
  |  |   10|  1.23k|#define STRINGLIB_MAX_CHAR       0xFFFFu
  ------------------
  |  Branch (226:17): [True: 1.23k, 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|  1.23k|                goto Return;
  230|      0|            *p++ = ch;
  231|      0|            continue;
  232|  1.23k|        }
  233|  3.03k|        goto InvalidStart;
  234|  8.12k|    }
  235|   105k|    ch = 0;
  236|   126k|Return:
  237|   126k|    *inptr = s;
  238|   126k|    *outpos = p - dest;
  239|   126k|    return ch;
  240|  10.4k|InvalidStart:
  241|  10.4k|    ch = 1;
  242|  10.4k|    goto Return;
  243|  6.64k|InvalidContinuation1:
  244|  6.64k|    ch = 2;
  245|  6.64k|    goto Return;
  246|  1.79k|InvalidContinuation2:
  247|  1.79k|    ch = 3;
  248|  1.79k|    goto Return;
  249|    389|InvalidContinuation3:
  250|    389|    ch = 4;
  251|    389|    goto Return;
  252|   105k|}
unicodeobject.c:ucs4lib_utf8_decode:
   26|  50.1k|{
   27|  50.1k|    Py_UCS4 ch;
   28|  50.1k|    const char *s = *inptr;
   29|  50.1k|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|  50.1k|#define STRINGLIB_CHAR           Py_UCS4
  ------------------
   30|       |
   31|   273k|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 257k, False: 15.4k]
  ------------------
   32|   257k|        ch = (unsigned char)*s;
   33|       |
   34|   257k|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 139k, False: 118k]
  ------------------
   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|   139k|            if (_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  221|   139k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 18.7k, False: 120k]
  |  |  ------------------
  ------------------
   43|       |                /* Help register allocation */
   44|  18.7k|                const char *_s = s;
   45|  18.7k|                STRINGLIB_CHAR *_p = p;
  ------------------
  |  |   11|  18.7k|#define STRINGLIB_CHAR           Py_UCS4
  ------------------
   46|   135k|                while (_s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1958|   135k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (46:24): [True: 129k, False: 5.53k]
  ------------------
   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|   129k|                    size_t value = *(const size_t *) _s;
   51|   129k|                    if (value & ASCII_CHAR_MASK)
  ------------------
  |  |   12|   129k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (51:25): [True: 13.2k, False: 116k]
  ------------------
   52|  13.2k|                        break;
   53|   116k|#if PY_LITTLE_ENDIAN
   54|   116k|                    _p[0] = (STRINGLIB_CHAR)(value & 0xFFu);
   55|   116k|                    _p[1] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   56|   116k|                    _p[2] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   57|   116k|                    _p[3] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   58|   116k|# if SIZEOF_SIZE_T == 8
   59|   116k|                    _p[4] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   60|   116k|                    _p[5] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   61|   116k|                    _p[6] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   62|   116k|                    _p[7] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   63|   116k|# 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|   116k|                    _s += SIZEOF_SIZE_T;
  ------------------
  |  | 1958|   116k|#define SIZEOF_SIZE_T 8
  ------------------
   82|   116k|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1958|   116k|#define SIZEOF_SIZE_T 8
  ------------------
   83|   116k|                }
   84|  18.7k|                s = _s;
   85|  18.7k|                p = _p;
   86|  18.7k|                if (s == end)
  ------------------
  |  Branch (86:21): [True: 207, False: 18.5k]
  ------------------
   87|    207|                    break;
   88|  18.5k|                ch = (unsigned char)*s;
   89|  18.5k|            }
   90|   139k|            if (ch < 0x80) {
  ------------------
  |  Branch (90:17): [True: 138k, False: 1.25k]
  ------------------
   91|   138k|                s++;
   92|   138k|                *p++ = ch;
   93|   138k|                continue;
   94|   138k|            }
   95|   139k|        }
   96|       |
   97|   119k|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 19.4k, False: 99.9k]
  ------------------
   98|       |            /* \xC2\x80-\xDF\xBF -- 0080-07FF */
   99|  19.4k|            Py_UCS4 ch2;
  100|  19.4k|            if (ch < 0xC2) {
  ------------------
  |  Branch (100:17): [True: 8.42k, False: 11.0k]
  ------------------
  101|       |                /* invalid sequence
  102|       |                \x80-\xBF -- continuation byte
  103|       |                \xC0-\xC1 -- fake 0000-007F */
  104|  8.42k|                goto InvalidStart;
  105|  8.42k|            }
  106|  11.0k|            if (end - s < 2) {
  ------------------
  |  Branch (106:17): [True: 28, False: 11.0k]
  ------------------
  107|       |                /* unexpected end of data: the caller will decide whether
  108|       |                   it's an error or not */
  109|     28|                break;
  110|     28|            }
  111|  11.0k|            ch2 = (unsigned char)s[1];
  112|  11.0k|            if (!IS_CONTINUATION_BYTE(ch2))
  ------------------
  |  |   20|  11.0k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 10.5k, False: 475]
  |  |  |  Branch (20:51): [True: 8.97k, False: 1.59k]
  |  |  ------------------
  ------------------
  113|       |                /* invalid continuation byte */
  114|  2.07k|                goto InvalidContinuation1;
  115|  8.97k|            ch = (ch << 6) + ch2 -
  116|  8.97k|                 ((0xC0 << 6) + 0x80);
  117|  8.97k|            assert ((ch > 0x007F) && (ch <= 0x07FF));
  ------------------
  |  Branch (117:13): [True: 8.97k, False: 0]
  |  Branch (117:13): [True: 8.97k, False: 0]
  ------------------
  118|  8.97k|            s += 2;
  119|  8.97k|            if (STRINGLIB_MAX_CHAR <= 0x007F ||
  ------------------
  |  |   10|  8.97k|#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|  8.97k|            *p++ = ch;
  124|  8.97k|            continue;
  125|  8.97k|        }
  126|       |
  127|  99.9k|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 61.8k, False: 38.1k]
  ------------------
  128|       |            /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  129|  61.8k|            Py_UCS4 ch2, ch3;
  130|  61.8k|            if (end - s < 3) {
  ------------------
  |  Branch (130:17): [True: 127, False: 61.6k]
  ------------------
  131|       |                /* unexpected end of data: the caller will decide whether
  132|       |                   it's an error or not */
  133|    127|                if (end - s < 2)
  ------------------
  |  Branch (133:21): [True: 45, False: 82]
  ------------------
  134|     45|                    break;
  135|     82|                ch2 = (unsigned char)s[1];
  136|     82|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|    164|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 67, False: 15]
  |  |  |  Branch (20:51): [True: 60, False: 7]
  |  |  ------------------
  ------------------
  137|     60|                    (ch2 < 0xA0 ? ch == 0xE0 : ch == 0xED))
  ------------------
  |  Branch (137:21): [True: 20, False: 40]
  |  Branch (137:22): [True: 21, False: 39]
  ------------------
  138|       |                    /* for clarification see comments below */
  139|     42|                    goto InvalidContinuation1;
  140|     40|                break;
  141|     82|            }
  142|  61.6k|            ch2 = (unsigned char)s[1];
  143|  61.6k|            ch3 = (unsigned char)s[2];
  144|  61.6k|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|  61.6k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 60.7k, False: 931]
  |  |  |  Branch (20:51): [True: 59.8k, False: 944]
  |  |  ------------------
  ------------------
  145|       |                /* invalid continuation byte */
  146|  1.87k|                goto InvalidContinuation1;
  147|  1.87k|            }
  148|  59.8k|            if (ch == 0xE0) {
  ------------------
  |  Branch (148:17): [True: 689, False: 59.1k]
  ------------------
  149|    689|                if (ch2 < 0xA0)
  ------------------
  |  Branch (149:21): [True: 226, False: 463]
  ------------------
  150|       |                    /* invalid sequence
  151|       |                       \xE0\x80\x80-\xE0\x9F\xBF -- fake 0000-0800 */
  152|    226|                    goto InvalidContinuation1;
  153|  59.1k|            } else if (ch == 0xED && ch2 >= 0xA0) {
  ------------------
  |  Branch (153:24): [True: 2.85k, False: 56.2k]
  |  Branch (153:38): [True: 626, False: 2.23k]
  ------------------
  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|    626|                goto InvalidContinuation1;
  160|    626|            }
  161|  58.9k|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|  58.9k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 58.5k, False: 392]
  |  |  |  Branch (20:51): [True: 57.3k, False: 1.18k]
  |  |  ------------------
  ------------------
  162|       |                /* invalid continuation byte */
  163|  1.58k|                goto InvalidContinuation2;
  164|  1.58k|            }
  165|  57.3k|            ch = (ch << 12) + (ch2 << 6) + ch3 -
  166|  57.3k|                 ((0xE0 << 12) + (0x80 << 6) + 0x80);
  167|  57.3k|            assert ((ch > 0x07FF) && (ch <= 0xFFFF));
  ------------------
  |  Branch (167:13): [True: 57.3k, False: 0]
  |  Branch (167:13): [True: 57.3k, False: 0]
  ------------------
  168|  57.3k|            s += 3;
  169|  57.3k|            if (STRINGLIB_MAX_CHAR <= 0x07FF ||
  ------------------
  |  |   10|  57.3k|#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|  57.3k|            *p++ = ch;
  174|  57.3k|            continue;
  175|  57.3k|        }
  176|       |
  177|  38.1k|        if (ch < 0xF5) {
  ------------------
  |  Branch (177:13): [True: 25.1k, False: 12.9k]
  ------------------
  178|       |            /* \xF0\x90\x80\x80-\xF4\x8F\xBF\xBF -- 10000-10FFFF */
  179|  25.1k|            Py_UCS4 ch2, ch3, ch4;
  180|  25.1k|            if (end - s < 4) {
  ------------------
  |  Branch (180:17): [True: 249, False: 24.8k]
  ------------------
  181|       |                /* unexpected end of data: the caller will decide whether
  182|       |                   it's an error or not */
  183|    249|                if (end - s < 2)
  ------------------
  |  Branch (183:21): [True: 66, False: 183]
  ------------------
  184|     66|                    break;
  185|    183|                ch2 = (unsigned char)s[1];
  186|    183|                if (!IS_CONTINUATION_BYTE(ch2) ||
  ------------------
  |  |   20|    366|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 145, False: 38]
  |  |  |  Branch (20:51): [True: 116, False: 29]
  |  |  ------------------
  ------------------
  187|    116|                    (ch2 < 0x90 ? ch == 0xF0 : ch == 0xF4))
  ------------------
  |  Branch (187:21): [True: 24, False: 92]
  |  Branch (187:22): [True: 49, False: 67]
  ------------------
  188|       |                    /* for clarification see comments below */
  189|     91|                    goto InvalidContinuation1;
  190|     92|                if (end - s < 3)
  ------------------
  |  Branch (190:21): [True: 32, False: 60]
  ------------------
  191|     32|                    break;
  192|     60|                ch3 = (unsigned char)s[2];
  193|     60|                if (!IS_CONTINUATION_BYTE(ch3))
  ------------------
  |  |   20|     60|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 37, False: 23]
  |  |  |  Branch (20:51): [True: 24, False: 13]
  |  |  ------------------
  ------------------
  194|     36|                    goto InvalidContinuation2;
  195|     24|                break;
  196|     60|            }
  197|  24.8k|            ch2 = (unsigned char)s[1];
  198|  24.8k|            ch3 = (unsigned char)s[2];
  199|  24.8k|            ch4 = (unsigned char)s[3];
  200|  24.8k|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|  24.8k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 23.0k, False: 1.88k]
  |  |  |  Branch (20:51): [True: 21.4k, False: 1.52k]
  |  |  ------------------
  ------------------
  201|       |                /* invalid continuation byte */
  202|  3.41k|                goto InvalidContinuation1;
  203|  3.41k|            }
  204|  21.4k|            if (ch == 0xF0) {
  ------------------
  |  Branch (204:17): [True: 9.51k, False: 11.9k]
  ------------------
  205|  9.51k|                if (ch2 < 0x90)
  ------------------
  |  Branch (205:21): [True: 316, False: 9.19k]
  ------------------
  206|       |                    /* invalid sequence
  207|       |                       \xF0\x80\x80\x80-\xF0\x8F\xBF\xBF -- fake 0000-FFFF */
  208|    316|                    goto InvalidContinuation1;
  209|  11.9k|            } else if (ch == 0xF4 && ch2 >= 0x90) {
  ------------------
  |  Branch (209:24): [True: 1.98k, False: 9.97k]
  |  Branch (209:38): [True: 227, False: 1.76k]
  ------------------
  210|       |                /* invalid sequence
  211|       |                   \xF4\x90\x80\x80- -- 110000- overflow */
  212|    227|                goto InvalidContinuation1;
  213|    227|            }
  214|  20.9k|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|  20.9k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 20.3k, False: 541]
  |  |  |  Branch (20:51): [True: 19.9k, False: 448]
  |  |  ------------------
  ------------------
  215|       |                /* invalid continuation byte */
  216|    989|                goto InvalidContinuation2;
  217|    989|            }
  218|  19.9k|            if (!IS_CONTINUATION_BYTE(ch4)) {
  ------------------
  |  |   20|  19.9k|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 19.3k, False: 610]
  |  |  |  Branch (20:51): [True: 18.5k, False: 747]
  |  |  ------------------
  ------------------
  219|       |                /* invalid continuation byte */
  220|  1.35k|                goto InvalidContinuation3;
  221|  1.35k|            }
  222|  18.5k|            ch = (ch << 18) + (ch2 << 12) + (ch3 << 6) + ch4 -
  223|  18.5k|                 ((0xF0 << 18) + (0x80 << 12) + (0x80 << 6) + 0x80);
  224|  18.5k|            assert ((ch > 0xFFFF) && (ch <= 0x10FFFF));
  ------------------
  |  Branch (224:13): [True: 18.5k, False: 0]
  |  Branch (224:13): [True: 18.5k, False: 0]
  ------------------
  225|  18.5k|            s += 4;
  226|  18.5k|            if (STRINGLIB_MAX_CHAR <= 0xFFFF ||
  ------------------
  |  |   10|  18.5k|#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|  18.5k|            *p++ = ch;
  231|  18.5k|            continue;
  232|  18.5k|        }
  233|  12.9k|        goto InvalidStart;
  234|  38.1k|    }
  235|  15.8k|    ch = 0;
  236|  50.1k|Return:
  237|  50.1k|    *inptr = s;
  238|  50.1k|    *outpos = p - dest;
  239|  50.1k|    return ch;
  240|  21.4k|InvalidStart:
  241|  21.4k|    ch = 1;
  242|  21.4k|    goto Return;
  243|  8.88k|InvalidContinuation1:
  244|  8.88k|    ch = 2;
  245|  8.88k|    goto Return;
  246|  2.60k|InvalidContinuation2:
  247|  2.60k|    ch = 3;
  248|  2.60k|    goto Return;
  249|  1.35k|InvalidContinuation3:
  250|  1.35k|    ch = 4;
  251|  1.35k|    goto Return;
  252|  15.8k|}
unicodeobject.c:asciilib_utf16_decode:
  516|    165|{
  517|    165|    Py_UCS4 ch;
  518|    165|    const unsigned char *q = *inptr;
  519|    165|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|    165|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
  520|       |    /* Offsets from q for retrieving byte pairs in the right order. */
  521|    165|#if PY_LITTLE_ENDIAN
  522|    165|    int ihi = !!native_ordering, ilo = !native_ordering;
  523|       |#else
  524|       |    int ihi = !native_ordering, ilo = !!native_ordering;
  525|       |#endif
  526|    165|    --e;
  527|       |
  528|    165|    while (q < e) {
  ------------------
  |  Branch (528:12): [True: 165, False: 0]
  ------------------
  529|    165|        Py_UCS4 ch2;
  530|       |        /* First check for possible aligned read of a C 'long'. Unaligned
  531|       |           reads are more expensive, better to defer to another iteration. */
  532|    165|        if (_Py_IS_ALIGNED(q, ALIGNOF_LONG)) {
  ------------------
  |  |  221|    165|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 165, False: 0]
  |  |  ------------------
  ------------------
  533|       |            /* Fast path for runs of in-range non-surrogate chars. */
  534|    165|            const unsigned char *_q = q;
  535|    165|            while (_q + SIZEOF_LONG <= e) {
  ------------------
  |  | 1934|    165|#define SIZEOF_LONG 8
  ------------------
  |  Branch (535:20): [True: 165, False: 0]
  ------------------
  536|    165|                unsigned long block = * (const unsigned long *) _q;
  537|    165|                if (native_ordering) {
  ------------------
  |  Branch (537:21): [True: 99, False: 66]
  ------------------
  538|       |                    /* Can use buffer directly */
  539|     99|                    if (block & FAST_CHAR_MASK)
  ------------------
  |  |  497|     99|# define FAST_CHAR_MASK         (UCS2_REPEAT_MASK * (0xFFFFu & ~STRINGLIB_MAX_CHAR))
  |  |  ------------------
  |  |  |  |  486|     99|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  ------------------
  |  |               # define FAST_CHAR_MASK         (UCS2_REPEAT_MASK * (0xFFFFu & ~STRINGLIB_MAX_CHAR))
  |  |  ------------------
  |  |  |  |   10|     99|#define STRINGLIB_MAX_CHAR       0x7Fu
  |  |  ------------------
  ------------------
  |  Branch (539:25): [True: 99, False: 0]
  ------------------
  540|     99|                        break;
  541|     99|                }
  542|     66|                else {
  543|       |                    /* Need to byte-swap */
  544|     66|                    if (block & SWAB(FAST_CHAR_MASK))
  ------------------
  |  |  509|     66|#define SWAB(value)             ((((value) >> 8) & STRIPPED_MASK) | \
  |  |  ------------------
  |  |  |  |  507|     66|#define STRIPPED_MASK           (UCS2_REPEAT_MASK * 0x00FFu)
  |  |  |  |  ------------------
  |  |  |  |  |  |  486|     66|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  510|     66|                                 (((value) & STRIPPED_MASK) << 8))
  |  |  ------------------
  |  |  |  |  507|     66|#define STRIPPED_MASK           (UCS2_REPEAT_MASK * 0x00FFu)
  |  |  |  |  ------------------
  |  |  |  |  |  |  486|     66|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (544:25): [True: 66, False: 0]
  ------------------
  545|     66|                        break;
  546|      0|#if STRINGLIB_SIZEOF_CHAR == 1
  547|      0|                    block >>= 8;
  548|       |#else
  549|       |                    block = SWAB(block);
  550|       |#endif
  551|      0|                }
  552|      0|#if PY_LITTLE_ENDIAN
  553|       |# if SIZEOF_LONG == 4
  554|       |                p[0] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  555|       |                p[1] = (STRINGLIB_CHAR)(block >> 16);
  556|       |# elif SIZEOF_LONG == 8
  557|      0|                p[0] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  558|      0|                p[1] = (STRINGLIB_CHAR)((block >> 16) & 0xFFFFu);
  559|      0|                p[2] = (STRINGLIB_CHAR)((block >> 32) & 0xFFFFu);
  560|      0|                p[3] = (STRINGLIB_CHAR)(block >> 48);
  561|      0|# endif
  562|       |#else
  563|       |# if SIZEOF_LONG == 4
  564|       |                p[0] = (STRINGLIB_CHAR)(block >> 16);
  565|       |                p[1] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  566|       |# elif SIZEOF_LONG == 8
  567|       |                p[0] = (STRINGLIB_CHAR)(block >> 48);
  568|       |                p[1] = (STRINGLIB_CHAR)((block >> 32) & 0xFFFFu);
  569|       |                p[2] = (STRINGLIB_CHAR)((block >> 16) & 0xFFFFu);
  570|       |                p[3] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  571|       |# endif
  572|       |#endif
  573|      0|                _q += SIZEOF_LONG;
  ------------------
  |  | 1934|      0|#define SIZEOF_LONG 8
  ------------------
  574|      0|                p += SIZEOF_LONG / 2;
  ------------------
  |  | 1934|      0|#define SIZEOF_LONG 8
  ------------------
  575|      0|            }
  576|    165|            q = _q;
  577|    165|            if (q >= e)
  ------------------
  |  Branch (577:17): [True: 0, False: 165]
  ------------------
  578|      0|                break;
  579|    165|        }
  580|       |
  581|    165|        ch = (q[ihi] << 8) | q[ilo];
  582|    165|        q += 2;
  583|    165|        if (!Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (583:13): [True: 162, False: 3]
  ------------------
  584|    162|#if STRINGLIB_SIZEOF_CHAR < 2
  585|    162|            if (ch > STRINGLIB_MAX_CHAR)
  ------------------
  |  |   10|    162|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (585:17): [True: 162, False: 0]
  ------------------
  586|       |                /* Out-of-range */
  587|    162|                goto Return;
  588|      0|#endif
  589|      0|            *p++ = (STRINGLIB_CHAR)ch;
  590|      0|            continue;
  591|    162|        }
  592|       |
  593|       |        /* UTF-16 code pair: */
  594|      3|        if (!Py_UNICODE_IS_HIGH_SURROGATE(ch))
  ------------------
  |  Branch (594:13): [True: 1, False: 2]
  ------------------
  595|      1|            goto IllegalEncoding;
  596|      2|        if (q >= e)
  ------------------
  |  Branch (596:13): [True: 0, False: 2]
  ------------------
  597|      0|            goto UnexpectedEnd;
  598|      2|        ch2 = (q[ihi] << 8) | q[ilo];
  599|      2|        q += 2;
  600|      2|        if (!Py_UNICODE_IS_LOW_SURROGATE(ch2))
  ------------------
  |  Branch (600:13): [True: 1, False: 1]
  ------------------
  601|      1|            goto IllegalSurrogate;
  602|      1|        ch = Py_UNICODE_JOIN_SURROGATES(ch, ch2);
  603|      1|#if STRINGLIB_SIZEOF_CHAR < 4
  604|       |        /* Out-of-range */
  605|      1|        goto Return;
  606|       |#else
  607|       |        *p++ = (STRINGLIB_CHAR)ch;
  608|       |#endif
  609|      2|    }
  610|      0|    ch = 0;
  611|    165|Return:
  612|    165|    *inptr = q;
  613|    165|    *outpos = p - dest;
  614|    165|    return ch;
  615|      0|UnexpectedEnd:
  616|      0|    ch = 1;
  617|      0|    goto Return;
  618|      1|IllegalEncoding:
  619|      1|    ch = 2;
  620|      1|    goto Return;
  621|      1|IllegalSurrogate:
  622|      1|    ch = 3;
  623|      1|    goto Return;
  624|      0|}
unicodeobject.c:ucs2lib_utf16_decode:
  516|    162|{
  517|    162|    Py_UCS4 ch;
  518|    162|    const unsigned char *q = *inptr;
  519|    162|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|    162|#define STRINGLIB_CHAR           Py_UCS2
  ------------------
  520|       |    /* Offsets from q for retrieving byte pairs in the right order. */
  521|    162|#if PY_LITTLE_ENDIAN
  522|    162|    int ihi = !!native_ordering, ilo = !native_ordering;
  523|       |#else
  524|       |    int ihi = !native_ordering, ilo = !!native_ordering;
  525|       |#endif
  526|    162|    --e;
  527|       |
  528|  44.5k|    while (q < e) {
  ------------------
  |  Branch (528:12): [True: 44.4k, False: 90]
  ------------------
  529|  44.4k|        Py_UCS4 ch2;
  530|       |        /* First check for possible aligned read of a C 'long'. Unaligned
  531|       |           reads are more expensive, better to defer to another iteration. */
  532|  44.4k|        if (_Py_IS_ALIGNED(q, ALIGNOF_LONG)) {
  ------------------
  |  |  221|  44.4k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 11.0k, False: 33.3k]
  |  |  ------------------
  ------------------
  533|       |            /* Fast path for runs of in-range non-surrogate chars. */
  534|  11.0k|            const unsigned char *_q = q;
  535|  12.3k|            while (_q + SIZEOF_LONG <= e) {
  ------------------
  |  | 1934|  12.3k|#define SIZEOF_LONG 8
  ------------------
  |  Branch (535:20): [True: 12.2k, False: 88]
  ------------------
  536|  12.2k|                unsigned long block = * (const unsigned long *) _q;
  537|  12.2k|                if (native_ordering) {
  ------------------
  |  Branch (537:21): [True: 4.78k, False: 7.43k]
  ------------------
  538|       |                    /* Can use buffer directly */
  539|  4.78k|                    if (block & FAST_CHAR_MASK)
  ------------------
  |  |  504|  4.78k|# define FAST_CHAR_MASK         (UCS2_REPEAT_MASK * 0x8000u)
  |  |  ------------------
  |  |  |  |  486|  4.78k|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  ------------------
  ------------------
  |  Branch (539:25): [True: 3.86k, False: 929]
  ------------------
  540|  3.86k|                        break;
  541|  4.78k|                }
  542|  7.43k|                else {
  543|       |                    /* Need to byte-swap */
  544|  7.43k|                    if (block & SWAB(FAST_CHAR_MASK))
  ------------------
  |  |  509|  7.43k|#define SWAB(value)             ((((value) >> 8) & STRIPPED_MASK) | \
  |  |  ------------------
  |  |  |  |  507|  7.43k|#define STRIPPED_MASK           (UCS2_REPEAT_MASK * 0x00FFu)
  |  |  |  |  ------------------
  |  |  |  |  |  |  486|  7.43k|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  510|  7.43k|                                 (((value) & STRIPPED_MASK) << 8))
  |  |  ------------------
  |  |  |  |  507|  7.43k|#define STRIPPED_MASK           (UCS2_REPEAT_MASK * 0x00FFu)
  |  |  |  |  ------------------
  |  |  |  |  |  |  486|  7.43k|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (544:25): [True: 7.11k, False: 326]
  ------------------
  545|  7.11k|                        break;
  546|       |#if STRINGLIB_SIZEOF_CHAR == 1
  547|       |                    block >>= 8;
  548|       |#else
  549|    326|                    block = SWAB(block);
  ------------------
  |  |  509|    326|#define SWAB(value)             ((((value) >> 8) & STRIPPED_MASK) | \
  |  |  ------------------
  |  |  |  |  507|    326|#define STRIPPED_MASK           (UCS2_REPEAT_MASK * 0x00FFu)
  |  |  |  |  ------------------
  |  |  |  |  |  |  486|    326|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  510|    326|                                 (((value) & STRIPPED_MASK) << 8))
  |  |  ------------------
  |  |  |  |  507|    326|#define STRIPPED_MASK           (UCS2_REPEAT_MASK * 0x00FFu)
  |  |  |  |  ------------------
  |  |  |  |  |  |  486|    326|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  550|    326|#endif
  551|    326|                }
  552|  1.25k|#if PY_LITTLE_ENDIAN
  553|       |# if SIZEOF_LONG == 4
  554|       |                p[0] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  555|       |                p[1] = (STRINGLIB_CHAR)(block >> 16);
  556|       |# elif SIZEOF_LONG == 8
  557|  1.25k|                p[0] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  558|  1.25k|                p[1] = (STRINGLIB_CHAR)((block >> 16) & 0xFFFFu);
  559|  1.25k|                p[2] = (STRINGLIB_CHAR)((block >> 32) & 0xFFFFu);
  560|  1.25k|                p[3] = (STRINGLIB_CHAR)(block >> 48);
  561|  1.25k|# endif
  562|       |#else
  563|       |# if SIZEOF_LONG == 4
  564|       |                p[0] = (STRINGLIB_CHAR)(block >> 16);
  565|       |                p[1] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  566|       |# elif SIZEOF_LONG == 8
  567|       |                p[0] = (STRINGLIB_CHAR)(block >> 48);
  568|       |                p[1] = (STRINGLIB_CHAR)((block >> 32) & 0xFFFFu);
  569|       |                p[2] = (STRINGLIB_CHAR)((block >> 16) & 0xFFFFu);
  570|       |                p[3] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  571|       |# endif
  572|       |#endif
  573|  1.25k|                _q += SIZEOF_LONG;
  ------------------
  |  | 1934|  1.25k|#define SIZEOF_LONG 8
  ------------------
  574|  1.25k|                p += SIZEOF_LONG / 2;
  ------------------
  |  | 1934|  1.25k|#define SIZEOF_LONG 8
  ------------------
  575|  1.25k|            }
  576|  11.0k|            q = _q;
  577|  11.0k|            if (q >= e)
  ------------------
  |  Branch (577:17): [True: 2, False: 11.0k]
  ------------------
  578|      2|                break;
  579|  11.0k|        }
  580|       |
  581|  44.4k|        ch = (q[ihi] << 8) | q[ilo];
  582|  44.4k|        q += 2;
  583|  44.4k|        if (!Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (583:13): [True: 44.3k, False: 70]
  ------------------
  584|       |#if STRINGLIB_SIZEOF_CHAR < 2
  585|       |            if (ch > STRINGLIB_MAX_CHAR)
  586|       |                /* Out-of-range */
  587|       |                goto Return;
  588|       |#endif
  589|  44.3k|            *p++ = (STRINGLIB_CHAR)ch;
  590|  44.3k|            continue;
  591|  44.3k|        }
  592|       |
  593|       |        /* UTF-16 code pair: */
  594|     70|        if (!Py_UNICODE_IS_HIGH_SURROGATE(ch))
  ------------------
  |  Branch (594:13): [True: 5, False: 65]
  ------------------
  595|      5|            goto IllegalEncoding;
  596|     65|        if (q >= e)
  ------------------
  |  Branch (596:13): [True: 0, False: 65]
  ------------------
  597|      0|            goto UnexpectedEnd;
  598|     65|        ch2 = (q[ihi] << 8) | q[ilo];
  599|     65|        q += 2;
  600|     65|        if (!Py_UNICODE_IS_LOW_SURROGATE(ch2))
  ------------------
  |  Branch (600:13): [True: 6, False: 59]
  ------------------
  601|      6|            goto IllegalSurrogate;
  602|     59|        ch = Py_UNICODE_JOIN_SURROGATES(ch, ch2);
  603|     59|#if STRINGLIB_SIZEOF_CHAR < 4
  604|       |        /* Out-of-range */
  605|     59|        goto Return;
  606|       |#else
  607|       |        *p++ = (STRINGLIB_CHAR)ch;
  608|       |#endif
  609|     65|    }
  610|     92|    ch = 0;
  611|    162|Return:
  612|    162|    *inptr = q;
  613|    162|    *outpos = p - dest;
  614|    162|    return ch;
  615|      0|UnexpectedEnd:
  616|      0|    ch = 1;
  617|      0|    goto Return;
  618|      5|IllegalEncoding:
  619|      5|    ch = 2;
  620|      5|    goto Return;
  621|      6|IllegalSurrogate:
  622|      6|    ch = 3;
  623|      6|    goto Return;
  624|     92|}
unicodeobject.c:ucs4lib_utf16_decode:
  516|     59|{
  517|     59|    Py_UCS4 ch;
  518|     59|    const unsigned char *q = *inptr;
  519|     59|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|     59|#define STRINGLIB_CHAR           Py_UCS4
  ------------------
  520|       |    /* Offsets from q for retrieving byte pairs in the right order. */
  521|     59|#if PY_LITTLE_ENDIAN
  522|     59|    int ihi = !!native_ordering, ilo = !native_ordering;
  523|       |#else
  524|       |    int ihi = !native_ordering, ilo = !!native_ordering;
  525|       |#endif
  526|     59|    --e;
  527|       |
  528|  15.0k|    while (q < e) {
  ------------------
  |  Branch (528:12): [True: 14.9k, False: 52]
  ------------------
  529|  14.9k|        Py_UCS4 ch2;
  530|       |        /* First check for possible aligned read of a C 'long'. Unaligned
  531|       |           reads are more expensive, better to defer to another iteration. */
  532|  14.9k|        if (_Py_IS_ALIGNED(q, ALIGNOF_LONG)) {
  ------------------
  |  |  221|  14.9k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 3.75k, False: 11.2k]
  |  |  ------------------
  ------------------
  533|       |            /* Fast path for runs of in-range non-surrogate chars. */
  534|  3.75k|            const unsigned char *_q = q;
  535|  7.32k|            while (_q + SIZEOF_LONG <= e) {
  ------------------
  |  | 1934|  7.32k|#define SIZEOF_LONG 8
  ------------------
  |  Branch (535:20): [True: 7.27k, False: 50]
  ------------------
  536|  7.27k|                unsigned long block = * (const unsigned long *) _q;
  537|  7.27k|                if (native_ordering) {
  ------------------
  |  Branch (537:21): [True: 2.79k, False: 4.47k]
  ------------------
  538|       |                    /* Can use buffer directly */
  539|  2.79k|                    if (block & FAST_CHAR_MASK)
  ------------------
  |  |  504|  2.79k|# define FAST_CHAR_MASK         (UCS2_REPEAT_MASK * 0x8000u)
  |  |  ------------------
  |  |  |  |  486|  2.79k|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  ------------------
  ------------------
  |  Branch (539:25): [True: 1.04k, False: 1.75k]
  ------------------
  540|  1.04k|                        break;
  541|  2.79k|                }
  542|  4.47k|                else {
  543|       |                    /* Need to byte-swap */
  544|  4.47k|                    if (block & SWAB(FAST_CHAR_MASK))
  ------------------
  |  |  509|  4.47k|#define SWAB(value)             ((((value) >> 8) & STRIPPED_MASK) | \
  |  |  ------------------
  |  |  |  |  507|  4.47k|#define STRIPPED_MASK           (UCS2_REPEAT_MASK * 0x00FFu)
  |  |  |  |  ------------------
  |  |  |  |  |  |  486|  4.47k|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  510|  4.47k|                                 (((value) & STRIPPED_MASK) << 8))
  |  |  ------------------
  |  |  |  |  507|  4.47k|#define STRIPPED_MASK           (UCS2_REPEAT_MASK * 0x00FFu)
  |  |  |  |  ------------------
  |  |  |  |  |  |  486|  4.47k|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (544:25): [True: 2.66k, False: 1.81k]
  ------------------
  545|  2.66k|                        break;
  546|       |#if STRINGLIB_SIZEOF_CHAR == 1
  547|       |                    block >>= 8;
  548|       |#else
  549|  1.81k|                    block = SWAB(block);
  ------------------
  |  |  509|  1.81k|#define SWAB(value)             ((((value) >> 8) & STRIPPED_MASK) | \
  |  |  ------------------
  |  |  |  |  507|  1.81k|#define STRIPPED_MASK           (UCS2_REPEAT_MASK * 0x00FFu)
  |  |  |  |  ------------------
  |  |  |  |  |  |  486|  1.81k|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  510|  1.81k|                                 (((value) & STRIPPED_MASK) << 8))
  |  |  ------------------
  |  |  |  |  507|  1.81k|#define STRIPPED_MASK           (UCS2_REPEAT_MASK * 0x00FFu)
  |  |  |  |  ------------------
  |  |  |  |  |  |  486|  1.81k|# define UCS2_REPEAT_MASK 0x0001000100010001ul
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  550|  1.81k|#endif
  551|  1.81k|                }
  552|  3.56k|#if PY_LITTLE_ENDIAN
  553|       |# if SIZEOF_LONG == 4
  554|       |                p[0] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  555|       |                p[1] = (STRINGLIB_CHAR)(block >> 16);
  556|       |# elif SIZEOF_LONG == 8
  557|  3.56k|                p[0] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  558|  3.56k|                p[1] = (STRINGLIB_CHAR)((block >> 16) & 0xFFFFu);
  559|  3.56k|                p[2] = (STRINGLIB_CHAR)((block >> 32) & 0xFFFFu);
  560|  3.56k|                p[3] = (STRINGLIB_CHAR)(block >> 48);
  561|  3.56k|# endif
  562|       |#else
  563|       |# if SIZEOF_LONG == 4
  564|       |                p[0] = (STRINGLIB_CHAR)(block >> 16);
  565|       |                p[1] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  566|       |# elif SIZEOF_LONG == 8
  567|       |                p[0] = (STRINGLIB_CHAR)(block >> 48);
  568|       |                p[1] = (STRINGLIB_CHAR)((block >> 32) & 0xFFFFu);
  569|       |                p[2] = (STRINGLIB_CHAR)((block >> 16) & 0xFFFFu);
  570|       |                p[3] = (STRINGLIB_CHAR)(block & 0xFFFFu);
  571|       |# endif
  572|       |#endif
  573|  3.56k|                _q += SIZEOF_LONG;
  ------------------
  |  | 1934|  3.56k|#define SIZEOF_LONG 8
  ------------------
  574|  3.56k|                p += SIZEOF_LONG / 2;
  ------------------
  |  | 1934|  3.56k|#define SIZEOF_LONG 8
  ------------------
  575|  3.56k|            }
  576|  3.75k|            q = _q;
  577|  3.75k|            if (q >= e)
  ------------------
  |  Branch (577:17): [True: 4, False: 3.75k]
  ------------------
  578|      4|                break;
  579|  3.75k|        }
  580|       |
  581|  14.9k|        ch = (q[ihi] << 8) | q[ilo];
  582|  14.9k|        q += 2;
  583|  14.9k|        if (!Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (583:13): [True: 14.8k, False: 162]
  ------------------
  584|       |#if STRINGLIB_SIZEOF_CHAR < 2
  585|       |            if (ch > STRINGLIB_MAX_CHAR)
  586|       |                /* Out-of-range */
  587|       |                goto Return;
  588|       |#endif
  589|  14.8k|            *p++ = (STRINGLIB_CHAR)ch;
  590|  14.8k|            continue;
  591|  14.8k|        }
  592|       |
  593|       |        /* UTF-16 code pair: */
  594|    162|        if (!Py_UNICODE_IS_HIGH_SURROGATE(ch))
  ------------------
  |  Branch (594:13): [True: 1, False: 161]
  ------------------
  595|      1|            goto IllegalEncoding;
  596|    161|        if (q >= e)
  ------------------
  |  Branch (596:13): [True: 1, False: 160]
  ------------------
  597|      1|            goto UnexpectedEnd;
  598|    160|        ch2 = (q[ihi] << 8) | q[ilo];
  599|    160|        q += 2;
  600|    160|        if (!Py_UNICODE_IS_LOW_SURROGATE(ch2))
  ------------------
  |  Branch (600:13): [True: 1, False: 159]
  ------------------
  601|      1|            goto IllegalSurrogate;
  602|    159|        ch = Py_UNICODE_JOIN_SURROGATES(ch, ch2);
  603|       |#if STRINGLIB_SIZEOF_CHAR < 4
  604|       |        /* Out-of-range */
  605|       |        goto Return;
  606|       |#else
  607|    159|        *p++ = (STRINGLIB_CHAR)ch;
  608|    159|#endif
  609|    159|    }
  610|     56|    ch = 0;
  611|     59|Return:
  612|     59|    *inptr = q;
  613|     59|    *outpos = p - dest;
  614|     59|    return ch;
  615|      1|UnexpectedEnd:
  616|      1|    ch = 1;
  617|      1|    goto Return;
  618|      1|IllegalEncoding:
  619|      1|    ch = 2;
  620|      1|    goto Return;
  621|      1|IllegalSurrogate:
  622|      1|    ch = 3;
  623|      1|    goto Return;
  624|     56|}

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

bytesobject.c:stringlib_lower:
   60|   130k|{
   61|   130k|    PyObject* newobj;
   62|   130k|    newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self));
  ------------------
  |  |   22|   130k|#define STRINGLIB_NEW            PyBytes_FromStringAndSize
  ------------------
                  newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self));
  ------------------
  |  |   21|   130k|#define STRINGLIB_LEN            PyBytes_GET_SIZE
  |  |  ------------------
  |  |  |  |   33|   130k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   130k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   130k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   63|   130k|    if (!newobj)
  ------------------
  |  Branch (63:9): [True: 0, False: 130k]
  ------------------
   64|      0|            return NULL;
   65|   130k|    _Py_bytes_lower(STRINGLIB_STR(newobj), STRINGLIB_STR(self),
  ------------------
  |  |   20|   130k|#define STRINGLIB_STR            PyBytes_AS_STRING
  |  |  ------------------
  |  |  |  |   27|   130k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   130k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   130k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  _Py_bytes_lower(STRINGLIB_STR(newobj), STRINGLIB_STR(self),
  ------------------
  |  |   20|   130k|#define STRINGLIB_STR            PyBytes_AS_STRING
  |  |  ------------------
  |  |  |  |   27|   130k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   130k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   130k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   66|   130k|                 STRINGLIB_LEN(self));
  ------------------
  |  |   21|   130k|#define STRINGLIB_LEN            PyBytes_GET_SIZE
  |  |  ------------------
  |  |  |  |   33|   130k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   130k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   130k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   67|   130k|    return newobj;
   68|   130k|}
bytesobject.c:stringlib_upper:
   72|  18.1k|{
   73|  18.1k|    PyObject* newobj;
   74|  18.1k|    newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self));
  ------------------
  |  |   22|  18.1k|#define STRINGLIB_NEW            PyBytes_FromStringAndSize
  ------------------
                  newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self));
  ------------------
  |  |   21|  18.1k|#define STRINGLIB_LEN            PyBytes_GET_SIZE
  |  |  ------------------
  |  |  |  |   33|  18.1k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  18.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  18.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   75|  18.1k|    if (!newobj)
  ------------------
  |  Branch (75:9): [True: 0, False: 18.1k]
  ------------------
   76|      0|            return NULL;
   77|  18.1k|    _Py_bytes_upper(STRINGLIB_STR(newobj), STRINGLIB_STR(self),
  ------------------
  |  |   20|  18.1k|#define STRINGLIB_STR            PyBytes_AS_STRING
  |  |  ------------------
  |  |  |  |   27|  18.1k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  18.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  18.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  _Py_bytes_upper(STRINGLIB_STR(newobj), STRINGLIB_STR(self),
  ------------------
  |  |   20|  18.1k|#define STRINGLIB_STR            PyBytes_AS_STRING
  |  |  ------------------
  |  |  |  |   27|  18.1k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  18.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  18.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   78|  18.1k|                 STRINGLIB_LEN(self));
  ------------------
  |  |   21|  18.1k|#define STRINGLIB_LEN            PyBytes_GET_SIZE
  |  |  ------------------
  |  |  |  |   33|  18.1k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  18.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  18.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   79|  18.1k|    return newobj;
   80|  18.1k|}

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

unicodeobject.c:ucs1lib_find_char:
   51|   410k|{
   52|   410k|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|   410k|    p = s;
   55|   410k|    e = s + n;
   56|   410k|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   44|   410k|#  define MEMCHR_CUT_OFF 15
  ------------------
  |  Branch (56:9): [True: 53.1k, False: 357k]
  ------------------
   57|  53.1k|#ifdef STRINGLIB_FAST_MEMCHR
   58|  53.1k|        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
  ------------------
  |  |   23|  53.1k|#define STRINGLIB_FAST_MEMCHR    memchr
  ------------------
   59|  53.1k|        if (p != NULL)
  ------------------
  |  Branch (59:13): [True: 51.9k, False: 1.22k]
  ------------------
   60|  51.9k|            return (p - s);
   61|  1.22k|        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|  53.1k|    }
   98|  2.56M|    while (p < e) {
  ------------------
  |  Branch (98:12): [True: 2.20M, False: 354k]
  ------------------
   99|  2.20M|        if (*p == ch)
  ------------------
  |  Branch (99:13): [True: 2.32k, False: 2.20M]
  ------------------
  100|  2.32k|            return (p - s);
  101|  2.20M|        p++;
  102|  2.20M|    }
  103|   354k|    return -1;
  104|   357k|}
unicodeobject.c:ucs1lib_rfind_char:
  117|    126|{
  118|    126|    const STRINGLIB_CHAR *p;
  119|    126|#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|    126|    if (n > MEMRCHR_CUT_OFF) {
  ------------------
  |  |  109|    126|#  define MEMRCHR_CUT_OFF 15
  ------------------
  |  Branch (125:9): [True: 99, False: 27]
  ------------------
  126|     99|#if STRINGLIB_SIZEOF_CHAR == 1
  127|     99|        p = memrchr(s, ch, n);
  128|     99|        if (p != NULL)
  ------------------
  |  Branch (128:13): [True: 99, False: 0]
  ------------------
  129|     99|            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|     99|    }
  169|     27|#endif  /* HAVE_MEMRCHR */
  170|     27|    p = s + n;
  171|    236|    while (p > s) {
  ------------------
  |  Branch (171:12): [True: 215, False: 21]
  ------------------
  172|    215|        p--;
  173|    215|        if (*p == ch)
  ------------------
  |  Branch (173:13): [True: 6, False: 209]
  ------------------
  174|      6|            return (p - s);
  175|    215|    }
  176|     21|    return -1;
  177|     27|}
unicodeobject.c:ucs2lib_find_char:
   51|  29.2k|{
   52|  29.2k|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|  29.2k|    p = s;
   55|  29.2k|    e = s + n;
   56|  29.2k|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   46|  29.2k|#  define MEMCHR_CUT_OFF 40
  ------------------
  |  Branch (56:9): [True: 7.38k, False: 21.8k]
  ------------------
   57|       |#ifdef STRINGLIB_FAST_MEMCHR
   58|       |        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
   59|       |        if (p != NULL)
   60|       |            return (p - s);
   61|       |        return -1;
   62|       |#else
   63|       |        /* use memchr if we can choose a needle without too many likely
   64|       |           false positives */
   65|  7.38k|        const STRINGLIB_CHAR *s1, *e1;
   66|  7.38k|        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|  7.38k|        if (needle != 0) {
  ------------------
  |  Branch (70:13): [True: 7.38k, False: 0]
  ------------------
   71|  9.52k|            do {
   72|  9.52k|                const void *candidate = memchr(p, needle,
   73|  9.52k|                                               (e - p) * sizeof(STRINGLIB_CHAR));
   74|  9.52k|                if (candidate == NULL)
  ------------------
  |  Branch (74:21): [True: 147, False: 9.37k]
  ------------------
   75|    147|                    return -1;
   76|  9.37k|                s1 = p;
   77|  9.37k|                p = (const STRINGLIB_CHAR *)
   78|  9.37k|                        _Py_ALIGN_DOWN(candidate, sizeof(STRINGLIB_CHAR));
  ------------------
  |  |  216|  9.37k|#define _Py_ALIGN_DOWN(p, a) ((void *)((uintptr_t)(p) & ~(uintptr_t)((a) - 1)))
  ------------------
   79|  9.37k|                if (*p == ch)
  ------------------
  |  Branch (79:21): [True: 4.15k, False: 5.22k]
  ------------------
   80|  4.15k|                    return (p - s);
   81|       |                /* False positive */
   82|  5.22k|                p++;
   83|  5.22k|                if (p - s1 > MEMCHR_CUT_OFF)
  ------------------
  |  |   46|  5.22k|#  define MEMCHR_CUT_OFF 40
  ------------------
  |  Branch (83:21): [True: 519, False: 4.70k]
  ------------------
   84|    519|                    continue;
   85|  4.70k|                if (e - p <= MEMCHR_CUT_OFF)
  ------------------
  |  |   46|  4.70k|#  define MEMCHR_CUT_OFF 40
  ------------------
  |  Branch (85:21): [True: 938, False: 3.77k]
  ------------------
   86|    938|                    break;
   87|  3.77k|                e1 = p + MEMCHR_CUT_OFF;
  ------------------
  |  |   46|  3.77k|#  define MEMCHR_CUT_OFF 40
  ------------------
   88|   107k|                while (p != e1) {
  ------------------
  |  Branch (88:24): [True: 105k, False: 1.93k]
  ------------------
   89|   105k|                    if (*p == ch)
  ------------------
  |  Branch (89:25): [True: 1.83k, False: 103k]
  ------------------
   90|  1.83k|                        return (p - s);
   91|   103k|                    p++;
   92|   103k|                }
   93|  3.77k|            }
   94|  7.38k|            while (e - p > MEMCHR_CUT_OFF);
  ------------------
  |  |   46|  2.45k|#  define MEMCHR_CUT_OFF 40
  ------------------
  |  Branch (94:20): [True: 2.13k, False: 313]
  ------------------
   95|  7.38k|        }
   96|  7.38k|#endif
   97|  7.38k|    }
   98|   281k|    while (p < e) {
  ------------------
  |  Branch (98:12): [True: 264k, False: 17.0k]
  ------------------
   99|   264k|        if (*p == ch)
  ------------------
  |  Branch (99:13): [True: 6.01k, False: 258k]
  ------------------
  100|  6.01k|            return (p - s);
  101|   258k|        p++;
  102|   258k|    }
  103|  17.0k|    return -1;
  104|  23.0k|}
unicodeobject.c:ucs4lib_find_char:
   51|  6.27k|{
   52|  6.27k|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|  6.27k|    p = s;
   55|  6.27k|    e = s + n;
   56|  6.27k|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   44|  6.27k|#  define MEMCHR_CUT_OFF 15
  ------------------
  |  Branch (56:9): [True: 4.70k, False: 1.57k]
  ------------------
   57|  4.70k|#ifdef STRINGLIB_FAST_MEMCHR
   58|  4.70k|        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
  ------------------
  |  |   26|  4.70k|    (Py_UCS4 *)wmemchr((const wchar_t *)(s), c, n)
  ------------------
   59|  4.70k|        if (p != NULL)
  ------------------
  |  Branch (59:13): [True: 4.66k, False: 31]
  ------------------
   60|  4.66k|            return (p - s);
   61|     31|        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|  4.70k|    }
   98|  5.12k|    while (p < e) {
  ------------------
  |  Branch (98:12): [True: 4.97k, False: 153]
  ------------------
   99|  4.97k|        if (*p == ch)
  ------------------
  |  Branch (99:13): [True: 1.42k, False: 3.54k]
  ------------------
  100|  1.42k|            return (p - s);
  101|  3.54k|        p++;
  102|  3.54k|    }
  103|    153|    return -1;
  104|  1.57k|}
unicodeobject.c:asciilib_fastsearch:
  776|  24.1k|{
  777|  24.1k|    if (n < m || (mode == FAST_COUNT && maxcount == 0)) {
  ------------------
  |  |   24|  48.3k|#define FAST_COUNT 0
  ------------------
  |  Branch (777:9): [True: 0, False: 24.1k]
  |  Branch (777:19): [True: 0, False: 24.1k]
  |  Branch (777:41): [True: 0, False: 0]
  ------------------
  778|      0|        return -1;
  779|      0|    }
  780|       |
  781|       |    /* look for special cases */
  782|  24.1k|    if (m <= 1) {
  ------------------
  |  Branch (782:9): [True: 4.68k, False: 19.4k]
  ------------------
  783|  4.68k|        if (m <= 0) {
  ------------------
  |  Branch (783:13): [True: 0, False: 4.68k]
  ------------------
  784|      0|            return -1;
  785|      0|        }
  786|       |        /* use special case for 1-character strings */
  787|  4.68k|        if (mode == FAST_SEARCH)
  ------------------
  |  |   25|  4.68k|#define FAST_SEARCH 1
  ------------------
  |  Branch (787:13): [True: 3.54k, False: 1.14k]
  ------------------
  788|  3.54k|            return STRINGLIB(find_char)(s, n, p[0]);
  ------------------
  |  |    7|  3.54k|#define STRINGLIB(F)             asciilib_##F
  ------------------
  789|  1.14k|        else if (mode == FAST_RSEARCH)
  ------------------
  |  |   26|  1.14k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (789:18): [True: 1.14k, False: 0]
  ------------------
  790|  1.14k|            return STRINGLIB(rfind_char)(s, n, p[0]);
  ------------------
  |  |    7|  1.14k|#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|  4.68k|    }
  798|       |
  799|  19.4k|    if (mode != FAST_RSEARCH) {
  ------------------
  |  |   26|  19.4k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (799:9): [True: 19.4k, False: 0]
  ------------------
  800|  19.4k|        if (n < 2500 || (m < 100 && n < 30000) || m < 6) {
  ------------------
  |  Branch (800:13): [True: 18.8k, False: 661]
  |  Branch (800:26): [True: 661, False: 0]
  |  Branch (800:37): [True: 661, False: 0]
  |  Branch (800:51): [True: 0, False: 0]
  ------------------
  801|  19.4k|            return STRINGLIB(default_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|  19.4k|#define STRINGLIB(F)             asciilib_##F
  ------------------
  802|  19.4k|        }
  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|  19.4k|    }
  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|  19.4k|}
unicodeobject.c:asciilib_find_char:
   51|  3.54k|{
   52|  3.54k|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|  3.54k|    p = s;
   55|  3.54k|    e = s + n;
   56|  3.54k|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   44|  3.54k|#  define MEMCHR_CUT_OFF 15
  ------------------
  |  Branch (56:9): [True: 743, False: 2.80k]
  ------------------
   57|    743|#ifdef STRINGLIB_FAST_MEMCHR
   58|    743|        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
  ------------------
  |  |   24|    743|#define STRINGLIB_FAST_MEMCHR    memchr
  ------------------
   59|    743|        if (p != NULL)
  ------------------
  |  Branch (59:13): [True: 743, False: 0]
  ------------------
   60|    743|            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|    743|    }
   98|  3.92k|    while (p < e) {
  ------------------
  |  Branch (98:12): [True: 3.92k, False: 0]
  ------------------
   99|  3.92k|        if (*p == ch)
  ------------------
  |  Branch (99:13): [True: 2.80k, False: 1.11k]
  ------------------
  100|  2.80k|            return (p - s);
  101|  1.11k|        p++;
  102|  1.11k|    }
  103|      0|    return -1;
  104|  2.80k|}
unicodeobject.c:asciilib_rfind_char:
  117|  1.14k|{
  118|  1.14k|    const STRINGLIB_CHAR *p;
  119|  1.14k|#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.14k|    if (n > MEMRCHR_CUT_OFF) {
  ------------------
  |  |  109|  1.14k|#  define MEMRCHR_CUT_OFF 15
  ------------------
  |  Branch (125:9): [True: 372, False: 768]
  ------------------
  126|    372|#if STRINGLIB_SIZEOF_CHAR == 1
  127|    372|        p = memrchr(s, ch, n);
  128|    372|        if (p != NULL)
  ------------------
  |  Branch (128:13): [True: 362, False: 10]
  ------------------
  129|    362|            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|    372|    }
  169|    768|#endif  /* HAVE_MEMRCHR */
  170|    768|    p = s + n;
  171|  4.55k|    while (p > s) {
  ------------------
  |  Branch (171:12): [True: 4.33k, False: 226]
  ------------------
  172|  4.33k|        p--;
  173|  4.33k|        if (*p == ch)
  ------------------
  |  Branch (173:13): [True: 542, False: 3.78k]
  ------------------
  174|    542|            return (p - s);
  175|  4.33k|    }
  176|    226|    return -1;
  177|    768|}
unicodeobject.c:asciilib_default_find:
  560|  19.4k|{
  561|  19.4k|    const Py_ssize_t w = n - m;
  562|  19.4k|    Py_ssize_t mlast = m - 1, count = 0;
  563|  19.4k|    Py_ssize_t gap = mlast;
  564|  19.4k|    const STRINGLIB_CHAR last = p[mlast];
  565|  19.4k|    const STRINGLIB_CHAR *const ss = &s[mlast];
  566|       |
  567|  19.4k|    unsigned long mask = 0;
  568|  42.0k|    for (Py_ssize_t i = 0; i < mlast; i++) {
  ------------------
  |  Branch (568:28): [True: 22.6k, False: 19.4k]
  ------------------
  569|  22.6k|        STRINGLIB_BLOOM_ADD(mask, p[i]);
  ------------------
  |  |   39|  22.6k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  22.6k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  570|  22.6k|        if (p[i] == last) {
  ------------------
  |  Branch (570:13): [True: 16.3k, False: 6.32k]
  ------------------
  571|  16.3k|            gap = mlast - i - 1;
  572|  16.3k|        }
  573|  22.6k|    }
  574|  19.4k|    STRINGLIB_BLOOM_ADD(mask, last);
  ------------------
  |  |   39|  19.4k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  19.4k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  575|       |
  576|  39.2k|    for (Py_ssize_t i = 0; i <= w; i++) {
  ------------------
  |  Branch (576:28): [True: 39.2k, False: 0]
  ------------------
  577|  39.2k|        if (ss[i] == last) {
  ------------------
  |  Branch (577:13): [True: 22.3k, False: 16.9k]
  ------------------
  578|       |            /* candidate match */
  579|  22.3k|            Py_ssize_t j;
  580|  44.9k|            for (j = 0; j < mlast; j++) {
  ------------------
  |  Branch (580:25): [True: 25.4k, False: 19.4k]
  ------------------
  581|  25.4k|                if (s[i+j] != p[j]) {
  ------------------
  |  Branch (581:21): [True: 2.83k, False: 22.6k]
  ------------------
  582|  2.83k|                    break;
  583|  2.83k|                }
  584|  25.4k|            }
  585|  22.3k|            if (j == mlast) {
  ------------------
  |  Branch (585:17): [True: 19.4k, False: 2.83k]
  ------------------
  586|       |                /* got a match! */
  587|  19.4k|                if (mode != FAST_COUNT) {
  ------------------
  |  |   24|  19.4k|#define FAST_COUNT 0
  ------------------
  |  Branch (587:21): [True: 19.4k, False: 0]
  ------------------
  588|  19.4k|                    return i;
  589|  19.4k|                }
  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|  2.83k|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|  2.83k|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  2.83k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (598:17): [True: 2.83k, False: 0]
  |  Branch (598:31): [True: 0, False: 2.83k]
  ------------------
  599|      0|                i = i + m;
  600|      0|            }
  601|  2.83k|            else {
  602|  2.83k|                i = i + gap;
  603|  2.83k|            }
  604|  2.83k|        }
  605|  16.9k|        else {
  606|       |            /* skip: check if next character is part of pattern */
  607|  16.9k|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|  16.9k|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  16.9k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (607:17): [True: 16.9k, False: 0]
  |  Branch (607:31): [True: 14.9k, False: 1.98k]
  ------------------
  608|  14.9k|                i = i + m;
  609|  14.9k|            }
  610|  16.9k|        }
  611|  39.2k|    }
  612|      0|    return mode == FAST_COUNT ? count : -1;
  ------------------
  |  |   24|      0|#define FAST_COUNT 0
  ------------------
  |  Branch (612:12): [True: 0, False: 0]
  ------------------
  613|  19.4k|}
unicodeobject.c:ucs1lib_fastsearch:
  776|  47.5k|{
  777|  47.5k|    if (n < m || (mode == FAST_COUNT && maxcount == 0)) {
  ------------------
  |  |   24|  95.1k|#define FAST_COUNT 0
  ------------------
  |  Branch (777:9): [True: 0, False: 47.5k]
  |  Branch (777:19): [True: 37.7k, False: 9.84k]
  |  Branch (777:41): [True: 0, False: 37.7k]
  ------------------
  778|      0|        return -1;
  779|      0|    }
  780|       |
  781|       |    /* look for special cases */
  782|  47.5k|    if (m <= 1) {
  ------------------
  |  Branch (782:9): [True: 23.2k, False: 24.2k]
  ------------------
  783|  23.2k|        if (m <= 0) {
  ------------------
  |  Branch (783:13): [True: 0, False: 23.2k]
  ------------------
  784|      0|            return -1;
  785|      0|        }
  786|       |        /* use special case for 1-character strings */
  787|  23.2k|        if (mode == FAST_SEARCH)
  ------------------
  |  |   25|  23.2k|#define FAST_SEARCH 1
  ------------------
  |  Branch (787:13): [True: 4.08k, False: 19.1k]
  ------------------
  788|  4.08k|            return STRINGLIB(find_char)(s, n, p[0]);
  ------------------
  |  |    7|  4.08k|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  789|  19.1k|        else if (mode == FAST_RSEARCH)
  ------------------
  |  |   26|  19.1k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (789:18): [True: 0, False: 19.1k]
  ------------------
  790|      0|            return STRINGLIB(rfind_char)(s, n, p[0]);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  791|  19.1k|        else {
  792|  19.1k|            if (maxcount == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  19.1k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (792:17): [True: 19.1k, False: 0]
  ------------------
  793|  19.1k|                return STRINGLIB(count_char_no_maxcount)(s, n, p[0]);
  ------------------
  |  |    7|  19.1k|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  794|  19.1k|            }
  795|      0|            return STRINGLIB(count_char)(s, n, p[0], maxcount);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  796|  19.1k|        }
  797|  23.2k|    }
  798|       |
  799|  24.2k|    if (mode != FAST_RSEARCH) {
  ------------------
  |  |   26|  24.2k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (799:9): [True: 24.2k, False: 0]
  ------------------
  800|  24.2k|        if (n < 2500 || (m < 100 && n < 30000) || m < 6) {
  ------------------
  |  Branch (800:13): [True: 23.0k, False: 1.21k]
  |  Branch (800:26): [True: 1.21k, False: 0]
  |  Branch (800:37): [True: 1.21k, False: 0]
  |  Branch (800:51): [True: 0, False: 0]
  ------------------
  801|  24.2k|            return STRINGLIB(default_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|  24.2k|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  802|  24.2k|        }
  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|  24.2k|    }
  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|  24.2k|}
unicodeobject.c:ucs1lib_count_char_no_maxcount:
  761|  19.1k|{
  762|  19.1k|    Py_ssize_t count = 0;
  763|  3.18M|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (763:28): [True: 3.16M, False: 19.1k]
  ------------------
  764|  3.16M|        if (s[i] == p0) {
  ------------------
  |  Branch (764:13): [True: 7.63k, False: 3.16M]
  ------------------
  765|  7.63k|            count++;
  766|  7.63k|        }
  767|  3.16M|    }
  768|  19.1k|    return count;
  769|  19.1k|}
unicodeobject.c:ucs1lib_default_find:
  560|  24.2k|{
  561|  24.2k|    const Py_ssize_t w = n - m;
  562|  24.2k|    Py_ssize_t mlast = m - 1, count = 0;
  563|  24.2k|    Py_ssize_t gap = mlast;
  564|  24.2k|    const STRINGLIB_CHAR last = p[mlast];
  565|  24.2k|    const STRINGLIB_CHAR *const ss = &s[mlast];
  566|       |
  567|  24.2k|    unsigned long mask = 0;
  568|  64.6k|    for (Py_ssize_t i = 0; i < mlast; i++) {
  ------------------
  |  Branch (568:28): [True: 40.4k, False: 24.2k]
  ------------------
  569|  40.4k|        STRINGLIB_BLOOM_ADD(mask, p[i]);
  ------------------
  |  |   39|  40.4k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  40.4k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  570|  40.4k|        if (p[i] == last) {
  ------------------
  |  Branch (570:13): [True: 8.14k, False: 32.2k]
  ------------------
  571|  8.14k|            gap = mlast - i - 1;
  572|  8.14k|        }
  573|  40.4k|    }
  574|  24.2k|    STRINGLIB_BLOOM_ADD(mask, last);
  ------------------
  |  |   39|  24.2k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  24.2k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  575|       |
  576|   151k|    for (Py_ssize_t i = 0; i <= w; i++) {
  ------------------
  |  Branch (576:28): [True: 132k, False: 18.5k]
  ------------------
  577|   132k|        if (ss[i] == last) {
  ------------------
  |  Branch (577:13): [True: 34.4k, False: 98.1k]
  ------------------
  578|       |            /* candidate match */
  579|  34.4k|            Py_ssize_t j;
  580|  68.5k|            for (j = 0; j < mlast; j++) {
  ------------------
  |  Branch (580:25): [True: 37.6k, False: 30.9k]
  ------------------
  581|  37.6k|                if (s[i+j] != p[j]) {
  ------------------
  |  Branch (581:21): [True: 3.54k, False: 34.1k]
  ------------------
  582|  3.54k|                    break;
  583|  3.54k|                }
  584|  37.6k|            }
  585|  34.4k|            if (j == mlast) {
  ------------------
  |  Branch (585:17): [True: 30.9k, False: 3.54k]
  ------------------
  586|       |                /* got a match! */
  587|  30.9k|                if (mode != FAST_COUNT) {
  ------------------
  |  |   24|  30.9k|#define FAST_COUNT 0
  ------------------
  |  Branch (587:21): [True: 5.73k, False: 25.2k]
  ------------------
  588|  5.73k|                    return i;
  589|  5.73k|                }
  590|  25.2k|                count++;
  591|  25.2k|                if (count == maxcount) {
  ------------------
  |  Branch (591:21): [True: 0, False: 25.2k]
  ------------------
  592|      0|                    return maxcount;
  593|      0|                }
  594|  25.2k|                i = i + mlast;
  595|  25.2k|                continue;
  596|  25.2k|            }
  597|       |            /* miss: check if next character is part of pattern */
  598|  3.54k|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|  3.54k|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  3.54k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (598:17): [True: 3.54k, False: 0]
  |  Branch (598:31): [True: 0, False: 3.54k]
  ------------------
  599|      0|                i = i + m;
  600|      0|            }
  601|  3.54k|            else {
  602|  3.54k|                i = i + gap;
  603|  3.54k|            }
  604|  3.54k|        }
  605|  98.1k|        else {
  606|       |            /* skip: check if next character is part of pattern */
  607|  98.1k|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|  94.6k|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  94.6k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (607:17): [True: 94.6k, False: 3.50k]
  |  Branch (607:31): [True: 87.6k, False: 6.96k]
  ------------------
  608|  87.6k|                i = i + m;
  609|  87.6k|            }
  610|  98.1k|        }
  611|   132k|    }
  612|  18.5k|    return mode == FAST_COUNT ? count : -1;
  ------------------
  |  |   24|  18.5k|#define FAST_COUNT 0
  ------------------
  |  Branch (612:12): [True: 18.5k, False: 23]
  ------------------
  613|  24.2k|}
unicodeobject.c:ucs2lib_fastsearch:
  776|  11.0k|{
  777|  11.0k|    if (n < m || (mode == FAST_COUNT && maxcount == 0)) {
  ------------------
  |  |   24|  22.1k|#define FAST_COUNT 0
  ------------------
  |  Branch (777:9): [True: 0, False: 11.0k]
  |  Branch (777:19): [True: 1.47k, False: 9.59k]
  |  Branch (777:41): [True: 0, False: 1.47k]
  ------------------
  778|      0|        return -1;
  779|      0|    }
  780|       |
  781|       |    /* look for special cases */
  782|  11.0k|    if (m <= 1) {
  ------------------
  |  Branch (782:9): [True: 5.98k, False: 5.08k]
  ------------------
  783|  5.98k|        if (m <= 0) {
  ------------------
  |  Branch (783:13): [True: 0, False: 5.98k]
  ------------------
  784|      0|            return -1;
  785|      0|        }
  786|       |        /* use special case for 1-character strings */
  787|  5.98k|        if (mode == FAST_SEARCH)
  ------------------
  |  |   25|  5.98k|#define FAST_SEARCH 1
  ------------------
  |  Branch (787:13): [True: 4.80k, False: 1.17k]
  ------------------
  788|  4.80k|            return STRINGLIB(find_char)(s, n, p[0]);
  ------------------
  |  |    7|  4.80k|#define STRINGLIB(F)             ucs2lib_##F
  ------------------
  789|  1.17k|        else if (mode == FAST_RSEARCH)
  ------------------
  |  |   26|  1.17k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (789:18): [True: 0, False: 1.17k]
  ------------------
  790|      0|            return STRINGLIB(rfind_char)(s, n, p[0]);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs2lib_##F
  ------------------
  791|  1.17k|        else {
  792|  1.17k|            if (maxcount == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  1.17k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (792:17): [True: 1.17k, False: 0]
  ------------------
  793|  1.17k|                return STRINGLIB(count_char_no_maxcount)(s, n, p[0]);
  ------------------
  |  |    7|  1.17k|#define STRINGLIB(F)             ucs2lib_##F
  ------------------
  794|  1.17k|            }
  795|      0|            return STRINGLIB(count_char)(s, n, p[0], maxcount);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs2lib_##F
  ------------------
  796|  1.17k|        }
  797|  5.98k|    }
  798|       |
  799|  5.08k|    if (mode != FAST_RSEARCH) {
  ------------------
  |  |   26|  5.08k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (799:9): [True: 5.08k, False: 0]
  ------------------
  800|  5.08k|        if (n < 2500 || (m < 100 && n < 30000) || m < 6) {
  ------------------
  |  Branch (800:13): [True: 3.13k, False: 1.95k]
  |  Branch (800:26): [True: 1.95k, False: 0]
  |  Branch (800:37): [True: 1.95k, False: 0]
  |  Branch (800:51): [True: 0, False: 0]
  ------------------
  801|  5.08k|            return STRINGLIB(default_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|  5.08k|#define STRINGLIB(F)             ucs2lib_##F
  ------------------
  802|  5.08k|        }
  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)             ucs2lib_##F
  ------------------
  811|      0|            }
  812|      0|            else {
  813|      0|                return STRINGLIB(_two_way_count)(s, n, p, m, maxcount);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs2lib_##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)             ucs2lib_##F
  ------------------
  823|      0|        }
  824|  5.08k|    }
  825|      0|    else {
  826|       |        /* FAST_RSEARCH */
  827|      0|        return STRINGLIB(default_rfind)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs2lib_##F
  ------------------
  828|      0|    }
  829|  5.08k|}
unicodeobject.c:ucs2lib_count_char_no_maxcount:
  761|  1.17k|{
  762|  1.17k|    Py_ssize_t count = 0;
  763|   520k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (763:28): [True: 518k, False: 1.17k]
  ------------------
  764|   518k|        if (s[i] == p0) {
  ------------------
  |  Branch (764:13): [True: 4.80k, False: 514k]
  ------------------
  765|  4.80k|            count++;
  766|  4.80k|        }
  767|   518k|    }
  768|  1.17k|    return count;
  769|  1.17k|}
unicodeobject.c:ucs2lib_default_find:
  560|  5.08k|{
  561|  5.08k|    const Py_ssize_t w = n - m;
  562|  5.08k|    Py_ssize_t mlast = m - 1, count = 0;
  563|  5.08k|    Py_ssize_t gap = mlast;
  564|  5.08k|    const STRINGLIB_CHAR last = p[mlast];
  565|  5.08k|    const STRINGLIB_CHAR *const ss = &s[mlast];
  566|       |
  567|  5.08k|    unsigned long mask = 0;
  568|  10.1k|    for (Py_ssize_t i = 0; i < mlast; i++) {
  ------------------
  |  Branch (568:28): [True: 5.08k, False: 5.08k]
  ------------------
  569|  5.08k|        STRINGLIB_BLOOM_ADD(mask, p[i]);
  ------------------
  |  |   39|  5.08k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  5.08k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  570|  5.08k|        if (p[i] == last) {
  ------------------
  |  Branch (570:13): [True: 5.08k, False: 0]
  ------------------
  571|  5.08k|            gap = mlast - i - 1;
  572|  5.08k|        }
  573|  5.08k|    }
  574|  5.08k|    STRINGLIB_BLOOM_ADD(mask, last);
  ------------------
  |  |   39|  5.08k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  5.08k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  575|       |
  576|  98.0k|    for (Py_ssize_t i = 0; i <= w; i++) {
  ------------------
  |  Branch (576:28): [True: 97.7k, False: 296]
  ------------------
  577|  97.7k|        if (ss[i] == last) {
  ------------------
  |  Branch (577:13): [True: 11.8k, False: 85.8k]
  ------------------
  578|       |            /* candidate match */
  579|  11.8k|            Py_ssize_t j;
  580|  21.4k|            for (j = 0; j < mlast; j++) {
  ------------------
  |  Branch (580:25): [True: 11.8k, False: 9.58k]
  ------------------
  581|  11.8k|                if (s[i+j] != p[j]) {
  ------------------
  |  Branch (581:21): [True: 2.26k, False: 9.58k]
  ------------------
  582|  2.26k|                    break;
  583|  2.26k|                }
  584|  11.8k|            }
  585|  11.8k|            if (j == mlast) {
  ------------------
  |  Branch (585:17): [True: 9.58k, False: 2.26k]
  ------------------
  586|       |                /* got a match! */
  587|  9.58k|                if (mode != FAST_COUNT) {
  ------------------
  |  |   24|  9.58k|#define FAST_COUNT 0
  ------------------
  |  Branch (587:21): [True: 4.79k, False: 4.79k]
  ------------------
  588|  4.79k|                    return i;
  589|  4.79k|                }
  590|  4.79k|                count++;
  591|  4.79k|                if (count == maxcount) {
  ------------------
  |  Branch (591:21): [True: 0, False: 4.79k]
  ------------------
  592|      0|                    return maxcount;
  593|      0|                }
  594|  4.79k|                i = i + mlast;
  595|  4.79k|                continue;
  596|  4.79k|            }
  597|       |            /* miss: check if next character is part of pattern */
  598|  2.26k|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|  2.26k|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  2.26k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (598:17): [True: 2.26k, False: 0]
  |  Branch (598:31): [True: 0, False: 2.26k]
  ------------------
  599|      0|                i = i + m;
  600|      0|            }
  601|  2.26k|            else {
  602|  2.26k|                i = i + gap;
  603|  2.26k|            }
  604|  2.26k|        }
  605|  85.8k|        else {
  606|       |            /* skip: check if next character is part of pattern */
  607|  85.8k|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|  85.6k|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  85.6k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (607:17): [True: 85.6k, False: 200]
  |  Branch (607:31): [True: 83.2k, False: 2.46k]
  ------------------
  608|  83.2k|                i = i + m;
  609|  83.2k|            }
  610|  85.8k|        }
  611|  97.7k|    }
  612|    296|    return mode == FAST_COUNT ? count : -1;
  ------------------
  |  |   24|    296|#define FAST_COUNT 0
  ------------------
  |  Branch (612:12): [True: 296, False: 0]
  ------------------
  613|  5.08k|}
unicodeobject.c:ucs4lib_fastsearch:
  776|  18.6k|{
  777|  18.6k|    if (n < m || (mode == FAST_COUNT && maxcount == 0)) {
  ------------------
  |  |   24|  37.3k|#define FAST_COUNT 0
  ------------------
  |  Branch (777:9): [True: 0, False: 18.6k]
  |  Branch (777:19): [True: 2.20k, False: 16.4k]
  |  Branch (777:41): [True: 0, False: 2.20k]
  ------------------
  778|      0|        return -1;
  779|      0|    }
  780|       |
  781|       |    /* look for special cases */
  782|  18.6k|    if (m <= 1) {
  ------------------
  |  Branch (782:9): [True: 6.56k, False: 12.1k]
  ------------------
  783|  6.56k|        if (m <= 0) {
  ------------------
  |  Branch (783:13): [True: 0, False: 6.56k]
  ------------------
  784|      0|            return -1;
  785|      0|        }
  786|       |        /* use special case for 1-character strings */
  787|  6.56k|        if (mode == FAST_SEARCH)
  ------------------
  |  |   25|  6.56k|#define FAST_SEARCH 1
  ------------------
  |  Branch (787:13): [True: 5.48k, False: 1.07k]
  ------------------
  788|  5.48k|            return STRINGLIB(find_char)(s, n, p[0]);
  ------------------
  |  |    7|  5.48k|#define STRINGLIB(F)             ucs4lib_##F
  ------------------
  789|  1.07k|        else if (mode == FAST_RSEARCH)
  ------------------
  |  |   26|  1.07k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (789:18): [True: 0, False: 1.07k]
  ------------------
  790|      0|            return STRINGLIB(rfind_char)(s, n, p[0]);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs4lib_##F
  ------------------
  791|  1.07k|        else {
  792|  1.07k|            if (maxcount == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  1.07k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (792:17): [True: 1.07k, False: 0]
  ------------------
  793|  1.07k|                return STRINGLIB(count_char_no_maxcount)(s, n, p[0]);
  ------------------
  |  |    7|  1.07k|#define STRINGLIB(F)             ucs4lib_##F
  ------------------
  794|  1.07k|            }
  795|      0|            return STRINGLIB(count_char)(s, n, p[0], maxcount);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs4lib_##F
  ------------------
  796|  1.07k|        }
  797|  6.56k|    }
  798|       |
  799|  12.1k|    if (mode != FAST_RSEARCH) {
  ------------------
  |  |   26|  12.1k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (799:9): [True: 12.1k, False: 0]
  ------------------
  800|  12.1k|        if (n < 2500 || (m < 100 && n < 30000) || m < 6) {
  ------------------
  |  Branch (800:13): [True: 11.9k, False: 221]
  |  Branch (800:26): [True: 221, False: 0]
  |  Branch (800:37): [True: 221, False: 0]
  |  Branch (800:51): [True: 0, False: 0]
  ------------------
  801|  12.1k|            return STRINGLIB(default_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|  12.1k|#define STRINGLIB(F)             ucs4lib_##F
  ------------------
  802|  12.1k|        }
  803|      0|        else if ((m >> 2) * 3 < (n >> 2)) {
  ------------------
  |  Branch (803:18): [True: 0, False: 0]
  ------------------
  804|       |            /* 33% threshold, but don't overflow. */
  805|       |            /* For larger problems where the needle isn't a huge
  806|       |               percentage of the size of the haystack, the relatively
  807|       |               expensive O(m) startup cost of the two-way algorithm
  808|       |               will surely pay off. */
  809|      0|            if (mode == FAST_SEARCH) {
  ------------------
  |  |   25|      0|#define FAST_SEARCH 1
  ------------------
  |  Branch (809:17): [True: 0, False: 0]
  ------------------
  810|      0|                return STRINGLIB(_two_way_find)(s, n, p, m);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs4lib_##F
  ------------------
  811|      0|            }
  812|      0|            else {
  813|      0|                return STRINGLIB(_two_way_count)(s, n, p, m, maxcount);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs4lib_##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)             ucs4lib_##F
  ------------------
  823|      0|        }
  824|  12.1k|    }
  825|      0|    else {
  826|       |        /* FAST_RSEARCH */
  827|      0|        return STRINGLIB(default_rfind)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|      0|#define STRINGLIB(F)             ucs4lib_##F
  ------------------
  828|      0|    }
  829|  12.1k|}
unicodeobject.c:ucs4lib_count_char_no_maxcount:
  761|  1.07k|{
  762|  1.07k|    Py_ssize_t count = 0;
  763|   313k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (763:28): [True: 312k, False: 1.07k]
  ------------------
  764|   312k|        if (s[i] == p0) {
  ------------------
  |  Branch (764:13): [True: 5.48k, False: 306k]
  ------------------
  765|  5.48k|            count++;
  766|  5.48k|        }
  767|   312k|    }
  768|  1.07k|    return count;
  769|  1.07k|}
unicodeobject.c:ucs4lib_default_find:
  560|  12.1k|{
  561|  12.1k|    const Py_ssize_t w = n - m;
  562|  12.1k|    Py_ssize_t mlast = m - 1, count = 0;
  563|  12.1k|    Py_ssize_t gap = mlast;
  564|  12.1k|    const STRINGLIB_CHAR last = p[mlast];
  565|  12.1k|    const STRINGLIB_CHAR *const ss = &s[mlast];
  566|       |
  567|  12.1k|    unsigned long mask = 0;
  568|  24.2k|    for (Py_ssize_t i = 0; i < mlast; i++) {
  ------------------
  |  Branch (568:28): [True: 12.1k, False: 12.1k]
  ------------------
  569|  12.1k|        STRINGLIB_BLOOM_ADD(mask, p[i]);
  ------------------
  |  |   39|  12.1k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  12.1k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  570|  12.1k|        if (p[i] == last) {
  ------------------
  |  Branch (570:13): [True: 12.1k, False: 0]
  ------------------
  571|  12.1k|            gap = mlast - i - 1;
  572|  12.1k|        }
  573|  12.1k|    }
  574|  12.1k|    STRINGLIB_BLOOM_ADD(mask, last);
  ------------------
  |  |   39|  12.1k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  12.1k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  575|       |
  576|  59.4k|    for (Py_ssize_t i = 0; i <= w; i++) {
  ------------------
  |  Branch (576:28): [True: 58.3k, False: 1.12k]
  ------------------
  577|  58.3k|        if (ss[i] == last) {
  ------------------
  |  Branch (577:13): [True: 27.7k, False: 30.6k]
  ------------------
  578|       |            /* candidate match */
  579|  27.7k|            Py_ssize_t j;
  580|  49.7k|            for (j = 0; j < mlast; j++) {
  ------------------
  |  Branch (580:25): [True: 27.7k, False: 22.0k]
  ------------------
  581|  27.7k|                if (s[i+j] != p[j]) {
  ------------------
  |  Branch (581:21): [True: 5.71k, False: 22.0k]
  ------------------
  582|  5.71k|                    break;
  583|  5.71k|                }
  584|  27.7k|            }
  585|  27.7k|            if (j == mlast) {
  ------------------
  |  Branch (585:17): [True: 22.0k, False: 5.71k]
  ------------------
  586|       |                /* got a match! */
  587|  22.0k|                if (mode != FAST_COUNT) {
  ------------------
  |  |   24|  22.0k|#define FAST_COUNT 0
  ------------------
  |  Branch (587:21): [True: 11.0k, False: 11.0k]
  ------------------
  588|  11.0k|                    return i;
  589|  11.0k|                }
  590|  11.0k|                count++;
  591|  11.0k|                if (count == maxcount) {
  ------------------
  |  Branch (591:21): [True: 0, False: 11.0k]
  ------------------
  592|      0|                    return maxcount;
  593|      0|                }
  594|  11.0k|                i = i + mlast;
  595|  11.0k|                continue;
  596|  11.0k|            }
  597|       |            /* miss: check if next character is part of pattern */
  598|  5.71k|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|  5.71k|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  5.71k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (598:17): [True: 5.71k, False: 0]
  |  Branch (598:31): [True: 0, False: 5.71k]
  ------------------
  599|      0|                i = i + m;
  600|      0|            }
  601|  5.71k|            else {
  602|  5.71k|                i = i + gap;
  603|  5.71k|            }
  604|  5.71k|        }
  605|  30.6k|        else {
  606|       |            /* skip: check if next character is part of pattern */
  607|  30.6k|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|  30.4k|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  30.4k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (607:17): [True: 30.4k, False: 231]
  |  Branch (607:31): [True: 27.1k, False: 3.28k]
  ------------------
  608|  27.1k|                i = i + m;
  609|  27.1k|            }
  610|  30.6k|        }
  611|  58.3k|    }
  612|  1.12k|    return mode == FAST_COUNT ? count : -1;
  ------------------
  |  |   24|  1.12k|#define FAST_COUNT 0
  ------------------
  |  Branch (612:12): [True: 1.12k, False: 0]
  ------------------
  613|  12.1k|}
bytes_methods.c:stringlib_find_char:
   51|     78|{
   52|     78|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|     78|    p = s;
   55|     78|    e = s + n;
   56|     78|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   44|     78|#  define MEMCHR_CUT_OFF 15
  ------------------
  |  Branch (56:9): [True: 78, False: 0]
  ------------------
   57|     78|#ifdef STRINGLIB_FAST_MEMCHR
   58|     78|        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
  ------------------
  |  |  383|     78|#define STRINGLIB_FAST_MEMCHR memchr
  ------------------
   59|     78|        if (p != NULL)
  ------------------
  |  Branch (59:13): [True: 69, False: 9]
  ------------------
   60|     69|            return (p - s);
   61|      9|        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|     78|    }
   98|      0|    while (p < e) {
  ------------------
  |  Branch (98:12): [True: 0, False: 0]
  ------------------
   99|      0|        if (*p == ch)
  ------------------
  |  Branch (99:13): [True: 0, False: 0]
  ------------------
  100|      0|            return (p - s);
  101|      0|        p++;
  102|      0|    }
  103|      0|    return -1;
  104|      0|}
bytes_methods.c:stringlib_rfind_char:
  117|  18.1k|{
  118|  18.1k|    const STRINGLIB_CHAR *p;
  119|  18.1k|#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|  18.1k|    if (n > MEMRCHR_CUT_OFF) {
  ------------------
  |  |  109|  18.1k|#  define MEMRCHR_CUT_OFF 15
  ------------------
  |  Branch (125:9): [True: 6.43k, False: 11.7k]
  ------------------
  126|  6.43k|#if STRINGLIB_SIZEOF_CHAR == 1
  127|  6.43k|        p = memrchr(s, ch, n);
  128|  6.43k|        if (p != NULL)
  ------------------
  |  Branch (128:13): [True: 2.66k, False: 3.77k]
  ------------------
  129|  2.66k|            return (p - s);
  130|  3.77k|        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|  6.43k|    }
  169|  11.7k|#endif  /* HAVE_MEMRCHR */
  170|  11.7k|    p = s + n;
  171|   103k|    while (p > s) {
  ------------------
  |  Branch (171:12): [True: 93.1k, False: 10.2k]
  ------------------
  172|  93.1k|        p--;
  173|  93.1k|        if (*p == ch)
  ------------------
  |  Branch (173:13): [True: 1.48k, False: 91.6k]
  ------------------
  174|  1.48k|            return (p - s);
  175|  93.1k|    }
  176|  10.2k|    return -1;
  177|  11.7k|}
bytes_methods.c:fastsearch:
  776|  1.32k|{
  777|  1.32k|    if (n < m || (mode == FAST_COUNT && maxcount == 0)) {
  ------------------
  |  |   24|  2.65k|#define FAST_COUNT 0
  ------------------
  |  Branch (777:9): [True: 0, False: 1.32k]
  |  Branch (777:19): [True: 0, False: 1.32k]
  |  Branch (777:41): [True: 0, False: 0]
  ------------------
  778|      0|        return -1;
  779|      0|    }
  780|       |
  781|       |    /* look for special cases */
  782|  1.32k|    if (m <= 1) {
  ------------------
  |  Branch (782:9): [True: 0, False: 1.32k]
  ------------------
  783|      0|        if (m <= 0) {
  ------------------
  |  Branch (783:13): [True: 0, False: 0]
  ------------------
  784|      0|            return -1;
  785|      0|        }
  786|       |        /* use special case for 1-character strings */
  787|      0|        if (mode == FAST_SEARCH)
  ------------------
  |  |   25|      0|#define FAST_SEARCH 1
  ------------------
  |  Branch (787:13): [True: 0, False: 0]
  ------------------
  788|      0|            return STRINGLIB(find_char)(s, n, p[0]);
  ------------------
  |  |  380|      0|#define STRINGLIB(F) stringlib_##F
  ------------------
  789|      0|        else if (mode == FAST_RSEARCH)
  ------------------
  |  |   26|      0|#define FAST_RSEARCH 2
  ------------------
  |  Branch (789:18): [True: 0, False: 0]
  ------------------
  790|      0|            return STRINGLIB(rfind_char)(s, n, p[0]);
  ------------------
  |  |  380|      0|#define STRINGLIB(F) stringlib_##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]);
  ------------------
  |  |  380|      0|#define STRINGLIB(F) stringlib_##F
  ------------------
  794|      0|            }
  795|      0|            return STRINGLIB(count_char)(s, n, p[0], maxcount);
  ------------------
  |  |  380|      0|#define STRINGLIB(F) stringlib_##F
  ------------------
  796|      0|        }
  797|      0|    }
  798|       |
  799|  1.32k|    if (mode != FAST_RSEARCH) {
  ------------------
  |  |   26|  1.32k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (799:9): [True: 1.32k, False: 0]
  ------------------
  800|  1.32k|        if (n < 2500 || (m < 100 && n < 30000) || m < 6) {
  ------------------
  |  Branch (800:13): [True: 1.20k, False: 120]
  |  Branch (800:26): [True: 120, False: 0]
  |  Branch (800:37): [True: 120, False: 0]
  |  Branch (800:51): [True: 0, False: 0]
  ------------------
  801|  1.32k|            return STRINGLIB(default_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |  380|  1.32k|#define STRINGLIB(F) stringlib_##F
  ------------------
  802|  1.32k|        }
  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|  1.32k|    }
  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|  1.32k|}
bytes_methods.c:stringlib_default_find:
  560|  1.32k|{
  561|  1.32k|    const Py_ssize_t w = n - m;
  562|  1.32k|    Py_ssize_t mlast = m - 1, count = 0;
  563|  1.32k|    Py_ssize_t gap = mlast;
  564|  1.32k|    const STRINGLIB_CHAR last = p[mlast];
  565|  1.32k|    const STRINGLIB_CHAR *const ss = &s[mlast];
  566|       |
  567|  1.32k|    unsigned long mask = 0;
  568|  5.30k|    for (Py_ssize_t i = 0; i < mlast; i++) {
  ------------------
  |  Branch (568:28): [True: 3.98k, False: 1.32k]
  ------------------
  569|  3.98k|        STRINGLIB_BLOOM_ADD(mask, p[i]);
  ------------------
  |  |   39|  3.98k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  3.98k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  570|  3.98k|        if (p[i] == last) {
  ------------------
  |  Branch (570:13): [True: 1.32k, False: 2.65k]
  ------------------
  571|  1.32k|            gap = mlast - i - 1;
  572|  1.32k|        }
  573|  3.98k|    }
  574|  1.32k|    STRINGLIB_BLOOM_ADD(mask, last);
  ------------------
  |  |   39|  1.32k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  1.32k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  575|       |
  576|  74.0k|    for (Py_ssize_t i = 0; i <= w; i++) {
  ------------------
  |  Branch (576:28): [True: 73.9k, False: 133]
  ------------------
  577|  73.9k|        if (ss[i] == last) {
  ------------------
  |  Branch (577:13): [True: 4.52k, False: 69.4k]
  ------------------
  578|       |            /* candidate match */
  579|  4.52k|            Py_ssize_t j;
  580|  8.70k|            for (j = 0; j < mlast; j++) {
  ------------------
  |  Branch (580:25): [True: 7.51k, False: 1.19k]
  ------------------
  581|  7.51k|                if (s[i+j] != p[j]) {
  ------------------
  |  Branch (581:21): [True: 3.32k, False: 4.18k]
  ------------------
  582|  3.32k|                    break;
  583|  3.32k|                }
  584|  7.51k|            }
  585|  4.52k|            if (j == mlast) {
  ------------------
  |  Branch (585:17): [True: 1.19k, False: 3.32k]
  ------------------
  586|       |                /* got a match! */
  587|  1.19k|                if (mode != FAST_COUNT) {
  ------------------
  |  |   24|  1.19k|#define FAST_COUNT 0
  ------------------
  |  Branch (587:21): [True: 1.19k, False: 0]
  ------------------
  588|  1.19k|                    return i;
  589|  1.19k|                }
  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|  3.32k|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|  3.32k|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  3.32k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (598:17): [True: 3.32k, False: 4]
  |  Branch (598:31): [True: 1.36k, False: 1.96k]
  ------------------
  599|  1.36k|                i = i + m;
  600|  1.36k|            }
  601|  1.96k|            else {
  602|  1.96k|                i = i + gap;
  603|  1.96k|            }
  604|  3.32k|        }
  605|  69.4k|        else {
  606|       |            /* skip: check if next character is part of pattern */
  607|  69.4k|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|  69.3k|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  69.3k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (607:17): [True: 69.3k, False: 37]
  |  Branch (607:31): [True: 37.6k, False: 31.7k]
  ------------------
  608|  37.6k|                i = i + m;
  609|  37.6k|            }
  610|  69.4k|        }
  611|  73.9k|    }
  612|    133|    return mode == FAST_COUNT ? count : -1;
  ------------------
  |  |   24|    133|#define FAST_COUNT 0
  ------------------
  |  Branch (612:12): [True: 0, False: 133]
  ------------------
  613|  1.32k|}

unicodeobject.c:asciilib_find:
   11|  23.0k|{
   12|  23.0k|    Py_ssize_t pos;
   13|       |
   14|  23.0k|    assert(str_len >= 0);
  ------------------
  |  Branch (14:5): [True: 23.0k, False: 0]
  ------------------
   15|  23.0k|    if (sub_len == 0)
  ------------------
  |  Branch (15:9): [True: 0, False: 23.0k]
  ------------------
   16|      0|        return offset;
   17|       |
   18|  23.0k|    pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |    6|  23.0k|#define FASTSEARCH               asciilib_fastsearch
  ------------------
                  pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |   25|  23.0k|#define FAST_SEARCH 1
  ------------------
   19|       |
   20|  23.0k|    if (pos >= 0)
  ------------------
  |  Branch (20:9): [True: 23.0k, False: 0]
  ------------------
   21|  23.0k|        pos += offset;
   22|       |
   23|  23.0k|    return pos;
   24|  23.0k|}
unicodeobject.c:ucs1lib_find:
   11|  9.84k|{
   12|  9.84k|    Py_ssize_t pos;
   13|       |
   14|  9.84k|    assert(str_len >= 0);
  ------------------
  |  Branch (14:5): [True: 9.84k, False: 0]
  ------------------
   15|  9.84k|    if (sub_len == 0)
  ------------------
  |  Branch (15:9): [True: 0, False: 9.84k]
  ------------------
   16|      0|        return offset;
   17|       |
   18|  9.84k|    pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |    6|  9.84k|#define FASTSEARCH               ucs1lib_fastsearch
  ------------------
                  pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |   25|  9.84k|#define FAST_SEARCH 1
  ------------------
   19|       |
   20|  9.84k|    if (pos >= 0)
  ------------------
  |  Branch (20:9): [True: 9.82k, False: 23]
  ------------------
   21|  9.82k|        pos += offset;
   22|       |
   23|  9.84k|    return pos;
   24|  9.84k|}
unicodeobject.c:ucs2lib_find:
   11|  9.59k|{
   12|  9.59k|    Py_ssize_t pos;
   13|       |
   14|  9.59k|    assert(str_len >= 0);
  ------------------
  |  Branch (14:5): [True: 9.59k, False: 0]
  ------------------
   15|  9.59k|    if (sub_len == 0)
  ------------------
  |  Branch (15:9): [True: 0, False: 9.59k]
  ------------------
   16|      0|        return offset;
   17|       |
   18|  9.59k|    pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |    6|  9.59k|#define FASTSEARCH               ucs2lib_fastsearch
  ------------------
                  pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |   25|  9.59k|#define FAST_SEARCH 1
  ------------------
   19|       |
   20|  9.59k|    if (pos >= 0)
  ------------------
  |  Branch (20:9): [True: 9.59k, False: 0]
  ------------------
   21|  9.59k|        pos += offset;
   22|       |
   23|  9.59k|    return pos;
   24|  9.59k|}
unicodeobject.c:ucs4lib_find:
   11|  16.4k|{
   12|  16.4k|    Py_ssize_t pos;
   13|       |
   14|  16.4k|    assert(str_len >= 0);
  ------------------
  |  Branch (14:5): [True: 16.4k, False: 0]
  ------------------
   15|  16.4k|    if (sub_len == 0)
  ------------------
  |  Branch (15:9): [True: 0, False: 16.4k]
  ------------------
   16|      0|        return offset;
   17|       |
   18|  16.4k|    pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |    6|  16.4k|#define FASTSEARCH               ucs4lib_fastsearch
  ------------------
                  pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |   25|  16.4k|#define FAST_SEARCH 1
  ------------------
   19|       |
   20|  16.4k|    if (pos >= 0)
  ------------------
  |  Branch (20:9): [True: 16.4k, False: 0]
  ------------------
   21|  16.4k|        pos += offset;
   22|       |
   23|  16.4k|    return pos;
   24|  16.4k|}
bytes_methods.c:stringlib_find:
   11|  1.32k|{
   12|  1.32k|    Py_ssize_t pos;
   13|       |
   14|  1.32k|    assert(str_len >= 0);
  ------------------
  |  Branch (14:5): [True: 1.32k, False: 0]
  ------------------
   15|  1.32k|    if (sub_len == 0)
  ------------------
  |  Branch (15:9): [True: 0, False: 1.32k]
  ------------------
   16|      0|        return offset;
   17|       |
   18|  1.32k|    pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |  379|  1.32k|#define FASTSEARCH fastsearch
  ------------------
                  pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |   25|  1.32k|#define FAST_SEARCH 1
  ------------------
   19|       |
   20|  1.32k|    if (pos >= 0)
  ------------------
  |  Branch (20:9): [True: 1.19k, False: 133]
  ------------------
   21|  1.19k|        pos += offset;
   22|       |
   23|  1.32k|    return pos;
   24|  1.32k|}

unicode_writer.c:ucs1lib_find_max_char:
   22|   270k|{
   23|   270k|    const unsigned char *p = (const unsigned char *) begin;
   24|   270k|    const unsigned char *_end = (const unsigned char *)end;
   25|       |
   26|  1.65M|    while (p < _end) {
  ------------------
  |  Branch (26:12): [True: 1.39M, False: 263k]
  ------------------
   27|  1.39M|        if (_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  221|  1.39M|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 174k, False: 1.21M]
  |  |  ------------------
  ------------------
   28|       |            /* Help register allocation */
   29|   174k|            const unsigned char *_p = p;
   30|   488k|            while (_p + SIZEOF_SIZE_T <= _end) {
  ------------------
  |  | 1958|   488k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (30:20): [True: 314k, False: 174k]
  ------------------
   31|   314k|                size_t value = *(const size_t *) _p;
   32|   314k|                if (value & UCS1_ASCII_CHAR_MASK)
  ------------------
  |  |   11|   314k|# define UCS1_ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (32:21): [True: 0, False: 314k]
  ------------------
   33|      0|                    return 255;
   34|   314k|                _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1958|   314k|#define SIZEOF_SIZE_T 8
  ------------------
   35|   314k|            }
   36|   174k|            p = _p;
   37|   174k|            if (p == _end)
  ------------------
  |  Branch (37:17): [True: 7.11k, False: 166k]
  ------------------
   38|  7.11k|                break;
   39|   174k|        }
   40|  1.38M|        if (*p++ & 0x80)
  ------------------
  |  Branch (40:13): [True: 0, False: 1.38M]
  ------------------
   41|      0|            return 255;
   42|  1.38M|    }
   43|   270k|    return 127;
   44|   270k|}
unicodeobject.c:ucs4lib_find_max_char:
   61|   128k|{
   62|       |#if STRINGLIB_SIZEOF_CHAR == 2
   63|       |    const Py_UCS4 mask_limit = MASK_UCS1;
   64|       |    const Py_UCS4 max_char_limit = MAX_CHAR_UCS2;
   65|       |#elif STRINGLIB_SIZEOF_CHAR == 4
   66|   128k|    const Py_UCS4 mask_limit = MASK_UCS2;
  ------------------
  |  |   52|   128k|#define MASK_UCS2 0xFFFF0000
  ------------------
   67|   128k|    const Py_UCS4 max_char_limit = MAX_CHAR_UCS4;
  ------------------
  |  |   57|   128k|#define MAX_CHAR_UCS4  0x10ffff
  ------------------
   68|       |#else
   69|       |#error Invalid STRINGLIB_SIZEOF_CHAR (must be 1, 2 or 4)
   70|       |#endif
   71|   128k|    Py_UCS4 mask;
   72|   128k|    Py_ssize_t n = end - begin;
   73|   128k|    const STRINGLIB_CHAR *p = begin;
   74|   128k|    const STRINGLIB_CHAR *unrolled_end = begin + _Py_SIZE_ROUND_DOWN(n, 4);
  ------------------
  |  |  211|   128k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  ------------------
   75|   128k|    Py_UCS4 max_char;
   76|       |
   77|   128k|    max_char = MAX_CHAR_ASCII;
  ------------------
  |  |   54|   128k|#define MAX_CHAR_ASCII 0x7f
  ------------------
   78|   128k|    mask = MASK_ASCII;
  ------------------
  |  |   50|   128k|#define MASK_ASCII 0xFFFFFF80
  ------------------
   79|   489k|    while (p < unrolled_end) {
  ------------------
  |  Branch (79:12): [True: 381k, False: 107k]
  ------------------
   80|   381k|        STRINGLIB_CHAR bits = p[0] | p[1] | p[2] | p[3];
  ------------------
  |  |   11|   381k|#define STRINGLIB_CHAR           Py_UCS4
  ------------------
   81|   381k|        if (bits & mask) {
  ------------------
  |  Branch (81:13): [True: 113k, False: 268k]
  ------------------
   82|   113k|            if (mask == mask_limit) {
  ------------------
  |  Branch (82:17): [True: 20.5k, False: 93.0k]
  ------------------
   83|       |                /* Limit reached */
   84|  20.5k|                return max_char_limit;
   85|  20.5k|            }
   86|  93.0k|            if (mask == MASK_ASCII) {
  ------------------
  |  |   50|  93.0k|#define MASK_ASCII 0xFFFFFF80
  ------------------
  |  Branch (86:17): [True: 47.0k, False: 45.9k]
  ------------------
   87|  47.0k|                max_char = MAX_CHAR_UCS1;
  ------------------
  |  |   55|  47.0k|#define MAX_CHAR_UCS1  0xff
  ------------------
   88|  47.0k|                mask = MASK_UCS1;
  ------------------
  |  |   51|  47.0k|#define MASK_UCS1 0xFFFFFF00
  ------------------
   89|  47.0k|            }
   90|  45.9k|            else {
   91|       |                /* mask can't be MASK_UCS2 because of mask_limit above */
   92|  45.9k|                assert(mask == MASK_UCS1);
  ------------------
  |  Branch (92:17): [True: 45.9k, False: 0]
  ------------------
   93|  45.9k|                max_char = MAX_CHAR_UCS2;
  ------------------
  |  |   56|  45.9k|#define MAX_CHAR_UCS2  0xffff
  ------------------
   94|  45.9k|                mask = MASK_UCS2;
  ------------------
  |  |   52|  45.9k|#define MASK_UCS2 0xFFFF0000
  ------------------
   95|  45.9k|            }
   96|       |            /* We check the new mask on the same chars in the next iteration */
   97|  93.0k|            continue;
   98|  93.0k|        }
   99|   268k|        p += 4;
  100|   268k|    }
  101|   456k|    while (p < end) {
  ------------------
  |  Branch (101:12): [True: 351k, False: 105k]
  ------------------
  102|   351k|        if (p[0] & mask) {
  ------------------
  |  Branch (102:13): [True: 144k, False: 207k]
  ------------------
  103|   144k|            if (mask == mask_limit) {
  ------------------
  |  Branch (103:17): [True: 2.49k, False: 141k]
  ------------------
  104|       |                /* Limit reached */
  105|  2.49k|                return max_char_limit;
  106|  2.49k|            }
  107|   141k|            if (mask == MASK_ASCII) {
  ------------------
  |  |   50|   141k|#define MASK_ASCII 0xFFFFFF80
  ------------------
  |  Branch (107:17): [True: 72.4k, False: 69.2k]
  ------------------
  108|  72.4k|                max_char = MAX_CHAR_UCS1;
  ------------------
  |  |   55|  72.4k|#define MAX_CHAR_UCS1  0xff
  ------------------
  109|  72.4k|                mask = MASK_UCS1;
  ------------------
  |  |   51|  72.4k|#define MASK_UCS1 0xFFFFFF00
  ------------------
  110|  72.4k|            }
  111|  69.2k|            else {
  112|       |                /* mask can't be MASK_UCS2 because of mask_limit above */
  113|  69.2k|                assert(mask == MASK_UCS1);
  ------------------
  |  Branch (113:17): [True: 69.2k, False: 0]
  ------------------
  114|  69.2k|                max_char = MAX_CHAR_UCS2;
  ------------------
  |  |   56|  69.2k|#define MAX_CHAR_UCS2  0xffff
  ------------------
  115|  69.2k|                mask = MASK_UCS2;
  ------------------
  |  |   52|  69.2k|#define MASK_UCS2 0xFFFF0000
  ------------------
  116|  69.2k|            }
  117|       |            /* We check the new mask on the same chars in the next iteration */
  118|   141k|            continue;
  119|   141k|        }
  120|   207k|        p++;
  121|   207k|    }
  122|   105k|    return max_char;
  123|   107k|}
unicodeobject.c:ucs1lib_find_max_char:
   22|   163k|{
   23|   163k|    const unsigned char *p = (const unsigned char *) begin;
   24|   163k|    const unsigned char *_end = (const unsigned char *)end;
   25|       |
   26|  1.37M|    while (p < _end) {
  ------------------
  |  Branch (26:12): [True: 1.23M, False: 144k]
  ------------------
   27|  1.23M|        if (_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  221|  1.23M|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 146k, False: 1.08M]
  |  |  ------------------
  ------------------
   28|       |            /* Help register allocation */
   29|   146k|            const unsigned char *_p = p;
   30|   648k|            while (_p + SIZEOF_SIZE_T <= _end) {
  ------------------
  |  | 1958|   648k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (30:20): [True: 508k, False: 140k]
  ------------------
   31|   508k|                size_t value = *(const size_t *) _p;
   32|   508k|                if (value & UCS1_ASCII_CHAR_MASK)
  ------------------
  |  |   11|   508k|# define UCS1_ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (32:21): [True: 6.61k, False: 501k]
  ------------------
   33|  6.61k|                    return 255;
   34|   501k|                _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1958|   501k|#define SIZEOF_SIZE_T 8
  ------------------
   35|   501k|            }
   36|   140k|            p = _p;
   37|   140k|            if (p == _end)
  ------------------
  |  Branch (37:17): [True: 5.67k, False: 134k]
  ------------------
   38|  5.67k|                break;
   39|   140k|        }
   40|  1.21M|        if (*p++ & 0x80)
  ------------------
  |  Branch (40:13): [True: 6.85k, False: 1.21M]
  ------------------
   41|  6.85k|            return 255;
   42|  1.21M|    }
   43|   149k|    return 127;
   44|   163k|}
unicodeobject.c:ucs2lib_find_max_char:
   61|   263k|{
   62|   263k|#if STRINGLIB_SIZEOF_CHAR == 2
   63|   263k|    const Py_UCS4 mask_limit = MASK_UCS1;
  ------------------
  |  |   51|   263k|#define MASK_UCS1 0xFFFFFF00
  ------------------
   64|   263k|    const Py_UCS4 max_char_limit = MAX_CHAR_UCS2;
  ------------------
  |  |   56|   263k|#define MAX_CHAR_UCS2  0xffff
  ------------------
   65|       |#elif STRINGLIB_SIZEOF_CHAR == 4
   66|       |    const Py_UCS4 mask_limit = MASK_UCS2;
   67|       |    const Py_UCS4 max_char_limit = MAX_CHAR_UCS4;
   68|       |#else
   69|       |#error Invalid STRINGLIB_SIZEOF_CHAR (must be 1, 2 or 4)
   70|       |#endif
   71|   263k|    Py_UCS4 mask;
   72|   263k|    Py_ssize_t n = end - begin;
   73|   263k|    const STRINGLIB_CHAR *p = begin;
   74|   263k|    const STRINGLIB_CHAR *unrolled_end = begin + _Py_SIZE_ROUND_DOWN(n, 4);
  ------------------
  |  |  211|   263k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  ------------------
   75|   263k|    Py_UCS4 max_char;
   76|       |
   77|   263k|    max_char = MAX_CHAR_ASCII;
  ------------------
  |  |   54|   263k|#define MAX_CHAR_ASCII 0x7f
  ------------------
   78|   263k|    mask = MASK_ASCII;
  ------------------
  |  |   50|   263k|#define MASK_ASCII 0xFFFFFF80
  ------------------
   79|   532k|    while (p < unrolled_end) {
  ------------------
  |  Branch (79:12): [True: 477k, False: 55.4k]
  ------------------
   80|   477k|        STRINGLIB_CHAR bits = p[0] | p[1] | p[2] | p[3];
  ------------------
  |  |   11|   477k|#define STRINGLIB_CHAR           Py_UCS2
  ------------------
   81|   477k|        if (bits & mask) {
  ------------------
  |  Branch (81:13): [True: 416k, False: 61.2k]
  ------------------
   82|   416k|            if (mask == mask_limit) {
  ------------------
  |  Branch (82:17): [True: 207k, False: 208k]
  ------------------
   83|       |                /* Limit reached */
   84|   207k|                return max_char_limit;
   85|   207k|            }
   86|   208k|            if (mask == MASK_ASCII) {
  ------------------
  |  |   50|   208k|#define MASK_ASCII 0xFFFFFF80
  ------------------
  |  Branch (86:17): [True: 208k, False: 0]
  ------------------
   87|   208k|                max_char = MAX_CHAR_UCS1;
  ------------------
  |  |   55|   208k|#define MAX_CHAR_UCS1  0xff
  ------------------
   88|   208k|                mask = MASK_UCS1;
  ------------------
  |  |   51|   208k|#define MASK_UCS1 0xFFFFFF00
  ------------------
   89|   208k|            }
   90|      0|            else {
   91|       |                /* mask can't be MASK_UCS2 because of mask_limit above */
   92|      0|                assert(mask == MASK_UCS1);
  ------------------
  |  Branch (92:17): [True: 0, False: 0]
  ------------------
   93|      0|                max_char = MAX_CHAR_UCS2;
  ------------------
  |  |   56|      0|#define MAX_CHAR_UCS2  0xffff
  ------------------
   94|      0|                mask = MASK_UCS2;
  ------------------
  |  |   52|      0|#define MASK_UCS2 0xFFFF0000
  ------------------
   95|      0|            }
   96|       |            /* We check the new mask on the same chars in the next iteration */
   97|   208k|            continue;
   98|   208k|        }
   99|  61.2k|        p += 4;
  100|  61.2k|    }
  101|   114k|    while (p < end) {
  ------------------
  |  Branch (101:12): [True: 109k, False: 5.16k]
  ------------------
  102|   109k|        if (p[0] & mask) {
  ------------------
  |  Branch (102:13): [True: 100k, False: 9.23k]
  ------------------
  103|   100k|            if (mask == mask_limit) {
  ------------------
  |  Branch (103:17): [True: 50.2k, False: 50.0k]
  ------------------
  104|       |                /* Limit reached */
  105|  50.2k|                return max_char_limit;
  106|  50.2k|            }
  107|  50.0k|            if (mask == MASK_ASCII) {
  ------------------
  |  |   50|  50.0k|#define MASK_ASCII 0xFFFFFF80
  ------------------
  |  Branch (107:17): [True: 50.0k, False: 0]
  ------------------
  108|  50.0k|                max_char = MAX_CHAR_UCS1;
  ------------------
  |  |   55|  50.0k|#define MAX_CHAR_UCS1  0xff
  ------------------
  109|  50.0k|                mask = MASK_UCS1;
  ------------------
  |  |   51|  50.0k|#define MASK_UCS1 0xFFFFFF00
  ------------------
  110|  50.0k|            }
  111|      0|            else {
  112|       |                /* mask can't be MASK_UCS2 because of mask_limit above */
  113|      0|                assert(mask == MASK_UCS1);
  ------------------
  |  Branch (113:17): [True: 0, False: 0]
  ------------------
  114|      0|                max_char = MAX_CHAR_UCS2;
  ------------------
  |  |   56|      0|#define MAX_CHAR_UCS2  0xffff
  ------------------
  115|      0|                mask = MASK_UCS2;
  ------------------
  |  |   52|      0|#define MASK_UCS2 0xFFFF0000
  ------------------
  116|      0|            }
  117|       |            /* We check the new mask on the same chars in the next iteration */
  118|  50.0k|            continue;
  119|  50.0k|        }
  120|  9.23k|        p++;
  121|  9.23k|    }
  122|  5.16k|    return max_char;
  123|  55.4k|}

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

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

unicodeobject.c:ucs1lib_repr:
   11|  2.00k|{
   12|  2.00k|    Py_ssize_t isize = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|  2.00k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   13|  2.00k|    const void *idata = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|  2.00k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   14|  2.00k|    int ikind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  2.00k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  4.00k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 2.00k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   15|       |
   16|      0|    *odata++ = quote;
   17|   354k|    for (Py_ssize_t i = 0; i < isize; i++) {
  ------------------
  |  Branch (17:28): [True: 352k, False: 2.00k]
  ------------------
   18|   352k|        Py_UCS4 ch = PyUnicode_READ(ikind, idata, i);
  ------------------
  |  |  354|   352k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   352k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   352k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   352k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   352k|                   (index))
  ------------------
   19|       |
   20|       |        /* Escape quotes and backslashes */
   21|   352k|        if ((ch == quote) || (ch == '\\')) {
  ------------------
  |  Branch (21:13): [True: 2.62k, False: 349k]
  |  Branch (21:30): [True: 3.12k, False: 346k]
  ------------------
   22|  5.74k|            *odata++ = '\\';
   23|  5.74k|            *odata++ = ch;
   24|  5.74k|            continue;
   25|  5.74k|        }
   26|       |
   27|       |        /* Map special whitespace to '\t', \n', '\r' */
   28|   346k|        if (ch == '\t') {
  ------------------
  |  Branch (28:13): [True: 630, False: 345k]
  ------------------
   29|    630|            *odata++ = '\\';
   30|    630|            *odata++ = 't';
   31|    630|        }
   32|   345k|        else if (ch == '\n') {
  ------------------
  |  Branch (32:18): [True: 4.17k, False: 341k]
  ------------------
   33|  4.17k|            *odata++ = '\\';
   34|  4.17k|            *odata++ = 'n';
   35|  4.17k|        }
   36|   341k|        else if (ch == '\r') {
  ------------------
  |  Branch (36:18): [True: 123, False: 341k]
  ------------------
   37|    123|            *odata++ = '\\';
   38|    123|            *odata++ = 'r';
   39|    123|        }
   40|       |
   41|       |        /* Map non-printable US ASCII to '\xhh' */
   42|   341k|        else if (ch < ' ' || ch == 0x7F) {
  ------------------
  |  Branch (42:18): [True: 11.5k, False: 330k]
  |  Branch (42:30): [True: 1.50k, False: 328k]
  ------------------
   43|  13.0k|            *odata++ = '\\';
   44|  13.0k|            *odata++ = 'x';
   45|  13.0k|            *odata++ = Py_hexdigits[(ch >> 4) & 0x000F];
   46|  13.0k|            *odata++ = Py_hexdigits[ch & 0x000F];
   47|  13.0k|        }
   48|       |
   49|       |        /* Copy ASCII characters as-is */
   50|   328k|        else if (ch < 0x7F) {
  ------------------
  |  Branch (50:18): [True: 269k, False: 58.8k]
  ------------------
   51|   269k|            *odata++ = ch;
   52|   269k|        }
   53|       |
   54|       |        /* Non-ASCII characters */
   55|  58.8k|        else {
   56|       |            /* Map Unicode whitespace and control characters
   57|       |               (categories Z* and C* except ASCII space)
   58|       |            */
   59|  58.8k|            if (!Py_UNICODE_ISPRINTABLE(ch)) {
  ------------------
  |  |  761|  58.8k|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  ------------------
  |  Branch (59:17): [True: 12.3k, False: 46.4k]
  ------------------
   60|  12.3k|                *odata++ = '\\';
   61|       |                /* Map 8-bit characters to '\xhh' */
   62|  12.3k|                if (ch <= 0xff) {
  ------------------
  |  Branch (62:21): [True: 11.8k, False: 585]
  ------------------
   63|  11.8k|                    *odata++ = 'x';
   64|  11.8k|                    *odata++ = Py_hexdigits[(ch >> 4) & 0x000F];
   65|  11.8k|                    *odata++ = Py_hexdigits[ch & 0x000F];
   66|  11.8k|                }
   67|       |                /* Map 16-bit characters to '\uxxxx' */
   68|    585|                else if (ch <= 0xffff) {
  ------------------
  |  Branch (68:26): [True: 336, False: 249]
  ------------------
   69|    336|                    *odata++ = 'u';
   70|    336|                    *odata++ = Py_hexdigits[(ch >> 12) & 0xF];
   71|    336|                    *odata++ = Py_hexdigits[(ch >> 8) & 0xF];
   72|    336|                    *odata++ = Py_hexdigits[(ch >> 4) & 0xF];
   73|    336|                    *odata++ = Py_hexdigits[ch & 0xF];
   74|    336|                }
   75|       |                /* Map 21-bit characters to '\U00xxxxxx' */
   76|    249|                else {
   77|    249|                    *odata++ = 'U';
   78|    249|                    *odata++ = Py_hexdigits[(ch >> 28) & 0xF];
   79|    249|                    *odata++ = Py_hexdigits[(ch >> 24) & 0xF];
   80|    249|                    *odata++ = Py_hexdigits[(ch >> 20) & 0xF];
   81|    249|                    *odata++ = Py_hexdigits[(ch >> 16) & 0xF];
   82|    249|                    *odata++ = Py_hexdigits[(ch >> 12) & 0xF];
   83|    249|                    *odata++ = Py_hexdigits[(ch >> 8) & 0xF];
   84|    249|                    *odata++ = Py_hexdigits[(ch >> 4) & 0xF];
   85|    249|                    *odata++ = Py_hexdigits[ch & 0xF];
   86|    249|                }
   87|  12.3k|            }
   88|       |            /* Copy characters as-is */
   89|  46.4k|            else {
   90|  46.4k|                *odata++ = ch;
   91|  46.4k|            }
   92|  58.8k|        }
   93|   346k|    }
   94|  2.00k|    *odata = quote;
   95|  2.00k|}
unicodeobject.c:ucs2lib_repr:
   11|    507|{
   12|    507|    Py_ssize_t isize = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|    507|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    507|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    507|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   13|    507|    const void *idata = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|    507|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    507|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    507|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   14|    507|    int ikind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|    507|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.01k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 507, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   15|       |
   16|      0|    *odata++ = quote;
   17|   331k|    for (Py_ssize_t i = 0; i < isize; i++) {
  ------------------
  |  Branch (17:28): [True: 331k, False: 507]
  ------------------
   18|   331k|        Py_UCS4 ch = PyUnicode_READ(ikind, idata, i);
  ------------------
  |  |  354|   331k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   331k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   331k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   331k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   331k|                   (index))
  ------------------
   19|       |
   20|       |        /* Escape quotes and backslashes */
   21|   331k|        if ((ch == quote) || (ch == '\\')) {
  ------------------
  |  Branch (21:13): [True: 8.99k, False: 322k]
  |  Branch (21:30): [True: 3.86k, False: 318k]
  ------------------
   22|  12.8k|            *odata++ = '\\';
   23|  12.8k|            *odata++ = ch;
   24|  12.8k|            continue;
   25|  12.8k|        }
   26|       |
   27|       |        /* Map special whitespace to '\t', \n', '\r' */
   28|   318k|        if (ch == '\t') {
  ------------------
  |  Branch (28:13): [True: 755, False: 317k]
  ------------------
   29|    755|            *odata++ = '\\';
   30|    755|            *odata++ = 't';
   31|    755|        }
   32|   317k|        else if (ch == '\n') {
  ------------------
  |  Branch (32:18): [True: 6.96k, False: 310k]
  ------------------
   33|  6.96k|            *odata++ = '\\';
   34|  6.96k|            *odata++ = 'n';
   35|  6.96k|        }
   36|   310k|        else if (ch == '\r') {
  ------------------
  |  Branch (36:18): [True: 212, False: 310k]
  ------------------
   37|    212|            *odata++ = '\\';
   38|    212|            *odata++ = 'r';
   39|    212|        }
   40|       |
   41|       |        /* Map non-printable US ASCII to '\xhh' */
   42|   310k|        else if (ch < ' ' || ch == 0x7F) {
  ------------------
  |  Branch (42:18): [True: 6.81k, False: 303k]
  |  Branch (42:30): [True: 1.05k, False: 302k]
  ------------------
   43|  7.86k|            *odata++ = '\\';
   44|  7.86k|            *odata++ = 'x';
   45|  7.86k|            *odata++ = Py_hexdigits[(ch >> 4) & 0x000F];
   46|  7.86k|            *odata++ = Py_hexdigits[ch & 0x000F];
   47|  7.86k|        }
   48|       |
   49|       |        /* Copy ASCII characters as-is */
   50|   302k|        else if (ch < 0x7F) {
  ------------------
  |  Branch (50:18): [True: 250k, False: 52.2k]
  ------------------
   51|   250k|            *odata++ = ch;
   52|   250k|        }
   53|       |
   54|       |        /* Non-ASCII characters */
   55|  52.2k|        else {
   56|       |            /* Map Unicode whitespace and control characters
   57|       |               (categories Z* and C* except ASCII space)
   58|       |            */
   59|  52.2k|            if (!Py_UNICODE_ISPRINTABLE(ch)) {
  ------------------
  |  |  761|  52.2k|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  ------------------
  |  Branch (59:17): [True: 11.3k, False: 40.9k]
  ------------------
   60|  11.3k|                *odata++ = '\\';
   61|       |                /* Map 8-bit characters to '\xhh' */
   62|  11.3k|                if (ch <= 0xff) {
  ------------------
  |  Branch (62:21): [True: 10.9k, False: 367]
  ------------------
   63|  10.9k|                    *odata++ = 'x';
   64|  10.9k|                    *odata++ = Py_hexdigits[(ch >> 4) & 0x000F];
   65|  10.9k|                    *odata++ = Py_hexdigits[ch & 0x000F];
   66|  10.9k|                }
   67|       |                /* Map 16-bit characters to '\uxxxx' */
   68|    367|                else if (ch <= 0xffff) {
  ------------------
  |  Branch (68:26): [True: 243, False: 124]
  ------------------
   69|    243|                    *odata++ = 'u';
   70|    243|                    *odata++ = Py_hexdigits[(ch >> 12) & 0xF];
   71|    243|                    *odata++ = Py_hexdigits[(ch >> 8) & 0xF];
   72|    243|                    *odata++ = Py_hexdigits[(ch >> 4) & 0xF];
   73|    243|                    *odata++ = Py_hexdigits[ch & 0xF];
   74|    243|                }
   75|       |                /* Map 21-bit characters to '\U00xxxxxx' */
   76|    124|                else {
   77|    124|                    *odata++ = 'U';
   78|    124|                    *odata++ = Py_hexdigits[(ch >> 28) & 0xF];
   79|    124|                    *odata++ = Py_hexdigits[(ch >> 24) & 0xF];
   80|    124|                    *odata++ = Py_hexdigits[(ch >> 20) & 0xF];
   81|    124|                    *odata++ = Py_hexdigits[(ch >> 16) & 0xF];
   82|    124|                    *odata++ = Py_hexdigits[(ch >> 12) & 0xF];
   83|    124|                    *odata++ = Py_hexdigits[(ch >> 8) & 0xF];
   84|    124|                    *odata++ = Py_hexdigits[(ch >> 4) & 0xF];
   85|    124|                    *odata++ = Py_hexdigits[ch & 0xF];
   86|    124|                }
   87|  11.3k|            }
   88|       |            /* Copy characters as-is */
   89|  40.9k|            else {
   90|  40.9k|                *odata++ = ch;
   91|  40.9k|            }
   92|  52.2k|        }
   93|   318k|    }
   94|    507|    *odata = quote;
   95|    507|}
unicodeobject.c:ucs4lib_repr:
   11|    652|{
   12|    652|    Py_ssize_t isize = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|    652|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    652|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    652|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   13|    652|    const void *idata = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|    652|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    652|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    652|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   14|    652|    int ikind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|    652|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.30k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 652, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   15|       |
   16|      0|    *odata++ = quote;
   17|   246k|    for (Py_ssize_t i = 0; i < isize; i++) {
  ------------------
  |  Branch (17:28): [True: 246k, False: 652]
  ------------------
   18|   246k|        Py_UCS4 ch = PyUnicode_READ(ikind, idata, i);
  ------------------
  |  |  354|   246k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   246k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   246k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   246k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   246k|                   (index))
  ------------------
   19|       |
   20|       |        /* Escape quotes and backslashes */
   21|   246k|        if ((ch == quote) || (ch == '\\')) {
  ------------------
  |  Branch (21:13): [True: 2.68k, False: 243k]
  |  Branch (21:30): [True: 2.77k, False: 240k]
  ------------------
   22|  5.45k|            *odata++ = '\\';
   23|  5.45k|            *odata++ = ch;
   24|  5.45k|            continue;
   25|  5.45k|        }
   26|       |
   27|       |        /* Map special whitespace to '\t', \n', '\r' */
   28|   240k|        if (ch == '\t') {
  ------------------
  |  Branch (28:13): [True: 833, False: 240k]
  ------------------
   29|    833|            *odata++ = '\\';
   30|    833|            *odata++ = 't';
   31|    833|        }
   32|   240k|        else if (ch == '\n') {
  ------------------
  |  Branch (32:18): [True: 5.64k, False: 234k]
  ------------------
   33|  5.64k|            *odata++ = '\\';
   34|  5.64k|            *odata++ = 'n';
   35|  5.64k|        }
   36|   234k|        else if (ch == '\r') {
  ------------------
  |  Branch (36:18): [True: 113, False: 234k]
  ------------------
   37|    113|            *odata++ = '\\';
   38|    113|            *odata++ = 'r';
   39|    113|        }
   40|       |
   41|       |        /* Map non-printable US ASCII to '\xhh' */
   42|   234k|        else if (ch < ' ' || ch == 0x7F) {
  ------------------
  |  Branch (42:18): [True: 3.99k, False: 230k]
  |  Branch (42:30): [True: 2.01k, False: 228k]
  ------------------
   43|  6.00k|            *odata++ = '\\';
   44|  6.00k|            *odata++ = 'x';
   45|  6.00k|            *odata++ = Py_hexdigits[(ch >> 4) & 0x000F];
   46|  6.00k|            *odata++ = Py_hexdigits[ch & 0x000F];
   47|  6.00k|        }
   48|       |
   49|       |        /* Copy ASCII characters as-is */
   50|   228k|        else if (ch < 0x7F) {
  ------------------
  |  Branch (50:18): [True: 195k, False: 33.2k]
  ------------------
   51|   195k|            *odata++ = ch;
   52|   195k|        }
   53|       |
   54|       |        /* Non-ASCII characters */
   55|  33.2k|        else {
   56|       |            /* Map Unicode whitespace and control characters
   57|       |               (categories Z* and C* except ASCII space)
   58|       |            */
   59|  33.2k|            if (!Py_UNICODE_ISPRINTABLE(ch)) {
  ------------------
  |  |  761|  33.2k|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  ------------------
  |  Branch (59:17): [True: 4.19k, False: 29.0k]
  ------------------
   60|  4.19k|                *odata++ = '\\';
   61|       |                /* Map 8-bit characters to '\xhh' */
   62|  4.19k|                if (ch <= 0xff) {
  ------------------
  |  Branch (62:21): [True: 3.81k, False: 374]
  ------------------
   63|  3.81k|                    *odata++ = 'x';
   64|  3.81k|                    *odata++ = Py_hexdigits[(ch >> 4) & 0x000F];
   65|  3.81k|                    *odata++ = Py_hexdigits[ch & 0x000F];
   66|  3.81k|                }
   67|       |                /* Map 16-bit characters to '\uxxxx' */
   68|    374|                else if (ch <= 0xffff) {
  ------------------
  |  Branch (68:26): [True: 353, False: 21]
  ------------------
   69|    353|                    *odata++ = 'u';
   70|    353|                    *odata++ = Py_hexdigits[(ch >> 12) & 0xF];
   71|    353|                    *odata++ = Py_hexdigits[(ch >> 8) & 0xF];
   72|    353|                    *odata++ = Py_hexdigits[(ch >> 4) & 0xF];
   73|    353|                    *odata++ = Py_hexdigits[ch & 0xF];
   74|    353|                }
   75|       |                /* Map 21-bit characters to '\U00xxxxxx' */
   76|     21|                else {
   77|     21|                    *odata++ = 'U';
   78|     21|                    *odata++ = Py_hexdigits[(ch >> 28) & 0xF];
   79|     21|                    *odata++ = Py_hexdigits[(ch >> 24) & 0xF];
   80|     21|                    *odata++ = Py_hexdigits[(ch >> 20) & 0xF];
   81|     21|                    *odata++ = Py_hexdigits[(ch >> 16) & 0xF];
   82|     21|                    *odata++ = Py_hexdigits[(ch >> 12) & 0xF];
   83|     21|                    *odata++ = Py_hexdigits[(ch >> 8) & 0xF];
   84|     21|                    *odata++ = Py_hexdigits[(ch >> 4) & 0xF];
   85|     21|                    *odata++ = Py_hexdigits[ch & 0xF];
   86|     21|                }
   87|  4.19k|            }
   88|       |            /* Copy characters as-is */
   89|  29.0k|            else {
   90|  29.0k|                *odata++ = ch;
   91|  29.0k|            }
   92|  33.2k|        }
   93|   240k|    }
   94|    652|    *odata = quote;
   95|    652|}

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|    249|{
  150|    249|    Py_ssize_t i, j, pos, count=0;
  151|    249|    PyObject *list, *sub;
  152|       |
  153|    249|    if (sep_len == 0) {
  ------------------
  |  Branch (153:9): [True: 0, False: 249]
  ------------------
  154|      0|        PyErr_SetString(PyExc_ValueError, "empty separator");
  155|      0|        return NULL;
  156|      0|    }
  157|    249|    else if (sep_len == 1)
  ------------------
  |  Branch (157:14): [True: 249, False: 0]
  ------------------
  158|    249|        return STRINGLIB(split_char)(str_obj, str, str_len, sep[0], maxcount);
  ------------------
  |  |    7|    249|#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|    249|{
  107|    249|    Py_ssize_t i, j, count=0;
  108|    249|    PyObject *list = PyList_New(PREALLOC_SIZE(maxcount));
  ------------------
  |  |   18|    249|    (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   14|    498|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |                   (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   14|    248|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (18:6): [True: 248, False: 1]
  |  |  ------------------
  ------------------
  109|    249|    PyObject *sub;
  110|       |
  111|    249|    if (list == NULL)
  ------------------
  |  Branch (111:9): [True: 0, False: 249]
  ------------------
  112|      0|        return NULL;
  113|       |
  114|    249|    i = j = 0;
  115|    747|    while ((j < str_len) && (maxcount-- > 0)) {
  ------------------
  |  Branch (115:12): [True: 498, False: 249]
  |  Branch (115:29): [True: 498, False: 0]
  ------------------
  116|  16.2k|        for(; j < str_len; j++) {
  ------------------
  |  Branch (116:15): [True: 16.0k, False: 249]
  ------------------
  117|       |            /* I found that using memchr makes no difference */
  118|  16.0k|            if (str[j] == ch) {
  ------------------
  |  Branch (118:17): [True: 249, False: 15.7k]
  ------------------
  119|    249|                SPLIT_ADD(str, i, j);
  ------------------
  |  |   32|    249|#define SPLIT_ADD(data, left, right) {          \
  |  |   33|    249|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|    249|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   34|    249|                        (right) - (left));      \
  |  |   35|    249|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 0, False: 249]
  |  |  ------------------
  |  |   36|    249|        goto onError;                           \
  |  |   37|    249|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   14|    249|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (37:9): [True: 249, False: 0]
  |  |  ------------------
  |  |   38|    249|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|    249|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    249|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    249|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    249|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    249|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   39|    249|    } 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|    249|    count++; }
  ------------------
  120|    249|                i = j = j + 1;
  121|    249|                break;
  122|    249|            }
  123|  16.0k|        }
  124|    498|    }
  125|    249|#if !STRINGLIB_MUTABLE
  126|    249|    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: 249]
  ------------------
  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|    249|#endif
  133|    249|    if (i <= str_len) {
  ------------------
  |  Branch (133:9): [True: 249, False: 0]
  ------------------
  134|    498|        SPLIT_ADD(str, i, str_len);
  ------------------
  |  |   32|    249|#define SPLIT_ADD(data, left, right) {          \
  |  |   33|    249|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|    249|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   34|    249|                        (right) - (left));      \
  |  |   35|    249|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 0, False: 249]
  |  |  ------------------
  |  |   36|    249|        goto onError;                           \
  |  |   37|    249|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   14|    249|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (37:9): [True: 249, False: 0]
  |  |  ------------------
  |  |   38|    249|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|    249|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    249|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    249|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    249|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    249|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   39|    249|    } 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|    249|    count++; }
  ------------------
  135|    498|    }
  136|    249|    FIX_PREALLOC_SIZE(list);
  ------------------
  |  |   51|    249|#define FIX_PREALLOC_SIZE(list) Py_SET_SIZE(list, count)
  |  |  ------------------
  |  |  |  |  216|    249|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  182|    249|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    249|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  137|    249|    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|    249|}
bytesobject.c:stringlib_split:
  149|  1.28k|{
  150|  1.28k|    Py_ssize_t i, j, pos, count=0;
  151|  1.28k|    PyObject *list, *sub;
  152|       |
  153|  1.28k|    if (sep_len == 0) {
  ------------------
  |  Branch (153:9): [True: 0, False: 1.28k]
  ------------------
  154|      0|        PyErr_SetString(PyExc_ValueError, "empty separator");
  155|      0|        return NULL;
  156|      0|    }
  157|  1.28k|    else if (sep_len == 1)
  ------------------
  |  Branch (157:14): [True: 1.28k, False: 0]
  ------------------
  158|  1.28k|        return STRINGLIB(split_char)(str_obj, str, str_len, sep[0], maxcount);
  ------------------
  |  |   10|  1.28k|#define STRINGLIB(F) stringlib_##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);
  ------------------
  |  |    9|      0|#define FASTSEARCH 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),        \
  |  |  ------------------
  |  |  |  |   22|      0|#define STRINGLIB_NEW            PyBytes_FromStringAndSize
  |  |  ------------------
  |  |   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)) {
  ------------------
  |  |   24|      0|#define STRINGLIB_CHECK_EXACT    PyBytes_CheckExact
  |  |  ------------------
  |  |  |  |   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 (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),        \
  |  |  ------------------
  |  |  |  |   22|      0|#define STRINGLIB_NEW            PyBytes_FromStringAndSize
  |  |  ------------------
  |  |   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|}
bytesobject.c:stringlib_split_char:
  106|  1.28k|{
  107|  1.28k|    Py_ssize_t i, j, count=0;
  108|  1.28k|    PyObject *list = PyList_New(PREALLOC_SIZE(maxcount));
  ------------------
  |  |   18|  1.28k|    (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   14|  2.56k|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |                   (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   14|  1.28k|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (18:6): [True: 1.28k, False: 0]
  |  |  ------------------
  ------------------
  109|  1.28k|    PyObject *sub;
  110|       |
  111|  1.28k|    if (list == NULL)
  ------------------
  |  Branch (111:9): [True: 0, False: 1.28k]
  ------------------
  112|      0|        return NULL;
  113|       |
  114|  1.28k|    i = j = 0;
  115|   190k|    while ((j < str_len) && (maxcount-- > 0)) {
  ------------------
  |  Branch (115:12): [True: 189k, False: 1.28k]
  |  Branch (115:29): [True: 189k, False: 0]
  ------------------
  116|  1.22M|        for(; j < str_len; j++) {
  ------------------
  |  Branch (116:15): [True: 1.22M, False: 1.26k]
  ------------------
  117|       |            /* I found that using memchr makes no difference */
  118|  1.22M|            if (str[j] == ch) {
  ------------------
  |  Branch (118:17): [True: 188k, False: 1.03M]
  ------------------
  119|   188k|                SPLIT_ADD(str, i, j);
  ------------------
  |  |   32|   188k|#define SPLIT_ADD(data, left, right) {          \
  |  |   33|   188k|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   22|   188k|#define STRINGLIB_NEW            PyBytes_FromStringAndSize
  |  |  ------------------
  |  |   34|   188k|                        (right) - (left));      \
  |  |   35|   188k|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 0, False: 188k]
  |  |  ------------------
  |  |   36|   188k|        goto onError;                           \
  |  |   37|   188k|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   14|   188k|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (37:9): [True: 6.31k, False: 181k]
  |  |  ------------------
  |  |   38|  6.31k|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|  6.31k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   39|   181k|    } else {                                    \
  |  |   40|   181k|        if (PyList_Append(list, sub)) {         \
  |  |  ------------------
  |  |  |  Branch (40:13): [True: 0, False: 181k]
  |  |  ------------------
  |  |   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|   181k|        else                                    \
  |  |   45|   181k|            Py_DECREF(sub);                     \
  |  |  ------------------
  |  |  |  |  430|   181k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   181k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   181k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|   181k|    }                                           \
  |  |   47|   188k|    count++; }
  ------------------
  120|   188k|                i = j = j + 1;
  121|   188k|                break;
  122|   188k|            }
  123|  1.22M|        }
  124|   189k|    }
  125|  1.28k|#if !STRINGLIB_MUTABLE
  126|  1.28k|    if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) {
  ------------------
  |  |   24|      8|#define STRINGLIB_CHECK_EXACT    PyBytes_CheckExact
  |  |  ------------------
  |  |  |  |   29|      8|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|      8|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 8, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (126:9): [True: 8, False: 1.27k]
  ------------------
  127|       |        /* ch not in str_obj, so just use str_obj as list[0] */
  128|      8|        Py_INCREF(str_obj);
  ------------------
  |  |  310|      8|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  129|      8|        PyList_SET_ITEM(list, 0, (PyObject *)str_obj);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  130|      8|        count++;
  131|      8|    } else
  132|  1.27k|#endif
  133|  1.27k|    if (i <= str_len) {
  ------------------
  |  Branch (133:9): [True: 1.27k, False: 0]
  ------------------
  134|  2.55k|        SPLIT_ADD(str, i, str_len);
  ------------------
  |  |   32|  1.27k|#define SPLIT_ADD(data, left, right) {          \
  |  |   33|  1.27k|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   22|  1.27k|#define STRINGLIB_NEW            PyBytes_FromStringAndSize
  |  |  ------------------
  |  |   34|  1.27k|                        (right) - (left));      \
  |  |   35|  1.27k|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 0, False: 1.27k]
  |  |  ------------------
  |  |   36|  1.27k|        goto onError;                           \
  |  |   37|  1.27k|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   14|  1.27k|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (37:9): [True: 948, False: 327]
  |  |  ------------------
  |  |   38|    948|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|    948|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    948|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    948|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    948|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    948|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   39|    948|    } else {                                    \
  |  |   40|    327|        if (PyList_Append(list, sub)) {         \
  |  |  ------------------
  |  |  |  Branch (40:13): [True: 0, False: 327]
  |  |  ------------------
  |  |   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|    327|        else                                    \
  |  |   45|    327|            Py_DECREF(sub);                     \
  |  |  ------------------
  |  |  |  |  430|    327|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    327|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    327|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|    327|    }                                           \
  |  |   47|  1.27k|    count++; }
  ------------------
  135|  2.55k|    }
  136|  1.28k|    FIX_PREALLOC_SIZE(list);
  ------------------
  |  |   51|  1.28k|#define FIX_PREALLOC_SIZE(list) Py_SET_SIZE(list, count)
  |  |  ------------------
  |  |  |  |  216|  1.28k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  182|  1.28k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  137|  1.28k|    return list;
  138|       |
  139|      0|  onError:
  140|      0|    Py_DECREF(list);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  141|       |    return NULL;
  142|  1.28k|}

bytesobject.c:return_self:
   17|     10|{
   18|     10|#if !STRINGLIB_MUTABLE
   19|     10|    if (STRINGLIB_CHECK_EXACT(self)) {
  ------------------
  |  |   24|     10|#define STRINGLIB_CHECK_EXACT    PyBytes_CheckExact
  |  |  ------------------
  |  |  |  |   29|     10|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|     10|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 10, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|     10|        return Py_NewRef(self);
  ------------------
  |  |  550|     10|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|     10|    }
   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|     10|}
bytesobject.c:stringlib_replace:
  682|     10|{
  683|     10|    if (STRINGLIB_LEN(self) < from_len) {
  ------------------
  |  |   21|     10|#define STRINGLIB_LEN            PyBytes_GET_SIZE
  |  |  ------------------
  |  |  |  |   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 (683:9): [True: 0, False: 10]
  ------------------
  684|       |        /* nothing to do; return the original bytes */
  685|      0|        return return_self(self);
  686|      0|    }
  687|     10|    if (maxcount < 0) {
  ------------------
  |  Branch (687:9): [True: 10, False: 0]
  ------------------
  688|     10|        maxcount = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|     10|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  689|     10|    } 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|     10|    if (from_len == 0) {
  ------------------
  |  Branch (695:9): [True: 0, False: 10]
  ------------------
  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|     10|    if (to_len == 0) {
  ------------------
  |  Branch (706:9): [True: 0, False: 10]
  ------------------
  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|     10|    if (from_len == to_len) {
  ------------------
  |  Branch (719:9): [True: 10, False: 0]
  ------------------
  720|     10|        if (from_len == 1) {
  ------------------
  |  Branch (720:13): [True: 10, False: 0]
  ------------------
  721|     10|            return stringlib_replace_single_character_in_place(
  722|     10|                self, from_s[0], to_s[0], maxcount);
  723|     10|        } else {
  724|      0|            return stringlib_replace_substring_in_place(
  725|      0|                self, from_s, from_len, to_s, to_len, maxcount);
  726|      0|        }
  727|     10|    }
  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|     10|{
  450|     10|    const char *self_s, *end;
  451|     10|    char *result_s, *start, *next;
  452|     10|    Py_ssize_t self_len;
  453|     10|    PyObject *result;
  454|       |
  455|       |    /* The result string will be the same size */
  456|     10|    self_s = STRINGLIB_STR(self);
  ------------------
  |  |   20|     10|#define STRINGLIB_STR            PyBytes_AS_STRING
  |  |  ------------------
  |  |  |  |   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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  457|     10|    self_len = STRINGLIB_LEN(self);
  ------------------
  |  |   21|     10|#define STRINGLIB_LEN            PyBytes_GET_SIZE
  |  |  ------------------
  |  |  |  |   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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  458|       |
  459|     10|    next = findchar(self_s, self_len, from_c);
  ------------------
  |  |  254|     10|  ((char *)memchr((const void *)(target), c, target_len))
  ------------------
  460|       |
  461|     10|    if (next == NULL) {
  ------------------
  |  Branch (461:9): [True: 10, False: 0]
  ------------------
  462|       |        /* No matches; return the original bytes */
  463|     10|        return return_self(self);
  464|     10|    }
  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|    515|{
   67|    515|    PyStructSequence *obj;
   68|    515|    Py_ssize_t size = REAL_SIZE_TP(type), i;
  ------------------
  |  |   48|    515|    get_type_attr_as_size(tp, &_Py_ID(n_fields))
  |  |  ------------------
  |  |  |  |  921|    515|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    515|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    515|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   69|    515|    if (size < 0) {
  ------------------
  |  Branch (69:9): [True: 0, False: 515]
  ------------------
   70|      0|        return NULL;
   71|      0|    }
   72|    515|    Py_ssize_t vsize = VISIBLE_SIZE_TP(type);
  ------------------
  |  |   46|    515|    get_type_attr_as_size(tp, &_Py_ID(n_sequence_fields))
  |  |  ------------------
  |  |  |  |  921|    515|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    515|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    515|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   73|    515|    if (vsize < 0) {
  ------------------
  |  Branch (73:9): [True: 0, False: 515]
  ------------------
   74|      0|        return NULL;
   75|      0|    }
   76|       |
   77|    515|    obj = PyObject_GC_NewVar(PyStructSequence, type, size);
  ------------------
  |  |  183|    515|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|    515|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   78|    515|    if (obj == NULL)
  ------------------
  |  Branch (78:9): [True: 0, False: 515]
  ------------------
   79|      0|        return NULL;
   80|    515|    _PyTuple_RESET_HASH_CACHE(obj);
  ------------------
  |  |   44|    515|    do {                                    \
  |  |   45|    515|        assert(op != NULL);                 \
  |  |   46|  1.03k|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|    515|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    515|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|  1.03k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 515]
  |  |  ------------------
  ------------------
  |  Branch (80:5): [True: 515, False: 0]
  |  Branch (80:5): [True: 515, False: 0]
  ------------------
   81|       |    /* Hack the size of the variable object, so invisible fields don't appear
   82|       |     to Python code. */
   83|    515|    Py_SET_SIZE(obj, vsize);
  ------------------
  |  |  216|    515|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    515|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    515|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|  10.1k|    for (i = 0; i < size; i++)
  ------------------
  |  Branch (84:17): [True: 9.67k, False: 515]
  ------------------
   85|  9.67k|        obj->ob_item[i] = NULL;
   86|       |
   87|    515|    return (PyObject*)obj;
   88|    515|}
PyStructSequence_SetItem:
   92|  9.67k|{
   93|  9.67k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  9.67k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  9.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (93:28): [True: 9.67k, False: 0]
  ------------------
   94|  9.67k|    assert(0 <= index);
  ------------------
  |  Branch (94:5): [True: 9.67k, False: 0]
  ------------------
   95|  9.67k|#ifndef NDEBUG
   96|  9.67k|    Py_ssize_t n_fields = REAL_SIZE(op);
  ------------------
  |  |   49|  9.67k|#define REAL_SIZE(op) get_real_size((PyObject *)op)
  ------------------
   97|  9.67k|    assert(n_fields >= 0);
  ------------------
  |  Branch (97:5): [True: 9.67k, False: 0]
  ------------------
   98|  9.67k|    assert(index < n_fields);
  ------------------
  |  Branch (98:5): [True: 9.67k, False: 0]
  ------------------
   99|  9.67k|#endif
  100|  9.67k|    tuple->ob_item[index] = value;
  101|  9.67k|}
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|  1.03k|{
   30|  1.03k|    PyObject *v = PyDict_GetItemWithError(_PyType_GetDict(tp), name);
   31|       |
   32|  1.03k|    if (v == NULL) {
  ------------------
  |  Branch (32:9): [True: 0, False: 1.03k]
  ------------------
   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|  1.03k|    return PyLong_AsSsize_t(v);
   42|  1.03k|}
structseq.c:get_real_size:
   57|  10.2k|{
   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|  10.2k|    Py_ssize_t hidden = Py_TYPE(op)->tp_basicsize - offsetof(PyStructSequence, ob_item);
  ------------------
  |  |  213|  10.2k|#  define Py_TYPE(ob) _Py_TYPE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   61|  10.2k|    return Py_SIZE(op) + hidden / sizeof(PyObject *);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   62|  10.2k|}
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|    503|{
  134|    503|    PyStructSequence *obj = (PyStructSequence *)op;
  135|    503|    Py_ssize_t i, size;
  136|    503|    PyObject_GC_UnTrack(obj);
  137|       |
  138|    503|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|    503|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    503|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    503|#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|    503|    size = REAL_SIZE(obj);
  ------------------
  |  |   49|    503|#define REAL_SIZE(op) get_real_size((PyObject *)op)
  ------------------
  143|  10.0k|    for (i = 0; i < size; ++i) {
  ------------------
  |  Branch (143:17): [True: 9.56k, False: 503]
  ------------------
  144|  9.56k|        Py_XDECREF(obj->ob_item[i]);
  ------------------
  |  |  524|  9.56k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  145|  9.56k|    }
  146|    503|    PyObject_GC_Del(obj);
  147|    503|    if (_PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    503|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (147:9): [True: 501, False: 2]
  ------------------
  148|    501|        Py_DECREF(tp);
  ------------------
  |  |  430|    501|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    501|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    501|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  149|    501|    }
  150|    503|}

PyTuple_New:
   76|   808k|{
   77|   808k|    PyTupleObject *op;
   78|   808k|    if (size == 0) {
  ------------------
  |  Branch (78:9): [True: 276k, False: 532k]
  ------------------
   79|   276k|        return tuple_get_empty();
   80|   276k|    }
   81|   532k|    op = tuple_alloc(size);
   82|   532k|    if (op == NULL) {
  ------------------
  |  Branch (82:9): [True: 0, False: 532k]
  ------------------
   83|      0|        return NULL;
   84|      0|    }
   85|   116M|    for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (85:28): [True: 115M, False: 532k]
  ------------------
   86|   115M|        op->ob_item[i] = NULL;
   87|   115M|    }
   88|   532k|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  505|   532k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   532k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   532k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   89|   532k|    return (PyObject *) op;
   90|   532k|}
PyTuple_Size:
   94|  2.42k|{
   95|  2.42k|    if (!PyTuple_Check(op)) {
  ------------------
  |  |   27|  2.42k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.42k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (95:9): [True: 0, False: 2.42k]
  ------------------
   96|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   97|      0|        return -1;
   98|      0|    }
   99|  2.42k|    else
  100|  2.42k|        return Py_SIZE(op);
  ------------------
  |  |  214|  2.42k|#  define Py_SIZE(ob) _Py_SIZE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  101|  2.42k|}
PyTuple_GetItem:
  105|  7.86k|{
  106|  7.86k|    if (!PyTuple_Check(op)) {
  ------------------
  |  |   27|  7.86k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.86k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (106:9): [True: 0, False: 7.86k]
  ------------------
  107|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  108|      0|        return NULL;
  109|      0|    }
  110|  7.86k|    if (i < 0 || i >= Py_SIZE(op)) {
  ------------------
  |  |  214|  7.86k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (110:9): [True: 0, False: 7.86k]
  |  Branch (110:18): [True: 0, False: 7.86k]
  ------------------
  111|      0|        PyErr_SetString(PyExc_IndexError, "tuple index out of range");
  112|      0|        return NULL;
  113|      0|    }
  114|  7.86k|    return ((PyTupleObject *)op) -> ob_item[i];
  115|  7.86k|}
_PyTuple_MaybeUntrack:
  139|  46.7M|{
  140|  46.7M|    PyTupleObject *t;
  141|  46.7M|    Py_ssize_t i, n;
  142|       |
  143|  46.7M|    if (!PyTuple_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op))
  ------------------
  |  |   28|  46.7M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  93.4M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  46.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  46.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PyTuple_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op))
  ------------------
  |  |   81|  46.7M|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  46.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (143:9): [True: 0, False: 46.7M]
  |  Branch (143:36): [True: 0, False: 46.7M]
  ------------------
  144|      0|        return;
  145|  46.7M|    t = (PyTupleObject *) op;
  146|  46.7M|    n = Py_SIZE(t);
  ------------------
  |  |  214|  46.7M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  46.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  147|   324M|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (147:17): [True: 277M, False: 46.5M]
  ------------------
  148|   277M|        PyObject *elt = PyTuple_GET_ITEM(t, i);
  ------------------
  |  |   29|   277M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   277M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   277M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (148:25): [True: 277M, False: 0]
  ------------------
  149|       |        /* Tuple with NULL elements aren't
  150|       |           fully constructed, don't untrack
  151|       |           them yet. */
  152|   277M|        if (!elt ||
  ------------------
  |  Branch (152:13): [True: 0, False: 277M]
  ------------------
  153|   277M|            _PyObject_GC_MAY_BE_TRACKED(elt))
  ------------------
  |  Branch (153:13): [True: 189k, False: 277M]
  ------------------
  154|   189k|            return;
  155|   277M|    }
  156|  46.5M|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  507|  46.5M|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  46.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  157|  46.5M|}
PyTuple_Pack:
  173|   107k|{
  174|   107k|    Py_ssize_t i;
  175|   107k|    PyObject *o;
  176|   107k|    PyObject **items;
  177|   107k|    va_list vargs;
  178|   107k|    bool track = false;
  179|       |
  180|   107k|    if (n == 0) {
  ------------------
  |  Branch (180:9): [True: 0, False: 107k]
  ------------------
  181|      0|        return tuple_get_empty();
  182|      0|    }
  183|       |
  184|   107k|    va_start(vargs, n);
  185|   107k|    PyTupleObject *result = tuple_alloc(n);
  186|   107k|    if (result == NULL) {
  ------------------
  |  Branch (186:9): [True: 0, False: 107k]
  ------------------
  187|      0|        va_end(vargs);
  188|      0|        return NULL;
  189|      0|    }
  190|   107k|    items = result->ob_item;
  191|   421k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (191:17): [True: 314k, False: 107k]
  ------------------
  192|   314k|        o = va_arg(vargs, PyObject *);
  193|   314k|        if (!track && maybe_tracked(o)) {
  ------------------
  |  Branch (193:13): [True: 189k, False: 124k]
  |  Branch (193:23): [True: 90.6k, False: 99.1k]
  ------------------
  194|  90.6k|            track = true;
  195|  90.6k|        }
  196|   314k|        items[i] = Py_NewRef(o);
  ------------------
  |  |  550|   314k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   314k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   314k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|   314k|    }
  198|   107k|    va_end(vargs);
  199|   107k|    if (track) {
  ------------------
  |  Branch (199:9): [True: 90.6k, False: 16.3k]
  ------------------
  200|  90.6k|        _PyObject_GC_TRACK(result);
  ------------------
  |  |  505|  90.6k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  90.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  90.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  201|  90.6k|    }
  202|   107k|    return (PyObject *)result;
  203|   107k|}
_PyTuple_FromPair:
  207|  53.5M|{
  208|  53.5M|    assert(first != NULL);
  ------------------
  |  Branch (208:5): [True: 53.5M, False: 0]
  ------------------
  209|  53.5M|    assert(second != NULL);
  ------------------
  |  Branch (209:5): [True: 53.5M, False: 0]
  ------------------
  210|       |
  211|  53.5M|    return _PyTuple_FromPairSteal(Py_NewRef(first), Py_NewRef(second));
  ------------------
  |  |  550|  53.5M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  53.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _PyTuple_FromPairSteal(Py_NewRef(first), Py_NewRef(second));
  ------------------
  |  |  550|  53.5M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  53.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  212|  53.5M|}
_PyTuple_FromPairSteal:
  216|  53.5M|{
  217|  53.5M|    assert(first != NULL);
  ------------------
  |  Branch (217:5): [True: 53.5M, False: 0]
  ------------------
  218|  53.5M|    assert(second != NULL);
  ------------------
  |  Branch (218:5): [True: 53.5M, False: 0]
  ------------------
  219|       |
  220|  53.5M|    PyTupleObject *op = tuple_alloc(2);
  221|  53.5M|    if (op == NULL) {
  ------------------
  |  Branch (221:9): [True: 0, False: 53.5M]
  ------------------
  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|  53.5M|    PyObject **items = op->ob_item;
  227|  53.5M|    items[0] = first;
  228|  53.5M|    items[1] = second;
  229|  53.5M|    if (maybe_tracked(first) || maybe_tracked(second)) {
  ------------------
  |  Branch (229:9): [True: 53.5M, False: 49.4k]
  |  Branch (229:33): [True: 11.0k, False: 38.4k]
  ------------------
  230|  53.5M|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  505|  53.5M|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  53.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  231|  53.5M|    }
  232|  53.5M|    return (PyObject *)op;
  233|  53.5M|}
PyTuple_FromArray:
  437|   530k|{
  438|   530k|    if (n == 0) {
  ------------------
  |  Branch (438:9): [True: 253k, False: 276k]
  ------------------
  439|   253k|        return tuple_get_empty();
  440|   253k|    }
  441|       |
  442|   276k|    PyTupleObject *tuple = tuple_alloc(n);
  443|   276k|    if (tuple == NULL) {
  ------------------
  |  Branch (443:9): [True: 0, False: 276k]
  ------------------
  444|      0|        return NULL;
  445|      0|    }
  446|   276k|    PyObject **dst = tuple->ob_item;
  447|   276k|    bool track = false;
  448|  1.14M|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (448:28): [True: 866k, False: 276k]
  ------------------
  449|   866k|        PyObject *item = src[i];
  450|   866k|        if (!track && maybe_tracked(item)) {
  ------------------
  |  Branch (450:13): [True: 546k, False: 320k]
  |  Branch (450:23): [True: 78.8k, False: 467k]
  ------------------
  451|  78.8k|            track = true;
  452|  78.8k|        }
  453|   866k|        dst[i] = Py_NewRef(item);
  ------------------
  |  |  550|   866k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   866k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   866k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  454|   866k|    }
  455|   276k|    if (track) {
  ------------------
  |  Branch (455:9): [True: 78.8k, False: 198k]
  ------------------
  456|  78.8k|        _PyObject_GC_TRACK(tuple);
  ------------------
  |  |  505|  78.8k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  78.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  78.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  457|  78.8k|    }
  458|   276k|    return (PyObject *)tuple;
  459|   276k|}
_PyTuple_FromStackRefStealOnSuccess:
  463|   479k|{
  464|   479k|    if (n == 0) {
  ------------------
  |  Branch (464:9): [True: 0, False: 479k]
  ------------------
  465|      0|        return tuple_get_empty();
  466|      0|    }
  467|   479k|    PyTupleObject *tuple = tuple_alloc(n);
  468|   479k|    if (tuple == NULL) {
  ------------------
  |  Branch (468:9): [True: 0, False: 479k]
  ------------------
  469|      0|        return NULL;
  470|      0|    }
  471|   479k|    PyObject **dst = tuple->ob_item;
  472|   479k|    bool track = false;
  473|  1.43M|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (473:28): [True: 957k, False: 479k]
  ------------------
  474|   957k|        PyObject *item = PyStackRef_AsPyObjectSteal(src[i]);
  475|   957k|        if (!track && maybe_tracked(item)) {
  ------------------
  |  Branch (475:13): [True: 952k, False: 5.06k]
  |  Branch (475:23): [True: 21.8k, False: 930k]
  ------------------
  476|  21.8k|            track = true;
  477|  21.8k|        }
  478|   957k|        dst[i] = item;
  479|   957k|    }
  480|   479k|    if (track) {
  ------------------
  |  Branch (480:9): [True: 21.8k, False: 457k]
  ------------------
  481|  21.8k|        _PyObject_GC_TRACK(tuple);
  ------------------
  |  |  505|  21.8k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  482|  21.8k|    }
  483|   479k|    return (PyObject *)tuple;
  484|   479k|}
_PyTuple_FromArraySteal:
  488|  1.33k|{
  489|  1.33k|    if (n == 0) {
  ------------------
  |  Branch (489:9): [True: 0, False: 1.33k]
  ------------------
  490|      0|        return tuple_get_empty();
  491|      0|    }
  492|  1.33k|    PyTupleObject *tuple = tuple_alloc(n);
  493|  1.33k|    if (tuple == NULL) {
  ------------------
  |  Branch (493:9): [True: 0, False: 1.33k]
  ------------------
  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|  1.33k|    PyObject **dst = tuple->ob_item;
  500|  15.7k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (500:28): [True: 14.4k, False: 1.33k]
  ------------------
  501|  14.4k|        PyObject *item = src[i];
  502|  14.4k|        dst[i] = item;
  503|  14.4k|    }
  504|  1.33k|    _PyObject_GC_TRACK(tuple);
  ------------------
  |  |  505|  1.33k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  505|  1.33k|    return (PyObject *)tuple;
  506|  1.33k|}
PyTuple_GetSlice:
  545|  6.04k|{
  546|  6.04k|    if (op == NULL || !PyTuple_Check(op)) {
  ------------------
  |  |   27|  6.04k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  6.04k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (546:9): [True: 0, False: 6.04k]
  |  Branch (546:23): [True: 0, False: 6.04k]
  ------------------
  547|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  548|      0|        return NULL;
  549|      0|    }
  550|  6.04k|    return tuple_slice((PyTupleObject *)op, i, j);
  551|  6.04k|}
_PyTuple_Concat:
  555|  17.1k|{
  556|  17.1k|    PyTupleObject *a = _PyTuple_CAST(aa);
  ------------------
  |  |   19|  17.1k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  17.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (556:24): [True: 17.1k, False: 0]
  ------------------
  557|  17.1k|    if (Py_SIZE(a) == 0 && PyTuple_CheckExact(bb)) {
  ------------------
  |  |  214|  17.1k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_SIZE(a) == 0 && PyTuple_CheckExact(bb)) {
  ------------------
  |  |   28|  1.16k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  1.16k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.07k, False: 97]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (557:9): [True: 1.16k, False: 15.9k]
  ------------------
  558|  1.07k|        return Py_NewRef(bb);
  ------------------
  |  |  550|  1.07k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  559|  1.07k|    }
  560|  16.0k|    if (!PyTuple_Check(bb)) {
  ------------------
  |  |   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 (560:9): [True: 219, False: 15.8k]
  ------------------
  561|    219|        PyErr_Format(PyExc_TypeError,
  562|    219|             "can only concatenate tuple (not \"%.200s\") to tuple",
  563|    219|                 Py_TYPE(bb)->tp_name);
  ------------------
  |  |  213|    219|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    219|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  564|    219|        return NULL;
  565|    219|    }
  566|  15.8k|    PyTupleObject *b = (PyTupleObject *)bb;
  567|       |
  568|  15.8k|    if (Py_SIZE(b) == 0 && PyTuple_CheckExact(a)) {
  ------------------
  |  |  214|  15.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  15.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_SIZE(b) == 0 && PyTuple_CheckExact(a)) {
  ------------------
  |  |   28|    459|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|    459|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    459|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    459|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 459, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (568:9): [True: 459, False: 15.3k]
  ------------------
  569|    459|        return Py_NewRef(a);
  ------------------
  |  |  550|    459|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    459|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    459|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  570|    459|    }
  571|  15.8k|    assert((size_t)Py_SIZE(a) + (size_t)Py_SIZE(b) < PY_SSIZE_T_MAX);
  ------------------
  |  Branch (571:5): [True: 15.3k, False: 0]
  ------------------
  572|  15.3k|    Py_ssize_t size = Py_SIZE(a) + Py_SIZE(b);
  ------------------
  |  |  214|  15.3k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  15.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  Py_ssize_t size = Py_SIZE(a) + Py_SIZE(b);
  ------------------
  |  |  214|  15.3k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  15.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  573|  15.3k|    if (size == 0) {
  ------------------
  |  Branch (573:9): [True: 0, False: 15.3k]
  ------------------
  574|      0|        return tuple_get_empty();
  575|      0|    }
  576|       |
  577|  15.3k|    PyTupleObject *np = tuple_alloc(size);
  578|  15.3k|    if (np == NULL) {
  ------------------
  |  Branch (578:9): [True: 0, False: 15.3k]
  ------------------
  579|      0|        return NULL;
  580|      0|    }
  581|       |
  582|  15.3k|    PyObject **src = a->ob_item;
  583|  15.3k|    PyObject **dest = np->ob_item;
  584|   103M|    for (Py_ssize_t i = 0; i < Py_SIZE(a); i++) {
  ------------------
  |  |  214|   103M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   103M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   103M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (584:28): [True: 103M, False: 15.3k]
  ------------------
  585|   103M|        PyObject *v = src[i];
  586|   103M|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  550|   103M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   103M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   103M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  587|   103M|    }
  588|       |
  589|  15.3k|    src = b->ob_item;
  590|  15.3k|    dest = np->ob_item + Py_SIZE(a);
  ------------------
  |  |  214|  15.3k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  15.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  591|  2.32M|    for (Py_ssize_t i = 0; i < Py_SIZE(b); i++) {
  ------------------
  |  |  214|  2.32M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (591:28): [True: 2.30M, False: 15.3k]
  ------------------
  592|  2.30M|        PyObject *v = src[i];
  593|  2.30M|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  550|  2.30M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.30M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.30M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  594|  2.30M|    }
  595|       |
  596|  15.3k|    _PyObject_GC_TRACK(np);
  ------------------
  |  |  505|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  597|  15.3k|    return (PyObject *)np;
  598|  15.3k|}
_PyTuple_Repeat:
  602|  30.6k|{
  603|  30.6k|    PyTupleObject *a = _PyTuple_CAST(self);
  ------------------
  |  |   19|  30.6k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  30.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (603:24): [True: 30.6k, False: 0]
  ------------------
  604|  30.6k|    const Py_ssize_t input_size = Py_SIZE(a);
  ------------------
  |  |  214|  30.6k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  30.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  605|  30.6k|    if (input_size == 0 || n == 1) {
  ------------------
  |  Branch (605:9): [True: 111, False: 30.4k]
  |  Branch (605:28): [True: 1.48k, False: 29.0k]
  ------------------
  606|  1.59k|        if (PyTuple_CheckExact(a)) {
  ------------------
  |  |   28|  1.59k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  1.59k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.59k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  607|       |            /* Since tuples are immutable, we can return a shared
  608|       |               copy in this case */
  609|  1.59k|            return Py_NewRef(a);
  ------------------
  |  |  550|  1.59k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  610|  1.59k|        }
  611|  1.59k|    }
  612|  29.0k|    if (input_size == 0 || n <= 0) {
  ------------------
  |  Branch (612:9): [True: 0, False: 29.0k]
  |  Branch (612:28): [True: 690, False: 28.3k]
  ------------------
  613|    690|        return tuple_get_empty();
  614|    690|    }
  615|  29.0k|    assert(n>0);
  ------------------
  |  Branch (615:5): [True: 28.3k, False: 0]
  ------------------
  616|       |
  617|  28.3k|    if (input_size > PY_SSIZE_T_MAX / n)
  ------------------
  |  |  137|  28.3k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (617:9): [True: 0, False: 28.3k]
  ------------------
  618|      0|        return PyErr_NoMemory();
  619|  28.3k|    Py_ssize_t output_size = input_size * n;
  620|       |
  621|  28.3k|    PyTupleObject *np = tuple_alloc(output_size);
  622|  28.3k|    if (np == NULL)
  ------------------
  |  Branch (622:9): [True: 0, False: 28.3k]
  ------------------
  623|      0|        return NULL;
  624|       |
  625|  28.3k|    PyObject **dest = np->ob_item;
  626|  28.3k|    if (input_size == 1) {
  ------------------
  |  Branch (626:9): [True: 5.34k, False: 22.9k]
  ------------------
  627|  5.34k|        PyObject *elem = a->ob_item[0];
  628|  5.34k|        _Py_RefcntAdd(elem, n);
  ------------------
  |  |  179|  5.34k|#define _Py_RefcntAdd(op, n) _Py_RefcntAdd(_PyObject_CAST(op), n)
  |  |  ------------------
  |  |  |  |  171|  5.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  629|  5.34k|        PyObject **dest_end = dest + output_size;
  630|  54.3k|        while (dest < dest_end) {
  ------------------
  |  Branch (630:16): [True: 49.0k, False: 5.34k]
  ------------------
  631|  49.0k|            *dest++ = elem;
  632|  49.0k|        }
  633|  5.34k|    }
  634|  22.9k|    else {
  635|  22.9k|        PyObject **src = a->ob_item;
  636|  22.9k|        PyObject **src_end = src + input_size;
  637|  75.0k|        while (src < src_end) {
  ------------------
  |  Branch (637:16): [True: 52.0k, False: 22.9k]
  ------------------
  638|  52.0k|            _Py_RefcntAdd(*src, n);
  ------------------
  |  |  179|  52.0k|#define _Py_RefcntAdd(op, n) _Py_RefcntAdd(_PyObject_CAST(op), n)
  |  |  ------------------
  |  |  |  |  171|  52.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  639|  52.0k|            *dest++ = *src++;
  640|  52.0k|        }
  641|       |
  642|  22.9k|        _Py_memory_repeat((char *)np->ob_item, sizeof(PyObject *)*output_size,
  643|  22.9k|                          sizeof(PyObject *)*input_size);
  644|  22.9k|    }
  645|  28.3k|    _PyObject_GC_TRACK(np);
  ------------------
  |  |  505|  28.3k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  28.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  646|  28.3k|    return (PyObject *) np;
  647|  28.3k|}
_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);
  ------------------
  |  |  507|      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);
  ------------------
  |  |  505|      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|   531k|{
   71|   531k|    return (PyObject *)&_Py_SINGLETON(tuple_empty);
  ------------------
  |  |   18|   531k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|   531k|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
   72|   531k|}
tupleobject.c:tuple_alloc:
   38|  54.9M|{
   39|  54.9M|    if (size < 0) {
  ------------------
  |  Branch (39:9): [True: 0, False: 54.9M]
  ------------------
   40|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   41|      0|        return NULL;
   42|      0|    }
   43|  54.9M|    assert(size != 0);    // The empty tuple is statically allocated.
  ------------------
  |  Branch (43:5): [True: 54.9M, False: 0]
  ------------------
   44|  54.9M|    Py_ssize_t index = size - 1;
   45|  54.9M|    if (index < PyTuple_MAXSAVESIZE) {
  ------------------
  |  |   11|  54.9M|#  define PyTuple_MAXSAVESIZE 20     // Largest tuple to save on freelist
  ------------------
  |  Branch (45:9): [True: 54.9M, False: 84.4k]
  ------------------
   46|  54.9M|        PyTupleObject *op = _Py_FREELIST_POP(PyTupleObject, tuples[index]);
  ------------------
  |  |   43|  54.9M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  54.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   47|  54.9M|        if (op != NULL) {
  ------------------
  |  Branch (47:13): [True: 6.36M, False: 48.5M]
  ------------------
   48|  6.36M|            _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   44|  6.36M|    do {                                    \
  |  |   45|  6.36M|        assert(op != NULL);                 \
  |  |   46|  12.7M|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|  6.36M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.36M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|  12.7M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 6.36M]
  |  |  ------------------
  ------------------
  |  Branch (48:13): [True: 6.36M, False: 0]
  |  Branch (48:13): [True: 6.36M, False: 0]
  ------------------
   49|  6.36M|            return op;
   50|  6.36M|        }
   51|  54.9M|    }
   52|       |    /* Check for overflow */
   53|  48.6M|    if ((size_t)size > ((size_t)PY_SSIZE_T_MAX - (sizeof(PyTupleObject) -
  ------------------
  |  |  137|  48.6M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (53:9): [True: 0, False: 48.6M]
  ------------------
   54|  48.6M|                sizeof(PyObject *))) / sizeof(PyObject *)) {
   55|      0|        return (PyTupleObject *)PyErr_NoMemory();
   56|      0|    }
   57|  48.6M|    PyTupleObject *result = PyObject_GC_NewVar(PyTupleObject, &PyTuple_Type, size);
  ------------------
  |  |  183|  48.6M|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|  48.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   58|  48.6M|    if (result != NULL) {
  ------------------
  |  Branch (58:9): [True: 48.6M, False: 0]
  ------------------
   59|  48.6M|        _PyTuple_RESET_HASH_CACHE(result);
  ------------------
  |  |   44|  48.6M|    do {                                    \
  |  |   45|  48.6M|        assert(op != NULL);                 \
  |  |   46|  97.2M|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|  48.6M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|  97.2M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 48.6M]
  |  |  ------------------
  ------------------
  |  Branch (59:9): [True: 48.6M, False: 0]
  |  Branch (59:9): [True: 48.6M, False: 0]
  ------------------
   60|  48.6M|    }
   61|  48.6M|    return result;
   62|  48.6M|}
tupleobject.c:maybe_tracked:
  167|  55.2M|{
  168|  55.2M|    return _PyType_IS_GC(Py_TYPE(ob));
  ------------------
  |  |  820|  55.2M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  55.2M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  ------------------
  169|  55.2M|}
tupleobject.c:tuple_slice:
  511|  6.04k|{
  512|  6.04k|    if (ilow < 0)
  ------------------
  |  Branch (512:9): [True: 0, False: 6.04k]
  ------------------
  513|      0|        ilow = 0;
  514|  6.04k|    if (ihigh > Py_SIZE(a))
  ------------------
  |  |  214|  6.04k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (514:9): [True: 0, False: 6.04k]
  ------------------
  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|  6.04k|    if (ihigh < ilow)
  ------------------
  |  Branch (516:9): [True: 0, False: 6.04k]
  ------------------
  517|      0|        ihigh = ilow;
  518|  6.04k|    if (ilow == 0 && ihigh == Py_SIZE(a) && PyTuple_CheckExact(a)) {
  ------------------
  |  |  214|  11.5k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.52k|#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: 5.52k, False: 516]
  |  Branch (518:22): [True: 0, False: 5.52k]
  ------------------
  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|  6.04k|    return PyTuple_FromArray(a->ob_item + ilow, ihigh - ilow);
  522|  6.04k|}
tupleobject.c:tuple_dealloc:
  256|  54.9M|{
  257|  54.9M|    PyTupleObject *op = _PyTuple_CAST(self);
  ------------------
  |  |   19|  54.9M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  54.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (257:25): [True: 54.9M, False: 0]
  ------------------
  258|  54.9M|    if (Py_SIZE(op) == 0) {
  ------------------
  |  |  214|  54.9M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  54.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (258:9): [True: 0, False: 54.9M]
  ------------------
  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|  54.9M|    PyObject_GC_UnTrack(op);
  274|       |
  275|  54.9M|    Py_ssize_t i = Py_SIZE(op);
  ------------------
  |  |  214|  54.9M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  54.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  276|   389M|    while (--i >= 0) {
  ------------------
  |  Branch (276:12): [True: 334M, False: 54.9M]
  ------------------
  277|   334M|        Py_XDECREF(op->ob_item[i]);
  ------------------
  |  |  524|   334M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   334M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   334M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  278|   334M|    }
  279|       |    // This will abort on the empty singleton (if there is one).
  280|  54.9M|    if (!maybe_freelist_push(op)) {
  ------------------
  |  Branch (280:9): [True: 48.6M, False: 6.37M]
  ------------------
  281|  48.6M|        Py_TYPE(op)->tp_free((PyObject *)op);
  ------------------
  |  |  213|  48.6M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  48.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  282|  48.6M|    }
  283|  54.9M|}
tupleobject.c:tuple_length:
  408|  12.7k|{
  409|  12.7k|    PyTupleObject *a = _PyTuple_CAST(self);
  ------------------
  |  |   19|  12.7k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  12.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (409:24): [True: 12.7k, False: 0]
  ------------------
  410|  12.7k|    return Py_SIZE(a);
  ------------------
  |  |  214|  12.7k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  411|  12.7k|}
tupleobject.c:tuple_item:
  426|  1.27k|{
  427|  1.27k|    PyTupleObject *a = _PyTuple_CAST(op);
  ------------------
  |  |   19|  1.27k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (427:24): [True: 1.27k, False: 0]
  ------------------
  428|  1.27k|    if (i < 0 || i >= Py_SIZE(a)) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (428:9): [True: 270, False: 1.00k]
  |  Branch (428:18): [True: 913, False: 87]
  ------------------
  429|  1.18k|        PyErr_SetString(PyExc_IndexError, "tuple index out of range");
  430|  1.18k|        return NULL;
  431|  1.18k|    }
  432|     87|    return Py_NewRef(a->ob_item[i]);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  433|  1.27k|}
tupleobject.c:tuple_contains:
  415|   318k|{
  416|   318k|    PyTupleObject *a = _PyTuple_CAST(self);
  ------------------
  |  |   19|   318k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   318k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (416:24): [True: 318k, False: 0]
  ------------------
  417|      0|    int cmp = 0;
  418|   936k|    for (Py_ssize_t i = 0; cmp == 0 && i < Py_SIZE(a); ++i) {
  ------------------
  |  |  214|   913k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   913k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   913k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (418:28): [True: 913k, False: 22.5k]
  |  Branch (418:40): [True: 617k, False: 296k]
  ------------------
  419|   617k|        cmp = PyObject_RichCompareBool(PyTuple_GET_ITEM(a, i), el, Py_EQ);
  ------------------
  |  |   29|   617k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   617k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   617k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      cmp = PyObject_RichCompareBool(PyTuple_GET_ITEM(a, i), el, Py_EQ);
  ------------------
  |  |  654|   617k|#define Py_EQ 2
  ------------------
  |  Branch (419:40): [True: 617k, False: 0]
  ------------------
  420|   617k|    }
  421|   318k|    return cmp;
  422|   318k|}
tupleobject.c:tuple_subscript:
  892|  2.28k|{
  893|  2.28k|    PyTupleObject *self = _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 (893:27): [True: 2.28k, False: 0]
  ------------------
  894|  2.28k|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (894:9): [True: 1.77k, False: 510]
  ------------------
  895|  1.77k|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
  896|  1.77k|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (896:13): [True: 545, False: 1.22k]
  |  Branch (896:24): [True: 502, False: 43]
  ------------------
  897|    502|            return NULL;
  898|  1.27k|        if (i < 0)
  ------------------
  |  Branch (898:13): [True: 305, False: 965]
  ------------------
  899|    305|            i += PyTuple_GET_SIZE(self);
  ------------------
  |  |   27|    305|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    305|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    305|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  900|  1.27k|        return tuple_item(op, i);
  901|  1.77k|    }
  902|    510|    else if (PySlice_Check(item)) {
  ------------------
  |  |   22|    510|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|    510|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    510|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    510|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 390, False: 120]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  903|    390|        Py_ssize_t start, stop, step, slicelength, i;
  904|    390|        size_t cur;
  905|    390|        PyObject* it;
  906|    390|        PyObject **src, **dest;
  907|       |
  908|    390|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (908:13): [True: 7, False: 383]
  ------------------
  909|      7|            return NULL;
  910|      7|        }
  911|    383|        slicelength = PySlice_AdjustIndices(PyTuple_GET_SIZE(self), &start,
  ------------------
  |  |   27|    383|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    383|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    383|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  912|    383|                                            &stop, step);
  913|       |
  914|    383|        if (slicelength <= 0) {
  ------------------
  |  Branch (914:13): [True: 17, False: 366]
  ------------------
  915|     17|            return tuple_get_empty();
  916|     17|        }
  917|    366|        else if (start == 0 && step == 1 &&
  ------------------
  |  Branch (917:18): [True: 353, False: 13]
  |  Branch (917:32): [True: 323, False: 30]
  ------------------
  918|    323|                 slicelength == PyTuple_GET_SIZE(self) &&
  ------------------
  |  |   27|    689|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    323|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    323|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (918:18): [True: 317, False: 6]
  ------------------
  919|    317|                 PyTuple_CheckExact(self)) {
  ------------------
  |  |   28|    317|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|    317|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    317|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    317|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 317, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  920|    317|            return Py_NewRef(self);
  ------------------
  |  |  550|    317|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    317|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    317|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  921|    317|        }
  922|     49|        else {
  923|     49|            PyTupleObject* result = tuple_alloc(slicelength);
  924|     49|            if (!result) return NULL;
  ------------------
  |  Branch (924:17): [True: 0, False: 49]
  ------------------
  925|       |
  926|     49|            src = self->ob_item;
  927|     49|            dest = result->ob_item;
  928|    151|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (928:38): [True: 102, False: 49]
  ------------------
  929|    102|                 cur += step, i++) {
  930|    102|                it = Py_NewRef(src[cur]);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  931|    102|                dest[i] = it;
  932|    102|            }
  933|       |
  934|     49|            _PyObject_GC_TRACK(result);
  ------------------
  |  |  505|     49|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     49|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     49|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  935|     49|            return (PyObject *)result;
  936|     49|        }
  937|    383|    }
  938|    120|    else {
  939|    120|        PyErr_Format(PyExc_TypeError,
  940|    120|                     "tuple indices must be integers or slices, not %.200s",
  941|    120|                     Py_TYPE(item)->tp_name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  942|       |        return NULL;
  943|    120|    }
  944|  2.28k|}
tupleobject.c:tuple_hash:
  373|  55.5M|{
  374|  55.5M|    PyTupleObject *v = _PyTuple_CAST(op);
  ------------------
  |  |   19|  55.5M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  55.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (374:24): [True: 55.5M, False: 0]
  ------------------
  375|       |
  376|  55.5M|    Py_uhash_t acc = FT_ATOMIC_LOAD_SSIZE_RELAXED(v->ob_hash);
  ------------------
  |  |  149|  55.5M|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  377|  55.5M|    if (acc != (Py_uhash_t)-1) {
  ------------------
  |  Branch (377:9): [True: 1.44M, False: 54.0M]
  ------------------
  378|  1.44M|        return acc;
  379|  1.44M|    }
  380|       |
  381|  54.0M|    Py_ssize_t len = Py_SIZE(v);
  ------------------
  |  |  214|  54.0M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  54.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  382|  54.0M|    PyObject **item = v->ob_item;
  383|  54.0M|    acc = _PyTuple_HASH_XXPRIME_5;
  ------------------
  |  |   69|  54.0M|#define _PyTuple_HASH_XXPRIME_5 ((Py_uhash_t)2870177450012600261ULL)
  ------------------
  384|   385M|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (384:28): [True: 331M, False: 54.0M]
  ------------------
  385|   331M|        Py_uhash_t lane = PyObject_Hash(item[i]);
  386|   331M|        if (lane == (Py_uhash_t)-1) {
  ------------------
  |  Branch (386:13): [True: 0, False: 331M]
  ------------------
  387|      0|            return -1;
  388|      0|        }
  389|   331M|        acc += lane * _PyTuple_HASH_XXPRIME_2;
  ------------------
  |  |   68|   331M|#define _PyTuple_HASH_XXPRIME_2 ((Py_uhash_t)14029467366897019727ULL)
  ------------------
  390|   331M|        acc = _PyTuple_HASH_XXROTATE(acc);
  ------------------
  |  |   70|   331M|#define _PyTuple_HASH_XXROTATE(x) ((x << 31) | (x >> 33))  /* Rotate left 31 bits */
  ------------------
  391|   331M|        acc *= _PyTuple_HASH_XXPRIME_1;
  ------------------
  |  |   67|   331M|#define _PyTuple_HASH_XXPRIME_1 ((Py_uhash_t)11400714785074694791ULL)
  ------------------
  392|   331M|    }
  393|       |
  394|       |    /* Add input length, mangled to keep the historical value of hash(()). */
  395|  54.0M|    acc += len ^ (_PyTuple_HASH_XXPRIME_5 ^ 3527539UL);
  ------------------
  |  |   69|  54.0M|#define _PyTuple_HASH_XXPRIME_5 ((Py_uhash_t)2870177450012600261ULL)
  ------------------
  396|       |
  397|  54.0M|    if (acc == (Py_uhash_t)-1) {
  ------------------
  |  Branch (397:9): [True: 0, False: 54.0M]
  ------------------
  398|      0|        acc = 1546275796;
  399|      0|    }
  400|       |
  401|  54.0M|    FT_ATOMIC_STORE_SSIZE_RELAXED(v->ob_hash, acc);
  ------------------
  |  |  194|  54.0M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  402|       |
  403|  54.0M|    return acc;
  404|  54.0M|}
tupleobject.c:tuple_traverse:
  719|  93.4M|{
  720|  93.4M|    PyTupleObject *o = _PyTuple_CAST(self);
  ------------------
  |  |   19|  93.4M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  93.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (720:24): [True: 93.4M, False: 0]
  ------------------
  721|   849M|    for (Py_ssize_t i = Py_SIZE(o); --i >= 0; ) {
  ------------------
  |  |  214|  93.4M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  93.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  93.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (721:37): [True: 756M, False: 93.4M]
  ------------------
  722|   756M|        Py_VISIT(o->ob_item[i]);
  ------------------
  |  |  194|   756M|    do {                                                                \
  |  |  195|   756M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 756M, False: 0]
  |  |  ------------------
  |  |  196|   756M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   756M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   756M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   756M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 756M]
  |  |  ------------------
  |  |  198|   756M|                return vret;                                            \
  |  |  199|   756M|        }                                                               \
  |  |  200|   756M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 756M]
  |  |  ------------------
  ------------------
  723|   756M|    }
  724|  93.4M|    return 0;
  725|  93.4M|}
tupleobject.c:tuple_richcompare:
  729|  5.54M|{
  730|  5.54M|    PyTupleObject *vt, *wt;
  731|  5.54M|    Py_ssize_t i;
  732|  5.54M|    Py_ssize_t vlen, wlen;
  733|       |
  734|  5.54M|    if (!PyTuple_Check(v) || !PyTuple_Check(w))
  ------------------
  |  |   27|  5.54M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  11.0M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyTuple_Check(v) || !PyTuple_Check(w))
  ------------------
  |  |   27|  5.54M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.54M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (734:9): [True: 0, False: 5.54M]
  |  Branch (734:30): [True: 0, False: 5.54M]
  ------------------
  735|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  736|       |
  737|  5.54M|    vt = (PyTupleObject *)v;
  738|  5.54M|    wt = (PyTupleObject *)w;
  739|       |
  740|  5.54M|    vlen = Py_SIZE(vt);
  ------------------
  |  |  214|  5.54M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.54M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.54M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  741|  5.54M|    wlen = Py_SIZE(wt);
  ------------------
  |  |  214|  5.54M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.54M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.54M|#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|  34.1M|    for (i = 0; i < vlen && i < wlen; i++) {
  ------------------
  |  Branch (754:17): [True: 28.6M, False: 5.54M]
  |  Branch (754:29): [True: 28.6M, False: 0]
  ------------------
  755|  28.6M|        int k = PyObject_RichCompareBool(vt->ob_item[i],
  756|  28.6M|                                         wt->ob_item[i], Py_EQ);
  ------------------
  |  |  654|  28.6M|#define Py_EQ 2
  ------------------
  757|  28.6M|        if (k < 0)
  ------------------
  |  Branch (757:13): [True: 0, False: 28.6M]
  ------------------
  758|      0|            return NULL;
  759|  28.6M|        if (!k)
  ------------------
  |  Branch (759:13): [True: 1.25k, False: 28.6M]
  ------------------
  760|  1.25k|            break;
  761|  28.6M|    }
  762|       |
  763|  5.54M|    if (i >= vlen || i >= wlen) {
  ------------------
  |  Branch (763:9): [True: 5.54M, False: 1.25k]
  |  Branch (763:22): [True: 0, False: 1.25k]
  ------------------
  764|       |        /* No more items to compare -- compare sizes */
  765|  5.54M|        Py_RETURN_RICHCOMPARE(vlen, wlen, op);
  ------------------
  |  |  674|  5.54M|    do {                                                                    \
  |  |  675|  5.54M|        switch (op) {                                                       \
  |  |  676|  5.54M|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|  5.54M|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|  5.54M|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  5.54M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  5.54M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.54M|#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: 5.54M, False: 0]
  |  |  |  Branch (676:25): [True: 5.54M, False: 0]
  |  |  ------------------
  |  |  677|  5.54M|        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.54M]
  |  |  |  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: 5.54M]
  |  |  |  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: 5.54M]
  |  |  |  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.54M]
  |  |  |  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.54M]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 5.54M]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|  5.54M|        }                                                                   \
  |  |  685|  5.54M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  766|  5.54M|    }
  767|       |
  768|       |    /* We have an item that differs -- shortcuts for EQ/NE */
  769|  1.25k|    if (op == Py_EQ) {
  ------------------
  |  |  654|  1.25k|#define Py_EQ 2
  ------------------
  |  Branch (769:9): [True: 1.25k, False: 3]
  ------------------
  770|  1.25k|        Py_RETURN_FALSE;
  ------------------
  |  |   45|  1.25k|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|  1.25k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  771|  1.25k|    }
  772|      3|    if (op == Py_NE) {
  ------------------
  |  |  655|      3|#define Py_NE 3
  ------------------
  |  Branch (772:9): [True: 3, False: 0]
  ------------------
  773|      3|        Py_RETURN_TRUE;
  ------------------
  |  |   44|      3|#  define Py_RETURN_TRUE return 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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  774|      3|    }
  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|      3|}
tupleobject.c:tuple_new_impl:
  800|    310|{
  801|    310|    if (type != &PyTuple_Type)
  ------------------
  |  Branch (801:9): [True: 153, False: 157]
  ------------------
  802|    153|        return tuple_subtype_new(type, iterable);
  803|       |
  804|    157|    if (iterable == NULL) {
  ------------------
  |  Branch (804:9): [True: 0, False: 157]
  ------------------
  805|      0|        return tuple_get_empty();
  806|      0|    }
  807|    157|    else {
  808|    157|        return PySequence_Tuple(iterable);
  809|    157|    }
  810|    157|}
tupleobject.c:tuple_subtype_new:
  835|    153|{
  836|    153|    PyObject *tmp, *newobj, *item;
  837|    153|    Py_ssize_t i, n;
  838|       |
  839|    153|    assert(PyType_IsSubtype(type, &PyTuple_Type));
  ------------------
  |  Branch (839:5): [True: 153, False: 0]
  ------------------
  840|       |    // tuple subclasses must implement the GC protocol
  841|    153|    assert(_PyType_IS_GC(type));
  ------------------
  |  Branch (841:5): [True: 153, False: 0]
  ------------------
  842|       |
  843|    153|    tmp = tuple_new_impl(&PyTuple_Type, iterable);
  844|    153|    if (tmp == NULL)
  ------------------
  |  Branch (844:9): [True: 0, False: 153]
  ------------------
  845|      0|        return NULL;
  846|    153|    assert(PyTuple_Check(tmp));
  ------------------
  |  Branch (846:5): [True: 153, False: 0]
  ------------------
  847|       |    /* This may allocate an empty tuple that is not the global one. */
  848|    153|    newobj = type->tp_alloc(type, n = PyTuple_GET_SIZE(tmp));
  ------------------
  |  |   27|    153|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    153|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    153|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  849|    153|    if (newobj == NULL) {
  ------------------
  |  Branch (849:9): [True: 0, False: 153]
  ------------------
  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|    765|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (853:17): [True: 612, False: 153]
  ------------------
  854|    612|        item = PyTuple_GET_ITEM(tmp, i);
  ------------------
  |  |   29|    612|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    612|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    612|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (854:16): [True: 612, False: 0]
  ------------------
  855|    612|        PyTuple_SET_ITEM(newobj, i, Py_NewRef(item));
  ------------------
  |  |   40|    612|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    612|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    612|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    612|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    612|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  856|    612|    }
  857|    153|    Py_DECREF(tmp);
  ------------------
  |  |  430|    153|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    153|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    153|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  858|       |
  859|    153|    _PyTuple_RESET_HASH_CACHE(newobj);
  ------------------
  |  |   44|    153|    do {                                    \
  |  |   45|    153|        assert(op != NULL);                 \
  |  |   46|    306|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|    153|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    153|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   47|    306|    } while (0)
  |  |  ------------------
  |  |  |  Branch (47:14): [Folded, False: 153]
  |  |  ------------------
  ------------------
  |  Branch (859:5): [True: 153, False: 0]
  |  Branch (859:5): [True: 153, False: 0]
  ------------------
  860|       |
  861|       |    // Don't track if a subclass tp_alloc is PyType_GenericAlloc()
  862|    153|    if (!_PyObject_GC_IS_TRACKED(newobj)) {
  ------------------
  |  |   81|    153|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    153|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (862:9): [True: 0, False: 153]
  ------------------
  863|      0|        _PyObject_GC_TRACK(newobj);
  ------------------
  |  |  505|      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|    153|    return newobj;
  866|    153|}
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|  9.82k|{
 1109|  9.82k|    _PyTupleIterObject *it = _PyTupleIterObject_CAST(self);
  ------------------
  |  | 1104|  9.82k|#define _PyTupleIterObject_CAST(op) ((_PyTupleIterObject *)(op))
  ------------------
 1110|  9.82k|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  507|  9.82k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1111|  9.82k|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  524|  9.82k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1112|  9.82k|    assert(Py_IS_TYPE(self, &PyTupleIter_Type));
  ------------------
  |  Branch (1112:5): [True: 9.82k, False: 0]
  ------------------
 1113|  9.82k|    _Py_FREELIST_FREE(tuple_iters, it, PyObject_GC_Del);
  ------------------
  |  |   35|  9.82k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  9.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  9.82k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   15|  9.82k|#  define Py_tuple_iters_MAXFREELIST 10
  |  |  ------------------
  ------------------
 1114|  9.82k|}
tupleobject.c:tupleiter_next:
 1126|  54.6k|{
 1127|  54.6k|    _PyTupleIterObject *it = _PyTupleIterObject_CAST(self);
  ------------------
  |  | 1104|  54.6k|#define _PyTupleIterObject_CAST(op) ((_PyTupleIterObject *)(op))
  ------------------
 1128|  54.6k|    PyTupleObject *seq;
 1129|  54.6k|    PyObject *item;
 1130|       |
 1131|  54.6k|    assert(it != NULL);
  ------------------
  |  Branch (1131:5): [True: 54.6k, False: 0]
  ------------------
 1132|  54.6k|    seq = it->it_seq;
 1133|  54.6k|#ifndef Py_GIL_DISABLED
 1134|  54.6k|    if (seq == NULL)
  ------------------
  |  Branch (1134:9): [True: 0, False: 54.6k]
  ------------------
 1135|      0|        return NULL;
 1136|  54.6k|#endif
 1137|  54.6k|    assert(PyTuple_Check(seq));
  ------------------
  |  Branch (1137:5): [True: 54.6k, False: 0]
  ------------------
 1138|       |
 1139|  54.6k|    Py_ssize_t index = FT_ATOMIC_LOAD_SSIZE_RELAXED(it->it_index);
  ------------------
  |  |  149|  54.6k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 1140|  54.6k|    if (index < PyTuple_GET_SIZE(seq)) {
  ------------------
  |  |   27|  54.6k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1140:9): [True: 44.8k, False: 9.81k]
  ------------------
 1141|  44.8k|        FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, index + 1);
  ------------------
  |  |  194|  44.8k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 1142|  44.8k|        item = PyTuple_GET_ITEM(seq, index);
  ------------------
  |  |   29|  44.8k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  44.8k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1142:16): [True: 44.8k, False: 0]
  ------------------
 1143|  44.8k|        return Py_NewRef(item);
  ------------------
  |  |  550|  44.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  44.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1144|  44.8k|    }
 1145|       |
 1146|  9.81k|#ifndef Py_GIL_DISABLED
 1147|  9.81k|    it->it_seq = NULL;
 1148|  9.81k|    Py_DECREF(seq);
  ------------------
  |  |  430|  9.81k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1149|  9.81k|#endif
 1150|       |    return NULL;
 1151|  54.6k|}
tupleobject.c:tuple_iter:
 1255|  9.82k|{
 1256|  9.82k|    if (!PyTuple_Check(seq)) {
  ------------------
  |  |   27|  9.82k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  9.82k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1256:9): [True: 0, False: 9.82k]
  ------------------
 1257|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1258|      0|        return NULL;
 1259|      0|    }
 1260|  9.82k|    _PyTupleIterObject *it = _Py_FREELIST_POP(_PyTupleIterObject, tuple_iters);
  ------------------
  |  |   43|  9.82k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  9.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1261|  9.82k|    if (it == NULL) {
  ------------------
  |  Branch (1261:9): [True: 9, False: 9.81k]
  ------------------
 1262|      9|        it = PyObject_GC_New(_PyTupleIterObject, &PyTupleIter_Type);
  ------------------
  |  |  181|      9|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1263|      9|        if (it == NULL)
  ------------------
  |  Branch (1263:13): [True: 0, False: 9]
  ------------------
 1264|      0|            return NULL;
 1265|      9|    }
 1266|  9.82k|    it->it_index = 0;
 1267|  9.82k|    it->it_seq = (PyTupleObject *)Py_NewRef(seq);
  ------------------
  |  |  550|  9.82k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  9.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1268|  9.82k|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  505|  9.82k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1269|  9.82k|    return (PyObject *)it;
 1270|  9.82k|}
tupleobject.c:maybe_freelist_push:
 1279|  54.9M|{
 1280|  54.9M|    if (!Py_IS_TYPE(op, &PyTuple_Type)) {
  ------------------
  |  |  215|  54.9M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  54.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1280:9): [True: 0, False: 54.9M]
  ------------------
 1281|      0|        return 0;
 1282|      0|    }
 1283|  54.9M|    Py_ssize_t index = Py_SIZE(op) - 1;
  ------------------
  |  |  214|  54.9M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  54.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1284|  54.9M|    if (index < PyTuple_MAXSAVESIZE) {
  ------------------
  |  |   11|  54.9M|#  define PyTuple_MAXSAVESIZE 20     // Largest tuple to save on freelist
  ------------------
  |  Branch (1284:9): [True: 54.9M, False: 84.3k]
  ------------------
 1285|  54.9M|        return _Py_FREELIST_PUSH(tuples[index], op, Py_tuple_MAXFREELIST);
  ------------------
  |  |   39|  54.9M|    _PyFreeList_Push(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), limit)
  |  |  ------------------
  |  |  |  |  171|  54.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1286|  54.9M|    }
 1287|  84.3k|    return 0;
 1288|  54.9M|}

_PyStaticType_GetState:
  289|  1.89M|{
  290|  1.89M|    assert(self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN);
  ------------------
  |  Branch (290:5): [True: 1.89M, False: 0]
  ------------------
  291|  1.89M|    return managed_static_type_state_get(interp, self);
  292|  1.89M|}
_PyType_GetDict:
  526|  5.97M|{
  527|       |    /* It returns a borrowed reference. */
  528|  5.97M|    return lookup_tp_dict(self);
  529|  5.97M|}
PyType_GetDict:
  533|    113|{
  534|    113|    PyObject *dict = lookup_tp_dict(self);
  535|    113|    return _Py_XNewRef(dict);
  536|    113|}
_PyType_GetBases:
  573|     76|{
  574|     76|    PyObject *res;
  575|       |
  576|     76|    BEGIN_TYPE_LOCK();
  577|     76|    res = lookup_tp_bases(self);
  578|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  579|     76|    END_TYPE_LOCK();
  580|       |
  581|     76|    return res;
  582|     76|}
_PyType_GetSubclasses:
  763|     58|{
  764|     58|    PyObject *list = PyList_New(0);
  765|     58|    if (list == NULL) {
  ------------------
  |  Branch (765:9): [True: 0, False: 58]
  ------------------
  766|      0|        return NULL;
  767|      0|    }
  768|       |
  769|     58|    PyObject *subclasses = lookup_tp_subclasses(self);  // borrowed ref
  770|     58|    if (subclasses == NULL) {
  ------------------
  |  Branch (770:9): [True: 52, False: 6]
  ------------------
  771|     52|        return list;
  772|     52|    }
  773|     58|    assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (773:5): [True: 6, False: 0]
  ------------------
  774|       |    // The loop cannot modify tp_subclasses, there is no need
  775|       |    // to hold a strong reference (use a borrowed reference).
  776|       |
  777|      6|    Py_ssize_t i = 0;
  778|      6|    PyObject *ref;  // borrowed ref
  779|     14|    while (PyDict_Next(subclasses, &i, NULL, &ref)) {
  ------------------
  |  Branch (779:12): [True: 8, False: 6]
  ------------------
  780|      8|        PyTypeObject *subclass = type_from_ref(ref);
  781|      8|        if (subclass == NULL) {
  ------------------
  |  Branch (781:13): [True: 0, False: 8]
  ------------------
  782|      0|            continue;
  783|      0|        }
  784|       |
  785|      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 (785:13): [True: 0, False: 8]
  ------------------
  786|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  787|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  788|      0|            return NULL;
  789|      0|        }
  790|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  791|      8|    }
  792|      6|    return list;
  793|      6|}
_PyType_CheckConsistency:
  853|  2.58k|{
  854|  2.58k|#define CHECK(expr) \
  855|  2.58k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  856|       |
  857|  2.58k|    CHECK(!_PyObject_IsFreed((PyObject *)type));
  ------------------
  |  |  855|  2.58k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (855:14): [True: 0, False: 2.58k]
  |  |  |  Branch (855:103): [Folded, False: 2.58k]
  |  |  ------------------
  ------------------
  858|       |
  859|  2.58k|    if (!(type->tp_flags & Py_TPFLAGS_READY)) {
  ------------------
  |  |  518|  2.58k|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (859:9): [True: 0, False: 2.58k]
  ------------------
  860|       |        /* don't check static types before PyType_Ready() */
  861|      0|        return 1;
  862|      0|    }
  863|       |
  864|  2.58k|    CHECK(Py_REFCNT(type) >= 1);
  ------------------
  |  |  855|  2.58k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (855:14): [True: 0, False: 2.58k]
  |  |  |  Branch (855:103): [Folded, False: 2.58k]
  |  |  ------------------
  ------------------
  865|  2.58k|    CHECK(PyType_Check(type));
  ------------------
  |  |  855|  2.58k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (855:14): [True: 0, False: 2.58k]
  |  |  |  Branch (855:103): [Folded, False: 2.58k]
  |  |  ------------------
  ------------------
  866|       |
  867|  2.58k|    CHECK(!is_readying(type));
  ------------------
  |  |  855|  2.58k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (855:14): [True: 0, False: 2.58k]
  |  |  |  Branch (855:103): [Folded, False: 2.58k]
  |  |  ------------------
  ------------------
  868|  2.58k|    CHECK(lookup_tp_dict(type) != NULL);
  ------------------
  |  |  855|  2.58k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (855:14): [True: 0, False: 2.58k]
  |  |  |  Branch (855:103): [Folded, False: 2.58k]
  |  |  ------------------
  ------------------
  869|       |
  870|  2.58k|    if (type->tp_flags & Py_TPFLAGS_HAVE_GC) {
  ------------------
  |  |  524|  2.58k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (870:9): [True: 2.50k, False: 80]
  ------------------
  871|       |        // bpo-44263: tp_traverse is required if Py_TPFLAGS_HAVE_GC is set.
  872|       |        // Note: tp_clear is optional.
  873|  2.50k|        CHECK(type->tp_traverse != NULL);
  ------------------
  |  |  855|  2.50k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (855:14): [True: 0, False: 2.50k]
  |  |  |  Branch (855:103): [Folded, False: 2.50k]
  |  |  ------------------
  ------------------
  874|  2.50k|    }
  875|       |
  876|  2.58k|    if (type->tp_flags & Py_TPFLAGS_DISALLOW_INSTANTIATION) {
  ------------------
  |  |  497|  2.58k|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  ------------------
  |  Branch (876:9): [True: 180, False: 2.40k]
  ------------------
  877|    180|        CHECK(type->tp_new == NULL);
  ------------------
  |  |  855|    180|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (855:14): [True: 0, False: 180]
  |  |  |  Branch (855:103): [Folded, False: 180]
  |  |  ------------------
  ------------------
  878|    180|        CHECK(PyDict_Contains(lookup_tp_dict(type), &_Py_ID(__new__)) == 0);
  ------------------
  |  |  855|    180|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG((PyObject *)type, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (855:14): [True: 0, False: 180]
  |  |  |  Branch (855:103): [Folded, False: 180]
  |  |  ------------------
  ------------------
  879|    180|    }
  880|       |
  881|  2.58k|    return 1;
  882|  2.58k|#undef CHECK
  883|  2.58k|}
_PyType_GetDocFromInternalDoc:
  900|     24|{
  901|     24|    const char *doc = _PyType_DocWithoutSignature(name, internal_doc);
  902|       |
  903|     24|    if (!doc || *doc == '\0') {
  ------------------
  |  Branch (903:9): [True: 0, False: 24]
  |  Branch (903:17): [True: 0, False: 24]
  ------------------
  904|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  905|      0|    }
  906|       |
  907|     24|    return PyUnicode_FromString(doc);
  908|     24|}
_PyType_Modified_Unlocked:
 1095|  1.69k|{
 1096|       |    /* Invalidate any cached data for the specified type and all
 1097|       |       subclasses.  This function is called after the base
 1098|       |       classes, mro, or attributes of the type are altered.
 1099|       |
 1100|       |       Invariants:
 1101|       |
 1102|       |       - before tp_version_tag can be set on a type,
 1103|       |         it must first be set on all super types.
 1104|       |
 1105|       |       This function clears the tp_version_tag of a
 1106|       |       type (so it must first clear it on all subclasses).  The
 1107|       |       tp_version_tag value is meaningless when equal to zero.
 1108|       |       We don't assign new version tags eagerly, but only as
 1109|       |       needed.
 1110|       |     */
 1111|  1.69k|    ASSERT_NEW_TYPE_OR_LOCKED(type);
 1112|       |#ifdef Py_GIL_DISABLED
 1113|       |    // This function is re-entrant and it's not safe to call it
 1114|       |    // with the world stopped.
 1115|       |    assert(!types_world_is_stopped());
 1116|       |#endif
 1117|  1.69k|    if (type->tp_version_tag == 0) {
  ------------------
  |  Branch (1117:9): [True: 1.52k, False: 165]
  ------------------
 1118|  1.52k|        return;
 1119|  1.52k|    }
 1120|       |    // Cannot modify static builtin types.
 1121|  1.69k|    assert((type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) == 0);
  ------------------
  |  Branch (1121:5): [True: 165, False: 0]
  ------------------
 1122|       |
 1123|    165|    PyObject *subclasses = lookup_tp_subclasses(type);
 1124|    165|    if (subclasses != NULL) {
  ------------------
  |  Branch (1124:9): [True: 0, False: 165]
  ------------------
 1125|      0|        assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (1125:9): [True: 0, False: 0]
  ------------------
 1126|       |
 1127|      0|        Py_ssize_t i = 0;
 1128|      0|        PyObject *ref;
 1129|      0|        while (PyDict_Next(subclasses, &i, NULL, &ref)) {
  ------------------
  |  Branch (1129:16): [True: 0, False: 0]
  ------------------
 1130|      0|            PyTypeObject *subclass = type_from_ref(ref);
 1131|      0|            if (subclass == NULL) {
  ------------------
  |  Branch (1131:17): [True: 0, False: 0]
  ------------------
 1132|      0|                continue;
 1133|      0|            }
 1134|      0|            _PyType_Modified_Unlocked(subclass);
 1135|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1136|      0|        }
 1137|      0|    }
 1138|       |
 1139|       |    // Notify registered type watchers, if any
 1140|    165|    if (type->tp_watched) {
  ------------------
  |  Branch (1140:9): [True: 0, False: 165]
  ------------------
 1141|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 1142|      0|        int bits = type->tp_watched;
 1143|      0|        int i = 0;
 1144|      0|        while (bits) {
  ------------------
  |  Branch (1144:16): [True: 0, False: 0]
  ------------------
 1145|      0|            assert(i < TYPE_MAX_WATCHERS);
  ------------------
  |  Branch (1145:13): [True: 0, False: 0]
  ------------------
 1146|      0|            if (bits & 1) {
  ------------------
  |  Branch (1146:17): [True: 0, False: 0]
  ------------------
 1147|       |                // Note that PyErr_FormatUnraisable is potentially re-entrant
 1148|       |                // and the watcher callback might be too.
 1149|      0|                PyType_WatchCallback cb = interp->type_watchers[i];
 1150|      0|                if (cb && (cb(type) < 0)) {
  ------------------
  |  Branch (1150:21): [True: 0, False: 0]
  |  Branch (1150:27): [True: 0, False: 0]
  ------------------
 1151|      0|                    PyErr_FormatUnraisable(
 1152|      0|                        "Exception ignored in type watcher callback #%d for %R",
 1153|      0|                        i, type);
 1154|      0|                }
 1155|      0|            }
 1156|      0|            i++;
 1157|      0|            bits >>= 1;
 1158|      0|        }
 1159|      0|    }
 1160|       |
 1161|    165|    set_version_unlocked(type, 0); /* 0 is not a valid version tag */
 1162|    165|    _PyTypeCache_Invalidate(type);
 1163|    165|    if (PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    165|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1163:9): [True: 165, False: 0]
  ------------------
 1164|       |        // This field *must* be invalidated if the type is modified (see the
 1165|       |        // comment on struct _specialization_cache):
 1166|    165|        FT_ATOMIC_STORE_PTR_RELAXED(
  ------------------
  |  |  163|    165|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
 1167|    165|            ((PyHeapTypeObject *)type)->_spec_cache.getitem, NULL);
 1168|    165|    }
 1169|    165|}
PyType_Modified:
 1173|    128|{
 1174|       |    // Quick check without the lock held
 1175|    128|    if (FT_ATOMIC_LOAD_UINT_RELAXED(type->tp_version_tag) == 0) {
  ------------------
  |  |  189|    128|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  ------------------
  |  Branch (1175:9): [True: 127, False: 1]
  ------------------
 1176|    127|        return;
 1177|    127|    }
 1178|       |
 1179|      1|    BEGIN_TYPE_LOCK();
 1180|      1|    _PyType_Modified_Unlocked(type);
 1181|      1|    END_TYPE_LOCK();
 1182|      1|}
_PyType_SetVersion:
 1267|    392|{
 1268|    392|    BEGIN_TYPE_LOCK();
 1269|    392|    set_version_unlocked(tp, version);
 1270|    392|    END_TYPE_LOCK();
 1271|    392|}
_PyType_Name:
 1438|  97.0k|{
 1439|  97.0k|    assert(type->tp_name != NULL);
  ------------------
  |  Branch (1439:5): [True: 97.0k, False: 0]
  ------------------
 1440|  97.0k|    const char *s = strrchr(type->tp_name, '.');
 1441|  97.0k|    if (s == NULL) {
  ------------------
  |  Branch (1441:9): [True: 96.9k, False: 149]
  ------------------
 1442|  96.9k|        s = type->tp_name;
 1443|  96.9k|    }
 1444|    149|    else {
 1445|    149|        s++;
 1446|    149|    }
 1447|  97.0k|    return s;
 1448|  97.0k|}
_PyType_AllocNoTrack:
 2443|  1.44M|{
 2444|  1.44M|    PyObject *obj;
 2445|       |    /* The +1 on nitems is needed for most types but not all. We could save a
 2446|       |     * bit of space by allocating one less item in certain cases, depending on
 2447|       |     * the type. However, given the extra complexity (e.g. an additional type
 2448|       |     * flag to indicate when that is safe) it does not seem worth the memory
 2449|       |     * savings. An example type that doesn't need the +1 is a subclass of
 2450|       |     * tuple. See GH-100659 and GH-81381. */
 2451|  1.44M|    size_t size = _PyObject_VAR_SIZE(type, nitems+1);
 2452|       |
 2453|  1.44M|    const size_t presize = _PyType_PreHeaderSize(type);
 2454|  1.44M|    if (type->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  1.44M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2454:9): [True: 51.2k, False: 1.39M]
  ------------------
 2455|  51.2k|        assert(type->tp_itemsize == 0);
  ------------------
  |  Branch (2455:9): [True: 51.2k, False: 0]
  ------------------
 2456|  51.2k|        size += _PyInlineValuesSize(type);
 2457|  51.2k|    }
 2458|  1.44M|    char *alloc = _PyObject_MallocWithType(type, size + presize);
 2459|  1.44M|    if (alloc  == NULL) {
  ------------------
  |  Branch (2459:9): [True: 0, False: 1.44M]
  ------------------
 2460|      0|        return PyErr_NoMemory();
 2461|      0|    }
 2462|  1.44M|    obj = (PyObject *)(alloc + presize);
 2463|  1.44M|    if (presize) {
  ------------------
  |  Branch (2463:9): [True: 1.20M, False: 238k]
  ------------------
 2464|  1.20M|        ((PyObject **)alloc)[0] = NULL;
 2465|  1.20M|        ((PyObject **)alloc)[1] = NULL;
 2466|  1.20M|    }
 2467|  1.44M|    if (PyType_IS_GC(type)) {
  ------------------
  |  |  157|  1.44M|#define PyType_IS_GC(t) PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  1.44M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (157:25): [True: 1.20M, False: 238k]
  |  |  ------------------
  ------------------
 2468|  1.20M|        _PyObject_GC_Link(obj);
 2469|  1.20M|    }
 2470|       |    // Zero out the object after the PyObject header. The header fields are
 2471|       |    // initialized by _PyObject_Init[Var]().
 2472|  1.44M|    memset((char *)obj + sizeof(PyObject), 0, size - sizeof(PyObject));
 2473|       |
 2474|  1.44M|    if (type->tp_itemsize == 0) {
  ------------------
  |  Branch (2474:9): [True: 1.44M, False: 1.19k]
  ------------------
 2475|  1.44M|        _PyObject_Init(obj, type);
 2476|  1.44M|    }
 2477|  1.19k|    else {
 2478|  1.19k|        _PyObject_InitVar((PyVarObject *)obj, type, nitems);
 2479|  1.19k|    }
 2480|  1.44M|    if (type->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  1.44M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2480:9): [True: 51.2k, False: 1.39M]
  ------------------
 2481|  51.2k|        _PyObject_InitInlineValues(obj, type);
 2482|  51.2k|    }
 2483|  1.44M|    return obj;
 2484|  1.44M|}
PyType_GenericAlloc:
 2488|   917k|{
 2489|   917k|    PyObject *obj = _PyType_AllocNoTrack(type, nitems);
 2490|   917k|    if (obj == NULL) {
  ------------------
  |  Branch (2490:9): [True: 0, False: 917k]
  ------------------
 2491|      0|        return NULL;
 2492|      0|    }
 2493|       |
 2494|   917k|    if (_PyType_IS_GC(type)) {
  ------------------
  |  |  820|   917k|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|   917k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (820:26): [True: 678k, False: 238k]
  |  |  ------------------
  ------------------
 2495|   678k|        _PyObject_GC_TRACK(obj);
  ------------------
  |  |  505|   678k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   678k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   678k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2496|   678k|    }
 2497|   917k|    return obj;
 2498|   917k|}
PyType_GenericNew:
 2502|   653k|{
 2503|   653k|    return type->tp_alloc(type, 0);
 2504|   653k|}
PyType_IsSubtype:
 2860|  19.4M|{
 2861|  19.4M|    return is_subtype_with_mro(a->tp_mro, a, b);
 2862|  19.4M|}
_PyObject_LookupSpecial:
 2881|  74.2k|{
 2882|  74.2k|    PyObject *res;
 2883|       |
 2884|  74.2k|    res = _PyType_LookupRef(Py_TYPE(self), attr);
  ------------------
  |  |  213|  74.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  74.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2885|  74.2k|    if (res != NULL) {
  ------------------
  |  Branch (2885:9): [True: 49.1k, False: 25.1k]
  ------------------
 2886|  49.1k|        descrgetfunc f;
 2887|  49.1k|        if ((f = Py_TYPE(res)->tp_descr_get) != NULL) {
  ------------------
  |  |  213|  49.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  49.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  49.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2887:13): [True: 49.1k, False: 0]
  ------------------
 2888|  49.1k|            Py_SETREF(res, f(res, self, (PyObject *)(Py_TYPE(self))));
  ------------------
  |  |  354|  49.1k|    do { \
  |  |  355|  49.1k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  49.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|  49.1k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  49.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|  49.1k|        *_tmp_dst_ptr = (src); \
  |  |  358|  49.1k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  49.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  49.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  49.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|  49.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 49.1k]
  |  |  ------------------
  ------------------
 2889|  49.1k|        }
 2890|  49.1k|    }
 2891|  74.2k|    return res;
 2892|  74.2k|}
_PyObject_LookupSpecialMethod:
 2901|  4.89k|{
 2902|  4.89k|    PyObject *self = PyStackRef_AsPyObjectBorrow(method_and_self[1]);
 2903|  4.89k|    _PyType_LookupStackRefAndVersion(Py_TYPE(self), attr, &method_and_self[0]);
  ------------------
  |  |  213|  4.89k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2904|  4.89k|    PyObject *method_o = PyStackRef_AsPyObjectBorrow(method_and_self[0]);
 2905|  4.89k|    if (method_o == NULL) {
  ------------------
  |  Branch (2905:9): [True: 0, False: 4.89k]
  ------------------
 2906|      0|        return 0;
 2907|      0|    }
 2908|       |
 2909|  4.89k|    if (_PyType_HasFeature(Py_TYPE(method_o), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|  4.89k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (_PyType_HasFeature(Py_TYPE(method_o), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|  4.89k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (2909:9): [True: 4.89k, False: 0]
  ------------------
 2910|       |        /* Avoid temporary PyMethodObject */
 2911|  4.89k|        return 1;
 2912|  4.89k|    }
 2913|       |
 2914|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2915|      0|    if (f != NULL) {
  ------------------
  |  Branch (2915:9): [True: 0, False: 0]
  ------------------
 2916|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2917|      0|        if (func == NULL) {
  ------------------
  |  Branch (2917:13): [True: 0, False: 0]
  ------------------
 2918|      0|            return -1;
 2919|      0|        }
 2920|      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]
  |  |  ------------------
  ------------------
 2921|      0|        method_and_self[0] = PyStackRef_FromPyObjectSteal(func);
 2922|      0|    }
 2923|      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]
  |  |  ------------------
  ------------------
 2924|      0|    return 1;
 2925|      0|}
PyType_GetFlags:
 4069|    435|{
 4070|    435|    return type->tp_flags;
 4071|    435|}
_PyType_CalculateMetaclass:
 4084|  1.43k|{
 4085|  1.43k|    Py_ssize_t i, nbases;
 4086|  1.43k|    PyTypeObject *winner;
 4087|  1.43k|    PyObject *tmp;
 4088|  1.43k|    PyTypeObject *tmptype;
 4089|       |
 4090|       |    /* Determine the proper metatype to deal with this,
 4091|       |       and check for metatype conflicts while we're at it.
 4092|       |       Note that if some other metatype wins to contract,
 4093|       |       it's possible that its instances are not types. */
 4094|       |
 4095|  1.43k|    nbases = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  1.43k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4096|  1.43k|    winner = metatype;
 4097|  3.15k|    for (i = 0; i < nbases; i++) {
  ------------------
  |  Branch (4097:17): [True: 1.72k, False: 1.43k]
  ------------------
 4098|  1.72k|        tmp = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|  1.72k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.72k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4098:15): [True: 1.72k, False: 0]
  ------------------
 4099|  1.72k|        tmptype = Py_TYPE(tmp);
  ------------------
  |  |  213|  1.72k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4100|  1.72k|        if (PyType_IsSubtype(winner, tmptype)) {
  ------------------
  |  Branch (4100:13): [True: 1.71k, False: 8]
  ------------------
 4101|  1.71k|            continue;
 4102|  1.71k|        }
 4103|      8|        if (PyType_IsSubtype(tmptype, winner)) {
  ------------------
  |  Branch (4103:13): [True: 8, False: 0]
  ------------------
 4104|      8|            winner = tmptype;
 4105|      8|            continue;
 4106|      8|        }
 4107|       |        /* else: */
 4108|      0|        PyErr_SetString(PyExc_TypeError,
 4109|      0|                        "metaclass conflict: "
 4110|      0|                        "the metaclass of a derived class "
 4111|      0|                        "must be a (non-strict) subclass "
 4112|      0|                        "of the metaclasses of all its bases");
 4113|      0|        return NULL;
 4114|      8|    }
 4115|  1.43k|    return winner;
 4116|  1.43k|}
PyType_FromMetaclass:
 5741|      5|{
 5742|       |    return type_from_slots_or_spec(NULL, spec, metaclass, module, bases);
 5743|      5|}
PyType_FromModuleAndSpec:
 5747|     87|{
 5748|     87|    return type_from_slots_or_spec(NULL, spec, NULL, module, bases);
 5749|     87|}
PyType_FromSpecWithBases:
 5753|     18|{
 5754|     18|    return type_from_slots_or_spec(NULL, spec, NULL, NULL, bases);
 5755|     18|}
PyType_FromSpec:
 5759|     20|{
 5760|     20|    return type_from_slots_or_spec(NULL, spec, NULL, NULL, NULL);
 5761|     20|}
PyType_GetSlot:
 5783|   414k|{
 5784|   414k|    uint16_t slot = _PySlot_resolve_type_slot(slot_in);
 5785|   414k|    return _PySlot_type_getslot(type, slot);
 5786|   414k|}
PyType_GetModule:
 5801|      4|{
 5802|      4|    assert(PyType_Check(type));
  ------------------
  |  Branch (5802:5): [True: 4, False: 0]
  ------------------
 5803|      4|    if (!_PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|      4|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (5803:9): [True: 0, False: 4]
  ------------------
 5804|      0|        PyErr_Format(
 5805|      0|            PyExc_TypeError,
 5806|      0|            "PyType_GetModule: Type '%s' is not a heap type",
 5807|      0|            type->tp_name);
 5808|      0|        return NULL;
 5809|      0|    }
 5810|       |
 5811|      4|    PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 5812|      4|    if (!et->ht_module) {
  ------------------
  |  Branch (5812:9): [True: 0, False: 4]
  ------------------
 5813|      0|        PyErr_Format(
 5814|      0|            PyExc_TypeError,
 5815|      0|            "PyType_GetModule: Type '%s' has no associated module",
 5816|      0|            type->tp_name);
 5817|      0|        return NULL;
 5818|      0|    }
 5819|      4|    return et->ht_module;
 5820|      4|}
PyType_GetModuleByToken_DuringGC:
 5847|    438|{
 5848|    438|    assert(PyType_Check(type));
  ------------------
  |  Branch (5848:5): [True: 438, False: 0]
  ------------------
 5849|       |
 5850|    438|    if (!_PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    438|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (5850:9): [True: 0, False: 438]
  ------------------
 5851|       |        // type_ready_mro() ensures that no heap type is
 5852|       |        // contained in a static type MRO.
 5853|      0|        return NULL;
 5854|      0|    }
 5855|    438|    else {
 5856|    438|        PyHeapTypeObject *ht = (PyHeapTypeObject*)type;
 5857|    438|        PyObject *module = ht->ht_module;
 5858|    438|        if (module && _PyModule_GetToken(module) == token) {
  ------------------
  |  Branch (5858:13): [True: 438, False: 0]
  |  Branch (5858:23): [True: 438, False: 0]
  ------------------
 5859|    438|            return module;
 5860|    438|        }
 5861|    438|    }
 5862|       |
 5863|      0|    PyObject *res = NULL;
 5864|      0|    BEGIN_TYPE_LOCK();
 5865|       |
 5866|      0|    PyObject *mro = lookup_tp_mro(type);
 5867|       |    // The type must be ready
 5868|      0|    assert(mro != NULL);
  ------------------
  |  Branch (5868:5): [True: 0, False: 0]
  ------------------
 5869|      0|    assert(PyTuple_Check(mro));
  ------------------
  |  Branch (5869:5): [True: 0, False: 0]
  ------------------
 5870|       |    // mro_invoke() ensures that the type MRO cannot be empty.
 5871|      0|    assert(PyTuple_GET_SIZE(mro) >= 1);
  ------------------
  |  Branch (5871:5): [True: 0, False: 0]
  ------------------
 5872|       |    // Also, the first item in the MRO is the type itself, which
 5873|       |    // we already checked above. We skip it in the loop.
 5874|      0|    assert(PyTuple_GET_ITEM(mro, 0) == (PyObject *)type);
  ------------------
  |  Branch (5874:5): [True: 0, False: 0]
  |  Branch (5874:5): [True: 0, False: 0]
  ------------------
 5875|       |
 5876|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5877|      0|    for (Py_ssize_t i = 1; i < n; i++) {
  ------------------
  |  Branch (5877:28): [True: 0, False: 0]
  ------------------
 5878|      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 (5878:27): [True: 0, False: 0]
  ------------------
 5879|      0|        if (!_PyType_HasFeature((PyTypeObject *)super, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|      0|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (5879:13): [True: 0, False: 0]
  ------------------
 5880|       |            // Static types in the MRO need to be skipped
 5881|      0|            continue;
 5882|      0|        }
 5883|       |
 5884|      0|        PyHeapTypeObject *ht = (PyHeapTypeObject*)super;
 5885|      0|        PyObject *module = ht->ht_module;
 5886|      0|        if (module && _PyModule_GetToken(module) == token) {
  ------------------
  |  Branch (5886:13): [True: 0, False: 0]
  |  Branch (5886:23): [True: 0, False: 0]
  ------------------
 5887|      0|            res = module;
 5888|      0|            break;
 5889|      0|        }
 5890|      0|    }
 5891|      0|    END_TYPE_LOCK();
 5892|       |
 5893|      0|    return res;
 5894|      0|}
PyType_GetModuleByDef:
 5904|    438|{
 5905|    438|    PyObject *mod = PyType_GetModuleByToken_DuringGC(type, def);
 5906|    438|    if (!mod) {
  ------------------
  |  Branch (5906:9): [True: 0, False: 438]
  ------------------
 5907|      0|        PyErr_Format(
 5908|      0|            PyExc_TypeError,
 5909|      0|            "PyType_GetModuleByDef: No superclass of '%s' has the given module",
 5910|      0|            type->tp_name);
 5911|      0|        return NULL;
 5912|      0|    }
 5913|    438|    return mod;
 5914|    438|}
PyObject_GetItemData:
 6066|  1.46k|{
 6067|       |    return getitemdata(obj, true);
 6068|  1.46k|}
_PyType_LookupRefAndVersion:
 6152|  76.5k|{
 6153|  76.5k|    _PyStackRef out;
 6154|  76.5k|    unsigned int ver = _PyType_LookupStackRefAndVersion(type, name, &out);
 6155|  76.5k|    if (version) {
  ------------------
  |  Branch (6155:9): [True: 1.76k, False: 74.8k]
  ------------------
 6156|  1.76k|        *version = ver;
 6157|  1.76k|    }
 6158|  76.5k|    if (PyStackRef_IsNull(out)) {
  ------------------
  |  |  482|  76.5k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  76.5k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  76.5k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 26.0k, False: 50.5k]
  |  |  ------------------
  ------------------
 6159|  26.0k|        return NULL;
 6160|  26.0k|    }
 6161|  50.5k|    return PyStackRef_AsPyObjectSteal(out);
 6162|  76.5k|}
_PyType_LookupStackRefAndVersion:
 6174|  6.09M|{
 6175|  6.09M|    int cacheable = MCACHE_CACHEABLE_NAME(name);
  ------------------
  |  |   44|  6.09M|#define MCACHE_CACHEABLE_NAME(name) (PyUnicode_CheckExact(name) && PyUnicode_CHECK_INTERNED(name))
  |  |  ------------------
  |  |  |  |  104|  6.09M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  12.1M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  6.09M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  6.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 6.09M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MCACHE_CACHEABLE_NAME(name) (PyUnicode_CheckExact(name) && PyUnicode_CHECK_INTERNED(name))
  |  |  ------------------
  |  |  |  |  214|  6.09M|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.09M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (214:38): [True: 6.09M, False: 5.71k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6176|  6.09M|    if (cacheable) {
  ------------------
  |  Branch (6176:9): [True: 6.09M, False: 5.71k]
  ------------------
 6177|  6.09M|        struct _PyTypeCacheLookupResult r = _PyTypeCache_Lookup(type, name);
 6178|  6.09M|        if (r.cache_hit) {
  ------------------
  |  Branch (6178:13): [True: 6.08M, False: 4.72k]
  ------------------
 6179|  6.08M|            OBJECT_STAT_INC_COND(type_cache_hits, !is_dunder_name(name));
  ------------------
  |  |   78|  6.08M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6180|  6.08M|            OBJECT_STAT_INC_COND(type_cache_dunder_hits, is_dunder_name(name));
  ------------------
  |  |   78|  6.08M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6181|  6.08M|            *out = r.value;
 6182|  6.08M|            return r.version_tag;
 6183|  6.08M|        }
 6184|  6.09M|    }
 6185|  10.4k|    OBJECT_STAT_INC_COND(type_cache_misses, !is_dunder_name(name));
  ------------------
  |  |   78|  10.4k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6186|  10.4k|    OBJECT_STAT_INC_COND(type_cache_dunder_misses, is_dunder_name(name));
  ------------------
  |  |   78|  10.4k|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6187|       |
 6188|       |    /* We may end up clearing live exceptions below, so make sure it's ours. */
 6189|  10.4k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (6189:5): [True: 10.4k, False: 0]
  ------------------
 6190|       |
 6191|  10.4k|    int res;
 6192|  10.4k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 6193|       |
 6194|  10.4k|    unsigned int version_tag = FT_ATOMIC_LOAD_UINT(type->tp_version_tag);
  ------------------
  |  |  188|  10.4k|#define FT_ATOMIC_LOAD_UINT(value) value
  ------------------
 6195|  10.4k|    if (cacheable &&
  ------------------
  |  Branch (6195:9): [True: 4.72k, False: 5.71k]
  ------------------
 6196|  4.72k|        (version_tag != 0 || should_assign_version_tag(type, name, version_tag)))
  ------------------
  |  Branch (6196:10): [True: 4.30k, False: 420]
  |  Branch (6196:30): [True: 420, False: 0]
  ------------------
 6197|  4.72k|    {
 6198|  4.72k|        BEGIN_TYPE_LOCK();
 6199|  4.72k|        version_tag = type->tp_version_tag;
 6200|  4.72k|        if (version_tag == 0) {
  ------------------
  |  Branch (6200:13): [True: 420, False: 4.30k]
  ------------------
 6201|    420|            assign_version_tag(interp, type);
 6202|    420|            version_tag = type->tp_version_tag;
 6203|    420|        }
 6204|  4.72k|        res = find_name_in_mro(type, name, out);
 6205|       |        // find_name_in_mro can release the type lock and another thread can
 6206|       |        // modify the type, so we need to check version tag again before caching the result.
 6207|  4.72k|        if (res >= 0 && version_tag != 0 && version_tag == type->tp_version_tag) {
  ------------------
  |  Branch (6207:13): [True: 4.72k, False: 0]
  |  Branch (6207:25): [True: 4.72k, False: 0]
  |  Branch (6207:45): [True: 4.72k, False: 0]
  ------------------
 6208|  4.72k|            _PyTypeCache_Insert(type, name, PyStackRef_AsPyObjectBorrow(*out));
 6209|  4.72k|        }
 6210|  4.72k|        END_TYPE_LOCK();
 6211|  4.72k|    }
 6212|  5.71k|    else {
 6213|  5.71k|        version_tag = 0;
 6214|  5.71k|        res = find_name_in_mro(type, name, out);
 6215|  5.71k|    }
 6216|       |
 6217|       |    /* Only put NULL results into cache if there was no error. */
 6218|  10.4k|    if (res < 0) {
  ------------------
  |  Branch (6218:9): [True: 0, False: 10.4k]
  ------------------
 6219|      0|        *out = PyStackRef_NULL;
 6220|      0|        return 0;
 6221|      0|    }
 6222|       |
 6223|  10.4k|    return version_tag;
 6224|  10.4k|}
_PyType_LookupRef:
 6231|  74.8k|{
 6232|       |    return _PyType_LookupRefAndVersion(type, name, NULL);
 6233|  74.8k|}
_PyType_Lookup:
 6239|      8|{
 6240|      8|    PyObject *res = _PyType_LookupRefAndVersion(type, name, NULL);
 6241|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6242|      8|    return res;
 6243|      8|}
_PyType_CacheInitForSpecialization:
 6248|     16|{
 6249|     16|    if (!init || !tp_version) {
  ------------------
  |  Branch (6249:9): [True: 0, False: 16]
  |  Branch (6249:18): [True: 0, False: 16]
  ------------------
 6250|      0|        return 0;
 6251|      0|    }
 6252|     16|    int can_cache;
 6253|     16|    BEGIN_TYPE_LOCK();
 6254|     16|    can_cache = ((PyTypeObject*)type)->tp_version_tag == tp_version;
 6255|       |    #ifdef Py_GIL_DISABLED
 6256|       |    can_cache = can_cache && _PyObject_HasDeferredRefcount(init);
 6257|       |    #endif
 6258|     16|    if (can_cache) {
  ------------------
  |  Branch (6258:9): [True: 16, False: 0]
  ------------------
 6259|     16|        FT_ATOMIC_STORE_PTR_RELEASE(type->_spec_cache.init, init);
  ------------------
  |  |  164|     16|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 6260|     16|    }
 6261|     16|    END_TYPE_LOCK();
 6262|     16|    return can_cache;
 6263|     16|}
_PyType_CacheGetItemForSpecialization:
 6267|      9|{
 6268|      9|    if (!descriptor || !tp_version) {
  ------------------
  |  Branch (6268:9): [True: 0, False: 9]
  |  Branch (6268:24): [True: 0, False: 9]
  ------------------
 6269|      0|        return 0;
 6270|      0|    }
 6271|      9|    int can_cache;
 6272|      9|    BEGIN_TYPE_LOCK();
 6273|      9|    can_cache = ((PyTypeObject*)ht)->tp_version_tag == tp_version;
 6274|       |    // This pointer is invalidated by PyType_Modified (see the comment on
 6275|       |    // struct _specialization_cache):
 6276|      9|    PyFunctionObject *func = (PyFunctionObject *)descriptor;
 6277|      9|    uint32_t version = _PyFunction_GetVersionForCurrentState(func);
 6278|      9|    can_cache = can_cache && _PyFunction_IsVersionValid(version);
  ------------------
  |  Branch (6278:17): [True: 9, False: 0]
  |  Branch (6278:30): [True: 9, False: 0]
  ------------------
 6279|       |#ifdef Py_GIL_DISABLED
 6280|       |    can_cache = can_cache && _PyObject_HasDeferredRefcount(descriptor);
 6281|       |#endif
 6282|      9|    if (can_cache) {
  ------------------
  |  Branch (6282:9): [True: 9, False: 0]
  ------------------
 6283|      9|        FT_ATOMIC_STORE_PTR_RELEASE(ht->_spec_cache.getitem, descriptor);
  ------------------
  |  |  164|      9|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 6284|      9|        FT_ATOMIC_STORE_UINT32_RELAXED(ht->_spec_cache.getitem_version, version);
  ------------------
  |  |  172|      9|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 6285|      9|    }
 6286|      9|    END_TYPE_LOCK();
 6287|      9|    return can_cache;
 6288|      9|}
_PyType_SetFlags:
 6292|      4|{
 6293|      4|    unsigned long new_flags = (self->tp_flags & ~mask) | flags;
 6294|      4|    if (new_flags != self->tp_flags) {
  ------------------
  |  Branch (6294:9): [True: 4, False: 0]
  ------------------
 6295|      4|        types_stop_world();
 6296|       |        // can't use new_flags here since they could be out-of-date
 6297|      4|        self->tp_flags = (self->tp_flags & ~mask) | flags;
 6298|      4|        types_start_world();
 6299|      4|    }
 6300|      4|}
_PyType_Validate:
 6304|      8|{
 6305|      8|    int err;
 6306|      8|    BEGIN_TYPE_LOCK();
 6307|      8|    err = validate(ty);
 6308|      8|    if (!err) {
  ------------------
  |  Branch (6308:9): [True: 2, False: 6]
  ------------------
 6309|      2|        if(assign_version_tag(_PyInterpreterState_GET(), ty)) {
  ------------------
  |  Branch (6309:12): [True: 2, False: 0]
  ------------------
 6310|      2|            *tp_version = ty->tp_version_tag;
 6311|      2|        }
 6312|      0|        else {
 6313|      0|            err = -1;
 6314|      0|        }
 6315|      2|    }
 6316|      8|    END_TYPE_LOCK();
 6317|      8|    return err;
 6318|      8|}
_PyType_SetFlagsRecursive:
 6345|     28|{
 6346|     28|    BEGIN_TYPE_LOCK();
 6347|       |    /* Ideally, changing flags and invalidating the old version tag would
 6348|       |       happen in one step. But _PyType_Modified_Unlocked() is re-entrant and
 6349|       |       cannot run with the world stopped, so we must invalidate first.
 6350|       |       Immutable/static-builtin types are skipped because
 6351|       |       set_flags_recursive() does not modify them. */
 6352|     28|    if (!PyType_HasFeature(self, Py_TPFLAGS_IMMUTABLETYPE) &&
  ------------------
  |  |  500|     28|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (6352:9): [True: 0, False: 28]
  ------------------
 6353|      0|        (self->tp_flags & mask) != flags)
  ------------------
  |  Branch (6353:9): [True: 0, False: 0]
  ------------------
 6354|      0|    {
 6355|      0|        _PyType_Modified_Unlocked(self);
 6356|      0|    }
 6357|       |    /* Keep TYPE_LOCK held while waiting for stop-the-world so no thread
 6358|       |       can reassign a version tag before the flag update. */
 6359|     28|    type_lock_prevent_release();
 6360|     28|    types_stop_world();
 6361|     28|    set_flags_recursive(self, mask, flags);
 6362|     28|    types_start_world();
 6363|     28|    type_lock_allow_release();
 6364|     28|    END_TYPE_LOCK();
 6365|     28|}
_Py_type_getattro_impl:
 6381|  3.02k|{
 6382|  3.02k|    _PyStackRef ref = _Py_type_getattro_stackref(type, name, suppress_missing_attribute);
 6383|  3.02k|    if (PyStackRef_IsNull(ref)) {
  ------------------
  |  |  482|  3.02k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  3.02k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  3.02k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 54, False: 2.97k]
  |  |  ------------------
  ------------------
 6384|     54|        return NULL;
 6385|     54|    }
 6386|  2.97k|    return PyStackRef_AsPyObjectSteal(ref);
 6387|  3.02k|}
_Py_type_getattro:
 6393|  1.88k|{
 6394|  1.88k|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  186|  1.88k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 6395|       |    return _Py_type_getattro_impl(type, name, NULL);
 6396|  1.88k|}
_Py_type_getattro_stackref:
 6411|   102k|{
 6412|   102k|    PyTypeObject *metatype = Py_TYPE(type);
  ------------------
  |  |  213|   102k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   102k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   102k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6413|   102k|    descrgetfunc meta_get = NULL;
 6414|       |
 6415|   102k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|   102k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   102k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (6415:9): [True: 0, False: 102k]
  ------------------
 6416|      0|        PyErr_Format(PyExc_TypeError,
 6417|      0|                     "attribute name must be string, not '%.200s'",
 6418|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6419|      0|        return PyStackRef_NULL;
 6420|      0|    }
 6421|       |
 6422|       |    /* Initialize this type (we'll assume the metatype is initialized) */
 6423|   102k|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (6423:9): [True: 0, False: 102k]
  ------------------
 6424|      0|        if (PyType_Ready(type) < 0)
  ------------------
  |  Branch (6424:13): [True: 0, False: 0]
  ------------------
 6425|      0|            return PyStackRef_NULL;
 6426|      0|    }
 6427|       |
 6428|       |    /* Set up GC-visible stack refs */
 6429|   102k|    _PyCStackRef result_ref, meta_attribute_ref, attribute_ref;
 6430|   102k|    PyThreadState *tstate = _PyThreadState_GET();
 6431|   102k|    _PyThreadState_PushCStackRef(tstate, &result_ref);
 6432|   102k|    _PyThreadState_PushCStackRef(tstate, &meta_attribute_ref);
 6433|   102k|    _PyThreadState_PushCStackRef(tstate, &attribute_ref);
 6434|       |
 6435|       |    /* Look for the attribute in the metatype */
 6436|   102k|    _PyType_LookupStackRefAndVersion(metatype, name, &meta_attribute_ref.ref);
 6437|       |
 6438|   102k|    if (!PyStackRef_IsNull(meta_attribute_ref.ref)) {
  ------------------
  |  |  482|   102k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|   102k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   102k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6438:9): [True: 99.4k, False: 3.14k]
  ------------------
 6439|  99.4k|        PyObject *meta_attr_obj = PyStackRef_AsPyObjectBorrow(meta_attribute_ref.ref);
 6440|  99.4k|        meta_get = Py_TYPE(meta_attr_obj)->tp_descr_get;
  ------------------
  |  |  213|  99.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  99.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  99.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6441|       |
 6442|  99.4k|        if (meta_get != NULL && PyDescr_IsData(meta_attr_obj)) {
  ------------------
  |  Branch (6442:13): [True: 98.7k, False: 759]
  |  Branch (6442:33): [True: 97.6k, False: 1.02k]
  ------------------
 6443|       |            /* Data descriptors implement tp_descr_set to intercept
 6444|       |             * writes. Assume the attribute is not overridden in
 6445|       |             * type's tp_dict (and bases): call the descriptor now.
 6446|       |             */
 6447|  97.6k|            PyObject *res = meta_get(meta_attr_obj, (PyObject *)type,
 6448|  97.6k|                                     (PyObject *)metatype);
 6449|  97.6k|            if (res != NULL) {
  ------------------
  |  Branch (6449:17): [True: 97.6k, False: 25]
  ------------------
 6450|  97.6k|                result_ref.ref = PyStackRef_FromPyObjectSteal(res);
 6451|  97.6k|            }
 6452|  97.6k|            goto done;
 6453|  97.6k|        }
 6454|  99.4k|    }
 6455|       |
 6456|       |    /* No data descriptor found on metatype. Look in tp_dict of this
 6457|       |     * type and its bases */
 6458|  4.92k|    _PyType_LookupStackRefAndVersion(type, name, &attribute_ref.ref);
 6459|  4.92k|    if (!PyStackRef_IsNull(attribute_ref.ref)) {
  ------------------
  |  |  482|  4.92k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  4.92k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  4.92k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6459:9): [True: 4.74k, False: 182]
  ------------------
 6460|       |        /* Implement descriptor functionality, if any */
 6461|  4.74k|        PyObject *attr_obj = PyStackRef_AsPyObjectBorrow(attribute_ref.ref);
 6462|  4.74k|        descrgetfunc local_get = Py_TYPE(attr_obj)->tp_descr_get;
  ------------------
  |  |  213|  4.74k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6463|       |
 6464|       |        /* Release meta_attribute early since we found in local dict */
 6465|  4.74k|        PyStackRef_CLEAR(meta_attribute_ref.ref);
  ------------------
  |  |  732|  4.74k|    do { \
  |  |  733|  4.74k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  4.74k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  4.74k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  4.74k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  4.74k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 4.74k]
  |  |  ------------------
  ------------------
 6466|       |
 6467|  4.74k|        if (local_get != NULL) {
  ------------------
  |  Branch (6467:13): [True: 4.43k, False: 313]
  ------------------
 6468|       |            /* Special case staticmethod to avoid descriptor call overhead.
 6469|       |             * staticmethod.__get__ just returns the wrapped callable. */
 6470|  4.43k|            if (Py_TYPE(attr_obj) == &PyStaticMethod_Type) {
  ------------------
  |  |  213|  4.43k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6470:17): [True: 1.34k, False: 3.08k]
  ------------------
 6471|  1.34k|                PyObject *callable = _PyStaticMethod_GetFunc(attr_obj);
 6472|  1.34k|                if (callable) {
  ------------------
  |  Branch (6472:21): [True: 1.34k, False: 0]
  ------------------
 6473|  1.34k|                    result_ref.ref = PyStackRef_FromPyObjectNew(callable);
  ------------------
  |  |  611|  1.34k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6474|  1.34k|                    goto done;
 6475|  1.34k|                }
 6476|  1.34k|            }
 6477|       |            /* NULL 2nd argument indicates the descriptor was
 6478|       |             * found on the target object itself (or a base)  */
 6479|  3.08k|            PyObject *res = local_get(attr_obj, (PyObject *)NULL,
 6480|  3.08k|                                      (PyObject *)type);
 6481|  3.08k|            if (res != NULL) {
  ------------------
  |  Branch (6481:17): [True: 3.08k, False: 0]
  ------------------
 6482|  3.08k|                result_ref.ref = PyStackRef_FromPyObjectSteal(res);
 6483|  3.08k|            }
 6484|  3.08k|            goto done;
 6485|  4.43k|        }
 6486|       |
 6487|       |        /* No descriptor, return the attribute directly */
 6488|    313|        result_ref.ref = attribute_ref.ref;
 6489|    313|        attribute_ref.ref = PyStackRef_NULL;
 6490|    313|        goto done;
 6491|  4.74k|    }
 6492|       |
 6493|       |    /* No attribute found in local __dict__ (or bases): use the
 6494|       |     * descriptor from the metatype, if any */
 6495|    182|    if (meta_get != NULL) {
  ------------------
  |  Branch (6495:9): [True: 151, False: 31]
  ------------------
 6496|    151|        PyObject *meta_attr_obj = PyStackRef_AsPyObjectBorrow(meta_attribute_ref.ref);
 6497|    151|        PyObject *res = meta_get(meta_attr_obj, (PyObject *)type,
 6498|    151|                                 (PyObject *)metatype);
 6499|    151|        if (res != NULL) {
  ------------------
  |  Branch (6499:13): [True: 151, False: 0]
  ------------------
 6500|    151|            result_ref.ref = PyStackRef_FromPyObjectSteal(res);
 6501|    151|        }
 6502|    151|        goto done;
 6503|    151|    }
 6504|       |
 6505|       |    /* If an ordinary attribute was found on the metatype, return it now */
 6506|     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 (6506:9): [True: 0, False: 31]
  ------------------
 6507|      0|        result_ref.ref = meta_attribute_ref.ref;
 6508|      0|        meta_attribute_ref.ref = PyStackRef_NULL;
 6509|      0|        goto done;
 6510|      0|    }
 6511|       |
 6512|       |    /* Give up */
 6513|     31|    if (suppress_missing_attribute == NULL) {
  ------------------
  |  Branch (6513:9): [True: 2, False: 29]
  ------------------
 6514|      2|        PyErr_Format(PyExc_AttributeError,
 6515|      2|                     "type object '%.100s' has no attribute '%U'",
 6516|      2|                     type->tp_name, name);
 6517|      2|    }
 6518|     29|    else {
 6519|       |        // signal the caller we have not set an PyExc_AttributeError and gave up
 6520|     29|        *suppress_missing_attribute = 1;
 6521|     29|    }
 6522|       |
 6523|   102k|done:
 6524|   102k|    _PyThreadState_PopCStackRef(tstate, &attribute_ref);
 6525|   102k|    _PyThreadState_PopCStackRef(tstate, &meta_attribute_ref);
 6526|   102k|    return _PyThreadState_PopCStackRefSteal(tstate, &result_ref);
 6527|     31|}
_Py_BaseObject_RichCompare:
 7409|    104|{
 7410|    104|    return object_richcompare(self, other, op);
 7411|    104|}
_PyType_AddMethod:
 8512|      2|{
 8513|      2|    return type_add_method(type, meth);
 8514|      2|}
PyType_Ready:
 9457|    901|{
 9458|    901|    if (type->tp_flags & Py_TPFLAGS_READY) {
  ------------------
  |  |  518|    901|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (9458:9): [True: 0, False: 901]
  ------------------
 9459|      0|        assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (9459:9): [True: 0, False: 0]
  ------------------
 9460|      0|        return 0;
 9461|      0|    }
 9462|    901|    assert(!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN));
  ------------------
  |  Branch (9462:5): [True: 901, False: 0]
  ------------------
 9463|       |
 9464|       |    /* Historically, all static types were immutable. See bpo-43908 */
 9465|    901|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    901|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9465:9): [True: 0, False: 901]
  ------------------
 9466|      0|        type_add_flags(type, Py_TPFLAGS_IMMUTABLETYPE);
  ------------------
  |  |  500|      0|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
 9467|       |        /* Static types must be immortal */
 9468|      0|        _Py_SetImmortalUntracked((PyObject *)type);
 9469|      0|    }
 9470|       |
 9471|    901|    int res;
 9472|    901|    BEGIN_TYPE_LOCK();
 9473|    901|    if (!(type->tp_flags & Py_TPFLAGS_READY)) {
  ------------------
  |  |  518|    901|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (9473:9): [True: 901, False: 0]
  ------------------
 9474|    901|        res = type_ready(type, 1);
 9475|    901|    } else {
 9476|      0|        res = 0;
 9477|      0|        assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (9477:9): [True: 0, False: 0]
  ------------------
 9478|      0|    }
 9479|    901|    END_TYPE_LOCK();
 9480|    901|    return res;
 9481|    901|}
_PyStaticType_InitForExtension:
 9526|     12|{
 9527|     12|    return init_static_type(interp, self, 0, ((self->tp_flags & Py_TPFLAGS_READY) == 0));
  ------------------
  |  |  518|     12|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
 9528|     12|}
_PyStaticType_InitBuiltin:
 9532|    402|{
 9533|    402|    return init_static_type(interp, self, 1, _Py_IsMainInterpreter(interp));
 9534|    402|}
_PyType_InitSlotDefs:
12031|      2|{
12032|      2|    if (!_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (12032:9): [True: 0, False: 2]
  ------------------
12033|      0|        return 0;
12034|      0|    }
12035|      2|    PyObject *bytearray = NULL;
12036|      2|    PyObject *cache = PyDict_New();
12037|      2|    if (!cache) {
  ------------------
  |  Branch (12037:9): [True: 0, False: 2]
  ------------------
12038|      0|        return -1;
12039|      0|    }
12040|       |
12041|      2|    pytype_slotdef *p;
12042|      2|    Py_ssize_t idx = 0;
12043|    190|    for (p = slotdefs; p->name_strobj; p++, idx++) {
  ------------------
  |  Branch (12043:24): [True: 188, False: 2]
  ------------------
12044|    188|        assert(idx < 255);
  ------------------
  |  Branch (12044:9): [True: 188, False: 0]
  ------------------
12045|       |
12046|    188|        if (PyDict_GetItemRef(cache, p->name_strobj, &bytearray) < 0) {
  ------------------
  |  Branch (12046:13): [True: 0, False: 188]
  ------------------
12047|      0|            goto error;
12048|      0|        }
12049|       |
12050|    188|        if (!bytearray) {
  ------------------
  |  Branch (12050:13): [True: 162, False: 26]
  ------------------
12051|    162|            Py_ssize_t size = sizeof(uint8_t) * (1 + MAX_EQUIV);
  ------------------
  |  |  726|    162|#define MAX_EQUIV 10
  ------------------
12052|    162|            bytearray = PyByteArray_FromStringAndSize(NULL, size);
12053|    162|            if (!bytearray) {
  ------------------
  |  Branch (12053:17): [True: 0, False: 162]
  ------------------
12054|      0|                goto error;
12055|      0|            }
12056|       |
12057|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12058|    162|            data[0] = 0;
12059|       |
12060|    162|            if (PyDict_SetItem(cache, p->name_strobj, bytearray) < 0) {
  ------------------
  |  Branch (12060:17): [True: 0, False: 162]
  ------------------
12061|      0|                goto error;
12062|      0|            }
12063|    162|        }
12064|       |
12065|    188|        assert(PyByteArray_CheckExact(bytearray));
  ------------------
  |  Branch (12065:9): [True: 188, False: 0]
  ------------------
12066|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12067|       |
12068|    188|        data[0] += 1;
12069|    188|        assert(data[0] < MAX_EQUIV);
  ------------------
  |  Branch (12069:9): [True: 188, False: 0]
  ------------------
12070|       |
12071|    188|        data[data[0]] = (uint8_t)idx;
12072|       |
12073|    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]
  |  |  ------------------
  ------------------
12074|    188|    }
12075|       |
12076|      2|    memset(slotdefs_dups, -1, sizeof(slotdefs_dups));
12077|       |
12078|      2|    Py_ssize_t pos = 0;
12079|      2|    PyObject *key = NULL;
12080|      2|    PyObject *value = NULL;
12081|    164|    while (PyDict_Next(cache, &pos, &key, &value)) {
  ------------------
  |  Branch (12081:12): [True: 162, False: 2]
  ------------------
12082|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12083|    162|        uint8_t n = data[0];
12084|    350|        for (uint8_t i = 0; i < n; i++) {
  ------------------
  |  Branch (12084:29): [True: 188, False: 162]
  ------------------
12085|    188|            uint8_t idx = data[i + 1];
12086|    188|            memcpy(&slotdefs_dups[idx], data, sizeof(uint8_t) * (n + 1));
12087|    188|        }
12088|    162|    }
12089|       |
12090|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12091|      2|    return 0;
12092|       |
12093|      0|error:
12094|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12095|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12096|      0|    return -1;
12097|      2|}
_PySuper_LookupDescr:
12434|  1.90k|{
12435|  1.90k|    PyObject *mro, *res;
12436|  1.90k|    Py_ssize_t i, n;
12437|       |
12438|  1.90k|    mro = lookup_tp_mro(su_obj_type);
12439|  1.90k|    if (mro == NULL)
  ------------------
  |  Branch (12439:9): [True: 0, False: 1.90k]
  ------------------
12440|      0|        return NULL;
12441|       |
12442|       |    /* Keep a strong reference to mro because su_obj_type->tp_mro can be
12443|       |       replaced during PyDict_GetItemRef(dict, name, &res). */
12444|  1.90k|    PyThreadState *tstate = _PyThreadState_GET();
12445|  1.90k|    _PyCStackRef mro_ref;
12446|  1.90k|    _PyThreadState_PushCStackRefNew(tstate, &mro_ref, mro);
12447|       |
12448|  1.90k|    assert(PyTuple_Check(mro));
  ------------------
  |  Branch (12448:5): [True: 1.90k, False: 0]
  ------------------
12449|  1.90k|    n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|  1.90k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12450|       |
12451|       |    /* No need to check the last one: it's gonna be skipped anyway.  */
12452|  1.90k|    for (i = 0; i+1 < n; i++) {
  ------------------
  |  Branch (12452:17): [True: 1.90k, False: 0]
  ------------------
12453|  1.90k|        if ((PyObject *)(su_type) == PyTuple_GET_ITEM(mro, i))
  ------------------
  |  |   29|  1.90k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.90k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12453:13): [True: 1.90k, False: 2]
  |  Branch (12453:38): [True: 1.90k, False: 0]
  ------------------
12454|  1.90k|            break;
12455|  1.90k|    }
12456|  1.90k|    i++;  /* skip su->type (if any)  */
12457|  1.90k|    if (i >= n) {
  ------------------
  |  Branch (12457:9): [True: 0, False: 1.90k]
  ------------------
12458|      0|        _PyThreadState_PopCStackRef(tstate, &mro_ref);
12459|      0|        return NULL;
12460|      0|    }
12461|       |
12462|  3.29k|    do {
12463|  3.29k|        PyObject *obj = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|  3.29k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.29k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12463:25): [True: 3.29k, False: 0]
  ------------------
12464|  3.29k|        PyObject *dict = lookup_tp_dict(_PyType_CAST(obj));
  ------------------
  |  |  770|  3.29k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (12464:41): [True: 3.29k, False: 0]
  ------------------
12465|  3.29k|        assert(dict != NULL && PyDict_Check(dict));
  ------------------
  |  Branch (12465:9): [True: 3.29k, False: 0]
  |  Branch (12465:9): [True: 3.29k, False: 0]
  ------------------
12466|       |
12467|  3.29k|        if (PyDict_GetItemRef(dict, name, &res) != 0) {
  ------------------
  |  Branch (12467:13): [True: 1.90k, False: 1.39k]
  ------------------
12468|       |            // found or error
12469|  1.90k|            _PyThreadState_PopCStackRef(tstate, &mro_ref);
12470|  1.90k|            return res;
12471|  1.90k|        }
12472|       |
12473|  1.39k|        i++;
12474|  1.39k|    } while (i < n);
  ------------------
  |  Branch (12474:14): [True: 1.39k, False: 0]
  ------------------
12475|      0|    _PyThreadState_PopCStackRef(tstate, &mro_ref);
12476|       |    return NULL;
12477|  1.90k|}
_PySuper_Lookup:
12615|  1.11k|{
12616|  1.11k|    PyTypeObject *su_obj_type = supercheck(su_type, su_obj);
12617|  1.11k|    if (su_obj_type == NULL) {
  ------------------
  |  Branch (12617:9): [True: 0, False: 1.11k]
  ------------------
12618|      0|        return NULL;
12619|      0|    }
12620|  1.11k|    PyObject *res = do_super_lookup(NULL, su_type, su_obj, su_obj_type, name, method);
12621|  1.11k|    Py_DECREF(su_obj_type);
  ------------------
  |  |  430|  1.11k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12622|  1.11k|    return res;
12623|  1.11k|}
typeobject.c:managed_static_type_state_get:
  272|  1.89M|{
  273|       |    // It's probably a builtin type.
  274|  1.89M|    size_t index = managed_static_type_index_get(self);
  275|  1.89M|    managed_static_type_state *state =
  276|  1.89M|            &(interp->types.builtins.initialized[index]);
  277|  1.89M|    if (state->type == self) {
  ------------------
  |  Branch (277:9): [True: 1.89M, False: 318]
  ------------------
  278|  1.89M|        return state;
  279|  1.89M|    }
  280|    318|    if (index > _Py_MAX_MANAGED_STATIC_EXT_TYPES) {
  ------------------
  |  |  544|    318|#define _Py_MAX_MANAGED_STATIC_EXT_TYPES 10
  ------------------
  |  Branch (280:9): [True: 0, False: 318]
  ------------------
  281|      0|        return state;
  282|      0|    }
  283|    318|    return &(interp->types.for_extensions.initialized[index]);
  284|    318|}
typeobject.c:managed_static_type_index_get:
  226|  1.89M|{
  227|  1.89M|    assert(managed_static_type_index_is_set(self));
  ------------------
  |  Branch (227:5): [True: 1.89M, False: 0]
  ------------------
  228|       |    /* We store a 1-based index so 0 can mean "not initialized". */
  229|  1.89M|    return (size_t)self->tp_subclasses - 1;
  230|  1.89M|}
typeobject.c:managed_static_type_index_is_set:
  219|  1.89M|{
  220|       |    return self->tp_subclasses != NULL;
  221|  1.89M|}
typeobject.c:lookup_tp_dict:
  514|  6.27M|{
  515|  6.27M|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  6.27M|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (515:9): [True: 962k, False: 5.31M]
  ------------------
  516|   962k|        PyInterpreterState *interp = _PyInterpreterState_GET();
  517|   962k|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  518|   962k|        assert(state != NULL);
  ------------------
  |  Branch (518:9): [True: 962k, False: 0]
  ------------------
  519|   962k|        return state->tp_dict;
  520|   962k|    }
  521|  5.31M|    return self->tp_dict;
  522|  6.27M|}
typeobject.c:lookup_tp_bases:
  567|  6.22k|{
  568|  6.22k|    return self->tp_bases;
  569|  6.22k|}
typeobject.c:lookup_tp_subclasses:
  719|  1.76k|{
  720|  1.76k|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.76k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (720:9): [True: 702, False: 1.05k]
  ------------------
  721|    702|        PyInterpreterState *interp = _PyInterpreterState_GET();
  722|    702|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  723|    702|        assert(state != NULL);
  ------------------
  |  Branch (723:9): [True: 702, False: 0]
  ------------------
  724|    702|        return state->tp_subclasses;
  725|    702|    }
  726|  1.05k|    return (PyObject *)self->tp_subclasses;
  727|  1.76k|}
typeobject.c:init_tp_subclasses:
  687|    229|{
  688|    229|    PyObject *subclasses = PyDict_New();
  689|    229|    if (subclasses == NULL) {
  ------------------
  |  Branch (689:9): [True: 0, False: 229]
  ------------------
  690|      0|        return NULL;
  691|      0|    }
  692|    229|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    229|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (692:9): [True: 72, False: 157]
  ------------------
  693|     72|        PyInterpreterState *interp = _PyInterpreterState_GET();
  694|     72|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  695|     72|        state->tp_subclasses = subclasses;
  696|     72|        return subclasses;
  697|     72|    }
  698|    157|    self->tp_subclasses = (void *)subclasses;
  699|    157|    return subclasses;
  700|    229|}
typeobject.c:type_from_ref:
  205|      8|{
  206|      8|    PyObject *obj = _PyWeakref_GET_REF(ref);
  207|      8|    if (obj == NULL) {
  ------------------
  |  Branch (207:9): [True: 0, False: 8]
  ------------------
  208|      0|        return NULL;
  209|      0|    }
  210|      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 (210:12): [True: 8, False: 0]
  ------------------
  211|      8|}
typeobject.c:is_readying:
  499|  3.89k|{
  500|  3.89k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  3.89k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (500:9): [True: 828, False: 3.06k]
  ------------------
  501|    828|        PyInterpreterState *interp = _PyInterpreterState_GET();
  502|    828|        managed_static_type_state *state = managed_static_type_state_get(interp, type);
  503|    828|        assert(state != NULL);
  ------------------
  |  Branch (503:9): [True: 828, False: 0]
  ------------------
  504|    828|        return state->readying;
  505|    828|    }
  506|  3.06k|    return (type->tp_flags & Py_TPFLAGS_READYING) != 0;
  ------------------
  |  |  521|  3.06k|#define Py_TPFLAGS_READYING (1UL << 13)
  ------------------
  507|  3.89k|}
typeobject.c:_PyType_DocWithoutSignature:
  887|    488|{
  888|    488|    const char *doc = find_signature(name, internal_doc);
  889|       |
  890|    488|    if (doc) {
  ------------------
  |  Branch (890:9): [True: 216, False: 272]
  ------------------
  891|    216|        doc = skip_signature(doc);
  892|    216|        if (doc)
  ------------------
  |  Branch (892:13): [True: 194, False: 22]
  ------------------
  893|    194|            return doc;
  894|    216|        }
  895|    294|    return internal_doc;
  896|    488|}
typeobject.c:find_signature:
  808|    488|{
  809|    488|    const char *dot;
  810|    488|    size_t length;
  811|       |
  812|    488|    if (!doc)
  ------------------
  |  Branch (812:9): [True: 0, False: 488]
  ------------------
  813|      0|        return NULL;
  814|       |
  815|    488|    assert(name != NULL);
  ------------------
  |  Branch (815:5): [True: 488, False: 0]
  ------------------
  816|       |
  817|       |    /* for dotted names like classes, only use the last component */
  818|    488|    dot = strrchr(name, '.');
  819|    488|    if (dot)
  ------------------
  |  Branch (819:9): [True: 259, False: 229]
  ------------------
  820|    259|        name = dot + 1;
  821|       |
  822|    488|    length = strlen(name);
  823|    488|    if (strncmp(doc, name, length))
  ------------------
  |  Branch (823:9): [True: 240, False: 248]
  ------------------
  824|    240|        return NULL;
  825|    248|    doc += length;
  826|    248|    if (*doc != '(')
  ------------------
  |  Branch (826:9): [True: 32, False: 216]
  ------------------
  827|     32|        return NULL;
  828|    216|    return doc;
  829|    248|}
typeobject.c:skip_signature:
  839|    216|{
  840|  8.86k|    while (*doc) {
  ------------------
  |  Branch (840:12): [True: 8.85k, False: 6]
  ------------------
  841|  8.85k|        if ((*doc == *SIGNATURE_END_MARKER) &&
  ------------------
  |  |  831|  8.85k|#define SIGNATURE_END_MARKER         ")\n--\n\n"
  ------------------
  |  Branch (841:13): [True: 294, False: 8.56k]
  ------------------
  842|    294|            !strncmp(doc, SIGNATURE_END_MARKER, SIGNATURE_END_MARKER_LENGTH))
  ------------------
  |  |  831|    294|#define SIGNATURE_END_MARKER         ")\n--\n\n"
  ------------------
                          !strncmp(doc, SIGNATURE_END_MARKER, SIGNATURE_END_MARKER_LENGTH))
  ------------------
  |  |  832|    294|#define SIGNATURE_END_MARKER_LENGTH  6
  ------------------
  |  Branch (842:13): [True: 194, False: 100]
  ------------------
  843|    194|            return doc + SIGNATURE_END_MARKER_LENGTH;
  ------------------
  |  |  832|    194|#define SIGNATURE_END_MARKER_LENGTH  6
  ------------------
  844|  8.66k|        if ((*doc == '\n') && (doc[1] == '\n'))
  ------------------
  |  Branch (844:13): [True: 104, False: 8.55k]
  |  Branch (844:31): [True: 16, False: 88]
  ------------------
  845|     16|            return NULL;
  846|  8.64k|        doc++;
  847|  8.64k|    }
  848|      6|    return NULL;
  849|    216|}
typeobject.c:set_version_unlocked:
 1063|  1.02k|{
 1064|  1.02k|    assert(version == 0 || (tp->tp_versions_used != _Py_ATTR_CACHE_UNUSED));
  ------------------
  |  Branch (1064:5): [True: 165, False: 862]
  |  Branch (1064:5): [True: 862, False: 0]
  ------------------
 1065|  1.02k|#ifndef Py_GIL_DISABLED
 1066|  1.02k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1067|       |    // lookup the old version and set to null
 1068|  1.02k|    if (tp->tp_version_tag != 0) {
  ------------------
  |  Branch (1068:9): [True: 165, False: 862]
  ------------------
 1069|    165|        PyTypeObject **slot =
 1070|    165|            interp->types.type_version_cache
 1071|    165|            + (tp->tp_version_tag % TYPE_VERSION_CACHE_SIZE);
  ------------------
  |  |  583|    165|#define TYPE_VERSION_CACHE_SIZE (1<<12)  /* Must be a power of 2 */
  ------------------
 1072|    165|        *slot = NULL;
 1073|    165|    }
 1074|  1.02k|    if (version) {
  ------------------
  |  Branch (1074:9): [True: 862, False: 165]
  ------------------
 1075|    862|        tp->tp_versions_used++;
 1076|    862|    }
 1077|       |#else
 1078|       |    if (version) {
 1079|       |        _Py_atomic_add_uint16(&tp->tp_versions_used, 1);
 1080|       |    }
 1081|       |#endif
 1082|  1.02k|    FT_ATOMIC_STORE_UINT_RELAXED(tp->tp_version_tag, version);
  ------------------
  |  |  190|  1.02k|#define FT_ATOMIC_STORE_UINT_RELAXED(value, new_value) value = new_value
  ------------------
 1083|  1.02k|#ifndef Py_GIL_DISABLED
 1084|  1.02k|    if (version != 0) {
  ------------------
  |  Branch (1084:9): [True: 862, False: 165]
  ------------------
 1085|    862|        PyTypeObject **slot =
 1086|    862|            interp->types.type_version_cache
 1087|    862|            + (version % TYPE_VERSION_CACHE_SIZE);
  ------------------
  |  |  583|    862|#define TYPE_VERSION_CACHE_SIZE (1<<12)  /* Must be a power of 2 */
  ------------------
 1088|    862|        *slot = tp;
 1089|    862|    }
 1090|  1.02k|#endif
 1091|  1.02k|}
typeobject.c:assign_version_tag:
 1339|    952|{
 1340|    952|    ASSERT_TYPE_LOCK_HELD();
 1341|       |
 1342|       |    /* Ensure that the tp_version_tag is valid.
 1343|       |     * To respect the invariant, this must first be done on all super classes.
 1344|       |     * Return 0 if this cannot be done, 1 if tp_version_tag is set.
 1345|       |    */
 1346|    952|    if (type->tp_version_tag != 0) {
  ------------------
  |  Branch (1346:9): [True: 482, False: 470]
  ------------------
 1347|    482|        return 1;
 1348|    482|    }
 1349|    470|    if (!_PyType_HasFeature(type, Py_TPFLAGS_READY)) {
  ------------------
  |  |  518|    470|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (1349:9): [True: 0, False: 470]
  ------------------
 1350|      0|        return 0;
 1351|      0|    }
 1352|    470|    if (type->tp_versions_used >= MAX_VERSIONS_PER_CLASS) {
  ------------------
  |  | 1319|    470|#define MAX_VERSIONS_PER_CLASS 1000
  ------------------
  |  Branch (1352:9): [True: 0, False: 470]
  ------------------
 1353|       |        /* (this includes `tp_versions_used == _Py_ATTR_CACHE_UNUSED`) */
 1354|      0|        return 0;
 1355|      0|    }
 1356|       |
 1357|    470|    PyObject *bases = lookup_tp_bases(type);
 1358|    470|    Py_ssize_t n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|    470|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    470|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    470|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1359|  1.00k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1359:28): [True: 530, False: 470]
  ------------------
 1360|    530|        PyObject *b = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|    530|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    530|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    530|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1360:23): [True: 530, False: 0]
  ------------------
 1361|    530|        if (!assign_version_tag(interp, _PyType_CAST(b))) {
  ------------------
  |  |  770|    530|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    530|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1361:13): [True: 0, False: 530]
  |  Branch (1361:41): [True: 530, False: 0]
  ------------------
 1362|      0|            return 0;
 1363|      0|        }
 1364|    530|    }
 1365|    470|    if (type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|    470|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1365:9): [True: 24, False: 446]
  ------------------
 1366|       |        /* static types */
 1367|     24|        unsigned int next_version_tag = next_global_version_tag();
 1368|     24|        if (next_version_tag == 0) {
  ------------------
  |  Branch (1368:13): [True: 0, False: 24]
  ------------------
 1369|       |            /* We have run out of version numbers */
 1370|      0|            return 0;
 1371|      0|        }
 1372|     24|        set_version_unlocked(type, next_version_tag);
 1373|     24|        assert (type->tp_version_tag <= _Py_MAX_GLOBAL_TYPE_VERSION_TAG);
  ------------------
  |  Branch (1373:9): [True: 24, False: 0]
  ------------------
 1374|     24|    }
 1375|    446|    else {
 1376|       |        /* heap types */
 1377|    446|        if (NEXT_VERSION_TAG(interp) == 0) {
  ------------------
  |  |   47|    446|    (interp)->types.next_version_tag
  ------------------
  |  Branch (1377:13): [True: 0, False: 446]
  ------------------
 1378|       |            /* We have run out of version numbers */
 1379|      0|            return 0;
 1380|      0|        }
 1381|    446|        set_version_unlocked(type, NEXT_VERSION_TAG(interp)++);
  ------------------
  |  |   47|    446|    (interp)->types.next_version_tag
  ------------------
 1382|    446|        assert (type->tp_version_tag != 0);
  ------------------
  |  Branch (1382:9): [True: 446, False: 0]
  ------------------
 1383|    446|    }
 1384|    470|    return 1;
 1385|    470|}
typeobject.c:next_global_version_tag:
 1326|    416|{
 1327|    416|    unsigned int old;
 1328|    416|    do {
 1329|    416|        old = _Py_atomic_load_uint_relaxed(&_PyRuntime.types.next_version_tag);
 1330|    416|        if (old >= _Py_MAX_GLOBAL_TYPE_VERSION_TAG) {
  ------------------
  |  |   35|    416|#define _Py_MAX_GLOBAL_TYPE_VERSION_TAG (_Py_TYPE_BASE_VERSION_TAG - 1)
  |  |  ------------------
  |  |  |  |   34|    416|#define _Py_TYPE_BASE_VERSION_TAG (2<<16)
  |  |  ------------------
  ------------------
  |  Branch (1330:13): [True: 0, False: 416]
  ------------------
 1331|      0|            return 0;
 1332|      0|        }
 1333|    416|    } while (!_Py_atomic_compare_exchange_uint(&_PyRuntime.types.next_version_tag, &old, old + 1));
  ------------------
  |  Branch (1333:14): [True: 0, False: 416]
  ------------------
 1334|    416|    return old + 1;
 1335|    416|}
typeobject.c:type_qualname:
 1465|     25|{
 1466|     25|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  186|     25|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1467|     25|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|     25|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1467:9): [True: 2, False: 23]
  ------------------
 1468|      2|        PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 1469|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1470|      2|    }
 1471|     23|    else {
 1472|     23|        return PyUnicode_FromString(_PyType_Name(type));
 1473|     23|    }
 1474|     25|}
typeobject.c:type_module:
 1538|     25|{
 1539|     25|    PyObject *mod;
 1540|     25|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|     25|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1540:9): [True: 2, False: 23]
  ------------------
 1541|      2|        PyObject *dict = lookup_tp_dict(type);
 1542|      2|        if (PyDict_GetItemRef(dict, &_Py_ID(__module__), &mod) == 0) {
  ------------------
  |  |  921|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1542:13): [True: 0, False: 2]
  ------------------
 1543|      0|            PyErr_Format(PyExc_AttributeError, "__module__");
 1544|      0|        }
 1545|      2|    }
 1546|     23|    else {
 1547|     23|        const char *s = strrchr(type->tp_name, '.');
 1548|     23|        if (s != NULL) {
  ------------------
  |  Branch (1548:13): [True: 17, False: 6]
  ------------------
 1549|     17|            mod = PyUnicode_FromStringAndSize(
 1550|     17|                type->tp_name, (Py_ssize_t)(s - type->tp_name));
 1551|     17|            if (mod != NULL) {
  ------------------
  |  Branch (1551:17): [True: 17, False: 0]
  ------------------
 1552|     17|                PyInterpreterState *interp = _PyInterpreterState_GET();
 1553|     17|                _PyUnicode_InternMortal(interp, &mod);
 1554|     17|            }
 1555|     17|        }
 1556|      6|        else {
 1557|      6|            mod = &_Py_ID(builtins);
  ------------------
  |  |  921|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1558|      6|        }
 1559|     23|    }
 1560|     25|    return mod;
 1561|     25|}
typeobject.c:is_subtype_with_mro:
 2835|  19.5M|{
 2836|  19.5M|    int res;
 2837|  19.5M|    if (a_mro != NULL) {
  ------------------
  |  Branch (2837:9): [True: 19.5M, False: 2.08k]
  ------------------
 2838|       |        /* Deal with multiple inheritance without recursion
 2839|       |           by walking the MRO tuple */
 2840|  19.5M|        Py_ssize_t i, n;
 2841|  19.5M|        assert(PyTuple_Check(a_mro));
  ------------------
  |  Branch (2841:9): [True: 19.5M, False: 0]
  ------------------
 2842|  19.5M|        n = PyTuple_GET_SIZE(a_mro);
  ------------------
  |  |   27|  19.5M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2843|  19.5M|        res = 0;
 2844|  64.2M|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2844:21): [True: 45.0M, False: 19.2M]
  ------------------
 2845|  90.0M|            if (PyTuple_GET_ITEM(a_mro, i) == (PyObject *)b) {
  ------------------
  |  |   29|  45.0M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  45.0M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2845:17): [True: 45.0M, False: 0]
  |  Branch (2845:17): [True: 265k, False: 44.7M]
  ------------------
 2846|   265k|                res = 1;
 2847|   265k|                break;
 2848|   265k|            }
 2849|  45.0M|        }
 2850|  19.5M|    }
 2851|  2.08k|    else {
 2852|       |        /* a is not completely initialized yet; follow tp_base */
 2853|  2.08k|        res = type_is_subtype_base_chain(a, b);
 2854|  2.08k|    }
 2855|  19.5M|    return res;
 2856|  19.5M|}
typeobject.c:type_is_subtype_base_chain:
 2823|  2.08k|{
 2824|  2.09k|    do {
 2825|  2.09k|        if (a == b)
  ------------------
  |  Branch (2825:13): [True: 6, False: 2.09k]
  ------------------
 2826|      6|            return 1;
 2827|  2.09k|        a = a->tp_base;
 2828|  2.09k|    } while (a != NULL);
  ------------------
  |  Branch (2828:14): [True: 8, False: 2.08k]
  ------------------
 2829|       |
 2830|  2.08k|    return (b == &PyBaseObject_Type);
 2831|  2.08k|}
typeobject.c:maybe_call_special_no_args:
 3095|      4|{
 3096|      4|    PyThreadState *tstate = _PyThreadState_GET();
 3097|      4|    _PyCStackRef cref;
 3098|      4|    _PyThreadState_PushCStackRef(tstate, &cref);
 3099|       |
 3100|      4|    PyObject *res = NULL;
 3101|      4|    int unbound = lookup_maybe_method(self, attr, &cref.ref);
 3102|      4|    PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3103|      4|    if (attr_is_none != NULL) {
  ------------------
  |  Branch (3103:9): [True: 4, False: 0]
  ------------------
 3104|      4|        *attr_is_none = (func == Py_None);
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3105|      4|    }
 3106|      4|    if (func != NULL && (func != Py_None || attr_is_none == NULL)) {
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3106:9): [True: 4, False: 0]
  |  Branch (3106:26): [True: 4, False: 0]
  |  Branch (3106:45): [True: 0, False: 0]
  ------------------
 3107|      4|        res = call_unbound_noarg(unbound, func, self);
 3108|      4|    }
 3109|      4|    _PyThreadState_PopCStackRef(tstate, &cref);
 3110|      4|    return res;
 3111|      4|}
typeobject.c:lookup_maybe_method:
 2964|     19|{
 2965|     19|    return lookup_method_ex(self, attr, out, 0);
 2966|     19|}
typeobject.c:lookup_method_ex:
 2930|  50.0k|{
 2931|  50.0k|    _PyType_LookupStackRefAndVersion(Py_TYPE(self), attr, out);
  ------------------
  |  |  213|  50.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  50.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  50.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2932|  50.0k|    if (PyStackRef_IsNull(*out)) {
  ------------------
  |  |  482|  50.0k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  50.0k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  50.0k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 50.0k]
  |  |  ------------------
  ------------------
 2933|      0|        if (raise_attribute_error) {
  ------------------
  |  Branch (2933:13): [True: 0, False: 0]
  ------------------
 2934|      0|            PyErr_SetObject(PyExc_AttributeError, attr);
 2935|      0|        }
 2936|      0|        return -1;
 2937|      0|    }
 2938|       |
 2939|  50.0k|    PyObject *value = PyStackRef_AsPyObjectBorrow(*out);
 2940|  50.0k|    if (_PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|  50.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  50.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  50.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (_PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|  50.0k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (2940:9): [True: 50.0k, False: 0]
  ------------------
 2941|       |        /* Avoid temporary PyMethodObject */
 2942|  50.0k|        return 1;
 2943|  50.0k|    }
 2944|       |
 2945|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2946|      0|    if (f != NULL) {
  ------------------
  |  Branch (2946:9): [True: 0, False: 0]
  ------------------
 2947|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2948|      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]
  |  |  ------------------
  ------------------
 2949|      0|        if (value == NULL) {
  ------------------
  |  Branch (2949:13): [True: 0, False: 0]
  ------------------
 2950|      0|            if (!raise_attribute_error &&
  ------------------
  |  Branch (2950:17): [True: 0, False: 0]
  ------------------
 2951|      0|                PyErr_ExceptionMatches(PyExc_AttributeError))
  ------------------
  |  Branch (2951:17): [True: 0, False: 0]
  ------------------
 2952|      0|            {
 2953|      0|                PyErr_Clear();
 2954|      0|            }
 2955|      0|            return -1;
 2956|      0|        }
 2957|      0|        *out = PyStackRef_FromPyObjectSteal(value);
 2958|      0|    }
 2959|      0|    return 0;
 2960|      0|}
typeobject.c:call_unbound_noarg:
 2992|     89|{
 2993|     89|    if (unbound) {
  ------------------
  |  Branch (2993:9): [True: 89, False: 0]
  ------------------
 2994|     89|        return PyObject_CallOneArg(func, self);
 2995|     89|    }
 2996|      0|    else {
 2997|      0|        return _PyObject_CallNoArgs(func);
 2998|      0|    }
 2999|     89|}
typeobject.c:maybe_call_special_one_arg:
 3116|      6|{
 3117|      6|    PyThreadState *tstate = _PyThreadState_GET();
 3118|      6|    _PyCStackRef cref;
 3119|      6|    _PyThreadState_PushCStackRef(tstate, &cref);
 3120|       |
 3121|      6|    PyObject *res = NULL;
 3122|      6|    int unbound = lookup_maybe_method(self, attr, &cref.ref);
 3123|      6|    PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3124|      6|    if (attr_is_none != NULL) {
  ------------------
  |  Branch (3124:9): [True: 6, False: 0]
  ------------------
 3125|      6|        *attr_is_none = (func == Py_None);
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3126|      6|    }
 3127|      6|    if (func != NULL && (func != Py_None || attr_is_none == NULL)) {
  ------------------
  |  |  616|     12|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3127:9): [True: 6, False: 0]
  |  Branch (3127:26): [True: 6, False: 0]
  |  Branch (3127:45): [True: 0, False: 0]
  ------------------
 3128|      6|        PyObject *args[] = { self, arg };
 3129|      6|        res = vectorcall_unbound(tstate, unbound, func, args, 2);
 3130|      6|    }
 3131|      6|    _PyThreadState_PopCStackRef(tstate, &cref);
 3132|      6|    return res;
 3133|      6|}
typeobject.c:vectorcall_unbound:
 2978|    613|{
 2979|    613|    size_t nargsf = nargs;
 2980|    613|    if (!unbound) {
  ------------------
  |  Branch (2980:9): [True: 0, False: 613]
  ------------------
 2981|       |        /* Skip self argument, freeing up args[0] to use for
 2982|       |         * PY_VECTORCALL_ARGUMENTS_OFFSET */
 2983|      0|        args++;
 2984|      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))
  |  |  ------------------
  ------------------
 2985|      0|    }
 2986|    613|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_SLOT, func);
  ------------------
  |  |   80|    613|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
 2987|       |    return _PyObject_VectorcallTstate(tstate, func, args, nargsf, NULL);
 2988|    613|}
typeobject.c:type_from_slots_or_spec:
 5181|    130|{
 5182|       |    /* Invariant: A non-NULL value in one of these means this function holds
 5183|       |     * a strong reference or owns allocated memory.
 5184|       |     * These get decrefed/freed/returned at the end, on both success and error.
 5185|       |     */
 5186|    130|    PyHeapTypeObject *res = NULL;
 5187|    130|    PyTypeObject *type;
 5188|    130|    PyObject *bases = NULL;
 5189|    130|    char *tp_doc = NULL;
 5190|    130|    PyObject *ht_name = NULL;
 5191|    130|    char *_ht_tpname = NULL;
 5192|       |
 5193|    130|    int r;
 5194|       |
 5195|       |    /* First pass of slots */
 5196|       |
 5197|    130|    Py_ssize_t nmembers = 0;
 5198|    130|    const PyMemberDef *weaklistoffset_member = NULL;
 5199|    130|    const PyMemberDef *dictoffset_member = NULL;
 5200|    130|    const PyMemberDef *vectorcalloffset_member = NULL;
 5201|    130|    Py_ssize_t basicsize = 0;
 5202|    130|    Py_ssize_t extra_basicsize = 0;
 5203|    130|    Py_ssize_t itemsize = 0;
 5204|    130|    int flags = 0;
 5205|    130|    void *token = NULL;
 5206|       |
 5207|    130|    bool have_relative_members = false;
 5208|    130|    Py_ssize_t max_relative_offset = 0;
 5209|       |
 5210|    130|    PyObject *bases_slot = NULL; /* borrowed from the slots */
 5211|       |
 5212|    130|    _PySlotIterator it;
 5213|       |
 5214|    130|    if (spec) {
  ------------------
  |  Branch (5214:9): [True: 130, False: 0]
  ------------------
 5215|    130|        assert(!slots);
  ------------------
  |  Branch (5215:9): [True: 130, False: 0]
  ------------------
 5216|    130|        if (spec->basicsize > 0) {
  ------------------
  |  Branch (5216:13): [True: 124, False: 6]
  ------------------
 5217|    124|            basicsize = spec->basicsize;
 5218|    124|        }
 5219|    130|        if (spec->basicsize < 0) {
  ------------------
  |  Branch (5219:13): [True: 0, False: 130]
  ------------------
 5220|      0|            extra_basicsize = -spec->basicsize;
 5221|      0|        }
 5222|    130|        itemsize = spec->itemsize;
 5223|    130|        flags = spec->flags;
 5224|    130|        _PySlotIterator_InitLegacy(&it, spec->slots, _PySlot_KIND_TYPE);
 5225|    130|        it.name = spec->name;
 5226|    130|    }
 5227|      0|    else {
 5228|      0|        assert(!spec);
  ------------------
  |  Branch (5228:9): [True: 0, False: 0]
  ------------------
 5229|      0|        assert(!metaclass);
  ------------------
  |  Branch (5229:9): [True: 0, False: 0]
  ------------------
 5230|      0|        assert(!module);
  ------------------
  |  Branch (5230:9): [True: 0, False: 0]
  ------------------
 5231|      0|        assert(!bases_in);
  ------------------
  |  Branch (5231:9): [True: 0, False: 0]
  ------------------
 5232|      0|        _PySlotIterator_Init(&it, slots, _PySlot_KIND_TYPE);
 5233|      0|    }
 5234|       |
 5235|    130|    #define NO_SPEC                                         \
 5236|    130|        if (spec) {                                         \
 5237|    130|            PyErr_Format(                                   \
 5238|    130|                PyExc_SystemError,                          \
 5239|    130|                "%s must not be used with PyType_Spec",     \
 5240|    130|                _PySlot_GetName(it.current.sl_id));         \
 5241|    130|            goto finally;                                   \
 5242|    130|        }                                                   \
 5243|       |        /////////////////////////////////////////////////////
 5244|       |
 5245|  1.13k|    while (_PySlotIterator_Next(&it)) {
  ------------------
  |  Branch (5245:12): [True: 1.00k, False: 130]
  ------------------
 5246|  1.00k|        switch (it.current.sl_id) {
  ------------------
  |  Branch (5246:17): [True: 173, False: 834]
  ------------------
 5247|      0|        case Py_slot_invalid:
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (5247:9): [True: 0, False: 1.00k]
  ------------------
 5248|      0|            goto finally;
 5249|      0|        case Py_tp_name:
  ------------------
  |  |  103|      0|#define Py_tp_name 95
  ------------------
  |  Branch (5249:9): [True: 0, False: 1.00k]
  ------------------
 5250|      0|            NO_SPEC;
  ------------------
  |  | 5236|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5236:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5237|      0|            PyErr_Format(                                   \
  |  | 5238|      0|                PyExc_SystemError,                          \
  |  | 5239|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5240|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5241|      0|            goto finally;                                   \
  |  | 5242|      0|        }                                                   \
  ------------------
 5251|      0|            it.name = it.current.sl_ptr;
 5252|      0|            break;
 5253|      0|        case Py_tp_metaclass:
  ------------------
  |  |  115|      0|#define Py_tp_metaclass 107
  ------------------
  |  Branch (5253:9): [True: 0, False: 1.00k]
  ------------------
 5254|      0|            NO_SPEC;
  ------------------
  |  | 5236|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5236:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5237|      0|            PyErr_Format(                                   \
  |  | 5238|      0|                PyExc_SystemError,                          \
  |  | 5239|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5240|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5241|      0|            goto finally;                                   \
  |  | 5242|      0|        }                                                   \
  ------------------
 5255|      0|            metaclass = it.current.sl_ptr;
 5256|      0|            break;
 5257|      0|        case Py_tp_module:
  ------------------
  |  |  116|      0|#define Py_tp_module 108
  ------------------
  |  Branch (5257:9): [True: 0, False: 1.00k]
  ------------------
 5258|      0|            NO_SPEC;
  ------------------
  |  | 5236|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5236:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5237|      0|            PyErr_Format(                                   \
  |  | 5238|      0|                PyExc_SystemError,                          \
  |  | 5239|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5240|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5241|      0|            goto finally;                                   \
  |  | 5242|      0|        }                                                   \
  ------------------
 5259|      0|            module = it.current.sl_ptr;
 5260|      0|            break;
 5261|      0|        case Py_tp_bases:
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (5261:9): [True: 0, False: 1.00k]
  ------------------
 5262|      0|            bases_slot = it.current.sl_ptr;
 5263|      0|            break;
 5264|      0|        case Py_tp_base:
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (5264:9): [True: 0, False: 1.00k]
  ------------------
 5265|      0|            if (!_PySlotIterator_SawSlot(&it, Py_tp_bases)) {
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (5265:17): [True: 0, False: 0]
  ------------------
 5266|      0|                bases_slot = it.current.sl_ptr;
 5267|      0|            }
 5268|      0|            break;
 5269|      0|        case Py_tp_basicsize:
  ------------------
  |  |  104|      0|#define Py_tp_basicsize 96
  ------------------
  |  Branch (5269:9): [True: 0, False: 1.00k]
  ------------------
 5270|      0|            NO_SPEC;
  ------------------
  |  | 5236|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5236:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5237|      0|            PyErr_Format(                                   \
  |  | 5238|      0|                PyExc_SystemError,                          \
  |  | 5239|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5240|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5241|      0|            goto finally;                                   \
  |  | 5242|      0|        }                                                   \
  ------------------
 5271|      0|            basicsize = it.current.sl_size;
 5272|      0|            if (basicsize <= 0) {
  ------------------
  |  Branch (5272:17): [True: 0, False: 0]
  ------------------
 5273|      0|                PyErr_SetString(
 5274|      0|                    PyExc_SystemError,
 5275|      0|                    "Py_tp_basicsize must be positive");
 5276|      0|                goto finally;
 5277|      0|            }
 5278|      0|            break;
 5279|      0|        case Py_tp_extra_basicsize:
  ------------------
  |  |  105|      0|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (5279:9): [True: 0, False: 1.00k]
  ------------------
 5280|      0|            NO_SPEC;
  ------------------
  |  | 5236|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5236:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5237|      0|            PyErr_Format(                                   \
  |  | 5238|      0|                PyExc_SystemError,                          \
  |  | 5239|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5240|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5241|      0|            goto finally;                                   \
  |  | 5242|      0|        }                                                   \
  ------------------
 5281|      0|            extra_basicsize = it.current.sl_size;
 5282|      0|            if (extra_basicsize <= 0) {
  ------------------
  |  Branch (5282:17): [True: 0, False: 0]
  ------------------
 5283|      0|                PyErr_SetString(
 5284|      0|                    PyExc_SystemError,
 5285|      0|                    "Py_tp_extra_basicsize must be positive");
 5286|      0|                goto finally;
 5287|      0|            }
 5288|      0|            break;
 5289|      0|        case Py_tp_itemsize:
  ------------------
  |  |  106|      0|#define Py_tp_itemsize 98
  ------------------
  |  Branch (5289:9): [True: 0, False: 1.00k]
  ------------------
 5290|      0|            NO_SPEC;
  ------------------
  |  | 5236|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5236:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5237|      0|            PyErr_Format(                                   \
  |  | 5238|      0|                PyExc_SystemError,                          \
  |  | 5239|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5240|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5241|      0|            goto finally;                                   \
  |  | 5242|      0|        }                                                   \
  ------------------
 5291|      0|            itemsize = it.current.sl_size;
 5292|      0|            if (itemsize <= 0) {
  ------------------
  |  Branch (5292:17): [True: 0, False: 0]
  ------------------
 5293|      0|                PyErr_SetString(
 5294|      0|                    PyExc_SystemError,
 5295|      0|                    "Py_tp_itemsize must be positive");
 5296|      0|                goto finally;
 5297|      0|            }
 5298|      0|            break;
 5299|      0|        case Py_tp_flags:
  ------------------
  |  |  107|      0|#define Py_tp_flags 99
  ------------------
  |  Branch (5299:9): [True: 0, False: 1.00k]
  ------------------
 5300|      0|            NO_SPEC;
  ------------------
  |  | 5236|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5236:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5237|      0|            PyErr_Format(                                   \
  |  | 5238|      0|                PyExc_SystemError,                          \
  |  | 5239|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5240|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5241|      0|            goto finally;                                   \
  |  | 5242|      0|        }                                                   \
  ------------------
 5301|      0|            flags = (int)it.current.sl_uint64;
 5302|      0|            break;
 5303|     74|        case Py_tp_members:
  ------------------
  |  |   80|     74|#define Py_tp_members 72
  ------------------
  |  Branch (5303:9): [True: 74, False: 933]
  ------------------
 5304|     74|            for (const PyMemberDef *memb = it.current.sl_ptr;
 5305|    346|                 memb->name != NULL;
  ------------------
  |  Branch (5305:18): [True: 272, False: 74]
  ------------------
 5306|    272|                 memb++)
 5307|    272|            {
 5308|    272|                nmembers++;
 5309|    272|                if (memb->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|    272|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (5309:21): [True: 0, False: 272]
  ------------------
 5310|      0|                    if (memb->offset < 0) {
  ------------------
  |  Branch (5310:25): [True: 0, False: 0]
  ------------------
 5311|      0|                        PyErr_SetString(
 5312|      0|                            PyExc_SystemError,
 5313|      0|                            "Member offset must not be negative");
 5314|      0|                        goto finally;
 5315|      0|                    }
 5316|      0|                    have_relative_members = true;
 5317|      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]
  |  |  ------------------
  ------------------
 5318|      0|                                                 memb->offset);
 5319|      0|                }
 5320|    272|                if (strcmp(memb->name, "__weaklistoffset__") == 0) {
  ------------------
  |  Branch (5320:21): [True: 27, False: 245]
  ------------------
 5321|     27|                    weaklistoffset_member = memb;
 5322|     27|                }
 5323|    245|                else if (strcmp(memb->name, "__dictoffset__") == 0) {
  ------------------
  |  Branch (5323:26): [True: 21, False: 224]
  ------------------
 5324|     21|                    dictoffset_member = memb;
 5325|     21|                }
 5326|    224|                else if (strcmp(memb->name, "__vectorcalloffset__") == 0) {
  ------------------
  |  Branch (5326:26): [True: 4, False: 220]
  ------------------
 5327|      4|                    vectorcalloffset_member = memb;
 5328|      4|                }
 5329|    272|            }
 5330|     74|            break;
 5331|     74|        case Py_tp_token:
  ------------------
  |  |   91|      1|#define Py_tp_token 83
  ------------------
  |  Branch (5331:9): [True: 1, False: 1.00k]
  ------------------
 5332|      1|            token = it.current.sl_ptr;
 5333|      1|            if (token == Py_TP_USE_SPEC) {
  ------------------
  |  |  365|      1|#define Py_TP_USE_SPEC NULL
  ------------------
  |  Branch (5333:17): [True: 1, False: 0]
  ------------------
 5334|      1|                if (!spec) {
  ------------------
  |  Branch (5334:21): [True: 0, False: 1]
  ------------------
 5335|      0|                    PyErr_SetString(
 5336|      0|                        PyExc_SystemError,
 5337|      0|                        "Py_tp_token: Py_TP_USE_SPEC (NULL) can only be "
 5338|      0|                        "used with PyType_Spec");
 5339|      0|                    goto finally;
 5340|      0|                }
 5341|      1|                token = spec;
 5342|      1|            }
 5343|      1|            break;
 5344|     98|        case Py_tp_doc:
  ------------------
  |  |   64|     98|#define Py_tp_doc 56
  ------------------
  |  Branch (5344:9): [True: 98, False: 909]
  ------------------
 5345|       |            /* For the docstring slot, which usually points to a static string
 5346|       |               literal, we need to make a copy */
 5347|     98|            if (it.current.sl_ptr == NULL) {
  ------------------
  |  Branch (5347:17): [True: 0, False: 98]
  ------------------
 5348|      0|                PyMem_Free(tp_doc);
 5349|      0|                tp_doc = NULL;
 5350|      0|            }
 5351|     98|            else {
 5352|     98|                size_t len = strlen(it.current.sl_ptr)+1;
 5353|     98|                tp_doc = PyMem_Malloc(len);
 5354|     98|                if (tp_doc == NULL) {
  ------------------
  |  Branch (5354:21): [True: 0, False: 98]
  ------------------
 5355|      0|                    PyErr_NoMemory();
 5356|      0|                    goto finally;
 5357|      0|                }
 5358|     98|                memcpy(tp_doc, it.current.sl_ptr, len);
 5359|     98|            }
 5360|     98|            break;
 5361|  1.00k|        }
 5362|  1.00k|    }
 5363|    130|    #undef NO_SPEC
 5364|       |
 5365|       |    /* Required slots & bad combinations */
 5366|       |
 5367|    130|    if (it.name == NULL) {
  ------------------
  |  Branch (5367:9): [True: 0, False: 130]
  ------------------
 5368|      0|        if (spec) {
  ------------------
  |  Branch (5368:13): [True: 0, False: 0]
  ------------------
 5369|      0|            PyErr_SetString(PyExc_SystemError,
 5370|      0|                            "Type spec does not define the name field.");
 5371|      0|        }
 5372|      0|        else {
 5373|      0|            PyErr_SetString(PyExc_SystemError,
 5374|      0|                            "Py_tp_name slot is required.");
 5375|      0|        }
 5376|      0|        goto finally;
 5377|      0|    }
 5378|       |
 5379|    130|    if (_PySlotIterator_SawSlot(&it, Py_tp_basicsize)
  ------------------
  |  |  104|    130|#define Py_tp_basicsize 96
  ------------------
  |  Branch (5379:9): [True: 0, False: 130]
  ------------------
 5380|      0|        && _PySlotIterator_SawSlot(&it, Py_tp_extra_basicsize))
  ------------------
  |  |  105|      0|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (5380:12): [True: 0, False: 0]
  ------------------
 5381|      0|    {
 5382|      0|        PyErr_Format(
 5383|      0|            PyExc_SystemError,
 5384|      0|            "type %s: Py_tp_basicsize and Py_tp_extra_basicsize are "
 5385|      0|            "mutually exclusive",
 5386|      0|            it.name);
 5387|      0|        goto finally;
 5388|      0|    }
 5389|       |
 5390|    130|    if (have_relative_members) {
  ------------------
  |  Branch (5390:9): [True: 0, False: 130]
  ------------------
 5391|      0|        if (!extra_basicsize) {
  ------------------
  |  Branch (5391:13): [True: 0, False: 0]
  ------------------
 5392|      0|            PyErr_SetString(
 5393|      0|                PyExc_SystemError,
 5394|      0|                "With Py_RELATIVE_OFFSET, basicsize must be extended");
 5395|      0|            goto finally;
 5396|      0|        }
 5397|      0|        if (max_relative_offset >= extra_basicsize) {
  ------------------
  |  Branch (5397:13): [True: 0, False: 0]
  ------------------
 5398|      0|            PyErr_SetString(
 5399|      0|                PyExc_SystemError,
 5400|      0|                "Member offset out of range (0..extra_basicsize)");
 5401|      0|            goto finally;
 5402|      0|        }
 5403|      0|    }
 5404|       |
 5405|       |    /* Prepare the type name and qualname */
 5406|       |
 5407|    130|    assert(it.name);
  ------------------
  |  Branch (5407:5): [True: 130, False: 0]
  ------------------
 5408|    130|    const char *s = strrchr(it.name, '.');
 5409|    130|    if (s == NULL) {
  ------------------
  |  Branch (5409:9): [True: 0, False: 130]
  ------------------
 5410|      0|        s = it.name;
 5411|      0|    }
 5412|    130|    else {
 5413|    130|        s++;
 5414|    130|    }
 5415|       |
 5416|    130|    ht_name = PyUnicode_FromString(s);
 5417|    130|    if (!ht_name) {
  ------------------
  |  Branch (5417:9): [True: 0, False: 130]
  ------------------
 5418|      0|        goto finally;
 5419|      0|    }
 5420|       |
 5421|       |    /* Copy the name to a buffer we own.
 5422|       |    *
 5423|       |    * Unfortunately, we can't use tp_name directly (with some
 5424|       |    * flag saying that it should be deallocated with the type),
 5425|       |    * because tp_name is public API and may be set independently
 5426|       |    * of any such flag.
 5427|       |    * So, we use a separate buffer, _ht_tpname, that's always
 5428|       |    * deallocated with the type (if it's non-NULL).
 5429|       |    */
 5430|    130|    Py_ssize_t name_buf_len = strlen(it.name) + 1;
 5431|    130|    _ht_tpname = PyMem_Malloc(name_buf_len);
 5432|    130|    if (_ht_tpname == NULL) {
  ------------------
  |  Branch (5432:9): [True: 0, False: 130]
  ------------------
 5433|      0|        PyErr_NoMemory();
 5434|      0|        goto finally;
 5435|      0|    }
 5436|    130|    memcpy(_ht_tpname, it.name, name_buf_len);
 5437|       |
 5438|       |    /* Get a tuple of bases.
 5439|       |     * bases is a strong reference (unlike bases_in).
 5440|       |     * (This is convoluted for backwards compatibility -- preserving priority
 5441|       |     * of the various ways to specify bases)
 5442|       |     */
 5443|    130|    if (!bases_in) {
  ------------------
  |  Branch (5443:9): [True: 89, False: 41]
  ------------------
 5444|     89|        bases_in = bases_slot;
 5445|     89|    }
 5446|    130|    if (bases_in) {
  ------------------
  |  Branch (5446:9): [True: 41, False: 89]
  ------------------
 5447|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5448|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5449|      0|        }
 5450|     41|        else {
 5451|     41|            bases = PyTuple_Pack(1, bases_in);
 5452|     41|        }
 5453|     41|    }
 5454|     89|    else {
 5455|     89|        bases = PyTuple_Pack(1, &PyBaseObject_Type);
 5456|     89|    }
 5457|    130|    if (!bases) {
  ------------------
  |  Branch (5457:9): [True: 0, False: 130]
  ------------------
 5458|      0|        goto finally;
 5459|      0|    }
 5460|       |
 5461|       |    /* If this is an immutable type, check if all bases are also immutable.
 5462|       |     * (This isn't necessary for static types: those can't have heap bases,
 5463|       |     * and only heap types can be mutable.)
 5464|       |     */
 5465|    130|    if (flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|    130|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (5465:9): [True: 107, False: 23]
  ------------------
 5466|    107|        if (check_immutable_bases(it.name, bases, 0) < 0) {
  ------------------
  |  Branch (5466:13): [True: 0, False: 107]
  ------------------
 5467|      0|            goto finally;
 5468|      0|        }
 5469|    107|    }
 5470|       |
 5471|       |    /* Calculate best base, and check that all bases are type objects */
 5472|    130|    PyTypeObject *base = find_best_base(bases);  // borrowed ref
 5473|    130|    if (base == NULL) {
  ------------------
  |  Branch (5473:9): [True: 0, False: 130]
  ------------------
 5474|      0|        goto finally;
 5475|      0|    }
 5476|       |
 5477|       |    /* Calculate the metaclass */
 5478|       |
 5479|    130|    if (!metaclass) {
  ------------------
  |  Branch (5479:9): [True: 130, False: 0]
  ------------------
 5480|    130|        metaclass = &PyType_Type;
 5481|    130|    }
 5482|    130|    metaclass = _PyType_CalculateMetaclass(metaclass, bases);
 5483|    130|    if (metaclass == NULL) {
  ------------------
  |  Branch (5483:9): [True: 0, False: 130]
  ------------------
 5484|      0|        goto finally;
 5485|      0|    }
 5486|    130|    if (!PyType_Check(metaclass)) {
  ------------------
  |  |  766|    130|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5486:9): [True: 0, False: 130]
  ------------------
 5487|      0|        PyErr_Format(PyExc_TypeError,
 5488|      0|                     "Metaclass '%R' is not a subclass of 'type'.",
 5489|      0|                     metaclass);
 5490|      0|        goto finally;
 5491|      0|    }
 5492|    130|    if (metaclass->tp_new && metaclass->tp_new != PyType_Type.tp_new) {
  ------------------
  |  Branch (5492:9): [True: 130, False: 0]
  |  Branch (5492:30): [True: 0, False: 130]
  ------------------
 5493|      0|        PyErr_SetString(
 5494|      0|            PyExc_TypeError,
 5495|      0|            "Metaclasses with custom tp_new are not supported.");
 5496|      0|        goto finally;
 5497|      0|    }
 5498|       |
 5499|       |    // find_best_base() should check Py_TPFLAGS_BASETYPE & raise a proper
 5500|       |    // exception, here we just check its work
 5501|    130|    assert(_PyType_HasFeature(base, Py_TPFLAGS_BASETYPE));
  ------------------
  |  Branch (5501:5): [True: 130, False: 0]
  ------------------
 5502|       |
 5503|       |    /* Calculate sizes */
 5504|       |
 5505|    130|    Py_ssize_t type_data_offset = basicsize;
 5506|    130|    if (extra_basicsize) {
  ------------------
  |  Branch (5506:9): [True: 0, False: 130]
  ------------------
 5507|       |        /* Extend */
 5508|      0|        assert(basicsize == 0);
  ------------------
  |  Branch (5508:9): [True: 0, False: 0]
  ------------------
 5509|      0|        type_data_offset = _align_up(base->tp_basicsize);
 5510|      0|        basicsize = type_data_offset + _align_up(extra_basicsize);
 5511|       |
 5512|       |        /* Inheriting variable-sized types is limited */
 5513|      0|        if (base->tp_itemsize
  ------------------
  |  Branch (5513:13): [True: 0, False: 0]
  ------------------
 5514|      0|            && !((base->tp_flags | flags) & Py_TPFLAGS_ITEMS_AT_END))
  ------------------
  |  |  548|      0|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (5514:16): [True: 0, False: 0]
  ------------------
 5515|      0|        {
 5516|      0|            PyErr_SetString(
 5517|      0|                PyExc_SystemError,
 5518|      0|                "Cannot extend variable-size class without Py_TPFLAGS_ITEMS_AT_END.");
 5519|      0|            goto finally;
 5520|      0|        }
 5521|      0|    }
 5522|    130|    if (basicsize == 0) {
  ------------------
  |  Branch (5522:9): [True: 6, False: 124]
  ------------------
 5523|       |        /* Inherit */
 5524|      6|        basicsize = base->tp_basicsize;
 5525|      6|    }
 5526|       |
 5527|       |    /* Compute special offsets */
 5528|       |
 5529|    130|    Py_ssize_t weaklistoffset = 0;
 5530|    130|    if (special_offset_from_member(weaklistoffset_member, type_data_offset,
  ------------------
  |  Branch (5530:9): [True: 0, False: 130]
  ------------------
 5531|    130|                                  &weaklistoffset) < 0) {
 5532|      0|        goto finally;
 5533|      0|    }
 5534|    130|    Py_ssize_t dictoffset = 0;
 5535|    130|    if (special_offset_from_member(dictoffset_member, type_data_offset,
  ------------------
  |  Branch (5535:9): [True: 0, False: 130]
  ------------------
 5536|    130|                                  &dictoffset) < 0) {
 5537|      0|        goto finally;
 5538|      0|    }
 5539|    130|    Py_ssize_t vectorcalloffset = 0;
 5540|    130|    if (special_offset_from_member(vectorcalloffset_member, type_data_offset,
  ------------------
  |  Branch (5540:9): [True: 0, False: 130]
  ------------------
 5541|    130|                                  &vectorcalloffset) < 0) {
 5542|      0|        goto finally;
 5543|      0|    }
 5544|       |
 5545|       |    /* Allocate the new type
 5546|       |     *
 5547|       |     * Between here and PyType_Ready, we should limit:
 5548|       |     * - calls to Python code
 5549|       |     * - raising exceptions
 5550|       |     * - memory allocations
 5551|       |     */
 5552|       |
 5553|    130|    res = (PyHeapTypeObject*)metaclass->tp_alloc(metaclass, nmembers);
 5554|    130|    if (res == NULL) {
  ------------------
  |  Branch (5554:9): [True: 0, False: 130]
  ------------------
 5555|      0|        goto finally;
 5556|      0|    }
 5557|       |
 5558|    130|    type = &res->ht_type;
 5559|       |    /* The flags must be initialized early, before the GC traverses us */
 5560|    130|    type_set_flags(type, flags | Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  503|    130|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
 5561|       |
 5562|    130|    res->ht_module = Py_XNewRef(module);
  ------------------
  |  |  551|    130|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5563|       |
 5564|       |    /* Initialize essential fields */
 5565|       |
 5566|    130|    type->tp_as_async = &res->as_async;
 5567|    130|    type->tp_as_number = &res->as_number;
 5568|    130|    type->tp_as_sequence = &res->as_sequence;
 5569|    130|    type->tp_as_mapping = &res->as_mapping;
 5570|    130|    type->tp_as_buffer = &res->as_buffer;
 5571|       |
 5572|       |    /* Set slots we have prepared */
 5573|       |
 5574|    130|    type->tp_base = (PyTypeObject *)Py_NewRef(base);
  ------------------
  |  |  550|    130|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5575|    130|    set_tp_bases(type, bases, 1);
 5576|    130|    bases = NULL;  // We give our reference to bases to the type
 5577|       |
 5578|    130|    type->tp_doc = tp_doc;
 5579|    130|    tp_doc = NULL;  // Give ownership of the allocated memory to the type
 5580|       |
 5581|    130|    res->ht_qualname = Py_NewRef(ht_name);
  ------------------
  |  |  550|    130|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5582|    130|    res->ht_name = ht_name;
 5583|    130|    ht_name = NULL;  // Give our reference to the type
 5584|       |
 5585|    130|    type->tp_name = _ht_tpname;
 5586|    130|    res->_ht_tpname = _ht_tpname;
 5587|    130|    _ht_tpname = NULL;  // Give ownership to the type
 5588|       |
 5589|    130|    res->ht_token = token;
 5590|       |
 5591|       |    /* Copy the sizes */
 5592|       |
 5593|    130|    type->tp_basicsize = basicsize;
 5594|    130|    type->tp_itemsize = itemsize;
 5595|       |
 5596|       |    /* Second pass of slots: copy most of them into the type */
 5597|       |
 5598|    130|    _PySlotIterator_Rewind(&it, spec ? (void*)spec->slots : (void*)slots);
  ------------------
  |  Branch (5598:33): [True: 130, False: 0]
  ------------------
 5599|  1.13k|    while (_PySlotIterator_Next(&it)) {
  ------------------
  |  Branch (5599:12): [True: 1.00k, False: 130]
  ------------------
 5600|  1.00k|        switch (it.current.sl_id) {
 5601|      0|        case Py_slot_invalid:
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (5601:9): [True: 0, False: 1.00k]
  ------------------
 5602|      0|            goto finally;
 5603|      0|        case Py_tp_base:
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (5603:9): [True: 0, False: 1.00k]
  ------------------
 5604|      0|        case Py_tp_bases:
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (5604:9): [True: 0, False: 1.00k]
  ------------------
 5605|     98|        case Py_tp_doc:
  ------------------
  |  |   64|     98|#define Py_tp_doc 56
  ------------------
  |  Branch (5605:9): [True: 98, False: 909]
  ------------------
 5606|       |            /* Processed above */
 5607|     98|            break;
 5608|     74|        case Py_tp_members:
  ------------------
  |  |   80|     74|#define Py_tp_members 72
  ------------------
  |  Branch (5608:9): [True: 74, False: 933]
  ------------------
 5609|     74|            {
 5610|       |                /* Move the slots to the heap type itself */
 5611|     74|                size_t len = Py_TYPE(type)->tp_itemsize * nmembers;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5612|     74|                memcpy(_PyHeapType_GET_MEMBERS(res), it.current.sl_ptr, len);
 5613|     74|                type->tp_members = _PyHeapType_GET_MEMBERS(res);
 5614|     74|                PyMemberDef *memb;
 5615|     74|                Py_ssize_t i;
 5616|     74|                for (memb = _PyHeapType_GET_MEMBERS(res), i = nmembers;
 5617|    346|                     i > 0; ++memb, --i)
  ------------------
  |  Branch (5617:22): [True: 272, False: 74]
  ------------------
 5618|    272|                {
 5619|    272|                    if (memb->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|    272|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (5619:25): [True: 0, False: 272]
  ------------------
 5620|      0|                        memb->flags &= ~Py_RELATIVE_OFFSET;
  ------------------
  |  |   86|      0|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
 5621|      0|                        memb->offset += type_data_offset;
 5622|      0|                    }
 5623|    272|                }
 5624|     74|            }
 5625|     74|            break;
 5626|    835|        default:
  ------------------
  |  Branch (5626:9): [True: 835, False: 172]
  ------------------
 5627|    835|            _PySlot_heaptype_apply_field_slot(res, it.current);
 5628|    835|            break;
 5629|  1.00k|        }
 5630|  1.00k|    }
 5631|    130|    if (type->tp_dealloc == NULL) {
  ------------------
  |  Branch (5631:9): [True: 6, False: 124]
  ------------------
 5632|       |        /* It's a heap type, so needs the heap types' dealloc.
 5633|       |           subtype_dealloc will call the base type's tp_dealloc, if
 5634|       |           necessary. */
 5635|      6|        type->tp_dealloc = subtype_dealloc;
 5636|      6|    }
 5637|       |
 5638|       |    /* Set up offsets */
 5639|       |
 5640|    130|    type->tp_vectorcall_offset = vectorcalloffset;
 5641|    130|    type->tp_weaklistoffset = weaklistoffset;
 5642|    130|    type->tp_dictoffset = dictoffset;
 5643|       |
 5644|       |#ifdef Py_GIL_DISABLED
 5645|       |    // Assign a unique id to enable per-thread refcounting
 5646|       |    res->unique_id = _PyObject_AssignUniqueId((PyObject *)res);
 5647|       |#endif
 5648|       |
 5649|       |    /* Ready the type (which includes inheritance).
 5650|       |     *
 5651|       |     * After this call we should generally only touch up what's
 5652|       |     * accessible to Python code, like __dict__.
 5653|       |     */
 5654|       |
 5655|    130|    if (PyType_Ready(type) < 0) {
  ------------------
  |  Branch (5655:9): [True: 0, False: 130]
  ------------------
 5656|      0|        goto finally;
 5657|      0|    }
 5658|       |
 5659|    130|    if (!check_basicsize_includes_size_and_offsets(type)) {
  ------------------
  |  Branch (5659:9): [True: 0, False: 130]
  ------------------
 5660|      0|        goto finally;
 5661|      0|    }
 5662|       |
 5663|    130|    PyObject *dict = lookup_tp_dict(type);
 5664|    130|    if (type->tp_doc) {
  ------------------
  |  Branch (5664:9): [True: 98, False: 32]
  ------------------
 5665|     98|        PyObject *__doc__ = PyUnicode_FromString(_PyType_DocWithoutSignature(type->tp_name, type->tp_doc));
 5666|     98|        if (!__doc__) {
  ------------------
  |  Branch (5666:13): [True: 0, False: 98]
  ------------------
 5667|      0|            goto finally;
 5668|      0|        }
 5669|     98|        r = PyDict_SetItem(dict, &_Py_ID(__doc__), __doc__);
  ------------------
  |  |  921|     98|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     98|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     98|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5670|     98|        Py_DECREF(__doc__);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5671|     98|        if (r < 0) {
  ------------------
  |  Branch (5671:13): [True: 0, False: 98]
  ------------------
 5672|      0|            goto finally;
 5673|      0|        }
 5674|     98|    }
 5675|       |
 5676|    130|    if (weaklistoffset) {
  ------------------
  |  Branch (5676:9): [True: 27, False: 103]
  ------------------
 5677|     27|        if (PyDict_DelItem(dict, &_Py_ID(__weaklistoffset__)) < 0) {
  ------------------
  |  |  921|     27|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     27|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     27|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5677:13): [True: 0, False: 27]
  ------------------
 5678|      0|            goto finally;
 5679|      0|        }
 5680|     27|    }
 5681|    130|    if (dictoffset) {
  ------------------
  |  Branch (5681:9): [True: 21, False: 109]
  ------------------
 5682|     21|        if (PyDict_DelItem(dict, &_Py_ID(__dictoffset__)) < 0) {
  ------------------
  |  |  921|     21|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     21|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     21|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5682:13): [True: 0, False: 21]
  ------------------
 5683|      0|            goto finally;
 5684|      0|        }
 5685|     21|    }
 5686|       |
 5687|       |    /* Set type.__module__ */
 5688|    130|    r = PyDict_Contains(dict, &_Py_ID(__module__));
  ------------------
  |  |  921|    130|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    130|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    130|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5689|    130|    if (r < 0) {
  ------------------
  |  Branch (5689:9): [True: 0, False: 130]
  ------------------
 5690|      0|        goto finally;
 5691|      0|    }
 5692|    130|    if (r == 0) {
  ------------------
  |  Branch (5692:9): [True: 130, False: 0]
  ------------------
 5693|    130|        s = strrchr(it.name, '.');
 5694|    130|        if (s != NULL) {
  ------------------
  |  Branch (5694:13): [True: 130, False: 0]
  ------------------
 5695|    130|            PyObject *modname = PyUnicode_FromStringAndSize(
 5696|    130|                    it.name, (Py_ssize_t)(s - it.name));
 5697|    130|            if (modname == NULL) {
  ------------------
  |  Branch (5697:17): [True: 0, False: 130]
  ------------------
 5698|      0|                goto finally;
 5699|      0|            }
 5700|    130|            r = PyDict_SetItem(dict, &_Py_ID(__module__), modname);
  ------------------
  |  |  921|    130|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    130|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    130|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5701|    130|            Py_DECREF(modname);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5702|    130|            if (r != 0) {
  ------------------
  |  Branch (5702:17): [True: 0, False: 130]
  ------------------
 5703|      0|                goto finally;
 5704|      0|            }
 5705|    130|        }
 5706|      0|        else {
 5707|      0|            if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
  ------------------
  |  Branch (5707:17): [True: 0, False: 0]
  ------------------
 5708|      0|                    "builtin type %.200s has no __module__ attribute",
 5709|      0|                    it.name))
 5710|      0|                goto finally;
 5711|      0|        }
 5712|    130|    }
 5713|       |
 5714|    130|    assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (5714:5): [True: 130, False: 0]
  ------------------
 5715|       |#if defined(Py_GIL_DISABLED) && defined(Py_DEBUG) && SIZEOF_VOID_P > 4
 5716|       |    // After this point, other threads can potentally use this type.
 5717|       |    ((PyObject*)type)->ob_flags |= _Py_TYPE_REVEALED_FLAG;
 5718|       |#endif
 5719|       |
 5720|    130|finally:
 5721|    130|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (5721:9): [True: 0, False: 130]
  ------------------
 5722|      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]
  |  |  ------------------
  ------------------
 5723|      0|    }
 5724|    130|    Py_XDECREF(bases);
  ------------------
  |  |  524|    130|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5725|    130|    PyMem_Free(tp_doc);
 5726|    130|    Py_XDECREF(ht_name);
  ------------------
  |  |  524|    130|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5727|    130|    PyMem_Free(_ht_tpname);
 5728|    130|    return (PyObject*)res;
 5729|    130|}
typeobject.c:find_best_base:
 3638|    804|{
 3639|    804|    Py_ssize_t i, n;
 3640|    804|    PyTypeObject *base, *winner, *candidate;
 3641|       |
 3642|    804|    assert(PyTuple_Check(bases));
  ------------------
  |  Branch (3642:5): [True: 804, False: 0]
  ------------------
 3643|    804|    n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|    804|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    804|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    804|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3644|    804|    assert(n > 0);
  ------------------
  |  Branch (3644:5): [True: 804, False: 0]
  ------------------
 3645|    804|    base = NULL;
 3646|    804|    winner = NULL;
 3647|  1.80k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3647:17): [True: 997, False: 804]
  ------------------
 3648|    997|        PyObject *base_proto = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|    997|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    997|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    997|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3648:32): [True: 997, False: 0]
  ------------------
 3649|    997|        if (!PyType_Check(base_proto)) {
  ------------------
  |  |  766|    997|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    997|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    997|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3649:13): [True: 0, False: 997]
  ------------------
 3650|      0|            PyErr_Format(
 3651|      0|                PyExc_TypeError,
 3652|      0|                "bases must be types; got '%T'", base_proto);
 3653|      0|            return NULL;
 3654|      0|        }
 3655|    997|        PyTypeObject *base_i = (PyTypeObject *)base_proto;
 3656|       |
 3657|    997|        if (!_PyType_IsReady(base_i)) {
  ------------------
  |  Branch (3657:13): [True: 0, False: 997]
  ------------------
 3658|      0|            if (PyType_Ready(base_i) < 0)
  ------------------
  |  Branch (3658:17): [True: 0, False: 0]
  ------------------
 3659|      0|                return NULL;
 3660|      0|        }
 3661|    997|        if (!_PyType_HasFeature(base_i, Py_TPFLAGS_BASETYPE)) {
  ------------------
  |  |  506|    997|#define Py_TPFLAGS_BASETYPE (1UL << 10)
  ------------------
  |  Branch (3661:13): [True: 0, False: 997]
  ------------------
 3662|      0|            PyErr_Format(PyExc_TypeError,
 3663|      0|                         "type '%.100s' is not an acceptable base type",
 3664|      0|                         base_i->tp_name);
 3665|      0|            return NULL;
 3666|      0|        }
 3667|    997|        candidate = solid_base(base_i);
 3668|    997|        if (winner == NULL) {
  ------------------
  |  Branch (3668:13): [True: 804, False: 193]
  ------------------
 3669|    804|            winner = candidate;
 3670|    804|            base = base_i;
 3671|    804|        }
 3672|    193|        else if (PyType_IsSubtype(winner, candidate))
  ------------------
  |  Branch (3672:18): [True: 169, False: 24]
  ------------------
 3673|    169|            ;
 3674|     24|        else if (PyType_IsSubtype(candidate, winner)) {
  ------------------
  |  Branch (3674:18): [True: 24, False: 0]
  ------------------
 3675|     24|            winner = candidate;
 3676|     24|            base = base_i;
 3677|     24|        }
 3678|      0|        else {
 3679|      0|            PyErr_SetString(
 3680|      0|                PyExc_TypeError,
 3681|      0|                "multiple bases have "
 3682|      0|                "instance lay-out conflict");
 3683|      0|            return NULL;
 3684|      0|        }
 3685|    997|    }
 3686|    804|    assert (base != NULL);
  ------------------
  |  Branch (3686:5): [True: 804, False: 0]
  ------------------
 3687|       |
 3688|    804|    return base;
 3689|    804|}
typeobject.c:solid_base:
 3702|  3.80k|{
 3703|  3.80k|    PyTypeObject *base;
 3704|       |
 3705|  3.80k|    if (type->tp_base) {
  ------------------
  |  Branch (3705:9): [True: 2.31k, False: 1.48k]
  ------------------
 3706|  2.31k|        base = solid_base(type->tp_base);
 3707|  2.31k|    }
 3708|  1.48k|    else {
 3709|  1.48k|        base = &PyBaseObject_Type;
 3710|  1.48k|    }
 3711|  3.80k|    if (shape_differs(type, base)) {
  ------------------
  |  Branch (3711:9): [True: 388, False: 3.41k]
  ------------------
 3712|    388|        return type;
 3713|    388|    }
 3714|  3.41k|    else {
 3715|  3.41k|        return base;
 3716|  3.41k|    }
 3717|  3.80k|}
typeobject.c:shape_differs:
 3693|  3.80k|{
 3694|  3.80k|    return (
 3695|  3.80k|        t1->tp_basicsize != t2->tp_basicsize ||
  ------------------
  |  Branch (3695:9): [True: 388, False: 3.41k]
  ------------------
 3696|  3.41k|        t1->tp_itemsize != t2->tp_itemsize
  ------------------
  |  Branch (3696:9): [True: 0, False: 3.41k]
  ------------------
 3697|  3.80k|    );
 3698|  3.80k|}
typeobject.c:special_offset_from_member:
 5149|    390|{
 5150|    390|    if (memb == NULL) {
  ------------------
  |  Branch (5150:9): [True: 338, False: 52]
  ------------------
 5151|    338|        *dest = 0;
 5152|    338|        return 0;
 5153|    338|    }
 5154|     52|    if (memb->type != Py_T_PYSSIZET) {
  ------------------
  |  |   79|     52|#define Py_T_PYSSIZET  19      /* Py_ssize_t */
  ------------------
  |  Branch (5154:9): [True: 0, False: 52]
  ------------------
 5155|      0|        PyErr_Format(
 5156|      0|            PyExc_SystemError,
 5157|      0|            "type of %s must be Py_T_PYSSIZET",
 5158|      0|            memb->name);
 5159|      0|        return -1;
 5160|      0|    }
 5161|     52|    if (memb->flags == Py_READONLY) {
  ------------------
  |  |   83|     52|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (5161:9): [True: 52, False: 0]
  ------------------
 5162|     52|        *dest = memb->offset;
 5163|     52|        return 0;
 5164|     52|    }
 5165|      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 (5165:14): [True: 0, False: 0]
  ------------------
 5166|      0|        *dest = memb->offset + type_data_offset;
 5167|      0|        return 0;
 5168|      0|    }
 5169|      0|    PyErr_Format(
 5170|      0|        PyExc_SystemError,
 5171|      0|        "flags for %s must be Py_READONLY or (Py_READONLY | Py_RELATIVE_OFFSET)",
 5172|      0|        memb->name);
 5173|      0|    return -1;
 5174|     52|}
typeobject.c:type_set_flags:
  442|  11.6k|{
  443|  11.6k|    ASSERT_WORLD_STOPPED_OR_NEW_TYPE(tp);
  444|  11.6k|    tp->tp_flags = flags;
  445|  11.6k|}
typeobject.c:set_tp_bases:
  586|  1.31k|{
  587|  1.31k|    assert(PyTuple_Check(bases));
  ------------------
  |  Branch (587:5): [True: 1.31k, False: 0]
  ------------------
  588|  1.31k|    ASSERT_NEW_TYPE_OR_LOCKED(self);
  589|  1.31k|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.31k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (589:9): [True: 414, False: 901]
  ------------------
  590|       |        // XXX tp_bases can probably be statically allocated for each
  591|       |        // static builtin type.
  592|    414|        assert(PyTuple_CheckExact(bases));
  ------------------
  |  Branch (592:9): [True: 414, False: 0]
  ------------------
  593|    414|        assert(initial);
  ------------------
  |  Branch (593:9): [True: 414, False: 0]
  ------------------
  594|    414|        assert(self->tp_bases == NULL);
  ------------------
  |  Branch (594:9): [True: 414, False: 0]
  ------------------
  595|    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 (595:13): [True: 2, False: 412]
  ------------------
  596|      2|            assert(self->tp_base == NULL);
  ------------------
  |  Branch (596:13): [True: 2, False: 0]
  ------------------
  597|      2|        }
  598|    412|        else {
  599|    412|            assert(PyTuple_GET_SIZE(bases) == 1);
  ------------------
  |  Branch (599:13): [True: 412, False: 0]
  ------------------
  600|    412|            assert(PyTuple_GET_ITEM(bases, 0) == (PyObject *)self->tp_base);
  ------------------
  |  Branch (600:13): [True: 412, False: 0]
  |  Branch (600:13): [True: 412, False: 0]
  ------------------
  601|    412|            assert(self->tp_base->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN);
  ------------------
  |  Branch (601:13): [True: 412, False: 0]
  ------------------
  602|    412|            assert(_Py_IsImmortal(self->tp_base));
  ------------------
  |  Branch (602:13): [True: 412, False: 0]
  ------------------
  603|    412|        }
  604|    414|        _Py_SetImmortal(bases);
  605|    414|    }
  606|  1.31k|    self->tp_bases = bases;
  607|  1.31k|}
typeobject.c:_PyHeapType_GET_MEMBERS:
 2510|  1.46k|{
 2511|  1.46k|    return PyObject_GetItemData((PyObject *)type);
 2512|  1.46k|}
typeobject.c:subtype_dealloc:
 2650|   465k|{
 2651|   465k|    PyTypeObject *type, *base;
 2652|   465k|    destructor basedealloc;
 2653|   465k|    int has_finalizer;
 2654|       |
 2655|       |    /* Extract the type; we expect it to be a heap type */
 2656|   465k|    type = Py_TYPE(self);
  ------------------
  |  |  213|   465k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   465k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   465k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2657|   465k|    _PyObject_ASSERT((PyObject *)type, type->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  425|   465k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|   465k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|   465k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 465k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|   465k|      ? (void)(0) \
  |  |  |  |  |  |  418|   465k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2658|       |
 2659|       |    /* Test whether the type has GC exactly once */
 2660|       |
 2661|   465k|    if (!_PyType_IS_GC(type)) {
  ------------------
  |  |  820|   465k|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|   465k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  ------------------
  |  Branch (2661:9): [True: 0, False: 465k]
  ------------------
 2662|       |        /* A non GC dynamic type allows certain simplifications:
 2663|       |           there's no need to call clear_slots(), or DECREF the dict,
 2664|       |           or clear weakrefs. */
 2665|       |
 2666|       |        /* Maybe call finalizer; exit early if resurrected */
 2667|      0|        if (type->tp_finalize) {
  ------------------
  |  Branch (2667:13): [True: 0, False: 0]
  ------------------
 2668|      0|            if (PyObject_CallFinalizerFromDealloc(self) < 0)
  ------------------
  |  Branch (2668:17): [True: 0, False: 0]
  ------------------
 2669|      0|                return;
 2670|      0|        }
 2671|      0|        if (type->tp_del) {
  ------------------
  |  Branch (2671:13): [True: 0, False: 0]
  ------------------
 2672|      0|            type->tp_del(self);
 2673|      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 (2673:17): [True: 0, False: 0]
  ------------------
 2674|      0|                return;
 2675|      0|            }
 2676|      0|        }
 2677|       |
 2678|       |        /* Find the nearest base with a different tp_dealloc */
 2679|      0|        base = type;
 2680|      0|        while ((basedealloc = base->tp_dealloc) == subtype_dealloc) {
  ------------------
  |  Branch (2680:16): [True: 0, False: 0]
  ------------------
 2681|      0|            base = base->tp_base;
 2682|      0|            assert(base);
  ------------------
  |  Branch (2682:13): [True: 0, False: 0]
  ------------------
 2683|      0|        }
 2684|       |
 2685|       |        /* Extract the type again; tp_del may have changed it */
 2686|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2687|       |
 2688|       |        // Don't read type memory after calling basedealloc() since basedealloc()
 2689|       |        // can deallocate the type and free its memory.
 2690|      0|        int type_needs_decref = (type->tp_flags & Py_TPFLAGS_HEAPTYPE
  ------------------
  |  |  503|      0|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2690:34): [True: 0, False: 0]
  ------------------
 2691|      0|                                 && !(base->tp_flags & Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  |  503|      0|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2691:37): [True: 0, False: 0]
  ------------------
 2692|       |
 2693|      0|        assert((type->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
  ------------------
  |  Branch (2693:9): [True: 0, False: 0]
  ------------------
 2694|       |
 2695|       |        /* Call the base tp_dealloc() */
 2696|      0|        assert(basedealloc);
  ------------------
  |  Branch (2696:9): [True: 0, False: 0]
  ------------------
 2697|      0|        basedealloc(self);
 2698|       |
 2699|       |        /* Can't reference self beyond this point. It's possible tp_del switched
 2700|       |           our type from a HEAPTYPE to a non-HEAPTYPE, so be careful about
 2701|       |           reference counting. Only decref if the base type is not already a heap
 2702|       |           allocated type. Otherwise, basedealloc should have decref'd it already */
 2703|      0|        if (type_needs_decref) {
  ------------------
  |  Branch (2703:13): [True: 0, False: 0]
  ------------------
 2704|      0|            _Py_DECREF_TYPE(type);
  ------------------
  |  |  308|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2705|      0|        }
 2706|       |
 2707|       |        /* Done */
 2708|      0|        return;
 2709|      0|    }
 2710|       |
 2711|       |    /* We get here only if the type has GC */
 2712|       |
 2713|       |    /* UnTrack and re-Track around the trashcan macro, alas */
 2714|       |    /* See explanation at end of function for full disclosure */
 2715|   465k|    PyObject_GC_UnTrack(self);
 2716|       |
 2717|       |    /* Find the nearest base with a different tp_dealloc */
 2718|   465k|    base = type;
 2719|  1.33M|    while ((/*basedealloc =*/ base->tp_dealloc) == subtype_dealloc) {
  ------------------
  |  Branch (2719:12): [True: 867k, False: 465k]
  ------------------
 2720|   867k|        base = base->tp_base;
 2721|   867k|        assert(base);
  ------------------
  |  Branch (2721:9): [True: 867k, False: 0]
  ------------------
 2722|   867k|    }
 2723|       |
 2724|   465k|    has_finalizer = type->tp_finalize || type->tp_del;
  ------------------
  |  Branch (2724:21): [True: 0, False: 465k]
  |  Branch (2724:42): [True: 0, False: 465k]
  ------------------
 2725|       |
 2726|   465k|    if (type->tp_finalize) {
  ------------------
  |  Branch (2726:9): [True: 0, False: 465k]
  ------------------
 2727|      0|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  505|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2728|      0|        if (PyObject_CallFinalizerFromDealloc(self) < 0) {
  ------------------
  |  Branch (2728:13): [True: 0, False: 0]
  ------------------
 2729|       |            /* Resurrected */
 2730|      0|            return;
 2731|      0|        }
 2732|      0|        _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2733|      0|    }
 2734|       |    /*
 2735|       |      If we added a weaklist, we clear it. Do this *before* calling tp_del,
 2736|       |      clearing slots, or clearing the instance dict.
 2737|       |
 2738|       |      GC tracking must be off at this point. weakref callbacks (if any, and
 2739|       |      whether directly here or indirectly in something we call) may trigger GC,
 2740|       |      and if self is tracked at that point, it will look like trash to GC and GC
 2741|       |      will try to delete self again.
 2742|       |    */
 2743|   465k|    if (type->tp_weaklistoffset && !base->tp_weaklistoffset) {
  ------------------
  |  Branch (2743:9): [True: 465k, False: 377]
  |  Branch (2743:36): [True: 465k, False: 0]
  ------------------
 2744|   465k|        PyObject_ClearWeakRefs(self);
 2745|   465k|    }
 2746|       |
 2747|   465k|    if (type->tp_del) {
  ------------------
  |  Branch (2747:9): [True: 0, False: 465k]
  ------------------
 2748|      0|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  505|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2749|      0|        type->tp_del(self);
 2750|      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 (2750:13): [True: 0, False: 0]
  ------------------
 2751|       |            /* Resurrected */
 2752|      0|            return;
 2753|      0|        }
 2754|      0|        _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2755|      0|    }
 2756|   465k|    if (has_finalizer) {
  ------------------
  |  Branch (2756:9): [True: 0, False: 465k]
  ------------------
 2757|       |        /* New weakrefs could be created during the finalizer call.
 2758|       |           If this occurs, clear them out without calling their
 2759|       |           finalizers since they might rely on part of the object
 2760|       |           being finalized that has already been destroyed. */
 2761|      0|        if (type->tp_weaklistoffset && !base->tp_weaklistoffset) {
  ------------------
  |  Branch (2761:13): [True: 0, False: 0]
  |  Branch (2761:40): [True: 0, False: 0]
  ------------------
 2762|      0|            _PyWeakref_ClearWeakRefsNoCallbacks(self);
 2763|      0|        }
 2764|      0|    }
 2765|       |
 2766|       |    /*  Clear slots up to the nearest base with a different tp_dealloc */
 2767|   465k|    base = type;
 2768|  1.33M|    while ((basedealloc = base->tp_dealloc) == subtype_dealloc) {
  ------------------
  |  Branch (2768:12): [True: 867k, False: 465k]
  ------------------
 2769|   867k|        if (Py_SIZE(base))
  ------------------
  |  |  214|   867k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   867k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   867k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:23): [True: 369, False: 866k]
  |  |  ------------------
  ------------------
 2770|    369|            clear_slots(base, self);
 2771|   867k|        base = base->tp_base;
 2772|   867k|        assert(base);
  ------------------
  |  Branch (2772:9): [True: 867k, False: 0]
  ------------------
 2773|   867k|    }
 2774|       |
 2775|       |    /* If we added a dict, DECREF it, or free inline values. */
 2776|   465k|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|   465k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2776:9): [True: 50.8k, False: 415k]
  ------------------
 2777|  50.8k|        PyObject_ClearManagedDict(self);
 2778|  50.8k|    }
 2779|   415k|    else if (type->tp_dictoffset && !base->tp_dictoffset) {
  ------------------
  |  Branch (2779:14): [True: 414k, False: 737]
  |  Branch (2779:37): [True: 0, False: 414k]
  ------------------
 2780|      0|        PyObject **dictptr = _PyObject_ComputedDictPointer(self);
 2781|      0|        if (dictptr != NULL) {
  ------------------
  |  Branch (2781:13): [True: 0, False: 0]
  ------------------
 2782|      0|            PyObject *dict = *dictptr;
 2783|      0|            if (dict != NULL) {
  ------------------
  |  Branch (2783:17): [True: 0, False: 0]
  ------------------
 2784|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2785|      0|                *dictptr = NULL;
 2786|      0|            }
 2787|      0|        }
 2788|      0|    }
 2789|       |
 2790|       |    /* Extract the type again; tp_del may have changed it */
 2791|   465k|    type = Py_TYPE(self);
  ------------------
  |  |  213|   465k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   465k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   465k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2792|       |
 2793|       |    /* Call the base tp_dealloc(); first retrack self if
 2794|       |     * basedealloc knows about gc.
 2795|       |     */
 2796|   465k|    if (_PyType_IS_GC(base)) {
  ------------------
  |  |  820|   465k|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|   465k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (820:26): [True: 415k, False: 50.8k]
  |  |  ------------------
  ------------------
 2797|   415k|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  505|   415k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   415k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   415k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2798|   415k|    }
 2799|       |
 2800|       |    // Don't read type memory after calling basedealloc() since basedealloc()
 2801|       |    // can deallocate the type and free its memory.
 2802|   465k|    int type_needs_decref = (type->tp_flags & Py_TPFLAGS_HEAPTYPE
  ------------------
  |  |  503|   931k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2802:30): [True: 465k, False: 0]
  ------------------
 2803|   465k|                             && !(base->tp_flags & Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  |  503|   465k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2803:33): [True: 51.5k, False: 414k]
  ------------------
 2804|       |
 2805|   465k|    assert(basedealloc);
  ------------------
  |  Branch (2805:5): [True: 465k, False: 0]
  ------------------
 2806|   465k|    basedealloc(self);
 2807|       |
 2808|       |    /* Can't reference self beyond this point. It's possible tp_del switched
 2809|       |       our type from a HEAPTYPE to a non-HEAPTYPE, so be careful about
 2810|       |       reference counting. Only decref if the base type is not already a heap
 2811|       |       allocated type. Otherwise, basedealloc should have decref'd it already */
 2812|   465k|    if (type_needs_decref) {
  ------------------
  |  Branch (2812:9): [True: 51.5k, False: 414k]
  ------------------
 2813|  51.5k|        _Py_DECREF_TYPE(type);
  ------------------
  |  |  308|  51.5k|#  define _Py_DECREF_TYPE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  51.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  51.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  51.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2814|  51.5k|    }
 2815|   465k|}
typeobject.c:clear_slots:
 2591|    369|{
 2592|    369|    Py_ssize_t i, n;
 2593|    369|    PyMemberDef *mp;
 2594|       |
 2595|    369|    n = Py_SIZE(type);
  ------------------
  |  |  214|    369|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    369|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    369|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2596|    369|    mp = _PyHeapType_GET_MEMBERS((PyHeapTypeObject *)type);
 2597|    746|    for (i = 0; i < n; i++, mp++) {
  ------------------
  |  Branch (2597:17): [True: 377, False: 369]
  ------------------
 2598|    377|        if (mp->type == Py_T_OBJECT_EX && !(mp->flags & Py_READONLY)) {
  ------------------
  |  |   75|    754|#define Py_T_OBJECT_EX 16
  ------------------
                      if (mp->type == Py_T_OBJECT_EX && !(mp->flags & Py_READONLY)) {
  ------------------
  |  |   83|    377|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (2598:13): [True: 377, False: 0]
  |  Branch (2598:43): [True: 377, False: 0]
  ------------------
 2599|    377|            void *addr = _PyMember_GetOffset(self, mp);
 2600|    377|            PyObject *obj = *(PyObject **)addr;
 2601|    377|            if (obj != NULL) {
  ------------------
  |  Branch (2601:17): [True: 377, False: 0]
  ------------------
 2602|    377|                *(PyObject **)addr = NULL;
 2603|    377|                Py_DECREF(obj);
  ------------------
  |  |  430|    377|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    377|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    377|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2604|    377|            }
 2605|    377|        }
 2606|    377|    }
 2607|    369|}
typeobject.c:check_basicsize_includes_size_and_offsets:
 5077|    130|{
 5078|    130|    if (type->tp_alloc != PyType_GenericAlloc) {
  ------------------
  |  Branch (5078:9): [True: 0, False: 130]
  ------------------
 5079|       |        // Custom allocators can ignore tp_basicsize
 5080|      0|        return 1;
 5081|      0|    }
 5082|    130|    Py_ssize_t max = (Py_ssize_t)type->tp_basicsize;
 5083|       |
 5084|    130|    if (type->tp_base && type->tp_base->tp_basicsize > type->tp_basicsize) {
  ------------------
  |  Branch (5084:9): [True: 130, False: 0]
  |  Branch (5084:26): [True: 0, False: 130]
  ------------------
 5085|      0|        PyErr_Format(PyExc_TypeError,
 5086|      0|                     "tp_basicsize for type '%s' (%zd) is too small for base '%s' (%zd)",
 5087|      0|                     type->tp_name, type->tp_basicsize,
 5088|      0|                     type->tp_base->tp_name, type->tp_base->tp_basicsize);
 5089|      0|        return 0;
 5090|      0|    }
 5091|    130|    if (type->tp_weaklistoffset + (Py_ssize_t)sizeof(PyObject*) > max) {
  ------------------
  |  Branch (5091:9): [True: 0, False: 130]
  ------------------
 5092|      0|        PyErr_Format(PyExc_TypeError,
 5093|      0|                     "weaklist offset %zd is out of bounds for type '%s' (tp_basicsize = %zd)",
 5094|      0|                     type->tp_weaklistoffset,
 5095|      0|                     type->tp_name, type->tp_basicsize);
 5096|      0|        return 0;
 5097|      0|    }
 5098|    130|    if (type->tp_dictoffset + (Py_ssize_t)sizeof(PyObject*) > max) {
  ------------------
  |  Branch (5098:9): [True: 0, False: 130]
  ------------------
 5099|      0|        PyErr_Format(PyExc_TypeError,
 5100|      0|                     "dict offset %zd is out of bounds for type '%s' (tp_basicsize = %zd)",
 5101|      0|                     type->tp_dictoffset,
 5102|      0|                     type->tp_name, type->tp_basicsize);
 5103|      0|        return 0;
 5104|      0|    }
 5105|    130|    if (type->tp_vectorcall_offset + (Py_ssize_t)sizeof(vectorcallfunc*) > max) {
  ------------------
  |  Branch (5105:9): [True: 0, False: 130]
  ------------------
 5106|      0|        PyErr_Format(PyExc_TypeError,
 5107|      0|                     "vectorcall offset %zd is out of bounds for type '%s' (tp_basicsize = %zd)",
 5108|      0|                     type->tp_vectorcall_offset,
 5109|      0|                     type->tp_name, type->tp_basicsize);
 5110|      0|        return 0;
 5111|      0|    }
 5112|    130|    return 1;
 5113|    130|}
typeobject.c:type_name:
 1452|  96.9k|{
 1453|  96.9k|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  186|  96.9k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1454|  96.9k|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|  96.9k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1454:9): [True: 8, False: 96.9k]
  ------------------
 1455|      8|        PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 1456|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1457|      8|    }
 1458|  96.9k|    else {
 1459|  96.9k|        return PyUnicode_FromString(_PyType_Name(type));
 1460|  96.9k|    }
 1461|  96.9k|}
typeobject.c:lookup_tp_mro:
  632|   112k|{
  633|   112k|    return self->tp_mro;
  634|   112k|}
typeobject.c:getitemdata:
 6046|  1.46k|{
 6047|  1.46k|    if (!_PyType_HasFeature(Py_TYPE(obj), Py_TPFLAGS_ITEMS_AT_END)) {
  ------------------
  |  |  213|  1.46k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!_PyType_HasFeature(Py_TYPE(obj), Py_TPFLAGS_ITEMS_AT_END)) {
  ------------------
  |  |  548|  1.46k|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (6047:9): [True: 0, False: 1.46k]
  ------------------
 6048|      0|        if (raise) {
  ------------------
  |  Branch (6048:13): [True: 0, False: 0]
  ------------------
 6049|      0|            PyErr_Format(PyExc_TypeError,
 6050|      0|                         "type '%T' does not have Py_TPFLAGS_ITEMS_AT_END",
 6051|      0|                         obj);
 6052|      0|        }
 6053|      0|        return NULL;
 6054|      0|    }
 6055|  1.46k|    return (char *)obj + Py_TYPE(obj)->tp_basicsize;
  ------------------
  |  |  213|  1.46k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6056|  1.46k|}
typeobject.c:should_assign_version_tag:
 6166|    420|{
 6167|    420|    return (version_tag == 0
  ------------------
  |  Branch (6167:13): [True: 420, False: 0]
  ------------------
 6168|    420|        && FT_ATOMIC_LOAD_UINT16_RELAXED(type->tp_versions_used) < MAX_VERSIONS_PER_CLASS
  ------------------
  |  |  158|    420|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  ------------------
                      && FT_ATOMIC_LOAD_UINT16_RELAXED(type->tp_versions_used) < MAX_VERSIONS_PER_CLASS
  ------------------
  |  | 1319|    840|#define MAX_VERSIONS_PER_CLASS 1000
  ------------------
  |  Branch (6168:12): [True: 420, False: 0]
  ------------------
 6169|    420|        && MCACHE_CACHEABLE_NAME(name));
  ------------------
  |  |   44|    420|#define MCACHE_CACHEABLE_NAME(name) (PyUnicode_CheckExact(name) && PyUnicode_CHECK_INTERNED(name))
  |  |  ------------------
  |  |  |  |  104|    420|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|    840|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    420|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    420|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 420, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MCACHE_CACHEABLE_NAME(name) (PyUnicode_CheckExact(name) && PyUnicode_CHECK_INTERNED(name))
  |  |  ------------------
  |  |  |  |  214|    420|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    420|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    420|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (214:38): [True: 420, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6170|    420|}
typeobject.c:find_name_in_mro:
 6076|  82.9k|{
 6077|  82.9k|    Py_hash_t hash = _PyObject_HashDictKey(name);
 6078|  82.9k|    if (hash == -1) {
  ------------------
  |  Branch (6078:9): [True: 0, False: 82.9k]
  ------------------
 6079|      0|        PyErr_Clear();
 6080|      0|        return -1;
 6081|      0|    }
 6082|       |
 6083|       |    /* Look in tp_dict of types in MRO */
 6084|  82.9k|    PyObject *mro = lookup_tp_mro(type);
 6085|  82.9k|    if (mro == NULL) {
  ------------------
  |  Branch (6085:9): [True: 0, False: 82.9k]
  ------------------
 6086|      0|        if (!is_readying(type)) {
  ------------------
  |  Branch (6086:13): [True: 0, False: 0]
  ------------------
 6087|      0|            if (PyType_Ready(type) < 0) {
  ------------------
  |  Branch (6087:17): [True: 0, False: 0]
  ------------------
 6088|      0|                PyErr_Clear();
 6089|      0|                return -1;
 6090|      0|            }
 6091|      0|            mro = lookup_tp_mro(type);
 6092|      0|        }
 6093|      0|        if (mro == NULL) {
  ------------------
  |  Branch (6093:13): [True: 0, False: 0]
  ------------------
 6094|      0|            return -1;
 6095|      0|        }
 6096|      0|    }
 6097|       |
 6098|  82.9k|    int res = 0;
 6099|  82.9k|    PyThreadState *tstate = _PyThreadState_GET();
 6100|       |    /* Keep a strong reference to mro because type->tp_mro can be replaced
 6101|       |       during dict lookup, e.g. when comparing to non-string keys. */
 6102|  82.9k|    _PyCStackRef mro_ref;
 6103|  82.9k|    _PyThreadState_PushCStackRef(tstate, &mro_ref);
 6104|  82.9k|    mro_ref.ref = PyStackRef_FromPyObjectNew(mro);
  ------------------
  |  |  611|  82.9k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  82.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  82.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6105|  82.9k|    Py_ssize_t n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|  82.9k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  82.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  82.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6106|   352k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (6106:28): [True: 288k, False: 64.8k]
  ------------------
 6107|   288k|        PyObject *base = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|   288k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   288k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   288k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6107:26): [True: 288k, False: 0]
  ------------------
 6108|   288k|        PyObject *dict = lookup_tp_dict(_PyType_CAST(base));
  ------------------
  |  |  770|   288k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   288k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (6108:41): [True: 288k, False: 0]
  ------------------
 6109|   288k|        assert(dict && PyDict_Check(dict));
  ------------------
  |  Branch (6109:9): [True: 288k, False: 0]
  |  Branch (6109:9): [True: 288k, False: 0]
  ------------------
 6110|   288k|        Py_ssize_t ix = _Py_dict_lookup_threadsafe_stackref(
 6111|   288k|            (PyDictObject *)dict, name, hash, out);
 6112|   288k|        if (ix == DKIX_ERROR) {
  ------------------
  |  |  187|   288k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (6112:13): [True: 0, False: 288k]
  ------------------
 6113|      0|            PyErr_Clear();
 6114|      0|            res = -1;
 6115|      0|            goto done;
 6116|      0|        }
 6117|   288k|        if (!PyStackRef_IsNull(*out)) {
  ------------------
  |  |  482|   288k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|   288k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   288k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6117:13): [True: 18.0k, False: 269k]
  ------------------
 6118|  18.0k|            res = 1;
 6119|  18.0k|            break;
 6120|  18.0k|        }
 6121|   288k|    }
 6122|  82.9k|done:
 6123|  82.9k|    _PyThreadState_PopCStackRef(tstate, &mro_ref);
 6124|  82.9k|    return res;
 6125|  82.9k|}
typeobject.c:set_flags_recursive:
 6322|     28|{
 6323|     28|    if (PyType_HasFeature(self, Py_TPFLAGS_IMMUTABLETYPE) ||
  ------------------
  |  |  500|     28|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (6323:9): [True: 28, False: 0]
  ------------------
 6324|      0|        (self->tp_flags & mask) == flags)
  ------------------
  |  Branch (6324:9): [True: 0, False: 0]
  ------------------
 6325|     28|    {
 6326|     28|        return;
 6327|     28|    }
 6328|       |
 6329|      0|    type_set_flags_with_mask(self, mask, flags);
 6330|       |
 6331|      0|    PyObject *children = _PyType_GetSubclasses(self);
 6332|      0|    if (children == NULL) {
  ------------------
  |  Branch (6332:9): [True: 0, False: 0]
  ------------------
 6333|      0|        return;
 6334|      0|    }
 6335|       |
 6336|      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 (6336:28): [True: 0, False: 0]
  ------------------
 6337|      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 (6337:27): [True: 0, False: 0]
  ------------------
 6338|      0|        set_flags_recursive((PyTypeObject *)child, mask, flags);
 6339|      0|    }
 6340|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6341|      0|}
typeobject.c:type_dealloc_common:
 6691|      8|{
 6692|      8|    PyObject *bases = lookup_tp_bases(type);
 6693|      8|    if (bases != NULL) {
  ------------------
  |  Branch (6693:9): [True: 8, False: 0]
  ------------------
 6694|      8|        PyObject *exc = PyErr_GetRaisedException();
 6695|      8|        remove_all_subclasses(type, bases);
 6696|      8|        PyErr_SetRaisedException(exc);
 6697|      8|    }
 6698|      8|}
typeobject.c:remove_all_subclasses:
 9642|      8|{
 9643|      8|    assert(bases != NULL);
  ------------------
  |  Branch (9643:5): [True: 8, False: 0]
  ------------------
 9644|       |    // remove_subclass() can clear the current exception
 9645|      8|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (9645:5): [True: 8, False: 0]
  ------------------
 9646|       |
 9647|     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 (9647:28): [True: 8, False: 8]
  ------------------
 9648|      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 (9648:26): [True: 8, False: 0]
  ------------------
 9649|      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]
  |  |  ------------------
  ------------------
 9650|      8|            remove_subclass((PyTypeObject*) base, type);
 9651|      8|        }
 9652|      8|    }
 9653|      8|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (9653:5): [True: 8, False: 0]
  ------------------
 9654|      8|}
typeobject.c:remove_subclass:
 9619|      8|{
 9620|      8|    PyObject *subclasses = lookup_tp_subclasses(base);  // borrowed ref
 9621|      8|    if (subclasses == NULL) {
  ------------------
  |  Branch (9621:9): [True: 0, False: 8]
  ------------------
 9622|      0|        return;
 9623|      0|    }
 9624|      8|    assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (9624:5): [True: 8, False: 0]
  ------------------
 9625|       |
 9626|      8|    PyObject *key = get_subclasses_key(type, base);
 9627|      8|    if (key != NULL && PyDict_DelItem(subclasses, key)) {
  ------------------
  |  Branch (9627:9): [True: 8, False: 0]
  |  Branch (9627:24): [True: 0, False: 8]
  ------------------
 9628|       |        /* This can happen if the type initialization errored out before
 9629|       |           the base subclasses were updated (e.g. a non-str __qualname__
 9630|       |           was passed in the type dict). */
 9631|      0|        PyErr_Clear();
 9632|      0|    }
 9633|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9634|       |
 9635|      8|    if (PyDict_Size(subclasses) == 0) {
  ------------------
  |  Branch (9635:9): [True: 0, False: 8]
  ------------------
 9636|      0|        clear_tp_subclasses(base);
 9637|      0|    }
 9638|      8|}
typeobject.c:get_subclasses_key:
 9588|      8|{
 9589|      8|    PyObject *key = PyLong_FromVoidPtr((void *) type);
 9590|      8|    if (key != NULL) {
  ------------------
  |  Branch (9590:9): [True: 8, False: 0]
  ------------------
 9591|      8|        return key;
 9592|      8|    }
 9593|      0|    PyErr_Clear();
 9594|       |
 9595|       |    /* This basically means we're out of memory.
 9596|       |       We fall back to manually traversing the values. */
 9597|      0|    Py_ssize_t i = 0;
 9598|      0|    PyObject *ref;  // borrowed ref
 9599|      0|    PyObject *subclasses = lookup_tp_subclasses(base);
 9600|      0|    if (subclasses != NULL) {
  ------------------
  |  Branch (9600:9): [True: 0, False: 0]
  ------------------
 9601|      0|        while (PyDict_Next(subclasses, &i, &key, &ref)) {
  ------------------
  |  Branch (9601:16): [True: 0, False: 0]
  ------------------
 9602|      0|            PyTypeObject *subclass = type_from_ref(ref);
 9603|      0|            if (subclass == NULL) {
  ------------------
  |  Branch (9603:17): [True: 0, False: 0]
  ------------------
 9604|      0|                continue;
 9605|      0|            }
 9606|      0|            if (subclass == type) {
  ------------------
  |  Branch (9606:17): [True: 0, False: 0]
  ------------------
 9607|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9608|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9609|      0|            }
 9610|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9611|      0|        }
 9612|      0|    }
 9613|       |    /* It wasn't found. */
 9614|      0|    return NULL;
 9615|      0|}
typeobject.c:clear_tp_subclasses:
  704|      8|{
  705|       |    /* Delete the dictionary to save memory. _PyStaticType_Dealloc()
  706|       |       callers also test if tp_subclasses is NULL to check if a static type
  707|       |       has no subclass. */
  708|      8|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|      8|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (708:9): [True: 0, False: 8]
  ------------------
  709|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
  710|      0|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  711|      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]
  |  |  ------------------
  ------------------
  712|      0|        return;
  713|      0|    }
  714|      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]
  |  |  ------------------
  ------------------
  715|      8|}
typeobject.c:type_clear_flags:
  463|    941|{
  464|    941|    type_set_flags(tp, tp->tp_flags & ~flag);
  465|    941|}
typeobject.c:type_dealloc:
 6821|      8|{
 6822|      8|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  186|      8|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 6823|       |
 6824|       |    // Assert this is a heap-allocated type object
 6825|      8|    _PyObject_ASSERT((PyObject *)type, type->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  425|      8|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|      8|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|      8|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 8, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      8|      ? (void)(0) \
  |  |  |  |  |  |  418|      8|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6826|       |
 6827|       |    // Notify type watchers before teardown.  The type object is still fully
 6828|       |    // intact at this point (dict, bases, mro, name are all valid), so
 6829|       |    // callbacks can safely inspect it.
 6830|      8|    if (type->tp_watched) {
  ------------------
  |  Branch (6830:9): [True: 0, False: 8]
  ------------------
 6831|      0|        _PyObject_ResurrectStart(self);
 6832|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 6833|      0|        int bits = type->tp_watched;
 6834|      0|        int i = 0;
 6835|      0|        while (bits) {
  ------------------
  |  Branch (6835:16): [True: 0, False: 0]
  ------------------
 6836|      0|            assert(i < TYPE_MAX_WATCHERS);
  ------------------
  |  Branch (6836:13): [True: 0, False: 0]
  ------------------
 6837|      0|            if (bits & 1) {
  ------------------
  |  Branch (6837:17): [True: 0, False: 0]
  ------------------
 6838|      0|                PyType_WatchCallback cb = interp->type_watchers[i];
 6839|      0|                if (cb && (cb(type) < 0)) {
  ------------------
  |  Branch (6839:21): [True: 0, False: 0]
  |  Branch (6839:27): [True: 0, False: 0]
  ------------------
 6840|      0|                    PyErr_FormatUnraisable(
 6841|      0|                        "Exception ignored in type watcher callback #%d "
 6842|      0|                        "for %R",
 6843|      0|                        i, type);
 6844|      0|                }
 6845|      0|            }
 6846|      0|            i++;
 6847|      0|            bits >>= 1;
 6848|      0|        }
 6849|      0|        if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (6849:13): [True: 0, False: 0]
  ------------------
 6850|      0|            return;     // callback resurrected the object
 6851|      0|        }
 6852|      0|    }
 6853|       |
 6854|      8|    _PyObject_GC_UNTRACK(type);
  ------------------
  |  |  507|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6855|      8|    type_dealloc_common(type);
 6856|       |
 6857|       |    // PyObject_ClearWeakRefs() raises an exception if Py_REFCNT() != 0
 6858|      8|    assert(Py_REFCNT(type) == 0);
  ------------------
  |  Branch (6858:5): [True: 8, False: 0]
  ------------------
 6859|      8|    PyObject_ClearWeakRefs((PyObject *)type);
 6860|       |
 6861|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6862|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6863|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6864|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6865|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6866|      8|    clear_tp_subclasses(type);
 6867|      8|    _PyTypeCache_Invalidate(type);
 6868|       |
 6869|       |    /* A type's tp_doc is heap allocated, unlike the tp_doc slots
 6870|       |     * of most other objects.  It's okay to cast it to char *.
 6871|       |     */
 6872|      8|    PyMem_Free((char *)type->tp_doc);
 6873|       |
 6874|      8|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 6875|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6876|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6877|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6878|      8|    if (et->ht_cached_keys) {
  ------------------
  |  Branch (6878:9): [True: 4, False: 4]
  ------------------
 6879|      4|        _PyDict_RemoveKeysForClass(et);
 6880|      4|    }
 6881|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6882|      8|    PyMem_Free(et->_ht_tpname);
 6883|       |#ifdef Py_GIL_DISABLED
 6884|       |    assert(et->unique_id == _Py_INVALID_UNIQUE_ID);
 6885|       |#endif
 6886|      8|    et->ht_token = NULL;
 6887|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6888|      8|}
typeobject.c:type_call:
 2362|   373k|{
 2363|   373k|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  186|   373k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2364|   373k|    PyObject *obj;
 2365|   373k|    PyThreadState *tstate = _PyThreadState_GET();
 2366|       |
 2367|       |#ifdef Py_DEBUG
 2368|       |    /* type_call() must not be called with an exception set,
 2369|       |       because it can clear it (directly or indirectly) and so the
 2370|       |       caller loses its exception */
 2371|       |    assert(!_PyErr_Occurred(tstate));
 2372|       |#endif
 2373|       |
 2374|       |    /* Special case: type(x) should return Py_TYPE(x) */
 2375|       |    /* We only want type itself to accept the one-argument form (#27157) */
 2376|   373k|    if (type == &PyType_Type) {
  ------------------
  |  Branch (2376:9): [True: 688, False: 372k]
  ------------------
 2377|    688|        assert(args != NULL && PyTuple_Check(args));
  ------------------
  |  Branch (2377:9): [True: 688, False: 0]
  |  Branch (2377:9): [True: 688, False: 0]
  ------------------
 2378|    688|        assert(kwds == NULL || PyDict_Check(kwds));
  ------------------
  |  Branch (2378:9): [True: 686, False: 2]
  |  Branch (2378:9): [True: 2, False: 0]
  ------------------
 2379|    688|        Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    688|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    688|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    688|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2380|       |
 2381|    688|        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 (2381:13): [True: 0, False: 688]
  |  Branch (2381:28): [True: 0, False: 0]
  |  Branch (2381:44): [True: 0, False: 0]
  ------------------
 2382|      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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2383|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2384|      0|        }
 2385|       |
 2386|       |        /* SF bug 475327 -- if that didn't trigger, we need 3
 2387|       |           arguments. But PyArg_ParseTuple in type_new may give
 2388|       |           a msg saying type() needs exactly 3. */
 2389|    688|        if (nargs != 3) {
  ------------------
  |  Branch (2389:13): [True: 0, False: 688]
  ------------------
 2390|      0|            PyErr_SetString(PyExc_TypeError,
 2391|      0|                            "type() takes 1 or 3 arguments");
 2392|      0|            return NULL;
 2393|      0|        }
 2394|    688|    }
 2395|       |
 2396|   373k|    if (type->tp_new == NULL) {
  ------------------
  |  Branch (2396:9): [True: 0, False: 373k]
  ------------------
 2397|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 2398|      0|                      "cannot create '%s' instances", type->tp_name);
 2399|      0|        return NULL;
 2400|      0|    }
 2401|       |
 2402|   373k|    obj = type->tp_new(type, args, kwds);
 2403|   373k|    obj = _Py_CheckFunctionResult(tstate, (PyObject*)type, obj, NULL);
 2404|   373k|    if (obj == NULL)
  ------------------
  |  Branch (2404:9): [True: 0, False: 373k]
  ------------------
 2405|      0|        return NULL;
 2406|       |
 2407|       |    /* If the returned object is not an instance of type,
 2408|       |       it won't be initialized. */
 2409|   373k|    if (!PyObject_TypeCheck(obj, type))
  ------------------
  |  |  378|   373k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   373k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   373k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2409:9): [True: 0, False: 373k]
  ------------------
 2410|      0|        return obj;
 2411|       |
 2412|   373k|    type = Py_TYPE(obj);
  ------------------
  |  |  213|   373k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   373k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   373k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2413|   373k|    if (type->tp_init != NULL) {
  ------------------
  |  Branch (2413:9): [True: 373k, False: 0]
  ------------------
 2414|   373k|        int res = type->tp_init(obj, args, kwds);
 2415|   373k|        if (res < 0) {
  ------------------
  |  Branch (2415:13): [True: 54, False: 373k]
  ------------------
 2416|     54|            assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2416:13): [True: 54, False: 0]
  ------------------
 2417|     54|            Py_SETREF(obj, NULL);
  ------------------
  |  |  354|     54|    do { \
  |  |  355|     54|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     54|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|     54|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     54|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|     54|        *_tmp_dst_ptr = (src); \
  |  |  358|     54|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|     54|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|     54|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 54]
  |  |  ------------------
  ------------------
 2418|     54|        }
 2419|   373k|        else {
 2420|   373k|            assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2420:13): [True: 373k, False: 0]
  ------------------
 2421|   373k|        }
 2422|   373k|    }
 2423|   373k|    return obj;
 2424|   373k|}
typeobject.c:type_setattro:
 6589|    558|{
 6590|    558|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  186|    558|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 6591|    558|    int res;
 6592|    558|    if (type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|    558|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (6592:9): [True: 0, False: 558]
  ------------------
 6593|      0|        PyErr_Format(
 6594|      0|            PyExc_TypeError,
 6595|      0|            "cannot set %R attribute of immutable type '%s'",
 6596|      0|            name, type->tp_name);
 6597|      0|        return -1;
 6598|      0|    }
 6599|    558|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|    558|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    558|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (6599:9): [True: 0, False: 558]
  ------------------
 6600|      0|        PyErr_Format(PyExc_TypeError,
 6601|      0|                     "attribute name must be string, not '%.200s'",
 6602|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6603|      0|        return -1;
 6604|      0|    }
 6605|       |
 6606|    558|    if (PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|    558|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    558|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    558|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    558|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 558, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6607|    558|        Py_INCREF(name);
  ------------------
  |  |  310|    558|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    558|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    558|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6608|    558|    }
 6609|      0|    else {
 6610|      0|        name = _PyUnicode_Copy(name);
 6611|      0|        if (name == NULL)
  ------------------
  |  Branch (6611:13): [True: 0, False: 0]
  ------------------
 6612|      0|            return -1;
 6613|      0|    }
 6614|    558|    if (!PyUnicode_CHECK_INTERNED(name)) {
  ------------------
  |  |  214|    558|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    558|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    558|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6614:9): [True: 0, False: 558]
  ------------------
 6615|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 6616|      0|        _PyUnicode_InternMortal(interp, &name);
 6617|      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 (6617:13): [True: 0, False: 0]
  ------------------
 6618|      0|            PyErr_SetString(PyExc_MemoryError,
 6619|      0|                            "Out of memory interning an attribute name");
 6620|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6621|      0|            return -1;
 6622|      0|        }
 6623|      0|    }
 6624|       |
 6625|    558|    PyTypeObject *metatype = Py_TYPE(type);
  ------------------
  |  |  213|    558|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    558|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    558|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6626|    558|    assert(!_PyType_HasFeature(metatype, Py_TPFLAGS_INLINE_VALUES));
  ------------------
  |  Branch (6626:5): [True: 558, False: 0]
  ------------------
 6627|    558|    assert(!_PyType_HasFeature(metatype, Py_TPFLAGS_MANAGED_DICT));
  ------------------
  |  Branch (6627:5): [True: 558, False: 0]
  ------------------
 6628|       |
 6629|       |#ifdef Py_GIL_DISABLED
 6630|       |    // gh-139103: Enable deferred refcounting for functions and descriptors
 6631|       |    // assigned to type objects.  This is important for `dataclass.__init__`,
 6632|       |    // which is generated dynamically, and for descriptor scaling on
 6633|       |    // free-threaded builds.
 6634|       |    if (value != NULL && (PyFunction_Check(value) || Py_TYPE(value)->tp_descr_get != NULL))
 6635|       |    {
 6636|       |        PyUnstable_Object_EnableDeferredRefcount(value);
 6637|       |    }
 6638|       |#endif
 6639|       |
 6640|    558|    PyObject *old_value = NULL;
 6641|    558|    PyObject *descr = _PyType_LookupRef(metatype, name);
 6642|    558|    if (descr != NULL) {
  ------------------
  |  Branch (6642:9): [True: 219, False: 339]
  ------------------
 6643|    219|        descrsetfunc f = Py_TYPE(descr)->tp_descr_set;
  ------------------
  |  |  213|    219|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    219|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6644|    219|        if (f != NULL) {
  ------------------
  |  Branch (6644:13): [True: 194, False: 25]
  ------------------
 6645|    194|            res = f(descr, (PyObject *)type, value);
 6646|    194|            goto done;
 6647|    194|        }
 6648|    219|    }
 6649|       |
 6650|    364|    PyObject *dict = type->tp_dict;
 6651|    364|    if (dict == NULL) {
  ------------------
  |  Branch (6651:9): [True: 0, False: 364]
  ------------------
 6652|       |        // This is an unlikely case.  PyType_Ready has not yet been done and
 6653|       |        // we need to initialize tp_dict.  We don't just do PyType_Ready
 6654|       |        // because we could already be readying.
 6655|      0|        BEGIN_TYPE_LOCK();
 6656|      0|        dict = type->tp_dict;
 6657|      0|        if (dict == NULL) {
  ------------------
  |  Branch (6657:13): [True: 0, False: 0]
  ------------------
 6658|      0|            dict = type->tp_dict = PyDict_New();
 6659|      0|        }
 6660|      0|        END_TYPE_LOCK();
 6661|      0|        if (dict == NULL) {
  ------------------
  |  Branch (6661:13): [True: 0, False: 0]
  ------------------
 6662|      0|            res = -1;
 6663|      0|            goto done;
 6664|      0|        }
 6665|      0|    }
 6666|       |
 6667|    364|    BEGIN_TYPE_DICT_LOCK(dict);
 6668|    364|    res = type_update_dict(type, (PyDictObject *)dict, name, value, &old_value);
 6669|    364|    assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (6669:5): [True: 364, False: 0]
  ------------------
 6670|    364|    if (res == 0) {
  ------------------
  |  Branch (6670:9): [True: 364, False: 0]
  ------------------
 6671|    364|        if (is_dunder_name(name) && has_slotdef(name)) {
  ------------------
  |  Branch (6671:13): [True: 32, False: 332]
  |  Branch (6671:37): [True: 24, False: 8]
  ------------------
 6672|       |            // The name corresponds to a type slot.
 6673|     24|            res = update_slot_after_setattr(type, name);
 6674|     24|        }
 6675|    364|    }
 6676|    364|    END_TYPE_DICT_LOCK();
 6677|       |
 6678|    558|done:
 6679|    558|    Py_DECREF(name);
  ------------------
  |  |  430|    558|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    558|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    558|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6680|    558|    Py_XDECREF(descr);
  ------------------
  |  |  524|    558|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    558|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    558|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6681|       |    // delay decref of the old value as lock-free type cache readers may access it
 6682|    558|    if (old_value != NULL && !_Py_IsImmortal(old_value)) {
  ------------------
  |  |  137|     41|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     41|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6682:9): [True: 41, False: 517]
  |  Branch (6682:30): [True: 5, False: 36]
  ------------------
 6683|      5|        _PyObject_XDecRefDelayed(old_value);
 6684|      5|    }
 6685|    558|    return res;
 6686|    364|}
typeobject.c:type_update_dict:
 6534|    364|{
 6535|       |    // We don't want any re-entrancy between when we update the dict
 6536|       |    // and call _PyType_Modified_Unlocked, including running the destructor
 6537|       |    // of the current value as it can observe the cache in an inconsistent
 6538|       |    // state.  Because we have an exact unicode and our dict has exact
 6539|       |    // unicodes we know that this will all complete without releasing
 6540|       |    // the locks.
 6541|    364|    if (_PyDict_GetItemRef_Unicode_LockHeld(dict, name, old_value) < 0) {
  ------------------
  |  Branch (6541:9): [True: 0, False: 364]
  ------------------
 6542|      0|        return -1;
 6543|      0|    }
 6544|       |
 6545|       |    /* Clear the VALID_VERSION flag of 'type' and all its
 6546|       |        subclasses.  This could possibly be unified with the
 6547|       |        update_subclasses() recursion in update_slot(), but carefully:
 6548|       |        they each have their own conditions on which to stop
 6549|       |        recursing into subclasses. */
 6550|    364|    _PyType_Modified_Unlocked(type);
 6551|       |
 6552|    364|    if (_PyDict_SetItem_LockHeld(dict, name, value) < 0) {
  ------------------
  |  Branch (6552:9): [True: 0, False: 364]
  ------------------
 6553|      0|        PyErr_Format(PyExc_AttributeError,
 6554|      0|                     "type object '%.50s' has no attribute '%U'",
 6555|      0|                     ((PyTypeObject*)type)->tp_name, name);
 6556|      0|        _PyObject_SetAttributeErrorContext((PyObject *)type, name);
 6557|      0|        return -1;
 6558|      0|    }
 6559|       |
 6560|    364|    return 0;
 6561|    364|}
typeobject.c:is_dunder_name:
 6131|    364|{
 6132|    364|    Py_ssize_t length = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  299|    364|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    364|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    364|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6133|    364|    int kind = PyUnicode_KIND(name);
  ------------------
  |  |  258|    364|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    728|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 364, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6134|       |    /* Special names contain at least "__x__" and are always ASCII. */
 6135|    364|    if (length > 4 && kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (6135:9): [True: 343, False: 21]
  |  Branch (6135:23): [True: 343, False: 0]
  ------------------
 6136|    343|        const Py_UCS1 *characters = PyUnicode_1BYTE_DATA(name);
  ------------------
  |  |  291|    343|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    343|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 6137|    343|        return (
 6138|    343|            ((characters[length-2] == '_') && (characters[length-1] == '_')) &&
  ------------------
  |  Branch (6138:14): [True: 32, False: 311]
  |  Branch (6138:47): [True: 32, False: 0]
  ------------------
 6139|     32|            ((characters[0] == '_') && (characters[1] == '_'))
  ------------------
  |  Branch (6139:14): [True: 32, False: 0]
  |  Branch (6139:40): [True: 32, False: 0]
  ------------------
 6140|    343|        );
 6141|    343|    }
 6142|     21|    return 0;
 6143|    364|}
typeobject.c:has_slotdef:
11680|     32|{
11681|  1.40k|    for (pytype_slotdef *p = slotdefs; p->name_strobj; p++) {
  ------------------
  |  Branch (11681:40): [True: 1.39k, False: 8]
  ------------------
11682|  1.39k|        if (p->name_strobj == name) {
  ------------------
  |  Branch (11682:13): [True: 24, False: 1.36k]
  ------------------
11683|     24|            return true;
11684|     24|        }
11685|  1.39k|    }
11686|      8|    return false;
11687|     32|}
typeobject.c:update_slot_after_setattr:
 6565|     24|{
 6566|       |#ifdef Py_GIL_DISABLED
 6567|       |    // stack allocate one chunk since that's all we need
 6568|       |    assert(SLOT_UPDATE_CHUNK_SIZE >= MAX_EQUIV);
 6569|       |    slot_update_chunk_t chunk = {0};
 6570|       |    slot_update_t queued_updates = {&chunk};
 6571|       |
 6572|       |    if (update_slot(type, name, &queued_updates) < 0) {
 6573|       |        return -1;
 6574|       |    }
 6575|       |    if (queued_updates.head->n > 0) {
 6576|       |        apply_type_slot_updates(&queued_updates);
 6577|       |        ASSERT_TYPE_LOCK_HELD();
 6578|       |        // should never allocate another chunk
 6579|       |        assert(chunk.prev == NULL);
 6580|       |    }
 6581|       |#else
 6582|       |    update_slot(type, name, NULL);
 6583|     24|#endif
 6584|     24|    return 0;
 6585|     24|}
typeobject.c:update_slot:
11935|     24|{
11936|     24|    pytype_slotdef *ptrs[MAX_EQUIV];
11937|     24|    pytype_slotdef *p;
11938|     24|    pytype_slotdef **pp;
11939|     24|    int offset;
11940|       |
11941|     24|    ASSERT_TYPE_LOCK_HELD();
11942|     24|    assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (11942:5): [True: 24, False: 0]
  ------------------
11943|     24|    assert(PyUnicode_CHECK_INTERNED(name));
  ------------------
  |  Branch (11943:5): [True: 24, False: 0]
  ------------------
11944|       |
11945|     24|    pp = ptrs;
11946|  2.28k|    for (p = slotdefs; p->name; p++) {
  ------------------
  |  Branch (11946:24): [True: 2.25k, False: 24]
  ------------------
11947|  2.25k|        assert(PyUnicode_CheckExact(p->name_strobj));
  ------------------
  |  Branch (11947:9): [True: 2.25k, False: 0]
  ------------------
11948|  2.25k|        assert(PyUnicode_CHECK_INTERNED(p->name_strobj));
  ------------------
  |  Branch (11948:9): [True: 2.25k, False: 0]
  ------------------
11949|  2.25k|        assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (11949:9): [True: 2.25k, False: 0]
  ------------------
11950|       |        /* bpo-40521: Using interned strings. */
11951|  2.25k|        if (p->name_strobj == name) {
  ------------------
  |  Branch (11951:13): [True: 24, False: 2.23k]
  ------------------
11952|     24|            *pp++ = p;
11953|     24|        }
11954|  2.25k|    }
11955|     24|    *pp = NULL;
11956|     48|    for (pp = ptrs; *pp; pp++) {
  ------------------
  |  Branch (11956:21): [True: 24, False: 24]
  ------------------
11957|     24|        p = *pp;
11958|     24|        offset = p->offset;
11959|     27|        while (p > slotdefs && (p-1)->offset == offset)
  ------------------
  |  Branch (11959:16): [True: 27, False: 0]
  |  Branch (11959:32): [True: 3, False: 24]
  ------------------
11960|      3|            --p;
11961|     24|        *pp = p;
11962|     24|    }
11963|     24|    if (ptrs[0] == NULL)
  ------------------
  |  Branch (11963:9): [True: 0, False: 24]
  ------------------
11964|      0|        return 0; /* Not an attribute that affects any slots */
11965|       |
11966|     24|    update_callback_data_t callback_data;
11967|     24|    callback_data.defs = ptrs;
11968|     24|    callback_data.queued_updates = queued_updates;
11969|     24|    return update_subclasses(type, name,
11970|     24|                             update_slots_callback, (void *)&callback_data);
11971|     24|}
typeobject.c:update_subclasses:
12200|     24|{
12201|     24|    if (callback(type, data) < 0) {
  ------------------
  |  Branch (12201:9): [True: 0, False: 24]
  ------------------
12202|      0|        return -1;
12203|      0|    }
12204|     24|    return recurse_down_subclasses(type, attr_name, callback, data);
12205|     24|}
typeobject.c:recurse_down_subclasses:
12210|     24|{
12211|       |    // It is safe to use a borrowed reference because update_subclasses() is
12212|       |    // only used with update_slots_callback() which doesn't modify
12213|       |    // tp_subclasses.
12214|     24|    PyObject *subclasses = lookup_tp_subclasses(type);  // borrowed ref
12215|     24|    if (subclasses == NULL) {
  ------------------
  |  Branch (12215:9): [True: 24, False: 0]
  ------------------
12216|     24|        return 0;
12217|     24|    }
12218|     24|    assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (12218:5): [True: 0, False: 0]
  ------------------
12219|       |
12220|      0|    Py_ssize_t i = 0;
12221|      0|    PyObject *ref;
12222|      0|    while (PyDict_Next(subclasses, &i, NULL, &ref)) {
  ------------------
  |  Branch (12222:12): [True: 0, False: 0]
  ------------------
12223|      0|        PyTypeObject *subclass = type_from_ref(ref);
12224|      0|        if (subclass == NULL) {
  ------------------
  |  Branch (12224:13): [True: 0, False: 0]
  ------------------
12225|      0|            continue;
12226|      0|        }
12227|       |
12228|       |        /* Avoid recursing down into unaffected classes */
12229|      0|        PyObject *dict = lookup_tp_dict(subclass);
12230|      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 (12230:13): [True: 0, False: 0]
  ------------------
12231|      0|            int r = PyDict_Contains(dict, attr_name);
12232|      0|            if (r < 0) {
  ------------------
  |  Branch (12232:17): [True: 0, False: 0]
  ------------------
12233|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12234|      0|                return -1;
12235|      0|            }
12236|      0|            if (r > 0) {
  ------------------
  |  Branch (12236:17): [True: 0, False: 0]
  ------------------
12237|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12238|      0|                continue;
12239|      0|            }
12240|      0|        }
12241|       |
12242|      0|        if (update_subclasses(subclass, attr_name, callback, data) < 0) {
  ------------------
  |  Branch (12242:13): [True: 0, False: 0]
  ------------------
12243|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12244|      0|            return -1;
12245|      0|        }
12246|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12247|      0|    }
12248|      0|    return 0;
12249|      0|}
typeobject.c:update_slots_callback:
11919|     24|{
11920|     24|    ASSERT_NEW_TYPE_OR_LOCKED(type);
11921|       |
11922|     24|    update_callback_data_t *update_data = (update_callback_data_t *)data;
11923|     24|    pytype_slotdef **pp = update_data->defs;
11924|     48|    for (; *pp; pp++) {
  ------------------
  |  Branch (11924:12): [True: 24, False: 24]
  ------------------
11925|     24|        if (update_one_slot(type, *pp, NULL, update_data->queued_updates) < 0) {
  ------------------
  |  Branch (11925:13): [True: 0, False: 24]
  ------------------
11926|      0|            return -1;
11927|      0|        }
11928|     24|    }
11929|     24|    return 0;
11930|     24|}
typeobject.c:update_one_slot:
11754|  51.6k|{
11755|  51.6k|    ASSERT_NEW_TYPE_OR_LOCKED(type);
11756|       |
11757|  51.6k|    PyObject *descr;
11758|  51.6k|    PyWrapperDescrObject *d;
11759|       |
11760|       |    // The correct specialized C function, like "tp_repr of str" in the
11761|       |    // example above
11762|  51.6k|    void *specific = NULL;
11763|       |
11764|       |    // A generic wrapper that uses method lookup (safe but slow)
11765|  51.6k|    void *generic = NULL;
11766|       |
11767|       |    // Set to 1 if the generic wrapper is necessary
11768|  51.6k|    int use_generic = 0;
11769|       |
11770|  51.6k|    int offset = p->offset;
11771|  51.6k|    void **ptr = slotptr(type, offset);
11772|       |
11773|  51.6k|    if (ptr == NULL) {
  ------------------
  |  Branch (11773:9): [True: 0, False: 51.6k]
  ------------------
11774|      0|        do {
11775|      0|            ++p;
11776|      0|        } while (p->offset == offset);
  ------------------
  |  Branch (11776:18): [True: 0, False: 0]
  ------------------
11777|      0|        if (next_p != NULL) {
  ------------------
  |  Branch (11777:13): [True: 0, False: 0]
  ------------------
11778|      0|            *next_p = p;
11779|      0|        }
11780|      0|        return 0;
11781|      0|    }
11782|       |    /* We may end up clearing live exceptions below, so make sure it's ours. */
11783|  51.6k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (11783:5): [True: 51.6k, False: 0]
  ------------------
11784|  72.5k|    do {
11785|       |        /* Use faster uncached lookup as we won't get any cache hits during type setup. */
11786|  72.5k|        _PyStackRef descr_ref;
11787|  72.5k|        int res = find_name_in_mro(type, p->name_strobj, &descr_ref);
11788|  72.5k|        if (res <= 0) {
  ------------------
  |  Branch (11788:13): [True: 57.8k, False: 14.6k]
  ------------------
11789|  57.8k|            if (ptr == (void**)&type->tp_iternext) {
  ------------------
  |  Branch (11789:17): [True: 672, False: 57.1k]
  ------------------
11790|    672|                specific = (void *)_PyObject_NextNotImplemented;
11791|    672|            }
11792|  57.8k|            continue;
11793|  57.8k|        }
11794|  14.6k|        descr = PyStackRef_AsPyObjectBorrow(descr_ref);
11795|  14.6k|        if (Py_IS_TYPE(descr, &PyWrapperDescr_Type) &&
  ------------------
  |  |  215|  29.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  14.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 12.0k, False: 2.58k]
  |  |  ------------------
  ------------------
11796|  12.0k|            ((PyWrapperDescrObject *)descr)->d_base->name_strobj == p->name_strobj) {
  ------------------
  |  Branch (11796:13): [True: 12.0k, False: 2]
  ------------------
11797|  12.0k|            void **tptr;
11798|  12.0k|            size_t index = (p - slotdefs);
11799|  12.0k|            if (slotdefs_dups[index][0] > 1) {
  ------------------
  |  Branch (11799:17): [True: 4.78k, False: 7.31k]
  ------------------
11800|  4.78k|                tptr = NULL;
11801|  14.2k|                for (size_t i = 1; i <= slotdefs_dups[index][0]; i++) {
  ------------------
  |  Branch (11801:36): [True: 9.56k, False: 4.73k]
  ------------------
11802|  9.56k|                    pytype_slotdef *q = &slotdefs[slotdefs_dups[index][i]];
11803|  9.56k|                    void **qptr = slotptr(type, q->offset);
11804|  9.56k|                    if (qptr == NULL || *qptr == NULL)
  ------------------
  |  Branch (11804:25): [True: 0, False: 9.56k]
  |  Branch (11804:41): [True: 4.73k, False: 4.83k]
  ------------------
11805|  4.73k|                        continue;
11806|  4.83k|                    if (tptr != NULL) {
  ------------------
  |  Branch (11806:25): [True: 50, False: 4.78k]
  ------------------
11807|     50|                        tptr = NULL;
11808|     50|                        break;
11809|     50|                    }
11810|  4.78k|                    tptr = qptr;
11811|  4.78k|                }
11812|  4.78k|            }
11813|  7.31k|            else {
11814|  7.31k|                tptr = slotptr(type, offset);
11815|  7.31k|            }
11816|       |
11817|  12.0k|            if (tptr == NULL || tptr == ptr)
  ------------------
  |  Branch (11817:17): [True: 50, False: 12.0k]
  |  Branch (11817:33): [True: 9.68k, False: 2.36k]
  ------------------
11818|  9.73k|                generic = p->function;
11819|  12.0k|            d = (PyWrapperDescrObject *)descr;
11820|  12.0k|            if ((specific == NULL || specific == d->d_wrapped) &&
  ------------------
  |  Branch (11820:18): [True: 7.48k, False: 4.61k]
  |  Branch (11820:38): [True: 4.61k, False: 1]
  ------------------
11821|  12.0k|                d->d_base->wrapper == p->wrapper &&
  ------------------
  |  Branch (11821:17): [True: 9.72k, False: 2.37k]
  ------------------
11822|  9.72k|                is_subtype_with_mro(lookup_tp_mro(type), type, PyDescr_TYPE(d)))
  ------------------
  |  |   35|  9.72k|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  |  Branch (11822:17): [True: 9.72k, False: 0]
  ------------------
11823|  9.72k|            {
11824|  9.72k|                specific = d->d_wrapped;
11825|  9.72k|            }
11826|  2.37k|            else {
11827|       |                /* We cannot use the specific slot function because either
11828|       |                   - it is not unique: there are multiple methods for this
11829|       |                     slot and they conflict
11830|       |                   - the signature is wrong (as checked by the ->wrapper
11831|       |                     comparison above)
11832|       |                   - it's wrapping the wrong class
11833|       |                 */
11834|  2.37k|                use_generic = 1;
11835|  2.37k|            }
11836|  12.0k|        }
11837|  2.58k|        else if (Py_IS_TYPE(descr, &PyCFunction_Type) &&
  ------------------
  |  |  215|  5.16k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 743, False: 1.83k]
  |  |  ------------------
  ------------------
11838|    743|                 PyCFunction_GET_FUNCTION(descr) ==
  ------------------
  |  |   43|    743|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|    743|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    743|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11838:18): [True: 743, False: 0]
  ------------------
11839|  2.58k|                 _PyCFunction_CAST(tp_new_wrapper) &&
  ------------------
  |  |   53|  2.58k|    _Py_FUNC_CAST(PyCFunction, func)
  |  |  ------------------
  |  |  |  |   47|    743|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11840|    743|                 ptr == (void**)&type->tp_new)
  ------------------
  |  Branch (11840:18): [True: 743, False: 0]
  ------------------
11841|    743|        {
11842|       |            /* The __new__ wrapper is not a wrapper descriptor,
11843|       |               so must be special-cased differently.
11844|       |               If we don't do this, creating an instance will
11845|       |               always use slot_tp_new which will look up
11846|       |               __new__ in the MRO which will call tp_new_wrapper
11847|       |               which will look through the base classes looking
11848|       |               for a static base and call its tp_new (usually
11849|       |               PyType_GenericNew), after performing various
11850|       |               sanity checks and constructing a new argument
11851|       |               list.  Cut all that nonsense short -- this speeds
11852|       |               up instance creation tremendously. */
11853|    743|            specific = (void *)type->tp_new;
11854|       |            /* XXX I'm not 100% sure that there isn't a hole
11855|       |               in this reasoning that requires additional
11856|       |               sanity checks.  I'll buy the first person to
11857|       |               point out a bug in this reasoning a beer. */
11858|    743|        }
11859|  1.83k|        else if (descr == Py_None &&
  ------------------
  |  |  616|  3.67k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (11859:18): [True: 32, False: 1.80k]
  ------------------
11860|     32|                 ptr == (void**)&type->tp_hash) {
  ------------------
  |  Branch (11860:18): [True: 32, False: 0]
  ------------------
11861|       |            /* We specifically allow __hash__ to be set to None
11862|       |               to prevent inheritance of the default
11863|       |               implementation from object.__hash__ */
11864|     32|            specific = (void *)PyObject_HashNotImplemented;
11865|     32|        }
11866|  1.80k|        else {
11867|  1.80k|            use_generic = 1;
11868|  1.80k|            if (generic == NULL && Py_IS_TYPE(descr, &PyMethodDescr_Type) &&
  ------------------
  |  |  215|  3.22k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 13, False: 1.40k]
  |  |  ------------------
  ------------------
  |  Branch (11868:17): [True: 1.41k, False: 390]
  ------------------
11869|     13|                *ptr == ((PyMethodDescrObject *)descr)->d_method->ml_meth)
  ------------------
  |  Branch (11869:17): [True: 5, False: 8]
  ------------------
11870|      5|            {
11871|      5|                generic = *ptr;
11872|      5|            }
11873|  1.80k|            else {
11874|  1.80k|                generic = p->function;
11875|  1.80k|            }
11876|  1.80k|            if (p->function == slot_tp_call) {
  ------------------
  |  Branch (11876:17): [True: 16, False: 1.79k]
  ------------------
11877|       |                /* A generic __call__ is incompatible with vectorcall */
11878|     16|                if (queued_updates == NULL) {
  ------------------
  |  Branch (11878:21): [True: 16, False: 0]
  ------------------
11879|     16|                    type_clear_flags(type, Py_TPFLAGS_HAVE_VECTORCALL);
  ------------------
  |  |  510|     16|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
11880|     16|                }
11881|     16|            }
11882|  1.80k|        }
11883|  14.6k|        PyStackRef_CLOSE(descr_ref);
11884|  72.5k|    } while ((++p)->offset == offset);
  ------------------
  |  Branch (11884:14): [True: 20.8k, False: 51.6k]
  ------------------
11885|       |
11886|  51.6k|    void *slot_value;
11887|  51.6k|    if (specific && !use_generic) {
  ------------------
  |  Branch (11887:9): [True: 6.55k, False: 45.1k]
  |  Branch (11887:21): [True: 6.33k, False: 221]
  ------------------
11888|  6.33k|        slot_value = specific;
11889|  45.3k|    } else {
11890|  45.3k|        slot_value = generic;
11891|  45.3k|    }
11892|       |
11893|       |#ifdef Py_GIL_DISABLED
11894|       |    if (queued_updates != NULL) {
11895|       |        // queue the update to perform later, while world is stopped
11896|       |        if (queue_slot_update(queued_updates, type, ptr, slot_value) < 0) {
11897|       |            return -1;
11898|       |        }
11899|       |    } else {
11900|       |        // do the update to the type structure now
11901|       |        *ptr = slot_value;
11902|       |    }
11903|       |#else
11904|       |    // always do the update immediately
11905|  51.6k|    assert(queued_updates == NULL);
  ------------------
  |  Branch (11905:5): [True: 51.6k, False: 0]
  ------------------
11906|  51.6k|    *ptr = slot_value;
11907|  51.6k|#endif
11908|       |
11909|  51.6k|    if (next_p != NULL) {
  ------------------
  |  Branch (11909:9): [True: 51.6k, False: 24]
  ------------------
11910|  51.6k|        *next_p = p;
11911|  51.6k|    }
11912|  51.6k|    return 0;
11913|  51.6k|}
typeobject.c:slotptr:
11641|   186k|{
11642|   186k|    char *ptr;
11643|   186k|    long offset = ioffset;
11644|       |
11645|       |    /* Note: this depends on the order of the members of PyHeapTypeObject! */
11646|   186k|    assert(offset >= 0);
  ------------------
  |  Branch (11646:5): [True: 186k, False: 0]
  ------------------
11647|   186k|    assert((size_t)offset < offsetof(PyHeapTypeObject, ht_name));
  ------------------
  |  Branch (11647:5): [True: 186k, False: 0]
  ------------------
11648|   186k|    if ((size_t)offset >= offsetof(PyHeapTypeObject, as_buffer)) {
  ------------------
  |  Branch (11648:9): [True: 4.18k, False: 182k]
  ------------------
11649|  4.18k|        ptr = (char *)type->tp_as_buffer;
11650|  4.18k|        offset -= offsetof(PyHeapTypeObject, as_buffer);
11651|  4.18k|    }
11652|   182k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_sequence)) {
  ------------------
  |  Branch (11652:14): [True: 19.6k, False: 162k]
  ------------------
11653|  19.6k|        ptr = (char *)type->tp_as_sequence;
11654|  19.6k|        offset -= offsetof(PyHeapTypeObject, as_sequence);
11655|  19.6k|    }
11656|   162k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_mapping)) {
  ------------------
  |  Branch (11656:14): [True: 7.73k, False: 154k]
  ------------------
11657|  7.73k|        ptr = (char *)type->tp_as_mapping;
11658|  7.73k|        offset -= offsetof(PyHeapTypeObject, as_mapping);
11659|  7.73k|    }
11660|   154k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_number)) {
  ------------------
  |  Branch (11660:14): [True: 92.2k, False: 62.7k]
  ------------------
11661|  92.2k|        ptr = (char *)type->tp_as_number;
11662|  92.2k|        offset -= offsetof(PyHeapTypeObject, as_number);
11663|  92.2k|    }
11664|  62.7k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_async)) {
  ------------------
  |  Branch (11664:14): [True: 6.27k, False: 56.4k]
  ------------------
11665|  6.27k|        ptr = (char *)type->tp_as_async;
11666|  6.27k|        offset -= offsetof(PyHeapTypeObject, as_async);
11667|  6.27k|    }
11668|  56.4k|    else {
11669|  56.4k|        ptr = (char *)type;
11670|  56.4k|    }
11671|   186k|    if (ptr != NULL)
  ------------------
  |  Branch (11671:9): [True: 161k, False: 25.4k]
  ------------------
11672|   161k|        ptr += offset;
11673|   186k|    return (void **)ptr;
11674|   186k|}
typeobject.c:tp_new_wrapper:
10259|    767|{
10260|    767|    PyTypeObject *staticbase;
10261|    767|    PyObject *arg0, *res;
10262|       |
10263|    767|    if (self == NULL || !PyType_Check(self)) {
  ------------------
  |  |  766|    767|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    767|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    767|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10263:9): [True: 0, False: 767]
  |  Branch (10263:25): [True: 0, False: 767]
  ------------------
10264|      0|        PyErr_Format(PyExc_SystemError,
10265|      0|                     "__new__() called with non-type 'self'");
10266|      0|        return NULL;
10267|      0|    }
10268|    767|    PyTypeObject *type = (PyTypeObject *)self;
10269|       |
10270|    767|    if (nargs < 1) {
  ------------------
  |  Branch (10270:9): [True: 0, False: 767]
  ------------------
10271|      0|        PyErr_Format(PyExc_TypeError,
10272|      0|                     "%s.__new__(): not enough arguments",
10273|      0|                     type->tp_name);
10274|      0|        return NULL;
10275|      0|    }
10276|    767|    arg0 = args[0];
10277|    767|    if (!PyType_Check(arg0)) {
  ------------------
  |  |  766|    767|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    767|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    767|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10277:9): [True: 0, False: 767]
  ------------------
10278|      0|        PyErr_Format(PyExc_TypeError,
10279|      0|                     "%s.__new__(X): X is not a type object (%s)",
10280|      0|                     type->tp_name,
10281|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10282|      0|        return NULL;
10283|      0|    }
10284|    767|    PyTypeObject *subtype = (PyTypeObject *)arg0;
10285|       |
10286|    767|    if (!PyType_IsSubtype(subtype, type)) {
  ------------------
  |  Branch (10286:9): [True: 0, False: 767]
  ------------------
10287|      0|        PyErr_Format(PyExc_TypeError,
10288|      0|                     "%s.__new__(%s): %s is not a subtype of %s",
10289|      0|                     type->tp_name,
10290|      0|                     subtype->tp_name,
10291|      0|                     subtype->tp_name,
10292|      0|                     type->tp_name);
10293|      0|        return NULL;
10294|      0|    }
10295|       |
10296|       |    /* Check that the use doesn't do something silly and unsafe like
10297|       |       object.__new__(dict).  To do this, we check that the
10298|       |       most derived base that's not a heap type is this type. */
10299|    767|    staticbase = subtype;
10300|  1.55k|    while (staticbase && (staticbase->tp_new == slot_tp_new))
  ------------------
  |  Branch (10300:12): [True: 1.55k, False: 0]
  |  Branch (10300:26): [True: 790, False: 767]
  ------------------
10301|    790|        staticbase = staticbase->tp_base;
10302|       |    /* If staticbase is NULL now, it is a really weird type.
10303|       |       In the spirit of backwards compatibility (?), just shut up. */
10304|    767|    if (staticbase && staticbase->tp_new != type->tp_new) {
  ------------------
  |  Branch (10304:9): [True: 767, False: 0]
  |  Branch (10304:23): [True: 0, False: 767]
  ------------------
10305|      0|        if (staticbase->tp_new == NULL) {
  ------------------
  |  Branch (10305:13): [True: 0, False: 0]
  ------------------
10306|      0|            PyErr_Format(PyExc_TypeError,
10307|      0|                         "cannot create '%s' instances", subtype->tp_name);
10308|      0|            return NULL;
10309|      0|        }
10310|      0|        PyErr_Format(PyExc_TypeError,
10311|      0|                     "%s.__new__(%s) is not safe, use %s.__new__()",
10312|      0|                     type->tp_name,
10313|      0|                     subtype->tp_name,
10314|      0|                     staticbase->tp_name);
10315|      0|        return NULL;
10316|      0|    }
10317|       |
10318|    767|    PyObject *args_tuple = PyTuple_FromArray(args + 1, nargs - 1);
10319|    767|    if (args_tuple == NULL) {
  ------------------
  |  Branch (10319:9): [True: 0, False: 767]
  ------------------
10320|      0|        return NULL;
10321|      0|    }
10322|    767|    PyObject *kwds = NULL;
10323|    767|    if (kwnames != NULL) {
  ------------------
  |  Branch (10323:9): [True: 0, False: 767]
  ------------------
10324|      0|        kwds = _PyStack_AsDict(args + nargs, kwnames);
10325|      0|        if (kwds == NULL) {
  ------------------
  |  Branch (10325:13): [True: 0, False: 0]
  ------------------
10326|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10327|      0|            return NULL;
10328|      0|        }
10329|      0|    }
10330|    767|    res = type->tp_new(subtype, args_tuple, kwds);
10331|    767|    Py_DECREF(args_tuple);
  ------------------
  |  |  430|    767|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    767|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    767|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10332|    767|    Py_XDECREF(kwds);
  ------------------
  |  |  524|    767|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    767|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    767|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10333|    767|    return res;
10334|    767|}
typeobject.c:slot_tp_new:
11043|    738|{
11044|    738|    PyThreadState *tstate = _PyThreadState_GET();
11045|    738|    PyObject *result;
11046|       |
11047|    738|    _PyCStackRef func_ref;
11048|    738|    _PyThreadState_PushCStackRef(tstate, &func_ref);
11049|    738|    func_ref.ref = _PyObject_GetAttrStackRef((PyObject *)type, &_Py_ID(__new__));
  ------------------
  |  |  921|    738|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    738|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    738|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11050|    738|    if (PyStackRef_IsNull(func_ref.ref)) {
  ------------------
  |  |  482|    738|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|    738|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    738|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 738]
  |  |  ------------------
  ------------------
11051|      0|        _PyThreadState_PopCStackRef(tstate, &func_ref);
11052|      0|        return NULL;
11053|      0|    }
11054|       |
11055|    738|    PyObject *func = PyStackRef_AsPyObjectBorrow(func_ref.ref);
11056|    738|    result = _PyObject_Call_Prepend(tstate, func, (PyObject *)type, args, kwds);
11057|    738|    _PyThreadState_PopCStackRef(tstate, &func_ref);
11058|    738|    return result;
11059|    738|}
typeobject.c:slot_tp_call:
10788|      9|{
10789|      9|    return call_method(self, &_Py_ID(__call__), args, kwds);
  ------------------
  |  |  921|      9|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      9|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      9|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10790|      9|}
typeobject.c:call_method:
 3021|  49.3k|{
 3022|  49.3k|    PyThreadState *tstate = _PyThreadState_GET();
 3023|  49.3k|    _PyCStackRef cref;
 3024|  49.3k|    _PyThreadState_PushCStackRef(tstate, &cref);
 3025|  49.3k|    PyObject *res = NULL;
 3026|  49.3k|    int unbound = lookup_method(self, attr, &cref.ref);
 3027|  49.3k|    if (unbound >= 0) {
  ------------------
  |  Branch (3027:9): [True: 49.3k, False: 0]
  ------------------
 3028|  49.3k|        PyObject *meth = PyStackRef_AsPyObjectBorrow(cref.ref);
 3029|  49.3k|        if (unbound) {
  ------------------
  |  Branch (3029:13): [True: 49.3k, False: 0]
  ------------------
 3030|  49.3k|            res = _PyObject_Call_Prepend(tstate, meth, self, args, kwds);
 3031|  49.3k|        }
 3032|      0|        else {
 3033|      0|            res = _PyObject_Call(tstate, meth, args, kwds);
 3034|      0|        }
 3035|  49.3k|    }
 3036|  49.3k|    _PyThreadState_PopCStackRef(tstate, &cref);
 3037|  49.3k|    return res;
 3038|  49.3k|}
typeobject.c:lookup_method:
 2970|  50.0k|{
 2971|  50.0k|    return lookup_method_ex(self, attr, out, 1);
 2972|  50.0k|}
typeobject.c:type_traverse:
 7042|  13.9k|{
 7043|  13.9k|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  186|  13.9k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 7044|       |
 7045|       |    /* Because of type_is_gc(), the collector only calls this
 7046|       |       for heaptypes. */
 7047|  13.9k|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  13.9k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (7047:9): [True: 0, False: 13.9k]
  ------------------
 7048|      0|        char msg[200];
 7049|      0|        sprintf(msg, "type_traverse() called on non-heap type '%.100s'",
 7050|      0|                type->tp_name);
 7051|      0|        _PyObject_ASSERT_FAILED_MSG((PyObject *)type, msg);
  ------------------
  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  ------------------
 7052|      0|    }
 7053|       |
 7054|  13.9k|    Py_VISIT(type->tp_dict);
  ------------------
  |  |  194|  13.9k|    do {                                                                \
  |  |  195|  13.9k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 13.9k, False: 0]
  |  |  ------------------
  |  |  196|  13.9k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  13.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  13.9k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 13.9k]
  |  |  ------------------
  |  |  198|  13.9k|                return vret;                                            \
  |  |  199|  13.9k|        }                                                               \
  |  |  200|  13.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 13.9k]
  |  |  ------------------
  ------------------
 7055|  13.9k|    Py_VISIT(type->tp_cache);
  ------------------
  |  |  194|  13.9k|    do {                                                                \
  |  |  195|  13.9k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 13.9k]
  |  |  ------------------
  |  |  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|  13.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 13.9k]
  |  |  ------------------
  ------------------
 7056|  13.9k|    Py_VISIT(type->tp_mro);
  ------------------
  |  |  194|  13.9k|    do {                                                                \
  |  |  195|  13.9k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 13.9k, False: 0]
  |  |  ------------------
  |  |  196|  13.9k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  13.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  13.9k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 13.9k]
  |  |  ------------------
  |  |  198|  13.9k|                return vret;                                            \
  |  |  199|  13.9k|        }                                                               \
  |  |  200|  13.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 13.9k]
  |  |  ------------------
  ------------------
 7057|  13.9k|    Py_VISIT(type->tp_bases);
  ------------------
  |  |  194|  13.9k|    do {                                                                \
  |  |  195|  13.9k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 13.9k, False: 0]
  |  |  ------------------
  |  |  196|  13.9k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  13.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  13.9k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 13.9k]
  |  |  ------------------
  |  |  198|  13.9k|                return vret;                                            \
  |  |  199|  13.9k|        }                                                               \
  |  |  200|  13.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 13.9k]
  |  |  ------------------
  ------------------
 7058|  13.9k|    Py_VISIT(type->tp_base);
  ------------------
  |  |  194|  13.9k|    do {                                                                \
  |  |  195|  13.9k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 13.9k, False: 0]
  |  |  ------------------
  |  |  196|  13.9k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  13.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  13.9k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 13.9k]
  |  |  ------------------
  |  |  198|  13.9k|                return vret;                                            \
  |  |  199|  13.9k|        }                                                               \
  |  |  200|  13.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 13.9k]
  |  |  ------------------
  ------------------
 7059|  13.9k|    Py_VISIT(((PyHeapTypeObject *)type)->ht_module);
  ------------------
  |  |  194|  13.9k|    do {                                                                \
  |  |  195|  13.9k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.32k, False: 12.6k]
  |  |  ------------------
  |  |  196|  1.32k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.32k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.32k]
  |  |  ------------------
  |  |  198|  1.32k|                return vret;                                            \
  |  |  199|  1.32k|        }                                                               \
  |  |  200|  13.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 13.9k]
  |  |  ------------------
  ------------------
 7060|       |
 7061|       |    /* There's no need to visit others because they can't be involved
 7062|       |       in cycles:
 7063|       |       type->tp_subclasses is a list of weak references,
 7064|       |       ((PyHeapTypeObject *)type)->ht_slots is a tuple of strings,
 7065|       |       ((PyHeapTypeObject *)type)->ht_*name are strings.
 7066|       |       */
 7067|       |
 7068|  13.9k|    return 0;
 7069|  13.9k|}
typeobject.c:type_clear:
 7073|      8|{
 7074|      8|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  186|      8|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 7075|       |
 7076|       |    /* Because of type_is_gc(), the collector only calls this
 7077|       |       for heaptypes. */
 7078|      8|    _PyObject_ASSERT((PyObject *)type, type->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  425|      8|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|      8|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|      8|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 8, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      8|      ? (void)(0) \
  |  |  |  |  |  |  418|      8|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7079|       |
 7080|       |    /* We need to invalidate the method cache carefully before clearing
 7081|       |       the dict, so that other objects caught in a reference cycle
 7082|       |       don't start calling destroyed methods.
 7083|       |
 7084|       |       Otherwise, we need to clear tp_mro, which is
 7085|       |       part of a hard cycle (its first element is the class itself) that
 7086|       |       won't be broken otherwise (it's a tuple and tuples don't have a
 7087|       |       tp_clear handler).
 7088|       |       We also need to clear ht_module, if present: the module usually holds a
 7089|       |       reference to its class. None of the other fields need to be
 7090|       |
 7091|       |       cleared, and here's why:
 7092|       |
 7093|       |       tp_cache:
 7094|       |           Not used; if it were, it would be a dict.
 7095|       |
 7096|       |       tp_bases, tp_base:
 7097|       |           If these are involved in a cycle, there must be at least
 7098|       |           one other, mutable object in the cycle, e.g. a base
 7099|       |           class's dict; the cycle will be broken that way.
 7100|       |
 7101|       |       tp_subclasses:
 7102|       |           A dict of weak references can't be part of a cycle; and
 7103|       |           dicts have their own tp_clear.
 7104|       |
 7105|       |       slots (in PyHeapTypeObject):
 7106|       |           A tuple of strings can't be part of a cycle.
 7107|       |    */
 7108|       |
 7109|      8|    PyType_Modified(type);
 7110|      8|    PyObject *dict = lookup_tp_dict(type);
 7111|      8|    if (dict) {
  ------------------
  |  Branch (7111:9): [True: 8, False: 0]
  ------------------
 7112|      8|        PyDict_Clear(dict);
 7113|      8|    }
 7114|      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]
  |  |  ------------------
  ------------------
 7115|       |
 7116|      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]
  |  |  ------------------
  ------------------
 7117|       |
 7118|      8|    return 0;
 7119|      8|}
typeobject.c:type_mro_impl:
 3467|     85|{
 3468|     85|    PyObject *seq;
 3469|     85|    seq = mro_implementation(self);
 3470|     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 (3470:9): [True: 85, False: 0]
  |  Branch (3470:24): [True: 69, False: 16]
  ------------------
 3471|     69|        Py_SETREF(seq, PySequence_List(seq));
  ------------------
  |  |  354|     69|    do { \
  |  |  355|     69|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     69|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|     69|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     69|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|     69|        *_tmp_dst_ptr = (src); \
  |  |  358|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|     69|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 69]
  |  |  ------------------
  ------------------
 3472|     69|    }
 3473|     85|    return seq;
 3474|     85|}
typeobject.c:mro_implementation:
 3450|     85|{
 3451|     85|    PyObject *mro;
 3452|     85|    BEGIN_TYPE_LOCK();
 3453|     85|    mro = mro_implementation_unlocked(type);
 3454|     85|    END_TYPE_LOCK();
 3455|     85|    return mro;
 3456|     85|}
typeobject.c:mro_implementation_unlocked:
 3362|  1.31k|{
 3363|  1.31k|    ASSERT_TYPE_LOCK_HELD();
 3364|       |
 3365|  1.31k|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (3365:9): [True: 0, False: 1.31k]
  ------------------
 3366|      0|        if (PyType_Ready(type) < 0)
  ------------------
  |  Branch (3366:13): [True: 0, False: 0]
  ------------------
 3367|      0|            return NULL;
 3368|      0|    }
 3369|       |
 3370|  1.31k|    PyObject *bases = lookup_tp_bases(type);
 3371|  1.31k|    Py_ssize_t n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  1.31k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3372|  2.82k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3372:28): [True: 1.50k, False: 1.31k]
  ------------------
 3373|  3.01k|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(bases, i));
  ------------------
  |  |  770|  1.50k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:38): [True: 1.50k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3373:30): [True: 1.50k, False: 0]
  |  Branch (3373:30): [True: 1.50k, False: 0]
  ------------------
 3374|  1.50k|        if (lookup_tp_mro(base) == NULL) {
  ------------------
  |  Branch (3374:13): [True: 0, False: 1.50k]
  ------------------
 3375|      0|            PyErr_Format(PyExc_TypeError,
 3376|      0|                         "Cannot extend an incomplete type '%.100s'",
 3377|      0|                         base->tp_name);
 3378|      0|            return NULL;
 3379|      0|        }
 3380|  3.01k|        assert(PyTuple_Check(lookup_tp_mro(base)));
  ------------------
  |  Branch (3380:9): [True: 1.50k, False: 0]
  ------------------
 3381|  1.50k|    }
 3382|       |
 3383|  1.31k|    if (n == 1) {
  ------------------
  |  Branch (3383:9): [True: 1.14k, False: 167]
  ------------------
 3384|       |        /* Fast path: if there is a single base, constructing the MRO
 3385|       |         * is trivial.
 3386|       |         */
 3387|  2.29k|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(bases, 0));
  ------------------
  |  |  770|  1.14k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:38): [True: 1.14k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3387:30): [True: 1.14k, False: 0]
  |  Branch (3387:30): [True: 1.14k, False: 0]
  ------------------
 3388|      0|        PyObject *base_mro = lookup_tp_mro(base);
 3389|  2.29k|        assert(base_mro != NULL);
  ------------------
  |  Branch (3389:9): [True: 1.14k, False: 0]
  ------------------
 3390|  1.14k|        Py_ssize_t k = PyTuple_GET_SIZE(base_mro);
  ------------------
  |  |   27|  1.14k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3391|  1.14k|        PyObject *result = PyTuple_New(k + 1);
 3392|  1.14k|        if (result == NULL) {
  ------------------
  |  Branch (3392:13): [True: 0, False: 1.14k]
  ------------------
 3393|      0|            return NULL;
 3394|      0|        }
 3395|       |
 3396|  1.14k|        ;
 3397|  1.14k|        PyTuple_SET_ITEM(result, 0, Py_NewRef(type));
  ------------------
  |  |   40|  1.14k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3398|  3.61k|        for (Py_ssize_t i = 0; i < k; i++) {
  ------------------
  |  Branch (3398:32): [True: 2.46k, False: 1.14k]
  ------------------
 3399|  2.46k|            PyObject *cls = PyTuple_GET_ITEM(base_mro, i);
  ------------------
  |  |   29|  2.46k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.46k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3399:29): [True: 2.46k, False: 0]
  ------------------
 3400|  2.46k|            PyTuple_SET_ITEM(result, i + 1, Py_NewRef(cls));
  ------------------
  |  |   40|  2.46k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3401|  2.46k|        }
 3402|  1.14k|        return result;
 3403|  1.14k|    }
 3404|       |
 3405|       |    /* This is just a basic sanity check. */
 3406|    167|    if (check_duplicates(bases) < 0) {
  ------------------
  |  Branch (3406:9): [True: 0, False: 167]
  ------------------
 3407|      0|        return NULL;
 3408|      0|    }
 3409|       |
 3410|       |    /* Find a superclass linearization that honors the constraints
 3411|       |       of the explicit tuples of bases and the constraints implied by
 3412|       |       each base class.
 3413|       |
 3414|       |       to_merge is an array of tuples, where each tuple is a superclass
 3415|       |       linearization implied by a base class.  The last element of
 3416|       |       to_merge is the declared tuple of bases.
 3417|       |    */
 3418|    167|    PyObject **to_merge = PyMem_New(PyObject *, n + 1);
  ------------------
  |  |   64|    167|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    167|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 167]
  |  |  ------------------
  |  |   65|    167|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3419|    167|    if (to_merge == NULL) {
  ------------------
  |  Branch (3419:9): [True: 0, False: 167]
  ------------------
 3420|      0|        PyErr_NoMemory();
 3421|      0|        return NULL;
 3422|      0|    }
 3423|       |
 3424|    167|    PyObject *mro_to_merge;
 3425|    525|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3425:28): [True: 358, False: 167]
  ------------------
 3426|    716|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(bases, i));
  ------------------
  |  |  770|    358|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    716|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:38): [True: 358, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3426:30): [True: 358, False: 0]
  |  Branch (3426:30): [True: 358, False: 0]
  ------------------
 3427|      0|        mro_to_merge = lookup_tp_mro(base);
 3428|    716|        assert(mro_to_merge != NULL);
  ------------------
  |  Branch (3428:9): [True: 358, False: 0]
  ------------------
 3429|    358|        to_merge[i] = mro_to_merge;
 3430|    358|    }
 3431|    167|    to_merge[n] = bases;
 3432|       |
 3433|    167|    PyObject *result = PyList_New(1);
 3434|    167|    if (result == NULL) {
  ------------------
  |  Branch (3434:9): [True: 0, False: 167]
  ------------------
 3435|      0|        PyMem_Free(to_merge);
 3436|      0|        return NULL;
 3437|      0|    }
 3438|       |
 3439|    167|    PyList_SET_ITEM(result, 0, Py_NewRef(type));
  ------------------
  |  |   50|    167|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    167|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    167|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    167|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    167|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3440|    167|    if (pmerge(result, to_merge, n + 1) < 0) {
  ------------------
  |  Branch (3440:9): [True: 0, False: 167]
  ------------------
 3441|      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]
  |  |  ------------------
  ------------------
 3442|      0|    }
 3443|    167|    PyMem_Free(to_merge);
 3444|       |
 3445|    167|    return result;
 3446|    167|}
typeobject.c:check_duplicates:
 3201|    167|{
 3202|    167|    Py_ssize_t i, j, n;
 3203|       |    /* Let's use a quadratic time algorithm,
 3204|       |       assuming that the bases tuples is short.
 3205|       |    */
 3206|    167|    n = PyTuple_GET_SIZE(tuple);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3207|    525|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3207:17): [True: 358, False: 167]
  ------------------
 3208|    358|        PyObject *o = PyTuple_GET_ITEM(tuple, i);
  ------------------
  |  |   29|    358|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    358|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    358|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3208:23): [True: 358, False: 0]
  ------------------
 3209|    579|        for (j = i + 1; j < n; j++) {
  ------------------
  |  Branch (3209:25): [True: 221, False: 358]
  ------------------
 3210|    442|            if (PyTuple_GET_ITEM(tuple, j) == o) {
  ------------------
  |  |   29|    221|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    221|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    221|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3210:17): [True: 221, False: 0]
  |  Branch (3210:17): [True: 0, False: 221]
  ------------------
 3211|      0|                o = class_name(o);
 3212|      0|                if (o != NULL) {
  ------------------
  |  Branch (3212:21): [True: 0, False: 0]
  ------------------
 3213|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3214|      0|                        PyErr_Format(PyExc_TypeError,
 3215|      0|                                     "duplicate base class %U", o);
 3216|      0|                    }
 3217|      0|                    else {
 3218|      0|                        PyErr_SetString(PyExc_TypeError,
 3219|      0|                                        "duplicate base class");
 3220|      0|                    }
 3221|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3222|      0|                }
 3223|      0|                return -1;
 3224|      0|            }
 3225|    221|        }
 3226|    358|    }
 3227|    167|    return 0;
 3228|    167|}
typeobject.c:pmerge:
 3292|    167|{
 3293|    167|    int res = 0;
 3294|    167|    Py_ssize_t i, j, empty_cnt;
 3295|    167|    Py_ssize_t *remain;
 3296|       |
 3297|       |    /* remain stores an index into each sublist of to_merge.
 3298|       |       remain[i] is the index of the next base in to_merge[i]
 3299|       |       that is not included in acc.
 3300|       |    */
 3301|    167|    remain = PyMem_New(Py_ssize_t, to_merge_size);
  ------------------
  |  |   64|    167|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    167|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 167]
  |  |  ------------------
  |  |   65|    167|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3302|    167|    if (remain == NULL) {
  ------------------
  |  Branch (3302:9): [True: 0, False: 167]
  ------------------
 3303|      0|        PyErr_NoMemory();
 3304|      0|        return -1;
 3305|      0|    }
 3306|    692|    for (i = 0; i < to_merge_size; i++)
  ------------------
  |  Branch (3306:17): [True: 525, False: 167]
  ------------------
 3307|    525|        remain[i] = 0;
 3308|       |
 3309|    868|  again:
 3310|    868|    empty_cnt = 0;
 3311|  1.64k|    for (i = 0; i < to_merge_size; i++) {
  ------------------
  |  Branch (3311:17): [True: 1.47k, False: 167]
  ------------------
 3312|  1.47k|        PyObject *candidate;
 3313|       |
 3314|  1.47k|        PyObject *cur_tuple = to_merge[i];
 3315|       |
 3316|  1.47k|        if (remain[i] >= PyTuple_GET_SIZE(cur_tuple)) {
  ------------------
  |  |   27|  1.47k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3316:13): [True: 525, False: 949]
  ------------------
 3317|    525|            empty_cnt++;
 3318|    525|            continue;
 3319|    525|        }
 3320|       |
 3321|       |        /* Choose next candidate for MRO.
 3322|       |
 3323|       |           The input sequences alone can determine the choice.
 3324|       |           If not, choose the class which appears in the MRO
 3325|       |           of the earliest direct superclass of the new class.
 3326|       |        */
 3327|       |
 3328|    949|        candidate = PyTuple_GET_ITEM(cur_tuple, remain[i]);
  ------------------
  |  |   29|    949|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    949|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    949|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3328:21): [True: 949, False: 0]
  ------------------
 3329|  3.47k|        for (j = 0; j < to_merge_size; j++) {
  ------------------
  |  Branch (3329:21): [True: 2.77k, False: 701]
  ------------------
 3330|  2.77k|            PyObject *j_lst = to_merge[j];
 3331|  2.77k|            if (tail_contains(j_lst, remain[j], candidate))
  ------------------
  |  Branch (3331:17): [True: 248, False: 2.52k]
  ------------------
 3332|    248|                goto skip; /* continue outer loop */
 3333|  2.77k|        }
 3334|    701|        res = PyList_Append(acc, candidate);
 3335|    701|        if (res < 0)
  ------------------
  |  Branch (3335:13): [True: 0, False: 701]
  ------------------
 3336|      0|            goto out;
 3337|       |
 3338|  2.94k|        for (j = 0; j < to_merge_size; j++) {
  ------------------
  |  Branch (3338:21): [True: 2.24k, False: 701]
  ------------------
 3339|  2.24k|            PyObject *j_lst = to_merge[j];
 3340|  2.24k|            if (remain[j] < PyTuple_GET_SIZE(j_lst) &&
  ------------------
  |  |   27|  4.48k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_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 (3340:17): [True: 1.90k, False: 341]
  ------------------
 3341|  3.80k|                PyTuple_GET_ITEM(j_lst, remain[j]) == candidate) {
  ------------------
  |  |   29|  1.90k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.90k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3341:17): [True: 1.90k, False: 0]
  |  Branch (3341:17): [True: 1.40k, False: 499]
  ------------------
 3342|  1.40k|                remain[j]++;
 3343|  1.40k|            }
 3344|  2.24k|        }
 3345|    701|        goto again;
 3346|    248|      skip: ;
 3347|    248|    }
 3348|       |
 3349|    167|    if (empty_cnt != to_merge_size) {
  ------------------
  |  Branch (3349:9): [True: 0, False: 167]
  ------------------
 3350|      0|        set_mro_error(to_merge, to_merge_size, remain);
 3351|      0|        res = -1;
 3352|      0|    }
 3353|       |
 3354|    167|  out:
 3355|    167|    PyMem_Free(remain);
 3356|       |
 3357|    167|    return res;
 3358|    167|}
typeobject.c:tail_contains:
 3177|  2.77k|{
 3178|  2.77k|    Py_ssize_t j, size;
 3179|  2.77k|    size = PyTuple_GET_SIZE(tuple);
  ------------------
  |  |   27|  2.77k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.77k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.77k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3180|       |
 3181|  4.98k|    for (j = whence+1; j < size; j++) {
  ------------------
  |  Branch (3181:24): [True: 2.46k, False: 2.52k]
  ------------------
 3182|  4.92k|        if (PyTuple_GET_ITEM(tuple, j) == o)
  ------------------
  |  |   29|  2.46k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.46k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3182:13): [True: 2.46k, False: 0]
  |  Branch (3182:13): [True: 248, False: 2.21k]
  ------------------
 3183|    248|            return 1;
 3184|  2.46k|    }
 3185|  2.52k|    return 0;
 3186|  2.77k|}
typeobject.c:type___subclasses___impl:
 6900|     58|{
 6901|     58|    return _PyType_GetSubclasses(self);
 6902|     58|}
typeobject.c:type_prepare:
 6907|    624|{
 6908|    624|    return PyDict_New();
 6909|    624|}
typeobject.c:type___instancecheck___impl:
 2285|     12|{
 2286|     12|    return _PyObject_RealIsInstance(instance, (PyObject *)self);
 2287|     12|}
typeobject.c:type___subclasscheck___impl:
 2301|     10|{
 2302|     10|    return _PyObject_RealIsSubclass(subclass, (PyObject *)self);
 2303|     10|}
typeobject.c:check_set_special_type_attr:
 1414|      5|{
 1415|      5|    if (!value) {
  ------------------
  |  Branch (1415:9): [True: 0, False: 5]
  ------------------
 1416|      0|        PyErr_Format(PyExc_TypeError,
 1417|      0|                     "cannot delete '%s' attribute of type '%s'",
 1418|      0|                     name, type->tp_name);
 1419|      0|        return 0;
 1420|      0|    }
 1421|      5|    if (_PyType_HasFeature(type, Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|      5|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1421:9): [True: 0, False: 5]
  ------------------
 1422|      0|        PyErr_Format(PyExc_TypeError,
 1423|      0|                     "cannot set '%s' attribute of immutable type '%s'",
 1424|      0|                     name, type->tp_name);
 1425|      0|        return 0;
 1426|      0|    }
 1427|       |
 1428|      5|    if (PySys_Audit("object.__setattr__", "OsO",
  ------------------
  |  Branch (1428:9): [True: 0, False: 5]
  ------------------
 1429|      5|                    type, name, value) < 0) {
 1430|      0|        return 0;
 1431|      0|    }
 1432|       |
 1433|      5|    return 1;
 1434|      5|}
typeobject.c:type_get_bases:
 1689|     76|{
 1690|     76|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  186|     76|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1691|     76|    PyObject *bases = _PyType_GetBases(type);
 1692|     76|    if (bases == NULL) {
  ------------------
  |  Branch (1692:9): [True: 0, False: 76]
  ------------------
 1693|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1694|      0|    }
 1695|     76|    return bases;
 1696|     76|}
typeobject.c:mro_internal:
 3586|  1.31k|{
 3587|  1.31k|    ASSERT_TYPE_LOCK_HELD();
 3588|       |
 3589|  1.31k|    PyObject *new_mro, *old_mro;
 3590|  1.31k|    int reent;
 3591|       |
 3592|       |    /* Keep a reference to be able to do a reentrancy check below.
 3593|       |       Don't let old_mro be GC'ed and its address be reused for
 3594|       |       another object, like (suddenly!) a new tp_mro.  */
 3595|  1.31k|    old_mro = Py_XNewRef(lookup_tp_mro(type));
  ------------------
  |  |  551|  1.31k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3596|  1.31k|    new_mro = mro_invoke(type);  /* might cause reentrance */
 3597|  1.31k|    reent = (lookup_tp_mro(type) != old_mro);
 3598|  1.31k|    Py_XDECREF(old_mro);
  ------------------
  |  |  524|  1.31k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3599|  1.31k|    if (new_mro == NULL) {
  ------------------
  |  Branch (3599:9): [True: 0, False: 1.31k]
  ------------------
 3600|      0|        return -1;
 3601|      0|    }
 3602|       |
 3603|  1.31k|    if (reent) {
  ------------------
  |  Branch (3603:9): [True: 0, False: 1.31k]
  ------------------
 3604|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3605|      0|        return 0;
 3606|      0|    }
 3607|       |
 3608|  1.31k|    set_tp_mro(type, new_mro, initial);
 3609|       |
 3610|  1.31k|    type_mro_modified(type, new_mro);
 3611|       |    /* corner case: the super class might have been hidden
 3612|       |       from the custom MRO */
 3613|  1.31k|    type_mro_modified(type, lookup_tp_bases(type));
 3614|       |
 3615|       |    // XXX Expand this to Py_TPFLAGS_IMMUTABLETYPE?
 3616|  1.31k|    if (!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN)) {
  ------------------
  |  |  467|  1.31k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (3616:9): [True: 901, False: 414]
  ------------------
 3617|    901|        _PyType_Modified_Unlocked(type);
 3618|    901|    }
 3619|    414|    else {
 3620|       |        /* For static builtin types, this is only called during init
 3621|       |           before the method cache has been populated. */
 3622|    414|        assert(type->tp_version_tag);
  ------------------
  |  Branch (3622:9): [True: 414, False: 0]
  ------------------
 3623|    414|    }
 3624|       |
 3625|  1.31k|    if (p_old_mro != NULL)
  ------------------
  |  Branch (3625:9): [True: 0, False: 1.31k]
  ------------------
 3626|      0|        *p_old_mro = old_mro;  /* transfer the ownership */
 3627|  1.31k|    else
 3628|  1.31k|        Py_XDECREF(old_mro);
  ------------------
  |  |  524|  1.31k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3629|       |
 3630|  1.31k|    return 1;
 3631|  1.31k|}
typeobject.c:mro_invoke:
 3522|  1.31k|{
 3523|  1.31k|    PyObject *mro_result;
 3524|  1.31k|    PyObject *new_mro;
 3525|       |
 3526|  1.31k|    ASSERT_TYPE_LOCK_HELD();
 3527|       |
 3528|  1.31k|    const int custom = !Py_IS_TYPE(type, &PyType_Type);
  ------------------
  |  |  215|  1.31k|#  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3529|       |
 3530|  1.31k|    if (custom) {
  ------------------
  |  Branch (3530:9): [True: 85, False: 1.23k]
  ------------------
 3531|       |        // Custom mro() method on metaclass.  This is potentially re-entrant.
 3532|       |        // We are called either from type_ready() or from type_set_bases().
 3533|     85|        mro_result = call_method_noarg((PyObject *)type, &_Py_ID(mro));
  ------------------
  |  |  921|     85|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     85|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     85|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3534|     85|    }
 3535|  1.23k|    else {
 3536|       |        // In this case, the mro() method on the type object is being used and
 3537|       |        // we know that these calls are not re-entrant.
 3538|  1.23k|        mro_result = mro_implementation_unlocked(type);
 3539|  1.23k|    }
 3540|  1.31k|    if (mro_result == NULL)
  ------------------
  |  Branch (3540:9): [True: 0, False: 1.31k]
  ------------------
 3541|      0|        return NULL;
 3542|       |
 3543|  1.31k|    new_mro = PySequence_Tuple(mro_result);
 3544|  1.31k|    Py_DECREF(mro_result);
  ------------------
  |  |  430|  1.31k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3545|  1.31k|    if (new_mro == NULL) {
  ------------------
  |  Branch (3545:9): [True: 0, False: 1.31k]
  ------------------
 3546|      0|        return NULL;
 3547|      0|    }
 3548|       |
 3549|  1.31k|    if (PyTuple_GET_SIZE(new_mro) == 0) {
  ------------------
  |  |   27|  1.31k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3549:9): [True: 0, False: 1.31k]
  ------------------
 3550|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3551|      0|        PyErr_Format(PyExc_TypeError, "type MRO must not be empty");
 3552|      0|        return NULL;
 3553|      0|    }
 3554|       |
 3555|  1.31k|    if (custom && mro_check(type, new_mro) < 0) {
  ------------------
  |  Branch (3555:9): [True: 85, False: 1.23k]
  |  Branch (3555:19): [True: 0, False: 85]
  ------------------
 3556|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3557|      0|        return NULL;
 3558|      0|    }
 3559|  1.31k|    return new_mro;
 3560|  1.31k|}
typeobject.c:call_method_noarg:
 3005|     85|{
 3006|     85|    PyThreadState *tstate = _PyThreadState_GET();
 3007|     85|    _PyCStackRef cref;
 3008|     85|    _PyThreadState_PushCStackRef(tstate, &cref);
 3009|     85|    PyObject *res = NULL;
 3010|     85|    int unbound = lookup_method(self, attr, &cref.ref);
 3011|     85|    if (unbound >= 0) {
  ------------------
  |  Branch (3011:9): [True: 85, False: 0]
  ------------------
 3012|     85|        PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3013|     85|        res = call_unbound_noarg(unbound, func, self);
 3014|     85|    }
 3015|     85|    _PyThreadState_PopCStackRef(tstate, &cref);
 3016|     85|    return res;
 3017|     85|}
typeobject.c:mro_check:
 3478|     85|{
 3479|     85|    PyTypeObject *solid;
 3480|     85|    Py_ssize_t i, n;
 3481|       |
 3482|     85|    solid = solid_base(type);
 3483|       |
 3484|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3485|    487|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3485:17): [True: 402, False: 85]
  ------------------
 3486|    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 (3486:25): [True: 402, False: 0]
  ------------------
 3487|    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 (3487:13): [True: 0, False: 402]
  ------------------
 3488|      0|            PyErr_Format(PyExc_TypeError,
 3489|      0|                         "%N.mro() returned a non-class ('%T')", type, obj);
 3490|      0|            return -1;
 3491|      0|        }
 3492|    402|        PyTypeObject *base = (PyTypeObject*)obj;
 3493|       |
 3494|    402|        if (!is_subtype_with_mro(lookup_tp_mro(solid), solid, solid_base(base))) {
  ------------------
  |  Branch (3494:13): [True: 0, False: 402]
  ------------------
 3495|      0|            PyErr_Format(
 3496|      0|                PyExc_TypeError,
 3497|      0|                "%N.mro() returned base with unsuitable layout ('%N')",
 3498|      0|                type, base);
 3499|      0|            return -1;
 3500|      0|        }
 3501|    402|    }
 3502|       |
 3503|     85|    return 0;
 3504|     85|}
typeobject.c:type_mro_modified:
 1209|  2.63k|{
 1210|       |    /*
 1211|       |       Check that all base classes or elements of the MRO of type are
 1212|       |       able to be cached.  This function is called after the base
 1213|       |       classes or mro of the type are altered.
 1214|       |
 1215|       |       Unset HAVE_VERSION_TAG and VALID_VERSION_TAG if the type
 1216|       |       has a custom MRO that includes a type which is not officially
 1217|       |       super type, or if the type implements its own mro() method.
 1218|       |
 1219|       |       Called from mro_internal, which will subsequently be called on
 1220|       |       each subclass when their mro is recursively updated.
 1221|       |     */
 1222|  2.63k|    Py_ssize_t i, n;
 1223|       |
 1224|  2.63k|    ASSERT_TYPE_LOCK_HELD();
 1225|  2.63k|    if (!Py_IS_TYPE(type, &PyType_Type) && has_custom_mro(type)) {
  ------------------
  |  |  215|  5.26k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1225:9): [True: 170, False: 2.46k]
  |  Branch (1225:44): [True: 0, False: 170]
  ------------------
 1226|      0|        goto clear;
 1227|      0|    }
 1228|  2.63k|    n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  2.63k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1229|  8.62k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1229:17): [True: 5.99k, False: 2.63k]
  ------------------
 1230|  5.99k|        PyObject *b = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|  5.99k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  5.99k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1230:23): [True: 5.99k, False: 0]
  ------------------
 1231|  5.99k|        PyTypeObject *cls = _PyType_CAST(b);
  ------------------
  |  |  770|  5.99k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  5.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1231:29): [True: 5.99k, False: 0]
  ------------------
 1232|       |
 1233|  5.99k|        if (cls->tp_versions_used >= _Py_ATTR_CACHE_UNUSED) {
  ------------------
  |  |  253|  5.99k|#define _Py_ATTR_CACHE_UNUSED (30000)  // (see tp_versions_used)
  ------------------
  |  Branch (1233:13): [True: 0, False: 5.99k]
  ------------------
 1234|      0|            goto clear;
 1235|      0|        }
 1236|       |
 1237|  5.99k|        if (!is_subtype_with_mro(lookup_tp_mro(type), type, cls)) {
  ------------------
  |  Branch (1237:13): [True: 0, False: 5.99k]
  ------------------
 1238|      0|            goto clear;
 1239|      0|        }
 1240|  5.99k|    }
 1241|  2.63k|    return;
 1242|       |
 1243|  2.63k| clear:
 1244|      0|    assert(!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN));
  ------------------
  |  Branch (1244:5): [True: 0, False: 0]
  ------------------
 1245|      0|    set_version_unlocked(type, 0);  /* 0 is not a valid version tag */
 1246|      0|    _PyTypeCache_Invalidate(type);
 1247|      0|    type->tp_versions_used = _Py_ATTR_CACHE_UNUSED;
  ------------------
  |  |  253|      0|#define _Py_ATTR_CACHE_UNUSED (30000)  // (see tp_versions_used)
  ------------------
 1248|      0|    if (PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|      0|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1248:9): [True: 0, False: 0]
  ------------------
 1249|       |        // This field *must* be invalidated if the type is modified (see the
 1250|       |        // comment on struct _specialization_cache):
 1251|      0|        FT_ATOMIC_STORE_PTR_RELAXED(
  ------------------
  |  |  163|      0|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
 1252|      0|            ((PyHeapTypeObject *)type)->_spec_cache.getitem, NULL);
 1253|      0|    }
 1254|      0|}
typeobject.c:has_custom_mro:
 1191|    170|{
 1192|    170|    _PyCStackRef c_ref1, c_ref2;
 1193|    170|    PyThreadState *tstate = _PyThreadState_GET();
 1194|    170|    _PyThreadState_PushCStackRef(tstate, &c_ref1);
 1195|    170|    _PyThreadState_PushCStackRef(tstate, &c_ref2);
 1196|       |
 1197|    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);
  ------------------
  |  |  921|    170|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    170|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    170|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1198|    170|    _PyType_LookupStackRefAndVersion(&PyType_Type, &_Py_ID(mro), &c_ref2.ref);
  ------------------
  |  |  921|    170|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    170|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    170|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1199|       |
 1200|    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
  |  |  ------------------
  ------------------
 1201|       |
 1202|    170|    _PyThreadState_PopCStackRef(tstate, &c_ref2);
 1203|    170|    _PyThreadState_PopCStackRef(tstate, &c_ref1);
 1204|    170|    return custom;
 1205|    170|}
typeobject.c:add_subclass:
 9539|  1.50k|{
 9540|  1.50k|    PyObject *key = PyLong_FromVoidPtr((void *) type);
 9541|  1.50k|    if (key == NULL)
  ------------------
  |  Branch (9541:9): [True: 0, False: 1.50k]
  ------------------
 9542|      0|        return -1;
 9543|       |
 9544|  1.50k|    PyObject *ref = PyWeakref_NewRef((PyObject *)type, NULL);
 9545|  1.50k|    if (ref == NULL) {
  ------------------
  |  Branch (9545:9): [True: 0, False: 1.50k]
  ------------------
 9546|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9547|      0|        return -1;
 9548|      0|    }
 9549|       |
 9550|       |    // Only get tp_subclasses after creating the key and value.
 9551|       |    // PyWeakref_NewRef() can trigger a garbage collection which can execute
 9552|       |    // arbitrary Python code and so modify base->tp_subclasses.
 9553|  1.50k|    PyObject *subclasses = lookup_tp_subclasses(base);
 9554|  1.50k|    if (subclasses == NULL) {
  ------------------
  |  Branch (9554:9): [True: 229, False: 1.27k]
  ------------------
 9555|    229|        subclasses = init_tp_subclasses(base);
 9556|    229|        if (subclasses == NULL) {
  ------------------
  |  Branch (9556:13): [True: 0, False: 229]
  ------------------
 9557|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9558|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9559|      0|            return -1;
 9560|      0|        }
 9561|    229|    }
 9562|  1.50k|    assert(PyDict_CheckExact(subclasses));
  ------------------
  |  Branch (9562:5): [True: 1.50k, False: 0]
  ------------------
 9563|       |
 9564|  1.50k|    int result = PyDict_SetItem(subclasses, key, ref);
 9565|  1.50k|    Py_DECREF(ref);
  ------------------
  |  |  430|  1.50k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9566|  1.50k|    Py_DECREF(key);
  ------------------
  |  |  430|  1.50k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9567|  1.50k|    return result;
 9568|  1.50k|}
typeobject.c:set_tp_mro:
  638|  1.31k|{
  639|  1.31k|    if (mro != NULL) {
  ------------------
  |  Branch (639:9): [True: 1.31k, False: 0]
  ------------------
  640|  1.31k|        assert(PyTuple_CheckExact(mro));
  ------------------
  |  Branch (640:9): [True: 1.31k, False: 0]
  ------------------
  641|  1.31k|        if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.31k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (641:13): [True: 414, False: 901]
  ------------------
  642|       |            // XXX tp_mro can probably be statically allocated for each
  643|       |            // static builtin type.
  644|    414|            assert(initial);
  ------------------
  |  Branch (644:13): [True: 414, False: 0]
  ------------------
  645|    414|            assert(self->tp_mro == NULL);
  ------------------
  |  Branch (645:13): [True: 414, False: 0]
  ------------------
  646|       |            /* Other checks are done via set_tp_bases. */
  647|    414|            _Py_SetImmortal(mro);
  648|    414|        }
  649|    901|        else {
  650|    901|            PyUnstable_Object_EnableDeferredRefcount(mro);
  651|    901|        }
  652|  1.31k|    }
  653|  1.31k|    if (!initial) {
  ------------------
  |  Branch (653:9): [True: 0, False: 1.31k]
  ------------------
  654|      0|        type_lock_prevent_release();
  655|      0|        types_stop_world();
  656|      0|    }
  657|  1.31k|    self->tp_mro = mro;
  658|  1.31k|    if (!initial) {
  ------------------
  |  Branch (658:9): [True: 0, False: 1.31k]
  ------------------
  659|      0|        types_start_world();
  660|      0|        type_lock_allow_release();
  661|      0|    }
  662|  1.31k|}
typeobject.c:type_get_module:
 1565|     19|{
 1566|     19|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  186|     19|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1567|     19|    return type_module(type);
 1568|     19|}
typeobject.c:type_set_module:
 1572|      5|{
 1573|      5|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  186|      5|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1574|      5|    if (!check_set_special_type_attr(type, value, "__module__"))
  ------------------
  |  Branch (1574:9): [True: 0, False: 5]
  ------------------
 1575|      0|        return -1;
 1576|       |
 1577|      5|    PyType_Modified(type);
 1578|       |
 1579|      5|    PyObject *dict = lookup_tp_dict(type);
 1580|      5|    if (PyDict_Pop(dict, &_Py_ID(__firstlineno__), NULL) < 0) {
  ------------------
  |  |  921|      5|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      5|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      5|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1580:9): [True: 0, False: 5]
  ------------------
 1581|      0|        return -1;
 1582|      0|    }
 1583|      5|    return PyDict_SetItem(dict, &_Py_ID(__module__), value);
  ------------------
  |  |  921|      5|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      5|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      5|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1584|      5|}
typeobject.c:type_abstractmethods:
 1628|     91|{
 1629|     91|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  186|     91|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1630|     91|    PyObject *res = NULL;
 1631|       |    /* type itself has an __abstractmethods__ descriptor (this). Don't return
 1632|       |       that. */
 1633|     91|    if (type == &PyType_Type) {
  ------------------
  |  Branch (1633:9): [True: 0, False: 91]
  ------------------
 1634|      0|        PyErr_SetObject(PyExc_AttributeError, &_Py_ID(__abstractmethods__));
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1635|      0|    }
 1636|     91|    else {
 1637|     91|        PyObject *dict = lookup_tp_dict(type);
 1638|     91|        if (PyDict_GetItemRef(dict, &_Py_ID(__abstractmethods__), &res) == 0) {
  ------------------
  |  |  921|     91|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     91|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     91|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1638:13): [True: 25, False: 66]
  ------------------
 1639|     25|            PyErr_SetObject(PyExc_AttributeError, &_Py_ID(__abstractmethods__));
  ------------------
  |  |  921|     25|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     25|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     25|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1640|     25|        }
 1641|     91|    }
 1642|     91|    return res;
 1643|     91|}
typeobject.c:type_set_abstractmethods:
 1647|     76|{
 1648|     76|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  186|     76|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1649|       |    /* __abstractmethods__ should only be set once on a type, in
 1650|       |       abc.ABCMeta.__new__, so this function doesn't do anything
 1651|       |       special to update subclasses.
 1652|       |    */
 1653|     76|    int abstract, res;
 1654|     76|    PyObject *dict = lookup_tp_dict(type);
 1655|     76|    if (value != NULL) {
  ------------------
  |  Branch (1655:9): [True: 76, False: 0]
  ------------------
 1656|     76|        abstract = PyObject_IsTrue(value);
 1657|     76|        if (abstract < 0)
  ------------------
  |  Branch (1657:13): [True: 0, False: 76]
  ------------------
 1658|      0|            return -1;
 1659|     76|        res = PyDict_SetItem(dict, &_Py_ID(__abstractmethods__), value);
  ------------------
  |  |  921|     76|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     76|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     76|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1660|     76|    }
 1661|      0|    else {
 1662|      0|        abstract = 0;
 1663|      0|        res = PyDict_Pop(dict, &_Py_ID(__abstractmethods__), NULL);
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1664|      0|        if (res == 0) {
  ------------------
  |  Branch (1664:13): [True: 0, False: 0]
  ------------------
 1665|      0|            PyErr_SetObject(PyExc_AttributeError, &_Py_ID(__abstractmethods__));
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1666|      0|            return -1;
 1667|      0|        }
 1668|      0|    }
 1669|     76|    if (res < 0) {
  ------------------
  |  Branch (1669:9): [True: 0, False: 76]
  ------------------
 1670|      0|        return -1;
 1671|      0|    }
 1672|       |
 1673|     76|    BEGIN_TYPE_LOCK();
 1674|     76|    _PyType_Modified_Unlocked(type);
 1675|     76|    types_stop_world();
 1676|     76|    if (abstract)
  ------------------
  |  Branch (1676:9): [True: 52, False: 24]
  ------------------
 1677|     52|        type_add_flags(type, Py_TPFLAGS_IS_ABSTRACT);
  ------------------
  |  |  540|     52|#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
  ------------------
 1678|     24|    else
 1679|     24|        type_clear_flags(type, Py_TPFLAGS_IS_ABSTRACT);
  ------------------
  |  |  540|     24|#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
  ------------------
 1680|     76|    types_start_world();
 1681|     76|    ASSERT_TYPE_LOCK_HELD();
 1682|     76|    END_TYPE_LOCK();
 1683|       |
 1684|     76|    return 0;
 1685|     76|}
typeobject.c:type_dict:
 1970|    386|{
 1971|    386|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  186|    386|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1972|    386|    PyObject *dict = lookup_tp_dict(type);
 1973|    386|    if (dict == NULL) {
  ------------------
  |  Branch (1973:9): [True: 0, False: 386]
  ------------------
 1974|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1975|      0|    }
 1976|    386|    return PyDictProxy_New(dict);
 1977|    386|}
typeobject.c:type_get_doc:
 1981|     23|{
 1982|     23|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  186|     23|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1983|     23|    PyObject *result;
 1984|     23|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE) && type->tp_doc != NULL) {
  ------------------
  |  |  503|     23|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1984:9): [True: 17, False: 6]
  |  Branch (1984:52): [True: 17, False: 0]
  ------------------
 1985|     17|        return _PyType_GetDocFromInternalDoc(type->tp_name, type->tp_doc);
 1986|     17|    }
 1987|      6|    PyObject *dict = lookup_tp_dict(type);
 1988|      6|    if (PyDict_GetItemRef(dict, &_Py_ID(__doc__), &result) == 0) {
  ------------------
  |  |  921|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1988:9): [True: 0, False: 6]
  ------------------
 1989|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1990|      0|    }
 1991|      6|    else if (result) {
  ------------------
  |  Branch (1991:14): [True: 6, False: 0]
  ------------------
 1992|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1993|      6|        if (descr_get) {
  ------------------
  |  Branch (1993:13): [True: 0, False: 6]
  ------------------
 1994|      0|            Py_SETREF(result, descr_get(result, NULL, (PyObject *)type));
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1995|      0|        }
 1996|      6|    }
 1997|      6|    return result;
 1998|     23|}
typeobject.c:type_set_annotations:
 2170|    113|{
 2171|    113|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  186|    113|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2172|    113|    if (_PyType_HasFeature(type, Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|    113|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (2172:9): [True: 0, False: 113]
  ------------------
 2173|      0|        PyErr_Format(PyExc_TypeError,
 2174|      0|                     "cannot set '__annotations__' attribute of immutable type '%s'",
 2175|      0|                     type->tp_name);
 2176|      0|        return -1;
 2177|      0|    }
 2178|       |
 2179|    113|    PyObject *dict = PyType_GetDict(type);
 2180|    113|    int result = PyDict_ContainsString(dict, "__annotations__");
 2181|    113|    if (result < 0) {
  ------------------
  |  Branch (2181:9): [True: 0, False: 113]
  ------------------
 2182|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2183|      0|        return -1;
 2184|      0|    }
 2185|    113|    if (result) {
  ------------------
  |  Branch (2185:9): [True: 0, False: 113]
  ------------------
 2186|       |        // If __annotations__ is currently in the dict, we update it,
 2187|      0|        if (value != NULL) {
  ------------------
  |  Branch (2187:13): [True: 0, False: 0]
  ------------------
 2188|      0|            result = PyDict_SetItem(dict, &_Py_ID(__annotations__), value);
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2189|      0|        } else {
 2190|      0|            result = PyDict_Pop(dict, &_Py_ID(__annotations__), NULL);
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2191|      0|            if (result == 0) {
  ------------------
  |  Branch (2191:17): [True: 0, False: 0]
  ------------------
 2192|       |                // Somebody else just deleted it?
 2193|      0|                PyErr_SetString(PyExc_AttributeError, "__annotations__");
 2194|      0|                Py_DECREF(dict);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2195|      0|                return -1;
 2196|      0|            }
 2197|      0|        }
 2198|      0|        if (result < 0) {
  ------------------
  |  Branch (2198:13): [True: 0, False: 0]
  ------------------
 2199|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2200|      0|            return -1;
 2201|      0|        }
 2202|       |        // Also clear __annotations_cache__ just in case.
 2203|      0|        result = PyDict_Pop(dict, &_Py_ID(__annotations_cache__), NULL);
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2204|      0|    }
 2205|    113|    else {
 2206|       |        // Else we update only __annotations_cache__.
 2207|    113|        if (value != NULL) {
  ------------------
  |  Branch (2207:13): [True: 113, False: 0]
  ------------------
 2208|       |            /* set */
 2209|    113|            result = PyDict_SetItem(dict, &_Py_ID(__annotations_cache__), value);
  ------------------
  |  |  921|    113|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    113|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    113|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2210|    113|        } else {
 2211|       |            /* delete */
 2212|      0|            result = PyDict_Pop(dict, &_Py_ID(__annotations_cache__), NULL);
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2213|      0|            if (result == 0) {
  ------------------
  |  Branch (2213:17): [True: 0, False: 0]
  ------------------
 2214|      0|                PyErr_SetString(PyExc_AttributeError, "__annotations__");
 2215|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2216|      0|                return -1;
 2217|      0|            }
 2218|      0|        }
 2219|    113|    }
 2220|    113|    if (result < 0) {
  ------------------
  |  Branch (2220:9): [True: 0, False: 113]
  ------------------
 2221|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2222|      0|        return -1;
 2223|    113|    } else {  // result can be 0 or 1
 2224|    113|        if (PyDict_Pop(dict, &_Py_ID(__annotate_func__), NULL) < 0) {
  ------------------
  |  |  921|    113|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    113|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    113|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2224:13): [True: 0, False: 113]
  ------------------
 2225|      0|            PyType_Modified(type);
 2226|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2227|      0|            return -1;
 2228|      0|        }
 2229|    113|        if (PyDict_Pop(dict, &_Py_ID(__annotate__), NULL) < 0) {
  ------------------
  |  |  921|    113|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    113|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    113|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2229:13): [True: 0, False: 113]
  ------------------
 2230|      0|            PyType_Modified(type);
 2231|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2232|      0|            return -1;
 2233|      0|        }
 2234|    113|    }
 2235|    113|    PyType_Modified(type);
 2236|    113|    Py_DECREF(dict);
  ------------------
  |  |  430|    113|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2237|    113|    return 0;
 2238|    113|}
typeobject.c:type_init:
 4046|    771|{
 4047|    771|    assert(args != NULL && PyTuple_Check(args));
  ------------------
  |  Branch (4047:5): [True: 771, False: 0]
  |  Branch (4047:5): [True: 771, False: 0]
  ------------------
 4048|    771|    assert(kwds == NULL || PyDict_Check(kwds));
  ------------------
  |  Branch (4048:5): [True: 742, False: 29]
  |  Branch (4048:5): [True: 29, False: 0]
  ------------------
 4049|       |
 4050|    771|    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 (4050:9): [True: 29, False: 742]
  |  Branch (4050:25): [True: 0, False: 29]
  ------------------
 4051|      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 (4051:9): [True: 0, False: 0]
  ------------------
 4052|      0|        PyErr_SetString(PyExc_TypeError,
 4053|      0|                        "type.__init__() takes no keyword arguments");
 4054|      0|        return -1;
 4055|      0|    }
 4056|       |
 4057|    771|    if ((PyTuple_GET_SIZE(args) != 1 && PyTuple_GET_SIZE(args) != 3)) {
  ------------------
  |  |   27|    771|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    771|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    771|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if ((PyTuple_GET_SIZE(args) != 1 && PyTuple_GET_SIZE(args) != 3)) {
  ------------------
  |  |   27|    771|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    771|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    771|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4057:10): [True: 771, False: 0]
  |  Branch (4057:41): [True: 0, False: 771]
  ------------------
 4058|      0|        PyErr_SetString(PyExc_TypeError,
 4059|      0|                        "type.__init__() takes 1 or 3 arguments");
 4060|      0|        return -1;
 4061|      0|    }
 4062|       |
 4063|    771|    return 0;
 4064|    771|}
typeobject.c:type_new:
 4996|    773|{
 4997|    773|    assert(args != NULL && PyTuple_Check(args));
  ------------------
  |  Branch (4997:5): [True: 773, False: 0]
  |  Branch (4997:5): [True: 773, False: 0]
  ------------------
 4998|    773|    assert(kwds == NULL || PyDict_Check(kwds));
  ------------------
  |  Branch (4998:5): [True: 771, False: 2]
  |  Branch (4998:5): [True: 2, False: 0]
  ------------------
 4999|       |
 5000|       |    /* Parse arguments: (name, bases, dict) */
 5001|    773|    PyObject *name, *bases, *orig_dict;
 5002|    773|    if (!PyArg_ParseTuple(args, "UO!O:type.__new__",
  ------------------
  |  Branch (5002:9): [True: 0, False: 773]
  ------------------
 5003|    773|                          &name,
 5004|    773|                          &PyTuple_Type, &bases,
 5005|    773|                          &orig_dict))
 5006|      0|    {
 5007|      0|        return NULL;
 5008|      0|    }
 5009|    773|    if (!PyAnyDict_Check(orig_dict)) {
  ------------------
  |  |   43|    773|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    773|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  1.54k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 773, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5010|      0|        PyErr_Format(PyExc_TypeError,
 5011|      0|                     "type.__new__() argument 3 must be dict or frozendict, not %T",
 5012|      0|                     orig_dict);
 5013|      0|        return NULL;
 5014|      0|    }
 5015|       |
 5016|    773|    type_new_ctx ctx = {
 5017|    773|        .metatype = metatype,
 5018|    773|        .args = args,
 5019|    773|        .kwds = kwds,
 5020|    773|        .orig_dict = orig_dict,
 5021|    773|        .name = name,
 5022|    773|        .bases = bases,
 5023|    773|        .base = NULL,
 5024|    773|        .slots = NULL,
 5025|    773|        .nslot = 0,
 5026|    773|        .add_dict = 0,
 5027|    773|        .add_weak = 0,
 5028|    773|        .may_add_dict = 0,
 5029|    773|        .may_add_weak = 0};
 5030|    773|    PyObject *type = NULL;
 5031|    773|    int res = type_new_get_bases(&ctx, &type);
 5032|    773|    if (res < 0) {
  ------------------
  |  Branch (5032:9): [True: 0, False: 773]
  ------------------
 5033|      0|        assert(PyErr_Occurred());
  ------------------
  |  Branch (5033:9): [True: 0, False: 0]
  ------------------
 5034|      0|        return NULL;
 5035|      0|    }
 5036|    773|    if (res == 1) {
  ------------------
  |  Branch (5036:9): [True: 2, False: 771]
  ------------------
 5037|      2|        assert(type != NULL);
  ------------------
  |  Branch (5037:9): [True: 2, False: 0]
  ------------------
 5038|      2|        return type;
 5039|      2|    }
 5040|    773|    assert(ctx.base != NULL);
  ------------------
  |  Branch (5040:5): [True: 771, False: 0]
  ------------------
 5041|    771|    assert(ctx.bases != NULL);
  ------------------
  |  Branch (5041:5): [True: 771, False: 0]
  ------------------
 5042|       |
 5043|    771|    type = type_new_impl(&ctx);
 5044|    771|    Py_DECREF(ctx.bases);
  ------------------
  |  |  430|    771|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    771|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    771|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5045|    771|    return type;
 5046|    771|}
typeobject.c:type_new_get_bases:
 4925|    773|{
 4926|    773|    Py_ssize_t nbases = PyTuple_GET_SIZE(ctx->bases);
  ------------------
  |  |   27|    773|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    773|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    773|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4927|    773|    if (nbases == 0) {
  ------------------
  |  Branch (4927:9): [True: 97, False: 676]
  ------------------
 4928|       |        // Adjust for empty tuple bases
 4929|     97|        ctx->base = &PyBaseObject_Type;
 4930|     97|        PyObject *new_bases = PyTuple_Pack(1, ctx->base);
 4931|     97|        if (new_bases == NULL) {
  ------------------
  |  Branch (4931:13): [True: 0, False: 97]
  ------------------
 4932|      0|            return -1;
 4933|      0|        }
 4934|     97|        ctx->bases = new_bases;
 4935|     97|        return 0;
 4936|     97|    }
 4937|       |
 4938|  1.54k|    for (Py_ssize_t i = 0; i < nbases; i++) {
  ------------------
  |  Branch (4938:28): [True: 869, False: 676]
  ------------------
 4939|    869|        PyObject *base = PyTuple_GET_ITEM(ctx->bases, i);
  ------------------
  |  |   29|    869|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    869|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    869|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4939:26): [True: 869, False: 0]
  ------------------
 4940|    869|        if (PyType_Check(base)) {
  ------------------
  |  |  766|    869|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    869|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    869|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 869, False: 0]
  |  |  ------------------
  ------------------
 4941|    869|            continue;
 4942|    869|        }
 4943|      0|        int rc = PyObject_HasAttrWithError(base, &_Py_ID(__mro_entries__));
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4944|      0|        if (rc < 0) {
  ------------------
  |  Branch (4944:13): [True: 0, False: 0]
  ------------------
 4945|      0|            return -1;
 4946|      0|        }
 4947|      0|        if (rc) {
  ------------------
  |  Branch (4947:13): [True: 0, False: 0]
  ------------------
 4948|      0|            PyErr_SetString(PyExc_TypeError,
 4949|      0|                            "type() doesn't support MRO entry resolution; "
 4950|      0|                            "use types.new_class()");
 4951|      0|            return -1;
 4952|      0|        }
 4953|      0|    }
 4954|       |
 4955|       |    // Search the bases for the proper metatype to deal with this
 4956|    676|    PyTypeObject *winner;
 4957|    676|    winner = _PyType_CalculateMetaclass(ctx->metatype, ctx->bases);
 4958|    676|    if (winner == NULL) {
  ------------------
  |  Branch (4958:9): [True: 0, False: 676]
  ------------------
 4959|      0|        return -1;
 4960|      0|    }
 4961|       |
 4962|    676|    if (winner != ctx->metatype) {
  ------------------
  |  Branch (4962:9): [True: 2, False: 674]
  ------------------
 4963|      2|        if (winner->tp_new != type_new) {
  ------------------
  |  Branch (4963:13): [True: 2, False: 0]
  ------------------
 4964|       |            /* Check if tp_new is NULL (cannot instantiate this type) */
 4965|      2|            if (winner->tp_new == NULL) {
  ------------------
  |  Branch (4965:17): [True: 0, False: 2]
  ------------------
 4966|      0|                PyErr_Format(PyExc_TypeError,
 4967|      0|                             "cannot create '%.400s' instances",
 4968|      0|                             winner->tp_name);
 4969|      0|                return -1;
 4970|      0|            }
 4971|       |            /* Pass it to the winner */
 4972|      2|            *type = winner->tp_new(winner, ctx->args, ctx->kwds);
 4973|      2|            if (*type == NULL) {
  ------------------
  |  Branch (4973:17): [True: 0, False: 2]
  ------------------
 4974|      0|                return -1;
 4975|      0|            }
 4976|      2|            return 1;
 4977|      2|        }
 4978|       |
 4979|      0|        ctx->metatype = winner;
 4980|      0|    }
 4981|       |
 4982|       |    /* Calculate best base, and check that all bases are type objects */
 4983|    674|    PyTypeObject *base = find_best_base(ctx->bases);
 4984|    674|    if (base == NULL) {
  ------------------
  |  Branch (4984:9): [True: 0, False: 674]
  ------------------
 4985|      0|        return -1;
 4986|      0|    }
 4987|       |
 4988|    674|    ctx->base = base;
 4989|    674|    ctx->bases = Py_NewRef(ctx->bases);
  ------------------
  |  |  550|    674|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    674|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    674|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4990|    674|    return 0;
 4991|    674|}
typeobject.c:type_new_impl:
 4872|    771|{
 4873|    771|    PyTypeObject *type = type_new_init(ctx);
 4874|    771|    if (type == NULL) {
  ------------------
  |  Branch (4874:9): [True: 0, False: 771]
  ------------------
 4875|      0|        return NULL;
 4876|      0|    }
 4877|       |
 4878|    771|    if (type_new_set_attrs(ctx, type) < 0) {
  ------------------
  |  Branch (4878:9): [True: 0, False: 771]
  ------------------
 4879|      0|        goto error;
 4880|      0|    }
 4881|       |
 4882|       |    /* Initialize the rest */
 4883|    771|    if (PyType_Ready(type) < 0) {
  ------------------
  |  Branch (4883:9): [True: 0, False: 771]
  ------------------
 4884|      0|        goto error;
 4885|      0|    }
 4886|       |
 4887|       |    // Put the proper slots in place
 4888|    771|    fixup_slot_dispatchers(type);
 4889|       |
 4890|    771|    if (!_PyDict_HasOnlyStringKeys(type->tp_dict)) {
  ------------------
  |  Branch (4890:9): [True: 0, False: 771]
  ------------------
 4891|      0|        if (PyErr_WarnFormat(
  ------------------
  |  Branch (4891:13): [True: 0, False: 0]
  ------------------
 4892|      0|                PyExc_RuntimeWarning,
 4893|      0|                1,
 4894|      0|                "non-string key in the __dict__ of class %.200s",
 4895|      0|                type->tp_name) == -1)
 4896|      0|        {
 4897|      0|            goto error;
 4898|      0|        }
 4899|      0|    }
 4900|       |
 4901|    771|    if (type_new_set_names(type) < 0) {
  ------------------
  |  Branch (4901:9): [True: 0, False: 771]
  ------------------
 4902|      0|        goto error;
 4903|      0|    }
 4904|       |
 4905|    771|    if (type_new_init_subclass(type, ctx->kwds) < 0) {
  ------------------
  |  Branch (4905:9): [True: 0, False: 771]
  ------------------
 4906|      0|        goto error;
 4907|      0|    }
 4908|       |
 4909|    771|    assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (4909:5): [True: 771, False: 0]
  ------------------
 4910|       |#if defined(Py_GIL_DISABLED) && defined(Py_DEBUG) && SIZEOF_VOID_P > 4
 4911|       |    // After this point, other threads can potentally use this type.
 4912|       |    ((PyObject*)type)->ob_flags |= _Py_TYPE_REVEALED_FLAG;
 4913|       |#endif
 4914|       |
 4915|    771|    return (PyObject *)type;
 4916|       |
 4917|      0|error:
 4918|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4919|       |    return NULL;
 4920|    771|}
typeobject.c:type_new_init:
 4829|    771|{
 4830|    771|    PyObject *dict = _PyDict_CopyAsDict(ctx->orig_dict);
 4831|    771|    if (dict == NULL) {
  ------------------
  |  Branch (4831:9): [True: 0, False: 771]
  ------------------
 4832|      0|        goto error;
 4833|      0|    }
 4834|       |
 4835|    771|    if (type_new_get_slots(ctx, dict) < 0) {
  ------------------
  |  Branch (4835:9): [True: 0, False: 771]
  ------------------
 4836|      0|        goto error;
 4837|      0|    }
 4838|    771|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (4838:5): [True: 771, False: 0]
  ------------------
 4839|       |
 4840|    771|    if (type_new_slots(ctx, dict) < 0) {
  ------------------
  |  Branch (4840:9): [True: 0, False: 771]
  ------------------
 4841|      0|        goto error;
 4842|      0|    }
 4843|       |
 4844|    771|    PyTypeObject *type = type_new_alloc(ctx);
 4845|    771|    if (type == NULL) {
  ------------------
  |  Branch (4845:9): [True: 0, False: 771]
  ------------------
 4846|      0|        goto error;
 4847|      0|    }
 4848|       |
 4849|    771|    set_tp_dict(type, dict);
 4850|       |
 4851|    771|    PyHeapTypeObject *et = (PyHeapTypeObject*)type;
 4852|    771|    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 (4852:9): [True: 82, False: 689]
  ------------------
 4853|     13|        et->ht_slots = ctx->slots;
 4854|     13|        ctx->slots = NULL;
 4855|     13|    }
 4856|    758|    else {
 4857|    758|        et->ht_slots = NULL;
 4858|    758|        Py_CLEAR(ctx->slots);
  ------------------
  |  |  484|    758|    do { \
  |  |  485|    758|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    758|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    758|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    758|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    758|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 69, False: 689]
  |  |  ------------------
  |  |  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|    758|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 758]
  |  |  ------------------
  ------------------
 4859|    758|    }
 4860|       |
 4861|    771|    return type;
 4862|       |
 4863|      0|error:
 4864|      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]
  |  |  ------------------
  ------------------
 4865|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4866|       |    return NULL;
 4867|    771|}
typeobject.c:type_new_get_slots:
 4798|    771|{
 4799|    771|    PyObject *slots = PyDict_GetItemWithError(dict, &_Py_ID(__slots__));
  ------------------
  |  |  921|    771|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    771|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    771|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4800|    771|    if (slots == NULL) {
  ------------------
  |  Branch (4800:9): [True: 689, False: 82]
  ------------------
 4801|    689|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4801:13): [True: 0, False: 689]
  ------------------
 4802|      0|            return -1;
 4803|      0|        }
 4804|    689|        ctx->slots = NULL;
 4805|    689|        ctx->nslot = 0;
 4806|    689|        return 0;
 4807|    689|    }
 4808|       |
 4809|       |    // Make it into a tuple
 4810|     82|    PyObject *new_slots;
 4811|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4812|      0|        new_slots = PyTuple_Pack(1, slots);
 4813|      0|    }
 4814|     82|    else {
 4815|     82|        new_slots = PySequence_Tuple(slots);
 4816|     82|    }
 4817|     82|    if (new_slots == NULL) {
  ------------------
  |  Branch (4817:9): [True: 0, False: 82]
  ------------------
 4818|      0|        return -1;
 4819|      0|    }
 4820|     82|    assert(PyTuple_CheckExact(new_slots));
  ------------------
  |  Branch (4820:5): [True: 82, False: 0]
  ------------------
 4821|     82|    ctx->slots = new_slots;
 4822|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4823|     82|    return 0;
 4824|     82|}
typeobject.c:type_new_slots:
 4311|    771|{
 4312|       |    // Check for a __slots__ sequence variable in dict, and count it
 4313|    771|    ctx->add_dict = 0;
 4314|    771|    ctx->add_weak = 0;
 4315|    771|    ctx->may_add_dict = (ctx->base->tp_dictoffset == 0);
 4316|    771|    ctx->may_add_weak = (ctx->base->tp_weaklistoffset == 0);
 4317|       |
 4318|    771|    if (ctx->slots == NULL) {
  ------------------
  |  Branch (4318:9): [True: 689, False: 82]
  ------------------
 4319|    689|        if (ctx->may_add_dict) {
  ------------------
  |  Branch (4319:13): [True: 156, False: 533]
  ------------------
 4320|    156|            ctx->add_dict++;
 4321|    156|        }
 4322|    689|        if (ctx->may_add_weak && ctx->base->tp_itemsize == 0) {
  ------------------
  |  Branch (4322:13): [True: 200, False: 489]
  |  Branch (4322:34): [True: 192, False: 8]
  ------------------
 4323|    192|            ctx->add_weak++;
 4324|    192|        }
 4325|    689|    }
 4326|     82|    else {
 4327|       |        /* Have slots */
 4328|     82|        if (type_new_slots_impl(ctx, dict) < 0) {
  ------------------
  |  Branch (4328:13): [True: 0, False: 82]
  ------------------
 4329|      0|            return -1;
 4330|      0|        }
 4331|     82|    }
 4332|    771|    return 0;
 4333|    771|}
typeobject.c:type_new_slots_impl:
 4289|     82|{
 4290|     82|    if (type_new_visit_slots(ctx) < 0) {
  ------------------
  |  Branch (4290:9): [True: 0, False: 82]
  ------------------
 4291|      0|        return -1;
 4292|      0|    }
 4293|       |
 4294|     82|    PyObject *new_slots = type_new_copy_slots(ctx, dict);
 4295|     82|    if (new_slots == NULL) {
  ------------------
  |  Branch (4295:9): [True: 0, False: 82]
  ------------------
 4296|      0|        return -1;
 4297|      0|    }
 4298|     82|    assert(PyTuple_CheckExact(new_slots));
  ------------------
  |  Branch (4298:5): [True: 82, False: 0]
  ------------------
 4299|       |
 4300|     82|    Py_XSETREF(ctx->slots, new_slots);
  ------------------
  |  |  376|     82|    do { \
  |  |  377|     82|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     82|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|     82|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     82|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|     82|        *_tmp_dst_ptr = (src); \
  |  |  380|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|     82|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 82]
  |  |  ------------------
  ------------------
 4301|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4302|       |
 4303|       |    /* Secondary bases may provide weakrefs or dict */
 4304|     82|    type_new_slots_bases(ctx);
 4305|     82|    return 0;
 4306|     82|}
typeobject.c:type_new_visit_slots:
 4143|     82|{
 4144|     82|    PyObject *slots = ctx->slots;
 4145|     82|    Py_ssize_t nslot = ctx->nslot;
 4146|    123|    for (Py_ssize_t i = 0; i < nslot; i++) {
  ------------------
  |  Branch (4146:28): [True: 41, False: 82]
  ------------------
 4147|     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 (4147:26): [True: 41, False: 0]
  ------------------
 4148|     41|        if (!valid_identifier(name)) {
  ------------------
  |  Branch (4148:13): [True: 0, False: 41]
  ------------------
 4149|      0|            return -1;
 4150|      0|        }
 4151|     41|        assert(PyUnicode_Check(name));
  ------------------
  |  Branch (4151:9): [True: 41, False: 0]
  ------------------
 4152|     41|        if (_PyUnicode_Equal(name, &_Py_ID(__dict__))) {
  ------------------
  |  |  921|     41|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     41|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     41|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4152:13): [True: 1, False: 40]
  ------------------
 4153|      1|            if (!ctx->may_add_dict || ctx->add_dict != 0) {
  ------------------
  |  Branch (4153:17): [True: 0, False: 1]
  |  Branch (4153:39): [True: 0, False: 1]
  ------------------
 4154|      0|                PyErr_SetString(PyExc_TypeError,
 4155|      0|                    "__dict__ slot disallowed: "
 4156|      0|                    "we already got one");
 4157|      0|                return -1;
 4158|      0|            }
 4159|      1|            ctx->add_dict++;
 4160|      1|        }
 4161|     41|        if (_PyUnicode_Equal(name, &_Py_ID(__weakref__))) {
  ------------------
  |  |  921|     41|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     41|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     41|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4161:13): [True: 4, False: 37]
  ------------------
 4162|      4|            if (!ctx->may_add_weak || ctx->add_weak != 0) {
  ------------------
  |  Branch (4162:17): [True: 0, False: 4]
  |  Branch (4162:39): [True: 0, False: 4]
  ------------------
 4163|      0|                PyErr_SetString(PyExc_TypeError,
 4164|      0|                    "__weakref__ slot disallowed: "
 4165|      0|                    "we already got one");
 4166|      0|                return -1;
 4167|      0|            }
 4168|      4|            ctx->add_weak++;
 4169|      4|        }
 4170|     41|    }
 4171|     82|    return 0;
 4172|     82|}
typeobject.c:valid_identifier:
 4029|     41|{
 4030|     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 (4030:9): [True: 0, False: 41]
  ------------------
 4031|      0|        PyErr_Format(PyExc_TypeError,
 4032|      0|                     "__slots__ items must be strings, not '%.200s'",
 4033|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4034|      0|        return 0;
 4035|      0|    }
 4036|     41|    if (!PyUnicode_IsIdentifier(s)) {
  ------------------
  |  Branch (4036:9): [True: 0, False: 41]
  ------------------
 4037|      0|        PyErr_SetString(PyExc_TypeError,
 4038|      0|                        "__slots__ must be identifiers");
 4039|      0|        return 0;
 4040|      0|    }
 4041|     41|    return 1;
 4042|     41|}
typeobject.c:type_new_copy_slots:
 4181|     82|{
 4182|     82|    PyObject *slots = ctx->slots;
 4183|     82|    Py_ssize_t nslot = ctx->nslot;
 4184|       |
 4185|     82|    Py_ssize_t new_nslot = nslot - ctx->add_dict - ctx->add_weak;
 4186|     82|    PyObject *new_slots = PyList_New(new_nslot);
 4187|     82|    if (new_slots == NULL) {
  ------------------
  |  Branch (4187:9): [True: 0, False: 82]
  ------------------
 4188|      0|        return NULL;
 4189|      0|    }
 4190|       |
 4191|     82|    Py_ssize_t j = 0;
 4192|    123|    for (Py_ssize_t i = 0; i < nslot; i++) {
  ------------------
  |  Branch (4192:28): [True: 41, False: 82]
  ------------------
 4193|     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 (4193:26): [True: 41, False: 0]
  ------------------
 4194|     41|        if ((ctx->add_dict && _PyUnicode_Equal(slot, &_Py_ID(__dict__))) ||
  ------------------
  |  |  921|      7|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      7|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      7|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4194:14): [True: 7, False: 34]
  |  Branch (4194:31): [True: 1, False: 6]
  ------------------
 4195|     40|            (ctx->add_weak && _PyUnicode_Equal(slot, &_Py_ID(__weakref__))))
  ------------------
  |  |  921|     12|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     12|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     12|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4195:14): [True: 12, False: 28]
  |  Branch (4195:31): [True: 4, False: 8]
  ------------------
 4196|      5|        {
 4197|      5|            continue;
 4198|      5|        }
 4199|       |
 4200|     36|        slot =_Py_Mangle(ctx->name, slot);
 4201|     36|        if (!slot) {
  ------------------
  |  Branch (4201:13): [True: 0, False: 36]
  ------------------
 4202|      0|            goto error;
 4203|      0|        }
 4204|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4205|       |
 4206|     36|        int r = PyDict_Contains(dict, slot);
 4207|     36|        if (r < 0) {
  ------------------
  |  Branch (4207:13): [True: 0, False: 36]
  ------------------
 4208|      0|            goto error;
 4209|      0|        }
 4210|     36|        if (r > 0) {
  ------------------
  |  Branch (4210:13): [True: 0, False: 36]
  ------------------
 4211|       |            /* CPython inserts these names (when needed)
 4212|       |               into the namespace when creating a class.  They will be deleted
 4213|       |               below so won't act as class variables. */
 4214|      0|            if (!_PyUnicode_Equal(slot, &_Py_ID(__qualname__)) &&
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4214:17): [True: 0, False: 0]
  ------------------
 4215|      0|                !_PyUnicode_Equal(slot, &_Py_ID(__classcell__)) &&
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4215:17): [True: 0, False: 0]
  ------------------
 4216|      0|                !_PyUnicode_Equal(slot, &_Py_ID(__classdictcell__)))
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4216:17): [True: 0, False: 0]
  ------------------
 4217|      0|            {
 4218|      0|                PyErr_Format(PyExc_ValueError,
 4219|      0|                             "%R in __slots__ conflicts with class variable",
 4220|      0|                             slot);
 4221|      0|                goto error;
 4222|      0|            }
 4223|      0|        }
 4224|       |
 4225|     36|        j++;
 4226|     36|    }
 4227|     82|    assert(j == new_nslot);
  ------------------
  |  Branch (4227:5): [True: 82, False: 0]
  ------------------
 4228|       |
 4229|     82|    if (PyList_Sort(new_slots) == -1) {
  ------------------
  |  Branch (4229:9): [True: 0, False: 82]
  ------------------
 4230|      0|        goto error;
 4231|      0|    }
 4232|       |
 4233|     82|    PyObject *tuple = PyList_AsTuple(new_slots);
 4234|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4235|     82|    if (tuple == NULL) {
  ------------------
  |  Branch (4235:9): [True: 0, False: 82]
  ------------------
 4236|      0|        return NULL;
 4237|      0|    }
 4238|       |
 4239|     82|    assert(PyTuple_GET_SIZE(tuple) == new_nslot);
  ------------------
  |  Branch (4239:5): [True: 82, False: 0]
  ------------------
 4240|     82|    return tuple;
 4241|       |
 4242|      0|error:
 4243|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4244|       |    return NULL;
 4245|     82|}
typeobject.c:type_new_slots_bases:
 4250|     82|{
 4251|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4252|     82|    if (nbases > 1 &&
  ------------------
  |  Branch (4252:9): [True: 10, False: 72]
  ------------------
 4253|     10|        ((ctx->may_add_dict && ctx->add_dict == 0) ||
  ------------------
  |  Branch (4253:11): [True: 10, False: 0]
  |  Branch (4253:32): [True: 10, False: 0]
  ------------------
 4254|      0|         (ctx->may_add_weak && ctx->add_weak == 0)))
  ------------------
  |  Branch (4254:11): [True: 0, False: 0]
  |  Branch (4254:32): [True: 0, False: 0]
  ------------------
 4255|     10|    {
 4256|     32|        for (Py_ssize_t i = 0; i < nbases; i++) {
  ------------------
  |  Branch (4256:32): [True: 22, False: 10]
  ------------------
 4257|     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 (4257:29): [True: 22, False: 0]
  ------------------
 4258|     22|            if (obj == (PyObject *)ctx->base) {
  ------------------
  |  Branch (4258:17): [True: 10, False: 12]
  ------------------
 4259|       |                /* Skip primary base */
 4260|     10|                continue;
 4261|     10|            }
 4262|     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 (4262:34): [True: 12, False: 0]
  ------------------
 4263|       |
 4264|     12|            if (ctx->may_add_dict && ctx->add_dict == 0 &&
  ------------------
  |  Branch (4264:17): [True: 12, False: 0]
  |  Branch (4264:38): [True: 12, False: 0]
  ------------------
 4265|     12|                base->tp_dictoffset != 0)
  ------------------
  |  Branch (4265:17): [True: 0, False: 12]
  ------------------
 4266|      0|            {
 4267|      0|                ctx->add_dict++;
 4268|      0|            }
 4269|     12|            if (ctx->may_add_weak && ctx->add_weak == 0 &&
  ------------------
  |  Branch (4269:17): [True: 12, False: 0]
  |  Branch (4269:38): [True: 12, False: 0]
  ------------------
 4270|     12|                base->tp_weaklistoffset != 0)
  ------------------
  |  Branch (4270:17): [True: 0, False: 12]
  ------------------
 4271|      0|            {
 4272|      0|                ctx->add_weak++;
 4273|      0|            }
 4274|     12|            if (ctx->may_add_dict && ctx->add_dict == 0) {
  ------------------
  |  Branch (4274:17): [True: 12, False: 0]
  |  Branch (4274:38): [True: 12, False: 0]
  ------------------
 4275|     12|                continue;
 4276|     12|            }
 4277|      0|            if (ctx->may_add_weak && ctx->add_weak == 0) {
  ------------------
  |  Branch (4277:17): [True: 0, False: 0]
  |  Branch (4277:38): [True: 0, False: 0]
  ------------------
 4278|      0|                continue;
 4279|      0|            }
 4280|       |            /* Nothing more to check */
 4281|      0|            break;
 4282|      0|        }
 4283|     10|    }
 4284|     82|}
typeobject.c:type_new_alloc:
 4338|    771|{
 4339|    771|    PyTypeObject *metatype = ctx->metatype;
 4340|    771|    PyTypeObject *type;
 4341|       |
 4342|       |    // Allocate the type object
 4343|    771|    type = (PyTypeObject *)metatype->tp_alloc(metatype, ctx->nslot);
 4344|    771|    if (type == NULL) {
  ------------------
  |  Branch (4344:9): [True: 0, False: 771]
  ------------------
 4345|      0|        return NULL;
 4346|      0|    }
 4347|    771|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 4348|       |
 4349|       |    // Initialize tp_flags.
 4350|       |    // All heap types need GC, since we can create a reference cycle by storing
 4351|       |    // an instance on one of its parents.
 4352|    771|    type_set_flags(type, Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE |
  ------------------
  |  |  560|    771|#define Py_TPFLAGS_DEFAULT  ( \
  |  |  561|    771|                 Py_TPFLAGS_HAVE_STACKLESS_EXTENSION | \
  |  |  ------------------
  |  |  |  |  530|    771|#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION 0
  |  |  ------------------
  |  |  562|    771|                0)
  ------------------
                  type_set_flags(type, Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE |
  ------------------
  |  |  503|    771|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
 4353|    771|                   Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC);
  ------------------
  |  |  506|    771|#define Py_TPFLAGS_BASETYPE (1UL << 10)
  ------------------
                                 Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC);
  ------------------
  |  |  524|    771|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 4354|       |
 4355|       |    // Initialize essential fields
 4356|    771|    type->tp_as_async = &et->as_async;
 4357|    771|    type->tp_as_number = &et->as_number;
 4358|    771|    type->tp_as_sequence = &et->as_sequence;
 4359|    771|    type->tp_as_mapping = &et->as_mapping;
 4360|    771|    type->tp_as_buffer = &et->as_buffer;
 4361|       |
 4362|    771|    set_tp_bases(type, Py_NewRef(ctx->bases), 1);
  ------------------
  |  |  550|    771|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    771|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    771|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4363|    771|    type->tp_base = (PyTypeObject *)Py_NewRef(ctx->base);
  ------------------
  |  |  550|    771|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    771|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    771|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4364|       |
 4365|    771|    type->tp_dealloc = subtype_dealloc;
 4366|       |    /* Always override allocation strategy to use regular heap */
 4367|    771|    type->tp_alloc = PyType_GenericAlloc;
 4368|    771|    type->tp_free = PyObject_GC_Del;
 4369|       |
 4370|    771|    type->tp_traverse = subtype_traverse;
 4371|    771|    type->tp_clear = subtype_clear;
 4372|       |
 4373|    771|    et->ht_name = Py_NewRef(ctx->name);
  ------------------
  |  |  550|    771|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    771|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    771|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4374|    771|    et->ht_module = NULL;
 4375|    771|    et->_ht_tpname = NULL;
 4376|    771|    et->ht_token = NULL;
 4377|       |
 4378|       |#ifdef Py_GIL_DISABLED
 4379|       |    et->unique_id = _PyObject_AssignUniqueId((PyObject *)et);
 4380|       |#endif
 4381|       |
 4382|    771|    return type;
 4383|    771|}
typeobject.c:subtype_traverse:
 2538|  14.1k|{
 2539|  14.1k|    PyTypeObject *type, *base;
 2540|  14.1k|    traverseproc basetraverse;
 2541|       |
 2542|       |    /* Find the nearest base with a different tp_traverse,
 2543|       |       and traverse slots while we're at it */
 2544|  14.1k|    type = Py_TYPE(self);
  ------------------
  |  |  213|  14.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  14.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2545|  14.1k|    base = type;
 2546|  33.6k|    while ((basetraverse = base->tp_traverse) == subtype_traverse) {
  ------------------
  |  Branch (2546:12): [True: 19.4k, False: 14.1k]
  ------------------
 2547|  19.4k|        if (Py_SIZE(base)) {
  ------------------
  |  |  214|  19.4k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  19.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:23): [True: 88, False: 19.3k]
  |  |  ------------------
  ------------------
 2548|     88|            int err = traverse_slots(base, self, visit, arg);
 2549|     88|            if (err)
  ------------------
  |  Branch (2549:17): [True: 0, False: 88]
  ------------------
 2550|      0|                return err;
 2551|     88|        }
 2552|  19.4k|        base = base->tp_base;
 2553|  19.4k|        assert(base);
  ------------------
  |  Branch (2553:9): [True: 19.4k, False: 0]
  ------------------
 2554|  19.4k|    }
 2555|       |
 2556|  14.1k|    if (type->tp_dictoffset != base->tp_dictoffset) {
  ------------------
  |  Branch (2556:9): [True: 12.4k, False: 1.71k]
  ------------------
 2557|  12.4k|        assert(base->tp_dictoffset == 0);
  ------------------
  |  Branch (2557:9): [True: 12.4k, False: 0]
  ------------------
 2558|  12.4k|        if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|  12.4k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2558:13): [True: 12.4k, False: 0]
  ------------------
 2559|  12.4k|            assert(type->tp_dictoffset == -1);
  ------------------
  |  Branch (2559:13): [True: 12.4k, False: 0]
  ------------------
 2560|  12.4k|            int err = PyObject_VisitManagedDict(self, visit, arg);
 2561|  12.4k|            if (err) {
  ------------------
  |  Branch (2561:17): [True: 0, False: 12.4k]
  ------------------
 2562|      0|                return err;
 2563|      0|            }
 2564|  12.4k|        }
 2565|      0|        else {
 2566|      0|            PyObject **dictptr = _PyObject_ComputedDictPointer(self);
 2567|      0|            if (dictptr && *dictptr) {
  ------------------
  |  Branch (2567:17): [True: 0, False: 0]
  |  Branch (2567:28): [True: 0, False: 0]
  ------------------
 2568|      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]
  |  |  ------------------
  ------------------
 2569|      0|            }
 2570|      0|        }
 2571|  12.4k|    }
 2572|       |
 2573|  14.1k|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE
  ------------------
  |  |  503|  28.3k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2573:9): [True: 14.1k, False: 0]
  ------------------
 2574|  14.1k|        && (!basetraverse || !(base->tp_flags & Py_TPFLAGS_HEAPTYPE))) {
  ------------------
  |  |  503|  4.35k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2574:13): [True: 9.83k, False: 4.35k]
  |  Branch (2574:30): [True: 3.78k, False: 576]
  ------------------
 2575|       |        /* For a heaptype, the instances count as references
 2576|       |           to the type.          Traverse the type so the collector
 2577|       |           can find cycles involving this link.
 2578|       |           Skip this visit if basetraverse belongs to a heap type: in that
 2579|       |           case, basetraverse will visit the type when we call it later.
 2580|       |           */
 2581|  13.6k|        Py_VISIT(type);
  ------------------
  |  |  194|  13.6k|    do {                                                                \
  |  |  195|  13.6k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 13.6k, False: 0]
  |  |  ------------------
  |  |  196|  13.6k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  13.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  13.6k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 13.6k]
  |  |  ------------------
  |  |  198|  13.6k|                return vret;                                            \
  |  |  199|  13.6k|        }                                                               \
  |  |  200|  13.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 13.6k]
  |  |  ------------------
  ------------------
 2582|  13.6k|    }
 2583|       |
 2584|  14.1k|    if (basetraverse)
  ------------------
  |  Branch (2584:9): [True: 4.35k, False: 9.83k]
  ------------------
 2585|  4.35k|        return basetraverse(self, visit, arg);
 2586|  9.83k|    return 0;
 2587|  14.1k|}
typeobject.c:traverse_slots:
 2516|     88|{
 2517|     88|    Py_ssize_t i, n;
 2518|     88|    PyMemberDef *mp;
 2519|       |
 2520|     88|    n = Py_SIZE(type);
  ------------------
  |  |  214|     88|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2521|     88|    mp = _PyHeapType_GET_MEMBERS((PyHeapTypeObject *)type);
 2522|    444|    for (i = 0; i < n; i++, mp++) {
  ------------------
  |  Branch (2522:17): [True: 356, False: 88]
  ------------------
 2523|    356|        if (mp->type == Py_T_OBJECT_EX) {
  ------------------
  |  |   75|    356|#define Py_T_OBJECT_EX 16
  ------------------
  |  Branch (2523:13): [True: 356, False: 0]
  ------------------
 2524|    356|            void *addr = _PyMember_GetOffset(self, mp);
 2525|    356|            PyObject *obj = *(PyObject **)addr;
 2526|    356|            if (obj != NULL) {
  ------------------
  |  Branch (2526:17): [True: 356, False: 0]
  ------------------
 2527|    356|                int err = visit(obj, arg);
 2528|    356|                if (err)
  ------------------
  |  Branch (2528:21): [True: 0, False: 356]
  ------------------
 2529|      0|                    return err;
 2530|    356|            }
 2531|    356|        }
 2532|    356|    }
 2533|     88|    return 0;
 2534|     88|}
typeobject.c:set_tp_dict:
  540|  1.31k|{
  541|  1.31k|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.31k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (541:9): [True: 414, False: 901]
  ------------------
  542|    414|        PyInterpreterState *interp = _PyInterpreterState_GET();
  543|    414|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  544|    414|        assert(state != NULL);
  ------------------
  |  Branch (544:9): [True: 414, False: 0]
  ------------------
  545|    414|        state->tp_dict = dict;
  546|    414|        return;
  547|    414|    }
  548|    901|    self->tp_dict = dict;
  549|    901|}
typeobject.c:type_new_set_attrs:
 4733|    771|{
 4734|    771|    if (type_new_set_name(ctx, type) < 0) {
  ------------------
  |  Branch (4734:9): [True: 0, False: 771]
  ------------------
 4735|      0|        return -1;
 4736|      0|    }
 4737|       |
 4738|    771|    PyObject *dict = lookup_tp_dict(type);
 4739|    771|    assert(dict);
  ------------------
  |  Branch (4739:5): [True: 771, False: 0]
  ------------------
 4740|       |
 4741|    771|    if (type_new_set_module(dict) < 0) {
  ------------------
  |  Branch (4741:9): [True: 0, False: 771]
  ------------------
 4742|      0|        return -1;
 4743|      0|    }
 4744|       |
 4745|    771|    if (type_new_set_ht_name(type, dict) < 0) {
  ------------------
  |  Branch (4745:9): [True: 0, False: 771]
  ------------------
 4746|      0|        return -1;
 4747|      0|    }
 4748|       |
 4749|    771|    if (type_new_set_doc(type, dict) < 0) {
  ------------------
  |  Branch (4749:9): [True: 0, False: 771]
  ------------------
 4750|      0|        return -1;
 4751|      0|    }
 4752|       |
 4753|       |    /* Special-case __new__: if it's a plain function,
 4754|       |       make it a static function */
 4755|    771|    if (type_new_staticmethod(dict, &_Py_ID(__new__)) < 0) {
  ------------------
  |  |  921|    771|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    771|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    771|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4755:9): [True: 0, False: 771]
  ------------------
 4756|      0|        return -1;
 4757|      0|    }
 4758|       |
 4759|       |    /* Special-case __init_subclass__ and __class_getitem__:
 4760|       |       if they are plain functions, make them classmethods */
 4761|    771|    if (type_new_classmethod(dict, &_Py_ID(__init_subclass__)) < 0) {
  ------------------
  |  |  921|    771|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    771|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    771|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4761:9): [True: 0, False: 771]
  ------------------
 4762|      0|        return -1;
 4763|      0|    }
 4764|    771|    if (type_new_classmethod(dict, &_Py_ID(__class_getitem__)) < 0) {
  ------------------
  |  |  921|    771|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    771|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    771|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4764:9): [True: 0, False: 771]
  ------------------
 4765|      0|        return -1;
 4766|      0|    }
 4767|       |
 4768|    771|    if (type_new_descriptors(ctx, type, dict) < 0) {
  ------------------
  |  Branch (4768:9): [True: 0, False: 771]
  ------------------
 4769|      0|        return -1;
 4770|      0|    }
 4771|       |
 4772|    771|    type_new_set_slots(ctx, type);
 4773|       |
 4774|    771|    if (type_new_set_classcell(type, dict) < 0) {
  ------------------
  |  Branch (4774:9): [True: 0, False: 771]
  ------------------
 4775|      0|        return -1;
 4776|      0|    }
 4777|    771|    if (type_new_set_classdictcell(dict) < 0) {
  ------------------
  |  Branch (4777:9): [True: 0, False: 771]
  ------------------
 4778|      0|        return -1;
 4779|      0|    }
 4780|       |
 4781|       |#ifdef Py_GIL_DISABLED
 4782|       |    // enable deferred reference counting on functions and descriptors
 4783|       |    Py_ssize_t pos = 0;
 4784|       |    PyObject *key, *value;
 4785|       |    while (PyDict_Next(dict, &pos, &key, &value)) {
 4786|       |        if (PyFunction_Check(value) || Py_TYPE(value)->tp_descr_get != NULL) {
 4787|       |            PyUnstable_Object_EnableDeferredRefcount(value);
 4788|       |        }
 4789|       |    }
 4790|       |#endif
 4791|       |
 4792|    771|    return 0;
 4793|    771|}
typeobject.c:type_new_set_name:
 4388|    771|{
 4389|    771|    Py_ssize_t name_size;
 4390|    771|    type->tp_name = PyUnicode_AsUTF8AndSize(ctx->name, &name_size);
 4391|    771|    if (!type->tp_name) {
  ------------------
  |  Branch (4391:9): [True: 0, False: 771]
  ------------------
 4392|      0|        return -1;
 4393|      0|    }
 4394|    771|    if (strlen(type->tp_name) != (size_t)name_size) {
  ------------------
  |  Branch (4394:9): [True: 0, False: 771]
  ------------------
 4395|      0|        PyErr_SetString(PyExc_ValueError,
 4396|      0|                        "type name must not contain null characters");
 4397|      0|        return -1;
 4398|      0|    }
 4399|    771|    return 0;
 4400|    771|}
typeobject.c:type_new_set_module:
 4406|    771|{
 4407|    771|    int r = PyDict_Contains(dict, &_Py_ID(__module__));
  ------------------
  |  |  921|    771|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    771|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    771|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4408|    771|    if (r < 0) {
  ------------------
  |  Branch (4408:9): [True: 0, False: 771]
  ------------------
 4409|      0|        return -1;
 4410|      0|    }
 4411|    771|    if (r > 0) {
  ------------------
  |  Branch (4411:9): [True: 766, False: 5]
  ------------------
 4412|    766|        return 0;
 4413|    766|    }
 4414|       |
 4415|      5|    PyObject *globals = PyEval_GetGlobals();
 4416|      5|    if (globals == NULL) {
  ------------------
  |  Branch (4416:9): [True: 0, False: 5]
  ------------------
 4417|      0|        return 0;
 4418|      0|    }
 4419|       |
 4420|      5|    PyObject *module;
 4421|      5|    r = PyDict_GetItemRef(globals, &_Py_ID(__name__), &module);
  ------------------
  |  |  921|      5|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      5|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      5|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4422|      5|    if (module) {
  ------------------
  |  Branch (4422:9): [True: 5, False: 0]
  ------------------
 4423|      5|        r = PyDict_SetItem(dict, &_Py_ID(__module__), module);
  ------------------
  |  |  921|      5|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      5|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      5|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4424|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4425|      5|    }
 4426|      5|    return r;
 4427|      5|}
typeobject.c:type_new_set_ht_name:
 4434|    771|{
 4435|    771|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 4436|    771|    PyObject *qualname;
 4437|    771|    if (PyDict_GetItemRef(dict, &_Py_ID(__qualname__), &qualname) < 0) {
  ------------------
  |  |  921|    771|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    771|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    771|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4437:9): [True: 0, False: 771]
  ------------------
 4438|      0|        return -1;
 4439|      0|    }
 4440|    771|    if (qualname != NULL) {
  ------------------
  |  Branch (4440:9): [True: 631, False: 140]
  ------------------
 4441|    631|        if (!PyUnicode_Check(qualname)) {
  ------------------
  |  |  103|    631|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    631|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4441:13): [True: 0, False: 631]
  ------------------
 4442|      0|            PyErr_Format(PyExc_TypeError,
 4443|      0|                    "type __qualname__ must be a str, not %s",
 4444|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4445|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4446|      0|            return -1;
 4447|      0|        }
 4448|    631|        et->ht_qualname = qualname;
 4449|    631|        if (PyDict_DelItem(dict, &_Py_ID(__qualname__)) < 0) {
  ------------------
  |  |  921|    631|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    631|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    631|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4449:13): [True: 0, False: 631]
  ------------------
 4450|      0|            return -1;
 4451|      0|        }
 4452|    631|    }
 4453|    140|    else {
 4454|    140|        et->ht_qualname = Py_NewRef(et->ht_name);
  ------------------
  |  |  550|    140|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    140|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4455|    140|    }
 4456|    771|    return 0;
 4457|    771|}
typeobject.c:type_new_set_doc:
 4465|    771|{
 4466|    771|    PyObject *doc = PyDict_GetItemWithError(dict, &_Py_ID(__doc__));
  ------------------
  |  |  921|    771|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    771|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    771|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4467|    771|    if (doc == NULL) {
  ------------------
  |  Branch (4467:9): [True: 488, False: 283]
  ------------------
 4468|    488|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4468:13): [True: 0, False: 488]
  ------------------
 4469|      0|            return -1;
 4470|      0|        }
 4471|       |        // no __doc__ key
 4472|    488|        return 0;
 4473|    488|    }
 4474|    283|    if (!PyUnicode_Check(doc)) {
  ------------------
  |  |  103|    283|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    283|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4474:9): [True: 0, False: 283]
  ------------------
 4475|       |        // ignore non-string __doc__
 4476|      0|        return 0;
 4477|      0|    }
 4478|       |
 4479|    283|    const char *doc_str = PyUnicode_AsUTF8(doc);
 4480|    283|    if (doc_str == NULL) {
  ------------------
  |  Branch (4480:9): [True: 0, False: 283]
  ------------------
 4481|      0|        return -1;
 4482|      0|    }
 4483|       |
 4484|       |    // Silently truncate the docstring if it contains a null byte
 4485|    283|    Py_ssize_t size = strlen(doc_str) + 1;
 4486|    283|    char *tp_doc = (char *)PyMem_Malloc(size);
 4487|    283|    if (tp_doc == NULL) {
  ------------------
  |  Branch (4487:9): [True: 0, False: 283]
  ------------------
 4488|      0|        PyErr_NoMemory();
 4489|      0|        return -1;
 4490|      0|    }
 4491|       |
 4492|    283|    memcpy(tp_doc, doc_str, size);
 4493|    283|    type->tp_doc = tp_doc;
 4494|    283|    return 0;
 4495|    283|}
typeobject.c:type_new_staticmethod:
 4500|    771|{
 4501|    771|    PyObject *func = PyDict_GetItemWithError(dict, attr);
 4502|    771|    if (func == NULL) {
  ------------------
  |  Branch (4502:9): [True: 749, False: 22]
  ------------------
 4503|    749|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4503:13): [True: 0, False: 749]
  ------------------
 4504|      0|            return -1;
 4505|      0|        }
 4506|    749|        return 0;
 4507|    749|    }
 4508|     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 (4508:9): [True: 0, False: 22]
  ------------------
 4509|      0|        return 0;
 4510|      0|    }
 4511|       |
 4512|     22|    PyObject *static_func = PyStaticMethod_New(func);
 4513|     22|    if (static_func == NULL) {
  ------------------
  |  Branch (4513:9): [True: 0, False: 22]
  ------------------
 4514|      0|        return -1;
 4515|      0|    }
 4516|     22|    if (PyDict_SetItem(dict, attr, static_func) < 0) {
  ------------------
  |  Branch (4516:9): [True: 0, False: 22]
  ------------------
 4517|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4518|      0|        return -1;
 4519|      0|    }
 4520|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4521|     22|    return 0;
 4522|     22|}
typeobject.c:type_new_classmethod:
 4527|  1.54k|{
 4528|  1.54k|    PyObject *func = PyDict_GetItemWithError(dict, attr);
 4529|  1.54k|    if (func == NULL) {
  ------------------
  |  Branch (4529:9): [True: 1.52k, False: 20]
  ------------------
 4530|  1.52k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4530:13): [True: 0, False: 1.52k]
  ------------------
 4531|      0|            return -1;
 4532|      0|        }
 4533|  1.52k|        return 0;
 4534|  1.52k|    }
 4535|     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 (4535:9): [True: 19, False: 1]
  ------------------
 4536|     19|        return 0;
 4537|     19|    }
 4538|       |
 4539|      1|    PyObject *method = PyClassMethod_New(func);
 4540|      1|    if (method == NULL) {
  ------------------
  |  Branch (4540:9): [True: 0, False: 1]
  ------------------
 4541|      0|        return -1;
 4542|      0|    }
 4543|       |
 4544|      1|    if (PyDict_SetItem(dict, attr, method) < 0) {
  ------------------
  |  Branch (4544:9): [True: 0, False: 1]
  ------------------
 4545|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4546|      0|        return -1;
 4547|      0|    }
 4548|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4549|      1|    return 0;
 4550|      1|}
typeobject.c:type_new_descriptors:
 4582|    771|{
 4583|    771|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 4584|    771|    Py_ssize_t slotoffset = ctx->base->tp_basicsize;
 4585|    771|    if (et->ht_slots != NULL) {
  ------------------
  |  Branch (4585:9): [True: 13, False: 758]
  ------------------
 4586|     13|        PyMemberDef *mp = _PyHeapType_GET_MEMBERS(et);
 4587|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4588|     13|        int after_items = (ctx->base->tp_itemsize != 0 &&
  ------------------
  |  Branch (4588:28): [True: 0, False: 13]
  ------------------
 4589|      0|                           !(ctx->base->tp_flags & Py_TPFLAGS_ITEMS_AT_END));
  ------------------
  |  |  548|      0|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (4589:28): [True: 0, False: 0]
  ------------------
 4590|     13|        if (ctx->base->tp_itemsize != 0 &&
  ------------------
  |  Branch (4590:13): [True: 0, False: 13]
  ------------------
 4591|      0|            !(ctx->base->tp_flags & Py_TPFLAGS_TUPLE_SUBCLASS))
  ------------------
  |  |  553|      0|#define Py_TPFLAGS_TUPLE_SUBCLASS       (1UL << 26)
  ------------------
  |  Branch (4591:13): [True: 0, False: 0]
  ------------------
 4592|      0|        {
 4593|      0|            PyErr_Format(PyExc_TypeError,
 4594|      0|                         "arbitrary __slots__ not supported for subtype of '%s'",
 4595|      0|                         ctx->base->tp_name);
 4596|      0|            return -1;
 4597|      0|        }
 4598|     49|        for (Py_ssize_t i = 0; i < nslot; i++, mp++) {
  ------------------
  |  Branch (4598:32): [True: 36, False: 13]
  ------------------
 4599|     36|            mp->name = PyUnicode_AsUTF8(
 4600|     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 (4600:17): [True: 36, False: 0]
  ------------------
 4601|     36|            if (mp->name == NULL) {
  ------------------
  |  Branch (4601:17): [True: 0, False: 36]
  ------------------
 4602|      0|                return -1;
 4603|      0|            }
 4604|     36|            mp->type = Py_T_OBJECT_EX;
  ------------------
  |  |   75|     36|#define Py_T_OBJECT_EX 16
  ------------------
 4605|     36|            mp->offset = slotoffset;
 4606|     36|            if (after_items) {
  ------------------
  |  Branch (4606:17): [True: 0, False: 36]
  ------------------
 4607|      0|                mp->flags |= _Py_AFTER_ITEMS;
  ------------------
  |  |   89|      0|#  define _Py_AFTER_ITEMS      (1 << 4) // For internal use.
  ------------------
 4608|      0|            }
 4609|       |
 4610|       |            /* __dict__ and __weakref__ are already filtered out */
 4611|     36|            assert(strcmp(mp->name, "__dict__") != 0);
  ------------------
  |  Branch (4611:13): [True: 36, False: 0]
  ------------------
 4612|     36|            assert(strcmp(mp->name, "__weakref__") != 0);
  ------------------
  |  Branch (4612:13): [True: 36, False: 0]
  ------------------
 4613|       |
 4614|     36|            slotoffset += sizeof(PyObject *);
 4615|     36|        }
 4616|     13|    }
 4617|       |
 4618|    771|    if (ctx->add_weak) {
  ------------------
  |  Branch (4618:9): [True: 196, False: 575]
  ------------------
 4619|    196|        assert((type->tp_flags & Py_TPFLAGS_MANAGED_WEAKREF) == 0);
  ------------------
  |  Branch (4619:9): [True: 196, False: 0]
  ------------------
 4620|    196|        type_add_flags(type, Py_TPFLAGS_MANAGED_WEAKREF);
  ------------------
  |  |  477|    196|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  ------------------
 4621|    196|        type->tp_weaklistoffset = MANAGED_WEAKREF_OFFSET;
  ------------------
  |  |  924|    196|#  define MANAGED_WEAKREF_OFFSET (((Py_ssize_t)sizeof(PyObject *))*-4)
  ------------------
 4622|    196|    }
 4623|    771|    if (ctx->add_dict) {
  ------------------
  |  Branch (4623:9): [True: 157, False: 614]
  ------------------
 4624|    157|        assert((type->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
  ------------------
  |  Branch (4624:9): [True: 157, False: 0]
  ------------------
 4625|    157|        type_add_flags(type, Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  |  482|    157|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
 4626|    157|        type->tp_dictoffset = -1;
 4627|    157|    }
 4628|       |
 4629|    771|    type->tp_basicsize = slotoffset;
 4630|    771|    type->tp_itemsize = ctx->base->tp_itemsize;
 4631|    771|    type->tp_members = _PyHeapType_GET_MEMBERS(et);
 4632|       |
 4633|    771|    PyInterpreterState *interp = _PyInterpreterState_GET();
 4634|       |
 4635|    771|    if (type->tp_dictoffset) {
  ------------------
  |  Branch (4635:9): [True: 157, False: 614]
  ------------------
 4636|    157|        if (type_add_common_descriptor(
  ------------------
  |  Branch (4636:13): [True: 0, False: 157]
  ------------------
 4637|    157|            interp,
 4638|    157|            &interp->cached_objects.dict_descriptor,
 4639|    157|            &subtype_getset_dict,
 4640|    157|            dict) < 0)
 4641|      0|        {
 4642|      0|            return -1;
 4643|      0|        }
 4644|    157|    }
 4645|    771|    if (type->tp_weaklistoffset) {
  ------------------
  |  Branch (4645:9): [True: 196, False: 575]
  ------------------
 4646|    196|        if (type_add_common_descriptor(
  ------------------
  |  Branch (4646:13): [True: 0, False: 196]
  ------------------
 4647|    196|            interp,
 4648|    196|            &interp->cached_objects.weakref_descriptor,
 4649|    196|            &subtype_getset_weakref,
 4650|    196|            dict) < 0)
 4651|      0|        {
 4652|      0|            return -1;
 4653|      0|        }
 4654|    196|    }
 4655|       |
 4656|    771|    return 0;
 4657|    771|}
typeobject.c:type_add_common_descriptor:
 4558|    353|{
 4559|       |#ifdef Py_GIL_DISABLED
 4560|       |    PyMutex_Lock(&interp->cached_objects.descriptor_mutex);
 4561|       |#endif
 4562|    353|    PyObject *descr = *cache;
 4563|    353|    if (!descr) {
  ------------------
  |  Branch (4563:9): [True: 4, False: 349]
  ------------------
 4564|      4|        descr = PyDescr_NewGetSet(&PyBaseObject_Type, getset_def);
 4565|      4|        *cache = descr;
 4566|      4|    }
 4567|       |#ifdef Py_GIL_DISABLED
 4568|       |    PyMutex_Unlock(&interp->cached_objects.descriptor_mutex);
 4569|       |#endif
 4570|    353|    if (!descr) {
  ------------------
  |  Branch (4570:9): [True: 0, False: 353]
  ------------------
 4571|      0|        return -1;
 4572|      0|    }
 4573|    353|    if (PyDict_SetDefaultRef(dict, PyDescr_NAME(descr), descr, NULL) < 0) {
  ------------------
  |  |   36|    353|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
  |  Branch (4573:9): [True: 0, False: 353]
  ------------------
 4574|      0|        return -1;
 4575|      0|    }
 4576|    353|    return 0;
 4577|    353|}
typeobject.c:type_new_set_slots:
 4662|    771|{
 4663|    771|    type->tp_getset = NULL;
 4664|       |
 4665|       |    /* Special case some slots */
 4666|    771|    if (type->tp_dictoffset != 0 || ctx->nslot > 0) {
  ------------------
  |  Branch (4666:9): [True: 157, False: 614]
  |  Branch (4666:37): [True: 12, False: 602]
  ------------------
 4667|    169|        PyTypeObject *base = ctx->base;
 4668|    169|        if (base->tp_getattr == NULL && base->tp_getattro == NULL) {
  ------------------
  |  Branch (4668:13): [True: 169, False: 0]
  |  Branch (4668:41): [True: 0, False: 169]
  ------------------
 4669|      0|            type->tp_getattro = PyObject_GenericGetAttr;
 4670|      0|        }
 4671|    169|        if (base->tp_setattr == NULL && base->tp_setattro == NULL) {
  ------------------
  |  Branch (4671:13): [True: 169, False: 0]
  |  Branch (4671:41): [True: 0, False: 169]
  ------------------
 4672|      0|            type->tp_setattro = PyObject_GenericSetAttr;
 4673|      0|        }
 4674|    169|    }
 4675|    771|}
typeobject.c:type_new_set_classcell:
 4681|    771|{
 4682|    771|    PyObject *cell = PyDict_GetItemWithError(dict, &_Py_ID(__classcell__));
  ------------------
  |  |  921|    771|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    771|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    771|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4683|    771|    if (cell == NULL) {
  ------------------
  |  Branch (4683:9): [True: 751, False: 20]
  ------------------
 4684|    751|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4684:13): [True: 0, False: 751]
  ------------------
 4685|      0|            return -1;
 4686|      0|        }
 4687|    751|        return 0;
 4688|    751|    }
 4689|       |
 4690|       |    /* At least one method requires a reference to its defining class */
 4691|     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 (4691:9): [True: 0, False: 20]
  ------------------
 4692|      0|        PyErr_Format(PyExc_TypeError,
 4693|      0|                     "__classcell__ must be a nonlocal cell, not %.200R",
 4694|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4695|      0|        return -1;
 4696|      0|    }
 4697|       |
 4698|     20|    (void)PyCell_Set(cell, (PyObject *) type);
 4699|     20|    if (PyDict_DelItem(dict, &_Py_ID(__classcell__)) < 0) {
  ------------------
  |  |  921|     20|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     20|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     20|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4699:9): [True: 0, False: 20]
  ------------------
 4700|      0|        return -1;
 4701|      0|    }
 4702|     20|    return 0;
 4703|     20|}
typeobject.c:type_new_set_classdictcell:
 4707|    771|{
 4708|    771|    PyObject *cell = PyDict_GetItemWithError(dict, &_Py_ID(__classdictcell__));
  ------------------
  |  |  921|    771|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    771|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    771|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4709|    771|    if (cell == NULL) {
  ------------------
  |  Branch (4709:9): [True: 340, False: 431]
  ------------------
 4710|    340|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4710:13): [True: 0, False: 340]
  ------------------
 4711|      0|            return -1;
 4712|      0|        }
 4713|    340|        return 0;
 4714|    340|    }
 4715|       |
 4716|       |    /* At least one method requires a reference to the dict of its defining class */
 4717|    431|    if (!PyCell_Check(cell)) {
  ------------------
  |  |   18|    431|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|    431|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    431|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    431|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4717:9): [True: 0, False: 431]
  ------------------
 4718|      0|        PyErr_Format(PyExc_TypeError,
 4719|      0|                     "__classdictcell__ must be a nonlocal cell, not %.200R",
 4720|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4721|      0|        return -1;
 4722|      0|    }
 4723|       |
 4724|    431|    (void)PyCell_Set(cell, (PyObject *)dict);
 4725|    431|    if (PyDict_DelItem(dict, &_Py_ID(__classdictcell__)) < 0) {
  ------------------
  |  |  921|    431|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    431|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    431|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4725:9): [True: 0, False: 431]
  ------------------
 4726|      0|        return -1;
 4727|      0|    }
 4728|    431|    return 0;
 4729|    431|}
typeobject.c:fixup_slot_dispatchers:
11978|    771|{
11979|    771|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (11979:5): [True: 771, False: 0]
  ------------------
11980|  52.4k|    for (pytype_slotdef *p = slotdefs; p->name; ) {
  ------------------
  |  Branch (11980:40): [True: 51.6k, False: 771]
  ------------------
11981|       |        update_one_slot(type, p, &p, NULL);
11982|  51.6k|    }
11983|    771|}
typeobject.c:type_new_set_names:
12122|    771|{
12123|    771|    PyObject *dict = lookup_tp_dict(type);
12124|    771|    PyObject *names_to_set = PyDict_Copy(dict);
12125|    771|    if (names_to_set == NULL) {
  ------------------
  |  Branch (12125:9): [True: 0, False: 771]
  ------------------
12126|      0|        return -1;
12127|      0|    }
12128|       |
12129|    771|    Py_ssize_t i = 0;
12130|    771|    PyObject *key, *value;
12131|  6.42k|    while (PyDict_Next(names_to_set, &i, &key, &value)) {
  ------------------
  |  Branch (12131:12): [True: 5.65k, False: 771]
  ------------------
12132|  5.65k|        PyObject *set_name = _PyObject_LookupSpecial(value,
12133|  5.65k|                                                     &_Py_ID(__set_name__));
  ------------------
  |  |  921|  5.65k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  5.65k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  5.65k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12134|  5.65k|        if (set_name == NULL) {
  ------------------
  |  Branch (12134:13): [True: 5.60k, False: 46]
  ------------------
12135|  5.60k|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (12135:17): [True: 0, False: 5.60k]
  ------------------
12136|      0|                goto error;
12137|      0|            }
12138|  5.60k|            continue;
12139|  5.60k|        }
12140|       |
12141|     46|        PyObject *res = PyObject_CallFunctionObjArgs(set_name, type, key, NULL);
12142|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12143|       |
12144|     46|        if (res == NULL) {
  ------------------
  |  Branch (12144:13): [True: 0, False: 46]
  ------------------
12145|      0|            _PyErr_FormatNote(
12146|      0|                "Error calling __set_name__ on '%.100s' instance %R "
12147|      0|                "in '%.100s'",
12148|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12149|      0|            goto error;
12150|      0|        }
12151|     46|        else {
12152|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12153|     46|        }
12154|     46|    }
12155|       |
12156|    771|    Py_DECREF(names_to_set);
  ------------------
  |  |  430|    771|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    771|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    771|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12157|    771|    return 0;
12158|       |
12159|      0|error:
12160|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12161|      0|    return -1;
12162|    771|}
typeobject.c:type_new_init_subclass:
12168|    771|{
12169|    771|    PyObject *args[2] = {(PyObject *)type, (PyObject *)type};
12170|    771|    PyObject *super = PyObject_Vectorcall((PyObject *)&PySuper_Type,
12171|    771|                                          args, 2, NULL);
12172|    771|    if (super == NULL) {
  ------------------
  |  Branch (12172:9): [True: 0, False: 771]
  ------------------
12173|      0|        return -1;
12174|      0|    }
12175|       |
12176|    771|    PyObject *func = PyObject_GetAttr(super, &_Py_ID(__init_subclass__));
  ------------------
  |  |  921|    771|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    771|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    771|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12177|    771|    Py_DECREF(super);
  ------------------
  |  |  430|    771|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    771|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    771|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12178|    771|    if (func == NULL) {
  ------------------
  |  Branch (12178:9): [True: 0, False: 771]
  ------------------
12179|      0|        return -1;
12180|      0|    }
12181|       |
12182|    771|    PyObject *result = PyObject_VectorcallDict(func, NULL, 0, kwds);
12183|    771|    Py_DECREF(func);
  ------------------
  |  |  430|    771|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    771|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    771|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12184|    771|    if (result == NULL) {
  ------------------
  |  Branch (12184:9): [True: 0, False: 771]
  ------------------
12185|      0|        return -1;
12186|      0|    }
12187|       |
12188|    771|    Py_DECREF(result);
  ------------------
  |  |  430|    771|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    771|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    771|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12189|    771|    return 0;
12190|    771|}
typeobject.c:type_is_gc:
 7123|   139M|{
 7124|   139M|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  186|   139M|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 7125|   139M|    return type->tp_flags & Py_TPFLAGS_HEAPTYPE;
  ------------------
  |  |  503|   139M|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
 7126|   139M|}
typeobject.c:type_vectorcall:
 5052|    761|{
 5053|    761|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    761|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 5054|    761|    if (nargs == 1 && metatype == (PyObject *)&PyType_Type){
  ------------------
  |  Branch (5054:9): [True: 73, False: 688]
  |  Branch (5054:23): [True: 73, False: 0]
  ------------------
 5055|     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]
  |  |  ------------------
  ------------------
 5056|      0|            return NULL;
 5057|      0|        }
 5058|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5059|     73|    }
 5060|       |    /* In other (much less common) cases, fall back to
 5061|       |       more flexible calling conventions. */
 5062|    688|    PyThreadState *tstate = _PyThreadState_GET();
 5063|    688|    return _PyObject_MakeTpCall(tstate, metatype, args, nargs, kwnames);
 5064|    761|}
typeobject.c:object_richcompare:
 7365|  1.03k|{
 7366|  1.03k|    PyObject *res;
 7367|       |
 7368|  1.03k|    switch (op) {
 7369|       |
 7370|  1.03k|    case Py_EQ:
  ------------------
  |  |  654|  1.03k|#define Py_EQ 2
  ------------------
  |  Branch (7370:5): [True: 1.03k, False: 0]
  ------------------
 7371|       |        /* Return NotImplemented instead of False, so if two
 7372|       |           objects are compared, both get a chance at the
 7373|       |           comparison.  See issue #1393. */
 7374|  1.03k|        res = Py_NewRef((self == other) ? Py_True : Py_NotImplemented);
  ------------------
  |  |  550|  1.03k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 4, False: 1.03k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7375|  1.03k|        break;
 7376|       |
 7377|      0|    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (7377:5): [True: 0, False: 1.03k]
  ------------------
 7378|       |        /* By default, __ne__() delegates to __eq__() and inverts the result,
 7379|       |           unless the latter returns NotImplemented. */
 7380|      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 (7380:13): [True: 0, False: 0]
  ------------------
 7381|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7382|      0|            break;
 7383|      0|        }
 7384|      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
  ------------------
 7385|      0|        if (res != NULL && res != Py_NotImplemented) {
  ------------------
  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (7385:13): [True: 0, False: 0]
  |  Branch (7385:28): [True: 0, False: 0]
  ------------------
 7386|      0|            int ok = PyObject_IsTrue(res);
 7387|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7388|      0|            if (ok < 0)
  ------------------
  |  Branch (7388:17): [True: 0, False: 0]
  ------------------
 7389|      0|                res = NULL;
 7390|      0|            else {
 7391|      0|                if (ok)
  ------------------
  |  Branch (7391:21): [True: 0, False: 0]
  ------------------
 7392|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7393|      0|                else
 7394|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7395|      0|            }
 7396|      0|        }
 7397|      0|        break;
 7398|       |
 7399|      0|    default:
  ------------------
  |  Branch (7399:5): [True: 0, False: 1.03k]
  ------------------
 7400|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7401|      0|        break;
 7402|  1.03k|    }
 7403|       |
 7404|  1.03k|    return res;
 7405|  1.03k|}
typeobject.c:object_dealloc:
 7320|  2.57M|{
 7321|  2.57M|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  2.57M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.57M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.57M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7322|  2.57M|}
typeobject.c:object_str:
 7354|  48.6k|{
 7355|  48.6k|    unaryfunc f;
 7356|       |
 7357|  48.6k|    f = Py_TYPE(self)->tp_repr;
  ------------------
  |  |  213|  48.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  48.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7358|  48.6k|    if (f == NULL)
  ------------------
  |  Branch (7358:9): [True: 0, False: 48.6k]
  ------------------
 7359|      0|        f = object_repr;
 7360|  48.6k|    return f(self);
 7361|  48.6k|}
typeobject.c:object_subclasshook:
 8252|     16|{
 8253|     16|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|     16|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|     16|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 8254|     16|}
typeobject.c:object_init_subclass:
 8266|    771|{
 8267|    771|    Py_RETURN_NONE;
  ------------------
  |  |  628|    771|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    771|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 8268|    771|}
typeobject.c:object___format___impl:
 8290|  48.4k|{
 8291|       |    /* Issue 7994: If we're converting to a string, we
 8292|       |       should reject format specifications */
 8293|  48.4k|    if (PyUnicode_GET_LENGTH(format_spec) > 0) {
  ------------------
  |  |  299|  48.4k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (8293:9): [True: 0, False: 48.4k]
  ------------------
 8294|      0|        PyErr_Format(PyExc_TypeError,
 8295|      0|                     "unsupported format string passed to %.200s.__format__",
 8296|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8297|      0|        return NULL;
 8298|      0|    }
 8299|  48.4k|    return PyObject_Str(self);
 8300|  48.4k|}
typeobject.c:object_get_class:
 7415|  20.4k|{
 7416|  20.4k|    return Py_NewRef(Py_TYPE(self));
  ------------------
  |  |  550|  20.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  20.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7417|  20.4k|}
typeobject.c:object_init:
 7230|  21.4k|{
 7231|  21.4k|    PyTypeObject *type = Py_TYPE(self);
  ------------------
  |  |  213|  21.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  21.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7232|  21.4k|    if (excess_args(args, kwds)) {
  ------------------
  |  Branch (7232:9): [True: 19.9k, False: 1.47k]
  ------------------
 7233|  19.9k|        if (type->tp_init != object_init) {
  ------------------
  |  Branch (7233:13): [True: 0, False: 19.9k]
  ------------------
 7234|      0|            PyErr_SetString(PyExc_TypeError,
 7235|      0|                            "object.__init__() takes exactly one argument (the instance to initialize)");
 7236|      0|            return -1;
 7237|      0|        }
 7238|  19.9k|        if (type->tp_new == object_new) {
  ------------------
  |  Branch (7238:13): [True: 0, False: 19.9k]
  ------------------
 7239|      0|            PyErr_Format(PyExc_TypeError,
 7240|      0|                         "%.200s.__init__() takes exactly one argument (the instance to initialize)",
 7241|      0|                         type->tp_name);
 7242|      0|            return -1;
 7243|      0|        }
 7244|  19.9k|    }
 7245|  21.4k|    return 0;
 7246|  21.4k|}
typeobject.c:excess_args:
 7223|  71.6k|{
 7224|  71.6k|    return PyTuple_GET_SIZE(args) ||
  ------------------
  |  |   27|   143k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  71.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  71.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 68.8k, False: 2.79k]
  |  |  ------------------
  ------------------
 7225|  2.79k|        (kwds && PyDict_Check(kwds) && PyDict_GET_SIZE(kwds));
  ------------------
  |  |   18|    156|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.95k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 156, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      (kwds && PyDict_Check(kwds) && PyDict_GET_SIZE(kwds));
  ------------------
  |  |   63|    156|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    156|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    156|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (63:29): [True: 156, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (7225:10): [True: 156, False: 2.63k]
  ------------------
 7226|  71.6k|}
typeobject.c:object_new:
 7250|  50.1k|{
 7251|  50.1k|    if (excess_args(args, kwds)) {
  ------------------
  |  Branch (7251:9): [True: 49.0k, False: 1.15k]
  ------------------
 7252|  49.0k|        if (type->tp_new != object_new) {
  ------------------
  |  Branch (7252:13): [True: 0, False: 49.0k]
  ------------------
 7253|      0|            PyErr_SetString(PyExc_TypeError,
 7254|      0|                            "object.__new__() takes exactly one argument (the type to instantiate)");
 7255|      0|            return NULL;
 7256|      0|        }
 7257|  49.0k|        if (type->tp_init == object_init) {
  ------------------
  |  Branch (7257:13): [True: 0, False: 49.0k]
  ------------------
 7258|      0|            PyErr_Format(PyExc_TypeError, "%.200s() takes no arguments",
 7259|      0|                         type->tp_name);
 7260|      0|            return NULL;
 7261|      0|        }
 7262|  49.0k|    }
 7263|       |
 7264|  50.1k|    if (type->tp_flags & Py_TPFLAGS_IS_ABSTRACT) {
  ------------------
  |  |  540|  50.1k|#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
  ------------------
  |  Branch (7264:9): [True: 0, False: 50.1k]
  ------------------
 7265|      0|        PyObject *abstract_methods;
 7266|      0|        PyObject *sorted_methods;
 7267|      0|        PyObject *joined;
 7268|      0|        PyObject* comma_w_quotes_sep;
 7269|      0|        Py_ssize_t method_count;
 7270|       |
 7271|       |        /* Compute "', '".join(sorted(type.__abstractmethods__))
 7272|       |           into joined. */
 7273|      0|        abstract_methods = type_abstractmethods((PyObject *)type, NULL);
 7274|      0|        if (abstract_methods == NULL)
  ------------------
  |  Branch (7274:13): [True: 0, False: 0]
  ------------------
 7275|      0|            return NULL;
 7276|      0|        sorted_methods = PySequence_List(abstract_methods);
 7277|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7278|      0|        if (sorted_methods == NULL)
  ------------------
  |  Branch (7278:13): [True: 0, False: 0]
  ------------------
 7279|      0|            return NULL;
 7280|      0|        if (PyList_Sort(sorted_methods)) {
  ------------------
  |  Branch (7280:13): [True: 0, False: 0]
  ------------------
 7281|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7282|      0|            return NULL;
 7283|      0|        }
 7284|      0|        comma_w_quotes_sep = PyUnicode_FromString("', '");
 7285|      0|        if (!comma_w_quotes_sep) {
  ------------------
  |  Branch (7285:13): [True: 0, False: 0]
  ------------------
 7286|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7287|      0|            return NULL;
 7288|      0|        }
 7289|      0|        joined = PyUnicode_Join(comma_w_quotes_sep, sorted_methods);
 7290|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7291|      0|        if (joined == NULL)  {
  ------------------
  |  Branch (7291:13): [True: 0, False: 0]
  ------------------
 7292|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7293|      0|            return NULL;
 7294|      0|        }
 7295|      0|        method_count = PyObject_Length(sorted_methods);
  ------------------
  |  |  353|      0|#define PyObject_Length PyObject_Size
  ------------------
 7296|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7297|      0|        if (method_count == -1) {
  ------------------
  |  Branch (7297:13): [True: 0, False: 0]
  ------------------
 7298|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7299|      0|            return NULL;
 7300|      0|        }
 7301|       |
 7302|      0|        PyErr_Format(PyExc_TypeError,
 7303|      0|                     "Can't instantiate abstract class %s "
 7304|      0|                     "without an implementation for abstract method%s '%U'",
 7305|      0|                     type->tp_name,
 7306|      0|                     method_count > 1 ? "s" : "",
  ------------------
  |  Branch (7306:22): [True: 0, False: 0]
  ------------------
 7307|      0|                     joined);
 7308|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7309|      0|        return NULL;
 7310|      0|    }
 7311|  50.1k|    PyObject *obj = type->tp_alloc(type, 0);
 7312|  50.1k|    if (obj == NULL) {
  ------------------
  |  Branch (7312:9): [True: 0, False: 50.1k]
  ------------------
 7313|      0|        return NULL;
 7314|      0|    }
 7315|  50.1k|    return obj;
 7316|  50.1k|}
typeobject.c:type_add_method:
 8445|  1.78k|{
 8446|  1.78k|    PyObject *descr;
 8447|  1.78k|    int isdescr = 1;
 8448|  1.78k|    if (meth->ml_flags & METH_CLASS) {
  ------------------
  |  |  104|  1.78k|#define METH_CLASS    0x0010
  ------------------
  |  Branch (8448:9): [True: 115, False: 1.66k]
  ------------------
 8449|    115|        if (meth->ml_flags & METH_STATIC) {
  ------------------
  |  |  105|    115|#define METH_STATIC   0x0020
  ------------------
  |  Branch (8449:13): [True: 0, False: 115]
  ------------------
 8450|      0|            PyErr_SetString(PyExc_ValueError,
 8451|      0|                    "method cannot be both class and static");
 8452|      0|            return -1;
 8453|      0|        }
 8454|    115|        descr = PyDescr_NewClassMethod(type, meth);
 8455|    115|    }
 8456|  1.66k|    else if (meth->ml_flags & METH_STATIC) {
  ------------------
  |  |  105|  1.66k|#define METH_STATIC   0x0020
  ------------------
  |  Branch (8456:14): [True: 6, False: 1.66k]
  ------------------
 8457|      6|        PyObject *mod = type_module(type);
 8458|      6|        if (mod == NULL) {
  ------------------
  |  Branch (8458:13): [True: 0, False: 6]
  ------------------
 8459|      0|            if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (8459:17): [True: 0, False: 0]
  ------------------
 8460|      0|                return -1;
 8461|      0|            }
 8462|      0|            PyErr_Clear();
 8463|      0|        }
 8464|      6|        PyObject *cfunc = PyCFunction_NewEx(meth, (PyObject*)type, mod);
  ------------------
  |  |   87|      6|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
 8465|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8466|      6|        if (cfunc == NULL) {
  ------------------
  |  Branch (8466:13): [True: 0, False: 6]
  ------------------
 8467|      0|            return -1;
 8468|      0|        }
 8469|      6|        descr = PyStaticMethod_New(cfunc);
 8470|      6|        isdescr = 0;  // PyStaticMethod is not PyDescrObject
 8471|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8472|      6|    }
 8473|  1.66k|    else {
 8474|  1.66k|        descr = PyDescr_NewMethod(type, meth);
 8475|  1.66k|    }
 8476|  1.78k|    if (descr == NULL) {
  ------------------
  |  Branch (8476:9): [True: 0, False: 1.78k]
  ------------------
 8477|      0|        return -1;
 8478|      0|    }
 8479|       |
 8480|  1.78k|    PyObject *name;
 8481|  1.78k|    if (isdescr) {
  ------------------
  |  Branch (8481:9): [True: 1.77k, False: 6]
  ------------------
 8482|  1.77k|        name = PyDescr_NAME(descr);
  ------------------
  |  |   36|  1.77k|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
 8483|  1.77k|    }
 8484|      6|    else {
 8485|      6|        name = PyUnicode_FromString(meth->ml_name);
 8486|      6|        if (name == NULL) {
  ------------------
  |  Branch (8486:13): [True: 0, False: 6]
  ------------------
 8487|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8488|      0|            return -1;
 8489|      0|        }
 8490|      6|    }
 8491|       |
 8492|  1.78k|    int err;
 8493|  1.78k|    PyObject *dict = lookup_tp_dict(type);
 8494|  1.78k|    if (!(meth->ml_flags & METH_COEXIST)) {
  ------------------
  |  |  112|  1.78k|#define METH_COEXIST   0x0040
  ------------------
  |  Branch (8494:9): [True: 1.76k, False: 20]
  ------------------
 8495|  1.76k|        err = PyDict_SetDefaultRef(dict, name, descr, NULL) < 0;
 8496|  1.76k|    }
 8497|     20|    else {
 8498|     20|        err = PyDict_SetItem(dict, name, descr) < 0;
 8499|     20|    }
 8500|  1.78k|    if (!isdescr) {
  ------------------
  |  Branch (8500:9): [True: 6, False: 1.77k]
  ------------------
 8501|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8502|      6|    }
 8503|  1.78k|    Py_DECREF(descr);
  ------------------
  |  |  430|  1.78k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8504|  1.78k|    if (err) {
  ------------------
  |  Branch (8504:9): [True: 0, False: 1.78k]
  ------------------
 8505|      0|        return -1;
 8506|      0|    }
 8507|  1.78k|    return 0;
 8508|  1.78k|}
typeobject.c:type_add_flags:
  457|  9.78k|{
  458|  9.78k|    type_set_flags(tp, tp->tp_flags | flag);
  459|  9.78k|}
typeobject.c:type_ready:
 9372|  1.31k|{
 9373|  1.31k|    ASSERT_TYPE_LOCK_HELD();
 9374|       |
 9375|  1.31k|    _PyObject_ASSERT((PyObject *)type, !is_readying(type));
  ------------------
  |  |  425|  1.31k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|  1.31k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|  1.31k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 1.31k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|  1.31k|      ? (void)(0) \
  |  |  |  |  |  |  418|  1.31k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9376|  1.31k|    start_readying(type);
 9377|       |
 9378|  1.31k|    if (type_ready_pre_checks(type) < 0) {
  ------------------
  |  Branch (9378:9): [True: 0, False: 1.31k]
  ------------------
 9379|      0|        goto error;
 9380|      0|    }
 9381|       |
 9382|  1.31k|    _PyTypeCache_InitType(type);
 9383|       |
 9384|       |#ifdef Py_TRACE_REFS
 9385|       |    /* PyType_Ready is the closest thing we have to a choke point
 9386|       |     * for type objects, so is the best place I can think of to try
 9387|       |     * to get type objects into the doubly-linked list of all objects.
 9388|       |     * Still, not all type objects go through PyType_Ready.
 9389|       |     */
 9390|       |    _Py_AddToAllObjects((PyObject *)type);
 9391|       |#endif
 9392|       |
 9393|       |    /* Initialize tp_dict: _PyType_IsReady() tests if tp_dict != NULL */
 9394|  1.31k|    if (type_ready_set_dict(type) < 0) {
  ------------------
  |  Branch (9394:9): [True: 0, False: 1.31k]
  ------------------
 9395|      0|        goto error;
 9396|      0|    }
 9397|  1.31k|    if (type_ready_set_base(type) < 0) {
  ------------------
  |  Branch (9397:9): [True: 0, False: 1.31k]
  ------------------
 9398|      0|        goto error;
 9399|      0|    }
 9400|  1.31k|    if (type_ready_set_type(type) < 0) {
  ------------------
  |  Branch (9400:9): [True: 0, False: 1.31k]
  ------------------
 9401|      0|        goto error;
 9402|      0|    }
 9403|  1.31k|    if (type_ready_set_bases(type, initial) < 0) {
  ------------------
  |  Branch (9403:9): [True: 0, False: 1.31k]
  ------------------
 9404|      0|        goto error;
 9405|      0|    }
 9406|  1.31k|    if (type_ready_mro(type, initial) < 0) {
  ------------------
  |  Branch (9406:9): [True: 0, False: 1.31k]
  ------------------
 9407|      0|        goto error;
 9408|      0|    }
 9409|  1.31k|    if (type_ready_set_new(type, initial) < 0) {
  ------------------
  |  Branch (9409:9): [True: 0, False: 1.31k]
  ------------------
 9410|      0|        goto error;
 9411|      0|    }
 9412|  1.31k|    if (type_ready_fill_dict(type) < 0) {
  ------------------
  |  Branch (9412:9): [True: 0, False: 1.31k]
  ------------------
 9413|      0|        goto error;
 9414|      0|    }
 9415|  1.31k|    if (initial) {
  ------------------
  |  Branch (9415:9): [True: 1.31k, False: 0]
  ------------------
 9416|  1.31k|        if (type_ready_inherit(type) < 0) {
  ------------------
  |  Branch (9416:13): [True: 0, False: 1.31k]
  ------------------
 9417|      0|            goto error;
 9418|      0|        }
 9419|  1.31k|        if (type_ready_preheader(type) < 0) {
  ------------------
  |  Branch (9419:13): [True: 0, False: 1.31k]
  ------------------
 9420|      0|            goto error;
 9421|      0|        }
 9422|  1.31k|    }
 9423|  1.31k|    if (type_ready_set_hash(type) < 0) {
  ------------------
  |  Branch (9423:9): [True: 0, False: 1.31k]
  ------------------
 9424|      0|        goto error;
 9425|      0|    }
 9426|  1.31k|    if (type_ready_add_subclasses(type) < 0) {
  ------------------
  |  Branch (9426:9): [True: 0, False: 1.31k]
  ------------------
 9427|      0|        goto error;
 9428|      0|    }
 9429|  1.31k|    if (initial) {
  ------------------
  |  Branch (9429:9): [True: 1.31k, False: 0]
  ------------------
 9430|  1.31k|        if (type_ready_managed_dict(type) < 0) {
  ------------------
  |  Branch (9430:13): [True: 0, False: 1.31k]
  ------------------
 9431|      0|            goto error;
 9432|      0|        }
 9433|  1.31k|        if (type_ready_post_checks(type) < 0) {
  ------------------
  |  Branch (9433:13): [True: 0, False: 1.31k]
  ------------------
 9434|      0|            goto error;
 9435|      0|        }
 9436|  1.31k|    }
 9437|       |
 9438|       |    /* All done -- set the ready flag */
 9439|  1.31k|    if (initial) {
  ------------------
  |  Branch (9439:9): [True: 1.31k, False: 0]
  ------------------
 9440|  1.31k|        type_add_flags(type, Py_TPFLAGS_READY);
  ------------------
  |  |  518|  1.31k|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
 9441|  1.31k|    } else {
 9442|      0|        assert(type->tp_flags & Py_TPFLAGS_READY);
  ------------------
  |  Branch (9442:9): [True: 0, False: 0]
  ------------------
 9443|      0|    }
 9444|       |
 9445|  1.31k|    stop_readying(type);
 9446|       |
 9447|  1.31k|    assert(_PyType_CheckConsistency(type));
  ------------------
  |  Branch (9447:5): [True: 1.31k, False: 0]
  ------------------
 9448|  1.31k|    return 0;
 9449|       |
 9450|      0|error:
 9451|      0|    stop_readying(type);
 9452|      0|    return -1;
 9453|  1.31k|}
typeobject.c:start_readying:
  469|  1.31k|{
  470|  1.31k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.31k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (470:9): [True: 414, False: 901]
  ------------------
  471|    414|        PyInterpreterState *interp = _PyInterpreterState_GET();
  472|    414|        managed_static_type_state *state = managed_static_type_state_get(interp, type);
  473|    414|        assert(state != NULL);
  ------------------
  |  Branch (473:9): [True: 414, False: 0]
  ------------------
  474|    414|        assert(!state->readying);
  ------------------
  |  Branch (474:9): [True: 414, False: 0]
  ------------------
  475|    414|        state->readying = 1;
  476|    414|        return;
  477|    414|    }
  478|  1.31k|    assert((type->tp_flags & Py_TPFLAGS_READYING) == 0);
  ------------------
  |  Branch (478:5): [True: 901, False: 0]
  ------------------
  479|    901|    type_add_flags(type, Py_TPFLAGS_READYING);
  ------------------
  |  |  521|    901|#define Py_TPFLAGS_READYING (1UL << 13)
  ------------------
  480|    901|}
typeobject.c:type_ready_pre_checks:
 8867|  1.31k|{
 8868|       |    /* Consistency checks for PEP 590:
 8869|       |     * - Py_TPFLAGS_METHOD_DESCRIPTOR requires tp_descr_get
 8870|       |     * - Py_TPFLAGS_HAVE_VECTORCALL requires tp_call and
 8871|       |     *   tp_vectorcall_offset > 0
 8872|       |     * To avoid mistakes, we require this before inheriting.
 8873|       |     */
 8874|  1.31k|    if (type->tp_flags & Py_TPFLAGS_METHOD_DESCRIPTOR) {
  ------------------
  |  |  534|  1.31k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (8874:9): [True: 7, False: 1.30k]
  ------------------
 8875|      7|        _PyObject_ASSERT((PyObject *)type, type->tp_descr_get != NULL);
  ------------------
  |  |  425|      7|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|      7|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|      7|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 7, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      7|      ? (void)(0) \
  |  |  |  |  |  |  418|      7|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8876|      7|    }
 8877|  1.31k|    if (type->tp_flags & Py_TPFLAGS_HAVE_VECTORCALL) {
  ------------------
  |  |  510|  1.31k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (8877:9): [True: 20, False: 1.29k]
  ------------------
 8878|     20|        _PyObject_ASSERT((PyObject *)type, type->tp_vectorcall_offset > 0);
  ------------------
  |  |  425|     20|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|     20|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|     20|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 20, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|     20|      ? (void)(0) \
  |  |  |  |  |  |  418|     20|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8879|     20|        _PyObject_ASSERT((PyObject *)type, type->tp_call != NULL);
  ------------------
  |  |  425|     20|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|     20|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|     20|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 20, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|     20|      ? (void)(0) \
  |  |  |  |  |  |  418|     20|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8880|     20|    }
 8881|       |
 8882|       |    /* Consistency checks for pattern matching
 8883|       |     * Py_TPFLAGS_SEQUENCE and Py_TPFLAGS_MAPPING are mutually exclusive */
 8884|  1.31k|    _PyObject_ASSERT((PyObject *)type, (type->tp_flags & COLLECTION_FLAGS) != COLLECTION_FLAGS);
  ------------------
  |  |  425|  1.31k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|  1.31k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|  1.31k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 1.31k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|  1.31k|      ? (void)(0) \
  |  |  |  |  |  |  418|  1.31k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8885|       |
 8886|  1.31k|    if (type->tp_name == NULL) {
  ------------------
  |  Branch (8886:9): [True: 0, False: 1.31k]
  ------------------
 8887|      0|        PyErr_Format(PyExc_SystemError,
 8888|      0|                     "Type does not define the tp_name field.");
 8889|      0|        return -1;
 8890|      0|    }
 8891|  1.31k|    return 0;
 8892|  1.31k|}
typeobject.c:type_ready_set_dict:
 8973|  1.31k|{
 8974|  1.31k|    if (lookup_tp_dict(type) != NULL) {
  ------------------
  |  Branch (8974:9): [True: 771, False: 544]
  ------------------
 8975|    771|        return 0;
 8976|    771|    }
 8977|       |
 8978|    544|    PyObject *dict = PyDict_New();
 8979|    544|    if (dict == NULL) {
  ------------------
  |  Branch (8979:9): [True: 0, False: 544]
  ------------------
 8980|      0|        return -1;
 8981|      0|    }
 8982|    544|    set_tp_dict(type, dict);
 8983|    544|    return 0;
 8984|    544|}
typeobject.c:type_ready_set_base:
 8897|  1.31k|{
 8898|       |    /* Initialize tp_base (defaults to BaseObject unless that's us) */
 8899|  1.31k|    PyTypeObject *base = type->tp_base;
 8900|  1.31k|    if (base == NULL && type != &PyBaseObject_Type) {
  ------------------
  |  Branch (8900:9): [True: 242, False: 1.07k]
  |  Branch (8900:25): [True: 240, False: 2]
  ------------------
 8901|    240|        base = &PyBaseObject_Type;
 8902|    240|        if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|    240|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (8902:13): [True: 0, False: 240]
  ------------------
 8903|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8904|      0|        }
 8905|    240|        else {
 8906|    240|            type->tp_base = base;
 8907|    240|        }
 8908|    240|    }
 8909|  1.31k|    assert(type->tp_base != NULL || type == &PyBaseObject_Type);
  ------------------
  |  Branch (8909:5): [True: 1.31k, False: 2]
  |  Branch (8909:5): [True: 2, False: 0]
  ------------------
 8910|       |
 8911|       |    /* Now the only way base can still be NULL is if type is
 8912|       |     * &PyBaseObject_Type. */
 8913|       |
 8914|       |    /* Initialize the base class */
 8915|  1.31k|    if (base != NULL && !_PyType_IsReady(base)) {
  ------------------
  |  Branch (8915:9): [True: 1.31k, False: 2]
  |  Branch (8915:25): [True: 0, False: 1.31k]
  ------------------
 8916|      0|        if (PyType_Ready(base) < 0) {
  ------------------
  |  Branch (8916:13): [True: 0, False: 0]
  ------------------
 8917|      0|            return -1;
 8918|      0|        }
 8919|      0|    }
 8920|       |
 8921|  1.31k|    return 0;
 8922|  1.31k|}
typeobject.c:type_ready_set_type:
 8926|  1.31k|{
 8927|       |    /* Initialize ob_type if NULL.      This means extensions that want to be
 8928|       |       compilable separately on Windows can call PyType_Ready() instead of
 8929|       |       initializing the ob_type field of their type objects. */
 8930|       |    /* The test for base != NULL is really unnecessary, since base is only
 8931|       |       NULL when type is &PyBaseObject_Type, and we know its ob_type is
 8932|       |       not NULL (it's initialized to &PyType_Type).      But coverity doesn't
 8933|       |       know that. */
 8934|  1.31k|    PyTypeObject *base = type->tp_base;
 8935|  1.31k|    if (Py_IS_TYPE(type, NULL) && base != NULL) {
  ------------------
  |  |  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: 170, False: 1.14k]
  |  |  ------------------
  ------------------
  |  Branch (8935:35): [True: 170, False: 0]
  ------------------
 8936|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8937|    170|    }
 8938|       |
 8939|  1.31k|    return 0;
 8940|  1.31k|}
typeobject.c:type_ready_set_bases:
 8944|  1.31k|{
 8945|  1.31k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.31k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (8945:9): [True: 414, False: 901]
  ------------------
 8946|    414|        if (!initial) {
  ------------------
  |  Branch (8946:13): [True: 0, False: 414]
  ------------------
 8947|      0|            assert(lookup_tp_bases(type) != NULL);
  ------------------
  |  Branch (8947:13): [True: 0, False: 0]
  ------------------
 8948|      0|            return 0;
 8949|      0|        }
 8950|    414|        assert(lookup_tp_bases(type) == NULL);
  ------------------
  |  Branch (8950:9): [True: 414, False: 0]
  ------------------
 8951|    414|    }
 8952|       |
 8953|  1.31k|    PyObject *bases = lookup_tp_bases(type);
 8954|  1.31k|    if (bases == NULL) {
  ------------------
  |  Branch (8954:9): [True: 414, False: 901]
  ------------------
 8955|    414|        PyTypeObject *base = type->tp_base;
 8956|    414|        if (base == NULL) {
  ------------------
  |  Branch (8956:13): [True: 2, False: 412]
  ------------------
 8957|      2|            bases = PyTuple_New(0);
 8958|      2|        }
 8959|    412|        else {
 8960|    412|            bases = PyTuple_Pack(1, base);
 8961|    412|        }
 8962|    414|        if (bases == NULL) {
  ------------------
  |  Branch (8962:13): [True: 0, False: 414]
  ------------------
 8963|      0|            return -1;
 8964|      0|        }
 8965|    414|        set_tp_bases(type, bases, 1);
 8966|    414|    }
 8967|  1.31k|    return 0;
 8968|  1.31k|}
typeobject.c:type_ready_mro:
 9090|  1.31k|{
 9091|  1.31k|    ASSERT_TYPE_LOCK_HELD();
 9092|       |
 9093|  1.31k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.31k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (9093:9): [True: 414, False: 901]
  ------------------
 9094|    414|        if (!initial) {
  ------------------
  |  Branch (9094:13): [True: 0, False: 414]
  ------------------
 9095|      0|            assert(lookup_tp_mro(type) != NULL);
  ------------------
  |  Branch (9095:13): [True: 0, False: 0]
  ------------------
 9096|      0|            return 0;
 9097|      0|        }
 9098|    414|        assert(lookup_tp_mro(type) == NULL);
  ------------------
  |  Branch (9098:9): [True: 414, False: 0]
  ------------------
 9099|    414|    }
 9100|       |
 9101|       |    /* Calculate method resolution order */
 9102|  1.31k|    if (mro_internal(type, initial, NULL) < 0) {
  ------------------
  |  Branch (9102:9): [True: 0, False: 1.31k]
  ------------------
 9103|      0|        return -1;
 9104|      0|    }
 9105|  1.31k|    PyObject *mro = lookup_tp_mro(type);
 9106|  1.31k|    assert(mro != NULL);
  ------------------
  |  Branch (9106:5): [True: 1.31k, False: 0]
  ------------------
 9107|  1.31k|    assert(PyTuple_Check(mro));
  ------------------
  |  Branch (9107:5): [True: 1.31k, False: 0]
  ------------------
 9108|       |
 9109|       |    /* All bases of statically allocated type should be statically allocated,
 9110|       |       and static builtin types must have static builtin bases. */
 9111|  1.31k|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  1.31k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9111:9): [True: 414, False: 901]
  ------------------
 9112|    414|        assert(type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE);
  ------------------
  |  Branch (9112:9): [True: 414, False: 0]
  ------------------
 9113|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9114|  1.64k|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (9114:32): [True: 1.23k, False: 414]
  ------------------
 9115|  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 (9115:34): [True: 1.23k, False: 0]
  |  Branch (9115:34): [True: 1.23k, False: 0]
  ------------------
 9116|  1.23k|            if (base->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|  1.23k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9116:17): [True: 0, False: 1.23k]
  ------------------
 9117|      0|                PyErr_Format(PyExc_TypeError,
 9118|      0|                             "type '%.100s' is not dynamically allocated but "
 9119|      0|                             "its base type '%.100s' is dynamically allocated",
 9120|      0|                             type->tp_name, base->tp_name);
 9121|      0|                return -1;
 9122|      0|            }
 9123|  2.46k|            assert(!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) ||
  ------------------
  |  Branch (9123:13): [True: 0, False: 1.23k]
  |  Branch (9123:13): [True: 1.23k, False: 0]
  ------------------
 9124|  1.23k|                   (base->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN));
 9125|  1.23k|        }
 9126|    414|    }
 9127|  1.31k|    return 0;
 9128|  1.31k|}
typeobject.c:type_ready_set_new:
 9259|  1.31k|{
 9260|  1.31k|    PyTypeObject *base = type->tp_base;
 9261|       |    /* The condition below could use some explanation.
 9262|       |
 9263|       |       It appears that tp_new is not inherited for static types whose base
 9264|       |       class is 'object'; this seems to be a precaution so that old extension
 9265|       |       types don't suddenly become callable (object.__new__ wouldn't insure the
 9266|       |       invariants that the extension type's own factory function ensures).
 9267|       |
 9268|       |       Heap types, of course, are under our control, so they do inherit tp_new;
 9269|       |       static extension types that specify some other built-in type as the
 9270|       |       default also inherit object.__new__. */
 9271|  1.31k|    if (type->tp_new == NULL
  ------------------
  |  Branch (9271:9): [True: 1.01k, False: 299]
  ------------------
 9272|  1.01k|        && base == &PyBaseObject_Type
  ------------------
  |  Branch (9272:12): [True: 275, False: 741]
  ------------------
 9273|    275|        && !(type->tp_flags & Py_TPFLAGS_HEAPTYPE))
  ------------------
  |  |  503|    275|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9273:12): [True: 128, False: 147]
  ------------------
 9274|    128|    {
 9275|    128|        if (initial) {
  ------------------
  |  Branch (9275:13): [True: 128, False: 0]
  ------------------
 9276|    128|            type_add_flags(type, Py_TPFLAGS_DISALLOW_INSTANTIATION);
  ------------------
  |  |  497|    128|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  ------------------
 9277|    128|        } else {
 9278|      0|            assert(type->tp_flags & Py_TPFLAGS_DISALLOW_INSTANTIATION);
  ------------------
  |  Branch (9278:13): [True: 0, False: 0]
  ------------------
 9279|      0|        }
 9280|    128|    }
 9281|       |
 9282|  1.31k|    if (!(type->tp_flags & Py_TPFLAGS_DISALLOW_INSTANTIATION)) {
  ------------------
  |  |  497|  1.31k|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  ------------------
  |  Branch (9282:9): [True: 1.15k, False: 156]
  ------------------
 9283|  1.15k|        if (type->tp_new != NULL) {
  ------------------
  |  Branch (9283:13): [True: 295, False: 864]
  ------------------
 9284|    295|            if (initial || base == NULL || type->tp_new != base->tp_new) {
  ------------------
  |  Branch (9284:17): [True: 295, False: 0]
  |  Branch (9284:28): [True: 0, False: 0]
  |  Branch (9284:44): [True: 0, False: 0]
  ------------------
 9285|       |                // If "__new__" key does not exists in the type dictionary,
 9286|       |                // set it to tp_new_wrapper().
 9287|    295|                if (add_tp_new_wrapper(type) < 0) {
  ------------------
  |  Branch (9287:21): [True: 0, False: 295]
  ------------------
 9288|      0|                    return -1;
 9289|      0|                }
 9290|    295|            }
 9291|    295|        }
 9292|    864|        else {
 9293|    864|            if (initial) {
  ------------------
  |  Branch (9293:17): [True: 864, False: 0]
  ------------------
 9294|       |                // tp_new is NULL: inherit tp_new from base
 9295|    864|                type->tp_new = base->tp_new;
 9296|    864|            }
 9297|    864|        }
 9298|  1.15k|    }
 9299|    156|    else {
 9300|       |        // Py_TPFLAGS_DISALLOW_INSTANTIATION sets tp_new to NULL
 9301|    156|        if (initial) {
  ------------------
  |  Branch (9301:13): [True: 156, False: 0]
  ------------------
 9302|    156|            type->tp_new = NULL;
 9303|    156|        }
 9304|    156|    }
 9305|  1.31k|    return 0;
 9306|  1.31k|}
typeobject.c:add_tp_new_wrapper:
10346|    295|{
10347|    295|    PyObject *dict = lookup_tp_dict(type);
10348|    295|    int r = PyDict_Contains(dict, &_Py_ID(__new__));
  ------------------
  |  |  921|    295|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    295|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    295|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10349|    295|    if (r > 0) {
  ------------------
  |  Branch (10349:9): [True: 0, False: 295]
  ------------------
10350|      0|        return 0;
10351|      0|    }
10352|    295|    if (r < 0) {
  ------------------
  |  Branch (10352:9): [True: 0, False: 295]
  ------------------
10353|      0|        return -1;
10354|      0|    }
10355|       |
10356|    295|    PyObject *func = PyCFunction_NewEx(tp_new_methoddef, (PyObject *)type, NULL);
  ------------------
  |  |   87|    295|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
10357|    295|    if (func == NULL) {
  ------------------
  |  Branch (10357:9): [True: 0, False: 295]
  ------------------
10358|      0|        return -1;
10359|      0|    }
10360|    295|    _PyObject_SetDeferredRefcount(func);
10361|    295|    r = PyDict_SetItem(dict, &_Py_ID(__new__), func);
  ------------------
  |  |  921|    295|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    295|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    295|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10362|    295|    Py_DECREF(func);
  ------------------
  |  |  430|    295|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    295|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    295|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10363|    295|    return r;
10364|    295|}
typeobject.c:type_ready_fill_dict:
 9026|  1.31k|{
 9027|       |    /* Add type-specific descriptors to tp_dict */
 9028|  1.31k|    if (add_operators(type) < 0) {
  ------------------
  |  Branch (9028:9): [True: 0, False: 1.31k]
  ------------------
 9029|      0|        return -1;
 9030|      0|    }
 9031|  1.31k|    if (type_add_methods(type) < 0) {
  ------------------
  |  Branch (9031:9): [True: 0, False: 1.31k]
  ------------------
 9032|      0|        return -1;
 9033|      0|    }
 9034|  1.31k|    if (type_add_members(type) < 0) {
  ------------------
  |  Branch (9034:9): [True: 0, False: 1.31k]
  ------------------
 9035|      0|        return -1;
 9036|      0|    }
 9037|  1.31k|    if (type_add_getset(type) < 0) {
  ------------------
  |  Branch (9037:9): [True: 0, False: 1.31k]
  ------------------
 9038|      0|        return -1;
 9039|      0|    }
 9040|  1.31k|    if (type_dict_set_doc(type) < 0) {
  ------------------
  |  Branch (9040:9): [True: 0, False: 1.31k]
  ------------------
 9041|      0|        return -1;
 9042|      0|    }
 9043|  1.31k|    return 0;
 9044|  1.31k|}
typeobject.c:add_operators:
12303|  1.31k|{
12304|  1.31k|    PyObject *dict = lookup_tp_dict(type);
12305|  1.31k|    pytype_slotdef *p;
12306|  1.31k|    PyObject *descr;
12307|  1.31k|    void **ptr;
12308|       |
12309|   124k|    for (p = slotdefs; p->name; p++) {
  ------------------
  |  Branch (12309:24): [True: 123k, False: 1.31k]
  ------------------
12310|   123k|        if (p->wrapper == NULL)
  ------------------
  |  Branch (12310:13): [True: 7.89k, False: 115k]
  ------------------
12311|  7.89k|            continue;
12312|   115k|        ptr = slotptr(type, p->offset);
12313|   115k|        if (!ptr || !*ptr)
  ------------------
  |  Branch (12313:13): [True: 24.6k, False: 91.0k]
  |  Branch (12313:21): [True: 88.4k, False: 2.57k]
  ------------------
12314|   113k|            continue;
12315|       |        /* Also ignore when the type slot has been inherited. */
12316|  2.57k|        if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN
  ------------------
  |  |  467|  5.15k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (12316:13): [True: 2.27k, False: 297]
  ------------------
12317|  2.27k|            && type->tp_base != NULL
  ------------------
  |  Branch (12317:16): [True: 2.25k, False: 26]
  ------------------
12318|  2.25k|            && slot_inherited(type, p, ptr))
  ------------------
  |  Branch (12318:16): [True: 320, False: 1.93k]
  ------------------
12319|    320|        {
12320|    320|            continue;
12321|    320|        }
12322|  2.25k|        int r = PyDict_Contains(dict, p->name_strobj);
12323|  2.25k|        if (r > 0)
  ------------------
  |  Branch (12323:13): [True: 40, False: 2.21k]
  ------------------
12324|     40|            continue;
12325|  2.21k|        if (r < 0) {
  ------------------
  |  Branch (12325:13): [True: 0, False: 2.21k]
  ------------------
12326|      0|            return -1;
12327|      0|        }
12328|  2.21k|        if (*ptr == (void *)PyObject_HashNotImplemented) {
  ------------------
  |  Branch (12328:13): [True: 19, False: 2.19k]
  ------------------
12329|       |            /* Classes may prevent the inheritance of the tp_hash
12330|       |               slot by storing PyObject_HashNotImplemented in it. Make it
12331|       |               visible as a None value for the __hash__ attribute. */
12332|     19|            if (PyDict_SetItem(dict, p->name_strobj, Py_None) < 0)
  ------------------
  |  |  616|     19|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12332:17): [True: 0, False: 19]
  ------------------
12333|      0|                return -1;
12334|     19|        }
12335|  2.19k|        else {
12336|  2.19k|            descr = PyDescr_NewWrapper(type, p, *ptr);
12337|  2.19k|            if (descr == NULL)
  ------------------
  |  Branch (12337:17): [True: 0, False: 2.19k]
  ------------------
12338|      0|                return -1;
12339|  2.19k|            if (PyDict_SetItem(dict, p->name_strobj, descr) < 0) {
  ------------------
  |  Branch (12339:17): [True: 0, False: 2.19k]
  ------------------
12340|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12341|      0|                return -1;
12342|      0|            }
12343|  2.19k|            Py_DECREF(descr);
  ------------------
  |  |  430|  2.19k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12344|  2.19k|        }
12345|  2.21k|    }
12346|  1.31k|    return 0;
12347|  1.31k|}
typeobject.c:slot_inherited:
12253|  2.25k|{
12254|  2.25k|    void **slot_base = slotptr(type->tp_base, slotdef->offset);
12255|  2.25k|    if (slot_base == NULL || *slot != *slot_base) {
  ------------------
  |  Branch (12255:9): [True: 766, False: 1.48k]
  |  Branch (12255:30): [True: 1.16k, False: 322]
  ------------------
12256|  1.93k|        return 0;
12257|  1.93k|    }
12258|       |
12259|       |    /* Some slots are inherited in pairs. */
12260|    322|    if (slot == (void *)&type->tp_hash) {
  ------------------
  |  Branch (12260:9): [True: 2, False: 320]
  ------------------
12261|      2|        return (type->tp_richcompare == type->tp_base->tp_richcompare);
12262|      2|    }
12263|    320|    else if (slot == (void *)&type->tp_richcompare) {
  ------------------
  |  Branch (12263:14): [True: 0, False: 320]
  ------------------
12264|      0|        return (type->tp_hash == type->tp_base->tp_hash);
12265|      0|    }
12266|       |
12267|       |    /* It must be inherited (see type_ready_inherit()). */
12268|    320|    return 1;
12269|    322|}
typeobject.c:type_add_methods:
 8520|  1.31k|{
 8521|  1.31k|    PyMethodDef *meth = type->tp_methods;
 8522|  1.31k|    if (meth == NULL) {
  ------------------
  |  Branch (8522:9): [True: 990, False: 325]
  ------------------
 8523|    990|        return 0;
 8524|    990|    }
 8525|       |
 8526|  2.10k|    for (; meth->ml_name != NULL; meth++) {
  ------------------
  |  Branch (8526:12): [True: 1.78k, False: 325]
  ------------------
 8527|  1.78k|        if (type_add_method(type, meth) < 0) {
  ------------------
  |  Branch (8527:13): [True: 0, False: 1.78k]
  ------------------
 8528|      0|            return -1;
 8529|      0|        }
 8530|  1.78k|    }
 8531|    325|    return 0;
 8532|    325|}
typeobject.c:type_add_members:
 8537|  1.31k|{
 8538|  1.31k|    PyMemberDef *memb = type->tp_members;
 8539|  1.31k|    if (memb == NULL) {
  ------------------
  |  Branch (8539:9): [True: 356, False: 959]
  ------------------
 8540|    356|        return 0;
 8541|    356|    }
 8542|       |
 8543|    959|    PyObject *dict = lookup_tp_dict(type);
 8544|  1.65k|    for (; memb->name != NULL; memb++) {
  ------------------
  |  Branch (8544:12): [True: 692, False: 959]
  ------------------
 8545|    692|        PyObject *descr = PyDescr_NewMember(type, memb);
 8546|    692|        if (descr == NULL)
  ------------------
  |  Branch (8546:13): [True: 0, False: 692]
  ------------------
 8547|      0|            return -1;
 8548|       |
 8549|    692|        if (PyDict_SetDefaultRef(dict, PyDescr_NAME(descr), descr, NULL) < 0) {
  ------------------
  |  |   36|    692|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
  |  Branch (8549:13): [True: 0, False: 692]
  ------------------
 8550|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8551|      0|            return -1;
 8552|      0|        }
 8553|    692|        Py_DECREF(descr);
  ------------------
  |  |  430|    692|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    692|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    692|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8554|    692|    }
 8555|    959|    return 0;
 8556|    959|}
typeobject.c:type_add_getset:
 8561|  1.31k|{
 8562|  1.31k|    PyGetSetDef *gsp = type->tp_getset;
 8563|  1.31k|    if (gsp == NULL) {
  ------------------
  |  Branch (8563:9): [True: 1.18k, False: 132]
  ------------------
 8564|  1.18k|        return 0;
 8565|  1.18k|    }
 8566|       |
 8567|    132|    PyObject *dict = lookup_tp_dict(type);
 8568|    591|    for (; gsp->name != NULL; gsp++) {
  ------------------
  |  Branch (8568:12): [True: 459, False: 132]
  ------------------
 8569|    459|        PyObject *descr = PyDescr_NewGetSet(type, gsp);
 8570|    459|        if (descr == NULL) {
  ------------------
  |  Branch (8570:13): [True: 0, False: 459]
  ------------------
 8571|      0|            return -1;
 8572|      0|        }
 8573|       |
 8574|    459|        if (PyDict_SetDefaultRef(dict, PyDescr_NAME(descr), descr, NULL) < 0) {
  ------------------
  |  |   36|    459|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
  |  Branch (8574:13): [True: 0, False: 459]
  ------------------
 8575|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8576|      0|            return -1;
 8577|      0|        }
 8578|    459|        Py_DECREF(descr);
  ------------------
  |  |  430|    459|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    459|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    459|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8579|    459|    }
 8580|    132|    return 0;
 8581|    132|}
typeobject.c:type_dict_set_doc:
 8991|  1.31k|{
 8992|  1.31k|    PyObject *dict = lookup_tp_dict(type);
 8993|  1.31k|    int r = PyDict_Contains(dict, &_Py_ID(__doc__));
  ------------------
  |  |  921|  1.31k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.31k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.31k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8994|  1.31k|    if (r < 0) {
  ------------------
  |  Branch (8994:9): [True: 0, False: 1.31k]
  ------------------
 8995|      0|        return -1;
 8996|      0|    }
 8997|  1.31k|    if (r > 0) {
  ------------------
  |  Branch (8997:9): [True: 308, False: 1.00k]
  ------------------
 8998|    308|        return 0;
 8999|    308|    }
 9000|       |
 9001|  1.00k|    if (type->tp_doc != NULL) {
  ------------------
  |  Branch (9001:9): [True: 366, False: 641]
  ------------------
 9002|    366|        const char *doc_str;
 9003|    366|        doc_str = _PyType_DocWithoutSignature(type->tp_name, type->tp_doc);
 9004|    366|        PyObject *doc = PyUnicode_FromString(doc_str);
 9005|    366|        if (doc == NULL) {
  ------------------
  |  Branch (9005:13): [True: 0, False: 366]
  ------------------
 9006|      0|            return -1;
 9007|      0|        }
 9008|       |
 9009|    366|        if (PyDict_SetItem(dict, &_Py_ID(__doc__), doc) < 0) {
  ------------------
  |  |  921|    366|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    366|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    366|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9009:13): [True: 0, False: 366]
  ------------------
 9010|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9011|      0|            return -1;
 9012|      0|        }
 9013|    366|        Py_DECREF(doc);
  ------------------
  |  |  430|    366|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    366|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    366|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9014|    366|    }
 9015|    641|    else {
 9016|    641|        if (PyDict_SetItem(dict, &_Py_ID(__doc__), Py_None) < 0) {
  ------------------
  |  |  921|    641|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    641|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    641|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PyDict_SetItem(dict, &_Py_ID(__doc__), Py_None) < 0) {
  ------------------
  |  |  616|    641|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9016:13): [True: 0, False: 641]
  ------------------
 9017|      0|            return -1;
 9018|      0|        }
 9019|    641|    }
 9020|  1.00k|    return 0;
 9021|  1.00k|}
typeobject.c:type_ready_inherit:
 9165|  1.31k|{
 9166|  1.31k|    ASSERT_TYPE_LOCK_HELD();
 9167|       |
 9168|       |    /* Inherit special flags from dominant base */
 9169|  1.31k|    PyTypeObject *base = type->tp_base;
 9170|  1.31k|    if (base != NULL) {
  ------------------
  |  Branch (9170:9): [True: 1.31k, False: 2]
  ------------------
 9171|  1.31k|        inherit_special(type, base);
 9172|  1.31k|    }
 9173|       |
 9174|       |    // Inherit slots
 9175|  1.31k|    PyObject *mro = lookup_tp_mro(type);
 9176|  1.31k|    assert(mro != NULL);
  ------------------
  |  Branch (9176:5): [True: 1.31k, False: 0]
  ------------------
 9177|  1.31k|    Py_ssize_t n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|  1.31k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9178|  4.48k|    for (Py_ssize_t i = 1; i < n; i++) {
  ------------------
  |  Branch (9178:28): [True: 3.17k, False: 1.31k]
  ------------------
 9179|  3.17k|        PyObject *b = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|  3.17k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.17k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9179:23): [True: 3.17k, False: 0]
  ------------------
 9180|  3.17k|        if (PyType_Check(b)) {
  ------------------
  |  |  766|  3.17k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 3.17k, False: 0]
  |  |  ------------------
  ------------------
 9181|  3.17k|            if (inherit_slots(type, (PyTypeObject *)b) < 0) {
  ------------------
  |  Branch (9181:17): [True: 0, False: 3.17k]
  ------------------
 9182|      0|                return -1;
 9183|      0|            }
 9184|  3.17k|            inherit_patma_flags(type, (PyTypeObject *)b);
 9185|  3.17k|        }
 9186|  3.17k|    }
 9187|       |
 9188|  1.31k|    if (base != NULL) {
  ------------------
  |  Branch (9188:9): [True: 1.31k, False: 2]
  ------------------
 9189|  1.31k|        type_ready_inherit_as_structs(type, base);
 9190|  1.31k|    }
 9191|       |
 9192|       |    /* Sanity check for tp_free. */
 9193|  1.31k|    if (_PyType_IS_GC(type) && (type->tp_flags & Py_TPFLAGS_BASETYPE) &&
  ------------------
  |  |  820|  2.63k|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  1.31k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (820:26): [True: 1.24k, False: 72]
  |  |  ------------------
  ------------------
                  if (_PyType_IS_GC(type) && (type->tp_flags & Py_TPFLAGS_BASETYPE) &&
  ------------------
  |  |  506|  1.24k|#define Py_TPFLAGS_BASETYPE (1UL << 10)
  ------------------
  |  Branch (9193:32): [True: 1.01k, False: 229]
  ------------------
 9194|  1.01k|        (type->tp_free == NULL || type->tp_free == PyObject_Free))
  ------------------
  |  Branch (9194:10): [True: 0, False: 1.01k]
  |  Branch (9194:35): [True: 0, False: 1.01k]
  ------------------
 9195|      0|    {
 9196|       |        /* This base class needs to call tp_free, but doesn't have
 9197|       |         * one, or its tp_free is for non-gc'ed objects.
 9198|       |         */
 9199|      0|        PyErr_Format(PyExc_TypeError, "type '%.100s' participates in "
 9200|      0|                     "gc and is a base type but has inappropriate "
 9201|      0|                     "tp_free slot",
 9202|      0|                     type->tp_name);
 9203|      0|        return -1;
 9204|      0|    }
 9205|       |
 9206|  1.31k|    return 0;
 9207|  1.31k|}
typeobject.c:inherit_special:
 8586|  1.31k|{
 8587|       |    /* Copying tp_traverse and tp_clear is connected to the GC flags */
 8588|  1.31k|    if (!(type->tp_flags & Py_TPFLAGS_HAVE_GC) &&
  ------------------
  |  |  524|  1.31k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8588:9): [True: 84, False: 1.22k]
  ------------------
 8589|     84|        (base->tp_flags & Py_TPFLAGS_HAVE_GC) &&
  ------------------
  |  |  524|     84|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8589:9): [True: 14, False: 70]
  ------------------
 8590|     14|        (!type->tp_traverse && !type->tp_clear)) {
  ------------------
  |  Branch (8590:10): [True: 14, False: 0]
  |  Branch (8590:32): [True: 14, False: 0]
  ------------------
 8591|     14|        type_add_flags(type, Py_TPFLAGS_HAVE_GC);
  ------------------
  |  |  524|     14|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 8592|     14|        if (type->tp_traverse == NULL)
  ------------------
  |  Branch (8592:13): [True: 14, False: 0]
  ------------------
 8593|     14|            type->tp_traverse = base->tp_traverse;
 8594|     14|        if (type->tp_clear == NULL)
  ------------------
  |  Branch (8594:13): [True: 14, False: 0]
  ------------------
 8595|     14|            type->tp_clear = base->tp_clear;
 8596|     14|    }
 8597|  1.31k|    type_add_flags(type, base->tp_flags & Py_TPFLAGS_PREHEADER);
  ------------------
  |  |  487|  1.31k|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|  1.31k|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|  1.31k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
 8598|       |
 8599|  1.31k|    if (type->tp_basicsize == 0)
  ------------------
  |  Branch (8599:9): [True: 18, False: 1.29k]
  ------------------
 8600|     18|        type->tp_basicsize = base->tp_basicsize;
 8601|       |
 8602|       |    /* Copy other non-function slots */
 8603|       |
 8604|  1.31k|#define COPYVAL(SLOT) \
 8605|  1.31k|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
 8606|       |
 8607|  1.31k|    COPYVAL(tp_itemsize);
  ------------------
  |  | 8605|  1.31k|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
  |  |  ------------------
  |  |  |  Branch (8605:9): [True: 1.23k, False: 79]
  |  |  ------------------
  ------------------
 8608|  1.31k|    COPYVAL(tp_weaklistoffset);
  ------------------
  |  | 8605|  1.31k|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
  |  |  ------------------
  |  |  |  Branch (8605:9): [True: 1.05k, False: 261]
  |  |  ------------------
  ------------------
 8609|  1.31k|    COPYVAL(tp_dictoffset);
  ------------------
  |  | 8605|  1.31k|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
  |  |  ------------------
  |  |  |  Branch (8605:9): [True: 983, False: 330]
  |  |  ------------------
  ------------------
 8610|       |
 8611|  1.31k|#undef COPYVAL
 8612|       |
 8613|       |    /* Setup fast subclass flags */
 8614|  1.31k|    PyObject *mro = lookup_tp_mro(base);
 8615|  1.31k|    unsigned long flags = 0;
 8616|  1.31k|    if (is_subtype_with_mro(mro, base, (PyTypeObject*)PyExc_BaseException)) {
  ------------------
  |  Branch (8616:9): [True: 173, False: 1.14k]
  ------------------
 8617|    173|        flags |= Py_TPFLAGS_BASE_EXC_SUBCLASS;
  ------------------
  |  |  557|    173|#define Py_TPFLAGS_BASE_EXC_SUBCLASS    (1UL << 30)
  ------------------
 8618|    173|    }
 8619|  1.14k|    else if (is_subtype_with_mro(mro, base, &PyType_Type)) {
  ------------------
  |  Branch (8619:14): [True: 5, False: 1.13k]
  ------------------
 8620|      5|        flags |= Py_TPFLAGS_TYPE_SUBCLASS;
  ------------------
  |  |  558|      5|#define Py_TPFLAGS_TYPE_SUBCLASS        (1UL << 31)
  ------------------
 8621|      5|    }
 8622|  1.13k|    else if (is_subtype_with_mro(mro, base, &PyLong_Type)) {
  ------------------
  |  Branch (8622:14): [True: 7, False: 1.12k]
  ------------------
 8623|      7|        flags |= Py_TPFLAGS_LONG_SUBCLASS;
  ------------------
  |  |  551|      7|#define Py_TPFLAGS_LONG_SUBCLASS        (1UL << 24)
  ------------------
 8624|      7|    }
 8625|  1.12k|    else if (is_subtype_with_mro(mro, base, &PyBytes_Type)) {
  ------------------
  |  Branch (8625:14): [True: 0, False: 1.12k]
  ------------------
 8626|      0|        flags |= Py_TPFLAGS_BYTES_SUBCLASS;
  ------------------
  |  |  554|      0|#define Py_TPFLAGS_BYTES_SUBCLASS       (1UL << 27)
  ------------------
 8627|      0|    }
 8628|  1.12k|    else if (is_subtype_with_mro(mro, base, &PyUnicode_Type)) {
  ------------------
  |  Branch (8628:14): [True: 3, False: 1.12k]
  ------------------
 8629|      3|        flags |= Py_TPFLAGS_UNICODE_SUBCLASS;
  ------------------
  |  |  555|      3|#define Py_TPFLAGS_UNICODE_SUBCLASS     (1UL << 28)
  ------------------
 8630|      3|    }
 8631|  1.12k|    else if (is_subtype_with_mro(mro, base, &PyTuple_Type)) {
  ------------------
  |  Branch (8631:14): [True: 40, False: 1.08k]
  ------------------
 8632|     40|        flags |= Py_TPFLAGS_TUPLE_SUBCLASS;
  ------------------
  |  |  553|     40|#define Py_TPFLAGS_TUPLE_SUBCLASS       (1UL << 26)
  ------------------
 8633|     40|    }
 8634|  1.08k|    else if (is_subtype_with_mro(mro, base, &PyList_Type)) {
  ------------------
  |  Branch (8634:14): [True: 2, False: 1.08k]
  ------------------
 8635|      2|        flags |= Py_TPFLAGS_LIST_SUBCLASS;
  ------------------
  |  |  552|      2|#define Py_TPFLAGS_LIST_SUBCLASS        (1UL << 25)
  ------------------
 8636|      2|    }
 8637|  1.08k|    else if (is_subtype_with_mro(mro, base, &PyDict_Type)) {
  ------------------
  |  Branch (8637:14): [True: 6, False: 1.07k]
  ------------------
 8638|      6|        flags |= Py_TPFLAGS_DICT_SUBCLASS;
  ------------------
  |  |  556|      6|#define Py_TPFLAGS_DICT_SUBCLASS        (1UL << 29)
  ------------------
 8639|      6|    }
 8640|       |
 8641|       |    /* Setup some inheritable flags */
 8642|  1.31k|    if (PyType_HasFeature(base, _Py_TPFLAGS_MATCH_SELF)) {
  ------------------
  |  |  545|  1.31k|#define _Py_TPFLAGS_MATCH_SELF (1UL << 22)
  ------------------
  |  Branch (8642:9): [True: 58, False: 1.25k]
  ------------------
 8643|     58|        flags |= _Py_TPFLAGS_MATCH_SELF;
  ------------------
  |  |  545|     58|#define _Py_TPFLAGS_MATCH_SELF (1UL << 22)
  ------------------
 8644|     58|    }
 8645|  1.31k|    if (PyType_HasFeature(base, Py_TPFLAGS_ITEMS_AT_END)) {
  ------------------
  |  |  548|  1.31k|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (8645:9): [True: 5, False: 1.30k]
  ------------------
 8646|      5|        flags |= Py_TPFLAGS_ITEMS_AT_END;
  ------------------
  |  |  548|      5|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
 8647|      5|    }
 8648|  1.31k|    type_add_flags(type, flags);
 8649|  1.31k|}
typeobject.c:inherit_slots:
 8666|  3.17k|{
 8667|  3.17k|    PyTypeObject *basebase;
 8668|       |
 8669|  3.17k|#undef SLOTDEFINED
 8670|  3.17k|#undef COPYSLOT
 8671|  3.17k|#undef COPYNUM
 8672|  3.17k|#undef COPYSEQ
 8673|  3.17k|#undef COPYMAP
 8674|  3.17k|#undef COPYBUF
 8675|       |
 8676|  3.17k|#define SLOTDEFINED(SLOT) \
 8677|  3.17k|    (base->SLOT != 0 && \
 8678|  3.17k|     (basebase == NULL || base->SLOT != basebase->SLOT))
 8679|       |
 8680|  3.17k|#define COPYSLOT(SLOT) \
 8681|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
 8682|       |
 8683|  3.17k|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
 8684|  3.17k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
 8685|  3.17k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
 8686|  3.17k|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
 8687|  3.17k|#define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT)
 8688|       |
 8689|       |    /* This won't inherit indirect slots (from tp_as_number etc.)
 8690|       |       if type doesn't provide the space. */
 8691|       |
 8692|  3.17k|    if (type->tp_as_number != NULL && base->tp_as_number != NULL) {
  ------------------
  |  Branch (8692:9): [True: 2.41k, False: 756]
  |  Branch (8692:39): [True: 1.32k, False: 1.09k]
  ------------------
 8693|  1.32k|        basebase = base->tp_base;
 8694|  1.32k|        if (basebase->tp_as_number == NULL)
  ------------------
  |  Branch (8694:13): [True: 772, False: 549]
  ------------------
 8695|    772|            basebase = NULL;
 8696|  1.32k|        COPYNUM(nb_add);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.30k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 14, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.30k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 7, False: 7]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 3, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.30k, False: 13]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8697|  1.32k|        COPYNUM(nb_subtract);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.27k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 22, False: 1.25k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.27k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 7, False: 15]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 11, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.27k, False: 49]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8698|  1.32k|        COPYNUM(nb_multiply);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.31k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 14, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.31k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 7, False: 7]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 3, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.31k, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8699|  1.32k|        COPYNUM(nb_remainder);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.30k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 16, False: 1.28k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.30k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 10, False: 6]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 2, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.30k, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8700|  1.32k|        COPYNUM(nb_divmod);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.30k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 11, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.30k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 7, False: 4]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 2, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.30k, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8701|  1.32k|        COPYNUM(nb_power);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.31k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 14, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.31k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 7, False: 7]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 3, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.31k, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8702|  1.32k|        COPYNUM(nb_negative);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.31k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 14, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.31k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 7, False: 7]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 3, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.31k, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8703|  1.32k|        COPYNUM(nb_positive);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.31k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 14, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.31k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 7, False: 7]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 3, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.31k, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8704|  1.32k|        COPYNUM(nb_absolute);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.31k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 14, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.31k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 7, False: 7]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 3, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.31k, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8705|  1.32k|        COPYNUM(nb_bool);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.31k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 14, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.31k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 7, False: 7]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 3, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.31k, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8706|  1.32k|        COPYNUM(nb_invert);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.31k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 5, False: 1.30k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.31k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 4, False: 1]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 1, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.31k, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8707|  1.32k|        COPYNUM(nb_lshift);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.31k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 8, False: 1.30k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.31k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.31k, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8708|  1.32k|        COPYNUM(nb_rshift);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.31k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 8, False: 1.30k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.31k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.31k, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8709|  1.32k|        COPYNUM(nb_and);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.27k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 13, False: 1.26k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.27k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 4, False: 9]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 9, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.27k, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8710|  1.32k|        COPYNUM(nb_xor);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.27k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 13, False: 1.26k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.27k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 4, False: 9]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 9, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.27k, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8711|  1.32k|        COPYNUM(nb_or);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.27k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 25, False: 1.24k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.27k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 14, False: 11]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 9, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.27k, False: 50]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8712|  1.32k|        COPYNUM(nb_int);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.31k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 8, False: 1.30k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.31k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.31k, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8713|  1.32k|        COPYNUM(nb_float);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.30k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 11, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.30k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 7, False: 4]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 2, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.30k, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8714|  1.32k|        COPYNUM(nb_inplace_add);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.31k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 1, False: 1.31k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.31k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 0, False: 1]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 1, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.31k, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8715|  1.32k|        COPYNUM(nb_inplace_subtract);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.32k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 0, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.32k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.32k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8716|  1.32k|        COPYNUM(nb_inplace_multiply);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.32k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 0, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.32k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.32k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8717|  1.32k|        COPYNUM(nb_inplace_remainder);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.32k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 0, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.32k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.32k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8718|  1.32k|        COPYNUM(nb_inplace_power);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.32k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 0, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.32k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.32k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8719|  1.32k|        COPYNUM(nb_inplace_lshift);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.32k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 0, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.32k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.32k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8720|  1.32k|        COPYNUM(nb_inplace_rshift);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.32k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 0, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.32k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.32k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8721|  1.32k|        COPYNUM(nb_inplace_and);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.32k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 0, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.32k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.32k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8722|  1.32k|        COPYNUM(nb_inplace_xor);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.32k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 0, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.32k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.32k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8723|  1.32k|        COPYNUM(nb_inplace_or);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.31k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 4, False: 1.31k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.31k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 4, False: 0]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.31k, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8724|  1.32k|        COPYNUM(nb_true_divide);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.31k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 14, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.31k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 7, False: 7]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 3, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.31k, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8725|  1.32k|        COPYNUM(nb_floor_divide);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.30k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 11, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.30k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 7, False: 4]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 2, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.30k, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8726|  1.32k|        COPYNUM(nb_inplace_true_divide);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.32k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 0, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.32k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.32k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8727|  1.32k|        COPYNUM(nb_inplace_floor_divide);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.32k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 0, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.32k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.32k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8728|  1.32k|        COPYNUM(nb_index);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.31k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 8, False: 1.30k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.31k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 7, False: 1]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.31k, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8729|  1.32k|        COPYNUM(nb_matrix_multiply);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.32k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 0, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.32k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.32k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8730|  1.32k|        COPYNUM(nb_inplace_matrix_multiply);
  ------------------
  |  | 8684|  1.32k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.32k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 0, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.32k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.32k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8731|  1.32k|    }
 8732|       |
 8733|  3.17k|    if (type->tp_as_async != NULL && base->tp_as_async != NULL) {
  ------------------
  |  Branch (8733:9): [True: 2.36k, False: 808]
  |  Branch (8733:38): [True: 1.29k, False: 1.06k]
  ------------------
 8734|  1.29k|        basebase = base->tp_base;
 8735|  1.29k|        if (basebase->tp_as_async == NULL)
  ------------------
  |  Branch (8735:13): [True: 752, False: 544]
  ------------------
 8736|    752|            basebase = NULL;
 8737|  1.29k|        COPYASYNC(am_await);
  ------------------
  |  | 8683|  1.29k|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.29k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.29k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 2, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.29k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 2, False: 0]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.29k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8738|  1.29k|        COPYASYNC(am_aiter);
  ------------------
  |  | 8683|  1.29k|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.29k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.29k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 6, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.29k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 4, False: 2]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.29k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8739|  1.29k|        COPYASYNC(am_anext);
  ------------------
  |  | 8683|  1.29k|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.29k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.29k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 2, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.29k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 0, False: 2]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.29k, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8740|  1.29k|    }
 8741|       |
 8742|  3.17k|    if (type->tp_as_sequence != NULL && base->tp_as_sequence != NULL) {
  ------------------
  |  Branch (8742:9): [True: 2.39k, False: 778]
  |  Branch (8742:41): [True: 1.32k, False: 1.06k]
  ------------------
 8743|  1.32k|        basebase = base->tp_base;
 8744|  1.32k|        if (basebase->tp_as_sequence == NULL)
  ------------------
  |  Branch (8744:13): [True: 782, False: 547]
  ------------------
 8745|    782|            basebase = NULL;
 8746|  1.32k|        COPYSEQ(sq_length);
  ------------------
  |  | 8685|  1.32k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.23k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 121, False: 1.11k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.23k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 57, False: 64]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 7, False: 57]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.23k, False: 90]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8747|  1.32k|        COPYSEQ(sq_concat);
  ------------------
  |  | 8685|  1.32k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.32k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 32, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.32k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 29, False: 3]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.32k, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8748|  1.32k|        COPYSEQ(sq_repeat);
  ------------------
  |  | 8685|  1.32k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.32k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 32, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.32k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 29, False: 3]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.32k, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8749|  1.32k|        COPYSEQ(sq_item);
  ------------------
  |  | 8685|  1.32k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.26k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 46, False: 1.22k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.26k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 26, False: 20]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 15, False: 5]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.26k, False: 63]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8750|  1.32k|        COPYSEQ(sq_ass_item);
  ------------------
  |  | 8685|  1.32k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.30k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 7, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.30k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 2, False: 5]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 5, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.30k, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8751|  1.32k|        COPYSEQ(sq_contains);
  ------------------
  |  | 8685|  1.32k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.21k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 86, False: 1.12k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.21k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 36, False: 50]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 30, False: 20]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.21k, False: 117]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8752|  1.32k|        COPYSEQ(sq_inplace_concat);
  ------------------
  |  | 8685|  1.32k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.32k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 2, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.32k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 2, False: 0]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.32k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8753|  1.32k|        COPYSEQ(sq_inplace_repeat);
  ------------------
  |  | 8685|  1.32k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.32k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.32k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 2, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.32k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 2, False: 0]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.32k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8754|  1.32k|    }
 8755|       |
 8756|  3.17k|    if (type->tp_as_mapping != NULL && base->tp_as_mapping != NULL) {
  ------------------
  |  Branch (8756:9): [True: 2.39k, False: 774]
  |  Branch (8756:40): [True: 1.33k, False: 1.06k]
  ------------------
 8757|  1.33k|        basebase = base->tp_base;
 8758|  1.33k|        if (basebase->tp_as_mapping == NULL)
  ------------------
  |  Branch (8758:13): [True: 786, False: 547]
  ------------------
 8759|    786|            basebase = NULL;
 8760|  1.33k|        COPYMAP(mp_length);
  ------------------
  |  | 8686|  1.33k|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.33k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.24k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 127, False: 1.11k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.24k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 63, False: 64]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 7, False: 57]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.24k, False: 90]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8761|  1.33k|        COPYMAP(mp_subscript);
  ------------------
  |  | 8686|  1.33k|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.33k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.27k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 57, False: 1.21k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.27k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 37, False: 20]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 12, False: 8]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.27k, False: 60]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8762|  1.33k|        COPYMAP(mp_ass_subscript);
  ------------------
  |  | 8686|  1.33k|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.33k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.30k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 11, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.30k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 6, False: 5]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 5, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.30k, False: 28]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8763|  1.33k|    }
 8764|       |
 8765|  3.17k|    if (type->tp_as_buffer != NULL && base->tp_as_buffer != NULL) {
  ------------------
  |  Branch (8765:9): [True: 2.36k, False: 810]
  |  Branch (8765:39): [True: 1.29k, False: 1.06k]
  ------------------
 8766|  1.29k|        basebase = base->tp_base;
 8767|  1.29k|        if (basebase->tp_as_buffer == NULL)
  ------------------
  |  Branch (8767:13): [True: 752, False: 544]
  ------------------
 8768|    752|            basebase = NULL;
 8769|  1.29k|        COPYBUF(bf_getbuffer);
  ------------------
  |  | 8687|  1.29k|#define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.29k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.29k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 0, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.29k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.29k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8770|  1.29k|        COPYBUF(bf_releasebuffer);
  ------------------
  |  | 8687|  1.29k|#define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT)
  |  |  ------------------
  |  |  |  | 8681|  1.29k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8677|  1.29k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8677:6): [True: 0, False: 1.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8678|  1.29k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8678:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8678:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8681:9): [True: 1.29k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8771|  1.29k|    }
 8772|       |
 8773|  3.17k|    basebase = base->tp_base;
 8774|       |
 8775|  3.17k|    COPYSLOT(tp_dealloc);
  ------------------
  |  | 8681|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8677|     34|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8677:6): [True: 34, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8678|     34|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8678:7): [True: 16, False: 18]
  |  |  |  |  |  Branch (8678:27): [True: 12, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8681:9): [True: 34, False: 3.13k]
  |  |  ------------------
  ------------------
 8776|  3.17k|    if (type->tp_getattr == NULL && type->tp_getattro == NULL) {
  ------------------
  |  Branch (8776:9): [True: 3.17k, False: 0]
  |  Branch (8776:37): [True: 1.07k, False: 2.09k]
  ------------------
 8777|  1.07k|        type->tp_getattr = base->tp_getattr;
 8778|  1.07k|        type->tp_getattro = base->tp_getattro;
 8779|  1.07k|    }
 8780|  3.17k|    if (type->tp_setattr == NULL && type->tp_setattro == NULL) {
  ------------------
  |  Branch (8780:9): [True: 3.17k, False: 0]
  |  Branch (8780:37): [True: 1.28k, False: 1.88k]
  ------------------
 8781|  1.28k|        type->tp_setattr = base->tp_setattr;
 8782|  1.28k|        type->tp_setattro = base->tp_setattro;
 8783|  1.28k|    }
 8784|  3.17k|    COPYSLOT(tp_repr);
  ------------------
  |  | 8681|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8677|  2.45k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8677:6): [True: 2.45k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8678|  2.45k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8678:7): [True: 744, False: 1.71k]
  |  |  |  |  |  Branch (8678:27): [True: 345, False: 1.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8681:9): [True: 2.45k, False: 714]
  |  |  ------------------
  ------------------
 8785|       |    /* tp_hash see tp_richcompare */
 8786|  3.17k|    {
 8787|       |        /* Always inherit tp_vectorcall_offset to support PyVectorcall_Call().
 8788|       |         * If Py_TPFLAGS_HAVE_VECTORCALL is not inherited, then vectorcall
 8789|       |         * won't be used automatically. */
 8790|  3.17k|        COPYSLOT(tp_vectorcall_offset);
  ------------------
  |  | 8681|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8677|  3.13k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8677:6): [True: 13, False: 3.12k]
  |  |  |  |  ------------------
  |  |  |  | 8678|  3.13k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8678:7): [True: 0, False: 13]
  |  |  |  |  |  Branch (8678:27): [True: 11, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8681:9): [True: 3.13k, False: 31]
  |  |  ------------------
  ------------------
 8791|       |
 8792|       |        /* Inherit Py_TPFLAGS_HAVE_VECTORCALL if tp_call is not overridden */
 8793|  3.17k|        if (!type->tp_call &&
  ------------------
  |  Branch (8793:13): [True: 3.12k, False: 49]
  ------------------
 8794|  3.12k|            _PyType_HasFeature(base, Py_TPFLAGS_HAVE_VECTORCALL))
  ------------------
  |  |  510|  3.12k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (8794:13): [True: 13, False: 3.10k]
  ------------------
 8795|     13|        {
 8796|     13|            type_add_flags(type, Py_TPFLAGS_HAVE_VECTORCALL);
  ------------------
  |  |  510|     13|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
 8797|     13|        }
 8798|  3.17k|        COPYSLOT(tp_call);
  ------------------
  |  | 8681|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8677|  3.12k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8677:6): [True: 15, False: 3.10k]
  |  |  |  |  ------------------
  |  |  |  | 8678|  3.12k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8678:7): [True: 0, False: 15]
  |  |  |  |  |  Branch (8678:27): [True: 13, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8681:9): [True: 3.12k, False: 49]
  |  |  ------------------
  ------------------
 8799|  3.17k|    }
 8800|  3.17k|    COPYSLOT(tp_str);
  ------------------
  |  | 8681|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8677|  2.80k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8677:6): [True: 2.80k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8678|  2.80k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8678:7): [True: 1.10k, False: 1.69k]
  |  |  |  |  |  Branch (8678:27): [True: 161, False: 1.53k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8681:9): [True: 2.80k, False: 366]
  |  |  ------------------
  ------------------
 8801|  3.17k|    {
 8802|       |        /* Copy comparison-related slots only when
 8803|       |           not overriding them anywhere */
 8804|  3.17k|        if (type->tp_richcompare == NULL &&
  ------------------
  |  Branch (8804:13): [True: 1.26k, False: 1.91k]
  ------------------
 8805|  1.26k|            type->tp_hash == NULL)
  ------------------
  |  Branch (8805:13): [True: 1.25k, False: 10]
  ------------------
 8806|  1.25k|        {
 8807|  1.25k|            int r = overrides_hash(type);
 8808|  1.25k|            if (r < 0) {
  ------------------
  |  Branch (8808:17): [True: 0, False: 1.25k]
  ------------------
 8809|      0|                return -1;
 8810|      0|            }
 8811|  1.25k|            if (!r) {
  ------------------
  |  Branch (8811:17): [True: 1.19k, False: 57]
  ------------------
 8812|  1.19k|                type->tp_richcompare = base->tp_richcompare;
 8813|  1.19k|                type->tp_hash = base->tp_hash;
 8814|  1.19k|            }
 8815|  1.25k|        }
 8816|  3.17k|    }
 8817|  3.17k|    {
 8818|  3.17k|        COPYSLOT(tp_iter);
  ------------------
  |  | 8681|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8677|  2.59k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8677:6): [True: 254, False: 2.34k]
  |  |  |  |  ------------------
  |  |  |  | 8678|  2.59k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8678:7): [True: 0, False: 254]
  |  |  |  |  |  Branch (8678:27): [True: 198, False: 56]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8681:9): [True: 2.59k, False: 574]
  |  |  ------------------
  ------------------
 8819|  3.17k|        COPYSLOT(tp_iternext);
  ------------------
  |  | 8681|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8677|  2.10k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8677:6): [True: 932, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  | 8678|  2.10k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8678:7): [True: 0, False: 932]
  |  |  |  |  |  Branch (8678:27): [True: 602, False: 330]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8681:9): [True: 2.10k, False: 1.06k]
  |  |  ------------------
  ------------------
 8820|  3.17k|    }
 8821|  3.17k|    {
 8822|  3.17k|        COPYSLOT(tp_descr_get);
  ------------------
  |  | 8681|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8677|  3.13k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8677:6): [True: 7, False: 3.12k]
  |  |  |  |  ------------------
  |  |  |  | 8678|  3.13k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8678:7): [True: 0, False: 7]
  |  |  |  |  |  Branch (8678:27): [True: 7, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8681:9): [True: 3.13k, False: 34]
  |  |  ------------------
  ------------------
 8823|       |        /* Inherit Py_TPFLAGS_METHOD_DESCRIPTOR if tp_descr_get was inherited,
 8824|       |         * but only for extension types */
 8825|  3.17k|        if (base->tp_descr_get &&
  ------------------
  |  Branch (8825:13): [True: 7, False: 3.16k]
  ------------------
 8826|      7|            type->tp_descr_get == base->tp_descr_get &&
  ------------------
  |  Branch (8826:13): [True: 7, False: 0]
  ------------------
 8827|      7|            _PyType_HasFeature(type, Py_TPFLAGS_IMMUTABLETYPE) &&
  ------------------
  |  |  500|      7|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (8827:13): [True: 0, False: 7]
  ------------------
 8828|      0|            _PyType_HasFeature(base, Py_TPFLAGS_METHOD_DESCRIPTOR))
  ------------------
  |  |  534|      0|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (8828:13): [True: 0, False: 0]
  ------------------
 8829|      0|        {
 8830|      0|            type_add_flags(type, Py_TPFLAGS_METHOD_DESCRIPTOR);
  ------------------
  |  |  534|      0|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
 8831|      0|        }
 8832|  3.17k|        COPYSLOT(tp_descr_set);
  ------------------
  |  | 8681|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8677|  3.16k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8677:6): [True: 3, False: 3.15k]
  |  |  |  |  ------------------
  |  |  |  | 8678|  3.16k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8678:7): [True: 0, False: 3]
  |  |  |  |  |  Branch (8678:27): [True: 3, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8681:9): [True: 3.16k, False: 10]
  |  |  ------------------
  ------------------
 8833|  3.17k|        COPYSLOT(tp_dictoffset);
  ------------------
  |  | 8681|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8677|    638|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8677:6): [True: 0, False: 638]
  |  |  |  |  ------------------
  |  |  |  | 8678|    638|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8678:7): [True: 0, False: 0]
  |  |  |  |  |  Branch (8678:27): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8681:9): [True: 638, False: 2.53k]
  |  |  ------------------
  ------------------
 8834|  3.17k|        COPYSLOT(tp_init);
  ------------------
  |  | 8681|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8677|  1.75k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8677:6): [True: 1.75k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8678|  1.75k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8678:7): [True: 591, False: 1.16k]
  |  |  |  |  |  Branch (8678:27): [True: 533, False: 635]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8681:9): [True: 1.75k, False: 1.41k]
  |  |  ------------------
  ------------------
 8835|  3.17k|        COPYSLOT(tp_alloc);
  ------------------
  |  | 8681|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8677|    917|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8677:6): [True: 917, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8678|    917|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8678:7): [True: 457, False: 460]
  |  |  |  |  |  Branch (8678:27): [True: 0, False: 460]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8681:9): [True: 917, False: 2.25k]
  |  |  ------------------
  ------------------
 8836|  3.17k|        COPYSLOT(tp_is_gc);
  ------------------
  |  | 8681|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8677|  3.16k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8677:6): [True: 7, False: 3.15k]
  |  |  |  |  ------------------
  |  |  |  | 8678|  3.16k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8678:7): [True: 0, False: 7]
  |  |  |  |  |  Branch (8678:27): [True: 5, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8681:9): [True: 3.16k, False: 7]
  |  |  ------------------
  ------------------
 8837|  3.17k|        COPYSLOT(tp_finalize);
  ------------------
  |  | 8681|  3.17k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8677|  3.13k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8677:6): [True: 48, False: 3.08k]
  |  |  |  |  ------------------
  |  |  |  | 8678|  3.13k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8678:7): [True: 0, False: 48]
  |  |  |  |  |  Branch (8678:27): [True: 26, False: 22]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8681:9): [True: 3.13k, False: 40]
  |  |  ------------------
  ------------------
 8838|  3.17k|        if ((type->tp_flags & Py_TPFLAGS_HAVE_GC) ==
  ------------------
  |  |  524|  3.17k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8838:13): [True: 1.91k, False: 1.25k]
  ------------------
 8839|  3.17k|            (base->tp_flags & Py_TPFLAGS_HAVE_GC)) {
  ------------------
  |  |  524|  3.17k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 8840|       |            /* They agree about gc. */
 8841|  1.91k|            COPYSLOT(tp_free);
  ------------------
  |  | 8681|  1.91k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8677|    518|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8677:6): [True: 518, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8678|    518|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8678:7): [True: 54, False: 464]
  |  |  |  |  |  Branch (8678:27): [True: 206, False: 258]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8681:9): [True: 518, False: 1.40k]
  |  |  ------------------
  ------------------
 8842|  1.91k|        }
 8843|  1.25k|        else if ((type->tp_flags & Py_TPFLAGS_HAVE_GC) &&
  ------------------
  |  |  524|  1.25k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8843:18): [True: 1.25k, False: 0]
  ------------------
 8844|  1.25k|                 type->tp_free == NULL &&
  ------------------
  |  Branch (8844:18): [True: 158, False: 1.09k]
  ------------------
 8845|    158|                 base->tp_free == PyObject_Free) {
  ------------------
  |  Branch (8845:18): [True: 158, False: 0]
  ------------------
 8846|       |            /* A bit of magic to plug in the correct default
 8847|       |             * tp_free function when a derived class adds gc,
 8848|       |             * didn't define tp_free, and the base uses the
 8849|       |             * default non-gc tp_free.
 8850|       |             */
 8851|    158|            type->tp_free = PyObject_GC_Del;
 8852|    158|        }
 8853|       |        /* else they didn't agree about gc, and there isn't something
 8854|       |         * obvious to be done -- the type is on its own.
 8855|       |         */
 8856|  3.17k|    }
 8857|  3.17k|    return 0;
 8858|  3.17k|}
typeobject.c:overrides_hash:
 8653|  1.25k|{
 8654|  1.25k|    PyObject *dict = lookup_tp_dict(type);
 8655|       |
 8656|  1.25k|    assert(dict != NULL);
  ------------------
  |  Branch (8656:5): [True: 1.25k, False: 0]
  ------------------
 8657|  1.25k|    int r = PyDict_Contains(dict, &_Py_ID(__eq__));
  ------------------
  |  |  921|  1.25k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.25k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.25k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8658|  1.25k|    if (r == 0) {
  ------------------
  |  Branch (8658:9): [True: 1.19k, False: 52]
  ------------------
 8659|  1.19k|        r = PyDict_Contains(dict, &_Py_ID(__hash__));
  ------------------
  |  |  921|  1.19k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.19k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.19k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8660|  1.19k|    }
 8661|  1.25k|    return r;
 8662|  1.25k|}
typeobject.c:inherit_patma_flags:
 9157|  3.17k|inherit_patma_flags(PyTypeObject *type, PyTypeObject *base) {
 9158|  3.17k|    if ((type->tp_flags & COLLECTION_FLAGS) == 0) {
  ------------------
  |  | 8863|  3.17k|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|  3.17k|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|  3.17k|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
  |  Branch (9158:9): [True: 3.03k, False: 137]
  ------------------
 9159|  3.03k|        type_add_flags(type, base->tp_flags & COLLECTION_FLAGS);
  ------------------
  |  | 8863|  3.03k|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|  3.03k|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|  3.03k|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
 9160|  3.03k|    }
 9161|  3.17k|}
typeobject.c:type_ready_inherit_as_structs:
 9138|  1.31k|{
 9139|  1.31k|    if (type->tp_as_async == NULL) {
  ------------------
  |  Branch (9139:9): [True: 400, False: 913]
  ------------------
 9140|    400|        type->tp_as_async = base->tp_as_async;
 9141|    400|    }
 9142|  1.31k|    if (type->tp_as_number == NULL) {
  ------------------
  |  Branch (9142:9): [True: 354, False: 959]
  ------------------
 9143|    354|        type->tp_as_number = base->tp_as_number;
 9144|    354|    }
 9145|  1.31k|    if (type->tp_as_sequence == NULL) {
  ------------------
  |  Branch (9145:9): [True: 370, False: 943]
  ------------------
 9146|    370|        type->tp_as_sequence = base->tp_as_sequence;
 9147|    370|    }
 9148|  1.31k|    if (type->tp_as_mapping == NULL) {
  ------------------
  |  Branch (9148:9): [True: 368, False: 945]
  ------------------
 9149|    368|        type->tp_as_mapping = base->tp_as_mapping;
 9150|    368|    }
 9151|  1.31k|    if (type->tp_as_buffer == NULL) {
  ------------------
  |  Branch (9151:9): [True: 402, False: 911]
  ------------------
 9152|    402|        type->tp_as_buffer = base->tp_as_buffer;
 9153|    402|    }
 9154|  1.31k|}
typeobject.c:type_ready_preheader:
 9048|  1.31k|{
 9049|  1.31k|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|  1.31k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (9049:9): [True: 525, False: 790]
  ------------------
 9050|    525|        if (type->tp_dictoffset > 0 || type->tp_dictoffset < -1) {
  ------------------
  |  Branch (9050:13): [True: 0, False: 525]
  |  Branch (9050:40): [True: 0, False: 525]
  ------------------
 9051|      0|            PyErr_Format(PyExc_TypeError,
 9052|      0|                        "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9053|      0|                        "but tp_dictoffset is set",
 9054|      0|                        type->tp_name);
 9055|      0|            return -1;
 9056|      0|        }
 9057|    525|        if (!(type->tp_flags & Py_TPFLAGS_HAVE_GC)) {
  ------------------
  |  |  524|    525|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9057:13): [True: 0, False: 525]
  ------------------
 9058|      0|            PyErr_Format(PyExc_SystemError,
 9059|      0|                        "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9060|      0|                        "but not Py_TPFLAGS_HAVE_GC flag",
 9061|      0|                        type->tp_name);
 9062|      0|            return -1;
 9063|      0|        }
 9064|    525|        type->tp_dictoffset = -1;
 9065|    525|    }
 9066|  1.31k|    if (type->tp_flags & Py_TPFLAGS_MANAGED_WEAKREF) {
  ------------------
  |  |  477|  1.31k|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  ------------------
  |  Branch (9066:9): [True: 690, False: 625]
  ------------------
 9067|    690|        if (type->tp_weaklistoffset != 0 &&
  ------------------
  |  Branch (9067:13): [True: 676, False: 14]
  ------------------
 9068|    676|            type->tp_weaklistoffset != MANAGED_WEAKREF_OFFSET)
  ------------------
  |  |  924|    676|#  define MANAGED_WEAKREF_OFFSET (((Py_ssize_t)sizeof(PyObject *))*-4)
  ------------------
  |  Branch (9068:13): [True: 0, False: 676]
  ------------------
 9069|      0|        {
 9070|      0|            PyErr_Format(PyExc_TypeError,
 9071|      0|                        "type %s has the Py_TPFLAGS_MANAGED_WEAKREF flag "
 9072|      0|                        "but tp_weaklistoffset is set",
 9073|      0|                        type->tp_name);
 9074|      0|            return -1;
 9075|      0|        }
 9076|    690|        if (!(type->tp_flags & Py_TPFLAGS_HAVE_GC)) {
  ------------------
  |  |  524|    690|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9076:13): [True: 0, False: 690]
  ------------------
 9077|      0|            PyErr_Format(PyExc_SystemError,
 9078|      0|                        "type %s has the Py_TPFLAGS_MANAGED_WEAKREF flag "
 9079|      0|                        "but not Py_TPFLAGS_HAVE_GC flag",
 9080|      0|                        type->tp_name);
 9081|      0|            return -1;
 9082|      0|        }
 9083|    690|        type->tp_weaklistoffset = MANAGED_WEAKREF_OFFSET;
  ------------------
  |  |  924|    690|#  define MANAGED_WEAKREF_OFFSET (((Py_ssize_t)sizeof(PyObject *))*-4)
  ------------------
 9084|    690|    }
 9085|  1.31k|    return 0;
 9086|  1.31k|}
typeobject.c:type_ready_set_hash:
 9217|  1.31k|{
 9218|  1.31k|    if (type->tp_hash != NULL) {
  ------------------
  |  Branch (9218:9): [True: 1.26k, False: 46]
  ------------------
 9219|  1.26k|        return 0;
 9220|  1.26k|    }
 9221|       |
 9222|     46|    PyObject *dict = lookup_tp_dict(type);
 9223|     46|    int r = PyDict_Contains(dict, &_Py_ID(__hash__));
  ------------------
  |  |  921|     46|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     46|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     46|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9224|     46|    if (r < 0) {
  ------------------
  |  Branch (9224:9): [True: 0, False: 46]
  ------------------
 9225|      0|        return -1;
 9226|      0|    }
 9227|     46|    if (r > 0) {
  ------------------
  |  Branch (9227:9): [True: 11, False: 35]
  ------------------
 9228|     11|        return 0;
 9229|     11|    }
 9230|       |
 9231|     35|    if (PyDict_SetItem(dict, &_Py_ID(__hash__), Py_None) < 0) {
  ------------------
  |  |  921|     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 (9231:9): [True: 0, False: 35]
  ------------------
 9232|      0|        return -1;
 9233|      0|    }
 9234|     35|    type->tp_hash = PyObject_HashNotImplemented;
 9235|     35|    return 0;
 9236|     35|}
typeobject.c:type_ready_add_subclasses:
 9242|  1.31k|{
 9243|  1.31k|    PyObject *bases = lookup_tp_bases(type);
 9244|  1.31k|    Py_ssize_t nbase = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  1.31k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9245|  2.82k|    for (Py_ssize_t i = 0; i < nbase; i++) {
  ------------------
  |  Branch (9245:28): [True: 1.50k, False: 1.31k]
  ------------------
 9246|  1.50k|        PyObject *b = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|  1.50k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.50k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9246:23): [True: 1.50k, False: 0]
  ------------------
 9247|  1.50k|        if (PyType_Check(b) && add_subclass((PyTypeObject *)b, type) < 0) {
  ------------------
  |  |  766|  3.01k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 1.50k, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (9247:32): [True: 0, False: 1.50k]
  ------------------
 9248|      0|            return -1;
 9249|      0|        }
 9250|  1.50k|    }
 9251|  1.31k|    return 0;
 9252|  1.31k|}
typeobject.c:type_ready_managed_dict:
 9310|  1.31k|{
 9311|  1.31k|    if (!(type->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  1.31k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (9311:9): [True: 790, False: 525]
  ------------------
 9312|    790|        return 0;
 9313|    790|    }
 9314|    525|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    525|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9314:9): [True: 0, False: 525]
  ------------------
 9315|      0|        PyErr_Format(PyExc_SystemError,
 9316|      0|                     "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9317|      0|                     "but not Py_TPFLAGS_HEAPTYPE flag",
 9318|      0|                     type->tp_name);
 9319|      0|        return -1;
 9320|      0|    }
 9321|    525|    PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 9322|    525|    if (et->ht_cached_keys == NULL) {
  ------------------
  |  Branch (9322:9): [True: 525, False: 0]
  ------------------
 9323|    525|        et->ht_cached_keys = _PyDict_NewKeysForClass(et);
 9324|    525|        if (et->ht_cached_keys == NULL) {
  ------------------
  |  Branch (9324:13): [True: 0, False: 525]
  ------------------
 9325|      0|            PyErr_NoMemory();
 9326|      0|            return -1;
 9327|      0|        }
 9328|    525|    }
 9329|    525|    if (type->tp_itemsize == 0) {
  ------------------
  |  Branch (9329:9): [True: 517, False: 8]
  ------------------
 9330|    517|        type_add_flags(type, Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  |  472|    517|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
 9331|    517|    }
 9332|    525|    return 0;
 9333|    525|}
typeobject.c:type_ready_post_checks:
 9337|  1.31k|{
 9338|       |    // bpo-44263: tp_traverse is required if Py_TPFLAGS_HAVE_GC is set.
 9339|       |    // Note: tp_clear is optional.
 9340|  1.31k|    if (type->tp_flags & Py_TPFLAGS_HAVE_GC
  ------------------
  |  |  524|  2.63k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9340:9): [True: 1.24k, False: 72]
  ------------------
 9341|  1.24k|        && type->tp_traverse == NULL)
  ------------------
  |  Branch (9341:12): [True: 0, False: 1.24k]
  ------------------
 9342|      0|    {
 9343|      0|        PyErr_Format(PyExc_SystemError,
 9344|      0|                     "type %s has the Py_TPFLAGS_HAVE_GC flag "
 9345|      0|                     "but has no traverse function",
 9346|      0|                     type->tp_name);
 9347|      0|        return -1;
 9348|      0|    }
 9349|  1.31k|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|  1.31k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (9349:9): [True: 525, False: 790]
  ------------------
 9350|    525|        if (type->tp_dictoffset != -1) {
  ------------------
  |  Branch (9350:13): [True: 0, False: 525]
  ------------------
 9351|      0|            PyErr_Format(PyExc_SystemError,
 9352|      0|                        "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9353|      0|                        "but tp_dictoffset is set to incompatible value",
 9354|      0|                        type->tp_name);
 9355|      0|            return -1;
 9356|      0|        }
 9357|    525|    }
 9358|    790|    else if (type->tp_dictoffset < (Py_ssize_t)sizeof(PyObject)) {
  ------------------
  |  Branch (9358:14): [True: 436, False: 354]
  ------------------
 9359|    436|        if (type->tp_dictoffset + type->tp_basicsize <= 0) {
  ------------------
  |  Branch (9359:13): [True: 0, False: 436]
  ------------------
 9360|      0|            PyErr_Format(PyExc_SystemError,
 9361|      0|                         "type %s has a tp_dictoffset that is too small",
 9362|      0|                         type->tp_name);
 9363|      0|            return -1;
 9364|      0|        }
 9365|    436|    }
 9366|  1.31k|    return 0;
 9367|  1.31k|}
typeobject.c:stop_readying:
  484|  1.31k|{
  485|  1.31k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  1.31k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (485:9): [True: 414, False: 901]
  ------------------
  486|    414|        PyInterpreterState *interp = _PyInterpreterState_GET();
  487|    414|        managed_static_type_state *state = managed_static_type_state_get(interp, type);
  488|    414|        assert(state != NULL);
  ------------------
  |  Branch (488:9): [True: 414, False: 0]
  ------------------
  489|    414|        assert(state->readying);
  ------------------
  |  Branch (489:9): [True: 414, False: 0]
  ------------------
  490|    414|        state->readying = 0;
  491|    414|        return;
  492|    414|    }
  493|  1.31k|    assert(type->tp_flags & Py_TPFLAGS_READYING);
  ------------------
  |  Branch (493:5): [True: 901, False: 0]
  ------------------
  494|    901|    type_clear_flags(type, Py_TPFLAGS_READYING);
  ------------------
  |  |  521|    901|#define Py_TPFLAGS_READYING (1UL << 13)
  ------------------
  495|    901|}
typeobject.c:init_static_type:
 9487|    414|{
 9488|    414|    assert(_Py_IsImmortal((PyObject *)self));
  ------------------
  |  Branch (9488:5): [True: 414, False: 0]
  ------------------
 9489|    414|    assert(!(self->tp_flags & Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  Branch (9489:5): [True: 414, False: 0]
  ------------------
 9490|    414|    assert(!(self->tp_flags & Py_TPFLAGS_MANAGED_DICT));
  ------------------
  |  Branch (9490:5): [True: 414, False: 0]
  ------------------
 9491|    414|    assert(!(self->tp_flags & Py_TPFLAGS_MANAGED_WEAKREF));
  ------------------
  |  Branch (9491:5): [True: 414, False: 0]
  ------------------
 9492|       |
 9493|    414|    if (initial) {
  ------------------
  |  Branch (9493:9): [True: 414, False: 0]
  ------------------
 9494|    414|        assert((self->tp_flags & Py_TPFLAGS_READY) == 0);
  ------------------
  |  Branch (9494:9): [True: 414, False: 0]
  ------------------
 9495|       |
 9496|    414|        type_add_flags(self, _Py_TPFLAGS_STATIC_BUILTIN);
  ------------------
  |  |  467|    414|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
 9497|    414|        type_add_flags(self, Py_TPFLAGS_IMMUTABLETYPE);
  ------------------
  |  |  500|    414|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
 9498|       |
 9499|    414|        if (self->tp_version_tag == 0) {
  ------------------
  |  Branch (9499:13): [True: 392, False: 22]
  ------------------
 9500|    392|            unsigned int next_version_tag = next_global_version_tag();
 9501|    392|            assert(next_version_tag != 0);
  ------------------
  |  Branch (9501:13): [True: 392, False: 0]
  ------------------
 9502|    392|            _PyType_SetVersion(self, next_version_tag);
 9503|    392|        }
 9504|    414|    }
 9505|      0|    else {
 9506|      0|        assert(!initial);
  ------------------
  |  Branch (9506:9): [True: 0, False: 0]
  ------------------
 9507|      0|        assert(self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN);
  ------------------
  |  Branch (9507:9): [True: 0, False: 0]
  ------------------
 9508|      0|        assert(self->tp_version_tag != 0);
  ------------------
  |  Branch (9508:9): [True: 0, False: 0]
  ------------------
 9509|      0|    }
 9510|       |
 9511|    414|    managed_static_type_state_init(interp, self, isbuiltin, initial);
 9512|       |
 9513|    414|    int res;
 9514|    414|    BEGIN_TYPE_LOCK();
 9515|    414|    res = type_ready(self, initial);
 9516|    414|    END_TYPE_LOCK();
 9517|    414|    if (res < 0) {
  ------------------
  |  Branch (9517:9): [True: 0, False: 414]
  ------------------
 9518|      0|        _PyStaticType_ClearWeakRefs(interp, self);
 9519|      0|        managed_static_type_state_clear(interp, self, isbuiltin, initial);
 9520|      0|    }
 9521|    414|    return res;
 9522|    414|}
typeobject.c:managed_static_type_state_init:
  298|    414|{
  299|    414|    assert(interp->runtime == &_PyRuntime);
  ------------------
  |  Branch (299:5): [True: 414, False: 0]
  ------------------
  300|       |
  301|    414|    size_t index;
  302|    414|    if (initial) {
  ------------------
  |  Branch (302:9): [True: 414, False: 0]
  ------------------
  303|    414|        assert(!managed_static_type_index_is_set(self));
  ------------------
  |  Branch (303:9): [True: 414, False: 0]
  ------------------
  304|    414|        if (isbuiltin) {
  ------------------
  |  Branch (304:13): [True: 402, False: 12]
  ------------------
  305|    402|            index = interp->types.builtins.num_initialized;
  306|    402|            assert(index < _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES);
  ------------------
  |  Branch (306:13): [True: 402, False: 0]
  ------------------
  307|    402|        }
  308|     12|        else {
  309|     12|            PyMutex_Lock(&interp->types.mutex);
  ------------------
  |  |   59|     12|#define PyMutex_Lock _PyMutex_Lock
  ------------------
  310|     12|            index = interp->types.for_extensions.next_index;
  311|     12|            interp->types.for_extensions.next_index++;
  312|     12|            PyMutex_Unlock(&interp->types.mutex);
  ------------------
  |  |   70|     12|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
  313|     12|            assert(index < _Py_MAX_MANAGED_STATIC_EXT_TYPES);
  ------------------
  |  Branch (313:13): [True: 12, False: 0]
  ------------------
  314|     12|        }
  315|    414|        managed_static_type_index_set(self, index);
  316|    414|    }
  317|      0|    else {
  318|      0|        index = managed_static_type_index_get(self);
  319|      0|        if (isbuiltin) {
  ------------------
  |  Branch (319:13): [True: 0, False: 0]
  ------------------
  320|      0|            assert(index == interp->types.builtins.num_initialized);
  ------------------
  |  Branch (320:13): [True: 0, False: 0]
  ------------------
  321|      0|            assert(index < _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES);
  ------------------
  |  Branch (321:13): [True: 0, False: 0]
  ------------------
  322|      0|        }
  323|      0|        else {
  324|      0|            assert(index < _Py_MAX_MANAGED_STATIC_EXT_TYPES);
  ------------------
  |  Branch (324:13): [True: 0, False: 0]
  ------------------
  325|      0|        }
  326|      0|    }
  327|    414|    size_t full_index = isbuiltin
  ------------------
  |  Branch (327:25): [True: 402, False: 12]
  ------------------
  328|    414|        ? index
  329|    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
  |  |  ------------------
  ------------------
  330|       |
  331|    414|    assert((initial == 1) ==
  ------------------
  |  Branch (331:5): [True: 414, False: 0]
  ------------------
  332|    414|            (_Py_atomic_load_int64(&_PyRuntime.types.managed_static.types[full_index].interp_count) == 0));
  333|    414|    (void)_Py_atomic_add_int64(
  334|    414|            &_PyRuntime.types.managed_static.types[full_index].interp_count, 1);
  335|       |
  336|    414|    if (initial) {
  ------------------
  |  Branch (336:9): [True: 414, False: 0]
  ------------------
  337|    414|        assert(_PyRuntime.types.managed_static.types[full_index].type == NULL);
  ------------------
  |  Branch (337:9): [True: 414, False: 0]
  ------------------
  338|    414|        _PyRuntime.types.managed_static.types[full_index].type = self;
  339|    414|    }
  340|      0|    else {
  341|      0|        assert(_PyRuntime.types.managed_static.types[full_index].type == self);
  ------------------
  |  Branch (341:9): [True: 0, False: 0]
  ------------------
  342|      0|    }
  343|       |
  344|    414|    managed_static_type_state *state = isbuiltin
  ------------------
  |  Branch (344:40): [True: 402, False: 12]
  ------------------
  345|    414|        ? &(interp->types.builtins.initialized[index])
  346|    414|        : &(interp->types.for_extensions.initialized[index]);
  347|       |
  348|       |    /* It should only be called once for each builtin type per interpreter. */
  349|    414|    assert(state->type == NULL);
  ------------------
  |  Branch (349:5): [True: 414, False: 0]
  ------------------
  350|    414|    state->type = self;
  351|    414|    state->isbuiltin = isbuiltin;
  352|       |
  353|       |    /* state->tp_subclasses is left NULL until init_subclasses() sets it. */
  354|       |    /* state->tp_weaklist is left NULL until insert_head() or insert_after()
  355|       |       (in weakrefobject.c) sets it. */
  356|       |
  357|    414|    if (isbuiltin) {
  ------------------
  |  Branch (357:9): [True: 402, False: 12]
  ------------------
  358|    402|        interp->types.builtins.num_initialized++;
  359|    402|    }
  360|     12|    else {
  361|     12|        interp->types.for_extensions.num_initialized++;
  362|     12|    }
  363|    414|}
typeobject.c:managed_static_type_index_set:
  234|    414|{
  235|    414|    assert(index < _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES);
  ------------------
  |  Branch (235:5): [True: 414, False: 0]
  ------------------
  236|       |    /* We store a 1-based index so 0 can mean "not initialized". */
  237|    414|    self->tp_subclasses = (PyObject *)(index + 1);
  238|    414|}
typeobject.c:vectorcall_method:
 3047|    598|{
 3048|    598|    assert(nargs >= 1);
  ------------------
  |  Branch (3048:5): [True: 598, False: 0]
  ------------------
 3049|       |
 3050|    598|    PyThreadState *tstate = _PyThreadState_GET();
 3051|    598|    PyObject *retval = NULL;
 3052|    598|    PyObject *self = args[0];
 3053|    598|    _PyCStackRef cref;
 3054|    598|    _PyThreadState_PushCStackRef(tstate, &cref);
 3055|    598|    int unbound = lookup_method(self, name, &cref.ref);
 3056|    598|    if (unbound >= 0) {
  ------------------
  |  Branch (3056:9): [True: 598, False: 0]
  ------------------
 3057|    598|        PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3058|    598|        retval = vectorcall_unbound(tstate, unbound, func, args, nargs);
 3059|    598|    }
 3060|    598|    _PyThreadState_PopCStackRef(tstate, &cref);
 3061|    598|    return retval;
 3062|    598|}
typeobject.c:check_num_args:
 9658|     36|{
 9659|     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 (9659:9): [True: 0, False: 36]
  ------------------
 9660|      0|        PyErr_SetString(PyExc_SystemError,
 9661|      0|            "PyArg_UnpackTuple() argument list is not a tuple");
 9662|      0|        return 0;
 9663|      0|    }
 9664|     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 (9664:9): [True: 36, False: 0]
  ------------------
 9665|     36|        return 1;
 9666|      0|    PyErr_Format(
 9667|      0|        PyExc_TypeError,
 9668|      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 (9668:47): [True: 0, False: 0]
  ------------------
 9669|      0|    return 0;
 9670|     36|}
typeobject.c:slot_tp_setattro:
10888|    142|{
10889|    142|    PyObject *stack[3];
10890|    142|    PyObject *res;
10891|       |
10892|    142|    stack[0] = self;
10893|    142|    stack[1] = name;
10894|    142|    if (value == NULL) {
  ------------------
  |  Branch (10894:9): [True: 36, False: 106]
  ------------------
10895|     36|        res = vectorcall_method(&_Py_ID(__delattr__), stack, 2);
  ------------------
  |  |  921|     36|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     36|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     36|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10896|     36|    }
10897|    106|    else {
10898|    106|        stack[2] = value;
10899|    106|        res = vectorcall_method(&_Py_ID(__setattr__), stack, 3);
  ------------------
  |  |  921|    106|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    106|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    106|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10900|    106|    }
10901|    142|    if (res == NULL)
  ------------------
  |  Branch (10901:9): [True: 0, False: 142]
  ------------------
10902|      0|        return -1;
10903|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10904|    142|    return 0;
10905|    142|}
typeobject.c:wrap_setattr:
10030|    106|{
10031|    106|    setattrofunc func = (setattrofunc)wrapped;
10032|    106|    int res;
10033|    106|    PyObject *name, *value;
10034|       |
10035|    106|    if (!PyArg_UnpackTuple(args, "__setattr__", 2, 2, &name, &value))
  ------------------
  |  Branch (10035:9): [True: 0, False: 106]
  ------------------
10036|      0|        return NULL;
10037|    106|    if (!hackcheck(self, func, "__setattr__"))
  ------------------
  |  Branch (10037:9): [True: 0, False: 106]
  ------------------
10038|      0|        return NULL;
10039|    106|    res = (*func)(self, name, value);
10040|    106|    if (res < 0)
  ------------------
  |  Branch (10040:9): [True: 0, False: 106]
  ------------------
10041|      0|        return NULL;
10042|    106|    Py_RETURN_NONE;
  ------------------
  |  |  628|    106|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    106|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10043|    106|}
typeobject.c:hackcheck:
10016|    142|{
10017|    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 (10017:9): [True: 48, False: 94]
  ------------------
10018|     48|        return 1;
10019|     48|    }
10020|       |
10021|     94|    int res;
10022|     94|    BEGIN_TYPE_LOCK();
10023|     94|    res = hackcheck_unlocked(self, func, what);
10024|     94|    END_TYPE_LOCK();
10025|     94|    return res;
10026|    142|}
typeobject.c:hackcheck_unlocked:
 9968|     94|{
 9969|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9970|       |
 9971|     94|    ASSERT_TYPE_LOCK_HELD();
 9972|       |
 9973|     94|    PyObject *mro = lookup_tp_mro(type);
 9974|     94|    if (!mro) {
  ------------------
  |  Branch (9974:9): [True: 0, False: 94]
  ------------------
 9975|       |        /* Probably ok not to check the call in this case. */
 9976|      0|        return 1;
 9977|      0|    }
 9978|     94|    assert(PyTuple_Check(mro));
  ------------------
  |  Branch (9978:5): [True: 94, False: 0]
  ------------------
 9979|       |
 9980|       |    /* Find the (base) type that defined the type's slot function. */
 9981|     94|    PyTypeObject *defining_type = type;
 9982|     94|    Py_ssize_t i;
 9983|    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 (9983:41): [True: 282, False: 94]
  ------------------
 9984|    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 (9984:30): [True: 282, False: 0]
  |  Branch (9984:30): [True: 282, False: 0]
  ------------------
 9985|    282|        if (base->tp_setattro == slot_tp_setattro) {
  ------------------
  |  Branch (9985:13): [True: 94, False: 188]
  ------------------
 9986|       |            /* Ignore Python classes:
 9987|       |               they never define their own C-level setattro. */
 9988|     94|        }
 9989|    188|        else if (base->tp_setattro == type->tp_setattro) {
  ------------------
  |  Branch (9989:18): [True: 0, False: 188]
  ------------------
 9990|      0|            defining_type = base;
 9991|      0|            break;
 9992|      0|        }
 9993|    564|    }
 9994|       |
 9995|       |    /* Reject calls that jump over intermediate C-level overrides. */
 9996|    188|    for (PyTypeObject *base = defining_type; base; base = base->tp_base) {
  ------------------
  |  Branch (9996:46): [True: 188, False: 0]
  ------------------
 9997|    188|        if (base->tp_setattro == func) {
  ------------------
  |  Branch (9997:13): [True: 94, False: 94]
  ------------------
 9998|       |            /* 'func' is the right slot function to call. */
 9999|     94|            break;
10000|     94|        }
10001|     94|        else if (base->tp_setattro != slot_tp_setattro) {
  ------------------
  |  Branch (10001:18): [True: 0, False: 94]
  ------------------
10002|       |            /* 'base' is not a Python class and overrides 'func'.
10003|       |               Its tp_setattro should be called instead. */
10004|      0|            PyErr_Format(PyExc_TypeError,
10005|      0|                         "can't apply this %s to %s object",
10006|      0|                         what,
10007|      0|                         type->tp_name);
10008|      0|            return 0;
10009|      0|        }
10010|    188|    }
10011|     94|    return 1;
10012|     94|}
typeobject.c:wrap_delattr:
10047|     36|{
10048|     36|    setattrofunc func = (setattrofunc)wrapped;
10049|     36|    int res;
10050|     36|    PyObject *name;
10051|       |
10052|     36|    if (!check_num_args(args, 1))
  ------------------
  |  Branch (10052:9): [True: 0, False: 36]
  ------------------
10053|      0|        return NULL;
10054|     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 (10054:12): [True: 36, False: 0]
  ------------------
10055|     36|    if (!hackcheck(self, func, "__delattr__"))
  ------------------
  |  Branch (10055:9): [True: 0, False: 36]
  ------------------
10056|      0|        return NULL;
10057|     36|    res = (*func)(self, name, NULL);
10058|     36|    if (res < 0)
  ------------------
  |  Branch (10058:9): [True: 0, False: 36]
  ------------------
10059|      0|        return NULL;
10060|     36|    Py_RETURN_NONE;
  ------------------
  |  |  628|     36|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     36|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10061|     36|}
typeobject.c:slot_tp_iter:
10943|      4|{
10944|      4|    int attr_is_none = 0;
10945|      4|    PyObject *res = maybe_call_special_no_args(self, &_Py_ID(__iter__),
  ------------------
  |  |  921|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10946|      4|                                               &attr_is_none);
10947|      4|    if (res != NULL) {
  ------------------
  |  Branch (10947:9): [True: 4, False: 0]
  ------------------
10948|      4|        return res;
10949|      4|    }
10950|      0|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (10950:14): [True: 0, False: 0]
  ------------------
10951|      0|        return NULL;
10952|      0|    }
10953|      0|    else if (attr_is_none || !has_dunder_getitem(self)) {
  ------------------
  |  Branch (10953:14): [True: 0, False: 0]
  |  Branch (10953:30): [True: 0, False: 0]
  ------------------
10954|      0|        PyErr_Format(PyExc_TypeError,
10955|      0|            "'%.200s' object is not iterable",
10956|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10957|      0|        return NULL;
10958|      0|    }
10959|      0|    return PySeqIter_New(self);
10960|      4|}
typeobject.c:slot_tp_descr_get:
10977|      4|{
10978|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10979|      4|    PyThreadState *tstate = _PyThreadState_GET();
10980|      4|    _PyCStackRef cref;
10981|      4|    _PyThreadState_PushCStackRef(tstate, &cref);
10982|      4|    _PyType_LookupStackRefAndVersion(tp, &_Py_ID(__get__), &cref.ref);
  ------------------
  |  |  921|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10983|      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]
  |  |  ------------------
  ------------------
10984|      0|        _PyThreadState_PopCStackRef(tstate, &cref);
10985|      0|#ifndef Py_GIL_DISABLED
10986|       |        /* Avoid further slowdowns */
10987|      0|        if (tp->tp_descr_get == slot_tp_descr_get)
  ------------------
  |  Branch (10987:13): [True: 0, False: 0]
  ------------------
10988|      0|            tp->tp_descr_get = NULL;
10989|      0|#endif
10990|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10991|      0|    }
10992|      4|    if (obj == NULL)
  ------------------
  |  Branch (10992:9): [True: 0, False: 4]
  ------------------
10993|      0|        obj = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
10994|      4|    if (type == NULL)
  ------------------
  |  Branch (10994:9): [True: 0, False: 4]
  ------------------
10995|      0|        type = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
10996|      4|    PyObject *get = PyStackRef_AsPyObjectBorrow(cref.ref);
10997|      4|    PyObject *stack[3] = {self, obj, type};
10998|       |    PyObject *res = PyObject_Vectorcall(get, stack, 3, NULL);
10999|      4|    _PyThreadState_PopCStackRef(tstate, &cref);
11000|      4|    return res;
11001|      4|}
typeobject.c:slot_tp_init:
11026|  49.3k|{
11027|  49.3k|    PyObject *res = call_method(self, &_Py_ID(__init__), args, kwds);
  ------------------
  |  |  921|  49.3k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  49.3k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  49.3k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11028|  49.3k|    if (res == NULL)
  ------------------
  |  Branch (11028:9): [True: 10, False: 49.3k]
  ------------------
11029|     10|        return -1;
11030|  49.3k|    if (res != Py_None) {
  ------------------
  |  |  616|  49.3k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (11030:9): [True: 0, False: 49.3k]
  ------------------
11031|      0|        PyErr_Format(PyExc_TypeError,
11032|      0|                     "__init__() should return None, not '%.200s'",
11033|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11034|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11035|      0|        return -1;
11036|      0|    }
11037|  49.3k|    Py_DECREF(res);
  ------------------
  |  |  430|  49.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  49.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  49.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11038|  49.3k|    return 0;
11039|  49.3k|}
typeobject.c:wrap_init:
10249|    390|{
10250|    390|    initproc func = (initproc)wrapped;
10251|       |
10252|    390|    if (func(self, args, kwds) < 0)
  ------------------
  |  Branch (10252:9): [True: 0, False: 390]
  ------------------
10253|      0|        return NULL;
10254|    390|    Py_RETURN_NONE;
  ------------------
  |  |  628|    390|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    390|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10255|    390|}
typeobject.c:vectorcall_maybe:
 3069|      9|{
 3070|      9|    assert(nargs >= 1);
  ------------------
  |  Branch (3070:5): [True: 9, False: 0]
  ------------------
 3071|       |
 3072|      9|    PyObject *self = args[0];
 3073|      9|    _PyCStackRef cref;
 3074|      9|    _PyThreadState_PushCStackRef(tstate, &cref);
 3075|      9|    int unbound = lookup_maybe_method(self, name, &cref.ref);
 3076|      9|    PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3077|      9|    if (func == NULL) {
  ------------------
  |  Branch (3077:9): [True: 0, False: 9]
  ------------------
 3078|      0|        _PyThreadState_PopCStackRef(tstate, &cref);
 3079|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (3079:13): [True: 0, False: 0]
  ------------------
 3080|      0|            Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 3081|      0|        }
 3082|      0|        return NULL;
 3083|      0|    }
 3084|      9|    PyObject *retval = vectorcall_unbound(tstate, unbound, func, args, nargs);
 3085|      9|    _PyThreadState_PopCStackRef(tstate, &cref);
 3086|      9|    return retval;
 3087|      9|}
typeobject.c:slot_sq_length:
10466|    145|{
10467|    145|    PyObject* stack[1] = {self};
10468|    145|    PyObject *res = vectorcall_method(&_Py_ID(__len__), stack, 1);
  ------------------
  |  |  921|    145|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    145|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    145|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10469|    145|    Py_ssize_t len;
10470|       |
10471|    145|    if (res == NULL)
  ------------------
  |  Branch (10471:9): [True: 0, False: 145]
  ------------------
10472|      0|        return -1;
10473|       |
10474|    145|    Py_SETREF(res, _PyNumber_Index(res));
  ------------------
  |  |  354|    145|    do { \
  |  |  355|    145|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    145|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|    145|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    145|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|    145|        *_tmp_dst_ptr = (src); \
  |  |  358|    145|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|    145|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 145]
  |  |  ------------------
  ------------------
10475|    145|    if (res == NULL)
  ------------------
  |  Branch (10475:9): [True: 0, False: 145]
  ------------------
10476|      0|        return -1;
10477|       |
10478|    145|    assert(PyLong_Check(res));
  ------------------
  |  Branch (10478:5): [True: 145, False: 0]
  ------------------
10479|    145|    if (_PyLong_IsNegative((PyLongObject *)res)) {
  ------------------
  |  Branch (10479:9): [True: 0, False: 145]
  ------------------
10480|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10481|      0|        PyErr_SetString(PyExc_ValueError,
10482|      0|                        "__len__() should return >= 0");
10483|      0|        return -1;
10484|      0|    }
10485|       |
10486|    145|    len = PyNumber_AsSsize_t(res, PyExc_OverflowError);
10487|    145|    assert(len >= 0 || PyErr_ExceptionMatches(PyExc_OverflowError));
  ------------------
  |  Branch (10487:5): [True: 145, False: 0]
  |  Branch (10487:5): [True: 0, False: 0]
  ------------------
10488|    145|    Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10489|    145|    return len;
10490|    145|}
typeobject.c:slot_mp_subscript:
10379|     46|FUNCNAME(PyObject *self, ARG1TYPE arg1) \
10380|     46|{ \
10381|     46|    PyObject* stack[2] = {self, arg1}; \
10382|     46|    return vectorcall_method(&_Py_ID(DUNDER), stack, 2); \
  ------------------
  |  |  921|     46|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     46|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     46|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10383|     46|}
typeobject.c:slot_mp_ass_subscript:
10564|    117|{
10565|    117|    PyObject *stack[3];
10566|    117|    PyObject *res;
10567|       |
10568|    117|    stack[0] = self;
10569|    117|    stack[1] = key;
10570|    117|    if (value == NULL) {
  ------------------
  |  Branch (10570:9): [True: 0, False: 117]
  ------------------
10571|      0|        res = vectorcall_method(&_Py_ID(__delitem__), stack, 2);
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10572|      0|    }
10573|    117|    else {
10574|    117|        stack[2] = value;
10575|    117|        res = vectorcall_method(&_Py_ID(__setitem__), stack, 3);
  ------------------
  |  |  921|    117|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    117|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    117|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10576|    117|    }
10577|       |
10578|    117|    if (res == NULL)
  ------------------
  |  Branch (10578:9): [True: 0, False: 117]
  ------------------
10579|      0|        return -1;
10580|    117|    Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10581|    117|    return 0;
10582|    117|}
typeobject.c:wrap_objobjargproc:
 9933|     85|{
 9934|     85|    objobjargproc func = (objobjargproc)wrapped;
 9935|     85|    int res;
 9936|     85|    PyObject *key, *value;
 9937|       |
 9938|     85|    if (!PyArg_UnpackTuple(args, "__setitem__", 2, 2, &key, &value))
  ------------------
  |  Branch (9938:9): [True: 0, False: 85]
  ------------------
 9939|      0|        return NULL;
 9940|     85|    res = (*func)(self, key, value);
 9941|     85|    if (res == -1 && PyErr_Occurred())
  ------------------
  |  Branch (9941:9): [True: 0, False: 85]
  |  Branch (9941:22): [True: 0, False: 0]
  ------------------
 9942|      0|        return NULL;
 9943|     85|    Py_RETURN_NONE;
  ------------------
  |  |  628|     85|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     85|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 9944|     85|}
typeobject.c:slot_sq_item:
10494|    148|{
10495|    148|    PyObject *ival = PyLong_FromSsize_t(i);
10496|    148|    if (ival == NULL) {
  ------------------
  |  Branch (10496:9): [True: 0, False: 148]
  ------------------
10497|      0|        return NULL;
10498|      0|    }
10499|    148|    PyObject *stack[2] = {self, ival};
10500|    148|    PyObject *retval = vectorcall_method(&_Py_ID(__getitem__), stack, 2);
  ------------------
  |  |  921|    148|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    148|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    148|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10501|    148|    Py_DECREF(ival);
  ------------------
  |  |  430|    148|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    148|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    148|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10502|    148|    return retval;
10503|    148|}
typeobject.c:slot_sq_contains:
10537|      6|{
10538|      6|    int attr_is_none = 0;
10539|      6|    PyObject *res = maybe_call_special_one_arg(self, &_Py_ID(__contains__), value,
  ------------------
  |  |  921|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10540|      6|                                               &attr_is_none);
10541|      6|    if (attr_is_none) {
  ------------------
  |  Branch (10541:9): [True: 0, False: 6]
  ------------------
10542|      0|        PyErr_Format(PyExc_TypeError,
10543|      0|            "'%.200s' object is not a container",
10544|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10545|      0|        return -1;
10546|      0|    }
10547|      6|    else if (res == NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (10547:14): [True: 0, False: 6]
  |  Branch (10547:29): [True: 0, False: 0]
  ------------------
10548|      0|        return -1;
10549|      0|    }
10550|      6|    else if (res == NULL) {
  ------------------
  |  Branch (10550:14): [True: 0, False: 6]
  ------------------
10551|      0|        return (int)_PySequence_IterSearch(self, value, PY_ITERSEARCH_CONTAINS);
  ------------------
  |  |   29|      0|#define PY_ITERSEARCH_CONTAINS 3
  ------------------
10552|      0|    }
10553|      6|    int result = PyObject_IsTrue(res);
10554|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10555|      6|    return result;
10556|      6|}
typeobject.c:type_get_mro:
 1700|     79|{
 1701|     79|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  186|     79|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1702|     79|    PyObject *mro = lookup_tp_mro(type);
 1703|     79|    if (mro == NULL) {
  ------------------
  |  Branch (1703:9): [True: 0, False: 79]
  ------------------
 1704|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1705|      0|    }
 1706|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1707|     79|}
typeobject.c:check_immutable_bases:
 5117|    107|{
 5118|    107|    Py_ssize_t i = 0;
 5119|    107|    if (skip_first) {
  ------------------
  |  Branch (5119:9): [True: 0, False: 107]
  ------------------
 5120|       |        // When testing the MRO, skip the type itself
 5121|      0|        i = 1;
 5122|      0|    }
 5123|    214|    for (; i<PyTuple_GET_SIZE(bases); i++) {
  ------------------
  |  |   27|    214|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    214|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    214|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5123:12): [True: 107, False: 107]
  ------------------
 5124|    107|        PyTypeObject *b = (PyTypeObject*)PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|    107|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    107|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    107|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5124:42): [True: 107, False: 0]
  ------------------
 5125|    107|        if (!b) {
  ------------------
  |  Branch (5125:13): [True: 0, False: 107]
  ------------------
 5126|      0|            return -1;
 5127|      0|        }
 5128|    107|        if (!_PyType_HasFeature(b, Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|    107|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (5128:13): [True: 0, False: 107]
  ------------------
 5129|      0|            PyErr_Format(
 5130|      0|                PyExc_TypeError,
 5131|      0|                "Creating immutable type %s from mutable base %N",
 5132|      0|                type_name, b
 5133|      0|            );
 5134|      0|            return -1;
 5135|      0|        }
 5136|    107|    }
 5137|    107|    return 0;
 5138|    107|}
typeobject.c:supercheck:
12549|  1.90k|{
12550|       |    /* Check that a super() call makes sense.  Return a type object.
12551|       |
12552|       |       obj can be a class, or an instance of one:
12553|       |
12554|       |       - If it is a class, it must be a subclass of 'type'.      This case is
12555|       |         used for class methods; the return value is obj.
12556|       |
12557|       |       - If it is an instance, it must be an instance of 'type'.  This is
12558|       |         the normal case; the return value is obj.__class__.
12559|       |
12560|       |       But... when obj is an instance, we want to allow for the case where
12561|       |       Py_TYPE(obj) is not a subclass of type, but obj.__class__ is!
12562|       |       This will allow using super() with a proxy for obj.
12563|       |    */
12564|       |
12565|       |    /* Check for first bullet above (special case) */
12566|  1.90k|    if (PyType_Check(obj) && PyType_IsSubtype((PyTypeObject *)obj, type)) {
  ------------------
  |  |  766|  3.80k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 1.44k, False: 459]
  |  |  ------------------
  ------------------
  |  Branch (12566:30): [True: 1.35k, False: 94]
  ------------------
12567|  1.35k|        return (PyTypeObject *)Py_NewRef(obj);
  ------------------
  |  |  550|  1.35k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.35k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12568|  1.35k|    }
12569|       |
12570|       |    /* Normal case */
12571|    553|    if (PyType_IsSubtype(Py_TYPE(obj), type)) {
  ------------------
  |  |  213|    553|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    553|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    553|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12571:9): [True: 553, False: 0]
  ------------------
12572|    553|        return (PyTypeObject*)Py_NewRef(Py_TYPE(obj));
  ------------------
  |  |  550|    553|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    553|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    553|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12573|    553|    }
12574|      0|    else {
12575|       |        /* Try the slow way */
12576|      0|        PyObject *class_attr;
12577|       |
12578|      0|        if (PyObject_GetOptionalAttr(obj, &_Py_ID(__class__), &class_attr) < 0) {
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12578:13): [True: 0, False: 0]
  ------------------
12579|      0|            return NULL;
12580|      0|        }
12581|      0|        if (class_attr != NULL &&
  ------------------
  |  Branch (12581:13): [True: 0, False: 0]
  ------------------
12582|      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]
  |  |  ------------------
  ------------------
12583|      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 (12583:13): [True: 0, False: 0]
  ------------------
12584|      0|        {
12585|      0|            int ok = PyType_IsSubtype(
12586|      0|                (PyTypeObject *)class_attr, type);
12587|      0|            if (ok) {
  ------------------
  |  Branch (12587:17): [True: 0, False: 0]
  ------------------
12588|      0|                return (PyTypeObject *)class_attr;
12589|      0|            }
12590|      0|        }
12591|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12592|      0|    }
12593|       |
12594|      0|    const char *type_or_instance, *obj_str;
12595|       |
12596|      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]
  |  |  ------------------
  ------------------
12597|      0|        type_or_instance = "type";
12598|      0|        obj_str = ((PyTypeObject*)obj)->tp_name;
12599|      0|    }
12600|      0|    else {
12601|      0|        type_or_instance = "instance of";
12602|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12603|      0|    }
12604|       |
12605|      0|    PyErr_Format(PyExc_TypeError,
12606|      0|                "super(type, obj): obj (%s %.200s) is not "
12607|      0|                "an instance or subtype of type (%.200s).",
12608|      0|                type_or_instance, obj_str, type->tp_name);
12609|       |
12610|       |    return NULL;
12611|    553|}
typeobject.c:do_super_lookup:
12484|  1.90k|{
12485|  1.90k|    PyObject *res;
12486|  1.90k|    int temp_su = 0;
12487|       |
12488|  1.90k|    if (su_obj_type == NULL) {
  ------------------
  |  Branch (12488:9): [True: 0, False: 1.90k]
  ------------------
12489|      0|        goto skip;
12490|      0|    }
12491|       |
12492|  1.90k|    res = _PySuper_LookupDescr(su_type, su_obj_type, name);
12493|  1.90k|    if (res != NULL) {
  ------------------
  |  Branch (12493:9): [True: 1.90k, False: 0]
  ------------------
12494|  1.90k|        if (method && _PyType_HasFeature(Py_TYPE(res), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (method && _PyType_HasFeature(Py_TYPE(res), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|    455|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (12494:13): [True: 455, False: 1.44k]
  |  Branch (12494:23): [True: 455, False: 0]
  ------------------
12495|    455|            *method = 1;
12496|    455|        }
12497|  1.44k|        else {
12498|  1.44k|            descrgetfunc f = Py_TYPE(res)->tp_descr_get;
  ------------------
  |  |  213|  1.44k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12499|  1.44k|            if (f != NULL) {
  ------------------
  |  Branch (12499:17): [True: 871, False: 578]
  ------------------
12500|    871|                PyObject *res2;
12501|    871|                res2 = f(res,
12502|       |                    /* Only pass 'obj' param if this is instance-mode super
12503|       |                    (See SF ID #743627)  */
12504|    871|                    (su_obj == (PyObject *)su_obj_type) ? NULL : su_obj,
  ------------------
  |  Branch (12504:21): [True: 773, False: 98]
  ------------------
12505|    871|                    (PyObject *)su_obj_type);
12506|    871|                Py_SETREF(res, res2);
  ------------------
  |  |  354|    871|    do { \
  |  |  355|    871|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    871|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|    871|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    871|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|    871|        *_tmp_dst_ptr = (src); \
  |  |  358|    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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|    871|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 871]
  |  |  ------------------
  ------------------
12507|    871|            }
12508|  1.44k|        }
12509|       |
12510|  1.90k|        return res;
12511|  1.90k|    }
12512|      0|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (12512:14): [True: 0, False: 0]
  ------------------
12513|      0|        return NULL;
12514|      0|    }
12515|       |
12516|      0|  skip:
12517|      0|    if (su == NULL) {
  ------------------
  |  Branch (12517:9): [True: 0, False: 0]
  ------------------
12518|      0|        PyObject *args[] = {(PyObject *)su_type, su_obj};
12519|      0|        su = (superobject *)PyObject_Vectorcall((PyObject *)&PySuper_Type, args, 2, NULL);
12520|      0|        if (su == NULL) {
  ------------------
  |  Branch (12520:13): [True: 0, False: 0]
  ------------------
12521|      0|            return NULL;
12522|      0|        }
12523|      0|        temp_su = 1;
12524|      0|    }
12525|      0|    res = PyObject_GenericGetAttr((PyObject *)su, name);
12526|      0|    if (temp_su) {
  ------------------
  |  Branch (12526:9): [True: 0, False: 0]
  ------------------
12527|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12528|      0|    }
12529|      0|    return res;
12530|      0|}
typeobject.c:super_dealloc:
12402|    786|{
12403|    786|    superobject *su = superobject_CAST(self);
  ------------------
  |  |12388|    786|#define superobject_CAST(op)    ((superobject *)(op))
  ------------------
12404|       |
12405|    786|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|    786|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    786|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    786|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12406|    786|    Py_XDECREF(su->obj);
  ------------------
  |  |  524|    786|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    786|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    786|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12407|    786|    Py_XDECREF(su->type);
  ------------------
  |  |  524|    786|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    786|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    786|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12408|    786|    Py_XDECREF(su->obj_type);
  ------------------
  |  |  524|    786|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    786|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    786|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12409|    786|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|    786|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    786|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    786|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12410|    786|}
typeobject.c:super_getattro:
12534|    786|{
12535|    786|    superobject *su = superobject_CAST(self);
  ------------------
  |  |12388|    786|#define superobject_CAST(op)    ((superobject *)(op))
  ------------------
12536|       |
12537|       |    /* We want __class__ to return the class of the super object
12538|       |       (i.e. super, or a subclass), not the class of su->obj. */
12539|    786|    if (PyUnicode_Check(name) &&
  ------------------
  |  |  103|    786|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.57k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 786, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12540|    786|        PyUnicode_GET_LENGTH(name) == 9 &&
  ------------------
  |  |  299|    786|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    786|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    786|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12540:9): [True: 0, False: 786]
  ------------------
12541|      0|        _PyUnicode_Equal(name, &_Py_ID(__class__)))
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12541:9): [True: 0, False: 0]
  ------------------
12542|      0|        return PyObject_GenericGetAttr(self, name);
12543|       |
12544|    786|    return do_super_lookup(su, su->type, su->obj, su->obj_type, name, NULL);
12545|    786|}
typeobject.c:super_init_impl:
12759|    786|super_init_impl(PyObject *self, PyTypeObject *type, PyObject *obj) {
12760|    786|    superobject *su = superobject_CAST(self);
  ------------------
  |  |12388|    786|#define superobject_CAST(op)    ((superobject *)(op))
  ------------------
12761|    786|    PyTypeObject *obj_type = NULL;
12762|    786|    if (type == NULL) {
  ------------------
  |  Branch (12762:9): [True: 14, False: 772]
  ------------------
12763|       |        /* Call super(), without args -- fill in from __class__
12764|       |           and first local variable on the stack. */
12765|     14|        PyThreadState *tstate = _PyThreadState_GET();
12766|     14|        _PyInterpreterFrame *frame = _PyThreadState_GetFrame(tstate);
12767|     14|        if (frame == NULL) {
  ------------------
  |  Branch (12767:13): [True: 0, False: 14]
  ------------------
12768|      0|            PyErr_SetString(PyExc_RuntimeError,
12769|      0|                            "super(): no current frame");
12770|      0|            return -1;
12771|      0|        }
12772|     14|        int res = super_init_without_args(frame, &type, &obj);
12773|       |
12774|     14|        if (res < 0) {
  ------------------
  |  Branch (12774:13): [True: 0, False: 14]
  ------------------
12775|      0|            return -1;
12776|      0|        }
12777|     14|    }
12778|    772|    else {
12779|    772|        Py_INCREF(type);
  ------------------
  |  |  310|    772|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    772|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    772|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12780|    772|        Py_XINCREF(obj);
  ------------------
  |  |  514|    772|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    772|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    772|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12781|    772|    }
12782|       |
12783|    786|    if (obj == Py_None) {
  ------------------
  |  |  616|    786|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12783:9): [True: 0, False: 786]
  ------------------
12784|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12785|      0|        obj = NULL;
12786|      0|    }
12787|    786|    if (obj != NULL) {
  ------------------
  |  Branch (12787:9): [True: 786, False: 0]
  ------------------
12788|    786|        obj_type = supercheck(type, obj);
12789|    786|        if (obj_type == NULL) {
  ------------------
  |  Branch (12789:13): [True: 0, False: 786]
  ------------------
12790|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12791|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12792|      0|            return -1;
12793|      0|        }
12794|    786|    }
12795|    786|    Py_XSETREF(su->type, (PyTypeObject*)type);
  ------------------
  |  |  376|    786|    do { \
  |  |  377|    786|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    786|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|    786|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    786|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|    786|        *_tmp_dst_ptr = (src); \
  |  |  380|    786|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    786|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    786|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    786|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|    786|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 786]
  |  |  ------------------
  ------------------
12796|    786|    Py_XSETREF(su->obj, obj);
  ------------------
  |  |  376|    786|    do { \
  |  |  377|    786|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    786|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|    786|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    786|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|    786|        *_tmp_dst_ptr = (src); \
  |  |  380|    786|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    786|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    786|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    786|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|    786|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 786]
  |  |  ------------------
  ------------------
12797|    786|    Py_XSETREF(su->obj_type, obj_type);
  ------------------
  |  |  376|    786|    do { \
  |  |  377|    786|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    786|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|    786|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    786|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|    786|        *_tmp_dst_ptr = (src); \
  |  |  380|    786|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    786|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    786|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    786|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|    786|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 786]
  |  |  ------------------
  ------------------
12798|    786|    return 0;
12799|    786|}
typeobject.c:super_init_without_args:
12661|     14|{
12662|     14|    PyCodeObject *co = _PyFrame_GetCode(cframe);
12663|     14|    if (co->co_argcount == 0) {
  ------------------
  |  Branch (12663:9): [True: 0, False: 14]
  ------------------
12664|      0|        PyErr_SetString(PyExc_RuntimeError,
12665|      0|                        "super(): no arguments");
12666|      0|        return -1;
12667|      0|    }
12668|       |
12669|     14|    assert(_PyFrame_GetCode(cframe)->co_nlocalsplus > 0);
  ------------------
  |  Branch (12669:5): [True: 14, False: 0]
  ------------------
12670|     14|    PyObject *firstarg = PyStackRef_AsPyObjectBorrow(_PyFrame_GetLocalsArray(cframe)[0]);
12671|     14|    if (firstarg == NULL) {
  ------------------
  |  Branch (12671:9): [True: 0, False: 14]
  ------------------
12672|      0|        PyErr_SetString(PyExc_RuntimeError, "super(): arg[0] deleted");
12673|      0|        return -1;
12674|      0|    }
12675|       |    // The first argument might be a cell.
12676|       |    // "firstarg" is a cell here unless (very unlikely) super()
12677|       |    // was called from the C-API before the first MAKE_CELL op.
12678|     14|    if ((_PyLocals_GetKind(co->co_localspluskinds, 0) & CO_FAST_CELL) &&
  ------------------
  |  |  198|     14|#define CO_FAST_CELL    (0x40)
  ------------------
  |  Branch (12678:9): [True: 0, False: 14]
  ------------------
12679|      0|            (_PyInterpreterFrame_LASTI(cframe) >= 0)) {
  ------------------
  |  |   18|      0|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  ------------------
  |  Branch (12679:13): [True: 0, False: 0]
  ------------------
12680|       |        // MAKE_CELL and COPY_FREE_VARS have no quickened forms, so no need
12681|       |        // to use _PyOpcode_Deopt here:
12682|      0|        assert(_PyCode_CODE(co)[0].op.code == MAKE_CELL ||
  ------------------
  |  Branch (12682:9): [True: 0, False: 0]
  |  Branch (12682:9): [True: 0, False: 0]
  ------------------
12683|      0|                _PyCode_CODE(co)[0].op.code == COPY_FREE_VARS);
12684|      0|        assert(PyCell_Check(firstarg));
  ------------------
  |  Branch (12684:9): [True: 0, False: 0]
  ------------------
12685|      0|        firstarg = PyCell_GetRef((PyCellObject *)firstarg);
12686|      0|        if (firstarg == NULL) {
  ------------------
  |  Branch (12686:13): [True: 0, False: 0]
  ------------------
12687|      0|            PyErr_SetString(PyExc_RuntimeError, "super(): arg[0] deleted");
12688|      0|            return -1;
12689|      0|        }
12690|      0|    }
12691|     14|    else {
12692|     14|        Py_INCREF(firstarg);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12693|     14|    }
12694|       |
12695|       |    // Look for __class__ in the free vars.
12696|     14|    PyTypeObject *type = NULL;
12697|     14|    int i = PyUnstable_Code_GetFirstFree(co);
12698|     14|    for (; i < co->co_nlocalsplus; i++) {
  ------------------
  |  Branch (12698:12): [True: 14, False: 0]
  ------------------
12699|     14|        assert((_PyLocals_GetKind(co->co_localspluskinds, i) & CO_FAST_FREE) != 0);
  ------------------
  |  Branch (12699:9): [True: 14, False: 0]
  ------------------
12700|     14|        PyObject *name = PyTuple_GET_ITEM(co->co_localsplusnames, 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 (12700:26): [True: 14, False: 0]
  ------------------
12701|     14|        assert(PyUnicode_Check(name));
  ------------------
  |  Branch (12701:9): [True: 14, False: 0]
  ------------------
12702|     14|        if (_PyUnicode_Equal(name, &_Py_ID(__class__))) {
  ------------------
  |  |  921|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12702:13): [True: 14, False: 0]
  ------------------
12703|     14|            PyObject *cell = PyStackRef_AsPyObjectBorrow(_PyFrame_GetLocalsArray(cframe)[i]);
12704|     14|            if (cell == NULL || !PyCell_Check(cell)) {
  ------------------
  |  |   18|     14|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_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 (12704:17): [True: 0, False: 14]
  |  Branch (12704:33): [True: 0, False: 14]
  ------------------
12705|      0|                PyErr_SetString(PyExc_RuntimeError,
12706|      0|                  "super(): bad __class__ cell");
12707|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12708|      0|                return -1;
12709|      0|            }
12710|     14|            type = (PyTypeObject *) PyCell_GetRef((PyCellObject *)cell);
12711|     14|            if (type == NULL) {
  ------------------
  |  Branch (12711:17): [True: 0, False: 14]
  ------------------
12712|      0|                PyErr_SetString(PyExc_RuntimeError,
12713|      0|                  "super(): empty __class__ cell");
12714|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12715|      0|                return -1;
12716|      0|            }
12717|     14|            if (!PyType_Check(type)) {
  ------------------
  |  |  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 (12717:17): [True: 0, False: 14]
  ------------------
12718|      0|                PyErr_Format(PyExc_RuntimeError,
12719|      0|                  "super(): __class__ is not a type (%s)",
12720|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12721|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12722|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12723|      0|                return -1;
12724|      0|            }
12725|     14|            break;
12726|     14|        }
12727|     14|    }
12728|     14|    if (type == NULL) {
  ------------------
  |  Branch (12728:9): [True: 0, False: 14]
  ------------------
12729|      0|        PyErr_SetString(PyExc_RuntimeError,
12730|      0|                        "super(): __class__ cell not found");
12731|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12732|      0|        return -1;
12733|      0|    }
12734|       |
12735|     14|    *type_p = type;
12736|     14|    *obj_p = firstarg;
12737|     14|    return 0;
12738|     14|}
typeobject.c:super_vectorcall:
12832|    786|{
12833|    786|    assert(PyType_Check(self));
  ------------------
  |  Branch (12833:5): [True: 786, False: 0]
  ------------------
12834|    786|    if (!_PyArg_NoKwnames("super", kwnames)) {
  ------------------
  |  |   15|    786|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 786, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
12835|      0|        return NULL;
12836|      0|    }
12837|    786|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    786|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
12838|    786|    if (!_PyArg_CheckPositional("super()", nargs, 0, 2)) {
  ------------------
  |  |   31|    786|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 786, False: 0]
  |  |  |  Branch (31:27): [True: 786, False: 0]
  |  |  ------------------
  |  |   32|    786|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
12839|      0|        return NULL;
12840|      0|    }
12841|    786|    PyTypeObject *type = NULL;
12842|    786|    PyObject *obj = NULL;
12843|    786|    PyTypeObject *self_type = (PyTypeObject *)self;
12844|    786|    PyObject *su = self_type->tp_alloc(self_type, 0);
12845|    786|    if (su == NULL) {
  ------------------
  |  Branch (12845:9): [True: 0, False: 786]
  ------------------
12846|      0|        return NULL;
12847|      0|    }
12848|       |    // 1 or 2 argument form super().
12849|    786|    if (nargs != 0) {
  ------------------
  |  Branch (12849:9): [True: 772, False: 14]
  ------------------
12850|    772|        PyObject *arg0 = args[0];
12851|    772|        if (!PyType_Check(arg0)) {
  ------------------
  |  |  766|    772|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    772|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    772|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12851:13): [True: 0, False: 772]
  ------------------
12852|      0|            PyErr_Format(PyExc_TypeError,
12853|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12854|      0|            goto fail;
12855|      0|        }
12856|    772|        type = (PyTypeObject *)arg0;
12857|    772|    }
12858|    786|    if (nargs == 2) {
  ------------------
  |  Branch (12858:9): [True: 772, False: 14]
  ------------------
12859|    772|        obj = args[1];
12860|    772|    }
12861|    786|    if (super_init_impl(su, type, obj) < 0) {
  ------------------
  |  Branch (12861:9): [True: 0, False: 786]
  ------------------
12862|      0|        goto fail;
12863|      0|    }
12864|    786|    return su;
12865|      0|fail:
12866|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12867|       |    return NULL;
12868|    786|}

_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|     21|{
 1029|     21|    struct unicode_formatter_t ctx;
 1030|       |
 1031|     21|    if (format == NULL || args == NULL) {
  ------------------
  |  Branch (1031:9): [True: 0, False: 21]
  |  Branch (1031:27): [True: 0, False: 21]
  ------------------
 1032|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1033|      0|        return NULL;
 1034|      0|    }
 1035|       |
 1036|     21|    if (ensure_unicode(format) < 0)
  ------------------
  |  |   52|     21|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (1036:9): [True: 0, False: 21]
  ------------------
 1037|      0|        return NULL;
 1038|       |
 1039|     21|    ctx.fmtstr = format;
 1040|     21|    ctx.fmtdata = PyUnicode_DATA(ctx.fmtstr);
  ------------------
  |  |  284|     21|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1041|     21|    ctx.fmtkind = PyUnicode_KIND(ctx.fmtstr);
  ------------------
  |  |  258|     21|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     42|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 21, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1042|     21|    ctx.fmtcnt = PyUnicode_GET_LENGTH(ctx.fmtstr);
  ------------------
  |  |  299|     21|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1043|     21|    ctx.fmtpos = 0;
 1044|       |
 1045|     21|    _PyUnicodeWriter_Init(&ctx.writer);
 1046|     21|    ctx.writer.min_length = ctx.fmtcnt + 100;
 1047|     21|    ctx.writer.overallocate = 1;
 1048|       |
 1049|     21|    if (PyTuple_Check(args)) {
  ------------------
  |  |   27|     21|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     21|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 21]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1050|      0|        ctx.arglen = PyTuple_Size(args);
 1051|      0|        ctx.argidx = 0;
 1052|      0|    }
 1053|     21|    else {
 1054|     21|        ctx.arglen = -1;
 1055|     21|        ctx.argidx = -2;
 1056|     21|    }
 1057|     21|    ctx.args_owned = 0;
 1058|     21|    if (PyMapping_Check(args) && !PyTuple_Check(args) && !PyUnicode_Check(args))
  ------------------
  |  |   27|     21|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     42|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (PyMapping_Check(args) && !PyTuple_Check(args) && !PyUnicode_Check(args))
  ------------------
  |  |  103|     21|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     21|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1058:9): [True: 21, False: 0]
  |  Branch (1058:34): [True: 21, False: 0]
  |  Branch (1058:58): [True: 0, False: 21]
  ------------------
 1059|      0|        ctx.dict = args;
 1060|     21|    else
 1061|     21|        ctx.dict = NULL;
 1062|     21|    ctx.args = args;
 1063|       |
 1064|     84|    while (--ctx.fmtcnt >= 0) {
  ------------------
  |  Branch (1064:12): [True: 63, False: 21]
  ------------------
 1065|     63|        if (PyUnicode_READ(ctx.fmtkind, ctx.fmtdata, ctx.fmtpos) != '%') {
  ------------------
  |  |  354|     63|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     63|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|     63|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     63|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     63|                   (index))
  ------------------
  |  Branch (1065:13): [True: 42, False: 21]
  ------------------
 1066|     42|            Py_ssize_t nonfmtpos;
 1067|       |
 1068|     42|            nonfmtpos = ctx.fmtpos++;
 1069|    315|            while (ctx.fmtcnt >= 0 &&
  ------------------
  |  Branch (1069:20): [True: 294, False: 21]
  ------------------
 1070|    294|                   PyUnicode_READ(ctx.fmtkind, ctx.fmtdata, ctx.fmtpos) != '%') {
  ------------------
  |  |  354|    294|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    294|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|    294|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    294|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    294|                   (index))
  ------------------
  |  Branch (1070:20): [True: 273, False: 21]
  ------------------
 1071|    273|                ctx.fmtpos++;
 1072|    273|                ctx.fmtcnt--;
 1073|    273|            }
 1074|     42|            if (ctx.fmtcnt < 0) {
  ------------------
  |  Branch (1074:17): [True: 21, False: 21]
  ------------------
 1075|     21|                ctx.fmtpos--;
 1076|     21|                ctx.writer.overallocate = 0;
 1077|     21|            }
 1078|       |
 1079|     42|            if (_PyUnicodeWriter_WriteSubstring(&ctx.writer, ctx.fmtstr,
  ------------------
  |  Branch (1079:17): [True: 0, False: 42]
  ------------------
 1080|     42|                                                nonfmtpos, ctx.fmtpos) < 0)
 1081|      0|                goto onError;
 1082|     42|        }
 1083|     21|        else {
 1084|     21|            ctx.fmtpos++;
 1085|     21|            if (unicode_format_arg(&ctx) == -1)
  ------------------
  |  Branch (1085:17): [True: 0, False: 21]
  ------------------
 1086|      0|                goto onError;
 1087|     21|        }
 1088|     63|    }
 1089|       |
 1090|     21|    if (ctx.argidx < ctx.arglen && !ctx.dict) {
  ------------------
  |  Branch (1090:9): [True: 0, False: 21]
  |  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|     21|    if (ctx.args_owned) {
  ------------------
  |  Branch (1099:9): [True: 0, False: 21]
  ------------------
 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|     21|    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|     21|}
unicode_format.c:unicode_format_arg:
  972|     21|{
  973|     21|    struct unicode_format_arg_t arg;
  974|     21|    PyObject *str;
  975|     21|    int ret;
  976|       |
  977|     21|    arg.ch = PyUnicode_READ(ctx->fmtkind, ctx->fmtdata, ctx->fmtpos);
  ------------------
  |  |  354|     21|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     21|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|     21|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     21|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     21|                   (index))
  ------------------
  978|     21|    if (arg.ch == '%') {
  ------------------
  |  Branch (978:9): [True: 0, False: 21]
  ------------------
  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|     21|    arg.flags = 0;
  986|     21|    arg.width = -1;
  987|     21|    arg.prec = -1;
  988|     21|    arg.sign = 0;
  989|     21|    arg.fmtstart = ctx->fmtpos - 1;
  990|     21|    arg.key = NULL;
  991|     21|    str = NULL;
  992|       |
  993|     21|    ret = unicode_format_arg_parse(ctx, &arg);
  994|     21|    if (ret == -1) {
  ------------------
  |  Branch (994:9): [True: 0, False: 21]
  ------------------
  995|      0|        goto onError;
  996|      0|    }
  997|       |
  998|     21|    ret = unicode_format_arg_format(ctx, &arg, &str);
  999|     21|    if (ret == -1) {
  ------------------
  |  Branch (999:9): [True: 0, False: 21]
  ------------------
 1000|      0|        goto onError;
 1001|      0|    }
 1002|       |
 1003|     21|    if (ret != 1) {
  ------------------
  |  Branch (1003:9): [True: 21, False: 0]
  ------------------
 1004|     21|        ret = unicode_format_arg_output(ctx, &arg, str);
 1005|     21|        Py_DECREF(str);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1006|     21|        if (ret == -1) {
  ------------------
  |  Branch (1006:13): [True: 0, False: 21]
  ------------------
 1007|      0|            goto onError;
 1008|      0|        }
 1009|     21|    }
 1010|       |
 1011|     21|    if (ctx->dict && (ctx->argidx < ctx->arglen)) {
  ------------------
  |  Branch (1011:9): [True: 0, False: 21]
  |  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|     21|    Py_XDECREF(arg.key);
  ------------------
  |  |  524|     21|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1018|     21|    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|     21|}
unicode_format.c:unicode_format_arg_parse:
  466|     21|{
  467|     21|#define FORMAT_READ(ctx) \
  468|     21|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  469|       |
  470|     21|    PyObject *v;
  471|       |
  472|     21|    if (arg->ch == '(') {
  ------------------
  |  Branch (472:9): [True: 0, False: 21]
  ------------------
  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|     21|    else {
  519|     21|        if (ctx->arglen < -1) {
  ------------------
  |  Branch (519:13): [True: 0, False: 21]
  ------------------
  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|     21|    }
  527|       |
  528|       |    /* Parse flags. Example: "%+i" => flags=F_SIGN. */
  529|     21|    while (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (529:12): [True: 21, False: 0]
  ------------------
  530|     21|        arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  468|     21|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  354|     21|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     21|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|     21|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     21|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|     21|                   (index))
  |  |  ------------------
  ------------------
  531|     21|        ctx->fmtpos++;
  532|     21|        switch (arg->ch) {
  ------------------
  |  Branch (532:17): [True: 0, False: 21]
  ------------------
  533|      0|        case '-': arg->flags |= F_LJUST; continue;
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (533:9): [True: 0, False: 21]
  ------------------
  534|      0|        case '+': arg->flags |= F_SIGN; continue;
  ------------------
  |  |   19|      0|#define F_SIGN  (1<<1)
  ------------------
  |  Branch (534:9): [True: 0, False: 21]
  ------------------
  535|      0|        case ' ': arg->flags |= F_BLANK; continue;
  ------------------
  |  |   20|      0|#define F_BLANK (1<<2)
  ------------------
  |  Branch (535:9): [True: 0, False: 21]
  ------------------
  536|      0|        case '#': arg->flags |= F_ALT; continue;
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (536:9): [True: 0, False: 21]
  ------------------
  537|      0|        case '0': arg->flags |= F_ZERO; continue;
  ------------------
  |  |   22|      0|#define F_ZERO  (1<<4)
  ------------------
  |  Branch (537:9): [True: 0, False: 21]
  ------------------
  538|     21|        }
  539|     21|        break;
  540|     21|    }
  541|       |
  542|       |    /* Parse width. Example: "%10s" => width=10 */
  543|     21|    if (arg->ch == '*') {
  ------------------
  |  Branch (543:9): [True: 0, False: 21]
  ------------------
  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|     21|    else if (arg->ch >= '0' && arg->ch <= '9') {
  ------------------
  |  Branch (575:14): [True: 21, False: 0]
  |  Branch (575:32): [True: 0, False: 21]
  ------------------
  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|     21|    if (arg->ch == '.') {
  ------------------
  |  Branch (596:9): [True: 0, False: 21]
  ------------------
  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|     21|    if (ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (651:9): [True: 21, False: 0]
  ------------------
  652|     21|        if (arg->ch == 'h' || arg->ch == 'l' || arg->ch == 'L') {
  ------------------
  |  Branch (652:13): [True: 0, False: 21]
  |  Branch (652:31): [True: 0, False: 21]
  |  Branch (652:49): [True: 0, False: 21]
  ------------------
  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|     21|    }
  659|     21|    if (ctx->fmtcnt < 0) {
  ------------------
  |  Branch (659:9): [True: 0, False: 21]
  ------------------
  660|      0|        PyErr_Format(PyExc_ValueError,
  661|      0|                     "stray %% at position %zd", arg->fmtstart);
  662|      0|        return -1;
  663|      0|    }
  664|     21|    return 0;
  665|       |
  666|     21|#undef FORMAT_READ
  667|     21|}
unicode_format.c:unicode_format_getnextarg:
   98|     21|{
   99|     21|    Py_ssize_t argidx = ctx->argidx;
  100|       |
  101|     21|    if (argidx < ctx->arglen && (allowone || ctx->arglen >= 0)) {
  ------------------
  |  Branch (101:9): [True: 21, False: 0]
  |  Branch (101:34): [True: 21, False: 0]
  |  Branch (101:46): [True: 0, False: 0]
  ------------------
  102|     21|        ctx->argidx++;
  103|     21|        if (ctx->arglen >= 0) {
  ------------------
  |  Branch (103:13): [True: 0, False: 21]
  ------------------
  104|      0|            return PyTuple_GetItem(ctx->args, argidx);
  105|      0|        }
  106|     21|        else if (allowone) {
  ------------------
  |  Branch (106:18): [True: 21, False: 0]
  ------------------
  107|     21|            return ctx->args;
  108|     21|        }
  109|     21|    }
  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|     21|}
unicode_format.c:unicode_format_arg_format:
  688|     21|{
  689|     21|    PyObject *v;
  690|     21|    _PyUnicodeWriter *writer = &ctx->writer;
  691|       |
  692|     21|    if (ctx->fmtcnt == 0)
  ------------------
  |  Branch (692:9): [True: 0, False: 21]
  ------------------
  693|      0|        ctx->writer.overallocate = 0;
  694|       |
  695|     21|    v = unicode_format_getnextarg(ctx, 1);
  696|     21|    if (v == NULL)
  ------------------
  |  Branch (696:9): [True: 0, False: 21]
  ------------------
  697|      0|        return -1;
  698|       |
  699|       |
  700|     21|    switch (arg->ch) {
  701|     21|    case 's':
  ------------------
  |  Branch (701:5): [True: 21, False: 0]
  ------------------
  702|     21|    case 'r':
  ------------------
  |  Branch (702:5): [True: 0, False: 21]
  ------------------
  703|     21|    case 'a':
  ------------------
  |  Branch (703:5): [True: 0, False: 21]
  ------------------
  704|     21|        if (PyLong_CheckExact(v) && arg->width == -1 && arg->prec == -1) {
  ------------------
  |  |   14|     21|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_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: 0, False: 21]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  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|     21|        if (PyUnicode_CheckExact(v) && arg->ch == 's') {
  ------------------
  |  |  104|     21|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (711:40): [True: 21, False: 0]
  ------------------
  712|     21|            *p_str = Py_NewRef(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  713|     21|        }
  714|      0|        else {
  715|      0|            if (arg->ch == 's')
  ------------------
  |  Branch (715:17): [True: 0, False: 0]
  ------------------
  716|      0|                *p_str = PyObject_Str(v);
  717|      0|            else if (arg->ch == 'r')
  ------------------
  |  Branch (717:22): [True: 0, False: 0]
  ------------------
  718|      0|                *p_str = PyObject_Repr(v);
  719|      0|            else
  720|      0|                *p_str = PyObject_ASCII(v);
  721|      0|        }
  722|     21|        break;
  723|       |
  724|      0|    case 'i':
  ------------------
  |  Branch (724:5): [True: 0, False: 21]
  ------------------
  725|      0|    case 'd':
  ------------------
  |  Branch (725:5): [True: 0, False: 21]
  ------------------
  726|      0|    case 'u':
  ------------------
  |  Branch (726:5): [True: 0, False: 21]
  ------------------
  727|      0|    case 'o':
  ------------------
  |  Branch (727:5): [True: 0, False: 21]
  ------------------
  728|      0|    case 'x':
  ------------------
  |  Branch (728:5): [True: 0, False: 21]
  ------------------
  729|      0|    case 'X':
  ------------------
  |  Branch (729:5): [True: 0, False: 21]
  ------------------
  730|      0|    {
  731|      0|        int ret = mainformatlong(v, ctx, arg, p_str, writer);
  732|      0|        if (ret != 0)
  ------------------
  |  Branch (732:13): [True: 0, False: 0]
  ------------------
  733|      0|            return ret;
  734|      0|        arg->sign = 1;
  735|      0|        break;
  736|      0|    }
  737|       |
  738|      0|    case 'e':
  ------------------
  |  Branch (738:5): [True: 0, False: 21]
  ------------------
  739|      0|    case 'E':
  ------------------
  |  Branch (739:5): [True: 0, False: 21]
  ------------------
  740|      0|    case 'f':
  ------------------
  |  Branch (740:5): [True: 0, False: 21]
  ------------------
  741|      0|    case 'F':
  ------------------
  |  Branch (741:5): [True: 0, False: 21]
  ------------------
  742|      0|    case 'g':
  ------------------
  |  Branch (742:5): [True: 0, False: 21]
  ------------------
  743|      0|    case 'G':
  ------------------
  |  Branch (743:5): [True: 0, False: 21]
  ------------------
  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: 21]
  ------------------
  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: 21]
  ------------------
  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|     21|    }
  808|     21|    if (*p_str == NULL)
  ------------------
  |  Branch (808:9): [True: 0, False: 21]
  ------------------
  809|      0|        return -1;
  810|     21|    assert (PyUnicode_Check(*p_str));
  ------------------
  |  Branch (810:5): [True: 21, False: 0]
  ------------------
  811|     21|    return 0;
  812|     21|}
unicode_format.c:unicode_format_arg_output:
  819|     21|{
  820|     21|    Py_ssize_t len;
  821|     21|    int kind;
  822|     21|    const void *pbuf;
  823|     21|    Py_ssize_t pindex;
  824|     21|    Py_UCS4 signchar;
  825|     21|    Py_ssize_t buflen;
  826|     21|    Py_UCS4 maxchar;
  827|     21|    Py_ssize_t sublen;
  828|     21|    _PyUnicodeWriter *writer = &ctx->writer;
  829|     21|    Py_UCS4 fill;
  830|       |
  831|     21|    fill = ' ';
  832|     21|    if (arg->sign && arg->flags & F_ZERO)
  ------------------
  |  |   22|      0|#define F_ZERO  (1<<4)
  ------------------
  |  Branch (832:9): [True: 0, False: 21]
  |  Branch (832:22): [True: 0, False: 0]
  ------------------
  833|      0|        fill = '0';
  834|       |
  835|     21|    len = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|     21|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  836|     21|    if ((arg->width == -1 || arg->width <= len)
  ------------------
  |  Branch (836:10): [True: 21, False: 0]
  |  Branch (836:30): [True: 0, False: 0]
  ------------------
  837|     21|        && (arg->prec == -1 || arg->prec >= len)
  ------------------
  |  Branch (837:13): [True: 21, False: 0]
  |  Branch (837:32): [True: 0, False: 0]
  ------------------
  838|     21|        && !(arg->flags & (F_SIGN | F_BLANK)))
  ------------------
  |  |   19|     21|#define F_SIGN  (1<<1)
  ------------------
                      && !(arg->flags & (F_SIGN | F_BLANK)))
  ------------------
  |  |   20|     21|#define F_BLANK (1<<2)
  ------------------
  |  Branch (838:12): [True: 21, False: 0]
  ------------------
  839|     21|    {
  840|       |        /* Fast path */
  841|     21|        if (_PyUnicodeWriter_WriteStr(writer, str) == -1)
  ------------------
  |  Branch (841:13): [True: 0, False: 21]
  ------------------
  842|      0|            return -1;
  843|     21|        return 0;
  844|     21|    }
  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|}

_PyLong_FormatAdvancedWriter:
 1829|    132|{
 1830|    132|    PyObject *tmp = NULL;
 1831|    132|    InternalFormatSpec format;
 1832|    132|    int result = -1;
 1833|       |
 1834|       |    /* check for the special case of zero length format spec, make
 1835|       |       it equivalent to str(obj) */
 1836|    132|    if (start == end) {
  ------------------
  |  Branch (1836:9): [True: 0, False: 132]
  ------------------
 1837|      0|        if (PyLong_CheckExact(obj))
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1838|      0|            return _PyLong_FormatWriter(writer, obj, 10, 0);
 1839|      0|        else
 1840|      0|            return format_obj(obj, writer);
 1841|      0|    }
 1842|       |
 1843|       |    /* parse the format_spec */
 1844|    132|    if (!parse_internal_render_format_spec(obj, format_spec, start, end,
  ------------------
  |  Branch (1844:9): [True: 0, False: 132]
  ------------------
 1845|    132|                                           &format, 'd', '>'))
 1846|      0|        goto done;
 1847|       |
 1848|       |    /* type conversion? */
 1849|    132|    switch (format.type) {
 1850|      0|    case 'b':
  ------------------
  |  Branch (1850:5): [True: 0, False: 132]
  ------------------
 1851|      0|    case 'c':
  ------------------
  |  Branch (1851:5): [True: 0, False: 132]
  ------------------
 1852|      0|    case 'd':
  ------------------
  |  Branch (1852:5): [True: 0, False: 132]
  ------------------
 1853|      0|    case 'o':
  ------------------
  |  Branch (1853:5): [True: 0, False: 132]
  ------------------
 1854|    132|    case 'x':
  ------------------
  |  Branch (1854:5): [True: 132, False: 0]
  ------------------
 1855|    132|    case 'X':
  ------------------
  |  Branch (1855:5): [True: 0, False: 132]
  ------------------
 1856|    132|    case 'n':
  ------------------
  |  Branch (1856:5): [True: 0, False: 132]
  ------------------
 1857|       |        /* no type conversion needed, already an int.  do the formatting */
 1858|    132|        result = format_long_internal(obj, &format, writer);
 1859|    132|        break;
 1860|       |
 1861|      0|    case 'e':
  ------------------
  |  Branch (1861:5): [True: 0, False: 132]
  ------------------
 1862|      0|    case 'E':
  ------------------
  |  Branch (1862:5): [True: 0, False: 132]
  ------------------
 1863|      0|    case 'f':
  ------------------
  |  Branch (1863:5): [True: 0, False: 132]
  ------------------
 1864|      0|    case 'F':
  ------------------
  |  Branch (1864:5): [True: 0, False: 132]
  ------------------
 1865|      0|    case 'g':
  ------------------
  |  Branch (1865:5): [True: 0, False: 132]
  ------------------
 1866|      0|    case 'G':
  ------------------
  |  Branch (1866:5): [True: 0, False: 132]
  ------------------
 1867|      0|    case '%':
  ------------------
  |  Branch (1867:5): [True: 0, False: 132]
  ------------------
 1868|       |        /* convert to float */
 1869|      0|        tmp = PyNumber_Float(obj);
 1870|      0|        if (tmp == NULL)
  ------------------
  |  Branch (1870:13): [True: 0, False: 0]
  ------------------
 1871|      0|            goto done;
 1872|      0|        result = format_float_internal(tmp, &format, writer);
 1873|      0|        break;
 1874|       |
 1875|      0|    default:
  ------------------
  |  Branch (1875:5): [True: 0, False: 132]
  ------------------
 1876|       |        /* unknown */
 1877|      0|        unknown_presentation_type(format.type, Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1878|      0|        goto done;
 1879|    132|    }
 1880|       |
 1881|    132|done:
 1882|    132|    Py_XDECREF(tmp);
  ------------------
  |  |  524|    132|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    132|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1883|    132|    return result;
 1884|    132|}
unicode_formatter.c:parse_internal_render_format_spec:
  392|    132|{
  393|    132|    Py_ssize_t pos = start;
  394|    132|    int kind = PyUnicode_KIND(format_spec);
  ------------------
  |  |  258|    132|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    264|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 132, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  395|    132|    const void *data = PyUnicode_DATA(format_spec);
  ------------------
  |  |  284|    132|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    132|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  396|       |    /* end-pos is used throughout this code to specify the length of
  397|       |       the input string */
  398|    132|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  399|       |
  400|    132|    Py_ssize_t consumed;
  401|    132|    int align_specified = 0;
  402|    132|    int fill_char_specified = 0;
  403|       |
  404|    132|    format->fill_char = ' ';
  405|    132|    format->align = default_align;
  406|    132|    format->alternate = 0;
  407|    132|    format->no_neg_0 = 0;
  408|    132|    format->sign = '\0';
  409|    132|    format->width = -1;
  410|    132|    format->thousands_separators = LT_NO_LOCALE;
  411|    132|    format->frac_thousands_separator = LT_NO_LOCALE;
  412|    132|    format->precision = -1;
  413|    132|    format->type = default_type;
  414|       |
  415|       |    /* If the second char is an alignment token,
  416|       |       then parse the fill char */
  417|    132|    if (end-pos >= 2 && is_alignment_token(READ_spec(pos+1))) {
  ------------------
  |  |  398|      0|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (417:9): [True: 0, False: 132]
  |  Branch (417:25): [True: 0, False: 0]
  ------------------
  418|      0|        format->align = READ_spec(pos+1);
  ------------------
  |  |  398|      0|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   (index))
  |  |  ------------------
  ------------------
  419|      0|        format->fill_char = READ_spec(pos);
  ------------------
  |  |  398|      0|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   (index))
  |  |  ------------------
  ------------------
  420|      0|        fill_char_specified = 1;
  421|      0|        align_specified = 1;
  422|      0|        pos += 2;
  423|      0|    }
  424|    132|    else if (end-pos >= 1 && is_alignment_token(READ_spec(pos))) {
  ------------------
  |  |  398|    132|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|    132|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    132|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|    132|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    132|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|    132|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (424:14): [True: 132, False: 0]
  |  Branch (424:30): [True: 0, False: 132]
  ------------------
  425|      0|        format->align = READ_spec(pos);
  ------------------
  |  |  398|      0|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   (index))
  |  |  ------------------
  ------------------
  426|      0|        align_specified = 1;
  427|      0|        ++pos;
  428|      0|    }
  429|       |
  430|       |    /* Parse the various sign options */
  431|    132|    if (end-pos >= 1 && is_sign_element(READ_spec(pos))) {
  ------------------
  |  |  398|    132|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|    132|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    132|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|    132|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    132|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|    132|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (431:9): [True: 132, False: 0]
  |  Branch (431:25): [True: 0, False: 132]
  ------------------
  432|      0|        format->sign = READ_spec(pos);
  ------------------
  |  |  398|      0|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   (index))
  |  |  ------------------
  ------------------
  433|      0|        ++pos;
  434|      0|    }
  435|       |
  436|       |    /* If the next character is z, request coercion of negative 0.
  437|       |       Applies only to floats. */
  438|    132|    if (end-pos >= 1 && READ_spec(pos) == 'z') {
  ------------------
  |  |  398|    132|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|    132|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    132|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|    132|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    132|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|    132|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (438:9): [True: 132, False: 0]
  |  Branch (438:25): [True: 0, False: 132]
  ------------------
  439|      0|        format->no_neg_0 = 1;
  440|      0|        ++pos;
  441|      0|    }
  442|       |
  443|       |    /* If the next character is #, we're in alternate mode.  This only
  444|       |       applies to integers. */
  445|    132|    if (end-pos >= 1 && READ_spec(pos) == '#') {
  ------------------
  |  |  398|    132|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|    132|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    132|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|    132|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    132|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|    132|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (445:9): [True: 132, False: 0]
  |  Branch (445:25): [True: 0, False: 132]
  ------------------
  446|      0|        format->alternate = 1;
  447|      0|        ++pos;
  448|      0|    }
  449|       |
  450|       |    /* The special case for 0-padding (backwards compat) */
  451|    132|    if (!fill_char_specified && end-pos >= 1 && READ_spec(pos) == '0') {
  ------------------
  |  |  398|    132|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|    132|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    132|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|    132|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    132|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|    132|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (451:9): [True: 132, False: 0]
  |  Branch (451:33): [True: 132, False: 0]
  |  Branch (451:49): [True: 0, False: 132]
  ------------------
  452|      0|        format->fill_char = '0';
  453|      0|        if (!align_specified && default_align == '>') {
  ------------------
  |  Branch (453:13): [True: 0, False: 0]
  |  Branch (453:33): [True: 0, False: 0]
  ------------------
  454|      0|            format->align = '=';
  455|      0|        }
  456|      0|        ++pos;
  457|      0|    }
  458|       |
  459|    132|    consumed = get_integer(format_spec, &pos, end, &format->width);
  460|    132|    if (consumed == -1)
  ------------------
  |  Branch (460:9): [True: 0, False: 132]
  ------------------
  461|       |        /* Overflow error. Exception already set. */
  462|      0|        return 0;
  463|       |
  464|       |    /* If consumed is 0, we didn't consume any characters for the
  465|       |       width. In that case, reset the width to -1, because
  466|       |       get_integer() will have set it to zero. -1 is how we record
  467|       |       that the width wasn't specified. */
  468|    132|    if (consumed == 0)
  ------------------
  |  Branch (468:9): [True: 132, False: 0]
  ------------------
  469|    132|        format->width = -1;
  470|       |
  471|       |    /* Comma signifies add thousands separators */
  472|    132|    if (end-pos && READ_spec(pos) == ',') {
  ------------------
  |  |  398|    132|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|    132|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    132|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|    132|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    132|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|    132|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (472:9): [True: 132, False: 0]
  |  Branch (472:20): [True: 0, False: 132]
  ------------------
  473|      0|        format->thousands_separators = LT_DEFAULT_LOCALE;
  474|      0|        ++pos;
  475|      0|    }
  476|       |    /* Underscore signifies add thousands separators */
  477|    132|    if (end-pos && READ_spec(pos) == '_') {
  ------------------
  |  |  398|    132|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|    132|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    132|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|    132|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    132|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|    132|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (477:9): [True: 132, False: 0]
  |  Branch (477:20): [True: 0, False: 132]
  ------------------
  478|      0|        if (format->thousands_separators != LT_NO_LOCALE) {
  ------------------
  |  Branch (478:13): [True: 0, False: 0]
  ------------------
  479|      0|            invalid_comma_and_underscore();
  480|      0|            return 0;
  481|      0|        }
  482|      0|        format->thousands_separators = LT_UNDERSCORE_LOCALE;
  483|      0|        ++pos;
  484|      0|    }
  485|    132|    if (end-pos && READ_spec(pos) == ',') {
  ------------------
  |  |  398|    132|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|    132|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    132|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|    132|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    132|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|    132|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (485:9): [True: 132, False: 0]
  |  Branch (485:20): [True: 0, False: 132]
  ------------------
  486|      0|        if (format->thousands_separators == LT_UNDERSCORE_LOCALE) {
  ------------------
  |  Branch (486:13): [True: 0, False: 0]
  ------------------
  487|      0|            invalid_comma_and_underscore();
  488|      0|            return 0;
  489|      0|        }
  490|      0|    }
  491|       |
  492|       |    /* Parse field precision */
  493|    132|    if (end-pos && READ_spec(pos) == '.') {
  ------------------
  |  |  398|    132|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|    132|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    132|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|    132|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    132|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|    132|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (493:9): [True: 132, False: 0]
  |  Branch (493:20): [True: 0, False: 132]
  ------------------
  494|      0|        ++pos;
  495|       |
  496|      0|        consumed = get_integer(format_spec, &pos, end, &format->precision);
  497|      0|        if (consumed == -1)
  ------------------
  |  Branch (497:13): [True: 0, False: 0]
  ------------------
  498|       |            /* Overflow error. Exception already set. */
  499|      0|            return 0;
  500|       |
  501|      0|        if (end-pos && READ_spec(pos) == ',') {
  ------------------
  |  |  398|      0|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (501:13): [True: 0, False: 0]
  |  Branch (501:24): [True: 0, False: 0]
  ------------------
  502|      0|            if (consumed == 0) {
  ------------------
  |  Branch (502:17): [True: 0, False: 0]
  ------------------
  503|      0|                format->precision = -1;
  504|      0|            }
  505|      0|            format->frac_thousands_separator = LT_DEFAULT_LOCALE;
  506|      0|            ++pos;
  507|      0|            ++consumed;
  508|      0|        }
  509|      0|        if (end-pos && READ_spec(pos) == '_') {
  ------------------
  |  |  398|      0|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (509:13): [True: 0, False: 0]
  |  Branch (509:24): [True: 0, False: 0]
  ------------------
  510|      0|            if (format->frac_thousands_separator != LT_NO_LOCALE) {
  ------------------
  |  Branch (510:17): [True: 0, False: 0]
  ------------------
  511|      0|                invalid_comma_and_underscore();
  512|      0|                return 0;
  513|      0|            }
  514|      0|            if (consumed == 0) {
  ------------------
  |  Branch (514:17): [True: 0, False: 0]
  ------------------
  515|      0|                format->precision = -1;
  516|      0|            }
  517|      0|            format->frac_thousands_separator = LT_UNDERSCORE_LOCALE;
  518|      0|            ++pos;
  519|      0|            ++consumed;
  520|      0|        }
  521|      0|        if (end-pos && READ_spec(pos) == ',') {
  ------------------
  |  |  398|      0|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|      0|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|      0|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|      0|                   (index))
  |  |  ------------------
  ------------------
  |  Branch (521:13): [True: 0, False: 0]
  |  Branch (521:24): [True: 0, False: 0]
  ------------------
  522|      0|            if (format->frac_thousands_separator == LT_UNDERSCORE_LOCALE) {
  ------------------
  |  Branch (522:17): [True: 0, False: 0]
  ------------------
  523|      0|                invalid_comma_and_underscore();
  524|      0|                return 0;
  525|      0|            }
  526|      0|        }
  527|       |
  528|       |        /* Not having a precision or underscore/comma after a dot
  529|       |           is an error. */
  530|      0|        if (consumed == 0) {
  ------------------
  |  Branch (530:13): [True: 0, False: 0]
  ------------------
  531|      0|            PyErr_Format(PyExc_ValueError,
  532|      0|                         "Format specifier missing precision");
  533|      0|            return 0;
  534|      0|        }
  535|       |
  536|      0|    }
  537|       |
  538|       |    /* Finally, parse the type field. */
  539|       |
  540|    132|    if (end-pos > 1) {
  ------------------
  |  Branch (540:9): [True: 0, False: 132]
  ------------------
  541|       |        /* More than one char remains, so this is an invalid format
  542|       |           specifier. */
  543|       |        /* Create a temporary object that contains the format spec we're
  544|       |           operating on.  It's format_spec[start:end] (in Python syntax). */
  545|      0|        PyObject* actual_format_spec = PyUnicode_FromKindAndData(kind,
  546|      0|                                         (char*)data + kind*start,
  547|      0|                                         end-start);
  548|      0|        if (actual_format_spec != NULL) {
  ------------------
  |  Branch (548:13): [True: 0, False: 0]
  ------------------
  549|      0|            PyErr_Format(PyExc_ValueError,
  550|      0|                "Invalid format specifier '%U' for object of type '%.200s'",
  551|      0|                actual_format_spec, Py_TYPE(obj)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  552|      0|            Py_DECREF(actual_format_spec);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  553|      0|        }
  554|      0|        return 0;
  555|      0|    }
  556|       |
  557|    132|    if (end-pos == 1) {
  ------------------
  |  Branch (557:9): [True: 132, False: 0]
  ------------------
  558|    132|        format->type = READ_spec(pos);
  ------------------
  |  |  398|    132|#define READ_spec(index) PyUnicode_READ(kind, data, index)
  |  |  ------------------
  |  |  |  |  354|    132|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    132|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|    132|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    132|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|    132|                   (index))
  |  |  ------------------
  ------------------
  559|    132|        ++pos;
  560|    132|    }
  561|       |
  562|       |    /* Do as much validating as we can, just by looking at the format
  563|       |       specifier.  Do not take into account what type of formatting
  564|       |       we're doing (int, float, string). */
  565|       |
  566|    132|    if (format->thousands_separators) {
  ------------------
  |  Branch (566:9): [True: 0, False: 132]
  ------------------
  567|      0|        switch (format->type) {
  568|      0|        case 'd':
  ------------------
  |  Branch (568:9): [True: 0, False: 0]
  ------------------
  569|      0|        case 'e':
  ------------------
  |  Branch (569:9): [True: 0, False: 0]
  ------------------
  570|      0|        case 'f':
  ------------------
  |  Branch (570:9): [True: 0, False: 0]
  ------------------
  571|      0|        case 'g':
  ------------------
  |  Branch (571:9): [True: 0, False: 0]
  ------------------
  572|      0|        case 'E':
  ------------------
  |  Branch (572:9): [True: 0, False: 0]
  ------------------
  573|      0|        case 'G':
  ------------------
  |  Branch (573:9): [True: 0, False: 0]
  ------------------
  574|      0|        case '%':
  ------------------
  |  Branch (574:9): [True: 0, False: 0]
  ------------------
  575|      0|        case 'F':
  ------------------
  |  Branch (575:9): [True: 0, False: 0]
  ------------------
  576|      0|        case '\0':
  ------------------
  |  Branch (576:9): [True: 0, False: 0]
  ------------------
  577|       |            /* These are allowed. See PEP 378.*/
  578|      0|            break;
  579|      0|        case 'b':
  ------------------
  |  Branch (579:9): [True: 0, False: 0]
  ------------------
  580|      0|        case 'o':
  ------------------
  |  Branch (580:9): [True: 0, False: 0]
  ------------------
  581|      0|        case 'x':
  ------------------
  |  Branch (581:9): [True: 0, False: 0]
  ------------------
  582|      0|        case 'X':
  ------------------
  |  Branch (582:9): [True: 0, False: 0]
  ------------------
  583|       |            /* Underscores are allowed in bin/oct/hex. See PEP 515. */
  584|      0|            if (format->thousands_separators == LT_UNDERSCORE_LOCALE) {
  ------------------
  |  Branch (584:17): [True: 0, False: 0]
  ------------------
  585|       |                /* Every four digits, not every three, in bin/oct/hex. */
  586|      0|                format->thousands_separators = LT_UNDER_FOUR_LOCALE;
  587|      0|                break;
  588|      0|            }
  589|      0|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  590|      0|        default:
  ------------------
  |  Branch (590:9): [True: 0, False: 0]
  ------------------
  591|      0|            invalid_thousands_separator_type(format->thousands_separators, format->type);
  592|      0|            return 0;
  593|      0|        }
  594|      0|    }
  595|       |
  596|    132|    if (format->type == 'n'
  ------------------
  |  Branch (596:9): [True: 0, False: 132]
  ------------------
  597|      0|        && format->frac_thousands_separator != LT_NO_LOCALE)
  ------------------
  |  Branch (597:12): [True: 0, False: 0]
  ------------------
  598|      0|    {
  599|      0|        invalid_thousands_separator_type(format->frac_thousands_separator,
  600|      0|                                         format->type);
  601|      0|        return 0;
  602|      0|    }
  603|       |
  604|    132|    assert (format->align <= 127);
  ------------------
  |  Branch (604:5): [True: 132, False: 0]
  ------------------
  605|    132|    assert (format->sign <= 127);
  ------------------
  |  Branch (605:5): [True: 132, False: 0]
  ------------------
  606|    132|    return 1;
  607|    132|}
unicode_formatter.c:is_alignment_token:
  335|    132|{
  336|    132|    switch (c) {
  337|      0|    case '<': case '>': case '=': case '^':
  ------------------
  |  Branch (337:5): [True: 0, False: 132]
  |  Branch (337:15): [True: 0, False: 132]
  |  Branch (337:25): [True: 0, False: 132]
  |  Branch (337:35): [True: 0, False: 132]
  ------------------
  338|      0|        return 1;
  339|    132|    default:
  ------------------
  |  Branch (339:5): [True: 132, False: 0]
  ------------------
  340|    132|        return 0;
  341|    132|    }
  342|    132|}
unicode_formatter.c:is_sign_element:
  347|    132|{
  348|    132|    switch (c) {
  349|      0|    case ' ': case '+': case '-':
  ------------------
  |  Branch (349:5): [True: 0, False: 132]
  |  Branch (349:15): [True: 0, False: 132]
  |  Branch (349:25): [True: 0, False: 132]
  ------------------
  350|      0|        return 1;
  351|    132|    default:
  ------------------
  |  Branch (351:5): [True: 132, False: 0]
  ------------------
  352|    132|        return 0;
  353|    132|    }
  354|    132|}
unicode_formatter.c:get_integer:
  298|    132|{
  299|    132|    Py_ssize_t accumulator, digitval, pos = *ppos;
  300|    132|    int numdigits;
  301|    132|    int kind = PyUnicode_KIND(str);
  ------------------
  |  |  258|    132|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    264|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 132, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  302|    132|    const void *data = PyUnicode_DATA(str);
  ------------------
  |  |  284|    132|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    132|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  303|       |
  304|    132|    accumulator = numdigits = 0;
  305|    132|    for (; pos < end; pos++, numdigits++) {
  ------------------
  |  Branch (305:12): [True: 132, False: 0]
  ------------------
  306|    132|        digitval = Py_UNICODE_TODECIMAL(PyUnicode_READ(kind, data, pos));
  ------------------
  |  |  763|    132|#define Py_UNICODE_TODECIMAL(ch) _PyUnicode_ToDecimalDigit(ch)
  ------------------
  307|    132|        if (digitval < 0)
  ------------------
  |  Branch (307:13): [True: 132, False: 0]
  ------------------
  308|    132|            break;
  309|       |        /*
  310|       |           Detect possible overflow before it happens:
  311|       |
  312|       |              accumulator * 10 + digitval > PY_SSIZE_T_MAX if and only if
  313|       |              accumulator > (PY_SSIZE_T_MAX - digitval) / 10.
  314|       |        */
  315|      0|        if (accumulator > (PY_SSIZE_T_MAX - digitval) / 10) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (315:13): [True: 0, False: 0]
  ------------------
  316|      0|            PyErr_Format(PyExc_ValueError,
  317|      0|                         "Too many decimal digits in format string");
  318|      0|            *ppos = pos;
  319|      0|            return -1;
  320|      0|        }
  321|      0|        accumulator = accumulator * 10 + digitval;
  322|      0|    }
  323|    132|    *ppos = pos;
  324|    132|    *result = accumulator;
  325|    132|    return numdigits;
  326|    132|}
unicode_formatter.c:format_long_internal:
 1197|    132|{
 1198|    132|    int result = -1;
 1199|    132|    Py_UCS4 maxchar = 127;
 1200|    132|    PyObject *tmp = NULL;
 1201|    132|    Py_ssize_t inumeric_chars;
 1202|    132|    Py_UCS4 sign_char = '\0';
 1203|    132|    Py_ssize_t n_digits;       /* count of digits need from the computed
 1204|       |                                  string */
 1205|    132|    Py_ssize_t n_remainder = 0; /* Used only for 'c' formatting, which
 1206|       |                                   produces non-digits */
 1207|    132|    Py_ssize_t n_prefix = 0;   /* Count of prefix chars, (e.g., '0x') */
 1208|    132|    Py_ssize_t n_total;
 1209|    132|    Py_ssize_t prefix = 0;
 1210|    132|    NumberFieldWidths spec;
 1211|    132|    long x;
 1212|       |
 1213|       |    /* Locale settings, either from the actual locale or
 1214|       |       from a hard-code pseudo-locale */
 1215|    132|    LocaleInfo locale = LocaleInfo_STATIC_INIT;
  ------------------
  |  |  684|    132|#define LocaleInfo_STATIC_INIT {0, 0, 0, 0}
  ------------------
 1216|       |
 1217|       |    /* no precision allowed on integers */
 1218|    132|    if (format->precision != -1) {
  ------------------
  |  Branch (1218:9): [True: 0, False: 132]
  ------------------
 1219|      0|        PyErr_SetString(PyExc_ValueError,
 1220|      0|                        "Precision not allowed in integer format specifier");
 1221|      0|        goto done;
 1222|      0|    }
 1223|       |    /* no negative zero coercion on integers */
 1224|    132|    if (format->no_neg_0) {
  ------------------
  |  Branch (1224:9): [True: 0, False: 132]
  ------------------
 1225|      0|        PyErr_SetString(PyExc_ValueError,
 1226|      0|                        "Negative zero coercion (z) not allowed in integer"
 1227|      0|                        " format specifier");
 1228|      0|        goto done;
 1229|      0|    }
 1230|       |
 1231|       |    /* special case for character formatting */
 1232|    132|    if (format->type == 'c') {
  ------------------
  |  Branch (1232:9): [True: 0, False: 132]
  ------------------
 1233|       |        /* error to specify a sign */
 1234|      0|        if (format->sign != '\0') {
  ------------------
  |  Branch (1234:13): [True: 0, False: 0]
  ------------------
 1235|      0|            PyErr_SetString(PyExc_ValueError,
 1236|      0|                            "Sign not allowed with integer"
 1237|      0|                            " format specifier 'c'");
 1238|      0|            goto done;
 1239|      0|        }
 1240|       |        /* error to request alternate format */
 1241|      0|        if (format->alternate) {
  ------------------
  |  Branch (1241:13): [True: 0, False: 0]
  ------------------
 1242|      0|            PyErr_SetString(PyExc_ValueError,
 1243|      0|                            "Alternate form (#) not allowed with integer"
 1244|      0|                            " format specifier 'c'");
 1245|      0|            goto done;
 1246|      0|        }
 1247|       |
 1248|       |        /* taken from unicodeobject.c formatchar() */
 1249|       |        /* Integer input truncated to a character */
 1250|      0|        x = PyLong_AsLong(value);
 1251|      0|        if (x == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1251:13): [True: 0, False: 0]
  |  Branch (1251:24): [True: 0, False: 0]
  ------------------
 1252|      0|            goto done;
 1253|      0|        if (x < 0 || x > 0x10ffff) {
  ------------------
  |  Branch (1253:13): [True: 0, False: 0]
  |  Branch (1253:22): [True: 0, False: 0]
  ------------------
 1254|      0|            PyErr_SetString(PyExc_OverflowError,
 1255|      0|                            "%c arg not in range(0x110000)");
 1256|      0|            goto done;
 1257|      0|        }
 1258|      0|        tmp = PyUnicode_FromOrdinal(x);
 1259|      0|        inumeric_chars = 0;
 1260|      0|        n_digits = 1;
 1261|      0|        maxchar = Py_MAX(maxchar, (Py_UCS4)x);
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1262|       |
 1263|       |        /* As a sort-of hack, we tell calc_number_widths that we only
 1264|       |           have "remainder" characters. calc_number_widths thinks
 1265|       |           these are characters that don't get formatted, only copied
 1266|       |           into the output string. We do this for 'c' formatting,
 1267|       |           because the characters are likely to be non-digits. */
 1268|      0|        n_remainder = 1;
 1269|      0|    }
 1270|    132|    else {
 1271|    132|        int base;
 1272|    132|        int leading_chars_to_skip = 0;  /* Number of characters added by
 1273|       |                                           PyNumber_ToBase that we want to
 1274|       |                                           skip over. */
 1275|       |
 1276|       |        /* Compute the base and how many characters will be added by
 1277|       |           PyNumber_ToBase */
 1278|    132|        switch (format->type) {
 1279|      0|        case 'b':
  ------------------
  |  Branch (1279:9): [True: 0, False: 132]
  ------------------
 1280|      0|            base = 2;
 1281|      0|            leading_chars_to_skip = 2; /* 0b */
 1282|      0|            break;
 1283|      0|        case 'o':
  ------------------
  |  Branch (1283:9): [True: 0, False: 132]
  ------------------
 1284|      0|            base = 8;
 1285|      0|            leading_chars_to_skip = 2; /* 0o */
 1286|      0|            break;
 1287|    132|        case 'x':
  ------------------
  |  Branch (1287:9): [True: 132, False: 0]
  ------------------
 1288|    132|        case 'X':
  ------------------
  |  Branch (1288:9): [True: 0, False: 132]
  ------------------
 1289|    132|            base = 16;
 1290|    132|            leading_chars_to_skip = 2; /* 0x */
 1291|    132|            break;
 1292|      0|        default:  /* shouldn't be needed, but stops a compiler warning */
  ------------------
  |  Branch (1292:9): [True: 0, False: 132]
  ------------------
 1293|      0|        case 'd':
  ------------------
  |  Branch (1293:9): [True: 0, False: 132]
  ------------------
 1294|      0|        case 'n':
  ------------------
  |  Branch (1294:9): [True: 0, False: 132]
  ------------------
 1295|      0|            base = 10;
 1296|      0|            break;
 1297|    132|        }
 1298|       |
 1299|    132|        if (format->sign != '+' && format->sign != ' '
  ------------------
  |  Branch (1299:13): [True: 132, False: 0]
  |  Branch (1299:36): [True: 132, False: 0]
  ------------------
 1300|    132|            && format->width == -1
  ------------------
  |  Branch (1300:16): [True: 132, False: 0]
  ------------------
 1301|    132|            && format->type != 'X' && format->type != 'n'
  ------------------
  |  Branch (1301:16): [True: 132, False: 0]
  |  Branch (1301:39): [True: 132, False: 0]
  ------------------
 1302|    132|            && !format->thousands_separators
  ------------------
  |  Branch (1302:16): [True: 132, False: 0]
  ------------------
 1303|    132|            && PyLong_CheckExact(value))
  ------------------
  |  |   14|    132|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    132|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    132|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 132, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1304|    132|        {
 1305|       |            /* Fast path */
 1306|    132|            return _PyLong_FormatWriter(writer, value, base, format->alternate);
 1307|    132|        }
 1308|       |
 1309|       |        /* The number of prefix chars is the same as the leading
 1310|       |           chars to skip */
 1311|      0|        if (format->alternate)
  ------------------
  |  Branch (1311:13): [True: 0, False: 0]
  ------------------
 1312|      0|            n_prefix = leading_chars_to_skip;
 1313|       |
 1314|       |        /* Do the hard part, converting to a string in a given base */
 1315|      0|        tmp = _PyLong_Format(value, base);
 1316|      0|        if (tmp == NULL)
  ------------------
  |  Branch (1316:13): [True: 0, False: 0]
  ------------------
 1317|      0|            goto done;
 1318|       |
 1319|      0|        inumeric_chars = 0;
 1320|      0|        n_digits = PyUnicode_GET_LENGTH(tmp);
  ------------------
  |  |  299|      0|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1321|       |
 1322|      0|        prefix = inumeric_chars;
 1323|       |
 1324|       |        /* Is a sign character present in the output?  If so, remember it
 1325|       |           and skip it */
 1326|      0|        if (PyUnicode_READ_CHAR(tmp, inumeric_chars) == '-') {
  ------------------
  |  |  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 (1326:13): [True: 0, False: 0]
  ------------------
 1327|      0|            sign_char = '-';
 1328|      0|            ++prefix;
 1329|      0|            ++leading_chars_to_skip;
 1330|      0|        }
 1331|       |
 1332|       |        /* Skip over the leading chars (0x, 0b, etc.) */
 1333|      0|        n_digits -= leading_chars_to_skip;
 1334|      0|        inumeric_chars += leading_chars_to_skip;
 1335|      0|    }
 1336|       |
 1337|       |    /* Determine the grouping, separator, and decimal point, if any. */
 1338|      0|    if (get_locale_info(format->type == 'n' ? LT_CURRENT_LOCALE :
  ------------------
  |  Branch (1338:9): [True: 0, False: 0]
  |  Branch (1338:25): [True: 0, False: 0]
  ------------------
 1339|      0|                        format->thousands_separators, 0,
 1340|      0|                        &locale) == -1)
 1341|      0|        goto done;
 1342|       |
 1343|       |    /* Calculate how much memory we'll need. */
 1344|      0|    n_total = calc_number_widths(&spec, n_prefix, sign_char, inumeric_chars,
 1345|      0|                                 inumeric_chars + n_digits, n_remainder, 0, 0,
 1346|      0|                                 &locale, format, &maxchar);
 1347|      0|    if (n_total == -1) {
  ------------------
  |  Branch (1347:9): [True: 0, False: 0]
  ------------------
 1348|      0|        goto done;
 1349|      0|    }
 1350|       |
 1351|       |    /* Allocate the memory. */
 1352|      0|    if (_PyUnicodeWriter_Prepare(writer, n_total, 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 (1352:9): [True: 0, False: 0]
  ------------------
 1353|      0|        goto done;
 1354|       |
 1355|       |    /* Populate the memory. */
 1356|      0|    result = fill_number(writer, &spec,
 1357|      0|                         tmp, inumeric_chars,
 1358|      0|                         tmp, prefix, format->fill_char,
 1359|      0|                         &locale, format->type == 'X');
 1360|       |
 1361|      0|done:
 1362|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1363|      0|    free_locale_info(&locale);
 1364|      0|    return result;
 1365|      0|}

_PyUnicodeWriter_Init:
  144|   243k|{
  145|   243k|    memset(writer, 0, sizeof(*writer));
  146|       |
  147|       |    /* ASCII is the bare minimum */
  148|   243k|    writer->min_char = 127;
  149|       |
  150|       |    /* use a kind value smaller than PyUnicode_1BYTE_KIND so
  151|       |       _PyUnicodeWriter_PrepareKind() will copy the buffer. */
  152|   243k|    assert(writer->kind == 0);
  ------------------
  |  Branch (152:5): [True: 243k, False: 0]
  ------------------
  153|   243k|    assert(writer->kind < PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (153:5): [True: 243k, False: 0]
  ------------------
  154|   243k|}
PyUnicodeWriter_Create:
  159|  82.4k|{
  160|  82.4k|    if (length < 0) {
  ------------------
  |  Branch (160:9): [True: 0, False: 82.4k]
  ------------------
  161|      0|        PyErr_SetString(PyExc_ValueError,
  162|      0|                        "length must be positive");
  163|      0|        return NULL;
  164|      0|    }
  165|       |
  166|  82.4k|    const size_t size = sizeof(_PyUnicodeWriter);
  167|  82.4k|    PyUnicodeWriter *pub_writer;
  168|  82.4k|    pub_writer = _Py_FREELIST_POP_MEM(unicode_writers);
  ------------------
  |  |   48|  82.4k|    _PyFreeList_PopMem(&_Py_freelists_GET()->NAME)
  ------------------
  169|  82.4k|    if (pub_writer == NULL) {
  ------------------
  |  Branch (169:9): [True: 2.40k, False: 80.0k]
  ------------------
  170|  2.40k|        pub_writer = (PyUnicodeWriter *)PyMem_Malloc(size);
  171|  2.40k|        if (pub_writer == NULL) {
  ------------------
  |  Branch (171:13): [True: 0, False: 2.40k]
  ------------------
  172|      0|            return (PyUnicodeWriter *)PyErr_NoMemory();
  173|      0|        }
  174|  2.40k|    }
  175|  82.4k|    _PyUnicodeWriter *writer = (_PyUnicodeWriter *)pub_writer;
  176|       |
  177|  82.4k|    _PyUnicodeWriter_Init(writer);
  178|  82.4k|    if (_PyUnicodeWriter_Prepare(writer, length, 127) < 0) {
  ------------------
  |  |  562|  82.4k|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 0, False: 82.4k]
  |  |  ------------------
  |  |  563|  82.4k|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  564|  82.4k|     ? 0                                                              \
  |  |  565|  82.4k|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 12.9k, False: 69.5k]
  |  |  ------------------
  |  |  566|  82.4k|        ? 0                                                           \
  |  |  567|  82.4k|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (178:9): [True: 0, False: 82.4k]
  ------------------
  179|      0|        PyUnicodeWriter_Discard(pub_writer);
  180|      0|        return NULL;
  181|      0|    }
  182|  82.4k|    writer->overallocate = 1;
  183|       |
  184|  82.4k|    return pub_writer;
  185|  82.4k|}
_PyUnicodeWriter_InitWithBuffer:
  201|   176k|{
  202|   176k|    memset(writer, 0, sizeof(*writer));
  203|   176k|    writer->buffer = buffer;
  204|   176k|    _PyUnicodeWriter_Update(writer);
  205|   176k|    writer->min_length = writer->size;
  206|   176k|}
_PyUnicodeWriter_PrepareInternal:
  212|   349k|{
  213|   349k|    Py_ssize_t newlen;
  214|   349k|    PyObject *newbuffer;
  215|       |
  216|   349k|    assert(length >= 0);
  ------------------
  |  Branch (216:5): [True: 349k, False: 0]
  ------------------
  217|   349k|    assert(maxchar <= _Py_MAX_UNICODE);
  ------------------
  |  Branch (217:5): [True: 349k, False: 0]
  ------------------
  218|       |
  219|       |    /* ensure that the _PyUnicodeWriter_Prepare macro was used */
  220|   349k|    assert((maxchar > writer->maxchar && length >= 0)
  ------------------
  |  Branch (220:5): [True: 329k, False: 19.6k]
  |  Branch (220:5): [True: 329k, False: 0]
  |  Branch (220:5): [True: 19.6k, False: 0]
  ------------------
  221|   349k|           || length > 0);
  222|       |
  223|   349k|    if (length > PY_SSIZE_T_MAX - writer->pos) {
  ------------------
  |  |  137|   349k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (223:9): [True: 0, False: 349k]
  ------------------
  224|      0|        PyErr_NoMemory();
  225|      0|        return -1;
  226|      0|    }
  227|   349k|    newlen = writer->pos + length;
  228|       |
  229|   349k|    maxchar = Py_MAX(maxchar, writer->min_char);
  ------------------
  |  |  115|   349k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 102k, False: 246k]
  |  |  ------------------
  ------------------
  230|       |
  231|   349k|    if (writer->buffer == NULL) {
  ------------------
  |  Branch (231:9): [True: 236k, False: 112k]
  ------------------
  232|   236k|        assert(!writer->readonly);
  ------------------
  |  Branch (232:9): [True: 236k, False: 0]
  ------------------
  233|   236k|        if (writer->overallocate
  ------------------
  |  Branch (233:13): [True: 134k, False: 101k]
  ------------------
  234|   134k|            && newlen <= (PY_SSIZE_T_MAX - newlen / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |  137|   134k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                          && newlen <= (PY_SSIZE_T_MAX - newlen / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |   52|   134k|#  define OVERALLOCATE_FACTOR 4
  ------------------
  |  Branch (234:16): [True: 134k, False: 0]
  ------------------
  235|       |            /* overallocate to limit the number of realloc() */
  236|   134k|            newlen += newlen / OVERALLOCATE_FACTOR;
  ------------------
  |  |   52|   134k|#  define OVERALLOCATE_FACTOR 4
  ------------------
  237|   134k|        }
  238|   236k|        if (newlen < writer->min_length)
  ------------------
  |  Branch (238:13): [True: 119k, False: 116k]
  ------------------
  239|   119k|            newlen = writer->min_length;
  240|       |
  241|   236k|        writer->buffer = PyUnicode_New(newlen, maxchar);
  242|   236k|        if (writer->buffer == NULL)
  ------------------
  |  Branch (242:13): [True: 0, False: 236k]
  ------------------
  243|      0|            return -1;
  244|   236k|    }
  245|   112k|    else if (newlen > writer->size) {
  ------------------
  |  Branch (245:14): [True: 23.1k, False: 89.5k]
  ------------------
  246|  23.1k|        if (writer->overallocate
  ------------------
  |  Branch (246:13): [True: 22.8k, False: 228]
  ------------------
  247|  22.8k|            && newlen <= (PY_SSIZE_T_MAX - newlen / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |  137|  22.8k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                          && newlen <= (PY_SSIZE_T_MAX - newlen / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |   52|  22.8k|#  define OVERALLOCATE_FACTOR 4
  ------------------
  |  Branch (247:16): [True: 22.8k, False: 0]
  ------------------
  248|       |            /* overallocate to limit the number of realloc() */
  249|  22.8k|            newlen += newlen / OVERALLOCATE_FACTOR;
  ------------------
  |  |   52|  22.8k|#  define OVERALLOCATE_FACTOR 4
  ------------------
  250|  22.8k|        }
  251|  23.1k|        if (newlen < writer->min_length)
  ------------------
  |  Branch (251:13): [True: 0, False: 23.1k]
  ------------------
  252|      0|            newlen = writer->min_length;
  253|       |
  254|  23.1k|        if (maxchar > writer->maxchar || writer->readonly) {
  ------------------
  |  Branch (254:13): [True: 3.47k, False: 19.6k]
  |  Branch (254:42): [True: 0, False: 19.6k]
  ------------------
  255|       |            /* resize + widen */
  256|  3.47k|            maxchar = Py_MAX(maxchar, writer->maxchar);
  ------------------
  |  |  115|  3.47k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 3.47k, False: 0]
  |  |  ------------------
  ------------------
  257|  3.47k|            newbuffer = PyUnicode_New(newlen, maxchar);
  258|  3.47k|            if (newbuffer == NULL)
  ------------------
  |  Branch (258:17): [True: 0, False: 3.47k]
  ------------------
  259|      0|                return -1;
  260|  3.47k|            _PyUnicode_FastCopyCharacters(newbuffer, 0,
  261|  3.47k|                                          writer->buffer, 0, writer->pos);
  262|  3.47k|            Py_DECREF(writer->buffer);
  ------------------
  |  |  430|  3.47k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  263|  3.47k|            writer->readonly = 0;
  264|  3.47k|        }
  265|  19.6k|        else {
  266|  19.6k|            newbuffer = _PyUnicode_ResizeCompact(writer->buffer, newlen);
  267|  19.6k|            if (newbuffer == NULL)
  ------------------
  |  Branch (267:17): [True: 0, False: 19.6k]
  ------------------
  268|      0|                return -1;
  269|  19.6k|        }
  270|  23.1k|        writer->buffer = newbuffer;
  271|  23.1k|    }
  272|  89.5k|    else if (maxchar > writer->maxchar) {
  ------------------
  |  Branch (272:14): [True: 89.5k, False: 0]
  ------------------
  273|  89.5k|        assert(!writer->readonly);
  ------------------
  |  Branch (273:9): [True: 89.5k, False: 0]
  ------------------
  274|  89.5k|        newbuffer = PyUnicode_New(writer->size, maxchar);
  275|  89.5k|        if (newbuffer == NULL)
  ------------------
  |  Branch (275:13): [True: 0, False: 89.5k]
  ------------------
  276|      0|            return -1;
  277|  89.5k|        _PyUnicode_FastCopyCharacters(newbuffer, 0,
  278|  89.5k|                                      writer->buffer, 0, writer->pos);
  279|  89.5k|        Py_SETREF(writer->buffer, newbuffer);
  ------------------
  |  |  354|  89.5k|    do { \
  |  |  355|  89.5k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  89.5k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|  89.5k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  89.5k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|  89.5k|        *_tmp_dst_ptr = (src); \
  |  |  358|  89.5k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  89.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  89.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  89.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|  89.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 89.5k]
  |  |  ------------------
  ------------------
  280|  89.5k|    }
  281|   349k|    _PyUnicodeWriter_Update(writer);
  282|   349k|    return 0;
  283|       |
  284|   349k|#undef OVERALLOCATE_FACTOR
  285|   349k|}
_PyUnicodeWriter_WriteChar:
  311|  1.10M|{
  312|  1.10M|    return _PyUnicodeWriter_WriteCharInline(writer, ch);
  313|  1.10M|}
PyUnicodeWriter_WriteChar:
  318|  62.6k|{
  319|  62.6k|    if (ch > _Py_MAX_UNICODE) {
  ------------------
  |  |   16|  62.6k|#define _Py_MAX_UNICODE 0x10ffff
  ------------------
  |  Branch (319:9): [True: 0, False: 62.6k]
  ------------------
  320|      0|        PyErr_SetString(PyExc_ValueError,
  321|      0|                        "character must be in range(0x110000)");
  322|      0|        return -1;
  323|      0|    }
  324|       |
  325|  62.6k|    return _PyUnicodeWriter_WriteChar((_PyUnicodeWriter*)writer, ch);
  326|  62.6k|}
_PyUnicodeWriter_WriteStr:
  331|   298k|{
  332|   298k|    assert(PyUnicode_Check(str));
  ------------------
  |  Branch (332:5): [True: 298k, False: 0]
  ------------------
  333|       |
  334|   298k|    Py_UCS4 maxchar;
  335|   298k|    Py_ssize_t len;
  336|       |
  337|   298k|    len = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|   298k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   298k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   298k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  338|   298k|    if (len == 0)
  ------------------
  |  Branch (338:9): [True: 7.27k, False: 290k]
  ------------------
  339|  7.27k|        return 0;
  340|   290k|    maxchar = PyUnicode_MAX_CHAR_VALUE(str);
  ------------------
  |  |  405|   290k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   290k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   290k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  341|   290k|    if (maxchar > writer->maxchar || len > writer->size - writer->pos) {
  ------------------
  |  Branch (341:9): [True: 57.0k, False: 233k]
  |  Branch (341:38): [True: 18.3k, False: 215k]
  ------------------
  342|  75.4k|        if (writer->buffer == NULL && !writer->overallocate) {
  ------------------
  |  Branch (342:13): [True: 22.1k, False: 53.2k]
  |  Branch (342:39): [True: 0, False: 22.1k]
  ------------------
  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|  75.4k|        if (_PyUnicodeWriter_PrepareInternal(writer, len, maxchar) == -1)
  ------------------
  |  Branch (350:13): [True: 0, False: 75.4k]
  ------------------
  351|      0|            return -1;
  352|  75.4k|    }
  353|   290k|    _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
  354|   290k|                                  str, 0, len);
  355|   290k|    writer->pos += len;
  356|   290k|    return 0;
  357|   290k|}
PyUnicodeWriter_WriteStr:
  362|   247k|{
  363|   247k|    PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  213|   247k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   247k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   247k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  364|   247k|    if (type == &PyUnicode_Type) {
  ------------------
  |  Branch (364:9): [True: 247k, False: 0]
  ------------------
  365|   247k|        return _PyUnicodeWriter_WriteStr((_PyUnicodeWriter*)writer, obj);
  366|   247k|    }
  367|       |
  368|      0|    if (type == &PyLong_Type) {
  ------------------
  |  Branch (368:9): [True: 0, False: 0]
  ------------------
  369|      0|        return _PyLong_FormatWriter((_PyUnicodeWriter*)writer, obj, 10, 0);
  370|      0|    }
  371|       |
  372|      0|    PyObject *str = PyObject_Str(obj);
  373|      0|    if (str == NULL) {
  ------------------
  |  Branch (373:9): [True: 0, False: 0]
  ------------------
  374|      0|        return -1;
  375|      0|    }
  376|       |
  377|      0|    int res = _PyUnicodeWriter_WriteStr((_PyUnicodeWriter*)writer, str);
  378|      0|    Py_DECREF(str);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  379|      0|    return res;
  380|      0|}
_PyUnicodeWriter_WriteSubstring:
  408|  52.4k|{
  409|  52.4k|    assert(0 <= start);
  ------------------
  |  Branch (409:5): [True: 52.4k, False: 0]
  ------------------
  410|  52.4k|    assert(end <= PyUnicode_GET_LENGTH(str));
  ------------------
  |  Branch (410:5): [True: 52.4k, False: 0]
  ------------------
  411|  52.4k|    assert(start <= end);
  ------------------
  |  Branch (411:5): [True: 52.4k, False: 0]
  ------------------
  412|       |
  413|  52.4k|    if (start == 0 && end == PyUnicode_GET_LENGTH(str))
  ------------------
  |  |  299|  20.4k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (413:9): [True: 20.4k, False: 32.0k]
  |  Branch (413:23): [True: 20.3k, False: 21]
  ------------------
  414|  20.3k|        return _PyUnicodeWriter_WriteStr(writer, str);
  415|       |
  416|  32.0k|    Py_ssize_t len = end - start;
  417|  32.0k|    if (len == 0) {
  ------------------
  |  Branch (417:9): [True: 0, False: 32.0k]
  ------------------
  418|      0|        return 0;
  419|      0|    }
  420|       |
  421|  32.0k|    Py_UCS4 maxchar;
  422|  32.0k|    if (PyUnicode_MAX_CHAR_VALUE(str) > writer->maxchar) {
  ------------------
  |  |  405|  32.0k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  32.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (422:9): [True: 26.4k, False: 5.52k]
  ------------------
  423|  26.4k|        maxchar = _PyUnicode_FindMaxChar(str, start, end);
  424|  26.4k|    }
  425|  5.52k|    else {
  426|  5.52k|        maxchar = writer->maxchar;
  427|  5.52k|    }
  428|  32.0k|    if (_PyUnicodeWriter_Prepare(writer, len, maxchar) < 0) {
  ------------------
  |  |  562|  32.0k|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 5.52k, False: 26.4k]
  |  |  ------------------
  |  |  563|  32.0k|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 5.52k, False: 0]
  |  |  ------------------
  |  |  564|  32.0k|     ? 0                                                              \
  |  |  565|  32.0k|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 26.4k]
  |  |  ------------------
  |  |  566|  26.4k|        ? 0                                                           \
  |  |  567|  26.4k|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (428:9): [True: 0, False: 32.0k]
  ------------------
  429|      0|        return -1;
  430|      0|    }
  431|       |
  432|  32.0k|    _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
  433|  32.0k|                                  str, start, len);
  434|  32.0k|    writer->pos += len;
  435|  32.0k|    return 0;
  436|  32.0k|}
PyUnicodeWriter_WriteSubstring:
  442|  52.3k|{
  443|  52.3k|    if (!PyUnicode_Check(str)) {
  ------------------
  |  |  103|  52.3k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  52.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (443:9): [True: 0, False: 52.3k]
  ------------------
  444|      0|        PyErr_Format(PyExc_TypeError, "expect str, not %T", str);
  445|      0|        return -1;
  446|      0|    }
  447|  52.3k|    if (start < 0 || start > end) {
  ------------------
  |  Branch (447:9): [True: 0, False: 52.3k]
  |  Branch (447:22): [True: 0, False: 52.3k]
  ------------------
  448|      0|        PyErr_Format(PyExc_ValueError, "invalid start argument");
  449|      0|        return -1;
  450|      0|    }
  451|  52.3k|    if (end > PyUnicode_GET_LENGTH(str)) {
  ------------------
  |  |  299|  52.3k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (451:9): [True: 0, False: 52.3k]
  ------------------
  452|      0|        PyErr_Format(PyExc_ValueError, "invalid end argument");
  453|      0|        return -1;
  454|      0|    }
  455|       |
  456|  52.3k|    return _PyUnicodeWriter_WriteSubstring((_PyUnicodeWriter*)writer, str,
  457|  52.3k|                                           start, end);
  458|  52.3k|}
_PyUnicodeWriter_WriteASCIIString:
  464|   270k|{
  465|   270k|    if (len == -1)
  ------------------
  |  Branch (465:9): [True: 0, False: 270k]
  ------------------
  466|      0|        len = strlen(ascii);
  467|       |
  468|   270k|    if (len == 0) {
  ------------------
  |  Branch (468:9): [True: 0, False: 270k]
  ------------------
  469|      0|        return 0;
  470|      0|    }
  471|       |
  472|   270k|    assert(ucs1lib_find_max_char((const Py_UCS1*)ascii, (const Py_UCS1*)ascii + len) < 128);
  ------------------
  |  Branch (472:5): [True: 270k, False: 0]
  ------------------
  473|       |
  474|   270k|    if (writer->buffer == NULL && !writer->overallocate) {
  ------------------
  |  Branch (474:9): [True: 96.5k, False: 173k]
  |  Branch (474:35): [True: 7.08k, False: 89.4k]
  ------------------
  475|  7.08k|        PyObject *str;
  476|       |
  477|  7.08k|        str = _PyUnicode_FromASCII(ascii, len);
  478|  7.08k|        if (str == NULL)
  ------------------
  |  Branch (478:13): [True: 0, False: 7.08k]
  ------------------
  479|      0|            return -1;
  480|       |
  481|  7.08k|        writer->readonly = 1;
  482|  7.08k|        writer->buffer = str;
  483|  7.08k|        _PyUnicodeWriter_Update(writer);
  484|  7.08k|        writer->pos += len;
  485|  7.08k|        return 0;
  486|  7.08k|    }
  487|       |
  488|   263k|    if (_PyUnicodeWriter_Prepare(writer, len, 127) == -1)
  ------------------
  |  |  562|   263k|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 173k, False: 89.4k]
  |  |  ------------------
  |  |  563|   263k|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 173k, False: 3]
  |  |  ------------------
  |  |  564|   263k|     ? 0                                                              \
  |  |  565|   263k|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 89.4k]
  |  |  ------------------
  |  |  566|  89.4k|        ? 0                                                           \
  |  |  567|  89.4k|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (488:9): [True: 0, False: 263k]
  ------------------
  489|      0|        return -1;
  490|       |
  491|   263k|    switch (writer->kind)
  492|   263k|    {
  493|   254k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (493:5): [True: 254k, False: 8.07k]
  ------------------
  494|   254k|    {
  495|   254k|        const Py_UCS1 *str = (const Py_UCS1 *)ascii;
  496|   254k|        Py_UCS1 *data = writer->data;
  497|       |
  498|   254k|        memcpy(data + writer->pos, str, len);
  499|   254k|        break;
  500|      0|    }
  501|  7.70k|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (501:5): [True: 7.70k, False: 255k]
  ------------------
  502|  7.70k|    {
  503|  7.70k|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|  7.70k|    do {                                                \
  |  |   46|  7.70k|        to_type *_to = (to_type *)(to);                 \
  |  |   47|  7.70k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|  7.70k|        const from_type *_end = (const from_type *)(end);\
  |  |   49|  7.70k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|  7.70k|        const from_type *_unrolled_end =                \
  |  |   51|  7.70k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|  7.70k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|  7.98k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 283, False: 7.70k]
  |  |  ------------------
  |  |   53|    283|            _to[0] = (to_type) _iter[0];                \
  |  |   54|    283|            _to[1] = (to_type) _iter[1];                \
  |  |   55|    283|            _to[2] = (to_type) _iter[2];                \
  |  |   56|    283|            _to[3] = (to_type) _iter[3];                \
  |  |   57|    283|            _iter += 4; _to += 4;                       \
  |  |   58|    283|        }                                               \
  |  |   59|  15.4k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 7.69k, False: 7.70k]
  |  |  ------------------
  |  |   60|  7.70k|            *_to++ = (to_type) *_iter++;                \
  |  |   61|  7.70k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 7.70k]
  |  |  ------------------
  ------------------
  504|  7.70k|            Py_UCS1, Py_UCS2,
  505|  7.70k|            ascii, ascii + len,
  506|  7.70k|            (Py_UCS2 *)writer->data + writer->pos);
  507|  7.70k|        break;
  508|      0|    }
  509|    369|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (509:5): [True: 369, False: 262k]
  ------------------
  510|    369|    {
  511|    369|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|    369|    do {                                                \
  |  |   46|    369|        to_type *_to = (to_type *)(to);                 \
  |  |   47|    369|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|    369|        const from_type *_end = (const from_type *)(end);\
  |  |   49|    369|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|    369|        const from_type *_unrolled_end =                \
  |  |   51|    369|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|    369|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|    418|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 49, False: 369]
  |  |  ------------------
  |  |   53|     49|            _to[0] = (to_type) _iter[0];                \
  |  |   54|     49|            _to[1] = (to_type) _iter[1];                \
  |  |   55|     49|            _to[2] = (to_type) _iter[2];                \
  |  |   56|     49|            _to[3] = (to_type) _iter[3];                \
  |  |   57|     49|            _iter += 4; _to += 4;                       \
  |  |   58|     49|        }                                               \
  |  |   59|    742|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 373, False: 369]
  |  |  ------------------
  |  |   60|    373|            *_to++ = (to_type) *_iter++;                \
  |  |   61|    369|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 369]
  |  |  ------------------
  ------------------
  512|    369|            Py_UCS1, Py_UCS4,
  513|    369|            ascii, ascii + len,
  514|    369|            (Py_UCS4 *)writer->data + writer->pos);
  515|    369|        break;
  516|      0|    }
  517|      0|    default:
  ------------------
  |  Branch (517:5): [True: 0, False: 263k]
  ------------------
  518|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  519|   263k|    }
  520|       |
  521|   263k|    writer->pos += len;
  522|   263k|    return 0;
  523|   263k|}
PyUnicodeWriter_WriteUTF8:
  543|   151k|{
  544|   151k|    if (size < 0) {
  ------------------
  |  Branch (544:9): [True: 151k, False: 0]
  ------------------
  545|   151k|        size = strlen(str);
  546|   151k|    }
  547|       |
  548|   151k|    _PyUnicodeWriter *_writer = (_PyUnicodeWriter*)writer;
  549|   151k|    Py_ssize_t old_pos = _writer->pos;
  550|   151k|    int res = _PyUnicode_DecodeUTF8Writer(_writer, str, size,
  551|   151k|                                          _Py_ERROR_STRICT, NULL, NULL);
  552|   151k|    if (res < 0) {
  ------------------
  |  Branch (552:9): [True: 0, False: 151k]
  ------------------
  553|      0|        _writer->pos = old_pos;
  554|      0|    }
  555|   151k|    return res;
  556|   151k|}
_PyUnicodeWriter_Finish:
  602|   417k|{
  603|   417k|    PyObject *str;
  604|       |
  605|   417k|    if (writer->pos == 0) {
  ------------------
  |  Branch (605:9): [True: 3.25k, False: 413k]
  ------------------
  606|  3.25k|        Py_CLEAR(writer->buffer);
  ------------------
  |  |  484|  3.25k|    do { \
  |  |  485|  3.25k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.25k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.25k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.25k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.25k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3.10k, False: 149]
  |  |  ------------------
  |  |  488|  3.10k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  3.10k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  3.10k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  3.10k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  3.10k|        } \
  |  |  491|  3.25k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.25k]
  |  |  ------------------
  ------------------
  607|  3.25k|        return _PyUnicode_GetEmpty();
  608|  3.25k|    }
  609|       |
  610|   413k|    str = writer->buffer;
  611|   413k|    writer->buffer = NULL;
  612|       |
  613|   413k|    if (writer->readonly) {
  ------------------
  |  Branch (613:9): [True: 7.08k, False: 406k]
  ------------------
  614|  7.08k|        assert(PyUnicode_GET_LENGTH(str) == writer->pos);
  ------------------
  |  Branch (614:9): [True: 7.08k, False: 0]
  ------------------
  615|  7.08k|        return str;
  616|  7.08k|    }
  617|       |
  618|   406k|    if (PyUnicode_GET_LENGTH(str) != writer->pos) {
  ------------------
  |  |  299|   406k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   406k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   406k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (618:9): [True: 165k, False: 240k]
  ------------------
  619|   165k|        PyObject *str2;
  620|   165k|        str2 = _PyUnicode_ResizeCompact(str, writer->pos);
  621|   165k|        if (str2 == NULL) {
  ------------------
  |  Branch (621:13): [True: 0, False: 165k]
  ------------------
  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|   165k|        str = str2;
  626|   165k|    }
  627|       |
  628|   406k|    assert(_PyUnicode_CheckConsistency(str, 1));
  ------------------
  |  Branch (628:5): [True: 406k, False: 0]
  ------------------
  629|   406k|    return _PyUnicode_Result(str);
  630|   406k|}
PyUnicodeWriter_Finish:
  635|  82.4k|{
  636|  82.4k|    PyObject *str = _PyUnicodeWriter_Finish((_PyUnicodeWriter*)writer);
  637|  82.4k|    assert(((_PyUnicodeWriter*)writer)->buffer == NULL);
  ------------------
  |  Branch (637:5): [True: 82.4k, False: 0]
  ------------------
  638|  82.4k|    _Py_FREELIST_FREE(unicode_writers, writer, PyMem_Free);
  ------------------
  |  |   35|  82.4k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  82.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  82.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  82.4k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   29|  82.4k|#  define Py_unicode_writers_MAXFREELIST 1
  |  |  ------------------
  ------------------
  639|  82.4k|    return str;
  640|  82.4k|}
_PyUnicodeWriter_Dealloc:
  645|  3.33k|{
  646|       |    Py_CLEAR(writer->buffer);
  ------------------
  |  |  484|  3.33k|    do { \
  |  |  485|  3.33k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.33k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.33k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.33k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.33k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3.32k, False: 5]
  |  |  ------------------
  |  |  488|  3.32k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  3.32k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  3.32k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  3.32k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  3.32k|        } \
  |  |  491|  3.33k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.33k]
  |  |  ------------------
  ------------------
  647|  3.33k|}
unicode_writer.c:_PyUnicodeWriter_Update:
  120|   532k|{
  121|   532k|    writer->maxchar = PyUnicode_MAX_CHAR_VALUE(writer->buffer);
  ------------------
  |  |  405|   532k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   532k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   532k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  122|   532k|    writer->data = PyUnicode_DATA(writer->buffer);
  ------------------
  |  |  284|   532k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   532k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   532k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  123|       |
  124|   532k|    if (!writer->readonly) {
  ------------------
  |  Branch (124:9): [True: 525k, False: 7.08k]
  ------------------
  125|   525k|        writer->kind = PyUnicode_KIND(writer->buffer);
  ------------------
  |  |  258|   525k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.05M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 525k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  126|   525k|        writer->size = PyUnicode_GET_LENGTH(writer->buffer);
  ------------------
  |  |  299|   525k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   525k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   525k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  127|   525k|    }
  128|  7.08k|    else {
  129|       |        /* use a value smaller than PyUnicode_1BYTE_KIND() so
  130|       |           _PyUnicodeWriter_PrepareKind() will copy the buffer. */
  131|  7.08k|        writer->kind = 0;
  132|  7.08k|        assert(writer->kind <= PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (132:9): [True: 7.08k, 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|  7.08k|        writer->size = 0;
  138|  7.08k|    }
  139|   532k|}

_PyUnicode_IsXidStart:
   86|  96.1k|{
   87|  96.1k|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
   88|       |
   89|  96.1k|    return (ctype->flags & XID_START_MASK) != 0;
  ------------------
  |  |   20|  96.1k|#define XID_START_MASK 0x100
  ------------------
   90|  96.1k|}
_PyUnicode_IsXidContinue:
   96|   963k|{
   97|   963k|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
   98|       |
   99|   963k|    return (ctype->flags & XID_CONTINUE_MASK) != 0;
  ------------------
  |  |   21|   963k|#define XID_CONTINUE_MASK 0x200
  ------------------
  100|   963k|}
_PyUnicode_ToDecimalDigit:
  106|    135|{
  107|    135|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  108|       |
  109|    135|    return (ctype->flags & DECIMAL_MASK) ? ctype->decimal : -1;
  ------------------
  |  |   15|    135|#define DECIMAL_MASK 0x02
  ------------------
  |  Branch (109:12): [True: 0, False: 135]
  ------------------
  110|    135|}
_PyUnicode_IsDecimalDigit:
  113|      3|{
  114|      3|    if (_PyUnicode_ToDecimalDigit(ch) < 0)
  ------------------
  |  Branch (114:9): [True: 3, False: 0]
  ------------------
  115|      3|        return 0;
  116|      0|    return 1;
  117|      3|}
_PyUnicode_IsPrintable:
  152|  2.64M|{
  153|  2.64M|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  154|       |
  155|  2.64M|    return (ctype->flags & PRINTABLE_MASK) != 0;
  ------------------
  |  |   22|  2.64M|#define PRINTABLE_MASK 0x400
  ------------------
  156|  2.64M|}
_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_ToLowerFull:
  203|   692k|{
  204|   692k|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  205|       |
  206|   692k|    if (ctype->flags & EXTENDED_CASE_MASK) {
  ------------------
  |  |   26|   692k|#define EXTENDED_CASE_MASK 0x4000
  ------------------
  |  Branch (206:9): [True: 495, False: 691k]
  ------------------
  207|    495|        int index = ctype->lower & 0xFFFF;
  208|    495|        int n = ctype->lower >> 24;
  209|    495|        int i;
  210|    990|        for (i = 0; i < n; i++)
  ------------------
  |  Branch (210:21): [True: 495, False: 495]
  ------------------
  211|    495|            res[i] = _PyUnicode_ExtendedCase[index + i];
  212|    495|        return n;
  213|    495|    }
  214|   691k|    res[0] = ch + ctype->lower;
  215|   691k|    return 1;
  216|   692k|}
unicodectype.c:gettyperecord:
   46|  4.40M|{
   47|  4.40M|    int index;
   48|       |
   49|  4.40M|    if (code >= 0x110000)
  ------------------
  |  Branch (49:9): [True: 0, False: 4.40M]
  ------------------
   50|      0|        index = 0;
   51|  4.40M|    else
   52|  4.40M|    {
   53|  4.40M|        index = index1[(code>>SHIFT)];
  ------------------
  |  | 1760|  4.40M|#define SHIFT 7
  ------------------
   54|  4.40M|        index = index2[(index<<SHIFT)+(code&((1<<SHIFT)-1))];
  ------------------
  |  | 1760|  4.40M|#define SHIFT 7
  ------------------
                      index = index2[(index<<SHIFT)+(code&((1<<SHIFT)-1))];
  ------------------
  |  | 1760|  4.40M|#define SHIFT 7
  ------------------
   55|  4.40M|    }
   56|       |
   57|  4.40M|    return &_PyUnicode_TypeRecords[index];
   58|  4.40M|}

_PyUnicode_GetEmpty:
  207|   724k|{
  208|   724k|    _Py_DECLARE_STR(empty, "");
  209|   724k|    return &_Py_STR(empty);
  ------------------
  |  |  923|   724k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   724k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   724k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  210|   724k|}
_Py_GetErrorHandler:
  474|  45.5k|{
  475|  45.5k|    if (errors == NULL || strcmp(errors, "strict") == 0) {
  ------------------
  |  Branch (475:9): [True: 35.8k, False: 9.74k]
  |  Branch (475:27): [True: 10, False: 9.73k]
  ------------------
  476|  35.8k|        return _Py_ERROR_STRICT;
  477|  35.8k|    }
  478|  9.73k|    if (strcmp(errors, "surrogateescape") == 0) {
  ------------------
  |  Branch (478:9): [True: 6.95k, False: 2.77k]
  ------------------
  479|  6.95k|        return _Py_ERROR_SURROGATEESCAPE;
  480|  6.95k|    }
  481|  2.77k|    if (strcmp(errors, "replace") == 0) {
  ------------------
  |  Branch (481:9): [True: 2.77k, False: 0]
  ------------------
  482|  2.77k|        return _Py_ERROR_REPLACE;
  483|  2.77k|    }
  484|      0|    if (strcmp(errors, "ignore") == 0) {
  ------------------
  |  Branch (484:9): [True: 0, False: 0]
  ------------------
  485|      0|        return _Py_ERROR_IGNORE;
  486|      0|    }
  487|      0|    if (strcmp(errors, "backslashreplace") == 0) {
  ------------------
  |  Branch (487:9): [True: 0, False: 0]
  ------------------
  488|      0|        return _Py_ERROR_BACKSLASHREPLACE;
  489|      0|    }
  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|  45.2M|{
  594|  45.2M|#define CHECK(expr) \
  595|  45.2M|    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|  45.2M|# define CHECK_IF_GIL(expr) CHECK(expr)
  601|  45.2M|# define CHECK_IF_FT(expr) (void)(expr)
  602|  45.2M|#endif
  603|       |
  604|       |
  605|  45.2M|    assert(op != NULL);
  ------------------
  |  Branch (605:5): [True: 45.2M, False: 0]
  ------------------
  606|  45.2M|    CHECK(PyUnicode_Check(op));
  ------------------
  |  |  595|  45.2M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 45.2M]
  |  |  |  Branch (595:89): [Folded, False: 45.2M]
  |  |  ------------------
  ------------------
  607|       |
  608|  45.2M|    PyASCIIObject *ascii = _PyASCIIObject_CAST(op);
  ------------------
  |  |  186|  45.2M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  45.2M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  45.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (608:28): [True: 45.2M, False: 0]
  ------------------
  609|      0|    int kind = ascii->state.kind;
  610|       |
  611|  45.2M|    if (ascii->state.ascii == 1 && ascii->state.compact == 1) {
  ------------------
  |  Branch (611:9): [True: 3.24M, False: 41.9M]
  |  Branch (611:36): [True: 3.24M, False: 7]
  ------------------
  612|  3.24M|        CHECK(kind == PyUnicode_1BYTE_KIND);
  ------------------
  |  |  595|  3.24M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 3.24M]
  |  |  |  Branch (595:89): [Folded, False: 3.24M]
  |  |  ------------------
  ------------------
  613|  3.24M|    }
  614|  41.9M|    else {
  615|  41.9M|        PyCompactUnicodeObject *compact = _PyCompactUnicodeObject_CAST(op);
  ------------------
  |  |  189|  41.9M|    (assert(PyUnicode_Check(op)), \
  |  |  190|  41.9M|     _Py_CAST(PyCompactUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  41.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (615:43): [True: 41.9M, False: 0]
  ------------------
  616|      0|        void *data;
  617|       |
  618|  41.9M|        if (ascii->state.compact == 1) {
  ------------------
  |  Branch (618:13): [True: 41.9M, False: 7]
  ------------------
  619|  41.9M|            data = compact + 1;
  620|  41.9M|            CHECK(kind == PyUnicode_1BYTE_KIND
  ------------------
  |  |  595|   128M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:16): [True: 353k, False: 41.6M]
  |  |  |  Branch (595:16): [True: 38.9M, False: 2.68M]
  |  |  |  Branch (595:16): [True: 2.68M, False: 0]
  |  |  |  Branch (595:89): [Folded, False: 41.9M]
  |  |  ------------------
  ------------------
  621|  41.9M|                                 || kind == PyUnicode_2BYTE_KIND
  622|  41.9M|                                 || kind == PyUnicode_4BYTE_KIND);
  623|  41.9M|            CHECK(ascii->state.ascii == 0);
  ------------------
  |  |  595|  41.9M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 41.9M]
  |  |  |  Branch (595:89): [Folded, False: 41.9M]
  |  |  ------------------
  ------------------
  624|  41.9M|            CHECK(_PyUnicode_UTF8(op) != data);
  ------------------
  |  |  595|  41.9M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 41.9M]
  |  |  |  Branch (595:89): [Folded, False: 41.9M]
  |  |  ------------------
  ------------------
  625|  41.9M|        }
  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)
  |  |  ------------------
  |  |  |  |  428|      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)
  |  |  ------------------
  |  |  |  |  428|      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)
  |  |  ------------------
  |  |  |  |  428|      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)
  |  |  ------------------
  |  |  |  |  428|      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)
  |  |  ------------------
  |  |  |  |  428|      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)
  |  |  ------------------
  |  |  |  |  428|      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|  41.9M|#ifndef Py_GIL_DISABLED
  644|  41.9M|        if (_PyUnicode_UTF8(op) == NULL)
  ------------------
  |  Branch (644:13): [True: 41.9M, False: 7]
  ------------------
  645|  41.9M|            CHECK(compact->utf8_length == 0);
  ------------------
  |  |  595|  41.9M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 41.9M]
  |  |  |  Branch (595:89): [Folded, False: 41.9M]
  |  |  ------------------
  ------------------
  646|  41.9M|#endif
  647|  41.9M|    }
  648|       |
  649|       |    /* check that the best kind is used: O(n) operation */
  650|  45.2M|    if (check_content) {
  ------------------
  |  Branch (650:9): [True: 21.5M, False: 23.6M]
  ------------------
  651|  21.5M|        Py_ssize_t i;
  652|  21.5M|        Py_UCS4 maxchar = 0;
  653|  21.5M|        const void *data;
  654|  21.5M|        Py_UCS4 ch;
  655|       |
  656|  21.5M|        data = PyUnicode_DATA(ascii);
  ------------------
  |  |  284|  21.5M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  657|   183M|        for (i=0; i < ascii->length; i++)
  ------------------
  |  Branch (657:19): [True: 161M, False: 21.5M]
  ------------------
  658|   161M|        {
  659|   161M|            ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|   161M|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   161M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   161M|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   161M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   161M|                   (index))
  ------------------
  660|   161M|            if (ch > maxchar)
  ------------------
  |  Branch (660:17): [True: 25.0M, False: 136M]
  ------------------
  661|  25.0M|                maxchar = ch;
  662|   161M|        }
  663|  21.5M|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (663:13): [True: 875k, False: 20.6M]
  ------------------
  664|   875k|            if (ascii->state.ascii == 0) {
  ------------------
  |  Branch (664:17): [True: 179k, False: 695k]
  ------------------
  665|   179k|                CHECK(maxchar >= 128);
  ------------------
  |  |  595|   179k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 179k]
  |  |  |  Branch (595:89): [Folded, False: 179k]
  |  |  ------------------
  ------------------
  666|   179k|                CHECK(maxchar <= 255);
  ------------------
  |  |  595|   179k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 179k]
  |  |  |  Branch (595:89): [Folded, False: 179k]
  |  |  ------------------
  ------------------
  667|   179k|            }
  668|   695k|            else
  669|   695k|                CHECK(maxchar < 128);
  ------------------
  |  |  595|   695k|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 695k]
  |  |  |  Branch (595:89): [Folded, False: 695k]
  |  |  ------------------
  ------------------
  670|   875k|        }
  671|  20.6M|        else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (671:18): [True: 19.3M, False: 1.32M]
  ------------------
  672|  19.3M|            CHECK(maxchar >= 0x100);
  ------------------
  |  |  595|  19.3M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 19.3M]
  |  |  |  Branch (595:89): [Folded, False: 19.3M]
  |  |  ------------------
  ------------------
  673|  19.3M|            CHECK(maxchar <= 0xFFFF);
  ------------------
  |  |  595|  19.3M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 19.3M]
  |  |  |  Branch (595:89): [Folded, False: 19.3M]
  |  |  ------------------
  ------------------
  674|  19.3M|        }
  675|  1.32M|        else {
  676|  1.32M|            CHECK(maxchar >= 0x10000);
  ------------------
  |  |  595|  1.32M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 1.32M]
  |  |  |  Branch (595:89): [Folded, False: 1.32M]
  |  |  ------------------
  ------------------
  677|  1.32M|            CHECK(maxchar <= MAX_UNICODE);
  ------------------
  |  |  595|  1.32M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 1.32M]
  |  |  |  Branch (595:89): [Folded, False: 1.32M]
  |  |  ------------------
  ------------------
  678|  1.32M|        }
  679|  21.5M|        CHECK(PyUnicode_READ(kind, data, ascii->length) == 0);
  ------------------
  |  |  595|  21.5M|    do { if (!(expr)) { _PyObject_ASSERT_FAILED_MSG(op, Py_STRINGIFY(expr)); } } while (0)
  |  |  ------------------
  |  |  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  Branch (595:14): [True: 0, False: 21.5M]
  |  |  |  Branch (595:89): [Folded, False: 21.5M]
  |  |  ------------------
  ------------------
  680|  21.5M|    }
  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|  45.2M|    return 1;
  717|       |
  718|  45.2M|#undef CHECK
  719|  45.2M|}
_PyUnicode_Result:
  723|   435k|{
  724|   435k|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (724:5): [True: 435k, False: 0]
  ------------------
  725|       |
  726|   435k|    Py_ssize_t length = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|   435k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   435k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   435k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|   435k|    if (length == 0) {
  ------------------
  |  Branch (727:9): [True: 1, False: 435k]
  ------------------
  728|      1|        PyObject *empty = _PyUnicode_GetEmpty();
  729|      1|        if (unicode != empty) {
  ------------------
  |  Branch (729:13): [True: 0, False: 1]
  ------------------
  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|      1|        return empty;
  733|      1|    }
  734|       |
  735|   435k|    if (length == 1) {
  ------------------
  |  Branch (735:9): [True: 52.1k, False: 383k]
  ------------------
  736|  52.1k|        int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  52.1k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   104k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 52.1k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  737|  52.1k|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (737:13): [True: 28.2k, False: 23.8k]
  ------------------
  738|  28.2k|            const Py_UCS1 *data = PyUnicode_1BYTE_DATA(unicode);
  ------------------
  |  |  291|  28.2k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  28.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  739|  28.2k|            Py_UCS1 ch = data[0];
  740|  28.2k|            PyObject *latin1_char = LATIN1(ch);
  ------------------
  |  |  188|  28.2k|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  925|  28.2k|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (925:6): [True: 12.9k, False: 15.2k]
  |  |  |  |  ------------------
  |  |  |  |  926|  28.2k|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  12.9k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  12.9k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  927|  28.2k|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  15.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  15.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  741|  28.2k|            if (unicode != latin1_char) {
  ------------------
  |  Branch (741:17): [True: 26.9k, False: 1.31k]
  ------------------
  742|  26.9k|                Py_DECREF(unicode);
  ------------------
  |  |  430|  26.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  743|  26.9k|            }
  744|  28.2k|            return latin1_char;
  745|  28.2k|        }
  746|  52.1k|    }
  747|       |
  748|   435k|    assert(_PyUnicode_CheckConsistency(unicode, 1));
  ------------------
  |  Branch (748:5): [True: 407k, False: 0]
  ------------------
  749|   407k|    return unicode;
  750|   407k|}
_PyUnicode_ResizeCompact:
 1073|   199k|{
 1074|   199k|    Py_ssize_t char_size;
 1075|   199k|    Py_ssize_t struct_size;
 1076|   199k|    Py_ssize_t new_size;
 1077|   199k|    PyObject *new_unicode;
 1078|       |#ifdef Py_DEBUG
 1079|       |    Py_ssize_t old_length = _PyUnicode_LENGTH(unicode);
 1080|       |#endif
 1081|       |
 1082|   199k|    if (!_PyUnicode_IsModifiable(unicode)) {
  ------------------
  |  Branch (1082:9): [True: 0, False: 199k]
  ------------------
 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|   199k|    assert(PyUnicode_IS_COMPACT(unicode));
  ------------------
  |  Branch (1090:5): [True: 199k, False: 0]
  ------------------
 1091|       |
 1092|   199k|    char_size = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|   199k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   399k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 199k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1093|   199k|    if (PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  227|   199k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   199k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   199k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 157k, False: 42.1k]
  |  |  ------------------
  ------------------
 1094|   157k|        struct_size = sizeof(PyASCIIObject);
 1095|  42.1k|    else
 1096|  42.1k|        struct_size = sizeof(PyCompactUnicodeObject);
 1097|       |
 1098|   199k|    if (length > ((PY_SSIZE_T_MAX - struct_size) / char_size - 1)) {
  ------------------
  |  |  137|   199k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1098:9): [True: 0, False: 199k]
  ------------------
 1099|      0|        PyErr_NoMemory();
 1100|      0|        return NULL;
 1101|      0|    }
 1102|   199k|    new_size = (struct_size + (length + 1) * char_size);
 1103|       |
 1104|   199k|    if (_PyUnicode_HAS_UTF8_MEMORY(unicode)) {
  ------------------
  |  Branch (1104:9): [True: 0, False: 199k]
  ------------------
 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|   199k|    _PyReftracerTrack(unicode, PyRefTracer_DESTROY);
  ------------------
  |  |  112|   199k|    do { \
  |  |  113|   199k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|   199k|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 199k]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|   199k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 199k]
  |  |  ------------------
  ------------------
 1113|       |
 1114|   199k|    new_unicode = (PyObject *)PyObject_Realloc(unicode, new_size);
 1115|   199k|    if (new_unicode == NULL) {
  ------------------
  |  Branch (1115:9): [True: 0, False: 199k]
  ------------------
 1116|      0|        _Py_NewReferenceNoTotal(unicode);
 1117|      0|        PyErr_NoMemory();
 1118|      0|        return NULL;
 1119|      0|    }
 1120|   199k|    unicode = new_unicode;
 1121|   199k|    _Py_NewReferenceNoTotal(unicode);
 1122|       |
 1123|   199k|    _PyUnicode_LENGTH(unicode) = length;
  ------------------
  |  |  155|   199k|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|   199k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|   199k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   199k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1123:5): [True: 199k, False: 0]
  ------------------
 1124|       |#ifdef Py_DEBUG
 1125|       |    unicode_fill_invalid(unicode, old_length);
 1126|       |#endif
 1127|   199k|    PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),
  ------------------
  |  |  335|   199k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|   399k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:47): [True: 199k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|   199k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|   199k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|   199k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1128|   199k|                    length, 0);
 1129|   199k|    assert(_PyUnicode_CheckConsistency(unicode, 0));
  ------------------
  |  Branch (1129:5): [True: 199k, False: 0]
  ------------------
 1130|   199k|    return unicode;
 1131|   199k|}
PyUnicode_New:
 1277|  23.4M|{
 1278|       |    /* Optimization for empty strings */
 1279|  23.4M|    if (size == 0) {
  ------------------
  |  Branch (1279:9): [True: 1.60k, False: 23.4M]
  ------------------
 1280|  1.60k|        return _PyUnicode_GetEmpty();
 1281|  1.60k|    }
 1282|       |
 1283|  23.4M|    PyObject *obj;
 1284|  23.4M|    PyCompactUnicodeObject *unicode;
 1285|  23.4M|    void *data;
 1286|  23.4M|    int kind;
 1287|  23.4M|    int is_ascii;
 1288|  23.4M|    Py_ssize_t char_size;
 1289|  23.4M|    Py_ssize_t struct_size;
 1290|       |
 1291|  23.4M|    is_ascii = 0;
 1292|  23.4M|    struct_size = sizeof(PyCompactUnicodeObject);
 1293|  23.4M|    if (maxchar < 128) {
  ------------------
  |  Branch (1293:9): [True: 2.38M, False: 21.0M]
  ------------------
 1294|  2.38M|        kind = PyUnicode_1BYTE_KIND;
 1295|  2.38M|        char_size = 1;
 1296|  2.38M|        is_ascii = 1;
 1297|  2.38M|        struct_size = sizeof(PyASCIIObject);
 1298|  2.38M|    }
 1299|  21.0M|    else if (maxchar < 256) {
  ------------------
  |  Branch (1299:14): [True: 165k, False: 20.8M]
  ------------------
 1300|   165k|        kind = PyUnicode_1BYTE_KIND;
 1301|   165k|        char_size = 1;
 1302|   165k|    }
 1303|  20.8M|    else if (maxchar < 65536) {
  ------------------
  |  Branch (1303:14): [True: 19.5M, False: 1.35M]
  ------------------
 1304|  19.5M|        kind = PyUnicode_2BYTE_KIND;
 1305|  19.5M|        char_size = 2;
 1306|  19.5M|    }
 1307|  1.35M|    else {
 1308|  1.35M|        if (maxchar > MAX_UNICODE) {
  ------------------
  |  |  108|  1.35M|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|  1.35M|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (1308:13): [True: 0, False: 1.35M]
  ------------------
 1309|      0|            PyErr_SetString(PyExc_SystemError,
 1310|      0|                            "invalid maximum character passed to PyUnicode_New");
 1311|      0|            return NULL;
 1312|      0|        }
 1313|  1.35M|        kind = PyUnicode_4BYTE_KIND;
 1314|  1.35M|        char_size = 4;
 1315|  1.35M|    }
 1316|       |
 1317|       |    /* Ensure we won't overflow the size. */
 1318|  23.4M|    if (size < 0) {
  ------------------
  |  Branch (1318:9): [True: 0, False: 23.4M]
  ------------------
 1319|      0|        PyErr_SetString(PyExc_SystemError,
 1320|      0|                        "Negative size passed to PyUnicode_New");
 1321|      0|        return NULL;
 1322|      0|    }
 1323|  23.4M|    if (size > ((PY_SSIZE_T_MAX - struct_size) / char_size - 1))
  ------------------
  |  |  137|  23.4M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1323:9): [True: 0, False: 23.4M]
  ------------------
 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|  23.4M|    obj = (PyObject *) PyObject_Malloc(struct_size + (size + 1) * char_size);
 1331|  23.4M|    if (obj == NULL) {
  ------------------
  |  Branch (1331:9): [True: 0, False: 23.4M]
  ------------------
 1332|      0|        return PyErr_NoMemory();
 1333|      0|    }
 1334|  23.4M|    _PyObject_Init(obj, &PyUnicode_Type);
 1335|       |
 1336|  23.4M|    unicode = (PyCompactUnicodeObject *)obj;
 1337|  23.4M|    if (is_ascii)
  ------------------
  |  Branch (1337:9): [True: 2.38M, False: 21.0M]
  ------------------
 1338|  2.38M|        data = ((PyASCIIObject*)obj) + 1;
 1339|  21.0M|    else
 1340|  21.0M|        data = unicode + 1;
 1341|  23.4M|    _PyUnicode_LENGTH(unicode) = size;
  ------------------
  |  |  155|  23.4M|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|  23.4M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  23.4M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1341:5): [True: 23.4M, False: 0]
  ------------------
 1342|  23.4M|    _PyUnicode_HASH(unicode) = -1;
  ------------------
  |  |  159|  23.4M|    (_PyASCIIObject_CAST(op)->hash)
  |  |  ------------------
  |  |  |  |  186|  23.4M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  23.4M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1342:5): [True: 23.4M, False: 0]
  ------------------
 1343|  23.4M|    _PyUnicode_STATE(unicode).interned = 0;
  ------------------
  |  |  157|  23.4M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  23.4M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  23.4M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1343:5): [True: 23.4M, False: 0]
  ------------------
 1344|  23.4M|    _PyUnicode_STATE(unicode).kind = kind;
  ------------------
  |  |  157|  23.4M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  23.4M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  23.4M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1344:5): [True: 23.4M, False: 0]
  ------------------
 1345|  23.4M|    _PyUnicode_STATE(unicode).compact = 1;
  ------------------
  |  |  157|  23.4M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  23.4M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  23.4M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1345:5): [True: 23.4M, False: 0]
  ------------------
 1346|  23.4M|    _PyUnicode_STATE(unicode).ascii = is_ascii;
  ------------------
  |  |  157|  23.4M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  23.4M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  23.4M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1346:5): [True: 23.4M, False: 0]
  ------------------
 1347|  23.4M|    _PyUnicode_STATE(unicode).statically_allocated = 0;
  ------------------
  |  |  157|  23.4M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  23.4M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  23.4M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1347:5): [True: 23.4M, False: 0]
  ------------------
 1348|  23.4M|    if (is_ascii) {
  ------------------
  |  Branch (1348:9): [True: 2.38M, False: 21.0M]
  ------------------
 1349|  2.38M|        ((char*)data)[size] = 0;
 1350|  2.38M|    }
 1351|  21.0M|    else if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (1351:14): [True: 165k, False: 20.8M]
  ------------------
 1352|   165k|        ((char*)data)[size] = 0;
 1353|   165k|        unicode->utf8 = NULL;
 1354|   165k|        unicode->utf8_length = 0;
 1355|   165k|    }
 1356|  20.8M|    else {
 1357|  20.8M|        unicode->utf8 = NULL;
 1358|  20.8M|        unicode->utf8_length = 0;
 1359|  20.8M|        if (kind == PyUnicode_2BYTE_KIND)
  ------------------
  |  Branch (1359:13): [True: 19.5M, False: 1.35M]
  ------------------
 1360|  19.5M|            ((Py_UCS2*)data)[size] = 0;
 1361|  1.35M|        else /* kind == PyUnicode_4BYTE_KIND */
 1362|  1.35M|            ((Py_UCS4*)data)[size] = 0;
 1363|  20.8M|    }
 1364|       |#ifdef Py_DEBUG
 1365|       |    unicode_fill_invalid((PyObject*)unicode, 0);
 1366|       |#endif
 1367|  23.4M|    assert(_PyUnicode_CheckConsistency((PyObject*)unicode, 0));
  ------------------
  |  Branch (1367:5): [True: 23.4M, False: 0]
  ------------------
 1368|  23.4M|    return obj;
 1369|  23.4M|}
_PyUnicode_FastCopyCharacters:
 1529|  1.50M|{
 1530|  1.50M|    (void)_copy_characters(to, to_start, from, from_start, how_many, 0);
 1531|  1.50M|}
_PyUnicode_IsModifiable:
 1738|   231k|{
 1739|   231k|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (1739:5): [True: 231k, False: 0]
  ------------------
 1740|   231k|    if (!_PyObject_IsUniquelyReferenced(unicode))
  ------------------
  |  Branch (1740:9): [True: 62, False: 231k]
  ------------------
 1741|     62|        return 0;
 1742|   231k|    if (PyUnicode_HASH(unicode) != -1)
  ------------------
  |  |  161|   231k|#define PyUnicode_HASH PyUnstable_Unicode_GET_CACHED_HASH
  ------------------
  |  Branch (1742:9): [True: 0, False: 231k]
  ------------------
 1743|      0|        return 0;
 1744|   231k|    if (PyUnicode_CHECK_INTERNED(unicode))
  ------------------
  |  |  214|   231k|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   231k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   231k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:38): [True: 0, False: 231k]
  |  |  ------------------
  ------------------
 1745|      0|        return 0;
 1746|   231k|    if (!PyUnicode_CheckExact(unicode))
  ------------------
  |  |  104|   231k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   231k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   231k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   231k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1746:9): [True: 0, False: 231k]
  ------------------
 1747|      0|        return 0;
 1748|       |#ifdef Py_DEBUG
 1749|       |    /* singleton refcount is greater than 1 */
 1750|       |    assert(!unicode_is_singleton(unicode));
 1751|       |#endif
 1752|   231k|    return 1;
 1753|   231k|}
PyUnicode_FromWideChar:
 1904|  7.06k|{
 1905|  7.06k|    PyObject *unicode;
 1906|  7.06k|    Py_UCS4 maxchar = 0;
 1907|  7.06k|    Py_ssize_t num_surrogates;
 1908|       |
 1909|  7.06k|    if (u == NULL && size != 0) {
  ------------------
  |  Branch (1909:9): [True: 0, False: 7.06k]
  |  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|  7.06k|    if (size == -1) {
  ------------------
  |  Branch (1914:9): [True: 82, False: 6.98k]
  ------------------
 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|  7.06k|    if (size == 0)
  ------------------
  |  Branch (1922:9): [True: 4, False: 7.05k]
  ------------------
 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|  7.05k|    if (size == 1 && (Py_UCS4)*u < 256)
  ------------------
  |  Branch (1941:9): [True: 0, False: 7.05k]
  |  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|  7.05k|    if (find_maxchar_surrogates(u, u + size,
  ------------------
  |  Branch (1946:9): [True: 0, False: 7.05k]
  ------------------
 1947|  7.05k|                                &maxchar, &num_surrogates) == -1)
 1948|      0|        return NULL;
 1949|       |
 1950|  7.05k|    unicode = PyUnicode_New(size - num_surrogates, maxchar);
 1951|  7.05k|    if (!unicode)
  ------------------
  |  Branch (1951:9): [True: 0, False: 7.05k]
  ------------------
 1952|      0|        return NULL;
 1953|       |
 1954|  7.05k|    unicode_write_widechar(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),
  ------------------
  |  |  258|  7.05k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  14.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 7.05k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  unicode_write_widechar(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),
  ------------------
  |  |  284|  7.05k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1955|  7.05k|                           u, size, num_surrogates);
 1956|       |
 1957|  7.05k|    return unicode_result(unicode);
  ------------------
  |  |  751|  7.05k|#define unicode_result _PyUnicode_Result
  ------------------
 1958|  7.05k|}
PyUnicode_FromStringAndSize:
 2013|  79.9k|{
 2014|  79.9k|    if (size < 0) {
  ------------------
  |  Branch (2014:9): [True: 0, False: 79.9k]
  ------------------
 2015|      0|        PyErr_SetString(PyExc_SystemError,
 2016|      0|                        "Negative size passed to PyUnicode_FromStringAndSize");
 2017|      0|        return NULL;
 2018|      0|    }
 2019|  79.9k|    if (u != NULL) {
  ------------------
  |  Branch (2019:9): [True: 79.9k, False: 0]
  ------------------
 2020|  79.9k|        return PyUnicode_DecodeUTF8Stateful(u, size, NULL, NULL);
 2021|  79.9k|    }
 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.68M|{
 2033|  1.68M|    size_t size = strlen(u);
 2034|  1.68M|    if (size > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  1.68M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2034:9): [True: 0, False: 1.68M]
  ------------------
 2035|      0|        PyErr_SetString(PyExc_OverflowError, "input too long");
 2036|      0|        return NULL;
 2037|      0|    }
 2038|  1.68M|    return PyUnicode_DecodeUTF8Stateful(u, (Py_ssize_t)size, NULL, NULL);
 2039|  1.68M|}
_PyUnicode_FromASCII:
 2127|  47.7k|{
 2128|  47.7k|    const unsigned char *s = (const unsigned char *)buffer;
 2129|  47.7k|    PyObject *unicode;
 2130|  47.7k|    if (size == 1) {
  ------------------
  |  Branch (2130:9): [True: 2.22k, False: 45.5k]
  ------------------
 2131|       |#ifdef Py_DEBUG
 2132|       |        assert((unsigned char)s[0] < 128);
 2133|       |#endif
 2134|  2.22k|        return get_latin1_char(s[0]);
 2135|  2.22k|    }
 2136|  45.5k|    unicode = PyUnicode_New(size, 127);
 2137|  45.5k|    if (!unicode)
  ------------------
  |  Branch (2137:9): [True: 0, False: 45.5k]
  ------------------
 2138|      0|        return NULL;
 2139|  45.5k|    memcpy(PyUnicode_1BYTE_DATA(unicode), s, size);
  ------------------
  |  |  291|  45.5k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  45.5k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2140|  45.5k|    assert(_PyUnicode_CheckConsistency(unicode, 1));
  ------------------
  |  Branch (2140:5): [True: 45.5k, False: 0]
  ------------------
 2141|  45.5k|    return unicode;
 2142|  45.5k|}
PyUnicodeWriter_WriteUCS4:
 2241|    394|{
 2242|    394|    _PyUnicodeWriter *writer = (_PyUnicodeWriter*)pub_writer;
 2243|       |
 2244|    394|    if (size < 0) {
  ------------------
  |  Branch (2244:9): [True: 0, False: 394]
  ------------------
 2245|      0|        PyErr_SetString(PyExc_ValueError,
 2246|      0|                        "size must be positive");
 2247|      0|        return -1;
 2248|      0|    }
 2249|       |
 2250|    394|    if (size == 0) {
  ------------------
  |  Branch (2250:9): [True: 0, False: 394]
  ------------------
 2251|      0|        return 0;
 2252|      0|    }
 2253|       |
 2254|    394|    Py_UCS4 max_char = ucs4lib_find_max_char(str, str + size);
 2255|       |
 2256|    394|    if (_PyUnicodeWriter_Prepare(writer, size, max_char) < 0) {
  ------------------
  |  |  562|    394|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 273, False: 121]
  |  |  ------------------
  |  |  563|    394|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 273, False: 0]
  |  |  ------------------
  |  |  564|    394|     ? 0                                                              \
  |  |  565|    394|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 121]
  |  |  ------------------
  |  |  566|    121|        ? 0                                                           \
  |  |  567|    121|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (2256:9): [True: 0, False: 394]
  ------------------
 2257|      0|        return -1;
 2258|      0|    }
 2259|       |
 2260|    394|    int kind = writer->kind;
 2261|    394|    void *data = (Py_UCS1*)writer->data + writer->pos * kind;
 2262|    394|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (2262:9): [True: 201, False: 193]
  ------------------
 2263|    201|        _PyUnicode_CONVERT_BYTES(Py_UCS4, Py_UCS1,
  ------------------
  |  |   45|    201|    do {                                                \
  |  |   46|    201|        to_type *_to = (to_type *)(to);                 \
  |  |   47|    201|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|    201|        const from_type *_end = (const from_type *)(end);\
  |  |   49|    201|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|    201|        const from_type *_unrolled_end =                \
  |  |   51|    201|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|    201|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|  39.7k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 39.5k, False: 201]
  |  |  ------------------
  |  |   53|  39.5k|            _to[0] = (to_type) _iter[0];                \
  |  |   54|  39.5k|            _to[1] = (to_type) _iter[1];                \
  |  |   55|  39.5k|            _to[2] = (to_type) _iter[2];                \
  |  |   56|  39.5k|            _to[3] = (to_type) _iter[3];                \
  |  |   57|  39.5k|            _iter += 4; _to += 4;                       \
  |  |   58|  39.5k|        }                                               \
  |  |   59|    286|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 85, False: 201]
  |  |  ------------------
  |  |   60|    201|            *_to++ = (to_type) *_iter++;                \
  |  |   61|    201|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 201]
  |  |  ------------------
  ------------------
 2264|    201|                                 str, str + size,
 2265|    201|                                 data);
 2266|    201|    }
 2267|    193|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (2267:14): [True: 193, False: 0]
  ------------------
 2268|    193|        _PyUnicode_CONVERT_BYTES(Py_UCS4, Py_UCS2,
  ------------------
  |  |   45|    193|    do {                                                \
  |  |   46|    193|        to_type *_to = (to_type *)(to);                 \
  |  |   47|    193|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|    193|        const from_type *_end = (const from_type *)(end);\
  |  |   49|    193|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|    193|        const from_type *_unrolled_end =                \
  |  |   51|    193|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|    193|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|  38.9k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 38.7k, False: 193]
  |  |  ------------------
  |  |   53|  38.7k|            _to[0] = (to_type) _iter[0];                \
  |  |   54|  38.7k|            _to[1] = (to_type) _iter[1];                \
  |  |   55|  38.7k|            _to[2] = (to_type) _iter[2];                \
  |  |   56|  38.7k|            _to[3] = (to_type) _iter[3];                \
  |  |   57|  38.7k|            _iter += 4; _to += 4;                       \
  |  |   58|  38.7k|        }                                               \
  |  |   59|    297|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 104, False: 193]
  |  |  ------------------
  |  |   60|    193|            *_to++ = (to_type) *_iter++;                \
  |  |   61|    193|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 193]
  |  |  ------------------
  ------------------
 2269|    193|                                 str, str + size,
 2270|    193|                                 data);
 2271|    193|    }
 2272|      0|    else {
 2273|      0|        memcpy(data, str, size * sizeof(Py_UCS4));
 2274|      0|    }
 2275|    394|    writer->pos += size;
 2276|       |
 2277|    394|    return 0;
 2278|    394|}
PyUnicode_FromKindAndData:
 2283|   904k|{
 2284|   904k|    if (size < 0) {
  ------------------
  |  Branch (2284:9): [True: 0, False: 904k]
  ------------------
 2285|      0|        PyErr_SetString(PyExc_ValueError, "size must be positive");
 2286|      0|        return NULL;
 2287|      0|    }
 2288|   904k|    switch (kind) {
 2289|  34.1k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (2289:5): [True: 34.1k, False: 870k]
  ------------------
 2290|  34.1k|        return _PyUnicode_FromUCS1(buffer, size);
 2291|   268k|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (2291:5): [True: 268k, False: 635k]
  ------------------
 2292|   268k|        return _PyUnicode_FromUCS2(buffer, size);
 2293|   601k|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (2293:5): [True: 601k, False: 302k]
  ------------------
 2294|   601k|        return _PyUnicode_FromUCS4(buffer, size);
 2295|      0|    default:
  ------------------
  |  Branch (2295:5): [True: 0, False: 904k]
  ------------------
 2296|      0|        PyErr_SetString(PyExc_SystemError, "invalid kind");
 2297|       |        return NULL;
 2298|   904k|    }
 2299|   904k|}
_PyUnicode_FindMaxChar:
 2303|  26.4k|{
 2304|  26.4k|    int kind;
 2305|  26.4k|    const void *startptr, *endptr;
 2306|       |
 2307|  26.4k|    assert(0 <= start);
  ------------------
  |  Branch (2307:5): [True: 26.4k, False: 0]
  ------------------
 2308|  26.4k|    assert(end <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (2308:5): [True: 26.4k, False: 0]
  ------------------
 2309|  26.4k|    assert(start <= end);
  ------------------
  |  Branch (2309:5): [True: 26.4k, False: 0]
  ------------------
 2310|       |
 2311|  26.4k|    if (start == 0 && end == PyUnicode_GET_LENGTH(unicode))
  ------------------
  |  |  299|     21|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     21|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     21|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2311:9): [True: 21, False: 26.4k]
  |  Branch (2311:23): [True: 0, False: 21]
  ------------------
 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|  26.4k|    if (start == end)
  ------------------
  |  Branch (2314:9): [True: 0, False: 26.4k]
  ------------------
 2315|      0|        return 127;
 2316|       |
 2317|  26.4k|    if (PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  227|  26.4k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 21, False: 26.4k]
  |  |  ------------------
  ------------------
 2318|     21|        return 127;
 2319|       |
 2320|  26.4k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  26.4k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  52.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 26.4k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2321|  26.4k|    startptr = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|  26.4k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2322|  26.4k|    endptr = (char *)startptr + end * kind;
 2323|  26.4k|    startptr = (char *)startptr + start * kind;
 2324|  26.4k|    switch(kind) {
 2325|  3.08k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (2325:5): [True: 3.08k, False: 23.3k]
  ------------------
 2326|  3.08k|        return ucs1lib_find_max_char(startptr, endptr);
 2327|  23.0k|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (2327:5): [True: 23.0k, False: 3.40k]
  ------------------
 2328|  23.0k|        return ucs2lib_find_max_char(startptr, endptr);
 2329|    320|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (2329:5): [True: 320, False: 26.1k]
  ------------------
 2330|    320|        return ucs4lib_find_max_char(startptr, endptr);
 2331|      0|    default:
  ------------------
  |  Branch (2331:5): [True: 0, False: 26.4k]
  ------------------
 2332|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2333|  26.4k|    }
 2334|  26.4k|}
PyUnicode_FromFormatV:
 3115|   128k|{
 3116|   128k|    _PyUnicodeWriter writer;
 3117|   128k|    _PyUnicodeWriter_Init(&writer);
 3118|       |
 3119|   128k|    if (unicode_from_format(&writer, format, vargs) < 0) {
  ------------------
  |  Branch (3119:9): [True: 0, False: 128k]
  ------------------
 3120|      0|        _PyUnicodeWriter_Dealloc(&writer);
 3121|      0|        return NULL;
 3122|      0|    }
 3123|   128k|    return _PyUnicodeWriter_Finish(&writer);
 3124|   128k|}
PyUnicode_FromFormat:
 3128|  50.9k|{
 3129|  50.9k|    PyObject* ret;
 3130|  50.9k|    va_list vargs;
 3131|       |
 3132|  50.9k|    va_start(vargs, format);
 3133|  50.9k|    ret = PyUnicode_FromFormatV(format, vargs);
 3134|       |    va_end(vargs);
 3135|  50.9k|    return ret;
 3136|  50.9k|}
PyUnicode_AsWideChar:
 3245|    128|{
 3246|    128|    Py_ssize_t res;
 3247|       |
 3248|    128|    if (unicode == NULL) {
  ------------------
  |  Branch (3248:9): [True: 0, False: 128]
  ------------------
 3249|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3250|      0|        return -1;
 3251|      0|    }
 3252|    128|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|    128|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    128|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3252:9): [True: 0, False: 128]
  ------------------
 3253|      0|        PyErr_BadArgument();
 3254|      0|        return -1;
 3255|      0|    }
 3256|       |
 3257|    128|    res = unicode_get_widechar_size(unicode);
 3258|    128|    if (w == NULL) {
  ------------------
  |  Branch (3258:9): [True: 0, False: 128]
  ------------------
 3259|      0|        return res + 1;
 3260|      0|    }
 3261|       |
 3262|    128|    if (size > res) {
  ------------------
  |  Branch (3262:9): [True: 128, False: 0]
  ------------------
 3263|    128|        size = res + 1;
 3264|    128|    }
 3265|      0|    else {
 3266|      0|        res = size;
 3267|      0|    }
 3268|    128|    unicode_copy_as_widechar(unicode, w, size);
 3269|       |
 3270|       |#ifdef HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION
 3271|       |    /* Oracle Solaris uses non-Unicode internal wchar_t form for
 3272|       |       non-Unicode locales and hence needs conversion first. */
 3273|       |    if (_Py_LocaleUsesNonUnicodeWchar()) {
 3274|       |        if (_Py_EncodeNonUnicodeWchar_InPlace(w, size) < 0) {
 3275|       |            return -1;
 3276|       |        }
 3277|       |    }
 3278|       |#endif
 3279|       |
 3280|    128|    return res;
 3281|    128|}
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|   211k|{
 3382|   211k|    if (ordinal < 0 || ordinal > MAX_UNICODE) {
  ------------------
  |  |  108|   211k|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|   211k|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (3382:9): [True: 0, False: 211k]
  |  Branch (3382:24): [True: 0, False: 211k]
  ------------------
 3383|      0|        PyErr_SetString(PyExc_ValueError,
 3384|      0|                        "chr() arg not in range(0x110000)");
 3385|      0|        return NULL;
 3386|      0|    }
 3387|       |
 3388|   211k|    return unicode_char((Py_UCS4)ordinal);
 3389|   211k|}
PyUnicode_FromObject:
 3393|  96.8k|{
 3394|       |    /* XXX Perhaps we should make this API an alias of
 3395|       |       PyObject_Str() instead ?! */
 3396|  96.8k|    if (PyUnicode_CheckExact(obj)) {
  ------------------
  |  |  104|  96.8k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  96.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  96.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  96.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 96.8k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3397|  96.8k|        return Py_NewRef(obj);
  ------------------
  |  |  550|  96.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  96.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  96.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3398|  96.8k|    }
 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|   168k|{
 3415|   168k|    Py_buffer buffer;
 3416|   168k|    PyObject *v;
 3417|       |
 3418|   168k|    if (obj == NULL) {
  ------------------
  |  Branch (3418:9): [True: 0, False: 168k]
  ------------------
 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|   168k|    if (PyBytes_Check(obj)) {
  ------------------
  |  |   28|   168k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   168k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 168k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3425|   168k|        if (PyBytes_GET_SIZE(obj) == 0) {
  ------------------
  |  |   33|   168k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   168k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   168k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3425:13): [True: 83.5k, False: 84.7k]
  ------------------
 3426|  83.5k|            if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3426:17): [True: 0, False: 83.5k]
  ------------------
 3427|      0|                return NULL;
 3428|      0|            }
 3429|  83.5k|            _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|  83.5k|    do {                             \
  |  |  380|  83.5k|        return _PyUnicode_GetEmpty();\
  |  |  381|  83.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3430|  83.5k|        }
 3431|  84.7k|        return PyUnicode_Decode(
 3432|  84.7k|                PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   27|  84.7k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  84.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  84.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   33|  84.7k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  84.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  84.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3433|  84.7k|                encoding, errors);
 3434|   168k|    }
 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|   148k|{
 3472|   148k|    const char *e;
 3473|   148k|    char *l;
 3474|   148k|    char *l_end;
 3475|   148k|    int punct;
 3476|       |
 3477|   148k|    assert(encoding != NULL);
  ------------------
  |  Branch (3477:5): [True: 148k, False: 0]
  ------------------
 3478|       |
 3479|   148k|    e = encoding;
 3480|   148k|    l = lower;
 3481|   148k|    l_end = &lower[lower_len - 1];
 3482|   148k|    punct = 0;
 3483|  1.01M|    while (1) {
  ------------------
  |  Branch (3483:12): [True: 1.01M, Folded]
  ------------------
 3484|  1.01M|        char c = *e;
 3485|  1.01M|        if (c == 0) {
  ------------------
  |  Branch (3485:13): [True: 148k, False: 870k]
  ------------------
 3486|   148k|            break;
 3487|   148k|        }
 3488|       |
 3489|   870k|        if (Py_ISALNUM(c) || c == '.') {
  ------------------
  |  |   26|  1.74M|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |  138|   870k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |   12|   870k|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   10|   870k|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    8|   870k|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    9|   870k|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|   870k|#define PY_CTF_DIGIT  0x04
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (26:24): [True: 860k, False: 9.78k]
  |  |  ------------------
  ------------------
  |  Branch (3489:30): [True: 1.34k, False: 8.44k]
  ------------------
 3490|   862k|            if (punct && l != lower) {
  ------------------
  |  Branch (3490:17): [True: 5.62k, False: 856k]
  |  Branch (3490:26): [True: 5.57k, False: 55]
  ------------------
 3491|  5.57k|                if (l == l_end) {
  ------------------
  |  Branch (3491:21): [True: 3, False: 5.56k]
  ------------------
 3492|      3|                    return 0;
 3493|      3|                }
 3494|  5.56k|                *l++ = '_';
 3495|  5.56k|            }
 3496|   862k|            punct = 0;
 3497|       |
 3498|   862k|            if (l == l_end) {
  ------------------
  |  Branch (3498:17): [True: 65, False: 861k]
  ------------------
 3499|     65|                return 0;
 3500|     65|            }
 3501|   861k|            *l++ = to_lower ? Py_TOLOWER(c) : c;
  ------------------
  |  |   32|   842k|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|   842k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (3501:20): [True: 842k, False: 19.8k]
  ------------------
 3502|   861k|        }
 3503|  8.44k|        else {
 3504|  8.44k|            punct = 1;
 3505|  8.44k|        }
 3506|       |
 3507|   870k|        e++;
 3508|   870k|    }
 3509|   148k|    *l = '\0';
 3510|   148k|    return 1;
 3511|   148k|}
PyUnicode_Decode:
 3518|  94.4k|{
 3519|  94.4k|    PyObject *buffer = NULL, *unicode;
 3520|  94.4k|    Py_buffer info;
 3521|  94.4k|    char buflower[11];   /* strlen("iso-8859-1\0") == 11, longest shortcut */
 3522|       |
 3523|  94.4k|    if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3523:9): [True: 0, False: 94.4k]
  ------------------
 3524|      0|        return NULL;
 3525|      0|    }
 3526|       |
 3527|  94.4k|    if (size == 0) {
  ------------------
  |  Branch (3527:9): [True: 2, False: 94.4k]
  ------------------
 3528|      2|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      2|    do {                             \
  |  |  380|      2|        return _PyUnicode_GetEmpty();\
  |  |  381|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3529|      2|    }
 3530|       |
 3531|  94.4k|    if (encoding == NULL) {
  ------------------
  |  Branch (3531:9): [True: 0, False: 94.4k]
  ------------------
 3532|      0|        return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
 3533|      0|    }
 3534|       |
 3535|       |    /* Shortcuts for common default encodings */
 3536|  94.4k|    if (_Py_normalize_encoding(encoding, buflower, sizeof(buflower), 1)) {
  ------------------
  |  Branch (3536:9): [True: 94.4k, False: 68]
  ------------------
 3537|  94.4k|        char *lower = buflower;
 3538|       |
 3539|       |        /* Fast paths */
 3540|  94.4k|        if (lower[0] == 'u' && lower[1] == 't' && lower[2] == 'f') {
  ------------------
  |  Branch (3540:13): [True: 4.53k, False: 89.8k]
  |  Branch (3540:32): [True: 4.35k, False: 184]
  |  Branch (3540:51): [True: 4.34k, False: 7]
  ------------------
 3541|  4.34k|            lower += 3;
 3542|  4.34k|            if (*lower == '_') {
  ------------------
  |  Branch (3542:17): [True: 4.32k, False: 17]
  ------------------
 3543|       |                /* Match "utf8" and "utf_8" */
 3544|  4.32k|                lower++;
 3545|  4.32k|            }
 3546|       |
 3547|  4.34k|            if (lower[0] == '8' && lower[1] == 0) {
  ------------------
  |  Branch (3547:17): [True: 4.11k, False: 232]
  |  Branch (3547:36): [True: 4.11k, False: 3]
  ------------------
 3548|  4.11k|                return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
 3549|  4.11k|            }
 3550|    235|            else if (lower[0] == '1' && lower[1] == '6' && lower[2] == 0) {
  ------------------
  |  Branch (3550:22): [True: 122, False: 113]
  |  Branch (3550:41): [True: 121, False: 1]
  |  Branch (3550:60): [True: 46, False: 75]
  ------------------
 3551|     46|                return PyUnicode_DecodeUTF16(s, size, errors, 0);
 3552|     46|            }
 3553|    189|            else if (lower[0] == '3' && lower[1] == '2' && lower[2] == 0) {
  ------------------
  |  Branch (3553:22): [True: 14, False: 175]
  |  Branch (3553:41): [True: 11, False: 3]
  |  Branch (3553:60): [True: 7, False: 4]
  ------------------
 3554|      7|                return PyUnicode_DecodeUTF32(s, size, errors, 0);
 3555|      7|            }
 3556|  4.34k|        }
 3557|  90.0k|        else {
 3558|  90.0k|            if (strcmp(lower, "ascii") == 0
  ------------------
  |  Branch (3558:17): [True: 66.5k, False: 23.4k]
  ------------------
 3559|  66.5k|                || strcmp(lower, "us_ascii") == 0) {
  ------------------
  |  Branch (3559:20): [True: 3, False: 23.4k]
  ------------------
 3560|  66.5k|                return PyUnicode_DecodeASCII(s, size, errors);
 3561|  66.5k|            }
 3562|       |    #ifdef MS_WINDOWS
 3563|       |            else if (strcmp(lower, "mbcs") == 0) {
 3564|       |                return PyUnicode_DecodeMBCS(s, size, errors);
 3565|       |            }
 3566|       |    #endif
 3567|  23.4k|            else if (strcmp(lower, "latin1") == 0
  ------------------
  |  Branch (3567:22): [True: 34, False: 23.4k]
  ------------------
 3568|  23.4k|                     || strcmp(lower, "latin_1") == 0
  ------------------
  |  Branch (3568:25): [True: 3, False: 23.4k]
  ------------------
 3569|  23.4k|                     || strcmp(lower, "iso_8859_1") == 0
  ------------------
  |  Branch (3569:25): [True: 24, False: 23.4k]
  ------------------
 3570|  23.4k|                     || strcmp(lower, "iso8859_1") == 0) {
  ------------------
  |  Branch (3570:25): [True: 3, False: 23.4k]
  ------------------
 3571|     64|                return PyUnicode_DecodeLatin1(s, size, errors);
 3572|     64|            }
 3573|  90.0k|        }
 3574|  94.4k|    }
 3575|       |
 3576|       |    /* Decode via the codec registry */
 3577|  23.6k|    buffer = NULL;
 3578|  23.6k|    if (PyBuffer_FillInfo(&info, NULL, (void *)s, size, 1, PyBUF_FULL_RO) < 0)
  ------------------
  |  |  134|  23.6k|#define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  122|  23.6k|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  23.6k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  23.6k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  116|  23.6k|#define PyBUF_FORMAT 0x0004
  |  |  ------------------
  ------------------
  |  Branch (3578:9): [True: 0, False: 23.6k]
  ------------------
 3579|      0|        goto onError;
 3580|  23.6k|    buffer = PyMemoryView_FromBuffer(&info);
 3581|  23.6k|    if (buffer == NULL)
  ------------------
  |  Branch (3581:9): [True: 0, False: 23.6k]
  ------------------
 3582|      0|        goto onError;
 3583|  23.6k|    unicode = _PyCodec_DecodeText(buffer, encoding, errors);
 3584|  23.6k|    if (unicode == NULL)
  ------------------
  |  Branch (3584:9): [True: 2.22k, False: 21.4k]
  ------------------
 3585|  2.22k|        goto onError;
 3586|  21.4k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|  21.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  21.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3586:9): [True: 0, False: 21.4k]
  ------------------
 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|  21.4k|    Py_DECREF(buffer);
  ------------------
  |  |  430|  21.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3596|  21.4k|    return unicode_result(unicode);
  ------------------
  |  |  751|  21.4k|#define unicode_result _PyUnicode_Result
  ------------------
 3597|       |
 3598|  2.22k|  onError:
 3599|  2.22k|    Py_XDECREF(buffer);
  ------------------
  |  |  524|  2.22k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3600|       |    return NULL;
 3601|  21.4k|}
PyUnicode_EncodeFSDefault:
 3739|  6.14k|{
 3740|  6.14k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 3741|  6.14k|    struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
 3742|  6.14k|    if (fs_codec->utf8) {
  ------------------
  |  Branch (3742:9): [True: 6.12k, False: 20]
  ------------------
 3743|  6.12k|        return unicode_encode_utf8(unicode,
 3744|  6.12k|                                   fs_codec->error_handler,
 3745|  6.12k|                                   fs_codec->errors);
 3746|  6.12k|    }
 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|  6.14k|}
PyUnicode_AsEncodedString:
 3775|  53.2k|{
 3776|  53.2k|    PyObject *v;
 3777|  53.2k|    char buflower[11];   /* strlen("iso_8859_1\0") == 11, longest shortcut */
 3778|       |
 3779|  53.2k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|  53.2k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  53.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3779:9): [True: 0, False: 53.2k]
  ------------------
 3780|      0|        PyErr_BadArgument();
 3781|      0|        return NULL;
 3782|      0|    }
 3783|       |
 3784|  53.2k|    if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3784:9): [True: 0, False: 53.2k]
  ------------------
 3785|      0|        return NULL;
 3786|      0|    }
 3787|       |
 3788|  53.2k|    if (encoding == NULL) {
  ------------------
  |  Branch (3788:9): [True: 0, False: 53.2k]
  ------------------
 3789|      0|        return _PyUnicode_AsUTF8String(unicode, errors);
 3790|      0|    }
 3791|       |
 3792|       |    /* Shortcuts for common default encodings */
 3793|  53.2k|    if (_Py_normalize_encoding(encoding, buflower, sizeof(buflower), 1)) {
  ------------------
  |  Branch (3793:9): [True: 53.2k, False: 0]
  ------------------
 3794|  53.2k|        char *lower = buflower;
 3795|       |
 3796|       |        /* Fast paths */
 3797|  53.2k|        if (lower[0] == 'u' && lower[1] == 't' && lower[2] == 'f') {
  ------------------
  |  Branch (3797:13): [True: 6, False: 53.2k]
  |  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|  53.2k|        else {
 3815|  53.2k|            if (strcmp(lower, "ascii") == 0
  ------------------
  |  Branch (3815:17): [True: 35.5k, False: 17.6k]
  ------------------
 3816|  35.5k|                || strcmp(lower, "us_ascii") == 0) {
  ------------------
  |  Branch (3816:20): [True: 0, False: 17.6k]
  ------------------
 3817|  35.5k|                return _PyUnicode_AsASCIIString(unicode, errors);
 3818|  35.5k|            }
 3819|       |#ifdef MS_WINDOWS
 3820|       |            else if (strcmp(lower, "mbcs") == 0) {
 3821|       |                return PyUnicode_EncodeCodePage(CP_ACP, unicode, errors);
 3822|       |            }
 3823|       |#endif
 3824|  17.6k|            else if (strcmp(lower, "latin1") == 0 ||
  ------------------
  |  Branch (3824:22): [True: 0, False: 17.6k]
  ------------------
 3825|  17.6k|                     strcmp(lower, "latin_1") == 0 ||
  ------------------
  |  Branch (3825:22): [True: 0, False: 17.6k]
  ------------------
 3826|  17.6k|                     strcmp(lower, "iso_8859_1") == 0 ||
  ------------------
  |  Branch (3826:22): [True: 0, False: 17.6k]
  ------------------
 3827|  17.6k|                     strcmp(lower, "iso8859_1") == 0) {
  ------------------
  |  Branch (3827:22): [True: 0, False: 17.6k]
  ------------------
 3828|      0|                return _PyUnicode_AsLatin1String(unicode, errors);
 3829|      0|            }
 3830|  53.2k|        }
 3831|  53.2k|    }
 3832|       |
 3833|       |    /* Encode via the codec registry */
 3834|  17.6k|    v = _PyCodec_EncodeText(unicode, encoding, errors);
 3835|  17.6k|    if (v == NULL)
  ------------------
  |  Branch (3835:9): [True: 0, False: 17.6k]
  ------------------
 3836|      0|        return NULL;
 3837|       |
 3838|       |    /* The normal path */
 3839|  17.6k|    if (PyBytes_Check(v))
  ------------------
  |  |   28|  17.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  17.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 17.6k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3840|  17.6k|        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|  6.95k|{
 3957|  6.95k|    Py_ssize_t size = (Py_ssize_t)strlen(str);
 3958|  6.95k|    _Py_error_handler error_handler = _Py_GetErrorHandler(errors);
 3959|  6.95k|    return unicode_decode_locale(str, size, error_handler, 1);
 3960|  6.95k|}
PyUnicode_DecodeFSDefault:
 3964|  24.5k|PyUnicode_DecodeFSDefault(const char *s) {
 3965|  24.5k|    Py_ssize_t size = (Py_ssize_t)strlen(s);
 3966|  24.5k|    return PyUnicode_DecodeFSDefaultAndSize(s, size);
 3967|  24.5k|}
PyUnicode_DecodeFSDefaultAndSize:
 3971|  25.2k|{
 3972|  25.2k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 3973|  25.2k|    struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
 3974|  25.2k|    if (fs_codec->utf8) {
  ------------------
  |  Branch (3974:9): [True: 25.2k, False: 2]
  ------------------
 3975|  25.2k|        return unicode_decode_utf8(s, size,
 3976|  25.2k|                                   fs_codec->error_handler,
 3977|  25.2k|                                   fs_codec->errors,
 3978|  25.2k|                                   NULL);
 3979|  25.2k|    }
 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|  25.2k|}
PyUnicode_FSConverter:
 4007|  5.58k|{
 4008|  5.58k|    PyObject *path = NULL;
 4009|  5.58k|    PyObject *output = NULL;
 4010|  5.58k|    Py_ssize_t size;
 4011|  5.58k|    const char *data;
 4012|  5.58k|    if (arg == NULL) {
  ------------------
  |  Branch (4012:9): [True: 0, False: 5.58k]
  ------------------
 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|  5.58k|    path = PyOS_FSPath(arg);
 4018|  5.58k|    if (path == NULL) {
  ------------------
  |  Branch (4018:9): [True: 0, False: 5.58k]
  ------------------
 4019|      0|        return 0;
 4020|      0|    }
 4021|  5.58k|    if (PyBytes_Check(path)) {
  ------------------
  |  |   28|  5.58k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.58k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 5.58k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4022|      0|        output = path;
 4023|      0|    }
 4024|  5.58k|    else {  // PyOS_FSPath() guarantees its returned value is bytes or str.
 4025|  5.58k|        output = PyUnicode_EncodeFSDefault(path);
 4026|  5.58k|        Py_DECREF(path);
  ------------------
  |  |  430|  5.58k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4027|  5.58k|        if (!output) {
  ------------------
  |  Branch (4027:13): [True: 0, False: 5.58k]
  ------------------
 4028|      0|            return 0;
 4029|      0|        }
 4030|  5.58k|        assert(PyBytes_Check(output));
  ------------------
  |  Branch (4030:9): [True: 5.58k, False: 0]
  ------------------
 4031|  5.58k|    }
 4032|       |
 4033|  5.58k|    size = PyBytes_GET_SIZE(output);
  ------------------
  |  |   33|  5.58k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  5.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4034|  5.58k|    data = PyBytes_AS_STRING(output);
  ------------------
  |  |   27|  5.58k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4035|  5.58k|    if ((size_t)size != strlen(data)) {
  ------------------
  |  Branch (4035:9): [True: 0, False: 5.58k]
  ------------------
 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|  5.58k|    *(PyObject**)addr = output;
 4041|  5.58k|    return Py_CLEANUP_SUPPORTED;
  ------------------
  |  |   57|  5.58k|#define Py_CLEANUP_SUPPORTED 0x20000
  ------------------
 4042|  5.58k|}
PyUnicode_AsUTF8AndSize:
 4109|   306k|{
 4110|   306k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|   306k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   306k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4110:9): [True: 0, False: 306k]
  ------------------
 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|   306k|    if (unicode_ensure_utf8(unicode) == -1) {
  ------------------
  |  Branch (4118:9): [True: 0, False: 306k]
  ------------------
 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|   306k|    if (psize) {
  ------------------
  |  Branch (4125:9): [True: 233k, False: 72.8k]
  ------------------
 4126|   233k|        *psize = PyUnicode_UTF8_LENGTH(unicode);
 4127|   233k|    }
 4128|   306k|    return PyUnicode_UTF8(unicode);
 4129|   306k|}
PyUnicode_AsUTF8:
 4133|  72.8k|{
 4134|       |    return PyUnicode_AsUTF8AndSize(unicode, NULL);
 4135|  72.8k|}
_PyUnicode_AsUTF8NoNUL:
 4139|   154k|{
 4140|   154k|    Py_ssize_t size;
 4141|   154k|    const char *s = PyUnicode_AsUTF8AndSize(unicode, &size);
 4142|   154k|    if (s && strlen(s) != (size_t)size) {
  ------------------
  |  Branch (4142:9): [True: 154k, False: 0]
  |  Branch (4142:14): [True: 0, False: 154k]
  ------------------
 4143|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 4144|      0|        return NULL;
 4145|      0|    }
 4146|   154k|    return s;
 4147|   154k|}
PyUnicode_GetLength:
 4167|     84|{
 4168|     84|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|     84|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     84|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4168:9): [True: 0, False: 84]
  ------------------
 4169|      0|        PyErr_BadArgument();
 4170|      0|        return -1;
 4171|      0|    }
 4172|     84|    return PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|     84|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4173|     84|}
PyUnicode_ReadChar:
 4177|     29|{
 4178|     29|    const void *data;
 4179|     29|    int kind;
 4180|       |
 4181|     29|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|     29|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     29|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4181:9): [True: 0, False: 29]
  ------------------
 4182|      0|        PyErr_BadArgument();
 4183|      0|        return (Py_UCS4)-1;
 4184|      0|    }
 4185|     29|    if (index < 0 || index >= PyUnicode_GET_LENGTH(unicode)) {
  ------------------
  |  |  299|     29|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4185:9): [True: 0, False: 29]
  |  Branch (4185:22): [True: 0, False: 29]
  ------------------
 4186|      0|        PyErr_SetString(PyExc_IndexError, "string index out of range");
 4187|      0|        return (Py_UCS4)-1;
 4188|      0|    }
 4189|     29|    data = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|     29|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4190|     29|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|     29|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     58|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 29, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4191|     29|    return PyUnicode_READ(kind, data, index);
  ------------------
  |  |  354|     29|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     29|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|     29|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     29|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     29|                   (index))
  ------------------
 4192|     29|}
PyUnicode_DecodeUTF7Stateful:
 4573|    170|{
 4574|    170|    const char *starts = s;
 4575|    170|    Py_ssize_t startinpos;
 4576|    170|    Py_ssize_t endinpos;
 4577|    170|    const char *e;
 4578|    170|    _PyUnicodeWriter writer;
 4579|    170|    const char *errmsg = "";
 4580|    170|    int inShift = 0;
 4581|    170|    Py_ssize_t shiftOutStart;
 4582|    170|    unsigned int base64bits = 0;
 4583|    170|    unsigned long base64buffer = 0;
 4584|    170|    Py_UCS4 surrogate = 0;
 4585|    170|    PyObject *errorHandler = NULL;
 4586|    170|    PyObject *exc = NULL;
 4587|       |
 4588|    170|    if (size == 0) {
  ------------------
  |  Branch (4588:9): [True: 0, False: 170]
  ------------------
 4589|      0|        if (consumed)
  ------------------
  |  Branch (4589:13): [True: 0, False: 0]
  ------------------
 4590|      0|            *consumed = 0;
 4591|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      0|    do {                             \
  |  |  380|      0|        return _PyUnicode_GetEmpty();\
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4592|      0|    }
 4593|       |
 4594|       |    /* Start off assuming it's all ASCII. Widen later as necessary. */
 4595|    170|    _PyUnicodeWriter_Init(&writer);
 4596|    170|    writer.min_length = size;
 4597|       |
 4598|    170|    shiftOutStart = 0;
 4599|    170|    e = s + size;
 4600|       |
 4601|   117k|    while (s < e) {
  ------------------
  |  Branch (4601:12): [True: 117k, False: 73]
  ------------------
 4602|   117k|        Py_UCS4 ch;
 4603|   117k|      restart:
 4604|   117k|        ch = (unsigned char) *s;
 4605|       |
 4606|   117k|        if (inShift) { /* in a base-64 section */
  ------------------
  |  Branch (4606:13): [True: 17.1k, False: 100k]
  ------------------
 4607|  17.1k|            if (IS_BASE64(ch)) { /* consume a base-64 character */
  ------------------
  |  | 4484|  17.1k|    (((c) >= 'A' && (c) <= 'Z') ||     \
  |  |  ------------------
  |  |  |  Branch (4484:7): [True: 4.47k, False: 12.6k]
  |  |  |  Branch (4484:21): [True: 690, False: 3.78k]
  |  |  ------------------
  |  | 4485|  17.1k|     ((c) >= 'a' && (c) <= 'z') ||     \
  |  |  ------------------
  |  |  |  Branch (4485:7): [True: 3.64k, False: 12.7k]
  |  |  |  Branch (4485:21): [True: 3.61k, False: 32]
  |  |  ------------------
  |  | 4486|  17.1k|     ((c) >= '0' && (c) <= '9') ||     \
  |  |  ------------------
  |  |  |  Branch (4486:7): [True: 4.80k, False: 8.00k]
  |  |  |  Branch (4486:21): [True: 4.43k, False: 375]
  |  |  ------------------
  |  | 4487|  17.1k|     (c) == '+' || (c) == '/')
  |  |  ------------------
  |  |  |  Branch (4487:6): [True: 3.31k, False: 5.06k]
  |  |  |  Branch (4487:20): [True: 3.56k, False: 1.49k]
  |  |  ------------------
  ------------------
 4608|  15.6k|                base64buffer = (base64buffer << 6) | FROM_BASE64(ch);
  ------------------
  |  | 4492|  15.6k|    (((c) >= 'A' && (c) <= 'Z') ? (c) - 'A' :                           \
  |  |  ------------------
  |  |  |  Branch (4492:7): [True: 4.30k, False: 11.3k]
  |  |  |  Branch (4492:21): [True: 690, False: 3.61k]
  |  |  ------------------
  |  | 4493|  15.6k|     ((c) >= 'a' && (c) <= 'z') ? (c) - 'a' + 26 :                      \
  |  |  ------------------
  |  |  |  Branch (4493:7): [True: 3.61k, False: 11.3k]
  |  |  |  Branch (4493:21): [True: 3.61k, False: 0]
  |  |  ------------------
  |  | 4494|  14.9k|     ((c) >= '0' && (c) <= '9') ? (c) - '0' + 52 :                      \
  |  |  ------------------
  |  |  |  Branch (4494:7): [True: 4.43k, False: 6.87k]
  |  |  |  Branch (4494:21): [True: 4.43k, False: 0]
  |  |  ------------------
  |  | 4495|  11.3k|     (c) == '+' ? 62 : 63)
  |  |  ------------------
  |  |  |  Branch (4495:6): [True: 3.31k, False: 3.56k]
  |  |  ------------------
  ------------------
 4609|  15.6k|                base64bits += 6;
 4610|  15.6k|                s++;
 4611|  15.6k|                if (base64bits >= 16) {
  ------------------
  |  Branch (4611:21): [True: 5.76k, False: 9.85k]
  ------------------
 4612|       |                    /* we have enough bits for a UTF-16 value */
 4613|  5.76k|                    Py_UCS4 outCh = (Py_UCS4)(base64buffer >> (base64bits-16));
 4614|  5.76k|                    base64bits -= 16;
 4615|  5.76k|                    base64buffer &= (1 << base64bits) - 1; /* clear high bits */
 4616|  5.76k|                    assert(outCh <= 0xffff);
  ------------------
  |  Branch (4616:21): [True: 5.76k, False: 0]
  ------------------
 4617|  5.76k|                    if (surrogate) {
  ------------------
  |  Branch (4617:25): [True: 516, False: 5.24k]
  ------------------
 4618|       |                        /* expecting a second surrogate */
 4619|    516|                        if (Py_UNICODE_IS_LOW_SURROGATE(outCh)) {
  ------------------
  |  Branch (4619:29): [True: 309, False: 207]
  ------------------
 4620|    309|                            Py_UCS4 ch2 = Py_UNICODE_JOIN_SURROGATES(surrogate, outCh);
 4621|    309|                            if (_PyUnicodeWriter_WriteCharInline(&writer, ch2) < 0)
  ------------------
  |  Branch (4621:33): [True: 0, False: 309]
  ------------------
 4622|      0|                                goto onError;
 4623|    309|                            surrogate = 0;
 4624|    309|                            continue;
 4625|    309|                        }
 4626|    207|                        else {
 4627|    207|                            if (_PyUnicodeWriter_WriteCharInline(&writer, surrogate) < 0)
  ------------------
  |  Branch (4627:33): [True: 0, False: 207]
  ------------------
 4628|      0|                                goto onError;
 4629|    207|                            surrogate = 0;
 4630|    207|                        }
 4631|    516|                    }
 4632|  5.45k|                    if (Py_UNICODE_IS_HIGH_SURROGATE(outCh)) {
  ------------------
  |  Branch (4632:25): [True: 829, False: 4.62k]
  ------------------
 4633|       |                        /* first surrogate */
 4634|    829|                        surrogate = outCh;
 4635|    829|                    }
 4636|  4.62k|                    else {
 4637|  4.62k|                        if (_PyUnicodeWriter_WriteCharInline(&writer, outCh) < 0)
  ------------------
  |  Branch (4637:29): [True: 0, False: 4.62k]
  ------------------
 4638|      0|                            goto onError;
 4639|  4.62k|                    }
 4640|  5.45k|                }
 4641|  15.6k|            }
 4642|  1.49k|            else { /* now leaving a base-64 section */
 4643|  1.49k|                inShift = 0;
 4644|  1.49k|                if (base64bits > 0) { /* left-over bits */
  ------------------
  |  Branch (4644:21): [True: 545, False: 953]
  ------------------
 4645|    545|                    if (base64bits >= 6) {
  ------------------
  |  Branch (4645:25): [True: 48, False: 497]
  ------------------
 4646|       |                        /* We've seen at least one base-64 character */
 4647|     48|                        s++;
 4648|     48|                        errmsg = "partial character in shift sequence";
 4649|     48|                        goto utf7Error;
 4650|     48|                    }
 4651|    497|                    else {
 4652|       |                        /* Some bits remain; they should be zero */
 4653|    497|                        if (base64buffer != 0) {
  ------------------
  |  Branch (4653:29): [True: 19, False: 478]
  ------------------
 4654|     19|                            s++;
 4655|     19|                            errmsg = "non-zero padding bits in shift sequence";
 4656|     19|                            goto utf7Error;
 4657|     19|                        }
 4658|    497|                    }
 4659|    545|                }
 4660|  1.43k|                if (surrogate && DECODE_DIRECT(ch)) {
  ------------------
  |  | 4508|    306|    ((c) <= 127 && (c) != '+')
  |  |  ------------------
  |  |  |  Branch (4508:6): [True: 305, False: 1]
  |  |  |  Branch (4508:20): [True: 305, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (4660:21): [True: 306, False: 1.12k]
  ------------------
 4661|    305|                    if (_PyUnicodeWriter_WriteCharInline(&writer, surrogate) < 0)
  ------------------
  |  Branch (4661:25): [True: 0, False: 305]
  ------------------
 4662|      0|                        goto onError;
 4663|    305|                }
 4664|  1.43k|                surrogate = 0;
 4665|  1.43k|                if (ch == '-') {
  ------------------
  |  Branch (4665:21): [True: 234, False: 1.19k]
  ------------------
 4666|       |                    /* '-' is absorbed; other terminating
 4667|       |                       characters are preserved */
 4668|    234|                    s++;
 4669|    234|                }
 4670|  1.43k|            }
 4671|  17.1k|        }
 4672|   100k|        else if ( ch == '+' ) {
  ------------------
  |  Branch (4672:19): [True: 2.34k, False: 98.1k]
  ------------------
 4673|  2.34k|            startinpos = s-starts;
 4674|  2.34k|            s++; /* consume '+' */
 4675|  2.34k|            if (s < e && *s == '-') { /* '+-' encodes '+' */
  ------------------
  |  Branch (4675:17): [True: 2.34k, False: 1]
  |  Branch (4675:26): [True: 831, False: 1.51k]
  ------------------
 4676|    831|                s++;
 4677|    831|                if (_PyUnicodeWriter_WriteCharInline(&writer, '+') < 0)
  ------------------
  |  Branch (4677:21): [True: 0, False: 831]
  ------------------
 4678|      0|                    goto onError;
 4679|    831|            }
 4680|  1.51k|            else if (s < e && !IS_BASE64(*s)) {
  ------------------
  |  | 4484|  1.51k|    (((c) >= 'A' && (c) <= 'Z') ||     \
  |  |  ------------------
  |  |  |  Branch (4484:7): [True: 403, False: 1.11k]
  |  |  |  Branch (4484:21): [True: 13, False: 390]
  |  |  ------------------
  |  | 4485|  1.51k|     ((c) >= 'a' && (c) <= 'z') ||     \
  |  |  ------------------
  |  |  |  Branch (4485:7): [True: 389, False: 1.11k]
  |  |  |  Branch (4485:21): [True: 386, False: 3]
  |  |  ------------------
  |  | 4486|  1.51k|     ((c) >= '0' && (c) <= '9') ||     \
  |  |  ------------------
  |  |  |  Branch (4486:7): [True: 624, False: 493]
  |  |  |  Branch (4486:21): [True: 619, False: 5]
  |  |  ------------------
  |  | 4487|  1.51k|     (c) == '+' || (c) == '/')
  |  |  ------------------
  |  |  |  Branch (4487:6): [True: 127, False: 371]
  |  |  |  Branch (4487:20): [True: 361, False: 10]
  |  |  ------------------
  ------------------
  |  Branch (4680:22): [True: 1.51k, False: 1]
  ------------------
 4681|     10|                s++;
 4682|     10|                errmsg = "ill-formed sequence";
 4683|     10|                goto utf7Error;
 4684|     10|            }
 4685|  1.50k|            else { /* begin base64-encoded section */
 4686|  1.50k|                inShift = 1;
 4687|  1.50k|                surrogate = 0;
 4688|  1.50k|                shiftOutStart = writer.pos;
 4689|  1.50k|                base64bits = 0;
 4690|  1.50k|                base64buffer = 0;
 4691|  1.50k|            }
 4692|  2.34k|        }
 4693|  98.1k|        else if (DECODE_DIRECT(ch)) { /* character decodes as itself */
  ------------------
  |  | 4508|  98.1k|    ((c) <= 127 && (c) != '+')
  |  |  ------------------
  |  |  |  Branch (4508:6): [True: 98.1k, False: 20]
  |  |  |  Branch (4508:20): [True: 98.1k, False: 0]
  |  |  ------------------
  ------------------
 4694|  98.1k|            s++;
 4695|  98.1k|            if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0)
  ------------------
  |  Branch (4695:17): [True: 0, False: 98.1k]
  ------------------
 4696|      0|                goto onError;
 4697|  98.1k|        }
 4698|     20|        else {
 4699|     20|            startinpos = s-starts;
 4700|     20|            s++;
 4701|     20|            errmsg = "unexpected special character";
 4702|     20|            goto utf7Error;
 4703|     20|        }
 4704|   117k|        continue;
 4705|   117k|utf7Error:
 4706|     97|        endinpos = s-starts;
 4707|     97|        if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (4707:13): [True: 97, False: 0]
  ------------------
 4708|     97|                errors, &errorHandler,
 4709|     97|                "utf7", errmsg,
 4710|     97|                &starts, &e, &startinpos, &endinpos, &exc, &s,
 4711|     97|                &writer))
 4712|     97|            goto onError;
 4713|     97|    }
 4714|       |
 4715|       |    /* end of string */
 4716|       |
 4717|     73|    if (inShift && !consumed) { /* in shift sequence, no more to follow */
  ------------------
  |  Branch (4717:9): [True: 9, False: 64]
  |  Branch (4717:20): [True: 9, False: 0]
  ------------------
 4718|       |        /* if we're in an inconsistent state, that's an error */
 4719|      9|        inShift = 0;
 4720|      9|        if (surrogate ||
  ------------------
  |  Branch (4720:13): [True: 2, False: 7]
  ------------------
 4721|      7|                (base64bits >= 6) ||
  ------------------
  |  Branch (4721:17): [True: 3, False: 4]
  ------------------
 4722|      6|                (base64bits > 0 && base64buffer != 0)) {
  ------------------
  |  Branch (4722:18): [True: 2, False: 2]
  |  Branch (4722:36): [True: 1, False: 1]
  ------------------
 4723|      6|            endinpos = size;
 4724|      6|            if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (4724:17): [True: 6, False: 0]
  ------------------
 4725|      6|                    errors, &errorHandler,
 4726|      6|                    "utf7", "unterminated shift sequence",
 4727|      6|                    &starts, &e, &startinpos, &endinpos, &exc, &s,
 4728|      6|                    &writer))
 4729|      6|                goto onError;
 4730|      0|            if (s < e)
  ------------------
  |  Branch (4730:17): [True: 0, False: 0]
  ------------------
 4731|      0|                goto restart;
 4732|      0|        }
 4733|      9|    }
 4734|       |
 4735|       |    /* return state */
 4736|     67|    if (consumed) {
  ------------------
  |  Branch (4736:9): [True: 0, False: 67]
  ------------------
 4737|      0|        if (inShift) {
  ------------------
  |  Branch (4737:13): [True: 0, False: 0]
  ------------------
 4738|      0|            *consumed = startinpos;
 4739|      0|            if (writer.pos != shiftOutStart && writer.maxchar > 127) {
  ------------------
  |  Branch (4739:17): [True: 0, False: 0]
  |  Branch (4739:48): [True: 0, False: 0]
  ------------------
 4740|      0|                PyObject *result = PyUnicode_FromKindAndData(
 4741|      0|                        writer.kind, writer.data, shiftOutStart);
 4742|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4743|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4744|      0|                _PyUnicodeWriter_Dealloc(&writer);
 4745|      0|                return result;
 4746|      0|            }
 4747|      0|            writer.pos = shiftOutStart; /* back off output */
 4748|      0|        }
 4749|      0|        else {
 4750|      0|            *consumed = s-starts;
 4751|      0|        }
 4752|      0|    }
 4753|       |
 4754|     67|    Py_XDECREF(errorHandler);
  ------------------
  |  |  524|     67|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     67|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     67|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4755|     67|    Py_XDECREF(exc);
  ------------------
  |  |  524|     67|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     67|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     67|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4756|     67|    return _PyUnicodeWriter_Finish(&writer);
 4757|       |
 4758|    103|  onError:
 4759|    103|    Py_XDECREF(errorHandler);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4760|    103|    Py_XDECREF(exc);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4761|    103|    _PyUnicodeWriter_Dealloc(&writer);
 4762|       |    return NULL;
 4763|     67|}
PyUnicode_DecodeUTF8:
 4868|   299k|{
 4869|       |    return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
 4870|   299k|}
_PyUnicode_DecodeUTF8Writer:
 5352|   331k|{
 5353|   331k|    if (size == 0) {
  ------------------
  |  Branch (5353:9): [True: 59.3k, False: 272k]
  ------------------
 5354|  59.3k|        if (consumed) {
  ------------------
  |  Branch (5354:13): [True: 0, False: 59.3k]
  ------------------
 5355|      0|            *consumed = 0;
 5356|      0|        }
 5357|  59.3k|        return 0;
 5358|  59.3k|    }
 5359|       |
 5360|       |    // fast path: try ASCII string.
 5361|   272k|    if (_PyUnicodeWriter_Prepare(writer, size, 127) < 0) {
  ------------------
  |  |  562|   272k|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 249k, False: 22.6k]
  |  |  ------------------
  |  |  563|   272k|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 248k, False: 1.21k]
  |  |  ------------------
  |  |  564|   272k|     ? 0                                                              \
  |  |  565|   272k|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 23.9k]
  |  |  ------------------
  |  |  566|  23.9k|        ? 0                                                           \
  |  |  567|  23.9k|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (5361:9): [True: 0, False: 272k]
  ------------------
 5362|      0|        return -1;
 5363|      0|    }
 5364|       |
 5365|   272k|    const char *starts = s;
 5366|   272k|    const char *end = s + size;
 5367|   272k|    Py_ssize_t decoded = 0;
 5368|   272k|    Py_UCS1 *dest = (Py_UCS1*)writer->data + writer->pos * writer->kind;
 5369|   272k|    if (writer->kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (5369:9): [True: 258k, False: 13.1k]
  ------------------
 5370|   258k|        decoded = ascii_decode(s, end, dest);
 5371|   258k|        writer->pos += decoded;
 5372|       |
 5373|   258k|        if (decoded == size) {
  ------------------
  |  Branch (5373:13): [True: 258k, False: 5]
  ------------------
 5374|   258k|            if (consumed) {
  ------------------
  |  Branch (5374:17): [True: 3.60k, False: 255k]
  ------------------
 5375|  3.60k|                *consumed = size;
 5376|  3.60k|            }
 5377|   258k|            return 0;
 5378|   258k|        }
 5379|      5|        s += decoded;
 5380|      5|    }
 5381|       |
 5382|  13.1k|    return unicode_decode_utf8_impl(writer, starts, s, end,
 5383|  13.1k|                                    error_handler, errors, consumed);
 5384|   272k|}
PyUnicode_DecodeUTF8Stateful:
 5392|  2.17M|{
 5393|  2.17M|    return unicode_decode_utf8(s, size,
 5394|  2.17M|                               errors ? _Py_ERROR_UNKNOWN : _Py_ERROR_STRICT,
  ------------------
  |  Branch (5394:32): [True: 29.5k, False: 2.14M]
  ------------------
 5395|  2.17M|                               errors, consumed);
 5396|  2.17M|}
_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.69k|    for (i = 0; i < len; ) {
  ------------------
  |  Branch (5591:17): [True: 1.65k, False: 38]
  ------------------
 5592|  1.65k|        Py_ssize_t ch_pos = i;
 5593|  1.65k|        Py_UCS4 ch = text[i];
 5594|  1.65k|        i++;
 5595|  1.65k|        if (sizeof(wchar_t) == 2
  ------------------
  |  Branch (5595:13): [Folded, False: 1.65k]
  ------------------
 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.65k|        if (ch < 0x80) {
  ------------------
  |  Branch (5604:13): [True: 1.65k, False: 0]
  ------------------
 5605|       |            /* Encode ASCII */
 5606|  1.65k|            *p++ = (char) ch;
 5607|       |
 5608|  1.65k|        }
 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.65k|    }
 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|  3.45k|{
 5781|  3.45k|    return unicode_encode_utf8(unicode, _Py_ERROR_UNKNOWN, errors);
 5782|  3.45k|}
PyUnicode_AsUTF8String:
 5787|  3.44k|{
 5788|       |    return _PyUnicode_AsUTF8String(unicode, NULL);
 5789|  3.44k|}
PyUnicode_DecodeUTF32:
 5798|      7|{
 5799|       |    return PyUnicode_DecodeUTF32Stateful(s, size, errors, byteorder, NULL);
 5800|      7|}
PyUnicode_DecodeUTF32Stateful:
 5808|     15|{
 5809|     15|    const char *starts = s;
 5810|     15|    Py_ssize_t startinpos;
 5811|     15|    Py_ssize_t endinpos;
 5812|     15|    _PyUnicodeWriter writer;
 5813|     15|    const unsigned char *q, *e;
 5814|     15|    int le, bo = 0;       /* assume native ordering by default */
 5815|     15|    const char *encoding;
 5816|     15|    const char *errmsg = "";
 5817|     15|    PyObject *errorHandler = NULL;
 5818|     15|    PyObject *exc = NULL;
 5819|       |
 5820|     15|    q = (const unsigned char *)s;
 5821|     15|    e = q + size;
 5822|       |
 5823|     15|    if (byteorder)
  ------------------
  |  Branch (5823:9): [True: 8, False: 7]
  ------------------
 5824|      8|        bo = *byteorder;
 5825|       |
 5826|       |    /* Check for BOM marks (U+FEFF) in the input and adjust current
 5827|       |       byte order setting accordingly. In native mode, the leading BOM
 5828|       |       mark is skipped, in all other modes, it is copied to the output
 5829|       |       stream as-is (giving a ZWNBSP character). */
 5830|     15|    if (bo == 0 && size >= 4) {
  ------------------
  |  Branch (5830:9): [True: 12, False: 3]
  |  Branch (5830:20): [True: 12, False: 0]
  ------------------
 5831|     12|        Py_UCS4 bom = ((unsigned int)q[3] << 24) | (q[2] << 16) | (q[1] << 8) | q[0];
 5832|     12|        if (bom == 0x0000FEFF) {
  ------------------
  |  Branch (5832:13): [True: 0, False: 12]
  ------------------
 5833|      0|            bo = -1;
 5834|      0|            q += 4;
 5835|      0|        }
 5836|     12|        else if (bom == 0xFFFE0000) {
  ------------------
  |  Branch (5836:18): [True: 0, False: 12]
  ------------------
 5837|      0|            bo = 1;
 5838|      0|            q += 4;
 5839|      0|        }
 5840|     12|        if (byteorder)
  ------------------
  |  Branch (5840:13): [True: 5, False: 7]
  ------------------
 5841|      5|            *byteorder = bo;
 5842|     12|    }
 5843|       |
 5844|     15|    if (q == e) {
  ------------------
  |  Branch (5844:9): [True: 0, False: 15]
  ------------------
 5845|      0|        if (consumed)
  ------------------
  |  Branch (5845:13): [True: 0, False: 0]
  ------------------
 5846|      0|            *consumed = size;
 5847|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      0|    do {                             \
  |  |  380|      0|        return _PyUnicode_GetEmpty();\
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5848|      0|    }
 5849|       |
 5850|       |#ifdef WORDS_BIGENDIAN
 5851|       |    le = bo < 0;
 5852|       |#else
 5853|     15|    le = bo <= 0;
 5854|     15|#endif
 5855|     15|    encoding = le ? "utf-32-le" : "utf-32-be";
  ------------------
  |  Branch (5855:16): [True: 14, False: 1]
  ------------------
 5856|       |
 5857|     15|    _PyUnicodeWriter_Init(&writer);
 5858|     15|    writer.min_length = (e - q + 3) / 4;
 5859|     15|    if (_PyUnicodeWriter_Prepare(&writer, writer.min_length, 127) == -1)
  ------------------
  |  |  562|     15|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 0, False: 15]
  |  |  ------------------
  |  |  563|     15|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  564|     15|     ? 0                                                              \
  |  |  565|     15|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 15]
  |  |  ------------------
  |  |  566|     15|        ? 0                                                           \
  |  |  567|     15|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (5859:9): [True: 0, False: 15]
  ------------------
 5860|      0|        goto onError;
 5861|       |
 5862|     15|    while (1) {
  ------------------
  |  Branch (5862:12): [True: 15, Folded]
  ------------------
 5863|     15|        Py_UCS4 ch = 0;
 5864|     15|        Py_UCS4 maxch = PyUnicode_MAX_CHAR_VALUE(writer.buffer);
  ------------------
  |  |  405|     15|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5865|       |
 5866|     15|        if (e - q >= 4) {
  ------------------
  |  Branch (5866:13): [True: 15, False: 0]
  ------------------
 5867|     15|            int kind = writer.kind;
 5868|     15|            void *data = writer.data;
 5869|     15|            const unsigned char *last = e - 4;
 5870|     15|            Py_ssize_t pos = writer.pos;
 5871|     15|            if (le) {
  ------------------
  |  Branch (5871:17): [True: 14, False: 1]
  ------------------
 5872|     14|                do {
 5873|     14|                    ch = ((unsigned int)q[3] << 24) | (q[2] << 16) | (q[1] << 8) | q[0];
 5874|     14|                    if (ch > maxch)
  ------------------
  |  Branch (5874:25): [True: 14, False: 0]
  ------------------
 5875|     14|                        break;
 5876|      0|                    if (kind != PyUnicode_1BYTE_KIND &&
  ------------------
  |  Branch (5876:25): [True: 0, False: 0]
  ------------------
 5877|      0|                        Py_UNICODE_IS_SURROGATE(ch))
  ------------------
  |  Branch (5877:25): [True: 0, False: 0]
  ------------------
 5878|      0|                        break;
 5879|      0|                    PyUnicode_WRITE(kind, data, pos++, ch);
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5880|      0|                    q += 4;
 5881|      0|                } while (q <= last);
  ------------------
  |  Branch (5881:26): [True: 0, False: 0]
  ------------------
 5882|     14|            }
 5883|      1|            else {
 5884|      1|                do {
 5885|      1|                    ch = ((unsigned int)q[0] << 24) | (q[1] << 16) | (q[2] << 8) | q[3];
 5886|      1|                    if (ch > maxch)
  ------------------
  |  Branch (5886:25): [True: 1, False: 0]
  ------------------
 5887|      1|                        break;
 5888|      0|                    if (kind != PyUnicode_1BYTE_KIND &&
  ------------------
  |  Branch (5888:25): [True: 0, False: 0]
  ------------------
 5889|      0|                        Py_UNICODE_IS_SURROGATE(ch))
  ------------------
  |  Branch (5889:25): [True: 0, False: 0]
  ------------------
 5890|      0|                        break;
 5891|      0|                    PyUnicode_WRITE(kind, data, pos++, ch);
  ------------------
  |  |  335|      0|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|      0|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5892|      0|                    q += 4;
 5893|      0|                } while (q <= last);
  ------------------
  |  Branch (5893:26): [True: 0, False: 0]
  ------------------
 5894|      1|            }
 5895|     15|            writer.pos = pos;
 5896|     15|        }
 5897|       |
 5898|     15|        if (Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (5898:13): [True: 0, False: 15]
  ------------------
 5899|      0|            errmsg = "code point in surrogate code point range(0xd800, 0xe000)";
 5900|      0|            startinpos = ((const char *)q) - starts;
 5901|      0|            endinpos = startinpos + 4;
 5902|      0|        }
 5903|     15|        else if (ch <= maxch) {
  ------------------
  |  Branch (5903:18): [True: 0, False: 15]
  ------------------
 5904|      0|            if (q == e || consumed)
  ------------------
  |  Branch (5904:17): [True: 0, False: 0]
  |  Branch (5904:27): [True: 0, False: 0]
  ------------------
 5905|      0|                break;
 5906|       |            /* remaining bytes at the end? (size should be divisible by 4) */
 5907|      0|            errmsg = "truncated data";
 5908|      0|            startinpos = ((const char *)q) - starts;
 5909|      0|            endinpos = ((const char *)e) - starts;
 5910|      0|        }
 5911|     15|        else {
 5912|     15|            if (ch < 0x110000) {
  ------------------
  |  Branch (5912:17): [True: 0, False: 15]
  ------------------
 5913|      0|                if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0)
  ------------------
  |  Branch (5913:21): [True: 0, False: 0]
  ------------------
 5914|      0|                    goto onError;
 5915|      0|                q += 4;
 5916|      0|                continue;
 5917|      0|            }
 5918|     15|            errmsg = "code point not in range(0x110000)";
 5919|     15|            startinpos = ((const char *)q) - starts;
 5920|     15|            endinpos = startinpos + 4;
 5921|     15|        }
 5922|       |
 5923|       |        /* The remaining input chars are ignored if the callback
 5924|       |           chooses to skip the input */
 5925|     15|        if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (5925:13): [True: 15, False: 0]
  ------------------
 5926|     15|                errors, &errorHandler,
 5927|     15|                encoding, errmsg,
 5928|     15|                &starts, (const char **)&e, &startinpos, &endinpos, &exc, (const char **)&q,
 5929|     15|                &writer))
 5930|     15|            goto onError;
 5931|     15|    }
 5932|       |
 5933|      0|    if (consumed)
  ------------------
  |  Branch (5933:9): [True: 0, False: 0]
  ------------------
 5934|      0|        *consumed = (const char *)q-starts;
 5935|       |
 5936|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5937|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5938|      0|    return _PyUnicodeWriter_Finish(&writer);
 5939|       |
 5940|     15|  onError:
 5941|     15|    _PyUnicodeWriter_Dealloc(&writer);
 5942|     15|    Py_XDECREF(errorHandler);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5943|     15|    Py_XDECREF(exc);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5944|       |    return NULL;
 5945|     15|}
PyUnicode_DecodeUTF16:
 6114|     46|{
 6115|       |    return PyUnicode_DecodeUTF16Stateful(s, size, errors, byteorder, NULL);
 6116|     46|}
PyUnicode_DecodeUTF16Stateful:
 6124|    165|{
 6125|    165|    const char *starts = s;
 6126|    165|    Py_ssize_t startinpos;
 6127|    165|    Py_ssize_t endinpos;
 6128|    165|    _PyUnicodeWriter writer;
 6129|    165|    const unsigned char *q, *e;
 6130|    165|    int bo = 0;       /* assume native ordering by default */
 6131|    165|    int native_ordering;
 6132|    165|    const char *errmsg = "";
 6133|    165|    PyObject *errorHandler = NULL;
 6134|    165|    PyObject *exc = NULL;
 6135|    165|    const char *encoding;
 6136|       |
 6137|    165|    q = (const unsigned char *)s;
 6138|    165|    e = q + size;
 6139|       |
 6140|    165|    if (byteorder)
  ------------------
  |  Branch (6140:9): [True: 119, False: 46]
  ------------------
 6141|    119|        bo = *byteorder;
 6142|       |
 6143|       |    /* Check for BOM marks (U+FEFF) in the input and adjust current
 6144|       |       byte order setting accordingly. In native mode, the leading BOM
 6145|       |       mark is skipped, in all other modes, it is copied to the output
 6146|       |       stream as-is (giving a ZWNBSP character). */
 6147|    165|    if (bo == 0 && size >= 2) {
  ------------------
  |  Branch (6147:9): [True: 90, False: 75]
  |  Branch (6147:20): [True: 90, False: 0]
  ------------------
 6148|     90|        const Py_UCS4 bom = (q[1] << 8) | q[0];
 6149|     90|        if (bom == 0xFEFF) {
  ------------------
  |  Branch (6149:13): [True: 0, False: 90]
  ------------------
 6150|      0|            q += 2;
 6151|      0|            bo = -1;
 6152|      0|        }
 6153|     90|        else if (bom == 0xFFFE) {
  ------------------
  |  Branch (6153:18): [True: 0, False: 90]
  ------------------
 6154|      0|            q += 2;
 6155|      0|            bo = 1;
 6156|      0|        }
 6157|     90|        if (byteorder)
  ------------------
  |  Branch (6157:13): [True: 44, False: 46]
  ------------------
 6158|     44|            *byteorder = bo;
 6159|     90|    }
 6160|       |
 6161|    165|    if (q == e) {
  ------------------
  |  Branch (6161:9): [True: 0, False: 165]
  ------------------
 6162|      0|        if (consumed)
  ------------------
  |  Branch (6162:13): [True: 0, False: 0]
  ------------------
 6163|      0|            *consumed = size;
 6164|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      0|    do {                             \
  |  |  380|      0|        return _PyUnicode_GetEmpty();\
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6165|      0|    }
 6166|       |
 6167|    165|#if PY_LITTLE_ENDIAN
 6168|    165|    native_ordering = bo <= 0;
 6169|    165|    encoding = bo <= 0 ? "utf-16-le" : "utf-16-be";
  ------------------
  |  Branch (6169:16): [True: 99, False: 66]
  ------------------
 6170|       |#else
 6171|       |    native_ordering = bo >= 0;
 6172|       |    encoding = bo >= 0 ? "utf-16-be" : "utf-16-le";
 6173|       |#endif
 6174|       |
 6175|       |    /* Note: size will always be longer than the resulting Unicode
 6176|       |       character count normally.  Error handler will take care of
 6177|       |       resizing when needed. */
 6178|    165|    _PyUnicodeWriter_Init(&writer);
 6179|    165|    writer.min_length = (e - q + 1) / 2;
 6180|    165|    if (_PyUnicodeWriter_Prepare(&writer, writer.min_length, 127) == -1)
  ------------------
  |  |  562|    165|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 0, False: 165]
  |  |  ------------------
  |  |  563|    165|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  564|    165|     ? 0                                                              \
  |  |  565|    165|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 165]
  |  |  ------------------
  |  |  566|    165|        ? 0                                                           \
  |  |  567|    165|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (6180:9): [True: 0, False: 165]
  ------------------
 6181|      0|        goto onError;
 6182|       |
 6183|    387|    while (1) {
  ------------------
  |  Branch (6183:12): [True: 387, Folded]
  ------------------
 6184|    387|        Py_UCS4 ch = 0;
 6185|    387|        if (e - q >= 2) {
  ------------------
  |  Branch (6185:13): [True: 386, False: 1]
  ------------------
 6186|    386|            int kind = writer.kind;
 6187|    386|            if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (6187:17): [True: 165, False: 221]
  ------------------
 6188|    165|                if (PyUnicode_IS_ASCII(writer.buffer))
  ------------------
  |  |  227|    165|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    165|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    165|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 165, False: 0]
  |  |  ------------------
  ------------------
 6189|    165|                    ch = asciilib_utf16_decode(&q, e,
 6190|    165|                            (Py_UCS1*)writer.data, &writer.pos,
 6191|    165|                            native_ordering);
 6192|      0|                else
 6193|      0|                    ch = ucs1lib_utf16_decode(&q, e,
 6194|      0|                            (Py_UCS1*)writer.data, &writer.pos,
 6195|      0|                            native_ordering);
 6196|    221|            } else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (6196:24): [True: 162, False: 59]
  ------------------
 6197|    162|                ch = ucs2lib_utf16_decode(&q, e,
 6198|    162|                        (Py_UCS2*)writer.data, &writer.pos,
 6199|    162|                        native_ordering);
 6200|    162|            } else {
 6201|     59|                assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (6201:17): [True: 59, False: 0]
  ------------------
 6202|     59|                ch = ucs4lib_utf16_decode(&q, e,
 6203|     59|                        (Py_UCS4*)writer.data, &writer.pos,
 6204|     59|                        native_ordering);
 6205|     59|            }
 6206|    386|        }
 6207|       |
 6208|    387|        switch (ch)
 6209|    387|        {
 6210|    149|        case 0:
  ------------------
  |  Branch (6210:9): [True: 149, False: 238]
  ------------------
 6211|       |            /* remaining byte at the end? (size should be even) */
 6212|    149|            if (q == e || consumed)
  ------------------
  |  Branch (6212:17): [True: 100, False: 49]
  |  Branch (6212:27): [True: 0, False: 49]
  ------------------
 6213|    100|                goto End;
 6214|     49|            errmsg = "truncated data";
 6215|     49|            startinpos = ((const char *)q) - starts;
 6216|     49|            endinpos = ((const char *)e) - starts;
 6217|     49|            break;
 6218|       |            /* The remaining input chars are ignored if the callback
 6219|       |               chooses to skip the input */
 6220|      1|        case 1:
  ------------------
  |  Branch (6220:9): [True: 1, False: 386]
  ------------------
 6221|      1|            q -= 2;
 6222|      1|            if (consumed)
  ------------------
  |  Branch (6222:17): [True: 0, False: 1]
  ------------------
 6223|      0|                goto End;
 6224|      1|            errmsg = "unexpected end of data";
 6225|      1|            startinpos = ((const char *)q) - starts;
 6226|      1|            endinpos = ((const char *)e) - starts;
 6227|      1|            break;
 6228|      7|        case 2:
  ------------------
  |  Branch (6228:9): [True: 7, False: 380]
  ------------------
 6229|      7|            errmsg = "illegal encoding";
 6230|      7|            startinpos = ((const char *)q) - 2 - starts;
 6231|      7|            endinpos = startinpos + 2;
 6232|      7|            break;
 6233|      8|        case 3:
  ------------------
  |  Branch (6233:9): [True: 8, False: 379]
  ------------------
 6234|      8|            errmsg = "illegal UTF-16 surrogate";
 6235|      8|            startinpos = ((const char *)q) - 4 - starts;
 6236|      8|            endinpos = startinpos + 2;
 6237|      8|            break;
 6238|    222|        default:
  ------------------
  |  Branch (6238:9): [True: 222, False: 165]
  ------------------
 6239|    222|            if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0)
  ------------------
  |  Branch (6239:17): [True: 0, False: 222]
  ------------------
 6240|      0|                goto onError;
 6241|    222|            continue;
 6242|    387|        }
 6243|       |
 6244|     65|        if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (6244:13): [True: 65, False: 0]
  ------------------
 6245|     65|                errors,
 6246|     65|                &errorHandler,
 6247|     65|                encoding, errmsg,
 6248|     65|                &starts,
 6249|     65|                (const char **)&e,
 6250|     65|                &startinpos,
 6251|     65|                &endinpos,
 6252|     65|                &exc,
 6253|     65|                (const char **)&q,
 6254|     65|                &writer))
 6255|     65|            goto onError;
 6256|     65|    }
 6257|       |
 6258|    100|End:
 6259|    100|    if (consumed)
  ------------------
  |  Branch (6259:9): [True: 0, False: 100]
  ------------------
 6260|      0|        *consumed = (const char *)q-starts;
 6261|       |
 6262|    100|    Py_XDECREF(errorHandler);
  ------------------
  |  |  524|    100|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    100|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6263|    100|    Py_XDECREF(exc);
  ------------------
  |  |  524|    100|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    100|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6264|    100|    return _PyUnicodeWriter_Finish(&writer);
 6265|       |
 6266|     65|  onError:
 6267|     65|    _PyUnicodeWriter_Dealloc(&writer);
 6268|     65|    Py_XDECREF(errorHandler);
  ------------------
  |  |  524|     65|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     65|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     65|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6269|     65|    Py_XDECREF(exc);
  ------------------
  |  |  524|     65|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     65|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     65|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6270|       |    return NULL;
 6271|    165|}
_PyUnicode_GetNameCAPI:
 6447|  5.91k|{
 6448|  5.91k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 6449|  5.91k|    _PyUnicode_Name_CAPI *ucnhash_capi;
 6450|       |
 6451|  5.91k|    ucnhash_capi = _Py_atomic_load_ptr(&interp->unicode.ucnhash_capi);
 6452|  5.91k|    if (ucnhash_capi == NULL) {
  ------------------
  |  Branch (6452:9): [True: 1, False: 5.90k]
  ------------------
 6453|      1|        ucnhash_capi = (_PyUnicode_Name_CAPI *)PyCapsule_Import(
 6454|      1|                PyUnicodeData_CAPSULE_NAME, 1);
  ------------------
  |  |   14|      1|#define PyUnicodeData_CAPSULE_NAME "unicodedata._ucnhash_CAPI"
  ------------------
 6455|       |
 6456|       |        // It's fine if we overwrite the value here. It's always the same value.
 6457|      1|        _Py_atomic_store_ptr(&interp->unicode.ucnhash_capi, ucnhash_capi);
 6458|      1|    }
 6459|  5.91k|    return ucnhash_capi;
 6460|  5.91k|}
_PyUnicode_DecodeUnicodeEscapeInternal2:
 6471|  33.9k|{
 6472|  33.9k|    const char *starts = s;
 6473|  33.9k|    const char *initial_starts = starts;
 6474|  33.9k|    _PyUnicodeWriter writer;
 6475|  33.9k|    const char *end;
 6476|  33.9k|    PyObject *errorHandler = NULL;
 6477|  33.9k|    PyObject *exc = NULL;
 6478|  33.9k|    _PyUnicode_Name_CAPI *ucnhash_capi;
 6479|       |
 6480|       |    // so we can remember if we've seen an invalid escape char or not
 6481|  33.9k|    *first_invalid_escape_char = -1;
 6482|  33.9k|    *first_invalid_escape_ptr = NULL;
 6483|       |
 6484|  33.9k|    if (size == 0) {
  ------------------
  |  Branch (6484:9): [True: 4.96k, False: 28.9k]
  ------------------
 6485|  4.96k|        if (consumed) {
  ------------------
  |  Branch (6485:13): [True: 0, False: 4.96k]
  ------------------
 6486|      0|            *consumed = 0;
 6487|      0|        }
 6488|  4.96k|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|  4.96k|    do {                             \
  |  |  380|  4.96k|        return _PyUnicode_GetEmpty();\
  |  |  381|  4.96k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6489|  4.96k|    }
 6490|       |    /* Escaped strings will always be longer than the resulting
 6491|       |       Unicode string, so we start with size here and then reduce the
 6492|       |       length after conversion to the true value.
 6493|       |       (but if the error callback returns a long replacement string
 6494|       |       we'll have to allocate more space) */
 6495|  28.9k|    _PyUnicodeWriter_Init(&writer);
 6496|  28.9k|    writer.min_length = size;
 6497|  28.9k|    if (_PyUnicodeWriter_Prepare(&writer, size, 127) < 0) {
  ------------------
  |  |  562|  28.9k|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 0, False: 28.9k]
  |  |  ------------------
  |  |  563|  28.9k|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  564|  28.9k|     ? 0                                                              \
  |  |  565|  28.9k|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 28.9k]
  |  |  ------------------
  |  |  566|  28.9k|        ? 0                                                           \
  |  |  567|  28.9k|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (6497:9): [True: 0, False: 28.9k]
  ------------------
 6498|      0|        goto onError;
 6499|      0|    }
 6500|       |
 6501|  28.9k|    end = s + size;
 6502|  1.98M|    while (s < end) {
  ------------------
  |  Branch (6502:12): [True: 1.95M, False: 28.9k]
  ------------------
 6503|  1.95M|        unsigned char c = (unsigned char) *s++;
 6504|  1.95M|        Py_UCS4 ch;
 6505|  1.95M|        int count;
 6506|  1.95M|        const char *message;
 6507|       |
 6508|  1.95M|#define WRITE_ASCII_CHAR(ch)                                                  \
 6509|  1.95M|            do {                                                              \
 6510|  1.95M|                assert(ch <= 127);                                            \
 6511|  1.95M|                assert(writer.pos < writer.size);                             \
 6512|  1.95M|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
 6513|  1.95M|            } while(0)
 6514|       |
 6515|  1.95M|#define WRITE_CHAR(ch)                                                        \
 6516|  1.95M|            do {                                                              \
 6517|  1.95M|                if (ch <= writer.maxchar) {                                   \
 6518|  1.95M|                    assert(writer.pos < writer.size);                         \
 6519|  1.95M|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
 6520|  1.95M|                }                                                             \
 6521|  1.95M|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
 6522|  1.95M|                    goto onError;                                             \
 6523|  1.95M|                }                                                             \
 6524|  1.95M|            } while(0)
 6525|       |
 6526|       |        /* Non-escape characters are interpreted as Unicode ordinals */
 6527|  1.95M|        if (c != '\\') {
  ------------------
  |  Branch (6527:13): [True: 1.60M, False: 352k]
  ------------------
 6528|  1.60M|            WRITE_CHAR(c);
  ------------------
  |  | 6516|  1.60M|            do {                                                              \
  |  | 6517|  1.60M|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6517:21): [True: 1.60M, False: 0]
  |  |  ------------------
  |  | 6518|  1.60M|                    assert(writer.pos < writer.size);                         \
  |  | 6519|  1.60M|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
  |  |  ------------------
  |  |  |  |  335|  1.60M|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  1.60M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|  1.60M|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  1.60M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6520|  1.60M|                }                                                             \
  |  | 6521|  1.60M|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6521:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 6522|      0|                    goto onError;                                             \
  |  | 6523|      0|                }                                                             \
  |  | 6524|  1.60M|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6524:21): [Folded, False: 1.60M]
  |  |  ------------------
  ------------------
  |  Branch (6528:13): [True: 1.60M, False: 0]
  ------------------
 6529|  1.60M|            continue;
 6530|  1.60M|        }
 6531|       |
 6532|   352k|        Py_ssize_t startinpos = s - starts - 1;
 6533|       |        /* \ - Escapes */
 6534|   352k|        if (s >= end) {
  ------------------
  |  Branch (6534:13): [True: 0, False: 352k]
  ------------------
 6535|      0|            message = "\\ at end of string";
 6536|      0|            goto incomplete;
 6537|      0|        }
 6538|   352k|        c = (unsigned char) *s++;
 6539|       |
 6540|   352k|        assert(writer.pos < writer.size);
  ------------------
  |  Branch (6540:9): [True: 352k, False: 0]
  ------------------
 6541|   352k|        switch (c) {
 6542|       |
 6543|       |            /* \x escapes */
 6544|  2.06k|        case '\n': continue;
  ------------------
  |  Branch (6544:9): [True: 2.06k, False: 350k]
  ------------------
 6545|  21.5k|        case '\\': WRITE_ASCII_CHAR('\\'); continue;
  ------------------
  |  | 6509|  21.5k|            do {                                                              \
  |  | 6510|  21.5k|                assert(ch <= 127);                                            \
  |  | 6511|  21.5k|                assert(writer.pos < writer.size);                             \
  |  | 6512|  21.5k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|  21.5k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  21.5k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|  21.5k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  21.5k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6513|  21.5k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6513:21): [Folded, False: 21.5k]
  |  |  ------------------
  ------------------
  |  Branch (6545:9): [True: 21.5k, False: 331k]
  |  Branch (6545:20): [True: 21.5k, Folded]
  |  Branch (6545:20): [True: 21.5k, False: 0]
  ------------------
 6546|  21.5k|        case '\'': WRITE_ASCII_CHAR('\''); continue;
  ------------------
  |  | 6509|  7.35k|            do {                                                              \
  |  | 6510|  7.35k|                assert(ch <= 127);                                            \
  |  | 6511|  7.35k|                assert(writer.pos < writer.size);                             \
  |  | 6512|  7.35k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|  7.35k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  7.35k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|  7.35k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  7.35k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6513|  7.35k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6513:21): [Folded, False: 7.35k]
  |  |  ------------------
  ------------------
  |  Branch (6546:9): [True: 7.35k, False: 345k]
  |  Branch (6546:20): [True: 7.35k, Folded]
  |  Branch (6546:20): [True: 7.35k, False: 0]
  ------------------
 6547|  7.35k|        case '\"': WRITE_ASCII_CHAR('\"'); continue;
  ------------------
  |  | 6509|  1.46k|            do {                                                              \
  |  | 6510|  1.46k|                assert(ch <= 127);                                            \
  |  | 6511|  1.46k|                assert(writer.pos < writer.size);                             \
  |  | 6512|  1.46k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|  1.46k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  1.46k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|  1.46k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  1.46k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6513|  1.46k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6513:21): [Folded, False: 1.46k]
  |  |  ------------------
  ------------------
  |  Branch (6547:9): [True: 1.46k, False: 351k]
  |  Branch (6547:20): [True: 1.46k, Folded]
  |  Branch (6547:20): [True: 1.46k, False: 0]
  ------------------
 6548|  1.46k|        case 'b': WRITE_ASCII_CHAR('\b'); continue;
  ------------------
  |  | 6509|  1.20k|            do {                                                              \
  |  | 6510|  1.20k|                assert(ch <= 127);                                            \
  |  | 6511|  1.20k|                assert(writer.pos < writer.size);                             \
  |  | 6512|  1.20k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|  1.20k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  1.20k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|  1.20k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  1.20k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6513|  1.20k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6513:21): [Folded, False: 1.20k]
  |  |  ------------------
  ------------------
  |  Branch (6548:9): [True: 1.20k, False: 351k]
  |  Branch (6548:19): [True: 1.20k, Folded]
  |  Branch (6548:19): [True: 1.20k, False: 0]
  ------------------
 6549|       |        /* FF */
 6550|  1.20k|        case 'f': WRITE_ASCII_CHAR('\014'); continue;
  ------------------
  |  | 6509|  1.15k|            do {                                                              \
  |  | 6510|  1.15k|                assert(ch <= 127);                                            \
  |  | 6511|  1.15k|                assert(writer.pos < writer.size);                             \
  |  | 6512|  1.15k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|  1.15k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  1.15k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|  1.15k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  1.15k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6513|  1.15k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6513:21): [Folded, False: 1.15k]
  |  |  ------------------
  ------------------
  |  Branch (6550:9): [True: 1.15k, False: 351k]
  |  Branch (6550:19): [True: 1.15k, Folded]
  |  Branch (6550:19): [True: 1.15k, False: 0]
  ------------------
 6551|  3.97k|        case 't': WRITE_ASCII_CHAR('\t'); continue;
  ------------------
  |  | 6509|  3.97k|            do {                                                              \
  |  | 6510|  3.97k|                assert(ch <= 127);                                            \
  |  | 6511|  3.97k|                assert(writer.pos < writer.size);                             \
  |  | 6512|  3.97k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|  3.97k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  3.97k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|  3.97k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  3.97k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6513|  3.97k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6513:21): [Folded, False: 3.97k]
  |  |  ------------------
  ------------------
  |  Branch (6551:9): [True: 3.97k, False: 348k]
  |  Branch (6551:19): [True: 3.97k, Folded]
  |  Branch (6551:19): [True: 3.97k, False: 0]
  ------------------
 6552|  8.41k|        case 'n': WRITE_ASCII_CHAR('\n'); continue;
  ------------------
  |  | 6509|  8.41k|            do {                                                              \
  |  | 6510|  8.41k|                assert(ch <= 127);                                            \
  |  | 6511|  8.41k|                assert(writer.pos < writer.size);                             \
  |  | 6512|  8.41k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|  8.41k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  8.41k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|  8.41k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  8.41k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6513|  8.41k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6513:21): [Folded, False: 8.41k]
  |  |  ------------------
  ------------------
  |  Branch (6552:9): [True: 8.41k, False: 344k]
  |  Branch (6552:19): [True: 8.41k, Folded]
  |  Branch (6552:19): [True: 8.41k, False: 0]
  ------------------
 6553|  8.41k|        case 'r': WRITE_ASCII_CHAR('\r'); continue;
  ------------------
  |  | 6509|  2.22k|            do {                                                              \
  |  | 6510|  2.22k|                assert(ch <= 127);                                            \
  |  | 6511|  2.22k|                assert(writer.pos < writer.size);                             \
  |  | 6512|  2.22k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|  2.22k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  2.22k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|  2.22k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  2.22k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6513|  2.22k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6513:21): [Folded, False: 2.22k]
  |  |  ------------------
  ------------------
  |  Branch (6553:9): [True: 2.22k, False: 350k]
  |  Branch (6553:19): [True: 2.22k, Folded]
  |  Branch (6553:19): [True: 2.22k, False: 0]
  ------------------
 6554|       |        /* VT */
 6555|  3.47k|        case 'v': WRITE_ASCII_CHAR('\013'); continue;
  ------------------
  |  | 6509|  3.47k|            do {                                                              \
  |  | 6510|  3.47k|                assert(ch <= 127);                                            \
  |  | 6511|  3.47k|                assert(writer.pos < writer.size);                             \
  |  | 6512|  3.47k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|  3.47k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  3.47k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|  3.47k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  3.47k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6513|  3.47k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6513:21): [Folded, False: 3.47k]
  |  |  ------------------
  ------------------
  |  Branch (6555:9): [True: 3.47k, False: 349k]
  |  Branch (6555:19): [True: 3.47k, Folded]
  |  Branch (6555:19): [True: 3.47k, False: 0]
  ------------------
 6556|       |        /* BEL, not classic C */
 6557|  3.51k|        case 'a': WRITE_ASCII_CHAR('\007'); continue;
  ------------------
  |  | 6509|  3.51k|            do {                                                              \
  |  | 6510|  3.51k|                assert(ch <= 127);                                            \
  |  | 6511|  3.51k|                assert(writer.pos < writer.size);                             \
  |  | 6512|  3.51k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|  3.51k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  3.51k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|  3.51k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  3.51k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6513|  3.51k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6513:21): [Folded, False: 3.51k]
  |  |  ------------------
  ------------------
  |  Branch (6557:9): [True: 3.51k, False: 349k]
  |  Branch (6557:19): [True: 3.51k, Folded]
  |  Branch (6557:19): [True: 3.51k, False: 0]
  ------------------
 6558|       |
 6559|       |            /* \OOO (octal) escapes */
 6560|  21.6k|        case '0': case '1': case '2': case '3':
  ------------------
  |  Branch (6560:9): [True: 1.23k, False: 351k]
  |  Branch (6560:19): [True: 2.14k, False: 350k]
  |  Branch (6560:29): [True: 14.1k, False: 338k]
  |  Branch (6560:39): [True: 4.05k, False: 348k]
  ------------------
 6561|  36.5k|        case '4': case '5': case '6': case '7':
  ------------------
  |  Branch (6561:9): [True: 527, False: 352k]
  |  Branch (6561:19): [True: 2.55k, False: 350k]
  |  Branch (6561:29): [True: 3.99k, False: 348k]
  |  Branch (6561:39): [True: 7.82k, False: 344k]
  ------------------
 6562|  36.5k|            ch = c - '0';
 6563|  36.5k|            if (s < end && '0' <= *s && *s <= '7') {
  ------------------
  |  Branch (6563:17): [True: 36.3k, False: 179]
  |  Branch (6563:28): [True: 17.1k, False: 19.1k]
  |  Branch (6563:41): [True: 5.70k, False: 11.4k]
  ------------------
 6564|  5.70k|                ch = (ch<<3) + *s++ - '0';
 6565|  5.70k|                if (s < end && '0' <= *s && *s <= '7') {
  ------------------
  |  Branch (6565:21): [True: 5.61k, False: 93]
  |  Branch (6565:32): [True: 3.49k, False: 2.11k]
  |  Branch (6565:45): [True: 2.13k, False: 1.36k]
  ------------------
 6566|  2.13k|                    ch = (ch<<3) + *s++ - '0';
 6567|  2.13k|                }
 6568|  5.70k|            }
 6569|  36.5k|            if (ch > 0377) {
  ------------------
  |  Branch (6569:17): [True: 1.50k, False: 35.0k]
  ------------------
 6570|  1.50k|                if (*first_invalid_escape_char == -1) {
  ------------------
  |  Branch (6570:21): [True: 696, False: 808]
  ------------------
 6571|    696|                    *first_invalid_escape_char = ch;
 6572|    696|                    if (starts == initial_starts) {
  ------------------
  |  Branch (6572:25): [True: 696, False: 0]
  ------------------
 6573|       |                        /* Back up 3 chars, since we've already incremented s. */
 6574|    696|                        *first_invalid_escape_ptr = s - 3;
 6575|    696|                    }
 6576|    696|                }
 6577|  1.50k|            }
 6578|  36.5k|            WRITE_CHAR(ch);
  ------------------
  |  | 6516|  36.5k|            do {                                                              \
  |  | 6517|  36.5k|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6517:21): [True: 35.6k, False: 814]
  |  |  ------------------
  |  | 6518|  35.6k|                    assert(writer.pos < writer.size);                         \
  |  | 6519|  35.6k|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
  |  |  ------------------
  |  |  |  |  335|  35.6k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  35.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|  35.6k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  35.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6520|  35.6k|                }                                                             \
  |  | 6521|  36.5k|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6521:26): [True: 0, False: 814]
  |  |  ------------------
  |  | 6522|      0|                    goto onError;                                             \
  |  | 6523|      0|                }                                                             \
  |  | 6524|  36.5k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6524:21): [Folded, False: 36.5k]
  |  |  ------------------
  ------------------
  |  Branch (6578:13): [True: 35.6k, False: 0]
  ------------------
 6579|  36.5k|            continue;
 6580|       |
 6581|       |            /* hex escapes */
 6582|       |            /* \xXX */
 6583|  36.5k|        case 'x':
  ------------------
  |  Branch (6583:9): [True: 46, False: 352k]
  ------------------
 6584|     46|            count = 2;
 6585|     46|            message = "truncated \\xXX escape";
 6586|     46|            goto hexescape;
 6587|       |
 6588|       |            /* \uXXXX */
 6589|  6.33k|        case 'u':
  ------------------
  |  Branch (6589:9): [True: 6.33k, False: 346k]
  ------------------
 6590|  6.33k|            count = 4;
 6591|  6.33k|            message = "truncated \\uXXXX escape";
 6592|  6.33k|            goto hexescape;
 6593|       |
 6594|       |            /* \UXXXXXXXX */
 6595|   209k|        case 'U':
  ------------------
  |  Branch (6595:9): [True: 209k, False: 142k]
  ------------------
 6596|   209k|            count = 8;
 6597|   209k|            message = "truncated \\UXXXXXXXX escape";
 6598|   216k|        hexescape:
 6599|  1.92M|            for (ch = 0; count; ++s, --count) {
  ------------------
  |  Branch (6599:26): [True: 1.70M, False: 216k]
  ------------------
 6600|  1.70M|                if (s >= end) {
  ------------------
  |  Branch (6600:21): [True: 3, False: 1.70M]
  ------------------
 6601|      3|                    goto incomplete;
 6602|      3|                }
 6603|  1.70M|                c = (unsigned char)*s;
 6604|  1.70M|                ch <<= 4;
 6605|  1.70M|                if (c >= '0' && c <= '9') {
  ------------------
  |  Branch (6605:21): [True: 1.70M, False: 5]
  |  Branch (6605:33): [True: 1.40M, False: 301k]
  ------------------
 6606|  1.40M|                    ch += c - '0';
 6607|  1.40M|                }
 6608|   301k|                else if (c >= 'a' && c <= 'f') {
  ------------------
  |  Branch (6608:26): [True: 300k, False: 1.50k]
  |  Branch (6608:38): [True: 300k, False: 2]
  ------------------
 6609|   300k|                    ch += c - ('a' - 10);
 6610|   300k|                }
 6611|  1.50k|                else if (c >= 'A' && c <= 'F') {
  ------------------
  |  Branch (6611:26): [True: 1.49k, False: 7]
  |  Branch (6611:38): [True: 1.49k, False: 3]
  ------------------
 6612|  1.49k|                    ch += c - ('A' - 10);
 6613|  1.49k|                }
 6614|     10|                else {
 6615|     10|                    goto error;
 6616|     10|                }
 6617|  1.70M|            }
 6618|       |
 6619|       |            /* when we get here, ch is a 32-bit unicode character */
 6620|   216k|            if (ch > MAX_UNICODE) {
  ------------------
  |  |  108|   216k|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|   216k|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (6620:17): [True: 1, False: 216k]
  ------------------
 6621|      1|                message = "illegal Unicode character";
 6622|      1|                goto error;
 6623|      1|            }
 6624|       |
 6625|   216k|            WRITE_CHAR(ch);
  ------------------
  |  | 6516|   216k|            do {                                                              \
  |  | 6517|   216k|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6517:21): [True: 208k, False: 8.09k]
  |  |  ------------------
  |  | 6518|   208k|                    assert(writer.pos < writer.size);                         \
  |  | 6519|   208k|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
  |  |  ------------------
  |  |  |  |  335|   208k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   208k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   208k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|   208k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|   208k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6520|   208k|                }                                                             \
  |  | 6521|   216k|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6521:26): [True: 0, False: 8.09k]
  |  |  ------------------
  |  | 6522|      0|                    goto onError;                                             \
  |  | 6523|      0|                }                                                             \
  |  | 6524|   216k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6524:21): [Folded, False: 216k]
  |  |  ------------------
  ------------------
  |  Branch (6625:13): [True: 208k, False: 0]
  ------------------
 6626|   216k|            continue;
 6627|       |
 6628|       |            /* \N{name} */
 6629|   216k|        case 'N':
  ------------------
  |  Branch (6629:9): [True: 5.91k, False: 346k]
  ------------------
 6630|  5.91k|            ucnhash_capi = _PyUnicode_GetNameCAPI();
 6631|  5.91k|            if (ucnhash_capi == NULL) {
  ------------------
  |  Branch (6631:17): [True: 0, False: 5.91k]
  ------------------
 6632|      0|                PyErr_SetString(
 6633|      0|                        PyExc_UnicodeError,
 6634|      0|                        "\\N escapes not supported (can't load unicodedata module)"
 6635|      0|                );
 6636|      0|                goto onError;
 6637|      0|            }
 6638|       |
 6639|  5.91k|            message = "malformed \\N character escape";
 6640|  5.91k|            if (s >= end) {
  ------------------
  |  Branch (6640:17): [True: 11, False: 5.89k]
  ------------------
 6641|     11|                goto incomplete;
 6642|     11|            }
 6643|  5.89k|            if (*s == '{') {
  ------------------
  |  Branch (6643:17): [True: 5.89k, False: 4]
  ------------------
 6644|  5.89k|                const char *start = ++s;
 6645|  5.89k|                size_t namelen;
 6646|       |                /* look for the closing brace */
 6647|  33.4k|                while (s < end && *s != '}')
  ------------------
  |  Branch (6647:24): [True: 33.4k, False: 5]
  |  Branch (6647:35): [True: 27.5k, False: 5.89k]
  ------------------
 6648|  27.5k|                    s++;
 6649|  5.89k|                if (s >= end) {
  ------------------
  |  Branch (6649:21): [True: 5, False: 5.89k]
  ------------------
 6650|      5|                    goto incomplete;
 6651|      5|                }
 6652|  5.89k|                namelen = s - start;
 6653|  5.89k|                if (namelen) {
  ------------------
  |  Branch (6653:21): [True: 5.88k, False: 1]
  ------------------
 6654|       |                    /* found a name.  look it up in the unicode database */
 6655|  5.88k|                    s++;
 6656|  5.88k|                    ch = 0xffffffff; /* in case 'getcode' messes up */
 6657|  5.88k|                    if (namelen <= INT_MAX &&
  ------------------
  |  Branch (6657:25): [True: 5.88k, False: 0]
  ------------------
 6658|  5.88k|                        ucnhash_capi->getcode(start, (int)namelen,
  ------------------
  |  Branch (6658:25): [True: 5.83k, False: 51]
  ------------------
 6659|  5.88k|                                              &ch, 0)) {
 6660|  5.83k|                        assert(ch <= MAX_UNICODE);
  ------------------
  |  Branch (6660:25): [True: 5.83k, False: 0]
  ------------------
 6661|  5.83k|                        WRITE_CHAR(ch);
  ------------------
  |  | 6516|  5.83k|            do {                                                              \
  |  | 6517|  5.83k|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6517:21): [True: 4.00k, False: 1.83k]
  |  |  ------------------
  |  | 6518|  4.00k|                    assert(writer.pos < writer.size);                         \
  |  | 6519|  4.00k|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
  |  |  ------------------
  |  |  |  |  335|  4.00k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  4.00k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|  4.00k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  4.00k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6520|  4.00k|                }                                                             \
  |  | 6521|  5.83k|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6521:26): [True: 0, False: 1.83k]
  |  |  ------------------
  |  | 6522|      0|                    goto onError;                                             \
  |  | 6523|      0|                }                                                             \
  |  | 6524|  5.83k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6524:21): [Folded, False: 5.83k]
  |  |  ------------------
  ------------------
  |  Branch (6661:25): [True: 4.00k, False: 0]
  ------------------
 6662|  5.83k|                        continue;
 6663|  5.83k|                    }
 6664|     51|                    message = "unknown Unicode character name";
 6665|     51|                }
 6666|  5.89k|            }
 6667|     56|            goto error;
 6668|       |
 6669|  37.6k|        default:
  ------------------
  |  Branch (6669:9): [True: 37.6k, False: 315k]
  ------------------
 6670|  37.6k|            if (*first_invalid_escape_char == -1) {
  ------------------
  |  Branch (6670:17): [True: 9.58k, False: 28.0k]
  ------------------
 6671|  9.58k|                *first_invalid_escape_char = c;
 6672|  9.58k|                if (starts == initial_starts) {
  ------------------
  |  Branch (6672:21): [True: 9.58k, False: 0]
  ------------------
 6673|       |                    /* Back up one char, since we've already incremented s. */
 6674|  9.58k|                    *first_invalid_escape_ptr = s - 1;
 6675|  9.58k|                }
 6676|  9.58k|            }
 6677|  37.6k|            WRITE_ASCII_CHAR('\\');
  ------------------
  |  | 6509|  37.6k|            do {                                                              \
  |  | 6510|  37.6k|                assert(ch <= 127);                                            \
  |  | 6511|  37.6k|                assert(writer.pos < writer.size);                             \
  |  | 6512|  37.6k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|  37.6k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  37.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|  37.6k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  37.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6513|  37.6k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6513:21): [Folded, False: 37.6k]
  |  |  ------------------
  ------------------
  |  Branch (6677:13): [True: 37.6k, Folded]
  |  Branch (6677:13): [True: 37.6k, False: 0]
  ------------------
 6678|  37.6k|            WRITE_CHAR(c);
  ------------------
  |  | 6516|  37.6k|            do {                                                              \
  |  | 6517|  37.6k|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6517:21): [True: 37.6k, False: 0]
  |  |  ------------------
  |  | 6518|  37.6k|                    assert(writer.pos < writer.size);                         \
  |  | 6519|  37.6k|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
  |  |  ------------------
  |  |  |  |  335|  37.6k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  37.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|  37.6k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  37.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6520|  37.6k|                }                                                             \
  |  | 6521|  37.6k|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6521:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 6522|      0|                    goto onError;                                             \
  |  | 6523|      0|                }                                                             \
  |  | 6524|  37.6k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6524:21): [Folded, False: 37.6k]
  |  |  ------------------
  ------------------
  |  Branch (6678:13): [True: 37.6k, False: 0]
  ------------------
 6679|  37.6k|            continue;
 6680|   352k|        }
 6681|       |
 6682|     19|      incomplete:
 6683|     19|        if (consumed) {
  ------------------
  |  Branch (6683:13): [True: 0, False: 19]
  ------------------
 6684|      0|            *consumed = startinpos;
 6685|      0|            break;
 6686|      0|        }
 6687|     86|      error:;
 6688|     86|        Py_ssize_t endinpos = s-starts;
 6689|     86|        writer.min_length = end - s + writer.pos;
 6690|     86|        if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (6690:13): [True: 86, False: 0]
  ------------------
 6691|     86|                errors, &errorHandler,
 6692|     86|                "unicodeescape", message,
 6693|     86|                &starts, &end, &startinpos, &endinpos, &exc, &s,
 6694|     86|                &writer)) {
 6695|     86|            goto onError;
 6696|     86|        }
 6697|     86|        assert(end - s <= writer.size - writer.pos);
  ------------------
  |  Branch (6697:9): [True: 0, False: 0]
  ------------------
 6698|       |
 6699|      0|#undef WRITE_ASCII_CHAR
 6700|      0|#undef WRITE_CHAR
 6701|      0|    }
 6702|       |
 6703|  28.9k|    Py_XDECREF(errorHandler);
  ------------------
  |  |  524|  28.9k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  28.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6704|  28.9k|    Py_XDECREF(exc);
  ------------------
  |  |  524|  28.9k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  28.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6705|  28.9k|    return _PyUnicodeWriter_Finish(&writer);
 6706|       |
 6707|     86|  onError:
 6708|     86|    _PyUnicodeWriter_Dealloc(&writer);
 6709|     86|    Py_XDECREF(errorHandler);
  ------------------
  |  |  524|     86|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6710|     86|    Py_XDECREF(exc);
  ------------------
  |  |  524|     86|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6711|       |    return NULL;
 6712|  28.9k|}
PyUnicode_DecodeLatin1:
 7082|    958|{
 7083|       |    /* Latin-1 is equivalent to the first 256 ordinals in Unicode. */
 7084|    958|    return _PyUnicode_FromUCS1((const unsigned char*)s, size);
 7085|    958|}
PyUnicode_DecodeASCII:
 7399|  66.6k|{
 7400|  66.6k|    const char *starts = s;
 7401|  66.6k|    const char *e = s + size;
 7402|  66.6k|    PyObject *error_handler_obj = NULL;
 7403|  66.6k|    PyObject *exc = NULL;
 7404|  66.6k|    _Py_error_handler error_handler = _Py_ERROR_UNKNOWN;
 7405|       |
 7406|  66.6k|    if (size == 0)
  ------------------
  |  Branch (7406:9): [True: 0, False: 66.6k]
  ------------------
 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|  66.6k|    if (size == 1 && (unsigned char)s[0] < 128) {
  ------------------
  |  Branch (7410:9): [True: 3.12k, False: 63.5k]
  |  Branch (7410:22): [True: 3.11k, False: 4]
  ------------------
 7411|  3.11k|        return get_latin1_char((unsigned char)s[0]);
 7412|  3.11k|    }
 7413|       |
 7414|       |    // Shortcut for simple case
 7415|  63.5k|    PyObject *u = PyUnicode_New(size, 127);
 7416|  63.5k|    if (u == NULL) {
  ------------------
  |  Branch (7416:9): [True: 0, False: 63.5k]
  ------------------
 7417|      0|        return NULL;
 7418|      0|    }
 7419|  63.5k|    Py_ssize_t outpos = ascii_decode(s, e, PyUnicode_1BYTE_DATA(u));
  ------------------
  |  |  291|  63.5k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  63.5k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 7420|  63.5k|    if (outpos == size) {
  ------------------
  |  Branch (7420:9): [True: 63.2k, False: 267]
  ------------------
 7421|  63.2k|        return u;
 7422|  63.2k|    }
 7423|       |
 7424|    267|    _PyUnicodeWriter writer;
 7425|    267|    _PyUnicodeWriter_InitWithBuffer(&writer, u);
 7426|    267|    writer.pos = outpos;
 7427|       |
 7428|    267|    s += outpos;
 7429|    267|    int kind = writer.kind;
 7430|    267|    void *data = writer.data;
 7431|    267|    Py_ssize_t startinpos, endinpos;
 7432|       |
 7433|    267|    while (s < e) {
  ------------------
  |  Branch (7433:12): [True: 267, False: 0]
  ------------------
 7434|    267|        unsigned char c = (unsigned char)*s;
 7435|    267|        if (c < 128) {
  ------------------
  |  Branch (7435:13): [True: 0, False: 267]
  ------------------
 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|    267|        if (error_handler == _Py_ERROR_UNKNOWN)
  ------------------
  |  Branch (7444:13): [True: 267, False: 0]
  ------------------
 7445|    267|            error_handler = _Py_GetErrorHandler(errors);
 7446|       |
 7447|    267|        switch (error_handler)
 7448|    267|        {
 7449|      0|        case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (7449:9): [True: 0, False: 267]
  ------------------
 7450|      0|        case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (7450:9): [True: 0, False: 267]
  ------------------
 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: 267]
  ------------------
 7467|      0|            ++s;
 7468|      0|            break;
 7469|       |
 7470|    267|        default:
  ------------------
  |  Branch (7470:9): [True: 267, False: 0]
  ------------------
 7471|    267|            startinpos = s-starts;
 7472|    267|            endinpos = startinpos + 1;
 7473|    267|            if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (7473:17): [True: 267, False: 0]
  ------------------
 7474|    267|                    errors, &error_handler_obj,
 7475|    267|                    "ascii", "ordinal not in range(128)",
 7476|    267|                    &starts, &e, &startinpos, &endinpos, &exc, &s,
 7477|    267|                    &writer))
 7478|    267|                goto onError;
 7479|      0|            kind = writer.kind;
 7480|      0|            data = writer.data;
 7481|    267|        }
 7482|    267|    }
 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|    267|  onError:
 7488|    267|    _PyUnicodeWriter_Dealloc(&writer);
 7489|    267|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|    267|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    267|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    267|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7490|    267|    Py_XDECREF(exc);
  ------------------
  |  |  524|    267|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    267|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    267|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7491|       |    return NULL;
 7492|    267|}
_PyUnicode_AsASCIIString:
 7496|  35.5k|{
 7497|  35.5k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|  35.5k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  35.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7497:9): [True: 0, False: 35.5k]
  ------------------
 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|  35.5k|    if (PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  227|  35.5k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  35.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 76, False: 35.5k]
  |  |  ------------------
  ------------------
 7504|     76|        return PyBytes_FromStringAndSize(PyUnicode_DATA(unicode),
  ------------------
  |  |  284|     76|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7505|     76|                                         PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  |  299|     76|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7506|  35.5k|    return unicode_encode_ucs1(unicode, errors, 128);
 7507|  35.5k|}
PyUnicode_AsASCIIString:
 7511|      2|{
 7512|       |    return _PyUnicode_AsASCIIString(unicode, NULL);
 7513|      2|}
_PyUnicode_DecodeIconv:
 8253|    122|{
 8254|    122|    if (size < 0) {
  ------------------
  |  Branch (8254:9): [True: 0, False: 122]
  ------------------
 8255|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 8256|      0|        return NULL;
 8257|      0|    }
 8258|       |
 8259|    122|    iconv_t cd = iconv_open_or_set_error(ICONV_PIVOT, encoding, encoding);
  ------------------
  |  | 8210|    122|#  define ICONV_PIVOT "UTF-32LE"
  ------------------
 8260|    122|    if (cd == (iconv_t)-1) {
  ------------------
  |  Branch (8260:9): [True: 0, False: 122]
  ------------------
 8261|      0|        return NULL;
 8262|      0|    }
 8263|       |
 8264|       |    /* Scratch buffer for one iconv() output chunk, as UTF-32 code points. */
 8265|    122|    Py_UCS4 chunk[1024];
 8266|    122|    const char *starts = s;
 8267|    122|    const char *in = s;
 8268|    122|    const char *inend = s + size;
 8269|    122|    _PyUnicodeWriter writer;
 8270|    122|    PyObject *errorHandler = NULL;
 8271|    122|    PyObject *exc = NULL;
 8272|       |
 8273|    122|    _PyUnicodeWriter_Init(&writer);
 8274|    122|    writer.min_length = size;
 8275|       |
 8276|    399|    while (in < inend) {
  ------------------
  |  Branch (8276:12): [True: 399, False: 0]
  ------------------
 8277|    399|        char *inptr = (char *)in;
 8278|    399|        size_t inleft = (size_t)(inend - in);
 8279|    399|        char *outptr = (char *)chunk;
 8280|    399|        size_t outleft = sizeof(chunk);
 8281|       |
 8282|       |        /* Cast the input buffer through void*: iconv() declares its second
 8283|       |           argument as "char **" on most systems but "const char **" on some
 8284|       |           (e.g. illumos), and void* converts to either without a warning. */
 8285|    399|        size_t ret = iconv(cd, (void *)&inptr, &inleft, &outptr, &outleft);
 8286|    399|        int err = errno;
 8287|    399|        in = inptr;
 8288|       |
 8289|       |        /* Append whatever code points this call produced. */
 8290|    399|        Py_ssize_t nch = (Py_UCS4 *)outptr - chunk;
 8291|    399|        if (nch > 0 && PyUnicodeWriter_WriteUCS4((PyUnicodeWriter *)&writer,
  ------------------
  |  Branch (8291:13): [True: 394, False: 5]
  |  Branch (8291:24): [True: 0, False: 394]
  ------------------
 8292|    394|                                                 chunk, nch) < 0) {
 8293|      0|            goto error;
 8294|      0|        }
 8295|       |
 8296|    399|        if (ret != (size_t)-1) {
  ------------------
  |  Branch (8296:13): [True: 91, False: 308]
  ------------------
 8297|     91|            assert(in == inend);
  ------------------
  |  Branch (8297:13): [True: 91, False: 0]
  ------------------
 8298|     91|            break;
 8299|     91|        }
 8300|       |
 8301|    308|        if (err == E2BIG) {
  ------------------
  |  Branch (8301:13): [True: 277, False: 31]
  ------------------
 8302|       |            /* The scratch buffer filled up; drain it and continue. */
 8303|    277|            continue;
 8304|    277|        }
 8305|       |
 8306|     31|        const char *reason;
 8307|     31|        if (err == EINVAL) {
  ------------------
  |  Branch (8307:13): [True: 0, False: 31]
  ------------------
 8308|       |            /* Incomplete multibyte sequence at the end of the input. */
 8309|      0|            if (consumed != NULL) {
  ------------------
  |  Branch (8309:17): [True: 0, False: 0]
  ------------------
 8310|       |                /* Stateful decoding: stop and report the consumed bytes. */
 8311|      0|                break;
 8312|      0|            }
 8313|      0|            reason = "incomplete multibyte sequence";
 8314|      0|        }
 8315|     31|        else if (err == EILSEQ) {
  ------------------
  |  Branch (8315:18): [True: 31, False: 0]
  ------------------
 8316|     31|            reason = "invalid multibyte sequence";
 8317|     31|        }
 8318|      0|        else {
 8319|      0|            errno = err;
 8320|      0|            PyErr_SetFromErrno(PyExc_OSError);
 8321|      0|            goto error;
 8322|      0|        }
 8323|       |
 8324|     31|        Py_ssize_t startinpos = in - starts;
 8325|     31|        Py_ssize_t endinpos = startinpos + 1;
 8326|     31|        if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (8326:13): [True: 31, False: 0]
  ------------------
 8327|     31|                errors, &errorHandler, encoding, reason,
 8328|     31|                &starts, &inend, &startinpos, &endinpos, &exc, &in,
 8329|     31|                &writer)) {
 8330|     31|            goto error;
 8331|     31|        }
 8332|       |        /* The error handler may have skipped bytes; reset the conversion
 8333|       |           descriptor to the initial shift state before continuing. */
 8334|      0|        iconv(cd, NULL, NULL, NULL, NULL);
 8335|      0|    }
 8336|       |
 8337|     91|    if (consumed != NULL) {
  ------------------
  |  Branch (8337:9): [True: 0, False: 91]
  ------------------
 8338|      0|        *consumed = in - starts;
 8339|      0|    }
 8340|     91|    iconv_close(cd);
 8341|     91|    Py_XDECREF(errorHandler);
  ------------------
  |  |  524|     91|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8342|     91|    Py_XDECREF(exc);
  ------------------
  |  |  524|     91|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8343|     91|    return _PyUnicodeWriter_Finish(&writer);
 8344|       |
 8345|     31|error:
 8346|     31|    iconv_close(cd);
 8347|     31|    _PyUnicodeWriter_Dealloc(&writer);
 8348|     31|    Py_XDECREF(errorHandler);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8349|     31|    Py_XDECREF(exc);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8350|       |    return NULL;
 8351|    122|}
_PyUnicode_EncodeIconv:
 8383|    243|{
 8384|    243|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|    243|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    243|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (8384:9): [True: 0, False: 243]
  ------------------
 8385|      0|        PyErr_BadArgument();
 8386|      0|        return NULL;
 8387|      0|    }
 8388|       |
 8389|    243|    Py_ssize_t ulen = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|    243|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    243|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    243|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8390|    243|    const char *source;         /* iconv source encoding for this kind */
 8391|    243|    const char *data;           /* the units to encode */
 8392|    243|    Py_ssize_t unit;            /* bytes per code point in *data */
 8393|    243|    Py_UCS4 *widened = NULL;    /* owned UTF-32 copy of a 2-byte string */
 8394|    243|    int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|    243|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    486|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 243, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8395|    243|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (8395:9): [True: 243, False: 0]
  ------------------
 8396|    243|        source = "ISO-8859-1";
 8397|    243|        data = (const char *)PyUnicode_1BYTE_DATA(unicode);
  ------------------
  |  |  291|    243|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    243|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 8398|    243|        unit = 1;
 8399|    243|    }
 8400|      0|    else if (kind == PyUnicode_4BYTE_KIND) {
  ------------------
  |  Branch (8400:14): [True: 0, False: 0]
  ------------------
 8401|      0|        source = ICONV_PIVOT;
  ------------------
  |  | 8210|      0|#  define ICONV_PIVOT "UTF-32LE"
  ------------------
 8402|      0|        data = (const char *)PyUnicode_4BYTE_DATA(unicode);
  ------------------
  |  |  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))
  |  |  ------------------
  ------------------
 8403|      0|        unit = 4;
 8404|      0|    }
 8405|      0|    else {
 8406|      0|#ifdef ICONV_UCS2_PIVOT
 8407|       |        /* Known-strict UCS-2: feed the 2-byte buffer directly. */
 8408|      0|        source = ICONV_UCS2_PIVOT;
  ------------------
  |  | 8222|      0|#    define ICONV_UCS2_PIVOT "UCS-2LE"
  ------------------
 8409|      0|        data = (const char *)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))
  |  |  ------------------
  ------------------
 8410|      0|        unit = 2;
 8411|       |#else
 8412|       |        /* UCS-2 may be aliased to UTF-16 here; widen to UTF-32 to be safe. */
 8413|       |        widened = PyUnicode_AsUCS4Copy(unicode);
 8414|       |        if (widened == NULL) {
 8415|       |            return NULL;
 8416|       |        }
 8417|       |        source = ICONV_PIVOT;
 8418|       |        data = (const char *)widened;
 8419|       |        unit = 4;
 8420|       |#endif
 8421|      0|    }
 8422|       |
 8423|    243|    iconv_t cd = iconv_open_or_set_error(encoding, source, encoding);
 8424|    243|    if (cd == (iconv_t)-1) {
  ------------------
  |  Branch (8424:9): [True: 223, False: 20]
  ------------------
 8425|    223|        PyMem_Free(widened);
 8426|    223|        return NULL;
 8427|    223|    }
 8428|       |
 8429|     20|    PyBytesWriter *writer = NULL;
 8430|     20|    PyObject *errorHandler = NULL;
 8431|     20|    PyObject *exc = NULL;
 8432|     20|    PyObject *result = NULL;
 8433|     20|    const char *ustart = data;
 8434|     20|    const char *up = data;
 8435|     20|    const char *uend = data + (size_t)ulen * unit;
 8436|     20|    int flushing = 0;
 8437|     20|    int careful = 0;            /* feed one code point per iconv() call */
 8438|       |
 8439|       |    /* A generous initial estimate for the output size. */
 8440|     20|    writer = PyBytesWriter_Create(ulen + (ulen >> 1) + 16);
 8441|     20|    if (writer == NULL) {
  ------------------
  |  Branch (8441:9): [True: 0, False: 20]
  ------------------
 8442|      0|        goto done;
 8443|      0|    }
 8444|     20|    char *out = PyBytesWriter_GetData(writer);
 8445|     20|    char *outend = out + PyBytesWriter_GetSize(writer);
 8446|       |
 8447|     40|    for (;;) {
 8448|     40|        char *inptr = (char *)up;
 8449|     40|        size_t inleft = (size_t)(uend - up);
 8450|       |        /* One code point at a time, to pin a substitution to its position. */
 8451|     40|        if (careful && inleft > (size_t)unit) {
  ------------------
  |  Branch (8451:13): [True: 0, False: 40]
  |  Branch (8451:24): [True: 0, False: 0]
  ------------------
 8452|      0|            inleft = (size_t)unit;
 8453|      0|        }
 8454|     40|        char *out_before = out;
 8455|     40|        size_t outleft = (size_t)(outend - out);
 8456|       |        /* When the whole string is converted, a final iconv() call with a
 8457|       |           NULL input flushes any pending shift sequence (e.g. ISO-2022). */
 8458|       |        /* See the note above on the void* cast of the iconv() input buffer. */
 8459|     40|        size_t ret = iconv(cd, flushing ? NULL : (void *)&inptr, &inleft, &out, &outleft);
  ------------------
  |  Branch (8459:32): [True: 20, False: 20]
  ------------------
 8460|     40|        if (!flushing) {
  ------------------
  |  Branch (8460:13): [True: 20, False: 20]
  ------------------
 8461|     20|            up = inptr;
 8462|     20|        }
 8463|       |
 8464|     40|        if (ret != (size_t)-1) {
  ------------------
  |  Branch (8464:13): [True: 40, False: 0]
  ------------------
 8465|     40|            if (flushing) {
  ------------------
  |  Branch (8465:17): [True: 20, False: 20]
  ------------------
 8466|     20|                break;
 8467|     20|            }
 8468|       |            /* A positive result counts nonreversible conversions: iconv()
 8469|       |               substituted an unencodable character instead of failing with
 8470|       |               EILSEQ (musl and *BSD citrus do this).  Treat it as unencodable
 8471|       |               and re-run one code point at a time to locate it. */
 8472|     20|            if (ret > 0) {
  ------------------
  |  Branch (8472:17): [True: 0, False: 20]
  ------------------
 8473|      0|                if (!careful) {
  ------------------
  |  Branch (8473:21): [True: 0, False: 0]
  ------------------
 8474|      0|                    careful = 1;
 8475|      0|                    iconv(cd, NULL, NULL, NULL, NULL);
 8476|      0|                    out = PyBytesWriter_GetData(writer);
 8477|      0|                    outend = out + PyBytesWriter_GetSize(writer);
 8478|      0|                    up = ustart;
 8479|      0|                    continue;
 8480|      0|                }
 8481|       |                /* This code point was substituted; drop it and report it. */
 8482|      0|                out = out_before;
 8483|      0|                up -= unit;
 8484|      0|            }
 8485|     20|            else if (careful && up < uend) {
  ------------------
  |  Branch (8485:22): [True: 0, False: 20]
  |  Branch (8485:33): [True: 0, False: 0]
  ------------------
 8486|      0|                continue;
 8487|      0|            }
 8488|     20|            else {
 8489|       |                /* All input consumed; switch to flushing the shift state. */
 8490|     20|                flushing = 1;
 8491|     20|                continue;
 8492|     20|            }
 8493|     20|        }
 8494|      0|        else if (errno == E2BIG) {
  ------------------
  |  Branch (8494:18): [True: 0, False: 0]
  ------------------
 8495|      0|            if (iconv_grow_writer(writer, &out, &outend) < 0) {
  ------------------
  |  Branch (8495:17): [True: 0, False: 0]
  ------------------
 8496|      0|                goto done;
 8497|      0|            }
 8498|      0|            continue;
 8499|      0|        }
 8500|      0|        else if (errno != EILSEQ && errno != EINVAL) {
  ------------------
  |  Branch (8500:18): [True: 0, False: 0]
  |  Branch (8500:37): [True: 0, False: 0]
  ------------------
 8501|      0|            PyErr_SetFromErrno(PyExc_OSError);
 8502|      0|            goto done;
 8503|      0|        }
 8504|       |
 8505|       |        /* An unencodable code point at *up; one input unit is one code point. */
 8506|      0|        Py_ssize_t pos = (up - ustart) / unit;
 8507|      0|        Py_ssize_t newpos;
 8508|      0|        PyObject *rep = unicode_encode_call_errorhandler(
 8509|      0|                errors, &errorHandler, encoding, "invalid character",
 8510|      0|                unicode, &exc, pos, pos + 1, &newpos);
 8511|      0|        if (rep == NULL) {
  ------------------
  |  Branch (8511:13): [True: 0, False: 0]
  ------------------
 8512|      0|            goto done;
 8513|      0|        }
 8514|       |
 8515|      0|        const char *repdata;
 8516|      0|        Py_ssize_t replen;
 8517|      0|        PyObject *repbytes = NULL;
 8518|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8519|      0|            repdata = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8520|      0|            replen = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8521|      0|        }
 8522|      0|        else {
 8523|       |            /* A str replacement is encoded through the same codec, but
 8524|       |               strictly: handling its errors in turn could never terminate. */
 8525|      0|            assert(PyUnicode_Check(rep));
  ------------------
  |  Branch (8525:13): [True: 0, False: 0]
  ------------------
 8526|      0|            repbytes = _PyUnicode_EncodeIconv(encoding, rep, NULL);
 8527|      0|            Py_DECREF(rep);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8528|      0|            if (repbytes == NULL) {
  ------------------
  |  Branch (8528:17): [True: 0, False: 0]
  ------------------
 8529|      0|                if (PyErr_ExceptionMatches(PyExc_UnicodeEncodeError)) {
  ------------------
  |  Branch (8529:21): [True: 0, False: 0]
  ------------------
 8530|       |                    /* Report the input the caller knows about, not the
 8531|       |                       replacement. */
 8532|      0|                    PyErr_Clear();
 8533|      0|                    raise_encode_exception(&exc, encoding, unicode, pos, pos + 1,
 8534|      0|                            "unable to encode error handler result");
 8535|      0|                }
 8536|      0|                goto done;
 8537|      0|            }
 8538|      0|            repdata = PyBytes_AS_STRING(repbytes);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8539|      0|            replen = PyBytes_GET_SIZE(repbytes);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8540|      0|        }
 8541|       |
 8542|      0|        while (outend - out < replen) {
  ------------------
  |  Branch (8542:16): [True: 0, False: 0]
  ------------------
 8543|      0|            if (iconv_grow_writer(writer, &out, &outend) < 0) {
  ------------------
  |  Branch (8543:17): [True: 0, False: 0]
  ------------------
 8544|      0|                if (repbytes != NULL) {
  ------------------
  |  Branch (8544:21): [True: 0, False: 0]
  ------------------
 8545|      0|                    Py_DECREF(repbytes);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8546|      0|                }
 8547|      0|                else {
 8548|      0|                    Py_DECREF(rep);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8549|      0|                }
 8550|      0|                goto done;
 8551|      0|            }
 8552|      0|        }
 8553|      0|        memcpy(out, repdata, replen);
 8554|      0|        out += replen;
 8555|      0|        if (repbytes != NULL) {
  ------------------
  |  Branch (8555:13): [True: 0, False: 0]
  ------------------
 8556|      0|            Py_DECREF(repbytes);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8557|      0|        }
 8558|      0|        else {
 8559|      0|            Py_DECREF(rep);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8560|      0|        }
 8561|      0|        up = ustart + (size_t)newpos * unit;
 8562|       |        /* Reset the shift state after the injected replacement bytes. */
 8563|      0|        iconv(cd, NULL, NULL, NULL, NULL);
 8564|      0|    }
 8565|       |
 8566|     20|    if (PyBytesWriter_Resize(writer, out - (char *)PyBytesWriter_GetData(writer)) < 0) {
  ------------------
  |  Branch (8566:9): [True: 0, False: 20]
  ------------------
 8567|      0|        goto done;
 8568|      0|    }
 8569|     20|    result = PyBytesWriter_Finish(writer);
 8570|     20|    writer = NULL;
 8571|       |
 8572|     20|done:
 8573|     20|    if (writer != NULL) {
  ------------------
  |  Branch (8573:9): [True: 0, False: 20]
  ------------------
 8574|      0|        PyBytesWriter_Discard(writer);
 8575|      0|    }
 8576|     20|    iconv_close(cd);
 8577|     20|    PyMem_Free(widened);
 8578|     20|    Py_XDECREF(errorHandler);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8579|     20|    Py_XDECREF(exc);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8580|     20|    return result;
 8581|     20|}
PyUnicode_DecodeCharmap:
 8812|  1.68k|{
 8813|  1.68k|    _PyUnicodeWriter writer;
 8814|       |
 8815|       |    /* Default to Latin-1 */
 8816|  1.68k|    if (mapping == NULL)
  ------------------
  |  Branch (8816:9): [True: 0, False: 1.68k]
  ------------------
 8817|      0|        return PyUnicode_DecodeLatin1(s, size, errors);
 8818|       |
 8819|  1.68k|    if (size == 0)
  ------------------
  |  Branch (8819:9): [True: 0, False: 1.68k]
  ------------------
 8820|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      0|    do {                             \
  |  |  380|      0|        return _PyUnicode_GetEmpty();\
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8821|  1.68k|    _PyUnicodeWriter_Init(&writer);
 8822|  1.68k|    writer.min_length = size;
 8823|  1.68k|    if (_PyUnicodeWriter_Prepare(&writer, writer.min_length, 127) == -1)
  ------------------
  |  |  562|  1.68k|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 0, False: 1.68k]
  |  |  ------------------
  |  |  563|  1.68k|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  564|  1.68k|     ? 0                                                              \
  |  |  565|  1.68k|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 1.68k]
  |  |  ------------------
  |  |  566|  1.68k|        ? 0                                                           \
  |  |  567|  1.68k|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (8823:9): [True: 0, False: 1.68k]
  ------------------
 8824|      0|        goto onError;
 8825|       |
 8826|  1.68k|    if (PyUnicode_CheckExact(mapping)) {
  ------------------
  |  |  104|  1.68k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8827|  1.68k|        if (charmap_decode_string(s, size, mapping, errors, &writer) < 0)
  ------------------
  |  Branch (8827:13): [True: 24, False: 1.65k]
  ------------------
 8828|     24|            goto onError;
 8829|  1.68k|    }
 8830|      0|    else {
 8831|      0|        if (charmap_decode_mapping(s, size, mapping, errors, &writer) < 0)
  ------------------
  |  Branch (8831:13): [True: 0, False: 0]
  ------------------
 8832|      0|            goto onError;
 8833|      0|    }
 8834|  1.65k|    return _PyUnicodeWriter_Finish(&writer);
 8835|       |
 8836|     24|  onError:
 8837|     24|    _PyUnicodeWriter_Dealloc(&writer);
 8838|       |    return NULL;
 8839|  1.68k|}
PyUnicode_BuildEncodingMap:
 8885|     20|{
 8886|     20|    PyObject *result;
 8887|     20|    struct encoding_map *mresult;
 8888|     20|    int i;
 8889|     20|    int need_dict = 0;
 8890|     20|    unsigned char level1[32];
 8891|     20|    unsigned char level2[512];
 8892|     20|    unsigned char *mlevel1, *mlevel2, *mlevel3;
 8893|     20|    int count2 = 0, count3 = 0;
 8894|     20|    int kind;
 8895|     20|    const void *data;
 8896|     20|    int length;
 8897|     20|    Py_UCS4 ch;
 8898|       |
 8899|     20|    if (!PyUnicode_Check(string) || !PyUnicode_GET_LENGTH(string)) {
  ------------------
  |  |  103|     20|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     40|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyUnicode_Check(string) || !PyUnicode_GET_LENGTH(string)) {
  ------------------
  |  |  299|     20|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (8899:9): [True: 0, False: 20]
  |  Branch (8899:37): [True: 0, False: 20]
  ------------------
 8900|      0|        PyErr_BadArgument();
 8901|      0|        return NULL;
 8902|      0|    }
 8903|     20|    kind = PyUnicode_KIND(string);
  ------------------
  |  |  258|     20|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     40|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 20, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8904|     20|    data = PyUnicode_DATA(string);
  ------------------
  |  |  284|     20|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8905|     20|    length = (int)Py_MIN(PyUnicode_GET_LENGTH(string), 256);
  ------------------
  |  |  112|     20|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 20]
  |  |  ------------------
  ------------------
 8906|     20|    memset(level1, 0xFF, sizeof level1);
 8907|     20|    memset(level2, 0xFF, sizeof level2);
 8908|       |
 8909|       |    /* If there isn't a one-to-one mapping of NULL to \0,
 8910|       |       or if there are non-BMP characters, we need to use
 8911|       |       a mapping dictionary. */
 8912|     20|    if (PyUnicode_READ(kind, data, 0) != 0)
  ------------------
  |  |  354|     20|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     20|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|     20|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     20|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     20|                   (index))
  ------------------
  |  Branch (8912:9): [True: 0, False: 20]
  ------------------
 8913|      0|        need_dict = 1;
 8914|  5.12k|    for (i = 1; i < length; i++) {
  ------------------
  |  Branch (8914:17): [True: 5.10k, False: 20]
  ------------------
 8915|  5.10k|        int l1, l2;
 8916|  5.10k|        ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|  5.10k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  5.10k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  5.10k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  5.10k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  5.10k|                   (index))
  ------------------
 8917|  5.10k|        if (ch == 0 || ch > 0xFFFF) {
  ------------------
  |  Branch (8917:13): [True: 0, False: 5.10k]
  |  Branch (8917:24): [True: 0, False: 5.10k]
  ------------------
 8918|      0|            need_dict = 1;
 8919|      0|            break;
 8920|      0|        }
 8921|  5.10k|        if (ch == 0xFFFE)
  ------------------
  |  Branch (8921:13): [True: 110, False: 4.99k]
  ------------------
 8922|       |            /* unmapped character */
 8923|    110|            continue;
 8924|  4.99k|        l1 = ch >> 11;
 8925|  4.99k|        l2 = ch >> 7;
 8926|  4.99k|        if (level1[l1] == 0xFF)
  ------------------
  |  Branch (8926:13): [True: 35, False: 4.95k]
  ------------------
 8927|     35|            level1[l1] = count2++;
 8928|  4.99k|        if (level2[l2] == 0xFF)
  ------------------
  |  Branch (8928:13): [True: 98, False: 4.89k]
  ------------------
 8929|     98|            level2[l2] = count3++;
 8930|  4.99k|    }
 8931|       |
 8932|     20|    if (count2 >= 0xFF || count3 >= 0xFF)
  ------------------
  |  Branch (8932:9): [True: 0, False: 20]
  |  Branch (8932:27): [True: 0, False: 20]
  ------------------
 8933|      0|        need_dict = 1;
 8934|       |
 8935|     20|    if (need_dict) {
  ------------------
  |  Branch (8935:9): [True: 0, False: 20]
  ------------------
 8936|      0|        PyObject *result = PyDict_New();
 8937|      0|        if (!result)
  ------------------
  |  Branch (8937:13): [True: 0, False: 0]
  ------------------
 8938|      0|            return NULL;
 8939|      0|        for (i = 0; i < length; i++) {
  ------------------
  |  Branch (8939:21): [True: 0, False: 0]
  ------------------
 8940|      0|            Py_UCS4 c = 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))
  ------------------
 8941|      0|            PyObject *key = PyLong_FromLong(c);
 8942|      0|            if (key == NULL) {
  ------------------
  |  Branch (8942:17): [True: 0, False: 0]
  ------------------
 8943|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8944|      0|                return NULL;
 8945|      0|            }
 8946|      0|            PyObject *value = PyLong_FromLong(i);
 8947|      0|            if (value == NULL) {
  ------------------
  |  Branch (8947:17): [True: 0, False: 0]
  ------------------
 8948|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8949|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8950|      0|                return NULL;
 8951|      0|            }
 8952|      0|            int rc = PyDict_SetItem(result, key, value);
 8953|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8954|      0|            Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8955|      0|            if (rc < 0) {
  ------------------
  |  Branch (8955:17): [True: 0, False: 0]
  ------------------
 8956|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8957|      0|                return NULL;
 8958|      0|            }
 8959|      0|        }
 8960|      0|        return result;
 8961|      0|    }
 8962|       |
 8963|       |    /* Create a three-level trie */
 8964|     20|    result = PyObject_Malloc(sizeof(struct encoding_map) +
 8965|     20|                             16*count2 + 128*count3 - 1);
 8966|     20|    if (!result) {
  ------------------
  |  Branch (8966:9): [True: 0, False: 20]
  ------------------
 8967|      0|        return PyErr_NoMemory();
 8968|      0|    }
 8969|       |
 8970|     20|    _PyObject_Init(result, &EncodingMapType);
 8971|     20|    mresult = (struct encoding_map*)result;
 8972|     20|    mresult->count2 = count2;
 8973|     20|    mresult->count3 = count3;
 8974|     20|    mlevel1 = mresult->level1;
 8975|     20|    mlevel2 = mresult->level23;
 8976|     20|    mlevel3 = mresult->level23 + 16*count2;
 8977|     20|    memcpy(mlevel1, level1, 32);
 8978|     20|    memset(mlevel2, 0xFF, 16*count2);
 8979|     20|    memset(mlevel3, 0, 128*count3);
 8980|     20|    count3 = 0;
 8981|  5.12k|    for (i = 1; i < length; i++) {
  ------------------
  |  Branch (8981:17): [True: 5.10k, False: 20]
  ------------------
 8982|  5.10k|        int o1, o2, o3, i2, i3;
 8983|  5.10k|        Py_UCS4 ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|  5.10k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  5.10k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  5.10k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  5.10k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  5.10k|                   (index))
  ------------------
 8984|  5.10k|        if (ch == 0xFFFE)
  ------------------
  |  Branch (8984:13): [True: 110, False: 4.99k]
  ------------------
 8985|       |            /* unmapped character */
 8986|    110|            continue;
 8987|  4.99k|        o1 = ch>>11;
 8988|  4.99k|        o2 = (ch>>7) & 0xF;
 8989|  4.99k|        i2 = 16*mlevel1[o1] + o2;
 8990|  4.99k|        if (mlevel2[i2] == 0xFF)
  ------------------
  |  Branch (8990:13): [True: 98, False: 4.89k]
  ------------------
 8991|     98|            mlevel2[i2] = count3++;
 8992|  4.99k|        o3 = ch & 0x7F;
 8993|  4.99k|        i3 = 128*mlevel2[i2] + o3;
 8994|  4.99k|        mlevel3[i3] = i;
 8995|  4.99k|    }
 8996|     20|    return result;
 8997|     20|}
_PyUnicode_TransformDecimalAndSpaceToASCII:
 9845|  1.62k|{
 9846|  1.62k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|  1.62k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.62k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (9846:9): [True: 0, False: 1.62k]
  ------------------
 9847|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 9848|      0|        return NULL;
 9849|      0|    }
 9850|  1.62k|    if (PyUnicode_IS_ASCII(unicode)) {
  ------------------
  |  |  227|  1.62k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 1.62k, False: 0]
  |  |  ------------------
  ------------------
 9851|       |        /* If the string is already ASCII, just return the same string */
 9852|  1.62k|        return Py_NewRef(unicode);
  ------------------
  |  |  550|  1.62k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9853|  1.62k|    }
 9854|       |
 9855|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9856|      0|    PyObject *result = PyUnicode_New(len, 127);
 9857|      0|    if (result == NULL) {
  ------------------
  |  Branch (9857:9): [True: 0, False: 0]
  ------------------
 9858|      0|        return NULL;
 9859|      0|    }
 9860|       |
 9861|      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))
  |  |  ------------------
  ------------------
 9862|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9863|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9864|      0|    Py_ssize_t i;
 9865|      0|    for (i = 0; i < len; ++i) {
  ------------------
  |  Branch (9865:17): [True: 0, False: 0]
  ------------------
 9866|      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))
  ------------------
 9867|      0|        if (ch < 127) {
  ------------------
  |  Branch (9867:13): [True: 0, False: 0]
  ------------------
 9868|      0|            out[i] = ch;
 9869|      0|        }
 9870|      0|        else if (Py_UNICODE_ISSPACE(ch)) {
  ------------------
  |  Branch (9870:18): [True: 0, False: 0]
  ------------------
 9871|      0|            out[i] = ' ';
 9872|      0|        }
 9873|      0|        else {
 9874|      0|            int decimal = Py_UNICODE_TODECIMAL(ch);
  ------------------
  |  |  763|      0|#define Py_UNICODE_TODECIMAL(ch) _PyUnicode_ToDecimalDigit(ch)
  ------------------
 9875|      0|            if (decimal < 0) {
  ------------------
  |  Branch (9875:17): [True: 0, False: 0]
  ------------------
 9876|      0|                out[i] = '?';
 9877|      0|                out[i+1] = '\0';
 9878|      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 (9878:17): [True: 0, False: 0]
  ------------------
 9879|      0|                break;
 9880|      0|            }
 9881|      0|            out[i] = '0' + decimal;
 9882|      0|        }
 9883|      0|    }
 9884|       |
 9885|      0|    assert(_PyUnicode_CheckConsistency(result, 1));
  ------------------
  |  Branch (9885:5): [True: 0, False: 0]
  ------------------
 9886|      0|    return result;
 9887|      0|}
PyUnicode_Find:
10013|  5.82k|{
10014|  5.82k|    if (ensure_unicode(str) < 0 || ensure_unicode(substr) < 0)
  ------------------
  |  |  109|  5.82k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
                  if (ensure_unicode(str) < 0 || ensure_unicode(substr) < 0)
  ------------------
  |  |  109|  5.82k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (10014:9): [True: 0, False: 5.82k]
  |  Branch (10014:36): [True: 0, False: 5.82k]
  ------------------
10015|      0|        return -2;
10016|       |
10017|  5.82k|    return any_find_slice(str, substr, start, end, direction);
10018|  5.82k|}
PyUnicode_FindChar:
10024|   424k|{
10025|   424k|    int kind;
10026|   424k|    Py_ssize_t len, result;
10027|   424k|    len = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|   424k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   424k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   424k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10028|   424k|    ADJUST_INDICES(start, end, len);
  ------------------
  |  | 9893|   424k|    do {                                \
  |  | 9894|   424k|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (9894:13): [True: 0, False: 424k]
  |  |  ------------------
  |  | 9895|      0|            end = len;                  \
  |  | 9896|      0|        }                               \
  |  | 9897|   424k|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (9897:18): [True: 0, False: 424k]
  |  |  ------------------
  |  | 9898|      0|            end += len;                 \
  |  | 9899|      0|            if (end < 0) {              \
  |  |  ------------------
  |  |  |  Branch (9899:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9900|      0|                end = 0;                \
  |  | 9901|      0|            }                           \
  |  | 9902|      0|        }                               \
  |  | 9903|   424k|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (9903:13): [True: 0, False: 424k]
  |  |  ------------------
  |  | 9904|      0|            start += len;               \
  |  | 9905|      0|            if (start < 0) {            \
  |  |  ------------------
  |  |  |  Branch (9905:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9906|      0|                start = 0;              \
  |  | 9907|      0|            }                           \
  |  | 9908|      0|        }                               \
  |  | 9909|   424k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (9909:14): [Folded, False: 424k]
  |  |  ------------------
  ------------------
10029|   424k|    if (end - start < 1)
  ------------------
  |  Branch (10029:9): [True: 0, False: 424k]
  ------------------
10030|      0|        return -1;
10031|   424k|    kind = PyUnicode_KIND(str);
  ------------------
  |  |  258|   424k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   848k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 424k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10032|   424k|    result = findchar(PyUnicode_1BYTE_DATA(str) + kind*start,
  ------------------
  |  |  291|   424k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   424k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10033|   424k|                      kind, end-start, ch, direction);
10034|   424k|    if (result == -1)
  ------------------
  |  Branch (10034:9): [True: 366k, False: 57.3k]
  ------------------
10035|   366k|        return -1;
10036|  57.3k|    else
10037|  57.3k|        return start + result;
10038|   424k|}
PyUnicode_Join:
10350|   273k|{
10351|   273k|    PyObject *res;
10352|   273k|    PyObject *fseq;
10353|   273k|    Py_ssize_t seqlen;
10354|   273k|    PyObject **items;
10355|       |
10356|   273k|    fseq = PySequence_Fast(seq, "can only join an iterable");
10357|   273k|    if (fseq == NULL) {
  ------------------
  |  Branch (10357:9): [True: 0, False: 273k]
  ------------------
10358|      0|        return NULL;
10359|      0|    }
10360|       |
10361|   273k|    Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(seq);
  ------------------
  |  |   77|   273k|# define Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(original) {
  ------------------
10362|       |
10363|   273k|    items = PySequence_Fast_ITEMS(fseq);
  ------------------
  |  |  102|   273k|    (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
  |  |  ------------------
  |  |  |  |   25|   273k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   273k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 273k, False: 124]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  103|   273k|                      : ((PyTupleObject *)(sf))->ob_item)
  ------------------
10364|   273k|    seqlen = PySequence_Fast_GET_SIZE(fseq);
  ------------------
  |  |   92|   273k|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|   273k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   273k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 273k, False: 124]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|   273k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   273k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   273k|#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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10365|   273k|    res = _PyUnicode_JoinArray(separator, items, seqlen);
10366|       |
10367|   273k|    Py_END_CRITICAL_SECTION_SEQUENCE_FAST();
  ------------------
  |  |   78|   273k|# define Py_END_CRITICAL_SECTION_SEQUENCE_FAST() }
  ------------------
10368|       |
10369|   273k|    Py_DECREF(fseq);
  ------------------
  |  |  430|   273k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   273k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   273k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10370|   273k|    return res;
10371|   273k|}
_PyUnicode_JoinArray:
10375|   323k|{
10376|   323k|    PyObject *res = NULL; /* the result */
10377|   323k|    PyObject *sep = NULL;
10378|   323k|    Py_ssize_t seplen;
10379|   323k|    PyObject *item;
10380|   323k|    Py_ssize_t sz, i, res_offset;
10381|   323k|    Py_UCS4 maxchar;
10382|   323k|    Py_UCS4 item_maxchar;
10383|   323k|    int use_memcpy;
10384|   323k|    unsigned char *res_data = NULL, *sep_data = NULL;
10385|   323k|    PyObject *last_obj;
10386|   323k|    int kind = 0;
10387|       |
10388|       |    /* If empty sequence, return u"". */
10389|   323k|    if (seqlen == 0) {
  ------------------
  |  Branch (10389:9): [True: 0, False: 323k]
  ------------------
10390|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|      0|    do {                             \
  |  |  380|      0|        return _PyUnicode_GetEmpty();\
  |  |  381|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
10391|      0|    }
10392|       |
10393|       |    /* If singleton sequence with an exact Unicode, return that. */
10394|   323k|    last_obj = NULL;
10395|   323k|    if (seqlen == 1) {
  ------------------
  |  Branch (10395:9): [True: 235k, False: 87.5k]
  ------------------
10396|   235k|        if (PyUnicode_CheckExact(items[0])) {
  ------------------
  |  |  104|   235k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   235k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   235k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   235k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 235k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10397|   235k|            res = items[0];
10398|   235k|            return Py_NewRef(res);
  ------------------
  |  |  550|   235k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   235k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   235k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10399|   235k|        }
10400|      0|        seplen = 0;
10401|      0|        maxchar = 0;
10402|      0|    }
10403|  87.5k|    else {
10404|       |        /* Set up sep and seplen */
10405|  87.5k|        if (separator == NULL) {
  ------------------
  |  Branch (10405:13): [True: 0, False: 87.5k]
  ------------------
10406|       |            /* fall back to a blank space separator */
10407|      0|            sep = PyUnicode_FromOrdinal(' ');
10408|      0|            if (!sep)
  ------------------
  |  Branch (10408:17): [True: 0, False: 0]
  ------------------
10409|      0|                goto onError;
10410|      0|            seplen = 1;
10411|      0|            maxchar = 32;
10412|      0|        }
10413|  87.5k|        else {
10414|  87.5k|            if (!PyUnicode_Check(separator)) {
  ------------------
  |  |  103|  87.5k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  87.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (10414:17): [True: 0, False: 87.5k]
  ------------------
10415|      0|                PyErr_Format(PyExc_TypeError,
10416|      0|                             "separator: expected str instance,"
10417|      0|                             " %.80s found",
10418|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10419|      0|                goto onError;
10420|      0|            }
10421|  87.5k|            sep = separator;
10422|  87.5k|            seplen = PyUnicode_GET_LENGTH(separator);
  ------------------
  |  |  299|  87.5k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  87.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  87.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10423|  87.5k|            maxchar = PyUnicode_MAX_CHAR_VALUE(separator);
  ------------------
  |  |  405|  87.5k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  87.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  87.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10424|       |            /* inc refcount to keep this code path symmetric with the
10425|       |               above case of a blank separator */
10426|  87.5k|            Py_INCREF(sep);
  ------------------
  |  |  310|  87.5k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  87.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  87.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10427|  87.5k|        }
10428|  87.5k|        last_obj = sep;
10429|  87.5k|    }
10430|       |
10431|       |    /* There are at least two things to join, or else we have a subclass
10432|       |     * of str in the sequence.
10433|       |     * Do a pre-pass to figure out the total amount of space we'll
10434|       |     * need (sz), and see whether all argument are strings.
10435|       |     */
10436|  87.5k|    sz = 0;
10437|       |#ifdef Py_DEBUG
10438|       |    use_memcpy = 0;
10439|       |#else
10440|  87.5k|    use_memcpy = 1;
10441|  87.5k|#endif
10442|   840k|    for (i = 0; i < seqlen; i++) {
  ------------------
  |  Branch (10442:17): [True: 753k, False: 87.5k]
  ------------------
10443|   753k|        size_t add_sz;
10444|   753k|        item = items[i];
10445|   753k|        if (!PyUnicode_Check(item)) {
  ------------------
  |  |  103|   753k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   753k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (10445:13): [True: 0, False: 753k]
  ------------------
10446|      0|            PyErr_Format(PyExc_TypeError,
10447|      0|                         "sequence item %zd: expected str instance,"
10448|      0|                         " %.80s found",
10449|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10450|      0|            goto onError;
10451|      0|        }
10452|   753k|        add_sz = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  299|   753k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   753k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   753k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10453|   753k|        item_maxchar = PyUnicode_MAX_CHAR_VALUE(item);
  ------------------
  |  |  405|   753k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   753k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   753k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10454|   753k|        maxchar = Py_MAX(maxchar, item_maxchar);
  ------------------
  |  |  115|   753k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 97.7k, False: 655k]
  |  |  ------------------
  ------------------
10455|   753k|        if (i != 0) {
  ------------------
  |  Branch (10455:13): [True: 665k, False: 87.5k]
  ------------------
10456|   665k|            add_sz += seplen;
10457|   665k|        }
10458|   753k|        if (add_sz > (size_t)(PY_SSIZE_T_MAX - sz)) {
  ------------------
  |  |  137|   753k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (10458:13): [True: 0, False: 753k]
  ------------------
10459|      0|            PyErr_SetString(PyExc_OverflowError,
10460|      0|                            "join() result is too long for a Python string");
10461|      0|            goto onError;
10462|      0|        }
10463|   753k|        sz += add_sz;
10464|   753k|        if (use_memcpy && last_obj != NULL) {
  ------------------
  |  Branch (10464:13): [True: 477k, False: 275k]
  |  Branch (10464:27): [True: 477k, False: 0]
  ------------------
10465|   954k|            if (PyUnicode_KIND(last_obj) != PyUnicode_KIND(item))
  ------------------
  |  |  258|   477k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   954k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 477k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyUnicode_KIND(last_obj) != PyUnicode_KIND(item))
  ------------------
  |  |  258|   477k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   954k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 477k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10465:17): [True: 28.0k, False: 449k]
  ------------------
10466|  28.0k|                use_memcpy = 0;
10467|   477k|        }
10468|      0|        last_obj = item;
10469|   753k|    }
10470|       |
10471|  87.5k|    res = PyUnicode_New(sz, maxchar);
10472|  87.5k|    if (res == NULL)
  ------------------
  |  Branch (10472:9): [True: 0, False: 87.5k]
  ------------------
10473|      0|        goto onError;
10474|       |
10475|       |    /* Catenate everything. */
10476|       |#ifdef Py_DEBUG
10477|       |    use_memcpy = 0;
10478|       |#else
10479|  87.5k|    if (use_memcpy) {
  ------------------
  |  Branch (10479:9): [True: 59.4k, False: 28.0k]
  ------------------
10480|  59.4k|        res_data = PyUnicode_1BYTE_DATA(res);
  ------------------
  |  |  291|  59.4k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  59.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10481|  59.4k|        kind = PyUnicode_KIND(res);
  ------------------
  |  |  258|  59.4k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   118k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 59.4k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10482|  59.4k|        if (seplen != 0)
  ------------------
  |  Branch (10482:13): [True: 2.66k, False: 56.7k]
  ------------------
10483|  2.66k|            sep_data = PyUnicode_1BYTE_DATA(sep);
  ------------------
  |  |  291|  2.66k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  2.66k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10484|  59.4k|    }
10485|  87.5k|#endif
10486|  87.5k|    if (use_memcpy) {
  ------------------
  |  Branch (10486:9): [True: 59.4k, False: 28.0k]
  ------------------
10487|   486k|        for (i = 0; i < seqlen; ++i) {
  ------------------
  |  Branch (10487:21): [True: 426k, False: 59.4k]
  ------------------
10488|   426k|            Py_ssize_t itemlen;
10489|   426k|            item = items[i];
10490|       |
10491|       |            /* Copy item, and maybe the separator. */
10492|   426k|            if (i && seplen != 0) {
  ------------------
  |  Branch (10492:17): [True: 367k, False: 59.4k]
  |  Branch (10492:22): [True: 5.48k, False: 361k]
  ------------------
10493|  5.48k|                memcpy(res_data,
10494|  5.48k|                          sep_data,
10495|  5.48k|                          kind * seplen);
10496|  5.48k|                res_data += kind * seplen;
10497|  5.48k|            }
10498|       |
10499|   426k|            itemlen = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  299|   426k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   426k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   426k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10500|   426k|            if (itemlen != 0) {
  ------------------
  |  Branch (10500:17): [True: 425k, False: 995]
  ------------------
10501|   425k|                memcpy(res_data,
10502|   425k|                          PyUnicode_DATA(item),
  ------------------
  |  |  284|   425k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   425k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   425k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10503|   425k|                          kind * itemlen);
10504|   425k|                res_data += kind * itemlen;
10505|   425k|            }
10506|   426k|        }
10507|  59.4k|        assert(res_data == PyUnicode_1BYTE_DATA(res)
  ------------------
  |  Branch (10507:9): [True: 59.4k, False: 0]
  ------------------
10508|  59.4k|                           + kind * PyUnicode_GET_LENGTH(res));
10509|  59.4k|    }
10510|  28.0k|    else {
10511|   354k|        for (i = 0, res_offset = 0; i < seqlen; ++i) {
  ------------------
  |  Branch (10511:37): [True: 326k, False: 28.0k]
  ------------------
10512|   326k|            Py_ssize_t itemlen;
10513|   326k|            item = items[i];
10514|       |
10515|       |            /* Copy item, and maybe the separator. */
10516|   326k|            if (i && seplen != 0) {
  ------------------
  |  Branch (10516:17): [True: 298k, False: 28.0k]
  |  Branch (10516:22): [True: 47.6k, False: 250k]
  ------------------
10517|  47.6k|                _PyUnicode_FastCopyCharacters(res, res_offset, sep, 0, seplen);
10518|  47.6k|                res_offset += seplen;
10519|  47.6k|            }
10520|       |
10521|   326k|            itemlen = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  299|   326k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   326k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   326k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10522|   326k|            if (itemlen != 0) {
  ------------------
  |  Branch (10522:17): [True: 292k, False: 34.1k]
  ------------------
10523|   292k|                _PyUnicode_FastCopyCharacters(res, res_offset, item, 0, itemlen);
10524|   292k|                res_offset += itemlen;
10525|   292k|            }
10526|   326k|        }
10527|  28.0k|        assert(res_offset == PyUnicode_GET_LENGTH(res));
  ------------------
  |  Branch (10527:9): [True: 28.0k, False: 0]
  ------------------
10528|  28.0k|    }
10529|       |
10530|  87.5k|    Py_XDECREF(sep);
  ------------------
  |  |  524|  87.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  87.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  87.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10531|  87.5k|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (10531:5): [True: 87.5k, False: 0]
  ------------------
10532|  87.5k|    return res;
10533|       |
10534|      0|  onError:
10535|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10536|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10537|       |    return NULL;
10538|  87.5k|}
_PyUnicode_FastFill:
10543|    832|{
10544|    832|    const int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|    832|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.66k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 832, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10545|    832|    void *data = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|    832|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    832|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    832|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10546|    832|    assert(_PyUnicode_IsModifiable(unicode));
  ------------------
  |  Branch (10546:5): [True: 832, False: 0]
  ------------------
10547|    832|    assert(fill_char <= PyUnicode_MAX_CHAR_VALUE(unicode));
  ------------------
  |  Branch (10547:5): [True: 832, False: 0]
  ------------------
10548|    832|    assert(start >= 0);
  ------------------
  |  Branch (10548:5): [True: 832, False: 0]
  ------------------
10549|    832|    assert(start + length <= PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  Branch (10549:5): [True: 832, False: 0]
  ------------------
10550|    832|    _PyUnicode_Fill(kind, data, fill_char, start, length);
10551|    832|}
PyUnicode_Fill:
10556|    832|{
10557|    832|    Py_ssize_t maxlen;
10558|       |
10559|    832|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|    832|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    832|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (10559:9): [True: 0, False: 832]
  ------------------
10560|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
10561|      0|        return -1;
10562|      0|    }
10563|    832|    if (unicode_check_modifiable(unicode))
  ------------------
  |  Branch (10563:9): [True: 0, False: 832]
  ------------------
10564|      0|        return -1;
10565|       |
10566|    832|    if (start < 0) {
  ------------------
  |  Branch (10566:9): [True: 0, False: 832]
  ------------------
10567|      0|        PyErr_SetString(PyExc_IndexError, "string index out of range");
10568|      0|        return -1;
10569|      0|    }
10570|    832|    if (fill_char > PyUnicode_MAX_CHAR_VALUE(unicode)) {
  ------------------
  |  |  405|    832|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    832|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    832|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10570:9): [True: 0, False: 832]
  ------------------
10571|      0|        PyErr_SetString(PyExc_ValueError,
10572|      0|                         "fill character is bigger than "
10573|      0|                         "the string maximum character");
10574|      0|        return -1;
10575|      0|    }
10576|       |
10577|    832|    maxlen = PyUnicode_GET_LENGTH(unicode) - start;
  ------------------
  |  |  299|    832|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    832|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    832|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10578|    832|    length = Py_MIN(maxlen, length);
  ------------------
  |  |  112|    832|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 832, False: 0]
  |  |  ------------------
  ------------------
10579|    832|    if (length <= 0)
  ------------------
  |  Branch (10579:9): [True: 0, False: 832]
  ------------------
10580|      0|        return 0;
10581|       |
10582|    832|    _PyUnicode_FastFill(unicode, start, length, fill_char);
10583|    832|    return length;
10584|    832|}
_PyUnicode_Equal:
11407|  13.4M|{
11408|  13.4M|    assert(PyUnicode_Check(str1));
  ------------------
  |  Branch (11408:5): [True: 13.4M, False: 0]
  ------------------
11409|  13.4M|    assert(PyUnicode_Check(str2));
  ------------------
  |  Branch (11409:5): [True: 13.4M, False: 0]
  ------------------
11410|  13.4M|    if (str1 == str2) {
  ------------------
  |  Branch (11410:9): [True: 83.7k, False: 13.4M]
  ------------------
11411|  83.7k|        return 1;
11412|  83.7k|    }
11413|  13.4M|    return unicode_eq(str1, str2);
11414|  13.4M|}
PyUnicode_Compare:
11437|    574|{
11438|    574|    if (PyUnicode_Check(left) && PyUnicode_Check(right)) {
  ------------------
  |  |  103|    574|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.14k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 574, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyUnicode_Check(left) && PyUnicode_Check(right)) {
  ------------------
  |  |  103|    574|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    574|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 574, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11439|       |        /* a string is equal to itself */
11440|    574|        if (left == right)
  ------------------
  |  Branch (11440:13): [True: 57, False: 517]
  ------------------
11441|     57|            return 0;
11442|       |
11443|    517|        return unicode_compare(left, right);
11444|    574|    }
11445|      0|    PyErr_Format(PyExc_TypeError,
11446|      0|                 "Can't compare %.100s and %.100s",
11447|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11448|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11449|      0|    return -1;
11450|    574|}
PyUnicode_CompareWithASCIIString:
11454|  1.12M|{
11455|  1.12M|    Py_ssize_t i;
11456|  1.12M|    int kind;
11457|  1.12M|    Py_UCS4 chr;
11458|       |
11459|  1.12M|    assert(_PyUnicode_CHECK(uni));
  ------------------
  |  Branch (11459:5): [True: 1.12M, False: 0]
  ------------------
11460|  1.12M|    kind = PyUnicode_KIND(uni);
  ------------------
  |  |  258|  1.12M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  2.24M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1.12M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11461|  1.12M|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (11461:9): [True: 1.12M, False: 3.58k]
  ------------------
11462|  1.12M|        const void *data = PyUnicode_1BYTE_DATA(uni);
  ------------------
  |  |  291|  1.12M|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  1.12M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
11463|  1.12M|        size_t len1 = (size_t)PyUnicode_GET_LENGTH(uni);
  ------------------
  |  |  299|  1.12M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.12M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.12M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11464|  1.12M|        size_t len, len2 = strlen(str);
11465|  1.12M|        int cmp;
11466|       |
11467|  1.12M|        len = Py_MIN(len1, len2);
  ------------------
  |  |  112|  1.12M|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 543k, False: 576k]
  |  |  ------------------
  ------------------
11468|  1.12M|        cmp = memcmp(data, str, len);
11469|  1.12M|        if (cmp != 0) {
  ------------------
  |  Branch (11469:13): [True: 570k, False: 549k]
  ------------------
11470|   570k|            if (cmp < 0)
  ------------------
  |  Branch (11470:17): [True: 23.8k, False: 546k]
  ------------------
11471|  23.8k|                return -1;
11472|   546k|            else
11473|   546k|                return 1;
11474|   570k|        }
11475|   549k|        if (len1 > len2)
  ------------------
  |  Branch (11475:13): [True: 1.40k, False: 548k]
  ------------------
11476|  1.40k|            return 1; /* uni is longer */
11477|   548k|        if (len1 < len2)
  ------------------
  |  Branch (11477:13): [True: 4.50k, False: 543k]
  ------------------
11478|  4.50k|            return -1; /* str is longer */
11479|   543k|        return 0;
11480|   548k|    }
11481|  3.58k|    else {
11482|  3.58k|        const void *data = PyUnicode_DATA(uni);
  ------------------
  |  |  284|  3.58k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11483|       |        /* Compare Unicode string and source character set string */
11484|  6.60k|        for (i = 0; (chr = PyUnicode_READ(kind, data, i)) && str[i]; i++)
  ------------------
  |  |  354|  6.60k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  6.60k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  6.60k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  6.60k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  6.60k|                   (index))
  ------------------
  |  Branch (11484:21): [True: 6.60k, False: 0]
  |  Branch (11484:62): [True: 5.90k, False: 698]
  ------------------
11485|  5.90k|            if (chr != (unsigned char)str[i])
  ------------------
  |  Branch (11485:17): [True: 2.88k, False: 3.02k]
  ------------------
11486|  2.88k|                return (chr < (unsigned char)(str[i])) ? -1 : 1;
  ------------------
  |  Branch (11486:24): [True: 907, False: 1.97k]
  ------------------
11487|       |        /* This check keeps Python strings that end in '\0' from comparing equal
11488|       |         to C strings identical up to that point. */
11489|    698|        if (PyUnicode_GET_LENGTH(uni) != i || chr)
  ------------------
  |  |  299|    698|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    698|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    698|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11489:13): [True: 698, False: 0]
  |  Branch (11489:47): [True: 0, False: 0]
  ------------------
11490|    698|            return 1; /* uni is longer */
11491|      0|        if (str[i])
  ------------------
  |  Branch (11491:13): [True: 0, False: 0]
  ------------------
11492|      0|            return -1; /* str is longer */
11493|      0|        return 0;
11494|      0|    }
11495|  1.12M|}
PyUnicode_EqualToUTF8:
11499|      2|{
11500|      2|    return PyUnicode_EqualToUTF8AndSize(unicode, str, strlen(str));
11501|      2|}
PyUnicode_EqualToUTF8AndSize:
11505|      2|{
11506|      2|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (11506:5): [True: 2, False: 0]
  ------------------
11507|      2|    assert(str);
  ------------------
  |  Branch (11507:5): [True: 2, False: 0]
  ------------------
11508|       |
11509|      2|    if (PyUnicode_IS_ASCII(unicode)) {
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
11510|      2|        Py_ssize_t len = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11511|      2|        return size == len &&
  ------------------
  |  Branch (11511:16): [True: 0, False: 2]
  ------------------
11512|      0|            memcmp(PyUnicode_1BYTE_DATA(unicode), str, len) == 0;
  ------------------
  |  |  291|      0|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (11512:13): [True: 0, False: 0]
  ------------------
11513|      2|    }
11514|      0|    if (PyUnicode_UTF8(unicode) != NULL) {
  ------------------
  |  Branch (11514:9): [True: 0, False: 0]
  ------------------
11515|      0|        Py_ssize_t len = PyUnicode_UTF8_LENGTH(unicode);
11516|      0|        return size == len &&
  ------------------
  |  Branch (11516:16): [True: 0, False: 0]
  ------------------
11517|      0|            memcmp(PyUnicode_UTF8(unicode), str, len) == 0;
  ------------------
  |  Branch (11517:13): [True: 0, False: 0]
  ------------------
11518|      0|    }
11519|       |
11520|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11521|      0|    if ((size_t)len >= (size_t)size || (size_t)len < (size_t)size / 4) {
  ------------------
  |  Branch (11521:9): [True: 0, False: 0]
  |  Branch (11521:40): [True: 0, False: 0]
  ------------------
11522|      0|        return 0;
11523|      0|    }
11524|      0|    const unsigned char *s = (const unsigned char *)str;
11525|      0|    const unsigned char *ends = s + (size_t)size;
11526|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11527|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11528|       |    /* Compare Unicode string and UTF-8 string */
11529|      0|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (11529:28): [True: 0, False: 0]
  ------------------
11530|      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))
  ------------------
11531|      0|        if (ch < 0x80) {
  ------------------
  |  Branch (11531:13): [True: 0, False: 0]
  ------------------
11532|      0|            if (ends == s || s[0] != ch) {
  ------------------
  |  Branch (11532:17): [True: 0, False: 0]
  |  Branch (11532:30): [True: 0, False: 0]
  ------------------
11533|      0|                return 0;
11534|      0|            }
11535|      0|            s += 1;
11536|      0|        }
11537|      0|        else if (ch < 0x800) {
  ------------------
  |  Branch (11537:18): [True: 0, False: 0]
  ------------------
11538|      0|            if ((ends - s) < 2 ||
  ------------------
  |  Branch (11538:17): [True: 0, False: 0]
  ------------------
11539|      0|                s[0] != (0xc0 | (ch >> 6)) ||
  ------------------
  |  Branch (11539:17): [True: 0, False: 0]
  ------------------
11540|      0|                s[1] != (0x80 | (ch & 0x3f)))
  ------------------
  |  Branch (11540:17): [True: 0, False: 0]
  ------------------
11541|      0|            {
11542|      0|                return 0;
11543|      0|            }
11544|      0|            s += 2;
11545|      0|        }
11546|      0|        else if (ch < 0x10000) {
  ------------------
  |  Branch (11546:18): [True: 0, False: 0]
  ------------------
11547|      0|            if (Py_UNICODE_IS_SURROGATE(ch) ||
  ------------------
  |  Branch (11547:17): [True: 0, False: 0]
  ------------------
11548|      0|                (ends - s) < 3 ||
  ------------------
  |  Branch (11548:17): [True: 0, False: 0]
  ------------------
11549|      0|                s[0] != (0xe0 | (ch >> 12)) ||
  ------------------
  |  Branch (11549:17): [True: 0, False: 0]
  ------------------
11550|      0|                s[1] != (0x80 | ((ch >> 6) & 0x3f)) ||
  ------------------
  |  Branch (11550:17): [True: 0, False: 0]
  ------------------
11551|      0|                s[2] != (0x80 | (ch & 0x3f)))
  ------------------
  |  Branch (11551:17): [True: 0, False: 0]
  ------------------
11552|      0|            {
11553|      0|                return 0;
11554|      0|            }
11555|      0|            s += 3;
11556|      0|        }
11557|      0|        else {
11558|      0|            assert(ch <= MAX_UNICODE);
  ------------------
  |  Branch (11558:13): [True: 0, False: 0]
  ------------------
11559|      0|            if ((ends - s) < 4 ||
  ------------------
  |  Branch (11559:17): [True: 0, False: 0]
  ------------------
11560|      0|                s[0] != (0xf0 | (ch >> 18)) ||
  ------------------
  |  Branch (11560:17): [True: 0, False: 0]
  ------------------
11561|      0|                s[1] != (0x80 | ((ch >> 12) & 0x3f)) ||
  ------------------
  |  Branch (11561:17): [True: 0, False: 0]
  ------------------
11562|      0|                s[2] != (0x80 | ((ch >> 6) & 0x3f)) ||
  ------------------
  |  Branch (11562:17): [True: 0, False: 0]
  ------------------
11563|      0|                s[3] != (0x80 | (ch & 0x3f)))
  ------------------
  |  Branch (11563:17): [True: 0, False: 0]
  ------------------
11564|      0|            {
11565|      0|                return 0;
11566|      0|            }
11567|      0|            s += 4;
11568|      0|        }
11569|      0|    }
11570|      0|    return s == ends;
11571|      0|}
_PyUnicode_EqualToASCIIString:
11575|  2.99M|{
11576|  2.99M|    size_t len;
11577|  2.99M|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (11577:5): [True: 2.99M, False: 0]
  ------------------
11578|  2.99M|    assert(str);
  ------------------
  |  Branch (11578:5): [True: 2.99M, False: 0]
  ------------------
11579|  2.99M|#ifndef NDEBUG
11580|  19.0M|    for (const char *p = str; *p; p++) {
  ------------------
  |  Branch (11580:31): [True: 16.0M, False: 2.99M]
  ------------------
11581|  16.0M|        assert((unsigned char)*p < 128);
  ------------------
  |  Branch (11581:9): [True: 16.0M, False: 0]
  ------------------
11582|  16.0M|    }
11583|  2.99M|#endif
11584|  2.99M|    if (!PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  227|  2.99M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.99M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.99M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11584:9): [True: 284k, False: 2.71M]
  ------------------
11585|   284k|        return 0;
11586|  2.71M|    len = (size_t)PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|  2.71M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.71M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.71M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11587|  2.71M|    return strlen(str) == len &&
  ------------------
  |  Branch (11587:12): [True: 200k, False: 2.51M]
  ------------------
11588|   200k|           memcmp(PyUnicode_1BYTE_DATA(unicode), str, len) == 0;
  ------------------
  |  |  291|   200k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   200k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (11588:12): [True: 63.9k, False: 136k]
  ------------------
11589|  2.99M|}
PyUnicode_RichCompare:
11593|  14.1M|{
11594|  14.1M|    int result;
11595|       |
11596|  14.1M|    if (!PyUnicode_Check(left) || !PyUnicode_Check(right))
  ------------------
  |  |  103|  14.1M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  28.3M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyUnicode_Check(left) || !PyUnicode_Check(right))
  ------------------
  |  |  103|  14.1M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  14.1M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11596:9): [True: 0, False: 14.1M]
  |  Branch (11596:35): [True: 5.70k, False: 14.1M]
  ------------------
11597|  5.70k|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|  5.70k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|  5.70k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
11598|       |
11599|  14.1M|    if (left == right) {
  ------------------
  |  Branch (11599:9): [True: 32, False: 14.1M]
  ------------------
11600|     32|        switch (op) {
11601|     25|        case Py_EQ:
  ------------------
  |  |  654|     25|#define Py_EQ 2
  ------------------
  |  Branch (11601:9): [True: 25, False: 7]
  ------------------
11602|     25|        case Py_LE:
  ------------------
  |  |  653|     25|#define Py_LE 1
  ------------------
  |  Branch (11602:9): [True: 0, False: 32]
  ------------------
11603|     25|        case Py_GE:
  ------------------
  |  |  657|     25|#define Py_GE 5
  ------------------
  |  Branch (11603:9): [True: 0, False: 32]
  ------------------
11604|       |            /* a string is equal to itself */
11605|     25|            Py_RETURN_TRUE;
  ------------------
  |  |   44|     25|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|     25|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11606|      7|        case Py_NE:
  ------------------
  |  |  655|      7|#define Py_NE 3
  ------------------
  |  Branch (11606:9): [True: 7, False: 25]
  ------------------
11607|      7|        case Py_LT:
  ------------------
  |  |  652|      7|#define Py_LT 0
  ------------------
  |  Branch (11607:9): [True: 0, False: 32]
  ------------------
11608|      7|        case Py_GT:
  ------------------
  |  |  656|      7|#define Py_GT 4
  ------------------
  |  Branch (11608:9): [True: 0, False: 32]
  ------------------
11609|      7|            Py_RETURN_FALSE;
  ------------------
  |  |   45|      7|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|      7|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11610|      0|        default:
  ------------------
  |  Branch (11610:9): [True: 0, False: 32]
  ------------------
11611|      0|            PyErr_BadArgument();
11612|      0|            return NULL;
11613|     32|        }
11614|     32|    }
11615|  14.1M|    else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  654|  28.3M|#define Py_EQ 2
  ------------------
                  else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  655|  13.5M|#define Py_NE 3
  ------------------
  |  Branch (11615:14): [True: 602k, False: 13.5M]
  |  Branch (11615:29): [True: 20, False: 13.5M]
  ------------------
11616|   602k|        result = unicode_eq(left, right);
11617|   602k|        result ^= (op == Py_NE);
  ------------------
  |  |  655|   602k|#define Py_NE 3
  ------------------
11618|   602k|        return PyBool_FromLong(result);
11619|   602k|    }
11620|  13.5M|    else {
11621|  13.5M|        result = unicode_compare(left, right);
11622|  13.5M|        Py_RETURN_RICHCOMPARE(result, 0, op);
  ------------------
  |  |  674|  13.5M|    do {                                                                    \
  |  |  675|  13.5M|        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: 13.5M]
  |  |  |  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: 13.5M]
  |  |  |  Branch (677:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  678|  13.5M|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|  13.5M|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|  7.87M|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  7.87M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  7.87M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  7.87M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|  5.68M|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|  5.68M|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  5.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 13.5M, False: 0]
  |  |  |  Branch (678:25): [True: 7.87M, False: 5.68M]
  |  |  ------------------
  |  |  679|  13.5M|        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: 13.5M]
  |  |  |  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: 13.5M]
  |  |  |  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: 13.5M]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 13.5M]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|  13.5M|        }                                                                   \
  |  |  685|  13.5M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
11623|  13.5M|    }
11624|  14.1M|}
PyUnicode_Contains:
11628|  1.32k|{
11629|  1.32k|    int kind1, kind2;
11630|  1.32k|    const void *buf1, *buf2;
11631|  1.32k|    Py_ssize_t len1, len2;
11632|  1.32k|    int result;
11633|       |
11634|  1.32k|    if (!PyUnicode_Check(substr)) {
  ------------------
  |  |  103|  1.32k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.32k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11634:9): [True: 0, False: 1.32k]
  ------------------
11635|      0|        PyErr_Format(PyExc_TypeError,
11636|      0|                     "'in <string>' requires string as left operand, not %.100s",
11637|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11638|      0|        return -1;
11639|      0|    }
11640|  1.32k|    if (ensure_unicode(str) < 0)
  ------------------
  |  |  109|  1.32k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (11640:9): [True: 0, False: 1.32k]
  ------------------
11641|      0|        return -1;
11642|       |
11643|  1.32k|    kind1 = PyUnicode_KIND(str);
  ------------------
  |  |  258|  1.32k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  2.64k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1.32k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11644|  1.32k|    kind2 = PyUnicode_KIND(substr);
  ------------------
  |  |  258|  1.32k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  2.64k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1.32k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11645|  1.32k|    if (kind1 < kind2)
  ------------------
  |  Branch (11645:9): [True: 3, False: 1.32k]
  ------------------
11646|      3|        return 0;
11647|  1.32k|    len1 = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|  1.32k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11648|  1.32k|    len2 = PyUnicode_GET_LENGTH(substr);
  ------------------
  |  |  299|  1.32k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11649|  1.32k|    if (len1 < len2)
  ------------------
  |  Branch (11649:9): [True: 4, False: 1.31k]
  ------------------
11650|      4|        return 0;
11651|  1.31k|    buf1 = PyUnicode_DATA(str);
  ------------------
  |  |  284|  1.31k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11652|  1.31k|    buf2 = PyUnicode_DATA(substr);
  ------------------
  |  |  284|  1.31k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11653|  1.31k|    if (len2 == 1) {
  ------------------
  |  Branch (11653:9): [True: 1.29k, False: 23]
  ------------------
11654|  1.29k|        Py_UCS4 ch = PyUnicode_READ(kind2, buf2, 0);
  ------------------
  |  |  354|  1.29k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  1.29k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  1.29k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  1.29k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  1.29k|                   (index))
  ------------------
11655|  1.29k|        result = findchar((const char *)buf1, kind1, len1, ch, 1) != -1;
11656|  1.29k|        return result;
11657|  1.29k|    }
11658|     23|    if (kind2 != kind1) {
  ------------------
  |  Branch (11658:9): [True: 0, False: 23]
  ------------------
11659|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
11660|      0|        if (!buf2)
  ------------------
  |  Branch (11660:13): [True: 0, False: 0]
  ------------------
11661|      0|            return -1;
11662|      0|    }
11663|       |
11664|     23|    switch (kind1) {
11665|     23|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11665:5): [True: 23, False: 0]
  ------------------
11666|     23|        result = ucs1lib_find(buf1, len1, buf2, len2, 0) != -1;
11667|     23|        break;
11668|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11668:5): [True: 0, False: 23]
  ------------------
11669|      0|        result = ucs2lib_find(buf1, len1, buf2, len2, 0) != -1;
11670|      0|        break;
11671|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11671:5): [True: 0, False: 23]
  ------------------
11672|      0|        result = ucs4lib_find(buf1, len1, buf2, len2, 0) != -1;
11673|      0|        break;
11674|      0|    default:
  ------------------
  |  Branch (11674:5): [True: 0, False: 23]
  ------------------
11675|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11676|     23|    }
11677|       |
11678|     23|    assert((kind2 == kind1) == (buf2 == PyUnicode_DATA(substr)));
  ------------------
  |  Branch (11678:5): [True: 23, False: 0]
  ------------------
11679|     23|    if (kind2 != kind1)
  ------------------
  |  Branch (11679:9): [True: 0, False: 23]
  ------------------
11680|      0|        PyMem_Free((void *)buf2);
11681|       |
11682|     23|    return result;
11683|     23|}
PyUnicode_Concat:
11689|   449k|{
11690|   449k|    PyObject *result;
11691|   449k|    Py_UCS4 maxchar, maxchar2;
11692|   449k|    Py_ssize_t left_len, right_len, new_len;
11693|       |
11694|   449k|    if (ensure_unicode(left) < 0)
  ------------------
  |  |  109|   449k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (11694:9): [True: 0, False: 449k]
  ------------------
11695|      0|        return NULL;
11696|       |
11697|   449k|    if (!PyUnicode_Check(right)) {
  ------------------
  |  |  103|   449k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   449k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11697:9): [True: 733, False: 448k]
  ------------------
11698|    733|        PyErr_Format(PyExc_TypeError,
11699|    733|            "can only concatenate str (not \"%.200s\") to str",
11700|    733|            Py_TYPE(right)->tp_name);
  ------------------
  |  |  213|    733|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    733|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    733|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11701|    733|        return NULL;
11702|    733|    }
11703|       |
11704|       |    /* Shortcuts */
11705|   448k|    PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
11706|   448k|    if (left == empty) {
  ------------------
  |  Branch (11706:9): [True: 33.9k, False: 414k]
  ------------------
11707|  33.9k|        return PyUnicode_FromObject(right);
11708|  33.9k|    }
11709|   414k|    if (right == empty) {
  ------------------
  |  Branch (11709:9): [True: 49.7k, False: 364k]
  ------------------
11710|  49.7k|        return PyUnicode_FromObject(left);
11711|  49.7k|    }
11712|       |
11713|   364k|    left_len = PyUnicode_GET_LENGTH(left);
  ------------------
  |  |  299|   364k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   364k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   364k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11714|   364k|    right_len = PyUnicode_GET_LENGTH(right);
  ------------------
  |  |  299|   364k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   364k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   364k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11715|   364k|    if (left_len > PY_SSIZE_T_MAX - right_len) {
  ------------------
  |  |  137|   364k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11715:9): [True: 0, False: 364k]
  ------------------
11716|      0|        PyErr_SetString(PyExc_OverflowError,
11717|      0|                        "strings are too large to concat");
11718|      0|        return NULL;
11719|      0|    }
11720|   364k|    new_len = left_len + right_len;
11721|       |
11722|   364k|    maxchar = PyUnicode_MAX_CHAR_VALUE(left);
  ------------------
  |  |  405|   364k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   364k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   364k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11723|   364k|    maxchar2 = PyUnicode_MAX_CHAR_VALUE(right);
  ------------------
  |  |  405|   364k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   364k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   364k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11724|   364k|    maxchar = Py_MAX(maxchar, maxchar2);
  ------------------
  |  |  115|   364k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 13.3k, False: 351k]
  |  |  ------------------
  ------------------
11725|       |
11726|       |    /* Concat the two Unicode strings */
11727|   364k|    result = PyUnicode_New(new_len, maxchar);
11728|   364k|    if (result == NULL)
  ------------------
  |  Branch (11728:9): [True: 0, False: 364k]
  ------------------
11729|      0|        return NULL;
11730|   364k|    _PyUnicode_FastCopyCharacters(result, 0, left, 0, left_len);
11731|   364k|    _PyUnicode_FastCopyCharacters(result, left_len, right, 0, right_len);
11732|   364k|    assert(_PyUnicode_CheckConsistency(result, 1));
  ------------------
  |  Branch (11732:5): [True: 364k, False: 0]
  ------------------
11733|   364k|    return result;
11734|   364k|}
PyUnicode_Append:
11738|  15.1k|{
11739|  15.1k|    PyObject *left, *res;
11740|  15.1k|    Py_UCS4 maxchar, maxchar2;
11741|  15.1k|    Py_ssize_t left_len, right_len, new_len;
11742|       |
11743|  15.1k|    if (p_left == NULL) {
  ------------------
  |  Branch (11743:9): [True: 0, False: 15.1k]
  ------------------
11744|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (11744:13): [True: 0, False: 0]
  ------------------
11745|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
11746|      0|        return;
11747|      0|    }
11748|  15.1k|    left = *p_left;
11749|  15.1k|    if (right == NULL || left == NULL
  ------------------
  |  Branch (11749:9): [True: 0, False: 15.1k]
  |  Branch (11749:26): [True: 0, False: 15.1k]
  ------------------
11750|  15.1k|        || !PyUnicode_Check(left) || !PyUnicode_Check(right)) {
  ------------------
  |  |  103|  15.1k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  30.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                      || !PyUnicode_Check(left) || !PyUnicode_Check(right)) {
  ------------------
  |  |  103|  15.1k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  15.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11750:12): [True: 0, False: 15.1k]
  |  Branch (11750:38): [True: 0, False: 15.1k]
  ------------------
11751|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (11751:13): [True: 0, False: 0]
  ------------------
11752|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
11753|      0|        goto error;
11754|      0|    }
11755|       |
11756|       |    /* Shortcuts */
11757|  15.1k|    PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
11758|  15.1k|    if (left == empty) {
  ------------------
  |  Branch (11758:9): [True: 16, False: 15.1k]
  ------------------
11759|     16|        Py_DECREF(left);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11760|     16|        *p_left = Py_NewRef(right);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11761|     16|        return;
11762|     16|    }
11763|  15.1k|    if (right == empty) {
  ------------------
  |  Branch (11763:9): [True: 0, False: 15.1k]
  ------------------
11764|      0|        return;
11765|      0|    }
11766|       |
11767|  15.1k|    left_len = PyUnicode_GET_LENGTH(left);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11768|  15.1k|    right_len = PyUnicode_GET_LENGTH(right);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11769|  15.1k|    if (left_len > PY_SSIZE_T_MAX - right_len) {
  ------------------
  |  |  137|  15.1k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11769:9): [True: 0, False: 15.1k]
  ------------------
11770|      0|        PyErr_SetString(PyExc_OverflowError,
11771|      0|                        "strings are too large to concat");
11772|      0|        goto error;
11773|      0|    }
11774|  15.1k|    new_len = left_len + right_len;
11775|       |
11776|  15.1k|    if (_PyUnicode_IsModifiable(left)
  ------------------
  |  Branch (11776:9): [True: 15.0k, False: 62]
  ------------------
11777|  15.1k|        && PyUnicode_CheckExact(right)
  ------------------
  |  |  104|  15.0k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  30.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  15.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  15.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 15.0k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11778|  30.1k|        && PyUnicode_KIND(right) <= PyUnicode_KIND(left)
  ------------------
  |  |  258|  15.0k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  30.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 15.0k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      && PyUnicode_KIND(right) <= PyUnicode_KIND(left)
  ------------------
  |  |  258|  15.0k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  30.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 15.0k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11778:12): [True: 14.9k, False: 62]
  ------------------
11779|       |        /* Don't resize for ascii += latin1. Convert ascii to latin1 requires
11780|       |           to change the structure size, but characters are stored just after
11781|       |           the structure, and so it requires to move all characters which is
11782|       |           not so different than duplicating the string. */
11783|  14.9k|        && !(PyUnicode_IS_ASCII(left) && !PyUnicode_IS_ASCII(right)))
  ------------------
  |  |  227|  29.9k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 10.7k, False: 4.19k]
  |  |  ------------------
  ------------------
                      && !(PyUnicode_IS_ASCII(left) && !PyUnicode_IS_ASCII(right)))
  ------------------
  |  |  227|  10.7k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_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 (11783:42): [True: 465, False: 10.3k]
  ------------------
11784|  14.5k|    {
11785|       |        /* append inplace */
11786|  14.5k|        if (unicode_resize(p_left, new_len) != 0)
  ------------------
  |  Branch (11786:13): [True: 0, False: 14.5k]
  ------------------
11787|      0|            goto error;
11788|       |
11789|       |        /* copy 'right' into the newly allocated area of 'left' */
11790|  14.5k|        _PyUnicode_FastCopyCharacters(*p_left, left_len, right, 0, right_len);
11791|  14.5k|    }
11792|    589|    else {
11793|    589|        maxchar = PyUnicode_MAX_CHAR_VALUE(left);
  ------------------
  |  |  405|    589|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    589|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    589|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11794|    589|        maxchar2 = PyUnicode_MAX_CHAR_VALUE(right);
  ------------------
  |  |  405|    589|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    589|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    589|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11795|    589|        maxchar = Py_MAX(maxchar, maxchar2);
  ------------------
  |  |  115|    589|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 589]
  |  |  ------------------
  ------------------
11796|       |
11797|       |        /* Concat the two Unicode strings */
11798|    589|        res = PyUnicode_New(new_len, maxchar);
11799|    589|        if (res == NULL)
  ------------------
  |  Branch (11799:13): [True: 0, False: 589]
  ------------------
11800|      0|            goto error;
11801|    589|        _PyUnicode_FastCopyCharacters(res, 0, left, 0, left_len);
11802|    589|        _PyUnicode_FastCopyCharacters(res, left_len, right, 0, right_len);
11803|    589|        Py_DECREF(left);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11804|    589|        *p_left = res;
11805|    589|    }
11806|  15.1k|    assert(_PyUnicode_CheckConsistency(*p_left, 1));
  ------------------
  |  Branch (11806:5): [True: 15.1k, False: 0]
  ------------------
11807|  15.1k|    return;
11808|       |
11809|  15.1k|error:
11810|       |    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]
  |  |  ------------------
  ------------------
11811|      0|}
_PyUnicode_ScanIdentifier:
12490|  96.1k|{
12491|  96.1k|    Py_ssize_t i;
12492|  96.1k|    Py_ssize_t len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|  96.1k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  96.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  96.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12493|  96.1k|    if (len == 0) {
  ------------------
  |  Branch (12493:9): [True: 0, False: 96.1k]
  ------------------
12494|       |        /* an empty string is not a valid identifier */
12495|      0|        return 0;
12496|      0|    }
12497|       |
12498|  96.1k|    int kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|  96.1k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   192k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 96.1k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12499|  96.1k|    const void *data = PyUnicode_DATA(self);
  ------------------
  |  |  284|  96.1k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  96.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  96.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12500|  96.1k|    Py_UCS4 ch = PyUnicode_READ(kind, data, 0);
  ------------------
  |  |  354|  96.1k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  96.1k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  96.1k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  96.1k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  96.1k|                   (index))
  ------------------
12501|       |    /* PEP 3131 says that the first character must be in
12502|       |       XID_Start and subsequent characters in XID_Continue,
12503|       |       and for the ASCII range, the 2.x rules apply (i.e
12504|       |       start with letters and underscore, continue with
12505|       |       letters, digits, underscore). However, given the current
12506|       |       definition of XID_Start and XID_Continue, it is sufficient
12507|       |       to check just for these, except that _ must be allowed
12508|       |       as starting an identifier.  */
12509|  96.1k|    if (!_PyUnicode_IsXidStart(ch) && ch != 0x5F /* LOW LINE */) {
  ------------------
  |  Branch (12509:9): [True: 23.1k, False: 73.0k]
  |  Branch (12509:39): [True: 217, False: 22.9k]
  ------------------
12510|    217|        return 0;
12511|    217|    }
12512|       |
12513|  1.05M|    for (i = 1; i < len; i++) {
  ------------------
  |  Branch (12513:17): [True: 963k, False: 95.8k]
  ------------------
12514|   963k|        ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|   963k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   963k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   963k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   963k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   963k|                   (index))
  ------------------
12515|   963k|        if (!_PyUnicode_IsXidContinue(ch)) {
  ------------------
  |  Branch (12515:13): [True: 135, False: 963k]
  ------------------
12516|    135|            return i;
12517|    135|        }
12518|   963k|    }
12519|  95.8k|    return i;
12520|  95.9k|}
PyUnicode_IsIdentifier:
12524|     73|{
12525|     73|    Py_ssize_t i = _PyUnicode_ScanIdentifier(self);
12526|     73|    Py_ssize_t len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|     73|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     73|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     73|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12527|       |    /* an empty string is not a valid identifier */
12528|     73|    return len && i == len;
  ------------------
  |  Branch (12528:12): [True: 73, False: 0]
  |  Branch (12528:19): [True: 73, False: 0]
  ------------------
12529|     73|}
_PyUnicode_XStrip:
12659|  4.77k|{
12660|  4.77k|    const void *data;
12661|  4.77k|    int kind;
12662|  4.77k|    Py_ssize_t i, j, len;
12663|  4.77k|    BLOOM_MASK sepmask;
  ------------------
  |  |  909|  4.77k|#define BLOOM_MASK unsigned long
  ------------------
12664|  4.77k|    Py_ssize_t seplen;
12665|       |
12666|  4.77k|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|  4.77k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  9.54k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 4.77k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12667|  4.77k|    data = PyUnicode_DATA(self);
  ------------------
  |  |  284|  4.77k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.77k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.77k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12668|  4.77k|    len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|  4.77k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.77k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.77k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12669|  4.77k|    seplen = PyUnicode_GET_LENGTH(sepobj);
  ------------------
  |  |  299|  4.77k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.77k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.77k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12670|  4.77k|    sepmask = make_bloom_mask(PyUnicode_KIND(sepobj),
  ------------------
  |  |  258|  4.77k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  9.54k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 4.77k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12671|  4.77k|                              PyUnicode_DATA(sepobj),
  ------------------
  |  |  284|  4.77k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.77k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.77k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12672|  4.77k|                              seplen);
12673|       |
12674|      0|    i = 0;
12675|  4.77k|    if (striptype != RIGHTSTRIP) {
  ------------------
  |  |12648|  4.77k|#define RIGHTSTRIP 1
  ------------------
  |  Branch (12675:9): [True: 1, False: 4.77k]
  ------------------
12676|      2|        while (i < len) {
  ------------------
  |  Branch (12676:16): [True: 1, False: 1]
  ------------------
12677|      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))
  ------------------
12678|      1|            if (!BLOOM(sepmask, ch))
  ------------------
  |  |  913|      1|#define BLOOM(mask, ch)     ((mask &  (1UL << ((ch) & (BLOOM_WIDTH - 1)))))
  |  |  ------------------
  |  |  |  |  902|      1|#define BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (12678:17): [True: 0, False: 1]
  ------------------
12679|      0|                break;
12680|      1|            if (PyUnicode_FindChar(sepobj, ch, 0, seplen, 1) < 0)
  ------------------
  |  Branch (12680:17): [True: 0, False: 1]
  ------------------
12681|      0|                break;
12682|      1|            i++;
12683|      1|        }
12684|      1|    }
12685|       |
12686|  4.77k|    j = len;
12687|  4.77k|    if (striptype != LEFTSTRIP) {
  ------------------
  |  |12647|  4.77k|#define LEFTSTRIP 0
  ------------------
  |  Branch (12687:9): [True: 4.77k, False: 1]
  ------------------
12688|  4.77k|        j--;
12689|  4.77k|        while (j >= i) {
  ------------------
  |  Branch (12689:16): [True: 4.77k, False: 0]
  ------------------
12690|  4.77k|            Py_UCS4 ch = PyUnicode_READ(kind, data, j);
  ------------------
  |  |  354|  4.77k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  4.77k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  4.77k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  4.77k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  4.77k|                   (index))
  ------------------
12691|  4.77k|            if (!BLOOM(sepmask, ch))
  ------------------
  |  |  913|  4.77k|#define BLOOM(mask, ch)     ((mask &  (1UL << ((ch) & (BLOOM_WIDTH - 1)))))
  |  |  ------------------
  |  |  |  |  902|  4.77k|#define BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (12691:17): [True: 3.01k, False: 1.76k]
  ------------------
12692|  3.01k|                break;
12693|  1.76k|            if (PyUnicode_FindChar(sepobj, ch, 0, seplen, 1) < 0)
  ------------------
  |  Branch (12693:17): [True: 1.75k, False: 4]
  ------------------
12694|  1.75k|                break;
12695|      4|            j--;
12696|      4|        }
12697|       |
12698|  4.77k|        j++;
12699|  4.77k|    }
12700|       |
12701|  4.77k|    return PyUnicode_Substring(self, i, j);
12702|  4.77k|}
_PyUnicode_BinarySlice:
12706|   424k|{
12707|   424k|    assert(PyUnicode_CheckExact(container));
  ------------------
  |  Branch (12707:5): [True: 424k, False: 0]
  ------------------
12708|   424k|    Py_ssize_t len = PyUnicode_GET_LENGTH(container);
  ------------------
  |  |  299|   424k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   424k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   424k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12709|   424k|    Py_ssize_t istart, istop;
12710|   424k|    if (!_PyEval_UnpackIndices(start_o, stop_o, len, &istart, &istop)) {
  ------------------
  |  Branch (12710:9): [True: 0, False: 424k]
  ------------------
12711|      0|        return NULL;
12712|      0|    }
12713|   424k|    return PyUnicode_Substring(container, istart, istop);
12714|   424k|}
PyUnicode_Substring:
12718|   454k|{
12719|   454k|    const unsigned char *data;
12720|   454k|    int kind;
12721|   454k|    Py_ssize_t length;
12722|       |
12723|   454k|    length = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|   454k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   454k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   454k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12724|   454k|    end = Py_MIN(end, length);
  ------------------
  |  |  112|   454k|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 454k]
  |  |  ------------------
  ------------------
12725|       |
12726|   454k|    if (start == 0 && end == length)
  ------------------
  |  Branch (12726:9): [True: 271k, False: 182k]
  |  Branch (12726:23): [True: 95.5k, False: 176k]
  ------------------
12727|  95.5k|        return unicode_result_unchanged(self);
12728|       |
12729|   358k|    if (start < 0 || end < 0) {
  ------------------
  |  Branch (12729:9): [True: 0, False: 358k]
  |  Branch (12729:22): [True: 0, False: 358k]
  ------------------
12730|      0|        PyErr_SetString(PyExc_IndexError, "string index out of range");
12731|      0|        return NULL;
12732|      0|    }
12733|   358k|    if (start >= length || end < start)
  ------------------
  |  Branch (12733:9): [True: 35.5k, False: 323k]
  |  Branch (12733:28): [True: 0, False: 323k]
  ------------------
12734|  35.5k|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|  35.5k|    do {                             \
  |  |  380|  35.5k|        return _PyUnicode_GetEmpty();\
  |  |  381|  35.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
12735|       |
12736|   323k|    length = end - start;
12737|   323k|    if (PyUnicode_IS_ASCII(self)) {
  ------------------
  |  |  227|   323k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   323k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   323k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 15.0k, False: 308k]
  |  |  ------------------
  ------------------
12738|  15.0k|        data = PyUnicode_1BYTE_DATA(self);
  ------------------
  |  |  291|  15.0k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  15.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12739|  15.0k|        return _PyUnicode_FromASCII((const char*)(data + start), length);
12740|  15.0k|    }
12741|   308k|    else {
12742|   308k|        kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|   308k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   616k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 308k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12743|   308k|        data = PyUnicode_1BYTE_DATA(self);
  ------------------
  |  |  291|   308k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   308k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12744|   308k|        return PyUnicode_FromKindAndData(kind,
12745|   308k|                                         data + kind * start,
12746|   308k|                                         length);
12747|   308k|    }
12748|   323k|}
_PyUnicode_Repeat:
12891|  12.6k|{
12892|  12.6k|    PyObject *u;
12893|  12.6k|    Py_ssize_t nchars, n;
12894|       |
12895|  12.6k|    if (len < 1)
  ------------------
  |  Branch (12895:9): [True: 251, False: 12.3k]
  ------------------
12896|    251|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|    251|    do {                             \
  |  |  380|    251|        return _PyUnicode_GetEmpty();\
  |  |  381|    251|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
12897|       |
12898|       |    /* no repeat, return original string */
12899|  12.3k|    if (len == 1)
  ------------------
  |  Branch (12899:9): [True: 2.17k, False: 10.2k]
  ------------------
12900|  2.17k|        return unicode_result_unchanged(str);
12901|       |
12902|  10.2k|    if (PyUnicode_GET_LENGTH(str) > PY_SSIZE_T_MAX / len) {
  ------------------
  |  |  299|  10.2k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyUnicode_GET_LENGTH(str) > PY_SSIZE_T_MAX / len) {
  ------------------
  |  |  137|  10.2k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (12902:9): [True: 0, False: 10.2k]
  ------------------
12903|      0|        PyErr_SetString(PyExc_OverflowError,
12904|      0|                        "repeated string is too long");
12905|      0|        return NULL;
12906|      0|    }
12907|  10.2k|    nchars = len * PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|  10.2k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12908|       |
12909|  10.2k|    u = PyUnicode_New(nchars, PyUnicode_MAX_CHAR_VALUE(str));
  ------------------
  |  |  405|  10.2k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12910|  10.2k|    if (!u)
  ------------------
  |  Branch (12910:9): [True: 0, False: 10.2k]
  ------------------
12911|      0|        return NULL;
12912|  10.2k|    assert(PyUnicode_KIND(u) == PyUnicode_KIND(str));
  ------------------
  |  Branch (12912:5): [True: 10.2k, False: 0]
  |  Branch (12912:5): [True: 10.2k, False: 0]
  |  Branch (12912:5): [True: 10.2k, False: 0]
  ------------------
12913|       |
12914|  10.2k|    if (PyUnicode_GET_LENGTH(str) == 1) {
  ------------------
  |  |  299|  10.2k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12914:9): [True: 2.60k, False: 7.62k]
  ------------------
12915|  2.60k|        int kind = PyUnicode_KIND(str);
  ------------------
  |  |  258|  2.60k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  5.20k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 2.60k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12916|  2.60k|        Py_UCS4 fill_char = PyUnicode_READ(kind, PyUnicode_DATA(str), 0);
  ------------------
  |  |  354|  2.60k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  2.60k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  2.60k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  2.60k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  2.60k|                   (index))
  ------------------
12917|  2.60k|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (12917:13): [True: 2.32k, False: 280]
  ------------------
12918|  2.32k|            void *to = PyUnicode_DATA(u);
  ------------------
  |  |  284|  2.32k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12919|  2.32k|            memset(to, (unsigned char)fill_char, len);
12920|  2.32k|        }
12921|    280|        else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (12921:18): [True: 236, False: 44]
  ------------------
12922|    236|            Py_UCS2 *ucs2 = PyUnicode_2BYTE_DATA(u);
  ------------------
  |  |  292|    236|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    236|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12923|    801|            for (n = 0; n < len; ++n)
  ------------------
  |  Branch (12923:25): [True: 565, False: 236]
  ------------------
12924|    565|                ucs2[n] = fill_char;
12925|    236|        } else {
12926|     44|            Py_UCS4 *ucs4 = PyUnicode_4BYTE_DATA(u);
  ------------------
  |  |  293|     44|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     44|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12927|     44|            assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (12927:13): [True: 44, False: 0]
  ------------------
12928|  8.99k|            for (n = 0; n < len; ++n)
  ------------------
  |  Branch (12928:25): [True: 8.94k, False: 44]
  ------------------
12929|  8.94k|                ucs4[n] = fill_char;
12930|     44|        }
12931|  2.60k|    }
12932|  7.62k|    else {
12933|  7.62k|        Py_ssize_t char_size = PyUnicode_KIND(str);
  ------------------
  |  |  258|  7.62k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  15.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 7.62k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12934|  7.62k|        char *to = (char *) PyUnicode_DATA(u);
  ------------------
  |  |  284|  7.62k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12935|  7.62k|        _PyBytes_RepeatBuffer(to, nchars * char_size, PyUnicode_DATA(str),
  ------------------
  |  |  284|  7.62k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12936|  7.62k|            PyUnicode_GET_LENGTH(str) * char_size);
  ------------------
  |  |  299|  7.62k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12937|  7.62k|    }
12938|       |
12939|  10.2k|    assert(_PyUnicode_CheckConsistency(u, 1));
  ------------------
  |  Branch (12939:5): [True: 10.2k, False: 0]
  ------------------
12940|  10.2k|    return u;
12941|  10.2k|}
PyUnicode_Replace:
12948|  45.9k|{
12949|  45.9k|    if (ensure_unicode(str) < 0 || ensure_unicode(substr) < 0 ||
  ------------------
  |  |  109|  45.9k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
                  if (ensure_unicode(str) < 0 || ensure_unicode(substr) < 0 ||
  ------------------
  |  |  109|  45.9k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (12949:9): [True: 0, False: 45.9k]
  |  Branch (12949:36): [True: 0, False: 45.9k]
  ------------------
12950|  45.9k|            ensure_unicode(replstr) < 0)
  ------------------
  |  |  109|  45.9k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (12950:13): [True: 0, False: 45.9k]
  ------------------
12951|      0|        return NULL;
12952|  45.9k|    return replace(str, substr, replstr, maxcount);
12953|  45.9k|}
PyUnicode_RPartition:
13298|  1.14k|{
13299|  1.14k|    PyObject* out;
13300|  1.14k|    int kind1, kind2;
13301|  1.14k|    const void *buf1, *buf2;
13302|  1.14k|    Py_ssize_t len1, len2;
13303|       |
13304|  1.14k|    if (ensure_unicode(str_obj) < 0 || ensure_unicode(sep_obj) < 0)
  ------------------
  |  |  109|  1.14k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
                  if (ensure_unicode(str_obj) < 0 || ensure_unicode(sep_obj) < 0)
  ------------------
  |  |  109|  1.14k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (13304:9): [True: 0, False: 1.14k]
  |  Branch (13304:40): [True: 0, False: 1.14k]
  ------------------
13305|      0|        return NULL;
13306|       |
13307|  1.14k|    kind1 = PyUnicode_KIND(str_obj);
  ------------------
  |  |  258|  1.14k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  2.28k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1.14k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13308|  1.14k|    kind2 = PyUnicode_KIND(sep_obj);
  ------------------
  |  |  258|  1.14k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  2.28k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1.14k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13309|  1.14k|    len1 = PyUnicode_GET_LENGTH(str_obj);
  ------------------
  |  |  299|  1.14k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13310|  1.14k|    len2 = PyUnicode_GET_LENGTH(sep_obj);
  ------------------
  |  |  299|  1.14k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13311|  1.14k|    if (kind1 < kind2 || len1 < len2) {
  ------------------
  |  Branch (13311:9): [True: 0, False: 1.14k]
  |  Branch (13311:26): [True: 0, False: 1.14k]
  ------------------
13312|      0|        PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
13313|      0|        return PyTuple_Pack(3, empty, empty, str_obj);
13314|      0|    }
13315|  1.14k|    buf1 = PyUnicode_DATA(str_obj);
  ------------------
  |  |  284|  1.14k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13316|  1.14k|    buf2 = PyUnicode_DATA(sep_obj);
  ------------------
  |  |  284|  1.14k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13317|  1.14k|    if (kind2 != kind1) {
  ------------------
  |  Branch (13317:9): [True: 0, False: 1.14k]
  ------------------
13318|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
13319|      0|        if (!buf2)
  ------------------
  |  Branch (13319:13): [True: 0, False: 0]
  ------------------
13320|      0|            return NULL;
13321|      0|    }
13322|       |
13323|  1.14k|    switch (kind1) {
13324|  1.14k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (13324:5): [True: 1.14k, False: 0]
  ------------------
13325|  1.14k|        if (PyUnicode_IS_ASCII(str_obj) && PyUnicode_IS_ASCII(sep_obj))
  ------------------
  |  |  227|  2.28k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 1.14k, False: 0]
  |  |  ------------------
  ------------------
                      if (PyUnicode_IS_ASCII(str_obj) && PyUnicode_IS_ASCII(sep_obj))
  ------------------
  |  |  227|  1.14k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 1.14k, False: 0]
  |  |  ------------------
  ------------------
13326|  1.14k|            out = asciilib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
13327|      0|        else
13328|      0|            out = ucs1lib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
13329|  1.14k|        break;
13330|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (13330:5): [True: 0, False: 1.14k]
  ------------------
13331|      0|        out = ucs2lib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
13332|      0|        break;
13333|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (13333:5): [True: 0, False: 1.14k]
  ------------------
13334|      0|        out = ucs4lib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
13335|      0|        break;
13336|      0|    default:
  ------------------
  |  Branch (13336:5): [True: 0, False: 1.14k]
  ------------------
13337|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
13338|  1.14k|    }
13339|       |
13340|  1.14k|    assert((kind2 == kind1) == (buf2 == PyUnicode_DATA(sep_obj)));
  ------------------
  |  Branch (13340:5): [True: 1.14k, False: 0]
  ------------------
13341|  1.14k|    if (kind2 != kind1)
  ------------------
  |  Branch (13341:9): [True: 0, False: 1.14k]
  ------------------
13342|      0|        PyMem_Free((void *)buf2);
13343|       |
13344|  1.14k|    return out;
13345|  1.14k|}
_PyUnicode_ExactDealloc:
14396|  1.70M|{
14397|  1.70M|    assert(PyUnicode_CheckExact(op));
  ------------------
  |  Branch (14397:5): [True: 1.70M, False: 0]
  ------------------
14398|  1.70M|    unicode_dealloc(op);
14399|  1.70M|}
_PyUnicode_InitState:
14491|      2|{
14492|      2|    if (!_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (14492:9): [True: 0, False: 2]
  ------------------
14493|      0|        return;
14494|      0|    }
14495|      2|    _init_global_state();
14496|      2|}
_PyUnicode_InitGlobalObjects:
14501|      2|{
14502|      2|    if (_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (14502:9): [True: 2, False: 0]
  ------------------
14503|      2|        PyStatus status = init_global_interned_strings(interp);
14504|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
14505|      0|            return status;
14506|      0|        }
14507|      2|    }
14508|      2|    assert(INTERNED_STRINGS);
  ------------------
  |  Branch (14508:5): [True: 2, False: 0]
  ------------------
14509|       |
14510|      2|    if (init_interned_dict(interp)) {
  ------------------
  |  Branch (14510:9): [True: 0, False: 2]
  ------------------
14511|      0|        PyErr_Clear();
14512|      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)}
  ------------------
14513|      0|    }
14514|       |
14515|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
14516|      2|}
_PyUnicode_InitTypes:
14521|      2|{
14522|      2|    if (_PyStaticType_InitBuiltin(interp, &EncodingMapType) < 0) {
  ------------------
  |  Branch (14522:9): [True: 0, False: 2]
  ------------------
14523|      0|        goto error;
14524|      0|    }
14525|      2|    if (_PyStaticType_InitBuiltin(interp, &PyFieldNameIter_Type) < 0) {
  ------------------
  |  Branch (14525:9): [True: 0, False: 2]
  ------------------
14526|      0|        goto error;
14527|      0|    }
14528|      2|    if (_PyStaticType_InitBuiltin(interp, &PyFormatterIter_Type) < 0) {
  ------------------
  |  Branch (14528:9): [True: 0, False: 2]
  ------------------
14529|      0|        goto error;
14530|      0|    }
14531|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
14532|       |
14533|      0|error:
14534|      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)}
  ------------------
14535|      2|}
_PyUnicode_InternStatic:
14578|  2.24k|{
14579|       |    // This should only be called as part of runtime initialization
14580|  2.24k|    assert(!Py_IsInitialized());
  ------------------
  |  Branch (14580:5): [True: 2.24k, False: 0]
  ------------------
14581|       |
14582|  2.24k|    *p = intern_static(interp, *p);
14583|       |    assert(*p);
  ------------------
  |  Branch (14583:5): [True: 2.24k, False: 0]
  ------------------
14584|  2.24k|}
_PyUnicode_InternImmortal:
14801|   495k|{
14802|   495k|    *p = intern_common(interp, *p, 1);
14803|       |    assert(*p);
  ------------------
  |  Branch (14803:5): [True: 495k, False: 0]
  ------------------
14804|   495k|}
_PyUnicode_InternMortal:
14808|  2.82M|{
14809|  2.82M|    *p = intern_common(interp, *p, 0);
14810|       |    assert(*p);
  ------------------
  |  Branch (14810:5): [True: 2.82M, False: 0]
  ------------------
14811|  2.82M|}
PyUnicode_InternFromString:
14839|  21.3k|{
14840|  21.3k|    PyObject *s = PyUnicode_FromString(cp);
14841|  21.3k|    if (s == NULL) {
  ------------------
  |  Branch (14841:9): [True: 0, False: 21.3k]
  ------------------
14842|      0|        return NULL;
14843|      0|    }
14844|  21.3k|    PyInterpreterState *interp = _PyInterpreterState_GET();
14845|  21.3k|    _PyUnicode_InternMortal(interp, &s);
14846|  21.3k|    return s;
14847|  21.3k|}
_PyUnicode_InitEncodings:
15301|      2|{
15302|      2|    PyStatus status = _PyCodec_InitRegistry(tstate->interp);
15303|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
15304|      0|        return status;
15305|      0|    }
15306|      2|    status = init_fs_encoding(tstate);
15307|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
15308|      0|        return status;
15309|      0|    }
15310|       |
15311|      2|    return init_stdio_encoding(tstate->interp);
15312|      2|}
unicodeobject.c:get_interned_dict:
  216|   225k|{
  217|   225k|    return _Py_INTERP_CACHED_OBJECT(interp, interned_strings);
  ------------------
  |  |   22|   225k|    (interp)->cached_objects.NAME
  ------------------
  218|   225k|}
unicodeobject.c:_PyUnicode_UTF8:
  118|   105M|{
  119|   105M|    return FT_ATOMIC_LOAD_PTR_ACQUIRE(_PyCompactUnicodeObject_CAST(op)->utf8);
  ------------------
  |  |  150|   315M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |  |  Branch (150:43): [True: 105M, False: 0]
  |  |  ------------------
  ------------------
  120|   105M|}
unicodeobject.c:_PyUnicode_HAS_UTF8_MEMORY:
  181|  23.6M|{
  182|  23.6M|    return (!PyUnicode_IS_COMPACT_ASCII(op)
  ------------------
  |  |  241|  47.2M|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  23.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (182:13): [True: 21.0M, False: 2.51M]
  ------------------
  183|  21.0M|            && _PyUnicode_UTF8(op) != NULL
  ------------------
  |  Branch (183:16): [True: 11.0k, False: 21.0M]
  ------------------
  184|  11.0k|            && _PyUnicode_UTF8(op) != PyUnicode_DATA(op));
  ------------------
  |  |  284|  11.0k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (184:16): [True: 11.0k, False: 0]
  ------------------
  185|  23.6M|}
unicodeobject.c:PyUnicode_SET_UTF8_LENGTH:
  150|  11.0k|{
  151|  11.0k|    _PyCompactUnicodeObject_CAST(op)->utf8_length = length;
  ------------------
  |  |  189|  11.0k|    (assert(PyUnicode_Check(op)), \
  |  |  190|  11.0k|     _Py_CAST(PyCompactUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  11.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (151:5): [True: 11.0k, False: 0]
  ------------------
  152|  11.0k|}
unicodeobject.c:PyUnicode_SET_UTF8:
  134|  11.0k|{
  135|  11.0k|    FT_ATOMIC_STORE_PTR_RELEASE(_PyCompactUnicodeObject_CAST(op)->utf8, utf8);
  ------------------
  |  |  164|  22.1k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |  |  Branch (164:55): [True: 11.0k, False: 0]
  |  |  ------------------
  ------------------
  136|  11.0k|}
unicodeobject.c:_copy_characters:
 1386|  1.50M|{
 1387|  1.50M|    int from_kind, to_kind;
 1388|  1.50M|    const void *from_data;
 1389|  1.50M|    void *to_data;
 1390|       |
 1391|  1.50M|    assert(0 <= how_many);
  ------------------
  |  Branch (1391:5): [True: 1.50M, False: 0]
  ------------------
 1392|  1.50M|    assert(0 <= from_start);
  ------------------
  |  Branch (1392:5): [True: 1.50M, False: 0]
  ------------------
 1393|  1.50M|    assert(0 <= to_start);
  ------------------
  |  Branch (1393:5): [True: 1.50M, False: 0]
  ------------------
 1394|  1.50M|    assert(PyUnicode_Check(from));
  ------------------
  |  Branch (1394:5): [True: 1.50M, False: 0]
  ------------------
 1395|  1.50M|    assert(from_start + how_many <= PyUnicode_GET_LENGTH(from));
  ------------------
  |  Branch (1395:5): [True: 1.50M, False: 0]
  ------------------
 1396|       |
 1397|  1.50M|    assert(to == NULL || PyUnicode_Check(to));
  ------------------
  |  Branch (1397:5): [True: 0, False: 1.50M]
  |  Branch (1397:5): [True: 1.50M, False: 0]
  ------------------
 1398|       |
 1399|  1.50M|    if (how_many == 0) {
  ------------------
  |  Branch (1399:9): [True: 8.43k, False: 1.49M]
  ------------------
 1400|  8.43k|        return 0;
 1401|  8.43k|    }
 1402|       |
 1403|  1.50M|    assert(to != NULL);
  ------------------
  |  Branch (1403:5): [True: 1.49M, False: 0]
  ------------------
 1404|  1.49M|    assert(to_start + how_many <= PyUnicode_GET_LENGTH(to));
  ------------------
  |  Branch (1404:5): [True: 1.49M, False: 0]
  ------------------
 1405|       |
 1406|  1.49M|    from_kind = PyUnicode_KIND(from);
  ------------------
  |  |  258|  1.49M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  2.99M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1.49M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1407|  1.49M|    from_data = PyUnicode_DATA(from);
  ------------------
  |  |  284|  1.49M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1408|  1.49M|    to_kind = PyUnicode_KIND(to);
  ------------------
  |  |  258|  1.49M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  2.99M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1.49M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1409|  1.49M|    to_data = PyUnicode_DATA(to);
  ------------------
  |  |  284|  1.49M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.49M|#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|  1.49M|    if (from_kind == to_kind) {
  ------------------
  |  Branch (1425:9): [True: 1.23M, False: 264k]
  ------------------
 1426|  1.23M|        if (check_maxchar
  ------------------
  |  Branch (1426:13): [True: 0, False: 1.23M]
  ------------------
 1427|      0|            && !PyUnicode_IS_ASCII(from) && PyUnicode_IS_ASCII(to))
  ------------------
  |  |  227|  1.23M|#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|  1.23M|        memcpy((char*)to_data + to_kind * to_start,
 1438|  1.23M|                  (const char*)from_data + from_kind * from_start,
 1439|  1.23M|                  to_kind * how_many);
 1440|  1.23M|    }
 1441|   264k|    else if (from_kind == PyUnicode_1BYTE_KIND
  ------------------
  |  Branch (1441:14): [True: 257k, False: 7.37k]
  ------------------
 1442|   257k|             && to_kind == PyUnicode_2BYTE_KIND)
  ------------------
  |  Branch (1442:17): [True: 185k, False: 72.2k]
  ------------------
 1443|   185k|    {
 1444|   185k|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|   185k|    do {                                                \
  |  |   46|   185k|        to_type *_to = (to_type *)(to);                 \
  |  |   47|   185k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|   185k|        const from_type *_end = (const from_type *)(end);\
  |  |   49|   185k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|   185k|        const from_type *_unrolled_end =                \
  |  |   51|   185k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|   185k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|   637k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 452k, False: 185k]
  |  |  ------------------
  |  |   53|   452k|            _to[0] = (to_type) _iter[0];                \
  |  |   54|   452k|            _to[1] = (to_type) _iter[1];                \
  |  |   55|   452k|            _to[2] = (to_type) _iter[2];                \
  |  |   56|   452k|            _to[3] = (to_type) _iter[3];                \
  |  |   57|   452k|            _iter += 4; _to += 4;                       \
  |  |   58|   452k|        }                                               \
  |  |   59|   407k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 222k, False: 185k]
  |  |  ------------------
  |  |   60|   222k|            *_to++ = (to_type) *_iter++;                \
  |  |   61|   185k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 185k]
  |  |  ------------------
  ------------------
 1445|   185k|            Py_UCS1, Py_UCS2,
 1446|   185k|            PyUnicode_1BYTE_DATA(from) + from_start,
 1447|   185k|            PyUnicode_1BYTE_DATA(from) + from_start + how_many,
 1448|   185k|            PyUnicode_2BYTE_DATA(to) + to_start
 1449|   185k|            );
 1450|   185k|    }
 1451|  79.6k|    else if (from_kind == PyUnicode_1BYTE_KIND
  ------------------
  |  Branch (1451:14): [True: 72.2k, False: 7.37k]
  ------------------
 1452|  72.2k|             && to_kind == PyUnicode_4BYTE_KIND)
  ------------------
  |  Branch (1452:17): [True: 72.2k, False: 0]
  ------------------
 1453|  72.2k|    {
 1454|  72.2k|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|  72.2k|    do {                                                \
  |  |   46|  72.2k|        to_type *_to = (to_type *)(to);                 \
  |  |   47|  72.2k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|  72.2k|        const from_type *_end = (const from_type *)(end);\
  |  |   49|  72.2k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|  72.2k|        const from_type *_unrolled_end =                \
  |  |   51|  72.2k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|  72.2k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|   217k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 145k, False: 72.2k]
  |  |  ------------------
  |  |   53|   145k|            _to[0] = (to_type) _iter[0];                \
  |  |   54|   145k|            _to[1] = (to_type) _iter[1];                \
  |  |   55|   145k|            _to[2] = (to_type) _iter[2];                \
  |  |   56|   145k|            _to[3] = (to_type) _iter[3];                \
  |  |   57|   145k|            _iter += 4; _to += 4;                       \
  |  |   58|   145k|        }                                               \
  |  |   59|   156k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 83.9k, False: 72.2k]
  |  |  ------------------
  |  |   60|  83.9k|            *_to++ = (to_type) *_iter++;                \
  |  |   61|  72.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 72.2k]
  |  |  ------------------
  ------------------
 1455|  72.2k|            Py_UCS1, Py_UCS4,
 1456|  72.2k|            PyUnicode_1BYTE_DATA(from) + from_start,
 1457|  72.2k|            PyUnicode_1BYTE_DATA(from) + from_start + how_many,
 1458|  72.2k|            PyUnicode_4BYTE_DATA(to) + to_start
 1459|  72.2k|            );
 1460|  72.2k|    }
 1461|  7.37k|    else if (from_kind == PyUnicode_2BYTE_KIND
  ------------------
  |  Branch (1461:14): [True: 7.37k, False: 0]
  ------------------
 1462|  7.37k|             && to_kind == PyUnicode_4BYTE_KIND)
  ------------------
  |  Branch (1462:17): [True: 7.37k, False: 0]
  ------------------
 1463|  7.37k|    {
 1464|  7.37k|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|  7.37k|    do {                                                \
  |  |   46|  7.37k|        to_type *_to = (to_type *)(to);                 \
  |  |   47|  7.37k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|  7.37k|        const from_type *_end = (const from_type *)(end);\
  |  |   49|  7.37k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|  7.37k|        const from_type *_unrolled_end =                \
  |  |   51|  7.37k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|  7.37k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|   126k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 119k, False: 7.37k]
  |  |  ------------------
  |  |   53|   119k|            _to[0] = (to_type) _iter[0];                \
  |  |   54|   119k|            _to[1] = (to_type) _iter[1];                \
  |  |   55|   119k|            _to[2] = (to_type) _iter[2];                \
  |  |   56|   119k|            _to[3] = (to_type) _iter[3];                \
  |  |   57|   119k|            _iter += 4; _to += 4;                       \
  |  |   58|   119k|        }                                               \
  |  |   59|  15.8k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 8.51k, False: 7.37k]
  |  |  ------------------
  |  |   60|  8.51k|            *_to++ = (to_type) *_iter++;                \
  |  |   61|  7.37k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 7.37k]
  |  |  ------------------
  ------------------
 1465|  7.37k|            Py_UCS2, Py_UCS4,
 1466|  7.37k|            PyUnicode_2BYTE_DATA(from) + from_start,
 1467|  7.37k|            PyUnicode_2BYTE_DATA(from) + from_start + how_many,
 1468|  7.37k|            PyUnicode_4BYTE_DATA(to) + to_start
 1469|  7.37k|            );
 1470|  7.37k|    }
 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|  1.49M|    return 0;
 1523|  1.49M|}
unicodeobject.c:unicode_check_modifiable:
 1373|    832|{
 1374|    832|    if (!_PyUnicode_IsModifiable(unicode)) {
  ------------------
  |  Branch (1374:9): [True: 0, False: 832]
  ------------------
 1375|      0|        PyErr_SetString(PyExc_SystemError,
 1376|      0|                        "Cannot modify a string currently used");
 1377|      0|        return -1;
 1378|      0|    }
 1379|    832|    return 0;
 1380|    832|}
unicodeobject.c:unicode_resize:
 1757|  14.5k|{
 1758|  14.5k|    PyObject *unicode;
 1759|  14.5k|    Py_ssize_t old_length;
 1760|       |
 1761|  14.5k|    assert(p_unicode != NULL);
  ------------------
  |  Branch (1761:5): [True: 14.5k, False: 0]
  ------------------
 1762|  14.5k|    unicode = *p_unicode;
 1763|       |
 1764|  14.5k|    assert(unicode != NULL);
  ------------------
  |  Branch (1764:5): [True: 14.5k, False: 0]
  ------------------
 1765|  14.5k|    assert(PyUnicode_Check(unicode));
  ------------------
  |  Branch (1765:5): [True: 14.5k, False: 0]
  ------------------
 1766|  14.5k|    assert(0 <= length);
  ------------------
  |  Branch (1766:5): [True: 14.5k, False: 0]
  ------------------
 1767|       |
 1768|  14.5k|    old_length = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|  14.5k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1769|  14.5k|    if (old_length == length)
  ------------------
  |  Branch (1769:9): [True: 0, False: 14.5k]
  ------------------
 1770|      0|        return 0;
 1771|       |
 1772|  14.5k|    if (length == 0) {
  ------------------
  |  Branch (1772:9): [True: 0, False: 14.5k]
  ------------------
 1773|      0|        PyObject *empty = _PyUnicode_GetEmpty();
 1774|      0|        Py_SETREF(*p_unicode, empty);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1775|      0|        return 0;
 1776|      0|    }
 1777|       |
 1778|  14.5k|    if (!_PyUnicode_IsModifiable(unicode)) {
  ------------------
  |  Branch (1778:9): [True: 0, False: 14.5k]
  ------------------
 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);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1783|      0|        return 0;
 1784|      0|    }
 1785|       |
 1786|  14.5k|    if (PyUnicode_IS_COMPACT(unicode)) {
  ------------------
  |  |  234|  14.5k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 14.5k, False: 0]
  |  |  ------------------
  ------------------
 1787|  14.5k|        PyObject *new_unicode = _PyUnicode_ResizeCompact(unicode, length);
 1788|  14.5k|        if (new_unicode == NULL)
  ------------------
  |  Branch (1788:13): [True: 0, False: 14.5k]
  ------------------
 1789|      0|            return -1;
 1790|  14.5k|        *p_unicode = new_unicode;
 1791|  14.5k|        return 0;
 1792|  14.5k|    }
 1793|      0|    return resize_inplace(unicode, length);
 1794|  14.5k|}
unicodeobject.c:get_latin1_char:
 1815|  4.00M|{
 1816|  4.00M|    PyObject *o = LATIN1(ch);
  ------------------
  |  |  188|  4.00M|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  925|  4.00M|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (925:6): [True: 3.71M, False: 289k]
  |  |  |  |  ------------------
  |  |  |  |  926|  4.00M|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  3.71M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  3.71M|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  927|  4.00M|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|   289k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|   289k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1817|  4.00M|    return o;
 1818|  4.00M|}
unicodeobject.c:find_maxchar_surrogates:
 1592|  7.05k|{
 1593|  7.05k|    const wchar_t *iter;
 1594|  7.05k|    Py_UCS4 ch;
 1595|       |
 1596|  7.05k|    assert(num_surrogates != NULL && maxchar != NULL);
  ------------------
  |  Branch (1596:5): [True: 7.05k, False: 0]
  |  Branch (1596:5): [True: 7.05k, False: 0]
  ------------------
 1597|  7.05k|    *num_surrogates = 0;
 1598|  7.05k|    *maxchar = 0;
 1599|       |
 1600|   190k|    for (iter = begin; iter < end; ) {
  ------------------
  |  Branch (1600:24): [True: 183k, False: 7.05k]
  ------------------
 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|   183k|        {
 1613|   183k|            ch = *iter;
 1614|   183k|            iter++;
 1615|   183k|        }
 1616|   183k|        if (ch > *maxchar) {
  ------------------
  |  Branch (1616:13): [True: 30.7k, False: 152k]
  ------------------
 1617|  30.7k|            *maxchar = ch;
 1618|  30.7k|            if (*maxchar > MAX_UNICODE) {
  ------------------
  |  |  108|  30.7k|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|  30.7k|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (1618:17): [True: 0, False: 30.7k]
  ------------------
 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|  30.7k|        }
 1625|   183k|    }
 1626|  7.05k|    return 0;
 1627|  7.05k|}
unicodeobject.c:unicode_write_widechar:
 1851|  7.05k|{
 1852|  7.05k|    switch (kind) {
 1853|  7.05k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (1853:5): [True: 7.05k, False: 0]
  ------------------
 1854|  7.05k|        _PyUnicode_CONVERT_BYTES(wchar_t, unsigned char, u, u + size, data);
  ------------------
  |  |   45|  7.05k|    do {                                                \
  |  |   46|  7.05k|        to_type *_to = (to_type *)(to);                 \
  |  |   47|  7.05k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|  7.05k|        const from_type *_end = (const from_type *)(end);\
  |  |   49|  7.05k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|  7.05k|        const from_type *_unrolled_end =                \
  |  |   51|  7.05k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|  7.05k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|  51.1k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 44.1k, False: 7.05k]
  |  |  ------------------
  |  |   53|  44.1k|            _to[0] = (to_type) _iter[0];                \
  |  |   54|  44.1k|            _to[1] = (to_type) _iter[1];                \
  |  |   55|  44.1k|            _to[2] = (to_type) _iter[2];                \
  |  |   56|  44.1k|            _to[3] = (to_type) _iter[3];                \
  |  |   57|  44.1k|            _iter += 4; _to += 4;                       \
  |  |   58|  44.1k|        }                                               \
  |  |   59|  14.2k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 7.15k, False: 7.05k]
  |  |  ------------------
  |  |   60|  7.15k|            *_to++ = (to_type) *_iter++;                \
  |  |   61|  7.05k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 7.05k]
  |  |  ------------------
  ------------------
 1855|  7.05k|        break;
 1856|       |
 1857|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (1857:5): [True: 0, False: 7.05k]
  ------------------
 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: 7.05k]
  ------------------
 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: 7.05k]
  ------------------
 1897|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1898|  7.05k|    }
 1899|  7.05k|}
unicodeobject.c:_PyUnicode_FromUCS1:
 2161|  35.0k|{
 2162|  35.0k|    PyObject *res;
 2163|  35.0k|    unsigned char max_char;
 2164|       |
 2165|  35.0k|    if (size == 0) {
  ------------------
  |  Branch (2165:9): [True: 267, False: 34.8k]
  ------------------
 2166|    267|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|    267|    do {                             \
  |  |  380|    267|        return _PyUnicode_GetEmpty();\
  |  |  381|    267|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2167|    267|    }
 2168|  35.0k|    assert(size > 0);
  ------------------
  |  Branch (2168:5): [True: 34.8k, False: 0]
  ------------------
 2169|  34.8k|    if (size == 1) {
  ------------------
  |  Branch (2169:9): [True: 3.25k, False: 31.5k]
  ------------------
 2170|  3.25k|        return get_latin1_char(u[0]);
 2171|  3.25k|    }
 2172|       |
 2173|  31.5k|    max_char = ucs1lib_find_max_char(u, u + size);
 2174|  31.5k|    res = PyUnicode_New(size, max_char);
 2175|  31.5k|    if (!res)
  ------------------
  |  Branch (2175:9): [True: 0, False: 31.5k]
  ------------------
 2176|      0|        return NULL;
 2177|  31.5k|    memcpy(PyUnicode_1BYTE_DATA(res), u, size);
  ------------------
  |  |  291|  31.5k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  31.5k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2178|  31.5k|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (2178:5): [True: 31.5k, False: 0]
  ------------------
 2179|  31.5k|    return res;
 2180|  31.5k|}
unicodeobject.c:_PyUnicode_FromUCS2:
 2184|   268k|{
 2185|   268k|    PyObject *res;
 2186|   268k|    Py_UCS2 max_char;
 2187|       |
 2188|   268k|    if (size == 0)
  ------------------
  |  Branch (2188:9): [True: 16.3k, False: 252k]
  ------------------
 2189|  16.3k|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|  16.3k|    do {                             \
  |  |  380|  16.3k|        return _PyUnicode_GetEmpty();\
  |  |  381|  16.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2190|   268k|    assert(size > 0);
  ------------------
  |  Branch (2190:5): [True: 252k, False: 0]
  ------------------
 2191|   252k|    if (size == 1)
  ------------------
  |  Branch (2191:9): [True: 12.4k, False: 240k]
  ------------------
 2192|  12.4k|        return unicode_char(u[0]);
 2193|       |
 2194|   240k|    max_char = ucs2lib_find_max_char(u, u + size);
 2195|   240k|    res = PyUnicode_New(size, max_char);
 2196|   240k|    if (!res)
  ------------------
  |  Branch (2196:9): [True: 0, False: 240k]
  ------------------
 2197|      0|        return NULL;
 2198|   240k|    if (max_char >= 256)
  ------------------
  |  Branch (2198:9): [True: 234k, False: 5.16k]
  ------------------
 2199|   234k|        memcpy(PyUnicode_2BYTE_DATA(res), u, sizeof(Py_UCS2)*size);
  ------------------
  |  |  292|   234k|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   234k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2200|  5.16k|    else {
 2201|  5.16k|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|  5.16k|    do {                                                \
  |  |   46|  5.16k|        to_type *_to = (to_type *)(to);                 \
  |  |   47|  5.16k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|  5.16k|        const from_type *_end = (const from_type *)(end);\
  |  |   49|  5.16k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|  5.16k|        const from_type *_unrolled_end =                \
  |  |   51|  5.16k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|  5.16k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|  20.1k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 14.9k, False: 5.16k]
  |  |  ------------------
  |  |   53|  14.9k|            _to[0] = (to_type) _iter[0];                \
  |  |   54|  14.9k|            _to[1] = (to_type) _iter[1];                \
  |  |   55|  14.9k|            _to[2] = (to_type) _iter[2];                \
  |  |   56|  14.9k|            _to[3] = (to_type) _iter[3];                \
  |  |   57|  14.9k|            _iter += 4; _to += 4;                       \
  |  |   58|  14.9k|        }                                               \
  |  |   59|  13.0k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 7.86k, False: 5.16k]
  |  |  ------------------
  |  |   60|  7.86k|            *_to++ = (to_type) *_iter++;                \
  |  |   61|  5.16k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 5.16k]
  |  |  ------------------
  ------------------
 2202|  5.16k|            Py_UCS2, Py_UCS1, u, u + size, PyUnicode_1BYTE_DATA(res));
 2203|  5.16k|    }
 2204|   240k|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (2204:5): [True: 240k, False: 0]
  ------------------
 2205|   240k|    return res;
 2206|   240k|}
unicodeobject.c:_PyUnicode_FromUCS4:
 2210|   601k|{
 2211|   601k|    PyObject *res;
 2212|   601k|    Py_UCS4 max_char;
 2213|       |
 2214|   601k|    if (size == 0)
  ------------------
  |  Branch (2214:9): [True: 1.94k, False: 599k]
  ------------------
 2215|  1.94k|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|  1.94k|    do {                             \
  |  |  380|  1.94k|        return _PyUnicode_GetEmpty();\
  |  |  381|  1.94k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2216|   601k|    assert(size > 0);
  ------------------
  |  Branch (2216:5): [True: 599k, False: 0]
  ------------------
 2217|   599k|    if (size == 1)
  ------------------
  |  Branch (2217:9): [True: 472k, False: 127k]
  ------------------
 2218|   472k|        return unicode_char(u[0]);
 2219|       |
 2220|   127k|    max_char = ucs4lib_find_max_char(u, u + size);
 2221|   127k|    res = PyUnicode_New(size, max_char);
 2222|   127k|    if (!res)
  ------------------
  |  Branch (2222:9): [True: 0, False: 127k]
  ------------------
 2223|      0|        return NULL;
 2224|   127k|    if (max_char < 256)
  ------------------
  |  Branch (2224:9): [True: 12.6k, False: 114k]
  ------------------
 2225|  12.6k|        _PyUnicode_CONVERT_BYTES(Py_UCS4, Py_UCS1, u, u + size,
  ------------------
  |  |   45|  12.6k|    do {                                                \
  |  |   46|  12.6k|        to_type *_to = (to_type *)(to);                 \
  |  |   47|  12.6k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|  12.6k|        const from_type *_end = (const from_type *)(end);\
  |  |   49|  12.6k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|  12.6k|        const from_type *_unrolled_end =                \
  |  |   51|  12.6k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|  12.6k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|  19.3k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 6.73k, False: 12.6k]
  |  |  ------------------
  |  |   53|  6.73k|            _to[0] = (to_type) _iter[0];                \
  |  |   54|  6.73k|            _to[1] = (to_type) _iter[1];                \
  |  |   55|  6.73k|            _to[2] = (to_type) _iter[2];                \
  |  |   56|  6.73k|            _to[3] = (to_type) _iter[3];                \
  |  |   57|  6.73k|            _iter += 4; _to += 4;                       \
  |  |   58|  6.73k|        }                                               \
  |  |   59|  36.7k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 24.1k, False: 12.6k]
  |  |  ------------------
  |  |   60|  24.1k|            *_to++ = (to_type) *_iter++;                \
  |  |   61|  12.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 12.6k]
  |  |  ------------------
  ------------------
 2226|   127k|                                 PyUnicode_1BYTE_DATA(res));
 2227|   114k|    else if (max_char < 0x10000)
  ------------------
  |  Branch (2227:14): [True: 92.1k, False: 22.6k]
  ------------------
 2228|  92.1k|        _PyUnicode_CONVERT_BYTES(Py_UCS4, Py_UCS2, u, u + size,
  ------------------
  |  |   45|  92.1k|    do {                                                \
  |  |   46|  92.1k|        to_type *_to = (to_type *)(to);                 \
  |  |   47|  92.1k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|  92.1k|        const from_type *_end = (const from_type *)(end);\
  |  |   49|  92.1k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|  92.1k|        const from_type *_unrolled_end =                \
  |  |   51|  92.1k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|  92.1k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|   267k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 174k, False: 92.1k]
  |  |  ------------------
  |  |   53|   174k|            _to[0] = (to_type) _iter[0];                \
  |  |   54|   174k|            _to[1] = (to_type) _iter[1];                \
  |  |   55|   174k|            _to[2] = (to_type) _iter[2];                \
  |  |   56|   174k|            _to[3] = (to_type) _iter[3];                \
  |  |   57|   174k|            _iter += 4; _to += 4;                       \
  |  |   58|   174k|        }                                               \
  |  |   59|   274k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 182k, False: 92.1k]
  |  |  ------------------
  |  |   60|   182k|            *_to++ = (to_type) *_iter++;                \
  |  |   61|  92.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 92.1k]
  |  |  ------------------
  ------------------
 2229|   114k|                                 PyUnicode_2BYTE_DATA(res));
 2230|  22.6k|    else
 2231|  22.6k|        memcpy(PyUnicode_4BYTE_DATA(res), u, sizeof(Py_UCS4)*size);
  ------------------
  |  |  293|  22.6k|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  22.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2232|   127k|    assert(_PyUnicode_CheckConsistency(res, 1));
  ------------------
  |  Branch (2232:5): [True: 127k, False: 0]
  ------------------
 2233|   127k|    return res;
 2234|   127k|}
unicodeobject.c:unicode_from_format:
 3061|   128k|{
 3062|   128k|    Py_ssize_t len = strlen(format);
 3063|   128k|    writer->min_length += len + 100;
 3064|   128k|    writer->overallocate = 1;
 3065|       |
 3066|       |    // Copy varags to be able to pass a reference to a subfunction.
 3067|   128k|    va_list vargs2;
 3068|   128k|    va_copy(vargs2, vargs);
 3069|       |
 3070|       |    // _PyUnicodeWriter_WriteASCIIString() below requires the format string
 3071|       |    // to be encoded to ASCII.
 3072|   128k|    int is_ascii = (ucs1lib_find_max_char((Py_UCS1*)format, (Py_UCS1*)format + len) < 128);
 3073|   128k|    if (!is_ascii) {
  ------------------
  |  Branch (3073:9): [True: 0, False: 128k]
  ------------------
 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|   629k|    for (const char *f = format; *f; ) {
  ------------------
  |  Branch (3083:34): [True: 500k, False: 128k]
  ------------------
 3084|   500k|        if (*f == '%') {
  ------------------
  |  Branch (3084:13): [True: 240k, False: 259k]
  ------------------
 3085|   240k|            f = unicode_fromformat_arg(writer, f, &vargs2);
 3086|   240k|            if (f == NULL)
  ------------------
  |  Branch (3086:17): [True: 0, False: 240k]
  ------------------
 3087|      0|                goto fail;
 3088|   240k|        }
 3089|   259k|        else {
 3090|   259k|            const char *p = strchr(f, '%');
 3091|   259k|            if (p != NULL) {
  ------------------
  |  Branch (3091:17): [True: 169k, False: 90.4k]
  ------------------
 3092|   169k|                len = p - f;
 3093|   169k|            }
 3094|  90.4k|            else {
 3095|  90.4k|                len = strlen(f);
 3096|  90.4k|                writer->overallocate = 0;
 3097|  90.4k|            }
 3098|       |
 3099|   259k|            if (_PyUnicodeWriter_WriteASCIIString(writer, f, len) < 0) {
  ------------------
  |  Branch (3099:17): [True: 0, False: 259k]
  ------------------
 3100|      0|                goto fail;
 3101|      0|            }
 3102|   259k|            f += len;
 3103|   259k|        }
 3104|   500k|    }
 3105|   128k|    va_end(vargs2);
 3106|   128k|    return 0;
 3107|       |
 3108|      0|  fail:
 3109|       |    va_end(vargs2);
 3110|      0|    return -1;
 3111|   128k|}
unicodeobject.c:unicode_fromformat_arg:
 2647|   240k|{
 2648|   240k|    const char *p;
 2649|   240k|    Py_ssize_t len;
 2650|   240k|    int flags = 0;
 2651|   240k|    Py_ssize_t width;
 2652|   240k|    Py_ssize_t precision;
 2653|       |
 2654|   240k|    p = f;
 2655|   240k|    f++;
 2656|   240k|    if (*f == '%') {
  ------------------
  |  Branch (2656:9): [True: 0, False: 240k]
  ------------------
 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|   243k|    while (1) {
  ------------------
  |  Branch (2668:12): [True: 243k, Folded]
  ------------------
 2669|   243k|        switch (*f++) {
  ------------------
  |  Branch (2669:17): [True: 2.37k, False: 240k]
  ------------------
 2670|      0|        case '-': flags |= F_LJUST; continue;
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2670:9): [True: 0, False: 243k]
  ------------------
 2671|  2.37k|        case '0': flags |= F_ZERO; continue;
  ------------------
  |  |   22|  2.37k|#define F_ZERO  (1<<4)
  ------------------
  |  Branch (2671:9): [True: 2.37k, False: 240k]
  ------------------
 2672|      0|        case '#': flags |= F_ALT; continue;
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (2672:9): [True: 0, False: 243k]
  ------------------
 2673|   243k|        }
 2674|   240k|        f--;
 2675|   240k|        break;
 2676|   243k|    }
 2677|       |
 2678|       |    /* parse the width.precision part, e.g. "%2.5s" => width=2, precision=5 */
 2679|   240k|    width = -1;
 2680|   240k|    if (*f == '*') {
  ------------------
  |  Branch (2680:9): [True: 0, False: 240k]
  ------------------
 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|   240k|    else if (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|   240k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|   240k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|   240k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 2.37k, False: 238k]
  |  |  ------------------
  ------------------
 2689|  2.37k|        width = *f - '0';
 2690|  2.37k|        f++;
 2691|  2.37k|        while (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|  2.37k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|  2.37k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  2.37k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 0, False: 2.37k]
  |  |  ------------------
  ------------------
 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|  2.37k|    }
 2701|   240k|    precision = -1;
 2702|   240k|    if (*f == '.') {
  ------------------
  |  Branch (2702:9): [True: 63.0k, False: 177k]
  ------------------
 2703|  63.0k|        f++;
 2704|  63.0k|        if (*f == '*') {
  ------------------
  |  Branch (2704:13): [True: 0, False: 63.0k]
  ------------------
 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|  63.0k|        else if (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|  63.0k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|  63.0k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  63.0k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 63.0k, False: 0]
  |  |  ------------------
  ------------------
 2712|  63.0k|            precision = (*f - '0');
 2713|  63.0k|            f++;
 2714|   181k|            while (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|   181k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|   181k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|   181k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 118k, False: 63.0k]
  |  |  ------------------
  ------------------
 2715|   118k|                if (precision > (PY_SSIZE_T_MAX - ((int)*f - '0')) / 10) {
  ------------------
  |  |  137|   118k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2715:21): [True: 0, False: 118k]
  ------------------
 2716|      0|                    PyErr_SetString(PyExc_ValueError,
 2717|      0|                                    "precision too big");
 2718|      0|                    return NULL;
 2719|      0|                }
 2720|   118k|                precision = (precision * 10) + (*f - '0');
 2721|   118k|                f++;
 2722|   118k|            }
 2723|  63.0k|        }
 2724|  63.0k|    }
 2725|       |
 2726|   240k|    int sizemod = 0;
 2727|   240k|    if (*f == 'l') {
  ------------------
  |  Branch (2727:9): [True: 0, False: 240k]
  ------------------
 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|   240k|    else if (*f == 'z') {
  ------------------
  |  Branch (2737:14): [True: 3.12k, False: 237k]
  ------------------
 2738|  3.12k|        sizemod = F_SIZE;
  ------------------
  |  | 2640|  3.12k|#define F_SIZE 3
  ------------------
 2739|  3.12k|        ++f;
 2740|  3.12k|    }
 2741|   237k|    else if (*f == 't') {
  ------------------
  |  Branch (2741:14): [True: 0, False: 237k]
  ------------------
 2742|      0|        sizemod = F_PTRDIFF;
  ------------------
  |  | 2641|      0|#define F_PTRDIFF 4
  ------------------
 2743|      0|        ++f;
 2744|      0|    }
 2745|   237k|    else if (*f == 'j') {
  ------------------
  |  Branch (2745:14): [True: 0, False: 237k]
  ------------------
 2746|      0|        sizemod = F_INTMAX;
  ------------------
  |  | 2642|      0|#define F_INTMAX 5
  ------------------
 2747|      0|        ++f;
 2748|      0|    }
 2749|   240k|    if (f[0] != '\0' && f[1] == '\0')
  ------------------
  |  Branch (2749:9): [True: 240k, False: 0]
  |  Branch (2749:25): [True: 38.3k, False: 202k]
  ------------------
 2750|  38.3k|        writer->overallocate = 0;
 2751|       |
 2752|   240k|    switch (*f) {
 2753|  10.5k|    case 'd': case 'i': case 'o': case 'u': case 'x': case 'X':
  ------------------
  |  Branch (2753:5): [True: 7.73k, False: 233k]
  |  Branch (2753:15): [True: 238, False: 240k]
  |  Branch (2753:25): [True: 0, False: 240k]
  |  Branch (2753:35): [True: 0, False: 240k]
  |  Branch (2753:45): [True: 1.64k, False: 239k]
  |  Branch (2753:55): [True: 961, False: 239k]
  ------------------
 2754|  10.5k|        break;
 2755|  20.1k|    case 'c': case 'p':
  ------------------
  |  Branch (2755:5): [True: 20.1k, False: 220k]
  |  Branch (2755:15): [True: 0, False: 240k]
  ------------------
 2756|  20.1k|        if (sizemod || width >= 0 || precision >= 0) goto invalid_format;
  ------------------
  |  Branch (2756:13): [True: 0, False: 20.1k]
  |  Branch (2756:24): [True: 0, False: 20.1k]
  |  Branch (2756:38): [True: 0, False: 20.1k]
  ------------------
 2757|  20.1k|        break;
 2758|   179k|    case 's':
  ------------------
  |  Branch (2758:5): [True: 179k, False: 61.1k]
  ------------------
 2759|   179k|    case 'V':
  ------------------
  |  Branch (2759:5): [True: 238, False: 240k]
  ------------------
 2760|   179k|        if (sizemod && sizemod != F_LONG) goto invalid_format;
  ------------------
  |  | 2638|      0|#define F_LONG 1
  ------------------
  |  Branch (2760:13): [True: 0, False: 179k]
  |  Branch (2760:24): [True: 0, False: 0]
  ------------------
 2761|   179k|        break;
 2762|   179k|    default:
  ------------------
  |  Branch (2762:5): [True: 30.1k, False: 210k]
  ------------------
 2763|  30.1k|        if (sizemod) goto invalid_format;
  ------------------
  |  Branch (2763:13): [True: 0, False: 30.1k]
  ------------------
 2764|  30.1k|        break;
 2765|   240k|    }
 2766|       |
 2767|   240k|    switch (*f) {
 2768|  20.1k|    case 'c':
  ------------------
  |  Branch (2768:5): [True: 20.1k, False: 220k]
  ------------------
 2769|  20.1k|    {
 2770|  20.1k|        int ordinal = va_arg(*vargs, int);
 2771|  20.1k|        if (ordinal < 0 || ordinal > MAX_UNICODE) {
  ------------------
  |  |  108|  20.1k|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|  20.1k|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (2771:13): [True: 0, False: 20.1k]
  |  Branch (2771:28): [True: 0, False: 20.1k]
  ------------------
 2772|      0|            PyErr_SetString(PyExc_OverflowError,
 2773|      0|                            "character argument not in range(0x110000)");
 2774|      0|            return NULL;
 2775|      0|        }
 2776|  20.1k|        if (_PyUnicodeWriter_WriteCharInline(writer, ordinal) < 0)
  ------------------
  |  Branch (2776:13): [True: 0, False: 20.1k]
  ------------------
 2777|      0|            return NULL;
 2778|  20.1k|        break;
 2779|  20.1k|    }
 2780|       |
 2781|  20.1k|    case 'd': case 'i':
  ------------------
  |  Branch (2781:5): [True: 7.73k, False: 233k]
  |  Branch (2781:15): [True: 238, False: 240k]
  ------------------
 2782|  10.5k|    case 'o': case 'u': case 'x': case 'X':
  ------------------
  |  Branch (2782:5): [True: 0, False: 240k]
  |  Branch (2782:15): [True: 0, False: 240k]
  |  Branch (2782:25): [True: 1.64k, False: 239k]
  |  Branch (2782:35): [True: 961, False: 239k]
  ------------------
 2783|  10.5k|    {
 2784|  10.5k|        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.5k|        #define SPRINT(SIZE_SPEC, FMT_CHAR, TYPE) \
 2798|  10.5k|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
 2799|       |
 2800|       |        // One inner switch to handle all format variants
 2801|  10.5k|        #define DO_SPRINTS(SIZE_SPEC, SIGNED_TYPE, UNSIGNED_TYPE)             \
 2802|  10.5k|            switch (*f) {                                                     \
 2803|  10.5k|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
 2804|  10.5k|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
 2805|  10.5k|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
 2806|  10.5k|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
 2807|  10.5k|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
 2808|  10.5k|            }
 2809|       |
 2810|       |        // Outer switch to handle all the sizes/types
 2811|  10.5k|        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.5k]
  ------------------
 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.5k]
  ------------------
 2814|  3.12k|            case F_SIZE:     DO_SPRINTS("z", Py_ssize_t, size_t); break;
  ------------------
  |  | 2640|  3.12k|#define F_SIZE 3
  ------------------
                          case F_SIZE:     DO_SPRINTS("z", Py_ssize_t, size_t); break;
  ------------------
  |  | 2802|  3.12k|            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: 3.12k]
  |  |  ------------------
  |  | 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: 3.12k]
  |  |  ------------------
  |  | 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: 3.12k]
  |  |  ------------------
  |  | 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: 3.12k]
  |  |  ------------------
  |  | 2807|  3.12k|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2798|  3.12k|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2807:17): [True: 3.12k, False: 0]
  |  |  ------------------
  |  | 2808|  3.12k|            }
  ------------------
  |  Branch (2814:13): [True: 3.12k, False: 7.46k]
  ------------------
 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.5k]
  ------------------
 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.5k]
  ------------------
 2817|  7.46k|            default:         DO_SPRINTS("", int, unsigned int); break;
  ------------------
  |  | 2802|  7.46k|            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: 7.46k]
  |  |  ------------------
  |  | 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: 7.46k]
  |  |  ------------------
  |  | 2805|  1.64k|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|  1.64k|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2805:17): [True: 1.64k, False: 5.81k]
  |  |  ------------------
  |  | 2806|    961|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
  |  |  ------------------
  |  |  |  | 2798|    961|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2806:17): [True: 961, False: 6.50k]
  |  |  ------------------
  |  | 2807|  4.85k|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2798|  4.85k|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2807:17): [True: 4.85k, False: 2.60k]
  |  |  ------------------
  |  | 2808|  7.46k|            }
  ------------------
  |  Branch (2817:13): [True: 7.46k, False: 3.12k]
  ------------------
 2818|  10.5k|        }
 2819|  10.5k|        #undef SPRINT
 2820|  10.5k|        #undef DO_SPRINTS
 2821|       |
 2822|  10.5k|        assert(len >= 0);
  ------------------
  |  Branch (2822:9): [True: 10.5k, False: 0]
  ------------------
 2823|       |
 2824|  10.5k|        int sign = (buffer[0] == '-');
 2825|  10.5k|        len -= sign;
 2826|       |
 2827|  10.5k|        precision = Py_MAX(precision, len);
  ------------------
  |  |  115|  10.5k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 10.5k]
  |  |  ------------------
  ------------------
 2828|  10.5k|        width = Py_MAX(width, precision + sign);
  ------------------
  |  |  115|  10.5k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 832, False: 9.75k]
  |  |  ------------------
  ------------------
 2829|  10.5k|        if ((flags & F_ZERO) && !(flags & F_LJUST)) {
  ------------------
  |  |   22|  10.5k|#define F_ZERO  (1<<4)
  ------------------
                      if ((flags & F_ZERO) && !(flags & F_LJUST)) {
  ------------------
  |  |   18|  2.37k|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2829:13): [True: 2.37k, False: 8.21k]
  |  Branch (2829:33): [True: 2.37k, False: 0]
  ------------------
 2830|  2.37k|            precision = width - sign;
 2831|  2.37k|        }
 2832|       |
 2833|  10.5k|        Py_ssize_t spacepad = Py_MAX(width - precision - sign, 0);
  ------------------
  |  |  115|  10.5k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 10.5k]
  |  |  ------------------
  ------------------
 2834|  10.5k|        Py_ssize_t zeropad = Py_MAX(precision - len, 0);
  ------------------
  |  |  115|  10.5k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 832, False: 9.75k]
  |  |  ------------------
  ------------------
 2835|       |
 2836|  10.5k|        if (_PyUnicodeWriter_Prepare(writer, width, 127) == -1)
  ------------------
  |  |  562|  10.5k|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 10.5k, False: 0]
  |  |  ------------------
  |  |  563|  10.5k|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 10.5k, False: 0]
  |  |  ------------------
  |  |  564|  10.5k|     ? 0                                                              \
  |  |  565|  10.5k|     : (((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.5k]
  ------------------
 2837|      0|            return NULL;
 2838|       |
 2839|  10.5k|        if (spacepad && !(flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2839:13): [True: 0, False: 10.5k]
  |  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.5k|        if (sign) {
  ------------------
  |  Branch (2845:13): [True: 0, False: 10.5k]
  ------------------
 2846|      0|            if (_PyUnicodeWriter_WriteChar(writer, '-') == -1)
  ------------------
  |  Branch (2846:17): [True: 0, False: 0]
  ------------------
 2847|      0|                return NULL;
 2848|      0|        }
 2849|       |
 2850|  10.5k|        if (zeropad) {
  ------------------
  |  Branch (2850:13): [True: 832, False: 9.75k]
  ------------------
 2851|    832|            if (PyUnicode_Fill(writer->buffer, writer->pos, zeropad, '0') == -1)
  ------------------
  |  Branch (2851:17): [True: 0, False: 832]
  ------------------
 2852|      0|                return NULL;
 2853|    832|            writer->pos += zeropad;
 2854|    832|        }
 2855|       |
 2856|  10.5k|        if (_PyUnicodeWriter_WriteASCIIString(writer, &buffer[sign], len) < 0)
  ------------------
  |  Branch (2856:13): [True: 0, False: 10.5k]
  ------------------
 2857|      0|            return NULL;
 2858|       |
 2859|  10.5k|        if (spacepad && (flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2859:13): [True: 0, False: 10.5k]
  |  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.5k|        break;
 2865|  10.5k|    }
 2866|       |
 2867|  10.5k|    case 'p':
  ------------------
  |  Branch (2867:5): [True: 0, False: 240k]
  ------------------
 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|   179k|    case 's':
  ------------------
  |  Branch (2890:5): [True: 179k, False: 61.1k]
  ------------------
 2891|   179k|    {
 2892|   179k|        if (sizemod) {
  ------------------
  |  Branch (2892:13): [True: 0, False: 179k]
  ------------------
 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|   179k|        else {
 2898|       |            /* UTF-8 */
 2899|   179k|            const char *s = va_arg(*vargs, const char*);
 2900|   179k|            if (unicode_fromformat_write_utf8(writer, s, width, precision, flags) < 0)
  ------------------
  |  Branch (2900:17): [True: 0, False: 179k]
  ------------------
 2901|      0|                return NULL;
 2902|   179k|        }
 2903|   179k|        break;
 2904|   179k|    }
 2905|       |
 2906|   179k|    case 'U':
  ------------------
  |  Branch (2906:5): [True: 30.0k, False: 210k]
  ------------------
 2907|  30.0k|    {
 2908|  30.0k|        PyObject *obj = va_arg(*vargs, PyObject *);
 2909|  30.0k|        assert(obj && _PyUnicode_CHECK(obj));
  ------------------
  |  Branch (2909:9): [True: 30.0k, False: 0]
  |  Branch (2909:9): [True: 30.0k, False: 0]
  ------------------
 2910|       |
 2911|  30.0k|        if (unicode_fromformat_write_str(writer, obj, width, precision, flags) == -1)
  ------------------
  |  Branch (2911:13): [True: 0, False: 30.0k]
  ------------------
 2912|      0|            return NULL;
 2913|  30.0k|        break;
 2914|  30.0k|    }
 2915|       |
 2916|  30.0k|    case 'V':
  ------------------
  |  Branch (2916:5): [True: 238, False: 240k]
  ------------------
 2917|    238|    {
 2918|    238|        PyObject *obj = va_arg(*vargs, PyObject *);
 2919|    238|        const char *str;
 2920|    238|        const wchar_t *wstr;
 2921|    238|        if (sizemod) {
  ------------------
  |  Branch (2921:13): [True: 0, False: 238]
  ------------------
 2922|      0|            wstr = va_arg(*vargs, const wchar_t*);
 2923|      0|        }
 2924|    238|        else {
 2925|    238|            str = va_arg(*vargs, const char *);
 2926|    238|        }
 2927|    238|        if (obj) {
  ------------------
  |  Branch (2927:13): [True: 0, False: 238]
  ------------------
 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|    238|        else if (sizemod) {
  ------------------
  |  Branch (2932:18): [True: 0, False: 238]
  ------------------
 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|    238|        else {
 2938|    238|            assert(str != NULL);
  ------------------
  |  Branch (2938:13): [True: 238, False: 0]
  ------------------
 2939|    238|            if (unicode_fromformat_write_utf8(writer, str, width, precision, flags) < 0)
  ------------------
  |  Branch (2939:17): [True: 0, False: 238]
  ------------------
 2940|      0|                return NULL;
 2941|    238|        }
 2942|    238|        break;
 2943|    238|    }
 2944|       |
 2945|    238|    case 'S':
  ------------------
  |  Branch (2945:5): [True: 8, False: 240k]
  ------------------
 2946|      8|    {
 2947|      8|        PyObject *obj = va_arg(*vargs, PyObject *);
 2948|      8|        PyObject *str;
 2949|      8|        assert(obj);
  ------------------
  |  Branch (2949:9): [True: 8, False: 0]
  ------------------
 2950|      8|        str = PyObject_Str(obj);
 2951|      8|        if (!str)
  ------------------
  |  Branch (2951:13): [True: 0, False: 8]
  ------------------
 2952|      0|            return NULL;
 2953|      8|        if (unicode_fromformat_write_str(writer, str, width, precision, flags) == -1) {
  ------------------
  |  Branch (2953:13): [True: 0, False: 8]
  ------------------
 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|      8|        Py_DECREF(str);
  ------------------
  |  |  430|      8|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2958|      8|        break;
 2959|      8|    }
 2960|       |
 2961|     87|    case 'R':
  ------------------
  |  Branch (2961:5): [True: 87, False: 240k]
  ------------------
 2962|     87|    {
 2963|     87|        PyObject *obj = va_arg(*vargs, PyObject *);
 2964|     87|        PyObject *repr;
 2965|     87|        assert(obj);
  ------------------
  |  Branch (2965:9): [True: 87, False: 0]
  ------------------
 2966|     87|        repr = PyObject_Repr(obj);
 2967|     87|        if (!repr)
  ------------------
  |  Branch (2967:13): [True: 0, False: 87]
  ------------------
 2968|      0|            return NULL;
 2969|     87|        if (unicode_fromformat_write_str(writer, repr, width, precision, flags) == -1) {
  ------------------
  |  Branch (2969:13): [True: 0, False: 87]
  ------------------
 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|     87|        Py_DECREF(repr);
  ------------------
  |  |  430|     87|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2974|     87|        break;
 2975|     87|    }
 2976|       |
 2977|      0|    case 'A':
  ------------------
  |  Branch (2977:5): [True: 0, False: 240k]
  ------------------
 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: 240k]
  ------------------
 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: 240k]
  ------------------
 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: 240k]
  ------------------
 3050|      0|    invalid_format:
 3051|      0|        PyErr_Format(PyExc_SystemError, "invalid format string: %s", p);
 3052|      0|        return NULL;
 3053|   240k|    }
 3054|       |
 3055|   240k|    f++;
 3056|   240k|    return f;
 3057|   240k|}
unicodeobject.c:unicode_fromformat_write_utf8:
 2571|   179k|{
 2572|       |    /* UTF-8 */
 2573|   179k|    Py_ssize_t *pconsumed = NULL;
 2574|   179k|    Py_ssize_t length;
 2575|   179k|    if (precision == -1) {
  ------------------
  |  Branch (2575:9): [True: 117k, False: 62.8k]
  ------------------
 2576|   117k|        length = strlen(str);
 2577|   117k|    }
 2578|  62.8k|    else {
 2579|  62.8k|        length = 0;
 2580|   311k|        while (length < precision && str[length]) {
  ------------------
  |  Branch (2580:16): [True: 308k, False: 3.60k]
  |  Branch (2580:38): [True: 248k, False: 59.2k]
  ------------------
 2581|   248k|            length++;
 2582|   248k|        }
 2583|  62.8k|        if (length == precision) {
  ------------------
  |  Branch (2583:13): [True: 3.60k, False: 59.2k]
  ------------------
 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|  3.60k|            pconsumed = &length;
 2590|  3.60k|        }
 2591|  62.8k|    }
 2592|       |
 2593|   179k|    if (width < 0) {
  ------------------
  |  Branch (2593:9): [True: 179k, False: 0]
  ------------------
 2594|   179k|        return _PyUnicode_DecodeUTF8Writer(writer, str, length,
 2595|   179k|                                           _Py_ERROR_REPLACE, "replace", pconsumed);
 2596|   179k|    }
 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|  30.1k|{
 2528|  30.1k|    Py_ssize_t length, fill, arglen;
 2529|  30.1k|    Py_UCS4 maxchar;
 2530|       |
 2531|  30.1k|    length = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|  30.1k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2532|  30.1k|    if ((precision == -1 || precision >= length)
  ------------------
  |  Branch (2532:10): [True: 30.1k, False: 0]
  |  Branch (2532:29): [True: 0, False: 0]
  ------------------
 2533|  30.1k|        && width <= length)
  ------------------
  |  Branch (2533:12): [True: 30.1k, False: 0]
  ------------------
 2534|  30.1k|        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|    258|{
 3166|    258|    Py_ssize_t res;
 3167|       |
 3168|    258|    assert(unicode != NULL);
  ------------------
  |  Branch (3168:5): [True: 258, False: 0]
  ------------------
 3169|    258|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (3169:5): [True: 258, False: 0]
  ------------------
 3170|       |
 3171|    258|    res = _PyUnicode_LENGTH(unicode);
  ------------------
  |  |  155|    258|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|    258|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|    258|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    258|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3171:11): [True: 258, 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|    258|}
unicodeobject.c:unicode_copy_as_widechar:
 3188|    258|{
 3189|    258|    assert(unicode != NULL);
  ------------------
  |  Branch (3189:5): [True: 258, False: 0]
  ------------------
 3190|    258|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (3190:5): [True: 258, False: 0]
  ------------------
 3191|       |
 3192|    516|    if (PyUnicode_KIND(unicode) == sizeof(wchar_t)) {
  ------------------
  |  |  258|    258|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    516|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 258, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3192:9): [True: 0, False: 258]
  ------------------
 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|    516|    if (PyUnicode_KIND(unicode) == PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  258|    258|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    516|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 258, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3197:9): [True: 258, False: 0]
  ------------------
 3198|    258|        const Py_UCS1 *s = PyUnicode_1BYTE_DATA(unicode);
  ------------------
  |  |  291|    258|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    258|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3199|  14.9k|        for (; size--; ++s, ++w) {
  ------------------
  |  Branch (3199:16): [True: 14.7k, False: 258]
  ------------------
 3200|  14.7k|            *w = *s;
 3201|  14.7k|        }
 3202|    258|    }
 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|    258|}
unicodeobject.c:unicode_char:
 1822|  23.3M|{
 1823|  23.3M|    PyObject *unicode;
 1824|       |
 1825|  23.3M|    assert(ch <= MAX_UNICODE);
  ------------------
  |  Branch (1825:5): [True: 23.3M, False: 0]
  ------------------
 1826|       |
 1827|  23.3M|    if (ch < 256) {
  ------------------
  |  Branch (1827:9): [True: 3.74M, False: 19.6M]
  ------------------
 1828|  3.74M|        return get_latin1_char(ch);
 1829|  3.74M|    }
 1830|       |
 1831|  19.6M|    unicode = PyUnicode_New(1, ch);
 1832|  19.6M|    if (unicode == NULL)
  ------------------
  |  Branch (1832:9): [True: 0, False: 19.6M]
  ------------------
 1833|      0|        return NULL;
 1834|       |
 1835|  19.6M|    assert(PyUnicode_KIND(unicode) != PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (1835:5): [True: 19.6M, False: 0]
  |  Branch (1835:5): [True: 19.6M, False: 0]
  ------------------
 1836|  39.2M|    if (PyUnicode_KIND(unicode) == PyUnicode_2BYTE_KIND) {
  ------------------
  |  |  258|  19.6M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  39.2M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 19.6M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1836:9): [True: 18.3M, False: 1.22M]
  ------------------
 1837|  18.3M|        PyUnicode_2BYTE_DATA(unicode)[0] = (Py_UCS2)ch;
  ------------------
  |  |  292|  18.3M|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  18.3M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1838|  18.3M|    } else {
 1839|  1.22M|        assert(PyUnicode_KIND(unicode) == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (1839:9): [True: 1.22M, False: 0]
  |  Branch (1839:9): [True: 1.22M, False: 0]
  ------------------
 1840|  1.22M|        PyUnicode_4BYTE_DATA(unicode)[0] = ch;
  ------------------
  |  |  293|  1.22M|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  1.22M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1841|  1.22M|    }
 1842|  19.6M|    assert(_PyUnicode_CheckConsistency(unicode, 1));
  ------------------
  |  Branch (1842:5): [True: 19.6M, False: 0]
  ------------------
 1843|  19.6M|    return unicode;
 1844|  19.6M|}
unicodeobject.c:unicode_check_encoding_errors:
  530|   231k|{
  531|   231k|    if (encoding == NULL && errors == NULL) {
  ------------------
  |  Branch (531:9): [True: 0, False: 231k]
  |  Branch (531:29): [True: 0, False: 0]
  ------------------
  532|      0|        return 0;
  533|      0|    }
  534|       |
  535|   231k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  536|   231k|#ifndef Py_DEBUG
  537|       |    /* In release mode, only check in development mode (-X dev) */
  538|   231k|    if (!_PyInterpreterState_GetConfig(interp)->dev_mode) {
  ------------------
  |  Branch (538:9): [True: 231k, False: 0]
  ------------------
  539|   231k|        return 0;
  540|   231k|    }
  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|  6.96k|{
 3909|  6.96k|    if (str[len] != '\0' || (size_t)len != strlen(str))  {
  ------------------
  |  Branch (3909:9): [True: 0, False: 6.96k]
  |  Branch (3909:29): [True: 0, False: 6.96k]
  ------------------
 3910|      0|        PyErr_SetString(PyExc_ValueError, "embedded null byte");
 3911|      0|        return NULL;
 3912|      0|    }
 3913|       |
 3914|  6.96k|    wchar_t *wstr;
 3915|  6.96k|    size_t wlen;
 3916|  6.96k|    const char *reason;
 3917|  6.96k|    int res = _Py_DecodeLocaleEx(str, &wstr, &wlen, &reason,
 3918|  6.96k|                                 current_locale, errors);
 3919|  6.96k|    if (res != 0) {
  ------------------
  |  Branch (3919:9): [True: 0, False: 6.96k]
  ------------------
 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|  6.96k|    PyObject *unicode = PyUnicode_FromWideChar(wstr, wlen);
 3942|  6.96k|    PyMem_RawFree(wstr);
 3943|  6.96k|    return unicode;
 3944|  6.96k|}
unicodeobject.c:findchar:
 1011|   431k|{
 1012|   431k|    switch (kind) {
 1013|   406k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (1013:5): [True: 406k, False: 25.2k]
  ------------------
 1014|   406k|        if ((Py_UCS1) ch != ch)
  ------------------
  |  Branch (1014:13): [True: 0, False: 406k]
  ------------------
 1015|      0|            return -1;
 1016|   406k|        if (direction > 0)
  ------------------
  |  Branch (1016:13): [True: 406k, False: 126]
  ------------------
 1017|   406k|            return ucs1lib_find_char((const Py_UCS1 *) s, size, (Py_UCS1) ch);
 1018|    126|        else
 1019|    126|            return ucs1lib_rfind_char((const Py_UCS1 *) s, size, (Py_UCS1) ch);
 1020|  24.4k|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (1020:5): [True: 24.4k, False: 407k]
  ------------------
 1021|  24.4k|        if ((Py_UCS2) ch != ch)
  ------------------
  |  Branch (1021:13): [True: 0, False: 24.4k]
  ------------------
 1022|      0|            return -1;
 1023|  24.4k|        if (direction > 0)
  ------------------
  |  Branch (1023:13): [True: 24.4k, False: 0]
  ------------------
 1024|  24.4k|            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|    789|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (1027:5): [True: 789, False: 430k]
  ------------------
 1028|    789|        if (direction > 0)
  ------------------
  |  Branch (1028:13): [True: 789, False: 0]
  ------------------
 1029|    789|            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: 431k]
  ------------------
 1033|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1034|   431k|    }
 1035|   431k|}
unicodeobject.c:unicode_ensure_utf8:
 4095|   306k|{
 4096|   306k|    int err = 0;
 4097|   306k|    if (PyUnicode_UTF8(unicode) == NULL) {
  ------------------
  |  Branch (4097:9): [True: 11.0k, False: 295k]
  ------------------
 4098|  11.0k|        Py_BEGIN_CRITICAL_SECTION(unicode);
  ------------------
  |  |   51|  11.0k|    {
  ------------------
 4099|  11.0k|        if (PyUnicode_UTF8(unicode) == NULL) {
  ------------------
  |  Branch (4099:13): [True: 11.0k, False: 0]
  ------------------
 4100|  11.0k|            err = unicode_fill_utf8(unicode);
 4101|  11.0k|        }
 4102|  11.0k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  11.0k|    }
  ------------------
 4103|  11.0k|    }
 4104|   306k|    return err;
 4105|   306k|}
unicodeobject.c:unicode_fill_utf8:
 5729|  11.0k|{
 5730|  11.0k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(unicode);
 5731|       |    /* the string cannot be ASCII, or PyUnicode_UTF8() would be set */
 5732|  11.0k|    assert(!PyUnicode_IS_ASCII(unicode));
  ------------------
  |  Branch (5732:5): [True: 11.0k, False: 0]
  ------------------
 5733|       |
 5734|  11.0k|    int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  11.0k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  22.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 11.0k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5735|  11.0k|    const void *data = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|  11.0k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5736|  11.0k|    Py_ssize_t size = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|  11.0k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5737|       |
 5738|  11.0k|    PyBytesWriter *writer;
 5739|  11.0k|    char *end;
 5740|       |
 5741|  11.0k|    switch (kind) {
 5742|      0|    default:
  ------------------
  |  Branch (5742:5): [True: 0, False: 11.0k]
  ------------------
 5743|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5744|  6.86k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (5744:5): [True: 6.86k, False: 4.17k]
  ------------------
 5745|  6.86k|        writer = ucs1lib_utf8_encoder(unicode, data, size,
 5746|  6.86k|                                      _Py_ERROR_STRICT, NULL, &end);
 5747|  6.86k|        break;
 5748|  2.96k|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (5748:5): [True: 2.96k, False: 8.08k]
  ------------------
 5749|  2.96k|        writer = ucs2lib_utf8_encoder(unicode, data, size,
 5750|  2.96k|                                      _Py_ERROR_STRICT, NULL, &end);
 5751|  2.96k|        break;
 5752|  1.21k|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (5752:5): [True: 1.21k, False: 9.82k]
  ------------------
 5753|  1.21k|        writer = ucs4lib_utf8_encoder(unicode, data, size,
 5754|  1.21k|                                      _Py_ERROR_STRICT, NULL, &end);
 5755|  1.21k|        break;
 5756|  11.0k|    }
 5757|  11.0k|    if (writer == NULL) {
  ------------------
  |  Branch (5757:9): [True: 0, False: 11.0k]
  ------------------
 5758|      0|        return -1;
 5759|      0|    }
 5760|       |
 5761|  11.0k|    const char *start = PyBytesWriter_GetData(writer);
 5762|  11.0k|    Py_ssize_t len = end - start;
 5763|       |
 5764|  11.0k|    char *cache = PyMem_Malloc(len + 1);
 5765|  11.0k|    if (cache == NULL) {
  ------------------
  |  Branch (5765:9): [True: 0, False: 11.0k]
  ------------------
 5766|      0|        PyBytesWriter_Discard(writer);
 5767|      0|        PyErr_NoMemory();
 5768|      0|        return -1;
 5769|      0|    }
 5770|  11.0k|    memcpy(cache, start, len);
 5771|  11.0k|    cache[len] = '\0';
 5772|  11.0k|    PyUnicode_SET_UTF8_LENGTH(unicode, len);
 5773|  11.0k|    PyUnicode_SET_UTF8(unicode, cache);
 5774|  11.0k|    PyBytesWriter_Discard(writer);
 5775|  11.0k|    return 0;
 5776|  11.0k|}
unicodeobject.c:PyUnicode_UTF8_LENGTH:
  139|   240k|{
  140|   240k|    assert(_PyUnicode_CHECK(op));
  ------------------
  |  Branch (140:5): [True: 240k, False: 0]
  ------------------
  141|   240k|    if (PyUnicode_IS_COMPACT_ASCII(op)) {
  ------------------
  |  |  241|   240k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   240k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   240k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (241:40): [True: 239k, False: 808]
  |  |  ------------------
  ------------------
  142|   239k|         return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   239k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   239k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   239k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (142:17): [True: 239k, False: 0]
  ------------------
  143|   239k|    }
  144|    808|    else {
  145|    808|         return _PyCompactUnicodeObject_CAST(op)->utf8_length;
  ------------------
  |  |  189|    808|    (assert(PyUnicode_Check(op)), \
  |  |  190|    808|     _Py_CAST(PyCompactUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    808|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (145:17): [True: 808, False: 0]
  ------------------
  146|    808|    }
  147|   240k|}
unicodeobject.c:PyUnicode_UTF8:
  123|   640k|{
  124|   640k|    assert(_PyUnicode_CHECK(op));
  ------------------
  |  Branch (124:5): [True: 640k, False: 0]
  ------------------
  125|   640k|    if (PyUnicode_IS_COMPACT_ASCII(op)) {
  ------------------
  |  |  241|   640k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   640k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   640k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (241:40): [True: 600k, False: 39.4k]
  |  |  ------------------
  ------------------
  126|   600k|        return ((char*)(_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |  186|   600k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   600k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   600k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (126:25): [True: 600k, False: 0]
  ------------------
  127|   600k|    }
  128|  39.4k|    else {
  129|  39.4k|         return _PyUnicode_UTF8(op);
  130|  39.4k|    }
  131|   640k|}
unicodeobject.c:unicode_decode_call_errorhandler_writer:
 4382|  2.90k|{
 4383|  2.90k|    static const char *argparse = "Un;decoding error handler must return (str, int) tuple";
 4384|       |
 4385|  2.90k|    PyObject *restuple = NULL;
 4386|  2.90k|    PyObject *repunicode = NULL;
 4387|  2.90k|    Py_ssize_t insize;
 4388|  2.90k|    Py_ssize_t newpos;
 4389|  2.90k|    Py_ssize_t replen;
 4390|  2.90k|    Py_ssize_t remain;
 4391|  2.90k|    PyObject *inputobj = NULL;
 4392|  2.90k|    int need_to_grow = 0;
 4393|  2.90k|    const char *new_inptr;
 4394|       |
 4395|  2.90k|    if (*errorHandler == NULL) {
  ------------------
  |  Branch (4395:9): [True: 2.90k, False: 0]
  ------------------
 4396|  2.90k|        *errorHandler = PyCodec_LookupError(errors);
 4397|  2.90k|        if (*errorHandler == NULL)
  ------------------
  |  Branch (4397:13): [True: 0, False: 2.90k]
  ------------------
 4398|      0|            goto onError;
 4399|  2.90k|    }
 4400|       |
 4401|  2.90k|    make_decode_exception(exceptionObject,
 4402|  2.90k|        encoding,
 4403|  2.90k|        *input, *inend - *input,
 4404|  2.90k|        *startinpos, *endinpos,
 4405|  2.90k|        reason);
 4406|  2.90k|    if (*exceptionObject == NULL)
  ------------------
  |  Branch (4406:9): [True: 0, False: 2.90k]
  ------------------
 4407|      0|        goto onError;
 4408|       |
 4409|  2.90k|    restuple = PyObject_CallOneArg(*errorHandler, *exceptionObject);
 4410|  2.90k|    if (restuple == NULL)
  ------------------
  |  Branch (4410:9): [True: 2.90k, False: 0]
  ------------------
 4411|  2.90k|        goto onError;
 4412|      0|    if (!PyTuple_Check(restuple)) {
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4412:9): [True: 0, False: 0]
  ------------------
 4413|      0|        PyErr_SetString(PyExc_TypeError, &argparse[3]);
 4414|      0|        goto onError;
 4415|      0|    }
 4416|      0|    if (!PyArg_ParseTuple(restuple, argparse, &repunicode, &newpos))
  ------------------
  |  Branch (4416:9): [True: 0, False: 0]
  ------------------
 4417|      0|        goto onError;
 4418|       |
 4419|       |    /* Copy back the bytes variables, which might have been modified by the
 4420|       |       callback */
 4421|      0|    inputobj = PyUnicodeDecodeError_GetObject(*exceptionObject);
 4422|      0|    if (!inputobj)
  ------------------
  |  Branch (4422:9): [True: 0, False: 0]
  ------------------
 4423|      0|        goto onError;
 4424|      0|    remain = *inend - *input - *endinpos;
 4425|      0|    *input = PyBytes_AS_STRING(inputobj);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4426|      0|    insize = PyBytes_GET_SIZE(inputobj);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4427|      0|    *inend = *input + insize;
 4428|       |    /* we can DECREF safely, as the exception has another reference,
 4429|       |       so the object won't go away. */
 4430|      0|    Py_DECREF(inputobj);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4431|       |
 4432|      0|    if (newpos<0)
  ------------------
  |  Branch (4432:9): [True: 0, False: 0]
  ------------------
 4433|      0|        newpos = insize+newpos;
 4434|      0|    if (newpos<0 || newpos>insize) {
  ------------------
  |  Branch (4434:9): [True: 0, False: 0]
  |  Branch (4434:21): [True: 0, False: 0]
  ------------------
 4435|      0|        PyErr_Format(PyExc_IndexError, "position %zd from error handler out of bounds", newpos);
 4436|      0|        goto onError;
 4437|      0|    }
 4438|       |
 4439|      0|    replen = PyUnicode_GET_LENGTH(repunicode);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4440|      0|    if (replen > 1) {
  ------------------
  |  Branch (4440:9): [True: 0, False: 0]
  ------------------
 4441|      0|        writer->min_length += replen - 1;
 4442|      0|        need_to_grow = 1;
 4443|      0|    }
 4444|      0|    new_inptr = *input + newpos;
 4445|      0|    if (*inend - new_inptr > remain) {
  ------------------
  |  Branch (4445:9): [True: 0, False: 0]
  ------------------
 4446|       |        /* We don't know the decoding algorithm here so we make the worst
 4447|       |           assumption that one byte decodes to one unicode character.
 4448|       |           If unfortunately one byte could decode to more unicode characters,
 4449|       |           the decoder may write out-of-bound then.  Is it possible for the
 4450|       |           algorithms using this function? */
 4451|      0|        writer->min_length += *inend - new_inptr - remain;
 4452|      0|        need_to_grow = 1;
 4453|      0|    }
 4454|      0|    if (need_to_grow) {
  ------------------
  |  Branch (4454:9): [True: 0, False: 0]
  ------------------
 4455|      0|        writer->overallocate = 1;
 4456|      0|        if (_PyUnicodeWriter_Prepare(writer, writer->min_length - writer->pos,
  ------------------
  |  |  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 (4456:13): [True: 0, False: 0]
  ------------------
 4457|      0|                            PyUnicode_MAX_CHAR_VALUE(repunicode)) == -1)
 4458|      0|            goto onError;
 4459|      0|    }
 4460|      0|    if (_PyUnicodeWriter_WriteStr(writer, repunicode) == -1)
  ------------------
  |  Branch (4460:9): [True: 0, False: 0]
  ------------------
 4461|      0|        goto onError;
 4462|       |
 4463|      0|    *endinpos = newpos;
 4464|      0|    *inptr = new_inptr;
 4465|       |
 4466|       |    /* we made it! */
 4467|      0|    Py_DECREF(restuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4468|      0|    return 0;
 4469|       |
 4470|  2.90k|  onError:
 4471|  2.90k|    Py_XDECREF(restuple);
  ------------------
  |  |  524|  2.90k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4472|  2.90k|    return -1;
 4473|      0|}
unicodeobject.c:make_decode_exception:
 4229|  2.90k|{
 4230|  2.90k|    if (*exceptionObject == NULL) {
  ------------------
  |  Branch (4230:9): [True: 2.90k, False: 0]
  ------------------
 4231|  2.90k|        *exceptionObject = PyUnicodeDecodeError_Create(
 4232|  2.90k|            encoding, input, length, startpos, endpos, reason);
 4233|  2.90k|    }
 4234|      0|    else {
 4235|      0|        if (PyUnicodeDecodeError_SetStart(*exceptionObject, startpos))
  ------------------
  |  Branch (4235:13): [True: 0, False: 0]
  ------------------
 4236|      0|            goto onError;
 4237|      0|        if (PyUnicodeDecodeError_SetEnd(*exceptionObject, endpos))
  ------------------
  |  Branch (4237:13): [True: 0, False: 0]
  ------------------
 4238|      0|            goto onError;
 4239|      0|        if (PyUnicodeDecodeError_SetReason(*exceptionObject, reason))
  ------------------
  |  Branch (4239:13): [True: 0, False: 0]
  ------------------
 4240|      0|            goto onError;
 4241|      0|    }
 4242|  2.90k|    return;
 4243|       |
 4244|  2.90k|onError:
 4245|       |    Py_CLEAR(*exceptionObject);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4246|      0|}
unicodeobject.c:unicode_decode_utf8:
 5257|  2.19M|{
 5258|  2.19M|    if (size == 0) {
  ------------------
  |  Branch (5258:9): [True: 112k, False: 2.08M]
  ------------------
 5259|   112k|        if (consumed) {
  ------------------
  |  Branch (5259:13): [True: 0, False: 112k]
  ------------------
 5260|      0|            *consumed = 0;
 5261|      0|        }
 5262|   112k|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|   112k|    do {                             \
  |  |  380|   112k|        return _PyUnicode_GetEmpty();\
  |  |  381|   112k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5263|   112k|    }
 5264|       |
 5265|       |    /* ASCII is equivalent to the first 128 ordinals in Unicode. */
 5266|  2.08M|    if (size == 1 && (unsigned char)s[0] < 128) {
  ------------------
  |  Branch (5266:9): [True: 248k, False: 1.83M]
  |  Branch (5266:22): [True: 248k, False: 303]
  ------------------
 5267|   248k|        if (consumed) {
  ------------------
  |  Branch (5267:13): [True: 0, False: 248k]
  ------------------
 5268|      0|            *consumed = 1;
 5269|      0|        }
 5270|   248k|        return get_latin1_char((unsigned char)s[0]);
 5271|   248k|    }
 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.83M|    if (PY_SSIZE_T_MAX - sizeof(PyCompactUnicodeObject) < (size_t)size) {
  ------------------
  |  |  137|  1.83M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (5275:9): [True: 0, False: 1.83M]
  ------------------
 5276|      0|        PyErr_NoMemory();
 5277|      0|        return NULL;
 5278|      0|    }
 5279|       |
 5280|  1.83M|    const char *starts = s;
 5281|  1.83M|    const char *end = s + size;
 5282|       |
 5283|  1.83M|    Py_ssize_t pos = find_first_nonascii((const unsigned char*)starts, (const unsigned char*)end);
 5284|  1.83M|    if (pos == size) {  // fast path: ASCII string.
  ------------------
  |  Branch (5284:9): [True: 1.65M, False: 176k]
  ------------------
 5285|  1.65M|        PyObject *u = PyUnicode_New(size, 127);
 5286|  1.65M|        if (u == NULL) {
  ------------------
  |  Branch (5286:13): [True: 0, False: 1.65M]
  ------------------
 5287|      0|            return NULL;
 5288|      0|        }
 5289|  1.65M|        memcpy(PyUnicode_1BYTE_DATA(u), s, size);
  ------------------
  |  |  291|  1.65M|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  1.65M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5290|  1.65M|        if (consumed) {
  ------------------
  |  Branch (5290:13): [True: 0, False: 1.65M]
  ------------------
 5291|      0|            *consumed = size;
 5292|      0|        }
 5293|  1.65M|        return u;
 5294|  1.65M|    }
 5295|       |
 5296|   176k|    int maxchr = 127;
 5297|   176k|    Py_ssize_t maxsize = size;
 5298|       |
 5299|   176k|    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|   176k|    if (error_handler == _Py_ERROR_STRICT && !consumed && ch >= 0xc2) {
  ------------------
  |  Branch (5305:9): [True: 169k, False: 7.26k]
  |  Branch (5305:46): [True: 169k, False: 0]
  |  Branch (5305:59): [True: 168k, False: 574]
  ------------------
 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|   168k|        maxsize = utf8_count_codepoints((const unsigned char *)s, (const unsigned char *)end);
 5312|   168k|        if (ch < 0xc4) { // latin1
  ------------------
  |  Branch (5312:13): [True: 69.7k, False: 99.0k]
  ------------------
 5313|  69.7k|            maxchr = 0xff;
 5314|  69.7k|        }
 5315|  99.0k|        else if (ch < 0xf0) { // ucs2
  ------------------
  |  Branch (5315:18): [True: 91.9k, False: 7.06k]
  ------------------
 5316|  91.9k|            maxchr = 0xffff;
 5317|  91.9k|        }
 5318|  7.06k|        else { // ucs4
 5319|  7.06k|            maxchr = 0x10ffff;
 5320|  7.06k|        }
 5321|   168k|    }
 5322|   176k|    PyObject *u = PyUnicode_New(maxsize, maxchr);
 5323|   176k|    if (!u) {
  ------------------
  |  Branch (5323:9): [True: 0, False: 176k]
  ------------------
 5324|      0|        return NULL;
 5325|      0|    }
 5326|       |
 5327|       |    // Use _PyUnicodeWriter after fast path is failed.
 5328|   176k|    _PyUnicodeWriter writer;
 5329|   176k|    _PyUnicodeWriter_InitWithBuffer(&writer, u);
 5330|   176k|    if (maxchr <= 255) {
  ------------------
  |  Branch (5330:9): [True: 77.5k, False: 99.0k]
  ------------------
 5331|  77.5k|        memcpy(PyUnicode_1BYTE_DATA(u), s, pos);
  ------------------
  |  |  291|  77.5k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  77.5k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5332|  77.5k|        s += pos;
 5333|  77.5k|        writer.pos = pos;
 5334|  77.5k|    }
 5335|       |
 5336|   176k|    if (unicode_decode_utf8_impl(&writer, starts, s, end,
  ------------------
  |  Branch (5336:9): [True: 2.31k, False: 174k]
  ------------------
 5337|   176k|                                 error_handler, errors,
 5338|   176k|                                 consumed) < 0) {
 5339|  2.31k|        _PyUnicodeWriter_Dealloc(&writer);
 5340|  2.31k|        return NULL;
 5341|  2.31k|    }
 5342|   174k|    return _PyUnicodeWriter_Finish(&writer);
 5343|   176k|}
unicodeobject.c:find_first_nonascii:
 4985|  2.07M|{
 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|  2.07M|    const unsigned char *p = start;
 4991|       |
 4992|  2.07M|    if (end - start >= SIZEOF_SIZE_T) {
  ------------------
  |  | 1958|  2.07M|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (4992:9): [True: 452k, False: 1.61M]
  ------------------
 4993|       |        // Avoid unaligned read.
 4994|   452k|#if PY_LITTLE_ENDIAN && HAVE_CTZ
 4995|   452k|        size_t u;
 4996|   452k|        memcpy(&u, p, sizeof(size_t));
 4997|   452k|        u &= ASCII_CHAR_MASK;
  ------------------
  |  | 4891|   452k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 4998|   452k|        if (u) {
  ------------------
  |  Branch (4998:13): [True: 72.9k, False: 379k]
  ------------------
 4999|  72.9k|            return (ctz(u) - 7) / 8;
 5000|  72.9k|        }
 5001|   379k|        p = _Py_ALIGN_DOWN(p + SIZEOF_SIZE_T, SIZEOF_SIZE_T);
  ------------------
  |  |  216|   379k|#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|   379k|        const unsigned char *e = end - SIZEOF_SIZE_T;
  ------------------
  |  | 1958|   379k|#define SIZEOF_SIZE_T 8
  ------------------
 5013|  2.30M|        while (p <= e) {
  ------------------
  |  Branch (5013:16): [True: 1.94M, False: 360k]
  ------------------
 5014|  1.94M|            size_t u = (*(const size_t *)p) & ASCII_CHAR_MASK;
  ------------------
  |  | 4891|  1.94M|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 5015|  1.94M|            if (u) {
  ------------------
  |  Branch (5015:17): [True: 18.6k, False: 1.92M]
  ------------------
 5016|  18.6k|#if PY_LITTLE_ENDIAN && HAVE_CTZ
 5017|  18.6k|                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|  18.6k|            }
 5024|  1.92M|            p += SIZEOF_SIZE_T;
  ------------------
  |  | 1958|  1.92M|#define SIZEOF_SIZE_T 8
  ------------------
 5025|  1.92M|        }
 5026|   379k|    }
 5027|  1.98M|#if PY_LITTLE_ENDIAN && HAVE_CTZ
 5028|  2.07M|    assert((end - p) < SIZEOF_SIZE_T);
  ------------------
  |  Branch (5028:5): [True: 1.98M, False: 0]
  ------------------
 5029|       |    // we can not use *(const size_t*)p to avoid buffer overrun.
 5030|  1.98M|    size_t u = load_unaligned(p, end - p) & ASCII_CHAR_MASK;
  ------------------
  |  | 4891|  1.98M|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 5031|  1.98M|    if (u) {
  ------------------
  |  Branch (5031:9): [True: 85.0k, False: 1.89M]
  ------------------
 5032|  85.0k|        return p - start + (ctz(u) - 7) / 8;
 5033|  85.0k|    }
 5034|  1.89M|    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.98M|}
unicodeobject.c:ctz:
 4907|   176k|{
 4908|   176k|    return __builtin_ctzll((unsigned long long)v);
 4909|   176k|}
unicodeobject.c:load_unaligned:
 4931|  1.98M|{
 4932|  1.98M|    union {
 4933|  1.98M|        size_t s;
 4934|  1.98M|        unsigned char b[SIZEOF_SIZE_T];
 4935|  1.98M|    } u;
 4936|  1.98M|    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.98M|    switch (size) {
 4941|      0|    default:
  ------------------
  |  Branch (4941:5): [True: 0, False: 1.98M]
  ------------------
 4942|      0|#if SIZEOF_SIZE_T == 8
 4943|      0|    case 8:
  ------------------
  |  Branch (4943:5): [True: 0, False: 1.98M]
  ------------------
 4944|      0|        u.b[7] = p[7];
 4945|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4946|  75.7k|    case 7:
  ------------------
  |  Branch (4946:5): [True: 75.7k, False: 1.90M]
  ------------------
 4947|  75.7k|        u.b[6] = p[6];
 4948|  75.7k|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|  75.7k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4949|   126k|    case 6:
  ------------------
  |  Branch (4949:5): [True: 50.6k, False: 1.93M]
  ------------------
 4950|   126k|        u.b[5] = p[5];
 4951|   126k|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|   126k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4952|   266k|    case 5:
  ------------------
  |  Branch (4952:5): [True: 140k, False: 1.84M]
  ------------------
 4953|   266k|        u.b[4] = p[4];
 4954|   266k|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|   266k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4955|   266k|#endif
 4956|   374k|    case 4:
  ------------------
  |  Branch (4956:5): [True: 107k, False: 1.87M]
  ------------------
 4957|   374k|        u.b[3] = p[3];
 4958|   374k|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|   374k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4959|   541k|    case 3:
  ------------------
  |  Branch (4959:5): [True: 167k, False: 1.81M]
  ------------------
 4960|   541k|        u.b[2] = p[2];
 4961|   541k|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|   541k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4962|  1.73M|    case 2:
  ------------------
  |  Branch (4962:5): [True: 1.19M, False: 789k]
  ------------------
 4963|  1.73M|        u.b[1] = p[1];
 4964|  1.73M|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|  1.73M|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4965|  1.88M|    case 1:
  ------------------
  |  Branch (4965:5): [True: 148k, False: 1.83M]
  ------------------
 4966|  1.88M|        u.b[0] = p[0];
 4967|  1.88M|        break;
 4968|  99.4k|    case 0:
  ------------------
  |  Branch (4968:5): [True: 99.4k, False: 1.88M]
  ------------------
 4969|  99.4k|        break;
 4970|  1.98M|    }
 4971|  1.98M|    return u.s;
 4972|  1.98M|}
unicodeobject.c:utf8_count_codepoints:
 5063|   168k|{
 5064|   168k|    Py_ssize_t len = 0;
 5065|       |
 5066|   168k|    if (end - s >= SIZEOF_SIZE_T) {
  ------------------
  |  | 1958|   168k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5066:9): [True: 90.2k, False: 78.4k]
  ------------------
 5067|   337k|        while (!_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  221|   337k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (5067:16): [True: 246k, False: 90.2k]
  ------------------
 5068|   246k|            len += scalar_utf8_start_char(*s++);
 5069|   246k|        }
 5070|       |
 5071|   158k|        while (s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1958|   158k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5071:16): [True: 67.8k, False: 90.2k]
  ------------------
 5072|  67.8k|            const unsigned char *e = end;
 5073|  67.8k|            if (e - s > SIZEOF_SIZE_T * 255) {
  ------------------
  |  | 1958|  67.8k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5073:17): [True: 889, False: 66.9k]
  ------------------
 5074|    889|                e = s + SIZEOF_SIZE_T * 255;
  ------------------
  |  | 1958|    889|#define SIZEOF_SIZE_T 8
  ------------------
 5075|    889|            }
 5076|  67.8k|            Py_ssize_t vstart = 0;
 5077|   698k|            while (s + SIZEOF_SIZE_T <= e) {
  ------------------
  |  | 1958|   698k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5077:20): [True: 630k, False: 67.8k]
  ------------------
 5078|   630k|                size_t v = *(size_t*)s;
 5079|   630k|                size_t vs = vector_utf8_start_chars(v);
 5080|   630k|                vstart += vs;
 5081|   630k|                s += SIZEOF_SIZE_T;
  ------------------
  |  | 1958|   630k|#define SIZEOF_SIZE_T 8
  ------------------
 5082|   630k|            }
 5083|  67.8k|            vstart = (vstart & VECTOR_00FF) + ((vstart >> 8) & VECTOR_00FF);
  ------------------
  |  | 4894|  67.8k|# define VECTOR_00FF     0x00ff00ff00ff00ffULL
  ------------------
                          vstart = (vstart & VECTOR_00FF) + ((vstart >> 8) & VECTOR_00FF);
  ------------------
  |  | 4894|  67.8k|# define VECTOR_00FF     0x00ff00ff00ff00ffULL
  ------------------
 5084|  67.8k|            vstart += vstart >> 16;
 5085|  67.8k|#if SIZEOF_SIZE_T == 8
 5086|  67.8k|            vstart += vstart >> 32;
 5087|  67.8k|#endif
 5088|  67.8k|            len += vstart & 0x7ff;
 5089|  67.8k|        }
 5090|  90.2k|    }
 5091|   769k|    while (s < end) {
  ------------------
  |  Branch (5091:12): [True: 600k, False: 168k]
  ------------------
 5092|   600k|        len += scalar_utf8_start_char(*s++);
 5093|   600k|    }
 5094|   168k|    return len;
 5095|   168k|}
unicodeobject.c:scalar_utf8_start_char:
 5048|   847k|{
 5049|       |    // 0xxxxxxx or 11xxxxxx are first byte.
 5050|   847k|    return (~ch >> 7 | ch >> 6) & 1;
 5051|   847k|}
unicodeobject.c:vector_utf8_start_chars:
 5055|   630k|{
 5056|   630k|    return ((~v >> 7) | (v >> 6)) & VECTOR_0101;
  ------------------
  |  | 4893|   630k|# define VECTOR_0101     0x0101010101010101ULL
  ------------------
 5057|   630k|}
unicodeobject.c:ascii_decode:
 5099|   322k|{
 5100|   322k|#if SIZEOF_SIZE_T <= SIZEOF_VOID_P
 5101|   322k|    if (_Py_IS_ALIGNED(start, ALIGNOF_SIZE_T)
  ------------------
  |  |  221|   644k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 100k, False: 222k]
  |  |  ------------------
  ------------------
 5102|   100k|        && _Py_IS_ALIGNED(dest, ALIGNOF_SIZE_T))
  ------------------
  |  |  221|   100k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 85.0k, False: 15.3k]
  |  |  ------------------
  ------------------
 5103|  85.0k|    {
 5104|       |        /* Fast path, see in STRINGLIB(utf8_decode) for
 5105|       |           an explanation. */
 5106|  85.0k|        const char *p = start;
 5107|  85.0k|        Py_UCS1 *q = dest;
 5108|   205k|        while (p + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1958|   205k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5108:16): [True: 120k, False: 84.8k]
  ------------------
 5109|   120k|            size_t value = *(const size_t *) p;
 5110|   120k|            if (value & ASCII_CHAR_MASK)
  ------------------
  |  | 4891|   120k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (5110:17): [True: 195, False: 120k]
  ------------------
 5111|    195|                break;
 5112|   120k|            *((size_t *)q) = value;
 5113|   120k|            p += SIZEOF_SIZE_T;
  ------------------
  |  | 1958|   120k|#define SIZEOF_SIZE_T 8
  ------------------
 5114|   120k|            q += SIZEOF_SIZE_T;
  ------------------
  |  | 1958|   120k|#define SIZEOF_SIZE_T 8
  ------------------
 5115|   120k|        }
 5116|   346k|        while (p < end) {
  ------------------
  |  Branch (5116:16): [True: 261k, False: 84.8k]
  ------------------
 5117|   261k|            if ((unsigned char)*p & 0x80)
  ------------------
  |  Branch (5117:17): [True: 267, False: 261k]
  ------------------
 5118|    267|                break;
 5119|   261k|            *q++ = *p++;
 5120|   261k|        }
 5121|  85.0k|        return p - start;
 5122|  85.0k|    }
 5123|   237k|#endif
 5124|   237k|    Py_ssize_t pos = find_first_nonascii((const unsigned char*)start,
 5125|   237k|                                         (const unsigned char*)end);
 5126|   237k|    memcpy(dest, start, pos);
 5127|   237k|    return pos;
 5128|   322k|}
unicodeobject.c:unicode_decode_utf8_impl:
 5136|   189k|{
 5137|   189k|    Py_ssize_t startinpos, endinpos;
 5138|   189k|    const char *errmsg = "";
 5139|   189k|    PyObject *error_handler_obj = NULL;
 5140|   189k|    PyObject *exc = NULL;
 5141|       |
 5142|   259k|    while (s < end) {
  ------------------
  |  Branch (5142:12): [True: 255k, False: 3.70k]
  ------------------
 5143|   255k|        Py_UCS4 ch;
 5144|   255k|        int kind = writer->kind;
 5145|       |
 5146|   255k|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (5146:13): [True: 79.1k, False: 176k]
  ------------------
 5147|  79.1k|            if (PyUnicode_IS_ASCII(writer->buffer))
  ------------------
  |  |  227|  79.1k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  79.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 7.84k, False: 71.2k]
  |  |  ------------------
  ------------------
 5148|  7.84k|                ch = asciilib_utf8_decode(&s, end, writer->data, &writer->pos);
 5149|  71.2k|            else
 5150|  71.2k|                ch = ucs1lib_utf8_decode(&s, end, writer->data, &writer->pos);
 5151|   176k|        } else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (5151:20): [True: 126k, False: 50.1k]
  ------------------
 5152|   126k|            ch = ucs2lib_utf8_decode(&s, end, writer->data, &writer->pos);
 5153|   126k|        } else {
 5154|  50.1k|            assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (5154:13): [True: 50.1k, False: 0]
  ------------------
 5155|  50.1k|            ch = ucs4lib_utf8_decode(&s, end, writer->data, &writer->pos);
 5156|  50.1k|        }
 5157|       |
 5158|   255k|        switch (ch) {
 5159|   185k|        case 0:
  ------------------
  |  Branch (5159:9): [True: 185k, False: 70.6k]
  ------------------
 5160|   185k|            if (s == end || consumed)
  ------------------
  |  Branch (5160:17): [True: 183k, False: 1.33k]
  |  Branch (5160:29): [True: 1, False: 1.33k]
  ------------------
 5161|   183k|                goto End;
 5162|  1.33k|            errmsg = "unexpected end of data";
 5163|  1.33k|            startinpos = s - starts;
 5164|  1.33k|            endinpos = end - starts;
 5165|  1.33k|            break;
 5166|  33.2k|        case 1:
  ------------------
  |  Branch (5166:9): [True: 33.2k, False: 222k]
  ------------------
 5167|  33.2k|            errmsg = "invalid start byte";
 5168|  33.2k|            startinpos = s - starts;
 5169|  33.2k|            endinpos = startinpos + 1;
 5170|  33.2k|            break;
 5171|  16.2k|        case 2:
  ------------------
  |  Branch (5171:9): [True: 16.2k, False: 239k]
  ------------------
 5172|  16.2k|            if (consumed && (unsigned char)s[0] == 0xED && end - s == 2
  ------------------
  |  Branch (5172:17): [True: 0, False: 16.2k]
  |  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|  16.2k|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|  16.2k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 5179|  20.8k|        case 3:
  ------------------
  |  Branch (5179:9): [True: 4.57k, False: 251k]
  ------------------
 5180|  22.6k|        case 4:
  ------------------
  |  Branch (5180:9): [True: 1.80k, False: 253k]
  ------------------
 5181|  22.6k|            errmsg = "invalid continuation byte";
 5182|  22.6k|            startinpos = s - starts;
 5183|  22.6k|            endinpos = startinpos + ch - 1;
 5184|  22.6k|            break;
 5185|  14.7k|        default:
  ------------------
  |  Branch (5185:9): [True: 14.7k, False: 241k]
  ------------------
 5186|       |            // ch doesn't fit into kind, so change the buffer kind to write
 5187|       |            // the character
 5188|  14.7k|            if (_PyUnicodeWriter_WriteCharInline(writer, ch) < 0)
  ------------------
  |  Branch (5188:17): [True: 0, False: 14.7k]
  ------------------
 5189|      0|                goto onError;
 5190|  14.7k|            continue;
 5191|   255k|        }
 5192|       |
 5193|  57.2k|        if (error_handler == _Py_ERROR_UNKNOWN)
  ------------------
  |  Branch (5193:13): [True: 2.77k, False: 54.4k]
  ------------------
 5194|  2.77k|            error_handler = _Py_GetErrorHandler(errors);
 5195|       |
 5196|  57.2k|        switch (error_handler) {
 5197|      0|        case _Py_ERROR_IGNORE:
  ------------------
  |  Branch (5197:9): [True: 0, False: 57.2k]
  ------------------
 5198|      0|            s += (endinpos - startinpos);
 5199|      0|            break;
 5200|       |
 5201|  54.9k|        case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (5201:9): [True: 54.9k, False: 2.31k]
  ------------------
 5202|  54.9k|            if (_PyUnicodeWriter_WriteCharInline(writer, 0xfffd) < 0)
  ------------------
  |  Branch (5202:17): [True: 0, False: 54.9k]
  ------------------
 5203|      0|                goto onError;
 5204|  54.9k|            s += (endinpos - startinpos);
 5205|  54.9k|            break;
 5206|       |
 5207|      0|        case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (5207:9): [True: 0, False: 57.2k]
  ------------------
 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|  2.31k|        default:
  ------------------
  |  Branch (5223:9): [True: 2.31k, False: 54.9k]
  ------------------
 5224|  2.31k|            if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (5224:17): [True: 2.31k, False: 0]
  ------------------
 5225|  2.31k|                    errors, &error_handler_obj,
 5226|  2.31k|                    "utf-8", errmsg,
 5227|  2.31k|                    &starts, &end, &startinpos, &endinpos, &exc, &s,
 5228|  2.31k|                    writer)) {
 5229|  2.31k|                goto onError;
 5230|  2.31k|            }
 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|  57.2k|        }
 5236|  57.2k|    }
 5237|       |
 5238|   187k|End:
 5239|   187k|    if (consumed)
  ------------------
  |  Branch (5239:9): [True: 2, False: 187k]
  ------------------
 5240|      2|        *consumed = s - starts;
 5241|       |
 5242|   187k|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|   187k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   187k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   187k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5243|   187k|    Py_XDECREF(exc);
  ------------------
  |  |  524|   187k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   187k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   187k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5244|   187k|    return 0;
 5245|       |
 5246|  2.31k|onError:
 5247|  2.31k|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|  2.31k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5248|  2.31k|    Py_XDECREF(exc);
  ------------------
  |  |  524|  2.31k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5249|  2.31k|    return -1;
 5250|   189k|}
unicodeobject.c:unicode_encode_utf8:
 5684|  9.57k|{
 5685|  9.57k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|  9.57k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  9.57k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (5685:9): [True: 0, False: 9.57k]
  ------------------
 5686|      0|        PyErr_BadArgument();
 5687|      0|        return NULL;
 5688|      0|    }
 5689|       |
 5690|  9.57k|    if (PyUnicode_UTF8(unicode))
  ------------------
  |  Branch (5690:9): [True: 6.29k, False: 3.27k]
  ------------------
 5691|  6.29k|        return PyBytes_FromStringAndSize(PyUnicode_UTF8(unicode),
 5692|  6.29k|                                         PyUnicode_UTF8_LENGTH(unicode));
 5693|       |
 5694|  3.27k|    int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  3.27k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  6.55k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 3.27k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5695|  3.27k|    const void *data = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|  3.27k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5696|  3.27k|    Py_ssize_t size = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|  3.27k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5697|       |
 5698|  3.27k|    PyBytesWriter *writer;
 5699|  3.27k|    char *end;
 5700|       |
 5701|  3.27k|    switch (kind) {
 5702|      0|    default:
  ------------------
  |  Branch (5702:5): [True: 0, False: 3.27k]
  ------------------
 5703|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5704|  1.09k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (5704:5): [True: 1.09k, False: 2.18k]
  ------------------
 5705|       |        /* the string cannot be ASCII, or PyUnicode_UTF8() would be set */
 5706|  1.09k|        assert(!PyUnicode_IS_ASCII(unicode));
  ------------------
  |  Branch (5706:9): [True: 1.09k, False: 0]
  ------------------
 5707|  1.09k|        writer = ucs1lib_utf8_encoder(unicode, data, size,
 5708|  1.09k|                                      error_handler, errors, &end);
 5709|  1.09k|        break;
 5710|  1.96k|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (5710:5): [True: 1.96k, False: 1.31k]
  ------------------
 5711|  1.96k|        writer = ucs2lib_utf8_encoder(unicode, data, size,
 5712|  1.96k|                                      error_handler, errors, &end);
 5713|  1.96k|        break;
 5714|    224|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (5714:5): [True: 224, False: 3.05k]
  ------------------
 5715|    224|        writer = ucs4lib_utf8_encoder(unicode, data, size,
 5716|    224|                                      error_handler, errors, &end);
 5717|    224|        break;
 5718|  3.27k|    }
 5719|       |
 5720|  3.27k|    if (writer == NULL) {
  ------------------
  |  Branch (5720:9): [True: 34, False: 3.24k]
  ------------------
 5721|     34|        PyBytesWriter_Discard(writer);
 5722|     34|        return NULL;
 5723|     34|    }
 5724|  3.24k|    return PyBytesWriter_FinishWithPointer(writer, end);
 5725|  3.27k|}
unicodeobject.c:raise_encode_exception:
 7120|  35.5k|{
 7121|  35.5k|    make_encode_exception(exceptionObject,
 7122|  35.5k|                          encoding, unicode, startpos, endpos, reason);
 7123|  35.5k|    if (*exceptionObject != NULL)
  ------------------
  |  Branch (7123:9): [True: 35.5k, False: 0]
  ------------------
 7124|  35.5k|        PyCodec_StrictErrors(*exceptionObject);
 7125|  35.5k|}
unicodeobject.c:make_encode_exception:
 7094|  35.5k|{
 7095|  35.5k|    if (*exceptionObject == NULL) {
  ------------------
  |  Branch (7095:9): [True: 35.5k, False: 0]
  ------------------
 7096|  35.5k|        *exceptionObject = PyObject_CallFunction(
 7097|  35.5k|            PyExc_UnicodeEncodeError, "sOnns",
 7098|  35.5k|            encoding, unicode, startpos, endpos, reason);
 7099|  35.5k|    }
 7100|      0|    else {
 7101|      0|        if (PyUnicodeEncodeError_SetStart(*exceptionObject, startpos))
  ------------------
  |  Branch (7101:13): [True: 0, False: 0]
  ------------------
 7102|      0|            goto onError;
 7103|      0|        if (PyUnicodeEncodeError_SetEnd(*exceptionObject, endpos))
  ------------------
  |  Branch (7103:13): [True: 0, False: 0]
  ------------------
 7104|      0|            goto onError;
 7105|      0|        if (PyUnicodeEncodeError_SetReason(*exceptionObject, reason))
  ------------------
  |  Branch (7105:13): [True: 0, False: 0]
  ------------------
 7106|      0|            goto onError;
 7107|      0|        return;
 7108|      0|      onError:
 7109|       |        Py_CLEAR(*exceptionObject);
  ------------------
  |  |  484|      0|    do { \
  |  |  485|      0|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      0|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      0|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  488|      0|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      0|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      0|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      0|        } \
  |  |  491|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 7110|      0|    }
 7111|  35.5k|}
unicodeobject.c:unicode_encode_call_errorhandler:
 7138|     34|{
 7139|     34|    static const char *argparse = "On;encoding error handler must return (str/bytes, int) tuple";
 7140|     34|    Py_ssize_t len;
 7141|     34|    PyObject *restuple;
 7142|     34|    PyObject *resunicode;
 7143|       |
 7144|     34|    if (*errorHandler == NULL) {
  ------------------
  |  Branch (7144:9): [True: 34, False: 0]
  ------------------
 7145|     34|        *errorHandler = PyCodec_LookupError(errors);
 7146|     34|        if (*errorHandler == NULL)
  ------------------
  |  Branch (7146:13): [True: 0, False: 34]
  ------------------
 7147|      0|            return NULL;
 7148|     34|    }
 7149|       |
 7150|     34|    len = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|     34|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7151|       |
 7152|     34|    make_encode_exception(exceptionObject,
 7153|     34|                          encoding, unicode, startpos, endpos, reason);
 7154|     34|    if (*exceptionObject == NULL)
  ------------------
  |  Branch (7154:9): [True: 0, False: 34]
  ------------------
 7155|      0|        return NULL;
 7156|       |
 7157|     34|    restuple = PyObject_CallOneArg(*errorHandler, *exceptionObject);
 7158|     34|    if (restuple == NULL)
  ------------------
  |  Branch (7158:9): [True: 34, False: 0]
  ------------------
 7159|     34|        return NULL;
 7160|      0|    if (!PyTuple_Check(restuple)) {
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7160:9): [True: 0, False: 0]
  ------------------
 7161|      0|        PyErr_SetString(PyExc_TypeError, &argparse[3]);
 7162|      0|        Py_DECREF(restuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7163|      0|        return NULL;
 7164|      0|    }
 7165|      0|    if (!PyArg_ParseTuple(restuple, argparse,
  ------------------
  |  Branch (7165:9): [True: 0, False: 0]
  ------------------
 7166|      0|                          &resunicode, newpos)) {
 7167|      0|        Py_DECREF(restuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7168|      0|        return NULL;
 7169|      0|    }
 7170|      0|    if (!PyUnicode_Check(resunicode) && !PyBytes_Check(resunicode)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyUnicode_Check(resunicode) && !PyBytes_Check(resunicode)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7170:9): [True: 0, False: 0]
  |  Branch (7170:41): [True: 0, False: 0]
  ------------------
 7171|      0|        PyErr_SetString(PyExc_TypeError, &argparse[3]);
 7172|      0|        Py_DECREF(restuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7173|      0|        return NULL;
 7174|      0|    }
 7175|      0|    if (*newpos<0)
  ------------------
  |  Branch (7175:9): [True: 0, False: 0]
  ------------------
 7176|      0|        *newpos = len + *newpos;
 7177|      0|    if (*newpos<0 || *newpos>len) {
  ------------------
  |  Branch (7177:9): [True: 0, False: 0]
  |  Branch (7177:22): [True: 0, False: 0]
  ------------------
 7178|      0|        PyErr_Format(PyExc_IndexError, "position %zd from error handler out of bounds", *newpos);
 7179|      0|        Py_DECREF(restuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7180|      0|        return NULL;
 7181|      0|    }
 7182|      0|    Py_INCREF(resunicode);
  ------------------
  |  |  310|      0|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7183|      0|    Py_DECREF(restuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7184|      0|    return resunicode;
 7185|      0|}
unicodeobject.c:unicode_encode_ucs1:
 7191|  35.5k|{
 7192|       |    /* input state */
 7193|  35.5k|    Py_ssize_t pos=0, size;
 7194|  35.5k|    int kind;
 7195|  35.5k|    const void *data;
 7196|  35.5k|    const char *encoding = (limit == 256) ? "latin-1" : "ascii";
  ------------------
  |  Branch (7196:28): [True: 0, False: 35.5k]
  ------------------
 7197|  35.5k|    const char *reason = (limit == 256) ? "ordinal not in range(256)" : "ordinal not in range(128)";
  ------------------
  |  Branch (7197:26): [True: 0, False: 35.5k]
  ------------------
 7198|  35.5k|    PyObject *error_handler_obj = NULL;
 7199|  35.5k|    PyObject *exc = NULL;
 7200|  35.5k|    _Py_error_handler error_handler = _Py_ERROR_UNKNOWN;
 7201|  35.5k|    PyObject *rep = NULL;
 7202|       |
 7203|  35.5k|    size = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|  35.5k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  35.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7204|  35.5k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  35.5k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  71.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 35.5k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7205|  35.5k|    data = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|  35.5k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  35.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.5k|#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|  35.5k|    if (size == 0)
  ------------------
  |  Branch (7208:9): [True: 0, False: 35.5k]
  ------------------
 7209|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|      0|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 7210|       |
 7211|       |    /* output object */
 7212|  35.5k|    PyBytesWriter *writer = PyBytesWriter_Create(size);
 7213|  35.5k|    if (writer == NULL) {
  ------------------
  |  Branch (7213:9): [True: 0, False: 35.5k]
  ------------------
 7214|      0|        return NULL;
 7215|      0|    }
 7216|       |    /* pointer into the output */
 7217|  35.5k|    char *str = PyBytesWriter_GetData(writer);
 7218|       |
 7219|  54.4k|    while (pos < size) {
  ------------------
  |  Branch (7219:12): [True: 54.4k, False: 0]
  ------------------
 7220|  54.4k|        Py_UCS4 ch = PyUnicode_READ(kind, data, pos);
  ------------------
  |  |  354|  54.4k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  54.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  54.4k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  54.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  54.4k|                   (index))
  ------------------
 7221|       |
 7222|       |        /* can we encode this? */
 7223|  54.4k|        if (ch < limit) {
  ------------------
  |  Branch (7223:13): [True: 18.8k, False: 35.5k]
  ------------------
 7224|       |            /* no overflow check, because we know that the space is enough */
 7225|  18.8k|            *str++ = (char)ch;
 7226|  18.8k|            ++pos;
 7227|  18.8k|        }
 7228|  35.5k|        else {
 7229|  35.5k|            Py_ssize_t newpos, i;
 7230|       |            /* startpos for collecting unencodable chars */
 7231|  35.5k|            Py_ssize_t collstart = pos;
 7232|  35.5k|            Py_ssize_t collend = collstart + 1;
 7233|       |            /* find all unecodable characters */
 7234|       |
 7235|   310k|            while ((collend < size) && (PyUnicode_READ(kind, data, collend) >= limit))
  ------------------
  |  |  354|   283k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   283k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   283k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   283k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   283k|                   (index))
  ------------------
  |  Branch (7235:20): [True: 283k, False: 27.7k]
  |  Branch (7235:40): [True: 275k, False: 7.72k]
  ------------------
 7236|   275k|                ++collend;
 7237|       |
 7238|       |            /* Only overallocate the buffer if it's not the last write */
 7239|  35.5k|            writer->overallocate = (collend < size);
 7240|       |
 7241|       |            /* cache callback name lookup (if not done yet, i.e. it's the first error) */
 7242|  35.5k|            if (error_handler == _Py_ERROR_UNKNOWN)
  ------------------
  |  Branch (7242:17): [True: 35.5k, False: 0]
  ------------------
 7243|  35.5k|                error_handler = _Py_GetErrorHandler(errors);
 7244|       |
 7245|  35.5k|            switch (error_handler) {
 7246|  35.5k|            case _Py_ERROR_STRICT:
  ------------------
  |  Branch (7246:13): [True: 35.5k, False: 0]
  ------------------
 7247|  35.5k|                raise_encode_exception(&exc, encoding, unicode, collstart, collend, reason);
 7248|  35.5k|                goto onError;
 7249|       |
 7250|      0|            case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (7250:13): [True: 0, False: 35.5k]
  ------------------
 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: 35.5k]
  ------------------
 7255|      0|                pos = collend;
 7256|      0|                break;
 7257|       |
 7258|      0|            case _Py_ERROR_BACKSLASHREPLACE:
  ------------------
  |  Branch (7258:13): [True: 0, False: 35.5k]
  ------------------
 7259|       |                /* subtract preallocated bytes */
 7260|      0|                writer->size -= (collend - collstart);
 7261|      0|                str = backslashreplace(writer, str,
 7262|      0|                                       unicode, collstart, collend);
 7263|      0|                if (str == NULL)
  ------------------
  |  Branch (7263:21): [True: 0, False: 0]
  ------------------
 7264|      0|                    goto onError;
 7265|      0|                pos = collend;
 7266|      0|                break;
 7267|       |
 7268|      0|            case _Py_ERROR_XMLCHARREFREPLACE:
  ------------------
  |  Branch (7268:13): [True: 0, False: 35.5k]
  ------------------
 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: 35.5k]
  ------------------
 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: 35.5k]
  ------------------
 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|  35.5k|            }
 7351|       |
 7352|       |            /* If overallocation was disabled, ensure that it was the last
 7353|       |               write. Otherwise, we missed an optimization */
 7354|  35.5k|            assert(writer->overallocate || pos == size);
  ------------------
  |  Branch (7354:13): [True: 0, False: 0]
  |  Branch (7354:13): [True: 0, False: 0]
  ------------------
 7355|      0|        }
 7356|  54.4k|    }
 7357|       |
 7358|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7359|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7360|      0|    return PyBytesWriter_FinishWithPointer(writer, str);
 7361|       |
 7362|  35.5k|  onError:
 7363|  35.5k|    Py_XDECREF(rep);
  ------------------
  |  |  524|  35.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  35.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7364|  35.5k|    PyBytesWriter_Discard(writer);
 7365|  35.5k|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|  35.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  35.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7366|  35.5k|    Py_XDECREF(exc);
  ------------------
  |  |  524|  35.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  35.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7367|       |    return NULL;
 7368|  35.5k|}
unicodeobject.c:iconv_open_or_set_error:
 8229|    365|{
 8230|    365|    iconv_t cd = iconv_open(tocode, fromcode);
 8231|    365|    if (cd == (iconv_t)-1) {
  ------------------
  |  Branch (8231:9): [True: 223, False: 142]
  ------------------
 8232|    223|        if (errno == EINVAL) {
  ------------------
  |  Branch (8232:13): [True: 223, False: 0]
  ------------------
 8233|    223|            PyErr_Format(PyExc_LookupError, "unknown encoding: %s", encoding);
 8234|    223|        }
 8235|      0|        else {
 8236|      0|            PyErr_SetFromErrno(PyExc_OSError);
 8237|      0|        }
 8238|    223|    }
 8239|    365|    return cd;
 8240|    365|}
unicodeobject.c:charmap_decode_string:
 8593|  1.68k|{
 8594|  1.68k|    const char *starts = s;
 8595|  1.68k|    const char *e;
 8596|  1.68k|    Py_ssize_t startinpos, endinpos;
 8597|  1.68k|    PyObject *errorHandler = NULL, *exc = NULL;
 8598|  1.68k|    Py_ssize_t maplen;
 8599|  1.68k|    int mapkind;
 8600|  1.68k|    const void *mapdata;
 8601|  1.68k|    Py_UCS4 x;
 8602|  1.68k|    unsigned char ch;
 8603|       |
 8604|  1.68k|    maplen = PyUnicode_GET_LENGTH(mapping);
  ------------------
  |  |  299|  1.68k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8605|  1.68k|    mapdata = PyUnicode_DATA(mapping);
  ------------------
  |  |  284|  1.68k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8606|  1.68k|    mapkind = PyUnicode_KIND(mapping);
  ------------------
  |  |  258|  1.68k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  3.36k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1.68k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8607|       |
 8608|      0|    e = s + size;
 8609|       |
 8610|  1.68k|    if (mapkind == PyUnicode_1BYTE_KIND && maplen >= 256) {
  ------------------
  |  Branch (8610:9): [True: 16, False: 1.66k]
  |  Branch (8610:44): [True: 16, False: 0]
  ------------------
 8611|       |        /* fast-path for cp037, cp500 and iso8859_1 encodings. iso8859_1
 8612|       |         * is disabled in encoding aliases, latin1 is preferred because
 8613|       |         * its implementation is faster. */
 8614|     16|        const Py_UCS1 *mapdata_ucs1 = (const Py_UCS1 *)mapdata;
 8615|     16|        Py_UCS1 *outdata = (Py_UCS1 *)writer->data;
 8616|     16|        Py_UCS4 maxchar = writer->maxchar;
 8617|       |
 8618|     16|        assert (writer->kind == PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (8618:9): [True: 16, False: 0]
  ------------------
 8619|  2.05k|        while (s < e) {
  ------------------
  |  Branch (8619:16): [True: 2.03k, False: 16]
  ------------------
 8620|  2.03k|            ch = *s;
 8621|  2.03k|            x = mapdata_ucs1[ch];
 8622|  2.03k|            if (x > maxchar) {
  ------------------
  |  Branch (8622:17): [True: 16, False: 2.01k]
  ------------------
 8623|     16|                if (_PyUnicodeWriter_Prepare(writer, 1, 0xff) == -1)
  ------------------
  |  |  562|     16|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 0, False: 16]
  |  |  ------------------
  |  |  563|     16|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  564|     16|     ? 0                                                              \
  |  |  565|     16|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [Folded, False: 16]
  |  |  ------------------
  |  |  566|     16|        ? 0                                                           \
  |  |  567|     16|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (8623:21): [True: 0, False: 16]
  ------------------
 8624|      0|                    goto onError;
 8625|     16|                maxchar = writer->maxchar;
 8626|     16|                outdata = (Py_UCS1 *)writer->data;
 8627|     16|            }
 8628|  2.03k|            outdata[writer->pos] = x;
 8629|  2.03k|            writer->pos++;
 8630|  2.03k|            ++s;
 8631|  2.03k|        }
 8632|     16|        return 0;
 8633|     16|    }
 8634|       |
 8635|  4.42k|    while (s < e) {
  ------------------
  |  Branch (8635:12): [True: 4.41k, False: 3]
  ------------------
 8636|  4.41k|        if (mapkind == PyUnicode_2BYTE_KIND && maplen >= 256) {
  ------------------
  |  Branch (8636:13): [True: 4.41k, False: 0]
  |  Branch (8636:48): [True: 4.41k, False: 0]
  ------------------
 8637|  4.41k|            int outkind = writer->kind;
 8638|  4.41k|            const Py_UCS2 *mapdata_ucs2 = (const Py_UCS2 *)mapdata;
 8639|  4.41k|            if (outkind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (8639:17): [True: 2.99k, False: 1.41k]
  ------------------
 8640|  2.99k|                Py_UCS1 *outdata = (Py_UCS1 *)writer->data;
 8641|  2.99k|                Py_UCS4 maxchar = writer->maxchar;
 8642|   541k|                while (s < e) {
  ------------------
  |  Branch (8642:24): [True: 541k, False: 236]
  ------------------
 8643|   541k|                    ch = *s;
 8644|   541k|                    x = mapdata_ucs2[ch];
 8645|   541k|                    if (x > maxchar)
  ------------------
  |  Branch (8645:25): [True: 2.76k, False: 538k]
  ------------------
 8646|  2.76k|                        goto Error;
 8647|   538k|                    outdata[writer->pos] = x;
 8648|   538k|                    writer->pos++;
 8649|   538k|                    ++s;
 8650|   538k|                }
 8651|    236|                break;
 8652|  2.99k|            }
 8653|  1.41k|            else if (outkind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (8653:22): [True: 1.41k, False: 0]
  ------------------
 8654|  1.41k|                Py_UCS2 *outdata = (Py_UCS2 *)writer->data;
 8655|  3.67M|                while (s < e) {
  ------------------
  |  Branch (8655:24): [True: 3.67M, False: 1.40k]
  ------------------
 8656|  3.67M|                    ch = *s;
 8657|  3.67M|                    x = mapdata_ucs2[ch];
 8658|  3.67M|                    if (x == 0xFFFE)
  ------------------
  |  Branch (8658:25): [True: 14, False: 3.67M]
  ------------------
 8659|     14|                        goto Error;
 8660|  3.67M|                    outdata[writer->pos] = x;
 8661|  3.67M|                    writer->pos++;
 8662|  3.67M|                    ++s;
 8663|  3.67M|                }
 8664|  1.40k|                break;
 8665|  1.41k|            }
 8666|  4.41k|        }
 8667|      0|        ch = *s;
 8668|       |
 8669|      0|        if (ch < maplen)
  ------------------
  |  Branch (8669:13): [True: 0, False: 0]
  ------------------
 8670|      0|            x = PyUnicode_READ(mapkind, mapdata, 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))
  ------------------
 8671|      0|        else
 8672|      0|            x = 0xfffe; /* invalid value */
 8673|  2.77k|Error:
 8674|  2.77k|        if (x == 0xfffe)
  ------------------
  |  Branch (8674:13): [True: 24, False: 2.75k]
  ------------------
 8675|     24|        {
 8676|       |            /* undefined mapping */
 8677|     24|            startinpos = s-starts;
 8678|     24|            endinpos = startinpos+1;
 8679|     24|            if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (8679:17): [True: 24, False: 0]
  ------------------
 8680|     24|                    errors, &errorHandler,
 8681|     24|                    "charmap", "character maps to <undefined>",
 8682|     24|                    &starts, &e, &startinpos, &endinpos, &exc, &s,
 8683|     24|                    writer)) {
 8684|     24|                goto onError;
 8685|     24|            }
 8686|      0|            continue;
 8687|     24|        }
 8688|       |
 8689|  2.75k|        if (_PyUnicodeWriter_WriteCharInline(writer, x) < 0)
  ------------------
  |  Branch (8689:13): [True: 0, False: 2.75k]
  ------------------
 8690|      0|            goto onError;
 8691|  2.75k|        ++s;
 8692|  2.75k|    }
 8693|  1.64k|    Py_XDECREF(errorHandler);
  ------------------
  |  |  524|  1.64k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8694|  1.64k|    Py_XDECREF(exc);
  ------------------
  |  |  524|  1.64k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8695|  1.64k|    return 0;
 8696|       |
 8697|     24|onError:
 8698|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8699|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8700|     24|    return -1;
 8701|  1.66k|}
unicodeobject.c:_PyUnicode_TranslateCharmap:
 9720|     48|{
 9721|       |    /* input object */
 9722|     48|    const void *data;
 9723|     48|    Py_ssize_t size, i;
 9724|     48|    int kind;
 9725|       |    /* output buffer */
 9726|     48|    _PyUnicodeWriter writer;
 9727|       |    /* error handler */
 9728|     48|    const char *reason = "character maps to <undefined>";
 9729|     48|    PyObject *errorHandler = NULL;
 9730|     48|    PyObject *exc = NULL;
 9731|     48|    int ignore;
 9732|     48|    int res;
 9733|       |
 9734|     48|    if (mapping == NULL) {
  ------------------
  |  Branch (9734:9): [True: 0, False: 48]
  ------------------
 9735|      0|        PyErr_BadArgument();
 9736|      0|        return NULL;
 9737|      0|    }
 9738|       |
 9739|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9740|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9741|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9742|       |
 9743|     48|    if (size == 0)
  ------------------
  |  Branch (9743:9): [True: 0, False: 48]
  ------------------
 9744|      0|        return PyUnicode_FromObject(input);
 9745|       |
 9746|       |    /* allocate enough for a simple 1:1 translation without
 9747|       |       replacements, if we need more, we'll resize */
 9748|     48|    _PyUnicodeWriter_Init(&writer);
 9749|     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 (9749:9): [True: 0, False: 48]
  ------------------
 9750|      0|        goto onError;
 9751|       |
 9752|     48|    ignore = (errors != NULL && strcmp(errors, "ignore") == 0);
  ------------------
  |  Branch (9752:15): [True: 48, False: 0]
  |  Branch (9752:33): [True: 48, False: 0]
  ------------------
 9753|       |
 9754|     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]
  |  |  ------------------
  ------------------
 9755|     48|        res = unicode_fast_translate(input, mapping, &writer, ignore, &i);
 9756|     48|        if (res < 0) {
  ------------------
  |  Branch (9756:13): [True: 0, False: 48]
  ------------------
 9757|      0|            _PyUnicodeWriter_Dealloc(&writer);
 9758|      0|            return NULL;
 9759|      0|        }
 9760|     48|        if (res == 1)
  ------------------
  |  Branch (9760:13): [True: 24, False: 24]
  ------------------
 9761|     24|            return _PyUnicodeWriter_Finish(&writer);
 9762|     48|    }
 9763|      0|    else {
 9764|      0|        i = 0;
 9765|      0|    }
 9766|       |
 9767|     60|    while (i<size) {
  ------------------
  |  Branch (9767:12): [True: 36, False: 24]
  ------------------
 9768|       |        /* try to encode it */
 9769|     36|        int translate;
 9770|     36|        PyObject *repunicode = NULL; /* initialize to prevent gcc warning */
 9771|     36|        Py_ssize_t newpos;
 9772|       |        /* startpos for collecting untranslatable chars */
 9773|     36|        Py_ssize_t collstart;
 9774|     36|        Py_ssize_t collend;
 9775|     36|        Py_UCS4 ch;
 9776|       |
 9777|     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))
  ------------------
 9778|     36|        translate = charmaptranslate_output(ch, mapping, &writer);
 9779|     36|        if (translate < 0)
  ------------------
  |  Branch (9779:13): [True: 0, False: 36]
  ------------------
 9780|      0|            goto onError;
 9781|       |
 9782|     36|        if (translate != 0) {
  ------------------
  |  Branch (9782:13): [True: 36, False: 0]
  ------------------
 9783|       |            /* it worked => adjust input pointer */
 9784|     36|            ++i;
 9785|     36|            continue;
 9786|     36|        }
 9787|       |
 9788|       |        /* untranslatable character */
 9789|      0|        collstart = i;
 9790|      0|        collend = i+1;
 9791|       |
 9792|       |        /* find all untranslatable characters */
 9793|      0|        while (collend < size) {
  ------------------
  |  Branch (9793:16): [True: 0, False: 0]
  ------------------
 9794|      0|            PyObject *x;
 9795|      0|            Py_UCS4 replace;
 9796|      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))
  ------------------
 9797|      0|            if (charmaptranslate_lookup(ch, mapping, &x, &replace))
  ------------------
  |  Branch (9797:17): [True: 0, False: 0]
  ------------------
 9798|      0|                goto onError;
 9799|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9800|      0|            if (x != Py_None)
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9800:17): [True: 0, False: 0]
  ------------------
 9801|      0|                break;
 9802|      0|            ++collend;
 9803|      0|        }
 9804|       |
 9805|      0|        if (ignore) {
  ------------------
  |  Branch (9805:13): [True: 0, False: 0]
  ------------------
 9806|      0|            i = collend;
 9807|      0|        }
 9808|      0|        else {
 9809|      0|            repunicode = unicode_translate_call_errorhandler(errors, &errorHandler,
 9810|      0|                                                             reason, input, &exc,
 9811|      0|                                                             collstart, collend, &newpos);
 9812|      0|            if (repunicode == NULL)
  ------------------
  |  Branch (9812:17): [True: 0, False: 0]
  ------------------
 9813|      0|                goto onError;
 9814|      0|            if (_PyUnicodeWriter_WriteStr(&writer, repunicode) < 0) {
  ------------------
  |  Branch (9814:17): [True: 0, False: 0]
  ------------------
 9815|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9816|      0|                goto onError;
 9817|      0|            }
 9818|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9819|      0|            i = newpos;
 9820|      0|        }
 9821|      0|    }
 9822|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9823|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9824|     24|    return _PyUnicodeWriter_Finish(&writer);
 9825|       |
 9826|      0|  onError:
 9827|      0|    _PyUnicodeWriter_Dealloc(&writer);
 9828|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9829|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9830|       |    return NULL;
 9831|     24|}
unicodeobject.c:unicode_fast_translate:
 9669|     48|{
 9670|     48|    Py_UCS1 ascii_table[128], ch, ch2;
 9671|     48|    Py_ssize_t len;
 9672|     48|    const Py_UCS1 *in, *end;
 9673|     48|    Py_UCS1 *out;
 9674|     48|    int res = 0;
 9675|       |
 9676|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9677|       |
 9678|     48|    memset(ascii_table, 0xff, 128);
 9679|       |
 9680|     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))
  |  |  ------------------
  ------------------
 9681|     48|    end = in + len;
 9682|       |
 9683|     48|    assert(PyUnicode_IS_ASCII(writer->buffer));
  ------------------
  |  Branch (9683:5): [True: 48, False: 0]
  ------------------
 9684|     48|    assert(PyUnicode_GET_LENGTH(writer->buffer) == len);
  ------------------
  |  Branch (9684:5): [True: 48, False: 0]
  ------------------
 9685|     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))
  |  |  ------------------
  ------------------
 9686|       |
 9687|     89|    for (; in < end; in++) {
  ------------------
  |  Branch (9687:12): [True: 65, False: 24]
  ------------------
 9688|     65|        ch = *in;
 9689|     65|        ch2 = ascii_table[ch];
 9690|     65|        if (ch2 == 0xff) {
  ------------------
  |  Branch (9690:13): [True: 58, False: 7]
  ------------------
 9691|     58|            int translate = unicode_fast_translate_lookup(mapping, ch,
 9692|     58|                                                          ascii_table);
 9693|     58|            if (translate < 0)
  ------------------
  |  Branch (9693:17): [True: 0, False: 58]
  ------------------
 9694|      0|                return -1;
 9695|     58|            if (translate == 0)
  ------------------
  |  Branch (9695:17): [True: 24, False: 34]
  ------------------
 9696|     24|                goto exit;
 9697|     34|            ch2 = ascii_table[ch];
 9698|     34|        }
 9699|     41|        if (ch2 == 0xfe) {
  ------------------
  |  Branch (9699:13): [True: 0, False: 41]
  ------------------
 9700|      0|            if (ignore)
  ------------------
  |  Branch (9700:17): [True: 0, False: 0]
  ------------------
 9701|      0|                continue;
 9702|      0|            goto exit;
 9703|      0|        }
 9704|     41|        assert(ch2 < 128);
  ------------------
  |  Branch (9704:9): [True: 41, False: 0]
  ------------------
 9705|     41|        *out = ch2;
 9706|     41|        out++;
 9707|     41|    }
 9708|     24|    res = 1;
 9709|       |
 9710|     48|exit:
 9711|     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))
  |  |  ------------------
  ------------------
 9712|     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))
  |  |  ------------------
  ------------------
 9713|     48|    return res;
 9714|     24|}
unicodeobject.c:unicode_fast_translate_lookup:
 9616|     58|{
 9617|     58|    PyObject *item = NULL;
 9618|     58|    Py_UCS4 replace;
 9619|     58|    int ret = 0;
 9620|       |
 9621|     58|    if (charmaptranslate_lookup(ch, mapping, &item, &replace)) {
  ------------------
  |  Branch (9621:9): [True: 0, False: 58]
  ------------------
 9622|      0|        return -1;
 9623|      0|    }
 9624|       |
 9625|     58|    if (item == Py_None) {
  ------------------
  |  |  616|     58|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9625:9): [True: 0, False: 58]
  ------------------
 9626|       |        /* deletion */
 9627|      0|        translate[ch] = 0xfe;
 9628|      0|    }
 9629|     58|    else if (item == NULL) {
  ------------------
  |  Branch (9629:14): [True: 34, False: 24]
  ------------------
 9630|       |        /* not found => default to 1:1 mapping */
 9631|     34|        translate[ch] = ch;
 9632|     34|        return 1;
 9633|     34|    }
 9634|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9635|      0|        if (replace > 127) {
  ------------------
  |  Branch (9635:13): [True: 0, False: 0]
  ------------------
 9636|       |            /* invalid character or character outside ASCII:
 9637|       |               skip the fast translate */
 9638|      0|            goto exit;
 9639|      0|        }
 9640|      0|        translate[ch] = (Py_UCS1)replace;
 9641|      0|    }
 9642|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9643|     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 (9643:13): [True: 24, False: 0]
  ------------------
 9644|     24|            goto exit;
 9645|       |
 9646|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9647|      0|        if (replace > 127)
  ------------------
  |  Branch (9647:13): [True: 0, False: 0]
  ------------------
 9648|      0|            goto exit;
 9649|      0|        translate[ch] = (Py_UCS1)replace;
 9650|      0|    }
 9651|      0|    else {
 9652|       |        /* not None, NULL, long or unicode */
 9653|      0|        goto exit;
 9654|      0|    }
 9655|      0|    ret = 1;
 9656|       |
 9657|     24|  exit:
 9658|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9659|     24|    return ret;
 9660|      0|}
unicodeobject.c:charmaptranslate_output:
 9570|     36|{
 9571|     36|    PyObject *item;
 9572|     36|    Py_UCS4 replace;
 9573|       |
 9574|     36|    if (charmaptranslate_lookup(ch, mapping, &item, &replace))
  ------------------
  |  Branch (9574:9): [True: 0, False: 36]
  ------------------
 9575|      0|        return -1;
 9576|       |
 9577|     36|    if (item == NULL) {
  ------------------
  |  Branch (9577:9): [True: 8, False: 28]
  ------------------
 9578|       |        /* not found => default to 1:1 mapping */
 9579|      8|        if (_PyUnicodeWriter_WriteCharInline(writer, ch) < 0) {
  ------------------
  |  Branch (9579:13): [True: 0, False: 8]
  ------------------
 9580|      0|            return -1;
 9581|      0|        }
 9582|      8|        return 1;
 9583|      8|    }
 9584|       |
 9585|     28|    if (item == Py_None) {
  ------------------
  |  |  616|     28|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9585:9): [True: 0, False: 28]
  ------------------
 9586|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9587|      0|        return 0;
 9588|      0|    }
 9589|       |
 9590|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9591|      0|        if (_PyUnicodeWriter_WriteCharInline(writer, replace) < 0) {
  ------------------
  |  Branch (9591:13): [True: 0, False: 0]
  ------------------
 9592|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9593|      0|            return -1;
 9594|      0|        }
 9595|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9596|      0|        return 1;
 9597|      0|    }
 9598|       |
 9599|     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 (9599:9): [True: 0, False: 28]
  ------------------
 9600|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9601|      0|        return -1;
 9602|      0|    }
 9603|       |
 9604|     28|    if (_PyUnicodeWriter_WriteStr(writer, item) < 0) {
  ------------------
  |  Branch (9604:9): [True: 0, False: 28]
  ------------------
 9605|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9606|      0|        return -1;
 9607|      0|    }
 9608|       |
 9609|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9610|     28|    return 1;
 9611|     28|}
unicodeobject.c:charmaptranslate_lookup:
 9512|     94|{
 9513|     94|    PyObject *w = PyLong_FromLong((long)c);
 9514|     94|    PyObject *x;
 9515|       |
 9516|     94|    if (w == NULL)
  ------------------
  |  Branch (9516:9): [True: 0, False: 94]
  ------------------
 9517|      0|        return -1;
 9518|     94|    int rc = PyMapping_GetOptionalItem(mapping, w, &x);
 9519|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9520|     94|    if (rc == 0) {
  ------------------
  |  Branch (9520:9): [True: 42, False: 52]
  ------------------
 9521|       |        /* No mapping found means: use 1:1 mapping. */
 9522|     42|        *result = NULL;
 9523|     42|        return 0;
 9524|     42|    }
 9525|     52|    if (x == NULL) {
  ------------------
  |  Branch (9525:9): [True: 0, False: 52]
  ------------------
 9526|      0|        if (PyErr_ExceptionMatches(PyExc_LookupError)) {
  ------------------
  |  Branch (9526:13): [True: 0, False: 0]
  ------------------
 9527|       |            /* No mapping found means: use 1:1 mapping. */
 9528|      0|            PyErr_Clear();
 9529|      0|            *result = NULL;
 9530|      0|            return 0;
 9531|      0|        } else
 9532|      0|            return -1;
 9533|      0|    }
 9534|     52|    else if (x == Py_None) {
  ------------------
  |  |  616|     52|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9534:14): [True: 0, False: 52]
  ------------------
 9535|      0|        *result = x;
 9536|      0|        return 0;
 9537|      0|    }
 9538|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9539|      0|        long value = PyLong_AsLong(x);
 9540|      0|        if (value < 0 || value > MAX_UNICODE) {
  ------------------
  |  |  108|      0|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|      0|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (9540:13): [True: 0, False: 0]
  |  Branch (9540:26): [True: 0, False: 0]
  ------------------
 9541|      0|            PyErr_Format(PyExc_ValueError,
 9542|      0|                         "character mapping must be in range(0x%lx)",
 9543|      0|                         (unsigned long)MAX_UNICODE + 1);
  ------------------
  |  |  108|      0|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|      0|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
 9544|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9545|      0|            return -1;
 9546|      0|        }
 9547|      0|        *result = x;
 9548|      0|        *replace = (Py_UCS4)value;
 9549|      0|        return 0;
 9550|      0|    }
 9551|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9552|     52|        *result = x;
 9553|     52|        return 0;
 9554|     52|    }
 9555|      0|    else {
 9556|       |        /* wrong return value */
 9557|      0|        PyErr_SetString(PyExc_TypeError,
 9558|      0|                        "character mapping must return integer, None or str");
 9559|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9560|      0|        return -1;
 9561|      0|    }
 9562|     52|}
unicodeobject.c:any_find_slice:
 9916|  5.91k|{
 9917|  5.91k|    int kind1, kind2;
 9918|  5.91k|    const void *buf1, *buf2;
 9919|  5.91k|    Py_ssize_t len1, len2, result;
 9920|       |
 9921|  5.91k|    kind1 = PyUnicode_KIND(s1);
  ------------------
  |  |  258|  5.91k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  11.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 5.91k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9922|  5.91k|    kind2 = PyUnicode_KIND(s2);
  ------------------
  |  |  258|  5.91k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  11.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 5.91k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9923|  5.91k|    if (kind1 < kind2)
  ------------------
  |  Branch (9923:9): [True: 0, False: 5.91k]
  ------------------
 9924|      0|        return -1;
 9925|       |
 9926|  5.91k|    len1 = PyUnicode_GET_LENGTH(s1);
  ------------------
  |  |  299|  5.91k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9927|  5.91k|    len2 = PyUnicode_GET_LENGTH(s2);
  ------------------
  |  |  299|  5.91k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9928|  5.91k|    ADJUST_INDICES(start, end, len1);
  ------------------
  |  | 9893|  5.91k|    do {                                \
  |  | 9894|  5.91k|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (9894:13): [True: 93, False: 5.82k]
  |  |  ------------------
  |  | 9895|     93|            end = len;                  \
  |  | 9896|     93|        }                               \
  |  | 9897|  5.91k|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (9897:18): [True: 0, False: 5.82k]
  |  |  ------------------
  |  | 9898|      0|            end += len;                 \
  |  | 9899|      0|            if (end < 0) {              \
  |  |  ------------------
  |  |  |  Branch (9899:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9900|      0|                end = 0;                \
  |  | 9901|      0|            }                           \
  |  | 9902|      0|        }                               \
  |  | 9903|  5.91k|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (9903:13): [True: 0, False: 5.91k]
  |  |  ------------------
  |  | 9904|      0|            start += len;               \
  |  | 9905|      0|            if (start < 0) {            \
  |  |  ------------------
  |  |  |  Branch (9905:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9906|      0|                start = 0;              \
  |  | 9907|      0|            }                           \
  |  | 9908|      0|        }                               \
  |  | 9909|  5.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (9909:14): [Folded, False: 5.91k]
  |  |  ------------------
  ------------------
 9929|  5.91k|    if (end - start < len2)
  ------------------
  |  Branch (9929:9): [True: 0, False: 5.91k]
  ------------------
 9930|      0|        return -1;
 9931|       |
 9932|  5.91k|    buf1 = PyUnicode_DATA(s1);
  ------------------
  |  |  284|  5.91k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9933|  5.91k|    buf2 = PyUnicode_DATA(s2);
  ------------------
  |  |  284|  5.91k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9934|  5.91k|    if (len2 == 1) {
  ------------------
  |  Branch (9934:9): [True: 5.91k, False: 0]
  ------------------
 9935|  5.91k|        Py_UCS4 ch = PyUnicode_READ(kind2, buf2, 0);
  ------------------
  |  |  354|  5.91k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  5.91k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  5.91k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  5.91k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  5.91k|                   (index))
  ------------------
 9936|  5.91k|        result = findchar((const char *)buf1 + kind1*start,
 9937|  5.91k|                          kind1, end - start, ch, direction);
 9938|  5.91k|        if (result == -1)
  ------------------
  |  Branch (9938:13): [True: 5.69k, False: 224]
  ------------------
 9939|  5.69k|            return -1;
 9940|    224|        else
 9941|    224|            return start + result;
 9942|  5.91k|    }
 9943|       |
 9944|      0|    if (kind2 != kind1) {
  ------------------
  |  Branch (9944:9): [True: 0, False: 0]
  ------------------
 9945|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
 9946|      0|        if (!buf2)
  ------------------
  |  Branch (9946:13): [True: 0, False: 0]
  ------------------
 9947|      0|            return -2;
 9948|      0|    }
 9949|       |
 9950|      0|    if (direction > 0) {
  ------------------
  |  Branch (9950:9): [True: 0, False: 0]
  ------------------
 9951|      0|        switch (kind1) {
 9952|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (9952:9): [True: 0, False: 0]
  ------------------
 9953|      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]
  |  |  ------------------
  ------------------
 9954|      0|                result = asciilib_find_slice(buf1, len1, buf2, len2, start, end);
 9955|      0|            else
 9956|      0|                result = ucs1lib_find_slice(buf1, len1, buf2, len2, start, end);
 9957|      0|            break;
 9958|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (9958:9): [True: 0, False: 0]
  ------------------
 9959|      0|            result = ucs2lib_find_slice(buf1, len1, buf2, len2, start, end);
 9960|      0|            break;
 9961|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (9961:9): [True: 0, False: 0]
  ------------------
 9962|      0|            result = ucs4lib_find_slice(buf1, len1, buf2, len2, start, end);
 9963|      0|            break;
 9964|      0|        default:
  ------------------
  |  Branch (9964:9): [True: 0, False: 0]
  ------------------
 9965|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 9966|      0|        }
 9967|      0|    }
 9968|      0|    else {
 9969|      0|        switch (kind1) {
 9970|      0|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (9970:9): [True: 0, False: 0]
  ------------------
 9971|      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]
  |  |  ------------------
  ------------------
 9972|      0|                result = asciilib_rfind_slice(buf1, len1, buf2, len2, start, end);
 9973|      0|            else
 9974|      0|                result = ucs1lib_rfind_slice(buf1, len1, buf2, len2, start, end);
 9975|      0|            break;
 9976|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (9976:9): [True: 0, False: 0]
  ------------------
 9977|      0|            result = ucs2lib_rfind_slice(buf1, len1, buf2, len2, start, end);
 9978|      0|            break;
 9979|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (9979:9): [True: 0, False: 0]
  ------------------
 9980|      0|            result = ucs4lib_rfind_slice(buf1, len1, buf2, len2, start, end);
 9981|      0|            break;
 9982|      0|        default:
  ------------------
  |  Branch (9982:9): [True: 0, False: 0]
  ------------------
 9983|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 9984|      0|        }
 9985|      0|    }
 9986|       |
 9987|      0|    assert((kind2 != kind1) == (buf2 != PyUnicode_DATA(s2)));
  ------------------
  |  Branch (9987:5): [True: 0, False: 0]
  ------------------
 9988|      0|    if (kind2 != kind1)
  ------------------
  |  Branch (9988:9): [True: 0, False: 0]
  ------------------
 9989|      0|        PyMem_Free((void *)buf2);
 9990|       |
 9991|      0|    return result;
 9992|      0|}
unicodeobject.c:tailmatch:
10046|   163k|{
10047|   163k|    int kind_self;
10048|   163k|    int kind_sub;
10049|   163k|    const void *data_self;
10050|   163k|    const void *data_sub;
10051|   163k|    Py_ssize_t offset;
10052|   163k|    Py_ssize_t i;
10053|   163k|    Py_ssize_t end_sub;
10054|       |
10055|   163k|    ADJUST_INDICES(start, end, PyUnicode_GET_LENGTH(self));
  ------------------
  |  | 9893|   163k|    do {                                \
  |  | 9894|   163k|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (9894:13): [True: 163k, False: 0]
  |  |  ------------------
  |  | 9895|   163k|            end = len;                  \
  |  | 9896|   163k|        }                               \
  |  | 9897|   163k|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (9897:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 9898|      0|            end += len;                 \
  |  | 9899|      0|            if (end < 0) {              \
  |  |  ------------------
  |  |  |  Branch (9899:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9900|      0|                end = 0;                \
  |  | 9901|      0|            }                           \
  |  | 9902|      0|        }                               \
  |  | 9903|   163k|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (9903:13): [True: 0, False: 163k]
  |  |  ------------------
  |  | 9904|      0|            start += len;               \
  |  | 9905|      0|            if (start < 0) {            \
  |  |  ------------------
  |  |  |  Branch (9905:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9906|      0|                start = 0;              \
  |  | 9907|      0|            }                           \
  |  | 9908|      0|        }                               \
  |  | 9909|   163k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (9909:14): [Folded, False: 163k]
  |  |  ------------------
  ------------------
10056|   163k|    end -= PyUnicode_GET_LENGTH(substring);
  ------------------
  |  |  299|   163k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   163k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   163k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10057|   163k|    if (end < start)
  ------------------
  |  Branch (10057:9): [True: 4.85k, False: 158k]
  ------------------
10058|  4.85k|        return 0;
10059|       |
10060|   158k|    if (PyUnicode_GET_LENGTH(substring) == 0)
  ------------------
  |  |  299|   158k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   158k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   158k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10060:9): [True: 0, False: 158k]
  ------------------
10061|      0|        return 1;
10062|       |
10063|   158k|    kind_self = PyUnicode_KIND(self);
  ------------------
  |  |  258|   158k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   317k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 158k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10064|   158k|    data_self = PyUnicode_DATA(self);
  ------------------
  |  |  284|   158k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   158k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   158k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10065|   158k|    kind_sub = PyUnicode_KIND(substring);
  ------------------
  |  |  258|   158k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   317k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 158k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10066|   158k|    data_sub = PyUnicode_DATA(substring);
  ------------------
  |  |  284|   158k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   158k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   158k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10067|   158k|    end_sub = PyUnicode_GET_LENGTH(substring) - 1;
  ------------------
  |  |  299|   158k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   158k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   158k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10068|       |
10069|   158k|    if (direction > 0)
  ------------------
  |  Branch (10069:9): [True: 48.4k, False: 110k]
  ------------------
10070|  48.4k|        offset = end;
10071|   110k|    else
10072|   110k|        offset = start;
10073|       |
10074|   158k|    if (PyUnicode_READ(kind_self, data_self, offset) ==
  ------------------
  |  |  354|   158k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   158k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   158k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   158k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   158k|                   (index))
  ------------------
  |  Branch (10074:9): [True: 147k, False: 11.4k]
  ------------------
10075|   158k|        PyUnicode_READ(kind_sub, data_sub, 0) &&
  ------------------
  |  |  354|   317k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   158k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   317k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   158k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   317k|                   (index))
  ------------------
10076|   147k|        PyUnicode_READ(kind_self, data_self, offset + end_sub) ==
  ------------------
  |  |  354|   147k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   147k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   147k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   147k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   147k|                   (index))
  ------------------
  |  Branch (10076:9): [True: 98.7k, False: 48.6k]
  ------------------
10077|   147k|        PyUnicode_READ(kind_sub, data_sub, end_sub)) {
  ------------------
  |  |  354|   147k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   147k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   147k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   147k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   147k|                   (index))
  ------------------
10078|       |        /* If both are of the same kind, memcmp is sufficient */
10079|  98.7k|        if (kind_self == kind_sub) {
  ------------------
  |  Branch (10079:13): [True: 97.0k, False: 1.64k]
  ------------------
10080|  97.0k|            return ! memcmp((char *)data_self +
10081|  97.0k|                                (offset * PyUnicode_KIND(substring)),
  ------------------
  |  |  258|  97.0k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   194k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 97.0k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10082|      0|                            data_sub,
10083|  97.0k|                            PyUnicode_GET_LENGTH(substring) *
  ------------------
  |  |  299|  97.0k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  97.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  97.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10084|  97.0k|                                PyUnicode_KIND(substring));
  ------------------
  |  |  258|  97.0k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   194k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 97.0k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10085|  97.0k|        }
10086|       |        /* otherwise we have to compare each character by first accessing it */
10087|  1.64k|        else {
10088|       |            /* We do not need to compare 0 and len(substring)-1 because
10089|       |               the if statement above ensured already that they are equal
10090|       |               when we end up here. */
10091|  2.87k|            for (i = 1; i < end_sub; ++i) {
  ------------------
  |  Branch (10091:25): [True: 2.86k, False: 5]
  ------------------
10092|  2.86k|                if (PyUnicode_READ(kind_self, data_self, offset + i) !=
  ------------------
  |  |  354|  2.86k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  2.86k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  2.86k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  2.86k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  2.86k|                   (index))
  ------------------
  |  Branch (10092:21): [True: 1.63k, False: 1.22k]
  ------------------
10093|  2.86k|                    PyUnicode_READ(kind_sub, data_sub, i))
  ------------------
  |  |  354|  2.86k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  2.86k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  2.86k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  2.86k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  2.86k|                   (index))
  ------------------
10094|  1.63k|                    return 0;
10095|  2.86k|            }
10096|      5|            return 1;
10097|  1.64k|        }
10098|  98.7k|    }
10099|       |
10100|  60.1k|    return 0;
10101|   158k|}
unicodeobject.c:unicode_compare:
11290|  13.5M|{
11291|  13.5M|#define COMPARE(TYPE1, TYPE2) \
11292|  13.5M|    do { \
11293|  13.5M|        TYPE1* p1 = (TYPE1 *)data1; \
11294|  13.5M|        TYPE2* p2 = (TYPE2 *)data2; \
11295|  13.5M|        TYPE1* end = p1 + len; \
11296|  13.5M|        Py_UCS4 c1, c2; \
11297|  13.5M|        for (; p1 != end; p1++, p2++) { \
11298|  13.5M|            c1 = *p1; \
11299|  13.5M|            c2 = *p2; \
11300|  13.5M|            if (c1 != c2) \
11301|  13.5M|                return (c1 < c2) ? -1 : 1; \
11302|  13.5M|        } \
11303|  13.5M|    } \
11304|  13.5M|    while (0)
11305|       |
11306|  13.5M|    int kind1, kind2;
11307|  13.5M|    const void *data1, *data2;
11308|  13.5M|    Py_ssize_t len1, len2, len;
11309|       |
11310|  13.5M|    kind1 = PyUnicode_KIND(str1);
  ------------------
  |  |  258|  13.5M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  27.1M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 13.5M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11311|  13.5M|    kind2 = PyUnicode_KIND(str2);
  ------------------
  |  |  258|  13.5M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  27.1M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 13.5M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11312|  13.5M|    data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  284|  13.5M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11313|  13.5M|    data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  284|  13.5M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11314|  13.5M|    len1 = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  299|  13.5M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11315|  13.5M|    len2 = PyUnicode_GET_LENGTH(str2);
  ------------------
  |  |  299|  13.5M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11316|  13.5M|    len = Py_MIN(len1, len2);
  ------------------
  |  |  112|  13.5M|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 539k, False: 13.0M]
  |  |  ------------------
  ------------------
11317|       |
11318|  13.5M|    switch(kind1) {
11319|  4.14M|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11319:5): [True: 4.14M, False: 9.41M]
  ------------------
11320|  4.14M|    {
11321|  4.14M|        switch(kind2) {
11322|  1.10M|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11322:9): [True: 1.10M, False: 3.03M]
  ------------------
11323|  1.10M|        {
11324|  1.10M|            int cmp = memcmp(data1, data2, len);
11325|       |            /* normalize result of memcmp() into the range [-1; 1] */
11326|  1.10M|            if (cmp < 0)
  ------------------
  |  Branch (11326:17): [True: 538k, False: 569k]
  ------------------
11327|   538k|                return -1;
11328|   569k|            if (cmp > 0)
  ------------------
  |  Branch (11328:17): [True: 481k, False: 87.9k]
  ------------------
11329|   481k|                return 1;
11330|  87.9k|            break;
11331|   569k|        }
11332|  2.96M|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11332:9): [True: 2.96M, False: 1.17M]
  ------------------
11333|  2.96M|            COMPARE(Py_UCS1, Py_UCS2);
  ------------------
  |  |11292|  2.96M|    do { \
  |  |11293|  2.96M|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11294|  2.96M|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11295|  2.96M|        TYPE1* end = p1 + len; \
  |  |11296|  2.96M|        Py_UCS4 c1, c2; \
  |  |11297|  3.00M|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11297:16): [True: 2.99M, False: 8.09k]
  |  |  ------------------
  |  |11298|  2.99M|            c1 = *p1; \
  |  |11299|  2.99M|            c2 = *p2; \
  |  |11300|  2.99M|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11300:17): [True: 2.96M, False: 33.1k]
  |  |  ------------------
  |  |11301|  2.99M|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11301:24): [True: 2.95M, False: 8.36k]
  |  |  ------------------
  |  |11302|  2.99M|        } \
  |  |11303|  2.96M|    } \
  |  |11304|  2.96M|    while (0)
  |  |  ------------------
  |  |  |  Branch (11304:12): [Folded, False: 8.09k]
  |  |  ------------------
  ------------------
11334|  8.09k|            break;
11335|  64.0k|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11335:9): [True: 64.0k, False: 4.07M]
  ------------------
11336|  64.0k|            COMPARE(Py_UCS1, Py_UCS4);
  ------------------
  |  |11292|  64.0k|    do { \
  |  |11293|  64.0k|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11294|  64.0k|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11295|  64.0k|        TYPE1* end = p1 + len; \
  |  |11296|  64.0k|        Py_UCS4 c1, c2; \
  |  |11297|  64.3k|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11297:16): [True: 64.2k, False: 22]
  |  |  ------------------
  |  |11298|  64.2k|            c1 = *p1; \
  |  |11299|  64.2k|            c2 = *p2; \
  |  |11300|  64.2k|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11300:17): [True: 64.0k, False: 262]
  |  |  ------------------
  |  |11301|  64.2k|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11301:24): [True: 63.8k, False: 172]
  |  |  ------------------
  |  |11302|  64.2k|        } \
  |  |11303|  64.0k|    } \
  |  |11304|  64.0k|    while (0)
  |  |  ------------------
  |  |  |  Branch (11304:12): [Folded, False: 22]
  |  |  ------------------
  ------------------
11337|     22|            break;
11338|     22|        default:
  ------------------
  |  Branch (11338:9): [True: 0, False: 4.14M]
  ------------------
11339|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11340|  4.14M|        }
11341|  96.1k|        break;
11342|  4.14M|    }
11343|  8.86M|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11343:5): [True: 8.86M, False: 4.68M]
  ------------------
11344|  8.86M|    {
11345|  8.86M|        switch(kind2) {
11346|  57.5k|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11346:9): [True: 57.5k, False: 8.81M]
  ------------------
11347|  57.5k|            COMPARE(Py_UCS2, Py_UCS1);
  ------------------
  |  |11292|  57.5k|    do { \
  |  |11293|  57.5k|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11294|  57.5k|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11295|  57.5k|        TYPE1* end = p1 + len; \
  |  |11296|  57.5k|        Py_UCS4 c1, c2; \
  |  |11297|  88.1k|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11297:16): [True: 82.6k, False: 5.44k]
  |  |  ------------------
  |  |11298|  82.6k|            c1 = *p1; \
  |  |11299|  82.6k|            c2 = *p2; \
  |  |11300|  82.6k|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11300:17): [True: 52.1k, False: 30.5k]
  |  |  ------------------
  |  |11301|  82.6k|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11301:24): [True: 13.0k, False: 39.0k]
  |  |  ------------------
  |  |11302|  82.6k|        } \
  |  |11303|  57.5k|    } \
  |  |11304|  57.5k|    while (0)
  |  |  ------------------
  |  |  |  Branch (11304:12): [Folded, False: 5.44k]
  |  |  ------------------
  ------------------
11348|  5.44k|            break;
11349|  8.74M|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11349:9): [True: 8.74M, False: 125k]
  ------------------
11350|  8.74M|        {
11351|  8.74M|            COMPARE(Py_UCS2, Py_UCS2);
  ------------------
  |  |11292|  8.74M|    do { \
  |  |11293|  8.74M|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11294|  8.74M|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11295|  8.74M|        TYPE1* end = p1 + len; \
  |  |11296|  8.74M|        Py_UCS4 c1, c2; \
  |  |11297|  9.34M|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11297:16): [True: 9.32M, False: 21.2k]
  |  |  ------------------
  |  |11298|  9.32M|            c1 = *p1; \
  |  |11299|  9.32M|            c2 = *p2; \
  |  |11300|  9.32M|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11300:17): [True: 8.72M, False: 605k]
  |  |  ------------------
  |  |11301|  9.32M|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11301:24): [True: 3.95M, False: 4.76M]
  |  |  ------------------
  |  |11302|  9.32M|        } \
  |  |11303|  8.74M|    } \
  |  |11304|  8.74M|    while (0)
  |  |  ------------------
  |  |  |  Branch (11304:12): [Folded, False: 21.2k]
  |  |  ------------------
  ------------------
11352|  21.2k|            break;
11353|  8.74M|        }
11354|  68.1k|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11354:9): [True: 68.1k, False: 8.79M]
  ------------------
11355|  68.1k|            COMPARE(Py_UCS2, Py_UCS4);
  ------------------
  |  |11292|  68.1k|    do { \
  |  |11293|  68.1k|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11294|  68.1k|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11295|  68.1k|        TYPE1* end = p1 + len; \
  |  |11296|  68.1k|        Py_UCS4 c1, c2; \
  |  |11297|  68.3k|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11297:16): [True: 68.2k, False: 8]
  |  |  ------------------
  |  |11298|  68.2k|            c1 = *p1; \
  |  |11299|  68.2k|            c2 = *p2; \
  |  |11300|  68.2k|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11300:17): [True: 68.1k, False: 192]
  |  |  ------------------
  |  |11301|  68.2k|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11301:24): [True: 68.0k, False: 8]
  |  |  ------------------
  |  |11302|  68.2k|        } \
  |  |11303|  68.1k|    } \
  |  |11304|  68.1k|    while (0)
  |  |  ------------------
  |  |  |  Branch (11304:12): [Folded, False: 8]
  |  |  ------------------
  ------------------
11356|      8|            break;
11357|      8|        default:
  ------------------
  |  Branch (11357:9): [True: 0, False: 8.86M]
  ------------------
11358|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11359|  8.86M|        }
11360|  26.6k|        break;
11361|  8.86M|    }
11362|   545k|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11362:5): [True: 545k, False: 13.0M]
  ------------------
11363|   545k|    {
11364|   545k|        switch(kind2) {
11365|    920|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11365:9): [True: 920, False: 544k]
  ------------------
11366|    920|            COMPARE(Py_UCS4, Py_UCS1);
  ------------------
  |  |11292|    920|    do { \
  |  |11293|    920|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11294|    920|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11295|    920|        TYPE1* end = p1 + len; \
  |  |11296|    920|        Py_UCS4 c1, c2; \
  |  |11297|  1.32k|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11297:16): [True: 1.29k, False: 22]
  |  |  ------------------
  |  |11298|  1.29k|            c1 = *p1; \
  |  |11299|  1.29k|            c2 = *p2; \
  |  |11300|  1.29k|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11300:17): [True: 898, False: 400]
  |  |  ------------------
  |  |11301|  1.29k|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11301:24): [True: 208, False: 690]
  |  |  ------------------
  |  |11302|  1.29k|        } \
  |  |11303|    920|    } \
  |  |11304|    920|    while (0)
  |  |  ------------------
  |  |  |  Branch (11304:12): [Folded, False: 22]
  |  |  ------------------
  ------------------
11367|     22|            break;
11368|  76.1k|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11368:9): [True: 76.1k, False: 469k]
  ------------------
11369|  76.1k|            COMPARE(Py_UCS4, Py_UCS2);
  ------------------
  |  |11292|  76.1k|    do { \
  |  |11293|  76.1k|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |11294|  76.1k|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |11295|  76.1k|        TYPE1* end = p1 + len; \
  |  |11296|  76.1k|        Py_UCS4 c1, c2; \
  |  |11297|  76.5k|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (11297:16): [True: 76.5k, False: 6]
  |  |  ------------------
  |  |11298|  76.5k|            c1 = *p1; \
  |  |11299|  76.5k|            c2 = *p2; \
  |  |11300|  76.5k|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (11300:17): [True: 76.1k, False: 398]
  |  |  ------------------
  |  |11301|  76.5k|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (11301:24): [True: 40, False: 76.1k]
  |  |  ------------------
  |  |11302|  76.5k|        } \
  |  |11303|  76.1k|    } \
  |  |11304|  76.1k|    while (0)
  |  |  ------------------
  |  |  |  Branch (11304:12): [Folded, False: 6]
  |  |  ------------------
  ------------------
11370|      6|            break;
11371|   468k|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11371:9): [True: 468k, False: 77.1k]
  ------------------
11372|   468k|        {
11373|   468k|#if defined(HAVE_WMEMCMP) && SIZEOF_WCHAR_T == 4
11374|   468k|            int cmp = wmemcmp((wchar_t *)data1, (wchar_t *)data2, len);
11375|       |            /* normalize result of wmemcmp() into the range [-1; 1] */
11376|   468k|            if (cmp < 0)
  ------------------
  |  Branch (11376:17): [True: 218k, False: 250k]
  ------------------
11377|   218k|                return -1;
11378|   250k|            if (cmp > 0)
  ------------------
  |  Branch (11378:17): [True: 250k, False: 52]
  ------------------
11379|   250k|                return 1;
11380|       |#else
11381|       |            COMPARE(Py_UCS4, Py_UCS4);
11382|       |#endif
11383|     52|            break;
11384|   250k|        }
11385|     52|        default:
  ------------------
  |  Branch (11385:9): [True: 0, False: 545k]
  ------------------
11386|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11387|   545k|        }
11388|     80|        break;
11389|   545k|    }
11390|     80|    default:
  ------------------
  |  Branch (11390:5): [True: 0, False: 13.5M]
  ------------------
11391|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11392|  13.5M|    }
11393|       |
11394|   122k|    if (len1 == len2)
  ------------------
  |  Branch (11394:9): [True: 86, False: 122k]
  ------------------
11395|     86|        return 0;
11396|   122k|    if (len1 < len2)
  ------------------
  |  Branch (11396:9): [True: 59.5k, False: 63.2k]
  ------------------
11397|  59.5k|        return -1;
11398|  63.2k|    else
11399|  63.2k|        return 1;
11400|       |
11401|   122k|#undef COMPARE
11402|   122k|}
unicodeobject.c:unicode_askind:
 2411|  6.52k|{
 2412|  6.52k|    void *result;
 2413|       |
 2414|  6.52k|    assert(skind < kind);
  ------------------
  |  Branch (2414:5): [True: 6.52k, False: 0]
  ------------------
 2415|  6.52k|    switch (kind) {
 2416|  2.41k|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (2416:5): [True: 2.41k, False: 4.11k]
  ------------------
 2417|  2.41k|        result = PyMem_New(Py_UCS2, len);
  ------------------
  |  |   64|  2.41k|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|  2.41k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 2.41k]
  |  |  ------------------
  |  |   65|  2.41k|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 2418|  2.41k|        if (!result)
  ------------------
  |  Branch (2418:13): [True: 0, False: 2.41k]
  ------------------
 2419|      0|            return PyErr_NoMemory();
 2420|  2.41k|        assert(skind == PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (2420:9): [True: 2.41k, False: 0]
  ------------------
 2421|  2.41k|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|  2.41k|    do {                                                \
  |  |   46|  2.41k|        to_type *_to = (to_type *)(to);                 \
  |  |   47|  2.41k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|  2.41k|        const from_type *_end = (const from_type *)(end);\
  |  |   49|  2.41k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|  2.41k|        const from_type *_unrolled_end =                \
  |  |   51|  2.41k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|  2.41k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|  2.41k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 0, False: 2.41k]
  |  |  ------------------
  |  |   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|  5.76k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 3.35k, False: 2.41k]
  |  |  ------------------
  |  |   60|  3.35k|            *_to++ = (to_type) *_iter++;                \
  |  |   61|  2.41k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 2.41k]
  |  |  ------------------
  ------------------
 2422|  2.41k|            Py_UCS1, Py_UCS2,
 2423|  2.41k|            (const Py_UCS1 *)data,
 2424|  2.41k|            ((const Py_UCS1 *)data) + len,
 2425|  2.41k|            result);
 2426|  2.41k|        return result;
 2427|  4.11k|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (2427:5): [True: 4.11k, False: 2.41k]
  ------------------
 2428|  4.11k|        result = PyMem_New(Py_UCS4, len);
  ------------------
  |  |   64|  4.11k|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|  4.11k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 4.11k]
  |  |  ------------------
  |  |   65|  4.11k|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 2429|  4.11k|        if (!result)
  ------------------
  |  Branch (2429:13): [True: 0, False: 4.11k]
  ------------------
 2430|      0|            return PyErr_NoMemory();
 2431|  4.11k|        if (skind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (2431:13): [True: 0, False: 4.11k]
  ------------------
 2432|      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]
  |  |  ------------------
  ------------------
 2433|      0|                Py_UCS2, Py_UCS4,
 2434|      0|                (const Py_UCS2 *)data,
 2435|      0|                ((const Py_UCS2 *)data) + len,
 2436|      0|                result);
 2437|      0|        }
 2438|  4.11k|        else {
 2439|  4.11k|            assert(skind == PyUnicode_1BYTE_KIND);
  ------------------
  |  Branch (2439:13): [True: 4.11k, False: 0]
  ------------------
 2440|  4.11k|            _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   45|  4.11k|    do {                                                \
  |  |   46|  4.11k|        to_type *_to = (to_type *)(to);                 \
  |  |   47|  4.11k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|  4.11k|        const from_type *_end = (const from_type *)(end);\
  |  |   49|  4.11k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|  4.11k|        const from_type *_unrolled_end =                \
  |  |   51|  4.11k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|  4.11k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|  4.11k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 0, False: 4.11k]
  |  |  ------------------
  |  |   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|  10.1k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 6.01k, False: 4.11k]
  |  |  ------------------
  |  |   60|  6.01k|            *_to++ = (to_type) *_iter++;                \
  |  |   61|  4.11k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 4.11k]
  |  |  ------------------
  ------------------
 2441|  4.11k|                Py_UCS1, Py_UCS4,
 2442|  4.11k|                (const Py_UCS1 *)data,
 2443|  4.11k|                ((const Py_UCS1 *)data) + len,
 2444|  4.11k|                result);
 2445|  4.11k|        }
 2446|  4.11k|        return result;
 2447|      0|    default:
  ------------------
  |  Branch (2447:5): [True: 0, False: 6.52k]
  ------------------
 2448|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2449|      0|        return NULL;
 2450|  6.52k|    }
 2451|  6.52k|}
unicodeobject.c:make_bloom_mask:
  921|  4.77k|{
  922|  4.77k|#define BLOOM_UPDATE(TYPE, MASK, PTR, LEN)             \
  923|  4.77k|    do {                                               \
  924|  4.77k|        TYPE *data = (TYPE *)PTR;                      \
  925|  4.77k|        TYPE *end = data + LEN;                        \
  926|  4.77k|        Py_UCS4 ch;                                    \
  927|  4.77k|        for (; data != end; data++) {                  \
  928|  4.77k|            ch = *data;                                \
  929|  4.77k|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  930|  4.77k|        }                                              \
  931|  4.77k|        break;                                         \
  932|  4.77k|    } while (0)
  933|       |
  934|       |    /* calculate simple bloom-style bitmask for a given unicode string */
  935|       |
  936|  4.77k|    BLOOM_MASK mask;
  ------------------
  |  |  909|  4.77k|#define BLOOM_MASK unsigned long
  ------------------
  937|       |
  938|  4.77k|    mask = 0;
  939|  4.77k|    switch (kind) {
  940|  4.77k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (940:5): [True: 4.77k, False: 2]
  ------------------
  941|  4.77k|        BLOOM_UPDATE(Py_UCS1, mask, ptr, len);
  ------------------
  |  |  923|  4.77k|    do {                                               \
  |  |  924|  4.77k|        TYPE *data = (TYPE *)PTR;                      \
  |  |  925|  4.77k|        TYPE *end = data + LEN;                        \
  |  |  926|  4.77k|        Py_UCS4 ch;                                    \
  |  |  927|  9.54k|        for (; data != end; data++) {                  \
  |  |  ------------------
  |  |  |  Branch (927:16): [True: 4.77k, False: 4.77k]
  |  |  ------------------
  |  |  928|  4.77k|            ch = *data;                                \
  |  |  929|  4.77k|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  |  |  ------------------
  |  |  |  |  902|  4.77k|#define BLOOM_WIDTH 64
  |  |  ------------------
  |  |  930|  4.77k|        }                                              \
  |  |  931|  4.77k|        break;                                         \
  |  |  932|  4.77k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (932:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  942|  4.77k|        break;
  943|      2|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (943:5): [True: 2, False: 4.77k]
  ------------------
  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: 4.77k]
  ------------------
  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: 4.77k]
  ------------------
  950|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  951|  4.77k|    }
  952|  4.77k|    return mask;
  953|       |
  954|  4.77k|#undef BLOOM_UPDATE
  955|  4.77k|}
unicodeobject.c:unicode_result_unchanged:
  755|   134k|{
  756|   134k|    if (PyUnicode_CheckExact(unicode)) {
  ------------------
  |  |  104|   134k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   134k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   134k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   134k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 134k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  757|   134k|        return Py_NewRef(unicode);
  ------------------
  |  |  550|   134k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   134k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   134k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  758|   134k|    }
  759|      0|    else
  760|       |        /* Subtype -- return genuine unicode string with the same value. */
  761|      0|        return _PyUnicode_Copy(unicode);
  762|   134k|}
unicodeobject.c:replace:
10908|  46.7k|{
10909|  46.7k|    PyObject *u;
10910|  46.7k|    const char *sbuf = PyUnicode_DATA(self);
  ------------------
  |  |  284|  46.7k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  46.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10911|  46.7k|    const void *buf1 = PyUnicode_DATA(str1);
  ------------------
  |  |  284|  46.7k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  46.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10912|  46.7k|    const void *buf2 = PyUnicode_DATA(str2);
  ------------------
  |  |  284|  46.7k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  46.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10913|  46.7k|    int srelease = 0, release1 = 0, release2 = 0;
10914|  46.7k|    int skind = PyUnicode_KIND(self);
  ------------------
  |  |  258|  46.7k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  93.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 46.7k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10915|  46.7k|    int kind1 = PyUnicode_KIND(str1);
  ------------------
  |  |  258|  46.7k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  93.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 46.7k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10916|  46.7k|    int kind2 = PyUnicode_KIND(str2);
  ------------------
  |  |  258|  46.7k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  93.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 46.7k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10917|  46.7k|    Py_ssize_t slen = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|  46.7k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  46.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10918|  46.7k|    Py_ssize_t len1 = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  299|  46.7k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  46.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10919|  46.7k|    Py_ssize_t len2 = PyUnicode_GET_LENGTH(str2);
  ------------------
  |  |  299|  46.7k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  46.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10920|  46.7k|    int mayshrink;
10921|  46.7k|    Py_UCS4 maxchar, maxchar_str1, maxchar_str2;
10922|       |
10923|  46.7k|    if (slen < len1)
  ------------------
  |  Branch (10923:9): [True: 5.02k, False: 41.7k]
  ------------------
10924|  5.02k|        goto nothing;
10925|       |
10926|  41.7k|    if (maxcount < 0)
  ------------------
  |  Branch (10926:9): [True: 41.7k, False: 0]
  ------------------
10927|  41.7k|        maxcount = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  41.7k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
10928|      0|    else if (maxcount == 0)
  ------------------
  |  Branch (10928:14): [True: 0, False: 0]
  ------------------
10929|      0|        goto nothing;
10930|       |
10931|  41.7k|    if (str1 == str2)
  ------------------
  |  Branch (10931:9): [True: 0, False: 41.7k]
  ------------------
10932|      0|        goto nothing;
10933|       |
10934|  41.7k|    maxchar = PyUnicode_MAX_CHAR_VALUE(self);
  ------------------
  |  |  405|  41.7k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10935|  41.7k|    maxchar_str1 = PyUnicode_MAX_CHAR_VALUE(str1);
  ------------------
  |  |  405|  41.7k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10936|  41.7k|    if (maxchar < maxchar_str1)
  ------------------
  |  Branch (10936:9): [True: 0, False: 41.7k]
  ------------------
10937|       |        /* substring too wide to be present */
10938|      0|        goto nothing;
10939|  41.7k|    maxchar_str2 = PyUnicode_MAX_CHAR_VALUE(str2);
  ------------------
  |  |  405|  41.7k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10940|       |    /* Replacing str1 with str2 may cause a maxchar reduction in the
10941|       |       result string. */
10942|  41.7k|    mayshrink = (maxchar_str2 < maxchar_str1) && (maxchar == maxchar_str1);
  ------------------
  |  Branch (10942:17): [True: 0, False: 41.7k]
  |  Branch (10942:50): [True: 0, False: 0]
  ------------------
10943|  41.7k|    maxchar = Py_MAX(maxchar, maxchar_str2);
  ------------------
  |  |  115|  41.7k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 7.83k, False: 33.8k]
  |  |  ------------------
  ------------------
10944|       |
10945|  41.7k|    if (len1 == len2) {
  ------------------
  |  Branch (10945:9): [True: 320, False: 41.3k]
  ------------------
10946|       |        /* same length */
10947|    320|        if (len1 == 0)
  ------------------
  |  Branch (10947:13): [True: 0, False: 320]
  ------------------
10948|      0|            goto nothing;
10949|    320|        if (len1 == 1) {
  ------------------
  |  Branch (10949:13): [True: 320, False: 0]
  ------------------
10950|       |            /* replace characters */
10951|    320|            Py_UCS4 u1, u2;
10952|    320|            Py_ssize_t pos;
10953|       |
10954|    320|            u1 = PyUnicode_READ(kind1, buf1, 0);
  ------------------
  |  |  354|    320|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    320|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|    320|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    320|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    320|                   (index))
  ------------------
10955|    320|            pos = findchar(sbuf, skind, slen, u1, 1);
10956|    320|            if (pos < 0)
  ------------------
  |  Branch (10956:17): [True: 259, False: 61]
  ------------------
10957|    259|                goto nothing;
10958|     61|            u2 = PyUnicode_READ(kind2, buf2, 0);
  ------------------
  |  |  354|     61|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     61|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|     61|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     61|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     61|                   (index))
  ------------------
10959|     61|            u = PyUnicode_New(slen, maxchar);
10960|     61|            if (!u)
  ------------------
  |  Branch (10960:17): [True: 0, False: 61]
  ------------------
10961|      0|                goto error;
10962|       |
10963|     61|            _PyUnicode_FastCopyCharacters(u, 0, self, 0, slen);
10964|     61|            replace_1char_inplace(u, pos, u1, u2, maxcount);
10965|     61|        }
10966|      0|        else {
10967|      0|            int rkind = skind;
10968|      0|            char *res;
10969|      0|            Py_ssize_t i;
10970|       |
10971|      0|            if (kind1 < rkind) {
  ------------------
  |  Branch (10971:17): [True: 0, False: 0]
  ------------------
10972|       |                /* widen substring */
10973|      0|                buf1 = unicode_askind(kind1, buf1, len1, rkind);
10974|      0|                if (!buf1) goto error;
  ------------------
  |  Branch (10974:21): [True: 0, False: 0]
  ------------------
10975|      0|                release1 = 1;
10976|      0|            }
10977|      0|            i = anylib_find(rkind, self, sbuf, slen, str1, buf1, len1, 0);
10978|      0|            if (i < 0)
  ------------------
  |  Branch (10978:17): [True: 0, False: 0]
  ------------------
10979|      0|                goto nothing;
10980|      0|            if (rkind > kind2) {
  ------------------
  |  Branch (10980:17): [True: 0, False: 0]
  ------------------
10981|       |                /* widen replacement */
10982|      0|                buf2 = unicode_askind(kind2, buf2, len2, rkind);
10983|      0|                if (!buf2) goto error;
  ------------------
  |  Branch (10983:21): [True: 0, False: 0]
  ------------------
10984|      0|                release2 = 1;
10985|      0|            }
10986|      0|            else if (rkind < kind2) {
  ------------------
  |  Branch (10986:22): [True: 0, False: 0]
  ------------------
10987|       |                /* widen self and buf1 */
10988|      0|                rkind = kind2;
10989|      0|                if (release1) {
  ------------------
  |  Branch (10989:21): [True: 0, False: 0]
  ------------------
10990|      0|                    assert(buf1 != PyUnicode_DATA(str1));
  ------------------
  |  Branch (10990:21): [True: 0, False: 0]
  ------------------
10991|      0|                    PyMem_Free((void *)buf1);
10992|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10993|      0|                    release1 = 0;
10994|      0|                }
10995|      0|                sbuf = unicode_askind(skind, sbuf, slen, rkind);
10996|      0|                if (!sbuf) goto error;
  ------------------
  |  Branch (10996:21): [True: 0, False: 0]
  ------------------
10997|      0|                srelease = 1;
10998|      0|                buf1 = unicode_askind(kind1, buf1, len1, rkind);
10999|      0|                if (!buf1) goto error;
  ------------------
  |  Branch (10999:21): [True: 0, False: 0]
  ------------------
11000|      0|                release1 = 1;
11001|      0|            }
11002|      0|            u = PyUnicode_New(slen, maxchar);
11003|      0|            if (!u)
  ------------------
  |  Branch (11003:17): [True: 0, False: 0]
  ------------------
11004|      0|                goto error;
11005|      0|            assert(PyUnicode_KIND(u) == rkind);
  ------------------
  |  Branch (11005:13): [True: 0, False: 0]
  |  Branch (11005:13): [True: 0, False: 0]
  ------------------
11006|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11007|       |
11008|      0|            memcpy(res, sbuf, rkind * slen);
11009|       |            /* change everything in-place, starting with this one */
11010|      0|            memcpy(res + rkind * i,
11011|      0|                   buf2,
11012|      0|                   rkind * len2);
11013|      0|            i += len1;
11014|       |
11015|      0|            while ( --maxcount > 0) {
  ------------------
  |  Branch (11015:21): [True: 0, False: 0]
  ------------------
11016|      0|                i = anylib_find(rkind, self,
11017|      0|                                sbuf+rkind*i, slen-i,
11018|      0|                                str1, buf1, len1, i);
11019|      0|                if (i == -1)
  ------------------
  |  Branch (11019:21): [True: 0, False: 0]
  ------------------
11020|      0|                    break;
11021|      0|                memcpy(res + rkind * i,
11022|      0|                       buf2,
11023|      0|                       rkind * len2);
11024|      0|                i += len1;
11025|      0|            }
11026|      0|        }
11027|    320|    }
11028|  41.3k|    else {
11029|  41.3k|        Py_ssize_t n, i, j, ires;
11030|  41.3k|        Py_ssize_t new_size;
11031|  41.3k|        int rkind = skind;
11032|  41.3k|        char *res;
11033|       |
11034|  41.3k|        if (kind1 < rkind) {
  ------------------
  |  Branch (11034:13): [True: 3.67k, False: 37.7k]
  ------------------
11035|       |            /* widen substring */
11036|  3.67k|            buf1 = unicode_askind(kind1, buf1, len1, rkind);
11037|  3.67k|            if (!buf1) goto error;
  ------------------
  |  Branch (11037:17): [True: 0, False: 3.67k]
  ------------------
11038|  3.67k|            release1 = 1;
11039|  3.67k|        }
11040|  41.3k|        n = anylib_count(rkind, self, sbuf, slen, str1, buf1, len1, maxcount);
11041|  41.3k|        if (n == 0)
  ------------------
  |  Branch (11041:13): [True: 30.4k, False: 10.9k]
  ------------------
11042|  30.4k|            goto nothing;
11043|  10.9k|        if (kind2 < rkind) {
  ------------------
  |  Branch (11043:13): [True: 2.84k, False: 8.07k]
  ------------------
11044|       |            /* widen replacement */
11045|  2.84k|            buf2 = unicode_askind(kind2, buf2, len2, rkind);
11046|  2.84k|            if (!buf2) goto error;
  ------------------
  |  Branch (11046:17): [True: 0, False: 2.84k]
  ------------------
11047|  2.84k|            release2 = 1;
11048|  2.84k|        }
11049|  8.07k|        else if (kind2 > rkind) {
  ------------------
  |  Branch (11049:18): [True: 0, False: 8.07k]
  ------------------
11050|       |            /* widen self and buf1 */
11051|      0|            rkind = kind2;
11052|      0|            sbuf = unicode_askind(skind, sbuf, slen, rkind);
11053|      0|            if (!sbuf) goto error;
  ------------------
  |  Branch (11053:17): [True: 0, False: 0]
  ------------------
11054|      0|            srelease = 1;
11055|      0|            if (release1) {
  ------------------
  |  Branch (11055:17): [True: 0, False: 0]
  ------------------
11056|      0|                assert(buf1 != PyUnicode_DATA(str1));
  ------------------
  |  Branch (11056:17): [True: 0, False: 0]
  ------------------
11057|      0|                PyMem_Free((void *)buf1);
11058|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11059|      0|                release1 = 0;
11060|      0|            }
11061|      0|            buf1 = unicode_askind(kind1, buf1, len1, rkind);
11062|      0|            if (!buf1) goto error;
  ------------------
  |  Branch (11062:17): [True: 0, False: 0]
  ------------------
11063|      0|            release1 = 1;
11064|      0|        }
11065|       |        /* new_size = PyUnicode_GET_LENGTH(self) + n * (PyUnicode_GET_LENGTH(str2) -
11066|       |           PyUnicode_GET_LENGTH(str1)); */
11067|  10.9k|        if (len1 < len2 && len2 - len1 > (PY_SSIZE_T_MAX - slen) / n) {
  ------------------
  |  |  137|  7.07k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11067:13): [True: 7.07k, False: 3.84k]
  |  Branch (11067:28): [True: 0, False: 7.07k]
  ------------------
11068|      0|                PyErr_SetString(PyExc_OverflowError,
11069|      0|                                "replace string is too long");
11070|      0|                goto error;
11071|      0|        }
11072|  10.9k|        new_size = slen + n * (len2 - len1);
11073|  10.9k|        if (new_size == 0) {
  ------------------
  |  Branch (11073:13): [True: 0, False: 10.9k]
  ------------------
11074|      0|            u = _PyUnicode_GetEmpty();
11075|      0|            goto done;
11076|      0|        }
11077|  10.9k|        if (new_size > (PY_SSIZE_T_MAX / rkind)) {
  ------------------
  |  |  137|  10.9k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11077:13): [True: 0, False: 10.9k]
  ------------------
11078|      0|            PyErr_SetString(PyExc_OverflowError,
11079|      0|                            "replace string is too long");
11080|      0|            goto error;
11081|      0|        }
11082|  10.9k|        u = PyUnicode_New(new_size, maxchar);
11083|  10.9k|        if (!u)
  ------------------
  |  Branch (11083:13): [True: 0, False: 10.9k]
  ------------------
11084|      0|            goto error;
11085|  10.9k|        assert(PyUnicode_KIND(u) == rkind);
  ------------------
  |  Branch (11085:9): [True: 10.9k, False: 0]
  |  Branch (11085:9): [True: 10.9k, False: 0]
  ------------------
11086|  10.9k|        res = PyUnicode_DATA(u);
  ------------------
  |  |  284|  10.9k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11087|  10.9k|        ires = i = 0;
11088|  10.9k|        if (len1 > 0) {
  ------------------
  |  Branch (11088:13): [True: 10.9k, False: 0]
  ------------------
11089|  69.8k|            while (n-- > 0) {
  ------------------
  |  Branch (11089:20): [True: 58.9k, False: 10.9k]
  ------------------
11090|       |                /* look for next match */
11091|  58.9k|                j = anylib_find(rkind, self,
11092|  58.9k|                                sbuf + rkind * i, slen-i,
11093|  58.9k|                                str1, buf1, len1, i);
11094|  58.9k|                if (j == -1)
  ------------------
  |  Branch (11094:21): [True: 0, False: 58.9k]
  ------------------
11095|      0|                    break;
11096|  58.9k|                else if (j > i) {
  ------------------
  |  Branch (11096:26): [True: 17.2k, False: 41.6k]
  ------------------
11097|       |                    /* copy unchanged part [i:j] */
11098|  17.2k|                    memcpy(res + rkind * ires,
11099|  17.2k|                           sbuf + rkind * i,
11100|  17.2k|                           rkind * (j-i));
11101|  17.2k|                    ires += j - i;
11102|  17.2k|                }
11103|       |                /* copy substitution string */
11104|  58.9k|                if (len2 > 0) {
  ------------------
  |  Branch (11104:21): [True: 58.9k, False: 24]
  ------------------
11105|  58.9k|                    memcpy(res + rkind * ires,
11106|  58.9k|                           buf2,
11107|  58.9k|                           rkind * len2);
11108|  58.9k|                    ires += len2;
11109|  58.9k|                }
11110|  58.9k|                i = j + len1;
11111|  58.9k|            }
11112|  10.9k|            if (i < slen)
  ------------------
  |  Branch (11112:17): [True: 7.34k, False: 3.58k]
  ------------------
11113|       |                /* copy tail [i:] */
11114|  7.34k|                memcpy(res + rkind * ires,
11115|  7.34k|                       sbuf + rkind * i,
11116|  7.34k|                       rkind * (slen-i));
11117|  10.9k|        }
11118|      0|        else {
11119|       |            /* interleave */
11120|      0|            while (n > 0) {
  ------------------
  |  Branch (11120:20): [True: 0, False: 0]
  ------------------
11121|      0|                memcpy(res + rkind * ires,
11122|      0|                       buf2,
11123|      0|                       rkind * len2);
11124|      0|                ires += len2;
11125|      0|                if (--n <= 0)
  ------------------
  |  Branch (11125:21): [True: 0, False: 0]
  ------------------
11126|      0|                    break;
11127|      0|                memcpy(res + rkind * ires,
11128|      0|                       sbuf + rkind * i,
11129|      0|                       rkind);
11130|      0|                ires++;
11131|      0|                i++;
11132|      0|            }
11133|      0|            memcpy(res + rkind * ires,
11134|      0|                   sbuf + rkind * i,
11135|      0|                   rkind * (slen-i));
11136|      0|        }
11137|  10.9k|    }
11138|       |
11139|  10.9k|    if (mayshrink) {
  ------------------
  |  Branch (11139:9): [True: 0, False: 10.9k]
  ------------------
11140|      0|        unicode_adjust_maxchar(&u);
11141|      0|        if (u == NULL)
  ------------------
  |  Branch (11141:13): [True: 0, False: 0]
  ------------------
11142|      0|            goto error;
11143|      0|    }
11144|       |
11145|  10.9k|  done:
11146|  10.9k|    assert(srelease == (sbuf != NULL && sbuf != PyUnicode_DATA(self)));
  ------------------
  |  Branch (11146:5): [True: 10.9k, False: 0]
  |  Branch (11146:5): [True: 0, False: 10.9k]
  |  Branch (11146:5): [True: 10.9k, False: 0]
  ------------------
11147|  10.9k|    assert(release1 == (buf1 != NULL && buf1 != PyUnicode_DATA(str1)));
  ------------------
  |  Branch (11147:5): [True: 10.9k, False: 0]
  |  Branch (11147:5): [True: 2.84k, False: 8.13k]
  |  Branch (11147:5): [True: 10.9k, False: 0]
  ------------------
11148|  10.9k|    assert(release2 == (buf2 != NULL && buf2 != PyUnicode_DATA(str2)));
  ------------------
  |  Branch (11148:5): [True: 10.9k, False: 0]
  |  Branch (11148:5): [True: 2.84k, False: 8.13k]
  |  Branch (11148:5): [True: 10.9k, False: 0]
  ------------------
11149|  10.9k|    if (srelease)
  ------------------
  |  Branch (11149:9): [True: 0, False: 10.9k]
  ------------------
11150|      0|        PyMem_Free((void *)sbuf);
11151|  10.9k|    if (release1)
  ------------------
  |  Branch (11151:9): [True: 2.84k, False: 8.13k]
  ------------------
11152|  2.84k|        PyMem_Free((void *)buf1);
11153|  10.9k|    if (release2)
  ------------------
  |  Branch (11153:9): [True: 2.84k, False: 8.13k]
  ------------------
11154|  2.84k|        PyMem_Free((void *)buf2);
11155|  10.9k|    assert(_PyUnicode_CheckConsistency(u, 1));
  ------------------
  |  Branch (11155:5): [True: 10.9k, False: 0]
  ------------------
11156|  10.9k|    return u;
11157|       |
11158|  35.7k|  nothing:
11159|       |    /* nothing to replace; return original string (when possible) */
11160|  35.7k|    assert(srelease == (sbuf != NULL && sbuf != PyUnicode_DATA(self)));
  ------------------
  |  Branch (11160:5): [True: 35.7k, False: 0]
  |  Branch (11160:5): [True: 0, False: 35.7k]
  |  Branch (11160:5): [True: 35.7k, False: 0]
  ------------------
11161|  35.7k|    assert(release1 == (buf1 != NULL && buf1 != PyUnicode_DATA(str1)));
  ------------------
  |  Branch (11161:5): [True: 35.7k, False: 0]
  |  Branch (11161:5): [True: 826, False: 34.9k]
  |  Branch (11161:5): [True: 35.7k, False: 0]
  ------------------
11162|  35.7k|    assert(release2 == (buf2 != NULL && buf2 != PyUnicode_DATA(str2)));
  ------------------
  |  Branch (11162:5): [True: 35.7k, False: 0]
  |  Branch (11162:5): [True: 0, False: 35.7k]
  |  Branch (11162:5): [True: 35.7k, False: 0]
  ------------------
11163|  35.7k|    if (srelease)
  ------------------
  |  Branch (11163:9): [True: 0, False: 35.7k]
  ------------------
11164|      0|        PyMem_Free((void *)sbuf);
11165|  35.7k|    if (release1)
  ------------------
  |  Branch (11165:9): [True: 826, False: 34.9k]
  ------------------
11166|    826|        PyMem_Free((void *)buf1);
11167|  35.7k|    if (release2)
  ------------------
  |  Branch (11167:9): [True: 0, False: 35.7k]
  ------------------
11168|      0|        PyMem_Free((void *)buf2);
11169|  35.7k|    return unicode_result_unchanged(self);
11170|       |
11171|      0|  error:
11172|      0|    assert(srelease == (sbuf != NULL && sbuf != PyUnicode_DATA(self)));
  ------------------
  |  Branch (11172:5): [True: 0, False: 0]
  |  Branch (11172:5): [True: 0, False: 0]
  |  Branch (11172:5): [True: 0, False: 0]
  ------------------
11173|      0|    assert(release1 == (buf1 != NULL && buf1 != PyUnicode_DATA(str1)));
  ------------------
  |  Branch (11173:5): [True: 0, False: 0]
  |  Branch (11173:5): [True: 0, False: 0]
  |  Branch (11173:5): [True: 0, False: 0]
  ------------------
11174|      0|    assert(release2 == (buf2 != NULL && buf2 != PyUnicode_DATA(str2)));
  ------------------
  |  Branch (11174:5): [True: 0, False: 0]
  |  Branch (11174:5): [True: 0, False: 0]
  |  Branch (11174:5): [True: 0, False: 0]
  ------------------
11175|      0|    if (srelease)
  ------------------
  |  Branch (11175:9): [True: 0, False: 0]
  ------------------
11176|      0|        PyMem_Free((void *)sbuf);
11177|      0|    if (release1)
  ------------------
  |  Branch (11177:9): [True: 0, False: 0]
  ------------------
11178|      0|        PyMem_Free((void *)buf1);
11179|      0|    if (release2)
  ------------------
  |  Branch (11179:9): [True: 0, False: 0]
  ------------------
11180|      0|        PyMem_Free((void *)buf2);
11181|       |    return NULL;
11182|      0|}
unicodeobject.c:replace_1char_inplace:
10883|     61|{
10884|     61|    int kind = PyUnicode_KIND(u);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10885|     61|    void *data = PyUnicode_DATA(u);
  ------------------
  |  |  284|     61|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     61|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     61|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10886|     61|    Py_ssize_t len = PyUnicode_GET_LENGTH(u);
  ------------------
  |  |  299|     61|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     61|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     61|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10887|     61|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (10887:9): [True: 61, False: 0]
  ------------------
10888|     61|        ucs1lib_replace_1char_inplace((Py_UCS1 *)data + pos,
10889|     61|                                      (Py_UCS1 *)data + len,
10890|     61|                                      u1, u2, maxcount);
10891|     61|    }
10892|      0|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (10892:14): [True: 0, False: 0]
  ------------------
10893|      0|        ucs2lib_replace_1char_inplace((Py_UCS2 *)data + pos,
10894|      0|                                      (Py_UCS2 *)data + len,
10895|      0|                                      u1, u2, maxcount);
10896|      0|    }
10897|      0|    else {
10898|      0|        assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (10898:9): [True: 0, False: 0]
  ------------------
10899|      0|        ucs4lib_replace_1char_inplace((Py_UCS4 *)data + pos,
10900|      0|                                      (Py_UCS4 *)data + len,
10901|      0|                                      u1, u2, maxcount);
10902|      0|    }
10903|     61|}
unicodeobject.c:anylib_find:
10850|  58.9k|{
10851|  58.9k|    switch (kind) {
  ------------------
  |  Branch (10851:13): [True: 58.9k, False: 0]
  ------------------
10852|  32.8k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10852:5): [True: 32.8k, False: 26.0k]
  ------------------
10853|  32.8k|        if (PyUnicode_IS_ASCII(str1) && PyUnicode_IS_ASCII(str2))
  ------------------
  |  |  227|  65.6k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  32.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 23.0k, False: 9.82k]
  |  |  ------------------
  ------------------
                      if (PyUnicode_IS_ASCII(str1) && PyUnicode_IS_ASCII(str2))
  ------------------
  |  |  227|  23.0k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  23.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 23.0k, False: 0]
  |  |  ------------------
  ------------------
10854|  23.0k|            return asciilib_find(buf1, len1, buf2, len2, offset);
10855|  9.82k|        else
10856|  9.82k|            return ucs1lib_find(buf1, len1, buf2, len2, offset);
10857|  9.59k|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10857:5): [True: 9.59k, False: 49.3k]
  ------------------
10858|  9.59k|        return ucs2lib_find(buf1, len1, buf2, len2, offset);
10859|  16.4k|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10859:5): [True: 16.4k, False: 42.4k]
  ------------------
10860|  16.4k|        return ucs4lib_find(buf1, len1, buf2, len2, offset);
10861|  58.9k|    }
10862|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10863|  58.9k|}
unicodeobject.c:anylib_count:
10868|  41.3k|{
10869|  41.3k|    switch (kind) {
  ------------------
  |  Branch (10869:13): [True: 41.3k, False: 0]
  ------------------
10870|  37.7k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10870:5): [True: 37.7k, False: 3.67k]
  ------------------
10871|  37.7k|        return ucs1lib_count(sbuf, slen, buf1, len1, maxcount);
10872|  1.47k|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10872:5): [True: 1.47k, False: 39.9k]
  ------------------
10873|  1.47k|        return ucs2lib_count(sbuf, slen, buf1, len1, maxcount);
10874|  2.20k|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10874:5): [True: 2.20k, False: 39.1k]
  ------------------
10875|  2.20k|        return ucs4lib_count(sbuf, slen, buf1, len1, maxcount);
10876|  41.3k|    }
10877|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10878|  41.3k|}
unicodeobject.c:split:
10667|    251|{
10668|    251|    int kind1, kind2;
10669|    251|    const void *buf1, *buf2;
10670|    251|    Py_ssize_t len1, len2;
10671|    251|    PyObject* out;
10672|    251|    len1 = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|    251|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    251|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    251|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10673|    251|    kind1 = PyUnicode_KIND(self);
  ------------------
  |  |  258|    251|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    502|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 251, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10674|       |
10675|    251|    if (substring == NULL) {
  ------------------
  |  Branch (10675:9): [True: 2, False: 249]
  ------------------
10676|      2|        if (maxcount < 0) {
  ------------------
  |  Branch (10676:13): [True: 2, False: 0]
  ------------------
10677|      2|            maxcount = (len1 - 1) / 2 + 1;
10678|      2|        }
10679|      2|        switch (kind1) {
10680|      2|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10680:9): [True: 2, False: 0]
  ------------------
10681|      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]
  |  |  ------------------
  ------------------
10682|      2|                return asciilib_split_whitespace(
10683|      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))
  |  |  ------------------
  ------------------
10684|      2|                    len1, maxcount
10685|      2|                    );
10686|      0|            else
10687|      0|                return ucs1lib_split_whitespace(
10688|      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))
  |  |  ------------------
  ------------------
10689|      0|                    len1, maxcount
10690|      0|                    );
10691|      0|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10691:9): [True: 0, False: 2]
  ------------------
10692|      0|            return ucs2lib_split_whitespace(
10693|      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))
  |  |  ------------------
  ------------------
10694|      0|                len1, maxcount
10695|      0|                );
10696|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10696:9): [True: 0, False: 2]
  ------------------
10697|      0|            return ucs4lib_split_whitespace(
10698|      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))
  |  |  ------------------
  ------------------
10699|      0|                len1, maxcount
10700|      0|                );
10701|      0|        default:
  ------------------
  |  Branch (10701:9): [True: 0, False: 2]
  ------------------
10702|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10703|      2|        }
10704|      2|    }
10705|       |
10706|    249|    kind2 = PyUnicode_KIND(substring);
  ------------------
  |  |  258|    249|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    498|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 249, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10707|    249|    len2 = PyUnicode_GET_LENGTH(substring);
  ------------------
  |  |  299|    249|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    249|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    249|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10708|    249|    if (maxcount < 0) {
  ------------------
  |  Branch (10708:9): [True: 249, False: 0]
  ------------------
10709|       |        // if len2 == 0, it will raise ValueError.
10710|    249|        maxcount = len2 == 0 ? 0 : (len1 / len2) + 1;
  ------------------
  |  Branch (10710:20): [True: 0, False: 249]
  ------------------
10711|       |        // handle expected overflow case: (Py_SSIZE_T_MAX / 1) + 1
10712|    249|        maxcount = maxcount < 0 ? len1 : maxcount;
  ------------------
  |  Branch (10712:20): [True: 0, False: 249]
  ------------------
10713|    249|    }
10714|    249|    if (kind1 < kind2 || len1 < len2) {
  ------------------
  |  Branch (10714:9): [True: 0, False: 249]
  |  Branch (10714:26): [True: 0, False: 249]
  ------------------
10715|      0|        out = PyList_New(1);
10716|      0|        if (out == NULL)
  ------------------
  |  Branch (10716:13): [True: 0, False: 0]
  ------------------
10717|      0|            return NULL;
10718|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10719|      0|        return out;
10720|      0|    }
10721|    249|    buf1 = PyUnicode_DATA(self);
  ------------------
  |  |  284|    249|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    249|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    249|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10722|    249|    buf2 = PyUnicode_DATA(substring);
  ------------------
  |  |  284|    249|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    249|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    249|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10723|    249|    if (kind2 != kind1) {
  ------------------
  |  Branch (10723:9): [True: 0, False: 249]
  ------------------
10724|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
10725|      0|        if (!buf2)
  ------------------
  |  Branch (10725:13): [True: 0, False: 0]
  ------------------
10726|      0|            return NULL;
10727|      0|    }
10728|       |
10729|    249|    switch (kind1) {
10730|    249|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10730:5): [True: 249, False: 0]
  ------------------
10731|    249|        if (PyUnicode_IS_ASCII(self) && PyUnicode_IS_ASCII(substring))
  ------------------
  |  |  227|    498|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    249|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    249|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 249, False: 0]
  |  |  ------------------
  ------------------
                      if (PyUnicode_IS_ASCII(self) && PyUnicode_IS_ASCII(substring))
  ------------------
  |  |  227|    249|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    249|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    249|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 249, False: 0]
  |  |  ------------------
  ------------------
10732|    249|            out = asciilib_split(
10733|    249|                self,  buf1, len1, buf2, len2, maxcount);
10734|      0|        else
10735|      0|            out = ucs1lib_split(
10736|      0|                self,  buf1, len1, buf2, len2, maxcount);
10737|    249|        break;
10738|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10738:5): [True: 0, False: 249]
  ------------------
10739|      0|        out = ucs2lib_split(
10740|      0|            self,  buf1, len1, buf2, len2, maxcount);
10741|      0|        break;
10742|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10742:5): [True: 0, False: 249]
  ------------------
10743|      0|        out = ucs4lib_split(
10744|      0|            self,  buf1, len1, buf2, len2, maxcount);
10745|      0|        break;
10746|      0|    default:
  ------------------
  |  Branch (10746:5): [True: 0, False: 249]
  ------------------
10747|      0|        out = NULL;
10748|    249|    }
10749|    249|    assert((kind2 != kind1) == (buf2 != PyUnicode_DATA(substring)));
  ------------------
  |  Branch (10749:5): [True: 249, False: 0]
  ------------------
10750|    249|    if (kind2 != kind1)
  ------------------
  |  Branch (10750:9): [True: 0, False: 249]
  ------------------
10751|      0|        PyMem_Free((void *)buf2);
10752|    249|    return out;
10753|    249|}
unicodeobject.c:unicode_dealloc:
 1631|  23.4M|{
 1632|       |#ifdef Py_DEBUG
 1633|       |    if (!unicode_is_finalizing() && unicode_is_singleton(unicode)) {
 1634|       |        _Py_FatalRefcountError("deallocating an Unicode singleton");
 1635|       |    }
 1636|       |#endif
 1637|  46.8M|    if (_PyUnicode_STATE(unicode).statically_allocated) {
  ------------------
  |  |  157|  23.4M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  23.4M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  23.4M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1637:9): [True: 23.4M, False: 0]
  |  Branch (1637:9): [True: 0, False: 23.4M]
  ------------------
 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|  23.4M|    switch (_PyUnicode_STATE(unicode).interned) {
  ------------------
  |  |  157|  23.4M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  23.4M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  23.4M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1648:13): [True: 23.4M, False: 0]
  ------------------
 1649|  23.3M|        case SSTATE_NOT_INTERNED:
  ------------------
  |  |  201|  23.3M|#define SSTATE_NOT_INTERNED 0
  ------------------
  |  Branch (1649:9): [True: 23.3M, False: 15.4k]
  ------------------
 1650|  23.3M|            break;
 1651|  15.4k|        case SSTATE_INTERNED_MORTAL:
  ------------------
  |  |  202|  15.4k|#define SSTATE_INTERNED_MORTAL 1
  ------------------
  |  Branch (1651:9): [True: 15.4k, False: 23.3M]
  ------------------
 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|  15.4k|            assert(Py_REFCNT(unicode) == 0);
  ------------------
  |  Branch (1656:13): [True: 15.4k, False: 0]
  ------------------
 1657|  15.4k|            Py_SET_REFCNT(unicode, 2);
  ------------------
  |  |  201|  15.4k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  15.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.4k|#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|  15.4k|            PyInterpreterState *interp = _PyInterpreterState_GET();
 1664|  15.4k|            PyObject *interned = get_interned_dict(interp);
 1665|  15.4k|            assert(interned != NULL);
  ------------------
  |  Branch (1665:13): [True: 15.4k, False: 0]
  ------------------
 1666|  15.4k|            PyObject *popped;
 1667|  15.4k|            int r = PyDict_Pop(interned, unicode, &popped);
 1668|  15.4k|            if (r == -1) {
  ------------------
  |  Branch (1668:17): [True: 0, False: 15.4k]
  ------------------
 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|  15.4k|            if (r == 0) {
  ------------------
  |  Branch (1681:17): [True: 0, False: 15.4k]
  ------------------
 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|  15.4k|            assert(popped == unicode);
  ------------------
  |  Branch (1690:13): [True: 15.4k, False: 0]
  ------------------
 1691|       |            // Only our `popped` reference should be left; remove it too.
 1692|  15.4k|            assert(Py_REFCNT(unicode) == 1);
  ------------------
  |  Branch (1692:13): [True: 15.4k, False: 0]
  ------------------
 1693|  15.4k|            Py_SET_REFCNT(unicode, 0);
  ------------------
  |  |  201|  15.4k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  15.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.4k|#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|  15.4k|            break;
 1699|      0|        default:
  ------------------
  |  Branch (1699:9): [True: 0, False: 23.4M]
  ------------------
 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|  23.4M|    }
 1707|  23.4M|    if (_PyUnicode_HAS_UTF8_MEMORY(unicode)) {
  ------------------
  |  Branch (1707:9): [True: 11.0k, False: 23.3M]
  ------------------
 1708|  11.0k|        PyMem_Free(_PyUnicode_UTF8(unicode));
 1709|  11.0k|    }
 1710|  23.4M|    if (!PyUnicode_IS_COMPACT(unicode) && _PyUnicode_DATA_ANY(unicode)) {
  ------------------
  |  |  234|  46.8M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  23.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.4M|#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: 23.4M]
  |  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|  23.4M|    Py_TYPE(unicode)->tp_free(unicode);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1715|  23.4M|}
unicodeobject.c:unicode_repr:
13037|  8.19k|{
13038|  8.19k|    Py_ssize_t isize = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|  8.19k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13039|  8.19k|    const void *idata = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|  8.19k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13040|       |
13041|       |    /* Compute length of output, quote characters, and
13042|       |       maximum character */
13043|  8.19k|    Py_ssize_t osize = 0;
13044|  8.19k|    Py_UCS4 maxch = 127;
13045|  8.19k|    Py_ssize_t squote = 0;
13046|  8.19k|    Py_ssize_t dquote = 0;
13047|  8.19k|    int ikind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  8.19k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  16.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 8.19k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13048|   978k|    for (Py_ssize_t i = 0; i < isize; i++) {
  ------------------
  |  Branch (13048:28): [True: 969k, False: 8.19k]
  ------------------
13049|   969k|        Py_UCS4 ch = PyUnicode_READ(ikind, idata, i);
  ------------------
  |  |  354|   969k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   969k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   969k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   969k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   969k|                   (index))
  ------------------
13050|   969k|        Py_ssize_t incr = 1;
13051|   969k|        switch (ch) {
13052|  16.1k|        case '\'': squote++; break;
  ------------------
  |  Branch (13052:9): [True: 16.1k, False: 953k]
  ------------------
13053|  19.9k|        case '"':  dquote++; break;
  ------------------
  |  Branch (13053:9): [True: 19.9k, False: 949k]
  ------------------
13054|  29.2k|        case '\\': case '\t': case '\r': case '\n':
  ------------------
  |  Branch (13054:9): [True: 9.75k, False: 960k]
  |  Branch (13054:20): [True: 2.21k, False: 967k]
  |  Branch (13054:31): [True: 448, False: 969k]
  |  Branch (13054:42): [True: 16.7k, False: 953k]
  ------------------
13055|  29.2k|            incr = 2;
13056|  29.2k|            break;
13057|   904k|        default:
  ------------------
  |  Branch (13057:9): [True: 904k, False: 65.3k]
  ------------------
13058|       |            /* Fast-path ASCII */
13059|   904k|            if (ch < ' ' || ch == 0x7f)
  ------------------
  |  Branch (13059:17): [True: 22.3k, False: 882k]
  |  Branch (13059:29): [True: 4.57k, False: 877k]
  ------------------
13060|  26.8k|                incr = 4; /* \xHH */
13061|   877k|            else if (ch < 0x7f)
  ------------------
  |  Branch (13061:22): [True: 729k, False: 148k]
  ------------------
13062|   729k|                ;
13063|   148k|            else if (Py_UNICODE_ISPRINTABLE(ch))
  ------------------
  |  |  761|   148k|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  ------------------
  |  |  |  Branch (761:36): [True: 120k, False: 27.8k]
  |  |  ------------------
  ------------------
13064|   120k|                maxch = (ch > maxch) ? ch : maxch;
  ------------------
  |  Branch (13064:25): [True: 4.08k, False: 116k]
  ------------------
13065|  27.8k|            else if (ch < 0x100)
  ------------------
  |  Branch (13065:22): [True: 26.5k, False: 1.32k]
  ------------------
13066|  26.5k|                incr = 4; /* \xHH */
13067|  1.32k|            else if (ch < 0x10000)
  ------------------
  |  Branch (13067:22): [True: 932, False: 394]
  ------------------
13068|    932|                incr = 6; /* \uHHHH */
13069|    394|            else
13070|    394|                incr = 10; /* \uHHHHHHHH */
13071|   969k|        }
13072|   969k|        if (osize > PY_SSIZE_T_MAX - incr) {
  ------------------
  |  |  137|   969k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (13072:13): [True: 0, False: 969k]
  ------------------
13073|      0|            PyErr_SetString(PyExc_OverflowError,
13074|      0|                            "string is too long to generate repr");
13075|      0|            return NULL;
13076|      0|        }
13077|   969k|        osize += incr;
13078|   969k|    }
13079|       |
13080|  8.19k|    Py_UCS4 quote = '\'';
13081|  8.19k|    int changed = (osize != isize);
13082|  8.19k|    if (squote) {
  ------------------
  |  Branch (13082:9): [True: 1.24k, False: 6.95k]
  ------------------
13083|  1.24k|        changed = 1;
13084|  1.24k|        if (dquote)
  ------------------
  |  Branch (13084:13): [True: 804, False: 436]
  ------------------
13085|       |            /* Both squote and dquote present. Use squote,
13086|       |               and escape them */
13087|    804|            osize += squote;
13088|    436|        else
13089|    436|            quote = '"';
13090|  1.24k|    }
13091|  8.19k|    osize += 2;   /* quotes */
13092|       |
13093|  8.19k|    PyObject *repr = PyUnicode_New(osize, maxch);
13094|  8.19k|    if (repr == NULL)
  ------------------
  |  Branch (13094:9): [True: 0, False: 8.19k]
  ------------------
13095|      0|        return NULL;
13096|  8.19k|    int okind = PyUnicode_KIND(repr);
  ------------------
  |  |  258|  8.19k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  16.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 8.19k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13097|  8.19k|    void *odata = PyUnicode_DATA(repr);
  ------------------
  |  |  284|  8.19k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13098|       |
13099|  8.19k|    if (!changed) {
  ------------------
  |  Branch (13099:9): [True: 5.03k, False: 3.16k]
  ------------------
13100|  5.03k|        PyUnicode_WRITE(okind, odata, 0, quote);
  ------------------
  |  |  335|  5.03k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|  5.03k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|  5.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|  5.03k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|  5.03k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
13101|       |
13102|  5.03k|        _PyUnicode_FastCopyCharacters(repr, 1,
13103|  5.03k|                                      unicode, 0,
13104|  5.03k|                                      isize);
13105|       |
13106|  5.03k|        PyUnicode_WRITE(okind, odata, osize-1, quote);
  ------------------
  |  |  335|  5.03k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|  5.03k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|  5.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|  5.03k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|  5.03k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
13107|  5.03k|    }
13108|  3.16k|    else {
13109|  3.16k|        switch (okind) {
13110|  2.00k|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (13110:9): [True: 2.00k, False: 1.15k]
  ------------------
13111|  2.00k|            ucs1lib_repr(unicode, quote, odata);
13112|  2.00k|            break;
13113|    507|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (13113:9): [True: 507, False: 2.65k]
  ------------------
13114|    507|            ucs2lib_repr(unicode, quote, odata);
13115|    507|            break;
13116|    652|        default:
  ------------------
  |  Branch (13116:9): [True: 652, False: 2.50k]
  ------------------
13117|    652|            assert(okind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (13117:13): [True: 652, False: 0]
  ------------------
13118|    652|            ucs4lib_repr(unicode, quote, odata);
13119|  3.16k|        }
13120|  3.16k|    }
13121|       |
13122|  8.19k|    assert(_PyUnicode_CheckConsistency(repr, 1));
  ------------------
  |  Branch (13122:5): [True: 8.19k, False: 0]
  ------------------
13123|  8.19k|    return repr;
13124|  8.19k|}
unicodeobject.c:unicode_mod:
14108|     98|{
14109|     98|    if (!PyUnicode_Check(v))
  ------------------
  |  |  103|     98|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     98|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (14109:9): [True: 77, False: 21]
  ------------------
14110|     77|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|     77|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|     77|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
14111|     21|    return PyUnicode_Format(v, w);
14112|     98|}
unicodeobject.c:unicode_length:
12605|   997k|{
12606|   997k|    return PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|   997k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   997k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   997k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12607|   997k|}
unicodeobject.c:unicode_getitem:
12037|  9.12M|{
12038|  9.12M|    const void *data;
12039|  9.12M|    int kind;
12040|  9.12M|    Py_UCS4 ch;
12041|       |
12042|  9.12M|    if (!PyUnicode_Check(self)) {
  ------------------
  |  |  103|  9.12M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  9.12M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (12042:9): [True: 0, False: 9.12M]
  ------------------
12043|      0|        PyErr_BadArgument();
12044|      0|        return NULL;
12045|      0|    }
12046|  9.12M|    if (index < 0 || index >= PyUnicode_GET_LENGTH(self)) {
  ------------------
  |  |  299|  9.12M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.12M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.12M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12046:9): [True: 100, False: 9.12M]
  |  Branch (12046:22): [True: 241, False: 9.12M]
  ------------------
12047|    341|        PyErr_SetString(PyExc_IndexError, "string index out of range");
12048|    341|        return NULL;
12049|    341|    }
12050|  9.12M|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|  9.12M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  18.2M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 9.12M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12051|  9.12M|    data = PyUnicode_DATA(self);
  ------------------
  |  |  284|  9.12M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.12M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.12M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12052|  9.12M|    ch = PyUnicode_READ(kind, data, index);
  ------------------
  |  |  354|  9.12M|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  9.12M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  9.12M|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  9.12M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  9.12M|                   (index))
  ------------------
12053|  9.12M|    return unicode_char(ch);
12054|  9.12M|}
unicodeobject.c:unicode_subscript:
14134|  9.12M|{
14135|  9.12M|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (14135:9): [True: 9.12M, False: 1.21k]
  ------------------
14136|  9.12M|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
14137|  9.12M|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (14137:13): [True: 445, False: 9.12M]
  |  Branch (14137:24): [True: 306, False: 139]
  ------------------
14138|    306|            return NULL;
14139|  9.12M|        if (i < 0)
  ------------------
  |  Branch (14139:13): [True: 313, False: 9.12M]
  ------------------
14140|    313|            i += PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|    313|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    313|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    313|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14141|  9.12M|        return unicode_getitem(self, i);
14142|  9.12M|    } else if (PySlice_Check(item)) {
  ------------------
  |  |   22|  1.21k|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|  1.21k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.07k, False: 149]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14143|  1.07k|        Py_ssize_t start, stop, step, slicelength, i;
14144|  1.07k|        size_t cur;
14145|  1.07k|        PyObject *result;
14146|  1.07k|        const void *src_data;
14147|  1.07k|        void *dest_data;
14148|  1.07k|        int src_kind, dest_kind;
14149|  1.07k|        Py_UCS4 ch, max_char, kind_limit;
14150|       |
14151|  1.07k|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (14151:13): [True: 143, False: 927]
  ------------------
14152|    143|            return NULL;
14153|    143|        }
14154|    927|        slicelength = PySlice_AdjustIndices(PyUnicode_GET_LENGTH(self),
  ------------------
  |  |  299|    927|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    927|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    927|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14155|    927|                                            &start, &stop, step);
14156|       |
14157|    927|        if (slicelength <= 0) {
  ------------------
  |  Branch (14157:13): [True: 603, False: 324]
  ------------------
14158|    603|            _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  379|    603|    do {                             \
  |  |  380|    603|        return _PyUnicode_GetEmpty();\
  |  |  381|    603|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
14159|    603|        } else if (start == 0 && step == 1 &&
  ------------------
  |  Branch (14159:20): [True: 299, False: 25]
  |  Branch (14159:34): [True: 160, False: 139]
  ------------------
14160|    160|                   slicelength == PyUnicode_GET_LENGTH(self)) {
  ------------------
  |  |  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 (14160:20): [True: 71, False: 89]
  ------------------
14161|     71|            return unicode_result_unchanged(self);
14162|    253|        } else if (step == 1) {
  ------------------
  |  Branch (14162:20): [True: 109, False: 144]
  ------------------
14163|    109|            return PyUnicode_Substring(self,
14164|    109|                                       start, start + slicelength);
14165|    109|        }
14166|       |        /* General case */
14167|    144|        src_kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|    144|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    288|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 144, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14168|    144|        src_data = PyUnicode_DATA(self);
  ------------------
  |  |  284|    144|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    144|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14169|    144|        if (!PyUnicode_IS_ASCII(self)) {
  ------------------
  |  |  227|    144|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    144|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14169:13): [True: 75, False: 69]
  ------------------
14170|     75|            kind_limit = kind_maxchar_limit(src_kind);
14171|     75|            max_char = 0;
14172|  7.51k|            for (cur = start, i = 0; i < slicelength; cur += step, i++) {
  ------------------
  |  Branch (14172:38): [True: 7.48k, False: 31]
  ------------------
14173|  7.48k|                ch = PyUnicode_READ(src_kind, src_data, cur);
  ------------------
  |  |  354|  7.48k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  7.48k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  7.48k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  7.48k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  7.48k|                   (index))
  ------------------
14174|  7.48k|                if (ch > max_char) {
  ------------------
  |  Branch (14174:21): [True: 175, False: 7.30k]
  ------------------
14175|    175|                    max_char = ch;
14176|    175|                    if (max_char >= kind_limit)
  ------------------
  |  Branch (14176:25): [True: 44, False: 131]
  ------------------
14177|     44|                        break;
14178|    175|                }
14179|  7.48k|            }
14180|     75|        }
14181|     69|        else
14182|     69|            max_char = 127;
14183|    144|        result = PyUnicode_New(slicelength, max_char);
14184|    144|        if (result == NULL)
  ------------------
  |  Branch (14184:13): [True: 0, False: 144]
  ------------------
14185|      0|            return NULL;
14186|    144|        dest_kind = PyUnicode_KIND(result);
  ------------------
  |  |  258|    144|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    288|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 144, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14187|    144|        dest_data = PyUnicode_DATA(result);
  ------------------
  |  |  284|    144|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    144|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14188|       |
14189|  9.51k|        for (cur = start, i = 0; i < slicelength; cur += step, i++) {
  ------------------
  |  Branch (14189:34): [True: 9.37k, False: 144]
  ------------------
14190|  9.37k|            Py_UCS4 ch = PyUnicode_READ(src_kind, src_data, cur);
  ------------------
  |  |  354|  9.37k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  9.37k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  9.37k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  9.37k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  9.37k|                   (index))
  ------------------
14191|  9.37k|            PyUnicode_WRITE(dest_kind, dest_data, i, ch);
  ------------------
  |  |  335|  9.37k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|  9.37k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|  9.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|  9.37k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|  9.37k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
14192|  9.37k|        }
14193|    144|        assert(_PyUnicode_CheckConsistency(result, 1));
  ------------------
  |  Branch (14193:9): [True: 144, False: 0]
  ------------------
14194|    144|        return result;
14195|    149|    } else {
14196|    149|        PyErr_Format(PyExc_TypeError, "string indices must be integers, not '%.200s'",
14197|    149|                     Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|    149|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14198|       |        return NULL;
14199|    149|    }
14200|  9.12M|}
unicodeobject.c:kind_maxchar_limit:
 2146|     75|{
 2147|     75|    switch (kind) {
 2148|     11|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (2148:5): [True: 11, False: 64]
  ------------------
 2149|     11|        return 0x80;
 2150|     23|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (2150:5): [True: 23, False: 52]
  ------------------
 2151|     23|        return 0x100;
 2152|     41|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (2152:5): [True: 41, False: 34]
  ------------------
 2153|     41|        return 0x10000;
 2154|      0|    default:
  ------------------
  |  Branch (2154:5): [True: 0, False: 75]
  ------------------
 2155|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2156|     75|    }
 2157|     75|}
unicodeobject.c:unicode_hash:
12060|  2.82M|{
12061|  2.82M|    Py_uhash_t x;  /* Unsigned for defined overflow behavior. */
12062|       |
12063|       |#ifdef Py_DEBUG
12064|       |    assert(_Py_HashSecret_Initialized);
12065|       |#endif
12066|  2.82M|    Py_hash_t hash = PyUnicode_HASH(self);
  ------------------
  |  |  161|  2.82M|#define PyUnicode_HASH PyUnstable_Unicode_GET_CACHED_HASH
  ------------------
12067|  2.82M|    if (hash != -1) {
  ------------------
  |  Branch (12067:9): [True: 2.25M, False: 572k]
  ------------------
12068|  2.25M|        return hash;
12069|  2.25M|    }
12070|   572k|    x = Py_HashBuffer(PyUnicode_DATA(self),
  ------------------
  |  |  284|   572k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   572k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   572k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12071|   572k|                      PyUnicode_GET_LENGTH(self) * PyUnicode_KIND(self));
  ------------------
  |  |  299|   572k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   572k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   572k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                    PyUnicode_GET_LENGTH(self) * PyUnicode_KIND(self));
  ------------------
  |  |  258|   572k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.14M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 572k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12072|       |
12073|      0|    PyUnicode_SET_HASH(self, x);
12074|   572k|    return x;
12075|   572k|}
unicodeobject.c:PyUnicode_SET_HASH:
  164|   572k|{
  165|   572k|    FT_ATOMIC_STORE_SSIZE_RELAXED(_PyASCIIObject_CAST(op)->hash, hash);
  ------------------
  |  |  194|  1.14M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  |  |  |  Branch (194:57): [True: 572k, False: 0]
  |  |  ------------------
  ------------------
  166|   572k|}
unicodeobject.c:unicode_encode_impl:
11923|  53.2k|{
11924|  53.2k|    return PyUnicode_AsEncodedString(self, encoding, errors);
11925|  53.2k|}
unicodeobject.c:unicode_replace_impl:
12975|    776|{
12976|    776|    return replace(self, old, new, count);
12977|    776|}
unicodeobject.c:unicode_split_impl:
13232|    251|{
13233|    251|    if (sep == Py_None)
  ------------------
  |  |  616|    251|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (13233:9): [True: 2, False: 249]
  ------------------
13234|      2|        return split(self, NULL, maxsplit);
13235|    249|    if (PyUnicode_Check(sep))
  ------------------
  |  |  103|    249|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    249|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 249, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13236|    249|        return split(self, sep, maxsplit);
13237|       |
13238|      0|    PyErr_Format(PyExc_TypeError,
13239|      0|                 "must be str or None, not %.100s",
13240|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13241|       |    return NULL;
13242|    249|}
unicodeobject.c:unicode_join:
12599|   273k|{
12600|   273k|    return PyUnicode_Join(self, iterable);
12601|   273k|}
unicodeobject.c:case_operation:
10305|   432k|{
10306|   432k|    PyObject *res = NULL;
10307|   432k|    Py_ssize_t length, newlength = 0;
10308|   432k|    int kind, outkind;
10309|   432k|    const void *data;
10310|   432k|    void *outdata;
10311|   432k|    Py_UCS4 maxchar = 0, *tmp, *tmpend;
10312|       |
10313|   432k|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|   432k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   865k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 432k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10314|   432k|    data = PyUnicode_DATA(self);
  ------------------
  |  |  284|   432k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   432k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   432k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10315|   432k|    length = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|   432k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   432k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   432k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10316|   432k|    if ((size_t) length > PY_SSIZE_T_MAX / (3 * sizeof(Py_UCS4))) {
  ------------------
  |  |  137|   432k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (10316:9): [True: 0, False: 432k]
  ------------------
10317|      0|        PyErr_SetString(PyExc_OverflowError, "string is too long");
10318|      0|        return NULL;
10319|      0|    }
10320|   432k|    tmp = PyMem_Malloc(sizeof(Py_UCS4) * 3 * length);
10321|   432k|    if (tmp == NULL)
  ------------------
  |  Branch (10321:9): [True: 0, False: 432k]
  ------------------
10322|      0|        return PyErr_NoMemory();
10323|   432k|    newlength = perform(kind, data, length, tmp, &maxchar);
10324|   432k|    res = PyUnicode_New(newlength, maxchar);
10325|   432k|    if (res == NULL)
  ------------------
  |  Branch (10325:9): [True: 0, False: 432k]
  ------------------
10326|      0|        goto leave;
10327|   432k|    tmpend = tmp + newlength;
10328|   432k|    outdata = PyUnicode_DATA(res);
  ------------------
  |  |  284|   432k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   432k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   432k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10329|   432k|    outkind = PyUnicode_KIND(res);
  ------------------
  |  |  258|   432k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   865k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 432k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10330|      0|    switch (outkind) {
10331|  38.9k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10331:5): [True: 38.9k, False: 393k]
  ------------------
10332|  38.9k|        _PyUnicode_CONVERT_BYTES(Py_UCS4, Py_UCS1, tmp, tmpend, outdata);
  ------------------
  |  |   45|  38.9k|    do {                                                \
  |  |   46|  38.9k|        to_type *_to = (to_type *)(to);                 \
  |  |   47|  38.9k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|  38.9k|        const from_type *_end = (const from_type *)(end);\
  |  |   49|  38.9k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|  38.9k|        const from_type *_unrolled_end =                \
  |  |   51|  38.9k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|  38.9k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|  41.4k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 2.55k, False: 38.9k]
  |  |  ------------------
  |  |   53|  2.55k|            _to[0] = (to_type) _iter[0];                \
  |  |   54|  2.55k|            _to[1] = (to_type) _iter[1];                \
  |  |   55|  2.55k|            _to[2] = (to_type) _iter[2];                \
  |  |   56|  2.55k|            _to[3] = (to_type) _iter[3];                \
  |  |   57|  2.55k|            _iter += 4; _to += 4;                       \
  |  |   58|  2.55k|        }                                               \
  |  |   59|  81.2k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 42.3k, False: 38.9k]
  |  |  ------------------
  |  |   60|  42.3k|            *_to++ = (to_type) *_iter++;                \
  |  |   61|  38.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 38.9k]
  |  |  ------------------
  ------------------
10333|  38.9k|        break;
10334|   346k|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10334:5): [True: 346k, False: 86.5k]
  ------------------
10335|   346k|        _PyUnicode_CONVERT_BYTES(Py_UCS4, Py_UCS2, tmp, tmpend, outdata);
  ------------------
  |  |   45|   346k|    do {                                                \
  |  |   46|   346k|        to_type *_to = (to_type *)(to);                 \
  |  |   47|   346k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   48|   346k|        const from_type *_end = (const from_type *)(end);\
  |  |   49|   346k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   50|   346k|        const from_type *_unrolled_end =                \
  |  |   51|   346k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|   346k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   52|   398k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (52:16): [True: 52.1k, False: 346k]
  |  |  ------------------
  |  |   53|  52.1k|            _to[0] = (to_type) _iter[0];                \
  |  |   54|  52.1k|            _to[1] = (to_type) _iter[1];                \
  |  |   55|  52.1k|            _to[2] = (to_type) _iter[2];                \
  |  |   56|  52.1k|            _to[3] = (to_type) _iter[3];                \
  |  |   57|  52.1k|            _iter += 4; _to += 4;                       \
  |  |   58|  52.1k|        }                                               \
  |  |   59|   695k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (59:16): [True: 349k, False: 346k]
  |  |  ------------------
  |  |   60|   349k|            *_to++ = (to_type) *_iter++;                \
  |  |   61|   346k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 346k]
  |  |  ------------------
  ------------------
10336|   346k|        break;
10337|  47.6k|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10337:5): [True: 47.6k, False: 384k]
  ------------------
10338|  47.6k|        memcpy(outdata, tmp, sizeof(Py_UCS4) * newlength);
10339|  47.6k|        break;
10340|      0|    default:
  ------------------
  |  Branch (10340:5): [True: 0, False: 432k]
  ------------------
10341|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10342|   432k|    }
10343|   432k|  leave:
10344|   432k|    PyMem_Free(tmp);
10345|   432k|    return res;
10346|   432k|}
unicodeobject.c:lower_ucs4:
10167|   692k|{
10168|       |    /* Obscure special case. */
10169|   692k|    if (c == 0x3A3) {
  ------------------
  |  Branch (10169:9): [True: 38, False: 692k]
  ------------------
10170|     38|        mapped[0] = handle_capital_sigma(kind, data, length, i);
10171|     38|        return 1;
10172|     38|    }
10173|   692k|    return _PyUnicode_ToLowerFull(c, mapped);
10174|   692k|}
unicodeobject.c:handle_capital_sigma:
10137|     38|{
10138|     38|    Py_ssize_t j;
10139|     38|    int final_sigma;
10140|     38|    Py_UCS4 c = 0;   /* initialize to prevent gcc warning */
10141|       |    /* U+03A3 is in the Final_Sigma context when, it is found like this:
10142|       |
10143|       |     \p{cased}\p{case-ignorable}*U+03A3!(\p{case-ignorable}*\p{cased})
10144|       |
10145|       |    where ! is a negation and \p{xxx} is a character with property xxx.
10146|       |    */
10147|     38|    for (j = i - 1; j >= 0; j--) {
  ------------------
  |  Branch (10147:21): [True: 0, False: 38]
  ------------------
10148|      0|        c = 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))
  ------------------
10149|      0|        if (!_PyUnicode_IsCaseIgnorable(c))
  ------------------
  |  Branch (10149:13): [True: 0, False: 0]
  ------------------
10150|      0|            break;
10151|      0|    }
10152|     38|    final_sigma = j >= 0 && _PyUnicode_IsCased(c);
  ------------------
  |  Branch (10152:19): [True: 0, False: 38]
  |  Branch (10152:29): [True: 0, False: 0]
  ------------------
10153|     38|    if (final_sigma) {
  ------------------
  |  Branch (10153:9): [True: 0, False: 38]
  ------------------
10154|      0|        for (j = i + 1; j < length; j++) {
  ------------------
  |  Branch (10154:25): [True: 0, False: 0]
  ------------------
10155|      0|            c = 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))
  ------------------
10156|      0|            if (!_PyUnicode_IsCaseIgnorable(c))
  ------------------
  |  Branch (10156:17): [True: 0, False: 0]
  ------------------
10157|      0|                break;
10158|      0|        }
10159|      0|        final_sigma = j == length || !_PyUnicode_IsCased(c);
  ------------------
  |  Branch (10159:23): [True: 0, False: 0]
  |  Branch (10159:38): [True: 0, False: 0]
  ------------------
10160|      0|    }
10161|     38|    return (final_sigma) ? 0x3C2 : 0x3C3;
  ------------------
  |  Branch (10161:12): [True: 0, False: 38]
  ------------------
10162|     38|}
unicodeobject.c:ascii_upper_or_lower:
10118|   141k|{
10119|   141k|    Py_ssize_t len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|   141k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   141k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   141k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10120|   141k|    const char *data = PyUnicode_DATA(self);
  ------------------
  |  |  284|   141k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   141k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   141k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10121|   141k|    char *resdata;
10122|   141k|    PyObject *res;
10123|       |
10124|   141k|    res = PyUnicode_New(len, 127);
10125|   141k|    if (res == NULL)
  ------------------
  |  Branch (10125:9): [True: 0, False: 141k]
  ------------------
10126|      0|        return NULL;
10127|   141k|    resdata = PyUnicode_DATA(res);
  ------------------
  |  |  284|   141k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   141k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   141k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10128|   141k|    if (lower)
  ------------------
  |  Branch (10128:9): [True: 141k, False: 51]
  ------------------
10129|   141k|        _Py_bytes_lower(resdata, data, len);
10130|     51|    else
10131|     51|        _Py_bytes_upper(resdata, data, len);
10132|   141k|    return res;
10133|   141k|}
unicodeobject.c:unicode_expandtabs_impl:
11940|  1.94k|{
11941|  1.94k|    Py_ssize_t i, j, line_pos, src_len, incr;
11942|  1.94k|    Py_UCS4 ch;
11943|  1.94k|    PyObject *u;
11944|  1.94k|    const void *src_data;
11945|  1.94k|    void *dest_data;
11946|  1.94k|    int kind;
11947|  1.94k|    int found;
11948|       |
11949|       |    /* First pass: determine size of output string */
11950|  1.94k|    src_len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|  1.94k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11951|  1.94k|    i = j = line_pos = 0;
11952|  1.94k|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|  1.94k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  3.89k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1.94k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11953|  1.94k|    src_data = PyUnicode_DATA(self);
  ------------------
  |  |  284|  1.94k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11954|  1.94k|    found = 0;
11955|   196k|    for (; i < src_len; i++) {
  ------------------
  |  Branch (11955:12): [True: 194k, False: 1.94k]
  ------------------
11956|   194k|        ch = PyUnicode_READ(kind, src_data, i);
  ------------------
  |  |  354|   194k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   194k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   194k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   194k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   194k|                   (index))
  ------------------
11957|   194k|        if (ch == '\t') {
  ------------------
  |  Branch (11957:13): [True: 5.43k, False: 189k]
  ------------------
11958|  5.43k|            found = 1;
11959|  5.43k|            if (tabsize > 0) {
  ------------------
  |  Branch (11959:17): [True: 5.43k, False: 0]
  ------------------
11960|  5.43k|                incr = tabsize - (line_pos % tabsize); /* cannot overflow */
11961|  5.43k|                if (j > PY_SSIZE_T_MAX - incr)
  ------------------
  |  |  137|  5.43k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11961:21): [True: 0, False: 5.43k]
  ------------------
11962|      0|                    goto overflow;
11963|  5.43k|                line_pos += incr;
11964|  5.43k|                j += incr;
11965|  5.43k|            }
11966|  5.43k|        }
11967|   189k|        else {
11968|   189k|            if (j > PY_SSIZE_T_MAX - 1)
  ------------------
  |  |  137|   189k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11968:17): [True: 0, False: 189k]
  ------------------
11969|      0|                goto overflow;
11970|   189k|            line_pos++;
11971|   189k|            j++;
11972|   189k|            if (ch == '\n' || ch == '\r')
  ------------------
  |  Branch (11972:17): [True: 28.6k, False: 160k]
  |  Branch (11972:31): [True: 409, False: 160k]
  ------------------
11973|  29.0k|                line_pos = 0;
11974|   189k|        }
11975|   194k|    }
11976|  1.94k|    if (!found)
  ------------------
  |  Branch (11976:9): [True: 1.36k, False: 586]
  ------------------
11977|  1.36k|        return unicode_result_unchanged(self);
11978|       |
11979|       |    /* Second pass: create output string and fill it */
11980|    586|    u = PyUnicode_New(j, PyUnicode_MAX_CHAR_VALUE(self));
  ------------------
  |  |  405|    586|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    586|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    586|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11981|    586|    if (!u)
  ------------------
  |  Branch (11981:9): [True: 0, False: 586]
  ------------------
11982|      0|        return NULL;
11983|    586|    dest_data = PyUnicode_DATA(u);
  ------------------
  |  |  284|    586|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    586|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    586|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11984|       |
11985|    586|    i = j = line_pos = 0;
11986|       |
11987|   172k|    for (; i < src_len; i++) {
  ------------------
  |  Branch (11987:12): [True: 171k, False: 586]
  ------------------
11988|   171k|        ch = PyUnicode_READ(kind, src_data, i);
  ------------------
  |  |  354|   171k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   171k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   171k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   171k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   171k|                   (index))
  ------------------
11989|   171k|        if (ch == '\t') {
  ------------------
  |  Branch (11989:13): [True: 5.43k, False: 166k]
  ------------------
11990|  5.43k|            if (tabsize > 0) {
  ------------------
  |  Branch (11990:17): [True: 5.43k, False: 0]
  ------------------
11991|  5.43k|                incr = tabsize - (line_pos % tabsize);
11992|  5.43k|                line_pos += incr;
11993|  5.43k|                _PyUnicode_Fill(kind, dest_data, ' ', j, incr);
11994|  5.43k|                j += incr;
11995|  5.43k|            }
11996|  5.43k|        }
11997|   166k|        else {
11998|   166k|            line_pos++;
11999|   166k|            PyUnicode_WRITE(kind, dest_data, j, ch);
  ------------------
  |  |  335|   166k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|   166k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|   166k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|   166k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|   166k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12000|   166k|            j++;
12001|   166k|            if (ch == '\n' || ch == '\r')
  ------------------
  |  Branch (12001:17): [True: 23.3k, False: 142k]
  |  Branch (12001:31): [True: 401, False: 142k]
  ------------------
12002|  23.7k|                line_pos = 0;
12003|   166k|        }
12004|   171k|    }
12005|    586|    assert (j == PyUnicode_GET_LENGTH(u));
  ------------------
  |  Branch (12005:5): [True: 586, False: 0]
  ------------------
12006|    586|    return unicode_result(u);
  ------------------
  |  |  751|    586|#define unicode_result _PyUnicode_Result
  ------------------
12007|       |
12008|      0|  overflow:
12009|      0|    PyErr_SetString(PyExc_OverflowError, "new string is too long");
12010|       |    return NULL;
12011|    586|}
unicodeobject.c:unicode_find_impl:
12027|      2|{
12028|      2|    Py_ssize_t result = any_find_slice(str, substr, start, end, 1);
12029|      2|    if (result < 0) {
  ------------------
  |  Branch (12029:9): [True: 0, False: 2]
  ------------------
12030|      0|        return -1;
12031|      0|    }
12032|      2|    return result;
12033|      2|}
unicodeobject.c:unicode_lower_impl:
12641|   574k|{
12642|   574k|    if (PyUnicode_IS_ASCII(self))
  ------------------
  |  |  227|   574k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   574k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   574k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 141k, False: 432k]
  |  |  ------------------
  ------------------
12643|   141k|        return ascii_upper_or_lower(self, 1);
12644|   432k|    return case_operation(self, do_lower);
12645|   574k|}
unicodeobject.c:do_lower:
10254|   432k|{
10255|   432k|    return do_upper_or_lower(kind, data, length, res, maxchar, 1);
10256|   432k|}
unicodeobject.c:do_upper_or_lower:
10228|   432k|{
10229|   432k|    Py_ssize_t i, k = 0;
10230|       |
10231|  1.12M|    for (i = 0; i < length; i++) {
  ------------------
  |  Branch (10231:17): [True: 692k, False: 432k]
  ------------------
10232|   692k|        Py_UCS4 c = PyUnicode_READ(kind, data, i), mapped[3];
  ------------------
  |  |  354|   692k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   692k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   692k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   692k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   692k|                   (index))
  ------------------
10233|   692k|        int n_res, j;
10234|   692k|        if (lower)
  ------------------
  |  Branch (10234:13): [True: 692k, False: 0]
  ------------------
10235|   692k|            n_res = lower_ucs4(kind, data, length, i, c, mapped);
10236|      0|        else
10237|      0|            n_res = _PyUnicode_ToUpperFull(c, mapped);
10238|  1.38M|        for (j = 0; j < n_res; j++) {
  ------------------
  |  Branch (10238:21): [True: 692k, False: 692k]
  ------------------
10239|   692k|            *maxchar = Py_MAX(*maxchar, mapped[j]);
  ------------------
  |  |  115|   692k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 231k, False: 461k]
  |  |  ------------------
  ------------------
10240|   692k|            res[k++] = mapped[j];
10241|   692k|        }
10242|   692k|    }
10243|   432k|    return k;
10244|   432k|}
unicodeobject.c:unicode_lstrip_impl:
12865|      1|{
12866|      1|    return do_argstrip(self, LEFTSTRIP, chars);
  ------------------
  |  |12647|      1|#define LEFTSTRIP 0
  ------------------
12867|      1|}
unicodeobject.c:do_argstrip:
12815|  5.18k|{
12816|  5.18k|    if (sep != Py_None) {
  ------------------
  |  |  616|  5.18k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12816:9): [True: 4.77k, False: 408]
  ------------------
12817|  4.77k|        if (PyUnicode_Check(sep))
  ------------------
  |  |  103|  4.77k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.77k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4.77k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12818|  4.77k|            return _PyUnicode_XStrip(self, striptype, sep);
12819|      0|        else {
12820|      0|            PyErr_Format(PyExc_TypeError,
12821|      0|                         "%s arg must be None or str",
12822|      0|                         STRIPNAME(striptype));
  ------------------
  |  |12654|      0|#define STRIPNAME(i) (stripfuncnames[i])
  ------------------
12823|      0|            return NULL;
12824|      0|        }
12825|  4.77k|    }
12826|       |
12827|    408|    return do_strip(self, striptype);
12828|  5.18k|}
unicodeobject.c:do_strip:
12752|    408|{
12753|    408|    Py_ssize_t len, i, j;
12754|       |
12755|    408|    len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|    408|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    408|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    408|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12756|       |
12757|    408|    if (PyUnicode_IS_ASCII(self)) {
  ------------------
  |  |  227|    408|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    408|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    408|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 408, False: 0]
  |  |  ------------------
  ------------------
12758|    408|        const Py_UCS1 *data = PyUnicode_1BYTE_DATA(self);
  ------------------
  |  |  291|    408|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    408|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12759|       |
12760|    408|        i = 0;
12761|    408|        if (striptype != RIGHTSTRIP) {
  ------------------
  |  |12648|    408|#define RIGHTSTRIP 1
  ------------------
  |  Branch (12761:13): [True: 3, False: 405]
  ------------------
12762|      3|            while (i < len) {
  ------------------
  |  Branch (12762:20): [True: 3, False: 0]
  ------------------
12763|      3|                Py_UCS1 ch = data[i];
12764|      3|                if (!_Py_ascii_whitespace[ch])
  ------------------
  |  Branch (12764:21): [True: 3, False: 0]
  ------------------
12765|      3|                    break;
12766|      0|                i++;
12767|      0|            }
12768|      3|        }
12769|       |
12770|    408|        j = len;
12771|    408|        if (striptype != LEFTSTRIP) {
  ------------------
  |  |12647|    408|#define LEFTSTRIP 0
  ------------------
  |  Branch (12771:13): [True: 408, False: 0]
  ------------------
12772|    408|            j--;
12773|    408|            while (j >= i) {
  ------------------
  |  Branch (12773:20): [True: 408, False: 0]
  ------------------
12774|    408|                Py_UCS1 ch = data[j];
12775|    408|                if (!_Py_ascii_whitespace[ch])
  ------------------
  |  Branch (12775:21): [True: 408, False: 0]
  ------------------
12776|    408|                    break;
12777|      0|                j--;
12778|      0|            }
12779|    408|            j++;
12780|    408|        }
12781|    408|    }
12782|      0|    else {
12783|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12784|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12785|       |
12786|      0|        i = 0;
12787|      0|        if (striptype != RIGHTSTRIP) {
  ------------------
  |  |12648|      0|#define RIGHTSTRIP 1
  ------------------
  |  Branch (12787:13): [True: 0, False: 0]
  ------------------
12788|      0|            while (i < len) {
  ------------------
  |  Branch (12788:20): [True: 0, False: 0]
  ------------------
12789|      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))
  ------------------
12790|      0|                if (!Py_UNICODE_ISSPACE(ch))
  ------------------
  |  Branch (12790:21): [True: 0, False: 0]
  ------------------
12791|      0|                    break;
12792|      0|                i++;
12793|      0|            }
12794|      0|        }
12795|       |
12796|      0|        j = len;
12797|      0|        if (striptype != LEFTSTRIP) {
  ------------------
  |  |12647|      0|#define LEFTSTRIP 0
  ------------------
  |  Branch (12797:13): [True: 0, False: 0]
  ------------------
12798|      0|            j--;
12799|      0|            while (j >= i) {
  ------------------
  |  Branch (12799:20): [True: 0, False: 0]
  ------------------
12800|      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))
  ------------------
12801|      0|                if (!Py_UNICODE_ISSPACE(ch))
  ------------------
  |  Branch (12801:21): [True: 0, False: 0]
  ------------------
12802|      0|                    break;
12803|      0|                j--;
12804|      0|            }
12805|      0|            j++;
12806|      0|        }
12807|      0|    }
12808|       |
12809|    408|    return PyUnicode_Substring(self, i, j);
12810|    408|}
unicodeobject.c:unicode_rfind_impl:
13140|     91|{
13141|     91|    Py_ssize_t result = any_find_slice(str, substr, start, end, -1);
13142|     91|    if (result < 0) {
  ------------------
  |  Branch (13142:9): [True: 0, False: 91]
  ------------------
13143|      0|        return -1;
13144|      0|    }
13145|     91|    return result;
13146|     91|}
unicodeobject.c:unicode_rstrip_impl:
12884|  5.17k|{
12885|  5.17k|    return do_argstrip(self, RIGHTSTRIP, chars);
  ------------------
  |  |12648|  5.17k|#define RIGHTSTRIP 1
  ------------------
12886|  5.17k|}
unicodeobject.c:unicode_rpartition:
13387|  1.14k|{
13388|  1.14k|    return PyUnicode_RPartition(self, sep);
13389|  1.14k|}
unicodeobject.c:unicode_strip_impl:
12846|      3|{
12847|      3|    return do_argstrip(self, BOTHSTRIP, chars);
  ------------------
  |  |12649|      3|#define BOTHSTRIP 2
  ------------------
12848|      3|}
unicodeobject.c:unicode_translate:
13628|     48|{
13629|     48|    return _PyUnicode_TranslateCharmap(self, table, "ignore");
13630|     48|}
unicodeobject.c:unicode_upper_impl:
13641|     51|{
13642|     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]
  |  |  ------------------
  ------------------
13643|     51|        return ascii_upper_or_lower(self, 0);
13644|      0|    return case_operation(self, do_upper);
13645|     51|}
unicodeobject.c:unicode_startswith_impl:
13713|   115k|{
13714|   115k|    if (PyTuple_Check(subobj)) {
  ------------------
  |  |   27|   115k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   115k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 10, False: 115k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13715|     10|        Py_ssize_t i;
13716|     70|        for (i = 0; i < PyTuple_GET_SIZE(subobj); i++) {
  ------------------
  |  |   27|     70|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13716:21): [True: 60, False: 10]
  ------------------
13717|     60|            PyObject *substring = PyTuple_GET_ITEM(subobj, i);
  ------------------
  |  |   29|     60|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     60|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13717:35): [True: 60, False: 0]
  ------------------
13718|     60|            if (!PyUnicode_Check(substring)) {
  ------------------
  |  |  103|     60|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     60|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13718:17): [True: 0, False: 60]
  ------------------
13719|      0|                PyErr_Format(PyExc_TypeError,
13720|      0|                             "tuple for startswith must only contain str, "
13721|      0|                             "not %.100s",
13722|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13723|      0|                return NULL;
13724|      0|            }
13725|     60|            int result = tailmatch(self, substring, start, end, -1);
13726|     60|            if (result < 0) {
  ------------------
  |  Branch (13726:17): [True: 0, False: 60]
  ------------------
13727|      0|                return NULL;
13728|      0|            }
13729|     60|            if (result) {
  ------------------
  |  Branch (13729:17): [True: 0, False: 60]
  ------------------
13730|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13731|      0|            }
13732|     60|        }
13733|       |        /* nothing matched */
13734|     10|        Py_RETURN_FALSE;
  ------------------
  |  |   45|     10|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|     10|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13735|     10|    }
13736|   115k|    if (!PyUnicode_Check(subobj)) {
  ------------------
  |  |  103|   115k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   115k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13736:9): [True: 0, False: 115k]
  ------------------
13737|      0|        PyErr_Format(PyExc_TypeError,
13738|      0|                     "startswith first arg must be str or "
13739|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13740|      0|        return NULL;
13741|      0|    }
13742|   115k|    int result = tailmatch(self, subobj, start, end, -1);
13743|   115k|    if (result < 0) {
  ------------------
  |  Branch (13743:9): [True: 0, False: 115k]
  ------------------
13744|      0|        return NULL;
13745|      0|    }
13746|   115k|    return PyBool_FromLong(result);
13747|   115k|}
unicodeobject.c:unicode_endswith_impl:
13770|  48.5k|{
13771|  48.5k|    if (PyTuple_Check(subobj)) {
  ------------------
  |  |   27|  48.5k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  48.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 48.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13772|      0|        Py_ssize_t i;
13773|      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 (13773:21): [True: 0, False: 0]
  ------------------
13774|      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 (13774:35): [True: 0, False: 0]
  ------------------
13775|      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 (13775:17): [True: 0, False: 0]
  ------------------
13776|      0|                PyErr_Format(PyExc_TypeError,
13777|      0|                             "tuple for endswith must only contain str, "
13778|      0|                             "not %.100s",
13779|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13780|      0|                return NULL;
13781|      0|            }
13782|      0|            int result = tailmatch(self, substring, start, end, +1);
13783|      0|            if (result < 0) {
  ------------------
  |  Branch (13783:17): [True: 0, False: 0]
  ------------------
13784|      0|                return NULL;
13785|      0|            }
13786|      0|            if (result) {
  ------------------
  |  Branch (13786:17): [True: 0, False: 0]
  ------------------
13787|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13788|      0|            }
13789|      0|        }
13790|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13791|      0|    }
13792|  48.5k|    if (!PyUnicode_Check(subobj)) {
  ------------------
  |  |  103|  48.5k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  48.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13792:9): [True: 0, False: 48.5k]
  ------------------
13793|      0|        PyErr_Format(PyExc_TypeError,
13794|      0|                     "endswith first arg must be str or "
13795|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13796|      0|        return NULL;
13797|      0|    }
13798|  48.5k|    int result = tailmatch(self, subobj, start, end, +1);
13799|  48.5k|    if (result < 0) {
  ------------------
  |  Branch (13799:9): [True: 0, False: 48.5k]
  ------------------
13800|      0|        return NULL;
13801|      0|    }
13802|  48.5k|    return PyBool_FromLong(result);
13803|  48.5k|}
unicodeobject.c:unicode_isascii_impl:
12115|    366|{
12116|    366|    return PyBool_FromLong(PyUnicode_IS_ASCII(self));
  ------------------
  |  |  227|    366|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    366|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    366|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12117|    366|}
unicodeobject.c:unicode_isidentifier_impl:
12544|     32|{
12545|     32|    return PyBool_FromLong(PyUnicode_IsIdentifier(self));
12546|     32|}
unicodeobject.c:unicode_new_impl:
14226|      7|{
14227|      7|    PyObject *unicode;
14228|      7|    if (x == NULL) {
  ------------------
  |  Branch (14228:9): [True: 0, False: 7]
  ------------------
14229|      0|        unicode = _PyUnicode_GetEmpty();
14230|      0|    }
14231|      7|    else if (encoding == NULL && errors == NULL) {
  ------------------
  |  Branch (14231:14): [True: 7, False: 0]
  |  Branch (14231:34): [True: 7, False: 0]
  ------------------
14232|      7|        unicode = PyObject_Str(x);
14233|      7|    }
14234|      0|    else {
14235|      0|        unicode = PyUnicode_FromEncodedObject(x, encoding, errors);
14236|      0|    }
14237|       |
14238|      7|    if (unicode != NULL && type != &PyUnicode_Type) {
  ------------------
  |  Branch (14238:9): [True: 7, False: 0]
  |  Branch (14238:28): [True: 7, False: 0]
  ------------------
14239|      7|        Py_SETREF(unicode, unicode_subtype_new(type, unicode));
  ------------------
  |  |  354|      7|    do { \
  |  |  355|      7|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      7|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      7|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      7|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
14240|      7|    }
14241|      7|    return unicode;
14242|      7|}
unicodeobject.c:unicode_subtype_new:
14305|      7|{
14306|      7|    PyObject *self;
14307|      7|    Py_ssize_t length, char_size;
14308|      7|    int share_utf8;
14309|      7|    int kind;
14310|      7|    void *data;
14311|       |
14312|      7|    assert(PyType_IsSubtype(type, &PyUnicode_Type));
  ------------------
  |  Branch (14312:5): [True: 7, False: 0]
  ------------------
14313|      7|    assert(_PyUnicode_CHECK(unicode));
  ------------------
  |  Branch (14313:5): [True: 7, False: 0]
  ------------------
14314|       |
14315|      7|    self = type->tp_alloc(type, 0);
14316|      7|    if (self == NULL) {
  ------------------
  |  Branch (14316:9): [True: 0, False: 7]
  ------------------
14317|      0|        return NULL;
14318|      0|    }
14319|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14320|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14321|       |
14322|      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 (14322:5): [True: 7, False: 0]
  ------------------
14323|       |#ifdef Py_DEBUG
14324|       |    _PyUnicode_HASH(self) = -1;
14325|       |#else
14326|      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 (14326:5): [True: 7, False: 0]
  |  Branch (14326:29): [True: 7, False: 0]
  ------------------
14327|      0|#endif
14328|      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 (14328:5): [True: 7, False: 0]
  ------------------
14329|      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 (14329:5): [True: 7, False: 0]
  ------------------
14330|      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 (14330:5): [True: 7, False: 0]
  ------------------
14331|      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 (14331:5): [True: 7, False: 0]
  |  Branch (14331:36): [True: 7, False: 0]
  ------------------
14332|      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 (14332:5): [True: 7, False: 0]
  ------------------
14333|      0|    PyUnicode_SET_UTF8_LENGTH(self, 0);
14334|      7|    PyUnicode_SET_UTF8(self, NULL);
14335|      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 (14335:5): [True: 7, False: 0]
  ------------------
14336|       |
14337|      0|    share_utf8 = 0;
14338|      7|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (14338:9): [True: 7, False: 0]
  ------------------
14339|      7|        char_size = 1;
14340|      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 (14340:13): [True: 7, False: 0]
  ------------------
14341|      7|            share_utf8 = 1;
14342|      7|    }
14343|      0|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (14343:14): [True: 0, False: 0]
  ------------------
14344|      0|        char_size = 2;
14345|      0|    }
14346|      0|    else {
14347|      0|        assert(kind == PyUnicode_4BYTE_KIND);
  ------------------
  |  Branch (14347:9): [True: 0, False: 0]
  ------------------
14348|      0|        char_size = 4;
14349|      0|    }
14350|       |
14351|       |    /* Ensure we won't overflow the length. */
14352|      7|    if (length > (PY_SSIZE_T_MAX / char_size - 1)) {
  ------------------
  |  |  137|      7|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (14352:9): [True: 0, False: 7]
  ------------------
14353|      0|        PyErr_NoMemory();
14354|      0|        goto onError;
14355|      0|    }
14356|      7|    data = PyMem_Malloc((length + 1) * char_size);
14357|      7|    if (data == NULL) {
  ------------------
  |  Branch (14357:9): [True: 0, False: 7]
  ------------------
14358|      0|        PyErr_NoMemory();
14359|      0|        goto onError;
14360|      0|    }
14361|       |
14362|     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 (14362:5): [True: 7, False: 0]
  ------------------
14363|      7|    if (share_utf8) {
  ------------------
  |  Branch (14363:9): [True: 7, False: 0]
  ------------------
14364|      7|        PyUnicode_SET_UTF8_LENGTH(self, length);
14365|      7|        PyUnicode_SET_UTF8(self, data);
14366|      7|    }
14367|       |
14368|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14369|     14|    assert(_PyUnicode_CheckConsistency(self, 1));
  ------------------
  |  Branch (14369:5): [True: 7, False: 0]
  ------------------
14370|       |#ifdef Py_DEBUG
14371|       |    _PyUnicode_HASH(self) = _PyUnicode_HASH(unicode);
14372|       |#endif
14373|      7|    return self;
14374|       |
14375|      0|onError:
14376|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14377|       |    return NULL;
14378|     14|}
unicodeobject.c:unicode_vectorcall:
14259|   150k|{
14260|   150k|    assert(Py_Is(_PyType_CAST(type), &PyUnicode_Type));
  ------------------
  |  Branch (14260:5): [True: 150k, False: 0]
  |  Branch (14260:5): [True: 150k, False: 0]
  ------------------
14261|       |
14262|   150k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|   150k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
14263|   150k|    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 (14263:9): [True: 0, False: 150k]
  |  Branch (14263:28): [True: 0, False: 0]
  ------------------
14264|       |        // Fallback to unicode_new()
14265|      0|        PyObject *tuple = PyTuple_FromArray(args, nargs);
14266|      0|        if (tuple == NULL) {
  ------------------
  |  Branch (14266:13): [True: 0, False: 0]
  ------------------
14267|      0|            return NULL;
14268|      0|        }
14269|      0|        PyObject *dict = _PyStack_AsDict(args + nargs, kwnames);
14270|      0|        if (dict == NULL) {
  ------------------
  |  Branch (14270:13): [True: 0, False: 0]
  ------------------
14271|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14272|      0|            return NULL;
14273|      0|        }
14274|      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 (14274:37): [True: 0, False: 0]
  ------------------
14275|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14276|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14277|      0|        return ret;
14278|      0|    }
14279|   150k|    if (!_PyArg_CheckPositional("str", nargs, 0, 3)) {
  ------------------
  |  |   31|   150k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 150k, False: 0]
  |  |  |  Branch (31:27): [True: 150k, False: 0]
  |  |  ------------------
  |  |   32|   150k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
14280|      0|        return NULL;
14281|      0|    }
14282|   150k|    if (nargs == 0) {
  ------------------
  |  Branch (14282:9): [True: 0, False: 150k]
  ------------------
14283|      0|        return _PyUnicode_GetEmpty();
14284|      0|    }
14285|   150k|    PyObject *object = args[0];
14286|   150k|    if (nargs == 1) {
  ------------------
  |  Branch (14286:9): [True: 21, False: 150k]
  ------------------
14287|     21|        return PyObject_Str(object);
14288|     21|    }
14289|   150k|    const char *encoding = arg_as_utf8(args[1], "encoding");
14290|   150k|    if (encoding == NULL) {
  ------------------
  |  Branch (14290:9): [True: 0, False: 150k]
  ------------------
14291|      0|        return NULL;
14292|      0|    }
14293|   150k|    const char *errors = NULL;
14294|   150k|    if (nargs == 3) {
  ------------------
  |  Branch (14294:9): [True: 4.14k, False: 145k]
  ------------------
14295|  4.14k|        errors = arg_as_utf8(args[2], "errors");
14296|  4.14k|        if (errors == NULL) {
  ------------------
  |  Branch (14296:13): [True: 0, False: 4.14k]
  ------------------
14297|      0|            return NULL;
14298|      0|        }
14299|  4.14k|    }
14300|   150k|    return PyUnicode_FromEncodedObject(object, encoding, errors);
14301|   150k|}
unicodeobject.c:arg_as_utf8:
14246|   154k|{
14247|   154k|    if (!PyUnicode_Check(obj)) {
  ------------------
  |  |  103|   154k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   154k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (14247:9): [True: 0, False: 154k]
  ------------------
14248|      0|        PyErr_Format(PyExc_TypeError,
14249|      0|                     "str() argument '%s' must be str, not %T",
14250|      0|                     name, obj);
14251|      0|        return NULL;
14252|      0|    }
14253|   154k|    return _PyUnicode_AsUTF8NoNUL(obj);
14254|   154k|}
unicodeobject.c:unicode_iteritem:
14382|  13.6M|{
14383|  13.6M|    if (index >= PyUnicode_GET_LENGTH(obj)) {
  ------------------
  |  |  299|  13.6M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14383:9): [True: 445k, False: 13.2M]
  ------------------
14384|   445k|        return (_PyObjectIndexPair) { .object = NULL, .index = index };
14385|   445k|    }
14386|  13.2M|    const void *data = PyUnicode_DATA(obj);
  ------------------
  |  |  284|  13.2M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14387|  13.2M|    int kind = PyUnicode_KIND(obj);
  ------------------
  |  |  258|  13.2M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  26.4M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 13.2M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14388|  13.2M|    Py_UCS4 ch = PyUnicode_READ(kind, data, index);
  ------------------
  |  |  354|  13.2M|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  13.2M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  13.2M|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  13.2M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  13.2M|                   (index))
  ------------------
14389|  13.2M|    PyObject *result = unicode_char(ch);
14390|  13.2M|    index = (result == NULL) ? -1 : index + 1;
  ------------------
  |  Branch (14390:13): [True: 0, False: 13.2M]
  ------------------
14391|  13.2M|    return (_PyObjectIndexPair) { .object = result, .index = index };
14392|  13.2M|}
unicodeobject.c:_init_global_state:
14466|      2|{
14467|      2|    static int initialized = 0;
14468|      2|    if (initialized) {
  ------------------
  |  Branch (14468:9): [True: 0, False: 2]
  ------------------
14469|      0|        return;
14470|      0|    }
14471|      2|    initialized = 1;
14472|       |
14473|       |    /* initialize the linebreak bloom filter */
14474|      2|    const Py_UCS2 linebreak[] = {
14475|      2|        0x000A, /* LINE FEED */
14476|      2|        0x000D, /* CARRIAGE RETURN */
14477|      2|        0x001C, /* FILE SEPARATOR */
14478|      2|        0x001D, /* GROUP SEPARATOR */
14479|      2|        0x001E, /* RECORD SEPARATOR */
14480|      2|        0x0085, /* NEXT LINE */
14481|      2|        0x2028, /* LINE SEPARATOR */
14482|      2|        0x2029, /* PARAGRAPH SEPARATOR */
14483|      2|    };
14484|      2|    bloom_linebreak = make_bloom_mask(
14485|      2|        PyUnicode_2BYTE_KIND, linebreak,
14486|      2|        Py_ARRAY_LENGTH(linebreak));
  ------------------
  |  |  196|      2|    (sizeof(array) / sizeof((array)[0]))
  ------------------
14487|      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
  |  |  ------------------
  |  |  |  |  925|    512|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (925:6): [True: 256, False: 256]
  |  |  |  |  ------------------
  |  |  |  |  926|    512|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    256|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    256|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  927|    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|   231k|{
  260|   231k|    return unicode_hash((PyObject *)key);
  261|   231k|}
unicodeobject.c:hashtable_unicode_compare:
  265|  10.0k|{
  266|  10.0k|    PyObject *obj1 = (PyObject *)key1;
  267|  10.0k|    PyObject *obj2 = (PyObject *)key2;
  268|  10.0k|    if (obj1 != NULL && obj2 != NULL) {
  ------------------
  |  Branch (268:9): [True: 10.0k, False: 0]
  |  Branch (268:25): [True: 10.0k, False: 0]
  ------------------
  269|  10.0k|        return unicode_eq(obj1, obj2);
  270|  10.0k|    }
  271|      0|    else {
  272|      0|        return obj1 == obj2;
  273|      0|    }
  274|  10.0k|}
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:
14539|  2.24k|{
14540|       |    // Note that this steals a reference to `s`, but in many cases that
14541|       |    // stolen ref is returned, requiring no decref/incref.
14542|       |
14543|  2.24k|    assert(s != NULL);
  ------------------
  |  Branch (14543:5): [True: 2.24k, False: 0]
  ------------------
14544|  2.24k|    assert(_PyUnicode_CHECK(s));
  ------------------
  |  Branch (14544:5): [True: 2.24k, False: 0]
  ------------------
14545|  2.24k|    assert(_PyUnicode_STATE(s).statically_allocated);
  ------------------
  |  Branch (14545:5): [True: 2.24k, False: 0]
  |  Branch (14545:5): [True: 2.24k, False: 0]
  ------------------
14546|  2.24k|    assert(!PyUnicode_CHECK_INTERNED(s));
  ------------------
  |  Branch (14546:5): [True: 2.24k, False: 0]
  ------------------
14547|       |
14548|       |#ifdef Py_DEBUG
14549|       |    /* We must not add process-global interned string if there's already a
14550|       |     * per-interpreter interned_dict, which might contain duplicates.
14551|       |     */
14552|       |    PyObject *interned = get_interned_dict(interp);
14553|       |    assert(interned == NULL);
14554|       |#endif
14555|       |
14556|       |    /* Look in the global cache first. */
14557|  2.24k|    PyObject *r = (PyObject *)_Py_hashtable_get(INTERNED_STRINGS, s);
  ------------------
  |  |  223|  2.24k|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
14558|       |    /* We should only init each string once */
14559|  2.24k|    assert(r == NULL);
  ------------------
  |  Branch (14559:5): [True: 2.24k, False: 0]
  ------------------
14560|       |    /* but just in case (for the non-debug build), handle this */
14561|  2.24k|    if (r != NULL && r != s) {
  ------------------
  |  Branch (14561:9): [True: 0, False: 2.24k]
  |  Branch (14561:22): [True: 0, False: 0]
  ------------------
14562|      0|        assert(_PyUnicode_STATE(r).interned == SSTATE_INTERNED_IMMORTAL_STATIC);
  ------------------
  |  Branch (14562:9): [True: 0, False: 0]
  |  Branch (14562:9): [True: 0, False: 0]
  ------------------
14563|      0|        assert(_PyUnicode_CHECK(r));
  ------------------
  |  Branch (14563:9): [True: 0, False: 0]
  ------------------
14564|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14565|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14566|      0|    }
14567|       |
14568|  2.24k|    if (_Py_hashtable_set(INTERNED_STRINGS, s, s) < -1) {
  ------------------
  |  |  223|  2.24k|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
  |  Branch (14568:9): [True: 0, False: 2.24k]
  ------------------
14569|      0|        Py_FatalError("failed to intern static string");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
14570|      0|    }
14571|       |
14572|  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 (14572:5): [True: 2.24k, False: 0]
  ------------------
14573|      0|    return s;
14574|  2.24k|}
unicodeobject.c:intern_common:
14621|  3.32M|{
14622|       |    // Note that this steals a reference to `s`, but in many cases that
14623|       |    // stolen ref is returned, requiring no decref/incref.
14624|       |
14625|       |#ifdef Py_DEBUG
14626|       |    assert(s != NULL);
14627|       |    assert(_PyUnicode_CHECK(s));
14628|       |#else
14629|  3.32M|    if (s == NULL || !PyUnicode_Check(s)) {
  ------------------
  |  |  103|  3.32M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.32M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (14629:9): [True: 0, False: 3.32M]
  |  Branch (14629:22): [True: 0, False: 3.32M]
  ------------------
14630|      0|        return s;
14631|      0|    }
14632|  3.32M|#endif
14633|       |
14634|       |    /* If it's a subclass, we don't really know what putting
14635|       |       it in the interned dict might do. */
14636|  3.32M|    if (!PyUnicode_CheckExact(s)) {
  ------------------
  |  |  104|  3.32M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  3.32M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14636:9): [True: 0, False: 3.32M]
  ------------------
14637|      0|        return s;
14638|      0|    }
14639|       |
14640|       |    /* Is it already interned? */
14641|  3.32M|    switch (PyUnicode_CHECK_INTERNED(s)) {
  ------------------
  |  |  214|  3.32M|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14642|   220k|        case SSTATE_NOT_INTERNED:
  ------------------
  |  |  201|   220k|#define SSTATE_NOT_INTERNED 0
  ------------------
  |  Branch (14642:9): [True: 220k, False: 3.10M]
  ------------------
14643|       |            // no, go on
14644|   220k|            break;
14645|  44.1k|        case SSTATE_INTERNED_MORTAL:
  ------------------
  |  |  202|  44.1k|#define SSTATE_INTERNED_MORTAL 1
  ------------------
  |  Branch (14645:9): [True: 44.1k, False: 3.28M]
  ------------------
14646|  44.1k|#ifndef Py_GIL_DISABLED
14647|       |            // yes but we might need to make it immortal
14648|  44.1k|            if (immortalize) {
  ------------------
  |  Branch (14648:17): [True: 80, False: 44.0k]
  ------------------
14649|     80|                immortalize_interned(s);
14650|     80|            }
14651|  44.1k|            return s;
14652|       |#else
14653|       |            // not fully interned yet; fall through to the locking path
14654|       |            break;
14655|       |#endif
14656|  3.05M|        default:
  ------------------
  |  Branch (14656:9): [True: 3.05M, False: 264k]
  ------------------
14657|       |            // all done
14658|  3.05M|            return s;
14659|  3.32M|    }
14660|       |
14661|       |    /* Statically allocated strings must be already interned. */
14662|  3.32M|    assert(!_PyUnicode_STATE(s).statically_allocated);
  ------------------
  |  Branch (14662:5): [True: 220k, False: 0]
  |  Branch (14662:5): [True: 220k, False: 0]
  ------------------
14663|       |
14664|       |#if Py_GIL_DISABLED
14665|       |    /* In the free-threaded build, all interned strings are immortal */
14666|       |    immortalize = 1;
14667|       |#endif
14668|       |
14669|       |    /* If it's already immortal, intern it as such */
14670|   220k|    if (_Py_IsImmortal(s)) {
  ------------------
  |  |  137|   220k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   220k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   220k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 220k]
  |  |  ------------------
  ------------------
14671|      0|        immortalize = 1;
14672|      0|    }
14673|       |
14674|       |    /* if it's a short string, get the singleton */
14675|   220k|    if (PyUnicode_GET_LENGTH(s) == 1 &&
  ------------------
  |  |  299|   220k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   220k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   220k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14675:9): [True: 771, False: 219k]
  ------------------
14676|  1.54k|                PyUnicode_KIND(s) == PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  258|    771|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.54k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 771, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14676:17): [True: 10, False: 761]
  ------------------
14677|     10|        PyObject *r = LATIN1(*(unsigned char*)PyUnicode_DATA(s));
  ------------------
  |  |  188|     10|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  925|     10|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (925:6): [True: 10, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  926|     10|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|     10|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|     10|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  927|     10|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14678|     10|        assert(PyUnicode_CHECK_INTERNED(r));
  ------------------
  |  Branch (14678:9): [True: 10, False: 0]
  ------------------
14679|     10|        Py_DECREF(s);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14680|     10|        return r;
14681|     10|    }
14682|       |#ifdef Py_DEBUG
14683|       |    assert(!unicode_is_singleton(s));
14684|       |#endif
14685|       |
14686|       |    /* Look in the global cache now. */
14687|   220k|    {
14688|   220k|        PyObject *r = (PyObject *)_Py_hashtable_get(INTERNED_STRINGS, s);
  ------------------
  |  |  223|   220k|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
14689|   220k|        if (r != NULL) {
  ------------------
  |  Branch (14689:13): [True: 10.0k, False: 210k]
  ------------------
14690|  10.0k|            assert(_PyUnicode_STATE(r).statically_allocated);
  ------------------
  |  Branch (14690:13): [True: 10.0k, False: 0]
  |  Branch (14690:13): [True: 10.0k, False: 0]
  ------------------
14691|  10.0k|            assert(r != s);  // r must be statically_allocated; s is not
  ------------------
  |  Branch (14691:13): [True: 10.0k, False: 0]
  ------------------
14692|  10.0k|            Py_DECREF(s);
  ------------------
  |  |  430|  10.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14693|  10.0k|            return Py_NewRef(r);
  ------------------
  |  |  550|  10.0k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14694|  10.0k|        }
14695|   220k|    }
14696|       |
14697|       |    /* Do a setdefault on the per-interpreter cache. */
14698|   210k|    PyObject *interned = get_interned_dict(interp);
14699|   210k|    assert(interned != NULL);
  ------------------
  |  Branch (14699:5): [True: 210k, False: 0]
  ------------------
14700|       |#ifdef Py_GIL_DISABLED
14701|       |#  define INTERN_MUTEX &_Py_INTERP_CACHED_OBJECT(interp, interned_mutex)
14702|       |    // Lock-free fast path: check if there's already an interned copy that
14703|       |    // is in its final immortal state.
14704|       |    PyObject *r;
14705|       |    int res = PyDict_GetItemRef(interned, s, &r);
14706|       |    if (res < 0) {
14707|       |        PyErr_Clear();
14708|       |        return s;
14709|       |    }
14710|       |    if (res > 0) {
14711|       |        unsigned int state = _Py_atomic_load_uint8(&_PyUnicode_STATE(r).interned);
14712|       |        if (state == SSTATE_INTERNED_IMMORTAL) {
14713|       |            Py_DECREF(s);
14714|       |            return r;
14715|       |        }
14716|       |        // Not yet fully interned; fall through to the locking path.
14717|       |        Py_DECREF(r);
14718|       |    }
14719|       |#endif
14720|       |
14721|       |#ifdef Py_GIL_DISABLED
14722|       |    // Immortalization writes to the refcount fields non-atomically. That
14723|       |    // races with Py_INCREF / Py_DECREF on the thread that owns `s`. If we
14724|       |    // don't own it (and its refcount hasn't been merged), intern a copy
14725|       |    // we own instead.
14726|       |    if (!can_immortalize_safely(s)) {
14727|       |        PyObject *copy = _PyUnicode_Copy(s);
14728|       |        if (copy == NULL) {
14729|       |            PyErr_Clear();
14730|       |            return s;
14731|       |        }
14732|       |        Py_DECREF(s);
14733|       |        s = copy;
14734|       |    }
14735|       |#endif
14736|       |
14737|       |    // Why _Py_LOCK_DONT_DETACH is used here: waiting for the interned mutex
14738|       |    // must not detach the thread state. Extension code is expected to
14739|       |    // detach before blocking on opaque external synchronization. However,
14740|       |    // the lock used for C++ static initialization is hidden, making
14741|       |    // that difficult, and it is common for C++ extensions to call
14742|       |    // PyUnicode_InternFromString() from static initializers. Detaching here
14743|       |    // can therefore deadlock: a stop-the-world pause may prevent the lock
14744|       |    // owner from reattaching while the pause waits for another attached
14745|       |    // thread blocked on the hidden lock.
14746|   210k|    FT_MUTEX_LOCK_FLAGS(INTERN_MUTEX, _Py_LOCK_DONT_DETACH);
  ------------------
  |  |  205|   210k|#define FT_MUTEX_LOCK_FLAGS(lock, flags) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (205:55): [Folded, False: 210k]
  |  |  ------------------
  ------------------
14747|   210k|    PyObject *t;
14748|   210k|    {
14749|   210k|        int res = PyDict_SetDefaultRef(interned, s, s, &t);
14750|   210k|        if (res < 0) {
  ------------------
  |  Branch (14750:13): [True: 0, False: 210k]
  ------------------
14751|      0|            PyErr_Clear();
14752|      0|            FT_MUTEX_UNLOCK(INTERN_MUTEX);
  ------------------
  |  |  206|      0|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (206:44): [Folded, False: 0]
  |  |  ------------------
  ------------------
14753|      0|            return s;
14754|      0|        }
14755|   210k|        else if (res == 1) {
  ------------------
  |  Branch (14755:18): [True: 162k, False: 47.6k]
  ------------------
14756|       |            // value was already present (not inserted)
14757|   162k|            Py_DECREF(s);
  ------------------
  |  |  430|   162k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   162k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   162k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14758|   162k|            if (immortalize &&
  ------------------
  |  Branch (14758:17): [True: 87.6k, False: 75.2k]
  ------------------
14759|  87.6k|                    PyUnicode_CHECK_INTERNED(t) == SSTATE_INTERNED_MORTAL) {
  ------------------
  |  |  214|  87.6k|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  87.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  87.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                  PyUnicode_CHECK_INTERNED(t) == SSTATE_INTERNED_MORTAL) {
  ------------------
  |  |  202|  87.6k|#define SSTATE_INTERNED_MORTAL 1
  ------------------
  |  Branch (14759:21): [True: 471, False: 87.1k]
  ------------------
14760|    471|                immortalize_interned(t);
14761|    471|            }
14762|   162k|            FT_MUTEX_UNLOCK(INTERN_MUTEX);
  ------------------
  |  |  206|   162k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (206:44): [Folded, False: 162k]
  |  |  ------------------
  ------------------
14763|   162k|            return t;
14764|   162k|        }
14765|  47.6k|        else {
14766|       |            // value was newly inserted
14767|  47.6k|            assert (s == t);
  ------------------
  |  Branch (14767:13): [True: 47.6k, False: 0]
  ------------------
14768|  47.6k|            Py_DECREF(t);
  ------------------
  |  |  430|  47.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  47.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14769|  47.6k|        }
14770|   210k|    }
14771|       |
14772|       |    /* NOT_INTERNED -> INTERNED_MORTAL */
14773|       |
14774|   210k|    assert(_PyUnicode_STATE(s).interned == SSTATE_NOT_INTERNED);
  ------------------
  |  Branch (14774:5): [True: 47.6k, False: 0]
  |  Branch (14774:5): [True: 47.6k, False: 0]
  ------------------
14775|       |
14776|  47.6k|    if (!_Py_IsImmortal(s)) {
  ------------------
  |  |  137|  47.6k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  47.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14776:9): [True: 47.6k, False: 0]
  ------------------
14777|       |        /* The two references in interned dict (key and value) are not counted.
14778|       |        unicode_dealloc() and _PyUnicode_ClearInterned() take care of this. */
14779|  47.6k|        Py_DECREF(s);
  ------------------
  |  |  430|  47.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  47.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14780|  47.6k|        Py_DECREF(s);
  ------------------
  |  |  430|  47.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  47.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14781|  47.6k|    }
14782|  47.6k|    FT_ATOMIC_STORE_UINT8(_PyUnicode_STATE(s).interned, SSTATE_INTERNED_MORTAL);
  ------------------
  |  |  155|  95.2k|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  |  |  ------------------
  |  |  |  Branch (155:49): [True: 47.6k, False: 0]
  |  |  ------------------
  ------------------
14783|       |
14784|       |    /* INTERNED_MORTAL -> INTERNED_IMMORTAL (if needed) */
14785|       |
14786|       |#ifdef Py_DEBUG
14787|       |    if (_Py_IsImmortal(s)) {
14788|       |        assert(immortalize);
14789|       |    }
14790|       |#endif
14791|  47.6k|    if (immortalize) {
  ------------------
  |  Branch (14791:9): [True: 30.2k, False: 17.3k]
  ------------------
14792|  30.2k|        immortalize_interned(s);
14793|  30.2k|    }
14794|       |
14795|  47.6k|    FT_MUTEX_UNLOCK(INTERN_MUTEX);
  ------------------
  |  |  206|  47.6k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (206:44): [Folded, False: 47.6k]
  |  |  ------------------
  ------------------
14796|  47.6k|    return s;
14797|  47.6k|}
unicodeobject.c:immortalize_interned:
14588|  30.7k|{
14589|  30.7k|    assert(PyUnicode_CHECK_INTERNED(s) == SSTATE_INTERNED_MORTAL);
  ------------------
  |  Branch (14589:5): [True: 30.7k, False: 0]
  ------------------
14590|  30.7k|    assert(!_Py_IsImmortal(s));
  ------------------
  |  Branch (14590:5): [True: 30.7k, False: 0]
  ------------------
14591|       |#ifdef Py_REF_DEBUG
14592|       |    /* The reference count value should be excluded from the RefTotal.
14593|       |       The decrements to these objects will not be registered so they
14594|       |       need to be accounted for in here. */
14595|       |    for (Py_ssize_t i = 0; i < Py_REFCNT(s); i++) {
14596|       |        _Py_DecRefTotal(_PyThreadState_GET());
14597|       |    }
14598|       |#endif
14599|  30.7k|    _Py_SetImmortal(s);
14600|       |    // The switch to SSTATE_INTERNED_IMMORTAL must be the last thing done here
14601|       |    // to synchronize with the check in intern_common() that avoids locking if
14602|       |    // the string is already immortal.
14603|  30.7k|    FT_ATOMIC_STORE_UINT8(_PyUnicode_STATE(s).interned, SSTATE_INTERNED_IMMORTAL);
  ------------------
  |  |  155|  61.5k|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  |  |  ------------------
  |  |  |  Branch (155:49): [True: 30.7k, False: 0]
  |  |  ------------------
  ------------------
14604|  30.7k|}
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:
14949|  18.4k|{
14950|  18.4k|    unicodeiterobject *it = (unicodeiterobject *)op;
14951|  18.4k|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  507|  18.4k|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14952|  18.4k|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  524|  18.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14953|  18.4k|    PyObject_GC_Del(it);
14954|  18.4k|}
unicodeobject.c:unicodeiter_next:
14966|   305k|{
14967|   305k|    unicodeiterobject *it = (unicodeiterobject *)op;
14968|   305k|    PyObject *seq;
14969|       |
14970|   305k|    assert(it != NULL);
  ------------------
  |  Branch (14970:5): [True: 305k, False: 0]
  ------------------
14971|   305k|    seq = it->it_seq;
14972|   305k|    if (seq == NULL)
  ------------------
  |  Branch (14972:9): [True: 0, False: 305k]
  ------------------
14973|      0|        return NULL;
14974|   305k|    assert(_PyUnicode_CHECK(seq));
  ------------------
  |  Branch (14974:5): [True: 305k, False: 0]
  ------------------
14975|       |
14976|   305k|    if (it->it_index < PyUnicode_GET_LENGTH(seq)) {
  ------------------
  |  |  299|   305k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   305k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   305k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14976:9): [True: 287k, False: 18.2k]
  ------------------
14977|   287k|        int kind = PyUnicode_KIND(seq);
  ------------------
  |  |  258|   287k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   574k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 287k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14978|   287k|        const void *data = PyUnicode_DATA(seq);
  ------------------
  |  |  284|   287k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   287k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   287k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14979|   287k|        Py_UCS4 chr = PyUnicode_READ(kind, data, it->it_index);
  ------------------
  |  |  354|   287k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   287k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   287k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   287k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   287k|                   (index))
  ------------------
14980|   287k|        it->it_index++;
14981|   287k|        return unicode_char(chr);
14982|   287k|    }
14983|       |
14984|  18.2k|    it->it_seq = NULL;
14985|  18.2k|    Py_DECREF(seq);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14986|       |    return NULL;
14987|   305k|}
unicodeobject.c:unicode_ascii_iter_next:
14991|  1.06k|{
14992|  1.06k|    unicodeiterobject *it = (unicodeiterobject *)op;
14993|  1.06k|    assert(it != NULL);
  ------------------
  |  Branch (14993:5): [True: 1.06k, False: 0]
  ------------------
14994|  1.06k|    PyObject *seq = it->it_seq;
14995|  1.06k|    if (seq == NULL) {
  ------------------
  |  Branch (14995:9): [True: 0, False: 1.06k]
  ------------------
14996|      0|        return NULL;
14997|      0|    }
14998|  1.06k|    assert(_PyUnicode_CHECK(seq));
  ------------------
  |  Branch (14998:5): [True: 1.06k, False: 0]
  ------------------
14999|  1.06k|    assert(PyUnicode_IS_COMPACT_ASCII(seq));
  ------------------
  |  Branch (14999:5): [True: 1.06k, False: 0]
  ------------------
15000|  1.06k|    if (it->it_index < PyUnicode_GET_LENGTH(seq)) {
  ------------------
  |  |  299|  1.06k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (15000:9): [True: 1.02k, False: 41]
  ------------------
15001|  1.02k|        const void *data = ((void*)(_PyASCIIObject_CAST(seq) + 1));
  ------------------
  |  |  186|  1.02k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.02k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (15001:37): [True: 1.02k, False: 0]
  ------------------
15002|  1.02k|        Py_UCS1 chr = (Py_UCS1)PyUnicode_READ(PyUnicode_1BYTE_KIND,
  ------------------
  |  |  354|  1.02k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  1.02k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  1.02k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  1.02k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  1.02k|                   (index))
  ------------------
15003|  1.02k|                                              data, it->it_index);
15004|  1.02k|        it->it_index++;
15005|  1.02k|        return (PyObject*)&_Py_SINGLETON(strings).ascii[chr];
  ------------------
  |  |   18|  1.02k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|  1.02k|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
15006|  1.02k|    }
15007|     41|    it->it_seq = NULL;
15008|     41|    Py_DECREF(seq);
  ------------------
  |  |  430|     41|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     41|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15009|       |    return NULL;
15010|  1.06k|}
unicodeobject.c:unicode_iter:
15122|  18.4k|{
15123|  18.4k|    unicodeiterobject *it;
15124|       |
15125|  18.4k|    if (!PyUnicode_Check(seq)) {
  ------------------
  |  |  103|  18.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  18.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (15125:9): [True: 0, False: 18.4k]
  ------------------
15126|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
15127|      0|        return NULL;
15128|      0|    }
15129|  18.4k|    if (PyUnicode_IS_COMPACT_ASCII(seq)) {
  ------------------
  |  |  241|  18.4k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (241:40): [True: 43, False: 18.3k]
  |  |  ------------------
  ------------------
15130|     43|        it = PyObject_GC_New(unicodeiterobject, &_PyUnicodeASCIIIter_Type);
  ------------------
  |  |  181|     43|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
15131|     43|    }
15132|  18.3k|    else {
15133|  18.3k|        it = PyObject_GC_New(unicodeiterobject, &PyUnicodeIter_Type);
  ------------------
  |  |  181|  18.3k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  18.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
15134|  18.3k|    }
15135|  18.4k|    if (it == NULL)
  ------------------
  |  Branch (15135:9): [True: 0, False: 18.4k]
  ------------------
15136|      0|        return NULL;
15137|  18.4k|    it->it_index = 0;
15138|  18.4k|    it->it_seq = Py_NewRef(seq);
  ------------------
  |  |  550|  18.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  18.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15139|  18.4k|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  505|  18.4k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15140|  18.4k|    return (PyObject *)it;
15141|  18.4k|}
unicodeobject.c:init_fs_encoding:
15279|      2|{
15280|      2|    PyInterpreterState *interp = tstate->interp;
15281|       |
15282|       |    /* Update the filesystem encoding to the normalized Python codec name.
15283|       |       For example, replace "ANSI_X3.4-1968" (locale encoding) with "ascii"
15284|       |       (Python codec name). */
15285|      2|    PyConfig *config = (PyConfig*)_PyInterpreterState_GetConfig(interp);
15286|      2|    if (config_get_codec_name(&config->filesystem_encoding) < 0) {
  ------------------
  |  Branch (15286:9): [True: 0, False: 2]
  ------------------
15287|      0|        _Py_DumpPathConfig(tstate);
15288|      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)}
  ------------------
15289|      0|                             "of the filesystem encoding");
15290|      0|    }
15291|       |
15292|      2|    if (init_fs_codec(interp) < 0) {
  ------------------
  |  Branch (15292:9): [True: 0, False: 2]
  ------------------
15293|      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)}
  ------------------
15294|      0|    }
15295|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
15296|      2|}
unicodeobject.c:config_get_codec_name:
15162|      4|{
15163|      4|    char *encoding;
15164|      4|    if (encode_wstr_utf8(*config_encoding, &encoding, "stdio_encoding") < 0) {
  ------------------
  |  Branch (15164:9): [True: 0, False: 4]
  ------------------
15165|      0|        return -1;
15166|      0|    }
15167|       |
15168|      4|    PyObject *name_obj = NULL;
15169|      4|    PyObject *codec = _PyCodec_Lookup(encoding);
15170|      4|    PyMem_RawFree(encoding);
15171|       |
15172|      4|    if (!codec)
  ------------------
  |  Branch (15172:9): [True: 0, False: 4]
  ------------------
15173|      0|        goto error;
15174|       |
15175|      4|    name_obj = PyObject_GetAttrString(codec, "name");
15176|      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]
  |  |  ------------------
  ------------------
15177|      4|    if (!name_obj) {
  ------------------
  |  Branch (15177:9): [True: 0, False: 4]
  ------------------
15178|      0|        goto error;
15179|      0|    }
15180|       |
15181|      4|    wchar_t *wname = PyUnicode_AsWideCharString(name_obj, NULL);
15182|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15183|      4|    if (wname == NULL) {
  ------------------
  |  Branch (15183:9): [True: 0, False: 4]
  ------------------
15184|      0|        goto error;
15185|      0|    }
15186|       |
15187|      4|    wchar_t *raw_wname = _PyMem_RawWcsdup(wname);
15188|      4|    if (raw_wname == NULL) {
  ------------------
  |  Branch (15188:9): [True: 0, False: 4]
  ------------------
15189|      0|        PyMem_Free(wname);
15190|      0|        PyErr_NoMemory();
15191|      0|        goto error;
15192|      0|    }
15193|       |
15194|      4|    PyMem_RawFree(*config_encoding);
15195|      4|    *config_encoding = raw_wname;
15196|       |
15197|      4|    PyMem_Free(wname);
15198|      4|    return 0;
15199|       |
15200|      0|error:
15201|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15202|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15203|      0|    return -1;
15204|      4|}
unicodeobject.c:encode_wstr_utf8:
15145|      8|{
15146|      8|    int res;
15147|      8|    res = _Py_EncodeUTF8Ex(wstr, str, NULL, NULL, 1, _Py_ERROR_STRICT);
15148|      8|    if (res == -2) {
  ------------------
  |  Branch (15148:9): [True: 0, False: 8]
  ------------------
15149|      0|        PyErr_Format(PyExc_RuntimeError, "cannot encode %s", name);
15150|      0|        return -1;
15151|      0|    }
15152|      8|    if (res < 0) {
  ------------------
  |  Branch (15152:9): [True: 0, False: 8]
  ------------------
15153|      0|        PyErr_NoMemory();
15154|      0|        return -1;
15155|      0|    }
15156|      8|    return 0;
15157|      8|}
unicodeobject.c:init_fs_codec:
15222|      2|{
15223|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
15224|       |
15225|      2|    _Py_error_handler error_handler;
15226|      2|    error_handler = get_error_handler_wide(config->filesystem_errors);
15227|      2|    if (error_handler == _Py_ERROR_UNKNOWN) {
  ------------------
  |  Branch (15227:9): [True: 0, False: 2]
  ------------------
15228|      0|        PyErr_SetString(PyExc_RuntimeError, "unknown filesystem error handler");
15229|      0|        return -1;
15230|      0|    }
15231|       |
15232|      2|    char *encoding, *errors;
15233|      2|    if (encode_wstr_utf8(config->filesystem_encoding,
  ------------------
  |  Branch (15233:9): [True: 0, False: 2]
  ------------------
15234|      2|                         &encoding,
15235|      2|                         "filesystem_encoding") < 0) {
15236|      0|        return -1;
15237|      0|    }
15238|       |
15239|      2|    if (encode_wstr_utf8(config->filesystem_errors,
  ------------------
  |  Branch (15239:9): [True: 0, False: 2]
  ------------------
15240|      2|                         &errors,
15241|      2|                         "filesystem_errors") < 0) {
15242|      0|        PyMem_RawFree(encoding);
15243|      0|        return -1;
15244|      0|    }
15245|       |
15246|      2|    struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
15247|      2|    PyMem_RawFree(fs_codec->encoding);
15248|      2|    fs_codec->encoding = encoding;
15249|       |    /* encoding has been normalized by init_fs_encoding() */
15250|      2|    fs_codec->utf8 = (strcmp(encoding, "utf-8") == 0);
15251|      2|    PyMem_RawFree(fs_codec->errors);
15252|      2|    fs_codec->errors = errors;
15253|      2|    fs_codec->error_handler = error_handler;
15254|       |
15255|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
15256|       |    assert(fs_codec->utf8 == 1);
15257|       |#endif
15258|       |
15259|       |    /* At this point, PyUnicode_EncodeFSDefault() and
15260|       |       PyUnicode_DecodeFSDefault() can now use the Python codec rather than
15261|       |       the C implementation of the filesystem encoding. */
15262|       |
15263|       |    /* Set Py_FileSystemDefaultEncoding and Py_FileSystemDefaultEncodeErrors
15264|       |       global configuration variables. */
15265|      2|    if (_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (15265:9): [True: 2, False: 0]
  ------------------
15266|       |
15267|      2|        if (_Py_SetFileSystemEncoding(fs_codec->encoding,
  ------------------
  |  Branch (15267:13): [True: 0, False: 2]
  ------------------
15268|      2|                                      fs_codec->errors) < 0) {
15269|      0|            PyErr_NoMemory();
15270|      0|            return -1;
15271|      0|        }
15272|      2|    }
15273|      2|    return 0;
15274|      2|}
unicodeobject.c:init_stdio_encoding:
15209|      2|{
15210|       |    /* Update the stdio encoding to the normalized Python codec name. */
15211|      2|    PyConfig *config = (PyConfig*)_PyInterpreterState_GetConfig(interp);
15212|      2|    if (config_get_codec_name(&config->stdio_encoding) < 0) {
  ------------------
  |  Branch (15212:9): [True: 0, False: 2]
  ------------------
15213|      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)}
  ------------------
15214|      0|                             "of the stdio encoding");
15215|      0|    }
15216|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
15217|      2|}

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

_Py_union_type_or:
  259|     45|{
  260|     45|    if (!is_unionable(self) || !is_unionable(other)) {
  ------------------
  |  Branch (260:9): [True: 0, False: 45]
  |  Branch (260:32): [True: 0, False: 45]
  ------------------
  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|     45|    unionbuilder ub;
  265|       |    // unchecked because we already checked is_unionable()
  266|     45|    if (!unionbuilder_init(&ub, false)) {
  ------------------
  |  Branch (266:9): [True: 0, False: 45]
  ------------------
  267|      0|        return NULL;
  268|      0|    }
  269|     45|    if (!unionbuilder_add_single(&ub, self) ||
  ------------------
  |  Branch (269:9): [True: 0, False: 45]
  ------------------
  270|     45|        !unionbuilder_add_single(&ub, other)) {
  ------------------
  |  Branch (270:9): [True: 0, False: 45]
  ------------------
  271|      0|        unionbuilder_finalize(&ub);
  272|      0|        return NULL;
  273|      0|    }
  274|       |
  275|     45|    PyObject *new_union = make_union(&ub);
  276|     45|    return new_union;
  277|     45|}
unionobject.c:is_unionable:
  245|     90|{
  246|     90|    if (obj == Py_None ||
  ------------------
  |  |  616|    180|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (246:9): [True: 44, False: 46]
  ------------------
  247|     46|        PyType_Check(obj) ||
  ------------------
  |  |  766|    136|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 46, False: 0]
  |  |  ------------------
  ------------------
  248|     90|        PySentinel_Check(obj) ||
  ------------------
  |  |   15|     90|#define PySentinel_Check(op) PySentinel_CheckExact(op)
  |  |  ------------------
  |  |  |  |   12|      0|#define PySentinel_CheckExact(op) Py_IS_TYPE((op), &PySentinel_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|     90|#  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|     90|        _PyGenericAlias_Check(obj) ||
  ------------------
  |  |   17|      0|#define _PyGenericAlias_Check(op) PyObject_TypeCheck((op), &Py_GenericAliasType)
  |  |  ------------------
  |  |  |  |  378|     90|#  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|     90|        _PyUnion_Check(obj) ||
  ------------------
  |  |   15|      0|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_Type)
  |  |  ------------------
  |  |  |  |  215|     90|#  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|     90|        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|     90|        return 1;
  253|     90|    }
  254|      0|    return 0;
  255|     90|}
unionobject.c:unionbuilder_init:
  144|     45|{
  145|     45|    ub->args = PyList_New(0);
  146|     45|    if (ub->args == NULL) {
  ------------------
  |  Branch (146:9): [True: 0, False: 45]
  ------------------
  147|      0|        return false;
  148|      0|    }
  149|     45|    ub->hashable_args = PySet_New(NULL);
  150|     45|    if (ub->hashable_args == NULL) {
  ------------------
  |  Branch (150:9): [True: 0, False: 45]
  ------------------
  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|     45|    ub->unhashable_args = NULL;
  155|     45|    ub->is_checked = is_checked;
  156|       |    return true;
  157|     45|}
unionobject.c:unionbuilder_add_single:
  209|     90|{
  210|     90|    if (Py_IsNone(arg)) {
  ------------------
  |  |  621|     90|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|     90|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 44, False: 46]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  211|     44|        arg = (PyObject *)&_PyNone_Type;  // immortal, so no refcounting needed
  212|     44|    }
  213|     46|    else if (_PyUnion_Check(arg)) {
  ------------------
  |  |   15|     46|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_Type)
  |  |  ------------------
  |  |  |  |  215|     46|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 46]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  214|      0|        PyObject *args = ((unionobject *)arg)->args;
  215|      0|        return unionbuilder_add_tuple(ub, args);
  216|      0|    }
  217|     90|    if (ub->is_checked) {
  ------------------
  |  Branch (217:9): [True: 0, False: 90]
  ------------------
  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|     90|    else {
  227|     90|        return unionbuilder_add_single_unchecked(ub, arg);
  228|     90|    }
  229|     90|}
unionobject.c:unionbuilder_add_single_unchecked:
  169|     90|{
  170|     90|    Py_hash_t hash = PyObject_Hash(arg);
  171|     90|    if (hash == -1) {
  ------------------
  |  Branch (171:9): [True: 0, False: 90]
  ------------------
  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|     90|    else {
  193|     90|        int contains = PySet_Contains(ub->hashable_args, arg);
  194|     90|        if (contains < 0) {
  ------------------
  |  Branch (194:13): [True: 0, False: 90]
  ------------------
  195|      0|            return false;
  196|      0|        }
  197|     90|        if (contains == 1) {
  ------------------
  |  Branch (197:13): [True: 0, False: 90]
  ------------------
  198|      0|            return true;
  199|      0|        }
  200|     90|        if (PySet_Add(ub->hashable_args, arg) < 0) {
  ------------------
  |  Branch (200:13): [True: 0, False: 90]
  ------------------
  201|      0|            return false;
  202|      0|        }
  203|     90|    }
  204|     90|    return PyList_Append(ub->args, arg) == 0;
  205|     90|}
unionobject.c:unionbuilder_finalize:
  161|     45|{
  162|     45|    Py_DECREF(ub->args);
  ------------------
  |  |  430|     45|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  163|     45|    Py_DECREF(ub->hashable_args);
  ------------------
  |  |  430|     45|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  164|     45|    Py_XDECREF(ub->unhashable_args);
  ------------------
  |  |  524|     45|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|     45|}
unionobject.c:unionobject_dealloc:
   21|      1|{
   22|      1|    unionobject *alias = (unionobject *)self;
   23|       |
   24|      1|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  507|      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:union_traverse:
   36|    792|{
   37|    792|    unionobject *alias = (unionobject *)self;
   38|    792|    Py_VISIT(alias->args);
  ------------------
  |  |  194|    792|    do {                                                                \
  |  |  195|    792|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 792, False: 0]
  |  |  ------------------
  |  |  196|    792|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    792|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    792|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    792|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 792]
  |  |  ------------------
  |  |  198|    792|                return vret;                                            \
  |  |  199|    792|        }                                                               \
  |  |  200|    792|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 792]
  |  |  ------------------
  ------------------
   39|    792|    Py_VISIT(alias->hashable_args);
  ------------------
  |  |  194|    792|    do {                                                                \
  |  |  195|    792|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 792, False: 0]
  |  |  ------------------
  |  |  196|    792|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    792|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    792|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    792|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 792]
  |  |  ------------------
  |  |  198|    792|                return vret;                                            \
  |  |  199|    792|        }                                                               \
  |  |  200|    792|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 792]
  |  |  ------------------
  ------------------
   40|    792|    Py_VISIT(alias->unhashable_args);
  ------------------
  |  |  194|    792|    do {                                                                \
  |  |  195|    792|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 792]
  |  |  ------------------
  |  |  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|    792|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 792]
  |  |  ------------------
  ------------------
   41|    792|    Py_VISIT(alias->parameters);
  ------------------
  |  |  194|    792|    do {                                                                \
  |  |  195|    792|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 792]
  |  |  ------------------
  |  |  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|    792|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 792]
  |  |  ------------------
  ------------------
   42|    792|    return 0;
   43|    792|}
unionobject.c:make_union:
  552|     45|{
  553|     45|    Py_ssize_t n = PyList_GET_SIZE(ub->args);
  ------------------
  |  |   38|     45|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  554|     45|    if (n == 0) {
  ------------------
  |  Branch (554:9): [True: 0, False: 45]
  ------------------
  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|     45|    if (n == 1) {
  ------------------
  |  Branch (559:9): [True: 0, False: 45]
  ------------------
  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|     45|    PyObject *args = NULL, *hashable_args = NULL, *unhashable_args = NULL;
  567|     45|    args = PyList_AsTuple(ub->args);
  568|     45|    if (args == NULL) {
  ------------------
  |  Branch (568:9): [True: 0, False: 45]
  ------------------
  569|      0|        goto error;
  570|      0|    }
  571|     45|    hashable_args = PyFrozenSet_New(ub->hashable_args);
  572|     45|    if (hashable_args == NULL) {
  ------------------
  |  Branch (572:9): [True: 0, False: 45]
  ------------------
  573|      0|        goto error;
  574|      0|    }
  575|     45|    if (ub->unhashable_args != NULL) {
  ------------------
  |  Branch (575:9): [True: 0, False: 45]
  ------------------
  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|     45|    unionobject *result = PyObject_GC_New(unionobject, &_PyUnion_Type);
  ------------------
  |  |  181|     45|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  583|     45|    if (result == NULL) {
  ------------------
  |  Branch (583:9): [True: 0, False: 45]
  ------------------
  584|      0|        goto error;
  585|      0|    }
  586|     45|    unionbuilder_finalize(ub);
  587|       |
  588|     45|    result->parameters = NULL;
  589|     45|    result->args = args;
  590|     45|    result->hashable_args = hashable_args;
  591|     45|    result->unhashable_args = unhashable_args;
  592|     45|    result->weakreflist = NULL;
  593|     45|    _PyObject_GC_TRACK(result);
  ------------------
  |  |  505|     45|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  594|     45|    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|     45|}

_PyWeakref_GetWeakrefCount:
   43|    703|{
   44|    703|    if (!_PyType_SUPPORTS_WEAKREFS(Py_TYPE(obj))) {
  ------------------
  |  |  213|    703|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    703|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    703|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (44:9): [True: 0, False: 703]
  ------------------
   45|      0|        return 0;
   46|      0|    }
   47|       |
   48|    703|    LOCK_WEAKREFS(obj);
   49|    703|    Py_ssize_t count = 0;
   50|    703|    PyWeakReference *head = *GET_WEAKREFS_LISTPTR(obj);
  ------------------
  |  |   38|    703|        ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o))
  ------------------
   51|  1.40k|    while (head != NULL) {
  ------------------
  |  Branch (51:12): [True: 703, False: 703]
  ------------------
   52|    703|        ++count;
   53|    703|        head = head->wr_next;
   54|    703|    }
   55|    703|    UNLOCK_WEAKREFS(obj);
   56|    703|    return count;
   57|    703|}
_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.83k|{
  929|  1.83k|    return (PyObject *)get_or_create_weakref(&_PyWeakref_RefType, ob,
  930|  1.83k|                                             callback);
  931|  1.83k|}
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|   466k|{
 1017|   466k|    PyWeakReference **list;
 1018|       |
 1019|   466k|    if (object == NULL
  ------------------
  |  Branch (1019:9): [True: 0, False: 466k]
  ------------------
 1020|   466k|        || !_PyType_SUPPORTS_WEAKREFS(Py_TYPE(object))
  ------------------
  |  |  213|   466k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   466k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   466k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1020:12): [True: 0, False: 466k]
  ------------------
 1021|   466k|        || Py_REFCNT(object) != 0)
  ------------------
  |  |  119|   466k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   466k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   466k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1021:12): [True: 0, False: 466k]
  ------------------
 1022|      0|    {
 1023|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1024|      0|        return;
 1025|      0|    }
 1026|       |
 1027|   466k|    list = GET_WEAKREFS_LISTPTR(object);
  ------------------
  |  |   38|   466k|        ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o))
  ------------------
 1028|   466k|    if (FT_ATOMIC_LOAD_PTR(*list) == NULL) {
  ------------------
  |  |  145|   466k|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
  |  Branch (1028:9): [True: 465k, False: 703]
  ------------------
 1029|       |        // Fast path for the common case
 1030|   465k|        return;
 1031|   465k|    }
 1032|       |
 1033|       |    /* Remove the callback-less basic and proxy references, which always appear
 1034|       |       at the head of the list.
 1035|       |    */
 1036|  1.40k|    for (int done = 0; !done;) {
  ------------------
  |  Branch (1036:24): [True: 703, False: 703]
  ------------------
 1037|    703|        LOCK_WEAKREFS(object);
 1038|    703|        if (*list != NULL && is_basic_ref_or_proxy(*list)) {
  ------------------
  |  Branch (1038:13): [True: 703, False: 0]
  |  Branch (1038:30): [True: 0, False: 703]
  ------------------
 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|    703|        done = (*list == NULL) || !is_basic_ref_or_proxy(*list);
  ------------------
  |  Branch (1043:16): [True: 0, False: 703]
  |  Branch (1043:35): [True: 703, False: 0]
  ------------------
 1044|    703|        UNLOCK_WEAKREFS(object);
 1045|    703|    }
 1046|       |
 1047|       |    /* Deal with non-canonical (subtypes or refs with callbacks) references. */
 1048|    703|    Py_ssize_t num_weakrefs = _PyWeakref_GetWeakrefCount(object);
 1049|    703|    if (num_weakrefs == 0) {
  ------------------
  |  Branch (1049:9): [True: 0, False: 703]
  ------------------
 1050|      0|        return;
 1051|      0|    }
 1052|       |
 1053|    703|    PyObject *exc = PyErr_GetRaisedException();
 1054|    703|    PyObject *tuple = PyTuple_New(num_weakrefs * 2);
 1055|    703|    if (tuple == NULL) {
  ------------------
  |  Branch (1055:9): [True: 0, False: 703]
  ------------------
 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|    703|    Py_ssize_t num_items = 0;
 1064|  1.40k|    for (int done = 0; !done;) {
  ------------------
  |  Branch (1064:24): [True: 703, False: 703]
  ------------------
 1065|    703|        PyObject *callback = NULL;
 1066|    703|        LOCK_WEAKREFS(object);
 1067|    703|        PyWeakReference *cur = *list;
 1068|    703|        if (cur != NULL) {
  ------------------
  |  Branch (1068:13): [True: 703, False: 0]
  ------------------
 1069|    703|            clear_weakref_lock_held(cur, &callback);
 1070|    703|            if (_Py_TryIncref((PyObject *) cur)) {
  ------------------
  |  Branch (1070:17): [True: 703, False: 0]
  ------------------
 1071|    703|                assert(num_items / 2 < num_weakrefs);
  ------------------
  |  Branch (1071:17): [True: 703, False: 0]
  ------------------
 1072|    703|                PyTuple_SET_ITEM(tuple, num_items, (PyObject *) cur);
  ------------------
  |  |   40|    703|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    703|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    703|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    703|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    703|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1073|    703|                PyTuple_SET_ITEM(tuple, num_items + 1, callback);
  ------------------
  |  |   40|    703|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    703|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    703|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    703|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    703|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1074|    703|                num_items += 2;
 1075|    703|                callback = NULL;
 1076|    703|            }
 1077|    703|        }
 1078|    703|        done = (*list == NULL);
 1079|    703|        UNLOCK_WEAKREFS(object);
 1080|       |
 1081|    703|        Py_XDECREF(callback);
  ------------------
  |  |  524|    703|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    703|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    703|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1082|    703|    }
 1083|       |
 1084|  1.40k|    for (Py_ssize_t i = 0; i < num_items; i += 2) {
  ------------------
  |  Branch (1084:28): [True: 703, False: 703]
  ------------------
 1085|    703|        PyObject *callback = PyTuple_GET_ITEM(tuple, i + 1);
  ------------------
  |  |   29|    703|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    703|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    703|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1085:30): [True: 703, False: 0]
  ------------------
 1086|    703|        if (callback != NULL) {
  ------------------
  |  Branch (1086:13): [True: 703, False: 0]
  ------------------
 1087|    703|            PyObject *weakref = PyTuple_GET_ITEM(tuple, i);
  ------------------
  |  |   29|    703|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    703|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    703|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1087:33): [True: 703, False: 0]
  ------------------
 1088|      0|            handle_callback((PyWeakReference *)weakref, callback);
 1089|    703|        }
 1090|    703|    }
 1091|       |
 1092|    703|    Py_DECREF(tuple);
  ------------------
  |  |  430|    703|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    703|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    703|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1093|       |
 1094|    703|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (1094:5): [True: 703, False: 0]
  ------------------
 1095|    703|    PyErr_SetRaisedException(exc);
 1096|    703|}
weakrefobject.c:clear_weakref_lock_held:
   80|  1.47k|{
   81|  1.47k|    if (self->wr_object != Py_None) {
  ------------------
  |  |  616|  1.47k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (81:9): [True: 767, False: 711]
  ------------------
   82|    767|        PyWeakReference **list = GET_WEAKREFS_LISTPTR(self->wr_object);
  ------------------
  |  |   38|    767|        ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o))
  ------------------
   83|    767|        if (*list == self) {
  ------------------
  |  Branch (83:13): [True: 740, 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|    740|            FT_ATOMIC_STORE_PTR(*list, self->wr_next);
  ------------------
  |  |  146|    740|#define FT_ATOMIC_STORE_PTR(value, new_value) value = new_value
  ------------------
   88|    740|        }
   89|    767|        FT_ATOMIC_STORE_PTR(self->wr_object, Py_None);
  ------------------
  |  |  146|    767|#define FT_ATOMIC_STORE_PTR(value, new_value) value = new_value
  ------------------
   90|    767|        if (self->wr_prev != NULL) {
  ------------------
  |  Branch (90:13): [True: 27, False: 740]
  ------------------
   91|     27|            self->wr_prev->wr_next = self->wr_next;
   92|     27|        }
   93|    767|        if (self->wr_next != NULL) {
  ------------------
  |  Branch (93:13): [True: 3, False: 764]
  ------------------
   94|      3|            self->wr_next->wr_prev = self->wr_prev;
   95|      3|        }
   96|    767|        self->wr_prev = NULL;
   97|    767|        self->wr_next = NULL;
   98|    767|    }
   99|  1.47k|    if (callback != NULL) {
  ------------------
  |  Branch (99:9): [True: 1.47k, False: 8]
  ------------------
  100|  1.47k|        *callback = self->wr_callback;
  101|       |        self->wr_callback = NULL;
  102|  1.47k|    }
  103|  1.47k|}
weakrefobject.c:weakref_dealloc:
  142|    767|{
  143|    767|    PyObject_GC_UnTrack(self);
  144|    767|    clear_weakref(self);
  145|    767|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|    767|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    767|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    767|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  146|    767|}
weakrefobject.c:clear_weakref:
  108|    767|{
  109|    767|    PyWeakReference *self = _PyWeakref_CAST(op);
  ------------------
  |  |   46|    767|    (assert(PyWeakref_Check(op)), _Py_CAST(PyWeakReference*, (op)))
  |  |  ------------------
  |  |  |  |   37|    767|#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: 767, False: 0]
  ------------------
  110|    767|    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|    767|    LOCK_WEAKREFS_FOR_WR(self);
  115|    767|    clear_weakref_lock_held(self, &callback);
  116|    767|    UNLOCK_WEAKREFS_FOR_WR(self);
  117|    767|    Py_XDECREF(callback);
  ------------------
  |  |  524|    767|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    767|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    767|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  118|    767|}
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|  20.1k|{
  152|  20.1k|    PyWeakReference *self = _PyWeakref_CAST(op);
  ------------------
  |  |   46|  20.1k|    (assert(PyWeakref_Check(op)), _Py_CAST(PyWeakReference*, (op)))
  |  |  ------------------
  |  |  |  |   37|  20.1k|#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: 20.1k, False: 0]
  ------------------
  153|  20.1k|    Py_VISIT(self->wr_callback);
  ------------------
  |  |  194|  20.1k|    do {                                                                \
  |  |  195|  20.1k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.31k, False: 18.8k]
  |  |  ------------------
  |  |  196|  1.31k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.31k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.31k]
  |  |  ------------------
  |  |  198|  1.31k|                return vret;                                            \
  |  |  199|  1.31k|        }                                                               \
  |  |  200|  20.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20.1k]
  |  |  ------------------
  ------------------
  154|  20.1k|    return 0;
  155|  20.1k|}
weakrefobject.c:weakref___init__:
  481|    705|{
  482|    705|    PyObject *tmp;
  483|       |
  484|    705|    if (!_PyArg_NoKeywords("ref", kwargs))
  ------------------
  |  |   25|    705|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 705, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  485|      0|        return -1;
  486|       |
  487|    705|    if (parse_weakref_init_args("__init__", args, kwargs, &tmp, &tmp))
  ------------------
  |  Branch (487:9): [True: 705, False: 0]
  ------------------
  488|    705|        return 0;
  489|      0|    else
  490|      0|        return -1;
  491|    705|}
weakrefobject.c:parse_weakref_init_args:
  465|  1.41k|{
  466|  1.41k|    return PyArg_UnpackTuple(args, funcname, 1, 2, obp, callbackp);
  467|  1.41k|}
weakrefobject.c:weakref___new__:
  471|    705|{
  472|    705|    PyObject *ob, *callback = NULL;
  473|    705|    if (parse_weakref_init_args("__new__", args, kwargs, &ob, &callback)) {
  ------------------
  |  Branch (473:9): [True: 705, False: 0]
  ------------------
  474|    705|        return (PyObject *)get_or_create_weakref(type, ob, callback);
  475|    705|    }
  476|      0|    return NULL;
  477|    705|}
weakrefobject.c:get_or_create_weakref:
  412|  2.54k|{
  413|  2.54k|    if (!_PyType_SUPPORTS_WEAKREFS(Py_TYPE(obj))) {
  ------------------
  |  |  213|  2.54k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (413:9): [True: 0, False: 2.54k]
  ------------------
  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|  2.54k|    if (callback == Py_None) {
  ------------------
  |  |  616|  2.54k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (419:9): [True: 0, False: 2.54k]
  ------------------
  420|      0|        callback = NULL;
  421|      0|    }
  422|  2.54k|    if (callback != NULL && !PyCallable_Check(callback)) {
  ------------------
  |  Branch (422:9): [True: 843, False: 1.70k]
  |  Branch (422:29): [True: 0, False: 843]
  ------------------
  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|  2.54k|    PyWeakReference **list = GET_WEAKREFS_LISTPTR(obj);
  ------------------
  |  |   38|  2.54k|        ((PyWeakReference **) _PyObject_GET_WEAKREFS_LISTPTR(o))
  ------------------
  430|  2.54k|    if ((type == &_PyWeakref_RefType) ||
  ------------------
  |  Branch (430:9): [True: 2.17k, False: 367]
  ------------------
  431|    367|        (type == &_PyWeakref_ProxyType) ||
  ------------------
  |  Branch (431:9): [True: 0, False: 367]
  ------------------
  432|    367|        (type == &_PyWeakref_CallableProxyType))
  ------------------
  |  Branch (432:9): [True: 0, False: 367]
  ------------------
  433|  2.17k|    {
  434|  2.17k|        LOCK_WEAKREFS(obj);
  435|  2.17k|        PyWeakReference *basic_ref = try_reuse_basic_ref(*list, type, callback);
  436|  2.17k|        if (basic_ref != NULL) {
  ------------------
  |  Branch (436:13): [True: 291, False: 1.88k]
  ------------------
  437|    291|            UNLOCK_WEAKREFS(obj);
  438|    291|            return basic_ref;
  439|    291|        }
  440|  1.88k|        PyWeakReference *newref = allocate_weakref(type, obj, callback);
  441|  1.88k|        if (newref == NULL) {
  ------------------
  |  Branch (441:13): [True: 0, False: 1.88k]
  ------------------
  442|      0|            UNLOCK_WEAKREFS(obj);
  443|      0|            return NULL;
  444|      0|        }
  445|  1.88k|        insert_weakref(newref, list);
  446|  1.88k|        UNLOCK_WEAKREFS(obj);
  447|  1.88k|        return newref;
  448|  1.88k|    }
  449|    367|    else {
  450|       |        // We may not be able to safely allocate inside the lock
  451|    367|        PyWeakReference *newref = allocate_weakref(type, obj, callback);
  452|    367|        if (newref == NULL) {
  ------------------
  |  Branch (452:13): [True: 0, False: 367]
  ------------------
  453|      0|            return NULL;
  454|      0|        }
  455|    367|        LOCK_WEAKREFS(obj);
  456|    367|        insert_weakref(newref, list);
  457|    367|        UNLOCK_WEAKREFS(obj);
  458|    367|        return newref;
  459|    367|    }
  460|  2.54k|}
weakrefobject.c:try_reuse_basic_ref:
  332|  2.17k|{
  333|  2.17k|    if (callback != NULL) {
  ------------------
  |  Branch (333:9): [True: 476, False: 1.70k]
  ------------------
  334|    476|        return NULL;
  335|    476|    }
  336|       |
  337|  1.70k|    PyWeakReference *ref, *proxy;
  338|  1.70k|    get_basic_refs(list, &ref, &proxy);
  339|       |
  340|  1.70k|    PyWeakReference *cand = NULL;
  341|  1.70k|    if (type == &_PyWeakref_RefType) {
  ------------------
  |  Branch (341:9): [True: 1.70k, False: 0]
  ------------------
  342|  1.70k|        cand = ref;
  343|  1.70k|    }
  344|  1.70k|    if ((type == &_PyWeakref_ProxyType) ||
  ------------------
  |  Branch (344:9): [True: 0, False: 1.70k]
  ------------------
  345|  1.70k|        (type == &_PyWeakref_CallableProxyType)) {
  ------------------
  |  Branch (345:9): [True: 0, False: 1.70k]
  ------------------
  346|      0|        cand = proxy;
  347|      0|    }
  348|       |
  349|  1.70k|    if (cand != NULL && _Py_TryIncref((PyObject *) cand)) {
  ------------------
  |  Branch (349:9): [True: 291, False: 1.41k]
  |  Branch (349:25): [True: 291, False: 0]
  ------------------
  350|    291|        return cand;
  351|    291|    }
  352|  1.41k|    return NULL;
  353|  1.70k|}
weakrefobject.c:get_basic_refs:
  279|  3.95k|{
  280|  3.95k|    *refp = NULL;
  281|  3.95k|    *proxyp = NULL;
  282|       |
  283|  3.95k|    if (head != NULL && head->wr_callback == NULL) {
  ------------------
  |  Branch (283:9): [True: 431, False: 3.52k]
  |  Branch (283:25): [True: 431, 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|    431|        if (PyWeakref_CheckRefExact(head)) {
  ------------------
  |  |   17|    431|        Py_IS_TYPE((op), &_PyWeakref_RefType)
  |  |  ------------------
  |  |  |  |  215|    431|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    431|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    431|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 431, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  288|    431|            *refp = head;
  289|    431|            head = head->wr_next;
  290|    431|        }
  291|    431|        if (head != NULL
  ------------------
  |  Branch (291:13): [True: 64, False: 367]
  ------------------
  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|    431|    }
  298|  3.95k|}
weakrefobject.c:allocate_weakref:
  401|  2.25k|{
  402|  2.25k|    PyWeakReference *newref = (PyWeakReference *) type->tp_alloc(type, 0);
  403|  2.25k|    if (newref == NULL) {
  ------------------
  |  Branch (403:9): [True: 0, False: 2.25k]
  ------------------
  404|      0|        return NULL;
  405|      0|    }
  406|  2.25k|    init_weakref(newref, obj, callback);
  407|  2.25k|    return newref;
  408|  2.25k|}
weakrefobject.c:init_weakref:
   63|  2.25k|{
   64|  2.25k|    self->hash = -1;
   65|  2.25k|    self->wr_object = ob;
   66|  2.25k|    self->wr_prev = NULL;
   67|  2.25k|    self->wr_next = NULL;
   68|  2.25k|    self->wr_callback = Py_XNewRef(callback);
  ------------------
  |  |  551|  2.25k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   69|  2.25k|    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|  2.25k|}
weakrefobject.c:weakref_vectorcall:
  174|    398|{
  175|    398|    if (!_PyArg_NoKwnames("weakref", kwnames)) {
  ------------------
  |  |   15|    398|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 398, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  176|      0|        return NULL;
  177|      0|    }
  178|    398|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    398|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  179|    398|    if (!_PyArg_CheckPositional("weakref", nargs, 0, 0)) {
  ------------------
  |  |   31|    398|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 398, False: 0]
  |  |  |  Branch (31:27): [True: 398, False: 0]
  |  |  ------------------
  |  |   32|    398|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  180|      0|        return NULL;
  181|      0|    }
  182|    398|    PyObject *obj = _PyWeakref_GET_REF(self);
  183|    398|    if (obj == NULL) {
  ------------------
  |  Branch (183:9): [True: 0, False: 398]
  ------------------
  184|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  185|      0|    }
  186|    398|    return obj;
  187|    398|}
weakrefobject.c:insert_weakref:
  376|  2.25k|{
  377|  2.25k|    PyWeakReference *ref, *proxy;
  378|  2.25k|    get_basic_refs(*list, &ref, &proxy);
  379|       |
  380|  2.25k|    PyWeakReference *prev;
  381|  2.25k|    if (is_basic_ref(newref)) {
  ------------------
  |  Branch (381:9): [True: 1.41k, False: 843]
  ------------------
  382|  1.41k|        prev = NULL;
  383|  1.41k|    }
  384|    843|    else if (is_basic_proxy(newref)) {
  ------------------
  |  Branch (384:14): [True: 0, False: 843]
  ------------------
  385|      0|        prev = ref;
  386|      0|    }
  387|    843|    else {
  388|    843|        prev = (proxy == NULL) ? ref : proxy;
  ------------------
  |  Branch (388:16): [True: 843, False: 0]
  ------------------
  389|    843|    }
  390|       |
  391|  2.25k|    if (prev == NULL) {
  ------------------
  |  Branch (391:9): [True: 2.11k, False: 140]
  ------------------
  392|  2.11k|        insert_head(newref, list);
  393|  2.11k|    }
  394|    140|    else {
  395|    140|        insert_after(newref, prev);
  396|    140|    }
  397|  2.25k|}
weakrefobject.c:is_basic_ref:
  357|  3.65k|{
  358|  3.65k|    return (ref->wr_callback == NULL) && PyWeakref_CheckRefExact(ref);
  ------------------
  |  |   17|  1.41k|        Py_IS_TYPE((op), &_PyWeakref_RefType)
  |  |  ------------------
  |  |  |  |  215|  1.41k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.41k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (358:12): [True: 1.41k, False: 2.24k]
  ------------------
  359|  3.65k|}
weakrefobject.c:is_basic_proxy:
  363|  2.24k|{
  364|  2.24k|    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: 2.24k]
  ------------------
  365|  2.24k|}
weakrefobject.c:insert_head:
  316|  2.11k|{
  317|  2.11k|    PyWeakReference *next = *list;
  318|       |
  319|  2.11k|    newref->wr_prev = NULL;
  320|  2.11k|    newref->wr_next = next;
  321|  2.11k|    if (next != NULL)
  ------------------
  |  Branch (321:9): [True: 0, False: 2.11k]
  ------------------
  322|      0|        next->wr_prev = newref;
  323|  2.11k|    *list = newref;
  324|  2.11k|}
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|  1.40k|{
  370|  1.40k|    return is_basic_ref(wr) || is_basic_proxy(wr);
  ------------------
  |  Branch (370:12): [True: 0, False: 1.40k]
  |  Branch (370:32): [True: 0, False: 1.40k]
  ------------------
  371|  1.40k|}
weakrefobject.c:handle_callback:
  996|    703|{
  997|    703|    PyObject *cbresult = PyObject_CallOneArg(callback, (PyObject *)ref);
  998|       |
  999|    703|    if (cbresult == NULL) {
  ------------------
  |  Branch (999:9): [True: 0, False: 703]
  ------------------
 1000|      0|        PyErr_FormatUnraisable("Exception ignored while "
 1001|      0|                               "calling weakref callback %R", callback);
 1002|      0|    }
 1003|    703|    else {
 1004|    703|        Py_DECREF(cbresult);
  ------------------
  |  |  430|    703|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    703|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    703|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1005|    703|    }
 1006|    703|}

_PyPegen_dummy_name:
   13|  83.3k|{
   14|  83.3k|    return &_PyRuntime.parser.dummy_name;
   15|  83.3k|}
_PyPegen_singleton_seq:
   20|   246k|{
   21|   246k|    assert(a != NULL);
  ------------------
  |  Branch (21:5): [True: 246k, False: 0]
  ------------------
   22|   246k|    asdl_seq *seq = (asdl_seq*)_Py_asdl_generic_seq_new(1, p->arena);
   23|   246k|    if (!seq) {
  ------------------
  |  Branch (23:9): [True: 0, False: 246k]
  ------------------
   24|      0|        return NULL;
   25|      0|    }
   26|   246k|    asdl_seq_SET_UNTYPED(seq, 0, a);
  ------------------
  |  |  106|   246k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|   246k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   27|   246k|    return seq;
   28|   246k|}
_PyPegen_seq_insert_in_front:
   33|   595k|{
   34|   595k|    assert(a != NULL);
  ------------------
  |  Branch (34:5): [True: 595k, False: 0]
  ------------------
   35|   595k|    if (!seq) {
  ------------------
  |  Branch (35:9): [True: 36.2k, False: 559k]
  ------------------
   36|  36.2k|        return _PyPegen_singleton_seq(p, a);
   37|  36.2k|    }
   38|       |
   39|   559k|    asdl_seq *new_seq = (asdl_seq*)_Py_asdl_generic_seq_new(asdl_seq_LEN(seq) + 1, p->arena);
  ------------------
  |  |   83|   559k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.11M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 559k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   40|   559k|    if (!new_seq) {
  ------------------
  |  Branch (40:9): [True: 0, False: 559k]
  ------------------
   41|      0|        return NULL;
   42|      0|    }
   43|       |
   44|   559k|    asdl_seq_SET_UNTYPED(new_seq, 0, a);
  ------------------
  |  |  106|   559k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|   559k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   45|  1.24M|    for (Py_ssize_t i = 1, l = asdl_seq_LEN(new_seq); i < l; i++) {
  ------------------
  |  |   83|   559k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.11M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 559k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (45:55): [True: 688k, False: 559k]
  ------------------
   46|   688k|        asdl_seq_SET_UNTYPED(new_seq, i, asdl_seq_GET_UNTYPED(seq, i - 1));
  ------------------
  |  |  106|   688k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|   688k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   47|   688k|    }
   48|   559k|    return new_seq;
   49|   559k|}
_PyPegen_seq_flatten:
   86|  29.5k|{
   87|  29.5k|    Py_ssize_t flattened_seq_size = _get_flattened_seq_size(seqs);
   88|  29.5k|    assert(flattened_seq_size > 0);
  ------------------
  |  Branch (88:5): [True: 29.5k, False: 0]
  ------------------
   89|       |
   90|  29.5k|    asdl_seq *flattened_seq = (asdl_seq*)_Py_asdl_generic_seq_new(flattened_seq_size, p->arena);
   91|  29.5k|    if (!flattened_seq) {
  ------------------
  |  Branch (91:9): [True: 0, False: 29.5k]
  ------------------
   92|      0|        return NULL;
   93|      0|    }
   94|       |
   95|  29.5k|    int flattened_seq_idx = 0;
   96|   192k|    for (Py_ssize_t i = 0, l = asdl_seq_LEN(seqs); i < l; i++) {
  ------------------
  |  |   83|  29.5k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  59.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 29.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (96:52): [True: 163k, False: 29.5k]
  ------------------
   97|   163k|        asdl_seq *inner_seq = asdl_seq_GET_UNTYPED(seqs, i);
  ------------------
  |  |   81|   163k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|   163k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   98|   351k|        for (Py_ssize_t j = 0, li = asdl_seq_LEN(inner_seq); j < li; j++) {
  ------------------
  |  |   83|   163k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|   326k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 163k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (98:62): [True: 187k, False: 163k]
  ------------------
   99|   187k|            asdl_seq_SET_UNTYPED(flattened_seq, flattened_seq_idx++, asdl_seq_GET_UNTYPED(inner_seq, j));
  ------------------
  |  |  106|   187k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|   187k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  100|   187k|        }
  101|   163k|    }
  102|  29.5k|    assert(flattened_seq_idx == flattened_seq_size);
  ------------------
  |  Branch (102:5): [True: 29.5k, False: 0]
  ------------------
  103|       |
  104|  29.5k|    return flattened_seq;
  105|  29.5k|}
_PyPegen_seq_last_item:
  109|    138|{
  110|    138|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|    138|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    276|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 138]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  111|    138|    return asdl_seq_GET_UNTYPED(seq, len - 1);
  ------------------
  |  |   81|    138|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    138|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  112|    138|}
_PyPegen_seq_first_item:
  116|     74|{
  117|     74|    return asdl_seq_GET_UNTYPED(seq, 0);
  ------------------
  |  |   81|     74|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     74|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  118|     74|}
_PyPegen_join_names_with_dot:
  123|  9.40k|{
  124|  9.40k|    assert(first_name != NULL && second_name != NULL);
  ------------------
  |  Branch (124:5): [True: 9.40k, False: 0]
  |  Branch (124:5): [True: 9.40k, False: 0]
  ------------------
  125|  9.40k|    PyObject *uni = PyUnicode_FromFormat("%U.%U",
  126|  9.40k|            first_name->v.Name.id, second_name->v.Name.id);
  127|  9.40k|    if (!uni) {
  ------------------
  |  Branch (127:9): [True: 0, False: 9.40k]
  ------------------
  128|      0|        return NULL;
  129|      0|    }
  130|  9.40k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  131|  9.40k|    _PyUnicode_InternImmortal(interp, &uni);
  132|  9.40k|    if (_PyArena_AddPyObject(p->arena, uni) < 0) {
  ------------------
  |  Branch (132:9): [True: 0, False: 9.40k]
  ------------------
  133|      0|        Py_DECREF(uni);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  134|      0|        return NULL;
  135|      0|    }
  136|       |
  137|  9.40k|    return _PyAST_Name(uni, Load, EXTRA_EXPR(first_name, second_name));
  ------------------
  |  |  280|  9.40k|#define EXTRA_EXPR(head, tail) head->lineno, (head)->col_offset, (tail)->end_lineno, (tail)->end_col_offset, p->arena
  ------------------
  138|  9.40k|}
_PyPegen_seq_count_dots:
  143|  5.44k|{
  144|  5.44k|    int number_of_dots = 0;
  145|  7.28k|    for (Py_ssize_t i = 0, l = asdl_seq_LEN(seq); i < l; i++) {
  ------------------
  |  |   83|  5.44k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  10.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 5.44k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (145:51): [True: 1.84k, False: 5.44k]
  ------------------
  146|  1.84k|        Token *current_expr = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|  1.84k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.84k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  147|  1.84k|        switch (current_expr->type) {
  148|    868|            case ELLIPSIS:
  ------------------
  |  |   68|    868|#define ELLIPSIS        52
  ------------------
  |  Branch (148:13): [True: 868, False: 980]
  ------------------
  149|    868|                number_of_dots += 3;
  150|    868|                break;
  151|    980|            case DOT:
  ------------------
  |  |   39|    980|#define DOT             23
  ------------------
  |  Branch (151:13): [True: 980, False: 868]
  ------------------
  152|    980|                number_of_dots += 1;
  153|    980|                break;
  154|      0|            default:
  ------------------
  |  Branch (154:13): [True: 0, False: 1.84k]
  ------------------
  155|      0|                Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  156|  1.84k|        }
  157|  1.84k|    }
  158|       |
  159|  5.44k|    return number_of_dots;
  160|  5.44k|}
_PyPegen_alias_for_star:
  165|     30|                        int end_col_offset, PyArena *arena) {
  166|     30|    PyObject *str = PyUnicode_InternFromString("*");
  167|     30|    if (!str) {
  ------------------
  |  Branch (167:9): [True: 0, False: 30]
  ------------------
  168|      0|        return NULL;
  169|      0|    }
  170|     30|    if (_PyArena_AddPyObject(p->arena, str) < 0) {
  ------------------
  |  Branch (170:9): [True: 0, False: 30]
  ------------------
  171|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  172|      0|        return NULL;
  173|      0|    }
  174|     30|    return _PyAST_alias(str, NULL, lineno, col_offset, end_lineno, end_col_offset, arena);
  175|     30|}
_PyPegen_map_names_to_ids:
  180|  1.92k|{
  181|  1.92k|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|  1.92k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.85k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.92k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  182|  1.92k|    assert(len > 0);
  ------------------
  |  Branch (182:5): [True: 1.92k, False: 0]
  ------------------
  183|       |
  184|  1.92k|    asdl_identifier_seq *new_seq = _Py_asdl_identifier_seq_new(len, p->arena);
  185|  1.92k|    if (!new_seq) {
  ------------------
  |  Branch (185:9): [True: 0, False: 1.92k]
  ------------------
  186|      0|        return NULL;
  187|      0|    }
  188|  5.70k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (188:28): [True: 3.78k, False: 1.92k]
  ------------------
  189|  3.78k|        expr_ty e = asdl_seq_GET(seq, i);
  ------------------
  |  |   82|  3.78k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  3.78k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  190|  3.78k|        asdl_seq_SET(new_seq, i, e->v.Name.id);
  ------------------
  |  |   94|  3.78k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  3.78k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  191|  3.78k|    }
  192|  1.92k|    return new_seq;
  193|  1.92k|}
_PyPegen_cmpop_expr_pair:
  198|   102k|{
  199|   102k|    assert(expr != NULL);
  ------------------
  |  Branch (199:5): [True: 102k, False: 0]
  ------------------
  200|   102k|    CmpopExprPair *a = _PyArena_Malloc(p->arena, sizeof(CmpopExprPair));
  201|   102k|    if (!a) {
  ------------------
  |  Branch (201:9): [True: 0, False: 102k]
  ------------------
  202|      0|        return NULL;
  203|      0|    }
  204|   102k|    a->cmpop = cmpop;
  205|   102k|    a->expr = expr;
  206|   102k|    return a;
  207|   102k|}
_PyPegen_get_cmpops:
  211|  32.6k|{
  212|  32.6k|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|  32.6k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  65.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 32.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  213|  32.6k|    assert(len > 0);
  ------------------
  |  Branch (213:5): [True: 32.6k, False: 0]
  ------------------
  214|       |
  215|  32.6k|    asdl_int_seq *new_seq = _Py_asdl_int_seq_new(len, p->arena);
  216|  32.6k|    if (!new_seq) {
  ------------------
  |  Branch (216:9): [True: 0, False: 32.6k]
  ------------------
  217|      0|        return NULL;
  218|      0|    }
  219|   134k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (219:28): [True: 101k, False: 32.6k]
  ------------------
  220|   101k|        CmpopExprPair *pair = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|   101k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|   101k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  221|   101k|        asdl_seq_SET(new_seq, i, pair->cmpop);
  ------------------
  |  |   94|   101k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|   101k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  222|   101k|    }
  223|  32.6k|    return new_seq;
  224|  32.6k|}
_PyPegen_get_exprs:
  228|  32.6k|{
  229|  32.6k|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|  32.6k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  65.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 32.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  230|  32.6k|    assert(len > 0);
  ------------------
  |  Branch (230:5): [True: 32.6k, False: 0]
  ------------------
  231|       |
  232|  32.6k|    asdl_expr_seq *new_seq = _Py_asdl_expr_seq_new(len, p->arena);
  233|  32.6k|    if (!new_seq) {
  ------------------
  |  Branch (233:9): [True: 0, False: 32.6k]
  ------------------
  234|      0|        return NULL;
  235|      0|    }
  236|   134k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (236:28): [True: 101k, False: 32.6k]
  ------------------
  237|   101k|        CmpopExprPair *pair = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|   101k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|   101k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  238|   101k|        asdl_seq_SET(new_seq, i, pair->expr);
  ------------------
  |  |   94|   101k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|   101k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  239|   101k|    }
  240|  32.6k|    return new_seq;
  241|  32.6k|}
_PyPegen_set_expr_context:
  320|   581k|{
  321|   581k|    assert(expr != NULL);
  ------------------
  |  Branch (321:5): [True: 581k, False: 0]
  ------------------
  322|       |
  323|   581k|    expr_ty new = NULL;
  324|   581k|    switch (expr->kind) {
  325|   577k|        case Name_kind:
  ------------------
  |  Branch (325:9): [True: 577k, False: 4.16k]
  ------------------
  326|   577k|            new = _set_name_context(p, expr, ctx);
  327|   577k|            break;
  328|  1.37k|        case Tuple_kind:
  ------------------
  |  Branch (328:9): [True: 1.37k, False: 580k]
  ------------------
  329|  1.37k|            new = _set_tuple_context(p, expr, ctx);
  330|  1.37k|            break;
  331|  2.01k|        case List_kind:
  ------------------
  |  Branch (331:9): [True: 2.01k, False: 579k]
  ------------------
  332|  2.01k|            new = _set_list_context(p, expr, ctx);
  333|  2.01k|            break;
  334|    107|        case Subscript_kind:
  ------------------
  |  Branch (334:9): [True: 107, False: 581k]
  ------------------
  335|    107|            new = _set_subscript_context(p, expr, ctx);
  336|    107|            break;
  337|     73|        case Attribute_kind:
  ------------------
  |  Branch (337:9): [True: 73, False: 581k]
  ------------------
  338|     73|            new = _set_attribute_context(p, expr, ctx);
  339|     73|            break;
  340|    593|        case Starred_kind:
  ------------------
  |  Branch (340:9): [True: 593, False: 581k]
  ------------------
  341|    593|            new = _set_starred_context(p, expr, ctx);
  342|    593|            break;
  343|      0|        default:
  ------------------
  |  Branch (343:9): [True: 0, False: 581k]
  ------------------
  344|      0|            new = expr;
  345|   581k|    }
  346|   581k|    return new;
  347|   581k|}
_PyPegen_key_value_pair:
  352|  11.2k|{
  353|  11.2k|    KeyValuePair *a = _PyArena_Malloc(p->arena, sizeof(KeyValuePair));
  354|  11.2k|    if (!a) {
  ------------------
  |  Branch (354:9): [True: 0, False: 11.2k]
  ------------------
  355|      0|        return NULL;
  356|      0|    }
  357|  11.2k|    a->key = key;
  358|  11.2k|    a->value = value;
  359|  11.2k|    return a;
  360|  11.2k|}
_PyPegen_get_keys:
  365|  2.36k|{
  366|  2.36k|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|  2.36k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  4.72k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1.66k, False: 699]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  367|  2.36k|    asdl_expr_seq *new_seq = _Py_asdl_expr_seq_new(len, p->arena);
  368|  2.36k|    if (!new_seq) {
  ------------------
  |  Branch (368:9): [True: 0, False: 2.36k]
  ------------------
  369|      0|        return NULL;
  370|      0|    }
  371|  4.43k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (371:28): [True: 2.07k, False: 2.36k]
  ------------------
  372|  2.07k|        KeyValuePair *pair = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|  2.07k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  2.07k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  373|  2.07k|        asdl_seq_SET(new_seq, i, pair->key);
  ------------------
  |  |   94|  2.07k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  2.07k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  374|  2.07k|    }
  375|  2.36k|    return new_seq;
  376|  2.36k|}
_PyPegen_get_values:
  381|  2.36k|{
  382|  2.36k|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|  2.36k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  4.72k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1.66k, False: 699]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  383|  2.36k|    asdl_expr_seq *new_seq = _Py_asdl_expr_seq_new(len, p->arena);
  384|  2.36k|    if (!new_seq) {
  ------------------
  |  Branch (384:9): [True: 0, False: 2.36k]
  ------------------
  385|      0|        return NULL;
  386|      0|    }
  387|  4.43k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (387:28): [True: 2.07k, False: 2.36k]
  ------------------
  388|  2.07k|        KeyValuePair *pair = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|  2.07k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  2.07k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  389|  2.07k|        asdl_seq_SET(new_seq, i, pair->value);
  ------------------
  |  |   94|  2.07k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  2.07k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  390|  2.07k|    }
  391|  2.36k|    return new_seq;
  392|  2.36k|}
_PyPegen_key_pattern_pair:
  397|  5.03k|{
  398|  5.03k|    KeyPatternPair *a = _PyArena_Malloc(p->arena, sizeof(KeyPatternPair));
  399|  5.03k|    if (!a) {
  ------------------
  |  Branch (399:9): [True: 0, False: 5.03k]
  ------------------
  400|      0|        return NULL;
  401|      0|    }
  402|  5.03k|    a->key = key;
  403|  5.03k|    a->pattern = pattern;
  404|  5.03k|    return a;
  405|  5.03k|}
_PyPegen_get_pattern_keys:
  410|    307|{
  411|    307|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|    307|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    614|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 307]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  412|    307|    asdl_expr_seq *new_seq = _Py_asdl_expr_seq_new(len, p->arena);
  413|    307|    if (!new_seq) {
  ------------------
  |  Branch (413:9): [True: 0, False: 307]
  ------------------
  414|      0|        return NULL;
  415|      0|    }
  416|  1.05k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (416:28): [True: 749, False: 307]
  ------------------
  417|    749|        KeyPatternPair *pair = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|    749|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    749|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  418|    749|        asdl_seq_SET(new_seq, i, pair->key);
  ------------------
  |  |   94|    749|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    749|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  419|    749|    }
  420|    307|    return new_seq;
  421|    307|}
_PyPegen_get_patterns:
  426|    307|{
  427|    307|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|    307|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    614|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 307]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  428|    307|    asdl_pattern_seq *new_seq = _Py_asdl_pattern_seq_new(len, p->arena);
  429|    307|    if (!new_seq) {
  ------------------
  |  Branch (429:9): [True: 0, False: 307]
  ------------------
  430|      0|        return NULL;
  431|      0|    }
  432|  1.05k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (432:28): [True: 749, False: 307]
  ------------------
  433|    749|        KeyPatternPair *pair = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|    749|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    749|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  434|    749|        asdl_seq_SET(new_seq, i, pair->pattern);
  ------------------
  |  |   94|    749|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    749|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  435|    749|    }
  436|    307|    return new_seq;
  437|    307|}
_PyPegen_name_default_pair:
  442|  57.7k|{
  443|  57.7k|    NameDefaultPair *a = _PyArena_Malloc(p->arena, sizeof(NameDefaultPair));
  444|  57.7k|    if (!a) {
  ------------------
  |  Branch (444:9): [True: 0, False: 57.7k]
  ------------------
  445|      0|        return NULL;
  446|      0|    }
  447|  57.7k|    a->arg = _PyPegen_add_type_comment_to_arg(p, arg, tc);
  448|  57.7k|    if (!a->arg) {
  ------------------
  |  Branch (448:9): [True: 3, False: 57.7k]
  ------------------
  449|      3|        return NULL;
  450|      3|    }
  451|  57.7k|    a->value = value;
  452|  57.7k|    return a;
  453|  57.7k|}
_PyPegen_slash_with_default:
  458|  4.08k|{
  459|  4.08k|    SlashWithDefault *a = _PyArena_Malloc(p->arena, sizeof(SlashWithDefault));
  460|  4.08k|    if (!a) {
  ------------------
  |  Branch (460:9): [True: 0, False: 4.08k]
  ------------------
  461|      0|        return NULL;
  462|      0|    }
  463|  4.08k|    a->plain_names = plain_names;
  464|  4.08k|    a->names_with_defaults = names_with_defaults;
  465|  4.08k|    return a;
  466|  4.08k|}
_PyPegen_star_etc:
  471|  11.2k|{
  472|  11.2k|    StarEtc *a = _PyArena_Malloc(p->arena, sizeof(StarEtc));
  473|  11.2k|    if (!a) {
  ------------------
  |  Branch (473:9): [True: 0, False: 11.2k]
  ------------------
  474|      0|        return NULL;
  475|      0|    }
  476|  11.2k|    a->vararg = vararg;
  477|  11.2k|    a->kwonlyargs = kwonlyargs;
  478|  11.2k|    a->kwarg = kwarg;
  479|  11.2k|    return a;
  480|  11.2k|}
_PyPegen_join_sequences:
  484|  16.6k|{
  485|  16.6k|    Py_ssize_t first_len = asdl_seq_LEN(a);
  ------------------
  |  |   83|  16.6k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  33.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 16.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  486|  16.6k|    Py_ssize_t second_len = asdl_seq_LEN(b);
  ------------------
  |  |   83|  16.6k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  33.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 16.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  487|  16.6k|    asdl_seq *new_seq = (asdl_seq*)_Py_asdl_generic_seq_new(first_len + second_len, p->arena);
  488|  16.6k|    if (!new_seq) {
  ------------------
  |  Branch (488:9): [True: 0, False: 16.6k]
  ------------------
  489|      0|        return NULL;
  490|      0|    }
  491|       |
  492|  16.6k|    int k = 0;
  493|  32.0k|    for (Py_ssize_t i = 0; i < first_len; i++) {
  ------------------
  |  Branch (493:28): [True: 15.4k, False: 16.6k]
  ------------------
  494|  15.4k|        asdl_seq_SET_UNTYPED(new_seq, k++, asdl_seq_GET_UNTYPED(a, i));
  ------------------
  |  |  106|  15.4k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  15.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  495|  15.4k|    }
  496|  21.6k|    for (Py_ssize_t i = 0; i < second_len; i++) {
  ------------------
  |  Branch (496:28): [True: 4.95k, False: 16.6k]
  ------------------
  497|  4.95k|        asdl_seq_SET_UNTYPED(new_seq, k++, asdl_seq_GET_UNTYPED(b, i));
  ------------------
  |  |  106|  4.95k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  4.95k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  498|  4.95k|    }
  499|       |
  500|  16.6k|    return new_seq;
  501|  16.6k|}
_PyPegen_make_arguments:
  657|  25.6k|{
  658|  25.6k|    asdl_arg_seq *posonlyargs;
  659|  25.6k|    if (_make_posonlyargs(p, slash_without_default, slash_with_default, &posonlyargs) == -1) {
  ------------------
  |  Branch (659:9): [True: 0, False: 25.6k]
  ------------------
  660|      0|        return NULL;
  661|      0|    }
  662|       |
  663|  25.6k|    asdl_arg_seq *posargs;
  664|  25.6k|    if (_make_posargs(p, plain_names, names_with_default, &posargs) == -1) {
  ------------------
  |  Branch (664:9): [True: 0, False: 25.6k]
  ------------------
  665|      0|        return NULL;
  666|      0|    }
  667|       |
  668|  25.6k|    asdl_expr_seq *posdefaults;
  669|  25.6k|    if (_make_posdefaults(p,slash_with_default, names_with_default, &posdefaults) == -1) {
  ------------------
  |  Branch (669:9): [True: 0, False: 25.6k]
  ------------------
  670|      0|        return NULL;
  671|      0|    }
  672|       |
  673|  25.6k|    arg_ty vararg = NULL;
  674|  25.6k|    if (star_etc != NULL && star_etc->vararg != NULL) {
  ------------------
  |  Branch (674:9): [True: 11.2k, False: 14.4k]
  |  Branch (674:29): [True: 7.08k, False: 4.14k]
  ------------------
  675|  7.08k|        vararg = star_etc->vararg;
  676|  7.08k|    }
  677|       |
  678|  25.6k|    asdl_arg_seq *kwonlyargs;
  679|  25.6k|    asdl_expr_seq *kwdefaults;
  680|  25.6k|    if (_make_kwargs(p, star_etc, &kwonlyargs, &kwdefaults) == -1) {
  ------------------
  |  Branch (680:9): [True: 0, False: 25.6k]
  ------------------
  681|      0|        return NULL;
  682|      0|    }
  683|       |
  684|  25.6k|    arg_ty kwarg = NULL;
  685|  25.6k|    if (star_etc != NULL && star_etc->kwarg != NULL) {
  ------------------
  |  Branch (685:9): [True: 11.2k, False: 14.4k]
  |  Branch (685:29): [True: 3.83k, False: 7.39k]
  ------------------
  686|  3.83k|        kwarg = star_etc->kwarg;
  687|  3.83k|    }
  688|       |
  689|  25.6k|    return _PyAST_arguments(posonlyargs, posargs, vararg, kwonlyargs,
  690|  25.6k|                            kwdefaults, kwarg, posdefaults, p->arena);
  691|  25.6k|}
_PyPegen_empty_arguments:
  698|  7.04k|{
  699|  7.04k|    asdl_arg_seq *posonlyargs = _Py_asdl_arg_seq_new(0, p->arena);
  700|  7.04k|    if (!posonlyargs) {
  ------------------
  |  Branch (700:9): [True: 0, False: 7.04k]
  ------------------
  701|      0|        return NULL;
  702|      0|    }
  703|  7.04k|    asdl_arg_seq *posargs = _Py_asdl_arg_seq_new(0, p->arena);
  704|  7.04k|    if (!posargs) {
  ------------------
  |  Branch (704:9): [True: 0, False: 7.04k]
  ------------------
  705|      0|        return NULL;
  706|      0|    }
  707|  7.04k|    asdl_expr_seq *posdefaults = _Py_asdl_expr_seq_new(0, p->arena);
  708|  7.04k|    if (!posdefaults) {
  ------------------
  |  Branch (708:9): [True: 0, False: 7.04k]
  ------------------
  709|      0|        return NULL;
  710|      0|    }
  711|  7.04k|    asdl_arg_seq *kwonlyargs = _Py_asdl_arg_seq_new(0, p->arena);
  712|  7.04k|    if (!kwonlyargs) {
  ------------------
  |  Branch (712:9): [True: 0, False: 7.04k]
  ------------------
  713|      0|        return NULL;
  714|      0|    }
  715|  7.04k|    asdl_expr_seq *kwdefaults = _Py_asdl_expr_seq_new(0, p->arena);
  716|  7.04k|    if (!kwdefaults) {
  ------------------
  |  Branch (716:9): [True: 0, False: 7.04k]
  ------------------
  717|      0|        return NULL;
  718|      0|    }
  719|       |
  720|  7.04k|    return _PyAST_arguments(posonlyargs, posargs, NULL, kwonlyargs,
  721|       |                            kwdefaults, NULL, posdefaults, p->arena);
  722|  7.04k|}
_PyPegen_augoperator:
  727|  14.2k|{
  728|  14.2k|    AugOperator *a = _PyArena_Malloc(p->arena, sizeof(AugOperator));
  729|  14.2k|    if (!a) {
  ------------------
  |  Branch (729:9): [True: 0, False: 14.2k]
  ------------------
  730|      0|        return NULL;
  731|      0|    }
  732|  14.2k|    a->kind = kind;
  733|  14.2k|    return a;
  734|  14.2k|}
_PyPegen_function_def_decorators:
  739|    936|{
  740|    936|    assert(function_def != NULL);
  ------------------
  |  Branch (740:5): [True: 936, False: 0]
  ------------------
  741|    936|    if (function_def->kind == AsyncFunctionDef_kind) {
  ------------------
  |  Branch (741:9): [True: 179, False: 757]
  ------------------
  742|    179|        return _PyAST_AsyncFunctionDef(
  743|    179|            function_def->v.AsyncFunctionDef.name,
  744|    179|            function_def->v.AsyncFunctionDef.args,
  745|    179|            function_def->v.AsyncFunctionDef.body, decorators,
  746|    179|            function_def->v.AsyncFunctionDef.returns,
  747|    179|            function_def->v.AsyncFunctionDef.type_comment,
  748|    179|            function_def->v.AsyncFunctionDef.type_params,
  749|    179|            function_def->lineno, function_def->col_offset,
  750|    179|            function_def->end_lineno, function_def->end_col_offset, p->arena);
  751|    179|    }
  752|       |
  753|    757|    return _PyAST_FunctionDef(
  754|    757|        function_def->v.FunctionDef.name,
  755|    757|        function_def->v.FunctionDef.args,
  756|    757|        function_def->v.FunctionDef.body, decorators,
  757|    757|        function_def->v.FunctionDef.returns,
  758|    757|        function_def->v.FunctionDef.type_comment,
  759|    757|        function_def->v.FunctionDef.type_params,
  760|    757|        function_def->lineno, function_def->col_offset,
  761|    757|        function_def->end_lineno, function_def->end_col_offset, p->arena);
  762|    936|}
_PyPegen_class_def_decorators:
  767|    709|{
  768|    709|    assert(class_def != NULL);
  ------------------
  |  Branch (768:5): [True: 709, False: 0]
  ------------------
  769|    709|    return _PyAST_ClassDef(
  770|    709|        class_def->v.ClassDef.name,
  771|    709|        class_def->v.ClassDef.bases, class_def->v.ClassDef.keywords,
  772|    709|        class_def->v.ClassDef.body, decorators,
  773|    709|        class_def->v.ClassDef.type_params,
  774|    709|        class_def->lineno, class_def->col_offset, class_def->end_lineno,
  775|    709|        class_def->end_col_offset, p->arena);
  776|    709|}
_PyPegen_keyword_or_starred:
  781|  51.1k|{
  782|  51.1k|    KeywordOrStarred *a = _PyArena_Malloc(p->arena, sizeof(KeywordOrStarred));
  783|  51.1k|    if (!a) {
  ------------------
  |  Branch (783:9): [True: 0, False: 51.1k]
  ------------------
  784|      0|        return NULL;
  785|      0|    }
  786|  51.1k|    a->element = element;
  787|  51.1k|    a->is_keyword = is_keyword;
  788|  51.1k|    return a;
  789|  51.1k|}
_PyPegen_seq_extract_starred_exprs:
  808|  14.6k|{
  809|  14.6k|    int new_len = _seq_number_of_starred_exprs(kwargs);
  810|  14.6k|    if (new_len == 0) {
  ------------------
  |  Branch (810:9): [True: 12.2k, False: 2.32k]
  ------------------
  811|  12.2k|        return NULL;
  812|  12.2k|    }
  813|  2.32k|    asdl_expr_seq *new_seq = _Py_asdl_expr_seq_new(new_len, p->arena);
  814|  2.32k|    if (!new_seq) {
  ------------------
  |  Branch (814:9): [True: 0, False: 2.32k]
  ------------------
  815|      0|        return NULL;
  816|      0|    }
  817|       |
  818|  2.32k|    int idx = 0;
  819|  11.4k|    for (Py_ssize_t i = 0, len = asdl_seq_LEN(kwargs); i < len; i++) {
  ------------------
  |  |   83|  2.32k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  4.65k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.32k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (819:56): [True: 9.08k, False: 2.32k]
  ------------------
  820|  9.08k|        KeywordOrStarred *k = asdl_seq_GET_UNTYPED(kwargs, i);
  ------------------
  |  |   81|  9.08k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  9.08k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  821|  9.08k|        if (!k->is_keyword) {
  ------------------
  |  Branch (821:13): [True: 3.80k, False: 5.28k]
  ------------------
  822|  3.80k|            asdl_seq_SET(new_seq, idx++, k->element);
  ------------------
  |  |   94|  3.80k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  3.80k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  823|  3.80k|        }
  824|  9.08k|    }
  825|  2.32k|    return new_seq;
  826|  2.32k|}
_PyPegen_seq_delete_starred_exprs:
  831|  14.6k|{
  832|  14.6k|    Py_ssize_t len = asdl_seq_LEN(kwargs);
  ------------------
  |  |   83|  14.6k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  29.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 14.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  833|  14.6k|    Py_ssize_t new_len = len - _seq_number_of_starred_exprs(kwargs);
  834|  14.6k|    if (new_len == 0) {
  ------------------
  |  Branch (834:9): [True: 0, False: 14.6k]
  ------------------
  835|      0|        return NULL;
  836|      0|    }
  837|  14.6k|    asdl_keyword_seq *new_seq = _Py_asdl_keyword_seq_new(new_len, p->arena);
  838|  14.6k|    if (!new_seq) {
  ------------------
  |  Branch (838:9): [True: 0, False: 14.6k]
  ------------------
  839|      0|        return NULL;
  840|      0|    }
  841|       |
  842|  14.6k|    int idx = 0;
  843|  42.1k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (843:28): [True: 27.5k, False: 14.6k]
  ------------------
  844|  27.5k|        KeywordOrStarred *k = asdl_seq_GET_UNTYPED(kwargs, i);
  ------------------
  |  |   81|  27.5k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  27.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  845|  27.5k|        if (k->is_keyword) {
  ------------------
  |  Branch (845:13): [True: 23.7k, False: 3.80k]
  ------------------
  846|  23.7k|            asdl_seq_SET(new_seq, idx++, k->element);
  ------------------
  |  |   94|  23.7k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  23.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  847|  23.7k|        }
  848|  27.5k|    }
  849|  14.6k|    return new_seq;
  850|  14.6k|}
_PyPegen_ensure_imaginary:
  854|     84|{
  855|     84|    if (exp->kind != Constant_kind || !PyComplex_CheckExact(exp->v.Constant.value)) {
  ------------------
  |  |   14|     84|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_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 (855:9): [True: 0, False: 84]
  |  Branch (855:39): [True: 10, False: 74]
  ------------------
  856|     10|        RAISE_SYNTAX_ERROR_KNOWN_LOCATION(exp, "imaginary number required in complex literal");
  ------------------
  |  |  213|     10|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  857|     10|        return NULL;
  858|     10|    }
  859|     74|    return exp;
  860|     84|}
_PyPegen_ensure_real:
  864|    217|{
  865|    217|    if (exp->kind != Constant_kind || PyComplex_CheckExact(exp->v.Constant.value)) {
  ------------------
  |  |   14|    217|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_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 (215:32): [True: 2, False: 215]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (865:9): [True: 0, False: 217]
  ------------------
  866|      2|        RAISE_SYNTAX_ERROR_KNOWN_LOCATION(exp, "real number required in complex literal");
  ------------------
  |  |  213|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  867|      2|        return NULL;
  868|      2|    }
  869|    215|    return exp;
  870|    217|}
_PyPegen_make_module:
  873|  8.74k|_PyPegen_make_module(Parser *p, asdl_stmt_seq *a) {
  874|  8.74k|    asdl_type_ignore_seq *type_ignores = NULL;
  875|  8.74k|    Py_ssize_t num = p->type_ignore_comments.num_items;
  876|  8.74k|    if (num > 0) {
  ------------------
  |  Branch (876:9): [True: 32, False: 8.71k]
  ------------------
  877|       |        // Turn the raw (comment, lineno) pairs into TypeIgnore objects in the arena
  878|     32|        type_ignores = _Py_asdl_type_ignore_seq_new(num, p->arena);
  879|     32|        if (type_ignores == NULL) {
  ------------------
  |  Branch (879:13): [True: 0, False: 32]
  ------------------
  880|      0|            return NULL;
  881|      0|        }
  882|    821|        for (Py_ssize_t i = 0; i < num; i++) {
  ------------------
  |  Branch (882:32): [True: 791, False: 30]
  ------------------
  883|    791|            PyObject *tag = _PyPegen_new_type_comment(p, p->type_ignore_comments.items[i].comment);
  884|    791|            if (tag == NULL) {
  ------------------
  |  Branch (884:17): [True: 2, False: 789]
  ------------------
  885|      2|                return NULL;
  886|      2|            }
  887|    789|            type_ignore_ty ti = _PyAST_TypeIgnore(p->type_ignore_comments.items[i].lineno,
  888|    789|                                                  tag, p->arena);
  889|    789|            if (ti == NULL) {
  ------------------
  |  Branch (889:17): [True: 0, False: 789]
  ------------------
  890|      0|                return NULL;
  891|      0|            }
  892|    789|            asdl_seq_SET(type_ignores, i, ti);
  ------------------
  |  |   94|    789|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    789|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  893|    789|        }
  894|     32|    }
  895|  8.74k|    return _PyAST_Module(a, type_ignores, p->arena);
  896|  8.74k|}
_PyPegen_new_type_comment:
  900|  1.86k|{
  901|  1.86k|    PyObject *res = PyUnicode_DecodeUTF8(s, strlen(s), NULL);
  902|  1.86k|    if (res == NULL) {
  ------------------
  |  Branch (902:9): [True: 11, False: 1.85k]
  ------------------
  903|     11|        return NULL;
  904|     11|    }
  905|  1.85k|    if (_PyArena_AddPyObject(p->arena, res) < 0) {
  ------------------
  |  Branch (905:9): [True: 0, False: 1.85k]
  ------------------
  906|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  907|      0|        return NULL;
  908|      0|    }
  909|  1.85k|    return res;
  910|  1.85k|}
_PyPegen_add_type_comment_to_arg:
  914|   125k|{
  915|   125k|    if (tc == NULL) {
  ------------------
  |  Branch (915:9): [True: 125k, False: 72]
  ------------------
  916|   125k|        return a;
  917|   125k|    }
  918|     72|    const char *bytes = PyBytes_AsString(tc->bytes);
  919|     72|    if (bytes == NULL) {
  ------------------
  |  Branch (919:9): [True: 0, False: 72]
  ------------------
  920|      0|        return NULL;
  921|      0|    }
  922|     72|    PyObject *tco = _PyPegen_new_type_comment(p, bytes);
  923|     72|    if (tco == NULL) {
  ------------------
  |  Branch (923:9): [True: 5, False: 67]
  ------------------
  924|      5|        return NULL;
  925|      5|    }
  926|     67|    return _PyAST_arg(a->arg, a->annotation, tco,
  927|     67|                      a->lineno, a->col_offset, a->end_lineno, a->end_col_offset,
  928|     67|                      p->arena);
  929|     72|}
_PyPegen_check_barry_as_flufl:
  934|  1.10k|_PyPegen_check_barry_as_flufl(Parser *p, Token* t) {
  935|  1.10k|    assert(t->bytes != NULL);
  ------------------
  |  Branch (935:5): [True: 1.10k, False: 0]
  ------------------
  936|  1.10k|    assert(t->type == NOTEQUAL);
  ------------------
  |  Branch (936:5): [True: 1.10k, False: 0]
  ------------------
  937|       |
  938|  1.10k|    const char* tok_str = PyBytes_AS_STRING(t->bytes);
  ------------------
  |  |   27|  1.10k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  939|  1.10k|    if (p->flags & PyPARSE_BARRY_AS_BDFL && strcmp(tok_str, "<>") != 0) {
  ------------------
  |  |   23|  2.21k|#define PyPARSE_BARRY_AS_BDFL 0x0020
  ------------------
  |  Branch (939:9): [True: 0, False: 1.10k]
  |  Branch (939:45): [True: 0, False: 0]
  ------------------
  940|      0|        RAISE_SYNTAX_ERROR("with Barry as BDFL, use '<>' instead of '!='");
  ------------------
  |  |  207|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  941|      0|        return -1;
  942|      0|    }
  943|  1.10k|    if (!(p->flags & PyPARSE_BARRY_AS_BDFL)) {
  ------------------
  |  |   23|  1.10k|#define PyPARSE_BARRY_AS_BDFL 0x0020
  ------------------
  |  Branch (943:9): [True: 1.10k, False: 0]
  ------------------
  944|  1.10k|        return strcmp(tok_str, "!=");
  945|  1.10k|    }
  946|      0|    return 0;
  947|  1.10k|}
_PyPegen_check_legacy_stmt:
  950|  21.5k|_PyPegen_check_legacy_stmt(Parser *p, expr_ty name) {
  951|  21.5k|    if (name->kind != Name_kind) {
  ------------------
  |  Branch (951:9): [True: 1.68k, False: 19.8k]
  ------------------
  952|  1.68k|        return 0;
  953|  1.68k|    }
  954|  19.8k|    const char* candidates[2] = {"print", "exec"};
  955|  55.9k|    for (int i=0; i<2; i++) {
  ------------------
  |  Branch (955:19): [True: 39.7k, False: 16.2k]
  ------------------
  956|  39.7k|        if (PyUnicode_CompareWithASCIIString(name->v.Name.id, candidates[i]) == 0) {
  ------------------
  |  Branch (956:13): [True: 3.60k, False: 36.1k]
  ------------------
  957|  3.60k|            return 1;
  958|  3.60k|        }
  959|  39.7k|    }
  960|  16.2k|    return 0;
  961|  19.8k|}
_PyPegen_raise_error_for_missing_comma:
  965|  12.9k|{
  966|       |    // Don't raise for legacy statements like "print x" or "exec x"
  967|  12.9k|    if (_PyPegen_check_legacy_stmt(p, a)) {
  ------------------
  |  Branch (967:9): [True: 3.58k, False: 9.31k]
  ------------------
  968|  3.58k|        return NULL;
  969|  3.58k|    }
  970|       |    // Only raise inside parentheses/brackets (level > 0)
  971|  9.31k|    if (p->tokens[p->mark - 1]->level == 0) {
  ------------------
  |  Branch (971:9): [True: 9.06k, False: 243]
  ------------------
  972|  9.06k|        return NULL;
  973|  9.06k|    }
  974|       |    // For multi-line expressions (like string concatenations), point to the
  975|       |    // last line instead of the first for a more helpful error message.
  976|       |    // Use a->col_offset as the starting column since all strings in the
  977|       |    // concatenation typically share the same indentation.
  978|    243|    if (a->end_lineno > a->lineno) {
  ------------------
  |  Branch (978:9): [True: 13, False: 230]
  ------------------
  979|     13|        return RAISE_ERROR_KNOWN_LOCATION(
  980|     13|            p, PyExc_SyntaxError, a->end_lineno, a->col_offset,
  981|     13|            a->end_lineno, a->end_col_offset,
  982|     13|            "invalid syntax. Perhaps you forgot a comma?"
  983|     13|        );
  984|     13|    }
  985|    230|    return RAISE_ERROR_KNOWN_LOCATION(
  986|    230|        p, PyExc_SyntaxError, a->lineno, a->col_offset,
  987|    230|        b->end_lineno, b->end_col_offset,
  988|    230|        "invalid syntax. Perhaps you forgot a comma?"
  989|    230|    );
  990|    243|}
_PyPegen_check_fstring_conversion:
 1006|  5.89k|{
 1007|  5.89k|    if (conv_token->lineno != conv->lineno || conv_token->end_col_offset != conv->col_offset) {
  ------------------
  |  Branch (1007:9): [True: 2, False: 5.89k]
  |  Branch (1007:47): [True: 2, False: 5.89k]
  ------------------
 1008|      4|        return RAISE_SYNTAX_ERROR_KNOWN_RANGE(
  ------------------
  |  |  211|      4|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  | 1011|      4|            TOK_GET_STRING_PREFIX(p->tok)
  |  |  |  |  ------------------
  |  |  |  |  |  |   30|      4|#define TOK_GET_STRING_PREFIX(tok) (TOK_GET_MODE(tok)->string_kind == TSTRING ? 't' : 'f')
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   29|      4|#define TOK_GET_MODE(tok) (&(tok->tok_mode_stack[tok->tok_mode_stack_index]))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (30:37): [True: 3, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1009|      4|            conv_token, conv,
 1010|      4|            "%c-string: conversion type must come right after the exclamation mark",
 1011|      4|            TOK_GET_STRING_PREFIX(p->tok)
 1012|      4|        );
 1013|      4|    }
 1014|       |
 1015|  5.89k|    Py_UCS4 first = PyUnicode_READ_CHAR(conv->v.Name.id, 0);
  ------------------
  |  |  381|  5.89k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  5.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1016|  5.89k|    if (PyUnicode_GET_LENGTH(conv->v.Name.id) > 1 ||
  ------------------
  |  |  299|  5.89k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1016:9): [True: 19, False: 5.87k]
  ------------------
 1017|  5.87k|            !(first == 's' || first == 'r' || first == 'a')) {
  ------------------
  |  Branch (1017:15): [True: 1.38k, False: 4.48k]
  |  Branch (1017:31): [True: 1.64k, False: 2.84k]
  |  Branch (1017:47): [True: 2.83k, False: 5]
  ------------------
 1018|     24|        RAISE_SYNTAX_ERROR_KNOWN_LOCATION(conv,
  ------------------
  |  |  213|     24|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  | 1020|     24|                                            TOK_GET_STRING_PREFIX(p->tok),
  |  |  |  |  ------------------
  |  |  |  |  |  |   30|     24|#define TOK_GET_STRING_PREFIX(tok) (TOK_GET_MODE(tok)->string_kind == TSTRING ? 't' : 'f')
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   29|     24|#define TOK_GET_MODE(tok) (&(tok->tok_mode_stack[tok->tok_mode_stack_index]))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (30:37): [True: 5, False: 19]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1021|     24|                                            conv->v.Name.id);
  |  |  ------------------
  ------------------
 1019|     24|                                            "%c-string: invalid conversion character %R: expected 's', 'r', or 'a'",
 1020|     24|                                            TOK_GET_STRING_PREFIX(p->tok),
 1021|     24|                                            conv->v.Name.id);
 1022|     24|        return NULL;
 1023|     24|    }
 1024|       |
 1025|  5.86k|    return result_token_with_metadata(p, conv, conv_token->metadata);
 1026|  5.89k|}
_PyPegen_setup_full_format_spec:
 1031|  17.3k|{
 1032|  17.3k|    if (!spec) {
  ------------------
  |  Branch (1032:9): [True: 0, False: 17.3k]
  ------------------
 1033|      0|        return NULL;
 1034|      0|    }
 1035|       |
 1036|       |    // This is needed to keep compatibility with 3.11, where an empty format
 1037|       |    // spec is parsed as an *empty* JoinedStr node, instead of having an empty
 1038|       |    // constant in it.
 1039|  17.3k|    Py_ssize_t n_items = asdl_seq_LEN(spec);
  ------------------
  |  |   83|  17.3k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  34.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 17.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1040|  17.3k|    Py_ssize_t non_empty_count = 0;
 1041|  50.9k|    for (Py_ssize_t i = 0; i < n_items; i++) {
  ------------------
  |  Branch (1041:28): [True: 33.6k, False: 17.3k]
  ------------------
 1042|  33.6k|        expr_ty item = asdl_seq_GET(spec, i);
  ------------------
  |  |   82|  33.6k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  33.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1043|  33.6k|        non_empty_count += !(item->kind == Constant_kind &&
  ------------------
  |  Branch (1043:30): [True: 24.6k, False: 8.93k]
  ------------------
 1044|  33.6k|                             PyUnicode_CheckExact(item->v.Constant.value) &&
  ------------------
  |  |  104|  24.6k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  58.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  24.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  24.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 24.6k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1045|  24.6k|                             PyUnicode_GET_LENGTH(item->v.Constant.value) == 0);
  ------------------
  |  |  299|  24.6k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1045:30): [True: 7.62k, False: 17.0k]
  ------------------
 1046|  33.6k|    }
 1047|  17.3k|    if (non_empty_count != n_items) {
  ------------------
  |  Branch (1047:9): [True: 7.12k, False: 10.2k]
  ------------------
 1048|  7.12k|        asdl_expr_seq *resized_spec =
 1049|  7.12k|            _Py_asdl_expr_seq_new(non_empty_count, p->arena);
 1050|  7.12k|        if (resized_spec == NULL) {
  ------------------
  |  Branch (1050:13): [True: 0, False: 7.12k]
  ------------------
 1051|      0|            return NULL;
 1052|      0|        }
 1053|  7.12k|        Py_ssize_t j = 0;
 1054|  24.4k|        for (Py_ssize_t i = 0; i < n_items; i++) {
  ------------------
  |  Branch (1054:32): [True: 17.3k, False: 7.12k]
  ------------------
 1055|  17.3k|            expr_ty item = asdl_seq_GET(spec, i);
  ------------------
  |  |   82|  17.3k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  17.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1056|  17.3k|            if (item->kind == Constant_kind &&
  ------------------
  |  Branch (1056:17): [True: 12.2k, False: 5.14k]
  ------------------
 1057|  17.3k|                PyUnicode_CheckExact(item->v.Constant.value) &&
  ------------------
  |  |  104|  12.2k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  29.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 12.2k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1058|  12.2k|                PyUnicode_GET_LENGTH(item->v.Constant.value) == 0) {
  ------------------
  |  |  299|  12.2k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1058:17): [True: 7.62k, False: 4.61k]
  ------------------
 1059|  7.62k|                continue;
 1060|  7.62k|            }
 1061|  9.75k|            asdl_seq_SET(resized_spec, j++, item);
  ------------------
  |  |   94|  9.75k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  9.75k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1062|  9.75k|        }
 1063|  7.12k|        assert(j == non_empty_count);
  ------------------
  |  Branch (1063:9): [True: 7.12k, False: 0]
  ------------------
 1064|  7.12k|        spec = resized_spec;
 1065|  7.12k|    }
 1066|  17.3k|    expr_ty res;
 1067|  17.3k|    Py_ssize_t n = asdl_seq_LEN(spec);
  ------------------
  |  |   83|  17.3k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  34.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 17.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1068|  17.3k|    if (n == 0 || (n == 1 && asdl_seq_GET(spec, 0)->kind == Constant_kind)) {
  ------------------
  |  |   82|  7.87k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  7.87k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (1068:9): [True: 3.30k, False: 14.0k]
  |  Branch (1068:20): [True: 7.87k, False: 6.15k]
  |  Branch (1068:30): [True: 7.34k, False: 524]
  ------------------
 1069|  10.6k|        res = _PyAST_JoinedStr(spec, lineno, col_offset, end_lineno,
 1070|  10.6k|                                    end_col_offset, p->arena);
 1071|  10.6k|    } else {
 1072|  6.67k|        res = _PyPegen_concatenate_strings(p, spec,
 1073|  6.67k|                             lineno, col_offset, end_lineno,
 1074|  6.67k|                             end_col_offset, arena);
 1075|  6.67k|    }
 1076|  17.3k|    if (!res) {
  ------------------
  |  Branch (1076:9): [True: 0, False: 17.3k]
  ------------------
 1077|      0|        return NULL;
 1078|      0|    }
 1079|  17.3k|    return result_token_with_metadata(p, res, colon->metadata);
 1080|  17.3k|}
_PyPegen_get_expr_name:
 1084|    186|{
 1085|    186|    assert(e != NULL);
  ------------------
  |  Branch (1085:5): [True: 186, False: 0]
  ------------------
 1086|    186|    switch (e->kind) {
 1087|      4|        case Attribute_kind:
  ------------------
  |  Branch (1087:9): [True: 4, False: 182]
  ------------------
 1088|      4|            return "attribute";
 1089|      3|        case Subscript_kind:
  ------------------
  |  Branch (1089:9): [True: 3, False: 183]
  ------------------
 1090|      3|            return "subscript";
 1091|      6|        case Starred_kind:
  ------------------
  |  Branch (1091:9): [True: 6, False: 180]
  ------------------
 1092|      6|            return "starred";
 1093|      4|        case Name_kind:
  ------------------
  |  Branch (1093:9): [True: 4, False: 182]
  ------------------
 1094|      4|            return "name";
 1095|      2|        case List_kind:
  ------------------
  |  Branch (1095:9): [True: 2, False: 184]
  ------------------
 1096|      2|            return "list";
 1097|      7|        case Tuple_kind:
  ------------------
  |  Branch (1097:9): [True: 7, False: 179]
  ------------------
 1098|      7|            return "tuple";
 1099|      3|        case Lambda_kind:
  ------------------
  |  Branch (1099:9): [True: 3, False: 183]
  ------------------
 1100|      3|            return "lambda";
 1101|     10|        case Call_kind:
  ------------------
  |  Branch (1101:9): [True: 10, False: 176]
  ------------------
 1102|     10|            return "function call";
 1103|      4|        case BoolOp_kind:
  ------------------
  |  Branch (1103:9): [True: 4, False: 182]
  ------------------
 1104|     59|        case BinOp_kind:
  ------------------
  |  Branch (1104:9): [True: 55, False: 131]
  ------------------
 1105|     71|        case UnaryOp_kind:
  ------------------
  |  Branch (1105:9): [True: 12, False: 174]
  ------------------
 1106|     71|            return "expression";
 1107|      1|        case GeneratorExp_kind:
  ------------------
  |  Branch (1107:9): [True: 1, False: 185]
  ------------------
 1108|      1|            return "generator expression";
 1109|      1|        case Yield_kind:
  ------------------
  |  Branch (1109:9): [True: 1, False: 185]
  ------------------
 1110|      1|        case YieldFrom_kind:
  ------------------
  |  Branch (1110:9): [True: 0, False: 186]
  ------------------
 1111|      1|            return "yield expression";
 1112|      2|        case Await_kind:
  ------------------
  |  Branch (1112:9): [True: 2, False: 184]
  ------------------
 1113|      2|            return "await expression";
 1114|      1|        case ListComp_kind:
  ------------------
  |  Branch (1114:9): [True: 1, False: 185]
  ------------------
 1115|      1|            return "list comprehension";
 1116|      1|        case SetComp_kind:
  ------------------
  |  Branch (1116:9): [True: 1, False: 185]
  ------------------
 1117|      1|            return "set comprehension";
 1118|      0|        case DictComp_kind:
  ------------------
  |  Branch (1118:9): [True: 0, False: 186]
  ------------------
 1119|      0|            return "dict comprehension";
 1120|      1|        case Dict_kind:
  ------------------
  |  Branch (1120:9): [True: 1, False: 185]
  ------------------
 1121|      1|            return "dict literal";
 1122|      1|        case Set_kind:
  ------------------
  |  Branch (1122:9): [True: 1, False: 185]
  ------------------
 1123|      1|            return "set display";
 1124|      1|        case JoinedStr_kind:
  ------------------
  |  Branch (1124:9): [True: 1, False: 185]
  ------------------
 1125|      1|        case FormattedValue_kind:
  ------------------
  |  Branch (1125:9): [True: 0, False: 186]
  ------------------
 1126|      1|            return "f-string expression";
 1127|      2|        case TemplateStr_kind:
  ------------------
  |  Branch (1127:9): [True: 2, False: 184]
  ------------------
 1128|      2|        case Interpolation_kind:
  ------------------
  |  Branch (1128:9): [True: 0, False: 186]
  ------------------
 1129|      2|            return "t-string expression";
 1130|     48|        case Constant_kind: {
  ------------------
  |  Branch (1130:9): [True: 48, False: 138]
  ------------------
 1131|     48|            PyObject *value = e->v.Constant.value;
 1132|     48|            if (value == Py_None) {
  ------------------
  |  |  616|     48|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1132:17): [True: 2, False: 46]
  ------------------
 1133|      2|                return "None";
 1134|      2|            }
 1135|     46|            if (value == Py_False) {
  ------------------
  |  |   25|     46|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1135:17): [True: 1, False: 45]
  ------------------
 1136|      1|                return "False";
 1137|      1|            }
 1138|     45|            if (value == Py_True) {
  ------------------
  |  |   26|     45|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1138:17): [True: 3, False: 42]
  ------------------
 1139|      3|                return "True";
 1140|      3|            }
 1141|     42|            if (value == Py_Ellipsis) {
  ------------------
  |  |   14|     42|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (1141:17): [True: 1, False: 41]
  ------------------
 1142|      1|                return "ellipsis";
 1143|      1|            }
 1144|     41|            return "literal";
 1145|     42|        }
 1146|     15|        case Compare_kind:
  ------------------
  |  Branch (1146:9): [True: 15, False: 171]
  ------------------
 1147|     15|            return "comparison";
 1148|      1|        case IfExp_kind:
  ------------------
  |  Branch (1148:9): [True: 1, False: 185]
  ------------------
 1149|      1|            return "conditional expression";
 1150|      1|        case NamedExpr_kind:
  ------------------
  |  Branch (1150:9): [True: 1, False: 185]
  ------------------
 1151|      1|            return "named expression";
 1152|      0|        default:
  ------------------
  |  Branch (1152:9): [True: 0, False: 186]
  ------------------
 1153|      0|            PyErr_Format(PyExc_SystemError,
 1154|      0|                         "unexpected expression in assignment %d (line %d)",
 1155|      0|                         e->kind, e->lineno);
 1156|       |            return NULL;
 1157|    186|    }
 1158|    186|}
_PyPegen_get_last_comprehension_item:
 1161|     22|_PyPegen_get_last_comprehension_item(comprehension_ty comprehension) {
 1162|     22|    if (comprehension->ifs == NULL || asdl_seq_LEN(comprehension->ifs) == 0) {
  ------------------
  |  |   83|     22|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     44|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 22]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1162:9): [True: 0, False: 22]
  |  Branch (1162:39): [True: 18, False: 4]
  ------------------
 1163|     18|        return comprehension->iter;
 1164|     18|    }
 1165|      4|    return PyPegen_last_item(comprehension->ifs, expr_ty);
  ------------------
  |  |  276|      4|#define PyPegen_last_item(seq, type) ((type)_PyPegen_seq_last_item((asdl_seq*)seq))
  ------------------
 1166|     22|}
_PyPegen_collect_call_seqs:
 1170|  39.8k|                     int end_col_offset, PyArena *arena) {
 1171|  39.8k|    Py_ssize_t args_len = asdl_seq_LEN(a);
  ------------------
  |  |   83|  39.8k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  79.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 39.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1172|  39.8k|    Py_ssize_t total_len = args_len;
 1173|       |
 1174|  39.8k|    if (b == NULL) {
  ------------------
  |  Branch (1174:9): [True: 34.2k, False: 5.63k]
  ------------------
 1175|  34.2k|        return _PyAST_Call(_PyPegen_dummy_name(p), a, NULL, lineno, col_offset,
 1176|  34.2k|                        end_lineno, end_col_offset, arena);
 1177|       |
 1178|  34.2k|    }
 1179|       |
 1180|  5.63k|    asdl_expr_seq *starreds = _PyPegen_seq_extract_starred_exprs(p, b);
 1181|  5.63k|    if (!starreds && PyErr_Occurred()) {
  ------------------
  |  Branch (1181:9): [True: 3.65k, False: 1.97k]
  |  Branch (1181:22): [True: 0, False: 3.65k]
  ------------------
 1182|      0|        return NULL;
 1183|      0|    }
 1184|       |
 1185|  5.63k|    asdl_keyword_seq *keywords = _PyPegen_seq_delete_starred_exprs(p, b);
 1186|  5.63k|    if (!keywords && PyErr_Occurred()) {
  ------------------
  |  Branch (1186:9): [True: 0, False: 5.63k]
  |  Branch (1186:22): [True: 0, False: 0]
  ------------------
 1187|      0|        return NULL;
 1188|      0|    }
 1189|       |
 1190|  5.63k|    if (starreds) {
  ------------------
  |  Branch (1190:9): [True: 1.97k, False: 3.65k]
  ------------------
 1191|  1.97k|        total_len += asdl_seq_LEN(starreds);
  ------------------
  |  |   83|  1.97k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.95k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.97k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1192|  1.97k|    }
 1193|       |
 1194|  5.63k|    asdl_expr_seq *args = _Py_asdl_expr_seq_new(total_len, arena);
 1195|  5.63k|    if (args == NULL) {
  ------------------
  |  Branch (1195:9): [True: 0, False: 5.63k]
  ------------------
 1196|      0|        return NULL;
 1197|      0|    }
 1198|       |
 1199|  5.63k|    Py_ssize_t i = 0;
 1200|  13.0k|    for (i = 0; i < args_len; i++) {
  ------------------
  |  Branch (1200:17): [True: 7.45k, False: 5.63k]
  ------------------
 1201|  7.45k|        asdl_seq_SET(args, i, asdl_seq_GET(a, i));
  ------------------
  |  |   94|  7.45k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  7.45k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1202|  7.45k|    }
 1203|  8.65k|    for (; i < total_len; i++) {
  ------------------
  |  Branch (1203:12): [True: 3.01k, False: 5.63k]
  ------------------
 1204|  3.01k|        asdl_seq_SET(args, i, asdl_seq_GET(starreds, i - args_len));
  ------------------
  |  |   94|  3.01k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  3.01k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1205|  3.01k|    }
 1206|       |
 1207|  5.63k|    return _PyAST_Call(_PyPegen_dummy_name(p), args, keywords, lineno,
 1208|  5.63k|                       col_offset, end_lineno, end_col_offset, arena);
 1209|  5.63k|}
_PyPegen_get_invalid_target:
 1215|  6.29k|{
 1216|  6.29k|    if (e == NULL) {
  ------------------
  |  Branch (1216:9): [True: 0, False: 6.29k]
  ------------------
 1217|      0|        return NULL;
 1218|      0|    }
 1219|       |
 1220|  6.29k|#define VISIT_CONTAINER(CONTAINER, TYPE) do { \
 1221|  6.29k|        Py_ssize_t len = asdl_seq_LEN((CONTAINER)->v.TYPE.elts);\
 1222|  6.29k|        for (Py_ssize_t i = 0; i < len; i++) {\
 1223|  6.29k|            expr_ty other = asdl_seq_GET((CONTAINER)->v.TYPE.elts, i);\
 1224|  6.29k|            expr_ty child = _PyPegen_get_invalid_target(other, targets_type);\
 1225|  6.29k|            if (child != NULL) {\
 1226|  6.29k|                return child;\
 1227|  6.29k|            }\
 1228|  6.29k|        }\
 1229|  6.29k|    } while (0)
 1230|       |
 1231|       |    // We only need to visit List and Tuple nodes recursively as those
 1232|       |    // are the only ones that can contain valid names in targets when
 1233|       |    // they are parsed as expressions. Any other kind of expression
 1234|       |    // that is a container (like Sets or Dicts) is directly invalid and
 1235|       |    // we don't need to visit it recursively.
 1236|       |
 1237|  6.29k|    switch (e->kind) {
 1238|  1.28k|        case List_kind:
  ------------------
  |  Branch (1238:9): [True: 1.28k, False: 5.00k]
  ------------------
 1239|  1.28k|            VISIT_CONTAINER(e, List);
  ------------------
  |  | 1220|  1.28k|#define VISIT_CONTAINER(CONTAINER, TYPE) do { \
  |  | 1221|  1.28k|        Py_ssize_t len = asdl_seq_LEN((CONTAINER)->v.TYPE.elts);\
  |  |  ------------------
  |  |  |  |   83|  1.28k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.57k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 378, False: 911]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1222|  2.52k|        for (Py_ssize_t i = 0; i < len; i++) {\
  |  |  ------------------
  |  |  |  Branch (1222:32): [True: 1.25k, False: 1.26k]
  |  |  ------------------
  |  | 1223|  1.25k|            expr_ty other = asdl_seq_GET((CONTAINER)->v.TYPE.elts, i);\
  |  |  ------------------
  |  |  |  |   82|  1.25k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.25k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1224|  1.25k|            expr_ty child = _PyPegen_get_invalid_target(other, targets_type);\
  |  | 1225|  1.25k|            if (child != NULL) {\
  |  |  ------------------
  |  |  |  Branch (1225:17): [True: 23, False: 1.23k]
  |  |  ------------------
  |  | 1226|     23|                return child;\
  |  | 1227|     23|            }\
  |  | 1228|  1.25k|        }\
  |  | 1229|  1.28k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1229:14): [Folded, False: 1.26k]
  |  |  ------------------
  ------------------
 1240|  1.26k|            return NULL;
 1241|    972|        case Tuple_kind:
  ------------------
  |  Branch (1241:9): [True: 972, False: 5.32k]
  ------------------
 1242|    972|            VISIT_CONTAINER(e, Tuple);
  ------------------
  |  | 1220|    972|#define VISIT_CONTAINER(CONTAINER, TYPE) do { \
  |  | 1221|    972|        Py_ssize_t len = asdl_seq_LEN((CONTAINER)->v.TYPE.elts);\
  |  |  ------------------
  |  |  |  |   83|    972|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.94k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 87, False: 885]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1222|  3.59k|        for (Py_ssize_t i = 0; i < len; i++) {\
  |  |  ------------------
  |  |  |  Branch (1222:32): [True: 2.68k, False: 913]
  |  |  ------------------
  |  | 1223|  2.68k|            expr_ty other = asdl_seq_GET((CONTAINER)->v.TYPE.elts, i);\
  |  |  ------------------
  |  |  |  |   82|  2.68k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.68k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1224|  2.68k|            expr_ty child = _PyPegen_get_invalid_target(other, targets_type);\
  |  | 1225|  2.68k|            if (child != NULL) {\
  |  |  ------------------
  |  |  |  Branch (1225:17): [True: 59, False: 2.62k]
  |  |  ------------------
  |  | 1226|     59|                return child;\
  |  | 1227|     59|            }\
  |  | 1228|  2.68k|        }\
  |  | 1229|    972|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1229:14): [Folded, False: 913]
  |  |  ------------------
  ------------------
 1243|    913|            return NULL;
 1244|  1.28k|        case Starred_kind:
  ------------------
  |  Branch (1244:9): [True: 1.28k, False: 5.01k]
  ------------------
 1245|  1.28k|            if (targets_type == DEL_TARGETS) {
  ------------------
  |  Branch (1245:17): [True: 4, False: 1.27k]
  ------------------
 1246|      4|                return e;
 1247|      4|            }
 1248|  1.27k|            return _PyPegen_get_invalid_target(e->v.Starred.value, targets_type);
 1249|     68|        case Compare_kind:
  ------------------
  |  Branch (1249:9): [True: 68, False: 6.22k]
  ------------------
 1250|       |            // This is needed, because the `a in b` in `for a in b` gets parsed
 1251|       |            // as a comparison, and so we need to search the left side of the comparison
 1252|       |            // for invalid targets.
 1253|     68|            if (targets_type == FOR_TARGETS) {
  ------------------
  |  Branch (1253:17): [True: 56, False: 12]
  ------------------
 1254|     56|                cmpop_ty cmpop = (cmpop_ty) asdl_seq_GET(e->v.Compare.ops, 0);
  ------------------
  |  |   82|     56|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     56|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1255|     56|                if (cmpop == In) {
  ------------------
  |  Branch (1255:21): [True: 29, False: 27]
  ------------------
 1256|     29|                    return _PyPegen_get_invalid_target(e->v.Compare.left, targets_type);
 1257|     29|                }
 1258|     27|                return NULL;
 1259|     56|            }
 1260|     12|            return e;
 1261|  2.00k|        case Name_kind:
  ------------------
  |  Branch (1261:9): [True: 2.00k, False: 4.28k]
  ------------------
 1262|  2.21k|        case Subscript_kind:
  ------------------
  |  Branch (1262:9): [True: 210, False: 6.08k]
  ------------------
 1263|  2.58k|        case Attribute_kind:
  ------------------
  |  Branch (1263:9): [True: 372, False: 5.92k]
  ------------------
 1264|  2.58k|            return NULL;
 1265|     96|        default:
  ------------------
  |  Branch (1265:9): [True: 96, False: 6.19k]
  ------------------
 1266|     96|            return e;
 1267|  6.29k|    }
 1268|  6.29k|}
_PyPegen_arguments_parsing_error:
 1270|     33|void *_PyPegen_arguments_parsing_error(Parser *p, expr_ty e) {
 1271|     33|    int kwarg_unpacking = 0;
 1272|    278|    for (Py_ssize_t i = 0, l = asdl_seq_LEN(e->v.Call.keywords); i < l; i++) {
  ------------------
  |  |   83|     33|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     66|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 33]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1272:66): [True: 245, False: 33]
  ------------------
 1273|    245|        keyword_ty keyword = asdl_seq_GET(e->v.Call.keywords, i);
  ------------------
  |  |   82|    245|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    245|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1274|    245|        if (!keyword->arg) {
  ------------------
  |  Branch (1274:13): [True: 88, False: 157]
  ------------------
 1275|     88|            kwarg_unpacking = 1;
 1276|     88|        }
 1277|    245|    }
 1278|       |
 1279|     33|    const char *msg = NULL;
 1280|     33|    if (kwarg_unpacking) {
  ------------------
  |  Branch (1280:9): [True: 14, False: 19]
  ------------------
 1281|     14|        msg = "positional argument follows keyword argument unpacking";
 1282|     19|    } else {
 1283|     19|        msg = "positional argument follows keyword argument";
 1284|     19|    }
 1285|       |
 1286|     33|    return RAISE_SYNTAX_ERROR(msg);
  ------------------
  |  |  207|     33|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 1287|     33|}
_PyPegen_nonparen_genexp_in_call:
 1291|    871|{
 1292|       |    /* The rule that calls this function is 'args for_if_clauses'.
 1293|       |       For the input f(L, x for x in y), L and x are in args and
 1294|       |       the for is parsed as a for_if_clause. We have to check if
 1295|       |       len <= 1, so that input like dict((a, b) for a, b in x)
 1296|       |       gets successfully parsed and then we pass the last
 1297|       |       argument (x in the above example) as the location of the
 1298|       |       error */
 1299|    871|    Py_ssize_t len = asdl_seq_LEN(args->v.Call.args);
  ------------------
  |  |   83|    871|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.74k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 325, False: 546]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1300|    871|    if (len <= 1) {
  ------------------
  |  Branch (1300:9): [True: 869, False: 2]
  ------------------
 1301|    869|        return NULL;
 1302|    869|    }
 1303|       |
 1304|      2|    comprehension_ty last_comprehension = PyPegen_last_item(comprehensions, comprehension_ty);
  ------------------
  |  |  276|      2|#define PyPegen_last_item(seq, type) ((type)_PyPegen_seq_last_item((asdl_seq*)seq))
  ------------------
 1305|       |
 1306|      2|    return RAISE_SYNTAX_ERROR_KNOWN_RANGE(
  ------------------
  |  |  211|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 1307|    871|        (expr_ty) asdl_seq_GET(args->v.Call.args, len - 1),
 1308|    871|        _PyPegen_get_last_comprehension_item(last_comprehension),
 1309|    871|        "Generator expression must be parenthesized"
 1310|    871|    );
 1311|    871|}
_PyPegen_template_str:
 1433|  3.81k|_PyPegen_template_str(Parser *p, Token *a, asdl_expr_seq *raw_expressions, Token *b) {
 1434|       |
 1435|  3.81k|    asdl_expr_seq *resized_exprs = _get_resized_exprs(p, a, raw_expressions, b, TSTRING);
 1436|  3.81k|    if (resized_exprs == NULL) {
  ------------------
  |  Branch (1436:9): [True: 5, False: 3.81k]
  ------------------
 1437|      5|        return NULL;
 1438|      5|    }
 1439|  3.81k|    return _PyAST_TemplateStr(resized_exprs, a->lineno, a->col_offset,
 1440|  3.81k|                              b->end_lineno, b->end_col_offset,
 1441|  3.81k|                              p->arena);
 1442|  3.81k|}
_PyPegen_joined_str:
 1445|  19.9k|_PyPegen_joined_str(Parser *p, Token* a, asdl_expr_seq* raw_expressions, Token*b) {
 1446|       |
 1447|  19.9k|    asdl_expr_seq *resized_exprs = _get_resized_exprs(p, a, raw_expressions, b, FSTRING);
 1448|  19.9k|    if (resized_exprs == NULL) {
  ------------------
  |  Branch (1448:9): [True: 3, False: 19.9k]
  ------------------
 1449|      3|        return NULL;
 1450|      3|    }
 1451|  19.9k|    return _PyAST_JoinedStr(resized_exprs, a->lineno, a->col_offset,
 1452|  19.9k|                            b->end_lineno, b->end_col_offset,
 1453|  19.9k|                            p->arena);
 1454|  19.9k|}
_PyPegen_decoded_constant_from_token:
 1456|  24.7k|expr_ty _PyPegen_decoded_constant_from_token(Parser* p, Token* tok) {
 1457|  24.7k|    Py_ssize_t bsize;
 1458|  24.7k|    char* bstr;
 1459|  24.7k|    if (PyBytes_AsStringAndSize(tok->bytes, &bstr, &bsize) == -1) {
  ------------------
  |  Branch (1459:9): [True: 0, False: 24.7k]
  ------------------
 1460|      0|        return NULL;
 1461|      0|    }
 1462|       |
 1463|       |    // Check if we're inside a raw f-string for format spec decoding
 1464|  24.7k|    int is_raw = 0;
 1465|  24.7k|    if (INSIDE_FSTRING(p->tok)) {
  ------------------
  |  |   10|  24.7k|#define INSIDE_FSTRING(tok) (tok->tok_mode_stack_index > 0)
  |  |  ------------------
  |  |  |  Branch (10:29): [True: 21.2k, False: 3.52k]
  |  |  ------------------
  ------------------
 1466|  21.2k|        tokenizer_mode *mode = TOK_GET_MODE(p->tok);
  ------------------
  |  |   29|  21.2k|#define TOK_GET_MODE(tok) (&(tok->tok_mode_stack[tok->tok_mode_stack_index]))
  ------------------
 1467|  21.2k|        is_raw = mode->raw;
 1468|  21.2k|    }
 1469|       |
 1470|  24.7k|    PyObject* str = _PyPegen_decode_string(p, is_raw, bstr, bsize, tok);
 1471|  24.7k|    if (str == NULL) {
  ------------------
  |  Branch (1471:9): [True: 6, False: 24.7k]
  ------------------
 1472|      6|        return NULL;
 1473|      6|    }
 1474|  24.7k|    if (_PyArena_AddPyObject(p->arena, str) < 0) {
  ------------------
  |  Branch (1474:9): [True: 0, False: 24.7k]
  ------------------
 1475|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1476|      0|        return NULL;
 1477|      0|    }
 1478|  24.7k|    return _PyAST_Constant(str, NULL, tok->lineno, tok->col_offset,
 1479|  24.7k|                           tok->end_lineno, tok->end_col_offset,
 1480|  24.7k|                           p->arena);
 1481|  24.7k|}
_PyPegen_constant_from_token:
 1483|  64.5k|expr_ty _PyPegen_constant_from_token(Parser* p, Token* tok) {
 1484|  64.5k|    char* bstr = PyBytes_AsString(tok->bytes);
 1485|  64.5k|    if (bstr == NULL) {
  ------------------
  |  Branch (1485:9): [True: 0, False: 64.5k]
  ------------------
 1486|      0|        return NULL;
 1487|      0|    }
 1488|  64.5k|    PyObject* str = PyUnicode_FromString(bstr);
 1489|  64.5k|    if (str == NULL) {
  ------------------
  |  Branch (1489:9): [True: 8, False: 64.5k]
  ------------------
 1490|      8|        return NULL;
 1491|      8|    }
 1492|  64.5k|    if (_PyArena_AddPyObject(p->arena, str) < 0) {
  ------------------
  |  Branch (1492:9): [True: 0, False: 64.5k]
  ------------------
 1493|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1494|      0|        return NULL;
 1495|      0|    }
 1496|  64.5k|    return _PyAST_Constant(str, NULL, tok->lineno, tok->col_offset,
 1497|  64.5k|                           tok->end_lineno, tok->end_col_offset,
 1498|  64.5k|                           p->arena);
 1499|  64.5k|}
_PyPegen_constant_from_string:
 1501|  79.9k|expr_ty _PyPegen_constant_from_string(Parser* p, Token* tok) {
 1502|  79.9k|    char* the_str = PyBytes_AsString(tok->bytes);
 1503|  79.9k|    if (the_str == NULL) {
  ------------------
  |  Branch (1503:9): [True: 0, False: 79.9k]
  ------------------
 1504|      0|        return NULL;
 1505|      0|    }
 1506|  79.9k|    PyObject *s = _PyPegen_parse_string(p, tok);
 1507|  79.9k|    if (s == NULL) {
  ------------------
  |  Branch (1507:9): [True: 195, False: 79.7k]
  ------------------
 1508|    195|        _Pypegen_raise_decode_error(p);
 1509|    195|        return NULL;
 1510|    195|    }
 1511|  79.7k|    if (_PyArena_AddPyObject(p->arena, s) < 0) {
  ------------------
  |  Branch (1511:9): [True: 0, False: 79.7k]
  ------------------
 1512|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1513|      0|        return NULL;
 1514|      0|    }
 1515|  79.7k|    PyObject *kind = NULL;
 1516|  79.7k|    if (the_str && the_str[0] == 'u') {
  ------------------
  |  Branch (1516:9): [True: 79.7k, False: 0]
  |  Branch (1516:20): [True: 4.95k, False: 74.8k]
  ------------------
 1517|  4.95k|        kind = _PyPegen_new_identifier(p, "u");
 1518|  4.95k|        if (kind == NULL) {
  ------------------
  |  Branch (1518:13): [True: 0, False: 4.95k]
  ------------------
 1519|      0|            return NULL;
 1520|      0|        }
 1521|  4.95k|    }
 1522|  79.7k|    return _PyAST_Constant(s, kind, tok->lineno, tok->col_offset, tok->end_lineno, tok->end_col_offset, p->arena);
 1523|  79.7k|}
_PyPegen_interpolation:
 1562|  7.33k|                                 int end_lineno, int end_col_offset, PyArena *arena) {
 1563|       |
 1564|  7.33k|    int conversion_val = _get_interpolation_conversion(p, debug, conversion, format);
 1565|       |
 1566|       |    /* Find the non whitespace token after the "=" */
 1567|  7.33k|    int debug_end_line, debug_end_offset;
 1568|  7.33k|    PyObject *debug_metadata;
 1569|  7.33k|    constant exprstr;
 1570|       |
 1571|  7.33k|    if (conversion) {
  ------------------
  |  Branch (1571:9): [True: 1.42k, False: 5.91k]
  ------------------
 1572|  1.42k|        debug_end_line = ((expr_ty) conversion->result)->lineno;
 1573|  1.42k|        debug_end_offset = ((expr_ty) conversion->result)->col_offset;
 1574|  1.42k|        debug_metadata = exprstr = conversion->metadata;
 1575|  1.42k|    }
 1576|  5.91k|    else if (format) {
  ------------------
  |  Branch (1576:14): [True: 4.13k, False: 1.78k]
  ------------------
 1577|  4.13k|        debug_end_line = ((expr_ty) format->result)->lineno;
 1578|  4.13k|        debug_end_offset = ((expr_ty) format->result)->col_offset + 1;
 1579|  4.13k|        debug_metadata = exprstr = format->metadata;
 1580|  4.13k|    }
 1581|  1.78k|    else {
 1582|  1.78k|        debug_end_line = end_lineno;
 1583|  1.78k|        debug_end_offset = end_col_offset;
 1584|  1.78k|        debug_metadata = exprstr = closing_brace->metadata;
 1585|  1.78k|    }
 1586|       |
 1587|  7.33k|    assert(exprstr != NULL);
  ------------------
  |  Branch (1587:5): [True: 7.33k, False: 0]
  ------------------
 1588|  7.33k|    PyObject *final_exprstr = _strip_interpolation_expr(exprstr);
 1589|  7.33k|    if (!final_exprstr || _PyArena_AddPyObject(arena, final_exprstr) < 0) {
  ------------------
  |  Branch (1589:9): [True: 0, False: 7.33k]
  |  Branch (1589:27): [True: 0, False: 7.33k]
  ------------------
 1590|      0|        Py_XDECREF(final_exprstr);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1591|      0|        return NULL;
 1592|      0|    }
 1593|       |
 1594|  7.33k|    expr_ty interpolation = _PyAST_Interpolation(
 1595|  7.33k|        expression, final_exprstr, conversion_val, format ? (expr_ty) format->result : NULL,
  ------------------
  |  Branch (1595:52): [True: 4.13k, False: 3.20k]
  ------------------
 1596|  7.33k|        lineno, col_offset, end_lineno,
 1597|  7.33k|        end_col_offset, arena
 1598|  7.33k|    );
 1599|       |
 1600|  7.33k|    if (!interpolation || !debug) {
  ------------------
  |  Branch (1600:9): [True: 0, False: 7.33k]
  |  Branch (1600:27): [True: 6.18k, False: 1.14k]
  ------------------
 1601|  6.18k|        return interpolation;
 1602|  6.18k|    }
 1603|       |
 1604|  1.14k|    expr_ty debug_text = _PyAST_Constant(debug_metadata, NULL, lineno, col_offset + 1, debug_end_line,
 1605|  1.14k|                                            debug_end_offset - 1, p->arena);
 1606|  1.14k|    if (!debug_text) {
  ------------------
  |  Branch (1606:9): [True: 0, False: 1.14k]
  ------------------
 1607|      0|        return NULL;
 1608|      0|    }
 1609|       |
 1610|  1.14k|    asdl_expr_seq *values = _Py_asdl_expr_seq_new(2, arena);
 1611|  1.14k|    if (!values) {
  ------------------
  |  Branch (1611:9): [True: 0, False: 1.14k]
  ------------------
 1612|      0|        return NULL;
 1613|      0|    }
 1614|  1.14k|    asdl_seq_SET(values, 0, debug_text);
  ------------------
  |  |   94|  1.14k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  1.14k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1615|  1.14k|    asdl_seq_SET(values, 1, interpolation);
  ------------------
  |  |   94|  1.14k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  1.14k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1616|  1.14k|    return _PyAST_JoinedStr(values, lineno, col_offset, debug_end_line, debug_end_offset, p->arena);
 1617|  1.14k|}
_PyPegen_formatted_value:
 1621|  19.4k|                                 int end_lineno, int end_col_offset, PyArena *arena) {
 1622|  19.4k|    int conversion_val = _get_interpolation_conversion(p, debug, conversion, format);
 1623|       |
 1624|  19.4k|    expr_ty formatted_value = _PyAST_FormattedValue(
 1625|  19.4k|        expression, conversion_val, format ? (expr_ty) format->result : NULL,
  ------------------
  |  Branch (1625:37): [True: 11.5k, False: 7.81k]
  ------------------
 1626|  19.4k|        lineno, col_offset, end_lineno,
 1627|  19.4k|        end_col_offset, arena
 1628|  19.4k|    );
 1629|       |
 1630|  19.4k|    if (!formatted_value || !debug) {
  ------------------
  |  Branch (1630:9): [True: 0, False: 19.4k]
  |  Branch (1630:29): [True: 17.9k, False: 1.47k]
  ------------------
 1631|  17.9k|        return formatted_value;
 1632|  17.9k|    }
 1633|       |
 1634|       |    /* Find the non whitespace token after the "=" */
 1635|  1.47k|    int debug_end_line, debug_end_offset;
 1636|  1.47k|    PyObject *debug_metadata;
 1637|       |
 1638|  1.47k|    if (conversion) {
  ------------------
  |  Branch (1638:9): [True: 53, False: 1.42k]
  ------------------
 1639|     53|        debug_end_line = ((expr_ty) conversion->result)->lineno;
 1640|     53|        debug_end_offset = ((expr_ty) conversion->result)->col_offset;
 1641|     53|        debug_metadata = conversion->metadata;
 1642|     53|    }
 1643|  1.42k|    else if (format) {
  ------------------
  |  Branch (1643:14): [True: 872, False: 551]
  ------------------
 1644|    872|        debug_end_line = ((expr_ty) format->result)->lineno;
 1645|    872|        debug_end_offset = ((expr_ty) format->result)->col_offset + 1;
 1646|    872|        debug_metadata = format->metadata;
 1647|    872|    }
 1648|    551|    else {
 1649|    551|        debug_end_line = end_lineno;
 1650|    551|        debug_end_offset = end_col_offset;
 1651|    551|        debug_metadata = closing_brace->metadata;
 1652|    551|    }
 1653|  1.47k|    expr_ty debug_text = _PyAST_Constant(debug_metadata, NULL, lineno, col_offset + 1, debug_end_line,
 1654|  1.47k|                                            debug_end_offset - 1, p->arena);
 1655|  1.47k|    if (!debug_text) {
  ------------------
  |  Branch (1655:9): [True: 2, False: 1.47k]
  ------------------
 1656|      2|        return NULL;
 1657|      2|    }
 1658|       |
 1659|  1.47k|    asdl_expr_seq *values = _Py_asdl_expr_seq_new(2, arena);
 1660|  1.47k|    if (!values) {
  ------------------
  |  Branch (1660:9): [True: 0, False: 1.47k]
  ------------------
 1661|      0|        return NULL;
 1662|      0|    }
 1663|  1.47k|    asdl_seq_SET(values, 0, debug_text);
  ------------------
  |  |   94|  1.47k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  1.47k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1664|  1.47k|    asdl_seq_SET(values, 1, formatted_value);
  ------------------
  |  |   94|  1.47k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  1.47k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1665|  1.47k|    return _PyAST_JoinedStr(values, lineno, col_offset, debug_end_line, debug_end_offset, p->arena);
 1666|  1.47k|}
_PyPegen_concatenate_tstrings:
 1940|  3.45k|{
 1941|  3.45k|    asdl_expr_seq *values = _build_concatenated_str(p, strings, lineno,
 1942|  3.45k|        col_offset, end_lineno, end_col_offset, arena);
 1943|  3.45k|    if (!values) {
  ------------------
  |  Branch (1943:9): [True: 0, False: 3.45k]
  ------------------
 1944|      0|        return NULL;
 1945|      0|    }
 1946|  3.45k|    return _PyAST_TemplateStr(values, lineno, col_offset, end_lineno,
 1947|  3.45k|        end_col_offset, arena);
 1948|  3.45k|}
_PyPegen_concatenate_strings:
 1954|  66.2k|{
 1955|  66.2k|    Py_ssize_t len = asdl_seq_LEN(strings);
  ------------------
  |  |   83|  66.2k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|   132k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 66.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1956|  66.2k|    assert(len > 0);
  ------------------
  |  Branch (1956:5): [True: 66.2k, False: 0]
  ------------------
 1957|       |
 1958|  66.2k|    int f_string_found = 0;
 1959|  66.2k|    int unicode_string_found = 0;
 1960|  66.2k|    int bytes_found = 0;
 1961|       |
 1962|  66.2k|    Py_ssize_t i = 0;
 1963|   166k|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (1963:17): [True: 100k, False: 66.2k]
  ------------------
 1964|   100k|        expr_ty elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|   100k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|   100k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1965|   100k|        switch(elem->kind) {
 1966|  76.1k|            case Constant_kind:
  ------------------
  |  Branch (1966:13): [True: 76.1k, False: 24.1k]
  ------------------
 1967|  76.1k|                if (PyBytes_CheckExact(elem->v.Constant.value)) {
  ------------------
  |  |   29|  76.1k|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|  76.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  76.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  76.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 17.9k, False: 58.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1968|  17.9k|                    bytes_found = 1;
 1969|  58.1k|                } else {
 1970|  58.1k|                    unicode_string_found = 1;
 1971|  58.1k|                }
 1972|  76.1k|                break;
 1973|  16.0k|            case JoinedStr_kind:
  ------------------
  |  Branch (1973:13): [True: 16.0k, False: 84.1k]
  ------------------
 1974|  16.0k|                f_string_found = 1;
 1975|  16.0k|                break;
 1976|      0|            case TemplateStr_kind:
  ------------------
  |  Branch (1976:13): [True: 0, False: 100k]
  ------------------
 1977|       |                // python.gram handles this; we should never get here
 1978|      0|                assert(0);
  ------------------
  |  Branch (1978:17): [Folded, False: 0]
  ------------------
 1979|      0|                break;
 1980|  8.05k|            default:
  ------------------
  |  Branch (1980:13): [True: 8.05k, False: 92.1k]
  ------------------
 1981|  8.05k|                f_string_found = 1;
 1982|  8.05k|                break;
 1983|   100k|        }
 1984|   100k|    }
 1985|       |
 1986|       |    // Cannot mix unicode and bytes
 1987|  66.2k|    if ((unicode_string_found || f_string_found) && bytes_found) {
  ------------------
  |  Branch (1987:10): [True: 43.7k, False: 22.5k]
  |  Branch (1987:34): [True: 8.42k, False: 14.1k]
  |  Branch (1987:53): [True: 30, False: 52.0k]
  ------------------
 1988|     30|        RAISE_SYNTAX_ERROR("cannot mix bytes and nonbytes literals");
  ------------------
  |  |  207|     30|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 1989|     30|        return NULL;
 1990|     30|    }
 1991|       |
 1992|       |    // If it's only bytes or only unicode string, do a simple concat
 1993|  66.2k|    if (!f_string_found) {
  ------------------
  |  Branch (1993:9): [True: 46.8k, False: 19.3k]
  ------------------
 1994|  46.8k|        if (len == 1) {
  ------------------
  |  Branch (1994:13): [True: 44.3k, False: 2.55k]
  ------------------
 1995|  44.3k|            return asdl_seq_GET(strings, 0);
  ------------------
  |  |   82|  44.3k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  44.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1996|  44.3k|        }
 1997|  2.55k|        else if (bytes_found) {
  ------------------
  |  Branch (1997:18): [True: 856, False: 1.69k]
  ------------------
 1998|    856|            return _build_concatenated_bytes(p, strings, lineno, col_offset,
 1999|    856|                end_lineno, end_col_offset, arena);
 2000|    856|        }
 2001|  1.69k|        else {
 2002|  1.69k|            return _build_concatenated_unicode(p, strings, lineno, col_offset,
 2003|  1.69k|                end_lineno, end_col_offset, arena);
 2004|  1.69k|        }
 2005|  46.8k|    }
 2006|       |
 2007|  19.3k|    return _build_concatenated_joined_str(p, strings, lineno,
 2008|  19.3k|        col_offset, end_lineno, end_col_offset, arena);
 2009|  66.2k|}
_PyPegen_checked_from_import:
 2066|  4.29k|{
 2067|  4.29k|    identifier module = module_name->v.Name.id;
 2068|  4.29k|    int level = _PyPegen_seq_count_dots(dots);
 2069|  4.29k|    if (level == 0 && PyUnicode_CompareWithASCIIString(module, "__future__") == 0) {
  ------------------
  |  Branch (2069:9): [True: 4.18k, False: 108]
  |  Branch (2069:23): [True: 2.06k, False: 2.12k]
  ------------------
 2070|  2.06k|        if (lazy_token) {
  ------------------
  |  Branch (2070:13): [True: 1, False: 2.05k]
  ------------------
 2071|      1|            RAISE_SYNTAX_ERROR_KNOWN_LOCATION(lazy_token,
  ------------------
  |  |  213|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
 2072|      1|                "lazy from __future__ import is not allowed");
 2073|      1|            return NULL;
 2074|      1|        }
 2075|  4.31k|        for (Py_ssize_t i = 0; i < asdl_seq_LEN(names); i++) {
  ------------------
  |  |   83|  4.31k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  8.63k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 4.31k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2075:32): [True: 2.26k, False: 2.05k]
  ------------------
 2076|  2.26k|            alias_ty alias = asdl_seq_GET(names, i);
  ------------------
  |  |   82|  2.26k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  2.26k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2077|  2.26k|            if (PyUnicode_CompareWithASCIIString(alias->name, "barry_as_FLUFL") == 0) {
  ------------------
  |  Branch (2077:17): [True: 0, False: 2.26k]
  ------------------
 2078|      0|                p->flags |= PyPARSE_BARRY_AS_BDFL;
  ------------------
  |  |   23|      0|#define PyPARSE_BARRY_AS_BDFL 0x0020
  ------------------
 2079|      0|            }
 2080|  2.26k|        }
 2081|  2.05k|    }
 2082|  2.23k|    else if (
 2083|  2.23k|        level > 0
  ------------------
  |  Branch (2083:9): [True: 108, False: 2.12k]
  ------------------
 2084|    108|        && lazy_token == NULL
  ------------------
  |  Branch (2084:12): [True: 108, False: 0]
  ------------------
 2085|    108|        && PyUnicode_CompareWithASCIIString(module, "lazy") == 0
  ------------------
  |  Branch (2085:12): [True: 0, False: 108]
  ------------------
 2086|  2.23k|    ) {
 2087|      0|        if (_warn_relative_import_of_lazy(p, dots, module_name) < 0) {
  ------------------
  |  Branch (2087:13): [True: 0, False: 0]
  ------------------
 2088|      0|            return NULL;
 2089|      0|        }
 2090|      0|    }
 2091|  4.29k|    return _PyAST_ImportFrom(module, names, level, lazy_token ? 1 : 0, lineno,
  ------------------
  |  Branch (2091:52): [True: 13, False: 4.27k]
  ------------------
 2092|  4.29k|                             col_offset, end_lineno, end_col_offset, arena);
 2093|  4.29k|}
_PyPegen_register_stmts:
 2096|  54.6k|_PyPegen_register_stmts(Parser *p, asdl_stmt_seq* stmts) {
 2097|  54.6k|    if (!p->call_invalid_rules) {
  ------------------
  |  Branch (2097:9): [True: 45.5k, False: 9.07k]
  ------------------
 2098|  45.5k|        return stmts;
 2099|  45.5k|    }
 2100|  9.07k|    Py_ssize_t len = asdl_seq_LEN(stmts);
  ------------------
  |  |   83|  9.07k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  18.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 9.07k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2101|  9.07k|    if (len == 0) {
  ------------------
  |  Branch (2101:9): [True: 0, False: 9.07k]
  ------------------
 2102|      0|        return stmts;
 2103|      0|    }
 2104|  9.07k|    stmt_ty last_stmt = asdl_seq_GET(stmts, len - 1);
  ------------------
  |  |   82|  9.07k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  9.07k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2105|  9.07k|    if (p->last_stmt_location.lineno > last_stmt->lineno) {
  ------------------
  |  Branch (2105:9): [True: 914, False: 8.16k]
  ------------------
 2106|    914|        return stmts;
 2107|    914|    }
 2108|  8.16k|    p->last_stmt_location.lineno = last_stmt->lineno;
 2109|  8.16k|    p->last_stmt_location.col_offset = last_stmt->col_offset;
 2110|  8.16k|    p->last_stmt_location.end_lineno = last_stmt->end_lineno;
 2111|  8.16k|    p->last_stmt_location.end_col_offset = last_stmt->end_col_offset;
 2112|  8.16k|    return stmts;
 2113|  9.07k|}
action_helpers.c:_get_flattened_seq_size:
   74|  29.5k|{
   75|  29.5k|    Py_ssize_t size = 0;
   76|   192k|    for (Py_ssize_t i = 0, l = asdl_seq_LEN(seqs); i < l; i++) {
  ------------------
  |  |   83|  29.5k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  59.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 29.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (76:52): [True: 163k, False: 29.5k]
  ------------------
   77|   163k|        asdl_seq *inner_seq = asdl_seq_GET_UNTYPED(seqs, i);
  ------------------
  |  |   81|   163k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|   163k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   78|   163k|        size += asdl_seq_LEN(inner_seq);
  ------------------
  |  |   83|   163k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|   326k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 163k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   79|   163k|    }
   80|  29.5k|    return size;
   81|  29.5k|}
action_helpers.c:_set_name_context:
  269|   577k|{
  270|   577k|    return _PyAST_Name(e->v.Name.id, ctx, EXTRA_EXPR(e, e));
  ------------------
  |  |  280|   577k|#define EXTRA_EXPR(head, tail) head->lineno, (head)->col_offset, (tail)->end_lineno, (tail)->end_col_offset, p->arena
  ------------------
  271|   577k|}
action_helpers.c:_set_tuple_context:
  275|  1.37k|{
  276|  1.37k|    asdl_expr_seq *seq = _set_seq_context(p, e->v.Tuple.elts, ctx);
  277|  1.37k|    if (!seq && PyErr_Occurred()) {
  ------------------
  |  Branch (277:9): [True: 742, False: 636]
  |  Branch (277:17): [True: 0, False: 742]
  ------------------
  278|      0|        return NULL;
  279|      0|    }
  280|  1.37k|    return _PyAST_Tuple(seq, ctx, EXTRA_EXPR(e, e));
  ------------------
  |  |  280|  1.37k|#define EXTRA_EXPR(head, tail) head->lineno, (head)->col_offset, (tail)->end_lineno, (tail)->end_col_offset, p->arena
  ------------------
  281|  1.37k|}
action_helpers.c:_set_seq_context:
  246|  3.39k|{
  247|  3.39k|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|  3.39k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  6.79k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1.64k, False: 1.74k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  248|  3.39k|    if (len == 0) {
  ------------------
  |  Branch (248:9): [True: 1.64k, False: 1.74k]
  ------------------
  249|  1.64k|        return NULL;
  250|  1.64k|    }
  251|       |
  252|  1.74k|    asdl_expr_seq *new_seq = _Py_asdl_expr_seq_new(len, p->arena);
  253|  1.74k|    if (!new_seq) {
  ------------------
  |  Branch (253:9): [True: 0, False: 1.74k]
  ------------------
  254|      0|        return NULL;
  255|      0|    }
  256|  4.44k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (256:28): [True: 2.69k, False: 1.74k]
  ------------------
  257|  2.69k|        expr_ty e = asdl_seq_GET(seq, i);
  ------------------
  |  |   82|  2.69k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  2.69k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  258|  2.69k|        expr_ty new_e = _PyPegen_set_expr_context(p, e, ctx);
  259|  2.69k|        if (!new_e) {
  ------------------
  |  Branch (259:13): [True: 0, False: 2.69k]
  ------------------
  260|      0|            return NULL;
  261|      0|        }
  262|  2.69k|        asdl_seq_SET(new_seq, i, new_e);
  ------------------
  |  |   94|  2.69k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  2.69k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  263|  2.69k|    }
  264|  1.74k|    return new_seq;
  265|  1.74k|}
action_helpers.c:_set_list_context:
  285|  2.01k|{
  286|  2.01k|    asdl_expr_seq *seq = _set_seq_context(p, e->v.List.elts, ctx);
  287|  2.01k|    if (!seq && PyErr_Occurred()) {
  ------------------
  |  Branch (287:9): [True: 907, False: 1.11k]
  |  Branch (287:17): [True: 0, False: 907]
  ------------------
  288|      0|        return NULL;
  289|      0|    }
  290|  2.01k|    return _PyAST_List(seq, ctx, EXTRA_EXPR(e, e));
  ------------------
  |  |  280|  2.01k|#define EXTRA_EXPR(head, tail) head->lineno, (head)->col_offset, (tail)->end_lineno, (tail)->end_col_offset, p->arena
  ------------------
  291|  2.01k|}
action_helpers.c:_set_subscript_context:
  295|    107|{
  296|    107|    return _PyAST_Subscript(e->v.Subscript.value, e->v.Subscript.slice,
  297|    107|                            ctx, EXTRA_EXPR(e, e));
  ------------------
  |  |  280|    107|#define EXTRA_EXPR(head, tail) head->lineno, (head)->col_offset, (tail)->end_lineno, (tail)->end_col_offset, p->arena
  ------------------
  298|    107|}
action_helpers.c:_set_attribute_context:
  302|     73|{
  303|     73|    return _PyAST_Attribute(e->v.Attribute.value, e->v.Attribute.attr,
  304|     73|                            ctx, EXTRA_EXPR(e, e));
  ------------------
  |  |  280|     73|#define EXTRA_EXPR(head, tail) head->lineno, (head)->col_offset, (tail)->end_lineno, (tail)->end_col_offset, p->arena
  ------------------
  305|     73|}
action_helpers.c:_set_starred_context:
  309|    593|{
  310|    593|    expr_ty inner = _PyPegen_set_expr_context(p, e->v.Starred.value, ctx);
  311|    593|    if (!inner) {
  ------------------
  |  Branch (311:9): [True: 0, False: 593]
  ------------------
  312|      0|        return NULL;
  313|      0|    }
  314|    593|    return _PyAST_Starred(inner, ctx, EXTRA_EXPR(e, e));
  ------------------
  |  |  280|    593|#define EXTRA_EXPR(head, tail) head->lineno, (head)->col_offset, (tail)->end_lineno, (tail)->end_col_offset, p->arena
  ------------------
  315|    593|}
action_helpers.c:_make_posonlyargs:
  537|  25.6k|                  asdl_arg_seq **posonlyargs) {
  538|  25.6k|    if (slash_without_default != NULL) {
  ------------------
  |  Branch (538:9): [True: 2.90k, False: 22.7k]
  ------------------
  539|  2.90k|        *posonlyargs = slash_without_default;
  540|  2.90k|    }
  541|  22.7k|    else if (slash_with_default != NULL) {
  ------------------
  |  Branch (541:14): [True: 1.47k, False: 21.3k]
  ------------------
  542|  1.47k|        asdl_arg_seq *slash_with_default_names =
  543|  1.47k|                _get_names(p, slash_with_default->names_with_defaults);
  544|  1.47k|        if (!slash_with_default_names) {
  ------------------
  |  Branch (544:13): [True: 0, False: 1.47k]
  ------------------
  545|      0|            return -1;
  546|      0|        }
  547|  1.47k|        *posonlyargs = (asdl_arg_seq*)_PyPegen_join_sequences(
  548|  1.47k|                p,
  549|  1.47k|                (asdl_seq*)slash_with_default->plain_names,
  550|  1.47k|                (asdl_seq*)slash_with_default_names);
  551|  1.47k|    }
  552|  21.3k|    else {
  553|  21.3k|        *posonlyargs = _Py_asdl_arg_seq_new(0, p->arena);
  554|  21.3k|    }
  555|  25.6k|    return *posonlyargs == NULL ? -1 : 0;
  ------------------
  |  Branch (555:12): [True: 0, False: 25.6k]
  ------------------
  556|  25.6k|}
action_helpers.c:_get_names:
  505|  24.6k|{
  506|  24.6k|    Py_ssize_t len = asdl_seq_LEN(names_with_defaults);
  ------------------
  |  |   83|  24.6k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  49.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 24.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  507|  24.6k|    asdl_arg_seq *seq = _Py_asdl_arg_seq_new(len, p->arena);
  508|  24.6k|    if (!seq) {
  ------------------
  |  Branch (508:9): [True: 0, False: 24.6k]
  ------------------
  509|      0|        return NULL;
  510|      0|    }
  511|  36.9k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (511:28): [True: 12.2k, False: 24.6k]
  ------------------
  512|  12.2k|        NameDefaultPair *pair = asdl_seq_GET_UNTYPED(names_with_defaults, i);
  ------------------
  |  |   81|  12.2k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  12.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  513|  12.2k|        asdl_seq_SET(seq, i, pair->arg);
  ------------------
  |  |   94|  12.2k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  12.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  514|  12.2k|    }
  515|  24.6k|    return seq;
  516|  24.6k|}
action_helpers.c:_make_posargs:
  562|  25.6k|              asdl_arg_seq **posargs) {
  563|       |
  564|  25.6k|    if (names_with_default != NULL) {
  ------------------
  |  Branch (564:9): [True: 15.6k, False: 10.0k]
  ------------------
  565|  15.6k|        if (plain_names != NULL) {
  ------------------
  |  Branch (565:13): [True: 12.7k, False: 2.88k]
  ------------------
  566|  12.7k|            asdl_arg_seq *names_with_default_names = _get_names(p, names_with_default);
  567|  12.7k|            if (!names_with_default_names) {
  ------------------
  |  Branch (567:17): [True: 0, False: 12.7k]
  ------------------
  568|      0|                return -1;
  569|      0|            }
  570|  12.7k|            *posargs = (asdl_arg_seq*)_PyPegen_join_sequences(
  571|  12.7k|                    p,(asdl_seq*)plain_names, (asdl_seq*)names_with_default_names);
  572|  12.7k|        }
  573|  2.88k|        else {
  574|  2.88k|            *posargs = _get_names(p, names_with_default);
  575|  2.88k|        }
  576|  15.6k|    }
  577|  10.0k|    else {
  578|  10.0k|        if (plain_names != NULL) {
  ------------------
  |  Branch (578:13): [True: 0, False: 10.0k]
  ------------------
  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|  10.0k|        else {
  585|  10.0k|            *posargs = _Py_asdl_arg_seq_new(0, p->arena);
  586|  10.0k|        }
  587|  10.0k|    }
  588|  25.6k|    return *posargs == NULL ? -1 : 0;
  ------------------
  |  Branch (588:12): [True: 0, False: 25.6k]
  ------------------
  589|  25.6k|}
action_helpers.c:_make_posdefaults:
  595|  25.6k|                  asdl_expr_seq **posdefaults) {
  596|  25.6k|    if (slash_with_default != NULL && names_with_default != NULL) {
  ------------------
  |  Branch (596:9): [True: 1.47k, False: 24.2k]
  |  Branch (596:39): [True: 1.47k, False: 0]
  ------------------
  597|  1.47k|        asdl_expr_seq *slash_with_default_values =
  598|  1.47k|                _get_defaults(p, slash_with_default->names_with_defaults);
  599|  1.47k|        if (!slash_with_default_values) {
  ------------------
  |  Branch (599:13): [True: 0, False: 1.47k]
  ------------------
  600|      0|            return -1;
  601|      0|        }
  602|  1.47k|        asdl_expr_seq *names_with_default_values = _get_defaults(p, names_with_default);
  603|  1.47k|        if (!names_with_default_values) {
  ------------------
  |  Branch (603:13): [True: 0, False: 1.47k]
  ------------------
  604|      0|            return -1;
  605|      0|        }
  606|  1.47k|        *posdefaults = (asdl_expr_seq*)_PyPegen_join_sequences(
  607|  1.47k|                p,
  608|  1.47k|                (asdl_seq*)slash_with_default_values,
  609|  1.47k|                (asdl_seq*)names_with_default_values);
  610|  1.47k|    }
  611|  24.2k|    else if (slash_with_default == NULL && names_with_default != NULL) {
  ------------------
  |  Branch (611:14): [True: 24.2k, False: 0]
  |  Branch (611:44): [True: 14.1k, False: 10.0k]
  ------------------
  612|  14.1k|        *posdefaults = _get_defaults(p, names_with_default);
  613|  14.1k|    }
  614|  10.0k|    else if (slash_with_default != NULL && names_with_default == NULL) {
  ------------------
  |  Branch (614:14): [True: 0, False: 10.0k]
  |  Branch (614:44): [True: 0, False: 0]
  ------------------
  615|      0|        *posdefaults = _get_defaults(p, slash_with_default->names_with_defaults);
  616|      0|    }
  617|  10.0k|    else {
  618|  10.0k|        *posdefaults = _Py_asdl_expr_seq_new(0, p->arena);
  619|  10.0k|    }
  620|  25.6k|    return *posdefaults == NULL ? -1 : 0;
  ------------------
  |  Branch (620:12): [True: 0, False: 25.6k]
  ------------------
  621|  25.6k|}
action_helpers.c:_get_defaults:
  520|  24.6k|{
  521|  24.6k|    Py_ssize_t len = asdl_seq_LEN(names_with_defaults);
  ------------------
  |  |   83|  24.6k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  49.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 24.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  522|  24.6k|    asdl_expr_seq *seq = _Py_asdl_expr_seq_new(len, p->arena);
  523|  24.6k|    if (!seq) {
  ------------------
  |  Branch (523:9): [True: 0, False: 24.6k]
  ------------------
  524|      0|        return NULL;
  525|      0|    }
  526|  36.9k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (526:28): [True: 12.2k, False: 24.6k]
  ------------------
  527|  12.2k|        NameDefaultPair *pair = asdl_seq_GET_UNTYPED(names_with_defaults, i);
  ------------------
  |  |   81|  12.2k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  12.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  528|  12.2k|        asdl_seq_SET(seq, i, pair->value);
  ------------------
  |  |   94|  12.2k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  12.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  529|  12.2k|    }
  530|  24.6k|    return seq;
  531|  24.6k|}
action_helpers.c:_make_kwargs:
  626|  25.6k|             asdl_expr_seq **kwdefaults) {
  627|  25.6k|    if (star_etc != NULL && star_etc->kwonlyargs != NULL) {
  ------------------
  |  Branch (627:9): [True: 11.2k, False: 14.4k]
  |  Branch (627:29): [True: 7.51k, False: 3.71k]
  ------------------
  628|  7.51k|        *kwonlyargs = _get_names(p, star_etc->kwonlyargs);
  629|  7.51k|    }
  630|  18.1k|    else {
  631|  18.1k|        *kwonlyargs = _Py_asdl_arg_seq_new(0, p->arena);
  632|  18.1k|    }
  633|       |
  634|  25.6k|    if (*kwonlyargs == NULL) {
  ------------------
  |  Branch (634:9): [True: 0, False: 25.6k]
  ------------------
  635|      0|        return -1;
  636|      0|    }
  637|       |
  638|  25.6k|    if (star_etc != NULL && star_etc->kwonlyargs != NULL) {
  ------------------
  |  Branch (638:9): [True: 11.2k, False: 14.4k]
  |  Branch (638:29): [True: 7.51k, False: 3.71k]
  ------------------
  639|  7.51k|        *kwdefaults = _get_defaults(p, star_etc->kwonlyargs);
  640|  7.51k|    }
  641|  18.1k|    else {
  642|  18.1k|        *kwdefaults = _Py_asdl_expr_seq_new(0, p->arena);
  643|  18.1k|    }
  644|       |
  645|  25.6k|    if (*kwdefaults == NULL) {
  ------------------
  |  Branch (645:9): [True: 0, False: 25.6k]
  ------------------
  646|      0|        return -1;
  647|      0|    }
  648|       |
  649|  25.6k|    return 0;
  650|  25.6k|}
action_helpers.c:_seq_number_of_starred_exprs:
  794|  29.2k|{
  795|  29.2k|    int n = 0;
  796|  84.3k|    for (Py_ssize_t i = 0, l = asdl_seq_LEN(seq); i < l; i++) {
  ------------------
  |  |   83|  29.2k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  58.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 29.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (796:51): [True: 55.0k, False: 29.2k]
  ------------------
  797|  55.0k|        KeywordOrStarred *k = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|  55.0k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  55.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  798|  55.0k|        if (!k->is_keyword) {
  ------------------
  |  Branch (798:13): [True: 7.60k, False: 47.4k]
  ------------------
  799|  7.60k|            n++;
  800|  7.60k|        }
  801|  55.0k|    }
  802|  29.2k|    return n;
  803|  29.2k|}
action_helpers.c:result_token_with_metadata:
  994|  23.2k|{
  995|  23.2k|    ResultTokenWithMetadata *res = _PyArena_Malloc(p->arena, sizeof(ResultTokenWithMetadata));
  996|  23.2k|    if (res == NULL) {
  ------------------
  |  Branch (996:9): [True: 0, False: 23.2k]
  ------------------
  997|      0|        return NULL;
  998|      0|    }
  999|  23.2k|    res->metadata = metadata;
 1000|  23.2k|    res->result = result;
 1001|  23.2k|    return res;
 1002|  23.2k|}
action_helpers.c:_get_resized_exprs:
 1348|  23.7k|{
 1349|  23.7k|    Py_ssize_t n_items = asdl_seq_LEN(raw_expressions);
  ------------------
  |  |   83|  23.7k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  47.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 23.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1350|  23.7k|    Py_ssize_t total_items = n_items;
 1351|  94.7k|    for (Py_ssize_t i = 0; i < n_items; i++) {
  ------------------
  |  Branch (1351:28): [True: 71.0k, False: 23.7k]
  ------------------
 1352|  71.0k|        expr_ty item = asdl_seq_GET(raw_expressions, i);
  ------------------
  |  |   82|  71.0k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  71.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1353|  71.0k|        if (item->kind == JoinedStr_kind) {
  ------------------
  |  Branch (1353:13): [True: 920, False: 70.1k]
  ------------------
 1354|    920|            total_items += asdl_seq_LEN(item->v.JoinedStr.values) - 1;
  ------------------
  |  |   83|    920|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.84k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 920]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1355|    920|        }
 1356|  71.0k|    }
 1357|       |
 1358|  23.7k|    const char* quote_str = PyBytes_AsString(a->bytes);
 1359|  23.7k|    if (quote_str == NULL) {
  ------------------
  |  Branch (1359:9): [True: 0, False: 23.7k]
  ------------------
 1360|      0|        return NULL;
 1361|      0|    }
 1362|  23.7k|    int is_raw = strpbrk(quote_str, "rR") != NULL;
 1363|       |
 1364|  23.7k|    asdl_expr_seq *seq = _Py_asdl_expr_seq_new(total_items, p->arena);
 1365|  23.7k|    if (seq == NULL) {
  ------------------
  |  Branch (1365:9): [True: 0, False: 23.7k]
  ------------------
 1366|      0|        return NULL;
 1367|      0|    }
 1368|       |
 1369|  23.7k|    Py_ssize_t index = 0;
 1370|  94.7k|    for (Py_ssize_t i = 0; i < n_items; i++) {
  ------------------
  |  Branch (1370:28): [True: 71.0k, False: 23.7k]
  ------------------
 1371|  71.0k|        expr_ty item = asdl_seq_GET(raw_expressions, i);
  ------------------
  |  |   82|  71.0k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  71.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1372|       |
 1373|       |        // This should correspond to a JoinedStr node of two elements
 1374|       |        // created _PyPegen_formatted_value. This situation can only be the result of
 1375|       |        // a (f|t)-string debug expression where the first element is a constant with the text and the second
 1376|       |        // a formatted value with the expression.
 1377|  71.0k|        if (item->kind == JoinedStr_kind) {
  ------------------
  |  Branch (1377:13): [True: 920, False: 70.1k]
  ------------------
 1378|    920|            asdl_expr_seq *values = item->v.JoinedStr.values;
 1379|    920|            if (asdl_seq_LEN(values) != 2) {
  ------------------
  |  |   83|    920|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.84k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 920]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1379:17): [True: 0, False: 920]
  ------------------
 1380|      0|                PyErr_Format(PyExc_SystemError,
 1381|      0|                             string_kind == TSTRING
  ------------------
  |  Branch (1381:30): [True: 0, False: 0]
  ------------------
 1382|      0|                             ? "unexpected TemplateStr node without debug data in t-string at line %d"
 1383|      0|                             : "unexpected JoinedStr node without debug data in f-string at line %d",
 1384|      0|                             item->lineno);
 1385|      0|                return NULL;
 1386|      0|            }
 1387|       |
 1388|    920|            expr_ty first = asdl_seq_GET(values, 0);
  ------------------
  |  |   82|    920|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    920|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1389|    920|            assert(first->kind == Constant_kind);
  ------------------
  |  Branch (1389:13): [True: 920, False: 0]
  ------------------
 1390|    920|            asdl_seq_SET(seq, index++, first);
  ------------------
  |  |   94|    920|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    920|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1391|       |
 1392|    920|            expr_ty second = asdl_seq_GET(values, 1);
  ------------------
  |  |   82|    920|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    920|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1393|    920|            assert((string_kind == TSTRING && second->kind == Interpolation_kind) || second->kind == FormattedValue_kind);
  ------------------
  |  Branch (1393:13): [True: 569, False: 351]
  |  Branch (1393:13): [True: 569, False: 0]
  |  Branch (1393:13): [True: 351, False: 0]
  ------------------
 1394|    920|            asdl_seq_SET(seq, index++, second);
  ------------------
  |  |   94|    920|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    920|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1395|       |
 1396|    920|            continue;
 1397|    920|        }
 1398|       |
 1399|  70.1k|        if (item->kind == Constant_kind) {
  ------------------
  |  Branch (1399:13): [True: 56.2k, False: 13.8k]
  ------------------
 1400|  56.2k|            item = _PyPegen_decode_fstring_part(p, is_raw, item, b);
 1401|  56.2k|            if (item == NULL) {
  ------------------
  |  Branch (1401:17): [True: 8, False: 56.2k]
  ------------------
 1402|      8|                return NULL;
 1403|      8|            }
 1404|       |
 1405|       |            /* Tokenizer emits string parts even when the underlying string
 1406|       |            might become an empty value (e.g. FSTRING_MIDDLE with the value \\n)
 1407|       |            so we need to check for them and simplify it here. */
 1408|  56.2k|            if (PyUnicode_CheckExact(item->v.Constant.value)
  ------------------
  |  |  104|  56.2k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   112k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  56.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  56.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 56.2k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1409|  56.2k|                && PyUnicode_GET_LENGTH(item->v.Constant.value) == 0) {
  ------------------
  |  |  299|  56.2k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  56.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1409:20): [True: 1.64k, False: 54.6k]
  ------------------
 1410|  1.64k|                continue;
 1411|  1.64k|            }
 1412|  56.2k|        }
 1413|  68.4k|        asdl_seq_SET(seq, index++, item);
  ------------------
  |  |   94|  68.4k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  68.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1414|  68.4k|    }
 1415|       |
 1416|  23.7k|    asdl_expr_seq *resized_exprs;
 1417|  23.7k|    if (index != total_items) {
  ------------------
  |  Branch (1417:9): [True: 1.50k, False: 22.2k]
  ------------------
 1418|  1.50k|        resized_exprs = _Py_asdl_expr_seq_new(index, p->arena);
 1419|  1.50k|        if (resized_exprs == NULL) {
  ------------------
  |  Branch (1419:13): [True: 0, False: 1.50k]
  ------------------
 1420|      0|            return NULL;
 1421|      0|        }
 1422|  2.54k|        for (Py_ssize_t i = 0; i < index; i++) {
  ------------------
  |  Branch (1422:32): [True: 1.04k, False: 1.50k]
  ------------------
 1423|  1.04k|            asdl_seq_SET(resized_exprs, i, asdl_seq_GET(seq, i));
  ------------------
  |  |   94|  1.04k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  1.04k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1424|  1.04k|        }
 1425|  1.50k|    }
 1426|  22.2k|    else {
 1427|  22.2k|        resized_exprs = seq;
 1428|  22.2k|    }
 1429|  23.7k|    return resized_exprs;
 1430|  23.7k|}
action_helpers.c:_PyPegen_decode_fstring_part:
 1316|  56.2k|_PyPegen_decode_fstring_part(Parser* p, int is_raw, expr_ty constant, Token* token) {
 1317|  56.2k|    assert(PyUnicode_CheckExact(constant->v.Constant.value));
  ------------------
  |  Branch (1317:5): [True: 56.2k, False: 0]
  ------------------
 1318|       |
 1319|  56.2k|    const char* bstr = PyUnicode_AsUTF8(constant->v.Constant.value);
 1320|  56.2k|    if (bstr == NULL) {
  ------------------
  |  Branch (1320:9): [True: 0, False: 56.2k]
  ------------------
 1321|      0|        return NULL;
 1322|      0|    }
 1323|       |
 1324|  56.2k|    size_t len;
 1325|  56.2k|    if (strcmp(bstr, "{{") == 0 || strcmp(bstr, "}}") == 0) {
  ------------------
  |  Branch (1325:9): [True: 0, False: 56.2k]
  |  Branch (1325:36): [True: 0, False: 56.2k]
  ------------------
 1326|      0|        len = 1;
 1327|  56.2k|    } else {
 1328|  56.2k|        len = strlen(bstr);
 1329|  56.2k|    }
 1330|       |
 1331|  56.2k|    is_raw = is_raw || strchr(bstr, '\\') == NULL;
  ------------------
  |  Branch (1331:14): [True: 10.8k, False: 45.4k]
  |  Branch (1331:24): [True: 36.6k, False: 8.84k]
  ------------------
 1332|  56.2k|    PyObject *str = _PyPegen_decode_string(p, is_raw, bstr, len, token);
 1333|  56.2k|    if (str == NULL) {
  ------------------
  |  Branch (1333:9): [True: 8, False: 56.2k]
  ------------------
 1334|      8|        _Pypegen_raise_decode_error(p);
 1335|      8|        return NULL;
 1336|      8|    }
 1337|  56.2k|    if (_PyArena_AddPyObject(p->arena, str) < 0) {
  ------------------
  |  Branch (1337:9): [True: 0, False: 56.2k]
  ------------------
 1338|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1339|      0|        return NULL;
 1340|      0|    }
 1341|  56.2k|    return _PyAST_Constant(str, NULL, constant->lineno, constant->col_offset,
 1342|  56.2k|                           constant->end_lineno, constant->end_col_offset,
 1343|  56.2k|                           p->arena);
 1344|  56.2k|}
action_helpers.c:_get_interpolation_conversion:
 1528|  26.7k|{
 1529|  26.7k|    if (conversion != NULL) {
  ------------------
  |  Branch (1529:9): [True: 5.84k, False: 20.9k]
  ------------------
 1530|  5.84k|        expr_ty conversion_expr = (expr_ty) conversion->result;
 1531|  5.84k|        assert(conversion_expr->kind == Name_kind);
  ------------------
  |  Branch (1531:9): [True: 5.84k, False: 0]
  ------------------
 1532|  5.84k|        Py_UCS4 first = PyUnicode_READ_CHAR(conversion_expr->v.Name.id, 0);
  ------------------
  |  |  381|  5.84k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  5.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1533|  5.84k|        return Py_SAFE_DOWNCAST(first, Py_UCS4, int);
  ------------------
  |  |  247|  5.84k|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|  5.84k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1534|  5.84k|    }
 1535|  20.9k|    else if (debug && !format) {
  ------------------
  |  Branch (1535:14): [True: 2.57k, False: 18.3k]
  |  Branch (1535:23): [True: 1.03k, False: 1.54k]
  ------------------
 1536|       |        /* If no conversion is specified, use !r for debug expressions */
 1537|  1.03k|        return (int)'r';
 1538|  1.03k|    }
 1539|  19.8k|    return -1;
 1540|  26.7k|}
action_helpers.c:_strip_interpolation_expr:
 1544|  7.33k|{
 1545|  7.33k|    Py_ssize_t len = PyUnicode_GET_LENGTH(exprstr);
  ------------------
  |  |  299|  7.33k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1546|       |
 1547|  10.1k|    for (Py_ssize_t i = len - 1; i >= 0; i--) {
  ------------------
  |  Branch (1547:34): [True: 10.1k, False: 0]
  ------------------
 1548|  10.1k|        Py_UCS4 c = PyUnicode_READ_CHAR(exprstr, i);
  ------------------
  |  |  381|  10.1k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  10.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1549|  10.1k|        if (_PyUnicode_IsWhitespace(c) || c == '=') {
  ------------------
  |  Branch (1549:13): [True: 1.70k, False: 8.48k]
  |  Branch (1549:43): [True: 1.14k, False: 7.33k]
  ------------------
 1550|  2.85k|            len--;
 1551|  2.85k|        }
 1552|  7.33k|        else {
 1553|  7.33k|            break;
 1554|  7.33k|        }
 1555|  10.1k|    }
 1556|       |
 1557|  7.33k|    return PyUnicode_Substring(exprstr, 0, len);
 1558|  7.33k|}
action_helpers.c:_build_concatenated_str:
 1771|  22.8k|{
 1772|  22.8k|    Py_ssize_t len = asdl_seq_LEN(strings);
  ------------------
  |  |   83|  22.8k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  45.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 22.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1773|  22.8k|    assert(len > 0);
  ------------------
  |  Branch (1773:5): [True: 22.8k, False: 0]
  ------------------
 1774|       |
 1775|  22.8k|    Py_ssize_t n_flattened_elements = 0;
 1776|  72.5k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1776:28): [True: 49.7k, False: 22.8k]
  ------------------
 1777|  49.7k|        expr_ty elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|  49.7k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  49.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1778|  49.7k|        switch(elem->kind) {
 1779|  16.0k|            case JoinedStr_kind:
  ------------------
  |  Branch (1779:13): [True: 16.0k, False: 33.6k]
  ------------------
 1780|  16.0k|                n_flattened_elements += asdl_seq_LEN(elem->v.JoinedStr.values);
  ------------------
  |  |   83|  16.0k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  32.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 16.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1781|  16.0k|                break;
 1782|  3.67k|            case TemplateStr_kind:
  ------------------
  |  Branch (1782:13): [True: 3.67k, False: 46.0k]
  ------------------
 1783|  3.67k|                n_flattened_elements += asdl_seq_LEN(elem->v.TemplateStr.values);
  ------------------
  |  |   83|  3.67k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  7.34k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 3.67k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1784|  3.67k|                break;
 1785|  29.9k|            default:
  ------------------
  |  Branch (1785:13): [True: 29.9k, False: 19.7k]
  ------------------
 1786|  29.9k|                n_flattened_elements++;
 1787|  29.9k|                break;
 1788|  49.7k|        }
 1789|  49.7k|    }
 1790|       |
 1791|       |
 1792|  22.8k|    asdl_expr_seq* flattened = _Py_asdl_expr_seq_new(n_flattened_elements, p->arena);
 1793|  22.8k|    if (flattened == NULL) {
  ------------------
  |  Branch (1793:9): [True: 0, False: 22.8k]
  ------------------
 1794|      0|        return NULL;
 1795|      0|    }
 1796|       |
 1797|       |    /* build flattened list */
 1798|  22.8k|    Py_ssize_t current_pos = 0;
 1799|  72.5k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1799:28): [True: 49.7k, False: 22.8k]
  ------------------
 1800|  49.7k|        expr_ty elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|  49.7k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  49.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1801|  49.7k|        switch(elem->kind) {
 1802|  16.0k|            case JoinedStr_kind:
  ------------------
  |  Branch (1802:13): [True: 16.0k, False: 33.6k]
  ------------------
 1803|  62.2k|                for (Py_ssize_t j = 0; j < asdl_seq_LEN(elem->v.JoinedStr.values); j++) {
  ------------------
  |  |   83|  62.2k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|   124k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 62.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1803:40): [True: 46.2k, False: 16.0k]
  ------------------
 1804|  46.2k|                    expr_ty subvalue = asdl_seq_GET(elem->v.JoinedStr.values, j);
  ------------------
  |  |   82|  46.2k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  46.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1805|  46.2k|                    if (subvalue == NULL) {
  ------------------
  |  Branch (1805:25): [True: 0, False: 46.2k]
  ------------------
 1806|      0|                        return NULL;
 1807|      0|                    }
 1808|  46.2k|                    asdl_seq_SET(flattened, current_pos++, subvalue);
  ------------------
  |  |   94|  46.2k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  46.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1809|  46.2k|                }
 1810|  16.0k|                break;
 1811|  16.0k|            case TemplateStr_kind:
  ------------------
  |  Branch (1811:13): [True: 3.67k, False: 46.0k]
  ------------------
 1812|  20.3k|                for (Py_ssize_t j = 0; j < asdl_seq_LEN(elem->v.TemplateStr.values); j++) {
  ------------------
  |  |   83|  20.3k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  40.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 20.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1812:40): [True: 16.6k, False: 3.67k]
  ------------------
 1813|  16.6k|                    expr_ty subvalue = asdl_seq_GET(elem->v.TemplateStr.values, j);
  ------------------
  |  |   82|  16.6k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  16.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1814|  16.6k|                    if (subvalue == NULL) {
  ------------------
  |  Branch (1814:25): [True: 0, False: 16.6k]
  ------------------
 1815|      0|                        return NULL;
 1816|      0|                    }
 1817|  16.6k|                    asdl_seq_SET(flattened, current_pos++, subvalue);
  ------------------
  |  |   94|  16.6k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  16.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1818|  16.6k|                }
 1819|  3.67k|                break;
 1820|  29.9k|            default:
  ------------------
  |  Branch (1820:13): [True: 29.9k, False: 19.7k]
  ------------------
 1821|  29.9k|                asdl_seq_SET(flattened, current_pos++, elem);
  ------------------
  |  |   94|  29.9k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  29.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1822|  29.9k|                break;
 1823|  49.7k|        }
 1824|  49.7k|    }
 1825|       |
 1826|       |    /* calculate folded element count */
 1827|  22.8k|    Py_ssize_t n_elements = 0;
 1828|  22.8k|    int prev_is_constant = 0;
 1829|   115k|    for (Py_ssize_t i = 0; i < n_flattened_elements; i++) {
  ------------------
  |  Branch (1829:28): [True: 92.8k, False: 22.8k]
  ------------------
 1830|  92.8k|        expr_ty elem = asdl_seq_GET(flattened, i);
  ------------------
  |  |   82|  92.8k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  92.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1831|       |
 1832|       |        /* The concatenation of a FormattedValue and an empty Constant should
 1833|       |           lead to the FormattedValue itself. Thus, we will not take any empty
 1834|       |           constants into account, just as in `_PyPegen_joined_str` */
 1835|  92.8k|        if (elem->kind == Constant_kind &&
  ------------------
  |  Branch (1835:13): [True: 70.3k, False: 22.4k]
  ------------------
 1836|  92.8k|            PyUnicode_CheckExact(elem->v.Constant.value) &&
  ------------------
  |  |  104|  70.3k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   163k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  70.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  70.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 70.3k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1837|  70.3k|            PyUnicode_GET_LENGTH(elem->v.Constant.value) == 0)
  ------------------
  |  |  299|  70.3k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  70.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  70.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1837:13): [True: 4.63k, False: 65.7k]
  ------------------
 1838|  4.63k|            continue;
 1839|       |
 1840|  88.1k|        if (!prev_is_constant || elem->kind != Constant_kind) {
  ------------------
  |  Branch (1840:13): [True: 36.6k, False: 51.5k]
  |  Branch (1840:34): [True: 18.0k, False: 33.5k]
  ------------------
 1841|  54.6k|            n_elements++;
 1842|  54.6k|        }
 1843|  88.1k|        prev_is_constant = elem->kind == Constant_kind;
 1844|  88.1k|    }
 1845|       |
 1846|  22.8k|    asdl_expr_seq* values = _Py_asdl_expr_seq_new(n_elements, p->arena);
 1847|  22.8k|    if (values == NULL) {
  ------------------
  |  Branch (1847:9): [True: 0, False: 22.8k]
  ------------------
 1848|      0|        return NULL;
 1849|      0|    }
 1850|       |
 1851|       |    /* build folded list */
 1852|  22.8k|    current_pos = 0;
 1853|  77.5k|    for (Py_ssize_t i = 0; i < n_flattened_elements; i++) {
  ------------------
  |  Branch (1853:28): [True: 54.7k, False: 22.8k]
  ------------------
 1854|  54.7k|        expr_ty elem = asdl_seq_GET(flattened, i);
  ------------------
  |  |   82|  54.7k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  54.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1855|       |
 1856|       |        /* if the current elem and the following are constants,
 1857|       |           fold them and all consequent constants */
 1858|  54.7k|        if (elem->kind == Constant_kind) {
  ------------------
  |  Branch (1858:13): [True: 32.3k, False: 22.4k]
  ------------------
 1859|  32.3k|            if (i + 1 < n_flattened_elements &&
  ------------------
  |  Branch (1859:17): [True: 23.1k, False: 9.19k]
  ------------------
 1860|  23.1k|                asdl_seq_GET(flattened, i + 1)->kind == Constant_kind) {
  ------------------
  |  |   82|  23.1k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  23.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (1860:17): [True: 11.2k, False: 11.9k]
  ------------------
 1861|  11.2k|                expr_ty first_elem = elem;
 1862|       |
 1863|       |                /* When a string is getting concatenated, the kind of the string
 1864|       |                   is determined by the first string in the concatenation
 1865|       |                   sequence.
 1866|       |
 1867|       |                   u"abc" "def" -> u"abcdef"
 1868|       |                   "abc" u"abc" ->  "abcabc" */
 1869|  11.2k|                PyObject *kind = elem->v.Constant.kind;
 1870|       |
 1871|  11.2k|                PyUnicodeWriter *writer = PyUnicodeWriter_Create(0);
 1872|  11.2k|                if (writer == NULL) {
  ------------------
  |  Branch (1872:21): [True: 0, False: 11.2k]
  ------------------
 1873|      0|                    return NULL;
 1874|      0|                }
 1875|  11.2k|                expr_ty last_elem = elem;
 1876|  11.2k|                Py_ssize_t j;
 1877|  60.4k|                for (j = i; j < n_flattened_elements; j++) {
  ------------------
  |  Branch (1877:29): [True: 55.3k, False: 5.09k]
  ------------------
 1878|  55.3k|                    expr_ty current_elem = asdl_seq_GET(flattened, j);
  ------------------
  |  |   82|  55.3k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  55.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1879|  55.3k|                    if (current_elem->kind == Constant_kind) {
  ------------------
  |  Branch (1879:25): [True: 49.2k, False: 6.11k]
  ------------------
 1880|  49.2k|                        if (PyUnicodeWriter_WriteStr(writer,
  ------------------
  |  Branch (1880:29): [True: 0, False: 49.2k]
  ------------------
 1881|  49.2k|                                                     current_elem->v.Constant.value)) {
 1882|      0|                            PyUnicodeWriter_Discard(writer);
 1883|      0|                            return NULL;
 1884|      0|                        }
 1885|  49.2k|                        last_elem = current_elem;
 1886|  49.2k|                    } else {
 1887|  6.11k|                        break;
 1888|  6.11k|                    }
 1889|  55.3k|                }
 1890|  11.2k|                i = j - 1;
 1891|       |
 1892|  11.2k|                PyObject *concat_str = PyUnicodeWriter_Finish(writer);
 1893|  11.2k|                if (concat_str == NULL) {
  ------------------
  |  Branch (1893:21): [True: 0, False: 11.2k]
  ------------------
 1894|      0|                    return NULL;
 1895|      0|                }
 1896|  11.2k|                if (_PyArena_AddPyObject(p->arena, concat_str) < 0) {
  ------------------
  |  Branch (1896:21): [True: 0, False: 11.2k]
  ------------------
 1897|      0|                    Py_DECREF(concat_str);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1898|      0|                    return NULL;
 1899|      0|                }
 1900|  11.2k|                elem = _PyAST_Constant(concat_str, kind, first_elem->lineno,
 1901|  11.2k|                                       first_elem->col_offset,
 1902|  11.2k|                                       last_elem->end_lineno,
 1903|  11.2k|                                       last_elem->end_col_offset, p->arena);
 1904|  11.2k|                if (elem == NULL) {
  ------------------
  |  Branch (1904:21): [True: 0, False: 11.2k]
  ------------------
 1905|      0|                    return NULL;
 1906|      0|                }
 1907|  11.2k|            }
 1908|       |
 1909|       |            /* Drop all empty contanst strings */
 1910|  32.3k|            if (PyUnicode_CheckExact(elem->v.Constant.value) &&
  ------------------
  |  |  104|  32.3k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  64.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  32.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  32.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 32.3k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1911|  32.3k|                PyUnicode_GET_LENGTH(elem->v.Constant.value) == 0) {
  ------------------
  |  |  299|  32.3k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_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 (1911:17): [True: 122, False: 32.2k]
  ------------------
 1912|    122|                continue;
 1913|    122|            }
 1914|  32.3k|        }
 1915|       |
 1916|  54.6k|        asdl_seq_SET(values, current_pos++, elem);
  ------------------
  |  |   94|  54.6k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  54.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1917|  54.6k|    }
 1918|       |
 1919|  22.8k|    assert(current_pos == n_elements);
  ------------------
  |  Branch (1919:5): [True: 22.8k, False: 0]
  ------------------
 1920|  22.8k|    return values;
 1921|  22.8k|}
action_helpers.c:_build_concatenated_bytes:
 1672|    856|{
 1673|    856|    Py_ssize_t len = asdl_seq_LEN(strings);
  ------------------
  |  |   83|    856|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.71k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 856]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1674|    856|    assert(len > 0);
  ------------------
  |  Branch (1674:5): [True: 856, False: 0]
  ------------------
 1675|       |
 1676|       |    /* Bytes literals never get a kind, but just for consistency
 1677|       |        since they are represented as Constant nodes, we'll mirror
 1678|       |        the same behavior as unicode strings for determining the
 1679|       |        kind. */
 1680|    856|    PyObject *kind = asdl_seq_GET(strings, 0)->v.Constant.kind;
  ------------------
  |  |   82|    856|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    856|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1681|       |
 1682|    856|    Py_ssize_t total = 0;
 1683|  5.21k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1683:28): [True: 4.35k, False: 856]
  ------------------
 1684|  4.35k|        expr_ty elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|  4.35k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  4.35k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1685|  4.35k|        PyObject *bytes = elem->v.Constant.value;
 1686|  4.35k|        Py_ssize_t part = PyBytes_GET_SIZE(bytes);
  ------------------
  |  |   33|  4.35k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  4.35k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1687|  4.35k|        if (part > PY_SSIZE_T_MAX - total) {
  ------------------
  |  |  137|  4.35k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1687:13): [True: 0, False: 4.35k]
  ------------------
 1688|      0|            PyErr_NoMemory();
 1689|      0|            return NULL;
 1690|      0|        }
 1691|  4.35k|        total += part;
 1692|  4.35k|    }
 1693|       |
 1694|    856|    PyBytesWriter *writer = PyBytesWriter_Create(total);
 1695|    856|    if (writer == NULL) {
  ------------------
  |  Branch (1695:9): [True: 0, False: 856]
  ------------------
 1696|      0|        return NULL;
 1697|      0|    }
 1698|    856|    char *out = PyBytesWriter_GetData(writer);
 1699|       |
 1700|  5.21k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1700:28): [True: 4.35k, False: 856]
  ------------------
 1701|  4.35k|        expr_ty elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|  4.35k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  4.35k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1702|  4.35k|        PyObject *bytes = elem->v.Constant.value;
 1703|  4.35k|        Py_ssize_t part = PyBytes_GET_SIZE(bytes);
  ------------------
  |  |   33|  4.35k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  4.35k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1704|  4.35k|        if (part > 0) {
  ------------------
  |  Branch (1704:13): [True: 2.86k, False: 1.49k]
  ------------------
 1705|  2.86k|            memcpy(out, PyBytes_AS_STRING(bytes), part);
  ------------------
  |  |   27|  2.86k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1706|  2.86k|            out += part;
 1707|  2.86k|        }
 1708|  4.35k|    }
 1709|       |
 1710|    856|    PyObject *res = PyBytesWriter_Finish(writer);
 1711|    856|    if (res == NULL) {
  ------------------
  |  Branch (1711:9): [True: 0, False: 856]
  ------------------
 1712|      0|        return NULL;
 1713|      0|    }
 1714|    856|    if (_PyArena_AddPyObject(arena, res) < 0) {
  ------------------
  |  Branch (1714:9): [True: 0, False: 856]
  ------------------
 1715|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1716|      0|        return NULL;
 1717|      0|    }
 1718|    856|    return _PyAST_Constant(res, kind, lineno, col_offset, end_lineno, end_col_offset, p->arena);
 1719|    856|}
action_helpers.c:_build_concatenated_unicode:
 1725|  1.69k|{
 1726|  1.69k|    Py_ssize_t len = asdl_seq_LEN(strings);
  ------------------
  |  |   83|  1.69k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.39k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.69k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1727|  1.69k|    assert(len > 1);
  ------------------
  |  Branch (1727:5): [True: 1.69k, False: 0]
  ------------------
 1728|       |
 1729|  1.69k|    expr_ty first = asdl_seq_GET(strings, 0);
  ------------------
  |  |   82|  1.69k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.69k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1730|       |
 1731|       |    /* When a string is getting concatenated, the kind of the string
 1732|       |        is determined by the first string in the concatenation
 1733|       |        sequence.
 1734|       |
 1735|       |        u"abc" "def" -> u"abcdef"
 1736|       |        "abc" u"abc" ->  "abcabc" */
 1737|  1.69k|    PyObject *kind = first->v.Constant.kind;
 1738|       |
 1739|  1.69k|    PyUnicodeWriter *writer = PyUnicodeWriter_Create(0);
 1740|  1.69k|    if (writer == NULL) {
  ------------------
  |  Branch (1740:9): [True: 0, False: 1.69k]
  ------------------
 1741|      0|        return NULL;
 1742|      0|    }
 1743|       |
 1744|  6.83k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1744:28): [True: 5.13k, False: 1.69k]
  ------------------
 1745|  5.13k|        expr_ty current_elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|  5.13k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  5.13k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1746|  5.13k|        assert(current_elem->kind == Constant_kind);
  ------------------
  |  Branch (1746:9): [True: 5.13k, False: 0]
  ------------------
 1747|       |
 1748|  5.13k|        if (PyUnicodeWriter_WriteStr(writer,
  ------------------
  |  Branch (1748:13): [True: 0, False: 5.13k]
  ------------------
 1749|  5.13k|                                     current_elem->v.Constant.value)) {
 1750|      0|            PyUnicodeWriter_Discard(writer);
 1751|      0|            return NULL;
 1752|      0|        }
 1753|  5.13k|    }
 1754|       |
 1755|  1.69k|    PyObject *final = PyUnicodeWriter_Finish(writer);
 1756|  1.69k|    if (final == NULL) {
  ------------------
  |  Branch (1756:9): [True: 0, False: 1.69k]
  ------------------
 1757|      0|        return NULL;
 1758|      0|    }
 1759|  1.69k|    if (_PyArena_AddPyObject(p->arena, final) < 0) {
  ------------------
  |  Branch (1759:9): [True: 0, False: 1.69k]
  ------------------
 1760|      0|        Py_DECREF(final);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1761|      0|        return NULL;
 1762|      0|    }
 1763|  1.69k|    return _PyAST_Constant(final, kind, lineno, col_offset,
 1764|  1.69k|                           end_lineno, end_col_offset, arena);
 1765|  1.69k|}
action_helpers.c:_build_concatenated_joined_str:
 1927|  19.3k|{
 1928|  19.3k|    asdl_expr_seq *values = _build_concatenated_str(p, strings, lineno,
 1929|  19.3k|        col_offset, end_lineno, end_col_offset, arena);
 1930|  19.3k|    if (!values) {
  ------------------
  |  Branch (1930:9): [True: 0, False: 19.3k]
  ------------------
 1931|      0|        return NULL;
 1932|      0|    }
 1933|  19.3k|    return _PyAST_JoinedStr(values, lineno, col_offset, end_lineno, end_col_offset, p->arena);
 1934|  19.3k|}

_PyLexer_nextc:
   30|  32.5M|{
   31|  32.5M|    int rc;
   32|  32.9M|    for (;;) {
   33|  32.9M|        if (tok->cur != tok->inp) {
  ------------------
  |  Branch (33:13): [True: 32.4M, False: 476k]
  ------------------
   34|  32.4M|            if ((unsigned int) tok->col_offset >= (unsigned int) INT_MAX) {
  ------------------
  |  Branch (34:17): [True: 0, False: 32.4M]
  ------------------
   35|      0|                tok->done = E_COLUMNOVERFLOW;
  ------------------
  |  |   40|      0|#define E_COLUMNOVERFLOW 29      /* Column offset overflow */
  ------------------
   36|      0|                return EOF;
   37|      0|            }
   38|  32.4M|            tok->col_offset++;
   39|  32.4M|            return Py_CHARMASK(*tok->cur++); /* Fast path */
  ------------------
  |  |  138|  32.4M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
   40|  32.4M|        }
   41|   476k|        if (tok->done != E_OK) {
  ------------------
  |  |   22|   476k|#define E_OK             10      /* No error */
  ------------------
  |  Branch (41:13): [True: 35.8k, False: 440k]
  ------------------
   42|  35.8k|            return EOF;
   43|  35.8k|        }
   44|   440k|        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|   440k|        if (!rc) {
  ------------------
  |  Branch (52:13): [True: 19.3k, False: 420k]
  ------------------
   53|  19.3k|            tok->cur = tok->inp;
   54|  19.3k|            return EOF;
   55|  19.3k|        }
   56|   420k|        tok->line_start = tok->cur;
   57|       |
   58|   420k|        if (contains_null_bytes(tok->line_start, tok->inp - tok->line_start)) {
  ------------------
  |  Branch (58:13): [True: 0, False: 420k]
  ------------------
   59|      0|            _PyTokenizer_syntaxerror(tok, "source code cannot contain null bytes");
   60|      0|            tok->cur = tok->inp;
   61|      0|            return EOF;
   62|      0|        }
   63|   420k|    }
   64|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
   65|  32.5M|}
_PyLexer_backup:
   70|  10.8M|{
   71|  10.8M|    if (c != EOF) {
  ------------------
  |  Branch (71:9): [True: 10.8M, False: 36.2k]
  ------------------
   72|  10.8M|        if (--tok->cur < tok->buf) {
  ------------------
  |  Branch (72:13): [True: 0, False: 10.8M]
  ------------------
   73|      0|            Py_FatalError("tokenizer beginning of buffer");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
   74|      0|        }
   75|  10.8M|        if ((int)(unsigned char)*tok->cur != Py_CHARMASK(c)) {
  ------------------
  |  |  138|  10.8M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (75:13): [True: 0, False: 10.8M]
  ------------------
   76|      0|            Py_FatalError("tok_backup: wrong character");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
   77|      0|        }
   78|  10.8M|        tok->col_offset--;
   79|  10.8M|    }
   80|  10.8M|}
_PyLexer_get_normal_mode:
  161|  5.13M|{
  162|  5.13M|    int c;
  163|  5.13M|    int blankline, nonascii;
  164|       |
  165|  5.13M|    const char *p_start = NULL;
  166|  5.13M|    const char *p_end = NULL;
  167|  5.30M|  nextline:
  168|  5.30M|    tok->start = NULL;
  169|  5.30M|    tok->starting_col_offset = -1;
  170|  5.30M|    blankline = 0;
  171|       |
  172|       |
  173|       |    /* Get indentation level */
  174|  5.30M|    if (tok->atbol) {
  ------------------
  |  Branch (174:9): [True: 366k, False: 4.93M]
  ------------------
  175|   366k|        int col = 0;
  176|   366k|        int altcol = 0;
  177|   366k|        tok->atbol = 0;
  178|   366k|        int cont_line_col = 0;
  179|   425k|        for (;;) {
  180|   425k|            c = tok_nextc(tok);
  ------------------
  |  |   44|   425k|#define tok_nextc _PyLexer_nextc
  ------------------
  181|   425k|            if (c == ' ') {
  ------------------
  |  Branch (181:17): [True: 54.1k, False: 371k]
  ------------------
  182|  54.1k|                col++, altcol++;
  183|  54.1k|            }
  184|   371k|            else if (c == '\t') {
  ------------------
  |  Branch (184:22): [True: 786, False: 370k]
  ------------------
  185|    786|                col = (col / tok->tabsize + 1) * tok->tabsize;
  186|    786|                altcol = (altcol / ALTTABSIZE + 1) * ALTTABSIZE;
  ------------------
  |  |   10|    786|#define ALTTABSIZE 1
  ------------------
                              altcol = (altcol / ALTTABSIZE + 1) * ALTTABSIZE;
  ------------------
  |  |   10|    786|#define ALTTABSIZE 1
  ------------------
  187|    786|            }
  188|   370k|            else if (c == '\014')  {/* Control-L (formfeed) */
  ------------------
  |  Branch (188:22): [True: 2.94k, False: 367k]
  ------------------
  189|  2.94k|                col = altcol = 0; /* For Emacs users */
  190|  2.94k|            }
  191|   367k|            else if (c == '\\') {
  ------------------
  |  Branch (191:22): [True: 742, False: 366k]
  ------------------
  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|    742|                cont_line_col = cont_line_col ? cont_line_col : col;
  ------------------
  |  Branch (196:33): [True: 89, False: 653]
  ------------------
  197|    742|                if ((c = tok_continuation_line(tok)) == -1) {
  ------------------
  |  Branch (197:21): [True: 29, False: 713]
  ------------------
  198|     29|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   13|     29|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  199|     29|                }
  200|    742|            }
  201|   366k|            else if (c == EOF && PyErr_Occurred()) {
  ------------------
  |  Branch (201:22): [True: 11.9k, False: 354k]
  |  Branch (201:34): [True: 0, False: 11.9k]
  ------------------
  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|   366k|            else {
  205|   366k|                break;
  206|   366k|            }
  207|   425k|        }
  208|   366k|        tok_backup(tok, c);
  ------------------
  |  |   45|   366k|#define tok_backup _PyLexer_backup
  ------------------
  209|   366k|        if (c == '#' || c == '\n' || c == '\r') {
  ------------------
  |  Branch (209:13): [True: 8.76k, False: 357k]
  |  Branch (209:25): [True: 147k, False: 209k]
  |  Branch (209:38): [True: 0, False: 209k]
  ------------------
  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|   156k|            if (col == 0 && c == '\n' && tok->prompt != NULL) {
  ------------------
  |  Branch (215:17): [True: 155k, False: 1.56k]
  |  Branch (215:29): [True: 147k, False: 7.58k]
  |  Branch (215:42): [True: 0, False: 147k]
  ------------------
  216|      0|                blankline = 0; /* Let it through */
  217|      0|            }
  218|   156k|            else if (tok->prompt != NULL && tok->lineno == 1) {
  ------------------
  |  Branch (218:22): [True: 0, False: 156k]
  |  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|   156k|            else {
  225|   156k|                blankline = 1; /* Ignore completely */
  226|   156k|            }
  227|       |            /* We can't jump back right here since we still
  228|       |               may need to skip to the end of a comment */
  229|   156k|        }
  230|   366k|        if (!blankline && tok->level == 0) {
  ------------------
  |  Branch (230:13): [True: 209k, False: 156k]
  |  Branch (230:27): [True: 194k, False: 15.1k]
  ------------------
  231|   194k|            col = cont_line_col ? cont_line_col : col;
  ------------------
  |  Branch (231:19): [True: 544, False: 194k]
  ------------------
  232|   194k|            altcol = cont_line_col ? cont_line_col : altcol;
  ------------------
  |  Branch (232:22): [True: 544, False: 194k]
  ------------------
  233|   194k|            if (col == tok->indstack[tok->indent]) {
  ------------------
  |  Branch (233:17): [True: 161k, False: 33.6k]
  ------------------
  234|       |                /* No change */
  235|   161k|                if (altcol != tok->altindstack[tok->indent]) {
  ------------------
  |  Branch (235:21): [True: 1, False: 161k]
  ------------------
  236|      1|                    return MAKE_TOKEN(_PyTokenizer_indenterror(tok));
  ------------------
  |  |   13|      1|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  237|      1|                }
  238|   161k|            }
  239|  33.6k|            else if (col > tok->indstack[tok->indent]) {
  ------------------
  |  Branch (239:22): [True: 17.3k, False: 16.3k]
  ------------------
  240|       |                /* Indent -- always one */
  241|  17.3k|                if (tok->indent+1 >= MAXINDENT) {
  ------------------
  |  |    6|  17.3k|#define MAXINDENT 100       /* Max indentation level */
  ------------------
  |  Branch (241:21): [True: 0, False: 17.3k]
  ------------------
  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|  17.3k|                if (altcol <= tok->altindstack[tok->indent]) {
  ------------------
  |  Branch (246:21): [True: 3, False: 17.3k]
  ------------------
  247|      3|                    return MAKE_TOKEN(_PyTokenizer_indenterror(tok));
  ------------------
  |  |   13|      3|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  248|      3|                }
  249|  17.3k|                tok->pendin++;
  250|  17.3k|                tok->indstack[++tok->indent] = col;
  251|  17.3k|                tok->altindstack[tok->indent] = altcol;
  252|  17.3k|            }
  253|  16.3k|            else /* col < tok->indstack[tok->indent] */ {
  254|       |                /* Dedent -- any number, must be consistent */
  255|  33.1k|                while (tok->indent > 0 &&
  ------------------
  |  Branch (255:24): [True: 17.6k, False: 15.4k]
  ------------------
  256|  17.6k|                    col < tok->indstack[tok->indent]) {
  ------------------
  |  Branch (256:21): [True: 16.7k, False: 927]
  ------------------
  257|  16.7k|                    tok->pendin--;
  258|  16.7k|                    tok->indent--;
  259|  16.7k|                }
  260|  16.3k|                if (col != tok->indstack[tok->indent]) {
  ------------------
  |  Branch (260:21): [True: 9, False: 16.3k]
  ------------------
  261|      9|                    tok->done = E_DEDENT;
  ------------------
  |  |   33|      9|#define E_DEDENT         21      /* No matching outer block for dedent */
  ------------------
  262|      9|                    tok->cur = tok->inp;
  263|      9|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   13|      9|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  264|      9|                }
  265|  16.3k|                if (altcol != tok->altindstack[tok->indent]) {
  ------------------
  |  Branch (265:21): [True: 1, False: 16.3k]
  ------------------
  266|      1|                    return MAKE_TOKEN(_PyTokenizer_indenterror(tok));
  ------------------
  |  |   13|      1|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  267|      1|                }
  268|  16.3k|            }
  269|   194k|        }
  270|   366k|    }
  271|       |
  272|  5.30M|    tok->start = tok->cur;
  273|  5.30M|    tok->starting_col_offset = tok->col_offset;
  274|       |
  275|       |    /* Return pending indents/dedents */
  276|  5.30M|    if (tok->pendin != 0) {
  ------------------
  |  Branch (276:9): [True: 34.1k, False: 5.26M]
  ------------------
  277|  34.1k|        if (tok->pendin < 0) {
  ------------------
  |  Branch (277:13): [True: 16.8k, False: 17.3k]
  ------------------
  278|  16.8k|            if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (278:17): [True: 0, False: 16.8k]
  ------------------
  279|      0|                p_start = tok->cur;
  280|      0|                p_end = tok->cur;
  281|      0|            }
  282|  16.8k|            tok->pendin++;
  283|  16.8k|            return MAKE_TOKEN(DEDENT);
  ------------------
  |  |   13|  16.8k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  284|  16.8k|        }
  285|  17.3k|        else {
  286|  17.3k|            if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (286:17): [True: 0, False: 17.3k]
  ------------------
  287|      0|                p_start = tok->buf;
  288|      0|                p_end = tok->cur;
  289|      0|            }
  290|  17.3k|            tok->pendin--;
  291|  17.3k|            return MAKE_TOKEN(INDENT);
  ------------------
  |  |   13|  17.3k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  292|  17.3k|        }
  293|  34.1k|    }
  294|       |
  295|       |    /* Peek ahead at the next character */
  296|  5.26M|    c = tok_nextc(tok);
  ------------------
  |  |   44|  5.26M|#define tok_nextc _PyLexer_nextc
  ------------------
  297|  5.26M|    tok_backup(tok, c);
  ------------------
  |  |   45|  5.26M|#define tok_backup _PyLexer_backup
  ------------------
  298|       |
  299|  5.26M| again:
  300|  5.26M|    tok->start = NULL;
  301|       |    /* Skip spaces */
  302|  5.73M|    do {
  303|  5.73M|        c = tok_nextc(tok);
  ------------------
  |  |   44|  5.73M|#define tok_nextc _PyLexer_nextc
  ------------------
  304|  5.73M|    } while (c == ' ' || c == '\t' || c == '\014');
  ------------------
  |  Branch (304:14): [True: 439k, False: 5.29M]
  |  Branch (304:26): [True: 5.71k, False: 5.28M]
  |  Branch (304:39): [True: 17.2k, False: 5.26M]
  ------------------
  305|       |
  306|       |    /* Set start of current token */
  307|  5.26M|    tok->start = tok->cur == NULL ? NULL : tok->cur - 1;
  ------------------
  |  Branch (307:18): [True: 0, False: 5.26M]
  ------------------
  308|  5.26M|    tok->starting_col_offset = tok->col_offset - 1;
  309|       |
  310|       |    /* Skip comment, unless it's a type comment */
  311|  5.26M|    if (c == '#') {
  ------------------
  |  Branch (311:9): [True: 54.8k, False: 5.21M]
  ------------------
  312|       |
  313|  54.8k|        const char* p = NULL;
  314|  54.8k|        const char *prefix, *type_start;
  315|  54.8k|        int current_starting_col_offset;
  316|       |
  317|  2.95M|        while (c != EOF && c != '\n' && c != '\r') {
  ------------------
  |  Branch (317:16): [True: 2.95M, False: 210]
  |  Branch (317:28): [True: 2.90M, False: 54.6k]
  |  Branch (317:41): [True: 2.90M, False: 0]
  ------------------
  318|  2.90M|            c = tok_nextc(tok);
  ------------------
  |  |   44|  2.90M|#define tok_nextc _PyLexer_nextc
  ------------------
  319|  2.90M|        }
  320|       |
  321|  54.8k|        if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (321:13): [True: 0, False: 54.8k]
  ------------------
  322|      0|            p = tok->start;
  323|      0|        }
  324|       |
  325|  54.8k|        if (tok->type_comments) {
  ------------------
  |  Branch (325:13): [True: 20.0k, False: 34.8k]
  ------------------
  326|  20.0k|            p = tok->start;
  327|  20.0k|            current_starting_col_offset = tok->starting_col_offset;
  328|  20.0k|            prefix = type_comment_prefix;
  329|  74.9k|            while (*prefix && p < tok->cur) {
  ------------------
  |  Branch (329:20): [True: 72.6k, False: 2.37k]
  |  Branch (329:31): [True: 72.5k, False: 15]
  ------------------
  330|  72.5k|                if (*prefix == ' ') {
  ------------------
  |  Branch (330:21): [True: 22.4k, False: 50.1k]
  ------------------
  331|  36.6k|                    while (*p == ' ' || *p == '\t') {
  ------------------
  |  Branch (331:28): [True: 12.4k, False: 24.1k]
  |  Branch (331:41): [True: 1.77k, False: 22.4k]
  ------------------
  332|  14.2k|                        p++;
  333|  14.2k|                        current_starting_col_offset++;
  334|  14.2k|                    }
  335|  50.1k|                } else if (*prefix == *p) {
  ------------------
  |  Branch (335:28): [True: 32.5k, False: 17.6k]
  ------------------
  336|  32.5k|                    p++;
  337|  32.5k|                    current_starting_col_offset++;
  338|  32.5k|                } else {
  339|  17.6k|                    break;
  340|  17.6k|                }
  341|       |
  342|  54.9k|                prefix++;
  343|  54.9k|            }
  344|       |
  345|       |            /* This is a type comment if we matched all of type_comment_prefix. */
  346|  20.0k|            if (!*prefix) {
  ------------------
  |  Branch (346:17): [True: 2.37k, False: 17.6k]
  ------------------
  347|  2.37k|                int is_type_ignore = 1;
  348|       |                // +6 in order to skip the word 'ignore'
  349|  2.37k|                const char *ignore_end = p + 6;
  350|  2.37k|                const int ignore_end_col_offset = current_starting_col_offset + 6;
  351|  2.37k|                tok_backup(tok, c);  /* don't eat the newline or EOF */
  ------------------
  |  |   45|  2.37k|#define tok_backup _PyLexer_backup
  ------------------
  352|       |
  353|  2.37k|                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|  2.37k|                is_type_ignore = (
  358|  2.37k|                    tok->cur >= ignore_end && memcmp(p, "ignore", 6) == 0
  ------------------
  |  Branch (358:21): [True: 2.26k, False: 112]
  |  Branch (358:47): [True: 1.31k, False: 943]
  ------------------
  359|  1.31k|                    && !(tok->cur > ignore_end
  ------------------
  |  Branch (359:26): [True: 767, False: 552]
  ------------------
  360|    767|                         && ((unsigned char)ignore_end[0] >= 128 || Py_ISALNUM(ignore_end[0]))));
  ------------------
  |  |   26|    697|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |  138|    697|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |   12|    697|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   10|    697|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    8|    697|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    9|    697|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|    697|#define PY_CTF_DIGIT  0x04
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (26:24): [True: 4, False: 693]
  |  |  ------------------
  ------------------
  |  Branch (360:30): [True: 70, False: 697]
  ------------------
  361|       |
  362|  2.37k|                if (is_type_ignore) {
  ------------------
  |  Branch (362:21): [True: 1.24k, False: 1.12k]
  ------------------
  363|  1.24k|                    p_start = ignore_end;
  364|  1.24k|                    p_end = tok->cur;
  365|       |
  366|       |                    /* If this type ignore is the only thing on the line, consume the newline also. */
  367|  1.24k|                    if (blankline) {
  ------------------
  |  Branch (367:25): [True: 1.18k, False: 63]
  ------------------
  368|  1.18k|                        tok_nextc(tok);
  ------------------
  |  |   44|  1.18k|#define tok_nextc _PyLexer_nextc
  ------------------
  369|  1.18k|                        tok->atbol = 1;
  370|  1.18k|                    }
  371|  1.24k|                    return MAKE_TYPE_COMMENT_TOKEN(TYPE_IGNORE, ignore_end_col_offset, tok->col_offset);
  ------------------
  |  |   14|  1.24k|#define MAKE_TYPE_COMMENT_TOKEN(token_type, col_offset, end_col_offset) (\
  |  |   15|  1.24k|                _PyLexer_type_comment_token_setup(tok, token, token_type, col_offset, end_col_offset, p_start, p_end))
  ------------------
  372|  1.24k|                } else {
  373|  1.12k|                    p_start = type_start;
  374|  1.12k|                    p_end = tok->cur;
  375|  1.12k|                    return MAKE_TYPE_COMMENT_TOKEN(TYPE_COMMENT, current_starting_col_offset, tok->col_offset);
  ------------------
  |  |   14|  1.12k|#define MAKE_TYPE_COMMENT_TOKEN(token_type, col_offset, end_col_offset) (\
  |  |   15|  1.12k|                _PyLexer_type_comment_token_setup(tok, token, token_type, col_offset, end_col_offset, p_start, p_end))
  ------------------
  376|  1.12k|                }
  377|  2.37k|            }
  378|  20.0k|        }
  379|  52.5k|        if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (379:13): [True: 0, False: 52.5k]
  ------------------
  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|  52.5k|    }
  387|       |
  388|  5.26M|    if (tok->done == E_INTERACT_STOP) {
  ------------------
  |  |   39|  5.26M|#define E_INTERACT_STOP  28      /* Interactive mode stopped tokenization */
  ------------------
  |  Branch (388:9): [True: 0, False: 5.26M]
  ------------------
  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|  5.26M|    if (c == EOF) {
  ------------------
  |  Branch (393:9): [True: 18.3k, False: 5.24M]
  ------------------
  394|  18.3k|        if (tok->level) {
  ------------------
  |  Branch (394:13): [True: 2.68k, False: 15.6k]
  ------------------
  395|  2.68k|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   13|  2.68k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  396|  2.68k|        }
  397|  15.6k|        return MAKE_TOKEN(tok->done == E_EOF ? ENDMARKER : ERRORTOKEN);
  ------------------
  |  |   13|  31.3k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (13:65): [True: 15.6k, False: 0]
  |  |  ------------------
  ------------------
  398|  18.3k|    }
  399|       |
  400|       |    /* Identifier (most frequent token!) */
  401|  5.24M|    nonascii = 0;
  402|  5.24M|    if (is_potential_identifier_start(c)) {
  ------------------
  |  |    6|  5.24M|#define is_potential_identifier_start(c) (\
  |  |    7|  5.24M|              (c >= 'a' && c <= 'z')\
  |  |  ------------------
  |  |  |  Branch (7:16): [True: 1.11M, False: 4.13M]
  |  |  |  Branch (7:28): [True: 938k, False: 174k]
  |  |  ------------------
  |  |    8|  5.24M|               || (c >= 'A' && c <= 'Z')\
  |  |  ------------------
  |  |  |  Branch (8:20): [True: 475k, False: 3.83M]
  |  |  |  Branch (8:32): [True: 107k, False: 368k]
  |  |  ------------------
  |  |    9|  5.24M|               || c == '_'\
  |  |  ------------------
  |  |  |  Branch (9:19): [True: 78.8k, False: 4.12M]
  |  |  ------------------
  |  |   10|  5.24M|               || (c >= 128))
  |  |  ------------------
  |  |  |  Branch (10:19): [True: 42.7k, False: 4.08M]
  |  |  ------------------
  ------------------
  403|       |        /* Process the various legal combinations of b"", r"", u"", and f"". */
  404|  1.16M|        int saw_b = 0, saw_r = 0, saw_u = 0, saw_f = 0, saw_t = 0;
  405|  1.51M|        while (1) {
  ------------------
  |  Branch (405:16): [True: 1.51M, Folded]
  ------------------
  406|  1.51M|            if (!saw_b && (c == 'b' || c == 'B')) {
  ------------------
  |  Branch (406:17): [True: 1.49M, False: 22.4k]
  |  Branch (406:28): [True: 29.0k, False: 1.46M]
  |  Branch (406:40): [True: 6.33k, False: 1.45M]
  ------------------
  407|  35.4k|                saw_b = 1;
  408|  35.4k|            }
  409|       |            /* Since this is a backwards compatibility support literal we don't
  410|       |               want to support it in arbitrary order like byte literals. */
  411|  1.48M|            else if (!saw_u && (c == 'u'|| c == 'U')) {
  ------------------
  |  Branch (411:22): [True: 1.45M, False: 29.9k]
  |  Branch (411:33): [True: 30.7k, False: 1.42M]
  |  Branch (411:44): [True: 1.22k, False: 1.41M]
  ------------------
  412|  31.9k|                saw_u = 1;
  413|  31.9k|            }
  414|       |            /* ur"" and ru"" are not supported */
  415|  1.44M|            else if (!saw_r && (c == 'r' || c == 'R')) {
  ------------------
  |  Branch (415:22): [True: 1.31M, False: 132k]
  |  Branch (415:33): [True: 116k, False: 1.20M]
  |  Branch (415:45): [True: 4.32k, False: 1.19M]
  ------------------
  416|   120k|                saw_r = 1;
  417|   120k|            }
  418|  1.32M|            else if (!saw_f && (c == 'f' || c == 'F')) {
  ------------------
  |  Branch (418:22): [True: 1.21M, False: 117k]
  |  Branch (418:33): [True: 101k, False: 1.10M]
  |  Branch (418:45): [True: 13.6k, False: 1.09M]
  ------------------
  419|   115k|                saw_f = 1;
  420|   115k|            }
  421|  1.21M|            else if (!saw_t && (c == 't' || c == 'T')) {
  ------------------
  |  Branch (421:22): [True: 1.13M, False: 81.6k]
  |  Branch (421:33): [True: 70.3k, False: 1.06M]
  |  Branch (421:45): [True: 20.6k, False: 1.03M]
  ------------------
  422|  90.9k|                saw_t = 1;
  423|  90.9k|            }
  424|  1.12M|            else {
  425|  1.12M|                break;
  426|  1.12M|            }
  427|   394k|            c = tok_nextc(tok);
  ------------------
  |  |   44|   394k|#define tok_nextc _PyLexer_nextc
  ------------------
  428|   394k|            if (c == '"' || c == '\'') {
  ------------------
  |  Branch (428:17): [True: 35.6k, False: 358k]
  |  Branch (428:29): [True: 10.0k, False: 348k]
  ------------------
  429|       |                // Raise error on incompatible string prefixes:
  430|  45.6k|                int status = _PyLexer_check_string_prefixes(
  431|  45.6k|                    tok, saw_b, saw_r, saw_u, saw_f, saw_t);
  432|  45.6k|                if (status < 0) {
  ------------------
  |  Branch (432:21): [True: 14, False: 45.6k]
  ------------------
  433|     14|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   13|     14|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  434|     14|                }
  435|       |
  436|       |                // Handle valid f or t string creation:
  437|  45.6k|                if (saw_f || saw_t) {
  ------------------
  |  Branch (437:21): [True: 14.6k, False: 31.0k]
  |  Branch (437:30): [True: 9.35k, False: 21.7k]
  ------------------
  438|  23.9k|                    return _PyLexer_scan_fstring_start(tok, token, c);
  439|  23.9k|                }
  440|  21.7k|                return _PyLexer_scan_string(tok, token, c);
  441|  45.6k|            }
  442|   394k|        }
  443|  6.32M|        while (is_potential_identifier_char(c)) {
  ------------------
  |  |   12|  6.32M|#define is_potential_identifier_char(c) (\
  |  |   13|  6.32M|              (c >= 'a' && c <= 'z')\
  |  |  ------------------
  |  |  |  Branch (13:16): [True: 4.45M, False: 1.86M]
  |  |  |  Branch (13:28): [True: 3.02M, False: 1.43M]
  |  |  ------------------
  |  |   14|  6.32M|               || (c >= 'A' && c <= 'Z')\
  |  |  ------------------
  |  |  |  Branch (14:20): [True: 1.96M, False: 1.34M]
  |  |  |  Branch (14:32): [True: 304k, False: 1.65M]
  |  |  ------------------
  |  |   15|  6.32M|               || (c >= '0' && c <= '9')\
  |  |  ------------------
  |  |  |  Branch (15:20): [True: 2.22M, False: 774k]
  |  |  |  Branch (15:32): [True: 274k, False: 1.94M]
  |  |  ------------------
  |  |   16|  6.32M|               || c == '_'\
  |  |  ------------------
  |  |  |  Branch (16:19): [True: 194k, False: 2.52M]
  |  |  ------------------
  |  |   17|  6.32M|               || (c >= 128))
  |  |  ------------------
  |  |  |  Branch (17:19): [True: 1.40M, False: 1.12M]
  |  |  ------------------
  ------------------
  444|  5.20M|            if (c >= 128) {
  ------------------
  |  Branch (444:17): [True: 1.40M, False: 3.79M]
  ------------------
  445|  1.40M|                nonascii = 1;
  446|  1.40M|            }
  447|  5.20M|            c = tok_nextc(tok);
  ------------------
  |  |   44|  5.20M|#define tok_nextc _PyLexer_nextc
  ------------------
  448|  5.20M|        }
  449|  1.12M|        tok_backup(tok, c);
  ------------------
  |  |   45|  1.12M|#define tok_backup _PyLexer_backup
  ------------------
  450|  1.12M|        if (nonascii && !verify_identifier(tok)) {
  ------------------
  |  Branch (450:13): [True: 97.0k, False: 1.02M]
  |  Branch (450:25): [True: 1.30k, False: 95.7k]
  ------------------
  451|  1.30k|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   13|  1.30k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  452|  1.30k|        }
  453|       |
  454|  1.12M|        p_start = tok->start;
  455|  1.12M|        p_end = tok->cur;
  456|       |
  457|  1.12M|        return MAKE_TOKEN(NAME);
  ------------------
  |  |   13|  1.12M|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  458|  1.12M|    }
  459|       |
  460|  4.08M|    if (c == '\r') {
  ------------------
  |  Branch (460:9): [True: 0, False: 4.08M]
  ------------------
  461|      0|        c = tok_nextc(tok);
  ------------------
  |  |   44|      0|#define tok_nextc _PyLexer_nextc
  ------------------
  462|      0|    }
  463|       |
  464|       |    /* Newline */
  465|  4.08M|    if (c == '\n') {
  ------------------
  |  Branch (465:9): [True: 342k, False: 3.73M]
  ------------------
  466|   342k|        tok->atbol = 1;
  467|   342k|        if (blankline || tok->level > 0) {
  ------------------
  |  Branch (467:13): [True: 155k, False: 187k]
  |  Branch (467:26): [True: 15.1k, False: 172k]
  ------------------
  468|   170k|            if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (468:17): [True: 0, False: 170k]
  ------------------
  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|   170k|            goto nextline;
  477|   170k|        }
  478|   172k|        if (tok->comment_newline && tok->tok_extra_tokens) {
  ------------------
  |  Branch (478:13): [True: 0, False: 172k]
  |  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|   172k|        p_start = tok->start;
  485|   172k|        p_end = tok->cur - 1; /* Leave '\n' out of the string */
  486|   172k|        tok->cont_line = 0;
  487|   172k|        return MAKE_TOKEN(NEWLINE);
  ------------------
  |  |   13|   172k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  488|   172k|    }
  489|       |
  490|       |    /* Period or number starting with period? */
  491|  3.73M|    if (c == '.') {
  ------------------
  |  Branch (491:9): [True: 59.6k, False: 3.67M]
  ------------------
  492|  59.6k|        c = tok_nextc(tok);
  ------------------
  |  |   44|  59.6k|#define tok_nextc _PyLexer_nextc
  ------------------
  493|  59.6k|        if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|  59.6k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|  59.6k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  59.6k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 15.9k, False: 43.7k]
  |  |  ------------------
  ------------------
  494|  15.9k|            return _PyLexer_scan_number(tok, token, c, 1);
  495|  43.7k|        } else if (c == '.') {
  ------------------
  |  Branch (495:20): [True: 4.64k, False: 39.0k]
  ------------------
  496|  4.64k|            c = tok_nextc(tok);
  ------------------
  |  |   44|  4.64k|#define tok_nextc _PyLexer_nextc
  ------------------
  497|  4.64k|            if (c == '.') {
  ------------------
  |  Branch (497:17): [True: 3.14k, False: 1.50k]
  ------------------
  498|  3.14k|                p_start = tok->start;
  499|  3.14k|                p_end = tok->cur;
  500|  3.14k|                return MAKE_TOKEN(ELLIPSIS);
  ------------------
  |  |   13|  3.14k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  501|  3.14k|            }
  502|  1.50k|            else {
  503|  1.50k|                tok_backup(tok, c);
  ------------------
  |  |   45|  1.50k|#define tok_backup _PyLexer_backup
  ------------------
  504|  1.50k|            }
  505|  1.50k|            tok_backup(tok, '.');
  ------------------
  |  |   45|  1.50k|#define tok_backup _PyLexer_backup
  ------------------
  506|  1.50k|        }
  507|  39.0k|        else {
  508|  39.0k|            tok_backup(tok, c);
  ------------------
  |  |   45|  39.0k|#define tok_backup _PyLexer_backup
  ------------------
  509|  39.0k|        }
  510|  40.5k|        p_start = tok->start;
  511|  40.5k|        p_end = tok->cur;
  512|  40.5k|        return MAKE_TOKEN(DOT);
  ------------------
  |  |   13|  40.5k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  513|  59.6k|    }
  514|       |
  515|       |
  516|       |    /* Number */
  517|  3.67M|    if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|  3.67M|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|  3.67M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  3.67M|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 1.05M, False: 2.62M]
  |  |  ------------------
  ------------------
  518|  1.05M|        return _PyLexer_scan_number(tok, token, c, 0);
  519|  1.05M|    }
  520|       |
  521|       |    /* String */
  522|  2.62M|    if (c == '\'' || c == '"') {
  ------------------
  |  Branch (522:9): [True: 13.5k, False: 2.61M]
  |  Branch (522:22): [True: 26.5k, False: 2.58M]
  ------------------
  523|  40.0k|        return _PyLexer_scan_string(tok, token, c);
  524|  40.0k|    }
  525|       |
  526|       |    /* Line continuation */
  527|  2.58M|    if (c == '\\') {
  ------------------
  |  Branch (527:9): [True: 2.24k, False: 2.58M]
  ------------------
  528|  2.24k|        if ((c = tok_continuation_line(tok)) == -1) {
  ------------------
  |  Branch (528:13): [True: 196, False: 2.05k]
  ------------------
  529|    196|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   13|    196|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  530|    196|        }
  531|  2.05k|        tok->cont_line = 1;
  532|  2.05k|        goto again; /* Read next line */
  533|  2.24k|    }
  534|       |
  535|       |    /* Punctuation character */
  536|  2.58M|    int is_punctuation = (c == ':' || c == '}' || c == '!' || c == '{');
  ------------------
  |  Branch (536:27): [True: 153k, False: 2.42M]
  |  Branch (536:39): [True: 34.7k, False: 2.39M]
  |  Branch (536:51): [True: 6.66k, False: 2.38M]
  |  Branch (536:63): [True: 59.2k, False: 2.32M]
  ------------------
  537|  2.58M|    if (is_punctuation && INSIDE_FSTRING(tok) && INSIDE_FSTRING_EXPR(current_tok)) {
  ------------------
  |  |   10|  2.83M|#define INSIDE_FSTRING(tok) (tok->tok_mode_stack_index > 0)
  |  |  ------------------
  |  |  |  Branch (10:29): [True: 75.0k, False: 179k]
  |  |  ------------------
  ------------------
                  if (is_punctuation && INSIDE_FSTRING(tok) && INSIDE_FSTRING_EXPR(current_tok)) {
  ------------------
  |  |   11|  75.0k|#define INSIDE_FSTRING_EXPR(tok) (tok->curly_bracket_expr_start_depth >= 0)
  |  |  ------------------
  |  |  |  Branch (11:34): [True: 75.0k, False: 34]
  |  |  ------------------
  ------------------
  |  Branch (537:9): [True: 254k, False: 2.32M]
  ------------------
  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|  75.0k|        int cursor = current_tok->curly_bracket_depth - (c != '{');
  542|  75.0k|        int in_format_spec = current_tok->in_format_spec;
  543|  75.0k|         int cursor_in_format_with_debug =
  544|  75.0k|             cursor == 1 && (current_tok->in_debug || in_format_spec);
  ------------------
  |  Branch (544:14): [True: 15.9k, False: 59.1k]
  |  Branch (544:30): [True: 1.44k, False: 14.4k]
  |  Branch (544:55): [True: 807, False: 13.6k]
  ------------------
  545|  75.0k|         int cursor_valid = cursor == 0 || cursor_in_format_with_debug;
  ------------------
  |  Branch (545:29): [True: 47.5k, False: 27.4k]
  |  Branch (545:44): [True: 2.24k, False: 25.2k]
  ------------------
  546|  75.0k|        if ((cursor_valid) && !_PyLexer_update_ftstring_expr(tok, c)) {
  ------------------
  |  Branch (546:13): [True: 49.7k, False: 25.2k]
  |  Branch (546:31): [True: 0, False: 49.7k]
  ------------------
  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|  75.0k|        if ((cursor_valid) && c != '{' && _PyLexer_set_ftstring_expr(tok, token, c)) {
  ------------------
  |  Branch (549:13): [True: 49.7k, False: 25.2k]
  |  Branch (549:31): [True: 27.5k, False: 22.2k]
  |  Branch (549:43): [True: 25, False: 27.5k]
  ------------------
  550|     25|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |   13|     25|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  551|     25|        }
  552|       |
  553|  74.9k|        if (c == ':' && cursor == current_tok->curly_bracket_expr_start_depth) {
  ------------------
  |  Branch (553:13): [True: 13.6k, False: 61.3k]
  |  Branch (553:25): [True: 12.9k, False: 737]
  ------------------
  554|  12.9k|            current_tok->kind = TOK_FSTRING_MODE;
  555|  12.9k|            current_tok->in_format_spec = 1;
  556|  12.9k|            p_start = tok->start;
  557|  12.9k|            p_end = tok->cur;
  558|  12.9k|            return MAKE_TOKEN(_PyToken_OneChar(c));
  ------------------
  |  |   13|  12.9k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  559|  12.9k|        }
  560|  74.9k|    }
  561|       |
  562|       |    /* Check for two-character token */
  563|  2.56M|    {
  564|  2.56M|        int c2 = tok_nextc(tok);
  ------------------
  |  |   44|  2.56M|#define tok_nextc _PyLexer_nextc
  ------------------
  565|  2.56M|        int current_token = _PyToken_TwoChars(c, c2);
  566|  2.56M|        if (current_token != OP) {
  ------------------
  |  |   71|  2.56M|#define OP              55
  ------------------
  |  Branch (566:13): [True: 213k, False: 2.35M]
  ------------------
  567|   213k|            int c3 = tok_nextc(tok);
  ------------------
  |  |   44|   213k|#define tok_nextc _PyLexer_nextc
  ------------------
  568|   213k|            int current_token3 = _PyToken_ThreeChars(c, c2, c3);
  569|   213k|            if (current_token3 != OP) {
  ------------------
  |  |   71|   213k|#define OP              55
  ------------------
  |  Branch (569:17): [True: 1.28k, False: 211k]
  ------------------
  570|  1.28k|                current_token = current_token3;
  571|  1.28k|            }
  572|   211k|            else {
  573|   211k|                tok_backup(tok, c3);
  ------------------
  |  |   45|   211k|#define tok_backup _PyLexer_backup
  ------------------
  574|   211k|            }
  575|   213k|            p_start = tok->start;
  576|   213k|            p_end = tok->cur;
  577|   213k|            return MAKE_TOKEN(current_token);
  ------------------
  |  |   13|   213k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  578|   213k|        }
  579|  2.35M|        tok_backup(tok, c2);
  ------------------
  |  |   45|  2.35M|#define tok_backup _PyLexer_backup
  ------------------
  580|  2.35M|    }
  581|       |
  582|       |    /* Keep track of parentheses nesting level */
  583|      0|    switch (c) {
  584|   142k|    case '(':
  ------------------
  |  Branch (584:5): [True: 142k, False: 2.21M]
  ------------------
  585|   195k|    case '[':
  ------------------
  |  Branch (585:5): [True: 52.5k, False: 2.30M]
  ------------------
  586|   254k|    case '{':
  ------------------
  |  Branch (586:5): [True: 59.2k, False: 2.29M]
  ------------------
  587|   254k|        if (tok->level >= MAXLEVEL) {
  ------------------
  |  |    7|   254k|#define MAXLEVEL 200        /* Max parentheses level */
  ------------------
  |  Branch (587:13): [True: 46, False: 254k]
  ------------------
  588|     46|            return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "too many nested parentheses"));
  ------------------
  |  |   13|     46|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  589|     46|        }
  590|   254k|        tok->parenstack[tok->level] = c;
  591|   254k|        tok->parenlinenostack[tok->level] = tok->lineno;
  592|   254k|        tok->parencolstack[tok->level] = (int)(tok->start - tok->line_start);
  593|   254k|        tok->level++;
  594|   254k|        if (INSIDE_FSTRING(tok)) {
  ------------------
  |  |   10|   254k|#define INSIDE_FSTRING(tok) (tok->tok_mode_stack_index > 0)
  |  |  ------------------
  |  |  |  Branch (10:29): [True: 37.3k, False: 217k]
  |  |  ------------------
  ------------------
  595|  37.3k|            current_tok->curly_bracket_depth++;
  596|  37.3k|        }
  597|   254k|        break;
  598|   100k|    case ')':
  ------------------
  |  Branch (598:5): [True: 100k, False: 2.25M]
  ------------------
  599|   128k|    case ']':
  ------------------
  |  Branch (599:5): [True: 27.9k, False: 2.32M]
  ------------------
  600|   162k|    case '}':
  ------------------
  |  Branch (600:5): [True: 34.7k, False: 2.32M]
  ------------------
  601|   162k|        if (INSIDE_FSTRING(tok) && !current_tok->curly_bracket_depth && c == '}') {
  ------------------
  |  |   10|   325k|#define INSIDE_FSTRING(tok) (tok->tok_mode_stack_index > 0)
  |  |  ------------------
  |  |  |  Branch (10:29): [True: 21.8k, False: 141k]
  |  |  ------------------
  ------------------
  |  Branch (601:36): [True: 34, False: 21.7k]
  |  Branch (601:73): [True: 34, False: 0]
  ------------------
  602|     34|            return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   13|     68|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (13:65): [True: 18, False: 16]
  |  |  ------------------
  ------------------
  603|     34|                "%c-string: single '}' is not allowed", TOK_GET_STRING_PREFIX(tok)));
  604|     34|        }
  605|   162k|        if (!tok->tok_extra_tokens && !tok->level) {
  ------------------
  |  Branch (605:13): [True: 162k, False: 0]
  |  Branch (605:39): [True: 278, False: 162k]
  ------------------
  606|    278|            return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "unmatched '%c'", c));
  ------------------
  |  |   13|    278|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  607|    278|        }
  608|   162k|        if (tok->level > 0) {
  ------------------
  |  Branch (608:13): [True: 162k, False: 0]
  ------------------
  609|   162k|            tok->level--;
  610|   162k|            int opening = tok->parenstack[tok->level];
  611|   162k|            if (!tok->tok_extra_tokens && !((opening == '(' && c == ')') ||
  ------------------
  |  Branch (611:17): [True: 162k, False: 0]
  |  Branch (611:46): [True: 100k, False: 62.5k]
  |  Branch (611:64): [True: 100k, False: 53]
  ------------------
  612|  62.5k|                                            (opening == '[' && c == ']') ||
  ------------------
  |  Branch (612:46): [True: 27.8k, False: 34.7k]
  |  Branch (612:64): [True: 27.8k, False: 36]
  ------------------
  613|  34.7k|                                            (opening == '{' && c == '}'))) {
  ------------------
  |  Branch (613:46): [True: 34.6k, False: 89]
  |  Branch (613:64): [True: 34.6k, False: 56]
  ------------------
  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|    145|                if (INSIDE_FSTRING(tok) && opening == '{') {
  ------------------
  |  |   10|    290|#define INSIDE_FSTRING(tok) (tok->tok_mode_stack_index > 0)
  |  |  ------------------
  |  |  |  Branch (10:29): [True: 21, False: 124]
  |  |  ------------------
  ------------------
  |  Branch (619:44): [True: 16, False: 5]
  ------------------
  620|     16|                    assert(current_tok->curly_bracket_depth >= 0);
  ------------------
  |  Branch (620:21): [True: 16, False: 0]
  ------------------
  621|     16|                    int previous_bracket = current_tok->curly_bracket_depth - 1;
  622|     16|                    if (previous_bracket == current_tok->curly_bracket_expr_start_depth) {
  ------------------
  |  Branch (622:25): [True: 10, False: 6]
  ------------------
  623|     10|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   13|     20|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (13:65): [True: 3, False: 7]
  |  |  ------------------
  ------------------
  624|     10|                            "%c-string: unmatched '%c'", TOK_GET_STRING_PREFIX(tok), c));
  625|     10|                    }
  626|     16|                }
  627|    135|                if (tok->parenlinenostack[tok->level] != tok->lineno) {
  ------------------
  |  Branch (627:21): [True: 11, False: 124]
  ------------------
  628|     11|                    return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   13|     11|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  629|     11|                            "closing parenthesis '%c' does not match "
  630|     11|                            "opening parenthesis '%c' on line %d",
  631|     11|                            c, opening, tok->parenlinenostack[tok->level]));
  632|     11|                }
  633|    124|                else {
  634|    124|                    return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |   13|    124|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  635|    124|                            "closing parenthesis '%c' does not match "
  636|    124|                            "opening parenthesis '%c'",
  637|    124|                            c, opening));
  638|    124|                }
  639|    135|            }
  640|   162k|        }
  641|       |
  642|   162k|        if (INSIDE_FSTRING(tok)) {
  ------------------
  |  |   10|   162k|#define INSIDE_FSTRING(tok) (tok->tok_mode_stack_index > 0)
  |  |  ------------------
  |  |  |  Branch (10:29): [True: 21.7k, False: 140k]
  |  |  ------------------
  ------------------
  643|  21.7k|            current_tok->curly_bracket_depth--;
  644|  21.7k|            if (current_tok->curly_bracket_depth < 0) {
  ------------------
  |  Branch (644:17): [True: 0, False: 21.7k]
  ------------------
  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|  21.7k|            if (c == '}' && current_tok->curly_bracket_depth == current_tok->curly_bracket_expr_start_depth) {
  ------------------
  |  Branch (648:17): [True: 21.3k, False: 392]
  |  Branch (648:29): [True: 20.4k, False: 954]
  ------------------
  649|  20.4k|                current_tok->curly_bracket_expr_start_depth--;
  650|  20.4k|                current_tok->kind = TOK_FSTRING_MODE;
  651|  20.4k|                current_tok->in_format_spec = 0;
  652|  20.4k|                current_tok->in_debug = 0;
  653|  20.4k|            }
  654|  21.7k|        }
  655|   162k|        break;
  656|  1.93M|    default:
  ------------------
  |  Branch (656:5): [True: 1.93M, False: 417k]
  ------------------
  657|  1.93M|        break;
  658|  2.35M|    }
  659|       |
  660|  2.35M|    if (!Py_UNICODE_ISPRINTABLE(c)) {
  ------------------
  |  |  761|  2.35M|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  ------------------
  |  Branch (660:9): [True: 609, False: 2.35M]
  ------------------
  661|    609|        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid non-printable character U+%04X", c));
  ------------------
  |  |   13|    609|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  662|    609|    }
  663|       |
  664|  2.35M|    if( c == '=' && INSIDE_FSTRING_EXPR_AT_TOP(current_tok)) {
  ------------------
  |  |   13|  85.0k|    (tok->curly_bracket_depth - tok->curly_bracket_expr_start_depth == 1)
  |  |  ------------------
  |  |  |  Branch (13:5): [True: 1.98k, False: 83.0k]
  |  |  ------------------
  ------------------
  |  Branch (664:9): [True: 85.0k, False: 2.26M]
  ------------------
  665|  1.98k|        current_tok->in_debug = 1;
  666|  1.98k|    }
  667|       |
  668|       |    /* Punctuation character */
  669|  2.35M|    p_start = tok->start;
  670|  2.35M|    p_end = tok->cur;
  671|  2.35M|    return MAKE_TOKEN(_PyToken_OneChar(c));
  ------------------
  |  |   13|  2.35M|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  672|  2.35M|}
_PyTokenizer_Get:
  688|  5.21M|{
  689|  5.21M|    int result = tok_get(tok, token);
  690|  5.21M|    if (tok->decoding_erred) {
  ------------------
  |  Branch (690:9): [True: 0, False: 5.21M]
  ------------------
  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|  5.21M|    return result;
  695|  5.21M|}
lexer.c:contains_null_bytes:
   23|   420k|{
   24|       |    return memchr(str, 0, size) != NULL;
   25|   420k|}
lexer.c:tok_continuation_line:
  137|  2.99k|tok_continuation_line(struct tok_state *tok) {
  138|  2.99k|    int c = tok_nextc(tok);
  ------------------
  |  |   44|  2.99k|#define tok_nextc _PyLexer_nextc
  ------------------
  139|  2.99k|    if (c == '\r') {
  ------------------
  |  Branch (139:9): [True: 0, False: 2.99k]
  ------------------
  140|      0|        c = tok_nextc(tok);
  ------------------
  |  |   44|      0|#define tok_nextc _PyLexer_nextc
  ------------------
  141|      0|    }
  142|  2.99k|    if (c != '\n') {
  ------------------
  |  Branch (142:9): [True: 208, False: 2.78k]
  ------------------
  143|    208|        tok->done = E_LINECONT;
  ------------------
  |  |   37|    208|#define E_LINECONT       25      /* Unexpected characters after a line continuation */
  ------------------
  144|    208|        return -1;
  145|    208|    }
  146|  2.78k|    c = tok_nextc(tok);
  ------------------
  |  |   44|  2.78k|#define tok_nextc _PyLexer_nextc
  ------------------
  147|  2.78k|    if (c == EOF) {
  ------------------
  |  Branch (147:9): [True: 17, False: 2.76k]
  ------------------
  148|     17|        tok->done = E_EOF;
  ------------------
  |  |   23|     17|#define E_EOF            11      /* End Of File */
  ------------------
  149|     17|        tok->cur = tok->inp;
  150|     17|        return -1;
  151|  2.76k|    } else {
  152|  2.76k|        tok_backup(tok, c);
  ------------------
  |  |   45|  2.76k|#define tok_backup _PyLexer_backup
  ------------------
  153|  2.76k|    }
  154|  2.76k|    return c;
  155|  2.78k|}
lexer.c:verify_identifier:
   87|  97.0k|{
   88|  97.0k|    if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (88:9): [True: 0, False: 97.0k]
  ------------------
   89|      0|        return 1;
   90|      0|    }
   91|  97.0k|    PyObject *s;
   92|  97.0k|    if (tok->decoding_erred)
  ------------------
  |  Branch (92:9): [True: 0, False: 97.0k]
  ------------------
   93|      0|        return 0;
   94|  97.0k|    s = PyUnicode_DecodeUTF8(tok->start, tok->cur - tok->start, NULL);
   95|  97.0k|    if (s == NULL) {
  ------------------
  |  Branch (95:9): [True: 948, False: 96.0k]
  ------------------
   96|    948|        if (PyErr_ExceptionMatches(PyExc_UnicodeDecodeError)) {
  ------------------
  |  Branch (96:13): [True: 948, False: 0]
  ------------------
   97|    948|            tok->done = E_DECODE;
  ------------------
  |  |   34|    948|#define E_DECODE         22      /* Error in decoding into Unicode */
  ------------------
   98|    948|        }
   99|      0|        else {
  100|      0|            tok->done = E_ERROR;
  ------------------
  |  |   29|      0|#define E_ERROR          17      /* Execution error */
  ------------------
  101|      0|        }
  102|    948|        return 0;
  103|    948|    }
  104|  96.0k|    Py_ssize_t invalid = _PyUnicode_ScanIdentifier(s);
  105|  96.0k|    assert(invalid >= 0);
  ------------------
  |  Branch (105:5): [True: 96.0k, False: 0]
  ------------------
  106|  96.0k|    assert(PyUnicode_GET_LENGTH(s) > 0);
  ------------------
  |  Branch (106:5): [True: 96.0k, False: 0]
  ------------------
  107|  96.0k|    if (invalid < PyUnicode_GET_LENGTH(s)) {
  ------------------
  |  |  299|  96.0k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  96.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  96.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (107:9): [True: 352, False: 95.7k]
  ------------------
  108|    352|        Py_UCS4 ch = PyUnicode_READ_CHAR(s, invalid);
  ------------------
  |  |  381|    352|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|    352|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    352|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  109|    352|        if (invalid + 1 < PyUnicode_GET_LENGTH(s)) {
  ------------------
  |  |  299|    352|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    352|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    352|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (109:13): [True: 254, False: 98]
  ------------------
  110|       |            /* Determine the offset in UTF-8 encoded input */
  111|    254|            Py_SETREF(s, PyUnicode_Substring(s, 0, invalid + 1));
  ------------------
  |  |  354|    254|    do { \
  |  |  355|    254|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    254|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|    254|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    254|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|    254|        *_tmp_dst_ptr = (src); \
  |  |  358|    254|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|    254|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 254]
  |  |  ------------------
  ------------------
  112|    254|            if (s != NULL) {
  ------------------
  |  Branch (112:17): [True: 254, False: 0]
  ------------------
  113|    254|                Py_SETREF(s, PyUnicode_AsUTF8String(s));
  ------------------
  |  |  354|    254|    do { \
  |  |  355|    254|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    254|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|    254|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    254|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|    254|        *_tmp_dst_ptr = (src); \
  |  |  358|    254|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|    254|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 254]
  |  |  ------------------
  ------------------
  114|    254|            }
  115|    254|            if (s == NULL) {
  ------------------
  |  Branch (115:17): [True: 0, False: 254]
  ------------------
  116|      0|                tok->done = E_ERROR;
  ------------------
  |  |   29|      0|#define E_ERROR          17      /* Execution error */
  ------------------
  117|      0|                return 0;
  118|      0|            }
  119|    254|            tok->cur = (char *)tok->start + PyBytes_GET_SIZE(s);
  ------------------
  |  |   33|    254|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    254|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    254|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  120|    254|        }
  121|    352|        Py_DECREF(s);
  ------------------
  |  |  430|    352|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    352|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    352|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  122|    352|        if (Py_UNICODE_ISPRINTABLE(ch)) {
  ------------------
  |  |  761|    352|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  ------------------
  |  |  |  Branch (761:36): [True: 138, False: 214]
  |  |  ------------------
  ------------------
  123|    138|            _PyTokenizer_syntaxerror(tok, "invalid character '%c' (U+%04X)", ch, ch);
  124|    138|        }
  125|    214|        else {
  126|    214|            _PyTokenizer_syntaxerror(tok, "invalid non-printable character U+%04X", ch);
  127|    214|        }
  128|    352|        return 0;
  129|    352|    }
  130|  95.7k|    Py_DECREF(s);
  ------------------
  |  |  430|  95.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  95.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  95.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  131|  95.7k|    return 1;
  132|  96.0k|}
lexer.c:tok_get:
  677|  5.21M|{
  678|  5.21M|    tokenizer_mode *current_tok = TOK_GET_MODE(tok);
  ------------------
  |  |   36|  5.21M|#define TOK_GET_MODE(tok) (&(tok)->tok_mode_stack[(tok)->tok_mode_stack_index])
  ------------------
  679|  5.21M|    if (current_tok->kind == TOK_REGULAR_MODE) {
  ------------------
  |  Branch (679:9): [True: 5.11M, False: 92.8k]
  ------------------
  680|  5.11M|        return _PyLexer_get_normal_mode(tok, current_tok, token);
  681|  5.11M|    } else {
  682|  92.8k|        return _PyLexer_get_fstring_mode(tok, current_tok, token);
  683|  92.8k|    }
  684|  5.21M|}

_PyLexer_scan_number:
  115|  1.07M|{
  116|  1.07M|    const char *p_start = NULL;
  117|  1.07M|    const char *p_end = NULL;
  118|       |
  119|  1.07M|    if (leading_dot) {
  ------------------
  |  Branch (119:9): [True: 15.9k, False: 1.05M]
  ------------------
  120|  15.9k|        goto fraction;
  121|  15.9k|    }
  122|  1.05M|    if (c == '0') {
  ------------------
  |  Branch (122:9): [True: 68.8k, False: 985k]
  ------------------
  123|       |        /* Hex, octal or binary -- maybe. */
  124|  68.8k|        c = tok_nextc(tok);
  ------------------
  |  |   44|  68.8k|#define tok_nextc _PyLexer_nextc
  ------------------
  125|  68.8k|        if (c == 'x' || c == 'X') {
  ------------------
  |  Branch (125:13): [True: 1.47k, False: 67.3k]
  |  Branch (125:25): [True: 632, False: 66.7k]
  ------------------
  126|       |            /* Hex */
  127|  2.10k|            c = tok_nextc(tok);
  ------------------
  |  |   44|  2.10k|#define tok_nextc _PyLexer_nextc
  ------------------
  128|  3.44k|            do {
  129|  3.44k|                if (c == '_') {
  ------------------
  |  Branch (129:21): [True: 1.34k, False: 2.10k]
  ------------------
  130|  1.34k|                    c = tok_nextc(tok);
  ------------------
  |  |   44|  1.34k|#define tok_nextc _PyLexer_nextc
  ------------------
  131|  1.34k|                }
  132|  3.44k|                if (!Py_ISXDIGIT(c)) {
  ------------------
  |  |   25|  3.44k|#define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |  138|  3.44k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |   14|  3.44k|#define PY_CTF_XDIGIT 0x10
  |  |  ------------------
  ------------------
  |  Branch (132:21): [True: 9, False: 3.43k]
  ------------------
  133|      9|                    tok_backup(tok, c);
  ------------------
  |  |   45|      9|#define tok_backup _PyLexer_backup
  ------------------
  134|      9|                    return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid hexadecimal literal"));
  ------------------
  |  |    7|      9|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  135|      9|                }
  136|  93.0k|                do {
  137|  93.0k|                    c = tok_nextc(tok);
  ------------------
  |  |   44|  93.0k|#define tok_nextc _PyLexer_nextc
  ------------------
  138|  93.0k|                } while (Py_ISXDIGIT(c));
  ------------------
  |  |   25|  93.0k|#define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |  138|  93.0k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |   14|  93.0k|#define PY_CTF_XDIGIT 0x10
  |  |  ------------------
  |  |  |  Branch (25:24): [True: 89.5k, False: 3.43k]
  |  |  ------------------
  ------------------
  139|  3.43k|            } while (c == '_');
  ------------------
  |  Branch (139:22): [True: 1.34k, False: 2.09k]
  ------------------
  140|  2.09k|            if (!verify_end_of_number(tok, c, "hexadecimal")) {
  ------------------
  |  Branch (140:17): [True: 2, False: 2.09k]
  ------------------
  141|      2|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|      2|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  142|      2|            }
  143|  2.09k|        }
  144|  66.7k|        else if (c == 'o' || c == 'O') {
  ------------------
  |  Branch (144:18): [True: 845, False: 65.8k]
  |  Branch (144:30): [True: 668, False: 65.2k]
  ------------------
  145|       |            /* Octal */
  146|  1.51k|            c = tok_nextc(tok);
  ------------------
  |  |   44|  1.51k|#define tok_nextc _PyLexer_nextc
  ------------------
  147|  2.20k|            do {
  148|  2.20k|                if (c == '_') {
  ------------------
  |  Branch (148:21): [True: 692, False: 1.51k]
  ------------------
  149|    692|                    c = tok_nextc(tok);
  ------------------
  |  |   44|    692|#define tok_nextc _PyLexer_nextc
  ------------------
  150|    692|                }
  151|  2.20k|                if (c < '0' || c >= '8') {
  ------------------
  |  Branch (151:21): [True: 8, False: 2.19k]
  |  Branch (151:32): [True: 4, False: 2.19k]
  ------------------
  152|     12|                    if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|     12|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|     12|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|     12|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 1, False: 11]
  |  |  ------------------
  ------------------
  153|      1|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |    7|      1|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  154|      1|                                "invalid digit '%c' in octal literal", c));
  155|      1|                    }
  156|     11|                    else {
  157|     11|                        tok_backup(tok, c);
  ------------------
  |  |   45|     11|#define tok_backup _PyLexer_backup
  ------------------
  158|     11|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid octal literal"));
  ------------------
  |  |    7|     11|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  159|     11|                    }
  160|     12|                }
  161|  19.7k|                do {
  162|  19.7k|                    c = tok_nextc(tok);
  ------------------
  |  |   44|  19.7k|#define tok_nextc _PyLexer_nextc
  ------------------
  163|  19.7k|                } while ('0' <= c && c < '8');
  ------------------
  |  Branch (163:26): [True: 18.3k, False: 1.41k]
  |  Branch (163:38): [True: 17.5k, False: 780]
  ------------------
  164|  2.19k|            } while (c == '_');
  ------------------
  |  Branch (164:22): [True: 691, False: 1.50k]
  ------------------
  165|  1.50k|            if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|  1.50k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|  1.50k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  1.50k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 1, False: 1.50k]
  |  |  ------------------
  ------------------
  166|      1|                return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |    7|      1|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  167|      1|                        "invalid digit '%c' in octal literal", c));
  168|      1|            }
  169|  1.50k|            if (!verify_end_of_number(tok, c, "octal")) {
  ------------------
  |  Branch (169:17): [True: 7, False: 1.49k]
  ------------------
  170|      7|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|      7|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  171|      7|            }
  172|  1.50k|        }
  173|  65.2k|        else if (c == 'b' || c == 'B') {
  ------------------
  |  Branch (173:18): [True: 1.11k, False: 64.1k]
  |  Branch (173:30): [True: 582, False: 63.5k]
  ------------------
  174|       |            /* Binary */
  175|  1.69k|            c = tok_nextc(tok);
  ------------------
  |  |   44|  1.69k|#define tok_nextc _PyLexer_nextc
  ------------------
  176|  2.40k|            do {
  177|  2.40k|                if (c == '_') {
  ------------------
  |  Branch (177:21): [True: 1.66k, False: 736]
  ------------------
  178|  1.66k|                    c = tok_nextc(tok);
  ------------------
  |  |   44|  1.66k|#define tok_nextc _PyLexer_nextc
  ------------------
  179|  1.66k|                }
  180|  2.40k|                if (c != '0' && c != '1') {
  ------------------
  |  Branch (180:21): [True: 337, False: 2.06k]
  |  Branch (180:33): [True: 8, False: 329]
  ------------------
  181|      8|                    if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|      8|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|      8|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|      8|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 1, False: 7]
  |  |  ------------------
  ------------------
  182|      1|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid digit '%c' in binary literal", c));
  ------------------
  |  |    7|      1|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  183|      1|                    }
  184|      7|                    else {
  185|      7|                        tok_backup(tok, c);
  ------------------
  |  |   45|      7|#define tok_backup _PyLexer_backup
  ------------------
  186|      7|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid binary literal"));
  ------------------
  |  |    7|      7|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  187|      7|                    }
  188|      8|                }
  189|  57.1k|                do {
  190|  57.1k|                    c = tok_nextc(tok);
  ------------------
  |  |   44|  57.1k|#define tok_nextc _PyLexer_nextc
  ------------------
  191|  57.1k|                } while (c == '0' || c == '1');
  ------------------
  |  Branch (191:26): [True: 53.3k, False: 3.75k]
  |  Branch (191:38): [True: 1.35k, False: 2.39k]
  ------------------
  192|  2.39k|            } while (c == '_');
  ------------------
  |  Branch (192:22): [True: 707, False: 1.69k]
  ------------------
  193|  1.69k|            if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|  1.69k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|  1.69k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  1.69k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 3, False: 1.68k]
  |  |  ------------------
  ------------------
  194|      3|                return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid digit '%c' in binary literal", c));
  ------------------
  |  |    7|      3|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  195|      3|            }
  196|  1.68k|            if (!verify_end_of_number(tok, c, "binary")) {
  ------------------
  |  Branch (196:17): [True: 4, False: 1.68k]
  ------------------
  197|      4|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|      4|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  198|      4|            }
  199|  1.68k|        }
  200|  63.5k|        else {
  201|  63.5k|            int nonzero = 0;
  202|       |            /* maybe old-style octal; c is first char of it */
  203|       |            /* in any case, allow '0' as a literal */
  204|   132k|            while (1) {
  ------------------
  |  Branch (204:20): [True: 132k, Folded]
  ------------------
  205|   132k|                if (c == '_') {
  ------------------
  |  Branch (205:21): [True: 427, False: 131k]
  ------------------
  206|    427|                    c = tok_nextc(tok);
  ------------------
  |  |   44|    427|#define tok_nextc _PyLexer_nextc
  ------------------
  207|    427|                    if (!Py_ISDIGIT(c)) {
  ------------------
  |  |   24|    427|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|    427|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|    427|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  ------------------
  |  Branch (207:25): [True: 4, False: 423]
  ------------------
  208|      4|                        tok_backup(tok, c);
  ------------------
  |  |   45|      4|#define tok_backup _PyLexer_backup
  ------------------
  209|      4|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid decimal literal"));
  ------------------
  |  |    7|      4|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  210|      4|                    }
  211|    427|                }
  212|   132k|                if (c != '0') {
  ------------------
  |  Branch (212:21): [True: 63.5k, False: 68.5k]
  ------------------
  213|  63.5k|                    break;
  214|  63.5k|                }
  215|  68.5k|                c = tok_nextc(tok);
  ------------------
  |  |   44|  68.5k|#define tok_nextc _PyLexer_nextc
  ------------------
  216|  68.5k|            }
  217|  63.5k|            char* zeros_end = tok->cur;
  218|  63.5k|            if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|  63.5k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|  63.5k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  63.5k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 2.97k, False: 60.5k]
  |  |  ------------------
  ------------------
  219|  2.97k|                nonzero = 1;
  220|  2.97k|                c = tok_decimal_tail(tok);
  221|  2.97k|                if (c == 0) {
  ------------------
  |  Branch (221:21): [True: 2, False: 2.97k]
  ------------------
  222|      2|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|      2|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  223|      2|                }
  224|  2.97k|            }
  225|  63.5k|            if (c == '.') {
  ------------------
  |  Branch (225:17): [True: 7.69k, False: 55.8k]
  ------------------
  226|  7.69k|                c = tok_nextc(tok);
  ------------------
  |  |   44|  7.69k|#define tok_nextc _PyLexer_nextc
  ------------------
  227|  7.69k|                goto fraction;
  228|  7.69k|            }
  229|  55.8k|            else if (c == 'e' || c == 'E') {
  ------------------
  |  Branch (229:22): [True: 1.59k, False: 54.2k]
  |  Branch (229:34): [True: 341, False: 53.8k]
  ------------------
  230|  1.93k|                goto exponent;
  231|  1.93k|            }
  232|  53.8k|            else if (c == 'j' || c == 'J') {
  ------------------
  |  Branch (232:22): [True: 10.6k, False: 43.2k]
  |  Branch (232:34): [True: 1.34k, False: 41.9k]
  ------------------
  233|  11.9k|                goto imaginary;
  234|  11.9k|            }
  235|  41.9k|            else if (nonzero && !tok->tok_extra_tokens) {
  ------------------
  |  Branch (235:22): [True: 84, False: 41.8k]
  |  Branch (235:33): [True: 84, False: 0]
  ------------------
  236|       |                /* Old-style octal: now disallowed. */
  237|     84|                tok_backup(tok, c);
  ------------------
  |  |   45|     84|#define tok_backup _PyLexer_backup
  ------------------
  238|     84|                return MAKE_TOKEN(_PyTokenizer_syntaxerror_known_range(
  ------------------
  |  |    7|     84|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  239|     84|                        tok, (int)(tok->start + 1 - tok->line_start),
  240|     84|                        (int)(zeros_end - tok->line_start),
  241|     84|                        "leading zeros in decimal integer "
  242|     84|                        "literals are not permitted; "
  243|     84|                        "use an 0o prefix for octal integers"));
  244|     84|            }
  245|  41.8k|            if (!verify_end_of_number(tok, c, "decimal")) {
  ------------------
  |  Branch (245:17): [True: 69, False: 41.7k]
  ------------------
  246|     69|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|     69|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  247|     69|            }
  248|  41.8k|        }
  249|  68.8k|    }
  250|   985k|    else {
  251|       |        /* Decimal */
  252|   985k|        c = tok_decimal_tail(tok);
  253|   985k|        if (c == 0) {
  ------------------
  |  Branch (253:13): [True: 12, False: 985k]
  ------------------
  254|     12|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|     12|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  255|     12|        }
  256|   985k|        {
  257|       |            /* Accept floating-point numbers. */
  258|   985k|            if (c == '.') {
  ------------------
  |  Branch (258:17): [True: 49.9k, False: 935k]
  ------------------
  259|  49.9k|                c = tok_nextc(tok);
  ------------------
  |  |   44|  49.9k|#define tok_nextc _PyLexer_nextc
  ------------------
  260|  73.5k|    fraction:
  261|       |                /* Fraction */
  262|  73.5k|                if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|  73.5k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|  73.5k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  73.5k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 41.3k, False: 32.1k]
  |  |  ------------------
  ------------------
  263|  41.3k|                    c = tok_decimal_tail(tok);
  264|  41.3k|                    if (c == 0) {
  ------------------
  |  Branch (264:25): [True: 4, False: 41.3k]
  ------------------
  265|      4|                        return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|      4|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  266|      4|                    }
  267|  41.3k|                }
  268|  73.5k|            }
  269|  1.00M|            if (c == 'e' || c == 'E') {
  ------------------
  |  Branch (269:17): [True: 53.8k, False: 955k]
  |  Branch (269:29): [True: 5.61k, False: 949k]
  ------------------
  270|  59.4k|                int e;
  271|  61.3k|              exponent:
  272|  61.3k|                e = c;
  273|       |                /* Exponent part */
  274|  61.3k|                c = tok_nextc(tok);
  ------------------
  |  |   44|  61.3k|#define tok_nextc _PyLexer_nextc
  ------------------
  275|  61.3k|                if (c == '+' || c == '-') {
  ------------------
  |  Branch (275:21): [True: 877, False: 60.5k]
  |  Branch (275:33): [True: 9.44k, False: 51.0k]
  ------------------
  276|  10.3k|                    c = tok_nextc(tok);
  ------------------
  |  |   44|  10.3k|#define tok_nextc _PyLexer_nextc
  ------------------
  277|  10.3k|                    if (!Py_ISDIGIT(c)) {
  ------------------
  |  |   24|  10.3k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|  10.3k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  10.3k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  ------------------
  |  Branch (277:25): [True: 8, False: 10.3k]
  ------------------
  278|      8|                        tok_backup(tok, c);
  ------------------
  |  |   45|      8|#define tok_backup _PyLexer_backup
  ------------------
  279|      8|                        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "invalid decimal literal"));
  ------------------
  |  |    7|      8|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  280|      8|                    }
  281|  51.0k|                } else if (!Py_ISDIGIT(c)) {
  ------------------
  |  |   24|  51.0k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|  51.0k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  51.0k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  ------------------
  |  Branch (281:28): [True: 3.37k, False: 47.7k]
  ------------------
  282|  3.37k|                    tok_backup(tok, c);
  ------------------
  |  |   45|  3.37k|#define tok_backup _PyLexer_backup
  ------------------
  283|  3.37k|                    if (!verify_end_of_number(tok, e, "decimal")) {
  ------------------
  |  Branch (283:25): [True: 57, False: 3.31k]
  ------------------
  284|     57|                        return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|     57|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  285|     57|                    }
  286|  3.31k|                    tok_backup(tok, e);
  ------------------
  |  |   45|  3.31k|#define tok_backup _PyLexer_backup
  ------------------
  287|  3.31k|                    p_start = tok->start;
  288|  3.31k|                    p_end = tok->cur;
  289|  3.31k|                    return MAKE_TOKEN(NUMBER);
  ------------------
  |  |    7|  3.31k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  290|  3.37k|                }
  291|  58.0k|                c = tok_decimal_tail(tok);
  292|  58.0k|                if (c == 0) {
  ------------------
  |  Branch (292:21): [True: 2, False: 58.0k]
  ------------------
  293|      2|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|      2|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  294|      2|                }
  295|  58.0k|            }
  296|  1.00M|            if (c == 'j' || c == 'J') {
  ------------------
  |  Branch (296:17): [True: 66.7k, False: 941k]
  |  Branch (296:29): [True: 14.5k, False: 926k]
  ------------------
  297|       |                /* Imaginary part */
  298|  93.1k|    imaginary:
  299|  93.1k|                c = tok_nextc(tok);
  ------------------
  |  |   44|  93.1k|#define tok_nextc _PyLexer_nextc
  ------------------
  300|  93.1k|                if (!verify_end_of_number(tok, c, "imaginary")) {
  ------------------
  |  Branch (300:21): [True: 21, False: 93.1k]
  ------------------
  301|     21|                    return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|     21|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  302|     21|                }
  303|  93.1k|            }
  304|   926k|            else if (!verify_end_of_number(tok, c, "decimal")) {
  ------------------
  |  Branch (304:22): [True: 340, False: 926k]
  ------------------
  305|    340|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    7|    340|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  306|    340|            }
  307|  1.00M|        }
  308|  1.00M|    }
  309|  1.06M|    tok_backup(tok, c);
  ------------------
  |  |   45|  1.06M|#define tok_backup _PyLexer_backup
  ------------------
  310|  1.06M|    p_start = tok->start;
  311|  1.06M|    p_end = tok->cur;
  312|  1.06M|    return MAKE_TOKEN(NUMBER);
  ------------------
  |  |    7|  1.06M|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  313|  1.05M|}
number.c:verify_end_of_number:
   33|  1.07M|verify_end_of_number(struct tok_state *tok, int c, const char *kind) {
   34|  1.07M|    if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (34:9): [True: 0, False: 1.07M]
  ------------------
   35|       |        // When we are parsing extra tokens, we don't want to emit warnings
   36|       |        // about invalid literals, because we want to be a bit more liberal.
   37|      0|        return 1;
   38|      0|    }
   39|       |    /* Emit a deprecation warning only if the numeric literal is immediately
   40|       |     * followed by one of keywords which can occur after a numeric literal
   41|       |     * in valid code: "and", "else", "for", "if", "in", "is" and "or".
   42|       |     * It allows to gradually deprecate existing valid code without adding
   43|       |     * warning before error in most cases of invalid numeric literal (which
   44|       |     * would be confusing and break existing tests).
   45|       |     * Raise a syntax error with slightly better message than plain
   46|       |     * "invalid syntax" if the numeric literal is immediately followed by
   47|       |     * other keyword or identifier.
   48|       |     */
   49|  1.07M|    int r = 0;
   50|  1.07M|    if (c == 'a') {
  ------------------
  |  Branch (50:9): [True: 7.23k, False: 1.06M]
  ------------------
   51|  7.23k|        r = lookahead(tok, "nd");
   52|  7.23k|    }
   53|  1.06M|    else if (c == 'e') {
  ------------------
  |  Branch (53:14): [True: 3.37k, False: 1.05M]
  ------------------
   54|  3.37k|        r = lookahead(tok, "lse");
   55|  3.37k|    }
   56|  1.05M|    else if (c == 'f') {
  ------------------
  |  Branch (56:14): [True: 3.56k, False: 1.05M]
  ------------------
   57|  3.56k|        r = lookahead(tok, "or");
   58|  3.56k|    }
   59|  1.05M|    else if (c == 'i') {
  ------------------
  |  Branch (59:14): [True: 12.5k, False: 1.04M]
  ------------------
   60|  12.5k|        int c2 = tok_nextc(tok);
  ------------------
  |  |   44|  12.5k|#define tok_nextc _PyLexer_nextc
  ------------------
   61|  12.5k|        if (c2 == 'f' || c2 == 'n' || c2 == 's') {
  ------------------
  |  Branch (61:13): [True: 5.48k, False: 7.11k]
  |  Branch (61:26): [True: 2.60k, False: 4.51k]
  |  Branch (61:39): [True: 4.49k, False: 20]
  ------------------
   62|  12.5k|            r = 1;
   63|  12.5k|        }
   64|  12.5k|        tok_backup(tok, c2);
  ------------------
  |  |   45|  12.5k|#define tok_backup _PyLexer_backup
  ------------------
   65|  12.5k|    }
   66|  1.04M|    else if (c == 'o') {
  ------------------
  |  Branch (66:14): [True: 4.83k, False: 1.03M]
  ------------------
   67|  4.83k|        r = lookahead(tok, "r");
   68|  4.83k|    }
   69|  1.03M|    else if (c == 'n') {
  ------------------
  |  Branch (69:14): [True: 393, False: 1.03M]
  ------------------
   70|    393|        r = lookahead(tok, "ot");
   71|    393|    }
   72|  1.07M|    if (r) {
  ------------------
  |  Branch (72:9): [True: 31.7k, False: 1.03M]
  ------------------
   73|  31.7k|        tok_backup(tok, c);
  ------------------
  |  |   45|  31.7k|#define tok_backup _PyLexer_backup
  ------------------
   74|  31.7k|        if (_PyTokenizer_parser_warn(tok, PyExc_SyntaxWarning,
  ------------------
  |  Branch (74:13): [True: 0, False: 31.7k]
  ------------------
   75|  31.7k|                "invalid %s literal", kind))
   76|      0|        {
   77|      0|            return 0;
   78|      0|        }
   79|  31.7k|        tok_nextc(tok);
  ------------------
  |  |   44|  31.7k|#define tok_nextc _PyLexer_nextc
  ------------------
   80|  31.7k|    }
   81|  1.03M|    else /* In future releases, only error will remain. */
   82|  1.03M|    if (c < 128 && is_potential_identifier_char(c)) {
  ------------------
  |  |   12|  1.03M|#define is_potential_identifier_char(c) (\
  |  |   13|  1.03M|              (c >= 'a' && c <= 'z')\
  |  |  ------------------
  |  |  |  Branch (13:16): [True: 14.3k, False: 1.02M]
  |  |  |  Branch (13:28): [True: 425, False: 13.9k]
  |  |  ------------------
  |  |   14|  1.03M|               || (c >= 'A' && c <= 'Z')\
  |  |  ------------------
  |  |  |  Branch (14:20): [True: 54.2k, False: 983k]
  |  |  |  Branch (14:32): [True: 65, False: 54.1k]
  |  |  ------------------
  |  |   15|  1.03M|               || (c >= '0' && c <= '9')\
  |  |  ------------------
  |  |  |  Branch (15:20): [True: 154k, False: 883k]
  |  |  |  Branch (15:32): [True: 8, False: 154k]
  |  |  ------------------
  |  |   16|  1.03M|               || c == '_'\
  |  |  ------------------
  |  |  |  Branch (16:19): [True: 2, False: 1.03M]
  |  |  ------------------
  |  |   17|  1.03M|               || (c >= 128))
  |  |  ------------------
  |  |  |  Branch (17:19): [True: 0, False: 1.03M]
  |  |  ------------------
  ------------------
  |  Branch (82:9): [True: 1.03M, False: 557]
  ------------------
   83|    500|        tok_backup(tok, c);
  ------------------
  |  |   45|    500|#define tok_backup _PyLexer_backup
  ------------------
   84|    500|        _PyTokenizer_syntaxerror(tok, "invalid %s literal", kind);
   85|    500|        return 0;
   86|    500|    }
   87|  1.06M|    return 1;
   88|  1.07M|}
number.c:lookahead:
   11|  19.3k|{
   12|  19.3k|    const char *s = test;
   13|  19.3k|    int res = 0;
   14|  56.4k|    while (1) {
  ------------------
  |  Branch (14:12): [True: 56.4k, Folded]
  ------------------
   15|  56.4k|        int c = tok_nextc(tok);
  ------------------
  |  |   44|  56.4k|#define tok_nextc _PyLexer_nextc
  ------------------
   16|  56.4k|        if (*s == 0) {
  ------------------
  |  Branch (16:13): [True: 19.2k, False: 37.1k]
  ------------------
   17|  19.2k|            res = !is_potential_identifier_char(c);
  ------------------
  |  |   12|  19.2k|#define is_potential_identifier_char(c) (\
  |  |   13|  19.2k|              (c >= 'a' && c <= 'z')\
  |  |  ------------------
  |  |  |  Branch (13:16): [True: 138, False: 19.0k]
  |  |  |  Branch (13:28): [True: 13, False: 125]
  |  |  ------------------
  |  |   14|  19.2k|               || (c >= 'A' && c <= 'Z')\
  |  |  ------------------
  |  |  |  Branch (14:20): [True: 704, False: 18.5k]
  |  |  |  Branch (14:32): [True: 5, False: 699]
  |  |  ------------------
  |  |   15|  19.2k|               || (c >= '0' && c <= '9')\
  |  |  ------------------
  |  |  |  Branch (15:20): [True: 953, False: 18.2k]
  |  |  |  Branch (15:32): [True: 10, False: 943]
  |  |  ------------------
  |  |   16|  19.2k|               || c == '_'\
  |  |  ------------------
  |  |  |  Branch (16:19): [True: 6, False: 19.1k]
  |  |  ------------------
  |  |   17|  19.2k|               || (c >= 128))
  |  |  ------------------
  |  |  |  Branch (17:19): [True: 5, False: 19.1k]
  |  |  ------------------
  ------------------
   18|  19.2k|        }
   19|  37.1k|        else if (c == *s) {
  ------------------
  |  Branch (19:18): [True: 37.0k, False: 164]
  ------------------
   20|  37.0k|            s++;
   21|  37.0k|            continue;
   22|  37.0k|        }
   23|       |
   24|  19.3k|        tok_backup(tok, c);
  ------------------
  |  |   45|  19.3k|#define tok_backup _PyLexer_backup
  ------------------
   25|  56.4k|        while (s != test) {
  ------------------
  |  Branch (25:16): [True: 37.0k, False: 19.3k]
  ------------------
   26|  37.0k|            tok_backup(tok, *--s);
  ------------------
  |  |   45|  37.0k|#define tok_backup _PyLexer_backup
  ------------------
   27|  37.0k|        }
   28|  19.3k|        return res;
   29|  56.4k|    }
   30|  19.3k|}
number.c:tok_decimal_tail:
   92|  1.08M|{
   93|  1.08M|    int c;
   94|       |
   95|  1.10M|    while (1) {
  ------------------
  |  Branch (95:12): [True: 1.10M, Folded]
  ------------------
   96|  5.58M|        do {
   97|  5.58M|            c = tok_nextc(tok);
  ------------------
  |  |   44|  5.58M|#define tok_nextc _PyLexer_nextc
  ------------------
   98|  5.58M|        } while (Py_ISDIGIT(c));
  ------------------
  |  |   24|  5.58M|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|  5.58M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  5.58M|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 4.47M, False: 1.10M]
  |  |  ------------------
  ------------------
   99|  1.10M|        if (c != '_') {
  ------------------
  |  Branch (99:13): [True: 1.08M, False: 13.6k]
  ------------------
  100|  1.08M|            break;
  101|  1.08M|        }
  102|  13.6k|        c = tok_nextc(tok);
  ------------------
  |  |   44|  13.6k|#define tok_nextc _PyLexer_nextc
  ------------------
  103|  13.6k|        if (!Py_ISDIGIT(c)) {
  ------------------
  |  |   24|  13.6k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|  13.6k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  13.6k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  ------------------
  |  Branch (103:13): [True: 20, False: 13.6k]
  ------------------
  104|     20|            tok_backup(tok, c);
  ------------------
  |  |   45|     20|#define tok_backup _PyLexer_backup
  ------------------
  105|     20|            _PyTokenizer_syntaxerror(tok, "invalid decimal literal");
  106|     20|            return 0;
  107|     20|        }
  108|  13.6k|    }
  109|  1.08M|    return c;
  110|  1.08M|}

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

_PyLexer_set_ftstring_expr:
   11|  27.5k|_PyLexer_set_ftstring_expr(struct tok_state* tok, struct token *token, char c) {
   12|  27.5k|    assert(token != NULL);
  ------------------
  |  Branch (12:5): [True: 27.5k, False: 0]
  ------------------
   13|  27.5k|    assert(c == '}' || c == ':' || c == '!');
  ------------------
  |  Branch (13:5): [True: 14.3k, False: 13.1k]
  |  Branch (13:5): [True: 8.24k, False: 4.92k]
  |  Branch (13:5): [True: 4.92k, False: 0]
  ------------------
   14|  27.5k|    tokenizer_mode *tok_mode = TOK_GET_MODE(tok);
  ------------------
  |  |   36|  27.5k|#define TOK_GET_MODE(tok) (&(tok)->tok_mode_stack[(tok)->tok_mode_stack_index])
  ------------------
   15|       |
   16|  27.5k|    if (!(tok_mode->in_debug || tok_mode->string_kind == TSTRING) || token->metadata) {
  ------------------
  |  Branch (16:11): [True: 3.04k, False: 24.4k]
  |  Branch (16:33): [True: 9.77k, False: 14.7k]
  |  Branch (16:70): [True: 684, False: 12.1k]
  ------------------
   17|  15.3k|        return 0;
   18|  15.3k|    }
   19|  12.1k|    PyObject *res = NULL;
   20|       |
   21|       |    // Look for a # character outside of string literals
   22|  12.1k|    int hash_detected = 0;
   23|  12.1k|    int in_string = 0;
   24|  12.1k|    char quote_char = 0;
   25|       |
   26|  82.0k|    for (Py_ssize_t i = 0; i < tok_mode->last_expr_size - tok_mode->last_expr_end; i++) {
  ------------------
  |  Branch (26:28): [True: 70.1k, False: 11.9k]
  ------------------
   27|  70.1k|        char ch = tok_mode->last_expr_buffer[i];
   28|       |
   29|       |        // Skip escaped characters
   30|  70.1k|        if (ch == '\\') {
  ------------------
  |  Branch (30:13): [True: 708, False: 69.4k]
  ------------------
   31|    708|            i++;
   32|    708|            continue;
   33|    708|        }
   34|       |
   35|       |        // Handle quotes
   36|  69.4k|        if (ch == '"' || ch == '\'') {
  ------------------
  |  Branch (36:13): [True: 1.28k, False: 68.1k]
  |  Branch (36:26): [True: 1.83k, False: 66.3k]
  ------------------
   37|       |            // The following if/else block works becase there is an off number
   38|       |            // of quotes in STRING tokens and the lexer only ever reaches this
   39|       |            // function with valid STRING tokens.
   40|       |            // For example: """hello"""
   41|       |            // First quote: in_string = 1
   42|       |            // Second quote: in_string = 0
   43|       |            // Third quote: in_string = 1
   44|  3.11k|            if (!in_string) {
  ------------------
  |  Branch (44:17): [True: 1.36k, False: 1.75k]
  ------------------
   45|  1.36k|                in_string = 1;
   46|  1.36k|                quote_char = ch;
   47|  1.36k|            }
   48|  1.75k|            else if (ch == quote_char) {
  ------------------
  |  Branch (48:22): [True: 1.30k, False: 452]
  ------------------
   49|  1.30k|                in_string = 0;
   50|  1.30k|            }
   51|  3.11k|            continue;
   52|  3.11k|        }
   53|       |
   54|       |        // Check for # outside strings
   55|  66.3k|        if (ch == '#' && !in_string) {
  ------------------
  |  Branch (55:13): [True: 484, False: 65.8k]
  |  Branch (55:26): [True: 180, False: 304]
  ------------------
   56|    180|            hash_detected = 1;
   57|    180|            break;
   58|    180|        }
   59|  66.3k|    }
   60|       |    // If we found a # character in the expression, we need to handle comments
   61|  12.1k|    if (hash_detected) {
  ------------------
  |  Branch (61:9): [True: 180, False: 11.9k]
  ------------------
   62|       |        // Allocate buffer for processed result
   63|    180|        char *result = (char *)PyMem_Malloc((tok_mode->last_expr_size - tok_mode->last_expr_end + 1) * sizeof(char));
   64|    180|        if (!result) {
  ------------------
  |  Branch (64:13): [True: 0, False: 180]
  ------------------
   65|      0|            return -1;
   66|      0|        }
   67|       |
   68|    180|        Py_ssize_t i = 0;  // Input position
   69|    180|        Py_ssize_t j = 0;  // Output position
   70|    180|        in_string = 0;     // Whether we're in a string
   71|    180|        quote_char = 0;    // Current string quote char
   72|       |
   73|       |        // Process each character
   74|  27.0k|        while (i < tok_mode->last_expr_size - tok_mode->last_expr_end) {
  ------------------
  |  Branch (74:16): [True: 26.8k, False: 180]
  ------------------
   75|  26.8k|            char ch = tok_mode->last_expr_buffer[i];
   76|       |
   77|       |            // Handle string quotes
   78|  26.8k|            if (ch == '"' || ch == '\'') {
  ------------------
  |  Branch (78:17): [True: 1.03k, False: 25.7k]
  |  Branch (78:30): [True: 4.95k, False: 20.8k]
  ------------------
   79|       |                // See comment above to understand this part
   80|  5.99k|                if (!in_string) {
  ------------------
  |  Branch (80:21): [True: 2.51k, False: 3.47k]
  ------------------
   81|  2.51k|                    in_string = 1;
   82|  2.51k|                    quote_char = ch;
   83|  3.47k|                } else if (ch == quote_char) {
  ------------------
  |  Branch (83:28): [True: 2.50k, False: 976]
  ------------------
   84|  2.50k|                    in_string = 0;
   85|  2.50k|                }
   86|  5.99k|                result[j++] = ch;
   87|  5.99k|            }
   88|       |            // Skip comments
   89|  20.8k|            else if (ch == '#' && !in_string) {
  ------------------
  |  Branch (89:22): [True: 1.08k, False: 19.7k]
  |  Branch (89:35): [True: 621, False: 468]
  ------------------
   90|  16.1k|                while (i < tok_mode->last_expr_size - tok_mode->last_expr_end &&
  ------------------
  |  Branch (90:24): [True: 16.0k, False: 129]
  ------------------
   91|  16.0k|                       tok_mode->last_expr_buffer[i] != '\n') {
  ------------------
  |  Branch (91:24): [True: 15.5k, False: 492]
  ------------------
   92|  15.5k|                    i++;
   93|  15.5k|                }
   94|    621|                if (i < tok_mode->last_expr_size - tok_mode->last_expr_end) {
  ------------------
  |  Branch (94:21): [True: 492, False: 129]
  ------------------
   95|    492|                    result[j++] = '\n';
   96|    492|                }
   97|    621|            }
   98|       |            // Copy other chars
   99|  20.2k|            else {
  100|  20.2k|                result[j++] = ch;
  101|  20.2k|            }
  102|  26.8k|            i++;
  103|  26.8k|        }
  104|       |
  105|    180|        result[j] = '\0';  // Null-terminate the result string
  106|    180|        res = PyUnicode_DecodeUTF8(result, j, NULL);
  107|    180|        PyMem_Free(result);
  108|  11.9k|    } else {
  109|  11.9k|        res = PyUnicode_DecodeUTF8(
  110|  11.9k|            tok_mode->last_expr_buffer,
  111|  11.9k|            tok_mode->last_expr_size - tok_mode->last_expr_end,
  112|  11.9k|            NULL
  113|  11.9k|        );
  114|  11.9k|    }
  115|       |
  116|  12.1k|    if (!res) {
  ------------------
  |  Branch (116:9): [True: 25, False: 12.1k]
  ------------------
  117|     25|        return -1;
  118|     25|    }
  119|  12.1k|    token->metadata = res;
  120|  12.1k|    return 0;
  121|  12.1k|}
_PyLexer_update_ftstring_expr:
  125|  75.2k|{
  126|  75.2k|    assert(tok->cur != NULL);
  ------------------
  |  Branch (126:5): [True: 75.2k, False: 0]
  ------------------
  127|       |
  128|  75.2k|    Py_ssize_t size = strlen(tok->cur);
  129|  75.2k|    tokenizer_mode *tok_mode = TOK_GET_MODE(tok);
  ------------------
  |  |   36|  75.2k|#define TOK_GET_MODE(tok) (&(tok)->tok_mode_stack[(tok)->tok_mode_stack_index])
  ------------------
  130|       |
  131|  75.2k|    switch (cur) {
  132|      0|       case 0:
  ------------------
  |  Branch (132:8): [True: 0, False: 75.2k]
  ------------------
  133|      0|            if (!tok_mode->last_expr_buffer || tok_mode->last_expr_end >= 0) {
  ------------------
  |  Branch (133:17): [True: 0, False: 0]
  |  Branch (133:48): [True: 0, False: 0]
  ------------------
  134|      0|                return 1;
  135|      0|            }
  136|      0|            char *new_buffer = PyMem_Realloc(
  137|      0|                tok_mode->last_expr_buffer,
  138|      0|                tok_mode->last_expr_size + size
  139|      0|            );
  140|      0|            if (new_buffer == NULL) {
  ------------------
  |  Branch (140:17): [True: 0, False: 0]
  ------------------
  141|      0|                PyMem_Free(tok_mode->last_expr_buffer);
  142|      0|                goto error;
  143|      0|            }
  144|      0|            tok_mode->last_expr_buffer = new_buffer;
  145|      0|            strncpy(tok_mode->last_expr_buffer + tok_mode->last_expr_size, tok->cur, size);
  146|      0|            tok_mode->last_expr_size += size;
  147|      0|            break;
  148|  47.7k|        case '{':
  ------------------
  |  Branch (148:9): [True: 47.7k, False: 27.5k]
  ------------------
  149|  47.7k|            if (tok_mode->last_expr_buffer != NULL) {
  ------------------
  |  Branch (149:17): [True: 35.0k, False: 12.6k]
  ------------------
  150|  35.0k|                PyMem_Free(tok_mode->last_expr_buffer);
  151|  35.0k|            }
  152|  47.7k|            tok_mode->last_expr_buffer = PyMem_Malloc(size);
  153|  47.7k|            if (tok_mode->last_expr_buffer == NULL) {
  ------------------
  |  Branch (153:17): [True: 0, False: 47.7k]
  ------------------
  154|      0|                goto error;
  155|      0|            }
  156|  47.7k|            tok_mode->last_expr_size = size;
  157|  47.7k|            tok_mode->last_expr_end = -1;
  158|  47.7k|            strncpy(tok_mode->last_expr_buffer, tok->cur, size);
  159|  47.7k|            break;
  160|  14.3k|        case '}':
  ------------------
  |  Branch (160:9): [True: 14.3k, False: 60.8k]
  ------------------
  161|  19.2k|        case '!':
  ------------------
  |  Branch (161:9): [True: 4.92k, False: 70.3k]
  ------------------
  162|  19.2k|            tok_mode->last_expr_end = strlen(tok->start);
  163|  19.2k|            break;
  164|  8.24k|        case ':':
  ------------------
  |  Branch (164:9): [True: 8.24k, False: 66.9k]
  ------------------
  165|  8.24k|            if (tok_mode->last_expr_end == -1) {
  ------------------
  |  Branch (165:17): [True: 7.71k, False: 532]
  ------------------
  166|  7.71k|               tok_mode->last_expr_end = strlen(tok->start);
  167|  7.71k|            }
  168|  8.24k|            break;
  169|      0|        default:
  ------------------
  |  Branch (169:9): [True: 0, False: 75.2k]
  ------------------
  170|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  171|  75.2k|    }
  172|  75.2k|    return 1;
  173|      0|error:
  174|      0|    tok->done = E_NOMEM;
  ------------------
  |  |   27|      0|#define E_NOMEM          15      /* Ran out of memory */
  ------------------
  175|      0|    return 0;
  176|  75.2k|}
_PyLexer_check_string_prefixes:
  181|  45.6k|                                             int saw_f, int saw_t) {
  182|       |    // Supported: rb, rf, rt (in any order)
  183|       |    // Unsupported: ub, ur, uf, ut, bf, bt, ft (in any order)
  184|       |
  185|  45.6k|#define RETURN_SYNTAX_ERROR(PREFIX1, PREFIX2)                             \
  186|  45.6k|    do {                                                                  \
  187|  45.6k|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  188|  45.6k|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  189|  45.6k|            (int)(tok->cur - tok->line_start),                            \
  190|  45.6k|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  191|  45.6k|        return -1;                                                        \
  192|  45.6k|    } while (0)
  193|       |
  194|  45.6k|    if (saw_u && saw_b) {
  ------------------
  |  Branch (194:9): [True: 3.79k, False: 41.8k]
  |  Branch (194:18): [True: 1, False: 3.79k]
  ------------------
  195|      1|        RETURN_SYNTAX_ERROR("u", "b");
  ------------------
  |  |  186|      1|    do {                                                                  \
  |  |  187|      1|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  188|      1|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  189|      1|            (int)(tok->cur - tok->line_start),                            \
  |  |  190|      1|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  191|      1|        return -1;                                                        \
  |  |  192|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (192:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  196|      1|    }
  197|  45.6k|    if (saw_u && saw_r) {
  ------------------
  |  Branch (197:9): [True: 3.79k, False: 41.8k]
  |  Branch (197:18): [True: 1, False: 3.79k]
  ------------------
  198|      1|        RETURN_SYNTAX_ERROR("u", "r");
  ------------------
  |  |  186|      1|    do {                                                                  \
  |  |  187|      1|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  188|      1|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  189|      1|            (int)(tok->cur - tok->line_start),                            \
  |  |  190|      1|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  191|      1|        return -1;                                                        \
  |  |  192|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (192:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  199|      1|    }
  200|  45.6k|    if (saw_u && saw_f) {
  ------------------
  |  Branch (200:9): [True: 3.79k, False: 41.8k]
  |  Branch (200:18): [True: 3, False: 3.79k]
  ------------------
  201|      3|        RETURN_SYNTAX_ERROR("u", "f");
  ------------------
  |  |  186|      3|    do {                                                                  \
  |  |  187|      3|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  188|      3|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  189|      3|            (int)(tok->cur - tok->line_start),                            \
  |  |  190|      3|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  191|      3|        return -1;                                                        \
  |  |  192|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (192:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  202|      3|    }
  203|  45.6k|    if (saw_u && saw_t) {
  ------------------
  |  Branch (203:9): [True: 3.79k, False: 41.8k]
  |  Branch (203:18): [True: 4, False: 3.78k]
  ------------------
  204|      4|        RETURN_SYNTAX_ERROR("u", "t");
  ------------------
  |  |  186|      4|    do {                                                                  \
  |  |  187|      4|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  188|      4|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  189|      4|            (int)(tok->cur - tok->line_start),                            \
  |  |  190|      4|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  191|      4|        return -1;                                                        \
  |  |  192|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (192:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  205|      4|    }
  206|       |
  207|  45.6k|    if (saw_b && saw_f) {
  ------------------
  |  Branch (207:9): [True: 15.8k, False: 29.8k]
  |  Branch (207:18): [True: 2, False: 15.8k]
  ------------------
  208|      2|        RETURN_SYNTAX_ERROR("b", "f");
  ------------------
  |  |  186|      2|    do {                                                                  \
  |  |  187|      2|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  188|      2|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  189|      2|            (int)(tok->cur - tok->line_start),                            \
  |  |  190|      2|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  191|      2|        return -1;                                                        \
  |  |  192|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (192:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  209|      2|    }
  210|  45.6k|    if (saw_b && saw_t) {
  ------------------
  |  Branch (210:9): [True: 15.8k, False: 29.8k]
  |  Branch (210:18): [True: 1, False: 15.8k]
  ------------------
  211|      1|        RETURN_SYNTAX_ERROR("b", "t");
  ------------------
  |  |  186|      1|    do {                                                                  \
  |  |  187|      1|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  188|      1|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  189|      1|            (int)(tok->cur - tok->line_start),                            \
  |  |  190|      1|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  191|      1|        return -1;                                                        \
  |  |  192|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (192:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  212|      1|    }
  213|       |
  214|  45.6k|    if (saw_f && saw_t) {
  ------------------
  |  Branch (214:9): [True: 14.6k, False: 31.0k]
  |  Branch (214:18): [True: 2, False: 14.6k]
  ------------------
  215|      2|        RETURN_SYNTAX_ERROR("f", "t");
  ------------------
  |  |  186|      2|    do {                                                                  \
  |  |  187|      2|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  |  |  188|      2|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  |  |  189|      2|            (int)(tok->cur - tok->line_start),                            \
  |  |  190|      2|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  |  |  191|      2|        return -1;                                                        \
  |  |  192|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (192:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  216|      2|    }
  217|       |
  218|  45.6k|#undef RETURN_SYNTAX_ERROR
  219|       |
  220|  45.6k|    return 0;
  221|  45.6k|}
_PyLexer_scan_fstring_start:
  225|  23.9k|{
  226|  23.9k|    const char *p_start = NULL;
  227|  23.9k|    const char *p_end = NULL;
  228|       |
  229|  23.9k|    int quote = c;
  230|  23.9k|    int quote_size = 1;             /* 1 or 3 */
  231|       |
  232|       |    /* Nodes of type STRING, especially multi line strings
  233|       |       must be handled differently in order to get both
  234|       |       the starting line number and the column offset right.
  235|       |       (cf. issue 16806) */
  236|  23.9k|    tok->first_lineno = tok->lineno;
  237|  23.9k|    tok->multi_line_start = tok->line_start;
  238|       |
  239|       |    /* Find the quote size and start of string */
  240|  23.9k|    int after_quote = tok_nextc(tok);
  ------------------
  |  |   44|  23.9k|#define tok_nextc _PyLexer_nextc
  ------------------
  241|  23.9k|    if (after_quote == quote) {
  ------------------
  |  Branch (241:9): [True: 8.31k, False: 15.6k]
  ------------------
  242|  8.31k|        int after_after_quote = tok_nextc(tok);
  ------------------
  |  |   44|  8.31k|#define tok_nextc _PyLexer_nextc
  ------------------
  243|  8.31k|        if (after_after_quote == quote) {
  ------------------
  |  Branch (243:13): [True: 5.84k, False: 2.47k]
  ------------------
  244|  5.84k|            quote_size = 3;
  245|  5.84k|        }
  246|  2.47k|        else {
  247|       |            // TODO: Check this
  248|  2.47k|            tok_backup(tok, after_after_quote);
  ------------------
  |  |   45|  2.47k|#define tok_backup _PyLexer_backup
  ------------------
  249|  2.47k|            tok_backup(tok, after_quote);
  ------------------
  |  |   45|  2.47k|#define tok_backup _PyLexer_backup
  ------------------
  250|  2.47k|        }
  251|  8.31k|    }
  252|  23.9k|    if (after_quote != quote) {
  ------------------
  |  Branch (252:9): [True: 15.6k, False: 8.31k]
  ------------------
  253|  15.6k|        tok_backup(tok, after_quote);
  ------------------
  |  |   45|  15.6k|#define tok_backup _PyLexer_backup
  ------------------
  254|  15.6k|    }
  255|       |
  256|       |
  257|  23.9k|    p_start = tok->start;
  258|  23.9k|    p_end = tok->cur;
  259|  23.9k|    if (tok->tok_mode_stack_index + 1 >= MAXFSTRINGLEVEL) {
  ------------------
  |  |    8|  23.9k|#define MAXFSTRINGLEVEL 150 /* Max f-string nesting level */
  ------------------
  |  Branch (259:9): [True: 1, False: 23.9k]
  ------------------
  260|      1|        return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok, "too many nested f-strings or t-strings"));
  ------------------
  |  |    8|      1|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  261|      1|    }
  262|  23.9k|    tokenizer_mode *the_current_tok = TOK_NEXT_MODE(tok);
  ------------------
  |  |   37|  23.9k|#define TOK_NEXT_MODE(tok) (&(tok)->tok_mode_stack[++(tok)->tok_mode_stack_index])
  ------------------
  263|  23.9k|    the_current_tok->kind = TOK_FSTRING_MODE;
  264|  23.9k|    the_current_tok->quote = quote;
  265|  23.9k|    the_current_tok->quote_size = quote_size;
  266|  23.9k|    the_current_tok->start = tok->start;
  267|  23.9k|    the_current_tok->multi_line_start = tok->line_start;
  268|  23.9k|    the_current_tok->first_line = tok->lineno;
  269|  23.9k|    the_current_tok->start_offset = -1;
  270|  23.9k|    the_current_tok->multi_line_start_offset = -1;
  271|  23.9k|    the_current_tok->last_expr_buffer = NULL;
  272|  23.9k|    the_current_tok->last_expr_size = 0;
  273|  23.9k|    the_current_tok->last_expr_end = -1;
  274|  23.9k|    the_current_tok->in_format_spec = 0;
  275|  23.9k|    the_current_tok->in_debug = 0;
  276|       |
  277|  23.9k|    enum string_kind_t string_kind = FSTRING;
  278|  23.9k|    switch (*tok->start) {
  279|  2.67k|        case 'T':
  ------------------
  |  Branch (279:9): [True: 2.67k, False: 21.2k]
  ------------------
  280|  8.66k|        case 't':
  ------------------
  |  Branch (280:9): [True: 5.99k, False: 17.9k]
  ------------------
  281|  8.66k|            the_current_tok->raw = Py_TOLOWER(*(tok->start + 1)) == 'r';
  ------------------
  |  |   32|  8.66k|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|  8.66k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  282|  8.66k|            string_kind = TSTRING;
  283|  8.66k|            break;
  284|    495|        case 'F':
  ------------------
  |  Branch (284:9): [True: 495, False: 23.4k]
  ------------------
  285|  13.7k|        case 'f':
  ------------------
  |  Branch (285:9): [True: 13.2k, False: 10.7k]
  ------------------
  286|  13.7k|            the_current_tok->raw = Py_TOLOWER(*(tok->start + 1)) == 'r';
  ------------------
  |  |   32|  13.7k|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|  13.7k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  287|  13.7k|            break;
  288|    284|        case 'R':
  ------------------
  |  Branch (288:9): [True: 284, False: 23.6k]
  ------------------
  289|  1.58k|        case 'r':
  ------------------
  |  Branch (289:9): [True: 1.29k, False: 22.6k]
  ------------------
  290|  1.58k|            the_current_tok->raw = 1;
  291|  1.58k|            if (Py_TOLOWER(*(tok->start + 1)) == 't') {
  ------------------
  |  |   32|  1.58k|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|  1.58k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (291:17): [True: 688, False: 892]
  ------------------
  292|    688|                string_kind = TSTRING;
  293|    688|            }
  294|  1.58k|            break;
  295|      0|        default:
  ------------------
  |  Branch (295:9): [True: 0, False: 23.9k]
  ------------------
  296|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  297|  23.9k|    }
  298|       |
  299|  23.9k|    the_current_tok->string_kind = string_kind;
  300|  23.9k|    the_current_tok->curly_bracket_depth = 0;
  301|  23.9k|    the_current_tok->curly_bracket_expr_start_depth = -1;
  302|  23.9k|    return string_kind == TSTRING ? MAKE_TOKEN(TSTRING_START) : MAKE_TOKEN(FSTRING_START);
  ------------------
  |  |    8|  9.35k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
                  return string_kind == TSTRING ? MAKE_TOKEN(TSTRING_START) : MAKE_TOKEN(FSTRING_START);
  ------------------
  |  |    8|  14.6k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  |  Branch (302:12): [True: 9.35k, False: 14.6k]
  ------------------
  303|  23.9k|}
_PyLexer_scan_string:
  307|  61.7k|{
  308|  61.7k|    const char *p_start = NULL;
  309|  61.7k|    const char *p_end = NULL;
  310|       |
  311|  61.7k|    int quote = c;
  312|  61.7k|    int quote_size = 1;             /* 1 or 3 */
  313|  61.7k|    int end_quote_size = 0;
  314|  61.7k|    int has_escaped_quote = 0;
  315|       |
  316|       |    /* Nodes of type STRING, especially multi line strings
  317|       |       must be handled differently in order to get both
  318|       |       the starting line number and the column offset right.
  319|       |       (cf. issue 16806) */
  320|  61.7k|    tok->first_lineno = tok->lineno;
  321|  61.7k|    tok->multi_line_start = tok->line_start;
  322|       |
  323|       |    /* Find the quote size and start of string */
  324|  61.7k|    c = tok_nextc(tok);
  ------------------
  |  |   44|  61.7k|#define tok_nextc _PyLexer_nextc
  ------------------
  325|  61.7k|    if (c == quote) {
  ------------------
  |  Branch (325:9): [True: 27.7k, False: 34.0k]
  ------------------
  326|  27.7k|        c = tok_nextc(tok);
  ------------------
  |  |   44|  27.7k|#define tok_nextc _PyLexer_nextc
  ------------------
  327|  27.7k|        if (c == quote) {
  ------------------
  |  Branch (327:13): [True: 10.5k, False: 17.2k]
  ------------------
  328|  10.5k|            quote_size = 3;
  329|  10.5k|        }
  330|  17.2k|        else {
  331|  17.2k|            end_quote_size = 1;     /* empty string found */
  332|  17.2k|        }
  333|  27.7k|    }
  334|  61.7k|    if (c != quote) {
  ------------------
  |  Branch (334:9): [True: 51.2k, False: 10.5k]
  ------------------
  335|  51.2k|        tok_backup(tok, c);
  ------------------
  |  |   45|  51.2k|#define tok_backup _PyLexer_backup
  ------------------
  336|  51.2k|    }
  337|       |
  338|       |    /* Get rest of string */
  339|  2.13M|    while (end_quote_size != quote_size) {
  ------------------
  |  Branch (339:12): [True: 2.06M, False: 61.1k]
  ------------------
  340|  2.06M|        c = tok_nextc(tok);
  ------------------
  |  |   44|  2.06M|#define tok_nextc _PyLexer_nextc
  ------------------
  341|  2.06M|        if (tok->done == E_ERROR) {
  ------------------
  |  |   29|  2.06M|#define E_ERROR          17      /* Execution error */
  ------------------
  |  Branch (341:13): [True: 0, False: 2.06M]
  ------------------
  342|      0|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    8|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  343|      0|        }
  344|  2.06M|        if (tok->done == E_DECODE) {
  ------------------
  |  |   34|  2.06M|#define E_DECODE         22      /* Error in decoding into Unicode */
  ------------------
  |  Branch (344:13): [True: 0, False: 2.06M]
  ------------------
  345|      0|            break;
  346|      0|        }
  347|  2.06M|        if (c == EOF || (quote_size == 1 && c == '\n')) {
  ------------------
  |  Branch (347:13): [True: 399, False: 2.06M]
  |  Branch (347:26): [True: 1.14M, False: 923k]
  |  Branch (347:45): [True: 240, False: 1.14M]
  ------------------
  348|    639|            assert(tok->multi_line_start != NULL);
  ------------------
  |  Branch (348:13): [True: 639, False: 0]
  ------------------
  349|       |            // shift the tok_state's location into
  350|       |            // the start of string, and report the error
  351|       |            // from the initial quote character
  352|    639|            tok->cur = (char *)tok->start;
  353|    639|            tok->cur++;
  354|    639|            tok->line_start = tok->multi_line_start;
  355|    639|            int start = tok->lineno;
  356|    639|            tok->lineno = tok->first_lineno;
  357|       |
  358|    639|            if (INSIDE_FSTRING(tok)) {
  ------------------
  |  |   10|    639|#define INSIDE_FSTRING(tok) (tok->tok_mode_stack_index > 0)
  |  |  ------------------
  |  |  |  Branch (10:29): [True: 44, False: 595]
  |  |  ------------------
  ------------------
  359|       |                /* When we are in an f-string, before raising the
  360|       |                 * unterminated string literal error, check whether
  361|       |                 * does the initial quote matches with f-strings quotes
  362|       |                 * and if it is, then this must be a missing '}' token
  363|       |                 * so raise the proper error */
  364|     44|                tokenizer_mode *the_current_tok = TOK_GET_MODE(tok);
  ------------------
  |  |   36|     44|#define TOK_GET_MODE(tok) (&(tok)->tok_mode_stack[(tok)->tok_mode_stack_index])
  ------------------
  365|     44|                if (the_current_tok->quote == quote &&
  ------------------
  |  Branch (365:21): [True: 35, False: 9]
  ------------------
  366|     35|                    the_current_tok->quote_size == quote_size) {
  ------------------
  |  Branch (366:21): [True: 33, False: 2]
  ------------------
  367|     33|                    return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |    8|     66|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (8:65): [True: 15, False: 18]
  |  |  ------------------
  ------------------
  368|     33|                        "%c-string: expecting '}'", TOK_GET_STRING_PREFIX(tok)));
  369|     33|                }
  370|     44|            }
  371|       |
  372|    606|            if (quote_size == 3) {
  ------------------
  |  Branch (372:17): [True: 60, False: 546]
  ------------------
  373|     60|                _PyTokenizer_syntaxerror(tok, "unterminated triple-quoted string literal"
  374|     60|                                 " (detected at line %d)", start);
  375|     60|                if (c != '\n') {
  ------------------
  |  Branch (375:21): [True: 60, False: 0]
  ------------------
  376|     60|                    tok->done = E_EOFS;
  ------------------
  |  |   35|     60|#define E_EOFS           23      /* EOF in triple-quoted string */
  ------------------
  377|     60|                }
  378|     60|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    8|     60|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  379|     60|            }
  380|    546|            else {
  381|    546|                if (has_escaped_quote) {
  ------------------
  |  Branch (381:21): [True: 5, False: 541]
  ------------------
  382|      5|                    _PyTokenizer_syntaxerror(
  383|      5|                        tok,
  384|      5|                        "unterminated string literal (detected at line %d); "
  385|      5|                        "perhaps you escaped the end quote?",
  386|      5|                        start
  387|      5|                    );
  388|    541|                } else {
  389|    541|                    _PyTokenizer_syntaxerror(
  390|    541|                        tok, "unterminated string literal (detected at line %d)", start
  391|    541|                    );
  392|    541|                }
  393|    546|                if (c != '\n') {
  ------------------
  |  Branch (393:21): [True: 316, False: 230]
  ------------------
  394|    316|                    tok->done = E_EOLS;
  ------------------
  |  |   36|    316|#define E_EOLS           24      /* EOL in single-quoted string */
  ------------------
  395|    316|                }
  396|    546|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    8|    546|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  397|    546|            }
  398|    606|        }
  399|  2.06M|        if (c == quote) {
  ------------------
  |  Branch (399:13): [True: 87.9k, False: 1.98M]
  ------------------
  400|  87.9k|            end_quote_size += 1;
  401|  87.9k|        }
  402|  1.98M|        else {
  403|  1.98M|            end_quote_size = 0;
  404|  1.98M|            if (c == '\\') {
  ------------------
  |  Branch (404:17): [True: 99.2k, False: 1.88M]
  ------------------
  405|  99.2k|                c = tok_nextc(tok);  /* skip escaped char */
  ------------------
  |  |   44|  99.2k|#define tok_nextc _PyLexer_nextc
  ------------------
  406|  99.2k|                if (c == quote) {  /* but record whether the escaped char was a quote */
  ------------------
  |  Branch (406:21): [True: 1.25k, False: 98.0k]
  ------------------
  407|  1.25k|                    has_escaped_quote = 1;
  408|  1.25k|                }
  409|  99.2k|                if (c == '\r') {
  ------------------
  |  Branch (409:21): [True: 0, False: 99.2k]
  ------------------
  410|      0|                    c = tok_nextc(tok);
  ------------------
  |  |   44|      0|#define tok_nextc _PyLexer_nextc
  ------------------
  411|      0|                }
  412|  99.2k|            }
  413|  1.98M|        }
  414|  2.06M|    }
  415|       |
  416|  61.1k|    p_start = tok->start;
  417|  61.1k|    p_end = tok->cur;
  418|  61.1k|    return MAKE_TOKEN(STRING);
  ------------------
  |  |    8|  61.1k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  419|  61.7k|}
_PyLexer_get_fstring_mode:
  423|  92.8k|{
  424|  92.8k|    const char *p_start = NULL;
  425|  92.8k|    const char *p_end = NULL;
  426|  92.8k|    int end_quote_size = 0;
  427|  92.8k|    int unicode_escape = 0;
  428|       |
  429|  92.8k|    tok->start = tok->cur;
  430|  92.8k|    tok->first_lineno = tok->lineno;
  431|  92.8k|    tok->starting_col_offset = tok->col_offset;
  432|       |
  433|       |    // If we start with a bracket, we defer to the normal mode as there is nothing for us to tokenize
  434|       |    // before it.
  435|  92.8k|    int start_char = tok_nextc(tok);
  ------------------
  |  |   44|  92.8k|#define tok_nextc _PyLexer_nextc
  ------------------
  436|  92.8k|    if (start_char == '{') {
  ------------------
  |  Branch (436:9): [True: 17.7k, False: 75.0k]
  ------------------
  437|  17.7k|        int peek1 = tok_nextc(tok);
  ------------------
  |  |   44|  17.7k|#define tok_nextc _PyLexer_nextc
  ------------------
  438|  17.7k|        tok_backup(tok, peek1);
  ------------------
  |  |   45|  17.7k|#define tok_backup _PyLexer_backup
  ------------------
  439|  17.7k|        tok_backup(tok, start_char);
  ------------------
  |  |   45|  17.7k|#define tok_backup _PyLexer_backup
  ------------------
  440|  17.7k|        if (peek1 != '{') {
  ------------------
  |  Branch (440:13): [True: 11.7k, False: 5.97k]
  ------------------
  441|  11.7k|            current_tok->curly_bracket_expr_start_depth++;
  442|  11.7k|            if (current_tok->curly_bracket_expr_start_depth >= MAX_EXPR_NESTING) {
  ------------------
  |  |   46|  11.7k|#define MAX_EXPR_NESTING 3
  ------------------
  |  Branch (442:17): [True: 7, False: 11.7k]
  ------------------
  443|      7|                return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |    8|     14|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (8:65): [True: 7, False: 0]
  |  |  ------------------
  ------------------
  444|      7|                    "%c-string: expressions nested too deeply", TOK_GET_STRING_PREFIX(tok)));
  445|      7|            }
  446|  11.7k|            TOK_GET_MODE(tok)->kind = TOK_REGULAR_MODE;
  ------------------
  |  |   36|  11.7k|#define TOK_GET_MODE(tok) (&(tok)->tok_mode_stack[(tok)->tok_mode_stack_index])
  ------------------
  447|  11.7k|            return _PyLexer_get_normal_mode(tok, current_tok, token);
  448|  11.7k|        }
  449|  17.7k|    }
  450|  75.0k|    else {
  451|  75.0k|        tok_backup(tok, start_char);
  ------------------
  |  |   45|  75.0k|#define tok_backup _PyLexer_backup
  ------------------
  452|  75.0k|    }
  453|       |
  454|       |    // Check if we are at the end of the string
  455|   109k|    for (int i = 0; i < current_tok->quote_size; i++) {
  ------------------
  |  Branch (455:21): [True: 93.0k, False: 16.1k]
  ------------------
  456|  93.0k|        int quote = tok_nextc(tok);
  ------------------
  |  |   44|  93.0k|#define tok_nextc _PyLexer_nextc
  ------------------
  457|  93.0k|        if (quote != current_tok->quote) {
  ------------------
  |  Branch (457:13): [True: 64.9k, False: 28.0k]
  ------------------
  458|  64.9k|            tok_backup(tok, quote);
  ------------------
  |  |   45|  64.9k|#define tok_backup _PyLexer_backup
  ------------------
  459|  64.9k|            goto f_string_middle;
  460|  64.9k|        }
  461|  93.0k|    }
  462|       |
  463|  16.1k|    if (current_tok->last_expr_buffer != NULL) {
  ------------------
  |  Branch (463:9): [True: 4.93k, False: 11.1k]
  ------------------
  464|  4.93k|        PyMem_Free(current_tok->last_expr_buffer);
  465|  4.93k|        current_tok->last_expr_buffer = NULL;
  466|  4.93k|        current_tok->last_expr_size = 0;
  467|  4.93k|        current_tok->last_expr_end = -1;
  468|  4.93k|    }
  469|       |
  470|  16.1k|    p_start = tok->start;
  471|  16.1k|    p_end = tok->cur;
  472|  16.1k|    tok->tok_mode_stack_index--;
  473|  16.1k|    return MAKE_TOKEN(FTSTRING_END(current_tok));
  ------------------
  |  |    8|  32.2k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (8:65): [True: 3.78k, False: 12.3k]
  |  |  ------------------
  ------------------
  474|       |
  475|  64.9k|f_string_middle:
  476|       |
  477|       |    // TODO: This is a bit of a hack, but it works for now. We need to find a better way to handle
  478|       |    // this.
  479|  64.9k|    tok->multi_line_start = tok->line_start;
  480|   962k|    while (end_quote_size != current_tok->quote_size) {
  ------------------
  |  Branch (480:12): [True: 950k, False: 11.9k]
  ------------------
  481|   950k|        int c = tok_nextc(tok);
  ------------------
  |  |   44|   950k|#define tok_nextc _PyLexer_nextc
  ------------------
  482|   950k|        if (tok->done == E_ERROR || tok->done == E_DECODE) {
  ------------------
  |  |   29|  1.90M|#define E_ERROR          17      /* Execution error */
  ------------------
                      if (tok->done == E_ERROR || tok->done == E_DECODE) {
  ------------------
  |  |   34|   950k|#define E_DECODE         22      /* Error in decoding into Unicode */
  ------------------
  |  Branch (482:13): [True: 0, False: 950k]
  |  Branch (482:37): [True: 0, False: 950k]
  ------------------
  483|      0|            return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    8|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  484|      0|        }
  485|   950k|        int in_format_spec = (
  486|   950k|                current_tok->in_format_spec
  ------------------
  |  Branch (486:17): [True: 68.8k, False: 881k]
  ------------------
  487|  68.8k|                &&
  488|  68.8k|                INSIDE_FSTRING_EXPR(current_tok)
  ------------------
  |  |   11|  68.8k|#define INSIDE_FSTRING_EXPR(tok) (tok->curly_bracket_expr_start_depth >= 0)
  |  |  ------------------
  |  |  |  Branch (11:34): [True: 68.8k, False: 0]
  |  |  ------------------
  ------------------
  489|   950k|        );
  490|       |
  491|   950k|       if (c == EOF || (current_tok->quote_size == 1 && c == '\n')) {
  ------------------
  |  Branch (491:12): [True: 146, False: 950k]
  |  Branch (491:25): [True: 149k, False: 800k]
  |  Branch (491:57): [True: 108, False: 149k]
  ------------------
  492|    254|            if (tok->decoding_erred) {
  ------------------
  |  Branch (492:17): [True: 0, False: 254]
  ------------------
  493|      0|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    8|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  494|      0|            }
  495|       |
  496|       |            // If we are in a format spec and we found a newline,
  497|       |            // it means that the format spec ends here and we should
  498|       |            // return to the regular mode.
  499|    254|            if (in_format_spec && c == '\n') {
  ------------------
  |  Branch (499:17): [True: 65, False: 189]
  |  Branch (499:35): [True: 38, False: 27]
  ------------------
  500|     38|                if (current_tok->quote_size == 1) {
  ------------------
  |  Branch (500:21): [True: 38, False: 0]
  ------------------
  501|     38|                    return MAKE_TOKEN(
  ------------------
  |  |    8|    152|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (8:65): [True: 23, False: 15]
  |  |  |  Branch (8:65): [True: 23, False: 15]
  |  |  ------------------
  ------------------
  502|     38|                        _PyTokenizer_syntaxerror(
  503|     38|                            tok,
  504|     38|                            "%c-string: newlines are not allowed in format specifiers for single quoted %c-strings",
  505|     38|                            TOK_GET_STRING_PREFIX(tok), TOK_GET_STRING_PREFIX(tok)
  506|     38|                        )
  507|     38|                    );
  508|     38|                }
  509|      0|                tok_backup(tok, c);
  ------------------
  |  |   45|      0|#define tok_backup _PyLexer_backup
  ------------------
  510|      0|                TOK_GET_MODE(tok)->kind = TOK_REGULAR_MODE;
  ------------------
  |  |   36|      0|#define TOK_GET_MODE(tok) (&(tok)->tok_mode_stack[(tok)->tok_mode_stack_index])
  ------------------
  511|      0|                current_tok->in_format_spec = 0;
  512|      0|                p_start = tok->start;
  513|      0|                p_end = tok->cur;
  514|      0|                return MAKE_TOKEN(FTSTRING_MIDDLE(current_tok));
  ------------------
  |  |    8|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (8:65): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  515|     38|            }
  516|       |
  517|    254|            assert(tok->multi_line_start != NULL);
  ------------------
  |  Branch (517:13): [True: 216, False: 0]
  ------------------
  518|       |            // shift the tok_state's location into
  519|       |            // the start of string, and report the error
  520|       |            // from the initial quote character
  521|    216|            tok->cur = (char *)current_tok->start;
  522|    216|            tok->cur++;
  523|    216|            tok->line_start = current_tok->multi_line_start;
  524|    216|            int start = tok->lineno;
  525|       |
  526|    216|            tokenizer_mode *the_current_tok = TOK_GET_MODE(tok);
  ------------------
  |  |   36|    216|#define TOK_GET_MODE(tok) (&(tok)->tok_mode_stack[(tok)->tok_mode_stack_index])
  ------------------
  527|    216|            tok->lineno = the_current_tok->first_line;
  528|       |
  529|    216|            if (current_tok->quote_size == 3) {
  ------------------
  |  Branch (529:17): [True: 32, False: 184]
  ------------------
  530|     32|                _PyTokenizer_syntaxerror(tok,
  531|     32|                                    "unterminated triple-quoted %c-string literal"
  532|     32|                                    " (detected at line %d)",
  533|     32|                                    TOK_GET_STRING_PREFIX(tok), start);
  ------------------
  |  |   42|     32|#define TOK_GET_STRING_PREFIX(tok) (TOK_GET_MODE(tok)->string_kind == TSTRING ? 't' : 'f')
  |  |  ------------------
  |  |  |  |   36|     32|#define TOK_GET_MODE(tok) (&(tok)->tok_mode_stack[(tok)->tok_mode_stack_index])
  |  |  ------------------
  |  |  |  Branch (42:37): [True: 18, False: 14]
  |  |  ------------------
  ------------------
  534|     32|                if (c != '\n') {
  ------------------
  |  Branch (534:21): [True: 32, False: 0]
  ------------------
  535|     32|                    tok->done = E_EOFS;
  ------------------
  |  |   35|     32|#define E_EOFS           23      /* EOF in triple-quoted string */
  ------------------
  536|     32|                }
  537|     32|                return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    8|     32|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  538|     32|            }
  539|    184|            else {
  540|    184|                return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |    8|    368|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (8:65): [True: 92, False: 92]
  |  |  ------------------
  ------------------
  541|    184|                                    "unterminated %c-string literal (detected at"
  542|    184|                                    " line %d)", TOK_GET_STRING_PREFIX(tok), start));
  543|    184|            }
  544|    216|        }
  545|       |
  546|   950k|        if (c == current_tok->quote) {
  ------------------
  |  Branch (546:13): [True: 39.2k, False: 911k]
  ------------------
  547|  39.2k|            end_quote_size += 1;
  548|  39.2k|            continue;
  549|   911k|        } else {
  550|   911k|            end_quote_size = 0;
  551|   911k|        }
  552|       |
  553|   911k|        if (c == '{') {
  ------------------
  |  Branch (553:13): [True: 25.4k, False: 885k]
  ------------------
  554|  25.4k|            if (!_PyLexer_update_ftstring_expr(tok, c)) {
  ------------------
  |  Branch (554:17): [True: 0, False: 25.4k]
  ------------------
  555|      0|                return MAKE_TOKEN(ENDMARKER);
  ------------------
  |  |    8|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  556|      0|            }
  557|  25.4k|            int peek = tok_nextc(tok);
  ------------------
  |  |   44|  25.4k|#define tok_nextc _PyLexer_nextc
  ------------------
  558|  25.4k|            if (peek != '{' || in_format_spec) {
  ------------------
  |  Branch (558:17): [True: 16.9k, False: 8.50k]
  |  Branch (558:32): [True: 512, False: 7.99k]
  ------------------
  559|  17.4k|                tok_backup(tok, peek);
  ------------------
  |  |   45|  17.4k|#define tok_backup _PyLexer_backup
  ------------------
  560|  17.4k|                tok_backup(tok, c);
  ------------------
  |  |   45|  17.4k|#define tok_backup _PyLexer_backup
  ------------------
  561|  17.4k|                current_tok->curly_bracket_expr_start_depth++;
  562|  17.4k|                if (current_tok->curly_bracket_expr_start_depth >= MAX_EXPR_NESTING) {
  ------------------
  |  |   46|  17.4k|#define MAX_EXPR_NESTING 3
  ------------------
  |  Branch (562:21): [True: 6, False: 17.4k]
  ------------------
  563|      6|                    return MAKE_TOKEN(_PyTokenizer_syntaxerror(tok,
  ------------------
  |  |    8|     12|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (8:65): [True: 4, False: 2]
  |  |  ------------------
  ------------------
  564|      6|                        "%c-string: expressions nested too deeply", TOK_GET_STRING_PREFIX(tok)));
  565|      6|                }
  566|  17.4k|                TOK_GET_MODE(tok)->kind = TOK_REGULAR_MODE;
  ------------------
  |  |   36|  17.4k|#define TOK_GET_MODE(tok) (&(tok)->tok_mode_stack[(tok)->tok_mode_stack_index])
  ------------------
  567|  17.4k|                current_tok->in_format_spec = 0;
  568|  17.4k|                p_start = tok->start;
  569|  17.4k|                p_end = tok->cur;
  570|  17.4k|            } else {
  571|  7.99k|                p_start = tok->start;
  572|  7.99k|                p_end = tok->cur - 1;
  573|  7.99k|            }
  574|  25.4k|            return MAKE_TOKEN(FTSTRING_MIDDLE(current_tok));
  ------------------
  |  |    8|  50.9k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (8:65): [True: 7.35k, False: 18.1k]
  |  |  ------------------
  ------------------
  575|   885k|        } else if (c == '}') {
  ------------------
  |  Branch (575:20): [True: 27.2k, False: 858k]
  ------------------
  576|  27.2k|            if (unicode_escape) {
  ------------------
  |  Branch (576:17): [True: 348, False: 26.9k]
  ------------------
  577|    348|                p_start = tok->start;
  578|    348|                p_end = tok->cur;
  579|    348|                return MAKE_TOKEN(FTSTRING_MIDDLE(current_tok));
  ------------------
  |  |    8|    696|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (8:65): [True: 15, False: 333]
  |  |  ------------------
  ------------------
  580|    348|            }
  581|  26.9k|            int peek = tok_nextc(tok);
  ------------------
  |  |   44|  26.9k|#define tok_nextc _PyLexer_nextc
  ------------------
  582|       |
  583|       |            // The tokenizer can only be in the format spec if we have already completed the expression
  584|       |            // scanning (indicated by the end of the expression being set) and we are not at the top level
  585|       |            // of the bracket stack (-1 is the top level). Since format specifiers can't legally use double
  586|       |            // brackets, we can bypass it here.
  587|  26.9k|            int cursor = current_tok->curly_bracket_depth;
  588|  26.9k|            if (peek == '}' && !in_format_spec && cursor == 0) {
  ------------------
  |  Branch (588:17): [True: 21.2k, False: 5.70k]
  |  Branch (588:32): [True: 19.3k, False: 1.90k]
  |  Branch (588:51): [True: 15.2k, False: 4.08k]
  ------------------
  589|  15.2k|                p_start = tok->start;
  590|  15.2k|                p_end = tok->cur - 1;
  591|  15.2k|            } else {
  592|  11.6k|                tok_backup(tok, peek);
  ------------------
  |  |   45|  11.6k|#define tok_backup _PyLexer_backup
  ------------------
  593|  11.6k|                tok_backup(tok, c);
  ------------------
  |  |   45|  11.6k|#define tok_backup _PyLexer_backup
  ------------------
  594|  11.6k|                TOK_GET_MODE(tok)->kind = TOK_REGULAR_MODE;
  ------------------
  |  |   36|  11.6k|#define TOK_GET_MODE(tok) (&(tok)->tok_mode_stack[(tok)->tok_mode_stack_index])
  ------------------
  595|  11.6k|                current_tok->in_format_spec = 0;
  596|  11.6k|                p_start = tok->start;
  597|  11.6k|                p_end = tok->cur;
  598|  11.6k|            }
  599|  26.9k|            return MAKE_TOKEN(FTSTRING_MIDDLE(current_tok));
  ------------------
  |  |    8|  53.8k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (8:65): [True: 6.95k, False: 19.9k]
  |  |  ------------------
  ------------------
  600|   858k|        } else if (c == '\\') {
  ------------------
  |  Branch (600:20): [True: 20.7k, False: 837k]
  ------------------
  601|  20.7k|            int peek = tok_nextc(tok);
  ------------------
  |  |   44|  20.7k|#define tok_nextc _PyLexer_nextc
  ------------------
  602|  20.7k|            if (peek == '\r') {
  ------------------
  |  Branch (602:17): [True: 0, False: 20.7k]
  ------------------
  603|      0|                peek = tok_nextc(tok);
  ------------------
  |  |   44|      0|#define tok_nextc _PyLexer_nextc
  ------------------
  604|      0|            }
  605|       |            // Special case when the backslash is right before a curly
  606|       |            // brace. We have to restore and return the control back
  607|       |            // to the loop for the next iteration.
  608|  20.7k|            if (peek == '{' || peek == '}') {
  ------------------
  |  Branch (608:17): [True: 2.06k, False: 18.6k]
  |  Branch (608:32): [True: 2.09k, False: 16.5k]
  ------------------
  609|  4.15k|                if (!current_tok->raw) {
  ------------------
  |  Branch (609:21): [True: 3.95k, False: 193]
  ------------------
  610|  3.95k|                    if (_PyTokenizer_warn_invalid_escape_sequence(tok, peek)) {
  ------------------
  |  Branch (610:25): [True: 0, False: 3.95k]
  ------------------
  611|      0|                        return MAKE_TOKEN(ERRORTOKEN);
  ------------------
  |  |    8|      0|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  612|      0|                    }
  613|  3.95k|                }
  614|  4.15k|                tok_backup(tok, peek);
  ------------------
  |  |   45|  4.15k|#define tok_backup _PyLexer_backup
  ------------------
  615|  4.15k|                continue;
  616|  4.15k|            }
  617|       |
  618|  16.5k|            if (!current_tok->raw) {
  ------------------
  |  Branch (618:17): [True: 15.2k, False: 1.34k]
  ------------------
  619|  15.2k|                if (peek == 'N') {
  ------------------
  |  Branch (619:21): [True: 578, False: 14.6k]
  ------------------
  620|       |                    /* Handle named unicode escapes (\N{BULLET}) */
  621|    578|                    peek = tok_nextc(tok);
  ------------------
  |  |   44|    578|#define tok_nextc _PyLexer_nextc
  ------------------
  622|    578|                    if (peek == '{') {
  ------------------
  |  Branch (622:25): [True: 364, False: 214]
  ------------------
  623|    364|                        unicode_escape = 1;
  624|    364|                    } else {
  625|    214|                        tok_backup(tok, peek);
  ------------------
  |  |   45|    214|#define tok_backup _PyLexer_backup
  ------------------
  626|    214|                    }
  627|    578|                }
  628|  15.2k|            } /* else {
  629|       |                skip the escaped character
  630|       |            }*/
  631|  16.5k|        }
  632|   911k|    }
  633|       |
  634|       |    // Backup the f-string quotes to emit a final FSTRING_MIDDLE and
  635|       |    // add the quotes to the FSTRING_END in the next tokenizer iteration.
  636|  35.3k|    for (int i = 0; i < current_tok->quote_size; i++) {
  ------------------
  |  Branch (636:21): [True: 23.4k, False: 11.9k]
  ------------------
  637|  23.4k|        tok_backup(tok, current_tok->quote);
  ------------------
  |  |   45|  23.4k|#define tok_backup _PyLexer_backup
  ------------------
  638|  23.4k|    }
  639|  11.9k|    p_start = tok->start;
  640|  11.9k|    p_end = tok->cur;
  641|  11.9k|    return MAKE_TOKEN(FTSTRING_MIDDLE(current_tok));
  ------------------
  |  |    8|  23.8k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (8:65): [True: 2.72k, False: 9.20k]
  |  |  ------------------
  ------------------
  642|  64.9k|}

_PyPegen_parse:
39609|  31.7k|{
39610|       |    // Initialize keywords
39611|  31.7k|    p->keywords = reserved_keywords;
39612|  31.7k|    p->n_keyword_lists = n_keyword_lists;
39613|  31.7k|    p->soft_keywords = soft_keywords;
39614|       |
39615|       |    // Run parser
39616|  31.7k|    void *result = NULL;
39617|  31.7k|    if (p->start_rule == Py_file_input) {
  ------------------
  |  |    9|  31.7k|#define Py_file_input 257
  ------------------
  |  Branch (39617:9): [True: 19.1k, False: 12.6k]
  ------------------
39618|  19.1k|        result = file_rule(p);
39619|  19.1k|    } else if (p->start_rule == Py_single_input) {
  ------------------
  |  |    8|  12.6k|#define Py_single_input 256
  ------------------
  |  Branch (39619:16): [True: 8.01k, False: 4.58k]
  ------------------
39620|  8.01k|        result = interactive_rule(p);
39621|  8.01k|    } else if (p->start_rule == Py_eval_input) {
  ------------------
  |  |   10|  4.58k|#define Py_eval_input 258
  ------------------
  |  Branch (39621:16): [True: 4.58k, False: 0]
  ------------------
39622|  4.58k|        result = eval_rule(p);
39623|  4.58k|    } else if (p->start_rule == Py_func_type_input) {
  ------------------
  |  |   11|      0|#define Py_func_type_input 345
  ------------------
  |  Branch (39623:16): [True: 0, False: 0]
  ------------------
39624|      0|        result = func_type_rule(p);
39625|      0|    }
39626|       |
39627|  31.7k|    return result;
39628|  31.7k|}
parser.c:file_rule:
 1013|  19.1k|{
 1014|  19.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  38.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1014:9): [True: 0, False: 19.1k]
  |  Branch (1014:35): [True: 0, False: 19.1k]
  ------------------
 1015|      0|        _Pypegen_stack_overflow(p);
 1016|      0|    }
 1017|  19.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (1017:9): [True: 872, False: 18.2k]
  ------------------
 1018|    872|        p->level--;
 1019|    872|        return NULL;
 1020|    872|    }
 1021|  18.2k|    mod_ty _res = NULL;
 1022|  18.2k|    int _mark = p->mark;
 1023|  18.2k|    { // statements? $
 1024|  18.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (1024:13): [True: 0, False: 18.2k]
  ------------------
 1025|      0|            p->level--;
 1026|      0|            return NULL;
 1027|      0|        }
 1028|  18.2k|        D(fprintf(stderr, "%*c> file[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "statements? $"));
 1029|  18.2k|        void *a;
 1030|  18.2k|        Token * endmarker_var;
 1031|  18.2k|        if (
 1032|  18.2k|            (a = statements_rule(p), !p->error_indicator)  // statements?
  ------------------
  |  Branch (1032:13): [True: 15.5k, False: 2.71k]
  ------------------
 1033|  15.5k|            &&
 1034|  15.5k|            (endmarker_var = _PyPegen_expect_token(p, ENDMARKER))  // token='ENDMARKER'
  ------------------
  |  |   16|  15.5k|#define ENDMARKER       0
  ------------------
  |  Branch (1034:13): [True: 8.74k, False: 6.76k]
  ------------------
 1035|  18.2k|        )
 1036|  8.74k|        {
 1037|  8.74k|            D(fprintf(stderr, "%*c+ file[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "statements? $"));
 1038|  8.74k|            _res = _PyPegen_make_module ( p , a );
 1039|  8.74k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1039:18): [True: 2, False: 8.74k]
  |  Branch (1039:34): [True: 0, False: 8.74k]
  |  Branch (1039:57): [True: 2, False: 0]
  ------------------
 1040|      2|                p->error_indicator = 1;
 1041|      2|                p->level--;
 1042|      2|                return NULL;
 1043|      2|            }
 1044|  8.74k|            goto done;
 1045|  8.74k|        }
 1046|  9.48k|        p->mark = _mark;
 1047|  9.48k|        D(fprintf(stderr, "%*c%s file[%d-%d]: %s failed!\n", p->level, ' ',
 1048|  9.48k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "statements? $"));
 1049|  9.48k|    }
 1050|  9.48k|    _res = NULL;
 1051|  18.2k|  done:
 1052|  18.2k|    p->level--;
 1053|  18.2k|    return _res;
 1054|  9.48k|}
parser.c:statements_rule:
 1212|  37.8k|{
 1213|  37.8k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  75.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1213:9): [True: 0, False: 37.8k]
  |  Branch (1213:35): [True: 0, False: 37.8k]
  ------------------
 1214|      0|        _Pypegen_stack_overflow(p);
 1215|      0|    }
 1216|  37.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (1216:9): [True: 0, False: 37.8k]
  ------------------
 1217|      0|        p->level--;
 1218|      0|        return NULL;
 1219|      0|    }
 1220|  37.8k|    asdl_stmt_seq* _res = NULL;
 1221|  37.8k|    int _mark = p->mark;
 1222|  37.8k|    { // statement+
 1223|  37.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (1223:13): [True: 0, False: 37.8k]
  ------------------
 1224|      0|            p->level--;
 1225|      0|            return NULL;
 1226|      0|        }
 1227|  37.8k|        D(fprintf(stderr, "%*c> statements[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "statement+"));
 1228|  37.8k|        asdl_seq * a;
 1229|  37.8k|        if (
 1230|  37.8k|            (a = _loop1_2_rule(p))  // statement+
  ------------------
  |  Branch (1230:13): [True: 29.5k, False: 8.34k]
  ------------------
 1231|  37.8k|        )
 1232|  29.5k|        {
 1233|  29.5k|            D(fprintf(stderr, "%*c+ statements[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "statement+"));
 1234|  29.5k|            _res = ( asdl_stmt_seq* ) _PyPegen_seq_flatten ( p , a );
 1235|  29.5k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1235:18): [True: 0, False: 29.5k]
  |  Branch (1235:34): [True: 0, False: 29.5k]
  |  Branch (1235:57): [True: 0, False: 0]
  ------------------
 1236|      0|                p->error_indicator = 1;
 1237|      0|                p->level--;
 1238|      0|                return NULL;
 1239|      0|            }
 1240|  29.5k|            goto done;
 1241|  29.5k|        }
 1242|  8.34k|        p->mark = _mark;
 1243|  8.34k|        D(fprintf(stderr, "%*c%s statements[%d-%d]: %s failed!\n", p->level, ' ',
 1244|  8.34k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "statement+"));
 1245|  8.34k|    }
 1246|  8.34k|    _res = NULL;
 1247|  37.8k|  done:
 1248|  37.8k|    p->level--;
 1249|  37.8k|    return _res;
 1250|  8.34k|}
parser.c:_loop1_2_rule:
28703|  37.8k|{
28704|  37.8k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  75.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28704:9): [True: 0, False: 37.8k]
  |  Branch (28704:35): [True: 0, False: 37.8k]
  ------------------
28705|      0|        _Pypegen_stack_overflow(p);
28706|      0|    }
28707|  37.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (28707:9): [True: 0, False: 37.8k]
  ------------------
28708|      0|        p->level--;
28709|      0|        return NULL;
28710|      0|    }
28711|  37.8k|    void *_res = NULL;
28712|  37.8k|    int _mark = p->mark;
28713|  37.8k|    void **_children = PyMem_Malloc(sizeof(void *));
28714|  37.8k|    if (!_children) {
  ------------------
  |  Branch (28714:9): [True: 0, False: 37.8k]
  ------------------
28715|      0|        p->error_indicator = 1;
28716|      0|        PyErr_NoMemory();
28717|      0|        p->level--;
28718|      0|        return NULL;
28719|      0|    }
28720|  37.8k|    Py_ssize_t _children_capacity = 1;
28721|  37.8k|    Py_ssize_t _n = 0;
28722|  37.8k|    { // statement
28723|  37.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (28723:13): [True: 0, False: 37.8k]
  ------------------
28724|      0|            p->level--;
28725|      0|            return NULL;
28726|      0|        }
28727|  37.8k|        D(fprintf(stderr, "%*c> _loop1_2[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "statement"));
28728|  37.8k|        asdl_stmt_seq* statement_var;
28729|  37.8k|        while (
28730|   207k|            (statement_var = statement_rule(p))  // statement
  ------------------
  |  Branch (28730:13): [True: 169k, False: 37.8k]
  ------------------
28731|  37.8k|        )
28732|   169k|        {
28733|   169k|            _res = statement_var;
28734|   169k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (28734:17): [True: 22.2k, False: 147k]
  ------------------
28735|  22.2k|                _children_capacity *= 2;
28736|  22.2k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
28737|  22.2k|                if (!_new_children) {
  ------------------
  |  Branch (28737:21): [True: 0, False: 22.2k]
  ------------------
28738|      0|                    PyMem_Free(_children);
28739|      0|                    p->error_indicator = 1;
28740|      0|                    PyErr_NoMemory();
28741|      0|                    p->level--;
28742|      0|                    return NULL;
28743|      0|                }
28744|  22.2k|                _children = _new_children;
28745|  22.2k|            }
28746|   169k|            _children[_n++] = _res;
28747|   169k|            _mark = p->mark;
28748|   169k|        }
28749|  37.8k|        p->mark = _mark;
28750|  37.8k|        D(fprintf(stderr, "%*c%s _loop1_2[%d-%d]: %s failed!\n", p->level, ' ',
28751|  37.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "statement"));
28752|  37.8k|    }
28753|  37.8k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (28753:9): [True: 7.80k, False: 30.0k]
  |  Branch (28753:20): [True: 541, False: 29.5k]
  ------------------
28754|  8.34k|        PyMem_Free(_children);
28755|  8.34k|        p->level--;
28756|  8.34k|        return NULL;
28757|  8.34k|    }
28758|  29.5k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
28759|  29.5k|    if (!_seq) {
  ------------------
  |  Branch (28759:9): [True: 0, False: 29.5k]
  ------------------
28760|      0|        PyMem_Free(_children);
28761|      0|        p->error_indicator = 1;
28762|      0|        PyErr_NoMemory();
28763|      0|        p->level--;
28764|      0|        return NULL;
28765|      0|    }
28766|   192k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|   163k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|   192k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (28766:28): [True: 163k, False: 29.5k]
  ------------------
28767|  29.5k|    PyMem_Free(_children);
28768|  29.5k|    p->level--;
28769|  29.5k|    return _seq;
28770|  29.5k|}
parser.c:statement_rule:
 1255|   207k|{
 1256|   207k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   414k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1256:9): [True: 0, False: 207k]
  |  Branch (1256:35): [True: 0, False: 207k]
  ------------------
 1257|      0|        _Pypegen_stack_overflow(p);
 1258|      0|    }
 1259|   207k|    if (p->error_indicator) {
  ------------------
  |  Branch (1259:9): [True: 0, False: 207k]
  ------------------
 1260|      0|        p->level--;
 1261|      0|        return NULL;
 1262|      0|    }
 1263|   207k|    asdl_stmt_seq* _res = NULL;
 1264|   207k|    int _mark = p->mark;
 1265|   207k|    { // compound_stmt
 1266|   207k|        if (p->error_indicator) {
  ------------------
  |  Branch (1266:13): [True: 0, False: 207k]
  ------------------
 1267|      0|            p->level--;
 1268|      0|            return NULL;
 1269|      0|        }
 1270|   207k|        D(fprintf(stderr, "%*c> statement[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "compound_stmt"));
 1271|   207k|        stmt_ty a;
 1272|   207k|        if (
 1273|   207k|            (a = compound_stmt_rule(p))  // compound_stmt
  ------------------
  |  Branch (1273:13): [True: 54.5k, False: 152k]
  ------------------
 1274|   207k|        )
 1275|  54.5k|        {
 1276|  54.5k|            D(fprintf(stderr, "%*c+ statement[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "compound_stmt"));
 1277|  54.5k|            _res = _PyPegen_register_stmts ( p , ( asdl_stmt_seq* ) _PyPegen_singleton_seq ( p , a ) );
 1278|  54.5k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1278:18): [True: 0, False: 54.5k]
  |  Branch (1278:34): [True: 0, False: 54.5k]
  |  Branch (1278:57): [True: 0, False: 0]
  ------------------
 1279|      0|                p->error_indicator = 1;
 1280|      0|                p->level--;
 1281|      0|                return NULL;
 1282|      0|            }
 1283|  54.5k|            goto done;
 1284|  54.5k|        }
 1285|   152k|        p->mark = _mark;
 1286|   152k|        D(fprintf(stderr, "%*c%s statement[%d-%d]: %s failed!\n", p->level, ' ',
 1287|   152k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "compound_stmt"));
 1288|   152k|    }
 1289|      0|    { // simple_stmts
 1290|   152k|        if (p->error_indicator) {
  ------------------
  |  Branch (1290:13): [True: 1.08k, False: 151k]
  ------------------
 1291|  1.08k|            p->level--;
 1292|  1.08k|            return NULL;
 1293|  1.08k|        }
 1294|   151k|        D(fprintf(stderr, "%*c> statement[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "simple_stmts"));
 1295|   151k|        asdl_stmt_seq* a;
 1296|   151k|        if (
 1297|   151k|            (a = (asdl_stmt_seq*)simple_stmts_rule(p))  // simple_stmts
  ------------------
  |  Branch (1297:13): [True: 115k, False: 36.7k]
  ------------------
 1298|   151k|        )
 1299|   115k|        {
 1300|   115k|            D(fprintf(stderr, "%*c+ statement[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "simple_stmts"));
 1301|   115k|            _res = a;
 1302|   115k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1302:18): [True: 0, False: 115k]
  |  Branch (1302:34): [True: 0, False: 115k]
  |  Branch (1302:57): [True: 0, False: 0]
  ------------------
 1303|      0|                p->error_indicator = 1;
 1304|      0|                p->level--;
 1305|      0|                return NULL;
 1306|      0|            }
 1307|   115k|            goto done;
 1308|   115k|        }
 1309|  36.7k|        p->mark = _mark;
 1310|  36.7k|        D(fprintf(stderr, "%*c%s statement[%d-%d]: %s failed!\n", p->level, ' ',
 1311|  36.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "simple_stmts"));
 1312|  36.7k|    }
 1313|  36.7k|    _res = NULL;
 1314|   206k|  done:
 1315|   206k|    p->level--;
 1316|   206k|    return _res;
 1317|  36.7k|}
parser.c:compound_stmt_rule:
 1934|   214k|{
 1935|   214k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   429k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1935:9): [True: 0, False: 214k]
  |  Branch (1935:35): [True: 0, False: 214k]
  ------------------
 1936|      0|        _Pypegen_stack_overflow(p);
 1937|      0|    }
 1938|   214k|    if (p->error_indicator) {
  ------------------
  |  Branch (1938:9): [True: 0, False: 214k]
  ------------------
 1939|      0|        p->level--;
 1940|      0|        return NULL;
 1941|      0|    }
 1942|   214k|    stmt_ty _res = NULL;
 1943|   214k|    int _mark = p->mark;
 1944|   214k|    { // &('def' | '@' | 'async') function_def
 1945|   214k|        if (p->error_indicator) {
  ------------------
  |  Branch (1945:13): [True: 0, False: 214k]
  ------------------
 1946|      0|            p->level--;
 1947|      0|            return NULL;
 1948|      0|        }
 1949|   214k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&('def' | '@' | 'async') function_def"));
 1950|   214k|        stmt_ty function_def_var;
 1951|   214k|        if (
 1952|   214k|            _PyPegen_lookahead(1, _tmp_6_rule, p)
  ------------------
  |  Branch (1952:13): [True: 20.1k, False: 194k]
  ------------------
 1953|  20.1k|            &&
 1954|  20.1k|            (function_def_var = function_def_rule(p))  // function_def
  ------------------
  |  Branch (1954:13): [True: 14.2k, False: 5.89k]
  ------------------
 1955|   214k|        )
 1956|  14.2k|        {
 1957|  14.2k|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&('def' | '@' | 'async') function_def"));
 1958|  14.2k|            _res = function_def_var;
 1959|  14.2k|            goto done;
 1960|  14.2k|        }
 1961|   200k|        p->mark = _mark;
 1962|   200k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1963|   200k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&('def' | '@' | 'async') function_def"));
 1964|   200k|    }
 1965|      0|    { // &'if' if_stmt
 1966|   200k|        if (p->error_indicator) {
  ------------------
  |  Branch (1966:13): [True: 537, False: 199k]
  ------------------
 1967|    537|            p->level--;
 1968|    537|            return NULL;
 1969|    537|        }
 1970|   199k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'if' if_stmt"));
 1971|   199k|        stmt_ty if_stmt_var;
 1972|   199k|        if (
 1973|   199k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 700)  // token='if'
  ------------------
  |  Branch (1973:13): [True: 2.82k, False: 196k]
  ------------------
 1974|  2.82k|            &&
 1975|  2.82k|            (if_stmt_var = if_stmt_rule(p))  // if_stmt
  ------------------
  |  Branch (1975:13): [True: 2.71k, False: 110]
  ------------------
 1976|   199k|        )
 1977|  2.71k|        {
 1978|  2.71k|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'if' if_stmt"));
 1979|  2.71k|            _res = if_stmt_var;
 1980|  2.71k|            goto done;
 1981|  2.71k|        }
 1982|   197k|        p->mark = _mark;
 1983|   197k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1984|   197k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'if' if_stmt"));
 1985|   197k|    }
 1986|      0|    { // &('class' | '@') class_def
 1987|   197k|        if (p->error_indicator) {
  ------------------
  |  Branch (1987:13): [True: 54, False: 196k]
  ------------------
 1988|     54|            p->level--;
 1989|     54|            return NULL;
 1990|     54|        }
 1991|   196k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&('class' | '@') class_def"));
 1992|   196k|        stmt_ty class_def_var;
 1993|   196k|        if (
 1994|   196k|            _PyPegen_lookahead(1, _tmp_7_rule, p)
  ------------------
  |  Branch (1994:13): [True: 17.4k, False: 179k]
  ------------------
 1995|  17.4k|            &&
 1996|  17.4k|            (class_def_var = class_def_rule(p))  // class_def
  ------------------
  |  Branch (1996:13): [True: 17.1k, False: 351]
  ------------------
 1997|   196k|        )
 1998|  17.1k|        {
 1999|  17.1k|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&('class' | '@') class_def"));
 2000|  17.1k|            _res = class_def_var;
 2001|  17.1k|            goto done;
 2002|  17.1k|        }
 2003|   179k|        p->mark = _mark;
 2004|   179k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2005|   179k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&('class' | '@') class_def"));
 2006|   179k|    }
 2007|      0|    { // &('with' | 'async') with_stmt
 2008|   179k|        if (p->error_indicator) {
  ------------------
  |  Branch (2008:13): [True: 58, False: 179k]
  ------------------
 2009|     58|            p->level--;
 2010|     58|            return NULL;
 2011|     58|        }
 2012|   179k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&('with' | 'async') with_stmt"));
 2013|   179k|        stmt_ty with_stmt_var;
 2014|   179k|        if (
 2015|   179k|            _PyPegen_lookahead(1, _tmp_8_rule, p)
  ------------------
  |  Branch (2015:13): [True: 6.92k, False: 172k]
  ------------------
 2016|  6.92k|            &&
 2017|  6.92k|            (with_stmt_var = with_stmt_rule(p))  // with_stmt
  ------------------
  |  Branch (2017:13): [True: 5.75k, False: 1.17k]
  ------------------
 2018|   179k|        )
 2019|  5.75k|        {
 2020|  5.75k|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&('with' | 'async') with_stmt"));
 2021|  5.75k|            _res = with_stmt_var;
 2022|  5.75k|            goto done;
 2023|  5.75k|        }
 2024|   174k|        p->mark = _mark;
 2025|   174k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2026|   174k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&('with' | 'async') with_stmt"));
 2027|   174k|    }
 2028|      0|    { // &('for' | 'async') for_stmt
 2029|   174k|        if (p->error_indicator) {
  ------------------
  |  Branch (2029:13): [True: 101, False: 173k]
  ------------------
 2030|    101|            p->level--;
 2031|    101|            return NULL;
 2032|    101|        }
 2033|   173k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&('for' | 'async') for_stmt"));
 2034|   173k|        stmt_ty for_stmt_var;
 2035|   173k|        if (
 2036|   173k|            _PyPegen_lookahead(1, _tmp_9_rule, p)
  ------------------
  |  Branch (2036:13): [True: 2.81k, False: 171k]
  ------------------
 2037|  2.81k|            &&
 2038|  2.81k|            (for_stmt_var = for_stmt_rule(p))  // for_stmt
  ------------------
  |  Branch (2038:13): [True: 2.36k, False: 459]
  ------------------
 2039|   173k|        )
 2040|  2.36k|        {
 2041|  2.36k|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&('for' | 'async') for_stmt"));
 2042|  2.36k|            _res = for_stmt_var;
 2043|  2.36k|            goto done;
 2044|  2.36k|        }
 2045|   171k|        p->mark = _mark;
 2046|   171k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2047|   171k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&('for' | 'async') for_stmt"));
 2048|   171k|    }
 2049|      0|    { // &'try' try_stmt
 2050|   171k|        if (p->error_indicator) {
  ------------------
  |  Branch (2050:13): [True: 40, False: 171k]
  ------------------
 2051|     40|            p->level--;
 2052|     40|            return NULL;
 2053|     40|        }
 2054|   171k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'try' try_stmt"));
 2055|   171k|        stmt_ty try_stmt_var;
 2056|   171k|        if (
 2057|   171k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 674)  // token='try'
  ------------------
  |  Branch (2057:13): [True: 9.52k, False: 162k]
  ------------------
 2058|  9.52k|            &&
 2059|  9.52k|            (try_stmt_var = try_stmt_rule(p))  // try_stmt
  ------------------
  |  Branch (2059:13): [True: 8.97k, False: 558]
  ------------------
 2060|   171k|        )
 2061|  8.97k|        {
 2062|  8.97k|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'try' try_stmt"));
 2063|  8.97k|            _res = try_stmt_var;
 2064|  8.97k|            goto done;
 2065|  8.97k|        }
 2066|   162k|        p->mark = _mark;
 2067|   162k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2068|   162k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'try' try_stmt"));
 2069|   162k|    }
 2070|      0|    { // &'while' while_stmt
 2071|   162k|        if (p->error_indicator) {
  ------------------
  |  Branch (2071:13): [True: 198, False: 162k]
  ------------------
 2072|    198|            p->level--;
 2073|    198|            return NULL;
 2074|    198|        }
 2075|   162k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'while' while_stmt"));
 2076|   162k|        stmt_ty while_stmt_var;
 2077|   162k|        if (
 2078|   162k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 707)  // token='while'
  ------------------
  |  Branch (2078:13): [True: 3.18k, False: 159k]
  ------------------
 2079|  3.18k|            &&
 2080|  3.18k|            (while_stmt_var = while_stmt_rule(p))  // while_stmt
  ------------------
  |  Branch (2080:13): [True: 3.12k, False: 57]
  ------------------
 2081|   162k|        )
 2082|  3.12k|        {
 2083|  3.12k|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'while' while_stmt"));
 2084|  3.12k|            _res = while_stmt_var;
 2085|  3.12k|            goto done;
 2086|  3.12k|        }
 2087|   159k|        p->mark = _mark;
 2088|   159k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2089|   159k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'while' while_stmt"));
 2090|   159k|    }
 2091|      0|    { // match_stmt
 2092|   159k|        if (p->error_indicator) {
  ------------------
  |  Branch (2092:13): [True: 16, False: 159k]
  ------------------
 2093|     16|            p->level--;
 2094|     16|            return NULL;
 2095|     16|        }
 2096|   159k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "match_stmt"));
 2097|   159k|        stmt_ty match_stmt_var;
 2098|   159k|        if (
 2099|   159k|            (match_stmt_var = match_stmt_rule(p))  // match_stmt
  ------------------
  |  Branch (2099:13): [True: 287, False: 158k]
  ------------------
 2100|   159k|        )
 2101|    287|        {
 2102|    287|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "match_stmt"));
 2103|    287|            _res = match_stmt_var;
 2104|    287|            goto done;
 2105|    287|        }
 2106|   158k|        p->mark = _mark;
 2107|   158k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2108|   158k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "match_stmt"));
 2109|   158k|    }
 2110|   158k|    _res = NULL;
 2111|   213k|  done:
 2112|   213k|    p->level--;
 2113|   213k|    return _res;
 2114|   158k|}
parser.c:_tmp_6_rule:
28968|   214k|{
28969|   214k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   429k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28969:9): [True: 0, False: 214k]
  |  Branch (28969:35): [True: 0, False: 214k]
  ------------------
28970|      0|        _Pypegen_stack_overflow(p);
28971|      0|    }
28972|   214k|    if (p->error_indicator) {
  ------------------
  |  Branch (28972:9): [True: 0, False: 214k]
  ------------------
28973|      0|        p->level--;
28974|      0|        return NULL;
28975|      0|    }
28976|   214k|    void * _res = NULL;
28977|   214k|    int _mark = p->mark;
28978|   214k|    { // 'def'
28979|   214k|        if (p->error_indicator) {
  ------------------
  |  Branch (28979:13): [True: 0, False: 214k]
  ------------------
28980|      0|            p->level--;
28981|      0|            return NULL;
28982|      0|        }
28983|   214k|        D(fprintf(stderr, "%*c> _tmp_6[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'def'"));
28984|   214k|        Token * _keyword;
28985|   214k|        if (
28986|   214k|            (_keyword = _PyPegen_expect_token(p, 717))  // token='def'
  ------------------
  |  Branch (28986:13): [True: 8.50k, False: 206k]
  ------------------
28987|   214k|        )
28988|  8.50k|        {
28989|  8.50k|            D(fprintf(stderr, "%*c+ _tmp_6[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'def'"));
28990|  8.50k|            _res = _keyword;
28991|  8.50k|            goto done;
28992|  8.50k|        }
28993|   206k|        p->mark = _mark;
28994|   206k|        D(fprintf(stderr, "%*c%s _tmp_6[%d-%d]: %s failed!\n", p->level, ' ',
28995|   206k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'def'"));
28996|   206k|    }
28997|      0|    { // '@'
28998|   206k|        if (p->error_indicator) {
  ------------------
  |  Branch (28998:13): [True: 278, False: 205k]
  ------------------
28999|    278|            p->level--;
29000|    278|            return NULL;
29001|    278|        }
29002|   205k|        D(fprintf(stderr, "%*c> _tmp_6[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'@'"));
29003|   205k|        Token * _literal;
29004|   205k|        if (
29005|   205k|            (_literal = _PyPegen_expect_token(p, 49))  // token='@'
  ------------------
  |  Branch (29005:13): [True: 1.80k, False: 204k]
  ------------------
29006|   205k|        )
29007|  1.80k|        {
29008|  1.80k|            D(fprintf(stderr, "%*c+ _tmp_6[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'@'"));
29009|  1.80k|            _res = _literal;
29010|  1.80k|            goto done;
29011|  1.80k|        }
29012|   204k|        p->mark = _mark;
29013|   204k|        D(fprintf(stderr, "%*c%s _tmp_6[%d-%d]: %s failed!\n", p->level, ' ',
29014|   204k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'@'"));
29015|   204k|    }
29016|      0|    { // 'async'
29017|   204k|        if (p->error_indicator) {
  ------------------
  |  Branch (29017:13): [True: 0, False: 204k]
  ------------------
29018|      0|            p->level--;
29019|      0|            return NULL;
29020|      0|        }
29021|   204k|        D(fprintf(stderr, "%*c> _tmp_6[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'"));
29022|   204k|        Token * _keyword;
29023|   204k|        if (
29024|   204k|            (_keyword = _PyPegen_expect_token(p, 716))  // token='async'
  ------------------
  |  Branch (29024:13): [True: 9.89k, False: 194k]
  ------------------
29025|   204k|        )
29026|  9.89k|        {
29027|  9.89k|            D(fprintf(stderr, "%*c+ _tmp_6[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'"));
29028|  9.89k|            _res = _keyword;
29029|  9.89k|            goto done;
29030|  9.89k|        }
29031|   194k|        p->mark = _mark;
29032|   194k|        D(fprintf(stderr, "%*c%s _tmp_6[%d-%d]: %s failed!\n", p->level, ' ',
29033|   194k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'"));
29034|   194k|    }
29035|   194k|    _res = NULL;
29036|   214k|  done:
29037|   214k|    p->level--;
29038|   214k|    return _res;
29039|   194k|}
parser.c:function_def_rule:
 4598|  20.1k|{
 4599|  20.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  40.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4599:9): [True: 0, False: 20.1k]
  |  Branch (4599:35): [True: 0, False: 20.1k]
  ------------------
 4600|      0|        _Pypegen_stack_overflow(p);
 4601|      0|    }
 4602|  20.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (4602:9): [True: 0, False: 20.1k]
  ------------------
 4603|      0|        p->level--;
 4604|      0|        return NULL;
 4605|      0|    }
 4606|  20.1k|    stmt_ty _res = NULL;
 4607|  20.1k|    int _mark = p->mark;
 4608|  20.1k|    { // decorators function_def_raw
 4609|  20.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (4609:13): [True: 0, False: 20.1k]
  ------------------
 4610|      0|            p->level--;
 4611|      0|            return NULL;
 4612|      0|        }
 4613|  20.1k|        D(fprintf(stderr, "%*c> function_def[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "decorators function_def_raw"));
 4614|  20.1k|        asdl_expr_seq* d;
 4615|  20.1k|        stmt_ty f;
 4616|  20.1k|        if (
 4617|  20.1k|            (d = decorators_rule(p))  // decorators
  ------------------
  |  Branch (4617:13): [True: 1.73k, False: 18.4k]
  ------------------
 4618|  1.73k|            &&
 4619|  1.73k|            (f = function_def_raw_rule(p))  // function_def_raw
  ------------------
  |  Branch (4619:13): [True: 936, False: 795]
  ------------------
 4620|  20.1k|        )
 4621|    936|        {
 4622|    936|            D(fprintf(stderr, "%*c+ function_def[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "decorators function_def_raw"));
 4623|    936|            _res = _PyPegen_function_def_decorators ( p , d , f );
 4624|    936|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4624:18): [True: 0, False: 936]
  |  Branch (4624:34): [True: 0, False: 936]
  |  Branch (4624:57): [True: 0, False: 0]
  ------------------
 4625|      0|                p->error_indicator = 1;
 4626|      0|                p->level--;
 4627|      0|                return NULL;
 4628|      0|            }
 4629|    936|            goto done;
 4630|    936|        }
 4631|  19.2k|        p->mark = _mark;
 4632|  19.2k|        D(fprintf(stderr, "%*c%s function_def[%d-%d]: %s failed!\n", p->level, ' ',
 4633|  19.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "decorators function_def_raw"));
 4634|  19.2k|    }
 4635|      0|    { // function_def_raw
 4636|  19.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (4636:13): [True: 25, False: 19.2k]
  ------------------
 4637|     25|            p->level--;
 4638|     25|            return NULL;
 4639|     25|        }
 4640|  19.2k|        D(fprintf(stderr, "%*c> function_def[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "function_def_raw"));
 4641|  19.2k|        stmt_ty function_def_raw_var;
 4642|  19.2k|        if (
 4643|  19.2k|            (function_def_raw_var = function_def_raw_rule(p))  // function_def_raw
  ------------------
  |  Branch (4643:13): [True: 13.3k, False: 5.87k]
  ------------------
 4644|  19.2k|        )
 4645|  13.3k|        {
 4646|  13.3k|            D(fprintf(stderr, "%*c+ function_def[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "function_def_raw"));
 4647|  13.3k|            _res = function_def_raw_var;
 4648|  13.3k|            goto done;
 4649|  13.3k|        }
 4650|  5.87k|        p->mark = _mark;
 4651|  5.87k|        D(fprintf(stderr, "%*c%s function_def[%d-%d]: %s failed!\n", p->level, ' ',
 4652|  5.87k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "function_def_raw"));
 4653|  5.87k|    }
 4654|  5.87k|    _res = NULL;
 4655|  20.1k|  done:
 4656|  20.1k|    p->level--;
 4657|  20.1k|    return _res;
 4658|  5.87k|}
parser.c:decorators_rule:
 4393|  37.6k|{
 4394|  37.6k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  75.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4394:9): [True: 0, False: 37.6k]
  |  Branch (4394:35): [True: 0, False: 37.6k]
  ------------------
 4395|      0|        _Pypegen_stack_overflow(p);
 4396|      0|    }
 4397|  37.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (4397:9): [True: 0, False: 37.6k]
  ------------------
 4398|      0|        p->level--;
 4399|      0|        return NULL;
 4400|      0|    }
 4401|  37.6k|    asdl_expr_seq* _res = NULL;
 4402|  37.6k|    int _mark = p->mark;
 4403|  37.6k|    { // (('@' named_expression NEWLINE))+
 4404|  37.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (4404:13): [True: 0, False: 37.6k]
  ------------------
 4405|      0|            p->level--;
 4406|      0|            return NULL;
 4407|      0|        }
 4408|  37.6k|        D(fprintf(stderr, "%*c> decorators[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(('@' named_expression NEWLINE))+"));
 4409|  37.6k|        asdl_expr_seq* a;
 4410|  37.6k|        if (
 4411|  37.6k|            (a = (asdl_expr_seq*)_loop1_24_rule(p))  // (('@' named_expression NEWLINE))+
  ------------------
  |  Branch (4411:13): [True: 2.52k, False: 35.1k]
  ------------------
 4412|  37.6k|        )
 4413|  2.52k|        {
 4414|  2.52k|            D(fprintf(stderr, "%*c+ decorators[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(('@' named_expression NEWLINE))+"));
 4415|  2.52k|            _res = a;
 4416|  2.52k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4416:18): [True: 0, False: 2.52k]
  |  Branch (4416:34): [True: 0, False: 2.52k]
  |  Branch (4416:57): [True: 0, False: 0]
  ------------------
 4417|      0|                p->error_indicator = 1;
 4418|      0|                p->level--;
 4419|      0|                return NULL;
 4420|      0|            }
 4421|  2.52k|            goto done;
 4422|  2.52k|        }
 4423|  35.1k|        p->mark = _mark;
 4424|  35.1k|        D(fprintf(stderr, "%*c%s decorators[%d-%d]: %s failed!\n", p->level, ' ',
 4425|  35.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(('@' named_expression NEWLINE))+"));
 4426|  35.1k|    }
 4427|  35.1k|    _res = NULL;
 4428|  37.6k|  done:
 4429|  37.6k|    p->level--;
 4430|  37.6k|    return _res;
 4431|  35.1k|}
parser.c:_loop1_24_rule:
30040|  37.6k|{
30041|  37.6k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  75.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (30041:9): [True: 0, False: 37.6k]
  |  Branch (30041:35): [True: 0, False: 37.6k]
  ------------------
30042|      0|        _Pypegen_stack_overflow(p);
30043|      0|    }
30044|  37.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (30044:9): [True: 0, False: 37.6k]
  ------------------
30045|      0|        p->level--;
30046|      0|        return NULL;
30047|      0|    }
30048|  37.6k|    void *_res = NULL;
30049|  37.6k|    int _mark = p->mark;
30050|  37.6k|    void **_children = PyMem_Malloc(sizeof(void *));
30051|  37.6k|    if (!_children) {
  ------------------
  |  Branch (30051:9): [True: 0, False: 37.6k]
  ------------------
30052|      0|        p->error_indicator = 1;
30053|      0|        PyErr_NoMemory();
30054|      0|        p->level--;
30055|      0|        return NULL;
30056|      0|    }
30057|  37.6k|    Py_ssize_t _children_capacity = 1;
30058|  37.6k|    Py_ssize_t _n = 0;
30059|  37.6k|    { // ('@' named_expression NEWLINE)
30060|  37.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (30060:13): [True: 0, False: 37.6k]
  ------------------
30061|      0|            p->level--;
30062|      0|            return NULL;
30063|      0|        }
30064|  37.6k|        D(fprintf(stderr, "%*c> _loop1_24[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('@' named_expression NEWLINE)"));
30065|  37.6k|        void *_tmp_161_var;
30066|  37.6k|        while (
30067|  46.6k|            (_tmp_161_var = _tmp_161_rule(p))  // '@' named_expression NEWLINE
  ------------------
  |  Branch (30067:13): [True: 8.95k, False: 37.6k]
  ------------------
30068|  37.6k|        )
30069|  8.95k|        {
30070|  8.95k|            _res = _tmp_161_var;
30071|  8.95k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30071:17): [True: 3.06k, False: 5.88k]
  ------------------
30072|  3.06k|                _children_capacity *= 2;
30073|  3.06k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30074|  3.06k|                if (!_new_children) {
  ------------------
  |  Branch (30074:21): [True: 0, False: 3.06k]
  ------------------
30075|      0|                    PyMem_Free(_children);
30076|      0|                    p->error_indicator = 1;
30077|      0|                    PyErr_NoMemory();
30078|      0|                    p->level--;
30079|      0|                    return NULL;
30080|      0|                }
30081|  3.06k|                _children = _new_children;
30082|  3.06k|            }
30083|  8.95k|            _children[_n++] = _res;
30084|  8.95k|            _mark = p->mark;
30085|  8.95k|        }
30086|  37.6k|        p->mark = _mark;
30087|  37.6k|        D(fprintf(stderr, "%*c%s _loop1_24[%d-%d]: %s failed!\n", p->level, ' ',
30088|  37.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('@' named_expression NEWLINE)"));
30089|  37.6k|    }
30090|  37.6k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (30090:9): [True: 35.1k, False: 2.52k]
  |  Branch (30090:20): [True: 1, False: 2.52k]
  ------------------
30091|  35.1k|        PyMem_Free(_children);
30092|  35.1k|        p->level--;
30093|  35.1k|        return NULL;
30094|  35.1k|    }
30095|  2.52k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30096|  2.52k|    if (!_seq) {
  ------------------
  |  Branch (30096:9): [True: 0, False: 2.52k]
  ------------------
30097|      0|        PyMem_Free(_children);
30098|      0|        p->error_indicator = 1;
30099|      0|        PyErr_NoMemory();
30100|      0|        p->level--;
30101|      0|        return NULL;
30102|      0|    }
30103|  11.4k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  8.95k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  11.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30103:28): [True: 8.95k, False: 2.52k]
  ------------------
30104|  2.52k|    PyMem_Free(_children);
30105|  2.52k|    p->level--;
30106|  2.52k|    return _seq;
30107|  2.52k|}
parser.c:_tmp_161_rule:
38589|  46.6k|{
38590|  46.6k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  93.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38590:9): [True: 0, False: 46.6k]
  |  Branch (38590:35): [True: 0, False: 46.6k]
  ------------------
38591|      0|        _Pypegen_stack_overflow(p);
38592|      0|    }
38593|  46.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (38593:9): [True: 0, False: 46.6k]
  ------------------
38594|      0|        p->level--;
38595|      0|        return NULL;
38596|      0|    }
38597|  46.6k|    void * _res = NULL;
38598|  46.6k|    int _mark = p->mark;
38599|  46.6k|    { // '@' named_expression NEWLINE
38600|  46.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (38600:13): [True: 0, False: 46.6k]
  ------------------
38601|      0|            p->level--;
38602|      0|            return NULL;
38603|      0|        }
38604|  46.6k|        D(fprintf(stderr, "%*c> _tmp_161[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'@' named_expression NEWLINE"));
38605|  46.6k|        Token * _literal;
38606|  46.6k|        expr_ty f;
38607|  46.6k|        Token * newline_var;
38608|  46.6k|        if (
38609|  46.6k|            (_literal = _PyPegen_expect_token(p, 49))  // token='@'
  ------------------
  |  Branch (38609:13): [True: 9.08k, False: 37.5k]
  ------------------
38610|  9.08k|            &&
38611|  9.08k|            (f = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (38611:13): [True: 9.00k, False: 72]
  ------------------
38612|  9.00k|            &&
38613|  9.00k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  9.00k|#define NEWLINE         4
  ------------------
  |  Branch (38613:13): [True: 8.95k, False: 52]
  ------------------
38614|  46.6k|        )
38615|  8.95k|        {
38616|  8.95k|            D(fprintf(stderr, "%*c+ _tmp_161[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'@' named_expression NEWLINE"));
38617|  8.95k|            _res = f;
38618|  8.95k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (38618:18): [True: 0, False: 8.95k]
  |  Branch (38618:34): [True: 0, False: 8.95k]
  |  Branch (38618:57): [True: 0, False: 0]
  ------------------
38619|      0|                p->error_indicator = 1;
38620|      0|                p->level--;
38621|      0|                return NULL;
38622|      0|            }
38623|  8.95k|            goto done;
38624|  8.95k|        }
38625|  37.6k|        p->mark = _mark;
38626|  37.6k|        D(fprintf(stderr, "%*c%s _tmp_161[%d-%d]: %s failed!\n", p->level, ' ',
38627|  37.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'@' named_expression NEWLINE"));
38628|  37.6k|    }
38629|  37.6k|    _res = NULL;
38630|  46.6k|  done:
38631|  46.6k|    p->level--;
38632|  46.6k|    return _res;
38633|  37.6k|}
parser.c:named_expression_rule:
12397|   716k|{
12398|   716k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.43M|#  define MAXSTACK 6000
  ------------------
  |  Branch (12398:9): [True: 1, False: 716k]
  |  Branch (12398:35): [True: 0, False: 716k]
  ------------------
12399|      1|        _Pypegen_stack_overflow(p);
12400|      1|    }
12401|   716k|    if (p->error_indicator) {
  ------------------
  |  Branch (12401:9): [True: 1, False: 716k]
  ------------------
12402|      1|        p->level--;
12403|      1|        return NULL;
12404|      1|    }
12405|   716k|    expr_ty _res = NULL;
12406|   716k|    int _mark = p->mark;
12407|   716k|    { // assignment_expression
12408|   716k|        if (p->error_indicator) {
  ------------------
  |  Branch (12408:13): [True: 0, False: 716k]
  ------------------
12409|      0|            p->level--;
12410|      0|            return NULL;
12411|      0|        }
12412|   716k|        D(fprintf(stderr, "%*c> named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
12413|   716k|        expr_ty assignment_expression_var;
12414|   716k|        if (
12415|   716k|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  Branch (12415:13): [True: 6.71k, False: 709k]
  ------------------
12416|   716k|        )
12417|  6.71k|        {
12418|  6.71k|            D(fprintf(stderr, "%*c+ named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
12419|  6.71k|            _res = assignment_expression_var;
12420|  6.71k|            goto done;
12421|  6.71k|        }
12422|   709k|        p->mark = _mark;
12423|   709k|        D(fprintf(stderr, "%*c%s named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12424|   709k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
12425|   709k|    }
12426|   709k|    if (p->call_invalid_rules) { // invalid_named_expression
  ------------------
  |  Branch (12426:9): [True: 267k, False: 442k]
  ------------------
12427|   267k|        if (p->error_indicator) {
  ------------------
  |  Branch (12427:13): [True: 120, False: 267k]
  ------------------
12428|    120|            p->level--;
12429|    120|            return NULL;
12430|    120|        }
12431|   267k|        D(fprintf(stderr, "%*c> named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_named_expression"));
12432|   267k|        void *invalid_named_expression_var;
12433|   267k|        if (
12434|   267k|            (invalid_named_expression_var = invalid_named_expression_rule(p))  // invalid_named_expression
  ------------------
  |  Branch (12434:13): [True: 0, False: 267k]
  ------------------
12435|   267k|        )
12436|      0|        {
12437|      0|            D(fprintf(stderr, "%*c+ named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_named_expression"));
12438|      0|            _res = invalid_named_expression_var;
12439|      0|            goto done;
12440|      0|        }
12441|   267k|        p->mark = _mark;
12442|   267k|        D(fprintf(stderr, "%*c%s named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12443|   267k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_named_expression"));
12444|   267k|    }
12445|   709k|    { // expression !':='
12446|   709k|        if (p->error_indicator) {
  ------------------
  |  Branch (12446:13): [True: 10.9k, False: 698k]
  ------------------
12447|  10.9k|            p->level--;
12448|  10.9k|            return NULL;
12449|  10.9k|        }
12450|   698k|        D(fprintf(stderr, "%*c> named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
12451|   698k|        expr_ty expression_var;
12452|   698k|        if (
12453|   698k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (12453:13): [True: 495k, False: 202k]
  ------------------
12454|   495k|            &&
12455|   495k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (12455:13): [True: 494k, False: 672]
  ------------------
12456|   698k|        )
12457|   494k|        {
12458|   494k|            D(fprintf(stderr, "%*c+ named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
12459|   494k|            _res = expression_var;
12460|   494k|            goto done;
12461|   494k|        }
12462|   203k|        p->mark = _mark;
12463|   203k|        D(fprintf(stderr, "%*c%s named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12464|   203k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
12465|   203k|    }
12466|   203k|    _res = NULL;
12467|   705k|  done:
12468|   705k|    p->level--;
12469|   705k|    return _res;
12470|   203k|}
parser.c:assignment_expression_rule:
12323|  1.04M|{
12324|  1.04M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.09M|#  define MAXSTACK 6000
  ------------------
  |  Branch (12324:9): [True: 1, False: 1.04M]
  |  Branch (12324:35): [True: 0, False: 1.04M]
  ------------------
12325|      1|        _Pypegen_stack_overflow(p);
12326|      1|    }
12327|  1.04M|    if (p->error_indicator) {
  ------------------
  |  Branch (12327:9): [True: 1, False: 1.04M]
  ------------------
12328|      1|        p->level--;
12329|      1|        return NULL;
12330|      1|    }
12331|  1.04M|    expr_ty _res = NULL;
12332|  1.04M|    int _mark = p->mark;
12333|  1.04M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12333:9): [True: 125k, False: 923k]
  |  Branch (12333:31): [True: 139, False: 124k]
  ------------------
12334|    139|        p->error_indicator = 1;
12335|    139|        p->level--;
12336|    139|        return NULL;
12337|    139|    }
12338|  1.04M|    int _start_lineno = p->tokens[_mark]->lineno;
12339|  1.04M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.04M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.04M]
  |  |  ------------------
  ------------------
12340|  1.04M|    int _start_col_offset = p->tokens[_mark]->col_offset;
12341|  1.04M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.04M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.04M]
  |  |  ------------------
  ------------------
12342|  1.04M|    { // NAME ':=' ~ expression
12343|  1.04M|        if (p->error_indicator) {
  ------------------
  |  Branch (12343:13): [True: 0, False: 1.04M]
  ------------------
12344|      0|            p->level--;
12345|      0|            return NULL;
12346|      0|        }
12347|  1.04M|        D(fprintf(stderr, "%*c> assignment_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME ':=' ~ expression"));
12348|  1.04M|        int _cut_var = 0;
12349|  1.04M|        Token * _literal;
12350|  1.04M|        expr_ty a;
12351|  1.04M|        expr_ty b;
12352|  1.04M|        if (
12353|  1.04M|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (12353:13): [True: 333k, False: 715k]
  ------------------
12354|   333k|            &&
12355|   333k|            (_literal = _PyPegen_expect_token(p, 53))  // token=':='
  ------------------
  |  Branch (12355:13): [True: 10.0k, False: 323k]
  ------------------
12356|  10.0k|            &&
12357|  10.0k|            (_cut_var = 1)
  ------------------
  |  Branch (12357:13): [True: 10.0k, False: 0]
  ------------------
12358|  10.0k|            &&
12359|  10.0k|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (12359:13): [True: 8.64k, False: 1.38k]
  ------------------
12360|  1.04M|        )
12361|  8.64k|        {
12362|  8.64k|            D(fprintf(stderr, "%*c+ assignment_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME ':=' ~ expression"));
12363|  8.64k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12364|  8.64k|            if (_token == NULL) {
  ------------------
  |  Branch (12364:17): [True: 0, False: 8.64k]
  ------------------
12365|      0|                p->level--;
12366|      0|                return NULL;
12367|      0|            }
12368|  8.64k|            int _end_lineno = _token->end_lineno;
12369|  8.64k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  8.64k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 8.64k]
  |  |  ------------------
  ------------------
12370|  8.64k|            int _end_col_offset = _token->end_col_offset;
12371|  8.64k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  8.64k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 8.64k]
  |  |  ------------------
  ------------------
12372|  8.64k|            _res = CHECK_VERSION ( expr_ty , 8 , "Assignment expressions are" , _PyAST_NamedExpr ( CHECK ( expr_ty , _PyPegen_set_expr_context ( p , a , Store ) ) , b , EXTRA ) );
  ------------------
  |  |  319|  8.64k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
12373|  8.64k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12373:18): [True: 0, False: 8.64k]
  |  Branch (12373:34): [True: 0, False: 8.64k]
  |  Branch (12373:57): [True: 0, False: 0]
  ------------------
12374|      0|                p->error_indicator = 1;
12375|      0|                p->level--;
12376|      0|                return NULL;
12377|      0|            }
12378|  8.64k|            goto done;
12379|  8.64k|        }
12380|  1.03M|        p->mark = _mark;
12381|  1.03M|        D(fprintf(stderr, "%*c%s assignment_expression[%d-%d]: %s failed!\n", p->level, ' ',
12382|  1.03M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME ':=' ~ expression"));
12383|  1.03M|        if (_cut_var) {
  ------------------
  |  Branch (12383:13): [True: 1.38k, False: 1.03M]
  ------------------
12384|  1.38k|            p->level--;
12385|  1.38k|            return NULL;
12386|  1.38k|        }
12387|  1.03M|    }
12388|  1.03M|    _res = NULL;
12389|  1.04M|  done:
12390|  1.04M|    p->level--;
12391|  1.04M|    return _res;
12392|  1.03M|}
parser.c:invalid_named_expression_rule:
22072|   267k|{
22073|   267k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   534k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22073:9): [True: 0, False: 267k]
  |  Branch (22073:35): [True: 0, False: 267k]
  ------------------
22074|      0|        _Pypegen_stack_overflow(p);
22075|      0|    }
22076|   267k|    if (p->error_indicator) {
  ------------------
  |  Branch (22076:9): [True: 0, False: 267k]
  ------------------
22077|      0|        p->level--;
22078|      0|        return NULL;
22079|      0|    }
22080|   267k|    void * _res = NULL;
22081|   267k|    if (_PyPegen_is_memoized(p, invalid_named_expression_type, &_res)) {
  ------------------
  |  |  304|   267k|#define invalid_named_expression_type 1215
  ------------------
  |  Branch (22081:9): [True: 150k, False: 116k]
  ------------------
22082|   150k|        p->level--;
22083|   150k|        return _res;
22084|   150k|    }
22085|   116k|    int _mark = p->mark;
22086|   116k|    { // expression ':=' expression
22087|   116k|        if (p->error_indicator) {
  ------------------
  |  Branch (22087:13): [True: 0, False: 116k]
  ------------------
22088|      0|            p->level--;
22089|      0|            return NULL;
22090|      0|        }
22091|   116k|        D(fprintf(stderr, "%*c> invalid_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':=' expression"));
22092|   116k|        Token * _literal;
22093|   116k|        expr_ty a;
22094|   116k|        expr_ty expression_var;
22095|   116k|        if (
22096|   116k|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (22096:13): [True: 70.0k, False: 46.4k]
  ------------------
22097|  70.0k|            &&
22098|  70.0k|            (_literal = _PyPegen_expect_token(p, 53))  // token=':='
  ------------------
  |  Branch (22098:13): [True: 154, False: 69.8k]
  ------------------
22099|    154|            &&
22100|    154|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (22100:13): [True: 6, False: 148]
  ------------------
22101|   116k|        )
22102|      6|        {
22103|      6|            D(fprintf(stderr, "%*c+ invalid_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':=' expression"));
22104|      6|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use assignment expressions with %s" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  213|      6|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22105|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22105:18): [True: 6, False: 0]
  |  Branch (22105:34): [True: 0, False: 0]
  |  Branch (22105:57): [True: 6, False: 0]
  ------------------
22106|      6|                p->error_indicator = 1;
22107|      6|                p->level--;
22108|      6|                return NULL;
22109|      6|            }
22110|      0|            goto done;
22111|      6|        }
22112|   116k|        p->mark = _mark;
22113|   116k|        D(fprintf(stderr, "%*c%s invalid_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
22114|   116k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':=' expression"));
22115|   116k|    }
22116|      0|    { // NAME '=' bitwise_or !('=' | ':=')
22117|   116k|        if (p->error_indicator) {
  ------------------
  |  Branch (22117:13): [True: 10.1k, False: 106k]
  ------------------
22118|  10.1k|            p->level--;
22119|  10.1k|            return NULL;
22120|  10.1k|        }
22121|   106k|        D(fprintf(stderr, "%*c> invalid_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' bitwise_or !('=' | ':=')"));
22122|   106k|        Token * _literal;
22123|   106k|        expr_ty a;
22124|   106k|        expr_ty b;
22125|   106k|        if (
22126|   106k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (22126:13): [True: 47.5k, False: 58.7k]
  ------------------
22127|  47.5k|            &&
22128|  47.5k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (22128:13): [True: 464, False: 47.0k]
  ------------------
22129|    464|            &&
22130|    464|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (22130:13): [True: 70, False: 394]
  ------------------
22131|     70|            &&
22132|     70|            _PyPegen_lookahead(0, _tmp_119_rule, p)
  ------------------
  |  Branch (22132:13): [True: 45, False: 25]
  ------------------
22133|   106k|        )
22134|     45|        {
22135|     45|            D(fprintf(stderr, "%*c+ invalid_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' bitwise_or !('=' | ':=')"));
22136|     45|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid syntax. Maybe you meant '==' or ':=' instead of '='?" );
  ------------------
  |  |  211|     45|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22137|     45|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22137:18): [True: 45, False: 0]
  |  Branch (22137:34): [True: 0, False: 0]
  |  Branch (22137:57): [True: 45, False: 0]
  ------------------
22138|     45|                p->error_indicator = 1;
22139|     45|                p->level--;
22140|     45|                return NULL;
22141|     45|            }
22142|      0|            goto done;
22143|     45|        }
22144|   106k|        p->mark = _mark;
22145|   106k|        D(fprintf(stderr, "%*c%s invalid_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
22146|   106k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' bitwise_or !('=' | ':=')"));
22147|   106k|    }
22148|      0|    { // !(list | tuple | genexp | 'True' | 'None' | 'False') bitwise_or '=' bitwise_or !('=' | ':=')
22149|   106k|        if (p->error_indicator) {
  ------------------
  |  Branch (22149:13): [True: 337, False: 105k]
  ------------------
22150|    337|            p->level--;
22151|    337|            return NULL;
22152|    337|        }
22153|   105k|        D(fprintf(stderr, "%*c> invalid_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "!(list | tuple | genexp | 'True' | 'None' | 'False') bitwise_or '=' bitwise_or !('=' | ':=')"));
22154|   105k|        expr_ty a;
22155|   105k|        Token * b;
22156|   105k|        expr_ty bitwise_or_var;
22157|   105k|        if (
22158|   105k|            _PyPegen_lookahead(0, _tmp_120_rule, p)
  ------------------
  |  Branch (22158:13): [True: 102k, False: 3.40k]
  ------------------
22159|   102k|            &&
22160|   102k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (22160:13): [True: 66.1k, False: 36.4k]
  ------------------
22161|  66.1k|            &&
22162|  66.1k|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (22162:13): [True: 407, False: 65.7k]
  ------------------
22163|    407|            &&
22164|    407|            (bitwise_or_var = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (22164:13): [True: 50, False: 357]
  ------------------
22165|     50|            &&
22166|     50|            _PyPegen_lookahead(0, _tmp_119_rule, p)
  ------------------
  |  Branch (22166:13): [True: 19, False: 31]
  ------------------
22167|   105k|        )
22168|     19|        {
22169|     19|            D(fprintf(stderr, "%*c+ invalid_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "!(list | tuple | genexp | 'True' | 'None' | 'False') bitwise_or '=' bitwise_or !('=' | ':=')"));
22170|     19|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot assign to %s here. Maybe you meant '==' instead of '='?" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  213|     19|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22171|     19|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22171:18): [True: 19, False: 0]
  |  Branch (22171:34): [True: 0, False: 0]
  |  Branch (22171:57): [True: 19, False: 0]
  ------------------
22172|     19|                p->error_indicator = 1;
22173|     19|                p->level--;
22174|     19|                return NULL;
22175|     19|            }
22176|      0|            goto done;
22177|     19|        }
22178|   105k|        p->mark = _mark;
22179|   105k|        D(fprintf(stderr, "%*c%s invalid_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
22180|   105k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!(list | tuple | genexp | 'True' | 'None' | 'False') bitwise_or '=' bitwise_or !('=' | ':=')"));
22181|   105k|    }
22182|   105k|    _res = NULL;
22183|   105k|  done:
22184|   105k|    _PyPegen_insert_memo(p, _mark, invalid_named_expression_type, _res);
  ------------------
  |  |  304|   105k|#define invalid_named_expression_type 1215
  ------------------
22185|   105k|    p->level--;
22186|   105k|    return _res;
22187|   105k|}
parser.c:bitwise_or_rule:
13509|  5.17M|{
13510|  5.17M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  10.3M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13510:9): [True: 2, False: 5.17M]
  |  Branch (13510:35): [True: 0, False: 5.17M]
  ------------------
13511|      2|        _Pypegen_stack_overflow(p);
13512|      2|    }
13513|  5.17M|    expr_ty _res = NULL;
13514|  5.17M|    if (_PyPegen_is_memoized(p, bitwise_or_type, &_res)) {
  ------------------
  |  |  224|  5.17M|#define bitwise_or_type 1135  // Left-recursive
  ------------------
  |  Branch (13514:9): [True: 3.87M, False: 1.30M]
  ------------------
13515|  3.87M|        p->level--;
13516|  3.87M|        return _res;
13517|  3.87M|    }
13518|  1.30M|    int _mark = p->mark;
13519|  1.30M|    int _resmark = p->mark;
13520|  2.22M|    while (1) {
  ------------------
  |  Branch (13520:12): [True: 2.22M, Folded]
  ------------------
13521|  2.22M|        int tmpvar_2 = _PyPegen_update_memo(p, _mark, bitwise_or_type, _res);
  ------------------
  |  |  224|  2.22M|#define bitwise_or_type 1135  // Left-recursive
  ------------------
13522|  2.22M|        if (tmpvar_2) {
  ------------------
  |  Branch (13522:13): [True: 0, False: 2.22M]
  ------------------
13523|      0|            p->level--;
13524|      0|            return _res;
13525|      0|        }
13526|  2.22M|        p->mark = _mark;
13527|  2.22M|        void *_raw = bitwise_or_raw(p);
13528|  2.22M|        if (p->error_indicator) {
  ------------------
  |  Branch (13528:13): [True: 53.2k, False: 2.16M]
  ------------------
13529|  53.2k|            p->level--;
13530|  53.2k|            return NULL;
13531|  53.2k|        }
13532|  2.16M|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13532:13): [True: 347k, False: 1.82M]
  |  Branch (13532:29): [True: 902k, False: 919k]
  ------------------
13533|  1.25M|            break;
13534|   919k|        _resmark = p->mark;
13535|   919k|        _res = _raw;
13536|   919k|    }
13537|  1.25M|    p->mark = _resmark;
13538|  1.25M|    p->level--;
13539|  1.25M|    return _res;
13540|  1.30M|}
parser.c:bitwise_or_raw:
13543|  2.22M|{
13544|  2.22M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.44M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13544:9): [True: 1, False: 2.22M]
  |  Branch (13544:35): [True: 0, False: 2.22M]
  ------------------
13545|      1|        _Pypegen_stack_overflow(p);
13546|      1|    }
13547|  2.22M|    if (p->error_indicator) {
  ------------------
  |  Branch (13547:9): [True: 2, False: 2.22M]
  ------------------
13548|      2|        p->level--;
13549|      2|        return NULL;
13550|      2|    }
13551|  2.22M|    expr_ty _res = NULL;
13552|  2.22M|    int _mark = p->mark;
13553|  2.22M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13553:9): [True: 0, False: 2.22M]
  |  Branch (13553:31): [True: 0, False: 0]
  ------------------
13554|      0|        p->error_indicator = 1;
13555|      0|        p->level--;
13556|      0|        return NULL;
13557|      0|    }
13558|  2.22M|    int _start_lineno = p->tokens[_mark]->lineno;
13559|  2.22M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.22M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.22M]
  |  |  ------------------
  ------------------
13560|  2.22M|    int _start_col_offset = p->tokens[_mark]->col_offset;
13561|  2.22M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.22M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.22M]
  |  |  ------------------
  ------------------
13562|  2.22M|    { // bitwise_or '|' bitwise_xor
13563|  2.22M|        if (p->error_indicator) {
  ------------------
  |  Branch (13563:13): [True: 0, False: 2.22M]
  ------------------
13564|      0|            p->level--;
13565|      0|            return NULL;
13566|      0|        }
13567|  2.22M|        D(fprintf(stderr, "%*c> bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or '|' bitwise_xor"));
13568|  2.22M|        Token * _literal;
13569|  2.22M|        expr_ty a;
13570|  2.22M|        expr_ty b;
13571|  2.22M|        if (
13572|  2.22M|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13572:13): [True: 919k, False: 1.30M]
  ------------------
13573|   919k|            &&
13574|   919k|            (_literal = _PyPegen_expect_token(p, 18))  // token='|'
  ------------------
  |  Branch (13574:13): [True: 17.1k, False: 902k]
  ------------------
13575|  17.1k|            &&
13576|  17.1k|            (b = bitwise_xor_rule(p))  // bitwise_xor
  ------------------
  |  Branch (13576:13): [True: 15.5k, False: 1.55k]
  ------------------
13577|  2.22M|        )
13578|  15.5k|        {
13579|  15.5k|            D(fprintf(stderr, "%*c+ bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or '|' bitwise_xor"));
13580|  15.5k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13581|  15.5k|            if (_token == NULL) {
  ------------------
  |  Branch (13581:17): [True: 0, False: 15.5k]
  ------------------
13582|      0|                p->level--;
13583|      0|                return NULL;
13584|      0|            }
13585|  15.5k|            int _end_lineno = _token->end_lineno;
13586|  15.5k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  15.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 15.5k]
  |  |  ------------------
  ------------------
13587|  15.5k|            int _end_col_offset = _token->end_col_offset;
13588|  15.5k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  15.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 15.5k]
  |  |  ------------------
  ------------------
13589|  15.5k|            _res = _PyAST_BinOp ( a , BitOr , b , EXTRA );
  ------------------
  |  |  281|  15.5k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13590|  15.5k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13590:18): [True: 0, False: 15.5k]
  |  Branch (13590:34): [True: 0, False: 15.5k]
  |  Branch (13590:57): [True: 0, False: 0]
  ------------------
13591|      0|                p->error_indicator = 1;
13592|      0|                p->level--;
13593|      0|                return NULL;
13594|      0|            }
13595|  15.5k|            goto done;
13596|  15.5k|        }
13597|  2.20M|        p->mark = _mark;
13598|  2.20M|        D(fprintf(stderr, "%*c%s bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13599|  2.20M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or '|' bitwise_xor"));
13600|  2.20M|    }
13601|  2.20M|    if (p->call_invalid_rules) { // invalid_bitwise_or
  ------------------
  |  Branch (13601:9): [True: 430k, False: 1.77M]
  ------------------
13602|   430k|        if (p->error_indicator) {
  ------------------
  |  Branch (13602:13): [True: 684, False: 430k]
  ------------------
13603|    684|            p->level--;
13604|    684|            return NULL;
13605|    684|        }
13606|   430k|        D(fprintf(stderr, "%*c> bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_bitwise_or"));
13607|   430k|        void *invalid_bitwise_or_var;
13608|   430k|        if (
13609|   430k|            (invalid_bitwise_or_var = invalid_bitwise_or_rule(p))  // invalid_bitwise_or
  ------------------
  |  Branch (13609:13): [True: 0, False: 430k]
  ------------------
13610|   430k|        )
13611|      0|        {
13612|      0|            D(fprintf(stderr, "%*c+ bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_bitwise_or"));
13613|      0|            _res = invalid_bitwise_or_var;
13614|      0|            goto done;
13615|      0|        }
13616|   430k|        p->mark = _mark;
13617|   430k|        D(fprintf(stderr, "%*c%s bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13618|   430k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_bitwise_or"));
13619|   430k|    }
13620|  2.20M|    { // bitwise_xor
13621|  2.20M|        if (p->error_indicator) {
  ------------------
  |  Branch (13621:13): [True: 252, False: 2.20M]
  ------------------
13622|    252|            p->level--;
13623|    252|            return NULL;
13624|    252|        }
13625|  2.20M|        D(fprintf(stderr, "%*c> bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_xor"));
13626|  2.20M|        expr_ty bitwise_xor_var;
13627|  2.20M|        if (
13628|  2.20M|            (bitwise_xor_var = bitwise_xor_rule(p))  // bitwise_xor
  ------------------
  |  Branch (13628:13): [True: 1.80M, False: 399k]
  ------------------
13629|  2.20M|        )
13630|  1.80M|        {
13631|  1.80M|            D(fprintf(stderr, "%*c+ bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_xor"));
13632|  1.80M|            _res = bitwise_xor_var;
13633|  1.80M|            goto done;
13634|  1.80M|        }
13635|   399k|        p->mark = _mark;
13636|   399k|        D(fprintf(stderr, "%*c%s bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13637|   399k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_xor"));
13638|   399k|    }
13639|   399k|    _res = NULL;
13640|  2.22M|  done:
13641|  2.22M|    p->level--;
13642|  2.22M|    return _res;
13643|   399k|}
parser.c:bitwise_xor_rule:
13650|  4.49M|{
13651|  4.49M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.99M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13651:9): [True: 2, False: 4.49M]
  |  Branch (13651:35): [True: 0, False: 4.49M]
  ------------------
13652|      2|        _Pypegen_stack_overflow(p);
13653|      2|    }
13654|  4.49M|    expr_ty _res = NULL;
13655|  4.49M|    if (_PyPegen_is_memoized(p, bitwise_xor_type, &_res)) {
  ------------------
  |  |  225|  4.49M|#define bitwise_xor_type 1136  // Left-recursive
  ------------------
  |  Branch (13655:9): [True: 3.17M, False: 1.32M]
  ------------------
13656|  3.17M|        p->level--;
13657|  3.17M|        return _res;
13658|  3.17M|    }
13659|  1.32M|    int _mark = p->mark;
13660|  1.32M|    int _resmark = p->mark;
13661|  2.27M|    while (1) {
  ------------------
  |  Branch (13661:12): [True: 2.27M, Folded]
  ------------------
13662|  2.27M|        int tmpvar_3 = _PyPegen_update_memo(p, _mark, bitwise_xor_type, _res);
  ------------------
  |  |  225|  2.27M|#define bitwise_xor_type 1136  // Left-recursive
  ------------------
13663|  2.27M|        if (tmpvar_3) {
  ------------------
  |  Branch (13663:13): [True: 0, False: 2.27M]
  ------------------
13664|      0|            p->level--;
13665|      0|            return _res;
13666|      0|        }
13667|  2.27M|        p->mark = _mark;
13668|  2.27M|        void *_raw = bitwise_xor_raw(p);
13669|  2.27M|        if (p->error_indicator) {
  ------------------
  |  Branch (13669:13): [True: 53.2k, False: 2.21M]
  ------------------
13670|  53.2k|            p->level--;
13671|  53.2k|            return NULL;
13672|  53.2k|        }
13673|  2.21M|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13673:13): [True: 347k, False: 1.87M]
  |  Branch (13673:29): [True: 919k, False: 952k]
  ------------------
13674|  1.26M|            break;
13675|   952k|        _resmark = p->mark;
13676|   952k|        _res = _raw;
13677|   952k|    }
13678|  1.26M|    p->mark = _resmark;
13679|  1.26M|    p->level--;
13680|  1.26M|    return _res;
13681|  1.32M|}
parser.c:bitwise_xor_raw:
13684|  2.27M|{
13685|  2.27M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.54M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13685:9): [True: 1, False: 2.27M]
  |  Branch (13685:35): [True: 0, False: 2.27M]
  ------------------
13686|      1|        _Pypegen_stack_overflow(p);
13687|      1|    }
13688|  2.27M|    if (p->error_indicator) {
  ------------------
  |  Branch (13688:9): [True: 1, False: 2.27M]
  ------------------
13689|      1|        p->level--;
13690|      1|        return NULL;
13691|      1|    }
13692|  2.27M|    expr_ty _res = NULL;
13693|  2.27M|    int _mark = p->mark;
13694|  2.27M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13694:9): [True: 0, False: 2.27M]
  |  Branch (13694:31): [True: 0, False: 0]
  ------------------
13695|      0|        p->error_indicator = 1;
13696|      0|        p->level--;
13697|      0|        return NULL;
13698|      0|    }
13699|  2.27M|    int _start_lineno = p->tokens[_mark]->lineno;
13700|  2.27M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.27M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.27M]
  |  |  ------------------
  ------------------
13701|  2.27M|    int _start_col_offset = p->tokens[_mark]->col_offset;
13702|  2.27M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.27M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.27M]
  |  |  ------------------
  ------------------
13703|  2.27M|    { // bitwise_xor '^' bitwise_and
13704|  2.27M|        if (p->error_indicator) {
  ------------------
  |  Branch (13704:13): [True: 0, False: 2.27M]
  ------------------
13705|      0|            p->level--;
13706|      0|            return NULL;
13707|      0|        }
13708|  2.27M|        D(fprintf(stderr, "%*c> bitwise_xor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_xor '^' bitwise_and"));
13709|  2.27M|        Token * _literal;
13710|  2.27M|        expr_ty a;
13711|  2.27M|        expr_ty b;
13712|  2.27M|        if (
13713|  2.27M|            (a = bitwise_xor_rule(p))  // bitwise_xor
  ------------------
  |  Branch (13713:13): [True: 952k, False: 1.32M]
  ------------------
13714|   952k|            &&
13715|   952k|            (_literal = _PyPegen_expect_token(p, 32))  // token='^'
  ------------------
  |  Branch (13715:13): [True: 33.6k, False: 919k]
  ------------------
13716|  33.6k|            &&
13717|  33.6k|            (b = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  Branch (13717:13): [True: 33.1k, False: 517]
  ------------------
13718|  2.27M|        )
13719|  33.1k|        {
13720|  33.1k|            D(fprintf(stderr, "%*c+ bitwise_xor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_xor '^' bitwise_and"));
13721|  33.1k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13722|  33.1k|            if (_token == NULL) {
  ------------------
  |  Branch (13722:17): [True: 0, False: 33.1k]
  ------------------
13723|      0|                p->level--;
13724|      0|                return NULL;
13725|      0|            }
13726|  33.1k|            int _end_lineno = _token->end_lineno;
13727|  33.1k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  33.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 33.1k]
  |  |  ------------------
  ------------------
13728|  33.1k|            int _end_col_offset = _token->end_col_offset;
13729|  33.1k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  33.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 33.1k]
  |  |  ------------------
  ------------------
13730|  33.1k|            _res = _PyAST_BinOp ( a , BitXor , b , EXTRA );
  ------------------
  |  |  281|  33.1k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13731|  33.1k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13731:18): [True: 0, False: 33.1k]
  |  Branch (13731:34): [True: 0, False: 33.1k]
  |  Branch (13731:57): [True: 0, False: 0]
  ------------------
13732|      0|                p->error_indicator = 1;
13733|      0|                p->level--;
13734|      0|                return NULL;
13735|      0|            }
13736|  33.1k|            goto done;
13737|  33.1k|        }
13738|  2.24M|        p->mark = _mark;
13739|  2.24M|        D(fprintf(stderr, "%*c%s bitwise_xor[%d-%d]: %s failed!\n", p->level, ' ',
13740|  2.24M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_xor '^' bitwise_and"));
13741|  2.24M|    }
13742|      0|    { // bitwise_and
13743|  2.24M|        if (p->error_indicator) {
  ------------------
  |  Branch (13743:13): [True: 412, False: 2.23M]
  ------------------
13744|    412|            p->level--;
13745|    412|            return NULL;
13746|    412|        }
13747|  2.23M|        D(fprintf(stderr, "%*c> bitwise_xor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_and"));
13748|  2.23M|        expr_ty bitwise_and_var;
13749|  2.23M|        if (
13750|  2.23M|            (bitwise_and_var = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  Branch (13750:13): [True: 1.83M, False: 400k]
  ------------------
13751|  2.23M|        )
13752|  1.83M|        {
13753|  1.83M|            D(fprintf(stderr, "%*c+ bitwise_xor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_and"));
13754|  1.83M|            _res = bitwise_and_var;
13755|  1.83M|            goto done;
13756|  1.83M|        }
13757|   400k|        p->mark = _mark;
13758|   400k|        D(fprintf(stderr, "%*c%s bitwise_xor[%d-%d]: %s failed!\n", p->level, ' ',
13759|   400k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_and"));
13760|   400k|    }
13761|   400k|    _res = NULL;
13762|  2.27M|  done:
13763|  2.27M|    p->level--;
13764|  2.27M|    return _res;
13765|   400k|}
parser.c:bitwise_and_rule:
13772|  5.04M|{
13773|  5.04M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  10.0M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13773:9): [True: 1, False: 5.04M]
  |  Branch (13773:35): [True: 0, False: 5.04M]
  ------------------
13774|      1|        _Pypegen_stack_overflow(p);
13775|      1|    }
13776|  5.04M|    expr_ty _res = NULL;
13777|  5.04M|    if (_PyPegen_is_memoized(p, bitwise_and_type, &_res)) {
  ------------------
  |  |  226|  5.04M|#define bitwise_and_type 1137  // Left-recursive
  ------------------
  |  Branch (13777:9): [True: 3.68M, False: 1.35M]
  ------------------
13778|  3.68M|        p->level--;
13779|  3.68M|        return _res;
13780|  3.68M|    }
13781|  1.35M|    int _mark = p->mark;
13782|  1.35M|    int _resmark = p->mark;
13783|  2.32M|    while (1) {
  ------------------
  |  Branch (13783:12): [True: 2.32M, Folded]
  ------------------
13784|  2.32M|        int tmpvar_4 = _PyPegen_update_memo(p, _mark, bitwise_and_type, _res);
  ------------------
  |  |  226|  2.32M|#define bitwise_and_type 1137  // Left-recursive
  ------------------
13785|  2.32M|        if (tmpvar_4) {
  ------------------
  |  Branch (13785:13): [True: 0, False: 2.32M]
  ------------------
13786|      0|            p->level--;
13787|      0|            return _res;
13788|      0|        }
13789|  2.32M|        p->mark = _mark;
13790|  2.32M|        void *_raw = bitwise_and_raw(p);
13791|  2.32M|        if (p->error_indicator) {
  ------------------
  |  Branch (13791:13): [True: 53.2k, False: 2.27M]
  ------------------
13792|  53.2k|            p->level--;
13793|  53.2k|            return NULL;
13794|  53.2k|        }
13795|  2.27M|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13795:13): [True: 347k, False: 1.92M]
  |  Branch (13795:29): [True: 952k, False: 972k]
  ------------------
13796|  1.30M|            break;
13797|   972k|        _resmark = p->mark;
13798|   972k|        _res = _raw;
13799|   972k|    }
13800|  1.30M|    p->mark = _resmark;
13801|  1.30M|    p->level--;
13802|  1.30M|    return _res;
13803|  1.35M|}
parser.c:bitwise_and_raw:
13806|  2.32M|{
13807|  2.32M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.65M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13807:9): [True: 1, False: 2.32M]
  |  Branch (13807:35): [True: 0, False: 2.32M]
  ------------------
13808|      1|        _Pypegen_stack_overflow(p);
13809|      1|    }
13810|  2.32M|    if (p->error_indicator) {
  ------------------
  |  Branch (13810:9): [True: 1, False: 2.32M]
  ------------------
13811|      1|        p->level--;
13812|      1|        return NULL;
13813|      1|    }
13814|  2.32M|    expr_ty _res = NULL;
13815|  2.32M|    int _mark = p->mark;
13816|  2.32M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13816:9): [True: 0, False: 2.32M]
  |  Branch (13816:31): [True: 0, False: 0]
  ------------------
13817|      0|        p->error_indicator = 1;
13818|      0|        p->level--;
13819|      0|        return NULL;
13820|      0|    }
13821|  2.32M|    int _start_lineno = p->tokens[_mark]->lineno;
13822|  2.32M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.32M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.32M]
  |  |  ------------------
  ------------------
13823|  2.32M|    int _start_col_offset = p->tokens[_mark]->col_offset;
13824|  2.32M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.32M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.32M]
  |  |  ------------------
  ------------------
13825|  2.32M|    { // bitwise_and '&' shift_expr
13826|  2.32M|        if (p->error_indicator) {
  ------------------
  |  Branch (13826:13): [True: 0, False: 2.32M]
  ------------------
13827|      0|            p->level--;
13828|      0|            return NULL;
13829|      0|        }
13830|  2.32M|        D(fprintf(stderr, "%*c> bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_and '&' shift_expr"));
13831|  2.32M|        Token * _literal;
13832|  2.32M|        expr_ty a;
13833|  2.32M|        expr_ty b;
13834|  2.32M|        if (
13835|  2.32M|            (a = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  Branch (13835:13): [True: 972k, False: 1.35M]
  ------------------
13836|   972k|            &&
13837|   972k|            (_literal = _PyPegen_expect_token(p, 19))  // token='&'
  ------------------
  |  Branch (13837:13): [True: 20.8k, False: 951k]
  ------------------
13838|  20.8k|            &&
13839|  20.8k|            (b = shift_expr_rule(p))  // shift_expr
  ------------------
  |  Branch (13839:13): [True: 19.7k, False: 1.15k]
  ------------------
13840|  2.32M|        )
13841|  19.7k|        {
13842|  19.7k|            D(fprintf(stderr, "%*c+ bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_and '&' shift_expr"));
13843|  19.7k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13844|  19.7k|            if (_token == NULL) {
  ------------------
  |  Branch (13844:17): [True: 0, False: 19.7k]
  ------------------
13845|      0|                p->level--;
13846|      0|                return NULL;
13847|      0|            }
13848|  19.7k|            int _end_lineno = _token->end_lineno;
13849|  19.7k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  19.7k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 19.7k]
  |  |  ------------------
  ------------------
13850|  19.7k|            int _end_col_offset = _token->end_col_offset;
13851|  19.7k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  19.7k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 19.7k]
  |  |  ------------------
  ------------------
13852|  19.7k|            _res = _PyAST_BinOp ( a , BitAnd , b , EXTRA );
  ------------------
  |  |  281|  19.7k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13853|  19.7k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13853:18): [True: 0, False: 19.7k]
  |  Branch (13853:34): [True: 0, False: 19.7k]
  |  Branch (13853:57): [True: 0, False: 0]
  ------------------
13854|      0|                p->error_indicator = 1;
13855|      0|                p->level--;
13856|      0|                return NULL;
13857|      0|            }
13858|  19.7k|            goto done;
13859|  19.7k|        }
13860|  2.30M|        p->mark = _mark;
13861|  2.30M|        D(fprintf(stderr, "%*c%s bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
13862|  2.30M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_and '&' shift_expr"));
13863|  2.30M|    }
13864|  2.30M|    if (p->call_invalid_rules) { // invalid_bitwise_and
  ------------------
  |  Branch (13864:9): [True: 442k, False: 1.86M]
  ------------------
13865|   442k|        if (p->error_indicator) {
  ------------------
  |  Branch (13865:13): [True: 398, False: 441k]
  ------------------
13866|    398|            p->level--;
13867|    398|            return NULL;
13868|    398|        }
13869|   441k|        D(fprintf(stderr, "%*c> bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_bitwise_and"));
13870|   441k|        void *invalid_bitwise_and_var;
13871|   441k|        if (
13872|   441k|            (invalid_bitwise_and_var = invalid_bitwise_and_rule(p))  // invalid_bitwise_and
  ------------------
  |  Branch (13872:13): [True: 0, False: 441k]
  ------------------
13873|   441k|        )
13874|      0|        {
13875|      0|            D(fprintf(stderr, "%*c+ bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_bitwise_and"));
13876|      0|            _res = invalid_bitwise_and_var;
13877|      0|            goto done;
13878|      0|        }
13879|   441k|        p->mark = _mark;
13880|   441k|        D(fprintf(stderr, "%*c%s bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
13881|   441k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_bitwise_and"));
13882|   441k|    }
13883|  2.30M|    { // shift_expr
13884|  2.30M|        if (p->error_indicator) {
  ------------------
  |  Branch (13884:13): [True: 262, False: 2.30M]
  ------------------
13885|    262|            p->level--;
13886|    262|            return NULL;
13887|    262|        }
13888|  2.30M|        D(fprintf(stderr, "%*c> bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "shift_expr"));
13889|  2.30M|        expr_ty shift_expr_var;
13890|  2.30M|        if (
13891|  2.30M|            (shift_expr_var = shift_expr_rule(p))  // shift_expr
  ------------------
  |  Branch (13891:13): [True: 1.90M, False: 400k]
  ------------------
13892|  2.30M|        )
13893|  1.90M|        {
13894|  1.90M|            D(fprintf(stderr, "%*c+ bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "shift_expr"));
13895|  1.90M|            _res = shift_expr_var;
13896|  1.90M|            goto done;
13897|  1.90M|        }
13898|   400k|        p->mark = _mark;
13899|   400k|        D(fprintf(stderr, "%*c%s bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
13900|   400k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "shift_expr"));
13901|   400k|    }
13902|   400k|    _res = NULL;
13903|  2.32M|  done:
13904|  2.32M|    p->level--;
13905|  2.32M|    return _res;
13906|   400k|}
parser.c:shift_expr_rule:
13913|  7.07M|{
13914|  7.07M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  14.1M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13914:9): [True: 1, False: 7.07M]
  |  Branch (13914:35): [True: 0, False: 7.07M]
  ------------------
13915|      1|        _Pypegen_stack_overflow(p);
13916|      1|    }
13917|  7.07M|    expr_ty _res = NULL;
13918|  7.07M|    if (_PyPegen_is_memoized(p, shift_expr_type, &_res)) {
  ------------------
  |  |  227|  7.07M|#define shift_expr_type 1138  // Left-recursive
  ------------------
  |  Branch (13918:9): [True: 5.69M, False: 1.37M]
  ------------------
13919|  5.69M|        p->level--;
13920|  5.69M|        return _res;
13921|  5.69M|    }
13922|  1.37M|    int _mark = p->mark;
13923|  1.37M|    int _resmark = p->mark;
13924|  2.37M|    while (1) {
  ------------------
  |  Branch (13924:12): [True: 2.37M, Folded]
  ------------------
13925|  2.37M|        int tmpvar_5 = _PyPegen_update_memo(p, _mark, shift_expr_type, _res);
  ------------------
  |  |  227|  2.37M|#define shift_expr_type 1138  // Left-recursive
  ------------------
13926|  2.37M|        if (tmpvar_5) {
  ------------------
  |  Branch (13926:13): [True: 0, False: 2.37M]
  ------------------
13927|      0|            p->level--;
13928|      0|            return _res;
13929|      0|        }
13930|  2.37M|        p->mark = _mark;
13931|  2.37M|        void *_raw = shift_expr_raw(p);
13932|  2.37M|        if (p->error_indicator) {
  ------------------
  |  Branch (13932:13): [True: 53.2k, False: 2.32M]
  ------------------
13933|  53.2k|            p->level--;
13934|  53.2k|            return NULL;
13935|  53.2k|        }
13936|  2.32M|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13936:13): [True: 348k, False: 1.97M]
  |  Branch (13936:29): [True: 972k, False: 1.00M]
  ------------------
13937|  1.32M|            break;
13938|  1.00M|        _resmark = p->mark;
13939|  1.00M|        _res = _raw;
13940|  1.00M|    }
13941|  1.32M|    p->mark = _resmark;
13942|  1.32M|    p->level--;
13943|  1.32M|    return _res;
13944|  1.37M|}
parser.c:shift_expr_raw:
13947|  2.37M|{
13948|  2.37M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.75M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13948:9): [True: 1, False: 2.37M]
  |  Branch (13948:35): [True: 0, False: 2.37M]
  ------------------
13949|      1|        _Pypegen_stack_overflow(p);
13950|      1|    }
13951|  2.37M|    if (p->error_indicator) {
  ------------------
  |  Branch (13951:9): [True: 1, False: 2.37M]
  ------------------
13952|      1|        p->level--;
13953|      1|        return NULL;
13954|      1|    }
13955|  2.37M|    expr_ty _res = NULL;
13956|  2.37M|    int _mark = p->mark;
13957|  2.37M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13957:9): [True: 0, False: 2.37M]
  |  Branch (13957:31): [True: 0, False: 0]
  ------------------
13958|      0|        p->error_indicator = 1;
13959|      0|        p->level--;
13960|      0|        return NULL;
13961|      0|    }
13962|  2.37M|    int _start_lineno = p->tokens[_mark]->lineno;
13963|  2.37M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.37M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.37M]
  |  |  ------------------
  ------------------
13964|  2.37M|    int _start_col_offset = p->tokens[_mark]->col_offset;
13965|  2.37M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.37M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.37M]
  |  |  ------------------
  ------------------
13966|  2.37M|    { // shift_expr '<<' sum
13967|  2.37M|        if (p->error_indicator) {
  ------------------
  |  Branch (13967:13): [True: 0, False: 2.37M]
  ------------------
13968|      0|            p->level--;
13969|      0|            return NULL;
13970|      0|        }
13971|  2.37M|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "shift_expr '<<' sum"));
13972|  2.37M|        Token * _literal;
13973|  2.37M|        expr_ty a;
13974|  2.37M|        expr_ty b;
13975|  2.37M|        if (
13976|  2.37M|            (a = shift_expr_rule(p))  // shift_expr
  ------------------
  |  Branch (13976:13): [True: 1.00M, False: 1.37M]
  ------------------
13977|  1.00M|            &&
13978|  1.00M|            (_literal = _PyPegen_expect_token(p, 33))  // token='<<'
  ------------------
  |  Branch (13978:13): [True: 16.3k, False: 989k]
  ------------------
13979|  16.3k|            &&
13980|  16.3k|            (b = sum_rule(p))  // sum
  ------------------
  |  Branch (13980:13): [True: 15.9k, False: 346]
  ------------------
13981|  2.37M|        )
13982|  15.9k|        {
13983|  15.9k|            D(fprintf(stderr, "%*c+ shift_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "shift_expr '<<' sum"));
13984|  15.9k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13985|  15.9k|            if (_token == NULL) {
  ------------------
  |  Branch (13985:17): [True: 0, False: 15.9k]
  ------------------
13986|      0|                p->level--;
13987|      0|                return NULL;
13988|      0|            }
13989|  15.9k|            int _end_lineno = _token->end_lineno;
13990|  15.9k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  15.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 15.9k]
  |  |  ------------------
  ------------------
13991|  15.9k|            int _end_col_offset = _token->end_col_offset;
13992|  15.9k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  15.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 15.9k]
  |  |  ------------------
  ------------------
13993|  15.9k|            _res = _PyAST_BinOp ( a , LShift , b , EXTRA );
  ------------------
  |  |  281|  15.9k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13994|  15.9k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13994:18): [True: 0, False: 15.9k]
  |  Branch (13994:34): [True: 0, False: 15.9k]
  |  Branch (13994:57): [True: 0, False: 0]
  ------------------
13995|      0|                p->error_indicator = 1;
13996|      0|                p->level--;
13997|      0|                return NULL;
13998|      0|            }
13999|  15.9k|            goto done;
14000|  15.9k|        }
14001|  2.36M|        p->mark = _mark;
14002|  2.36M|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
14003|  2.36M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "shift_expr '<<' sum"));
14004|  2.36M|    }
14005|      0|    { // shift_expr '>>' sum
14006|  2.36M|        if (p->error_indicator) {
  ------------------
  |  Branch (14006:13): [True: 288, False: 2.36M]
  ------------------
14007|    288|            p->level--;
14008|    288|            return NULL;
14009|    288|        }
14010|  2.36M|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "shift_expr '>>' sum"));
14011|  2.36M|        Token * _literal;
14012|  2.36M|        expr_ty a;
14013|  2.36M|        expr_ty b;
14014|  2.36M|        if (
14015|  2.36M|            (a = shift_expr_rule(p))  // shift_expr
  ------------------
  |  Branch (14015:13): [True: 989k, False: 1.37M]
  ------------------
14016|   989k|            &&
14017|   989k|            (_literal = _PyPegen_expect_token(p, 34))  // token='>>'
  ------------------
  |  Branch (14017:13): [True: 16.5k, False: 972k]
  ------------------
14018|  16.5k|            &&
14019|  16.5k|            (b = sum_rule(p))  // sum
  ------------------
  |  Branch (14019:13): [True: 16.4k, False: 163]
  ------------------
14020|  2.36M|        )
14021|  16.4k|        {
14022|  16.4k|            D(fprintf(stderr, "%*c+ shift_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "shift_expr '>>' sum"));
14023|  16.4k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14024|  16.4k|            if (_token == NULL) {
  ------------------
  |  Branch (14024:17): [True: 0, False: 16.4k]
  ------------------
14025|      0|                p->level--;
14026|      0|                return NULL;
14027|      0|            }
14028|  16.4k|            int _end_lineno = _token->end_lineno;
14029|  16.4k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  16.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 16.4k]
  |  |  ------------------
  ------------------
14030|  16.4k|            int _end_col_offset = _token->end_col_offset;
14031|  16.4k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  16.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 16.4k]
  |  |  ------------------
  ------------------
14032|  16.4k|            _res = _PyAST_BinOp ( a , RShift , b , EXTRA );
  ------------------
  |  |  281|  16.4k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14033|  16.4k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14033:18): [True: 0, False: 16.4k]
  |  Branch (14033:34): [True: 0, False: 16.4k]
  |  Branch (14033:57): [True: 0, False: 0]
  ------------------
14034|      0|                p->error_indicator = 1;
14035|      0|                p->level--;
14036|      0|                return NULL;
14037|      0|            }
14038|  16.4k|            goto done;
14039|  16.4k|        }
14040|  2.34M|        p->mark = _mark;
14041|  2.34M|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
14042|  2.34M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "shift_expr '>>' sum"));
14043|  2.34M|    }
14044|      0|    { // sum
14045|  2.34M|        if (p->error_indicator) {
  ------------------
  |  Branch (14045:13): [True: 117, False: 2.34M]
  ------------------
14046|    117|            p->level--;
14047|    117|            return NULL;
14048|    117|        }
14049|  2.34M|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum"));
14050|  2.34M|        expr_ty sum_var;
14051|  2.34M|        if (
14052|  2.34M|            (sum_var = sum_rule(p))  // sum
  ------------------
  |  Branch (14052:13): [True: 1.94M, False: 401k]
  ------------------
14053|  2.34M|        )
14054|  1.94M|        {
14055|  1.94M|            D(fprintf(stderr, "%*c+ shift_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum"));
14056|  1.94M|            _res = sum_var;
14057|  1.94M|            goto done;
14058|  1.94M|        }
14059|   401k|        p->mark = _mark;
14060|   401k|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
14061|   401k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum"));
14062|   401k|    }
14063|   401k|    _res = NULL;
14064|  2.37M|  done:
14065|  2.37M|    p->level--;
14066|  2.37M|    return _res;
14067|   401k|}
parser.c:sum_rule:
14074|  8.23M|{
14075|  8.23M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  16.4M|#  define MAXSTACK 6000
  ------------------
  |  Branch (14075:9): [True: 1, False: 8.23M]
  |  Branch (14075:35): [True: 0, False: 8.23M]
  ------------------
14076|      1|        _Pypegen_stack_overflow(p);
14077|      1|    }
14078|  8.23M|    expr_ty _res = NULL;
14079|  8.23M|    if (_PyPegen_is_memoized(p, sum_type, &_res)) {
  ------------------
  |  |  228|  8.23M|#define sum_type 1139  // Left-recursive
  ------------------
  |  Branch (14079:9): [True: 6.82M, False: 1.40M]
  ------------------
14080|  6.82M|        p->level--;
14081|  6.82M|        return _res;
14082|  6.82M|    }
14083|  1.40M|    int _mark = p->mark;
14084|  1.40M|    int _resmark = p->mark;
14085|  2.80M|    while (1) {
  ------------------
  |  Branch (14085:12): [True: 2.80M, Folded]
  ------------------
14086|  2.80M|        int tmpvar_6 = _PyPegen_update_memo(p, _mark, sum_type, _res);
  ------------------
  |  |  228|  2.80M|#define sum_type 1139  // Left-recursive
  ------------------
14087|  2.80M|        if (tmpvar_6) {
  ------------------
  |  Branch (14087:13): [True: 0, False: 2.80M]
  ------------------
14088|      0|            p->level--;
14089|      0|            return _res;
14090|      0|        }
14091|  2.80M|        p->mark = _mark;
14092|  2.80M|        void *_raw = sum_raw(p);
14093|  2.80M|        if (p->error_indicator) {
  ------------------
  |  Branch (14093:13): [True: 53.2k, False: 2.74M]
  ------------------
14094|  53.2k|            p->level--;
14095|  53.2k|            return NULL;
14096|  53.2k|        }
14097|  2.74M|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (14097:13): [True: 348k, False: 2.39M]
  |  Branch (14097:29): [True: 1.00M, False: 1.39M]
  ------------------
14098|  1.35M|            break;
14099|  1.39M|        _resmark = p->mark;
14100|  1.39M|        _res = _raw;
14101|  1.39M|    }
14102|  1.35M|    p->mark = _resmark;
14103|  1.35M|    p->level--;
14104|  1.35M|    return _res;
14105|  1.40M|}
parser.c:sum_raw:
14108|  2.80M|{
14109|  2.80M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  5.60M|#  define MAXSTACK 6000
  ------------------
  |  Branch (14109:9): [True: 1, False: 2.80M]
  |  Branch (14109:35): [True: 0, False: 2.80M]
  ------------------
14110|      1|        _Pypegen_stack_overflow(p);
14111|      1|    }
14112|  2.80M|    if (p->error_indicator) {
  ------------------
  |  Branch (14112:9): [True: 1, False: 2.80M]
  ------------------
14113|      1|        p->level--;
14114|      1|        return NULL;
14115|      1|    }
14116|  2.80M|    expr_ty _res = NULL;
14117|  2.80M|    int _mark = p->mark;
14118|  2.80M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14118:9): [True: 0, False: 2.80M]
  |  Branch (14118:31): [True: 0, False: 0]
  ------------------
14119|      0|        p->error_indicator = 1;
14120|      0|        p->level--;
14121|      0|        return NULL;
14122|      0|    }
14123|  2.80M|    int _start_lineno = p->tokens[_mark]->lineno;
14124|  2.80M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.80M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.80M]
  |  |  ------------------
  ------------------
14125|  2.80M|    int _start_col_offset = p->tokens[_mark]->col_offset;
14126|  2.80M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.80M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.80M]
  |  |  ------------------
  ------------------
14127|  2.80M|    { // sum '+' term
14128|  2.80M|        if (p->error_indicator) {
  ------------------
  |  Branch (14128:13): [True: 0, False: 2.80M]
  ------------------
14129|      0|            p->level--;
14130|      0|            return NULL;
14131|      0|        }
14132|  2.80M|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum '+' term"));
14133|  2.80M|        Token * _literal;
14134|  2.80M|        expr_ty a;
14135|  2.80M|        expr_ty b;
14136|  2.80M|        if (
14137|  2.80M|            (a = sum_rule(p))  // sum
  ------------------
  |  Branch (14137:13): [True: 1.39M, False: 1.40M]
  ------------------
14138|  1.39M|            &&
14139|  1.39M|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (14139:13): [True: 195k, False: 1.19M]
  ------------------
14140|   195k|            &&
14141|   195k|            (b = term_rule(p))  // term
  ------------------
  |  Branch (14141:13): [True: 194k, False: 1.32k]
  ------------------
14142|  2.80M|        )
14143|   194k|        {
14144|   194k|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum '+' term"));
14145|   194k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14146|   194k|            if (_token == NULL) {
  ------------------
  |  Branch (14146:17): [True: 0, False: 194k]
  ------------------
14147|      0|                p->level--;
14148|      0|                return NULL;
14149|      0|            }
14150|   194k|            int _end_lineno = _token->end_lineno;
14151|   194k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   194k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 194k]
  |  |  ------------------
  ------------------
14152|   194k|            int _end_col_offset = _token->end_col_offset;
14153|   194k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   194k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 194k]
  |  |  ------------------
  ------------------
14154|   194k|            _res = _PyAST_BinOp ( a , Add , b , EXTRA );
  ------------------
  |  |  281|   194k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14155|   194k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14155:18): [True: 0, False: 194k]
  |  Branch (14155:34): [True: 0, False: 194k]
  |  Branch (14155:57): [True: 0, False: 0]
  ------------------
14156|      0|                p->error_indicator = 1;
14157|      0|                p->level--;
14158|      0|                return NULL;
14159|      0|            }
14160|   194k|            goto done;
14161|   194k|        }
14162|  2.60M|        p->mark = _mark;
14163|  2.60M|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
14164|  2.60M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum '+' term"));
14165|  2.60M|    }
14166|      0|    { // sum '-' term
14167|  2.60M|        if (p->error_indicator) {
  ------------------
  |  Branch (14167:13): [True: 707, False: 2.60M]
  ------------------
14168|    707|            p->level--;
14169|    707|            return NULL;
14170|    707|        }
14171|  2.60M|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum '-' term"));
14172|  2.60M|        Token * _literal;
14173|  2.60M|        expr_ty a;
14174|  2.60M|        expr_ty b;
14175|  2.60M|        if (
14176|  2.60M|            (a = sum_rule(p))  // sum
  ------------------
  |  Branch (14176:13): [True: 1.19M, False: 1.40M]
  ------------------
14177|  1.19M|            &&
14178|  1.19M|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (14178:13): [True: 194k, False: 1.00M]
  ------------------
14179|   194k|            &&
14180|   194k|            (b = term_rule(p))  // term
  ------------------
  |  Branch (14180:13): [True: 190k, False: 3.28k]
  ------------------
14181|  2.60M|        )
14182|   190k|        {
14183|   190k|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum '-' term"));
14184|   190k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14185|   190k|            if (_token == NULL) {
  ------------------
  |  Branch (14185:17): [True: 0, False: 190k]
  ------------------
14186|      0|                p->level--;
14187|      0|                return NULL;
14188|      0|            }
14189|   190k|            int _end_lineno = _token->end_lineno;
14190|   190k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   190k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 190k]
  |  |  ------------------
  ------------------
14191|   190k|            int _end_col_offset = _token->end_col_offset;
14192|   190k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   190k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 190k]
  |  |  ------------------
  ------------------
14193|   190k|            _res = _PyAST_BinOp ( a , Sub , b , EXTRA );
  ------------------
  |  |  281|   190k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14194|   190k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14194:18): [True: 0, False: 190k]
  |  Branch (14194:34): [True: 0, False: 190k]
  |  Branch (14194:57): [True: 0, False: 0]
  ------------------
14195|      0|                p->error_indicator = 1;
14196|      0|                p->level--;
14197|      0|                return NULL;
14198|      0|            }
14199|   190k|            goto done;
14200|   190k|        }
14201|  2.41M|        p->mark = _mark;
14202|  2.41M|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
14203|  2.41M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum '-' term"));
14204|  2.41M|    }
14205|  2.41M|    if (p->call_invalid_rules) { // invalid_arithmetic
  ------------------
  |  Branch (14205:9): [True: 451k, False: 1.96M]
  ------------------
14206|   451k|        if (p->error_indicator) {
  ------------------
  |  Branch (14206:13): [True: 1.43k, False: 449k]
  ------------------
14207|  1.43k|            p->level--;
14208|  1.43k|            return NULL;
14209|  1.43k|        }
14210|   449k|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_arithmetic"));
14211|   449k|        void *invalid_arithmetic_var;
14212|   449k|        if (
14213|   449k|            (invalid_arithmetic_var = invalid_arithmetic_rule(p))  // invalid_arithmetic
  ------------------
  |  Branch (14213:13): [True: 0, False: 449k]
  ------------------
14214|   449k|        )
14215|      0|        {
14216|      0|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_arithmetic"));
14217|      0|            _res = invalid_arithmetic_var;
14218|      0|            goto done;
14219|      0|        }
14220|   449k|        p->mark = _mark;
14221|   449k|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
14222|   449k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_arithmetic"));
14223|   449k|    }
14224|  2.41M|    { // term
14225|  2.41M|        if (p->error_indicator) {
  ------------------
  |  Branch (14225:13): [True: 1.10k, False: 2.41M]
  ------------------
14226|  1.10k|            p->level--;
14227|  1.10k|            return NULL;
14228|  1.10k|        }
14229|  2.41M|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term"));
14230|  2.41M|        expr_ty term_var;
14231|  2.41M|        if (
14232|  2.41M|            (term_var = term_rule(p))  // term
  ------------------
  |  Branch (14232:13): [True: 2.01M, False: 398k]
  ------------------
14233|  2.41M|        )
14234|  2.01M|        {
14235|  2.01M|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term"));
14236|  2.01M|            _res = term_var;
14237|  2.01M|            goto done;
14238|  2.01M|        }
14239|   398k|        p->mark = _mark;
14240|   398k|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
14241|   398k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term"));
14242|   398k|    }
14243|   398k|    _res = NULL;
14244|  2.79M|  done:
14245|  2.79M|    p->level--;
14246|  2.79M|    return _res;
14247|   398k|}
parser.c:term_rule:
14260|  19.4M|{
14261|  19.4M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  38.9M|#  define MAXSTACK 6000
  ------------------
  |  Branch (14261:9): [True: 1, False: 19.4M]
  |  Branch (14261:35): [True: 0, False: 19.4M]
  ------------------
14262|      1|        _Pypegen_stack_overflow(p);
14263|      1|    }
14264|  19.4M|    expr_ty _res = NULL;
14265|  19.4M|    if (_PyPegen_is_memoized(p, term_type, &_res)) {
  ------------------
  |  |  229|  19.4M|#define term_type 1140  // Left-recursive
  ------------------
  |  Branch (14265:9): [True: 17.6M, False: 1.79M]
  ------------------
14266|  17.6M|        p->level--;
14267|  17.6M|        return _res;
14268|  17.6M|    }
14269|  1.79M|    int _mark = p->mark;
14270|  1.79M|    int _resmark = p->mark;
14271|  3.56M|    while (1) {
  ------------------
  |  Branch (14271:12): [True: 3.56M, Folded]
  ------------------
14272|  3.56M|        int tmpvar_7 = _PyPegen_update_memo(p, _mark, term_type, _res);
  ------------------
  |  |  229|  3.56M|#define term_type 1140  // Left-recursive
  ------------------
14273|  3.56M|        if (tmpvar_7) {
  ------------------
  |  Branch (14273:13): [True: 0, False: 3.56M]
  ------------------
14274|      0|            p->level--;
14275|      0|            return _res;
14276|      0|        }
14277|  3.56M|        p->mark = _mark;
14278|  3.56M|        void *_raw = term_raw(p);
14279|  3.56M|        if (p->error_indicator) {
  ------------------
  |  Branch (14279:13): [True: 53.0k, False: 3.51M]
  ------------------
14280|  53.0k|            p->level--;
14281|  53.0k|            return NULL;
14282|  53.0k|        }
14283|  3.51M|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (14283:13): [True: 349k, False: 3.16M]
  |  Branch (14283:29): [True: 1.39M, False: 1.77M]
  ------------------
14284|  1.74M|            break;
14285|  1.77M|        _resmark = p->mark;
14286|  1.77M|        _res = _raw;
14287|  1.77M|    }
14288|  1.74M|    p->mark = _resmark;
14289|  1.74M|    p->level--;
14290|  1.74M|    return _res;
14291|  1.79M|}
parser.c:term_raw:
14294|  3.56M|{
14295|  3.56M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  7.13M|#  define MAXSTACK 6000
  ------------------
  |  Branch (14295:9): [True: 1, False: 3.56M]
  |  Branch (14295:35): [True: 0, False: 3.56M]
  ------------------
14296|      1|        _Pypegen_stack_overflow(p);
14297|      1|    }
14298|  3.56M|    if (p->error_indicator) {
  ------------------
  |  Branch (14298:9): [True: 1, False: 3.56M]
  ------------------
14299|      1|        p->level--;
14300|      1|        return NULL;
14301|      1|    }
14302|  3.56M|    expr_ty _res = NULL;
14303|  3.56M|    int _mark = p->mark;
14304|  3.56M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14304:9): [True: 0, False: 3.56M]
  |  Branch (14304:31): [True: 0, False: 0]
  ------------------
14305|      0|        p->error_indicator = 1;
14306|      0|        p->level--;
14307|      0|        return NULL;
14308|      0|    }
14309|  3.56M|    int _start_lineno = p->tokens[_mark]->lineno;
14310|  3.56M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.56M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.56M]
  |  |  ------------------
  ------------------
14311|  3.56M|    int _start_col_offset = p->tokens[_mark]->col_offset;
14312|  3.56M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.56M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.56M]
  |  |  ------------------
  ------------------
14313|  3.56M|    { // term '*' factor
14314|  3.56M|        if (p->error_indicator) {
  ------------------
  |  Branch (14314:13): [True: 0, False: 3.56M]
  ------------------
14315|      0|            p->level--;
14316|      0|            return NULL;
14317|      0|        }
14318|  3.56M|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '*' factor"));
14319|  3.56M|        Token * _literal;
14320|  3.56M|        expr_ty a;
14321|  3.56M|        expr_ty b;
14322|  3.56M|        if (
14323|  3.56M|            (a = term_rule(p))  // term
  ------------------
  |  Branch (14323:13): [True: 1.77M, False: 1.79M]
  ------------------
14324|  1.77M|            &&
14325|  1.77M|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (14325:13): [True: 192k, False: 1.58M]
  ------------------
14326|   192k|            &&
14327|   192k|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14327:13): [True: 189k, False: 3.61k]
  ------------------
14328|  3.56M|        )
14329|   189k|        {
14330|   189k|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '*' factor"));
14331|   189k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14332|   189k|            if (_token == NULL) {
  ------------------
  |  Branch (14332:17): [True: 0, False: 189k]
  ------------------
14333|      0|                p->level--;
14334|      0|                return NULL;
14335|      0|            }
14336|   189k|            int _end_lineno = _token->end_lineno;
14337|   189k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   189k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 189k]
  |  |  ------------------
  ------------------
14338|   189k|            int _end_col_offset = _token->end_col_offset;
14339|   189k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   189k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 189k]
  |  |  ------------------
  ------------------
14340|   189k|            _res = _PyAST_BinOp ( a , Mult , b , EXTRA );
  ------------------
  |  |  281|   189k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14341|   189k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14341:18): [True: 0, False: 189k]
  |  Branch (14341:34): [True: 0, False: 189k]
  |  Branch (14341:57): [True: 0, False: 0]
  ------------------
14342|      0|                p->error_indicator = 1;
14343|      0|                p->level--;
14344|      0|                return NULL;
14345|      0|            }
14346|   189k|            goto done;
14347|   189k|        }
14348|  3.37M|        p->mark = _mark;
14349|  3.37M|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14350|  3.37M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '*' factor"));
14351|  3.37M|    }
14352|      0|    { // term '/' factor
14353|  3.37M|        if (p->error_indicator) {
  ------------------
  |  Branch (14353:13): [True: 2.24k, False: 3.37M]
  ------------------
14354|  2.24k|            p->level--;
14355|  2.24k|            return NULL;
14356|  2.24k|        }
14357|  3.37M|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '/' factor"));
14358|  3.37M|        Token * _literal;
14359|  3.37M|        expr_ty a;
14360|  3.37M|        expr_ty b;
14361|  3.37M|        if (
14362|  3.37M|            (a = term_rule(p))  // term
  ------------------
  |  Branch (14362:13): [True: 1.58M, False: 1.79M]
  ------------------
14363|  1.58M|            &&
14364|  1.58M|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (14364:13): [True: 93.3k, False: 1.48M]
  ------------------
14365|  93.3k|            &&
14366|  93.3k|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14366:13): [True: 92.0k, False: 1.32k]
  ------------------
14367|  3.37M|        )
14368|  92.0k|        {
14369|  92.0k|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '/' factor"));
14370|  92.0k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14371|  92.0k|            if (_token == NULL) {
  ------------------
  |  Branch (14371:17): [True: 0, False: 92.0k]
  ------------------
14372|      0|                p->level--;
14373|      0|                return NULL;
14374|      0|            }
14375|  92.0k|            int _end_lineno = _token->end_lineno;
14376|  92.0k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  92.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 92.0k]
  |  |  ------------------
  ------------------
14377|  92.0k|            int _end_col_offset = _token->end_col_offset;
14378|  92.0k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  92.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 92.0k]
  |  |  ------------------
  ------------------
14379|  92.0k|            _res = _PyAST_BinOp ( a , Div , b , EXTRA );
  ------------------
  |  |  281|  92.0k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14380|  92.0k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14380:18): [True: 0, False: 92.0k]
  |  Branch (14380:34): [True: 0, False: 92.0k]
  |  Branch (14380:57): [True: 0, False: 0]
  ------------------
14381|      0|                p->error_indicator = 1;
14382|      0|                p->level--;
14383|      0|                return NULL;
14384|      0|            }
14385|  92.0k|            goto done;
14386|  92.0k|        }
14387|  3.28M|        p->mark = _mark;
14388|  3.28M|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14389|  3.28M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '/' factor"));
14390|  3.28M|    }
14391|      0|    { // term '//' factor
14392|  3.28M|        if (p->error_indicator) {
  ------------------
  |  Branch (14392:13): [True: 967, False: 3.28M]
  ------------------
14393|    967|            p->level--;
14394|    967|            return NULL;
14395|    967|        }
14396|  3.28M|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '//' factor"));
14397|  3.28M|        Token * _literal;
14398|  3.28M|        expr_ty a;
14399|  3.28M|        expr_ty b;
14400|  3.28M|        if (
14401|  3.28M|            (a = term_rule(p))  // term
  ------------------
  |  Branch (14401:13): [True: 1.48M, False: 1.79M]
  ------------------
14402|  1.48M|            &&
14403|  1.48M|            (_literal = _PyPegen_expect_token(p, 47))  // token='//'
  ------------------
  |  Branch (14403:13): [True: 22.6k, False: 1.46M]
  ------------------
14404|  22.6k|            &&
14405|  22.6k|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14405:13): [True: 21.7k, False: 885]
  ------------------
14406|  3.28M|        )
14407|  21.7k|        {
14408|  21.7k|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '//' factor"));
14409|  21.7k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14410|  21.7k|            if (_token == NULL) {
  ------------------
  |  Branch (14410:17): [True: 0, False: 21.7k]
  ------------------
14411|      0|                p->level--;
14412|      0|                return NULL;
14413|      0|            }
14414|  21.7k|            int _end_lineno = _token->end_lineno;
14415|  21.7k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  21.7k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 21.7k]
  |  |  ------------------
  ------------------
14416|  21.7k|            int _end_col_offset = _token->end_col_offset;
14417|  21.7k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  21.7k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 21.7k]
  |  |  ------------------
  ------------------
14418|  21.7k|            _res = _PyAST_BinOp ( a , FloorDiv , b , EXTRA );
  ------------------
  |  |  281|  21.7k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14419|  21.7k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14419:18): [True: 0, False: 21.7k]
  |  Branch (14419:34): [True: 0, False: 21.7k]
  |  Branch (14419:57): [True: 0, False: 0]
  ------------------
14420|      0|                p->error_indicator = 1;
14421|      0|                p->level--;
14422|      0|                return NULL;
14423|      0|            }
14424|  21.7k|            goto done;
14425|  21.7k|        }
14426|  3.26M|        p->mark = _mark;
14427|  3.26M|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14428|  3.26M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '//' factor"));
14429|  3.26M|    }
14430|      0|    { // term '%' factor
14431|  3.26M|        if (p->error_indicator) {
  ------------------
  |  Branch (14431:13): [True: 157, False: 3.26M]
  ------------------
14432|    157|            p->level--;
14433|    157|            return NULL;
14434|    157|        }
14435|  3.26M|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '%' factor"));
14436|  3.26M|        Token * _literal;
14437|  3.26M|        expr_ty a;
14438|  3.26M|        expr_ty b;
14439|  3.26M|        if (
14440|  3.26M|            (a = term_rule(p))  // term
  ------------------
  |  Branch (14440:13): [True: 1.46M, False: 1.79M]
  ------------------
14441|  1.46M|            &&
14442|  1.46M|            (_literal = _PyPegen_expect_token(p, 24))  // token='%'
  ------------------
  |  Branch (14442:13): [True: 64.1k, False: 1.40M]
  ------------------
14443|  64.1k|            &&
14444|  64.1k|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14444:13): [True: 63.0k, False: 1.14k]
  ------------------
14445|  3.26M|        )
14446|  63.0k|        {
14447|  63.0k|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '%' factor"));
14448|  63.0k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14449|  63.0k|            if (_token == NULL) {
  ------------------
  |  Branch (14449:17): [True: 0, False: 63.0k]
  ------------------
14450|      0|                p->level--;
14451|      0|                return NULL;
14452|      0|            }
14453|  63.0k|            int _end_lineno = _token->end_lineno;
14454|  63.0k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  63.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 63.0k]
  |  |  ------------------
  ------------------
14455|  63.0k|            int _end_col_offset = _token->end_col_offset;
14456|  63.0k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  63.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 63.0k]
  |  |  ------------------
  ------------------
14457|  63.0k|            _res = _PyAST_BinOp ( a , Mod , b , EXTRA );
  ------------------
  |  |  281|  63.0k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14458|  63.0k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14458:18): [True: 0, False: 63.0k]
  |  Branch (14458:34): [True: 0, False: 63.0k]
  |  Branch (14458:57): [True: 0, False: 0]
  ------------------
14459|      0|                p->error_indicator = 1;
14460|      0|                p->level--;
14461|      0|                return NULL;
14462|      0|            }
14463|  63.0k|            goto done;
14464|  63.0k|        }
14465|  3.19M|        p->mark = _mark;
14466|  3.19M|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14467|  3.19M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '%' factor"));
14468|  3.19M|    }
14469|      0|    { // term '@' factor
14470|  3.19M|        if (p->error_indicator) {
  ------------------
  |  Branch (14470:13): [True: 423, False: 3.19M]
  ------------------
14471|    423|            p->level--;
14472|    423|            return NULL;
14473|    423|        }
14474|  3.19M|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '@' factor"));
14475|  3.19M|        Token * _literal;
14476|  3.19M|        expr_ty a;
14477|  3.19M|        expr_ty b;
14478|  3.19M|        if (
14479|  3.19M|            (a = term_rule(p))  // term
  ------------------
  |  Branch (14479:13): [True: 1.40M, False: 1.79M]
  ------------------
14480|  1.40M|            &&
14481|  1.40M|            (_literal = _PyPegen_expect_token(p, 49))  // token='@'
  ------------------
  |  Branch (14481:13): [True: 11.8k, False: 1.39M]
  ------------------
14482|  11.8k|            &&
14483|  11.8k|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14483:13): [True: 10.5k, False: 1.23k]
  ------------------
14484|  3.19M|        )
14485|  10.5k|        {
14486|  10.5k|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '@' factor"));
14487|  10.5k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14488|  10.5k|            if (_token == NULL) {
  ------------------
  |  Branch (14488:17): [True: 0, False: 10.5k]
  ------------------
14489|      0|                p->level--;
14490|      0|                return NULL;
14491|      0|            }
14492|  10.5k|            int _end_lineno = _token->end_lineno;
14493|  10.5k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  10.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 10.5k]
  |  |  ------------------
  ------------------
14494|  10.5k|            int _end_col_offset = _token->end_col_offset;
14495|  10.5k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  10.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 10.5k]
  |  |  ------------------
  ------------------
14496|  10.5k|            _res = CHECK_VERSION ( expr_ty , 5 , "The '@' operator is" , _PyAST_BinOp ( a , MatMult , b , EXTRA ) );
  ------------------
  |  |  319|  10.5k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
14497|  10.5k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14497:18): [True: 0, False: 10.5k]
  |  Branch (14497:34): [True: 0, False: 10.5k]
  |  Branch (14497:57): [True: 0, False: 0]
  ------------------
14498|      0|                p->error_indicator = 1;
14499|      0|                p->level--;
14500|      0|                return NULL;
14501|      0|            }
14502|  10.5k|            goto done;
14503|  10.5k|        }
14504|  3.18M|        p->mark = _mark;
14505|  3.18M|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14506|  3.18M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '@' factor"));
14507|  3.18M|    }
14508|      0|    { // factor
14509|  3.18M|        if (p->error_indicator) {
  ------------------
  |  Branch (14509:13): [True: 473, False: 3.18M]
  ------------------
14510|    473|            p->level--;
14511|    473|            return NULL;
14512|    473|        }
14513|  3.18M|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "factor"));
14514|  3.18M|        expr_ty factor_var;
14515|  3.18M|        if (
14516|  3.18M|            (factor_var = factor_rule(p))  // factor
  ------------------
  |  Branch (14516:13): [True: 2.78M, False: 398k]
  ------------------
14517|  3.18M|        )
14518|  2.78M|        {
14519|  2.78M|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "factor"));
14520|  2.78M|            _res = factor_var;
14521|  2.78M|            goto done;
14522|  2.78M|        }
14523|   398k|        p->mark = _mark;
14524|   398k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14525|   398k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "factor"));
14526|   398k|    }
14527|   398k|    _res = NULL;
14528|  3.56M|  done:
14529|  3.56M|    p->level--;
14530|  3.56M|    return _res;
14531|   398k|}
parser.c:factor_rule:
14536|  4.01M|{
14537|  4.01M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.03M|#  define MAXSTACK 6000
  ------------------
  |  Branch (14537:9): [True: 1, False: 4.01M]
  |  Branch (14537:35): [True: 0, False: 4.01M]
  ------------------
14538|      1|        _Pypegen_stack_overflow(p);
14539|      1|    }
14540|  4.01M|    if (p->error_indicator) {
  ------------------
  |  Branch (14540:9): [True: 1, False: 4.01M]
  ------------------
14541|      1|        p->level--;
14542|      1|        return NULL;
14543|      1|    }
14544|  4.01M|    expr_ty _res = NULL;
14545|  4.01M|    if (_PyPegen_is_memoized(p, factor_type, &_res)) {
  ------------------
  |  |  230|  4.01M|#define factor_type 1141
  ------------------
  |  Branch (14545:9): [True: 1.40M, False: 2.61M]
  ------------------
14546|  1.40M|        p->level--;
14547|  1.40M|        return _res;
14548|  1.40M|    }
14549|  2.61M|    int _mark = p->mark;
14550|  2.61M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14550:9): [True: 0, False: 2.61M]
  |  Branch (14550:31): [True: 0, False: 0]
  ------------------
14551|      0|        p->error_indicator = 1;
14552|      0|        p->level--;
14553|      0|        return NULL;
14554|      0|    }
14555|  2.61M|    int _start_lineno = p->tokens[_mark]->lineno;
14556|  2.61M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.61M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.61M]
  |  |  ------------------
  ------------------
14557|  2.61M|    int _start_col_offset = p->tokens[_mark]->col_offset;
14558|  2.61M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.61M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.61M]
  |  |  ------------------
  ------------------
14559|  2.61M|    { // '+' factor
14560|  2.61M|        if (p->error_indicator) {
  ------------------
  |  Branch (14560:13): [True: 0, False: 2.61M]
  ------------------
14561|      0|            p->level--;
14562|      0|            return NULL;
14563|      0|        }
14564|  2.61M|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+' factor"));
14565|  2.61M|        Token * _literal;
14566|  2.61M|        expr_ty a;
14567|  2.61M|        if (
14568|  2.61M|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (14568:13): [True: 114k, False: 2.50M]
  ------------------
14569|   114k|            &&
14570|   114k|            (a = factor_rule(p))  // factor
  ------------------
  |  Branch (14570:13): [True: 106k, False: 8.10k]
  ------------------
14571|  2.61M|        )
14572|   106k|        {
14573|   106k|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+' factor"));
14574|   106k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14575|   106k|            if (_token == NULL) {
  ------------------
  |  Branch (14575:17): [True: 0, False: 106k]
  ------------------
14576|      0|                p->level--;
14577|      0|                return NULL;
14578|      0|            }
14579|   106k|            int _end_lineno = _token->end_lineno;
14580|   106k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   106k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 106k]
  |  |  ------------------
  ------------------
14581|   106k|            int _end_col_offset = _token->end_col_offset;
14582|   106k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   106k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 106k]
  |  |  ------------------
  ------------------
14583|   106k|            _res = _PyAST_UnaryOp ( UAdd , a , EXTRA );
  ------------------
  |  |  281|   106k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14584|   106k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14584:18): [True: 0, False: 106k]
  |  Branch (14584:34): [True: 0, False: 106k]
  |  Branch (14584:57): [True: 0, False: 0]
  ------------------
14585|      0|                p->error_indicator = 1;
14586|      0|                p->level--;
14587|      0|                return NULL;
14588|      0|            }
14589|   106k|            goto done;
14590|   106k|        }
14591|  2.51M|        p->mark = _mark;
14592|  2.51M|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14593|  2.51M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+' factor"));
14594|  2.51M|    }
14595|      0|    { // '-' factor
14596|  2.51M|        if (p->error_indicator) {
  ------------------
  |  Branch (14596:13): [True: 6.46k, False: 2.50M]
  ------------------
14597|  6.46k|            p->level--;
14598|  6.46k|            return NULL;
14599|  6.46k|        }
14600|  2.50M|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-' factor"));
14601|  2.50M|        Token * _literal;
14602|  2.50M|        expr_ty a;
14603|  2.50M|        if (
14604|  2.50M|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (14604:13): [True: 192k, False: 2.31M]
  ------------------
14605|   192k|            &&
14606|   192k|            (a = factor_rule(p))  // factor
  ------------------
  |  Branch (14606:13): [True: 189k, False: 3.71k]
  ------------------
14607|  2.50M|        )
14608|   189k|        {
14609|   189k|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-' factor"));
14610|   189k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14611|   189k|            if (_token == NULL) {
  ------------------
  |  Branch (14611:17): [True: 0, False: 189k]
  ------------------
14612|      0|                p->level--;
14613|      0|                return NULL;
14614|      0|            }
14615|   189k|            int _end_lineno = _token->end_lineno;
14616|   189k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   189k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 189k]
  |  |  ------------------
  ------------------
14617|   189k|            int _end_col_offset = _token->end_col_offset;
14618|   189k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   189k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 189k]
  |  |  ------------------
  ------------------
14619|   189k|            _res = _PyAST_UnaryOp ( USub , a , EXTRA );
  ------------------
  |  |  281|   189k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14620|   189k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14620:18): [True: 0, False: 189k]
  |  Branch (14620:34): [True: 0, False: 189k]
  |  Branch (14620:57): [True: 0, False: 0]
  ------------------
14621|      0|                p->error_indicator = 1;
14622|      0|                p->level--;
14623|      0|                return NULL;
14624|      0|            }
14625|   189k|            goto done;
14626|   189k|        }
14627|  2.31M|        p->mark = _mark;
14628|  2.31M|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14629|  2.31M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-' factor"));
14630|  2.31M|    }
14631|      0|    { // '~' factor
14632|  2.31M|        if (p->error_indicator) {
  ------------------
  |  Branch (14632:13): [True: 2.02k, False: 2.31M]
  ------------------
14633|  2.02k|            p->level--;
14634|  2.02k|            return NULL;
14635|  2.02k|        }
14636|  2.31M|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'~' factor"));
14637|  2.31M|        Token * _literal;
14638|  2.31M|        expr_ty a;
14639|  2.31M|        if (
14640|  2.31M|            (_literal = _PyPegen_expect_token(p, 31))  // token='~'
  ------------------
  |  Branch (14640:13): [True: 20.4k, False: 2.29M]
  ------------------
14641|  20.4k|            &&
14642|  20.4k|            (a = factor_rule(p))  // factor
  ------------------
  |  Branch (14642:13): [True: 19.1k, False: 1.29k]
  ------------------
14643|  2.31M|        )
14644|  19.1k|        {
14645|  19.1k|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'~' factor"));
14646|  19.1k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14647|  19.1k|            if (_token == NULL) {
  ------------------
  |  Branch (14647:17): [True: 0, False: 19.1k]
  ------------------
14648|      0|                p->level--;
14649|      0|                return NULL;
14650|      0|            }
14651|  19.1k|            int _end_lineno = _token->end_lineno;
14652|  19.1k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  19.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 19.1k]
  |  |  ------------------
  ------------------
14653|  19.1k|            int _end_col_offset = _token->end_col_offset;
14654|  19.1k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  19.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 19.1k]
  |  |  ------------------
  ------------------
14655|  19.1k|            _res = _PyAST_UnaryOp ( Invert , a , EXTRA );
  ------------------
  |  |  281|  19.1k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14656|  19.1k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14656:18): [True: 0, False: 19.1k]
  |  Branch (14656:34): [True: 0, False: 19.1k]
  |  Branch (14656:57): [True: 0, False: 0]
  ------------------
14657|      0|                p->error_indicator = 1;
14658|      0|                p->level--;
14659|      0|                return NULL;
14660|      0|            }
14661|  19.1k|            goto done;
14662|  19.1k|        }
14663|  2.29M|        p->mark = _mark;
14664|  2.29M|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14665|  2.29M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'~' factor"));
14666|  2.29M|    }
14667|      0|    { // power
14668|  2.29M|        if (p->error_indicator) {
  ------------------
  |  Branch (14668:13): [True: 403, False: 2.29M]
  ------------------
14669|    403|            p->level--;
14670|    403|            return NULL;
14671|    403|        }
14672|  2.29M|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "power"));
14673|  2.29M|        expr_ty power_var;
14674|  2.29M|        if (
14675|  2.29M|            (power_var = power_rule(p))  // power
  ------------------
  |  Branch (14675:13): [True: 1.88M, False: 411k]
  ------------------
14676|  2.29M|        )
14677|  1.88M|        {
14678|  1.88M|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "power"));
14679|  1.88M|            _res = power_var;
14680|  1.88M|            goto done;
14681|  1.88M|        }
14682|   411k|        p->mark = _mark;
14683|   411k|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14684|   411k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "power"));
14685|   411k|    }
14686|   411k|    if (p->call_invalid_rules) { // invalid_factor
  ------------------
  |  Branch (14686:9): [True: 109k, False: 301k]
  ------------------
14687|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (14687:13): [True: 38.0k, False: 71.8k]
  ------------------
14688|  38.0k|            p->level--;
14689|  38.0k|            return NULL;
14690|  38.0k|        }
14691|  71.8k|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_factor"));
14692|  71.8k|        void *invalid_factor_var;
14693|  71.8k|        if (
14694|  71.8k|            (invalid_factor_var = invalid_factor_rule(p))  // invalid_factor
  ------------------
  |  Branch (14694:13): [True: 0, False: 71.8k]
  ------------------
14695|  71.8k|        )
14696|      0|        {
14697|      0|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_factor"));
14698|      0|            _res = invalid_factor_var;
14699|      0|            goto done;
14700|      0|        }
14701|  71.8k|        p->mark = _mark;
14702|  71.8k|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14703|  71.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_factor"));
14704|  71.8k|    }
14705|   373k|    _res = NULL;
14706|  2.57M|  done:
14707|  2.57M|    _PyPegen_insert_memo(p, _mark, factor_type, _res);
  ------------------
  |  |  230|  2.57M|#define factor_type 1141
  ------------------
14708|  2.57M|    p->level--;
14709|  2.57M|    return _res;
14710|   373k|}
parser.c:power_rule:
14715|  2.29M|{
14716|  2.29M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.59M|#  define MAXSTACK 6000
  ------------------
  |  Branch (14716:9): [True: 3, False: 2.29M]
  |  Branch (14716:35): [True: 0, False: 2.29M]
  ------------------
14717|      3|        _Pypegen_stack_overflow(p);
14718|      3|    }
14719|  2.29M|    if (p->error_indicator) {
  ------------------
  |  Branch (14719:9): [True: 3, False: 2.29M]
  ------------------
14720|      3|        p->level--;
14721|      3|        return NULL;
14722|      3|    }
14723|  2.29M|    expr_ty _res = NULL;
14724|  2.29M|    int _mark = p->mark;
14725|  2.29M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14725:9): [True: 0, False: 2.29M]
  |  Branch (14725:31): [True: 0, False: 0]
  ------------------
14726|      0|        p->error_indicator = 1;
14727|      0|        p->level--;
14728|      0|        return NULL;
14729|      0|    }
14730|  2.29M|    int _start_lineno = p->tokens[_mark]->lineno;
14731|  2.29M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.29M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.29M]
  |  |  ------------------
  ------------------
14732|  2.29M|    int _start_col_offset = p->tokens[_mark]->col_offset;
14733|  2.29M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.29M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.29M]
  |  |  ------------------
  ------------------
14734|  2.29M|    { // await_primary '**' factor
14735|  2.29M|        if (p->error_indicator) {
  ------------------
  |  Branch (14735:13): [True: 0, False: 2.29M]
  ------------------
14736|      0|            p->level--;
14737|      0|            return NULL;
14738|      0|        }
14739|  2.29M|        D(fprintf(stderr, "%*c> power[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "await_primary '**' factor"));
14740|  2.29M|        Token * _literal;
14741|  2.29M|        expr_ty a;
14742|  2.29M|        expr_ty b;
14743|  2.29M|        if (
14744|  2.29M|            (a = await_primary_rule(p))  // await_primary
  ------------------
  |  Branch (14744:13): [True: 1.88M, False: 410k]
  ------------------
14745|  1.88M|            &&
14746|  1.88M|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (14746:13): [True: 119k, False: 1.76M]
  ------------------
14747|   119k|            &&
14748|   119k|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14748:13): [True: 118k, False: 987]
  ------------------
14749|  2.29M|        )
14750|   118k|        {
14751|   118k|            D(fprintf(stderr, "%*c+ power[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "await_primary '**' factor"));
14752|   118k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14753|   118k|            if (_token == NULL) {
  ------------------
  |  Branch (14753:17): [True: 0, False: 118k]
  ------------------
14754|      0|                p->level--;
14755|      0|                return NULL;
14756|      0|            }
14757|   118k|            int _end_lineno = _token->end_lineno;
14758|   118k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   118k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 118k]
  |  |  ------------------
  ------------------
14759|   118k|            int _end_col_offset = _token->end_col_offset;
14760|   118k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   118k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 118k]
  |  |  ------------------
  ------------------
14761|   118k|            _res = _PyAST_BinOp ( a , Pow , b , EXTRA );
  ------------------
  |  |  281|   118k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14762|   118k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14762:18): [True: 0, False: 118k]
  |  Branch (14762:34): [True: 0, False: 118k]
  |  Branch (14762:57): [True: 0, False: 0]
  ------------------
14763|      0|                p->error_indicator = 1;
14764|      0|                p->level--;
14765|      0|                return NULL;
14766|      0|            }
14767|   118k|            goto done;
14768|   118k|        }
14769|  2.17M|        p->mark = _mark;
14770|  2.17M|        D(fprintf(stderr, "%*c%s power[%d-%d]: %s failed!\n", p->level, ' ',
14771|  2.17M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "await_primary '**' factor"));
14772|  2.17M|    }
14773|      0|    { // await_primary
14774|  2.17M|        if (p->error_indicator) {
  ------------------
  |  Branch (14774:13): [True: 53.7k, False: 2.12M]
  ------------------
14775|  53.7k|            p->level--;
14776|  53.7k|            return NULL;
14777|  53.7k|        }
14778|  2.12M|        D(fprintf(stderr, "%*c> power[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "await_primary"));
14779|  2.12M|        expr_ty await_primary_var;
14780|  2.12M|        if (
14781|  2.12M|            (await_primary_var = await_primary_rule(p))  // await_primary
  ------------------
  |  Branch (14781:13): [True: 1.76M, False: 357k]
  ------------------
14782|  2.12M|        )
14783|  1.76M|        {
14784|  1.76M|            D(fprintf(stderr, "%*c+ power[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "await_primary"));
14785|  1.76M|            _res = await_primary_var;
14786|  1.76M|            goto done;
14787|  1.76M|        }
14788|   357k|        p->mark = _mark;
14789|   357k|        D(fprintf(stderr, "%*c%s power[%d-%d]: %s failed!\n", p->level, ' ',
14790|   357k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "await_primary"));
14791|   357k|    }
14792|   357k|    _res = NULL;
14793|  2.24M|  done:
14794|  2.24M|    p->level--;
14795|  2.24M|    return _res;
14796|   357k|}
parser.c:await_primary_rule:
14801|  4.41M|{
14802|  4.41M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.83M|#  define MAXSTACK 6000
  ------------------
  |  Branch (14802:9): [True: 2, False: 4.41M]
  |  Branch (14802:35): [True: 0, False: 4.41M]
  ------------------
14803|      2|        _Pypegen_stack_overflow(p);
14804|      2|    }
14805|  4.41M|    if (p->error_indicator) {
  ------------------
  |  Branch (14805:9): [True: 2, False: 4.41M]
  ------------------
14806|      2|        p->level--;
14807|      2|        return NULL;
14808|      2|    }
14809|  4.41M|    expr_ty _res = NULL;
14810|  4.41M|    if (_PyPegen_is_memoized(p, await_primary_type, &_res)) {
  ------------------
  |  |  232|  4.41M|#define await_primary_type 1143
  ------------------
  |  Branch (14810:9): [True: 2.12M, False: 2.29M]
  ------------------
14811|  2.12M|        p->level--;
14812|  2.12M|        return _res;
14813|  2.12M|    }
14814|  2.29M|    int _mark = p->mark;
14815|  2.29M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14815:9): [True: 0, False: 2.29M]
  |  Branch (14815:31): [True: 0, False: 0]
  ------------------
14816|      0|        p->error_indicator = 1;
14817|      0|        p->level--;
14818|      0|        return NULL;
14819|      0|    }
14820|  2.29M|    int _start_lineno = p->tokens[_mark]->lineno;
14821|  2.29M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.29M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.29M]
  |  |  ------------------
  ------------------
14822|  2.29M|    int _start_col_offset = p->tokens[_mark]->col_offset;
14823|  2.29M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.29M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.29M]
  |  |  ------------------
  ------------------
14824|  2.29M|    { // 'await' primary
14825|  2.29M|        if (p->error_indicator) {
  ------------------
  |  Branch (14825:13): [True: 0, False: 2.29M]
  ------------------
14826|      0|            p->level--;
14827|      0|            return NULL;
14828|      0|        }
14829|  2.29M|        D(fprintf(stderr, "%*c> await_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'await' primary"));
14830|  2.29M|        Token * _keyword;
14831|  2.29M|        expr_ty a;
14832|  2.29M|        if (
14833|  2.29M|            (_keyword = _PyPegen_expect_token(p, 598))  // token='await'
  ------------------
  |  Branch (14833:13): [True: 1.80k, False: 2.29M]
  ------------------
14834|  1.80k|            &&
14835|  1.80k|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (14835:13): [True: 1.68k, False: 121]
  ------------------
14836|  2.29M|        )
14837|  1.68k|        {
14838|  1.68k|            D(fprintf(stderr, "%*c+ await_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'await' primary"));
14839|  1.68k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14840|  1.68k|            if (_token == NULL) {
  ------------------
  |  Branch (14840:17): [True: 0, False: 1.68k]
  ------------------
14841|      0|                p->level--;
14842|      0|                return NULL;
14843|      0|            }
14844|  1.68k|            int _end_lineno = _token->end_lineno;
14845|  1.68k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.68k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.68k]
  |  |  ------------------
  ------------------
14846|  1.68k|            int _end_col_offset = _token->end_col_offset;
14847|  1.68k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.68k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.68k]
  |  |  ------------------
  ------------------
14848|  1.68k|            _res = CHECK_VERSION ( expr_ty , 5 , "Await expressions are" , _PyAST_Await ( a , EXTRA ) );
  ------------------
  |  |  319|  1.68k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
14849|  1.68k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14849:18): [True: 0, False: 1.68k]
  |  Branch (14849:34): [True: 0, False: 1.68k]
  |  Branch (14849:57): [True: 0, False: 0]
  ------------------
14850|      0|                p->error_indicator = 1;
14851|      0|                p->level--;
14852|      0|                return NULL;
14853|      0|            }
14854|  1.68k|            goto done;
14855|  1.68k|        }
14856|  2.29M|        p->mark = _mark;
14857|  2.29M|        D(fprintf(stderr, "%*c%s await_primary[%d-%d]: %s failed!\n", p->level, ' ',
14858|  2.29M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'await' primary"));
14859|  2.29M|    }
14860|      0|    { // primary
14861|  2.29M|        if (p->error_indicator) {
  ------------------
  |  Branch (14861:13): [True: 97, False: 2.29M]
  ------------------
14862|     97|            p->level--;
14863|     97|            return NULL;
14864|     97|        }
14865|  2.29M|        D(fprintf(stderr, "%*c> await_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary"));
14866|  2.29M|        expr_ty primary_var;
14867|  2.29M|        if (
14868|  2.29M|            (primary_var = primary_rule(p))  // primary
  ------------------
  |  Branch (14868:13): [True: 1.88M, False: 410k]
  ------------------
14869|  2.29M|        )
14870|  1.88M|        {
14871|  1.88M|            D(fprintf(stderr, "%*c+ await_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary"));
14872|  1.88M|            _res = primary_var;
14873|  1.88M|            goto done;
14874|  1.88M|        }
14875|   410k|        p->mark = _mark;
14876|   410k|        D(fprintf(stderr, "%*c%s await_primary[%d-%d]: %s failed!\n", p->level, ' ',
14877|   410k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary"));
14878|   410k|    }
14879|   410k|    _res = NULL;
14880|  2.29M|  done:
14881|  2.29M|    _PyPegen_insert_memo(p, _mark, await_primary_type, _res);
  ------------------
  |  |  232|  2.29M|#define await_primary_type 1143
  ------------------
14882|  2.29M|    p->level--;
14883|  2.29M|    return _res;
14884|   410k|}
parser.c:primary_rule:
14896|  19.2M|{
14897|  19.2M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  38.4M|#  define MAXSTACK 6000
  ------------------
  |  Branch (14897:9): [True: 1, False: 19.2M]
  |  Branch (14897:35): [True: 0, False: 19.2M]
  ------------------
14898|      1|        _Pypegen_stack_overflow(p);
14899|      1|    }
14900|  19.2M|    expr_ty _res = NULL;
14901|  19.2M|    if (_PyPegen_is_memoized(p, primary_type, &_res)) {
  ------------------
  |  |  233|  19.2M|#define primary_type 1144  // Left-recursive
  ------------------
  |  Branch (14901:9): [True: 16.9M, False: 2.29M]
  ------------------
14902|  16.9M|        p->level--;
14903|  16.9M|        return _res;
14904|  16.9M|    }
14905|  2.29M|    int _mark = p->mark;
14906|  2.29M|    int _resmark = p->mark;
14907|  4.26M|    while (1) {
  ------------------
  |  Branch (14907:12): [True: 4.26M, Folded]
  ------------------
14908|  4.26M|        int tmpvar_8 = _PyPegen_update_memo(p, _mark, primary_type, _res);
  ------------------
  |  |  233|  4.26M|#define primary_type 1144  // Left-recursive
  ------------------
14909|  4.26M|        if (tmpvar_8) {
  ------------------
  |  Branch (14909:13): [True: 0, False: 4.26M]
  ------------------
14910|      0|            p->level--;
14911|      0|            return _res;
14912|      0|        }
14913|  4.26M|        p->mark = _mark;
14914|  4.26M|        void *_raw = primary_raw(p);
14915|  4.26M|        if (p->error_indicator) {
  ------------------
  |  Branch (14915:13): [True: 52.7k, False: 4.20M]
  ------------------
14916|  52.7k|            p->level--;
14917|  52.7k|            return NULL;
14918|  52.7k|        }
14919|  4.20M|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (14919:13): [True: 357k, False: 3.85M]
  |  Branch (14919:29): [True: 1.88M, False: 1.96M]
  ------------------
14920|  2.24M|            break;
14921|  1.96M|        _resmark = p->mark;
14922|  1.96M|        _res = _raw;
14923|  1.96M|    }
14924|  2.24M|    p->mark = _resmark;
14925|  2.24M|    p->level--;
14926|  2.24M|    return _res;
14927|  2.29M|}
parser.c:primary_raw:
14930|  4.26M|{
14931|  4.26M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.52M|#  define MAXSTACK 6000
  ------------------
  |  Branch (14931:9): [True: 1, False: 4.26M]
  |  Branch (14931:35): [True: 0, False: 4.26M]
  ------------------
14932|      1|        _Pypegen_stack_overflow(p);
14933|      1|    }
14934|  4.26M|    if (p->error_indicator) {
  ------------------
  |  Branch (14934:9): [True: 1, False: 4.26M]
  ------------------
14935|      1|        p->level--;
14936|      1|        return NULL;
14937|      1|    }
14938|  4.26M|    expr_ty _res = NULL;
14939|  4.26M|    int _mark = p->mark;
14940|  4.26M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14940:9): [True: 0, False: 4.26M]
  |  Branch (14940:31): [True: 0, False: 0]
  ------------------
14941|      0|        p->error_indicator = 1;
14942|      0|        p->level--;
14943|      0|        return NULL;
14944|      0|    }
14945|  4.26M|    int _start_lineno = p->tokens[_mark]->lineno;
14946|  4.26M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.26M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.26M]
  |  |  ------------------
  ------------------
14947|  4.26M|    int _start_col_offset = p->tokens[_mark]->col_offset;
14948|  4.26M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.26M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.26M]
  |  |  ------------------
  ------------------
14949|  4.26M|    { // primary '.' NAME
14950|  4.26M|        if (p->error_indicator) {
  ------------------
  |  Branch (14950:13): [True: 0, False: 4.26M]
  ------------------
14951|      0|            p->level--;
14952|      0|            return NULL;
14953|      0|        }
14954|  4.26M|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary '.' NAME"));
14955|  4.26M|        Token * _literal;
14956|  4.26M|        expr_ty a;
14957|  4.26M|        expr_ty b;
14958|  4.26M|        if (
14959|  4.26M|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (14959:13): [True: 1.96M, False: 2.29M]
  ------------------
14960|  1.96M|            &&
14961|  1.96M|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (14961:13): [True: 25.4k, False: 1.94M]
  ------------------
14962|  25.4k|            &&
14963|  25.4k|            (b = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (14963:13): [True: 25.1k, False: 355]
  ------------------
14964|  4.26M|        )
14965|  25.1k|        {
14966|  25.1k|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary '.' NAME"));
14967|  25.1k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14968|  25.1k|            if (_token == NULL) {
  ------------------
  |  Branch (14968:17): [True: 0, False: 25.1k]
  ------------------
14969|      0|                p->level--;
14970|      0|                return NULL;
14971|      0|            }
14972|  25.1k|            int _end_lineno = _token->end_lineno;
14973|  25.1k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  25.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 25.1k]
  |  |  ------------------
  ------------------
14974|  25.1k|            int _end_col_offset = _token->end_col_offset;
14975|  25.1k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  25.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 25.1k]
  |  |  ------------------
  ------------------
14976|  25.1k|            _res = _PyAST_Attribute ( a , b -> v . Name . id , Load , EXTRA );
  ------------------
  |  |  281|  25.1k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14977|  25.1k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14977:18): [True: 0, False: 25.1k]
  |  Branch (14977:34): [True: 0, False: 25.1k]
  |  Branch (14977:57): [True: 0, False: 0]
  ------------------
14978|      0|                p->error_indicator = 1;
14979|      0|                p->level--;
14980|      0|                return NULL;
14981|      0|            }
14982|  25.1k|            goto done;
14983|  25.1k|        }
14984|  4.23M|        p->mark = _mark;
14985|  4.23M|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14986|  4.23M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary '.' NAME"));
14987|  4.23M|    }
14988|      0|    { // primary genexp
14989|  4.23M|        if (p->error_indicator) {
  ------------------
  |  Branch (14989:13): [True: 912, False: 4.23M]
  ------------------
14990|    912|            p->level--;
14991|    912|            return NULL;
14992|    912|        }
14993|  4.23M|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary genexp"));
14994|  4.23M|        expr_ty a;
14995|  4.23M|        expr_ty b;
14996|  4.23M|        if (
14997|  4.23M|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (14997:13): [True: 1.93M, False: 2.29M]
  ------------------
14998|  1.93M|            &&
14999|  1.93M|            (b = genexp_rule(p))  // genexp
  ------------------
  |  Branch (14999:13): [True: 1.44k, False: 1.93M]
  ------------------
15000|  4.23M|        )
15001|  1.44k|        {
15002|  1.44k|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary genexp"));
15003|  1.44k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15004|  1.44k|            if (_token == NULL) {
  ------------------
  |  Branch (15004:17): [True: 0, False: 1.44k]
  ------------------
15005|      0|                p->level--;
15006|      0|                return NULL;
15007|      0|            }
15008|  1.44k|            int _end_lineno = _token->end_lineno;
15009|  1.44k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.44k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.44k]
  |  |  ------------------
  ------------------
15010|  1.44k|            int _end_col_offset = _token->end_col_offset;
15011|  1.44k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.44k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.44k]
  |  |  ------------------
  ------------------
15012|  1.44k|            _res = _PyAST_Call ( a , CHECK ( asdl_expr_seq* , ( asdl_expr_seq* ) _PyPegen_singleton_seq ( p , b ) ) , NULL , EXTRA );
  ------------------
  |  |  245|  1.44k|#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 );
  ------------------
  |  |  281|  1.44k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15013|  1.44k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15013:18): [True: 0, False: 1.44k]
  |  Branch (15013:34): [True: 0, False: 1.44k]
  |  Branch (15013:57): [True: 0, False: 0]
  ------------------
15014|      0|                p->error_indicator = 1;
15015|      0|                p->level--;
15016|      0|                return NULL;
15017|      0|            }
15018|  1.44k|            goto done;
15019|  1.44k|        }
15020|  4.23M|        p->mark = _mark;
15021|  4.23M|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
15022|  4.23M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary genexp"));
15023|  4.23M|    }
15024|      0|    { // primary '(' arguments? ')'
15025|  4.23M|        if (p->error_indicator) {
  ------------------
  |  Branch (15025:13): [True: 11.2k, False: 4.22M]
  ------------------
15026|  11.2k|            p->level--;
15027|  11.2k|            return NULL;
15028|  11.2k|        }
15029|  4.22M|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary '(' arguments? ')'"));
15030|  4.22M|        Token * _literal;
15031|  4.22M|        Token * _literal_1;
15032|  4.22M|        expr_ty a;
15033|  4.22M|        void *b;
15034|  4.22M|        if (
15035|  4.22M|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (15035:13): [True: 1.92M, False: 2.29M]
  ------------------
15036|  1.92M|            &&
15037|  1.92M|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (15037:13): [True: 38.5k, False: 1.88M]
  ------------------
15038|  38.5k|            &&
15039|  38.5k|            (b = arguments_rule(p), !p->error_indicator)  // arguments?
  ------------------
  |  Branch (15039:13): [True: 32.9k, False: 5.54k]
  ------------------
15040|  32.9k|            &&
15041|  32.9k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (15041:13): [True: 19.9k, False: 13.0k]
  ------------------
15042|  4.22M|        )
15043|  19.9k|        {
15044|  19.9k|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary '(' arguments? ')'"));
15045|  19.9k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15046|  19.9k|            if (_token == NULL) {
  ------------------
  |  Branch (15046:17): [True: 0, False: 19.9k]
  ------------------
15047|      0|                p->level--;
15048|      0|                return NULL;
15049|      0|            }
15050|  19.9k|            int _end_lineno = _token->end_lineno;
15051|  19.9k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  19.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 19.9k]
  |  |  ------------------
  ------------------
15052|  19.9k|            int _end_col_offset = _token->end_col_offset;
15053|  19.9k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  19.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 19.9k]
  |  |  ------------------
  ------------------
15054|  19.9k|            _res = _PyAST_Call ( a , ( b ) ? ( ( expr_ty ) b ) -> v . Call . args : NULL , ( b ) ? ( ( expr_ty ) b ) -> v . Call . keywords : NULL , EXTRA );
  ------------------
  |  |  281|  19.9k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (15054:38): [True: 15.8k, False: 4.06k]
  |  Branch (15054:92): [True: 15.8k, False: 4.06k]
  ------------------
15055|  19.9k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15055:18): [True: 0, False: 19.9k]
  |  Branch (15055:34): [True: 0, False: 19.9k]
  |  Branch (15055:57): [True: 0, False: 0]
  ------------------
15056|      0|                p->error_indicator = 1;
15057|      0|                p->level--;
15058|      0|                return NULL;
15059|      0|            }
15060|  19.9k|            goto done;
15061|  19.9k|        }
15062|  4.20M|        p->mark = _mark;
15063|  4.20M|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
15064|  4.20M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary '(' arguments? ')'"));
15065|  4.20M|    }
15066|      0|    { // primary '[' slices ']'
15067|  4.20M|        if (p->error_indicator) {
  ------------------
  |  Branch (15067:13): [True: 5.54k, False: 4.19M]
  ------------------
15068|  5.54k|            p->level--;
15069|  5.54k|            return NULL;
15070|  5.54k|        }
15071|  4.19M|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary '[' slices ']'"));
15072|  4.19M|        Token * _literal;
15073|  4.19M|        Token * _literal_1;
15074|  4.19M|        expr_ty a;
15075|  4.19M|        expr_ty b;
15076|  4.19M|        if (
15077|  4.19M|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (15077:13): [True: 1.90M, False: 2.29M]
  ------------------
15078|  1.90M|            &&
15079|  1.90M|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (15079:13): [True: 20.8k, False: 1.88M]
  ------------------
15080|  20.8k|            &&
15081|  20.8k|            (b = slices_rule(p))  // slices
  ------------------
  |  Branch (15081:13): [True: 16.5k, False: 4.29k]
  ------------------
15082|  16.5k|            &&
15083|  16.5k|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (15083:13): [True: 13.1k, False: 3.38k]
  ------------------
15084|  4.19M|        )
15085|  13.1k|        {
15086|  13.1k|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary '[' slices ']'"));
15087|  13.1k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15088|  13.1k|            if (_token == NULL) {
  ------------------
  |  Branch (15088:17): [True: 0, False: 13.1k]
  ------------------
15089|      0|                p->level--;
15090|      0|                return NULL;
15091|      0|            }
15092|  13.1k|            int _end_lineno = _token->end_lineno;
15093|  13.1k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  13.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 13.1k]
  |  |  ------------------
  ------------------
15094|  13.1k|            int _end_col_offset = _token->end_col_offset;
15095|  13.1k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  13.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 13.1k]
  |  |  ------------------
  ------------------
15096|  13.1k|            _res = _PyAST_Subscript ( a , b , Load , EXTRA );
  ------------------
  |  |  281|  13.1k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15097|  13.1k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15097:18): [True: 0, False: 13.1k]
  |  Branch (15097:34): [True: 0, False: 13.1k]
  |  Branch (15097:57): [True: 0, False: 0]
  ------------------
15098|      0|                p->error_indicator = 1;
15099|      0|                p->level--;
15100|      0|                return NULL;
15101|      0|            }
15102|  13.1k|            goto done;
15103|  13.1k|        }
15104|  4.18M|        p->mark = _mark;
15105|  4.18M|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
15106|  4.18M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary '[' slices ']'"));
15107|  4.18M|    }
15108|      0|    { // atom
15109|  4.18M|        if (p->error_indicator) {
  ------------------
  |  Branch (15109:13): [True: 2.78k, False: 4.18M]
  ------------------
15110|  2.78k|            p->level--;
15111|  2.78k|            return NULL;
15112|  2.78k|        }
15113|  4.18M|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "atom"));
15114|  4.18M|        expr_ty atom_var;
15115|  4.18M|        if (
15116|  4.18M|            (atom_var = atom_rule(p))  // atom
  ------------------
  |  Branch (15116:13): [True: 3.79M, False: 389k]
  ------------------
15117|  4.18M|        )
15118|  3.79M|        {
15119|  3.79M|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "atom"));
15120|  3.79M|            _res = atom_var;
15121|  3.79M|            goto done;
15122|  3.79M|        }
15123|   389k|        p->mark = _mark;
15124|   389k|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
15125|   389k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "atom"));
15126|   389k|    }
15127|   389k|    _res = NULL;
15128|  4.24M|  done:
15129|  4.24M|    p->level--;
15130|  4.24M|    return _res;
15131|   389k|}
parser.c:genexp_rule:
18432|  2.24M|{
18433|  2.24M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.48M|#  define MAXSTACK 6000
  ------------------
  |  Branch (18433:9): [True: 1, False: 2.24M]
  |  Branch (18433:35): [True: 0, False: 2.24M]
  ------------------
18434|      1|        _Pypegen_stack_overflow(p);
18435|      1|    }
18436|  2.24M|    if (p->error_indicator) {
  ------------------
  |  Branch (18436:9): [True: 1, False: 2.24M]
  ------------------
18437|      1|        p->level--;
18438|      1|        return NULL;
18439|      1|    }
18440|  2.24M|    expr_ty _res = NULL;
18441|  2.24M|    int _mark = p->mark;
18442|  2.24M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18442:9): [True: 0, False: 2.24M]
  |  Branch (18442:31): [True: 0, False: 0]
  ------------------
18443|      0|        p->error_indicator = 1;
18444|      0|        p->level--;
18445|      0|        return NULL;
18446|      0|    }
18447|  2.24M|    int _start_lineno = p->tokens[_mark]->lineno;
18448|  2.24M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.24M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.24M]
  |  |  ------------------
  ------------------
18449|  2.24M|    int _start_col_offset = p->tokens[_mark]->col_offset;
18450|  2.24M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.24M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.24M]
  |  |  ------------------
  ------------------
18451|  2.24M|    { // '(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'
18452|  2.24M|        if (p->error_indicator) {
  ------------------
  |  Branch (18452:13): [True: 0, False: 2.24M]
  ------------------
18453|      0|            p->level--;
18454|      0|            return NULL;
18455|      0|        }
18456|  2.24M|        D(fprintf(stderr, "%*c> genexp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'"));
18457|  2.24M|        Token * _literal;
18458|  2.24M|        Token * _literal_1;
18459|  2.24M|        void *a;
18460|  2.24M|        asdl_comprehension_seq* b;
18461|  2.24M|        if (
18462|  2.24M|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (18462:13): [True: 230k, False: 2.01M]
  ------------------
18463|   230k|            &&
18464|   230k|            (a = _tmp_89_rule(p))  // assignment_expression | expression !':=' | starred_expression
  ------------------
  |  Branch (18464:13): [True: 156k, False: 73.0k]
  ------------------
18465|   156k|            &&
18466|   156k|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (18466:13): [True: 8.91k, False: 148k]
  ------------------
18467|  8.91k|            &&
18468|  8.91k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (18468:13): [True: 7.60k, False: 1.30k]
  ------------------
18469|  2.24M|        )
18470|  7.60k|        {
18471|  7.60k|            D(fprintf(stderr, "%*c+ genexp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'"));
18472|  7.60k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18473|  7.60k|            if (_token == NULL) {
  ------------------
  |  Branch (18473:17): [True: 0, False: 7.60k]
  ------------------
18474|      0|                p->level--;
18475|      0|                return NULL;
18476|      0|            }
18477|  7.60k|            int _end_lineno = _token->end_lineno;
18478|  7.60k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  7.60k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 7.60k]
  |  |  ------------------
  ------------------
18479|  7.60k|            int _end_col_offset = _token->end_col_offset;
18480|  7.60k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  7.60k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 7.60k]
  |  |  ------------------
  ------------------
18481|  7.60k|            _res = _PyAST_GeneratorExp ( a , b , EXTRA );
  ------------------
  |  |  281|  7.60k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18482|  7.60k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18482:18): [True: 0, False: 7.60k]
  |  Branch (18482:34): [True: 0, False: 7.60k]
  |  Branch (18482:57): [True: 0, False: 0]
  ------------------
18483|      0|                p->error_indicator = 1;
18484|      0|                p->level--;
18485|      0|                return NULL;
18486|      0|            }
18487|  7.60k|            goto done;
18488|  7.60k|        }
18489|  2.23M|        p->mark = _mark;
18490|  2.23M|        D(fprintf(stderr, "%*c%s genexp[%d-%d]: %s failed!\n", p->level, ' ',
18491|  2.23M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'"));
18492|  2.23M|    }
18493|  2.23M|    if (p->call_invalid_rules) { // invalid_comprehension
  ------------------
  |  Branch (18493:9): [True: 382k, False: 1.85M]
  ------------------
18494|   382k|        if (p->error_indicator) {
  ------------------
  |  Branch (18494:13): [True: 9.70k, False: 372k]
  ------------------
18495|  9.70k|            p->level--;
18496|  9.70k|            return NULL;
18497|  9.70k|        }
18498|   372k|        D(fprintf(stderr, "%*c> genexp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18499|   372k|        void *invalid_comprehension_var;
18500|   372k|        if (
18501|   372k|            (invalid_comprehension_var = invalid_comprehension_rule(p))  // invalid_comprehension
  ------------------
  |  Branch (18501:13): [True: 0, False: 372k]
  ------------------
18502|   372k|        )
18503|      0|        {
18504|      0|            D(fprintf(stderr, "%*c+ genexp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18505|      0|            _res = invalid_comprehension_var;
18506|      0|            goto done;
18507|      0|        }
18508|   372k|        p->mark = _mark;
18509|   372k|        D(fprintf(stderr, "%*c%s genexp[%d-%d]: %s failed!\n", p->level, ' ',
18510|   372k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_comprehension"));
18511|   372k|    }
18512|  2.22M|    _res = NULL;
18513|  2.23M|  done:
18514|  2.23M|    p->level--;
18515|  2.23M|    return _res;
18516|  2.22M|}
parser.c:_tmp_89_rule:
34220|   230k|{
34221|   230k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   460k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34221:9): [True: 1, False: 230k]
  |  Branch (34221:35): [True: 0, False: 230k]
  ------------------
34222|      1|        _Pypegen_stack_overflow(p);
34223|      1|    }
34224|   230k|    if (p->error_indicator) {
  ------------------
  |  Branch (34224:9): [True: 1, False: 230k]
  ------------------
34225|      1|        p->level--;
34226|      1|        return NULL;
34227|      1|    }
34228|   230k|    void * _res = NULL;
34229|   230k|    int _mark = p->mark;
34230|   230k|    { // assignment_expression
34231|   230k|        if (p->error_indicator) {
  ------------------
  |  Branch (34231:13): [True: 0, False: 230k]
  ------------------
34232|      0|            p->level--;
34233|      0|            return NULL;
34234|      0|        }
34235|   230k|        D(fprintf(stderr, "%*c> _tmp_89[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
34236|   230k|        expr_ty assignment_expression_var;
34237|   230k|        if (
34238|   230k|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  Branch (34238:13): [True: 655, False: 229k]
  ------------------
34239|   230k|        )
34240|    655|        {
34241|    655|            D(fprintf(stderr, "%*c+ _tmp_89[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
34242|    655|            _res = assignment_expression_var;
34243|    655|            goto done;
34244|    655|        }
34245|   229k|        p->mark = _mark;
34246|   229k|        D(fprintf(stderr, "%*c%s _tmp_89[%d-%d]: %s failed!\n", p->level, ' ',
34247|   229k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
34248|   229k|    }
34249|      0|    { // expression !':='
34250|   229k|        if (p->error_indicator) {
  ------------------
  |  Branch (34250:13): [True: 469, False: 228k]
  ------------------
34251|    469|            p->level--;
34252|    469|            return NULL;
34253|    469|        }
34254|   228k|        D(fprintf(stderr, "%*c> _tmp_89[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
34255|   228k|        expr_ty expression_var;
34256|   228k|        if (
34257|   228k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (34257:13): [True: 150k, False: 77.9k]
  ------------------
34258|   150k|            &&
34259|   150k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (34259:13): [True: 150k, False: 271]
  ------------------
34260|   228k|        )
34261|   150k|        {
34262|   150k|            D(fprintf(stderr, "%*c+ _tmp_89[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
34263|   150k|            _res = expression_var;
34264|   150k|            goto done;
34265|   150k|        }
34266|  78.1k|        p->mark = _mark;
34267|  78.1k|        D(fprintf(stderr, "%*c%s _tmp_89[%d-%d]: %s failed!\n", p->level, ' ',
34268|  78.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
34269|  78.1k|    }
34270|      0|    { // starred_expression
34271|  78.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (34271:13): [True: 12.4k, False: 65.7k]
  ------------------
34272|  12.4k|            p->level--;
34273|  12.4k|            return NULL;
34274|  12.4k|        }
34275|  65.7k|        D(fprintf(stderr, "%*c> _tmp_89[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
34276|  65.7k|        expr_ty starred_expression_var;
34277|  65.7k|        if (
34278|  65.7k|            (starred_expression_var = starred_expression_rule(p))  // starred_expression
  ------------------
  |  Branch (34278:13): [True: 5.59k, False: 60.1k]
  ------------------
34279|  65.7k|        )
34280|  5.59k|        {
34281|  5.59k|            D(fprintf(stderr, "%*c+ _tmp_89[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
34282|  5.59k|            _res = starred_expression_var;
34283|  5.59k|            goto done;
34284|  5.59k|        }
34285|  60.1k|        p->mark = _mark;
34286|  60.1k|        D(fprintf(stderr, "%*c%s _tmp_89[%d-%d]: %s failed!\n", p->level, ' ',
34287|  60.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
34288|  60.1k|    }
34289|  60.1k|    _res = NULL;
34290|   217k|  done:
34291|   217k|    p->level--;
34292|   217k|    return _res;
34293|  60.1k|}
parser.c:starred_expression_rule:
18901|   287k|{
18902|   287k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   574k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18902:9): [True: 0, False: 287k]
  |  Branch (18902:35): [True: 0, False: 287k]
  ------------------
18903|      0|        _Pypegen_stack_overflow(p);
18904|      0|    }
18905|   287k|    if (p->error_indicator) {
  ------------------
  |  Branch (18905:9): [True: 0, False: 287k]
  ------------------
18906|      0|        p->level--;
18907|      0|        return NULL;
18908|      0|    }
18909|   287k|    expr_ty _res = NULL;
18910|   287k|    int _mark = p->mark;
18911|   287k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18911:9): [True: 16.4k, False: 270k]
  |  Branch (18911:31): [True: 15, False: 16.4k]
  ------------------
18912|     15|        p->error_indicator = 1;
18913|     15|        p->level--;
18914|     15|        return NULL;
18915|     15|    }
18916|   287k|    int _start_lineno = p->tokens[_mark]->lineno;
18917|   287k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   287k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 287k]
  |  |  ------------------
  ------------------
18918|   287k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18919|   287k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   287k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 287k]
  |  |  ------------------
  ------------------
18920|   287k|    if (p->call_invalid_rules) { // invalid_starred_expression_unpacking
  ------------------
  |  Branch (18920:9): [True: 175k, False: 111k]
  ------------------
18921|   175k|        if (p->error_indicator) {
  ------------------
  |  Branch (18921:13): [True: 0, False: 175k]
  ------------------
18922|      0|            p->level--;
18923|      0|            return NULL;
18924|      0|        }
18925|   175k|        D(fprintf(stderr, "%*c> starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking"));
18926|   175k|        void *invalid_starred_expression_unpacking_var;
18927|   175k|        if (
18928|   175k|            (invalid_starred_expression_unpacking_var = invalid_starred_expression_unpacking_rule(p))  // invalid_starred_expression_unpacking
  ------------------
  |  Branch (18928:13): [True: 0, False: 175k]
  ------------------
18929|   175k|        )
18930|      0|        {
18931|      0|            D(fprintf(stderr, "%*c+ starred_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking"));
18932|      0|            _res = invalid_starred_expression_unpacking_var;
18933|      0|            goto done;
18934|      0|        }
18935|   175k|        p->mark = _mark;
18936|   175k|        D(fprintf(stderr, "%*c%s starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
18937|   175k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression_unpacking"));
18938|   175k|    }
18939|   287k|    { // '*' expression
18940|   287k|        if (p->error_indicator) {
  ------------------
  |  Branch (18940:13): [True: 2.54k, False: 284k]
  ------------------
18941|  2.54k|            p->level--;
18942|  2.54k|            return NULL;
18943|  2.54k|        }
18944|   284k|        D(fprintf(stderr, "%*c> starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' expression"));
18945|   284k|        Token * _literal;
18946|   284k|        expr_ty a;
18947|   284k|        if (
18948|   284k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (18948:13): [True: 27.4k, False: 257k]
  ------------------
18949|  27.4k|            &&
18950|  27.4k|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (18950:13): [True: 26.5k, False: 851]
  ------------------
18951|   284k|        )
18952|  26.5k|        {
18953|  26.5k|            D(fprintf(stderr, "%*c+ starred_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' expression"));
18954|  26.5k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18955|  26.5k|            if (_token == NULL) {
  ------------------
  |  Branch (18955:17): [True: 0, False: 26.5k]
  ------------------
18956|      0|                p->level--;
18957|      0|                return NULL;
18958|      0|            }
18959|  26.5k|            int _end_lineno = _token->end_lineno;
18960|  26.5k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  26.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 26.5k]
  |  |  ------------------
  ------------------
18961|  26.5k|            int _end_col_offset = _token->end_col_offset;
18962|  26.5k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  26.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 26.5k]
  |  |  ------------------
  ------------------
18963|  26.5k|            _res = _PyAST_Starred ( a , Load , EXTRA );
  ------------------
  |  |  281|  26.5k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18964|  26.5k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18964:18): [True: 0, False: 26.5k]
  |  Branch (18964:34): [True: 0, False: 26.5k]
  |  Branch (18964:57): [True: 0, False: 0]
  ------------------
18965|      0|                p->error_indicator = 1;
18966|      0|                p->level--;
18967|      0|                return NULL;
18968|      0|            }
18969|  26.5k|            goto done;
18970|  26.5k|        }
18971|   258k|        p->mark = _mark;
18972|   258k|        D(fprintf(stderr, "%*c%s starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
18973|   258k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' expression"));
18974|   258k|    }
18975|   258k|    if (p->call_invalid_rules) { // invalid_starred_expression
  ------------------
  |  Branch (18975:9): [True: 159k, False: 98.5k]
  ------------------
18976|   159k|        if (p->error_indicator) {
  ------------------
  |  Branch (18976:13): [True: 0, False: 159k]
  ------------------
18977|      0|            p->level--;
18978|      0|            return NULL;
18979|      0|        }
18980|   159k|        D(fprintf(stderr, "%*c> starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression"));
18981|   159k|        void *invalid_starred_expression_var;
18982|   159k|        if (
18983|   159k|            (invalid_starred_expression_var = invalid_starred_expression_rule(p))  // invalid_starred_expression
  ------------------
  |  Branch (18983:13): [True: 0, False: 159k]
  ------------------
18984|   159k|        )
18985|      0|        {
18986|      0|            D(fprintf(stderr, "%*c+ starred_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression"));
18987|      0|            _res = invalid_starred_expression_var;
18988|      0|            goto done;
18989|      0|        }
18990|   159k|        p->mark = _mark;
18991|   159k|        D(fprintf(stderr, "%*c%s starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
18992|   159k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression"));
18993|   159k|    }
18994|   258k|    _res = NULL;
18995|   284k|  done:
18996|   284k|    p->level--;
18997|   284k|    return _res;
18998|   258k|}
parser.c:invalid_starred_expression_unpacking_rule:
27240|   249k|{
27241|   249k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   498k|#  define MAXSTACK 6000
  ------------------
  |  Branch (27241:9): [True: 0, False: 249k]
  |  Branch (27241:35): [True: 0, False: 249k]
  ------------------
27242|      0|        _Pypegen_stack_overflow(p);
27243|      0|    }
27244|   249k|    if (p->error_indicator) {
  ------------------
  |  Branch (27244:9): [True: 0, False: 249k]
  ------------------
27245|      0|        p->level--;
27246|      0|        return NULL;
27247|      0|    }
27248|   249k|    void * _res = NULL;
27249|   249k|    int _mark = p->mark;
27250|   249k|    { // '*' if_expression
27251|   249k|        if (p->error_indicator) {
  ------------------
  |  Branch (27251:13): [True: 0, False: 249k]
  ------------------
27252|      0|            p->level--;
27253|      0|            return NULL;
27254|      0|        }
27255|   249k|        D(fprintf(stderr, "%*c> invalid_starred_expression_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' if_expression"));
27256|   249k|        Token * a;
27257|   249k|        expr_ty b;
27258|   249k|        if (
27259|   249k|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (27259:13): [True: 17.9k, False: 231k]
  ------------------
27260|  17.9k|            &&
27261|  17.9k|            (b = if_expression_rule(p))  // if_expression
  ------------------
  |  Branch (27261:13): [True: 1, False: 17.9k]
  ------------------
27262|   249k|        )
27263|      1|        {
27264|      1|            D(fprintf(stderr, "%*c+ invalid_starred_expression_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' if_expression"));
27265|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid starred expression. Did you forget to wrap the conditional expression in parentheses?" );
  ------------------
  |  |  211|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
27266|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27266:18): [True: 1, False: 0]
  |  Branch (27266:34): [True: 0, False: 0]
  |  Branch (27266:57): [True: 1, False: 0]
  ------------------
27267|      1|                p->error_indicator = 1;
27268|      1|                p->level--;
27269|      1|                return NULL;
27270|      1|            }
27271|      0|            goto done;
27272|      1|        }
27273|   249k|        p->mark = _mark;
27274|   249k|        D(fprintf(stderr, "%*c%s invalid_starred_expression_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
27275|   249k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' if_expression"));
27276|   249k|    }
27277|      0|    { // '*' expression '=' expression
27278|   249k|        if (p->error_indicator) {
  ------------------
  |  Branch (27278:13): [True: 2.47k, False: 246k]
  ------------------
27279|  2.47k|            p->level--;
27280|  2.47k|            return NULL;
27281|  2.47k|        }
27282|   246k|        D(fprintf(stderr, "%*c> invalid_starred_expression_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' expression '=' expression"));
27283|   246k|        Token * _literal;
27284|   246k|        Token * a;
27285|   246k|        expr_ty b;
27286|   246k|        expr_ty expression_var;
27287|   246k|        if (
27288|   246k|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (27288:13): [True: 15.5k, False: 231k]
  ------------------
27289|  15.5k|            &&
27290|  15.5k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (27290:13): [True: 14.8k, False: 720]
  ------------------
27291|  14.8k|            &&
27292|  14.8k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (27292:13): [True: 465, False: 14.3k]
  ------------------
27293|    465|            &&
27294|    465|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (27294:13): [True: 4, False: 461]
  ------------------
27295|   246k|        )
27296|      4|        {
27297|      4|            D(fprintf(stderr, "%*c+ invalid_starred_expression_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' expression '=' expression"));
27298|      4|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot assign to iterable argument unpacking" );
  ------------------
  |  |  211|      4|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
27299|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27299:18): [True: 4, False: 0]
  |  Branch (27299:34): [True: 0, False: 0]
  |  Branch (27299:57): [True: 4, False: 0]
  ------------------
27300|      4|                p->error_indicator = 1;
27301|      4|                p->level--;
27302|      4|                return NULL;
27303|      4|            }
27304|      0|            goto done;
27305|      4|        }
27306|   246k|        p->mark = _mark;
27307|   246k|        D(fprintf(stderr, "%*c%s invalid_starred_expression_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
27308|   246k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' expression '=' expression"));
27309|   246k|    }
27310|   246k|    _res = NULL;
27311|   246k|  done:
27312|   246k|    p->level--;
27313|   246k|    return _res;
27314|   246k|}
parser.c:if_expression_rule:
11697|  1.05M|{
11698|  1.05M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.10M|#  define MAXSTACK 6000
  ------------------
  |  Branch (11698:9): [True: 1, False: 1.05M]
  |  Branch (11698:35): [True: 0, False: 1.05M]
  ------------------
11699|      1|        _Pypegen_stack_overflow(p);
11700|      1|    }
11701|  1.05M|    if (p->error_indicator) {
  ------------------
  |  Branch (11701:9): [True: 1, False: 1.05M]
  ------------------
11702|      1|        p->level--;
11703|      1|        return NULL;
11704|      1|    }
11705|  1.05M|    expr_ty _res = NULL;
11706|  1.05M|    int _mark = p->mark;
11707|  1.05M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11707:9): [True: 4.96k, False: 1.04M]
  |  Branch (11707:31): [True: 10, False: 4.95k]
  ------------------
11708|     10|        p->error_indicator = 1;
11709|     10|        p->level--;
11710|     10|        return NULL;
11711|     10|    }
11712|  1.05M|    int _start_lineno = p->tokens[_mark]->lineno;
11713|  1.05M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.05M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.05M]
  |  |  ------------------
  ------------------
11714|  1.05M|    int _start_col_offset = p->tokens[_mark]->col_offset;
11715|  1.05M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.05M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.05M]
  |  |  ------------------
  ------------------
11716|  1.05M|    { // disjunction 'if' disjunction 'else' expression
11717|  1.05M|        if (p->error_indicator) {
  ------------------
  |  Branch (11717:13): [True: 0, False: 1.05M]
  ------------------
11718|      0|            p->level--;
11719|      0|            return NULL;
11720|      0|        }
11721|  1.05M|        D(fprintf(stderr, "%*c> if_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
11722|  1.05M|        Token * _keyword;
11723|  1.05M|        Token * _keyword_1;
11724|  1.05M|        expr_ty a;
11725|  1.05M|        expr_ty b;
11726|  1.05M|        expr_ty c;
11727|  1.05M|        if (
11728|  1.05M|            (a = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (11728:13): [True: 748k, False: 306k]
  ------------------
11729|   748k|            &&
11730|   748k|            (_keyword = _PyPegen_expect_token(p, 700))  // token='if'
  ------------------
  |  Branch (11730:13): [True: 5.26k, False: 743k]
  ------------------
11731|  5.26k|            &&
11732|  5.26k|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (11732:13): [True: 4.23k, False: 1.03k]
  ------------------
11733|  4.23k|            &&
11734|  4.23k|            (_keyword_1 = _PyPegen_expect_token(p, 704))  // token='else'
  ------------------
  |  Branch (11734:13): [True: 3.68k, False: 548]
  ------------------
11735|  3.68k|            &&
11736|  3.68k|            (c = expression_rule(p))  // expression
  ------------------
  |  Branch (11736:13): [True: 3.31k, False: 369]
  ------------------
11737|  1.05M|        )
11738|  3.31k|        {
11739|  3.31k|            D(fprintf(stderr, "%*c+ if_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
11740|  3.31k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11741|  3.31k|            if (_token == NULL) {
  ------------------
  |  Branch (11741:17): [True: 0, False: 3.31k]
  ------------------
11742|      0|                p->level--;
11743|      0|                return NULL;
11744|      0|            }
11745|  3.31k|            int _end_lineno = _token->end_lineno;
11746|  3.31k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.31k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.31k]
  |  |  ------------------
  ------------------
11747|  3.31k|            int _end_col_offset = _token->end_col_offset;
11748|  3.31k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.31k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.31k]
  |  |  ------------------
  ------------------
11749|  3.31k|            _res = _PyAST_IfExp ( b , a , c , EXTRA );
  ------------------
  |  |  281|  3.31k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11750|  3.31k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11750:18): [True: 0, False: 3.31k]
  |  Branch (11750:34): [True: 0, False: 3.31k]
  |  Branch (11750:57): [True: 0, False: 0]
  ------------------
11751|      0|                p->error_indicator = 1;
11752|      0|                p->level--;
11753|      0|                return NULL;
11754|      0|            }
11755|  3.31k|            goto done;
11756|  3.31k|        }
11757|  1.05M|        p->mark = _mark;
11758|  1.05M|        D(fprintf(stderr, "%*c%s if_expression[%d-%d]: %s failed!\n", p->level, ' ',
11759|  1.05M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
11760|  1.05M|    }
11761|  1.05M|    _res = NULL;
11762|  1.05M|  done:
11763|  1.05M|    p->level--;
11764|  1.05M|    return _res;
11765|  1.05M|}
parser.c:disjunction_rule:
12475|  3.87M|{
12476|  3.87M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  7.75M|#  define MAXSTACK 6000
  ------------------
  |  Branch (12476:9): [True: 1, False: 3.87M]
  |  Branch (12476:35): [True: 0, False: 3.87M]
  ------------------
12477|      1|        _Pypegen_stack_overflow(p);
12478|      1|    }
12479|  3.87M|    if (p->error_indicator) {
  ------------------
  |  Branch (12479:9): [True: 1, False: 3.87M]
  ------------------
12480|      1|        p->level--;
12481|      1|        return NULL;
12482|      1|    }
12483|  3.87M|    expr_ty _res = NULL;
12484|  3.87M|    if (_PyPegen_is_memoized(p, disjunction_type, &_res)) {
  ------------------
  |  |  209|  3.87M|#define disjunction_type 1120
  ------------------
  |  Branch (12484:9): [True: 2.71M, False: 1.16M]
  ------------------
12485|  2.71M|        p->level--;
12486|  2.71M|        return _res;
12487|  2.71M|    }
12488|  1.16M|    int _mark = p->mark;
12489|  1.16M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12489:9): [True: 0, False: 1.16M]
  |  Branch (12489:31): [True: 0, False: 0]
  ------------------
12490|      0|        p->error_indicator = 1;
12491|      0|        p->level--;
12492|      0|        return NULL;
12493|      0|    }
12494|  1.16M|    int _start_lineno = p->tokens[_mark]->lineno;
12495|  1.16M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.16M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.16M]
  |  |  ------------------
  ------------------
12496|  1.16M|    int _start_col_offset = p->tokens[_mark]->col_offset;
12497|  1.16M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.16M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.16M]
  |  |  ------------------
  ------------------
12498|  1.16M|    { // conjunction (('or' conjunction))+
12499|  1.16M|        if (p->error_indicator) {
  ------------------
  |  Branch (12499:13): [True: 0, False: 1.16M]
  ------------------
12500|      0|            p->level--;
12501|      0|            return NULL;
12502|      0|        }
12503|  1.16M|        D(fprintf(stderr, "%*c> disjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "conjunction (('or' conjunction))+"));
12504|  1.16M|        expr_ty a;
12505|  1.16M|        asdl_seq * b;
12506|  1.16M|        if (
12507|  1.16M|            (a = conjunction_rule(p))  // conjunction
  ------------------
  |  Branch (12507:13): [True: 769k, False: 393k]
  ------------------
12508|   769k|            &&
12509|   769k|            (b = _loop1_61_rule(p))  // (('or' conjunction))+
  ------------------
  |  Branch (12509:13): [True: 3.57k, False: 765k]
  ------------------
12510|  1.16M|        )
12511|  3.57k|        {
12512|  3.57k|            D(fprintf(stderr, "%*c+ disjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "conjunction (('or' conjunction))+"));
12513|  3.57k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12514|  3.57k|            if (_token == NULL) {
  ------------------
  |  Branch (12514:17): [True: 0, False: 3.57k]
  ------------------
12515|      0|                p->level--;
12516|      0|                return NULL;
12517|      0|            }
12518|  3.57k|            int _end_lineno = _token->end_lineno;
12519|  3.57k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.57k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.57k]
  |  |  ------------------
  ------------------
12520|  3.57k|            int _end_col_offset = _token->end_col_offset;
12521|  3.57k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.57k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.57k]
  |  |  ------------------
  ------------------
12522|  3.57k|            _res = _PyAST_BoolOp ( Or , CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , EXTRA );
  ------------------
  |  |  245|  3.57k|#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 );
  ------------------
  |  |  281|  3.57k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12523|  3.57k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12523:18): [True: 0, False: 3.57k]
  |  Branch (12523:34): [True: 0, False: 3.57k]
  |  Branch (12523:57): [True: 0, False: 0]
  ------------------
12524|      0|                p->error_indicator = 1;
12525|      0|                p->level--;
12526|      0|                return NULL;
12527|      0|            }
12528|  3.57k|            goto done;
12529|  3.57k|        }
12530|  1.15M|        p->mark = _mark;
12531|  1.15M|        D(fprintf(stderr, "%*c%s disjunction[%d-%d]: %s failed!\n", p->level, ' ',
12532|  1.15M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "conjunction (('or' conjunction))+"));
12533|  1.15M|    }
12534|      0|    { // conjunction
12535|  1.15M|        if (p->error_indicator) {
  ------------------
  |  Branch (12535:13): [True: 50.3k, False: 1.10M]
  ------------------
12536|  50.3k|            p->level--;
12537|  50.3k|            return NULL;
12538|  50.3k|        }
12539|  1.10M|        D(fprintf(stderr, "%*c> disjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "conjunction"));
12540|  1.10M|        expr_ty conjunction_var;
12541|  1.10M|        if (
12542|  1.10M|            (conjunction_var = conjunction_rule(p))  // conjunction
  ------------------
  |  Branch (12542:13): [True: 765k, False: 343k]
  ------------------
12543|  1.10M|        )
12544|   765k|        {
12545|   765k|            D(fprintf(stderr, "%*c+ disjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "conjunction"));
12546|   765k|            _res = conjunction_var;
12547|   765k|            goto done;
12548|   765k|        }
12549|   343k|        p->mark = _mark;
12550|   343k|        D(fprintf(stderr, "%*c%s disjunction[%d-%d]: %s failed!\n", p->level, ' ',
12551|   343k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "conjunction"));
12552|   343k|    }
12553|   343k|    _res = NULL;
12554|  1.11M|  done:
12555|  1.11M|    _PyPegen_insert_memo(p, _mark, disjunction_type, _res);
  ------------------
  |  |  209|  1.11M|#define disjunction_type 1120
  ------------------
12556|  1.11M|    p->level--;
12557|  1.11M|    return _res;
12558|   343k|}
parser.c:conjunction_rule:
12563|  2.27M|{
12564|  2.27M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.55M|#  define MAXSTACK 6000
  ------------------
  |  Branch (12564:9): [True: 1, False: 2.27M]
  |  Branch (12564:35): [True: 0, False: 2.27M]
  ------------------
12565|      1|        _Pypegen_stack_overflow(p);
12566|      1|    }
12567|  2.27M|    if (p->error_indicator) {
  ------------------
  |  Branch (12567:9): [True: 1, False: 2.27M]
  ------------------
12568|      1|        p->level--;
12569|      1|        return NULL;
12570|      1|    }
12571|  2.27M|    expr_ty _res = NULL;
12572|  2.27M|    if (_PyPegen_is_memoized(p, conjunction_type, &_res)) {
  ------------------
  |  |  210|  2.27M|#define conjunction_type 1121
  ------------------
  |  Branch (12572:9): [True: 1.10M, False: 1.16M]
  ------------------
12573|  1.10M|        p->level--;
12574|  1.10M|        return _res;
12575|  1.10M|    }
12576|  1.16M|    int _mark = p->mark;
12577|  1.16M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12577:9): [True: 0, False: 1.16M]
  |  Branch (12577:31): [True: 0, False: 0]
  ------------------
12578|      0|        p->error_indicator = 1;
12579|      0|        p->level--;
12580|      0|        return NULL;
12581|      0|    }
12582|  1.16M|    int _start_lineno = p->tokens[_mark]->lineno;
12583|  1.16M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.16M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.16M]
  |  |  ------------------
  ------------------
12584|  1.16M|    int _start_col_offset = p->tokens[_mark]->col_offset;
12585|  1.16M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.16M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.16M]
  |  |  ------------------
  ------------------
12586|  1.16M|    { // inversion (('and' inversion))+
12587|  1.16M|        if (p->error_indicator) {
  ------------------
  |  Branch (12587:13): [True: 0, False: 1.16M]
  ------------------
12588|      0|            p->level--;
12589|      0|            return NULL;
12590|      0|        }
12591|  1.16M|        D(fprintf(stderr, "%*c> conjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "inversion (('and' inversion))+"));
12592|  1.16M|        expr_ty a;
12593|  1.16M|        asdl_seq * b;
12594|  1.16M|        if (
12595|  1.16M|            (a = inversion_rule(p))  // inversion
  ------------------
  |  Branch (12595:13): [True: 775k, False: 394k]
  ------------------
12596|   775k|            &&
12597|   775k|            (b = _loop1_62_rule(p))  // (('and' inversion))+
  ------------------
  |  Branch (12597:13): [True: 2.43k, False: 772k]
  ------------------
12598|  1.16M|        )
12599|  2.43k|        {
12600|  2.43k|            D(fprintf(stderr, "%*c+ conjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "inversion (('and' inversion))+"));
12601|  2.43k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12602|  2.43k|            if (_token == NULL) {
  ------------------
  |  Branch (12602:17): [True: 0, False: 2.43k]
  ------------------
12603|      0|                p->level--;
12604|      0|                return NULL;
12605|      0|            }
12606|  2.43k|            int _end_lineno = _token->end_lineno;
12607|  2.43k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.43k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.43k]
  |  |  ------------------
  ------------------
12608|  2.43k|            int _end_col_offset = _token->end_col_offset;
12609|  2.43k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.43k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.43k]
  |  |  ------------------
  ------------------
12610|  2.43k|            _res = _PyAST_BoolOp ( And , CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , EXTRA );
  ------------------
  |  |  245|  2.43k|#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 );
  ------------------
  |  |  281|  2.43k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12611|  2.43k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12611:18): [True: 0, False: 2.43k]
  |  Branch (12611:34): [True: 0, False: 2.43k]
  |  Branch (12611:57): [True: 0, False: 0]
  ------------------
12612|      0|                p->error_indicator = 1;
12613|      0|                p->level--;
12614|      0|                return NULL;
12615|      0|            }
12616|  2.43k|            goto done;
12617|  2.43k|        }
12618|  1.16M|        p->mark = _mark;
12619|  1.16M|        D(fprintf(stderr, "%*c%s conjunction[%d-%d]: %s failed!\n", p->level, ' ',
12620|  1.16M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "inversion (('and' inversion))+"));
12621|  1.16M|    }
12622|      0|    { // inversion
12623|  1.16M|        if (p->error_indicator) {
  ------------------
  |  Branch (12623:13): [True: 50.3k, False: 1.11M]
  ------------------
12624|  50.3k|            p->level--;
12625|  50.3k|            return NULL;
12626|  50.3k|        }
12627|  1.11M|        D(fprintf(stderr, "%*c> conjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "inversion"));
12628|  1.11M|        expr_ty inversion_var;
12629|  1.11M|        if (
12630|  1.11M|            (inversion_var = inversion_rule(p))  // inversion
  ------------------
  |  Branch (12630:13): [True: 772k, False: 344k]
  ------------------
12631|  1.11M|        )
12632|   772k|        {
12633|   772k|            D(fprintf(stderr, "%*c+ conjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "inversion"));
12634|   772k|            _res = inversion_var;
12635|   772k|            goto done;
12636|   772k|        }
12637|   344k|        p->mark = _mark;
12638|   344k|        D(fprintf(stderr, "%*c%s conjunction[%d-%d]: %s failed!\n", p->level, ' ',
12639|   344k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "inversion"));
12640|   344k|    }
12641|   344k|    _res = NULL;
12642|  1.11M|  done:
12643|  1.11M|    _PyPegen_insert_memo(p, _mark, conjunction_type, _res);
  ------------------
  |  |  210|  1.11M|#define conjunction_type 1121
  ------------------
12644|  1.11M|    p->level--;
12645|  1.11M|    return _res;
12646|   344k|}
parser.c:inversion_rule:
12651|  2.29M|{
12652|  2.29M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.59M|#  define MAXSTACK 6000
  ------------------
  |  Branch (12652:9): [True: 2, False: 2.29M]
  |  Branch (12652:35): [True: 0, False: 2.29M]
  ------------------
12653|      2|        _Pypegen_stack_overflow(p);
12654|      2|    }
12655|  2.29M|    if (p->error_indicator) {
  ------------------
  |  Branch (12655:9): [True: 2, False: 2.29M]
  ------------------
12656|      2|        p->level--;
12657|      2|        return NULL;
12658|      2|    }
12659|  2.29M|    expr_ty _res = NULL;
12660|  2.29M|    if (_PyPegen_is_memoized(p, inversion_type, &_res)) {
  ------------------
  |  |  211|  2.29M|#define inversion_type 1122
  ------------------
  |  Branch (12660:9): [True: 1.11M, False: 1.17M]
  ------------------
12661|  1.11M|        p->level--;
12662|  1.11M|        return _res;
12663|  1.11M|    }
12664|  1.17M|    int _mark = p->mark;
12665|  1.17M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12665:9): [True: 0, False: 1.17M]
  |  Branch (12665:31): [True: 0, False: 0]
  ------------------
12666|      0|        p->error_indicator = 1;
12667|      0|        p->level--;
12668|      0|        return NULL;
12669|      0|    }
12670|  1.17M|    int _start_lineno = p->tokens[_mark]->lineno;
12671|  1.17M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.17M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.17M]
  |  |  ------------------
  ------------------
12672|  1.17M|    int _start_col_offset = p->tokens[_mark]->col_offset;
12673|  1.17M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.17M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.17M]
  |  |  ------------------
  ------------------
12674|  1.17M|    { // 'not' inversion
12675|  1.17M|        if (p->error_indicator) {
  ------------------
  |  Branch (12675:13): [True: 0, False: 1.17M]
  ------------------
12676|      0|            p->level--;
12677|      0|            return NULL;
12678|      0|        }
12679|  1.17M|        D(fprintf(stderr, "%*c> inversion[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'not' inversion"));
12680|  1.17M|        Token * _keyword;
12681|  1.17M|        expr_ty a;
12682|  1.17M|        if (
12683|  1.17M|            (_keyword = _PyPegen_expect_token(p, 721))  // token='not'
  ------------------
  |  Branch (12683:13): [True: 2.04k, False: 1.17M]
  ------------------
12684|  2.04k|            &&
12685|  2.04k|            (a = inversion_rule(p))  // inversion
  ------------------
  |  Branch (12685:13): [True: 1.71k, False: 328]
  ------------------
12686|  1.17M|        )
12687|  1.71k|        {
12688|  1.71k|            D(fprintf(stderr, "%*c+ inversion[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'not' inversion"));
12689|  1.71k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12690|  1.71k|            if (_token == NULL) {
  ------------------
  |  Branch (12690:17): [True: 0, False: 1.71k]
  ------------------
12691|      0|                p->level--;
12692|      0|                return NULL;
12693|      0|            }
12694|  1.71k|            int _end_lineno = _token->end_lineno;
12695|  1.71k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.71k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.71k]
  |  |  ------------------
  ------------------
12696|  1.71k|            int _end_col_offset = _token->end_col_offset;
12697|  1.71k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.71k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.71k]
  |  |  ------------------
  ------------------
12698|  1.71k|            _res = _PyAST_UnaryOp ( Not , a , EXTRA );
  ------------------
  |  |  281|  1.71k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12699|  1.71k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12699:18): [True: 0, False: 1.71k]
  |  Branch (12699:34): [True: 0, False: 1.71k]
  |  Branch (12699:57): [True: 0, False: 0]
  ------------------
12700|      0|                p->error_indicator = 1;
12701|      0|                p->level--;
12702|      0|                return NULL;
12703|      0|            }
12704|  1.71k|            goto done;
12705|  1.71k|        }
12706|  1.17M|        p->mark = _mark;
12707|  1.17M|        D(fprintf(stderr, "%*c%s inversion[%d-%d]: %s failed!\n", p->level, ' ',
12708|  1.17M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'not' inversion"));
12709|  1.17M|    }
12710|      0|    { // comparison
12711|  1.17M|        if (p->error_indicator) {
  ------------------
  |  Branch (12711:13): [True: 177, False: 1.17M]
  ------------------
12712|    177|            p->level--;
12713|    177|            return NULL;
12714|    177|        }
12715|  1.17M|        D(fprintf(stderr, "%*c> inversion[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "comparison"));
12716|  1.17M|        expr_ty comparison_var;
12717|  1.17M|        if (
12718|  1.17M|            (comparison_var = comparison_rule(p))  // comparison
  ------------------
  |  Branch (12718:13): [True: 782k, False: 394k]
  ------------------
12719|  1.17M|        )
12720|   782k|        {
12721|   782k|            D(fprintf(stderr, "%*c+ inversion[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "comparison"));
12722|   782k|            _res = comparison_var;
12723|   782k|            goto done;
12724|   782k|        }
12725|   394k|        p->mark = _mark;
12726|   394k|        D(fprintf(stderr, "%*c%s inversion[%d-%d]: %s failed!\n", p->level, ' ',
12727|   394k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "comparison"));
12728|   394k|    }
12729|   394k|    _res = NULL;
12730|  1.17M|  done:
12731|  1.17M|    _PyPegen_insert_memo(p, _mark, inversion_type, _res);
  ------------------
  |  |  211|  1.17M|#define inversion_type 1122
  ------------------
12732|  1.17M|    p->level--;
12733|  1.17M|    return _res;
12734|   394k|}
parser.c:comparison_rule:
12739|  1.17M|{
12740|  1.17M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.35M|#  define MAXSTACK 6000
  ------------------
  |  Branch (12740:9): [True: 1, False: 1.17M]
  |  Branch (12740:35): [True: 0, False: 1.17M]
  ------------------
12741|      1|        _Pypegen_stack_overflow(p);
12742|      1|    }
12743|  1.17M|    if (p->error_indicator) {
  ------------------
  |  Branch (12743:9): [True: 1, False: 1.17M]
  ------------------
12744|      1|        p->level--;
12745|      1|        return NULL;
12746|      1|    }
12747|  1.17M|    expr_ty _res = NULL;
12748|  1.17M|    int _mark = p->mark;
12749|  1.17M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12749:9): [True: 0, False: 1.17M]
  |  Branch (12749:31): [True: 0, False: 0]
  ------------------
12750|      0|        p->error_indicator = 1;
12751|      0|        p->level--;
12752|      0|        return NULL;
12753|      0|    }
12754|  1.17M|    int _start_lineno = p->tokens[_mark]->lineno;
12755|  1.17M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.17M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.17M]
  |  |  ------------------
  ------------------
12756|  1.17M|    int _start_col_offset = p->tokens[_mark]->col_offset;
12757|  1.17M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.17M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.17M]
  |  |  ------------------
  ------------------
12758|  1.17M|    { // bitwise_or compare_op_bitwise_or_pair+
12759|  1.17M|        if (p->error_indicator) {
  ------------------
  |  Branch (12759:13): [True: 0, False: 1.17M]
  ------------------
12760|      0|            p->level--;
12761|      0|            return NULL;
12762|      0|        }
12763|  1.17M|        D(fprintf(stderr, "%*c> comparison[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or compare_op_bitwise_or_pair+"));
12764|  1.17M|        expr_ty a;
12765|  1.17M|        asdl_seq * b;
12766|  1.17M|        if (
12767|  1.17M|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12767:13): [True: 785k, False: 391k]
  ------------------
12768|   785k|            &&
12769|   785k|            (b = _loop1_63_rule(p))  // compare_op_bitwise_or_pair+
  ------------------
  |  Branch (12769:13): [True: 32.6k, False: 752k]
  ------------------
12770|  1.17M|        )
12771|  32.6k|        {
12772|  32.6k|            D(fprintf(stderr, "%*c+ comparison[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or compare_op_bitwise_or_pair+"));
12773|  32.6k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12774|  32.6k|            if (_token == NULL) {
  ------------------
  |  Branch (12774:17): [True: 0, False: 32.6k]
  ------------------
12775|      0|                p->level--;
12776|      0|                return NULL;
12777|      0|            }
12778|  32.6k|            int _end_lineno = _token->end_lineno;
12779|  32.6k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  32.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 32.6k]
  |  |  ------------------
  ------------------
12780|  32.6k|            int _end_col_offset = _token->end_col_offset;
12781|  32.6k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  32.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 32.6k]
  |  |  ------------------
  ------------------
12782|  32.6k|            _res = _PyAST_Compare ( a , CHECK ( asdl_int_seq* , _PyPegen_get_cmpops ( p , b ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_exprs ( p , b ) ) , EXTRA );
  ------------------
  |  |  245|  32.6k|#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 );
  ------------------
  |  |  245|  32.6k|#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 );
  ------------------
  |  |  281|  32.6k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12783|  32.6k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12783:18): [True: 0, False: 32.6k]
  |  Branch (12783:34): [True: 0, False: 32.6k]
  |  Branch (12783:57): [True: 0, False: 0]
  ------------------
12784|      0|                p->error_indicator = 1;
12785|      0|                p->level--;
12786|      0|                return NULL;
12787|      0|            }
12788|  32.6k|            goto done;
12789|  32.6k|        }
12790|  1.14M|        p->mark = _mark;
12791|  1.14M|        D(fprintf(stderr, "%*c%s comparison[%d-%d]: %s failed!\n", p->level, ' ',
12792|  1.14M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or compare_op_bitwise_or_pair+"));
12793|  1.14M|    }
12794|      0|    { // bitwise_or
12795|  1.14M|        if (p->error_indicator) {
  ------------------
  |  Branch (12795:13): [True: 50.4k, False: 1.09M]
  ------------------
12796|  50.4k|            p->level--;
12797|  50.4k|            return NULL;
12798|  50.4k|        }
12799|  1.09M|        D(fprintf(stderr, "%*c> comparison[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or"));
12800|  1.09M|        expr_ty bitwise_or_var;
12801|  1.09M|        if (
12802|  1.09M|            (bitwise_or_var = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12802:13): [True: 749k, False: 344k]
  ------------------
12803|  1.09M|        )
12804|   749k|        {
12805|   749k|            D(fprintf(stderr, "%*c+ comparison[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or"));
12806|   749k|            _res = bitwise_or_var;
12807|   749k|            goto done;
12808|   749k|        }
12809|   344k|        p->mark = _mark;
12810|   344k|        D(fprintf(stderr, "%*c%s comparison[%d-%d]: %s failed!\n", p->level, ' ',
12811|   344k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or"));
12812|   344k|    }
12813|   344k|    _res = NULL;
12814|  1.12M|  done:
12815|  1.12M|    p->level--;
12816|  1.12M|    return _res;
12817|   344k|}
parser.c:_loop1_63_rule:
32523|   785k|{
32524|   785k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.57M|#  define MAXSTACK 6000
  ------------------
  |  Branch (32524:9): [True: 0, False: 785k]
  |  Branch (32524:35): [True: 0, False: 785k]
  ------------------
32525|      0|        _Pypegen_stack_overflow(p);
32526|      0|    }
32527|   785k|    if (p->error_indicator) {
  ------------------
  |  Branch (32527:9): [True: 0, False: 785k]
  ------------------
32528|      0|        p->level--;
32529|      0|        return NULL;
32530|      0|    }
32531|   785k|    void *_res = NULL;
32532|   785k|    int _mark = p->mark;
32533|   785k|    void **_children = PyMem_Malloc(sizeof(void *));
32534|   785k|    if (!_children) {
  ------------------
  |  Branch (32534:9): [True: 0, False: 785k]
  ------------------
32535|      0|        p->error_indicator = 1;
32536|      0|        PyErr_NoMemory();
32537|      0|        p->level--;
32538|      0|        return NULL;
32539|      0|    }
32540|   785k|    Py_ssize_t _children_capacity = 1;
32541|   785k|    Py_ssize_t _n = 0;
32542|   785k|    { // compare_op_bitwise_or_pair
32543|   785k|        if (p->error_indicator) {
  ------------------
  |  Branch (32543:13): [True: 0, False: 785k]
  ------------------
32544|      0|            p->level--;
32545|      0|            return NULL;
32546|      0|        }
32547|   785k|        D(fprintf(stderr, "%*c> _loop1_63[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "compare_op_bitwise_or_pair"));
32548|   785k|        CmpopExprPair* compare_op_bitwise_or_pair_var;
32549|   785k|        while (
32550|   887k|            (compare_op_bitwise_or_pair_var = compare_op_bitwise_or_pair_rule(p))  // compare_op_bitwise_or_pair
  ------------------
  |  Branch (32550:13): [True: 102k, False: 785k]
  ------------------
32551|   785k|        )
32552|   102k|        {
32553|   102k|            _res = compare_op_bitwise_or_pair_var;
32554|   102k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32554:17): [True: 25.3k, False: 77.0k]
  ------------------
32555|  25.3k|                _children_capacity *= 2;
32556|  25.3k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32557|  25.3k|                if (!_new_children) {
  ------------------
  |  Branch (32557:21): [True: 0, False: 25.3k]
  ------------------
32558|      0|                    PyMem_Free(_children);
32559|      0|                    p->error_indicator = 1;
32560|      0|                    PyErr_NoMemory();
32561|      0|                    p->level--;
32562|      0|                    return NULL;
32563|      0|                }
32564|  25.3k|                _children = _new_children;
32565|  25.3k|            }
32566|   102k|            _children[_n++] = _res;
32567|   102k|            _mark = p->mark;
32568|   102k|        }
32569|   785k|        p->mark = _mark;
32570|   785k|        D(fprintf(stderr, "%*c%s _loop1_63[%d-%d]: %s failed!\n", p->level, ' ',
32571|   785k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "compare_op_bitwise_or_pair"));
32572|   785k|    }
32573|   785k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (32573:9): [True: 752k, False: 33.3k]
  |  Branch (32573:20): [True: 703, False: 32.6k]
  ------------------
32574|   752k|        PyMem_Free(_children);
32575|   752k|        p->level--;
32576|   752k|        return NULL;
32577|   752k|    }
32578|  32.6k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32579|  32.6k|    if (!_seq) {
  ------------------
  |  Branch (32579:9): [True: 0, False: 32.6k]
  ------------------
32580|      0|        PyMem_Free(_children);
32581|      0|        p->error_indicator = 1;
32582|      0|        PyErr_NoMemory();
32583|      0|        p->level--;
32584|      0|        return NULL;
32585|      0|    }
32586|   134k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|   101k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|   134k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32586:28): [True: 101k, False: 32.6k]
  ------------------
32587|  32.6k|    PyMem_Free(_children);
32588|  32.6k|    p->level--;
32589|  32.6k|    return _seq;
32590|  32.6k|}
parser.c:compare_op_bitwise_or_pair_rule:
12832|   887k|{
12833|   887k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.77M|#  define MAXSTACK 6000
  ------------------
  |  Branch (12833:9): [True: 0, False: 887k]
  |  Branch (12833:35): [True: 0, False: 887k]
  ------------------
12834|      0|        _Pypegen_stack_overflow(p);
12835|      0|    }
12836|   887k|    if (p->error_indicator) {
  ------------------
  |  Branch (12836:9): [True: 0, False: 887k]
  ------------------
12837|      0|        p->level--;
12838|      0|        return NULL;
12839|      0|    }
12840|   887k|    CmpopExprPair* _res = NULL;
12841|   887k|    int _mark = p->mark;
12842|   887k|    { // eq_bitwise_or
12843|   887k|        if (p->error_indicator) {
  ------------------
  |  Branch (12843:13): [True: 0, False: 887k]
  ------------------
12844|      0|            p->level--;
12845|      0|            return NULL;
12846|      0|        }
12847|   887k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "eq_bitwise_or"));
12848|   887k|        CmpopExprPair* eq_bitwise_or_var;
12849|   887k|        if (
12850|   887k|            (eq_bitwise_or_var = eq_bitwise_or_rule(p))  // eq_bitwise_or
  ------------------
  |  Branch (12850:13): [True: 2.89k, False: 885k]
  ------------------
12851|   887k|        )
12852|  2.89k|        {
12853|  2.89k|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "eq_bitwise_or"));
12854|  2.89k|            _res = eq_bitwise_or_var;
12855|  2.89k|            goto done;
12856|  2.89k|        }
12857|   885k|        p->mark = _mark;
12858|   885k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12859|   885k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "eq_bitwise_or"));
12860|   885k|    }
12861|      0|    { // noteq_bitwise_or
12862|   885k|        if (p->error_indicator) {
  ------------------
  |  Branch (12862:13): [True: 99, False: 884k]
  ------------------
12863|     99|            p->level--;
12864|     99|            return NULL;
12865|     99|        }
12866|   884k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "noteq_bitwise_or"));
12867|   884k|        CmpopExprPair* noteq_bitwise_or_var;
12868|   884k|        if (
12869|   884k|            (noteq_bitwise_or_var = noteq_bitwise_or_rule(p))  // noteq_bitwise_or
  ------------------
  |  Branch (12869:13): [True: 697, False: 884k]
  ------------------
12870|   884k|        )
12871|    697|        {
12872|    697|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "noteq_bitwise_or"));
12873|    697|            _res = noteq_bitwise_or_var;
12874|    697|            goto done;
12875|    697|        }
12876|   884k|        p->mark = _mark;
12877|   884k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12878|   884k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "noteq_bitwise_or"));
12879|   884k|    }
12880|      0|    { // lte_bitwise_or
12881|   884k|        if (p->error_indicator) {
  ------------------
  |  Branch (12881:13): [True: 207, False: 884k]
  ------------------
12882|    207|            p->level--;
12883|    207|            return NULL;
12884|    207|        }
12885|   884k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lte_bitwise_or"));
12886|   884k|        CmpopExprPair* lte_bitwise_or_var;
12887|   884k|        if (
12888|   884k|            (lte_bitwise_or_var = lte_bitwise_or_rule(p))  // lte_bitwise_or
  ------------------
  |  Branch (12888:13): [True: 4.21k, False: 879k]
  ------------------
12889|   884k|        )
12890|  4.21k|        {
12891|  4.21k|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lte_bitwise_or"));
12892|  4.21k|            _res = lte_bitwise_or_var;
12893|  4.21k|            goto done;
12894|  4.21k|        }
12895|   879k|        p->mark = _mark;
12896|   879k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12897|   879k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lte_bitwise_or"));
12898|   879k|    }
12899|      0|    { // lt_bitwise_or
12900|   879k|        if (p->error_indicator) {
  ------------------
  |  Branch (12900:13): [True: 240, False: 879k]
  ------------------
12901|    240|            p->level--;
12902|    240|            return NULL;
12903|    240|        }
12904|   879k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lt_bitwise_or"));
12905|   879k|        CmpopExprPair* lt_bitwise_or_var;
12906|   879k|        if (
12907|   879k|            (lt_bitwise_or_var = lt_bitwise_or_rule(p))  // lt_bitwise_or
  ------------------
  |  Branch (12907:13): [True: 39.7k, False: 839k]
  ------------------
12908|   879k|        )
12909|  39.7k|        {
12910|  39.7k|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lt_bitwise_or"));
12911|  39.7k|            _res = lt_bitwise_or_var;
12912|  39.7k|            goto done;
12913|  39.7k|        }
12914|   839k|        p->mark = _mark;
12915|   839k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12916|   839k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lt_bitwise_or"));
12917|   839k|    }
12918|      0|    { // gte_bitwise_or
12919|   839k|        if (p->error_indicator) {
  ------------------
  |  Branch (12919:13): [True: 514, False: 839k]
  ------------------
12920|    514|            p->level--;
12921|    514|            return NULL;
12922|    514|        }
12923|   839k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "gte_bitwise_or"));
12924|   839k|        CmpopExprPair* gte_bitwise_or_var;
12925|   839k|        if (
12926|   839k|            (gte_bitwise_or_var = gte_bitwise_or_rule(p))  // gte_bitwise_or
  ------------------
  |  Branch (12926:13): [True: 4.95k, False: 834k]
  ------------------
12927|   839k|        )
12928|  4.95k|        {
12929|  4.95k|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "gte_bitwise_or"));
12930|  4.95k|            _res = gte_bitwise_or_var;
12931|  4.95k|            goto done;
12932|  4.95k|        }
12933|   834k|        p->mark = _mark;
12934|   834k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12935|   834k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "gte_bitwise_or"));
12936|   834k|    }
12937|      0|    { // gt_bitwise_or
12938|   834k|        if (p->error_indicator) {
  ------------------
  |  Branch (12938:13): [True: 325, False: 833k]
  ------------------
12939|    325|            p->level--;
12940|    325|            return NULL;
12941|    325|        }
12942|   833k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "gt_bitwise_or"));
12943|   833k|        CmpopExprPair* gt_bitwise_or_var;
12944|   833k|        if (
12945|   833k|            (gt_bitwise_or_var = gt_bitwise_or_rule(p))  // gt_bitwise_or
  ------------------
  |  Branch (12945:13): [True: 38.2k, False: 795k]
  ------------------
12946|   833k|        )
12947|  38.2k|        {
12948|  38.2k|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "gt_bitwise_or"));
12949|  38.2k|            _res = gt_bitwise_or_var;
12950|  38.2k|            goto done;
12951|  38.2k|        }
12952|   795k|        p->mark = _mark;
12953|   795k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12954|   795k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "gt_bitwise_or"));
12955|   795k|    }
12956|      0|    { // notin_bitwise_or
12957|   795k|        if (p->error_indicator) {
  ------------------
  |  Branch (12957:13): [True: 1.18k, False: 794k]
  ------------------
12958|  1.18k|            p->level--;
12959|  1.18k|            return NULL;
12960|  1.18k|        }
12961|   794k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "notin_bitwise_or"));
12962|   794k|        CmpopExprPair* notin_bitwise_or_var;
12963|   794k|        if (
12964|   794k|            (notin_bitwise_or_var = notin_bitwise_or_rule(p))  // notin_bitwise_or
  ------------------
  |  Branch (12964:13): [True: 94, False: 794k]
  ------------------
12965|   794k|        )
12966|     94|        {
12967|     94|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "notin_bitwise_or"));
12968|     94|            _res = notin_bitwise_or_var;
12969|     94|            goto done;
12970|     94|        }
12971|   794k|        p->mark = _mark;
12972|   794k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12973|   794k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "notin_bitwise_or"));
12974|   794k|    }
12975|      0|    { // in_bitwise_or
12976|   794k|        if (p->error_indicator) {
  ------------------
  |  Branch (12976:13): [True: 48, False: 794k]
  ------------------
12977|     48|            p->level--;
12978|     48|            return NULL;
12979|     48|        }
12980|   794k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "in_bitwise_or"));
12981|   794k|        CmpopExprPair* in_bitwise_or_var;
12982|   794k|        if (
12983|   794k|            (in_bitwise_or_var = in_bitwise_or_rule(p))  // in_bitwise_or
  ------------------
  |  Branch (12983:13): [True: 6.20k, False: 788k]
  ------------------
12984|   794k|        )
12985|  6.20k|        {
12986|  6.20k|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "in_bitwise_or"));
12987|  6.20k|            _res = in_bitwise_or_var;
12988|  6.20k|            goto done;
12989|  6.20k|        }
12990|   788k|        p->mark = _mark;
12991|   788k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12992|   788k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "in_bitwise_or"));
12993|   788k|    }
12994|      0|    { // isnot_bitwise_or
12995|   788k|        if (p->error_indicator) {
  ------------------
  |  Branch (12995:13): [True: 117, False: 788k]
  ------------------
12996|    117|            p->level--;
12997|    117|            return NULL;
12998|    117|        }
12999|   788k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "isnot_bitwise_or"));
13000|   788k|        CmpopExprPair* isnot_bitwise_or_var;
13001|   788k|        if (
13002|   788k|            (isnot_bitwise_or_var = isnot_bitwise_or_rule(p))  // isnot_bitwise_or
  ------------------
  |  Branch (13002:13): [True: 37, False: 788k]
  ------------------
13003|   788k|        )
13004|     37|        {
13005|     37|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "isnot_bitwise_or"));
13006|     37|            _res = isnot_bitwise_or_var;
13007|     37|            goto done;
13008|     37|        }
13009|   788k|        p->mark = _mark;
13010|   788k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
13011|   788k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "isnot_bitwise_or"));
13012|   788k|    }
13013|      0|    { // is_bitwise_or
13014|   788k|        if (p->error_indicator) {
  ------------------
  |  Branch (13014:13): [True: 81, False: 788k]
  ------------------
13015|     81|            p->level--;
13016|     81|            return NULL;
13017|     81|        }
13018|   788k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "is_bitwise_or"));
13019|   788k|        CmpopExprPair* is_bitwise_or_var;
13020|   788k|        if (
13021|   788k|            (is_bitwise_or_var = is_bitwise_or_rule(p))  // is_bitwise_or
  ------------------
  |  Branch (13021:13): [True: 5.36k, False: 782k]
  ------------------
13022|   788k|        )
13023|  5.36k|        {
13024|  5.36k|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "is_bitwise_or"));
13025|  5.36k|            _res = is_bitwise_or_var;
13026|  5.36k|            goto done;
13027|  5.36k|        }
13028|   782k|        p->mark = _mark;
13029|   782k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
13030|   782k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "is_bitwise_or"));
13031|   782k|    }
13032|   782k|    _res = NULL;
13033|   885k|  done:
13034|   885k|    p->level--;
13035|   885k|    return _res;
13036|   782k|}
parser.c:eq_bitwise_or_rule:
13041|   887k|{
13042|   887k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.77M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13042:9): [True: 0, False: 887k]
  |  Branch (13042:35): [True: 0, False: 887k]
  ------------------
13043|      0|        _Pypegen_stack_overflow(p);
13044|      0|    }
13045|   887k|    if (p->error_indicator) {
  ------------------
  |  Branch (13045:9): [True: 0, False: 887k]
  ------------------
13046|      0|        p->level--;
13047|      0|        return NULL;
13048|      0|    }
13049|   887k|    CmpopExprPair* _res = NULL;
13050|   887k|    int _mark = p->mark;
13051|   887k|    { // '==' bitwise_or
13052|   887k|        if (p->error_indicator) {
  ------------------
  |  Branch (13052:13): [True: 0, False: 887k]
  ------------------
13053|      0|            p->level--;
13054|      0|            return NULL;
13055|      0|        }
13056|   887k|        D(fprintf(stderr, "%*c> eq_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'==' bitwise_or"));
13057|   887k|        Token * _literal;
13058|   887k|        expr_ty a;
13059|   887k|        if (
13060|   887k|            (_literal = _PyPegen_expect_token(p, 27))  // token='=='
  ------------------
  |  Branch (13060:13): [True: 3.02k, False: 884k]
  ------------------
13061|  3.02k|            &&
13062|  3.02k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13062:13): [True: 2.89k, False: 132]
  ------------------
13063|   887k|        )
13064|  2.89k|        {
13065|  2.89k|            D(fprintf(stderr, "%*c+ eq_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'==' bitwise_or"));
13066|  2.89k|            _res = _PyPegen_cmpop_expr_pair ( p , Eq , a );
13067|  2.89k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13067:18): [True: 0, False: 2.89k]
  |  Branch (13067:34): [True: 0, False: 2.89k]
  |  Branch (13067:57): [True: 0, False: 0]
  ------------------
13068|      0|                p->error_indicator = 1;
13069|      0|                p->level--;
13070|      0|                return NULL;
13071|      0|            }
13072|  2.89k|            goto done;
13073|  2.89k|        }
13074|   885k|        p->mark = _mark;
13075|   885k|        D(fprintf(stderr, "%*c%s eq_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13076|   885k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'==' bitwise_or"));
13077|   885k|    }
13078|   885k|    _res = NULL;
13079|   887k|  done:
13080|   887k|    p->level--;
13081|   887k|    return _res;
13082|   885k|}
parser.c:noteq_bitwise_or_rule:
13087|   884k|{
13088|   884k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.76M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13088:9): [True: 0, False: 884k]
  |  Branch (13088:35): [True: 0, False: 884k]
  ------------------
13089|      0|        _Pypegen_stack_overflow(p);
13090|      0|    }
13091|   884k|    if (p->error_indicator) {
  ------------------
  |  Branch (13091:9): [True: 0, False: 884k]
  ------------------
13092|      0|        p->level--;
13093|      0|        return NULL;
13094|      0|    }
13095|   884k|    CmpopExprPair* _res = NULL;
13096|   884k|    int _mark = p->mark;
13097|   884k|    { // ('!=') bitwise_or
13098|   884k|        if (p->error_indicator) {
  ------------------
  |  Branch (13098:13): [True: 0, False: 884k]
  ------------------
13099|      0|            p->level--;
13100|      0|            return NULL;
13101|      0|        }
13102|   884k|        D(fprintf(stderr, "%*c> noteq_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('!=') bitwise_or"));
13103|   884k|        void *_tmp_64_var;
13104|   884k|        expr_ty a;
13105|   884k|        if (
13106|   884k|            (_tmp_64_var = _tmp_64_rule(p))  // '!='
  ------------------
  |  Branch (13106:13): [True: 1.08k, False: 883k]
  ------------------
13107|  1.08k|            &&
13108|  1.08k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13108:13): [True: 697, False: 391]
  ------------------
13109|   884k|        )
13110|    697|        {
13111|    697|            D(fprintf(stderr, "%*c+ noteq_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('!=') bitwise_or"));
13112|    697|            _res = _PyPegen_cmpop_expr_pair ( p , NotEq , a );
13113|    697|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13113:18): [True: 0, False: 697]
  |  Branch (13113:34): [True: 0, False: 697]
  |  Branch (13113:57): [True: 0, False: 0]
  ------------------
13114|      0|                p->error_indicator = 1;
13115|      0|                p->level--;
13116|      0|                return NULL;
13117|      0|            }
13118|    697|            goto done;
13119|    697|        }
13120|   884k|        p->mark = _mark;
13121|   884k|        D(fprintf(stderr, "%*c%s noteq_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13122|   884k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('!=') bitwise_or"));
13123|   884k|    }
13124|   884k|    _res = NULL;
13125|   884k|  done:
13126|   884k|    p->level--;
13127|   884k|    return _res;
13128|   884k|}
parser.c:_tmp_64_rule:
32595|   884k|{
32596|   884k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.76M|#  define MAXSTACK 6000
  ------------------
  |  Branch (32596:9): [True: 0, False: 884k]
  |  Branch (32596:35): [True: 0, False: 884k]
  ------------------
32597|      0|        _Pypegen_stack_overflow(p);
32598|      0|    }
32599|   884k|    if (p->error_indicator) {
  ------------------
  |  Branch (32599:9): [True: 0, False: 884k]
  ------------------
32600|      0|        p->level--;
32601|      0|        return NULL;
32602|      0|    }
32603|   884k|    void * _res = NULL;
32604|   884k|    int _mark = p->mark;
32605|   884k|    { // '!='
32606|   884k|        if (p->error_indicator) {
  ------------------
  |  Branch (32606:13): [True: 0, False: 884k]
  ------------------
32607|      0|            p->level--;
32608|      0|            return NULL;
32609|      0|        }
32610|   884k|        D(fprintf(stderr, "%*c> _tmp_64[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'!='"));
32611|   884k|        Token * tok;
32612|   884k|        if (
32613|   884k|            (tok = _PyPegen_expect_token(p, 28))  // token='!='
  ------------------
  |  Branch (32613:13): [True: 1.10k, False: 883k]
  ------------------
32614|   884k|        )
32615|  1.10k|        {
32616|  1.10k|            D(fprintf(stderr, "%*c+ _tmp_64[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'!='"));
32617|  1.10k|            _res = _PyPegen_check_barry_as_flufl ( p , tok ) ? NULL : tok;
  ------------------
  |  Branch (32617:20): [True: 17, False: 1.08k]
  ------------------
32618|  1.10k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (32618:18): [True: 17, False: 1.08k]
  |  Branch (32618:34): [True: 0, False: 1.08k]
  |  Branch (32618:57): [True: 0, False: 17]
  ------------------
32619|      0|                p->error_indicator = 1;
32620|      0|                p->level--;
32621|      0|                return NULL;
32622|      0|            }
32623|  1.10k|            goto done;
32624|  1.10k|        }
32625|   883k|        p->mark = _mark;
32626|   883k|        D(fprintf(stderr, "%*c%s _tmp_64[%d-%d]: %s failed!\n", p->level, ' ',
32627|   883k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'!='"));
32628|   883k|    }
32629|   883k|    _res = NULL;
32630|   884k|  done:
32631|   884k|    p->level--;
32632|   884k|    return _res;
32633|   883k|}
parser.c:lte_bitwise_or_rule:
13133|   884k|{
13134|   884k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.76M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13134:9): [True: 0, False: 884k]
  |  Branch (13134:35): [True: 0, False: 884k]
  ------------------
13135|      0|        _Pypegen_stack_overflow(p);
13136|      0|    }
13137|   884k|    if (p->error_indicator) {
  ------------------
  |  Branch (13137:9): [True: 0, False: 884k]
  ------------------
13138|      0|        p->level--;
13139|      0|        return NULL;
13140|      0|    }
13141|   884k|    CmpopExprPair* _res = NULL;
13142|   884k|    int _mark = p->mark;
13143|   884k|    { // '<=' bitwise_or
13144|   884k|        if (p->error_indicator) {
  ------------------
  |  Branch (13144:13): [True: 0, False: 884k]
  ------------------
13145|      0|            p->level--;
13146|      0|            return NULL;
13147|      0|        }
13148|   884k|        D(fprintf(stderr, "%*c> lte_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'<=' bitwise_or"));
13149|   884k|        Token * _literal;
13150|   884k|        expr_ty a;
13151|   884k|        if (
13152|   884k|            (_literal = _PyPegen_expect_token(p, 29))  // token='<='
  ------------------
  |  Branch (13152:13): [True: 4.47k, False: 879k]
  ------------------
13153|  4.47k|            &&
13154|  4.47k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13154:13): [True: 4.21k, False: 261]
  ------------------
13155|   884k|        )
13156|  4.21k|        {
13157|  4.21k|            D(fprintf(stderr, "%*c+ lte_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'<=' bitwise_or"));
13158|  4.21k|            _res = _PyPegen_cmpop_expr_pair ( p , LtE , a );
13159|  4.21k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13159:18): [True: 0, False: 4.21k]
  |  Branch (13159:34): [True: 0, False: 4.21k]
  |  Branch (13159:57): [True: 0, False: 0]
  ------------------
13160|      0|                p->error_indicator = 1;
13161|      0|                p->level--;
13162|      0|                return NULL;
13163|      0|            }
13164|  4.21k|            goto done;
13165|  4.21k|        }
13166|   879k|        p->mark = _mark;
13167|   879k|        D(fprintf(stderr, "%*c%s lte_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13168|   879k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'<=' bitwise_or"));
13169|   879k|    }
13170|   879k|    _res = NULL;
13171|   884k|  done:
13172|   884k|    p->level--;
13173|   884k|    return _res;
13174|   879k|}
parser.c:lt_bitwise_or_rule:
13179|   879k|{
13180|   879k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.75M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13180:9): [True: 0, False: 879k]
  |  Branch (13180:35): [True: 0, False: 879k]
  ------------------
13181|      0|        _Pypegen_stack_overflow(p);
13182|      0|    }
13183|   879k|    if (p->error_indicator) {
  ------------------
  |  Branch (13183:9): [True: 0, False: 879k]
  ------------------
13184|      0|        p->level--;
13185|      0|        return NULL;
13186|      0|    }
13187|   879k|    CmpopExprPair* _res = NULL;
13188|   879k|    int _mark = p->mark;
13189|   879k|    { // '<' bitwise_or
13190|   879k|        if (p->error_indicator) {
  ------------------
  |  Branch (13190:13): [True: 0, False: 879k]
  ------------------
13191|      0|            p->level--;
13192|      0|            return NULL;
13193|      0|        }
13194|   879k|        D(fprintf(stderr, "%*c> lt_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'<' bitwise_or"));
13195|   879k|        Token * _literal;
13196|   879k|        expr_ty a;
13197|   879k|        if (
13198|   879k|            (_literal = _PyPegen_expect_token(p, 20))  // token='<'
  ------------------
  |  Branch (13198:13): [True: 40.5k, False: 839k]
  ------------------
13199|  40.5k|            &&
13200|  40.5k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13200:13): [True: 39.7k, False: 778]
  ------------------
13201|   879k|        )
13202|  39.7k|        {
13203|  39.7k|            D(fprintf(stderr, "%*c+ lt_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'<' bitwise_or"));
13204|  39.7k|            _res = _PyPegen_cmpop_expr_pair ( p , Lt , a );
13205|  39.7k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13205:18): [True: 0, False: 39.7k]
  |  Branch (13205:34): [True: 0, False: 39.7k]
  |  Branch (13205:57): [True: 0, False: 0]
  ------------------
13206|      0|                p->error_indicator = 1;
13207|      0|                p->level--;
13208|      0|                return NULL;
13209|      0|            }
13210|  39.7k|            goto done;
13211|  39.7k|        }
13212|   839k|        p->mark = _mark;
13213|   839k|        D(fprintf(stderr, "%*c%s lt_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13214|   839k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'<' bitwise_or"));
13215|   839k|    }
13216|   839k|    _res = NULL;
13217|   879k|  done:
13218|   879k|    p->level--;
13219|   879k|    return _res;
13220|   839k|}
parser.c:gte_bitwise_or_rule:
13225|   839k|{
13226|   839k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.67M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13226:9): [True: 0, False: 839k]
  |  Branch (13226:35): [True: 0, False: 839k]
  ------------------
13227|      0|        _Pypegen_stack_overflow(p);
13228|      0|    }
13229|   839k|    if (p->error_indicator) {
  ------------------
  |  Branch (13229:9): [True: 0, False: 839k]
  ------------------
13230|      0|        p->level--;
13231|      0|        return NULL;
13232|      0|    }
13233|   839k|    CmpopExprPair* _res = NULL;
13234|   839k|    int _mark = p->mark;
13235|   839k|    { // '>=' bitwise_or
13236|   839k|        if (p->error_indicator) {
  ------------------
  |  Branch (13236:13): [True: 0, False: 839k]
  ------------------
13237|      0|            p->level--;
13238|      0|            return NULL;
13239|      0|        }
13240|   839k|        D(fprintf(stderr, "%*c> gte_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'>=' bitwise_or"));
13241|   839k|        Token * _literal;
13242|   839k|        expr_ty a;
13243|   839k|        if (
13244|   839k|            (_literal = _PyPegen_expect_token(p, 30))  // token='>='
  ------------------
  |  Branch (13244:13): [True: 5.41k, False: 833k]
  ------------------
13245|  5.41k|            &&
13246|  5.41k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13246:13): [True: 4.95k, False: 458]
  ------------------
13247|   839k|        )
13248|  4.95k|        {
13249|  4.95k|            D(fprintf(stderr, "%*c+ gte_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'>=' bitwise_or"));
13250|  4.95k|            _res = _PyPegen_cmpop_expr_pair ( p , GtE , a );
13251|  4.95k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13251:18): [True: 0, False: 4.95k]
  |  Branch (13251:34): [True: 0, False: 4.95k]
  |  Branch (13251:57): [True: 0, False: 0]
  ------------------
13252|      0|                p->error_indicator = 1;
13253|      0|                p->level--;
13254|      0|                return NULL;
13255|      0|            }
13256|  4.95k|            goto done;
13257|  4.95k|        }
13258|   834k|        p->mark = _mark;
13259|   834k|        D(fprintf(stderr, "%*c%s gte_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13260|   834k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'>=' bitwise_or"));
13261|   834k|    }
13262|   834k|    _res = NULL;
13263|   839k|  done:
13264|   839k|    p->level--;
13265|   839k|    return _res;
13266|   834k|}
parser.c:gt_bitwise_or_rule:
13271|   833k|{
13272|   833k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.66M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13272:9): [True: 0, False: 833k]
  |  Branch (13272:35): [True: 0, False: 833k]
  ------------------
13273|      0|        _Pypegen_stack_overflow(p);
13274|      0|    }
13275|   833k|    if (p->error_indicator) {
  ------------------
  |  Branch (13275:9): [True: 0, False: 833k]
  ------------------
13276|      0|        p->level--;
13277|      0|        return NULL;
13278|      0|    }
13279|   833k|    CmpopExprPair* _res = NULL;
13280|   833k|    int _mark = p->mark;
13281|   833k|    { // '>' bitwise_or
13282|   833k|        if (p->error_indicator) {
  ------------------
  |  Branch (13282:13): [True: 0, False: 833k]
  ------------------
13283|      0|            p->level--;
13284|      0|            return NULL;
13285|      0|        }
13286|   833k|        D(fprintf(stderr, "%*c> gt_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'>' bitwise_or"));
13287|   833k|        Token * _literal;
13288|   833k|        expr_ty a;
13289|   833k|        if (
13290|   833k|            (_literal = _PyPegen_expect_token(p, 21))  // token='>'
  ------------------
  |  Branch (13290:13): [True: 39.6k, False: 794k]
  ------------------
13291|  39.6k|            &&
13292|  39.6k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13292:13): [True: 38.2k, False: 1.39k]
  ------------------
13293|   833k|        )
13294|  38.2k|        {
13295|  38.2k|            D(fprintf(stderr, "%*c+ gt_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'>' bitwise_or"));
13296|  38.2k|            _res = _PyPegen_cmpop_expr_pair ( p , Gt , a );
13297|  38.2k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13297:18): [True: 0, False: 38.2k]
  |  Branch (13297:34): [True: 0, False: 38.2k]
  |  Branch (13297:57): [True: 0, False: 0]
  ------------------
13298|      0|                p->error_indicator = 1;
13299|      0|                p->level--;
13300|      0|                return NULL;
13301|      0|            }
13302|  38.2k|            goto done;
13303|  38.2k|        }
13304|   795k|        p->mark = _mark;
13305|   795k|        D(fprintf(stderr, "%*c%s gt_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13306|   795k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'>' bitwise_or"));
13307|   795k|    }
13308|   795k|    _res = NULL;
13309|   833k|  done:
13310|   833k|    p->level--;
13311|   833k|    return _res;
13312|   795k|}
parser.c:notin_bitwise_or_rule:
13317|   794k|{
13318|   794k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.58M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13318:9): [True: 0, False: 794k]
  |  Branch (13318:35): [True: 0, False: 794k]
  ------------------
13319|      0|        _Pypegen_stack_overflow(p);
13320|      0|    }
13321|   794k|    if (p->error_indicator) {
  ------------------
  |  Branch (13321:9): [True: 0, False: 794k]
  ------------------
13322|      0|        p->level--;
13323|      0|        return NULL;
13324|      0|    }
13325|   794k|    CmpopExprPair* _res = NULL;
13326|   794k|    int _mark = p->mark;
13327|   794k|    { // 'not' 'in' bitwise_or
13328|   794k|        if (p->error_indicator) {
  ------------------
  |  Branch (13328:13): [True: 0, False: 794k]
  ------------------
13329|      0|            p->level--;
13330|      0|            return NULL;
13331|      0|        }
13332|   794k|        D(fprintf(stderr, "%*c> notin_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'not' 'in' bitwise_or"));
13333|   794k|        Token * _keyword;
13334|   794k|        Token * _keyword_1;
13335|   794k|        expr_ty a;
13336|   794k|        if (
13337|   794k|            (_keyword = _PyPegen_expect_token(p, 721))  // token='not'
  ------------------
  |  Branch (13337:13): [True: 391, False: 794k]
  ------------------
13338|    391|            &&
13339|    391|            (_keyword_1 = _PyPegen_expect_token(p, 713))  // token='in'
  ------------------
  |  Branch (13339:13): [True: 188, False: 203]
  ------------------
13340|    188|            &&
13341|    188|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13341:13): [True: 94, False: 94]
  ------------------
13342|   794k|        )
13343|     94|        {
13344|     94|            D(fprintf(stderr, "%*c+ notin_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'not' 'in' bitwise_or"));
13345|     94|            _res = _PyPegen_cmpop_expr_pair ( p , NotIn , a );
13346|     94|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13346:18): [True: 0, False: 94]
  |  Branch (13346:34): [True: 0, False: 94]
  |  Branch (13346:57): [True: 0, False: 0]
  ------------------
13347|      0|                p->error_indicator = 1;
13348|      0|                p->level--;
13349|      0|                return NULL;
13350|      0|            }
13351|     94|            goto done;
13352|     94|        }
13353|   794k|        p->mark = _mark;
13354|   794k|        D(fprintf(stderr, "%*c%s notin_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13355|   794k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'not' 'in' bitwise_or"));
13356|   794k|    }
13357|   794k|    _res = NULL;
13358|   794k|  done:
13359|   794k|    p->level--;
13360|   794k|    return _res;
13361|   794k|}
parser.c:in_bitwise_or_rule:
13366|   794k|{
13367|   794k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.58M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13367:9): [True: 0, False: 794k]
  |  Branch (13367:35): [True: 0, False: 794k]
  ------------------
13368|      0|        _Pypegen_stack_overflow(p);
13369|      0|    }
13370|   794k|    if (p->error_indicator) {
  ------------------
  |  Branch (13370:9): [True: 0, False: 794k]
  ------------------
13371|      0|        p->level--;
13372|      0|        return NULL;
13373|      0|    }
13374|   794k|    CmpopExprPair* _res = NULL;
13375|   794k|    int _mark = p->mark;
13376|   794k|    { // 'in' bitwise_or
13377|   794k|        if (p->error_indicator) {
  ------------------
  |  Branch (13377:13): [True: 0, False: 794k]
  ------------------
13378|      0|            p->level--;
13379|      0|            return NULL;
13380|      0|        }
13381|   794k|        D(fprintf(stderr, "%*c> in_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'in' bitwise_or"));
13382|   794k|        Token * _keyword;
13383|   794k|        expr_ty a;
13384|   794k|        if (
13385|   794k|            (_keyword = _PyPegen_expect_token(p, 713))  // token='in'
  ------------------
  |  Branch (13385:13): [True: 6.54k, False: 787k]
  ------------------
13386|  6.54k|            &&
13387|  6.54k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13387:13): [True: 6.20k, False: 334]
  ------------------
13388|   794k|        )
13389|  6.20k|        {
13390|  6.20k|            D(fprintf(stderr, "%*c+ in_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'in' bitwise_or"));
13391|  6.20k|            _res = _PyPegen_cmpop_expr_pair ( p , In , a );
13392|  6.20k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13392:18): [True: 0, False: 6.20k]
  |  Branch (13392:34): [True: 0, False: 6.20k]
  |  Branch (13392:57): [True: 0, False: 0]
  ------------------
13393|      0|                p->error_indicator = 1;
13394|      0|                p->level--;
13395|      0|                return NULL;
13396|      0|            }
13397|  6.20k|            goto done;
13398|  6.20k|        }
13399|   788k|        p->mark = _mark;
13400|   788k|        D(fprintf(stderr, "%*c%s in_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13401|   788k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'in' bitwise_or"));
13402|   788k|    }
13403|   788k|    _res = NULL;
13404|   794k|  done:
13405|   794k|    p->level--;
13406|   794k|    return _res;
13407|   788k|}
parser.c:isnot_bitwise_or_rule:
13412|   788k|{
13413|   788k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.57M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13413:9): [True: 0, False: 788k]
  |  Branch (13413:35): [True: 0, False: 788k]
  ------------------
13414|      0|        _Pypegen_stack_overflow(p);
13415|      0|    }
13416|   788k|    if (p->error_indicator) {
  ------------------
  |  Branch (13416:9): [True: 0, False: 788k]
  ------------------
13417|      0|        p->level--;
13418|      0|        return NULL;
13419|      0|    }
13420|   788k|    CmpopExprPair* _res = NULL;
13421|   788k|    int _mark = p->mark;
13422|   788k|    { // 'is' 'not' bitwise_or
13423|   788k|        if (p->error_indicator) {
  ------------------
  |  Branch (13423:13): [True: 0, False: 788k]
  ------------------
13424|      0|            p->level--;
13425|      0|            return NULL;
13426|      0|        }
13427|   788k|        D(fprintf(stderr, "%*c> isnot_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'is' 'not' bitwise_or"));
13428|   788k|        Token * _keyword;
13429|   788k|        Token * _keyword_1;
13430|   788k|        expr_ty a;
13431|   788k|        if (
13432|   788k|            (_keyword = _PyPegen_expect_token(p, 597))  // token='is'
  ------------------
  |  Branch (13432:13): [True: 5.96k, False: 782k]
  ------------------
13433|  5.96k|            &&
13434|  5.96k|            (_keyword_1 = _PyPegen_expect_token(p, 721))  // token='not'
  ------------------
  |  Branch (13434:13): [True: 228, False: 5.73k]
  ------------------
13435|    228|            &&
13436|    228|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13436:13): [True: 37, False: 191]
  ------------------
13437|   788k|        )
13438|     37|        {
13439|     37|            D(fprintf(stderr, "%*c+ isnot_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'is' 'not' bitwise_or"));
13440|     37|            _res = _PyPegen_cmpop_expr_pair ( p , IsNot , a );
13441|     37|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13441:18): [True: 0, False: 37]
  |  Branch (13441:34): [True: 0, False: 37]
  |  Branch (13441:57): [True: 0, False: 0]
  ------------------
13442|      0|                p->error_indicator = 1;
13443|      0|                p->level--;
13444|      0|                return NULL;
13445|      0|            }
13446|     37|            goto done;
13447|     37|        }
13448|   788k|        p->mark = _mark;
13449|   788k|        D(fprintf(stderr, "%*c%s isnot_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13450|   788k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'is' 'not' bitwise_or"));
13451|   788k|    }
13452|   788k|    _res = NULL;
13453|   788k|  done:
13454|   788k|    p->level--;
13455|   788k|    return _res;
13456|   788k|}
parser.c:is_bitwise_or_rule:
13461|   788k|{
13462|   788k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.57M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13462:9): [True: 0, False: 788k]
  |  Branch (13462:35): [True: 0, False: 788k]
  ------------------
13463|      0|        _Pypegen_stack_overflow(p);
13464|      0|    }
13465|   788k|    if (p->error_indicator) {
  ------------------
  |  Branch (13465:9): [True: 0, False: 788k]
  ------------------
13466|      0|        p->level--;
13467|      0|        return NULL;
13468|      0|    }
13469|   788k|    CmpopExprPair* _res = NULL;
13470|   788k|    int _mark = p->mark;
13471|   788k|    { // 'is' bitwise_or
13472|   788k|        if (p->error_indicator) {
  ------------------
  |  Branch (13472:13): [True: 0, False: 788k]
  ------------------
13473|      0|            p->level--;
13474|      0|            return NULL;
13475|      0|        }
13476|   788k|        D(fprintf(stderr, "%*c> is_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'is' bitwise_or"));
13477|   788k|        Token * _keyword;
13478|   788k|        expr_ty a;
13479|   788k|        if (
13480|   788k|            (_keyword = _PyPegen_expect_token(p, 597))  // token='is'
  ------------------
  |  Branch (13480:13): [True: 5.84k, False: 782k]
  ------------------
13481|  5.84k|            &&
13482|  5.84k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13482:13): [True: 5.36k, False: 485]
  ------------------
13483|   788k|        )
13484|  5.36k|        {
13485|  5.36k|            D(fprintf(stderr, "%*c+ is_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'is' bitwise_or"));
13486|  5.36k|            _res = _PyPegen_cmpop_expr_pair ( p , Is , a );
13487|  5.36k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13487:18): [True: 0, False: 5.36k]
  |  Branch (13487:34): [True: 0, False: 5.36k]
  |  Branch (13487:57): [True: 0, False: 0]
  ------------------
13488|      0|                p->error_indicator = 1;
13489|      0|                p->level--;
13490|      0|                return NULL;
13491|      0|            }
13492|  5.36k|            goto done;
13493|  5.36k|        }
13494|   782k|        p->mark = _mark;
13495|   782k|        D(fprintf(stderr, "%*c%s is_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13496|   782k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'is' bitwise_or"));
13497|   782k|    }
13498|   782k|    _res = NULL;
13499|   788k|  done:
13500|   788k|    p->level--;
13501|   788k|    return _res;
13502|   782k|}
parser.c:_loop1_62_rule:
32451|   775k|{
32452|   775k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.55M|#  define MAXSTACK 6000
  ------------------
  |  Branch (32452:9): [True: 0, False: 775k]
  |  Branch (32452:35): [True: 0, False: 775k]
  ------------------
32453|      0|        _Pypegen_stack_overflow(p);
32454|      0|    }
32455|   775k|    if (p->error_indicator) {
  ------------------
  |  Branch (32455:9): [True: 0, False: 775k]
  ------------------
32456|      0|        p->level--;
32457|      0|        return NULL;
32458|      0|    }
32459|   775k|    void *_res = NULL;
32460|   775k|    int _mark = p->mark;
32461|   775k|    void **_children = PyMem_Malloc(sizeof(void *));
32462|   775k|    if (!_children) {
  ------------------
  |  Branch (32462:9): [True: 0, False: 775k]
  ------------------
32463|      0|        p->error_indicator = 1;
32464|      0|        PyErr_NoMemory();
32465|      0|        p->level--;
32466|      0|        return NULL;
32467|      0|    }
32468|   775k|    Py_ssize_t _children_capacity = 1;
32469|   775k|    Py_ssize_t _n = 0;
32470|   775k|    { // ('and' inversion)
32471|   775k|        if (p->error_indicator) {
  ------------------
  |  Branch (32471:13): [True: 0, False: 775k]
  ------------------
32472|      0|            p->level--;
32473|      0|            return NULL;
32474|      0|        }
32475|   775k|        D(fprintf(stderr, "%*c> _loop1_62[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('and' inversion)"));
32476|   775k|        void *_tmp_164_var;
32477|   775k|        while (
32478|   782k|            (_tmp_164_var = _tmp_164_rule(p))  // 'and' inversion
  ------------------
  |  Branch (32478:13): [True: 7.66k, False: 775k]
  ------------------
32479|   775k|        )
32480|  7.66k|        {
32481|  7.66k|            _res = _tmp_164_var;
32482|  7.66k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32482:17): [True: 2.30k, False: 5.35k]
  ------------------
32483|  2.30k|                _children_capacity *= 2;
32484|  2.30k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32485|  2.30k|                if (!_new_children) {
  ------------------
  |  Branch (32485:21): [True: 0, False: 2.30k]
  ------------------
32486|      0|                    PyMem_Free(_children);
32487|      0|                    p->error_indicator = 1;
32488|      0|                    PyErr_NoMemory();
32489|      0|                    p->level--;
32490|      0|                    return NULL;
32491|      0|                }
32492|  2.30k|                _children = _new_children;
32493|  2.30k|            }
32494|  7.66k|            _children[_n++] = _res;
32495|  7.66k|            _mark = p->mark;
32496|  7.66k|        }
32497|   775k|        p->mark = _mark;
32498|   775k|        D(fprintf(stderr, "%*c%s _loop1_62[%d-%d]: %s failed!\n", p->level, ' ',
32499|   775k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('and' inversion)"));
32500|   775k|    }
32501|   775k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (32501:9): [True: 772k, False: 2.51k]
  |  Branch (32501:20): [True: 84, False: 2.43k]
  ------------------
32502|   772k|        PyMem_Free(_children);
32503|   772k|        p->level--;
32504|   772k|        return NULL;
32505|   772k|    }
32506|  2.43k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32507|  2.43k|    if (!_seq) {
  ------------------
  |  Branch (32507:9): [True: 0, False: 2.43k]
  ------------------
32508|      0|        PyMem_Free(_children);
32509|      0|        p->error_indicator = 1;
32510|      0|        PyErr_NoMemory();
32511|      0|        p->level--;
32512|      0|        return NULL;
32513|      0|    }
32514|  9.81k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  7.37k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  9.81k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32514:28): [True: 7.37k, False: 2.43k]
  ------------------
32515|  2.43k|    PyMem_Free(_children);
32516|  2.43k|    p->level--;
32517|  2.43k|    return _seq;
32518|  2.43k|}
parser.c:_tmp_164_rule:
38730|   782k|{
38731|   782k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.56M|#  define MAXSTACK 6000
  ------------------
  |  Branch (38731:9): [True: 0, False: 782k]
  |  Branch (38731:35): [True: 0, False: 782k]
  ------------------
38732|      0|        _Pypegen_stack_overflow(p);
38733|      0|    }
38734|   782k|    if (p->error_indicator) {
  ------------------
  |  Branch (38734:9): [True: 0, False: 782k]
  ------------------
38735|      0|        p->level--;
38736|      0|        return NULL;
38737|      0|    }
38738|   782k|    void * _res = NULL;
38739|   782k|    int _mark = p->mark;
38740|   782k|    { // 'and' inversion
38741|   782k|        if (p->error_indicator) {
  ------------------
  |  Branch (38741:13): [True: 0, False: 782k]
  ------------------
38742|      0|            p->level--;
38743|      0|            return NULL;
38744|      0|        }
38745|   782k|        D(fprintf(stderr, "%*c> _tmp_164[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'and' inversion"));
38746|   782k|        Token * _keyword;
38747|   782k|        expr_ty c;
38748|   782k|        if (
38749|   782k|            (_keyword = _PyPegen_expect_token(p, 590))  // token='and'
  ------------------
  |  Branch (38749:13): [True: 7.87k, False: 775k]
  ------------------
38750|  7.87k|            &&
38751|  7.87k|            (c = inversion_rule(p))  // inversion
  ------------------
  |  Branch (38751:13): [True: 7.66k, False: 214]
  ------------------
38752|   782k|        )
38753|  7.66k|        {
38754|  7.66k|            D(fprintf(stderr, "%*c+ _tmp_164[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'and' inversion"));
38755|  7.66k|            _res = c;
38756|  7.66k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (38756:18): [True: 0, False: 7.66k]
  |  Branch (38756:34): [True: 0, False: 7.66k]
  |  Branch (38756:57): [True: 0, False: 0]
  ------------------
38757|      0|                p->error_indicator = 1;
38758|      0|                p->level--;
38759|      0|                return NULL;
38760|      0|            }
38761|  7.66k|            goto done;
38762|  7.66k|        }
38763|   775k|        p->mark = _mark;
38764|   775k|        D(fprintf(stderr, "%*c%s _tmp_164[%d-%d]: %s failed!\n", p->level, ' ',
38765|   775k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'and' inversion"));
38766|   775k|    }
38767|   775k|    _res = NULL;
38768|   782k|  done:
38769|   782k|    p->level--;
38770|   782k|    return _res;
38771|   775k|}
parser.c:_loop1_61_rule:
32379|   769k|{
32380|   769k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.53M|#  define MAXSTACK 6000
  ------------------
  |  Branch (32380:9): [True: 0, False: 769k]
  |  Branch (32380:35): [True: 0, False: 769k]
  ------------------
32381|      0|        _Pypegen_stack_overflow(p);
32382|      0|    }
32383|   769k|    if (p->error_indicator) {
  ------------------
  |  Branch (32383:9): [True: 0, False: 769k]
  ------------------
32384|      0|        p->level--;
32385|      0|        return NULL;
32386|      0|    }
32387|   769k|    void *_res = NULL;
32388|   769k|    int _mark = p->mark;
32389|   769k|    void **_children = PyMem_Malloc(sizeof(void *));
32390|   769k|    if (!_children) {
  ------------------
  |  Branch (32390:9): [True: 0, False: 769k]
  ------------------
32391|      0|        p->error_indicator = 1;
32392|      0|        PyErr_NoMemory();
32393|      0|        p->level--;
32394|      0|        return NULL;
32395|      0|    }
32396|   769k|    Py_ssize_t _children_capacity = 1;
32397|   769k|    Py_ssize_t _n = 0;
32398|   769k|    { // ('or' conjunction)
32399|   769k|        if (p->error_indicator) {
  ------------------
  |  Branch (32399:13): [True: 0, False: 769k]
  ------------------
32400|      0|            p->level--;
32401|      0|            return NULL;
32402|      0|        }
32403|   769k|        D(fprintf(stderr, "%*c> _loop1_61[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('or' conjunction)"));
32404|   769k|        void *_tmp_163_var;
32405|   769k|        while (
32406|   775k|            (_tmp_163_var = _tmp_163_rule(p))  // 'or' conjunction
  ------------------
  |  Branch (32406:13): [True: 5.59k, False: 769k]
  ------------------
32407|   769k|        )
32408|  5.59k|        {
32409|  5.59k|            _res = _tmp_163_var;
32410|  5.59k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32410:17): [True: 1.22k, False: 4.36k]
  ------------------
32411|  1.22k|                _children_capacity *= 2;
32412|  1.22k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32413|  1.22k|                if (!_new_children) {
  ------------------
  |  Branch (32413:21): [True: 0, False: 1.22k]
  ------------------
32414|      0|                    PyMem_Free(_children);
32415|      0|                    p->error_indicator = 1;
32416|      0|                    PyErr_NoMemory();
32417|      0|                    p->level--;
32418|      0|                    return NULL;
32419|      0|                }
32420|  1.22k|                _children = _new_children;
32421|  1.22k|            }
32422|  5.59k|            _children[_n++] = _res;
32423|  5.59k|            _mark = p->mark;
32424|  5.59k|        }
32425|   769k|        p->mark = _mark;
32426|   769k|        D(fprintf(stderr, "%*c%s _loop1_61[%d-%d]: %s failed!\n", p->level, ' ',
32427|   769k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('or' conjunction)"));
32428|   769k|    }
32429|   769k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (32429:9): [True: 765k, False: 3.71k]
  |  Branch (32429:20): [True: 134, False: 3.57k]
  ------------------
32430|   765k|        PyMem_Free(_children);
32431|   765k|        p->level--;
32432|   765k|        return NULL;
32433|   765k|    }
32434|  3.57k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32435|  3.57k|    if (!_seq) {
  ------------------
  |  Branch (32435:9): [True: 0, False: 3.57k]
  ------------------
32436|      0|        PyMem_Free(_children);
32437|      0|        p->error_indicator = 1;
32438|      0|        PyErr_NoMemory();
32439|      0|        p->level--;
32440|      0|        return NULL;
32441|      0|    }
32442|  8.86k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  5.28k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  8.86k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32442:28): [True: 5.28k, False: 3.57k]
  ------------------
32443|  3.57k|    PyMem_Free(_children);
32444|  3.57k|    p->level--;
32445|  3.57k|    return _seq;
32446|  3.57k|}
parser.c:_tmp_163_rule:
38684|   775k|{
38685|   775k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.55M|#  define MAXSTACK 6000
  ------------------
  |  Branch (38685:9): [True: 0, False: 775k]
  |  Branch (38685:35): [True: 0, False: 775k]
  ------------------
38686|      0|        _Pypegen_stack_overflow(p);
38687|      0|    }
38688|   775k|    if (p->error_indicator) {
  ------------------
  |  Branch (38688:9): [True: 0, False: 775k]
  ------------------
38689|      0|        p->level--;
38690|      0|        return NULL;
38691|      0|    }
38692|   775k|    void * _res = NULL;
38693|   775k|    int _mark = p->mark;
38694|   775k|    { // 'or' conjunction
38695|   775k|        if (p->error_indicator) {
  ------------------
  |  Branch (38695:13): [True: 0, False: 775k]
  ------------------
38696|      0|            p->level--;
38697|      0|            return NULL;
38698|      0|        }
38699|   775k|        D(fprintf(stderr, "%*c> _tmp_163[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'or' conjunction"));
38700|   775k|        Token * _keyword;
38701|   775k|        expr_ty c;
38702|   775k|        if (
38703|   775k|            (_keyword = _PyPegen_expect_token(p, 589))  // token='or'
  ------------------
  |  Branch (38703:13): [True: 6.34k, False: 768k]
  ------------------
38704|  6.34k|            &&
38705|  6.34k|            (c = conjunction_rule(p))  // conjunction
  ------------------
  |  Branch (38705:13): [True: 5.59k, False: 753]
  ------------------
38706|   775k|        )
38707|  5.59k|        {
38708|  5.59k|            D(fprintf(stderr, "%*c+ _tmp_163[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'or' conjunction"));
38709|  5.59k|            _res = c;
38710|  5.59k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (38710:18): [True: 0, False: 5.59k]
  |  Branch (38710:34): [True: 0, False: 5.59k]
  |  Branch (38710:57): [True: 0, False: 0]
  ------------------
38711|      0|                p->error_indicator = 1;
38712|      0|                p->level--;
38713|      0|                return NULL;
38714|      0|            }
38715|  5.59k|            goto done;
38716|  5.59k|        }
38717|   769k|        p->mark = _mark;
38718|   769k|        D(fprintf(stderr, "%*c%s _tmp_163[%d-%d]: %s failed!\n", p->level, ' ',
38719|   769k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'or' conjunction"));
38720|   769k|    }
38721|   769k|    _res = NULL;
38722|   775k|  done:
38723|   775k|    p->level--;
38724|   775k|    return _res;
38725|   769k|}
parser.c:invalid_starred_expression_rule:
27386|   159k|{
27387|   159k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   319k|#  define MAXSTACK 6000
  ------------------
  |  Branch (27387:9): [True: 0, False: 159k]
  |  Branch (27387:35): [True: 0, False: 159k]
  ------------------
27388|      0|        _Pypegen_stack_overflow(p);
27389|      0|    }
27390|   159k|    if (p->error_indicator) {
  ------------------
  |  Branch (27390:9): [True: 0, False: 159k]
  ------------------
27391|      0|        p->level--;
27392|      0|        return NULL;
27393|      0|    }
27394|   159k|    void * _res = NULL;
27395|   159k|    int _mark = p->mark;
27396|   159k|    { // '*'
27397|   159k|        if (p->error_indicator) {
  ------------------
  |  Branch (27397:13): [True: 0, False: 159k]
  ------------------
27398|      0|            p->level--;
27399|      0|            return NULL;
27400|      0|        }
27401|   159k|        D(fprintf(stderr, "%*c> invalid_starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*'"));
27402|   159k|        Token * _literal;
27403|   159k|        if (
27404|   159k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (27404:13): [True: 32, False: 159k]
  ------------------
27405|   159k|        )
27406|     32|        {
27407|     32|            D(fprintf(stderr, "%*c+ invalid_starred_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*'"));
27408|     32|            _res = RAISE_SYNTAX_ERROR ( "Invalid star expression" );
  ------------------
  |  |  207|     32|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
27409|     32|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27409:18): [True: 32, False: 0]
  |  Branch (27409:34): [True: 0, False: 0]
  |  Branch (27409:57): [True: 32, False: 0]
  ------------------
27410|     32|                p->error_indicator = 1;
27411|     32|                p->level--;
27412|     32|                return NULL;
27413|     32|            }
27414|      0|            goto done;
27415|     32|        }
27416|   159k|        p->mark = _mark;
27417|   159k|        D(fprintf(stderr, "%*c%s invalid_starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
27418|   159k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*'"));
27419|   159k|    }
27420|   159k|    _res = NULL;
27421|   159k|  done:
27422|   159k|    p->level--;
27423|   159k|    return _res;
27424|   159k|}
parser.c:for_if_clauses_rule:
18059|   264k|{
18060|   264k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   529k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18060:9): [True: 0, False: 264k]
  |  Branch (18060:35): [True: 0, False: 264k]
  ------------------
18061|      0|        _Pypegen_stack_overflow(p);
18062|      0|    }
18063|   264k|    if (p->error_indicator) {
  ------------------
  |  Branch (18063:9): [True: 0, False: 264k]
  ------------------
18064|      0|        p->level--;
18065|      0|        return NULL;
18066|      0|    }
18067|   264k|    asdl_comprehension_seq* _res = NULL;
18068|   264k|    int _mark = p->mark;
18069|   264k|    { // for_if_clause+
18070|   264k|        if (p->error_indicator) {
  ------------------
  |  Branch (18070:13): [True: 0, False: 264k]
  ------------------
18071|      0|            p->level--;
18072|      0|            return NULL;
18073|      0|        }
18074|   264k|        D(fprintf(stderr, "%*c> for_if_clauses[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "for_if_clause+"));
18075|   264k|        asdl_comprehension_seq* a;
18076|   264k|        if (
18077|   264k|            (a = (asdl_comprehension_seq*)_loop1_87_rule(p))  // for_if_clause+
  ------------------
  |  Branch (18077:13): [True: 25.2k, False: 239k]
  ------------------
18078|   264k|        )
18079|  25.2k|        {
18080|  25.2k|            D(fprintf(stderr, "%*c+ for_if_clauses[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "for_if_clause+"));
18081|  25.2k|            _res = a;
18082|  25.2k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18082:18): [True: 0, False: 25.2k]
  |  Branch (18082:34): [True: 0, False: 25.2k]
  |  Branch (18082:57): [True: 0, False: 0]
  ------------------
18083|      0|                p->error_indicator = 1;
18084|      0|                p->level--;
18085|      0|                return NULL;
18086|      0|            }
18087|  25.2k|            goto done;
18088|  25.2k|        }
18089|   239k|        p->mark = _mark;
18090|   239k|        D(fprintf(stderr, "%*c%s for_if_clauses[%d-%d]: %s failed!\n", p->level, ' ',
18091|   239k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "for_if_clause+"));
18092|   239k|    }
18093|   239k|    _res = NULL;
18094|   264k|  done:
18095|   264k|    p->level--;
18096|   264k|    return _res;
18097|   239k|}
parser.c:_loop1_87_rule:
34081|   264k|{
34082|   264k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   529k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34082:9): [True: 0, False: 264k]
  |  Branch (34082:35): [True: 0, False: 264k]
  ------------------
34083|      0|        _Pypegen_stack_overflow(p);
34084|      0|    }
34085|   264k|    if (p->error_indicator) {
  ------------------
  |  Branch (34085:9): [True: 0, False: 264k]
  ------------------
34086|      0|        p->level--;
34087|      0|        return NULL;
34088|      0|    }
34089|   264k|    void *_res = NULL;
34090|   264k|    int _mark = p->mark;
34091|   264k|    void **_children = PyMem_Malloc(sizeof(void *));
34092|   264k|    if (!_children) {
  ------------------
  |  Branch (34092:9): [True: 0, False: 264k]
  ------------------
34093|      0|        p->error_indicator = 1;
34094|      0|        PyErr_NoMemory();
34095|      0|        p->level--;
34096|      0|        return NULL;
34097|      0|    }
34098|   264k|    Py_ssize_t _children_capacity = 1;
34099|   264k|    Py_ssize_t _n = 0;
34100|   264k|    { // for_if_clause
34101|   264k|        if (p->error_indicator) {
  ------------------
  |  Branch (34101:13): [True: 0, False: 264k]
  ------------------
34102|      0|            p->level--;
34103|      0|            return NULL;
34104|      0|        }
34105|   264k|        D(fprintf(stderr, "%*c> _loop1_87[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "for_if_clause"));
34106|   264k|        comprehension_ty for_if_clause_var;
34107|   264k|        while (
34108|   292k|            (for_if_clause_var = for_if_clause_rule(p))  // for_if_clause
  ------------------
  |  Branch (34108:13): [True: 28.0k, False: 264k]
  ------------------
34109|   264k|        )
34110|  28.0k|        {
34111|  28.0k|            _res = for_if_clause_var;
34112|  28.0k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (34112:17): [True: 2.23k, False: 25.7k]
  ------------------
34113|  2.23k|                _children_capacity *= 2;
34114|  2.23k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
34115|  2.23k|                if (!_new_children) {
  ------------------
  |  Branch (34115:21): [True: 0, False: 2.23k]
  ------------------
34116|      0|                    PyMem_Free(_children);
34117|      0|                    p->error_indicator = 1;
34118|      0|                    PyErr_NoMemory();
34119|      0|                    p->level--;
34120|      0|                    return NULL;
34121|      0|                }
34122|  2.23k|                _children = _new_children;
34123|  2.23k|            }
34124|  28.0k|            _children[_n++] = _res;
34125|  28.0k|            _mark = p->mark;
34126|  28.0k|        }
34127|   264k|        p->mark = _mark;
34128|   264k|        D(fprintf(stderr, "%*c%s _loop1_87[%d-%d]: %s failed!\n", p->level, ' ',
34129|   264k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "for_if_clause"));
34130|   264k|    }
34131|   264k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (34131:9): [True: 239k, False: 25.3k]
  |  Branch (34131:20): [True: 103, False: 25.2k]
  ------------------
34132|   239k|        PyMem_Free(_children);
34133|   239k|        p->level--;
34134|   239k|        return NULL;
34135|   239k|    }
34136|  25.2k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
34137|  25.2k|    if (!_seq) {
  ------------------
  |  Branch (34137:9): [True: 0, False: 25.2k]
  ------------------
34138|      0|        PyMem_Free(_children);
34139|      0|        p->error_indicator = 1;
34140|      0|        PyErr_NoMemory();
34141|      0|        p->level--;
34142|      0|        return NULL;
34143|      0|    }
34144|  53.1k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  27.9k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  53.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (34144:28): [True: 27.9k, False: 25.2k]
  ------------------
34145|  25.2k|    PyMem_Free(_children);
34146|  25.2k|    p->level--;
34147|  25.2k|    return _seq;
34148|  25.2k|}
parser.c:for_if_clause_rule:
18106|   292k|{
18107|   292k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   585k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18107:9): [True: 0, False: 292k]
  |  Branch (18107:35): [True: 0, False: 292k]
  ------------------
18108|      0|        _Pypegen_stack_overflow(p);
18109|      0|    }
18110|   292k|    if (p->error_indicator) {
  ------------------
  |  Branch (18110:9): [True: 0, False: 292k]
  ------------------
18111|      0|        p->level--;
18112|      0|        return NULL;
18113|      0|    }
18114|   292k|    comprehension_ty _res = NULL;
18115|   292k|    int _mark = p->mark;
18116|   292k|    { // 'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*
18117|   292k|        if (p->error_indicator) {
  ------------------
  |  Branch (18117:13): [True: 0, False: 292k]
  ------------------
18118|      0|            p->level--;
18119|      0|            return NULL;
18120|      0|        }
18121|   292k|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
18122|   292k|        int _cut_var = 0;
18123|   292k|        Token * _keyword;
18124|   292k|        Token * _keyword_1;
18125|   292k|        Token * _keyword_2;
18126|   292k|        expr_ty a;
18127|   292k|        expr_ty b;
18128|   292k|        asdl_expr_seq* c;
18129|   292k|        if (
18130|   292k|            (_keyword = _PyPegen_expect_token(p, 716))  // token='async'
  ------------------
  |  Branch (18130:13): [True: 5.44k, False: 287k]
  ------------------
18131|  5.44k|            &&
18132|  5.44k|            (_keyword_1 = _PyPegen_expect_token(p, 712))  // token='for'
  ------------------
  |  Branch (18132:13): [True: 5.39k, False: 47]
  ------------------
18133|  5.39k|            &&
18134|  5.39k|            (a = star_targets_rule(p))  // star_targets
  ------------------
  |  Branch (18134:13): [True: 4.91k, False: 477]
  ------------------
18135|  4.91k|            &&
18136|  4.91k|            (_keyword_2 = _PyPegen_expect_token(p, 713))  // token='in'
  ------------------
  |  Branch (18136:13): [True: 4.66k, False: 251]
  ------------------
18137|  4.66k|            &&
18138|  4.66k|            (_cut_var = 1)
  ------------------
  |  Branch (18138:13): [True: 4.66k, False: 0]
  ------------------
18139|  4.66k|            &&
18140|  4.66k|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (18140:13): [True: 4.35k, False: 311]
  ------------------
18141|  4.35k|            &&
18142|  4.35k|            (c = (asdl_expr_seq*)_loop0_88_rule(p))  // (('if' disjunction))*
  ------------------
  |  Branch (18142:13): [True: 4.35k, False: 0]
  ------------------
18143|   292k|        )
18144|  4.35k|        {
18145|  4.35k|            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))*"));
18146|  4.35k|            _res = CHECK_VERSION ( comprehension_ty , 6 , "Async comprehensions are" , _PyAST_comprehension ( a , b , c , 1 , p -> arena ) );
  ------------------
  |  |  319|  4.35k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
18147|  4.35k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18147:18): [True: 0, False: 4.35k]
  |  Branch (18147:34): [True: 24, False: 4.33k]
  |  Branch (18147:57): [True: 24, False: 0]
  ------------------
18148|     24|                p->error_indicator = 1;
18149|     24|                p->level--;
18150|     24|                return NULL;
18151|     24|            }
18152|  4.33k|            goto done;
18153|  4.35k|        }
18154|   288k|        p->mark = _mark;
18155|   288k|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
18156|   288k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
18157|   288k|        if (_cut_var) {
  ------------------
  |  Branch (18157:13): [True: 311, False: 288k]
  ------------------
18158|    311|            p->level--;
18159|    311|            return NULL;
18160|    311|        }
18161|   288k|    }
18162|   288k|    { // 'for' star_targets 'in' ~ disjunction (('if' disjunction))*
18163|   288k|        if (p->error_indicator) {
  ------------------
  |  Branch (18163:13): [True: 279, False: 287k]
  ------------------
18164|    279|            p->level--;
18165|    279|            return NULL;
18166|    279|        }
18167|   287k|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
18168|   287k|        int _cut_var = 0;
18169|   287k|        Token * _keyword;
18170|   287k|        Token * _keyword_1;
18171|   287k|        expr_ty a;
18172|   287k|        expr_ty b;
18173|   287k|        asdl_expr_seq* c;
18174|   287k|        if (
18175|   287k|            (_keyword = _PyPegen_expect_token(p, 712))  // token='for'
  ------------------
  |  Branch (18175:13): [True: 29.0k, False: 258k]
  ------------------
18176|  29.0k|            &&
18177|  29.0k|            (a = star_targets_rule(p))  // star_targets
  ------------------
  |  Branch (18177:13): [True: 26.2k, False: 2.80k]
  ------------------
18178|  26.2k|            &&
18179|  26.2k|            (_keyword_1 = _PyPegen_expect_token(p, 713))  // token='in'
  ------------------
  |  Branch (18179:13): [True: 24.2k, False: 2.00k]
  ------------------
18180|  24.2k|            &&
18181|  24.2k|            (_cut_var = 1)
  ------------------
  |  Branch (18181:13): [True: 24.2k, False: 0]
  ------------------
18182|  24.2k|            &&
18183|  24.2k|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (18183:13): [True: 23.7k, False: 470]
  ------------------
18184|  23.7k|            &&
18185|  23.7k|            (c = (asdl_expr_seq*)_loop0_88_rule(p))  // (('if' disjunction))*
  ------------------
  |  Branch (18185:13): [True: 23.7k, False: 0]
  ------------------
18186|   287k|        )
18187|  23.7k|        {
18188|  23.7k|            D(fprintf(stderr, "%*c+ for_if_clause[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
18189|  23.7k|            _res = _PyAST_comprehension ( a , b , c , 0 , p -> arena );
18190|  23.7k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18190:18): [True: 0, False: 23.7k]
  |  Branch (18190:34): [True: 88, False: 23.6k]
  |  Branch (18190:57): [True: 88, False: 0]
  ------------------
18191|     88|                p->error_indicator = 1;
18192|     88|                p->level--;
18193|     88|                return NULL;
18194|     88|            }
18195|  23.6k|            goto done;
18196|  23.7k|        }
18197|   264k|        p->mark = _mark;
18198|   264k|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
18199|   264k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
18200|   264k|        if (_cut_var) {
  ------------------
  |  Branch (18200:13): [True: 470, False: 263k]
  ------------------
18201|    470|            p->level--;
18202|    470|            return NULL;
18203|    470|        }
18204|   264k|    }
18205|   263k|    if (p->call_invalid_rules) { // invalid_for_if_clause
  ------------------
  |  Branch (18205:9): [True: 84.9k, False: 178k]
  ------------------
18206|  84.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (18206:13): [True: 569, False: 84.3k]
  ------------------
18207|    569|            p->level--;
18208|    569|            return NULL;
18209|    569|        }
18210|  84.3k|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_for_if_clause"));
18211|  84.3k|        void *invalid_for_if_clause_var;
18212|  84.3k|        if (
18213|  84.3k|            (invalid_for_if_clause_var = invalid_for_if_clause_rule(p))  // invalid_for_if_clause
  ------------------
  |  Branch (18213:13): [True: 0, False: 84.3k]
  ------------------
18214|  84.3k|        )
18215|      0|        {
18216|      0|            D(fprintf(stderr, "%*c+ for_if_clause[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_for_if_clause"));
18217|      0|            _res = invalid_for_if_clause_var;
18218|      0|            goto done;
18219|      0|        }
18220|  84.3k|        p->mark = _mark;
18221|  84.3k|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
18222|  84.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_for_if_clause"));
18223|  84.3k|    }
18224|   263k|    if (p->call_invalid_rules) { // invalid_for_target
  ------------------
  |  Branch (18224:9): [True: 84.3k, False: 178k]
  ------------------
18225|  84.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (18225:13): [True: 1.08k, False: 83.3k]
  ------------------
18226|  1.08k|            p->level--;
18227|  1.08k|            return NULL;
18228|  1.08k|        }
18229|  83.3k|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_for_target"));
18230|  83.3k|        void *invalid_for_target_var;
18231|  83.3k|        if (
18232|  83.3k|            (invalid_for_target_var = invalid_for_target_rule(p))  // invalid_for_target
  ------------------
  |  Branch (18232:13): [True: 0, False: 83.3k]
  ------------------
18233|  83.3k|        )
18234|      0|        {
18235|      0|            D(fprintf(stderr, "%*c+ for_if_clause[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_for_target"));
18236|      0|            _res = invalid_for_target_var;
18237|      0|            goto done;
18238|      0|        }
18239|  83.3k|        p->mark = _mark;
18240|  83.3k|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
18241|  83.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_for_target"));
18242|  83.3k|    }
18243|   262k|    _res = NULL;
18244|   290k|  done:
18245|   290k|    p->level--;
18246|   290k|    return _res;
18247|   262k|}
parser.c:star_targets_rule:
19235|   471k|{
19236|   471k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   943k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19236:9): [True: 0, False: 471k]
  |  Branch (19236:35): [True: 0, False: 471k]
  ------------------
19237|      0|        _Pypegen_stack_overflow(p);
19238|      0|    }
19239|   471k|    if (p->error_indicator) {
  ------------------
  |  Branch (19239:9): [True: 0, False: 471k]
  ------------------
19240|      0|        p->level--;
19241|      0|        return NULL;
19242|      0|    }
19243|   471k|    expr_ty _res = NULL;
19244|   471k|    int _mark = p->mark;
19245|   471k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (19245:9): [True: 74.9k, False: 396k]
  |  Branch (19245:31): [True: 24, False: 74.8k]
  ------------------
19246|     24|        p->error_indicator = 1;
19247|     24|        p->level--;
19248|     24|        return NULL;
19249|     24|    }
19250|   471k|    int _start_lineno = p->tokens[_mark]->lineno;
19251|   471k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   471k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 471k]
  |  |  ------------------
  ------------------
19252|   471k|    int _start_col_offset = p->tokens[_mark]->col_offset;
19253|   471k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   471k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 471k]
  |  |  ------------------
  ------------------
19254|   471k|    { // star_target !','
19255|   471k|        if (p->error_indicator) {
  ------------------
  |  Branch (19255:13): [True: 0, False: 471k]
  ------------------
19256|      0|            p->level--;
19257|      0|            return NULL;
19258|      0|        }
19259|   471k|        D(fprintf(stderr, "%*c> star_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_target !','"));
19260|   471k|        expr_ty a;
19261|   471k|        if (
19262|   471k|            (a = star_target_rule(p))  // star_target
  ------------------
  |  Branch (19262:13): [True: 319k, False: 151k]
  ------------------
19263|   319k|            &&
19264|   319k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 12)  // token=','
  ------------------
  |  Branch (19264:13): [True: 275k, False: 44.6k]
  ------------------
19265|   471k|        )
19266|   275k|        {
19267|   275k|            D(fprintf(stderr, "%*c+ star_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_target !','"));
19268|   275k|            _res = a;
19269|   275k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19269:18): [True: 0, False: 275k]
  |  Branch (19269:34): [True: 0, False: 275k]
  |  Branch (19269:57): [True: 0, False: 0]
  ------------------
19270|      0|                p->error_indicator = 1;
19271|      0|                p->level--;
19272|      0|                return NULL;
19273|      0|            }
19274|   275k|            goto done;
19275|   275k|        }
19276|   196k|        p->mark = _mark;
19277|   196k|        D(fprintf(stderr, "%*c%s star_targets[%d-%d]: %s failed!\n", p->level, ' ',
19278|   196k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_target !','"));
19279|   196k|    }
19280|      0|    { // star_target ((',' star_target))* ','?
19281|   196k|        if (p->error_indicator) {
  ------------------
  |  Branch (19281:13): [True: 1.24k, False: 195k]
  ------------------
19282|  1.24k|            p->level--;
19283|  1.24k|            return NULL;
19284|  1.24k|        }
19285|   195k|        D(fprintf(stderr, "%*c> star_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_target ((',' star_target))* ','?"));
19286|   195k|        void *_opt_var;
19287|   195k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|   195k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 195k]
  |  |  ------------------
  ------------------
19288|   195k|        expr_ty a;
19289|   195k|        asdl_seq * b;
19290|   195k|        if (
19291|   195k|            (a = star_target_rule(p))  // star_target
  ------------------
  |  Branch (19291:13): [True: 44.6k, False: 150k]
  ------------------
19292|  44.6k|            &&
19293|  44.6k|            (b = _loop0_97_rule(p))  // ((',' star_target))*
  ------------------
  |  Branch (19293:13): [True: 44.6k, False: 0]
  ------------------
19294|  44.6k|            &&
19295|  44.6k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (19295:13): [True: 44.3k, False: 302]
  ------------------
19296|   195k|        )
19297|  44.3k|        {
19298|  44.3k|            D(fprintf(stderr, "%*c+ star_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_target ((',' star_target))* ','?"));
19299|  44.3k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19300|  44.3k|            if (_token == NULL) {
  ------------------
  |  Branch (19300:17): [True: 0, False: 44.3k]
  ------------------
19301|      0|                p->level--;
19302|      0|                return NULL;
19303|      0|            }
19304|  44.3k|            int _end_lineno = _token->end_lineno;
19305|  44.3k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  44.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 44.3k]
  |  |  ------------------
  ------------------
19306|  44.3k|            int _end_col_offset = _token->end_col_offset;
19307|  44.3k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  44.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 44.3k]
  |  |  ------------------
  ------------------
19308|  44.3k|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , Store , EXTRA );
  ------------------
  |  |  245|  44.3k|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , Store , EXTRA );
  ------------------
  |  |  281|  44.3k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19309|  44.3k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19309:18): [True: 0, False: 44.3k]
  |  Branch (19309:34): [True: 0, False: 44.3k]
  |  Branch (19309:57): [True: 0, False: 0]
  ------------------
19310|      0|                p->error_indicator = 1;
19311|      0|                p->level--;
19312|      0|                return NULL;
19313|      0|            }
19314|  44.3k|            goto done;
19315|  44.3k|        }
19316|   150k|        p->mark = _mark;
19317|   150k|        D(fprintf(stderr, "%*c%s star_targets[%d-%d]: %s failed!\n", p->level, ' ',
19318|   150k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_target ((',' star_target))* ','?"));
19319|   150k|    }
19320|   150k|    _res = NULL;
19321|   470k|  done:
19322|   470k|    p->level--;
19323|   470k|    return _res;
19324|   150k|}
parser.c:star_target_rule:
19453|   842k|{
19454|   842k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.68M|#  define MAXSTACK 6000
  ------------------
  |  Branch (19454:9): [True: 0, False: 842k]
  |  Branch (19454:35): [True: 0, False: 842k]
  ------------------
19455|      0|        _Pypegen_stack_overflow(p);
19456|      0|    }
19457|   842k|    if (p->error_indicator) {
  ------------------
  |  Branch (19457:9): [True: 6, False: 842k]
  ------------------
19458|      6|        p->level--;
19459|      6|        return NULL;
19460|      6|    }
19461|   842k|    expr_ty _res = NULL;
19462|   842k|    if (_PyPegen_is_memoized(p, star_target_type, &_res)) {
  ------------------
  |  |  285|   842k|#define star_target_type 1196
  ------------------
  |  Branch (19462:9): [True: 331k, False: 511k]
  ------------------
19463|   331k|        p->level--;
19464|   331k|        return _res;
19465|   331k|    }
19466|   511k|    int _mark = p->mark;
19467|   511k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (19467:9): [True: 0, False: 511k]
  |  Branch (19467:31): [True: 0, False: 0]
  ------------------
19468|      0|        p->error_indicator = 1;
19469|      0|        p->level--;
19470|      0|        return NULL;
19471|      0|    }
19472|   511k|    int _start_lineno = p->tokens[_mark]->lineno;
19473|   511k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   511k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 511k]
  |  |  ------------------
  ------------------
19474|   511k|    int _start_col_offset = p->tokens[_mark]->col_offset;
19475|   511k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   511k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 511k]
  |  |  ------------------
  ------------------
19476|   511k|    { // '*' (!'*' star_target)
19477|   511k|        if (p->error_indicator) {
  ------------------
  |  Branch (19477:13): [True: 0, False: 511k]
  ------------------
19478|      0|            p->level--;
19479|      0|            return NULL;
19480|      0|        }
19481|   511k|        D(fprintf(stderr, "%*c> star_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' (!'*' star_target)"));
19482|   511k|        Token * _literal;
19483|   511k|        void *a;
19484|   511k|        if (
19485|   511k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (19485:13): [True: 4.13k, False: 507k]
  ------------------
19486|  4.13k|            &&
19487|  4.13k|            (a = _tmp_101_rule(p))  // !'*' star_target
  ------------------
  |  Branch (19487:13): [True: 2.41k, False: 1.72k]
  ------------------
19488|   511k|        )
19489|  2.41k|        {
19490|  2.41k|            D(fprintf(stderr, "%*c+ star_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' (!'*' star_target)"));
19491|  2.41k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19492|  2.41k|            if (_token == NULL) {
  ------------------
  |  Branch (19492:17): [True: 0, False: 2.41k]
  ------------------
19493|      0|                p->level--;
19494|      0|                return NULL;
19495|      0|            }
19496|  2.41k|            int _end_lineno = _token->end_lineno;
19497|  2.41k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.41k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.41k]
  |  |  ------------------
  ------------------
19498|  2.41k|            int _end_col_offset = _token->end_col_offset;
19499|  2.41k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.41k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.41k]
  |  |  ------------------
  ------------------
19500|  2.41k|            _res = _PyAST_Starred ( CHECK ( expr_ty , _PyPegen_set_expr_context ( p , a , Store ) ) , Store , EXTRA );
  ------------------
  |  |  245|  2.41k|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Starred ( CHECK ( expr_ty , _PyPegen_set_expr_context ( p , a , Store ) ) , Store , EXTRA );
  ------------------
  |  |  281|  2.41k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19501|  2.41k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19501:18): [True: 0, False: 2.41k]
  |  Branch (19501:34): [True: 0, False: 2.41k]
  |  Branch (19501:57): [True: 0, False: 0]
  ------------------
19502|      0|                p->error_indicator = 1;
19503|      0|                p->level--;
19504|      0|                return NULL;
19505|      0|            }
19506|  2.41k|            goto done;
19507|  2.41k|        }
19508|   509k|        p->mark = _mark;
19509|   509k|        D(fprintf(stderr, "%*c%s star_target[%d-%d]: %s failed!\n", p->level, ' ',
19510|   509k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' (!'*' star_target)"));
19511|   509k|    }
19512|      0|    { // target_with_star_atom
19513|   509k|        if (p->error_indicator) {
  ------------------
  |  Branch (19513:13): [True: 537, False: 508k]
  ------------------
19514|    537|            p->level--;
19515|    537|            return NULL;
19516|    537|        }
19517|   508k|        D(fprintf(stderr, "%*c> star_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "target_with_star_atom"));
19518|   508k|        expr_ty target_with_star_atom_var;
19519|   508k|        if (
19520|   508k|            (target_with_star_atom_var = target_with_star_atom_rule(p))  // target_with_star_atom
  ------------------
  |  Branch (19520:13): [True: 362k, False: 146k]
  ------------------
19521|   508k|        )
19522|   362k|        {
19523|   362k|            D(fprintf(stderr, "%*c+ star_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "target_with_star_atom"));
19524|   362k|            _res = target_with_star_atom_var;
19525|   362k|            goto done;
19526|   362k|        }
19527|   146k|        p->mark = _mark;
19528|   146k|        D(fprintf(stderr, "%*c%s star_target[%d-%d]: %s failed!\n", p->level, ' ',
19529|   146k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "target_with_star_atom"));
19530|   146k|    }
19531|   146k|    _res = NULL;
19532|   511k|  done:
19533|   511k|    _PyPegen_insert_memo(p, _mark, star_target_type, _res);
  ------------------
  |  |  285|   511k|#define star_target_type 1196
  ------------------
19534|   511k|    p->level--;
19535|   511k|    return _res;
19536|   146k|}
parser.c:_tmp_101_rule:
34952|  4.13k|{
34953|  4.13k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.26k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34953:9): [True: 0, False: 4.13k]
  |  Branch (34953:35): [True: 0, False: 4.13k]
  ------------------
34954|      0|        _Pypegen_stack_overflow(p);
34955|      0|    }
34956|  4.13k|    if (p->error_indicator) {
  ------------------
  |  Branch (34956:9): [True: 0, False: 4.13k]
  ------------------
34957|      0|        p->level--;
34958|      0|        return NULL;
34959|      0|    }
34960|  4.13k|    void * _res = NULL;
34961|  4.13k|    int _mark = p->mark;
34962|  4.13k|    { // !'*' star_target
34963|  4.13k|        if (p->error_indicator) {
  ------------------
  |  Branch (34963:13): [True: 0, False: 4.13k]
  ------------------
34964|      0|            p->level--;
34965|      0|            return NULL;
34966|      0|        }
34967|  4.13k|        D(fprintf(stderr, "%*c> _tmp_101[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "!'*' star_target"));
34968|  4.13k|        expr_ty star_target_var;
34969|  4.13k|        if (
34970|  4.13k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 16)  // token='*'
  ------------------
  |  Branch (34970:13): [True: 4.12k, False: 5]
  ------------------
34971|  4.12k|            &&
34972|  4.12k|            (star_target_var = star_target_rule(p))  // star_target
  ------------------
  |  Branch (34972:13): [True: 2.41k, False: 1.71k]
  ------------------
34973|  4.13k|        )
34974|  2.41k|        {
34975|  2.41k|            D(fprintf(stderr, "%*c+ _tmp_101[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "!'*' star_target"));
34976|  2.41k|            _res = star_target_var;
34977|  2.41k|            goto done;
34978|  2.41k|        }
34979|  1.72k|        p->mark = _mark;
34980|  1.72k|        D(fprintf(stderr, "%*c%s _tmp_101[%d-%d]: %s failed!\n", p->level, ' ',
34981|  1.72k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!'*' star_target"));
34982|  1.72k|    }
34983|  1.72k|    _res = NULL;
34984|  4.13k|  done:
34985|  4.13k|    p->level--;
34986|  4.13k|    return _res;
34987|  1.72k|}
parser.c:target_with_star_atom_rule:
19544|   527k|{
19545|   527k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.05M|#  define MAXSTACK 6000
  ------------------
  |  Branch (19545:9): [True: 0, False: 527k]
  |  Branch (19545:35): [True: 0, False: 527k]
  ------------------
19546|      0|        _Pypegen_stack_overflow(p);
19547|      0|    }
19548|   527k|    if (p->error_indicator) {
  ------------------
  |  Branch (19548:9): [True: 0, False: 527k]
  ------------------
19549|      0|        p->level--;
19550|      0|        return NULL;
19551|      0|    }
19552|   527k|    expr_ty _res = NULL;
19553|   527k|    if (_PyPegen_is_memoized(p, target_with_star_atom_type, &_res)) {
  ------------------
  |  |  286|   527k|#define target_with_star_atom_type 1197
  ------------------
  |  Branch (19553:9): [True: 11.4k, False: 516k]
  ------------------
19554|  11.4k|        p->level--;
19555|  11.4k|        return _res;
19556|  11.4k|    }
19557|   516k|    int _mark = p->mark;
19558|   516k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (19558:9): [True: 0, False: 516k]
  |  Branch (19558:31): [True: 0, False: 0]
  ------------------
19559|      0|        p->error_indicator = 1;
19560|      0|        p->level--;
19561|      0|        return NULL;
19562|      0|    }
19563|   516k|    int _start_lineno = p->tokens[_mark]->lineno;
19564|   516k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   516k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 516k]
  |  |  ------------------
  ------------------
19565|   516k|    int _start_col_offset = p->tokens[_mark]->col_offset;
19566|   516k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   516k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 516k]
  |  |  ------------------
  ------------------
19567|   516k|    { // t_primary '.' NAME !t_lookahead
19568|   516k|        if (p->error_indicator) {
  ------------------
  |  Branch (19568:13): [True: 0, False: 516k]
  ------------------
19569|      0|            p->level--;
19570|      0|            return NULL;
19571|      0|        }
19572|   516k|        D(fprintf(stderr, "%*c> target_with_star_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '.' NAME !t_lookahead"));
19573|   516k|        Token * _literal;
19574|   516k|        expr_ty a;
19575|   516k|        expr_ty b;
19576|   516k|        if (
19577|   516k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (19577:13): [True: 19.6k, False: 496k]
  ------------------
19578|  19.6k|            &&
19579|  19.6k|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (19579:13): [True: 11.0k, False: 8.60k]
  ------------------
19580|  11.0k|            &&
19581|  11.0k|            (b = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (19581:13): [True: 10.7k, False: 201]
  ------------------
19582|  10.7k|            &&
19583|  10.7k|            _PyPegen_lookahead(0, t_lookahead_rule, p)
  ------------------
  |  Branch (19583:13): [True: 10.7k, False: 0]
  ------------------
19584|   516k|        )
19585|  10.7k|        {
19586|  10.7k|            D(fprintf(stderr, "%*c+ target_with_star_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '.' NAME !t_lookahead"));
19587|  10.7k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19588|  10.7k|            if (_token == NULL) {
  ------------------
  |  Branch (19588:17): [True: 0, False: 10.7k]
  ------------------
19589|      0|                p->level--;
19590|      0|                return NULL;
19591|      0|            }
19592|  10.7k|            int _end_lineno = _token->end_lineno;
19593|  10.7k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  10.7k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 10.7k]
  |  |  ------------------
  ------------------
19594|  10.7k|            int _end_col_offset = _token->end_col_offset;
19595|  10.7k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  10.7k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 10.7k]
  |  |  ------------------
  ------------------
19596|  10.7k|            _res = _PyAST_Attribute ( a , b -> v . Name . id , Store , EXTRA );
  ------------------
  |  |  281|  10.7k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19597|  10.7k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19597:18): [True: 0, False: 10.7k]
  |  Branch (19597:34): [True: 0, False: 10.7k]
  |  Branch (19597:57): [True: 0, False: 0]
  ------------------
19598|      0|                p->error_indicator = 1;
19599|      0|                p->level--;
19600|      0|                return NULL;
19601|      0|            }
19602|  10.7k|            goto done;
19603|  10.7k|        }
19604|   505k|        p->mark = _mark;
19605|   505k|        D(fprintf(stderr, "%*c%s target_with_star_atom[%d-%d]: %s failed!\n", p->level, ' ',
19606|   505k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '.' NAME !t_lookahead"));
19607|   505k|    }
19608|      0|    { // t_primary '[' slices ']' !t_lookahead
19609|   505k|        if (p->error_indicator) {
  ------------------
  |  Branch (19609:13): [True: 1.52k, False: 504k]
  ------------------
19610|  1.52k|            p->level--;
19611|  1.52k|            return NULL;
19612|  1.52k|        }
19613|   504k|        D(fprintf(stderr, "%*c> target_with_star_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '[' slices ']' !t_lookahead"));
19614|   504k|        Token * _literal;
19615|   504k|        Token * _literal_1;
19616|   504k|        expr_ty a;
19617|   504k|        expr_ty b;
19618|   504k|        if (
19619|   504k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (19619:13): [True: 8.80k, False: 495k]
  ------------------
19620|  8.80k|            &&
19621|  8.80k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (19621:13): [True: 4.30k, False: 4.49k]
  ------------------
19622|  4.30k|            &&
19623|  4.30k|            (b = slices_rule(p))  // slices
  ------------------
  |  Branch (19623:13): [True: 4.00k, False: 307]
  ------------------
19624|  4.00k|            &&
19625|  4.00k|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (19625:13): [True: 3.77k, False: 225]
  ------------------
19626|  3.77k|            &&
19627|  3.77k|            _PyPegen_lookahead(0, t_lookahead_rule, p)
  ------------------
  |  Branch (19627:13): [True: 3.77k, False: 0]
  ------------------
19628|   504k|        )
19629|  3.77k|        {
19630|  3.77k|            D(fprintf(stderr, "%*c+ target_with_star_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '[' slices ']' !t_lookahead"));
19631|  3.77k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19632|  3.77k|            if (_token == NULL) {
  ------------------
  |  Branch (19632:17): [True: 0, False: 3.77k]
  ------------------
19633|      0|                p->level--;
19634|      0|                return NULL;
19635|      0|            }
19636|  3.77k|            int _end_lineno = _token->end_lineno;
19637|  3.77k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.77k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.77k]
  |  |  ------------------
  ------------------
19638|  3.77k|            int _end_col_offset = _token->end_col_offset;
19639|  3.77k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.77k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.77k]
  |  |  ------------------
  ------------------
19640|  3.77k|            _res = _PyAST_Subscript ( a , b , Store , EXTRA );
  ------------------
  |  |  281|  3.77k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19641|  3.77k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19641:18): [True: 0, False: 3.77k]
  |  Branch (19641:34): [True: 0, False: 3.77k]
  |  Branch (19641:57): [True: 0, False: 0]
  ------------------
19642|      0|                p->error_indicator = 1;
19643|      0|                p->level--;
19644|      0|                return NULL;
19645|      0|            }
19646|  3.77k|            goto done;
19647|  3.77k|        }
19648|   500k|        p->mark = _mark;
19649|   500k|        D(fprintf(stderr, "%*c%s target_with_star_atom[%d-%d]: %s failed!\n", p->level, ' ',
19650|   500k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '[' slices ']' !t_lookahead"));
19651|   500k|    }
19652|      0|    { // star_atom
19653|   500k|        if (p->error_indicator) {
  ------------------
  |  Branch (19653:13): [True: 0, False: 500k]
  ------------------
19654|      0|            p->level--;
19655|      0|            return NULL;
19656|      0|        }
19657|   500k|        D(fprintf(stderr, "%*c> target_with_star_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_atom"));
19658|   500k|        expr_ty star_atom_var;
19659|   500k|        if (
19660|   500k|            (star_atom_var = star_atom_rule(p))  // star_atom
  ------------------
  |  Branch (19660:13): [True: 355k, False: 144k]
  ------------------
19661|   500k|        )
19662|   355k|        {
19663|   355k|            D(fprintf(stderr, "%*c+ target_with_star_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_atom"));
19664|   355k|            _res = star_atom_var;
19665|   355k|            goto done;
19666|   355k|        }
19667|   144k|        p->mark = _mark;
19668|   144k|        D(fprintf(stderr, "%*c%s target_with_star_atom[%d-%d]: %s failed!\n", p->level, ' ',
19669|   144k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_atom"));
19670|   144k|    }
19671|   144k|    _res = NULL;
19672|   514k|  done:
19673|   514k|    _PyPegen_insert_memo(p, _mark, target_with_star_atom_type, _res);
  ------------------
  |  |  286|   514k|#define target_with_star_atom_type 1197
  ------------------
19674|   514k|    p->level--;
19675|   514k|    return _res;
19676|   144k|}
parser.c:t_primary_rule:
20059|  4.43M|{
20060|  4.43M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.86M|#  define MAXSTACK 6000
  ------------------
  |  Branch (20060:9): [True: 0, False: 4.43M]
  |  Branch (20060:35): [True: 0, False: 4.43M]
  ------------------
20061|      0|        _Pypegen_stack_overflow(p);
20062|      0|    }
20063|  4.43M|    expr_ty _res = NULL;
20064|  4.43M|    if (_PyPegen_is_memoized(p, t_primary_type, &_res)) {
  ------------------
  |  |  290|  4.43M|#define t_primary_type 1201  // Left-recursive
  ------------------
  |  Branch (20064:9): [True: 3.89M, False: 533k]
  ------------------
20065|  3.89M|        p->level--;
20066|  3.89M|        return _res;
20067|  3.89M|    }
20068|   533k|    int _mark = p->mark;
20069|   533k|    int _resmark = p->mark;
20070|   567k|    while (1) {
  ------------------
  |  Branch (20070:12): [True: 567k, Folded]
  ------------------
20071|   567k|        int tmpvar_9 = _PyPegen_update_memo(p, _mark, t_primary_type, _res);
  ------------------
  |  |  290|   567k|#define t_primary_type 1201  // Left-recursive
  ------------------
20072|   567k|        if (tmpvar_9) {
  ------------------
  |  Branch (20072:13): [True: 0, False: 567k]
  ------------------
20073|      0|            p->level--;
20074|      0|            return _res;
20075|      0|        }
20076|   567k|        p->mark = _mark;
20077|   567k|        void *_raw = t_primary_raw(p);
20078|   567k|        if (p->error_indicator) {
  ------------------
  |  Branch (20078:13): [True: 2.88k, False: 564k]
  ------------------
20079|  2.88k|            p->level--;
20080|  2.88k|            return NULL;
20081|  2.88k|        }
20082|   564k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (20082:13): [True: 507k, False: 56.5k]
  |  Branch (20082:29): [True: 23.2k, False: 33.3k]
  ------------------
20083|   531k|            break;
20084|  33.3k|        _resmark = p->mark;
20085|  33.3k|        _res = _raw;
20086|  33.3k|    }
20087|   531k|    p->mark = _resmark;
20088|   531k|    p->level--;
20089|   531k|    return _res;
20090|   533k|}
parser.c:t_primary_raw:
20093|   567k|{
20094|   567k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.13M|#  define MAXSTACK 6000
  ------------------
  |  Branch (20094:9): [True: 0, False: 567k]
  |  Branch (20094:35): [True: 0, False: 567k]
  ------------------
20095|      0|        _Pypegen_stack_overflow(p);
20096|      0|    }
20097|   567k|    if (p->error_indicator) {
  ------------------
  |  Branch (20097:9): [True: 0, False: 567k]
  ------------------
20098|      0|        p->level--;
20099|      0|        return NULL;
20100|      0|    }
20101|   567k|    expr_ty _res = NULL;
20102|   567k|    int _mark = p->mark;
20103|   567k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (20103:9): [True: 0, False: 567k]
  |  Branch (20103:31): [True: 0, False: 0]
  ------------------
20104|      0|        p->error_indicator = 1;
20105|      0|        p->level--;
20106|      0|        return NULL;
20107|      0|    }
20108|   567k|    int _start_lineno = p->tokens[_mark]->lineno;
20109|   567k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   567k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 567k]
  |  |  ------------------
  ------------------
20110|   567k|    int _start_col_offset = p->tokens[_mark]->col_offset;
20111|   567k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   567k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 567k]
  |  |  ------------------
  ------------------
20112|   567k|    { // t_primary '.' NAME &t_lookahead
20113|   567k|        if (p->error_indicator) {
  ------------------
  |  Branch (20113:13): [True: 0, False: 567k]
  ------------------
20114|      0|            p->level--;
20115|      0|            return NULL;
20116|      0|        }
20117|   567k|        D(fprintf(stderr, "%*c> t_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '.' NAME &t_lookahead"));
20118|   567k|        Token * _literal;
20119|   567k|        expr_ty a;
20120|   567k|        expr_ty b;
20121|   567k|        if (
20122|   567k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (20122:13): [True: 33.3k, False: 533k]
  ------------------
20123|  33.3k|            &&
20124|  33.3k|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (20124:13): [True: 15.5k, False: 17.7k]
  ------------------
20125|  15.5k|            &&
20126|  15.5k|            (b = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (20126:13): [True: 15.3k, False: 223]
  ------------------
20127|  15.3k|            &&
20128|  15.3k|            _PyPegen_lookahead(1, t_lookahead_rule, p)
  ------------------
  |  Branch (20128:13): [True: 2.08k, False: 13.2k]
  ------------------
20129|   567k|        )
20130|  2.08k|        {
20131|  2.08k|            D(fprintf(stderr, "%*c+ t_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '.' NAME &t_lookahead"));
20132|  2.08k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
20133|  2.08k|            if (_token == NULL) {
  ------------------
  |  Branch (20133:17): [True: 0, False: 2.08k]
  ------------------
20134|      0|                p->level--;
20135|      0|                return NULL;
20136|      0|            }
20137|  2.08k|            int _end_lineno = _token->end_lineno;
20138|  2.08k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.08k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.08k]
  |  |  ------------------
  ------------------
20139|  2.08k|            int _end_col_offset = _token->end_col_offset;
20140|  2.08k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.08k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.08k]
  |  |  ------------------
  ------------------
20141|  2.08k|            _res = _PyAST_Attribute ( a , b -> v . Name . id , Load , EXTRA );
  ------------------
  |  |  281|  2.08k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
20142|  2.08k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20142:18): [True: 0, False: 2.08k]
  |  Branch (20142:34): [True: 0, False: 2.08k]
  |  Branch (20142:57): [True: 0, False: 0]
  ------------------
20143|      0|                p->error_indicator = 1;
20144|      0|                p->level--;
20145|      0|                return NULL;
20146|      0|            }
20147|  2.08k|            goto done;
20148|  2.08k|        }
20149|   565k|        p->mark = _mark;
20150|   565k|        D(fprintf(stderr, "%*c%s t_primary[%d-%d]: %s failed!\n", p->level, ' ',
20151|   565k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '.' NAME &t_lookahead"));
20152|   565k|    }
20153|      0|    { // t_primary '[' slices ']' &t_lookahead
20154|   565k|        if (p->error_indicator) {
  ------------------
  |  Branch (20154:13): [True: 8, False: 565k]
  ------------------
20155|      8|            p->level--;
20156|      8|            return NULL;
20157|      8|        }
20158|   565k|        D(fprintf(stderr, "%*c> t_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '[' slices ']' &t_lookahead"));
20159|   565k|        Token * _literal;
20160|   565k|        Token * _literal_1;
20161|   565k|        expr_ty a;
20162|   565k|        expr_ty b;
20163|   565k|        if (
20164|   565k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (20164:13): [True: 31.2k, False: 533k]
  ------------------
20165|  31.2k|            &&
20166|  31.2k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (20166:13): [True: 6.54k, False: 24.6k]
  ------------------
20167|  6.54k|            &&
20168|  6.54k|            (b = slices_rule(p))  // slices
  ------------------
  |  Branch (20168:13): [True: 6.03k, False: 512]
  ------------------
20169|  6.03k|            &&
20170|  6.03k|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (20170:13): [True: 5.79k, False: 238]
  ------------------
20171|  5.79k|            &&
20172|  5.79k|            _PyPegen_lookahead(1, t_lookahead_rule, p)
  ------------------
  |  Branch (20172:13): [True: 910, False: 4.88k]
  ------------------
20173|   565k|        )
20174|    910|        {
20175|    910|            D(fprintf(stderr, "%*c+ t_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '[' slices ']' &t_lookahead"));
20176|    910|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
20177|    910|            if (_token == NULL) {
  ------------------
  |  Branch (20177:17): [True: 0, False: 910]
  ------------------
20178|      0|                p->level--;
20179|      0|                return NULL;
20180|      0|            }
20181|    910|            int _end_lineno = _token->end_lineno;
20182|    910|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    910|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 910]
  |  |  ------------------
  ------------------
20183|    910|            int _end_col_offset = _token->end_col_offset;
20184|    910|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    910|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 910]
  |  |  ------------------
  ------------------
20185|    910|            _res = _PyAST_Subscript ( a , b , Load , EXTRA );
  ------------------
  |  |  281|    910|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
20186|    910|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20186:18): [True: 0, False: 910]
  |  Branch (20186:34): [True: 0, False: 910]
  |  Branch (20186:57): [True: 0, False: 0]
  ------------------
20187|      0|                p->error_indicator = 1;
20188|      0|                p->level--;
20189|      0|                return NULL;
20190|      0|            }
20191|    910|            goto done;
20192|    910|        }
20193|   564k|        p->mark = _mark;
20194|   564k|        D(fprintf(stderr, "%*c%s t_primary[%d-%d]: %s failed!\n", p->level, ' ',
20195|   564k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '[' slices ']' &t_lookahead"));
20196|   564k|    }
20197|      0|    { // t_primary genexp &t_lookahead
20198|   564k|        if (p->error_indicator) {
  ------------------
  |  Branch (20198:13): [True: 193, False: 564k]
  ------------------
20199|    193|            p->level--;
20200|    193|            return NULL;
20201|    193|        }
20202|   564k|        D(fprintf(stderr, "%*c> t_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary genexp &t_lookahead"));
20203|   564k|        expr_ty a;
20204|   564k|        expr_ty b;
20205|   564k|        if (
20206|   564k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (20206:13): [True: 30.1k, False: 533k]
  ------------------
20207|  30.1k|            &&
20208|  30.1k|            (b = genexp_rule(p))  // genexp
  ------------------
  |  Branch (20208:13): [True: 1.50k, False: 28.6k]
  ------------------
20209|  1.50k|            &&
20210|  1.50k|            _PyPegen_lookahead(1, t_lookahead_rule, p)
  ------------------
  |  Branch (20210:13): [True: 654, False: 854]
  ------------------
20211|   564k|        )
20212|    654|        {
20213|    654|            D(fprintf(stderr, "%*c+ t_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary genexp &t_lookahead"));
20214|    654|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
20215|    654|            if (_token == NULL) {
  ------------------
  |  Branch (20215:17): [True: 0, False: 654]
  ------------------
20216|      0|                p->level--;
20217|      0|                return NULL;
20218|      0|            }
20219|    654|            int _end_lineno = _token->end_lineno;
20220|    654|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    654|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 654]
  |  |  ------------------
  ------------------
20221|    654|            int _end_col_offset = _token->end_col_offset;
20222|    654|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    654|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 654]
  |  |  ------------------
  ------------------
20223|    654|            _res = _PyAST_Call ( a , CHECK ( asdl_expr_seq* , ( asdl_expr_seq* ) _PyPegen_singleton_seq ( p , b ) ) , NULL , EXTRA );
  ------------------
  |  |  245|    654|#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 );
  ------------------
  |  |  281|    654|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
20224|    654|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20224:18): [True: 0, False: 654]
  |  Branch (20224:34): [True: 0, False: 654]
  |  Branch (20224:57): [True: 0, False: 0]
  ------------------
20225|      0|                p->error_indicator = 1;
20226|      0|                p->level--;
20227|      0|                return NULL;
20228|      0|            }
20229|    654|            goto done;
20230|    654|        }
20231|   563k|        p->mark = _mark;
20232|   563k|        D(fprintf(stderr, "%*c%s t_primary[%d-%d]: %s failed!\n", p->level, ' ',
20233|   563k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary genexp &t_lookahead"));
20234|   563k|    }
20235|      0|    { // t_primary '(' arguments? ')' &t_lookahead
20236|   563k|        if (p->error_indicator) {
  ------------------
  |  Branch (20236:13): [True: 718, False: 562k]
  ------------------
20237|    718|            p->level--;
20238|    718|            return NULL;
20239|    718|        }
20240|   562k|        D(fprintf(stderr, "%*c> t_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '(' arguments? ')' &t_lookahead"));
20241|   562k|        Token * _literal;
20242|   562k|        Token * _literal_1;
20243|   562k|        expr_ty a;
20244|   562k|        void *b;
20245|   562k|        if (
20246|   562k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (20246:13): [True: 28.7k, False: 533k]
  ------------------
20247|  28.7k|            &&
20248|  28.7k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (20248:13): [True: 9.84k, False: 18.9k]
  ------------------
20249|  9.84k|            &&
20250|  9.84k|            (b = arguments_rule(p), !p->error_indicator)  // arguments?
  ------------------
  |  Branch (20250:13): [True: 9.66k, False: 177]
  ------------------
20251|  9.66k|            &&
20252|  9.66k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (20252:13): [True: 7.60k, False: 2.05k]
  ------------------
20253|  7.60k|            &&
20254|  7.60k|            _PyPegen_lookahead(1, t_lookahead_rule, p)
  ------------------
  |  Branch (20254:13): [True: 5.31k, False: 2.29k]
  ------------------
20255|   562k|        )
20256|  5.31k|        {
20257|  5.31k|            D(fprintf(stderr, "%*c+ t_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '(' arguments? ')' &t_lookahead"));
20258|  5.31k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
20259|  5.31k|            if (_token == NULL) {
  ------------------
  |  Branch (20259:17): [True: 0, False: 5.31k]
  ------------------
20260|      0|                p->level--;
20261|      0|                return NULL;
20262|      0|            }
20263|  5.31k|            int _end_lineno = _token->end_lineno;
20264|  5.31k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  5.31k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 5.31k]
  |  |  ------------------
  ------------------
20265|  5.31k|            int _end_col_offset = _token->end_col_offset;
20266|  5.31k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  5.31k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 5.31k]
  |  |  ------------------
  ------------------
20267|  5.31k|            _res = _PyAST_Call ( a , ( b ) ? ( ( expr_ty ) b ) -> v . Call . args : NULL , ( b ) ? ( ( expr_ty ) b ) -> v . Call . keywords : NULL , EXTRA );
  ------------------
  |  |  281|  5.31k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (20267:38): [True: 4.25k, False: 1.06k]
  |  Branch (20267:92): [True: 4.25k, False: 1.06k]
  ------------------
20268|  5.31k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20268:18): [True: 0, False: 5.31k]
  |  Branch (20268:34): [True: 0, False: 5.31k]
  |  Branch (20268:57): [True: 0, False: 0]
  ------------------
20269|      0|                p->error_indicator = 1;
20270|      0|                p->level--;
20271|      0|                return NULL;
20272|      0|            }
20273|  5.31k|            goto done;
20274|  5.31k|        }
20275|   557k|        p->mark = _mark;
20276|   557k|        D(fprintf(stderr, "%*c%s t_primary[%d-%d]: %s failed!\n", p->level, ' ',
20277|   557k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '(' arguments? ')' &t_lookahead"));
20278|   557k|    }
20279|      0|    { // atom &t_lookahead
20280|   557k|        if (p->error_indicator) {
  ------------------
  |  Branch (20280:13): [True: 179, False: 557k]
  ------------------
20281|    179|            p->level--;
20282|    179|            return NULL;
20283|    179|        }
20284|   557k|        D(fprintf(stderr, "%*c> t_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "atom &t_lookahead"));
20285|   557k|        expr_ty a;
20286|   557k|        if (
20287|   557k|            (a = atom_rule(p))  // atom
  ------------------
  |  Branch (20287:13): [True: 441k, False: 115k]
  ------------------
20288|   441k|            &&
20289|   441k|            _PyPegen_lookahead(1, t_lookahead_rule, p)
  ------------------
  |  Branch (20289:13): [True: 47.6k, False: 393k]
  ------------------
20290|   557k|        )
20291|  47.6k|        {
20292|  47.6k|            D(fprintf(stderr, "%*c+ t_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "atom &t_lookahead"));
20293|  47.6k|            _res = a;
20294|  47.6k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20294:18): [True: 0, False: 47.6k]
  |  Branch (20294:34): [True: 0, False: 47.6k]
  |  Branch (20294:57): [True: 0, False: 0]
  ------------------
20295|      0|                p->error_indicator = 1;
20296|      0|                p->level--;
20297|      0|                return NULL;
20298|      0|            }
20299|  47.6k|            goto done;
20300|  47.6k|        }
20301|   509k|        p->mark = _mark;
20302|   509k|        D(fprintf(stderr, "%*c%s t_primary[%d-%d]: %s failed!\n", p->level, ' ',
20303|   509k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "atom &t_lookahead"));
20304|   509k|    }
20305|   509k|    _res = NULL;
20306|   566k|  done:
20307|   566k|    p->level--;
20308|   566k|    return _res;
20309|   509k|}
parser.c:t_lookahead_rule:
20314|   512k|{
20315|   512k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.02M|#  define MAXSTACK 6000
  ------------------
  |  Branch (20315:9): [True: 0, False: 512k]
  |  Branch (20315:35): [True: 0, False: 512k]
  ------------------
20316|      0|        _Pypegen_stack_overflow(p);
20317|      0|    }
20318|   512k|    if (p->error_indicator) {
  ------------------
  |  Branch (20318:9): [True: 0, False: 512k]
  ------------------
20319|      0|        p->level--;
20320|      0|        return NULL;
20321|      0|    }
20322|   512k|    void * _res = NULL;
20323|   512k|    int _mark = p->mark;
20324|   512k|    { // '('
20325|   512k|        if (p->error_indicator) {
  ------------------
  |  Branch (20325:13): [True: 0, False: 512k]
  ------------------
20326|      0|            p->level--;
20327|      0|            return NULL;
20328|      0|        }
20329|   512k|        D(fprintf(stderr, "%*c> t_lookahead[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'('"));
20330|   512k|        Token * _literal;
20331|   512k|        if (
20332|   512k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (20332:13): [True: 16.4k, False: 495k]
  ------------------
20333|   512k|        )
20334|  16.4k|        {
20335|  16.4k|            D(fprintf(stderr, "%*c+ t_lookahead[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'('"));
20336|  16.4k|            _res = _literal;
20337|  16.4k|            goto done;
20338|  16.4k|        }
20339|   495k|        p->mark = _mark;
20340|   495k|        D(fprintf(stderr, "%*c%s t_lookahead[%d-%d]: %s failed!\n", p->level, ' ',
20341|   495k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'('"));
20342|   495k|    }
20343|      0|    { // '['
20344|   495k|        if (p->error_indicator) {
  ------------------
  |  Branch (20344:13): [True: 124, False: 495k]
  ------------------
20345|    124|            p->level--;
20346|    124|            return NULL;
20347|    124|        }
20348|   495k|        D(fprintf(stderr, "%*c> t_lookahead[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'['"));
20349|   495k|        Token * _literal;
20350|   495k|        if (
20351|   495k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (20351:13): [True: 11.9k, False: 483k]
  ------------------
20352|   495k|        )
20353|  11.9k|        {
20354|  11.9k|            D(fprintf(stderr, "%*c+ t_lookahead[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'['"));
20355|  11.9k|            _res = _literal;
20356|  11.9k|            goto done;
20357|  11.9k|        }
20358|   483k|        p->mark = _mark;
20359|   483k|        D(fprintf(stderr, "%*c%s t_lookahead[%d-%d]: %s failed!\n", p->level, ' ',
20360|   483k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'['"));
20361|   483k|    }
20362|      0|    { // '.'
20363|   483k|        if (p->error_indicator) {
  ------------------
  |  Branch (20363:13): [True: 0, False: 483k]
  ------------------
20364|      0|            p->level--;
20365|      0|            return NULL;
20366|      0|        }
20367|   483k|        D(fprintf(stderr, "%*c> t_lookahead[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'.'"));
20368|   483k|        Token * _literal;
20369|   483k|        if (
20370|   483k|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (20370:13): [True: 28.2k, False: 455k]
  ------------------
20371|   483k|        )
20372|  28.2k|        {
20373|  28.2k|            D(fprintf(stderr, "%*c+ t_lookahead[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'.'"));
20374|  28.2k|            _res = _literal;
20375|  28.2k|            goto done;
20376|  28.2k|        }
20377|   455k|        p->mark = _mark;
20378|   455k|        D(fprintf(stderr, "%*c%s t_lookahead[%d-%d]: %s failed!\n", p->level, ' ',
20379|   455k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'.'"));
20380|   455k|    }
20381|   455k|    _res = NULL;
20382|   512k|  done:
20383|   512k|    p->level--;
20384|   512k|    return _res;
20385|   455k|}
parser.c:star_atom_rule:
19685|   500k|{
19686|   500k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.00M|#  define MAXSTACK 6000
  ------------------
  |  Branch (19686:9): [True: 0, False: 500k]
  |  Branch (19686:35): [True: 0, False: 500k]
  ------------------
19687|      0|        _Pypegen_stack_overflow(p);
19688|      0|    }
19689|   500k|    if (p->error_indicator) {
  ------------------
  |  Branch (19689:9): [True: 0, False: 500k]
  ------------------
19690|      0|        p->level--;
19691|      0|        return NULL;
19692|      0|    }
19693|   500k|    expr_ty _res = NULL;
19694|   500k|    int _mark = p->mark;
19695|   500k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (19695:9): [True: 0, False: 500k]
  |  Branch (19695:31): [True: 0, False: 0]
  ------------------
19696|      0|        p->error_indicator = 1;
19697|      0|        p->level--;
19698|      0|        return NULL;
19699|      0|    }
19700|   500k|    int _start_lineno = p->tokens[_mark]->lineno;
19701|   500k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   500k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 500k]
  |  |  ------------------
  ------------------
19702|   500k|    int _start_col_offset = p->tokens[_mark]->col_offset;
19703|   500k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   500k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 500k]
  |  |  ------------------
  ------------------
19704|   500k|    { // NAME
19705|   500k|        if (p->error_indicator) {
  ------------------
  |  Branch (19705:13): [True: 0, False: 500k]
  ------------------
19706|      0|            p->level--;
19707|      0|            return NULL;
19708|      0|        }
19709|   500k|        D(fprintf(stderr, "%*c> star_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
19710|   500k|        expr_ty a;
19711|   500k|        if (
19712|   500k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (19712:13): [True: 340k, False: 159k]
  ------------------
19713|   500k|        )
19714|   340k|        {
19715|   340k|            D(fprintf(stderr, "%*c+ star_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
19716|   340k|            _res = _PyPegen_set_expr_context ( p , a , Store );
19717|   340k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19717:18): [True: 0, False: 340k]
  |  Branch (19717:34): [True: 0, False: 340k]
  |  Branch (19717:57): [True: 0, False: 0]
  ------------------
19718|      0|                p->error_indicator = 1;
19719|      0|                p->level--;
19720|      0|                return NULL;
19721|      0|            }
19722|   340k|            goto done;
19723|   340k|        }
19724|   159k|        p->mark = _mark;
19725|   159k|        D(fprintf(stderr, "%*c%s star_atom[%d-%d]: %s failed!\n", p->level, ' ',
19726|   159k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
19727|   159k|    }
19728|      0|    { // '(' target_with_star_atom ')'
19729|   159k|        if (p->error_indicator) {
  ------------------
  |  Branch (19729:13): [True: 0, False: 159k]
  ------------------
19730|      0|            p->level--;
19731|      0|            return NULL;
19732|      0|        }
19733|   159k|        D(fprintf(stderr, "%*c> star_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' target_with_star_atom ')'"));
19734|   159k|        Token * _literal;
19735|   159k|        Token * _literal_1;
19736|   159k|        expr_ty a;
19737|   159k|        if (
19738|   159k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (19738:13): [True: 18.8k, False: 140k]
  ------------------
19739|  18.8k|            &&
19740|  18.8k|            (a = target_with_star_atom_rule(p))  // target_with_star_atom
  ------------------
  |  Branch (19740:13): [True: 9.11k, False: 9.76k]
  ------------------
19741|  9.11k|            &&
19742|  9.11k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (19742:13): [True: 7.42k, False: 1.69k]
  ------------------
19743|   159k|        )
19744|  7.42k|        {
19745|  7.42k|            D(fprintf(stderr, "%*c+ star_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' target_with_star_atom ')'"));
19746|  7.42k|            _res = _PyPegen_set_expr_context ( p , a , Store );
19747|  7.42k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19747:18): [True: 0, False: 7.42k]
  |  Branch (19747:34): [True: 0, False: 7.42k]
  |  Branch (19747:57): [True: 0, False: 0]
  ------------------
19748|      0|                p->error_indicator = 1;
19749|      0|                p->level--;
19750|      0|                return NULL;
19751|      0|            }
19752|  7.42k|            goto done;
19753|  7.42k|        }
19754|   152k|        p->mark = _mark;
19755|   152k|        D(fprintf(stderr, "%*c%s star_atom[%d-%d]: %s failed!\n", p->level, ' ',
19756|   152k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' target_with_star_atom ')'"));
19757|   152k|    }
19758|      0|    { // '(' star_targets_tuple_seq? ')'
19759|   152k|        if (p->error_indicator) {
  ------------------
  |  Branch (19759:13): [True: 0, False: 152k]
  ------------------
19760|      0|            p->level--;
19761|      0|            return NULL;
19762|      0|        }
19763|   152k|        D(fprintf(stderr, "%*c> star_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' star_targets_tuple_seq? ')'"));
19764|   152k|        Token * _literal;
19765|   152k|        Token * _literal_1;
19766|   152k|        void *a;
19767|   152k|        if (
19768|   152k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (19768:13): [True: 11.4k, False: 140k]
  ------------------
19769|  11.4k|            &&
19770|  11.4k|            (a = star_targets_tuple_seq_rule(p), !p->error_indicator)  // star_targets_tuple_seq?
  ------------------
  |  Branch (19770:13): [True: 11.4k, False: 0]
  ------------------
19771|  11.4k|            &&
19772|  11.4k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (19772:13): [True: 5.56k, False: 5.89k]
  ------------------
19773|   152k|        )
19774|  5.56k|        {
19775|  5.56k|            D(fprintf(stderr, "%*c+ star_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' star_targets_tuple_seq? ')'"));
19776|  5.56k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19777|  5.56k|            if (_token == NULL) {
  ------------------
  |  Branch (19777:17): [True: 0, False: 5.56k]
  ------------------
19778|      0|                p->level--;
19779|      0|                return NULL;
19780|      0|            }
19781|  5.56k|            int _end_lineno = _token->end_lineno;
19782|  5.56k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  5.56k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 5.56k]
  |  |  ------------------
  ------------------
19783|  5.56k|            int _end_col_offset = _token->end_col_offset;
19784|  5.56k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  5.56k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 5.56k]
  |  |  ------------------
  ------------------
19785|  5.56k|            _res = _PyAST_Tuple ( a , Store , EXTRA );
  ------------------
  |  |  281|  5.56k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19786|  5.56k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19786:18): [True: 0, False: 5.56k]
  |  Branch (19786:34): [True: 0, False: 5.56k]
  |  Branch (19786:57): [True: 0, False: 0]
  ------------------
19787|      0|                p->error_indicator = 1;
19788|      0|                p->level--;
19789|      0|                return NULL;
19790|      0|            }
19791|  5.56k|            goto done;
19792|  5.56k|        }
19793|   146k|        p->mark = _mark;
19794|   146k|        D(fprintf(stderr, "%*c%s star_atom[%d-%d]: %s failed!\n", p->level, ' ',
19795|   146k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' star_targets_tuple_seq? ')'"));
19796|   146k|    }
19797|      0|    { // '[' star_targets_list_seq? ']'
19798|   146k|        if (p->error_indicator) {
  ------------------
  |  Branch (19798:13): [True: 0, False: 146k]
  ------------------
19799|      0|            p->level--;
19800|      0|            return NULL;
19801|      0|        }
19802|   146k|        D(fprintf(stderr, "%*c> star_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' star_targets_list_seq? ']'"));
19803|   146k|        Token * _literal;
19804|   146k|        Token * _literal_1;
19805|   146k|        void *a;
19806|   146k|        if (
19807|   146k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (19807:13): [True: 5.57k, False: 141k]
  ------------------
19808|  5.57k|            &&
19809|  5.57k|            (a = star_targets_list_seq_rule(p), !p->error_indicator)  // star_targets_list_seq?
  ------------------
  |  Branch (19809:13): [True: 5.57k, False: 0]
  ------------------
19810|  5.57k|            &&
19811|  5.57k|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (19811:13): [True: 1.94k, False: 3.63k]
  ------------------
19812|   146k|        )
19813|  1.94k|        {
19814|  1.94k|            D(fprintf(stderr, "%*c+ star_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' star_targets_list_seq? ']'"));
19815|  1.94k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19816|  1.94k|            if (_token == NULL) {
  ------------------
  |  Branch (19816:17): [True: 0, False: 1.94k]
  ------------------
19817|      0|                p->level--;
19818|      0|                return NULL;
19819|      0|            }
19820|  1.94k|            int _end_lineno = _token->end_lineno;
19821|  1.94k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.94k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.94k]
  |  |  ------------------
  ------------------
19822|  1.94k|            int _end_col_offset = _token->end_col_offset;
19823|  1.94k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.94k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.94k]
  |  |  ------------------
  ------------------
19824|  1.94k|            _res = _PyAST_List ( a , Store , EXTRA );
  ------------------
  |  |  281|  1.94k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19825|  1.94k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19825:18): [True: 0, False: 1.94k]
  |  Branch (19825:34): [True: 0, False: 1.94k]
  |  Branch (19825:57): [True: 0, False: 0]
  ------------------
19826|      0|                p->error_indicator = 1;
19827|      0|                p->level--;
19828|      0|                return NULL;
19829|      0|            }
19830|  1.94k|            goto done;
19831|  1.94k|        }
19832|   144k|        p->mark = _mark;
19833|   144k|        D(fprintf(stderr, "%*c%s star_atom[%d-%d]: %s failed!\n", p->level, ' ',
19834|   144k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' star_targets_list_seq? ']'"));
19835|   144k|    }
19836|   144k|    _res = NULL;
19837|   500k|  done:
19838|   500k|    p->level--;
19839|   500k|    return _res;
19840|   144k|}
parser.c:star_targets_tuple_seq_rule:
19376|  11.4k|{
19377|  11.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  22.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19377:9): [True: 0, False: 11.4k]
  |  Branch (19377:35): [True: 0, False: 11.4k]
  ------------------
19378|      0|        _Pypegen_stack_overflow(p);
19379|      0|    }
19380|  11.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (19380:9): [True: 0, False: 11.4k]
  ------------------
19381|      0|        p->level--;
19382|      0|        return NULL;
19383|      0|    }
19384|  11.4k|    asdl_expr_seq* _res = NULL;
19385|  11.4k|    int _mark = p->mark;
19386|  11.4k|    { // star_target ((',' star_target))+ ','?
19387|  11.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (19387:13): [True: 0, False: 11.4k]
  ------------------
19388|      0|            p->level--;
19389|      0|            return NULL;
19390|      0|        }
19391|  11.4k|        D(fprintf(stderr, "%*c> star_targets_tuple_seq[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_target ((',' star_target))+ ','?"));
19392|  11.4k|        void *_opt_var;
19393|  11.4k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  11.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 11.4k]
  |  |  ------------------
  ------------------
19394|  11.4k|        expr_ty a;
19395|  11.4k|        asdl_seq * b;
19396|  11.4k|        if (
19397|  11.4k|            (a = star_target_rule(p))  // star_target
  ------------------
  |  Branch (19397:13): [True: 1.74k, False: 9.71k]
  ------------------
19398|  1.74k|            &&
19399|  1.74k|            (b = _loop1_100_rule(p))  // ((',' star_target))+
  ------------------
  |  Branch (19399:13): [True: 528, False: 1.21k]
  ------------------
19400|    528|            &&
19401|    528|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (19401:13): [True: 528, False: 0]
  ------------------
19402|  11.4k|        )
19403|    528|        {
19404|    528|            D(fprintf(stderr, "%*c+ star_targets_tuple_seq[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_target ((',' star_target))+ ','?"));
19405|    528|            _res = ( asdl_expr_seq* ) _PyPegen_seq_insert_in_front ( p , a , b );
19406|    528|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19406:18): [True: 0, False: 528]
  |  Branch (19406:34): [True: 0, False: 528]
  |  Branch (19406:57): [True: 0, False: 0]
  ------------------
19407|      0|                p->error_indicator = 1;
19408|      0|                p->level--;
19409|      0|                return NULL;
19410|      0|            }
19411|    528|            goto done;
19412|    528|        }
19413|  10.9k|        p->mark = _mark;
19414|  10.9k|        D(fprintf(stderr, "%*c%s star_targets_tuple_seq[%d-%d]: %s failed!\n", p->level, ' ',
19415|  10.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_target ((',' star_target))+ ','?"));
19416|  10.9k|    }
19417|      0|    { // star_target ','
19418|  10.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (19418:13): [True: 0, False: 10.9k]
  ------------------
19419|      0|            p->level--;
19420|      0|            return NULL;
19421|      0|        }
19422|  10.9k|        D(fprintf(stderr, "%*c> star_targets_tuple_seq[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_target ','"));
19423|  10.9k|        Token * _literal;
19424|  10.9k|        expr_ty a;
19425|  10.9k|        if (
19426|  10.9k|            (a = star_target_rule(p))  // star_target
  ------------------
  |  Branch (19426:13): [True: 1.21k, False: 9.71k]
  ------------------
19427|  1.21k|            &&
19428|  1.21k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (19428:13): [True: 665, False: 549]
  ------------------
19429|  10.9k|        )
19430|    665|        {
19431|    665|            D(fprintf(stderr, "%*c+ star_targets_tuple_seq[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_target ','"));
19432|    665|            _res = ( asdl_expr_seq* ) _PyPegen_singleton_seq ( p , a );
19433|    665|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19433:18): [True: 0, False: 665]
  |  Branch (19433:34): [True: 0, False: 665]
  |  Branch (19433:57): [True: 0, False: 0]
  ------------------
19434|      0|                p->error_indicator = 1;
19435|      0|                p->level--;
19436|      0|                return NULL;
19437|      0|            }
19438|    665|            goto done;
19439|    665|        }
19440|  10.2k|        p->mark = _mark;
19441|  10.2k|        D(fprintf(stderr, "%*c%s star_targets_tuple_seq[%d-%d]: %s failed!\n", p->level, ' ',
19442|  10.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_target ','"));
19443|  10.2k|    }
19444|  10.2k|    _res = NULL;
19445|  11.4k|  done:
19446|  11.4k|    p->level--;
19447|  11.4k|    return _res;
19448|  10.2k|}
parser.c:_loop1_100_rule:
34880|  1.74k|{
34881|  1.74k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.48k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34881:9): [True: 0, False: 1.74k]
  |  Branch (34881:35): [True: 0, False: 1.74k]
  ------------------
34882|      0|        _Pypegen_stack_overflow(p);
34883|      0|    }
34884|  1.74k|    if (p->error_indicator) {
  ------------------
  |  Branch (34884:9): [True: 0, False: 1.74k]
  ------------------
34885|      0|        p->level--;
34886|      0|        return NULL;
34887|      0|    }
34888|  1.74k|    void *_res = NULL;
34889|  1.74k|    int _mark = p->mark;
34890|  1.74k|    void **_children = PyMem_Malloc(sizeof(void *));
34891|  1.74k|    if (!_children) {
  ------------------
  |  Branch (34891:9): [True: 0, False: 1.74k]
  ------------------
34892|      0|        p->error_indicator = 1;
34893|      0|        PyErr_NoMemory();
34894|      0|        p->level--;
34895|      0|        return NULL;
34896|      0|    }
34897|  1.74k|    Py_ssize_t _children_capacity = 1;
34898|  1.74k|    Py_ssize_t _n = 0;
34899|  1.74k|    { // (',' star_target)
34900|  1.74k|        if (p->error_indicator) {
  ------------------
  |  Branch (34900:13): [True: 0, False: 1.74k]
  ------------------
34901|      0|            p->level--;
34902|      0|            return NULL;
34903|      0|        }
34904|  1.74k|        D(fprintf(stderr, "%*c> _loop1_100[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(',' star_target)"));
34905|  1.74k|        void *_tmp_168_var;
34906|  1.74k|        while (
34907|  3.07k|            (_tmp_168_var = _tmp_168_rule(p))  // ',' star_target
  ------------------
  |  Branch (34907:13): [True: 1.33k, False: 1.74k]
  ------------------
34908|  1.74k|        )
34909|  1.33k|        {
34910|  1.33k|            _res = _tmp_168_var;
34911|  1.33k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (34911:17): [True: 209, False: 1.12k]
  ------------------
34912|    209|                _children_capacity *= 2;
34913|    209|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
34914|    209|                if (!_new_children) {
  ------------------
  |  Branch (34914:21): [True: 0, False: 209]
  ------------------
34915|      0|                    PyMem_Free(_children);
34916|      0|                    p->error_indicator = 1;
34917|      0|                    PyErr_NoMemory();
34918|      0|                    p->level--;
34919|      0|                    return NULL;
34920|      0|                }
34921|    209|                _children = _new_children;
34922|    209|            }
34923|  1.33k|            _children[_n++] = _res;
34924|  1.33k|            _mark = p->mark;
34925|  1.33k|        }
34926|  1.74k|        p->mark = _mark;
34927|  1.74k|        D(fprintf(stderr, "%*c%s _loop1_100[%d-%d]: %s failed!\n", p->level, ' ',
34928|  1.74k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(',' star_target)"));
34929|  1.74k|    }
34930|  1.74k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (34930:9): [True: 1.21k, False: 528]
  |  Branch (34930:20): [True: 0, False: 528]
  ------------------
34931|  1.21k|        PyMem_Free(_children);
34932|  1.21k|        p->level--;
34933|  1.21k|        return NULL;
34934|  1.21k|    }
34935|    528|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
34936|    528|    if (!_seq) {
  ------------------
  |  Branch (34936:9): [True: 0, False: 528]
  ------------------
34937|      0|        PyMem_Free(_children);
34938|      0|        p->error_indicator = 1;
34939|      0|        PyErr_NoMemory();
34940|      0|        p->level--;
34941|      0|        return NULL;
34942|      0|    }
34943|  1.86k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.33k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  1.86k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (34943:28): [True: 1.33k, False: 528]
  ------------------
34944|    528|    PyMem_Free(_children);
34945|    528|    p->level--;
34946|    528|    return _seq;
34947|    528|}
parser.c:_tmp_168_rule:
38938|   162k|{
38939|   162k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   324k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38939:9): [True: 0, False: 162k]
  |  Branch (38939:35): [True: 0, False: 162k]
  ------------------
38940|      0|        _Pypegen_stack_overflow(p);
38941|      0|    }
38942|   162k|    if (p->error_indicator) {
  ------------------
  |  Branch (38942:9): [True: 0, False: 162k]
  ------------------
38943|      0|        p->level--;
38944|      0|        return NULL;
38945|      0|    }
38946|   162k|    void * _res = NULL;
38947|   162k|    int _mark = p->mark;
38948|   162k|    { // ',' star_target
38949|   162k|        if (p->error_indicator) {
  ------------------
  |  Branch (38949:13): [True: 0, False: 162k]
  ------------------
38950|      0|            p->level--;
38951|      0|            return NULL;
38952|      0|        }
38953|   162k|        D(fprintf(stderr, "%*c> _tmp_168[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' star_target"));
38954|   162k|        Token * _literal;
38955|   162k|        expr_ty c;
38956|   162k|        if (
38957|   162k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (38957:13): [True: 139k, False: 22.8k]
  ------------------
38958|   139k|            &&
38959|   139k|            (c = star_target_rule(p))  // star_target
  ------------------
  |  Branch (38959:13): [True: 116k, False: 23.4k]
  ------------------
38960|   162k|        )
38961|   116k|        {
38962|   116k|            D(fprintf(stderr, "%*c+ _tmp_168[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' star_target"));
38963|   116k|            _res = c;
38964|   116k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (38964:18): [True: 0, False: 116k]
  |  Branch (38964:34): [True: 0, False: 116k]
  |  Branch (38964:57): [True: 0, False: 0]
  ------------------
38965|      0|                p->error_indicator = 1;
38966|      0|                p->level--;
38967|      0|                return NULL;
38968|      0|            }
38969|   116k|            goto done;
38970|   116k|        }
38971|  46.3k|        p->mark = _mark;
38972|  46.3k|        D(fprintf(stderr, "%*c%s _tmp_168[%d-%d]: %s failed!\n", p->level, ' ',
38973|  46.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' star_target"));
38974|  46.3k|    }
38975|  46.3k|    _res = NULL;
38976|   162k|  done:
38977|   162k|    p->level--;
38978|   162k|    return _res;
38979|  46.3k|}
parser.c:star_targets_list_seq_rule:
19329|  5.57k|{
19330|  5.57k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  11.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19330:9): [True: 0, False: 5.57k]
  |  Branch (19330:35): [True: 0, False: 5.57k]
  ------------------
19331|      0|        _Pypegen_stack_overflow(p);
19332|      0|    }
19333|  5.57k|    if (p->error_indicator) {
  ------------------
  |  Branch (19333:9): [True: 0, False: 5.57k]
  ------------------
19334|      0|        p->level--;
19335|      0|        return NULL;
19336|      0|    }
19337|  5.57k|    asdl_expr_seq* _res = NULL;
19338|  5.57k|    int _mark = p->mark;
19339|  5.57k|    { // ','.star_target+ ','?
19340|  5.57k|        if (p->error_indicator) {
  ------------------
  |  Branch (19340:13): [True: 0, False: 5.57k]
  ------------------
19341|      0|            p->level--;
19342|      0|            return NULL;
19343|      0|        }
19344|  5.57k|        D(fprintf(stderr, "%*c> star_targets_list_seq[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.star_target+ ','?"));
19345|  5.57k|        void *_opt_var;
19346|  5.57k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  5.57k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 5.57k]
  |  |  ------------------
  ------------------
19347|  5.57k|        asdl_expr_seq* a;
19348|  5.57k|        if (
19349|  5.57k|            (a = (asdl_expr_seq*)_gather_99_rule(p))  // ','.star_target+
  ------------------
  |  Branch (19349:13): [True: 2.51k, False: 3.06k]
  ------------------
19350|  2.51k|            &&
19351|  2.51k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (19351:13): [True: 2.51k, False: 0]
  ------------------
19352|  5.57k|        )
19353|  2.51k|        {
19354|  2.51k|            D(fprintf(stderr, "%*c+ star_targets_list_seq[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.star_target+ ','?"));
19355|  2.51k|            _res = a;
19356|  2.51k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19356:18): [True: 0, False: 2.51k]
  |  Branch (19356:34): [True: 0, False: 2.51k]
  |  Branch (19356:57): [True: 0, False: 0]
  ------------------
19357|      0|                p->error_indicator = 1;
19358|      0|                p->level--;
19359|      0|                return NULL;
19360|      0|            }
19361|  2.51k|            goto done;
19362|  2.51k|        }
19363|  3.06k|        p->mark = _mark;
19364|  3.06k|        D(fprintf(stderr, "%*c%s star_targets_list_seq[%d-%d]: %s failed!\n", p->level, ' ',
19365|  3.06k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.star_target+ ','?"));
19366|  3.06k|    }
19367|  3.06k|    _res = NULL;
19368|  5.57k|  done:
19369|  5.57k|    p->level--;
19370|  5.57k|    return _res;
19371|  3.06k|}
parser.c:_gather_99_rule:
34839|  5.57k|{
34840|  5.57k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  11.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34840:9): [True: 0, False: 5.57k]
  |  Branch (34840:35): [True: 0, False: 5.57k]
  ------------------
34841|      0|        _Pypegen_stack_overflow(p);
34842|      0|    }
34843|  5.57k|    if (p->error_indicator) {
  ------------------
  |  Branch (34843:9): [True: 0, False: 5.57k]
  ------------------
34844|      0|        p->level--;
34845|      0|        return NULL;
34846|      0|    }
34847|  5.57k|    asdl_seq * _res = NULL;
34848|  5.57k|    int _mark = p->mark;
34849|  5.57k|    { // star_target _loop0_98
34850|  5.57k|        if (p->error_indicator) {
  ------------------
  |  Branch (34850:13): [True: 0, False: 5.57k]
  ------------------
34851|      0|            p->level--;
34852|      0|            return NULL;
34853|      0|        }
34854|  5.57k|        D(fprintf(stderr, "%*c> _gather_99[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_target _loop0_98"));
34855|  5.57k|        expr_ty elem;
34856|  5.57k|        asdl_seq * seq;
34857|  5.57k|        if (
34858|  5.57k|            (elem = star_target_rule(p))  // star_target
  ------------------
  |  Branch (34858:13): [True: 2.51k, False: 3.06k]
  ------------------
34859|  2.51k|            &&
34860|  2.51k|            (seq = _loop0_98_rule(p))  // _loop0_98
  ------------------
  |  Branch (34860:13): [True: 2.51k, False: 0]
  ------------------
34861|  5.57k|        )
34862|  2.51k|        {
34863|  2.51k|            D(fprintf(stderr, "%*c+ _gather_99[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_target _loop0_98"));
34864|  2.51k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
34865|  2.51k|            goto done;
34866|  2.51k|        }
34867|  3.06k|        p->mark = _mark;
34868|  3.06k|        D(fprintf(stderr, "%*c%s _gather_99[%d-%d]: %s failed!\n", p->level, ' ',
34869|  3.06k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_target _loop0_98"));
34870|  3.06k|    }
34871|  3.06k|    _res = NULL;
34872|  5.57k|  done:
34873|  5.57k|    p->level--;
34874|  5.57k|    return _res;
34875|  3.06k|}
parser.c:_loop0_98_rule:
34763|  2.51k|{
34764|  2.51k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  5.02k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34764:9): [True: 0, False: 2.51k]
  |  Branch (34764:35): [True: 0, False: 2.51k]
  ------------------
34765|      0|        _Pypegen_stack_overflow(p);
34766|      0|    }
34767|  2.51k|    if (p->error_indicator) {
  ------------------
  |  Branch (34767:9): [True: 0, False: 2.51k]
  ------------------
34768|      0|        p->level--;
34769|      0|        return NULL;
34770|      0|    }
34771|  2.51k|    void *_res = NULL;
34772|  2.51k|    int _mark = p->mark;
34773|  2.51k|    void **_children = PyMem_Malloc(sizeof(void *));
34774|  2.51k|    if (!_children) {
  ------------------
  |  Branch (34774:9): [True: 0, False: 2.51k]
  ------------------
34775|      0|        p->error_indicator = 1;
34776|      0|        PyErr_NoMemory();
34777|      0|        p->level--;
34778|      0|        return NULL;
34779|      0|    }
34780|  2.51k|    Py_ssize_t _children_capacity = 1;
34781|  2.51k|    Py_ssize_t _n = 0;
34782|  2.51k|    { // ',' star_target
34783|  2.51k|        if (p->error_indicator) {
  ------------------
  |  Branch (34783:13): [True: 0, False: 2.51k]
  ------------------
34784|      0|            p->level--;
34785|      0|            return NULL;
34786|      0|        }
34787|  2.51k|        D(fprintf(stderr, "%*c> _loop0_98[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' star_target"));
34788|  2.51k|        Token * _literal;
34789|  2.51k|        expr_ty elem;
34790|  2.51k|        while (
34791|  4.28k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (34791:13): [True: 2.62k, False: 1.66k]
  ------------------
34792|  2.62k|            &&
34793|  2.62k|            (elem = star_target_rule(p))  // star_target
  ------------------
  |  Branch (34793:13): [True: 1.76k, False: 853]
  ------------------
34794|  2.51k|        )
34795|  1.76k|        {
34796|  1.76k|            _res = elem;
34797|  1.76k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (34797:18): [True: 0, False: 1.76k]
  |  Branch (34797:34): [True: 0, False: 1.76k]
  |  Branch (34797:57): [True: 0, False: 0]
  ------------------
34798|      0|                p->error_indicator = 1;
34799|      0|                PyMem_Free(_children);
34800|      0|                p->level--;
34801|      0|                return NULL;
34802|      0|            }
34803|  1.76k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (34803:17): [True: 463, False: 1.30k]
  ------------------
34804|    463|                _children_capacity *= 2;
34805|    463|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
34806|    463|                if (!_new_children) {
  ------------------
  |  Branch (34806:21): [True: 0, False: 463]
  ------------------
34807|      0|                    PyMem_Free(_children);
34808|      0|                    p->error_indicator = 1;
34809|      0|                    PyErr_NoMemory();
34810|      0|                    p->level--;
34811|      0|                    return NULL;
34812|      0|                }
34813|    463|                _children = _new_children;
34814|    463|            }
34815|  1.76k|            _children[_n++] = _res;
34816|  1.76k|            _mark = p->mark;
34817|  1.76k|        }
34818|  2.51k|        p->mark = _mark;
34819|  2.51k|        D(fprintf(stderr, "%*c%s _loop0_98[%d-%d]: %s failed!\n", p->level, ' ',
34820|  2.51k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' star_target"));
34821|  2.51k|    }
34822|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
34823|  2.51k|    if (!_seq) {
  ------------------
  |  Branch (34823:9): [True: 0, False: 2.51k]
  ------------------
34824|      0|        PyMem_Free(_children);
34825|      0|        p->error_indicator = 1;
34826|      0|        PyErr_NoMemory();
34827|      0|        p->level--;
34828|      0|        return NULL;
34829|      0|    }
34830|  4.28k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.76k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  4.28k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (34830:28): [True: 1.76k, False: 2.51k]
  ------------------
34831|  2.51k|    PyMem_Free(_children);
34832|  2.51k|    p->level--;
34833|  2.51k|    return _seq;
34834|  2.51k|}
parser.c:_loop0_97_rule:
34696|  44.6k|{
34697|  44.6k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  89.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34697:9): [True: 0, False: 44.6k]
  |  Branch (34697:35): [True: 0, False: 44.6k]
  ------------------
34698|      0|        _Pypegen_stack_overflow(p);
34699|      0|    }
34700|  44.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (34700:9): [True: 0, False: 44.6k]
  ------------------
34701|      0|        p->level--;
34702|      0|        return NULL;
34703|      0|    }
34704|  44.6k|    void *_res = NULL;
34705|  44.6k|    int _mark = p->mark;
34706|  44.6k|    void **_children = PyMem_Malloc(sizeof(void *));
34707|  44.6k|    if (!_children) {
  ------------------
  |  Branch (34707:9): [True: 0, False: 44.6k]
  ------------------
34708|      0|        p->error_indicator = 1;
34709|      0|        PyErr_NoMemory();
34710|      0|        p->level--;
34711|      0|        return NULL;
34712|      0|    }
34713|  44.6k|    Py_ssize_t _children_capacity = 1;
34714|  44.6k|    Py_ssize_t _n = 0;
34715|  44.6k|    { // (',' star_target)
34716|  44.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (34716:13): [True: 0, False: 44.6k]
  ------------------
34717|      0|            p->level--;
34718|      0|            return NULL;
34719|      0|        }
34720|  44.6k|        D(fprintf(stderr, "%*c> _loop0_97[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(',' star_target)"));
34721|  44.6k|        void *_tmp_168_var;
34722|  44.6k|        while (
34723|   159k|            (_tmp_168_var = _tmp_168_rule(p))  // ',' star_target
  ------------------
  |  Branch (34723:13): [True: 114k, False: 44.6k]
  ------------------
34724|  44.6k|        )
34725|   114k|        {
34726|   114k|            _res = _tmp_168_var;
34727|   114k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (34727:17): [True: 28.4k, False: 86.2k]
  ------------------
34728|  28.4k|                _children_capacity *= 2;
34729|  28.4k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
34730|  28.4k|                if (!_new_children) {
  ------------------
  |  Branch (34730:21): [True: 0, False: 28.4k]
  ------------------
34731|      0|                    PyMem_Free(_children);
34732|      0|                    p->error_indicator = 1;
34733|      0|                    PyErr_NoMemory();
34734|      0|                    p->level--;
34735|      0|                    return NULL;
34736|      0|                }
34737|  28.4k|                _children = _new_children;
34738|  28.4k|            }
34739|   114k|            _children[_n++] = _res;
34740|   114k|            _mark = p->mark;
34741|   114k|        }
34742|  44.6k|        p->mark = _mark;
34743|  44.6k|        D(fprintf(stderr, "%*c%s _loop0_97[%d-%d]: %s failed!\n", p->level, ' ',
34744|  44.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(',' star_target)"));
34745|  44.6k|    }
34746|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
34747|  44.6k|    if (!_seq) {
  ------------------
  |  Branch (34747:9): [True: 0, False: 44.6k]
  ------------------
34748|      0|        PyMem_Free(_children);
34749|      0|        p->error_indicator = 1;
34750|      0|        PyErr_NoMemory();
34751|      0|        p->level--;
34752|      0|        return NULL;
34753|      0|    }
34754|   159k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|   114k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|   159k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (34754:28): [True: 114k, False: 44.6k]
  ------------------
34755|  44.6k|    PyMem_Free(_children);
34756|  44.6k|    p->level--;
34757|  44.6k|    return _seq;
34758|  44.6k|}
parser.c:_loop0_88_rule:
34153|  28.1k|{
34154|  28.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  56.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34154:9): [True: 0, False: 28.1k]
  |  Branch (34154:35): [True: 0, False: 28.1k]
  ------------------
34155|      0|        _Pypegen_stack_overflow(p);
34156|      0|    }
34157|  28.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (34157:9): [True: 0, False: 28.1k]
  ------------------
34158|      0|        p->level--;
34159|      0|        return NULL;
34160|      0|    }
34161|  28.1k|    void *_res = NULL;
34162|  28.1k|    int _mark = p->mark;
34163|  28.1k|    void **_children = PyMem_Malloc(sizeof(void *));
34164|  28.1k|    if (!_children) {
  ------------------
  |  Branch (34164:9): [True: 0, False: 28.1k]
  ------------------
34165|      0|        p->error_indicator = 1;
34166|      0|        PyErr_NoMemory();
34167|      0|        p->level--;
34168|      0|        return NULL;
34169|      0|    }
34170|  28.1k|    Py_ssize_t _children_capacity = 1;
34171|  28.1k|    Py_ssize_t _n = 0;
34172|  28.1k|    { // ('if' disjunction)
34173|  28.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (34173:13): [True: 0, False: 28.1k]
  ------------------
34174|      0|            p->level--;
34175|      0|            return NULL;
34176|      0|        }
34177|  28.1k|        D(fprintf(stderr, "%*c> _loop0_88[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('if' disjunction)"));
34178|  28.1k|        void *_tmp_166_var;
34179|  28.1k|        while (
34180|  31.1k|            (_tmp_166_var = _tmp_166_rule(p))  // 'if' disjunction
  ------------------
  |  Branch (34180:13): [True: 3.04k, False: 28.1k]
  ------------------
34181|  28.1k|        )
34182|  3.04k|        {
34183|  3.04k|            _res = _tmp_166_var;
34184|  3.04k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (34184:17): [True: 1.20k, False: 1.83k]
  ------------------
34185|  1.20k|                _children_capacity *= 2;
34186|  1.20k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
34187|  1.20k|                if (!_new_children) {
  ------------------
  |  Branch (34187:21): [True: 0, False: 1.20k]
  ------------------
34188|      0|                    PyMem_Free(_children);
34189|      0|                    p->error_indicator = 1;
34190|      0|                    PyErr_NoMemory();
34191|      0|                    p->level--;
34192|      0|                    return NULL;
34193|      0|                }
34194|  1.20k|                _children = _new_children;
34195|  1.20k|            }
34196|  3.04k|            _children[_n++] = _res;
34197|  3.04k|            _mark = p->mark;
34198|  3.04k|        }
34199|  28.1k|        p->mark = _mark;
34200|  28.1k|        D(fprintf(stderr, "%*c%s _loop0_88[%d-%d]: %s failed!\n", p->level, ' ',
34201|  28.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('if' disjunction)"));
34202|  28.1k|    }
34203|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
34204|  28.1k|    if (!_seq) {
  ------------------
  |  Branch (34204:9): [True: 0, False: 28.1k]
  ------------------
34205|      0|        PyMem_Free(_children);
34206|      0|        p->error_indicator = 1;
34207|      0|        PyErr_NoMemory();
34208|      0|        p->level--;
34209|      0|        return NULL;
34210|      0|    }
34211|  31.1k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  3.04k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  31.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (34211:28): [True: 3.04k, False: 28.1k]
  ------------------
34212|  28.1k|    PyMem_Free(_children);
34213|  28.1k|    p->level--;
34214|  28.1k|    return _seq;
34215|  28.1k|}
parser.c:_tmp_166_rule:
38833|  31.1k|{
38834|  31.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  62.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38834:9): [True: 0, False: 31.1k]
  |  Branch (38834:35): [True: 0, False: 31.1k]
  ------------------
38835|      0|        _Pypegen_stack_overflow(p);
38836|      0|    }
38837|  31.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (38837:9): [True: 0, False: 31.1k]
  ------------------
38838|      0|        p->level--;
38839|      0|        return NULL;
38840|      0|    }
38841|  31.1k|    void * _res = NULL;
38842|  31.1k|    int _mark = p->mark;
38843|  31.1k|    { // 'if' disjunction
38844|  31.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (38844:13): [True: 0, False: 31.1k]
  ------------------
38845|      0|            p->level--;
38846|      0|            return NULL;
38847|      0|        }
38848|  31.1k|        D(fprintf(stderr, "%*c> _tmp_166[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'if' disjunction"));
38849|  31.1k|        Token * _keyword;
38850|  31.1k|        expr_ty z;
38851|  31.1k|        if (
38852|  31.1k|            (_keyword = _PyPegen_expect_token(p, 700))  // token='if'
  ------------------
  |  Branch (38852:13): [True: 3.55k, False: 27.6k]
  ------------------
38853|  3.55k|            &&
38854|  3.55k|            (z = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (38854:13): [True: 3.04k, False: 513]
  ------------------
38855|  31.1k|        )
38856|  3.04k|        {
38857|  3.04k|            D(fprintf(stderr, "%*c+ _tmp_166[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'if' disjunction"));
38858|  3.04k|            _res = z;
38859|  3.04k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (38859:18): [True: 0, False: 3.04k]
  |  Branch (38859:34): [True: 0, False: 3.04k]
  |  Branch (38859:57): [True: 0, False: 0]
  ------------------
38860|      0|                p->error_indicator = 1;
38861|      0|                p->level--;
38862|      0|                return NULL;
38863|      0|            }
38864|  3.04k|            goto done;
38865|  3.04k|        }
38866|  28.1k|        p->mark = _mark;
38867|  28.1k|        D(fprintf(stderr, "%*c%s _tmp_166[%d-%d]: %s failed!\n", p->level, ' ',
38868|  28.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'if' disjunction"));
38869|  28.1k|    }
38870|  28.1k|    _res = NULL;
38871|  31.1k|  done:
38872|  31.1k|    p->level--;
38873|  31.1k|    return _res;
38874|  28.1k|}
parser.c:invalid_for_if_clause_rule:
24199|  84.3k|{
24200|  84.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   168k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24200:9): [True: 0, False: 84.3k]
  |  Branch (24200:35): [True: 0, False: 84.3k]
  ------------------
24201|      0|        _Pypegen_stack_overflow(p);
24202|      0|    }
24203|  84.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (24203:9): [True: 0, False: 84.3k]
  ------------------
24204|      0|        p->level--;
24205|      0|        return NULL;
24206|      0|    }
24207|  84.3k|    void * _res = NULL;
24208|  84.3k|    int _mark = p->mark;
24209|  84.3k|    { // 'async'? 'for' (bitwise_or ((',' bitwise_or))* ','?) !'in'
24210|  84.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (24210:13): [True: 0, False: 84.3k]
  ------------------
24211|      0|            p->level--;
24212|      0|            return NULL;
24213|      0|        }
24214|  84.3k|        D(fprintf(stderr, "%*c> invalid_for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'for' (bitwise_or ((',' bitwise_or))* ','?) !'in'"));
24215|  84.3k|        Token * _keyword;
24216|  84.3k|        void *_opt_var;
24217|  84.3k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  84.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 84.3k]
  |  |  ------------------
  ------------------
24218|  84.3k|        void *_tmp_136_var;
24219|  84.3k|        if (
24220|  84.3k|            (_opt_var = _PyPegen_expect_token(p, 716), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (24220:13): [True: 84.3k, False: 0]
  ------------------
24221|  84.3k|            &&
24222|  84.3k|            (_keyword = _PyPegen_expect_token(p, 712))  // token='for'
  ------------------
  |  Branch (24222:13): [True: 3.14k, False: 81.2k]
  ------------------
24223|  3.14k|            &&
24224|  3.14k|            (_tmp_136_var = _tmp_136_rule(p))  // bitwise_or ((',' bitwise_or))* ','?
  ------------------
  |  Branch (24224:13): [True: 64, False: 3.08k]
  ------------------
24225|     64|            &&
24226|     64|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 713)  // token='in'
  ------------------
  |  Branch (24226:13): [True: 38, False: 26]
  ------------------
24227|  84.3k|        )
24228|     38|        {
24229|     38|            D(fprintf(stderr, "%*c+ invalid_for_if_clause[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'? 'for' (bitwise_or ((',' bitwise_or))* ','?) !'in'"));
24230|     38|            _res = RAISE_SYNTAX_ERROR ( "'in' expected after for-loop variables" );
  ------------------
  |  |  207|     38|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
24231|     38|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24231:18): [True: 38, False: 0]
  |  Branch (24231:34): [True: 0, False: 0]
  |  Branch (24231:57): [True: 38, False: 0]
  ------------------
24232|     38|                p->error_indicator = 1;
24233|     38|                p->level--;
24234|     38|                return NULL;
24235|     38|            }
24236|      0|            goto done;
24237|     38|        }
24238|  84.3k|        p->mark = _mark;
24239|  84.3k|        D(fprintf(stderr, "%*c%s invalid_for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
24240|  84.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'for' (bitwise_or ((',' bitwise_or))* ','?) !'in'"));
24241|  84.3k|    }
24242|  84.3k|    _res = NULL;
24243|  84.3k|  done:
24244|  84.3k|    p->level--;
24245|  84.3k|    return _res;
24246|  84.3k|}
parser.c:_tmp_136_rule:
37076|  3.14k|{
37077|  3.14k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  6.28k|#  define MAXSTACK 6000
  ------------------
  |  Branch (37077:9): [True: 0, False: 3.14k]
  |  Branch (37077:35): [True: 0, False: 3.14k]
  ------------------
37078|      0|        _Pypegen_stack_overflow(p);
37079|      0|    }
37080|  3.14k|    if (p->error_indicator) {
  ------------------
  |  Branch (37080:9): [True: 0, False: 3.14k]
  ------------------
37081|      0|        p->level--;
37082|      0|        return NULL;
37083|      0|    }
37084|  3.14k|    void * _res = NULL;
37085|  3.14k|    int _mark = p->mark;
37086|  3.14k|    { // bitwise_or ((',' bitwise_or))* ','?
37087|  3.14k|        if (p->error_indicator) {
  ------------------
  |  Branch (37087:13): [True: 0, False: 3.14k]
  ------------------
37088|      0|            p->level--;
37089|      0|            return NULL;
37090|      0|        }
37091|  3.14k|        D(fprintf(stderr, "%*c> _tmp_136[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or ((',' bitwise_or))* ','?"));
37092|  3.14k|        asdl_seq * _loop0_174_var;
37093|  3.14k|        void *_opt_var;
37094|  3.14k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  3.14k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.14k]
  |  |  ------------------
  ------------------
37095|  3.14k|        expr_ty bitwise_or_var;
37096|  3.14k|        if (
37097|  3.14k|            (bitwise_or_var = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (37097:13): [True: 1.09k, False: 2.05k]
  ------------------
37098|  1.09k|            &&
37099|  1.09k|            (_loop0_174_var = _loop0_174_rule(p))  // ((',' bitwise_or))*
  ------------------
  |  Branch (37099:13): [True: 1.09k, False: 0]
  ------------------
37100|  1.09k|            &&
37101|  1.09k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (37101:13): [True: 64, False: 1.02k]
  ------------------
37102|  3.14k|        )
37103|     64|        {
37104|     64|            D(fprintf(stderr, "%*c+ _tmp_136[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or ((',' bitwise_or))* ','?"));
37105|     64|            _res = _PyPegen_dummy_name(p, bitwise_or_var, _loop0_174_var, _opt_var);
37106|     64|            goto done;
37107|     64|        }
37108|  3.08k|        p->mark = _mark;
37109|  3.08k|        D(fprintf(stderr, "%*c%s _tmp_136[%d-%d]: %s failed!\n", p->level, ' ',
37110|  3.08k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or ((',' bitwise_or))* ','?"));
37111|  3.08k|    }
37112|  3.08k|    _res = NULL;
37113|  3.14k|  done:
37114|  3.14k|    p->level--;
37115|  3.14k|    return _res;
37116|  3.08k|}
parser.c:_loop0_174_rule:
39223|  1.09k|{
39224|  1.09k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.18k|#  define MAXSTACK 6000
  ------------------
  |  Branch (39224:9): [True: 0, False: 1.09k]
  |  Branch (39224:35): [True: 0, False: 1.09k]
  ------------------
39225|      0|        _Pypegen_stack_overflow(p);
39226|      0|    }
39227|  1.09k|    if (p->error_indicator) {
  ------------------
  |  Branch (39227:9): [True: 0, False: 1.09k]
  ------------------
39228|      0|        p->level--;
39229|      0|        return NULL;
39230|      0|    }
39231|  1.09k|    void *_res = NULL;
39232|  1.09k|    int _mark = p->mark;
39233|  1.09k|    void **_children = PyMem_Malloc(sizeof(void *));
39234|  1.09k|    if (!_children) {
  ------------------
  |  Branch (39234:9): [True: 0, False: 1.09k]
  ------------------
39235|      0|        p->error_indicator = 1;
39236|      0|        PyErr_NoMemory();
39237|      0|        p->level--;
39238|      0|        return NULL;
39239|      0|    }
39240|  1.09k|    Py_ssize_t _children_capacity = 1;
39241|  1.09k|    Py_ssize_t _n = 0;
39242|  1.09k|    { // (',' bitwise_or)
39243|  1.09k|        if (p->error_indicator) {
  ------------------
  |  Branch (39243:13): [True: 0, False: 1.09k]
  ------------------
39244|      0|            p->level--;
39245|      0|            return NULL;
39246|      0|        }
39247|  1.09k|        D(fprintf(stderr, "%*c> _loop0_174[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(',' bitwise_or)"));
39248|  1.09k|        void *_tmp_179_var;
39249|  1.09k|        while (
39250|  2.26k|            (_tmp_179_var = _tmp_179_rule(p))  // ',' bitwise_or
  ------------------
  |  Branch (39250:13): [True: 1.17k, False: 1.09k]
  ------------------
39251|  1.09k|        )
39252|  1.17k|        {
39253|  1.17k|            _res = _tmp_179_var;
39254|  1.17k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (39254:17): [True: 470, False: 700]
  ------------------
39255|    470|                _children_capacity *= 2;
39256|    470|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
39257|    470|                if (!_new_children) {
  ------------------
  |  Branch (39257:21): [True: 0, False: 470]
  ------------------
39258|      0|                    PyMem_Free(_children);
39259|      0|                    p->error_indicator = 1;
39260|      0|                    PyErr_NoMemory();
39261|      0|                    p->level--;
39262|      0|                    return NULL;
39263|      0|                }
39264|    470|                _children = _new_children;
39265|    470|            }
39266|  1.17k|            _children[_n++] = _res;
39267|  1.17k|            _mark = p->mark;
39268|  1.17k|        }
39269|  1.09k|        p->mark = _mark;
39270|  1.09k|        D(fprintf(stderr, "%*c%s _loop0_174[%d-%d]: %s failed!\n", p->level, ' ',
39271|  1.09k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(',' bitwise_or)"));
39272|  1.09k|    }
39273|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
39274|  1.09k|    if (!_seq) {
  ------------------
  |  Branch (39274:9): [True: 0, False: 1.09k]
  ------------------
39275|      0|        PyMem_Free(_children);
39276|      0|        p->error_indicator = 1;
39277|      0|        PyErr_NoMemory();
39278|      0|        p->level--;
39279|      0|        return NULL;
39280|      0|    }
39281|  2.26k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.17k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  2.26k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (39281:28): [True: 1.17k, False: 1.09k]
  ------------------
39282|  1.09k|    PyMem_Free(_children);
39283|  1.09k|    p->level--;
39284|  1.09k|    return _seq;
39285|  1.09k|}
parser.c:_tmp_179_rule:
39528|  2.26k|{
39529|  2.26k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.52k|#  define MAXSTACK 6000
  ------------------
  |  Branch (39529:9): [True: 0, False: 2.26k]
  |  Branch (39529:35): [True: 0, False: 2.26k]
  ------------------
39530|      0|        _Pypegen_stack_overflow(p);
39531|      0|    }
39532|  2.26k|    if (p->error_indicator) {
  ------------------
  |  Branch (39532:9): [True: 0, False: 2.26k]
  ------------------
39533|      0|        p->level--;
39534|      0|        return NULL;
39535|      0|    }
39536|  2.26k|    void * _res = NULL;
39537|  2.26k|    int _mark = p->mark;
39538|  2.26k|    { // ',' bitwise_or
39539|  2.26k|        if (p->error_indicator) {
  ------------------
  |  Branch (39539:13): [True: 0, False: 2.26k]
  ------------------
39540|      0|            p->level--;
39541|      0|            return NULL;
39542|      0|        }
39543|  2.26k|        D(fprintf(stderr, "%*c> _tmp_179[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' bitwise_or"));
39544|  2.26k|        Token * _literal;
39545|  2.26k|        expr_ty bitwise_or_var;
39546|  2.26k|        if (
39547|  2.26k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (39547:13): [True: 2.20k, False: 59]
  ------------------
39548|  2.20k|            &&
39549|  2.20k|            (bitwise_or_var = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (39549:13): [True: 1.17k, False: 1.03k]
  ------------------
39550|  2.26k|        )
39551|  1.17k|        {
39552|  1.17k|            D(fprintf(stderr, "%*c+ _tmp_179[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' bitwise_or"));
39553|  1.17k|            _res = _PyPegen_dummy_name(p, _literal, bitwise_or_var);
39554|  1.17k|            goto done;
39555|  1.17k|        }
39556|  1.09k|        p->mark = _mark;
39557|  1.09k|        D(fprintf(stderr, "%*c%s _tmp_179[%d-%d]: %s failed!\n", p->level, ' ',
39558|  1.09k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' bitwise_or"));
39559|  1.09k|    }
39560|  1.09k|    _res = NULL;
39561|  2.26k|  done:
39562|  2.26k|    p->level--;
39563|  2.26k|    return _res;
39564|  1.09k|}
parser.c:invalid_for_target_rule:
24251|  83.4k|{
24252|  83.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   166k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24252:9): [True: 0, False: 83.4k]
  |  Branch (24252:35): [True: 0, False: 83.4k]
  ------------------
24253|      0|        _Pypegen_stack_overflow(p);
24254|      0|    }
24255|  83.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (24255:9): [True: 0, False: 83.4k]
  ------------------
24256|      0|        p->level--;
24257|      0|        return NULL;
24258|      0|    }
24259|  83.4k|    void * _res = NULL;
24260|  83.4k|    int _mark = p->mark;
24261|  83.4k|    { // 'async'? 'for' star_expressions
24262|  83.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (24262:13): [True: 0, False: 83.4k]
  ------------------
24263|      0|            p->level--;
24264|      0|            return NULL;
24265|      0|        }
24266|  83.4k|        D(fprintf(stderr, "%*c> invalid_for_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'for' star_expressions"));
24267|  83.4k|        Token * _keyword;
24268|  83.4k|        void *_opt_var;
24269|  83.4k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  83.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 83.4k]
  |  |  ------------------
  ------------------
24270|  83.4k|        expr_ty a;
24271|  83.4k|        if (
24272|  83.4k|            (_opt_var = _PyPegen_expect_token(p, 716), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (24272:13): [True: 83.4k, False: 0]
  ------------------
24273|  83.4k|            &&
24274|  83.4k|            (_keyword = _PyPegen_expect_token(p, 712))  // token='for'
  ------------------
  |  Branch (24274:13): [True: 2.09k, False: 81.3k]
  ------------------
24275|  2.09k|            &&
24276|  2.09k|            (a = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (24276:13): [True: 919, False: 1.17k]
  ------------------
24277|  83.4k|        )
24278|    919|        {
24279|    919|            D(fprintf(stderr, "%*c+ invalid_for_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'? 'for' star_expressions"));
24280|    919|            _res = RAISE_SYNTAX_ERROR_INVALID_TARGET ( FOR_TARGETS , a );
  ------------------
  |  |  216|    919|#define RAISE_SYNTAX_ERROR_INVALID_TARGET(type, e) _RAISE_SYNTAX_ERROR_INVALID_TARGET(p, type, e)
  ------------------
24281|    919|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24281:18): [True: 919, False: 0]
  |  Branch (24281:34): [True: 0, False: 0]
  |  Branch (24281:57): [True: 11, False: 908]
  ------------------
24282|     11|                p->error_indicator = 1;
24283|     11|                p->level--;
24284|     11|                return NULL;
24285|     11|            }
24286|    908|            goto done;
24287|    919|        }
24288|  82.5k|        p->mark = _mark;
24289|  82.5k|        D(fprintf(stderr, "%*c%s invalid_for_target[%d-%d]: %s failed!\n", p->level, ' ',
24290|  82.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'for' star_expressions"));
24291|  82.5k|    }
24292|  82.5k|    _res = NULL;
24293|  83.4k|  done:
24294|  83.4k|    p->level--;
24295|  83.4k|    return _res;
24296|  82.5k|}
parser.c:star_expressions_rule:
11876|   511k|{
11877|   511k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.02M|#  define MAXSTACK 6000
  ------------------
  |  Branch (11877:9): [True: 0, False: 511k]
  |  Branch (11877:35): [True: 0, False: 511k]
  ------------------
11878|      0|        _Pypegen_stack_overflow(p);
11879|      0|    }
11880|   511k|    if (p->error_indicator) {
  ------------------
  |  Branch (11880:9): [True: 0, False: 511k]
  ------------------
11881|      0|        p->level--;
11882|      0|        return NULL;
11883|      0|    }
11884|   511k|    expr_ty _res = NULL;
11885|   511k|    int _mark = p->mark;
11886|   511k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11886:9): [True: 3.36k, False: 508k]
  |  Branch (11886:31): [True: 2, False: 3.36k]
  ------------------
11887|      2|        p->error_indicator = 1;
11888|      2|        p->level--;
11889|      2|        return NULL;
11890|      2|    }
11891|   511k|    int _start_lineno = p->tokens[_mark]->lineno;
11892|   511k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   511k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 511k]
  |  |  ------------------
  ------------------
11893|   511k|    int _start_col_offset = p->tokens[_mark]->col_offset;
11894|   511k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   511k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 511k]
  |  |  ------------------
  ------------------
11895|   511k|    { // star_expression ((',' star_expression))+ ','?
11896|   511k|        if (p->error_indicator) {
  ------------------
  |  Branch (11896:13): [True: 0, False: 511k]
  ------------------
11897|      0|            p->level--;
11898|      0|            return NULL;
11899|      0|        }
11900|   511k|        D(fprintf(stderr, "%*c> star_expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expression ((',' star_expression))+ ','?"));
11901|   511k|        void *_opt_var;
11902|   511k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|   511k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 511k]
  |  |  ------------------
  ------------------
11903|   511k|        expr_ty a;
11904|   511k|        asdl_seq * b;
11905|   511k|        if (
11906|   511k|            (a = star_expression_rule(p))  // star_expression
  ------------------
  |  Branch (11906:13): [True: 317k, False: 194k]
  ------------------
11907|   317k|            &&
11908|   317k|            (b = _loop1_56_rule(p))  // ((',' star_expression))+
  ------------------
  |  Branch (11908:13): [True: 19.1k, False: 297k]
  ------------------
11909|  19.1k|            &&
11910|  19.1k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (11910:13): [True: 19.1k, False: 0]
  ------------------
11911|   511k|        )
11912|  19.1k|        {
11913|  19.1k|            D(fprintf(stderr, "%*c+ star_expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expression ((',' star_expression))+ ','?"));
11914|  19.1k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11915|  19.1k|            if (_token == NULL) {
  ------------------
  |  Branch (11915:17): [True: 0, False: 19.1k]
  ------------------
11916|      0|                p->level--;
11917|      0|                return NULL;
11918|      0|            }
11919|  19.1k|            int _end_lineno = _token->end_lineno;
11920|  19.1k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  19.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 19.1k]
  |  |  ------------------
  ------------------
11921|  19.1k|            int _end_col_offset = _token->end_col_offset;
11922|  19.1k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  19.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 19.1k]
  |  |  ------------------
  ------------------
11923|  19.1k|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , Load , EXTRA );
  ------------------
  |  |  245|  19.1k|#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 );
  ------------------
  |  |  281|  19.1k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11924|  19.1k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11924:18): [True: 0, False: 19.1k]
  |  Branch (11924:34): [True: 0, False: 19.1k]
  |  Branch (11924:57): [True: 0, False: 0]
  ------------------
11925|      0|                p->error_indicator = 1;
11926|      0|                p->level--;
11927|      0|                return NULL;
11928|      0|            }
11929|  19.1k|            goto done;
11930|  19.1k|        }
11931|   492k|        p->mark = _mark;
11932|   492k|        D(fprintf(stderr, "%*c%s star_expressions[%d-%d]: %s failed!\n", p->level, ' ',
11933|   492k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expression ((',' star_expression))+ ','?"));
11934|   492k|    }
11935|      0|    { // star_expression ','
11936|   492k|        if (p->error_indicator) {
  ------------------
  |  Branch (11936:13): [True: 17.4k, False: 474k]
  ------------------
11937|  17.4k|            p->level--;
11938|  17.4k|            return NULL;
11939|  17.4k|        }
11940|   474k|        D(fprintf(stderr, "%*c> star_expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expression ','"));
11941|   474k|        Token * _literal;
11942|   474k|        expr_ty a;
11943|   474k|        if (
11944|   474k|            (a = star_expression_rule(p))  // star_expression
  ------------------
  |  Branch (11944:13): [True: 297k, False: 177k]
  ------------------
11945|   297k|            &&
11946|   297k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (11946:13): [True: 6.06k, False: 291k]
  ------------------
11947|   474k|        )
11948|  6.06k|        {
11949|  6.06k|            D(fprintf(stderr, "%*c+ star_expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expression ','"));
11950|  6.06k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11951|  6.06k|            if (_token == NULL) {
  ------------------
  |  Branch (11951:17): [True: 0, False: 6.06k]
  ------------------
11952|      0|                p->level--;
11953|      0|                return NULL;
11954|      0|            }
11955|  6.06k|            int _end_lineno = _token->end_lineno;
11956|  6.06k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  6.06k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 6.06k]
  |  |  ------------------
  ------------------
11957|  6.06k|            int _end_col_offset = _token->end_col_offset;
11958|  6.06k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  6.06k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 6.06k]
  |  |  ------------------
  ------------------
11959|  6.06k|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  245|  6.06k|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  281|  6.06k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11960|  6.06k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11960:18): [True: 0, False: 6.06k]
  |  Branch (11960:34): [True: 0, False: 6.06k]
  |  Branch (11960:57): [True: 0, False: 0]
  ------------------
11961|      0|                p->error_indicator = 1;
11962|      0|                p->level--;
11963|      0|                return NULL;
11964|      0|            }
11965|  6.06k|            goto done;
11966|  6.06k|        }
11967|   468k|        p->mark = _mark;
11968|   468k|        D(fprintf(stderr, "%*c%s star_expressions[%d-%d]: %s failed!\n", p->level, ' ',
11969|   468k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expression ','"));
11970|   468k|    }
11971|      0|    { // star_expression
11972|   468k|        if (p->error_indicator) {
  ------------------
  |  Branch (11972:13): [True: 0, False: 468k]
  ------------------
11973|      0|            p->level--;
11974|      0|            return NULL;
11975|      0|        }
11976|   468k|        D(fprintf(stderr, "%*c> star_expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expression"));
11977|   468k|        expr_ty star_expression_var;
11978|   468k|        if (
11979|   468k|            (star_expression_var = star_expression_rule(p))  // star_expression
  ------------------
  |  Branch (11979:13): [True: 291k, False: 177k]
  ------------------
11980|   468k|        )
11981|   291k|        {
11982|   291k|            D(fprintf(stderr, "%*c+ star_expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expression"));
11983|   291k|            _res = star_expression_var;
11984|   291k|            goto done;
11985|   291k|        }
11986|   177k|        p->mark = _mark;
11987|   177k|        D(fprintf(stderr, "%*c%s star_expressions[%d-%d]: %s failed!\n", p->level, ' ',
11988|   177k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expression"));
11989|   177k|    }
11990|   177k|    _res = NULL;
11991|   494k|  done:
11992|   494k|    p->level--;
11993|   494k|    return _res;
11994|   177k|}
parser.c:star_expression_rule:
11999|  1.58M|{
12000|  1.58M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.16M|#  define MAXSTACK 6000
  ------------------
  |  Branch (12000:9): [True: 1, False: 1.58M]
  |  Branch (12000:35): [True: 0, False: 1.58M]
  ------------------
12001|      1|        _Pypegen_stack_overflow(p);
12002|      1|    }
12003|  1.58M|    if (p->error_indicator) {
  ------------------
  |  Branch (12003:9): [True: 1, False: 1.58M]
  ------------------
12004|      1|        p->level--;
12005|      1|        return NULL;
12006|      1|    }
12007|  1.58M|    expr_ty _res = NULL;
12008|  1.58M|    if (_PyPegen_is_memoized(p, star_expression_type, &_res)) {
  ------------------
  |  |  202|  1.58M|#define star_expression_type 1113
  ------------------
  |  Branch (12008:9): [True: 1.05M, False: 523k]
  ------------------
12009|  1.05M|        p->level--;
12010|  1.05M|        return _res;
12011|  1.05M|    }
12012|   523k|    int _mark = p->mark;
12013|   523k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12013:9): [True: 0, False: 523k]
  |  Branch (12013:31): [True: 0, False: 0]
  ------------------
12014|      0|        p->error_indicator = 1;
12015|      0|        p->level--;
12016|      0|        return NULL;
12017|      0|    }
12018|   523k|    int _start_lineno = p->tokens[_mark]->lineno;
12019|   523k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   523k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 523k]
  |  |  ------------------
  ------------------
12020|   523k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12021|   523k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   523k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 523k]
  |  |  ------------------
  ------------------
12022|   523k|    { // '*' bitwise_or
12023|   523k|        if (p->error_indicator) {
  ------------------
  |  Branch (12023:13): [True: 0, False: 523k]
  ------------------
12024|      0|            p->level--;
12025|      0|            return NULL;
12026|      0|        }
12027|   523k|        D(fprintf(stderr, "%*c> star_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12028|   523k|        Token * _literal;
12029|   523k|        expr_ty a;
12030|   523k|        if (
12031|   523k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (12031:13): [True: 7.22k, False: 515k]
  ------------------
12032|  7.22k|            &&
12033|  7.22k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12033:13): [True: 6.45k, False: 773]
  ------------------
12034|   523k|        )
12035|  6.45k|        {
12036|  6.45k|            D(fprintf(stderr, "%*c+ star_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12037|  6.45k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12038|  6.45k|            if (_token == NULL) {
  ------------------
  |  Branch (12038:17): [True: 0, False: 6.45k]
  ------------------
12039|      0|                p->level--;
12040|      0|                return NULL;
12041|      0|            }
12042|  6.45k|            int _end_lineno = _token->end_lineno;
12043|  6.45k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  6.45k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 6.45k]
  |  |  ------------------
  ------------------
12044|  6.45k|            int _end_col_offset = _token->end_col_offset;
12045|  6.45k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  6.45k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 6.45k]
  |  |  ------------------
  ------------------
12046|  6.45k|            _res = _PyAST_Starred ( a , Load , EXTRA );
  ------------------
  |  |  281|  6.45k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12047|  6.45k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12047:18): [True: 0, False: 6.45k]
  |  Branch (12047:34): [True: 0, False: 6.45k]
  |  Branch (12047:57): [True: 0, False: 0]
  ------------------
12048|      0|                p->error_indicator = 1;
12049|      0|                p->level--;
12050|      0|                return NULL;
12051|      0|            }
12052|  6.45k|            goto done;
12053|  6.45k|        }
12054|   516k|        p->mark = _mark;
12055|   516k|        D(fprintf(stderr, "%*c%s star_expression[%d-%d]: %s failed!\n", p->level, ' ',
12056|   516k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' bitwise_or"));
12057|   516k|    }
12058|      0|    { // expression
12059|   516k|        if (p->error_indicator) {
  ------------------
  |  Branch (12059:13): [True: 254, False: 516k]
  ------------------
12060|    254|            p->level--;
12061|    254|            return NULL;
12062|    254|        }
12063|   516k|        D(fprintf(stderr, "%*c> star_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression"));
12064|   516k|        expr_ty expression_var;
12065|   516k|        if (
12066|   516k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (12066:13): [True: 343k, False: 172k]
  ------------------
12067|   516k|        )
12068|   343k|        {
12069|   343k|            D(fprintf(stderr, "%*c+ star_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression"));
12070|   343k|            _res = expression_var;
12071|   343k|            goto done;
12072|   343k|        }
12073|   172k|        p->mark = _mark;
12074|   172k|        D(fprintf(stderr, "%*c%s star_expression[%d-%d]: %s failed!\n", p->level, ' ',
12075|   172k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression"));
12076|   172k|    }
12077|   172k|    _res = NULL;
12078|   522k|  done:
12079|   522k|    _PyPegen_insert_memo(p, _mark, star_expression_type, _res);
  ------------------
  |  |  202|   522k|#define star_expression_type 1113
  ------------------
12080|   522k|    p->level--;
12081|   522k|    return _res;
12082|   172k|}
parser.c:_loop1_56_rule:
32073|   317k|{
32074|   317k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   634k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32074:9): [True: 0, False: 317k]
  |  Branch (32074:35): [True: 0, False: 317k]
  ------------------
32075|      0|        _Pypegen_stack_overflow(p);
32076|      0|    }
32077|   317k|    if (p->error_indicator) {
  ------------------
  |  Branch (32077:9): [True: 0, False: 317k]
  ------------------
32078|      0|        p->level--;
32079|      0|        return NULL;
32080|      0|    }
32081|   317k|    void *_res = NULL;
32082|   317k|    int _mark = p->mark;
32083|   317k|    void **_children = PyMem_Malloc(sizeof(void *));
32084|   317k|    if (!_children) {
  ------------------
  |  Branch (32084:9): [True: 0, False: 317k]
  ------------------
32085|      0|        p->error_indicator = 1;
32086|      0|        PyErr_NoMemory();
32087|      0|        p->level--;
32088|      0|        return NULL;
32089|      0|    }
32090|   317k|    Py_ssize_t _children_capacity = 1;
32091|   317k|    Py_ssize_t _n = 0;
32092|   317k|    { // (',' star_expression)
32093|   317k|        if (p->error_indicator) {
  ------------------
  |  Branch (32093:13): [True: 0, False: 317k]
  ------------------
32094|      0|            p->level--;
32095|      0|            return NULL;
32096|      0|        }
32097|   317k|        D(fprintf(stderr, "%*c> _loop1_56[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(',' star_expression)"));
32098|   317k|        void *_tmp_162_var;
32099|   317k|        while (
32100|   435k|            (_tmp_162_var = _tmp_162_rule(p))  // ',' star_expression
  ------------------
  |  Branch (32100:13): [True: 118k, False: 317k]
  ------------------
32101|   317k|        )
32102|   118k|        {
32103|   118k|            _res = _tmp_162_var;
32104|   118k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32104:17): [True: 24.1k, False: 94.2k]
  ------------------
32105|  24.1k|                _children_capacity *= 2;
32106|  24.1k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32107|  24.1k|                if (!_new_children) {
  ------------------
  |  Branch (32107:21): [True: 0, False: 24.1k]
  ------------------
32108|      0|                    PyMem_Free(_children);
32109|      0|                    p->error_indicator = 1;
32110|      0|                    PyErr_NoMemory();
32111|      0|                    p->level--;
32112|      0|                    return NULL;
32113|      0|                }
32114|  24.1k|                _children = _new_children;
32115|  24.1k|            }
32116|   118k|            _children[_n++] = _res;
32117|   118k|            _mark = p->mark;
32118|   118k|        }
32119|   317k|        p->mark = _mark;
32120|   317k|        D(fprintf(stderr, "%*c%s _loop1_56[%d-%d]: %s failed!\n", p->level, ' ',
32121|   317k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(',' star_expression)"));
32122|   317k|    }
32123|   317k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (32123:9): [True: 297k, False: 19.3k]
  |  Branch (32123:20): [True: 221, False: 19.1k]
  ------------------
32124|   297k|        PyMem_Free(_children);
32125|   297k|        p->level--;
32126|   297k|        return NULL;
32127|   297k|    }
32128|  19.1k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32129|  19.1k|    if (!_seq) {
  ------------------
  |  Branch (32129:9): [True: 0, False: 19.1k]
  ------------------
32130|      0|        PyMem_Free(_children);
32131|      0|        p->error_indicator = 1;
32132|      0|        PyErr_NoMemory();
32133|      0|        p->level--;
32134|      0|        return NULL;
32135|      0|    }
32136|   136k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|   117k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|   136k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32136:28): [True: 117k, False: 19.1k]
  ------------------
32137|  19.1k|    PyMem_Free(_children);
32138|  19.1k|    p->level--;
32139|  19.1k|    return _seq;
32140|  19.1k|}
parser.c:_tmp_162_rule:
38638|   435k|{
38639|   435k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   871k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38639:9): [True: 0, False: 435k]
  |  Branch (38639:35): [True: 0, False: 435k]
  ------------------
38640|      0|        _Pypegen_stack_overflow(p);
38641|      0|    }
38642|   435k|    if (p->error_indicator) {
  ------------------
  |  Branch (38642:9): [True: 0, False: 435k]
  ------------------
38643|      0|        p->level--;
38644|      0|        return NULL;
38645|      0|    }
38646|   435k|    void * _res = NULL;
38647|   435k|    int _mark = p->mark;
38648|   435k|    { // ',' star_expression
38649|   435k|        if (p->error_indicator) {
  ------------------
  |  Branch (38649:13): [True: 0, False: 435k]
  ------------------
38650|      0|            p->level--;
38651|      0|            return NULL;
38652|      0|        }
38653|   435k|        D(fprintf(stderr, "%*c> _tmp_162[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' star_expression"));
38654|   435k|        Token * _literal;
38655|   435k|        expr_ty c;
38656|   435k|        if (
38657|   435k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (38657:13): [True: 126k, False: 309k]
  ------------------
38658|   126k|            &&
38659|   126k|            (c = star_expression_rule(p))  // star_expression
  ------------------
  |  Branch (38659:13): [True: 118k, False: 7.63k]
  ------------------
38660|   435k|        )
38661|   118k|        {
38662|   118k|            D(fprintf(stderr, "%*c+ _tmp_162[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' star_expression"));
38663|   118k|            _res = c;
38664|   118k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (38664:18): [True: 0, False: 118k]
  |  Branch (38664:34): [True: 0, False: 118k]
  |  Branch (38664:57): [True: 0, False: 0]
  ------------------
38665|      0|                p->error_indicator = 1;
38666|      0|                p->level--;
38667|      0|                return NULL;
38668|      0|            }
38669|   118k|            goto done;
38670|   118k|        }
38671|   317k|        p->mark = _mark;
38672|   317k|        D(fprintf(stderr, "%*c%s _tmp_162[%d-%d]: %s failed!\n", p->level, ' ',
38673|   317k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' star_expression"));
38674|   317k|    }
38675|   317k|    _res = NULL;
38676|   435k|  done:
38677|   435k|    p->level--;
38678|   435k|    return _res;
38679|   317k|}
parser.c:invalid_comprehension_rule:
22828|   393k|{
22829|   393k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   787k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22829:9): [True: 1, False: 393k]
  |  Branch (22829:35): [True: 0, False: 393k]
  ------------------
22830|      1|        _Pypegen_stack_overflow(p);
22831|      1|    }
22832|   393k|    if (p->error_indicator) {
  ------------------
  |  Branch (22832:9): [True: 1, False: 393k]
  ------------------
22833|      1|        p->level--;
22834|      1|        return NULL;
22835|      1|    }
22836|   393k|    void * _res = NULL;
22837|   393k|    int _mark = p->mark;
22838|   393k|    { // '[' '**' expression for_if_clauses
22839|   393k|        if (p->error_indicator) {
  ------------------
  |  Branch (22839:13): [True: 0, False: 393k]
  ------------------
22840|      0|            p->level--;
22841|      0|            return NULL;
22842|      0|        }
22843|   393k|        D(fprintf(stderr, "%*c> invalid_comprehension[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' '**' expression for_if_clauses"));
22844|   393k|        Token * _literal;
22845|   393k|        Token * a;
22846|   393k|        expr_ty b;
22847|   393k|        asdl_comprehension_seq* for_if_clauses_var;
22848|   393k|        if (
22849|   393k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (22849:13): [True: 26.1k, False: 367k]
  ------------------
22850|  26.1k|            &&
22851|  26.1k|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (22851:13): [True: 573, False: 25.6k]
  ------------------
22852|    573|            &&
22853|    573|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (22853:13): [True: 209, False: 364]
  ------------------
22854|    209|            &&
22855|    209|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (22855:13): [True: 1, False: 208]
  ------------------
22856|   393k|        )
22857|      1|        {
22858|      1|            D(fprintf(stderr, "%*c+ invalid_comprehension[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' '**' expression for_if_clauses"));
22859|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use dict unpacking in list comprehension" );
  ------------------
  |  |  211|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22860|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22860:18): [True: 1, False: 0]
  |  Branch (22860:34): [True: 0, False: 0]
  |  Branch (22860:57): [True: 1, False: 0]
  ------------------
22861|      1|                p->error_indicator = 1;
22862|      1|                p->level--;
22863|      1|                return NULL;
22864|      1|            }
22865|      0|            goto done;
22866|      1|        }
22867|   393k|        p->mark = _mark;
22868|   393k|        D(fprintf(stderr, "%*c%s invalid_comprehension[%d-%d]: %s failed!\n", p->level, ' ',
22869|   393k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' '**' expression for_if_clauses"));
22870|   393k|    }
22871|      0|    { // '(' '**' expression for_if_clauses
22872|   393k|        if (p->error_indicator) {
  ------------------
  |  Branch (22872:13): [True: 329, False: 393k]
  ------------------
22873|    329|            p->level--;
22874|    329|            return NULL;
22875|    329|        }
22876|   393k|        D(fprintf(stderr, "%*c> invalid_comprehension[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' '**' expression for_if_clauses"));
22877|   393k|        Token * _literal;
22878|   393k|        Token * a;
22879|   393k|        expr_ty b;
22880|   393k|        asdl_comprehension_seq* for_if_clauses_var;
22881|   393k|        if (
22882|   393k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (22882:13): [True: 44.5k, False: 348k]
  ------------------
22883|  44.5k|            &&
22884|  44.5k|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (22884:13): [True: 3.01k, False: 41.5k]
  ------------------
22885|  3.01k|            &&
22886|  3.01k|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (22886:13): [True: 2.61k, False: 395]
  ------------------
22887|  2.61k|            &&
22888|  2.61k|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (22888:13): [True: 2, False: 2.61k]
  ------------------
22889|   393k|        )
22890|      2|        {
22891|      2|            D(fprintf(stderr, "%*c+ invalid_comprehension[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' '**' expression for_if_clauses"));
22892|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use dict unpacking in generator expression" );
  ------------------
  |  |  211|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22893|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22893:18): [True: 2, False: 0]
  |  Branch (22893:34): [True: 0, False: 0]
  |  Branch (22893:57): [True: 2, False: 0]
  ------------------
22894|      2|                p->error_indicator = 1;
22895|      2|                p->level--;
22896|      2|                return NULL;
22897|      2|            }
22898|      0|            goto done;
22899|      2|        }
22900|   393k|        p->mark = _mark;
22901|   393k|        D(fprintf(stderr, "%*c%s invalid_comprehension[%d-%d]: %s failed!\n", p->level, ' ',
22902|   393k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' '**' expression for_if_clauses"));
22903|   393k|    }
22904|      0|    { // ('[' | '{') star_named_expression ',' star_named_expressions for_if_clauses
22905|   393k|        if (p->error_indicator) {
  ------------------
  |  Branch (22905:13): [True: 190, False: 393k]
  ------------------
22906|    190|            p->level--;
22907|    190|            return NULL;
22908|    190|        }
22909|   393k|        D(fprintf(stderr, "%*c> invalid_comprehension[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('[' | '{') star_named_expression ',' star_named_expressions for_if_clauses"));
22910|   393k|        Token * _literal;
22911|   393k|        void *_tmp_123_var;
22912|   393k|        expr_ty a;
22913|   393k|        asdl_expr_seq* b;
22914|   393k|        asdl_comprehension_seq* for_if_clauses_var;
22915|   393k|        if (
22916|   393k|            (_tmp_123_var = _tmp_123_rule(p))  // '[' | '{'
  ------------------
  |  Branch (22916:13): [True: 37.5k, False: 355k]
  ------------------
22917|  37.5k|            &&
22918|  37.5k|            (a = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (22918:13): [True: 21.2k, False: 16.2k]
  ------------------
22919|  21.2k|            &&
22920|  21.2k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (22920:13): [True: 6.59k, False: 14.6k]
  ------------------
22921|  6.59k|            &&
22922|  6.59k|            (b = star_named_expressions_rule(p))  // star_named_expressions
  ------------------
  |  Branch (22922:13): [True: 2.92k, False: 3.67k]
  ------------------
22923|  2.92k|            &&
22924|  2.92k|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (22924:13): [True: 1, False: 2.92k]
  ------------------
22925|   393k|        )
22926|      1|        {
22927|      1|            D(fprintf(stderr, "%*c+ invalid_comprehension[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('[' | '{') star_named_expression ',' star_named_expressions for_if_clauses"));
22928|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , PyPegen_last_item ( b , expr_ty ) , "did you forget parentheses around the comprehension target?" );
  ------------------
  |  |  211|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22929|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22929:18): [True: 1, False: 0]
  |  Branch (22929:34): [True: 0, False: 0]
  |  Branch (22929:57): [True: 1, False: 0]
  ------------------
22930|      1|                p->error_indicator = 1;
22931|      1|                p->level--;
22932|      1|                return NULL;
22933|      1|            }
22934|      0|            goto done;
22935|      1|        }
22936|   393k|        p->mark = _mark;
22937|   393k|        D(fprintf(stderr, "%*c%s invalid_comprehension[%d-%d]: %s failed!\n", p->level, ' ',
22938|   393k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('[' | '{') star_named_expression ',' star_named_expressions for_if_clauses"));
22939|   393k|    }
22940|      0|    { // ('[' | '{') star_named_expression ',' for_if_clauses
22941|   393k|        if (p->error_indicator) {
  ------------------
  |  Branch (22941:13): [True: 5.60k, False: 387k]
  ------------------
22942|  5.60k|            p->level--;
22943|  5.60k|            return NULL;
22944|  5.60k|        }
22945|   387k|        D(fprintf(stderr, "%*c> invalid_comprehension[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('[' | '{') star_named_expression ',' for_if_clauses"));
22946|   387k|        void *_tmp_123_var;
22947|   387k|        expr_ty a;
22948|   387k|        Token * b;
22949|   387k|        asdl_comprehension_seq* for_if_clauses_var;
22950|   387k|        if (
22951|   387k|            (_tmp_123_var = _tmp_123_rule(p))  // '[' | '{'
  ------------------
  |  Branch (22951:13): [True: 31.9k, False: 355k]
  ------------------
22952|  31.9k|            &&
22953|  31.9k|            (a = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (22953:13): [True: 20.0k, False: 11.9k]
  ------------------
22954|  20.0k|            &&
22955|  20.0k|            (b = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (22955:13): [True: 5.34k, False: 14.6k]
  ------------------
22956|  5.34k|            &&
22957|  5.34k|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (22957:13): [True: 1, False: 5.34k]
  ------------------
22958|   387k|        )
22959|      1|        {
22960|      1|            D(fprintf(stderr, "%*c+ invalid_comprehension[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('[' | '{') star_named_expression ',' for_if_clauses"));
22961|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "did you forget parentheses around the comprehension target?" );
  ------------------
  |  |  211|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22962|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22962:18): [True: 1, False: 0]
  |  Branch (22962:34): [True: 0, False: 0]
  |  Branch (22962:57): [True: 1, False: 0]
  ------------------
22963|      1|                p->error_indicator = 1;
22964|      1|                p->level--;
22965|      1|                return NULL;
22966|      1|            }
22967|      0|            goto done;
22968|      1|        }
22969|   387k|        p->mark = _mark;
22970|   387k|        D(fprintf(stderr, "%*c%s invalid_comprehension[%d-%d]: %s failed!\n", p->level, ' ',
22971|   387k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('[' | '{') star_named_expression ',' for_if_clauses"));
22972|   387k|    }
22973|   387k|    _res = NULL;
22974|   387k|  done:
22975|   387k|    p->level--;
22976|   387k|    return _res;
22977|   387k|}
parser.c:_tmp_123_rule:
36307|   781k|{
36308|   781k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.56M|#  define MAXSTACK 6000
  ------------------
  |  Branch (36308:9): [True: 1, False: 781k]
  |  Branch (36308:35): [True: 0, False: 781k]
  ------------------
36309|      1|        _Pypegen_stack_overflow(p);
36310|      1|    }
36311|   781k|    if (p->error_indicator) {
  ------------------
  |  Branch (36311:9): [True: 1, False: 781k]
  ------------------
36312|      1|        p->level--;
36313|      1|        return NULL;
36314|      1|    }
36315|   781k|    void * _res = NULL;
36316|   781k|    int _mark = p->mark;
36317|   781k|    { // '['
36318|   781k|        if (p->error_indicator) {
  ------------------
  |  Branch (36318:13): [True: 0, False: 781k]
  ------------------
36319|      0|            p->level--;
36320|      0|            return NULL;
36321|      0|        }
36322|   781k|        D(fprintf(stderr, "%*c> _tmp_123[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'['"));
36323|   781k|        Token * _literal;
36324|   781k|        if (
36325|   781k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (36325:13): [True: 49.2k, False: 731k]
  ------------------
36326|   781k|        )
36327|  49.2k|        {
36328|  49.2k|            D(fprintf(stderr, "%*c+ _tmp_123[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'['"));
36329|  49.2k|            _res = _literal;
36330|  49.2k|            goto done;
36331|  49.2k|        }
36332|   731k|        p->mark = _mark;
36333|   731k|        D(fprintf(stderr, "%*c%s _tmp_123[%d-%d]: %s failed!\n", p->level, ' ',
36334|   731k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'['"));
36335|   731k|    }
36336|      0|    { // '{'
36337|   731k|        if (p->error_indicator) {
  ------------------
  |  Branch (36337:13): [True: 0, False: 731k]
  ------------------
36338|      0|            p->level--;
36339|      0|            return NULL;
36340|      0|        }
36341|   731k|        D(fprintf(stderr, "%*c> _tmp_123[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{'"));
36342|   731k|        Token * _literal;
36343|   731k|        if (
36344|   731k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (36344:13): [True: 20.3k, False: 711k]
  ------------------
36345|   731k|        )
36346|  20.3k|        {
36347|  20.3k|            D(fprintf(stderr, "%*c+ _tmp_123[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{'"));
36348|  20.3k|            _res = _literal;
36349|  20.3k|            goto done;
36350|  20.3k|        }
36351|   711k|        p->mark = _mark;
36352|   711k|        D(fprintf(stderr, "%*c%s _tmp_123[%d-%d]: %s failed!\n", p->level, ' ',
36353|   711k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{'"));
36354|   711k|    }
36355|   711k|    _res = NULL;
36356|   781k|  done:
36357|   781k|    p->level--;
36358|   781k|    return _res;
36359|   711k|}
parser.c:star_named_expression_rule:
12181|   626k|{
12182|   626k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.25M|#  define MAXSTACK 6000
  ------------------
  |  Branch (12182:9): [True: 1, False: 626k]
  |  Branch (12182:35): [True: 0, False: 626k]
  ------------------
12183|      1|        _Pypegen_stack_overflow(p);
12184|      1|    }
12185|   626k|    if (p->error_indicator) {
  ------------------
  |  Branch (12185:9): [True: 1, False: 626k]
  ------------------
12186|      1|        p->level--;
12187|      1|        return NULL;
12188|      1|    }
12189|   626k|    expr_ty _res = NULL;
12190|   626k|    int _mark = p->mark;
12191|   626k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12191:9): [True: 101k, False: 524k]
  |  Branch (12191:31): [True: 116, False: 101k]
  ------------------
12192|    116|        p->error_indicator = 1;
12193|    116|        p->level--;
12194|    116|        return NULL;
12195|    116|    }
12196|   626k|    int _start_lineno = p->tokens[_mark]->lineno;
12197|   626k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   626k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 626k]
  |  |  ------------------
  ------------------
12198|   626k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12199|   626k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   626k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 626k]
  |  |  ------------------
  ------------------
12200|   626k|    { // '*' bitwise_or
12201|   626k|        if (p->error_indicator) {
  ------------------
  |  Branch (12201:13): [True: 0, False: 626k]
  ------------------
12202|      0|            p->level--;
12203|      0|            return NULL;
12204|      0|        }
12205|   626k|        D(fprintf(stderr, "%*c> star_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12206|   626k|        Token * _literal;
12207|   626k|        expr_ty a;
12208|   626k|        if (
12209|   626k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (12209:13): [True: 25.0k, False: 601k]
  ------------------
12210|  25.0k|            &&
12211|  25.0k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12211:13): [True: 20.0k, False: 5.02k]
  ------------------
12212|   626k|        )
12213|  20.0k|        {
12214|  20.0k|            D(fprintf(stderr, "%*c+ star_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12215|  20.0k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12216|  20.0k|            if (_token == NULL) {
  ------------------
  |  Branch (12216:17): [True: 0, False: 20.0k]
  ------------------
12217|      0|                p->level--;
12218|      0|                return NULL;
12219|      0|            }
12220|  20.0k|            int _end_lineno = _token->end_lineno;
12221|  20.0k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  20.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 20.0k]
  |  |  ------------------
  ------------------
12222|  20.0k|            int _end_col_offset = _token->end_col_offset;
12223|  20.0k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  20.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 20.0k]
  |  |  ------------------
  ------------------
12224|  20.0k|            _res = _PyAST_Starred ( a , Load , EXTRA );
  ------------------
  |  |  281|  20.0k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12225|  20.0k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12225:18): [True: 0, False: 20.0k]
  |  Branch (12225:34): [True: 0, False: 20.0k]
  |  Branch (12225:57): [True: 0, False: 0]
  ------------------
12226|      0|                p->error_indicator = 1;
12227|      0|                p->level--;
12228|      0|                return NULL;
12229|      0|            }
12230|  20.0k|            goto done;
12231|  20.0k|        }
12232|   606k|        p->mark = _mark;
12233|   606k|        D(fprintf(stderr, "%*c%s star_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12234|   606k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' bitwise_or"));
12235|   606k|    }
12236|      0|    { // named_expression
12237|   606k|        if (p->error_indicator) {
  ------------------
  |  Branch (12237:13): [True: 680, False: 605k]
  ------------------
12238|    680|            p->level--;
12239|    680|            return NULL;
12240|    680|        }
12241|   605k|        D(fprintf(stderr, "%*c> star_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "named_expression"));
12242|   605k|        expr_ty named_expression_var;
12243|   605k|        if (
12244|   605k|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (12244:13): [True: 416k, False: 188k]
  ------------------
12245|   605k|        )
12246|   416k|        {
12247|   416k|            D(fprintf(stderr, "%*c+ star_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "named_expression"));
12248|   416k|            _res = named_expression_var;
12249|   416k|            goto done;
12250|   416k|        }
12251|   188k|        p->mark = _mark;
12252|   188k|        D(fprintf(stderr, "%*c%s star_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12253|   188k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "named_expression"));
12254|   188k|    }
12255|   188k|    _res = NULL;
12256|   625k|  done:
12257|   625k|    p->level--;
12258|   625k|    return _res;
12259|   188k|}
parser.c:star_named_expressions_rule:
12087|  14.0k|{
12088|  14.0k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  28.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12088:9): [True: 0, False: 14.0k]
  |  Branch (12088:35): [True: 0, False: 14.0k]
  ------------------
12089|      0|        _Pypegen_stack_overflow(p);
12090|      0|    }
12091|  14.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (12091:9): [True: 0, False: 14.0k]
  ------------------
12092|      0|        p->level--;
12093|      0|        return NULL;
12094|      0|    }
12095|  14.0k|    asdl_expr_seq* _res = NULL;
12096|  14.0k|    int _mark = p->mark;
12097|  14.0k|    { // ','.star_named_expression+ ','?
12098|  14.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (12098:13): [True: 0, False: 14.0k]
  ------------------
12099|      0|            p->level--;
12100|      0|            return NULL;
12101|      0|        }
12102|  14.0k|        D(fprintf(stderr, "%*c> star_named_expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.star_named_expression+ ','?"));
12103|  14.0k|        void *_opt_var;
12104|  14.0k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  14.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 14.0k]
  |  |  ------------------
  ------------------
12105|  14.0k|        asdl_expr_seq* a;
12106|  14.0k|        if (
12107|  14.0k|            (a = (asdl_expr_seq*)_gather_58_rule(p))  // ','.star_named_expression+
  ------------------
  |  Branch (12107:13): [True: 8.30k, False: 5.74k]
  ------------------
12108|  8.30k|            &&
12109|  8.30k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (12109:13): [True: 7.77k, False: 530]
  ------------------
12110|  14.0k|        )
12111|  7.77k|        {
12112|  7.77k|            D(fprintf(stderr, "%*c+ star_named_expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.star_named_expression+ ','?"));
12113|  7.77k|            _res = a;
12114|  7.77k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12114:18): [True: 0, False: 7.77k]
  |  Branch (12114:34): [True: 0, False: 7.77k]
  |  Branch (12114:57): [True: 0, False: 0]
  ------------------
12115|      0|                p->error_indicator = 1;
12116|      0|                p->level--;
12117|      0|                return NULL;
12118|      0|            }
12119|  7.77k|            goto done;
12120|  7.77k|        }
12121|  6.27k|        p->mark = _mark;
12122|  6.27k|        D(fprintf(stderr, "%*c%s star_named_expressions[%d-%d]: %s failed!\n", p->level, ' ',
12123|  6.27k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.star_named_expression+ ','?"));
12124|  6.27k|    }
12125|  6.27k|    _res = NULL;
12126|  14.0k|  done:
12127|  14.0k|    p->level--;
12128|  14.0k|    return _res;
12129|  6.27k|}
parser.c:_gather_58_rule:
32221|  14.0k|{
32222|  14.0k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  28.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32222:9): [True: 0, False: 14.0k]
  |  Branch (32222:35): [True: 0, False: 14.0k]
  ------------------
32223|      0|        _Pypegen_stack_overflow(p);
32224|      0|    }
32225|  14.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (32225:9): [True: 0, False: 14.0k]
  ------------------
32226|      0|        p->level--;
32227|      0|        return NULL;
32228|      0|    }
32229|  14.0k|    asdl_seq * _res = NULL;
32230|  14.0k|    int _mark = p->mark;
32231|  14.0k|    { // star_named_expression _loop0_57
32232|  14.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (32232:13): [True: 0, False: 14.0k]
  ------------------
32233|      0|            p->level--;
32234|      0|            return NULL;
32235|      0|        }
32236|  14.0k|        D(fprintf(stderr, "%*c> _gather_58[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression _loop0_57"));
32237|  14.0k|        expr_ty elem;
32238|  14.0k|        asdl_seq * seq;
32239|  14.0k|        if (
32240|  14.0k|            (elem = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (32240:13): [True: 8.30k, False: 5.74k]
  ------------------
32241|  8.30k|            &&
32242|  8.30k|            (seq = _loop0_57_rule(p))  // _loop0_57
  ------------------
  |  Branch (32242:13): [True: 8.30k, False: 0]
  ------------------
32243|  14.0k|        )
32244|  8.30k|        {
32245|  8.30k|            D(fprintf(stderr, "%*c+ _gather_58[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_named_expression _loop0_57"));
32246|  8.30k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
32247|  8.30k|            goto done;
32248|  8.30k|        }
32249|  5.74k|        p->mark = _mark;
32250|  5.74k|        D(fprintf(stderr, "%*c%s _gather_58[%d-%d]: %s failed!\n", p->level, ' ',
32251|  5.74k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression _loop0_57"));
32252|  5.74k|    }
32253|  5.74k|    _res = NULL;
32254|  14.0k|  done:
32255|  14.0k|    p->level--;
32256|  14.0k|    return _res;
32257|  5.74k|}
parser.c:_loop0_57_rule:
32145|  8.30k|{
32146|  8.30k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  16.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32146:9): [True: 0, False: 8.30k]
  |  Branch (32146:35): [True: 0, False: 8.30k]
  ------------------
32147|      0|        _Pypegen_stack_overflow(p);
32148|      0|    }
32149|  8.30k|    if (p->error_indicator) {
  ------------------
  |  Branch (32149:9): [True: 0, False: 8.30k]
  ------------------
32150|      0|        p->level--;
32151|      0|        return NULL;
32152|      0|    }
32153|  8.30k|    void *_res = NULL;
32154|  8.30k|    int _mark = p->mark;
32155|  8.30k|    void **_children = PyMem_Malloc(sizeof(void *));
32156|  8.30k|    if (!_children) {
  ------------------
  |  Branch (32156:9): [True: 0, False: 8.30k]
  ------------------
32157|      0|        p->error_indicator = 1;
32158|      0|        PyErr_NoMemory();
32159|      0|        p->level--;
32160|      0|        return NULL;
32161|      0|    }
32162|  8.30k|    Py_ssize_t _children_capacity = 1;
32163|  8.30k|    Py_ssize_t _n = 0;
32164|  8.30k|    { // ',' star_named_expression
32165|  8.30k|        if (p->error_indicator) {
  ------------------
  |  Branch (32165:13): [True: 0, False: 8.30k]
  ------------------
32166|      0|            p->level--;
32167|      0|            return NULL;
32168|      0|        }
32169|  8.30k|        D(fprintf(stderr, "%*c> _loop0_57[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' star_named_expression"));
32170|  8.30k|        Token * _literal;
32171|  8.30k|        expr_ty elem;
32172|  8.30k|        while (
32173|  17.2k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (32173:13): [True: 10.4k, False: 6.78k]
  ------------------
32174|  10.4k|            &&
32175|  10.4k|            (elem = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (32175:13): [True: 8.97k, False: 1.51k]
  ------------------
32176|  8.30k|        )
32177|  8.97k|        {
32178|  8.97k|            _res = elem;
32179|  8.97k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (32179:18): [True: 0, False: 8.97k]
  |  Branch (32179:34): [True: 0, False: 8.97k]
  |  Branch (32179:57): [True: 0, False: 0]
  ------------------
32180|      0|                p->error_indicator = 1;
32181|      0|                PyMem_Free(_children);
32182|      0|                p->level--;
32183|      0|                return NULL;
32184|      0|            }
32185|  8.97k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32185:17): [True: 2.13k, False: 6.83k]
  ------------------
32186|  2.13k|                _children_capacity *= 2;
32187|  2.13k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32188|  2.13k|                if (!_new_children) {
  ------------------
  |  Branch (32188:21): [True: 0, False: 2.13k]
  ------------------
32189|      0|                    PyMem_Free(_children);
32190|      0|                    p->error_indicator = 1;
32191|      0|                    PyErr_NoMemory();
32192|      0|                    p->level--;
32193|      0|                    return NULL;
32194|      0|                }
32195|  2.13k|                _children = _new_children;
32196|  2.13k|            }
32197|  8.97k|            _children[_n++] = _res;
32198|  8.97k|            _mark = p->mark;
32199|  8.97k|        }
32200|  8.30k|        p->mark = _mark;
32201|  8.30k|        D(fprintf(stderr, "%*c%s _loop0_57[%d-%d]: %s failed!\n", p->level, ' ',
32202|  8.30k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' star_named_expression"));
32203|  8.30k|    }
32204|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32205|  8.30k|    if (!_seq) {
  ------------------
  |  Branch (32205:9): [True: 0, False: 8.30k]
  ------------------
32206|      0|        PyMem_Free(_children);
32207|      0|        p->error_indicator = 1;
32208|      0|        PyErr_NoMemory();
32209|      0|        p->level--;
32210|      0|        return NULL;
32211|      0|    }
32212|  17.2k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  8.97k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  17.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32212:28): [True: 8.97k, False: 8.30k]
  ------------------
32213|  8.30k|    PyMem_Free(_children);
32214|  8.30k|    p->level--;
32215|  8.30k|    return _seq;
32216|  8.30k|}
parser.c:arguments_rule:
18636|  52.0k|{
18637|  52.0k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   104k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18637:9): [True: 0, False: 52.0k]
  |  Branch (18637:35): [True: 0, False: 52.0k]
  ------------------
18638|      0|        _Pypegen_stack_overflow(p);
18639|      0|    }
18640|  52.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (18640:9): [True: 0, False: 52.0k]
  ------------------
18641|      0|        p->level--;
18642|      0|        return NULL;
18643|      0|    }
18644|  52.0k|    expr_ty _res = NULL;
18645|  52.0k|    if (_PyPegen_is_memoized(p, arguments_type, &_res)) {
  ------------------
  |  |  276|  52.0k|#define arguments_type 1187
  ------------------
  |  Branch (18645:9): [True: 9.52k, False: 42.5k]
  ------------------
18646|  9.52k|        p->level--;
18647|  9.52k|        return _res;
18648|  9.52k|    }
18649|  42.5k|    int _mark = p->mark;
18650|  42.5k|    { // args ','? &')'
18651|  42.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (18651:13): [True: 0, False: 42.5k]
  ------------------
18652|      0|            p->level--;
18653|      0|            return NULL;
18654|      0|        }
18655|  42.5k|        D(fprintf(stderr, "%*c> arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args ','? &')'"));
18656|  42.5k|        void *_opt_var;
18657|  42.5k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  42.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 42.5k]
  |  |  ------------------
  ------------------
18658|  42.5k|        expr_ty a;
18659|  42.5k|        if (
18660|  42.5k|            (a = args_rule(p))  // args
  ------------------
  |  Branch (18660:13): [True: 29.2k, False: 13.2k]
  ------------------
18661|  29.2k|            &&
18662|  29.2k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (18662:13): [True: 29.2k, False: 0]
  ------------------
18663|  29.2k|            &&
18664|  29.2k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (18664:13): [True: 16.6k, False: 12.6k]
  ------------------
18665|  42.5k|        )
18666|  16.6k|        {
18667|  16.6k|            D(fprintf(stderr, "%*c+ arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args ','? &')'"));
18668|  16.6k|            _res = a;
18669|  16.6k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18669:18): [True: 0, False: 16.6k]
  |  Branch (18669:34): [True: 0, False: 16.6k]
  |  Branch (18669:57): [True: 0, False: 0]
  ------------------
18670|      0|                p->error_indicator = 1;
18671|      0|                p->level--;
18672|      0|                return NULL;
18673|      0|            }
18674|  16.6k|            goto done;
18675|  16.6k|        }
18676|  25.8k|        p->mark = _mark;
18677|  25.8k|        D(fprintf(stderr, "%*c%s arguments[%d-%d]: %s failed!\n", p->level, ' ',
18678|  25.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args ','? &')'"));
18679|  25.8k|    }
18680|  25.8k|    if (p->call_invalid_rules) { // invalid_arguments
  ------------------
  |  Branch (18680:9): [True: 12.2k, False: 13.6k]
  ------------------
18681|  12.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (18681:13): [True: 2.36k, False: 9.89k]
  ------------------
18682|  2.36k|            p->level--;
18683|  2.36k|            return NULL;
18684|  2.36k|        }
18685|  9.89k|        D(fprintf(stderr, "%*c> arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_arguments"));
18686|  9.89k|        void *invalid_arguments_var;
18687|  9.89k|        if (
18688|  9.89k|            (invalid_arguments_var = invalid_arguments_rule(p))  // invalid_arguments
  ------------------
  |  Branch (18688:13): [True: 0, False: 9.89k]
  ------------------
18689|  9.89k|        )
18690|      0|        {
18691|      0|            D(fprintf(stderr, "%*c+ arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_arguments"));
18692|      0|            _res = invalid_arguments_var;
18693|      0|            goto done;
18694|      0|        }
18695|  9.89k|        p->mark = _mark;
18696|  9.89k|        D(fprintf(stderr, "%*c%s arguments[%d-%d]: %s failed!\n", p->level, ' ',
18697|  9.89k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_arguments"));
18698|  9.89k|    }
18699|  23.5k|    _res = NULL;
18700|  40.1k|  done:
18701|  40.1k|    _PyPegen_insert_memo(p, _mark, arguments_type, _res);
  ------------------
  |  |  276|  40.1k|#define arguments_type 1187
  ------------------
18702|  40.1k|    p->level--;
18703|  40.1k|    return _res;
18704|  23.5k|}
parser.c:args_rule:
18711|  73.9k|{
18712|  73.9k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   147k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18712:9): [True: 0, False: 73.9k]
  |  Branch (18712:35): [True: 0, False: 73.9k]
  ------------------
18713|      0|        _Pypegen_stack_overflow(p);
18714|      0|    }
18715|  73.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (18715:9): [True: 0, False: 73.9k]
  ------------------
18716|      0|        p->level--;
18717|      0|        return NULL;
18718|      0|    }
18719|  73.9k|    expr_ty _res = NULL;
18720|  73.9k|    int _mark = p->mark;
18721|  73.9k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18721:9): [True: 317, False: 73.6k]
  |  Branch (18721:31): [True: 1, False: 316]
  ------------------
18722|      1|        p->error_indicator = 1;
18723|      1|        p->level--;
18724|      1|        return NULL;
18725|      1|    }
18726|  73.9k|    int _start_lineno = p->tokens[_mark]->lineno;
18727|  73.9k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  73.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 73.9k]
  |  |  ------------------
  ------------------
18728|  73.9k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18729|  73.9k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  73.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 73.9k]
  |  |  ------------------
  ------------------
18730|  73.9k|    { // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]
18731|  73.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (18731:13): [True: 0, False: 73.9k]
  ------------------
18732|      0|            p->level--;
18733|      0|            return NULL;
18734|      0|        }
18735|  73.9k|        D(fprintf(stderr, "%*c> args[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]"));
18736|  73.9k|        asdl_expr_seq* a;
18737|  73.9k|        void *b;
18738|  73.9k|        if (
18739|  73.9k|            (a = (asdl_expr_seq*)_gather_91_rule(p))  // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+
  ------------------
  |  Branch (18739:13): [True: 41.9k, False: 31.9k]
  ------------------
18740|  41.9k|            &&
18741|  41.9k|            (b = _tmp_92_rule(p), !p->error_indicator)  // [',' kwargs]
  ------------------
  |  Branch (18741:13): [True: 39.8k, False: 2.12k]
  ------------------
18742|  73.9k|        )
18743|  39.8k|        {
18744|  39.8k|            D(fprintf(stderr, "%*c+ args[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]"));
18745|  39.8k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18746|  39.8k|            if (_token == NULL) {
  ------------------
  |  Branch (18746:17): [True: 0, False: 39.8k]
  ------------------
18747|      0|                p->level--;
18748|      0|                return NULL;
18749|      0|            }
18750|  39.8k|            int _end_lineno = _token->end_lineno;
18751|  39.8k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  39.8k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 39.8k]
  |  |  ------------------
  ------------------
18752|  39.8k|            int _end_col_offset = _token->end_col_offset;
18753|  39.8k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  39.8k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 39.8k]
  |  |  ------------------
  ------------------
18754|  39.8k|            _res = _PyPegen_collect_call_seqs ( p , a , b , EXTRA );
  ------------------
  |  |  281|  39.8k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18755|  39.8k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18755:18): [True: 0, False: 39.8k]
  |  Branch (18755:34): [True: 0, False: 39.8k]
  |  Branch (18755:57): [True: 0, False: 0]
  ------------------
18756|      0|                p->error_indicator = 1;
18757|      0|                p->level--;
18758|      0|                return NULL;
18759|      0|            }
18760|  39.8k|            goto done;
18761|  39.8k|        }
18762|  34.1k|        p->mark = _mark;
18763|  34.1k|        D(fprintf(stderr, "%*c%s args[%d-%d]: %s failed!\n", p->level, ' ',
18764|  34.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]"));
18765|  34.1k|    }
18766|      0|    { // kwargs
18767|  34.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (18767:13): [True: 2.43k, False: 31.6k]
  ------------------
18768|  2.43k|            p->level--;
18769|  2.43k|            return NULL;
18770|  2.43k|        }
18771|  31.6k|        D(fprintf(stderr, "%*c> args[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwargs"));
18772|  31.6k|        asdl_seq* a;
18773|  31.6k|        if (
18774|  31.6k|            (a = kwargs_rule(p))  // kwargs
  ------------------
  |  Branch (18774:13): [True: 8.98k, False: 22.7k]
  ------------------
18775|  31.6k|        )
18776|  8.98k|        {
18777|  8.98k|            D(fprintf(stderr, "%*c+ args[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwargs"));
18778|  8.98k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18779|  8.98k|            if (_token == NULL) {
  ------------------
  |  Branch (18779:17): [True: 0, False: 8.98k]
  ------------------
18780|      0|                p->level--;
18781|      0|                return NULL;
18782|      0|            }
18783|  8.98k|            int _end_lineno = _token->end_lineno;
18784|  8.98k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  8.98k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 8.98k]
  |  |  ------------------
  ------------------
18785|  8.98k|            int _end_col_offset = _token->end_col_offset;
18786|  8.98k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  8.98k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 8.98k]
  |  |  ------------------
  ------------------
18787|  8.98k|            _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 );
  ------------------
  |  |  246|  8.98k|#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 );
  ------------------
  |  |  246|  8.98k|#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 );
  ------------------
  |  |  281|  8.98k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18788|  8.98k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18788:18): [True: 0, False: 8.98k]
  |  Branch (18788:34): [True: 493, False: 8.48k]
  |  Branch (18788:57): [True: 493, False: 0]
  ------------------
18789|    493|                p->error_indicator = 1;
18790|    493|                p->level--;
18791|    493|                return NULL;
18792|    493|            }
18793|  8.48k|            goto done;
18794|  8.98k|        }
18795|  22.7k|        p->mark = _mark;
18796|  22.7k|        D(fprintf(stderr, "%*c%s args[%d-%d]: %s failed!\n", p->level, ' ',
18797|  22.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwargs"));
18798|  22.7k|    }
18799|  22.7k|    _res = NULL;
18800|  71.0k|  done:
18801|  71.0k|    p->level--;
18802|  71.0k|    return _res;
18803|  22.7k|}
parser.c:_gather_91_rule:
34375|  83.8k|{
34376|  83.8k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   167k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34376:9): [True: 0, False: 83.8k]
  |  Branch (34376:35): [True: 0, False: 83.8k]
  ------------------
34377|      0|        _Pypegen_stack_overflow(p);
34378|      0|    }
34379|  83.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (34379:9): [True: 0, False: 83.8k]
  ------------------
34380|      0|        p->level--;
34381|      0|        return NULL;
34382|      0|    }
34383|  83.8k|    asdl_seq * _res = NULL;
34384|  83.8k|    int _mark = p->mark;
34385|  83.8k|    { // (starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90
34386|  83.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (34386:13): [True: 0, False: 83.8k]
  ------------------
34387|      0|            p->level--;
34388|      0|            return NULL;
34389|      0|        }
34390|  83.8k|        D(fprintf(stderr, "%*c> _gather_91[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90"));
34391|  83.8k|        void *elem;
34392|  83.8k|        asdl_seq * seq;
34393|  83.8k|        if (
34394|  83.8k|            (elem = _tmp_167_rule(p))  // starred_expression | (assignment_expression | expression !':=') !'='
  ------------------
  |  Branch (34394:13): [True: 46.3k, False: 37.5k]
  ------------------
34395|  46.3k|            &&
34396|  46.3k|            (seq = _loop0_90_rule(p))  // _loop0_90
  ------------------
  |  Branch (34396:13): [True: 46.3k, False: 0]
  ------------------
34397|  83.8k|        )
34398|  46.3k|        {
34399|  46.3k|            D(fprintf(stderr, "%*c+ _gather_91[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90"));
34400|  46.3k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
34401|  46.3k|            goto done;
34402|  46.3k|        }
34403|  37.5k|        p->mark = _mark;
34404|  37.5k|        D(fprintf(stderr, "%*c%s _gather_91[%d-%d]: %s failed!\n", p->level, ' ',
34405|  37.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90"));
34406|  37.5k|    }
34407|  37.5k|    _res = NULL;
34408|  83.8k|  done:
34409|  83.8k|    p->level--;
34410|  83.8k|    return _res;
34411|  37.5k|}
parser.c:_tmp_167_rule:
38879|   109k|{
38880|   109k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   219k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38880:9): [True: 0, False: 109k]
  |  Branch (38880:35): [True: 0, False: 109k]
  ------------------
38881|      0|        _Pypegen_stack_overflow(p);
38882|      0|    }
38883|   109k|    if (p->error_indicator) {
  ------------------
  |  Branch (38883:9): [True: 0, False: 109k]
  ------------------
38884|      0|        p->level--;
38885|      0|        return NULL;
38886|      0|    }
38887|   109k|    void * _res = NULL;
38888|   109k|    int _mark = p->mark;
38889|   109k|    { // starred_expression
38890|   109k|        if (p->error_indicator) {
  ------------------
  |  Branch (38890:13): [True: 0, False: 109k]
  ------------------
38891|      0|            p->level--;
38892|      0|            return NULL;
38893|      0|        }
38894|   109k|        D(fprintf(stderr, "%*c> _tmp_167[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
38895|   109k|        expr_ty starred_expression_var;
38896|   109k|        if (
38897|   109k|            (starred_expression_var = starred_expression_rule(p))  // starred_expression
  ------------------
  |  Branch (38897:13): [True: 6.65k, False: 103k]
  ------------------
38898|   109k|        )
38899|  6.65k|        {
38900|  6.65k|            D(fprintf(stderr, "%*c+ _tmp_167[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
38901|  6.65k|            _res = starred_expression_var;
38902|  6.65k|            goto done;
38903|  6.65k|        }
38904|   103k|        p->mark = _mark;
38905|   103k|        D(fprintf(stderr, "%*c%s _tmp_167[%d-%d]: %s failed!\n", p->level, ' ',
38906|   103k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
38907|   103k|    }
38908|      0|    { // (assignment_expression | expression !':=') !'='
38909|   103k|        if (p->error_indicator) {
  ------------------
  |  Branch (38909:13): [True: 533, False: 102k]
  ------------------
38910|    533|            p->level--;
38911|    533|            return NULL;
38912|    533|        }
38913|   102k|        D(fprintf(stderr, "%*c> _tmp_167[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
38914|   102k|        void *_tmp_178_var;
38915|   102k|        if (
38916|   102k|            (_tmp_178_var = _tmp_178_rule(p))  // assignment_expression | expression !':='
  ------------------
  |  Branch (38916:13): [True: 66.7k, False: 35.7k]
  ------------------
38917|  66.7k|            &&
38918|  66.7k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 22)  // token='='
  ------------------
  |  Branch (38918:13): [True: 54.1k, False: 12.6k]
  ------------------
38919|   102k|        )
38920|  54.1k|        {
38921|  54.1k|            D(fprintf(stderr, "%*c+ _tmp_167[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
38922|  54.1k|            _res = _tmp_178_var;
38923|  54.1k|            goto done;
38924|  54.1k|        }
38925|  48.3k|        p->mark = _mark;
38926|  48.3k|        D(fprintf(stderr, "%*c%s _tmp_167[%d-%d]: %s failed!\n", p->level, ' ',
38927|  48.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
38928|  48.3k|    }
38929|  48.3k|    _res = NULL;
38930|   109k|  done:
38931|   109k|    p->level--;
38932|   109k|    return _res;
38933|  48.3k|}
parser.c:_tmp_178_rule:
39469|   102k|{
39470|   102k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   205k|#  define MAXSTACK 6000
  ------------------
  |  Branch (39470:9): [True: 0, False: 102k]
  |  Branch (39470:35): [True: 0, False: 102k]
  ------------------
39471|      0|        _Pypegen_stack_overflow(p);
39472|      0|    }
39473|   102k|    if (p->error_indicator) {
  ------------------
  |  Branch (39473:9): [True: 0, False: 102k]
  ------------------
39474|      0|        p->level--;
39475|      0|        return NULL;
39476|      0|    }
39477|   102k|    void * _res = NULL;
39478|   102k|    int _mark = p->mark;
39479|   102k|    { // assignment_expression
39480|   102k|        if (p->error_indicator) {
  ------------------
  |  Branch (39480:13): [True: 0, False: 102k]
  ------------------
39481|      0|            p->level--;
39482|      0|            return NULL;
39483|      0|        }
39484|   102k|        D(fprintf(stderr, "%*c> _tmp_178[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
39485|   102k|        expr_ty assignment_expression_var;
39486|   102k|        if (
39487|   102k|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  Branch (39487:13): [True: 1.27k, False: 101k]
  ------------------
39488|   102k|        )
39489|  1.27k|        {
39490|  1.27k|            D(fprintf(stderr, "%*c+ _tmp_178[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
39491|  1.27k|            _res = assignment_expression_var;
39492|  1.27k|            goto done;
39493|  1.27k|        }
39494|   101k|        p->mark = _mark;
39495|   101k|        D(fprintf(stderr, "%*c%s _tmp_178[%d-%d]: %s failed!\n", p->level, ' ',
39496|   101k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
39497|   101k|    }
39498|      0|    { // expression !':='
39499|   101k|        if (p->error_indicator) {
  ------------------
  |  Branch (39499:13): [True: 42, False: 101k]
  ------------------
39500|     42|            p->level--;
39501|     42|            return NULL;
39502|     42|        }
39503|   101k|        D(fprintf(stderr, "%*c> _tmp_178[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
39504|   101k|        expr_ty expression_var;
39505|   101k|        if (
39506|   101k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (39506:13): [True: 65.6k, False: 35.5k]
  ------------------
39507|  65.6k|            &&
39508|  65.6k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (39508:13): [True: 65.4k, False: 176]
  ------------------
39509|   101k|        )
39510|  65.4k|        {
39511|  65.4k|            D(fprintf(stderr, "%*c+ _tmp_178[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
39512|  65.4k|            _res = expression_var;
39513|  65.4k|            goto done;
39514|  65.4k|        }
39515|  35.7k|        p->mark = _mark;
39516|  35.7k|        D(fprintf(stderr, "%*c%s _tmp_178[%d-%d]: %s failed!\n", p->level, ' ',
39517|  35.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
39518|  35.7k|    }
39519|  35.7k|    _res = NULL;
39520|   102k|  done:
39521|   102k|    p->level--;
39522|   102k|    return _res;
39523|  35.7k|}
parser.c:_loop0_90_rule:
34298|  46.3k|{
34299|  46.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  92.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34299:9): [True: 0, False: 46.3k]
  |  Branch (34299:35): [True: 0, False: 46.3k]
  ------------------
34300|      0|        _Pypegen_stack_overflow(p);
34301|      0|    }
34302|  46.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (34302:9): [True: 0, False: 46.3k]
  ------------------
34303|      0|        p->level--;
34304|      0|        return NULL;
34305|      0|    }
34306|  46.3k|    void *_res = NULL;
34307|  46.3k|    int _mark = p->mark;
34308|  46.3k|    void **_children = PyMem_Malloc(sizeof(void *));
34309|  46.3k|    if (!_children) {
  ------------------
  |  Branch (34309:9): [True: 0, False: 46.3k]
  ------------------
34310|      0|        p->error_indicator = 1;
34311|      0|        PyErr_NoMemory();
34312|      0|        p->level--;
34313|      0|        return NULL;
34314|      0|    }
34315|  46.3k|    Py_ssize_t _children_capacity = 1;
34316|  46.3k|    Py_ssize_t _n = 0;
34317|  46.3k|    { // ',' (starred_expression | (assignment_expression | expression !':=') !'=')
34318|  46.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (34318:13): [True: 0, False: 46.3k]
  ------------------
34319|      0|            p->level--;
34320|      0|            return NULL;
34321|      0|        }
34322|  46.3k|        D(fprintf(stderr, "%*c> _loop0_90[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' (starred_expression | (assignment_expression | expression !':=') !'=')"));
34323|  46.3k|        Token * _literal;
34324|  46.3k|        void *elem;
34325|  46.3k|        while (
34326|  60.8k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (34326:13): [True: 25.8k, False: 34.9k]
  ------------------
34327|  25.8k|            &&
34328|  25.8k|            (elem = _tmp_167_rule(p))  // starred_expression | (assignment_expression | expression !':=') !'='
  ------------------
  |  Branch (34328:13): [True: 14.4k, False: 11.4k]
  ------------------
34329|  46.3k|        )
34330|  14.4k|        {
34331|  14.4k|            _res = elem;
34332|  14.4k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (34332:18): [True: 0, False: 14.4k]
  |  Branch (34332:34): [True: 0, False: 14.4k]
  |  Branch (34332:57): [True: 0, False: 0]
  ------------------
34333|      0|                p->error_indicator = 1;
34334|      0|                PyMem_Free(_children);
34335|      0|                p->level--;
34336|      0|                return NULL;
34337|      0|            }
34338|  14.4k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (34338:17): [True: 1.12k, False: 13.3k]
  ------------------
34339|  1.12k|                _children_capacity *= 2;
34340|  1.12k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
34341|  1.12k|                if (!_new_children) {
  ------------------
  |  Branch (34341:21): [True: 0, False: 1.12k]
  ------------------
34342|      0|                    PyMem_Free(_children);
34343|      0|                    p->error_indicator = 1;
34344|      0|                    PyErr_NoMemory();
34345|      0|                    p->level--;
34346|      0|                    return NULL;
34347|      0|                }
34348|  1.12k|                _children = _new_children;
34349|  1.12k|            }
34350|  14.4k|            _children[_n++] = _res;
34351|  14.4k|            _mark = p->mark;
34352|  14.4k|        }
34353|  46.3k|        p->mark = _mark;
34354|  46.3k|        D(fprintf(stderr, "%*c%s _loop0_90[%d-%d]: %s failed!\n", p->level, ' ',
34355|  46.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' (starred_expression | (assignment_expression | expression !':=') !'=')"));
34356|  46.3k|    }
34357|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
34358|  46.3k|    if (!_seq) {
  ------------------
  |  Branch (34358:9): [True: 0, False: 46.3k]
  ------------------
34359|      0|        PyMem_Free(_children);
34360|      0|        p->error_indicator = 1;
34361|      0|        PyErr_NoMemory();
34362|      0|        p->level--;
34363|      0|        return NULL;
34364|      0|    }
34365|  60.8k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  14.4k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  60.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (34365:28): [True: 14.4k, False: 46.3k]
  ------------------
34366|  46.3k|    PyMem_Free(_children);
34367|  46.3k|    p->level--;
34368|  46.3k|    return _seq;
34369|  46.3k|}
parser.c:_tmp_92_rule:
34416|  41.9k|{
34417|  41.9k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  83.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34417:9): [True: 0, False: 41.9k]
  |  Branch (34417:35): [True: 0, False: 41.9k]
  ------------------
34418|      0|        _Pypegen_stack_overflow(p);
34419|      0|    }
34420|  41.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (34420:9): [True: 1.11k, False: 40.8k]
  ------------------
34421|  1.11k|        p->level--;
34422|  1.11k|        return NULL;
34423|  1.11k|    }
34424|  40.8k|    void * _res = NULL;
34425|  40.8k|    int _mark = p->mark;
34426|  40.8k|    { // ',' kwargs
34427|  40.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (34427:13): [True: 0, False: 40.8k]
  ------------------
34428|      0|            p->level--;
34429|      0|            return NULL;
34430|      0|        }
34431|  40.8k|        D(fprintf(stderr, "%*c> _tmp_92[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' kwargs"));
34432|  40.8k|        Token * _literal;
34433|  40.8k|        asdl_seq* k;
34434|  40.8k|        if (
34435|  40.8k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (34435:13): [True: 9.49k, False: 31.3k]
  ------------------
34436|  9.49k|            &&
34437|  9.49k|            (k = kwargs_rule(p))  // kwargs
  ------------------
  |  Branch (34437:13): [True: 5.66k, False: 3.83k]
  ------------------
34438|  40.8k|        )
34439|  5.66k|        {
34440|  5.66k|            D(fprintf(stderr, "%*c+ _tmp_92[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' kwargs"));
34441|  5.66k|            _res = k;
34442|  5.66k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (34442:18): [True: 0, False: 5.66k]
  |  Branch (34442:34): [True: 27, False: 5.63k]
  |  Branch (34442:57): [True: 27, False: 0]
  ------------------
34443|     27|                p->error_indicator = 1;
34444|     27|                p->level--;
34445|     27|                return NULL;
34446|     27|            }
34447|  5.63k|            goto done;
34448|  5.66k|        }
34449|  35.1k|        p->mark = _mark;
34450|  35.1k|        D(fprintf(stderr, "%*c%s _tmp_92[%d-%d]: %s failed!\n", p->level, ' ',
34451|  35.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' kwargs"));
34452|  35.1k|    }
34453|  35.1k|    _res = NULL;
34454|  40.8k|  done:
34455|  40.8k|    p->level--;
34456|  40.8k|    return _res;
34457|  35.1k|}
parser.c:kwargs_rule:
18811|  51.2k|{
18812|  51.2k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   102k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18812:9): [True: 0, False: 51.2k]
  |  Branch (18812:35): [True: 0, False: 51.2k]
  ------------------
18813|      0|        _Pypegen_stack_overflow(p);
18814|      0|    }
18815|  51.2k|    if (p->error_indicator) {
  ------------------
  |  Branch (18815:9): [True: 0, False: 51.2k]
  ------------------
18816|      0|        p->level--;
18817|      0|        return NULL;
18818|      0|    }
18819|  51.2k|    asdl_seq* _res = NULL;
18820|  51.2k|    int _mark = p->mark;
18821|  51.2k|    { // ','.kwarg_or_starred+ ',' ','.kwarg_or_double_starred+
18822|  51.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (18822:13): [True: 0, False: 51.2k]
  ------------------
18823|      0|            p->level--;
18824|      0|            return NULL;
18825|      0|        }
18826|  51.2k|        D(fprintf(stderr, "%*c> kwargs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_starred+ ',' ','.kwarg_or_double_starred+"));
18827|  51.2k|        Token * _literal;
18828|  51.2k|        asdl_seq * a;
18829|  51.2k|        asdl_seq * b;
18830|  51.2k|        if (
18831|  51.2k|            (a = _gather_94_rule(p))  // ','.kwarg_or_starred+
  ------------------
  |  Branch (18831:13): [True: 10.9k, False: 40.2k]
  ------------------
18832|  10.9k|            &&
18833|  10.9k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (18833:13): [True: 3.09k, False: 7.87k]
  ------------------
18834|  3.09k|            &&
18835|  3.09k|            (b = _gather_96_rule(p))  // ','.kwarg_or_double_starred+
  ------------------
  |  Branch (18835:13): [True: 940, False: 2.15k]
  ------------------
18836|  51.2k|        )
18837|    940|        {
18838|    940|            D(fprintf(stderr, "%*c+ kwargs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_starred+ ',' ','.kwarg_or_double_starred+"));
18839|    940|            _res = _PyPegen_join_sequences ( p , a , b );
18840|    940|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18840:18): [True: 0, False: 940]
  |  Branch (18840:34): [True: 55, False: 885]
  |  Branch (18840:57): [True: 55, False: 0]
  ------------------
18841|     55|                p->error_indicator = 1;
18842|     55|                p->level--;
18843|     55|                return NULL;
18844|     55|            }
18845|    885|            goto done;
18846|    940|        }
18847|  50.2k|        p->mark = _mark;
18848|  50.2k|        D(fprintf(stderr, "%*c%s kwargs[%d-%d]: %s failed!\n", p->level, ' ',
18849|  50.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.kwarg_or_starred+ ',' ','.kwarg_or_double_starred+"));
18850|  50.2k|    }
18851|      0|    { // ','.kwarg_or_starred+
18852|  50.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (18852:13): [True: 1.92k, False: 48.3k]
  ------------------
18853|  1.92k|            p->level--;
18854|  1.92k|            return NULL;
18855|  1.92k|        }
18856|  48.3k|        D(fprintf(stderr, "%*c> kwargs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_starred+"));
18857|  48.3k|        asdl_seq * _gather_94_var;
18858|  48.3k|        if (
18859|  48.3k|            (_gather_94_var = _gather_94_rule(p))  // ','.kwarg_or_starred+
  ------------------
  |  Branch (18859:13): [True: 9.05k, False: 39.2k]
  ------------------
18860|  48.3k|        )
18861|  9.05k|        {
18862|  9.05k|            D(fprintf(stderr, "%*c+ kwargs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_starred+"));
18863|  9.05k|            _res = _gather_94_var;
18864|  9.05k|            goto done;
18865|  9.05k|        }
18866|  39.2k|        p->mark = _mark;
18867|  39.2k|        D(fprintf(stderr, "%*c%s kwargs[%d-%d]: %s failed!\n", p->level, ' ',
18868|  39.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.kwarg_or_starred+"));
18869|  39.2k|    }
18870|      0|    { // ','.kwarg_or_double_starred+
18871|  39.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (18871:13): [True: 0, False: 39.2k]
  ------------------
18872|      0|            p->level--;
18873|      0|            return NULL;
18874|      0|        }
18875|  39.2k|        D(fprintf(stderr, "%*c> kwargs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_double_starred+"));
18876|  39.2k|        asdl_seq * _gather_96_var;
18877|  39.2k|        if (
18878|  39.2k|            (_gather_96_var = _gather_96_rule(p))  // ','.kwarg_or_double_starred+
  ------------------
  |  Branch (18878:13): [True: 8.30k, False: 30.9k]
  ------------------
18879|  39.2k|        )
18880|  8.30k|        {
18881|  8.30k|            D(fprintf(stderr, "%*c+ kwargs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_double_starred+"));
18882|  8.30k|            _res = _gather_96_var;
18883|  8.30k|            goto done;
18884|  8.30k|        }
18885|  30.9k|        p->mark = _mark;
18886|  30.9k|        D(fprintf(stderr, "%*c%s kwargs[%d-%d]: %s failed!\n", p->level, ' ',
18887|  30.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.kwarg_or_double_starred+"));
18888|  30.9k|    }
18889|  30.9k|    _res = NULL;
18890|  49.2k|  done:
18891|  49.2k|    p->level--;
18892|  49.2k|    return _res;
18893|  30.9k|}
parser.c:_gather_94_rule:
34538|  99.5k|{
34539|  99.5k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   199k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34539:9): [True: 0, False: 99.5k]
  |  Branch (34539:35): [True: 0, False: 99.5k]
  ------------------
34540|      0|        _Pypegen_stack_overflow(p);
34541|      0|    }
34542|  99.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (34542:9): [True: 0, False: 99.5k]
  ------------------
34543|      0|        p->level--;
34544|      0|        return NULL;
34545|      0|    }
34546|  99.5k|    asdl_seq * _res = NULL;
34547|  99.5k|    int _mark = p->mark;
34548|  99.5k|    { // kwarg_or_starred _loop0_93
34549|  99.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (34549:13): [True: 0, False: 99.5k]
  ------------------
34550|      0|            p->level--;
34551|      0|            return NULL;
34552|      0|        }
34553|  99.5k|        D(fprintf(stderr, "%*c> _gather_94[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwarg_or_starred _loop0_93"));
34554|  99.5k|        KeywordOrStarred* elem;
34555|  99.5k|        asdl_seq * seq;
34556|  99.5k|        if (
34557|  99.5k|            (elem = kwarg_or_starred_rule(p))  // kwarg_or_starred
  ------------------
  |  Branch (34557:13): [True: 20.0k, False: 79.5k]
  ------------------
34558|  20.0k|            &&
34559|  20.0k|            (seq = _loop0_93_rule(p))  // _loop0_93
  ------------------
  |  Branch (34559:13): [True: 20.0k, False: 0]
  ------------------
34560|  99.5k|        )
34561|  20.0k|        {
34562|  20.0k|            D(fprintf(stderr, "%*c+ _gather_94[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwarg_or_starred _loop0_93"));
34563|  20.0k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
34564|  20.0k|            goto done;
34565|  20.0k|        }
34566|  79.5k|        p->mark = _mark;
34567|  79.5k|        D(fprintf(stderr, "%*c%s _gather_94[%d-%d]: %s failed!\n", p->level, ' ',
34568|  79.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwarg_or_starred _loop0_93"));
34569|  79.5k|    }
34570|  79.5k|    _res = NULL;
34571|  99.5k|  done:
34572|  99.5k|    p->level--;
34573|  99.5k|    return _res;
34574|  79.5k|}
parser.c:kwarg_or_starred_rule:
19003|   119k|{
19004|   119k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   239k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19004:9): [True: 0, False: 119k]
  |  Branch (19004:35): [True: 0, False: 119k]
  ------------------
19005|      0|        _Pypegen_stack_overflow(p);
19006|      0|    }
19007|   119k|    if (p->error_indicator) {
  ------------------
  |  Branch (19007:9): [True: 0, False: 119k]
  ------------------
19008|      0|        p->level--;
19009|      0|        return NULL;
19010|      0|    }
19011|   119k|    KeywordOrStarred* _res = NULL;
19012|   119k|    int _mark = p->mark;
19013|   119k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (19013:9): [True: 4.20k, False: 115k]
  |  Branch (19013:31): [True: 7, False: 4.19k]
  ------------------
19014|      7|        p->error_indicator = 1;
19015|      7|        p->level--;
19016|      7|        return NULL;
19017|      7|    }
19018|   119k|    int _start_lineno = p->tokens[_mark]->lineno;
19019|   119k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   119k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 119k]
  |  |  ------------------
  ------------------
19020|   119k|    int _start_col_offset = p->tokens[_mark]->col_offset;
19021|   119k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   119k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 119k]
  |  |  ------------------
  ------------------
19022|   119k|    if (p->call_invalid_rules) { // invalid_kwarg
  ------------------
  |  Branch (19022:9): [True: 87.0k, False: 32.6k]
  ------------------
19023|  87.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (19023:13): [True: 0, False: 87.0k]
  ------------------
19024|      0|            p->level--;
19025|      0|            return NULL;
19026|      0|        }
19027|  87.0k|        D(fprintf(stderr, "%*c> kwarg_or_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_kwarg"));
19028|  87.0k|        void *invalid_kwarg_var;
19029|  87.0k|        if (
19030|  87.0k|            (invalid_kwarg_var = invalid_kwarg_rule(p))  // invalid_kwarg
  ------------------
  |  Branch (19030:13): [True: 0, False: 87.0k]
  ------------------
19031|  87.0k|        )
19032|      0|        {
19033|      0|            D(fprintf(stderr, "%*c+ kwarg_or_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_kwarg"));
19034|      0|            _res = invalid_kwarg_var;
19035|      0|            goto done;
19036|      0|        }
19037|  87.0k|        p->mark = _mark;
19038|  87.0k|        D(fprintf(stderr, "%*c%s kwarg_or_starred[%d-%d]: %s failed!\n", p->level, ' ',
19039|  87.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_kwarg"));
19040|  87.0k|    }
19041|   119k|    { // NAME '=' expression
19042|   119k|        if (p->error_indicator) {
  ------------------
  |  Branch (19042:13): [True: 1.24k, False: 118k]
  ------------------
19043|  1.24k|            p->level--;
19044|  1.24k|            return NULL;
19045|  1.24k|        }
19046|   118k|        D(fprintf(stderr, "%*c> kwarg_or_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' expression"));
19047|   118k|        Token * _literal;
19048|   118k|        expr_ty a;
19049|   118k|        expr_ty b;
19050|   118k|        if (
19051|   118k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (19051:13): [True: 35.8k, False: 82.5k]
  ------------------
19052|  35.8k|            &&
19053|  35.8k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (19053:13): [True: 29.7k, False: 6.08k]
  ------------------
19054|  29.7k|            &&
19055|  29.7k|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (19055:13): [True: 26.9k, False: 2.82k]
  ------------------
19056|   118k|        )
19057|  26.9k|        {
19058|  26.9k|            D(fprintf(stderr, "%*c+ kwarg_or_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' expression"));
19059|  26.9k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19060|  26.9k|            if (_token == NULL) {
  ------------------
  |  Branch (19060:17): [True: 0, False: 26.9k]
  ------------------
19061|      0|                p->level--;
19062|      0|                return NULL;
19063|      0|            }
19064|  26.9k|            int _end_lineno = _token->end_lineno;
19065|  26.9k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  26.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 26.9k]
  |  |  ------------------
  ------------------
19066|  26.9k|            int _end_col_offset = _token->end_col_offset;
19067|  26.9k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  26.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 26.9k]
  |  |  ------------------
  ------------------
19068|  26.9k|            _res = _PyPegen_keyword_or_starred ( p , CHECK ( keyword_ty , _PyAST_keyword ( a -> v . Name . id , b , EXTRA ) ) , 1 );
  ------------------
  |  |  245|  26.9k|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
19069|  26.9k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19069:18): [True: 0, False: 26.9k]
  |  Branch (19069:34): [True: 0, False: 26.9k]
  |  Branch (19069:57): [True: 0, False: 0]
  ------------------
19070|      0|                p->error_indicator = 1;
19071|      0|                p->level--;
19072|      0|                return NULL;
19073|      0|            }
19074|  26.9k|            goto done;
19075|  26.9k|        }
19076|  91.4k|        p->mark = _mark;
19077|  91.4k|        D(fprintf(stderr, "%*c%s kwarg_or_starred[%d-%d]: %s failed!\n", p->level, ' ',
19078|  91.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' expression"));
19079|  91.4k|    }
19080|      0|    { // starred_expression
19081|  91.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (19081:13): [True: 628, False: 90.8k]
  ------------------
19082|    628|            p->level--;
19083|    628|            return NULL;
19084|    628|        }
19085|  90.8k|        D(fprintf(stderr, "%*c> kwarg_or_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
19086|  90.8k|        expr_ty a;
19087|  90.8k|        if (
19088|  90.8k|            (a = starred_expression_rule(p))  // starred_expression
  ------------------
  |  Branch (19088:13): [True: 8.95k, False: 81.9k]
  ------------------
19089|  90.8k|        )
19090|  8.95k|        {
19091|  8.95k|            D(fprintf(stderr, "%*c+ kwarg_or_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
19092|  8.95k|            _res = _PyPegen_keyword_or_starred ( p , a , 0 );
19093|  8.95k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19093:18): [True: 0, False: 8.95k]
  |  Branch (19093:34): [True: 0, False: 8.95k]
  |  Branch (19093:57): [True: 0, False: 0]
  ------------------
19094|      0|                p->error_indicator = 1;
19095|      0|                p->level--;
19096|      0|                return NULL;
19097|      0|            }
19098|  8.95k|            goto done;
19099|  8.95k|        }
19100|  81.9k|        p->mark = _mark;
19101|  81.9k|        D(fprintf(stderr, "%*c%s kwarg_or_starred[%d-%d]: %s failed!\n", p->level, ' ',
19102|  81.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
19103|  81.9k|    }
19104|  81.9k|    _res = NULL;
19105|   117k|  done:
19106|   117k|    p->level--;
19107|   117k|    return _res;
19108|  81.9k|}
parser.c:invalid_kwarg_rule:
21324|   128k|{
21325|   128k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   256k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21325:9): [True: 0, False: 128k]
  |  Branch (21325:35): [True: 0, False: 128k]
  ------------------
21326|      0|        _Pypegen_stack_overflow(p);
21327|      0|    }
21328|   128k|    if (p->error_indicator) {
  ------------------
  |  Branch (21328:9): [True: 0, False: 128k]
  ------------------
21329|      0|        p->level--;
21330|      0|        return NULL;
21331|      0|    }
21332|   128k|    void * _res = NULL;
21333|   128k|    int _mark = p->mark;
21334|   128k|    { // ('True' | 'False' | 'None') '='
21335|   128k|        if (p->error_indicator) {
  ------------------
  |  Branch (21335:13): [True: 0, False: 128k]
  ------------------
21336|      0|            p->level--;
21337|      0|            return NULL;
21338|      0|        }
21339|   128k|        D(fprintf(stderr, "%*c> invalid_kwarg[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('True' | 'False' | 'None') '='"));
21340|   128k|        Token* a;
21341|   128k|        Token * b;
21342|   128k|        if (
21343|   128k|            (a = (Token*)_tmp_113_rule(p))  // 'True' | 'False' | 'None'
  ------------------
  |  Branch (21343:13): [True: 1.28k, False: 127k]
  ------------------
21344|  1.28k|            &&
21345|  1.28k|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (21345:13): [True: 3, False: 1.28k]
  ------------------
21346|   128k|        )
21347|      3|        {
21348|      3|            D(fprintf(stderr, "%*c+ invalid_kwarg[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('True' | 'False' | 'None') '='"));
21349|      3|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot assign to %s" , PyBytes_AS_STRING ( a -> bytes ) );
  ------------------
  |  |  211|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |21349|      3|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot assign to %s" , PyBytes_AS_STRING ( a -> bytes ) );
  |  |  |  |  ------------------
  |  |  |  |  |  |   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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
21350|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21350:18): [True: 3, False: 0]
  |  Branch (21350:34): [True: 0, False: 0]
  |  Branch (21350:57): [True: 3, False: 0]
  ------------------
21351|      3|                p->error_indicator = 1;
21352|      3|                p->level--;
21353|      3|                return NULL;
21354|      3|            }
21355|      0|            goto done;
21356|      3|        }
21357|   128k|        p->mark = _mark;
21358|   128k|        D(fprintf(stderr, "%*c%s invalid_kwarg[%d-%d]: %s failed!\n", p->level, ' ',
21359|   128k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('True' | 'False' | 'None') '='"));
21360|   128k|    }
21361|      0|    { // NAME '=' expression for_if_clauses
21362|   128k|        if (p->error_indicator) {
  ------------------
  |  Branch (21362:13): [True: 1, False: 128k]
  ------------------
21363|      1|            p->level--;
21364|      1|            return NULL;
21365|      1|        }
21366|   128k|        D(fprintf(stderr, "%*c> invalid_kwarg[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' expression for_if_clauses"));
21367|   128k|        expr_ty a;
21368|   128k|        Token * b;
21369|   128k|        expr_ty expression_var;
21370|   128k|        asdl_comprehension_seq* for_if_clauses_var;
21371|   128k|        if (
21372|   128k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (21372:13): [True: 32.5k, False: 95.8k]
  ------------------
21373|  32.5k|            &&
21374|  32.5k|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (21374:13): [True: 22.3k, False: 10.1k]
  ------------------
21375|  22.3k|            &&
21376|  22.3k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (21376:13): [True: 18.5k, False: 3.77k]
  ------------------
21377|  18.5k|            &&
21378|  18.5k|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (21378:13): [True: 1, False: 18.5k]
  ------------------
21379|   128k|        )
21380|      1|        {
21381|      1|            D(fprintf(stderr, "%*c+ invalid_kwarg[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' expression for_if_clauses"));
21382|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid syntax. Maybe you meant '==' or ':=' instead of '='?" );
  ------------------
  |  |  211|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
21383|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21383:18): [True: 1, False: 0]
  |  Branch (21383:34): [True: 0, False: 0]
  |  Branch (21383:57): [True: 1, False: 0]
  ------------------
21384|      1|                p->error_indicator = 1;
21385|      1|                p->level--;
21386|      1|                return NULL;
21387|      1|            }
21388|      0|            goto done;
21389|      1|        }
21390|   128k|        p->mark = _mark;
21391|   128k|        D(fprintf(stderr, "%*c%s invalid_kwarg[%d-%d]: %s failed!\n", p->level, ' ',
21392|   128k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' expression for_if_clauses"));
21393|   128k|    }
21394|      0|    { // !(NAME '=') expression '='
21395|   128k|        if (p->error_indicator) {
  ------------------
  |  Branch (21395:13): [True: 886, False: 127k]
  ------------------
21396|    886|            p->level--;
21397|    886|            return NULL;
21398|    886|        }
21399|   127k|        D(fprintf(stderr, "%*c> invalid_kwarg[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "!(NAME '=') expression '='"));
21400|   127k|        expr_ty a;
21401|   127k|        Token * b;
21402|   127k|        if (
21403|   127k|            _PyPegen_lookahead(0, _tmp_114_rule, p)
  ------------------
  |  Branch (21403:13): [True: 105k, False: 21.4k]
  ------------------
21404|   105k|            &&
21405|   105k|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (21405:13): [True: 14.7k, False: 91.2k]
  ------------------
21406|  14.7k|            &&
21407|  14.7k|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (21407:13): [True: 10, False: 14.7k]
  ------------------
21408|   127k|        )
21409|     10|        {
21410|     10|            D(fprintf(stderr, "%*c+ invalid_kwarg[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "!(NAME '=') expression '='"));
21411|     10|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "expression cannot contain assignment, perhaps you meant \"==\"?" );
  ------------------
  |  |  211|     10|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
21412|     10|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21412:18): [True: 10, False: 0]
  |  Branch (21412:34): [True: 0, False: 0]
  |  Branch (21412:57): [True: 10, False: 0]
  ------------------
21413|     10|                p->error_indicator = 1;
21414|     10|                p->level--;
21415|     10|                return NULL;
21416|     10|            }
21417|      0|            goto done;
21418|     10|        }
21419|   127k|        p->mark = _mark;
21420|   127k|        D(fprintf(stderr, "%*c%s invalid_kwarg[%d-%d]: %s failed!\n", p->level, ' ',
21421|   127k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!(NAME '=') expression '='"));
21422|   127k|    }
21423|      0|    { // '**' expression '=' expression
21424|   127k|        if (p->error_indicator) {
  ------------------
  |  Branch (21424:13): [True: 583, False: 126k]
  ------------------
21425|    583|            p->level--;
21426|    583|            return NULL;
21427|    583|        }
21428|   126k|        D(fprintf(stderr, "%*c> invalid_kwarg[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' expression '=' expression"));
21429|   126k|        Token * _literal;
21430|   126k|        Token * a;
21431|   126k|        expr_ty b;
21432|   126k|        expr_ty expression_var;
21433|   126k|        if (
21434|   126k|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (21434:13): [True: 29.2k, False: 97.6k]
  ------------------
21435|  29.2k|            &&
21436|  29.2k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (21436:13): [True: 27.9k, False: 1.24k]
  ------------------
21437|  27.9k|            &&
21438|  27.9k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (21438:13): [True: 109, False: 27.8k]
  ------------------
21439|    109|            &&
21440|    109|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (21440:13): [True: 2, False: 107]
  ------------------
21441|   126k|        )
21442|      2|        {
21443|      2|            D(fprintf(stderr, "%*c+ invalid_kwarg[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' expression '=' expression"));
21444|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot assign to keyword argument unpacking" );
  ------------------
  |  |  211|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
21445|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21445:18): [True: 2, False: 0]
  |  Branch (21445:34): [True: 0, False: 0]
  |  Branch (21445:57): [True: 2, False: 0]
  ------------------
21446|      2|                p->error_indicator = 1;
21447|      2|                p->level--;
21448|      2|                return NULL;
21449|      2|            }
21450|      0|            goto done;
21451|      2|        }
21452|   126k|        p->mark = _mark;
21453|   126k|        D(fprintf(stderr, "%*c%s invalid_kwarg[%d-%d]: %s failed!\n", p->level, ' ',
21454|   126k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' expression '=' expression"));
21455|   126k|    }
21456|   126k|    _res = NULL;
21457|   126k|  done:
21458|   126k|    p->level--;
21459|   126k|    return _res;
21460|   126k|}
parser.c:_tmp_113_rule:
35601|   128k|{
35602|   128k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   256k|#  define MAXSTACK 6000
  ------------------
  |  Branch (35602:9): [True: 0, False: 128k]
  |  Branch (35602:35): [True: 0, False: 128k]
  ------------------
35603|      0|        _Pypegen_stack_overflow(p);
35604|      0|    }
35605|   128k|    if (p->error_indicator) {
  ------------------
  |  Branch (35605:9): [True: 0, False: 128k]
  ------------------
35606|      0|        p->level--;
35607|      0|        return NULL;
35608|      0|    }
35609|   128k|    void * _res = NULL;
35610|   128k|    int _mark = p->mark;
35611|   128k|    { // 'True'
35612|   128k|        if (p->error_indicator) {
  ------------------
  |  Branch (35612:13): [True: 0, False: 128k]
  ------------------
35613|      0|            p->level--;
35614|      0|            return NULL;
35615|      0|        }
35616|   128k|        D(fprintf(stderr, "%*c> _tmp_113[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'True'"));
35617|   128k|        Token * _keyword;
35618|   128k|        if (
35619|   128k|            (_keyword = _PyPegen_expect_token(p, 627))  // token='True'
  ------------------
  |  Branch (35619:13): [True: 309, False: 128k]
  ------------------
35620|   128k|        )
35621|    309|        {
35622|    309|            D(fprintf(stderr, "%*c+ _tmp_113[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'True'"));
35623|    309|            _res = _keyword;
35624|    309|            goto done;
35625|    309|        }
35626|   128k|        p->mark = _mark;
35627|   128k|        D(fprintf(stderr, "%*c%s _tmp_113[%d-%d]: %s failed!\n", p->level, ' ',
35628|   128k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'True'"));
35629|   128k|    }
35630|      0|    { // 'False'
35631|   128k|        if (p->error_indicator) {
  ------------------
  |  Branch (35631:13): [True: 0, False: 128k]
  ------------------
35632|      0|            p->level--;
35633|      0|            return NULL;
35634|      0|        }
35635|   128k|        D(fprintf(stderr, "%*c> _tmp_113[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'False'"));
35636|   128k|        Token * _keyword;
35637|   128k|        if (
35638|   128k|            (_keyword = _PyPegen_expect_token(p, 629))  // token='False'
  ------------------
  |  Branch (35638:13): [True: 909, False: 127k]
  ------------------
35639|   128k|        )
35640|    909|        {
35641|    909|            D(fprintf(stderr, "%*c+ _tmp_113[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'False'"));
35642|    909|            _res = _keyword;
35643|    909|            goto done;
35644|    909|        }
35645|   127k|        p->mark = _mark;
35646|   127k|        D(fprintf(stderr, "%*c%s _tmp_113[%d-%d]: %s failed!\n", p->level, ' ',
35647|   127k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'False'"));
35648|   127k|    }
35649|      0|    { // 'None'
35650|   127k|        if (p->error_indicator) {
  ------------------
  |  Branch (35650:13): [True: 0, False: 127k]
  ------------------
35651|      0|            p->level--;
35652|      0|            return NULL;
35653|      0|        }
35654|   127k|        D(fprintf(stderr, "%*c> _tmp_113[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'None'"));
35655|   127k|        Token * _keyword;
35656|   127k|        if (
35657|   127k|            (_keyword = _PyPegen_expect_token(p, 628))  // token='None'
  ------------------
  |  Branch (35657:13): [True: 70, False: 127k]
  ------------------
35658|   127k|        )
35659|     70|        {
35660|     70|            D(fprintf(stderr, "%*c+ _tmp_113[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'None'"));
35661|     70|            _res = _keyword;
35662|     70|            goto done;
35663|     70|        }
35664|   127k|        p->mark = _mark;
35665|   127k|        D(fprintf(stderr, "%*c%s _tmp_113[%d-%d]: %s failed!\n", p->level, ' ',
35666|   127k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'None'"));
35667|   127k|    }
35668|   127k|    _res = NULL;
35669|   128k|  done:
35670|   128k|    p->level--;
35671|   128k|    return _res;
35672|   127k|}
parser.c:_tmp_114_rule:
35677|   127k|{
35678|   127k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   254k|#  define MAXSTACK 6000
  ------------------
  |  Branch (35678:9): [True: 0, False: 127k]
  |  Branch (35678:35): [True: 0, False: 127k]
  ------------------
35679|      0|        _Pypegen_stack_overflow(p);
35680|      0|    }
35681|   127k|    if (p->error_indicator) {
  ------------------
  |  Branch (35681:9): [True: 0, False: 127k]
  ------------------
35682|      0|        p->level--;
35683|      0|        return NULL;
35684|      0|    }
35685|   127k|    void * _res = NULL;
35686|   127k|    int _mark = p->mark;
35687|   127k|    { // NAME '='
35688|   127k|        if (p->error_indicator) {
  ------------------
  |  Branch (35688:13): [True: 0, False: 127k]
  ------------------
35689|      0|            p->level--;
35690|      0|            return NULL;
35691|      0|        }
35692|   127k|        D(fprintf(stderr, "%*c> _tmp_114[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '='"));
35693|   127k|        Token * _literal;
35694|   127k|        expr_ty name_var;
35695|   127k|        if (
35696|   127k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (35696:13): [True: 31.6k, False: 95.8k]
  ------------------
35697|  31.6k|            &&
35698|  31.6k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (35698:13): [True: 21.4k, False: 10.1k]
  ------------------
35699|   127k|        )
35700|  21.4k|        {
35701|  21.4k|            D(fprintf(stderr, "%*c+ _tmp_114[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '='"));
35702|  21.4k|            _res = _PyPegen_dummy_name(p, name_var, _literal);
35703|  21.4k|            goto done;
35704|  21.4k|        }
35705|   105k|        p->mark = _mark;
35706|   105k|        D(fprintf(stderr, "%*c%s _tmp_114[%d-%d]: %s failed!\n", p->level, ' ',
35707|   105k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '='"));
35708|   105k|    }
35709|   105k|    _res = NULL;
35710|   127k|  done:
35711|   127k|    p->level--;
35712|   127k|    return _res;
35713|   105k|}
parser.c:_loop0_93_rule:
34462|  20.0k|{
34463|  20.0k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  40.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34463:9): [True: 0, False: 20.0k]
  |  Branch (34463:35): [True: 0, False: 20.0k]
  ------------------
34464|      0|        _Pypegen_stack_overflow(p);
34465|      0|    }
34466|  20.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (34466:9): [True: 0, False: 20.0k]
  ------------------
34467|      0|        p->level--;
34468|      0|        return NULL;
34469|      0|    }
34470|  20.0k|    void *_res = NULL;
34471|  20.0k|    int _mark = p->mark;
34472|  20.0k|    void **_children = PyMem_Malloc(sizeof(void *));
34473|  20.0k|    if (!_children) {
  ------------------
  |  Branch (34473:9): [True: 0, False: 20.0k]
  ------------------
34474|      0|        p->error_indicator = 1;
34475|      0|        PyErr_NoMemory();
34476|      0|        p->level--;
34477|      0|        return NULL;
34478|      0|    }
34479|  20.0k|    Py_ssize_t _children_capacity = 1;
34480|  20.0k|    Py_ssize_t _n = 0;
34481|  20.0k|    { // ',' kwarg_or_starred
34482|  20.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (34482:13): [True: 0, False: 20.0k]
  ------------------
34483|      0|            p->level--;
34484|      0|            return NULL;
34485|      0|        }
34486|  20.0k|        D(fprintf(stderr, "%*c> _loop0_93[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' kwarg_or_starred"));
34487|  20.0k|        Token * _literal;
34488|  20.0k|        KeywordOrStarred* elem;
34489|  20.0k|        while (
34490|  35.8k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (34490:13): [True: 20.1k, False: 15.7k]
  ------------------
34491|  20.1k|            &&
34492|  20.1k|            (elem = kwarg_or_starred_rule(p))  // kwarg_or_starred
  ------------------
  |  Branch (34492:13): [True: 15.8k, False: 4.27k]
  ------------------
34493|  20.0k|        )
34494|  15.8k|        {
34495|  15.8k|            _res = elem;
34496|  15.8k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (34496:18): [True: 0, False: 15.8k]
  |  Branch (34496:34): [True: 0, False: 15.8k]
  |  Branch (34496:57): [True: 0, False: 0]
  ------------------
34497|      0|                p->error_indicator = 1;
34498|      0|                PyMem_Free(_children);
34499|      0|                p->level--;
34500|      0|                return NULL;
34501|      0|            }
34502|  15.8k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (34502:17): [True: 4.97k, False: 10.8k]
  ------------------
34503|  4.97k|                _children_capacity *= 2;
34504|  4.97k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
34505|  4.97k|                if (!_new_children) {
  ------------------
  |  Branch (34505:21): [True: 0, False: 4.97k]
  ------------------
34506|      0|                    PyMem_Free(_children);
34507|      0|                    p->error_indicator = 1;
34508|      0|                    PyErr_NoMemory();
34509|      0|                    p->level--;
34510|      0|                    return NULL;
34511|      0|                }
34512|  4.97k|                _children = _new_children;
34513|  4.97k|            }
34514|  15.8k|            _children[_n++] = _res;
34515|  15.8k|            _mark = p->mark;
34516|  15.8k|        }
34517|  20.0k|        p->mark = _mark;
34518|  20.0k|        D(fprintf(stderr, "%*c%s _loop0_93[%d-%d]: %s failed!\n", p->level, ' ',
34519|  20.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' kwarg_or_starred"));
34520|  20.0k|    }
34521|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
34522|  20.0k|    if (!_seq) {
  ------------------
  |  Branch (34522:9): [True: 0, False: 20.0k]
  ------------------
34523|      0|        PyMem_Free(_children);
34524|      0|        p->error_indicator = 1;
34525|      0|        PyErr_NoMemory();
34526|      0|        p->level--;
34527|      0|        return NULL;
34528|      0|    }
34529|  35.8k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  15.8k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  35.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (34529:28): [True: 15.8k, False: 20.0k]
  ------------------
34530|  20.0k|    PyMem_Free(_children);
34531|  20.0k|    p->level--;
34532|  20.0k|    return _seq;
34533|  20.0k|}
parser.c:_gather_96_rule:
34655|  42.3k|{
34656|  42.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  84.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34656:9): [True: 0, False: 42.3k]
  |  Branch (34656:35): [True: 0, False: 42.3k]
  ------------------
34657|      0|        _Pypegen_stack_overflow(p);
34658|      0|    }
34659|  42.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (34659:9): [True: 968, False: 41.4k]
  ------------------
34660|    968|        p->level--;
34661|    968|        return NULL;
34662|    968|    }
34663|  41.4k|    asdl_seq * _res = NULL;
34664|  41.4k|    int _mark = p->mark;
34665|  41.4k|    { // kwarg_or_double_starred _loop0_95
34666|  41.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (34666:13): [True: 0, False: 41.4k]
  ------------------
34667|      0|            p->level--;
34668|      0|            return NULL;
34669|      0|        }
34670|  41.4k|        D(fprintf(stderr, "%*c> _gather_96[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwarg_or_double_starred _loop0_95"));
34671|  41.4k|        KeywordOrStarred* elem;
34672|  41.4k|        asdl_seq * seq;
34673|  41.4k|        if (
34674|  41.4k|            (elem = kwarg_or_double_starred_rule(p))  // kwarg_or_double_starred
  ------------------
  |  Branch (34674:13): [True: 9.24k, False: 32.1k]
  ------------------
34675|  9.24k|            &&
34676|  9.24k|            (seq = _loop0_95_rule(p))  // _loop0_95
  ------------------
  |  Branch (34676:13): [True: 9.24k, False: 0]
  ------------------
34677|  41.4k|        )
34678|  9.24k|        {
34679|  9.24k|            D(fprintf(stderr, "%*c+ _gather_96[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwarg_or_double_starred _loop0_95"));
34680|  9.24k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
34681|  9.24k|            goto done;
34682|  9.24k|        }
34683|  32.1k|        p->mark = _mark;
34684|  32.1k|        D(fprintf(stderr, "%*c%s _gather_96[%d-%d]: %s failed!\n", p->level, ' ',
34685|  32.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwarg_or_double_starred _loop0_95"));
34686|  32.1k|    }
34687|  32.1k|    _res = NULL;
34688|  41.4k|  done:
34689|  41.4k|    p->level--;
34690|  41.4k|    return _res;
34691|  32.1k|}
parser.c:kwarg_or_double_starred_rule:
19113|  52.4k|{
19114|  52.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   104k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19114:9): [True: 0, False: 52.4k]
  |  Branch (19114:35): [True: 0, False: 52.4k]
  ------------------
19115|      0|        _Pypegen_stack_overflow(p);
19116|      0|    }
19117|  52.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (19117:9): [True: 0, False: 52.4k]
  ------------------
19118|      0|        p->level--;
19119|      0|        return NULL;
19120|      0|    }
19121|  52.4k|    KeywordOrStarred* _res = NULL;
19122|  52.4k|    int _mark = p->mark;
19123|  52.4k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (19123:9): [True: 3.04k, False: 49.4k]
  |  Branch (19123:31): [True: 8, False: 3.03k]
  ------------------
19124|      8|        p->error_indicator = 1;
19125|      8|        p->level--;
19126|      8|        return NULL;
19127|      8|    }
19128|  52.4k|    int _start_lineno = p->tokens[_mark]->lineno;
19129|  52.4k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  52.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 52.4k]
  |  |  ------------------
  ------------------
19130|  52.4k|    int _start_col_offset = p->tokens[_mark]->col_offset;
19131|  52.4k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  52.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 52.4k]
  |  |  ------------------
  ------------------
19132|  52.4k|    if (p->call_invalid_rules) { // invalid_kwarg
  ------------------
  |  Branch (19132:9): [True: 41.3k, False: 11.1k]
  ------------------
19133|  41.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (19133:13): [True: 0, False: 41.3k]
  ------------------
19134|      0|            p->level--;
19135|      0|            return NULL;
19136|      0|        }
19137|  41.3k|        D(fprintf(stderr, "%*c> kwarg_or_double_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_kwarg"));
19138|  41.3k|        void *invalid_kwarg_var;
19139|  41.3k|        if (
19140|  41.3k|            (invalid_kwarg_var = invalid_kwarg_rule(p))  // invalid_kwarg
  ------------------
  |  Branch (19140:13): [True: 0, False: 41.3k]
  ------------------
19141|  41.3k|        )
19142|      0|        {
19143|      0|            D(fprintf(stderr, "%*c+ kwarg_or_double_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_kwarg"));
19144|      0|            _res = invalid_kwarg_var;
19145|      0|            goto done;
19146|      0|        }
19147|  41.3k|        p->mark = _mark;
19148|  41.3k|        D(fprintf(stderr, "%*c%s kwarg_or_double_starred[%d-%d]: %s failed!\n", p->level, ' ',
19149|  41.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_kwarg"));
19150|  41.3k|    }
19151|  52.4k|    { // NAME '=' expression
19152|  52.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (19152:13): [True: 479, False: 51.9k]
  ------------------
19153|    479|            p->level--;
19154|    479|            return NULL;
19155|    479|        }
19156|  51.9k|        D(fprintf(stderr, "%*c> kwarg_or_double_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' expression"));
19157|  51.9k|        Token * _literal;
19158|  51.9k|        expr_ty a;
19159|  51.9k|        expr_ty b;
19160|  51.9k|        if (
19161|  51.9k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (19161:13): [True: 5.75k, False: 46.2k]
  ------------------
19162|  5.75k|            &&
19163|  5.75k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (19163:13): [True: 1.87k, False: 3.88k]
  ------------------
19164|  1.87k|            &&
19165|  1.87k|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (19165:13): [True: 679, False: 1.19k]
  ------------------
19166|  51.9k|        )
19167|    679|        {
19168|    679|            D(fprintf(stderr, "%*c+ kwarg_or_double_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' expression"));
19169|    679|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19170|    679|            if (_token == NULL) {
  ------------------
  |  Branch (19170:17): [True: 0, False: 679]
  ------------------
19171|      0|                p->level--;
19172|      0|                return NULL;
19173|      0|            }
19174|    679|            int _end_lineno = _token->end_lineno;
19175|    679|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    679|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 679]
  |  |  ------------------
  ------------------
19176|    679|            int _end_col_offset = _token->end_col_offset;
19177|    679|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    679|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 679]
  |  |  ------------------
  ------------------
19178|    679|            _res = _PyPegen_keyword_or_starred ( p , CHECK ( keyword_ty , _PyAST_keyword ( a -> v . Name . id , b , EXTRA ) ) , 1 );
  ------------------
  |  |  245|    679|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
19179|    679|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19179:18): [True: 0, False: 679]
  |  Branch (19179:34): [True: 0, False: 679]
  |  Branch (19179:57): [True: 0, False: 0]
  ------------------
19180|      0|                p->error_indicator = 1;
19181|      0|                p->level--;
19182|      0|                return NULL;
19183|      0|            }
19184|    679|            goto done;
19185|    679|        }
19186|  51.3k|        p->mark = _mark;
19187|  51.3k|        D(fprintf(stderr, "%*c%s kwarg_or_double_starred[%d-%d]: %s failed!\n", p->level, ' ',
19188|  51.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' expression"));
19189|  51.3k|    }
19190|      0|    { // '**' expression
19191|  51.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (19191:13): [True: 84, False: 51.2k]
  ------------------
19192|     84|            p->level--;
19193|     84|            return NULL;
19194|     84|        }
19195|  51.2k|        D(fprintf(stderr, "%*c> kwarg_or_double_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' expression"));
19196|  51.2k|        Token * _literal;
19197|  51.2k|        expr_ty a;
19198|  51.2k|        if (
19199|  51.2k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (19199:13): [True: 15.0k, False: 36.1k]
  ------------------
19200|  15.0k|            &&
19201|  15.0k|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (19201:13): [True: 14.6k, False: 404]
  ------------------
19202|  51.2k|        )
19203|  14.6k|        {
19204|  14.6k|            D(fprintf(stderr, "%*c+ kwarg_or_double_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' expression"));
19205|  14.6k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19206|  14.6k|            if (_token == NULL) {
  ------------------
  |  Branch (19206:17): [True: 0, False: 14.6k]
  ------------------
19207|      0|                p->level--;
19208|      0|                return NULL;
19209|      0|            }
19210|  14.6k|            int _end_lineno = _token->end_lineno;
19211|  14.6k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  14.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 14.6k]
  |  |  ------------------
  ------------------
19212|  14.6k|            int _end_col_offset = _token->end_col_offset;
19213|  14.6k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  14.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 14.6k]
  |  |  ------------------
  ------------------
19214|  14.6k|            _res = _PyPegen_keyword_or_starred ( p , CHECK ( keyword_ty , _PyAST_keyword ( NULL , a , EXTRA ) ) , 1 );
  ------------------
  |  |  245|  14.6k|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
19215|  14.6k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19215:18): [True: 0, False: 14.6k]
  |  Branch (19215:34): [True: 0, False: 14.6k]
  |  Branch (19215:57): [True: 0, False: 0]
  ------------------
19216|      0|                p->error_indicator = 1;
19217|      0|                p->level--;
19218|      0|                return NULL;
19219|      0|            }
19220|  14.6k|            goto done;
19221|  14.6k|        }
19222|  36.5k|        p->mark = _mark;
19223|  36.5k|        D(fprintf(stderr, "%*c%s kwarg_or_double_starred[%d-%d]: %s failed!\n", p->level, ' ',
19224|  36.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' expression"));
19225|  36.5k|    }
19226|  36.5k|    _res = NULL;
19227|  51.8k|  done:
19228|  51.8k|    p->level--;
19229|  51.8k|    return _res;
19230|  36.5k|}
parser.c:_loop0_95_rule:
34579|  9.24k|{
34580|  9.24k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  18.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34580:9): [True: 0, False: 9.24k]
  |  Branch (34580:35): [True: 0, False: 9.24k]
  ------------------
34581|      0|        _Pypegen_stack_overflow(p);
34582|      0|    }
34583|  9.24k|    if (p->error_indicator) {
  ------------------
  |  Branch (34583:9): [True: 0, False: 9.24k]
  ------------------
34584|      0|        p->level--;
34585|      0|        return NULL;
34586|      0|    }
34587|  9.24k|    void *_res = NULL;
34588|  9.24k|    int _mark = p->mark;
34589|  9.24k|    void **_children = PyMem_Malloc(sizeof(void *));
34590|  9.24k|    if (!_children) {
  ------------------
  |  Branch (34590:9): [True: 0, False: 9.24k]
  ------------------
34591|      0|        p->error_indicator = 1;
34592|      0|        PyErr_NoMemory();
34593|      0|        p->level--;
34594|      0|        return NULL;
34595|      0|    }
34596|  9.24k|    Py_ssize_t _children_capacity = 1;
34597|  9.24k|    Py_ssize_t _n = 0;
34598|  9.24k|    { // ',' kwarg_or_double_starred
34599|  9.24k|        if (p->error_indicator) {
  ------------------
  |  Branch (34599:13): [True: 0, False: 9.24k]
  ------------------
34600|      0|            p->level--;
34601|      0|            return NULL;
34602|      0|        }
34603|  9.24k|        D(fprintf(stderr, "%*c> _loop0_95[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' kwarg_or_double_starred"));
34604|  9.24k|        Token * _literal;
34605|  9.24k|        KeywordOrStarred* elem;
34606|  9.24k|        while (
34607|  15.3k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (34607:13): [True: 11.0k, False: 4.24k]
  ------------------
34608|  11.0k|            &&
34609|  11.0k|            (elem = kwarg_or_double_starred_rule(p))  // kwarg_or_double_starred
  ------------------
  |  Branch (34609:13): [True: 6.05k, False: 5.00k]
  ------------------
34610|  9.24k|        )
34611|  6.05k|        {
34612|  6.05k|            _res = elem;
34613|  6.05k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (34613:18): [True: 0, False: 6.05k]
  |  Branch (34613:34): [True: 0, False: 6.05k]
  |  Branch (34613:57): [True: 0, False: 0]
  ------------------
34614|      0|                p->error_indicator = 1;
34615|      0|                PyMem_Free(_children);
34616|      0|                p->level--;
34617|      0|                return NULL;
34618|      0|            }
34619|  6.05k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (34619:17): [True: 1.69k, False: 4.36k]
  ------------------
34620|  1.69k|                _children_capacity *= 2;
34621|  1.69k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
34622|  1.69k|                if (!_new_children) {
  ------------------
  |  Branch (34622:21): [True: 0, False: 1.69k]
  ------------------
34623|      0|                    PyMem_Free(_children);
34624|      0|                    p->error_indicator = 1;
34625|      0|                    PyErr_NoMemory();
34626|      0|                    p->level--;
34627|      0|                    return NULL;
34628|      0|                }
34629|  1.69k|                _children = _new_children;
34630|  1.69k|            }
34631|  6.05k|            _children[_n++] = _res;
34632|  6.05k|            _mark = p->mark;
34633|  6.05k|        }
34634|  9.24k|        p->mark = _mark;
34635|  9.24k|        D(fprintf(stderr, "%*c%s _loop0_95[%d-%d]: %s failed!\n", p->level, ' ',
34636|  9.24k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' kwarg_or_double_starred"));
34637|  9.24k|    }
34638|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
34639|  9.24k|    if (!_seq) {
  ------------------
  |  Branch (34639:9): [True: 0, False: 9.24k]
  ------------------
34640|      0|        PyMem_Free(_children);
34641|      0|        p->error_indicator = 1;
34642|      0|        PyErr_NoMemory();
34643|      0|        p->level--;
34644|      0|        return NULL;
34645|      0|    }
34646|  15.3k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  6.05k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  15.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (34646:28): [True: 6.05k, False: 9.24k]
  ------------------
34647|  9.24k|    PyMem_Free(_children);
34648|  9.24k|    p->level--;
34649|  9.24k|    return _seq;
34650|  9.24k|}
parser.c:invalid_arguments_rule:
21081|  9.89k|{
21082|  9.89k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  19.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21082:9): [True: 0, False: 9.89k]
  |  Branch (21082:35): [True: 0, False: 9.89k]
  ------------------
21083|      0|        _Pypegen_stack_overflow(p);
21084|      0|    }
21085|  9.89k|    if (p->error_indicator) {
  ------------------
  |  Branch (21085:9): [True: 0, False: 9.89k]
  ------------------
21086|      0|        p->level--;
21087|      0|        return NULL;
21088|      0|    }
21089|  9.89k|    void * _res = NULL;
21090|  9.89k|    int _mark = p->mark;
21091|  9.89k|    { // ((','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs) | kwargs) ',' ','.(starred_expression !'=')+
21092|  9.89k|        if (p->error_indicator) {
  ------------------
  |  Branch (21092:13): [True: 0, False: 9.89k]
  ------------------
21093|      0|            p->level--;
21094|      0|            return NULL;
21095|      0|        }
21096|  9.89k|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs) | kwargs) ',' ','.(starred_expression !'=')+"));
21097|  9.89k|        asdl_seq * _gather_109_var;
21098|  9.89k|        void *_tmp_107_var;
21099|  9.89k|        Token * a;
21100|  9.89k|        if (
21101|  9.89k|            (_tmp_107_var = _tmp_107_rule(p))  // (','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs) | kwargs
  ------------------
  |  Branch (21101:13): [True: 3.60k, False: 6.28k]
  ------------------
21102|  3.60k|            &&
21103|  3.60k|            (a = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (21103:13): [True: 1.95k, False: 1.64k]
  ------------------
21104|  1.95k|            &&
21105|  1.95k|            (_gather_109_var = _gather_109_rule(p))  // ','.(starred_expression !'=')+
  ------------------
  |  Branch (21105:13): [True: 1.03k, False: 921]
  ------------------
21106|  9.89k|        )
21107|  1.03k|        {
21108|  1.03k|            D(fprintf(stderr, "%*c+ invalid_arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "((','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs) | kwargs) ',' ','.(starred_expression !'=')+"));
21109|  1.03k|            _res = RAISE_SYNTAX_ERROR_STARTING_FROM ( a , "iterable argument unpacking follows keyword argument unpacking" );
  ------------------
  |  |  215|  1.03k|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   27|  1.03k|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |                   RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   27|  1.03k|#define CURRENT_POS (-5)
  |  |  ------------------
  ------------------
21110|  1.03k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21110:18): [True: 1.03k, False: 0]
  |  Branch (21110:34): [True: 0, False: 0]
  |  Branch (21110:57): [True: 1.03k, False: 0]
  ------------------
21111|  1.03k|                p->error_indicator = 1;
21112|  1.03k|                p->level--;
21113|  1.03k|                return NULL;
21114|  1.03k|            }
21115|      0|            goto done;
21116|  1.03k|        }
21117|  8.85k|        p->mark = _mark;
21118|  8.85k|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
21119|  8.85k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs) | kwargs) ',' ','.(starred_expression !'=')+"));
21120|  8.85k|    }
21121|      0|    { // expression for_if_clauses ',' [args | expression for_if_clauses]
21122|  8.85k|        if (p->error_indicator) {
  ------------------
  |  Branch (21122:13): [True: 234, False: 8.62k]
  ------------------
21123|    234|            p->level--;
21124|    234|            return NULL;
21125|    234|        }
21126|  8.62k|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression for_if_clauses ',' [args | expression for_if_clauses]"));
21127|  8.62k|        Token * _literal;
21128|  8.62k|        void *_opt_var;
21129|  8.62k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  8.62k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 8.62k]
  |  |  ------------------
  ------------------
21130|  8.62k|        expr_ty a;
21131|  8.62k|        asdl_comprehension_seq* b;
21132|  8.62k|        if (
21133|  8.62k|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (21133:13): [True: 4.64k, False: 3.98k]
  ------------------
21134|  4.64k|            &&
21135|  4.64k|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (21135:13): [True: 859, False: 3.78k]
  ------------------
21136|    859|            &&
21137|    859|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (21137:13): [True: 317, False: 542]
  ------------------
21138|    317|            &&
21139|    317|            (_opt_var = _tmp_110_rule(p), !p->error_indicator)  // [args | expression for_if_clauses]
  ------------------
  |  Branch (21139:13): [True: 7, False: 310]
  ------------------
21140|  8.62k|        )
21141|      7|        {
21142|      7|            D(fprintf(stderr, "%*c+ invalid_arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression for_if_clauses ',' [args | expression for_if_clauses]"));
21143|      7|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , _PyPegen_get_last_comprehension_item ( PyPegen_last_item ( b , comprehension_ty ) ) , "Generator expression must be parenthesized" );
  ------------------
  |  |  211|      7|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
21144|      7|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21144:18): [True: 7, False: 0]
  |  Branch (21144:34): [True: 0, False: 0]
  |  Branch (21144:57): [True: 7, False: 0]
  ------------------
21145|      7|                p->error_indicator = 1;
21146|      7|                p->level--;
21147|      7|                return NULL;
21148|      7|            }
21149|      0|            goto done;
21150|      7|        }
21151|  8.61k|        p->mark = _mark;
21152|  8.61k|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
21153|  8.61k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression for_if_clauses ',' [args | expression for_if_clauses]"));
21154|  8.61k|    }
21155|      0|    { // NAME '=' expression for_if_clauses
21156|  8.61k|        if (p->error_indicator) {
  ------------------
  |  Branch (21156:13): [True: 310, False: 8.30k]
  ------------------
21157|    310|            p->level--;
21158|    310|            return NULL;
21159|    310|        }
21160|  8.30k|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' expression for_if_clauses"));
21161|  8.30k|        expr_ty a;
21162|  8.30k|        Token * b;
21163|  8.30k|        expr_ty expression_var;
21164|  8.30k|        asdl_comprehension_seq* for_if_clauses_var;
21165|  8.30k|        if (
21166|  8.30k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (21166:13): [True: 3.09k, False: 5.21k]
  ------------------
21167|  3.09k|            &&
21168|  3.09k|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (21168:13): [True: 617, False: 2.47k]
  ------------------
21169|    617|            &&
21170|    617|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (21170:13): [True: 459, False: 158]
  ------------------
21171|    459|            &&
21172|    459|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (21172:13): [True: 0, False: 459]
  ------------------
21173|  8.30k|        )
21174|      0|        {
21175|      0|            D(fprintf(stderr, "%*c+ invalid_arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' expression for_if_clauses"));
21176|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid syntax. Maybe you meant '==' or ':=' instead of '='?" );
  ------------------
  |  |  211|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
21177|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21177:18): [True: 0, False: 0]
  |  Branch (21177:34): [True: 0, False: 0]
  |  Branch (21177:57): [True: 0, False: 0]
  ------------------
21178|      0|                p->error_indicator = 1;
21179|      0|                p->level--;
21180|      0|                return NULL;
21181|      0|            }
21182|      0|            goto done;
21183|      0|        }
21184|  8.30k|        p->mark = _mark;
21185|  8.30k|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
21186|  8.30k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' expression for_if_clauses"));
21187|  8.30k|    }
21188|      0|    { // [(args ',')] NAME '=' &(',' | ')')
21189|  8.30k|        if (p->error_indicator) {
  ------------------
  |  Branch (21189:13): [True: 0, False: 8.30k]
  ------------------
21190|      0|            p->level--;
21191|      0|            return NULL;
21192|      0|        }
21193|  8.30k|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "[(args ',')] NAME '=' &(',' | ')')"));
21194|  8.30k|        void *_opt_var;
21195|  8.30k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  8.30k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 8.30k]
  |  |  ------------------
  ------------------
21196|  8.30k|        expr_ty a;
21197|  8.30k|        Token * b;
21198|  8.30k|        if (
21199|  8.30k|            (_opt_var = _tmp_111_rule(p), !p->error_indicator)  // [(args ',')]
  ------------------
  |  Branch (21199:13): [True: 8.30k, False: 0]
  ------------------
21200|  8.30k|            &&
21201|  8.30k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (21201:13): [True: 2.94k, False: 5.36k]
  ------------------
21202|  2.94k|            &&
21203|  2.94k|            (b = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (21203:13): [True: 470, False: 2.47k]
  ------------------
21204|    470|            &&
21205|    470|            _PyPegen_lookahead(1, _tmp_112_rule, p)
  ------------------
  |  Branch (21205:13): [True: 11, False: 459]
  ------------------
21206|  8.30k|        )
21207|     11|        {
21208|     11|            D(fprintf(stderr, "%*c+ invalid_arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "[(args ',')] NAME '=' &(',' | ')')"));
21209|     11|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "expected argument value expression" );
  ------------------
  |  |  211|     11|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
21210|     11|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21210:18): [True: 11, False: 0]
  |  Branch (21210:34): [True: 0, False: 0]
  |  Branch (21210:57): [True: 11, False: 0]
  ------------------
21211|     11|                p->error_indicator = 1;
21212|     11|                p->level--;
21213|     11|                return NULL;
21214|     11|            }
21215|      0|            goto done;
21216|     11|        }
21217|  8.29k|        p->mark = _mark;
21218|  8.29k|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
21219|  8.29k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "[(args ',')] NAME '=' &(',' | ')')"));
21220|  8.29k|    }
21221|      0|    { // args for_if_clauses
21222|  8.29k|        if (p->error_indicator) {
  ------------------
  |  Branch (21222:13): [True: 0, False: 8.29k]
  ------------------
21223|      0|            p->level--;
21224|      0|            return NULL;
21225|      0|        }
21226|  8.29k|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args for_if_clauses"));
21227|  8.29k|        expr_ty a;
21228|  8.29k|        asdl_comprehension_seq* b;
21229|  8.29k|        if (
21230|  8.29k|            (a = args_rule(p))  // args
  ------------------
  |  Branch (21230:13): [True: 5.39k, False: 2.90k]
  ------------------
21231|  5.39k|            &&
21232|  5.39k|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (21232:13): [True: 871, False: 4.52k]
  ------------------
21233|  8.29k|        )
21234|    871|        {
21235|    871|            D(fprintf(stderr, "%*c+ invalid_arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args for_if_clauses"));
21236|    871|            _res = _PyPegen_nonparen_genexp_in_call ( p , a , b );
21237|    871|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21237:18): [True: 871, False: 0]
  |  Branch (21237:34): [True: 0, False: 0]
  |  Branch (21237:57): [True: 2, False: 869]
  ------------------
21238|      2|                p->error_indicator = 1;
21239|      2|                p->level--;
21240|      2|                return NULL;
21241|      2|            }
21242|    869|            goto done;
21243|    871|        }
21244|  7.42k|        p->mark = _mark;
21245|  7.42k|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
21246|  7.42k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args for_if_clauses"));
21247|  7.42k|    }
21248|      0|    { // args ',' expression for_if_clauses
21249|  7.42k|        if (p->error_indicator) {
  ------------------
  |  Branch (21249:13): [True: 318, False: 7.10k]
  ------------------
21250|    318|            p->level--;
21251|    318|            return NULL;
21252|    318|        }
21253|  7.10k|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args ',' expression for_if_clauses"));
21254|  7.10k|        Token * _literal;
21255|  7.10k|        expr_ty a;
21256|  7.10k|        expr_ty args_var;
21257|  7.10k|        asdl_comprehension_seq* b;
21258|  7.10k|        if (
21259|  7.10k|            (args_var = args_rule(p))  // args
  ------------------
  |  Branch (21259:13): [True: 4.20k, False: 2.90k]
  ------------------
21260|  4.20k|            &&
21261|  4.20k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (21261:13): [True: 596, False: 3.60k]
  ------------------
21262|    596|            &&
21263|    596|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (21263:13): [True: 421, False: 175]
  ------------------
21264|    421|            &&
21265|    421|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (21265:13): [True: 2, False: 419]
  ------------------
21266|  7.10k|        )
21267|      2|        {
21268|      2|            D(fprintf(stderr, "%*c+ invalid_arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args ',' expression for_if_clauses"));
21269|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , _PyPegen_get_last_comprehension_item ( PyPegen_last_item ( b , comprehension_ty ) ) , "Generator expression must be parenthesized" );
  ------------------
  |  |  211|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
21270|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21270:18): [True: 2, False: 0]
  |  Branch (21270:34): [True: 0, False: 0]
  |  Branch (21270:57): [True: 2, False: 0]
  ------------------
21271|      2|                p->error_indicator = 1;
21272|      2|                p->level--;
21273|      2|                return NULL;
21274|      2|            }
21275|      0|            goto done;
21276|      2|        }
21277|  7.10k|        p->mark = _mark;
21278|  7.10k|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
21279|  7.10k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args ',' expression for_if_clauses"));
21280|  7.10k|    }
21281|      0|    { // args ',' args
21282|  7.10k|        if (p->error_indicator) {
  ------------------
  |  Branch (21282:13): [True: 144, False: 6.95k]
  ------------------
21283|    144|            p->level--;
21284|    144|            return NULL;
21285|    144|        }
21286|  6.95k|        D(fprintf(stderr, "%*c> invalid_arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args ',' args"));
21287|  6.95k|        Token * _literal;
21288|  6.95k|        expr_ty a;
21289|  6.95k|        expr_ty args_var;
21290|  6.95k|        if (
21291|  6.95k|            (a = args_rule(p))  // args
  ------------------
  |  Branch (21291:13): [True: 4.05k, False: 2.90k]
  ------------------
21292|  4.05k|            &&
21293|  4.05k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (21293:13): [True: 450, False: 3.60k]
  ------------------
21294|    450|            &&
21295|    450|            (args_var = args_rule(p))  // args
  ------------------
  |  Branch (21295:13): [True: 33, False: 417]
  ------------------
21296|  6.95k|        )
21297|     33|        {
21298|     33|            D(fprintf(stderr, "%*c+ invalid_arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args ',' args"));
21299|     33|            _res = _PyPegen_arguments_parsing_error ( p , a );
21300|     33|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21300:18): [True: 33, False: 0]
  |  Branch (21300:34): [True: 0, False: 0]
  |  Branch (21300:57): [True: 33, False: 0]
  ------------------
21301|     33|                p->error_indicator = 1;
21302|     33|                p->level--;
21303|     33|                return NULL;
21304|     33|            }
21305|      0|            goto done;
21306|     33|        }
21307|  6.92k|        p->mark = _mark;
21308|  6.92k|        D(fprintf(stderr, "%*c%s invalid_arguments[%d-%d]: %s failed!\n", p->level, ' ',
21309|  6.92k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args ',' args"));
21310|  6.92k|    }
21311|  6.92k|    _res = NULL;
21312|  7.79k|  done:
21313|  7.79k|    p->level--;
21314|  7.79k|    return _res;
21315|  6.92k|}
parser.c:_tmp_107_rule:
35269|  9.89k|{
35270|  9.89k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  19.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (35270:9): [True: 0, False: 9.89k]
  |  Branch (35270:35): [True: 0, False: 9.89k]
  ------------------
35271|      0|        _Pypegen_stack_overflow(p);
35272|      0|    }
35273|  9.89k|    if (p->error_indicator) {
  ------------------
  |  Branch (35273:9): [True: 0, False: 9.89k]
  ------------------
35274|      0|        p->level--;
35275|      0|        return NULL;
35276|      0|    }
35277|  9.89k|    void * _res = NULL;
35278|  9.89k|    int _mark = p->mark;
35279|  9.89k|    { // (','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs)
35280|  9.89k|        if (p->error_indicator) {
  ------------------
  |  Branch (35280:13): [True: 0, False: 9.89k]
  ------------------
35281|      0|            p->level--;
35282|      0|            return NULL;
35283|      0|        }
35284|  9.89k|        D(fprintf(stderr, "%*c> _tmp_107[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs)"));
35285|  9.89k|        void *_tmp_169_var;
35286|  9.89k|        if (
35287|  9.89k|            (_tmp_169_var = _tmp_169_rule(p))  // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs
  ------------------
  |  Branch (35287:13): [True: 668, False: 9.22k]
  ------------------
35288|  9.89k|        )
35289|    668|        {
35290|    668|            D(fprintf(stderr, "%*c+ _tmp_107[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs)"));
35291|    668|            _res = _tmp_169_var;
35292|    668|            goto done;
35293|    668|        }
35294|  9.22k|        p->mark = _mark;
35295|  9.22k|        D(fprintf(stderr, "%*c%s _tmp_107[%d-%d]: %s failed!\n", p->level, ' ',
35296|  9.22k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs)"));
35297|  9.22k|    }
35298|      0|    { // kwargs
35299|  9.22k|        if (p->error_indicator) {
  ------------------
  |  Branch (35299:13): [True: 0, False: 9.22k]
  ------------------
35300|      0|            p->level--;
35301|      0|            return NULL;
35302|      0|        }
35303|  9.22k|        D(fprintf(stderr, "%*c> _tmp_107[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwargs"));
35304|  9.22k|        asdl_seq* kwargs_var;
35305|  9.22k|        if (
35306|  9.22k|            (kwargs_var = kwargs_rule(p))  // kwargs
  ------------------
  |  Branch (35306:13): [True: 2.93k, False: 6.28k]
  ------------------
35307|  9.22k|        )
35308|  2.93k|        {
35309|  2.93k|            D(fprintf(stderr, "%*c+ _tmp_107[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwargs"));
35310|  2.93k|            _res = kwargs_var;
35311|  2.93k|            goto done;
35312|  2.93k|        }
35313|  6.28k|        p->mark = _mark;
35314|  6.28k|        D(fprintf(stderr, "%*c%s _tmp_107[%d-%d]: %s failed!\n", p->level, ' ',
35315|  6.28k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwargs"));
35316|  6.28k|    }
35317|  6.28k|    _res = NULL;
35318|  9.89k|  done:
35319|  9.89k|    p->level--;
35320|  9.89k|    return _res;
35321|  6.28k|}
parser.c:_tmp_169_rule:
38985|  9.89k|{
38986|  9.89k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  19.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38986:9): [True: 0, False: 9.89k]
  |  Branch (38986:35): [True: 0, False: 9.89k]
  ------------------
38987|      0|        _Pypegen_stack_overflow(p);
38988|      0|    }
38989|  9.89k|    if (p->error_indicator) {
  ------------------
  |  Branch (38989:9): [True: 0, False: 9.89k]
  ------------------
38990|      0|        p->level--;
38991|      0|        return NULL;
38992|      0|    }
38993|  9.89k|    void * _res = NULL;
38994|  9.89k|    int _mark = p->mark;
38995|  9.89k|    { // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs
38996|  9.89k|        if (p->error_indicator) {
  ------------------
  |  Branch (38996:13): [True: 0, False: 9.89k]
  ------------------
38997|      0|            p->level--;
38998|      0|            return NULL;
38999|      0|        }
39000|  9.89k|        D(fprintf(stderr, "%*c> _tmp_169[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs"));
39001|  9.89k|        asdl_seq * _gather_91_var;
39002|  9.89k|        Token * _literal;
39003|  9.89k|        asdl_seq* kwargs_var;
39004|  9.89k|        if (
39005|  9.89k|            (_gather_91_var = _gather_91_rule(p))  // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+
  ------------------
  |  Branch (39005:13): [True: 4.38k, False: 5.50k]
  ------------------
39006|  4.38k|            &&
39007|  4.38k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (39007:13): [True: 801, False: 3.58k]
  ------------------
39008|    801|            &&
39009|    801|            (kwargs_var = kwargs_rule(p))  // kwargs
  ------------------
  |  Branch (39009:13): [True: 668, False: 133]
  ------------------
39010|  9.89k|        )
39011|    668|        {
39012|    668|            D(fprintf(stderr, "%*c+ _tmp_169[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs"));
39013|    668|            _res = _PyPegen_dummy_name(p, _gather_91_var, _literal, kwargs_var);
39014|    668|            goto done;
39015|    668|        }
39016|  9.22k|        p->mark = _mark;
39017|  9.22k|        D(fprintf(stderr, "%*c%s _tmp_169[%d-%d]: %s failed!\n", p->level, ' ',
39018|  9.22k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ ',' kwargs"));
39019|  9.22k|    }
39020|  9.22k|    _res = NULL;
39021|  9.89k|  done:
39022|  9.89k|    p->level--;
39023|  9.89k|    return _res;
39024|  9.22k|}
parser.c:_gather_109_rule:
35402|  1.95k|{
35403|  1.95k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.91k|#  define MAXSTACK 6000
  ------------------
  |  Branch (35403:9): [True: 0, False: 1.95k]
  |  Branch (35403:35): [True: 0, False: 1.95k]
  ------------------
35404|      0|        _Pypegen_stack_overflow(p);
35405|      0|    }
35406|  1.95k|    if (p->error_indicator) {
  ------------------
  |  Branch (35406:9): [True: 0, False: 1.95k]
  ------------------
35407|      0|        p->level--;
35408|      0|        return NULL;
35409|      0|    }
35410|  1.95k|    asdl_seq * _res = NULL;
35411|  1.95k|    int _mark = p->mark;
35412|  1.95k|    { // (starred_expression !'=') _loop0_108
35413|  1.95k|        if (p->error_indicator) {
  ------------------
  |  Branch (35413:13): [True: 0, False: 1.95k]
  ------------------
35414|      0|            p->level--;
35415|      0|            return NULL;
35416|      0|        }
35417|  1.95k|        D(fprintf(stderr, "%*c> _gather_109[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(starred_expression !'=') _loop0_108"));
35418|  1.95k|        void *elem;
35419|  1.95k|        asdl_seq * seq;
35420|  1.95k|        if (
35421|  1.95k|            (elem = _tmp_170_rule(p))  // starred_expression !'='
  ------------------
  |  Branch (35421:13): [True: 1.03k, False: 921]
  ------------------
35422|  1.03k|            &&
35423|  1.03k|            (seq = _loop0_108_rule(p))  // _loop0_108
  ------------------
  |  Branch (35423:13): [True: 1.03k, False: 0]
  ------------------
35424|  1.95k|        )
35425|  1.03k|        {
35426|  1.03k|            D(fprintf(stderr, "%*c+ _gather_109[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(starred_expression !'=') _loop0_108"));
35427|  1.03k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
35428|  1.03k|            goto done;
35429|  1.03k|        }
35430|    921|        p->mark = _mark;
35431|    921|        D(fprintf(stderr, "%*c%s _gather_109[%d-%d]: %s failed!\n", p->level, ' ',
35432|    921|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(starred_expression !'=') _loop0_108"));
35433|    921|    }
35434|    921|    _res = NULL;
35435|  1.95k|  done:
35436|  1.95k|    p->level--;
35437|  1.95k|    return _res;
35438|    921|}
parser.c:_tmp_170_rule:
39029|  4.80k|{
39030|  4.80k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  9.60k|#  define MAXSTACK 6000
  ------------------
  |  Branch (39030:9): [True: 0, False: 4.80k]
  |  Branch (39030:35): [True: 0, False: 4.80k]
  ------------------
39031|      0|        _Pypegen_stack_overflow(p);
39032|      0|    }
39033|  4.80k|    if (p->error_indicator) {
  ------------------
  |  Branch (39033:9): [True: 0, False: 4.80k]
  ------------------
39034|      0|        p->level--;
39035|      0|        return NULL;
39036|      0|    }
39037|  4.80k|    void * _res = NULL;
39038|  4.80k|    int _mark = p->mark;
39039|  4.80k|    { // starred_expression !'='
39040|  4.80k|        if (p->error_indicator) {
  ------------------
  |  Branch (39040:13): [True: 0, False: 4.80k]
  ------------------
39041|      0|            p->level--;
39042|      0|            return NULL;
39043|      0|        }
39044|  4.80k|        D(fprintf(stderr, "%*c> _tmp_170[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression !'='"));
39045|  4.80k|        expr_ty starred_expression_var;
39046|  4.80k|        if (
39047|  4.80k|            (starred_expression_var = starred_expression_rule(p))  // starred_expression
  ------------------
  |  Branch (39047:13): [True: 2.85k, False: 1.94k]
  ------------------
39048|  2.85k|            &&
39049|  2.85k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 22)  // token='='
  ------------------
  |  Branch (39049:13): [True: 2.85k, False: 2]
  ------------------
39050|  4.80k|        )
39051|  2.85k|        {
39052|  2.85k|            D(fprintf(stderr, "%*c+ _tmp_170[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression !'='"));
39053|  2.85k|            _res = starred_expression_var;
39054|  2.85k|            goto done;
39055|  2.85k|        }
39056|  1.94k|        p->mark = _mark;
39057|  1.94k|        D(fprintf(stderr, "%*c%s _tmp_170[%d-%d]: %s failed!\n", p->level, ' ',
39058|  1.94k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression !'='"));
39059|  1.94k|    }
39060|  1.94k|    _res = NULL;
39061|  4.80k|  done:
39062|  4.80k|    p->level--;
39063|  4.80k|    return _res;
39064|  1.94k|}
parser.c:_loop0_108_rule:
35326|  1.03k|{
35327|  1.03k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.07k|#  define MAXSTACK 6000
  ------------------
  |  Branch (35327:9): [True: 0, False: 1.03k]
  |  Branch (35327:35): [True: 0, False: 1.03k]
  ------------------
35328|      0|        _Pypegen_stack_overflow(p);
35329|      0|    }
35330|  1.03k|    if (p->error_indicator) {
  ------------------
  |  Branch (35330:9): [True: 0, False: 1.03k]
  ------------------
35331|      0|        p->level--;
35332|      0|        return NULL;
35333|      0|    }
35334|  1.03k|    void *_res = NULL;
35335|  1.03k|    int _mark = p->mark;
35336|  1.03k|    void **_children = PyMem_Malloc(sizeof(void *));
35337|  1.03k|    if (!_children) {
  ------------------
  |  Branch (35337:9): [True: 0, False: 1.03k]
  ------------------
35338|      0|        p->error_indicator = 1;
35339|      0|        PyErr_NoMemory();
35340|      0|        p->level--;
35341|      0|        return NULL;
35342|      0|    }
35343|  1.03k|    Py_ssize_t _children_capacity = 1;
35344|  1.03k|    Py_ssize_t _n = 0;
35345|  1.03k|    { // ',' (starred_expression !'=')
35346|  1.03k|        if (p->error_indicator) {
  ------------------
  |  Branch (35346:13): [True: 0, False: 1.03k]
  ------------------
35347|      0|            p->level--;
35348|      0|            return NULL;
35349|      0|        }
35350|  1.03k|        D(fprintf(stderr, "%*c> _loop0_108[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' (starred_expression !'=')"));
35351|  1.03k|        Token * _literal;
35352|  1.03k|        void *elem;
35353|  1.03k|        while (
35354|  2.85k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (35354:13): [True: 2.84k, False: 9]
  ------------------
35355|  2.84k|            &&
35356|  2.84k|            (elem = _tmp_170_rule(p))  // starred_expression !'='
  ------------------
  |  Branch (35356:13): [True: 1.81k, False: 1.02k]
  ------------------
35357|  1.03k|        )
35358|  1.81k|        {
35359|  1.81k|            _res = elem;
35360|  1.81k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (35360:18): [True: 0, False: 1.81k]
  |  Branch (35360:34): [True: 0, False: 1.81k]
  |  Branch (35360:57): [True: 0, False: 0]
  ------------------
35361|      0|                p->error_indicator = 1;
35362|      0|                PyMem_Free(_children);
35363|      0|                p->level--;
35364|      0|                return NULL;
35365|      0|            }
35366|  1.81k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (35366:17): [True: 948, False: 868]
  ------------------
35367|    948|                _children_capacity *= 2;
35368|    948|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
35369|    948|                if (!_new_children) {
  ------------------
  |  Branch (35369:21): [True: 0, False: 948]
  ------------------
35370|      0|                    PyMem_Free(_children);
35371|      0|                    p->error_indicator = 1;
35372|      0|                    PyErr_NoMemory();
35373|      0|                    p->level--;
35374|      0|                    return NULL;
35375|      0|                }
35376|    948|                _children = _new_children;
35377|    948|            }
35378|  1.81k|            _children[_n++] = _res;
35379|  1.81k|            _mark = p->mark;
35380|  1.81k|        }
35381|  1.03k|        p->mark = _mark;
35382|  1.03k|        D(fprintf(stderr, "%*c%s _loop0_108[%d-%d]: %s failed!\n", p->level, ' ',
35383|  1.03k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' (starred_expression !'=')"));
35384|  1.03k|    }
35385|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
35386|  1.03k|    if (!_seq) {
  ------------------
  |  Branch (35386:9): [True: 0, False: 1.03k]
  ------------------
35387|      0|        PyMem_Free(_children);
35388|      0|        p->error_indicator = 1;
35389|      0|        PyErr_NoMemory();
35390|      0|        p->level--;
35391|      0|        return NULL;
35392|      0|    }
35393|  2.85k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.81k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  2.85k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (35393:28): [True: 1.81k, False: 1.03k]
  ------------------
35394|  1.03k|    PyMem_Free(_children);
35395|  1.03k|    p->level--;
35396|  1.03k|    return _seq;
35397|  1.03k|}
parser.c:_tmp_110_rule:
35443|    317|{
35444|    317|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    634|#  define MAXSTACK 6000
  ------------------
  |  Branch (35444:9): [True: 0, False: 317]
  |  Branch (35444:35): [True: 0, False: 317]
  ------------------
35445|      0|        _Pypegen_stack_overflow(p);
35446|      0|    }
35447|    317|    if (p->error_indicator) {
  ------------------
  |  Branch (35447:9): [True: 0, False: 317]
  ------------------
35448|      0|        p->level--;
35449|      0|        return NULL;
35450|      0|    }
35451|    317|    void * _res = NULL;
35452|    317|    int _mark = p->mark;
35453|    317|    { // args
35454|    317|        if (p->error_indicator) {
  ------------------
  |  Branch (35454:13): [True: 0, False: 317]
  ------------------
35455|      0|            p->level--;
35456|      0|            return NULL;
35457|      0|        }
35458|    317|        D(fprintf(stderr, "%*c> _tmp_110[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args"));
35459|    317|        expr_ty args_var;
35460|    317|        if (
35461|    317|            (args_var = args_rule(p))  // args
  ------------------
  |  Branch (35461:13): [True: 4, False: 313]
  ------------------
35462|    317|        )
35463|      4|        {
35464|      4|            D(fprintf(stderr, "%*c+ _tmp_110[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args"));
35465|      4|            _res = args_var;
35466|      4|            goto done;
35467|      4|        }
35468|    313|        p->mark = _mark;
35469|    313|        D(fprintf(stderr, "%*c%s _tmp_110[%d-%d]: %s failed!\n", p->level, ' ',
35470|    313|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args"));
35471|    313|    }
35472|      0|    { // expression for_if_clauses
35473|    313|        if (p->error_indicator) {
  ------------------
  |  Branch (35473:13): [True: 310, False: 3]
  ------------------
35474|    310|            p->level--;
35475|    310|            return NULL;
35476|    310|        }
35477|      3|        D(fprintf(stderr, "%*c> _tmp_110[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression for_if_clauses"));
35478|      3|        expr_ty expression_var;
35479|      3|        asdl_comprehension_seq* for_if_clauses_var;
35480|      3|        if (
35481|      3|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (35481:13): [True: 1, False: 2]
  ------------------
35482|      1|            &&
35483|      1|            (for_if_clauses_var = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (35483:13): [True: 0, False: 1]
  ------------------
35484|      3|        )
35485|      0|        {
35486|      0|            D(fprintf(stderr, "%*c+ _tmp_110[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression for_if_clauses"));
35487|      0|            _res = _PyPegen_dummy_name(p, expression_var, for_if_clauses_var);
35488|      0|            goto done;
35489|      0|        }
35490|      3|        p->mark = _mark;
35491|      3|        D(fprintf(stderr, "%*c%s _tmp_110[%d-%d]: %s failed!\n", p->level, ' ',
35492|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression for_if_clauses"));
35493|      3|    }
35494|      3|    _res = NULL;
35495|      7|  done:
35496|      7|    p->level--;
35497|      7|    return _res;
35498|      3|}
parser.c:_tmp_111_rule:
35503|  8.30k|{
35504|  8.30k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  16.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (35504:9): [True: 0, False: 8.30k]
  |  Branch (35504:35): [True: 0, False: 8.30k]
  ------------------
35505|      0|        _Pypegen_stack_overflow(p);
35506|      0|    }
35507|  8.30k|    if (p->error_indicator) {
  ------------------
  |  Branch (35507:9): [True: 0, False: 8.30k]
  ------------------
35508|      0|        p->level--;
35509|      0|        return NULL;
35510|      0|    }
35511|  8.30k|    void * _res = NULL;
35512|  8.30k|    int _mark = p->mark;
35513|  8.30k|    { // args ','
35514|  8.30k|        if (p->error_indicator) {
  ------------------
  |  Branch (35514:13): [True: 0, False: 8.30k]
  ------------------
35515|      0|            p->level--;
35516|      0|            return NULL;
35517|      0|        }
35518|  8.30k|        D(fprintf(stderr, "%*c> _tmp_111[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args ','"));
35519|  8.30k|        Token * _literal;
35520|  8.30k|        expr_ty args_var;
35521|  8.30k|        if (
35522|  8.30k|            (args_var = args_rule(p))  // args
  ------------------
  |  Branch (35522:13): [True: 5.39k, False: 2.91k]
  ------------------
35523|  5.39k|            &&
35524|  5.39k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (35524:13): [True: 599, False: 4.79k]
  ------------------
35525|  8.30k|        )
35526|    599|        {
35527|    599|            D(fprintf(stderr, "%*c+ _tmp_111[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args ','"));
35528|    599|            _res = _PyPegen_dummy_name(p, args_var, _literal);
35529|    599|            goto done;
35530|    599|        }
35531|  7.70k|        p->mark = _mark;
35532|  7.70k|        D(fprintf(stderr, "%*c%s _tmp_111[%d-%d]: %s failed!\n", p->level, ' ',
35533|  7.70k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args ','"));
35534|  7.70k|    }
35535|  7.70k|    _res = NULL;
35536|  8.30k|  done:
35537|  8.30k|    p->level--;
35538|  8.30k|    return _res;
35539|  7.70k|}
parser.c:_tmp_112_rule:
35544|    470|{
35545|    470|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    940|#  define MAXSTACK 6000
  ------------------
  |  Branch (35545:9): [True: 0, False: 470]
  |  Branch (35545:35): [True: 0, False: 470]
  ------------------
35546|      0|        _Pypegen_stack_overflow(p);
35547|      0|    }
35548|    470|    if (p->error_indicator) {
  ------------------
  |  Branch (35548:9): [True: 0, False: 470]
  ------------------
35549|      0|        p->level--;
35550|      0|        return NULL;
35551|      0|    }
35552|    470|    void * _res = NULL;
35553|    470|    int _mark = p->mark;
35554|    470|    { // ','
35555|    470|        if (p->error_indicator) {
  ------------------
  |  Branch (35555:13): [True: 0, False: 470]
  ------------------
35556|      0|            p->level--;
35557|      0|            return NULL;
35558|      0|        }
35559|    470|        D(fprintf(stderr, "%*c> _tmp_112[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','"));
35560|    470|        Token * _literal;
35561|    470|        if (
35562|    470|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (35562:13): [True: 7, False: 463]
  ------------------
35563|    470|        )
35564|      7|        {
35565|      7|            D(fprintf(stderr, "%*c+ _tmp_112[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','"));
35566|      7|            _res = _literal;
35567|      7|            goto done;
35568|      7|        }
35569|    463|        p->mark = _mark;
35570|    463|        D(fprintf(stderr, "%*c%s _tmp_112[%d-%d]: %s failed!\n", p->level, ' ',
35571|    463|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','"));
35572|    463|    }
35573|      0|    { // ')'
35574|    463|        if (p->error_indicator) {
  ------------------
  |  Branch (35574:13): [True: 0, False: 463]
  ------------------
35575|      0|            p->level--;
35576|      0|            return NULL;
35577|      0|        }
35578|    463|        D(fprintf(stderr, "%*c> _tmp_112[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "')'"));
35579|    463|        Token * _literal;
35580|    463|        if (
35581|    463|            (_literal = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (35581:13): [True: 4, False: 459]
  ------------------
35582|    463|        )
35583|      4|        {
35584|      4|            D(fprintf(stderr, "%*c+ _tmp_112[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "')'"));
35585|      4|            _res = _literal;
35586|      4|            goto done;
35587|      4|        }
35588|    459|        p->mark = _mark;
35589|    459|        D(fprintf(stderr, "%*c%s _tmp_112[%d-%d]: %s failed!\n", p->level, ' ',
35590|    459|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "')'"));
35591|    459|    }
35592|    459|    _res = NULL;
35593|    470|  done:
35594|    470|    p->level--;
35595|    470|    return _res;
35596|    459|}
parser.c:slices_rule:
15136|  37.9k|{
15137|  37.9k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  75.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15137:9): [True: 0, False: 37.9k]
  |  Branch (15137:35): [True: 0, False: 37.9k]
  ------------------
15138|      0|        _Pypegen_stack_overflow(p);
15139|      0|    }
15140|  37.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (15140:9): [True: 0, False: 37.9k]
  ------------------
15141|      0|        p->level--;
15142|      0|        return NULL;
15143|      0|    }
15144|  37.9k|    expr_ty _res = NULL;
15145|  37.9k|    int _mark = p->mark;
15146|  37.9k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (15146:9): [True: 18.9k, False: 19.0k]
  |  Branch (15146:31): [True: 36, False: 18.8k]
  ------------------
15147|     36|        p->error_indicator = 1;
15148|     36|        p->level--;
15149|     36|        return NULL;
15150|     36|    }
15151|  37.9k|    int _start_lineno = p->tokens[_mark]->lineno;
15152|  37.9k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  37.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 37.9k]
  |  |  ------------------
  ------------------
15153|  37.9k|    int _start_col_offset = p->tokens[_mark]->col_offset;
15154|  37.9k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  37.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 37.9k]
  |  |  ------------------
  ------------------
15155|  37.9k|    { // slice !','
15156|  37.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (15156:13): [True: 0, False: 37.9k]
  ------------------
15157|      0|            p->level--;
15158|      0|            return NULL;
15159|      0|        }
15160|  37.9k|        D(fprintf(stderr, "%*c> slices[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "slice !','"));
15161|  37.9k|        expr_ty a;
15162|  37.9k|        if (
15163|  37.9k|            (a = slice_rule(p))  // slice
  ------------------
  |  Branch (15163:13): [True: 32.2k, False: 5.68k]
  ------------------
15164|  32.2k|            &&
15165|  32.2k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 12)  // token=','
  ------------------
  |  Branch (15165:13): [True: 26.2k, False: 5.96k]
  ------------------
15166|  37.9k|        )
15167|  26.2k|        {
15168|  26.2k|            D(fprintf(stderr, "%*c+ slices[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "slice !','"));
15169|  26.2k|            _res = a;
15170|  26.2k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15170:18): [True: 0, False: 26.2k]
  |  Branch (15170:34): [True: 0, False: 26.2k]
  |  Branch (15170:57): [True: 0, False: 0]
  ------------------
15171|      0|                p->error_indicator = 1;
15172|      0|                p->level--;
15173|      0|                return NULL;
15174|      0|            }
15175|  26.2k|            goto done;
15176|  26.2k|        }
15177|  11.6k|        p->mark = _mark;
15178|  11.6k|        D(fprintf(stderr, "%*c%s slices[%d-%d]: %s failed!\n", p->level, ' ',
15179|  11.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "slice !','"));
15180|  11.6k|    }
15181|      0|    { // ','.(slice | starred_expression)+ ','?
15182|  11.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (15182:13): [True: 1.83k, False: 9.81k]
  ------------------
15183|  1.83k|            p->level--;
15184|  1.83k|            return NULL;
15185|  1.83k|        }
15186|  9.81k|        D(fprintf(stderr, "%*c> slices[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.(slice | starred_expression)+ ','?"));
15187|  9.81k|        void *_opt_var;
15188|  9.81k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  9.81k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 9.81k]
  |  |  ------------------
  ------------------
15189|  9.81k|        asdl_expr_seq* a;
15190|  9.81k|        if (
15191|  9.81k|            (a = (asdl_expr_seq*)_gather_66_rule(p))  // ','.(slice | starred_expression)+
  ------------------
  |  Branch (15191:13): [True: 7.49k, False: 2.32k]
  ------------------
15192|  7.49k|            &&
15193|  7.49k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (15193:13): [True: 6.39k, False: 1.10k]
  ------------------
15194|  9.81k|        )
15195|  6.39k|        {
15196|  6.39k|            D(fprintf(stderr, "%*c+ slices[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.(slice | starred_expression)+ ','?"));
15197|  6.39k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15198|  6.39k|            if (_token == NULL) {
  ------------------
  |  Branch (15198:17): [True: 0, False: 6.39k]
  ------------------
15199|      0|                p->level--;
15200|      0|                return NULL;
15201|      0|            }
15202|  6.39k|            int _end_lineno = _token->end_lineno;
15203|  6.39k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  6.39k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 6.39k]
  |  |  ------------------
  ------------------
15204|  6.39k|            int _end_col_offset = _token->end_col_offset;
15205|  6.39k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  6.39k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 6.39k]
  |  |  ------------------
  ------------------
15206|  6.39k|            _res = _PyAST_Tuple ( a , Load , EXTRA );
  ------------------
  |  |  281|  6.39k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15207|  6.39k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15207:18): [True: 0, False: 6.39k]
  |  Branch (15207:34): [True: 0, False: 6.39k]
  |  Branch (15207:57): [True: 0, False: 0]
  ------------------
15208|      0|                p->error_indicator = 1;
15209|      0|                p->level--;
15210|      0|                return NULL;
15211|      0|            }
15212|  6.39k|            goto done;
15213|  6.39k|        }
15214|  3.42k|        p->mark = _mark;
15215|  3.42k|        D(fprintf(stderr, "%*c%s slices[%d-%d]: %s failed!\n", p->level, ' ',
15216|  3.42k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.(slice | starred_expression)+ ','?"));
15217|  3.42k|    }
15218|  3.42k|    _res = NULL;
15219|  36.1k|  done:
15220|  36.1k|    p->level--;
15221|  36.1k|    return _res;
15222|  3.42k|}
parser.c:slice_rule:
15227|  84.3k|{
15228|  84.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   168k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15228:9): [True: 0, False: 84.3k]
  |  Branch (15228:35): [True: 0, False: 84.3k]
  ------------------
15229|      0|        _Pypegen_stack_overflow(p);
15230|      0|    }
15231|  84.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (15231:9): [True: 0, False: 84.3k]
  ------------------
15232|      0|        p->level--;
15233|      0|        return NULL;
15234|      0|    }
15235|  84.3k|    expr_ty _res = NULL;
15236|  84.3k|    int _mark = p->mark;
15237|  84.3k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (15237:9): [True: 15.7k, False: 68.5k]
  |  Branch (15237:31): [True: 6, False: 15.7k]
  ------------------
15238|      6|        p->error_indicator = 1;
15239|      6|        p->level--;
15240|      6|        return NULL;
15241|      6|    }
15242|  84.3k|    int _start_lineno = p->tokens[_mark]->lineno;
15243|  84.3k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  84.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 84.3k]
  |  |  ------------------
  ------------------
15244|  84.3k|    int _start_col_offset = p->tokens[_mark]->col_offset;
15245|  84.3k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  84.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 84.3k]
  |  |  ------------------
  ------------------
15246|  84.3k|    { // expression? ':' expression? [':' expression?]
15247|  84.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (15247:13): [True: 0, False: 84.3k]
  ------------------
15248|      0|            p->level--;
15249|      0|            return NULL;
15250|      0|        }
15251|  84.3k|        D(fprintf(stderr, "%*c> slice[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression? ':' expression? [':' expression?]"));
15252|  84.3k|        Token * _literal;
15253|  84.3k|        void *a;
15254|  84.3k|        void *b;
15255|  84.3k|        void *c;
15256|  84.3k|        if (
15257|  84.3k|            (a = expression_rule(p), !p->error_indicator)  // expression?
  ------------------
  |  Branch (15257:13): [True: 82.9k, False: 1.33k]
  ------------------
15258|  82.9k|            &&
15259|  82.9k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (15259:13): [True: 39.0k, False: 43.8k]
  ------------------
15260|  39.0k|            &&
15261|  39.0k|            (b = expression_rule(p), !p->error_indicator)  // expression?
  ------------------
  |  Branch (15261:13): [True: 38.6k, False: 429]
  ------------------
15262|  38.6k|            &&
15263|  38.6k|            (c = _tmp_67_rule(p), !p->error_indicator)  // [':' expression?]
  ------------------
  |  Branch (15263:13): [True: 38.4k, False: 228]
  ------------------
15264|  84.3k|        )
15265|  38.4k|        {
15266|  38.4k|            D(fprintf(stderr, "%*c+ slice[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression? ':' expression? [':' expression?]"));
15267|  38.4k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15268|  38.4k|            if (_token == NULL) {
  ------------------
  |  Branch (15268:17): [True: 0, False: 38.4k]
  ------------------
15269|      0|                p->level--;
15270|      0|                return NULL;
15271|      0|            }
15272|  38.4k|            int _end_lineno = _token->end_lineno;
15273|  38.4k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  38.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 38.4k]
  |  |  ------------------
  ------------------
15274|  38.4k|            int _end_col_offset = _token->end_col_offset;
15275|  38.4k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  38.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 38.4k]
  |  |  ------------------
  ------------------
15276|  38.4k|            _res = _PyAST_Slice ( a , b , c , EXTRA );
  ------------------
  |  |  281|  38.4k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15277|  38.4k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15277:18): [True: 0, False: 38.4k]
  |  Branch (15277:34): [True: 0, False: 38.4k]
  |  Branch (15277:57): [True: 0, False: 0]
  ------------------
15278|      0|                p->error_indicator = 1;
15279|      0|                p->level--;
15280|      0|                return NULL;
15281|      0|            }
15282|  38.4k|            goto done;
15283|  38.4k|        }
15284|  45.8k|        p->mark = _mark;
15285|  45.8k|        D(fprintf(stderr, "%*c%s slice[%d-%d]: %s failed!\n", p->level, ' ',
15286|  45.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression? ':' expression? [':' expression?]"));
15287|  45.8k|    }
15288|      0|    { // named_expression
15289|  45.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (15289:13): [True: 1.99k, False: 43.8k]
  ------------------
15290|  1.99k|            p->level--;
15291|  1.99k|            return NULL;
15292|  1.99k|        }
15293|  43.8k|        D(fprintf(stderr, "%*c> slice[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "named_expression"));
15294|  43.8k|        expr_ty a;
15295|  43.8k|        if (
15296|  43.8k|            (a = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (15296:13): [True: 33.0k, False: 10.7k]
  ------------------
15297|  43.8k|        )
15298|  33.0k|        {
15299|  33.0k|            D(fprintf(stderr, "%*c+ slice[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "named_expression"));
15300|  33.0k|            _res = a;
15301|  33.0k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15301:18): [True: 0, False: 33.0k]
  |  Branch (15301:34): [True: 0, False: 33.0k]
  |  Branch (15301:57): [True: 0, False: 0]
  ------------------
15302|      0|                p->error_indicator = 1;
15303|      0|                p->level--;
15304|      0|                return NULL;
15305|      0|            }
15306|  33.0k|            goto done;
15307|  33.0k|        }
15308|  10.7k|        p->mark = _mark;
15309|  10.7k|        D(fprintf(stderr, "%*c%s slice[%d-%d]: %s failed!\n", p->level, ' ',
15310|  10.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "named_expression"));
15311|  10.7k|    }
15312|  10.7k|    _res = NULL;
15313|  82.3k|  done:
15314|  82.3k|    p->level--;
15315|  82.3k|    return _res;
15316|  10.7k|}
parser.c:_tmp_67_rule:
32755|  38.6k|{
32756|  38.6k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  77.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32756:9): [True: 0, False: 38.6k]
  |  Branch (32756:35): [True: 0, False: 38.6k]
  ------------------
32757|      0|        _Pypegen_stack_overflow(p);
32758|      0|    }
32759|  38.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (32759:9): [True: 0, False: 38.6k]
  ------------------
32760|      0|        p->level--;
32761|      0|        return NULL;
32762|      0|    }
32763|  38.6k|    void * _res = NULL;
32764|  38.6k|    int _mark = p->mark;
32765|  38.6k|    { // ':' expression?
32766|  38.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (32766:13): [True: 0, False: 38.6k]
  ------------------
32767|      0|            p->level--;
32768|      0|            return NULL;
32769|      0|        }
32770|  38.6k|        D(fprintf(stderr, "%*c> _tmp_67[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':' expression?"));
32771|  38.6k|        Token * _literal;
32772|  38.6k|        void *d;
32773|  38.6k|        if (
32774|  38.6k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (32774:13): [True: 15.3k, False: 23.2k]
  ------------------
32775|  15.3k|            &&
32776|  15.3k|            (d = expression_rule(p), !p->error_indicator)  // expression?
  ------------------
  |  Branch (32776:13): [True: 15.1k, False: 228]
  ------------------
32777|  38.6k|        )
32778|  15.1k|        {
32779|  15.1k|            D(fprintf(stderr, "%*c+ _tmp_67[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':' expression?"));
32780|  15.1k|            _res = d;
32781|  15.1k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (32781:18): [True: 5.00k, False: 10.1k]
  |  Branch (32781:34): [True: 0, False: 10.1k]
  |  Branch (32781:57): [True: 0, False: 5.00k]
  ------------------
32782|      0|                p->error_indicator = 1;
32783|      0|                p->level--;
32784|      0|                return NULL;
32785|      0|            }
32786|  15.1k|            goto done;
32787|  15.1k|        }
32788|  23.4k|        p->mark = _mark;
32789|  23.4k|        D(fprintf(stderr, "%*c%s _tmp_67[%d-%d]: %s failed!\n", p->level, ' ',
32790|  23.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':' expression?"));
32791|  23.4k|    }
32792|  23.4k|    _res = NULL;
32793|  38.6k|  done:
32794|  38.6k|    p->level--;
32795|  38.6k|    return _res;
32796|  23.4k|}
parser.c:_gather_66_rule:
32714|  9.81k|{
32715|  9.81k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  19.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32715:9): [True: 0, False: 9.81k]
  |  Branch (32715:35): [True: 0, False: 9.81k]
  ------------------
32716|      0|        _Pypegen_stack_overflow(p);
32717|      0|    }
32718|  9.81k|    if (p->error_indicator) {
  ------------------
  |  Branch (32718:9): [True: 0, False: 9.81k]
  ------------------
32719|      0|        p->level--;
32720|      0|        return NULL;
32721|      0|    }
32722|  9.81k|    asdl_seq * _res = NULL;
32723|  9.81k|    int _mark = p->mark;
32724|  9.81k|    { // (slice | starred_expression) _loop0_65
32725|  9.81k|        if (p->error_indicator) {
  ------------------
  |  Branch (32725:13): [True: 0, False: 9.81k]
  ------------------
32726|      0|            p->level--;
32727|      0|            return NULL;
32728|      0|        }
32729|  9.81k|        D(fprintf(stderr, "%*c> _gather_66[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(slice | starred_expression) _loop0_65"));
32730|  9.81k|        void *elem;
32731|  9.81k|        asdl_seq * seq;
32732|  9.81k|        if (
32733|  9.81k|            (elem = _tmp_165_rule(p))  // slice | starred_expression
  ------------------
  |  Branch (32733:13): [True: 7.49k, False: 2.32k]
  ------------------
32734|  7.49k|            &&
32735|  7.49k|            (seq = _loop0_65_rule(p))  // _loop0_65
  ------------------
  |  Branch (32735:13): [True: 7.49k, False: 0]
  ------------------
32736|  9.81k|        )
32737|  7.49k|        {
32738|  7.49k|            D(fprintf(stderr, "%*c+ _gather_66[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(slice | starred_expression) _loop0_65"));
32739|  7.49k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
32740|  7.49k|            goto done;
32741|  7.49k|        }
32742|  2.32k|        p->mark = _mark;
32743|  2.32k|        D(fprintf(stderr, "%*c%s _gather_66[%d-%d]: %s failed!\n", p->level, ' ',
32744|  2.32k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(slice | starred_expression) _loop0_65"));
32745|  2.32k|    }
32746|  2.32k|    _res = NULL;
32747|  9.81k|  done:
32748|  9.81k|    p->level--;
32749|  9.81k|    return _res;
32750|  2.32k|}
parser.c:_tmp_165_rule:
38776|  46.3k|{
38777|  46.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  92.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38777:9): [True: 0, False: 46.3k]
  |  Branch (38777:35): [True: 0, False: 46.3k]
  ------------------
38778|      0|        _Pypegen_stack_overflow(p);
38779|      0|    }
38780|  46.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (38780:9): [True: 0, False: 46.3k]
  ------------------
38781|      0|        p->level--;
38782|      0|        return NULL;
38783|      0|    }
38784|  46.3k|    void * _res = NULL;
38785|  46.3k|    int _mark = p->mark;
38786|  46.3k|    { // slice
38787|  46.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (38787:13): [True: 0, False: 46.3k]
  ------------------
38788|      0|            p->level--;
38789|      0|            return NULL;
38790|      0|        }
38791|  46.3k|        D(fprintf(stderr, "%*c> _tmp_165[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "slice"));
38792|  46.3k|        expr_ty slice_var;
38793|  46.3k|        if (
38794|  46.3k|            (slice_var = slice_rule(p))  // slice
  ------------------
  |  Branch (38794:13): [True: 39.2k, False: 7.09k]
  ------------------
38795|  46.3k|        )
38796|  39.2k|        {
38797|  39.2k|            D(fprintf(stderr, "%*c+ _tmp_165[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "slice"));
38798|  39.2k|            _res = slice_var;
38799|  39.2k|            goto done;
38800|  39.2k|        }
38801|  7.09k|        p->mark = _mark;
38802|  7.09k|        D(fprintf(stderr, "%*c%s _tmp_165[%d-%d]: %s failed!\n", p->level, ' ',
38803|  7.09k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "slice"));
38804|  7.09k|    }
38805|      0|    { // starred_expression
38806|  7.09k|        if (p->error_indicator) {
  ------------------
  |  Branch (38806:13): [True: 302, False: 6.79k]
  ------------------
38807|    302|            p->level--;
38808|    302|            return NULL;
38809|    302|        }
38810|  6.79k|        D(fprintf(stderr, "%*c> _tmp_165[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
38811|  6.79k|        expr_ty starred_expression_var;
38812|  6.79k|        if (
38813|  6.79k|            (starred_expression_var = starred_expression_rule(p))  // starred_expression
  ------------------
  |  Branch (38813:13): [True: 2.30k, False: 4.49k]
  ------------------
38814|  6.79k|        )
38815|  2.30k|        {
38816|  2.30k|            D(fprintf(stderr, "%*c+ _tmp_165[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
38817|  2.30k|            _res = starred_expression_var;
38818|  2.30k|            goto done;
38819|  2.30k|        }
38820|  4.49k|        p->mark = _mark;
38821|  4.49k|        D(fprintf(stderr, "%*c%s _tmp_165[%d-%d]: %s failed!\n", p->level, ' ',
38822|  4.49k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
38823|  4.49k|    }
38824|  4.49k|    _res = NULL;
38825|  46.0k|  done:
38826|  46.0k|    p->level--;
38827|  46.0k|    return _res;
38828|  4.49k|}
parser.c:_loop0_65_rule:
32638|  7.49k|{
32639|  7.49k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  14.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32639:9): [True: 0, False: 7.49k]
  |  Branch (32639:35): [True: 0, False: 7.49k]
  ------------------
32640|      0|        _Pypegen_stack_overflow(p);
32641|      0|    }
32642|  7.49k|    if (p->error_indicator) {
  ------------------
  |  Branch (32642:9): [True: 0, False: 7.49k]
  ------------------
32643|      0|        p->level--;
32644|      0|        return NULL;
32645|      0|    }
32646|  7.49k|    void *_res = NULL;
32647|  7.49k|    int _mark = p->mark;
32648|  7.49k|    void **_children = PyMem_Malloc(sizeof(void *));
32649|  7.49k|    if (!_children) {
  ------------------
  |  Branch (32649:9): [True: 0, False: 7.49k]
  ------------------
32650|      0|        p->error_indicator = 1;
32651|      0|        PyErr_NoMemory();
32652|      0|        p->level--;
32653|      0|        return NULL;
32654|      0|    }
32655|  7.49k|    Py_ssize_t _children_capacity = 1;
32656|  7.49k|    Py_ssize_t _n = 0;
32657|  7.49k|    { // ',' (slice | starred_expression)
32658|  7.49k|        if (p->error_indicator) {
  ------------------
  |  Branch (32658:13): [True: 0, False: 7.49k]
  ------------------
32659|      0|            p->level--;
32660|      0|            return NULL;
32661|      0|        }
32662|  7.49k|        D(fprintf(stderr, "%*c> _loop0_65[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' (slice | starred_expression)"));
32663|  7.49k|        Token * _literal;
32664|  7.49k|        void *elem;
32665|  7.49k|        while (
32666|  41.5k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (32666:13): [True: 36.5k, False: 5.02k]
  ------------------
32667|  36.5k|            &&
32668|  36.5k|            (elem = _tmp_165_rule(p))  // slice | starred_expression
  ------------------
  |  Branch (32668:13): [True: 34.0k, False: 2.47k]
  ------------------
32669|  7.49k|        )
32670|  34.0k|        {
32671|  34.0k|            _res = elem;
32672|  34.0k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (32672:18): [True: 0, False: 34.0k]
  |  Branch (32672:34): [True: 0, False: 34.0k]
  |  Branch (32672:57): [True: 0, False: 0]
  ------------------
32673|      0|                p->error_indicator = 1;
32674|      0|                PyMem_Free(_children);
32675|      0|                p->level--;
32676|      0|                return NULL;
32677|      0|            }
32678|  34.0k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32678:17): [True: 3.91k, False: 30.1k]
  ------------------
32679|  3.91k|                _children_capacity *= 2;
32680|  3.91k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32681|  3.91k|                if (!_new_children) {
  ------------------
  |  Branch (32681:21): [True: 0, False: 3.91k]
  ------------------
32682|      0|                    PyMem_Free(_children);
32683|      0|                    p->error_indicator = 1;
32684|      0|                    PyErr_NoMemory();
32685|      0|                    p->level--;
32686|      0|                    return NULL;
32687|      0|                }
32688|  3.91k|                _children = _new_children;
32689|  3.91k|            }
32690|  34.0k|            _children[_n++] = _res;
32691|  34.0k|            _mark = p->mark;
32692|  34.0k|        }
32693|  7.49k|        p->mark = _mark;
32694|  7.49k|        D(fprintf(stderr, "%*c%s _loop0_65[%d-%d]: %s failed!\n", p->level, ' ',
32695|  7.49k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' (slice | starred_expression)"));
32696|  7.49k|    }
32697|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32698|  7.49k|    if (!_seq) {
  ------------------
  |  Branch (32698:9): [True: 0, False: 7.49k]
  ------------------
32699|      0|        PyMem_Free(_children);
32700|      0|        p->error_indicator = 1;
32701|      0|        PyErr_NoMemory();
32702|      0|        p->level--;
32703|      0|        return NULL;
32704|      0|    }
32705|  41.5k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  34.0k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  41.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32705:28): [True: 34.0k, False: 7.49k]
  ------------------
32706|  7.49k|    PyMem_Free(_children);
32707|  7.49k|    p->level--;
32708|  7.49k|    return _seq;
32709|  7.49k|}
parser.c:atom_rule:
15331|  4.73M|{
15332|  4.73M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  9.47M|#  define MAXSTACK 6000
  ------------------
  |  Branch (15332:9): [True: 0, False: 4.73M]
  |  Branch (15332:35): [True: 0, False: 4.73M]
  ------------------
15333|      0|        _Pypegen_stack_overflow(p);
15334|      0|    }
15335|  4.73M|    if (p->error_indicator) {
  ------------------
  |  Branch (15335:9): [True: 0, False: 4.73M]
  ------------------
15336|      0|        p->level--;
15337|      0|        return NULL;
15338|      0|    }
15339|  4.73M|    expr_ty _res = NULL;
15340|  4.73M|    int _mark = p->mark;
15341|  4.73M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (15341:9): [True: 0, False: 4.73M]
  |  Branch (15341:31): [True: 0, False: 0]
  ------------------
15342|      0|        p->error_indicator = 1;
15343|      0|        p->level--;
15344|      0|        return NULL;
15345|      0|    }
15346|  4.73M|    int _start_lineno = p->tokens[_mark]->lineno;
15347|  4.73M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.73M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.73M]
  |  |  ------------------
  ------------------
15348|  4.73M|    int _start_col_offset = p->tokens[_mark]->col_offset;
15349|  4.73M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.73M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.73M]
  |  |  ------------------
  ------------------
15350|  4.73M|    { // NAME
15351|  4.73M|        if (p->error_indicator) {
  ------------------
  |  Branch (15351:13): [True: 0, False: 4.73M]
  ------------------
15352|      0|            p->level--;
15353|      0|            return NULL;
15354|      0|        }
15355|  4.73M|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
15356|  4.73M|        expr_ty name_var;
15357|  4.73M|        if (
15358|  4.73M|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (15358:13): [True: 1.62M, False: 3.11M]
  ------------------
15359|  4.73M|        )
15360|  1.62M|        {
15361|  1.62M|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
15362|  1.62M|            _res = name_var;
15363|  1.62M|            goto done;
15364|  1.62M|        }
15365|  3.11M|        p->mark = _mark;
15366|  3.11M|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15367|  3.11M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
15368|  3.11M|    }
15369|      0|    { // 'True'
15370|  3.11M|        if (p->error_indicator) {
  ------------------
  |  Branch (15370:13): [True: 0, False: 3.11M]
  ------------------
15371|      0|            p->level--;
15372|      0|            return NULL;
15373|      0|        }
15374|  3.11M|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'True'"));
15375|  3.11M|        Token * _keyword;
15376|  3.11M|        if (
15377|  3.11M|            (_keyword = _PyPegen_expect_token(p, 627))  // token='True'
  ------------------
  |  Branch (15377:13): [True: 27.4k, False: 3.08M]
  ------------------
15378|  3.11M|        )
15379|  27.4k|        {
15380|  27.4k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'True'"));
15381|  27.4k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15382|  27.4k|            if (_token == NULL) {
  ------------------
  |  Branch (15382:17): [True: 0, False: 27.4k]
  ------------------
15383|      0|                p->level--;
15384|      0|                return NULL;
15385|      0|            }
15386|  27.4k|            int _end_lineno = _token->end_lineno;
15387|  27.4k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  27.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 27.4k]
  |  |  ------------------
  ------------------
15388|  27.4k|            int _end_col_offset = _token->end_col_offset;
15389|  27.4k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  27.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 27.4k]
  |  |  ------------------
  ------------------
15390|  27.4k|            _res = _PyAST_Constant ( Py_True , NULL , EXTRA );
  ------------------
  |  |   26|  27.4k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  27.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          _res = _PyAST_Constant ( Py_True , NULL , EXTRA );
  ------------------
  |  |  281|  27.4k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15391|  27.4k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15391:18): [True: 0, False: 27.4k]
  |  Branch (15391:34): [True: 0, False: 27.4k]
  |  Branch (15391:57): [True: 0, False: 0]
  ------------------
15392|      0|                p->error_indicator = 1;
15393|      0|                p->level--;
15394|      0|                return NULL;
15395|      0|            }
15396|  27.4k|            goto done;
15397|  27.4k|        }
15398|  3.08M|        p->mark = _mark;
15399|  3.08M|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15400|  3.08M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'True'"));
15401|  3.08M|    }
15402|      0|    { // 'False'
15403|  3.08M|        if (p->error_indicator) {
  ------------------
  |  Branch (15403:13): [True: 0, False: 3.08M]
  ------------------
15404|      0|            p->level--;
15405|      0|            return NULL;
15406|      0|        }
15407|  3.08M|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'False'"));
15408|  3.08M|        Token * _keyword;
15409|  3.08M|        if (
15410|  3.08M|            (_keyword = _PyPegen_expect_token(p, 629))  // token='False'
  ------------------
  |  Branch (15410:13): [True: 3.11k, False: 3.08M]
  ------------------
15411|  3.08M|        )
15412|  3.11k|        {
15413|  3.11k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'False'"));
15414|  3.11k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15415|  3.11k|            if (_token == NULL) {
  ------------------
  |  Branch (15415:17): [True: 0, False: 3.11k]
  ------------------
15416|      0|                p->level--;
15417|      0|                return NULL;
15418|      0|            }
15419|  3.11k|            int _end_lineno = _token->end_lineno;
15420|  3.11k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.11k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.11k]
  |  |  ------------------
  ------------------
15421|  3.11k|            int _end_col_offset = _token->end_col_offset;
15422|  3.11k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.11k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.11k]
  |  |  ------------------
  ------------------
15423|  3.11k|            _res = _PyAST_Constant ( Py_False , NULL , EXTRA );
  ------------------
  |  |   25|  3.11k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  3.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          _res = _PyAST_Constant ( Py_False , NULL , EXTRA );
  ------------------
  |  |  281|  3.11k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15424|  3.11k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15424:18): [True: 0, False: 3.11k]
  |  Branch (15424:34): [True: 0, False: 3.11k]
  |  Branch (15424:57): [True: 0, False: 0]
  ------------------
15425|      0|                p->error_indicator = 1;
15426|      0|                p->level--;
15427|      0|                return NULL;
15428|      0|            }
15429|  3.11k|            goto done;
15430|  3.11k|        }
15431|  3.08M|        p->mark = _mark;
15432|  3.08M|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15433|  3.08M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'False'"));
15434|  3.08M|    }
15435|      0|    { // 'None'
15436|  3.08M|        if (p->error_indicator) {
  ------------------
  |  Branch (15436:13): [True: 0, False: 3.08M]
  ------------------
15437|      0|            p->level--;
15438|      0|            return NULL;
15439|      0|        }
15440|  3.08M|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'None'"));
15441|  3.08M|        Token * _keyword;
15442|  3.08M|        if (
15443|  3.08M|            (_keyword = _PyPegen_expect_token(p, 628))  // token='None'
  ------------------
  |  Branch (15443:13): [True: 6.29k, False: 3.07M]
  ------------------
15444|  3.08M|        )
15445|  6.29k|        {
15446|  6.29k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'None'"));
15447|  6.29k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15448|  6.29k|            if (_token == NULL) {
  ------------------
  |  Branch (15448:17): [True: 0, False: 6.29k]
  ------------------
15449|      0|                p->level--;
15450|      0|                return NULL;
15451|      0|            }
15452|  6.29k|            int _end_lineno = _token->end_lineno;
15453|  6.29k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  6.29k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 6.29k]
  |  |  ------------------
  ------------------
15454|  6.29k|            int _end_col_offset = _token->end_col_offset;
15455|  6.29k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  6.29k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 6.29k]
  |  |  ------------------
  ------------------
15456|  6.29k|            _res = _PyAST_Constant ( Py_None , NULL , EXTRA );
  ------------------
  |  |  616|  6.29k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                          _res = _PyAST_Constant ( Py_None , NULL , EXTRA );
  ------------------
  |  |  281|  6.29k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15457|  6.29k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15457:18): [True: 0, False: 6.29k]
  |  Branch (15457:34): [True: 0, False: 6.29k]
  |  Branch (15457:57): [True: 0, False: 0]
  ------------------
15458|      0|                p->error_indicator = 1;
15459|      0|                p->level--;
15460|      0|                return NULL;
15461|      0|            }
15462|  6.29k|            goto done;
15463|  6.29k|        }
15464|  3.07M|        p->mark = _mark;
15465|  3.07M|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15466|  3.07M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'None'"));
15467|  3.07M|    }
15468|      0|    { // &(STRING | FSTRING_START | TSTRING_START) strings
15469|  3.07M|        if (p->error_indicator) {
  ------------------
  |  Branch (15469:13): [True: 0, False: 3.07M]
  ------------------
15470|      0|            p->level--;
15471|      0|            return NULL;
15472|      0|        }
15473|  3.07M|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
15474|  3.07M|        expr_ty strings_var;
15475|  3.07M|        if (
15476|  3.07M|            _PyPegen_lookahead(1, _tmp_42_rule, p)
  ------------------
  |  Branch (15476:13): [True: 139k, False: 2.93M]
  ------------------
15477|   139k|            &&
15478|   139k|            (strings_var = strings_rule(p))  // strings
  ------------------
  |  Branch (15478:13): [True: 130k, False: 9.10k]
  ------------------
15479|  3.07M|        )
15480|   130k|        {
15481|   130k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
15482|   130k|            _res = strings_var;
15483|   130k|            goto done;
15484|   130k|        }
15485|  2.94M|        p->mark = _mark;
15486|  2.94M|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15487|  2.94M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
15488|  2.94M|    }
15489|      0|    { // NUMBER
15490|  2.94M|        if (p->error_indicator) {
  ------------------
  |  Branch (15490:13): [True: 7.54k, False: 2.93M]
  ------------------
15491|  7.54k|            p->level--;
15492|  7.54k|            return NULL;
15493|  7.54k|        }
15494|  2.93M|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NUMBER"));
15495|  2.93M|        expr_ty number_var;
15496|  2.93M|        if (
15497|  2.93M|            (number_var = _PyPegen_number_token(p))  // NUMBER
  ------------------
  |  Branch (15497:13): [True: 2.25M, False: 686k]
  ------------------
15498|  2.93M|        )
15499|  2.25M|        {
15500|  2.25M|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NUMBER"));
15501|  2.25M|            _res = number_var;
15502|  2.25M|            goto done;
15503|  2.25M|        }
15504|   686k|        p->mark = _mark;
15505|   686k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15506|   686k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NUMBER"));
15507|   686k|    }
15508|      0|    { // &'(' (genexp | tuple | group)
15509|   686k|        if (p->error_indicator) {
  ------------------
  |  Branch (15509:13): [True: 2, False: 686k]
  ------------------
15510|      2|            p->level--;
15511|      2|            return NULL;
15512|      2|        }
15513|   686k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'(' (genexp | tuple | group)"));
15514|   686k|        void *_tmp_68_var;
15515|   686k|        if (
15516|   686k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 7)  // token='('
  ------------------
  |  Branch (15516:13): [True: 168k, False: 517k]
  ------------------
15517|   168k|            &&
15518|   168k|            (_tmp_68_var = _tmp_68_rule(p))  // genexp | tuple | group
  ------------------
  |  Branch (15518:13): [True: 130k, False: 38.0k]
  ------------------
15519|   686k|        )
15520|   130k|        {
15521|   130k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'(' (genexp | tuple | group)"));
15522|   130k|            _res = _tmp_68_var;
15523|   130k|            goto done;
15524|   130k|        }
15525|   555k|        p->mark = _mark;
15526|   555k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15527|   555k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'(' (genexp | tuple | group)"));
15528|   555k|    }
15529|      0|    { // &'[' (listcomp | list)
15530|   555k|        if (p->error_indicator) {
  ------------------
  |  Branch (15530:13): [True: 10.3k, False: 544k]
  ------------------
15531|  10.3k|            p->level--;
15532|  10.3k|            return NULL;
15533|  10.3k|        }
15534|   544k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'[' (listcomp | list)"));
15535|   544k|        void *_tmp_69_var;
15536|   544k|        if (
15537|   544k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 9)  // token='['
  ------------------
  |  Branch (15537:13): [True: 47.0k, False: 497k]
  ------------------
15538|  47.0k|            &&
15539|  47.0k|            (_tmp_69_var = _tmp_69_rule(p))  // listcomp | list
  ------------------
  |  Branch (15539:13): [True: 20.7k, False: 26.2k]
  ------------------
15540|   544k|        )
15541|  20.7k|        {
15542|  20.7k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'[' (listcomp | list)"));
15543|  20.7k|            _res = _tmp_69_var;
15544|  20.7k|            goto done;
15545|  20.7k|        }
15546|   524k|        p->mark = _mark;
15547|   524k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15548|   524k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'[' (listcomp | list)"));
15549|   524k|    }
15550|      0|    { // &'{' (dictcomp | setcomp | dict | set)
15551|   524k|        if (p->error_indicator) {
  ------------------
  |  Branch (15551:13): [True: 9.02k, False: 515k]
  ------------------
15552|  9.02k|            p->level--;
15553|  9.02k|            return NULL;
15554|  9.02k|        }
15555|   515k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'{' (dictcomp | setcomp | dict | set)"));
15556|   515k|        void *_tmp_70_var;
15557|   515k|        if (
15558|   515k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 25)  // token='{'
  ------------------
  |  Branch (15558:13): [True: 46.9k, False: 468k]
  ------------------
15559|  46.9k|            &&
15560|  46.9k|            (_tmp_70_var = _tmp_70_rule(p))  // dictcomp | setcomp | dict | set
  ------------------
  |  Branch (15560:13): [True: 31.7k, False: 15.1k]
  ------------------
15561|   515k|        )
15562|  31.7k|        {
15563|  31.7k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'{' (dictcomp | setcomp | dict | set)"));
15564|  31.7k|            _res = _tmp_70_var;
15565|  31.7k|            goto done;
15566|  31.7k|        }
15567|   483k|        p->mark = _mark;
15568|   483k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15569|   483k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'{' (dictcomp | setcomp | dict | set)"));
15570|   483k|    }
15571|      0|    { // '...'
15572|   483k|        if (p->error_indicator) {
  ------------------
  |  Branch (15572:13): [True: 7.02k, False: 476k]
  ------------------
15573|  7.02k|            p->level--;
15574|  7.02k|            return NULL;
15575|  7.02k|        }
15576|   476k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'...'"));
15577|   476k|        Token * _literal;
15578|   476k|        if (
15579|   476k|            (_literal = _PyPegen_expect_token(p, 52))  // token='...'
  ------------------
  |  Branch (15579:13): [True: 4.80k, False: 471k]
  ------------------
15580|   476k|        )
15581|  4.80k|        {
15582|  4.80k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'...'"));
15583|  4.80k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15584|  4.80k|            if (_token == NULL) {
  ------------------
  |  Branch (15584:17): [True: 0, False: 4.80k]
  ------------------
15585|      0|                p->level--;
15586|      0|                return NULL;
15587|      0|            }
15588|  4.80k|            int _end_lineno = _token->end_lineno;
15589|  4.80k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.80k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.80k]
  |  |  ------------------
  ------------------
15590|  4.80k|            int _end_col_offset = _token->end_col_offset;
15591|  4.80k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.80k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.80k]
  |  |  ------------------
  ------------------
15592|  4.80k|            _res = _PyAST_Constant ( Py_Ellipsis , NULL , EXTRA );
  ------------------
  |  |   14|  4.80k|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
                          _res = _PyAST_Constant ( Py_Ellipsis , NULL , EXTRA );
  ------------------
  |  |  281|  4.80k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15593|  4.80k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15593:18): [True: 0, False: 4.80k]
  |  Branch (15593:34): [True: 0, False: 4.80k]
  |  Branch (15593:57): [True: 0, False: 0]
  ------------------
15594|      0|                p->error_indicator = 1;
15595|      0|                p->level--;
15596|      0|                return NULL;
15597|      0|            }
15598|  4.80k|            goto done;
15599|  4.80k|        }
15600|   471k|        p->mark = _mark;
15601|   471k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15602|   471k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'...'"));
15603|   471k|    }
15604|   471k|    _res = NULL;
15605|  4.70M|  done:
15606|  4.70M|    p->level--;
15607|  4.70M|    return _res;
15608|   471k|}
parser.c:_tmp_42_rule:
31207|  3.07M|{
31208|  3.07M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  6.15M|#  define MAXSTACK 6000
  ------------------
  |  Branch (31208:9): [True: 1, False: 3.07M]
  |  Branch (31208:35): [True: 0, False: 3.07M]
  ------------------
31209|      1|        _Pypegen_stack_overflow(p);
31210|      1|    }
31211|  3.07M|    if (p->error_indicator) {
  ------------------
  |  Branch (31211:9): [True: 1, False: 3.07M]
  ------------------
31212|      1|        p->level--;
31213|      1|        return NULL;
31214|      1|    }
31215|  3.07M|    void * _res = NULL;
31216|  3.07M|    int _mark = p->mark;
31217|  3.07M|    { // STRING
31218|  3.07M|        if (p->error_indicator) {
  ------------------
  |  Branch (31218:13): [True: 0, False: 3.07M]
  ------------------
31219|      0|            p->level--;
31220|      0|            return NULL;
31221|      0|        }
31222|  3.07M|        D(fprintf(stderr, "%*c> _tmp_42[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "STRING"));
31223|  3.07M|        expr_ty string_var;
31224|  3.07M|        if (
31225|  3.07M|            (string_var = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (31225:13): [True: 107k, False: 2.96M]
  ------------------
31226|  3.07M|        )
31227|   107k|        {
31228|   107k|            D(fprintf(stderr, "%*c+ _tmp_42[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "STRING"));
31229|   107k|            _res = string_var;
31230|   107k|            goto done;
31231|   107k|        }
31232|  2.96M|        p->mark = _mark;
31233|  2.96M|        D(fprintf(stderr, "%*c%s _tmp_42[%d-%d]: %s failed!\n", p->level, ' ',
31234|  2.96M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "STRING"));
31235|  2.96M|    }
31236|      0|    { // FSTRING_START
31237|  2.96M|        if (p->error_indicator) {
  ------------------
  |  Branch (31237:13): [True: 0, False: 2.96M]
  ------------------
31238|      0|            p->level--;
31239|      0|            return NULL;
31240|      0|        }
31241|  2.96M|        D(fprintf(stderr, "%*c> _tmp_42[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "FSTRING_START"));
31242|  2.96M|        Token * fstring_start_var;
31243|  2.96M|        if (
31244|  2.96M|            (fstring_start_var = _PyPegen_expect_token(p, FSTRING_START))  // token='FSTRING_START'
  ------------------
  |  |   75|  2.96M|#define FSTRING_START   59
  ------------------
  |  Branch (31244:13): [True: 20.3k, False: 2.94M]
  ------------------
31245|  2.96M|        )
31246|  20.3k|        {
31247|  20.3k|            D(fprintf(stderr, "%*c+ _tmp_42[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "FSTRING_START"));
31248|  20.3k|            _res = fstring_start_var;
31249|  20.3k|            goto done;
31250|  20.3k|        }
31251|  2.94M|        p->mark = _mark;
31252|  2.94M|        D(fprintf(stderr, "%*c%s _tmp_42[%d-%d]: %s failed!\n", p->level, ' ',
31253|  2.94M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "FSTRING_START"));
31254|  2.94M|    }
31255|      0|    { // TSTRING_START
31256|  2.94M|        if (p->error_indicator) {
  ------------------
  |  Branch (31256:13): [True: 0, False: 2.94M]
  ------------------
31257|      0|            p->level--;
31258|      0|            return NULL;
31259|      0|        }
31260|  2.94M|        D(fprintf(stderr, "%*c> _tmp_42[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TSTRING_START"));
31261|  2.94M|        Token * tstring_start_var;
31262|  2.94M|        if (
31263|  2.94M|            (tstring_start_var = _PyPegen_expect_token(p, TSTRING_START))  // token='TSTRING_START'
  ------------------
  |  |   78|  2.94M|#define TSTRING_START   62
  ------------------
  |  Branch (31263:13): [True: 12.4k, False: 2.93M]
  ------------------
31264|  2.94M|        )
31265|  12.4k|        {
31266|  12.4k|            D(fprintf(stderr, "%*c+ _tmp_42[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "TSTRING_START"));
31267|  12.4k|            _res = tstring_start_var;
31268|  12.4k|            goto done;
31269|  12.4k|        }
31270|  2.93M|        p->mark = _mark;
31271|  2.93M|        D(fprintf(stderr, "%*c%s _tmp_42[%d-%d]: %s failed!\n", p->level, ' ',
31272|  2.93M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TSTRING_START"));
31273|  2.93M|    }
31274|  2.93M|    _res = NULL;
31275|  3.07M|  done:
31276|  3.07M|    p->level--;
31277|  3.07M|    return _res;
31278|  2.93M|}
parser.c:strings_rule:
17487|   183k|{
17488|   183k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   367k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17488:9): [True: 0, False: 183k]
  |  Branch (17488:35): [True: 0, False: 183k]
  ------------------
17489|      0|        _Pypegen_stack_overflow(p);
17490|      0|    }
17491|   183k|    if (p->error_indicator) {
  ------------------
  |  Branch (17491:9): [True: 0, False: 183k]
  ------------------
17492|      0|        p->level--;
17493|      0|        return NULL;
17494|      0|    }
17495|   183k|    expr_ty _res = NULL;
17496|   183k|    if (_PyPegen_is_memoized(p, strings_type, &_res)) {
  ------------------
  |  |  262|   183k|#define strings_type 1173
  ------------------
  |  Branch (17496:9): [True: 68.4k, False: 115k]
  ------------------
17497|  68.4k|        p->level--;
17498|  68.4k|        return _res;
17499|  68.4k|    }
17500|   115k|    int _mark = p->mark;
17501|   115k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17501:9): [True: 0, False: 115k]
  |  Branch (17501:31): [True: 0, False: 0]
  ------------------
17502|      0|        p->error_indicator = 1;
17503|      0|        p->level--;
17504|      0|        return NULL;
17505|      0|    }
17506|   115k|    int _start_lineno = p->tokens[_mark]->lineno;
17507|   115k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   115k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 115k]
  |  |  ------------------
  ------------------
17508|   115k|    int _start_col_offset = p->tokens[_mark]->col_offset;
17509|   115k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   115k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 115k]
  |  |  ------------------
  ------------------
17510|   115k|    if (p->call_invalid_rules) { // invalid_string_tstring_concat
  ------------------
  |  Branch (17510:9): [True: 40.7k, False: 74.7k]
  ------------------
17511|  40.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (17511:13): [True: 0, False: 40.7k]
  ------------------
17512|      0|            p->level--;
17513|      0|            return NULL;
17514|      0|        }
17515|  40.7k|        D(fprintf(stderr, "%*c> strings[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_string_tstring_concat"));
17516|  40.7k|        void *invalid_string_tstring_concat_var;
17517|  40.7k|        if (
17518|  40.7k|            (invalid_string_tstring_concat_var = invalid_string_tstring_concat_rule(p))  // invalid_string_tstring_concat
  ------------------
  |  Branch (17518:13): [True: 0, False: 40.7k]
  ------------------
17519|  40.7k|        )
17520|      0|        {
17521|      0|            D(fprintf(stderr, "%*c+ strings[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_string_tstring_concat"));
17522|      0|            _res = invalid_string_tstring_concat_var;
17523|      0|            goto done;
17524|      0|        }
17525|  40.7k|        p->mark = _mark;
17526|  40.7k|        D(fprintf(stderr, "%*c%s strings[%d-%d]: %s failed!\n", p->level, ' ',
17527|  40.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_string_tstring_concat"));
17528|  40.7k|    }
17529|   115k|    { // ((fstring | string))+
17530|   115k|        if (p->error_indicator) {
  ------------------
  |  Branch (17530:13): [True: 6.73k, False: 108k]
  ------------------
17531|  6.73k|            p->level--;
17532|  6.73k|            return NULL;
17533|  6.73k|        }
17534|   108k|        D(fprintf(stderr, "%*c> strings[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((fstring | string))+"));
17535|   108k|        asdl_expr_seq* a;
17536|   108k|        if (
17537|   108k|            (a = (asdl_expr_seq*)_loop1_82_rule(p))  // ((fstring | string))+
  ------------------
  |  Branch (17537:13): [True: 59.5k, False: 49.1k]
  ------------------
17538|   108k|        )
17539|  59.5k|        {
17540|  59.5k|            D(fprintf(stderr, "%*c+ strings[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "((fstring | string))+"));
17541|  59.5k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17542|  59.5k|            if (_token == NULL) {
  ------------------
  |  Branch (17542:17): [True: 0, False: 59.5k]
  ------------------
17543|      0|                p->level--;
17544|      0|                return NULL;
17545|      0|            }
17546|  59.5k|            int _end_lineno = _token->end_lineno;
17547|  59.5k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  59.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 59.5k]
  |  |  ------------------
  ------------------
17548|  59.5k|            int _end_col_offset = _token->end_col_offset;
17549|  59.5k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  59.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 59.5k]
  |  |  ------------------
  ------------------
17550|  59.5k|            _res = _PyPegen_concatenate_strings ( p , a , EXTRA );
  ------------------
  |  |  281|  59.5k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17551|  59.5k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17551:18): [True: 30, False: 59.5k]
  |  Branch (17551:34): [True: 0, False: 59.5k]
  |  Branch (17551:57): [True: 30, False: 0]
  ------------------
17552|     30|                p->error_indicator = 1;
17553|     30|                p->level--;
17554|     30|                return NULL;
17555|     30|            }
17556|  59.5k|            goto done;
17557|  59.5k|        }
17558|  49.1k|        p->mark = _mark;
17559|  49.1k|        D(fprintf(stderr, "%*c%s strings[%d-%d]: %s failed!\n", p->level, ' ',
17560|  49.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((fstring | string))+"));
17561|  49.1k|    }
17562|      0|    { // tstring+
17563|  49.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (17563:13): [True: 449, False: 48.7k]
  ------------------
17564|    449|            p->level--;
17565|    449|            return NULL;
17566|    449|        }
17567|  48.7k|        D(fprintf(stderr, "%*c> strings[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring+"));
17568|  48.7k|        asdl_expr_seq* a;
17569|  48.7k|        if (
17570|  48.7k|            (a = (asdl_expr_seq*)_loop1_83_rule(p))  // tstring+
  ------------------
  |  Branch (17570:13): [True: 3.45k, False: 45.2k]
  ------------------
17571|  48.7k|        )
17572|  3.45k|        {
17573|  3.45k|            D(fprintf(stderr, "%*c+ strings[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tstring+"));
17574|  3.45k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17575|  3.45k|            if (_token == NULL) {
  ------------------
  |  Branch (17575:17): [True: 0, False: 3.45k]
  ------------------
17576|      0|                p->level--;
17577|      0|                return NULL;
17578|      0|            }
17579|  3.45k|            int _end_lineno = _token->end_lineno;
17580|  3.45k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.45k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.45k]
  |  |  ------------------
  ------------------
17581|  3.45k|            int _end_col_offset = _token->end_col_offset;
17582|  3.45k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.45k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.45k]
  |  |  ------------------
  ------------------
17583|  3.45k|            _res = _PyPegen_concatenate_tstrings ( p , a , EXTRA );
  ------------------
  |  |  281|  3.45k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17584|  3.45k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17584:18): [True: 0, False: 3.45k]
  |  Branch (17584:34): [True: 0, False: 3.45k]
  |  Branch (17584:57): [True: 0, False: 0]
  ------------------
17585|      0|                p->error_indicator = 1;
17586|      0|                p->level--;
17587|      0|                return NULL;
17588|      0|            }
17589|  3.45k|            goto done;
17590|  3.45k|        }
17591|  45.2k|        p->mark = _mark;
17592|  45.2k|        D(fprintf(stderr, "%*c%s strings[%d-%d]: %s failed!\n", p->level, ' ',
17593|  45.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring+"));
17594|  45.2k|    }
17595|  45.2k|    _res = NULL;
17596|   108k|  done:
17597|   108k|    _PyPegen_insert_memo(p, _mark, strings_type, _res);
  ------------------
  |  |  262|   108k|#define strings_type 1173
  ------------------
17598|   108k|    p->level--;
17599|   108k|    return _res;
17600|  45.2k|}
parser.c:invalid_string_tstring_concat_rule:
28315|  40.7k|{
28316|  40.7k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  81.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28316:9): [True: 1, False: 40.7k]
  |  Branch (28316:35): [True: 0, False: 40.7k]
  ------------------
28317|      1|        _Pypegen_stack_overflow(p);
28318|      1|    }
28319|  40.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (28319:9): [True: 1, False: 40.7k]
  ------------------
28320|      1|        p->level--;
28321|      1|        return NULL;
28322|      1|    }
28323|  40.7k|    void * _res = NULL;
28324|  40.7k|    int _mark = p->mark;
28325|  40.7k|    { // ((fstring | string))+ tstring
28326|  40.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (28326:13): [True: 0, False: 40.7k]
  ------------------
28327|      0|            p->level--;
28328|      0|            return NULL;
28329|      0|        }
28330|  40.7k|        D(fprintf(stderr, "%*c> invalid_string_tstring_concat[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((fstring | string))+ tstring"));
28331|  40.7k|        asdl_seq * a;
28332|  40.7k|        expr_ty b;
28333|  40.7k|        if (
28334|  40.7k|            (a = _loop1_82_rule(p))  // ((fstring | string))+
  ------------------
  |  Branch (28334:13): [True: 10.2k, False: 30.5k]
  ------------------
28335|  10.2k|            &&
28336|  10.2k|            (b = (expr_ty)tstring_rule(p))  // tstring
  ------------------
  |  Branch (28336:13): [True: 8, False: 10.1k]
  ------------------
28337|  40.7k|        )
28338|      8|        {
28339|      8|            D(fprintf(stderr, "%*c+ invalid_string_tstring_concat[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "((fstring | string))+ tstring"));
28340|      8|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( PyPegen_last_item ( a , expr_ty ) , b , "cannot mix t-string literals with string or bytes literals" );
  ------------------
  |  |  211|      8|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
28341|      8|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (28341:18): [True: 8, False: 0]
  |  Branch (28341:34): [True: 0, False: 0]
  |  Branch (28341:57): [True: 8, False: 0]
  ------------------
28342|      8|                p->error_indicator = 1;
28343|      8|                p->level--;
28344|      8|                return NULL;
28345|      8|            }
28346|      0|            goto done;
28347|      8|        }
28348|  40.7k|        p->mark = _mark;
28349|  40.7k|        D(fprintf(stderr, "%*c%s invalid_string_tstring_concat[%d-%d]: %s failed!\n", p->level, ' ',
28350|  40.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((fstring | string))+ tstring"));
28351|  40.7k|    }
28352|      0|    { // tstring+ (fstring | string)
28353|  40.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (28353:13): [True: 1.83k, False: 38.8k]
  ------------------
28354|  1.83k|            p->level--;
28355|  1.83k|            return NULL;
28356|  1.83k|        }
28357|  38.8k|        D(fprintf(stderr, "%*c> invalid_string_tstring_concat[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring+ (fstring | string)"));
28358|  38.8k|        asdl_seq * a;
28359|  38.8k|        expr_ty b;
28360|  38.8k|        if (
28361|  38.8k|            (a = _loop1_83_rule(p))  // tstring+
  ------------------
  |  Branch (28361:13): [True: 1.28k, False: 37.6k]
  ------------------
28362|  1.28k|            &&
28363|  1.28k|            (b = (expr_ty)_tmp_156_rule(p))  // fstring | string
  ------------------
  |  Branch (28363:13): [True: 11, False: 1.27k]
  ------------------
28364|  38.8k|        )
28365|     11|        {
28366|     11|            D(fprintf(stderr, "%*c+ invalid_string_tstring_concat[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tstring+ (fstring | string)"));
28367|     11|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( PyPegen_last_item ( a , expr_ty ) , b , "cannot mix t-string literals with string or bytes literals" );
  ------------------
  |  |  211|     11|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
28368|     11|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (28368:18): [True: 11, False: 0]
  |  Branch (28368:34): [True: 0, False: 0]
  |  Branch (28368:57): [True: 11, False: 0]
  ------------------
28369|     11|                p->error_indicator = 1;
28370|     11|                p->level--;
28371|     11|                return NULL;
28372|     11|            }
28373|      0|            goto done;
28374|     11|        }
28375|  38.8k|        p->mark = _mark;
28376|  38.8k|        D(fprintf(stderr, "%*c%s invalid_string_tstring_concat[%d-%d]: %s failed!\n", p->level, ' ',
28377|  38.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring+ (fstring | string)"));
28378|  38.8k|    }
28379|  38.8k|    _res = NULL;
28380|  38.8k|  done:
28381|  38.8k|    p->level--;
28382|  38.8k|    return _res;
28383|  38.8k|}
parser.c:tstring_rule:
17390|   102k|{
17391|   102k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   205k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17391:9): [True: 0, False: 102k]
  |  Branch (17391:35): [True: 0, False: 102k]
  ------------------
17392|      0|        _Pypegen_stack_overflow(p);
17393|      0|    }
17394|   102k|    if (p->error_indicator) {
  ------------------
  |  Branch (17394:9): [True: 0, False: 102k]
  ------------------
17395|      0|        p->level--;
17396|      0|        return NULL;
17397|      0|    }
17398|   102k|    expr_ty _res = NULL;
17399|   102k|    if (_PyPegen_is_memoized(p, tstring_type, &_res)) {
  ------------------
  |  |  260|   102k|#define tstring_type 1171
  ------------------
  |  Branch (17399:9): [True: 25.1k, False: 77.7k]
  ------------------
17400|  25.1k|        p->level--;
17401|  25.1k|        return _res;
17402|  25.1k|    }
17403|  77.7k|    int _mark = p->mark;
17404|  77.7k|    { // TSTRING_START tstring_middle* TSTRING_END
17405|  77.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (17405:13): [True: 0, False: 77.7k]
  ------------------
17406|      0|            p->level--;
17407|      0|            return NULL;
17408|      0|        }
17409|  77.7k|        D(fprintf(stderr, "%*c> tstring[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TSTRING_START tstring_middle* TSTRING_END"));
17410|  77.7k|        Token * a;
17411|  77.7k|        asdl_seq * b;
17412|  77.7k|        Token * c;
17413|  77.7k|        if (
17414|  77.7k|            (a = _PyPegen_expect_token(p, TSTRING_START))  // token='TSTRING_START'
  ------------------
  |  |   78|  77.7k|#define TSTRING_START   62
  ------------------
  |  Branch (17414:13): [True: 10.0k, False: 67.7k]
  ------------------
17415|  10.0k|            &&
17416|  10.0k|            (b = _loop0_81_rule(p))  // tstring_middle*
  ------------------
  |  Branch (17416:13): [True: 10.0k, False: 0]
  ------------------
17417|  10.0k|            &&
17418|  10.0k|            (c = _PyPegen_expect_token(p, TSTRING_END))  // token='TSTRING_END'
  ------------------
  |  |   80|  10.0k|#define TSTRING_END     64
  ------------------
  |  Branch (17418:13): [True: 3.81k, False: 6.20k]
  ------------------
17419|  77.7k|        )
17420|  3.81k|        {
17421|  3.81k|            D(fprintf(stderr, "%*c+ tstring[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "TSTRING_START tstring_middle* TSTRING_END"));
17422|  3.81k|            _res = CHECK_VERSION ( expr_ty , 14 , "t-strings are" , _PyPegen_template_str ( p , a , ( asdl_expr_seq* ) b , c ) );
  ------------------
  |  |  319|  3.81k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
17423|  3.81k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17423:18): [True: 5, False: 3.81k]
  |  Branch (17423:34): [True: 1, False: 3.81k]
  |  Branch (17423:57): [True: 6, False: 0]
  ------------------
17424|      6|                p->error_indicator = 1;
17425|      6|                p->level--;
17426|      6|                return NULL;
17427|      6|            }
17428|  3.81k|            goto done;
17429|  3.81k|        }
17430|  73.9k|        p->mark = _mark;
17431|  73.9k|        D(fprintf(stderr, "%*c%s tstring[%d-%d]: %s failed!\n", p->level, ' ',
17432|  73.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TSTRING_START tstring_middle* TSTRING_END"));
17433|  73.9k|    }
17434|  73.9k|    _res = NULL;
17435|  77.7k|  done:
17436|  77.7k|    _PyPegen_insert_memo(p, _mark, tstring_type, _res);
  ------------------
  |  |  260|  77.7k|#define tstring_type 1171
  ------------------
17437|  77.7k|    p->level--;
17438|  77.7k|    return _res;
17439|  73.9k|}
parser.c:_loop0_81_rule:
33704|  10.0k|{
33705|  10.0k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  20.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33705:9): [True: 0, False: 10.0k]
  |  Branch (33705:35): [True: 0, False: 10.0k]
  ------------------
33706|      0|        _Pypegen_stack_overflow(p);
33707|      0|    }
33708|  10.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (33708:9): [True: 0, False: 10.0k]
  ------------------
33709|      0|        p->level--;
33710|      0|        return NULL;
33711|      0|    }
33712|  10.0k|    void *_res = NULL;
33713|  10.0k|    int _mark = p->mark;
33714|  10.0k|    void **_children = PyMem_Malloc(sizeof(void *));
33715|  10.0k|    if (!_children) {
  ------------------
  |  Branch (33715:9): [True: 0, False: 10.0k]
  ------------------
33716|      0|        p->error_indicator = 1;
33717|      0|        PyErr_NoMemory();
33718|      0|        p->level--;
33719|      0|        return NULL;
33720|      0|    }
33721|  10.0k|    Py_ssize_t _children_capacity = 1;
33722|  10.0k|    Py_ssize_t _n = 0;
33723|  10.0k|    { // tstring_middle
33724|  10.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (33724:13): [True: 0, False: 10.0k]
  ------------------
33725|      0|            p->level--;
33726|      0|            return NULL;
33727|      0|        }
33728|  10.0k|        D(fprintf(stderr, "%*c> _loop0_81[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring_middle"));
33729|  10.0k|        expr_ty tstring_middle_var;
33730|  10.0k|        while (
33731|  30.2k|            (tstring_middle_var = tstring_middle_rule(p))  // tstring_middle
  ------------------
  |  Branch (33731:13): [True: 20.2k, False: 10.0k]
  ------------------
33732|  10.0k|        )
33733|  20.2k|        {
33734|  20.2k|            _res = tstring_middle_var;
33735|  20.2k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33735:17): [True: 3.69k, False: 16.5k]
  ------------------
33736|  3.69k|                _children_capacity *= 2;
33737|  3.69k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33738|  3.69k|                if (!_new_children) {
  ------------------
  |  Branch (33738:21): [True: 0, False: 3.69k]
  ------------------
33739|      0|                    PyMem_Free(_children);
33740|      0|                    p->error_indicator = 1;
33741|      0|                    PyErr_NoMemory();
33742|      0|                    p->level--;
33743|      0|                    return NULL;
33744|      0|                }
33745|  3.69k|                _children = _new_children;
33746|  3.69k|            }
33747|  20.2k|            _children[_n++] = _res;
33748|  20.2k|            _mark = p->mark;
33749|  20.2k|        }
33750|  10.0k|        p->mark = _mark;
33751|  10.0k|        D(fprintf(stderr, "%*c%s _loop0_81[%d-%d]: %s failed!\n", p->level, ' ',
33752|  10.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring_middle"));
33753|  10.0k|    }
33754|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33755|  10.0k|    if (!_seq) {
  ------------------
  |  Branch (33755:9): [True: 0, False: 10.0k]
  ------------------
33756|      0|        PyMem_Free(_children);
33757|      0|        p->error_indicator = 1;
33758|      0|        PyErr_NoMemory();
33759|      0|        p->level--;
33760|      0|        return NULL;
33761|      0|    }
33762|  30.2k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  20.2k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  30.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33762:28): [True: 20.2k, False: 10.0k]
  ------------------
33763|  10.0k|    PyMem_Free(_children);
33764|  10.0k|    p->level--;
33765|  10.0k|    return _seq;
33766|  10.0k|}
parser.c:tstring_middle_rule:
17328|  30.2k|{
17329|  30.2k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  60.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17329:9): [True: 1, False: 30.2k]
  |  Branch (17329:35): [True: 0, False: 30.2k]
  ------------------
17330|      1|        _Pypegen_stack_overflow(p);
17331|      1|    }
17332|  30.2k|    if (p->error_indicator) {
  ------------------
  |  Branch (17332:9): [True: 1, False: 30.2k]
  ------------------
17333|      1|        p->level--;
17334|      1|        return NULL;
17335|      1|    }
17336|  30.2k|    expr_ty _res = NULL;
17337|  30.2k|    int _mark = p->mark;
17338|  30.2k|    { // tstring_replacement_field
17339|  30.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (17339:13): [True: 0, False: 30.2k]
  ------------------
17340|      0|            p->level--;
17341|      0|            return NULL;
17342|      0|        }
17343|  30.2k|        D(fprintf(stderr, "%*c> tstring_middle[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring_replacement_field"));
17344|  30.2k|        expr_ty tstring_replacement_field_var;
17345|  30.2k|        if (
17346|  30.2k|            (tstring_replacement_field_var = tstring_replacement_field_rule(p))  // tstring_replacement_field
  ------------------
  |  Branch (17346:13): [True: 7.33k, False: 22.9k]
  ------------------
17347|  30.2k|        )
17348|  7.33k|        {
17349|  7.33k|            D(fprintf(stderr, "%*c+ tstring_middle[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tstring_replacement_field"));
17350|  7.33k|            _res = tstring_replacement_field_var;
17351|  7.33k|            goto done;
17352|  7.33k|        }
17353|  22.9k|        p->mark = _mark;
17354|  22.9k|        D(fprintf(stderr, "%*c%s tstring_middle[%d-%d]: %s failed!\n", p->level, ' ',
17355|  22.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring_replacement_field"));
17356|  22.9k|    }
17357|      0|    { // TSTRING_MIDDLE
17358|  22.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (17358:13): [True: 5.20k, False: 17.6k]
  ------------------
17359|  5.20k|            p->level--;
17360|  5.20k|            return NULL;
17361|  5.20k|        }
17362|  17.6k|        D(fprintf(stderr, "%*c> tstring_middle[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TSTRING_MIDDLE"));
17363|  17.6k|        Token * t;
17364|  17.6k|        if (
17365|  17.6k|            (t = _PyPegen_expect_token(p, TSTRING_MIDDLE))  // token='TSTRING_MIDDLE'
  ------------------
  |  |   79|  17.6k|#define TSTRING_MIDDLE  63
  ------------------
  |  Branch (17365:13): [True: 12.8k, False: 4.81k]
  ------------------
17366|  17.6k|        )
17367|  12.8k|        {
17368|  12.8k|            D(fprintf(stderr, "%*c+ tstring_middle[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "TSTRING_MIDDLE"));
17369|  12.8k|            _res = _PyPegen_constant_from_token ( p , t );
17370|  12.8k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17370:18): [True: 3, False: 12.8k]
  |  Branch (17370:34): [True: 0, False: 12.8k]
  |  Branch (17370:57): [True: 3, False: 0]
  ------------------
17371|      3|                p->error_indicator = 1;
17372|      3|                p->level--;
17373|      3|                return NULL;
17374|      3|            }
17375|  12.8k|            goto done;
17376|  12.8k|        }
17377|  4.81k|        p->mark = _mark;
17378|  4.81k|        D(fprintf(stderr, "%*c%s tstring_middle[%d-%d]: %s failed!\n", p->level, ' ',
17379|  4.81k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TSTRING_MIDDLE"));
17380|  4.81k|    }
17381|  4.81k|    _res = NULL;
17382|  25.0k|  done:
17383|  25.0k|    p->level--;
17384|  25.0k|    return _res;
17385|  4.81k|}
parser.c:tstring_replacement_field_rule:
17233|  30.2k|{
17234|  30.2k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  60.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17234:9): [True: 1, False: 30.2k]
  |  Branch (17234:35): [True: 0, False: 30.2k]
  ------------------
17235|      1|        _Pypegen_stack_overflow(p);
17236|      1|    }
17237|  30.2k|    if (p->error_indicator) {
  ------------------
  |  Branch (17237:9): [True: 1, False: 30.2k]
  ------------------
17238|      1|        p->level--;
17239|      1|        return NULL;
17240|      1|    }
17241|  30.2k|    expr_ty _res = NULL;
17242|  30.2k|    int _mark = p->mark;
17243|  30.2k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17243:9): [True: 24.2k, False: 6.03k]
  |  Branch (17243:31): [True: 71, False: 24.1k]
  ------------------
17244|     71|        p->error_indicator = 1;
17245|     71|        p->level--;
17246|     71|        return NULL;
17247|     71|    }
17248|  30.1k|    int _start_lineno = p->tokens[_mark]->lineno;
17249|  30.1k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  30.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 30.1k]
  |  |  ------------------
  ------------------
17250|  30.1k|    int _start_col_offset = p->tokens[_mark]->col_offset;
17251|  30.1k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  30.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 30.1k]
  |  |  ------------------
  ------------------
17252|  30.1k|    { // '{' annotated_rhs '='? fstring_conversion? tstring_full_format_spec? '}'
17253|  30.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (17253:13): [True: 0, False: 30.1k]
  ------------------
17254|      0|            p->level--;
17255|      0|            return NULL;
17256|      0|        }
17257|  30.1k|        D(fprintf(stderr, "%*c> tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? tstring_full_format_spec? '}'"));
17258|  30.1k|        Token * _literal;
17259|  30.1k|        expr_ty a;
17260|  30.1k|        void *conversion;
17261|  30.1k|        void *debug_expr;
17262|  30.1k|        void *format;
17263|  30.1k|        Token * rbrace;
17264|  30.1k|        if (
17265|  30.1k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (17265:13): [True: 13.4k, False: 16.7k]
  ------------------
17266|  13.4k|            &&
17267|  13.4k|            (a = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (17267:13): [True: 8.26k, False: 5.20k]
  ------------------
17268|  8.26k|            &&
17269|  8.26k|            (debug_expr = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (17269:13): [True: 8.26k, False: 0]
  ------------------
17270|  8.26k|            &&
17271|  8.26k|            (conversion = fstring_conversion_rule(p), !p->error_indicator)  // fstring_conversion?
  ------------------
  |  Branch (17271:13): [True: 8.26k, False: 8]
  ------------------
17272|  8.26k|            &&
17273|  8.26k|            (format = tstring_full_format_spec_rule(p), !p->error_indicator)  // tstring_full_format_spec?
  ------------------
  |  Branch (17273:13): [True: 7.76k, False: 492]
  ------------------
17274|  7.76k|            &&
17275|  7.76k|            (rbrace = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (17275:13): [True: 7.33k, False: 431]
  ------------------
17276|  30.1k|        )
17277|  7.33k|        {
17278|  7.33k|            D(fprintf(stderr, "%*c+ tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? tstring_full_format_spec? '}'"));
17279|  7.33k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17280|  7.33k|            if (_token == NULL) {
  ------------------
  |  Branch (17280:17): [True: 0, False: 7.33k]
  ------------------
17281|      0|                p->level--;
17282|      0|                return NULL;
17283|      0|            }
17284|  7.33k|            int _end_lineno = _token->end_lineno;
17285|  7.33k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  7.33k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 7.33k]
  |  |  ------------------
  ------------------
17286|  7.33k|            int _end_col_offset = _token->end_col_offset;
17287|  7.33k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  7.33k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 7.33k]
  |  |  ------------------
  ------------------
17288|  7.33k|            _res = _PyPegen_interpolation ( p , a , debug_expr , conversion , format , rbrace , EXTRA );
  ------------------
  |  |  281|  7.33k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17289|  7.33k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17289:18): [True: 0, False: 7.33k]
  |  Branch (17289:34): [True: 0, False: 7.33k]
  |  Branch (17289:57): [True: 0, False: 0]
  ------------------
17290|      0|                p->error_indicator = 1;
17291|      0|                p->level--;
17292|      0|                return NULL;
17293|      0|            }
17294|  7.33k|            goto done;
17295|  7.33k|        }
17296|  22.8k|        p->mark = _mark;
17297|  22.8k|        D(fprintf(stderr, "%*c%s tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
17298|  22.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? tstring_full_format_spec? '}'"));
17299|  22.8k|    }
17300|  22.8k|    if (p->call_invalid_rules) { // invalid_tstring_replacement_field
  ------------------
  |  Branch (17300:9): [True: 10.1k, False: 12.6k]
  ------------------
17301|  10.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (17301:13): [True: 4.77k, False: 5.40k]
  ------------------
17302|  4.77k|            p->level--;
17303|  4.77k|            return NULL;
17304|  4.77k|        }
17305|  5.40k|        D(fprintf(stderr, "%*c> tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_tstring_replacement_field"));
17306|  5.40k|        void *invalid_tstring_replacement_field_var;
17307|  5.40k|        if (
17308|  5.40k|            (invalid_tstring_replacement_field_var = invalid_tstring_replacement_field_rule(p))  // invalid_tstring_replacement_field
  ------------------
  |  Branch (17308:13): [True: 0, False: 5.40k]
  ------------------
17309|  5.40k|        )
17310|      0|        {
17311|      0|            D(fprintf(stderr, "%*c+ tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_tstring_replacement_field"));
17312|      0|            _res = invalid_tstring_replacement_field_var;
17313|      0|            goto done;
17314|      0|        }
17315|  5.40k|        p->mark = _mark;
17316|  5.40k|        D(fprintf(stderr, "%*c%s tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
17317|  5.40k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_tstring_replacement_field"));
17318|  5.40k|    }
17319|  18.0k|    _res = NULL;
17320|  25.3k|  done:
17321|  25.3k|    p->level--;
17322|  25.3k|    return _res;
17323|  18.0k|}
parser.c:annotated_rhs_rule:
 2342|  64.6k|{
 2343|  64.6k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   129k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2343:9): [True: 1, False: 64.6k]
  |  Branch (2343:35): [True: 0, False: 64.6k]
  ------------------
 2344|      1|        _Pypegen_stack_overflow(p);
 2345|      1|    }
 2346|  64.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (2346:9): [True: 1, False: 64.6k]
  ------------------
 2347|      1|        p->level--;
 2348|      1|        return NULL;
 2349|      1|    }
 2350|  64.6k|    expr_ty _res = NULL;
 2351|  64.6k|    int _mark = p->mark;
 2352|  64.6k|    { // yield_expr
 2353|  64.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (2353:13): [True: 0, False: 64.6k]
  ------------------
 2354|      0|            p->level--;
 2355|      0|            return NULL;
 2356|      0|        }
 2357|  64.6k|        D(fprintf(stderr, "%*c> annotated_rhs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "yield_expr"));
 2358|  64.6k|        expr_ty yield_expr_var;
 2359|  64.6k|        if (
 2360|  64.6k|            (yield_expr_var = yield_expr_rule(p))  // yield_expr
  ------------------
  |  Branch (2360:13): [True: 336, False: 64.3k]
  ------------------
 2361|  64.6k|        )
 2362|    336|        {
 2363|    336|            D(fprintf(stderr, "%*c+ annotated_rhs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "yield_expr"));
 2364|    336|            _res = yield_expr_var;
 2365|    336|            goto done;
 2366|    336|        }
 2367|  64.3k|        p->mark = _mark;
 2368|  64.3k|        D(fprintf(stderr, "%*c%s annotated_rhs[%d-%d]: %s failed!\n", p->level, ' ',
 2369|  64.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "yield_expr"));
 2370|  64.3k|    }
 2371|      0|    { // star_expressions
 2372|  64.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (2372:13): [True: 65, False: 64.2k]
  ------------------
 2373|     65|            p->level--;
 2374|     65|            return NULL;
 2375|     65|        }
 2376|  64.2k|        D(fprintf(stderr, "%*c> annotated_rhs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expressions"));
 2377|  64.2k|        expr_ty star_expressions_var;
 2378|  64.2k|        if (
 2379|  64.2k|            (star_expressions_var = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (2379:13): [True: 56.2k, False: 7.97k]
  ------------------
 2380|  64.2k|        )
 2381|  56.2k|        {
 2382|  56.2k|            D(fprintf(stderr, "%*c+ annotated_rhs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expressions"));
 2383|  56.2k|            _res = star_expressions_var;
 2384|  56.2k|            goto done;
 2385|  56.2k|        }
 2386|  7.97k|        p->mark = _mark;
 2387|  7.97k|        D(fprintf(stderr, "%*c%s annotated_rhs[%d-%d]: %s failed!\n", p->level, ' ',
 2388|  7.97k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expressions"));
 2389|  7.97k|    }
 2390|  7.97k|    _res = NULL;
 2391|  64.5k|  done:
 2392|  64.5k|    p->level--;
 2393|  64.5k|    return _res;
 2394|  7.97k|}
parser.c:yield_expr_rule:
11770|   151k|{
11771|   151k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   302k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11771:9): [True: 2, False: 151k]
  |  Branch (11771:35): [True: 0, False: 151k]
  ------------------
11772|      2|        _Pypegen_stack_overflow(p);
11773|      2|    }
11774|   151k|    if (p->error_indicator) {
  ------------------
  |  Branch (11774:9): [True: 2, False: 151k]
  ------------------
11775|      2|        p->level--;
11776|      2|        return NULL;
11777|      2|    }
11778|   151k|    expr_ty _res = NULL;
11779|   151k|    int _mark = p->mark;
11780|   151k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11780:9): [True: 39.5k, False: 111k]
  |  Branch (11780:31): [True: 50, False: 39.5k]
  ------------------
11781|     50|        p->error_indicator = 1;
11782|     50|        p->level--;
11783|     50|        return NULL;
11784|     50|    }
11785|   151k|    int _start_lineno = p->tokens[_mark]->lineno;
11786|   151k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   151k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 151k]
  |  |  ------------------
  ------------------
11787|   151k|    int _start_col_offset = p->tokens[_mark]->col_offset;
11788|   151k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   151k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 151k]
  |  |  ------------------
  ------------------
11789|   151k|    { // 'yield' 'from' expression
11790|   151k|        if (p->error_indicator) {
  ------------------
  |  Branch (11790:13): [True: 0, False: 151k]
  ------------------
11791|      0|            p->level--;
11792|      0|            return NULL;
11793|      0|        }
11794|   151k|        D(fprintf(stderr, "%*c> yield_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'yield' 'from' expression"));
11795|   151k|        Token * _keyword;
11796|   151k|        Token * _keyword_1;
11797|   151k|        expr_ty a;
11798|   151k|        if (
11799|   151k|            (_keyword = _PyPegen_expect_token(p, 588))  // token='yield'
  ------------------
  |  Branch (11799:13): [True: 5.02k, False: 146k]
  ------------------
11800|  5.02k|            &&
11801|  5.02k|            (_keyword_1 = _PyPegen_expect_token(p, 650))  // token='from'
  ------------------
  |  Branch (11801:13): [True: 889, False: 4.13k]
  ------------------
11802|    889|            &&
11803|    889|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (11803:13): [True: 406, False: 483]
  ------------------
11804|   151k|        )
11805|    406|        {
11806|    406|            D(fprintf(stderr, "%*c+ yield_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'yield' 'from' expression"));
11807|    406|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11808|    406|            if (_token == NULL) {
  ------------------
  |  Branch (11808:17): [True: 0, False: 406]
  ------------------
11809|      0|                p->level--;
11810|      0|                return NULL;
11811|      0|            }
11812|    406|            int _end_lineno = _token->end_lineno;
11813|    406|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    406|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 406]
  |  |  ------------------
  ------------------
11814|    406|            int _end_col_offset = _token->end_col_offset;
11815|    406|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    406|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 406]
  |  |  ------------------
  ------------------
11816|    406|            _res = _PyAST_YieldFrom ( a , EXTRA );
  ------------------
  |  |  281|    406|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11817|    406|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11817:18): [True: 0, False: 406]
  |  Branch (11817:34): [True: 0, False: 406]
  |  Branch (11817:57): [True: 0, False: 0]
  ------------------
11818|      0|                p->error_indicator = 1;
11819|      0|                p->level--;
11820|      0|                return NULL;
11821|      0|            }
11822|    406|            goto done;
11823|    406|        }
11824|   150k|        p->mark = _mark;
11825|   150k|        D(fprintf(stderr, "%*c%s yield_expr[%d-%d]: %s failed!\n", p->level, ' ',
11826|   150k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'yield' 'from' expression"));
11827|   150k|    }
11828|      0|    { // 'yield' star_expressions?
11829|   150k|        if (p->error_indicator) {
  ------------------
  |  Branch (11829:13): [True: 119, False: 150k]
  ------------------
11830|    119|            p->level--;
11831|    119|            return NULL;
11832|    119|        }
11833|   150k|        D(fprintf(stderr, "%*c> yield_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'yield' star_expressions?"));
11834|   150k|        Token * _keyword;
11835|   150k|        void *a;
11836|   150k|        if (
11837|   150k|            (_keyword = _PyPegen_expect_token(p, 588))  // token='yield'
  ------------------
  |  Branch (11837:13): [True: 4.49k, False: 146k]
  ------------------
11838|  4.49k|            &&
11839|  4.49k|            (a = star_expressions_rule(p), !p->error_indicator)  // star_expressions?
  ------------------
  |  Branch (11839:13): [True: 4.33k, False: 159]
  ------------------
11840|   150k|        )
11841|  4.33k|        {
11842|  4.33k|            D(fprintf(stderr, "%*c+ yield_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'yield' star_expressions?"));
11843|  4.33k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11844|  4.33k|            if (_token == NULL) {
  ------------------
  |  Branch (11844:17): [True: 0, False: 4.33k]
  ------------------
11845|      0|                p->level--;
11846|      0|                return NULL;
11847|      0|            }
11848|  4.33k|            int _end_lineno = _token->end_lineno;
11849|  4.33k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.33k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.33k]
  |  |  ------------------
  ------------------
11850|  4.33k|            int _end_col_offset = _token->end_col_offset;
11851|  4.33k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.33k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.33k]
  |  |  ------------------
  ------------------
11852|  4.33k|            _res = _PyAST_Yield ( a , EXTRA );
  ------------------
  |  |  281|  4.33k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11853|  4.33k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11853:18): [True: 0, False: 4.33k]
  |  Branch (11853:34): [True: 0, False: 4.33k]
  |  Branch (11853:57): [True: 0, False: 0]
  ------------------
11854|      0|                p->error_indicator = 1;
11855|      0|                p->level--;
11856|      0|                return NULL;
11857|      0|            }
11858|  4.33k|            goto done;
11859|  4.33k|        }
11860|   146k|        p->mark = _mark;
11861|   146k|        D(fprintf(stderr, "%*c%s yield_expr[%d-%d]: %s failed!\n", p->level, ' ',
11862|   146k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'yield' star_expressions?"));
11863|   146k|    }
11864|   146k|    _res = NULL;
11865|   151k|  done:
11866|   151k|    p->level--;
11867|   151k|    return _res;
11868|   146k|}
parser.c:fstring_conversion_rule:
16787|  29.0k|{
16788|  29.0k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  58.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16788:9): [True: 0, False: 29.0k]
  |  Branch (16788:35): [True: 0, False: 29.0k]
  ------------------
16789|      0|        _Pypegen_stack_overflow(p);
16790|      0|    }
16791|  29.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (16791:9): [True: 0, False: 29.0k]
  ------------------
16792|      0|        p->level--;
16793|      0|        return NULL;
16794|      0|    }
16795|  29.0k|    ResultTokenWithMetadata* _res = NULL;
16796|  29.0k|    int _mark = p->mark;
16797|  29.0k|    { // "!" NAME
16798|  29.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (16798:13): [True: 0, False: 29.0k]
  ------------------
16799|      0|            p->level--;
16800|      0|            return NULL;
16801|      0|        }
16802|  29.0k|        D(fprintf(stderr, "%*c> fstring_conversion[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"!\" NAME"));
16803|  29.0k|        expr_ty conv;
16804|  29.0k|        Token * conv_token;
16805|  29.0k|        if (
16806|  29.0k|            (conv_token = _PyPegen_expect_token(p, 54))  // token='!'
  ------------------
  |  Branch (16806:13): [True: 5.96k, False: 23.0k]
  ------------------
16807|  5.96k|            &&
16808|  5.96k|            (conv = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (16808:13): [True: 5.89k, False: 68]
  ------------------
16809|  29.0k|        )
16810|  5.89k|        {
16811|  5.89k|            D(fprintf(stderr, "%*c+ fstring_conversion[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"!\" NAME"));
16812|  5.89k|            _res = _PyPegen_check_fstring_conversion ( p , conv_token , conv );
16813|  5.89k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16813:18): [True: 28, False: 5.86k]
  |  Branch (16813:34): [True: 0, False: 5.86k]
  |  Branch (16813:57): [True: 28, False: 0]
  ------------------
16814|     28|                p->error_indicator = 1;
16815|     28|                p->level--;
16816|     28|                return NULL;
16817|     28|            }
16818|  5.86k|            goto done;
16819|  5.89k|        }
16820|  23.1k|        p->mark = _mark;
16821|  23.1k|        D(fprintf(stderr, "%*c%s fstring_conversion[%d-%d]: %s failed!\n", p->level, ' ',
16822|  23.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"!\" NAME"));
16823|  23.1k|    }
16824|  23.1k|    _res = NULL;
16825|  28.9k|  done:
16826|  28.9k|    p->level--;
16827|  28.9k|    return _res;
16828|  23.1k|}
parser.c:tstring_full_format_spec_rule:
17167|  11.5k|{
17168|  11.5k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  23.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17168:9): [True: 0, False: 11.5k]
  |  Branch (17168:35): [True: 0, False: 11.5k]
  ------------------
17169|      0|        _Pypegen_stack_overflow(p);
17170|      0|    }
17171|  11.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (17171:9): [True: 0, False: 11.5k]
  ------------------
17172|      0|        p->level--;
17173|      0|        return NULL;
17174|      0|    }
17175|  11.5k|    ResultTokenWithMetadata* _res = NULL;
17176|  11.5k|    int _mark = p->mark;
17177|  11.5k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17177:9): [True: 1.36k, False: 10.1k]
  |  Branch (17177:31): [True: 1, False: 1.36k]
  ------------------
17178|      1|        p->error_indicator = 1;
17179|      1|        p->level--;
17180|      1|        return NULL;
17181|      1|    }
17182|  11.5k|    int _start_lineno = p->tokens[_mark]->lineno;
17183|  11.5k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  11.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 11.5k]
  |  |  ------------------
  ------------------
17184|  11.5k|    int _start_col_offset = p->tokens[_mark]->col_offset;
17185|  11.5k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  11.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 11.5k]
  |  |  ------------------
  ------------------
17186|  11.5k|    { // ':' tstring_format_spec*
17187|  11.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (17187:13): [True: 0, False: 11.5k]
  ------------------
17188|      0|            p->level--;
17189|      0|            return NULL;
17190|      0|        }
17191|  11.5k|        D(fprintf(stderr, "%*c> tstring_full_format_spec[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':' tstring_format_spec*"));
17192|  11.5k|        Token * colon;
17193|  11.5k|        asdl_seq * spec;
17194|  11.5k|        if (
17195|  11.5k|            (colon = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (17195:13): [True: 7.98k, False: 3.56k]
  ------------------
17196|  7.98k|            &&
17197|  7.98k|            (spec = _loop0_80_rule(p))  // tstring_format_spec*
  ------------------
  |  Branch (17197:13): [True: 7.98k, False: 0]
  ------------------
17198|  11.5k|        )
17199|  7.98k|        {
17200|  7.98k|            D(fprintf(stderr, "%*c+ tstring_full_format_spec[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':' tstring_format_spec*"));
17201|  7.98k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17202|  7.98k|            if (_token == NULL) {
  ------------------
  |  Branch (17202:17): [True: 0, False: 7.98k]
  ------------------
17203|      0|                p->level--;
17204|      0|                return NULL;
17205|      0|            }
17206|  7.98k|            int _end_lineno = _token->end_lineno;
17207|  7.98k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  7.98k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 7.98k]
  |  |  ------------------
  ------------------
17208|  7.98k|            int _end_col_offset = _token->end_col_offset;
17209|  7.98k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  7.98k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 7.98k]
  |  |  ------------------
  ------------------
17210|  7.98k|            _res = _PyPegen_setup_full_format_spec ( p , colon , ( asdl_expr_seq* ) spec , EXTRA );
  ------------------
  |  |  281|  7.98k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17211|  7.98k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17211:18): [True: 0, False: 7.98k]
  |  Branch (17211:34): [True: 688, False: 7.29k]
  |  Branch (17211:57): [True: 688, False: 0]
  ------------------
17212|    688|                p->error_indicator = 1;
17213|    688|                p->level--;
17214|    688|                return NULL;
17215|    688|            }
17216|  7.29k|            goto done;
17217|  7.98k|        }
17218|  3.56k|        p->mark = _mark;
17219|  3.56k|        D(fprintf(stderr, "%*c%s tstring_full_format_spec[%d-%d]: %s failed!\n", p->level, ' ',
17220|  3.56k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':' tstring_format_spec*"));
17221|  3.56k|    }
17222|  3.56k|    _res = NULL;
17223|  10.8k|  done:
17224|  10.8k|    p->level--;
17225|  10.8k|    return _res;
17226|  3.56k|}
parser.c:_loop0_80_rule:
33637|  7.98k|{
33638|  7.98k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  15.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33638:9): [True: 0, False: 7.98k]
  |  Branch (33638:35): [True: 0, False: 7.98k]
  ------------------
33639|      0|        _Pypegen_stack_overflow(p);
33640|      0|    }
33641|  7.98k|    if (p->error_indicator) {
  ------------------
  |  Branch (33641:9): [True: 0, False: 7.98k]
  ------------------
33642|      0|        p->level--;
33643|      0|        return NULL;
33644|      0|    }
33645|  7.98k|    void *_res = NULL;
33646|  7.98k|    int _mark = p->mark;
33647|  7.98k|    void **_children = PyMem_Malloc(sizeof(void *));
33648|  7.98k|    if (!_children) {
  ------------------
  |  Branch (33648:9): [True: 0, False: 7.98k]
  ------------------
33649|      0|        p->error_indicator = 1;
33650|      0|        PyErr_NoMemory();
33651|      0|        p->level--;
33652|      0|        return NULL;
33653|      0|    }
33654|  7.98k|    Py_ssize_t _children_capacity = 1;
33655|  7.98k|    Py_ssize_t _n = 0;
33656|  7.98k|    { // tstring_format_spec
33657|  7.98k|        if (p->error_indicator) {
  ------------------
  |  Branch (33657:13): [True: 0, False: 7.98k]
  ------------------
33658|      0|            p->level--;
33659|      0|            return NULL;
33660|      0|        }
33661|  7.98k|        D(fprintf(stderr, "%*c> _loop0_80[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring_format_spec"));
33662|  7.98k|        expr_ty tstring_format_spec_var;
33663|  7.98k|        while (
33664|  20.5k|            (tstring_format_spec_var = tstring_format_spec_rule(p))  // tstring_format_spec
  ------------------
  |  Branch (33664:13): [True: 12.5k, False: 7.98k]
  ------------------
33665|  7.98k|        )
33666|  12.5k|        {
33667|  12.5k|            _res = tstring_format_spec_var;
33668|  12.5k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33668:17): [True: 3.45k, False: 9.11k]
  ------------------
33669|  3.45k|                _children_capacity *= 2;
33670|  3.45k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33671|  3.45k|                if (!_new_children) {
  ------------------
  |  Branch (33671:21): [True: 0, False: 3.45k]
  ------------------
33672|      0|                    PyMem_Free(_children);
33673|      0|                    p->error_indicator = 1;
33674|      0|                    PyErr_NoMemory();
33675|      0|                    p->level--;
33676|      0|                    return NULL;
33677|      0|                }
33678|  3.45k|                _children = _new_children;
33679|  3.45k|            }
33680|  12.5k|            _children[_n++] = _res;
33681|  12.5k|            _mark = p->mark;
33682|  12.5k|        }
33683|  7.98k|        p->mark = _mark;
33684|  7.98k|        D(fprintf(stderr, "%*c%s _loop0_80[%d-%d]: %s failed!\n", p->level, ' ',
33685|  7.98k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring_format_spec"));
33686|  7.98k|    }
33687|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33688|  7.98k|    if (!_seq) {
  ------------------
  |  Branch (33688:9): [True: 0, False: 7.98k]
  ------------------
33689|      0|        PyMem_Free(_children);
33690|      0|        p->error_indicator = 1;
33691|      0|        PyErr_NoMemory();
33692|      0|        p->level--;
33693|      0|        return NULL;
33694|      0|    }
33695|  20.5k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  12.5k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  20.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33695:28): [True: 12.5k, False: 7.98k]
  ------------------
33696|  7.98k|    PyMem_Free(_children);
33697|  7.98k|    p->level--;
33698|  7.98k|    return _seq;
33699|  7.98k|}
parser.c:tstring_format_spec_rule:
17105|  20.5k|{
17106|  20.5k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  41.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17106:9): [True: 0, False: 20.5k]
  |  Branch (17106:35): [True: 0, False: 20.5k]
  ------------------
17107|      0|        _Pypegen_stack_overflow(p);
17108|      0|    }
17109|  20.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (17109:9): [True: 0, False: 20.5k]
  ------------------
17110|      0|        p->level--;
17111|      0|        return NULL;
17112|      0|    }
17113|  20.5k|    expr_ty _res = NULL;
17114|  20.5k|    int _mark = p->mark;
17115|  20.5k|    { // TSTRING_MIDDLE
17116|  20.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (17116:13): [True: 0, False: 20.5k]
  ------------------
17117|      0|            p->level--;
17118|      0|            return NULL;
17119|      0|        }
17120|  20.5k|        D(fprintf(stderr, "%*c> tstring_format_spec[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TSTRING_MIDDLE"));
17121|  20.5k|        Token * t;
17122|  20.5k|        if (
17123|  20.5k|            (t = _PyPegen_expect_token(p, TSTRING_MIDDLE))  // token='TSTRING_MIDDLE'
  ------------------
  |  |   79|  20.5k|#define TSTRING_MIDDLE  63
  ------------------
  |  Branch (17123:13): [True: 9.66k, False: 10.8k]
  ------------------
17124|  20.5k|        )
17125|  9.66k|        {
17126|  9.66k|            D(fprintf(stderr, "%*c+ tstring_format_spec[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "TSTRING_MIDDLE"));
17127|  9.66k|            _res = _PyPegen_decoded_constant_from_token ( p , t );
17128|  9.66k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17128:18): [True: 2, False: 9.65k]
  |  Branch (17128:34): [True: 0, False: 9.65k]
  |  Branch (17128:57): [True: 2, False: 0]
  ------------------
17129|      2|                p->error_indicator = 1;
17130|      2|                p->level--;
17131|      2|                return NULL;
17132|      2|            }
17133|  9.65k|            goto done;
17134|  9.66k|        }
17135|  10.8k|        p->mark = _mark;
17136|  10.8k|        D(fprintf(stderr, "%*c%s tstring_format_spec[%d-%d]: %s failed!\n", p->level, ' ',
17137|  10.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TSTRING_MIDDLE"));
17138|  10.8k|    }
17139|      0|    { // tstring_format_spec_replacement_field
17140|  10.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (17140:13): [True: 21, False: 10.8k]
  ------------------
17141|     21|            p->level--;
17142|     21|            return NULL;
17143|     21|        }
17144|  10.8k|        D(fprintf(stderr, "%*c> tstring_format_spec[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring_format_spec_replacement_field"));
17145|  10.8k|        expr_ty tstring_format_spec_replacement_field_var;
17146|  10.8k|        if (
17147|  10.8k|            (tstring_format_spec_replacement_field_var = tstring_format_spec_replacement_field_rule(p))  // tstring_format_spec_replacement_field
  ------------------
  |  Branch (17147:13): [True: 2.91k, False: 7.96k]
  ------------------
17148|  10.8k|        )
17149|  2.91k|        {
17150|  2.91k|            D(fprintf(stderr, "%*c+ tstring_format_spec[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tstring_format_spec_replacement_field"));
17151|  2.91k|            _res = tstring_format_spec_replacement_field_var;
17152|  2.91k|            goto done;
17153|  2.91k|        }
17154|  7.96k|        p->mark = _mark;
17155|  7.96k|        D(fprintf(stderr, "%*c%s tstring_format_spec[%d-%d]: %s failed!\n", p->level, ' ',
17156|  7.96k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring_format_spec_replacement_field"));
17157|  7.96k|    }
17158|  7.96k|    _res = NULL;
17159|  20.5k|  done:
17160|  20.5k|    p->level--;
17161|  20.5k|    return _res;
17162|  7.96k|}
parser.c:tstring_format_spec_replacement_field_rule:
17010|  10.8k|{
17011|  10.8k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  21.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17011:9): [True: 0, False: 10.8k]
  |  Branch (17011:35): [True: 0, False: 10.8k]
  ------------------
17012|      0|        _Pypegen_stack_overflow(p);
17013|      0|    }
17014|  10.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (17014:9): [True: 0, False: 10.8k]
  ------------------
17015|      0|        p->level--;
17016|      0|        return NULL;
17017|      0|    }
17018|  10.8k|    expr_ty _res = NULL;
17019|  10.8k|    int _mark = p->mark;
17020|  10.8k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17020:9): [True: 0, False: 10.8k]
  |  Branch (17020:31): [True: 0, False: 0]
  ------------------
17021|      0|        p->error_indicator = 1;
17022|      0|        p->level--;
17023|      0|        return NULL;
17024|      0|    }
17025|  10.8k|    int _start_lineno = p->tokens[_mark]->lineno;
17026|  10.8k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  10.8k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 10.8k]
  |  |  ------------------
  ------------------
17027|  10.8k|    int _start_col_offset = p->tokens[_mark]->col_offset;
17028|  10.8k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  10.8k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 10.8k]
  |  |  ------------------
  ------------------
17029|  10.8k|    { // '{' annotated_rhs '='? fstring_conversion? tstring_full_format_spec? '}'
17030|  10.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (17030:13): [True: 0, False: 10.8k]
  ------------------
17031|      0|            p->level--;
17032|      0|            return NULL;
17033|      0|        }
17034|  10.8k|        D(fprintf(stderr, "%*c> tstring_format_spec_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? tstring_full_format_spec? '}'"));
17035|  10.8k|        Token * _literal;
17036|  10.8k|        expr_ty a;
17037|  10.8k|        void *conversion;
17038|  10.8k|        void *debug_expr;
17039|  10.8k|        void *format;
17040|  10.8k|        Token * rbrace;
17041|  10.8k|        if (
17042|  10.8k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (17042:13): [True: 3.89k, False: 6.98k]
  ------------------
17043|  3.89k|            &&
17044|  3.89k|            (a = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (17044:13): [True: 3.28k, False: 608]
  ------------------
17045|  3.28k|            &&
17046|  3.28k|            (debug_expr = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (17046:13): [True: 3.28k, False: 0]
  ------------------
17047|  3.28k|            &&
17048|  3.28k|            (conversion = fstring_conversion_rule(p), !p->error_indicator)  // fstring_conversion?
  ------------------
  |  Branch (17048:13): [True: 3.28k, False: 1]
  ------------------
17049|  3.28k|            &&
17050|  3.28k|            (format = tstring_full_format_spec_rule(p), !p->error_indicator)  // tstring_full_format_spec?
  ------------------
  |  Branch (17050:13): [True: 3.09k, False: 197]
  ------------------
17051|  3.09k|            &&
17052|  3.09k|            (rbrace = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (17052:13): [True: 2.91k, False: 175]
  ------------------
17053|  10.8k|        )
17054|  2.91k|        {
17055|  2.91k|            D(fprintf(stderr, "%*c+ tstring_format_spec_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? tstring_full_format_spec? '}'"));
17056|  2.91k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17057|  2.91k|            if (_token == NULL) {
  ------------------
  |  Branch (17057:17): [True: 0, False: 2.91k]
  ------------------
17058|      0|                p->level--;
17059|      0|                return NULL;
17060|      0|            }
17061|  2.91k|            int _end_lineno = _token->end_lineno;
17062|  2.91k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.91k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.91k]
  |  |  ------------------
  ------------------
17063|  2.91k|            int _end_col_offset = _token->end_col_offset;
17064|  2.91k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.91k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.91k]
  |  |  ------------------
  ------------------
17065|  2.91k|            _res = _PyPegen_formatted_value ( p , a , debug_expr , conversion , format , rbrace , EXTRA );
  ------------------
  |  |  281|  2.91k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17066|  2.91k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17066:18): [True: 1, False: 2.91k]
  |  Branch (17066:34): [True: 0, False: 2.91k]
  |  Branch (17066:57): [True: 1, False: 0]
  ------------------
17067|      1|                p->error_indicator = 1;
17068|      1|                p->level--;
17069|      1|                return NULL;
17070|      1|            }
17071|  2.91k|            goto done;
17072|  2.91k|        }
17073|  7.96k|        p->mark = _mark;
17074|  7.96k|        D(fprintf(stderr, "%*c%s tstring_format_spec_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
17075|  7.96k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? tstring_full_format_spec? '}'"));
17076|  7.96k|    }
17077|  7.96k|    if (p->call_invalid_rules) { // invalid_tstring_replacement_field
  ------------------
  |  Branch (17077:9): [True: 2.95k, False: 5.00k]
  ------------------
17078|  2.95k|        if (p->error_indicator) {
  ------------------
  |  Branch (17078:13): [True: 542, False: 2.41k]
  ------------------
17079|    542|            p->level--;
17080|    542|            return NULL;
17081|    542|        }
17082|  2.41k|        D(fprintf(stderr, "%*c> tstring_format_spec_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_tstring_replacement_field"));
17083|  2.41k|        void *invalid_tstring_replacement_field_var;
17084|  2.41k|        if (
17085|  2.41k|            (invalid_tstring_replacement_field_var = invalid_tstring_replacement_field_rule(p))  // invalid_tstring_replacement_field
  ------------------
  |  Branch (17085:13): [True: 0, False: 2.41k]
  ------------------
17086|  2.41k|        )
17087|      0|        {
17088|      0|            D(fprintf(stderr, "%*c+ tstring_format_spec_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_tstring_replacement_field"));
17089|      0|            _res = invalid_tstring_replacement_field_var;
17090|      0|            goto done;
17091|      0|        }
17092|  2.41k|        p->mark = _mark;
17093|  2.41k|        D(fprintf(stderr, "%*c%s tstring_format_spec_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
17094|  2.41k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_tstring_replacement_field"));
17095|  2.41k|    }
17096|  7.42k|    _res = NULL;
17097|  10.3k|  done:
17098|  10.3k|    p->level--;
17099|  10.3k|    return _res;
17100|  7.42k|}
parser.c:invalid_tstring_replacement_field_rule:
27882|  7.82k|{
27883|  7.82k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  15.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (27883:9): [True: 1, False: 7.81k]
  |  Branch (27883:35): [True: 0, False: 7.81k]
  ------------------
27884|      1|        _Pypegen_stack_overflow(p);
27885|      1|    }
27886|  7.82k|    if (p->error_indicator) {
  ------------------
  |  Branch (27886:9): [True: 1, False: 7.81k]
  ------------------
27887|      1|        p->level--;
27888|      1|        return NULL;
27889|      1|    }
27890|  7.81k|    void * _res = NULL;
27891|  7.81k|    int _mark = p->mark;
27892|  7.81k|    { // '{' '='
27893|  7.81k|        if (p->error_indicator) {
  ------------------
  |  Branch (27893:13): [True: 0, False: 7.81k]
  ------------------
27894|      0|            p->level--;
27895|      0|            return NULL;
27896|      0|        }
27897|  7.81k|        D(fprintf(stderr, "%*c> invalid_tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' '='"));
27898|  7.81k|        Token * _literal;
27899|  7.81k|        Token * a;
27900|  7.81k|        if (
27901|  7.81k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (27901:13): [True: 124, False: 7.69k]
  ------------------
27902|    124|            &&
27903|    124|            (a = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (27903:13): [True: 3, False: 121]
  ------------------
27904|  7.81k|        )
27905|      3|        {
27906|      3|            D(fprintf(stderr, "%*c+ invalid_tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' '='"));
27907|      3|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "t-string: valid expression required before '='" );
  ------------------
  |  |  213|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
27908|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27908:18): [True: 3, False: 0]
  |  Branch (27908:34): [True: 0, False: 0]
  |  Branch (27908:57): [True: 3, False: 0]
  ------------------
27909|      3|                p->error_indicator = 1;
27910|      3|                p->level--;
27911|      3|                return NULL;
27912|      3|            }
27913|      0|            goto done;
27914|      3|        }
27915|  7.81k|        p->mark = _mark;
27916|  7.81k|        D(fprintf(stderr, "%*c%s invalid_tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
27917|  7.81k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' '='"));
27918|  7.81k|    }
27919|      0|    { // '{' '!'
27920|  7.81k|        if (p->error_indicator) {
  ------------------
  |  Branch (27920:13): [True: 0, False: 7.81k]
  ------------------
27921|      0|            p->level--;
27922|      0|            return NULL;
27923|      0|        }
27924|  7.81k|        D(fprintf(stderr, "%*c> invalid_tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' '!'"));
27925|  7.81k|        Token * _literal;
27926|  7.81k|        Token * a;
27927|  7.81k|        if (
27928|  7.81k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (27928:13): [True: 121, False: 7.69k]
  ------------------
27929|    121|            &&
27930|    121|            (a = _PyPegen_expect_token(p, 54))  // token='!'
  ------------------
  |  Branch (27930:13): [True: 5, False: 116]
  ------------------
27931|  7.81k|        )
27932|      5|        {
27933|      5|            D(fprintf(stderr, "%*c+ invalid_tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' '!'"));
27934|      5|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "t-string: valid expression required before '!'" );
  ------------------
  |  |  213|      5|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
27935|      5|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27935:18): [True: 5, False: 0]
  |  Branch (27935:34): [True: 0, False: 0]
  |  Branch (27935:57): [True: 5, False: 0]
  ------------------
27936|      5|                p->error_indicator = 1;
27937|      5|                p->level--;
27938|      5|                return NULL;
27939|      5|            }
27940|      0|            goto done;
27941|      5|        }
27942|  7.81k|        p->mark = _mark;
27943|  7.81k|        D(fprintf(stderr, "%*c%s invalid_tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
27944|  7.81k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' '!'"));
27945|  7.81k|    }
27946|      0|    { // '{' ':'
27947|  7.81k|        if (p->error_indicator) {
  ------------------
  |  Branch (27947:13): [True: 0, False: 7.81k]
  ------------------
27948|      0|            p->level--;
27949|      0|            return NULL;
27950|      0|        }
27951|  7.81k|        D(fprintf(stderr, "%*c> invalid_tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' ':'"));
27952|  7.81k|        Token * _literal;
27953|  7.81k|        Token * a;
27954|  7.81k|        if (
27955|  7.81k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (27955:13): [True: 116, False: 7.69k]
  ------------------
27956|    116|            &&
27957|    116|            (a = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (27957:13): [True: 14, False: 102]
  ------------------
27958|  7.81k|        )
27959|     14|        {
27960|     14|            D(fprintf(stderr, "%*c+ invalid_tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' ':'"));
27961|     14|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "t-string: valid expression required before ':'" );
  ------------------
  |  |  213|     14|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
27962|     14|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27962:18): [True: 14, False: 0]
  |  Branch (27962:34): [True: 0, False: 0]
  |  Branch (27962:57): [True: 14, False: 0]
  ------------------
27963|     14|                p->error_indicator = 1;
27964|     14|                p->level--;
27965|     14|                return NULL;
27966|     14|            }
27967|      0|            goto done;
27968|     14|        }
27969|  7.79k|        p->mark = _mark;
27970|  7.79k|        D(fprintf(stderr, "%*c%s invalid_tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
27971|  7.79k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' ':'"));
27972|  7.79k|    }
27973|      0|    { // '{' '}'
27974|  7.79k|        if (p->error_indicator) {
  ------------------
  |  Branch (27974:13): [True: 0, False: 7.79k]
  ------------------
27975|      0|            p->level--;
27976|      0|            return NULL;
27977|      0|        }
27978|  7.79k|        D(fprintf(stderr, "%*c> invalid_tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' '}'"));
27979|  7.79k|        Token * _literal;
27980|  7.79k|        Token * a;
27981|  7.79k|        if (
27982|  7.79k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (27982:13): [True: 102, False: 7.69k]
  ------------------
27983|    102|            &&
27984|    102|            (a = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (27984:13): [True: 7, False: 95]
  ------------------
27985|  7.79k|        )
27986|      7|        {
27987|      7|            D(fprintf(stderr, "%*c+ invalid_tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' '}'"));
27988|      7|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "t-string: valid expression required before '}'" );
  ------------------
  |  |  213|      7|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
27989|      7|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27989:18): [True: 7, False: 0]
  |  Branch (27989:34): [True: 0, False: 0]
  |  Branch (27989:57): [True: 7, False: 0]
  ------------------
27990|      7|                p->error_indicator = 1;
27991|      7|                p->level--;
27992|      7|                return NULL;
27993|      7|            }
27994|      0|            goto done;
27995|      7|        }
27996|  7.79k|        p->mark = _mark;
27997|  7.79k|        D(fprintf(stderr, "%*c%s invalid_tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
27998|  7.79k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' '}'"));
27999|  7.79k|    }
28000|      0|    { // '{' !annotated_rhs
28001|  7.79k|        if (p->error_indicator) {
  ------------------
  |  Branch (28001:13): [True: 0, False: 7.79k]
  ------------------
28002|      0|            p->level--;
28003|      0|            return NULL;
28004|      0|        }
28005|  7.79k|        D(fprintf(stderr, "%*c> invalid_tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' !annotated_rhs"));
28006|  7.79k|        Token * _literal;
28007|  7.79k|        if (
28008|  7.79k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (28008:13): [True: 95, False: 7.69k]
  ------------------
28009|     95|            &&
28010|     95|            _PyPegen_lookahead_for_expr(0, annotated_rhs_rule, p)
  ------------------
  |  Branch (28010:13): [True: 14, False: 81]
  ------------------
28011|  7.79k|        )
28012|     14|        {
28013|     14|            D(fprintf(stderr, "%*c+ invalid_tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' !annotated_rhs"));
28014|     14|            _res = RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "t-string: expecting a valid expression after '{'" );
  ------------------
  |  |  209|     14|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
28015|     14|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (28015:18): [True: 14, False: 0]
  |  Branch (28015:34): [True: 0, False: 0]
  |  Branch (28015:57): [True: 14, False: 0]
  ------------------
28016|     14|                p->error_indicator = 1;
28017|     14|                p->level--;
28018|     14|                return NULL;
28019|     14|            }
28020|      0|            goto done;
28021|     14|        }
28022|  7.77k|        p->mark = _mark;
28023|  7.77k|        D(fprintf(stderr, "%*c%s invalid_tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
28024|  7.77k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' !annotated_rhs"));
28025|  7.77k|    }
28026|      0|    { // '{' annotated_rhs !('=' | '!' | ':' | '}')
28027|  7.77k|        if (p->error_indicator) {
  ------------------
  |  Branch (28027:13): [True: 0, False: 7.77k]
  ------------------
28028|      0|            p->level--;
28029|      0|            return NULL;
28030|      0|        }
28031|  7.77k|        D(fprintf(stderr, "%*c> invalid_tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs !('=' | '!' | ':' | '}')"));
28032|  7.77k|        Token * _literal;
28033|  7.77k|        expr_ty annotated_rhs_var;
28034|  7.77k|        if (
28035|  7.77k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (28035:13): [True: 81, False: 7.69k]
  ------------------
28036|     81|            &&
28037|     81|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (28037:13): [True: 81, False: 0]
  ------------------
28038|     81|            &&
28039|     81|            _PyPegen_lookahead(0, _tmp_152_rule, p)
  ------------------
  |  Branch (28039:13): [True: 31, False: 50]
  ------------------
28040|  7.77k|        )
28041|     31|        {
28042|     31|            D(fprintf(stderr, "%*c+ invalid_tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs !('=' | '!' | ':' | '}')"));
28043|     31|            _res = PyErr_Occurred ( ) ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "t-string: expecting '=', or '!', or ':', or '}'" );
  ------------------
  |  |  209|     62|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (28043:20): [True: 0, False: 31]
  ------------------
28044|     31|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (28044:18): [True: 31, False: 0]
  |  Branch (28044:34): [True: 0, False: 0]
  |  Branch (28044:57): [True: 31, False: 0]
  ------------------
28045|     31|                p->error_indicator = 1;
28046|     31|                p->level--;
28047|     31|                return NULL;
28048|     31|            }
28049|      0|            goto done;
28050|     31|        }
28051|  7.74k|        p->mark = _mark;
28052|  7.74k|        D(fprintf(stderr, "%*c%s invalid_tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
28053|  7.74k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs !('=' | '!' | ':' | '}')"));
28054|  7.74k|    }
28055|      0|    { // '{' annotated_rhs '=' !('!' | ':' | '}')
28056|  7.74k|        if (p->error_indicator) {
  ------------------
  |  Branch (28056:13): [True: 0, False: 7.74k]
  ------------------
28057|      0|            p->level--;
28058|      0|            return NULL;
28059|      0|        }
28060|  7.74k|        D(fprintf(stderr, "%*c> invalid_tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '=' !('!' | ':' | '}')"));
28061|  7.74k|        Token * _literal;
28062|  7.74k|        Token * _literal_1;
28063|  7.74k|        expr_ty annotated_rhs_var;
28064|  7.74k|        if (
28065|  7.74k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (28065:13): [True: 50, False: 7.69k]
  ------------------
28066|     50|            &&
28067|     50|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (28067:13): [True: 50, False: 0]
  ------------------
28068|     50|            &&
28069|     50|            (_literal_1 = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (28069:13): [True: 19, False: 31]
  ------------------
28070|     19|            &&
28071|     19|            _PyPegen_lookahead(0, _tmp_153_rule, p)
  ------------------
  |  Branch (28071:13): [True: 7, False: 12]
  ------------------
28072|  7.74k|        )
28073|      7|        {
28074|      7|            D(fprintf(stderr, "%*c+ invalid_tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '=' !('!' | ':' | '}')"));
28075|      7|            _res = PyErr_Occurred ( ) ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "t-string: expecting '!', or ':', or '}'" );
  ------------------
  |  |  209|     14|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (28075:20): [True: 0, False: 7]
  ------------------
28076|      7|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (28076:18): [True: 7, False: 0]
  |  Branch (28076:34): [True: 0, False: 0]
  |  Branch (28076:57): [True: 7, False: 0]
  ------------------
28077|      7|                p->error_indicator = 1;
28078|      7|                p->level--;
28079|      7|                return NULL;
28080|      7|            }
28081|      0|            goto done;
28082|      7|        }
28083|  7.73k|        p->mark = _mark;
28084|  7.73k|        D(fprintf(stderr, "%*c%s invalid_tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
28085|  7.73k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '=' !('!' | ':' | '}')"));
28086|  7.73k|    }
28087|      0|    { // '{' annotated_rhs '='? invalid_tstring_conversion_character
28088|  7.73k|        if (p->error_indicator) {
  ------------------
  |  Branch (28088:13): [True: 0, False: 7.73k]
  ------------------
28089|      0|            p->level--;
28090|      0|            return NULL;
28091|      0|        }
28092|  7.73k|        D(fprintf(stderr, "%*c> invalid_tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? invalid_tstring_conversion_character"));
28093|  7.73k|        Token * _literal;
28094|  7.73k|        void *_opt_var;
28095|  7.73k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  7.73k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 7.73k]
  |  |  ------------------
  ------------------
28096|  7.73k|        expr_ty annotated_rhs_var;
28097|  7.73k|        void *invalid_tstring_conversion_character_var;
28098|  7.73k|        if (
28099|  7.73k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (28099:13): [True: 43, False: 7.69k]
  ------------------
28100|     43|            &&
28101|     43|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (28101:13): [True: 43, False: 0]
  ------------------
28102|     43|            &&
28103|     43|            (_opt_var = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (28103:13): [True: 43, False: 0]
  ------------------
28104|     43|            &&
28105|     43|            (invalid_tstring_conversion_character_var = invalid_tstring_conversion_character_rule(p))  // invalid_tstring_conversion_character
  ------------------
  |  Branch (28105:13): [True: 0, False: 43]
  ------------------
28106|  7.73k|        )
28107|      0|        {
28108|      0|            D(fprintf(stderr, "%*c+ invalid_tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? invalid_tstring_conversion_character"));
28109|      0|            _res = _PyPegen_dummy_name(p, _literal, annotated_rhs_var, _opt_var, invalid_tstring_conversion_character_var);
28110|      0|            goto done;
28111|      0|        }
28112|  7.73k|        p->mark = _mark;
28113|  7.73k|        D(fprintf(stderr, "%*c%s invalid_tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
28114|  7.73k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? invalid_tstring_conversion_character"));
28115|  7.73k|    }
28116|      0|    { // '{' annotated_rhs '='? ['!' NAME] !(':' | '}')
28117|  7.73k|        if (p->error_indicator) {
  ------------------
  |  Branch (28117:13): [True: 10, False: 7.72k]
  ------------------
28118|     10|            p->level--;
28119|     10|            return NULL;
28120|     10|        }
28121|  7.72k|        D(fprintf(stderr, "%*c> invalid_tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] !(':' | '}')"));
28122|  7.72k|        Token * _literal;
28123|  7.72k|        void *_opt_var;
28124|  7.72k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  7.72k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 7.72k]
  |  |  ------------------
  ------------------
28125|  7.72k|        void *_opt_var_1;
28126|  7.72k|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  279|  7.72k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 7.72k]
  |  |  ------------------
  ------------------
28127|  7.72k|        expr_ty annotated_rhs_var;
28128|  7.72k|        if (
28129|  7.72k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (28129:13): [True: 33, False: 7.69k]
  ------------------
28130|     33|            &&
28131|     33|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (28131:13): [True: 33, False: 0]
  ------------------
28132|     33|            &&
28133|     33|            (_opt_var = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (28133:13): [True: 33, False: 0]
  ------------------
28134|     33|            &&
28135|     33|            (_opt_var_1 = _tmp_154_rule(p), !p->error_indicator)  // ['!' NAME]
  ------------------
  |  Branch (28135:13): [True: 33, False: 0]
  ------------------
28136|     33|            &&
28137|     33|            _PyPegen_lookahead(0, _tmp_155_rule, p)
  ------------------
  |  Branch (28137:13): [True: 2, False: 31]
  ------------------
28138|  7.72k|        )
28139|      2|        {
28140|      2|            D(fprintf(stderr, "%*c+ invalid_tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] !(':' | '}')"));
28141|      2|            _res = PyErr_Occurred ( ) ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "t-string: expecting ':' or '}'" );
  ------------------
  |  |  209|      4|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (28141:20): [True: 0, False: 2]
  ------------------
28142|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (28142:18): [True: 2, False: 0]
  |  Branch (28142:34): [True: 0, False: 0]
  |  Branch (28142:57): [True: 2, False: 0]
  ------------------
28143|      2|                p->error_indicator = 1;
28144|      2|                p->level--;
28145|      2|                return NULL;
28146|      2|            }
28147|      0|            goto done;
28148|      2|        }
28149|  7.72k|        p->mark = _mark;
28150|  7.72k|        D(fprintf(stderr, "%*c%s invalid_tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
28151|  7.72k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] !(':' | '}')"));
28152|  7.72k|    }
28153|      0|    { // '{' annotated_rhs '='? ['!' NAME] ':' fstring_format_spec* !'}'
28154|  7.72k|        if (p->error_indicator) {
  ------------------
  |  Branch (28154:13): [True: 0, False: 7.72k]
  ------------------
28155|      0|            p->level--;
28156|      0|            return NULL;
28157|      0|        }
28158|  7.72k|        D(fprintf(stderr, "%*c> invalid_tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] ':' fstring_format_spec* !'}'"));
28159|  7.72k|        Token * _literal;
28160|  7.72k|        Token * _literal_1;
28161|  7.72k|        asdl_seq * _loop0_78_var;
28162|  7.72k|        void *_opt_var;
28163|  7.72k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  7.72k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 7.72k]
  |  |  ------------------
  ------------------
28164|  7.72k|        void *_opt_var_1;
28165|  7.72k|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  279|  7.72k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 7.72k]
  |  |  ------------------
  ------------------
28166|  7.72k|        expr_ty annotated_rhs_var;
28167|  7.72k|        if (
28168|  7.72k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (28168:13): [True: 31, False: 7.69k]
  ------------------
28169|     31|            &&
28170|     31|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (28170:13): [True: 31, False: 0]
  ------------------
28171|     31|            &&
28172|     31|            (_opt_var = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (28172:13): [True: 31, False: 0]
  ------------------
28173|     31|            &&
28174|     31|            (_opt_var_1 = _tmp_154_rule(p), !p->error_indicator)  // ['!' NAME]
  ------------------
  |  Branch (28174:13): [True: 31, False: 0]
  ------------------
28175|     31|            &&
28176|     31|            (_literal_1 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (28176:13): [True: 31, False: 0]
  ------------------
28177|     31|            &&
28178|     31|            (_loop0_78_var = _loop0_78_rule(p))  // fstring_format_spec*
  ------------------
  |  Branch (28178:13): [True: 31, False: 0]
  ------------------
28179|     31|            &&
28180|     31|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 26)  // token='}'
  ------------------
  |  Branch (28180:13): [True: 31, False: 0]
  ------------------
28181|  7.72k|        )
28182|     31|        {
28183|     31|            D(fprintf(stderr, "%*c+ invalid_tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] ':' fstring_format_spec* !'}'"));
28184|     31|            _res = PyErr_Occurred ( ) ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "t-string: expecting '}', or format specs" );
  ------------------
  |  |  209|     57|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (28184:20): [True: 5, False: 26]
  ------------------
28185|     31|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (28185:18): [True: 31, False: 0]
  |  Branch (28185:34): [True: 0, False: 0]
  |  Branch (28185:57): [True: 31, False: 0]
  ------------------
28186|     31|                p->error_indicator = 1;
28187|     31|                p->level--;
28188|     31|                return NULL;
28189|     31|            }
28190|      0|            goto done;
28191|     31|        }
28192|  7.69k|        p->mark = _mark;
28193|  7.69k|        D(fprintf(stderr, "%*c%s invalid_tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
28194|  7.69k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] ':' fstring_format_spec* !'}'"));
28195|  7.69k|    }
28196|      0|    { // '{' annotated_rhs '='? ['!' NAME] !'}'
28197|  7.69k|        if (p->error_indicator) {
  ------------------
  |  Branch (28197:13): [True: 0, False: 7.69k]
  ------------------
28198|      0|            p->level--;
28199|      0|            return NULL;
28200|      0|        }
28201|  7.69k|        D(fprintf(stderr, "%*c> invalid_tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] !'}'"));
28202|  7.69k|        Token * _literal;
28203|  7.69k|        void *_opt_var;
28204|  7.69k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  7.69k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 7.69k]
  |  |  ------------------
  ------------------
28205|  7.69k|        void *_opt_var_1;
28206|  7.69k|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  279|  7.69k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 7.69k]
  |  |  ------------------
  ------------------
28207|  7.69k|        expr_ty annotated_rhs_var;
28208|  7.69k|        if (
28209|  7.69k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (28209:13): [True: 0, False: 7.69k]
  ------------------
28210|      0|            &&
28211|      0|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (28211:13): [True: 0, False: 0]
  ------------------
28212|      0|            &&
28213|      0|            (_opt_var = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (28213:13): [True: 0, False: 0]
  ------------------
28214|      0|            &&
28215|      0|            (_opt_var_1 = _tmp_154_rule(p), !p->error_indicator)  // ['!' NAME]
  ------------------
  |  Branch (28215:13): [True: 0, False: 0]
  ------------------
28216|      0|            &&
28217|      0|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 26)  // token='}'
  ------------------
  |  Branch (28217:13): [True: 0, False: 0]
  ------------------
28218|  7.69k|        )
28219|      0|        {
28220|      0|            D(fprintf(stderr, "%*c+ invalid_tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] !'}'"));
28221|      0|            _res = PyErr_Occurred ( ) ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "t-string: expecting '}'" );
  ------------------
  |  |  209|      0|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (28221:20): [True: 0, False: 0]
  ------------------
28222|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (28222:18): [True: 0, False: 0]
  |  Branch (28222:34): [True: 0, False: 0]
  |  Branch (28222:57): [True: 0, False: 0]
  ------------------
28223|      0|                p->error_indicator = 1;
28224|      0|                p->level--;
28225|      0|                return NULL;
28226|      0|            }
28227|      0|            goto done;
28228|      0|        }
28229|  7.69k|        p->mark = _mark;
28230|  7.69k|        D(fprintf(stderr, "%*c%s invalid_tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
28231|  7.69k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] !'}'"));
28232|  7.69k|    }
28233|  7.69k|    _res = NULL;
28234|  7.69k|  done:
28235|  7.69k|    p->level--;
28236|  7.69k|    return _res;
28237|  7.69k|}
parser.c:_tmp_152_rule:
37932|    173|{
37933|    173|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    346|#  define MAXSTACK 6000
  ------------------
  |  Branch (37933:9): [True: 0, False: 173]
  |  Branch (37933:35): [True: 0, False: 173]
  ------------------
37934|      0|        _Pypegen_stack_overflow(p);
37935|      0|    }
37936|    173|    if (p->error_indicator) {
  ------------------
  |  Branch (37936:9): [True: 0, False: 173]
  ------------------
37937|      0|        p->level--;
37938|      0|        return NULL;
37939|      0|    }
37940|    173|    void * _res = NULL;
37941|    173|    int _mark = p->mark;
37942|    173|    { // '='
37943|    173|        if (p->error_indicator) {
  ------------------
  |  Branch (37943:13): [True: 0, False: 173]
  ------------------
37944|      0|            p->level--;
37945|      0|            return NULL;
37946|      0|        }
37947|    173|        D(fprintf(stderr, "%*c> _tmp_152[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'='"));
37948|    173|        Token * _literal;
37949|    173|        if (
37950|    173|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (37950:13): [True: 38, False: 135]
  ------------------
37951|    173|        )
37952|     38|        {
37953|     38|            D(fprintf(stderr, "%*c+ _tmp_152[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'='"));
37954|     38|            _res = _literal;
37955|     38|            goto done;
37956|     38|        }
37957|    135|        p->mark = _mark;
37958|    135|        D(fprintf(stderr, "%*c%s _tmp_152[%d-%d]: %s failed!\n", p->level, ' ',
37959|    135|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'='"));
37960|    135|    }
37961|      0|    { // '!'
37962|    135|        if (p->error_indicator) {
  ------------------
  |  Branch (37962:13): [True: 0, False: 135]
  ------------------
37963|      0|            p->level--;
37964|      0|            return NULL;
37965|      0|        }
37966|    135|        D(fprintf(stderr, "%*c> _tmp_152[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'!'"));
37967|    135|        Token * _literal;
37968|    135|        if (
37969|    135|            (_literal = _PyPegen_expect_token(p, 54))  // token='!'
  ------------------
  |  Branch (37969:13): [True: 33, False: 102]
  ------------------
37970|    135|        )
37971|     33|        {
37972|     33|            D(fprintf(stderr, "%*c+ _tmp_152[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'!'"));
37973|     33|            _res = _literal;
37974|     33|            goto done;
37975|     33|        }
37976|    102|        p->mark = _mark;
37977|    102|        D(fprintf(stderr, "%*c%s _tmp_152[%d-%d]: %s failed!\n", p->level, ' ',
37978|    102|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'!'"));
37979|    102|    }
37980|      0|    { // ':'
37981|    102|        if (p->error_indicator) {
  ------------------
  |  Branch (37981:13): [True: 0, False: 102]
  ------------------
37982|      0|            p->level--;
37983|      0|            return NULL;
37984|      0|        }
37985|    102|        D(fprintf(stderr, "%*c> _tmp_152[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':'"));
37986|    102|        Token * _literal;
37987|    102|        if (
37988|    102|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (37988:13): [True: 45, False: 57]
  ------------------
37989|    102|        )
37990|     45|        {
37991|     45|            D(fprintf(stderr, "%*c+ _tmp_152[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':'"));
37992|     45|            _res = _literal;
37993|     45|            goto done;
37994|     45|        }
37995|     57|        p->mark = _mark;
37996|     57|        D(fprintf(stderr, "%*c%s _tmp_152[%d-%d]: %s failed!\n", p->level, ' ',
37997|     57|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':'"));
37998|     57|    }
37999|      0|    { // '}'
38000|     57|        if (p->error_indicator) {
  ------------------
  |  Branch (38000:13): [True: 0, False: 57]
  ------------------
38001|      0|            p->level--;
38002|      0|            return NULL;
38003|      0|        }
38004|     57|        D(fprintf(stderr, "%*c> _tmp_152[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'}'"));
38005|     57|        Token * _literal;
38006|     57|        if (
38007|     57|            (_literal = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (38007:13): [True: 0, False: 57]
  ------------------
38008|     57|        )
38009|      0|        {
38010|      0|            D(fprintf(stderr, "%*c+ _tmp_152[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'}'"));
38011|      0|            _res = _literal;
38012|      0|            goto done;
38013|      0|        }
38014|     57|        p->mark = _mark;
38015|     57|        D(fprintf(stderr, "%*c%s _tmp_152[%d-%d]: %s failed!\n", p->level, ' ',
38016|     57|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'}'"));
38017|     57|    }
38018|     57|    _res = NULL;
38019|    173|  done:
38020|    173|    p->level--;
38021|    173|    return _res;
38022|     57|}
parser.c:_tmp_153_rule:
38027|     38|{
38028|     38|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     76|#  define MAXSTACK 6000
  ------------------
  |  Branch (38028:9): [True: 0, False: 38]
  |  Branch (38028:35): [True: 0, False: 38]
  ------------------
38029|      0|        _Pypegen_stack_overflow(p);
38030|      0|    }
38031|     38|    if (p->error_indicator) {
  ------------------
  |  Branch (38031:9): [True: 0, False: 38]
  ------------------
38032|      0|        p->level--;
38033|      0|        return NULL;
38034|      0|    }
38035|     38|    void * _res = NULL;
38036|     38|    int _mark = p->mark;
38037|     38|    { // '!'
38038|     38|        if (p->error_indicator) {
  ------------------
  |  Branch (38038:13): [True: 0, False: 38]
  ------------------
38039|      0|            p->level--;
38040|      0|            return NULL;
38041|      0|        }
38042|     38|        D(fprintf(stderr, "%*c> _tmp_153[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'!'"));
38043|     38|        Token * _literal;
38044|     38|        if (
38045|     38|            (_literal = _PyPegen_expect_token(p, 54))  // token='!'
  ------------------
  |  Branch (38045:13): [True: 11, False: 27]
  ------------------
38046|     38|        )
38047|     11|        {
38048|     11|            D(fprintf(stderr, "%*c+ _tmp_153[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'!'"));
38049|     11|            _res = _literal;
38050|     11|            goto done;
38051|     11|        }
38052|     27|        p->mark = _mark;
38053|     27|        D(fprintf(stderr, "%*c%s _tmp_153[%d-%d]: %s failed!\n", p->level, ' ',
38054|     27|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'!'"));
38055|     27|    }
38056|      0|    { // ':'
38057|     27|        if (p->error_indicator) {
  ------------------
  |  Branch (38057:13): [True: 0, False: 27]
  ------------------
38058|      0|            p->level--;
38059|      0|            return NULL;
38060|      0|        }
38061|     27|        D(fprintf(stderr, "%*c> _tmp_153[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':'"));
38062|     27|        Token * _literal;
38063|     27|        if (
38064|     27|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (38064:13): [True: 12, False: 15]
  ------------------
38065|     27|        )
38066|     12|        {
38067|     12|            D(fprintf(stderr, "%*c+ _tmp_153[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':'"));
38068|     12|            _res = _literal;
38069|     12|            goto done;
38070|     12|        }
38071|     15|        p->mark = _mark;
38072|     15|        D(fprintf(stderr, "%*c%s _tmp_153[%d-%d]: %s failed!\n", p->level, ' ',
38073|     15|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':'"));
38074|     15|    }
38075|      0|    { // '}'
38076|     15|        if (p->error_indicator) {
  ------------------
  |  Branch (38076:13): [True: 0, False: 15]
  ------------------
38077|      0|            p->level--;
38078|      0|            return NULL;
38079|      0|        }
38080|     15|        D(fprintf(stderr, "%*c> _tmp_153[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'}'"));
38081|     15|        Token * _literal;
38082|     15|        if (
38083|     15|            (_literal = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (38083:13): [True: 0, False: 15]
  ------------------
38084|     15|        )
38085|      0|        {
38086|      0|            D(fprintf(stderr, "%*c+ _tmp_153[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'}'"));
38087|      0|            _res = _literal;
38088|      0|            goto done;
38089|      0|        }
38090|     15|        p->mark = _mark;
38091|     15|        D(fprintf(stderr, "%*c%s _tmp_153[%d-%d]: %s failed!\n", p->level, ' ',
38092|     15|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'}'"));
38093|     15|    }
38094|     15|    _res = NULL;
38095|     38|  done:
38096|     38|    p->level--;
38097|     38|    return _res;
38098|     15|}
parser.c:invalid_tstring_conversion_character_rule:
28242|     43|{
28243|     43|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     86|#  define MAXSTACK 6000
  ------------------
  |  Branch (28243:9): [True: 0, False: 43]
  |  Branch (28243:35): [True: 0, False: 43]
  ------------------
28244|      0|        _Pypegen_stack_overflow(p);
28245|      0|    }
28246|     43|    if (p->error_indicator) {
  ------------------
  |  Branch (28246:9): [True: 0, False: 43]
  ------------------
28247|      0|        p->level--;
28248|      0|        return NULL;
28249|      0|    }
28250|     43|    void * _res = NULL;
28251|     43|    int _mark = p->mark;
28252|     43|    { // '!' &(':' | '}')
28253|     43|        if (p->error_indicator) {
  ------------------
  |  Branch (28253:13): [True: 0, False: 43]
  ------------------
28254|      0|            p->level--;
28255|      0|            return NULL;
28256|      0|        }
28257|     43|        D(fprintf(stderr, "%*c> invalid_tstring_conversion_character[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'!' &(':' | '}')"));
28258|     43|        Token * _literal;
28259|     43|        if (
28260|     43|            (_literal = _PyPegen_expect_token(p, 54))  // token='!'
  ------------------
  |  Branch (28260:13): [True: 14, False: 29]
  ------------------
28261|     14|            &&
28262|     14|            _PyPegen_lookahead(1, _tmp_155_rule, p)
  ------------------
  |  Branch (28262:13): [True: 6, False: 8]
  ------------------
28263|     43|        )
28264|      6|        {
28265|      6|            D(fprintf(stderr, "%*c+ invalid_tstring_conversion_character[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'!' &(':' | '}')"));
28266|      6|            _res = RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "t-string: missing conversion character" );
  ------------------
  |  |  209|      6|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
28267|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (28267:18): [True: 6, False: 0]
  |  Branch (28267:34): [True: 0, False: 0]
  |  Branch (28267:57): [True: 6, False: 0]
  ------------------
28268|      6|                p->error_indicator = 1;
28269|      6|                p->level--;
28270|      6|                return NULL;
28271|      6|            }
28272|      0|            goto done;
28273|      6|        }
28274|     37|        p->mark = _mark;
28275|     37|        D(fprintf(stderr, "%*c%s invalid_tstring_conversion_character[%d-%d]: %s failed!\n", p->level, ' ',
28276|     37|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'!' &(':' | '}')"));
28277|     37|    }
28278|      0|    { // '!' !NAME
28279|     37|        if (p->error_indicator) {
  ------------------
  |  Branch (28279:13): [True: 0, False: 37]
  ------------------
28280|      0|            p->level--;
28281|      0|            return NULL;
28282|      0|        }
28283|     37|        D(fprintf(stderr, "%*c> invalid_tstring_conversion_character[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'!' !NAME"));
28284|     37|        Token * _literal;
28285|     37|        if (
28286|     37|            (_literal = _PyPegen_expect_token(p, 54))  // token='!'
  ------------------
  |  Branch (28286:13): [True: 8, False: 29]
  ------------------
28287|      8|            &&
28288|      8|            _PyPegen_lookahead_for_expr(0, _PyPegen_name_token, p)
  ------------------
  |  Branch (28288:13): [True: 4, False: 4]
  ------------------
28289|     37|        )
28290|      4|        {
28291|      4|            D(fprintf(stderr, "%*c+ invalid_tstring_conversion_character[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'!' !NAME"));
28292|      4|            _res = RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "t-string: invalid conversion character" );
  ------------------
  |  |  209|      4|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
28293|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (28293:18): [True: 4, False: 0]
  |  Branch (28293:34): [True: 0, False: 0]
  |  Branch (28293:57): [True: 4, False: 0]
  ------------------
28294|      4|                p->error_indicator = 1;
28295|      4|                p->level--;
28296|      4|                return NULL;
28297|      4|            }
28298|      0|            goto done;
28299|      4|        }
28300|     33|        p->mark = _mark;
28301|     33|        D(fprintf(stderr, "%*c%s invalid_tstring_conversion_character[%d-%d]: %s failed!\n", p->level, ' ',
28302|     33|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'!' !NAME"));
28303|     33|    }
28304|     33|    _res = NULL;
28305|     33|  done:
28306|     33|    p->level--;
28307|     33|    return _res;
28308|     33|}
parser.c:_tmp_154_rule:
38103|    127|{
38104|    127|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    254|#  define MAXSTACK 6000
  ------------------
  |  Branch (38104:9): [True: 0, False: 127]
  |  Branch (38104:35): [True: 0, False: 127]
  ------------------
38105|      0|        _Pypegen_stack_overflow(p);
38106|      0|    }
38107|    127|    if (p->error_indicator) {
  ------------------
  |  Branch (38107:9): [True: 0, False: 127]
  ------------------
38108|      0|        p->level--;
38109|      0|        return NULL;
38110|      0|    }
38111|    127|    void * _res = NULL;
38112|    127|    int _mark = p->mark;
38113|    127|    { // '!' NAME
38114|    127|        if (p->error_indicator) {
  ------------------
  |  Branch (38114:13): [True: 0, False: 127]
  ------------------
38115|      0|            p->level--;
38116|      0|            return NULL;
38117|      0|        }
38118|    127|        D(fprintf(stderr, "%*c> _tmp_154[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'!' NAME"));
38119|    127|        Token * _literal;
38120|    127|        expr_ty name_var;
38121|    127|        if (
38122|    127|            (_literal = _PyPegen_expect_token(p, 54))  // token='!'
  ------------------
  |  Branch (38122:13): [True: 13, False: 114]
  ------------------
38123|     13|            &&
38124|     13|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (38124:13): [True: 13, False: 0]
  ------------------
38125|    127|        )
38126|     13|        {
38127|     13|            D(fprintf(stderr, "%*c+ _tmp_154[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'!' NAME"));
38128|     13|            _res = _PyPegen_dummy_name(p, _literal, name_var);
38129|     13|            goto done;
38130|     13|        }
38131|    114|        p->mark = _mark;
38132|    114|        D(fprintf(stderr, "%*c%s _tmp_154[%d-%d]: %s failed!\n", p->level, ' ',
38133|    114|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'!' NAME"));
38134|    114|    }
38135|    114|    _res = NULL;
38136|    127|  done:
38137|    127|    p->level--;
38138|    127|    return _res;
38139|    114|}
parser.c:_tmp_155_rule:
38144|    111|{
38145|    111|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    222|#  define MAXSTACK 6000
  ------------------
  |  Branch (38145:9): [True: 0, False: 111]
  |  Branch (38145:35): [True: 0, False: 111]
  ------------------
38146|      0|        _Pypegen_stack_overflow(p);
38147|      0|    }
38148|    111|    if (p->error_indicator) {
  ------------------
  |  Branch (38148:9): [True: 0, False: 111]
  ------------------
38149|      0|        p->level--;
38150|      0|        return NULL;
38151|      0|    }
38152|    111|    void * _res = NULL;
38153|    111|    int _mark = p->mark;
38154|    111|    { // ':'
38155|    111|        if (p->error_indicator) {
  ------------------
  |  Branch (38155:13): [True: 0, False: 111]
  ------------------
38156|      0|            p->level--;
38157|      0|            return NULL;
38158|      0|        }
38159|    111|        D(fprintf(stderr, "%*c> _tmp_155[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':'"));
38160|    111|        Token * _literal;
38161|    111|        if (
38162|    111|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (38162:13): [True: 66, False: 45]
  ------------------
38163|    111|        )
38164|     66|        {
38165|     66|            D(fprintf(stderr, "%*c+ _tmp_155[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':'"));
38166|     66|            _res = _literal;
38167|     66|            goto done;
38168|     66|        }
38169|     45|        p->mark = _mark;
38170|     45|        D(fprintf(stderr, "%*c%s _tmp_155[%d-%d]: %s failed!\n", p->level, ' ',
38171|     45|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':'"));
38172|     45|    }
38173|      0|    { // '}'
38174|     45|        if (p->error_indicator) {
  ------------------
  |  Branch (38174:13): [True: 0, False: 45]
  ------------------
38175|      0|            p->level--;
38176|      0|            return NULL;
38177|      0|        }
38178|     45|        D(fprintf(stderr, "%*c> _tmp_155[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'}'"));
38179|     45|        Token * _literal;
38180|     45|        if (
38181|     45|            (_literal = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (38181:13): [True: 7, False: 38]
  ------------------
38182|     45|        )
38183|      7|        {
38184|      7|            D(fprintf(stderr, "%*c+ _tmp_155[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'}'"));
38185|      7|            _res = _literal;
38186|      7|            goto done;
38187|      7|        }
38188|     38|        p->mark = _mark;
38189|     38|        D(fprintf(stderr, "%*c%s _tmp_155[%d-%d]: %s failed!\n", p->level, ' ',
38190|     38|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'}'"));
38191|     38|    }
38192|     38|    _res = NULL;
38193|    111|  done:
38194|    111|    p->level--;
38195|    111|    return _res;
38196|     38|}
parser.c:_loop0_78_rule:
33503|  9.40k|{
33504|  9.40k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  18.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33504:9): [True: 0, False: 9.40k]
  |  Branch (33504:35): [True: 0, False: 9.40k]
  ------------------
33505|      0|        _Pypegen_stack_overflow(p);
33506|      0|    }
33507|  9.40k|    if (p->error_indicator) {
  ------------------
  |  Branch (33507:9): [True: 0, False: 9.40k]
  ------------------
33508|      0|        p->level--;
33509|      0|        return NULL;
33510|      0|    }
33511|  9.40k|    void *_res = NULL;
33512|  9.40k|    int _mark = p->mark;
33513|  9.40k|    void **_children = PyMem_Malloc(sizeof(void *));
33514|  9.40k|    if (!_children) {
  ------------------
  |  Branch (33514:9): [True: 0, False: 9.40k]
  ------------------
33515|      0|        p->error_indicator = 1;
33516|      0|        PyErr_NoMemory();
33517|      0|        p->level--;
33518|      0|        return NULL;
33519|      0|    }
33520|  9.40k|    Py_ssize_t _children_capacity = 1;
33521|  9.40k|    Py_ssize_t _n = 0;
33522|  9.40k|    { // fstring_format_spec
33523|  9.40k|        if (p->error_indicator) {
  ------------------
  |  Branch (33523:13): [True: 0, False: 9.40k]
  ------------------
33524|      0|            p->level--;
33525|      0|            return NULL;
33526|      0|        }
33527|  9.40k|        D(fprintf(stderr, "%*c> _loop0_78[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "fstring_format_spec"));
33528|  9.40k|        expr_ty fstring_format_spec_var;
33529|  9.40k|        while (
33530|  30.6k|            (fstring_format_spec_var = fstring_format_spec_rule(p))  // fstring_format_spec
  ------------------
  |  Branch (33530:13): [True: 21.2k, False: 9.40k]
  ------------------
33531|  9.40k|        )
33532|  21.2k|        {
33533|  21.2k|            _res = fstring_format_spec_var;
33534|  21.2k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33534:17): [True: 10.5k, False: 10.6k]
  ------------------
33535|  10.5k|                _children_capacity *= 2;
33536|  10.5k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33537|  10.5k|                if (!_new_children) {
  ------------------
  |  Branch (33537:21): [True: 0, False: 10.5k]
  ------------------
33538|      0|                    PyMem_Free(_children);
33539|      0|                    p->error_indicator = 1;
33540|      0|                    PyErr_NoMemory();
33541|      0|                    p->level--;
33542|      0|                    return NULL;
33543|      0|                }
33544|  10.5k|                _children = _new_children;
33545|  10.5k|            }
33546|  21.2k|            _children[_n++] = _res;
33547|  21.2k|            _mark = p->mark;
33548|  21.2k|        }
33549|  9.40k|        p->mark = _mark;
33550|  9.40k|        D(fprintf(stderr, "%*c%s _loop0_78[%d-%d]: %s failed!\n", p->level, ' ',
33551|  9.40k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "fstring_format_spec"));
33552|  9.40k|    }
33553|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33554|  9.40k|    if (!_seq) {
  ------------------
  |  Branch (33554:9): [True: 0, False: 9.40k]
  ------------------
33555|      0|        PyMem_Free(_children);
33556|      0|        p->error_indicator = 1;
33557|      0|        PyErr_NoMemory();
33558|      0|        p->level--;
33559|      0|        return NULL;
33560|      0|    }
33561|  30.6k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  21.2k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  30.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33561:28): [True: 21.2k, False: 9.40k]
  ------------------
33562|  9.40k|    PyMem_Free(_children);
33563|  9.40k|    p->level--;
33564|  9.40k|    return _seq;
33565|  9.40k|}
parser.c:fstring_format_spec_rule:
16897|  30.6k|{
16898|  30.6k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  61.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16898:9): [True: 0, False: 30.6k]
  |  Branch (16898:35): [True: 0, False: 30.6k]
  ------------------
16899|      0|        _Pypegen_stack_overflow(p);
16900|      0|    }
16901|  30.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (16901:9): [True: 0, False: 30.6k]
  ------------------
16902|      0|        p->level--;
16903|      0|        return NULL;
16904|      0|    }
16905|  30.6k|    expr_ty _res = NULL;
16906|  30.6k|    int _mark = p->mark;
16907|  30.6k|    { // FSTRING_MIDDLE
16908|  30.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (16908:13): [True: 0, False: 30.6k]
  ------------------
16909|      0|            p->level--;
16910|      0|            return NULL;
16911|      0|        }
16912|  30.6k|        D(fprintf(stderr, "%*c> fstring_format_spec[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "FSTRING_MIDDLE"));
16913|  30.6k|        Token * t;
16914|  30.6k|        if (
16915|  30.6k|            (t = _PyPegen_expect_token(p, FSTRING_MIDDLE))  // token='FSTRING_MIDDLE'
  ------------------
  |  |   76|  30.6k|#define FSTRING_MIDDLE  60
  ------------------
  |  Branch (16915:13): [True: 15.1k, False: 15.4k]
  ------------------
16916|  30.6k|        )
16917|  15.1k|        {
16918|  15.1k|            D(fprintf(stderr, "%*c+ fstring_format_spec[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "FSTRING_MIDDLE"));
16919|  15.1k|            _res = _PyPegen_decoded_constant_from_token ( p , t );
16920|  15.1k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16920:18): [True: 4, False: 15.1k]
  |  Branch (16920:34): [True: 0, False: 15.1k]
  |  Branch (16920:57): [True: 4, False: 0]
  ------------------
16921|      4|                p->error_indicator = 1;
16922|      4|                p->level--;
16923|      4|                return NULL;
16924|      4|            }
16925|  15.1k|            goto done;
16926|  15.1k|        }
16927|  15.4k|        p->mark = _mark;
16928|  15.4k|        D(fprintf(stderr, "%*c%s fstring_format_spec[%d-%d]: %s failed!\n", p->level, ' ',
16929|  15.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "FSTRING_MIDDLE"));
16930|  15.4k|    }
16931|      0|    { // fstring_replacement_field
16932|  15.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (16932:13): [True: 18, False: 15.4k]
  ------------------
16933|     18|            p->level--;
16934|     18|            return NULL;
16935|     18|        }
16936|  15.4k|        D(fprintf(stderr, "%*c> fstring_format_spec[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "fstring_replacement_field"));
16937|  15.4k|        expr_ty fstring_replacement_field_var;
16938|  15.4k|        if (
16939|  15.4k|            (fstring_replacement_field_var = fstring_replacement_field_rule(p))  // fstring_replacement_field
  ------------------
  |  Branch (16939:13): [True: 6.09k, False: 9.38k]
  ------------------
16940|  15.4k|        )
16941|  6.09k|        {
16942|  6.09k|            D(fprintf(stderr, "%*c+ fstring_format_spec[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "fstring_replacement_field"));
16943|  6.09k|            _res = fstring_replacement_field_var;
16944|  6.09k|            goto done;
16945|  6.09k|        }
16946|  9.38k|        p->mark = _mark;
16947|  9.38k|        D(fprintf(stderr, "%*c%s fstring_format_spec[%d-%d]: %s failed!\n", p->level, ' ',
16948|  9.38k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "fstring_replacement_field"));
16949|  9.38k|    }
16950|  9.38k|    _res = NULL;
16951|  30.6k|  done:
16952|  30.6k|    p->level--;
16953|  30.6k|    return _res;
16954|  9.38k|}
parser.c:fstring_replacement_field_rule:
16692|   100k|{
16693|   100k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   200k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16693:9): [True: 1, False: 100k]
  |  Branch (16693:35): [True: 0, False: 100k]
  ------------------
16694|      1|        _Pypegen_stack_overflow(p);
16695|      1|    }
16696|   100k|    if (p->error_indicator) {
  ------------------
  |  Branch (16696:9): [True: 1, False: 100k]
  ------------------
16697|      1|        p->level--;
16698|      1|        return NULL;
16699|      1|    }
16700|   100k|    expr_ty _res = NULL;
16701|   100k|    int _mark = p->mark;
16702|   100k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (16702:9): [True: 55.1k, False: 44.9k]
  |  Branch (16702:31): [True: 63, False: 55.0k]
  ------------------
16703|     63|        p->error_indicator = 1;
16704|     63|        p->level--;
16705|     63|        return NULL;
16706|     63|    }
16707|  99.9k|    int _start_lineno = p->tokens[_mark]->lineno;
16708|  99.9k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  99.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 99.9k]
  |  |  ------------------
  ------------------
16709|  99.9k|    int _start_col_offset = p->tokens[_mark]->col_offset;
16710|  99.9k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  99.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 99.9k]
  |  |  ------------------
  ------------------
16711|  99.9k|    { // '{' annotated_rhs '='? fstring_conversion? fstring_full_format_spec? '}'
16712|  99.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (16712:13): [True: 0, False: 99.9k]
  ------------------
16713|      0|            p->level--;
16714|      0|            return NULL;
16715|      0|        }
16716|  99.9k|        D(fprintf(stderr, "%*c> fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? fstring_full_format_spec? '}'"));
16717|  99.9k|        Token * _literal;
16718|  99.9k|        expr_ty a;
16719|  99.9k|        void *conversion;
16720|  99.9k|        void *debug_expr;
16721|  99.9k|        void *format;
16722|  99.9k|        Token * rbrace;
16723|  99.9k|        if (
16724|  99.9k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (16724:13): [True: 19.4k, False: 80.5k]
  ------------------
16725|  19.4k|            &&
16726|  19.4k|            (a = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (16726:13): [True: 17.4k, False: 1.99k]
  ------------------
16727|  17.4k|            &&
16728|  17.4k|            (debug_expr = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (16728:13): [True: 17.4k, False: 0]
  ------------------
16729|  17.4k|            &&
16730|  17.4k|            (conversion = fstring_conversion_rule(p), !p->error_indicator)  // fstring_conversion?
  ------------------
  |  Branch (16730:13): [True: 17.4k, False: 21]
  ------------------
16731|  17.4k|            &&
16732|  17.4k|            (format = fstring_full_format_spec_rule(p), !p->error_indicator)  // fstring_full_format_spec?
  ------------------
  |  Branch (16732:13): [True: 17.0k, False: 363]
  ------------------
16733|  17.0k|            &&
16734|  17.0k|            (rbrace = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (16734:13): [True: 16.4k, False: 574]
  ------------------
16735|  99.9k|        )
16736|  16.4k|        {
16737|  16.4k|            D(fprintf(stderr, "%*c+ fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? fstring_full_format_spec? '}'"));
16738|  16.4k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
16739|  16.4k|            if (_token == NULL) {
  ------------------
  |  Branch (16739:17): [True: 0, False: 16.4k]
  ------------------
16740|      0|                p->level--;
16741|      0|                return NULL;
16742|      0|            }
16743|  16.4k|            int _end_lineno = _token->end_lineno;
16744|  16.4k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  16.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 16.4k]
  |  |  ------------------
  ------------------
16745|  16.4k|            int _end_col_offset = _token->end_col_offset;
16746|  16.4k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  16.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 16.4k]
  |  |  ------------------
  ------------------
16747|  16.4k|            _res = _PyPegen_formatted_value ( p , a , debug_expr , conversion , format , rbrace , EXTRA );
  ------------------
  |  |  281|  16.4k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
16748|  16.4k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16748:18): [True: 1, False: 16.4k]
  |  Branch (16748:34): [True: 0, False: 16.4k]
  |  Branch (16748:57): [True: 1, False: 0]
  ------------------
16749|      1|                p->error_indicator = 1;
16750|      1|                p->level--;
16751|      1|                return NULL;
16752|      1|            }
16753|  16.4k|            goto done;
16754|  16.4k|        }
16755|  83.4k|        p->mark = _mark;
16756|  83.4k|        D(fprintf(stderr, "%*c%s fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
16757|  83.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? fstring_full_format_spec? '}'"));
16758|  83.4k|    }
16759|  83.4k|    if (p->call_invalid_rules) { // invalid_fstring_replacement_field
  ------------------
  |  Branch (16759:9): [True: 31.2k, False: 52.1k]
  ------------------
16760|  31.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (16760:13): [True: 1.85k, False: 29.4k]
  ------------------
16761|  1.85k|            p->level--;
16762|  1.85k|            return NULL;
16763|  1.85k|        }
16764|  29.4k|        D(fprintf(stderr, "%*c> fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_fstring_replacement_field"));
16765|  29.4k|        void *invalid_fstring_replacement_field_var;
16766|  29.4k|        if (
16767|  29.4k|            (invalid_fstring_replacement_field_var = invalid_fstring_replacement_field_rule(p))  // invalid_fstring_replacement_field
  ------------------
  |  Branch (16767:13): [True: 0, False: 29.4k]
  ------------------
16768|  29.4k|        )
16769|      0|        {
16770|      0|            D(fprintf(stderr, "%*c+ fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_fstring_replacement_field"));
16771|      0|            _res = invalid_fstring_replacement_field_var;
16772|      0|            goto done;
16773|      0|        }
16774|  29.4k|        p->mark = _mark;
16775|  29.4k|        D(fprintf(stderr, "%*c%s fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
16776|  29.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_fstring_replacement_field"));
16777|  29.4k|    }
16778|  81.6k|    _res = NULL;
16779|  98.1k|  done:
16780|  98.1k|    p->level--;
16781|  98.1k|    return _res;
16782|  81.6k|}
parser.c:fstring_full_format_spec_rule:
16833|  17.4k|{
16834|  17.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  34.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16834:9): [True: 0, False: 17.4k]
  |  Branch (16834:35): [True: 0, False: 17.4k]
  ------------------
16835|      0|        _Pypegen_stack_overflow(p);
16836|      0|    }
16837|  17.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (16837:9): [True: 0, False: 17.4k]
  ------------------
16838|      0|        p->level--;
16839|      0|        return NULL;
16840|      0|    }
16841|  17.4k|    ResultTokenWithMetadata* _res = NULL;
16842|  17.4k|    int _mark = p->mark;
16843|  17.4k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (16843:9): [True: 3.41k, False: 14.0k]
  |  Branch (16843:31): [True: 2, False: 3.41k]
  ------------------
16844|      2|        p->error_indicator = 1;
16845|      2|        p->level--;
16846|      2|        return NULL;
16847|      2|    }
16848|  17.4k|    int _start_lineno = p->tokens[_mark]->lineno;
16849|  17.4k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  17.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 17.4k]
  |  |  ------------------
  ------------------
16850|  17.4k|    int _start_col_offset = p->tokens[_mark]->col_offset;
16851|  17.4k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  17.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 17.4k]
  |  |  ------------------
  ------------------
16852|  17.4k|    { // ':' fstring_format_spec*
16853|  17.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (16853:13): [True: 0, False: 17.4k]
  ------------------
16854|      0|            p->level--;
16855|      0|            return NULL;
16856|      0|        }
16857|  17.4k|        D(fprintf(stderr, "%*c> fstring_full_format_spec[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':' fstring_format_spec*"));
16858|  17.4k|        Token * colon;
16859|  17.4k|        asdl_seq * spec;
16860|  17.4k|        if (
16861|  17.4k|            (colon = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (16861:13): [True: 9.34k, False: 8.08k]
  ------------------
16862|  9.34k|            &&
16863|  9.34k|            (spec = _loop0_78_rule(p))  // fstring_format_spec*
  ------------------
  |  Branch (16863:13): [True: 9.34k, False: 0]
  ------------------
16864|  17.4k|        )
16865|  9.34k|        {
16866|  9.34k|            D(fprintf(stderr, "%*c+ fstring_full_format_spec[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':' fstring_format_spec*"));
16867|  9.34k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
16868|  9.34k|            if (_token == NULL) {
  ------------------
  |  Branch (16868:17): [True: 0, False: 9.34k]
  ------------------
16869|      0|                p->level--;
16870|      0|                return NULL;
16871|      0|            }
16872|  9.34k|            int _end_lineno = _token->end_lineno;
16873|  9.34k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  9.34k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 9.34k]
  |  |  ------------------
  ------------------
16874|  9.34k|            int _end_col_offset = _token->end_col_offset;
16875|  9.34k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  9.34k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 9.34k]
  |  |  ------------------
  ------------------
16876|  9.34k|            _res = _PyPegen_setup_full_format_spec ( p , colon , ( asdl_expr_seq* ) spec , EXTRA );
  ------------------
  |  |  281|  9.34k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
16877|  9.34k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16877:18): [True: 0, False: 9.34k]
  |  Branch (16877:34): [True: 361, False: 8.98k]
  |  Branch (16877:57): [True: 361, False: 0]
  ------------------
16878|    361|                p->error_indicator = 1;
16879|    361|                p->level--;
16880|    361|                return NULL;
16881|    361|            }
16882|  8.98k|            goto done;
16883|  9.34k|        }
16884|  8.08k|        p->mark = _mark;
16885|  8.08k|        D(fprintf(stderr, "%*c%s fstring_full_format_spec[%d-%d]: %s failed!\n", p->level, ' ',
16886|  8.08k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':' fstring_format_spec*"));
16887|  8.08k|    }
16888|  8.08k|    _res = NULL;
16889|  17.0k|  done:
16890|  17.0k|    p->level--;
16891|  17.0k|    return _res;
16892|  8.08k|}
parser.c:invalid_fstring_replacement_field_rule:
27440|  29.4k|{
27441|  29.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  58.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (27441:9): [True: 0, False: 29.4k]
  |  Branch (27441:35): [True: 0, False: 29.4k]
  ------------------
27442|      0|        _Pypegen_stack_overflow(p);
27443|      0|    }
27444|  29.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (27444:9): [True: 0, False: 29.4k]
  ------------------
27445|      0|        p->level--;
27446|      0|        return NULL;
27447|      0|    }
27448|  29.4k|    void * _res = NULL;
27449|  29.4k|    int _mark = p->mark;
27450|  29.4k|    { // '{' '='
27451|  29.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (27451:13): [True: 0, False: 29.4k]
  ------------------
27452|      0|            p->level--;
27453|      0|            return NULL;
27454|      0|        }
27455|  29.4k|        D(fprintf(stderr, "%*c> invalid_fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' '='"));
27456|  29.4k|        Token * _literal;
27457|  29.4k|        Token * a;
27458|  29.4k|        if (
27459|  29.4k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (27459:13): [True: 119, False: 29.3k]
  ------------------
27460|    119|            &&
27461|    119|            (a = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (27461:13): [True: 3, False: 116]
  ------------------
27462|  29.4k|        )
27463|      3|        {
27464|      3|            D(fprintf(stderr, "%*c+ invalid_fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' '='"));
27465|      3|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "f-string: valid expression required before '='" );
  ------------------
  |  |  213|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
27466|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27466:18): [True: 3, False: 0]
  |  Branch (27466:34): [True: 0, False: 0]
  |  Branch (27466:57): [True: 3, False: 0]
  ------------------
27467|      3|                p->error_indicator = 1;
27468|      3|                p->level--;
27469|      3|                return NULL;
27470|      3|            }
27471|      0|            goto done;
27472|      3|        }
27473|  29.4k|        p->mark = _mark;
27474|  29.4k|        D(fprintf(stderr, "%*c%s invalid_fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
27475|  29.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' '='"));
27476|  29.4k|    }
27477|      0|    { // '{' '!'
27478|  29.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (27478:13): [True: 0, False: 29.4k]
  ------------------
27479|      0|            p->level--;
27480|      0|            return NULL;
27481|      0|        }
27482|  29.4k|        D(fprintf(stderr, "%*c> invalid_fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' '!'"));
27483|  29.4k|        Token * _literal;
27484|  29.4k|        Token * a;
27485|  29.4k|        if (
27486|  29.4k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (27486:13): [True: 116, False: 29.3k]
  ------------------
27487|    116|            &&
27488|    116|            (a = _PyPegen_expect_token(p, 54))  // token='!'
  ------------------
  |  Branch (27488:13): [True: 3, False: 113]
  ------------------
27489|  29.4k|        )
27490|      3|        {
27491|      3|            D(fprintf(stderr, "%*c+ invalid_fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' '!'"));
27492|      3|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "f-string: valid expression required before '!'" );
  ------------------
  |  |  213|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
27493|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27493:18): [True: 3, False: 0]
  |  Branch (27493:34): [True: 0, False: 0]
  |  Branch (27493:57): [True: 3, False: 0]
  ------------------
27494|      3|                p->error_indicator = 1;
27495|      3|                p->level--;
27496|      3|                return NULL;
27497|      3|            }
27498|      0|            goto done;
27499|      3|        }
27500|  29.4k|        p->mark = _mark;
27501|  29.4k|        D(fprintf(stderr, "%*c%s invalid_fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
27502|  29.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' '!'"));
27503|  29.4k|    }
27504|      0|    { // '{' ':'
27505|  29.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (27505:13): [True: 0, False: 29.4k]
  ------------------
27506|      0|            p->level--;
27507|      0|            return NULL;
27508|      0|        }
27509|  29.4k|        D(fprintf(stderr, "%*c> invalid_fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' ':'"));
27510|  29.4k|        Token * _literal;
27511|  29.4k|        Token * a;
27512|  29.4k|        if (
27513|  29.4k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (27513:13): [True: 113, False: 29.3k]
  ------------------
27514|    113|            &&
27515|    113|            (a = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (27515:13): [True: 7, False: 106]
  ------------------
27516|  29.4k|        )
27517|      7|        {
27518|      7|            D(fprintf(stderr, "%*c+ invalid_fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' ':'"));
27519|      7|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "f-string: valid expression required before ':'" );
  ------------------
  |  |  213|      7|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
27520|      7|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27520:18): [True: 7, False: 0]
  |  Branch (27520:34): [True: 0, False: 0]
  |  Branch (27520:57): [True: 7, False: 0]
  ------------------
27521|      7|                p->error_indicator = 1;
27522|      7|                p->level--;
27523|      7|                return NULL;
27524|      7|            }
27525|      0|            goto done;
27526|      7|        }
27527|  29.4k|        p->mark = _mark;
27528|  29.4k|        D(fprintf(stderr, "%*c%s invalid_fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
27529|  29.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' ':'"));
27530|  29.4k|    }
27531|      0|    { // '{' '}'
27532|  29.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (27532:13): [True: 0, False: 29.4k]
  ------------------
27533|      0|            p->level--;
27534|      0|            return NULL;
27535|      0|        }
27536|  29.4k|        D(fprintf(stderr, "%*c> invalid_fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' '}'"));
27537|  29.4k|        Token * _literal;
27538|  29.4k|        Token * a;
27539|  29.4k|        if (
27540|  29.4k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (27540:13): [True: 106, False: 29.3k]
  ------------------
27541|    106|            &&
27542|    106|            (a = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (27542:13): [True: 1, False: 105]
  ------------------
27543|  29.4k|        )
27544|      1|        {
27545|      1|            D(fprintf(stderr, "%*c+ invalid_fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' '}'"));
27546|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "f-string: valid expression required before '}'" );
  ------------------
  |  |  213|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
27547|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27547:18): [True: 1, False: 0]
  |  Branch (27547:34): [True: 0, False: 0]
  |  Branch (27547:57): [True: 1, False: 0]
  ------------------
27548|      1|                p->error_indicator = 1;
27549|      1|                p->level--;
27550|      1|                return NULL;
27551|      1|            }
27552|      0|            goto done;
27553|      1|        }
27554|  29.4k|        p->mark = _mark;
27555|  29.4k|        D(fprintf(stderr, "%*c%s invalid_fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
27556|  29.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' '}'"));
27557|  29.4k|    }
27558|      0|    { // '{' !annotated_rhs
27559|  29.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (27559:13): [True: 0, False: 29.4k]
  ------------------
27560|      0|            p->level--;
27561|      0|            return NULL;
27562|      0|        }
27563|  29.4k|        D(fprintf(stderr, "%*c> invalid_fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' !annotated_rhs"));
27564|  29.4k|        Token * _literal;
27565|  29.4k|        if (
27566|  29.4k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (27566:13): [True: 105, False: 29.3k]
  ------------------
27567|    105|            &&
27568|    105|            _PyPegen_lookahead_for_expr(0, annotated_rhs_rule, p)
  ------------------
  |  Branch (27568:13): [True: 13, False: 92]
  ------------------
27569|  29.4k|        )
27570|     13|        {
27571|     13|            D(fprintf(stderr, "%*c+ invalid_fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' !annotated_rhs"));
27572|     13|            _res = RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "f-string: expecting a valid expression after '{'" );
  ------------------
  |  |  209|     13|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
27573|     13|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27573:18): [True: 13, False: 0]
  |  Branch (27573:34): [True: 0, False: 0]
  |  Branch (27573:57): [True: 13, False: 0]
  ------------------
27574|     13|                p->error_indicator = 1;
27575|     13|                p->level--;
27576|     13|                return NULL;
27577|     13|            }
27578|      0|            goto done;
27579|     13|        }
27580|  29.4k|        p->mark = _mark;
27581|  29.4k|        D(fprintf(stderr, "%*c%s invalid_fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
27582|  29.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' !annotated_rhs"));
27583|  29.4k|    }
27584|      0|    { // '{' annotated_rhs !('=' | '!' | ':' | '}')
27585|  29.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (27585:13): [True: 0, False: 29.4k]
  ------------------
27586|      0|            p->level--;
27587|      0|            return NULL;
27588|      0|        }
27589|  29.4k|        D(fprintf(stderr, "%*c> invalid_fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs !('=' | '!' | ':' | '}')"));
27590|  29.4k|        Token * _literal;
27591|  29.4k|        expr_ty annotated_rhs_var;
27592|  29.4k|        if (
27593|  29.4k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (27593:13): [True: 92, False: 29.3k]
  ------------------
27594|     92|            &&
27595|     92|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (27595:13): [True: 92, False: 0]
  ------------------
27596|     92|            &&
27597|     92|            _PyPegen_lookahead(0, _tmp_152_rule, p)
  ------------------
  |  Branch (27597:13): [True: 26, False: 66]
  ------------------
27598|  29.4k|        )
27599|     26|        {
27600|     26|            D(fprintf(stderr, "%*c+ invalid_fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs !('=' | '!' | ':' | '}')"));
27601|     26|            _res = PyErr_Occurred ( ) ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "f-string: expecting '=', or '!', or ':', or '}'" );
  ------------------
  |  |  209|     52|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (27601:20): [True: 0, False: 26]
  ------------------
27602|     26|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27602:18): [True: 26, False: 0]
  |  Branch (27602:34): [True: 0, False: 0]
  |  Branch (27602:57): [True: 26, False: 0]
  ------------------
27603|     26|                p->error_indicator = 1;
27604|     26|                p->level--;
27605|     26|                return NULL;
27606|     26|            }
27607|      0|            goto done;
27608|     26|        }
27609|  29.3k|        p->mark = _mark;
27610|  29.3k|        D(fprintf(stderr, "%*c%s invalid_fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
27611|  29.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs !('=' | '!' | ':' | '}')"));
27612|  29.3k|    }
27613|      0|    { // '{' annotated_rhs '=' !('!' | ':' | '}')
27614|  29.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (27614:13): [True: 0, False: 29.3k]
  ------------------
27615|      0|            p->level--;
27616|      0|            return NULL;
27617|      0|        }
27618|  29.3k|        D(fprintf(stderr, "%*c> invalid_fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '=' !('!' | ':' | '}')"));
27619|  29.3k|        Token * _literal;
27620|  29.3k|        Token * _literal_1;
27621|  29.3k|        expr_ty annotated_rhs_var;
27622|  29.3k|        if (
27623|  29.3k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (27623:13): [True: 66, False: 29.3k]
  ------------------
27624|     66|            &&
27625|     66|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (27625:13): [True: 66, False: 0]
  ------------------
27626|     66|            &&
27627|     66|            (_literal_1 = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (27627:13): [True: 19, False: 47]
  ------------------
27628|     19|            &&
27629|     19|            _PyPegen_lookahead(0, _tmp_153_rule, p)
  ------------------
  |  Branch (27629:13): [True: 8, False: 11]
  ------------------
27630|  29.3k|        )
27631|      8|        {
27632|      8|            D(fprintf(stderr, "%*c+ invalid_fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '=' !('!' | ':' | '}')"));
27633|      8|            _res = PyErr_Occurred ( ) ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "f-string: expecting '!', or ':', or '}'" );
  ------------------
  |  |  209|     16|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (27633:20): [True: 0, False: 8]
  ------------------
27634|      8|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27634:18): [True: 8, False: 0]
  |  Branch (27634:34): [True: 0, False: 0]
  |  Branch (27634:57): [True: 8, False: 0]
  ------------------
27635|      8|                p->error_indicator = 1;
27636|      8|                p->level--;
27637|      8|                return NULL;
27638|      8|            }
27639|      0|            goto done;
27640|      8|        }
27641|  29.3k|        p->mark = _mark;
27642|  29.3k|        D(fprintf(stderr, "%*c%s invalid_fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
27643|  29.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '=' !('!' | ':' | '}')"));
27644|  29.3k|    }
27645|      0|    { // '{' annotated_rhs '='? invalid_fstring_conversion_character
27646|  29.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (27646:13): [True: 0, False: 29.3k]
  ------------------
27647|      0|            p->level--;
27648|      0|            return NULL;
27649|      0|        }
27650|  29.3k|        D(fprintf(stderr, "%*c> invalid_fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? invalid_fstring_conversion_character"));
27651|  29.3k|        Token * _literal;
27652|  29.3k|        void *_opt_var;
27653|  29.3k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  29.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 29.3k]
  |  |  ------------------
  ------------------
27654|  29.3k|        expr_ty annotated_rhs_var;
27655|  29.3k|        void *invalid_fstring_conversion_character_var;
27656|  29.3k|        if (
27657|  29.3k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (27657:13): [True: 58, False: 29.3k]
  ------------------
27658|     58|            &&
27659|     58|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (27659:13): [True: 58, False: 0]
  ------------------
27660|     58|            &&
27661|     58|            (_opt_var = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (27661:13): [True: 58, False: 0]
  ------------------
27662|     58|            &&
27663|     58|            (invalid_fstring_conversion_character_var = invalid_fstring_conversion_character_rule(p))  // invalid_fstring_conversion_character
  ------------------
  |  Branch (27663:13): [True: 0, False: 58]
  ------------------
27664|  29.3k|        )
27665|      0|        {
27666|      0|            D(fprintf(stderr, "%*c+ invalid_fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? invalid_fstring_conversion_character"));
27667|      0|            _res = _PyPegen_dummy_name(p, _literal, annotated_rhs_var, _opt_var, invalid_fstring_conversion_character_var);
27668|      0|            goto done;
27669|      0|        }
27670|  29.3k|        p->mark = _mark;
27671|  29.3k|        D(fprintf(stderr, "%*c%s invalid_fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
27672|  29.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? invalid_fstring_conversion_character"));
27673|  29.3k|    }
27674|      0|    { // '{' annotated_rhs '='? ['!' NAME] !(':' | '}')
27675|  29.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (27675:13): [True: 24, False: 29.3k]
  ------------------
27676|     24|            p->level--;
27677|     24|            return NULL;
27678|     24|        }
27679|  29.3k|        D(fprintf(stderr, "%*c> invalid_fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] !(':' | '}')"));
27680|  29.3k|        Token * _literal;
27681|  29.3k|        void *_opt_var;
27682|  29.3k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  29.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 29.3k]
  |  |  ------------------
  ------------------
27683|  29.3k|        void *_opt_var_1;
27684|  29.3k|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  279|  29.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 29.3k]
  |  |  ------------------
  ------------------
27685|  29.3k|        expr_ty annotated_rhs_var;
27686|  29.3k|        if (
27687|  29.3k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (27687:13): [True: 34, False: 29.3k]
  ------------------
27688|     34|            &&
27689|     34|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (27689:13): [True: 34, False: 0]
  ------------------
27690|     34|            &&
27691|     34|            (_opt_var = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (27691:13): [True: 34, False: 0]
  ------------------
27692|     34|            &&
27693|     34|            (_opt_var_1 = _tmp_154_rule(p), !p->error_indicator)  // ['!' NAME]
  ------------------
  |  Branch (27693:13): [True: 34, False: 0]
  ------------------
27694|     34|            &&
27695|     34|            _PyPegen_lookahead(0, _tmp_155_rule, p)
  ------------------
  |  Branch (27695:13): [True: 5, False: 29]
  ------------------
27696|  29.3k|        )
27697|      5|        {
27698|      5|            D(fprintf(stderr, "%*c+ invalid_fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] !(':' | '}')"));
27699|      5|            _res = PyErr_Occurred ( ) ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "f-string: expecting ':' or '}'" );
  ------------------
  |  |  209|     10|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (27699:20): [True: 0, False: 5]
  ------------------
27700|      5|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27700:18): [True: 5, False: 0]
  |  Branch (27700:34): [True: 0, False: 0]
  |  Branch (27700:57): [True: 5, False: 0]
  ------------------
27701|      5|                p->error_indicator = 1;
27702|      5|                p->level--;
27703|      5|                return NULL;
27704|      5|            }
27705|      0|            goto done;
27706|      5|        }
27707|  29.3k|        p->mark = _mark;
27708|  29.3k|        D(fprintf(stderr, "%*c%s invalid_fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
27709|  29.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] !(':' | '}')"));
27710|  29.3k|    }
27711|      0|    { // '{' annotated_rhs '='? ['!' NAME] ':' fstring_format_spec* !'}'
27712|  29.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (27712:13): [True: 0, False: 29.3k]
  ------------------
27713|      0|            p->level--;
27714|      0|            return NULL;
27715|      0|        }
27716|  29.3k|        D(fprintf(stderr, "%*c> invalid_fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] ':' fstring_format_spec* !'}'"));
27717|  29.3k|        Token * _literal;
27718|  29.3k|        Token * _literal_1;
27719|  29.3k|        asdl_seq * _loop0_78_var;
27720|  29.3k|        void *_opt_var;
27721|  29.3k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  29.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 29.3k]
  |  |  ------------------
  ------------------
27722|  29.3k|        void *_opt_var_1;
27723|  29.3k|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  279|  29.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 29.3k]
  |  |  ------------------
  ------------------
27724|  29.3k|        expr_ty annotated_rhs_var;
27725|  29.3k|        if (
27726|  29.3k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (27726:13): [True: 29, False: 29.3k]
  ------------------
27727|     29|            &&
27728|     29|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (27728:13): [True: 29, False: 0]
  ------------------
27729|     29|            &&
27730|     29|            (_opt_var = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (27730:13): [True: 29, False: 0]
  ------------------
27731|     29|            &&
27732|     29|            (_opt_var_1 = _tmp_154_rule(p), !p->error_indicator)  // ['!' NAME]
  ------------------
  |  Branch (27732:13): [True: 29, False: 0]
  ------------------
27733|     29|            &&
27734|     29|            (_literal_1 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (27734:13): [True: 29, False: 0]
  ------------------
27735|     29|            &&
27736|     29|            (_loop0_78_var = _loop0_78_rule(p))  // fstring_format_spec*
  ------------------
  |  Branch (27736:13): [True: 29, False: 0]
  ------------------
27737|     29|            &&
27738|     29|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 26)  // token='}'
  ------------------
  |  Branch (27738:13): [True: 29, False: 0]
  ------------------
27739|  29.3k|        )
27740|     29|        {
27741|     29|            D(fprintf(stderr, "%*c+ invalid_fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] ':' fstring_format_spec* !'}'"));
27742|     29|            _res = PyErr_Occurred ( ) ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "f-string: expecting '}', or format specs" );
  ------------------
  |  |  209|     58|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (27742:20): [True: 0, False: 29]
  ------------------
27743|     29|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27743:18): [True: 29, False: 0]
  |  Branch (27743:34): [True: 0, False: 0]
  |  Branch (27743:57): [True: 29, False: 0]
  ------------------
27744|     29|                p->error_indicator = 1;
27745|     29|                p->level--;
27746|     29|                return NULL;
27747|     29|            }
27748|      0|            goto done;
27749|     29|        }
27750|  29.3k|        p->mark = _mark;
27751|  29.3k|        D(fprintf(stderr, "%*c%s invalid_fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
27752|  29.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] ':' fstring_format_spec* !'}'"));
27753|  29.3k|    }
27754|      0|    { // '{' annotated_rhs '='? ['!' NAME] !'}'
27755|  29.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (27755:13): [True: 0, False: 29.3k]
  ------------------
27756|      0|            p->level--;
27757|      0|            return NULL;
27758|      0|        }
27759|  29.3k|        D(fprintf(stderr, "%*c> invalid_fstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] !'}'"));
27760|  29.3k|        Token * _literal;
27761|  29.3k|        void *_opt_var;
27762|  29.3k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  29.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 29.3k]
  |  |  ------------------
  ------------------
27763|  29.3k|        void *_opt_var_1;
27764|  29.3k|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  279|  29.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 29.3k]
  |  |  ------------------
  ------------------
27765|  29.3k|        expr_ty annotated_rhs_var;
27766|  29.3k|        if (
27767|  29.3k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (27767:13): [True: 0, False: 29.3k]
  ------------------
27768|      0|            &&
27769|      0|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (27769:13): [True: 0, False: 0]
  ------------------
27770|      0|            &&
27771|      0|            (_opt_var = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (27771:13): [True: 0, False: 0]
  ------------------
27772|      0|            &&
27773|      0|            (_opt_var_1 = _tmp_154_rule(p), !p->error_indicator)  // ['!' NAME]
  ------------------
  |  Branch (27773:13): [True: 0, False: 0]
  ------------------
27774|      0|            &&
27775|      0|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 26)  // token='}'
  ------------------
  |  Branch (27775:13): [True: 0, False: 0]
  ------------------
27776|  29.3k|        )
27777|      0|        {
27778|      0|            D(fprintf(stderr, "%*c+ invalid_fstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] !'}'"));
27779|      0|            _res = PyErr_Occurred ( ) ? NULL : RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "f-string: expecting '}'" );
  ------------------
  |  |  209|      0|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (27779:20): [True: 0, False: 0]
  ------------------
27780|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27780:18): [True: 0, False: 0]
  |  Branch (27780:34): [True: 0, False: 0]
  |  Branch (27780:57): [True: 0, False: 0]
  ------------------
27781|      0|                p->error_indicator = 1;
27782|      0|                p->level--;
27783|      0|                return NULL;
27784|      0|            }
27785|      0|            goto done;
27786|      0|        }
27787|  29.3k|        p->mark = _mark;
27788|  29.3k|        D(fprintf(stderr, "%*c%s invalid_fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
27789|  29.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? ['!' NAME] !'}'"));
27790|  29.3k|    }
27791|  29.3k|    _res = NULL;
27792|  29.3k|  done:
27793|  29.3k|    p->level--;
27794|  29.3k|    return _res;
27795|  29.3k|}
parser.c:invalid_fstring_conversion_character_rule:
27800|     58|{
27801|     58|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    116|#  define MAXSTACK 6000
  ------------------
  |  Branch (27801:9): [True: 0, False: 58]
  |  Branch (27801:35): [True: 0, False: 58]
  ------------------
27802|      0|        _Pypegen_stack_overflow(p);
27803|      0|    }
27804|     58|    if (p->error_indicator) {
  ------------------
  |  Branch (27804:9): [True: 0, False: 58]
  ------------------
27805|      0|        p->level--;
27806|      0|        return NULL;
27807|      0|    }
27808|     58|    void * _res = NULL;
27809|     58|    int _mark = p->mark;
27810|     58|    { // '!' &(':' | '}')
27811|     58|        if (p->error_indicator) {
  ------------------
  |  Branch (27811:13): [True: 0, False: 58]
  ------------------
27812|      0|            p->level--;
27813|      0|            return NULL;
27814|      0|        }
27815|     58|        D(fprintf(stderr, "%*c> invalid_fstring_conversion_character[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'!' &(':' | '}')"));
27816|     58|        Token * _literal;
27817|     58|        if (
27818|     58|            (_literal = _PyPegen_expect_token(p, 54))  // token='!'
  ------------------
  |  Branch (27818:13): [True: 30, False: 28]
  ------------------
27819|     30|            &&
27820|     30|            _PyPegen_lookahead(1, _tmp_155_rule, p)
  ------------------
  |  Branch (27820:13): [True: 7, False: 23]
  ------------------
27821|     58|        )
27822|      7|        {
27823|      7|            D(fprintf(stderr, "%*c+ invalid_fstring_conversion_character[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'!' &(':' | '}')"));
27824|      7|            _res = RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "f-string: missing conversion character" );
  ------------------
  |  |  209|      7|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
27825|      7|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27825:18): [True: 7, False: 0]
  |  Branch (27825:34): [True: 0, False: 0]
  |  Branch (27825:57): [True: 7, False: 0]
  ------------------
27826|      7|                p->error_indicator = 1;
27827|      7|                p->level--;
27828|      7|                return NULL;
27829|      7|            }
27830|      0|            goto done;
27831|      7|        }
27832|     51|        p->mark = _mark;
27833|     51|        D(fprintf(stderr, "%*c%s invalid_fstring_conversion_character[%d-%d]: %s failed!\n", p->level, ' ',
27834|     51|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'!' &(':' | '}')"));
27835|     51|    }
27836|      0|    { // '!' !NAME
27837|     51|        if (p->error_indicator) {
  ------------------
  |  Branch (27837:13): [True: 0, False: 51]
  ------------------
27838|      0|            p->level--;
27839|      0|            return NULL;
27840|      0|        }
27841|     51|        D(fprintf(stderr, "%*c> invalid_fstring_conversion_character[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'!' !NAME"));
27842|     51|        Token * _literal;
27843|     51|        if (
27844|     51|            (_literal = _PyPegen_expect_token(p, 54))  // token='!'
  ------------------
  |  Branch (27844:13): [True: 23, False: 28]
  ------------------
27845|     23|            &&
27846|     23|            _PyPegen_lookahead_for_expr(0, _PyPegen_name_token, p)
  ------------------
  |  Branch (27846:13): [True: 17, False: 6]
  ------------------
27847|     51|        )
27848|     17|        {
27849|     17|            D(fprintf(stderr, "%*c+ invalid_fstring_conversion_character[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'!' !NAME"));
27850|     17|            _res = RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "f-string: invalid conversion character" );
  ------------------
  |  |  209|     17|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
27851|     17|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27851:18): [True: 17, False: 0]
  |  Branch (27851:34): [True: 0, False: 0]
  |  Branch (27851:57): [True: 17, False: 0]
  ------------------
27852|     17|                p->error_indicator = 1;
27853|     17|                p->level--;
27854|     17|                return NULL;
27855|     17|            }
27856|      0|            goto done;
27857|     17|        }
27858|     34|        p->mark = _mark;
27859|     34|        D(fprintf(stderr, "%*c%s invalid_fstring_conversion_character[%d-%d]: %s failed!\n", p->level, ' ',
27860|     34|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'!' !NAME"));
27861|     34|    }
27862|     34|    _res = NULL;
27863|     34|  done:
27864|     34|    p->level--;
27865|     34|    return _res;
27866|     34|}
parser.c:_tmp_156_rule:
38201|   250k|{
38202|   250k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   500k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38202:9): [True: 1, False: 250k]
  |  Branch (38202:35): [True: 0, False: 250k]
  ------------------
38203|      1|        _Pypegen_stack_overflow(p);
38204|      1|    }
38205|   250k|    if (p->error_indicator) {
  ------------------
  |  Branch (38205:9): [True: 1, False: 250k]
  ------------------
38206|      1|        p->level--;
38207|      1|        return NULL;
38208|      1|    }
38209|   250k|    void * _res = NULL;
38210|   250k|    int _mark = p->mark;
38211|   250k|    { // fstring
38212|   250k|        if (p->error_indicator) {
  ------------------
  |  Branch (38212:13): [True: 0, False: 250k]
  ------------------
38213|      0|            p->level--;
38214|      0|            return NULL;
38215|      0|        }
38216|   250k|        D(fprintf(stderr, "%*c> _tmp_156[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "fstring"));
38217|   250k|        expr_ty fstring_var;
38218|   250k|        if (
38219|   250k|            (fstring_var = fstring_rule(p))  // fstring
  ------------------
  |  Branch (38219:13): [True: 19.9k, False: 230k]
  ------------------
38220|   250k|        )
38221|  19.9k|        {
38222|  19.9k|            D(fprintf(stderr, "%*c+ _tmp_156[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "fstring"));
38223|  19.9k|            _res = fstring_var;
38224|  19.9k|            goto done;
38225|  19.9k|        }
38226|   230k|        p->mark = _mark;
38227|   230k|        D(fprintf(stderr, "%*c%s _tmp_156[%d-%d]: %s failed!\n", p->level, ' ',
38228|   230k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "fstring"));
38229|   230k|    }
38230|      0|    { // string
38231|   230k|        if (p->error_indicator) {
  ------------------
  |  Branch (38231:13): [True: 2.06k, False: 228k]
  ------------------
38232|  2.06k|            p->level--;
38233|  2.06k|            return NULL;
38234|  2.06k|        }
38235|   228k|        D(fprintf(stderr, "%*c> _tmp_156[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "string"));
38236|   228k|        expr_ty string_var;
38237|   228k|        if (
38238|   228k|            (string_var = string_rule(p))  // string
  ------------------
  |  Branch (38238:13): [True: 79.7k, False: 148k]
  ------------------
38239|   228k|        )
38240|  79.7k|        {
38241|  79.7k|            D(fprintf(stderr, "%*c+ _tmp_156[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "string"));
38242|  79.7k|            _res = string_var;
38243|  79.7k|            goto done;
38244|  79.7k|        }
38245|   148k|        p->mark = _mark;
38246|   148k|        D(fprintf(stderr, "%*c%s _tmp_156[%d-%d]: %s failed!\n", p->level, ' ',
38247|   148k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "string"));
38248|   148k|    }
38249|   148k|    _res = NULL;
38250|   248k|  done:
38251|   248k|    p->level--;
38252|   248k|    return _res;
38253|   148k|}
parser.c:fstring_rule:
16959|   250k|{
16960|   250k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   500k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16960:9): [True: 1, False: 250k]
  |  Branch (16960:35): [True: 0, False: 250k]
  ------------------
16961|      1|        _Pypegen_stack_overflow(p);
16962|      1|    }
16963|   250k|    if (p->error_indicator) {
  ------------------
  |  Branch (16963:9): [True: 1, False: 250k]
  ------------------
16964|      1|        p->level--;
16965|      1|        return NULL;
16966|      1|    }
16967|   250k|    expr_ty _res = NULL;
16968|   250k|    int _mark = p->mark;
16969|   250k|    { // FSTRING_START fstring_middle* FSTRING_END
16970|   250k|        if (p->error_indicator) {
  ------------------
  |  Branch (16970:13): [True: 0, False: 250k]
  ------------------
16971|      0|            p->level--;
16972|      0|            return NULL;
16973|      0|        }
16974|   250k|        D(fprintf(stderr, "%*c> fstring[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "FSTRING_START fstring_middle* FSTRING_END"));
16975|   250k|        Token * a;
16976|   250k|        asdl_seq * b;
16977|   250k|        Token * c;
16978|   250k|        if (
16979|   250k|            (a = _PyPegen_expect_token(p, FSTRING_START))  // token='FSTRING_START'
  ------------------
  |  |   75|   250k|#define FSTRING_START   59
  ------------------
  |  Branch (16979:13): [True: 22.4k, False: 228k]
  ------------------
16980|  22.4k|            &&
16981|  22.4k|            (b = _loop0_79_rule(p))  // fstring_middle*
  ------------------
  |  Branch (16981:13): [True: 22.4k, False: 0]
  ------------------
16982|  22.4k|            &&
16983|  22.4k|            (c = _PyPegen_expect_token(p, FSTRING_END))  // token='FSTRING_END'
  ------------------
  |  |   77|  22.4k|#define FSTRING_END     61
  ------------------
  |  Branch (16983:13): [True: 19.9k, False: 2.54k]
  ------------------
16984|   250k|        )
16985|  19.9k|        {
16986|  19.9k|            D(fprintf(stderr, "%*c+ fstring[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "FSTRING_START fstring_middle* FSTRING_END"));
16987|  19.9k|            _res = _PyPegen_joined_str ( p , a , ( asdl_expr_seq* ) b , c );
16988|  19.9k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16988:18): [True: 3, False: 19.9k]
  |  Branch (16988:34): [True: 0, False: 19.9k]
  |  Branch (16988:57): [True: 3, False: 0]
  ------------------
16989|      3|                p->error_indicator = 1;
16990|      3|                p->level--;
16991|      3|                return NULL;
16992|      3|            }
16993|  19.9k|            goto done;
16994|  19.9k|        }
16995|   230k|        p->mark = _mark;
16996|   230k|        D(fprintf(stderr, "%*c%s fstring[%d-%d]: %s failed!\n", p->level, ' ',
16997|   230k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "FSTRING_START fstring_middle* FSTRING_END"));
16998|   230k|    }
16999|   230k|    _res = NULL;
17000|   250k|  done:
17001|   250k|    p->level--;
17002|   250k|    return _res;
17003|   230k|}
parser.c:_loop0_79_rule:
33570|  22.4k|{
33571|  22.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  44.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33571:9): [True: 0, False: 22.4k]
  |  Branch (33571:35): [True: 0, False: 22.4k]
  ------------------
33572|      0|        _Pypegen_stack_overflow(p);
33573|      0|    }
33574|  22.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (33574:9): [True: 0, False: 22.4k]
  ------------------
33575|      0|        p->level--;
33576|      0|        return NULL;
33577|      0|    }
33578|  22.4k|    void *_res = NULL;
33579|  22.4k|    int _mark = p->mark;
33580|  22.4k|    void **_children = PyMem_Malloc(sizeof(void *));
33581|  22.4k|    if (!_children) {
  ------------------
  |  Branch (33581:9): [True: 0, False: 22.4k]
  ------------------
33582|      0|        p->error_indicator = 1;
33583|      0|        PyErr_NoMemory();
33584|      0|        p->level--;
33585|      0|        return NULL;
33586|      0|    }
33587|  22.4k|    Py_ssize_t _children_capacity = 1;
33588|  22.4k|    Py_ssize_t _n = 0;
33589|  22.4k|    { // fstring_middle
33590|  22.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (33590:13): [True: 0, False: 22.4k]
  ------------------
33591|      0|            p->level--;
33592|      0|            return NULL;
33593|      0|        }
33594|  22.4k|        D(fprintf(stderr, "%*c> _loop0_79[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "fstring_middle"));
33595|  22.4k|        expr_ty fstring_middle_var;
33596|  22.4k|        while (
33597|  84.5k|            (fstring_middle_var = fstring_middle_rule(p))  // fstring_middle
  ------------------
  |  Branch (33597:13): [True: 62.0k, False: 22.4k]
  ------------------
33598|  22.4k|        )
33599|  62.0k|        {
33600|  62.0k|            _res = fstring_middle_var;
33601|  62.0k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33601:17): [True: 8.05k, False: 54.0k]
  ------------------
33602|  8.05k|                _children_capacity *= 2;
33603|  8.05k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33604|  8.05k|                if (!_new_children) {
  ------------------
  |  Branch (33604:21): [True: 0, False: 8.05k]
  ------------------
33605|      0|                    PyMem_Free(_children);
33606|      0|                    p->error_indicator = 1;
33607|      0|                    PyErr_NoMemory();
33608|      0|                    p->level--;
33609|      0|                    return NULL;
33610|      0|                }
33611|  8.05k|                _children = _new_children;
33612|  8.05k|            }
33613|  62.0k|            _children[_n++] = _res;
33614|  62.0k|            _mark = p->mark;
33615|  62.0k|        }
33616|  22.4k|        p->mark = _mark;
33617|  22.4k|        D(fprintf(stderr, "%*c%s _loop0_79[%d-%d]: %s failed!\n", p->level, ' ',
33618|  22.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "fstring_middle"));
33619|  22.4k|    }
33620|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33621|  22.4k|    if (!_seq) {
  ------------------
  |  Branch (33621:9): [True: 0, False: 22.4k]
  ------------------
33622|      0|        PyMem_Free(_children);
33623|      0|        p->error_indicator = 1;
33624|      0|        PyErr_NoMemory();
33625|      0|        p->level--;
33626|      0|        return NULL;
33627|      0|    }
33628|  84.5k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  62.0k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  84.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33628:28): [True: 62.0k, False: 22.4k]
  ------------------
33629|  22.4k|    PyMem_Free(_children);
33630|  22.4k|    p->level--;
33631|  22.4k|    return _seq;
33632|  22.4k|}
parser.c:fstring_middle_rule:
16628|  84.5k|{
16629|  84.5k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   169k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16629:9): [True: 1, False: 84.5k]
  |  Branch (16629:35): [True: 0, False: 84.5k]
  ------------------
16630|      1|        _Pypegen_stack_overflow(p);
16631|      1|    }
16632|  84.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (16632:9): [True: 1, False: 84.5k]
  ------------------
16633|      1|        p->level--;
16634|      1|        return NULL;
16635|      1|    }
16636|  84.5k|    expr_ty _res = NULL;
16637|  84.5k|    int _mark = p->mark;
16638|  84.5k|    { // fstring_replacement_field
16639|  84.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (16639:13): [True: 0, False: 84.5k]
  ------------------
16640|      0|            p->level--;
16641|      0|            return NULL;
16642|      0|        }
16643|  84.5k|        D(fprintf(stderr, "%*c> fstring_middle[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "fstring_replacement_field"));
16644|  84.5k|        expr_ty fstring_replacement_field_var;
16645|  84.5k|        if (
16646|  84.5k|            (fstring_replacement_field_var = fstring_replacement_field_rule(p))  // fstring_replacement_field
  ------------------
  |  Branch (16646:13): [True: 10.4k, False: 74.1k]
  ------------------
16647|  84.5k|        )
16648|  10.4k|        {
16649|  10.4k|            D(fprintf(stderr, "%*c+ fstring_middle[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "fstring_replacement_field"));
16650|  10.4k|            _res = fstring_replacement_field_var;
16651|  10.4k|            goto done;
16652|  10.4k|        }
16653|  74.1k|        p->mark = _mark;
16654|  74.1k|        D(fprintf(stderr, "%*c%s fstring_middle[%d-%d]: %s failed!\n", p->level, ' ',
16655|  74.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "fstring_replacement_field"));
16656|  74.1k|    }
16657|      0|    { // FSTRING_MIDDLE
16658|  74.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (16658:13): [True: 1.93k, False: 72.2k]
  ------------------
16659|  1.93k|            p->level--;
16660|  1.93k|            return NULL;
16661|  1.93k|        }
16662|  72.2k|        D(fprintf(stderr, "%*c> fstring_middle[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "FSTRING_MIDDLE"));
16663|  72.2k|        Token * t;
16664|  72.2k|        if (
16665|  72.2k|            (t = _PyPegen_expect_token(p, FSTRING_MIDDLE))  // token='FSTRING_MIDDLE'
  ------------------
  |  |   76|  72.2k|#define FSTRING_MIDDLE  60
  ------------------
  |  Branch (16665:13): [True: 51.6k, False: 20.5k]
  ------------------
16666|  72.2k|        )
16667|  51.6k|        {
16668|  51.6k|            D(fprintf(stderr, "%*c+ fstring_middle[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "FSTRING_MIDDLE"));
16669|  51.6k|            _res = _PyPegen_constant_from_token ( p , t );
16670|  51.6k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16670:18): [True: 5, False: 51.6k]
  |  Branch (16670:34): [True: 0, False: 51.6k]
  |  Branch (16670:57): [True: 5, False: 0]
  ------------------
16671|      5|                p->error_indicator = 1;
16672|      5|                p->level--;
16673|      5|                return NULL;
16674|      5|            }
16675|  51.6k|            goto done;
16676|  51.6k|        }
16677|  20.5k|        p->mark = _mark;
16678|  20.5k|        D(fprintf(stderr, "%*c%s fstring_middle[%d-%d]: %s failed!\n", p->level, ' ',
16679|  20.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "FSTRING_MIDDLE"));
16680|  20.5k|    }
16681|  20.5k|    _res = NULL;
16682|  82.6k|  done:
16683|  82.6k|    p->level--;
16684|  82.6k|    return _res;
16685|  20.5k|}
parser.c:string_rule:
17444|   228k|{
17445|   228k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   456k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17445:9): [True: 0, False: 228k]
  |  Branch (17445:35): [True: 0, False: 228k]
  ------------------
17446|      0|        _Pypegen_stack_overflow(p);
17447|      0|    }
17448|   228k|    if (p->error_indicator) {
  ------------------
  |  Branch (17448:9): [True: 0, False: 228k]
  ------------------
17449|      0|        p->level--;
17450|      0|        return NULL;
17451|      0|    }
17452|   228k|    expr_ty _res = NULL;
17453|   228k|    int _mark = p->mark;
17454|   228k|    { // STRING
17455|   228k|        if (p->error_indicator) {
  ------------------
  |  Branch (17455:13): [True: 0, False: 228k]
  ------------------
17456|      0|            p->level--;
17457|      0|            return NULL;
17458|      0|        }
17459|   228k|        D(fprintf(stderr, "%*c> string[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "STRING"));
17460|   228k|        Token* s;
17461|   228k|        if (
17462|   228k|            (s = (Token*)_PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (17462:13): [True: 79.9k, False: 148k]
  ------------------
17463|   228k|        )
17464|  79.9k|        {
17465|  79.9k|            D(fprintf(stderr, "%*c+ string[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "STRING"));
17466|  79.9k|            _res = _PyPegen_constant_from_string ( p , s );
17467|  79.9k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17467:18): [True: 195, False: 79.7k]
  |  Branch (17467:34): [True: 0, False: 79.7k]
  |  Branch (17467:57): [True: 195, False: 0]
  ------------------
17468|    195|                p->error_indicator = 1;
17469|    195|                p->level--;
17470|    195|                return NULL;
17471|    195|            }
17472|  79.7k|            goto done;
17473|  79.9k|        }
17474|   148k|        p->mark = _mark;
17475|   148k|        D(fprintf(stderr, "%*c%s string[%d-%d]: %s failed!\n", p->level, ' ',
17476|   148k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "STRING"));
17477|   148k|    }
17478|   148k|    _res = NULL;
17479|   228k|  done:
17480|   228k|    p->level--;
17481|   228k|    return _res;
17482|   148k|}
parser.c:_loop1_82_rule:
33771|   149k|{
33772|   149k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   298k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33772:9): [True: 2, False: 149k]
  |  Branch (33772:35): [True: 0, False: 149k]
  ------------------
33773|      2|        _Pypegen_stack_overflow(p);
33774|      2|    }
33775|   149k|    if (p->error_indicator) {
  ------------------
  |  Branch (33775:9): [True: 2, False: 149k]
  ------------------
33776|      2|        p->level--;
33777|      2|        return NULL;
33778|      2|    }
33779|   149k|    void *_res = NULL;
33780|   149k|    int _mark = p->mark;
33781|   149k|    void **_children = PyMem_Malloc(sizeof(void *));
33782|   149k|    if (!_children) {
  ------------------
  |  Branch (33782:9): [True: 0, False: 149k]
  ------------------
33783|      0|        p->error_indicator = 1;
33784|      0|        PyErr_NoMemory();
33785|      0|        p->level--;
33786|      0|        return NULL;
33787|      0|    }
33788|   149k|    Py_ssize_t _children_capacity = 1;
33789|   149k|    Py_ssize_t _n = 0;
33790|   149k|    { // (fstring | string)
33791|   149k|        if (p->error_indicator) {
  ------------------
  |  Branch (33791:13): [True: 0, False: 149k]
  ------------------
33792|      0|            p->level--;
33793|      0|            return NULL;
33794|      0|        }
33795|   149k|        D(fprintf(stderr, "%*c> _loop1_82[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(fstring | string)"));
33796|   149k|        void *_tmp_156_var;
33797|   149k|        while (
33798|   249k|            (_tmp_156_var = _tmp_156_rule(p))  // fstring | string
  ------------------
  |  Branch (33798:13): [True: 99.6k, False: 149k]
  ------------------
33799|   149k|        )
33800|  99.6k|        {
33801|  99.6k|            _res = _tmp_156_var;
33802|  99.6k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33802:17): [True: 17.0k, False: 82.6k]
  ------------------
33803|  17.0k|                _children_capacity *= 2;
33804|  17.0k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33805|  17.0k|                if (!_new_children) {
  ------------------
  |  Branch (33805:21): [True: 0, False: 17.0k]
  ------------------
33806|      0|                    PyMem_Free(_children);
33807|      0|                    p->error_indicator = 1;
33808|      0|                    PyErr_NoMemory();
33809|      0|                    p->level--;
33810|      0|                    return NULL;
33811|      0|                }
33812|  17.0k|                _children = _new_children;
33813|  17.0k|            }
33814|  99.6k|            _children[_n++] = _res;
33815|  99.6k|            _mark = p->mark;
33816|  99.6k|        }
33817|   149k|        p->mark = _mark;
33818|   149k|        D(fprintf(stderr, "%*c%s _loop1_82[%d-%d]: %s failed!\n", p->level, ' ',
33819|   149k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(fstring | string)"));
33820|   149k|    }
33821|   149k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (33821:9): [True: 79.3k, False: 70.1k]
  |  Branch (33821:20): [True: 376, False: 69.7k]
  ------------------
33822|  79.7k|        PyMem_Free(_children);
33823|  79.7k|        p->level--;
33824|  79.7k|        return NULL;
33825|  79.7k|    }
33826|  69.7k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33827|  69.7k|    if (!_seq) {
  ------------------
  |  Branch (33827:9): [True: 0, False: 69.7k]
  ------------------
33828|      0|        PyMem_Free(_children);
33829|      0|        p->error_indicator = 1;
33830|      0|        PyErr_NoMemory();
33831|      0|        p->level--;
33832|      0|        return NULL;
33833|      0|    }
33834|   168k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  98.5k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|   168k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33834:28): [True: 98.5k, False: 69.7k]
  ------------------
33835|  69.7k|    PyMem_Free(_children);
33836|  69.7k|    p->level--;
33837|  69.7k|    return _seq;
33838|  69.7k|}
parser.c:_loop1_83_rule:
33843|  87.6k|{
33844|  87.6k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   175k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33844:9): [True: 0, False: 87.6k]
  |  Branch (33844:35): [True: 0, False: 87.6k]
  ------------------
33845|      0|        _Pypegen_stack_overflow(p);
33846|      0|    }
33847|  87.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (33847:9): [True: 0, False: 87.6k]
  ------------------
33848|      0|        p->level--;
33849|      0|        return NULL;
33850|      0|    }
33851|  87.6k|    void *_res = NULL;
33852|  87.6k|    int _mark = p->mark;
33853|  87.6k|    void **_children = PyMem_Malloc(sizeof(void *));
33854|  87.6k|    if (!_children) {
  ------------------
  |  Branch (33854:9): [True: 0, False: 87.6k]
  ------------------
33855|      0|        p->error_indicator = 1;
33856|      0|        PyErr_NoMemory();
33857|      0|        p->level--;
33858|      0|        return NULL;
33859|      0|    }
33860|  87.6k|    Py_ssize_t _children_capacity = 1;
33861|  87.6k|    Py_ssize_t _n = 0;
33862|  87.6k|    { // tstring
33863|  87.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (33863:13): [True: 0, False: 87.6k]
  ------------------
33864|      0|            p->level--;
33865|      0|            return NULL;
33866|      0|        }
33867|  87.6k|        D(fprintf(stderr, "%*c> _loop1_83[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring"));
33868|  87.6k|        expr_ty tstring_var;
33869|  87.6k|        while (
33870|  92.7k|            (tstring_var = tstring_rule(p))  // tstring
  ------------------
  |  Branch (33870:13): [True: 5.15k, False: 87.6k]
  ------------------
33871|  87.6k|        )
33872|  5.15k|        {
33873|  5.15k|            _res = tstring_var;
33874|  5.15k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33874:17): [True: 206, False: 4.94k]
  ------------------
33875|    206|                _children_capacity *= 2;
33876|    206|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33877|    206|                if (!_new_children) {
  ------------------
  |  Branch (33877:21): [True: 0, False: 206]
  ------------------
33878|      0|                    PyMem_Free(_children);
33879|      0|                    p->error_indicator = 1;
33880|      0|                    PyErr_NoMemory();
33881|      0|                    p->level--;
33882|      0|                    return NULL;
33883|      0|                }
33884|    206|                _children = _new_children;
33885|    206|            }
33886|  5.15k|            _children[_n++] = _res;
33887|  5.15k|            _mark = p->mark;
33888|  5.15k|        }
33889|  87.6k|        p->mark = _mark;
33890|  87.6k|        D(fprintf(stderr, "%*c%s _loop1_83[%d-%d]: %s failed!\n", p->level, ' ',
33891|  87.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring"));
33892|  87.6k|    }
33893|  87.6k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (33893:9): [True: 82.8k, False: 4.82k]
  |  Branch (33893:20): [True: 79, False: 4.74k]
  ------------------
33894|  82.8k|        PyMem_Free(_children);
33895|  82.8k|        p->level--;
33896|  82.8k|        return NULL;
33897|  82.8k|    }
33898|  4.74k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33899|  4.74k|    if (!_seq) {
  ------------------
  |  Branch (33899:9): [True: 0, False: 4.74k]
  ------------------
33900|      0|        PyMem_Free(_children);
33901|      0|        p->error_indicator = 1;
33902|      0|        PyErr_NoMemory();
33903|      0|        p->level--;
33904|      0|        return NULL;
33905|      0|    }
33906|  9.79k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  5.05k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  9.79k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33906:28): [True: 5.05k, False: 4.74k]
  ------------------
33907|  4.74k|    PyMem_Free(_children);
33908|  4.74k|    p->level--;
33909|  4.74k|    return _seq;
33910|  4.74k|}
parser.c:_tmp_68_rule:
32801|   168k|{
32802|   168k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   337k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32802:9): [True: 0, False: 168k]
  |  Branch (32802:35): [True: 0, False: 168k]
  ------------------
32803|      0|        _Pypegen_stack_overflow(p);
32804|      0|    }
32805|   168k|    if (p->error_indicator) {
  ------------------
  |  Branch (32805:9): [True: 0, False: 168k]
  ------------------
32806|      0|        p->level--;
32807|      0|        return NULL;
32808|      0|    }
32809|   168k|    void * _res = NULL;
32810|   168k|    int _mark = p->mark;
32811|   168k|    { // genexp
32812|   168k|        if (p->error_indicator) {
  ------------------
  |  Branch (32812:13): [True: 0, False: 168k]
  ------------------
32813|      0|            p->level--;
32814|      0|            return NULL;
32815|      0|        }
32816|   168k|        D(fprintf(stderr, "%*c> _tmp_68[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "genexp"));
32817|   168k|        expr_ty genexp_var;
32818|   168k|        if (
32819|   168k|            (genexp_var = genexp_rule(p))  // genexp
  ------------------
  |  Branch (32819:13): [True: 4.30k, False: 164k]
  ------------------
32820|   168k|        )
32821|  4.30k|        {
32822|  4.30k|            D(fprintf(stderr, "%*c+ _tmp_68[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "genexp"));
32823|  4.30k|            _res = genexp_var;
32824|  4.30k|            goto done;
32825|  4.30k|        }
32826|   164k|        p->mark = _mark;
32827|   164k|        D(fprintf(stderr, "%*c%s _tmp_68[%d-%d]: %s failed!\n", p->level, ' ',
32828|   164k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "genexp"));
32829|   164k|    }
32830|      0|    { // tuple
32831|   164k|        if (p->error_indicator) {
  ------------------
  |  Branch (32831:13): [True: 8.60k, False: 155k]
  ------------------
32832|  8.60k|            p->level--;
32833|  8.60k|            return NULL;
32834|  8.60k|        }
32835|   155k|        D(fprintf(stderr, "%*c> _tmp_68[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tuple"));
32836|   155k|        expr_ty tuple_var;
32837|   155k|        if (
32838|   155k|            (tuple_var = tuple_rule(p))  // tuple
  ------------------
  |  Branch (32838:13): [True: 111k, False: 44.3k]
  ------------------
32839|   155k|        )
32840|   111k|        {
32841|   111k|            D(fprintf(stderr, "%*c+ _tmp_68[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tuple"));
32842|   111k|            _res = tuple_var;
32843|   111k|            goto done;
32844|   111k|        }
32845|  44.3k|        p->mark = _mark;
32846|  44.3k|        D(fprintf(stderr, "%*c%s _tmp_68[%d-%d]: %s failed!\n", p->level, ' ',
32847|  44.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tuple"));
32848|  44.3k|    }
32849|      0|    { // group
32850|  44.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (32850:13): [True: 1.49k, False: 42.8k]
  ------------------
32851|  1.49k|            p->level--;
32852|  1.49k|            return NULL;
32853|  1.49k|        }
32854|  42.8k|        D(fprintf(stderr, "%*c> _tmp_68[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "group"));
32855|  42.8k|        expr_ty group_var;
32856|  42.8k|        if (
32857|  42.8k|            (group_var = group_rule(p))  // group
  ------------------
  |  Branch (32857:13): [True: 14.9k, False: 27.9k]
  ------------------
32858|  42.8k|        )
32859|  14.9k|        {
32860|  14.9k|            D(fprintf(stderr, "%*c+ _tmp_68[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "group"));
32861|  14.9k|            _res = group_var;
32862|  14.9k|            goto done;
32863|  14.9k|        }
32864|  27.9k|        p->mark = _mark;
32865|  27.9k|        D(fprintf(stderr, "%*c%s _tmp_68[%d-%d]: %s failed!\n", p->level, ' ',
32866|  27.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "group"));
32867|  27.9k|    }
32868|  27.9k|    _res = NULL;
32869|   158k|  done:
32870|   158k|    p->level--;
32871|   158k|    return _res;
32872|  27.9k|}
parser.c:tuple_rule:
17672|   305k|{
17673|   305k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   611k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17673:9): [True: 0, False: 305k]
  |  Branch (17673:35): [True: 0, False: 305k]
  ------------------
17674|      0|        _Pypegen_stack_overflow(p);
17675|      0|    }
17676|   305k|    if (p->error_indicator) {
  ------------------
  |  Branch (17676:9): [True: 0, False: 305k]
  ------------------
17677|      0|        p->level--;
17678|      0|        return NULL;
17679|      0|    }
17680|   305k|    expr_ty _res = NULL;
17681|   305k|    int _mark = p->mark;
17682|   305k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17682:9): [True: 0, False: 305k]
  |  Branch (17682:31): [True: 0, False: 0]
  ------------------
17683|      0|        p->error_indicator = 1;
17684|      0|        p->level--;
17685|      0|        return NULL;
17686|      0|    }
17687|   305k|    int _start_lineno = p->tokens[_mark]->lineno;
17688|   305k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   305k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 305k]
  |  |  ------------------
  ------------------
17689|   305k|    int _start_col_offset = p->tokens[_mark]->col_offset;
17690|   305k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   305k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 305k]
  |  |  ------------------
  ------------------
17691|   305k|    { // '(' [star_named_expression_sequence ',' star_named_expressions_sequence?] ')'
17692|   305k|        if (p->error_indicator) {
  ------------------
  |  Branch (17692:13): [True: 0, False: 305k]
  ------------------
17693|      0|            p->level--;
17694|      0|            return NULL;
17695|      0|        }
17696|   305k|        D(fprintf(stderr, "%*c> tuple[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' [star_named_expression_sequence ',' star_named_expressions_sequence?] ')'"));
17697|   305k|        Token * _literal;
17698|   305k|        Token * _literal_1;
17699|   305k|        void *a;
17700|   305k|        if (
17701|   305k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (17701:13): [True: 163k, False: 142k]
  ------------------
17702|   163k|            &&
17703|   163k|            (a = _tmp_84_rule(p), !p->error_indicator)  // [star_named_expression_sequence ',' star_named_expressions_sequence?]
  ------------------
  |  Branch (17703:13): [True: 161k, False: 1.58k]
  ------------------
17704|   161k|            &&
17705|   161k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (17705:13): [True: 113k, False: 48.8k]
  ------------------
17706|   305k|        )
17707|   113k|        {
17708|   113k|            D(fprintf(stderr, "%*c+ tuple[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' [star_named_expression_sequence ',' star_named_expressions_sequence?] ')'"));
17709|   113k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17710|   113k|            if (_token == NULL) {
  ------------------
  |  Branch (17710:17): [True: 0, False: 113k]
  ------------------
17711|      0|                p->level--;
17712|      0|                return NULL;
17713|      0|            }
17714|   113k|            int _end_lineno = _token->end_lineno;
17715|   113k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   113k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 113k]
  |  |  ------------------
  ------------------
17716|   113k|            int _end_col_offset = _token->end_col_offset;
17717|   113k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   113k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 113k]
  |  |  ------------------
  ------------------
17718|   113k|            _res = _PyAST_Tuple ( a , Load , EXTRA );
  ------------------
  |  |  281|   113k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17719|   113k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17719:18): [True: 0, False: 113k]
  |  Branch (17719:34): [True: 0, False: 113k]
  |  Branch (17719:57): [True: 0, False: 0]
  ------------------
17720|      0|                p->error_indicator = 1;
17721|      0|                p->level--;
17722|      0|                return NULL;
17723|      0|            }
17724|   113k|            goto done;
17725|   113k|        }
17726|   192k|        p->mark = _mark;
17727|   192k|        D(fprintf(stderr, "%*c%s tuple[%d-%d]: %s failed!\n", p->level, ' ',
17728|   192k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' [star_named_expression_sequence ',' star_named_expressions_sequence?] ')'"));
17729|   192k|    }
17730|   192k|    _res = NULL;
17731|   305k|  done:
17732|   305k|    p->level--;
17733|   305k|    return _res;
17734|   192k|}
parser.c:_tmp_84_rule:
33915|   163k|{
33916|   163k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   326k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33916:9): [True: 0, False: 163k]
  |  Branch (33916:35): [True: 0, False: 163k]
  ------------------
33917|      0|        _Pypegen_stack_overflow(p);
33918|      0|    }
33919|   163k|    if (p->error_indicator) {
  ------------------
  |  Branch (33919:9): [True: 0, False: 163k]
  ------------------
33920|      0|        p->level--;
33921|      0|        return NULL;
33922|      0|    }
33923|   163k|    void * _res = NULL;
33924|   163k|    int _mark = p->mark;
33925|   163k|    { // star_named_expression_sequence ',' star_named_expressions_sequence?
33926|   163k|        if (p->error_indicator) {
  ------------------
  |  Branch (33926:13): [True: 0, False: 163k]
  ------------------
33927|      0|            p->level--;
33928|      0|            return NULL;
33929|      0|        }
33930|   163k|        D(fprintf(stderr, "%*c> _tmp_84[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression_sequence ',' star_named_expressions_sequence?"));
33931|   163k|        Token * _literal;
33932|   163k|        expr_ty y;
33933|   163k|        void *z;
33934|   163k|        if (
33935|   163k|            (y = star_named_expression_sequence_rule(p))  // star_named_expression_sequence
  ------------------
  |  Branch (33935:13): [True: 115k, False: 48.2k]
  ------------------
33936|   115k|            &&
33937|   115k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (33937:13): [True: 90.7k, False: 24.4k]
  ------------------
33938|  90.7k|            &&
33939|  90.7k|            (z = star_named_expressions_sequence_rule(p), !p->error_indicator)  // star_named_expressions_sequence?
  ------------------
  |  Branch (33939:13): [True: 89.2k, False: 1.43k]
  ------------------
33940|   163k|        )
33941|  89.2k|        {
33942|  89.2k|            D(fprintf(stderr, "%*c+ _tmp_84[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_named_expression_sequence ',' star_named_expressions_sequence?"));
33943|  89.2k|            _res = _PyPegen_seq_insert_in_front ( p , y , z );
33944|  89.2k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (33944:18): [True: 0, False: 89.2k]
  |  Branch (33944:34): [True: 0, False: 89.2k]
  |  Branch (33944:57): [True: 0, False: 0]
  ------------------
33945|      0|                p->error_indicator = 1;
33946|      0|                p->level--;
33947|      0|                return NULL;
33948|      0|            }
33949|  89.2k|            goto done;
33950|  89.2k|        }
33951|  74.1k|        p->mark = _mark;
33952|  74.1k|        D(fprintf(stderr, "%*c%s _tmp_84[%d-%d]: %s failed!\n", p->level, ' ',
33953|  74.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression_sequence ',' star_named_expressions_sequence?"));
33954|  74.1k|    }
33955|  74.1k|    _res = NULL;
33956|   163k|  done:
33957|   163k|    p->level--;
33958|   163k|    return _res;
33959|  74.1k|}
parser.c:star_named_expression_sequence_rule:
12266|   397k|{
12267|   397k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   795k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12267:9): [True: 0, False: 397k]
  |  Branch (12267:35): [True: 0, False: 397k]
  ------------------
12268|      0|        _Pypegen_stack_overflow(p);
12269|      0|    }
12270|   397k|    if (p->error_indicator) {
  ------------------
  |  Branch (12270:9): [True: 0, False: 397k]
  ------------------
12271|      0|        p->level--;
12272|      0|        return NULL;
12273|      0|    }
12274|   397k|    expr_ty _res = NULL;
12275|   397k|    int _mark = p->mark;
12276|   397k|    if (p->call_invalid_rules) { // invalid_starred_expression_unpacking_sequence
  ------------------
  |  Branch (12276:9): [True: 74.0k, False: 323k]
  ------------------
12277|  74.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (12277:13): [True: 0, False: 74.0k]
  ------------------
12278|      0|            p->level--;
12279|      0|            return NULL;
12280|      0|        }
12281|  74.0k|        D(fprintf(stderr, "%*c> star_named_expression_sequence[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking_sequence"));
12282|  74.0k|        void *invalid_starred_expression_unpacking_sequence_var;
12283|  74.0k|        if (
12284|  74.0k|            (invalid_starred_expression_unpacking_sequence_var = invalid_starred_expression_unpacking_sequence_rule(p))  // invalid_starred_expression_unpacking_sequence
  ------------------
  |  Branch (12284:13): [True: 0, False: 74.0k]
  ------------------
12285|  74.0k|        )
12286|      0|        {
12287|      0|            D(fprintf(stderr, "%*c+ star_named_expression_sequence[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking_sequence"));
12288|      0|            _res = invalid_starred_expression_unpacking_sequence_var;
12289|      0|            goto done;
12290|      0|        }
12291|  74.0k|        p->mark = _mark;
12292|  74.0k|        D(fprintf(stderr, "%*c%s star_named_expression_sequence[%d-%d]: %s failed!\n", p->level, ' ',
12293|  74.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression_unpacking_sequence"));
12294|  74.0k|    }
12295|   397k|    { // star_named_expression
12296|   397k|        if (p->error_indicator) {
  ------------------
  |  Branch (12296:13): [True: 135, False: 397k]
  ------------------
12297|    135|            p->level--;
12298|    135|            return NULL;
12299|    135|        }
12300|   397k|        D(fprintf(stderr, "%*c> star_named_expression_sequence[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression"));
12301|   397k|        expr_ty star_named_expression_var;
12302|   397k|        if (
12303|   397k|            (star_named_expression_var = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (12303:13): [True: 284k, False: 112k]
  ------------------
12304|   397k|        )
12305|   284k|        {
12306|   284k|            D(fprintf(stderr, "%*c+ star_named_expression_sequence[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_named_expression"));
12307|   284k|            _res = star_named_expression_var;
12308|   284k|            goto done;
12309|   284k|        }
12310|   112k|        p->mark = _mark;
12311|   112k|        D(fprintf(stderr, "%*c%s star_named_expression_sequence[%d-%d]: %s failed!\n", p->level, ' ',
12312|   112k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression"));
12313|   112k|    }
12314|   112k|    _res = NULL;
12315|   397k|  done:
12316|   397k|    p->level--;
12317|   397k|    return _res;
12318|   112k|}
parser.c:invalid_starred_expression_unpacking_sequence_rule:
27321|  74.0k|{
27322|  74.0k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   148k|#  define MAXSTACK 6000
  ------------------
  |  Branch (27322:9): [True: 0, False: 74.0k]
  |  Branch (27322:35): [True: 0, False: 74.0k]
  ------------------
27323|      0|        _Pypegen_stack_overflow(p);
27324|      0|    }
27325|  74.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (27325:9): [True: 0, False: 74.0k]
  ------------------
27326|      0|        p->level--;
27327|      0|        return NULL;
27328|      0|    }
27329|  74.0k|    void * _res = NULL;
27330|  74.0k|    int _mark = p->mark;
27331|  74.0k|    { // '**' bitwise_or
27332|  74.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (27332:13): [True: 0, False: 74.0k]
  ------------------
27333|      0|            p->level--;
27334|      0|            return NULL;
27335|      0|        }
27336|  74.0k|        D(fprintf(stderr, "%*c> invalid_starred_expression_unpacking_sequence[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or"));
27337|  74.0k|        Token * a;
27338|  74.0k|        expr_ty bitwise_or_var;
27339|  74.0k|        if (
27340|  74.0k|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (27340:13): [True: 407, False: 73.6k]
  ------------------
27341|    407|            &&
27342|    407|            (bitwise_or_var = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (27342:13): [True: 25, False: 382]
  ------------------
27343|  74.0k|        )
27344|     25|        {
27345|     25|            D(fprintf(stderr, "%*c+ invalid_starred_expression_unpacking_sequence[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or"));
27346|     25|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use dict unpacking here" );
  ------------------
  |  |  213|     25|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
27347|     25|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27347:18): [True: 25, False: 0]
  |  Branch (27347:34): [True: 0, False: 0]
  |  Branch (27347:57): [True: 25, False: 0]
  ------------------
27348|     25|                p->error_indicator = 1;
27349|     25|                p->level--;
27350|     25|                return NULL;
27351|     25|            }
27352|      0|            goto done;
27353|     25|        }
27354|  74.0k|        p->mark = _mark;
27355|  74.0k|        D(fprintf(stderr, "%*c%s invalid_starred_expression_unpacking_sequence[%d-%d]: %s failed!\n", p->level, ' ',
27356|  74.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' bitwise_or"));
27357|  74.0k|    }
27358|  74.0k|    if (p->call_invalid_rules) { // invalid_starred_expression_unpacking
  ------------------
  |  Branch (27358:9): [True: 74.0k, False: 0]
  ------------------
27359|  74.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (27359:13): [True: 83, False: 73.9k]
  ------------------
27360|     83|            p->level--;
27361|     83|            return NULL;
27362|     83|        }
27363|  73.9k|        D(fprintf(stderr, "%*c> invalid_starred_expression_unpacking_sequence[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking"));
27364|  73.9k|        void *invalid_starred_expression_unpacking_var;
27365|  73.9k|        if (
27366|  73.9k|            (invalid_starred_expression_unpacking_var = invalid_starred_expression_unpacking_rule(p))  // invalid_starred_expression_unpacking
  ------------------
  |  Branch (27366:13): [True: 0, False: 73.9k]
  ------------------
27367|  73.9k|        )
27368|      0|        {
27369|      0|            D(fprintf(stderr, "%*c+ invalid_starred_expression_unpacking_sequence[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_starred_expression_unpacking"));
27370|      0|            _res = invalid_starred_expression_unpacking_var;
27371|      0|            goto done;
27372|      0|        }
27373|  73.9k|        p->mark = _mark;
27374|  73.9k|        D(fprintf(stderr, "%*c%s invalid_starred_expression_unpacking_sequence[%d-%d]: %s failed!\n", p->level, ' ',
27375|  73.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_starred_expression_unpacking"));
27376|  73.9k|    }
27377|  73.9k|    _res = NULL;
27378|  73.9k|  done:
27379|  73.9k|    p->level--;
27380|  73.9k|    return _res;
27381|  73.9k|}
parser.c:star_named_expressions_sequence_rule:
12134|   159k|{
12135|   159k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   318k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12135:9): [True: 0, False: 159k]
  |  Branch (12135:35): [True: 0, False: 159k]
  ------------------
12136|      0|        _Pypegen_stack_overflow(p);
12137|      0|    }
12138|   159k|    if (p->error_indicator) {
  ------------------
  |  Branch (12138:9): [True: 0, False: 159k]
  ------------------
12139|      0|        p->level--;
12140|      0|        return NULL;
12141|      0|    }
12142|   159k|    asdl_expr_seq* _res = NULL;
12143|   159k|    int _mark = p->mark;
12144|   159k|    { // ','.star_named_expression_sequence+ ','?
12145|   159k|        if (p->error_indicator) {
  ------------------
  |  Branch (12145:13): [True: 0, False: 159k]
  ------------------
12146|      0|            p->level--;
12147|      0|            return NULL;
12148|      0|        }
12149|   159k|        D(fprintf(stderr, "%*c> star_named_expressions_sequence[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.star_named_expression_sequence+ ','?"));
12150|   159k|        void *_opt_var;
12151|   159k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|   159k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 159k]
  |  |  ------------------
  ------------------
12152|   159k|        asdl_expr_seq* a;
12153|   159k|        if (
12154|   159k|            (a = (asdl_expr_seq*)_gather_60_rule(p))  // ','.star_named_expression_sequence+
  ------------------
  |  Branch (12154:13): [True: 102k, False: 56.2k]
  ------------------
12155|   102k|            &&
12156|   102k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (12156:13): [True: 101k, False: 1.86k]
  ------------------
12157|   159k|        )
12158|   101k|        {
12159|   101k|            D(fprintf(stderr, "%*c+ star_named_expressions_sequence[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.star_named_expression_sequence+ ','?"));
12160|   101k|            _res = a;
12161|   101k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12161:18): [True: 0, False: 101k]
  |  Branch (12161:34): [True: 0, False: 101k]
  |  Branch (12161:57): [True: 0, False: 0]
  ------------------
12162|      0|                p->error_indicator = 1;
12163|      0|                p->level--;
12164|      0|                return NULL;
12165|      0|            }
12166|   101k|            goto done;
12167|   101k|        }
12168|  58.0k|        p->mark = _mark;
12169|  58.0k|        D(fprintf(stderr, "%*c%s star_named_expressions_sequence[%d-%d]: %s failed!\n", p->level, ' ',
12170|  58.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.star_named_expression_sequence+ ','?"));
12171|  58.0k|    }
12172|  58.0k|    _res = NULL;
12173|   159k|  done:
12174|   159k|    p->level--;
12175|   159k|    return _res;
12176|  58.0k|}
parser.c:_gather_60_rule:
32338|   159k|{
32339|   159k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   318k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32339:9): [True: 0, False: 159k]
  |  Branch (32339:35): [True: 0, False: 159k]
  ------------------
32340|      0|        _Pypegen_stack_overflow(p);
32341|      0|    }
32342|   159k|    if (p->error_indicator) {
  ------------------
  |  Branch (32342:9): [True: 0, False: 159k]
  ------------------
32343|      0|        p->level--;
32344|      0|        return NULL;
32345|      0|    }
32346|   159k|    asdl_seq * _res = NULL;
32347|   159k|    int _mark = p->mark;
32348|   159k|    { // star_named_expression_sequence _loop0_59
32349|   159k|        if (p->error_indicator) {
  ------------------
  |  Branch (32349:13): [True: 0, False: 159k]
  ------------------
32350|      0|            p->level--;
32351|      0|            return NULL;
32352|      0|        }
32353|   159k|        D(fprintf(stderr, "%*c> _gather_60[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression_sequence _loop0_59"));
32354|   159k|        expr_ty elem;
32355|   159k|        asdl_seq * seq;
32356|   159k|        if (
32357|   159k|            (elem = star_named_expression_sequence_rule(p))  // star_named_expression_sequence
  ------------------
  |  Branch (32357:13): [True: 102k, False: 56.2k]
  ------------------
32358|   102k|            &&
32359|   102k|            (seq = _loop0_59_rule(p))  // _loop0_59
  ------------------
  |  Branch (32359:13): [True: 102k, False: 0]
  ------------------
32360|   159k|        )
32361|   102k|        {
32362|   102k|            D(fprintf(stderr, "%*c+ _gather_60[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_named_expression_sequence _loop0_59"));
32363|   102k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
32364|   102k|            goto done;
32365|   102k|        }
32366|  56.2k|        p->mark = _mark;
32367|  56.2k|        D(fprintf(stderr, "%*c%s _gather_60[%d-%d]: %s failed!\n", p->level, ' ',
32368|  56.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression_sequence _loop0_59"));
32369|  56.2k|    }
32370|  56.2k|    _res = NULL;
32371|   159k|  done:
32372|   159k|    p->level--;
32373|   159k|    return _res;
32374|  56.2k|}
parser.c:_loop0_59_rule:
32262|   102k|{
32263|   102k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   205k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32263:9): [True: 0, False: 102k]
  |  Branch (32263:35): [True: 0, False: 102k]
  ------------------
32264|      0|        _Pypegen_stack_overflow(p);
32265|      0|    }
32266|   102k|    if (p->error_indicator) {
  ------------------
  |  Branch (32266:9): [True: 0, False: 102k]
  ------------------
32267|      0|        p->level--;
32268|      0|        return NULL;
32269|      0|    }
32270|   102k|    void *_res = NULL;
32271|   102k|    int _mark = p->mark;
32272|   102k|    void **_children = PyMem_Malloc(sizeof(void *));
32273|   102k|    if (!_children) {
  ------------------
  |  Branch (32273:9): [True: 0, False: 102k]
  ------------------
32274|      0|        p->error_indicator = 1;
32275|      0|        PyErr_NoMemory();
32276|      0|        p->level--;
32277|      0|        return NULL;
32278|      0|    }
32279|   102k|    Py_ssize_t _children_capacity = 1;
32280|   102k|    Py_ssize_t _n = 0;
32281|   102k|    { // ',' star_named_expression_sequence
32282|   102k|        if (p->error_indicator) {
  ------------------
  |  Branch (32282:13): [True: 0, False: 102k]
  ------------------
32283|      0|            p->level--;
32284|      0|            return NULL;
32285|      0|        }
32286|   102k|        D(fprintf(stderr, "%*c> _loop0_59[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' star_named_expression_sequence"));
32287|   102k|        Token * _literal;
32288|   102k|        expr_ty elem;
32289|   102k|        while (
32290|   169k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (32290:13): [True: 74.9k, False: 94.7k]
  ------------------
32291|  74.9k|            &&
32292|  74.9k|            (elem = star_named_expression_sequence_rule(p))  // star_named_expression_sequence
  ------------------
  |  Branch (32292:13): [True: 66.6k, False: 8.22k]
  ------------------
32293|   102k|        )
32294|  66.6k|        {
32295|  66.6k|            _res = elem;
32296|  66.6k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (32296:18): [True: 0, False: 66.6k]
  |  Branch (32296:34): [True: 0, False: 66.6k]
  |  Branch (32296:57): [True: 0, False: 0]
  ------------------
32297|      0|                p->error_indicator = 1;
32298|      0|                PyMem_Free(_children);
32299|      0|                p->level--;
32300|      0|                return NULL;
32301|      0|            }
32302|  66.6k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32302:17): [True: 27.5k, False: 39.1k]
  ------------------
32303|  27.5k|                _children_capacity *= 2;
32304|  27.5k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32305|  27.5k|                if (!_new_children) {
  ------------------
  |  Branch (32305:21): [True: 0, False: 27.5k]
  ------------------
32306|      0|                    PyMem_Free(_children);
32307|      0|                    p->error_indicator = 1;
32308|      0|                    PyErr_NoMemory();
32309|      0|                    p->level--;
32310|      0|                    return NULL;
32311|      0|                }
32312|  27.5k|                _children = _new_children;
32313|  27.5k|            }
32314|  66.6k|            _children[_n++] = _res;
32315|  66.6k|            _mark = p->mark;
32316|  66.6k|        }
32317|   102k|        p->mark = _mark;
32318|   102k|        D(fprintf(stderr, "%*c%s _loop0_59[%d-%d]: %s failed!\n", p->level, ' ',
32319|   102k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' star_named_expression_sequence"));
32320|   102k|    }
32321|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32322|   102k|    if (!_seq) {
  ------------------
  |  Branch (32322:9): [True: 0, False: 102k]
  ------------------
32323|      0|        PyMem_Free(_children);
32324|      0|        p->error_indicator = 1;
32325|      0|        PyErr_NoMemory();
32326|      0|        p->level--;
32327|      0|        return NULL;
32328|      0|    }
32329|   169k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  66.6k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|   169k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32329:28): [True: 66.6k, False: 102k]
  ------------------
32330|   102k|    PyMem_Free(_children);
32331|   102k|    p->level--;
32332|   102k|    return _seq;
32333|   102k|}
parser.c:group_rule:
15613|  42.8k|{
15614|  42.8k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  85.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15614:9): [True: 0, False: 42.8k]
  |  Branch (15614:35): [True: 0, False: 42.8k]
  ------------------
15615|      0|        _Pypegen_stack_overflow(p);
15616|      0|    }
15617|  42.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (15617:9): [True: 0, False: 42.8k]
  ------------------
15618|      0|        p->level--;
15619|      0|        return NULL;
15620|      0|    }
15621|  42.8k|    expr_ty _res = NULL;
15622|  42.8k|    int _mark = p->mark;
15623|  42.8k|    { // '(' (yield_expr | named_expression) ')'
15624|  42.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (15624:13): [True: 0, False: 42.8k]
  ------------------
15625|      0|            p->level--;
15626|      0|            return NULL;
15627|      0|        }
15628|  42.8k|        D(fprintf(stderr, "%*c> group[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' (yield_expr | named_expression) ')'"));
15629|  42.8k|        Token * _literal;
15630|  42.8k|        Token * _literal_1;
15631|  42.8k|        void *a;
15632|  42.8k|        if (
15633|  42.8k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (15633:13): [True: 42.8k, False: 0]
  ------------------
15634|  42.8k|            &&
15635|  42.8k|            (a = _tmp_71_rule(p))  // yield_expr | named_expression
  ------------------
  |  Branch (15635:13): [True: 28.5k, False: 14.3k]
  ------------------
15636|  28.5k|            &&
15637|  28.5k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (15637:13): [True: 14.9k, False: 13.6k]
  ------------------
15638|  42.8k|        )
15639|  14.9k|        {
15640|  14.9k|            D(fprintf(stderr, "%*c+ group[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' (yield_expr | named_expression) ')'"));
15641|  14.9k|            _res = a;
15642|  14.9k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15642:18): [True: 0, False: 14.9k]
  |  Branch (15642:34): [True: 0, False: 14.9k]
  |  Branch (15642:57): [True: 0, False: 0]
  ------------------
15643|      0|                p->error_indicator = 1;
15644|      0|                p->level--;
15645|      0|                return NULL;
15646|      0|            }
15647|  14.9k|            goto done;
15648|  14.9k|        }
15649|  27.9k|        p->mark = _mark;
15650|  27.9k|        D(fprintf(stderr, "%*c%s group[%d-%d]: %s failed!\n", p->level, ' ',
15651|  27.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' (yield_expr | named_expression) ')'"));
15652|  27.9k|    }
15653|  27.9k|    if (p->call_invalid_rules) { // invalid_group
  ------------------
  |  Branch (15653:9): [True: 9.51k, False: 18.4k]
  ------------------
15654|  9.51k|        if (p->error_indicator) {
  ------------------
  |  Branch (15654:13): [True: 110, False: 9.40k]
  ------------------
15655|    110|            p->level--;
15656|    110|            return NULL;
15657|    110|        }
15658|  9.40k|        D(fprintf(stderr, "%*c> group[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_group"));
15659|  9.40k|        void *invalid_group_var;
15660|  9.40k|        if (
15661|  9.40k|            (invalid_group_var = invalid_group_rule(p))  // invalid_group
  ------------------
  |  Branch (15661:13): [True: 0, False: 9.40k]
  ------------------
15662|  9.40k|        )
15663|      0|        {
15664|      0|            D(fprintf(stderr, "%*c+ group[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_group"));
15665|      0|            _res = invalid_group_var;
15666|      0|            goto done;
15667|      0|        }
15668|  9.40k|        p->mark = _mark;
15669|  9.40k|        D(fprintf(stderr, "%*c%s group[%d-%d]: %s failed!\n", p->level, ' ',
15670|  9.40k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_group"));
15671|  9.40k|    }
15672|  27.8k|    _res = NULL;
15673|  42.7k|  done:
15674|  42.7k|    p->level--;
15675|  42.7k|    return _res;
15676|  27.8k|}
parser.c:_tmp_71_rule:
33029|  42.8k|{
33030|  42.8k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  85.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33030:9): [True: 0, False: 42.8k]
  |  Branch (33030:35): [True: 0, False: 42.8k]
  ------------------
33031|      0|        _Pypegen_stack_overflow(p);
33032|      0|    }
33033|  42.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (33033:9): [True: 0, False: 42.8k]
  ------------------
33034|      0|        p->level--;
33035|      0|        return NULL;
33036|      0|    }
33037|  42.8k|    void * _res = NULL;
33038|  42.8k|    int _mark = p->mark;
33039|  42.8k|    { // yield_expr
33040|  42.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (33040:13): [True: 0, False: 42.8k]
  ------------------
33041|      0|            p->level--;
33042|      0|            return NULL;
33043|      0|        }
33044|  42.8k|        D(fprintf(stderr, "%*c> _tmp_71[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "yield_expr"));
33045|  42.8k|        expr_ty yield_expr_var;
33046|  42.8k|        if (
33047|  42.8k|            (yield_expr_var = yield_expr_rule(p))  // yield_expr
  ------------------
  |  Branch (33047:13): [True: 2.20k, False: 40.6k]
  ------------------
33048|  42.8k|        )
33049|  2.20k|        {
33050|  2.20k|            D(fprintf(stderr, "%*c+ _tmp_71[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "yield_expr"));
33051|  2.20k|            _res = yield_expr_var;
33052|  2.20k|            goto done;
33053|  2.20k|        }
33054|  40.6k|        p->mark = _mark;
33055|  40.6k|        D(fprintf(stderr, "%*c%s _tmp_71[%d-%d]: %s failed!\n", p->level, ' ',
33056|  40.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "yield_expr"));
33057|  40.6k|    }
33058|      0|    { // named_expression
33059|  40.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (33059:13): [True: 258, False: 40.4k]
  ------------------
33060|    258|            p->level--;
33061|    258|            return NULL;
33062|    258|        }
33063|  40.4k|        D(fprintf(stderr, "%*c> _tmp_71[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "named_expression"));
33064|  40.4k|        expr_ty named_expression_var;
33065|  40.4k|        if (
33066|  40.4k|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (33066:13): [True: 26.3k, False: 14.0k]
  ------------------
33067|  40.4k|        )
33068|  26.3k|        {
33069|  26.3k|            D(fprintf(stderr, "%*c+ _tmp_71[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "named_expression"));
33070|  26.3k|            _res = named_expression_var;
33071|  26.3k|            goto done;
33072|  26.3k|        }
33073|  14.0k|        p->mark = _mark;
33074|  14.0k|        D(fprintf(stderr, "%*c%s _tmp_71[%d-%d]: %s failed!\n", p->level, ' ',
33075|  14.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "named_expression"));
33076|  14.0k|    }
33077|  14.0k|    _res = NULL;
33078|  42.6k|  done:
33079|  42.6k|    p->level--;
33080|  42.6k|    return _res;
33081|  14.0k|}
parser.c:invalid_group_rule:
24301|  9.40k|{
24302|  9.40k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  18.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24302:9): [True: 0, False: 9.40k]
  |  Branch (24302:35): [True: 0, False: 9.40k]
  ------------------
24303|      0|        _Pypegen_stack_overflow(p);
24304|      0|    }
24305|  9.40k|    if (p->error_indicator) {
  ------------------
  |  Branch (24305:9): [True: 0, False: 9.40k]
  ------------------
24306|      0|        p->level--;
24307|      0|        return NULL;
24308|      0|    }
24309|  9.40k|    void * _res = NULL;
24310|  9.40k|    int _mark = p->mark;
24311|  9.40k|    { // '(' starred_expression ')'
24312|  9.40k|        if (p->error_indicator) {
  ------------------
  |  Branch (24312:13): [True: 0, False: 9.40k]
  ------------------
24313|      0|            p->level--;
24314|      0|            return NULL;
24315|      0|        }
24316|  9.40k|        D(fprintf(stderr, "%*c> invalid_group[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' starred_expression ')'"));
24317|  9.40k|        Token * _literal;
24318|  9.40k|        Token * _literal_1;
24319|  9.40k|        expr_ty a;
24320|  9.40k|        if (
24321|  9.40k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (24321:13): [True: 9.40k, False: 0]
  ------------------
24322|  9.40k|            &&
24323|  9.40k|            (a = starred_expression_rule(p))  // starred_expression
  ------------------
  |  Branch (24323:13): [True: 212, False: 9.19k]
  ------------------
24324|    212|            &&
24325|    212|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (24325:13): [True: 4, False: 208]
  ------------------
24326|  9.40k|        )
24327|      4|        {
24328|      4|            D(fprintf(stderr, "%*c+ invalid_group[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' starred_expression ')'"));
24329|      4|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use starred expression here" );
  ------------------
  |  |  213|      4|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
24330|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24330:18): [True: 4, False: 0]
  |  Branch (24330:34): [True: 0, False: 0]
  |  Branch (24330:57): [True: 4, False: 0]
  ------------------
24331|      4|                p->error_indicator = 1;
24332|      4|                p->level--;
24333|      4|                return NULL;
24334|      4|            }
24335|      0|            goto done;
24336|      4|        }
24337|  9.39k|        p->mark = _mark;
24338|  9.39k|        D(fprintf(stderr, "%*c%s invalid_group[%d-%d]: %s failed!\n", p->level, ' ',
24339|  9.39k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' starred_expression ')'"));
24340|  9.39k|    }
24341|      0|    { // '(' '**' expression ')'
24342|  9.39k|        if (p->error_indicator) {
  ------------------
  |  Branch (24342:13): [True: 0, False: 9.39k]
  ------------------
24343|      0|            p->level--;
24344|      0|            return NULL;
24345|      0|        }
24346|  9.39k|        D(fprintf(stderr, "%*c> invalid_group[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' '**' expression ')'"));
24347|  9.39k|        Token * _literal;
24348|  9.39k|        Token * _literal_1;
24349|  9.39k|        Token * a;
24350|  9.39k|        expr_ty expression_var;
24351|  9.39k|        if (
24352|  9.39k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (24352:13): [True: 9.39k, False: 0]
  ------------------
24353|  9.39k|            &&
24354|  9.39k|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (24354:13): [True: 88, False: 9.31k]
  ------------------
24355|     88|            &&
24356|     88|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (24356:13): [True: 4, False: 84]
  ------------------
24357|      4|            &&
24358|      4|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (24358:13): [True: 1, False: 3]
  ------------------
24359|  9.39k|        )
24360|      1|        {
24361|      1|            D(fprintf(stderr, "%*c+ invalid_group[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' '**' expression ')'"));
24362|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use double starred expression here" );
  ------------------
  |  |  213|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
24363|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24363:18): [True: 1, False: 0]
  |  Branch (24363:34): [True: 0, False: 0]
  |  Branch (24363:57): [True: 1, False: 0]
  ------------------
24364|      1|                p->error_indicator = 1;
24365|      1|                p->level--;
24366|      1|                return NULL;
24367|      1|            }
24368|      0|            goto done;
24369|      1|        }
24370|  9.39k|        p->mark = _mark;
24371|  9.39k|        D(fprintf(stderr, "%*c%s invalid_group[%d-%d]: %s failed!\n", p->level, ' ',
24372|  9.39k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' '**' expression ')'"));
24373|  9.39k|    }
24374|  9.39k|    _res = NULL;
24375|  9.39k|  done:
24376|  9.39k|    p->level--;
24377|  9.39k|    return _res;
24378|  9.39k|}
parser.c:_tmp_69_rule:
32877|  47.0k|{
32878|  47.0k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  94.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32878:9): [True: 0, False: 47.0k]
  |  Branch (32878:35): [True: 0, False: 47.0k]
  ------------------
32879|      0|        _Pypegen_stack_overflow(p);
32880|      0|    }
32881|  47.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (32881:9): [True: 0, False: 47.0k]
  ------------------
32882|      0|        p->level--;
32883|      0|        return NULL;
32884|      0|    }
32885|  47.0k|    void * _res = NULL;
32886|  47.0k|    int _mark = p->mark;
32887|  47.0k|    { // listcomp
32888|  47.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (32888:13): [True: 0, False: 47.0k]
  ------------------
32889|      0|            p->level--;
32890|      0|            return NULL;
32891|      0|        }
32892|  47.0k|        D(fprintf(stderr, "%*c> _tmp_69[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "listcomp"));
32893|  47.0k|        expr_ty listcomp_var;
32894|  47.0k|        if (
32895|  47.0k|            (listcomp_var = listcomp_rule(p))  // listcomp
  ------------------
  |  Branch (32895:13): [True: 3.89k, False: 43.1k]
  ------------------
32896|  47.0k|        )
32897|  3.89k|        {
32898|  3.89k|            D(fprintf(stderr, "%*c+ _tmp_69[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "listcomp"));
32899|  3.89k|            _res = listcomp_var;
32900|  3.89k|            goto done;
32901|  3.89k|        }
32902|  43.1k|        p->mark = _mark;
32903|  43.1k|        D(fprintf(stderr, "%*c%s _tmp_69[%d-%d]: %s failed!\n", p->level, ' ',
32904|  43.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "listcomp"));
32905|  43.1k|    }
32906|      0|    { // list
32907|  43.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (32907:13): [True: 7.46k, False: 35.6k]
  ------------------
32908|  7.46k|            p->level--;
32909|  7.46k|            return NULL;
32910|  7.46k|        }
32911|  35.6k|        D(fprintf(stderr, "%*c> _tmp_69[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "list"));
32912|  35.6k|        expr_ty list_var;
32913|  35.6k|        if (
32914|  35.6k|            (list_var = list_rule(p))  // list
  ------------------
  |  Branch (32914:13): [True: 16.9k, False: 18.7k]
  ------------------
32915|  35.6k|        )
32916|  16.9k|        {
32917|  16.9k|            D(fprintf(stderr, "%*c+ _tmp_69[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "list"));
32918|  16.9k|            _res = list_var;
32919|  16.9k|            goto done;
32920|  16.9k|        }
32921|  18.7k|        p->mark = _mark;
32922|  18.7k|        D(fprintf(stderr, "%*c%s _tmp_69[%d-%d]: %s failed!\n", p->level, ' ',
32923|  18.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "list"));
32924|  18.7k|    }
32925|  18.7k|    _res = NULL;
32926|  39.5k|  done:
32927|  39.5k|    p->level--;
32928|  39.5k|    return _res;
32929|  18.7k|}
parser.c:listcomp_rule:
18252|  47.0k|{
18253|  47.0k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  94.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18253:9): [True: 1, False: 47.0k]
  |  Branch (18253:35): [True: 0, False: 47.0k]
  ------------------
18254|      1|        _Pypegen_stack_overflow(p);
18255|      1|    }
18256|  47.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (18256:9): [True: 1, False: 47.0k]
  ------------------
18257|      1|        p->level--;
18258|      1|        return NULL;
18259|      1|    }
18260|  47.0k|    expr_ty _res = NULL;
18261|  47.0k|    int _mark = p->mark;
18262|  47.0k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18262:9): [True: 0, False: 47.0k]
  |  Branch (18262:31): [True: 0, False: 0]
  ------------------
18263|      0|        p->error_indicator = 1;
18264|      0|        p->level--;
18265|      0|        return NULL;
18266|      0|    }
18267|  47.0k|    int _start_lineno = p->tokens[_mark]->lineno;
18268|  47.0k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  47.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 47.0k]
  |  |  ------------------
  ------------------
18269|  47.0k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18270|  47.0k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  47.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 47.0k]
  |  |  ------------------
  ------------------
18271|  47.0k|    { // '[' star_named_expression for_if_clauses ']'
18272|  47.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (18272:13): [True: 0, False: 47.0k]
  ------------------
18273|      0|            p->level--;
18274|      0|            return NULL;
18275|      0|        }
18276|  47.0k|        D(fprintf(stderr, "%*c> listcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' star_named_expression for_if_clauses ']'"));
18277|  47.0k|        Token * _literal;
18278|  47.0k|        Token * _literal_1;
18279|  47.0k|        expr_ty a;
18280|  47.0k|        asdl_comprehension_seq* b;
18281|  47.0k|        if (
18282|  47.0k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (18282:13): [True: 47.0k, False: 0]
  ------------------
18283|  47.0k|            &&
18284|  47.0k|            (a = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (18284:13): [True: 28.5k, False: 18.4k]
  ------------------
18285|  28.5k|            &&
18286|  28.5k|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (18286:13): [True: 4.03k, False: 24.5k]
  ------------------
18287|  4.03k|            &&
18288|  4.03k|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (18288:13): [True: 3.89k, False: 144]
  ------------------
18289|  47.0k|        )
18290|  3.89k|        {
18291|  3.89k|            D(fprintf(stderr, "%*c+ listcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' star_named_expression for_if_clauses ']'"));
18292|  3.89k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18293|  3.89k|            if (_token == NULL) {
  ------------------
  |  Branch (18293:17): [True: 0, False: 3.89k]
  ------------------
18294|      0|                p->level--;
18295|      0|                return NULL;
18296|      0|            }
18297|  3.89k|            int _end_lineno = _token->end_lineno;
18298|  3.89k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.89k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.89k]
  |  |  ------------------
  ------------------
18299|  3.89k|            int _end_col_offset = _token->end_col_offset;
18300|  3.89k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.89k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.89k]
  |  |  ------------------
  ------------------
18301|  3.89k|            _res = _PyAST_ListComp ( a , b , EXTRA );
  ------------------
  |  |  281|  3.89k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18302|  3.89k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18302:18): [True: 0, False: 3.89k]
  |  Branch (18302:34): [True: 0, False: 3.89k]
  |  Branch (18302:57): [True: 0, False: 0]
  ------------------
18303|      0|                p->error_indicator = 1;
18304|      0|                p->level--;
18305|      0|                return NULL;
18306|      0|            }
18307|  3.89k|            goto done;
18308|  3.89k|        }
18309|  43.1k|        p->mark = _mark;
18310|  43.1k|        D(fprintf(stderr, "%*c%s listcomp[%d-%d]: %s failed!\n", p->level, ' ',
18311|  43.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' star_named_expression for_if_clauses ']'"));
18312|  43.1k|    }
18313|  43.1k|    if (p->call_invalid_rules) { // invalid_comprehension
  ------------------
  |  Branch (18313:9): [True: 18.4k, False: 24.6k]
  ------------------
18314|  18.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (18314:13): [True: 3.65k, False: 14.8k]
  ------------------
18315|  3.65k|            p->level--;
18316|  3.65k|            return NULL;
18317|  3.65k|        }
18318|  14.8k|        D(fprintf(stderr, "%*c> listcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18319|  14.8k|        void *invalid_comprehension_var;
18320|  14.8k|        if (
18321|  14.8k|            (invalid_comprehension_var = invalid_comprehension_rule(p))  // invalid_comprehension
  ------------------
  |  Branch (18321:13): [True: 0, False: 14.8k]
  ------------------
18322|  14.8k|        )
18323|      0|        {
18324|      0|            D(fprintf(stderr, "%*c+ listcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18325|      0|            _res = invalid_comprehension_var;
18326|      0|            goto done;
18327|      0|        }
18328|  14.8k|        p->mark = _mark;
18329|  14.8k|        D(fprintf(stderr, "%*c%s listcomp[%d-%d]: %s failed!\n", p->level, ' ',
18330|  14.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_comprehension"));
18331|  14.8k|    }
18332|  39.4k|    _res = NULL;
18333|  43.3k|  done:
18334|  43.3k|    p->level--;
18335|  43.3k|    return _res;
18336|  39.4k|}
parser.c:list_rule:
17605|   186k|{
17606|   186k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   373k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17606:9): [True: 0, False: 186k]
  |  Branch (17606:35): [True: 0, False: 186k]
  ------------------
17607|      0|        _Pypegen_stack_overflow(p);
17608|      0|    }
17609|   186k|    if (p->error_indicator) {
  ------------------
  |  Branch (17609:9): [True: 0, False: 186k]
  ------------------
17610|      0|        p->level--;
17611|      0|        return NULL;
17612|      0|    }
17613|   186k|    expr_ty _res = NULL;
17614|   186k|    int _mark = p->mark;
17615|   186k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17615:9): [True: 0, False: 186k]
  |  Branch (17615:31): [True: 0, False: 0]
  ------------------
17616|      0|        p->error_indicator = 1;
17617|      0|        p->level--;
17618|      0|        return NULL;
17619|      0|    }
17620|   186k|    int _start_lineno = p->tokens[_mark]->lineno;
17621|   186k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   186k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 186k]
  |  |  ------------------
  ------------------
17622|   186k|    int _start_col_offset = p->tokens[_mark]->col_offset;
17623|   186k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   186k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 186k]
  |  |  ------------------
  ------------------
17624|   186k|    { // '[' star_named_expressions_sequence? ']'
17625|   186k|        if (p->error_indicator) {
  ------------------
  |  Branch (17625:13): [True: 0, False: 186k]
  ------------------
17626|      0|            p->level--;
17627|      0|            return NULL;
17628|      0|        }
17629|   186k|        D(fprintf(stderr, "%*c> list[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' star_named_expressions_sequence? ']'"));
17630|   186k|        Token * _literal;
17631|   186k|        Token * _literal_1;
17632|   186k|        void *a;
17633|   186k|        if (
17634|   186k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (17634:13): [True: 41.0k, False: 145k]
  ------------------
17635|  41.0k|            &&
17636|  41.0k|            (a = star_named_expressions_sequence_rule(p), !p->error_indicator)  // star_named_expressions_sequence?
  ------------------
  |  Branch (17636:13): [True: 39.3k, False: 1.63k]
  ------------------
17637|  39.3k|            &&
17638|  39.3k|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (17638:13): [True: 18.1k, False: 21.2k]
  ------------------
17639|   186k|        )
17640|  18.1k|        {
17641|  18.1k|            D(fprintf(stderr, "%*c+ list[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' star_named_expressions_sequence? ']'"));
17642|  18.1k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17643|  18.1k|            if (_token == NULL) {
  ------------------
  |  Branch (17643:17): [True: 0, False: 18.1k]
  ------------------
17644|      0|                p->level--;
17645|      0|                return NULL;
17646|      0|            }
17647|  18.1k|            int _end_lineno = _token->end_lineno;
17648|  18.1k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  18.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 18.1k]
  |  |  ------------------
  ------------------
17649|  18.1k|            int _end_col_offset = _token->end_col_offset;
17650|  18.1k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  18.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 18.1k]
  |  |  ------------------
  ------------------
17651|  18.1k|            _res = _PyAST_List ( a , Load , EXTRA );
  ------------------
  |  |  281|  18.1k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17652|  18.1k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17652:18): [True: 0, False: 18.1k]
  |  Branch (17652:34): [True: 0, False: 18.1k]
  |  Branch (17652:57): [True: 0, False: 0]
  ------------------
17653|      0|                p->error_indicator = 1;
17654|      0|                p->level--;
17655|      0|                return NULL;
17656|      0|            }
17657|  18.1k|            goto done;
17658|  18.1k|        }
17659|   168k|        p->mark = _mark;
17660|   168k|        D(fprintf(stderr, "%*c%s list[%d-%d]: %s failed!\n", p->level, ' ',
17661|   168k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' star_named_expressions_sequence? ']'"));
17662|   168k|    }
17663|   168k|    _res = NULL;
17664|   186k|  done:
17665|   186k|    p->level--;
17666|   186k|    return _res;
17667|   168k|}
parser.c:_tmp_70_rule:
32934|  46.9k|{
32935|  46.9k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  93.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32935:9): [True: 0, False: 46.9k]
  |  Branch (32935:35): [True: 0, False: 46.9k]
  ------------------
32936|      0|        _Pypegen_stack_overflow(p);
32937|      0|    }
32938|  46.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (32938:9): [True: 0, False: 46.9k]
  ------------------
32939|      0|        p->level--;
32940|      0|        return NULL;
32941|      0|    }
32942|  46.9k|    void * _res = NULL;
32943|  46.9k|    int _mark = p->mark;
32944|  46.9k|    { // dictcomp
32945|  46.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (32945:13): [True: 0, False: 46.9k]
  ------------------
32946|      0|            p->level--;
32947|      0|            return NULL;
32948|      0|        }
32949|  46.9k|        D(fprintf(stderr, "%*c> _tmp_70[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dictcomp"));
32950|  46.9k|        expr_ty dictcomp_var;
32951|  46.9k|        if (
32952|  46.9k|            (dictcomp_var = dictcomp_rule(p))  // dictcomp
  ------------------
  |  Branch (32952:13): [True: 2.21k, False: 44.7k]
  ------------------
32953|  46.9k|        )
32954|  2.21k|        {
32955|  2.21k|            D(fprintf(stderr, "%*c+ _tmp_70[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dictcomp"));
32956|  2.21k|            _res = dictcomp_var;
32957|  2.21k|            goto done;
32958|  2.21k|        }
32959|  44.7k|        p->mark = _mark;
32960|  44.7k|        D(fprintf(stderr, "%*c%s _tmp_70[%d-%d]: %s failed!\n", p->level, ' ',
32961|  44.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dictcomp"));
32962|  44.7k|    }
32963|      0|    { // setcomp
32964|  44.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (32964:13): [True: 4.68k, False: 40.0k]
  ------------------
32965|  4.68k|            p->level--;
32966|  4.68k|            return NULL;
32967|  4.68k|        }
32968|  40.0k|        D(fprintf(stderr, "%*c> _tmp_70[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "setcomp"));
32969|  40.0k|        expr_ty setcomp_var;
32970|  40.0k|        if (
32971|  40.0k|            (setcomp_var = setcomp_rule(p))  // setcomp
  ------------------
  |  Branch (32971:13): [True: 7.95k, False: 32.1k]
  ------------------
32972|  40.0k|        )
32973|  7.95k|        {
32974|  7.95k|            D(fprintf(stderr, "%*c+ _tmp_70[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "setcomp"));
32975|  7.95k|            _res = setcomp_var;
32976|  7.95k|            goto done;
32977|  7.95k|        }
32978|  32.1k|        p->mark = _mark;
32979|  32.1k|        D(fprintf(stderr, "%*c%s _tmp_70[%d-%d]: %s failed!\n", p->level, ' ',
32980|  32.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "setcomp"));
32981|  32.1k|    }
32982|      0|    { // dict
32983|  32.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (32983:13): [True: 934, False: 31.1k]
  ------------------
32984|    934|            p->level--;
32985|    934|            return NULL;
32986|    934|        }
32987|  31.1k|        D(fprintf(stderr, "%*c> _tmp_70[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dict"));
32988|  31.1k|        expr_ty dict_var;
32989|  31.1k|        if (
32990|  31.1k|            (dict_var = dict_rule(p))  // dict
  ------------------
  |  Branch (32990:13): [True: 2.36k, False: 28.8k]
  ------------------
32991|  31.1k|        )
32992|  2.36k|        {
32993|  2.36k|            D(fprintf(stderr, "%*c+ _tmp_70[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dict"));
32994|  2.36k|            _res = dict_var;
32995|  2.36k|            goto done;
32996|  2.36k|        }
32997|  28.8k|        p->mark = _mark;
32998|  28.8k|        D(fprintf(stderr, "%*c%s _tmp_70[%d-%d]: %s failed!\n", p->level, ' ',
32999|  28.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dict"));
33000|  28.8k|    }
33001|      0|    { // set
33002|  28.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (33002:13): [True: 1.38k, False: 27.4k]
  ------------------
33003|  1.38k|            p->level--;
33004|  1.38k|            return NULL;
33005|  1.38k|        }
33006|  27.4k|        D(fprintf(stderr, "%*c> _tmp_70[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "set"));
33007|  27.4k|        expr_ty set_var;
33008|  27.4k|        if (
33009|  27.4k|            (set_var = set_rule(p))  // set
  ------------------
  |  Branch (33009:13): [True: 19.2k, False: 8.18k]
  ------------------
33010|  27.4k|        )
33011|  19.2k|        {
33012|  19.2k|            D(fprintf(stderr, "%*c+ _tmp_70[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "set"));
33013|  19.2k|            _res = set_var;
33014|  19.2k|            goto done;
33015|  19.2k|        }
33016|  8.18k|        p->mark = _mark;
33017|  8.18k|        D(fprintf(stderr, "%*c%s _tmp_70[%d-%d]: %s failed!\n", p->level, ' ',
33018|  8.18k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "set"));
33019|  8.18k|    }
33020|  8.18k|    _res = NULL;
33021|  39.9k|  done:
33022|  39.9k|    p->level--;
33023|  39.9k|    return _res;
33024|  8.18k|}
parser.c:dictcomp_rule:
18521|  46.9k|{
18522|  46.9k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  93.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18522:9): [True: 1, False: 46.9k]
  |  Branch (18522:35): [True: 0, False: 46.9k]
  ------------------
18523|      1|        _Pypegen_stack_overflow(p);
18524|      1|    }
18525|  46.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (18525:9): [True: 1, False: 46.9k]
  ------------------
18526|      1|        p->level--;
18527|      1|        return NULL;
18528|      1|    }
18529|  46.9k|    expr_ty _res = NULL;
18530|  46.9k|    int _mark = p->mark;
18531|  46.9k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18531:9): [True: 0, False: 46.9k]
  |  Branch (18531:31): [True: 0, False: 0]
  ------------------
18532|      0|        p->error_indicator = 1;
18533|      0|        p->level--;
18534|      0|        return NULL;
18535|      0|    }
18536|  46.9k|    int _start_lineno = p->tokens[_mark]->lineno;
18537|  46.9k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  46.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 46.9k]
  |  |  ------------------
  ------------------
18538|  46.9k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18539|  46.9k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  46.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 46.9k]
  |  |  ------------------
  ------------------
18540|  46.9k|    { // '{' kvpair for_if_clauses '}'
18541|  46.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (18541:13): [True: 0, False: 46.9k]
  ------------------
18542|      0|            p->level--;
18543|      0|            return NULL;
18544|      0|        }
18545|  46.9k|        D(fprintf(stderr, "%*c> dictcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' kvpair for_if_clauses '}'"));
18546|  46.9k|        Token * _literal;
18547|  46.9k|        Token * _literal_1;
18548|  46.9k|        KeyValuePair* a;
18549|  46.9k|        asdl_comprehension_seq* b;
18550|  46.9k|        if (
18551|  46.9k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (18551:13): [True: 46.9k, False: 0]
  ------------------
18552|  46.9k|            &&
18553|  46.9k|            (a = kvpair_rule(p))  // kvpair
  ------------------
  |  Branch (18553:13): [True: 3.56k, False: 43.4k]
  ------------------
18554|  3.56k|            &&
18555|  3.56k|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (18555:13): [True: 1.22k, False: 2.34k]
  ------------------
18556|  1.22k|            &&
18557|  1.22k|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (18557:13): [True: 1.20k, False: 21]
  ------------------
18558|  46.9k|        )
18559|  1.20k|        {
18560|  1.20k|            D(fprintf(stderr, "%*c+ dictcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' kvpair for_if_clauses '}'"));
18561|  1.20k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18562|  1.20k|            if (_token == NULL) {
  ------------------
  |  Branch (18562:17): [True: 0, False: 1.20k]
  ------------------
18563|      0|                p->level--;
18564|      0|                return NULL;
18565|      0|            }
18566|  1.20k|            int _end_lineno = _token->end_lineno;
18567|  1.20k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.20k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.20k]
  |  |  ------------------
  ------------------
18568|  1.20k|            int _end_col_offset = _token->end_col_offset;
18569|  1.20k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.20k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.20k]
  |  |  ------------------
  ------------------
18570|  1.20k|            _res = _PyAST_DictComp ( a -> key , a -> value , b , EXTRA );
  ------------------
  |  |  281|  1.20k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18571|  1.20k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18571:18): [True: 0, False: 1.20k]
  |  Branch (18571:34): [True: 0, False: 1.20k]
  |  Branch (18571:57): [True: 0, False: 0]
  ------------------
18572|      0|                p->error_indicator = 1;
18573|      0|                p->level--;
18574|      0|                return NULL;
18575|      0|            }
18576|  1.20k|            goto done;
18577|  1.20k|        }
18578|  45.7k|        p->mark = _mark;
18579|  45.7k|        D(fprintf(stderr, "%*c%s dictcomp[%d-%d]: %s failed!\n", p->level, ' ',
18580|  45.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' kvpair for_if_clauses '}'"));
18581|  45.7k|    }
18582|      0|    { // '{' '**' expression for_if_clauses '}'
18583|  45.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (18583:13): [True: 4.54k, False: 41.2k]
  ------------------
18584|  4.54k|            p->level--;
18585|  4.54k|            return NULL;
18586|  4.54k|        }
18587|  41.2k|        D(fprintf(stderr, "%*c> dictcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' '**' expression for_if_clauses '}'"));
18588|  41.2k|        Token * _literal;
18589|  41.2k|        Token * _literal_1;
18590|  41.2k|        Token * _literal_2;
18591|  41.2k|        expr_ty a;
18592|  41.2k|        asdl_comprehension_seq* b;
18593|  41.2k|        if (
18594|  41.2k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (18594:13): [True: 41.2k, False: 0]
  ------------------
18595|  41.2k|            &&
18596|  41.2k|            (_literal_1 = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (18596:13): [True: 2.26k, False: 38.9k]
  ------------------
18597|  2.26k|            &&
18598|  2.26k|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (18598:13): [True: 1.84k, False: 418]
  ------------------
18599|  1.84k|            &&
18600|  1.84k|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (18600:13): [True: 1.02k, False: 824]
  ------------------
18601|  1.02k|            &&
18602|  1.02k|            (_literal_2 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (18602:13): [True: 1.01k, False: 6]
  ------------------
18603|  41.2k|        )
18604|  1.01k|        {
18605|  1.01k|            D(fprintf(stderr, "%*c+ dictcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' '**' expression for_if_clauses '}'"));
18606|  1.01k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18607|  1.01k|            if (_token == NULL) {
  ------------------
  |  Branch (18607:17): [True: 0, False: 1.01k]
  ------------------
18608|      0|                p->level--;
18609|      0|                return NULL;
18610|      0|            }
18611|  1.01k|            int _end_lineno = _token->end_lineno;
18612|  1.01k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.01k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.01k]
  |  |  ------------------
  ------------------
18613|  1.01k|            int _end_col_offset = _token->end_col_offset;
18614|  1.01k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.01k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.01k]
  |  |  ------------------
  ------------------
18615|  1.01k|            _res = _PyAST_DictComp ( a , NULL , b , EXTRA );
  ------------------
  |  |  281|  1.01k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18616|  1.01k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18616:18): [True: 0, False: 1.01k]
  |  Branch (18616:34): [True: 0, False: 1.01k]
  |  Branch (18616:57): [True: 0, False: 0]
  ------------------
18617|      0|                p->error_indicator = 1;
18618|      0|                p->level--;
18619|      0|                return NULL;
18620|      0|            }
18621|  1.01k|            goto done;
18622|  1.01k|        }
18623|  40.2k|        p->mark = _mark;
18624|  40.2k|        D(fprintf(stderr, "%*c%s dictcomp[%d-%d]: %s failed!\n", p->level, ' ',
18625|  40.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' '**' expression for_if_clauses '}'"));
18626|  40.2k|    }
18627|  40.2k|    _res = NULL;
18628|  42.4k|  done:
18629|  42.4k|    p->level--;
18630|  42.4k|    return _res;
18631|  40.2k|}
parser.c:kvpair_rule:
18010|   108k|{
18011|   108k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   216k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18011:9): [True: 0, False: 108k]
  |  Branch (18011:35): [True: 0, False: 108k]
  ------------------
18012|      0|        _Pypegen_stack_overflow(p);
18013|      0|    }
18014|   108k|    if (p->error_indicator) {
  ------------------
  |  Branch (18014:9): [True: 0, False: 108k]
  ------------------
18015|      0|        p->level--;
18016|      0|        return NULL;
18017|      0|    }
18018|   108k|    KeyValuePair* _res = NULL;
18019|   108k|    int _mark = p->mark;
18020|   108k|    { // expression ':' expression
18021|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (18021:13): [True: 0, False: 108k]
  ------------------
18022|      0|            p->level--;
18023|      0|            return NULL;
18024|      0|        }
18025|   108k|        D(fprintf(stderr, "%*c> kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' expression"));
18026|   108k|        Token * _literal;
18027|   108k|        expr_ty a;
18028|   108k|        expr_ty b;
18029|   108k|        if (
18030|   108k|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (18030:13): [True: 83.4k, False: 24.9k]
  ------------------
18031|  83.4k|            &&
18032|  83.4k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (18032:13): [True: 11.6k, False: 71.7k]
  ------------------
18033|  11.6k|            &&
18034|  11.6k|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (18034:13): [True: 9.48k, False: 2.16k]
  ------------------
18035|   108k|        )
18036|  9.48k|        {
18037|  9.48k|            D(fprintf(stderr, "%*c+ kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' expression"));
18038|  9.48k|            _res = _PyPegen_key_value_pair ( p , a , b );
18039|  9.48k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18039:18): [True: 0, False: 9.48k]
  |  Branch (18039:34): [True: 0, False: 9.48k]
  |  Branch (18039:57): [True: 0, False: 0]
  ------------------
18040|      0|                p->error_indicator = 1;
18041|      0|                p->level--;
18042|      0|                return NULL;
18043|      0|            }
18044|  9.48k|            goto done;
18045|  9.48k|        }
18046|  98.9k|        p->mark = _mark;
18047|  98.9k|        D(fprintf(stderr, "%*c%s kvpair[%d-%d]: %s failed!\n", p->level, ' ',
18048|  98.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' expression"));
18049|  98.9k|    }
18050|  98.9k|    _res = NULL;
18051|   108k|  done:
18052|   108k|    p->level--;
18053|   108k|    return _res;
18054|  98.9k|}
parser.c:setcomp_rule:
18341|  40.0k|{
18342|  40.0k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  80.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18342:9): [True: 0, False: 40.0k]
  |  Branch (18342:35): [True: 0, False: 40.0k]
  ------------------
18343|      0|        _Pypegen_stack_overflow(p);
18344|      0|    }
18345|  40.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (18345:9): [True: 0, False: 40.0k]
  ------------------
18346|      0|        p->level--;
18347|      0|        return NULL;
18348|      0|    }
18349|  40.0k|    expr_ty _res = NULL;
18350|  40.0k|    int _mark = p->mark;
18351|  40.0k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18351:9): [True: 0, False: 40.0k]
  |  Branch (18351:31): [True: 0, False: 0]
  ------------------
18352|      0|        p->error_indicator = 1;
18353|      0|        p->level--;
18354|      0|        return NULL;
18355|      0|    }
18356|  40.0k|    int _start_lineno = p->tokens[_mark]->lineno;
18357|  40.0k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  40.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 40.0k]
  |  |  ------------------
  ------------------
18358|  40.0k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18359|  40.0k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  40.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 40.0k]
  |  |  ------------------
  ------------------
18360|  40.0k|    { // '{' star_named_expression for_if_clauses '}'
18361|  40.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (18361:13): [True: 0, False: 40.0k]
  ------------------
18362|      0|            p->level--;
18363|      0|            return NULL;
18364|      0|        }
18365|  40.0k|        D(fprintf(stderr, "%*c> setcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' star_named_expression for_if_clauses '}'"));
18366|  40.0k|        Token * _literal;
18367|  40.0k|        Token * _literal_1;
18368|  40.0k|        expr_ty a;
18369|  40.0k|        asdl_comprehension_seq* b;
18370|  40.0k|        if (
18371|  40.0k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (18371:13): [True: 40.0k, False: 0]
  ------------------
18372|  40.0k|            &&
18373|  40.0k|            (a = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (18373:13): [True: 33.3k, False: 6.72k]
  ------------------
18374|  33.3k|            &&
18375|  33.3k|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (18375:13): [True: 8.30k, False: 25.0k]
  ------------------
18376|  8.30k|            &&
18377|  8.30k|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (18377:13): [True: 7.95k, False: 357]
  ------------------
18378|  40.0k|        )
18379|  7.95k|        {
18380|  7.95k|            D(fprintf(stderr, "%*c+ setcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' star_named_expression for_if_clauses '}'"));
18381|  7.95k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18382|  7.95k|            if (_token == NULL) {
  ------------------
  |  Branch (18382:17): [True: 0, False: 7.95k]
  ------------------
18383|      0|                p->level--;
18384|      0|                return NULL;
18385|      0|            }
18386|  7.95k|            int _end_lineno = _token->end_lineno;
18387|  7.95k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  7.95k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 7.95k]
  |  |  ------------------
  ------------------
18388|  7.95k|            int _end_col_offset = _token->end_col_offset;
18389|  7.95k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  7.95k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 7.95k]
  |  |  ------------------
  ------------------
18390|  7.95k|            _res = _PyAST_SetComp ( a , b , EXTRA );
  ------------------
  |  |  281|  7.95k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18391|  7.95k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18391:18): [True: 0, False: 7.95k]
  |  Branch (18391:34): [True: 0, False: 7.95k]
  |  Branch (18391:57): [True: 0, False: 0]
  ------------------
18392|      0|                p->error_indicator = 1;
18393|      0|                p->level--;
18394|      0|                return NULL;
18395|      0|            }
18396|  7.95k|            goto done;
18397|  7.95k|        }
18398|  32.1k|        p->mark = _mark;
18399|  32.1k|        D(fprintf(stderr, "%*c%s setcomp[%d-%d]: %s failed!\n", p->level, ' ',
18400|  32.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' star_named_expression for_if_clauses '}'"));
18401|  32.1k|    }
18402|  32.1k|    if (p->call_invalid_rules) { // invalid_comprehension
  ------------------
  |  Branch (18402:9): [True: 7.12k, False: 24.9k]
  ------------------
18403|  7.12k|        if (p->error_indicator) {
  ------------------
  |  Branch (18403:13): [True: 557, False: 6.56k]
  ------------------
18404|    557|            p->level--;
18405|    557|            return NULL;
18406|    557|        }
18407|  6.56k|        D(fprintf(stderr, "%*c> setcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18408|  6.56k|        void *invalid_comprehension_var;
18409|  6.56k|        if (
18410|  6.56k|            (invalid_comprehension_var = invalid_comprehension_rule(p))  // invalid_comprehension
  ------------------
  |  Branch (18410:13): [True: 0, False: 6.56k]
  ------------------
18411|  6.56k|        )
18412|      0|        {
18413|      0|            D(fprintf(stderr, "%*c+ setcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18414|      0|            _res = invalid_comprehension_var;
18415|      0|            goto done;
18416|      0|        }
18417|  6.56k|        p->mark = _mark;
18418|  6.56k|        D(fprintf(stderr, "%*c%s setcomp[%d-%d]: %s failed!\n", p->level, ' ',
18419|  6.56k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_comprehension"));
18420|  6.56k|    }
18421|  31.5k|    _res = NULL;
18422|  39.5k|  done:
18423|  39.5k|    p->level--;
18424|  39.5k|    return _res;
18425|  31.5k|}
parser.c:dict_rule:
17806|  31.1k|{
17807|  31.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  62.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17807:9): [True: 0, False: 31.1k]
  |  Branch (17807:35): [True: 0, False: 31.1k]
  ------------------
17808|      0|        _Pypegen_stack_overflow(p);
17809|      0|    }
17810|  31.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (17810:9): [True: 0, False: 31.1k]
  ------------------
17811|      0|        p->level--;
17812|      0|        return NULL;
17813|      0|    }
17814|  31.1k|    expr_ty _res = NULL;
17815|  31.1k|    int _mark = p->mark;
17816|  31.1k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17816:9): [True: 0, False: 31.1k]
  |  Branch (17816:31): [True: 0, False: 0]
  ------------------
17817|      0|        p->error_indicator = 1;
17818|      0|        p->level--;
17819|      0|        return NULL;
17820|      0|    }
17821|  31.1k|    int _start_lineno = p->tokens[_mark]->lineno;
17822|  31.1k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  31.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 31.1k]
  |  |  ------------------
  ------------------
17823|  31.1k|    int _start_col_offset = p->tokens[_mark]->col_offset;
17824|  31.1k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  31.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 31.1k]
  |  |  ------------------
  ------------------
17825|  31.1k|    { // '{' double_starred_kvpairs? '}'
17826|  31.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (17826:13): [True: 0, False: 31.1k]
  ------------------
17827|      0|            p->level--;
17828|      0|            return NULL;
17829|      0|        }
17830|  31.1k|        D(fprintf(stderr, "%*c> dict[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' double_starred_kvpairs? '}'"));
17831|  31.1k|        Token * _literal;
17832|  31.1k|        Token * _literal_1;
17833|  31.1k|        void *a;
17834|  31.1k|        if (
17835|  31.1k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (17835:13): [True: 31.1k, False: 0]
  ------------------
17836|  31.1k|            &&
17837|  31.1k|            (a = double_starred_kvpairs_rule(p), !p->error_indicator)  // double_starred_kvpairs?
  ------------------
  |  Branch (17837:13): [True: 30.8k, False: 351]
  ------------------
17838|  30.8k|            &&
17839|  30.8k|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (17839:13): [True: 2.36k, False: 28.4k]
  ------------------
17840|  31.1k|        )
17841|  2.36k|        {
17842|  2.36k|            D(fprintf(stderr, "%*c+ dict[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' double_starred_kvpairs? '}'"));
17843|  2.36k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17844|  2.36k|            if (_token == NULL) {
  ------------------
  |  Branch (17844:17): [True: 0, False: 2.36k]
  ------------------
17845|      0|                p->level--;
17846|      0|                return NULL;
17847|      0|            }
17848|  2.36k|            int _end_lineno = _token->end_lineno;
17849|  2.36k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.36k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.36k]
  |  |  ------------------
  ------------------
17850|  2.36k|            int _end_col_offset = _token->end_col_offset;
17851|  2.36k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.36k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.36k]
  |  |  ------------------
  ------------------
17852|  2.36k|            _res = _PyAST_Dict ( CHECK ( asdl_expr_seq* , _PyPegen_get_keys ( p , a ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_values ( p , a ) ) , EXTRA );
  ------------------
  |  |  245|  2.36k|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Dict ( CHECK ( asdl_expr_seq* , _PyPegen_get_keys ( p , a ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_values ( p , a ) ) , EXTRA );
  ------------------
  |  |  245|  2.36k|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Dict ( CHECK ( asdl_expr_seq* , _PyPegen_get_keys ( p , a ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_values ( p , a ) ) , EXTRA );
  ------------------
  |  |  281|  2.36k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17853|  2.36k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17853:18): [True: 0, False: 2.36k]
  |  Branch (17853:34): [True: 0, False: 2.36k]
  |  Branch (17853:57): [True: 0, False: 0]
  ------------------
17854|      0|                p->error_indicator = 1;
17855|      0|                p->level--;
17856|      0|                return NULL;
17857|      0|            }
17858|  2.36k|            goto done;
17859|  2.36k|        }
17860|  28.8k|        p->mark = _mark;
17861|  28.8k|        D(fprintf(stderr, "%*c%s dict[%d-%d]: %s failed!\n", p->level, ' ',
17862|  28.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' double_starred_kvpairs? '}'"));
17863|  28.8k|    }
17864|      0|    { // '{' invalid_double_starred_kvpairs '}'
17865|  28.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (17865:13): [True: 351, False: 28.4k]
  ------------------
17866|    351|            p->level--;
17867|    351|            return NULL;
17868|    351|        }
17869|  28.4k|        D(fprintf(stderr, "%*c> dict[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' invalid_double_starred_kvpairs '}'"));
17870|  28.4k|        Token * _literal;
17871|  28.4k|        Token * _literal_1;
17872|  28.4k|        void *invalid_double_starred_kvpairs_var;
17873|  28.4k|        if (
17874|  28.4k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (17874:13): [True: 28.4k, False: 0]
  ------------------
17875|  28.4k|            &&
17876|  28.4k|            (invalid_double_starred_kvpairs_var = invalid_double_starred_kvpairs_rule(p))  // invalid_double_starred_kvpairs
  ------------------
  |  Branch (17876:13): [True: 0, False: 28.4k]
  ------------------
17877|      0|            &&
17878|      0|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (17878:13): [True: 0, False: 0]
  ------------------
17879|  28.4k|        )
17880|      0|        {
17881|      0|            D(fprintf(stderr, "%*c+ dict[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' invalid_double_starred_kvpairs '}'"));
17882|      0|            _res = _PyPegen_dummy_name(p, _literal, invalid_double_starred_kvpairs_var, _literal_1);
17883|      0|            goto done;
17884|      0|        }
17885|  28.4k|        p->mark = _mark;
17886|  28.4k|        D(fprintf(stderr, "%*c%s dict[%d-%d]: %s failed!\n", p->level, ' ',
17887|  28.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' invalid_double_starred_kvpairs '}'"));
17888|  28.4k|    }
17889|  28.4k|    _res = NULL;
17890|  30.8k|  done:
17891|  30.8k|    p->level--;
17892|  30.8k|    return _res;
17893|  28.4k|}
parser.c:double_starred_kvpairs_rule:
17898|  31.1k|{
17899|  31.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  62.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17899:9): [True: 0, False: 31.1k]
  |  Branch (17899:35): [True: 0, False: 31.1k]
  ------------------
17900|      0|        _Pypegen_stack_overflow(p);
17901|      0|    }
17902|  31.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (17902:9): [True: 0, False: 31.1k]
  ------------------
17903|      0|        p->level--;
17904|      0|        return NULL;
17905|      0|    }
17906|  31.1k|    asdl_seq* _res = NULL;
17907|  31.1k|    int _mark = p->mark;
17908|  31.1k|    { // ','.double_starred_kvpair+ ','?
17909|  31.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (17909:13): [True: 0, False: 31.1k]
  ------------------
17910|      0|            p->level--;
17911|      0|            return NULL;
17912|      0|        }
17913|  31.1k|        D(fprintf(stderr, "%*c> double_starred_kvpairs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.double_starred_kvpair+ ','?"));
17914|  31.1k|        void *_opt_var;
17915|  31.1k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  31.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 31.1k]
  |  |  ------------------
  ------------------
17916|  31.1k|        asdl_seq * a;
17917|  31.1k|        if (
17918|  31.1k|            (a = _gather_86_rule(p))  // ','.double_starred_kvpair+
  ------------------
  |  Branch (17918:13): [True: 3.18k, False: 27.9k]
  ------------------
17919|  3.18k|            &&
17920|  3.18k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (17920:13): [True: 2.83k, False: 351]
  ------------------
17921|  31.1k|        )
17922|  2.83k|        {
17923|  2.83k|            D(fprintf(stderr, "%*c+ double_starred_kvpairs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.double_starred_kvpair+ ','?"));
17924|  2.83k|            _res = a;
17925|  2.83k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17925:18): [True: 0, False: 2.83k]
  |  Branch (17925:34): [True: 0, False: 2.83k]
  |  Branch (17925:57): [True: 0, False: 0]
  ------------------
17926|      0|                p->error_indicator = 1;
17927|      0|                p->level--;
17928|      0|                return NULL;
17929|      0|            }
17930|  2.83k|            goto done;
17931|  2.83k|        }
17932|  28.3k|        p->mark = _mark;
17933|  28.3k|        D(fprintf(stderr, "%*c%s double_starred_kvpairs[%d-%d]: %s failed!\n", p->level, ' ',
17934|  28.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.double_starred_kvpair+ ','?"));
17935|  28.3k|    }
17936|  28.3k|    _res = NULL;
17937|  31.1k|  done:
17938|  31.1k|    p->level--;
17939|  31.1k|    return _res;
17940|  28.3k|}
parser.c:_gather_86_rule:
34040|  58.8k|{
34041|  58.8k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   117k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34041:9): [True: 0, False: 58.8k]
  |  Branch (34041:35): [True: 0, False: 58.8k]
  ------------------
34042|      0|        _Pypegen_stack_overflow(p);
34043|      0|    }
34044|  58.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (34044:9): [True: 0, False: 58.8k]
  ------------------
34045|      0|        p->level--;
34046|      0|        return NULL;
34047|      0|    }
34048|  58.8k|    asdl_seq * _res = NULL;
34049|  58.8k|    int _mark = p->mark;
34050|  58.8k|    { // double_starred_kvpair _loop0_85
34051|  58.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (34051:13): [True: 0, False: 58.8k]
  ------------------
34052|      0|            p->level--;
34053|      0|            return NULL;
34054|      0|        }
34055|  58.8k|        D(fprintf(stderr, "%*c> _gather_86[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "double_starred_kvpair _loop0_85"));
34056|  58.8k|        KeyValuePair* elem;
34057|  58.8k|        asdl_seq * seq;
34058|  58.8k|        if (
34059|  58.8k|            (elem = double_starred_kvpair_rule(p))  // double_starred_kvpair
  ------------------
  |  Branch (34059:13): [True: 4.96k, False: 53.8k]
  ------------------
34060|  4.96k|            &&
34061|  4.96k|            (seq = _loop0_85_rule(p))  // _loop0_85
  ------------------
  |  Branch (34061:13): [True: 4.96k, False: 0]
  ------------------
34062|  58.8k|        )
34063|  4.96k|        {
34064|  4.96k|            D(fprintf(stderr, "%*c+ _gather_86[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "double_starred_kvpair _loop0_85"));
34065|  4.96k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
34066|  4.96k|            goto done;
34067|  4.96k|        }
34068|  53.8k|        p->mark = _mark;
34069|  53.8k|        D(fprintf(stderr, "%*c%s _gather_86[%d-%d]: %s failed!\n", p->level, ' ',
34070|  53.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "double_starred_kvpair _loop0_85"));
34071|  53.8k|    }
34072|  53.8k|    _res = NULL;
34073|  58.8k|  done:
34074|  58.8k|    p->level--;
34075|  58.8k|    return _res;
34076|  53.8k|}
parser.c:double_starred_kvpair_rule:
17945|  63.2k|{
17946|  63.2k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   126k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17946:9): [True: 0, False: 63.2k]
  |  Branch (17946:35): [True: 0, False: 63.2k]
  ------------------
17947|      0|        _Pypegen_stack_overflow(p);
17948|      0|    }
17949|  63.2k|    if (p->error_indicator) {
  ------------------
  |  Branch (17949:9): [True: 0, False: 63.2k]
  ------------------
17950|      0|        p->level--;
17951|      0|        return NULL;
17952|      0|    }
17953|  63.2k|    KeyValuePair* _res = NULL;
17954|  63.2k|    int _mark = p->mark;
17955|  63.2k|    { // '**' bitwise_or
17956|  63.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (17956:13): [True: 0, False: 63.2k]
  ------------------
17957|      0|            p->level--;
17958|      0|            return NULL;
17959|      0|        }
17960|  63.2k|        D(fprintf(stderr, "%*c> double_starred_kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or"));
17961|  63.2k|        Token * _literal;
17962|  63.2k|        expr_ty a;
17963|  63.2k|        if (
17964|  63.2k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (17964:13): [True: 2.37k, False: 60.9k]
  ------------------
17965|  2.37k|            &&
17966|  2.37k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (17966:13): [True: 1.77k, False: 601]
  ------------------
17967|  63.2k|        )
17968|  1.77k|        {
17969|  1.77k|            D(fprintf(stderr, "%*c+ double_starred_kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or"));
17970|  1.77k|            _res = _PyPegen_key_value_pair ( p , NULL , a );
17971|  1.77k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17971:18): [True: 0, False: 1.77k]
  |  Branch (17971:34): [True: 0, False: 1.77k]
  |  Branch (17971:57): [True: 0, False: 0]
  ------------------
17972|      0|                p->error_indicator = 1;
17973|      0|                p->level--;
17974|      0|                return NULL;
17975|      0|            }
17976|  1.77k|            goto done;
17977|  1.77k|        }
17978|  61.5k|        p->mark = _mark;
17979|  61.5k|        D(fprintf(stderr, "%*c%s double_starred_kvpair[%d-%d]: %s failed!\n", p->level, ' ',
17980|  61.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' bitwise_or"));
17981|  61.5k|    }
17982|      0|    { // kvpair
17983|  61.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (17983:13): [True: 58, False: 61.4k]
  ------------------
17984|     58|            p->level--;
17985|     58|            return NULL;
17986|     58|        }
17987|  61.4k|        D(fprintf(stderr, "%*c> double_starred_kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kvpair"));
17988|  61.4k|        KeyValuePair* kvpair_var;
17989|  61.4k|        if (
17990|  61.4k|            (kvpair_var = kvpair_rule(p))  // kvpair
  ------------------
  |  Branch (17990:13): [True: 5.92k, False: 55.5k]
  ------------------
17991|  61.4k|        )
17992|  5.92k|        {
17993|  5.92k|            D(fprintf(stderr, "%*c+ double_starred_kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kvpair"));
17994|  5.92k|            _res = kvpair_var;
17995|  5.92k|            goto done;
17996|  5.92k|        }
17997|  55.5k|        p->mark = _mark;
17998|  55.5k|        D(fprintf(stderr, "%*c%s double_starred_kvpair[%d-%d]: %s failed!\n", p->level, ' ',
17999|  55.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kvpair"));
18000|  55.5k|    }
18001|  55.5k|    _res = NULL;
18002|  63.2k|  done:
18003|  63.2k|    p->level--;
18004|  63.2k|    return _res;
18005|  55.5k|}
parser.c:_loop0_85_rule:
33964|  4.96k|{
33965|  4.96k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  9.92k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33965:9): [True: 0, False: 4.96k]
  |  Branch (33965:35): [True: 0, False: 4.96k]
  ------------------
33966|      0|        _Pypegen_stack_overflow(p);
33967|      0|    }
33968|  4.96k|    if (p->error_indicator) {
  ------------------
  |  Branch (33968:9): [True: 0, False: 4.96k]
  ------------------
33969|      0|        p->level--;
33970|      0|        return NULL;
33971|      0|    }
33972|  4.96k|    void *_res = NULL;
33973|  4.96k|    int _mark = p->mark;
33974|  4.96k|    void **_children = PyMem_Malloc(sizeof(void *));
33975|  4.96k|    if (!_children) {
  ------------------
  |  Branch (33975:9): [True: 0, False: 4.96k]
  ------------------
33976|      0|        p->error_indicator = 1;
33977|      0|        PyErr_NoMemory();
33978|      0|        p->level--;
33979|      0|        return NULL;
33980|      0|    }
33981|  4.96k|    Py_ssize_t _children_capacity = 1;
33982|  4.96k|    Py_ssize_t _n = 0;
33983|  4.96k|    { // ',' double_starred_kvpair
33984|  4.96k|        if (p->error_indicator) {
  ------------------
  |  Branch (33984:13): [True: 0, False: 4.96k]
  ------------------
33985|      0|            p->level--;
33986|      0|            return NULL;
33987|      0|        }
33988|  4.96k|        D(fprintf(stderr, "%*c> _loop0_85[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' double_starred_kvpair"));
33989|  4.96k|        Token * _literal;
33990|  4.96k|        KeyValuePair* elem;
33991|  4.96k|        while (
33992|  7.69k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (33992:13): [True: 4.47k, False: 3.22k]
  ------------------
33993|  4.47k|            &&
33994|  4.47k|            (elem = double_starred_kvpair_rule(p))  // double_starred_kvpair
  ------------------
  |  Branch (33994:13): [True: 2.73k, False: 1.73k]
  ------------------
33995|  4.96k|        )
33996|  2.73k|        {
33997|  2.73k|            _res = elem;
33998|  2.73k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (33998:18): [True: 0, False: 2.73k]
  |  Branch (33998:34): [True: 0, False: 2.73k]
  |  Branch (33998:57): [True: 0, False: 0]
  ------------------
33999|      0|                p->error_indicator = 1;
34000|      0|                PyMem_Free(_children);
34001|      0|                p->level--;
34002|      0|                return NULL;
34003|      0|            }
34004|  2.73k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (34004:17): [True: 506, False: 2.22k]
  ------------------
34005|    506|                _children_capacity *= 2;
34006|    506|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
34007|    506|                if (!_new_children) {
  ------------------
  |  Branch (34007:21): [True: 0, False: 506]
  ------------------
34008|      0|                    PyMem_Free(_children);
34009|      0|                    p->error_indicator = 1;
34010|      0|                    PyErr_NoMemory();
34011|      0|                    p->level--;
34012|      0|                    return NULL;
34013|      0|                }
34014|    506|                _children = _new_children;
34015|    506|            }
34016|  2.73k|            _children[_n++] = _res;
34017|  2.73k|            _mark = p->mark;
34018|  2.73k|        }
34019|  4.96k|        p->mark = _mark;
34020|  4.96k|        D(fprintf(stderr, "%*c%s _loop0_85[%d-%d]: %s failed!\n", p->level, ' ',
34021|  4.96k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' double_starred_kvpair"));
34022|  4.96k|    }
34023|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
34024|  4.96k|    if (!_seq) {
  ------------------
  |  Branch (34024:9): [True: 0, False: 4.96k]
  ------------------
34025|      0|        PyMem_Free(_children);
34026|      0|        p->error_indicator = 1;
34027|      0|        PyErr_NoMemory();
34028|      0|        p->level--;
34029|      0|        return NULL;
34030|      0|    }
34031|  7.69k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  2.73k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  7.69k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (34031:28): [True: 2.73k, False: 4.96k]
  ------------------
34032|  4.96k|    PyMem_Free(_children);
34033|  4.96k|    p->level--;
34034|  4.96k|    return _seq;
34035|  4.96k|}
parser.c:invalid_double_starred_kvpairs_rule:
26817|  28.4k|{
26818|  28.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  56.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (26818:9): [True: 0, False: 28.4k]
  |  Branch (26818:35): [True: 0, False: 28.4k]
  ------------------
26819|      0|        _Pypegen_stack_overflow(p);
26820|      0|    }
26821|  28.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (26821:9): [True: 0, False: 28.4k]
  ------------------
26822|      0|        p->level--;
26823|      0|        return NULL;
26824|      0|    }
26825|  28.4k|    void * _res = NULL;
26826|  28.4k|    int _mark = p->mark;
26827|  28.4k|    { // invalid_kvpair_unpacking ','?
26828|  28.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (26828:13): [True: 0, False: 28.4k]
  ------------------
26829|      0|            p->level--;
26830|      0|            return NULL;
26831|      0|        }
26832|  28.4k|        D(fprintf(stderr, "%*c> invalid_double_starred_kvpairs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_kvpair_unpacking ','?"));
26833|  28.4k|        void *_opt_var;
26834|  28.4k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  28.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 28.4k]
  |  |  ------------------
  ------------------
26835|  28.4k|        void *invalid_kvpair_unpacking_var;
26836|  28.4k|        if (
26837|  28.4k|            (invalid_kvpair_unpacking_var = invalid_kvpair_unpacking_rule(p))  // invalid_kvpair_unpacking
  ------------------
  |  Branch (26837:13): [True: 0, False: 28.4k]
  ------------------
26838|      0|            &&
26839|      0|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (26839:13): [True: 0, False: 0]
  ------------------
26840|  28.4k|        )
26841|      0|        {
26842|      0|            D(fprintf(stderr, "%*c+ invalid_double_starred_kvpairs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_kvpair_unpacking ','?"));
26843|      0|            _res = _PyPegen_dummy_name(p, invalid_kvpair_unpacking_var, _opt_var);
26844|      0|            goto done;
26845|      0|        }
26846|  28.4k|        p->mark = _mark;
26847|  28.4k|        D(fprintf(stderr, "%*c%s invalid_double_starred_kvpairs[%d-%d]: %s failed!\n", p->level, ' ',
26848|  28.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_kvpair_unpacking ','?"));
26849|  28.4k|    }
26850|      0|    { // ','.double_starred_kvpair+ ',' (invalid_kvpair | invalid_kvpair_unpacking)
26851|  28.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (26851:13): [True: 821, False: 27.6k]
  ------------------
26852|    821|            p->level--;
26853|    821|            return NULL;
26854|    821|        }
26855|  27.6k|        D(fprintf(stderr, "%*c> invalid_double_starred_kvpairs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.double_starred_kvpair+ ',' (invalid_kvpair | invalid_kvpair_unpacking)"));
26856|  27.6k|        asdl_seq * _gather_86_var;
26857|  27.6k|        Token * _literal;
26858|  27.6k|        void *_tmp_150_var;
26859|  27.6k|        if (
26860|  27.6k|            (_gather_86_var = _gather_86_rule(p))  // ','.double_starred_kvpair+
  ------------------
  |  Branch (26860:13): [True: 1.77k, False: 25.8k]
  ------------------
26861|  1.77k|            &&
26862|  1.77k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (26862:13): [True: 682, False: 1.09k]
  ------------------
26863|    682|            &&
26864|    682|            (_tmp_150_var = _tmp_150_rule(p))  // invalid_kvpair | invalid_kvpair_unpacking
  ------------------
  |  Branch (26864:13): [True: 0, False: 682]
  ------------------
26865|  27.6k|        )
26866|      0|        {
26867|      0|            D(fprintf(stderr, "%*c+ invalid_double_starred_kvpairs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.double_starred_kvpair+ ',' (invalid_kvpair | invalid_kvpair_unpacking)"));
26868|      0|            _res = _PyPegen_dummy_name(p, _gather_86_var, _literal, _tmp_150_var);
26869|      0|            goto done;
26870|      0|        }
26871|  27.6k|        p->mark = _mark;
26872|  27.6k|        D(fprintf(stderr, "%*c%s invalid_double_starred_kvpairs[%d-%d]: %s failed!\n", p->level, ' ',
26873|  27.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.double_starred_kvpair+ ',' (invalid_kvpair | invalid_kvpair_unpacking)"));
26874|  27.6k|    }
26875|      0|    { // expression ':' &('}' | ',')
26876|  27.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (26876:13): [True: 205, False: 27.4k]
  ------------------
26877|    205|            p->level--;
26878|    205|            return NULL;
26879|    205|        }
26880|  27.4k|        D(fprintf(stderr, "%*c> invalid_double_starred_kvpairs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' &('}' | ',')"));
26881|  27.4k|        Token * a;
26882|  27.4k|        expr_ty expression_var;
26883|  27.4k|        if (
26884|  27.4k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (26884:13): [True: 22.6k, False: 4.80k]
  ------------------
26885|  22.6k|            &&
26886|  22.6k|            (a = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (26886:13): [True: 1.43k, False: 21.2k]
  ------------------
26887|  1.43k|            &&
26888|  1.43k|            _PyPegen_lookahead(1, _tmp_151_rule, p)
  ------------------
  |  Branch (26888:13): [True: 5, False: 1.42k]
  ------------------
26889|  27.4k|        )
26890|      5|        {
26891|      5|            D(fprintf(stderr, "%*c+ invalid_double_starred_kvpairs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' &('}' | ',')"));
26892|      5|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "expression expected after dictionary key and ':'" );
  ------------------
  |  |  213|      5|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
26893|      5|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26893:18): [True: 5, False: 0]
  |  Branch (26893:34): [True: 0, False: 0]
  |  Branch (26893:57): [True: 5, False: 0]
  ------------------
26894|      5|                p->error_indicator = 1;
26895|      5|                p->level--;
26896|      5|                return NULL;
26897|      5|            }
26898|      0|            goto done;
26899|      5|        }
26900|  27.4k|        p->mark = _mark;
26901|  27.4k|        D(fprintf(stderr, "%*c%s invalid_double_starred_kvpairs[%d-%d]: %s failed!\n", p->level, ' ',
26902|  27.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' &('}' | ',')"));
26903|  27.4k|    }
26904|  27.4k|    _res = NULL;
26905|  27.4k|  done:
26906|  27.4k|    p->level--;
26907|  27.4k|    return _res;
26908|  27.4k|}
parser.c:invalid_kvpair_unpacking_rule:
26918|  28.7k|{
26919|  28.7k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  57.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (26919:9): [True: 0, False: 28.7k]
  |  Branch (26919:35): [True: 0, False: 28.7k]
  ------------------
26920|      0|        _Pypegen_stack_overflow(p);
26921|      0|    }
26922|  28.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (26922:9): [True: 0, False: 28.7k]
  ------------------
26923|      0|        p->level--;
26924|      0|        return NULL;
26925|      0|    }
26926|  28.7k|    void * _res = NULL;
26927|  28.7k|    int _mark = p->mark;
26928|  28.7k|    { // '**' if_expression
26929|  28.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (26929:13): [True: 0, False: 28.7k]
  ------------------
26930|      0|            p->level--;
26931|      0|            return NULL;
26932|      0|        }
26933|  28.7k|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' if_expression"));
26934|  28.7k|        Token * a;
26935|  28.7k|        expr_ty b;
26936|  28.7k|        if (
26937|  28.7k|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (26937:13): [True: 970, False: 27.7k]
  ------------------
26938|    970|            &&
26939|    970|            (b = if_expression_rule(p))  // if_expression
  ------------------
  |  Branch (26939:13): [True: 1, False: 969]
  ------------------
26940|  28.7k|        )
26941|      1|        {
26942|      1|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' if_expression"));
26943|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "invalid double starred expression. Did you forget to wrap the conditional expression in parentheses?" );
  ------------------
  |  |  211|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
26944|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26944:18): [True: 1, False: 0]
  |  Branch (26944:34): [True: 0, False: 0]
  |  Branch (26944:57): [True: 1, False: 0]
  ------------------
26945|      1|                p->error_indicator = 1;
26946|      1|                p->level--;
26947|      1|                return NULL;
26948|      1|            }
26949|      0|            goto done;
26950|      1|        }
26951|  28.7k|        p->mark = _mark;
26952|  28.7k|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
26953|  28.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' if_expression"));
26954|  28.7k|    }
26955|      0|    { // '*' bitwise_or ':' expression
26956|  28.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (26956:13): [True: 0, False: 28.7k]
  ------------------
26957|      0|            p->level--;
26958|      0|            return NULL;
26959|      0|        }
26960|  28.7k|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or ':' expression"));
26961|  28.7k|        Token * _literal;
26962|  28.7k|        Token * a;
26963|  28.7k|        expr_ty b;
26964|  28.7k|        expr_ty expression_var;
26965|  28.7k|        if (
26966|  28.7k|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (26966:13): [True: 2.23k, False: 26.5k]
  ------------------
26967|  2.23k|            &&
26968|  2.23k|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (26968:13): [True: 1.23k, False: 1.00k]
  ------------------
26969|  1.23k|            &&
26970|  1.23k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (26970:13): [True: 541, False: 691]
  ------------------
26971|    541|            &&
26972|    541|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (26972:13): [True: 2, False: 539]
  ------------------
26973|  28.7k|        )
26974|      2|        {
26975|      2|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or ':' expression"));
26976|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use a starred expression in a dictionary key" );
  ------------------
  |  |  211|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
26977|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26977:18): [True: 2, False: 0]
  |  Branch (26977:34): [True: 0, False: 0]
  |  Branch (26977:57): [True: 2, False: 0]
  ------------------
26978|      2|                p->error_indicator = 1;
26979|      2|                p->level--;
26980|      2|                return NULL;
26981|      2|            }
26982|      0|            goto done;
26983|      2|        }
26984|  28.7k|        p->mark = _mark;
26985|  28.7k|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
26986|  28.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' bitwise_or ':' expression"));
26987|  28.7k|    }
26988|      0|    { // '**' bitwise_or ':' expression
26989|  28.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (26989:13): [True: 426, False: 28.3k]
  ------------------
26990|    426|            p->level--;
26991|    426|            return NULL;
26992|    426|        }
26993|  28.3k|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or ':' expression"));
26994|  28.3k|        Token * _literal;
26995|  28.3k|        Token * a;
26996|  28.3k|        expr_ty b;
26997|  28.3k|        expr_ty expression_var;
26998|  28.3k|        if (
26999|  28.3k|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (26999:13): [True: 969, False: 27.3k]
  ------------------
27000|    969|            &&
27001|    969|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (27001:13): [True: 695, False: 274]
  ------------------
27002|    695|            &&
27003|    695|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (27003:13): [True: 581, False: 114]
  ------------------
27004|    581|            &&
27005|    581|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (27005:13): [True: 1, False: 580]
  ------------------
27006|  28.3k|        )
27007|      1|        {
27008|      1|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or ':' expression"));
27009|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use dict unpacking in a dictionary key" );
  ------------------
  |  |  211|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
27010|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27010:18): [True: 1, False: 0]
  |  Branch (27010:34): [True: 0, False: 0]
  |  Branch (27010:57): [True: 1, False: 0]
  ------------------
27011|      1|                p->error_indicator = 1;
27012|      1|                p->level--;
27013|      1|                return NULL;
27014|      1|            }
27015|      0|            goto done;
27016|      1|        }
27017|  28.3k|        p->mark = _mark;
27018|  28.3k|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
27019|  28.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' bitwise_or ':' expression"));
27020|  28.3k|    }
27021|      0|    { // expression ':' '*' bitwise_or
27022|  28.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (27022:13): [True: 365, False: 27.9k]
  ------------------
27023|    365|            p->level--;
27024|    365|            return NULL;
27025|    365|        }
27026|  27.9k|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' '*' bitwise_or"));
27027|  27.9k|        Token * _literal;
27028|  27.9k|        Token * a;
27029|  27.9k|        expr_ty b;
27030|  27.9k|        expr_ty expression_var;
27031|  27.9k|        if (
27032|  27.9k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (27032:13): [True: 23.1k, False: 4.83k]
  ------------------
27033|  23.1k|            &&
27034|  23.1k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (27034:13): [True: 1.92k, False: 21.2k]
  ------------------
27035|  1.92k|            &&
27036|  1.92k|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (27036:13): [True: 138, False: 1.78k]
  ------------------
27037|    138|            &&
27038|    138|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (27038:13): [True: 3, False: 135]
  ------------------
27039|  27.9k|        )
27040|      3|        {
27041|      3|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' '*' bitwise_or"));
27042|      3|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use a starred expression in a dictionary value" );
  ------------------
  |  |  211|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
27043|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27043:18): [True: 3, False: 0]
  |  Branch (27043:34): [True: 0, False: 0]
  |  Branch (27043:57): [True: 3, False: 0]
  ------------------
27044|      3|                p->error_indicator = 1;
27045|      3|                p->level--;
27046|      3|                return NULL;
27047|      3|            }
27048|      0|            goto done;
27049|      3|        }
27050|  27.9k|        p->mark = _mark;
27051|  27.9k|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
27052|  27.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' '*' bitwise_or"));
27053|  27.9k|    }
27054|      0|    { // expression ':' '**' bitwise_or
27055|  27.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (27055:13): [True: 77, False: 27.8k]
  ------------------
27056|     77|            p->level--;
27057|     77|            return NULL;
27058|     77|        }
27059|  27.8k|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' '**' bitwise_or"));
27060|  27.8k|        Token * _literal;
27061|  27.8k|        Token * a;
27062|  27.8k|        expr_ty b;
27063|  27.8k|        expr_ty expression_var;
27064|  27.8k|        if (
27065|  27.8k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (27065:13): [True: 23.0k, False: 4.83k]
  ------------------
27066|  23.0k|            &&
27067|  23.0k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (27067:13): [True: 1.84k, False: 21.2k]
  ------------------
27068|  1.84k|            &&
27069|  1.84k|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (27069:13): [True: 78, False: 1.76k]
  ------------------
27070|     78|            &&
27071|     78|            (b = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (27071:13): [True: 1, False: 77]
  ------------------
27072|  27.8k|        )
27073|      1|        {
27074|      1|            D(fprintf(stderr, "%*c+ invalid_kvpair_unpacking[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' '**' bitwise_or"));
27075|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use dict unpacking in a dictionary value" );
  ------------------
  |  |  211|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
27076|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27076:18): [True: 1, False: 0]
  |  Branch (27076:34): [True: 0, False: 0]
  |  Branch (27076:57): [True: 1, False: 0]
  ------------------
27077|      1|                p->error_indicator = 1;
27078|      1|                p->level--;
27079|      1|                return NULL;
27080|      1|            }
27081|      0|            goto done;
27082|      1|        }
27083|  27.8k|        p->mark = _mark;
27084|  27.8k|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
27085|  27.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' '**' bitwise_or"));
27086|  27.8k|    }
27087|  27.8k|    _res = NULL;
27088|  27.8k|  done:
27089|  27.8k|    p->level--;
27090|  27.8k|    return _res;
27091|  27.8k|}
parser.c:_tmp_150_rule:
37818|    682|{
37819|    682|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.36k|#  define MAXSTACK 6000
  ------------------
  |  Branch (37819:9): [True: 0, False: 682]
  |  Branch (37819:35): [True: 0, False: 682]
  ------------------
37820|      0|        _Pypegen_stack_overflow(p);
37821|      0|    }
37822|    682|    if (p->error_indicator) {
  ------------------
  |  Branch (37822:9): [True: 0, False: 682]
  ------------------
37823|      0|        p->level--;
37824|      0|        return NULL;
37825|      0|    }
37826|    682|    void * _res = NULL;
37827|    682|    int _mark = p->mark;
37828|    682|    if (p->call_invalid_rules) { // invalid_kvpair
  ------------------
  |  Branch (37828:9): [True: 405, False: 277]
  ------------------
37829|    405|        if (p->error_indicator) {
  ------------------
  |  Branch (37829:13): [True: 0, False: 405]
  ------------------
37830|      0|            p->level--;
37831|      0|            return NULL;
37832|      0|        }
37833|    405|        D(fprintf(stderr, "%*c> _tmp_150[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_kvpair"));
37834|    405|        void *invalid_kvpair_var;
37835|    405|        if (
37836|    405|            (invalid_kvpair_var = invalid_kvpair_rule(p))  // invalid_kvpair
  ------------------
  |  Branch (37836:13): [True: 0, False: 405]
  ------------------
37837|    405|        )
37838|      0|        {
37839|      0|            D(fprintf(stderr, "%*c+ _tmp_150[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_kvpair"));
37840|      0|            _res = invalid_kvpair_var;
37841|      0|            goto done;
37842|      0|        }
37843|    405|        p->mark = _mark;
37844|    405|        D(fprintf(stderr, "%*c%s _tmp_150[%d-%d]: %s failed!\n", p->level, ' ',
37845|    405|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_kvpair"));
37846|    405|    }
37847|    682|    if (p->call_invalid_rules) { // invalid_kvpair_unpacking
  ------------------
  |  Branch (37847:9): [True: 405, False: 277]
  ------------------
37848|    405|        if (p->error_indicator) {
  ------------------
  |  Branch (37848:13): [True: 128, False: 277]
  ------------------
37849|    128|            p->level--;
37850|    128|            return NULL;
37851|    128|        }
37852|    277|        D(fprintf(stderr, "%*c> _tmp_150[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_kvpair_unpacking"));
37853|    277|        void *invalid_kvpair_unpacking_var;
37854|    277|        if (
37855|    277|            (invalid_kvpair_unpacking_var = invalid_kvpair_unpacking_rule(p))  // invalid_kvpair_unpacking
  ------------------
  |  Branch (37855:13): [True: 0, False: 277]
  ------------------
37856|    277|        )
37857|      0|        {
37858|      0|            D(fprintf(stderr, "%*c+ _tmp_150[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_kvpair_unpacking"));
37859|      0|            _res = invalid_kvpair_unpacking_var;
37860|      0|            goto done;
37861|      0|        }
37862|    277|        p->mark = _mark;
37863|    277|        D(fprintf(stderr, "%*c%s _tmp_150[%d-%d]: %s failed!\n", p->level, ' ',
37864|    277|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_kvpair_unpacking"));
37865|    277|    }
37866|    554|    _res = NULL;
37867|    554|  done:
37868|    554|    p->level--;
37869|    554|    return _res;
37870|    554|}
parser.c:invalid_kvpair_rule:
27100|    405|{
27101|    405|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    810|#  define MAXSTACK 6000
  ------------------
  |  Branch (27101:9): [True: 0, False: 405]
  |  Branch (27101:35): [True: 0, False: 405]
  ------------------
27102|      0|        _Pypegen_stack_overflow(p);
27103|      0|    }
27104|    405|    if (p->error_indicator) {
  ------------------
  |  Branch (27104:9): [True: 0, False: 405]
  ------------------
27105|      0|        p->level--;
27106|      0|        return NULL;
27107|      0|    }
27108|    405|    void * _res = NULL;
27109|    405|    int _mark = p->mark;
27110|    405|    { // expression !(':')
27111|    405|        if (p->error_indicator) {
  ------------------
  |  Branch (27111:13): [True: 0, False: 405]
  ------------------
27112|      0|            p->level--;
27113|      0|            return NULL;
27114|      0|        }
27115|    405|        D(fprintf(stderr, "%*c> invalid_kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !(':')"));
27116|    405|        expr_ty a;
27117|    405|        if (
27118|    405|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (27118:13): [True: 316, False: 89]
  ------------------
27119|    316|            &&
27120|    316|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 11)  // token=(':')
  ------------------
  |  Branch (27120:13): [True: 15, False: 301]
  ------------------
27121|    405|        )
27122|     15|        {
27123|     15|            D(fprintf(stderr, "%*c+ invalid_kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !(':')"));
27124|     15|            _res = RAISE_ERROR_KNOWN_LOCATION ( p , PyExc_SyntaxError , a -> lineno , a -> end_col_offset - 1 , a -> end_lineno , - 1 , "':' expected after dictionary key" );
27125|     15|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27125:18): [True: 15, False: 0]
  |  Branch (27125:34): [True: 0, False: 0]
  |  Branch (27125:57): [True: 15, False: 0]
  ------------------
27126|     15|                p->error_indicator = 1;
27127|     15|                p->level--;
27128|     15|                return NULL;
27129|     15|            }
27130|      0|            goto done;
27131|     15|        }
27132|    390|        p->mark = _mark;
27133|    390|        D(fprintf(stderr, "%*c%s invalid_kvpair[%d-%d]: %s failed!\n", p->level, ' ',
27134|    390|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !(':')"));
27135|    390|    }
27136|      0|    { // expression ':' '*' bitwise_or
27137|    390|        if (p->error_indicator) {
  ------------------
  |  Branch (27137:13): [True: 0, False: 390]
  ------------------
27138|      0|            p->level--;
27139|      0|            return NULL;
27140|      0|        }
27141|    390|        D(fprintf(stderr, "%*c> invalid_kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' '*' bitwise_or"));
27142|    390|        Token * _literal;
27143|    390|        Token * a;
27144|    390|        expr_ty bitwise_or_var;
27145|    390|        expr_ty expression_var;
27146|    390|        if (
27147|    390|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (27147:13): [True: 301, False: 89]
  ------------------
27148|    301|            &&
27149|    301|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (27149:13): [True: 301, False: 0]
  ------------------
27150|    301|            &&
27151|    301|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (27151:13): [True: 32, False: 269]
  ------------------
27152|     32|            &&
27153|     32|            (bitwise_or_var = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (27153:13): [True: 1, False: 31]
  ------------------
27154|    390|        )
27155|      1|        {
27156|      1|            D(fprintf(stderr, "%*c+ invalid_kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' '*' bitwise_or"));
27157|      1|            _res = RAISE_SYNTAX_ERROR_STARTING_FROM ( a , "cannot use a starred expression in a dictionary value" );
  ------------------
  |  |  215|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   27|      1|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |                   RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   27|      1|#define CURRENT_POS (-5)
  |  |  ------------------
  ------------------
27158|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27158:18): [True: 1, False: 0]
  |  Branch (27158:34): [True: 0, False: 0]
  |  Branch (27158:57): [True: 1, False: 0]
  ------------------
27159|      1|                p->error_indicator = 1;
27160|      1|                p->level--;
27161|      1|                return NULL;
27162|      1|            }
27163|      0|            goto done;
27164|      1|        }
27165|    389|        p->mark = _mark;
27166|    389|        D(fprintf(stderr, "%*c%s invalid_kvpair[%d-%d]: %s failed!\n", p->level, ' ',
27167|    389|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' '*' bitwise_or"));
27168|    389|    }
27169|      0|    { // expression ':' '**' bitwise_or
27170|    389|        if (p->error_indicator) {
  ------------------
  |  Branch (27170:13): [True: 31, False: 358]
  ------------------
27171|     31|            p->level--;
27172|     31|            return NULL;
27173|     31|        }
27174|    358|        D(fprintf(stderr, "%*c> invalid_kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' '**' bitwise_or"));
27175|    358|        Token * _literal;
27176|    358|        Token * a;
27177|    358|        expr_ty bitwise_or_var;
27178|    358|        expr_ty expression_var;
27179|    358|        if (
27180|    358|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (27180:13): [True: 269, False: 89]
  ------------------
27181|    269|            &&
27182|    269|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (27182:13): [True: 269, False: 0]
  ------------------
27183|    269|            &&
27184|    269|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (27184:13): [True: 124, False: 145]
  ------------------
27185|    124|            &&
27186|    124|            (bitwise_or_var = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (27186:13): [True: 1, False: 123]
  ------------------
27187|    358|        )
27188|      1|        {
27189|      1|            D(fprintf(stderr, "%*c+ invalid_kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' '**' bitwise_or"));
27190|      1|            _res = RAISE_SYNTAX_ERROR_STARTING_FROM ( a , "cannot use dict unpacking in a dictionary value" );
  ------------------
  |  |  215|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   27|      1|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |                   RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   27|      1|#define CURRENT_POS (-5)
  |  |  ------------------
  ------------------
27191|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27191:18): [True: 1, False: 0]
  |  Branch (27191:34): [True: 0, False: 0]
  |  Branch (27191:57): [True: 1, False: 0]
  ------------------
27192|      1|                p->error_indicator = 1;
27193|      1|                p->level--;
27194|      1|                return NULL;
27195|      1|            }
27196|      0|            goto done;
27197|      1|        }
27198|    357|        p->mark = _mark;
27199|    357|        D(fprintf(stderr, "%*c%s invalid_kvpair[%d-%d]: %s failed!\n", p->level, ' ',
27200|    357|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' '**' bitwise_or"));
27201|    357|    }
27202|      0|    { // expression ':' &('}' | ',')
27203|    357|        if (p->error_indicator) {
  ------------------
  |  Branch (27203:13): [True: 77, False: 280]
  ------------------
27204|     77|            p->level--;
27205|     77|            return NULL;
27206|     77|        }
27207|    280|        D(fprintf(stderr, "%*c> invalid_kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' &('}' | ',')"));
27208|    280|        Token * a;
27209|    280|        expr_ty expression_var;
27210|    280|        if (
27211|    280|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (27211:13): [True: 191, False: 89]
  ------------------
27212|    191|            &&
27213|    191|            (a = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (27213:13): [True: 191, False: 0]
  ------------------
27214|    191|            &&
27215|    191|            _PyPegen_lookahead(1, _tmp_151_rule, p)
  ------------------
  |  Branch (27215:13): [True: 3, False: 188]
  ------------------
27216|    280|        )
27217|      3|        {
27218|      3|            D(fprintf(stderr, "%*c+ invalid_kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' &('}' | ',')"));
27219|      3|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "expression expected after dictionary key and ':'" );
  ------------------
  |  |  213|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
27220|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (27220:18): [True: 3, False: 0]
  |  Branch (27220:34): [True: 0, False: 0]
  |  Branch (27220:57): [True: 3, False: 0]
  ------------------
27221|      3|                p->error_indicator = 1;
27222|      3|                p->level--;
27223|      3|                return NULL;
27224|      3|            }
27225|      0|            goto done;
27226|      3|        }
27227|    277|        p->mark = _mark;
27228|    277|        D(fprintf(stderr, "%*c%s invalid_kvpair[%d-%d]: %s failed!\n", p->level, ' ',
27229|    277|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' &('}' | ',')"));
27230|    277|    }
27231|    277|    _res = NULL;
27232|    277|  done:
27233|    277|    p->level--;
27234|    277|    return _res;
27235|    277|}
parser.c:_tmp_151_rule:
37875|  1.62k|{
37876|  1.62k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.25k|#  define MAXSTACK 6000
  ------------------
  |  Branch (37876:9): [True: 0, False: 1.62k]
  |  Branch (37876:35): [True: 0, False: 1.62k]
  ------------------
37877|      0|        _Pypegen_stack_overflow(p);
37878|      0|    }
37879|  1.62k|    if (p->error_indicator) {
  ------------------
  |  Branch (37879:9): [True: 0, False: 1.62k]
  ------------------
37880|      0|        p->level--;
37881|      0|        return NULL;
37882|      0|    }
37883|  1.62k|    void * _res = NULL;
37884|  1.62k|    int _mark = p->mark;
37885|  1.62k|    { // '}'
37886|  1.62k|        if (p->error_indicator) {
  ------------------
  |  Branch (37886:13): [True: 0, False: 1.62k]
  ------------------
37887|      0|            p->level--;
37888|      0|            return NULL;
37889|      0|        }
37890|  1.62k|        D(fprintf(stderr, "%*c> _tmp_151[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'}'"));
37891|  1.62k|        Token * _literal;
37892|  1.62k|        if (
37893|  1.62k|            (_literal = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (37893:13): [True: 4, False: 1.62k]
  ------------------
37894|  1.62k|        )
37895|      4|        {
37896|      4|            D(fprintf(stderr, "%*c+ _tmp_151[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'}'"));
37897|      4|            _res = _literal;
37898|      4|            goto done;
37899|      4|        }
37900|  1.62k|        p->mark = _mark;
37901|  1.62k|        D(fprintf(stderr, "%*c%s _tmp_151[%d-%d]: %s failed!\n", p->level, ' ',
37902|  1.62k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'}'"));
37903|  1.62k|    }
37904|      0|    { // ','
37905|  1.62k|        if (p->error_indicator) {
  ------------------
  |  Branch (37905:13): [True: 0, False: 1.62k]
  ------------------
37906|      0|            p->level--;
37907|      0|            return NULL;
37908|      0|        }
37909|  1.62k|        D(fprintf(stderr, "%*c> _tmp_151[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','"));
37910|  1.62k|        Token * _literal;
37911|  1.62k|        if (
37912|  1.62k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (37912:13): [True: 4, False: 1.61k]
  ------------------
37913|  1.62k|        )
37914|      4|        {
37915|      4|            D(fprintf(stderr, "%*c+ _tmp_151[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','"));
37916|      4|            _res = _literal;
37917|      4|            goto done;
37918|      4|        }
37919|  1.61k|        p->mark = _mark;
37920|  1.61k|        D(fprintf(stderr, "%*c%s _tmp_151[%d-%d]: %s failed!\n", p->level, ' ',
37921|  1.61k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','"));
37922|  1.61k|    }
37923|  1.61k|    _res = NULL;
37924|  1.62k|  done:
37925|  1.62k|    p->level--;
37926|  1.62k|    return _res;
37927|  1.61k|}
parser.c:set_rule:
17739|  27.4k|{
17740|  27.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  54.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17740:9): [True: 0, False: 27.4k]
  |  Branch (17740:35): [True: 0, False: 27.4k]
  ------------------
17741|      0|        _Pypegen_stack_overflow(p);
17742|      0|    }
17743|  27.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (17743:9): [True: 0, False: 27.4k]
  ------------------
17744|      0|        p->level--;
17745|      0|        return NULL;
17746|      0|    }
17747|  27.4k|    expr_ty _res = NULL;
17748|  27.4k|    int _mark = p->mark;
17749|  27.4k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17749:9): [True: 0, False: 27.4k]
  |  Branch (17749:31): [True: 0, False: 0]
  ------------------
17750|      0|        p->error_indicator = 1;
17751|      0|        p->level--;
17752|      0|        return NULL;
17753|      0|    }
17754|  27.4k|    int _start_lineno = p->tokens[_mark]->lineno;
17755|  27.4k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  27.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 27.4k]
  |  |  ------------------
  ------------------
17756|  27.4k|    int _start_col_offset = p->tokens[_mark]->col_offset;
17757|  27.4k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  27.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 27.4k]
  |  |  ------------------
  ------------------
17758|  27.4k|    { // '{' star_named_expressions_sequence '}'
17759|  27.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (17759:13): [True: 0, False: 27.4k]
  ------------------
17760|      0|            p->level--;
17761|      0|            return NULL;
17762|      0|        }
17763|  27.4k|        D(fprintf(stderr, "%*c> set[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' star_named_expressions_sequence '}'"));
17764|  27.4k|        Token * _literal;
17765|  27.4k|        Token * _literal_1;
17766|  27.4k|        asdl_expr_seq* a;
17767|  27.4k|        if (
17768|  27.4k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (17768:13): [True: 27.4k, False: 0]
  ------------------
17769|  27.4k|            &&
17770|  27.4k|            (a = star_named_expressions_sequence_rule(p))  // star_named_expressions_sequence
  ------------------
  |  Branch (17770:13): [True: 23.4k, False: 4.01k]
  ------------------
17771|  23.4k|            &&
17772|  23.4k|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (17772:13): [True: 19.2k, False: 4.17k]
  ------------------
17773|  27.4k|        )
17774|  19.2k|        {
17775|  19.2k|            D(fprintf(stderr, "%*c+ set[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' star_named_expressions_sequence '}'"));
17776|  19.2k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17777|  19.2k|            if (_token == NULL) {
  ------------------
  |  Branch (17777:17): [True: 0, False: 19.2k]
  ------------------
17778|      0|                p->level--;
17779|      0|                return NULL;
17780|      0|            }
17781|  19.2k|            int _end_lineno = _token->end_lineno;
17782|  19.2k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  19.2k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 19.2k]
  |  |  ------------------
  ------------------
17783|  19.2k|            int _end_col_offset = _token->end_col_offset;
17784|  19.2k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  19.2k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 19.2k]
  |  |  ------------------
  ------------------
17785|  19.2k|            _res = _PyAST_Set ( a , EXTRA );
  ------------------
  |  |  281|  19.2k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17786|  19.2k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17786:18): [True: 0, False: 19.2k]
  |  Branch (17786:34): [True: 0, False: 19.2k]
  |  Branch (17786:57): [True: 0, False: 0]
  ------------------
17787|      0|                p->error_indicator = 1;
17788|      0|                p->level--;
17789|      0|                return NULL;
17790|      0|            }
17791|  19.2k|            goto done;
17792|  19.2k|        }
17793|  8.18k|        p->mark = _mark;
17794|  8.18k|        D(fprintf(stderr, "%*c%s set[%d-%d]: %s failed!\n", p->level, ' ',
17795|  8.18k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' star_named_expressions_sequence '}'"));
17796|  8.18k|    }
17797|  8.18k|    _res = NULL;
17798|  27.4k|  done:
17799|  27.4k|    p->level--;
17800|  27.4k|    return _res;
17801|  8.18k|}
parser.c:invalid_factor_rule:
28441|  71.8k|{
28442|  71.8k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   143k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28442:9): [True: 0, False: 71.8k]
  |  Branch (28442:35): [True: 0, False: 71.8k]
  ------------------
28443|      0|        _Pypegen_stack_overflow(p);
28444|      0|    }
28445|  71.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (28445:9): [True: 0, False: 71.8k]
  ------------------
28446|      0|        p->level--;
28447|      0|        return NULL;
28448|      0|    }
28449|  71.8k|    void * _res = NULL;
28450|  71.8k|    int _mark = p->mark;
28451|  71.8k|    { // ('+' | '-' | '~') 'not' factor
28452|  71.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (28452:13): [True: 0, False: 71.8k]
  ------------------
28453|      0|            p->level--;
28454|      0|            return NULL;
28455|      0|        }
28456|  71.8k|        D(fprintf(stderr, "%*c> invalid_factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('+' | '-' | '~') 'not' factor"));
28457|  71.8k|        void *_tmp_158_var;
28458|  71.8k|        Token * a;
28459|  71.8k|        expr_ty b;
28460|  71.8k|        if (
28461|  71.8k|            (_tmp_158_var = _tmp_158_rule(p))  // '+' | '-' | '~'
  ------------------
  |  Branch (28461:13): [True: 1.81k, False: 70.0k]
  ------------------
28462|  1.81k|            &&
28463|  1.81k|            (a = _PyPegen_expect_token(p, 721))  // token='not'
  ------------------
  |  Branch (28463:13): [True: 273, False: 1.54k]
  ------------------
28464|    273|            &&
28465|    273|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (28465:13): [True: 2, False: 271]
  ------------------
28466|  71.8k|        )
28467|      2|        {
28468|      2|            D(fprintf(stderr, "%*c+ invalid_factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('+' | '-' | '~') 'not' factor"));
28469|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "'not' after an operator must be parenthesized" );
  ------------------
  |  |  211|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
28470|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (28470:18): [True: 2, False: 0]
  |  Branch (28470:34): [True: 0, False: 0]
  |  Branch (28470:57): [True: 2, False: 0]
  ------------------
28471|      2|                p->error_indicator = 1;
28472|      2|                p->level--;
28473|      2|                return NULL;
28474|      2|            }
28475|      0|            goto done;
28476|      2|        }
28477|  71.8k|        p->mark = _mark;
28478|  71.8k|        D(fprintf(stderr, "%*c%s invalid_factor[%d-%d]: %s failed!\n", p->level, ' ',
28479|  71.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('+' | '-' | '~') 'not' factor"));
28480|  71.8k|    }
28481|  71.8k|    _res = NULL;
28482|  71.8k|  done:
28483|  71.8k|    p->level--;
28484|  71.8k|    return _res;
28485|  71.8k|}
parser.c:_tmp_158_rule:
38410|  71.8k|{
38411|  71.8k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   143k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38411:9): [True: 0, False: 71.8k]
  |  Branch (38411:35): [True: 0, False: 71.8k]
  ------------------
38412|      0|        _Pypegen_stack_overflow(p);
38413|      0|    }
38414|  71.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (38414:9): [True: 0, False: 71.8k]
  ------------------
38415|      0|        p->level--;
38416|      0|        return NULL;
38417|      0|    }
38418|  71.8k|    void * _res = NULL;
38419|  71.8k|    int _mark = p->mark;
38420|  71.8k|    { // '+'
38421|  71.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (38421:13): [True: 0, False: 71.8k]
  ------------------
38422|      0|            p->level--;
38423|      0|            return NULL;
38424|      0|        }
38425|  71.8k|        D(fprintf(stderr, "%*c> _tmp_158[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+'"));
38426|  71.8k|        Token * _literal;
38427|  71.8k|        if (
38428|  71.8k|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (38428:13): [True: 604, False: 71.2k]
  ------------------
38429|  71.8k|        )
38430|    604|        {
38431|    604|            D(fprintf(stderr, "%*c+ _tmp_158[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+'"));
38432|    604|            _res = _literal;
38433|    604|            goto done;
38434|    604|        }
38435|  71.2k|        p->mark = _mark;
38436|  71.2k|        D(fprintf(stderr, "%*c%s _tmp_158[%d-%d]: %s failed!\n", p->level, ' ',
38437|  71.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+'"));
38438|  71.2k|    }
38439|      0|    { // '-'
38440|  71.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (38440:13): [True: 0, False: 71.2k]
  ------------------
38441|      0|            p->level--;
38442|      0|            return NULL;
38443|      0|        }
38444|  71.2k|        D(fprintf(stderr, "%*c> _tmp_158[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-'"));
38445|  71.2k|        Token * _literal;
38446|  71.2k|        if (
38447|  71.2k|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (38447:13): [True: 812, False: 70.4k]
  ------------------
38448|  71.2k|        )
38449|    812|        {
38450|    812|            D(fprintf(stderr, "%*c+ _tmp_158[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-'"));
38451|    812|            _res = _literal;
38452|    812|            goto done;
38453|    812|        }
38454|  70.4k|        p->mark = _mark;
38455|  70.4k|        D(fprintf(stderr, "%*c%s _tmp_158[%d-%d]: %s failed!\n", p->level, ' ',
38456|  70.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-'"));
38457|  70.4k|    }
38458|      0|    { // '~'
38459|  70.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (38459:13): [True: 0, False: 70.4k]
  ------------------
38460|      0|            p->level--;
38461|      0|            return NULL;
38462|      0|        }
38463|  70.4k|        D(fprintf(stderr, "%*c> _tmp_158[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'~'"));
38464|  70.4k|        Token * _literal;
38465|  70.4k|        if (
38466|  70.4k|            (_literal = _PyPegen_expect_token(p, 31))  // token='~'
  ------------------
  |  Branch (38466:13): [True: 398, False: 70.0k]
  ------------------
38467|  70.4k|        )
38468|    398|        {
38469|    398|            D(fprintf(stderr, "%*c+ _tmp_158[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'~'"));
38470|    398|            _res = _literal;
38471|    398|            goto done;
38472|    398|        }
38473|  70.0k|        p->mark = _mark;
38474|  70.0k|        D(fprintf(stderr, "%*c%s _tmp_158[%d-%d]: %s failed!\n", p->level, ' ',
38475|  70.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'~'"));
38476|  70.0k|    }
38477|  70.0k|    _res = NULL;
38478|  71.8k|  done:
38479|  71.8k|    p->level--;
38480|  71.8k|    return _res;
38481|  70.0k|}
parser.c:invalid_arithmetic_rule:
28389|   449k|{
28390|   449k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   899k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28390:9): [True: 0, False: 449k]
  |  Branch (28390:35): [True: 0, False: 449k]
  ------------------
28391|      0|        _Pypegen_stack_overflow(p);
28392|      0|    }
28393|   449k|    if (p->error_indicator) {
  ------------------
  |  Branch (28393:9): [True: 0, False: 449k]
  ------------------
28394|      0|        p->level--;
28395|      0|        return NULL;
28396|      0|    }
28397|   449k|    void * _res = NULL;
28398|   449k|    int _mark = p->mark;
28399|   449k|    { // sum ('+' | '-' | '*' | '/' | '%' | '//' | '@') 'not' inversion
28400|   449k|        if (p->error_indicator) {
  ------------------
  |  Branch (28400:13): [True: 0, False: 449k]
  ------------------
28401|      0|            p->level--;
28402|      0|            return NULL;
28403|      0|        }
28404|   449k|        D(fprintf(stderr, "%*c> invalid_arithmetic[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum ('+' | '-' | '*' | '/' | '%' | '//' | '@') 'not' inversion"));
28405|   449k|        void *_tmp_157_var;
28406|   449k|        Token * a;
28407|   449k|        expr_ty b;
28408|   449k|        expr_ty sum_var;
28409|   449k|        if (
28410|   449k|            (sum_var = sum_rule(p))  // sum
  ------------------
  |  Branch (28410:13): [True: 172k, False: 277k]
  ------------------
28411|   172k|            &&
28412|   172k|            (_tmp_157_var = _tmp_157_rule(p))  // '+' | '-' | '*' | '/' | '%' | '//' | '@'
  ------------------
  |  Branch (28412:13): [True: 2.94k, False: 169k]
  ------------------
28413|  2.94k|            &&
28414|  2.94k|            (a = _PyPegen_expect_token(p, 721))  // token='not'
  ------------------
  |  Branch (28414:13): [True: 125, False: 2.82k]
  ------------------
28415|    125|            &&
28416|    125|            (b = inversion_rule(p))  // inversion
  ------------------
  |  Branch (28416:13): [True: 2, False: 123]
  ------------------
28417|   449k|        )
28418|      2|        {
28419|      2|            D(fprintf(stderr, "%*c+ invalid_arithmetic[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum ('+' | '-' | '*' | '/' | '%' | '//' | '@') 'not' inversion"));
28420|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "'not' after an operator must be parenthesized" );
  ------------------
  |  |  211|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
28421|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (28421:18): [True: 2, False: 0]
  |  Branch (28421:34): [True: 0, False: 0]
  |  Branch (28421:57): [True: 2, False: 0]
  ------------------
28422|      2|                p->error_indicator = 1;
28423|      2|                p->level--;
28424|      2|                return NULL;
28425|      2|            }
28426|      0|            goto done;
28427|      2|        }
28428|   449k|        p->mark = _mark;
28429|   449k|        D(fprintf(stderr, "%*c%s invalid_arithmetic[%d-%d]: %s failed!\n", p->level, ' ',
28430|   449k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum ('+' | '-' | '*' | '/' | '%' | '//' | '@') 'not' inversion"));
28431|   449k|    }
28432|   449k|    _res = NULL;
28433|   449k|  done:
28434|   449k|    p->level--;
28435|   449k|    return _res;
28436|   449k|}
parser.c:_tmp_157_rule:
38258|   172k|{
38259|   172k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   345k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38259:9): [True: 0, False: 172k]
  |  Branch (38259:35): [True: 0, False: 172k]
  ------------------
38260|      0|        _Pypegen_stack_overflow(p);
38261|      0|    }
38262|   172k|    if (p->error_indicator) {
  ------------------
  |  Branch (38262:9): [True: 0, False: 172k]
  ------------------
38263|      0|        p->level--;
38264|      0|        return NULL;
38265|      0|    }
38266|   172k|    void * _res = NULL;
38267|   172k|    int _mark = p->mark;
38268|   172k|    { // '+'
38269|   172k|        if (p->error_indicator) {
  ------------------
  |  Branch (38269:13): [True: 0, False: 172k]
  ------------------
38270|      0|            p->level--;
38271|      0|            return NULL;
38272|      0|        }
38273|   172k|        D(fprintf(stderr, "%*c> _tmp_157[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+'"));
38274|   172k|        Token * _literal;
38275|   172k|        if (
38276|   172k|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (38276:13): [True: 364, False: 172k]
  ------------------
38277|   172k|        )
38278|    364|        {
38279|    364|            D(fprintf(stderr, "%*c+ _tmp_157[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+'"));
38280|    364|            _res = _literal;
38281|    364|            goto done;
38282|    364|        }
38283|   172k|        p->mark = _mark;
38284|   172k|        D(fprintf(stderr, "%*c%s _tmp_157[%d-%d]: %s failed!\n", p->level, ' ',
38285|   172k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+'"));
38286|   172k|    }
38287|      0|    { // '-'
38288|   172k|        if (p->error_indicator) {
  ------------------
  |  Branch (38288:13): [True: 0, False: 172k]
  ------------------
38289|      0|            p->level--;
38290|      0|            return NULL;
38291|      0|        }
38292|   172k|        D(fprintf(stderr, "%*c> _tmp_157[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-'"));
38293|   172k|        Token * _literal;
38294|   172k|        if (
38295|   172k|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (38295:13): [True: 538, False: 171k]
  ------------------
38296|   172k|        )
38297|    538|        {
38298|    538|            D(fprintf(stderr, "%*c+ _tmp_157[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-'"));
38299|    538|            _res = _literal;
38300|    538|            goto done;
38301|    538|        }
38302|   171k|        p->mark = _mark;
38303|   171k|        D(fprintf(stderr, "%*c%s _tmp_157[%d-%d]: %s failed!\n", p->level, ' ',
38304|   171k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-'"));
38305|   171k|    }
38306|      0|    { // '*'
38307|   171k|        if (p->error_indicator) {
  ------------------
  |  Branch (38307:13): [True: 0, False: 171k]
  ------------------
38308|      0|            p->level--;
38309|      0|            return NULL;
38310|      0|        }
38311|   171k|        D(fprintf(stderr, "%*c> _tmp_157[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*'"));
38312|   171k|        Token * _literal;
38313|   171k|        if (
38314|   171k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (38314:13): [True: 783, False: 170k]
  ------------------
38315|   171k|        )
38316|    783|        {
38317|    783|            D(fprintf(stderr, "%*c+ _tmp_157[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*'"));
38318|    783|            _res = _literal;
38319|    783|            goto done;
38320|    783|        }
38321|   170k|        p->mark = _mark;
38322|   170k|        D(fprintf(stderr, "%*c%s _tmp_157[%d-%d]: %s failed!\n", p->level, ' ',
38323|   170k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*'"));
38324|   170k|    }
38325|      0|    { // '/'
38326|   170k|        if (p->error_indicator) {
  ------------------
  |  Branch (38326:13): [True: 0, False: 170k]
  ------------------
38327|      0|            p->level--;
38328|      0|            return NULL;
38329|      0|        }
38330|   170k|        D(fprintf(stderr, "%*c> _tmp_157[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'/'"));
38331|   170k|        Token * _literal;
38332|   170k|        if (
38333|   170k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (38333:13): [True: 111, False: 170k]
  ------------------
38334|   170k|        )
38335|    111|        {
38336|    111|            D(fprintf(stderr, "%*c+ _tmp_157[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'/'"));
38337|    111|            _res = _literal;
38338|    111|            goto done;
38339|    111|        }
38340|   170k|        p->mark = _mark;
38341|   170k|        D(fprintf(stderr, "%*c%s _tmp_157[%d-%d]: %s failed!\n", p->level, ' ',
38342|   170k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'/'"));
38343|   170k|    }
38344|      0|    { // '%'
38345|   170k|        if (p->error_indicator) {
  ------------------
  |  Branch (38345:13): [True: 0, False: 170k]
  ------------------
38346|      0|            p->level--;
38347|      0|            return NULL;
38348|      0|        }
38349|   170k|        D(fprintf(stderr, "%*c> _tmp_157[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'%'"));
38350|   170k|        Token * _literal;
38351|   170k|        if (
38352|   170k|            (_literal = _PyPegen_expect_token(p, 24))  // token='%'
  ------------------
  |  Branch (38352:13): [True: 401, False: 170k]
  ------------------
38353|   170k|        )
38354|    401|        {
38355|    401|            D(fprintf(stderr, "%*c+ _tmp_157[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'%'"));
38356|    401|            _res = _literal;
38357|    401|            goto done;
38358|    401|        }
38359|   170k|        p->mark = _mark;
38360|   170k|        D(fprintf(stderr, "%*c%s _tmp_157[%d-%d]: %s failed!\n", p->level, ' ',
38361|   170k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'%'"));
38362|   170k|    }
38363|      0|    { // '//'
38364|   170k|        if (p->error_indicator) {
  ------------------
  |  Branch (38364:13): [True: 0, False: 170k]
  ------------------
38365|      0|            p->level--;
38366|      0|            return NULL;
38367|      0|        }
38368|   170k|        D(fprintf(stderr, "%*c> _tmp_157[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'//'"));
38369|   170k|        Token * _literal;
38370|   170k|        if (
38371|   170k|            (_literal = _PyPegen_expect_token(p, 47))  // token='//'
  ------------------
  |  Branch (38371:13): [True: 424, False: 169k]
  ------------------
38372|   170k|        )
38373|    424|        {
38374|    424|            D(fprintf(stderr, "%*c+ _tmp_157[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'//'"));
38375|    424|            _res = _literal;
38376|    424|            goto done;
38377|    424|        }
38378|   169k|        p->mark = _mark;
38379|   169k|        D(fprintf(stderr, "%*c%s _tmp_157[%d-%d]: %s failed!\n", p->level, ' ',
38380|   169k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'//'"));
38381|   169k|    }
38382|      0|    { // '@'
38383|   169k|        if (p->error_indicator) {
  ------------------
  |  Branch (38383:13): [True: 0, False: 169k]
  ------------------
38384|      0|            p->level--;
38385|      0|            return NULL;
38386|      0|        }
38387|   169k|        D(fprintf(stderr, "%*c> _tmp_157[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'@'"));
38388|   169k|        Token * _literal;
38389|   169k|        if (
38390|   169k|            (_literal = _PyPegen_expect_token(p, 49))  // token='@'
  ------------------
  |  Branch (38390:13): [True: 325, False: 169k]
  ------------------
38391|   169k|        )
38392|    325|        {
38393|    325|            D(fprintf(stderr, "%*c+ _tmp_157[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'@'"));
38394|    325|            _res = _literal;
38395|    325|            goto done;
38396|    325|        }
38397|   169k|        p->mark = _mark;
38398|   169k|        D(fprintf(stderr, "%*c%s _tmp_157[%d-%d]: %s failed!\n", p->level, ' ',
38399|   169k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'@'"));
38400|   169k|    }
38401|   169k|    _res = NULL;
38402|   172k|  done:
38403|   172k|    p->level--;
38404|   172k|    return _res;
38405|   169k|}
parser.c:invalid_bitwise_and_rule:
28537|   441k|{
28538|   441k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   883k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28538:9): [True: 0, False: 441k]
  |  Branch (28538:35): [True: 0, False: 441k]
  ------------------
28539|      0|        _Pypegen_stack_overflow(p);
28540|      0|    }
28541|   441k|    if (p->error_indicator) {
  ------------------
  |  Branch (28541:9): [True: 0, False: 441k]
  ------------------
28542|      0|        p->level--;
28543|      0|        return NULL;
28544|      0|    }
28545|   441k|    void * _res = NULL;
28546|   441k|    int _mark = p->mark;
28547|   441k|    { // bitwise_and '&' '&'
28548|   441k|        if (p->error_indicator) {
  ------------------
  |  Branch (28548:13): [True: 0, False: 441k]
  ------------------
28549|      0|            p->level--;
28550|      0|            return NULL;
28551|      0|        }
28552|   441k|        D(fprintf(stderr, "%*c> invalid_bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_and '&' '&'"));
28553|   441k|        expr_ty a;
28554|   441k|        Token * b;
28555|   441k|        Token * c;
28556|   441k|        if (
28557|   441k|            (a = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  Branch (28557:13): [True: 168k, False: 273k]
  ------------------
28558|   168k|            &&
28559|   168k|            (b = _PyPegen_expect_token(p, 19))  // token='&'
  ------------------
  |  Branch (28559:13): [True: 122, False: 168k]
  ------------------
28560|    122|            &&
28561|    122|            (c = _PyPegen_expect_token(p, 19))  // token='&'
  ------------------
  |  Branch (28561:13): [True: 6, False: 116]
  ------------------
28562|   441k|        )
28563|      6|        {
28564|      6|            D(fprintf(stderr, "%*c+ invalid_bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_and '&' '&'"));
28565|      6|            _res = _PyPegen_tokens_are_adjacent ( b , c ) ? RAISE_SYNTAX_ERROR_KNOWN_RANGE ( b , c , "invalid syntax.  Maybe you meant 'and' or '&' instead of '&&'?" ) : NULL;
  ------------------
  |  |  211|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (28565:20): [True: 3, False: 3]
  ------------------
28566|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (28566:18): [True: 6, False: 0]
  |  Branch (28566:34): [True: 0, False: 0]
  |  Branch (28566:57): [True: 3, False: 3]
  ------------------
28567|      3|                p->error_indicator = 1;
28568|      3|                p->level--;
28569|      3|                return NULL;
28570|      3|            }
28571|      3|            goto done;
28572|      6|        }
28573|   441k|        p->mark = _mark;
28574|   441k|        D(fprintf(stderr, "%*c%s invalid_bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
28575|   441k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_and '&' '&'"));
28576|   441k|    }
28577|   441k|    _res = NULL;
28578|   441k|  done:
28579|   441k|    p->level--;
28580|   441k|    return _res;
28581|   441k|}
parser.c:invalid_bitwise_or_rule:
28587|   430k|{
28588|   430k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   860k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28588:9): [True: 0, False: 430k]
  |  Branch (28588:35): [True: 0, False: 430k]
  ------------------
28589|      0|        _Pypegen_stack_overflow(p);
28590|      0|    }
28591|   430k|    if (p->error_indicator) {
  ------------------
  |  Branch (28591:9): [True: 0, False: 430k]
  ------------------
28592|      0|        p->level--;
28593|      0|        return NULL;
28594|      0|    }
28595|   430k|    void * _res = NULL;
28596|   430k|    int _mark = p->mark;
28597|   430k|    { // bitwise_or '|' '|'
28598|   430k|        if (p->error_indicator) {
  ------------------
  |  Branch (28598:13): [True: 0, False: 430k]
  ------------------
28599|      0|            p->level--;
28600|      0|            return NULL;
28601|      0|        }
28602|   430k|        D(fprintf(stderr, "%*c> invalid_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or '|' '|'"));
28603|   430k|        expr_ty a;
28604|   430k|        Token * b;
28605|   430k|        Token * c;
28606|   430k|        if (
28607|   430k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (28607:13): [True: 162k, False: 267k]
  ------------------
28608|   162k|            &&
28609|   162k|            (b = _PyPegen_expect_token(p, 18))  // token='|'
  ------------------
  |  Branch (28609:13): [True: 478, False: 162k]
  ------------------
28610|    478|            &&
28611|    478|            (c = _PyPegen_expect_token(p, 18))  // token='|'
  ------------------
  |  Branch (28611:13): [True: 15, False: 463]
  ------------------
28612|   430k|        )
28613|     15|        {
28614|     15|            D(fprintf(stderr, "%*c+ invalid_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or '|' '|'"));
28615|     15|            _res = _PyPegen_tokens_are_adjacent ( b , c ) ? RAISE_SYNTAX_ERROR_KNOWN_RANGE ( b , c , "invalid syntax.  Maybe you meant 'or' or '|' instead of '||'?" ) : NULL;
  ------------------
  |  |  211|      5|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (28615:20): [True: 5, False: 10]
  ------------------
28616|     15|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (28616:18): [True: 15, False: 0]
  |  Branch (28616:34): [True: 0, False: 0]
  |  Branch (28616:57): [True: 5, False: 10]
  ------------------
28617|      5|                p->error_indicator = 1;
28618|      5|                p->level--;
28619|      5|                return NULL;
28620|      5|            }
28621|     10|            goto done;
28622|     15|        }
28623|   430k|        p->mark = _mark;
28624|   430k|        D(fprintf(stderr, "%*c%s invalid_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
28625|   430k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or '|' '|'"));
28626|   430k|    }
28627|   430k|    _res = NULL;
28628|   430k|  done:
28629|   430k|    p->level--;
28630|   430k|    return _res;
28631|   430k|}
parser.c:_tmp_119_rule:
35983|    120|{
35984|    120|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    240|#  define MAXSTACK 6000
  ------------------
  |  Branch (35984:9): [True: 0, False: 120]
  |  Branch (35984:35): [True: 0, False: 120]
  ------------------
35985|      0|        _Pypegen_stack_overflow(p);
35986|      0|    }
35987|    120|    if (p->error_indicator) {
  ------------------
  |  Branch (35987:9): [True: 0, False: 120]
  ------------------
35988|      0|        p->level--;
35989|      0|        return NULL;
35990|      0|    }
35991|    120|    void * _res = NULL;
35992|    120|    int _mark = p->mark;
35993|    120|    { // '='
35994|    120|        if (p->error_indicator) {
  ------------------
  |  Branch (35994:13): [True: 0, False: 120]
  ------------------
35995|      0|            p->level--;
35996|      0|            return NULL;
35997|      0|        }
35998|    120|        D(fprintf(stderr, "%*c> _tmp_119[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'='"));
35999|    120|        Token * _literal;
36000|    120|        if (
36001|    120|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (36001:13): [True: 50, False: 70]
  ------------------
36002|    120|        )
36003|     50|        {
36004|     50|            D(fprintf(stderr, "%*c+ _tmp_119[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'='"));
36005|     50|            _res = _literal;
36006|     50|            goto done;
36007|     50|        }
36008|     70|        p->mark = _mark;
36009|     70|        D(fprintf(stderr, "%*c%s _tmp_119[%d-%d]: %s failed!\n", p->level, ' ',
36010|     70|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'='"));
36011|     70|    }
36012|      0|    { // ':='
36013|     70|        if (p->error_indicator) {
  ------------------
  |  Branch (36013:13): [True: 0, False: 70]
  ------------------
36014|      0|            p->level--;
36015|      0|            return NULL;
36016|      0|        }
36017|     70|        D(fprintf(stderr, "%*c> _tmp_119[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':='"));
36018|     70|        Token * _literal;
36019|     70|        if (
36020|     70|            (_literal = _PyPegen_expect_token(p, 53))  // token=':='
  ------------------
  |  Branch (36020:13): [True: 6, False: 64]
  ------------------
36021|     70|        )
36022|      6|        {
36023|      6|            D(fprintf(stderr, "%*c+ _tmp_119[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':='"));
36024|      6|            _res = _literal;
36025|      6|            goto done;
36026|      6|        }
36027|     64|        p->mark = _mark;
36028|     64|        D(fprintf(stderr, "%*c%s _tmp_119[%d-%d]: %s failed!\n", p->level, ' ',
36029|     64|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':='"));
36030|     64|    }
36031|     64|    _res = NULL;
36032|    120|  done:
36033|    120|    p->level--;
36034|    120|    return _res;
36035|     64|}
parser.c:_tmp_120_rule:
36040|   105k|{
36041|   105k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   211k|#  define MAXSTACK 6000
  ------------------
  |  Branch (36041:9): [True: 0, False: 105k]
  |  Branch (36041:35): [True: 0, False: 105k]
  ------------------
36042|      0|        _Pypegen_stack_overflow(p);
36043|      0|    }
36044|   105k|    if (p->error_indicator) {
  ------------------
  |  Branch (36044:9): [True: 0, False: 105k]
  ------------------
36045|      0|        p->level--;
36046|      0|        return NULL;
36047|      0|    }
36048|   105k|    void * _res = NULL;
36049|   105k|    int _mark = p->mark;
36050|   105k|    { // list
36051|   105k|        if (p->error_indicator) {
  ------------------
  |  Branch (36051:13): [True: 0, False: 105k]
  ------------------
36052|      0|            p->level--;
36053|      0|            return NULL;
36054|      0|        }
36055|   105k|        D(fprintf(stderr, "%*c> _tmp_120[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "list"));
36056|   105k|        expr_ty list_var;
36057|   105k|        if (
36058|   105k|            (list_var = list_rule(p))  // list
  ------------------
  |  Branch (36058:13): [True: 1.16k, False: 104k]
  ------------------
36059|   105k|        )
36060|  1.16k|        {
36061|  1.16k|            D(fprintf(stderr, "%*c+ _tmp_120[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "list"));
36062|  1.16k|            _res = list_var;
36063|  1.16k|            goto done;
36064|  1.16k|        }
36065|   104k|        p->mark = _mark;
36066|   104k|        D(fprintf(stderr, "%*c%s _tmp_120[%d-%d]: %s failed!\n", p->level, ' ',
36067|   104k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "list"));
36068|   104k|    }
36069|      0|    { // tuple
36070|   104k|        if (p->error_indicator) {
  ------------------
  |  Branch (36070:13): [True: 73, False: 104k]
  ------------------
36071|     73|            p->level--;
36072|     73|            return NULL;
36073|     73|        }
36074|   104k|        D(fprintf(stderr, "%*c> _tmp_120[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tuple"));
36075|   104k|        expr_ty tuple_var;
36076|   104k|        if (
36077|   104k|            (tuple_var = tuple_rule(p))  // tuple
  ------------------
  |  Branch (36077:13): [True: 1.30k, False: 103k]
  ------------------
36078|   104k|        )
36079|  1.30k|        {
36080|  1.30k|            D(fprintf(stderr, "%*c+ _tmp_120[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tuple"));
36081|  1.30k|            _res = tuple_var;
36082|  1.30k|            goto done;
36083|  1.30k|        }
36084|   103k|        p->mark = _mark;
36085|   103k|        D(fprintf(stderr, "%*c%s _tmp_120[%d-%d]: %s failed!\n", p->level, ' ',
36086|   103k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tuple"));
36087|   103k|    }
36088|      0|    { // genexp
36089|   103k|        if (p->error_indicator) {
  ------------------
  |  Branch (36089:13): [True: 89, False: 103k]
  ------------------
36090|     89|            p->level--;
36091|     89|            return NULL;
36092|     89|        }
36093|   103k|        D(fprintf(stderr, "%*c> _tmp_120[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "genexp"));
36094|   103k|        expr_ty genexp_var;
36095|   103k|        if (
36096|   103k|            (genexp_var = genexp_rule(p))  // genexp
  ------------------
  |  Branch (36096:13): [True: 344, False: 102k]
  ------------------
36097|   103k|        )
36098|    344|        {
36099|    344|            D(fprintf(stderr, "%*c+ _tmp_120[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "genexp"));
36100|    344|            _res = genexp_var;
36101|    344|            goto done;
36102|    344|        }
36103|   102k|        p->mark = _mark;
36104|   102k|        D(fprintf(stderr, "%*c%s _tmp_120[%d-%d]: %s failed!\n", p->level, ' ',
36105|   102k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "genexp"));
36106|   102k|    }
36107|      0|    { // 'True'
36108|   102k|        if (p->error_indicator) {
  ------------------
  |  Branch (36108:13): [True: 6, False: 102k]
  ------------------
36109|      6|            p->level--;
36110|      6|            return NULL;
36111|      6|        }
36112|   102k|        D(fprintf(stderr, "%*c> _tmp_120[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'True'"));
36113|   102k|        Token * _keyword;
36114|   102k|        if (
36115|   102k|            (_keyword = _PyPegen_expect_token(p, 627))  // token='True'
  ------------------
  |  Branch (36115:13): [True: 338, False: 102k]
  ------------------
36116|   102k|        )
36117|    338|        {
36118|    338|            D(fprintf(stderr, "%*c+ _tmp_120[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'True'"));
36119|    338|            _res = _keyword;
36120|    338|            goto done;
36121|    338|        }
36122|   102k|        p->mark = _mark;
36123|   102k|        D(fprintf(stderr, "%*c%s _tmp_120[%d-%d]: %s failed!\n", p->level, ' ',
36124|   102k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'True'"));
36125|   102k|    }
36126|      0|    { // 'None'
36127|   102k|        if (p->error_indicator) {
  ------------------
  |  Branch (36127:13): [True: 0, False: 102k]
  ------------------
36128|      0|            p->level--;
36129|      0|            return NULL;
36130|      0|        }
36131|   102k|        D(fprintf(stderr, "%*c> _tmp_120[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'None'"));
36132|   102k|        Token * _keyword;
36133|   102k|        if (
36134|   102k|            (_keyword = _PyPegen_expect_token(p, 628))  // token='None'
  ------------------
  |  Branch (36134:13): [True: 41, False: 102k]
  ------------------
36135|   102k|        )
36136|     41|        {
36137|     41|            D(fprintf(stderr, "%*c+ _tmp_120[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'None'"));
36138|     41|            _res = _keyword;
36139|     41|            goto done;
36140|     41|        }
36141|   102k|        p->mark = _mark;
36142|   102k|        D(fprintf(stderr, "%*c%s _tmp_120[%d-%d]: %s failed!\n", p->level, ' ',
36143|   102k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'None'"));
36144|   102k|    }
36145|      0|    { // 'False'
36146|   102k|        if (p->error_indicator) {
  ------------------
  |  Branch (36146:13): [True: 0, False: 102k]
  ------------------
36147|      0|            p->level--;
36148|      0|            return NULL;
36149|      0|        }
36150|   102k|        D(fprintf(stderr, "%*c> _tmp_120[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'False'"));
36151|   102k|        Token * _keyword;
36152|   102k|        if (
36153|   102k|            (_keyword = _PyPegen_expect_token(p, 629))  // token='False'
  ------------------
  |  Branch (36153:13): [True: 212, False: 102k]
  ------------------
36154|   102k|        )
36155|    212|        {
36156|    212|            D(fprintf(stderr, "%*c+ _tmp_120[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'False'"));
36157|    212|            _res = _keyword;
36158|    212|            goto done;
36159|    212|        }
36160|   102k|        p->mark = _mark;
36161|   102k|        D(fprintf(stderr, "%*c%s _tmp_120[%d-%d]: %s failed!\n", p->level, ' ',
36162|   102k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'False'"));
36163|   102k|    }
36164|   102k|    _res = NULL;
36165|   105k|  done:
36166|   105k|    p->level--;
36167|   105k|    return _res;
36168|   102k|}
parser.c:expression_rule:
11559|  2.63M|{
11560|  2.63M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  5.27M|#  define MAXSTACK 6000
  ------------------
  |  Branch (11560:9): [True: 1, False: 2.63M]
  |  Branch (11560:35): [True: 0, False: 2.63M]
  ------------------
11561|      1|        _Pypegen_stack_overflow(p);
11562|      1|    }
11563|  2.63M|    if (p->error_indicator) {
  ------------------
  |  Branch (11563:9): [True: 1, False: 2.63M]
  ------------------
11564|      1|        p->level--;
11565|      1|        return NULL;
11566|      1|    }
11567|  2.63M|    expr_ty _res = NULL;
11568|  2.63M|    if (_PyPegen_is_memoized(p, expression_type, &_res)) {
  ------------------
  |  |  198|  2.63M|#define expression_type 1109
  ------------------
  |  Branch (11568:9): [True: 1.55M, False: 1.08M]
  ------------------
11569|  1.55M|        p->level--;
11570|  1.55M|        return _res;
11571|  1.55M|    }
11572|  1.08M|    int _mark = p->mark;
11573|  1.08M|    if (p->call_invalid_rules) { // invalid_if_expression
  ------------------
  |  Branch (11573:9): [True: 323k, False: 757k]
  ------------------
11574|   323k|        if (p->error_indicator) {
  ------------------
  |  Branch (11574:13): [True: 0, False: 323k]
  ------------------
11575|      0|            p->level--;
11576|      0|            return NULL;
11577|      0|        }
11578|   323k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_if_expression"));
11579|   323k|        void *invalid_if_expression_var;
11580|   323k|        if (
11581|   323k|            (invalid_if_expression_var = invalid_if_expression_rule(p))  // invalid_if_expression
  ------------------
  |  Branch (11581:13): [True: 0, False: 323k]
  ------------------
11582|   323k|        )
11583|      0|        {
11584|      0|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_if_expression"));
11585|      0|            _res = invalid_if_expression_var;
11586|      0|            goto done;
11587|      0|        }
11588|   323k|        p->mark = _mark;
11589|   323k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11590|   323k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_if_expression"));
11591|   323k|    }
11592|  1.08M|    if (p->call_invalid_rules) { // invalid_expression
  ------------------
  |  Branch (11592:9): [True: 323k, False: 757k]
  ------------------
11593|   323k|        if (p->error_indicator) {
  ------------------
  |  Branch (11593:13): [True: 31.7k, False: 291k]
  ------------------
11594|  31.7k|            p->level--;
11595|  31.7k|            return NULL;
11596|  31.7k|        }
11597|   291k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_expression"));
11598|   291k|        void *invalid_expression_var;
11599|   291k|        if (
11600|   291k|            (invalid_expression_var = invalid_expression_rule(p))  // invalid_expression
  ------------------
  |  Branch (11600:13): [True: 0, False: 291k]
  ------------------
11601|   291k|        )
11602|      0|        {
11603|      0|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_expression"));
11604|      0|            _res = invalid_expression_var;
11605|      0|            goto done;
11606|      0|        }
11607|   291k|        p->mark = _mark;
11608|   291k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11609|   291k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_expression"));
11610|   291k|    }
11611|  1.04M|    if (p->call_invalid_rules) { // invalid_legacy_expression
  ------------------
  |  Branch (11611:9): [True: 291k, False: 757k]
  ------------------
11612|   291k|        if (p->error_indicator) {
  ------------------
  |  Branch (11612:13): [True: 2.91k, False: 289k]
  ------------------
11613|  2.91k|            p->level--;
11614|  2.91k|            return NULL;
11615|  2.91k|        }
11616|   289k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_legacy_expression"));
11617|   289k|        void *invalid_legacy_expression_var;
11618|   289k|        if (
11619|   289k|            (invalid_legacy_expression_var = invalid_legacy_expression_rule(p))  // invalid_legacy_expression
  ------------------
  |  Branch (11619:13): [True: 0, False: 289k]
  ------------------
11620|   289k|        )
11621|      0|        {
11622|      0|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_legacy_expression"));
11623|      0|            _res = invalid_legacy_expression_var;
11624|      0|            goto done;
11625|      0|        }
11626|   289k|        p->mark = _mark;
11627|   289k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11628|   289k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_legacy_expression"));
11629|   289k|    }
11630|  1.04M|    { // if_expression
11631|  1.04M|        if (p->error_indicator) {
  ------------------
  |  Branch (11631:13): [True: 10.3k, False: 1.03M]
  ------------------
11632|  10.3k|            p->level--;
11633|  10.3k|            return NULL;
11634|  10.3k|        }
11635|  1.03M|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "if_expression"));
11636|  1.03M|        expr_ty if_expression_var;
11637|  1.03M|        if (
11638|  1.03M|            (if_expression_var = if_expression_rule(p))  // if_expression
  ------------------
  |  Branch (11638:13): [True: 3.31k, False: 1.03M]
  ------------------
11639|  1.03M|        )
11640|  3.31k|        {
11641|  3.31k|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "if_expression"));
11642|  3.31k|            _res = if_expression_var;
11643|  3.31k|            goto done;
11644|  3.31k|        }
11645|  1.03M|        p->mark = _mark;
11646|  1.03M|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11647|  1.03M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "if_expression"));
11648|  1.03M|    }
11649|      0|    { // disjunction
11650|  1.03M|        if (p->error_indicator) {
  ------------------
  |  Branch (11650:13): [True: 15.0k, False: 1.01M]
  ------------------
11651|  15.0k|            p->level--;
11652|  15.0k|            return NULL;
11653|  15.0k|        }
11654|  1.01M|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction"));
11655|  1.01M|        expr_ty disjunction_var;
11656|  1.01M|        if (
11657|  1.01M|            (disjunction_var = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (11657:13): [True: 728k, False: 289k]
  ------------------
11658|  1.01M|        )
11659|   728k|        {
11660|   728k|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction"));
11661|   728k|            _res = disjunction_var;
11662|   728k|            goto done;
11663|   728k|        }
11664|   289k|        p->mark = _mark;
11665|   289k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11666|   289k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction"));
11667|   289k|    }
11668|      0|    { // lambdef
11669|   289k|        if (p->error_indicator) {
  ------------------
  |  Branch (11669:13): [True: 0, False: 289k]
  ------------------
11670|      0|            p->level--;
11671|      0|            return NULL;
11672|      0|        }
11673|   289k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambdef"));
11674|   289k|        expr_ty lambdef_var;
11675|   289k|        if (
11676|   289k|            (lambdef_var = lambdef_rule(p))  // lambdef
  ------------------
  |  Branch (11676:13): [True: 7.92k, False: 281k]
  ------------------
11677|   289k|        )
11678|  7.92k|        {
11679|  7.92k|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambdef"));
11680|  7.92k|            _res = lambdef_var;
11681|  7.92k|            goto done;
11682|  7.92k|        }
11683|   281k|        p->mark = _mark;
11684|   281k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11685|   281k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambdef"));
11686|   281k|    }
11687|   281k|    _res = NULL;
11688|  1.02M|  done:
11689|  1.02M|    _PyPegen_insert_memo(p, _mark, expression_type, _res);
  ------------------
  |  |  198|  1.02M|#define expression_type 1109
  ------------------
11690|  1.02M|    p->level--;
11691|  1.02M|    return _res;
11692|   281k|}
parser.c:invalid_if_expression_rule:
21978|   323k|{
21979|   323k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   647k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21979:9): [True: 1, False: 323k]
  |  Branch (21979:35): [True: 0, False: 323k]
  ------------------
21980|      1|        _Pypegen_stack_overflow(p);
21981|      1|    }
21982|   323k|    if (p->error_indicator) {
  ------------------
  |  Branch (21982:9): [True: 1, False: 323k]
  ------------------
21983|      1|        p->level--;
21984|      1|        return NULL;
21985|      1|    }
21986|   323k|    void * _res = NULL;
21987|   323k|    int _mark = p->mark;
21988|   323k|    { // disjunction 'if' disjunction 'else' '*'
21989|   323k|        if (p->error_indicator) {
  ------------------
  |  Branch (21989:13): [True: 0, False: 323k]
  ------------------
21990|      0|            p->level--;
21991|      0|            return NULL;
21992|      0|        }
21993|   323k|        D(fprintf(stderr, "%*c> invalid_if_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' '*'"));
21994|   323k|        Token * _keyword;
21995|   323k|        Token * _keyword_1;
21996|   323k|        Token * a;
21997|   323k|        expr_ty b;
21998|   323k|        expr_ty disjunction_var;
21999|   323k|        if (
22000|   323k|            (disjunction_var = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (22000:13): [True: 149k, False: 174k]
  ------------------
22001|   149k|            &&
22002|   149k|            (_keyword = _PyPegen_expect_token(p, 700))  // token='if'
  ------------------
  |  Branch (22002:13): [True: 1.07k, False: 148k]
  ------------------
22003|  1.07k|            &&
22004|  1.07k|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (22004:13): [True: 838, False: 233]
  ------------------
22005|    838|            &&
22006|    838|            (_keyword_1 = _PyPegen_expect_token(p, 704))  // token='else'
  ------------------
  |  Branch (22006:13): [True: 794, False: 44]
  ------------------
22007|    794|            &&
22008|    794|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (22008:13): [True: 1, False: 793]
  ------------------
22009|   323k|        )
22010|      1|        {
22011|      1|            D(fprintf(stderr, "%*c+ invalid_if_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' '*'"));
22012|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot unpack only part of a conditional expression" );
  ------------------
  |  |  213|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22013|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22013:18): [True: 1, False: 0]
  |  Branch (22013:34): [True: 0, False: 0]
  |  Branch (22013:57): [True: 1, False: 0]
  ------------------
22014|      1|                p->error_indicator = 1;
22015|      1|                p->level--;
22016|      1|                return NULL;
22017|      1|            }
22018|      0|            goto done;
22019|      1|        }
22020|   323k|        p->mark = _mark;
22021|   323k|        D(fprintf(stderr, "%*c%s invalid_if_expression[%d-%d]: %s failed!\n", p->level, ' ',
22022|   323k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' '*'"));
22023|   323k|    }
22024|      0|    { // disjunction 'if' disjunction 'else' '**'
22025|   323k|        if (p->error_indicator) {
  ------------------
  |  Branch (22025:13): [True: 31.7k, False: 291k]
  ------------------
22026|  31.7k|            p->level--;
22027|  31.7k|            return NULL;
22028|  31.7k|        }
22029|   291k|        D(fprintf(stderr, "%*c> invalid_if_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' '**'"));
22030|   291k|        Token * _keyword;
22031|   291k|        Token * _keyword_1;
22032|   291k|        Token * a;
22033|   291k|        expr_ty b;
22034|   291k|        expr_ty disjunction_var;
22035|   291k|        if (
22036|   291k|            (disjunction_var = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (22036:13): [True: 149k, False: 142k]
  ------------------
22037|   149k|            &&
22038|   149k|            (_keyword = _PyPegen_expect_token(p, 700))  // token='if'
  ------------------
  |  Branch (22038:13): [True: 956, False: 148k]
  ------------------
22039|    956|            &&
22040|    956|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (22040:13): [True: 837, False: 119]
  ------------------
22041|    837|            &&
22042|    837|            (_keyword_1 = _PyPegen_expect_token(p, 704))  // token='else'
  ------------------
  |  Branch (22042:13): [True: 793, False: 44]
  ------------------
22043|    793|            &&
22044|    793|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (22044:13): [True: 1, False: 792]
  ------------------
22045|   291k|        )
22046|      1|        {
22047|      1|            D(fprintf(stderr, "%*c+ invalid_if_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' '**'"));
22048|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use dict unpacking on only part of a conditional expression" );
  ------------------
  |  |  213|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22049|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22049:18): [True: 1, False: 0]
  |  Branch (22049:34): [True: 0, False: 0]
  |  Branch (22049:57): [True: 1, False: 0]
  ------------------
22050|      1|                p->error_indicator = 1;
22051|      1|                p->level--;
22052|      1|                return NULL;
22053|      1|            }
22054|      0|            goto done;
22055|      1|        }
22056|   291k|        p->mark = _mark;
22057|   291k|        D(fprintf(stderr, "%*c%s invalid_if_expression[%d-%d]: %s failed!\n", p->level, ' ',
22058|   291k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' '**'"));
22059|   291k|    }
22060|   291k|    _res = NULL;
22061|   291k|  done:
22062|   291k|    p->level--;
22063|   291k|    return _res;
22064|   291k|}
parser.c:invalid_expression_rule:
21729|   291k|{
21730|   291k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   583k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21730:9): [True: 0, False: 291k]
  |  Branch (21730:35): [True: 0, False: 291k]
  ------------------
21731|      0|        _Pypegen_stack_overflow(p);
21732|      0|    }
21733|   291k|    if (p->error_indicator) {
  ------------------
  |  Branch (21733:9): [True: 0, False: 291k]
  ------------------
21734|      0|        p->level--;
21735|      0|        return NULL;
21736|      0|    }
21737|   291k|    void * _res = NULL;
21738|   291k|    int _mark = p->mark;
21739|   291k|    { // STRING ((!STRING expression_without_invalid))+ STRING
21740|   291k|        if (p->error_indicator) {
  ------------------
  |  Branch (21740:13): [True: 0, False: 291k]
  ------------------
21741|      0|            p->level--;
21742|      0|            return NULL;
21743|      0|        }
21744|   291k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "STRING ((!STRING expression_without_invalid))+ STRING"));
21745|   291k|        asdl_seq * a;
21746|   291k|        expr_ty string_var;
21747|   291k|        expr_ty string_var_1;
21748|   291k|        if (
21749|   291k|            (string_var = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (21749:13): [True: 3.15k, False: 288k]
  ------------------
21750|  3.15k|            &&
21751|  3.15k|            (a = _loop1_115_rule(p))  // ((!STRING expression_without_invalid))+
  ------------------
  |  Branch (21751:13): [True: 1.19k, False: 1.96k]
  ------------------
21752|  1.19k|            &&
21753|  1.19k|            (string_var_1 = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (21753:13): [True: 31, False: 1.16k]
  ------------------
21754|   291k|        )
21755|     31|        {
21756|     31|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "STRING ((!STRING expression_without_invalid))+ STRING"));
21757|     31|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( PyPegen_first_item ( a , expr_ty ) , PyPegen_last_item ( a , expr_ty ) , "invalid syntax. Is this intended to be part of the string?" );
  ------------------
  |  |  211|     31|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
21758|     31|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21758:18): [True: 31, False: 0]
  |  Branch (21758:34): [True: 0, False: 0]
  |  Branch (21758:57): [True: 31, False: 0]
  ------------------
21759|     31|                p->error_indicator = 1;
21760|     31|                p->level--;
21761|     31|                return NULL;
21762|     31|            }
21763|      0|            goto done;
21764|     31|        }
21765|   291k|        p->mark = _mark;
21766|   291k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
21767|   291k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "STRING ((!STRING expression_without_invalid))+ STRING"));
21768|   291k|    }
21769|      0|    { // !(NAME STRING | SOFT_KEYWORD) disjunction expression_without_invalid
21770|   291k|        if (p->error_indicator) {
  ------------------
  |  Branch (21770:13): [True: 156, False: 291k]
  ------------------
21771|    156|            p->level--;
21772|    156|            return NULL;
21773|    156|        }
21774|   291k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "!(NAME STRING | SOFT_KEYWORD) disjunction expression_without_invalid"));
21775|   291k|        expr_ty a;
21776|   291k|        expr_ty b;
21777|   291k|        if (
21778|   291k|            _PyPegen_lookahead(0, _tmp_116_rule, p)
  ------------------
  |  Branch (21778:13): [True: 287k, False: 4.47k]
  ------------------
21779|   287k|            &&
21780|   287k|            (a = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (21780:13): [True: 144k, False: 142k]
  ------------------
21781|   144k|            &&
21782|   144k|            (b = expression_without_invalid_rule(p))  // expression_without_invalid
  ------------------
  |  Branch (21782:13): [True: 12.9k, False: 132k]
  ------------------
21783|   291k|        )
21784|  12.9k|        {
21785|  12.9k|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "!(NAME STRING | SOFT_KEYWORD) disjunction expression_without_invalid"));
21786|  12.9k|            _res = _PyPegen_raise_error_for_missing_comma ( p , a , b );
21787|  12.9k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21787:18): [True: 12.9k, False: 0]
  |  Branch (21787:34): [True: 0, False: 0]
  |  Branch (21787:57): [True: 243, False: 12.6k]
  ------------------
21788|    243|                p->error_indicator = 1;
21789|    243|                p->level--;
21790|    243|                return NULL;
21791|    243|            }
21792|  12.6k|            goto done;
21793|  12.9k|        }
21794|   278k|        p->mark = _mark;
21795|   278k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
21796|   278k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!(NAME STRING | SOFT_KEYWORD) disjunction expression_without_invalid"));
21797|   278k|    }
21798|      0|    { // disjunction 'if' disjunction !('else' | ':')
21799|   278k|        if (p->error_indicator) {
  ------------------
  |  Branch (21799:13): [True: 423, False: 278k]
  ------------------
21800|    423|            p->level--;
21801|    423|            return NULL;
21802|    423|        }
21803|   278k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction !('else' | ':')"));
21804|   278k|        Token * _keyword;
21805|   278k|        expr_ty a;
21806|   278k|        expr_ty b;
21807|   278k|        if (
21808|   278k|            (a = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (21808:13): [True: 136k, False: 142k]
  ------------------
21809|   136k|            &&
21810|   136k|            (_keyword = _PyPegen_expect_token(p, 700))  // token='if'
  ------------------
  |  Branch (21810:13): [True: 955, False: 135k]
  ------------------
21811|    955|            &&
21812|    955|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (21812:13): [True: 836, False: 119]
  ------------------
21813|    836|            &&
21814|    836|            _PyPegen_lookahead(0, _tmp_117_rule, p)
  ------------------
  |  Branch (21814:13): [True: 37, False: 799]
  ------------------
21815|   278k|        )
21816|     37|        {
21817|     37|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction !('else' | ':')"));
21818|     37|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "expected 'else' after 'if' expression" );
  ------------------
  |  |  211|     37|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
21819|     37|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21819:18): [True: 37, False: 0]
  |  Branch (21819:34): [True: 0, False: 0]
  |  Branch (21819:57): [True: 37, False: 0]
  ------------------
21820|     37|                p->error_indicator = 1;
21821|     37|                p->level--;
21822|     37|                return NULL;
21823|     37|            }
21824|      0|            goto done;
21825|     37|        }
21826|   278k|        p->mark = _mark;
21827|   278k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
21828|   278k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction !('else' | ':')"));
21829|   278k|    }
21830|      0|    { // disjunction 'if' disjunction 'else' !expression
21831|   278k|        if (p->error_indicator) {
  ------------------
  |  Branch (21831:13): [True: 0, False: 278k]
  ------------------
21832|      0|            p->level--;
21833|      0|            return NULL;
21834|      0|        }
21835|   278k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' !expression"));
21836|   278k|        Token * _keyword;
21837|   278k|        Token * _keyword_1;
21838|   278k|        expr_ty a;
21839|   278k|        expr_ty b;
21840|   278k|        if (
21841|   278k|            (a = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (21841:13): [True: 136k, False: 142k]
  ------------------
21842|   136k|            &&
21843|   136k|            (_keyword = _PyPegen_expect_token(p, 700))  // token='if'
  ------------------
  |  Branch (21843:13): [True: 918, False: 135k]
  ------------------
21844|    918|            &&
21845|    918|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (21845:13): [True: 799, False: 119]
  ------------------
21846|    799|            &&
21847|    799|            (_keyword_1 = _PyPegen_expect_token(p, 704))  // token='else'
  ------------------
  |  Branch (21847:13): [True: 792, False: 7]
  ------------------
21848|    792|            &&
21849|    792|            _PyPegen_lookahead_for_expr(0, expression_rule, p)
  ------------------
  |  Branch (21849:13): [True: 166, False: 626]
  ------------------
21850|   278k|        )
21851|    166|        {
21852|    166|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' !expression"));
21853|    166|            _res = RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN ( "expected expression after 'else', but statement is given" );
  ------------------
  |  |  209|    166|#define RAISE_SYNTAX_ERROR_ON_NEXT_TOKEN(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 1, msg, ##__VA_ARGS__)
  ------------------
21854|    166|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21854:18): [True: 166, False: 0]
  |  Branch (21854:34): [True: 0, False: 0]
  |  Branch (21854:57): [True: 166, False: 0]
  ------------------
21855|    166|                p->error_indicator = 1;
21856|    166|                p->level--;
21857|    166|                return NULL;
21858|    166|            }
21859|      0|            goto done;
21860|    166|        }
21861|   278k|        p->mark = _mark;
21862|   278k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
21863|   278k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' !expression"));
21864|   278k|    }
21865|      0|    { // (pass_stmt | break_stmt | continue_stmt) 'if' disjunction 'else' simple_stmt
21866|   278k|        if (p->error_indicator) {
  ------------------
  |  Branch (21866:13): [True: 0, False: 278k]
  ------------------
21867|      0|            p->level--;
21868|      0|            return NULL;
21869|      0|        }
21870|   278k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(pass_stmt | break_stmt | continue_stmt) 'if' disjunction 'else' simple_stmt"));
21871|   278k|        Token * _keyword;
21872|   278k|        Token * _keyword_1;
21873|   278k|        stmt_ty a;
21874|   278k|        expr_ty b;
21875|   278k|        stmt_ty c;
21876|   278k|        if (
21877|   278k|            (a = (stmt_ty)_tmp_118_rule(p))  // pass_stmt | break_stmt | continue_stmt
  ------------------
  |  Branch (21877:13): [True: 2.68k, False: 275k]
  ------------------
21878|  2.68k|            &&
21879|  2.68k|            (_keyword = _PyPegen_expect_token(p, 700))  // token='if'
  ------------------
  |  Branch (21879:13): [True: 1.36k, False: 1.32k]
  ------------------
21880|  1.36k|            &&
21881|  1.36k|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (21881:13): [True: 1.16k, False: 193]
  ------------------
21882|  1.16k|            &&
21883|  1.16k|            (_keyword_1 = _PyPegen_expect_token(p, 704))  // token='else'
  ------------------
  |  Branch (21883:13): [True: 1.12k, False: 45]
  ------------------
21884|  1.12k|            &&
21885|  1.12k|            (c = simple_stmt_rule(p))  // simple_stmt
  ------------------
  |  Branch (21885:13): [True: 9, False: 1.11k]
  ------------------
21886|   278k|        )
21887|      9|        {
21888|      9|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(pass_stmt | break_stmt | continue_stmt) 'if' disjunction 'else' simple_stmt"));
21889|      9|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "expected expression before 'if', but statement is given" );
  ------------------
  |  |  213|      9|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
21890|      9|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21890:18): [True: 9, False: 0]
  |  Branch (21890:34): [True: 0, False: 0]
  |  Branch (21890:57): [True: 9, False: 0]
  ------------------
21891|      9|                p->error_indicator = 1;
21892|      9|                p->level--;
21893|      9|                return NULL;
21894|      9|            }
21895|      0|            goto done;
21896|      9|        }
21897|   278k|        p->mark = _mark;
21898|   278k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
21899|   278k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(pass_stmt | break_stmt | continue_stmt) 'if' disjunction 'else' simple_stmt"));
21900|   278k|    }
21901|      0|    { // 'lambda' lambda_params? ':' &FSTRING_MIDDLE
21902|   278k|        if (p->error_indicator) {
  ------------------
  |  Branch (21902:13): [True: 1.15k, False: 277k]
  ------------------
21903|  1.15k|            p->level--;
21904|  1.15k|            return NULL;
21905|  1.15k|        }
21906|   277k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' &FSTRING_MIDDLE"));
21907|   277k|        void *_opt_var;
21908|   277k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|   277k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 277k]
  |  |  ------------------
  ------------------
21909|   277k|        Token * a;
21910|   277k|        Token * b;
21911|   277k|        if (
21912|   277k|            (a = _PyPegen_expect_token(p, 622))  // token='lambda'
  ------------------
  |  Branch (21912:13): [True: 3.75k, False: 273k]
  ------------------
21913|  3.75k|            &&
21914|  3.75k|            (_opt_var = lambda_params_rule(p), !p->error_indicator)  // lambda_params?
  ------------------
  |  Branch (21914:13): [True: 3.07k, False: 675]
  ------------------
21915|  3.07k|            &&
21916|  3.07k|            (b = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (21916:13): [True: 2.21k, False: 861]
  ------------------
21917|  2.21k|            &&
21918|  2.21k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, FSTRING_MIDDLE)  // token=FSTRING_MIDDLE
  ------------------
  |  |   76|  2.21k|#define FSTRING_MIDDLE  60
  ------------------
  |  Branch (21918:13): [True: 2, False: 2.21k]
  ------------------
21919|   277k|        )
21920|      2|        {
21921|      2|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' &FSTRING_MIDDLE"));
21922|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "f-string: lambda expressions are not allowed without parentheses" );
  ------------------
  |  |  211|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
21923|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21923:18): [True: 2, False: 0]
  |  Branch (21923:34): [True: 0, False: 0]
  |  Branch (21923:57): [True: 2, False: 0]
  ------------------
21924|      2|                p->error_indicator = 1;
21925|      2|                p->level--;
21926|      2|                return NULL;
21927|      2|            }
21928|      0|            goto done;
21929|      2|        }
21930|   277k|        p->mark = _mark;
21931|   277k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
21932|   277k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'lambda' lambda_params? ':' &FSTRING_MIDDLE"));
21933|   277k|    }
21934|      0|    { // 'lambda' lambda_params? ':' &TSTRING_MIDDLE
21935|   277k|        if (p->error_indicator) {
  ------------------
  |  Branch (21935:13): [True: 682, False: 276k]
  ------------------
21936|    682|            p->level--;
21937|    682|            return NULL;
21938|    682|        }
21939|   276k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' &TSTRING_MIDDLE"));
21940|   276k|        void *_opt_var;
21941|   276k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|   276k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 276k]
  |  |  ------------------
  ------------------
21942|   276k|        Token * a;
21943|   276k|        Token * b;
21944|   276k|        if (
21945|   276k|            (a = _PyPegen_expect_token(p, 622))  // token='lambda'
  ------------------
  |  Branch (21945:13): [True: 3.06k, False: 273k]
  ------------------
21946|  3.06k|            &&
21947|  3.06k|            (_opt_var = lambda_params_rule(p), !p->error_indicator)  // lambda_params?
  ------------------
  |  Branch (21947:13): [True: 3.06k, False: 0]
  ------------------
21948|  3.06k|            &&
21949|  3.06k|            (b = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (21949:13): [True: 2.20k, False: 861]
  ------------------
21950|  2.20k|            &&
21951|  2.20k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, TSTRING_MIDDLE)  // token=TSTRING_MIDDLE
  ------------------
  |  |   79|  2.20k|#define TSTRING_MIDDLE  63
  ------------------
  |  Branch (21951:13): [True: 8, False: 2.19k]
  ------------------
21952|   276k|        )
21953|      8|        {
21954|      8|            D(fprintf(stderr, "%*c+ invalid_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' &TSTRING_MIDDLE"));
21955|      8|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "t-string: lambda expressions are not allowed without parentheses" );
  ------------------
  |  |  211|      8|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
21956|      8|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21956:18): [True: 8, False: 0]
  |  Branch (21956:34): [True: 0, False: 0]
  |  Branch (21956:57): [True: 8, False: 0]
  ------------------
21957|      8|                p->error_indicator = 1;
21958|      8|                p->level--;
21959|      8|                return NULL;
21960|      8|            }
21961|      0|            goto done;
21962|      8|        }
21963|   276k|        p->mark = _mark;
21964|   276k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
21965|   276k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'lambda' lambda_params? ':' &TSTRING_MIDDLE"));
21966|   276k|    }
21967|   276k|    _res = NULL;
21968|   289k|  done:
21969|   289k|    p->level--;
21970|   289k|    return _res;
21971|   276k|}
parser.c:_loop1_115_rule:
35718|  3.15k|{
35719|  3.15k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  6.31k|#  define MAXSTACK 6000
  ------------------
  |  Branch (35719:9): [True: 0, False: 3.15k]
  |  Branch (35719:35): [True: 0, False: 3.15k]
  ------------------
35720|      0|        _Pypegen_stack_overflow(p);
35721|      0|    }
35722|  3.15k|    if (p->error_indicator) {
  ------------------
  |  Branch (35722:9): [True: 0, False: 3.15k]
  ------------------
35723|      0|        p->level--;
35724|      0|        return NULL;
35725|      0|    }
35726|  3.15k|    void *_res = NULL;
35727|  3.15k|    int _mark = p->mark;
35728|  3.15k|    void **_children = PyMem_Malloc(sizeof(void *));
35729|  3.15k|    if (!_children) {
  ------------------
  |  Branch (35729:9): [True: 0, False: 3.15k]
  ------------------
35730|      0|        p->error_indicator = 1;
35731|      0|        PyErr_NoMemory();
35732|      0|        p->level--;
35733|      0|        return NULL;
35734|      0|    }
35735|  3.15k|    Py_ssize_t _children_capacity = 1;
35736|  3.15k|    Py_ssize_t _n = 0;
35737|  3.15k|    { // (!STRING expression_without_invalid)
35738|  3.15k|        if (p->error_indicator) {
  ------------------
  |  Branch (35738:13): [True: 0, False: 3.15k]
  ------------------
35739|      0|            p->level--;
35740|      0|            return NULL;
35741|      0|        }
35742|  3.15k|        D(fprintf(stderr, "%*c> _loop1_115[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(!STRING expression_without_invalid)"));
35743|  3.15k|        void *_tmp_171_var;
35744|  3.15k|        while (
35745|  7.66k|            (_tmp_171_var = _tmp_171_rule(p))  // !STRING expression_without_invalid
  ------------------
  |  Branch (35745:13): [True: 4.51k, False: 3.15k]
  ------------------
35746|  3.15k|        )
35747|  4.51k|        {
35748|  4.51k|            _res = _tmp_171_var;
35749|  4.51k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (35749:17): [True: 252, False: 4.26k]
  ------------------
35750|    252|                _children_capacity *= 2;
35751|    252|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
35752|    252|                if (!_new_children) {
  ------------------
  |  Branch (35752:21): [True: 0, False: 252]
  ------------------
35753|      0|                    PyMem_Free(_children);
35754|      0|                    p->error_indicator = 1;
35755|      0|                    PyErr_NoMemory();
35756|      0|                    p->level--;
35757|      0|                    return NULL;
35758|      0|                }
35759|    252|                _children = _new_children;
35760|    252|            }
35761|  4.51k|            _children[_n++] = _res;
35762|  4.51k|            _mark = p->mark;
35763|  4.51k|        }
35764|  3.15k|        p->mark = _mark;
35765|  3.15k|        D(fprintf(stderr, "%*c%s _loop1_115[%d-%d]: %s failed!\n", p->level, ' ',
35766|  3.15k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(!STRING expression_without_invalid)"));
35767|  3.15k|    }
35768|  3.15k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (35768:9): [True: 1.92k, False: 1.23k]
  |  Branch (35768:20): [True: 39, False: 1.19k]
  ------------------
35769|  1.96k|        PyMem_Free(_children);
35770|  1.96k|        p->level--;
35771|  1.96k|        return NULL;
35772|  1.96k|    }
35773|  1.19k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
35774|  1.19k|    if (!_seq) {
  ------------------
  |  Branch (35774:9): [True: 0, False: 1.19k]
  ------------------
35775|      0|        PyMem_Free(_children);
35776|      0|        p->error_indicator = 1;
35777|      0|        PyErr_NoMemory();
35778|      0|        p->level--;
35779|      0|        return NULL;
35780|      0|    }
35781|  4.45k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  3.26k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  4.45k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (35781:28): [True: 3.26k, False: 1.19k]
  ------------------
35782|  1.19k|    PyMem_Free(_children);
35783|  1.19k|    p->level--;
35784|  1.19k|    return _seq;
35785|  1.19k|}
parser.c:_tmp_171_rule:
39069|  7.66k|{
39070|  7.66k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  15.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (39070:9): [True: 0, False: 7.66k]
  |  Branch (39070:35): [True: 0, False: 7.66k]
  ------------------
39071|      0|        _Pypegen_stack_overflow(p);
39072|      0|    }
39073|  7.66k|    if (p->error_indicator) {
  ------------------
  |  Branch (39073:9): [True: 0, False: 7.66k]
  ------------------
39074|      0|        p->level--;
39075|      0|        return NULL;
39076|      0|    }
39077|  7.66k|    void * _res = NULL;
39078|  7.66k|    int _mark = p->mark;
39079|  7.66k|    { // !STRING expression_without_invalid
39080|  7.66k|        if (p->error_indicator) {
  ------------------
  |  Branch (39080:13): [True: 0, False: 7.66k]
  ------------------
39081|      0|            p->level--;
39082|      0|            return NULL;
39083|      0|        }
39084|  7.66k|        D(fprintf(stderr, "%*c> _tmp_171[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "!STRING expression_without_invalid"));
39085|  7.66k|        expr_ty expression_without_invalid_var;
39086|  7.66k|        if (
39087|  7.66k|            _PyPegen_lookahead(0, _PyPegen_string_token, p)
  ------------------
  |  Branch (39087:13): [True: 7.21k, False: 457]
  ------------------
39088|  7.21k|            &&
39089|  7.21k|            (expression_without_invalid_var = expression_without_invalid_rule(p))  // expression_without_invalid
  ------------------
  |  Branch (39089:13): [True: 4.51k, False: 2.69k]
  ------------------
39090|  7.66k|        )
39091|  4.51k|        {
39092|  4.51k|            D(fprintf(stderr, "%*c+ _tmp_171[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "!STRING expression_without_invalid"));
39093|  4.51k|            _res = expression_without_invalid_var;
39094|  4.51k|            goto done;
39095|  4.51k|        }
39096|  3.15k|        p->mark = _mark;
39097|  3.15k|        D(fprintf(stderr, "%*c%s _tmp_171[%d-%d]: %s failed!\n", p->level, ' ',
39098|  3.15k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!STRING expression_without_invalid"));
39099|  3.15k|    }
39100|  3.15k|    _res = NULL;
39101|  7.66k|  done:
39102|  7.66k|    p->level--;
39103|  7.66k|    return _res;
39104|  3.15k|}
parser.c:_tmp_116_rule:
35790|   291k|{
35791|   291k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   583k|#  define MAXSTACK 6000
  ------------------
  |  Branch (35791:9): [True: 0, False: 291k]
  |  Branch (35791:35): [True: 0, False: 291k]
  ------------------
35792|      0|        _Pypegen_stack_overflow(p);
35793|      0|    }
35794|   291k|    if (p->error_indicator) {
  ------------------
  |  Branch (35794:9): [True: 0, False: 291k]
  ------------------
35795|      0|        p->level--;
35796|      0|        return NULL;
35797|      0|    }
35798|   291k|    void * _res = NULL;
35799|   291k|    int _mark = p->mark;
35800|   291k|    { // NAME STRING
35801|   291k|        if (p->error_indicator) {
  ------------------
  |  Branch (35801:13): [True: 0, False: 291k]
  ------------------
35802|      0|            p->level--;
35803|      0|            return NULL;
35804|      0|        }
35805|   291k|        D(fprintf(stderr, "%*c> _tmp_116[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME STRING"));
35806|   291k|        expr_ty name_var;
35807|   291k|        expr_ty string_var;
35808|   291k|        if (
35809|   291k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (35809:13): [True: 109k, False: 182k]
  ------------------
35810|   109k|            &&
35811|   109k|            (string_var = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (35811:13): [True: 1.10k, False: 108k]
  ------------------
35812|   291k|        )
35813|  1.10k|        {
35814|  1.10k|            D(fprintf(stderr, "%*c+ _tmp_116[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME STRING"));
35815|  1.10k|            _res = _PyPegen_dummy_name(p, name_var, string_var);
35816|  1.10k|            goto done;
35817|  1.10k|        }
35818|   290k|        p->mark = _mark;
35819|   290k|        D(fprintf(stderr, "%*c%s _tmp_116[%d-%d]: %s failed!\n", p->level, ' ',
35820|   290k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME STRING"));
35821|   290k|    }
35822|      0|    { // SOFT_KEYWORD
35823|   290k|        if (p->error_indicator) {
  ------------------
  |  Branch (35823:13): [True: 0, False: 290k]
  ------------------
35824|      0|            p->level--;
35825|      0|            return NULL;
35826|      0|        }
35827|   290k|        D(fprintf(stderr, "%*c> _tmp_116[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "SOFT_KEYWORD"));
35828|   290k|        expr_ty soft_keyword_var;
35829|   290k|        if (
35830|   290k|            (soft_keyword_var = _PyPegen_soft_keyword_token(p))  // SOFT_KEYWORD
  ------------------
  |  Branch (35830:13): [True: 3.37k, False: 287k]
  ------------------
35831|   290k|        )
35832|  3.37k|        {
35833|  3.37k|            D(fprintf(stderr, "%*c+ _tmp_116[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "SOFT_KEYWORD"));
35834|  3.37k|            _res = soft_keyword_var;
35835|  3.37k|            goto done;
35836|  3.37k|        }
35837|   287k|        p->mark = _mark;
35838|   287k|        D(fprintf(stderr, "%*c%s _tmp_116[%d-%d]: %s failed!\n", p->level, ' ',
35839|   287k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "SOFT_KEYWORD"));
35840|   287k|    }
35841|   287k|    _res = NULL;
35842|   291k|  done:
35843|   291k|    p->level--;
35844|   291k|    return _res;
35845|   287k|}
parser.c:expression_without_invalid_rule:
21468|   152k|{
21469|   152k|    int _prev_call_invalid = p->call_invalid_rules;
21470|   152k|    p->call_invalid_rules = 0;
21471|   152k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   304k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21471:9): [True: 0, False: 152k]
  |  Branch (21471:35): [True: 0, False: 152k]
  ------------------
21472|      0|        _Pypegen_stack_overflow(p);
21473|      0|    }
21474|   152k|    if (p->error_indicator) {
  ------------------
  |  Branch (21474:9): [True: 0, False: 152k]
  ------------------
21475|      0|        p->call_invalid_rules = _prev_call_invalid;
21476|      0|        p->level--;
21477|      0|        return NULL;
21478|      0|    }
21479|   152k|    expr_ty _res = NULL;
21480|   152k|    int _mark = p->mark;
21481|   152k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (21481:9): [True: 0, False: 152k]
  |  Branch (21481:31): [True: 0, False: 0]
  ------------------
21482|      0|        p->error_indicator = 1;
21483|      0|        p->call_invalid_rules = _prev_call_invalid;
21484|      0|        p->level--;
21485|      0|        return NULL;
21486|      0|    }
21487|   152k|    int _start_lineno = p->tokens[_mark]->lineno;
21488|   152k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   152k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 152k]
  |  |  ------------------
  ------------------
21489|   152k|    int _start_col_offset = p->tokens[_mark]->col_offset;
21490|   152k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   152k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 152k]
  |  |  ------------------
  ------------------
21491|   152k|    { // disjunction 'if' disjunction 'else' expression
21492|   152k|        if (p->error_indicator) {
  ------------------
  |  Branch (21492:13): [True: 0, False: 152k]
  ------------------
21493|      0|            p->call_invalid_rules = _prev_call_invalid;
21494|      0|            p->level--;
21495|      0|            return NULL;
21496|      0|        }
21497|   152k|        D(fprintf(stderr, "%*c> expression_without_invalid[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
21498|   152k|        Token * _keyword;
21499|   152k|        Token * _keyword_1;
21500|   152k|        expr_ty a;
21501|   152k|        expr_ty b;
21502|   152k|        expr_ty c;
21503|   152k|        if (
21504|   152k|            (a = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (21504:13): [True: 17.3k, False: 134k]
  ------------------
21505|  17.3k|            &&
21506|  17.3k|            (_keyword = _PyPegen_expect_token(p, 700))  // token='if'
  ------------------
  |  Branch (21506:13): [True: 82, False: 17.2k]
  ------------------
21507|     82|            &&
21508|     82|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (21508:13): [True: 77, False: 5]
  ------------------
21509|     77|            &&
21510|     77|            (_keyword_1 = _PyPegen_expect_token(p, 704))  // token='else'
  ------------------
  |  Branch (21510:13): [True: 66, False: 11]
  ------------------
21511|     66|            &&
21512|     66|            (c = expression_rule(p))  // expression
  ------------------
  |  Branch (21512:13): [True: 59, False: 7]
  ------------------
21513|   152k|        )
21514|     59|        {
21515|     59|            D(fprintf(stderr, "%*c+ expression_without_invalid[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
21516|     59|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
21517|     59|            if (_token == NULL) {
  ------------------
  |  Branch (21517:17): [True: 0, False: 59]
  ------------------
21518|      0|                p->call_invalid_rules = _prev_call_invalid;
21519|      0|                p->level--;
21520|      0|                return NULL;
21521|      0|            }
21522|     59|            int _end_lineno = _token->end_lineno;
21523|     59|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|     59|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 59]
  |  |  ------------------
  ------------------
21524|     59|            int _end_col_offset = _token->end_col_offset;
21525|     59|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|     59|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 59]
  |  |  ------------------
  ------------------
21526|     59|            _res = _PyAST_IfExp ( b , a , c , EXTRA );
  ------------------
  |  |  281|     59|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
21527|     59|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21527:18): [True: 0, False: 59]
  |  Branch (21527:34): [True: 0, False: 59]
  |  Branch (21527:57): [True: 0, False: 0]
  ------------------
21528|      0|                p->error_indicator = 1;
21529|      0|                p->call_invalid_rules = _prev_call_invalid;
21530|      0|                p->level--;
21531|      0|                return NULL;
21532|      0|            }
21533|     59|            goto done;
21534|     59|        }
21535|   152k|        p->mark = _mark;
21536|   152k|        D(fprintf(stderr, "%*c%s expression_without_invalid[%d-%d]: %s failed!\n", p->level, ' ',
21537|   152k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
21538|   152k|    }
21539|      0|    { // disjunction
21540|   152k|        if (p->error_indicator) {
  ------------------
  |  Branch (21540:13): [True: 575, False: 151k]
  ------------------
21541|    575|            p->call_invalid_rules = _prev_call_invalid;
21542|    575|            p->level--;
21543|    575|            return NULL;
21544|    575|        }
21545|   151k|        D(fprintf(stderr, "%*c> expression_without_invalid[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction"));
21546|   151k|        expr_ty disjunction_var;
21547|   151k|        if (
21548|   151k|            (disjunction_var = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (21548:13): [True: 17.2k, False: 134k]
  ------------------
21549|   151k|        )
21550|  17.2k|        {
21551|  17.2k|            D(fprintf(stderr, "%*c+ expression_without_invalid[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction"));
21552|  17.2k|            _res = disjunction_var;
21553|  17.2k|            goto done;
21554|  17.2k|        }
21555|   134k|        p->mark = _mark;
21556|   134k|        D(fprintf(stderr, "%*c%s expression_without_invalid[%d-%d]: %s failed!\n", p->level, ' ',
21557|   134k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction"));
21558|   134k|    }
21559|      0|    { // lambdef
21560|   134k|        if (p->error_indicator) {
  ------------------
  |  Branch (21560:13): [True: 0, False: 134k]
  ------------------
21561|      0|            p->call_invalid_rules = _prev_call_invalid;
21562|      0|            p->level--;
21563|      0|            return NULL;
21564|      0|        }
21565|   134k|        D(fprintf(stderr, "%*c> expression_without_invalid[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambdef"));
21566|   134k|        expr_ty lambdef_var;
21567|   134k|        if (
21568|   134k|            (lambdef_var = lambdef_rule(p))  // lambdef
  ------------------
  |  Branch (21568:13): [True: 62, False: 134k]
  ------------------
21569|   134k|        )
21570|     62|        {
21571|     62|            D(fprintf(stderr, "%*c+ expression_without_invalid[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambdef"));
21572|     62|            _res = lambdef_var;
21573|     62|            goto done;
21574|     62|        }
21575|   134k|        p->mark = _mark;
21576|   134k|        D(fprintf(stderr, "%*c%s expression_without_invalid[%d-%d]: %s failed!\n", p->level, ' ',
21577|   134k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambdef"));
21578|   134k|    }
21579|   134k|    _res = NULL;
21580|   151k|  done:
21581|   151k|    p->call_invalid_rules = _prev_call_invalid;
21582|   151k|    p->level--;
21583|   151k|    return _res;
21584|   134k|}
parser.c:_tmp_117_rule:
35850|    836|{
35851|    836|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.67k|#  define MAXSTACK 6000
  ------------------
  |  Branch (35851:9): [True: 0, False: 836]
  |  Branch (35851:35): [True: 0, False: 836]
  ------------------
35852|      0|        _Pypegen_stack_overflow(p);
35853|      0|    }
35854|    836|    if (p->error_indicator) {
  ------------------
  |  Branch (35854:9): [True: 0, False: 836]
  ------------------
35855|      0|        p->level--;
35856|      0|        return NULL;
35857|      0|    }
35858|    836|    void * _res = NULL;
35859|    836|    int _mark = p->mark;
35860|    836|    { // 'else'
35861|    836|        if (p->error_indicator) {
  ------------------
  |  Branch (35861:13): [True: 0, False: 836]
  ------------------
35862|      0|            p->level--;
35863|      0|            return NULL;
35864|      0|        }
35865|    836|        D(fprintf(stderr, "%*c> _tmp_117[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'else'"));
35866|    836|        Token * _keyword;
35867|    836|        if (
35868|    836|            (_keyword = _PyPegen_expect_token(p, 704))  // token='else'
  ------------------
  |  Branch (35868:13): [True: 792, False: 44]
  ------------------
35869|    836|        )
35870|    792|        {
35871|    792|            D(fprintf(stderr, "%*c+ _tmp_117[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'else'"));
35872|    792|            _res = _keyword;
35873|    792|            goto done;
35874|    792|        }
35875|     44|        p->mark = _mark;
35876|     44|        D(fprintf(stderr, "%*c%s _tmp_117[%d-%d]: %s failed!\n", p->level, ' ',
35877|     44|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'else'"));
35878|     44|    }
35879|      0|    { // ':'
35880|     44|        if (p->error_indicator) {
  ------------------
  |  Branch (35880:13): [True: 0, False: 44]
  ------------------
35881|      0|            p->level--;
35882|      0|            return NULL;
35883|      0|        }
35884|     44|        D(fprintf(stderr, "%*c> _tmp_117[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':'"));
35885|     44|        Token * _literal;
35886|     44|        if (
35887|     44|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (35887:13): [True: 7, False: 37]
  ------------------
35888|     44|        )
35889|      7|        {
35890|      7|            D(fprintf(stderr, "%*c+ _tmp_117[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':'"));
35891|      7|            _res = _literal;
35892|      7|            goto done;
35893|      7|        }
35894|     37|        p->mark = _mark;
35895|     37|        D(fprintf(stderr, "%*c%s _tmp_117[%d-%d]: %s failed!\n", p->level, ' ',
35896|     37|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':'"));
35897|     37|    }
35898|     37|    _res = NULL;
35899|    836|  done:
35900|    836|    p->level--;
35901|    836|    return _res;
35902|     37|}
parser.c:_tmp_118_rule:
35907|   278k|{
35908|   278k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   556k|#  define MAXSTACK 6000
  ------------------
  |  Branch (35908:9): [True: 0, False: 278k]
  |  Branch (35908:35): [True: 0, False: 278k]
  ------------------
35909|      0|        _Pypegen_stack_overflow(p);
35910|      0|    }
35911|   278k|    if (p->error_indicator) {
  ------------------
  |  Branch (35911:9): [True: 0, False: 278k]
  ------------------
35912|      0|        p->level--;
35913|      0|        return NULL;
35914|      0|    }
35915|   278k|    void * _res = NULL;
35916|   278k|    int _mark = p->mark;
35917|   278k|    { // pass_stmt
35918|   278k|        if (p->error_indicator) {
  ------------------
  |  Branch (35918:13): [True: 0, False: 278k]
  ------------------
35919|      0|            p->level--;
35920|      0|            return NULL;
35921|      0|        }
35922|   278k|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "pass_stmt"));
35923|   278k|        stmt_ty pass_stmt_var;
35924|   278k|        if (
35925|   278k|            (pass_stmt_var = pass_stmt_rule(p))  // pass_stmt
  ------------------
  |  Branch (35925:13): [True: 1.83k, False: 276k]
  ------------------
35926|   278k|        )
35927|  1.83k|        {
35928|  1.83k|            D(fprintf(stderr, "%*c+ _tmp_118[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "pass_stmt"));
35929|  1.83k|            _res = pass_stmt_var;
35930|  1.83k|            goto done;
35931|  1.83k|        }
35932|   276k|        p->mark = _mark;
35933|   276k|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
35934|   276k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "pass_stmt"));
35935|   276k|    }
35936|      0|    { // break_stmt
35937|   276k|        if (p->error_indicator) {
  ------------------
  |  Branch (35937:13): [True: 0, False: 276k]
  ------------------
35938|      0|            p->level--;
35939|      0|            return NULL;
35940|      0|        }
35941|   276k|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "break_stmt"));
35942|   276k|        stmt_ty break_stmt_var;
35943|   276k|        if (
35944|   276k|            (break_stmt_var = break_stmt_rule(p))  // break_stmt
  ------------------
  |  Branch (35944:13): [True: 470, False: 275k]
  ------------------
35945|   276k|        )
35946|    470|        {
35947|    470|            D(fprintf(stderr, "%*c+ _tmp_118[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "break_stmt"));
35948|    470|            _res = break_stmt_var;
35949|    470|            goto done;
35950|    470|        }
35951|   275k|        p->mark = _mark;
35952|   275k|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
35953|   275k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "break_stmt"));
35954|   275k|    }
35955|      0|    { // continue_stmt
35956|   275k|        if (p->error_indicator) {
  ------------------
  |  Branch (35956:13): [True: 0, False: 275k]
  ------------------
35957|      0|            p->level--;
35958|      0|            return NULL;
35959|      0|        }
35960|   275k|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "continue_stmt"));
35961|   275k|        stmt_ty continue_stmt_var;
35962|   275k|        if (
35963|   275k|            (continue_stmt_var = continue_stmt_rule(p))  // continue_stmt
  ------------------
  |  Branch (35963:13): [True: 383, False: 275k]
  ------------------
35964|   275k|        )
35965|    383|        {
35966|    383|            D(fprintf(stderr, "%*c+ _tmp_118[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "continue_stmt"));
35967|    383|            _res = continue_stmt_var;
35968|    383|            goto done;
35969|    383|        }
35970|   275k|        p->mark = _mark;
35971|   275k|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
35972|   275k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "continue_stmt"));
35973|   275k|    }
35974|   275k|    _res = NULL;
35975|   278k|  done:
35976|   278k|    p->level--;
35977|   278k|    return _res;
35978|   275k|}
parser.c:pass_stmt_rule:
 2969|   280k|{
 2970|   280k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   561k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2970:9): [True: 0, False: 280k]
  |  Branch (2970:35): [True: 0, False: 280k]
  ------------------
 2971|      0|        _Pypegen_stack_overflow(p);
 2972|      0|    }
 2973|   280k|    if (p->error_indicator) {
  ------------------
  |  Branch (2973:9): [True: 0, False: 280k]
  ------------------
 2974|      0|        p->level--;
 2975|      0|        return NULL;
 2976|      0|    }
 2977|   280k|    stmt_ty _res = NULL;
 2978|   280k|    int _mark = p->mark;
 2979|   280k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (2979:9): [True: 0, False: 280k]
  |  Branch (2979:31): [True: 0, False: 0]
  ------------------
 2980|      0|        p->error_indicator = 1;
 2981|      0|        p->level--;
 2982|      0|        return NULL;
 2983|      0|    }
 2984|   280k|    int _start_lineno = p->tokens[_mark]->lineno;
 2985|   280k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   280k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 280k]
  |  |  ------------------
  ------------------
 2986|   280k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 2987|   280k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   280k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 280k]
  |  |  ------------------
  ------------------
 2988|   280k|    { // 'pass'
 2989|   280k|        if (p->error_indicator) {
  ------------------
  |  Branch (2989:13): [True: 0, False: 280k]
  ------------------
 2990|      0|            p->level--;
 2991|      0|            return NULL;
 2992|      0|        }
 2993|   280k|        D(fprintf(stderr, "%*c> pass_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'pass'"));
 2994|   280k|        Token * _keyword;
 2995|   280k|        if (
 2996|   280k|            (_keyword = _PyPegen_expect_token(p, 527))  // token='pass'
  ------------------
  |  Branch (2996:13): [True: 4.34k, False: 276k]
  ------------------
 2997|   280k|        )
 2998|  4.34k|        {
 2999|  4.34k|            D(fprintf(stderr, "%*c+ pass_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'pass'"));
 3000|  4.34k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3001|  4.34k|            if (_token == NULL) {
  ------------------
  |  Branch (3001:17): [True: 0, False: 4.34k]
  ------------------
 3002|      0|                p->level--;
 3003|      0|                return NULL;
 3004|      0|            }
 3005|  4.34k|            int _end_lineno = _token->end_lineno;
 3006|  4.34k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.34k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.34k]
  |  |  ------------------
  ------------------
 3007|  4.34k|            int _end_col_offset = _token->end_col_offset;
 3008|  4.34k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.34k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.34k]
  |  |  ------------------
  ------------------
 3009|  4.34k|            _res = _PyAST_Pass ( EXTRA );
  ------------------
  |  |  281|  4.34k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3010|  4.34k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3010:18): [True: 0, False: 4.34k]
  |  Branch (3010:34): [True: 0, False: 4.34k]
  |  Branch (3010:57): [True: 0, False: 0]
  ------------------
 3011|      0|                p->error_indicator = 1;
 3012|      0|                p->level--;
 3013|      0|                return NULL;
 3014|      0|            }
 3015|  4.34k|            goto done;
 3016|  4.34k|        }
 3017|   276k|        p->mark = _mark;
 3018|   276k|        D(fprintf(stderr, "%*c%s pass_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3019|   276k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'pass'"));
 3020|   276k|    }
 3021|   276k|    _res = NULL;
 3022|   280k|  done:
 3023|   280k|    p->level--;
 3024|   280k|    return _res;
 3025|   276k|}
parser.c:break_stmt_rule:
 3030|   277k|{
 3031|   277k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   555k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3031:9): [True: 0, False: 277k]
  |  Branch (3031:35): [True: 0, False: 277k]
  ------------------
 3032|      0|        _Pypegen_stack_overflow(p);
 3033|      0|    }
 3034|   277k|    if (p->error_indicator) {
  ------------------
  |  Branch (3034:9): [True: 0, False: 277k]
  ------------------
 3035|      0|        p->level--;
 3036|      0|        return NULL;
 3037|      0|    }
 3038|   277k|    stmt_ty _res = NULL;
 3039|   277k|    int _mark = p->mark;
 3040|   277k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3040:9): [True: 0, False: 277k]
  |  Branch (3040:31): [True: 0, False: 0]
  ------------------
 3041|      0|        p->error_indicator = 1;
 3042|      0|        p->level--;
 3043|      0|        return NULL;
 3044|      0|    }
 3045|   277k|    int _start_lineno = p->tokens[_mark]->lineno;
 3046|   277k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   277k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 277k]
  |  |  ------------------
  ------------------
 3047|   277k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3048|   277k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   277k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 277k]
  |  |  ------------------
  ------------------
 3049|   277k|    { // 'break'
 3050|   277k|        if (p->error_indicator) {
  ------------------
  |  Branch (3050:13): [True: 0, False: 277k]
  ------------------
 3051|      0|            p->level--;
 3052|      0|            return NULL;
 3053|      0|        }
 3054|   277k|        D(fprintf(stderr, "%*c> break_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'break'"));
 3055|   277k|        Token * _keyword;
 3056|   277k|        if (
 3057|   277k|            (_keyword = _PyPegen_expect_token(p, 528))  // token='break'
  ------------------
  |  Branch (3057:13): [True: 1.79k, False: 275k]
  ------------------
 3058|   277k|        )
 3059|  1.79k|        {
 3060|  1.79k|            D(fprintf(stderr, "%*c+ break_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'break'"));
 3061|  1.79k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3062|  1.79k|            if (_token == NULL) {
  ------------------
  |  Branch (3062:17): [True: 0, False: 1.79k]
  ------------------
 3063|      0|                p->level--;
 3064|      0|                return NULL;
 3065|      0|            }
 3066|  1.79k|            int _end_lineno = _token->end_lineno;
 3067|  1.79k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.79k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.79k]
  |  |  ------------------
  ------------------
 3068|  1.79k|            int _end_col_offset = _token->end_col_offset;
 3069|  1.79k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.79k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.79k]
  |  |  ------------------
  ------------------
 3070|  1.79k|            _res = _PyAST_Break ( EXTRA );
  ------------------
  |  |  281|  1.79k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3071|  1.79k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3071:18): [True: 0, False: 1.79k]
  |  Branch (3071:34): [True: 0, False: 1.79k]
  |  Branch (3071:57): [True: 0, False: 0]
  ------------------
 3072|      0|                p->error_indicator = 1;
 3073|      0|                p->level--;
 3074|      0|                return NULL;
 3075|      0|            }
 3076|  1.79k|            goto done;
 3077|  1.79k|        }
 3078|   275k|        p->mark = _mark;
 3079|   275k|        D(fprintf(stderr, "%*c%s break_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3080|   275k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'break'"));
 3081|   275k|    }
 3082|   275k|    _res = NULL;
 3083|   277k|  done:
 3084|   277k|    p->level--;
 3085|   277k|    return _res;
 3086|   275k|}
parser.c:continue_stmt_rule:
 3091|   277k|{
 3092|   277k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   554k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3092:9): [True: 0, False: 277k]
  |  Branch (3092:35): [True: 0, False: 277k]
  ------------------
 3093|      0|        _Pypegen_stack_overflow(p);
 3094|      0|    }
 3095|   277k|    if (p->error_indicator) {
  ------------------
  |  Branch (3095:9): [True: 0, False: 277k]
  ------------------
 3096|      0|        p->level--;
 3097|      0|        return NULL;
 3098|      0|    }
 3099|   277k|    stmt_ty _res = NULL;
 3100|   277k|    int _mark = p->mark;
 3101|   277k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3101:9): [True: 0, False: 277k]
  |  Branch (3101:31): [True: 0, False: 0]
  ------------------
 3102|      0|        p->error_indicator = 1;
 3103|      0|        p->level--;
 3104|      0|        return NULL;
 3105|      0|    }
 3106|   277k|    int _start_lineno = p->tokens[_mark]->lineno;
 3107|   277k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   277k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 277k]
  |  |  ------------------
  ------------------
 3108|   277k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3109|   277k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   277k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 277k]
  |  |  ------------------
  ------------------
 3110|   277k|    { // 'continue'
 3111|   277k|        if (p->error_indicator) {
  ------------------
  |  Branch (3111:13): [True: 0, False: 277k]
  ------------------
 3112|      0|            p->level--;
 3113|      0|            return NULL;
 3114|      0|        }
 3115|   277k|        D(fprintf(stderr, "%*c> continue_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'continue'"));
 3116|   277k|        Token * _keyword;
 3117|   277k|        if (
 3118|   277k|            (_keyword = _PyPegen_expect_token(p, 529))  // token='continue'
  ------------------
  |  Branch (3118:13): [True: 1.83k, False: 275k]
  ------------------
 3119|   277k|        )
 3120|  1.83k|        {
 3121|  1.83k|            D(fprintf(stderr, "%*c+ continue_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'continue'"));
 3122|  1.83k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3123|  1.83k|            if (_token == NULL) {
  ------------------
  |  Branch (3123:17): [True: 0, False: 1.83k]
  ------------------
 3124|      0|                p->level--;
 3125|      0|                return NULL;
 3126|      0|            }
 3127|  1.83k|            int _end_lineno = _token->end_lineno;
 3128|  1.83k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.83k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.83k]
  |  |  ------------------
  ------------------
 3129|  1.83k|            int _end_col_offset = _token->end_col_offset;
 3130|  1.83k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.83k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.83k]
  |  |  ------------------
  ------------------
 3131|  1.83k|            _res = _PyAST_Continue ( EXTRA );
  ------------------
  |  |  281|  1.83k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3132|  1.83k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3132:18): [True: 0, False: 1.83k]
  |  Branch (3132:34): [True: 0, False: 1.83k]
  |  Branch (3132:57): [True: 0, False: 0]
  ------------------
 3133|      0|                p->error_indicator = 1;
 3134|      0|                p->level--;
 3135|      0|                return NULL;
 3136|      0|            }
 3137|  1.83k|            goto done;
 3138|  1.83k|        }
 3139|   275k|        p->mark = _mark;
 3140|   275k|        D(fprintf(stderr, "%*c%s continue_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3141|   275k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'continue'"));
 3142|   275k|    }
 3143|   275k|    _res = NULL;
 3144|   277k|  done:
 3145|   277k|    p->level--;
 3146|   277k|    return _res;
 3147|   275k|}
parser.c:simple_stmt_rule:
 1589|   388k|{
 1590|   388k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   776k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1590:9): [True: 0, False: 388k]
  |  Branch (1590:35): [True: 0, False: 388k]
  ------------------
 1591|      0|        _Pypegen_stack_overflow(p);
 1592|      0|    }
 1593|   388k|    if (p->error_indicator) {
  ------------------
  |  Branch (1593:9): [True: 0, False: 388k]
  ------------------
 1594|      0|        p->level--;
 1595|      0|        return NULL;
 1596|      0|    }
 1597|   388k|    stmt_ty _res = NULL;
 1598|   388k|    if (_PyPegen_is_memoized(p, simple_stmt_type, &_res)) {
  ------------------
  |  |   98|   388k|#define simple_stmt_type 1009
  ------------------
  |  Branch (1598:9): [True: 67.8k, False: 320k]
  ------------------
 1599|  67.8k|        p->level--;
 1600|  67.8k|        return _res;
 1601|  67.8k|    }
 1602|   320k|    int _mark = p->mark;
 1603|   320k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (1603:9): [True: 0, False: 320k]
  |  Branch (1603:31): [True: 0, False: 0]
  ------------------
 1604|      0|        p->error_indicator = 1;
 1605|      0|        p->level--;
 1606|      0|        return NULL;
 1607|      0|    }
 1608|   320k|    int _start_lineno = p->tokens[_mark]->lineno;
 1609|   320k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   320k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 320k]
  |  |  ------------------
  ------------------
 1610|   320k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 1611|   320k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   320k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 320k]
  |  |  ------------------
  ------------------
 1612|   320k|    { // assignment
 1613|   320k|        if (p->error_indicator) {
  ------------------
  |  Branch (1613:13): [True: 0, False: 320k]
  ------------------
 1614|      0|            p->level--;
 1615|      0|            return NULL;
 1616|      0|        }
 1617|   320k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment"));
 1618|   320k|        stmt_ty assignment_var;
 1619|   320k|        if (
 1620|   320k|            (assignment_var = assignment_rule(p))  // assignment
  ------------------
  |  Branch (1620:13): [True: 58.0k, False: 262k]
  ------------------
 1621|   320k|        )
 1622|  58.0k|        {
 1623|  58.0k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment"));
 1624|  58.0k|            _res = assignment_var;
 1625|  58.0k|            goto done;
 1626|  58.0k|        }
 1627|   262k|        p->mark = _mark;
 1628|   262k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1629|   262k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment"));
 1630|   262k|    }
 1631|      0|    { // &"type" type_alias
 1632|   262k|        if (p->error_indicator) {
  ------------------
  |  Branch (1632:13): [True: 3.90k, False: 258k]
  ------------------
 1633|  3.90k|            p->level--;
 1634|  3.90k|            return NULL;
 1635|  3.90k|        }
 1636|   258k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&\"type\" type_alias"));
 1637|   258k|        stmt_ty type_alias_var;
 1638|   258k|        if (
 1639|   258k|            _PyPegen_lookahead_with_string(1, _PyPegen_expect_soft_keyword, p, "type")
  ------------------
  |  Branch (1639:13): [True: 1.07k, False: 257k]
  ------------------
 1640|  1.07k|            &&
 1641|  1.07k|            (type_alias_var = type_alias_rule(p))  // type_alias
  ------------------
  |  Branch (1641:13): [True: 826, False: 249]
  ------------------
 1642|   258k|        )
 1643|    826|        {
 1644|    826|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&\"type\" type_alias"));
 1645|    826|            _res = type_alias_var;
 1646|    826|            goto done;
 1647|    826|        }
 1648|   257k|        p->mark = _mark;
 1649|   257k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1650|   257k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&\"type\" type_alias"));
 1651|   257k|    }
 1652|      0|    { // &('import' | 'from' | "lazy") import_stmt
 1653|   257k|        if (p->error_indicator) {
  ------------------
  |  Branch (1653:13): [True: 10, False: 257k]
  ------------------
 1654|     10|            p->level--;
 1655|     10|            return NULL;
 1656|     10|        }
 1657|   257k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&('import' | 'from' | \"lazy\") import_stmt"));
 1658|   257k|        stmt_ty import_stmt_var;
 1659|   257k|        if (
 1660|   257k|            _PyPegen_lookahead(1, _tmp_5_rule, p)
  ------------------
  |  Branch (1660:13): [True: 10.4k, False: 247k]
  ------------------
 1661|  10.4k|            &&
 1662|  10.4k|            (import_stmt_var = import_stmt_rule(p))  // import_stmt
  ------------------
  |  Branch (1662:13): [True: 10.2k, False: 245]
  ------------------
 1663|   257k|        )
 1664|  10.2k|        {
 1665|  10.2k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&('import' | 'from' | \"lazy\") import_stmt"));
 1666|  10.2k|            _res = import_stmt_var;
 1667|  10.2k|            goto done;
 1668|  10.2k|        }
 1669|   247k|        p->mark = _mark;
 1670|   247k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1671|   247k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&('import' | 'from' | \"lazy\") import_stmt"));
 1672|   247k|    }
 1673|      0|    { // star_expressions
 1674|   247k|        if (p->error_indicator) {
  ------------------
  |  Branch (1674:13): [True: 52, False: 247k]
  ------------------
 1675|     52|            p->level--;
 1676|     52|            return NULL;
 1677|     52|        }
 1678|   247k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expressions"));
 1679|   247k|        expr_ty e;
 1680|   247k|        if (
 1681|   247k|            (e = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (1681:13): [True: 187k, False: 59.9k]
  ------------------
 1682|   247k|        )
 1683|   187k|        {
 1684|   187k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expressions"));
 1685|   187k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 1686|   187k|            if (_token == NULL) {
  ------------------
  |  Branch (1686:17): [True: 0, False: 187k]
  ------------------
 1687|      0|                p->level--;
 1688|      0|                return NULL;
 1689|      0|            }
 1690|   187k|            int _end_lineno = _token->end_lineno;
 1691|   187k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   187k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 187k]
  |  |  ------------------
  ------------------
 1692|   187k|            int _end_col_offset = _token->end_col_offset;
 1693|   187k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   187k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 187k]
  |  |  ------------------
  ------------------
 1694|   187k|            _res = _PyAST_Expr ( e , EXTRA );
  ------------------
  |  |  281|   187k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 1695|   187k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1695:18): [True: 0, False: 187k]
  |  Branch (1695:34): [True: 0, False: 187k]
  |  Branch (1695:57): [True: 0, False: 0]
  ------------------
 1696|      0|                p->error_indicator = 1;
 1697|      0|                p->level--;
 1698|      0|                return NULL;
 1699|      0|            }
 1700|   187k|            goto done;
 1701|   187k|        }
 1702|  59.9k|        p->mark = _mark;
 1703|  59.9k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1704|  59.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expressions"));
 1705|  59.9k|    }
 1706|      0|    { // &'return' return_stmt
 1707|  59.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (1707:13): [True: 350, False: 59.5k]
  ------------------
 1708|    350|            p->level--;
 1709|    350|            return NULL;
 1710|    350|        }
 1711|  59.5k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'return' return_stmt"));
 1712|  59.5k|        stmt_ty return_stmt_var;
 1713|  59.5k|        if (
 1714|  59.5k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 522)  // token='return'
  ------------------
  |  Branch (1714:13): [True: 1.93k, False: 57.6k]
  ------------------
 1715|  1.93k|            &&
 1716|  1.93k|            (return_stmt_var = return_stmt_rule(p))  // return_stmt
  ------------------
  |  Branch (1716:13): [True: 1.93k, False: 2]
  ------------------
 1717|  59.5k|        )
 1718|  1.93k|        {
 1719|  1.93k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'return' return_stmt"));
 1720|  1.93k|            _res = return_stmt_var;
 1721|  1.93k|            goto done;
 1722|  1.93k|        }
 1723|  57.6k|        p->mark = _mark;
 1724|  57.6k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1725|  57.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'return' return_stmt"));
 1726|  57.6k|    }
 1727|      0|    { // &'raise' raise_stmt
 1728|  57.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (1728:13): [True: 2, False: 57.6k]
  ------------------
 1729|      2|            p->level--;
 1730|      2|            return NULL;
 1731|      2|        }
 1732|  57.6k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'raise' raise_stmt"));
 1733|  57.6k|        stmt_ty raise_stmt_var;
 1734|  57.6k|        if (
 1735|  57.6k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 632)  // token='raise'
  ------------------
  |  Branch (1735:13): [True: 2.17k, False: 55.4k]
  ------------------
 1736|  2.17k|            &&
 1737|  2.17k|            (raise_stmt_var = raise_stmt_rule(p))  // raise_stmt
  ------------------
  |  Branch (1737:13): [True: 2.16k, False: 11]
  ------------------
 1738|  57.6k|        )
 1739|  2.16k|        {
 1740|  2.16k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'raise' raise_stmt"));
 1741|  2.16k|            _res = raise_stmt_var;
 1742|  2.16k|            goto done;
 1743|  2.16k|        }
 1744|  55.4k|        p->mark = _mark;
 1745|  55.4k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1746|  55.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'raise' raise_stmt"));
 1747|  55.4k|    }
 1748|      0|    { // &'pass' pass_stmt
 1749|  55.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (1749:13): [True: 11, False: 55.4k]
  ------------------
 1750|     11|            p->level--;
 1751|     11|            return NULL;
 1752|     11|        }
 1753|  55.4k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'pass' pass_stmt"));
 1754|  55.4k|        stmt_ty pass_stmt_var;
 1755|  55.4k|        if (
 1756|  55.4k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 527)  // token='pass'
  ------------------
  |  Branch (1756:13): [True: 2.50k, False: 52.9k]
  ------------------
 1757|  2.50k|            &&
 1758|  2.50k|            (pass_stmt_var = pass_stmt_rule(p))  // pass_stmt
  ------------------
  |  Branch (1758:13): [True: 2.50k, False: 0]
  ------------------
 1759|  55.4k|        )
 1760|  2.50k|        {
 1761|  2.50k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'pass' pass_stmt"));
 1762|  2.50k|            _res = pass_stmt_var;
 1763|  2.50k|            goto done;
 1764|  2.50k|        }
 1765|  52.9k|        p->mark = _mark;
 1766|  52.9k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1767|  52.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'pass' pass_stmt"));
 1768|  52.9k|    }
 1769|      0|    { // &'del' del_stmt
 1770|  52.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (1770:13): [True: 0, False: 52.9k]
  ------------------
 1771|      0|            p->level--;
 1772|      0|            return NULL;
 1773|      0|        }
 1774|  52.9k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'del' del_stmt"));
 1775|  52.9k|        stmt_ty del_stmt_var;
 1776|  52.9k|        if (
 1777|  52.9k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 634)  // token='del'
  ------------------
  |  Branch (1777:13): [True: 1.96k, False: 50.9k]
  ------------------
 1778|  1.96k|            &&
 1779|  1.96k|            (del_stmt_var = del_stmt_rule(p))  // del_stmt
  ------------------
  |  Branch (1779:13): [True: 1.74k, False: 221]
  ------------------
 1780|  52.9k|        )
 1781|  1.74k|        {
 1782|  1.74k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'del' del_stmt"));
 1783|  1.74k|            _res = del_stmt_var;
 1784|  1.74k|            goto done;
 1785|  1.74k|        }
 1786|  51.2k|        p->mark = _mark;
 1787|  51.2k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1788|  51.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'del' del_stmt"));
 1789|  51.2k|    }
 1790|      0|    { // &'yield' yield_stmt
 1791|  51.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (1791:13): [True: 47, False: 51.1k]
  ------------------
 1792|     47|            p->level--;
 1793|     47|            return NULL;
 1794|     47|        }
 1795|  51.1k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'yield' yield_stmt"));
 1796|  51.1k|        stmt_ty yield_stmt_var;
 1797|  51.1k|        if (
 1798|  51.1k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 588)  // token='yield'
  ------------------
  |  Branch (1798:13): [True: 1.85k, False: 49.3k]
  ------------------
 1799|  1.85k|            &&
 1800|  1.85k|            (yield_stmt_var = yield_stmt_rule(p))  // yield_stmt
  ------------------
  |  Branch (1800:13): [True: 1.85k, False: 2]
  ------------------
 1801|  51.1k|        )
 1802|  1.85k|        {
 1803|  1.85k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'yield' yield_stmt"));
 1804|  1.85k|            _res = yield_stmt_var;
 1805|  1.85k|            goto done;
 1806|  1.85k|        }
 1807|  49.3k|        p->mark = _mark;
 1808|  49.3k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1809|  49.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'yield' yield_stmt"));
 1810|  49.3k|    }
 1811|      0|    { // &'assert' assert_stmt
 1812|  49.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (1812:13): [True: 2, False: 49.3k]
  ------------------
 1813|      2|            p->level--;
 1814|      2|            return NULL;
 1815|      2|        }
 1816|  49.3k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'assert' assert_stmt"));
 1817|  49.3k|        stmt_ty assert_stmt_var;
 1818|  49.3k|        if (
 1819|  49.3k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 638)  // token='assert'
  ------------------
  |  Branch (1819:13): [True: 4.33k, False: 44.9k]
  ------------------
 1820|  4.33k|            &&
 1821|  4.33k|            (assert_stmt_var = assert_stmt_rule(p))  // assert_stmt
  ------------------
  |  Branch (1821:13): [True: 4.31k, False: 26]
  ------------------
 1822|  49.3k|        )
 1823|  4.31k|        {
 1824|  4.31k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'assert' assert_stmt"));
 1825|  4.31k|            _res = assert_stmt_var;
 1826|  4.31k|            goto done;
 1827|  4.31k|        }
 1828|  45.0k|        p->mark = _mark;
 1829|  45.0k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1830|  45.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'assert' assert_stmt"));
 1831|  45.0k|    }
 1832|      0|    { // &'break' break_stmt
 1833|  45.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (1833:13): [True: 16, False: 44.9k]
  ------------------
 1834|     16|            p->level--;
 1835|     16|            return NULL;
 1836|     16|        }
 1837|  44.9k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'break' break_stmt"));
 1838|  44.9k|        stmt_ty break_stmt_var;
 1839|  44.9k|        if (
 1840|  44.9k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 528)  // token='break'
  ------------------
  |  Branch (1840:13): [True: 1.32k, False: 43.6k]
  ------------------
 1841|  1.32k|            &&
 1842|  1.32k|            (break_stmt_var = break_stmt_rule(p))  // break_stmt
  ------------------
  |  Branch (1842:13): [True: 1.32k, False: 0]
  ------------------
 1843|  44.9k|        )
 1844|  1.32k|        {
 1845|  1.32k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'break' break_stmt"));
 1846|  1.32k|            _res = break_stmt_var;
 1847|  1.32k|            goto done;
 1848|  1.32k|        }
 1849|  43.6k|        p->mark = _mark;
 1850|  43.6k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1851|  43.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'break' break_stmt"));
 1852|  43.6k|    }
 1853|      0|    { // &'continue' continue_stmt
 1854|  43.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (1854:13): [True: 0, False: 43.6k]
  ------------------
 1855|      0|            p->level--;
 1856|      0|            return NULL;
 1857|      0|        }
 1858|  43.6k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'continue' continue_stmt"));
 1859|  43.6k|        stmt_ty continue_stmt_var;
 1860|  43.6k|        if (
 1861|  43.6k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 529)  // token='continue'
  ------------------
  |  Branch (1861:13): [True: 1.45k, False: 42.2k]
  ------------------
 1862|  1.45k|            &&
 1863|  1.45k|            (continue_stmt_var = continue_stmt_rule(p))  // continue_stmt
  ------------------
  |  Branch (1863:13): [True: 1.45k, False: 0]
  ------------------
 1864|  43.6k|        )
 1865|  1.45k|        {
 1866|  1.45k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'continue' continue_stmt"));
 1867|  1.45k|            _res = continue_stmt_var;
 1868|  1.45k|            goto done;
 1869|  1.45k|        }
 1870|  42.2k|        p->mark = _mark;
 1871|  42.2k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1872|  42.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'continue' continue_stmt"));
 1873|  42.2k|    }
 1874|      0|    { // &'global' global_stmt
 1875|  42.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (1875:13): [True: 0, False: 42.2k]
  ------------------
 1876|      0|            p->level--;
 1877|      0|            return NULL;
 1878|      0|        }
 1879|  42.2k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'global' global_stmt"));
 1880|  42.2k|        stmt_ty global_stmt_var;
 1881|  42.2k|        if (
 1882|  42.2k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 530)  // token='global'
  ------------------
  |  Branch (1882:13): [True: 1.26k, False: 40.9k]
  ------------------
 1883|  1.26k|            &&
 1884|  1.26k|            (global_stmt_var = global_stmt_rule(p))  // global_stmt
  ------------------
  |  Branch (1884:13): [True: 1.25k, False: 11]
  ------------------
 1885|  42.2k|        )
 1886|  1.25k|        {
 1887|  1.25k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'global' global_stmt"));
 1888|  1.25k|            _res = global_stmt_var;
 1889|  1.25k|            goto done;
 1890|  1.25k|        }
 1891|  40.9k|        p->mark = _mark;
 1892|  40.9k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1893|  40.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'global' global_stmt"));
 1894|  40.9k|    }
 1895|      0|    { // &'nonlocal' nonlocal_stmt
 1896|  40.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (1896:13): [True: 4, False: 40.9k]
  ------------------
 1897|      4|            p->level--;
 1898|      4|            return NULL;
 1899|      4|        }
 1900|  40.9k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'nonlocal' nonlocal_stmt"));
 1901|  40.9k|        stmt_ty nonlocal_stmt_var;
 1902|  40.9k|        if (
 1903|  40.9k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 531)  // token='nonlocal'
  ------------------
  |  Branch (1903:13): [True: 391, False: 40.5k]
  ------------------
 1904|    391|            &&
 1905|    391|            (nonlocal_stmt_var = nonlocal_stmt_rule(p))  // nonlocal_stmt
  ------------------
  |  Branch (1905:13): [True: 387, False: 4]
  ------------------
 1906|  40.9k|        )
 1907|    387|        {
 1908|    387|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'nonlocal' nonlocal_stmt"));
 1909|    387|            _res = nonlocal_stmt_var;
 1910|    387|            goto done;
 1911|    387|        }
 1912|  40.5k|        p->mark = _mark;
 1913|  40.5k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1914|  40.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'nonlocal' nonlocal_stmt"));
 1915|  40.5k|    }
 1916|  40.5k|    _res = NULL;
 1917|   315k|  done:
 1918|   315k|    _PyPegen_insert_memo(p, _mark, simple_stmt_type, _res);
  ------------------
  |  |   98|   315k|#define simple_stmt_type 1009
  ------------------
 1919|   315k|    p->level--;
 1920|   315k|    return _res;
 1921|  40.5k|}
parser.c:assignment_rule:
 2124|   320k|{
 2125|   320k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   640k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2125:9): [True: 0, False: 320k]
  |  Branch (2125:35): [True: 0, False: 320k]
  ------------------
 2126|      0|        _Pypegen_stack_overflow(p);
 2127|      0|    }
 2128|   320k|    if (p->error_indicator) {
  ------------------
  |  Branch (2128:9): [True: 0, False: 320k]
  ------------------
 2129|      0|        p->level--;
 2130|      0|        return NULL;
 2131|      0|    }
 2132|   320k|    stmt_ty _res = NULL;
 2133|   320k|    int _mark = p->mark;
 2134|   320k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (2134:9): [True: 0, False: 320k]
  |  Branch (2134:31): [True: 0, False: 0]
  ------------------
 2135|      0|        p->error_indicator = 1;
 2136|      0|        p->level--;
 2137|      0|        return NULL;
 2138|      0|    }
 2139|   320k|    int _start_lineno = p->tokens[_mark]->lineno;
 2140|   320k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   320k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 320k]
  |  |  ------------------
  ------------------
 2141|   320k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 2142|   320k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   320k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 320k]
  |  |  ------------------
  ------------------
 2143|   320k|    { // NAME ':' expression ['=' annotated_rhs]
 2144|   320k|        if (p->error_indicator) {
  ------------------
  |  Branch (2144:13): [True: 0, False: 320k]
  ------------------
 2145|      0|            p->level--;
 2146|      0|            return NULL;
 2147|      0|        }
 2148|   320k|        D(fprintf(stderr, "%*c> assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME ':' expression ['=' annotated_rhs]"));
 2149|   320k|        Token * _literal;
 2150|   320k|        expr_ty a;
 2151|   320k|        expr_ty b;
 2152|   320k|        void *c;
 2153|   320k|        if (
 2154|   320k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (2154:13): [True: 211k, False: 109k]
  ------------------
 2155|   211k|            &&
 2156|   211k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (2156:13): [True: 30.9k, False: 180k]
  ------------------
 2157|  30.9k|            &&
 2158|  30.9k|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (2158:13): [True: 30.3k, False: 531]
  ------------------
 2159|  30.3k|            &&
 2160|  30.3k|            (c = _tmp_10_rule(p), !p->error_indicator)  // ['=' annotated_rhs]
  ------------------
  |  Branch (2160:13): [True: 30.3k, False: 2]
  ------------------
 2161|   320k|        )
 2162|  30.3k|        {
 2163|  30.3k|            D(fprintf(stderr, "%*c+ assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME ':' expression ['=' annotated_rhs]"));
 2164|  30.3k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2165|  30.3k|            if (_token == NULL) {
  ------------------
  |  Branch (2165:17): [True: 0, False: 30.3k]
  ------------------
 2166|      0|                p->level--;
 2167|      0|                return NULL;
 2168|      0|            }
 2169|  30.3k|            int _end_lineno = _token->end_lineno;
 2170|  30.3k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  30.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 30.3k]
  |  |  ------------------
  ------------------
 2171|  30.3k|            int _end_col_offset = _token->end_col_offset;
 2172|  30.3k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  30.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 30.3k]
  |  |  ------------------
  ------------------
 2173|  30.3k|            _res = CHECK_VERSION ( stmt_ty , 6 , "Variable annotation syntax is" , _PyAST_AnnAssign ( CHECK ( expr_ty , _PyPegen_set_expr_context ( p , a , Store ) ) , b , c , 1 , EXTRA ) );
  ------------------
  |  |  319|  30.3k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 2174|  30.3k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2174:18): [True: 0, False: 30.3k]
  |  Branch (2174:34): [True: 0, False: 30.3k]
  |  Branch (2174:57): [True: 0, False: 0]
  ------------------
 2175|      0|                p->error_indicator = 1;
 2176|      0|                p->level--;
 2177|      0|                return NULL;
 2178|      0|            }
 2179|  30.3k|            goto done;
 2180|  30.3k|        }
 2181|   289k|        p->mark = _mark;
 2182|   289k|        D(fprintf(stderr, "%*c%s assignment[%d-%d]: %s failed!\n", p->level, ' ',
 2183|   289k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME ':' expression ['=' annotated_rhs]"));
 2184|   289k|    }
 2185|      0|    { // ('(' single_target ')' | single_subscript_attribute_target) ':' expression ['=' annotated_rhs]
 2186|   289k|        if (p->error_indicator) {
  ------------------
  |  Branch (2186:13): [True: 451, False: 289k]
  ------------------
 2187|    451|            p->level--;
 2188|    451|            return NULL;
 2189|    451|        }
 2190|   289k|        D(fprintf(stderr, "%*c> assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('(' single_target ')' | single_subscript_attribute_target) ':' expression ['=' annotated_rhs]"));
 2191|   289k|        Token * _literal;
 2192|   289k|        void *a;
 2193|   289k|        expr_ty b;
 2194|   289k|        void *c;
 2195|   289k|        if (
 2196|   289k|            (a = _tmp_11_rule(p))  // '(' single_target ')' | single_subscript_attribute_target
  ------------------
  |  Branch (2196:13): [True: 12.8k, False: 276k]
  ------------------
 2197|  12.8k|            &&
 2198|  12.8k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (2198:13): [True: 1.58k, False: 11.2k]
  ------------------
 2199|  1.58k|            &&
 2200|  1.58k|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (2200:13): [True: 1.57k, False: 11]
  ------------------
 2201|  1.57k|            &&
 2202|  1.57k|            (c = _tmp_10_rule(p), !p->error_indicator)  // ['=' annotated_rhs]
  ------------------
  |  Branch (2202:13): [True: 1.57k, False: 1]
  ------------------
 2203|   289k|        )
 2204|  1.57k|        {
 2205|  1.57k|            D(fprintf(stderr, "%*c+ assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('(' single_target ')' | single_subscript_attribute_target) ':' expression ['=' annotated_rhs]"));
 2206|  1.57k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2207|  1.57k|            if (_token == NULL) {
  ------------------
  |  Branch (2207:17): [True: 0, False: 1.57k]
  ------------------
 2208|      0|                p->level--;
 2209|      0|                return NULL;
 2210|      0|            }
 2211|  1.57k|            int _end_lineno = _token->end_lineno;
 2212|  1.57k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.57k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.57k]
  |  |  ------------------
  ------------------
 2213|  1.57k|            int _end_col_offset = _token->end_col_offset;
 2214|  1.57k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.57k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.57k]
  |  |  ------------------
  ------------------
 2215|  1.57k|            _res = CHECK_VERSION ( stmt_ty , 6 , "Variable annotations syntax is" , _PyAST_AnnAssign ( a , b , c , 0 , EXTRA ) );
  ------------------
  |  |  319|  1.57k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 2216|  1.57k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2216:18): [True: 0, False: 1.57k]
  |  Branch (2216:34): [True: 0, False: 1.57k]
  |  Branch (2216:57): [True: 0, False: 0]
  ------------------
 2217|      0|                p->error_indicator = 1;
 2218|      0|                p->level--;
 2219|      0|                return NULL;
 2220|      0|            }
 2221|  1.57k|            goto done;
 2222|  1.57k|        }
 2223|   287k|        p->mark = _mark;
 2224|   287k|        D(fprintf(stderr, "%*c%s assignment[%d-%d]: %s failed!\n", p->level, ' ',
 2225|   287k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('(' single_target ')' | single_subscript_attribute_target) ':' expression ['=' annotated_rhs]"));
 2226|   287k|    }
 2227|      0|    { // ((star_targets '='))+ annotated_rhs !'=' TYPE_COMMENT?
 2228|   287k|        if (p->error_indicator) {
  ------------------
  |  Branch (2228:13): [True: 1.35k, False: 286k]
  ------------------
 2229|  1.35k|            p->level--;
 2230|  1.35k|            return NULL;
 2231|  1.35k|        }
 2232|   286k|        D(fprintf(stderr, "%*c> assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((star_targets '='))+ annotated_rhs !'=' TYPE_COMMENT?"));
 2233|   286k|        asdl_expr_seq* a;
 2234|   286k|        expr_ty b;
 2235|   286k|        void *tc;
 2236|   286k|        if (
 2237|   286k|            (a = (asdl_expr_seq*)_loop1_12_rule(p))  // ((star_targets '='))+
  ------------------
  |  Branch (2237:13): [True: 12.1k, False: 274k]
  ------------------
 2238|  12.1k|            &&
 2239|  12.1k|            (b = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (2239:13): [True: 12.0k, False: 106]
  ------------------
 2240|  12.0k|            &&
 2241|  12.0k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 22)  // token='='
  ------------------
  |  Branch (2241:13): [True: 12.0k, False: 23]
  ------------------
 2242|  12.0k|            &&
 2243|  12.0k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  12.0k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (2243:13): [True: 12.0k, False: 0]
  ------------------
 2244|   286k|        )
 2245|  12.0k|        {
 2246|  12.0k|            D(fprintf(stderr, "%*c+ assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "((star_targets '='))+ annotated_rhs !'=' TYPE_COMMENT?"));
 2247|  12.0k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2248|  12.0k|            if (_token == NULL) {
  ------------------
  |  Branch (2248:17): [True: 0, False: 12.0k]
  ------------------
 2249|      0|                p->level--;
 2250|      0|                return NULL;
 2251|      0|            }
 2252|  12.0k|            int _end_lineno = _token->end_lineno;
 2253|  12.0k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  12.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 12.0k]
  |  |  ------------------
  ------------------
 2254|  12.0k|            int _end_col_offset = _token->end_col_offset;
 2255|  12.0k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  12.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 12.0k]
  |  |  ------------------
  ------------------
 2256|  12.0k|            _res = _PyAST_Assign ( a , b , NEW_TYPE_COMMENT ( p , tc ) , EXTRA );
  ------------------
  |  |  281|  12.0k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2257|  12.0k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2257:18): [True: 0, False: 12.0k]
  |  Branch (2257:34): [True: 3, False: 12.0k]
  |  Branch (2257:57): [True: 3, False: 0]
  ------------------
 2258|      3|                p->error_indicator = 1;
 2259|      3|                p->level--;
 2260|      3|                return NULL;
 2261|      3|            }
 2262|  12.0k|            goto done;
 2263|  12.0k|        }
 2264|   274k|        p->mark = _mark;
 2265|   274k|        D(fprintf(stderr, "%*c%s assignment[%d-%d]: %s failed!\n", p->level, ' ',
 2266|   274k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((star_targets '='))+ annotated_rhs !'=' TYPE_COMMENT?"));
 2267|   274k|    }
 2268|      0|    { // single_target augassign ~ annotated_rhs
 2269|   274k|        if (p->error_indicator) {
  ------------------
  |  Branch (2269:13): [True: 336, False: 274k]
  ------------------
 2270|    336|            p->level--;
 2271|    336|            return NULL;
 2272|    336|        }
 2273|   274k|        D(fprintf(stderr, "%*c> assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "single_target augassign ~ annotated_rhs"));
 2274|   274k|        int _cut_var = 0;
 2275|   274k|        expr_ty a;
 2276|   274k|        AugOperator* b;
 2277|   274k|        expr_ty c;
 2278|   274k|        if (
 2279|   274k|            (a = single_target_rule(p))  // single_target
  ------------------
  |  Branch (2279:13): [True: 166k, False: 107k]
  ------------------
 2280|   166k|            &&
 2281|   166k|            (b = augassign_rule(p))  // augassign
  ------------------
  |  Branch (2281:13): [True: 14.1k, False: 152k]
  ------------------
 2282|  14.1k|            &&
 2283|  14.1k|            (_cut_var = 1)
  ------------------
  |  Branch (2283:13): [True: 14.1k, False: 0]
  ------------------
 2284|  14.1k|            &&
 2285|  14.1k|            (c = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (2285:13): [True: 14.1k, False: 77]
  ------------------
 2286|   274k|        )
 2287|  14.1k|        {
 2288|  14.1k|            D(fprintf(stderr, "%*c+ assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "single_target augassign ~ annotated_rhs"));
 2289|  14.1k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2290|  14.1k|            if (_token == NULL) {
  ------------------
  |  Branch (2290:17): [True: 0, False: 14.1k]
  ------------------
 2291|      0|                p->level--;
 2292|      0|                return NULL;
 2293|      0|            }
 2294|  14.1k|            int _end_lineno = _token->end_lineno;
 2295|  14.1k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  14.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 14.1k]
  |  |  ------------------
  ------------------
 2296|  14.1k|            int _end_col_offset = _token->end_col_offset;
 2297|  14.1k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  14.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 14.1k]
  |  |  ------------------
  ------------------
 2298|  14.1k|            _res = _PyAST_AugAssign ( a , b -> kind , c , EXTRA );
  ------------------
  |  |  281|  14.1k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2299|  14.1k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2299:18): [True: 0, False: 14.1k]
  |  Branch (2299:34): [True: 0, False: 14.1k]
  |  Branch (2299:57): [True: 0, False: 0]
  ------------------
 2300|      0|                p->error_indicator = 1;
 2301|      0|                p->level--;
 2302|      0|                return NULL;
 2303|      0|            }
 2304|  14.1k|            goto done;
 2305|  14.1k|        }
 2306|   260k|        p->mark = _mark;
 2307|   260k|        D(fprintf(stderr, "%*c%s assignment[%d-%d]: %s failed!\n", p->level, ' ',
 2308|   260k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "single_target augassign ~ annotated_rhs"));
 2309|   260k|        if (_cut_var) {
  ------------------
  |  Branch (2309:13): [True: 77, False: 260k]
  ------------------
 2310|     77|            p->level--;
 2311|     77|            return NULL;
 2312|     77|        }
 2313|   260k|    }
 2314|   260k|    if (p->call_invalid_rules) { // invalid_assignment
  ------------------
  |  Branch (2314:9): [True: 43.7k, False: 216k]
  ------------------
 2315|  43.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (2315:13): [True: 0, False: 43.7k]
  ------------------
 2316|      0|            p->level--;
 2317|      0|            return NULL;
 2318|      0|        }
 2319|  43.7k|        D(fprintf(stderr, "%*c> assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_assignment"));
 2320|  43.7k|        void *invalid_assignment_var;
 2321|  43.7k|        if (
 2322|  43.7k|            (invalid_assignment_var = invalid_assignment_rule(p))  // invalid_assignment
  ------------------
  |  Branch (2322:13): [True: 0, False: 43.7k]
  ------------------
 2323|  43.7k|        )
 2324|      0|        {
 2325|      0|            D(fprintf(stderr, "%*c+ assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_assignment"));
 2326|      0|            _res = invalid_assignment_var;
 2327|      0|            goto done;
 2328|      0|        }
 2329|  43.7k|        p->mark = _mark;
 2330|  43.7k|        D(fprintf(stderr, "%*c%s assignment[%d-%d]: %s failed!\n", p->level, ' ',
 2331|  43.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_assignment"));
 2332|  43.7k|    }
 2333|   260k|    _res = NULL;
 2334|   318k|  done:
 2335|   318k|    p->level--;
 2336|   318k|    return _res;
 2337|   260k|}
parser.c:_tmp_10_rule:
29215|  31.9k|{
29216|  31.9k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  63.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (29216:9): [True: 0, False: 31.9k]
  |  Branch (29216:35): [True: 0, False: 31.9k]
  ------------------
29217|      0|        _Pypegen_stack_overflow(p);
29218|      0|    }
29219|  31.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (29219:9): [True: 0, False: 31.9k]
  ------------------
29220|      0|        p->level--;
29221|      0|        return NULL;
29222|      0|    }
29223|  31.9k|    void * _res = NULL;
29224|  31.9k|    int _mark = p->mark;
29225|  31.9k|    { // '=' annotated_rhs
29226|  31.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (29226:13): [True: 0, False: 31.9k]
  ------------------
29227|      0|            p->level--;
29228|      0|            return NULL;
29229|      0|        }
29230|  31.9k|        D(fprintf(stderr, "%*c> _tmp_10[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'=' annotated_rhs"));
29231|  31.9k|        Token * _literal;
29232|  31.9k|        expr_ty d;
29233|  31.9k|        if (
29234|  31.9k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (29234:13): [True: 719, False: 31.2k]
  ------------------
29235|    719|            &&
29236|    719|            (d = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (29236:13): [True: 710, False: 9]
  ------------------
29237|  31.9k|        )
29238|    710|        {
29239|    710|            D(fprintf(stderr, "%*c+ _tmp_10[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'=' annotated_rhs"));
29240|    710|            _res = d;
29241|    710|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (29241:18): [True: 0, False: 710]
  |  Branch (29241:34): [True: 0, False: 710]
  |  Branch (29241:57): [True: 0, False: 0]
  ------------------
29242|      0|                p->error_indicator = 1;
29243|      0|                p->level--;
29244|      0|                return NULL;
29245|      0|            }
29246|    710|            goto done;
29247|    710|        }
29248|  31.2k|        p->mark = _mark;
29249|  31.2k|        D(fprintf(stderr, "%*c%s _tmp_10[%d-%d]: %s failed!\n", p->level, ' ',
29250|  31.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'=' annotated_rhs"));
29251|  31.2k|    }
29252|  31.2k|    _res = NULL;
29253|  31.9k|  done:
29254|  31.9k|    p->level--;
29255|  31.9k|    return _res;
29256|  31.2k|}
parser.c:_tmp_11_rule:
29261|   289k|{
29262|   289k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   579k|#  define MAXSTACK 6000
  ------------------
  |  Branch (29262:9): [True: 0, False: 289k]
  |  Branch (29262:35): [True: 0, False: 289k]
  ------------------
29263|      0|        _Pypegen_stack_overflow(p);
29264|      0|    }
29265|   289k|    if (p->error_indicator) {
  ------------------
  |  Branch (29265:9): [True: 0, False: 289k]
  ------------------
29266|      0|        p->level--;
29267|      0|        return NULL;
29268|      0|    }
29269|   289k|    void * _res = NULL;
29270|   289k|    int _mark = p->mark;
29271|   289k|    { // '(' single_target ')'
29272|   289k|        if (p->error_indicator) {
  ------------------
  |  Branch (29272:13): [True: 0, False: 289k]
  ------------------
29273|      0|            p->level--;
29274|      0|            return NULL;
29275|      0|        }
29276|   289k|        D(fprintf(stderr, "%*c> _tmp_11[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' single_target ')'"));
29277|   289k|        Token * _literal;
29278|   289k|        Token * _literal_1;
29279|   289k|        expr_ty b;
29280|   289k|        if (
29281|   289k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (29281:13): [True: 2.44k, False: 287k]
  ------------------
29282|  2.44k|            &&
29283|  2.44k|            (b = single_target_rule(p))  // single_target
  ------------------
  |  Branch (29283:13): [True: 644, False: 1.80k]
  ------------------
29284|    644|            &&
29285|    644|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (29285:13): [True: 322, False: 322]
  ------------------
29286|   289k|        )
29287|    322|        {
29288|    322|            D(fprintf(stderr, "%*c+ _tmp_11[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' single_target ')'"));
29289|    322|            _res = b;
29290|    322|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (29290:18): [True: 0, False: 322]
  |  Branch (29290:34): [True: 0, False: 322]
  |  Branch (29290:57): [True: 0, False: 0]
  ------------------
29291|      0|                p->error_indicator = 1;
29292|      0|                p->level--;
29293|      0|                return NULL;
29294|      0|            }
29295|    322|            goto done;
29296|    322|        }
29297|   289k|        p->mark = _mark;
29298|   289k|        D(fprintf(stderr, "%*c%s _tmp_11[%d-%d]: %s failed!\n", p->level, ' ',
29299|   289k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' single_target ')'"));
29300|   289k|    }
29301|      0|    { // single_subscript_attribute_target
29302|   289k|        if (p->error_indicator) {
  ------------------
  |  Branch (29302:13): [True: 115, False: 289k]
  ------------------
29303|    115|            p->level--;
29304|    115|            return NULL;
29305|    115|        }
29306|   289k|        D(fprintf(stderr, "%*c> _tmp_11[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "single_subscript_attribute_target"));
29307|   289k|        expr_ty single_subscript_attribute_target_var;
29308|   289k|        if (
29309|   289k|            (single_subscript_attribute_target_var = single_subscript_attribute_target_rule(p))  // single_subscript_attribute_target
  ------------------
  |  Branch (29309:13): [True: 12.5k, False: 276k]
  ------------------
29310|   289k|        )
29311|  12.5k|        {
29312|  12.5k|            D(fprintf(stderr, "%*c+ _tmp_11[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "single_subscript_attribute_target"));
29313|  12.5k|            _res = single_subscript_attribute_target_var;
29314|  12.5k|            goto done;
29315|  12.5k|        }
29316|   276k|        p->mark = _mark;
29317|   276k|        D(fprintf(stderr, "%*c%s _tmp_11[%d-%d]: %s failed!\n", p->level, ' ',
29318|   276k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "single_subscript_attribute_target"));
29319|   276k|    }
29320|   276k|    _res = NULL;
29321|   289k|  done:
29322|   289k|    p->level--;
29323|   289k|    return _res;
29324|   276k|}
parser.c:single_subscript_attribute_target_rule:
19939|   572k|{
19940|   572k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.14M|#  define MAXSTACK 6000
  ------------------
  |  Branch (19940:9): [True: 0, False: 572k]
  |  Branch (19940:35): [True: 0, False: 572k]
  ------------------
19941|      0|        _Pypegen_stack_overflow(p);
19942|      0|    }
19943|   572k|    if (p->error_indicator) {
  ------------------
  |  Branch (19943:9): [True: 0, False: 572k]
  ------------------
19944|      0|        p->level--;
19945|      0|        return NULL;
19946|      0|    }
19947|   572k|    expr_ty _res = NULL;
19948|   572k|    int _mark = p->mark;
19949|   572k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (19949:9): [True: 1.54k, False: 571k]
  |  Branch (19949:31): [True: 4, False: 1.53k]
  ------------------
19950|      4|        p->error_indicator = 1;
19951|      4|        p->level--;
19952|      4|        return NULL;
19953|      4|    }
19954|   572k|    int _start_lineno = p->tokens[_mark]->lineno;
19955|   572k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   572k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 572k]
  |  |  ------------------
  ------------------
19956|   572k|    int _start_col_offset = p->tokens[_mark]->col_offset;
19957|   572k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   572k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 572k]
  |  |  ------------------
  ------------------
19958|   572k|    { // t_primary '.' NAME !t_lookahead
19959|   572k|        if (p->error_indicator) {
  ------------------
  |  Branch (19959:13): [True: 0, False: 572k]
  ------------------
19960|      0|            p->level--;
19961|      0|            return NULL;
19962|      0|        }
19963|   572k|        D(fprintf(stderr, "%*c> single_subscript_attribute_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '.' NAME !t_lookahead"));
19964|   572k|        Token * _literal;
19965|   572k|        expr_ty a;
19966|   572k|        expr_ty b;
19967|   572k|        if (
19968|   572k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (19968:13): [True: 31.5k, False: 541k]
  ------------------
19969|  31.5k|            &&
19970|  31.5k|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (19970:13): [True: 18.6k, False: 12.9k]
  ------------------
19971|  18.6k|            &&
19972|  18.6k|            (b = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (19972:13): [True: 18.2k, False: 342]
  ------------------
19973|  18.2k|            &&
19974|  18.2k|            _PyPegen_lookahead(0, t_lookahead_rule, p)
  ------------------
  |  Branch (19974:13): [True: 18.2k, False: 0]
  ------------------
19975|   572k|        )
19976|  18.2k|        {
19977|  18.2k|            D(fprintf(stderr, "%*c+ single_subscript_attribute_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '.' NAME !t_lookahead"));
19978|  18.2k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19979|  18.2k|            if (_token == NULL) {
  ------------------
  |  Branch (19979:17): [True: 0, False: 18.2k]
  ------------------
19980|      0|                p->level--;
19981|      0|                return NULL;
19982|      0|            }
19983|  18.2k|            int _end_lineno = _token->end_lineno;
19984|  18.2k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  18.2k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 18.2k]
  |  |  ------------------
  ------------------
19985|  18.2k|            int _end_col_offset = _token->end_col_offset;
19986|  18.2k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  18.2k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 18.2k]
  |  |  ------------------
  ------------------
19987|  18.2k|            _res = _PyAST_Attribute ( a , b -> v . Name . id , Store , EXTRA );
  ------------------
  |  |  281|  18.2k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19988|  18.2k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19988:18): [True: 0, False: 18.2k]
  |  Branch (19988:34): [True: 0, False: 18.2k]
  |  Branch (19988:57): [True: 0, False: 0]
  ------------------
19989|      0|                p->error_indicator = 1;
19990|      0|                p->level--;
19991|      0|                return NULL;
19992|      0|            }
19993|  18.2k|            goto done;
19994|  18.2k|        }
19995|   554k|        p->mark = _mark;
19996|   554k|        D(fprintf(stderr, "%*c%s single_subscript_attribute_target[%d-%d]: %s failed!\n", p->level, ' ',
19997|   554k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '.' NAME !t_lookahead"));
19998|   554k|    }
19999|      0|    { // t_primary '[' slices ']' !t_lookahead
20000|   554k|        if (p->error_indicator) {
  ------------------
  |  Branch (20000:13): [True: 1.34k, False: 553k]
  ------------------
20001|  1.34k|            p->level--;
20002|  1.34k|            return NULL;
20003|  1.34k|        }
20004|   553k|        D(fprintf(stderr, "%*c> single_subscript_attribute_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '[' slices ']' !t_lookahead"));
20005|   553k|        Token * _literal;
20006|   553k|        Token * _literal_1;
20007|   553k|        expr_ty a;
20008|   553k|        expr_ty b;
20009|   553k|        if (
20010|   553k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (20010:13): [True: 13.2k, False: 539k]
  ------------------
20011|  13.2k|            &&
20012|  13.2k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (20012:13): [True: 5.76k, False: 7.49k]
  ------------------
20013|  5.76k|            &&
20014|  5.76k|            (b = slices_rule(p))  // slices
  ------------------
  |  Branch (20014:13): [True: 5.59k, False: 167]
  ------------------
20015|  5.59k|            &&
20016|  5.59k|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (20016:13): [True: 5.25k, False: 338]
  ------------------
20017|  5.25k|            &&
20018|  5.25k|            _PyPegen_lookahead(0, t_lookahead_rule, p)
  ------------------
  |  Branch (20018:13): [True: 5.25k, False: 0]
  ------------------
20019|   553k|        )
20020|  5.25k|        {
20021|  5.25k|            D(fprintf(stderr, "%*c+ single_subscript_attribute_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '[' slices ']' !t_lookahead"));
20022|  5.25k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
20023|  5.25k|            if (_token == NULL) {
  ------------------
  |  Branch (20023:17): [True: 0, False: 5.25k]
  ------------------
20024|      0|                p->level--;
20025|      0|                return NULL;
20026|      0|            }
20027|  5.25k|            int _end_lineno = _token->end_lineno;
20028|  5.25k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  5.25k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 5.25k]
  |  |  ------------------
  ------------------
20029|  5.25k|            int _end_col_offset = _token->end_col_offset;
20030|  5.25k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  5.25k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 5.25k]
  |  |  ------------------
  ------------------
20031|  5.25k|            _res = _PyAST_Subscript ( a , b , Store , EXTRA );
  ------------------
  |  |  281|  5.25k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
20032|  5.25k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20032:18): [True: 0, False: 5.25k]
  |  Branch (20032:34): [True: 0, False: 5.25k]
  |  Branch (20032:57): [True: 0, False: 0]
  ------------------
20033|      0|                p->error_indicator = 1;
20034|      0|                p->level--;
20035|      0|                return NULL;
20036|      0|            }
20037|  5.25k|            goto done;
20038|  5.25k|        }
20039|   547k|        p->mark = _mark;
20040|   547k|        D(fprintf(stderr, "%*c%s single_subscript_attribute_target[%d-%d]: %s failed!\n", p->level, ' ',
20041|   547k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '[' slices ']' !t_lookahead"));
20042|   547k|    }
20043|   547k|    _res = NULL;
20044|   571k|  done:
20045|   571k|    p->level--;
20046|   571k|    return _res;
20047|   547k|}
parser.c:_loop1_12_rule:
29329|   286k|{
29330|   286k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   573k|#  define MAXSTACK 6000
  ------------------
  |  Branch (29330:9): [True: 0, False: 286k]
  |  Branch (29330:35): [True: 0, False: 286k]
  ------------------
29331|      0|        _Pypegen_stack_overflow(p);
29332|      0|    }
29333|   286k|    if (p->error_indicator) {
  ------------------
  |  Branch (29333:9): [True: 0, False: 286k]
  ------------------
29334|      0|        p->level--;
29335|      0|        return NULL;
29336|      0|    }
29337|   286k|    void *_res = NULL;
29338|   286k|    int _mark = p->mark;
29339|   286k|    void **_children = PyMem_Malloc(sizeof(void *));
29340|   286k|    if (!_children) {
  ------------------
  |  Branch (29340:9): [True: 0, False: 286k]
  ------------------
29341|      0|        p->error_indicator = 1;
29342|      0|        PyErr_NoMemory();
29343|      0|        p->level--;
29344|      0|        return NULL;
29345|      0|    }
29346|   286k|    Py_ssize_t _children_capacity = 1;
29347|   286k|    Py_ssize_t _n = 0;
29348|   286k|    { // (star_targets '=')
29349|   286k|        if (p->error_indicator) {
  ------------------
  |  Branch (29349:13): [True: 0, False: 286k]
  ------------------
29350|      0|            p->level--;
29351|      0|            return NULL;
29352|      0|        }
29353|   286k|        D(fprintf(stderr, "%*c> _loop1_12[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(star_targets '=')"));
29354|   286k|        void *_tmp_159_var;
29355|   286k|        while (
29356|   348k|            (_tmp_159_var = _tmp_159_rule(p))  // star_targets '='
  ------------------
  |  Branch (29356:13): [True: 62.3k, False: 286k]
  ------------------
29357|   286k|        )
29358|  62.3k|        {
29359|  62.3k|            _res = _tmp_159_var;
29360|  62.3k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (29360:17): [True: 20.1k, False: 42.2k]
  ------------------
29361|  20.1k|                _children_capacity *= 2;
29362|  20.1k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
29363|  20.1k|                if (!_new_children) {
  ------------------
  |  Branch (29363:21): [True: 0, False: 20.1k]
  ------------------
29364|      0|                    PyMem_Free(_children);
29365|      0|                    p->error_indicator = 1;
29366|      0|                    PyErr_NoMemory();
29367|      0|                    p->level--;
29368|      0|                    return NULL;
29369|      0|                }
29370|  20.1k|                _children = _new_children;
29371|  20.1k|            }
29372|  62.3k|            _children[_n++] = _res;
29373|  62.3k|            _mark = p->mark;
29374|  62.3k|        }
29375|   286k|        p->mark = _mark;
29376|   286k|        D(fprintf(stderr, "%*c%s _loop1_12[%d-%d]: %s failed!\n", p->level, ' ',
29377|   286k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(star_targets '=')"));
29378|   286k|    }
29379|   286k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (29379:9): [True: 274k, False: 12.2k]
  |  Branch (29379:20): [True: 147, False: 12.1k]
  ------------------
29380|   274k|        PyMem_Free(_children);
29381|   274k|        p->level--;
29382|   274k|        return NULL;
29383|   274k|    }
29384|  12.1k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
29385|  12.1k|    if (!_seq) {
  ------------------
  |  Branch (29385:9): [True: 0, False: 12.1k]
  ------------------
29386|      0|        PyMem_Free(_children);
29387|      0|        p->error_indicator = 1;
29388|      0|        PyErr_NoMemory();
29389|      0|        p->level--;
29390|      0|        return NULL;
29391|      0|    }
29392|  74.3k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  62.1k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  74.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (29392:28): [True: 62.1k, False: 12.1k]
  ------------------
29393|  12.1k|    PyMem_Free(_children);
29394|  12.1k|    p->level--;
29395|  12.1k|    return _seq;
29396|  12.1k|}
parser.c:_tmp_159_rule:
38486|   433k|{
38487|   433k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   866k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38487:9): [True: 0, False: 433k]
  |  Branch (38487:35): [True: 0, False: 433k]
  ------------------
38488|      0|        _Pypegen_stack_overflow(p);
38489|      0|    }
38490|   433k|    if (p->error_indicator) {
  ------------------
  |  Branch (38490:9): [True: 0, False: 433k]
  ------------------
38491|      0|        p->level--;
38492|      0|        return NULL;
38493|      0|    }
38494|   433k|    void * _res = NULL;
38495|   433k|    int _mark = p->mark;
38496|   433k|    { // star_targets '='
38497|   433k|        if (p->error_indicator) {
  ------------------
  |  Branch (38497:13): [True: 0, False: 433k]
  ------------------
38498|      0|            p->level--;
38499|      0|            return NULL;
38500|      0|        }
38501|   433k|        D(fprintf(stderr, "%*c> _tmp_159[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_targets '='"));
38502|   433k|        Token * _literal;
38503|   433k|        expr_ty z;
38504|   433k|        if (
38505|   433k|            (z = star_targets_rule(p))  // star_targets
  ------------------
  |  Branch (38505:13): [True: 284k, False: 148k]
  ------------------
38506|   284k|            &&
38507|   284k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (38507:13): [True: 62.7k, False: 222k]
  ------------------
38508|   433k|        )
38509|  62.7k|        {
38510|  62.7k|            D(fprintf(stderr, "%*c+ _tmp_159[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_targets '='"));
38511|  62.7k|            _res = z;
38512|  62.7k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (38512:18): [True: 0, False: 62.7k]
  |  Branch (38512:34): [True: 0, False: 62.7k]
  |  Branch (38512:57): [True: 0, False: 0]
  ------------------
38513|      0|                p->error_indicator = 1;
38514|      0|                p->level--;
38515|      0|                return NULL;
38516|      0|            }
38517|  62.7k|            goto done;
38518|  62.7k|        }
38519|   370k|        p->mark = _mark;
38520|   370k|        D(fprintf(stderr, "%*c%s _tmp_159[%d-%d]: %s failed!\n", p->level, ' ',
38521|   370k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_targets '='"));
38522|   370k|    }
38523|   370k|    _res = NULL;
38524|   433k|  done:
38525|   433k|    p->level--;
38526|   433k|    return _res;
38527|   370k|}
parser.c:single_target_rule:
19845|   283k|{
19846|   283k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   567k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19846:9): [True: 0, False: 283k]
  |  Branch (19846:35): [True: 0, False: 283k]
  ------------------
19847|      0|        _Pypegen_stack_overflow(p);
19848|      0|    }
19849|   283k|    if (p->error_indicator) {
  ------------------
  |  Branch (19849:9): [True: 0, False: 283k]
  ------------------
19850|      0|        p->level--;
19851|      0|        return NULL;
19852|      0|    }
19853|   283k|    expr_ty _res = NULL;
19854|   283k|    int _mark = p->mark;
19855|   283k|    { // single_subscript_attribute_target
19856|   283k|        if (p->error_indicator) {
  ------------------
  |  Branch (19856:13): [True: 0, False: 283k]
  ------------------
19857|      0|            p->level--;
19858|      0|            return NULL;
19859|      0|        }
19860|   283k|        D(fprintf(stderr, "%*c> single_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "single_subscript_attribute_target"));
19861|   283k|        expr_ty single_subscript_attribute_target_var;
19862|   283k|        if (
19863|   283k|            (single_subscript_attribute_target_var = single_subscript_attribute_target_rule(p))  // single_subscript_attribute_target
  ------------------
  |  Branch (19863:13): [True: 11.0k, False: 272k]
  ------------------
19864|   283k|        )
19865|  11.0k|        {
19866|  11.0k|            D(fprintf(stderr, "%*c+ single_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "single_subscript_attribute_target"));
19867|  11.0k|            _res = single_subscript_attribute_target_var;
19868|  11.0k|            goto done;
19869|  11.0k|        }
19870|   272k|        p->mark = _mark;
19871|   272k|        D(fprintf(stderr, "%*c%s single_target[%d-%d]: %s failed!\n", p->level, ' ',
19872|   272k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "single_subscript_attribute_target"));
19873|   272k|    }
19874|      0|    { // NAME
19875|   272k|        if (p->error_indicator) {
  ------------------
  |  Branch (19875:13): [True: 115, False: 272k]
  ------------------
19876|    115|            p->level--;
19877|    115|            return NULL;
19878|    115|        }
19879|   272k|        D(fprintf(stderr, "%*c> single_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
19880|   272k|        expr_ty a;
19881|   272k|        if (
19882|   272k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (19882:13): [True: 156k, False: 115k]
  ------------------
19883|   272k|        )
19884|   156k|        {
19885|   156k|            D(fprintf(stderr, "%*c+ single_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
19886|   156k|            _res = _PyPegen_set_expr_context ( p , a , Store );
19887|   156k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19887:18): [True: 0, False: 156k]
  |  Branch (19887:34): [True: 0, False: 156k]
  |  Branch (19887:57): [True: 0, False: 0]
  ------------------
19888|      0|                p->error_indicator = 1;
19889|      0|                p->level--;
19890|      0|                return NULL;
19891|      0|            }
19892|   156k|            goto done;
19893|   156k|        }
19894|   115k|        p->mark = _mark;
19895|   115k|        D(fprintf(stderr, "%*c%s single_target[%d-%d]: %s failed!\n", p->level, ' ',
19896|   115k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
19897|   115k|    }
19898|      0|    { // '(' single_target ')'
19899|   115k|        if (p->error_indicator) {
  ------------------
  |  Branch (19899:13): [True: 0, False: 115k]
  ------------------
19900|      0|            p->level--;
19901|      0|            return NULL;
19902|      0|        }
19903|   115k|        D(fprintf(stderr, "%*c> single_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' single_target ')'"));
19904|   115k|        Token * _literal;
19905|   115k|        Token * _literal_1;
19906|   115k|        expr_ty a;
19907|   115k|        if (
19908|   115k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (19908:13): [True: 7.06k, False: 108k]
  ------------------
19909|  7.06k|            &&
19910|  7.06k|            (a = single_target_rule(p))  // single_target
  ------------------
  |  Branch (19910:13): [True: 488, False: 6.57k]
  ------------------
19911|    488|            &&
19912|    488|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (19912:13): [True: 187, False: 301]
  ------------------
19913|   115k|        )
19914|    187|        {
19915|    187|            D(fprintf(stderr, "%*c+ single_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' single_target ')'"));
19916|    187|            _res = a;
19917|    187|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19917:18): [True: 0, False: 187]
  |  Branch (19917:34): [True: 0, False: 187]
  |  Branch (19917:57): [True: 0, False: 0]
  ------------------
19918|      0|                p->error_indicator = 1;
19919|      0|                p->level--;
19920|      0|                return NULL;
19921|      0|            }
19922|    187|            goto done;
19923|    187|        }
19924|   115k|        p->mark = _mark;
19925|   115k|        D(fprintf(stderr, "%*c%s single_target[%d-%d]: %s failed!\n", p->level, ' ',
19926|   115k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' single_target ')'"));
19927|   115k|    }
19928|   115k|    _res = NULL;
19929|   283k|  done:
19930|   283k|    p->level--;
19931|   283k|    return _res;
19932|   115k|}
parser.c:augassign_rule:
 2412|   195k|{
 2413|   195k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   390k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2413:9): [True: 0, False: 195k]
  |  Branch (2413:35): [True: 0, False: 195k]
  ------------------
 2414|      0|        _Pypegen_stack_overflow(p);
 2415|      0|    }
 2416|   195k|    if (p->error_indicator) {
  ------------------
  |  Branch (2416:9): [True: 0, False: 195k]
  ------------------
 2417|      0|        p->level--;
 2418|      0|        return NULL;
 2419|      0|    }
 2420|   195k|    AugOperator* _res = NULL;
 2421|   195k|    int _mark = p->mark;
 2422|   195k|    { // '+='
 2423|   195k|        if (p->error_indicator) {
  ------------------
  |  Branch (2423:13): [True: 0, False: 195k]
  ------------------
 2424|      0|            p->level--;
 2425|      0|            return NULL;
 2426|      0|        }
 2427|   195k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+='"));
 2428|   195k|        Token * _literal;
 2429|   195k|        if (
 2430|   195k|            (_literal = _PyPegen_expect_token(p, 36))  // token='+='
  ------------------
  |  Branch (2430:13): [True: 2.06k, False: 192k]
  ------------------
 2431|   195k|        )
 2432|  2.06k|        {
 2433|  2.06k|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+='"));
 2434|  2.06k|            _res = _PyPegen_augoperator ( p , Add );
 2435|  2.06k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2435:18): [True: 0, False: 2.06k]
  |  Branch (2435:34): [True: 0, False: 2.06k]
  |  Branch (2435:57): [True: 0, False: 0]
  ------------------
 2436|      0|                p->error_indicator = 1;
 2437|      0|                p->level--;
 2438|      0|                return NULL;
 2439|      0|            }
 2440|  2.06k|            goto done;
 2441|  2.06k|        }
 2442|   192k|        p->mark = _mark;
 2443|   192k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2444|   192k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+='"));
 2445|   192k|    }
 2446|      0|    { // '-='
 2447|   192k|        if (p->error_indicator) {
  ------------------
  |  Branch (2447:13): [True: 0, False: 192k]
  ------------------
 2448|      0|            p->level--;
 2449|      0|            return NULL;
 2450|      0|        }
 2451|   192k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-='"));
 2452|   192k|        Token * _literal;
 2453|   192k|        if (
 2454|   192k|            (_literal = _PyPegen_expect_token(p, 37))  // token='-='
  ------------------
  |  Branch (2454:13): [True: 192, False: 192k]
  ------------------
 2455|   192k|        )
 2456|    192|        {
 2457|    192|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-='"));
 2458|    192|            _res = _PyPegen_augoperator ( p , Sub );
 2459|    192|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2459:18): [True: 0, False: 192]
  |  Branch (2459:34): [True: 0, False: 192]
  |  Branch (2459:57): [True: 0, False: 0]
  ------------------
 2460|      0|                p->error_indicator = 1;
 2461|      0|                p->level--;
 2462|      0|                return NULL;
 2463|      0|            }
 2464|    192|            goto done;
 2465|    192|        }
 2466|   192k|        p->mark = _mark;
 2467|   192k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2468|   192k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-='"));
 2469|   192k|    }
 2470|      0|    { // '*='
 2471|   192k|        if (p->error_indicator) {
  ------------------
  |  Branch (2471:13): [True: 0, False: 192k]
  ------------------
 2472|      0|            p->level--;
 2473|      0|            return NULL;
 2474|      0|        }
 2475|   192k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*='"));
 2476|   192k|        Token * _literal;
 2477|   192k|        if (
 2478|   192k|            (_literal = _PyPegen_expect_token(p, 38))  // token='*='
  ------------------
  |  Branch (2478:13): [True: 4.09k, False: 188k]
  ------------------
 2479|   192k|        )
 2480|  4.09k|        {
 2481|  4.09k|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*='"));
 2482|  4.09k|            _res = _PyPegen_augoperator ( p , Mult );
 2483|  4.09k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2483:18): [True: 0, False: 4.09k]
  |  Branch (2483:34): [True: 0, False: 4.09k]
  |  Branch (2483:57): [True: 0, False: 0]
  ------------------
 2484|      0|                p->error_indicator = 1;
 2485|      0|                p->level--;
 2486|      0|                return NULL;
 2487|      0|            }
 2488|  4.09k|            goto done;
 2489|  4.09k|        }
 2490|   188k|        p->mark = _mark;
 2491|   188k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2492|   188k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*='"));
 2493|   188k|    }
 2494|      0|    { // '@='
 2495|   188k|        if (p->error_indicator) {
  ------------------
  |  Branch (2495:13): [True: 0, False: 188k]
  ------------------
 2496|      0|            p->level--;
 2497|      0|            return NULL;
 2498|      0|        }
 2499|   188k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'@='"));
 2500|   188k|        Token * _literal;
 2501|   188k|        if (
 2502|   188k|            (_literal = _PyPegen_expect_token(p, 50))  // token='@='
  ------------------
  |  Branch (2502:13): [True: 190, False: 188k]
  ------------------
 2503|   188k|        )
 2504|    190|        {
 2505|    190|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'@='"));
 2506|    190|            _res = CHECK_VERSION ( AugOperator* , 5 , "The '@' operator is" , _PyPegen_augoperator ( p , MatMult ) );
  ------------------
  |  |  319|    190|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 2507|    190|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2507:18): [True: 0, False: 190]
  |  Branch (2507:34): [True: 0, False: 190]
  |  Branch (2507:57): [True: 0, False: 0]
  ------------------
 2508|      0|                p->error_indicator = 1;
 2509|      0|                p->level--;
 2510|      0|                return NULL;
 2511|      0|            }
 2512|    190|            goto done;
 2513|    190|        }
 2514|   188k|        p->mark = _mark;
 2515|   188k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2516|   188k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'@='"));
 2517|   188k|    }
 2518|      0|    { // '/='
 2519|   188k|        if (p->error_indicator) {
  ------------------
  |  Branch (2519:13): [True: 0, False: 188k]
  ------------------
 2520|      0|            p->level--;
 2521|      0|            return NULL;
 2522|      0|        }
 2523|   188k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'/='"));
 2524|   188k|        Token * _literal;
 2525|   188k|        if (
 2526|   188k|            (_literal = _PyPegen_expect_token(p, 39))  // token='/='
  ------------------
  |  Branch (2526:13): [True: 1.86k, False: 186k]
  ------------------
 2527|   188k|        )
 2528|  1.86k|        {
 2529|  1.86k|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'/='"));
 2530|  1.86k|            _res = _PyPegen_augoperator ( p , Div );
 2531|  1.86k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2531:18): [True: 0, False: 1.86k]
  |  Branch (2531:34): [True: 0, False: 1.86k]
  |  Branch (2531:57): [True: 0, False: 0]
  ------------------
 2532|      0|                p->error_indicator = 1;
 2533|      0|                p->level--;
 2534|      0|                return NULL;
 2535|      0|            }
 2536|  1.86k|            goto done;
 2537|  1.86k|        }
 2538|   186k|        p->mark = _mark;
 2539|   186k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2540|   186k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'/='"));
 2541|   186k|    }
 2542|      0|    { // '%='
 2543|   186k|        if (p->error_indicator) {
  ------------------
  |  Branch (2543:13): [True: 0, False: 186k]
  ------------------
 2544|      0|            p->level--;
 2545|      0|            return NULL;
 2546|      0|        }
 2547|   186k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'%='"));
 2548|   186k|        Token * _literal;
 2549|   186k|        if (
 2550|   186k|            (_literal = _PyPegen_expect_token(p, 40))  // token='%='
  ------------------
  |  Branch (2550:13): [True: 2.36k, False: 184k]
  ------------------
 2551|   186k|        )
 2552|  2.36k|        {
 2553|  2.36k|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'%='"));
 2554|  2.36k|            _res = _PyPegen_augoperator ( p , Mod );
 2555|  2.36k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2555:18): [True: 0, False: 2.36k]
  |  Branch (2555:34): [True: 0, False: 2.36k]
  |  Branch (2555:57): [True: 0, False: 0]
  ------------------
 2556|      0|                p->error_indicator = 1;
 2557|      0|                p->level--;
 2558|      0|                return NULL;
 2559|      0|            }
 2560|  2.36k|            goto done;
 2561|  2.36k|        }
 2562|   184k|        p->mark = _mark;
 2563|   184k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2564|   184k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'%='"));
 2565|   184k|    }
 2566|      0|    { // '&='
 2567|   184k|        if (p->error_indicator) {
  ------------------
  |  Branch (2567:13): [True: 0, False: 184k]
  ------------------
 2568|      0|            p->level--;
 2569|      0|            return NULL;
 2570|      0|        }
 2571|   184k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'&='"));
 2572|   184k|        Token * _literal;
 2573|   184k|        if (
 2574|   184k|            (_literal = _PyPegen_expect_token(p, 41))  // token='&='
  ------------------
  |  Branch (2574:13): [True: 1.25k, False: 182k]
  ------------------
 2575|   184k|        )
 2576|  1.25k|        {
 2577|  1.25k|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'&='"));
 2578|  1.25k|            _res = _PyPegen_augoperator ( p , BitAnd );
 2579|  1.25k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2579:18): [True: 0, False: 1.25k]
  |  Branch (2579:34): [True: 0, False: 1.25k]
  |  Branch (2579:57): [True: 0, False: 0]
  ------------------
 2580|      0|                p->error_indicator = 1;
 2581|      0|                p->level--;
 2582|      0|                return NULL;
 2583|      0|            }
 2584|  1.25k|            goto done;
 2585|  1.25k|        }
 2586|   182k|        p->mark = _mark;
 2587|   182k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2588|   182k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'&='"));
 2589|   182k|    }
 2590|      0|    { // '|='
 2591|   182k|        if (p->error_indicator) {
  ------------------
  |  Branch (2591:13): [True: 0, False: 182k]
  ------------------
 2592|      0|            p->level--;
 2593|      0|            return NULL;
 2594|      0|        }
 2595|   182k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'|='"));
 2596|   182k|        Token * _literal;
 2597|   182k|        if (
 2598|   182k|            (_literal = _PyPegen_expect_token(p, 42))  // token='|='
  ------------------
  |  Branch (2598:13): [True: 368, False: 182k]
  ------------------
 2599|   182k|        )
 2600|    368|        {
 2601|    368|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'|='"));
 2602|    368|            _res = _PyPegen_augoperator ( p , BitOr );
 2603|    368|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2603:18): [True: 0, False: 368]
  |  Branch (2603:34): [True: 0, False: 368]
  |  Branch (2603:57): [True: 0, False: 0]
  ------------------
 2604|      0|                p->error_indicator = 1;
 2605|      0|                p->level--;
 2606|      0|                return NULL;
 2607|      0|            }
 2608|    368|            goto done;
 2609|    368|        }
 2610|   182k|        p->mark = _mark;
 2611|   182k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2612|   182k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'|='"));
 2613|   182k|    }
 2614|      0|    { // '^='
 2615|   182k|        if (p->error_indicator) {
  ------------------
  |  Branch (2615:13): [True: 0, False: 182k]
  ------------------
 2616|      0|            p->level--;
 2617|      0|            return NULL;
 2618|      0|        }
 2619|   182k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'^='"));
 2620|   182k|        Token * _literal;
 2621|   182k|        if (
 2622|   182k|            (_literal = _PyPegen_expect_token(p, 43))  // token='^='
  ------------------
  |  Branch (2622:13): [True: 556, False: 182k]
  ------------------
 2623|   182k|        )
 2624|    556|        {
 2625|    556|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'^='"));
 2626|    556|            _res = _PyPegen_augoperator ( p , BitXor );
 2627|    556|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2627:18): [True: 0, False: 556]
  |  Branch (2627:34): [True: 0, False: 556]
  |  Branch (2627:57): [True: 0, False: 0]
  ------------------
 2628|      0|                p->error_indicator = 1;
 2629|      0|                p->level--;
 2630|      0|                return NULL;
 2631|      0|            }
 2632|    556|            goto done;
 2633|    556|        }
 2634|   182k|        p->mark = _mark;
 2635|   182k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2636|   182k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'^='"));
 2637|   182k|    }
 2638|      0|    { // '<<='
 2639|   182k|        if (p->error_indicator) {
  ------------------
  |  Branch (2639:13): [True: 0, False: 182k]
  ------------------
 2640|      0|            p->level--;
 2641|      0|            return NULL;
 2642|      0|        }
 2643|   182k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'<<='"));
 2644|   182k|        Token * _literal;
 2645|   182k|        if (
 2646|   182k|            (_literal = _PyPegen_expect_token(p, 44))  // token='<<='
  ------------------
  |  Branch (2646:13): [True: 82, False: 181k]
  ------------------
 2647|   182k|        )
 2648|     82|        {
 2649|     82|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'<<='"));
 2650|     82|            _res = _PyPegen_augoperator ( p , LShift );
 2651|     82|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2651:18): [True: 0, False: 82]
  |  Branch (2651:34): [True: 0, False: 82]
  |  Branch (2651:57): [True: 0, False: 0]
  ------------------
 2652|      0|                p->error_indicator = 1;
 2653|      0|                p->level--;
 2654|      0|                return NULL;
 2655|      0|            }
 2656|     82|            goto done;
 2657|     82|        }
 2658|   181k|        p->mark = _mark;
 2659|   181k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2660|   181k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'<<='"));
 2661|   181k|    }
 2662|      0|    { // '>>='
 2663|   181k|        if (p->error_indicator) {
  ------------------
  |  Branch (2663:13): [True: 0, False: 181k]
  ------------------
 2664|      0|            p->level--;
 2665|      0|            return NULL;
 2666|      0|        }
 2667|   181k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'>>='"));
 2668|   181k|        Token * _literal;
 2669|   181k|        if (
 2670|   181k|            (_literal = _PyPegen_expect_token(p, 45))  // token='>>='
  ------------------
  |  Branch (2670:13): [True: 92, False: 181k]
  ------------------
 2671|   181k|        )
 2672|     92|        {
 2673|     92|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'>>='"));
 2674|     92|            _res = _PyPegen_augoperator ( p , RShift );
 2675|     92|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2675:18): [True: 0, False: 92]
  |  Branch (2675:34): [True: 0, False: 92]
  |  Branch (2675:57): [True: 0, False: 0]
  ------------------
 2676|      0|                p->error_indicator = 1;
 2677|      0|                p->level--;
 2678|      0|                return NULL;
 2679|      0|            }
 2680|     92|            goto done;
 2681|     92|        }
 2682|   181k|        p->mark = _mark;
 2683|   181k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2684|   181k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'>>='"));
 2685|   181k|    }
 2686|      0|    { // '**='
 2687|   181k|        if (p->error_indicator) {
  ------------------
  |  Branch (2687:13): [True: 0, False: 181k]
  ------------------
 2688|      0|            p->level--;
 2689|      0|            return NULL;
 2690|      0|        }
 2691|   181k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**='"));
 2692|   181k|        Token * _literal;
 2693|   181k|        if (
 2694|   181k|            (_literal = _PyPegen_expect_token(p, 46))  // token='**='
  ------------------
  |  Branch (2694:13): [True: 525, False: 181k]
  ------------------
 2695|   181k|        )
 2696|    525|        {
 2697|    525|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**='"));
 2698|    525|            _res = _PyPegen_augoperator ( p , Pow );
 2699|    525|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2699:18): [True: 0, False: 525]
  |  Branch (2699:34): [True: 0, False: 525]
  |  Branch (2699:57): [True: 0, False: 0]
  ------------------
 2700|      0|                p->error_indicator = 1;
 2701|      0|                p->level--;
 2702|      0|                return NULL;
 2703|      0|            }
 2704|    525|            goto done;
 2705|    525|        }
 2706|   181k|        p->mark = _mark;
 2707|   181k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2708|   181k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**='"));
 2709|   181k|    }
 2710|      0|    { // '//='
 2711|   181k|        if (p->error_indicator) {
  ------------------
  |  Branch (2711:13): [True: 0, False: 181k]
  ------------------
 2712|      0|            p->level--;
 2713|      0|            return NULL;
 2714|      0|        }
 2715|   181k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'//='"));
 2716|   181k|        Token * _literal;
 2717|   181k|        if (
 2718|   181k|            (_literal = _PyPegen_expect_token(p, 48))  // token='//='
  ------------------
  |  Branch (2718:13): [True: 588, False: 180k]
  ------------------
 2719|   181k|        )
 2720|    588|        {
 2721|    588|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'//='"));
 2722|    588|            _res = _PyPegen_augoperator ( p , FloorDiv );
 2723|    588|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2723:18): [True: 0, False: 588]
  |  Branch (2723:34): [True: 0, False: 588]
  |  Branch (2723:57): [True: 0, False: 0]
  ------------------
 2724|      0|                p->error_indicator = 1;
 2725|      0|                p->level--;
 2726|      0|                return NULL;
 2727|      0|            }
 2728|    588|            goto done;
 2729|    588|        }
 2730|   180k|        p->mark = _mark;
 2731|   180k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2732|   180k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'//='"));
 2733|   180k|    }
 2734|   180k|    _res = NULL;
 2735|   195k|  done:
 2736|   195k|    p->level--;
 2737|   195k|    return _res;
 2738|   180k|}
parser.c:invalid_assignment_rule:
22198|  43.7k|{
22199|  43.7k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  87.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22199:9): [True: 0, False: 43.7k]
  |  Branch (22199:35): [True: 0, False: 43.7k]
  ------------------
22200|      0|        _Pypegen_stack_overflow(p);
22201|      0|    }
22202|  43.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (22202:9): [True: 0, False: 43.7k]
  ------------------
22203|      0|        p->level--;
22204|      0|        return NULL;
22205|      0|    }
22206|  43.7k|    void * _res = NULL;
22207|  43.7k|    int _mark = p->mark;
22208|  43.7k|    { // invalid_ann_assign_target ':' expression
22209|  43.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (22209:13): [True: 0, False: 43.7k]
  ------------------
22210|      0|            p->level--;
22211|      0|            return NULL;
22212|      0|        }
22213|  43.7k|        D(fprintf(stderr, "%*c> invalid_assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_ann_assign_target ':' expression"));
22214|  43.7k|        Token * _literal;
22215|  43.7k|        expr_ty a;
22216|  43.7k|        expr_ty expression_var;
22217|  43.7k|        if (
22218|  43.7k|            (a = invalid_ann_assign_target_rule(p))  // invalid_ann_assign_target
  ------------------
  |  Branch (22218:13): [True: 269, False: 43.4k]
  ------------------
22219|    269|            &&
22220|    269|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (22220:13): [True: 10, False: 259]
  ------------------
22221|     10|            &&
22222|     10|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (22222:13): [True: 4, False: 6]
  ------------------
22223|  43.7k|        )
22224|      4|        {
22225|      4|            D(fprintf(stderr, "%*c+ invalid_assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_ann_assign_target ':' expression"));
22226|      4|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "only single target (not %s) can be annotated" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  213|      4|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22227|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22227:18): [True: 4, False: 0]
  |  Branch (22227:34): [True: 0, False: 0]
  |  Branch (22227:57): [True: 4, False: 0]
  ------------------
22228|      4|                p->error_indicator = 1;
22229|      4|                p->level--;
22230|      4|                return NULL;
22231|      4|            }
22232|      0|            goto done;
22233|      4|        }
22234|  43.7k|        p->mark = _mark;
22235|  43.7k|        D(fprintf(stderr, "%*c%s invalid_assignment[%d-%d]: %s failed!\n", p->level, ' ',
22236|  43.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_ann_assign_target ':' expression"));
22237|  43.7k|    }
22238|      0|    { // star_named_expression ',' star_named_expressions* ':' expression
22239|  43.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (22239:13): [True: 2, False: 43.7k]
  ------------------
22240|      2|            p->level--;
22241|      2|            return NULL;
22242|      2|        }
22243|  43.7k|        D(fprintf(stderr, "%*c> invalid_assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression ',' star_named_expressions* ':' expression"));
22244|  43.7k|        Token * _literal;
22245|  43.7k|        Token * _literal_1;
22246|  43.7k|        asdl_seq * _loop0_121_var;
22247|  43.7k|        expr_ty a;
22248|  43.7k|        expr_ty expression_var;
22249|  43.7k|        if (
22250|  43.7k|            (a = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (22250:13): [True: 28.8k, False: 14.8k]
  ------------------
22251|  28.8k|            &&
22252|  28.8k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (22252:13): [True: 2.58k, False: 26.3k]
  ------------------
22253|  2.58k|            &&
22254|  2.58k|            (_loop0_121_var = _loop0_121_rule(p))  // star_named_expressions*
  ------------------
  |  Branch (22254:13): [True: 2.58k, False: 0]
  ------------------
22255|  2.58k|            &&
22256|  2.58k|            (_literal_1 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (22256:13): [True: 275, False: 2.31k]
  ------------------
22257|    275|            &&
22258|    275|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (22258:13): [True: 14, False: 261]
  ------------------
22259|  43.7k|        )
22260|     14|        {
22261|     14|            D(fprintf(stderr, "%*c+ invalid_assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_named_expression ',' star_named_expressions* ':' expression"));
22262|     14|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "only single target (not tuple) can be annotated" );
  ------------------
  |  |  213|     14|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22263|     14|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22263:18): [True: 14, False: 0]
  |  Branch (22263:34): [True: 0, False: 0]
  |  Branch (22263:57): [True: 14, False: 0]
  ------------------
22264|     14|                p->error_indicator = 1;
22265|     14|                p->level--;
22266|     14|                return NULL;
22267|     14|            }
22268|      0|            goto done;
22269|     14|        }
22270|  43.6k|        p->mark = _mark;
22271|  43.6k|        D(fprintf(stderr, "%*c%s invalid_assignment[%d-%d]: %s failed!\n", p->level, ' ',
22272|  43.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression ',' star_named_expressions* ':' expression"));
22273|  43.6k|    }
22274|      0|    { // expression ':' expression
22275|  43.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (22275:13): [True: 1.21k, False: 42.4k]
  ------------------
22276|  1.21k|            p->level--;
22277|  1.21k|            return NULL;
22278|  1.21k|        }
22279|  42.4k|        D(fprintf(stderr, "%*c> invalid_assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' expression"));
22280|  42.4k|        Token * _literal;
22281|  42.4k|        expr_ty a;
22282|  42.4k|        expr_ty expression_var;
22283|  42.4k|        if (
22284|  42.4k|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (22284:13): [True: 28.4k, False: 14.0k]
  ------------------
22285|  28.4k|            &&
22286|  28.4k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (22286:13): [True: 451, False: 27.9k]
  ------------------
22287|    451|            &&
22288|    451|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (22288:13): [True: 44, False: 407]
  ------------------
22289|  42.4k|        )
22290|     44|        {
22291|     44|            D(fprintf(stderr, "%*c+ invalid_assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' expression"));
22292|     44|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "illegal target for annotation" );
  ------------------
  |  |  213|     44|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22293|     44|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22293:18): [True: 44, False: 0]
  |  Branch (22293:34): [True: 0, False: 0]
  |  Branch (22293:57): [True: 44, False: 0]
  ------------------
22294|     44|                p->error_indicator = 1;
22295|     44|                p->level--;
22296|     44|                return NULL;
22297|     44|            }
22298|      0|            goto done;
22299|     44|        }
22300|  42.4k|        p->mark = _mark;
22301|  42.4k|        D(fprintf(stderr, "%*c%s invalid_assignment[%d-%d]: %s failed!\n", p->level, ' ',
22302|  42.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' expression"));
22303|  42.4k|    }
22304|      0|    { // ((star_targets '='))* star_expressions '='
22305|  42.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (22305:13): [True: 332, False: 42.1k]
  ------------------
22306|    332|            p->level--;
22307|    332|            return NULL;
22308|    332|        }
22309|  42.1k|        D(fprintf(stderr, "%*c> invalid_assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((star_targets '='))* star_expressions '='"));
22310|  42.1k|        Token * _literal;
22311|  42.1k|        asdl_seq * _loop0_122_var;
22312|  42.1k|        expr_ty a;
22313|  42.1k|        if (
22314|  42.1k|            (_loop0_122_var = _loop0_122_rule(p))  // ((star_targets '='))*
  ------------------
  |  Branch (22314:13): [True: 42.1k, False: 0]
  ------------------
22315|  42.1k|            &&
22316|  42.1k|            (a = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (22316:13): [True: 28.0k, False: 14.0k]
  ------------------
22317|  28.0k|            &&
22318|  28.0k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (22318:13): [True: 77, False: 28.0k]
  ------------------
22319|  42.1k|        )
22320|     77|        {
22321|     77|            D(fprintf(stderr, "%*c+ invalid_assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "((star_targets '='))* star_expressions '='"));
22322|     77|            _res = RAISE_SYNTAX_ERROR_INVALID_TARGET ( STAR_TARGETS , a );
  ------------------
  |  |  216|     77|#define RAISE_SYNTAX_ERROR_INVALID_TARGET(type, e) _RAISE_SYNTAX_ERROR_INVALID_TARGET(p, type, e)
  ------------------
22323|     77|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22323:18): [True: 77, False: 0]
  |  Branch (22323:34): [True: 0, False: 0]
  |  Branch (22323:57): [True: 77, False: 0]
  ------------------
22324|     77|                p->error_indicator = 1;
22325|     77|                p->level--;
22326|     77|                return NULL;
22327|     77|            }
22328|      0|            goto done;
22329|     77|        }
22330|  42.0k|        p->mark = _mark;
22331|  42.0k|        D(fprintf(stderr, "%*c%s invalid_assignment[%d-%d]: %s failed!\n", p->level, ' ',
22332|  42.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((star_targets '='))* star_expressions '='"));
22333|  42.0k|    }
22334|      0|    { // ((star_targets '='))* yield_expr '='
22335|  42.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (22335:13): [True: 0, False: 42.0k]
  ------------------
22336|      0|            p->level--;
22337|      0|            return NULL;
22338|      0|        }
22339|  42.0k|        D(fprintf(stderr, "%*c> invalid_assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((star_targets '='))* yield_expr '='"));
22340|  42.0k|        Token * _literal;
22341|  42.0k|        asdl_seq * _loop0_122_var;
22342|  42.0k|        expr_ty a;
22343|  42.0k|        if (
22344|  42.0k|            (_loop0_122_var = _loop0_122_rule(p))  // ((star_targets '='))*
  ------------------
  |  Branch (22344:13): [True: 42.0k, False: 0]
  ------------------
22345|  42.0k|            &&
22346|  42.0k|            (a = yield_expr_rule(p))  // yield_expr
  ------------------
  |  Branch (22346:13): [True: 349, False: 41.6k]
  ------------------
22347|    349|            &&
22348|    349|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (22348:13): [True: 2, False: 347]
  ------------------
22349|  42.0k|        )
22350|      2|        {
22351|      2|            D(fprintf(stderr, "%*c+ invalid_assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "((star_targets '='))* yield_expr '='"));
22352|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "assignment to yield expression not possible" );
  ------------------
  |  |  213|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22353|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22353:18): [True: 2, False: 0]
  |  Branch (22353:34): [True: 0, False: 0]
  |  Branch (22353:57): [True: 2, False: 0]
  ------------------
22354|      2|                p->error_indicator = 1;
22355|      2|                p->level--;
22356|      2|                return NULL;
22357|      2|            }
22358|      0|            goto done;
22359|      2|        }
22360|  42.0k|        p->mark = _mark;
22361|  42.0k|        D(fprintf(stderr, "%*c%s invalid_assignment[%d-%d]: %s failed!\n", p->level, ' ',
22362|  42.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((star_targets '='))* yield_expr '='"));
22363|  42.0k|    }
22364|      0|    { // star_expressions augassign annotated_rhs
22365|  42.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (22365:13): [True: 5, False: 42.0k]
  ------------------
22366|      5|            p->level--;
22367|      5|            return NULL;
22368|      5|        }
22369|  42.0k|        D(fprintf(stderr, "%*c> invalid_assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expressions augassign annotated_rhs"));
22370|  42.0k|        expr_ty a;
22371|  42.0k|        expr_ty annotated_rhs_var;
22372|  42.0k|        AugOperator* augassign_var;
22373|  42.0k|        if (
22374|  42.0k|            (a = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (22374:13): [True: 28.0k, False: 13.9k]
  ------------------
22375|  28.0k|            &&
22376|  28.0k|            (augassign_var = augassign_rule(p))  // augassign
  ------------------
  |  Branch (22376:13): [True: 51, False: 27.9k]
  ------------------
22377|     51|            &&
22378|     51|            (annotated_rhs_var = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (22378:13): [True: 32, False: 19]
  ------------------
22379|  42.0k|        )
22380|     32|        {
22381|     32|            D(fprintf(stderr, "%*c+ invalid_assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expressions augassign annotated_rhs"));
22382|     32|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "'%s' is an illegal expression for augmented assignment" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  213|     32|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22383|     32|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22383:18): [True: 32, False: 0]
  |  Branch (22383:34): [True: 0, False: 0]
  |  Branch (22383:57): [True: 32, False: 0]
  ------------------
22384|     32|                p->error_indicator = 1;
22385|     32|                p->level--;
22386|     32|                return NULL;
22387|     32|            }
22388|      0|            goto done;
22389|     32|        }
22390|  41.9k|        p->mark = _mark;
22391|  41.9k|        D(fprintf(stderr, "%*c%s invalid_assignment[%d-%d]: %s failed!\n", p->level, ' ',
22392|  41.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expressions augassign annotated_rhs"));
22393|  41.9k|    }
22394|  41.9k|    _res = NULL;
22395|  41.9k|  done:
22396|  41.9k|    p->level--;
22397|  41.9k|    return _res;
22398|  41.9k|}
parser.c:invalid_ann_assign_target_rule:
22403|  45.1k|{
22404|  45.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  90.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22404:9): [True: 0, False: 45.1k]
  |  Branch (22404:35): [True: 0, False: 45.1k]
  ------------------
22405|      0|        _Pypegen_stack_overflow(p);
22406|      0|    }
22407|  45.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (22407:9): [True: 0, False: 45.1k]
  ------------------
22408|      0|        p->level--;
22409|      0|        return NULL;
22410|      0|    }
22411|  45.1k|    expr_ty _res = NULL;
22412|  45.1k|    int _mark = p->mark;
22413|  45.1k|    { // list
22414|  45.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22414:13): [True: 0, False: 45.1k]
  ------------------
22415|      0|            p->level--;
22416|      0|            return NULL;
22417|      0|        }
22418|  45.1k|        D(fprintf(stderr, "%*c> invalid_ann_assign_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "list"));
22419|  45.1k|        expr_ty list_var;
22420|  45.1k|        if (
22421|  45.1k|            (list_var = list_rule(p))  // list
  ------------------
  |  Branch (22421:13): [True: 123, False: 45.0k]
  ------------------
22422|  45.1k|        )
22423|    123|        {
22424|    123|            D(fprintf(stderr, "%*c+ invalid_ann_assign_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "list"));
22425|    123|            _res = list_var;
22426|    123|            goto done;
22427|    123|        }
22428|  45.0k|        p->mark = _mark;
22429|  45.0k|        D(fprintf(stderr, "%*c%s invalid_ann_assign_target[%d-%d]: %s failed!\n", p->level, ' ',
22430|  45.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "list"));
22431|  45.0k|    }
22432|      0|    { // tuple
22433|  45.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (22433:13): [True: 0, False: 45.0k]
  ------------------
22434|      0|            p->level--;
22435|      0|            return NULL;
22436|      0|        }
22437|  45.0k|        D(fprintf(stderr, "%*c> invalid_ann_assign_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tuple"));
22438|  45.0k|        expr_ty tuple_var;
22439|  45.0k|        if (
22440|  45.0k|            (tuple_var = tuple_rule(p))  // tuple
  ------------------
  |  Branch (22440:13): [True: 169, False: 44.9k]
  ------------------
22441|  45.0k|        )
22442|    169|        {
22443|    169|            D(fprintf(stderr, "%*c+ invalid_ann_assign_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tuple"));
22444|    169|            _res = tuple_var;
22445|    169|            goto done;
22446|    169|        }
22447|  44.9k|        p->mark = _mark;
22448|  44.9k|        D(fprintf(stderr, "%*c%s invalid_ann_assign_target[%d-%d]: %s failed!\n", p->level, ' ',
22449|  44.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tuple"));
22450|  44.9k|    }
22451|      0|    { // '(' invalid_ann_assign_target ')'
22452|  44.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (22452:13): [True: 0, False: 44.9k]
  ------------------
22453|      0|            p->level--;
22454|      0|            return NULL;
22455|      0|        }
22456|  44.9k|        D(fprintf(stderr, "%*c> invalid_ann_assign_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' invalid_ann_assign_target ')'"));
22457|  44.9k|        Token * _literal;
22458|  44.9k|        Token * _literal_1;
22459|  44.9k|        expr_ty a;
22460|  44.9k|        if (
22461|  44.9k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (22461:13): [True: 1.47k, False: 43.4k]
  ------------------
22462|  1.47k|            &&
22463|  1.47k|            (a = invalid_ann_assign_target_rule(p))  // invalid_ann_assign_target
  ------------------
  |  Branch (22463:13): [True: 195, False: 1.28k]
  ------------------
22464|    195|            &&
22465|    195|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (22465:13): [True: 172, False: 23]
  ------------------
22466|  44.9k|        )
22467|    172|        {
22468|    172|            D(fprintf(stderr, "%*c+ invalid_ann_assign_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' invalid_ann_assign_target ')'"));
22469|    172|            _res = a;
22470|    172|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22470:18): [True: 0, False: 172]
  |  Branch (22470:34): [True: 0, False: 172]
  |  Branch (22470:57): [True: 0, False: 0]
  ------------------
22471|      0|                p->error_indicator = 1;
22472|      0|                p->level--;
22473|      0|                return NULL;
22474|      0|            }
22475|    172|            goto done;
22476|    172|        }
22477|  44.7k|        p->mark = _mark;
22478|  44.7k|        D(fprintf(stderr, "%*c%s invalid_ann_assign_target[%d-%d]: %s failed!\n", p->level, ' ',
22479|  44.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' invalid_ann_assign_target ')'"));
22480|  44.7k|    }
22481|  44.7k|    _res = NULL;
22482|  45.1k|  done:
22483|  45.1k|    p->level--;
22484|  45.1k|    return _res;
22485|  44.7k|}
parser.c:_loop0_121_rule:
36173|  2.58k|{
36174|  2.58k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  5.17k|#  define MAXSTACK 6000
  ------------------
  |  Branch (36174:9): [True: 0, False: 2.58k]
  |  Branch (36174:35): [True: 0, False: 2.58k]
  ------------------
36175|      0|        _Pypegen_stack_overflow(p);
36176|      0|    }
36177|  2.58k|    if (p->error_indicator) {
  ------------------
  |  Branch (36177:9): [True: 0, False: 2.58k]
  ------------------
36178|      0|        p->level--;
36179|      0|        return NULL;
36180|      0|    }
36181|  2.58k|    void *_res = NULL;
36182|  2.58k|    int _mark = p->mark;
36183|  2.58k|    void **_children = PyMem_Malloc(sizeof(void *));
36184|  2.58k|    if (!_children) {
  ------------------
  |  Branch (36184:9): [True: 0, False: 2.58k]
  ------------------
36185|      0|        p->error_indicator = 1;
36186|      0|        PyErr_NoMemory();
36187|      0|        p->level--;
36188|      0|        return NULL;
36189|      0|    }
36190|  2.58k|    Py_ssize_t _children_capacity = 1;
36191|  2.58k|    Py_ssize_t _n = 0;
36192|  2.58k|    { // star_named_expressions
36193|  2.58k|        if (p->error_indicator) {
  ------------------
  |  Branch (36193:13): [True: 0, False: 2.58k]
  ------------------
36194|      0|            p->level--;
36195|      0|            return NULL;
36196|      0|        }
36197|  2.58k|        D(fprintf(stderr, "%*c> _loop0_121[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expressions"));
36198|  2.58k|        asdl_expr_seq* star_named_expressions_var;
36199|  2.58k|        while (
36200|  7.21k|            (star_named_expressions_var = star_named_expressions_rule(p))  // star_named_expressions
  ------------------
  |  Branch (36200:13): [True: 4.62k, False: 2.58k]
  ------------------
36201|  2.58k|        )
36202|  4.62k|        {
36203|  4.62k|            _res = star_named_expressions_var;
36204|  4.62k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (36204:17): [True: 391, False: 4.23k]
  ------------------
36205|    391|                _children_capacity *= 2;
36206|    391|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
36207|    391|                if (!_new_children) {
  ------------------
  |  Branch (36207:21): [True: 0, False: 391]
  ------------------
36208|      0|                    PyMem_Free(_children);
36209|      0|                    p->error_indicator = 1;
36210|      0|                    PyErr_NoMemory();
36211|      0|                    p->level--;
36212|      0|                    return NULL;
36213|      0|                }
36214|    391|                _children = _new_children;
36215|    391|            }
36216|  4.62k|            _children[_n++] = _res;
36217|  4.62k|            _mark = p->mark;
36218|  4.62k|        }
36219|  2.58k|        p->mark = _mark;
36220|  2.58k|        D(fprintf(stderr, "%*c%s _loop0_121[%d-%d]: %s failed!\n", p->level, ' ',
36221|  2.58k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expressions"));
36222|  2.58k|    }
36223|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
36224|  2.58k|    if (!_seq) {
  ------------------
  |  Branch (36224:9): [True: 0, False: 2.58k]
  ------------------
36225|      0|        PyMem_Free(_children);
36226|      0|        p->error_indicator = 1;
36227|      0|        PyErr_NoMemory();
36228|      0|        p->level--;
36229|      0|        return NULL;
36230|      0|    }
36231|  7.21k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  4.62k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  7.21k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (36231:28): [True: 4.62k, False: 2.58k]
  ------------------
36232|  2.58k|    PyMem_Free(_children);
36233|  2.58k|    p->level--;
36234|  2.58k|    return _seq;
36235|  2.58k|}
parser.c:_loop0_122_rule:
36240|  84.1k|{
36241|  84.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   168k|#  define MAXSTACK 6000
  ------------------
  |  Branch (36241:9): [True: 0, False: 84.1k]
  |  Branch (36241:35): [True: 0, False: 84.1k]
  ------------------
36242|      0|        _Pypegen_stack_overflow(p);
36243|      0|    }
36244|  84.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (36244:9): [True: 0, False: 84.1k]
  ------------------
36245|      0|        p->level--;
36246|      0|        return NULL;
36247|      0|    }
36248|  84.1k|    void *_res = NULL;
36249|  84.1k|    int _mark = p->mark;
36250|  84.1k|    void **_children = PyMem_Malloc(sizeof(void *));
36251|  84.1k|    if (!_children) {
  ------------------
  |  Branch (36251:9): [True: 0, False: 84.1k]
  ------------------
36252|      0|        p->error_indicator = 1;
36253|      0|        PyErr_NoMemory();
36254|      0|        p->level--;
36255|      0|        return NULL;
36256|      0|    }
36257|  84.1k|    Py_ssize_t _children_capacity = 1;
36258|  84.1k|    Py_ssize_t _n = 0;
36259|  84.1k|    { // (star_targets '=')
36260|  84.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (36260:13): [True: 0, False: 84.1k]
  ------------------
36261|      0|            p->level--;
36262|      0|            return NULL;
36263|      0|        }
36264|  84.1k|        D(fprintf(stderr, "%*c> _loop0_122[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(star_targets '=')"));
36265|  84.1k|        void *_tmp_159_var;
36266|  84.1k|        while (
36267|  84.5k|            (_tmp_159_var = _tmp_159_rule(p))  // star_targets '='
  ------------------
  |  Branch (36267:13): [True: 399, False: 84.1k]
  ------------------
36268|  84.1k|        )
36269|    399|        {
36270|    399|            _res = _tmp_159_var;
36271|    399|            if (_n == _children_capacity) {
  ------------------
  |  Branch (36271:17): [True: 92, False: 307]
  ------------------
36272|     92|                _children_capacity *= 2;
36273|     92|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
36274|     92|                if (!_new_children) {
  ------------------
  |  Branch (36274:21): [True: 0, False: 92]
  ------------------
36275|      0|                    PyMem_Free(_children);
36276|      0|                    p->error_indicator = 1;
36277|      0|                    PyErr_NoMemory();
36278|      0|                    p->level--;
36279|      0|                    return NULL;
36280|      0|                }
36281|     92|                _children = _new_children;
36282|     92|            }
36283|    399|            _children[_n++] = _res;
36284|    399|            _mark = p->mark;
36285|    399|        }
36286|  84.1k|        p->mark = _mark;
36287|  84.1k|        D(fprintf(stderr, "%*c%s _loop0_122[%d-%d]: %s failed!\n", p->level, ' ',
36288|  84.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(star_targets '=')"));
36289|  84.1k|    }
36290|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
36291|  84.1k|    if (!_seq) {
  ------------------
  |  Branch (36291:9): [True: 0, False: 84.1k]
  ------------------
36292|      0|        PyMem_Free(_children);
36293|      0|        p->error_indicator = 1;
36294|      0|        PyErr_NoMemory();
36295|      0|        p->level--;
36296|      0|        return NULL;
36297|      0|    }
36298|  84.5k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    399|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  84.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (36298:28): [True: 399, False: 84.1k]
  ------------------
36299|  84.1k|    PyMem_Free(_children);
36300|  84.1k|    p->level--;
36301|  84.1k|    return _seq;
36302|  84.1k|}
parser.c:type_alias_rule:
10931|  1.07k|{
10932|  1.07k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.15k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10932:9): [True: 0, False: 1.07k]
  |  Branch (10932:35): [True: 0, False: 1.07k]
  ------------------
10933|      0|        _Pypegen_stack_overflow(p);
10934|      0|    }
10935|  1.07k|    if (p->error_indicator) {
  ------------------
  |  Branch (10935:9): [True: 0, False: 1.07k]
  ------------------
10936|      0|        p->level--;
10937|      0|        return NULL;
10938|      0|    }
10939|  1.07k|    stmt_ty _res = NULL;
10940|  1.07k|    int _mark = p->mark;
10941|  1.07k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (10941:9): [True: 0, False: 1.07k]
  |  Branch (10941:31): [True: 0, False: 0]
  ------------------
10942|      0|        p->error_indicator = 1;
10943|      0|        p->level--;
10944|      0|        return NULL;
10945|      0|    }
10946|  1.07k|    int _start_lineno = p->tokens[_mark]->lineno;
10947|  1.07k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.07k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.07k]
  |  |  ------------------
  ------------------
10948|  1.07k|    int _start_col_offset = p->tokens[_mark]->col_offset;
10949|  1.07k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.07k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.07k]
  |  |  ------------------
  ------------------
10950|  1.07k|    { // "type" NAME type_params? '=' expression
10951|  1.07k|        if (p->error_indicator) {
  ------------------
  |  Branch (10951:13): [True: 0, False: 1.07k]
  ------------------
10952|      0|            p->level--;
10953|      0|            return NULL;
10954|      0|        }
10955|  1.07k|        D(fprintf(stderr, "%*c> type_alias[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"type\" NAME type_params? '=' expression"));
10956|  1.07k|        expr_ty _keyword;
10957|  1.07k|        Token * _literal;
10958|  1.07k|        expr_ty b;
10959|  1.07k|        expr_ty n;
10960|  1.07k|        void *t;
10961|  1.07k|        if (
10962|  1.07k|            (_keyword = _PyPegen_expect_soft_keyword(p, "type"))  // soft_keyword='"type"'
  ------------------
  |  Branch (10962:13): [True: 1.07k, False: 0]
  ------------------
10963|  1.07k|            &&
10964|  1.07k|            (n = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (10964:13): [True: 861, False: 214]
  ------------------
10965|    861|            &&
10966|    861|            (t = type_params_rule(p), !p->error_indicator)  // type_params?
  ------------------
  |  Branch (10966:13): [True: 855, False: 6]
  ------------------
10967|    855|            &&
10968|    855|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (10968:13): [True: 835, False: 20]
  ------------------
10969|    835|            &&
10970|    835|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (10970:13): [True: 826, False: 9]
  ------------------
10971|  1.07k|        )
10972|    826|        {
10973|    826|            D(fprintf(stderr, "%*c+ type_alias[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"type\" NAME type_params? '=' expression"));
10974|    826|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
10975|    826|            if (_token == NULL) {
  ------------------
  |  Branch (10975:17): [True: 0, False: 826]
  ------------------
10976|      0|                p->level--;
10977|      0|                return NULL;
10978|      0|            }
10979|    826|            int _end_lineno = _token->end_lineno;
10980|    826|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    826|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 826]
  |  |  ------------------
  ------------------
10981|    826|            int _end_col_offset = _token->end_col_offset;
10982|    826|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    826|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 826]
  |  |  ------------------
  ------------------
10983|    826|            _res = CHECK_VERSION ( stmt_ty , 12 , "Type statement is" , _PyAST_TypeAlias ( CHECK ( expr_ty , _PyPegen_set_expr_context ( p , n , Store ) ) , t , b , EXTRA ) );
  ------------------
  |  |  319|    826|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
10984|    826|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10984:18): [True: 0, False: 826]
  |  Branch (10984:34): [True: 0, False: 826]
  |  Branch (10984:57): [True: 0, False: 0]
  ------------------
10985|      0|                p->error_indicator = 1;
10986|      0|                p->level--;
10987|      0|                return NULL;
10988|      0|            }
10989|    826|            goto done;
10990|    826|        }
10991|    249|        p->mark = _mark;
10992|    249|        D(fprintf(stderr, "%*c%s type_alias[%d-%d]: %s failed!\n", p->level, ' ',
10993|    249|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"type\" NAME type_params? '=' expression"));
10994|    249|    }
10995|    249|    _res = NULL;
10996|  1.07k|  done:
10997|  1.07k|    p->level--;
10998|  1.07k|    return _res;
10999|    249|}
parser.c:type_params_rule:
11004|  39.8k|{
11005|  39.8k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  79.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11005:9): [True: 0, False: 39.8k]
  |  Branch (11005:35): [True: 0, False: 39.8k]
  ------------------
11006|      0|        _Pypegen_stack_overflow(p);
11007|      0|    }
11008|  39.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (11008:9): [True: 0, False: 39.8k]
  ------------------
11009|      0|        p->level--;
11010|      0|        return NULL;
11011|      0|    }
11012|  39.8k|    asdl_type_param_seq* _res = NULL;
11013|  39.8k|    int _mark = p->mark;
11014|  39.8k|    if (p->call_invalid_rules) { // invalid_type_params
  ------------------
  |  Branch (11014:9): [True: 11.2k, False: 28.5k]
  ------------------
11015|  11.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (11015:13): [True: 0, False: 11.2k]
  ------------------
11016|      0|            p->level--;
11017|      0|            return NULL;
11018|      0|        }
11019|  11.2k|        D(fprintf(stderr, "%*c> type_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_type_params"));
11020|  11.2k|        void *invalid_type_params_var;
11021|  11.2k|        if (
11022|  11.2k|            (invalid_type_params_var = invalid_type_params_rule(p))  // invalid_type_params
  ------------------
  |  Branch (11022:13): [True: 0, False: 11.2k]
  ------------------
11023|  11.2k|        )
11024|      0|        {
11025|      0|            D(fprintf(stderr, "%*c+ type_params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_type_params"));
11026|      0|            _res = invalid_type_params_var;
11027|      0|            goto done;
11028|      0|        }
11029|  11.2k|        p->mark = _mark;
11030|  11.2k|        D(fprintf(stderr, "%*c%s type_params[%d-%d]: %s failed!\n", p->level, ' ',
11031|  11.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_type_params"));
11032|  11.2k|    }
11033|  39.8k|    { // '[' type_param_seq ']'
11034|  39.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (11034:13): [True: 2, False: 39.8k]
  ------------------
11035|      2|            p->level--;
11036|      2|            return NULL;
11037|      2|        }
11038|  39.8k|        D(fprintf(stderr, "%*c> type_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' type_param_seq ']'"));
11039|  39.8k|        Token * _literal;
11040|  39.8k|        Token * _literal_1;
11041|  39.8k|        asdl_type_param_seq* t;
11042|  39.8k|        if (
11043|  39.8k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (11043:13): [True: 8.84k, False: 30.9k]
  ------------------
11044|  8.84k|            &&
11045|  8.84k|            (t = type_param_seq_rule(p))  // type_param_seq
  ------------------
  |  Branch (11045:13): [True: 8.81k, False: 36]
  ------------------
11046|  8.81k|            &&
11047|  8.81k|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (11047:13): [True: 8.70k, False: 113]
  ------------------
11048|  39.8k|        )
11049|  8.70k|        {
11050|  8.70k|            D(fprintf(stderr, "%*c+ type_params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' type_param_seq ']'"));
11051|  8.70k|            _res = CHECK_VERSION ( asdl_type_param_seq* , 12 , "Type parameter lists are" , t );
  ------------------
  |  |  319|  8.70k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
11052|  8.70k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11052:18): [True: 0, False: 8.70k]
  |  Branch (11052:34): [True: 0, False: 8.70k]
  |  Branch (11052:57): [True: 0, False: 0]
  ------------------
11053|      0|                p->error_indicator = 1;
11054|      0|                p->level--;
11055|      0|                return NULL;
11056|      0|            }
11057|  8.70k|            goto done;
11058|  8.70k|        }
11059|  31.1k|        p->mark = _mark;
11060|  31.1k|        D(fprintf(stderr, "%*c%s type_params[%d-%d]: %s failed!\n", p->level, ' ',
11061|  31.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' type_param_seq ']'"));
11062|  31.1k|    }
11063|  31.1k|    _res = NULL;
11064|  39.8k|  done:
11065|  39.8k|    p->level--;
11066|  39.8k|    return _res;
11067|  31.1k|}
parser.c:invalid_type_params_rule:
28490|  11.2k|{
28491|  11.2k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  22.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28491:9): [True: 0, False: 11.2k]
  |  Branch (28491:35): [True: 0, False: 11.2k]
  ------------------
28492|      0|        _Pypegen_stack_overflow(p);
28493|      0|    }
28494|  11.2k|    if (p->error_indicator) {
  ------------------
  |  Branch (28494:9): [True: 0, False: 11.2k]
  ------------------
28495|      0|        p->level--;
28496|      0|        return NULL;
28497|      0|    }
28498|  11.2k|    void * _res = NULL;
28499|  11.2k|    int _mark = p->mark;
28500|  11.2k|    { // '[' ']'
28501|  11.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (28501:13): [True: 0, False: 11.2k]
  ------------------
28502|      0|            p->level--;
28503|      0|            return NULL;
28504|      0|        }
28505|  11.2k|        D(fprintf(stderr, "%*c> invalid_type_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' ']'"));
28506|  11.2k|        Token * _literal;
28507|  11.2k|        Token * token;
28508|  11.2k|        if (
28509|  11.2k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (28509:13): [True: 2.71k, False: 8.57k]
  ------------------
28510|  2.71k|            &&
28511|  2.71k|            (token = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (28511:13): [True: 1, False: 2.71k]
  ------------------
28512|  11.2k|        )
28513|      1|        {
28514|      1|            D(fprintf(stderr, "%*c+ invalid_type_params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' ']'"));
28515|      1|            _res = RAISE_SYNTAX_ERROR_STARTING_FROM ( token , "Type parameter list cannot be empty" );
  ------------------
  |  |  215|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   27|      1|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |                   RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   27|      1|#define CURRENT_POS (-5)
  |  |  ------------------
  ------------------
28516|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (28516:18): [True: 1, False: 0]
  |  Branch (28516:34): [True: 0, False: 0]
  |  Branch (28516:57): [True: 1, False: 0]
  ------------------
28517|      1|                p->error_indicator = 1;
28518|      1|                p->level--;
28519|      1|                return NULL;
28520|      1|            }
28521|      0|            goto done;
28522|      1|        }
28523|  11.2k|        p->mark = _mark;
28524|  11.2k|        D(fprintf(stderr, "%*c%s invalid_type_params[%d-%d]: %s failed!\n", p->level, ' ',
28525|  11.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' ']'"));
28526|  11.2k|    }
28527|  11.2k|    _res = NULL;
28528|  11.2k|  done:
28529|  11.2k|    p->level--;
28530|  11.2k|    return _res;
28531|  11.2k|}
parser.c:type_param_seq_rule:
11072|  8.84k|{
11073|  8.84k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  17.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11073:9): [True: 0, False: 8.84k]
  |  Branch (11073:35): [True: 0, False: 8.84k]
  ------------------
11074|      0|        _Pypegen_stack_overflow(p);
11075|      0|    }
11076|  8.84k|    if (p->error_indicator) {
  ------------------
  |  Branch (11076:9): [True: 0, False: 8.84k]
  ------------------
11077|      0|        p->level--;
11078|      0|        return NULL;
11079|      0|    }
11080|  8.84k|    asdl_type_param_seq* _res = NULL;
11081|  8.84k|    int _mark = p->mark;
11082|  8.84k|    { // ','.type_param+ ','?
11083|  8.84k|        if (p->error_indicator) {
  ------------------
  |  Branch (11083:13): [True: 0, False: 8.84k]
  ------------------
11084|      0|            p->level--;
11085|      0|            return NULL;
11086|      0|        }
11087|  8.84k|        D(fprintf(stderr, "%*c> type_param_seq[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.type_param+ ','?"));
11088|  8.84k|        void *_opt_var;
11089|  8.84k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  8.84k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 8.84k]
  |  |  ------------------
  ------------------
11090|  8.84k|        asdl_type_param_seq* a;
11091|  8.84k|        if (
11092|  8.84k|            (a = (asdl_type_param_seq*)_gather_54_rule(p))  // ','.type_param+
  ------------------
  |  Branch (11092:13): [True: 8.82k, False: 24]
  ------------------
11093|  8.82k|            &&
11094|  8.82k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (11094:13): [True: 8.81k, False: 12]
  ------------------
11095|  8.84k|        )
11096|  8.81k|        {
11097|  8.81k|            D(fprintf(stderr, "%*c+ type_param_seq[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.type_param+ ','?"));
11098|  8.81k|            _res = a;
11099|  8.81k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11099:18): [True: 0, False: 8.81k]
  |  Branch (11099:34): [True: 0, False: 8.81k]
  |  Branch (11099:57): [True: 0, False: 0]
  ------------------
11100|      0|                p->error_indicator = 1;
11101|      0|                p->level--;
11102|      0|                return NULL;
11103|      0|            }
11104|  8.81k|            goto done;
11105|  8.81k|        }
11106|     36|        p->mark = _mark;
11107|     36|        D(fprintf(stderr, "%*c%s type_param_seq[%d-%d]: %s failed!\n", p->level, ' ',
11108|     36|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.type_param+ ','?"));
11109|     36|    }
11110|     36|    _res = NULL;
11111|  8.84k|  done:
11112|  8.84k|    p->level--;
11113|  8.84k|    return _res;
11114|     36|}
parser.c:_gather_54_rule:
31960|  8.84k|{
31961|  8.84k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  17.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (31961:9): [True: 0, False: 8.84k]
  |  Branch (31961:35): [True: 0, False: 8.84k]
  ------------------
31962|      0|        _Pypegen_stack_overflow(p);
31963|      0|    }
31964|  8.84k|    if (p->error_indicator) {
  ------------------
  |  Branch (31964:9): [True: 0, False: 8.84k]
  ------------------
31965|      0|        p->level--;
31966|      0|        return NULL;
31967|      0|    }
31968|  8.84k|    asdl_seq * _res = NULL;
31969|  8.84k|    int _mark = p->mark;
31970|  8.84k|    { // type_param _loop0_53
31971|  8.84k|        if (p->error_indicator) {
  ------------------
  |  Branch (31971:13): [True: 0, False: 8.84k]
  ------------------
31972|      0|            p->level--;
31973|      0|            return NULL;
31974|      0|        }
31975|  8.84k|        D(fprintf(stderr, "%*c> _gather_54[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "type_param _loop0_53"));
31976|  8.84k|        type_param_ty elem;
31977|  8.84k|        asdl_seq * seq;
31978|  8.84k|        if (
31979|  8.84k|            (elem = type_param_rule(p))  // type_param
  ------------------
  |  Branch (31979:13): [True: 8.82k, False: 24]
  ------------------
31980|  8.82k|            &&
31981|  8.82k|            (seq = _loop0_53_rule(p))  // _loop0_53
  ------------------
  |  Branch (31981:13): [True: 8.82k, False: 0]
  ------------------
31982|  8.84k|        )
31983|  8.82k|        {
31984|  8.82k|            D(fprintf(stderr, "%*c+ _gather_54[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "type_param _loop0_53"));
31985|  8.82k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
31986|  8.82k|            goto done;
31987|  8.82k|        }
31988|     24|        p->mark = _mark;
31989|     24|        D(fprintf(stderr, "%*c%s _gather_54[%d-%d]: %s failed!\n", p->level, ' ',
31990|     24|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "type_param _loop0_53"));
31991|     24|    }
31992|     24|    _res = NULL;
31993|  8.84k|  done:
31994|  8.84k|    p->level--;
31995|  8.84k|    return _res;
31996|     24|}
parser.c:type_param_rule:
11123|  25.0k|{
11124|  25.0k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  50.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11124:9): [True: 0, False: 25.0k]
  |  Branch (11124:35): [True: 0, False: 25.0k]
  ------------------
11125|      0|        _Pypegen_stack_overflow(p);
11126|      0|    }
11127|  25.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (11127:9): [True: 0, False: 25.0k]
  ------------------
11128|      0|        p->level--;
11129|      0|        return NULL;
11130|      0|    }
11131|  25.0k|    type_param_ty _res = NULL;
11132|  25.0k|    if (_PyPegen_is_memoized(p, type_param_type, &_res)) {
  ------------------
  |  |  193|  25.0k|#define type_param_type 1104
  ------------------
  |  Branch (11132:9): [True: 4.84k, False: 20.1k]
  ------------------
11133|  4.84k|        p->level--;
11134|  4.84k|        return _res;
11135|  4.84k|    }
11136|  20.1k|    int _mark = p->mark;
11137|  20.1k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11137:9): [True: 0, False: 20.1k]
  |  Branch (11137:31): [True: 0, False: 0]
  ------------------
11138|      0|        p->error_indicator = 1;
11139|      0|        p->level--;
11140|      0|        return NULL;
11141|      0|    }
11142|  20.1k|    int _start_lineno = p->tokens[_mark]->lineno;
11143|  20.1k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  20.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 20.1k]
  |  |  ------------------
  ------------------
11144|  20.1k|    int _start_col_offset = p->tokens[_mark]->col_offset;
11145|  20.1k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  20.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 20.1k]
  |  |  ------------------
  ------------------
11146|  20.1k|    { // NAME type_param_bound? type_param_default?
11147|  20.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (11147:13): [True: 0, False: 20.1k]
  ------------------
11148|      0|            p->level--;
11149|      0|            return NULL;
11150|      0|        }
11151|  20.1k|        D(fprintf(stderr, "%*c> type_param[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME type_param_bound? type_param_default?"));
11152|  20.1k|        expr_ty a;
11153|  20.1k|        void *b;
11154|  20.1k|        void *c;
11155|  20.1k|        if (
11156|  20.1k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (11156:13): [True: 17.3k, False: 2.79k]
  ------------------
11157|  17.3k|            &&
11158|  17.3k|            (b = type_param_bound_rule(p), !p->error_indicator)  // type_param_bound?
  ------------------
  |  Branch (11158:13): [True: 17.3k, False: 6]
  ------------------
11159|  17.3k|            &&
11160|  17.3k|            (c = type_param_default_rule(p), !p->error_indicator)  // type_param_default?
  ------------------
  |  Branch (11160:13): [True: 17.3k, False: 3]
  ------------------
11161|  20.1k|        )
11162|  17.3k|        {
11163|  17.3k|            D(fprintf(stderr, "%*c+ type_param[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME type_param_bound? type_param_default?"));
11164|  17.3k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11165|  17.3k|            if (_token == NULL) {
  ------------------
  |  Branch (11165:17): [True: 0, False: 17.3k]
  ------------------
11166|      0|                p->level--;
11167|      0|                return NULL;
11168|      0|            }
11169|  17.3k|            int _end_lineno = _token->end_lineno;
11170|  17.3k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  17.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 17.3k]
  |  |  ------------------
  ------------------
11171|  17.3k|            int _end_col_offset = _token->end_col_offset;
11172|  17.3k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  17.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 17.3k]
  |  |  ------------------
  ------------------
11173|  17.3k|            _res = _PyAST_TypeVar ( a -> v . Name . id , b , c , EXTRA );
  ------------------
  |  |  281|  17.3k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11174|  17.3k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11174:18): [True: 0, False: 17.3k]
  |  Branch (11174:34): [True: 0, False: 17.3k]
  |  Branch (11174:57): [True: 0, False: 0]
  ------------------
11175|      0|                p->error_indicator = 1;
11176|      0|                p->level--;
11177|      0|                return NULL;
11178|      0|            }
11179|  17.3k|            goto done;
11180|  17.3k|        }
11181|  2.80k|        p->mark = _mark;
11182|  2.80k|        D(fprintf(stderr, "%*c%s type_param[%d-%d]: %s failed!\n", p->level, ' ',
11183|  2.80k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME type_param_bound? type_param_default?"));
11184|  2.80k|    }
11185|  2.80k|    if (p->call_invalid_rules) { // invalid_type_param
  ------------------
  |  Branch (11185:9): [True: 606, False: 2.19k]
  ------------------
11186|    606|        if (p->error_indicator) {
  ------------------
  |  Branch (11186:13): [True: 3, False: 603]
  ------------------
11187|      3|            p->level--;
11188|      3|            return NULL;
11189|      3|        }
11190|    603|        D(fprintf(stderr, "%*c> type_param[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_type_param"));
11191|    603|        void *invalid_type_param_var;
11192|    603|        if (
11193|    603|            (invalid_type_param_var = invalid_type_param_rule(p))  // invalid_type_param
  ------------------
  |  Branch (11193:13): [True: 0, False: 603]
  ------------------
11194|    603|        )
11195|      0|        {
11196|      0|            D(fprintf(stderr, "%*c+ type_param[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_type_param"));
11197|      0|            _res = invalid_type_param_var;
11198|      0|            goto done;
11199|      0|        }
11200|    603|        p->mark = _mark;
11201|    603|        D(fprintf(stderr, "%*c%s type_param[%d-%d]: %s failed!\n", p->level, ' ',
11202|    603|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_type_param"));
11203|    603|    }
11204|  2.79k|    { // '*' NAME type_param_starred_default?
11205|  2.79k|        if (p->error_indicator) {
  ------------------
  |  Branch (11205:13): [True: 13, False: 2.78k]
  ------------------
11206|     13|            p->level--;
11207|     13|            return NULL;
11208|     13|        }
11209|  2.78k|        D(fprintf(stderr, "%*c> type_param[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' NAME type_param_starred_default?"));
11210|  2.78k|        Token * _literal;
11211|  2.78k|        expr_ty a;
11212|  2.78k|        void *b;
11213|  2.78k|        if (
11214|  2.78k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (11214:13): [True: 944, False: 1.84k]
  ------------------
11215|    944|            &&
11216|    944|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (11216:13): [True: 936, False: 8]
  ------------------
11217|    936|            &&
11218|    936|            (b = type_param_starred_default_rule(p), !p->error_indicator)  // type_param_starred_default?
  ------------------
  |  Branch (11218:13): [True: 933, False: 3]
  ------------------
11219|  2.78k|        )
11220|    933|        {
11221|    933|            D(fprintf(stderr, "%*c+ type_param[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' NAME type_param_starred_default?"));
11222|    933|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11223|    933|            if (_token == NULL) {
  ------------------
  |  Branch (11223:17): [True: 0, False: 933]
  ------------------
11224|      0|                p->level--;
11225|      0|                return NULL;
11226|      0|            }
11227|    933|            int _end_lineno = _token->end_lineno;
11228|    933|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    933|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 933]
  |  |  ------------------
  ------------------
11229|    933|            int _end_col_offset = _token->end_col_offset;
11230|    933|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    933|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 933]
  |  |  ------------------
  ------------------
11231|    933|            _res = _PyAST_TypeVarTuple ( a -> v . Name . id , b , EXTRA );
  ------------------
  |  |  281|    933|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11232|    933|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11232:18): [True: 0, False: 933]
  |  Branch (11232:34): [True: 0, False: 933]
  |  Branch (11232:57): [True: 0, False: 0]
  ------------------
11233|      0|                p->error_indicator = 1;
11234|      0|                p->level--;
11235|      0|                return NULL;
11236|      0|            }
11237|    933|            goto done;
11238|    933|        }
11239|  1.85k|        p->mark = _mark;
11240|  1.85k|        D(fprintf(stderr, "%*c%s type_param[%d-%d]: %s failed!\n", p->level, ' ',
11241|  1.85k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' NAME type_param_starred_default?"));
11242|  1.85k|    }
11243|      0|    { // '**' NAME type_param_default?
11244|  1.85k|        if (p->error_indicator) {
  ------------------
  |  Branch (11244:13): [True: 5, False: 1.84k]
  ------------------
11245|      5|            p->level--;
11246|      5|            return NULL;
11247|      5|        }
11248|  1.84k|        D(fprintf(stderr, "%*c> type_param[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' NAME type_param_default?"));
11249|  1.84k|        Token * _literal;
11250|  1.84k|        expr_ty a;
11251|  1.84k|        void *b;
11252|  1.84k|        if (
11253|  1.84k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (11253:13): [True: 410, False: 1.43k]
  ------------------
11254|    410|            &&
11255|    410|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (11255:13): [True: 403, False: 7]
  ------------------
11256|    403|            &&
11257|    403|            (b = type_param_default_rule(p), !p->error_indicator)  // type_param_default?
  ------------------
  |  Branch (11257:13): [True: 401, False: 2]
  ------------------
11258|  1.84k|        )
11259|    401|        {
11260|    401|            D(fprintf(stderr, "%*c+ type_param[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' NAME type_param_default?"));
11261|    401|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11262|    401|            if (_token == NULL) {
  ------------------
  |  Branch (11262:17): [True: 0, False: 401]
  ------------------
11263|      0|                p->level--;
11264|      0|                return NULL;
11265|      0|            }
11266|    401|            int _end_lineno = _token->end_lineno;
11267|    401|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    401|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 401]
  |  |  ------------------
  ------------------
11268|    401|            int _end_col_offset = _token->end_col_offset;
11269|    401|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    401|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 401]
  |  |  ------------------
  ------------------
11270|    401|            _res = _PyAST_ParamSpec ( a -> v . Name . id , b , EXTRA );
  ------------------
  |  |  281|    401|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11271|    401|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11271:18): [True: 0, False: 401]
  |  Branch (11271:34): [True: 0, False: 401]
  |  Branch (11271:57): [True: 0, False: 0]
  ------------------
11272|      0|                p->error_indicator = 1;
11273|      0|                p->level--;
11274|      0|                return NULL;
11275|      0|            }
11276|    401|            goto done;
11277|    401|        }
11278|  1.44k|        p->mark = _mark;
11279|  1.44k|        D(fprintf(stderr, "%*c%s type_param[%d-%d]: %s failed!\n", p->level, ' ',
11280|  1.44k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' NAME type_param_default?"));
11281|  1.44k|    }
11282|  1.44k|    _res = NULL;
11283|  20.1k|  done:
11284|  20.1k|    _PyPegen_insert_memo(p, _mark, type_param_type, _res);
  ------------------
  |  |  193|  20.1k|#define type_param_type 1104
  ------------------
11285|  20.1k|    p->level--;
11286|  20.1k|    return _res;
11287|  1.44k|}
parser.c:type_param_bound_rule:
11292|  17.3k|{
11293|  17.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  34.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11293:9): [True: 0, False: 17.3k]
  |  Branch (11293:35): [True: 0, False: 17.3k]
  ------------------
11294|      0|        _Pypegen_stack_overflow(p);
11295|      0|    }
11296|  17.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (11296:9): [True: 0, False: 17.3k]
  ------------------
11297|      0|        p->level--;
11298|      0|        return NULL;
11299|      0|    }
11300|  17.3k|    expr_ty _res = NULL;
11301|  17.3k|    int _mark = p->mark;
11302|  17.3k|    { // ':' expression
11303|  17.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (11303:13): [True: 0, False: 17.3k]
  ------------------
11304|      0|            p->level--;
11305|      0|            return NULL;
11306|      0|        }
11307|  17.3k|        D(fprintf(stderr, "%*c> type_param_bound[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':' expression"));
11308|  17.3k|        Token * _literal;
11309|  17.3k|        expr_ty e;
11310|  17.3k|        if (
11311|  17.3k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (11311:13): [True: 2.71k, False: 14.6k]
  ------------------
11312|  2.71k|            &&
11313|  2.71k|            (e = expression_rule(p))  // expression
  ------------------
  |  Branch (11313:13): [True: 2.70k, False: 4]
  ------------------
11314|  17.3k|        )
11315|  2.70k|        {
11316|  2.70k|            D(fprintf(stderr, "%*c+ type_param_bound[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':' expression"));
11317|  2.70k|            _res = e;
11318|  2.70k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11318:18): [True: 0, False: 2.70k]
  |  Branch (11318:34): [True: 0, False: 2.70k]
  |  Branch (11318:57): [True: 0, False: 0]
  ------------------
11319|      0|                p->error_indicator = 1;
11320|      0|                p->level--;
11321|      0|                return NULL;
11322|      0|            }
11323|  2.70k|            goto done;
11324|  2.70k|        }
11325|  14.6k|        p->mark = _mark;
11326|  14.6k|        D(fprintf(stderr, "%*c%s type_param_bound[%d-%d]: %s failed!\n", p->level, ' ',
11327|  14.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':' expression"));
11328|  14.6k|    }
11329|  14.6k|    _res = NULL;
11330|  17.3k|  done:
11331|  17.3k|    p->level--;
11332|  17.3k|    return _res;
11333|  14.6k|}
parser.c:type_param_default_rule:
11338|  17.7k|{
11339|  17.7k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  35.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11339:9): [True: 0, False: 17.7k]
  |  Branch (11339:35): [True: 0, False: 17.7k]
  ------------------
11340|      0|        _Pypegen_stack_overflow(p);
11341|      0|    }
11342|  17.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (11342:9): [True: 0, False: 17.7k]
  ------------------
11343|      0|        p->level--;
11344|      0|        return NULL;
11345|      0|    }
11346|  17.7k|    expr_ty _res = NULL;
11347|  17.7k|    int _mark = p->mark;
11348|  17.7k|    { // '=' expression
11349|  17.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (11349:13): [True: 0, False: 17.7k]
  ------------------
11350|      0|            p->level--;
11351|      0|            return NULL;
11352|      0|        }
11353|  17.7k|        D(fprintf(stderr, "%*c> type_param_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'=' expression"));
11354|  17.7k|        Token * _literal;
11355|  17.7k|        expr_ty e;
11356|  17.7k|        if (
11357|  17.7k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (11357:13): [True: 1.80k, False: 15.9k]
  ------------------
11358|  1.80k|            &&
11359|  1.80k|            (e = expression_rule(p))  // expression
  ------------------
  |  Branch (11359:13): [True: 1.79k, False: 11]
  ------------------
11360|  17.7k|        )
11361|  1.79k|        {
11362|  1.79k|            D(fprintf(stderr, "%*c+ type_param_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'=' expression"));
11363|  1.79k|            _res = CHECK_VERSION ( expr_ty , 13 , "Type parameter defaults are" , e );
  ------------------
  |  |  319|  1.79k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
11364|  1.79k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11364:18): [True: 0, False: 1.79k]
  |  Branch (11364:34): [True: 0, False: 1.79k]
  |  Branch (11364:57): [True: 0, False: 0]
  ------------------
11365|      0|                p->error_indicator = 1;
11366|      0|                p->level--;
11367|      0|                return NULL;
11368|      0|            }
11369|  1.79k|            goto done;
11370|  1.79k|        }
11371|  16.0k|        p->mark = _mark;
11372|  16.0k|        D(fprintf(stderr, "%*c%s type_param_default[%d-%d]: %s failed!\n", p->level, ' ',
11373|  16.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'=' expression"));
11374|  16.0k|    }
11375|  16.0k|    _res = NULL;
11376|  17.7k|  done:
11377|  17.7k|    p->level--;
11378|  17.7k|    return _res;
11379|  16.0k|}
parser.c:invalid_type_param_rule:
21637|    603|{
21638|    603|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.20k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21638:9): [True: 0, False: 603]
  |  Branch (21638:35): [True: 0, False: 603]
  ------------------
21639|      0|        _Pypegen_stack_overflow(p);
21640|      0|    }
21641|    603|    if (p->error_indicator) {
  ------------------
  |  Branch (21641:9): [True: 0, False: 603]
  ------------------
21642|      0|        p->level--;
21643|      0|        return NULL;
21644|      0|    }
21645|    603|    void * _res = NULL;
21646|    603|    int _mark = p->mark;
21647|    603|    { // '*' NAME ':' expression
21648|    603|        if (p->error_indicator) {
  ------------------
  |  Branch (21648:13): [True: 0, False: 603]
  ------------------
21649|      0|            p->level--;
21650|      0|            return NULL;
21651|      0|        }
21652|    603|        D(fprintf(stderr, "%*c> invalid_type_param[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' NAME ':' expression"));
21653|    603|        Token * _literal;
21654|    603|        expr_ty a;
21655|    603|        Token * colon;
21656|    603|        expr_ty e;
21657|    603|        if (
21658|    603|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (21658:13): [True: 232, False: 371]
  ------------------
21659|    232|            &&
21660|    232|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (21660:13): [True: 228, False: 4]
  ------------------
21661|    228|            &&
21662|    228|            (colon = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (21662:13): [True: 5, False: 223]
  ------------------
21663|      5|            &&
21664|      5|            (e = expression_rule(p))  // expression
  ------------------
  |  Branch (21664:13): [True: 1, False: 4]
  ------------------
21665|    603|        )
21666|      1|        {
21667|      1|            D(fprintf(stderr, "%*c+ invalid_type_param[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' NAME ':' expression"));
21668|      1|            _res = RAISE_SYNTAX_ERROR_STARTING_FROM ( colon , e -> kind == Tuple_kind ? "cannot use constraints with TypeVarTuple" : "cannot use bound with TypeVarTuple" );
  ------------------
  |  |  215|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   27|      1|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |                   RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   27|      1|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |  |  Branch (215:110): [True: 0, False: 1]
  |  |  ------------------
  ------------------
21669|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21669:18): [True: 1, False: 0]
  |  Branch (21669:34): [True: 0, False: 0]
  |  Branch (21669:57): [True: 1, False: 0]
  ------------------
21670|      1|                p->error_indicator = 1;
21671|      1|                p->level--;
21672|      1|                return NULL;
21673|      1|            }
21674|      0|            goto done;
21675|      1|        }
21676|    602|        p->mark = _mark;
21677|    602|        D(fprintf(stderr, "%*c%s invalid_type_param[%d-%d]: %s failed!\n", p->level, ' ',
21678|    602|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' NAME ':' expression"));
21679|    602|    }
21680|      0|    { // '**' NAME ':' expression
21681|    602|        if (p->error_indicator) {
  ------------------
  |  Branch (21681:13): [True: 4, False: 598]
  ------------------
21682|      4|            p->level--;
21683|      4|            return NULL;
21684|      4|        }
21685|    598|        D(fprintf(stderr, "%*c> invalid_type_param[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' NAME ':' expression"));
21686|    598|        Token * _literal;
21687|    598|        expr_ty a;
21688|    598|        Token * colon;
21689|    598|        expr_ty e;
21690|    598|        if (
21691|    598|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (21691:13): [True: 95, False: 503]
  ------------------
21692|     95|            &&
21693|     95|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (21693:13): [True: 92, False: 3]
  ------------------
21694|     92|            &&
21695|     92|            (colon = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (21695:13): [True: 2, False: 90]
  ------------------
21696|      2|            &&
21697|      2|            (e = expression_rule(p))  // expression
  ------------------
  |  Branch (21697:13): [True: 1, False: 1]
  ------------------
21698|    598|        )
21699|      1|        {
21700|      1|            D(fprintf(stderr, "%*c+ invalid_type_param[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' NAME ':' expression"));
21701|      1|            _res = RAISE_SYNTAX_ERROR_STARTING_FROM ( colon , e -> kind == Tuple_kind ? "cannot use constraints with ParamSpec" : "cannot use bound with ParamSpec" );
  ------------------
  |  |  215|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   27|      1|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |                   RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   27|      1|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |  |  Branch (215:110): [True: 0, False: 1]
  |  |  ------------------
  ------------------
21702|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21702:18): [True: 1, False: 0]
  |  Branch (21702:34): [True: 0, False: 0]
  |  Branch (21702:57): [True: 1, False: 0]
  ------------------
21703|      1|                p->error_indicator = 1;
21704|      1|                p->level--;
21705|      1|                return NULL;
21706|      1|            }
21707|      0|            goto done;
21708|      1|        }
21709|    597|        p->mark = _mark;
21710|    597|        D(fprintf(stderr, "%*c%s invalid_type_param[%d-%d]: %s failed!\n", p->level, ' ',
21711|    597|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' NAME ':' expression"));
21712|    597|    }
21713|    597|    _res = NULL;
21714|    597|  done:
21715|    597|    p->level--;
21716|    597|    return _res;
21717|    597|}
parser.c:type_param_starred_default_rule:
11384|    936|{
11385|    936|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.87k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11385:9): [True: 0, False: 936]
  |  Branch (11385:35): [True: 0, False: 936]
  ------------------
11386|      0|        _Pypegen_stack_overflow(p);
11387|      0|    }
11388|    936|    if (p->error_indicator) {
  ------------------
  |  Branch (11388:9): [True: 0, False: 936]
  ------------------
11389|      0|        p->level--;
11390|      0|        return NULL;
11391|      0|    }
11392|    936|    expr_ty _res = NULL;
11393|    936|    int _mark = p->mark;
11394|    936|    { // '=' star_expression
11395|    936|        if (p->error_indicator) {
  ------------------
  |  Branch (11395:13): [True: 0, False: 936]
  ------------------
11396|      0|            p->level--;
11397|      0|            return NULL;
11398|      0|        }
11399|    936|        D(fprintf(stderr, "%*c> type_param_starred_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'=' star_expression"));
11400|    936|        Token * _literal;
11401|    936|        expr_ty e;
11402|    936|        if (
11403|    936|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (11403:13): [True: 271, False: 665]
  ------------------
11404|    271|            &&
11405|    271|            (e = star_expression_rule(p))  // star_expression
  ------------------
  |  Branch (11405:13): [True: 267, False: 4]
  ------------------
11406|    936|        )
11407|    267|        {
11408|    267|            D(fprintf(stderr, "%*c+ type_param_starred_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'=' star_expression"));
11409|    267|            _res = CHECK_VERSION ( expr_ty , 13 , "Type parameter defaults are" , e );
  ------------------
  |  |  319|    267|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
11410|    267|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11410:18): [True: 0, False: 267]
  |  Branch (11410:34): [True: 0, False: 267]
  |  Branch (11410:57): [True: 0, False: 0]
  ------------------
11411|      0|                p->error_indicator = 1;
11412|      0|                p->level--;
11413|      0|                return NULL;
11414|      0|            }
11415|    267|            goto done;
11416|    267|        }
11417|    669|        p->mark = _mark;
11418|    669|        D(fprintf(stderr, "%*c%s type_param_starred_default[%d-%d]: %s failed!\n", p->level, ' ',
11419|    669|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'=' star_expression"));
11420|    669|    }
11421|    669|    _res = NULL;
11422|    936|  done:
11423|    936|    p->level--;
11424|    936|    return _res;
11425|    669|}
parser.c:_loop0_53_rule:
31884|  8.82k|{
31885|  8.82k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  17.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (31885:9): [True: 0, False: 8.82k]
  |  Branch (31885:35): [True: 0, False: 8.82k]
  ------------------
31886|      0|        _Pypegen_stack_overflow(p);
31887|      0|    }
31888|  8.82k|    if (p->error_indicator) {
  ------------------
  |  Branch (31888:9): [True: 0, False: 8.82k]
  ------------------
31889|      0|        p->level--;
31890|      0|        return NULL;
31891|      0|    }
31892|  8.82k|    void *_res = NULL;
31893|  8.82k|    int _mark = p->mark;
31894|  8.82k|    void **_children = PyMem_Malloc(sizeof(void *));
31895|  8.82k|    if (!_children) {
  ------------------
  |  Branch (31895:9): [True: 0, False: 8.82k]
  ------------------
31896|      0|        p->error_indicator = 1;
31897|      0|        PyErr_NoMemory();
31898|      0|        p->level--;
31899|      0|        return NULL;
31900|      0|    }
31901|  8.82k|    Py_ssize_t _children_capacity = 1;
31902|  8.82k|    Py_ssize_t _n = 0;
31903|  8.82k|    { // ',' type_param
31904|  8.82k|        if (p->error_indicator) {
  ------------------
  |  Branch (31904:13): [True: 0, False: 8.82k]
  ------------------
31905|      0|            p->level--;
31906|      0|            return NULL;
31907|      0|        }
31908|  8.82k|        D(fprintf(stderr, "%*c> _loop0_53[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' type_param"));
31909|  8.82k|        Token * _literal;
31910|  8.82k|        type_param_ty elem;
31911|  8.82k|        while (
31912|  23.0k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (31912:13): [True: 16.1k, False: 6.82k]
  ------------------
31913|  16.1k|            &&
31914|  16.1k|            (elem = type_param_rule(p))  // type_param
  ------------------
  |  Branch (31914:13): [True: 14.1k, False: 2.00k]
  ------------------
31915|  8.82k|        )
31916|  14.1k|        {
31917|  14.1k|            _res = elem;
31918|  14.1k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (31918:18): [True: 0, False: 14.1k]
  |  Branch (31918:34): [True: 0, False: 14.1k]
  |  Branch (31918:57): [True: 0, False: 0]
  ------------------
31919|      0|                p->error_indicator = 1;
31920|      0|                PyMem_Free(_children);
31921|      0|                p->level--;
31922|      0|                return NULL;
31923|      0|            }
31924|  14.1k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (31924:17): [True: 2.56k, False: 11.6k]
  ------------------
31925|  2.56k|                _children_capacity *= 2;
31926|  2.56k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
31927|  2.56k|                if (!_new_children) {
  ------------------
  |  Branch (31927:21): [True: 0, False: 2.56k]
  ------------------
31928|      0|                    PyMem_Free(_children);
31929|      0|                    p->error_indicator = 1;
31930|      0|                    PyErr_NoMemory();
31931|      0|                    p->level--;
31932|      0|                    return NULL;
31933|      0|                }
31934|  2.56k|                _children = _new_children;
31935|  2.56k|            }
31936|  14.1k|            _children[_n++] = _res;
31937|  14.1k|            _mark = p->mark;
31938|  14.1k|        }
31939|  8.82k|        p->mark = _mark;
31940|  8.82k|        D(fprintf(stderr, "%*c%s _loop0_53[%d-%d]: %s failed!\n", p->level, ' ',
31941|  8.82k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' type_param"));
31942|  8.82k|    }
31943|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
31944|  8.82k|    if (!_seq) {
  ------------------
  |  Branch (31944:9): [True: 0, False: 8.82k]
  ------------------
31945|      0|        PyMem_Free(_children);
31946|      0|        p->error_indicator = 1;
31947|      0|        PyErr_NoMemory();
31948|      0|        p->level--;
31949|      0|        return NULL;
31950|      0|    }
31951|  23.0k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  14.1k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  23.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (31951:28): [True: 14.1k, False: 8.82k]
  ------------------
31952|  8.82k|    PyMem_Free(_children);
31953|  8.82k|    p->level--;
31954|  8.82k|    return _seq;
31955|  8.82k|}
parser.c:_tmp_5_rule:
28892|   257k|{
28893|   257k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   515k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28893:9): [True: 0, False: 257k]
  |  Branch (28893:35): [True: 0, False: 257k]
  ------------------
28894|      0|        _Pypegen_stack_overflow(p);
28895|      0|    }
28896|   257k|    if (p->error_indicator) {
  ------------------
  |  Branch (28896:9): [True: 0, False: 257k]
  ------------------
28897|      0|        p->level--;
28898|      0|        return NULL;
28899|      0|    }
28900|   257k|    void * _res = NULL;
28901|   257k|    int _mark = p->mark;
28902|   257k|    { // 'import'
28903|   257k|        if (p->error_indicator) {
  ------------------
  |  Branch (28903:13): [True: 0, False: 257k]
  ------------------
28904|      0|            p->level--;
28905|      0|            return NULL;
28906|      0|        }
28907|   257k|        D(fprintf(stderr, "%*c> _tmp_5[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'import'"));
28908|   257k|        Token * _keyword;
28909|   257k|        if (
28910|   257k|            (_keyword = _PyPegen_expect_token(p, 651))  // token='import'
  ------------------
  |  Branch (28910:13): [True: 4.83k, False: 252k]
  ------------------
28911|   257k|        )
28912|  4.83k|        {
28913|  4.83k|            D(fprintf(stderr, "%*c+ _tmp_5[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'import'"));
28914|  4.83k|            _res = _keyword;
28915|  4.83k|            goto done;
28916|  4.83k|        }
28917|   252k|        p->mark = _mark;
28918|   252k|        D(fprintf(stderr, "%*c%s _tmp_5[%d-%d]: %s failed!\n", p->level, ' ',
28919|   252k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'import'"));
28920|   252k|    }
28921|      0|    { // 'from'
28922|   252k|        if (p->error_indicator) {
  ------------------
  |  Branch (28922:13): [True: 0, False: 252k]
  ------------------
28923|      0|            p->level--;
28924|      0|            return NULL;
28925|      0|        }
28926|   252k|        D(fprintf(stderr, "%*c> _tmp_5[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'from'"));
28927|   252k|        Token * _keyword;
28928|   252k|        if (
28929|   252k|            (_keyword = _PyPegen_expect_token(p, 650))  // token='from'
  ------------------
  |  Branch (28929:13): [True: 5.58k, False: 247k]
  ------------------
28930|   252k|        )
28931|  5.58k|        {
28932|  5.58k|            D(fprintf(stderr, "%*c+ _tmp_5[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'from'"));
28933|  5.58k|            _res = _keyword;
28934|  5.58k|            goto done;
28935|  5.58k|        }
28936|   247k|        p->mark = _mark;
28937|   247k|        D(fprintf(stderr, "%*c%s _tmp_5[%d-%d]: %s failed!\n", p->level, ' ',
28938|   247k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'from'"));
28939|   247k|    }
28940|      0|    { // "lazy"
28941|   247k|        if (p->error_indicator) {
  ------------------
  |  Branch (28941:13): [True: 0, False: 247k]
  ------------------
28942|      0|            p->level--;
28943|      0|            return NULL;
28944|      0|        }
28945|   247k|        D(fprintf(stderr, "%*c> _tmp_5[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"lazy\""));
28946|   247k|        expr_ty _keyword;
28947|   247k|        if (
28948|   247k|            (_keyword = _PyPegen_expect_soft_keyword(p, "lazy"))  // soft_keyword='"lazy"'
  ------------------
  |  Branch (28948:13): [True: 76, False: 247k]
  ------------------
28949|   247k|        )
28950|     76|        {
28951|     76|            D(fprintf(stderr, "%*c+ _tmp_5[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"lazy\""));
28952|     76|            _res = _keyword;
28953|     76|            goto done;
28954|     76|        }
28955|   247k|        p->mark = _mark;
28956|   247k|        D(fprintf(stderr, "%*c%s _tmp_5[%d-%d]: %s failed!\n", p->level, ' ',
28957|   247k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"lazy\""));
28958|   247k|    }
28959|   247k|    _res = NULL;
28960|   257k|  done:
28961|   257k|    p->level--;
28962|   257k|    return _res;
28963|   247k|}
parser.c:import_stmt_rule:
 3512|  10.4k|{
 3513|  10.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  20.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3513:9): [True: 0, False: 10.4k]
  |  Branch (3513:35): [True: 0, False: 10.4k]
  ------------------
 3514|      0|        _Pypegen_stack_overflow(p);
 3515|      0|    }
 3516|  10.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (3516:9): [True: 0, False: 10.4k]
  ------------------
 3517|      0|        p->level--;
 3518|      0|        return NULL;
 3519|      0|    }
 3520|  10.4k|    stmt_ty _res = NULL;
 3521|  10.4k|    if (_PyPegen_is_memoized(p, import_stmt_type, &_res)) {
  ------------------
  |  |  113|  10.4k|#define import_stmt_type 1024
  ------------------
  |  Branch (3521:9): [True: 0, False: 10.4k]
  ------------------
 3522|      0|        p->level--;
 3523|      0|        return _res;
 3524|      0|    }
 3525|  10.4k|    int _mark = p->mark;
 3526|  10.4k|    if (p->call_invalid_rules) { // invalid_import
  ------------------
  |  Branch (3526:9): [True: 2.48k, False: 8.01k]
  ------------------
 3527|  2.48k|        if (p->error_indicator) {
  ------------------
  |  Branch (3527:13): [True: 0, False: 2.48k]
  ------------------
 3528|      0|            p->level--;
 3529|      0|            return NULL;
 3530|      0|        }
 3531|  2.48k|        D(fprintf(stderr, "%*c> import_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_import"));
 3532|  2.48k|        void *invalid_import_var;
 3533|  2.48k|        if (
 3534|  2.48k|            (invalid_import_var = invalid_import_rule(p))  // invalid_import
  ------------------
  |  Branch (3534:13): [True: 0, False: 2.48k]
  ------------------
 3535|  2.48k|        )
 3536|      0|        {
 3537|      0|            D(fprintf(stderr, "%*c+ import_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_import"));
 3538|      0|            _res = invalid_import_var;
 3539|      0|            goto done;
 3540|      0|        }
 3541|  2.48k|        p->mark = _mark;
 3542|  2.48k|        D(fprintf(stderr, "%*c%s import_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3543|  2.48k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_import"));
 3544|  2.48k|    }
 3545|  10.4k|    { // import_name
 3546|  10.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (3546:13): [True: 6, False: 10.4k]
  ------------------
 3547|      6|            p->level--;
 3548|      6|            return NULL;
 3549|      6|        }
 3550|  10.4k|        D(fprintf(stderr, "%*c> import_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "import_name"));
 3551|  10.4k|        stmt_ty import_name_var;
 3552|  10.4k|        if (
 3553|  10.4k|            (import_name_var = import_name_rule(p))  // import_name
  ------------------
  |  Branch (3553:13): [True: 4.80k, False: 5.67k]
  ------------------
 3554|  10.4k|        )
 3555|  4.80k|        {
 3556|  4.80k|            D(fprintf(stderr, "%*c+ import_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "import_name"));
 3557|  4.80k|            _res = import_name_var;
 3558|  4.80k|            goto done;
 3559|  4.80k|        }
 3560|  5.67k|        p->mark = _mark;
 3561|  5.67k|        D(fprintf(stderr, "%*c%s import_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3562|  5.67k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "import_name"));
 3563|  5.67k|    }
 3564|      0|    { // import_from
 3565|  5.67k|        if (p->error_indicator) {
  ------------------
  |  Branch (3565:13): [True: 12, False: 5.66k]
  ------------------
 3566|     12|            p->level--;
 3567|     12|            return NULL;
 3568|     12|        }
 3569|  5.66k|        D(fprintf(stderr, "%*c> import_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "import_from"));
 3570|  5.66k|        stmt_ty import_from_var;
 3571|  5.66k|        if (
 3572|  5.66k|            (import_from_var = import_from_rule(p))  // import_from
  ------------------
  |  Branch (3572:13): [True: 5.44k, False: 227]
  ------------------
 3573|  5.66k|        )
 3574|  5.44k|        {
 3575|  5.44k|            D(fprintf(stderr, "%*c+ import_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "import_from"));
 3576|  5.44k|            _res = import_from_var;
 3577|  5.44k|            goto done;
 3578|  5.44k|        }
 3579|    227|        p->mark = _mark;
 3580|    227|        D(fprintf(stderr, "%*c%s import_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3581|    227|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "import_from"));
 3582|    227|    }
 3583|    227|    _res = NULL;
 3584|  10.4k|  done:
 3585|  10.4k|    _PyPegen_insert_memo(p, _mark, import_stmt_type, _res);
  ------------------
  |  |  113|  10.4k|#define import_stmt_type 1024
  ------------------
 3586|  10.4k|    p->level--;
 3587|  10.4k|    return _res;
 3588|    227|}
parser.c:invalid_import_rule:
24383|  2.48k|{
24384|  2.48k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.96k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24384:9): [True: 0, False: 2.48k]
  |  Branch (24384:35): [True: 0, False: 2.48k]
  ------------------
24385|      0|        _Pypegen_stack_overflow(p);
24386|      0|    }
24387|  2.48k|    if (p->error_indicator) {
  ------------------
  |  Branch (24387:9): [True: 0, False: 2.48k]
  ------------------
24388|      0|        p->level--;
24389|      0|        return NULL;
24390|      0|    }
24391|  2.48k|    void * _res = NULL;
24392|  2.48k|    int _mark = p->mark;
24393|  2.48k|    { // 'import' ','.dotted_name+ 'from' dotted_name
24394|  2.48k|        if (p->error_indicator) {
  ------------------
  |  Branch (24394:13): [True: 0, False: 2.48k]
  ------------------
24395|      0|            p->level--;
24396|      0|            return NULL;
24397|      0|        }
24398|  2.48k|        D(fprintf(stderr, "%*c> invalid_import[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'import' ','.dotted_name+ 'from' dotted_name"));
24399|  2.48k|        asdl_seq * _gather_138_var;
24400|  2.48k|        Token * _keyword;
24401|  2.48k|        Token * a;
24402|  2.48k|        expr_ty dotted_name_var;
24403|  2.48k|        if (
24404|  2.48k|            (a = _PyPegen_expect_token(p, 651))  // token='import'
  ------------------
  |  Branch (24404:13): [True: 982, False: 1.50k]
  ------------------
24405|    982|            &&
24406|    982|            (_gather_138_var = _gather_138_rule(p))  // ','.dotted_name+
  ------------------
  |  Branch (24406:13): [True: 975, False: 7]
  ------------------
24407|    975|            &&
24408|    975|            (_keyword = _PyPegen_expect_token(p, 650))  // token='from'
  ------------------
  |  Branch (24408:13): [True: 3, False: 972]
  ------------------
24409|      3|            &&
24410|      3|            (dotted_name_var = dotted_name_rule(p))  // dotted_name
  ------------------
  |  Branch (24410:13): [True: 2, False: 1]
  ------------------
24411|  2.48k|        )
24412|      2|        {
24413|      2|            D(fprintf(stderr, "%*c+ invalid_import[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'import' ','.dotted_name+ 'from' dotted_name"));
24414|      2|            _res = RAISE_SYNTAX_ERROR_STARTING_FROM ( a , "Did you mean to use 'from ... import ...' instead?" );
  ------------------
  |  |  215|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   27|      2|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |                   RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   27|      2|#define CURRENT_POS (-5)
  |  |  ------------------
  ------------------
24415|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24415:18): [True: 2, False: 0]
  |  Branch (24415:34): [True: 0, False: 0]
  |  Branch (24415:57): [True: 2, False: 0]
  ------------------
24416|      2|                p->error_indicator = 1;
24417|      2|                p->level--;
24418|      2|                return NULL;
24419|      2|            }
24420|      0|            goto done;
24421|      2|        }
24422|  2.48k|        p->mark = _mark;
24423|  2.48k|        D(fprintf(stderr, "%*c%s invalid_import[%d-%d]: %s failed!\n", p->level, ' ',
24424|  2.48k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'import' ','.dotted_name+ 'from' dotted_name"));
24425|  2.48k|    }
24426|      0|    { // 'import' NEWLINE
24427|  2.48k|        if (p->error_indicator) {
  ------------------
  |  Branch (24427:13): [True: 1, False: 2.47k]
  ------------------
24428|      1|            p->level--;
24429|      1|            return NULL;
24430|      1|        }
24431|  2.47k|        D(fprintf(stderr, "%*c> invalid_import[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'import' NEWLINE"));
24432|  2.47k|        Token * _keyword;
24433|  2.47k|        Token * token;
24434|  2.47k|        if (
24435|  2.47k|            (_keyword = _PyPegen_expect_token(p, 651))  // token='import'
  ------------------
  |  Branch (24435:13): [True: 979, False: 1.50k]
  ------------------
24436|    979|            &&
24437|    979|            (token = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    979|#define NEWLINE         4
  ------------------
  |  Branch (24437:13): [True: 3, False: 976]
  ------------------
24438|  2.47k|        )
24439|      3|        {
24440|      3|            D(fprintf(stderr, "%*c+ invalid_import[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'import' NEWLINE"));
24441|      3|            _res = RAISE_SYNTAX_ERROR_STARTING_FROM ( token , "Expected one or more names after 'import'" );
  ------------------
  |  |  215|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   27|      3|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |                   RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   27|      3|#define CURRENT_POS (-5)
  |  |  ------------------
  ------------------
24442|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24442:18): [True: 3, False: 0]
  |  Branch (24442:34): [True: 0, False: 0]
  |  Branch (24442:57): [True: 3, False: 0]
  ------------------
24443|      3|                p->error_indicator = 1;
24444|      3|                p->level--;
24445|      3|                return NULL;
24446|      3|            }
24447|      0|            goto done;
24448|      3|        }
24449|  2.47k|        p->mark = _mark;
24450|  2.47k|        D(fprintf(stderr, "%*c%s invalid_import[%d-%d]: %s failed!\n", p->level, ' ',
24451|  2.47k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'import' NEWLINE"));
24452|  2.47k|    }
24453|  2.47k|    _res = NULL;
24454|  2.47k|  done:
24455|  2.47k|    p->level--;
24456|  2.47k|    return _res;
24457|  2.47k|}
parser.c:_gather_138_rule:
37197|    982|{
37198|    982|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.96k|#  define MAXSTACK 6000
  ------------------
  |  Branch (37198:9): [True: 0, False: 982]
  |  Branch (37198:35): [True: 0, False: 982]
  ------------------
37199|      0|        _Pypegen_stack_overflow(p);
37200|      0|    }
37201|    982|    if (p->error_indicator) {
  ------------------
  |  Branch (37201:9): [True: 0, False: 982]
  ------------------
37202|      0|        p->level--;
37203|      0|        return NULL;
37204|      0|    }
37205|    982|    asdl_seq * _res = NULL;
37206|    982|    int _mark = p->mark;
37207|    982|    { // dotted_name _loop0_137
37208|    982|        if (p->error_indicator) {
  ------------------
  |  Branch (37208:13): [True: 0, False: 982]
  ------------------
37209|      0|            p->level--;
37210|      0|            return NULL;
37211|      0|        }
37212|    982|        D(fprintf(stderr, "%*c> _gather_138[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dotted_name _loop0_137"));
37213|    982|        expr_ty elem;
37214|    982|        asdl_seq * seq;
37215|    982|        if (
37216|    982|            (elem = dotted_name_rule(p))  // dotted_name
  ------------------
  |  Branch (37216:13): [True: 975, False: 7]
  ------------------
37217|    975|            &&
37218|    975|            (seq = _loop0_137_rule(p))  // _loop0_137
  ------------------
  |  Branch (37218:13): [True: 975, False: 0]
  ------------------
37219|    982|        )
37220|    975|        {
37221|    975|            D(fprintf(stderr, "%*c+ _gather_138[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dotted_name _loop0_137"));
37222|    975|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
37223|    975|            goto done;
37224|    975|        }
37225|      7|        p->mark = _mark;
37226|      7|        D(fprintf(stderr, "%*c%s _gather_138[%d-%d]: %s failed!\n", p->level, ' ',
37227|      7|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dotted_name _loop0_137"));
37228|      7|    }
37229|      7|    _res = NULL;
37230|    982|  done:
37231|    982|    p->level--;
37232|    982|    return _res;
37233|      7|}
parser.c:_loop0_137_rule:
37121|    975|{
37122|    975|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.95k|#  define MAXSTACK 6000
  ------------------
  |  Branch (37122:9): [True: 0, False: 975]
  |  Branch (37122:35): [True: 0, False: 975]
  ------------------
37123|      0|        _Pypegen_stack_overflow(p);
37124|      0|    }
37125|    975|    if (p->error_indicator) {
  ------------------
  |  Branch (37125:9): [True: 0, False: 975]
  ------------------
37126|      0|        p->level--;
37127|      0|        return NULL;
37128|      0|    }
37129|    975|    void *_res = NULL;
37130|    975|    int _mark = p->mark;
37131|    975|    void **_children = PyMem_Malloc(sizeof(void *));
37132|    975|    if (!_children) {
  ------------------
  |  Branch (37132:9): [True: 0, False: 975]
  ------------------
37133|      0|        p->error_indicator = 1;
37134|      0|        PyErr_NoMemory();
37135|      0|        p->level--;
37136|      0|        return NULL;
37137|      0|    }
37138|    975|    Py_ssize_t _children_capacity = 1;
37139|    975|    Py_ssize_t _n = 0;
37140|    975|    { // ',' dotted_name
37141|    975|        if (p->error_indicator) {
  ------------------
  |  Branch (37141:13): [True: 0, False: 975]
  ------------------
37142|      0|            p->level--;
37143|      0|            return NULL;
37144|      0|        }
37145|    975|        D(fprintf(stderr, "%*c> _loop0_137[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' dotted_name"));
37146|    975|        Token * _literal;
37147|    975|        expr_ty elem;
37148|    975|        while (
37149|  3.39k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (37149:13): [True: 2.43k, False: 965]
  ------------------
37150|  2.43k|            &&
37151|  2.43k|            (elem = dotted_name_rule(p))  // dotted_name
  ------------------
  |  Branch (37151:13): [True: 2.42k, False: 10]
  ------------------
37152|    975|        )
37153|  2.42k|        {
37154|  2.42k|            _res = elem;
37155|  2.42k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (37155:18): [True: 0, False: 2.42k]
  |  Branch (37155:34): [True: 0, False: 2.42k]
  |  Branch (37155:57): [True: 0, False: 0]
  ------------------
37156|      0|                p->error_indicator = 1;
37157|      0|                PyMem_Free(_children);
37158|      0|                p->level--;
37159|      0|                return NULL;
37160|      0|            }
37161|  2.42k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (37161:17): [True: 1.29k, False: 1.12k]
  ------------------
37162|  1.29k|                _children_capacity *= 2;
37163|  1.29k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
37164|  1.29k|                if (!_new_children) {
  ------------------
  |  Branch (37164:21): [True: 0, False: 1.29k]
  ------------------
37165|      0|                    PyMem_Free(_children);
37166|      0|                    p->error_indicator = 1;
37167|      0|                    PyErr_NoMemory();
37168|      0|                    p->level--;
37169|      0|                    return NULL;
37170|      0|                }
37171|  1.29k|                _children = _new_children;
37172|  1.29k|            }
37173|  2.42k|            _children[_n++] = _res;
37174|  2.42k|            _mark = p->mark;
37175|  2.42k|        }
37176|    975|        p->mark = _mark;
37177|    975|        D(fprintf(stderr, "%*c%s _loop0_137[%d-%d]: %s failed!\n", p->level, ' ',
37178|    975|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' dotted_name"));
37179|    975|    }
37180|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
37181|    975|    if (!_seq) {
  ------------------
  |  Branch (37181:9): [True: 0, False: 975]
  ------------------
37182|      0|        PyMem_Free(_children);
37183|      0|        p->error_indicator = 1;
37184|      0|        PyErr_NoMemory();
37185|      0|        p->level--;
37186|      0|        return NULL;
37187|      0|    }
37188|  3.39k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  2.42k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  3.39k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (37188:28): [True: 2.42k, False: 975]
  ------------------
37189|    975|    PyMem_Free(_children);
37190|    975|    p->level--;
37191|    975|    return _seq;
37192|    975|}
parser.c:dotted_name_rule:
 4196|  82.8k|{
 4197|  82.8k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   165k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4197:9): [True: 0, False: 82.8k]
  |  Branch (4197:35): [True: 0, False: 82.8k]
  ------------------
 4198|      0|        _Pypegen_stack_overflow(p);
 4199|      0|    }
 4200|  82.8k|    expr_ty _res = NULL;
 4201|  82.8k|    if (_PyPegen_is_memoized(p, dotted_name_type, &_res)) {
  ------------------
  |  |  121|  82.8k|#define dotted_name_type 1032  // Left-recursive
  ------------------
  |  Branch (4201:9): [True: 60.7k, False: 22.1k]
  ------------------
 4202|  60.7k|        p->level--;
 4203|  60.7k|        return _res;
 4204|  60.7k|    }
 4205|  22.1k|    int _mark = p->mark;
 4206|  22.1k|    int _resmark = p->mark;
 4207|  52.4k|    while (1) {
  ------------------
  |  Branch (4207:12): [True: 52.4k, Folded]
  ------------------
 4208|  52.4k|        int tmpvar_0 = _PyPegen_update_memo(p, _mark, dotted_name_type, _res);
  ------------------
  |  |  121|  52.4k|#define dotted_name_type 1032  // Left-recursive
  ------------------
 4209|  52.4k|        if (tmpvar_0) {
  ------------------
  |  Branch (4209:13): [True: 0, False: 52.4k]
  ------------------
 4210|      0|            p->level--;
 4211|      0|            return _res;
 4212|      0|        }
 4213|  52.4k|        p->mark = _mark;
 4214|  52.4k|        void *_raw = dotted_name_raw(p);
 4215|  52.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (4215:13): [True: 12, False: 52.4k]
  ------------------
 4216|     12|            p->level--;
 4217|     12|            return NULL;
 4218|     12|        }
 4219|  52.4k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (4219:13): [True: 1.22k, False: 51.1k]
  |  Branch (4219:29): [True: 20.8k, False: 30.3k]
  ------------------
 4220|  22.1k|            break;
 4221|  30.3k|        _resmark = p->mark;
 4222|  30.3k|        _res = _raw;
 4223|  30.3k|    }
 4224|  22.1k|    p->mark = _resmark;
 4225|  22.1k|    p->level--;
 4226|  22.1k|    return _res;
 4227|  22.1k|}
parser.c:dotted_name_raw:
 4230|  52.4k|{
 4231|  52.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   104k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4231:9): [True: 0, False: 52.4k]
  |  Branch (4231:35): [True: 0, False: 52.4k]
  ------------------
 4232|      0|        _Pypegen_stack_overflow(p);
 4233|      0|    }
 4234|  52.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (4234:9): [True: 6, False: 52.4k]
  ------------------
 4235|      6|        p->level--;
 4236|      6|        return NULL;
 4237|      6|    }
 4238|  52.4k|    expr_ty _res = NULL;
 4239|  52.4k|    int _mark = p->mark;
 4240|  52.4k|    { // dotted_name '.' NAME
 4241|  52.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (4241:13): [True: 0, False: 52.4k]
  ------------------
 4242|      0|            p->level--;
 4243|      0|            return NULL;
 4244|      0|        }
 4245|  52.4k|        D(fprintf(stderr, "%*c> dotted_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dotted_name '.' NAME"));
 4246|  52.4k|        Token * _literal;
 4247|  52.4k|        expr_ty a;
 4248|  52.4k|        expr_ty b;
 4249|  52.4k|        if (
 4250|  52.4k|            (a = dotted_name_rule(p))  // dotted_name
  ------------------
  |  Branch (4250:13): [True: 30.3k, False: 22.1k]
  ------------------
 4251|  30.3k|            &&
 4252|  30.3k|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (4252:13): [True: 9.41k, False: 20.8k]
  ------------------
 4253|  9.41k|            &&
 4254|  9.41k|            (b = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4254:13): [True: 9.40k, False: 7]
  ------------------
 4255|  52.4k|        )
 4256|  9.40k|        {
 4257|  9.40k|            D(fprintf(stderr, "%*c+ dotted_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dotted_name '.' NAME"));
 4258|  9.40k|            _res = _PyPegen_join_names_with_dot ( p , a , b );
 4259|  9.40k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4259:18): [True: 0, False: 9.40k]
  |  Branch (4259:34): [True: 0, False: 9.40k]
  |  Branch (4259:57): [True: 0, False: 0]
  ------------------
 4260|      0|                p->error_indicator = 1;
 4261|      0|                p->level--;
 4262|      0|                return NULL;
 4263|      0|            }
 4264|  9.40k|            goto done;
 4265|  9.40k|        }
 4266|  43.0k|        p->mark = _mark;
 4267|  43.0k|        D(fprintf(stderr, "%*c%s dotted_name[%d-%d]: %s failed!\n", p->level, ' ',
 4268|  43.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dotted_name '.' NAME"));
 4269|  43.0k|    }
 4270|      0|    { // NAME
 4271|  43.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (4271:13): [True: 6, False: 43.0k]
  ------------------
 4272|      6|            p->level--;
 4273|      6|            return NULL;
 4274|      6|        }
 4275|  43.0k|        D(fprintf(stderr, "%*c> dotted_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
 4276|  43.0k|        expr_ty name_var;
 4277|  43.0k|        if (
 4278|  43.0k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4278:13): [True: 41.7k, False: 1.22k]
  ------------------
 4279|  43.0k|        )
 4280|  41.7k|        {
 4281|  41.7k|            D(fprintf(stderr, "%*c+ dotted_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
 4282|  41.7k|            _res = name_var;
 4283|  41.7k|            goto done;
 4284|  41.7k|        }
 4285|  1.22k|        p->mark = _mark;
 4286|  1.22k|        D(fprintf(stderr, "%*c%s dotted_name[%d-%d]: %s failed!\n", p->level, ' ',
 4287|  1.22k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
 4288|  1.22k|    }
 4289|  1.22k|    _res = NULL;
 4290|  52.4k|  done:
 4291|  52.4k|    p->level--;
 4292|  52.4k|    return _res;
 4293|  1.22k|}
parser.c:import_name_rule:
 3593|  10.4k|{
 3594|  10.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  20.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3594:9): [True: 0, False: 10.4k]
  |  Branch (3594:35): [True: 0, False: 10.4k]
  ------------------
 3595|      0|        _Pypegen_stack_overflow(p);
 3596|      0|    }
 3597|  10.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (3597:9): [True: 0, False: 10.4k]
  ------------------
 3598|      0|        p->level--;
 3599|      0|        return NULL;
 3600|      0|    }
 3601|  10.4k|    stmt_ty _res = NULL;
 3602|  10.4k|    int _mark = p->mark;
 3603|  10.4k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3603:9): [True: 0, False: 10.4k]
  |  Branch (3603:31): [True: 0, False: 0]
  ------------------
 3604|      0|        p->error_indicator = 1;
 3605|      0|        p->level--;
 3606|      0|        return NULL;
 3607|      0|    }
 3608|  10.4k|    int _start_lineno = p->tokens[_mark]->lineno;
 3609|  10.4k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  10.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 10.4k]
  |  |  ------------------
  ------------------
 3610|  10.4k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3611|  10.4k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  10.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 10.4k]
  |  |  ------------------
  ------------------
 3612|  10.4k|    { // "lazy"? 'import' dotted_as_names
 3613|  10.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (3613:13): [True: 0, False: 10.4k]
  ------------------
 3614|      0|            p->level--;
 3615|      0|            return NULL;
 3616|      0|        }
 3617|  10.4k|        D(fprintf(stderr, "%*c> import_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"lazy\"? 'import' dotted_as_names"));
 3618|  10.4k|        Token * _keyword;
 3619|  10.4k|        asdl_alias_seq* a;
 3620|  10.4k|        void *lazy;
 3621|  10.4k|        if (
 3622|  10.4k|            (lazy = _PyPegen_expect_soft_keyword(p, "lazy"), !p->error_indicator)  // "lazy"?
  ------------------
  |  Branch (3622:13): [True: 10.4k, False: 0]
  ------------------
 3623|  10.4k|            &&
 3624|  10.4k|            (_keyword = _PyPegen_expect_token(p, 651))  // token='import'
  ------------------
  |  Branch (3624:13): [True: 4.83k, False: 5.65k]
  ------------------
 3625|  4.83k|            &&
 3626|  4.83k|            (a = dotted_as_names_rule(p))  // dotted_as_names
  ------------------
  |  Branch (3626:13): [True: 4.80k, False: 24]
  ------------------
 3627|  10.4k|        )
 3628|  4.80k|        {
 3629|  4.80k|            D(fprintf(stderr, "%*c+ import_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"lazy\"? 'import' dotted_as_names"));
 3630|  4.80k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3631|  4.80k|            if (_token == NULL) {
  ------------------
  |  Branch (3631:17): [True: 0, False: 4.80k]
  ------------------
 3632|      0|                p->level--;
 3633|      0|                return NULL;
 3634|      0|            }
 3635|  4.80k|            int _end_lineno = _token->end_lineno;
 3636|  4.80k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.80k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.80k]
  |  |  ------------------
  ------------------
 3637|  4.80k|            int _end_col_offset = _token->end_col_offset;
 3638|  4.80k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.80k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.80k]
  |  |  ------------------
  ------------------
 3639|  4.80k|            _res = _PyAST_Import ( a , lazy ? 1 : 0 , EXTRA );
  ------------------
  |  |  281|  4.80k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (3639:40): [True: 6, False: 4.80k]
  ------------------
 3640|  4.80k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3640:18): [True: 0, False: 4.80k]
  |  Branch (3640:34): [True: 0, False: 4.80k]
  |  Branch (3640:57): [True: 0, False: 0]
  ------------------
 3641|      0|                p->error_indicator = 1;
 3642|      0|                p->level--;
 3643|      0|                return NULL;
 3644|      0|            }
 3645|  4.80k|            goto done;
 3646|  4.80k|        }
 3647|  5.67k|        p->mark = _mark;
 3648|  5.67k|        D(fprintf(stderr, "%*c%s import_name[%d-%d]: %s failed!\n", p->level, ' ',
 3649|  5.67k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"lazy\"? 'import' dotted_as_names"));
 3650|  5.67k|    }
 3651|  5.67k|    _res = NULL;
 3652|  10.4k|  done:
 3653|  10.4k|    p->level--;
 3654|  10.4k|    return _res;
 3655|  5.67k|}
parser.c:dotted_as_names_rule:
 4068|  4.83k|{
 4069|  4.83k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  9.66k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4069:9): [True: 0, False: 4.83k]
  |  Branch (4069:35): [True: 0, False: 4.83k]
  ------------------
 4070|      0|        _Pypegen_stack_overflow(p);
 4071|      0|    }
 4072|  4.83k|    if (p->error_indicator) {
  ------------------
  |  Branch (4072:9): [True: 0, False: 4.83k]
  ------------------
 4073|      0|        p->level--;
 4074|      0|        return NULL;
 4075|      0|    }
 4076|  4.83k|    asdl_alias_seq* _res = NULL;
 4077|  4.83k|    int _mark = p->mark;
 4078|  4.83k|    { // ','.dotted_as_name+
 4079|  4.83k|        if (p->error_indicator) {
  ------------------
  |  Branch (4079:13): [True: 0, False: 4.83k]
  ------------------
 4080|      0|            p->level--;
 4081|      0|            return NULL;
 4082|      0|        }
 4083|  4.83k|        D(fprintf(stderr, "%*c> dotted_as_names[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.dotted_as_name+"));
 4084|  4.83k|        asdl_alias_seq* a;
 4085|  4.83k|        if (
 4086|  4.83k|            (a = (asdl_alias_seq*)_gather_23_rule(p))  // ','.dotted_as_name+
  ------------------
  |  Branch (4086:13): [True: 4.81k, False: 19]
  ------------------
 4087|  4.83k|        )
 4088|  4.81k|        {
 4089|  4.81k|            D(fprintf(stderr, "%*c+ dotted_as_names[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.dotted_as_name+"));
 4090|  4.81k|            _res = a;
 4091|  4.81k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4091:18): [True: 0, False: 4.81k]
  |  Branch (4091:34): [True: 5, False: 4.80k]
  |  Branch (4091:57): [True: 5, False: 0]
  ------------------
 4092|      5|                p->error_indicator = 1;
 4093|      5|                p->level--;
 4094|      5|                return NULL;
 4095|      5|            }
 4096|  4.80k|            goto done;
 4097|  4.81k|        }
 4098|     19|        p->mark = _mark;
 4099|     19|        D(fprintf(stderr, "%*c%s dotted_as_names[%d-%d]: %s failed!\n", p->level, ' ',
 4100|     19|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.dotted_as_name+"));
 4101|     19|    }
 4102|     19|    _res = NULL;
 4103|  4.82k|  done:
 4104|  4.82k|    p->level--;
 4105|  4.82k|    return _res;
 4106|     19|}
parser.c:_gather_23_rule:
29999|  4.83k|{
30000|  4.83k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  9.66k|#  define MAXSTACK 6000
  ------------------
  |  Branch (30000:9): [True: 0, False: 4.83k]
  |  Branch (30000:35): [True: 0, False: 4.83k]
  ------------------
30001|      0|        _Pypegen_stack_overflow(p);
30002|      0|    }
30003|  4.83k|    if (p->error_indicator) {
  ------------------
  |  Branch (30003:9): [True: 0, False: 4.83k]
  ------------------
30004|      0|        p->level--;
30005|      0|        return NULL;
30006|      0|    }
30007|  4.83k|    asdl_seq * _res = NULL;
30008|  4.83k|    int _mark = p->mark;
30009|  4.83k|    { // dotted_as_name _loop0_22
30010|  4.83k|        if (p->error_indicator) {
  ------------------
  |  Branch (30010:13): [True: 0, False: 4.83k]
  ------------------
30011|      0|            p->level--;
30012|      0|            return NULL;
30013|      0|        }
30014|  4.83k|        D(fprintf(stderr, "%*c> _gather_23[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dotted_as_name _loop0_22"));
30015|  4.83k|        alias_ty elem;
30016|  4.83k|        asdl_seq * seq;
30017|  4.83k|        if (
30018|  4.83k|            (elem = dotted_as_name_rule(p))  // dotted_as_name
  ------------------
  |  Branch (30018:13): [True: 4.81k, False: 19]
  ------------------
30019|  4.81k|            &&
30020|  4.81k|            (seq = _loop0_22_rule(p))  // _loop0_22
  ------------------
  |  Branch (30020:13): [True: 4.81k, False: 0]
  ------------------
30021|  4.83k|        )
30022|  4.81k|        {
30023|  4.81k|            D(fprintf(stderr, "%*c+ _gather_23[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dotted_as_name _loop0_22"));
30024|  4.81k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
30025|  4.81k|            goto done;
30026|  4.81k|        }
30027|     19|        p->mark = _mark;
30028|     19|        D(fprintf(stderr, "%*c%s _gather_23[%d-%d]: %s failed!\n", p->level, ' ',
30029|     19|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dotted_as_name _loop0_22"));
30030|     19|    }
30031|     19|    _res = NULL;
30032|  4.83k|  done:
30033|  4.83k|    p->level--;
30034|  4.83k|    return _res;
30035|     19|}
parser.c:dotted_as_name_rule:
 4111|  16.5k|{
 4112|  16.5k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  33.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4112:9): [True: 0, False: 16.5k]
  |  Branch (4112:35): [True: 0, False: 16.5k]
  ------------------
 4113|      0|        _Pypegen_stack_overflow(p);
 4114|      0|    }
 4115|  16.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (4115:9): [True: 0, False: 16.5k]
  ------------------
 4116|      0|        p->level--;
 4117|      0|        return NULL;
 4118|      0|    }
 4119|  16.5k|    alias_ty _res = NULL;
 4120|  16.5k|    int _mark = p->mark;
 4121|  16.5k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (4121:9): [True: 13.0k, False: 3.45k]
  |  Branch (4121:31): [True: 4, False: 13.0k]
  ------------------
 4122|      4|        p->error_indicator = 1;
 4123|      4|        p->level--;
 4124|      4|        return NULL;
 4125|      4|    }
 4126|  16.5k|    int _start_lineno = p->tokens[_mark]->lineno;
 4127|  16.5k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  16.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 16.5k]
  |  |  ------------------
  ------------------
 4128|  16.5k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 4129|  16.5k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  16.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 16.5k]
  |  |  ------------------
  ------------------
 4130|  16.5k|    if (p->call_invalid_rules) { // invalid_dotted_as_name
  ------------------
  |  Branch (4130:9): [True: 3.45k, False: 13.0k]
  ------------------
 4131|  3.45k|        if (p->error_indicator) {
  ------------------
  |  Branch (4131:13): [True: 0, False: 3.45k]
  ------------------
 4132|      0|            p->level--;
 4133|      0|            return NULL;
 4134|      0|        }
 4135|  3.45k|        D(fprintf(stderr, "%*c> dotted_as_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_dotted_as_name"));
 4136|  3.45k|        void *invalid_dotted_as_name_var;
 4137|  3.45k|        if (
 4138|  3.45k|            (invalid_dotted_as_name_var = invalid_dotted_as_name_rule(p))  // invalid_dotted_as_name
  ------------------
  |  Branch (4138:13): [True: 0, False: 3.45k]
  ------------------
 4139|  3.45k|        )
 4140|      0|        {
 4141|      0|            D(fprintf(stderr, "%*c+ dotted_as_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_dotted_as_name"));
 4142|      0|            _res = invalid_dotted_as_name_var;
 4143|      0|            goto done;
 4144|      0|        }
 4145|  3.45k|        p->mark = _mark;
 4146|  3.45k|        D(fprintf(stderr, "%*c%s dotted_as_name[%d-%d]: %s failed!\n", p->level, ' ',
 4147|  3.45k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_dotted_as_name"));
 4148|  3.45k|    }
 4149|  16.5k|    { // dotted_name ['as' NAME]
 4150|  16.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (4150:13): [True: 5, False: 16.5k]
  ------------------
 4151|      5|            p->level--;
 4152|      5|            return NULL;
 4153|      5|        }
 4154|  16.5k|        D(fprintf(stderr, "%*c> dotted_as_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dotted_name ['as' NAME]"));
 4155|  16.5k|        expr_ty a;
 4156|  16.5k|        void *b;
 4157|  16.5k|        if (
 4158|  16.5k|            (a = dotted_name_rule(p))  // dotted_name
  ------------------
  |  Branch (4158:13): [True: 16.4k, False: 35]
  ------------------
 4159|  16.4k|            &&
 4160|  16.4k|            (b = _tmp_21_rule(p), !p->error_indicator)  // ['as' NAME]
  ------------------
  |  Branch (4160:13): [True: 16.4k, False: 2]
  ------------------
 4161|  16.5k|        )
 4162|  16.4k|        {
 4163|  16.4k|            D(fprintf(stderr, "%*c+ dotted_as_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dotted_name ['as' NAME]"));
 4164|  16.4k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 4165|  16.4k|            if (_token == NULL) {
  ------------------
  |  Branch (4165:17): [True: 0, False: 16.4k]
  ------------------
 4166|      0|                p->level--;
 4167|      0|                return NULL;
 4168|      0|            }
 4169|  16.4k|            int _end_lineno = _token->end_lineno;
 4170|  16.4k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  16.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 16.4k]
  |  |  ------------------
  ------------------
 4171|  16.4k|            int _end_col_offset = _token->end_col_offset;
 4172|  16.4k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  16.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 16.4k]
  |  |  ------------------
  ------------------
 4173|  16.4k|            _res = _PyAST_alias ( a -> v . Name . id , ( b ) ? ( ( expr_ty ) b ) -> v . Name . id : NULL , EXTRA );
  ------------------
  |  |  281|  16.4k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (4173:56): [True: 328, False: 16.1k]
  ------------------
 4174|  16.4k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4174:18): [True: 0, False: 16.4k]
  |  Branch (4174:34): [True: 0, False: 16.4k]
  |  Branch (4174:57): [True: 0, False: 0]
  ------------------
 4175|      0|                p->error_indicator = 1;
 4176|      0|                p->level--;
 4177|      0|                return NULL;
 4178|      0|            }
 4179|  16.4k|            goto done;
 4180|  16.4k|        }
 4181|     37|        p->mark = _mark;
 4182|     37|        D(fprintf(stderr, "%*c%s dotted_as_name[%d-%d]: %s failed!\n", p->level, ' ',
 4183|     37|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dotted_name ['as' NAME]"));
 4184|     37|    }
 4185|     37|    _res = NULL;
 4186|  16.5k|  done:
 4187|  16.5k|    p->level--;
 4188|  16.5k|    return _res;
 4189|     37|}
parser.c:invalid_dotted_as_name_rule:
24462|  3.45k|{
24463|  3.45k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  6.91k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24463:9): [True: 0, False: 3.45k]
  |  Branch (24463:35): [True: 0, False: 3.45k]
  ------------------
24464|      0|        _Pypegen_stack_overflow(p);
24465|      0|    }
24466|  3.45k|    if (p->error_indicator) {
  ------------------
  |  Branch (24466:9): [True: 0, False: 3.45k]
  ------------------
24467|      0|        p->level--;
24468|      0|        return NULL;
24469|      0|    }
24470|  3.45k|    void * _res = NULL;
24471|  3.45k|    int _mark = p->mark;
24472|  3.45k|    { // dotted_name 'as' !(NAME (',' | ')' | ';' | NEWLINE)) expression
24473|  3.45k|        if (p->error_indicator) {
  ------------------
  |  Branch (24473:13): [True: 0, False: 3.45k]
  ------------------
24474|      0|            p->level--;
24475|      0|            return NULL;
24476|      0|        }
24477|  3.45k|        D(fprintf(stderr, "%*c> invalid_dotted_as_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dotted_name 'as' !(NAME (',' | ')' | ';' | NEWLINE)) expression"));
24478|  3.45k|        Token * _keyword;
24479|  3.45k|        expr_ty a;
24480|  3.45k|        expr_ty dotted_name_var;
24481|  3.45k|        if (
24482|  3.45k|            (dotted_name_var = dotted_name_rule(p))  // dotted_name
  ------------------
  |  Branch (24482:13): [True: 3.44k, False: 15]
  ------------------
24483|  3.44k|            &&
24484|  3.44k|            (_keyword = _PyPegen_expect_token(p, 698))  // token='as'
  ------------------
  |  Branch (24484:13): [True: 75, False: 3.36k]
  ------------------
24485|     75|            &&
24486|     75|            _PyPegen_lookahead(0, _tmp_139_rule, p)
  ------------------
  |  Branch (24486:13): [True: 7, False: 68]
  ------------------
24487|      7|            &&
24488|      7|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (24488:13): [True: 3, False: 4]
  ------------------
24489|  3.45k|        )
24490|      3|        {
24491|      3|            D(fprintf(stderr, "%*c+ invalid_dotted_as_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dotted_name 'as' !(NAME (',' | ')' | ';' | NEWLINE)) expression"));
24492|      3|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use %s as import target" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  213|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
24493|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24493:18): [True: 3, False: 0]
  |  Branch (24493:34): [True: 0, False: 0]
  |  Branch (24493:57): [True: 3, False: 0]
  ------------------
24494|      3|                p->error_indicator = 1;
24495|      3|                p->level--;
24496|      3|                return NULL;
24497|      3|            }
24498|      0|            goto done;
24499|      3|        }
24500|  3.45k|        p->mark = _mark;
24501|  3.45k|        D(fprintf(stderr, "%*c%s invalid_dotted_as_name[%d-%d]: %s failed!\n", p->level, ' ',
24502|  3.45k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dotted_name 'as' !(NAME (',' | ')' | ';' | NEWLINE)) expression"));
24503|  3.45k|    }
24504|  3.45k|    _res = NULL;
24505|  3.45k|  done:
24506|  3.45k|    p->level--;
24507|  3.45k|    return _res;
24508|  3.45k|}
parser.c:_tmp_139_rule:
37238|    646|{
37239|    646|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.29k|#  define MAXSTACK 6000
  ------------------
  |  Branch (37239:9): [True: 0, False: 646]
  |  Branch (37239:35): [True: 0, False: 646]
  ------------------
37240|      0|        _Pypegen_stack_overflow(p);
37241|      0|    }
37242|    646|    if (p->error_indicator) {
  ------------------
  |  Branch (37242:9): [True: 0, False: 646]
  ------------------
37243|      0|        p->level--;
37244|      0|        return NULL;
37245|      0|    }
37246|    646|    void * _res = NULL;
37247|    646|    int _mark = p->mark;
37248|    646|    { // NAME (',' | ')' | ';' | NEWLINE)
37249|    646|        if (p->error_indicator) {
  ------------------
  |  Branch (37249:13): [True: 0, False: 646]
  ------------------
37250|      0|            p->level--;
37251|      0|            return NULL;
37252|      0|        }
37253|    646|        D(fprintf(stderr, "%*c> _tmp_139[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME (',' | ')' | ';' | NEWLINE)"));
37254|    646|        void *_tmp_175_var;
37255|    646|        expr_ty name_var;
37256|    646|        if (
37257|    646|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (37257:13): [True: 643, False: 3]
  ------------------
37258|    643|            &&
37259|    643|            (_tmp_175_var = _tmp_175_rule(p))  // ',' | ')' | ';' | NEWLINE
  ------------------
  |  Branch (37259:13): [True: 634, False: 9]
  ------------------
37260|    646|        )
37261|    634|        {
37262|    634|            D(fprintf(stderr, "%*c+ _tmp_139[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME (',' | ')' | ';' | NEWLINE)"));
37263|    634|            _res = _PyPegen_dummy_name(p, name_var, _tmp_175_var);
37264|    634|            goto done;
37265|    634|        }
37266|     12|        p->mark = _mark;
37267|     12|        D(fprintf(stderr, "%*c%s _tmp_139[%d-%d]: %s failed!\n", p->level, ' ',
37268|     12|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME (',' | ')' | ';' | NEWLINE)"));
37269|     12|    }
37270|     12|    _res = NULL;
37271|    646|  done:
37272|    646|    p->level--;
37273|    646|    return _res;
37274|     12|}
parser.c:_tmp_175_rule:
39290|    643|{
39291|    643|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.28k|#  define MAXSTACK 6000
  ------------------
  |  Branch (39291:9): [True: 0, False: 643]
  |  Branch (39291:35): [True: 0, False: 643]
  ------------------
39292|      0|        _Pypegen_stack_overflow(p);
39293|      0|    }
39294|    643|    if (p->error_indicator) {
  ------------------
  |  Branch (39294:9): [True: 0, False: 643]
  ------------------
39295|      0|        p->level--;
39296|      0|        return NULL;
39297|      0|    }
39298|    643|    void * _res = NULL;
39299|    643|    int _mark = p->mark;
39300|    643|    { // ','
39301|    643|        if (p->error_indicator) {
  ------------------
  |  Branch (39301:13): [True: 0, False: 643]
  ------------------
39302|      0|            p->level--;
39303|      0|            return NULL;
39304|      0|        }
39305|    643|        D(fprintf(stderr, "%*c> _tmp_175[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','"));
39306|    643|        Token * _literal;
39307|    643|        if (
39308|    643|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (39308:13): [True: 536, False: 107]
  ------------------
39309|    643|        )
39310|    536|        {
39311|    536|            D(fprintf(stderr, "%*c+ _tmp_175[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','"));
39312|    536|            _res = _literal;
39313|    536|            goto done;
39314|    536|        }
39315|    107|        p->mark = _mark;
39316|    107|        D(fprintf(stderr, "%*c%s _tmp_175[%d-%d]: %s failed!\n", p->level, ' ',
39317|    107|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','"));
39318|    107|    }
39319|      0|    { // ')'
39320|    107|        if (p->error_indicator) {
  ------------------
  |  Branch (39320:13): [True: 0, False: 107]
  ------------------
39321|      0|            p->level--;
39322|      0|            return NULL;
39323|      0|        }
39324|    107|        D(fprintf(stderr, "%*c> _tmp_175[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "')'"));
39325|    107|        Token * _literal;
39326|    107|        if (
39327|    107|            (_literal = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (39327:13): [True: 1, False: 106]
  ------------------
39328|    107|        )
39329|      1|        {
39330|      1|            D(fprintf(stderr, "%*c+ _tmp_175[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "')'"));
39331|      1|            _res = _literal;
39332|      1|            goto done;
39333|      1|        }
39334|    106|        p->mark = _mark;
39335|    106|        D(fprintf(stderr, "%*c%s _tmp_175[%d-%d]: %s failed!\n", p->level, ' ',
39336|    106|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "')'"));
39337|    106|    }
39338|      0|    { // ';'
39339|    106|        if (p->error_indicator) {
  ------------------
  |  Branch (39339:13): [True: 0, False: 106]
  ------------------
39340|      0|            p->level--;
39341|      0|            return NULL;
39342|      0|        }
39343|    106|        D(fprintf(stderr, "%*c> _tmp_175[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "';'"));
39344|    106|        Token * _literal;
39345|    106|        if (
39346|    106|            (_literal = _PyPegen_expect_token(p, 13))  // token=';'
  ------------------
  |  Branch (39346:13): [True: 74, False: 32]
  ------------------
39347|    106|        )
39348|     74|        {
39349|     74|            D(fprintf(stderr, "%*c+ _tmp_175[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "';'"));
39350|     74|            _res = _literal;
39351|     74|            goto done;
39352|     74|        }
39353|     32|        p->mark = _mark;
39354|     32|        D(fprintf(stderr, "%*c%s _tmp_175[%d-%d]: %s failed!\n", p->level, ' ',
39355|     32|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "';'"));
39356|     32|    }
39357|      0|    { // NEWLINE
39358|     32|        if (p->error_indicator) {
  ------------------
  |  Branch (39358:13): [True: 0, False: 32]
  ------------------
39359|      0|            p->level--;
39360|      0|            return NULL;
39361|      0|        }
39362|     32|        D(fprintf(stderr, "%*c> _tmp_175[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
39363|     32|        Token * newline_var;
39364|     32|        if (
39365|     32|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|     32|#define NEWLINE         4
  ------------------
  |  Branch (39365:13): [True: 23, False: 9]
  ------------------
39366|     32|        )
39367|     23|        {
39368|     23|            D(fprintf(stderr, "%*c+ _tmp_175[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
39369|     23|            _res = newline_var;
39370|     23|            goto done;
39371|     23|        }
39372|      9|        p->mark = _mark;
39373|      9|        D(fprintf(stderr, "%*c%s _tmp_175[%d-%d]: %s failed!\n", p->level, ' ',
39374|      9|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE"));
39375|      9|    }
39376|      9|    _res = NULL;
39377|    643|  done:
39378|    643|    p->level--;
39379|    643|    return _res;
39380|      9|}
parser.c:_tmp_21_rule:
29877|  38.6k|{
29878|  38.6k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  77.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (29878:9): [True: 0, False: 38.6k]
  |  Branch (29878:35): [True: 0, False: 38.6k]
  ------------------
29879|      0|        _Pypegen_stack_overflow(p);
29880|      0|    }
29881|  38.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (29881:9): [True: 0, False: 38.6k]
  ------------------
29882|      0|        p->level--;
29883|      0|        return NULL;
29884|      0|    }
29885|  38.6k|    void * _res = NULL;
29886|  38.6k|    int _mark = p->mark;
29887|  38.6k|    { // 'as' NAME
29888|  38.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (29888:13): [True: 0, False: 38.6k]
  ------------------
29889|      0|            p->level--;
29890|      0|            return NULL;
29891|      0|        }
29892|  38.6k|        D(fprintf(stderr, "%*c> _tmp_21[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'as' NAME"));
29893|  38.6k|        Token * _keyword;
29894|  38.6k|        expr_ty z;
29895|  38.6k|        if (
29896|  38.6k|            (_keyword = _PyPegen_expect_token(p, 698))  // token='as'
  ------------------
  |  Branch (29896:13): [True: 2.02k, False: 36.6k]
  ------------------
29897|  2.02k|            &&
29898|  2.02k|            (z = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (29898:13): [True: 1.98k, False: 35]
  ------------------
29899|  38.6k|        )
29900|  1.98k|        {
29901|  1.98k|            D(fprintf(stderr, "%*c+ _tmp_21[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'as' NAME"));
29902|  1.98k|            _res = z;
29903|  1.98k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (29903:18): [True: 0, False: 1.98k]
  |  Branch (29903:34): [True: 0, False: 1.98k]
  |  Branch (29903:57): [True: 0, False: 0]
  ------------------
29904|      0|                p->error_indicator = 1;
29905|      0|                p->level--;
29906|      0|                return NULL;
29907|      0|            }
29908|  1.98k|            goto done;
29909|  1.98k|        }
29910|  36.6k|        p->mark = _mark;
29911|  36.6k|        D(fprintf(stderr, "%*c%s _tmp_21[%d-%d]: %s failed!\n", p->level, ' ',
29912|  36.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'as' NAME"));
29913|  36.6k|    }
29914|  36.6k|    _res = NULL;
29915|  38.6k|  done:
29916|  38.6k|    p->level--;
29917|  38.6k|    return _res;
29918|  36.6k|}
parser.c:_loop0_22_rule:
29923|  4.81k|{
29924|  4.81k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  9.62k|#  define MAXSTACK 6000
  ------------------
  |  Branch (29924:9): [True: 0, False: 4.81k]
  |  Branch (29924:35): [True: 0, False: 4.81k]
  ------------------
29925|      0|        _Pypegen_stack_overflow(p);
29926|      0|    }
29927|  4.81k|    if (p->error_indicator) {
  ------------------
  |  Branch (29927:9): [True: 0, False: 4.81k]
  ------------------
29928|      0|        p->level--;
29929|      0|        return NULL;
29930|      0|    }
29931|  4.81k|    void *_res = NULL;
29932|  4.81k|    int _mark = p->mark;
29933|  4.81k|    void **_children = PyMem_Malloc(sizeof(void *));
29934|  4.81k|    if (!_children) {
  ------------------
  |  Branch (29934:9): [True: 0, False: 4.81k]
  ------------------
29935|      0|        p->error_indicator = 1;
29936|      0|        PyErr_NoMemory();
29937|      0|        p->level--;
29938|      0|        return NULL;
29939|      0|    }
29940|  4.81k|    Py_ssize_t _children_capacity = 1;
29941|  4.81k|    Py_ssize_t _n = 0;
29942|  4.81k|    { // ',' dotted_as_name
29943|  4.81k|        if (p->error_indicator) {
  ------------------
  |  Branch (29943:13): [True: 0, False: 4.81k]
  ------------------
29944|      0|            p->level--;
29945|      0|            return NULL;
29946|      0|        }
29947|  4.81k|        D(fprintf(stderr, "%*c> _loop0_22[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' dotted_as_name"));
29948|  4.81k|        Token * _literal;
29949|  4.81k|        alias_ty elem;
29950|  4.81k|        while (
29951|  16.4k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (29951:13): [True: 11.6k, False: 4.78k]
  ------------------
29952|  11.6k|            &&
29953|  11.6k|            (elem = dotted_as_name_rule(p))  // dotted_as_name
  ------------------
  |  Branch (29953:13): [True: 11.6k, False: 27]
  ------------------
29954|  4.81k|        )
29955|  11.6k|        {
29956|  11.6k|            _res = elem;
29957|  11.6k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (29957:18): [True: 0, False: 11.6k]
  |  Branch (29957:34): [True: 0, False: 11.6k]
  |  Branch (29957:57): [True: 0, False: 0]
  ------------------
29958|      0|                p->error_indicator = 1;
29959|      0|                PyMem_Free(_children);
29960|      0|                p->level--;
29961|      0|                return NULL;
29962|      0|            }
29963|  11.6k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (29963:17): [True: 5.98k, False: 5.67k]
  ------------------
29964|  5.98k|                _children_capacity *= 2;
29965|  5.98k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
29966|  5.98k|                if (!_new_children) {
  ------------------
  |  Branch (29966:21): [True: 0, False: 5.98k]
  ------------------
29967|      0|                    PyMem_Free(_children);
29968|      0|                    p->error_indicator = 1;
29969|      0|                    PyErr_NoMemory();
29970|      0|                    p->level--;
29971|      0|                    return NULL;
29972|      0|                }
29973|  5.98k|                _children = _new_children;
29974|  5.98k|            }
29975|  11.6k|            _children[_n++] = _res;
29976|  11.6k|            _mark = p->mark;
29977|  11.6k|        }
29978|  4.81k|        p->mark = _mark;
29979|  4.81k|        D(fprintf(stderr, "%*c%s _loop0_22[%d-%d]: %s failed!\n", p->level, ' ',
29980|  4.81k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' dotted_as_name"));
29981|  4.81k|    }
29982|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
29983|  4.81k|    if (!_seq) {
  ------------------
  |  Branch (29983:9): [True: 0, False: 4.81k]
  ------------------
29984|      0|        PyMem_Free(_children);
29985|      0|        p->error_indicator = 1;
29986|      0|        PyErr_NoMemory();
29987|      0|        p->level--;
29988|      0|        return NULL;
29989|      0|    }
29990|  16.4k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  11.6k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  16.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (29990:28): [True: 11.6k, False: 4.81k]
  ------------------
29991|  4.81k|    PyMem_Free(_children);
29992|  4.81k|    p->level--;
29993|  4.81k|    return _seq;
29994|  4.81k|}
parser.c:import_from_rule:
 3663|  5.66k|{
 3664|  5.66k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  11.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3664:9): [True: 0, False: 5.66k]
  |  Branch (3664:35): [True: 0, False: 5.66k]
  ------------------
 3665|      0|        _Pypegen_stack_overflow(p);
 3666|      0|    }
 3667|  5.66k|    if (p->error_indicator) {
  ------------------
  |  Branch (3667:9): [True: 0, False: 5.66k]
  ------------------
 3668|      0|        p->level--;
 3669|      0|        return NULL;
 3670|      0|    }
 3671|  5.66k|    stmt_ty _res = NULL;
 3672|  5.66k|    int _mark = p->mark;
 3673|  5.66k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3673:9): [True: 0, False: 5.66k]
  |  Branch (3673:31): [True: 0, False: 0]
  ------------------
 3674|      0|        p->error_indicator = 1;
 3675|      0|        p->level--;
 3676|      0|        return NULL;
 3677|      0|    }
 3678|  5.66k|    int _start_lineno = p->tokens[_mark]->lineno;
 3679|  5.66k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  5.66k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 5.66k]
  |  |  ------------------
  ------------------
 3680|  5.66k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3681|  5.66k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  5.66k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 5.66k]
  |  |  ------------------
  ------------------
 3682|  5.66k|    if (p->call_invalid_rules) { // invalid_import_from
  ------------------
  |  Branch (3682:9): [True: 1.50k, False: 4.16k]
  ------------------
 3683|  1.50k|        if (p->error_indicator) {
  ------------------
  |  Branch (3683:13): [True: 0, False: 1.50k]
  ------------------
 3684|      0|            p->level--;
 3685|      0|            return NULL;
 3686|      0|        }
 3687|  1.50k|        D(fprintf(stderr, "%*c> import_from[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_import_from"));
 3688|  1.50k|        void *invalid_import_from_var;
 3689|  1.50k|        if (
 3690|  1.50k|            (invalid_import_from_var = invalid_import_from_rule(p))  // invalid_import_from
  ------------------
  |  Branch (3690:13): [True: 0, False: 1.50k]
  ------------------
 3691|  1.50k|        )
 3692|      0|        {
 3693|      0|            D(fprintf(stderr, "%*c+ import_from[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_import_from"));
 3694|      0|            _res = invalid_import_from_var;
 3695|      0|            goto done;
 3696|      0|        }
 3697|  1.50k|        p->mark = _mark;
 3698|  1.50k|        D(fprintf(stderr, "%*c%s import_from[%d-%d]: %s failed!\n", p->level, ' ',
 3699|  1.50k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_import_from"));
 3700|  1.50k|    }
 3701|  5.66k|    { // "lazy"? 'from' (('.' | '...'))* dotted_name 'import' import_from_targets
 3702|  5.66k|        if (p->error_indicator) {
  ------------------
  |  Branch (3702:13): [True: 3, False: 5.66k]
  ------------------
 3703|      3|            p->level--;
 3704|      3|            return NULL;
 3705|      3|        }
 3706|  5.66k|        D(fprintf(stderr, "%*c> import_from[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"lazy\"? 'from' (('.' | '...'))* dotted_name 'import' import_from_targets"));
 3707|  5.66k|        Token * _keyword;
 3708|  5.66k|        Token * _keyword_1;
 3709|  5.66k|        asdl_seq * a;
 3710|  5.66k|        expr_ty b;
 3711|  5.66k|        asdl_alias_seq* c;
 3712|  5.66k|        void *lazy;
 3713|  5.66k|        if (
 3714|  5.66k|            (lazy = _PyPegen_expect_soft_keyword(p, "lazy"), !p->error_indicator)  // "lazy"?
  ------------------
  |  Branch (3714:13): [True: 5.66k, False: 0]
  ------------------
 3715|  5.66k|            &&
 3716|  5.66k|            (_keyword = _PyPegen_expect_token(p, 650))  // token='from'
  ------------------
  |  Branch (3716:13): [True: 5.59k, False: 66]
  ------------------
 3717|  5.59k|            &&
 3718|  5.59k|            (a = _loop0_17_rule(p))  // (('.' | '...'))*
  ------------------
  |  Branch (3718:13): [True: 5.59k, False: 0]
  ------------------
 3719|  5.59k|            &&
 3720|  5.59k|            (b = dotted_name_rule(p))  // dotted_name
  ------------------
  |  Branch (3720:13): [True: 4.39k, False: 1.20k]
  ------------------
 3721|  4.39k|            &&
 3722|  4.39k|            (_keyword_1 = _PyPegen_expect_token(p, 651))  // token='import'
  ------------------
  |  Branch (3722:13): [True: 4.33k, False: 68]
  ------------------
 3723|  4.33k|            &&
 3724|  4.33k|            (c = import_from_targets_rule(p))  // import_from_targets
  ------------------
  |  Branch (3724:13): [True: 4.29k, False: 37]
  ------------------
 3725|  5.66k|        )
 3726|  4.29k|        {
 3727|  4.29k|            D(fprintf(stderr, "%*c+ import_from[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"lazy\"? 'from' (('.' | '...'))* dotted_name 'import' import_from_targets"));
 3728|  4.29k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3729|  4.29k|            if (_token == NULL) {
  ------------------
  |  Branch (3729:17): [True: 0, False: 4.29k]
  ------------------
 3730|      0|                p->level--;
 3731|      0|                return NULL;
 3732|      0|            }
 3733|  4.29k|            int _end_lineno = _token->end_lineno;
 3734|  4.29k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.29k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.29k]
  |  |  ------------------
  ------------------
 3735|  4.29k|            int _end_col_offset = _token->end_col_offset;
 3736|  4.29k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.29k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.29k]
  |  |  ------------------
  ------------------
 3737|  4.29k|            _res = _PyPegen_checked_from_import ( p , a , b , c , lazy , EXTRA );
  ------------------
  |  |  281|  4.29k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3738|  4.29k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3738:18): [True: 1, False: 4.29k]
  |  Branch (3738:34): [True: 0, False: 4.29k]
  |  Branch (3738:57): [True: 1, False: 0]
  ------------------
 3739|      1|                p->error_indicator = 1;
 3740|      1|                p->level--;
 3741|      1|                return NULL;
 3742|      1|            }
 3743|  4.29k|            goto done;
 3744|  4.29k|        }
 3745|  1.37k|        p->mark = _mark;
 3746|  1.37k|        D(fprintf(stderr, "%*c%s import_from[%d-%d]: %s failed!\n", p->level, ' ',
 3747|  1.37k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"lazy\"? 'from' (('.' | '...'))* dotted_name 'import' import_from_targets"));
 3748|  1.37k|    }
 3749|      0|    { // "lazy"? 'from' (('.' | '...'))+ 'import' import_from_targets
 3750|  1.37k|        if (p->error_indicator) {
  ------------------
  |  Branch (3750:13): [True: 24, False: 1.34k]
  ------------------
 3751|     24|            p->level--;
 3752|     24|            return NULL;
 3753|     24|        }
 3754|  1.34k|        D(fprintf(stderr, "%*c> import_from[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"lazy\"? 'from' (('.' | '...'))+ 'import' import_from_targets"));
 3755|  1.34k|        Token * _keyword;
 3756|  1.34k|        Token * _keyword_1;
 3757|  1.34k|        asdl_seq * a;
 3758|  1.34k|        asdl_alias_seq* b;
 3759|  1.34k|        void *lazy;
 3760|  1.34k|        if (
 3761|  1.34k|            (lazy = _PyPegen_expect_soft_keyword(p, "lazy"), !p->error_indicator)  // "lazy"?
  ------------------
  |  Branch (3761:13): [True: 1.34k, False: 0]
  ------------------
 3762|  1.34k|            &&
 3763|  1.34k|            (_keyword = _PyPegen_expect_token(p, 650))  // token='from'
  ------------------
  |  Branch (3763:13): [True: 1.28k, False: 66]
  ------------------
 3764|  1.28k|            &&
 3765|  1.28k|            (a = _loop1_18_rule(p))  // (('.' | '...'))+
  ------------------
  |  Branch (3765:13): [True: 1.21k, False: 71]
  ------------------
 3766|  1.21k|            &&
 3767|  1.21k|            (_keyword_1 = _PyPegen_expect_token(p, 651))  // token='import'
  ------------------
  |  Branch (3767:13): [True: 1.15k, False: 51]
  ------------------
 3768|  1.15k|            &&
 3769|  1.15k|            (b = import_from_targets_rule(p))  // import_from_targets
  ------------------
  |  Branch (3769:13): [True: 1.14k, False: 11]
  ------------------
 3770|  1.34k|        )
 3771|  1.14k|        {
 3772|  1.14k|            D(fprintf(stderr, "%*c+ import_from[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"lazy\"? 'from' (('.' | '...'))+ 'import' import_from_targets"));
 3773|  1.14k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3774|  1.14k|            if (_token == NULL) {
  ------------------
  |  Branch (3774:17): [True: 0, False: 1.14k]
  ------------------
 3775|      0|                p->level--;
 3776|      0|                return NULL;
 3777|      0|            }
 3778|  1.14k|            int _end_lineno = _token->end_lineno;
 3779|  1.14k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.14k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.14k]
  |  |  ------------------
  ------------------
 3780|  1.14k|            int _end_col_offset = _token->end_col_offset;
 3781|  1.14k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.14k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.14k]
  |  |  ------------------
  ------------------
 3782|  1.14k|            _res = _PyAST_ImportFrom ( NULL , b , _PyPegen_seq_count_dots ( a ) , lazy ? 1 : 0 , EXTRA );
  ------------------
  |  |  281|  1.14k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (3782:83): [True: 0, False: 1.14k]
  ------------------
 3783|  1.14k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3783:18): [True: 0, False: 1.14k]
  |  Branch (3783:34): [True: 0, False: 1.14k]
  |  Branch (3783:57): [True: 0, False: 0]
  ------------------
 3784|      0|                p->error_indicator = 1;
 3785|      0|                p->level--;
 3786|      0|                return NULL;
 3787|      0|            }
 3788|  1.14k|            goto done;
 3789|  1.14k|        }
 3790|    199|        p->mark = _mark;
 3791|    199|        D(fprintf(stderr, "%*c%s import_from[%d-%d]: %s failed!\n", p->level, ' ',
 3792|    199|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"lazy\"? 'from' (('.' | '...'))+ 'import' import_from_targets"));
 3793|    199|    }
 3794|    199|    _res = NULL;
 3795|  5.63k|  done:
 3796|  5.63k|    p->level--;
 3797|  5.63k|    return _res;
 3798|    199|}
parser.c:invalid_import_from_rule:
24565|  1.50k|{
24566|  1.50k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.00k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24566:9): [True: 0, False: 1.50k]
  |  Branch (24566:35): [True: 0, False: 1.50k]
  ------------------
24567|      0|        _Pypegen_stack_overflow(p);
24568|      0|    }
24569|  1.50k|    if (p->error_indicator) {
  ------------------
  |  Branch (24569:9): [True: 0, False: 1.50k]
  ------------------
24570|      0|        p->level--;
24571|      0|        return NULL;
24572|      0|    }
24573|  1.50k|    void * _res = NULL;
24574|  1.50k|    int _mark = p->mark;
24575|  1.50k|    { // 'from' (('.' | '...'))* dotted_name "lazy" 'import' import_from_targets
24576|  1.50k|        if (p->error_indicator) {
  ------------------
  |  Branch (24576:13): [True: 0, False: 1.50k]
  ------------------
24577|      0|            p->level--;
24578|      0|            return NULL;
24579|      0|        }
24580|  1.50k|        D(fprintf(stderr, "%*c> invalid_import_from[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'from' (('.' | '...'))* dotted_name \"lazy\" 'import' import_from_targets"));
24581|  1.50k|        Token * _keyword;
24582|  1.50k|        Token * _keyword_1;
24583|  1.50k|        asdl_seq * _loop0_17_var;
24584|  1.50k|        expr_ty a;
24585|  1.50k|        expr_ty dotted_name_var;
24586|  1.50k|        asdl_alias_seq* import_from_targets_var;
24587|  1.50k|        if (
24588|  1.50k|            (_keyword = _PyPegen_expect_token(p, 650))  // token='from'
  ------------------
  |  Branch (24588:13): [True: 1.47k, False: 27]
  ------------------
24589|  1.47k|            &&
24590|  1.47k|            (_loop0_17_var = _loop0_17_rule(p))  // (('.' | '...'))*
  ------------------
  |  Branch (24590:13): [True: 1.47k, False: 0]
  ------------------
24591|  1.47k|            &&
24592|  1.47k|            (dotted_name_var = dotted_name_rule(p))  // dotted_name
  ------------------
  |  Branch (24592:13): [True: 1.12k, False: 356]
  ------------------
24593|  1.12k|            &&
24594|  1.12k|            (a = _PyPegen_expect_soft_keyword(p, "lazy"))  // soft_keyword='"lazy"'
  ------------------
  |  Branch (24594:13): [True: 3, False: 1.11k]
  ------------------
24595|      3|            &&
24596|      3|            (_keyword_1 = _PyPegen_expect_token(p, 651))  // token='import'
  ------------------
  |  Branch (24596:13): [True: 2, False: 1]
  ------------------
24597|      2|            &&
24598|      2|            (import_from_targets_var = import_from_targets_rule(p))  // import_from_targets
  ------------------
  |  Branch (24598:13): [True: 1, False: 1]
  ------------------
24599|  1.50k|        )
24600|      1|        {
24601|      1|            D(fprintf(stderr, "%*c+ invalid_import_from[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'from' (('.' | '...'))* dotted_name \"lazy\" 'import' import_from_targets"));
24602|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "use 'lazy from ... ' instead of 'from ... lazy import'" );
  ------------------
  |  |  213|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
24603|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24603:18): [True: 1, False: 0]
  |  Branch (24603:34): [True: 0, False: 0]
  |  Branch (24603:57): [True: 1, False: 0]
  ------------------
24604|      1|                p->error_indicator = 1;
24605|      1|                p->level--;
24606|      1|                return NULL;
24607|      1|            }
24608|      0|            goto done;
24609|      1|        }
24610|  1.50k|        p->mark = _mark;
24611|  1.50k|        D(fprintf(stderr, "%*c%s invalid_import_from[%d-%d]: %s failed!\n", p->level, ' ',
24612|  1.50k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'from' (('.' | '...'))* dotted_name \"lazy\" 'import' import_from_targets"));
24613|  1.50k|    }
24614|  1.50k|    _res = NULL;
24615|  1.50k|  done:
24616|  1.50k|    p->level--;
24617|  1.50k|    return _res;
24618|  1.50k|}
parser.c:_loop0_17_rule:
29621|  7.07k|{
29622|  7.07k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  14.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (29622:9): [True: 0, False: 7.07k]
  |  Branch (29622:35): [True: 0, False: 7.07k]
  ------------------
29623|      0|        _Pypegen_stack_overflow(p);
29624|      0|    }
29625|  7.07k|    if (p->error_indicator) {
  ------------------
  |  Branch (29625:9): [True: 0, False: 7.07k]
  ------------------
29626|      0|        p->level--;
29627|      0|        return NULL;
29628|      0|    }
29629|  7.07k|    void *_res = NULL;
29630|  7.07k|    int _mark = p->mark;
29631|  7.07k|    void **_children = PyMem_Malloc(sizeof(void *));
29632|  7.07k|    if (!_children) {
  ------------------
  |  Branch (29632:9): [True: 0, False: 7.07k]
  ------------------
29633|      0|        p->error_indicator = 1;
29634|      0|        PyErr_NoMemory();
29635|      0|        p->level--;
29636|      0|        return NULL;
29637|      0|    }
29638|  7.07k|    Py_ssize_t _children_capacity = 1;
29639|  7.07k|    Py_ssize_t _n = 0;
29640|  7.07k|    { // ('.' | '...')
29641|  7.07k|        if (p->error_indicator) {
  ------------------
  |  Branch (29641:13): [True: 0, False: 7.07k]
  ------------------
29642|      0|            p->level--;
29643|      0|            return NULL;
29644|      0|        }
29645|  7.07k|        D(fprintf(stderr, "%*c> _loop0_17[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('.' | '...')"));
29646|  7.07k|        void *_tmp_160_var;
29647|  7.07k|        while (
29648|  9.88k|            (_tmp_160_var = _tmp_160_rule(p))  // '.' | '...'
  ------------------
  |  Branch (29648:13): [True: 2.80k, False: 7.07k]
  ------------------
29649|  7.07k|        )
29650|  2.80k|        {
29651|  2.80k|            _res = _tmp_160_var;
29652|  2.80k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (29652:17): [True: 806, False: 2.00k]
  ------------------
29653|    806|                _children_capacity *= 2;
29654|    806|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
29655|    806|                if (!_new_children) {
  ------------------
  |  Branch (29655:21): [True: 0, False: 806]
  ------------------
29656|      0|                    PyMem_Free(_children);
29657|      0|                    p->error_indicator = 1;
29658|      0|                    PyErr_NoMemory();
29659|      0|                    p->level--;
29660|      0|                    return NULL;
29661|      0|                }
29662|    806|                _children = _new_children;
29663|    806|            }
29664|  2.80k|            _children[_n++] = _res;
29665|  2.80k|            _mark = p->mark;
29666|  2.80k|        }
29667|  7.07k|        p->mark = _mark;
29668|  7.07k|        D(fprintf(stderr, "%*c%s _loop0_17[%d-%d]: %s failed!\n", p->level, ' ',
29669|  7.07k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('.' | '...')"));
29670|  7.07k|    }
29671|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
29672|  7.07k|    if (!_seq) {
  ------------------
  |  Branch (29672:9): [True: 0, False: 7.07k]
  ------------------
29673|      0|        PyMem_Free(_children);
29674|      0|        p->error_indicator = 1;
29675|      0|        PyErr_NoMemory();
29676|      0|        p->level--;
29677|      0|        return NULL;
29678|      0|    }
29679|  9.88k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  2.80k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  9.88k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (29679:28): [True: 2.80k, False: 7.07k]
  ------------------
29680|  7.07k|    PyMem_Free(_children);
29681|  7.07k|    p->level--;
29682|  7.07k|    return _seq;
29683|  7.07k|}
parser.c:_tmp_160_rule:
38532|  12.9k|{
38533|  12.9k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  25.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38533:9): [True: 0, False: 12.9k]
  |  Branch (38533:35): [True: 0, False: 12.9k]
  ------------------
38534|      0|        _Pypegen_stack_overflow(p);
38535|      0|    }
38536|  12.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (38536:9): [True: 0, False: 12.9k]
  ------------------
38537|      0|        p->level--;
38538|      0|        return NULL;
38539|      0|    }
38540|  12.9k|    void * _res = NULL;
38541|  12.9k|    int _mark = p->mark;
38542|  12.9k|    { // '.'
38543|  12.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (38543:13): [True: 0, False: 12.9k]
  ------------------
38544|      0|            p->level--;
38545|      0|            return NULL;
38546|      0|        }
38547|  12.9k|        D(fprintf(stderr, "%*c> _tmp_160[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'.'"));
38548|  12.9k|        Token * _literal;
38549|  12.9k|        if (
38550|  12.9k|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (38550:13): [True: 2.46k, False: 10.4k]
  ------------------
38551|  12.9k|        )
38552|  2.46k|        {
38553|  2.46k|            D(fprintf(stderr, "%*c+ _tmp_160[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'.'"));
38554|  2.46k|            _res = _literal;
38555|  2.46k|            goto done;
38556|  2.46k|        }
38557|  10.4k|        p->mark = _mark;
38558|  10.4k|        D(fprintf(stderr, "%*c%s _tmp_160[%d-%d]: %s failed!\n", p->level, ' ',
38559|  10.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'.'"));
38560|  10.4k|    }
38561|      0|    { // '...'
38562|  10.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (38562:13): [True: 6, False: 10.4k]
  ------------------
38563|      6|            p->level--;
38564|      6|            return NULL;
38565|      6|        }
38566|  10.4k|        D(fprintf(stderr, "%*c> _tmp_160[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'...'"));
38567|  10.4k|        Token * _literal;
38568|  10.4k|        if (
38569|  10.4k|            (_literal = _PyPegen_expect_token(p, 52))  // token='...'
  ------------------
  |  Branch (38569:13): [True: 2.12k, False: 8.35k]
  ------------------
38570|  10.4k|        )
38571|  2.12k|        {
38572|  2.12k|            D(fprintf(stderr, "%*c+ _tmp_160[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'...'"));
38573|  2.12k|            _res = _literal;
38574|  2.12k|            goto done;
38575|  2.12k|        }
38576|  8.35k|        p->mark = _mark;
38577|  8.35k|        D(fprintf(stderr, "%*c%s _tmp_160[%d-%d]: %s failed!\n", p->level, ' ',
38578|  8.35k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'...'"));
38579|  8.35k|    }
38580|  8.35k|    _res = NULL;
38581|  12.9k|  done:
38582|  12.9k|    p->level--;
38583|  12.9k|    return _res;
38584|  8.35k|}
parser.c:import_from_targets_rule:
 3807|  5.49k|{
 3808|  5.49k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  10.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3808:9): [True: 0, False: 5.49k]
  |  Branch (3808:35): [True: 0, False: 5.49k]
  ------------------
 3809|      0|        _Pypegen_stack_overflow(p);
 3810|      0|    }
 3811|  5.49k|    if (p->error_indicator) {
  ------------------
  |  Branch (3811:9): [True: 0, False: 5.49k]
  ------------------
 3812|      0|        p->level--;
 3813|      0|        return NULL;
 3814|      0|    }
 3815|  5.49k|    asdl_alias_seq* _res = NULL;
 3816|  5.49k|    int _mark = p->mark;
 3817|  5.49k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3817:9): [True: 4.05k, False: 1.43k]
  |  Branch (3817:31): [True: 2, False: 4.05k]
  ------------------
 3818|      2|        p->error_indicator = 1;
 3819|      2|        p->level--;
 3820|      2|        return NULL;
 3821|      2|    }
 3822|  5.48k|    int _start_lineno = p->tokens[_mark]->lineno;
 3823|  5.48k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  5.48k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 5.48k]
  |  |  ------------------
  ------------------
 3824|  5.48k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3825|  5.48k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  5.48k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 5.48k]
  |  |  ------------------
  ------------------
 3826|  5.48k|    { // '(' import_from_as_names ','? ')'
 3827|  5.48k|        if (p->error_indicator) {
  ------------------
  |  Branch (3827:13): [True: 0, False: 5.48k]
  ------------------
 3828|      0|            p->level--;
 3829|      0|            return NULL;
 3830|      0|        }
 3831|  5.48k|        D(fprintf(stderr, "%*c> import_from_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' import_from_as_names ','? ')'"));
 3832|  5.48k|        Token * _literal;
 3833|  5.48k|        Token * _literal_1;
 3834|  5.48k|        void *_opt_var;
 3835|  5.48k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  5.48k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 5.48k]
  |  |  ------------------
  ------------------
 3836|  5.48k|        asdl_alias_seq* a;
 3837|  5.48k|        if (
 3838|  5.48k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (3838:13): [True: 15, False: 5.47k]
  ------------------
 3839|     15|            &&
 3840|     15|            (a = import_from_as_names_rule(p))  // import_from_as_names
  ------------------
  |  Branch (3840:13): [True: 8, False: 7]
  ------------------
 3841|      8|            &&
 3842|      8|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (3842:13): [True: 8, False: 0]
  ------------------
 3843|      8|            &&
 3844|      8|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (3844:13): [True: 4, False: 4]
  ------------------
 3845|  5.48k|        )
 3846|      4|        {
 3847|      4|            D(fprintf(stderr, "%*c+ import_from_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' import_from_as_names ','? ')'"));
 3848|      4|            _res = a;
 3849|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3849:18): [True: 0, False: 4]
  |  Branch (3849:34): [True: 0, False: 4]
  |  Branch (3849:57): [True: 0, False: 0]
  ------------------
 3850|      0|                p->error_indicator = 1;
 3851|      0|                p->level--;
 3852|      0|                return NULL;
 3853|      0|            }
 3854|      4|            goto done;
 3855|      4|        }
 3856|  5.48k|        p->mark = _mark;
 3857|  5.48k|        D(fprintf(stderr, "%*c%s import_from_targets[%d-%d]: %s failed!\n", p->level, ' ',
 3858|  5.48k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' import_from_as_names ','? ')'"));
 3859|  5.48k|    }
 3860|      0|    { // import_from_as_names !','
 3861|  5.48k|        if (p->error_indicator) {
  ------------------
  |  Branch (3861:13): [True: 5, False: 5.48k]
  ------------------
 3862|      5|            p->level--;
 3863|      5|            return NULL;
 3864|      5|        }
 3865|  5.48k|        D(fprintf(stderr, "%*c> import_from_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "import_from_as_names !','"));
 3866|  5.48k|        asdl_alias_seq* import_from_as_names_var;
 3867|  5.48k|        if (
 3868|  5.48k|            (import_from_as_names_var = import_from_as_names_rule(p))  // import_from_as_names
  ------------------
  |  Branch (3868:13): [True: 5.43k, False: 50]
  ------------------
 3869|  5.43k|            &&
 3870|  5.43k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 12)  // token=','
  ------------------
  |  Branch (3870:13): [True: 5.40k, False: 22]
  ------------------
 3871|  5.48k|        )
 3872|  5.40k|        {
 3873|  5.40k|            D(fprintf(stderr, "%*c+ import_from_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "import_from_as_names !','"));
 3874|  5.40k|            _res = import_from_as_names_var;
 3875|  5.40k|            goto done;
 3876|  5.40k|        }
 3877|     72|        p->mark = _mark;
 3878|     72|        D(fprintf(stderr, "%*c%s import_from_targets[%d-%d]: %s failed!\n", p->level, ' ',
 3879|     72|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "import_from_as_names !','"));
 3880|     72|    }
 3881|      0|    { // '*'
 3882|     72|        if (p->error_indicator) {
  ------------------
  |  Branch (3882:13): [True: 4, False: 68]
  ------------------
 3883|      4|            p->level--;
 3884|      4|            return NULL;
 3885|      4|        }
 3886|     68|        D(fprintf(stderr, "%*c> import_from_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*'"));
 3887|     68|        Token * _literal;
 3888|     68|        if (
 3889|     68|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (3889:13): [True: 30, False: 38]
  ------------------
 3890|     68|        )
 3891|     30|        {
 3892|     30|            D(fprintf(stderr, "%*c+ import_from_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*'"));
 3893|     30|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3894|     30|            if (_token == NULL) {
  ------------------
  |  Branch (3894:17): [True: 0, False: 30]
  ------------------
 3895|      0|                p->level--;
 3896|      0|                return NULL;
 3897|      0|            }
 3898|     30|            int _end_lineno = _token->end_lineno;
 3899|     30|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|     30|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 30]
  |  |  ------------------
  ------------------
 3900|     30|            int _end_col_offset = _token->end_col_offset;
 3901|     30|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|     30|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 30]
  |  |  ------------------
  ------------------
 3902|     30|            _res = ( asdl_alias_seq* ) _PyPegen_singleton_seq ( p , CHECK ( alias_ty , _PyPegen_alias_for_star ( p , EXTRA ) ) );
  ------------------
  |  |  245|     30|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
 3903|     30|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3903:18): [True: 0, False: 30]
  |  Branch (3903:34): [True: 0, False: 30]
  |  Branch (3903:57): [True: 0, False: 0]
  ------------------
 3904|      0|                p->error_indicator = 1;
 3905|      0|                p->level--;
 3906|      0|                return NULL;
 3907|      0|            }
 3908|     30|            goto done;
 3909|     30|        }
 3910|     38|        p->mark = _mark;
 3911|     38|        D(fprintf(stderr, "%*c%s import_from_targets[%d-%d]: %s failed!\n", p->level, ' ',
 3912|     38|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*'"));
 3913|     38|    }
 3914|     38|    if (p->call_invalid_rules) { // invalid_import_from_targets
  ------------------
  |  Branch (3914:9): [True: 18, False: 20]
  ------------------
 3915|     18|        if (p->error_indicator) {
  ------------------
  |  Branch (3915:13): [True: 0, False: 18]
  ------------------
 3916|      0|            p->level--;
 3917|      0|            return NULL;
 3918|      0|        }
 3919|     18|        D(fprintf(stderr, "%*c> import_from_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_import_from_targets"));
 3920|     18|        void *invalid_import_from_targets_var;
 3921|     18|        if (
 3922|     18|            (invalid_import_from_targets_var = invalid_import_from_targets_rule(p))  // invalid_import_from_targets
  ------------------
  |  Branch (3922:13): [True: 0, False: 18]
  ------------------
 3923|     18|        )
 3924|      0|        {
 3925|      0|            D(fprintf(stderr, "%*c+ import_from_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_import_from_targets"));
 3926|      0|            _res = invalid_import_from_targets_var;
 3927|      0|            goto done;
 3928|      0|        }
 3929|     18|        p->mark = _mark;
 3930|     18|        D(fprintf(stderr, "%*c%s import_from_targets[%d-%d]: %s failed!\n", p->level, ' ',
 3931|     18|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_import_from_targets"));
 3932|     18|    }
 3933|     38|    _res = NULL;
 3934|  5.48k|  done:
 3935|  5.48k|    p->level--;
 3936|  5.48k|    return _res;
 3937|     38|}
parser.c:import_from_as_names_rule:
 3942|  5.51k|{
 3943|  5.51k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  11.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3943:9): [True: 0, False: 5.51k]
  |  Branch (3943:35): [True: 0, False: 5.51k]
  ------------------
 3944|      0|        _Pypegen_stack_overflow(p);
 3945|      0|    }
 3946|  5.51k|    if (p->error_indicator) {
  ------------------
  |  Branch (3946:9): [True: 0, False: 5.51k]
  ------------------
 3947|      0|        p->level--;
 3948|      0|        return NULL;
 3949|      0|    }
 3950|  5.51k|    asdl_alias_seq* _res = NULL;
 3951|  5.51k|    int _mark = p->mark;
 3952|  5.51k|    { // ','.import_from_as_name+
 3953|  5.51k|        if (p->error_indicator) {
  ------------------
  |  Branch (3953:13): [True: 0, False: 5.51k]
  ------------------
 3954|      0|            p->level--;
 3955|      0|            return NULL;
 3956|      0|        }
 3957|  5.51k|        D(fprintf(stderr, "%*c> import_from_as_names[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.import_from_as_name+"));
 3958|  5.51k|        asdl_alias_seq* a;
 3959|  5.51k|        if (
 3960|  5.51k|            (a = (asdl_alias_seq*)_gather_20_rule(p))  // ','.import_from_as_name+
  ------------------
  |  Branch (3960:13): [True: 5.45k, False: 59]
  ------------------
 3961|  5.51k|        )
 3962|  5.45k|        {
 3963|  5.45k|            D(fprintf(stderr, "%*c+ import_from_as_names[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.import_from_as_name+"));
 3964|  5.45k|            _res = a;
 3965|  5.45k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3965:18): [True: 0, False: 5.45k]
  |  Branch (3965:34): [True: 5, False: 5.44k]
  |  Branch (3965:57): [True: 5, False: 0]
  ------------------
 3966|      5|                p->error_indicator = 1;
 3967|      5|                p->level--;
 3968|      5|                return NULL;
 3969|      5|            }
 3970|  5.44k|            goto done;
 3971|  5.45k|        }
 3972|     59|        p->mark = _mark;
 3973|     59|        D(fprintf(stderr, "%*c%s import_from_as_names[%d-%d]: %s failed!\n", p->level, ' ',
 3974|     59|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.import_from_as_name+"));
 3975|     59|    }
 3976|     59|    _res = NULL;
 3977|  5.50k|  done:
 3978|  5.50k|    p->level--;
 3979|  5.50k|    return _res;
 3980|     59|}
parser.c:_gather_20_rule:
29836|  5.51k|{
29837|  5.51k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  11.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (29837:9): [True: 0, False: 5.51k]
  |  Branch (29837:35): [True: 0, False: 5.51k]
  ------------------
29838|      0|        _Pypegen_stack_overflow(p);
29839|      0|    }
29840|  5.51k|    if (p->error_indicator) {
  ------------------
  |  Branch (29840:9): [True: 0, False: 5.51k]
  ------------------
29841|      0|        p->level--;
29842|      0|        return NULL;
29843|      0|    }
29844|  5.51k|    asdl_seq * _res = NULL;
29845|  5.51k|    int _mark = p->mark;
29846|  5.51k|    { // import_from_as_name _loop0_19
29847|  5.51k|        if (p->error_indicator) {
  ------------------
  |  Branch (29847:13): [True: 0, False: 5.51k]
  ------------------
29848|      0|            p->level--;
29849|      0|            return NULL;
29850|      0|        }
29851|  5.51k|        D(fprintf(stderr, "%*c> _gather_20[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "import_from_as_name _loop0_19"));
29852|  5.51k|        alias_ty elem;
29853|  5.51k|        asdl_seq * seq;
29854|  5.51k|        if (
29855|  5.51k|            (elem = import_from_as_name_rule(p))  // import_from_as_name
  ------------------
  |  Branch (29855:13): [True: 5.45k, False: 59]
  ------------------
29856|  5.45k|            &&
29857|  5.45k|            (seq = _loop0_19_rule(p))  // _loop0_19
  ------------------
  |  Branch (29857:13): [True: 5.45k, False: 0]
  ------------------
29858|  5.51k|        )
29859|  5.45k|        {
29860|  5.45k|            D(fprintf(stderr, "%*c+ _gather_20[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "import_from_as_name _loop0_19"));
29861|  5.45k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
29862|  5.45k|            goto done;
29863|  5.45k|        }
29864|     59|        p->mark = _mark;
29865|     59|        D(fprintf(stderr, "%*c%s _gather_20[%d-%d]: %s failed!\n", p->level, ' ',
29866|     59|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "import_from_as_name _loop0_19"));
29867|     59|    }
29868|     59|    _res = NULL;
29869|  5.51k|  done:
29870|  5.51k|    p->level--;
29871|  5.51k|    return _res;
29872|     59|}
parser.c:import_from_as_name_rule:
 3985|  18.4k|{
 3986|  18.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  36.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3986:9): [True: 0, False: 18.4k]
  |  Branch (3986:35): [True: 0, False: 18.4k]
  ------------------
 3987|      0|        _Pypegen_stack_overflow(p);
 3988|      0|    }
 3989|  18.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (3989:9): [True: 0, False: 18.4k]
  ------------------
 3990|      0|        p->level--;
 3991|      0|        return NULL;
 3992|      0|    }
 3993|  18.4k|    alias_ty _res = NULL;
 3994|  18.4k|    int _mark = p->mark;
 3995|  18.4k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3995:9): [True: 7.76k, False: 10.7k]
  |  Branch (3995:31): [True: 2, False: 7.75k]
  ------------------
 3996|      2|        p->error_indicator = 1;
 3997|      2|        p->level--;
 3998|      2|        return NULL;
 3999|      2|    }
 4000|  18.4k|    int _start_lineno = p->tokens[_mark]->lineno;
 4001|  18.4k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  18.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 18.4k]
  |  |  ------------------
  ------------------
 4002|  18.4k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 4003|  18.4k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  18.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 18.4k]
  |  |  ------------------
  ------------------
 4004|  18.4k|    if (p->call_invalid_rules) { // invalid_import_from_as_name
  ------------------
  |  Branch (4004:9): [True: 6.67k, False: 11.8k]
  ------------------
 4005|  6.67k|        if (p->error_indicator) {
  ------------------
  |  Branch (4005:13): [True: 0, False: 6.67k]
  ------------------
 4006|      0|            p->level--;
 4007|      0|            return NULL;
 4008|      0|        }
 4009|  6.67k|        D(fprintf(stderr, "%*c> import_from_as_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_import_from_as_name"));
 4010|  6.67k|        void *invalid_import_from_as_name_var;
 4011|  6.67k|        if (
 4012|  6.67k|            (invalid_import_from_as_name_var = invalid_import_from_as_name_rule(p))  // invalid_import_from_as_name
  ------------------
  |  Branch (4012:13): [True: 0, False: 6.67k]
  ------------------
 4013|  6.67k|        )
 4014|      0|        {
 4015|      0|            D(fprintf(stderr, "%*c+ import_from_as_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_import_from_as_name"));
 4016|      0|            _res = invalid_import_from_as_name_var;
 4017|      0|            goto done;
 4018|      0|        }
 4019|  6.67k|        p->mark = _mark;
 4020|  6.67k|        D(fprintf(stderr, "%*c%s import_from_as_name[%d-%d]: %s failed!\n", p->level, ' ',
 4021|  6.67k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_import_from_as_name"));
 4022|  6.67k|    }
 4023|  18.4k|    { // NAME ['as' NAME]
 4024|  18.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (4024:13): [True: 5, False: 18.4k]
  ------------------
 4025|      5|            p->level--;
 4026|      5|            return NULL;
 4027|      5|        }
 4028|  18.4k|        D(fprintf(stderr, "%*c> import_from_as_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME ['as' NAME]"));
 4029|  18.4k|        expr_ty a;
 4030|  18.4k|        void *b;
 4031|  18.4k|        if (
 4032|  18.4k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4032:13): [True: 18.3k, False: 88]
  ------------------
 4033|  18.3k|            &&
 4034|  18.3k|            (b = _tmp_21_rule(p), !p->error_indicator)  // ['as' NAME]
  ------------------
  |  Branch (4034:13): [True: 18.3k, False: 1]
  ------------------
 4035|  18.4k|        )
 4036|  18.3k|        {
 4037|  18.3k|            D(fprintf(stderr, "%*c+ import_from_as_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME ['as' NAME]"));
 4038|  18.3k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 4039|  18.3k|            if (_token == NULL) {
  ------------------
  |  Branch (4039:17): [True: 0, False: 18.3k]
  ------------------
 4040|      0|                p->level--;
 4041|      0|                return NULL;
 4042|      0|            }
 4043|  18.3k|            int _end_lineno = _token->end_lineno;
 4044|  18.3k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  18.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 18.3k]
  |  |  ------------------
  ------------------
 4045|  18.3k|            int _end_col_offset = _token->end_col_offset;
 4046|  18.3k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  18.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 18.3k]
  |  |  ------------------
  ------------------
 4047|  18.3k|            _res = _PyAST_alias ( a -> v . Name . id , ( b ) ? ( ( expr_ty ) b ) -> v . Name . id : NULL , EXTRA );
  ------------------
  |  |  281|  18.3k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (4047:56): [True: 1.45k, False: 16.9k]
  ------------------
 4048|  18.3k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4048:18): [True: 0, False: 18.3k]
  |  Branch (4048:34): [True: 0, False: 18.3k]
  |  Branch (4048:57): [True: 0, False: 0]
  ------------------
 4049|      0|                p->error_indicator = 1;
 4050|      0|                p->level--;
 4051|      0|                return NULL;
 4052|      0|            }
 4053|  18.3k|            goto done;
 4054|  18.3k|        }
 4055|     89|        p->mark = _mark;
 4056|     89|        D(fprintf(stderr, "%*c%s import_from_as_name[%d-%d]: %s failed!\n", p->level, ' ',
 4057|     89|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME ['as' NAME]"));
 4058|     89|    }
 4059|     89|    _res = NULL;
 4060|  18.4k|  done:
 4061|  18.4k|    p->level--;
 4062|  18.4k|    return _res;
 4063|     89|}
parser.c:invalid_import_from_as_name_rule:
24513|  6.67k|{
24514|  6.67k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  13.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24514:9): [True: 0, False: 6.67k]
  |  Branch (24514:35): [True: 0, False: 6.67k]
  ------------------
24515|      0|        _Pypegen_stack_overflow(p);
24516|      0|    }
24517|  6.67k|    if (p->error_indicator) {
  ------------------
  |  Branch (24517:9): [True: 0, False: 6.67k]
  ------------------
24518|      0|        p->level--;
24519|      0|        return NULL;
24520|      0|    }
24521|  6.67k|    void * _res = NULL;
24522|  6.67k|    int _mark = p->mark;
24523|  6.67k|    { // NAME 'as' !(NAME (',' | ')' | ';' | NEWLINE)) expression
24524|  6.67k|        if (p->error_indicator) {
  ------------------
  |  Branch (24524:13): [True: 0, False: 6.67k]
  ------------------
24525|      0|            p->level--;
24526|      0|            return NULL;
24527|      0|        }
24528|  6.67k|        D(fprintf(stderr, "%*c> invalid_import_from_as_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME 'as' !(NAME (',' | ')' | ';' | NEWLINE)) expression"));
24529|  6.67k|        Token * _keyword;
24530|  6.67k|        expr_ty a;
24531|  6.67k|        expr_ty name_var;
24532|  6.67k|        if (
24533|  6.67k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (24533:13): [True: 6.62k, False: 49]
  ------------------
24534|  6.62k|            &&
24535|  6.62k|            (_keyword = _PyPegen_expect_token(p, 698))  // token='as'
  ------------------
  |  Branch (24535:13): [True: 571, False: 6.05k]
  ------------------
24536|    571|            &&
24537|    571|            _PyPegen_lookahead(0, _tmp_139_rule, p)
  ------------------
  |  Branch (24537:13): [True: 5, False: 566]
  ------------------
24538|      5|            &&
24539|      5|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (24539:13): [True: 2, False: 3]
  ------------------
24540|  6.67k|        )
24541|      2|        {
24542|      2|            D(fprintf(stderr, "%*c+ invalid_import_from_as_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME 'as' !(NAME (',' | ')' | ';' | NEWLINE)) expression"));
24543|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use %s as import target" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  213|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
24544|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24544:18): [True: 2, False: 0]
  |  Branch (24544:34): [True: 0, False: 0]
  |  Branch (24544:57): [True: 2, False: 0]
  ------------------
24545|      2|                p->error_indicator = 1;
24546|      2|                p->level--;
24547|      2|                return NULL;
24548|      2|            }
24549|      0|            goto done;
24550|      2|        }
24551|  6.67k|        p->mark = _mark;
24552|  6.67k|        D(fprintf(stderr, "%*c%s invalid_import_from_as_name[%d-%d]: %s failed!\n", p->level, ' ',
24553|  6.67k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME 'as' !(NAME (',' | ')' | ';' | NEWLINE)) expression"));
24554|  6.67k|    }
24555|  6.67k|    _res = NULL;
24556|  6.67k|  done:
24557|  6.67k|    p->level--;
24558|  6.67k|    return _res;
24559|  6.67k|}
parser.c:_loop0_19_rule:
29760|  5.45k|{
29761|  5.45k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  10.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (29761:9): [True: 0, False: 5.45k]
  |  Branch (29761:35): [True: 0, False: 5.45k]
  ------------------
29762|      0|        _Pypegen_stack_overflow(p);
29763|      0|    }
29764|  5.45k|    if (p->error_indicator) {
  ------------------
  |  Branch (29764:9): [True: 0, False: 5.45k]
  ------------------
29765|      0|        p->level--;
29766|      0|        return NULL;
29767|      0|    }
29768|  5.45k|    void *_res = NULL;
29769|  5.45k|    int _mark = p->mark;
29770|  5.45k|    void **_children = PyMem_Malloc(sizeof(void *));
29771|  5.45k|    if (!_children) {
  ------------------
  |  Branch (29771:9): [True: 0, False: 5.45k]
  ------------------
29772|      0|        p->error_indicator = 1;
29773|      0|        PyErr_NoMemory();
29774|      0|        p->level--;
29775|      0|        return NULL;
29776|      0|    }
29777|  5.45k|    Py_ssize_t _children_capacity = 1;
29778|  5.45k|    Py_ssize_t _n = 0;
29779|  5.45k|    { // ',' import_from_as_name
29780|  5.45k|        if (p->error_indicator) {
  ------------------
  |  Branch (29780:13): [True: 0, False: 5.45k]
  ------------------
29781|      0|            p->level--;
29782|      0|            return NULL;
29783|      0|        }
29784|  5.45k|        D(fprintf(stderr, "%*c> _loop0_19[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' import_from_as_name"));
29785|  5.45k|        Token * _literal;
29786|  5.45k|        alias_ty elem;
29787|  5.45k|        while (
29788|  18.3k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (29788:13): [True: 12.9k, False: 5.41k]
  ------------------
29789|  12.9k|            &&
29790|  12.9k|            (elem = import_from_as_name_rule(p))  // import_from_as_name
  ------------------
  |  Branch (29790:13): [True: 12.9k, False: 37]
  ------------------
29791|  5.45k|        )
29792|  12.9k|        {
29793|  12.9k|            _res = elem;
29794|  12.9k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (29794:18): [True: 0, False: 12.9k]
  |  Branch (29794:34): [True: 0, False: 12.9k]
  |  Branch (29794:57): [True: 0, False: 0]
  ------------------
29795|      0|                p->error_indicator = 1;
29796|      0|                PyMem_Free(_children);
29797|      0|                p->level--;
29798|      0|                return NULL;
29799|      0|            }
29800|  12.9k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (29800:17): [True: 5.14k, False: 7.78k]
  ------------------
29801|  5.14k|                _children_capacity *= 2;
29802|  5.14k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
29803|  5.14k|                if (!_new_children) {
  ------------------
  |  Branch (29803:21): [True: 0, False: 5.14k]
  ------------------
29804|      0|                    PyMem_Free(_children);
29805|      0|                    p->error_indicator = 1;
29806|      0|                    PyErr_NoMemory();
29807|      0|                    p->level--;
29808|      0|                    return NULL;
29809|      0|                }
29810|  5.14k|                _children = _new_children;
29811|  5.14k|            }
29812|  12.9k|            _children[_n++] = _res;
29813|  12.9k|            _mark = p->mark;
29814|  12.9k|        }
29815|  5.45k|        p->mark = _mark;
29816|  5.45k|        D(fprintf(stderr, "%*c%s _loop0_19[%d-%d]: %s failed!\n", p->level, ' ',
29817|  5.45k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' import_from_as_name"));
29818|  5.45k|    }
29819|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
29820|  5.45k|    if (!_seq) {
  ------------------
  |  Branch (29820:9): [True: 0, False: 5.45k]
  ------------------
29821|      0|        PyMem_Free(_children);
29822|      0|        p->error_indicator = 1;
29823|      0|        PyErr_NoMemory();
29824|      0|        p->level--;
29825|      0|        return NULL;
29826|      0|    }
29827|  18.3k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  12.9k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  18.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (29827:28): [True: 12.9k, False: 5.45k]
  ------------------
29828|  5.45k|    PyMem_Free(_children);
29829|  5.45k|    p->level--;
29830|  5.45k|    return _seq;
29831|  5.45k|}
parser.c:invalid_import_from_targets_rule:
24623|     18|{
24624|     18|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     36|#  define MAXSTACK 6000
  ------------------
  |  Branch (24624:9): [True: 0, False: 18]
  |  Branch (24624:35): [True: 0, False: 18]
  ------------------
24625|      0|        _Pypegen_stack_overflow(p);
24626|      0|    }
24627|     18|    if (p->error_indicator) {
  ------------------
  |  Branch (24627:9): [True: 0, False: 18]
  ------------------
24628|      0|        p->level--;
24629|      0|        return NULL;
24630|      0|    }
24631|     18|    void * _res = NULL;
24632|     18|    int _mark = p->mark;
24633|     18|    { // import_from_as_names ',' NEWLINE
24634|     18|        if (p->error_indicator) {
  ------------------
  |  Branch (24634:13): [True: 0, False: 18]
  ------------------
24635|      0|            p->level--;
24636|      0|            return NULL;
24637|      0|        }
24638|     18|        D(fprintf(stderr, "%*c> invalid_import_from_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "import_from_as_names ',' NEWLINE"));
24639|     18|        Token * _literal;
24640|     18|        asdl_alias_seq* import_from_as_names_var;
24641|     18|        Token * newline_var;
24642|     18|        if (
24643|     18|            (import_from_as_names_var = import_from_as_names_rule(p))  // import_from_as_names
  ------------------
  |  Branch (24643:13): [True: 11, False: 7]
  ------------------
24644|     11|            &&
24645|     11|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (24645:13): [True: 11, False: 0]
  ------------------
24646|     11|            &&
24647|     11|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|     11|#define NEWLINE         4
  ------------------
  |  Branch (24647:13): [True: 6, False: 5]
  ------------------
24648|     18|        )
24649|      6|        {
24650|      6|            D(fprintf(stderr, "%*c+ invalid_import_from_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "import_from_as_names ',' NEWLINE"));
24651|      6|            _res = RAISE_SYNTAX_ERROR ( "trailing comma not allowed without surrounding parentheses" );
  ------------------
  |  |  207|      6|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
24652|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24652:18): [True: 6, False: 0]
  |  Branch (24652:34): [True: 0, False: 0]
  |  Branch (24652:57): [True: 6, False: 0]
  ------------------
24653|      6|                p->error_indicator = 1;
24654|      6|                p->level--;
24655|      6|                return NULL;
24656|      6|            }
24657|      0|            goto done;
24658|      6|        }
24659|     12|        p->mark = _mark;
24660|     12|        D(fprintf(stderr, "%*c%s invalid_import_from_targets[%d-%d]: %s failed!\n", p->level, ' ',
24661|     12|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "import_from_as_names ',' NEWLINE"));
24662|     12|    }
24663|      0|    { // NEWLINE
24664|     12|        if (p->error_indicator) {
  ------------------
  |  Branch (24664:13): [True: 0, False: 12]
  ------------------
24665|      0|            p->level--;
24666|      0|            return NULL;
24667|      0|        }
24668|     12|        D(fprintf(stderr, "%*c> invalid_import_from_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
24669|     12|        Token * token;
24670|     12|        if (
24671|     12|            (token = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|     12|#define NEWLINE         4
  ------------------
  |  Branch (24671:13): [True: 3, False: 9]
  ------------------
24672|     12|        )
24673|      3|        {
24674|      3|            D(fprintf(stderr, "%*c+ invalid_import_from_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
24675|      3|            _res = RAISE_SYNTAX_ERROR_STARTING_FROM ( token , "Expected one or more names after 'import'" );
  ------------------
  |  |  215|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   27|      3|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |                   RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   27|      3|#define CURRENT_POS (-5)
  |  |  ------------------
  ------------------
24676|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24676:18): [True: 3, False: 0]
  |  Branch (24676:34): [True: 0, False: 0]
  |  Branch (24676:57): [True: 3, False: 0]
  ------------------
24677|      3|                p->error_indicator = 1;
24678|      3|                p->level--;
24679|      3|                return NULL;
24680|      3|            }
24681|      0|            goto done;
24682|      3|        }
24683|      9|        p->mark = _mark;
24684|      9|        D(fprintf(stderr, "%*c%s invalid_import_from_targets[%d-%d]: %s failed!\n", p->level, ' ',
24685|      9|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE"));
24686|      9|    }
24687|      9|    _res = NULL;
24688|      9|  done:
24689|      9|    p->level--;
24690|      9|    return _res;
24691|      9|}
parser.c:_loop1_18_rule:
29688|  1.28k|{
29689|  1.28k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.56k|#  define MAXSTACK 6000
  ------------------
  |  Branch (29689:9): [True: 0, False: 1.28k]
  |  Branch (29689:35): [True: 0, False: 1.28k]
  ------------------
29690|      0|        _Pypegen_stack_overflow(p);
29691|      0|    }
29692|  1.28k|    if (p->error_indicator) {
  ------------------
  |  Branch (29692:9): [True: 0, False: 1.28k]
  ------------------
29693|      0|        p->level--;
29694|      0|        return NULL;
29695|      0|    }
29696|  1.28k|    void *_res = NULL;
29697|  1.28k|    int _mark = p->mark;
29698|  1.28k|    void **_children = PyMem_Malloc(sizeof(void *));
29699|  1.28k|    if (!_children) {
  ------------------
  |  Branch (29699:9): [True: 0, False: 1.28k]
  ------------------
29700|      0|        p->error_indicator = 1;
29701|      0|        PyErr_NoMemory();
29702|      0|        p->level--;
29703|      0|        return NULL;
29704|      0|    }
29705|  1.28k|    Py_ssize_t _children_capacity = 1;
29706|  1.28k|    Py_ssize_t _n = 0;
29707|  1.28k|    { // ('.' | '...')
29708|  1.28k|        if (p->error_indicator) {
  ------------------
  |  Branch (29708:13): [True: 0, False: 1.28k]
  ------------------
29709|      0|            p->level--;
29710|      0|            return NULL;
29711|      0|        }
29712|  1.28k|        D(fprintf(stderr, "%*c> _loop1_18[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('.' | '...')"));
29713|  1.28k|        void *_tmp_160_var;
29714|  1.28k|        while (
29715|  3.07k|            (_tmp_160_var = _tmp_160_rule(p))  // '.' | '...'
  ------------------
  |  Branch (29715:13): [True: 1.79k, False: 1.28k]
  ------------------
29716|  1.28k|        )
29717|  1.79k|        {
29718|  1.79k|            _res = _tmp_160_var;
29719|  1.79k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (29719:17): [True: 496, False: 1.29k]
  ------------------
29720|    496|                _children_capacity *= 2;
29721|    496|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
29722|    496|                if (!_new_children) {
  ------------------
  |  Branch (29722:21): [True: 0, False: 496]
  ------------------
29723|      0|                    PyMem_Free(_children);
29724|      0|                    p->error_indicator = 1;
29725|      0|                    PyErr_NoMemory();
29726|      0|                    p->level--;
29727|      0|                    return NULL;
29728|      0|                }
29729|    496|                _children = _new_children;
29730|    496|            }
29731|  1.79k|            _children[_n++] = _res;
29732|  1.79k|            _mark = p->mark;
29733|  1.79k|        }
29734|  1.28k|        p->mark = _mark;
29735|  1.28k|        D(fprintf(stderr, "%*c%s _loop1_18[%d-%d]: %s failed!\n", p->level, ' ',
29736|  1.28k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('.' | '...')"));
29737|  1.28k|    }
29738|  1.28k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (29738:9): [True: 71, False: 1.21k]
  |  Branch (29738:20): [True: 0, False: 1.21k]
  ------------------
29739|     71|        PyMem_Free(_children);
29740|     71|        p->level--;
29741|     71|        return NULL;
29742|     71|    }
29743|  1.21k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
29744|  1.21k|    if (!_seq) {
  ------------------
  |  Branch (29744:9): [True: 0, False: 1.21k]
  ------------------
29745|      0|        PyMem_Free(_children);
29746|      0|        p->error_indicator = 1;
29747|      0|        PyErr_NoMemory();
29748|      0|        p->level--;
29749|      0|        return NULL;
29750|      0|    }
29751|  3.00k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.79k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  3.00k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (29751:28): [True: 1.79k, False: 1.21k]
  ------------------
29752|  1.21k|    PyMem_Free(_children);
29753|  1.21k|    p->level--;
29754|  1.21k|    return _seq;
29755|  1.21k|}
parser.c:return_stmt_rule:
 2743|  1.93k|{
 2744|  1.93k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.87k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2744:9): [True: 0, False: 1.93k]
  |  Branch (2744:35): [True: 0, False: 1.93k]
  ------------------
 2745|      0|        _Pypegen_stack_overflow(p);
 2746|      0|    }
 2747|  1.93k|    if (p->error_indicator) {
  ------------------
  |  Branch (2747:9): [True: 0, False: 1.93k]
  ------------------
 2748|      0|        p->level--;
 2749|      0|        return NULL;
 2750|      0|    }
 2751|  1.93k|    stmt_ty _res = NULL;
 2752|  1.93k|    int _mark = p->mark;
 2753|  1.93k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (2753:9): [True: 0, False: 1.93k]
  |  Branch (2753:31): [True: 0, False: 0]
  ------------------
 2754|      0|        p->error_indicator = 1;
 2755|      0|        p->level--;
 2756|      0|        return NULL;
 2757|      0|    }
 2758|  1.93k|    int _start_lineno = p->tokens[_mark]->lineno;
 2759|  1.93k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.93k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.93k]
  |  |  ------------------
  ------------------
 2760|  1.93k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 2761|  1.93k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.93k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.93k]
  |  |  ------------------
  ------------------
 2762|  1.93k|    { // 'return' star_expressions?
 2763|  1.93k|        if (p->error_indicator) {
  ------------------
  |  Branch (2763:13): [True: 0, False: 1.93k]
  ------------------
 2764|      0|            p->level--;
 2765|      0|            return NULL;
 2766|      0|        }
 2767|  1.93k|        D(fprintf(stderr, "%*c> return_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'return' star_expressions?"));
 2768|  1.93k|        Token * _keyword;
 2769|  1.93k|        void *a;
 2770|  1.93k|        if (
 2771|  1.93k|            (_keyword = _PyPegen_expect_token(p, 522))  // token='return'
  ------------------
  |  Branch (2771:13): [True: 1.93k, False: 0]
  ------------------
 2772|  1.93k|            &&
 2773|  1.93k|            (a = star_expressions_rule(p), !p->error_indicator)  // star_expressions?
  ------------------
  |  Branch (2773:13): [True: 1.93k, False: 2]
  ------------------
 2774|  1.93k|        )
 2775|  1.93k|        {
 2776|  1.93k|            D(fprintf(stderr, "%*c+ return_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'return' star_expressions?"));
 2777|  1.93k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2778|  1.93k|            if (_token == NULL) {
  ------------------
  |  Branch (2778:17): [True: 0, False: 1.93k]
  ------------------
 2779|      0|                p->level--;
 2780|      0|                return NULL;
 2781|      0|            }
 2782|  1.93k|            int _end_lineno = _token->end_lineno;
 2783|  1.93k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.93k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.93k]
  |  |  ------------------
  ------------------
 2784|  1.93k|            int _end_col_offset = _token->end_col_offset;
 2785|  1.93k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.93k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.93k]
  |  |  ------------------
  ------------------
 2786|  1.93k|            _res = _PyAST_Return ( a , EXTRA );
  ------------------
  |  |  281|  1.93k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2787|  1.93k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2787:18): [True: 0, False: 1.93k]
  |  Branch (2787:34): [True: 0, False: 1.93k]
  |  Branch (2787:57): [True: 0, False: 0]
  ------------------
 2788|      0|                p->error_indicator = 1;
 2789|      0|                p->level--;
 2790|      0|                return NULL;
 2791|      0|            }
 2792|  1.93k|            goto done;
 2793|  1.93k|        }
 2794|      2|        p->mark = _mark;
 2795|      2|        D(fprintf(stderr, "%*c%s return_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2796|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'return' star_expressions?"));
 2797|      2|    }
 2798|      2|    _res = NULL;
 2799|  1.93k|  done:
 2800|  1.93k|    p->level--;
 2801|  1.93k|    return _res;
 2802|      2|}
parser.c:raise_stmt_rule:
 2811|  2.17k|{
 2812|  2.17k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.35k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2812:9): [True: 0, False: 2.17k]
  |  Branch (2812:35): [True: 0, False: 2.17k]
  ------------------
 2813|      0|        _Pypegen_stack_overflow(p);
 2814|      0|    }
 2815|  2.17k|    if (p->error_indicator) {
  ------------------
  |  Branch (2815:9): [True: 0, False: 2.17k]
  ------------------
 2816|      0|        p->level--;
 2817|      0|        return NULL;
 2818|      0|    }
 2819|  2.17k|    stmt_ty _res = NULL;
 2820|  2.17k|    int _mark = p->mark;
 2821|  2.17k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (2821:9): [True: 0, False: 2.17k]
  |  Branch (2821:31): [True: 0, False: 0]
  ------------------
 2822|      0|        p->error_indicator = 1;
 2823|      0|        p->level--;
 2824|      0|        return NULL;
 2825|      0|    }
 2826|  2.17k|    int _start_lineno = p->tokens[_mark]->lineno;
 2827|  2.17k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.17k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.17k]
  |  |  ------------------
  ------------------
 2828|  2.17k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 2829|  2.17k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.17k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.17k]
  |  |  ------------------
  ------------------
 2830|  2.17k|    { // 'raise' expression 'from' expression
 2831|  2.17k|        if (p->error_indicator) {
  ------------------
  |  Branch (2831:13): [True: 0, False: 2.17k]
  ------------------
 2832|      0|            p->level--;
 2833|      0|            return NULL;
 2834|      0|        }
 2835|  2.17k|        D(fprintf(stderr, "%*c> raise_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'raise' expression 'from' expression"));
 2836|  2.17k|        Token * _keyword;
 2837|  2.17k|        Token * _keyword_1;
 2838|  2.17k|        expr_ty a;
 2839|  2.17k|        expr_ty b;
 2840|  2.17k|        if (
 2841|  2.17k|            (_keyword = _PyPegen_expect_token(p, 632))  // token='raise'
  ------------------
  |  Branch (2841:13): [True: 2.17k, False: 0]
  ------------------
 2842|  2.17k|            &&
 2843|  2.17k|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (2843:13): [True: 1.20k, False: 976]
  ------------------
 2844|  1.20k|            &&
 2845|  1.20k|            (_keyword_1 = _PyPegen_expect_token(p, 650))  // token='from'
  ------------------
  |  Branch (2845:13): [True: 295, False: 908]
  ------------------
 2846|    295|            &&
 2847|    295|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (2847:13): [True: 290, False: 5]
  ------------------
 2848|  2.17k|        )
 2849|    290|        {
 2850|    290|            D(fprintf(stderr, "%*c+ raise_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'raise' expression 'from' expression"));
 2851|    290|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2852|    290|            if (_token == NULL) {
  ------------------
  |  Branch (2852:17): [True: 0, False: 290]
  ------------------
 2853|      0|                p->level--;
 2854|      0|                return NULL;
 2855|      0|            }
 2856|    290|            int _end_lineno = _token->end_lineno;
 2857|    290|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    290|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 290]
  |  |  ------------------
  ------------------
 2858|    290|            int _end_col_offset = _token->end_col_offset;
 2859|    290|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    290|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 290]
  |  |  ------------------
  ------------------
 2860|    290|            _res = _PyAST_Raise ( a , b , EXTRA );
  ------------------
  |  |  281|    290|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2861|    290|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2861:18): [True: 0, False: 290]
  |  Branch (2861:34): [True: 0, False: 290]
  |  Branch (2861:57): [True: 0, False: 0]
  ------------------
 2862|      0|                p->error_indicator = 1;
 2863|      0|                p->level--;
 2864|      0|                return NULL;
 2865|      0|            }
 2866|    290|            goto done;
 2867|    290|        }
 2868|  1.88k|        p->mark = _mark;
 2869|  1.88k|        D(fprintf(stderr, "%*c%s raise_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2870|  1.88k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'raise' expression 'from' expression"));
 2871|  1.88k|    }
 2872|  1.88k|    if (p->call_invalid_rules) { // invalid_raise_stmt
  ------------------
  |  Branch (2872:9): [True: 538, False: 1.35k]
  ------------------
 2873|    538|        if (p->error_indicator) {
  ------------------
  |  Branch (2873:13): [True: 4, False: 534]
  ------------------
 2874|      4|            p->level--;
 2875|      4|            return NULL;
 2876|      4|        }
 2877|    534|        D(fprintf(stderr, "%*c> raise_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_raise_stmt"));
 2878|    534|        void *invalid_raise_stmt_var;
 2879|    534|        if (
 2880|    534|            (invalid_raise_stmt_var = invalid_raise_stmt_rule(p))  // invalid_raise_stmt
  ------------------
  |  Branch (2880:13): [True: 0, False: 534]
  ------------------
 2881|    534|        )
 2882|      0|        {
 2883|      0|            D(fprintf(stderr, "%*c+ raise_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_raise_stmt"));
 2884|      0|            _res = invalid_raise_stmt_var;
 2885|      0|            goto done;
 2886|      0|        }
 2887|    534|        p->mark = _mark;
 2888|    534|        D(fprintf(stderr, "%*c%s raise_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2889|    534|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_raise_stmt"));
 2890|    534|    }
 2891|  1.88k|    { // 'raise' expression
 2892|  1.88k|        if (p->error_indicator) {
  ------------------
  |  Branch (2892:13): [True: 7, False: 1.87k]
  ------------------
 2893|      7|            p->level--;
 2894|      7|            return NULL;
 2895|      7|        }
 2896|  1.87k|        D(fprintf(stderr, "%*c> raise_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'raise' expression"));
 2897|  1.87k|        Token * _keyword;
 2898|  1.87k|        expr_ty a;
 2899|  1.87k|        if (
 2900|  1.87k|            (_keyword = _PyPegen_expect_token(p, 632))  // token='raise'
  ------------------
  |  Branch (2900:13): [True: 1.87k, False: 0]
  ------------------
 2901|  1.87k|            &&
 2902|  1.87k|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (2902:13): [True: 910, False: 968]
  ------------------
 2903|  1.87k|        )
 2904|    910|        {
 2905|    910|            D(fprintf(stderr, "%*c+ raise_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'raise' expression"));
 2906|    910|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2907|    910|            if (_token == NULL) {
  ------------------
  |  Branch (2907:17): [True: 0, False: 910]
  ------------------
 2908|      0|                p->level--;
 2909|      0|                return NULL;
 2910|      0|            }
 2911|    910|            int _end_lineno = _token->end_lineno;
 2912|    910|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    910|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 910]
  |  |  ------------------
  ------------------
 2913|    910|            int _end_col_offset = _token->end_col_offset;
 2914|    910|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    910|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 910]
  |  |  ------------------
  ------------------
 2915|    910|            _res = _PyAST_Raise ( a , NULL , EXTRA );
  ------------------
  |  |  281|    910|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2916|    910|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2916:18): [True: 0, False: 910]
  |  Branch (2916:34): [True: 0, False: 910]
  |  Branch (2916:57): [True: 0, False: 0]
  ------------------
 2917|      0|                p->error_indicator = 1;
 2918|      0|                p->level--;
 2919|      0|                return NULL;
 2920|      0|            }
 2921|    910|            goto done;
 2922|    910|        }
 2923|    968|        p->mark = _mark;
 2924|    968|        D(fprintf(stderr, "%*c%s raise_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2925|    968|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'raise' expression"));
 2926|    968|    }
 2927|      0|    { // 'raise'
 2928|    968|        if (p->error_indicator) {
  ------------------
  |  Branch (2928:13): [True: 0, False: 968]
  ------------------
 2929|      0|            p->level--;
 2930|      0|            return NULL;
 2931|      0|        }
 2932|    968|        D(fprintf(stderr, "%*c> raise_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'raise'"));
 2933|    968|        Token * _keyword;
 2934|    968|        if (
 2935|    968|            (_keyword = _PyPegen_expect_token(p, 632))  // token='raise'
  ------------------
  |  Branch (2935:13): [True: 968, False: 0]
  ------------------
 2936|    968|        )
 2937|    968|        {
 2938|    968|            D(fprintf(stderr, "%*c+ raise_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'raise'"));
 2939|    968|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2940|    968|            if (_token == NULL) {
  ------------------
  |  Branch (2940:17): [True: 0, False: 968]
  ------------------
 2941|      0|                p->level--;
 2942|      0|                return NULL;
 2943|      0|            }
 2944|    968|            int _end_lineno = _token->end_lineno;
 2945|    968|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    968|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 968]
  |  |  ------------------
  ------------------
 2946|    968|            int _end_col_offset = _token->end_col_offset;
 2947|    968|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    968|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 968]
  |  |  ------------------
  ------------------
 2948|    968|            _res = _PyAST_Raise ( NULL , NULL , EXTRA );
  ------------------
  |  |  281|    968|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2949|    968|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2949:18): [True: 0, False: 968]
  |  Branch (2949:34): [True: 0, False: 968]
  |  Branch (2949:57): [True: 0, False: 0]
  ------------------
 2950|      0|                p->error_indicator = 1;
 2951|      0|                p->level--;
 2952|      0|                return NULL;
 2953|      0|            }
 2954|    968|            goto done;
 2955|    968|        }
 2956|      0|        p->mark = _mark;
 2957|      0|        D(fprintf(stderr, "%*c%s raise_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2958|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'raise'"));
 2959|      0|    }
 2960|      0|    _res = NULL;
 2961|  2.16k|  done:
 2962|  2.16k|    p->level--;
 2963|  2.16k|    return _res;
 2964|      0|}
parser.c:invalid_raise_stmt_rule:
22490|    534|{
22491|    534|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.06k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22491:9): [True: 0, False: 534]
  |  Branch (22491:35): [True: 0, False: 534]
  ------------------
22492|      0|        _Pypegen_stack_overflow(p);
22493|      0|    }
22494|    534|    if (p->error_indicator) {
  ------------------
  |  Branch (22494:9): [True: 0, False: 534]
  ------------------
22495|      0|        p->level--;
22496|      0|        return NULL;
22497|      0|    }
22498|    534|    void * _res = NULL;
22499|    534|    int _mark = p->mark;
22500|    534|    { // 'raise' 'from'
22501|    534|        if (p->error_indicator) {
  ------------------
  |  Branch (22501:13): [True: 0, False: 534]
  ------------------
22502|      0|            p->level--;
22503|      0|            return NULL;
22504|      0|        }
22505|    534|        D(fprintf(stderr, "%*c> invalid_raise_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'raise' 'from'"));
22506|    534|        Token * a;
22507|    534|        Token * b;
22508|    534|        if (
22509|    534|            (a = _PyPegen_expect_token(p, 632))  // token='raise'
  ------------------
  |  Branch (22509:13): [True: 534, False: 0]
  ------------------
22510|    534|            &&
22511|    534|            (b = _PyPegen_expect_token(p, 650))  // token='from'
  ------------------
  |  Branch (22511:13): [True: 2, False: 532]
  ------------------
22512|    534|        )
22513|      2|        {
22514|      2|            D(fprintf(stderr, "%*c+ invalid_raise_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'raise' 'from'"));
22515|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "did you forget an expression between 'raise' and 'from'?" );
  ------------------
  |  |  211|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22516|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22516:18): [True: 2, False: 0]
  |  Branch (22516:34): [True: 0, False: 0]
  |  Branch (22516:57): [True: 2, False: 0]
  ------------------
22517|      2|                p->error_indicator = 1;
22518|      2|                p->level--;
22519|      2|                return NULL;
22520|      2|            }
22521|      0|            goto done;
22522|      2|        }
22523|    532|        p->mark = _mark;
22524|    532|        D(fprintf(stderr, "%*c%s invalid_raise_stmt[%d-%d]: %s failed!\n", p->level, ' ',
22525|    532|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'raise' 'from'"));
22526|    532|    }
22527|      0|    { // 'raise' expression 'from'
22528|    532|        if (p->error_indicator) {
  ------------------
  |  Branch (22528:13): [True: 0, False: 532]
  ------------------
22529|      0|            p->level--;
22530|      0|            return NULL;
22531|      0|        }
22532|    532|        D(fprintf(stderr, "%*c> invalid_raise_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'raise' expression 'from'"));
22533|    532|        Token * _keyword;
22534|    532|        Token * a;
22535|    532|        expr_ty expression_var;
22536|    532|        if (
22537|    532|            (_keyword = _PyPegen_expect_token(p, 632))  // token='raise'
  ------------------
  |  Branch (22537:13): [True: 532, False: 0]
  ------------------
22538|    532|            &&
22539|    532|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (22539:13): [True: 289, False: 243]
  ------------------
22540|    289|            &&
22541|    289|            (a = _PyPegen_expect_token(p, 650))  // token='from'
  ------------------
  |  Branch (22541:13): [True: 2, False: 287]
  ------------------
22542|    532|        )
22543|      2|        {
22544|      2|            D(fprintf(stderr, "%*c+ invalid_raise_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'raise' expression 'from'"));
22545|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "did you forget an expression after 'from'?" );
  ------------------
  |  |  213|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22546|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22546:18): [True: 2, False: 0]
  |  Branch (22546:34): [True: 0, False: 0]
  |  Branch (22546:57): [True: 2, False: 0]
  ------------------
22547|      2|                p->error_indicator = 1;
22548|      2|                p->level--;
22549|      2|                return NULL;
22550|      2|            }
22551|      0|            goto done;
22552|      2|        }
22553|    530|        p->mark = _mark;
22554|    530|        D(fprintf(stderr, "%*c%s invalid_raise_stmt[%d-%d]: %s failed!\n", p->level, ' ',
22555|    530|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'raise' expression 'from'"));
22556|    530|    }
22557|    530|    _res = NULL;
22558|    530|  done:
22559|    530|    p->level--;
22560|    530|    return _res;
22561|    530|}
parser.c:del_stmt_rule:
 3280|  1.96k|{
 3281|  1.96k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.93k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3281:9): [True: 0, False: 1.96k]
  |  Branch (3281:35): [True: 0, False: 1.96k]
  ------------------
 3282|      0|        _Pypegen_stack_overflow(p);
 3283|      0|    }
 3284|  1.96k|    if (p->error_indicator) {
  ------------------
  |  Branch (3284:9): [True: 0, False: 1.96k]
  ------------------
 3285|      0|        p->level--;
 3286|      0|        return NULL;
 3287|      0|    }
 3288|  1.96k|    stmt_ty _res = NULL;
 3289|  1.96k|    int _mark = p->mark;
 3290|  1.96k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3290:9): [True: 0, False: 1.96k]
  |  Branch (3290:31): [True: 0, False: 0]
  ------------------
 3291|      0|        p->error_indicator = 1;
 3292|      0|        p->level--;
 3293|      0|        return NULL;
 3294|      0|    }
 3295|  1.96k|    int _start_lineno = p->tokens[_mark]->lineno;
 3296|  1.96k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.96k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.96k]
  |  |  ------------------
  ------------------
 3297|  1.96k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3298|  1.96k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.96k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.96k]
  |  |  ------------------
  ------------------
 3299|  1.96k|    { // 'del' del_targets &(';' | NEWLINE)
 3300|  1.96k|        if (p->error_indicator) {
  ------------------
  |  Branch (3300:13): [True: 0, False: 1.96k]
  ------------------
 3301|      0|            p->level--;
 3302|      0|            return NULL;
 3303|      0|        }
 3304|  1.96k|        D(fprintf(stderr, "%*c> del_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'del' del_targets &(';' | NEWLINE)"));
 3305|  1.96k|        Token * _keyword;
 3306|  1.96k|        asdl_expr_seq* a;
 3307|  1.96k|        if (
 3308|  1.96k|            (_keyword = _PyPegen_expect_token(p, 634))  // token='del'
  ------------------
  |  Branch (3308:13): [True: 1.96k, False: 0]
  ------------------
 3309|  1.96k|            &&
 3310|  1.96k|            (a = del_targets_rule(p))  // del_targets
  ------------------
  |  Branch (3310:13): [True: 1.84k, False: 120]
  ------------------
 3311|  1.84k|            &&
 3312|  1.84k|            _PyPegen_lookahead(1, _tmp_15_rule, p)
  ------------------
  |  Branch (3312:13): [True: 1.74k, False: 101]
  ------------------
 3313|  1.96k|        )
 3314|  1.74k|        {
 3315|  1.74k|            D(fprintf(stderr, "%*c+ del_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'del' del_targets &(';' | NEWLINE)"));
 3316|  1.74k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3317|  1.74k|            if (_token == NULL) {
  ------------------
  |  Branch (3317:17): [True: 0, False: 1.74k]
  ------------------
 3318|      0|                p->level--;
 3319|      0|                return NULL;
 3320|      0|            }
 3321|  1.74k|            int _end_lineno = _token->end_lineno;
 3322|  1.74k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.74k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.74k]
  |  |  ------------------
  ------------------
 3323|  1.74k|            int _end_col_offset = _token->end_col_offset;
 3324|  1.74k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.74k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.74k]
  |  |  ------------------
  ------------------
 3325|  1.74k|            _res = _PyAST_Delete ( a , EXTRA );
  ------------------
  |  |  281|  1.74k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3326|  1.74k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3326:18): [True: 0, False: 1.74k]
  |  Branch (3326:34): [True: 0, False: 1.74k]
  |  Branch (3326:57): [True: 0, False: 0]
  ------------------
 3327|      0|                p->error_indicator = 1;
 3328|      0|                p->level--;
 3329|      0|                return NULL;
 3330|      0|            }
 3331|  1.74k|            goto done;
 3332|  1.74k|        }
 3333|    221|        p->mark = _mark;
 3334|    221|        D(fprintf(stderr, "%*c%s del_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3335|    221|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'del' del_targets &(';' | NEWLINE)"));
 3336|    221|    }
 3337|    221|    if (p->call_invalid_rules) { // invalid_del_stmt
  ------------------
  |  Branch (3337:9): [True: 106, False: 115]
  ------------------
 3338|    106|        if (p->error_indicator) {
  ------------------
  |  Branch (3338:13): [True: 16, False: 90]
  ------------------
 3339|     16|            p->level--;
 3340|     16|            return NULL;
 3341|     16|        }
 3342|     90|        D(fprintf(stderr, "%*c> del_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_del_stmt"));
 3343|     90|        void *invalid_del_stmt_var;
 3344|     90|        if (
 3345|     90|            (invalid_del_stmt_var = invalid_del_stmt_rule(p))  // invalid_del_stmt
  ------------------
  |  Branch (3345:13): [True: 0, False: 90]
  ------------------
 3346|     90|        )
 3347|      0|        {
 3348|      0|            D(fprintf(stderr, "%*c+ del_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_del_stmt"));
 3349|      0|            _res = invalid_del_stmt_var;
 3350|      0|            goto done;
 3351|      0|        }
 3352|     90|        p->mark = _mark;
 3353|     90|        D(fprintf(stderr, "%*c%s del_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3354|     90|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_del_stmt"));
 3355|     90|    }
 3356|    205|    _res = NULL;
 3357|  1.95k|  done:
 3358|  1.95k|    p->level--;
 3359|  1.95k|    return _res;
 3360|    205|}
parser.c:del_targets_rule:
20390|  5.83k|{
20391|  5.83k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  11.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20391:9): [True: 0, False: 5.83k]
  |  Branch (20391:35): [True: 0, False: 5.83k]
  ------------------
20392|      0|        _Pypegen_stack_overflow(p);
20393|      0|    }
20394|  5.83k|    if (p->error_indicator) {
  ------------------
  |  Branch (20394:9): [True: 0, False: 5.83k]
  ------------------
20395|      0|        p->level--;
20396|      0|        return NULL;
20397|      0|    }
20398|  5.83k|    asdl_expr_seq* _res = NULL;
20399|  5.83k|    int _mark = p->mark;
20400|  5.83k|    { // ','.del_target+ ','?
20401|  5.83k|        if (p->error_indicator) {
  ------------------
  |  Branch (20401:13): [True: 0, False: 5.83k]
  ------------------
20402|      0|            p->level--;
20403|      0|            return NULL;
20404|      0|        }
20405|  5.83k|        D(fprintf(stderr, "%*c> del_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.del_target+ ','?"));
20406|  5.83k|        void *_opt_var;
20407|  5.83k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  5.83k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 5.83k]
  |  |  ------------------
  ------------------
20408|  5.83k|        asdl_expr_seq* a;
20409|  5.83k|        if (
20410|  5.83k|            (a = (asdl_expr_seq*)_gather_103_rule(p))  // ','.del_target+
  ------------------
  |  Branch (20410:13): [True: 3.94k, False: 1.89k]
  ------------------
20411|  3.94k|            &&
20412|  3.94k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (20412:13): [True: 3.93k, False: 6]
  ------------------
20413|  5.83k|        )
20414|  3.93k|        {
20415|  3.93k|            D(fprintf(stderr, "%*c+ del_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.del_target+ ','?"));
20416|  3.93k|            _res = a;
20417|  3.93k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20417:18): [True: 0, False: 3.93k]
  |  Branch (20417:34): [True: 0, False: 3.93k]
  |  Branch (20417:57): [True: 0, False: 0]
  ------------------
20418|      0|                p->error_indicator = 1;
20419|      0|                p->level--;
20420|      0|                return NULL;
20421|      0|            }
20422|  3.93k|            goto done;
20423|  3.93k|        }
20424|  1.90k|        p->mark = _mark;
20425|  1.90k|        D(fprintf(stderr, "%*c%s del_targets[%d-%d]: %s failed!\n", p->level, ' ',
20426|  1.90k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.del_target+ ','?"));
20427|  1.90k|    }
20428|  1.90k|    _res = NULL;
20429|  5.83k|  done:
20430|  5.83k|    p->level--;
20431|  5.83k|    return _res;
20432|  1.90k|}
parser.c:_gather_103_rule:
35068|  5.83k|{
35069|  5.83k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  11.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (35069:9): [True: 0, False: 5.83k]
  |  Branch (35069:35): [True: 0, False: 5.83k]
  ------------------
35070|      0|        _Pypegen_stack_overflow(p);
35071|      0|    }
35072|  5.83k|    if (p->error_indicator) {
  ------------------
  |  Branch (35072:9): [True: 0, False: 5.83k]
  ------------------
35073|      0|        p->level--;
35074|      0|        return NULL;
35075|      0|    }
35076|  5.83k|    asdl_seq * _res = NULL;
35077|  5.83k|    int _mark = p->mark;
35078|  5.83k|    { // del_target _loop0_102
35079|  5.83k|        if (p->error_indicator) {
  ------------------
  |  Branch (35079:13): [True: 0, False: 5.83k]
  ------------------
35080|      0|            p->level--;
35081|      0|            return NULL;
35082|      0|        }
35083|  5.83k|        D(fprintf(stderr, "%*c> _gather_103[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "del_target _loop0_102"));
35084|  5.83k|        expr_ty elem;
35085|  5.83k|        asdl_seq * seq;
35086|  5.83k|        if (
35087|  5.83k|            (elem = del_target_rule(p))  // del_target
  ------------------
  |  Branch (35087:13): [True: 3.94k, False: 1.89k]
  ------------------
35088|  3.94k|            &&
35089|  3.94k|            (seq = _loop0_102_rule(p))  // _loop0_102
  ------------------
  |  Branch (35089:13): [True: 3.94k, False: 0]
  ------------------
35090|  5.83k|        )
35091|  3.94k|        {
35092|  3.94k|            D(fprintf(stderr, "%*c+ _gather_103[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "del_target _loop0_102"));
35093|  3.94k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
35094|  3.94k|            goto done;
35095|  3.94k|        }
35096|  1.89k|        p->mark = _mark;
35097|  1.89k|        D(fprintf(stderr, "%*c%s _gather_103[%d-%d]: %s failed!\n", p->level, ' ',
35098|  1.89k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "del_target _loop0_102"));
35099|  1.89k|    }
35100|  1.89k|    _res = NULL;
35101|  5.83k|  done:
35102|  5.83k|    p->level--;
35103|  5.83k|    return _res;
35104|  1.89k|}
parser.c:del_target_rule:
20440|  16.7k|{
20441|  16.7k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  33.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20441:9): [True: 0, False: 16.7k]
  |  Branch (20441:35): [True: 0, False: 16.7k]
  ------------------
20442|      0|        _Pypegen_stack_overflow(p);
20443|      0|    }
20444|  16.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (20444:9): [True: 0, False: 16.7k]
  ------------------
20445|      0|        p->level--;
20446|      0|        return NULL;
20447|      0|    }
20448|  16.7k|    expr_ty _res = NULL;
20449|  16.7k|    if (_PyPegen_is_memoized(p, del_target_type, &_res)) {
  ------------------
  |  |  293|  16.7k|#define del_target_type 1204
  ------------------
  |  Branch (20449:9): [True: 2.57k, False: 14.2k]
  ------------------
20450|  2.57k|        p->level--;
20451|  2.57k|        return _res;
20452|  2.57k|    }
20453|  14.2k|    int _mark = p->mark;
20454|  14.2k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (20454:9): [True: 0, False: 14.2k]
  |  Branch (20454:31): [True: 0, False: 0]
  ------------------
20455|      0|        p->error_indicator = 1;
20456|      0|        p->level--;
20457|      0|        return NULL;
20458|      0|    }
20459|  14.2k|    int _start_lineno = p->tokens[_mark]->lineno;
20460|  14.2k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  14.2k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 14.2k]
  |  |  ------------------
  ------------------
20461|  14.2k|    int _start_col_offset = p->tokens[_mark]->col_offset;
20462|  14.2k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  14.2k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 14.2k]
  |  |  ------------------
  ------------------
20463|  14.2k|    { // t_primary '.' NAME !t_lookahead
20464|  14.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (20464:13): [True: 0, False: 14.2k]
  ------------------
20465|      0|            p->level--;
20466|      0|            return NULL;
20467|      0|        }
20468|  14.2k|        D(fprintf(stderr, "%*c> del_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '.' NAME !t_lookahead"));
20469|  14.2k|        Token * _literal;
20470|  14.2k|        expr_ty a;
20471|  14.2k|        expr_ty b;
20472|  14.2k|        if (
20473|  14.2k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (20473:13): [True: 2.36k, False: 11.8k]
  ------------------
20474|  2.36k|            &&
20475|  2.36k|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (20475:13): [True: 1.77k, False: 588]
  ------------------
20476|  1.77k|            &&
20477|  1.77k|            (b = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (20477:13): [True: 1.75k, False: 15]
  ------------------
20478|  1.75k|            &&
20479|  1.75k|            _PyPegen_lookahead(0, t_lookahead_rule, p)
  ------------------
  |  Branch (20479:13): [True: 1.75k, False: 0]
  ------------------
20480|  14.2k|        )
20481|  1.75k|        {
20482|  1.75k|            D(fprintf(stderr, "%*c+ del_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '.' NAME !t_lookahead"));
20483|  1.75k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
20484|  1.75k|            if (_token == NULL) {
  ------------------
  |  Branch (20484:17): [True: 0, False: 1.75k]
  ------------------
20485|      0|                p->level--;
20486|      0|                return NULL;
20487|      0|            }
20488|  1.75k|            int _end_lineno = _token->end_lineno;
20489|  1.75k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.75k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.75k]
  |  |  ------------------
  ------------------
20490|  1.75k|            int _end_col_offset = _token->end_col_offset;
20491|  1.75k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.75k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.75k]
  |  |  ------------------
  ------------------
20492|  1.75k|            _res = _PyAST_Attribute ( a , b -> v . Name . id , Del , EXTRA );
  ------------------
  |  |  281|  1.75k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
20493|  1.75k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20493:18): [True: 0, False: 1.75k]
  |  Branch (20493:34): [True: 0, False: 1.75k]
  |  Branch (20493:57): [True: 0, False: 0]
  ------------------
20494|      0|                p->error_indicator = 1;
20495|      0|                p->level--;
20496|      0|                return NULL;
20497|      0|            }
20498|  1.75k|            goto done;
20499|  1.75k|        }
20500|  12.4k|        p->mark = _mark;
20501|  12.4k|        D(fprintf(stderr, "%*c%s del_target[%d-%d]: %s failed!\n", p->level, ' ',
20502|  12.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '.' NAME !t_lookahead"));
20503|  12.4k|    }
20504|      0|    { // t_primary '[' slices ']' !t_lookahead
20505|  12.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (20505:13): [True: 17, False: 12.4k]
  ------------------
20506|     17|            p->level--;
20507|     17|            return NULL;
20508|     17|        }
20509|  12.4k|        D(fprintf(stderr, "%*c> del_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '[' slices ']' !t_lookahead"));
20510|  12.4k|        Token * _literal;
20511|  12.4k|        Token * _literal_1;
20512|  12.4k|        expr_ty a;
20513|  12.4k|        expr_ty b;
20514|  12.4k|        if (
20515|  12.4k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (20515:13): [True: 603, False: 11.8k]
  ------------------
20516|    603|            &&
20517|    603|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (20517:13): [True: 541, False: 62]
  ------------------
20518|    541|            &&
20519|    541|            (b = slices_rule(p))  // slices
  ------------------
  |  Branch (20519:13): [True: 531, False: 10]
  ------------------
20520|    531|            &&
20521|    531|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (20521:13): [True: 526, False: 5]
  ------------------
20522|    526|            &&
20523|    526|            _PyPegen_lookahead(0, t_lookahead_rule, p)
  ------------------
  |  Branch (20523:13): [True: 526, False: 0]
  ------------------
20524|  12.4k|        )
20525|    526|        {
20526|    526|            D(fprintf(stderr, "%*c+ del_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '[' slices ']' !t_lookahead"));
20527|    526|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
20528|    526|            if (_token == NULL) {
  ------------------
  |  Branch (20528:17): [True: 0, False: 526]
  ------------------
20529|      0|                p->level--;
20530|      0|                return NULL;
20531|      0|            }
20532|    526|            int _end_lineno = _token->end_lineno;
20533|    526|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    526|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 526]
  |  |  ------------------
  ------------------
20534|    526|            int _end_col_offset = _token->end_col_offset;
20535|    526|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    526|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 526]
  |  |  ------------------
  ------------------
20536|    526|            _res = _PyAST_Subscript ( a , b , Del , EXTRA );
  ------------------
  |  |  281|    526|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
20537|    526|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20537:18): [True: 0, False: 526]
  |  Branch (20537:34): [True: 0, False: 526]
  |  Branch (20537:57): [True: 0, False: 0]
  ------------------
20538|      0|                p->error_indicator = 1;
20539|      0|                p->level--;
20540|      0|                return NULL;
20541|      0|            }
20542|    526|            goto done;
20543|    526|        }
20544|  11.9k|        p->mark = _mark;
20545|  11.9k|        D(fprintf(stderr, "%*c%s del_target[%d-%d]: %s failed!\n", p->level, ' ',
20546|  11.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '[' slices ']' !t_lookahead"));
20547|  11.9k|    }
20548|      0|    { // del_t_atom
20549|  11.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (20549:13): [True: 0, False: 11.9k]
  ------------------
20550|      0|            p->level--;
20551|      0|            return NULL;
20552|      0|        }
20553|  11.9k|        D(fprintf(stderr, "%*c> del_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "del_t_atom"));
20554|  11.9k|        expr_ty del_t_atom_var;
20555|  11.9k|        if (
20556|  11.9k|            (del_t_atom_var = del_t_atom_rule(p))  // del_t_atom
  ------------------
  |  Branch (20556:13): [True: 8.62k, False: 3.27k]
  ------------------
20557|  11.9k|        )
20558|  8.62k|        {
20559|  8.62k|            D(fprintf(stderr, "%*c+ del_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "del_t_atom"));
20560|  8.62k|            _res = del_t_atom_var;
20561|  8.62k|            goto done;
20562|  8.62k|        }
20563|  3.27k|        p->mark = _mark;
20564|  3.27k|        D(fprintf(stderr, "%*c%s del_target[%d-%d]: %s failed!\n", p->level, ' ',
20565|  3.27k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "del_t_atom"));
20566|  3.27k|    }
20567|  3.27k|    _res = NULL;
20568|  14.1k|  done:
20569|  14.1k|    _PyPegen_insert_memo(p, _mark, del_target_type, _res);
  ------------------
  |  |  293|  14.1k|#define del_target_type 1204
  ------------------
20570|  14.1k|    p->level--;
20571|  14.1k|    return _res;
20572|  3.27k|}
parser.c:del_t_atom_rule:
20577|  11.9k|{
20578|  11.9k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  23.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20578:9): [True: 0, False: 11.9k]
  |  Branch (20578:35): [True: 0, False: 11.9k]
  ------------------
20579|      0|        _Pypegen_stack_overflow(p);
20580|      0|    }
20581|  11.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (20581:9): [True: 0, False: 11.9k]
  ------------------
20582|      0|        p->level--;
20583|      0|        return NULL;
20584|      0|    }
20585|  11.9k|    expr_ty _res = NULL;
20586|  11.9k|    int _mark = p->mark;
20587|  11.9k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (20587:9): [True: 0, False: 11.9k]
  |  Branch (20587:31): [True: 0, False: 0]
  ------------------
20588|      0|        p->error_indicator = 1;
20589|      0|        p->level--;
20590|      0|        return NULL;
20591|      0|    }
20592|  11.9k|    int _start_lineno = p->tokens[_mark]->lineno;
20593|  11.9k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  11.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 11.9k]
  |  |  ------------------
  ------------------
20594|  11.9k|    int _start_col_offset = p->tokens[_mark]->col_offset;
20595|  11.9k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  11.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 11.9k]
  |  |  ------------------
  ------------------
20596|  11.9k|    { // NAME
20597|  11.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (20597:13): [True: 0, False: 11.9k]
  ------------------
20598|      0|            p->level--;
20599|      0|            return NULL;
20600|      0|        }
20601|  11.9k|        D(fprintf(stderr, "%*c> del_t_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
20602|  11.9k|        expr_ty a;
20603|  11.9k|        if (
20604|  11.9k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (20604:13): [True: 6.03k, False: 5.86k]
  ------------------
20605|  11.9k|        )
20606|  6.03k|        {
20607|  6.03k|            D(fprintf(stderr, "%*c+ del_t_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
20608|  6.03k|            _res = _PyPegen_set_expr_context ( p , a , Del );
20609|  6.03k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20609:18): [True: 0, False: 6.03k]
  |  Branch (20609:34): [True: 0, False: 6.03k]
  |  Branch (20609:57): [True: 0, False: 0]
  ------------------
20610|      0|                p->error_indicator = 1;
20611|      0|                p->level--;
20612|      0|                return NULL;
20613|      0|            }
20614|  6.03k|            goto done;
20615|  6.03k|        }
20616|  5.86k|        p->mark = _mark;
20617|  5.86k|        D(fprintf(stderr, "%*c%s del_t_atom[%d-%d]: %s failed!\n", p->level, ' ',
20618|  5.86k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
20619|  5.86k|    }
20620|      0|    { // '(' del_target ')'
20621|  5.86k|        if (p->error_indicator) {
  ------------------
  |  Branch (20621:13): [True: 0, False: 5.86k]
  ------------------
20622|      0|            p->level--;
20623|      0|            return NULL;
20624|      0|        }
20625|  5.86k|        D(fprintf(stderr, "%*c> del_t_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' del_target ')'"));
20626|  5.86k|        Token * _literal;
20627|  5.86k|        Token * _literal_1;
20628|  5.86k|        expr_ty a;
20629|  5.86k|        if (
20630|  5.86k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (20630:13): [True: 2.80k, False: 3.06k]
  ------------------
20631|  2.80k|            &&
20632|  2.80k|            (a = del_target_rule(p))  // del_target
  ------------------
  |  Branch (20632:13): [True: 1.58k, False: 1.21k]
  ------------------
20633|  1.58k|            &&
20634|  1.58k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (20634:13): [True: 233, False: 1.35k]
  ------------------
20635|  5.86k|        )
20636|    233|        {
20637|    233|            D(fprintf(stderr, "%*c+ del_t_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' del_target ')'"));
20638|    233|            _res = _PyPegen_set_expr_context ( p , a , Del );
20639|    233|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20639:18): [True: 0, False: 233]
  |  Branch (20639:34): [True: 0, False: 233]
  |  Branch (20639:57): [True: 0, False: 0]
  ------------------
20640|      0|                p->error_indicator = 1;
20641|      0|                p->level--;
20642|      0|                return NULL;
20643|      0|            }
20644|    233|            goto done;
20645|    233|        }
20646|  5.63k|        p->mark = _mark;
20647|  5.63k|        D(fprintf(stderr, "%*c%s del_t_atom[%d-%d]: %s failed!\n", p->level, ' ',
20648|  5.63k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' del_target ')'"));
20649|  5.63k|    }
20650|      0|    { // '(' del_targets? ')'
20651|  5.63k|        if (p->error_indicator) {
  ------------------
  |  Branch (20651:13): [True: 0, False: 5.63k]
  ------------------
20652|      0|            p->level--;
20653|      0|            return NULL;
20654|      0|        }
20655|  5.63k|        D(fprintf(stderr, "%*c> del_t_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' del_targets? ')'"));
20656|  5.63k|        Token * _literal;
20657|  5.63k|        Token * _literal_1;
20658|  5.63k|        void *a;
20659|  5.63k|        if (
20660|  5.63k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (20660:13): [True: 2.56k, False: 3.06k]
  ------------------
20661|  2.56k|            &&
20662|  2.56k|            (a = del_targets_rule(p), !p->error_indicator)  // del_targets?
  ------------------
  |  Branch (20662:13): [True: 2.56k, False: 0]
  ------------------
20663|  2.56k|            &&
20664|  2.56k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (20664:13): [True: 1.63k, False: 932]
  ------------------
20665|  5.63k|        )
20666|  1.63k|        {
20667|  1.63k|            D(fprintf(stderr, "%*c+ del_t_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' del_targets? ')'"));
20668|  1.63k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
20669|  1.63k|            if (_token == NULL) {
  ------------------
  |  Branch (20669:17): [True: 0, False: 1.63k]
  ------------------
20670|      0|                p->level--;
20671|      0|                return NULL;
20672|      0|            }
20673|  1.63k|            int _end_lineno = _token->end_lineno;
20674|  1.63k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.63k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.63k]
  |  |  ------------------
  ------------------
20675|  1.63k|            int _end_col_offset = _token->end_col_offset;
20676|  1.63k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.63k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.63k]
  |  |  ------------------
  ------------------
20677|  1.63k|            _res = _PyAST_Tuple ( a , Del , EXTRA );
  ------------------
  |  |  281|  1.63k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
20678|  1.63k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20678:18): [True: 0, False: 1.63k]
  |  Branch (20678:34): [True: 0, False: 1.63k]
  |  Branch (20678:57): [True: 0, False: 0]
  ------------------
20679|      0|                p->error_indicator = 1;
20680|      0|                p->level--;
20681|      0|                return NULL;
20682|      0|            }
20683|  1.63k|            goto done;
20684|  1.63k|        }
20685|  3.99k|        p->mark = _mark;
20686|  3.99k|        D(fprintf(stderr, "%*c%s del_t_atom[%d-%d]: %s failed!\n", p->level, ' ',
20687|  3.99k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' del_targets? ')'"));
20688|  3.99k|    }
20689|      0|    { // '[' del_targets? ']'
20690|  3.99k|        if (p->error_indicator) {
  ------------------
  |  Branch (20690:13): [True: 0, False: 3.99k]
  ------------------
20691|      0|            p->level--;
20692|      0|            return NULL;
20693|      0|        }
20694|  3.99k|        D(fprintf(stderr, "%*c> del_t_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' del_targets? ']'"));
20695|  3.99k|        Token * _literal;
20696|  3.99k|        Token * _literal_1;
20697|  3.99k|        void *a;
20698|  3.99k|        if (
20699|  3.99k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (20699:13): [True: 1.29k, False: 2.69k]
  ------------------
20700|  1.29k|            &&
20701|  1.29k|            (a = del_targets_rule(p), !p->error_indicator)  // del_targets?
  ------------------
  |  Branch (20701:13): [True: 1.29k, False: 0]
  ------------------
20702|  1.29k|            &&
20703|  1.29k|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (20703:13): [True: 721, False: 578]
  ------------------
20704|  3.99k|        )
20705|    721|        {
20706|    721|            D(fprintf(stderr, "%*c+ del_t_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' del_targets? ']'"));
20707|    721|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
20708|    721|            if (_token == NULL) {
  ------------------
  |  Branch (20708:17): [True: 0, False: 721]
  ------------------
20709|      0|                p->level--;
20710|      0|                return NULL;
20711|      0|            }
20712|    721|            int _end_lineno = _token->end_lineno;
20713|    721|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    721|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 721]
  |  |  ------------------
  ------------------
20714|    721|            int _end_col_offset = _token->end_col_offset;
20715|    721|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    721|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 721]
  |  |  ------------------
  ------------------
20716|    721|            _res = _PyAST_List ( a , Del , EXTRA );
  ------------------
  |  |  281|    721|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
20717|    721|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20717:18): [True: 0, False: 721]
  |  Branch (20717:34): [True: 0, False: 721]
  |  Branch (20717:57): [True: 0, False: 0]
  ------------------
20718|      0|                p->error_indicator = 1;
20719|      0|                p->level--;
20720|      0|                return NULL;
20721|      0|            }
20722|    721|            goto done;
20723|    721|        }
20724|  3.27k|        p->mark = _mark;
20725|  3.27k|        D(fprintf(stderr, "%*c%s del_t_atom[%d-%d]: %s failed!\n", p->level, ' ',
20726|  3.27k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' del_targets? ']'"));
20727|  3.27k|    }
20728|  3.27k|    _res = NULL;
20729|  11.9k|  done:
20730|  11.9k|    p->level--;
20731|  11.9k|    return _res;
20732|  3.27k|}
parser.c:_loop0_102_rule:
34992|  3.94k|{
34993|  3.94k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  7.88k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34993:9): [True: 0, False: 3.94k]
  |  Branch (34993:35): [True: 0, False: 3.94k]
  ------------------
34994|      0|        _Pypegen_stack_overflow(p);
34995|      0|    }
34996|  3.94k|    if (p->error_indicator) {
  ------------------
  |  Branch (34996:9): [True: 0, False: 3.94k]
  ------------------
34997|      0|        p->level--;
34998|      0|        return NULL;
34999|      0|    }
35000|  3.94k|    void *_res = NULL;
35001|  3.94k|    int _mark = p->mark;
35002|  3.94k|    void **_children = PyMem_Malloc(sizeof(void *));
35003|  3.94k|    if (!_children) {
  ------------------
  |  Branch (35003:9): [True: 0, False: 3.94k]
  ------------------
35004|      0|        p->error_indicator = 1;
35005|      0|        PyErr_NoMemory();
35006|      0|        p->level--;
35007|      0|        return NULL;
35008|      0|    }
35009|  3.94k|    Py_ssize_t _children_capacity = 1;
35010|  3.94k|    Py_ssize_t _n = 0;
35011|  3.94k|    { // ',' del_target
35012|  3.94k|        if (p->error_indicator) {
  ------------------
  |  Branch (35012:13): [True: 0, False: 3.94k]
  ------------------
35013|      0|            p->level--;
35014|      0|            return NULL;
35015|      0|        }
35016|  3.94k|        D(fprintf(stderr, "%*c> _loop0_102[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' del_target"));
35017|  3.94k|        Token * _literal;
35018|  3.94k|        expr_ty elem;
35019|  3.94k|        while (
35020|  10.6k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (35020:13): [True: 8.14k, False: 2.53k]
  ------------------
35021|  8.14k|            &&
35022|  8.14k|            (elem = del_target_rule(p))  // del_target
  ------------------
  |  Branch (35022:13): [True: 6.73k, False: 1.40k]
  ------------------
35023|  3.94k|        )
35024|  6.73k|        {
35025|  6.73k|            _res = elem;
35026|  6.73k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (35026:18): [True: 0, False: 6.73k]
  |  Branch (35026:34): [True: 0, False: 6.73k]
  |  Branch (35026:57): [True: 0, False: 0]
  ------------------
35027|      0|                p->error_indicator = 1;
35028|      0|                PyMem_Free(_children);
35029|      0|                p->level--;
35030|      0|                return NULL;
35031|      0|            }
35032|  6.73k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (35032:17): [True: 2.21k, False: 4.52k]
  ------------------
35033|  2.21k|                _children_capacity *= 2;
35034|  2.21k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
35035|  2.21k|                if (!_new_children) {
  ------------------
  |  Branch (35035:21): [True: 0, False: 2.21k]
  ------------------
35036|      0|                    PyMem_Free(_children);
35037|      0|                    p->error_indicator = 1;
35038|      0|                    PyErr_NoMemory();
35039|      0|                    p->level--;
35040|      0|                    return NULL;
35041|      0|                }
35042|  2.21k|                _children = _new_children;
35043|  2.21k|            }
35044|  6.73k|            _children[_n++] = _res;
35045|  6.73k|            _mark = p->mark;
35046|  6.73k|        }
35047|  3.94k|        p->mark = _mark;
35048|  3.94k|        D(fprintf(stderr, "%*c%s _loop0_102[%d-%d]: %s failed!\n", p->level, ' ',
35049|  3.94k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' del_target"));
35050|  3.94k|    }
35051|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
35052|  3.94k|    if (!_seq) {
  ------------------
  |  Branch (35052:9): [True: 0, False: 3.94k]
  ------------------
35053|      0|        PyMem_Free(_children);
35054|      0|        p->error_indicator = 1;
35055|      0|        PyErr_NoMemory();
35056|      0|        p->level--;
35057|      0|        return NULL;
35058|      0|    }
35059|  10.6k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  6.73k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  10.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (35059:28): [True: 6.73k, False: 3.94k]
  ------------------
35060|  3.94k|    PyMem_Free(_children);
35061|  3.94k|    p->level--;
35062|  3.94k|    return _seq;
35063|  3.94k|}
parser.c:_tmp_15_rule:
29518|  1.84k|{
29519|  1.84k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.69k|#  define MAXSTACK 6000
  ------------------
  |  Branch (29519:9): [True: 0, False: 1.84k]
  |  Branch (29519:35): [True: 0, False: 1.84k]
  ------------------
29520|      0|        _Pypegen_stack_overflow(p);
29521|      0|    }
29522|  1.84k|    if (p->error_indicator) {
  ------------------
  |  Branch (29522:9): [True: 0, False: 1.84k]
  ------------------
29523|      0|        p->level--;
29524|      0|        return NULL;
29525|      0|    }
29526|  1.84k|    void * _res = NULL;
29527|  1.84k|    int _mark = p->mark;
29528|  1.84k|    { // ';'
29529|  1.84k|        if (p->error_indicator) {
  ------------------
  |  Branch (29529:13): [True: 0, False: 1.84k]
  ------------------
29530|      0|            p->level--;
29531|      0|            return NULL;
29532|      0|        }
29533|  1.84k|        D(fprintf(stderr, "%*c> _tmp_15[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "';'"));
29534|  1.84k|        Token * _literal;
29535|  1.84k|        if (
29536|  1.84k|            (_literal = _PyPegen_expect_token(p, 13))  // token=';'
  ------------------
  |  Branch (29536:13): [True: 328, False: 1.52k]
  ------------------
29537|  1.84k|        )
29538|    328|        {
29539|    328|            D(fprintf(stderr, "%*c+ _tmp_15[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "';'"));
29540|    328|            _res = _literal;
29541|    328|            goto done;
29542|    328|        }
29543|  1.52k|        p->mark = _mark;
29544|  1.52k|        D(fprintf(stderr, "%*c%s _tmp_15[%d-%d]: %s failed!\n", p->level, ' ',
29545|  1.52k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "';'"));
29546|  1.52k|    }
29547|      0|    { // NEWLINE
29548|  1.52k|        if (p->error_indicator) {
  ------------------
  |  Branch (29548:13): [True: 0, False: 1.52k]
  ------------------
29549|      0|            p->level--;
29550|      0|            return NULL;
29551|      0|        }
29552|  1.52k|        D(fprintf(stderr, "%*c> _tmp_15[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
29553|  1.52k|        Token * newline_var;
29554|  1.52k|        if (
29555|  1.52k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  1.52k|#define NEWLINE         4
  ------------------
  |  Branch (29555:13): [True: 1.41k, False: 101]
  ------------------
29556|  1.52k|        )
29557|  1.41k|        {
29558|  1.41k|            D(fprintf(stderr, "%*c+ _tmp_15[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
29559|  1.41k|            _res = newline_var;
29560|  1.41k|            goto done;
29561|  1.41k|        }
29562|    101|        p->mark = _mark;
29563|    101|        D(fprintf(stderr, "%*c%s _tmp_15[%d-%d]: %s failed!\n", p->level, ' ',
29564|    101|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE"));
29565|    101|    }
29566|    101|    _res = NULL;
29567|  1.84k|  done:
29568|  1.84k|    p->level--;
29569|  1.84k|    return _res;
29570|    101|}
parser.c:invalid_del_stmt_rule:
22566|     90|{
22567|     90|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    180|#  define MAXSTACK 6000
  ------------------
  |  Branch (22567:9): [True: 0, False: 90]
  |  Branch (22567:35): [True: 0, False: 90]
  ------------------
22568|      0|        _Pypegen_stack_overflow(p);
22569|      0|    }
22570|     90|    if (p->error_indicator) {
  ------------------
  |  Branch (22570:9): [True: 0, False: 90]
  ------------------
22571|      0|        p->level--;
22572|      0|        return NULL;
22573|      0|    }
22574|     90|    void * _res = NULL;
22575|     90|    int _mark = p->mark;
22576|     90|    { // 'del' star_expressions
22577|     90|        if (p->error_indicator) {
  ------------------
  |  Branch (22577:13): [True: 0, False: 90]
  ------------------
22578|      0|            p->level--;
22579|      0|            return NULL;
22580|      0|        }
22581|     90|        D(fprintf(stderr, "%*c> invalid_del_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'del' star_expressions"));
22582|     90|        Token * _keyword;
22583|     90|        expr_ty a;
22584|     90|        if (
22585|     90|            (_keyword = _PyPegen_expect_token(p, 634))  // token='del'
  ------------------
  |  Branch (22585:13): [True: 90, False: 0]
  ------------------
22586|     90|            &&
22587|     90|            (a = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (22587:13): [True: 55, False: 35]
  ------------------
22588|     90|        )
22589|     55|        {
22590|     55|            D(fprintf(stderr, "%*c+ invalid_del_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'del' star_expressions"));
22591|     55|            _res = RAISE_SYNTAX_ERROR_INVALID_TARGET ( DEL_TARGETS , a );
  ------------------
  |  |  216|     55|#define RAISE_SYNTAX_ERROR_INVALID_TARGET(type, e) _RAISE_SYNTAX_ERROR_INVALID_TARGET(p, type, e)
  ------------------
22592|     55|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22592:18): [True: 55, False: 0]
  |  Branch (22592:34): [True: 0, False: 0]
  |  Branch (22592:57): [True: 22, False: 33]
  ------------------
22593|     22|                p->error_indicator = 1;
22594|     22|                p->level--;
22595|     22|                return NULL;
22596|     22|            }
22597|     33|            goto done;
22598|     55|        }
22599|     35|        p->mark = _mark;
22600|     35|        D(fprintf(stderr, "%*c%s invalid_del_stmt[%d-%d]: %s failed!\n", p->level, ' ',
22601|     35|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'del' star_expressions"));
22602|     35|    }
22603|     35|    _res = NULL;
22604|     68|  done:
22605|     68|    p->level--;
22606|     68|    return _res;
22607|     35|}
parser.c:yield_stmt_rule:
 3365|  1.85k|{
 3366|  1.85k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.70k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3366:9): [True: 0, False: 1.85k]
  |  Branch (3366:35): [True: 0, False: 1.85k]
  ------------------
 3367|      0|        _Pypegen_stack_overflow(p);
 3368|      0|    }
 3369|  1.85k|    if (p->error_indicator) {
  ------------------
  |  Branch (3369:9): [True: 0, False: 1.85k]
  ------------------
 3370|      0|        p->level--;
 3371|      0|        return NULL;
 3372|      0|    }
 3373|  1.85k|    stmt_ty _res = NULL;
 3374|  1.85k|    int _mark = p->mark;
 3375|  1.85k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3375:9): [True: 0, False: 1.85k]
  |  Branch (3375:31): [True: 0, False: 0]
  ------------------
 3376|      0|        p->error_indicator = 1;
 3377|      0|        p->level--;
 3378|      0|        return NULL;
 3379|      0|    }
 3380|  1.85k|    int _start_lineno = p->tokens[_mark]->lineno;
 3381|  1.85k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.85k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.85k]
  |  |  ------------------
  ------------------
 3382|  1.85k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3383|  1.85k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.85k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.85k]
  |  |  ------------------
  ------------------
 3384|  1.85k|    { // yield_expr
 3385|  1.85k|        if (p->error_indicator) {
  ------------------
  |  Branch (3385:13): [True: 0, False: 1.85k]
  ------------------
 3386|      0|            p->level--;
 3387|      0|            return NULL;
 3388|      0|        }
 3389|  1.85k|        D(fprintf(stderr, "%*c> yield_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "yield_expr"));
 3390|  1.85k|        expr_ty y;
 3391|  1.85k|        if (
 3392|  1.85k|            (y = yield_expr_rule(p))  // yield_expr
  ------------------
  |  Branch (3392:13): [True: 1.85k, False: 2]
  ------------------
 3393|  1.85k|        )
 3394|  1.85k|        {
 3395|  1.85k|            D(fprintf(stderr, "%*c+ yield_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "yield_expr"));
 3396|  1.85k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3397|  1.85k|            if (_token == NULL) {
  ------------------
  |  Branch (3397:17): [True: 0, False: 1.85k]
  ------------------
 3398|      0|                p->level--;
 3399|      0|                return NULL;
 3400|      0|            }
 3401|  1.85k|            int _end_lineno = _token->end_lineno;
 3402|  1.85k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.85k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.85k]
  |  |  ------------------
  ------------------
 3403|  1.85k|            int _end_col_offset = _token->end_col_offset;
 3404|  1.85k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.85k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.85k]
  |  |  ------------------
  ------------------
 3405|  1.85k|            _res = _PyAST_Expr ( y , EXTRA );
  ------------------
  |  |  281|  1.85k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3406|  1.85k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3406:18): [True: 0, False: 1.85k]
  |  Branch (3406:34): [True: 0, False: 1.85k]
  |  Branch (3406:57): [True: 0, False: 0]
  ------------------
 3407|      0|                p->error_indicator = 1;
 3408|      0|                p->level--;
 3409|      0|                return NULL;
 3410|      0|            }
 3411|  1.85k|            goto done;
 3412|  1.85k|        }
 3413|      2|        p->mark = _mark;
 3414|      2|        D(fprintf(stderr, "%*c%s yield_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3415|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "yield_expr"));
 3416|      2|    }
 3417|      2|    _res = NULL;
 3418|  1.85k|  done:
 3419|  1.85k|    p->level--;
 3420|  1.85k|    return _res;
 3421|      2|}
parser.c:assert_stmt_rule:
 3426|  4.33k|{
 3427|  4.33k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.67k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3427:9): [True: 0, False: 4.33k]
  |  Branch (3427:35): [True: 0, False: 4.33k]
  ------------------
 3428|      0|        _Pypegen_stack_overflow(p);
 3429|      0|    }
 3430|  4.33k|    if (p->error_indicator) {
  ------------------
  |  Branch (3430:9): [True: 0, False: 4.33k]
  ------------------
 3431|      0|        p->level--;
 3432|      0|        return NULL;
 3433|      0|    }
 3434|  4.33k|    stmt_ty _res = NULL;
 3435|  4.33k|    int _mark = p->mark;
 3436|  4.33k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3436:9): [True: 0, False: 4.33k]
  |  Branch (3436:31): [True: 0, False: 0]
  ------------------
 3437|      0|        p->error_indicator = 1;
 3438|      0|        p->level--;
 3439|      0|        return NULL;
 3440|      0|    }
 3441|  4.33k|    int _start_lineno = p->tokens[_mark]->lineno;
 3442|  4.33k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.33k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.33k]
  |  |  ------------------
  ------------------
 3443|  4.33k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3444|  4.33k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.33k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.33k]
  |  |  ------------------
  ------------------
 3445|  4.33k|    if (p->call_invalid_rules) { // invalid_assert_stmt
  ------------------
  |  Branch (3445:9): [True: 779, False: 3.55k]
  ------------------
 3446|    779|        if (p->error_indicator) {
  ------------------
  |  Branch (3446:13): [True: 0, False: 779]
  ------------------
 3447|      0|            p->level--;
 3448|      0|            return NULL;
 3449|      0|        }
 3450|    779|        D(fprintf(stderr, "%*c> assert_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_assert_stmt"));
 3451|    779|        void *invalid_assert_stmt_var;
 3452|    779|        if (
 3453|    779|            (invalid_assert_stmt_var = invalid_assert_stmt_rule(p))  // invalid_assert_stmt
  ------------------
  |  Branch (3453:13): [True: 0, False: 779]
  ------------------
 3454|    779|        )
 3455|      0|        {
 3456|      0|            D(fprintf(stderr, "%*c+ assert_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_assert_stmt"));
 3457|      0|            _res = invalid_assert_stmt_var;
 3458|      0|            goto done;
 3459|      0|        }
 3460|    779|        p->mark = _mark;
 3461|    779|        D(fprintf(stderr, "%*c%s assert_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3462|    779|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_assert_stmt"));
 3463|    779|    }
 3464|  4.33k|    { // 'assert' expression [',' expression]
 3465|  4.33k|        if (p->error_indicator) {
  ------------------
  |  Branch (3465:13): [True: 11, False: 4.32k]
  ------------------
 3466|     11|            p->level--;
 3467|     11|            return NULL;
 3468|     11|        }
 3469|  4.32k|        D(fprintf(stderr, "%*c> assert_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'assert' expression [',' expression]"));
 3470|  4.32k|        Token * _keyword;
 3471|  4.32k|        expr_ty a;
 3472|  4.32k|        void *b;
 3473|  4.32k|        if (
 3474|  4.32k|            (_keyword = _PyPegen_expect_token(p, 638))  // token='assert'
  ------------------
  |  Branch (3474:13): [True: 4.32k, False: 0]
  ------------------
 3475|  4.32k|            &&
 3476|  4.32k|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (3476:13): [True: 4.31k, False: 13]
  ------------------
 3477|  4.31k|            &&
 3478|  4.31k|            (b = _tmp_16_rule(p), !p->error_indicator)  // [',' expression]
  ------------------
  |  Branch (3478:13): [True: 4.31k, False: 2]
  ------------------
 3479|  4.32k|        )
 3480|  4.31k|        {
 3481|  4.31k|            D(fprintf(stderr, "%*c+ assert_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'assert' expression [',' expression]"));
 3482|  4.31k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3483|  4.31k|            if (_token == NULL) {
  ------------------
  |  Branch (3483:17): [True: 0, False: 4.31k]
  ------------------
 3484|      0|                p->level--;
 3485|      0|                return NULL;
 3486|      0|            }
 3487|  4.31k|            int _end_lineno = _token->end_lineno;
 3488|  4.31k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.31k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.31k]
  |  |  ------------------
  ------------------
 3489|  4.31k|            int _end_col_offset = _token->end_col_offset;
 3490|  4.31k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.31k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.31k]
  |  |  ------------------
  ------------------
 3491|  4.31k|            _res = _PyAST_Assert ( a , b , EXTRA );
  ------------------
  |  |  281|  4.31k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3492|  4.31k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3492:18): [True: 0, False: 4.31k]
  |  Branch (3492:34): [True: 0, False: 4.31k]
  |  Branch (3492:57): [True: 0, False: 0]
  ------------------
 3493|      0|                p->error_indicator = 1;
 3494|      0|                p->level--;
 3495|      0|                return NULL;
 3496|      0|            }
 3497|  4.31k|            goto done;
 3498|  4.31k|        }
 3499|     15|        p->mark = _mark;
 3500|     15|        D(fprintf(stderr, "%*c%s assert_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3501|     15|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'assert' expression [',' expression]"));
 3502|     15|    }
 3503|     15|    _res = NULL;
 3504|  4.32k|  done:
 3505|  4.32k|    p->level--;
 3506|  4.32k|    return _res;
 3507|     15|}
parser.c:invalid_assert_stmt_rule:
22616|    779|{
22617|    779|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.55k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22617:9): [True: 0, False: 779]
  |  Branch (22617:35): [True: 0, False: 779]
  ------------------
22618|      0|        _Pypegen_stack_overflow(p);
22619|      0|    }
22620|    779|    if (p->error_indicator) {
  ------------------
  |  Branch (22620:9): [True: 0, False: 779]
  ------------------
22621|      0|        p->level--;
22622|      0|        return NULL;
22623|      0|    }
22624|    779|    void * _res = NULL;
22625|    779|    int _mark = p->mark;
22626|    779|    { // 'assert' expression '=' expression
22627|    779|        if (p->error_indicator) {
  ------------------
  |  Branch (22627:13): [True: 0, False: 779]
  ------------------
22628|      0|            p->level--;
22629|      0|            return NULL;
22630|      0|        }
22631|    779|        D(fprintf(stderr, "%*c> invalid_assert_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'assert' expression '=' expression"));
22632|    779|        Token * _keyword;
22633|    779|        Token * _literal;
22634|    779|        expr_ty a;
22635|    779|        expr_ty b;
22636|    779|        if (
22637|    779|            (_keyword = _PyPegen_expect_token(p, 638))  // token='assert'
  ------------------
  |  Branch (22637:13): [True: 779, False: 0]
  ------------------
22638|    779|            &&
22639|    779|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (22639:13): [True: 772, False: 7]
  ------------------
22640|    772|            &&
22641|    772|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (22641:13): [True: 4, False: 768]
  ------------------
22642|      4|            &&
22643|      4|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (22643:13): [True: 3, False: 1]
  ------------------
22644|    779|        )
22645|      3|        {
22646|      3|            D(fprintf(stderr, "%*c+ invalid_assert_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'assert' expression '=' expression"));
22647|      3|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot assign to %s here. Maybe you meant '==' instead of '='?" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  211|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22648|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22648:18): [True: 3, False: 0]
  |  Branch (22648:34): [True: 0, False: 0]
  |  Branch (22648:57): [True: 3, False: 0]
  ------------------
22649|      3|                p->error_indicator = 1;
22650|      3|                p->level--;
22651|      3|                return NULL;
22652|      3|            }
22653|      0|            goto done;
22654|      3|        }
22655|    776|        p->mark = _mark;
22656|    776|        D(fprintf(stderr, "%*c%s invalid_assert_stmt[%d-%d]: %s failed!\n", p->level, ' ',
22657|    776|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'assert' expression '=' expression"));
22658|    776|    }
22659|      0|    { // 'assert' expression ',' expression '=' expression
22660|    776|        if (p->error_indicator) {
  ------------------
  |  Branch (22660:13): [True: 2, False: 774]
  ------------------
22661|      2|            p->level--;
22662|      2|            return NULL;
22663|      2|        }
22664|    774|        D(fprintf(stderr, "%*c> invalid_assert_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'assert' expression ',' expression '=' expression"));
22665|    774|        Token * _keyword;
22666|    774|        Token * _literal;
22667|    774|        Token * _literal_1;
22668|    774|        expr_ty a;
22669|    774|        expr_ty b;
22670|    774|        expr_ty expression_var;
22671|    774|        if (
22672|    774|            (_keyword = _PyPegen_expect_token(p, 638))  // token='assert'
  ------------------
  |  Branch (22672:13): [True: 774, False: 0]
  ------------------
22673|    774|            &&
22674|    774|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (22674:13): [True: 769, False: 5]
  ------------------
22675|    769|            &&
22676|    769|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (22676:13): [True: 227, False: 542]
  ------------------
22677|    227|            &&
22678|    227|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (22678:13): [True: 224, False: 3]
  ------------------
22679|    224|            &&
22680|    224|            (_literal_1 = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (22680:13): [True: 2, False: 222]
  ------------------
22681|      2|            &&
22682|      2|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (22682:13): [True: 1, False: 1]
  ------------------
22683|    774|        )
22684|      1|        {
22685|      1|            D(fprintf(stderr, "%*c+ invalid_assert_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'assert' expression ',' expression '=' expression"));
22686|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot assign to %s here. Maybe you meant '==' instead of '='?" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  211|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22687|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22687:18): [True: 1, False: 0]
  |  Branch (22687:34): [True: 0, False: 0]
  |  Branch (22687:57): [True: 1, False: 0]
  ------------------
22688|      1|                p->error_indicator = 1;
22689|      1|                p->level--;
22690|      1|                return NULL;
22691|      1|            }
22692|      0|            goto done;
22693|      1|        }
22694|    773|        p->mark = _mark;
22695|    773|        D(fprintf(stderr, "%*c%s invalid_assert_stmt[%d-%d]: %s failed!\n", p->level, ' ',
22696|    773|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'assert' expression ',' expression '=' expression"));
22697|    773|    }
22698|      0|    { // 'assert' expression ':=' expression
22699|    773|        if (p->error_indicator) {
  ------------------
  |  Branch (22699:13): [True: 1, False: 772]
  ------------------
22700|      1|            p->level--;
22701|      1|            return NULL;
22702|      1|        }
22703|    772|        D(fprintf(stderr, "%*c> invalid_assert_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'assert' expression ':=' expression"));
22704|    772|        Token * _keyword;
22705|    772|        Token * _literal;
22706|    772|        expr_ty a;
22707|    772|        expr_ty b;
22708|    772|        if (
22709|    772|            (_keyword = _PyPegen_expect_token(p, 638))  // token='assert'
  ------------------
  |  Branch (22709:13): [True: 772, False: 0]
  ------------------
22710|    772|            &&
22711|    772|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (22711:13): [True: 767, False: 5]
  ------------------
22712|    767|            &&
22713|    767|            (_literal = _PyPegen_expect_token(p, 53))  // token=':='
  ------------------
  |  Branch (22713:13): [True: 3, False: 764]
  ------------------
22714|      3|            &&
22715|      3|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (22715:13): [True: 1, False: 2]
  ------------------
22716|    772|        )
22717|      1|        {
22718|      1|            D(fprintf(stderr, "%*c+ invalid_assert_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'assert' expression ':=' expression"));
22719|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use named expression without parentheses here" );
  ------------------
  |  |  211|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22720|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22720:18): [True: 1, False: 0]
  |  Branch (22720:34): [True: 0, False: 0]
  |  Branch (22720:57): [True: 1, False: 0]
  ------------------
22721|      1|                p->error_indicator = 1;
22722|      1|                p->level--;
22723|      1|                return NULL;
22724|      1|            }
22725|      0|            goto done;
22726|      1|        }
22727|    771|        p->mark = _mark;
22728|    771|        D(fprintf(stderr, "%*c%s invalid_assert_stmt[%d-%d]: %s failed!\n", p->level, ' ',
22729|    771|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'assert' expression ':=' expression"));
22730|    771|    }
22731|      0|    { // 'assert' expression ',' expression ':=' expression
22732|    771|        if (p->error_indicator) {
  ------------------
  |  Branch (22732:13): [True: 2, False: 769]
  ------------------
22733|      2|            p->level--;
22734|      2|            return NULL;
22735|      2|        }
22736|    769|        D(fprintf(stderr, "%*c> invalid_assert_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'assert' expression ',' expression ':=' expression"));
22737|    769|        Token * _keyword;
22738|    769|        Token * _literal;
22739|    769|        Token * _literal_1;
22740|    769|        expr_ty a;
22741|    769|        expr_ty b;
22742|    769|        expr_ty expression_var;
22743|    769|        if (
22744|    769|            (_keyword = _PyPegen_expect_token(p, 638))  // token='assert'
  ------------------
  |  Branch (22744:13): [True: 769, False: 0]
  ------------------
22745|    769|            &&
22746|    769|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (22746:13): [True: 764, False: 5]
  ------------------
22747|    764|            &&
22748|    764|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (22748:13): [True: 225, False: 539]
  ------------------
22749|    225|            &&
22750|    225|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (22750:13): [True: 222, False: 3]
  ------------------
22751|    222|            &&
22752|    222|            (_literal_1 = _PyPegen_expect_token(p, 53))  // token=':='
  ------------------
  |  Branch (22752:13): [True: 2, False: 220]
  ------------------
22753|      2|            &&
22754|      2|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (22754:13): [True: 1, False: 1]
  ------------------
22755|    769|        )
22756|      1|        {
22757|      1|            D(fprintf(stderr, "%*c+ invalid_assert_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'assert' expression ',' expression ':=' expression"));
22758|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot use named expression without parentheses here" );
  ------------------
  |  |  211|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
22759|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22759:18): [True: 1, False: 0]
  |  Branch (22759:34): [True: 0, False: 0]
  |  Branch (22759:57): [True: 1, False: 0]
  ------------------
22760|      1|                p->error_indicator = 1;
22761|      1|                p->level--;
22762|      1|                return NULL;
22763|      1|            }
22764|      0|            goto done;
22765|      1|        }
22766|    768|        p->mark = _mark;
22767|    768|        D(fprintf(stderr, "%*c%s invalid_assert_stmt[%d-%d]: %s failed!\n", p->level, ' ',
22768|    768|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'assert' expression ',' expression ':=' expression"));
22769|    768|    }
22770|    768|    _res = NULL;
22771|    768|  done:
22772|    768|    p->level--;
22773|    768|    return _res;
22774|    768|}
parser.c:_tmp_16_rule:
29575|  18.1k|{
29576|  18.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  36.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (29576:9): [True: 0, False: 18.1k]
  |  Branch (29576:35): [True: 0, False: 18.1k]
  ------------------
29577|      0|        _Pypegen_stack_overflow(p);
29578|      0|    }
29579|  18.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (29579:9): [True: 0, False: 18.1k]
  ------------------
29580|      0|        p->level--;
29581|      0|        return NULL;
29582|      0|    }
29583|  18.1k|    void * _res = NULL;
29584|  18.1k|    int _mark = p->mark;
29585|  18.1k|    { // ',' expression
29586|  18.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (29586:13): [True: 0, False: 18.1k]
  ------------------
29587|      0|            p->level--;
29588|      0|            return NULL;
29589|      0|        }
29590|  18.1k|        D(fprintf(stderr, "%*c> _tmp_16[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' expression"));
29591|  18.1k|        Token * _literal;
29592|  18.1k|        expr_ty z;
29593|  18.1k|        if (
29594|  18.1k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (29594:13): [True: 11.2k, False: 6.96k]
  ------------------
29595|  11.2k|            &&
29596|  11.2k|            (z = expression_rule(p))  // expression
  ------------------
  |  Branch (29596:13): [True: 10.1k, False: 1.08k]
  ------------------
29597|  18.1k|        )
29598|  10.1k|        {
29599|  10.1k|            D(fprintf(stderr, "%*c+ _tmp_16[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' expression"));
29600|  10.1k|            _res = z;
29601|  10.1k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (29601:18): [True: 0, False: 10.1k]
  |  Branch (29601:34): [True: 0, False: 10.1k]
  |  Branch (29601:57): [True: 0, False: 0]
  ------------------
29602|      0|                p->error_indicator = 1;
29603|      0|                p->level--;
29604|      0|                return NULL;
29605|      0|            }
29606|  10.1k|            goto done;
29607|  10.1k|        }
29608|  8.05k|        p->mark = _mark;
29609|  8.05k|        D(fprintf(stderr, "%*c%s _tmp_16[%d-%d]: %s failed!\n", p->level, ' ',
29610|  8.05k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' expression"));
29611|  8.05k|    }
29612|  8.05k|    _res = NULL;
29613|  18.1k|  done:
29614|  18.1k|    p->level--;
29615|  18.1k|    return _res;
29616|  8.05k|}
parser.c:global_stmt_rule:
 3152|  1.26k|{
 3153|  1.26k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.53k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3153:9): [True: 0, False: 1.26k]
  |  Branch (3153:35): [True: 0, False: 1.26k]
  ------------------
 3154|      0|        _Pypegen_stack_overflow(p);
 3155|      0|    }
 3156|  1.26k|    if (p->error_indicator) {
  ------------------
  |  Branch (3156:9): [True: 0, False: 1.26k]
  ------------------
 3157|      0|        p->level--;
 3158|      0|        return NULL;
 3159|      0|    }
 3160|  1.26k|    stmt_ty _res = NULL;
 3161|  1.26k|    int _mark = p->mark;
 3162|  1.26k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3162:9): [True: 0, False: 1.26k]
  |  Branch (3162:31): [True: 0, False: 0]
  ------------------
 3163|      0|        p->error_indicator = 1;
 3164|      0|        p->level--;
 3165|      0|        return NULL;
 3166|      0|    }
 3167|  1.26k|    int _start_lineno = p->tokens[_mark]->lineno;
 3168|  1.26k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.26k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.26k]
  |  |  ------------------
  ------------------
 3169|  1.26k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3170|  1.26k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.26k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.26k]
  |  |  ------------------
  ------------------
 3171|  1.26k|    { // 'global' ','.NAME+
 3172|  1.26k|        if (p->error_indicator) {
  ------------------
  |  Branch (3172:13): [True: 0, False: 1.26k]
  ------------------
 3173|      0|            p->level--;
 3174|      0|            return NULL;
 3175|      0|        }
 3176|  1.26k|        D(fprintf(stderr, "%*c> global_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'global' ','.NAME+"));
 3177|  1.26k|        Token * _keyword;
 3178|  1.26k|        asdl_expr_seq* a;
 3179|  1.26k|        if (
 3180|  1.26k|            (_keyword = _PyPegen_expect_token(p, 530))  // token='global'
  ------------------
  |  Branch (3180:13): [True: 1.26k, False: 0]
  ------------------
 3181|  1.26k|            &&
 3182|  1.26k|            (a = (asdl_expr_seq*)_gather_14_rule(p))  // ','.NAME+
  ------------------
  |  Branch (3182:13): [True: 1.25k, False: 9]
  ------------------
 3183|  1.26k|        )
 3184|  1.25k|        {
 3185|  1.25k|            D(fprintf(stderr, "%*c+ global_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'global' ','.NAME+"));
 3186|  1.25k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3187|  1.25k|            if (_token == NULL) {
  ------------------
  |  Branch (3187:17): [True: 0, False: 1.25k]
  ------------------
 3188|      0|                p->level--;
 3189|      0|                return NULL;
 3190|      0|            }
 3191|  1.25k|            int _end_lineno = _token->end_lineno;
 3192|  1.25k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.25k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.25k]
  |  |  ------------------
  ------------------
 3193|  1.25k|            int _end_col_offset = _token->end_col_offset;
 3194|  1.25k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.25k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.25k]
  |  |  ------------------
  ------------------
 3195|  1.25k|            _res = _PyAST_Global ( CHECK ( asdl_identifier_seq* , _PyPegen_map_names_to_ids ( p , a ) ) , EXTRA );
  ------------------
  |  |  245|  1.25k|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Global ( CHECK ( asdl_identifier_seq* , _PyPegen_map_names_to_ids ( p , a ) ) , EXTRA );
  ------------------
  |  |  281|  1.25k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3196|  1.25k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3196:18): [True: 0, False: 1.25k]
  |  Branch (3196:34): [True: 2, False: 1.25k]
  |  Branch (3196:57): [True: 2, False: 0]
  ------------------
 3197|      2|                p->error_indicator = 1;
 3198|      2|                p->level--;
 3199|      2|                return NULL;
 3200|      2|            }
 3201|  1.25k|            goto done;
 3202|  1.25k|        }
 3203|      9|        p->mark = _mark;
 3204|      9|        D(fprintf(stderr, "%*c%s global_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3205|      9|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'global' ','.NAME+"));
 3206|      9|    }
 3207|      9|    _res = NULL;
 3208|  1.26k|  done:
 3209|  1.26k|    p->level--;
 3210|  1.26k|    return _res;
 3211|      9|}
parser.c:_gather_14_rule:
29477|  1.65k|{
29478|  1.65k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.31k|#  define MAXSTACK 6000
  ------------------
  |  Branch (29478:9): [True: 0, False: 1.65k]
  |  Branch (29478:35): [True: 0, False: 1.65k]
  ------------------
29479|      0|        _Pypegen_stack_overflow(p);
29480|      0|    }
29481|  1.65k|    if (p->error_indicator) {
  ------------------
  |  Branch (29481:9): [True: 0, False: 1.65k]
  ------------------
29482|      0|        p->level--;
29483|      0|        return NULL;
29484|      0|    }
29485|  1.65k|    asdl_seq * _res = NULL;
29486|  1.65k|    int _mark = p->mark;
29487|  1.65k|    { // NAME _loop0_13
29488|  1.65k|        if (p->error_indicator) {
  ------------------
  |  Branch (29488:13): [True: 0, False: 1.65k]
  ------------------
29489|      0|            p->level--;
29490|      0|            return NULL;
29491|      0|        }
29492|  1.65k|        D(fprintf(stderr, "%*c> _gather_14[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME _loop0_13"));
29493|  1.65k|        expr_ty elem;
29494|  1.65k|        asdl_seq * seq;
29495|  1.65k|        if (
29496|  1.65k|            (elem = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (29496:13): [True: 1.64k, False: 12]
  ------------------
29497|  1.64k|            &&
29498|  1.64k|            (seq = _loop0_13_rule(p))  // _loop0_13
  ------------------
  |  Branch (29498:13): [True: 1.64k, False: 0]
  ------------------
29499|  1.65k|        )
29500|  1.64k|        {
29501|  1.64k|            D(fprintf(stderr, "%*c+ _gather_14[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME _loop0_13"));
29502|  1.64k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
29503|  1.64k|            goto done;
29504|  1.64k|        }
29505|     12|        p->mark = _mark;
29506|     12|        D(fprintf(stderr, "%*c%s _gather_14[%d-%d]: %s failed!\n", p->level, ' ',
29507|     12|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME _loop0_13"));
29508|     12|    }
29509|     12|    _res = NULL;
29510|  1.65k|  done:
29511|  1.65k|    p->level--;
29512|  1.65k|    return _res;
29513|     12|}
parser.c:_loop0_13_rule:
29401|  1.64k|{
29402|  1.64k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.28k|#  define MAXSTACK 6000
  ------------------
  |  Branch (29402:9): [True: 0, False: 1.64k]
  |  Branch (29402:35): [True: 0, False: 1.64k]
  ------------------
29403|      0|        _Pypegen_stack_overflow(p);
29404|      0|    }
29405|  1.64k|    if (p->error_indicator) {
  ------------------
  |  Branch (29405:9): [True: 0, False: 1.64k]
  ------------------
29406|      0|        p->level--;
29407|      0|        return NULL;
29408|      0|    }
29409|  1.64k|    void *_res = NULL;
29410|  1.64k|    int _mark = p->mark;
29411|  1.64k|    void **_children = PyMem_Malloc(sizeof(void *));
29412|  1.64k|    if (!_children) {
  ------------------
  |  Branch (29412:9): [True: 0, False: 1.64k]
  ------------------
29413|      0|        p->error_indicator = 1;
29414|      0|        PyErr_NoMemory();
29415|      0|        p->level--;
29416|      0|        return NULL;
29417|      0|    }
29418|  1.64k|    Py_ssize_t _children_capacity = 1;
29419|  1.64k|    Py_ssize_t _n = 0;
29420|  1.64k|    { // ',' NAME
29421|  1.64k|        if (p->error_indicator) {
  ------------------
  |  Branch (29421:13): [True: 0, False: 1.64k]
  ------------------
29422|      0|            p->level--;
29423|      0|            return NULL;
29424|      0|        }
29425|  1.64k|        D(fprintf(stderr, "%*c> _loop0_13[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' NAME"));
29426|  1.64k|        Token * _literal;
29427|  1.64k|        expr_ty elem;
29428|  1.64k|        while (
29429|  3.19k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (29429:13): [True: 1.56k, False: 1.63k]
  ------------------
29430|  1.56k|            &&
29431|  1.56k|            (elem = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (29431:13): [True: 1.55k, False: 11]
  ------------------
29432|  1.64k|        )
29433|  1.55k|        {
29434|  1.55k|            _res = elem;
29435|  1.55k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (29435:18): [True: 0, False: 1.55k]
  |  Branch (29435:34): [True: 0, False: 1.55k]
  |  Branch (29435:57): [True: 0, False: 0]
  ------------------
29436|      0|                p->error_indicator = 1;
29437|      0|                PyMem_Free(_children);
29438|      0|                p->level--;
29439|      0|                return NULL;
29440|      0|            }
29441|  1.55k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (29441:17): [True: 595, False: 955]
  ------------------
29442|    595|                _children_capacity *= 2;
29443|    595|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
29444|    595|                if (!_new_children) {
  ------------------
  |  Branch (29444:21): [True: 0, False: 595]
  ------------------
29445|      0|                    PyMem_Free(_children);
29446|      0|                    p->error_indicator = 1;
29447|      0|                    PyErr_NoMemory();
29448|      0|                    p->level--;
29449|      0|                    return NULL;
29450|      0|                }
29451|    595|                _children = _new_children;
29452|    595|            }
29453|  1.55k|            _children[_n++] = _res;
29454|  1.55k|            _mark = p->mark;
29455|  1.55k|        }
29456|  1.64k|        p->mark = _mark;
29457|  1.64k|        D(fprintf(stderr, "%*c%s _loop0_13[%d-%d]: %s failed!\n", p->level, ' ',
29458|  1.64k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' NAME"));
29459|  1.64k|    }
29460|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
29461|  1.64k|    if (!_seq) {
  ------------------
  |  Branch (29461:9): [True: 0, False: 1.64k]
  ------------------
29462|      0|        PyMem_Free(_children);
29463|      0|        p->error_indicator = 1;
29464|      0|        PyErr_NoMemory();
29465|      0|        p->level--;
29466|      0|        return NULL;
29467|      0|    }
29468|  3.19k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.55k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  3.19k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (29468:28): [True: 1.55k, False: 1.64k]
  ------------------
29469|  1.64k|    PyMem_Free(_children);
29470|  1.64k|    p->level--;
29471|  1.64k|    return _seq;
29472|  1.64k|}
parser.c:nonlocal_stmt_rule:
 3216|    391|{
 3217|    391|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    782|#  define MAXSTACK 6000
  ------------------
  |  Branch (3217:9): [True: 0, False: 391]
  |  Branch (3217:35): [True: 0, False: 391]
  ------------------
 3218|      0|        _Pypegen_stack_overflow(p);
 3219|      0|    }
 3220|    391|    if (p->error_indicator) {
  ------------------
  |  Branch (3220:9): [True: 0, False: 391]
  ------------------
 3221|      0|        p->level--;
 3222|      0|        return NULL;
 3223|      0|    }
 3224|    391|    stmt_ty _res = NULL;
 3225|    391|    int _mark = p->mark;
 3226|    391|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3226:9): [True: 0, False: 391]
  |  Branch (3226:31): [True: 0, False: 0]
  ------------------
 3227|      0|        p->error_indicator = 1;
 3228|      0|        p->level--;
 3229|      0|        return NULL;
 3230|      0|    }
 3231|    391|    int _start_lineno = p->tokens[_mark]->lineno;
 3232|    391|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    391|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 391]
  |  |  ------------------
  ------------------
 3233|    391|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3234|    391|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    391|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 391]
  |  |  ------------------
  ------------------
 3235|    391|    { // 'nonlocal' ','.NAME+
 3236|    391|        if (p->error_indicator) {
  ------------------
  |  Branch (3236:13): [True: 0, False: 391]
  ------------------
 3237|      0|            p->level--;
 3238|      0|            return NULL;
 3239|      0|        }
 3240|    391|        D(fprintf(stderr, "%*c> nonlocal_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'nonlocal' ','.NAME+"));
 3241|    391|        Token * _keyword;
 3242|    391|        asdl_expr_seq* a;
 3243|    391|        if (
 3244|    391|            (_keyword = _PyPegen_expect_token(p, 531))  // token='nonlocal'
  ------------------
  |  Branch (3244:13): [True: 391, False: 0]
  ------------------
 3245|    391|            &&
 3246|    391|            (a = (asdl_expr_seq*)_gather_14_rule(p))  // ','.NAME+
  ------------------
  |  Branch (3246:13): [True: 388, False: 3]
  ------------------
 3247|    391|        )
 3248|    388|        {
 3249|    388|            D(fprintf(stderr, "%*c+ nonlocal_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'nonlocal' ','.NAME+"));
 3250|    388|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3251|    388|            if (_token == NULL) {
  ------------------
  |  Branch (3251:17): [True: 0, False: 388]
  ------------------
 3252|      0|                p->level--;
 3253|      0|                return NULL;
 3254|      0|            }
 3255|    388|            int _end_lineno = _token->end_lineno;
 3256|    388|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    388|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 388]
  |  |  ------------------
  ------------------
 3257|    388|            int _end_col_offset = _token->end_col_offset;
 3258|    388|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    388|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 388]
  |  |  ------------------
  ------------------
 3259|    388|            _res = _PyAST_Nonlocal ( CHECK ( asdl_identifier_seq* , _PyPegen_map_names_to_ids ( p , a ) ) , EXTRA );
  ------------------
  |  |  245|    388|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Nonlocal ( CHECK ( asdl_identifier_seq* , _PyPegen_map_names_to_ids ( p , a ) ) , EXTRA );
  ------------------
  |  |  281|    388|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3260|    388|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3260:18): [True: 0, False: 388]
  |  Branch (3260:34): [True: 1, False: 387]
  |  Branch (3260:57): [True: 1, False: 0]
  ------------------
 3261|      1|                p->error_indicator = 1;
 3262|      1|                p->level--;
 3263|      1|                return NULL;
 3264|      1|            }
 3265|    387|            goto done;
 3266|    388|        }
 3267|      3|        p->mark = _mark;
 3268|      3|        D(fprintf(stderr, "%*c%s nonlocal_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3269|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'nonlocal' ','.NAME+"));
 3270|      3|    }
 3271|      3|    _res = NULL;
 3272|    390|  done:
 3273|    390|    p->level--;
 3274|    390|    return _res;
 3275|      3|}
parser.c:lambda_params_rule:
15751|  19.2k|{
15752|  19.2k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  38.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15752:9): [True: 0, False: 19.2k]
  |  Branch (15752:35): [True: 0, False: 19.2k]
  ------------------
15753|      0|        _Pypegen_stack_overflow(p);
15754|      0|    }
15755|  19.2k|    if (p->error_indicator) {
  ------------------
  |  Branch (15755:9): [True: 0, False: 19.2k]
  ------------------
15756|      0|        p->level--;
15757|      0|        return NULL;
15758|      0|    }
15759|  19.2k|    arguments_ty _res = NULL;
15760|  19.2k|    int _mark = p->mark;
15761|  19.2k|    if (p->call_invalid_rules) { // invalid_lambda_parameters
  ------------------
  |  Branch (15761:9): [True: 9.88k, False: 9.36k]
  ------------------
15762|  9.88k|        if (p->error_indicator) {
  ------------------
  |  Branch (15762:13): [True: 0, False: 9.88k]
  ------------------
15763|      0|            p->level--;
15764|      0|            return NULL;
15765|      0|        }
15766|  9.88k|        D(fprintf(stderr, "%*c> lambda_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_lambda_parameters"));
15767|  9.88k|        void *invalid_lambda_parameters_var;
15768|  9.88k|        if (
15769|  9.88k|            (invalid_lambda_parameters_var = invalid_lambda_parameters_rule(p))  // invalid_lambda_parameters
  ------------------
  |  Branch (15769:13): [True: 0, False: 9.88k]
  ------------------
15770|  9.88k|        )
15771|      0|        {
15772|      0|            D(fprintf(stderr, "%*c+ lambda_params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_lambda_parameters"));
15773|      0|            _res = invalid_lambda_parameters_var;
15774|      0|            goto done;
15775|      0|        }
15776|  9.88k|        p->mark = _mark;
15777|  9.88k|        D(fprintf(stderr, "%*c%s lambda_params[%d-%d]: %s failed!\n", p->level, ' ',
15778|  9.88k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_lambda_parameters"));
15779|  9.88k|    }
15780|  19.2k|    { // lambda_parameters
15781|  19.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (15781:13): [True: 656, False: 18.5k]
  ------------------
15782|    656|            p->level--;
15783|    656|            return NULL;
15784|    656|        }
15785|  18.5k|        D(fprintf(stderr, "%*c> lambda_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_parameters"));
15786|  18.5k|        arguments_ty lambda_parameters_var;
15787|  18.5k|        if (
15788|  18.5k|            (lambda_parameters_var = lambda_parameters_rule(p))  // lambda_parameters
  ------------------
  |  Branch (15788:13): [True: 14.8k, False: 3.74k]
  ------------------
15789|  18.5k|        )
15790|  14.8k|        {
15791|  14.8k|            D(fprintf(stderr, "%*c+ lambda_params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_parameters"));
15792|  14.8k|            _res = lambda_parameters_var;
15793|  14.8k|            goto done;
15794|  14.8k|        }
15795|  3.74k|        p->mark = _mark;
15796|  3.74k|        D(fprintf(stderr, "%*c%s lambda_params[%d-%d]: %s failed!\n", p->level, ' ',
15797|  3.74k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_parameters"));
15798|  3.74k|    }
15799|  3.74k|    _res = NULL;
15800|  18.5k|  done:
15801|  18.5k|    p->level--;
15802|  18.5k|    return _res;
15803|  3.74k|}
parser.c:invalid_lambda_parameters_rule:
23579|  9.88k|{
23580|  9.88k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  19.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23580:9): [True: 0, False: 9.88k]
  |  Branch (23580:35): [True: 0, False: 9.88k]
  ------------------
23581|      0|        _Pypegen_stack_overflow(p);
23582|      0|    }
23583|  9.88k|    if (p->error_indicator) {
  ------------------
  |  Branch (23583:9): [True: 0, False: 9.88k]
  ------------------
23584|      0|        p->level--;
23585|      0|        return NULL;
23586|      0|    }
23587|  9.88k|    void * _res = NULL;
23588|  9.88k|    int _mark = p->mark;
23589|  9.88k|    { // "/" ','
23590|  9.88k|        if (p->error_indicator) {
  ------------------
  |  Branch (23590:13): [True: 0, False: 9.88k]
  ------------------
23591|      0|            p->level--;
23592|      0|            return NULL;
23593|      0|        }
23594|  9.88k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"/\" ','"));
23595|  9.88k|        Token * _literal;
23596|  9.88k|        Token * a;
23597|  9.88k|        if (
23598|  9.88k|            (a = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (23598:13): [True: 6, False: 9.87k]
  ------------------
23599|      6|            &&
23600|      6|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (23600:13): [True: 2, False: 4]
  ------------------
23601|  9.88k|        )
23602|      2|        {
23603|      2|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"/\" ','"));
23604|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "at least one parameter must precede /" );
  ------------------
  |  |  213|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23605|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23605:18): [True: 2, False: 0]
  |  Branch (23605:34): [True: 0, False: 0]
  |  Branch (23605:57): [True: 2, False: 0]
  ------------------
23606|      2|                p->error_indicator = 1;
23607|      2|                p->level--;
23608|      2|                return NULL;
23609|      2|            }
23610|      0|            goto done;
23611|      2|        }
23612|  9.87k|        p->mark = _mark;
23613|  9.87k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
23614|  9.87k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"/\" ','"));
23615|  9.87k|    }
23616|      0|    { // (lambda_slash_no_default | lambda_slash_with_default) lambda_param_maybe_default* '/'
23617|  9.87k|        if (p->error_indicator) {
  ------------------
  |  Branch (23617:13): [True: 3, False: 9.87k]
  ------------------
23618|      3|            p->level--;
23619|      3|            return NULL;
23620|      3|        }
23621|  9.87k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(lambda_slash_no_default | lambda_slash_with_default) lambda_param_maybe_default* '/'"));
23622|  9.87k|        asdl_seq * _loop0_76_var;
23623|  9.87k|        void *_tmp_130_var;
23624|  9.87k|        Token * a;
23625|  9.87k|        if (
23626|  9.87k|            (_tmp_130_var = _tmp_130_rule(p))  // lambda_slash_no_default | lambda_slash_with_default
  ------------------
  |  Branch (23626:13): [True: 2.57k, False: 7.29k]
  ------------------
23627|  2.57k|            &&
23628|  2.57k|            (_loop0_76_var = _loop0_76_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (23628:13): [True: 2.57k, False: 0]
  ------------------
23629|  2.57k|            &&
23630|  2.57k|            (a = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (23630:13): [True: 4, False: 2.57k]
  ------------------
23631|  9.87k|        )
23632|      4|        {
23633|      4|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(lambda_slash_no_default | lambda_slash_with_default) lambda_param_maybe_default* '/'"));
23634|      4|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "/ may appear only once" );
  ------------------
  |  |  213|      4|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23635|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23635:18): [True: 4, False: 0]
  |  Branch (23635:34): [True: 0, False: 0]
  |  Branch (23635:57): [True: 4, False: 0]
  ------------------
23636|      4|                p->error_indicator = 1;
23637|      4|                p->level--;
23638|      4|                return NULL;
23639|      4|            }
23640|      0|            goto done;
23641|      4|        }
23642|  9.87k|        p->mark = _mark;
23643|  9.87k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
23644|  9.87k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(lambda_slash_no_default | lambda_slash_with_default) lambda_param_maybe_default* '/'"));
23645|  9.87k|    }
23646|      0|    { // lambda_slash_no_default? lambda_param_no_default* invalid_lambda_parameters_helper lambda_param_no_default
23647|  9.87k|        if (p->error_indicator) {
  ------------------
  |  Branch (23647:13): [True: 192, False: 9.67k]
  ------------------
23648|    192|            p->level--;
23649|    192|            return NULL;
23650|    192|        }
23651|  9.67k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_slash_no_default? lambda_param_no_default* invalid_lambda_parameters_helper lambda_param_no_default"));
23652|  9.67k|        asdl_seq * _loop0_72_var;
23653|  9.67k|        void *_opt_var;
23654|  9.67k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  9.67k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 9.67k]
  |  |  ------------------
  ------------------
23655|  9.67k|        arg_ty a;
23656|  9.67k|        void *invalid_lambda_parameters_helper_var;
23657|  9.67k|        if (
23658|  9.67k|            (_opt_var = lambda_slash_no_default_rule(p), !p->error_indicator)  // lambda_slash_no_default?
  ------------------
  |  Branch (23658:13): [True: 9.67k, False: 0]
  ------------------
23659|  9.67k|            &&
23660|  9.67k|            (_loop0_72_var = _loop0_72_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (23660:13): [True: 9.67k, False: 0]
  ------------------
23661|  9.67k|            &&
23662|  9.67k|            (invalid_lambda_parameters_helper_var = invalid_lambda_parameters_helper_rule(p))  // invalid_lambda_parameters_helper
  ------------------
  |  Branch (23662:13): [True: 1.67k, False: 8.00k]
  ------------------
23663|  1.67k|            &&
23664|  1.67k|            (a = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (23664:13): [True: 5, False: 1.66k]
  ------------------
23665|  9.67k|        )
23666|      5|        {
23667|      5|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_slash_no_default? lambda_param_no_default* invalid_lambda_parameters_helper lambda_param_no_default"));
23668|      5|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "parameter without a default follows parameter with a default" );
  ------------------
  |  |  213|      5|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23669|      5|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23669:18): [True: 5, False: 0]
  |  Branch (23669:34): [True: 0, False: 0]
  |  Branch (23669:57): [True: 5, False: 0]
  ------------------
23670|      5|                p->error_indicator = 1;
23671|      5|                p->level--;
23672|      5|                return NULL;
23673|      5|            }
23674|      0|            goto done;
23675|      5|        }
23676|  9.67k|        p->mark = _mark;
23677|  9.67k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
23678|  9.67k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_no_default? lambda_param_no_default* invalid_lambda_parameters_helper lambda_param_no_default"));
23679|  9.67k|    }
23680|      0|    { // lambda_param_no_default* '(' ','.lambda_param+ ','? ')'
23681|  9.67k|        if (p->error_indicator) {
  ------------------
  |  Branch (23681:13): [True: 0, False: 9.67k]
  ------------------
23682|      0|            p->level--;
23683|      0|            return NULL;
23684|      0|        }
23685|  9.67k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default* '(' ','.lambda_param+ ','? ')'"));
23686|  9.67k|        asdl_seq * _gather_132_var;
23687|  9.67k|        asdl_seq * _loop0_72_var;
23688|  9.67k|        void *_opt_var;
23689|  9.67k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  9.67k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 9.67k]
  |  |  ------------------
  ------------------
23690|  9.67k|        Token * a;
23691|  9.67k|        Token * b;
23692|  9.67k|        if (
23693|  9.67k|            (_loop0_72_var = _loop0_72_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (23693:13): [True: 9.67k, False: 0]
  ------------------
23694|  9.67k|            &&
23695|  9.67k|            (a = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (23695:13): [True: 57, False: 9.61k]
  ------------------
23696|     57|            &&
23697|     57|            (_gather_132_var = _gather_132_rule(p))  // ','.lambda_param+
  ------------------
  |  Branch (23697:13): [True: 46, False: 11]
  ------------------
23698|     46|            &&
23699|     46|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (23699:13): [True: 41, False: 5]
  ------------------
23700|     41|            &&
23701|     41|            (b = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (23701:13): [True: 2, False: 39]
  ------------------
23702|  9.67k|        )
23703|      2|        {
23704|      2|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default* '(' ','.lambda_param+ ','? ')'"));
23705|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "Lambda expression parameters cannot be parenthesized" );
  ------------------
  |  |  211|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23706|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23706:18): [True: 2, False: 0]
  |  Branch (23706:34): [True: 0, False: 0]
  |  Branch (23706:57): [True: 2, False: 0]
  ------------------
23707|      2|                p->error_indicator = 1;
23708|      2|                p->level--;
23709|      2|                return NULL;
23710|      2|            }
23711|      0|            goto done;
23712|      2|        }
23713|  9.67k|        p->mark = _mark;
23714|  9.67k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
23715|  9.67k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default* '(' ','.lambda_param+ ','? ')'"));
23716|  9.67k|    }
23717|      0|    { // [(lambda_slash_no_default | lambda_slash_with_default)] lambda_param_maybe_default* '*' (',' | lambda_param_no_default) lambda_param_maybe_default* '/'
23718|  9.67k|        if (p->error_indicator) {
  ------------------
  |  Branch (23718:13): [True: 7, False: 9.66k]
  ------------------
23719|      7|            p->level--;
23720|      7|            return NULL;
23721|      7|        }
23722|  9.66k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "[(lambda_slash_no_default | lambda_slash_with_default)] lambda_param_maybe_default* '*' (',' | lambda_param_no_default) lambda_param_maybe_default* '/'"));
23723|  9.66k|        Token * _literal;
23724|  9.66k|        asdl_seq * _loop0_76_var;
23725|  9.66k|        asdl_seq * _loop0_76_var_1;
23726|  9.66k|        void *_opt_var;
23727|  9.66k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  9.66k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 9.66k]
  |  |  ------------------
  ------------------
23728|  9.66k|        void *_tmp_133_var;
23729|  9.66k|        Token * a;
23730|  9.66k|        if (
23731|  9.66k|            (_opt_var = _tmp_130_rule(p), !p->error_indicator)  // [(lambda_slash_no_default | lambda_slash_with_default)]
  ------------------
  |  Branch (23731:13): [True: 9.66k, False: 0]
  ------------------
23732|  9.66k|            &&
23733|  9.66k|            (_loop0_76_var = _loop0_76_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (23733:13): [True: 9.66k, False: 0]
  ------------------
23734|  9.66k|            &&
23735|  9.66k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (23735:13): [True: 4.51k, False: 5.15k]
  ------------------
23736|  4.51k|            &&
23737|  4.51k|            (_tmp_133_var = _tmp_133_rule(p))  // ',' | lambda_param_no_default
  ------------------
  |  Branch (23737:13): [True: 4.44k, False: 71]
  ------------------
23738|  4.44k|            &&
23739|  4.44k|            (_loop0_76_var_1 = _loop0_76_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (23739:13): [True: 4.44k, False: 0]
  ------------------
23740|  4.44k|            &&
23741|  4.44k|            (a = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (23741:13): [True: 2, False: 4.44k]
  ------------------
23742|  9.66k|        )
23743|      2|        {
23744|      2|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "[(lambda_slash_no_default | lambda_slash_with_default)] lambda_param_maybe_default* '*' (',' | lambda_param_no_default) lambda_param_maybe_default* '/'"));
23745|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "/ must be ahead of *" );
  ------------------
  |  |  213|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23746|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23746:18): [True: 2, False: 0]
  |  Branch (23746:34): [True: 0, False: 0]
  |  Branch (23746:57): [True: 2, False: 0]
  ------------------
23747|      2|                p->error_indicator = 1;
23748|      2|                p->level--;
23749|      2|                return NULL;
23750|      2|            }
23751|      0|            goto done;
23752|      2|        }
23753|  9.66k|        p->mark = _mark;
23754|  9.66k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
23755|  9.66k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "[(lambda_slash_no_default | lambda_slash_with_default)] lambda_param_maybe_default* '*' (',' | lambda_param_no_default) lambda_param_maybe_default* '/'"));
23756|  9.66k|    }
23757|      0|    { // lambda_param_maybe_default+ '/' '*'
23758|  9.66k|        if (p->error_indicator) {
  ------------------
  |  Branch (23758:13): [True: 434, False: 9.22k]
  ------------------
23759|    434|            p->level--;
23760|    434|            return NULL;
23761|    434|        }
23762|  9.22k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_maybe_default+ '/' '*'"));
23763|  9.22k|        Token * _literal;
23764|  9.22k|        asdl_seq * _loop1_77_var;
23765|  9.22k|        Token * a;
23766|  9.22k|        if (
23767|  9.22k|            (_loop1_77_var = _loop1_77_rule(p))  // lambda_param_maybe_default+
  ------------------
  |  Branch (23767:13): [True: 5.62k, False: 3.60k]
  ------------------
23768|  5.62k|            &&
23769|  5.62k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (23769:13): [True: 2.29k, False: 3.32k]
  ------------------
23770|  2.29k|            &&
23771|  2.29k|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (23771:13): [True: 5, False: 2.29k]
  ------------------
23772|  9.22k|        )
23773|      5|        {
23774|      5|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_maybe_default+ '/' '*'"));
23775|      5|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "expected comma between / and *" );
  ------------------
  |  |  213|      5|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23776|      5|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23776:18): [True: 5, False: 0]
  |  Branch (23776:34): [True: 0, False: 0]
  |  Branch (23776:57): [True: 5, False: 0]
  ------------------
23777|      5|                p->error_indicator = 1;
23778|      5|                p->level--;
23779|      5|                return NULL;
23780|      5|            }
23781|      0|            goto done;
23782|      5|        }
23783|  9.22k|        p->mark = _mark;
23784|  9.22k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
23785|  9.22k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_maybe_default+ '/' '*'"));
23786|  9.22k|    }
23787|  9.22k|    _res = NULL;
23788|  9.22k|  done:
23789|  9.22k|    p->level--;
23790|  9.22k|    return _res;
23791|  9.22k|}
parser.c:_tmp_130_rule:
36728|  19.5k|{
36729|  19.5k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  39.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (36729:9): [True: 0, False: 19.5k]
  |  Branch (36729:35): [True: 0, False: 19.5k]
  ------------------
36730|      0|        _Pypegen_stack_overflow(p);
36731|      0|    }
36732|  19.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (36732:9): [True: 0, False: 19.5k]
  ------------------
36733|      0|        p->level--;
36734|      0|        return NULL;
36735|      0|    }
36736|  19.5k|    void * _res = NULL;
36737|  19.5k|    int _mark = p->mark;
36738|  19.5k|    { // lambda_slash_no_default
36739|  19.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (36739:13): [True: 0, False: 19.5k]
  ------------------
36740|      0|            p->level--;
36741|      0|            return NULL;
36742|      0|        }
36743|  19.5k|        D(fprintf(stderr, "%*c> _tmp_130[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_slash_no_default"));
36744|  19.5k|        asdl_arg_seq* lambda_slash_no_default_var;
36745|  19.5k|        if (
36746|  19.5k|            (lambda_slash_no_default_var = lambda_slash_no_default_rule(p))  // lambda_slash_no_default
  ------------------
  |  Branch (36746:13): [True: 3.73k, False: 15.8k]
  ------------------
36747|  19.5k|        )
36748|  3.73k|        {
36749|  3.73k|            D(fprintf(stderr, "%*c+ _tmp_130[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_slash_no_default"));
36750|  3.73k|            _res = lambda_slash_no_default_var;
36751|  3.73k|            goto done;
36752|  3.73k|        }
36753|  15.8k|        p->mark = _mark;
36754|  15.8k|        D(fprintf(stderr, "%*c%s _tmp_130[%d-%d]: %s failed!\n", p->level, ' ',
36755|  15.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_no_default"));
36756|  15.8k|    }
36757|      0|    { // lambda_slash_with_default
36758|  15.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (36758:13): [True: 2, False: 15.8k]
  ------------------
36759|      2|            p->level--;
36760|      2|            return NULL;
36761|      2|        }
36762|  15.8k|        D(fprintf(stderr, "%*c> _tmp_130[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_slash_with_default"));
36763|  15.8k|        SlashWithDefault* lambda_slash_with_default_var;
36764|  15.8k|        if (
36765|  15.8k|            (lambda_slash_with_default_var = lambda_slash_with_default_rule(p))  // lambda_slash_with_default
  ------------------
  |  Branch (36765:13): [True: 1.37k, False: 14.4k]
  ------------------
36766|  15.8k|        )
36767|  1.37k|        {
36768|  1.37k|            D(fprintf(stderr, "%*c+ _tmp_130[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_slash_with_default"));
36769|  1.37k|            _res = lambda_slash_with_default_var;
36770|  1.37k|            goto done;
36771|  1.37k|        }
36772|  14.4k|        p->mark = _mark;
36773|  14.4k|        D(fprintf(stderr, "%*c%s _tmp_130[%d-%d]: %s failed!\n", p->level, ' ',
36774|  14.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_with_default"));
36775|  14.4k|    }
36776|  14.4k|    _res = NULL;
36777|  19.5k|  done:
36778|  19.5k|    p->level--;
36779|  19.5k|    return _res;
36780|  14.4k|}
parser.c:lambda_slash_with_default_rule:
16058|  41.3k|{
16059|  41.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  82.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16059:9): [True: 0, False: 41.3k]
  |  Branch (16059:35): [True: 0, False: 41.3k]
  ------------------
16060|      0|        _Pypegen_stack_overflow(p);
16061|      0|    }
16062|  41.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (16062:9): [True: 0, False: 41.3k]
  ------------------
16063|      0|        p->level--;
16064|      0|        return NULL;
16065|      0|    }
16066|  41.3k|    SlashWithDefault* _res = NULL;
16067|  41.3k|    int _mark = p->mark;
16068|  41.3k|    { // lambda_param_no_default* lambda_param_with_default+ '/' ','
16069|  41.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (16069:13): [True: 0, False: 41.3k]
  ------------------
16070|      0|            p->level--;
16071|      0|            return NULL;
16072|      0|        }
16073|  41.3k|        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+ '/' ','"));
16074|  41.3k|        Token * _literal;
16075|  41.3k|        Token * _literal_1;
16076|  41.3k|        asdl_seq * a;
16077|  41.3k|        asdl_seq * b;
16078|  41.3k|        if (
16079|  41.3k|            (a = _loop0_72_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (16079:13): [True: 41.3k, False: 0]
  ------------------
16080|  41.3k|            &&
16081|  41.3k|            (b = _loop1_75_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (16081:13): [True: 7.77k, False: 33.6k]
  ------------------
16082|  7.77k|            &&
16083|  7.77k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (16083:13): [True: 3.09k, False: 4.68k]
  ------------------
16084|  3.09k|            &&
16085|  3.09k|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16085:13): [True: 2.77k, False: 313]
  ------------------
16086|  41.3k|        )
16087|  2.77k|        {
16088|  2.77k|            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+ '/' ','"));
16089|  2.77k|            _res = _PyPegen_slash_with_default ( p , ( asdl_arg_seq* ) a , b );
16090|  2.77k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16090:18): [True: 0, False: 2.77k]
  |  Branch (16090:34): [True: 0, False: 2.77k]
  |  Branch (16090:57): [True: 0, False: 0]
  ------------------
16091|      0|                p->error_indicator = 1;
16092|      0|                p->level--;
16093|      0|                return NULL;
16094|      0|            }
16095|  2.77k|            goto done;
16096|  2.77k|        }
16097|  38.6k|        p->mark = _mark;
16098|  38.6k|        D(fprintf(stderr, "%*c%s lambda_slash_with_default[%d-%d]: %s failed!\n", p->level, ' ',
16099|  38.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' ','"));
16100|  38.6k|    }
16101|      0|    { // lambda_param_no_default* lambda_param_with_default+ '/' &':'
16102|  38.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (16102:13): [True: 323, False: 38.2k]
  ------------------
16103|    323|            p->level--;
16104|    323|            return NULL;
16105|    323|        }
16106|  38.2k|        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+ '/' &':'"));
16107|  38.2k|        Token * _literal;
16108|  38.2k|        asdl_seq * a;
16109|  38.2k|        asdl_seq * b;
16110|  38.2k|        if (
16111|  38.2k|            (a = _loop0_72_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (16111:13): [True: 38.2k, False: 0]
  ------------------
16112|  38.2k|            &&
16113|  38.2k|            (b = _loop1_75_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (16113:13): [True: 4.99k, False: 33.3k]
  ------------------
16114|  4.99k|            &&
16115|  4.99k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (16115:13): [True: 312, False: 4.68k]
  ------------------
16116|    312|            &&
16117|    312|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16117:13): [True: 263, False: 49]
  ------------------
16118|  38.2k|        )
16119|    263|        {
16120|    263|            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+ '/' &':'"));
16121|    263|            _res = _PyPegen_slash_with_default ( p , ( asdl_arg_seq* ) a , b );
16122|    263|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16122:18): [True: 0, False: 263]
  |  Branch (16122:34): [True: 0, False: 263]
  |  Branch (16122:57): [True: 0, False: 0]
  ------------------
16123|      0|                p->error_indicator = 1;
16124|      0|                p->level--;
16125|      0|                return NULL;
16126|      0|            }
16127|    263|            goto done;
16128|    263|        }
16129|  38.0k|        p->mark = _mark;
16130|  38.0k|        D(fprintf(stderr, "%*c%s lambda_slash_with_default[%d-%d]: %s failed!\n", p->level, ' ',
16131|  38.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' &':'"));
16132|  38.0k|    }
16133|  38.0k|    _res = NULL;
16134|  41.0k|  done:
16135|  41.0k|    p->level--;
16136|  41.0k|    return _res;
16137|  38.0k|}
parser.c:_loop1_75_rule:
33292|  98.8k|{
33293|  98.8k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   197k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33293:9): [True: 0, False: 98.8k]
  |  Branch (33293:35): [True: 0, False: 98.8k]
  ------------------
33294|      0|        _Pypegen_stack_overflow(p);
33295|      0|    }
33296|  98.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (33296:9): [True: 0, False: 98.8k]
  ------------------
33297|      0|        p->level--;
33298|      0|        return NULL;
33299|      0|    }
33300|  98.8k|    void *_res = NULL;
33301|  98.8k|    int _mark = p->mark;
33302|  98.8k|    void **_children = PyMem_Malloc(sizeof(void *));
33303|  98.8k|    if (!_children) {
  ------------------
  |  Branch (33303:9): [True: 0, False: 98.8k]
  ------------------
33304|      0|        p->error_indicator = 1;
33305|      0|        PyErr_NoMemory();
33306|      0|        p->level--;
33307|      0|        return NULL;
33308|      0|    }
33309|  98.8k|    Py_ssize_t _children_capacity = 1;
33310|  98.8k|    Py_ssize_t _n = 0;
33311|  98.8k|    { // lambda_param_with_default
33312|  98.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (33312:13): [True: 0, False: 98.8k]
  ------------------
33313|      0|            p->level--;
33314|      0|            return NULL;
33315|      0|        }
33316|  98.8k|        D(fprintf(stderr, "%*c> _loop1_75[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default"));
33317|  98.8k|        NameDefaultPair* lambda_param_with_default_var;
33318|  98.8k|        while (
33319|   119k|            (lambda_param_with_default_var = lambda_param_with_default_rule(p))  // lambda_param_with_default
  ------------------
  |  Branch (33319:13): [True: 20.5k, False: 98.8k]
  ------------------
33320|  98.8k|        )
33321|  20.5k|        {
33322|  20.5k|            _res = lambda_param_with_default_var;
33323|  20.5k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33323:17): [True: 2.41k, False: 18.1k]
  ------------------
33324|  2.41k|                _children_capacity *= 2;
33325|  2.41k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33326|  2.41k|                if (!_new_children) {
  ------------------
  |  Branch (33326:21): [True: 0, False: 2.41k]
  ------------------
33327|      0|                    PyMem_Free(_children);
33328|      0|                    p->error_indicator = 1;
33329|      0|                    PyErr_NoMemory();
33330|      0|                    p->level--;
33331|      0|                    return NULL;
33332|      0|                }
33333|  2.41k|                _children = _new_children;
33334|  2.41k|            }
33335|  20.5k|            _children[_n++] = _res;
33336|  20.5k|            _mark = p->mark;
33337|  20.5k|        }
33338|  98.8k|        p->mark = _mark;
33339|  98.8k|        D(fprintf(stderr, "%*c%s _loop1_75[%d-%d]: %s failed!\n", p->level, ' ',
33340|  98.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default"));
33341|  98.8k|    }
33342|  98.8k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (33342:9): [True: 83.5k, False: 15.2k]
  |  Branch (33342:20): [True: 124, False: 15.1k]
  ------------------
33343|  83.6k|        PyMem_Free(_children);
33344|  83.6k|        p->level--;
33345|  83.6k|        return NULL;
33346|  83.6k|    }
33347|  15.1k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33348|  15.1k|    if (!_seq) {
  ------------------
  |  Branch (33348:9): [True: 0, False: 15.1k]
  ------------------
33349|      0|        PyMem_Free(_children);
33350|      0|        p->error_indicator = 1;
33351|      0|        PyErr_NoMemory();
33352|      0|        p->level--;
33353|      0|        return NULL;
33354|      0|    }
33355|  35.4k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  20.3k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  35.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33355:28): [True: 20.3k, False: 15.1k]
  ------------------
33356|  15.1k|    PyMem_Free(_children);
33357|  15.1k|    p->level--;
33358|  15.1k|    return _seq;
33359|  15.1k|}
parser.c:lambda_param_with_default_rule:
16411|   128k|{
16412|   128k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   257k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16412:9): [True: 0, False: 128k]
  |  Branch (16412:35): [True: 0, False: 128k]
  ------------------
16413|      0|        _Pypegen_stack_overflow(p);
16414|      0|    }
16415|   128k|    if (p->error_indicator) {
  ------------------
  |  Branch (16415:9): [True: 0, False: 128k]
  ------------------
16416|      0|        p->level--;
16417|      0|        return NULL;
16418|      0|    }
16419|   128k|    NameDefaultPair* _res = NULL;
16420|   128k|    int _mark = p->mark;
16421|   128k|    { // lambda_param default ','
16422|   128k|        if (p->error_indicator) {
  ------------------
  |  Branch (16422:13): [True: 0, False: 128k]
  ------------------
16423|      0|            p->level--;
16424|      0|            return NULL;
16425|      0|        }
16426|   128k|        D(fprintf(stderr, "%*c> lambda_param_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default ','"));
16427|   128k|        Token * _literal;
16428|   128k|        arg_ty a;
16429|   128k|        expr_ty c;
16430|   128k|        if (
16431|   128k|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (16431:13): [True: 29.9k, False: 98.6k]
  ------------------
16432|  29.9k|            &&
16433|  29.9k|            (c = default_rule(p))  // default
  ------------------
  |  Branch (16433:13): [True: 28.3k, False: 1.59k]
  ------------------
16434|  28.3k|            &&
16435|  28.3k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16435:13): [True: 18.4k, False: 9.96k]
  ------------------
16436|   128k|        )
16437|  18.4k|        {
16438|  18.4k|            D(fprintf(stderr, "%*c+ lambda_param_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param default ','"));
16439|  18.4k|            _res = _PyPegen_name_default_pair ( p , a , c , NULL );
16440|  18.4k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16440:18): [True: 0, False: 18.4k]
  |  Branch (16440:34): [True: 0, False: 18.4k]
  |  Branch (16440:57): [True: 0, False: 0]
  ------------------
16441|      0|                p->error_indicator = 1;
16442|      0|                p->level--;
16443|      0|                return NULL;
16444|      0|            }
16445|  18.4k|            goto done;
16446|  18.4k|        }
16447|   110k|        p->mark = _mark;
16448|   110k|        D(fprintf(stderr, "%*c%s lambda_param_with_default[%d-%d]: %s failed!\n", p->level, ' ',
16449|   110k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default ','"));
16450|   110k|    }
16451|      0|    { // lambda_param default &':'
16452|   110k|        if (p->error_indicator) {
  ------------------
  |  Branch (16452:13): [True: 355, False: 109k]
  ------------------
16453|    355|            p->level--;
16454|    355|            return NULL;
16455|    355|        }
16456|   109k|        D(fprintf(stderr, "%*c> lambda_param_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default &':'"));
16457|   109k|        arg_ty a;
16458|   109k|        expr_ty c;
16459|   109k|        if (
16460|   109k|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (16460:13): [True: 11.2k, False: 98.6k]
  ------------------
16461|  11.2k|            &&
16462|  11.2k|            (c = default_rule(p))  // default
  ------------------
  |  Branch (16462:13): [True: 9.96k, False: 1.24k]
  ------------------
16463|  9.96k|            &&
16464|  9.96k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16464:13): [True: 3.09k, False: 6.87k]
  ------------------
16465|   109k|        )
16466|  3.09k|        {
16467|  3.09k|            D(fprintf(stderr, "%*c+ lambda_param_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param default &':'"));
16468|  3.09k|            _res = _PyPegen_name_default_pair ( p , a , c , NULL );
16469|  3.09k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16469:18): [True: 0, False: 3.09k]
  |  Branch (16469:34): [True: 0, False: 3.09k]
  |  Branch (16469:57): [True: 0, False: 0]
  ------------------
16470|      0|                p->error_indicator = 1;
16471|      0|                p->level--;
16472|      0|                return NULL;
16473|      0|            }
16474|  3.09k|            goto done;
16475|  3.09k|        }
16476|   106k|        p->mark = _mark;
16477|   106k|        D(fprintf(stderr, "%*c%s lambda_param_with_default[%d-%d]: %s failed!\n", p->level, ' ',
16478|   106k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default &':'"));
16479|   106k|    }
16480|   106k|    _res = NULL;
16481|   128k|  done:
16482|   128k|    p->level--;
16483|   128k|    return _res;
16484|   106k|}
parser.c:lambda_param_rule:
16567|   909k|{
16568|   909k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.81M|#  define MAXSTACK 6000
  ------------------
  |  Branch (16568:9): [True: 0, False: 909k]
  |  Branch (16568:35): [True: 0, False: 909k]
  ------------------
16569|      0|        _Pypegen_stack_overflow(p);
16570|      0|    }
16571|   909k|    if (p->error_indicator) {
  ------------------
  |  Branch (16571:9): [True: 0, False: 909k]
  ------------------
16572|      0|        p->level--;
16573|      0|        return NULL;
16574|      0|    }
16575|   909k|    arg_ty _res = NULL;
16576|   909k|    int _mark = p->mark;
16577|   909k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (16577:9): [True: 24.6k, False: 885k]
  |  Branch (16577:31): [True: 37, False: 24.6k]
  ------------------
16578|     37|        p->error_indicator = 1;
16579|     37|        p->level--;
16580|     37|        return NULL;
16581|     37|    }
16582|   909k|    int _start_lineno = p->tokens[_mark]->lineno;
16583|   909k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   909k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 909k]
  |  |  ------------------
  ------------------
16584|   909k|    int _start_col_offset = p->tokens[_mark]->col_offset;
16585|   909k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   909k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 909k]
  |  |  ------------------
  ------------------
16586|   909k|    { // NAME
16587|   909k|        if (p->error_indicator) {
  ------------------
  |  Branch (16587:13): [True: 0, False: 909k]
  ------------------
16588|      0|            p->level--;
16589|      0|            return NULL;
16590|      0|        }
16591|   909k|        D(fprintf(stderr, "%*c> lambda_param[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
16592|   909k|        expr_ty a;
16593|   909k|        if (
16594|   909k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (16594:13): [True: 314k, False: 595k]
  ------------------
16595|   909k|        )
16596|   314k|        {
16597|   314k|            D(fprintf(stderr, "%*c+ lambda_param[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
16598|   314k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
16599|   314k|            if (_token == NULL) {
  ------------------
  |  Branch (16599:17): [True: 0, False: 314k]
  ------------------
16600|      0|                p->level--;
16601|      0|                return NULL;
16602|      0|            }
16603|   314k|            int _end_lineno = _token->end_lineno;
16604|   314k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   314k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 314k]
  |  |  ------------------
  ------------------
16605|   314k|            int _end_col_offset = _token->end_col_offset;
16606|   314k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   314k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 314k]
  |  |  ------------------
  ------------------
16607|   314k|            _res = _PyAST_arg ( a -> v . Name . id , NULL , NULL , EXTRA );
  ------------------
  |  |  281|   314k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
16608|   314k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16608:18): [True: 0, False: 314k]
  |  Branch (16608:34): [True: 0, False: 314k]
  |  Branch (16608:57): [True: 0, False: 0]
  ------------------
16609|      0|                p->error_indicator = 1;
16610|      0|                p->level--;
16611|      0|                return NULL;
16612|      0|            }
16613|   314k|            goto done;
16614|   314k|        }
16615|   595k|        p->mark = _mark;
16616|   595k|        D(fprintf(stderr, "%*c%s lambda_param[%d-%d]: %s failed!\n", p->level, ' ',
16617|   595k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
16618|   595k|    }
16619|   595k|    _res = NULL;
16620|   909k|  done:
16621|   909k|    p->level--;
16622|   909k|    return _res;
16623|   595k|}
parser.c:default_rule:
 6004|   112k|{
 6005|   112k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   225k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6005:9): [True: 0, False: 112k]
  |  Branch (6005:35): [True: 0, False: 112k]
  ------------------
 6006|      0|        _Pypegen_stack_overflow(p);
 6007|      0|    }
 6008|   112k|    if (p->error_indicator) {
  ------------------
  |  Branch (6008:9): [True: 0, False: 112k]
  ------------------
 6009|      0|        p->level--;
 6010|      0|        return NULL;
 6011|      0|    }
 6012|   112k|    expr_ty _res = NULL;
 6013|   112k|    int _mark = p->mark;
 6014|   112k|    { // '=' expression
 6015|   112k|        if (p->error_indicator) {
  ------------------
  |  Branch (6015:13): [True: 0, False: 112k]
  ------------------
 6016|      0|            p->level--;
 6017|      0|            return NULL;
 6018|      0|        }
 6019|   112k|        D(fprintf(stderr, "%*c> default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'=' expression"));
 6020|   112k|        Token * _literal;
 6021|   112k|        expr_ty a;
 6022|   112k|        if (
 6023|   112k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (6023:13): [True: 79.3k, False: 33.2k]
  ------------------
 6024|  79.3k|            &&
 6025|  79.3k|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (6025:13): [True: 76.2k, False: 3.09k]
  ------------------
 6026|   112k|        )
 6027|  76.2k|        {
 6028|  76.2k|            D(fprintf(stderr, "%*c+ default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'=' expression"));
 6029|  76.2k|            _res = a;
 6030|  76.2k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6030:18): [True: 0, False: 76.2k]
  |  Branch (6030:34): [True: 0, False: 76.2k]
  |  Branch (6030:57): [True: 0, False: 0]
  ------------------
 6031|      0|                p->error_indicator = 1;
 6032|      0|                p->level--;
 6033|      0|                return NULL;
 6034|      0|            }
 6035|  76.2k|            goto done;
 6036|  76.2k|        }
 6037|  36.3k|        p->mark = _mark;
 6038|  36.3k|        D(fprintf(stderr, "%*c%s default[%d-%d]: %s failed!\n", p->level, ' ',
 6039|  36.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'=' expression"));
 6040|  36.3k|    }
 6041|  36.3k|    if (p->call_invalid_rules) { // invalid_default
  ------------------
  |  Branch (6041:9): [True: 31.2k, False: 5.14k]
  ------------------
 6042|  31.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (6042:13): [True: 615, False: 30.6k]
  ------------------
 6043|    615|            p->level--;
 6044|    615|            return NULL;
 6045|    615|        }
 6046|  30.6k|        D(fprintf(stderr, "%*c> default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_default"));
 6047|  30.6k|        void *invalid_default_var;
 6048|  30.6k|        if (
 6049|  30.6k|            (invalid_default_var = invalid_default_rule(p))  // invalid_default
  ------------------
  |  Branch (6049:13): [True: 0, False: 30.6k]
  ------------------
 6050|  30.6k|        )
 6051|      0|        {
 6052|      0|            D(fprintf(stderr, "%*c+ default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_default"));
 6053|      0|            _res = invalid_default_var;
 6054|      0|            goto done;
 6055|      0|        }
 6056|  30.6k|        p->mark = _mark;
 6057|  30.6k|        D(fprintf(stderr, "%*c%s default[%d-%d]: %s failed!\n", p->level, ' ',
 6058|  30.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_default"));
 6059|  30.6k|    }
 6060|  35.7k|    _res = NULL;
 6061|   111k|  done:
 6062|   111k|    p->level--;
 6063|   111k|    return _res;
 6064|  35.7k|}
parser.c:invalid_default_rule:
23205|  30.6k|{
23206|  30.6k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  61.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23206:9): [True: 0, False: 30.6k]
  |  Branch (23206:35): [True: 0, False: 30.6k]
  ------------------
23207|      0|        _Pypegen_stack_overflow(p);
23208|      0|    }
23209|  30.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (23209:9): [True: 0, False: 30.6k]
  ------------------
23210|      0|        p->level--;
23211|      0|        return NULL;
23212|      0|    }
23213|  30.6k|    void * _res = NULL;
23214|  30.6k|    int _mark = p->mark;
23215|  30.6k|    { // '=' &(')' | ',')
23216|  30.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (23216:13): [True: 0, False: 30.6k]
  ------------------
23217|      0|            p->level--;
23218|      0|            return NULL;
23219|      0|        }
23220|  30.6k|        D(fprintf(stderr, "%*c> invalid_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'=' &(')' | ',')"));
23221|  30.6k|        Token * a;
23222|  30.6k|        if (
23223|  30.6k|            (a = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (23223:13): [True: 1.48k, False: 29.1k]
  ------------------
23224|  1.48k|            &&
23225|  1.48k|            _PyPegen_lookahead(1, _tmp_126_rule, p)
  ------------------
  |  Branch (23225:13): [True: 11, False: 1.47k]
  ------------------
23226|  30.6k|        )
23227|     11|        {
23228|     11|            D(fprintf(stderr, "%*c+ invalid_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'=' &(')' | ',')"));
23229|     11|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "expected default value expression" );
  ------------------
  |  |  213|     11|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23230|     11|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23230:18): [True: 11, False: 0]
  |  Branch (23230:34): [True: 0, False: 0]
  |  Branch (23230:57): [True: 11, False: 0]
  ------------------
23231|     11|                p->error_indicator = 1;
23232|     11|                p->level--;
23233|     11|                return NULL;
23234|     11|            }
23235|      0|            goto done;
23236|     11|        }
23237|  30.6k|        p->mark = _mark;
23238|  30.6k|        D(fprintf(stderr, "%*c%s invalid_default[%d-%d]: %s failed!\n", p->level, ' ',
23239|  30.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'=' &(')' | ',')"));
23240|  30.6k|    }
23241|  30.6k|    _res = NULL;
23242|  30.6k|  done:
23243|  30.6k|    p->level--;
23244|  30.6k|    return _res;
23245|  30.6k|}
parser.c:_tmp_126_rule:
36478|  1.48k|{
36479|  1.48k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.97k|#  define MAXSTACK 6000
  ------------------
  |  Branch (36479:9): [True: 0, False: 1.48k]
  |  Branch (36479:35): [True: 0, False: 1.48k]
  ------------------
36480|      0|        _Pypegen_stack_overflow(p);
36481|      0|    }
36482|  1.48k|    if (p->error_indicator) {
  ------------------
  |  Branch (36482:9): [True: 0, False: 1.48k]
  ------------------
36483|      0|        p->level--;
36484|      0|        return NULL;
36485|      0|    }
36486|  1.48k|    void * _res = NULL;
36487|  1.48k|    int _mark = p->mark;
36488|  1.48k|    { // ')'
36489|  1.48k|        if (p->error_indicator) {
  ------------------
  |  Branch (36489:13): [True: 0, False: 1.48k]
  ------------------
36490|      0|            p->level--;
36491|      0|            return NULL;
36492|      0|        }
36493|  1.48k|        D(fprintf(stderr, "%*c> _tmp_126[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "')'"));
36494|  1.48k|        Token * _literal;
36495|  1.48k|        if (
36496|  1.48k|            (_literal = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (36496:13): [True: 3, False: 1.48k]
  ------------------
36497|  1.48k|        )
36498|      3|        {
36499|      3|            D(fprintf(stderr, "%*c+ _tmp_126[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "')'"));
36500|      3|            _res = _literal;
36501|      3|            goto done;
36502|      3|        }
36503|  1.48k|        p->mark = _mark;
36504|  1.48k|        D(fprintf(stderr, "%*c%s _tmp_126[%d-%d]: %s failed!\n", p->level, ' ',
36505|  1.48k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "')'"));
36506|  1.48k|    }
36507|      0|    { // ','
36508|  1.48k|        if (p->error_indicator) {
  ------------------
  |  Branch (36508:13): [True: 0, False: 1.48k]
  ------------------
36509|      0|            p->level--;
36510|      0|            return NULL;
36511|      0|        }
36512|  1.48k|        D(fprintf(stderr, "%*c> _tmp_126[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','"));
36513|  1.48k|        Token * _literal;
36514|  1.48k|        if (
36515|  1.48k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (36515:13): [True: 8, False: 1.47k]
  ------------------
36516|  1.48k|        )
36517|      8|        {
36518|      8|            D(fprintf(stderr, "%*c+ _tmp_126[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','"));
36519|      8|            _res = _literal;
36520|      8|            goto done;
36521|      8|        }
36522|  1.47k|        p->mark = _mark;
36523|  1.47k|        D(fprintf(stderr, "%*c%s _tmp_126[%d-%d]: %s failed!\n", p->level, ' ',
36524|  1.47k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','"));
36525|  1.47k|    }
36526|  1.47k|    _res = NULL;
36527|  1.48k|  done:
36528|  1.48k|    p->level--;
36529|  1.48k|    return _res;
36530|  1.47k|}
parser.c:_loop0_76_rule:
33364|  26.5k|{
33365|  26.5k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  53.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33365:9): [True: 0, False: 26.5k]
  |  Branch (33365:35): [True: 0, False: 26.5k]
  ------------------
33366|      0|        _Pypegen_stack_overflow(p);
33367|      0|    }
33368|  26.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (33368:9): [True: 0, False: 26.5k]
  ------------------
33369|      0|        p->level--;
33370|      0|        return NULL;
33371|      0|    }
33372|  26.5k|    void *_res = NULL;
33373|  26.5k|    int _mark = p->mark;
33374|  26.5k|    void **_children = PyMem_Malloc(sizeof(void *));
33375|  26.5k|    if (!_children) {
  ------------------
  |  Branch (33375:9): [True: 0, False: 26.5k]
  ------------------
33376|      0|        p->error_indicator = 1;
33377|      0|        PyErr_NoMemory();
33378|      0|        p->level--;
33379|      0|        return NULL;
33380|      0|    }
33381|  26.5k|    Py_ssize_t _children_capacity = 1;
33382|  26.5k|    Py_ssize_t _n = 0;
33383|  26.5k|    { // lambda_param_maybe_default
33384|  26.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (33384:13): [True: 0, False: 26.5k]
  ------------------
33385|      0|            p->level--;
33386|      0|            return NULL;
33387|      0|        }
33388|  26.5k|        D(fprintf(stderr, "%*c> _loop0_76[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_maybe_default"));
33389|  26.5k|        NameDefaultPair* lambda_param_maybe_default_var;
33390|  26.5k|        while (
33391|  40.3k|            (lambda_param_maybe_default_var = lambda_param_maybe_default_rule(p))  // lambda_param_maybe_default
  ------------------
  |  Branch (33391:13): [True: 13.8k, False: 26.5k]
  ------------------
33392|  26.5k|        )
33393|  13.8k|        {
33394|  13.8k|            _res = lambda_param_maybe_default_var;
33395|  13.8k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33395:17): [True: 1.70k, False: 12.1k]
  ------------------
33396|  1.70k|                _children_capacity *= 2;
33397|  1.70k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33398|  1.70k|                if (!_new_children) {
  ------------------
  |  Branch (33398:21): [True: 0, False: 1.70k]
  ------------------
33399|      0|                    PyMem_Free(_children);
33400|      0|                    p->error_indicator = 1;
33401|      0|                    PyErr_NoMemory();
33402|      0|                    p->level--;
33403|      0|                    return NULL;
33404|      0|                }
33405|  1.70k|                _children = _new_children;
33406|  1.70k|            }
33407|  13.8k|            _children[_n++] = _res;
33408|  13.8k|            _mark = p->mark;
33409|  13.8k|        }
33410|  26.5k|        p->mark = _mark;
33411|  26.5k|        D(fprintf(stderr, "%*c%s _loop0_76[%d-%d]: %s failed!\n", p->level, ' ',
33412|  26.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_maybe_default"));
33413|  26.5k|    }
33414|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33415|  26.5k|    if (!_seq) {
  ------------------
  |  Branch (33415:9): [True: 0, False: 26.5k]
  ------------------
33416|      0|        PyMem_Free(_children);
33417|      0|        p->error_indicator = 1;
33418|      0|        PyErr_NoMemory();
33419|      0|        p->level--;
33420|      0|        return NULL;
33421|      0|    }
33422|  40.3k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  13.8k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  40.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33422:28): [True: 13.8k, False: 26.5k]
  ------------------
33423|  26.5k|    PyMem_Free(_children);
33424|  26.5k|    p->level--;
33425|  26.5k|    return _seq;
33426|  26.5k|}
parser.c:lambda_param_maybe_default_rule:
16489|  60.0k|{
16490|  60.0k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   120k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16490:9): [True: 0, False: 60.0k]
  |  Branch (16490:35): [True: 0, False: 60.0k]
  ------------------
16491|      0|        _Pypegen_stack_overflow(p);
16492|      0|    }
16493|  60.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (16493:9): [True: 0, False: 60.0k]
  ------------------
16494|      0|        p->level--;
16495|      0|        return NULL;
16496|      0|    }
16497|  60.0k|    NameDefaultPair* _res = NULL;
16498|  60.0k|    int _mark = p->mark;
16499|  60.0k|    { // lambda_param default? ','
16500|  60.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (16500:13): [True: 0, False: 60.0k]
  ------------------
16501|      0|            p->level--;
16502|      0|            return NULL;
16503|      0|        }
16504|  60.0k|        D(fprintf(stderr, "%*c> lambda_param_maybe_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default? ','"));
16505|  60.0k|        Token * _literal;
16506|  60.0k|        arg_ty a;
16507|  60.0k|        void *c;
16508|  60.0k|        if (
16509|  60.0k|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (16509:13): [True: 29.2k, False: 30.7k]
  ------------------
16510|  29.2k|            &&
16511|  29.2k|            (c = default_rule(p), !p->error_indicator)  // default?
  ------------------
  |  Branch (16511:13): [True: 28.2k, False: 1.07k]
  ------------------
16512|  28.2k|            &&
16513|  28.2k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16513:13): [True: 9.29k, False: 18.9k]
  ------------------
16514|  60.0k|        )
16515|  9.29k|        {
16516|  9.29k|            D(fprintf(stderr, "%*c+ lambda_param_maybe_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param default? ','"));
16517|  9.29k|            _res = _PyPegen_name_default_pair ( p , a , c , NULL );
16518|  9.29k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16518:18): [True: 0, False: 9.29k]
  |  Branch (16518:34): [True: 0, False: 9.29k]
  |  Branch (16518:57): [True: 0, False: 0]
  ------------------
16519|      0|                p->error_indicator = 1;
16520|      0|                p->level--;
16521|      0|                return NULL;
16522|      0|            }
16523|  9.29k|            goto done;
16524|  9.29k|        }
16525|  50.7k|        p->mark = _mark;
16526|  50.7k|        D(fprintf(stderr, "%*c%s lambda_param_maybe_default[%d-%d]: %s failed!\n", p->level, ' ',
16527|  50.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default? ','"));
16528|  50.7k|    }
16529|      0|    { // lambda_param default? &':'
16530|  50.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (16530:13): [True: 1.08k, False: 49.6k]
  ------------------
16531|  1.08k|            p->level--;
16532|  1.08k|            return NULL;
16533|  1.08k|        }
16534|  49.6k|        D(fprintf(stderr, "%*c> lambda_param_maybe_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default? &':'"));
16535|  49.6k|        arg_ty a;
16536|  49.6k|        void *c;
16537|  49.6k|        if (
16538|  49.6k|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (16538:13): [True: 18.9k, False: 30.7k]
  ------------------
16539|  18.9k|            &&
16540|  18.9k|            (c = default_rule(p), !p->error_indicator)  // default?
  ------------------
  |  Branch (16540:13): [True: 18.9k, False: 0]
  ------------------
16541|  18.9k|            &&
16542|  18.9k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16542:13): [True: 12.0k, False: 6.91k]
  ------------------
16543|  49.6k|        )
16544|  12.0k|        {
16545|  12.0k|            D(fprintf(stderr, "%*c+ lambda_param_maybe_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param default? &':'"));
16546|  12.0k|            _res = _PyPegen_name_default_pair ( p , a , c , NULL );
16547|  12.0k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16547:18): [True: 0, False: 12.0k]
  |  Branch (16547:34): [True: 0, False: 12.0k]
  |  Branch (16547:57): [True: 0, False: 0]
  ------------------
16548|      0|                p->error_indicator = 1;
16549|      0|                p->level--;
16550|      0|                return NULL;
16551|      0|            }
16552|  12.0k|            goto done;
16553|  12.0k|        }
16554|  37.6k|        p->mark = _mark;
16555|  37.6k|        D(fprintf(stderr, "%*c%s lambda_param_maybe_default[%d-%d]: %s failed!\n", p->level, ' ',
16556|  37.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default? &':'"));
16557|  37.6k|    }
16558|  37.6k|    _res = NULL;
16559|  58.9k|  done:
16560|  58.9k|    p->level--;
16561|  58.9k|    return _res;
16562|  37.6k|}
parser.c:lambda_slash_no_default_rule:
15978|  47.8k|{
15979|  47.8k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  95.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15979:9): [True: 0, False: 47.8k]
  |  Branch (15979:35): [True: 0, False: 47.8k]
  ------------------
15980|      0|        _Pypegen_stack_overflow(p);
15981|      0|    }
15982|  47.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (15982:9): [True: 0, False: 47.8k]
  ------------------
15983|      0|        p->level--;
15984|      0|        return NULL;
15985|      0|    }
15986|  47.8k|    asdl_arg_seq* _res = NULL;
15987|  47.8k|    int _mark = p->mark;
15988|  47.8k|    { // lambda_param_no_default+ '/' ','
15989|  47.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (15989:13): [True: 0, False: 47.8k]
  ------------------
15990|      0|            p->level--;
15991|      0|            return NULL;
15992|      0|        }
15993|  47.8k|        D(fprintf(stderr, "%*c> lambda_slash_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' ','"));
15994|  47.8k|        Token * _literal;
15995|  47.8k|        Token * _literal_1;
15996|  47.8k|        asdl_arg_seq* a;
15997|  47.8k|        if (
15998|  47.8k|            (a = (asdl_arg_seq*)_loop1_74_rule(p))  // lambda_param_no_default+
  ------------------
  |  Branch (15998:13): [True: 23.2k, False: 24.5k]
  ------------------
15999|  23.2k|            &&
16000|  23.2k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (16000:13): [True: 8.33k, False: 14.9k]
  ------------------
16001|  8.33k|            &&
16002|  8.33k|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16002:13): [True: 7.89k, False: 437]
  ------------------
16003|  47.8k|        )
16004|  7.89k|        {
16005|  7.89k|            D(fprintf(stderr, "%*c+ lambda_slash_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' ','"));
16006|  7.89k|            _res = a;
16007|  7.89k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16007:18): [True: 0, False: 7.89k]
  |  Branch (16007:34): [True: 0, False: 7.89k]
  |  Branch (16007:57): [True: 0, False: 0]
  ------------------
16008|      0|                p->error_indicator = 1;
16009|      0|                p->level--;
16010|      0|                return NULL;
16011|      0|            }
16012|  7.89k|            goto done;
16013|  7.89k|        }
16014|  39.9k|        p->mark = _mark;
16015|  39.9k|        D(fprintf(stderr, "%*c%s lambda_slash_no_default[%d-%d]: %s failed!\n", p->level, ' ',
16016|  39.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default+ '/' ','"));
16017|  39.9k|    }
16018|      0|    { // lambda_param_no_default+ '/' &':'
16019|  39.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (16019:13): [True: 14, False: 39.8k]
  ------------------
16020|     14|            p->level--;
16021|     14|            return NULL;
16022|     14|        }
16023|  39.8k|        D(fprintf(stderr, "%*c> lambda_slash_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' &':'"));
16024|  39.8k|        Token * _literal;
16025|  39.8k|        asdl_arg_seq* a;
16026|  39.8k|        if (
16027|  39.8k|            (a = (asdl_arg_seq*)_loop1_74_rule(p))  // lambda_param_no_default+
  ------------------
  |  Branch (16027:13): [True: 15.3k, False: 24.5k]
  ------------------
16028|  15.3k|            &&
16029|  15.3k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (16029:13): [True: 436, False: 14.9k]
  ------------------
16030|    436|            &&
16031|    436|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16031:13): [True: 371, False: 65]
  ------------------
16032|  39.8k|        )
16033|    371|        {
16034|    371|            D(fprintf(stderr, "%*c+ lambda_slash_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' &':'"));
16035|    371|            _res = a;
16036|    371|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16036:18): [True: 0, False: 371]
  |  Branch (16036:34): [True: 0, False: 371]
  |  Branch (16036:57): [True: 0, False: 0]
  ------------------
16037|      0|                p->error_indicator = 1;
16038|      0|                p->level--;
16039|      0|                return NULL;
16040|      0|            }
16041|    371|            goto done;
16042|    371|        }
16043|  39.5k|        p->mark = _mark;
16044|  39.5k|        D(fprintf(stderr, "%*c%s lambda_slash_no_default[%d-%d]: %s failed!\n", p->level, ' ',
16045|  39.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default+ '/' &':'"));
16046|  39.5k|    }
16047|  39.5k|    _res = NULL;
16048|  47.7k|  done:
16049|  47.7k|    p->level--;
16050|  47.7k|    return _res;
16051|  39.5k|}
parser.c:_loop1_74_rule:
33220|   102k|{
33221|   102k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   204k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33221:9): [True: 0, False: 102k]
  |  Branch (33221:35): [True: 0, False: 102k]
  ------------------
33222|      0|        _Pypegen_stack_overflow(p);
33223|      0|    }
33224|   102k|    if (p->error_indicator) {
  ------------------
  |  Branch (33224:9): [True: 0, False: 102k]
  ------------------
33225|      0|        p->level--;
33226|      0|        return NULL;
33227|      0|    }
33228|   102k|    void *_res = NULL;
33229|   102k|    int _mark = p->mark;
33230|   102k|    void **_children = PyMem_Malloc(sizeof(void *));
33231|   102k|    if (!_children) {
  ------------------
  |  Branch (33231:9): [True: 0, False: 102k]
  ------------------
33232|      0|        p->error_indicator = 1;
33233|      0|        PyErr_NoMemory();
33234|      0|        p->level--;
33235|      0|        return NULL;
33236|      0|    }
33237|   102k|    Py_ssize_t _children_capacity = 1;
33238|   102k|    Py_ssize_t _n = 0;
33239|   102k|    { // lambda_param_no_default
33240|   102k|        if (p->error_indicator) {
  ------------------
  |  Branch (33240:13): [True: 0, False: 102k]
  ------------------
33241|      0|            p->level--;
33242|      0|            return NULL;
33243|      0|        }
33244|   102k|        D(fprintf(stderr, "%*c> _loop1_74[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
33245|   102k|        arg_ty lambda_param_no_default_var;
33246|   102k|        while (
33247|   147k|            (lambda_param_no_default_var = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (33247:13): [True: 45.4k, False: 102k]
  ------------------
33248|   102k|        )
33249|  45.4k|        {
33250|  45.4k|            _res = lambda_param_no_default_var;
33251|  45.4k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33251:17): [True: 1.14k, False: 44.3k]
  ------------------
33252|  1.14k|                _children_capacity *= 2;
33253|  1.14k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33254|  1.14k|                if (!_new_children) {
  ------------------
  |  Branch (33254:21): [True: 0, False: 1.14k]
  ------------------
33255|      0|                    PyMem_Free(_children);
33256|      0|                    p->error_indicator = 1;
33257|      0|                    PyErr_NoMemory();
33258|      0|                    p->level--;
33259|      0|                    return NULL;
33260|      0|                }
33261|  1.14k|                _children = _new_children;
33262|  1.14k|            }
33263|  45.4k|            _children[_n++] = _res;
33264|  45.4k|            _mark = p->mark;
33265|  45.4k|        }
33266|   102k|        p->mark = _mark;
33267|   102k|        D(fprintf(stderr, "%*c%s _loop1_74[%d-%d]: %s failed!\n", p->level, ' ',
33268|   102k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default"));
33269|   102k|    }
33270|   102k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (33270:9): [True: 59.1k, False: 43.3k]
  |  Branch (33270:20): [True: 2, False: 43.3k]
  ------------------
33271|  59.1k|        PyMem_Free(_children);
33272|  59.1k|        p->level--;
33273|  59.1k|        return NULL;
33274|  59.1k|    }
33275|  43.3k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33276|  43.3k|    if (!_seq) {
  ------------------
  |  Branch (33276:9): [True: 0, False: 43.3k]
  ------------------
33277|      0|        PyMem_Free(_children);
33278|      0|        p->error_indicator = 1;
33279|      0|        PyErr_NoMemory();
33280|      0|        p->level--;
33281|      0|        return NULL;
33282|      0|    }
33283|  88.7k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  45.4k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  88.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33283:28): [True: 45.4k, False: 43.3k]
  ------------------
33284|  43.3k|    PyMem_Free(_children);
33285|  43.3k|    p->level--;
33286|  43.3k|    return _seq;
33287|  43.3k|}
parser.c:_loop0_72_rule:
33086|   101k|{
33087|   101k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   203k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33087:9): [True: 0, False: 101k]
  |  Branch (33087:35): [True: 0, False: 101k]
  ------------------
33088|      0|        _Pypegen_stack_overflow(p);
33089|      0|    }
33090|   101k|    if (p->error_indicator) {
  ------------------
  |  Branch (33090:9): [True: 0, False: 101k]
  ------------------
33091|      0|        p->level--;
33092|      0|        return NULL;
33093|      0|    }
33094|   101k|    void *_res = NULL;
33095|   101k|    int _mark = p->mark;
33096|   101k|    void **_children = PyMem_Malloc(sizeof(void *));
33097|   101k|    if (!_children) {
  ------------------
  |  Branch (33097:9): [True: 0, False: 101k]
  ------------------
33098|      0|        p->error_indicator = 1;
33099|      0|        PyErr_NoMemory();
33100|      0|        p->level--;
33101|      0|        return NULL;
33102|      0|    }
33103|   101k|    Py_ssize_t _children_capacity = 1;
33104|   101k|    Py_ssize_t _n = 0;
33105|   101k|    { // lambda_param_no_default
33106|   101k|        if (p->error_indicator) {
  ------------------
  |  Branch (33106:13): [True: 0, False: 101k]
  ------------------
33107|      0|            p->level--;
33108|      0|            return NULL;
33109|      0|        }
33110|   101k|        D(fprintf(stderr, "%*c> _loop0_72[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
33111|   101k|        arg_ty lambda_param_no_default_var;
33112|   101k|        while (
33113|   133k|            (lambda_param_no_default_var = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (33113:13): [True: 31.6k, False: 101k]
  ------------------
33114|   101k|        )
33115|  31.6k|        {
33116|  31.6k|            _res = lambda_param_no_default_var;
33117|  31.6k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33117:17): [True: 860, False: 30.8k]
  ------------------
33118|    860|                _children_capacity *= 2;
33119|    860|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33120|    860|                if (!_new_children) {
  ------------------
  |  Branch (33120:21): [True: 0, False: 860]
  ------------------
33121|      0|                    PyMem_Free(_children);
33122|      0|                    p->error_indicator = 1;
33123|      0|                    PyErr_NoMemory();
33124|      0|                    p->level--;
33125|      0|                    return NULL;
33126|      0|                }
33127|    860|                _children = _new_children;
33128|    860|            }
33129|  31.6k|            _children[_n++] = _res;
33130|  31.6k|            _mark = p->mark;
33131|  31.6k|        }
33132|   101k|        p->mark = _mark;
33133|   101k|        D(fprintf(stderr, "%*c%s _loop0_72[%d-%d]: %s failed!\n", p->level, ' ',
33134|   101k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default"));
33135|   101k|    }
33136|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33137|   101k|    if (!_seq) {
  ------------------
  |  Branch (33137:9): [True: 0, False: 101k]
  ------------------
33138|      0|        PyMem_Free(_children);
33139|      0|        p->error_indicator = 1;
33140|      0|        PyErr_NoMemory();
33141|      0|        p->level--;
33142|      0|        return NULL;
33143|      0|    }
33144|   133k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  31.6k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|   133k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33144:28): [True: 31.6k, False: 101k]
  ------------------
33145|   101k|    PyMem_Free(_children);
33146|   101k|    p->level--;
33147|   101k|    return _seq;
33148|   101k|}
parser.c:invalid_lambda_parameters_helper_rule:
23798|  9.67k|{
23799|  9.67k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  19.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23799:9): [True: 0, False: 9.67k]
  |  Branch (23799:35): [True: 0, False: 9.67k]
  ------------------
23800|      0|        _Pypegen_stack_overflow(p);
23801|      0|    }
23802|  9.67k|    if (p->error_indicator) {
  ------------------
  |  Branch (23802:9): [True: 0, False: 9.67k]
  ------------------
23803|      0|        p->level--;
23804|      0|        return NULL;
23805|      0|    }
23806|  9.67k|    void * _res = NULL;
23807|  9.67k|    int _mark = p->mark;
23808|  9.67k|    { // lambda_slash_with_default
23809|  9.67k|        if (p->error_indicator) {
  ------------------
  |  Branch (23809:13): [True: 0, False: 9.67k]
  ------------------
23810|      0|            p->level--;
23811|      0|            return NULL;
23812|      0|        }
23813|  9.67k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters_helper[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_slash_with_default"));
23814|  9.67k|        SlashWithDefault* a;
23815|  9.67k|        if (
23816|  9.67k|            (a = lambda_slash_with_default_rule(p))  // lambda_slash_with_default
  ------------------
  |  Branch (23816:13): [True: 668, False: 9.01k]
  ------------------
23817|  9.67k|        )
23818|    668|        {
23819|    668|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters_helper[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_slash_with_default"));
23820|    668|            _res = _PyPegen_singleton_seq ( p , a );
23821|    668|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23821:18): [True: 0, False: 668]
  |  Branch (23821:34): [True: 0, False: 668]
  |  Branch (23821:57): [True: 0, False: 0]
  ------------------
23822|      0|                p->error_indicator = 1;
23823|      0|                p->level--;
23824|      0|                return NULL;
23825|      0|            }
23826|    668|            goto done;
23827|    668|        }
23828|  9.01k|        p->mark = _mark;
23829|  9.01k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters_helper[%d-%d]: %s failed!\n", p->level, ' ',
23830|  9.01k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_with_default"));
23831|  9.01k|    }
23832|      0|    { // lambda_param_with_default+
23833|  9.01k|        if (p->error_indicator) {
  ------------------
  |  Branch (23833:13): [True: 0, False: 9.01k]
  ------------------
23834|      0|            p->level--;
23835|      0|            return NULL;
23836|      0|        }
23837|  9.01k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters_helper[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+"));
23838|  9.01k|        asdl_seq * _loop1_75_var;
23839|  9.01k|        if (
23840|  9.01k|            (_loop1_75_var = _loop1_75_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (23840:13): [True: 1.00k, False: 8.00k]
  ------------------
23841|  9.01k|        )
23842|  1.00k|        {
23843|  1.00k|            D(fprintf(stderr, "%*c+ invalid_lambda_parameters_helper[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+"));
23844|  1.00k|            _res = _loop1_75_var;
23845|  1.00k|            goto done;
23846|  1.00k|        }
23847|  8.00k|        p->mark = _mark;
23848|  8.00k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters_helper[%d-%d]: %s failed!\n", p->level, ' ',
23849|  8.00k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default+"));
23850|  8.00k|    }
23851|  8.00k|    _res = NULL;
23852|  9.67k|  done:
23853|  9.67k|    p->level--;
23854|  9.67k|    return _res;
23855|  8.00k|}
parser.c:lambda_param_no_default_rule:
16339|   299k|{
16340|   299k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   598k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16340:9): [True: 0, False: 299k]
  |  Branch (16340:35): [True: 0, False: 299k]
  ------------------
16341|      0|        _Pypegen_stack_overflow(p);
16342|      0|    }
16343|   299k|    if (p->error_indicator) {
  ------------------
  |  Branch (16343:9): [True: 0, False: 299k]
  ------------------
16344|      0|        p->level--;
16345|      0|        return NULL;
16346|      0|    }
16347|   299k|    arg_ty _res = NULL;
16348|   299k|    int _mark = p->mark;
16349|   299k|    { // lambda_param ','
16350|   299k|        if (p->error_indicator) {
  ------------------
  |  Branch (16350:13): [True: 0, False: 299k]
  ------------------
16351|      0|            p->level--;
16352|      0|            return NULL;
16353|      0|        }
16354|   299k|        D(fprintf(stderr, "%*c> lambda_param_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param ','"));
16355|   299k|        Token * _literal;
16356|   299k|        arg_ty a;
16357|   299k|        if (
16358|   299k|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (16358:13): [True: 131k, False: 167k]
  ------------------
16359|   131k|            &&
16360|   131k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16360:13): [True: 42.2k, False: 89.2k]
  ------------------
16361|   299k|        )
16362|  42.2k|        {
16363|  42.2k|            D(fprintf(stderr, "%*c+ lambda_param_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param ','"));
16364|  42.2k|            _res = a;
16365|  42.2k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16365:18): [True: 0, False: 42.2k]
  |  Branch (16365:34): [True: 0, False: 42.2k]
  |  Branch (16365:57): [True: 0, False: 0]
  ------------------
16366|      0|                p->error_indicator = 1;
16367|      0|                p->level--;
16368|      0|                return NULL;
16369|      0|            }
16370|  42.2k|            goto done;
16371|  42.2k|        }
16372|   256k|        p->mark = _mark;
16373|   256k|        D(fprintf(stderr, "%*c%s lambda_param_no_default[%d-%d]: %s failed!\n", p->level, ' ',
16374|   256k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param ','"));
16375|   256k|    }
16376|      0|    { // lambda_param &':'
16377|   256k|        if (p->error_indicator) {
  ------------------
  |  Branch (16377:13): [True: 23, False: 256k]
  ------------------
16378|     23|            p->level--;
16379|     23|            return NULL;
16380|     23|        }
16381|   256k|        D(fprintf(stderr, "%*c> lambda_param_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param &':'"));
16382|   256k|        arg_ty a;
16383|   256k|        if (
16384|   256k|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (16384:13): [True: 89.2k, False: 167k]
  ------------------
16385|  89.2k|            &&
16386|  89.2k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16386:13): [True: 46.3k, False: 42.9k]
  ------------------
16387|   256k|        )
16388|  46.3k|        {
16389|  46.3k|            D(fprintf(stderr, "%*c+ lambda_param_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param &':'"));
16390|  46.3k|            _res = a;
16391|  46.3k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16391:18): [True: 0, False: 46.3k]
  |  Branch (16391:34): [True: 0, False: 46.3k]
  |  Branch (16391:57): [True: 0, False: 0]
  ------------------
16392|      0|                p->error_indicator = 1;
16393|      0|                p->level--;
16394|      0|                return NULL;
16395|      0|            }
16396|  46.3k|            goto done;
16397|  46.3k|        }
16398|   210k|        p->mark = _mark;
16399|   210k|        D(fprintf(stderr, "%*c%s lambda_param_no_default[%d-%d]: %s failed!\n", p->level, ' ',
16400|   210k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param &':'"));
16401|   210k|    }
16402|   210k|    _res = NULL;
16403|   299k|  done:
16404|   299k|    p->level--;
16405|   299k|    return _res;
16406|   210k|}
parser.c:_gather_132_rule:
36861|     57|{
36862|     57|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    114|#  define MAXSTACK 6000
  ------------------
  |  Branch (36862:9): [True: 0, False: 57]
  |  Branch (36862:35): [True: 0, False: 57]
  ------------------
36863|      0|        _Pypegen_stack_overflow(p);
36864|      0|    }
36865|     57|    if (p->error_indicator) {
  ------------------
  |  Branch (36865:9): [True: 0, False: 57]
  ------------------
36866|      0|        p->level--;
36867|      0|        return NULL;
36868|      0|    }
36869|     57|    asdl_seq * _res = NULL;
36870|     57|    int _mark = p->mark;
36871|     57|    { // lambda_param _loop0_131
36872|     57|        if (p->error_indicator) {
  ------------------
  |  Branch (36872:13): [True: 0, False: 57]
  ------------------
36873|      0|            p->level--;
36874|      0|            return NULL;
36875|      0|        }
36876|     57|        D(fprintf(stderr, "%*c> _gather_132[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param _loop0_131"));
36877|     57|        arg_ty elem;
36878|     57|        asdl_seq * seq;
36879|     57|        if (
36880|     57|            (elem = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (36880:13): [True: 46, False: 11]
  ------------------
36881|     46|            &&
36882|     46|            (seq = _loop0_131_rule(p))  // _loop0_131
  ------------------
  |  Branch (36882:13): [True: 46, False: 0]
  ------------------
36883|     57|        )
36884|     46|        {
36885|     46|            D(fprintf(stderr, "%*c+ _gather_132[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param _loop0_131"));
36886|     46|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
36887|     46|            goto done;
36888|     46|        }
36889|     11|        p->mark = _mark;
36890|     11|        D(fprintf(stderr, "%*c%s _gather_132[%d-%d]: %s failed!\n", p->level, ' ',
36891|     11|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param _loop0_131"));
36892|     11|    }
36893|     11|    _res = NULL;
36894|     57|  done:
36895|     57|    p->level--;
36896|     57|    return _res;
36897|     11|}
parser.c:_loop0_131_rule:
36785|     46|{
36786|     46|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     92|#  define MAXSTACK 6000
  ------------------
  |  Branch (36786:9): [True: 0, False: 46]
  |  Branch (36786:35): [True: 0, False: 46]
  ------------------
36787|      0|        _Pypegen_stack_overflow(p);
36788|      0|    }
36789|     46|    if (p->error_indicator) {
  ------------------
  |  Branch (36789:9): [True: 0, False: 46]
  ------------------
36790|      0|        p->level--;
36791|      0|        return NULL;
36792|      0|    }
36793|     46|    void *_res = NULL;
36794|     46|    int _mark = p->mark;
36795|     46|    void **_children = PyMem_Malloc(sizeof(void *));
36796|     46|    if (!_children) {
  ------------------
  |  Branch (36796:9): [True: 0, False: 46]
  ------------------
36797|      0|        p->error_indicator = 1;
36798|      0|        PyErr_NoMemory();
36799|      0|        p->level--;
36800|      0|        return NULL;
36801|      0|    }
36802|     46|    Py_ssize_t _children_capacity = 1;
36803|     46|    Py_ssize_t _n = 0;
36804|     46|    { // ',' lambda_param
36805|     46|        if (p->error_indicator) {
  ------------------
  |  Branch (36805:13): [True: 0, False: 46]
  ------------------
36806|      0|            p->level--;
36807|      0|            return NULL;
36808|      0|        }
36809|     46|        D(fprintf(stderr, "%*c> _loop0_131[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' lambda_param"));
36810|     46|        Token * _literal;
36811|     46|        arg_ty elem;
36812|     46|        while (
36813|    315|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (36813:13): [True: 288, False: 27]
  ------------------
36814|    288|            &&
36815|    288|            (elem = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (36815:13): [True: 269, False: 19]
  ------------------
36816|     46|        )
36817|    269|        {
36818|    269|            _res = elem;
36819|    269|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (36819:18): [True: 0, False: 269]
  |  Branch (36819:34): [True: 0, False: 269]
  |  Branch (36819:57): [True: 0, False: 0]
  ------------------
36820|      0|                p->error_indicator = 1;
36821|      0|                PyMem_Free(_children);
36822|      0|                p->level--;
36823|      0|                return NULL;
36824|      0|            }
36825|    269|            if (_n == _children_capacity) {
  ------------------
  |  Branch (36825:17): [True: 85, False: 184]
  ------------------
36826|     85|                _children_capacity *= 2;
36827|     85|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
36828|     85|                if (!_new_children) {
  ------------------
  |  Branch (36828:21): [True: 0, False: 85]
  ------------------
36829|      0|                    PyMem_Free(_children);
36830|      0|                    p->error_indicator = 1;
36831|      0|                    PyErr_NoMemory();
36832|      0|                    p->level--;
36833|      0|                    return NULL;
36834|      0|                }
36835|     85|                _children = _new_children;
36836|     85|            }
36837|    269|            _children[_n++] = _res;
36838|    269|            _mark = p->mark;
36839|    269|        }
36840|     46|        p->mark = _mark;
36841|     46|        D(fprintf(stderr, "%*c%s _loop0_131[%d-%d]: %s failed!\n", p->level, ' ',
36842|     46|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' lambda_param"));
36843|     46|    }
36844|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
36845|     46|    if (!_seq) {
  ------------------
  |  Branch (36845:9): [True: 0, False: 46]
  ------------------
36846|      0|        PyMem_Free(_children);
36847|      0|        p->error_indicator = 1;
36848|      0|        PyErr_NoMemory();
36849|      0|        p->level--;
36850|      0|        return NULL;
36851|      0|    }
36852|    315|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    269|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    315|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (36852:28): [True: 269, False: 46]
  ------------------
36853|     46|    PyMem_Free(_children);
36854|     46|    p->level--;
36855|     46|    return _seq;
36856|     46|}
parser.c:_tmp_133_rule:
36902|  4.51k|{
36903|  4.51k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  9.02k|#  define MAXSTACK 6000
  ------------------
  |  Branch (36903:9): [True: 0, False: 4.51k]
  |  Branch (36903:35): [True: 0, False: 4.51k]
  ------------------
36904|      0|        _Pypegen_stack_overflow(p);
36905|      0|    }
36906|  4.51k|    if (p->error_indicator) {
  ------------------
  |  Branch (36906:9): [True: 0, False: 4.51k]
  ------------------
36907|      0|        p->level--;
36908|      0|        return NULL;
36909|      0|    }
36910|  4.51k|    void * _res = NULL;
36911|  4.51k|    int _mark = p->mark;
36912|  4.51k|    { // ','
36913|  4.51k|        if (p->error_indicator) {
  ------------------
  |  Branch (36913:13): [True: 0, False: 4.51k]
  ------------------
36914|      0|            p->level--;
36915|      0|            return NULL;
36916|      0|        }
36917|  4.51k|        D(fprintf(stderr, "%*c> _tmp_133[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','"));
36918|  4.51k|        Token * _literal;
36919|  4.51k|        if (
36920|  4.51k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (36920:13): [True: 1.92k, False: 2.59k]
  ------------------
36921|  4.51k|        )
36922|  1.92k|        {
36923|  1.92k|            D(fprintf(stderr, "%*c+ _tmp_133[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','"));
36924|  1.92k|            _res = _literal;
36925|  1.92k|            goto done;
36926|  1.92k|        }
36927|  2.59k|        p->mark = _mark;
36928|  2.59k|        D(fprintf(stderr, "%*c%s _tmp_133[%d-%d]: %s failed!\n", p->level, ' ',
36929|  2.59k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','"));
36930|  2.59k|    }
36931|      0|    { // lambda_param_no_default
36932|  2.59k|        if (p->error_indicator) {
  ------------------
  |  Branch (36932:13): [True: 1, False: 2.59k]
  ------------------
36933|      1|            p->level--;
36934|      1|            return NULL;
36935|      1|        }
36936|  2.59k|        D(fprintf(stderr, "%*c> _tmp_133[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
36937|  2.59k|        arg_ty lambda_param_no_default_var;
36938|  2.59k|        if (
36939|  2.59k|            (lambda_param_no_default_var = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (36939:13): [True: 2.52k, False: 70]
  ------------------
36940|  2.59k|        )
36941|  2.52k|        {
36942|  2.52k|            D(fprintf(stderr, "%*c+ _tmp_133[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
36943|  2.52k|            _res = lambda_param_no_default_var;
36944|  2.52k|            goto done;
36945|  2.52k|        }
36946|     70|        p->mark = _mark;
36947|     70|        D(fprintf(stderr, "%*c%s _tmp_133[%d-%d]: %s failed!\n", p->level, ' ',
36948|     70|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default"));
36949|     70|    }
36950|     70|    _res = NULL;
36951|  4.51k|  done:
36952|  4.51k|    p->level--;
36953|  4.51k|    return _res;
36954|     70|}
parser.c:_loop1_77_rule:
33431|  12.1k|{
33432|  12.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  24.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33432:9): [True: 0, False: 12.1k]
  |  Branch (33432:35): [True: 0, False: 12.1k]
  ------------------
33433|      0|        _Pypegen_stack_overflow(p);
33434|      0|    }
33435|  12.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (33435:9): [True: 0, False: 12.1k]
  ------------------
33436|      0|        p->level--;
33437|      0|        return NULL;
33438|      0|    }
33439|  12.1k|    void *_res = NULL;
33440|  12.1k|    int _mark = p->mark;
33441|  12.1k|    void **_children = PyMem_Malloc(sizeof(void *));
33442|  12.1k|    if (!_children) {
  ------------------
  |  Branch (33442:9): [True: 0, False: 12.1k]
  ------------------
33443|      0|        p->error_indicator = 1;
33444|      0|        PyErr_NoMemory();
33445|      0|        p->level--;
33446|      0|        return NULL;
33447|      0|    }
33448|  12.1k|    Py_ssize_t _children_capacity = 1;
33449|  12.1k|    Py_ssize_t _n = 0;
33450|  12.1k|    { // lambda_param_maybe_default
33451|  12.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (33451:13): [True: 0, False: 12.1k]
  ------------------
33452|      0|            p->level--;
33453|      0|            return NULL;
33454|      0|        }
33455|  12.1k|        D(fprintf(stderr, "%*c> _loop1_77[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_maybe_default"));
33456|  12.1k|        NameDefaultPair* lambda_param_maybe_default_var;
33457|  12.1k|        while (
33458|  19.6k|            (lambda_param_maybe_default_var = lambda_param_maybe_default_rule(p))  // lambda_param_maybe_default
  ------------------
  |  Branch (33458:13): [True: 7.47k, False: 12.1k]
  ------------------
33459|  12.1k|        )
33460|  7.47k|        {
33461|  7.47k|            _res = lambda_param_maybe_default_var;
33462|  7.47k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33462:17): [True: 1.18k, False: 6.29k]
  ------------------
33463|  1.18k|                _children_capacity *= 2;
33464|  1.18k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33465|  1.18k|                if (!_new_children) {
  ------------------
  |  Branch (33465:21): [True: 0, False: 1.18k]
  ------------------
33466|      0|                    PyMem_Free(_children);
33467|      0|                    p->error_indicator = 1;
33468|      0|                    PyErr_NoMemory();
33469|      0|                    p->level--;
33470|      0|                    return NULL;
33471|      0|                }
33472|  1.18k|                _children = _new_children;
33473|  1.18k|            }
33474|  7.47k|            _children[_n++] = _res;
33475|  7.47k|            _mark = p->mark;
33476|  7.47k|        }
33477|  12.1k|        p->mark = _mark;
33478|  12.1k|        D(fprintf(stderr, "%*c%s _loop1_77[%d-%d]: %s failed!\n", p->level, ' ',
33479|  12.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_maybe_default"));
33480|  12.1k|    }
33481|  12.1k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (33481:9): [True: 6.28k, False: 5.87k]
  |  Branch (33481:20): [True: 22, False: 5.85k]
  ------------------
33482|  6.30k|        PyMem_Free(_children);
33483|  6.30k|        p->level--;
33484|  6.30k|        return NULL;
33485|  6.30k|    }
33486|  5.85k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33487|  5.85k|    if (!_seq) {
  ------------------
  |  Branch (33487:9): [True: 0, False: 5.85k]
  ------------------
33488|      0|        PyMem_Free(_children);
33489|      0|        p->error_indicator = 1;
33490|      0|        PyErr_NoMemory();
33491|      0|        p->level--;
33492|      0|        return NULL;
33493|      0|    }
33494|  13.2k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  7.44k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  13.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33494:28): [True: 7.44k, False: 5.85k]
  ------------------
33495|  5.85k|    PyMem_Free(_children);
33496|  5.85k|    p->level--;
33497|  5.85k|    return _seq;
33498|  5.85k|}
parser.c:lambda_parameters_rule:
15813|  18.5k|{
15814|  18.5k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  37.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15814:9): [True: 0, False: 18.5k]
  |  Branch (15814:35): [True: 0, False: 18.5k]
  ------------------
15815|      0|        _Pypegen_stack_overflow(p);
15816|      0|    }
15817|  18.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (15817:9): [True: 0, False: 18.5k]
  ------------------
15818|      0|        p->level--;
15819|      0|        return NULL;
15820|      0|    }
15821|  18.5k|    arguments_ty _res = NULL;
15822|  18.5k|    int _mark = p->mark;
15823|  18.5k|    { // lambda_slash_no_default lambda_param_no_default* lambda_param_with_default* lambda_star_etc?
15824|  18.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (15824:13): [True: 0, False: 18.5k]
  ------------------
15825|      0|            p->level--;
15826|      0|            return NULL;
15827|      0|        }
15828|  18.5k|        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?"));
15829|  18.5k|        asdl_arg_seq* a;
15830|  18.5k|        asdl_arg_seq* b;
15831|  18.5k|        asdl_seq * c;
15832|  18.5k|        void *d;
15833|  18.5k|        if (
15834|  18.5k|            (a = lambda_slash_no_default_rule(p))  // lambda_slash_no_default
  ------------------
  |  Branch (15834:13): [True: 2.65k, False: 15.9k]
  ------------------
15835|  2.65k|            &&
15836|  2.65k|            (b = (asdl_arg_seq*)_loop0_72_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (15836:13): [True: 2.65k, False: 0]
  ------------------
15837|  2.65k|            &&
15838|  2.65k|            (c = _loop0_73_rule(p))  // lambda_param_with_default*
  ------------------
  |  Branch (15838:13): [True: 2.65k, False: 1]
  ------------------
15839|  2.65k|            &&
15840|  2.65k|            (d = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15840:13): [True: 2.31k, False: 348]
  ------------------
15841|  18.5k|        )
15842|  2.31k|        {
15843|  2.31k|            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?"));
15844|  2.31k|            _res = CHECK_VERSION ( arguments_ty , 8 , "Positional-only parameters are" , _PyPegen_make_arguments ( p , a , NULL , b , c , d ) );
  ------------------
  |  |  319|  2.31k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
15845|  2.31k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15845:18): [True: 0, False: 2.31k]
  |  Branch (15845:34): [True: 0, False: 2.31k]
  |  Branch (15845:57): [True: 0, False: 0]
  ------------------
15846|      0|                p->error_indicator = 1;
15847|      0|                p->level--;
15848|      0|                return NULL;
15849|      0|            }
15850|  2.31k|            goto done;
15851|  2.31k|        }
15852|  16.2k|        p->mark = _mark;
15853|  16.2k|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15854|  16.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_no_default lambda_param_no_default* lambda_param_with_default* lambda_star_etc?"));
15855|  16.2k|    }
15856|      0|    { // lambda_slash_with_default lambda_param_with_default* lambda_star_etc?
15857|  16.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (15857:13): [True: 361, False: 15.9k]
  ------------------
15858|    361|            p->level--;
15859|    361|            return NULL;
15860|    361|        }
15861|  15.9k|        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?"));
15862|  15.9k|        SlashWithDefault* a;
15863|  15.9k|        asdl_seq * b;
15864|  15.9k|        void *c;
15865|  15.9k|        if (
15866|  15.9k|            (a = lambda_slash_with_default_rule(p))  // lambda_slash_with_default
  ------------------
  |  Branch (15866:13): [True: 999, False: 14.9k]
  ------------------
15867|    999|            &&
15868|    999|            (b = _loop0_73_rule(p))  // lambda_param_with_default*
  ------------------
  |  Branch (15868:13): [True: 999, False: 0]
  ------------------
15869|    999|            &&
15870|    999|            (c = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15870:13): [True: 967, False: 32]
  ------------------
15871|  15.9k|        )
15872|    967|        {
15873|    967|            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?"));
15874|    967|            _res = CHECK_VERSION ( arguments_ty , 8 , "Positional-only parameters are" , _PyPegen_make_arguments ( p , NULL , a , NULL , b , c ) );
  ------------------
  |  |  319|    967|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
15875|    967|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15875:18): [True: 0, False: 967]
  |  Branch (15875:34): [True: 0, False: 967]
  |  Branch (15875:57): [True: 0, False: 0]
  ------------------
15876|      0|                p->error_indicator = 1;
15877|      0|                p->level--;
15878|      0|                return NULL;
15879|      0|            }
15880|    967|            goto done;
15881|    967|        }
15882|  14.9k|        p->mark = _mark;
15883|  14.9k|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15884|  14.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_with_default lambda_param_with_default* lambda_star_etc?"));
15885|  14.9k|    }
15886|      0|    { // lambda_param_no_default+ lambda_param_with_default* lambda_star_etc?
15887|  14.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (15887:13): [True: 204, False: 14.7k]
  ------------------
15888|    204|            p->level--;
15889|    204|            return NULL;
15890|    204|        }
15891|  14.7k|        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?"));
15892|  14.7k|        asdl_arg_seq* a;
15893|  14.7k|        asdl_seq * b;
15894|  14.7k|        void *c;
15895|  14.7k|        if (
15896|  14.7k|            (a = (asdl_arg_seq*)_loop1_74_rule(p))  // lambda_param_no_default+
  ------------------
  |  Branch (15896:13): [True: 4.63k, False: 10.1k]
  ------------------
15897|  4.63k|            &&
15898|  4.63k|            (b = _loop0_73_rule(p))  // lambda_param_with_default*
  ------------------
  |  Branch (15898:13): [True: 4.63k, False: 0]
  ------------------
15899|  4.63k|            &&
15900|  4.63k|            (c = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15900:13): [True: 4.62k, False: 9]
  ------------------
15901|  14.7k|        )
15902|  4.62k|        {
15903|  4.62k|            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?"));
15904|  4.62k|            _res = _PyPegen_make_arguments ( p , NULL , NULL , a , b , c );
15905|  4.62k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15905:18): [True: 0, False: 4.62k]
  |  Branch (15905:34): [True: 0, False: 4.62k]
  |  Branch (15905:57): [True: 0, False: 0]
  ------------------
15906|      0|                p->error_indicator = 1;
15907|      0|                p->level--;
15908|      0|                return NULL;
15909|      0|            }
15910|  4.62k|            goto done;
15911|  4.62k|        }
15912|  10.1k|        p->mark = _mark;
15913|  10.1k|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15914|  10.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default+ lambda_param_with_default* lambda_star_etc?"));
15915|  10.1k|    }
15916|      0|    { // lambda_param_with_default+ lambda_star_etc?
15917|  10.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (15917:13): [True: 9, False: 10.1k]
  ------------------
15918|      9|            p->level--;
15919|      9|            return NULL;
15920|      9|        }
15921|  10.1k|        D(fprintf(stderr, "%*c> lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+ lambda_star_etc?"));
15922|  10.1k|        asdl_seq * a;
15923|  10.1k|        void *b;
15924|  10.1k|        if (
15925|  10.1k|            (a = _loop1_75_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (15925:13): [True: 1.34k, False: 8.76k]
  ------------------
15926|  1.34k|            &&
15927|  1.34k|            (b = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15927:13): [True: 1.15k, False: 192]
  ------------------
15928|  10.1k|        )
15929|  1.15k|        {
15930|  1.15k|            D(fprintf(stderr, "%*c+ lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+ lambda_star_etc?"));
15931|  1.15k|            _res = _PyPegen_make_arguments ( p , NULL , NULL , NULL , a , b );
15932|  1.15k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15932:18): [True: 0, False: 1.15k]
  |  Branch (15932:34): [True: 0, False: 1.15k]
  |  Branch (15932:57): [True: 0, False: 0]
  ------------------
15933|      0|                p->error_indicator = 1;
15934|      0|                p->level--;
15935|      0|                return NULL;
15936|      0|            }
15937|  1.15k|            goto done;
15938|  1.15k|        }
15939|  8.95k|        p->mark = _mark;
15940|  8.95k|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15941|  8.95k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default+ lambda_star_etc?"));
15942|  8.95k|    }
15943|      0|    { // lambda_star_etc
15944|  8.95k|        if (p->error_indicator) {
  ------------------
  |  Branch (15944:13): [True: 192, False: 8.76k]
  ------------------
15945|    192|            p->level--;
15946|    192|            return NULL;
15947|    192|        }
15948|  8.76k|        D(fprintf(stderr, "%*c> lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_star_etc"));
15949|  8.76k|        StarEtc* a;
15950|  8.76k|        if (
15951|  8.76k|            (a = lambda_star_etc_rule(p))  // lambda_star_etc
  ------------------
  |  Branch (15951:13): [True: 5.78k, False: 2.97k]
  ------------------
15952|  8.76k|        )
15953|  5.78k|        {
15954|  5.78k|            D(fprintf(stderr, "%*c+ lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_star_etc"));
15955|  5.78k|            _res = _PyPegen_make_arguments ( p , NULL , NULL , NULL , NULL , a );
15956|  5.78k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15956:18): [True: 0, False: 5.78k]
  |  Branch (15956:34): [True: 0, False: 5.78k]
  |  Branch (15956:57): [True: 0, False: 0]
  ------------------
15957|      0|                p->error_indicator = 1;
15958|      0|                p->level--;
15959|      0|                return NULL;
15960|      0|            }
15961|  5.78k|            goto done;
15962|  5.78k|        }
15963|  2.97k|        p->mark = _mark;
15964|  2.97k|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15965|  2.97k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_star_etc"));
15966|  2.97k|    }
15967|  2.97k|    _res = NULL;
15968|  17.8k|  done:
15969|  17.8k|    p->level--;
15970|  17.8k|    return _res;
15971|  2.97k|}
parser.c:_loop0_73_rule:
33153|  8.29k|{
33154|  8.29k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  16.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33154:9): [True: 0, False: 8.29k]
  |  Branch (33154:35): [True: 0, False: 8.29k]
  ------------------
33155|      0|        _Pypegen_stack_overflow(p);
33156|      0|    }
33157|  8.29k|    if (p->error_indicator) {
  ------------------
  |  Branch (33157:9): [True: 1, False: 8.29k]
  ------------------
33158|      1|        p->level--;
33159|      1|        return NULL;
33160|      1|    }
33161|  8.29k|    void *_res = NULL;
33162|  8.29k|    int _mark = p->mark;
33163|  8.29k|    void **_children = PyMem_Malloc(sizeof(void *));
33164|  8.29k|    if (!_children) {
  ------------------
  |  Branch (33164:9): [True: 0, False: 8.29k]
  ------------------
33165|      0|        p->error_indicator = 1;
33166|      0|        PyErr_NoMemory();
33167|      0|        p->level--;
33168|      0|        return NULL;
33169|      0|    }
33170|  8.29k|    Py_ssize_t _children_capacity = 1;
33171|  8.29k|    Py_ssize_t _n = 0;
33172|  8.29k|    { // lambda_param_with_default
33173|  8.29k|        if (p->error_indicator) {
  ------------------
  |  Branch (33173:13): [True: 0, False: 8.29k]
  ------------------
33174|      0|            p->level--;
33175|      0|            return NULL;
33176|      0|        }
33177|  8.29k|        D(fprintf(stderr, "%*c> _loop0_73[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default"));
33178|  8.29k|        NameDefaultPair* lambda_param_with_default_var;
33179|  8.29k|        while (
33180|  9.24k|            (lambda_param_with_default_var = lambda_param_with_default_rule(p))  // lambda_param_with_default
  ------------------
  |  Branch (33180:13): [True: 950, False: 8.29k]
  ------------------
33181|  8.29k|        )
33182|    950|        {
33183|    950|            _res = lambda_param_with_default_var;
33184|    950|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33184:17): [True: 137, False: 813]
  ------------------
33185|    137|                _children_capacity *= 2;
33186|    137|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33187|    137|                if (!_new_children) {
  ------------------
  |  Branch (33187:21): [True: 0, False: 137]
  ------------------
33188|      0|                    PyMem_Free(_children);
33189|      0|                    p->error_indicator = 1;
33190|      0|                    PyErr_NoMemory();
33191|      0|                    p->level--;
33192|      0|                    return NULL;
33193|      0|                }
33194|    137|                _children = _new_children;
33195|    137|            }
33196|    950|            _children[_n++] = _res;
33197|    950|            _mark = p->mark;
33198|    950|        }
33199|  8.29k|        p->mark = _mark;
33200|  8.29k|        D(fprintf(stderr, "%*c%s _loop0_73[%d-%d]: %s failed!\n", p->level, ' ',
33201|  8.29k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default"));
33202|  8.29k|    }
33203|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33204|  8.29k|    if (!_seq) {
  ------------------
  |  Branch (33204:9): [True: 0, False: 8.29k]
  ------------------
33205|      0|        PyMem_Free(_children);
33206|      0|        p->error_indicator = 1;
33207|      0|        PyErr_NoMemory();
33208|      0|        p->level--;
33209|      0|        return NULL;
33210|      0|    }
33211|  9.24k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    950|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  9.24k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33211:28): [True: 950, False: 8.29k]
  ------------------
33212|  8.29k|    PyMem_Free(_children);
33213|  8.29k|    p->level--;
33214|  8.29k|    return _seq;
33215|  8.29k|}
parser.c:lambda_star_etc_rule:
16146|  18.4k|{
16147|  18.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  36.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16147:9): [True: 0, False: 18.4k]
  |  Branch (16147:35): [True: 0, False: 18.4k]
  ------------------
16148|      0|        _Pypegen_stack_overflow(p);
16149|      0|    }
16150|  18.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (16150:9): [True: 33, False: 18.3k]
  ------------------
16151|     33|        p->level--;
16152|     33|        return NULL;
16153|     33|    }
16154|  18.3k|    StarEtc* _res = NULL;
16155|  18.3k|    int _mark = p->mark;
16156|  18.3k|    if (p->call_invalid_rules) { // invalid_lambda_star_etc
  ------------------
  |  Branch (16156:9): [True: 9.22k, False: 9.14k]
  ------------------
16157|  9.22k|        if (p->error_indicator) {
  ------------------
  |  Branch (16157:13): [True: 0, False: 9.22k]
  ------------------
16158|      0|            p->level--;
16159|      0|            return NULL;
16160|      0|        }
16161|  9.22k|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_lambda_star_etc"));
16162|  9.22k|        void *invalid_lambda_star_etc_var;
16163|  9.22k|        if (
16164|  9.22k|            (invalid_lambda_star_etc_var = invalid_lambda_star_etc_rule(p))  // invalid_lambda_star_etc
  ------------------
  |  Branch (16164:13): [True: 0, False: 9.22k]
  ------------------
16165|  9.22k|        )
16166|      0|        {
16167|      0|            D(fprintf(stderr, "%*c+ lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_lambda_star_etc"));
16168|      0|            _res = invalid_lambda_star_etc_var;
16169|      0|            goto done;
16170|      0|        }
16171|  9.22k|        p->mark = _mark;
16172|  9.22k|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
16173|  9.22k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_lambda_star_etc"));
16174|  9.22k|    }
16175|  18.3k|    { // '*' lambda_param_no_default lambda_param_maybe_default* lambda_kwds?
16176|  18.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (16176:13): [True: 10, False: 18.3k]
  ------------------
16177|     10|            p->level--;
16178|     10|            return NULL;
16179|     10|        }
16180|  18.3k|        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?"));
16181|  18.3k|        Token * _literal;
16182|  18.3k|        arg_ty a;
16183|  18.3k|        asdl_seq * b;
16184|  18.3k|        void *c;
16185|  18.3k|        if (
16186|  18.3k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (16186:13): [True: 8.88k, False: 9.47k]
  ------------------
16187|  8.88k|            &&
16188|  8.88k|            (a = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (16188:13): [True: 5.86k, False: 3.01k]
  ------------------
16189|  5.86k|            &&
16190|  5.86k|            (b = _loop0_76_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (16190:13): [True: 5.86k, False: 0]
  ------------------
16191|  5.86k|            &&
16192|  5.86k|            (c = lambda_kwds_rule(p), !p->error_indicator)  // lambda_kwds?
  ------------------
  |  Branch (16192:13): [True: 5.79k, False: 75]
  ------------------
16193|  18.3k|        )
16194|  5.79k|        {
16195|  5.79k|            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?"));
16196|  5.79k|            _res = _PyPegen_star_etc ( p , a , b , c );
16197|  5.79k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16197:18): [True: 0, False: 5.79k]
  |  Branch (16197:34): [True: 0, False: 5.79k]
  |  Branch (16197:57): [True: 0, False: 0]
  ------------------
16198|      0|                p->error_indicator = 1;
16199|      0|                p->level--;
16200|      0|                return NULL;
16201|      0|            }
16202|  5.79k|            goto done;
16203|  5.79k|        }
16204|  12.5k|        p->mark = _mark;
16205|  12.5k|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
16206|  12.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' lambda_param_no_default lambda_param_maybe_default* lambda_kwds?"));
16207|  12.5k|    }
16208|      0|    { // '*' ',' lambda_param_maybe_default+ lambda_kwds?
16209|  12.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (16209:13): [True: 80, False: 12.4k]
  ------------------
16210|     80|            p->level--;
16211|     80|            return NULL;
16212|     80|        }
16213|  12.4k|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' ',' lambda_param_maybe_default+ lambda_kwds?"));
16214|  12.4k|        Token * _literal;
16215|  12.4k|        Token * _literal_1;
16216|  12.4k|        asdl_seq * b;
16217|  12.4k|        void *c;
16218|  12.4k|        if (
16219|  12.4k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (16219:13): [True: 3.01k, False: 9.47k]
  ------------------
16220|  3.01k|            &&
16221|  3.01k|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16221:13): [True: 2.92k, False: 88]
  ------------------
16222|  2.92k|            &&
16223|  2.92k|            (b = _loop1_77_rule(p))  // lambda_param_maybe_default+
  ------------------
  |  Branch (16223:13): [True: 225, False: 2.69k]
  ------------------
16224|    225|            &&
16225|    225|            (c = lambda_kwds_rule(p), !p->error_indicator)  // lambda_kwds?
  ------------------
  |  Branch (16225:13): [True: 224, False: 1]
  ------------------
16226|  12.4k|        )
16227|    224|        {
16228|    224|            D(fprintf(stderr, "%*c+ lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' ',' lambda_param_maybe_default+ lambda_kwds?"));
16229|    224|            _res = _PyPegen_star_etc ( p , NULL , b , c );
16230|    224|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16230:18): [True: 0, False: 224]
  |  Branch (16230:34): [True: 0, False: 224]
  |  Branch (16230:57): [True: 0, False: 0]
  ------------------
16231|      0|                p->error_indicator = 1;
16232|      0|                p->level--;
16233|      0|                return NULL;
16234|      0|            }
16235|    224|            goto done;
16236|    224|        }
16237|  12.2k|        p->mark = _mark;
16238|  12.2k|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
16239|  12.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' ',' lambda_param_maybe_default+ lambda_kwds?"));
16240|  12.2k|    }
16241|      0|    { // lambda_kwds
16242|  12.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (16242:13): [True: 539, False: 11.7k]
  ------------------
16243|    539|            p->level--;
16244|    539|            return NULL;
16245|    539|        }
16246|  11.7k|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_kwds"));
16247|  11.7k|        arg_ty a;
16248|  11.7k|        if (
16249|  11.7k|            (a = lambda_kwds_rule(p))  // lambda_kwds
  ------------------
  |  Branch (16249:13): [True: 513, False: 11.2k]
  ------------------
16250|  11.7k|        )
16251|    513|        {
16252|    513|            D(fprintf(stderr, "%*c+ lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_kwds"));
16253|    513|            _res = _PyPegen_star_etc ( p , NULL , NULL , a );
16254|    513|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16254:18): [True: 0, False: 513]
  |  Branch (16254:34): [True: 0, False: 513]
  |  Branch (16254:57): [True: 0, False: 0]
  ------------------
16255|      0|                p->error_indicator = 1;
16256|      0|                p->level--;
16257|      0|                return NULL;
16258|      0|            }
16259|    513|            goto done;
16260|    513|        }
16261|  11.2k|        p->mark = _mark;
16262|  11.2k|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
16263|  11.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_kwds"));
16264|  11.2k|    }
16265|  11.2k|    _res = NULL;
16266|  17.7k|  done:
16267|  17.7k|    p->level--;
16268|  17.7k|    return _res;
16269|  11.2k|}
parser.c:invalid_lambda_star_etc_rule:
23863|  9.22k|{
23864|  9.22k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  18.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23864:9): [True: 0, False: 9.22k]
  |  Branch (23864:35): [True: 0, False: 9.22k]
  ------------------
23865|      0|        _Pypegen_stack_overflow(p);
23866|      0|    }
23867|  9.22k|    if (p->error_indicator) {
  ------------------
  |  Branch (23867:9): [True: 0, False: 9.22k]
  ------------------
23868|      0|        p->level--;
23869|      0|        return NULL;
23870|      0|    }
23871|  9.22k|    void * _res = NULL;
23872|  9.22k|    int _mark = p->mark;
23873|  9.22k|    { // '*' (':' | ',' (':' | '**'))
23874|  9.22k|        if (p->error_indicator) {
  ------------------
  |  Branch (23874:13): [True: 0, False: 9.22k]
  ------------------
23875|      0|            p->level--;
23876|      0|            return NULL;
23877|      0|        }
23878|  9.22k|        D(fprintf(stderr, "%*c> invalid_lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' (':' | ',' (':' | '**'))"));
23879|  9.22k|        Token * _literal;
23880|  9.22k|        void *_tmp_134_var;
23881|  9.22k|        if (
23882|  9.22k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (23882:13): [True: 4.07k, False: 5.14k]
  ------------------
23883|  4.07k|            &&
23884|  4.07k|            (_tmp_134_var = _tmp_134_rule(p))  // ':' | ',' (':' | '**')
  ------------------
  |  Branch (23884:13): [True: 5, False: 4.07k]
  ------------------
23885|  9.22k|        )
23886|      5|        {
23887|      5|            D(fprintf(stderr, "%*c+ invalid_lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' (':' | ',' (':' | '**'))"));
23888|      5|            _res = RAISE_SYNTAX_ERROR ( "named parameters must follow bare *" );
  ------------------
  |  |  207|      5|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
23889|      5|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23889:18): [True: 5, False: 0]
  |  Branch (23889:34): [True: 0, False: 0]
  |  Branch (23889:57): [True: 5, False: 0]
  ------------------
23890|      5|                p->error_indicator = 1;
23891|      5|                p->level--;
23892|      5|                return NULL;
23893|      5|            }
23894|      0|            goto done;
23895|      5|        }
23896|  9.21k|        p->mark = _mark;
23897|  9.21k|        D(fprintf(stderr, "%*c%s invalid_lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
23898|  9.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' (':' | ',' (':' | '**'))"));
23899|  9.21k|    }
23900|      0|    { // '*' lambda_param '='
23901|  9.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (23901:13): [True: 0, False: 9.21k]
  ------------------
23902|      0|            p->level--;
23903|      0|            return NULL;
23904|      0|        }
23905|  9.21k|        D(fprintf(stderr, "%*c> invalid_lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' lambda_param '='"));
23906|  9.21k|        Token * _literal;
23907|  9.21k|        Token * a;
23908|  9.21k|        arg_ty lambda_param_var;
23909|  9.21k|        if (
23910|  9.21k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (23910:13): [True: 4.07k, False: 5.14k]
  ------------------
23911|  4.07k|            &&
23912|  4.07k|            (lambda_param_var = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (23912:13): [True: 2.42k, False: 1.64k]
  ------------------
23913|  2.42k|            &&
23914|  2.42k|            (a = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (23914:13): [True: 1, False: 2.42k]
  ------------------
23915|  9.21k|        )
23916|      1|        {
23917|      1|            D(fprintf(stderr, "%*c+ invalid_lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' lambda_param '='"));
23918|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "var-positional parameter cannot have default value" );
  ------------------
  |  |  213|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23919|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23919:18): [True: 1, False: 0]
  |  Branch (23919:34): [True: 0, False: 0]
  |  Branch (23919:57): [True: 1, False: 0]
  ------------------
23920|      1|                p->error_indicator = 1;
23921|      1|                p->level--;
23922|      1|                return NULL;
23923|      1|            }
23924|      0|            goto done;
23925|      1|        }
23926|  9.21k|        p->mark = _mark;
23927|  9.21k|        D(fprintf(stderr, "%*c%s invalid_lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
23928|  9.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' lambda_param '='"));
23929|  9.21k|    }
23930|      0|    { // '*' (lambda_param_no_default | ',') lambda_param_maybe_default* '*' (lambda_param_no_default | ',')
23931|  9.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (23931:13): [True: 0, False: 9.21k]
  ------------------
23932|      0|            p->level--;
23933|      0|            return NULL;
23934|      0|        }
23935|  9.21k|        D(fprintf(stderr, "%*c> invalid_lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' (lambda_param_no_default | ',') lambda_param_maybe_default* '*' (lambda_param_no_default | ',')"));
23936|  9.21k|        Token * _literal;
23937|  9.21k|        asdl_seq * _loop0_76_var;
23938|  9.21k|        void *_tmp_135_var;
23939|  9.21k|        void *_tmp_135_var_1;
23940|  9.21k|        Token * a;
23941|  9.21k|        if (
23942|  9.21k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (23942:13): [True: 4.07k, False: 5.14k]
  ------------------
23943|  4.07k|            &&
23944|  4.07k|            (_tmp_135_var = _tmp_135_rule(p))  // lambda_param_no_default | ','
  ------------------
  |  Branch (23944:13): [True: 4.00k, False: 66]
  ------------------
23945|  4.00k|            &&
23946|  4.00k|            (_loop0_76_var = _loop0_76_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (23946:13): [True: 4.00k, False: 0]
  ------------------
23947|  4.00k|            &&
23948|  4.00k|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (23948:13): [True: 13, False: 3.99k]
  ------------------
23949|     13|            &&
23950|     13|            (_tmp_135_var_1 = _tmp_135_rule(p))  // lambda_param_no_default | ','
  ------------------
  |  Branch (23950:13): [True: 3, False: 10]
  ------------------
23951|  9.21k|        )
23952|      3|        {
23953|      3|            D(fprintf(stderr, "%*c+ invalid_lambda_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' (lambda_param_no_default | ',') lambda_param_maybe_default* '*' (lambda_param_no_default | ',')"));
23954|      3|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "* may appear only once" );
  ------------------
  |  |  213|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23955|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23955:18): [True: 3, False: 0]
  |  Branch (23955:34): [True: 0, False: 0]
  |  Branch (23955:57): [True: 3, False: 0]
  ------------------
23956|      3|                p->error_indicator = 1;
23957|      3|                p->level--;
23958|      3|                return NULL;
23959|      3|            }
23960|      0|            goto done;
23961|      3|        }
23962|  9.21k|        p->mark = _mark;
23963|  9.21k|        D(fprintf(stderr, "%*c%s invalid_lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
23964|  9.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' (lambda_param_no_default | ',') lambda_param_maybe_default* '*' (lambda_param_no_default | ',')"));
23965|  9.21k|    }
23966|  9.21k|    _res = NULL;
23967|  9.21k|  done:
23968|  9.21k|    p->level--;
23969|  9.21k|    return _res;
23970|  9.21k|}
parser.c:_tmp_134_rule:
36959|  4.07k|{
36960|  4.07k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.15k|#  define MAXSTACK 6000
  ------------------
  |  Branch (36960:9): [True: 0, False: 4.07k]
  |  Branch (36960:35): [True: 0, False: 4.07k]
  ------------------
36961|      0|        _Pypegen_stack_overflow(p);
36962|      0|    }
36963|  4.07k|    if (p->error_indicator) {
  ------------------
  |  Branch (36963:9): [True: 0, False: 4.07k]
  ------------------
36964|      0|        p->level--;
36965|      0|        return NULL;
36966|      0|    }
36967|  4.07k|    void * _res = NULL;
36968|  4.07k|    int _mark = p->mark;
36969|  4.07k|    { // ':'
36970|  4.07k|        if (p->error_indicator) {
  ------------------
  |  Branch (36970:13): [True: 0, False: 4.07k]
  ------------------
36971|      0|            p->level--;
36972|      0|            return NULL;
36973|      0|        }
36974|  4.07k|        D(fprintf(stderr, "%*c> _tmp_134[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':'"));
36975|  4.07k|        Token * _literal;
36976|  4.07k|        if (
36977|  4.07k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (36977:13): [True: 2, False: 4.07k]
  ------------------
36978|  4.07k|        )
36979|      2|        {
36980|      2|            D(fprintf(stderr, "%*c+ _tmp_134[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':'"));
36981|      2|            _res = _literal;
36982|      2|            goto done;
36983|      2|        }
36984|  4.07k|        p->mark = _mark;
36985|  4.07k|        D(fprintf(stderr, "%*c%s _tmp_134[%d-%d]: %s failed!\n", p->level, ' ',
36986|  4.07k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':'"));
36987|  4.07k|    }
36988|      0|    { // ',' (':' | '**')
36989|  4.07k|        if (p->error_indicator) {
  ------------------
  |  Branch (36989:13): [True: 0, False: 4.07k]
  ------------------
36990|      0|            p->level--;
36991|      0|            return NULL;
36992|      0|        }
36993|  4.07k|        D(fprintf(stderr, "%*c> _tmp_134[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' (':' | '**')"));
36994|  4.07k|        Token * _literal;
36995|  4.07k|        void *_tmp_173_var;
36996|  4.07k|        if (
36997|  4.07k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (36997:13): [True: 1.63k, False: 2.44k]
  ------------------
36998|  1.63k|            &&
36999|  1.63k|            (_tmp_173_var = _tmp_173_rule(p))  // ':' | '**'
  ------------------
  |  Branch (36999:13): [True: 3, False: 1.62k]
  ------------------
37000|  4.07k|        )
37001|      3|        {
37002|      3|            D(fprintf(stderr, "%*c+ _tmp_134[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' (':' | '**')"));
37003|      3|            _res = _PyPegen_dummy_name(p, _literal, _tmp_173_var);
37004|      3|            goto done;
37005|      3|        }
37006|  4.07k|        p->mark = _mark;
37007|  4.07k|        D(fprintf(stderr, "%*c%s _tmp_134[%d-%d]: %s failed!\n", p->level, ' ',
37008|  4.07k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' (':' | '**')"));
37009|  4.07k|    }
37010|  4.07k|    _res = NULL;
37011|  4.07k|  done:
37012|  4.07k|    p->level--;
37013|  4.07k|    return _res;
37014|  4.07k|}
parser.c:_tmp_173_rule:
39166|  1.63k|{
39167|  1.63k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.26k|#  define MAXSTACK 6000
  ------------------
  |  Branch (39167:9): [True: 0, False: 1.63k]
  |  Branch (39167:35): [True: 0, False: 1.63k]
  ------------------
39168|      0|        _Pypegen_stack_overflow(p);
39169|      0|    }
39170|  1.63k|    if (p->error_indicator) {
  ------------------
  |  Branch (39170:9): [True: 0, False: 1.63k]
  ------------------
39171|      0|        p->level--;
39172|      0|        return NULL;
39173|      0|    }
39174|  1.63k|    void * _res = NULL;
39175|  1.63k|    int _mark = p->mark;
39176|  1.63k|    { // ':'
39177|  1.63k|        if (p->error_indicator) {
  ------------------
  |  Branch (39177:13): [True: 0, False: 1.63k]
  ------------------
39178|      0|            p->level--;
39179|      0|            return NULL;
39180|      0|        }
39181|  1.63k|        D(fprintf(stderr, "%*c> _tmp_173[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':'"));
39182|  1.63k|        Token * _literal;
39183|  1.63k|        if (
39184|  1.63k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (39184:13): [True: 1, False: 1.63k]
  ------------------
39185|  1.63k|        )
39186|      1|        {
39187|      1|            D(fprintf(stderr, "%*c+ _tmp_173[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':'"));
39188|      1|            _res = _literal;
39189|      1|            goto done;
39190|      1|        }
39191|  1.63k|        p->mark = _mark;
39192|  1.63k|        D(fprintf(stderr, "%*c%s _tmp_173[%d-%d]: %s failed!\n", p->level, ' ',
39193|  1.63k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':'"));
39194|  1.63k|    }
39195|      0|    { // '**'
39196|  1.63k|        if (p->error_indicator) {
  ------------------
  |  Branch (39196:13): [True: 0, False: 1.63k]
  ------------------
39197|      0|            p->level--;
39198|      0|            return NULL;
39199|      0|        }
39200|  1.63k|        D(fprintf(stderr, "%*c> _tmp_173[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**'"));
39201|  1.63k|        Token * _literal;
39202|  1.63k|        if (
39203|  1.63k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (39203:13): [True: 2, False: 1.62k]
  ------------------
39204|  1.63k|        )
39205|      2|        {
39206|      2|            D(fprintf(stderr, "%*c+ _tmp_173[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**'"));
39207|      2|            _res = _literal;
39208|      2|            goto done;
39209|      2|        }
39210|  1.62k|        p->mark = _mark;
39211|  1.62k|        D(fprintf(stderr, "%*c%s _tmp_173[%d-%d]: %s failed!\n", p->level, ' ',
39212|  1.62k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**'"));
39213|  1.62k|    }
39214|  1.62k|    _res = NULL;
39215|  1.63k|  done:
39216|  1.63k|    p->level--;
39217|  1.63k|    return _res;
39218|  1.62k|}
parser.c:_tmp_135_rule:
37019|  4.08k|{
37020|  4.08k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.17k|#  define MAXSTACK 6000
  ------------------
  |  Branch (37020:9): [True: 0, False: 4.08k]
  |  Branch (37020:35): [True: 0, False: 4.08k]
  ------------------
37021|      0|        _Pypegen_stack_overflow(p);
37022|      0|    }
37023|  4.08k|    if (p->error_indicator) {
  ------------------
  |  Branch (37023:9): [True: 0, False: 4.08k]
  ------------------
37024|      0|        p->level--;
37025|      0|        return NULL;
37026|      0|    }
37027|  4.08k|    void * _res = NULL;
37028|  4.08k|    int _mark = p->mark;
37029|  4.08k|    { // lambda_param_no_default
37030|  4.08k|        if (p->error_indicator) {
  ------------------
  |  Branch (37030:13): [True: 0, False: 4.08k]
  ------------------
37031|      0|            p->level--;
37032|      0|            return NULL;
37033|      0|        }
37034|  4.08k|        D(fprintf(stderr, "%*c> _tmp_135[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
37035|  4.08k|        arg_ty lambda_param_no_default_var;
37036|  4.08k|        if (
37037|  4.08k|            (lambda_param_no_default_var = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (37037:13): [True: 2.38k, False: 1.70k]
  ------------------
37038|  4.08k|        )
37039|  2.38k|        {
37040|  2.38k|            D(fprintf(stderr, "%*c+ _tmp_135[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
37041|  2.38k|            _res = lambda_param_no_default_var;
37042|  2.38k|            goto done;
37043|  2.38k|        }
37044|  1.70k|        p->mark = _mark;
37045|  1.70k|        D(fprintf(stderr, "%*c%s _tmp_135[%d-%d]: %s failed!\n", p->level, ' ',
37046|  1.70k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default"));
37047|  1.70k|    }
37048|      0|    { // ','
37049|  1.70k|        if (p->error_indicator) {
  ------------------
  |  Branch (37049:13): [True: 1, False: 1.70k]
  ------------------
37050|      1|            p->level--;
37051|      1|            return NULL;
37052|      1|        }
37053|  1.70k|        D(fprintf(stderr, "%*c> _tmp_135[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','"));
37054|  1.70k|        Token * _literal;
37055|  1.70k|        if (
37056|  1.70k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (37056:13): [True: 1.62k, False: 75]
  ------------------
37057|  1.70k|        )
37058|  1.62k|        {
37059|  1.62k|            D(fprintf(stderr, "%*c+ _tmp_135[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','"));
37060|  1.62k|            _res = _literal;
37061|  1.62k|            goto done;
37062|  1.62k|        }
37063|     75|        p->mark = _mark;
37064|     75|        D(fprintf(stderr, "%*c%s _tmp_135[%d-%d]: %s failed!\n", p->level, ' ',
37065|     75|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','"));
37066|     75|    }
37067|     75|    _res = NULL;
37068|  4.08k|  done:
37069|  4.08k|    p->level--;
37070|  4.08k|    return _res;
37071|     75|}
parser.c:lambda_kwds_rule:
16274|  17.8k|{
16275|  17.8k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  35.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16275:9): [True: 0, False: 17.8k]
  |  Branch (16275:35): [True: 0, False: 17.8k]
  ------------------
16276|      0|        _Pypegen_stack_overflow(p);
16277|      0|    }
16278|  17.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (16278:9): [True: 74, False: 17.7k]
  ------------------
16279|     74|        p->level--;
16280|     74|        return NULL;
16281|     74|    }
16282|  17.7k|    arg_ty _res = NULL;
16283|  17.7k|    int _mark = p->mark;
16284|  17.7k|    if (p->call_invalid_rules) { // invalid_lambda_kwds
  ------------------
  |  Branch (16284:9): [True: 9.21k, False: 8.52k]
  ------------------
16285|  9.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (16285:13): [True: 0, False: 9.21k]
  ------------------
16286|      0|            p->level--;
16287|      0|            return NULL;
16288|      0|        }
16289|  9.21k|        D(fprintf(stderr, "%*c> lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_lambda_kwds"));
16290|  9.21k|        void *invalid_lambda_kwds_var;
16291|  9.21k|        if (
16292|  9.21k|            (invalid_lambda_kwds_var = invalid_lambda_kwds_rule(p))  // invalid_lambda_kwds
  ------------------
  |  Branch (16292:13): [True: 0, False: 9.21k]
  ------------------
16293|  9.21k|        )
16294|      0|        {
16295|      0|            D(fprintf(stderr, "%*c+ lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_lambda_kwds"));
16296|      0|            _res = invalid_lambda_kwds_var;
16297|      0|            goto done;
16298|      0|        }
16299|  9.21k|        p->mark = _mark;
16300|  9.21k|        D(fprintf(stderr, "%*c%s lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
16301|  9.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_lambda_kwds"));
16302|  9.21k|    }
16303|  17.7k|    { // '**' lambda_param_no_default
16304|  17.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (16304:13): [True: 9, False: 17.7k]
  ------------------
16305|      9|            p->level--;
16306|      9|            return NULL;
16307|      9|        }
16308|  17.7k|        D(fprintf(stderr, "%*c> lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' lambda_param_no_default"));
16309|  17.7k|        Token * _literal;
16310|  17.7k|        arg_ty a;
16311|  17.7k|        if (
16312|  17.7k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (16312:13): [True: 673, False: 17.0k]
  ------------------
16313|    673|            &&
16314|    673|            (a = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (16314:13): [True: 631, False: 42]
  ------------------
16315|  17.7k|        )
16316|    631|        {
16317|    631|            D(fprintf(stderr, "%*c+ lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' lambda_param_no_default"));
16318|    631|            _res = a;
16319|    631|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16319:18): [True: 0, False: 631]
  |  Branch (16319:34): [True: 0, False: 631]
  |  Branch (16319:57): [True: 0, False: 0]
  ------------------
16320|      0|                p->error_indicator = 1;
16321|      0|                p->level--;
16322|      0|                return NULL;
16323|      0|            }
16324|    631|            goto done;
16325|    631|        }
16326|  17.1k|        p->mark = _mark;
16327|  17.1k|        D(fprintf(stderr, "%*c%s lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
16328|  17.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' lambda_param_no_default"));
16329|  17.1k|    }
16330|  17.1k|    _res = NULL;
16331|  17.7k|  done:
16332|  17.7k|    p->level--;
16333|  17.7k|    return _res;
16334|  17.1k|}
parser.c:invalid_lambda_kwds_rule:
23978|  9.21k|{
23979|  9.21k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  18.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23979:9): [True: 0, False: 9.21k]
  |  Branch (23979:35): [True: 0, False: 9.21k]
  ------------------
23980|      0|        _Pypegen_stack_overflow(p);
23981|      0|    }
23982|  9.21k|    if (p->error_indicator) {
  ------------------
  |  Branch (23982:9): [True: 0, False: 9.21k]
  ------------------
23983|      0|        p->level--;
23984|      0|        return NULL;
23985|      0|    }
23986|  9.21k|    void * _res = NULL;
23987|  9.21k|    int _mark = p->mark;
23988|  9.21k|    { // '**' lambda_param '='
23989|  9.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (23989:13): [True: 0, False: 9.21k]
  ------------------
23990|      0|            p->level--;
23991|      0|            return NULL;
23992|      0|        }
23993|  9.21k|        D(fprintf(stderr, "%*c> invalid_lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' lambda_param '='"));
23994|  9.21k|        Token * _literal;
23995|  9.21k|        Token * a;
23996|  9.21k|        arg_ty lambda_param_var;
23997|  9.21k|        if (
23998|  9.21k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (23998:13): [True: 441, False: 8.77k]
  ------------------
23999|    441|            &&
24000|    441|            (lambda_param_var = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (24000:13): [True: 433, False: 8]
  ------------------
24001|    433|            &&
24002|    433|            (a = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (24002:13): [True: 1, False: 432]
  ------------------
24003|  9.21k|        )
24004|      1|        {
24005|      1|            D(fprintf(stderr, "%*c+ invalid_lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' lambda_param '='"));
24006|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "var-keyword parameter cannot have default value" );
  ------------------
  |  |  213|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
24007|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24007:18): [True: 1, False: 0]
  |  Branch (24007:34): [True: 0, False: 0]
  |  Branch (24007:57): [True: 1, False: 0]
  ------------------
24008|      1|                p->error_indicator = 1;
24009|      1|                p->level--;
24010|      1|                return NULL;
24011|      1|            }
24012|      0|            goto done;
24013|      1|        }
24014|  9.21k|        p->mark = _mark;
24015|  9.21k|        D(fprintf(stderr, "%*c%s invalid_lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
24016|  9.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' lambda_param '='"));
24017|  9.21k|    }
24018|      0|    { // '**' lambda_param ',' lambda_param
24019|  9.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (24019:13): [True: 2, False: 9.21k]
  ------------------
24020|      2|            p->level--;
24021|      2|            return NULL;
24022|      2|        }
24023|  9.21k|        D(fprintf(stderr, "%*c> invalid_lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' lambda_param ',' lambda_param"));
24024|  9.21k|        Token * _literal;
24025|  9.21k|        Token * _literal_1;
24026|  9.21k|        arg_ty a;
24027|  9.21k|        arg_ty lambda_param_var;
24028|  9.21k|        if (
24029|  9.21k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (24029:13): [True: 438, False: 8.77k]
  ------------------
24030|    438|            &&
24031|    438|            (lambda_param_var = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (24031:13): [True: 432, False: 6]
  ------------------
24032|    432|            &&
24033|    432|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (24033:13): [True: 15, False: 417]
  ------------------
24034|     15|            &&
24035|     15|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (24035:13): [True: 2, False: 13]
  ------------------
24036|  9.21k|        )
24037|      2|        {
24038|      2|            D(fprintf(stderr, "%*c+ invalid_lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' lambda_param ',' lambda_param"));
24039|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "parameters cannot follow var-keyword parameter" );
  ------------------
  |  |  213|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
24040|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24040:18): [True: 2, False: 0]
  |  Branch (24040:34): [True: 0, False: 0]
  |  Branch (24040:57): [True: 2, False: 0]
  ------------------
24041|      2|                p->error_indicator = 1;
24042|      2|                p->level--;
24043|      2|                return NULL;
24044|      2|            }
24045|      0|            goto done;
24046|      2|        }
24047|  9.20k|        p->mark = _mark;
24048|  9.20k|        D(fprintf(stderr, "%*c%s invalid_lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
24049|  9.20k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' lambda_param ',' lambda_param"));
24050|  9.20k|    }
24051|      0|    { // '**' lambda_param ',' ('*' | '**' | '/')
24052|  9.20k|        if (p->error_indicator) {
  ------------------
  |  Branch (24052:13): [True: 1, False: 9.20k]
  ------------------
24053|      1|            p->level--;
24054|      1|            return NULL;
24055|      1|        }
24056|  9.20k|        D(fprintf(stderr, "%*c> invalid_lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' lambda_param ',' ('*' | '**' | '/')"));
24057|  9.20k|        Token * _literal;
24058|  9.20k|        Token * _literal_1;
24059|  9.20k|        Token* a;
24060|  9.20k|        arg_ty lambda_param_var;
24061|  9.20k|        if (
24062|  9.20k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (24062:13): [True: 435, False: 8.77k]
  ------------------
24063|    435|            &&
24064|    435|            (lambda_param_var = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (24064:13): [True: 429, False: 6]
  ------------------
24065|    429|            &&
24066|    429|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (24066:13): [True: 12, False: 417]
  ------------------
24067|     12|            &&
24068|     12|            (a = (Token*)_tmp_129_rule(p))  // '*' | '**' | '/'
  ------------------
  |  Branch (24068:13): [True: 3, False: 9]
  ------------------
24069|  9.20k|        )
24070|      3|        {
24071|      3|            D(fprintf(stderr, "%*c+ invalid_lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' lambda_param ',' ('*' | '**' | '/')"));
24072|      3|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "parameters cannot follow var-keyword parameter" );
  ------------------
  |  |  213|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
24073|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24073:18): [True: 3, False: 0]
  |  Branch (24073:34): [True: 0, False: 0]
  |  Branch (24073:57): [True: 3, False: 0]
  ------------------
24074|      3|                p->error_indicator = 1;
24075|      3|                p->level--;
24076|      3|                return NULL;
24077|      3|            }
24078|      0|            goto done;
24079|      3|        }
24080|  9.20k|        p->mark = _mark;
24081|  9.20k|        D(fprintf(stderr, "%*c%s invalid_lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
24082|  9.20k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' lambda_param ',' ('*' | '**' | '/')"));
24083|  9.20k|    }
24084|  9.20k|    _res = NULL;
24085|  9.20k|  done:
24086|  9.20k|    p->level--;
24087|  9.20k|    return _res;
24088|  9.20k|}
parser.c:_tmp_129_rule:
36652|    233|{
36653|    233|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    466|#  define MAXSTACK 6000
  ------------------
  |  Branch (36653:9): [True: 0, False: 233]
  |  Branch (36653:35): [True: 0, False: 233]
  ------------------
36654|      0|        _Pypegen_stack_overflow(p);
36655|      0|    }
36656|    233|    if (p->error_indicator) {
  ------------------
  |  Branch (36656:9): [True: 0, False: 233]
  ------------------
36657|      0|        p->level--;
36658|      0|        return NULL;
36659|      0|    }
36660|    233|    void * _res = NULL;
36661|    233|    int _mark = p->mark;
36662|    233|    { // '*'
36663|    233|        if (p->error_indicator) {
  ------------------
  |  Branch (36663:13): [True: 0, False: 233]
  ------------------
36664|      0|            p->level--;
36665|      0|            return NULL;
36666|      0|        }
36667|    233|        D(fprintf(stderr, "%*c> _tmp_129[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*'"));
36668|    233|        Token * _literal;
36669|    233|        if (
36670|    233|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (36670:13): [True: 3, False: 230]
  ------------------
36671|    233|        )
36672|      3|        {
36673|      3|            D(fprintf(stderr, "%*c+ _tmp_129[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*'"));
36674|      3|            _res = _literal;
36675|      3|            goto done;
36676|      3|        }
36677|    230|        p->mark = _mark;
36678|    230|        D(fprintf(stderr, "%*c%s _tmp_129[%d-%d]: %s failed!\n", p->level, ' ',
36679|    230|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*'"));
36680|    230|    }
36681|      0|    { // '**'
36682|    230|        if (p->error_indicator) {
  ------------------
  |  Branch (36682:13): [True: 0, False: 230]
  ------------------
36683|      0|            p->level--;
36684|      0|            return NULL;
36685|      0|        }
36686|    230|        D(fprintf(stderr, "%*c> _tmp_129[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**'"));
36687|    230|        Token * _literal;
36688|    230|        if (
36689|    230|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (36689:13): [True: 1, False: 229]
  ------------------
36690|    230|        )
36691|      1|        {
36692|      1|            D(fprintf(stderr, "%*c+ _tmp_129[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**'"));
36693|      1|            _res = _literal;
36694|      1|            goto done;
36695|      1|        }
36696|    229|        p->mark = _mark;
36697|    229|        D(fprintf(stderr, "%*c%s _tmp_129[%d-%d]: %s failed!\n", p->level, ' ',
36698|    229|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**'"));
36699|    229|    }
36700|      0|    { // '/'
36701|    229|        if (p->error_indicator) {
  ------------------
  |  Branch (36701:13): [True: 0, False: 229]
  ------------------
36702|      0|            p->level--;
36703|      0|            return NULL;
36704|      0|        }
36705|    229|        D(fprintf(stderr, "%*c> _tmp_129[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'/'"));
36706|    229|        Token * _literal;
36707|    229|        if (
36708|    229|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (36708:13): [True: 1, False: 228]
  ------------------
36709|    229|        )
36710|      1|        {
36711|      1|            D(fprintf(stderr, "%*c+ _tmp_129[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'/'"));
36712|      1|            _res = _literal;
36713|      1|            goto done;
36714|      1|        }
36715|    228|        p->mark = _mark;
36716|    228|        D(fprintf(stderr, "%*c%s _tmp_129[%d-%d]: %s failed!\n", p->level, ' ',
36717|    228|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'/'"));
36718|    228|    }
36719|    228|    _res = NULL;
36720|    233|  done:
36721|    233|    p->level--;
36722|    233|    return _res;
36723|    228|}
parser.c:invalid_legacy_expression_rule:
21589|   289k|{
21590|   289k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   578k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21590:9): [True: 0, False: 289k]
  |  Branch (21590:35): [True: 0, False: 289k]
  ------------------
21591|      0|        _Pypegen_stack_overflow(p);
21592|      0|    }
21593|   289k|    if (p->error_indicator) {
  ------------------
  |  Branch (21593:9): [True: 0, False: 289k]
  ------------------
21594|      0|        p->level--;
21595|      0|        return NULL;
21596|      0|    }
21597|   289k|    void * _res = NULL;
21598|   289k|    int _mark = p->mark;
21599|   289k|    { // NAME !'(' star_expressions
21600|   289k|        if (p->error_indicator) {
  ------------------
  |  Branch (21600:13): [True: 0, False: 289k]
  ------------------
21601|      0|            p->level--;
21602|      0|            return NULL;
21603|      0|        }
21604|   289k|        D(fprintf(stderr, "%*c> invalid_legacy_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME !'(' star_expressions"));
21605|   289k|        expr_ty a;
21606|   289k|        expr_ty b;
21607|   289k|        if (
21608|   289k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (21608:13): [True: 108k, False: 180k]
  ------------------
21609|   108k|            &&
21610|   108k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 7)  // token='('
  ------------------
  |  Branch (21610:13): [True: 103k, False: 4.99k]
  ------------------
21611|   103k|            &&
21612|   103k|            (b = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (21612:13): [True: 8.65k, False: 95.1k]
  ------------------
21613|   289k|        )
21614|  8.65k|        {
21615|  8.65k|            D(fprintf(stderr, "%*c+ invalid_legacy_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME !'(' star_expressions"));
21616|  8.65k|            _res = _PyPegen_check_legacy_stmt ( p , a ) ? RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "Missing parentheses in call to '%U'. Did you mean %U(...)?" , a -> v . Name . id , a -> v . Name . id ) : NULL;
  ------------------
  |  |  211|     21|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  |  Branch (21616:20): [True: 21, False: 8.63k]
  ------------------
21617|  8.65k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21617:18): [True: 8.65k, False: 0]
  |  Branch (21617:34): [True: 0, False: 0]
  |  Branch (21617:57): [True: 21, False: 8.63k]
  ------------------
21618|     21|                p->error_indicator = 1;
21619|     21|                p->level--;
21620|     21|                return NULL;
21621|     21|            }
21622|  8.63k|            goto done;
21623|  8.65k|        }
21624|   280k|        p->mark = _mark;
21625|   280k|        D(fprintf(stderr, "%*c%s invalid_legacy_expression[%d-%d]: %s failed!\n", p->level, ' ',
21626|   280k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME !'(' star_expressions"));
21627|   280k|    }
21628|   280k|    _res = NULL;
21629|   289k|  done:
21630|   289k|    p->level--;
21631|   289k|    return _res;
21632|   280k|}
parser.c:lambdef_rule:
15681|   423k|{
15682|   423k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   847k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15682:9): [True: 0, False: 423k]
  |  Branch (15682:35): [True: 0, False: 423k]
  ------------------
15683|      0|        _Pypegen_stack_overflow(p);
15684|      0|    }
15685|   423k|    if (p->error_indicator) {
  ------------------
  |  Branch (15685:9): [True: 0, False: 423k]
  ------------------
15686|      0|        p->level--;
15687|      0|        return NULL;
15688|      0|    }
15689|   423k|    expr_ty _res = NULL;
15690|   423k|    int _mark = p->mark;
15691|   423k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (15691:9): [True: 0, False: 423k]
  |  Branch (15691:31): [True: 0, False: 0]
  ------------------
15692|      0|        p->error_indicator = 1;
15693|      0|        p->level--;
15694|      0|        return NULL;
15695|      0|    }
15696|   423k|    int _start_lineno = p->tokens[_mark]->lineno;
15697|   423k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   423k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 423k]
  |  |  ------------------
  ------------------
15698|   423k|    int _start_col_offset = p->tokens[_mark]->col_offset;
15699|   423k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   423k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 423k]
  |  |  ------------------
  ------------------
15700|   423k|    { // 'lambda' lambda_params? ':' expression
15701|   423k|        if (p->error_indicator) {
  ------------------
  |  Branch (15701:13): [True: 0, False: 423k]
  ------------------
15702|      0|            p->level--;
15703|      0|            return NULL;
15704|      0|        }
15705|   423k|        D(fprintf(stderr, "%*c> lambdef[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' expression"));
15706|   423k|        Token * _keyword;
15707|   423k|        Token * _literal;
15708|   423k|        void *a;
15709|   423k|        expr_ty b;
15710|   423k|        if (
15711|   423k|            (_keyword = _PyPegen_expect_token(p, 622))  // token='lambda'
  ------------------
  |  Branch (15711:13): [True: 12.4k, False: 411k]
  ------------------
15712|  12.4k|            &&
15713|  12.4k|            (a = lambda_params_rule(p), !p->error_indicator)  // lambda_params?
  ------------------
  |  Branch (15713:13): [True: 11.5k, False: 837]
  ------------------
15714|  11.5k|            &&
15715|  11.5k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (15715:13): [True: 9.48k, False: 2.10k]
  ------------------
15716|  9.48k|            &&
15717|  9.48k|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (15717:13): [True: 7.99k, False: 1.49k]
  ------------------
15718|   423k|        )
15719|  7.99k|        {
15720|  7.99k|            D(fprintf(stderr, "%*c+ lambdef[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' expression"));
15721|  7.99k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15722|  7.99k|            if (_token == NULL) {
  ------------------
  |  Branch (15722:17): [True: 0, False: 7.99k]
  ------------------
15723|      0|                p->level--;
15724|      0|                return NULL;
15725|      0|            }
15726|  7.99k|            int _end_lineno = _token->end_lineno;
15727|  7.99k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  7.99k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 7.99k]
  |  |  ------------------
  ------------------
15728|  7.99k|            int _end_col_offset = _token->end_col_offset;
15729|  7.99k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  7.99k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 7.99k]
  |  |  ------------------
  ------------------
15730|  7.99k|            _res = _PyAST_Lambda ( ( a ) ? a : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , EXTRA );
  ------------------
  |  |  245|  9.51k|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Lambda ( ( a ) ? a : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , EXTRA );
  ------------------
  |  |  281|  7.99k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (15730:36): [True: 6.47k, False: 1.52k]
  ------------------
15731|  7.99k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15731:18): [True: 0, False: 7.99k]
  |  Branch (15731:34): [True: 0, False: 7.99k]
  |  Branch (15731:57): [True: 0, False: 0]
  ------------------
15732|      0|                p->error_indicator = 1;
15733|      0|                p->level--;
15734|      0|                return NULL;
15735|      0|            }
15736|  7.99k|            goto done;
15737|  7.99k|        }
15738|   415k|        p->mark = _mark;
15739|   415k|        D(fprintf(stderr, "%*c%s lambdef[%d-%d]: %s failed!\n", p->level, ' ',
15740|   415k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'lambda' lambda_params? ':' expression"));
15741|   415k|    }
15742|   415k|    _res = NULL;
15743|   423k|  done:
15744|   423k|    p->level--;
15745|   423k|    return _res;
15746|   415k|}
parser.c:function_def_raw_rule:
 4666|  20.9k|{
 4667|  20.9k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  41.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4667:9): [True: 0, False: 20.9k]
  |  Branch (4667:35): [True: 0, False: 20.9k]
  ------------------
 4668|      0|        _Pypegen_stack_overflow(p);
 4669|      0|    }
 4670|  20.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (4670:9): [True: 0, False: 20.9k]
  ------------------
 4671|      0|        p->level--;
 4672|      0|        return NULL;
 4673|      0|    }
 4674|  20.9k|    stmt_ty _res = NULL;
 4675|  20.9k|    int _mark = p->mark;
 4676|  20.9k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (4676:9): [True: 0, False: 20.9k]
  |  Branch (4676:31): [True: 0, False: 0]
  ------------------
 4677|      0|        p->error_indicator = 1;
 4678|      0|        p->level--;
 4679|      0|        return NULL;
 4680|      0|    }
 4681|  20.9k|    int _start_lineno = p->tokens[_mark]->lineno;
 4682|  20.9k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  20.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 20.9k]
  |  |  ------------------
  ------------------
 4683|  20.9k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 4684|  20.9k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  20.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 20.9k]
  |  |  ------------------
  ------------------
 4685|  20.9k|    if (p->call_invalid_rules) { // invalid_def_raw
  ------------------
  |  Branch (4685:9): [True: 3.89k, False: 17.0k]
  ------------------
 4686|  3.89k|        if (p->error_indicator) {
  ------------------
  |  Branch (4686:13): [True: 0, False: 3.89k]
  ------------------
 4687|      0|            p->level--;
 4688|      0|            return NULL;
 4689|      0|        }
 4690|  3.89k|        D(fprintf(stderr, "%*c> function_def_raw[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_def_raw"));
 4691|  3.89k|        void *invalid_def_raw_var;
 4692|  3.89k|        if (
 4693|  3.89k|            (invalid_def_raw_var = invalid_def_raw_rule(p))  // invalid_def_raw
  ------------------
  |  Branch (4693:13): [True: 2.26k, False: 1.62k]
  ------------------
 4694|  3.89k|        )
 4695|  2.26k|        {
 4696|  2.26k|            D(fprintf(stderr, "%*c+ function_def_raw[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_def_raw"));
 4697|  2.26k|            _res = invalid_def_raw_var;
 4698|  2.26k|            goto done;
 4699|  2.26k|        }
 4700|  1.62k|        p->mark = _mark;
 4701|  1.62k|        D(fprintf(stderr, "%*c%s function_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
 4702|  1.62k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_def_raw"));
 4703|  1.62k|    }
 4704|  18.7k|    { // 'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block
 4705|  18.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (4705:13): [True: 171, False: 18.5k]
  ------------------
 4706|    171|            p->level--;
 4707|    171|            return NULL;
 4708|    171|        }
 4709|  18.5k|        D(fprintf(stderr, "%*c> function_def_raw[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block"));
 4710|  18.5k|        Token * _keyword;
 4711|  18.5k|        Token * _literal;
 4712|  18.5k|        Token * _literal_1;
 4713|  18.5k|        Token * _literal_2;
 4714|  18.5k|        void *a;
 4715|  18.5k|        asdl_stmt_seq* b;
 4716|  18.5k|        expr_ty n;
 4717|  18.5k|        void *params;
 4718|  18.5k|        void *t;
 4719|  18.5k|        void *tc;
 4720|  18.5k|        if (
 4721|  18.5k|            (_keyword = _PyPegen_expect_token(p, 717))  // token='def'
  ------------------
  |  Branch (4721:13): [True: 7.90k, False: 10.6k]
  ------------------
 4722|  7.90k|            &&
 4723|  7.90k|            (n = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4723:13): [True: 7.89k, False: 11]
  ------------------
 4724|  7.89k|            &&
 4725|  7.89k|            (t = type_params_rule(p), !p->error_indicator)  // type_params?
  ------------------
  |  Branch (4725:13): [True: 7.89k, False: 3]
  ------------------
 4726|  7.89k|            &&
 4727|  7.89k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (4727:13): [True: 7.86k, False: 29]
  ------------------
 4728|  7.86k|            &&
 4729|  7.86k|            (params = params_rule(p), !p->error_indicator)  // params?
  ------------------
  |  Branch (4729:13): [True: 7.83k, False: 29]
  ------------------
 4730|  7.83k|            &&
 4731|  7.83k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (4731:13): [True: 7.70k, False: 131]
  ------------------
 4732|  7.70k|            &&
 4733|  7.70k|            (a = _tmp_26_rule(p), !p->error_indicator)  // ['->' expression]
  ------------------
  |  Branch (4733:13): [True: 7.69k, False: 3]
  ------------------
 4734|  7.69k|            &&
 4735|  7.69k|            (_literal_2 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (4735:13): [True: 7.67k, False: 26]
  ------------------
 4736|  7.67k|            &&
 4737|  7.67k|            (tc = func_type_comment_rule(p), !p->error_indicator)  // func_type_comment?
  ------------------
  |  Branch (4737:13): [True: 7.67k, False: 1]
  ------------------
 4738|  7.67k|            &&
 4739|  7.67k|            (b = block_rule(p))  // block
  ------------------
  |  Branch (4739:13): [True: 7.60k, False: 68]
  ------------------
 4740|  18.5k|        )
 4741|  7.60k|        {
 4742|  7.60k|            D(fprintf(stderr, "%*c+ function_def_raw[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block"));
 4743|  7.60k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 4744|  7.60k|            if (_token == NULL) {
  ------------------
  |  Branch (4744:17): [True: 0, False: 7.60k]
  ------------------
 4745|      0|                p->level--;
 4746|      0|                return NULL;
 4747|      0|            }
 4748|  7.60k|            int _end_lineno = _token->end_lineno;
 4749|  7.60k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  7.60k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 7.60k]
  |  |  ------------------
  ------------------
 4750|  7.60k|            int _end_col_offset = _token->end_col_offset;
 4751|  7.60k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  7.60k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 7.60k]
  |  |  ------------------
  ------------------
 4752|  7.60k|            _res = _PyAST_FunctionDef ( n -> v . Name . id , ( params ) ? params : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , NULL , a , NEW_TYPE_COMMENT ( p , tc ) , t , EXTRA );
  ------------------
  |  |  245|  13.0k|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_FunctionDef ( n -> v . Name . id , ( params ) ? params : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , NULL , a , NEW_TYPE_COMMENT ( p , tc ) , t , EXTRA );
  ------------------
  |  |  281|  7.60k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (4752:62): [True: 2.11k, False: 5.49k]
  ------------------
 4753|  7.60k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4753:18): [True: 0, False: 7.60k]
  |  Branch (4753:34): [True: 0, False: 7.60k]
  |  Branch (4753:57): [True: 0, False: 0]
  ------------------
 4754|      0|                p->error_indicator = 1;
 4755|      0|                p->level--;
 4756|      0|                return NULL;
 4757|      0|            }
 4758|  7.60k|            goto done;
 4759|  7.60k|        }
 4760|  10.9k|        p->mark = _mark;
 4761|  10.9k|        D(fprintf(stderr, "%*c%s function_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
 4762|  10.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block"));
 4763|  10.9k|    }
 4764|      0|    { // 'async' 'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block
 4765|  10.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (4765:13): [True: 45, False: 10.8k]
  ------------------
 4766|     45|            p->level--;
 4767|     45|            return NULL;
 4768|     45|        }
 4769|  10.8k|        D(fprintf(stderr, "%*c> function_def_raw[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async' 'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block"));
 4770|  10.8k|        Token * _keyword;
 4771|  10.8k|        Token * _keyword_1;
 4772|  10.8k|        Token * _literal;
 4773|  10.8k|        Token * _literal_1;
 4774|  10.8k|        Token * _literal_2;
 4775|  10.8k|        void *a;
 4776|  10.8k|        asdl_stmt_seq* b;
 4777|  10.8k|        expr_ty n;
 4778|  10.8k|        void *params;
 4779|  10.8k|        void *t;
 4780|  10.8k|        void *tc;
 4781|  10.8k|        if (
 4782|  10.8k|            (_keyword = _PyPegen_expect_token(p, 716))  // token='async'
  ------------------
  |  Branch (4782:13): [True: 9.00k, False: 1.87k]
  ------------------
 4783|  9.00k|            &&
 4784|  9.00k|            (_keyword_1 = _PyPegen_expect_token(p, 717))  // token='def'
  ------------------
  |  Branch (4784:13): [True: 4.66k, False: 4.34k]
  ------------------
 4785|  4.66k|            &&
 4786|  4.66k|            (n = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4786:13): [True: 4.66k, False: 5]
  ------------------
 4787|  4.66k|            &&
 4788|  4.66k|            (t = type_params_rule(p), !p->error_indicator)  // type_params?
  ------------------
  |  Branch (4788:13): [True: 4.66k, False: 2]
  ------------------
 4789|  4.66k|            &&
 4790|  4.66k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (4790:13): [True: 4.65k, False: 9]
  ------------------
 4791|  4.65k|            &&
 4792|  4.65k|            (params = params_rule(p), !p->error_indicator)  // params?
  ------------------
  |  Branch (4792:13): [True: 4.64k, False: 8]
  ------------------
 4793|  4.64k|            &&
 4794|  4.64k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (4794:13): [True: 4.58k, False: 61]
  ------------------
 4795|  4.58k|            &&
 4796|  4.58k|            (a = _tmp_26_rule(p), !p->error_indicator)  // ['->' expression]
  ------------------
  |  Branch (4796:13): [True: 4.57k, False: 3]
  ------------------
 4797|  4.57k|            &&
 4798|  4.57k|            (_literal_2 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (4798:13): [True: 4.56k, False: 11]
  ------------------
 4799|  4.56k|            &&
 4800|  4.56k|            (tc = func_type_comment_rule(p), !p->error_indicator)  // func_type_comment?
  ------------------
  |  Branch (4800:13): [True: 4.56k, False: 1]
  ------------------
 4801|  4.56k|            &&
 4802|  4.56k|            (b = block_rule(p))  // block
  ------------------
  |  Branch (4802:13): [True: 4.43k, False: 133]
  ------------------
 4803|  10.8k|        )
 4804|  4.43k|        {
 4805|  4.43k|            D(fprintf(stderr, "%*c+ function_def_raw[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async' 'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block"));
 4806|  4.43k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 4807|  4.43k|            if (_token == NULL) {
  ------------------
  |  Branch (4807:17): [True: 0, False: 4.43k]
  ------------------
 4808|      0|                p->level--;
 4809|      0|                return NULL;
 4810|      0|            }
 4811|  4.43k|            int _end_lineno = _token->end_lineno;
 4812|  4.43k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.43k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.43k]
  |  |  ------------------
  ------------------
 4813|  4.43k|            int _end_col_offset = _token->end_col_offset;
 4814|  4.43k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.43k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.43k]
  |  |  ------------------
  ------------------
 4815|  4.43k|            _res = CHECK_VERSION ( stmt_ty , 5 , "Async functions are" , _PyAST_AsyncFunctionDef ( n -> v . Name . id , ( params ) ? params : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , NULL , a , NEW_TYPE_COMMENT ( p , tc ) , t , EXTRA ) );
  ------------------
  |  |  319|  8.86k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  |  |  ------------------
  |  |  |  Branch (319:96): [True: 4.40k, False: 28]
  |  |  ------------------
  ------------------
 4816|  4.43k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4816:18): [True: 0, False: 4.43k]
  |  Branch (4816:34): [True: 1, False: 4.43k]
  |  Branch (4816:57): [True: 1, False: 0]
  ------------------
 4817|      1|                p->error_indicator = 1;
 4818|      1|                p->level--;
 4819|      1|                return NULL;
 4820|      1|            }
 4821|  4.43k|            goto done;
 4822|  4.43k|        }
 4823|  6.45k|        p->mark = _mark;
 4824|  6.45k|        D(fprintf(stderr, "%*c%s function_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
 4825|  6.45k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async' 'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block"));
 4826|  6.45k|    }
 4827|  6.45k|    _res = NULL;
 4828|  20.7k|  done:
 4829|  20.7k|    p->level--;
 4830|  20.7k|    return _res;
 4831|  6.45k|}
parser.c:invalid_def_raw_rule:
26582|  3.89k|{
26583|  3.89k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  7.78k|#  define MAXSTACK 6000
  ------------------
  |  Branch (26583:9): [True: 0, False: 3.89k]
  |  Branch (26583:35): [True: 0, False: 3.89k]
  ------------------
26584|      0|        _Pypegen_stack_overflow(p);
26585|      0|    }
26586|  3.89k|    if (p->error_indicator) {
  ------------------
  |  Branch (26586:9): [True: 0, False: 3.89k]
  ------------------
26587|      0|        p->level--;
26588|      0|        return NULL;
26589|      0|    }
26590|  3.89k|    void * _res = NULL;
26591|  3.89k|    int _mark = p->mark;
26592|  3.89k|    { // 'async'? 'def' NAME type_params? '(' params? ')' ['->' expression] ':' NEWLINE !INDENT
26593|  3.89k|        if (p->error_indicator) {
  ------------------
  |  Branch (26593:13): [True: 0, False: 3.89k]
  ------------------
26594|      0|            p->level--;
26595|      0|            return NULL;
26596|      0|        }
26597|  3.89k|        D(fprintf(stderr, "%*c> invalid_def_raw[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'def' NAME type_params? '(' params? ')' ['->' expression] ':' NEWLINE !INDENT"));
26598|  3.89k|        Token * _literal;
26599|  3.89k|        Token * _literal_1;
26600|  3.89k|        Token * _literal_2;
26601|  3.89k|        void *_opt_var;
26602|  3.89k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  3.89k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.89k]
  |  |  ------------------
  ------------------
26603|  3.89k|        void *_opt_var_1;
26604|  3.89k|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  279|  3.89k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.89k]
  |  |  ------------------
  ------------------
26605|  3.89k|        void *_opt_var_2;
26606|  3.89k|        UNUSED(_opt_var_2); // Silence compiler warnings
  ------------------
  |  |  279|  3.89k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.89k]
  |  |  ------------------
  ------------------
26607|  3.89k|        void *_opt_var_3;
26608|  3.89k|        UNUSED(_opt_var_3); // Silence compiler warnings
  ------------------
  |  |  279|  3.89k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.89k]
  |  |  ------------------
  ------------------
26609|  3.89k|        Token * a;
26610|  3.89k|        expr_ty name_var;
26611|  3.89k|        Token * newline_var;
26612|  3.89k|        if (
26613|  3.89k|            (_opt_var = _PyPegen_expect_token(p, 716), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (26613:13): [True: 3.89k, False: 0]
  ------------------
26614|  3.89k|            &&
26615|  3.89k|            (a = _PyPegen_expect_token(p, 717))  // token='def'
  ------------------
  |  Branch (26615:13): [True: 2.58k, False: 1.30k]
  ------------------
26616|  2.58k|            &&
26617|  2.58k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (26617:13): [True: 2.58k, False: 5]
  ------------------
26618|  2.58k|            &&
26619|  2.58k|            (_opt_var_1 = type_params_rule(p), !p->error_indicator)  // type_params?
  ------------------
  |  Branch (26619:13): [True: 2.57k, False: 8]
  ------------------
26620|  2.57k|            &&
26621|  2.57k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (26621:13): [True: 2.54k, False: 31]
  ------------------
26622|  2.54k|            &&
26623|  2.54k|            (_opt_var_2 = params_rule(p), !p->error_indicator)  // params?
  ------------------
  |  Branch (26623:13): [True: 2.49k, False: 48]
  ------------------
26624|  2.49k|            &&
26625|  2.49k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (26625:13): [True: 2.41k, False: 76]
  ------------------
26626|  2.41k|            &&
26627|  2.41k|            (_opt_var_3 = _tmp_26_rule(p), !p->error_indicator)  // ['->' expression]
  ------------------
  |  Branch (26627:13): [True: 2.41k, False: 3]
  ------------------
26628|  2.41k|            &&
26629|  2.41k|            (_literal_2 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (26629:13): [True: 2.37k, False: 36]
  ------------------
26630|  2.37k|            &&
26631|  2.37k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  2.37k|#define NEWLINE         4
  ------------------
  |  Branch (26631:13): [True: 603, False: 1.77k]
  ------------------
26632|    603|            &&
26633|    603|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|    603|#define INDENT          5
  ------------------
  |  Branch (26633:13): [True: 14, False: 589]
  ------------------
26634|  3.89k|        )
26635|     14|        {
26636|     14|            D(fprintf(stderr, "%*c+ invalid_def_raw[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'? 'def' NAME type_params? '(' params? ')' ['->' expression] ':' NEWLINE !INDENT"));
26637|     14|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after function definition on line %d" , a -> lineno );
  ------------------
  |  |  208|     14|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
26638|     14|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26638:18): [True: 14, False: 0]
  |  Branch (26638:34): [True: 0, False: 0]
  |  Branch (26638:57): [True: 14, False: 0]
  ------------------
26639|     14|                p->error_indicator = 1;
26640|     14|                p->level--;
26641|     14|                return NULL;
26642|     14|            }
26643|      0|            goto done;
26644|     14|        }
26645|  3.87k|        p->mark = _mark;
26646|  3.87k|        D(fprintf(stderr, "%*c%s invalid_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
26647|  3.87k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'def' NAME type_params? '(' params? ')' ['->' expression] ':' NEWLINE !INDENT"));
26648|  3.87k|    }
26649|      0|    { // 'async'? 'def' NAME type_params? &&'(' params? ')' ['->' expression] &&':' func_type_comment? block
26650|  3.87k|        if (p->error_indicator) {
  ------------------
  |  Branch (26650:13): [True: 59, False: 3.81k]
  ------------------
26651|     59|            p->level--;
26652|     59|            return NULL;
26653|     59|        }
26654|  3.81k|        D(fprintf(stderr, "%*c> invalid_def_raw[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'def' NAME type_params? &&'(' params? ')' ['->' expression] &&':' func_type_comment? block"));
26655|  3.81k|        Token * _keyword;
26656|  3.81k|        Token * _literal;
26657|  3.81k|        Token * _literal_1;
26658|  3.81k|        Token * _literal_2;
26659|  3.81k|        void *_opt_var;
26660|  3.81k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  3.81k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.81k]
  |  |  ------------------
  ------------------
26661|  3.81k|        void *_opt_var_1;
26662|  3.81k|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  279|  3.81k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.81k]
  |  |  ------------------
  ------------------
26663|  3.81k|        void *_opt_var_2;
26664|  3.81k|        UNUSED(_opt_var_2); // Silence compiler warnings
  ------------------
  |  |  279|  3.81k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.81k]
  |  |  ------------------
  ------------------
26665|  3.81k|        void *_opt_var_3;
26666|  3.81k|        UNUSED(_opt_var_3); // Silence compiler warnings
  ------------------
  |  |  279|  3.81k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.81k]
  |  |  ------------------
  ------------------
26667|  3.81k|        void *_opt_var_4;
26668|  3.81k|        UNUSED(_opt_var_4); // Silence compiler warnings
  ------------------
  |  |  279|  3.81k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.81k]
  |  |  ------------------
  ------------------
26669|  3.81k|        asdl_stmt_seq* block_var;
26670|  3.81k|        expr_ty name_var;
26671|  3.81k|        if (
26672|  3.81k|            (_opt_var = _PyPegen_expect_token(p, 716), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (26672:13): [True: 3.81k, False: 0]
  ------------------
26673|  3.81k|            &&
26674|  3.81k|            (_keyword = _PyPegen_expect_token(p, 717))  // token='def'
  ------------------
  |  Branch (26674:13): [True: 2.51k, False: 1.30k]
  ------------------
26675|  2.51k|            &&
26676|  2.51k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (26676:13): [True: 2.50k, False: 5]
  ------------------
26677|  2.50k|            &&
26678|  2.50k|            (_opt_var_1 = type_params_rule(p), !p->error_indicator)  // type_params?
  ------------------
  |  Branch (26678:13): [True: 2.50k, False: 0]
  ------------------
26679|  2.50k|            &&
26680|  2.50k|            (_literal = _PyPegen_expect_forced_token(p, 7, "("))  // forced_token='('
  ------------------
  |  Branch (26680:13): [True: 2.47k, False: 31]
  ------------------
26681|  2.47k|            &&
26682|  2.47k|            (_opt_var_2 = params_rule(p), !p->error_indicator)  // params?
  ------------------
  |  Branch (26682:13): [True: 2.47k, False: 0]
  ------------------
26683|  2.47k|            &&
26684|  2.47k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (26684:13): [True: 2.40k, False: 76]
  ------------------
26685|  2.40k|            &&
26686|  2.40k|            (_opt_var_3 = _tmp_26_rule(p), !p->error_indicator)  // ['->' expression]
  ------------------
  |  Branch (26686:13): [True: 2.40k, False: 0]
  ------------------
26687|  2.40k|            &&
26688|  2.40k|            (_literal_2 = _PyPegen_expect_forced_token(p, 11, ":"))  // forced_token=':'
  ------------------
  |  Branch (26688:13): [True: 2.36k, False: 36]
  ------------------
26689|  2.36k|            &&
26690|  2.36k|            (_opt_var_4 = func_type_comment_rule(p), !p->error_indicator)  // func_type_comment?
  ------------------
  |  Branch (26690:13): [True: 2.36k, False: 2]
  ------------------
26691|  2.36k|            &&
26692|  2.36k|            (block_var = block_rule(p))  // block
  ------------------
  |  Branch (26692:13): [True: 2.26k, False: 100]
  ------------------
26693|  3.81k|        )
26694|  2.26k|        {
26695|  2.26k|            D(fprintf(stderr, "%*c+ invalid_def_raw[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'? 'def' NAME type_params? &&'(' params? ')' ['->' expression] &&':' func_type_comment? block"));
26696|  2.26k|            _res = _PyPegen_dummy_name(p, _opt_var, _keyword, name_var, _opt_var_1, _literal, _opt_var_2, _literal_1, _opt_var_3, _literal_2, _opt_var_4, block_var);
26697|  2.26k|            goto done;
26698|  2.26k|        }
26699|  1.55k|        p->mark = _mark;
26700|  1.55k|        D(fprintf(stderr, "%*c%s invalid_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
26701|  1.55k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'def' NAME type_params? &&'(' params? ')' ['->' expression] &&':' func_type_comment? block"));
26702|  1.55k|    }
26703|  1.55k|    _res = NULL;
26704|  3.81k|  done:
26705|  3.81k|    p->level--;
26706|  3.81k|    return _res;
26707|  1.55k|}
parser.c:params_rule:
 4836|  17.5k|{
 4837|  17.5k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  35.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4837:9): [True: 0, False: 17.5k]
  |  Branch (4837:35): [True: 0, False: 17.5k]
  ------------------
 4838|      0|        _Pypegen_stack_overflow(p);
 4839|      0|    }
 4840|  17.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (4840:9): [True: 0, False: 17.5k]
  ------------------
 4841|      0|        p->level--;
 4842|      0|        return NULL;
 4843|      0|    }
 4844|  17.5k|    arguments_ty _res = NULL;
 4845|  17.5k|    int _mark = p->mark;
 4846|  17.5k|    if (p->call_invalid_rules) { // invalid_parameters
  ------------------
  |  Branch (4846:9): [True: 5.16k, False: 12.3k]
  ------------------
 4847|  5.16k|        if (p->error_indicator) {
  ------------------
  |  Branch (4847:13): [True: 0, False: 5.16k]
  ------------------
 4848|      0|            p->level--;
 4849|      0|            return NULL;
 4850|      0|        }
 4851|  5.16k|        D(fprintf(stderr, "%*c> params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_parameters"));
 4852|  5.16k|        void *invalid_parameters_var;
 4853|  5.16k|        if (
 4854|  5.16k|            (invalid_parameters_var = invalid_parameters_rule(p))  // invalid_parameters
  ------------------
  |  Branch (4854:13): [True: 0, False: 5.16k]
  ------------------
 4855|  5.16k|        )
 4856|      0|        {
 4857|      0|            D(fprintf(stderr, "%*c+ params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_parameters"));
 4858|      0|            _res = invalid_parameters_var;
 4859|      0|            goto done;
 4860|      0|        }
 4861|  5.16k|        p->mark = _mark;
 4862|  5.16k|        D(fprintf(stderr, "%*c%s params[%d-%d]: %s failed!\n", p->level, ' ',
 4863|  5.16k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_parameters"));
 4864|  5.16k|    }
 4865|  17.5k|    { // parameters
 4866|  17.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (4866:13): [True: 28, False: 17.5k]
  ------------------
 4867|     28|            p->level--;
 4868|     28|            return NULL;
 4869|     28|        }
 4870|  17.5k|        D(fprintf(stderr, "%*c> params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "parameters"));
 4871|  17.5k|        arguments_ty parameters_var;
 4872|  17.5k|        if (
 4873|  17.5k|            (parameters_var = parameters_rule(p))  // parameters
  ------------------
  |  Branch (4873:13): [True: 10.8k, False: 6.65k]
  ------------------
 4874|  17.5k|        )
 4875|  10.8k|        {
 4876|  10.8k|            D(fprintf(stderr, "%*c+ params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "parameters"));
 4877|  10.8k|            _res = parameters_var;
 4878|  10.8k|            goto done;
 4879|  10.8k|        }
 4880|  6.65k|        p->mark = _mark;
 4881|  6.65k|        D(fprintf(stderr, "%*c%s params[%d-%d]: %s failed!\n", p->level, ' ',
 4882|  6.65k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "parameters"));
 4883|  6.65k|    }
 4884|  6.65k|    _res = NULL;
 4885|  17.5k|  done:
 4886|  17.5k|    p->level--;
 4887|  17.5k|    return _res;
 4888|  6.65k|}
parser.c:invalid_parameters_rule:
22988|  5.16k|{
22989|  5.16k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  10.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22989:9): [True: 0, False: 5.16k]
  |  Branch (22989:35): [True: 0, False: 5.16k]
  ------------------
22990|      0|        _Pypegen_stack_overflow(p);
22991|      0|    }
22992|  5.16k|    if (p->error_indicator) {
  ------------------
  |  Branch (22992:9): [True: 0, False: 5.16k]
  ------------------
22993|      0|        p->level--;
22994|      0|        return NULL;
22995|      0|    }
22996|  5.16k|    void * _res = NULL;
22997|  5.16k|    int _mark = p->mark;
22998|  5.16k|    { // "/" ','
22999|  5.16k|        if (p->error_indicator) {
  ------------------
  |  Branch (22999:13): [True: 0, False: 5.16k]
  ------------------
23000|      0|            p->level--;
23001|      0|            return NULL;
23002|      0|        }
23003|  5.16k|        D(fprintf(stderr, "%*c> invalid_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"/\" ','"));
23004|  5.16k|        Token * _literal;
23005|  5.16k|        Token * a;
23006|  5.16k|        if (
23007|  5.16k|            (a = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (23007:13): [True: 7, False: 5.15k]
  ------------------
23008|      7|            &&
23009|      7|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (23009:13): [True: 2, False: 5]
  ------------------
23010|  5.16k|        )
23011|      2|        {
23012|      2|            D(fprintf(stderr, "%*c+ invalid_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"/\" ','"));
23013|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "at least one parameter must precede /" );
  ------------------
  |  |  213|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23014|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23014:18): [True: 2, False: 0]
  |  Branch (23014:34): [True: 0, False: 0]
  |  Branch (23014:57): [True: 2, False: 0]
  ------------------
23015|      2|                p->error_indicator = 1;
23016|      2|                p->level--;
23017|      2|                return NULL;
23018|      2|            }
23019|      0|            goto done;
23020|      2|        }
23021|  5.16k|        p->mark = _mark;
23022|  5.16k|        D(fprintf(stderr, "%*c%s invalid_parameters[%d-%d]: %s failed!\n", p->level, ' ',
23023|  5.16k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"/\" ','"));
23024|  5.16k|    }
23025|      0|    { // (slash_no_default | slash_with_default) param_maybe_default* '/'
23026|  5.16k|        if (p->error_indicator) {
  ------------------
  |  Branch (23026:13): [True: 2, False: 5.16k]
  ------------------
23027|      2|            p->level--;
23028|      2|            return NULL;
23029|      2|        }
23030|  5.16k|        D(fprintf(stderr, "%*c> invalid_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(slash_no_default | slash_with_default) param_maybe_default* '/'"));
23031|  5.16k|        asdl_seq * _loop0_31_var;
23032|  5.16k|        void *_tmp_124_var;
23033|  5.16k|        Token * a;
23034|  5.16k|        if (
23035|  5.16k|            (_tmp_124_var = _tmp_124_rule(p))  // slash_no_default | slash_with_default
  ------------------
  |  Branch (23035:13): [True: 528, False: 4.63k]
  ------------------
23036|    528|            &&
23037|    528|            (_loop0_31_var = _loop0_31_rule(p))  // param_maybe_default*
  ------------------
  |  Branch (23037:13): [True: 528, False: 0]
  ------------------
23038|    528|            &&
23039|    528|            (a = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (23039:13): [True: 1, False: 527]
  ------------------
23040|  5.16k|        )
23041|      1|        {
23042|      1|            D(fprintf(stderr, "%*c+ invalid_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(slash_no_default | slash_with_default) param_maybe_default* '/'"));
23043|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "/ may appear only once" );
  ------------------
  |  |  213|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23044|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23044:18): [True: 1, False: 0]
  |  Branch (23044:34): [True: 0, False: 0]
  |  Branch (23044:57): [True: 1, False: 0]
  ------------------
23045|      1|                p->error_indicator = 1;
23046|      1|                p->level--;
23047|      1|                return NULL;
23048|      1|            }
23049|      0|            goto done;
23050|      1|        }
23051|  5.15k|        p->mark = _mark;
23052|  5.15k|        D(fprintf(stderr, "%*c%s invalid_parameters[%d-%d]: %s failed!\n", p->level, ' ',
23053|  5.15k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(slash_no_default | slash_with_default) param_maybe_default* '/'"));
23054|  5.15k|    }
23055|      0|    { // slash_no_default? param_no_default* invalid_parameters_helper param_no_default
23056|  5.15k|        if (p->error_indicator) {
  ------------------
  |  Branch (23056:13): [True: 9, False: 5.15k]
  ------------------
23057|      9|            p->level--;
23058|      9|            return NULL;
23059|      9|        }
23060|  5.15k|        D(fprintf(stderr, "%*c> invalid_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "slash_no_default? param_no_default* invalid_parameters_helper param_no_default"));
23061|  5.15k|        asdl_seq * _loop0_27_var;
23062|  5.15k|        void *_opt_var;
23063|  5.15k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  5.15k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 5.15k]
  |  |  ------------------
  ------------------
23064|  5.15k|        arg_ty a;
23065|  5.15k|        void *invalid_parameters_helper_var;
23066|  5.15k|        if (
23067|  5.15k|            (_opt_var = slash_no_default_rule(p), !p->error_indicator)  // slash_no_default?
  ------------------
  |  Branch (23067:13): [True: 5.15k, False: 0]
  ------------------
23068|  5.15k|            &&
23069|  5.15k|            (_loop0_27_var = _loop0_27_rule(p))  // param_no_default*
  ------------------
  |  Branch (23069:13): [True: 5.15k, False: 0]
  ------------------
23070|  5.15k|            &&
23071|  5.15k|            (invalid_parameters_helper_var = invalid_parameters_helper_rule(p))  // invalid_parameters_helper
  ------------------
  |  Branch (23071:13): [True: 361, False: 4.78k]
  ------------------
23072|    361|            &&
23073|    361|            (a = param_no_default_rule(p))  // param_no_default
  ------------------
  |  Branch (23073:13): [True: 4, False: 357]
  ------------------
23074|  5.15k|        )
23075|      4|        {
23076|      4|            D(fprintf(stderr, "%*c+ invalid_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "slash_no_default? param_no_default* invalid_parameters_helper param_no_default"));
23077|      4|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "parameter without a default follows parameter with a default" );
  ------------------
  |  |  213|      4|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23078|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23078:18): [True: 4, False: 0]
  |  Branch (23078:34): [True: 0, False: 0]
  |  Branch (23078:57): [True: 4, False: 0]
  ------------------
23079|      4|                p->error_indicator = 1;
23080|      4|                p->level--;
23081|      4|                return NULL;
23082|      4|            }
23083|      0|            goto done;
23084|      4|        }
23085|  5.14k|        p->mark = _mark;
23086|  5.14k|        D(fprintf(stderr, "%*c%s invalid_parameters[%d-%d]: %s failed!\n", p->level, ' ',
23087|  5.14k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "slash_no_default? param_no_default* invalid_parameters_helper param_no_default"));
23088|  5.14k|    }
23089|      0|    { // param_no_default* '(' param_no_default+ ','? ')'
23090|  5.14k|        if (p->error_indicator) {
  ------------------
  |  Branch (23090:13): [True: 1, False: 5.14k]
  ------------------
23091|      1|            p->level--;
23092|      1|            return NULL;
23093|      1|        }
23094|  5.14k|        D(fprintf(stderr, "%*c> invalid_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default* '(' param_no_default+ ','? ')'"));
23095|  5.14k|        asdl_seq * _loop0_27_var;
23096|  5.14k|        asdl_seq * _loop1_29_var;
23097|  5.14k|        void *_opt_var;
23098|  5.14k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  5.14k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 5.14k]
  |  |  ------------------
  ------------------
23099|  5.14k|        Token * a;
23100|  5.14k|        Token * b;
23101|  5.14k|        if (
23102|  5.14k|            (_loop0_27_var = _loop0_27_rule(p))  // param_no_default*
  ------------------
  |  Branch (23102:13): [True: 5.14k, False: 0]
  ------------------
23103|  5.14k|            &&
23104|  5.14k|            (a = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (23104:13): [True: 15, False: 5.13k]
  ------------------
23105|     15|            &&
23106|     15|            (_loop1_29_var = _loop1_29_rule(p))  // param_no_default+
  ------------------
  |  Branch (23106:13): [True: 4, False: 11]
  ------------------
23107|      4|            &&
23108|      4|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (23108:13): [True: 4, False: 0]
  ------------------
23109|      4|            &&
23110|      4|            (b = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (23110:13): [True: 1, False: 3]
  ------------------
23111|  5.14k|        )
23112|      1|        {
23113|      1|            D(fprintf(stderr, "%*c+ invalid_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default* '(' param_no_default+ ','? ')'"));
23114|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "Function parameters cannot be parenthesized" );
  ------------------
  |  |  211|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23115|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23115:18): [True: 1, False: 0]
  |  Branch (23115:34): [True: 0, False: 0]
  |  Branch (23115:57): [True: 1, False: 0]
  ------------------
23116|      1|                p->error_indicator = 1;
23117|      1|                p->level--;
23118|      1|                return NULL;
23119|      1|            }
23120|      0|            goto done;
23121|      1|        }
23122|  5.14k|        p->mark = _mark;
23123|  5.14k|        D(fprintf(stderr, "%*c%s invalid_parameters[%d-%d]: %s failed!\n", p->level, ' ',
23124|  5.14k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default* '(' param_no_default+ ','? ')'"));
23125|  5.14k|    }
23126|      0|    { // [(slash_no_default | slash_with_default)] param_maybe_default* '*' (',' | param_no_default) param_maybe_default* '/'
23127|  5.14k|        if (p->error_indicator) {
  ------------------
  |  Branch (23127:13): [True: 2, False: 5.14k]
  ------------------
23128|      2|            p->level--;
23129|      2|            return NULL;
23130|      2|        }
23131|  5.14k|        D(fprintf(stderr, "%*c> invalid_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "[(slash_no_default | slash_with_default)] param_maybe_default* '*' (',' | param_no_default) param_maybe_default* '/'"));
23132|  5.14k|        Token * _literal;
23133|  5.14k|        asdl_seq * _loop0_31_var;
23134|  5.14k|        asdl_seq * _loop0_31_var_1;
23135|  5.14k|        void *_opt_var;
23136|  5.14k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  5.14k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 5.14k]
  |  |  ------------------
  ------------------
23137|  5.14k|        void *_tmp_125_var;
23138|  5.14k|        Token * a;
23139|  5.14k|        if (
23140|  5.14k|            (_opt_var = _tmp_124_rule(p), !p->error_indicator)  // [(slash_no_default | slash_with_default)]
  ------------------
  |  Branch (23140:13): [True: 5.14k, False: 0]
  ------------------
23141|  5.14k|            &&
23142|  5.14k|            (_loop0_31_var = _loop0_31_rule(p))  // param_maybe_default*
  ------------------
  |  Branch (23142:13): [True: 5.14k, False: 0]
  ------------------
23143|  5.14k|            &&
23144|  5.14k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (23144:13): [True: 715, False: 4.42k]
  ------------------
23145|    715|            &&
23146|    715|            (_tmp_125_var = _tmp_125_rule(p))  // ',' | param_no_default
  ------------------
  |  Branch (23146:13): [True: 498, False: 217]
  ------------------
23147|    498|            &&
23148|    498|            (_loop0_31_var_1 = _loop0_31_rule(p))  // param_maybe_default*
  ------------------
  |  Branch (23148:13): [True: 498, False: 0]
  ------------------
23149|    498|            &&
23150|    498|            (a = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (23150:13): [True: 1, False: 497]
  ------------------
23151|  5.14k|        )
23152|      1|        {
23153|      1|            D(fprintf(stderr, "%*c+ invalid_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "[(slash_no_default | slash_with_default)] param_maybe_default* '*' (',' | param_no_default) param_maybe_default* '/'"));
23154|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "/ must be ahead of *" );
  ------------------
  |  |  213|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23155|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23155:18): [True: 1, False: 0]
  |  Branch (23155:34): [True: 0, False: 0]
  |  Branch (23155:57): [True: 1, False: 0]
  ------------------
23156|      1|                p->error_indicator = 1;
23157|      1|                p->level--;
23158|      1|                return NULL;
23159|      1|            }
23160|      0|            goto done;
23161|      1|        }
23162|  5.14k|        p->mark = _mark;
23163|  5.14k|        D(fprintf(stderr, "%*c%s invalid_parameters[%d-%d]: %s failed!\n", p->level, ' ',
23164|  5.14k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "[(slash_no_default | slash_with_default)] param_maybe_default* '*' (',' | param_no_default) param_maybe_default* '/'"));
23165|  5.14k|    }
23166|      0|    { // param_maybe_default+ '/' '*'
23167|  5.14k|        if (p->error_indicator) {
  ------------------
  |  Branch (23167:13): [True: 3, False: 5.13k]
  ------------------
23168|      3|            p->level--;
23169|      3|            return NULL;
23170|      3|        }
23171|  5.13k|        D(fprintf(stderr, "%*c> invalid_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_maybe_default+ '/' '*'"));
23172|  5.13k|        Token * _literal;
23173|  5.13k|        asdl_seq * _loop1_32_var;
23174|  5.13k|        Token * a;
23175|  5.13k|        if (
23176|  5.13k|            (_loop1_32_var = _loop1_32_rule(p))  // param_maybe_default+
  ------------------
  |  Branch (23176:13): [True: 2.40k, False: 2.73k]
  ------------------
23177|  2.40k|            &&
23178|  2.40k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (23178:13): [True: 532, False: 1.87k]
  ------------------
23179|    532|            &&
23180|    532|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (23180:13): [True: 2, False: 530]
  ------------------
23181|  5.13k|        )
23182|      2|        {
23183|      2|            D(fprintf(stderr, "%*c+ invalid_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_maybe_default+ '/' '*'"));
23184|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "expected comma between / and *" );
  ------------------
  |  |  213|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23185|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23185:18): [True: 2, False: 0]
  |  Branch (23185:34): [True: 0, False: 0]
  |  Branch (23185:57): [True: 2, False: 0]
  ------------------
23186|      2|                p->error_indicator = 1;
23187|      2|                p->level--;
23188|      2|                return NULL;
23189|      2|            }
23190|      0|            goto done;
23191|      2|        }
23192|  5.13k|        p->mark = _mark;
23193|  5.13k|        D(fprintf(stderr, "%*c%s invalid_parameters[%d-%d]: %s failed!\n", p->level, ' ',
23194|  5.13k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_maybe_default+ '/' '*'"));
23195|  5.13k|    }
23196|  5.13k|    _res = NULL;
23197|  5.13k|  done:
23198|  5.13k|    p->level--;
23199|  5.13k|    return _res;
23200|  5.13k|}
parser.c:_tmp_124_rule:
36364|  10.3k|{
36365|  10.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  20.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (36365:9): [True: 0, False: 10.3k]
  |  Branch (36365:35): [True: 0, False: 10.3k]
  ------------------
36366|      0|        _Pypegen_stack_overflow(p);
36367|      0|    }
36368|  10.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (36368:9): [True: 0, False: 10.3k]
  ------------------
36369|      0|        p->level--;
36370|      0|        return NULL;
36371|      0|    }
36372|  10.3k|    void * _res = NULL;
36373|  10.3k|    int _mark = p->mark;
36374|  10.3k|    { // slash_no_default
36375|  10.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (36375:13): [True: 0, False: 10.3k]
  ------------------
36376|      0|            p->level--;
36377|      0|            return NULL;
36378|      0|        }
36379|  10.3k|        D(fprintf(stderr, "%*c> _tmp_124[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "slash_no_default"));
36380|  10.3k|        asdl_arg_seq* slash_no_default_var;
36381|  10.3k|        if (
36382|  10.3k|            (slash_no_default_var = slash_no_default_rule(p))  // slash_no_default
  ------------------
  |  Branch (36382:13): [True: 693, False: 9.60k]
  ------------------
36383|  10.3k|        )
36384|    693|        {
36385|    693|            D(fprintf(stderr, "%*c+ _tmp_124[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "slash_no_default"));
36386|    693|            _res = slash_no_default_var;
36387|    693|            goto done;
36388|    693|        }
36389|  9.60k|        p->mark = _mark;
36390|  9.60k|        D(fprintf(stderr, "%*c%s _tmp_124[%d-%d]: %s failed!\n", p->level, ' ',
36391|  9.60k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "slash_no_default"));
36392|  9.60k|    }
36393|      0|    { // slash_with_default
36394|  9.60k|        if (p->error_indicator) {
  ------------------
  |  Branch (36394:13): [True: 1, False: 9.60k]
  ------------------
36395|      1|            p->level--;
36396|      1|            return NULL;
36397|      1|        }
36398|  9.60k|        D(fprintf(stderr, "%*c> _tmp_124[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "slash_with_default"));
36399|  9.60k|        SlashWithDefault* slash_with_default_var;
36400|  9.60k|        if (
36401|  9.60k|            (slash_with_default_var = slash_with_default_rule(p))  // slash_with_default
  ------------------
  |  Branch (36401:13): [True: 359, False: 9.24k]
  ------------------
36402|  9.60k|        )
36403|    359|        {
36404|    359|            D(fprintf(stderr, "%*c+ _tmp_124[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "slash_with_default"));
36405|    359|            _res = slash_with_default_var;
36406|    359|            goto done;
36407|    359|        }
36408|  9.24k|        p->mark = _mark;
36409|  9.24k|        D(fprintf(stderr, "%*c%s _tmp_124[%d-%d]: %s failed!\n", p->level, ' ',
36410|  9.24k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "slash_with_default"));
36411|  9.24k|    }
36412|  9.24k|    _res = NULL;
36413|  10.3k|  done:
36414|  10.3k|    p->level--;
36415|  10.3k|    return _res;
36416|  9.24k|}
parser.c:slash_with_default_rule:
 5141|  31.6k|{
 5142|  31.6k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  63.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5142:9): [True: 0, False: 31.6k]
  |  Branch (5142:35): [True: 0, False: 31.6k]
  ------------------
 5143|      0|        _Pypegen_stack_overflow(p);
 5144|      0|    }
 5145|  31.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (5145:9): [True: 0, False: 31.6k]
  ------------------
 5146|      0|        p->level--;
 5147|      0|        return NULL;
 5148|      0|    }
 5149|  31.6k|    SlashWithDefault* _res = NULL;
 5150|  31.6k|    int _mark = p->mark;
 5151|  31.6k|    { // param_no_default* param_with_default+ '/' ','
 5152|  31.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (5152:13): [True: 0, False: 31.6k]
  ------------------
 5153|      0|            p->level--;
 5154|      0|            return NULL;
 5155|      0|        }
 5156|  31.6k|        D(fprintf(stderr, "%*c> slash_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default* param_with_default+ '/' ','"));
 5157|  31.6k|        Token * _literal;
 5158|  31.6k|        Token * _literal_1;
 5159|  31.6k|        asdl_seq * a;
 5160|  31.6k|        asdl_seq * b;
 5161|  31.6k|        if (
 5162|  31.6k|            (a = _loop0_27_rule(p))  // param_no_default*
  ------------------
  |  Branch (5162:13): [True: 31.6k, False: 0]
  ------------------
 5163|  31.6k|            &&
 5164|  31.6k|            (b = _loop1_30_rule(p))  // param_with_default+
  ------------------
  |  Branch (5164:13): [True: 1.88k, False: 29.7k]
  ------------------
 5165|  1.88k|            &&
 5166|  1.88k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (5166:13): [True: 1.06k, False: 814]
  ------------------
 5167|  1.06k|            &&
 5168|  1.06k|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5168:13): [True: 48, False: 1.01k]
  ------------------
 5169|  31.6k|        )
 5170|     48|        {
 5171|     48|            D(fprintf(stderr, "%*c+ slash_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default* param_with_default+ '/' ','"));
 5172|     48|            _res = _PyPegen_slash_with_default ( p , ( asdl_arg_seq* ) a , b );
 5173|     48|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5173:18): [True: 0, False: 48]
  |  Branch (5173:34): [True: 0, False: 48]
  |  Branch (5173:57): [True: 0, False: 0]
  ------------------
 5174|      0|                p->error_indicator = 1;
 5175|      0|                p->level--;
 5176|      0|                return NULL;
 5177|      0|            }
 5178|     48|            goto done;
 5179|     48|        }
 5180|  31.6k|        p->mark = _mark;
 5181|  31.6k|        D(fprintf(stderr, "%*c%s slash_with_default[%d-%d]: %s failed!\n", p->level, ' ',
 5182|  31.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default* param_with_default+ '/' ','"));
 5183|  31.6k|    }
 5184|      0|    { // param_no_default* param_with_default+ '/' &')'
 5185|  31.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (5185:13): [True: 15, False: 31.5k]
  ------------------
 5186|     15|            p->level--;
 5187|     15|            return NULL;
 5188|     15|        }
 5189|  31.5k|        D(fprintf(stderr, "%*c> slash_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default* param_with_default+ '/' &')'"));
 5190|  31.5k|        Token * _literal;
 5191|  31.5k|        asdl_seq * a;
 5192|  31.5k|        asdl_seq * b;
 5193|  31.5k|        if (
 5194|  31.5k|            (a = _loop0_27_rule(p))  // param_no_default*
  ------------------
  |  Branch (5194:13): [True: 31.5k, False: 0]
  ------------------
 5195|  31.5k|            &&
 5196|  31.5k|            (b = _loop1_30_rule(p))  // param_with_default+
  ------------------
  |  Branch (5196:13): [True: 1.83k, False: 29.7k]
  ------------------
 5197|  1.83k|            &&
 5198|  1.83k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (5198:13): [True: 1.01k, False: 814]
  ------------------
 5199|  1.01k|            &&
 5200|  1.01k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (5200:13): [True: 1.00k, False: 17]
  ------------------
 5201|  31.5k|        )
 5202|  1.00k|        {
 5203|  1.00k|            D(fprintf(stderr, "%*c+ slash_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default* param_with_default+ '/' &')'"));
 5204|  1.00k|            _res = _PyPegen_slash_with_default ( p , ( asdl_arg_seq* ) a , b );
 5205|  1.00k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5205:18): [True: 0, False: 1.00k]
  |  Branch (5205:34): [True: 0, False: 1.00k]
  |  Branch (5205:57): [True: 0, False: 0]
  ------------------
 5206|      0|                p->error_indicator = 1;
 5207|      0|                p->level--;
 5208|      0|                return NULL;
 5209|      0|            }
 5210|  1.00k|            goto done;
 5211|  1.00k|        }
 5212|  30.5k|        p->mark = _mark;
 5213|  30.5k|        D(fprintf(stderr, "%*c%s slash_with_default[%d-%d]: %s failed!\n", p->level, ' ',
 5214|  30.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default* param_with_default+ '/' &')'"));
 5215|  30.5k|    }
 5216|  30.5k|    _res = NULL;
 5217|  31.6k|  done:
 5218|  31.6k|    p->level--;
 5219|  31.6k|    return _res;
 5220|  30.5k|}
parser.c:_loop1_30_rule:
30413|  79.3k|{
30414|  79.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   158k|#  define MAXSTACK 6000
  ------------------
  |  Branch (30414:9): [True: 0, False: 79.3k]
  |  Branch (30414:35): [True: 0, False: 79.3k]
  ------------------
30415|      0|        _Pypegen_stack_overflow(p);
30416|      0|    }
30417|  79.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (30417:9): [True: 0, False: 79.3k]
  ------------------
30418|      0|        p->level--;
30419|      0|        return NULL;
30420|      0|    }
30421|  79.3k|    void *_res = NULL;
30422|  79.3k|    int _mark = p->mark;
30423|  79.3k|    void **_children = PyMem_Malloc(sizeof(void *));
30424|  79.3k|    if (!_children) {
  ------------------
  |  Branch (30424:9): [True: 0, False: 79.3k]
  ------------------
30425|      0|        p->error_indicator = 1;
30426|      0|        PyErr_NoMemory();
30427|      0|        p->level--;
30428|      0|        return NULL;
30429|      0|    }
30430|  79.3k|    Py_ssize_t _children_capacity = 1;
30431|  79.3k|    Py_ssize_t _n = 0;
30432|  79.3k|    { // param_with_default
30433|  79.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (30433:13): [True: 0, False: 79.3k]
  ------------------
30434|      0|            p->level--;
30435|      0|            return NULL;
30436|      0|        }
30437|  79.3k|        D(fprintf(stderr, "%*c> _loop1_30[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_with_default"));
30438|  79.3k|        NameDefaultPair* param_with_default_var;
30439|  79.3k|        while (
30440|  84.9k|            (param_with_default_var = param_with_default_rule(p))  // param_with_default
  ------------------
  |  Branch (30440:13): [True: 5.64k, False: 79.3k]
  ------------------
30441|  79.3k|        )
30442|  5.64k|        {
30443|  5.64k|            _res = param_with_default_var;
30444|  5.64k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30444:17): [True: 1.06k, False: 4.58k]
  ------------------
30445|  1.06k|                _children_capacity *= 2;
30446|  1.06k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30447|  1.06k|                if (!_new_children) {
  ------------------
  |  Branch (30447:21): [True: 0, False: 1.06k]
  ------------------
30448|      0|                    PyMem_Free(_children);
30449|      0|                    p->error_indicator = 1;
30450|      0|                    PyErr_NoMemory();
30451|      0|                    p->level--;
30452|      0|                    return NULL;
30453|      0|                }
30454|  1.06k|                _children = _new_children;
30455|  1.06k|            }
30456|  5.64k|            _children[_n++] = _res;
30457|  5.64k|            _mark = p->mark;
30458|  5.64k|        }
30459|  79.3k|        p->mark = _mark;
30460|  79.3k|        D(fprintf(stderr, "%*c%s _loop1_30[%d-%d]: %s failed!\n", p->level, ' ',
30461|  79.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_with_default"));
30462|  79.3k|    }
30463|  79.3k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (30463:9): [True: 75.1k, False: 4.15k]
  |  Branch (30463:20): [True: 4, False: 4.14k]
  ------------------
30464|  75.1k|        PyMem_Free(_children);
30465|  75.1k|        p->level--;
30466|  75.1k|        return NULL;
30467|  75.1k|    }
30468|  4.14k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30469|  4.14k|    if (!_seq) {
  ------------------
  |  Branch (30469:9): [True: 0, False: 4.14k]
  ------------------
30470|      0|        PyMem_Free(_children);
30471|      0|        p->error_indicator = 1;
30472|      0|        PyErr_NoMemory();
30473|      0|        p->level--;
30474|      0|        return NULL;
30475|      0|    }
30476|  9.78k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  5.63k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  9.78k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30476:28): [True: 5.63k, False: 4.14k]
  ------------------
30477|  4.14k|    PyMem_Free(_children);
30478|  4.14k|    p->level--;
30479|  4.14k|    return _seq;
30480|  4.14k|}
parser.c:param_with_default_rule:
 5614|  91.4k|{
 5615|  91.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   182k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5615:9): [True: 0, False: 91.4k]
  |  Branch (5615:35): [True: 0, False: 91.4k]
  ------------------
 5616|      0|        _Pypegen_stack_overflow(p);
 5617|      0|    }
 5618|  91.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (5618:9): [True: 0, False: 91.4k]
  ------------------
 5619|      0|        p->level--;
 5620|      0|        return NULL;
 5621|      0|    }
 5622|  91.4k|    NameDefaultPair* _res = NULL;
 5623|  91.4k|    int _mark = p->mark;
 5624|  91.4k|    { // param default ',' TYPE_COMMENT?
 5625|  91.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (5625:13): [True: 0, False: 91.4k]
  ------------------
 5626|      0|            p->level--;
 5627|      0|            return NULL;
 5628|      0|        }
 5629|  91.4k|        D(fprintf(stderr, "%*c> param_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param default ',' TYPE_COMMENT?"));
 5630|  91.4k|        Token * _literal;
 5631|  91.4k|        arg_ty a;
 5632|  91.4k|        expr_ty c;
 5633|  91.4k|        void *tc;
 5634|  91.4k|        if (
 5635|  91.4k|            (a = param_rule(p))  // param
  ------------------
  |  Branch (5635:13): [True: 6.59k, False: 84.8k]
  ------------------
 5636|  6.59k|            &&
 5637|  6.59k|            (c = default_rule(p))  // default
  ------------------
  |  Branch (5637:13): [True: 5.90k, False: 695]
  ------------------
 5638|  5.90k|            &&
 5639|  5.90k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5639:13): [True: 4.06k, False: 1.83k]
  ------------------
 5640|  4.06k|            &&
 5641|  4.06k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  4.06k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5641:13): [True: 4.06k, False: 2]
  ------------------
 5642|  91.4k|        )
 5643|  4.06k|        {
 5644|  4.06k|            D(fprintf(stderr, "%*c+ param_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param default ',' TYPE_COMMENT?"));
 5645|  4.06k|            _res = _PyPegen_name_default_pair ( p , a , c , tc );
 5646|  4.06k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5646:18): [True: 1, False: 4.06k]
  |  Branch (5646:34): [True: 0, False: 4.06k]
  |  Branch (5646:57): [True: 1, False: 0]
  ------------------
 5647|      1|                p->error_indicator = 1;
 5648|      1|                p->level--;
 5649|      1|                return NULL;
 5650|      1|            }
 5651|  4.06k|            goto done;
 5652|  4.06k|        }
 5653|  87.3k|        p->mark = _mark;
 5654|  87.3k|        D(fprintf(stderr, "%*c%s param_with_default[%d-%d]: %s failed!\n", p->level, ' ',
 5655|  87.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param default ',' TYPE_COMMENT?"));
 5656|  87.3k|    }
 5657|      0|    { // param default TYPE_COMMENT? &')'
 5658|  87.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (5658:13): [True: 12, False: 87.3k]
  ------------------
 5659|     12|            p->level--;
 5660|     12|            return NULL;
 5661|     12|        }
 5662|  87.3k|        D(fprintf(stderr, "%*c> param_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param default TYPE_COMMENT? &')'"));
 5663|  87.3k|        arg_ty a;
 5664|  87.3k|        expr_ty c;
 5665|  87.3k|        void *tc;
 5666|  87.3k|        if (
 5667|  87.3k|            (a = param_rule(p))  // param
  ------------------
  |  Branch (5667:13): [True: 2.52k, False: 84.8k]
  ------------------
 5668|  2.52k|            &&
 5669|  2.52k|            (c = default_rule(p))  // default
  ------------------
  |  Branch (5669:13): [True: 1.83k, False: 687]
  ------------------
 5670|  1.83k|            &&
 5671|  1.83k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  1.83k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5671:13): [True: 1.83k, False: 0]
  ------------------
 5672|  1.83k|            &&
 5673|  1.83k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (5673:13): [True: 1.70k, False: 126]
  ------------------
 5674|  87.3k|        )
 5675|  1.70k|        {
 5676|  1.70k|            D(fprintf(stderr, "%*c+ param_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param default TYPE_COMMENT? &')'"));
 5677|  1.70k|            _res = _PyPegen_name_default_pair ( p , a , c , tc );
 5678|  1.70k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5678:18): [True: 2, False: 1.70k]
  |  Branch (5678:34): [True: 0, False: 1.70k]
  |  Branch (5678:57): [True: 2, False: 0]
  ------------------
 5679|      2|                p->error_indicator = 1;
 5680|      2|                p->level--;
 5681|      2|                return NULL;
 5682|      2|            }
 5683|  1.70k|            goto done;
 5684|  1.70k|        }
 5685|  85.6k|        p->mark = _mark;
 5686|  85.6k|        D(fprintf(stderr, "%*c%s param_with_default[%d-%d]: %s failed!\n", p->level, ' ',
 5687|  85.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param default TYPE_COMMENT? &')'"));
 5688|  85.6k|    }
 5689|  85.6k|    _res = NULL;
 5690|  91.4k|  done:
 5691|  91.4k|    p->level--;
 5692|  91.4k|    return _res;
 5693|  85.6k|}
parser.c:param_rule:
 5784|   651k|{
 5785|   651k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.30M|#  define MAXSTACK 6000
  ------------------
  |  Branch (5785:9): [True: 0, False: 651k]
  |  Branch (5785:35): [True: 0, False: 651k]
  ------------------
 5786|      0|        _Pypegen_stack_overflow(p);
 5787|      0|    }
 5788|   651k|    if (p->error_indicator) {
  ------------------
  |  Branch (5788:9): [True: 0, False: 651k]
  ------------------
 5789|      0|        p->level--;
 5790|      0|        return NULL;
 5791|      0|    }
 5792|   651k|    arg_ty _res = NULL;
 5793|   651k|    int _mark = p->mark;
 5794|   651k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (5794:9): [True: 15.2k, False: 635k]
  |  Branch (5794:31): [True: 9, False: 15.2k]
  ------------------
 5795|      9|        p->error_indicator = 1;
 5796|      9|        p->level--;
 5797|      9|        return NULL;
 5798|      9|    }
 5799|   651k|    int _start_lineno = p->tokens[_mark]->lineno;
 5800|   651k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   651k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 651k]
  |  |  ------------------
  ------------------
 5801|   651k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 5802|   651k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   651k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 651k]
  |  |  ------------------
  ------------------
 5803|   651k|    { // NAME annotation?
 5804|   651k|        if (p->error_indicator) {
  ------------------
  |  Branch (5804:13): [True: 0, False: 651k]
  ------------------
 5805|      0|            p->level--;
 5806|      0|            return NULL;
 5807|      0|        }
 5808|   651k|        D(fprintf(stderr, "%*c> param[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME annotation?"));
 5809|   651k|        expr_ty a;
 5810|   651k|        void *b;
 5811|   651k|        if (
 5812|   651k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (5812:13): [True: 159k, False: 491k]
  ------------------
 5813|   159k|            &&
 5814|   159k|            (b = annotation_rule(p), !p->error_indicator)  // annotation?
  ------------------
  |  Branch (5814:13): [True: 159k, False: 21]
  ------------------
 5815|   651k|        )
 5816|   159k|        {
 5817|   159k|            D(fprintf(stderr, "%*c+ param[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME annotation?"));
 5818|   159k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 5819|   159k|            if (_token == NULL) {
  ------------------
  |  Branch (5819:17): [True: 0, False: 159k]
  ------------------
 5820|      0|                p->level--;
 5821|      0|                return NULL;
 5822|      0|            }
 5823|   159k|            int _end_lineno = _token->end_lineno;
 5824|   159k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   159k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 159k]
  |  |  ------------------
  ------------------
 5825|   159k|            int _end_col_offset = _token->end_col_offset;
 5826|   159k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   159k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 159k]
  |  |  ------------------
  ------------------
 5827|   159k|            _res = _PyAST_arg ( a -> v . Name . id , b , NULL , EXTRA );
  ------------------
  |  |  281|   159k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 5828|   159k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5828:18): [True: 0, False: 159k]
  |  Branch (5828:34): [True: 0, False: 159k]
  |  Branch (5828:57): [True: 0, False: 0]
  ------------------
 5829|      0|                p->error_indicator = 1;
 5830|      0|                p->level--;
 5831|      0|                return NULL;
 5832|      0|            }
 5833|   159k|            goto done;
 5834|   159k|        }
 5835|   491k|        p->mark = _mark;
 5836|   491k|        D(fprintf(stderr, "%*c%s param[%d-%d]: %s failed!\n", p->level, ' ',
 5837|   491k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME annotation?"));
 5838|   491k|    }
 5839|   491k|    _res = NULL;
 5840|   651k|  done:
 5841|   651k|    p->level--;
 5842|   651k|    return _res;
 5843|   491k|}
parser.c:annotation_rule:
 5912|   159k|{
 5913|   159k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   319k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5913:9): [True: 0, False: 159k]
  |  Branch (5913:35): [True: 0, False: 159k]
  ------------------
 5914|      0|        _Pypegen_stack_overflow(p);
 5915|      0|    }
 5916|   159k|    if (p->error_indicator) {
  ------------------
  |  Branch (5916:9): [True: 0, False: 159k]
  ------------------
 5917|      0|        p->level--;
 5918|      0|        return NULL;
 5919|      0|    }
 5920|   159k|    expr_ty _res = NULL;
 5921|   159k|    int _mark = p->mark;
 5922|   159k|    { // ':' expression
 5923|   159k|        if (p->error_indicator) {
  ------------------
  |  Branch (5923:13): [True: 0, False: 159k]
  ------------------
 5924|      0|            p->level--;
 5925|      0|            return NULL;
 5926|      0|        }
 5927|   159k|        D(fprintf(stderr, "%*c> annotation[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':' expression"));
 5928|   159k|        Token * _literal;
 5929|   159k|        expr_ty a;
 5930|   159k|        if (
 5931|   159k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (5931:13): [True: 25.2k, False: 134k]
  ------------------
 5932|  25.2k|            &&
 5933|  25.2k|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (5933:13): [True: 22.6k, False: 2.59k]
  ------------------
 5934|   159k|        )
 5935|  22.6k|        {
 5936|  22.6k|            D(fprintf(stderr, "%*c+ annotation[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':' expression"));
 5937|  22.6k|            _res = a;
 5938|  22.6k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5938:18): [True: 0, False: 22.6k]
  |  Branch (5938:34): [True: 0, False: 22.6k]
  |  Branch (5938:57): [True: 0, False: 0]
  ------------------
 5939|      0|                p->error_indicator = 1;
 5940|      0|                p->level--;
 5941|      0|                return NULL;
 5942|      0|            }
 5943|  22.6k|            goto done;
 5944|  22.6k|        }
 5945|   137k|        p->mark = _mark;
 5946|   137k|        D(fprintf(stderr, "%*c%s annotation[%d-%d]: %s failed!\n", p->level, ' ',
 5947|   137k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':' expression"));
 5948|   137k|    }
 5949|   137k|    _res = NULL;
 5950|   159k|  done:
 5951|   159k|    p->level--;
 5952|   159k|    return _res;
 5953|   137k|}
parser.c:_loop0_31_rule:
30485|  7.95k|{
30486|  7.95k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  15.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (30486:9): [True: 0, False: 7.95k]
  |  Branch (30486:35): [True: 0, False: 7.95k]
  ------------------
30487|      0|        _Pypegen_stack_overflow(p);
30488|      0|    }
30489|  7.95k|    if (p->error_indicator) {
  ------------------
  |  Branch (30489:9): [True: 0, False: 7.95k]
  ------------------
30490|      0|        p->level--;
30491|      0|        return NULL;
30492|      0|    }
30493|  7.95k|    void *_res = NULL;
30494|  7.95k|    int _mark = p->mark;
30495|  7.95k|    void **_children = PyMem_Malloc(sizeof(void *));
30496|  7.95k|    if (!_children) {
  ------------------
  |  Branch (30496:9): [True: 0, False: 7.95k]
  ------------------
30497|      0|        p->error_indicator = 1;
30498|      0|        PyErr_NoMemory();
30499|      0|        p->level--;
30500|      0|        return NULL;
30501|      0|    }
30502|  7.95k|    Py_ssize_t _children_capacity = 1;
30503|  7.95k|    Py_ssize_t _n = 0;
30504|  7.95k|    { // param_maybe_default
30505|  7.95k|        if (p->error_indicator) {
  ------------------
  |  Branch (30505:13): [True: 0, False: 7.95k]
  ------------------
30506|      0|            p->level--;
30507|      0|            return NULL;
30508|      0|        }
30509|  7.95k|        D(fprintf(stderr, "%*c> _loop0_31[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_maybe_default"));
30510|  7.95k|        NameDefaultPair* param_maybe_default_var;
30511|  7.95k|        while (
30512|  13.7k|            (param_maybe_default_var = param_maybe_default_rule(p))  // param_maybe_default
  ------------------
  |  Branch (30512:13): [True: 5.79k, False: 7.95k]
  ------------------
30513|  7.95k|        )
30514|  5.79k|        {
30515|  5.79k|            _res = param_maybe_default_var;
30516|  5.79k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30516:17): [True: 789, False: 5.00k]
  ------------------
30517|    789|                _children_capacity *= 2;
30518|    789|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30519|    789|                if (!_new_children) {
  ------------------
  |  Branch (30519:21): [True: 0, False: 789]
  ------------------
30520|      0|                    PyMem_Free(_children);
30521|      0|                    p->error_indicator = 1;
30522|      0|                    PyErr_NoMemory();
30523|      0|                    p->level--;
30524|      0|                    return NULL;
30525|      0|                }
30526|    789|                _children = _new_children;
30527|    789|            }
30528|  5.79k|            _children[_n++] = _res;
30529|  5.79k|            _mark = p->mark;
30530|  5.79k|        }
30531|  7.95k|        p->mark = _mark;
30532|  7.95k|        D(fprintf(stderr, "%*c%s _loop0_31[%d-%d]: %s failed!\n", p->level, ' ',
30533|  7.95k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_maybe_default"));
30534|  7.95k|    }
30535|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30536|  7.95k|    if (!_seq) {
  ------------------
  |  Branch (30536:9): [True: 0, False: 7.95k]
  ------------------
30537|      0|        PyMem_Free(_children);
30538|      0|        p->error_indicator = 1;
30539|      0|        PyErr_NoMemory();
30540|      0|        p->level--;
30541|      0|        return NULL;
30542|      0|    }
30543|  13.7k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  5.79k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  13.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30543:28): [True: 5.79k, False: 7.95k]
  ------------------
30544|  7.95k|    PyMem_Free(_children);
30545|  7.95k|    p->level--;
30546|  7.95k|    return _seq;
30547|  7.95k|}
parser.c:param_maybe_default_rule:
 5700|  22.4k|{
 5701|  22.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  44.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5701:9): [True: 0, False: 22.4k]
  |  Branch (5701:35): [True: 0, False: 22.4k]
  ------------------
 5702|      0|        _Pypegen_stack_overflow(p);
 5703|      0|    }
 5704|  22.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (5704:9): [True: 0, False: 22.4k]
  ------------------
 5705|      0|        p->level--;
 5706|      0|        return NULL;
 5707|      0|    }
 5708|  22.4k|    NameDefaultPair* _res = NULL;
 5709|  22.4k|    int _mark = p->mark;
 5710|  22.4k|    { // param default? ',' TYPE_COMMENT?
 5711|  22.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (5711:13): [True: 0, False: 22.4k]
  ------------------
 5712|      0|            p->level--;
 5713|      0|            return NULL;
 5714|      0|        }
 5715|  22.4k|        D(fprintf(stderr, "%*c> param_maybe_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param default? ',' TYPE_COMMENT?"));
 5716|  22.4k|        Token * _literal;
 5717|  22.4k|        arg_ty a;
 5718|  22.4k|        void *c;
 5719|  22.4k|        void *tc;
 5720|  22.4k|        if (
 5721|  22.4k|            (a = param_rule(p))  // param
  ------------------
  |  Branch (5721:13): [True: 9.36k, False: 13.1k]
  ------------------
 5722|  9.36k|            &&
 5723|  9.36k|            (c = default_rule(p), !p->error_indicator)  // default?
  ------------------
  |  Branch (5723:13): [True: 9.36k, False: 3]
  ------------------
 5724|  9.36k|            &&
 5725|  9.36k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5725:13): [True: 4.61k, False: 4.74k]
  ------------------
 5726|  4.61k|            &&
 5727|  4.61k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  4.61k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5727:13): [True: 4.61k, False: 2]
  ------------------
 5728|  22.4k|        )
 5729|  4.61k|        {
 5730|  4.61k|            D(fprintf(stderr, "%*c+ param_maybe_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param default? ',' TYPE_COMMENT?"));
 5731|  4.61k|            _res = _PyPegen_name_default_pair ( p , a , c , tc );
 5732|  4.61k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5732:18): [True: 0, False: 4.61k]
  |  Branch (5732:34): [True: 0, False: 4.61k]
  |  Branch (5732:57): [True: 0, False: 0]
  ------------------
 5733|      0|                p->error_indicator = 1;
 5734|      0|                p->level--;
 5735|      0|                return NULL;
 5736|      0|            }
 5737|  4.61k|            goto done;
 5738|  4.61k|        }
 5739|  17.8k|        p->mark = _mark;
 5740|  17.8k|        D(fprintf(stderr, "%*c%s param_maybe_default[%d-%d]: %s failed!\n", p->level, ' ',
 5741|  17.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param default? ',' TYPE_COMMENT?"));
 5742|  17.8k|    }
 5743|      0|    { // param default? TYPE_COMMENT? &')'
 5744|  17.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (5744:13): [True: 8, False: 17.8k]
  ------------------
 5745|      8|            p->level--;
 5746|      8|            return NULL;
 5747|      8|        }
 5748|  17.8k|        D(fprintf(stderr, "%*c> param_maybe_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param default? TYPE_COMMENT? &')'"));
 5749|  17.8k|        arg_ty a;
 5750|  17.8k|        void *c;
 5751|  17.8k|        void *tc;
 5752|  17.8k|        if (
 5753|  17.8k|            (a = param_rule(p))  // param
  ------------------
  |  Branch (5753:13): [True: 4.74k, False: 13.1k]
  ------------------
 5754|  4.74k|            &&
 5755|  4.74k|            (c = default_rule(p), !p->error_indicator)  // default?
  ------------------
  |  Branch (5755:13): [True: 4.74k, False: 0]
  ------------------
 5756|  4.74k|            &&
 5757|  4.74k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  4.74k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5757:13): [True: 4.74k, False: 0]
  ------------------
 5758|  4.74k|            &&
 5759|  4.74k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (5759:13): [True: 4.55k, False: 188]
  ------------------
 5760|  17.8k|        )
 5761|  4.55k|        {
 5762|  4.55k|            D(fprintf(stderr, "%*c+ param_maybe_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param default? TYPE_COMMENT? &')'"));
 5763|  4.55k|            _res = _PyPegen_name_default_pair ( p , a , c , tc );
 5764|  4.55k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5764:18): [True: 0, False: 4.55k]
  |  Branch (5764:34): [True: 0, False: 4.55k]
  |  Branch (5764:57): [True: 0, False: 0]
  ------------------
 5765|      0|                p->error_indicator = 1;
 5766|      0|                p->level--;
 5767|      0|                return NULL;
 5768|      0|            }
 5769|  4.55k|            goto done;
 5770|  4.55k|        }
 5771|  13.3k|        p->mark = _mark;
 5772|  13.3k|        D(fprintf(stderr, "%*c%s param_maybe_default[%d-%d]: %s failed!\n", p->level, ' ',
 5773|  13.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param default? TYPE_COMMENT? &')'"));
 5774|  13.3k|    }
 5775|  13.3k|    _res = NULL;
 5776|  22.4k|  done:
 5777|  22.4k|    p->level--;
 5778|  22.4k|    return _res;
 5779|  13.3k|}
parser.c:slash_no_default_rule:
 5061|  32.9k|{
 5062|  32.9k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  65.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5062:9): [True: 0, False: 32.9k]
  |  Branch (5062:35): [True: 0, False: 32.9k]
  ------------------
 5063|      0|        _Pypegen_stack_overflow(p);
 5064|      0|    }
 5065|  32.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (5065:9): [True: 0, False: 32.9k]
  ------------------
 5066|      0|        p->level--;
 5067|      0|        return NULL;
 5068|      0|    }
 5069|  32.9k|    asdl_arg_seq* _res = NULL;
 5070|  32.9k|    int _mark = p->mark;
 5071|  32.9k|    { // param_no_default+ '/' ','
 5072|  32.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (5072:13): [True: 0, False: 32.9k]
  ------------------
 5073|      0|            p->level--;
 5074|      0|            return NULL;
 5075|      0|        }
 5076|  32.9k|        D(fprintf(stderr, "%*c> slash_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default+ '/' ','"));
 5077|  32.9k|        Token * _literal;
 5078|  32.9k|        Token * _literal_1;
 5079|  32.9k|        asdl_arg_seq* a;
 5080|  32.9k|        if (
 5081|  32.9k|            (a = (asdl_arg_seq*)_loop1_29_rule(p))  // param_no_default+
  ------------------
  |  Branch (5081:13): [True: 12.6k, False: 20.3k]
  ------------------
 5082|  12.6k|            &&
 5083|  12.6k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (5083:13): [True: 1.65k, False: 10.9k]
  ------------------
 5084|  1.65k|            &&
 5085|  1.65k|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5085:13): [True: 45, False: 1.60k]
  ------------------
 5086|  32.9k|        )
 5087|     45|        {
 5088|     45|            D(fprintf(stderr, "%*c+ slash_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default+ '/' ','"));
 5089|     45|            _res = a;
 5090|     45|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5090:18): [True: 0, False: 45]
  |  Branch (5090:34): [True: 0, False: 45]
  |  Branch (5090:57): [True: 0, False: 0]
  ------------------
 5091|      0|                p->error_indicator = 1;
 5092|      0|                p->level--;
 5093|      0|                return NULL;
 5094|      0|            }
 5095|     45|            goto done;
 5096|     45|        }
 5097|  32.9k|        p->mark = _mark;
 5098|  32.9k|        D(fprintf(stderr, "%*c%s slash_no_default[%d-%d]: %s failed!\n", p->level, ' ',
 5099|  32.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default+ '/' ','"));
 5100|  32.9k|    }
 5101|      0|    { // param_no_default+ '/' &')'
 5102|  32.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (5102:13): [True: 12, False: 32.8k]
  ------------------
 5103|     12|            p->level--;
 5104|     12|            return NULL;
 5105|     12|        }
 5106|  32.8k|        D(fprintf(stderr, "%*c> slash_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default+ '/' &')'"));
 5107|  32.8k|        Token * _literal;
 5108|  32.8k|        asdl_arg_seq* a;
 5109|  32.8k|        if (
 5110|  32.8k|            (a = (asdl_arg_seq*)_loop1_29_rule(p))  // param_no_default+
  ------------------
  |  Branch (5110:13): [True: 12.5k, False: 20.3k]
  ------------------
 5111|  12.5k|            &&
 5112|  12.5k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (5112:13): [True: 1.60k, False: 10.9k]
  ------------------
 5113|  1.60k|            &&
 5114|  1.60k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (5114:13): [True: 1.59k, False: 17]
  ------------------
 5115|  32.8k|        )
 5116|  1.59k|        {
 5117|  1.59k|            D(fprintf(stderr, "%*c+ slash_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default+ '/' &')'"));
 5118|  1.59k|            _res = a;
 5119|  1.59k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5119:18): [True: 0, False: 1.59k]
  |  Branch (5119:34): [True: 0, False: 1.59k]
  |  Branch (5119:57): [True: 0, False: 0]
  ------------------
 5120|      0|                p->error_indicator = 1;
 5121|      0|                p->level--;
 5122|      0|                return NULL;
 5123|      0|            }
 5124|  1.59k|            goto done;
 5125|  1.59k|        }
 5126|  31.3k|        p->mark = _mark;
 5127|  31.3k|        D(fprintf(stderr, "%*c%s slash_no_default[%d-%d]: %s failed!\n", p->level, ' ',
 5128|  31.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default+ '/' &')'"));
 5129|  31.3k|    }
 5130|  31.3k|    _res = NULL;
 5131|  32.9k|  done:
 5132|  32.9k|    p->level--;
 5133|  32.9k|    return _res;
 5134|  31.3k|}
parser.c:_loop0_27_rule:
30207|  74.1k|{
30208|  74.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   148k|#  define MAXSTACK 6000
  ------------------
  |  Branch (30208:9): [True: 0, False: 74.1k]
  |  Branch (30208:35): [True: 0, False: 74.1k]
  ------------------
30209|      0|        _Pypegen_stack_overflow(p);
30210|      0|    }
30211|  74.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (30211:9): [True: 0, False: 74.1k]
  ------------------
30212|      0|        p->level--;
30213|      0|        return NULL;
30214|      0|    }
30215|  74.1k|    void *_res = NULL;
30216|  74.1k|    int _mark = p->mark;
30217|  74.1k|    void **_children = PyMem_Malloc(sizeof(void *));
30218|  74.1k|    if (!_children) {
  ------------------
  |  Branch (30218:9): [True: 0, False: 74.1k]
  ------------------
30219|      0|        p->error_indicator = 1;
30220|      0|        PyErr_NoMemory();
30221|      0|        p->level--;
30222|      0|        return NULL;
30223|      0|    }
30224|  74.1k|    Py_ssize_t _children_capacity = 1;
30225|  74.1k|    Py_ssize_t _n = 0;
30226|  74.1k|    { // param_no_default
30227|  74.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (30227:13): [True: 0, False: 74.1k]
  ------------------
30228|      0|            p->level--;
30229|      0|            return NULL;
30230|      0|        }
30231|  74.1k|        D(fprintf(stderr, "%*c> _loop0_27[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default"));
30232|  74.1k|        arg_ty param_no_default_var;
30233|  74.1k|        while (
30234|   101k|            (param_no_default_var = param_no_default_rule(p))  // param_no_default
  ------------------
  |  Branch (30234:13): [True: 27.1k, False: 74.1k]
  ------------------
30235|  74.1k|        )
30236|  27.1k|        {
30237|  27.1k|            _res = param_no_default_var;
30238|  27.1k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30238:17): [True: 4.18k, False: 22.9k]
  ------------------
30239|  4.18k|                _children_capacity *= 2;
30240|  4.18k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30241|  4.18k|                if (!_new_children) {
  ------------------
  |  Branch (30241:21): [True: 0, False: 4.18k]
  ------------------
30242|      0|                    PyMem_Free(_children);
30243|      0|                    p->error_indicator = 1;
30244|      0|                    PyErr_NoMemory();
30245|      0|                    p->level--;
30246|      0|                    return NULL;
30247|      0|                }
30248|  4.18k|                _children = _new_children;
30249|  4.18k|            }
30250|  27.1k|            _children[_n++] = _res;
30251|  27.1k|            _mark = p->mark;
30252|  27.1k|        }
30253|  74.1k|        p->mark = _mark;
30254|  74.1k|        D(fprintf(stderr, "%*c%s _loop0_27[%d-%d]: %s failed!\n", p->level, ' ',
30255|  74.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default"));
30256|  74.1k|    }
30257|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30258|  74.1k|    if (!_seq) {
  ------------------
  |  Branch (30258:9): [True: 0, False: 74.1k]
  ------------------
30259|      0|        PyMem_Free(_children);
30260|      0|        p->error_indicator = 1;
30261|      0|        PyErr_NoMemory();
30262|      0|        p->level--;
30263|      0|        return NULL;
30264|      0|    }
30265|   101k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  27.1k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|   101k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30265:28): [True: 27.1k, False: 74.1k]
  ------------------
30266|  74.1k|    PyMem_Free(_children);
30267|  74.1k|    p->level--;
30268|  74.1k|    return _seq;
30269|  74.1k|}
parser.c:invalid_parameters_helper_rule:
23511|  5.15k|{
23512|  5.15k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  10.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23512:9): [True: 0, False: 5.15k]
  |  Branch (23512:35): [True: 0, False: 5.15k]
  ------------------
23513|      0|        _Pypegen_stack_overflow(p);
23514|      0|    }
23515|  5.15k|    if (p->error_indicator) {
  ------------------
  |  Branch (23515:9): [True: 0, False: 5.15k]
  ------------------
23516|      0|        p->level--;
23517|      0|        return NULL;
23518|      0|    }
23519|  5.15k|    void * _res = NULL;
23520|  5.15k|    int _mark = p->mark;
23521|  5.15k|    { // slash_with_default
23522|  5.15k|        if (p->error_indicator) {
  ------------------
  |  Branch (23522:13): [True: 0, False: 5.15k]
  ------------------
23523|      0|            p->level--;
23524|      0|            return NULL;
23525|      0|        }
23526|  5.15k|        D(fprintf(stderr, "%*c> invalid_parameters_helper[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "slash_with_default"));
23527|  5.15k|        SlashWithDefault* a;
23528|  5.15k|        if (
23529|  5.15k|            (a = slash_with_default_rule(p))  // slash_with_default
  ------------------
  |  Branch (23529:13): [True: 179, False: 4.97k]
  ------------------
23530|  5.15k|        )
23531|    179|        {
23532|    179|            D(fprintf(stderr, "%*c+ invalid_parameters_helper[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "slash_with_default"));
23533|    179|            _res = _PyPegen_singleton_seq ( p , a );
23534|    179|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23534:18): [True: 0, False: 179]
  |  Branch (23534:34): [True: 0, False: 179]
  |  Branch (23534:57): [True: 0, False: 0]
  ------------------
23535|      0|                p->error_indicator = 1;
23536|      0|                p->level--;
23537|      0|                return NULL;
23538|      0|            }
23539|    179|            goto done;
23540|    179|        }
23541|  4.97k|        p->mark = _mark;
23542|  4.97k|        D(fprintf(stderr, "%*c%s invalid_parameters_helper[%d-%d]: %s failed!\n", p->level, ' ',
23543|  4.97k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "slash_with_default"));
23544|  4.97k|    }
23545|      0|    { // param_with_default+
23546|  4.97k|        if (p->error_indicator) {
  ------------------
  |  Branch (23546:13): [True: 0, False: 4.97k]
  ------------------
23547|      0|            p->level--;
23548|      0|            return NULL;
23549|      0|        }
23550|  4.97k|        D(fprintf(stderr, "%*c> invalid_parameters_helper[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_with_default+"));
23551|  4.97k|        asdl_seq * _loop1_30_var;
23552|  4.97k|        if (
23553|  4.97k|            (_loop1_30_var = _loop1_30_rule(p))  // param_with_default+
  ------------------
  |  Branch (23553:13): [True: 182, False: 4.78k]
  ------------------
23554|  4.97k|        )
23555|    182|        {
23556|    182|            D(fprintf(stderr, "%*c+ invalid_parameters_helper[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_with_default+"));
23557|    182|            _res = _loop1_30_var;
23558|    182|            goto done;
23559|    182|        }
23560|  4.78k|        p->mark = _mark;
23561|  4.78k|        D(fprintf(stderr, "%*c%s invalid_parameters_helper[%d-%d]: %s failed!\n", p->level, ' ',
23562|  4.78k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_with_default+"));
23563|  4.78k|    }
23564|  4.78k|    _res = NULL;
23565|  5.15k|  done:
23566|  5.15k|    p->level--;
23567|  5.15k|    return _res;
23568|  4.78k|}
parser.c:param_no_default_rule:
 5456|   225k|{
 5457|   225k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   451k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5457:9): [True: 0, False: 225k]
  |  Branch (5457:35): [True: 0, False: 225k]
  ------------------
 5458|      0|        _Pypegen_stack_overflow(p);
 5459|      0|    }
 5460|   225k|    if (p->error_indicator) {
  ------------------
  |  Branch (5460:9): [True: 0, False: 225k]
  ------------------
 5461|      0|        p->level--;
 5462|      0|        return NULL;
 5463|      0|    }
 5464|   225k|    arg_ty _res = NULL;
 5465|   225k|    int _mark = p->mark;
 5466|   225k|    { // param ',' TYPE_COMMENT?
 5467|   225k|        if (p->error_indicator) {
  ------------------
  |  Branch (5467:13): [True: 0, False: 225k]
  ------------------
 5468|      0|            p->level--;
 5469|      0|            return NULL;
 5470|      0|        }
 5471|   225k|        D(fprintf(stderr, "%*c> param_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param ',' TYPE_COMMENT?"));
 5472|   225k|        Token * _literal;
 5473|   225k|        arg_ty a;
 5474|   225k|        void *tc;
 5475|   225k|        if (
 5476|   225k|            (a = param_rule(p))  // param
  ------------------
  |  Branch (5476:13): [True: 78.1k, False: 147k]
  ------------------
 5477|  78.1k|            &&
 5478|  78.1k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5478:13): [True: 24.6k, False: 53.5k]
  ------------------
 5479|  24.6k|            &&
 5480|  24.6k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  24.6k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5480:13): [True: 24.6k, False: 3]
  ------------------
 5481|   225k|        )
 5482|  24.6k|        {
 5483|  24.6k|            D(fprintf(stderr, "%*c+ param_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param ',' TYPE_COMMENT?"));
 5484|  24.6k|            _res = _PyPegen_add_type_comment_to_arg ( p , a , tc );
 5485|  24.6k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5485:18): [True: 1, False: 24.6k]
  |  Branch (5485:34): [True: 0, False: 24.6k]
  |  Branch (5485:57): [True: 1, False: 0]
  ------------------
 5486|      1|                p->error_indicator = 1;
 5487|      1|                p->level--;
 5488|      1|                return NULL;
 5489|      1|            }
 5490|  24.6k|            goto done;
 5491|  24.6k|        }
 5492|   201k|        p->mark = _mark;
 5493|   201k|        D(fprintf(stderr, "%*c%s param_no_default[%d-%d]: %s failed!\n", p->level, ' ',
 5494|   201k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param ',' TYPE_COMMENT?"));
 5495|   201k|    }
 5496|      0|    { // param TYPE_COMMENT? &')'
 5497|   201k|        if (p->error_indicator) {
  ------------------
  |  Branch (5497:13): [True: 25, False: 201k]
  ------------------
 5498|     25|            p->level--;
 5499|     25|            return NULL;
 5500|     25|        }
 5501|   201k|        D(fprintf(stderr, "%*c> param_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param TYPE_COMMENT? &')'"));
 5502|   201k|        arg_ty a;
 5503|   201k|        void *tc;
 5504|   201k|        if (
 5505|   201k|            (a = param_rule(p))  // param
  ------------------
  |  Branch (5505:13): [True: 53.5k, False: 147k]
  ------------------
 5506|  53.5k|            &&
 5507|  53.5k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  53.5k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5507:13): [True: 53.5k, False: 0]
  ------------------
 5508|  53.5k|            &&
 5509|  53.5k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (5509:13): [True: 42.9k, False: 10.6k]
  ------------------
 5510|   201k|        )
 5511|  42.9k|        {
 5512|  42.9k|            D(fprintf(stderr, "%*c+ param_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param TYPE_COMMENT? &')'"));
 5513|  42.9k|            _res = _PyPegen_add_type_comment_to_arg ( p , a , tc );
 5514|  42.9k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5514:18): [True: 0, False: 42.9k]
  |  Branch (5514:34): [True: 0, False: 42.9k]
  |  Branch (5514:57): [True: 0, False: 0]
  ------------------
 5515|      0|                p->error_indicator = 1;
 5516|      0|                p->level--;
 5517|      0|                return NULL;
 5518|      0|            }
 5519|  42.9k|            goto done;
 5520|  42.9k|        }
 5521|   158k|        p->mark = _mark;
 5522|   158k|        D(fprintf(stderr, "%*c%s param_no_default[%d-%d]: %s failed!\n", p->level, ' ',
 5523|   158k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param TYPE_COMMENT? &')'"));
 5524|   158k|    }
 5525|   158k|    _res = NULL;
 5526|   225k|  done:
 5527|   225k|    p->level--;
 5528|   225k|    return _res;
 5529|   158k|}
parser.c:_loop1_29_rule:
30341|  82.2k|{
30342|  82.2k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   164k|#  define MAXSTACK 6000
  ------------------
  |  Branch (30342:9): [True: 0, False: 82.2k]
  |  Branch (30342:35): [True: 0, False: 82.2k]
  ------------------
30343|      0|        _Pypegen_stack_overflow(p);
30344|      0|    }
30345|  82.2k|    if (p->error_indicator) {
  ------------------
  |  Branch (30345:9): [True: 0, False: 82.2k]
  ------------------
30346|      0|        p->level--;
30347|      0|        return NULL;
30348|      0|    }
30349|  82.2k|    void *_res = NULL;
30350|  82.2k|    int _mark = p->mark;
30351|  82.2k|    void **_children = PyMem_Malloc(sizeof(void *));
30352|  82.2k|    if (!_children) {
  ------------------
  |  Branch (30352:9): [True: 0, False: 82.2k]
  ------------------
30353|      0|        p->error_indicator = 1;
30354|      0|        PyErr_NoMemory();
30355|      0|        p->level--;
30356|      0|        return NULL;
30357|      0|    }
30358|  82.2k|    Py_ssize_t _children_capacity = 1;
30359|  82.2k|    Py_ssize_t _n = 0;
30360|  82.2k|    { // param_no_default
30361|  82.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (30361:13): [True: 0, False: 82.2k]
  ------------------
30362|      0|            p->level--;
30363|      0|            return NULL;
30364|      0|        }
30365|  82.2k|        D(fprintf(stderr, "%*c> _loop1_29[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default"));
30366|  82.2k|        arg_ty param_no_default_var;
30367|  82.2k|        while (
30368|   118k|            (param_no_default_var = param_no_default_rule(p))  // param_no_default
  ------------------
  |  Branch (30368:13): [True: 35.7k, False: 82.2k]
  ------------------
30369|  82.2k|        )
30370|  35.7k|        {
30371|  35.7k|            _res = param_no_default_var;
30372|  35.7k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30372:17): [True: 4.61k, False: 31.1k]
  ------------------
30373|  4.61k|                _children_capacity *= 2;
30374|  4.61k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30375|  4.61k|                if (!_new_children) {
  ------------------
  |  Branch (30375:21): [True: 0, False: 4.61k]
  ------------------
30376|      0|                    PyMem_Free(_children);
30377|      0|                    p->error_indicator = 1;
30378|      0|                    PyErr_NoMemory();
30379|      0|                    p->level--;
30380|      0|                    return NULL;
30381|      0|                }
30382|  4.61k|                _children = _new_children;
30383|  4.61k|            }
30384|  35.7k|            _children[_n++] = _res;
30385|  35.7k|            _mark = p->mark;
30386|  35.7k|        }
30387|  82.2k|        p->mark = _mark;
30388|  82.2k|        D(fprintf(stderr, "%*c%s _loop1_29[%d-%d]: %s failed!\n", p->level, ' ',
30389|  82.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default"));
30390|  82.2k|    }
30391|  82.2k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (30391:9): [True: 51.7k, False: 30.4k]
  |  Branch (30391:20): [True: 5, False: 30.4k]
  ------------------
30392|  51.7k|        PyMem_Free(_children);
30393|  51.7k|        p->level--;
30394|  51.7k|        return NULL;
30395|  51.7k|    }
30396|  30.4k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30397|  30.4k|    if (!_seq) {
  ------------------
  |  Branch (30397:9): [True: 0, False: 30.4k]
  ------------------
30398|      0|        PyMem_Free(_children);
30399|      0|        p->error_indicator = 1;
30400|      0|        PyErr_NoMemory();
30401|      0|        p->level--;
30402|      0|        return NULL;
30403|      0|    }
30404|  66.2k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  35.7k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  66.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30404:28): [True: 35.7k, False: 30.4k]
  ------------------
30405|  30.4k|    PyMem_Free(_children);
30406|  30.4k|    p->level--;
30407|  30.4k|    return _seq;
30408|  30.4k|}
parser.c:_tmp_125_rule:
36421|    715|{
36422|    715|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.43k|#  define MAXSTACK 6000
  ------------------
  |  Branch (36422:9): [True: 0, False: 715]
  |  Branch (36422:35): [True: 0, False: 715]
  ------------------
36423|      0|        _Pypegen_stack_overflow(p);
36424|      0|    }
36425|    715|    if (p->error_indicator) {
  ------------------
  |  Branch (36425:9): [True: 0, False: 715]
  ------------------
36426|      0|        p->level--;
36427|      0|        return NULL;
36428|      0|    }
36429|    715|    void * _res = NULL;
36430|    715|    int _mark = p->mark;
36431|    715|    { // ','
36432|    715|        if (p->error_indicator) {
  ------------------
  |  Branch (36432:13): [True: 0, False: 715]
  ------------------
36433|      0|            p->level--;
36434|      0|            return NULL;
36435|      0|        }
36436|    715|        D(fprintf(stderr, "%*c> _tmp_125[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','"));
36437|    715|        Token * _literal;
36438|    715|        if (
36439|    715|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (36439:13): [True: 142, False: 573]
  ------------------
36440|    715|        )
36441|    142|        {
36442|    142|            D(fprintf(stderr, "%*c+ _tmp_125[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','"));
36443|    142|            _res = _literal;
36444|    142|            goto done;
36445|    142|        }
36446|    573|        p->mark = _mark;
36447|    573|        D(fprintf(stderr, "%*c%s _tmp_125[%d-%d]: %s failed!\n", p->level, ' ',
36448|    573|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','"));
36449|    573|    }
36450|      0|    { // param_no_default
36451|    573|        if (p->error_indicator) {
  ------------------
  |  Branch (36451:13): [True: 1, False: 572]
  ------------------
36452|      1|            p->level--;
36453|      1|            return NULL;
36454|      1|        }
36455|    572|        D(fprintf(stderr, "%*c> _tmp_125[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default"));
36456|    572|        arg_ty param_no_default_var;
36457|    572|        if (
36458|    572|            (param_no_default_var = param_no_default_rule(p))  // param_no_default
  ------------------
  |  Branch (36458:13): [True: 356, False: 216]
  ------------------
36459|    572|        )
36460|    356|        {
36461|    356|            D(fprintf(stderr, "%*c+ _tmp_125[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default"));
36462|    356|            _res = param_no_default_var;
36463|    356|            goto done;
36464|    356|        }
36465|    216|        p->mark = _mark;
36466|    216|        D(fprintf(stderr, "%*c%s _tmp_125[%d-%d]: %s failed!\n", p->level, ' ',
36467|    216|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default"));
36468|    216|    }
36469|    216|    _res = NULL;
36470|    714|  done:
36471|    714|    p->level--;
36472|    714|    return _res;
36473|    216|}
parser.c:_loop1_32_rule:
30552|  5.36k|{
30553|  5.36k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  10.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (30553:9): [True: 0, False: 5.36k]
  |  Branch (30553:35): [True: 0, False: 5.36k]
  ------------------
30554|      0|        _Pypegen_stack_overflow(p);
30555|      0|    }
30556|  5.36k|    if (p->error_indicator) {
  ------------------
  |  Branch (30556:9): [True: 0, False: 5.36k]
  ------------------
30557|      0|        p->level--;
30558|      0|        return NULL;
30559|      0|    }
30560|  5.36k|    void *_res = NULL;
30561|  5.36k|    int _mark = p->mark;
30562|  5.36k|    void **_children = PyMem_Malloc(sizeof(void *));
30563|  5.36k|    if (!_children) {
  ------------------
  |  Branch (30563:9): [True: 0, False: 5.36k]
  ------------------
30564|      0|        p->error_indicator = 1;
30565|      0|        PyErr_NoMemory();
30566|      0|        p->level--;
30567|      0|        return NULL;
30568|      0|    }
30569|  5.36k|    Py_ssize_t _children_capacity = 1;
30570|  5.36k|    Py_ssize_t _n = 0;
30571|  5.36k|    { // param_maybe_default
30572|  5.36k|        if (p->error_indicator) {
  ------------------
  |  Branch (30572:13): [True: 0, False: 5.36k]
  ------------------
30573|      0|            p->level--;
30574|      0|            return NULL;
30575|      0|        }
30576|  5.36k|        D(fprintf(stderr, "%*c> _loop1_32[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_maybe_default"));
30577|  5.36k|        NameDefaultPair* param_maybe_default_var;
30578|  5.36k|        while (
30579|  8.74k|            (param_maybe_default_var = param_maybe_default_rule(p))  // param_maybe_default
  ------------------
  |  Branch (30579:13): [True: 3.37k, False: 5.36k]
  ------------------
30580|  5.36k|        )
30581|  3.37k|        {
30582|  3.37k|            _res = param_maybe_default_var;
30583|  3.37k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30583:17): [True: 519, False: 2.85k]
  ------------------
30584|    519|                _children_capacity *= 2;
30585|    519|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30586|    519|                if (!_new_children) {
  ------------------
  |  Branch (30586:21): [True: 0, False: 519]
  ------------------
30587|      0|                    PyMem_Free(_children);
30588|      0|                    p->error_indicator = 1;
30589|      0|                    PyErr_NoMemory();
30590|      0|                    p->level--;
30591|      0|                    return NULL;
30592|      0|                }
30593|    519|                _children = _new_children;
30594|    519|            }
30595|  3.37k|            _children[_n++] = _res;
30596|  3.37k|            _mark = p->mark;
30597|  3.37k|        }
30598|  5.36k|        p->mark = _mark;
30599|  5.36k|        D(fprintf(stderr, "%*c%s _loop1_32[%d-%d]: %s failed!\n", p->level, ' ',
30600|  5.36k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_maybe_default"));
30601|  5.36k|    }
30602|  5.36k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (30602:9): [True: 2.74k, False: 2.62k]
  |  Branch (30602:20): [True: 1, False: 2.62k]
  ------------------
30603|  2.74k|        PyMem_Free(_children);
30604|  2.74k|        p->level--;
30605|  2.74k|        return NULL;
30606|  2.74k|    }
30607|  2.62k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30608|  2.62k|    if (!_seq) {
  ------------------
  |  Branch (30608:9): [True: 0, False: 2.62k]
  ------------------
30609|      0|        PyMem_Free(_children);
30610|      0|        p->error_indicator = 1;
30611|      0|        PyErr_NoMemory();
30612|      0|        p->level--;
30613|      0|        return NULL;
30614|      0|    }
30615|  5.99k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  3.37k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  5.99k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30615:28): [True: 3.37k, False: 2.62k]
  ------------------
30616|  2.62k|    PyMem_Free(_children);
30617|  2.62k|    p->level--;
30618|  2.62k|    return _seq;
30619|  2.62k|}
parser.c:parameters_rule:
 4898|  17.5k|{
 4899|  17.5k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  35.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4899:9): [True: 0, False: 17.5k]
  |  Branch (4899:35): [True: 0, False: 17.5k]
  ------------------
 4900|      0|        _Pypegen_stack_overflow(p);
 4901|      0|    }
 4902|  17.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (4902:9): [True: 0, False: 17.5k]
  ------------------
 4903|      0|        p->level--;
 4904|      0|        return NULL;
 4905|      0|    }
 4906|  17.5k|    arguments_ty _res = NULL;
 4907|  17.5k|    int _mark = p->mark;
 4908|  17.5k|    { // slash_no_default param_no_default* param_with_default* star_etc?
 4909|  17.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (4909:13): [True: 0, False: 17.5k]
  ------------------
 4910|      0|            p->level--;
 4911|      0|            return NULL;
 4912|      0|        }
 4913|  17.5k|        D(fprintf(stderr, "%*c> parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "slash_no_default param_no_default* param_with_default* star_etc?"));
 4914|  17.5k|        asdl_arg_seq* a;
 4915|  17.5k|        asdl_arg_seq* b;
 4916|  17.5k|        asdl_seq * c;
 4917|  17.5k|        void *d;
 4918|  17.5k|        if (
 4919|  17.5k|            (a = slash_no_default_rule(p))  // slash_no_default
  ------------------
  |  Branch (4919:13): [True: 596, False: 16.9k]
  ------------------
 4920|    596|            &&
 4921|    596|            (b = (asdl_arg_seq*)_loop0_27_rule(p))  // param_no_default*
  ------------------
  |  Branch (4921:13): [True: 596, False: 0]
  ------------------
 4922|    596|            &&
 4923|    596|            (c = _loop0_28_rule(p))  // param_with_default*
  ------------------
  |  Branch (4923:13): [True: 594, False: 2]
  ------------------
 4924|    594|            &&
 4925|    594|            (d = star_etc_rule(p), !p->error_indicator)  // star_etc?
  ------------------
  |  Branch (4925:13): [True: 592, False: 2]
  ------------------
 4926|  17.5k|        )
 4927|    592|        {
 4928|    592|            D(fprintf(stderr, "%*c+ parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "slash_no_default param_no_default* param_with_default* star_etc?"));
 4929|    592|            _res = CHECK_VERSION ( arguments_ty , 8 , "Positional-only parameters are" , _PyPegen_make_arguments ( p , a , NULL , b , c , d ) );
  ------------------
  |  |  319|    592|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 4930|    592|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4930:18): [True: 0, False: 592]
  |  Branch (4930:34): [True: 0, False: 592]
  |  Branch (4930:57): [True: 0, False: 0]
  ------------------
 4931|      0|                p->error_indicator = 1;
 4932|      0|                p->level--;
 4933|      0|                return NULL;
 4934|      0|            }
 4935|    592|            goto done;
 4936|    592|        }
 4937|  16.9k|        p->mark = _mark;
 4938|  16.9k|        D(fprintf(stderr, "%*c%s parameters[%d-%d]: %s failed!\n", p->level, ' ',
 4939|  16.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "slash_no_default param_no_default* param_with_default* star_etc?"));
 4940|  16.9k|    }
 4941|      0|    { // slash_with_default param_with_default* star_etc?
 4942|  16.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (4942:13): [True: 15, False: 16.8k]
  ------------------
 4943|     15|            p->level--;
 4944|     15|            return NULL;
 4945|     15|        }
 4946|  16.8k|        D(fprintf(stderr, "%*c> parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "slash_with_default param_with_default* star_etc?"));
 4947|  16.8k|        SlashWithDefault* a;
 4948|  16.8k|        asdl_seq * b;
 4949|  16.8k|        void *c;
 4950|  16.8k|        if (
 4951|  16.8k|            (a = slash_with_default_rule(p))  // slash_with_default
  ------------------
  |  Branch (4951:13): [True: 510, False: 16.3k]
  ------------------
 4952|    510|            &&
 4953|    510|            (b = _loop0_28_rule(p))  // param_with_default*
  ------------------
  |  Branch (4953:13): [True: 510, False: 0]
  ------------------
 4954|    510|            &&
 4955|    510|            (c = star_etc_rule(p), !p->error_indicator)  // star_etc?
  ------------------
  |  Branch (4955:13): [True: 508, False: 2]
  ------------------
 4956|  16.8k|        )
 4957|    508|        {
 4958|    508|            D(fprintf(stderr, "%*c+ parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "slash_with_default param_with_default* star_etc?"));
 4959|    508|            _res = CHECK_VERSION ( arguments_ty , 8 , "Positional-only parameters are" , _PyPegen_make_arguments ( p , NULL , a , NULL , b , c ) );
  ------------------
  |  |  319|    508|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 4960|    508|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4960:18): [True: 0, False: 508]
  |  Branch (4960:34): [True: 0, False: 508]
  |  Branch (4960:57): [True: 0, False: 0]
  ------------------
 4961|      0|                p->error_indicator = 1;
 4962|      0|                p->level--;
 4963|      0|                return NULL;
 4964|      0|            }
 4965|    508|            goto done;
 4966|    508|        }
 4967|  16.3k|        p->mark = _mark;
 4968|  16.3k|        D(fprintf(stderr, "%*c%s parameters[%d-%d]: %s failed!\n", p->level, ' ',
 4969|  16.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "slash_with_default param_with_default* star_etc?"));
 4970|  16.3k|    }
 4971|      0|    { // param_no_default+ param_with_default* star_etc?
 4972|  16.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (4972:13): [True: 11, False: 16.3k]
  ------------------
 4973|     11|            p->level--;
 4974|     11|            return NULL;
 4975|     11|        }
 4976|  16.3k|        D(fprintf(stderr, "%*c> parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default+ param_with_default* star_etc?"));
 4977|  16.3k|        asdl_arg_seq* a;
 4978|  16.3k|        asdl_seq * b;
 4979|  16.3k|        void *c;
 4980|  16.3k|        if (
 4981|  16.3k|            (a = (asdl_arg_seq*)_loop1_29_rule(p))  // param_no_default+
  ------------------
  |  Branch (4981:13): [True: 5.25k, False: 11.1k]
  ------------------
 4982|  5.25k|            &&
 4983|  5.25k|            (b = _loop0_28_rule(p))  // param_with_default*
  ------------------
  |  Branch (4983:13): [True: 5.25k, False: 0]
  ------------------
 4984|  5.25k|            &&
 4985|  5.25k|            (c = star_etc_rule(p), !p->error_indicator)  // star_etc?
  ------------------
  |  Branch (4985:13): [True: 5.24k, False: 6]
  ------------------
 4986|  16.3k|        )
 4987|  5.24k|        {
 4988|  5.24k|            D(fprintf(stderr, "%*c+ parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default+ param_with_default* star_etc?"));
 4989|  5.24k|            _res = _PyPegen_make_arguments ( p , NULL , NULL , a , b , c );
 4990|  5.24k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4990:18): [True: 0, False: 5.24k]
  |  Branch (4990:34): [True: 0, False: 5.24k]
  |  Branch (4990:57): [True: 0, False: 0]
  ------------------
 4991|      0|                p->error_indicator = 1;
 4992|      0|                p->level--;
 4993|      0|                return NULL;
 4994|      0|            }
 4995|  5.24k|            goto done;
 4996|  5.24k|        }
 4997|  11.1k|        p->mark = _mark;
 4998|  11.1k|        D(fprintf(stderr, "%*c%s parameters[%d-%d]: %s failed!\n", p->level, ' ',
 4999|  11.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default+ param_with_default* star_etc?"));
 5000|  11.1k|    }
 5001|      0|    { // param_with_default+ star_etc?
 5002|  11.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (5002:13): [True: 6, False: 11.1k]
  ------------------
 5003|      6|            p->level--;
 5004|      6|            return NULL;
 5005|      6|        }
 5006|  11.1k|        D(fprintf(stderr, "%*c> parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_with_default+ star_etc?"));
 5007|  11.1k|        asdl_seq * a;
 5008|  11.1k|        void *b;
 5009|  11.1k|        if (
 5010|  11.1k|            (a = _loop1_30_rule(p))  // param_with_default+
  ------------------
  |  Branch (5010:13): [True: 254, False: 10.8k]
  ------------------
 5011|    254|            &&
 5012|    254|            (b = star_etc_rule(p), !p->error_indicator)  // star_etc?
  ------------------
  |  Branch (5012:13): [True: 253, False: 1]
  ------------------
 5013|  11.1k|        )
 5014|    253|        {
 5015|    253|            D(fprintf(stderr, "%*c+ parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_with_default+ star_etc?"));
 5016|    253|            _res = _PyPegen_make_arguments ( p , NULL , NULL , NULL , a , b );
 5017|    253|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5017:18): [True: 0, False: 253]
  |  Branch (5017:34): [True: 0, False: 253]
  |  Branch (5017:57): [True: 0, False: 0]
  ------------------
 5018|      0|                p->error_indicator = 1;
 5019|      0|                p->level--;
 5020|      0|                return NULL;
 5021|      0|            }
 5022|    253|            goto done;
 5023|    253|        }
 5024|  10.8k|        p->mark = _mark;
 5025|  10.8k|        D(fprintf(stderr, "%*c%s parameters[%d-%d]: %s failed!\n", p->level, ' ',
 5026|  10.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_with_default+ star_etc?"));
 5027|  10.8k|    }
 5028|      0|    { // star_etc
 5029|  10.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (5029:13): [True: 1, False: 10.8k]
  ------------------
 5030|      1|            p->level--;
 5031|      1|            return NULL;
 5032|      1|        }
 5033|  10.8k|        D(fprintf(stderr, "%*c> parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_etc"));
 5034|  10.8k|        StarEtc* a;
 5035|  10.8k|        if (
 5036|  10.8k|            (a = star_etc_rule(p))  // star_etc
  ------------------
  |  Branch (5036:13): [True: 4.25k, False: 6.61k]
  ------------------
 5037|  10.8k|        )
 5038|  4.25k|        {
 5039|  4.25k|            D(fprintf(stderr, "%*c+ parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_etc"));
 5040|  4.25k|            _res = _PyPegen_make_arguments ( p , NULL , NULL , NULL , NULL , a );
 5041|  4.25k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5041:18): [True: 0, False: 4.25k]
  |  Branch (5041:34): [True: 0, False: 4.25k]
  |  Branch (5041:57): [True: 0, False: 0]
  ------------------
 5042|      0|                p->error_indicator = 1;
 5043|      0|                p->level--;
 5044|      0|                return NULL;
 5045|      0|            }
 5046|  4.25k|            goto done;
 5047|  4.25k|        }
 5048|  6.61k|        p->mark = _mark;
 5049|  6.61k|        D(fprintf(stderr, "%*c%s parameters[%d-%d]: %s failed!\n", p->level, ' ',
 5050|  6.61k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_etc"));
 5051|  6.61k|    }
 5052|  6.61k|    _res = NULL;
 5053|  17.4k|  done:
 5054|  17.4k|    p->level--;
 5055|  17.4k|    return _res;
 5056|  6.61k|}
parser.c:_loop0_28_rule:
30274|  6.35k|{
30275|  6.35k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  12.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (30275:9): [True: 0, False: 6.35k]
  |  Branch (30275:35): [True: 0, False: 6.35k]
  ------------------
30276|      0|        _Pypegen_stack_overflow(p);
30277|      0|    }
30278|  6.35k|    if (p->error_indicator) {
  ------------------
  |  Branch (30278:9): [True: 2, False: 6.35k]
  ------------------
30279|      2|        p->level--;
30280|      2|        return NULL;
30281|      2|    }
30282|  6.35k|    void *_res = NULL;
30283|  6.35k|    int _mark = p->mark;
30284|  6.35k|    void **_children = PyMem_Malloc(sizeof(void *));
30285|  6.35k|    if (!_children) {
  ------------------
  |  Branch (30285:9): [True: 0, False: 6.35k]
  ------------------
30286|      0|        p->error_indicator = 1;
30287|      0|        PyErr_NoMemory();
30288|      0|        p->level--;
30289|      0|        return NULL;
30290|      0|    }
30291|  6.35k|    Py_ssize_t _children_capacity = 1;
30292|  6.35k|    Py_ssize_t _n = 0;
30293|  6.35k|    { // param_with_default
30294|  6.35k|        if (p->error_indicator) {
  ------------------
  |  Branch (30294:13): [True: 0, False: 6.35k]
  ------------------
30295|      0|            p->level--;
30296|      0|            return NULL;
30297|      0|        }
30298|  6.35k|        D(fprintf(stderr, "%*c> _loop0_28[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_with_default"));
30299|  6.35k|        NameDefaultPair* param_with_default_var;
30300|  6.35k|        while (
30301|  6.48k|            (param_with_default_var = param_with_default_rule(p))  // param_with_default
  ------------------
  |  Branch (30301:13): [True: 128, False: 6.35k]
  ------------------
30302|  6.35k|        )
30303|    128|        {
30304|    128|            _res = param_with_default_var;
30305|    128|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30305:17): [True: 54, False: 74]
  ------------------
30306|     54|                _children_capacity *= 2;
30307|     54|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30308|     54|                if (!_new_children) {
  ------------------
  |  Branch (30308:21): [True: 0, False: 54]
  ------------------
30309|      0|                    PyMem_Free(_children);
30310|      0|                    p->error_indicator = 1;
30311|      0|                    PyErr_NoMemory();
30312|      0|                    p->level--;
30313|      0|                    return NULL;
30314|      0|                }
30315|     54|                _children = _new_children;
30316|     54|            }
30317|    128|            _children[_n++] = _res;
30318|    128|            _mark = p->mark;
30319|    128|        }
30320|  6.35k|        p->mark = _mark;
30321|  6.35k|        D(fprintf(stderr, "%*c%s _loop0_28[%d-%d]: %s failed!\n", p->level, ' ',
30322|  6.35k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_with_default"));
30323|  6.35k|    }
30324|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30325|  6.35k|    if (!_seq) {
  ------------------
  |  Branch (30325:9): [True: 0, False: 6.35k]
  ------------------
30326|      0|        PyMem_Free(_children);
30327|      0|        p->error_indicator = 1;
30328|      0|        PyErr_NoMemory();
30329|      0|        p->level--;
30330|      0|        return NULL;
30331|      0|    }
30332|  6.48k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    128|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  6.48k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30332:28): [True: 128, False: 6.35k]
  ------------------
30333|  6.35k|    PyMem_Free(_children);
30334|  6.35k|    p->level--;
30335|  6.35k|    return _seq;
30336|  6.35k|}
parser.c:star_etc_rule:
 5230|  17.4k|{
 5231|  17.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  34.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5231:9): [True: 0, False: 17.4k]
  |  Branch (5231:35): [True: 0, False: 17.4k]
  ------------------
 5232|      0|        _Pypegen_stack_overflow(p);
 5233|      0|    }
 5234|  17.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (5234:9): [True: 1, False: 17.4k]
  ------------------
 5235|      1|        p->level--;
 5236|      1|        return NULL;
 5237|      1|    }
 5238|  17.4k|    StarEtc* _res = NULL;
 5239|  17.4k|    int _mark = p->mark;
 5240|  17.4k|    if (p->call_invalid_rules) { // invalid_star_etc
  ------------------
  |  Branch (5240:9): [True: 5.13k, False: 12.3k]
  ------------------
 5241|  5.13k|        if (p->error_indicator) {
  ------------------
  |  Branch (5241:13): [True: 0, False: 5.13k]
  ------------------
 5242|      0|            p->level--;
 5243|      0|            return NULL;
 5244|      0|        }
 5245|  5.13k|        D(fprintf(stderr, "%*c> star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_star_etc"));
 5246|  5.13k|        void *invalid_star_etc_var;
 5247|  5.13k|        if (
 5248|  5.13k|            (invalid_star_etc_var = invalid_star_etc_rule(p))  // invalid_star_etc
  ------------------
  |  Branch (5248:13): [True: 0, False: 5.13k]
  ------------------
 5249|  5.13k|        )
 5250|      0|        {
 5251|      0|            D(fprintf(stderr, "%*c+ star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_star_etc"));
 5252|      0|            _res = invalid_star_etc_var;
 5253|      0|            goto done;
 5254|      0|        }
 5255|  5.13k|        p->mark = _mark;
 5256|  5.13k|        D(fprintf(stderr, "%*c%s star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 5257|  5.13k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_star_etc"));
 5258|  5.13k|    }
 5259|  17.4k|    { // '*' param_no_default param_maybe_default* kwds?
 5260|  17.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (5260:13): [True: 9, False: 17.4k]
  ------------------
 5261|      9|            p->level--;
 5262|      9|            return NULL;
 5263|      9|        }
 5264|  17.4k|        D(fprintf(stderr, "%*c> star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' param_no_default param_maybe_default* kwds?"));
 5265|  17.4k|        Token * _literal;
 5266|  17.4k|        arg_ty a;
 5267|  17.4k|        asdl_seq * b;
 5268|  17.4k|        void *c;
 5269|  17.4k|        if (
 5270|  17.4k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (5270:13): [True: 1.59k, False: 15.8k]
  ------------------
 5271|  1.59k|            &&
 5272|  1.59k|            (a = param_no_default_rule(p))  // param_no_default
  ------------------
  |  Branch (5272:13): [True: 759, False: 831]
  ------------------
 5273|    759|            &&
 5274|    759|            (b = _loop0_31_rule(p))  // param_maybe_default*
  ------------------
  |  Branch (5274:13): [True: 759, False: 0]
  ------------------
 5275|    759|            &&
 5276|    759|            (c = kwds_rule(p), !p->error_indicator)  // kwds?
  ------------------
  |  Branch (5276:13): [True: 757, False: 2]
  ------------------
 5277|  17.4k|        )
 5278|    757|        {
 5279|    757|            D(fprintf(stderr, "%*c+ star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' param_no_default param_maybe_default* kwds?"));
 5280|    757|            _res = _PyPegen_star_etc ( p , a , b , c );
 5281|    757|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5281:18): [True: 0, False: 757]
  |  Branch (5281:34): [True: 0, False: 757]
  |  Branch (5281:57): [True: 0, False: 0]
  ------------------
 5282|      0|                p->error_indicator = 1;
 5283|      0|                p->level--;
 5284|      0|                return NULL;
 5285|      0|            }
 5286|    757|            goto done;
 5287|    757|        }
 5288|  16.7k|        p->mark = _mark;
 5289|  16.7k|        D(fprintf(stderr, "%*c%s star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 5290|  16.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' param_no_default param_maybe_default* kwds?"));
 5291|  16.7k|    }
 5292|      0|    { // '*' param_no_default_star_annotation param_maybe_default* kwds?
 5293|  16.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (5293:13): [True: 5, False: 16.7k]
  ------------------
 5294|      5|            p->level--;
 5295|      5|            return NULL;
 5296|      5|        }
 5297|  16.7k|        D(fprintf(stderr, "%*c> star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' param_no_default_star_annotation param_maybe_default* kwds?"));
 5298|  16.7k|        Token * _literal;
 5299|  16.7k|        arg_ty a;
 5300|  16.7k|        asdl_seq * b;
 5301|  16.7k|        void *c;
 5302|  16.7k|        if (
 5303|  16.7k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (5303:13): [True: 828, False: 15.8k]
  ------------------
 5304|    828|            &&
 5305|    828|            (a = param_no_default_star_annotation_rule(p))  // param_no_default_star_annotation
  ------------------
  |  Branch (5305:13): [True: 536, False: 292]
  ------------------
 5306|    536|            &&
 5307|    536|            (b = _loop0_31_rule(p))  // param_maybe_default*
  ------------------
  |  Branch (5307:13): [True: 536, False: 0]
  ------------------
 5308|    536|            &&
 5309|    536|            (c = kwds_rule(p), !p->error_indicator)  // kwds?
  ------------------
  |  Branch (5309:13): [True: 533, False: 3]
  ------------------
 5310|  16.7k|        )
 5311|    533|        {
 5312|    533|            D(fprintf(stderr, "%*c+ star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' param_no_default_star_annotation param_maybe_default* kwds?"));
 5313|    533|            _res = _PyPegen_star_etc ( p , a , b , c );
 5314|    533|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5314:18): [True: 0, False: 533]
  |  Branch (5314:34): [True: 0, False: 533]
  |  Branch (5314:57): [True: 0, False: 0]
  ------------------
 5315|      0|                p->error_indicator = 1;
 5316|      0|                p->level--;
 5317|      0|                return NULL;
 5318|      0|            }
 5319|    533|            goto done;
 5320|    533|        }
 5321|  16.1k|        p->mark = _mark;
 5322|  16.1k|        D(fprintf(stderr, "%*c%s star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 5323|  16.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' param_no_default_star_annotation param_maybe_default* kwds?"));
 5324|  16.1k|    }
 5325|      0|    { // '*' ',' param_maybe_default+ kwds?
 5326|  16.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (5326:13): [True: 7, False: 16.1k]
  ------------------
 5327|      7|            p->level--;
 5328|      7|            return NULL;
 5329|      7|        }
 5330|  16.1k|        D(fprintf(stderr, "%*c> star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' ',' param_maybe_default+ kwds?"));
 5331|  16.1k|        Token * _literal;
 5332|  16.1k|        Token * _literal_1;
 5333|  16.1k|        asdl_seq * b;
 5334|  16.1k|        void *c;
 5335|  16.1k|        if (
 5336|  16.1k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (5336:13): [True: 288, False: 15.8k]
  ------------------
 5337|    288|            &&
 5338|    288|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5338:13): [True: 231, False: 57]
  ------------------
 5339|    231|            &&
 5340|    231|            (b = _loop1_32_rule(p))  // param_maybe_default+
  ------------------
  |  Branch (5340:13): [True: 212, False: 19]
  ------------------
 5341|    212|            &&
 5342|    212|            (c = kwds_rule(p), !p->error_indicator)  // kwds?
  ------------------
  |  Branch (5342:13): [True: 211, False: 1]
  ------------------
 5343|  16.1k|        )
 5344|    211|        {
 5345|    211|            D(fprintf(stderr, "%*c+ star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' ',' param_maybe_default+ kwds?"));
 5346|    211|            _res = _PyPegen_star_etc ( p , NULL , b , c );
 5347|    211|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5347:18): [True: 0, False: 211]
  |  Branch (5347:34): [True: 0, False: 211]
  |  Branch (5347:57): [True: 0, False: 0]
  ------------------
 5348|      0|                p->error_indicator = 1;
 5349|      0|                p->level--;
 5350|      0|                return NULL;
 5351|      0|            }
 5352|    211|            goto done;
 5353|    211|        }
 5354|  15.9k|        p->mark = _mark;
 5355|  15.9k|        D(fprintf(stderr, "%*c%s star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 5356|  15.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' ',' param_maybe_default+ kwds?"));
 5357|  15.9k|    }
 5358|      0|    { // kwds
 5359|  15.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (5359:13): [True: 3, False: 15.9k]
  ------------------
 5360|      3|            p->level--;
 5361|      3|            return NULL;
 5362|      3|        }
 5363|  15.9k|        D(fprintf(stderr, "%*c> star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwds"));
 5364|  15.9k|        arg_ty a;
 5365|  15.9k|        if (
 5366|  15.9k|            (a = kwds_rule(p))  // kwds
  ------------------
  |  Branch (5366:13): [True: 3.19k, False: 12.7k]
  ------------------
 5367|  15.9k|        )
 5368|  3.19k|        {
 5369|  3.19k|            D(fprintf(stderr, "%*c+ star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwds"));
 5370|  3.19k|            _res = _PyPegen_star_etc ( p , NULL , NULL , a );
 5371|  3.19k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5371:18): [True: 0, False: 3.19k]
  |  Branch (5371:34): [True: 0, False: 3.19k]
  |  Branch (5371:57): [True: 0, False: 0]
  ------------------
 5372|      0|                p->error_indicator = 1;
 5373|      0|                p->level--;
 5374|      0|                return NULL;
 5375|      0|            }
 5376|  3.19k|            goto done;
 5377|  3.19k|        }
 5378|  12.7k|        p->mark = _mark;
 5379|  12.7k|        D(fprintf(stderr, "%*c%s star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 5380|  12.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwds"));
 5381|  12.7k|    }
 5382|  12.7k|    _res = NULL;
 5383|  17.4k|  done:
 5384|  17.4k|    p->level--;
 5385|  17.4k|    return _res;
 5386|  12.7k|}
parser.c:invalid_star_etc_rule:
23254|  5.13k|{
23255|  5.13k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  10.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23255:9): [True: 0, False: 5.13k]
  |  Branch (23255:35): [True: 0, False: 5.13k]
  ------------------
23256|      0|        _Pypegen_stack_overflow(p);
23257|      0|    }
23258|  5.13k|    if (p->error_indicator) {
  ------------------
  |  Branch (23258:9): [True: 0, False: 5.13k]
  ------------------
23259|      0|        p->level--;
23260|      0|        return NULL;
23261|      0|    }
23262|  5.13k|    void * _res = NULL;
23263|  5.13k|    int _mark = p->mark;
23264|  5.13k|    { // '*' (')' | ',' (')' | '**'))
23265|  5.13k|        if (p->error_indicator) {
  ------------------
  |  Branch (23265:13): [True: 0, False: 5.13k]
  ------------------
23266|      0|            p->level--;
23267|      0|            return NULL;
23268|      0|        }
23269|  5.13k|        D(fprintf(stderr, "%*c> invalid_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' (')' | ',' (')' | '**'))"));
23270|  5.13k|        void *_tmp_127_var;
23271|  5.13k|        Token * a;
23272|  5.13k|        if (
23273|  5.13k|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (23273:13): [True: 711, False: 4.42k]
  ------------------
23274|    711|            &&
23275|    711|            (_tmp_127_var = _tmp_127_rule(p))  // ')' | ',' (')' | '**')
  ------------------
  |  Branch (23275:13): [True: 4, False: 707]
  ------------------
23276|  5.13k|        )
23277|      4|        {
23278|      4|            D(fprintf(stderr, "%*c+ invalid_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' (')' | ',' (')' | '**'))"));
23279|      4|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "named parameters must follow bare *" );
  ------------------
  |  |  213|      4|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23280|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23280:18): [True: 4, False: 0]
  |  Branch (23280:34): [True: 0, False: 0]
  |  Branch (23280:57): [True: 4, False: 0]
  ------------------
23281|      4|                p->error_indicator = 1;
23282|      4|                p->level--;
23283|      4|                return NULL;
23284|      4|            }
23285|      0|            goto done;
23286|      4|        }
23287|  5.13k|        p->mark = _mark;
23288|  5.13k|        D(fprintf(stderr, "%*c%s invalid_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
23289|  5.13k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' (')' | ',' (')' | '**'))"));
23290|  5.13k|    }
23291|      0|    { // '*' ',' TYPE_COMMENT
23292|  5.13k|        if (p->error_indicator) {
  ------------------
  |  Branch (23292:13): [True: 0, False: 5.13k]
  ------------------
23293|      0|            p->level--;
23294|      0|            return NULL;
23295|      0|        }
23296|  5.13k|        D(fprintf(stderr, "%*c> invalid_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' ',' TYPE_COMMENT"));
23297|  5.13k|        Token * _literal;
23298|  5.13k|        Token * _literal_1;
23299|  5.13k|        Token * type_comment_var;
23300|  5.13k|        if (
23301|  5.13k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (23301:13): [True: 707, False: 4.42k]
  ------------------
23302|    707|            &&
23303|    707|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (23303:13): [True: 139, False: 568]
  ------------------
23304|    139|            &&
23305|    139|            (type_comment_var = _PyPegen_expect_token(p, TYPE_COMMENT))  // token='TYPE_COMMENT'
  ------------------
  |  |   73|    139|#define TYPE_COMMENT    57
  ------------------
  |  Branch (23305:13): [True: 1, False: 138]
  ------------------
23306|  5.13k|        )
23307|      1|        {
23308|      1|            D(fprintf(stderr, "%*c+ invalid_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' ',' TYPE_COMMENT"));
23309|      1|            _res = RAISE_SYNTAX_ERROR ( "bare * has associated type comment" );
  ------------------
  |  |  207|      1|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
23310|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23310:18): [True: 1, False: 0]
  |  Branch (23310:34): [True: 0, False: 0]
  |  Branch (23310:57): [True: 1, False: 0]
  ------------------
23311|      1|                p->error_indicator = 1;
23312|      1|                p->level--;
23313|      1|                return NULL;
23314|      1|            }
23315|      0|            goto done;
23316|      1|        }
23317|  5.13k|        p->mark = _mark;
23318|  5.13k|        D(fprintf(stderr, "%*c%s invalid_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
23319|  5.13k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' ',' TYPE_COMMENT"));
23320|  5.13k|    }
23321|      0|    { // '*' param '='
23322|  5.13k|        if (p->error_indicator) {
  ------------------
  |  Branch (23322:13): [True: 0, False: 5.13k]
  ------------------
23323|      0|            p->level--;
23324|      0|            return NULL;
23325|      0|        }
23326|  5.13k|        D(fprintf(stderr, "%*c> invalid_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' param '='"));
23327|  5.13k|        Token * _literal;
23328|  5.13k|        Token * a;
23329|  5.13k|        arg_ty param_var;
23330|  5.13k|        if (
23331|  5.13k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (23331:13): [True: 706, False: 4.42k]
  ------------------
23332|    706|            &&
23333|    706|            (param_var = param_rule(p))  // param
  ------------------
  |  Branch (23333:13): [True: 559, False: 147]
  ------------------
23334|    559|            &&
23335|    559|            (a = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (23335:13): [True: 1, False: 558]
  ------------------
23336|  5.13k|        )
23337|      1|        {
23338|      1|            D(fprintf(stderr, "%*c+ invalid_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' param '='"));
23339|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "var-positional parameter cannot have default value" );
  ------------------
  |  |  213|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23340|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23340:18): [True: 1, False: 0]
  |  Branch (23340:34): [True: 0, False: 0]
  |  Branch (23340:57): [True: 1, False: 0]
  ------------------
23341|      1|                p->error_indicator = 1;
23342|      1|                p->level--;
23343|      1|                return NULL;
23344|      1|            }
23345|      0|            goto done;
23346|      1|        }
23347|  5.13k|        p->mark = _mark;
23348|  5.13k|        D(fprintf(stderr, "%*c%s invalid_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
23349|  5.13k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' param '='"));
23350|  5.13k|    }
23351|      0|    { // '*' (param_no_default | ',') param_maybe_default* '*' (param_no_default | ',')
23352|  5.13k|        if (p->error_indicator) {
  ------------------
  |  Branch (23352:13): [True: 0, False: 5.13k]
  ------------------
23353|      0|            p->level--;
23354|      0|            return NULL;
23355|      0|        }
23356|  5.13k|        D(fprintf(stderr, "%*c> invalid_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' (param_no_default | ',') param_maybe_default* '*' (param_no_default | ',')"));
23357|  5.13k|        Token * _literal;
23358|  5.13k|        asdl_seq * _loop0_31_var;
23359|  5.13k|        void *_tmp_128_var;
23360|  5.13k|        void *_tmp_128_var_1;
23361|  5.13k|        Token * a;
23362|  5.13k|        if (
23363|  5.13k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (23363:13): [True: 705, False: 4.42k]
  ------------------
23364|    705|            &&
23365|    705|            (_tmp_128_var = _tmp_128_rule(p))  // param_no_default | ','
  ------------------
  |  Branch (23365:13): [True: 492, False: 213]
  ------------------
23366|    492|            &&
23367|    492|            (_loop0_31_var = _loop0_31_rule(p))  // param_maybe_default*
  ------------------
  |  Branch (23367:13): [True: 492, False: 0]
  ------------------
23368|    492|            &&
23369|    492|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (23369:13): [True: 9, False: 483]
  ------------------
23370|      9|            &&
23371|      9|            (_tmp_128_var_1 = _tmp_128_rule(p))  // param_no_default | ','
  ------------------
  |  Branch (23371:13): [True: 1, False: 8]
  ------------------
23372|  5.13k|        )
23373|      1|        {
23374|      1|            D(fprintf(stderr, "%*c+ invalid_star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' (param_no_default | ',') param_maybe_default* '*' (param_no_default | ',')"));
23375|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "* may appear only once" );
  ------------------
  |  |  213|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23376|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23376:18): [True: 1, False: 0]
  |  Branch (23376:34): [True: 0, False: 0]
  |  Branch (23376:57): [True: 1, False: 0]
  ------------------
23377|      1|                p->error_indicator = 1;
23378|      1|                p->level--;
23379|      1|                return NULL;
23380|      1|            }
23381|      0|            goto done;
23382|      1|        }
23383|  5.12k|        p->mark = _mark;
23384|  5.12k|        D(fprintf(stderr, "%*c%s invalid_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
23385|  5.12k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' (param_no_default | ',') param_maybe_default* '*' (param_no_default | ',')"));
23386|  5.12k|    }
23387|  5.12k|    _res = NULL;
23388|  5.12k|  done:
23389|  5.12k|    p->level--;
23390|  5.12k|    return _res;
23391|  5.12k|}
parser.c:_tmp_127_rule:
36535|    711|{
36536|    711|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.42k|#  define MAXSTACK 6000
  ------------------
  |  Branch (36536:9): [True: 0, False: 711]
  |  Branch (36536:35): [True: 0, False: 711]
  ------------------
36537|      0|        _Pypegen_stack_overflow(p);
36538|      0|    }
36539|    711|    if (p->error_indicator) {
  ------------------
  |  Branch (36539:9): [True: 0, False: 711]
  ------------------
36540|      0|        p->level--;
36541|      0|        return NULL;
36542|      0|    }
36543|    711|    void * _res = NULL;
36544|    711|    int _mark = p->mark;
36545|    711|    { // ')'
36546|    711|        if (p->error_indicator) {
  ------------------
  |  Branch (36546:13): [True: 0, False: 711]
  ------------------
36547|      0|            p->level--;
36548|      0|            return NULL;
36549|      0|        }
36550|    711|        D(fprintf(stderr, "%*c> _tmp_127[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "')'"));
36551|    711|        Token * _literal;
36552|    711|        if (
36553|    711|            (_literal = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (36553:13): [True: 1, False: 710]
  ------------------
36554|    711|        )
36555|      1|        {
36556|      1|            D(fprintf(stderr, "%*c+ _tmp_127[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "')'"));
36557|      1|            _res = _literal;
36558|      1|            goto done;
36559|      1|        }
36560|    710|        p->mark = _mark;
36561|    710|        D(fprintf(stderr, "%*c%s _tmp_127[%d-%d]: %s failed!\n", p->level, ' ',
36562|    710|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "')'"));
36563|    710|    }
36564|      0|    { // ',' (')' | '**')
36565|    710|        if (p->error_indicator) {
  ------------------
  |  Branch (36565:13): [True: 0, False: 710]
  ------------------
36566|      0|            p->level--;
36567|      0|            return NULL;
36568|      0|        }
36569|    710|        D(fprintf(stderr, "%*c> _tmp_127[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' (')' | '**')"));
36570|    710|        Token * _literal;
36571|    710|        void *_tmp_172_var;
36572|    710|        if (
36573|    710|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (36573:13): [True: 142, False: 568]
  ------------------
36574|    142|            &&
36575|    142|            (_tmp_172_var = _tmp_172_rule(p))  // ')' | '**'
  ------------------
  |  Branch (36575:13): [True: 3, False: 139]
  ------------------
36576|    710|        )
36577|      3|        {
36578|      3|            D(fprintf(stderr, "%*c+ _tmp_127[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' (')' | '**')"));
36579|      3|            _res = _PyPegen_dummy_name(p, _literal, _tmp_172_var);
36580|      3|            goto done;
36581|      3|        }
36582|    707|        p->mark = _mark;
36583|    707|        D(fprintf(stderr, "%*c%s _tmp_127[%d-%d]: %s failed!\n", p->level, ' ',
36584|    707|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' (')' | '**')"));
36585|    707|    }
36586|    707|    _res = NULL;
36587|    711|  done:
36588|    711|    p->level--;
36589|    711|    return _res;
36590|    707|}
parser.c:_tmp_172_rule:
39109|    142|{
39110|    142|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    284|#  define MAXSTACK 6000
  ------------------
  |  Branch (39110:9): [True: 0, False: 142]
  |  Branch (39110:35): [True: 0, False: 142]
  ------------------
39111|      0|        _Pypegen_stack_overflow(p);
39112|      0|    }
39113|    142|    if (p->error_indicator) {
  ------------------
  |  Branch (39113:9): [True: 0, False: 142]
  ------------------
39114|      0|        p->level--;
39115|      0|        return NULL;
39116|      0|    }
39117|    142|    void * _res = NULL;
39118|    142|    int _mark = p->mark;
39119|    142|    { // ')'
39120|    142|        if (p->error_indicator) {
  ------------------
  |  Branch (39120:13): [True: 0, False: 142]
  ------------------
39121|      0|            p->level--;
39122|      0|            return NULL;
39123|      0|        }
39124|    142|        D(fprintf(stderr, "%*c> _tmp_172[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "')'"));
39125|    142|        Token * _literal;
39126|    142|        if (
39127|    142|            (_literal = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (39127:13): [True: 1, False: 141]
  ------------------
39128|    142|        )
39129|      1|        {
39130|      1|            D(fprintf(stderr, "%*c+ _tmp_172[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "')'"));
39131|      1|            _res = _literal;
39132|      1|            goto done;
39133|      1|        }
39134|    141|        p->mark = _mark;
39135|    141|        D(fprintf(stderr, "%*c%s _tmp_172[%d-%d]: %s failed!\n", p->level, ' ',
39136|    141|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "')'"));
39137|    141|    }
39138|      0|    { // '**'
39139|    141|        if (p->error_indicator) {
  ------------------
  |  Branch (39139:13): [True: 0, False: 141]
  ------------------
39140|      0|            p->level--;
39141|      0|            return NULL;
39142|      0|        }
39143|    141|        D(fprintf(stderr, "%*c> _tmp_172[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**'"));
39144|    141|        Token * _literal;
39145|    141|        if (
39146|    141|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (39146:13): [True: 2, False: 139]
  ------------------
39147|    141|        )
39148|      2|        {
39149|      2|            D(fprintf(stderr, "%*c+ _tmp_172[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**'"));
39150|      2|            _res = _literal;
39151|      2|            goto done;
39152|      2|        }
39153|    139|        p->mark = _mark;
39154|    139|        D(fprintf(stderr, "%*c%s _tmp_172[%d-%d]: %s failed!\n", p->level, ' ',
39155|    139|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**'"));
39156|    139|    }
39157|    139|    _res = NULL;
39158|    142|  done:
39159|    142|    p->level--;
39160|    142|    return _res;
39161|    139|}
parser.c:_tmp_128_rule:
36595|    714|{
36596|    714|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.42k|#  define MAXSTACK 6000
  ------------------
  |  Branch (36596:9): [True: 0, False: 714]
  |  Branch (36596:35): [True: 0, False: 714]
  ------------------
36597|      0|        _Pypegen_stack_overflow(p);
36598|      0|    }
36599|    714|    if (p->error_indicator) {
  ------------------
  |  Branch (36599:9): [True: 0, False: 714]
  ------------------
36600|      0|        p->level--;
36601|      0|        return NULL;
36602|      0|    }
36603|    714|    void * _res = NULL;
36604|    714|    int _mark = p->mark;
36605|    714|    { // param_no_default
36606|    714|        if (p->error_indicator) {
  ------------------
  |  Branch (36606:13): [True: 0, False: 714]
  ------------------
36607|      0|            p->level--;
36608|      0|            return NULL;
36609|      0|        }
36610|    714|        D(fprintf(stderr, "%*c> _tmp_128[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default"));
36611|    714|        arg_ty param_no_default_var;
36612|    714|        if (
36613|    714|            (param_no_default_var = param_no_default_rule(p))  // param_no_default
  ------------------
  |  Branch (36613:13): [True: 355, False: 359]
  ------------------
36614|    714|        )
36615|    355|        {
36616|    355|            D(fprintf(stderr, "%*c+ _tmp_128[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default"));
36617|    355|            _res = param_no_default_var;
36618|    355|            goto done;
36619|    355|        }
36620|    359|        p->mark = _mark;
36621|    359|        D(fprintf(stderr, "%*c%s _tmp_128[%d-%d]: %s failed!\n", p->level, ' ',
36622|    359|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default"));
36623|    359|    }
36624|      0|    { // ','
36625|    359|        if (p->error_indicator) {
  ------------------
  |  Branch (36625:13): [True: 2, False: 357]
  ------------------
36626|      2|            p->level--;
36627|      2|            return NULL;
36628|      2|        }
36629|    357|        D(fprintf(stderr, "%*c> _tmp_128[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','"));
36630|    357|        Token * _literal;
36631|    357|        if (
36632|    357|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (36632:13): [True: 138, False: 219]
  ------------------
36633|    357|        )
36634|    138|        {
36635|    138|            D(fprintf(stderr, "%*c+ _tmp_128[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','"));
36636|    138|            _res = _literal;
36637|    138|            goto done;
36638|    138|        }
36639|    219|        p->mark = _mark;
36640|    219|        D(fprintf(stderr, "%*c%s _tmp_128[%d-%d]: %s failed!\n", p->level, ' ',
36641|    219|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','"));
36642|    219|    }
36643|    219|    _res = NULL;
36644|    712|  done:
36645|    712|    p->level--;
36646|    712|    return _res;
36647|    219|}
parser.c:kwds_rule:
 5391|  17.4k|{
 5392|  17.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  34.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5392:9): [True: 0, False: 17.4k]
  |  Branch (5392:35): [True: 0, False: 17.4k]
  ------------------
 5393|      0|        _Pypegen_stack_overflow(p);
 5394|      0|    }
 5395|  17.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (5395:9): [True: 3, False: 17.4k]
  ------------------
 5396|      3|        p->level--;
 5397|      3|        return NULL;
 5398|      3|    }
 5399|  17.4k|    arg_ty _res = NULL;
 5400|  17.4k|    int _mark = p->mark;
 5401|  17.4k|    if (p->call_invalid_rules) { // invalid_kwds
  ------------------
  |  Branch (5401:9): [True: 5.12k, False: 12.3k]
  ------------------
 5402|  5.12k|        if (p->error_indicator) {
  ------------------
  |  Branch (5402:13): [True: 0, False: 5.12k]
  ------------------
 5403|      0|            p->level--;
 5404|      0|            return NULL;
 5405|      0|        }
 5406|  5.12k|        D(fprintf(stderr, "%*c> kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_kwds"));
 5407|  5.12k|        void *invalid_kwds_var;
 5408|  5.12k|        if (
 5409|  5.12k|            (invalid_kwds_var = invalid_kwds_rule(p))  // invalid_kwds
  ------------------
  |  Branch (5409:13): [True: 0, False: 5.12k]
  ------------------
 5410|  5.12k|        )
 5411|      0|        {
 5412|      0|            D(fprintf(stderr, "%*c+ kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_kwds"));
 5413|      0|            _res = invalid_kwds_var;
 5414|      0|            goto done;
 5415|      0|        }
 5416|  5.12k|        p->mark = _mark;
 5417|  5.12k|        D(fprintf(stderr, "%*c%s kwds[%d-%d]: %s failed!\n", p->level, ' ',
 5418|  5.12k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_kwds"));
 5419|  5.12k|    }
 5420|  17.4k|    { // '**' param_no_default
 5421|  17.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (5421:13): [True: 9, False: 17.4k]
  ------------------
 5422|      9|            p->level--;
 5423|      9|            return NULL;
 5424|      9|        }
 5425|  17.4k|        D(fprintf(stderr, "%*c> kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' param_no_default"));
 5426|  17.4k|        Token * _literal;
 5427|  17.4k|        arg_ty a;
 5428|  17.4k|        if (
 5429|  17.4k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (5429:13): [True: 3.24k, False: 14.2k]
  ------------------
 5430|  3.24k|            &&
 5431|  3.24k|            (a = param_no_default_rule(p))  // param_no_default
  ------------------
  |  Branch (5431:13): [True: 3.20k, False: 42]
  ------------------
 5432|  17.4k|        )
 5433|  3.20k|        {
 5434|  3.20k|            D(fprintf(stderr, "%*c+ kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' param_no_default"));
 5435|  3.20k|            _res = a;
 5436|  3.20k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5436:18): [True: 0, False: 3.20k]
  |  Branch (5436:34): [True: 0, False: 3.20k]
  |  Branch (5436:57): [True: 0, False: 0]
  ------------------
 5437|      0|                p->error_indicator = 1;
 5438|      0|                p->level--;
 5439|      0|                return NULL;
 5440|      0|            }
 5441|  3.20k|            goto done;
 5442|  3.20k|        }
 5443|  14.2k|        p->mark = _mark;
 5444|  14.2k|        D(fprintf(stderr, "%*c%s kwds[%d-%d]: %s failed!\n", p->level, ' ',
 5445|  14.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' param_no_default"));
 5446|  14.2k|    }
 5447|  14.2k|    _res = NULL;
 5448|  17.4k|  done:
 5449|  17.4k|    p->level--;
 5450|  17.4k|    return _res;
 5451|  14.2k|}
parser.c:invalid_kwds_rule:
23396|  5.12k|{
23397|  5.12k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  10.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23397:9): [True: 0, False: 5.12k]
  |  Branch (23397:35): [True: 0, False: 5.12k]
  ------------------
23398|      0|        _Pypegen_stack_overflow(p);
23399|      0|    }
23400|  5.12k|    if (p->error_indicator) {
  ------------------
  |  Branch (23400:9): [True: 0, False: 5.12k]
  ------------------
23401|      0|        p->level--;
23402|      0|        return NULL;
23403|      0|    }
23404|  5.12k|    void * _res = NULL;
23405|  5.12k|    int _mark = p->mark;
23406|  5.12k|    { // '**' param '='
23407|  5.12k|        if (p->error_indicator) {
  ------------------
  |  Branch (23407:13): [True: 0, False: 5.12k]
  ------------------
23408|      0|            p->level--;
23409|      0|            return NULL;
23410|      0|        }
23411|  5.12k|        D(fprintf(stderr, "%*c> invalid_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' param '='"));
23412|  5.12k|        Token * _literal;
23413|  5.12k|        Token * a;
23414|  5.12k|        arg_ty param_var;
23415|  5.12k|        if (
23416|  5.12k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (23416:13): [True: 1.38k, False: 3.73k]
  ------------------
23417|  1.38k|            &&
23418|  1.38k|            (param_var = param_rule(p))  // param
  ------------------
  |  Branch (23418:13): [True: 1.37k, False: 17]
  ------------------
23419|  1.37k|            &&
23420|  1.37k|            (a = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (23420:13): [True: 1, False: 1.37k]
  ------------------
23421|  5.12k|        )
23422|      1|        {
23423|      1|            D(fprintf(stderr, "%*c+ invalid_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' param '='"));
23424|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "var-keyword parameter cannot have default value" );
  ------------------
  |  |  213|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23425|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23425:18): [True: 1, False: 0]
  |  Branch (23425:34): [True: 0, False: 0]
  |  Branch (23425:57): [True: 1, False: 0]
  ------------------
23426|      1|                p->error_indicator = 1;
23427|      1|                p->level--;
23428|      1|                return NULL;
23429|      1|            }
23430|      0|            goto done;
23431|      1|        }
23432|  5.12k|        p->mark = _mark;
23433|  5.12k|        D(fprintf(stderr, "%*c%s invalid_kwds[%d-%d]: %s failed!\n", p->level, ' ',
23434|  5.12k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' param '='"));
23435|  5.12k|    }
23436|      0|    { // '**' param ',' param
23437|  5.12k|        if (p->error_indicator) {
  ------------------
  |  Branch (23437:13): [True: 2, False: 5.12k]
  ------------------
23438|      2|            p->level--;
23439|      2|            return NULL;
23440|      2|        }
23441|  5.12k|        D(fprintf(stderr, "%*c> invalid_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' param ',' param"));
23442|  5.12k|        Token * _literal;
23443|  5.12k|        Token * _literal_1;
23444|  5.12k|        arg_ty a;
23445|  5.12k|        arg_ty param_var;
23446|  5.12k|        if (
23447|  5.12k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (23447:13): [True: 1.38k, False: 3.73k]
  ------------------
23448|  1.38k|            &&
23449|  1.38k|            (param_var = param_rule(p))  // param
  ------------------
  |  Branch (23449:13): [True: 1.37k, False: 15]
  ------------------
23450|  1.37k|            &&
23451|  1.37k|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (23451:13): [True: 225, False: 1.14k]
  ------------------
23452|    225|            &&
23453|    225|            (a = param_rule(p))  // param
  ------------------
  |  Branch (23453:13): [True: 3, False: 222]
  ------------------
23454|  5.12k|        )
23455|      3|        {
23456|      3|            D(fprintf(stderr, "%*c+ invalid_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' param ',' param"));
23457|      3|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "parameters cannot follow var-keyword parameter" );
  ------------------
  |  |  213|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23458|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23458:18): [True: 3, False: 0]
  |  Branch (23458:34): [True: 0, False: 0]
  |  Branch (23458:57): [True: 3, False: 0]
  ------------------
23459|      3|                p->error_indicator = 1;
23460|      3|                p->level--;
23461|      3|                return NULL;
23462|      3|            }
23463|      0|            goto done;
23464|      3|        }
23465|  5.11k|        p->mark = _mark;
23466|  5.11k|        D(fprintf(stderr, "%*c%s invalid_kwds[%d-%d]: %s failed!\n", p->level, ' ',
23467|  5.11k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' param ',' param"));
23468|  5.11k|    }
23469|      0|    { // '**' param ',' ('*' | '**' | '/')
23470|  5.11k|        if (p->error_indicator) {
  ------------------
  |  Branch (23470:13): [True: 1, False: 5.11k]
  ------------------
23471|      1|            p->level--;
23472|      1|            return NULL;
23473|      1|        }
23474|  5.11k|        D(fprintf(stderr, "%*c> invalid_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' param ',' ('*' | '**' | '/')"));
23475|  5.11k|        Token * _literal;
23476|  5.11k|        Token * _literal_1;
23477|  5.11k|        Token* a;
23478|  5.11k|        arg_ty param_var;
23479|  5.11k|        if (
23480|  5.11k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (23480:13): [True: 1.38k, False: 3.73k]
  ------------------
23481|  1.38k|            &&
23482|  1.38k|            (param_var = param_rule(p))  // param
  ------------------
  |  Branch (23482:13): [True: 1.36k, False: 15]
  ------------------
23483|  1.36k|            &&
23484|  1.36k|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (23484:13): [True: 221, False: 1.14k]
  ------------------
23485|    221|            &&
23486|    221|            (a = (Token*)_tmp_129_rule(p))  // '*' | '**' | '/'
  ------------------
  |  Branch (23486:13): [True: 2, False: 219]
  ------------------
23487|  5.11k|        )
23488|      2|        {
23489|      2|            D(fprintf(stderr, "%*c+ invalid_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' param ',' ('*' | '**' | '/')"));
23490|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "parameters cannot follow var-keyword parameter" );
  ------------------
  |  |  213|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
23491|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (23491:18): [True: 2, False: 0]
  |  Branch (23491:34): [True: 0, False: 0]
  |  Branch (23491:57): [True: 2, False: 0]
  ------------------
23492|      2|                p->error_indicator = 1;
23493|      2|                p->level--;
23494|      2|                return NULL;
23495|      2|            }
23496|      0|            goto done;
23497|      2|        }
23498|  5.11k|        p->mark = _mark;
23499|  5.11k|        D(fprintf(stderr, "%*c%s invalid_kwds[%d-%d]: %s failed!\n", p->level, ' ',
23500|  5.11k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' param ',' ('*' | '**' | '/')"));
23501|  5.11k|    }
23502|  5.11k|    _res = NULL;
23503|  5.11k|  done:
23504|  5.11k|    p->level--;
23505|  5.11k|    return _res;
23506|  5.11k|}
parser.c:param_no_default_star_annotation_rule:
 5536|    828|{
 5537|    828|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.65k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5537:9): [True: 0, False: 828]
  |  Branch (5537:35): [True: 0, False: 828]
  ------------------
 5538|      0|        _Pypegen_stack_overflow(p);
 5539|      0|    }
 5540|    828|    if (p->error_indicator) {
  ------------------
  |  Branch (5540:9): [True: 0, False: 828]
  ------------------
 5541|      0|        p->level--;
 5542|      0|        return NULL;
 5543|      0|    }
 5544|    828|    arg_ty _res = NULL;
 5545|    828|    int _mark = p->mark;
 5546|    828|    { // param_star_annotation ',' TYPE_COMMENT?
 5547|    828|        if (p->error_indicator) {
  ------------------
  |  Branch (5547:13): [True: 0, False: 828]
  ------------------
 5548|      0|            p->level--;
 5549|      0|            return NULL;
 5550|      0|        }
 5551|    828|        D(fprintf(stderr, "%*c> param_no_default_star_annotation[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_star_annotation ',' TYPE_COMMENT?"));
 5552|    828|        Token * _literal;
 5553|    828|        arg_ty a;
 5554|    828|        void *tc;
 5555|    828|        if (
 5556|    828|            (a = param_star_annotation_rule(p))  // param_star_annotation
  ------------------
  |  Branch (5556:13): [True: 558, False: 270]
  ------------------
 5557|    558|            &&
 5558|    558|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5558:13): [True: 20, False: 538]
  ------------------
 5559|     20|            &&
 5560|     20|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|     20|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5560:13): [True: 19, False: 1]
  ------------------
 5561|    828|        )
 5562|     19|        {
 5563|     19|            D(fprintf(stderr, "%*c+ param_no_default_star_annotation[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_star_annotation ',' TYPE_COMMENT?"));
 5564|     19|            _res = _PyPegen_add_type_comment_to_arg ( p , a , tc );
 5565|     19|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5565:18): [True: 1, False: 18]
  |  Branch (5565:34): [True: 0, False: 18]
  |  Branch (5565:57): [True: 1, False: 0]
  ------------------
 5566|      1|                p->error_indicator = 1;
 5567|      1|                p->level--;
 5568|      1|                return NULL;
 5569|      1|            }
 5570|     18|            goto done;
 5571|     19|        }
 5572|    809|        p->mark = _mark;
 5573|    809|        D(fprintf(stderr, "%*c%s param_no_default_star_annotation[%d-%d]: %s failed!\n", p->level, ' ',
 5574|    809|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_star_annotation ',' TYPE_COMMENT?"));
 5575|    809|    }
 5576|      0|    { // param_star_annotation TYPE_COMMENT? &')'
 5577|    809|        if (p->error_indicator) {
  ------------------
  |  Branch (5577:13): [True: 3, False: 806]
  ------------------
 5578|      3|            p->level--;
 5579|      3|            return NULL;
 5580|      3|        }
 5581|    806|        D(fprintf(stderr, "%*c> param_no_default_star_annotation[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_star_annotation TYPE_COMMENT? &')'"));
 5582|    806|        arg_ty a;
 5583|    806|        void *tc;
 5584|    806|        if (
 5585|    806|            (a = param_star_annotation_rule(p))  // param_star_annotation
  ------------------
  |  Branch (5585:13): [True: 538, False: 268]
  ------------------
 5586|    538|            &&
 5587|    538|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|    538|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5587:13): [True: 538, False: 0]
  ------------------
 5588|    538|            &&
 5589|    538|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (5589:13): [True: 518, False: 20]
  ------------------
 5590|    806|        )
 5591|    518|        {
 5592|    518|            D(fprintf(stderr, "%*c+ param_no_default_star_annotation[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_star_annotation TYPE_COMMENT? &')'"));
 5593|    518|            _res = _PyPegen_add_type_comment_to_arg ( p , a , tc );
 5594|    518|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5594:18): [True: 0, False: 518]
  |  Branch (5594:34): [True: 0, False: 518]
  |  Branch (5594:57): [True: 0, False: 0]
  ------------------
 5595|      0|                p->error_indicator = 1;
 5596|      0|                p->level--;
 5597|      0|                return NULL;
 5598|      0|            }
 5599|    518|            goto done;
 5600|    518|        }
 5601|    288|        p->mark = _mark;
 5602|    288|        D(fprintf(stderr, "%*c%s param_no_default_star_annotation[%d-%d]: %s failed!\n", p->level, ' ',
 5603|    288|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_star_annotation TYPE_COMMENT? &')'"));
 5604|    288|    }
 5605|    288|    _res = NULL;
 5606|    824|  done:
 5607|    824|    p->level--;
 5608|    824|    return _res;
 5609|    288|}
parser.c:param_star_annotation_rule:
 5848|  1.63k|{
 5849|  1.63k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.26k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5849:9): [True: 0, False: 1.63k]
  |  Branch (5849:35): [True: 0, False: 1.63k]
  ------------------
 5850|      0|        _Pypegen_stack_overflow(p);
 5851|      0|    }
 5852|  1.63k|    if (p->error_indicator) {
  ------------------
  |  Branch (5852:9): [True: 0, False: 1.63k]
  ------------------
 5853|      0|        p->level--;
 5854|      0|        return NULL;
 5855|      0|    }
 5856|  1.63k|    arg_ty _res = NULL;
 5857|  1.63k|    int _mark = p->mark;
 5858|  1.63k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (5858:9): [True: 0, False: 1.63k]
  |  Branch (5858:31): [True: 0, False: 0]
  ------------------
 5859|      0|        p->error_indicator = 1;
 5860|      0|        p->level--;
 5861|      0|        return NULL;
 5862|      0|    }
 5863|  1.63k|    int _start_lineno = p->tokens[_mark]->lineno;
 5864|  1.63k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.63k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.63k]
  |  |  ------------------
  ------------------
 5865|  1.63k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 5866|  1.63k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.63k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.63k]
  |  |  ------------------
  ------------------
 5867|  1.63k|    { // NAME star_annotation
 5868|  1.63k|        if (p->error_indicator) {
  ------------------
  |  Branch (5868:13): [True: 0, False: 1.63k]
  ------------------
 5869|      0|            p->level--;
 5870|      0|            return NULL;
 5871|      0|        }
 5872|  1.63k|        D(fprintf(stderr, "%*c> param_star_annotation[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME star_annotation"));
 5873|  1.63k|        expr_ty a;
 5874|  1.63k|        expr_ty b;
 5875|  1.63k|        if (
 5876|  1.63k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (5876:13): [True: 1.14k, False: 488]
  ------------------
 5877|  1.14k|            &&
 5878|  1.14k|            (b = star_annotation_rule(p))  // star_annotation
  ------------------
  |  Branch (5878:13): [True: 1.09k, False: 50]
  ------------------
 5879|  1.63k|        )
 5880|  1.09k|        {
 5881|  1.09k|            D(fprintf(stderr, "%*c+ param_star_annotation[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME star_annotation"));
 5882|  1.09k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 5883|  1.09k|            if (_token == NULL) {
  ------------------
  |  Branch (5883:17): [True: 0, False: 1.09k]
  ------------------
 5884|      0|                p->level--;
 5885|      0|                return NULL;
 5886|      0|            }
 5887|  1.09k|            int _end_lineno = _token->end_lineno;
 5888|  1.09k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.09k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.09k]
  |  |  ------------------
  ------------------
 5889|  1.09k|            int _end_col_offset = _token->end_col_offset;
 5890|  1.09k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.09k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.09k]
  |  |  ------------------
  ------------------
 5891|  1.09k|            _res = _PyAST_arg ( a -> v . Name . id , b , NULL , EXTRA );
  ------------------
  |  |  281|  1.09k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 5892|  1.09k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5892:18): [True: 0, False: 1.09k]
  |  Branch (5892:34): [True: 0, False: 1.09k]
  |  Branch (5892:57): [True: 0, False: 0]
  ------------------
 5893|      0|                p->error_indicator = 1;
 5894|      0|                p->level--;
 5895|      0|                return NULL;
 5896|      0|            }
 5897|  1.09k|            goto done;
 5898|  1.09k|        }
 5899|    538|        p->mark = _mark;
 5900|    538|        D(fprintf(stderr, "%*c%s param_star_annotation[%d-%d]: %s failed!\n", p->level, ' ',
 5901|    538|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME star_annotation"));
 5902|    538|    }
 5903|    538|    _res = NULL;
 5904|  1.63k|  done:
 5905|  1.63k|    p->level--;
 5906|  1.63k|    return _res;
 5907|    538|}
parser.c:star_annotation_rule:
 5958|  1.14k|{
 5959|  1.14k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.29k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5959:9): [True: 0, False: 1.14k]
  |  Branch (5959:35): [True: 0, False: 1.14k]
  ------------------
 5960|      0|        _Pypegen_stack_overflow(p);
 5961|      0|    }
 5962|  1.14k|    if (p->error_indicator) {
  ------------------
  |  Branch (5962:9): [True: 0, False: 1.14k]
  ------------------
 5963|      0|        p->level--;
 5964|      0|        return NULL;
 5965|      0|    }
 5966|  1.14k|    expr_ty _res = NULL;
 5967|  1.14k|    int _mark = p->mark;
 5968|  1.14k|    { // ':' star_expression
 5969|  1.14k|        if (p->error_indicator) {
  ------------------
  |  Branch (5969:13): [True: 0, False: 1.14k]
  ------------------
 5970|      0|            p->level--;
 5971|      0|            return NULL;
 5972|      0|        }
 5973|  1.14k|        D(fprintf(stderr, "%*c> star_annotation[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':' star_expression"));
 5974|  1.14k|        Token * _literal;
 5975|  1.14k|        expr_ty a;
 5976|  1.14k|        if (
 5977|  1.14k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (5977:13): [True: 1.12k, False: 24]
  ------------------
 5978|  1.12k|            &&
 5979|  1.12k|            (a = star_expression_rule(p))  // star_expression
  ------------------
  |  Branch (5979:13): [True: 1.09k, False: 26]
  ------------------
 5980|  1.14k|        )
 5981|  1.09k|        {
 5982|  1.09k|            D(fprintf(stderr, "%*c+ star_annotation[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':' star_expression"));
 5983|  1.09k|            _res = a;
 5984|  1.09k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5984:18): [True: 0, False: 1.09k]
  |  Branch (5984:34): [True: 0, False: 1.09k]
  |  Branch (5984:57): [True: 0, False: 0]
  ------------------
 5985|      0|                p->error_indicator = 1;
 5986|      0|                p->level--;
 5987|      0|                return NULL;
 5988|      0|            }
 5989|  1.09k|            goto done;
 5990|  1.09k|        }
 5991|     50|        p->mark = _mark;
 5992|     50|        D(fprintf(stderr, "%*c%s star_annotation[%d-%d]: %s failed!\n", p->level, ' ',
 5993|     50|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':' star_expression"));
 5994|     50|    }
 5995|     50|    _res = NULL;
 5996|  1.14k|  done:
 5997|  1.14k|    p->level--;
 5998|  1.14k|    return _res;
 5999|     50|}
parser.c:_tmp_26_rule:
30161|  17.1k|{
30162|  17.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  34.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (30162:9): [True: 0, False: 17.1k]
  |  Branch (30162:35): [True: 0, False: 17.1k]
  ------------------
30163|      0|        _Pypegen_stack_overflow(p);
30164|      0|    }
30165|  17.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (30165:9): [True: 0, False: 17.1k]
  ------------------
30166|      0|        p->level--;
30167|      0|        return NULL;
30168|      0|    }
30169|  17.1k|    void * _res = NULL;
30170|  17.1k|    int _mark = p->mark;
30171|  17.1k|    { // '->' expression
30172|  17.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (30172:13): [True: 0, False: 17.1k]
  ------------------
30173|      0|            p->level--;
30174|      0|            return NULL;
30175|      0|        }
30176|  17.1k|        D(fprintf(stderr, "%*c> _tmp_26[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'->' expression"));
30177|  17.1k|        Token * _literal;
30178|  17.1k|        expr_ty z;
30179|  17.1k|        if (
30180|  17.1k|            (_literal = _PyPegen_expect_token(p, 51))  // token='->'
  ------------------
  |  Branch (30180:13): [True: 5.20k, False: 11.9k]
  ------------------
30181|  5.20k|            &&
30182|  5.20k|            (z = expression_rule(p))  // expression
  ------------------
  |  Branch (30182:13): [True: 5.17k, False: 21]
  ------------------
30183|  17.1k|        )
30184|  5.17k|        {
30185|  5.17k|            D(fprintf(stderr, "%*c+ _tmp_26[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'->' expression"));
30186|  5.17k|            _res = z;
30187|  5.17k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (30187:18): [True: 0, False: 5.17k]
  |  Branch (30187:34): [True: 0, False: 5.17k]
  |  Branch (30187:57): [True: 0, False: 0]
  ------------------
30188|      0|                p->error_indicator = 1;
30189|      0|                p->level--;
30190|      0|                return NULL;
30191|      0|            }
30192|  5.17k|            goto done;
30193|  5.17k|        }
30194|  11.9k|        p->mark = _mark;
30195|  11.9k|        D(fprintf(stderr, "%*c%s _tmp_26[%d-%d]: %s failed!\n", p->level, ' ',
30196|  11.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'->' expression"));
30197|  11.9k|    }
30198|  11.9k|    _res = NULL;
30199|  17.1k|  done:
30200|  17.1k|    p->level--;
30201|  17.1k|    return _res;
30202|  11.9k|}
parser.c:func_type_comment_rule:
20988|  14.6k|{
20989|  14.6k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  29.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20989:9): [True: 0, False: 14.6k]
  |  Branch (20989:35): [True: 0, False: 14.6k]
  ------------------
20990|      0|        _Pypegen_stack_overflow(p);
20991|      0|    }
20992|  14.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (20992:9): [True: 0, False: 14.6k]
  ------------------
20993|      0|        p->level--;
20994|      0|        return NULL;
20995|      0|    }
20996|  14.6k|    Token* _res = NULL;
20997|  14.6k|    int _mark = p->mark;
20998|  14.6k|    { // NEWLINE TYPE_COMMENT &(NEWLINE INDENT)
20999|  14.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (20999:13): [True: 0, False: 14.6k]
  ------------------
21000|      0|            p->level--;
21001|      0|            return NULL;
21002|      0|        }
21003|  14.6k|        D(fprintf(stderr, "%*c> func_type_comment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE TYPE_COMMENT &(NEWLINE INDENT)"));
21004|  14.6k|        Token * newline_var;
21005|  14.6k|        Token * t;
21006|  14.6k|        if (
21007|  14.6k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  14.6k|#define NEWLINE         4
  ------------------
  |  Branch (21007:13): [True: 5.36k, False: 9.23k]
  ------------------
21008|  5.36k|            &&
21009|  5.36k|            (t = _PyPegen_expect_token(p, TYPE_COMMENT))  // token='TYPE_COMMENT'
  ------------------
  |  |   73|  5.36k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (21009:13): [True: 53, False: 5.31k]
  ------------------
21010|     53|            &&
21011|     53|            _PyPegen_lookahead(1, _tmp_106_rule, p)
  ------------------
  |  Branch (21011:13): [True: 50, False: 3]
  ------------------
21012|  14.6k|        )
21013|     50|        {
21014|     50|            D(fprintf(stderr, "%*c+ func_type_comment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NEWLINE TYPE_COMMENT &(NEWLINE INDENT)"));
21015|     50|            _res = t;
21016|     50|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (21016:18): [True: 0, False: 50]
  |  Branch (21016:34): [True: 0, False: 50]
  |  Branch (21016:57): [True: 0, False: 0]
  ------------------
21017|      0|                p->error_indicator = 1;
21018|      0|                p->level--;
21019|      0|                return NULL;
21020|      0|            }
21021|     50|            goto done;
21022|     50|        }
21023|  14.5k|        p->mark = _mark;
21024|  14.5k|        D(fprintf(stderr, "%*c%s func_type_comment[%d-%d]: %s failed!\n", p->level, ' ',
21025|  14.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE TYPE_COMMENT &(NEWLINE INDENT)"));
21026|  14.5k|    }
21027|  14.5k|    if (p->call_invalid_rules) { // invalid_double_type_comments
  ------------------
  |  Branch (21027:9): [True: 2.43k, False: 12.1k]
  ------------------
21028|  2.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (21028:13): [True: 0, False: 2.43k]
  ------------------
21029|      0|            p->level--;
21030|      0|            return NULL;
21031|      0|        }
21032|  2.43k|        D(fprintf(stderr, "%*c> func_type_comment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_double_type_comments"));
21033|  2.43k|        void *invalid_double_type_comments_var;
21034|  2.43k|        if (
21035|  2.43k|            (invalid_double_type_comments_var = invalid_double_type_comments_rule(p))  // invalid_double_type_comments
  ------------------
  |  Branch (21035:13): [True: 0, False: 2.43k]
  ------------------
21036|  2.43k|        )
21037|      0|        {
21038|      0|            D(fprintf(stderr, "%*c+ func_type_comment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_double_type_comments"));
21039|      0|            _res = invalid_double_type_comments_var;
21040|      0|            goto done;
21041|      0|        }
21042|  2.43k|        p->mark = _mark;
21043|  2.43k|        D(fprintf(stderr, "%*c%s func_type_comment[%d-%d]: %s failed!\n", p->level, ' ',
21044|  2.43k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_double_type_comments"));
21045|  2.43k|    }
21046|  14.5k|    { // TYPE_COMMENT
21047|  14.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (21047:13): [True: 4, False: 14.5k]
  ------------------
21048|      4|            p->level--;
21049|      4|            return NULL;
21050|      4|        }
21051|  14.5k|        D(fprintf(stderr, "%*c> func_type_comment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TYPE_COMMENT"));
21052|  14.5k|        Token * type_comment_var;
21053|  14.5k|        if (
21054|  14.5k|            (type_comment_var = _PyPegen_expect_token(p, TYPE_COMMENT))  // token='TYPE_COMMENT'
  ------------------
  |  |   73|  14.5k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (21054:13): [True: 362, False: 14.1k]
  ------------------
21055|  14.5k|        )
21056|    362|        {
21057|    362|            D(fprintf(stderr, "%*c+ func_type_comment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "TYPE_COMMENT"));
21058|    362|            _res = type_comment_var;
21059|    362|            goto done;
21060|    362|        }
21061|  14.1k|        p->mark = _mark;
21062|  14.1k|        D(fprintf(stderr, "%*c%s func_type_comment[%d-%d]: %s failed!\n", p->level, ' ',
21063|  14.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TYPE_COMMENT"));
21064|  14.1k|    }
21065|  14.1k|    _res = NULL;
21066|  14.6k|  done:
21067|  14.6k|    p->level--;
21068|  14.6k|    return _res;
21069|  14.1k|}
parser.c:_tmp_106_rule:
35226|     53|{
35227|     53|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    106|#  define MAXSTACK 6000
  ------------------
  |  Branch (35227:9): [True: 0, False: 53]
  |  Branch (35227:35): [True: 0, False: 53]
  ------------------
35228|      0|        _Pypegen_stack_overflow(p);
35229|      0|    }
35230|     53|    if (p->error_indicator) {
  ------------------
  |  Branch (35230:9): [True: 0, False: 53]
  ------------------
35231|      0|        p->level--;
35232|      0|        return NULL;
35233|      0|    }
35234|     53|    void * _res = NULL;
35235|     53|    int _mark = p->mark;
35236|     53|    { // NEWLINE INDENT
35237|     53|        if (p->error_indicator) {
  ------------------
  |  Branch (35237:13): [True: 0, False: 53]
  ------------------
35238|      0|            p->level--;
35239|      0|            return NULL;
35240|      0|        }
35241|     53|        D(fprintf(stderr, "%*c> _tmp_106[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE INDENT"));
35242|     53|        Token * indent_var;
35243|     53|        Token * newline_var;
35244|     53|        if (
35245|     53|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|     53|#define NEWLINE         4
  ------------------
  |  Branch (35245:13): [True: 53, False: 0]
  ------------------
35246|     53|            &&
35247|     53|            (indent_var = _PyPegen_expect_token(p, INDENT))  // token='INDENT'
  ------------------
  |  |   21|     53|#define INDENT          5
  ------------------
  |  Branch (35247:13): [True: 50, False: 3]
  ------------------
35248|     53|        )
35249|     50|        {
35250|     50|            D(fprintf(stderr, "%*c+ _tmp_106[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NEWLINE INDENT"));
35251|     50|            _res = _PyPegen_dummy_name(p, newline_var, indent_var);
35252|     50|            goto done;
35253|     50|        }
35254|      3|        p->mark = _mark;
35255|      3|        D(fprintf(stderr, "%*c%s _tmp_106[%d-%d]: %s failed!\n", p->level, ' ',
35256|      3|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE INDENT"));
35257|      3|    }
35258|      3|    _res = NULL;
35259|     53|  done:
35260|     53|    p->level--;
35261|     53|    return _res;
35262|      3|}
parser.c:invalid_double_type_comments_rule:
24093|  2.43k|{
24094|  2.43k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.87k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24094:9): [True: 0, False: 2.43k]
  |  Branch (24094:35): [True: 0, False: 2.43k]
  ------------------
24095|      0|        _Pypegen_stack_overflow(p);
24096|      0|    }
24097|  2.43k|    if (p->error_indicator) {
  ------------------
  |  Branch (24097:9): [True: 0, False: 2.43k]
  ------------------
24098|      0|        p->level--;
24099|      0|        return NULL;
24100|      0|    }
24101|  2.43k|    void * _res = NULL;
24102|  2.43k|    int _mark = p->mark;
24103|  2.43k|    { // TYPE_COMMENT NEWLINE TYPE_COMMENT NEWLINE INDENT
24104|  2.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (24104:13): [True: 0, False: 2.43k]
  ------------------
24105|      0|            p->level--;
24106|      0|            return NULL;
24107|      0|        }
24108|  2.43k|        D(fprintf(stderr, "%*c> invalid_double_type_comments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TYPE_COMMENT NEWLINE TYPE_COMMENT NEWLINE INDENT"));
24109|  2.43k|        Token * indent_var;
24110|  2.43k|        Token * newline_var;
24111|  2.43k|        Token * newline_var_1;
24112|  2.43k|        Token * type_comment_var;
24113|  2.43k|        Token * type_comment_var_1;
24114|  2.43k|        if (
24115|  2.43k|            (type_comment_var = _PyPegen_expect_token(p, TYPE_COMMENT))  // token='TYPE_COMMENT'
  ------------------
  |  |   73|  2.43k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (24115:13): [True: 119, False: 2.31k]
  ------------------
24116|    119|            &&
24117|    119|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    119|#define NEWLINE         4
  ------------------
  |  Branch (24117:13): [True: 119, False: 0]
  ------------------
24118|    119|            &&
24119|    119|            (type_comment_var_1 = _PyPegen_expect_token(p, TYPE_COMMENT))  // token='TYPE_COMMENT'
  ------------------
  |  |   73|    119|#define TYPE_COMMENT    57
  ------------------
  |  Branch (24119:13): [True: 2, False: 117]
  ------------------
24120|      2|            &&
24121|      2|            (newline_var_1 = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|      2|#define NEWLINE         4
  ------------------
  |  Branch (24121:13): [True: 2, False: 0]
  ------------------
24122|      2|            &&
24123|      2|            (indent_var = _PyPegen_expect_token(p, INDENT))  // token='INDENT'
  ------------------
  |  |   21|      2|#define INDENT          5
  ------------------
  |  Branch (24123:13): [True: 1, False: 1]
  ------------------
24124|  2.43k|        )
24125|      1|        {
24126|      1|            D(fprintf(stderr, "%*c+ invalid_double_type_comments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "TYPE_COMMENT NEWLINE TYPE_COMMENT NEWLINE INDENT"));
24127|      1|            _res = RAISE_SYNTAX_ERROR ( "Cannot have two type comments on def" );
  ------------------
  |  |  207|      1|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
24128|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24128:18): [True: 1, False: 0]
  |  Branch (24128:34): [True: 0, False: 0]
  |  Branch (24128:57): [True: 1, False: 0]
  ------------------
24129|      1|                p->error_indicator = 1;
24130|      1|                p->level--;
24131|      1|                return NULL;
24132|      1|            }
24133|      0|            goto done;
24134|      1|        }
24135|  2.43k|        p->mark = _mark;
24136|  2.43k|        D(fprintf(stderr, "%*c%s invalid_double_type_comments[%d-%d]: %s failed!\n", p->level, ' ',
24137|  2.43k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TYPE_COMMENT NEWLINE TYPE_COMMENT NEWLINE INDENT"));
24138|  2.43k|    }
24139|  2.43k|    _res = NULL;
24140|  2.43k|  done:
24141|  2.43k|    p->level--;
24142|  2.43k|    return _res;
24143|  2.43k|}
parser.c:block_rule:
 4298|   100k|{
 4299|   100k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   201k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4299:9): [True: 0, False: 100k]
  |  Branch (4299:35): [True: 0, False: 100k]
  ------------------
 4300|      0|        _Pypegen_stack_overflow(p);
 4301|      0|    }
 4302|   100k|    if (p->error_indicator) {
  ------------------
  |  Branch (4302:9): [True: 0, False: 100k]
  ------------------
 4303|      0|        p->level--;
 4304|      0|        return NULL;
 4305|      0|    }
 4306|   100k|    asdl_stmt_seq* _res = NULL;
 4307|   100k|    if (_PyPegen_is_memoized(p, block_type, &_res)) {
  ------------------
  |  |  122|   100k|#define block_type 1033
  ------------------
  |  Branch (4307:9): [True: 25.1k, False: 75.7k]
  ------------------
 4308|  25.1k|        p->level--;
 4309|  25.1k|        return _res;
 4310|  25.1k|    }
 4311|  75.7k|    int _mark = p->mark;
 4312|  75.7k|    { // NEWLINE INDENT statements DEDENT
 4313|  75.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (4313:13): [True: 0, False: 75.7k]
  ------------------
 4314|      0|            p->level--;
 4315|      0|            return NULL;
 4316|      0|        }
 4317|  75.7k|        D(fprintf(stderr, "%*c> block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE INDENT statements DEDENT"));
 4318|  75.7k|        asdl_stmt_seq* a;
 4319|  75.7k|        Token * dedent_var;
 4320|  75.7k|        Token * indent_var;
 4321|  75.7k|        Token * newline_var;
 4322|  75.7k|        if (
 4323|  75.7k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  75.7k|#define NEWLINE         4
  ------------------
  |  Branch (4323:13): [True: 19.6k, False: 56.0k]
  ------------------
 4324|  19.6k|            &&
 4325|  19.6k|            (indent_var = _PyPegen_expect_token(p, INDENT))  // token='INDENT'
  ------------------
  |  |   21|  19.6k|#define INDENT          5
  ------------------
  |  Branch (4325:13): [True: 19.6k, False: 66]
  ------------------
 4326|  19.6k|            &&
 4327|  19.6k|            (a = statements_rule(p))  // statements
  ------------------
  |  Branch (4327:13): [True: 19.2k, False: 417]
  ------------------
 4328|  19.2k|            &&
 4329|  19.2k|            (dedent_var = _PyPegen_expect_token(p, DEDENT))  // token='DEDENT'
  ------------------
  |  |   22|  19.2k|#define DEDENT          6
  ------------------
  |  Branch (4329:13): [True: 19.0k, False: 128]
  ------------------
 4330|  75.7k|        )
 4331|  19.0k|        {
 4332|  19.0k|            D(fprintf(stderr, "%*c+ block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NEWLINE INDENT statements DEDENT"));
 4333|  19.0k|            _res = a;
 4334|  19.0k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4334:18): [True: 0, False: 19.0k]
  |  Branch (4334:34): [True: 0, False: 19.0k]
  |  Branch (4334:57): [True: 0, False: 0]
  ------------------
 4335|      0|                p->error_indicator = 1;
 4336|      0|                p->level--;
 4337|      0|                return NULL;
 4338|      0|            }
 4339|  19.0k|            goto done;
 4340|  19.0k|        }
 4341|  56.6k|        p->mark = _mark;
 4342|  56.6k|        D(fprintf(stderr, "%*c%s block[%d-%d]: %s failed!\n", p->level, ' ',
 4343|  56.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE INDENT statements DEDENT"));
 4344|  56.6k|    }
 4345|      0|    { // simple_stmts
 4346|  56.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (4346:13): [True: 145, False: 56.4k]
  ------------------
 4347|    145|            p->level--;
 4348|    145|            return NULL;
 4349|    145|        }
 4350|  56.4k|        D(fprintf(stderr, "%*c> block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "simple_stmts"));
 4351|  56.4k|        asdl_stmt_seq* simple_stmts_var;
 4352|  56.4k|        if (
 4353|  56.4k|            (simple_stmts_var = simple_stmts_rule(p))  // simple_stmts
  ------------------
  |  Branch (4353:13): [True: 53.4k, False: 2.99k]
  ------------------
 4354|  56.4k|        )
 4355|  53.4k|        {
 4356|  53.4k|            D(fprintf(stderr, "%*c+ block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "simple_stmts"));
 4357|  53.4k|            _res = simple_stmts_var;
 4358|  53.4k|            goto done;
 4359|  53.4k|        }
 4360|  2.99k|        p->mark = _mark;
 4361|  2.99k|        D(fprintf(stderr, "%*c%s block[%d-%d]: %s failed!\n", p->level, ' ',
 4362|  2.99k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "simple_stmts"));
 4363|  2.99k|    }
 4364|  2.99k|    if (p->call_invalid_rules) { // invalid_block
  ------------------
  |  Branch (4364:9): [True: 2.47k, False: 527]
  ------------------
 4365|  2.47k|        if (p->error_indicator) {
  ------------------
  |  Branch (4365:13): [True: 58, False: 2.41k]
  ------------------
 4366|     58|            p->level--;
 4367|     58|            return NULL;
 4368|     58|        }
 4369|  2.41k|        D(fprintf(stderr, "%*c> block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_block"));
 4370|  2.41k|        void *invalid_block_var;
 4371|  2.41k|        if (
 4372|  2.41k|            (invalid_block_var = invalid_block_rule(p))  // invalid_block
  ------------------
  |  Branch (4372:13): [True: 0, False: 2.41k]
  ------------------
 4373|  2.41k|        )
 4374|      0|        {
 4375|      0|            D(fprintf(stderr, "%*c+ block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_block"));
 4376|      0|            _res = invalid_block_var;
 4377|      0|            goto done;
 4378|      0|        }
 4379|  2.41k|        p->mark = _mark;
 4380|  2.41k|        D(fprintf(stderr, "%*c%s block[%d-%d]: %s failed!\n", p->level, ' ',
 4381|  2.41k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_block"));
 4382|  2.41k|    }
 4383|  2.94k|    _res = NULL;
 4384|  75.5k|  done:
 4385|  75.5k|    _PyPegen_insert_memo(p, _mark, block_type, _res);
  ------------------
  |  |  122|  75.5k|#define block_type 1033
  ------------------
 4386|  75.5k|    p->level--;
 4387|  75.5k|    return _res;
 4388|  2.94k|}
parser.c:invalid_block_rule:
22779|  2.41k|{
22780|  2.41k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.82k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22780:9): [True: 0, False: 2.41k]
  |  Branch (22780:35): [True: 0, False: 2.41k]
  ------------------
22781|      0|        _Pypegen_stack_overflow(p);
22782|      0|    }
22783|  2.41k|    if (p->error_indicator) {
  ------------------
  |  Branch (22783:9): [True: 0, False: 2.41k]
  ------------------
22784|      0|        p->level--;
22785|      0|        return NULL;
22786|      0|    }
22787|  2.41k|    void * _res = NULL;
22788|  2.41k|    int _mark = p->mark;
22789|  2.41k|    { // NEWLINE !INDENT
22790|  2.41k|        if (p->error_indicator) {
  ------------------
  |  Branch (22790:13): [True: 0, False: 2.41k]
  ------------------
22791|      0|            p->level--;
22792|      0|            return NULL;
22793|      0|        }
22794|  2.41k|        D(fprintf(stderr, "%*c> invalid_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE !INDENT"));
22795|  2.41k|        Token * newline_var;
22796|  2.41k|        if (
22797|  2.41k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  2.41k|#define NEWLINE         4
  ------------------
  |  Branch (22797:13): [True: 164, False: 2.25k]
  ------------------
22798|    164|            &&
22799|    164|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|    164|#define INDENT          5
  ------------------
  |  Branch (22799:13): [True: 5, False: 159]
  ------------------
22800|  2.41k|        )
22801|      5|        {
22802|      5|            D(fprintf(stderr, "%*c+ invalid_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NEWLINE !INDENT"));
22803|      5|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block" );
  ------------------
  |  |  208|      5|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
22804|      5|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (22804:18): [True: 5, False: 0]
  |  Branch (22804:34): [True: 0, False: 0]
  |  Branch (22804:57): [True: 5, False: 0]
  ------------------
22805|      5|                p->error_indicator = 1;
22806|      5|                p->level--;
22807|      5|                return NULL;
22808|      5|            }
22809|      0|            goto done;
22810|      5|        }
22811|  2.40k|        p->mark = _mark;
22812|  2.40k|        D(fprintf(stderr, "%*c%s invalid_block[%d-%d]: %s failed!\n", p->level, ' ',
22813|  2.40k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE !INDENT"));
22814|  2.40k|    }
22815|  2.40k|    _res = NULL;
22816|  2.40k|  done:
22817|  2.40k|    p->level--;
22818|  2.40k|    return _res;
22819|  2.40k|}
parser.c:if_stmt_rule:
 6072|  2.82k|{
 6073|  2.82k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  5.64k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6073:9): [True: 0, False: 2.82k]
  |  Branch (6073:35): [True: 0, False: 2.82k]
  ------------------
 6074|      0|        _Pypegen_stack_overflow(p);
 6075|      0|    }
 6076|  2.82k|    if (p->error_indicator) {
  ------------------
  |  Branch (6076:9): [True: 0, False: 2.82k]
  ------------------
 6077|      0|        p->level--;
 6078|      0|        return NULL;
 6079|      0|    }
 6080|  2.82k|    stmt_ty _res = NULL;
 6081|  2.82k|    int _mark = p->mark;
 6082|  2.82k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (6082:9): [True: 0, False: 2.82k]
  |  Branch (6082:31): [True: 0, False: 0]
  ------------------
 6083|      0|        p->error_indicator = 1;
 6084|      0|        p->level--;
 6085|      0|        return NULL;
 6086|      0|    }
 6087|  2.82k|    int _start_lineno = p->tokens[_mark]->lineno;
 6088|  2.82k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.82k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.82k]
  |  |  ------------------
  ------------------
 6089|  2.82k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 6090|  2.82k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.82k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.82k]
  |  |  ------------------
  ------------------
 6091|  2.82k|    if (p->call_invalid_rules) { // invalid_if_stmt
  ------------------
  |  Branch (6091:9): [True: 756, False: 2.06k]
  ------------------
 6092|    756|        if (p->error_indicator) {
  ------------------
  |  Branch (6092:13): [True: 0, False: 756]
  ------------------
 6093|      0|            p->level--;
 6094|      0|            return NULL;
 6095|      0|        }
 6096|    756|        D(fprintf(stderr, "%*c> if_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_if_stmt"));
 6097|    756|        void *invalid_if_stmt_var;
 6098|    756|        if (
 6099|    756|            (invalid_if_stmt_var = invalid_if_stmt_rule(p))  // invalid_if_stmt
  ------------------
  |  Branch (6099:13): [True: 0, False: 756]
  ------------------
 6100|    756|        )
 6101|      0|        {
 6102|      0|            D(fprintf(stderr, "%*c+ if_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_if_stmt"));
 6103|      0|            _res = invalid_if_stmt_var;
 6104|      0|            goto done;
 6105|      0|        }
 6106|    756|        p->mark = _mark;
 6107|    756|        D(fprintf(stderr, "%*c%s if_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6108|    756|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_if_stmt"));
 6109|    756|    }
 6110|  2.82k|    { // 'if' named_expression ':' block elif_stmt
 6111|  2.82k|        if (p->error_indicator) {
  ------------------
  |  Branch (6111:13): [True: 14, False: 2.81k]
  ------------------
 6112|     14|            p->level--;
 6113|     14|            return NULL;
 6114|     14|        }
 6115|  2.81k|        D(fprintf(stderr, "%*c> if_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'if' named_expression ':' block elif_stmt"));
 6116|  2.81k|        Token * _keyword;
 6117|  2.81k|        Token * _literal;
 6118|  2.81k|        expr_ty a;
 6119|  2.81k|        asdl_stmt_seq* b;
 6120|  2.81k|        stmt_ty c;
 6121|  2.81k|        if (
 6122|  2.81k|            (_keyword = _PyPegen_expect_token(p, 700))  // token='if'
  ------------------
  |  Branch (6122:13): [True: 2.81k, False: 0]
  ------------------
 6123|  2.81k|            &&
 6124|  2.81k|            (a = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (6124:13): [True: 2.79k, False: 13]
  ------------------
 6125|  2.79k|            &&
 6126|  2.79k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6126:13): [True: 2.78k, False: 14]
  ------------------
 6127|  2.78k|            &&
 6128|  2.78k|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6128:13): [True: 2.74k, False: 42]
  ------------------
 6129|  2.74k|            &&
 6130|  2.74k|            (c = elif_stmt_rule(p))  // elif_stmt
  ------------------
  |  Branch (6130:13): [True: 428, False: 2.31k]
  ------------------
 6131|  2.81k|        )
 6132|    428|        {
 6133|    428|            D(fprintf(stderr, "%*c+ if_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'if' named_expression ':' block elif_stmt"));
 6134|    428|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6135|    428|            if (_token == NULL) {
  ------------------
  |  Branch (6135:17): [True: 0, False: 428]
  ------------------
 6136|      0|                p->level--;
 6137|      0|                return NULL;
 6138|      0|            }
 6139|    428|            int _end_lineno = _token->end_lineno;
 6140|    428|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    428|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 428]
  |  |  ------------------
  ------------------
 6141|    428|            int _end_col_offset = _token->end_col_offset;
 6142|    428|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    428|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 428]
  |  |  ------------------
  ------------------
 6143|    428|            _res = _PyAST_If ( a , b , CHECK ( asdl_stmt_seq* , _PyPegen_singleton_seq ( p , c ) ) , EXTRA );
  ------------------
  |  |  245|    428|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_If ( a , b , CHECK ( asdl_stmt_seq* , _PyPegen_singleton_seq ( p , c ) ) , EXTRA );
  ------------------
  |  |  281|    428|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6144|    428|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6144:18): [True: 0, False: 428]
  |  Branch (6144:34): [True: 0, False: 428]
  |  Branch (6144:57): [True: 0, False: 0]
  ------------------
 6145|      0|                p->error_indicator = 1;
 6146|      0|                p->level--;
 6147|      0|                return NULL;
 6148|      0|            }
 6149|    428|            goto done;
 6150|    428|        }
 6151|  2.38k|        p->mark = _mark;
 6152|  2.38k|        D(fprintf(stderr, "%*c%s if_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6153|  2.38k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'if' named_expression ':' block elif_stmt"));
 6154|  2.38k|    }
 6155|      0|    { // 'if' named_expression ':' block else_block?
 6156|  2.38k|        if (p->error_indicator) {
  ------------------
  |  Branch (6156:13): [True: 32, False: 2.35k]
  ------------------
 6157|     32|            p->level--;
 6158|     32|            return NULL;
 6159|     32|        }
 6160|  2.35k|        D(fprintf(stderr, "%*c> if_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'if' named_expression ':' block else_block?"));
 6161|  2.35k|        Token * _keyword;
 6162|  2.35k|        Token * _literal;
 6163|  2.35k|        expr_ty a;
 6164|  2.35k|        asdl_stmt_seq* b;
 6165|  2.35k|        void *c;
 6166|  2.35k|        if (
 6167|  2.35k|            (_keyword = _PyPegen_expect_token(p, 700))  // token='if'
  ------------------
  |  Branch (6167:13): [True: 2.35k, False: 0]
  ------------------
 6168|  2.35k|            &&
 6169|  2.35k|            (a = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (6169:13): [True: 2.34k, False: 10]
  ------------------
 6170|  2.34k|            &&
 6171|  2.34k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6171:13): [True: 2.32k, False: 14]
  ------------------
 6172|  2.32k|            &&
 6173|  2.32k|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6173:13): [True: 2.29k, False: 32]
  ------------------
 6174|  2.29k|            &&
 6175|  2.29k|            (c = else_block_rule(p), !p->error_indicator)  // else_block?
  ------------------
  |  Branch (6175:13): [True: 2.28k, False: 8]
  ------------------
 6176|  2.35k|        )
 6177|  2.28k|        {
 6178|  2.28k|            D(fprintf(stderr, "%*c+ if_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'if' named_expression ':' block else_block?"));
 6179|  2.28k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6180|  2.28k|            if (_token == NULL) {
  ------------------
  |  Branch (6180:17): [True: 0, False: 2.28k]
  ------------------
 6181|      0|                p->level--;
 6182|      0|                return NULL;
 6183|      0|            }
 6184|  2.28k|            int _end_lineno = _token->end_lineno;
 6185|  2.28k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.28k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.28k]
  |  |  ------------------
  ------------------
 6186|  2.28k|            int _end_col_offset = _token->end_col_offset;
 6187|  2.28k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.28k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.28k]
  |  |  ------------------
  ------------------
 6188|  2.28k|            _res = _PyAST_If ( a , b , c , EXTRA );
  ------------------
  |  |  281|  2.28k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6189|  2.28k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6189:18): [True: 0, False: 2.28k]
  |  Branch (6189:34): [True: 0, False: 2.28k]
  |  Branch (6189:57): [True: 0, False: 0]
  ------------------
 6190|      0|                p->error_indicator = 1;
 6191|      0|                p->level--;
 6192|      0|                return NULL;
 6193|      0|            }
 6194|  2.28k|            goto done;
 6195|  2.28k|        }
 6196|     64|        p->mark = _mark;
 6197|     64|        D(fprintf(stderr, "%*c%s if_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6198|     64|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'if' named_expression ':' block else_block?"));
 6199|     64|    }
 6200|     64|    _res = NULL;
 6201|  2.77k|  done:
 6202|  2.77k|    p->level--;
 6203|  2.77k|    return _res;
 6204|     64|}
parser.c:invalid_if_stmt_rule:
26134|    756|{
26135|    756|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.51k|#  define MAXSTACK 6000
  ------------------
  |  Branch (26135:9): [True: 0, False: 756]
  |  Branch (26135:35): [True: 0, False: 756]
  ------------------
26136|      0|        _Pypegen_stack_overflow(p);
26137|      0|    }
26138|    756|    if (p->error_indicator) {
  ------------------
  |  Branch (26138:9): [True: 0, False: 756]
  ------------------
26139|      0|        p->level--;
26140|      0|        return NULL;
26141|      0|    }
26142|    756|    void * _res = NULL;
26143|    756|    int _mark = p->mark;
26144|    756|    { // 'if' named_expression NEWLINE
26145|    756|        if (p->error_indicator) {
  ------------------
  |  Branch (26145:13): [True: 0, False: 756]
  ------------------
26146|      0|            p->level--;
26147|      0|            return NULL;
26148|      0|        }
26149|    756|        D(fprintf(stderr, "%*c> invalid_if_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'if' named_expression NEWLINE"));
26150|    756|        Token * _keyword;
26151|    756|        expr_ty named_expression_var;
26152|    756|        Token * newline_var;
26153|    756|        if (
26154|    756|            (_keyword = _PyPegen_expect_token(p, 700))  // token='if'
  ------------------
  |  Branch (26154:13): [True: 756, False: 0]
  ------------------
26155|    756|            &&
26156|    756|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (26156:13): [True: 748, False: 8]
  ------------------
26157|    748|            &&
26158|    748|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    748|#define NEWLINE         4
  ------------------
  |  Branch (26158:13): [True: 5, False: 743]
  ------------------
26159|    756|        )
26160|      5|        {
26161|      5|            D(fprintf(stderr, "%*c+ invalid_if_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'if' named_expression NEWLINE"));
26162|      5|            _res = RAISE_SYNTAX_ERROR ( "expected ':'" );
  ------------------
  |  |  207|      5|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
26163|      5|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26163:18): [True: 5, False: 0]
  |  Branch (26163:34): [True: 0, False: 0]
  |  Branch (26163:57): [True: 5, False: 0]
  ------------------
26164|      5|                p->error_indicator = 1;
26165|      5|                p->level--;
26166|      5|                return NULL;
26167|      5|            }
26168|      0|            goto done;
26169|      5|        }
26170|    751|        p->mark = _mark;
26171|    751|        D(fprintf(stderr, "%*c%s invalid_if_stmt[%d-%d]: %s failed!\n", p->level, ' ',
26172|    751|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'if' named_expression NEWLINE"));
26173|    751|    }
26174|      0|    { // 'if' named_expression ':' NEWLINE !INDENT
26175|    751|        if (p->error_indicator) {
  ------------------
  |  Branch (26175:13): [True: 4, False: 747]
  ------------------
26176|      4|            p->level--;
26177|      4|            return NULL;
26178|      4|        }
26179|    747|        D(fprintf(stderr, "%*c> invalid_if_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'if' named_expression ':' NEWLINE !INDENT"));
26180|    747|        Token * _literal;
26181|    747|        Token * a;
26182|    747|        expr_ty a_1;
26183|    747|        Token * newline_var;
26184|    747|        if (
26185|    747|            (a = _PyPegen_expect_token(p, 700))  // token='if'
  ------------------
  |  Branch (26185:13): [True: 747, False: 0]
  ------------------
26186|    747|            &&
26187|    747|            (a_1 = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (26187:13): [True: 743, False: 4]
  ------------------
26188|    743|            &&
26189|    743|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (26189:13): [True: 740, False: 3]
  ------------------
26190|    740|            &&
26191|    740|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    740|#define NEWLINE         4
  ------------------
  |  Branch (26191:13): [True: 17, False: 723]
  ------------------
26192|     17|            &&
26193|     17|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|     17|#define INDENT          5
  ------------------
  |  Branch (26193:13): [True: 5, False: 12]
  ------------------
26194|    747|        )
26195|      5|        {
26196|      5|            D(fprintf(stderr, "%*c+ invalid_if_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'if' named_expression ':' NEWLINE !INDENT"));
26197|      5|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'if' statement on line %d" , a -> lineno );
  ------------------
  |  |  208|      5|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
26198|      5|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26198:18): [True: 5, False: 0]
  |  Branch (26198:34): [True: 0, False: 0]
  |  Branch (26198:57): [True: 5, False: 0]
  ------------------
26199|      5|                p->error_indicator = 1;
26200|      5|                p->level--;
26201|      5|                return NULL;
26202|      5|            }
26203|      0|            goto done;
26204|      5|        }
26205|    742|        p->mark = _mark;
26206|    742|        D(fprintf(stderr, "%*c%s invalid_if_stmt[%d-%d]: %s failed!\n", p->level, ' ',
26207|    742|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'if' named_expression ':' NEWLINE !INDENT"));
26208|    742|    }
26209|    742|    _res = NULL;
26210|    742|  done:
26211|    742|    p->level--;
26212|    742|    return _res;
26213|    742|}
parser.c:elif_stmt_rule:
 6212|  4.14k|{
 6213|  4.14k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.29k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6213:9): [True: 0, False: 4.14k]
  |  Branch (6213:35): [True: 0, False: 4.14k]
  ------------------
 6214|      0|        _Pypegen_stack_overflow(p);
 6215|      0|    }
 6216|  4.14k|    if (p->error_indicator) {
  ------------------
  |  Branch (6216:9): [True: 0, False: 4.14k]
  ------------------
 6217|      0|        p->level--;
 6218|      0|        return NULL;
 6219|      0|    }
 6220|  4.14k|    stmt_ty _res = NULL;
 6221|  4.14k|    int _mark = p->mark;
 6222|  4.14k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (6222:9): [True: 2.93k, False: 1.21k]
  |  Branch (6222:31): [True: 1, False: 2.93k]
  ------------------
 6223|      1|        p->error_indicator = 1;
 6224|      1|        p->level--;
 6225|      1|        return NULL;
 6226|      1|    }
 6227|  4.14k|    int _start_lineno = p->tokens[_mark]->lineno;
 6228|  4.14k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.14k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.14k]
  |  |  ------------------
  ------------------
 6229|  4.14k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 6230|  4.14k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.14k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.14k]
  |  |  ------------------
  ------------------
 6231|  4.14k|    if (p->call_invalid_rules) { // invalid_elif_stmt
  ------------------
  |  Branch (6231:9): [True: 1.21k, False: 2.93k]
  ------------------
 6232|  1.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (6232:13): [True: 0, False: 1.21k]
  ------------------
 6233|      0|            p->level--;
 6234|      0|            return NULL;
 6235|      0|        }
 6236|  1.21k|        D(fprintf(stderr, "%*c> elif_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_elif_stmt"));
 6237|  1.21k|        void *invalid_elif_stmt_var;
 6238|  1.21k|        if (
 6239|  1.21k|            (invalid_elif_stmt_var = invalid_elif_stmt_rule(p))  // invalid_elif_stmt
  ------------------
  |  Branch (6239:13): [True: 0, False: 1.21k]
  ------------------
 6240|  1.21k|        )
 6241|      0|        {
 6242|      0|            D(fprintf(stderr, "%*c+ elif_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_elif_stmt"));
 6243|      0|            _res = invalid_elif_stmt_var;
 6244|      0|            goto done;
 6245|      0|        }
 6246|  1.21k|        p->mark = _mark;
 6247|  1.21k|        D(fprintf(stderr, "%*c%s elif_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6248|  1.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_elif_stmt"));
 6249|  1.21k|    }
 6250|  4.14k|    { // 'elif' named_expression ':' block elif_stmt
 6251|  4.14k|        if (p->error_indicator) {
  ------------------
  |  Branch (6251:13): [True: 7, False: 4.13k]
  ------------------
 6252|      7|            p->level--;
 6253|      7|            return NULL;
 6254|      7|        }
 6255|  4.13k|        D(fprintf(stderr, "%*c> elif_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'elif' named_expression ':' block elif_stmt"));
 6256|  4.13k|        Token * _keyword;
 6257|  4.13k|        Token * _literal;
 6258|  4.13k|        expr_ty a;
 6259|  4.13k|        asdl_stmt_seq* b;
 6260|  4.13k|        stmt_ty c;
 6261|  4.13k|        if (
 6262|  4.13k|            (_keyword = _PyPegen_expect_token(p, 705))  // token='elif'
  ------------------
  |  Branch (6262:13): [True: 1.44k, False: 2.69k]
  ------------------
 6263|  1.44k|            &&
 6264|  1.44k|            (a = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (6264:13): [True: 1.43k, False: 6]
  ------------------
 6265|  1.43k|            &&
 6266|  1.43k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6266:13): [True: 1.42k, False: 7]
  ------------------
 6267|  1.42k|            &&
 6268|  1.42k|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6268:13): [True: 1.40k, False: 23]
  ------------------
 6269|  1.40k|            &&
 6270|  1.40k|            (c = elif_stmt_rule(p))  // elif_stmt
  ------------------
  |  Branch (6270:13): [True: 735, False: 669]
  ------------------
 6271|  4.13k|        )
 6272|    735|        {
 6273|    735|            D(fprintf(stderr, "%*c+ elif_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'elif' named_expression ':' block elif_stmt"));
 6274|    735|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6275|    735|            if (_token == NULL) {
  ------------------
  |  Branch (6275:17): [True: 0, False: 735]
  ------------------
 6276|      0|                p->level--;
 6277|      0|                return NULL;
 6278|      0|            }
 6279|    735|            int _end_lineno = _token->end_lineno;
 6280|    735|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    735|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 735]
  |  |  ------------------
  ------------------
 6281|    735|            int _end_col_offset = _token->end_col_offset;
 6282|    735|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    735|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 735]
  |  |  ------------------
  ------------------
 6283|    735|            _res = _PyAST_If ( a , b , CHECK ( asdl_stmt_seq* , _PyPegen_singleton_seq ( p , c ) ) , EXTRA );
  ------------------
  |  |  245|    735|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_If ( a , b , CHECK ( asdl_stmt_seq* , _PyPegen_singleton_seq ( p , c ) ) , EXTRA );
  ------------------
  |  |  281|    735|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6284|    735|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6284:18): [True: 0, False: 735]
  |  Branch (6284:34): [True: 0, False: 735]
  |  Branch (6284:57): [True: 0, False: 0]
  ------------------
 6285|      0|                p->error_indicator = 1;
 6286|      0|                p->level--;
 6287|      0|                return NULL;
 6288|      0|            }
 6289|    735|            goto done;
 6290|    735|        }
 6291|  3.40k|        p->mark = _mark;
 6292|  3.40k|        D(fprintf(stderr, "%*c%s elif_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6293|  3.40k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'elif' named_expression ':' block elif_stmt"));
 6294|  3.40k|    }
 6295|      0|    { // 'elif' named_expression ':' block else_block?
 6296|  3.40k|        if (p->error_indicator) {
  ------------------
  |  Branch (6296:13): [True: 244, False: 3.15k]
  ------------------
 6297|    244|            p->level--;
 6298|    244|            return NULL;
 6299|    244|        }
 6300|  3.15k|        D(fprintf(stderr, "%*c> elif_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'elif' named_expression ':' block else_block?"));
 6301|  3.15k|        Token * _keyword;
 6302|  3.15k|        Token * _literal;
 6303|  3.15k|        expr_ty a;
 6304|  3.15k|        asdl_stmt_seq* b;
 6305|  3.15k|        void *c;
 6306|  3.15k|        if (
 6307|  3.15k|            (_keyword = _PyPegen_expect_token(p, 705))  // token='elif'
  ------------------
  |  Branch (6307:13): [True: 461, False: 2.69k]
  ------------------
 6308|    461|            &&
 6309|    461|            (a = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (6309:13): [True: 456, False: 5]
  ------------------
 6310|    456|            &&
 6311|    456|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6311:13): [True: 449, False: 7]
  ------------------
 6312|    449|            &&
 6313|    449|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6313:13): [True: 432, False: 17]
  ------------------
 6314|    432|            &&
 6315|    432|            (c = else_block_rule(p), !p->error_indicator)  // else_block?
  ------------------
  |  Branch (6315:13): [True: 428, False: 4]
  ------------------
 6316|  3.15k|        )
 6317|    428|        {
 6318|    428|            D(fprintf(stderr, "%*c+ elif_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'elif' named_expression ':' block else_block?"));
 6319|    428|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6320|    428|            if (_token == NULL) {
  ------------------
  |  Branch (6320:17): [True: 0, False: 428]
  ------------------
 6321|      0|                p->level--;
 6322|      0|                return NULL;
 6323|      0|            }
 6324|    428|            int _end_lineno = _token->end_lineno;
 6325|    428|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    428|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 428]
  |  |  ------------------
  ------------------
 6326|    428|            int _end_col_offset = _token->end_col_offset;
 6327|    428|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    428|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 428]
  |  |  ------------------
  ------------------
 6328|    428|            _res = _PyAST_If ( a , b , c , EXTRA );
  ------------------
  |  |  281|    428|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6329|    428|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6329:18): [True: 0, False: 428]
  |  Branch (6329:34): [True: 0, False: 428]
  |  Branch (6329:57): [True: 0, False: 0]
  ------------------
 6330|      0|                p->error_indicator = 1;
 6331|      0|                p->level--;
 6332|      0|                return NULL;
 6333|      0|            }
 6334|    428|            goto done;
 6335|    428|        }
 6336|  2.73k|        p->mark = _mark;
 6337|  2.73k|        D(fprintf(stderr, "%*c%s elif_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6338|  2.73k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'elif' named_expression ':' block else_block?"));
 6339|  2.73k|    }
 6340|  2.73k|    _res = NULL;
 6341|  3.89k|  done:
 6342|  3.89k|    p->level--;
 6343|  3.89k|    return _res;
 6344|  2.73k|}
parser.c:invalid_elif_stmt_rule:
26220|  1.21k|{
26221|  1.21k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.42k|#  define MAXSTACK 6000
  ------------------
  |  Branch (26221:9): [True: 0, False: 1.21k]
  |  Branch (26221:35): [True: 0, False: 1.21k]
  ------------------
26222|      0|        _Pypegen_stack_overflow(p);
26223|      0|    }
26224|  1.21k|    if (p->error_indicator) {
  ------------------
  |  Branch (26224:9): [True: 0, False: 1.21k]
  ------------------
26225|      0|        p->level--;
26226|      0|        return NULL;
26227|      0|    }
26228|  1.21k|    void * _res = NULL;
26229|  1.21k|    int _mark = p->mark;
26230|  1.21k|    { // 'elif' named_expression NEWLINE
26231|  1.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (26231:13): [True: 0, False: 1.21k]
  ------------------
26232|      0|            p->level--;
26233|      0|            return NULL;
26234|      0|        }
26235|  1.21k|        D(fprintf(stderr, "%*c> invalid_elif_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'elif' named_expression NEWLINE"));
26236|  1.21k|        Token * _keyword;
26237|  1.21k|        expr_ty named_expression_var;
26238|  1.21k|        Token * newline_var;
26239|  1.21k|        if (
26240|  1.21k|            (_keyword = _PyPegen_expect_token(p, 705))  // token='elif'
  ------------------
  |  Branch (26240:13): [True: 511, False: 699]
  ------------------
26241|    511|            &&
26242|    511|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (26242:13): [True: 507, False: 4]
  ------------------
26243|    507|            &&
26244|    507|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    507|#define NEWLINE         4
  ------------------
  |  Branch (26244:13): [True: 4, False: 503]
  ------------------
26245|  1.21k|        )
26246|      4|        {
26247|      4|            D(fprintf(stderr, "%*c+ invalid_elif_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'elif' named_expression NEWLINE"));
26248|      4|            _res = RAISE_SYNTAX_ERROR ( "expected ':'" );
  ------------------
  |  |  207|      4|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
26249|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26249:18): [True: 4, False: 0]
  |  Branch (26249:34): [True: 0, False: 0]
  |  Branch (26249:57): [True: 4, False: 0]
  ------------------
26250|      4|                p->error_indicator = 1;
26251|      4|                p->level--;
26252|      4|                return NULL;
26253|      4|            }
26254|      0|            goto done;
26255|      4|        }
26256|  1.20k|        p->mark = _mark;
26257|  1.20k|        D(fprintf(stderr, "%*c%s invalid_elif_stmt[%d-%d]: %s failed!\n", p->level, ' ',
26258|  1.20k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'elif' named_expression NEWLINE"));
26259|  1.20k|    }
26260|      0|    { // 'elif' named_expression ':' NEWLINE !INDENT
26261|  1.20k|        if (p->error_indicator) {
  ------------------
  |  Branch (26261:13): [True: 2, False: 1.20k]
  ------------------
26262|      2|            p->level--;
26263|      2|            return NULL;
26264|      2|        }
26265|  1.20k|        D(fprintf(stderr, "%*c> invalid_elif_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'elif' named_expression ':' NEWLINE !INDENT"));
26266|  1.20k|        Token * _literal;
26267|  1.20k|        Token * a;
26268|  1.20k|        expr_ty named_expression_var;
26269|  1.20k|        Token * newline_var;
26270|  1.20k|        if (
26271|  1.20k|            (a = _PyPegen_expect_token(p, 705))  // token='elif'
  ------------------
  |  Branch (26271:13): [True: 505, False: 699]
  ------------------
26272|    505|            &&
26273|    505|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (26273:13): [True: 503, False: 2]
  ------------------
26274|    503|            &&
26275|    503|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (26275:13): [True: 502, False: 1]
  ------------------
26276|    502|            &&
26277|    502|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    502|#define NEWLINE         4
  ------------------
  |  Branch (26277:13): [True: 37, False: 465]
  ------------------
26278|     37|            &&
26279|     37|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|     37|#define INDENT          5
  ------------------
  |  Branch (26279:13): [True: 1, False: 36]
  ------------------
26280|  1.20k|        )
26281|      1|        {
26282|      1|            D(fprintf(stderr, "%*c+ invalid_elif_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'elif' named_expression ':' NEWLINE !INDENT"));
26283|      1|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'elif' statement on line %d" , a -> lineno );
  ------------------
  |  |  208|      1|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
26284|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26284:18): [True: 1, False: 0]
  |  Branch (26284:34): [True: 0, False: 0]
  |  Branch (26284:57): [True: 1, False: 0]
  ------------------
26285|      1|                p->error_indicator = 1;
26286|      1|                p->level--;
26287|      1|                return NULL;
26288|      1|            }
26289|      0|            goto done;
26290|      1|        }
26291|  1.20k|        p->mark = _mark;
26292|  1.20k|        D(fprintf(stderr, "%*c%s invalid_elif_stmt[%d-%d]: %s failed!\n", p->level, ' ',
26293|  1.20k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'elif' named_expression ':' NEWLINE !INDENT"));
26294|  1.20k|    }
26295|  1.20k|    _res = NULL;
26296|  1.20k|  done:
26297|  1.20k|    p->level--;
26298|  1.20k|    return _res;
26299|  1.20k|}
parser.c:else_block_rule:
 6349|  15.2k|{
 6350|  15.2k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  30.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6350:9): [True: 0, False: 15.2k]
  |  Branch (6350:35): [True: 0, False: 15.2k]
  ------------------
 6351|      0|        _Pypegen_stack_overflow(p);
 6352|      0|    }
 6353|  15.2k|    if (p->error_indicator) {
  ------------------
  |  Branch (6353:9): [True: 0, False: 15.2k]
  ------------------
 6354|      0|        p->level--;
 6355|      0|        return NULL;
 6356|      0|    }
 6357|  15.2k|    asdl_stmt_seq* _res = NULL;
 6358|  15.2k|    int _mark = p->mark;
 6359|  15.2k|    if (p->call_invalid_rules) { // invalid_else_stmt
  ------------------
  |  Branch (6359:9): [True: 3.35k, False: 11.9k]
  ------------------
 6360|  3.35k|        if (p->error_indicator) {
  ------------------
  |  Branch (6360:13): [True: 0, False: 3.35k]
  ------------------
 6361|      0|            p->level--;
 6362|      0|            return NULL;
 6363|      0|        }
 6364|  3.35k|        D(fprintf(stderr, "%*c> else_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_else_stmt"));
 6365|  3.35k|        void *invalid_else_stmt_var;
 6366|  3.35k|        if (
 6367|  3.35k|            (invalid_else_stmt_var = invalid_else_stmt_rule(p))  // invalid_else_stmt
  ------------------
  |  Branch (6367:13): [True: 0, False: 3.35k]
  ------------------
 6368|  3.35k|        )
 6369|      0|        {
 6370|      0|            D(fprintf(stderr, "%*c+ else_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_else_stmt"));
 6371|      0|            _res = invalid_else_stmt_var;
 6372|      0|            goto done;
 6373|      0|        }
 6374|  3.35k|        p->mark = _mark;
 6375|  3.35k|        D(fprintf(stderr, "%*c%s else_block[%d-%d]: %s failed!\n", p->level, ' ',
 6376|  3.35k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_else_stmt"));
 6377|  3.35k|    }
 6378|  15.2k|    { // 'else' &&':' block
 6379|  15.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (6379:13): [True: 8, False: 15.2k]
  ------------------
 6380|      8|            p->level--;
 6381|      8|            return NULL;
 6382|      8|        }
 6383|  15.2k|        D(fprintf(stderr, "%*c> else_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'else' &&':' block"));
 6384|  15.2k|        Token * _keyword;
 6385|  15.2k|        Token * _literal;
 6386|  15.2k|        asdl_stmt_seq* b;
 6387|  15.2k|        if (
 6388|  15.2k|            (_keyword = _PyPegen_expect_token(p, 704))  // token='else'
  ------------------
  |  Branch (6388:13): [True: 1.01k, False: 14.2k]
  ------------------
 6389|  1.01k|            &&
 6390|  1.01k|            (_literal = _PyPegen_expect_forced_token(p, 11, ":"))  // forced_token=':'
  ------------------
  |  Branch (6390:13): [True: 1.00k, False: 7]
  ------------------
 6391|  1.00k|            &&
 6392|  1.00k|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6392:13): [True: 985, False: 23]
  ------------------
 6393|  15.2k|        )
 6394|    985|        {
 6395|    985|            D(fprintf(stderr, "%*c+ else_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'else' &&':' block"));
 6396|    985|            _res = b;
 6397|    985|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6397:18): [True: 0, False: 985]
  |  Branch (6397:34): [True: 0, False: 985]
  |  Branch (6397:57): [True: 0, False: 0]
  ------------------
 6398|      0|                p->error_indicator = 1;
 6399|      0|                p->level--;
 6400|      0|                return NULL;
 6401|      0|            }
 6402|    985|            goto done;
 6403|    985|        }
 6404|  14.2k|        p->mark = _mark;
 6405|  14.2k|        D(fprintf(stderr, "%*c%s else_block[%d-%d]: %s failed!\n", p->level, ' ',
 6406|  14.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'else' &&':' block"));
 6407|  14.2k|    }
 6408|  14.2k|    _res = NULL;
 6409|  15.2k|  done:
 6410|  15.2k|    p->level--;
 6411|  15.2k|    return _res;
 6412|  14.2k|}
parser.c:invalid_else_stmt_rule:
26304|  3.35k|{
26305|  3.35k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  6.71k|#  define MAXSTACK 6000
  ------------------
  |  Branch (26305:9): [True: 0, False: 3.35k]
  |  Branch (26305:35): [True: 0, False: 3.35k]
  ------------------
26306|      0|        _Pypegen_stack_overflow(p);
26307|      0|    }
26308|  3.35k|    if (p->error_indicator) {
  ------------------
  |  Branch (26308:9): [True: 0, False: 3.35k]
  ------------------
26309|      0|        p->level--;
26310|      0|        return NULL;
26311|      0|    }
26312|  3.35k|    void * _res = NULL;
26313|  3.35k|    int _mark = p->mark;
26314|  3.35k|    { // 'else' ':' NEWLINE !INDENT
26315|  3.35k|        if (p->error_indicator) {
  ------------------
  |  Branch (26315:13): [True: 0, False: 3.35k]
  ------------------
26316|      0|            p->level--;
26317|      0|            return NULL;
26318|      0|        }
26319|  3.35k|        D(fprintf(stderr, "%*c> invalid_else_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'else' ':' NEWLINE !INDENT"));
26320|  3.35k|        Token * _literal;
26321|  3.35k|        Token * a;
26322|  3.35k|        Token * newline_var;
26323|  3.35k|        if (
26324|  3.35k|            (a = _PyPegen_expect_token(p, 704))  // token='else'
  ------------------
  |  Branch (26324:13): [True: 238, False: 3.12k]
  ------------------
26325|    238|            &&
26326|    238|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (26326:13): [True: 238, False: 0]
  ------------------
26327|    238|            &&
26328|    238|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    238|#define NEWLINE         4
  ------------------
  |  Branch (26328:13): [True: 72, False: 166]
  ------------------
26329|     72|            &&
26330|     72|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|     72|#define INDENT          5
  ------------------
  |  Branch (26330:13): [True: 1, False: 71]
  ------------------
26331|  3.35k|        )
26332|      1|        {
26333|      1|            D(fprintf(stderr, "%*c+ invalid_else_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'else' ':' NEWLINE !INDENT"));
26334|      1|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'else' statement on line %d" , a -> lineno );
  ------------------
  |  |  208|      1|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
26335|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26335:18): [True: 1, False: 0]
  |  Branch (26335:34): [True: 0, False: 0]
  |  Branch (26335:57): [True: 1, False: 0]
  ------------------
26336|      1|                p->error_indicator = 1;
26337|      1|                p->level--;
26338|      1|                return NULL;
26339|      1|            }
26340|      0|            goto done;
26341|      1|        }
26342|  3.35k|        p->mark = _mark;
26343|  3.35k|        D(fprintf(stderr, "%*c%s invalid_else_stmt[%d-%d]: %s failed!\n", p->level, ' ',
26344|  3.35k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'else' ':' NEWLINE !INDENT"));
26345|  3.35k|    }
26346|      0|    { // 'else' ':' block 'elif'
26347|  3.35k|        if (p->error_indicator) {
  ------------------
  |  Branch (26347:13): [True: 0, False: 3.35k]
  ------------------
26348|      0|            p->level--;
26349|      0|            return NULL;
26350|      0|        }
26351|  3.35k|        D(fprintf(stderr, "%*c> invalid_else_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'else' ':' block 'elif'"));
26352|  3.35k|        Token * _keyword;
26353|  3.35k|        Token * _keyword_1;
26354|  3.35k|        Token * _literal;
26355|  3.35k|        asdl_stmt_seq* block_var;
26356|  3.35k|        if (
26357|  3.35k|            (_keyword = _PyPegen_expect_token(p, 704))  // token='else'
  ------------------
  |  Branch (26357:13): [True: 237, False: 3.12k]
  ------------------
26358|    237|            &&
26359|    237|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (26359:13): [True: 237, False: 0]
  ------------------
26360|    237|            &&
26361|    237|            (block_var = block_rule(p))  // block
  ------------------
  |  Branch (26361:13): [True: 227, False: 10]
  ------------------
26362|    227|            &&
26363|    227|            (_keyword_1 = _PyPegen_expect_token(p, 705))  // token='elif'
  ------------------
  |  Branch (26363:13): [True: 3, False: 224]
  ------------------
26364|  3.35k|        )
26365|      3|        {
26366|      3|            D(fprintf(stderr, "%*c+ invalid_else_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'else' ':' block 'elif'"));
26367|      3|            _res = RAISE_SYNTAX_ERROR ( "'elif' block follows an 'else' block" );
  ------------------
  |  |  207|      3|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
26368|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26368:18): [True: 3, False: 0]
  |  Branch (26368:34): [True: 0, False: 0]
  |  Branch (26368:57): [True: 3, False: 0]
  ------------------
26369|      3|                p->error_indicator = 1;
26370|      3|                p->level--;
26371|      3|                return NULL;
26372|      3|            }
26373|      0|            goto done;
26374|      3|        }
26375|  3.35k|        p->mark = _mark;
26376|  3.35k|        D(fprintf(stderr, "%*c%s invalid_else_stmt[%d-%d]: %s failed!\n", p->level, ' ',
26377|  3.35k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'else' ':' block 'elif'"));
26378|  3.35k|    }
26379|  3.35k|    _res = NULL;
26380|  3.35k|  done:
26381|  3.35k|    p->level--;
26382|  3.35k|    return _res;
26383|  3.35k|}
parser.c:_tmp_7_rule:
29044|   196k|{
29045|   196k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   393k|#  define MAXSTACK 6000
  ------------------
  |  Branch (29045:9): [True: 0, False: 196k]
  |  Branch (29045:35): [True: 0, False: 196k]
  ------------------
29046|      0|        _Pypegen_stack_overflow(p);
29047|      0|    }
29048|   196k|    if (p->error_indicator) {
  ------------------
  |  Branch (29048:9): [True: 0, False: 196k]
  ------------------
29049|      0|        p->level--;
29050|      0|        return NULL;
29051|      0|    }
29052|   196k|    void * _res = NULL;
29053|   196k|    int _mark = p->mark;
29054|   196k|    { // 'class'
29055|   196k|        if (p->error_indicator) {
  ------------------
  |  Branch (29055:13): [True: 0, False: 196k]
  ------------------
29056|      0|            p->level--;
29057|      0|            return NULL;
29058|      0|        }
29059|   196k|        D(fprintf(stderr, "%*c> _tmp_7[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'class'"));
29060|   196k|        Token * _keyword;
29061|   196k|        if (
29062|   196k|            (_keyword = _PyPegen_expect_token(p, 719))  // token='class'
  ------------------
  |  Branch (29062:13): [True: 16.6k, False: 180k]
  ------------------
29063|   196k|        )
29064|  16.6k|        {
29065|  16.6k|            D(fprintf(stderr, "%*c+ _tmp_7[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'class'"));
29066|  16.6k|            _res = _keyword;
29067|  16.6k|            goto done;
29068|  16.6k|        }
29069|   180k|        p->mark = _mark;
29070|   180k|        D(fprintf(stderr, "%*c%s _tmp_7[%d-%d]: %s failed!\n", p->level, ' ',
29071|   180k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'class'"));
29072|   180k|    }
29073|      0|    { // '@'
29074|   180k|        if (p->error_indicator) {
  ------------------
  |  Branch (29074:13): [True: 0, False: 180k]
  ------------------
29075|      0|            p->level--;
29076|      0|            return NULL;
29077|      0|        }
29078|   180k|        D(fprintf(stderr, "%*c> _tmp_7[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'@'"));
29079|   180k|        Token * _literal;
29080|   180k|        if (
29081|   180k|            (_literal = _PyPegen_expect_token(p, 49))  // token='@'
  ------------------
  |  Branch (29081:13): [True: 841, False: 179k]
  ------------------
29082|   180k|        )
29083|    841|        {
29084|    841|            D(fprintf(stderr, "%*c+ _tmp_7[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'@'"));
29085|    841|            _res = _literal;
29086|    841|            goto done;
29087|    841|        }
29088|   179k|        p->mark = _mark;
29089|   179k|        D(fprintf(stderr, "%*c%s _tmp_7[%d-%d]: %s failed!\n", p->level, ' ',
29090|   179k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'@'"));
29091|   179k|    }
29092|   179k|    _res = NULL;
29093|   196k|  done:
29094|   196k|    p->level--;
29095|   196k|    return _res;
29096|   179k|}
parser.c:class_def_rule:
 4436|  17.4k|{
 4437|  17.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  34.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4437:9): [True: 0, False: 17.4k]
  |  Branch (4437:35): [True: 0, False: 17.4k]
  ------------------
 4438|      0|        _Pypegen_stack_overflow(p);
 4439|      0|    }
 4440|  17.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (4440:9): [True: 0, False: 17.4k]
  ------------------
 4441|      0|        p->level--;
 4442|      0|        return NULL;
 4443|      0|    }
 4444|  17.4k|    stmt_ty _res = NULL;
 4445|  17.4k|    int _mark = p->mark;
 4446|  17.4k|    { // decorators class_def_raw
 4447|  17.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (4447:13): [True: 0, False: 17.4k]
  ------------------
 4448|      0|            p->level--;
 4449|      0|            return NULL;
 4450|      0|        }
 4451|  17.4k|        D(fprintf(stderr, "%*c> class_def[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "decorators class_def_raw"));
 4452|  17.4k|        asdl_expr_seq* a;
 4453|  17.4k|        stmt_ty b;
 4454|  17.4k|        if (
 4455|  17.4k|            (a = decorators_rule(p))  // decorators
  ------------------
  |  Branch (4455:13): [True: 791, False: 16.6k]
  ------------------
 4456|    791|            &&
 4457|    791|            (b = class_def_raw_rule(p))  // class_def_raw
  ------------------
  |  Branch (4457:13): [True: 709, False: 82]
  ------------------
 4458|  17.4k|        )
 4459|    709|        {
 4460|    709|            D(fprintf(stderr, "%*c+ class_def[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "decorators class_def_raw"));
 4461|    709|            _res = _PyPegen_class_def_decorators ( p , a , b );
 4462|    709|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4462:18): [True: 0, False: 709]
  |  Branch (4462:34): [True: 0, False: 709]
  |  Branch (4462:57): [True: 0, False: 0]
  ------------------
 4463|      0|                p->error_indicator = 1;
 4464|      0|                p->level--;
 4465|      0|                return NULL;
 4466|      0|            }
 4467|    709|            goto done;
 4468|    709|        }
 4469|  16.7k|        p->mark = _mark;
 4470|  16.7k|        D(fprintf(stderr, "%*c%s class_def[%d-%d]: %s failed!\n", p->level, ' ',
 4471|  16.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "decorators class_def_raw"));
 4472|  16.7k|    }
 4473|      0|    { // class_def_raw
 4474|  16.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (4474:13): [True: 4, False: 16.7k]
  ------------------
 4475|      4|            p->level--;
 4476|      4|            return NULL;
 4477|      4|        }
 4478|  16.7k|        D(fprintf(stderr, "%*c> class_def[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "class_def_raw"));
 4479|  16.7k|        stmt_ty class_def_raw_var;
 4480|  16.7k|        if (
 4481|  16.7k|            (class_def_raw_var = class_def_raw_rule(p))  // class_def_raw
  ------------------
  |  Branch (4481:13): [True: 16.4k, False: 347]
  ------------------
 4482|  16.7k|        )
 4483|  16.4k|        {
 4484|  16.4k|            D(fprintf(stderr, "%*c+ class_def[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "class_def_raw"));
 4485|  16.4k|            _res = class_def_raw_var;
 4486|  16.4k|            goto done;
 4487|  16.4k|        }
 4488|    347|        p->mark = _mark;
 4489|    347|        D(fprintf(stderr, "%*c%s class_def[%d-%d]: %s failed!\n", p->level, ' ',
 4490|    347|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "class_def_raw"));
 4491|    347|    }
 4492|    347|    _res = NULL;
 4493|  17.4k|  done:
 4494|  17.4k|    p->level--;
 4495|  17.4k|    return _res;
 4496|    347|}
parser.c:class_def_raw_rule:
 4503|  17.5k|{
 4504|  17.5k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  35.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4504:9): [True: 0, False: 17.5k]
  |  Branch (4504:35): [True: 0, False: 17.5k]
  ------------------
 4505|      0|        _Pypegen_stack_overflow(p);
 4506|      0|    }
 4507|  17.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (4507:9): [True: 0, False: 17.5k]
  ------------------
 4508|      0|        p->level--;
 4509|      0|        return NULL;
 4510|      0|    }
 4511|  17.5k|    stmt_ty _res = NULL;
 4512|  17.5k|    int _mark = p->mark;
 4513|  17.5k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (4513:9): [True: 0, False: 17.5k]
  |  Branch (4513:31): [True: 0, False: 0]
  ------------------
 4514|      0|        p->error_indicator = 1;
 4515|      0|        p->level--;
 4516|      0|        return NULL;
 4517|      0|    }
 4518|  17.5k|    int _start_lineno = p->tokens[_mark]->lineno;
 4519|  17.5k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  17.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 17.5k]
  |  |  ------------------
  ------------------
 4520|  17.5k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 4521|  17.5k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  17.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 17.5k]
  |  |  ------------------
  ------------------
 4522|  17.5k|    if (p->call_invalid_rules) { // invalid_class_def_raw
  ------------------
  |  Branch (4522:9): [True: 2.07k, False: 15.4k]
  ------------------
 4523|  2.07k|        if (p->error_indicator) {
  ------------------
  |  Branch (4523:13): [True: 0, False: 2.07k]
  ------------------
 4524|      0|            p->level--;
 4525|      0|            return NULL;
 4526|      0|        }
 4527|  2.07k|        D(fprintf(stderr, "%*c> class_def_raw[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_class_def_raw"));
 4528|  2.07k|        void *invalid_class_def_raw_var;
 4529|  2.07k|        if (
 4530|  2.07k|            (invalid_class_def_raw_var = invalid_class_def_raw_rule(p))  // invalid_class_def_raw
  ------------------
  |  Branch (4530:13): [True: 0, False: 2.07k]
  ------------------
 4531|  2.07k|        )
 4532|      0|        {
 4533|      0|            D(fprintf(stderr, "%*c+ class_def_raw[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_class_def_raw"));
 4534|      0|            _res = invalid_class_def_raw_var;
 4535|      0|            goto done;
 4536|      0|        }
 4537|  2.07k|        p->mark = _mark;
 4538|  2.07k|        D(fprintf(stderr, "%*c%s class_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
 4539|  2.07k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_class_def_raw"));
 4540|  2.07k|    }
 4541|  17.5k|    { // 'class' NAME type_params? ['(' arguments? ')'] ':' block
 4542|  17.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (4542:13): [True: 13, False: 17.5k]
  ------------------
 4543|     13|            p->level--;
 4544|     13|            return NULL;
 4545|     13|        }
 4546|  17.5k|        D(fprintf(stderr, "%*c> class_def_raw[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'class' NAME type_params? ['(' arguments? ')'] ':' block"));
 4547|  17.5k|        Token * _keyword;
 4548|  17.5k|        Token * _literal;
 4549|  17.5k|        expr_ty a;
 4550|  17.5k|        void *b;
 4551|  17.5k|        asdl_stmt_seq* c;
 4552|  17.5k|        void *t;
 4553|  17.5k|        if (
 4554|  17.5k|            (_keyword = _PyPegen_expect_token(p, 719))  // token='class'
  ------------------
  |  Branch (4554:13): [True: 17.3k, False: 197]
  ------------------
 4555|  17.3k|            &&
 4556|  17.3k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4556:13): [True: 17.3k, False: 16]
  ------------------
 4557|  17.3k|            &&
 4558|  17.3k|            (t = type_params_rule(p), !p->error_indicator)  // type_params?
  ------------------
  |  Branch (4558:13): [True: 17.3k, False: 7]
  ------------------
 4559|  17.3k|            &&
 4560|  17.3k|            (b = _tmp_25_rule(p), !p->error_indicator)  // ['(' arguments? ')']
  ------------------
  |  Branch (4560:13): [True: 17.3k, False: 1]
  ------------------
 4561|  17.3k|            &&
 4562|  17.3k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (4562:13): [True: 17.2k, False: 87]
  ------------------
 4563|  17.2k|            &&
 4564|  17.2k|            (c = block_rule(p))  // block
  ------------------
  |  Branch (4564:13): [True: 17.1k, False: 108]
  ------------------
 4565|  17.5k|        )
 4566|  17.1k|        {
 4567|  17.1k|            D(fprintf(stderr, "%*c+ class_def_raw[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'class' NAME type_params? ['(' arguments? ')'] ':' block"));
 4568|  17.1k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 4569|  17.1k|            if (_token == NULL) {
  ------------------
  |  Branch (4569:17): [True: 0, False: 17.1k]
  ------------------
 4570|      0|                p->level--;
 4571|      0|                return NULL;
 4572|      0|            }
 4573|  17.1k|            int _end_lineno = _token->end_lineno;
 4574|  17.1k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  17.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 17.1k]
  |  |  ------------------
  ------------------
 4575|  17.1k|            int _end_col_offset = _token->end_col_offset;
 4576|  17.1k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  17.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 17.1k]
  |  |  ------------------
  ------------------
 4577|  17.1k|            _res = _PyAST_ClassDef ( a -> v . Name . id , ( b ) ? ( ( expr_ty ) b ) -> v . Call . args : NULL , ( b ) ? ( ( expr_ty ) b ) -> v . Call . keywords : NULL , c , NULL , t , EXTRA );
  ------------------
  |  |  281|  17.1k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (4577:59): [True: 717, False: 16.4k]
  |  Branch (4577:113): [True: 717, False: 16.4k]
  ------------------
 4578|  17.1k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4578:18): [True: 0, False: 17.1k]
  |  Branch (4578:34): [True: 0, False: 17.1k]
  |  Branch (4578:57): [True: 0, False: 0]
  ------------------
 4579|      0|                p->error_indicator = 1;
 4580|      0|                p->level--;
 4581|      0|                return NULL;
 4582|      0|            }
 4583|  17.1k|            goto done;
 4584|  17.1k|        }
 4585|    416|        p->mark = _mark;
 4586|    416|        D(fprintf(stderr, "%*c%s class_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
 4587|    416|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'class' NAME type_params? ['(' arguments? ')'] ':' block"));
 4588|    416|    }
 4589|    416|    _res = NULL;
 4590|  17.5k|  done:
 4591|  17.5k|    p->level--;
 4592|  17.5k|    return _res;
 4593|    416|}
parser.c:invalid_class_def_raw_rule:
26714|  2.07k|{
26715|  2.07k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.15k|#  define MAXSTACK 6000
  ------------------
  |  Branch (26715:9): [True: 0, False: 2.07k]
  |  Branch (26715:35): [True: 0, False: 2.07k]
  ------------------
26716|      0|        _Pypegen_stack_overflow(p);
26717|      0|    }
26718|  2.07k|    if (p->error_indicator) {
  ------------------
  |  Branch (26718:9): [True: 0, False: 2.07k]
  ------------------
26719|      0|        p->level--;
26720|      0|        return NULL;
26721|      0|    }
26722|  2.07k|    void * _res = NULL;
26723|  2.07k|    int _mark = p->mark;
26724|  2.07k|    { // 'class' NAME type_params? ['(' arguments? ')'] NEWLINE
26725|  2.07k|        if (p->error_indicator) {
  ------------------
  |  Branch (26725:13): [True: 0, False: 2.07k]
  ------------------
26726|      0|            p->level--;
26727|      0|            return NULL;
26728|      0|        }
26729|  2.07k|        D(fprintf(stderr, "%*c> invalid_class_def_raw[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'class' NAME type_params? ['(' arguments? ')'] NEWLINE"));
26730|  2.07k|        Token * _keyword;
26731|  2.07k|        void *_opt_var;
26732|  2.07k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  2.07k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.07k]
  |  |  ------------------
  ------------------
26733|  2.07k|        void *_opt_var_1;
26734|  2.07k|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  279|  2.07k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.07k]
  |  |  ------------------
  ------------------
26735|  2.07k|        expr_ty name_var;
26736|  2.07k|        Token * newline_var;
26737|  2.07k|        if (
26738|  2.07k|            (_keyword = _PyPegen_expect_token(p, 719))  // token='class'
  ------------------
  |  Branch (26738:13): [True: 1.99k, False: 81]
  ------------------
26739|  1.99k|            &&
26740|  1.99k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (26740:13): [True: 1.99k, False: 7]
  ------------------
26741|  1.99k|            &&
26742|  1.99k|            (_opt_var = type_params_rule(p), !p->error_indicator)  // type_params?
  ------------------
  |  Branch (26742:13): [True: 1.98k, False: 5]
  ------------------
26743|  1.98k|            &&
26744|  1.98k|            (_opt_var_1 = _tmp_25_rule(p), !p->error_indicator)  // ['(' arguments? ')']
  ------------------
  |  Branch (26744:13): [True: 1.98k, False: 1]
  ------------------
26745|  1.98k|            &&
26746|  1.98k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  1.98k|#define NEWLINE         4
  ------------------
  |  Branch (26746:13): [True: 5, False: 1.97k]
  ------------------
26747|  2.07k|        )
26748|      5|        {
26749|      5|            D(fprintf(stderr, "%*c+ invalid_class_def_raw[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'class' NAME type_params? ['(' arguments? ')'] NEWLINE"));
26750|      5|            _res = RAISE_SYNTAX_ERROR ( "expected ':'" );
  ------------------
  |  |  207|      5|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
26751|      5|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26751:18): [True: 5, False: 0]
  |  Branch (26751:34): [True: 0, False: 0]
  |  Branch (26751:57): [True: 5, False: 0]
  ------------------
26752|      5|                p->error_indicator = 1;
26753|      5|                p->level--;
26754|      5|                return NULL;
26755|      5|            }
26756|      0|            goto done;
26757|      5|        }
26758|  2.07k|        p->mark = _mark;
26759|  2.07k|        D(fprintf(stderr, "%*c%s invalid_class_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
26760|  2.07k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'class' NAME type_params? ['(' arguments? ')'] NEWLINE"));
26761|  2.07k|    }
26762|      0|    { // 'class' NAME type_params? ['(' arguments? ')'] ':' NEWLINE !INDENT
26763|  2.07k|        if (p->error_indicator) {
  ------------------
  |  Branch (26763:13): [True: 6, False: 2.06k]
  ------------------
26764|      6|            p->level--;
26765|      6|            return NULL;
26766|      6|        }
26767|  2.06k|        D(fprintf(stderr, "%*c> invalid_class_def_raw[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'class' NAME type_params? ['(' arguments? ')'] ':' NEWLINE !INDENT"));
26768|  2.06k|        Token * _literal;
26769|  2.06k|        void *_opt_var;
26770|  2.06k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  2.06k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.06k]
  |  |  ------------------
  ------------------
26771|  2.06k|        void *_opt_var_1;
26772|  2.06k|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  279|  2.06k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.06k]
  |  |  ------------------
  ------------------
26773|  2.06k|        Token * a;
26774|  2.06k|        expr_ty name_var;
26775|  2.06k|        Token * newline_var;
26776|  2.06k|        if (
26777|  2.06k|            (a = _PyPegen_expect_token(p, 719))  // token='class'
  ------------------
  |  Branch (26777:13): [True: 1.98k, False: 81]
  ------------------
26778|  1.98k|            &&
26779|  1.98k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (26779:13): [True: 1.97k, False: 7]
  ------------------
26780|  1.97k|            &&
26781|  1.97k|            (_opt_var = type_params_rule(p), !p->error_indicator)  // type_params?
  ------------------
  |  Branch (26781:13): [True: 1.97k, False: 0]
  ------------------
26782|  1.97k|            &&
26783|  1.97k|            (_opt_var_1 = _tmp_25_rule(p), !p->error_indicator)  // ['(' arguments? ')']
  ------------------
  |  Branch (26783:13): [True: 1.97k, False: 0]
  ------------------
26784|  1.97k|            &&
26785|  1.97k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (26785:13): [True: 1.94k, False: 37]
  ------------------
26786|  1.94k|            &&
26787|  1.94k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  1.94k|#define NEWLINE         4
  ------------------
  |  Branch (26787:13): [True: 504, False: 1.43k]
  ------------------
26788|    504|            &&
26789|    504|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|    504|#define INDENT          5
  ------------------
  |  Branch (26789:13): [True: 2, False: 502]
  ------------------
26790|  2.06k|        )
26791|      2|        {
26792|      2|            D(fprintf(stderr, "%*c+ invalid_class_def_raw[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'class' NAME type_params? ['(' arguments? ')'] ':' NEWLINE !INDENT"));
26793|      2|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after class definition on line %d" , a -> lineno );
  ------------------
  |  |  208|      2|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
26794|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26794:18): [True: 2, False: 0]
  |  Branch (26794:34): [True: 0, False: 0]
  |  Branch (26794:57): [True: 2, False: 0]
  ------------------
26795|      2|                p->error_indicator = 1;
26796|      2|                p->level--;
26797|      2|                return NULL;
26798|      2|            }
26799|      0|            goto done;
26800|      2|        }
26801|  2.06k|        p->mark = _mark;
26802|  2.06k|        D(fprintf(stderr, "%*c%s invalid_class_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
26803|  2.06k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'class' NAME type_params? ['(' arguments? ')'] ':' NEWLINE !INDENT"));
26804|  2.06k|    }
26805|  2.06k|    _res = NULL;
26806|  2.06k|  done:
26807|  2.06k|    p->level--;
26808|  2.06k|    return _res;
26809|  2.06k|}
parser.c:_tmp_25_rule:
30112|  21.2k|{
30113|  21.2k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  42.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (30113:9): [True: 0, False: 21.2k]
  |  Branch (30113:35): [True: 0, False: 21.2k]
  ------------------
30114|      0|        _Pypegen_stack_overflow(p);
30115|      0|    }
30116|  21.2k|    if (p->error_indicator) {
  ------------------
  |  Branch (30116:9): [True: 0, False: 21.2k]
  ------------------
30117|      0|        p->level--;
30118|      0|        return NULL;
30119|      0|    }
30120|  21.2k|    void * _res = NULL;
30121|  21.2k|    int _mark = p->mark;
30122|  21.2k|    { // '(' arguments? ')'
30123|  21.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (30123:13): [True: 0, False: 21.2k]
  ------------------
30124|      0|            p->level--;
30125|      0|            return NULL;
30126|      0|        }
30127|  21.2k|        D(fprintf(stderr, "%*c> _tmp_25[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' arguments? ')'"));
30128|  21.2k|        Token * _literal;
30129|  21.2k|        Token * _literal_1;
30130|  21.2k|        void *z;
30131|  21.2k|        if (
30132|  21.2k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (30132:13): [True: 3.70k, False: 17.5k]
  ------------------
30133|  3.70k|            &&
30134|  3.70k|            (z = arguments_rule(p), !p->error_indicator)  // arguments?
  ------------------
  |  Branch (30134:13): [True: 3.70k, False: 2]
  ------------------
30135|  3.70k|            &&
30136|  3.70k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (30136:13): [True: 3.69k, False: 13]
  ------------------
30137|  21.2k|        )
30138|  3.69k|        {
30139|  3.69k|            D(fprintf(stderr, "%*c+ _tmp_25[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' arguments? ')'"));
30140|  3.69k|            _res = z;
30141|  3.69k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (30141:18): [True: 2.66k, False: 1.02k]
  |  Branch (30141:34): [True: 0, False: 1.02k]
  |  Branch (30141:57): [True: 0, False: 2.66k]
  ------------------
30142|      0|                p->error_indicator = 1;
30143|      0|                p->level--;
30144|      0|                return NULL;
30145|      0|            }
30146|  3.69k|            goto done;
30147|  3.69k|        }
30148|  17.5k|        p->mark = _mark;
30149|  17.5k|        D(fprintf(stderr, "%*c%s _tmp_25[%d-%d]: %s failed!\n", p->level, ' ',
30150|  17.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' arguments? ')'"));
30151|  17.5k|    }
30152|  17.5k|    _res = NULL;
30153|  21.2k|  done:
30154|  21.2k|    p->level--;
30155|  21.2k|    return _res;
30156|  17.5k|}
parser.c:_tmp_8_rule:
29101|   179k|{
29102|   179k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   359k|#  define MAXSTACK 6000
  ------------------
  |  Branch (29102:9): [True: 0, False: 179k]
  |  Branch (29102:35): [True: 0, False: 179k]
  ------------------
29103|      0|        _Pypegen_stack_overflow(p);
29104|      0|    }
29105|   179k|    if (p->error_indicator) {
  ------------------
  |  Branch (29105:9): [True: 0, False: 179k]
  ------------------
29106|      0|        p->level--;
29107|      0|        return NULL;
29108|      0|    }
29109|   179k|    void * _res = NULL;
29110|   179k|    int _mark = p->mark;
29111|   179k|    { // 'with'
29112|   179k|        if (p->error_indicator) {
  ------------------
  |  Branch (29112:13): [True: 0, False: 179k]
  ------------------
29113|      0|            p->level--;
29114|      0|            return NULL;
29115|      0|        }
29116|   179k|        D(fprintf(stderr, "%*c> _tmp_8[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'with'"));
29117|   179k|        Token * _keyword;
29118|   179k|        if (
29119|   179k|            (_keyword = _PyPegen_expect_token(p, 665))  // token='with'
  ------------------
  |  Branch (29119:13): [True: 2.37k, False: 177k]
  ------------------
29120|   179k|        )
29121|  2.37k|        {
29122|  2.37k|            D(fprintf(stderr, "%*c+ _tmp_8[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'with'"));
29123|  2.37k|            _res = _keyword;
29124|  2.37k|            goto done;
29125|  2.37k|        }
29126|   177k|        p->mark = _mark;
29127|   177k|        D(fprintf(stderr, "%*c%s _tmp_8[%d-%d]: %s failed!\n", p->level, ' ',
29128|   177k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'with'"));
29129|   177k|    }
29130|      0|    { // 'async'
29131|   177k|        if (p->error_indicator) {
  ------------------
  |  Branch (29131:13): [True: 0, False: 177k]
  ------------------
29132|      0|            p->level--;
29133|      0|            return NULL;
29134|      0|        }
29135|   177k|        D(fprintf(stderr, "%*c> _tmp_8[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'"));
29136|   177k|        Token * _keyword;
29137|   177k|        if (
29138|   177k|            (_keyword = _PyPegen_expect_token(p, 716))  // token='async'
  ------------------
  |  Branch (29138:13): [True: 4.54k, False: 172k]
  ------------------
29139|   177k|        )
29140|  4.54k|        {
29141|  4.54k|            D(fprintf(stderr, "%*c+ _tmp_8[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'"));
29142|  4.54k|            _res = _keyword;
29143|  4.54k|            goto done;
29144|  4.54k|        }
29145|   172k|        p->mark = _mark;
29146|   172k|        D(fprintf(stderr, "%*c%s _tmp_8[%d-%d]: %s failed!\n", p->level, ' ',
29147|   172k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'"));
29148|   172k|    }
29149|   172k|    _res = NULL;
29150|   179k|  done:
29151|   179k|    p->level--;
29152|   179k|    return _res;
29153|   172k|}
parser.c:with_stmt_rule:
 6710|  6.92k|{
 6711|  6.92k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  13.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6711:9): [True: 0, False: 6.92k]
  |  Branch (6711:35): [True: 0, False: 6.92k]
  ------------------
 6712|      0|        _Pypegen_stack_overflow(p);
 6713|      0|    }
 6714|  6.92k|    if (p->error_indicator) {
  ------------------
  |  Branch (6714:9): [True: 0, False: 6.92k]
  ------------------
 6715|      0|        p->level--;
 6716|      0|        return NULL;
 6717|      0|    }
 6718|  6.92k|    stmt_ty _res = NULL;
 6719|  6.92k|    int _mark = p->mark;
 6720|  6.92k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (6720:9): [True: 0, False: 6.92k]
  |  Branch (6720:31): [True: 0, False: 0]
  ------------------
 6721|      0|        p->error_indicator = 1;
 6722|      0|        p->level--;
 6723|      0|        return NULL;
 6724|      0|    }
 6725|  6.92k|    int _start_lineno = p->tokens[_mark]->lineno;
 6726|  6.92k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  6.92k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 6.92k]
  |  |  ------------------
  ------------------
 6727|  6.92k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 6728|  6.92k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  6.92k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 6.92k]
  |  |  ------------------
  ------------------
 6729|  6.92k|    if (p->call_invalid_rules) { // invalid_with_stmt_indent
  ------------------
  |  Branch (6729:9): [True: 1.72k, False: 5.20k]
  ------------------
 6730|  1.72k|        if (p->error_indicator) {
  ------------------
  |  Branch (6730:13): [True: 0, False: 1.72k]
  ------------------
 6731|      0|            p->level--;
 6732|      0|            return NULL;
 6733|      0|        }
 6734|  1.72k|        D(fprintf(stderr, "%*c> with_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_with_stmt_indent"));
 6735|  1.72k|        void *invalid_with_stmt_indent_var;
 6736|  1.72k|        if (
 6737|  1.72k|            (invalid_with_stmt_indent_var = invalid_with_stmt_indent_rule(p))  // invalid_with_stmt_indent
  ------------------
  |  Branch (6737:13): [True: 0, False: 1.72k]
  ------------------
 6738|  1.72k|        )
 6739|      0|        {
 6740|      0|            D(fprintf(stderr, "%*c+ with_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_with_stmt_indent"));
 6741|      0|            _res = invalid_with_stmt_indent_var;
 6742|      0|            goto done;
 6743|      0|        }
 6744|  1.72k|        p->mark = _mark;
 6745|  1.72k|        D(fprintf(stderr, "%*c%s with_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6746|  1.72k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_with_stmt_indent"));
 6747|  1.72k|    }
 6748|  6.92k|    { // 'with' '(' ','.with_item+ ','? ')' ':' TYPE_COMMENT? block
 6749|  6.92k|        if (p->error_indicator) {
  ------------------
  |  Branch (6749:13): [True: 30, False: 6.89k]
  ------------------
 6750|     30|            p->level--;
 6751|     30|            return NULL;
 6752|     30|        }
 6753|  6.89k|        D(fprintf(stderr, "%*c> with_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'with' '(' ','.with_item+ ','? ')' ':' TYPE_COMMENT? block"));
 6754|  6.89k|        Token * _keyword;
 6755|  6.89k|        Token * _literal;
 6756|  6.89k|        Token * _literal_1;
 6757|  6.89k|        Token * _literal_2;
 6758|  6.89k|        void *_opt_var;
 6759|  6.89k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  6.89k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 6.89k]
  |  |  ------------------
  ------------------
 6760|  6.89k|        asdl_withitem_seq* a;
 6761|  6.89k|        asdl_stmt_seq* b;
 6762|  6.89k|        void *tc;
 6763|  6.89k|        if (
 6764|  6.89k|            (_keyword = _PyPegen_expect_token(p, 665))  // token='with'
  ------------------
  |  Branch (6764:13): [True: 2.35k, False: 4.54k]
  ------------------
 6765|  2.35k|            &&
 6766|  2.35k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (6766:13): [True: 1.78k, False: 571]
  ------------------
 6767|  1.78k|            &&
 6768|  1.78k|            (a = (asdl_withitem_seq*)_gather_34_rule(p))  // ','.with_item+
  ------------------
  |  Branch (6768:13): [True: 1.73k, False: 43]
  ------------------
 6769|  1.73k|            &&
 6770|  1.73k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (6770:13): [True: 1.73k, False: 1]
  ------------------
 6771|  1.73k|            &&
 6772|  1.73k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (6772:13): [True: 1.68k, False: 57]
  ------------------
 6773|  1.68k|            &&
 6774|  1.68k|            (_literal_2 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6774:13): [True: 1.65k, False: 25]
  ------------------
 6775|  1.65k|            &&
 6776|  1.65k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  1.65k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (6776:13): [True: 1.65k, False: 1]
  ------------------
 6777|  1.65k|            &&
 6778|  1.65k|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6778:13): [True: 1.63k, False: 22]
  ------------------
 6779|  6.89k|        )
 6780|  1.63k|        {
 6781|  1.63k|            D(fprintf(stderr, "%*c+ with_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'with' '(' ','.with_item+ ','? ')' ':' TYPE_COMMENT? block"));
 6782|  1.63k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6783|  1.63k|            if (_token == NULL) {
  ------------------
  |  Branch (6783:17): [True: 0, False: 1.63k]
  ------------------
 6784|      0|                p->level--;
 6785|      0|                return NULL;
 6786|      0|            }
 6787|  1.63k|            int _end_lineno = _token->end_lineno;
 6788|  1.63k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.63k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.63k]
  |  |  ------------------
  ------------------
 6789|  1.63k|            int _end_col_offset = _token->end_col_offset;
 6790|  1.63k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.63k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.63k]
  |  |  ------------------
  ------------------
 6791|  1.63k|            _res = _PyAST_With ( a , b , NEW_TYPE_COMMENT ( p , tc ) , EXTRA );
  ------------------
  |  |  281|  1.63k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6792|  1.63k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6792:18): [True: 0, False: 1.63k]
  |  Branch (6792:34): [True: 0, False: 1.63k]
  |  Branch (6792:57): [True: 0, False: 0]
  ------------------
 6793|      0|                p->error_indicator = 1;
 6794|      0|                p->level--;
 6795|      0|                return NULL;
 6796|      0|            }
 6797|  1.63k|            goto done;
 6798|  1.63k|        }
 6799|  5.26k|        p->mark = _mark;
 6800|  5.26k|        D(fprintf(stderr, "%*c%s with_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6801|  5.26k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'with' '(' ','.with_item+ ','? ')' ':' TYPE_COMMENT? block"));
 6802|  5.26k|    }
 6803|      0|    { // 'with' ','.with_item+ ':' TYPE_COMMENT? block
 6804|  5.26k|        if (p->error_indicator) {
  ------------------
  |  Branch (6804:13): [True: 10, False: 5.25k]
  ------------------
 6805|     10|            p->level--;
 6806|     10|            return NULL;
 6807|     10|        }
 6808|  5.25k|        D(fprintf(stderr, "%*c> with_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'with' ','.with_item+ ':' TYPE_COMMENT? block"));
 6809|  5.25k|        Token * _keyword;
 6810|  5.25k|        Token * _literal;
 6811|  5.25k|        asdl_withitem_seq* a;
 6812|  5.25k|        asdl_stmt_seq* b;
 6813|  5.25k|        void *tc;
 6814|  5.25k|        if (
 6815|  5.25k|            (_keyword = _PyPegen_expect_token(p, 665))  // token='with'
  ------------------
  |  Branch (6815:13): [True: 710, False: 4.54k]
  ------------------
 6816|    710|            &&
 6817|    710|            (a = (asdl_withitem_seq*)_gather_34_rule(p))  // ','.with_item+
  ------------------
  |  Branch (6817:13): [True: 632, False: 78]
  ------------------
 6818|    632|            &&
 6819|    632|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6819:13): [True: 555, False: 77]
  ------------------
 6820|    555|            &&
 6821|    555|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|    555|#define TYPE_COMMENT    57
  ------------------
  |  Branch (6821:13): [True: 554, False: 1]
  ------------------
 6822|    554|            &&
 6823|    554|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6823:13): [True: 501, False: 53]
  ------------------
 6824|  5.25k|        )
 6825|    501|        {
 6826|    501|            D(fprintf(stderr, "%*c+ with_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'with' ','.with_item+ ':' TYPE_COMMENT? block"));
 6827|    501|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6828|    501|            if (_token == NULL) {
  ------------------
  |  Branch (6828:17): [True: 0, False: 501]
  ------------------
 6829|      0|                p->level--;
 6830|      0|                return NULL;
 6831|      0|            }
 6832|    501|            int _end_lineno = _token->end_lineno;
 6833|    501|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    501|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 501]
  |  |  ------------------
  ------------------
 6834|    501|            int _end_col_offset = _token->end_col_offset;
 6835|    501|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    501|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 501]
  |  |  ------------------
  ------------------
 6836|    501|            _res = _PyAST_With ( a , b , NEW_TYPE_COMMENT ( p , tc ) , EXTRA );
  ------------------
  |  |  281|    501|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6837|    501|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6837:18): [True: 0, False: 501]
  |  Branch (6837:34): [True: 0, False: 501]
  |  Branch (6837:57): [True: 0, False: 0]
  ------------------
 6838|      0|                p->error_indicator = 1;
 6839|      0|                p->level--;
 6840|      0|                return NULL;
 6841|      0|            }
 6842|    501|            goto done;
 6843|    501|        }
 6844|  4.75k|        p->mark = _mark;
 6845|  4.75k|        D(fprintf(stderr, "%*c%s with_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6846|  4.75k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'with' ','.with_item+ ':' TYPE_COMMENT? block"));
 6847|  4.75k|    }
 6848|      0|    { // 'async' 'with' '(' ','.with_item+ ','? ')' ':' block
 6849|  4.75k|        if (p->error_indicator) {
  ------------------
  |  Branch (6849:13): [True: 17, False: 4.73k]
  ------------------
 6850|     17|            p->level--;
 6851|     17|            return NULL;
 6852|     17|        }
 6853|  4.73k|        D(fprintf(stderr, "%*c> with_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async' 'with' '(' ','.with_item+ ','? ')' ':' block"));
 6854|  4.73k|        Token * _keyword;
 6855|  4.73k|        Token * _keyword_1;
 6856|  4.73k|        Token * _literal;
 6857|  4.73k|        Token * _literal_1;
 6858|  4.73k|        Token * _literal_2;
 6859|  4.73k|        void *_opt_var;
 6860|  4.73k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  4.73k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.73k]
  |  |  ------------------
  ------------------
 6861|  4.73k|        asdl_withitem_seq* a;
 6862|  4.73k|        asdl_stmt_seq* b;
 6863|  4.73k|        if (
 6864|  4.73k|            (_keyword = _PyPegen_expect_token(p, 716))  // token='async'
  ------------------
  |  Branch (6864:13): [True: 4.54k, False: 192]
  ------------------
 6865|  4.54k|            &&
 6866|  4.54k|            (_keyword_1 = _PyPegen_expect_token(p, 665))  // token='with'
  ------------------
  |  Branch (6866:13): [True: 3.70k, False: 842]
  ------------------
 6867|  3.70k|            &&
 6868|  3.70k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (6868:13): [True: 36, False: 3.66k]
  ------------------
 6869|     36|            &&
 6870|     36|            (a = (asdl_withitem_seq*)_gather_34_rule(p))  // ','.with_item+
  ------------------
  |  Branch (6870:13): [True: 33, False: 3]
  ------------------
 6871|     33|            &&
 6872|     33|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (6872:13): [True: 31, False: 2]
  ------------------
 6873|     31|            &&
 6874|     31|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (6874:13): [True: 25, False: 6]
  ------------------
 6875|     25|            &&
 6876|     25|            (_literal_2 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6876:13): [True: 22, False: 3]
  ------------------
 6877|     22|            &&
 6878|     22|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6878:13): [True: 19, False: 3]
  ------------------
 6879|  4.73k|        )
 6880|     19|        {
 6881|     19|            D(fprintf(stderr, "%*c+ with_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async' 'with' '(' ','.with_item+ ','? ')' ':' block"));
 6882|     19|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6883|     19|            if (_token == NULL) {
  ------------------
  |  Branch (6883:17): [True: 0, False: 19]
  ------------------
 6884|      0|                p->level--;
 6885|      0|                return NULL;
 6886|      0|            }
 6887|     19|            int _end_lineno = _token->end_lineno;
 6888|     19|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|     19|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 19]
  |  |  ------------------
  ------------------
 6889|     19|            int _end_col_offset = _token->end_col_offset;
 6890|     19|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|     19|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 19]
  |  |  ------------------
  ------------------
 6891|     19|            _res = CHECK_VERSION ( stmt_ty , 5 , "Async with statements are" , _PyAST_AsyncWith ( a , b , NULL , EXTRA ) );
  ------------------
  |  |  319|     19|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 6892|     19|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6892:18): [True: 0, False: 19]
  |  Branch (6892:34): [True: 0, False: 19]
  |  Branch (6892:57): [True: 0, False: 0]
  ------------------
 6893|      0|                p->error_indicator = 1;
 6894|      0|                p->level--;
 6895|      0|                return NULL;
 6896|      0|            }
 6897|     19|            goto done;
 6898|     19|        }
 6899|  4.71k|        p->mark = _mark;
 6900|  4.71k|        D(fprintf(stderr, "%*c%s with_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6901|  4.71k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async' 'with' '(' ','.with_item+ ','? ')' ':' block"));
 6902|  4.71k|    }
 6903|      0|    { // 'async' 'with' ','.with_item+ ':' TYPE_COMMENT? block
 6904|  4.71k|        if (p->error_indicator) {
  ------------------
  |  Branch (6904:13): [True: 6, False: 4.71k]
  ------------------
 6905|      6|            p->level--;
 6906|      6|            return NULL;
 6907|      6|        }
 6908|  4.71k|        D(fprintf(stderr, "%*c> with_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async' 'with' ','.with_item+ ':' TYPE_COMMENT? block"));
 6909|  4.71k|        Token * _keyword;
 6910|  4.71k|        Token * _keyword_1;
 6911|  4.71k|        Token * _literal;
 6912|  4.71k|        asdl_withitem_seq* a;
 6913|  4.71k|        asdl_stmt_seq* b;
 6914|  4.71k|        void *tc;
 6915|  4.71k|        if (
 6916|  4.71k|            (_keyword = _PyPegen_expect_token(p, 716))  // token='async'
  ------------------
  |  Branch (6916:13): [True: 4.51k, False: 192]
  ------------------
 6917|  4.51k|            &&
 6918|  4.51k|            (_keyword_1 = _PyPegen_expect_token(p, 665))  // token='with'
  ------------------
  |  Branch (6918:13): [True: 3.67k, False: 842]
  ------------------
 6919|  3.67k|            &&
 6920|  3.67k|            (a = (asdl_withitem_seq*)_gather_34_rule(p))  // ','.with_item+
  ------------------
  |  Branch (6920:13): [True: 3.66k, False: 10]
  ------------------
 6921|  3.66k|            &&
 6922|  3.66k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6922:13): [True: 3.62k, False: 40]
  ------------------
 6923|  3.62k|            &&
 6924|  3.62k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  3.62k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (6924:13): [True: 3.62k, False: 2]
  ------------------
 6925|  3.62k|            &&
 6926|  3.62k|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6926:13): [True: 3.59k, False: 26]
  ------------------
 6927|  4.71k|        )
 6928|  3.59k|        {
 6929|  3.59k|            D(fprintf(stderr, "%*c+ with_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async' 'with' ','.with_item+ ':' TYPE_COMMENT? block"));
 6930|  3.59k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6931|  3.59k|            if (_token == NULL) {
  ------------------
  |  Branch (6931:17): [True: 0, False: 3.59k]
  ------------------
 6932|      0|                p->level--;
 6933|      0|                return NULL;
 6934|      0|            }
 6935|  3.59k|            int _end_lineno = _token->end_lineno;
 6936|  3.59k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.59k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.59k]
  |  |  ------------------
  ------------------
 6937|  3.59k|            int _end_col_offset = _token->end_col_offset;
 6938|  3.59k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.59k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.59k]
  |  |  ------------------
  ------------------
 6939|  3.59k|            _res = CHECK_VERSION ( stmt_ty , 5 , "Async with statements are" , _PyAST_AsyncWith ( a , b , NEW_TYPE_COMMENT ( p , tc ) , EXTRA ) );
  ------------------
  |  |  319|  3.59k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 6940|  3.59k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6940:18): [True: 0, False: 3.59k]
  |  Branch (6940:34): [True: 0, False: 3.59k]
  |  Branch (6940:57): [True: 0, False: 0]
  ------------------
 6941|      0|                p->error_indicator = 1;
 6942|      0|                p->level--;
 6943|      0|                return NULL;
 6944|      0|            }
 6945|  3.59k|            goto done;
 6946|  3.59k|        }
 6947|  1.11k|        p->mark = _mark;
 6948|  1.11k|        D(fprintf(stderr, "%*c%s with_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6949|  1.11k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async' 'with' ','.with_item+ ':' TYPE_COMMENT? block"));
 6950|  1.11k|    }
 6951|  1.11k|    if (p->call_invalid_rules) { // invalid_with_stmt
  ------------------
  |  Branch (6951:9): [True: 381, False: 731]
  ------------------
 6952|    381|        if (p->error_indicator) {
  ------------------
  |  Branch (6952:13): [True: 7, False: 374]
  ------------------
 6953|      7|            p->level--;
 6954|      7|            return NULL;
 6955|      7|        }
 6956|    374|        D(fprintf(stderr, "%*c> with_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_with_stmt"));
 6957|    374|        void *invalid_with_stmt_var;
 6958|    374|        if (
 6959|    374|            (invalid_with_stmt_var = invalid_with_stmt_rule(p))  // invalid_with_stmt
  ------------------
  |  Branch (6959:13): [True: 0, False: 374]
  ------------------
 6960|    374|        )
 6961|      0|        {
 6962|      0|            D(fprintf(stderr, "%*c+ with_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_with_stmt"));
 6963|      0|            _res = invalid_with_stmt_var;
 6964|      0|            goto done;
 6965|      0|        }
 6966|    374|        p->mark = _mark;
 6967|    374|        D(fprintf(stderr, "%*c%s with_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6968|    374|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_with_stmt"));
 6969|    374|    }
 6970|  1.10k|    _res = NULL;
 6971|  6.85k|  done:
 6972|  6.85k|    p->level--;
 6973|  6.85k|    return _res;
 6974|  1.10k|}
parser.c:invalid_with_stmt_indent_rule:
24835|  1.72k|{
24836|  1.72k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.44k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24836:9): [True: 0, False: 1.72k]
  |  Branch (24836:35): [True: 0, False: 1.72k]
  ------------------
24837|      0|        _Pypegen_stack_overflow(p);
24838|      0|    }
24839|  1.72k|    if (p->error_indicator) {
  ------------------
  |  Branch (24839:9): [True: 0, False: 1.72k]
  ------------------
24840|      0|        p->level--;
24841|      0|        return NULL;
24842|      0|    }
24843|  1.72k|    void * _res = NULL;
24844|  1.72k|    int _mark = p->mark;
24845|  1.72k|    { // 'async'? 'with' ','.(expression ['as' star_target])+ ':' NEWLINE !INDENT
24846|  1.72k|        if (p->error_indicator) {
  ------------------
  |  Branch (24846:13): [True: 0, False: 1.72k]
  ------------------
24847|      0|            p->level--;
24848|      0|            return NULL;
24849|      0|        }
24850|  1.72k|        D(fprintf(stderr, "%*c> invalid_with_stmt_indent[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'with' ','.(expression ['as' star_target])+ ':' NEWLINE !INDENT"));
24851|  1.72k|        asdl_seq * _gather_141_var;
24852|  1.72k|        Token * _literal;
24853|  1.72k|        void *_opt_var;
24854|  1.72k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  1.72k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.72k]
  |  |  ------------------
  ------------------
24855|  1.72k|        Token * a;
24856|  1.72k|        Token * newline_var;
24857|  1.72k|        if (
24858|  1.72k|            (_opt_var = _PyPegen_expect_token(p, 716), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (24858:13): [True: 1.72k, False: 0]
  ------------------
24859|  1.72k|            &&
24860|  1.72k|            (a = _PyPegen_expect_token(p, 665))  // token='with'
  ------------------
  |  Branch (24860:13): [True: 1.45k, False: 271]
  ------------------
24861|  1.45k|            &&
24862|  1.45k|            (_gather_141_var = _gather_141_rule(p))  // ','.(expression ['as' star_target])+
  ------------------
  |  Branch (24862:13): [True: 1.39k, False: 52]
  ------------------
24863|  1.39k|            &&
24864|  1.39k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (24864:13): [True: 1.34k, False: 56]
  ------------------
24865|  1.34k|            &&
24866|  1.34k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  1.34k|#define NEWLINE         4
  ------------------
  |  Branch (24866:13): [True: 48, False: 1.29k]
  ------------------
24867|     48|            &&
24868|     48|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|     48|#define INDENT          5
  ------------------
  |  Branch (24868:13): [True: 6, False: 42]
  ------------------
24869|  1.72k|        )
24870|      6|        {
24871|      6|            D(fprintf(stderr, "%*c+ invalid_with_stmt_indent[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'? 'with' ','.(expression ['as' star_target])+ ':' NEWLINE !INDENT"));
24872|      6|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'with' statement on line %d" , a -> lineno );
  ------------------
  |  |  208|      6|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
24873|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24873:18): [True: 6, False: 0]
  |  Branch (24873:34): [True: 0, False: 0]
  |  Branch (24873:57): [True: 6, False: 0]
  ------------------
24874|      6|                p->error_indicator = 1;
24875|      6|                p->level--;
24876|      6|                return NULL;
24877|      6|            }
24878|      0|            goto done;
24879|      6|        }
24880|  1.71k|        p->mark = _mark;
24881|  1.71k|        D(fprintf(stderr, "%*c%s invalid_with_stmt_indent[%d-%d]: %s failed!\n", p->level, ' ',
24882|  1.71k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'with' ','.(expression ['as' star_target])+ ':' NEWLINE !INDENT"));
24883|  1.71k|    }
24884|      0|    { // 'async'? 'with' '(' ','.(expressions ['as' star_target])+ ','? ')' ':' NEWLINE !INDENT
24885|  1.71k|        if (p->error_indicator) {
  ------------------
  |  Branch (24885:13): [True: 8, False: 1.70k]
  ------------------
24886|      8|            p->level--;
24887|      8|            return NULL;
24888|      8|        }
24889|  1.70k|        D(fprintf(stderr, "%*c> invalid_with_stmt_indent[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'with' '(' ','.(expressions ['as' star_target])+ ','? ')' ':' NEWLINE !INDENT"));
24890|  1.70k|        asdl_seq * _gather_143_var;
24891|  1.70k|        Token * _literal;
24892|  1.70k|        Token * _literal_1;
24893|  1.70k|        Token * _literal_2;
24894|  1.70k|        void *_opt_var;
24895|  1.70k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  1.70k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.70k]
  |  |  ------------------
  ------------------
24896|  1.70k|        void *_opt_var_1;
24897|  1.70k|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  279|  1.70k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.70k]
  |  |  ------------------
  ------------------
24898|  1.70k|        Token * a;
24899|  1.70k|        Token * newline_var;
24900|  1.70k|        if (
24901|  1.70k|            (_opt_var = _PyPegen_expect_token(p, 716), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (24901:13): [True: 1.70k, False: 0]
  ------------------
24902|  1.70k|            &&
24903|  1.70k|            (a = _PyPegen_expect_token(p, 665))  // token='with'
  ------------------
  |  Branch (24903:13): [True: 1.43k, False: 271]
  ------------------
24904|  1.43k|            &&
24905|  1.43k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (24905:13): [True: 711, False: 726]
  ------------------
24906|    711|            &&
24907|    711|            (_gather_143_var = _gather_143_rule(p))  // ','.(expressions ['as' star_target])+
  ------------------
  |  Branch (24907:13): [True: 692, False: 19]
  ------------------
24908|    692|            &&
24909|    692|            (_opt_var_1 = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (24909:13): [True: 678, False: 14]
  ------------------
24910|    678|            &&
24911|    678|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (24911:13): [True: 661, False: 17]
  ------------------
24912|    661|            &&
24913|    661|            (_literal_2 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (24913:13): [True: 646, False: 15]
  ------------------
24914|    646|            &&
24915|    646|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    646|#define NEWLINE         4
  ------------------
  |  Branch (24915:13): [True: 23, False: 623]
  ------------------
24916|     23|            &&
24917|     23|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|     23|#define INDENT          5
  ------------------
  |  Branch (24917:13): [True: 2, False: 21]
  ------------------
24918|  1.70k|        )
24919|      2|        {
24920|      2|            D(fprintf(stderr, "%*c+ invalid_with_stmt_indent[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'? 'with' '(' ','.(expressions ['as' star_target])+ ','? ')' ':' NEWLINE !INDENT"));
24921|      2|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'with' statement on line %d" , a -> lineno );
  ------------------
  |  |  208|      2|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
24922|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24922:18): [True: 2, False: 0]
  |  Branch (24922:34): [True: 0, False: 0]
  |  Branch (24922:57): [True: 2, False: 0]
  ------------------
24923|      2|                p->error_indicator = 1;
24924|      2|                p->level--;
24925|      2|                return NULL;
24926|      2|            }
24927|      0|            goto done;
24928|      2|        }
24929|  1.70k|        p->mark = _mark;
24930|  1.70k|        D(fprintf(stderr, "%*c%s invalid_with_stmt_indent[%d-%d]: %s failed!\n", p->level, ' ',
24931|  1.70k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'with' '(' ','.(expressions ['as' star_target])+ ','? ')' ':' NEWLINE !INDENT"));
24932|  1.70k|    }
24933|  1.70k|    _res = NULL;
24934|  1.70k|  done:
24935|  1.70k|    p->level--;
24936|  1.70k|    return _res;
24937|  1.70k|}
parser.c:_gather_141_rule:
37355|  1.65k|{
37356|  1.65k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.31k|#  define MAXSTACK 6000
  ------------------
  |  Branch (37356:9): [True: 0, False: 1.65k]
  |  Branch (37356:35): [True: 0, False: 1.65k]
  ------------------
37357|      0|        _Pypegen_stack_overflow(p);
37358|      0|    }
37359|  1.65k|    if (p->error_indicator) {
  ------------------
  |  Branch (37359:9): [True: 0, False: 1.65k]
  ------------------
37360|      0|        p->level--;
37361|      0|        return NULL;
37362|      0|    }
37363|  1.65k|    asdl_seq * _res = NULL;
37364|  1.65k|    int _mark = p->mark;
37365|  1.65k|    { // (expression ['as' star_target]) _loop0_140
37366|  1.65k|        if (p->error_indicator) {
  ------------------
  |  Branch (37366:13): [True: 0, False: 1.65k]
  ------------------
37367|      0|            p->level--;
37368|      0|            return NULL;
37369|      0|        }
37370|  1.65k|        D(fprintf(stderr, "%*c> _gather_141[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(expression ['as' star_target]) _loop0_140"));
37371|  1.65k|        void *elem;
37372|  1.65k|        asdl_seq * seq;
37373|  1.65k|        if (
37374|  1.65k|            (elem = _tmp_176_rule(p))  // expression ['as' star_target]
  ------------------
  |  Branch (37374:13): [True: 1.54k, False: 114]
  ------------------
37375|  1.54k|            &&
37376|  1.54k|            (seq = _loop0_140_rule(p))  // _loop0_140
  ------------------
  |  Branch (37376:13): [True: 1.54k, False: 0]
  ------------------
37377|  1.65k|        )
37378|  1.54k|        {
37379|  1.54k|            D(fprintf(stderr, "%*c+ _gather_141[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(expression ['as' star_target]) _loop0_140"));
37380|  1.54k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
37381|  1.54k|            goto done;
37382|  1.54k|        }
37383|    114|        p->mark = _mark;
37384|    114|        D(fprintf(stderr, "%*c%s _gather_141[%d-%d]: %s failed!\n", p->level, ' ',
37385|    114|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(expression ['as' star_target]) _loop0_140"));
37386|    114|    }
37387|    114|    _res = NULL;
37388|  1.65k|  done:
37389|  1.65k|    p->level--;
37390|  1.65k|    return _res;
37391|    114|}
parser.c:_tmp_176_rule:
39385|  4.01k|{
39386|  4.01k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.02k|#  define MAXSTACK 6000
  ------------------
  |  Branch (39386:9): [True: 0, False: 4.01k]
  |  Branch (39386:35): [True: 0, False: 4.01k]
  ------------------
39387|      0|        _Pypegen_stack_overflow(p);
39388|      0|    }
39389|  4.01k|    if (p->error_indicator) {
  ------------------
  |  Branch (39389:9): [True: 0, False: 4.01k]
  ------------------
39390|      0|        p->level--;
39391|      0|        return NULL;
39392|      0|    }
39393|  4.01k|    void * _res = NULL;
39394|  4.01k|    int _mark = p->mark;
39395|  4.01k|    { // expression ['as' star_target]
39396|  4.01k|        if (p->error_indicator) {
  ------------------
  |  Branch (39396:13): [True: 0, False: 4.01k]
  ------------------
39397|      0|            p->level--;
39398|      0|            return NULL;
39399|      0|        }
39400|  4.01k|        D(fprintf(stderr, "%*c> _tmp_176[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ['as' star_target]"));
39401|  4.01k|        void *_opt_var;
39402|  4.01k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  4.01k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.01k]
  |  |  ------------------
  ------------------
39403|  4.01k|        expr_ty expression_var;
39404|  4.01k|        if (
39405|  4.01k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (39405:13): [True: 3.87k, False: 140]
  ------------------
39406|  3.87k|            &&
39407|  3.87k|            (_opt_var = _tmp_180_rule(p), !p->error_indicator)  // ['as' star_target]
  ------------------
  |  Branch (39407:13): [True: 3.86k, False: 2]
  ------------------
39408|  4.01k|        )
39409|  3.86k|        {
39410|  3.86k|            D(fprintf(stderr, "%*c+ _tmp_176[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ['as' star_target]"));
39411|  3.86k|            _res = _PyPegen_dummy_name(p, expression_var, _opt_var);
39412|  3.86k|            goto done;
39413|  3.86k|        }
39414|    142|        p->mark = _mark;
39415|    142|        D(fprintf(stderr, "%*c%s _tmp_176[%d-%d]: %s failed!\n", p->level, ' ',
39416|    142|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ['as' star_target]"));
39417|    142|    }
39418|    142|    _res = NULL;
39419|  4.01k|  done:
39420|  4.01k|    p->level--;
39421|  4.01k|    return _res;
39422|    142|}
parser.c:_tmp_180_rule:
39569|  4.85k|{
39570|  4.85k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  9.71k|#  define MAXSTACK 6000
  ------------------
  |  Branch (39570:9): [True: 0, False: 4.85k]
  |  Branch (39570:35): [True: 0, False: 4.85k]
  ------------------
39571|      0|        _Pypegen_stack_overflow(p);
39572|      0|    }
39573|  4.85k|    if (p->error_indicator) {
  ------------------
  |  Branch (39573:9): [True: 0, False: 4.85k]
  ------------------
39574|      0|        p->level--;
39575|      0|        return NULL;
39576|      0|    }
39577|  4.85k|    void * _res = NULL;
39578|  4.85k|    int _mark = p->mark;
39579|  4.85k|    { // 'as' star_target
39580|  4.85k|        if (p->error_indicator) {
  ------------------
  |  Branch (39580:13): [True: 0, False: 4.85k]
  ------------------
39581|      0|            p->level--;
39582|      0|            return NULL;
39583|      0|        }
39584|  4.85k|        D(fprintf(stderr, "%*c> _tmp_180[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'as' star_target"));
39585|  4.85k|        Token * _keyword;
39586|  4.85k|        expr_ty star_target_var;
39587|  4.85k|        if (
39588|  4.85k|            (_keyword = _PyPegen_expect_token(p, 698))  // token='as'
  ------------------
  |  Branch (39588:13): [True: 310, False: 4.54k]
  ------------------
39589|    310|            &&
39590|    310|            (star_target_var = star_target_rule(p))  // star_target
  ------------------
  |  Branch (39590:13): [True: 301, False: 9]
  ------------------
39591|  4.85k|        )
39592|    301|        {
39593|    301|            D(fprintf(stderr, "%*c+ _tmp_180[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'as' star_target"));
39594|    301|            _res = _PyPegen_dummy_name(p, _keyword, star_target_var);
39595|    301|            goto done;
39596|    301|        }
39597|  4.55k|        p->mark = _mark;
39598|  4.55k|        D(fprintf(stderr, "%*c%s _tmp_180[%d-%d]: %s failed!\n", p->level, ' ',
39599|  4.55k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'as' star_target"));
39600|  4.55k|    }
39601|  4.55k|    _res = NULL;
39602|  4.85k|  done:
39603|  4.85k|    p->level--;
39604|  4.85k|    return _res;
39605|  4.55k|}
parser.c:_loop0_140_rule:
37279|  1.54k|{
37280|  1.54k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.08k|#  define MAXSTACK 6000
  ------------------
  |  Branch (37280:9): [True: 0, False: 1.54k]
  |  Branch (37280:35): [True: 0, False: 1.54k]
  ------------------
37281|      0|        _Pypegen_stack_overflow(p);
37282|      0|    }
37283|  1.54k|    if (p->error_indicator) {
  ------------------
  |  Branch (37283:9): [True: 0, False: 1.54k]
  ------------------
37284|      0|        p->level--;
37285|      0|        return NULL;
37286|      0|    }
37287|  1.54k|    void *_res = NULL;
37288|  1.54k|    int _mark = p->mark;
37289|  1.54k|    void **_children = PyMem_Malloc(sizeof(void *));
37290|  1.54k|    if (!_children) {
  ------------------
  |  Branch (37290:9): [True: 0, False: 1.54k]
  ------------------
37291|      0|        p->error_indicator = 1;
37292|      0|        PyErr_NoMemory();
37293|      0|        p->level--;
37294|      0|        return NULL;
37295|      0|    }
37296|  1.54k|    Py_ssize_t _children_capacity = 1;
37297|  1.54k|    Py_ssize_t _n = 0;
37298|  1.54k|    { // ',' (expression ['as' star_target])
37299|  1.54k|        if (p->error_indicator) {
  ------------------
  |  Branch (37299:13): [True: 0, False: 1.54k]
  ------------------
37300|      0|            p->level--;
37301|      0|            return NULL;
37302|      0|        }
37303|  1.54k|        D(fprintf(stderr, "%*c> _loop0_140[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' (expression ['as' star_target])"));
37304|  1.54k|        Token * _literal;
37305|  1.54k|        void *elem;
37306|  1.54k|        while (
37307|  3.86k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (37307:13): [True: 2.35k, False: 1.51k]
  ------------------
37308|  2.35k|            &&
37309|  2.35k|            (elem = _tmp_176_rule(p))  // expression ['as' star_target]
  ------------------
  |  Branch (37309:13): [True: 2.32k, False: 28]
  ------------------
37310|  1.54k|        )
37311|  2.32k|        {
37312|  2.32k|            _res = elem;
37313|  2.32k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (37313:18): [True: 0, False: 2.32k]
  |  Branch (37313:34): [True: 0, False: 2.32k]
  |  Branch (37313:57): [True: 0, False: 0]
  ------------------
37314|      0|                p->error_indicator = 1;
37315|      0|                PyMem_Free(_children);
37316|      0|                p->level--;
37317|      0|                return NULL;
37318|      0|            }
37319|  2.32k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (37319:17): [True: 1.11k, False: 1.20k]
  ------------------
37320|  1.11k|                _children_capacity *= 2;
37321|  1.11k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
37322|  1.11k|                if (!_new_children) {
  ------------------
  |  Branch (37322:21): [True: 0, False: 1.11k]
  ------------------
37323|      0|                    PyMem_Free(_children);
37324|      0|                    p->error_indicator = 1;
37325|      0|                    PyErr_NoMemory();
37326|      0|                    p->level--;
37327|      0|                    return NULL;
37328|      0|                }
37329|  1.11k|                _children = _new_children;
37330|  1.11k|            }
37331|  2.32k|            _children[_n++] = _res;
37332|  2.32k|            _mark = p->mark;
37333|  2.32k|        }
37334|  1.54k|        p->mark = _mark;
37335|  1.54k|        D(fprintf(stderr, "%*c%s _loop0_140[%d-%d]: %s failed!\n", p->level, ' ',
37336|  1.54k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' (expression ['as' star_target])"));
37337|  1.54k|    }
37338|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
37339|  1.54k|    if (!_seq) {
  ------------------
  |  Branch (37339:9): [True: 0, False: 1.54k]
  ------------------
37340|      0|        PyMem_Free(_children);
37341|      0|        p->error_indicator = 1;
37342|      0|        PyErr_NoMemory();
37343|      0|        p->level--;
37344|      0|        return NULL;
37345|      0|    }
37346|  3.86k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  2.32k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  3.86k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (37346:28): [True: 2.32k, False: 1.54k]
  ------------------
37347|  1.54k|    PyMem_Free(_children);
37348|  1.54k|    p->level--;
37349|  1.54k|    return _seq;
37350|  1.54k|}
parser.c:_gather_143_rule:
37472|    749|{
37473|    749|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.49k|#  define MAXSTACK 6000
  ------------------
  |  Branch (37473:9): [True: 0, False: 749]
  |  Branch (37473:35): [True: 0, False: 749]
  ------------------
37474|      0|        _Pypegen_stack_overflow(p);
37475|      0|    }
37476|    749|    if (p->error_indicator) {
  ------------------
  |  Branch (37476:9): [True: 0, False: 749]
  ------------------
37477|      0|        p->level--;
37478|      0|        return NULL;
37479|      0|    }
37480|    749|    asdl_seq * _res = NULL;
37481|    749|    int _mark = p->mark;
37482|    749|    { // (expressions ['as' star_target]) _loop0_142
37483|    749|        if (p->error_indicator) {
  ------------------
  |  Branch (37483:13): [True: 0, False: 749]
  ------------------
37484|      0|            p->level--;
37485|      0|            return NULL;
37486|      0|        }
37487|    749|        D(fprintf(stderr, "%*c> _gather_143[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(expressions ['as' star_target]) _loop0_142"));
37488|    749|        void *elem;
37489|    749|        asdl_seq * seq;
37490|    749|        if (
37491|    749|            (elem = _tmp_177_rule(p))  // expressions ['as' star_target]
  ------------------
  |  Branch (37491:13): [True: 723, False: 26]
  ------------------
37492|    723|            &&
37493|    723|            (seq = _loop0_142_rule(p))  // _loop0_142
  ------------------
  |  Branch (37493:13): [True: 723, False: 0]
  ------------------
37494|    749|        )
37495|    723|        {
37496|    723|            D(fprintf(stderr, "%*c+ _gather_143[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(expressions ['as' star_target]) _loop0_142"));
37497|    723|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
37498|    723|            goto done;
37499|    723|        }
37500|     26|        p->mark = _mark;
37501|     26|        D(fprintf(stderr, "%*c%s _gather_143[%d-%d]: %s failed!\n", p->level, ' ',
37502|     26|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(expressions ['as' star_target]) _loop0_142"));
37503|     26|    }
37504|     26|    _res = NULL;
37505|    749|  done:
37506|    749|    p->level--;
37507|    749|    return _res;
37508|     26|}
parser.c:_tmp_177_rule:
39427|  1.03k|{
39428|  1.03k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.07k|#  define MAXSTACK 6000
  ------------------
  |  Branch (39428:9): [True: 0, False: 1.03k]
  |  Branch (39428:35): [True: 0, False: 1.03k]
  ------------------
39429|      0|        _Pypegen_stack_overflow(p);
39430|      0|    }
39431|  1.03k|    if (p->error_indicator) {
  ------------------
  |  Branch (39431:9): [True: 0, False: 1.03k]
  ------------------
39432|      0|        p->level--;
39433|      0|        return NULL;
39434|      0|    }
39435|  1.03k|    void * _res = NULL;
39436|  1.03k|    int _mark = p->mark;
39437|  1.03k|    { // expressions ['as' star_target]
39438|  1.03k|        if (p->error_indicator) {
  ------------------
  |  Branch (39438:13): [True: 0, False: 1.03k]
  ------------------
39439|      0|            p->level--;
39440|      0|            return NULL;
39441|      0|        }
39442|  1.03k|        D(fprintf(stderr, "%*c> _tmp_177[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expressions ['as' star_target]"));
39443|  1.03k|        void *_opt_var;
39444|  1.03k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  1.03k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.03k]
  |  |  ------------------
  ------------------
39445|  1.03k|        expr_ty expressions_var;
39446|  1.03k|        if (
39447|  1.03k|            (expressions_var = expressions_rule(p))  // expressions
  ------------------
  |  Branch (39447:13): [True: 987, False: 49]
  ------------------
39448|    987|            &&
39449|    987|            (_opt_var = _tmp_180_rule(p), !p->error_indicator)  // ['as' star_target]
  ------------------
  |  Branch (39449:13): [True: 986, False: 1]
  ------------------
39450|  1.03k|        )
39451|    986|        {
39452|    986|            D(fprintf(stderr, "%*c+ _tmp_177[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expressions ['as' star_target]"));
39453|    986|            _res = _PyPegen_dummy_name(p, expressions_var, _opt_var);
39454|    986|            goto done;
39455|    986|        }
39456|     50|        p->mark = _mark;
39457|     50|        D(fprintf(stderr, "%*c%s _tmp_177[%d-%d]: %s failed!\n", p->level, ' ',
39458|     50|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expressions ['as' star_target]"));
39459|     50|    }
39460|     50|    _res = NULL;
39461|  1.03k|  done:
39462|  1.03k|    p->level--;
39463|  1.03k|    return _res;
39464|     50|}
parser.c:expressions_rule:
11430|  14.0k|{
11431|  14.0k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  28.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11431:9): [True: 0, False: 14.0k]
  |  Branch (11431:35): [True: 0, False: 14.0k]
  ------------------
11432|      0|        _Pypegen_stack_overflow(p);
11433|      0|    }
11434|  14.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (11434:9): [True: 0, False: 14.0k]
  ------------------
11435|      0|        p->level--;
11436|      0|        return NULL;
11437|      0|    }
11438|  14.0k|    expr_ty _res = NULL;
11439|  14.0k|    int _mark = p->mark;
11440|  14.0k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11440:9): [True: 3.44k, False: 10.6k]
  |  Branch (11440:31): [True: 169, False: 3.27k]
  ------------------
11441|    169|        p->error_indicator = 1;
11442|    169|        p->level--;
11443|    169|        return NULL;
11444|    169|    }
11445|  13.8k|    int _start_lineno = p->tokens[_mark]->lineno;
11446|  13.8k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  13.8k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 13.8k]
  |  |  ------------------
  ------------------
11447|  13.8k|    int _start_col_offset = p->tokens[_mark]->col_offset;
11448|  13.8k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  13.8k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 13.8k]
  |  |  ------------------
  ------------------
11449|  13.8k|    { // expression ((',' expression))+ ','?
11450|  13.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (11450:13): [True: 0, False: 13.8k]
  ------------------
11451|      0|            p->level--;
11452|      0|            return NULL;
11453|      0|        }
11454|  13.8k|        D(fprintf(stderr, "%*c> expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ((',' expression))+ ','?"));
11455|  13.8k|        void *_opt_var;
11456|  13.8k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  13.8k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 13.8k]
  |  |  ------------------
  ------------------
11457|  13.8k|        expr_ty a;
11458|  13.8k|        asdl_seq * b;
11459|  13.8k|        if (
11460|  13.8k|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (11460:13): [True: 4.68k, False: 9.21k]
  ------------------
11461|  4.68k|            &&
11462|  4.68k|            (b = _loop1_55_rule(p))  // ((',' expression))+
  ------------------
  |  Branch (11462:13): [True: 1.48k, False: 3.19k]
  ------------------
11463|  1.48k|            &&
11464|  1.48k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (11464:13): [True: 1.48k, False: 0]
  ------------------
11465|  13.8k|        )
11466|  1.48k|        {
11467|  1.48k|            D(fprintf(stderr, "%*c+ expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ((',' expression))+ ','?"));
11468|  1.48k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11469|  1.48k|            if (_token == NULL) {
  ------------------
  |  Branch (11469:17): [True: 0, False: 1.48k]
  ------------------
11470|      0|                p->level--;
11471|      0|                return NULL;
11472|      0|            }
11473|  1.48k|            int _end_lineno = _token->end_lineno;
11474|  1.48k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.48k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.48k]
  |  |  ------------------
  ------------------
11475|  1.48k|            int _end_col_offset = _token->end_col_offset;
11476|  1.48k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.48k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.48k]
  |  |  ------------------
  ------------------
11477|  1.48k|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , Load , EXTRA );
  ------------------
  |  |  245|  1.48k|#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 );
  ------------------
  |  |  281|  1.48k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11478|  1.48k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11478:18): [True: 0, False: 1.48k]
  |  Branch (11478:34): [True: 0, False: 1.48k]
  |  Branch (11478:57): [True: 0, False: 0]
  ------------------
11479|      0|                p->error_indicator = 1;
11480|      0|                p->level--;
11481|      0|                return NULL;
11482|      0|            }
11483|  1.48k|            goto done;
11484|  1.48k|        }
11485|  12.4k|        p->mark = _mark;
11486|  12.4k|        D(fprintf(stderr, "%*c%s expressions[%d-%d]: %s failed!\n", p->level, ' ',
11487|  12.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ((',' expression))+ ','?"));
11488|  12.4k|    }
11489|      0|    { // expression ','
11490|  12.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (11490:13): [True: 826, False: 11.5k]
  ------------------
11491|    826|            p->level--;
11492|    826|            return NULL;
11493|    826|        }
11494|  11.5k|        D(fprintf(stderr, "%*c> expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ','"));
11495|  11.5k|        Token * _literal;
11496|  11.5k|        expr_ty a;
11497|  11.5k|        if (
11498|  11.5k|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (11498:13): [True: 3.16k, False: 8.41k]
  ------------------
11499|  3.16k|            &&
11500|  3.16k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (11500:13): [True: 677, False: 2.49k]
  ------------------
11501|  11.5k|        )
11502|    677|        {
11503|    677|            D(fprintf(stderr, "%*c+ expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ','"));
11504|    677|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11505|    677|            if (_token == NULL) {
  ------------------
  |  Branch (11505:17): [True: 0, False: 677]
  ------------------
11506|      0|                p->level--;
11507|      0|                return NULL;
11508|      0|            }
11509|    677|            int _end_lineno = _token->end_lineno;
11510|    677|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    677|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 677]
  |  |  ------------------
  ------------------
11511|    677|            int _end_col_offset = _token->end_col_offset;
11512|    677|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    677|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 677]
  |  |  ------------------
  ------------------
11513|    677|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  245|    677|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  281|    677|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11514|    677|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11514:18): [True: 0, False: 677]
  |  Branch (11514:34): [True: 0, False: 677]
  |  Branch (11514:57): [True: 0, False: 0]
  ------------------
11515|      0|                p->error_indicator = 1;
11516|      0|                p->level--;
11517|      0|                return NULL;
11518|      0|            }
11519|    677|            goto done;
11520|    677|        }
11521|  10.9k|        p->mark = _mark;
11522|  10.9k|        D(fprintf(stderr, "%*c%s expressions[%d-%d]: %s failed!\n", p->level, ' ',
11523|  10.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ','"));
11524|  10.9k|    }
11525|      0|    { // expression
11526|  10.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (11526:13): [True: 0, False: 10.9k]
  ------------------
11527|      0|            p->level--;
11528|      0|            return NULL;
11529|      0|        }
11530|  10.9k|        D(fprintf(stderr, "%*c> expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression"));
11531|  10.9k|        expr_ty expression_var;
11532|  10.9k|        if (
11533|  10.9k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (11533:13): [True: 2.49k, False: 8.41k]
  ------------------
11534|  10.9k|        )
11535|  2.49k|        {
11536|  2.49k|            D(fprintf(stderr, "%*c+ expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression"));
11537|  2.49k|            _res = expression_var;
11538|  2.49k|            goto done;
11539|  2.49k|        }
11540|  8.41k|        p->mark = _mark;
11541|  8.41k|        D(fprintf(stderr, "%*c%s expressions[%d-%d]: %s failed!\n", p->level, ' ',
11542|  8.41k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression"));
11543|  8.41k|    }
11544|  8.41k|    _res = NULL;
11545|  13.0k|  done:
11546|  13.0k|    p->level--;
11547|  13.0k|    return _res;
11548|  8.41k|}
parser.c:_loop1_55_rule:
32001|  4.68k|{
32002|  4.68k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  9.36k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32002:9): [True: 0, False: 4.68k]
  |  Branch (32002:35): [True: 0, False: 4.68k]
  ------------------
32003|      0|        _Pypegen_stack_overflow(p);
32004|      0|    }
32005|  4.68k|    if (p->error_indicator) {
  ------------------
  |  Branch (32005:9): [True: 0, False: 4.68k]
  ------------------
32006|      0|        p->level--;
32007|      0|        return NULL;
32008|      0|    }
32009|  4.68k|    void *_res = NULL;
32010|  4.68k|    int _mark = p->mark;
32011|  4.68k|    void **_children = PyMem_Malloc(sizeof(void *));
32012|  4.68k|    if (!_children) {
  ------------------
  |  Branch (32012:9): [True: 0, False: 4.68k]
  ------------------
32013|      0|        p->error_indicator = 1;
32014|      0|        PyErr_NoMemory();
32015|      0|        p->level--;
32016|      0|        return NULL;
32017|      0|    }
32018|  4.68k|    Py_ssize_t _children_capacity = 1;
32019|  4.68k|    Py_ssize_t _n = 0;
32020|  4.68k|    { // (',' expression)
32021|  4.68k|        if (p->error_indicator) {
  ------------------
  |  Branch (32021:13): [True: 0, False: 4.68k]
  ------------------
32022|      0|            p->level--;
32023|      0|            return NULL;
32024|      0|        }
32025|  4.68k|        D(fprintf(stderr, "%*c> _loop1_55[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(',' expression)"));
32026|  4.68k|        void *_tmp_16_var;
32027|  4.68k|        while (
32028|  13.8k|            (_tmp_16_var = _tmp_16_rule(p))  // ',' expression
  ------------------
  |  Branch (32028:13): [True: 9.17k, False: 4.68k]
  ------------------
32029|  4.68k|        )
32030|  9.17k|        {
32031|  9.17k|            _res = _tmp_16_var;
32032|  9.17k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32032:17): [True: 1.45k, False: 7.72k]
  ------------------
32033|  1.45k|                _children_capacity *= 2;
32034|  1.45k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32035|  1.45k|                if (!_new_children) {
  ------------------
  |  Branch (32035:21): [True: 0, False: 1.45k]
  ------------------
32036|      0|                    PyMem_Free(_children);
32037|      0|                    p->error_indicator = 1;
32038|      0|                    PyErr_NoMemory();
32039|      0|                    p->level--;
32040|      0|                    return NULL;
32041|      0|                }
32042|  1.45k|                _children = _new_children;
32043|  1.45k|            }
32044|  9.17k|            _children[_n++] = _res;
32045|  9.17k|            _mark = p->mark;
32046|  9.17k|        }
32047|  4.68k|        p->mark = _mark;
32048|  4.68k|        D(fprintf(stderr, "%*c%s _loop1_55[%d-%d]: %s failed!\n", p->level, ' ',
32049|  4.68k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(',' expression)"));
32050|  4.68k|    }
32051|  4.68k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (32051:9): [True: 3.18k, False: 1.49k]
  |  Branch (32051:20): [True: 8, False: 1.48k]
  ------------------
32052|  3.19k|        PyMem_Free(_children);
32053|  3.19k|        p->level--;
32054|  3.19k|        return NULL;
32055|  3.19k|    }
32056|  1.48k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32057|  1.48k|    if (!_seq) {
  ------------------
  |  Branch (32057:9): [True: 0, False: 1.48k]
  ------------------
32058|      0|        PyMem_Free(_children);
32059|      0|        p->error_indicator = 1;
32060|      0|        PyErr_NoMemory();
32061|      0|        p->level--;
32062|      0|        return NULL;
32063|      0|    }
32064|  10.6k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  9.14k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  10.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32064:28): [True: 9.14k, False: 1.48k]
  ------------------
32065|  1.48k|    PyMem_Free(_children);
32066|  1.48k|    p->level--;
32067|  1.48k|    return _seq;
32068|  1.48k|}
parser.c:_loop0_142_rule:
37396|    723|{
37397|    723|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.44k|#  define MAXSTACK 6000
  ------------------
  |  Branch (37397:9): [True: 0, False: 723]
  |  Branch (37397:35): [True: 0, False: 723]
  ------------------
37398|      0|        _Pypegen_stack_overflow(p);
37399|      0|    }
37400|    723|    if (p->error_indicator) {
  ------------------
  |  Branch (37400:9): [True: 0, False: 723]
  ------------------
37401|      0|        p->level--;
37402|      0|        return NULL;
37403|      0|    }
37404|    723|    void *_res = NULL;
37405|    723|    int _mark = p->mark;
37406|    723|    void **_children = PyMem_Malloc(sizeof(void *));
37407|    723|    if (!_children) {
  ------------------
  |  Branch (37407:9): [True: 0, False: 723]
  ------------------
37408|      0|        p->error_indicator = 1;
37409|      0|        PyErr_NoMemory();
37410|      0|        p->level--;
37411|      0|        return NULL;
37412|      0|    }
37413|    723|    Py_ssize_t _children_capacity = 1;
37414|    723|    Py_ssize_t _n = 0;
37415|    723|    { // ',' (expressions ['as' star_target])
37416|    723|        if (p->error_indicator) {
  ------------------
  |  Branch (37416:13): [True: 0, False: 723]
  ------------------
37417|      0|            p->level--;
37418|      0|            return NULL;
37419|      0|        }
37420|    723|        D(fprintf(stderr, "%*c> _loop0_142[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' (expressions ['as' star_target])"));
37421|    723|        Token * _literal;
37422|    723|        void *elem;
37423|    723|        while (
37424|    986|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (37424:13): [True: 287, False: 699]
  ------------------
37425|    287|            &&
37426|    287|            (elem = _tmp_177_rule(p))  // expressions ['as' star_target]
  ------------------
  |  Branch (37426:13): [True: 263, False: 24]
  ------------------
37427|    723|        )
37428|    263|        {
37429|    263|            _res = elem;
37430|    263|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (37430:18): [True: 0, False: 263]
  |  Branch (37430:34): [True: 0, False: 263]
  |  Branch (37430:57): [True: 0, False: 0]
  ------------------
37431|      0|                p->error_indicator = 1;
37432|      0|                PyMem_Free(_children);
37433|      0|                p->level--;
37434|      0|                return NULL;
37435|      0|            }
37436|    263|            if (_n == _children_capacity) {
  ------------------
  |  Branch (37436:17): [True: 82, False: 181]
  ------------------
37437|     82|                _children_capacity *= 2;
37438|     82|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
37439|     82|                if (!_new_children) {
  ------------------
  |  Branch (37439:21): [True: 0, False: 82]
  ------------------
37440|      0|                    PyMem_Free(_children);
37441|      0|                    p->error_indicator = 1;
37442|      0|                    PyErr_NoMemory();
37443|      0|                    p->level--;
37444|      0|                    return NULL;
37445|      0|                }
37446|     82|                _children = _new_children;
37447|     82|            }
37448|    263|            _children[_n++] = _res;
37449|    263|            _mark = p->mark;
37450|    263|        }
37451|    723|        p->mark = _mark;
37452|    723|        D(fprintf(stderr, "%*c%s _loop0_142[%d-%d]: %s failed!\n", p->level, ' ',
37453|    723|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' (expressions ['as' star_target])"));
37454|    723|    }
37455|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
37456|    723|    if (!_seq) {
  ------------------
  |  Branch (37456:9): [True: 0, False: 723]
  ------------------
37457|      0|        PyMem_Free(_children);
37458|      0|        p->error_indicator = 1;
37459|      0|        PyErr_NoMemory();
37460|      0|        p->level--;
37461|      0|        return NULL;
37462|      0|    }
37463|    986|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    263|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    986|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (37463:28): [True: 263, False: 723]
  ------------------
37464|    723|    PyMem_Free(_children);
37465|    723|    p->level--;
37466|    723|    return _seq;
37467|    723|}
parser.c:_gather_34_rule:
30700|  6.20k|{
30701|  6.20k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  12.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (30701:9): [True: 0, False: 6.20k]
  |  Branch (30701:35): [True: 0, False: 6.20k]
  ------------------
30702|      0|        _Pypegen_stack_overflow(p);
30703|      0|    }
30704|  6.20k|    if (p->error_indicator) {
  ------------------
  |  Branch (30704:9): [True: 0, False: 6.20k]
  ------------------
30705|      0|        p->level--;
30706|      0|        return NULL;
30707|      0|    }
30708|  6.20k|    asdl_seq * _res = NULL;
30709|  6.20k|    int _mark = p->mark;
30710|  6.20k|    { // with_item _loop0_33
30711|  6.20k|        if (p->error_indicator) {
  ------------------
  |  Branch (30711:13): [True: 0, False: 6.20k]
  ------------------
30712|      0|            p->level--;
30713|      0|            return NULL;
30714|      0|        }
30715|  6.20k|        D(fprintf(stderr, "%*c> _gather_34[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "with_item _loop0_33"));
30716|  6.20k|        withitem_ty elem;
30717|  6.20k|        asdl_seq * seq;
30718|  6.20k|        if (
30719|  6.20k|            (elem = with_item_rule(p))  // with_item
  ------------------
  |  Branch (30719:13): [True: 6.07k, False: 134]
  ------------------
30720|  6.07k|            &&
30721|  6.07k|            (seq = _loop0_33_rule(p))  // _loop0_33
  ------------------
  |  Branch (30721:13): [True: 6.07k, False: 0]
  ------------------
30722|  6.20k|        )
30723|  6.07k|        {
30724|  6.07k|            D(fprintf(stderr, "%*c+ _gather_34[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "with_item _loop0_33"));
30725|  6.07k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
30726|  6.07k|            goto done;
30727|  6.07k|        }
30728|    134|        p->mark = _mark;
30729|    134|        D(fprintf(stderr, "%*c%s _gather_34[%d-%d]: %s failed!\n", p->level, ' ',
30730|    134|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "with_item _loop0_33"));
30731|    134|    }
30732|    134|    _res = NULL;
30733|  6.20k|  done:
30734|  6.20k|    p->level--;
30735|  6.20k|    return _res;
30736|    134|}
parser.c:with_item_rule:
 6982|  22.3k|{
 6983|  22.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  44.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6983:9): [True: 0, False: 22.3k]
  |  Branch (6983:35): [True: 0, False: 22.3k]
  ------------------
 6984|      0|        _Pypegen_stack_overflow(p);
 6985|      0|    }
 6986|  22.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (6986:9): [True: 0, False: 22.3k]
  ------------------
 6987|      0|        p->level--;
 6988|      0|        return NULL;
 6989|      0|    }
 6990|  22.3k|    withitem_ty _res = NULL;
 6991|  22.3k|    int _mark = p->mark;
 6992|  22.3k|    { // expression 'as' star_target &(',' | ')' | ':')
 6993|  22.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (6993:13): [True: 0, False: 22.3k]
  ------------------
 6994|      0|            p->level--;
 6995|      0|            return NULL;
 6996|      0|        }
 6997|  22.3k|        D(fprintf(stderr, "%*c> with_item[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression 'as' star_target &(',' | ')' | ':')"));
 6998|  22.3k|        Token * _keyword;
 6999|  22.3k|        expr_ty e;
 7000|  22.3k|        expr_ty t;
 7001|  22.3k|        if (
 7002|  22.3k|            (e = expression_rule(p))  // expression
  ------------------
  |  Branch (7002:13): [True: 20.5k, False: 1.81k]
  ------------------
 7003|  20.5k|            &&
 7004|  20.5k|            (_keyword = _PyPegen_expect_token(p, 698))  // token='as'
  ------------------
  |  Branch (7004:13): [True: 1.67k, False: 18.9k]
  ------------------
 7005|  1.67k|            &&
 7006|  1.67k|            (t = star_target_rule(p))  // star_target
  ------------------
  |  Branch (7006:13): [True: 1.66k, False: 7]
  ------------------
 7007|  1.66k|            &&
 7008|  1.66k|            _PyPegen_lookahead(1, _tmp_35_rule, p)
  ------------------
  |  Branch (7008:13): [True: 1.65k, False: 13]
  ------------------
 7009|  22.3k|        )
 7010|  1.65k|        {
 7011|  1.65k|            D(fprintf(stderr, "%*c+ with_item[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression 'as' star_target &(',' | ')' | ':')"));
 7012|  1.65k|            _res = _PyAST_withitem ( e , t , p -> arena );
 7013|  1.65k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7013:18): [True: 0, False: 1.65k]
  |  Branch (7013:34): [True: 0, False: 1.65k]
  |  Branch (7013:57): [True: 0, False: 0]
  ------------------
 7014|      0|                p->error_indicator = 1;
 7015|      0|                p->level--;
 7016|      0|                return NULL;
 7017|      0|            }
 7018|  1.65k|            goto done;
 7019|  1.65k|        }
 7020|  20.7k|        p->mark = _mark;
 7021|  20.7k|        D(fprintf(stderr, "%*c%s with_item[%d-%d]: %s failed!\n", p->level, ' ',
 7022|  20.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression 'as' star_target &(',' | ')' | ':')"));
 7023|  20.7k|    }
 7024|  20.7k|    if (p->call_invalid_rules) { // invalid_with_item
  ------------------
  |  Branch (7024:9): [True: 3.86k, False: 16.8k]
  ------------------
 7025|  3.86k|        if (p->error_indicator) {
  ------------------
  |  Branch (7025:13): [True: 0, False: 3.86k]
  ------------------
 7026|      0|            p->level--;
 7027|      0|            return NULL;
 7028|      0|        }
 7029|  3.86k|        D(fprintf(stderr, "%*c> with_item[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_with_item"));
 7030|  3.86k|        void *invalid_with_item_var;
 7031|  3.86k|        if (
 7032|  3.86k|            (invalid_with_item_var = invalid_with_item_rule(p))  // invalid_with_item
  ------------------
  |  Branch (7032:13): [True: 0, False: 3.86k]
  ------------------
 7033|  3.86k|        )
 7034|      0|        {
 7035|      0|            D(fprintf(stderr, "%*c+ with_item[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_with_item"));
 7036|      0|            _res = invalid_with_item_var;
 7037|      0|            goto done;
 7038|      0|        }
 7039|  3.86k|        p->mark = _mark;
 7040|  3.86k|        D(fprintf(stderr, "%*c%s with_item[%d-%d]: %s failed!\n", p->level, ' ',
 7041|  3.86k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_with_item"));
 7042|  3.86k|    }
 7043|  20.7k|    { // expression
 7044|  20.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (7044:13): [True: 17, False: 20.7k]
  ------------------
 7045|     17|            p->level--;
 7046|     17|            return NULL;
 7047|     17|        }
 7048|  20.7k|        D(fprintf(stderr, "%*c> with_item[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression"));
 7049|  20.7k|        expr_ty e;
 7050|  20.7k|        if (
 7051|  20.7k|            (e = expression_rule(p))  // expression
  ------------------
  |  Branch (7051:13): [True: 18.9k, False: 1.79k]
  ------------------
 7052|  20.7k|        )
 7053|  18.9k|        {
 7054|  18.9k|            D(fprintf(stderr, "%*c+ with_item[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression"));
 7055|  18.9k|            _res = _PyAST_withitem ( e , NULL , p -> arena );
 7056|  18.9k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7056:18): [True: 0, False: 18.9k]
  |  Branch (7056:34): [True: 0, False: 18.9k]
  |  Branch (7056:57): [True: 0, False: 0]
  ------------------
 7057|      0|                p->error_indicator = 1;
 7058|      0|                p->level--;
 7059|      0|                return NULL;
 7060|      0|            }
 7061|  18.9k|            goto done;
 7062|  18.9k|        }
 7063|  1.79k|        p->mark = _mark;
 7064|  1.79k|        D(fprintf(stderr, "%*c%s with_item[%d-%d]: %s failed!\n", p->level, ' ',
 7065|  1.79k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression"));
 7066|  1.79k|    }
 7067|  1.79k|    _res = NULL;
 7068|  22.3k|  done:
 7069|  22.3k|    p->level--;
 7070|  22.3k|    return _res;
 7071|  1.79k|}
parser.c:_tmp_35_rule:
30741|  1.67k|{
30742|  1.67k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.34k|#  define MAXSTACK 6000
  ------------------
  |  Branch (30742:9): [True: 0, False: 1.67k]
  |  Branch (30742:35): [True: 0, False: 1.67k]
  ------------------
30743|      0|        _Pypegen_stack_overflow(p);
30744|      0|    }
30745|  1.67k|    if (p->error_indicator) {
  ------------------
  |  Branch (30745:9): [True: 0, False: 1.67k]
  ------------------
30746|      0|        p->level--;
30747|      0|        return NULL;
30748|      0|    }
30749|  1.67k|    void * _res = NULL;
30750|  1.67k|    int _mark = p->mark;
30751|  1.67k|    { // ','
30752|  1.67k|        if (p->error_indicator) {
  ------------------
  |  Branch (30752:13): [True: 0, False: 1.67k]
  ------------------
30753|      0|            p->level--;
30754|      0|            return NULL;
30755|      0|        }
30756|  1.67k|        D(fprintf(stderr, "%*c> _tmp_35[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','"));
30757|  1.67k|        Token * _literal;
30758|  1.67k|        if (
30759|  1.67k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (30759:13): [True: 1.56k, False: 104]
  ------------------
30760|  1.67k|        )
30761|  1.56k|        {
30762|  1.56k|            D(fprintf(stderr, "%*c+ _tmp_35[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','"));
30763|  1.56k|            _res = _literal;
30764|  1.56k|            goto done;
30765|  1.56k|        }
30766|    104|        p->mark = _mark;
30767|    104|        D(fprintf(stderr, "%*c%s _tmp_35[%d-%d]: %s failed!\n", p->level, ' ',
30768|    104|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','"));
30769|    104|    }
30770|      0|    { // ')'
30771|    104|        if (p->error_indicator) {
  ------------------
  |  Branch (30771:13): [True: 0, False: 104]
  ------------------
30772|      0|            p->level--;
30773|      0|            return NULL;
30774|      0|        }
30775|    104|        D(fprintf(stderr, "%*c> _tmp_35[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "')'"));
30776|    104|        Token * _literal;
30777|    104|        if (
30778|    104|            (_literal = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (30778:13): [True: 1, False: 103]
  ------------------
30779|    104|        )
30780|      1|        {
30781|      1|            D(fprintf(stderr, "%*c+ _tmp_35[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "')'"));
30782|      1|            _res = _literal;
30783|      1|            goto done;
30784|      1|        }
30785|    103|        p->mark = _mark;
30786|    103|        D(fprintf(stderr, "%*c%s _tmp_35[%d-%d]: %s failed!\n", p->level, ' ',
30787|    103|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "')'"));
30788|    103|    }
30789|      0|    { // ':'
30790|    103|        if (p->error_indicator) {
  ------------------
  |  Branch (30790:13): [True: 0, False: 103]
  ------------------
30791|      0|            p->level--;
30792|      0|            return NULL;
30793|      0|        }
30794|    103|        D(fprintf(stderr, "%*c> _tmp_35[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':'"));
30795|    103|        Token * _literal;
30796|    103|        if (
30797|    103|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (30797:13): [True: 85, False: 18]
  ------------------
30798|    103|        )
30799|     85|        {
30800|     85|            D(fprintf(stderr, "%*c+ _tmp_35[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':'"));
30801|     85|            _res = _literal;
30802|     85|            goto done;
30803|     85|        }
30804|     18|        p->mark = _mark;
30805|     18|        D(fprintf(stderr, "%*c%s _tmp_35[%d-%d]: %s failed!\n", p->level, ' ',
30806|     18|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':'"));
30807|     18|    }
30808|     18|    _res = NULL;
30809|  1.67k|  done:
30810|  1.67k|    p->level--;
30811|  1.67k|    return _res;
30812|     18|}
parser.c:invalid_with_item_rule:
24148|  3.86k|{
24149|  3.86k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  7.73k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24149:9): [True: 0, False: 3.86k]
  |  Branch (24149:35): [True: 0, False: 3.86k]
  ------------------
24150|      0|        _Pypegen_stack_overflow(p);
24151|      0|    }
24152|  3.86k|    if (p->error_indicator) {
  ------------------
  |  Branch (24152:9): [True: 0, False: 3.86k]
  ------------------
24153|      0|        p->level--;
24154|      0|        return NULL;
24155|      0|    }
24156|  3.86k|    void * _res = NULL;
24157|  3.86k|    int _mark = p->mark;
24158|  3.86k|    { // expression 'as' expression &(',' | ')' | ':')
24159|  3.86k|        if (p->error_indicator) {
  ------------------
  |  Branch (24159:13): [True: 0, False: 3.86k]
  ------------------
24160|      0|            p->level--;
24161|      0|            return NULL;
24162|      0|        }
24163|  3.86k|        D(fprintf(stderr, "%*c> invalid_with_item[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression 'as' expression &(',' | ')' | ':')"));
24164|  3.86k|        Token * _keyword;
24165|  3.86k|        expr_ty a;
24166|  3.86k|        expr_ty expression_var;
24167|  3.86k|        if (
24168|  3.86k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (24168:13): [True: 3.16k, False: 700]
  ------------------
24169|  3.16k|            &&
24170|  3.16k|            (_keyword = _PyPegen_expect_token(p, 698))  // token='as'
  ------------------
  |  Branch (24170:13): [True: 8, False: 3.15k]
  ------------------
24171|      8|            &&
24172|      8|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (24172:13): [True: 7, False: 1]
  ------------------
24173|      7|            &&
24174|      7|            _PyPegen_lookahead(1, _tmp_35_rule, p)
  ------------------
  |  Branch (24174:13): [True: 2, False: 5]
  ------------------
24175|  3.86k|        )
24176|      2|        {
24177|      2|            D(fprintf(stderr, "%*c+ invalid_with_item[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression 'as' expression &(',' | ')' | ':')"));
24178|      2|            _res = RAISE_SYNTAX_ERROR_INVALID_TARGET ( STAR_TARGETS , a );
  ------------------
  |  |  216|      2|#define RAISE_SYNTAX_ERROR_INVALID_TARGET(type, e) _RAISE_SYNTAX_ERROR_INVALID_TARGET(p, type, e)
  ------------------
24179|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24179:18): [True: 2, False: 0]
  |  Branch (24179:34): [True: 0, False: 0]
  |  Branch (24179:57): [True: 2, False: 0]
  ------------------
24180|      2|                p->error_indicator = 1;
24181|      2|                p->level--;
24182|      2|                return NULL;
24183|      2|            }
24184|      0|            goto done;
24185|      2|        }
24186|  3.86k|        p->mark = _mark;
24187|  3.86k|        D(fprintf(stderr, "%*c%s invalid_with_item[%d-%d]: %s failed!\n", p->level, ' ',
24188|  3.86k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression 'as' expression &(',' | ')' | ':')"));
24189|  3.86k|    }
24190|  3.86k|    _res = NULL;
24191|  3.86k|  done:
24192|  3.86k|    p->level--;
24193|  3.86k|    return _res;
24194|  3.86k|}
parser.c:_loop0_33_rule:
30624|  6.07k|{
30625|  6.07k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  12.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (30625:9): [True: 0, False: 6.07k]
  |  Branch (30625:35): [True: 0, False: 6.07k]
  ------------------
30626|      0|        _Pypegen_stack_overflow(p);
30627|      0|    }
30628|  6.07k|    if (p->error_indicator) {
  ------------------
  |  Branch (30628:9): [True: 0, False: 6.07k]
  ------------------
30629|      0|        p->level--;
30630|      0|        return NULL;
30631|      0|    }
30632|  6.07k|    void *_res = NULL;
30633|  6.07k|    int _mark = p->mark;
30634|  6.07k|    void **_children = PyMem_Malloc(sizeof(void *));
30635|  6.07k|    if (!_children) {
  ------------------
  |  Branch (30635:9): [True: 0, False: 6.07k]
  ------------------
30636|      0|        p->error_indicator = 1;
30637|      0|        PyErr_NoMemory();
30638|      0|        p->level--;
30639|      0|        return NULL;
30640|      0|    }
30641|  6.07k|    Py_ssize_t _children_capacity = 1;
30642|  6.07k|    Py_ssize_t _n = 0;
30643|  6.07k|    { // ',' with_item
30644|  6.07k|        if (p->error_indicator) {
  ------------------
  |  Branch (30644:13): [True: 0, False: 6.07k]
  ------------------
30645|      0|            p->level--;
30646|      0|            return NULL;
30647|      0|        }
30648|  6.07k|        D(fprintf(stderr, "%*c> _loop0_33[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' with_item"));
30649|  6.07k|        Token * _literal;
30650|  6.07k|        withitem_ty elem;
30651|  6.07k|        while (
30652|  20.5k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (30652:13): [True: 16.1k, False: 4.38k]
  ------------------
30653|  16.1k|            &&
30654|  16.1k|            (elem = with_item_rule(p))  // with_item
  ------------------
  |  Branch (30654:13): [True: 14.5k, False: 1.68k]
  ------------------
30655|  6.07k|        )
30656|  14.5k|        {
30657|  14.5k|            _res = elem;
30658|  14.5k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (30658:18): [True: 0, False: 14.5k]
  |  Branch (30658:34): [True: 0, False: 14.5k]
  |  Branch (30658:57): [True: 0, False: 0]
  ------------------
30659|      0|                p->error_indicator = 1;
30660|      0|                PyMem_Free(_children);
30661|      0|                p->level--;
30662|      0|                return NULL;
30663|      0|            }
30664|  14.5k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30664:17): [True: 7.28k, False: 7.22k]
  ------------------
30665|  7.28k|                _children_capacity *= 2;
30666|  7.28k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30667|  7.28k|                if (!_new_children) {
  ------------------
  |  Branch (30667:21): [True: 0, False: 7.28k]
  ------------------
30668|      0|                    PyMem_Free(_children);
30669|      0|                    p->error_indicator = 1;
30670|      0|                    PyErr_NoMemory();
30671|      0|                    p->level--;
30672|      0|                    return NULL;
30673|      0|                }
30674|  7.28k|                _children = _new_children;
30675|  7.28k|            }
30676|  14.5k|            _children[_n++] = _res;
30677|  14.5k|            _mark = p->mark;
30678|  14.5k|        }
30679|  6.07k|        p->mark = _mark;
30680|  6.07k|        D(fprintf(stderr, "%*c%s _loop0_33[%d-%d]: %s failed!\n", p->level, ' ',
30681|  6.07k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' with_item"));
30682|  6.07k|    }
30683|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30684|  6.07k|    if (!_seq) {
  ------------------
  |  Branch (30684:9): [True: 0, False: 6.07k]
  ------------------
30685|      0|        PyMem_Free(_children);
30686|      0|        p->error_indicator = 1;
30687|      0|        PyErr_NoMemory();
30688|      0|        p->level--;
30689|      0|        return NULL;
30690|      0|    }
30691|  20.5k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  14.5k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  20.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30691:28): [True: 14.5k, False: 6.07k]
  ------------------
30692|  6.07k|    PyMem_Free(_children);
30693|  6.07k|    p->level--;
30694|  6.07k|    return _seq;
30695|  6.07k|}
parser.c:invalid_with_stmt_rule:
24699|    374|{
24700|    374|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    748|#  define MAXSTACK 6000
  ------------------
  |  Branch (24700:9): [True: 0, False: 374]
  |  Branch (24700:35): [True: 0, False: 374]
  ------------------
24701|      0|        _Pypegen_stack_overflow(p);
24702|      0|    }
24703|    374|    if (p->error_indicator) {
  ------------------
  |  Branch (24703:9): [True: 0, False: 374]
  ------------------
24704|      0|        p->level--;
24705|      0|        return NULL;
24706|      0|    }
24707|    374|    void * _res = NULL;
24708|    374|    int _mark = p->mark;
24709|    374|    { // 'async'? 'with' ','.(expression ['as' star_target])+ ',' ':'
24710|    374|        if (p->error_indicator) {
  ------------------
  |  Branch (24710:13): [True: 0, False: 374]
  ------------------
24711|      0|            p->level--;
24712|      0|            return NULL;
24713|      0|        }
24714|    374|        D(fprintf(stderr, "%*c> invalid_with_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'with' ','.(expression ['as' star_target])+ ',' ':'"));
24715|    374|        asdl_seq * _gather_141_var;
24716|    374|        Token * _keyword;
24717|    374|        Token * _literal;
24718|    374|        void *_opt_var;
24719|    374|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|    374|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 374]
  |  |  ------------------
  ------------------
24720|    374|        Token * trailing;
24721|    374|        if (
24722|    374|            (_opt_var = _PyPegen_expect_token(p, 716), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (24722:13): [True: 374, False: 0]
  ------------------
24723|    374|            &&
24724|    374|            (_keyword = _PyPegen_expect_token(p, 665))  // token='with'
  ------------------
  |  Branch (24724:13): [True: 103, False: 271]
  ------------------
24725|    103|            &&
24726|    103|            (_gather_141_var = _gather_141_rule(p))  // ','.(expression ['as' star_target])+
  ------------------
  |  Branch (24726:13): [True: 72, False: 31]
  ------------------
24727|     72|            &&
24728|     72|            (trailing = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (24728:13): [True: 9, False: 63]
  ------------------
24729|      9|            &&
24730|      9|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (24730:13): [True: 2, False: 7]
  ------------------
24731|    374|        )
24732|      2|        {
24733|      2|            D(fprintf(stderr, "%*c+ invalid_with_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'? 'with' ','.(expression ['as' star_target])+ ',' ':'"));
24734|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( trailing , "the last 'with' item has a trailing comma" );
  ------------------
  |  |  213|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
24735|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24735:18): [True: 2, False: 0]
  |  Branch (24735:34): [True: 0, False: 0]
  |  Branch (24735:57): [True: 2, False: 0]
  ------------------
24736|      2|                p->error_indicator = 1;
24737|      2|                p->level--;
24738|      2|                return NULL;
24739|      2|            }
24740|      0|            goto done;
24741|      2|        }
24742|    372|        p->mark = _mark;
24743|    372|        D(fprintf(stderr, "%*c%s invalid_with_stmt[%d-%d]: %s failed!\n", p->level, ' ',
24744|    372|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'with' ','.(expression ['as' star_target])+ ',' ':'"));
24745|    372|    }
24746|      0|    { // 'async'? 'with' ','.(expression ['as' star_target])+ NEWLINE
24747|    372|        if (p->error_indicator) {
  ------------------
  |  Branch (24747:13): [True: 0, False: 372]
  ------------------
24748|      0|            p->level--;
24749|      0|            return NULL;
24750|      0|        }
24751|    372|        D(fprintf(stderr, "%*c> invalid_with_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'with' ','.(expression ['as' star_target])+ NEWLINE"));
24752|    372|        asdl_seq * _gather_141_var;
24753|    372|        Token * _keyword;
24754|    372|        void *_opt_var;
24755|    372|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|    372|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 372]
  |  |  ------------------
  ------------------
24756|    372|        Token * newline_var;
24757|    372|        if (
24758|    372|            (_opt_var = _PyPegen_expect_token(p, 716), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (24758:13): [True: 372, False: 0]
  ------------------
24759|    372|            &&
24760|    372|            (_keyword = _PyPegen_expect_token(p, 665))  // token='with'
  ------------------
  |  Branch (24760:13): [True: 101, False: 271]
  ------------------
24761|    101|            &&
24762|    101|            (_gather_141_var = _gather_141_rule(p))  // ','.(expression ['as' star_target])+
  ------------------
  |  Branch (24762:13): [True: 70, False: 31]
  ------------------
24763|     70|            &&
24764|     70|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|     70|#define NEWLINE         4
  ------------------
  |  Branch (24764:13): [True: 22, False: 48]
  ------------------
24765|    372|        )
24766|     22|        {
24767|     22|            D(fprintf(stderr, "%*c+ invalid_with_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'? 'with' ','.(expression ['as' star_target])+ NEWLINE"));
24768|     22|            _res = RAISE_SYNTAX_ERROR ( "expected ':'" );
  ------------------
  |  |  207|     22|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
24769|     22|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24769:18): [True: 22, False: 0]
  |  Branch (24769:34): [True: 0, False: 0]
  |  Branch (24769:57): [True: 22, False: 0]
  ------------------
24770|     22|                p->error_indicator = 1;
24771|     22|                p->level--;
24772|     22|                return NULL;
24773|     22|            }
24774|      0|            goto done;
24775|     22|        }
24776|    350|        p->mark = _mark;
24777|    350|        D(fprintf(stderr, "%*c%s invalid_with_stmt[%d-%d]: %s failed!\n", p->level, ' ',
24778|    350|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'with' ','.(expression ['as' star_target])+ NEWLINE"));
24779|    350|    }
24780|      0|    { // 'async'? 'with' '(' ','.(expressions ['as' star_target])+ ','? ')' NEWLINE
24781|    350|        if (p->error_indicator) {
  ------------------
  |  Branch (24781:13): [True: 0, False: 350]
  ------------------
24782|      0|            p->level--;
24783|      0|            return NULL;
24784|      0|        }
24785|    350|        D(fprintf(stderr, "%*c> invalid_with_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'with' '(' ','.(expressions ['as' star_target])+ ','? ')' NEWLINE"));
24786|    350|        asdl_seq * _gather_143_var;
24787|    350|        Token * _keyword;
24788|    350|        Token * _literal;
24789|    350|        Token * _literal_1;
24790|    350|        void *_opt_var;
24791|    350|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|    350|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 350]
  |  |  ------------------
  ------------------
24792|    350|        void *_opt_var_1;
24793|    350|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  279|    350|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 350]
  |  |  ------------------
  ------------------
24794|    350|        Token * newline_var;
24795|    350|        if (
24796|    350|            (_opt_var = _PyPegen_expect_token(p, 716), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (24796:13): [True: 350, False: 0]
  ------------------
24797|    350|            &&
24798|    350|            (_keyword = _PyPegen_expect_token(p, 665))  // token='with'
  ------------------
  |  Branch (24798:13): [True: 79, False: 271]
  ------------------
24799|     79|            &&
24800|     79|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (24800:13): [True: 38, False: 41]
  ------------------
24801|     38|            &&
24802|     38|            (_gather_143_var = _gather_143_rule(p))  // ','.(expressions ['as' star_target])+
  ------------------
  |  Branch (24802:13): [True: 31, False: 7]
  ------------------
24803|     31|            &&
24804|     31|            (_opt_var_1 = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (24804:13): [True: 31, False: 0]
  ------------------
24805|     31|            &&
24806|     31|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (24806:13): [True: 15, False: 16]
  ------------------
24807|     15|            &&
24808|     15|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|     15|#define NEWLINE         4
  ------------------
  |  Branch (24808:13): [True: 2, False: 13]
  ------------------
24809|    350|        )
24810|      2|        {
24811|      2|            D(fprintf(stderr, "%*c+ invalid_with_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'? 'with' '(' ','.(expressions ['as' star_target])+ ','? ')' NEWLINE"));
24812|      2|            _res = RAISE_SYNTAX_ERROR ( "expected ':'" );
  ------------------
  |  |  207|      2|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
24813|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24813:18): [True: 2, False: 0]
  |  Branch (24813:34): [True: 0, False: 0]
  |  Branch (24813:57): [True: 2, False: 0]
  ------------------
24814|      2|                p->error_indicator = 1;
24815|      2|                p->level--;
24816|      2|                return NULL;
24817|      2|            }
24818|      0|            goto done;
24819|      2|        }
24820|    348|        p->mark = _mark;
24821|    348|        D(fprintf(stderr, "%*c%s invalid_with_stmt[%d-%d]: %s failed!\n", p->level, ' ',
24822|    348|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'with' '(' ','.(expressions ['as' star_target])+ ','? ')' NEWLINE"));
24823|    348|    }
24824|    348|    _res = NULL;
24825|    348|  done:
24826|    348|    p->level--;
24827|    348|    return _res;
24828|    348|}
parser.c:_tmp_9_rule:
29158|   173k|{
29159|   173k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   347k|#  define MAXSTACK 6000
  ------------------
  |  Branch (29159:9): [True: 0, False: 173k]
  |  Branch (29159:35): [True: 0, False: 173k]
  ------------------
29160|      0|        _Pypegen_stack_overflow(p);
29161|      0|    }
29162|   173k|    if (p->error_indicator) {
  ------------------
  |  Branch (29162:9): [True: 0, False: 173k]
  ------------------
29163|      0|        p->level--;
29164|      0|        return NULL;
29165|      0|    }
29166|   173k|    void * _res = NULL;
29167|   173k|    int _mark = p->mark;
29168|   173k|    { // 'for'
29169|   173k|        if (p->error_indicator) {
  ------------------
  |  Branch (29169:13): [True: 0, False: 173k]
  ------------------
29170|      0|            p->level--;
29171|      0|            return NULL;
29172|      0|        }
29173|   173k|        D(fprintf(stderr, "%*c> _tmp_9[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'for'"));
29174|   173k|        Token * _keyword;
29175|   173k|        if (
29176|   173k|            (_keyword = _PyPegen_expect_token(p, 712))  // token='for'
  ------------------
  |  Branch (29176:13): [True: 1.91k, False: 172k]
  ------------------
29177|   173k|        )
29178|  1.91k|        {
29179|  1.91k|            D(fprintf(stderr, "%*c+ _tmp_9[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'for'"));
29180|  1.91k|            _res = _keyword;
29181|  1.91k|            goto done;
29182|  1.91k|        }
29183|   172k|        p->mark = _mark;
29184|   172k|        D(fprintf(stderr, "%*c%s _tmp_9[%d-%d]: %s failed!\n", p->level, ' ',
29185|   172k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'for'"));
29186|   172k|    }
29187|      0|    { // 'async'
29188|   172k|        if (p->error_indicator) {
  ------------------
  |  Branch (29188:13): [True: 0, False: 172k]
  ------------------
29189|      0|            p->level--;
29190|      0|            return NULL;
29191|      0|        }
29192|   172k|        D(fprintf(stderr, "%*c> _tmp_9[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'"));
29193|   172k|        Token * _keyword;
29194|   172k|        if (
29195|   172k|            (_keyword = _PyPegen_expect_token(p, 716))  // token='async'
  ------------------
  |  Branch (29195:13): [True: 901, False: 171k]
  ------------------
29196|   172k|        )
29197|    901|        {
29198|    901|            D(fprintf(stderr, "%*c+ _tmp_9[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'"));
29199|    901|            _res = _keyword;
29200|    901|            goto done;
29201|    901|        }
29202|   171k|        p->mark = _mark;
29203|   171k|        D(fprintf(stderr, "%*c%s _tmp_9[%d-%d]: %s failed!\n", p->level, ' ',
29204|   171k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'"));
29205|   171k|    }
29206|   171k|    _res = NULL;
29207|   173k|  done:
29208|   173k|    p->level--;
29209|   173k|    return _res;
29210|   171k|}
parser.c:for_stmt_rule:
 6513|  2.81k|{
 6514|  2.81k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  5.63k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6514:9): [True: 0, False: 2.81k]
  |  Branch (6514:35): [True: 0, False: 2.81k]
  ------------------
 6515|      0|        _Pypegen_stack_overflow(p);
 6516|      0|    }
 6517|  2.81k|    if (p->error_indicator) {
  ------------------
  |  Branch (6517:9): [True: 0, False: 2.81k]
  ------------------
 6518|      0|        p->level--;
 6519|      0|        return NULL;
 6520|      0|    }
 6521|  2.81k|    stmt_ty _res = NULL;
 6522|  2.81k|    int _mark = p->mark;
 6523|  2.81k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (6523:9): [True: 0, False: 2.81k]
  |  Branch (6523:31): [True: 0, False: 0]
  ------------------
 6524|      0|        p->error_indicator = 1;
 6525|      0|        p->level--;
 6526|      0|        return NULL;
 6527|      0|    }
 6528|  2.81k|    int _start_lineno = p->tokens[_mark]->lineno;
 6529|  2.81k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.81k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.81k]
  |  |  ------------------
  ------------------
 6530|  2.81k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 6531|  2.81k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.81k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.81k]
  |  |  ------------------
  ------------------
 6532|  2.81k|    if (p->call_invalid_rules) { // invalid_for_stmt
  ------------------
  |  Branch (6532:9): [True: 715, False: 2.10k]
  ------------------
 6533|    715|        if (p->error_indicator) {
  ------------------
  |  Branch (6533:13): [True: 0, False: 715]
  ------------------
 6534|      0|            p->level--;
 6535|      0|            return NULL;
 6536|      0|        }
 6537|    715|        D(fprintf(stderr, "%*c> for_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_for_stmt"));
 6538|    715|        void *invalid_for_stmt_var;
 6539|    715|        if (
 6540|    715|            (invalid_for_stmt_var = invalid_for_stmt_rule(p))  // invalid_for_stmt
  ------------------
  |  Branch (6540:13): [True: 0, False: 715]
  ------------------
 6541|    715|        )
 6542|      0|        {
 6543|      0|            D(fprintf(stderr, "%*c+ for_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_for_stmt"));
 6544|      0|            _res = invalid_for_stmt_var;
 6545|      0|            goto done;
 6546|      0|        }
 6547|    715|        p->mark = _mark;
 6548|    715|        D(fprintf(stderr, "%*c%s for_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6549|    715|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_for_stmt"));
 6550|    715|    }
 6551|  2.81k|    { // 'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?
 6552|  2.81k|        if (p->error_indicator) {
  ------------------
  |  Branch (6552:13): [True: 17, False: 2.80k]
  ------------------
 6553|     17|            p->level--;
 6554|     17|            return NULL;
 6555|     17|        }
 6556|  2.80k|        D(fprintf(stderr, "%*c> for_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?"));
 6557|  2.80k|        int _cut_var = 0;
 6558|  2.80k|        Token * _keyword;
 6559|  2.80k|        Token * _keyword_1;
 6560|  2.80k|        Token * _literal;
 6561|  2.80k|        asdl_stmt_seq* b;
 6562|  2.80k|        void *el;
 6563|  2.80k|        expr_ty ex;
 6564|  2.80k|        expr_ty t;
 6565|  2.80k|        void *tc;
 6566|  2.80k|        if (
 6567|  2.80k|            (_keyword = _PyPegen_expect_token(p, 712))  // token='for'
  ------------------
  |  Branch (6567:13): [True: 1.90k, False: 896]
  ------------------
 6568|  1.90k|            &&
 6569|  1.90k|            (t = star_targets_rule(p))  // star_targets
  ------------------
  |  Branch (6569:13): [True: 1.87k, False: 27]
  ------------------
 6570|  1.87k|            &&
 6571|  1.87k|            (_keyword_1 = _PyPegen_expect_token(p, 713))  // token='in'
  ------------------
  |  Branch (6571:13): [True: 1.85k, False: 25]
  ------------------
 6572|  1.85k|            &&
 6573|  1.85k|            (_cut_var = 1)
  ------------------
  |  Branch (6573:13): [True: 1.85k, False: 0]
  ------------------
 6574|  1.85k|            &&
 6575|  1.85k|            (ex = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (6575:13): [True: 1.84k, False: 9]
  ------------------
 6576|  1.84k|            &&
 6577|  1.84k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6577:13): [True: 1.84k, False: 4]
  ------------------
 6578|  1.84k|            &&
 6579|  1.84k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  1.84k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (6579:13): [True: 1.84k, False: 1]
  ------------------
 6580|  1.84k|            &&
 6581|  1.84k|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6581:13): [True: 1.81k, False: 27]
  ------------------
 6582|  1.81k|            &&
 6583|  1.81k|            (el = else_block_rule(p), !p->error_indicator)  // else_block?
  ------------------
  |  Branch (6583:13): [True: 1.81k, False: 2]
  ------------------
 6584|  2.80k|        )
 6585|  1.81k|        {
 6586|  1.81k|            D(fprintf(stderr, "%*c+ for_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?"));
 6587|  1.81k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6588|  1.81k|            if (_token == NULL) {
  ------------------
  |  Branch (6588:17): [True: 0, False: 1.81k]
  ------------------
 6589|      0|                p->level--;
 6590|      0|                return NULL;
 6591|      0|            }
 6592|  1.81k|            int _end_lineno = _token->end_lineno;
 6593|  1.81k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.81k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.81k]
  |  |  ------------------
  ------------------
 6594|  1.81k|            int _end_col_offset = _token->end_col_offset;
 6595|  1.81k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.81k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.81k]
  |  |  ------------------
  ------------------
 6596|  1.81k|            _res = _PyAST_For ( t , ex , b , el , NEW_TYPE_COMMENT ( p , tc ) , EXTRA );
  ------------------
  |  |  281|  1.81k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6597|  1.81k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6597:18): [True: 0, False: 1.81k]
  |  Branch (6597:34): [True: 0, False: 1.81k]
  |  Branch (6597:57): [True: 0, False: 0]
  ------------------
 6598|      0|                p->error_indicator = 1;
 6599|      0|                p->level--;
 6600|      0|                return NULL;
 6601|      0|            }
 6602|  1.81k|            goto done;
 6603|  1.81k|        }
 6604|    991|        p->mark = _mark;
 6605|    991|        D(fprintf(stderr, "%*c%s for_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6606|    991|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?"));
 6607|    991|        if (_cut_var) {
  ------------------
  |  Branch (6607:13): [True: 43, False: 948]
  ------------------
 6608|     43|            p->level--;
 6609|     43|            return NULL;
 6610|     43|        }
 6611|    991|    }
 6612|    948|    { // 'async' 'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?
 6613|    948|        if (p->error_indicator) {
  ------------------
  |  Branch (6613:13): [True: 3, False: 945]
  ------------------
 6614|      3|            p->level--;
 6615|      3|            return NULL;
 6616|      3|        }
 6617|    945|        D(fprintf(stderr, "%*c> for_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async' 'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?"));
 6618|    945|        int _cut_var = 0;
 6619|    945|        Token * _keyword;
 6620|    945|        Token * _keyword_1;
 6621|    945|        Token * _keyword_2;
 6622|    945|        Token * _literal;
 6623|    945|        asdl_stmt_seq* b;
 6624|    945|        void *el;
 6625|    945|        expr_ty ex;
 6626|    945|        expr_ty t;
 6627|    945|        void *tc;
 6628|    945|        if (
 6629|    945|            (_keyword = _PyPegen_expect_token(p, 716))  // token='async'
  ------------------
  |  Branch (6629:13): [True: 896, False: 49]
  ------------------
 6630|    896|            &&
 6631|    896|            (_keyword_1 = _PyPegen_expect_token(p, 712))  // token='for'
  ------------------
  |  Branch (6631:13): [True: 586, False: 310]
  ------------------
 6632|    586|            &&
 6633|    586|            (t = star_targets_rule(p))  // star_targets
  ------------------
  |  Branch (6633:13): [True: 575, False: 11]
  ------------------
 6634|    575|            &&
 6635|    575|            (_keyword_2 = _PyPegen_expect_token(p, 713))  // token='in'
  ------------------
  |  Branch (6635:13): [True: 568, False: 7]
  ------------------
 6636|    568|            &&
 6637|    568|            (_cut_var = 1)
  ------------------
  |  Branch (6637:13): [True: 568, False: 0]
  ------------------
 6638|    568|            &&
 6639|    568|            (ex = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (6639:13): [True: 565, False: 3]
  ------------------
 6640|    565|            &&
 6641|    565|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6641:13): [True: 557, False: 8]
  ------------------
 6642|    557|            &&
 6643|    557|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|    557|#define TYPE_COMMENT    57
  ------------------
  |  Branch (6643:13): [True: 556, False: 1]
  ------------------
 6644|    556|            &&
 6645|    556|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6645:13): [True: 551, False: 5]
  ------------------
 6646|    551|            &&
 6647|    551|            (el = else_block_rule(p), !p->error_indicator)  // else_block?
  ------------------
  |  Branch (6647:13): [True: 549, False: 2]
  ------------------
 6648|    945|        )
 6649|    549|        {
 6650|    549|            D(fprintf(stderr, "%*c+ for_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async' 'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?"));
 6651|    549|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6652|    549|            if (_token == NULL) {
  ------------------
  |  Branch (6652:17): [True: 0, False: 549]
  ------------------
 6653|      0|                p->level--;
 6654|      0|                return NULL;
 6655|      0|            }
 6656|    549|            int _end_lineno = _token->end_lineno;
 6657|    549|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    549|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 549]
  |  |  ------------------
  ------------------
 6658|    549|            int _end_col_offset = _token->end_col_offset;
 6659|    549|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    549|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 549]
  |  |  ------------------
  ------------------
 6660|    549|            _res = CHECK_VERSION ( stmt_ty , 5 , "Async for loops are" , _PyAST_AsyncFor ( t , ex , b , el , NEW_TYPE_COMMENT ( p , tc ) , EXTRA ) );
  ------------------
  |  |  319|    549|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 6661|    549|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6661:18): [True: 0, False: 549]
  |  Branch (6661:34): [True: 0, False: 549]
  |  Branch (6661:57): [True: 0, False: 0]
  ------------------
 6662|      0|                p->error_indicator = 1;
 6663|      0|                p->level--;
 6664|      0|                return NULL;
 6665|      0|            }
 6666|    549|            goto done;
 6667|    549|        }
 6668|    396|        p->mark = _mark;
 6669|    396|        D(fprintf(stderr, "%*c%s for_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6670|    396|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async' 'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?"));
 6671|    396|        if (_cut_var) {
  ------------------
  |  Branch (6671:13): [True: 19, False: 377]
  ------------------
 6672|     19|            p->level--;
 6673|     19|            return NULL;
 6674|     19|        }
 6675|    396|    }
 6676|    377|    if (p->call_invalid_rules) { // invalid_for_target
  ------------------
  |  Branch (6676:9): [True: 140, False: 237]
  ------------------
 6677|    140|        if (p->error_indicator) {
  ------------------
  |  Branch (6677:13): [True: 0, False: 140]
  ------------------
 6678|      0|            p->level--;
 6679|      0|            return NULL;
 6680|      0|        }
 6681|    140|        D(fprintf(stderr, "%*c> for_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_for_target"));
 6682|    140|        void *invalid_for_target_var;
 6683|    140|        if (
 6684|    140|            (invalid_for_target_var = invalid_for_target_rule(p))  // invalid_for_target
  ------------------
  |  Branch (6684:13): [True: 0, False: 140]
  ------------------
 6685|    140|        )
 6686|      0|        {
 6687|      0|            D(fprintf(stderr, "%*c+ for_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_for_target"));
 6688|      0|            _res = invalid_for_target_var;
 6689|      0|            goto done;
 6690|      0|        }
 6691|    140|        p->mark = _mark;
 6692|    140|        D(fprintf(stderr, "%*c%s for_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6693|    140|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_for_target"));
 6694|    140|    }
 6695|    377|    _res = NULL;
 6696|  2.73k|  done:
 6697|  2.73k|    p->level--;
 6698|  2.73k|    return _res;
 6699|    377|}
parser.c:invalid_for_stmt_rule:
26476|    715|{
26477|    715|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.43k|#  define MAXSTACK 6000
  ------------------
  |  Branch (26477:9): [True: 0, False: 715]
  |  Branch (26477:35): [True: 0, False: 715]
  ------------------
26478|      0|        _Pypegen_stack_overflow(p);
26479|      0|    }
26480|    715|    if (p->error_indicator) {
  ------------------
  |  Branch (26480:9): [True: 0, False: 715]
  ------------------
26481|      0|        p->level--;
26482|      0|        return NULL;
26483|      0|    }
26484|    715|    void * _res = NULL;
26485|    715|    int _mark = p->mark;
26486|    715|    { // 'async'? 'for' star_targets 'in' star_expressions NEWLINE
26487|    715|        if (p->error_indicator) {
  ------------------
  |  Branch (26487:13): [True: 0, False: 715]
  ------------------
26488|      0|            p->level--;
26489|      0|            return NULL;
26490|      0|        }
26491|    715|        D(fprintf(stderr, "%*c> invalid_for_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'for' star_targets 'in' star_expressions NEWLINE"));
26492|    715|        Token * _keyword;
26493|    715|        Token * _keyword_1;
26494|    715|        void *_opt_var;
26495|    715|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|    715|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 715]
  |  |  ------------------
  ------------------
26496|    715|        Token * newline_var;
26497|    715|        expr_ty star_expressions_var;
26498|    715|        expr_ty star_targets_var;
26499|    715|        if (
26500|    715|            (_opt_var = _PyPegen_expect_token(p, 716), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (26500:13): [True: 715, False: 0]
  ------------------
26501|    715|            &&
26502|    715|            (_keyword = _PyPegen_expect_token(p, 712))  // token='for'
  ------------------
  |  Branch (26502:13): [True: 604, False: 111]
  ------------------
26503|    604|            &&
26504|    604|            (star_targets_var = star_targets_rule(p))  // star_targets
  ------------------
  |  Branch (26504:13): [True: 582, False: 22]
  ------------------
26505|    582|            &&
26506|    582|            (_keyword_1 = _PyPegen_expect_token(p, 713))  // token='in'
  ------------------
  |  Branch (26506:13): [True: 568, False: 14]
  ------------------
26507|    568|            &&
26508|    568|            (star_expressions_var = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (26508:13): [True: 563, False: 5]
  ------------------
26509|    563|            &&
26510|    563|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    563|#define NEWLINE         4
  ------------------
  |  Branch (26510:13): [True: 4, False: 559]
  ------------------
26511|    715|        )
26512|      4|        {
26513|      4|            D(fprintf(stderr, "%*c+ invalid_for_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'? 'for' star_targets 'in' star_expressions NEWLINE"));
26514|      4|            _res = RAISE_SYNTAX_ERROR ( "expected ':'" );
  ------------------
  |  |  207|      4|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
26515|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26515:18): [True: 4, False: 0]
  |  Branch (26515:34): [True: 0, False: 0]
  |  Branch (26515:57): [True: 4, False: 0]
  ------------------
26516|      4|                p->error_indicator = 1;
26517|      4|                p->level--;
26518|      4|                return NULL;
26519|      4|            }
26520|      0|            goto done;
26521|      4|        }
26522|    711|        p->mark = _mark;
26523|    711|        D(fprintf(stderr, "%*c%s invalid_for_stmt[%d-%d]: %s failed!\n", p->level, ' ',
26524|    711|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'for' star_targets 'in' star_expressions NEWLINE"));
26525|    711|    }
26526|      0|    { // 'async'? 'for' star_targets 'in' star_expressions ':' NEWLINE !INDENT
26527|    711|        if (p->error_indicator) {
  ------------------
  |  Branch (26527:13): [True: 7, False: 704]
  ------------------
26528|      7|            p->level--;
26529|      7|            return NULL;
26530|      7|        }
26531|    704|        D(fprintf(stderr, "%*c> invalid_for_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'? 'for' star_targets 'in' star_expressions ':' NEWLINE !INDENT"));
26532|    704|        Token * _keyword;
26533|    704|        Token * _literal;
26534|    704|        void *_opt_var;
26535|    704|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|    704|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 704]
  |  |  ------------------
  ------------------
26536|    704|        Token * a;
26537|    704|        Token * newline_var;
26538|    704|        expr_ty star_expressions_var;
26539|    704|        expr_ty star_targets_var;
26540|    704|        if (
26541|    704|            (_opt_var = _PyPegen_expect_token(p, 716), !p->error_indicator)  // 'async'?
  ------------------
  |  Branch (26541:13): [True: 704, False: 0]
  ------------------
26542|    704|            &&
26543|    704|            (a = _PyPegen_expect_token(p, 712))  // token='for'
  ------------------
  |  Branch (26543:13): [True: 593, False: 111]
  ------------------
26544|    593|            &&
26545|    593|            (star_targets_var = star_targets_rule(p))  // star_targets
  ------------------
  |  Branch (26545:13): [True: 578, False: 15]
  ------------------
26546|    578|            &&
26547|    578|            (_keyword = _PyPegen_expect_token(p, 713))  // token='in'
  ------------------
  |  Branch (26547:13): [True: 564, False: 14]
  ------------------
26548|    564|            &&
26549|    564|            (star_expressions_var = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (26549:13): [True: 559, False: 5]
  ------------------
26550|    559|            &&
26551|    559|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (26551:13): [True: 555, False: 4]
  ------------------
26552|    555|            &&
26553|    555|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    555|#define NEWLINE         4
  ------------------
  |  Branch (26553:13): [True: 341, False: 214]
  ------------------
26554|    341|            &&
26555|    341|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|    341|#define INDENT          5
  ------------------
  |  Branch (26555:13): [True: 6, False: 335]
  ------------------
26556|    704|        )
26557|      6|        {
26558|      6|            D(fprintf(stderr, "%*c+ invalid_for_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'? 'for' star_targets 'in' star_expressions ':' NEWLINE !INDENT"));
26559|      6|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'for' statement on line %d" , a -> lineno );
  ------------------
  |  |  208|      6|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
26560|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26560:18): [True: 6, False: 0]
  |  Branch (26560:34): [True: 0, False: 0]
  |  Branch (26560:57): [True: 6, False: 0]
  ------------------
26561|      6|                p->error_indicator = 1;
26562|      6|                p->level--;
26563|      6|                return NULL;
26564|      6|            }
26565|      0|            goto done;
26566|      6|        }
26567|    698|        p->mark = _mark;
26568|    698|        D(fprintf(stderr, "%*c%s invalid_for_stmt[%d-%d]: %s failed!\n", p->level, ' ',
26569|    698|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'? 'for' star_targets 'in' star_expressions ':' NEWLINE !INDENT"));
26570|    698|    }
26571|    698|    _res = NULL;
26572|    698|  done:
26573|    698|    p->level--;
26574|    698|    return _res;
26575|    698|}
parser.c:try_stmt_rule:
 7080|  9.52k|{
 7081|  9.52k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  19.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (7081:9): [True: 0, False: 9.52k]
  |  Branch (7081:35): [True: 0, False: 9.52k]
  ------------------
 7082|      0|        _Pypegen_stack_overflow(p);
 7083|      0|    }
 7084|  9.52k|    if (p->error_indicator) {
  ------------------
  |  Branch (7084:9): [True: 0, False: 9.52k]
  ------------------
 7085|      0|        p->level--;
 7086|      0|        return NULL;
 7087|      0|    }
 7088|  9.52k|    stmt_ty _res = NULL;
 7089|  9.52k|    int _mark = p->mark;
 7090|  9.52k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (7090:9): [True: 0, False: 9.52k]
  |  Branch (7090:31): [True: 0, False: 0]
  ------------------
 7091|      0|        p->error_indicator = 1;
 7092|      0|        p->level--;
 7093|      0|        return NULL;
 7094|      0|    }
 7095|  9.52k|    int _start_lineno = p->tokens[_mark]->lineno;
 7096|  9.52k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  9.52k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 9.52k]
  |  |  ------------------
  ------------------
 7097|  9.52k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 7098|  9.52k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  9.52k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 9.52k]
  |  |  ------------------
  ------------------
 7099|  9.52k|    if (p->call_invalid_rules) { // invalid_try_stmt
  ------------------
  |  Branch (7099:9): [True: 2.21k, False: 7.31k]
  ------------------
 7100|  2.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (7100:13): [True: 0, False: 2.21k]
  ------------------
 7101|      0|            p->level--;
 7102|      0|            return NULL;
 7103|      0|        }
 7104|  2.21k|        D(fprintf(stderr, "%*c> try_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_try_stmt"));
 7105|  2.21k|        void *invalid_try_stmt_var;
 7106|  2.21k|        if (
 7107|  2.21k|            (invalid_try_stmt_var = invalid_try_stmt_rule(p))  // invalid_try_stmt
  ------------------
  |  Branch (7107:13): [True: 0, False: 2.21k]
  ------------------
 7108|  2.21k|        )
 7109|      0|        {
 7110|      0|            D(fprintf(stderr, "%*c+ try_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_try_stmt"));
 7111|      0|            _res = invalid_try_stmt_var;
 7112|      0|            goto done;
 7113|      0|        }
 7114|  2.21k|        p->mark = _mark;
 7115|  2.21k|        D(fprintf(stderr, "%*c%s try_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 7116|  2.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_try_stmt"));
 7117|  2.21k|    }
 7118|  9.52k|    { // 'try' &&':' block finally_block
 7119|  9.52k|        if (p->error_indicator) {
  ------------------
  |  Branch (7119:13): [True: 134, False: 9.39k]
  ------------------
 7120|    134|            p->level--;
 7121|    134|            return NULL;
 7122|    134|        }
 7123|  9.39k|        D(fprintf(stderr, "%*c> try_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'try' &&':' block finally_block"));
 7124|  9.39k|        Token * _keyword;
 7125|  9.39k|        Token * _literal;
 7126|  9.39k|        asdl_stmt_seq* b;
 7127|  9.39k|        asdl_stmt_seq* f;
 7128|  9.39k|        if (
 7129|  9.39k|            (_keyword = _PyPegen_expect_token(p, 674))  // token='try'
  ------------------
  |  Branch (7129:13): [True: 9.39k, False: 0]
  ------------------
 7130|  9.39k|            &&
 7131|  9.39k|            (_literal = _PyPegen_expect_forced_token(p, 11, ":"))  // forced_token=':'
  ------------------
  |  Branch (7131:13): [True: 9.39k, False: 5]
  ------------------
 7132|  9.39k|            &&
 7133|  9.39k|            (b = block_rule(p))  // block
  ------------------
  |  Branch (7133:13): [True: 9.25k, False: 140]
  ------------------
 7134|  9.25k|            &&
 7135|  9.25k|            (f = finally_block_rule(p))  // finally_block
  ------------------
  |  Branch (7135:13): [True: 1.93k, False: 7.31k]
  ------------------
 7136|  9.39k|        )
 7137|  1.93k|        {
 7138|  1.93k|            D(fprintf(stderr, "%*c+ try_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'try' &&':' block finally_block"));
 7139|  1.93k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7140|  1.93k|            if (_token == NULL) {
  ------------------
  |  Branch (7140:17): [True: 0, False: 1.93k]
  ------------------
 7141|      0|                p->level--;
 7142|      0|                return NULL;
 7143|      0|            }
 7144|  1.93k|            int _end_lineno = _token->end_lineno;
 7145|  1.93k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.93k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.93k]
  |  |  ------------------
  ------------------
 7146|  1.93k|            int _end_col_offset = _token->end_col_offset;
 7147|  1.93k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.93k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.93k]
  |  |  ------------------
  ------------------
 7148|  1.93k|            _res = _PyAST_Try ( b , NULL , NULL , f , EXTRA );
  ------------------
  |  |  281|  1.93k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 7149|  1.93k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7149:18): [True: 0, False: 1.93k]
  |  Branch (7149:34): [True: 0, False: 1.93k]
  |  Branch (7149:57): [True: 0, False: 0]
  ------------------
 7150|      0|                p->error_indicator = 1;
 7151|      0|                p->level--;
 7152|      0|                return NULL;
 7153|      0|            }
 7154|  1.93k|            goto done;
 7155|  1.93k|        }
 7156|  7.46k|        p->mark = _mark;
 7157|  7.46k|        D(fprintf(stderr, "%*c%s try_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 7158|  7.46k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'try' &&':' block finally_block"));
 7159|  7.46k|    }
 7160|      0|    { // 'try' &&':' block except_block+ else_block? finally_block?
 7161|  7.46k|        if (p->error_indicator) {
  ------------------
  |  Branch (7161:13): [True: 40, False: 7.42k]
  ------------------
 7162|     40|            p->level--;
 7163|     40|            return NULL;
 7164|     40|        }
 7165|  7.42k|        D(fprintf(stderr, "%*c> try_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'try' &&':' block except_block+ else_block? finally_block?"));
 7166|  7.42k|        Token * _keyword;
 7167|  7.42k|        Token * _literal;
 7168|  7.42k|        asdl_stmt_seq* b;
 7169|  7.42k|        void *el;
 7170|  7.42k|        asdl_excepthandler_seq* ex;
 7171|  7.42k|        void *f;
 7172|  7.42k|        if (
 7173|  7.42k|            (_keyword = _PyPegen_expect_token(p, 674))  // token='try'
  ------------------
  |  Branch (7173:13): [True: 7.42k, False: 0]
  ------------------
 7174|  7.42k|            &&
 7175|  7.42k|            (_literal = _PyPegen_expect_forced_token(p, 11, ":"))  // forced_token=':'
  ------------------
  |  Branch (7175:13): [True: 7.42k, False: 0]
  ------------------
 7176|  7.42k|            &&
 7177|  7.42k|            (b = block_rule(p))  // block
  ------------------
  |  Branch (7177:13): [True: 7.30k, False: 122]
  ------------------
 7178|  7.30k|            &&
 7179|  7.30k|            (ex = (asdl_excepthandler_seq*)_loop1_36_rule(p))  // except_block+
  ------------------
  |  Branch (7179:13): [True: 3.48k, False: 3.81k]
  ------------------
 7180|  3.48k|            &&
 7181|  3.48k|            (el = else_block_rule(p), !p->error_indicator)  // else_block?
  ------------------
  |  Branch (7181:13): [True: 3.48k, False: 2]
  ------------------
 7182|  3.48k|            &&
 7183|  3.48k|            (f = finally_block_rule(p), !p->error_indicator)  // finally_block?
  ------------------
  |  Branch (7183:13): [True: 3.47k, False: 8]
  ------------------
 7184|  7.42k|        )
 7185|  3.47k|        {
 7186|  3.47k|            D(fprintf(stderr, "%*c+ try_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'try' &&':' block except_block+ else_block? finally_block?"));
 7187|  3.47k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7188|  3.47k|            if (_token == NULL) {
  ------------------
  |  Branch (7188:17): [True: 0, False: 3.47k]
  ------------------
 7189|      0|                p->level--;
 7190|      0|                return NULL;
 7191|      0|            }
 7192|  3.47k|            int _end_lineno = _token->end_lineno;
 7193|  3.47k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.47k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.47k]
  |  |  ------------------
  ------------------
 7194|  3.47k|            int _end_col_offset = _token->end_col_offset;
 7195|  3.47k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.47k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.47k]
  |  |  ------------------
  ------------------
 7196|  3.47k|            _res = _PyAST_Try ( b , ex , el , f , EXTRA );
  ------------------
  |  |  281|  3.47k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 7197|  3.47k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7197:18): [True: 0, False: 3.47k]
  |  Branch (7197:34): [True: 0, False: 3.47k]
  |  Branch (7197:57): [True: 0, False: 0]
  ------------------
 7198|      0|                p->error_indicator = 1;
 7199|      0|                p->level--;
 7200|      0|                return NULL;
 7201|      0|            }
 7202|  3.47k|            goto done;
 7203|  3.47k|        }
 7204|  3.95k|        p->mark = _mark;
 7205|  3.95k|        D(fprintf(stderr, "%*c%s try_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 7206|  3.95k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'try' &&':' block except_block+ else_block? finally_block?"));
 7207|  3.95k|    }
 7208|      0|    { // 'try' &&':' block except_star_block+ else_block? finally_block?
 7209|  3.95k|        if (p->error_indicator) {
  ------------------
  |  Branch (7209:13): [True: 14, False: 3.93k]
  ------------------
 7210|     14|            p->level--;
 7211|     14|            return NULL;
 7212|     14|        }
 7213|  3.93k|        D(fprintf(stderr, "%*c> try_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'try' &&':' block except_star_block+ else_block? finally_block?"));
 7214|  3.93k|        Token * _keyword;
 7215|  3.93k|        Token * _literal;
 7216|  3.93k|        asdl_stmt_seq* b;
 7217|  3.93k|        void *el;
 7218|  3.93k|        asdl_excepthandler_seq* ex;
 7219|  3.93k|        void *f;
 7220|  3.93k|        if (
 7221|  3.93k|            (_keyword = _PyPegen_expect_token(p, 674))  // token='try'
  ------------------
  |  Branch (7221:13): [True: 3.93k, False: 0]
  ------------------
 7222|  3.93k|            &&
 7223|  3.93k|            (_literal = _PyPegen_expect_forced_token(p, 11, ":"))  // forced_token=':'
  ------------------
  |  Branch (7223:13): [True: 3.93k, False: 0]
  ------------------
 7224|  3.93k|            &&
 7225|  3.93k|            (b = block_rule(p))  // block
  ------------------
  |  Branch (7225:13): [True: 3.81k, False: 122]
  ------------------
 7226|  3.81k|            &&
 7227|  3.81k|            (ex = (asdl_excepthandler_seq*)_loop1_37_rule(p))  // except_star_block+
  ------------------
  |  Branch (7227:13): [True: 3.56k, False: 246]
  ------------------
 7228|  3.56k|            &&
 7229|  3.56k|            (el = else_block_rule(p), !p->error_indicator)  // else_block?
  ------------------
  |  Branch (7229:13): [True: 3.56k, False: 1]
  ------------------
 7230|  3.56k|            &&
 7231|  3.56k|            (f = finally_block_rule(p), !p->error_indicator)  // finally_block?
  ------------------
  |  Branch (7231:13): [True: 3.56k, False: 1]
  ------------------
 7232|  3.93k|        )
 7233|  3.56k|        {
 7234|  3.56k|            D(fprintf(stderr, "%*c+ try_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'try' &&':' block except_star_block+ else_block? finally_block?"));
 7235|  3.56k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7236|  3.56k|            if (_token == NULL) {
  ------------------
  |  Branch (7236:17): [True: 0, False: 3.56k]
  ------------------
 7237|      0|                p->level--;
 7238|      0|                return NULL;
 7239|      0|            }
 7240|  3.56k|            int _end_lineno = _token->end_lineno;
 7241|  3.56k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.56k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.56k]
  |  |  ------------------
  ------------------
 7242|  3.56k|            int _end_col_offset = _token->end_col_offset;
 7243|  3.56k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.56k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.56k]
  |  |  ------------------
  ------------------
 7244|  3.56k|            _res = CHECK_VERSION ( stmt_ty , 11 , "Exception groups are" , _PyAST_TryStar ( b , ex , el , f , EXTRA ) );
  ------------------
  |  |  319|  3.56k|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 7245|  3.56k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7245:18): [True: 0, False: 3.56k]
  |  Branch (7245:34): [True: 0, False: 3.56k]
  |  Branch (7245:57): [True: 0, False: 0]
  ------------------
 7246|      0|                p->error_indicator = 1;
 7247|      0|                p->level--;
 7248|      0|                return NULL;
 7249|      0|            }
 7250|  3.56k|            goto done;
 7251|  3.56k|        }
 7252|    370|        p->mark = _mark;
 7253|    370|        D(fprintf(stderr, "%*c%s try_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 7254|    370|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'try' &&':' block except_star_block+ else_block? finally_block?"));
 7255|    370|    }
 7256|    370|    _res = NULL;
 7257|  9.34k|  done:
 7258|  9.34k|    p->level--;
 7259|  9.34k|    return _res;
 7260|    370|}
parser.c:invalid_try_stmt_rule:
24946|  2.21k|{
24947|  2.21k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.42k|#  define MAXSTACK 6000
  ------------------
  |  Branch (24947:9): [True: 0, False: 2.21k]
  |  Branch (24947:35): [True: 0, False: 2.21k]
  ------------------
24948|      0|        _Pypegen_stack_overflow(p);
24949|      0|    }
24950|  2.21k|    if (p->error_indicator) {
  ------------------
  |  Branch (24950:9): [True: 0, False: 2.21k]
  ------------------
24951|      0|        p->level--;
24952|      0|        return NULL;
24953|      0|    }
24954|  2.21k|    void * _res = NULL;
24955|  2.21k|    int _mark = p->mark;
24956|  2.21k|    { // 'try' ':' NEWLINE !INDENT
24957|  2.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (24957:13): [True: 0, False: 2.21k]
  ------------------
24958|      0|            p->level--;
24959|      0|            return NULL;
24960|      0|        }
24961|  2.21k|        D(fprintf(stderr, "%*c> invalid_try_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'try' ':' NEWLINE !INDENT"));
24962|  2.21k|        Token * _literal;
24963|  2.21k|        Token * a;
24964|  2.21k|        Token * newline_var;
24965|  2.21k|        if (
24966|  2.21k|            (a = _PyPegen_expect_token(p, 674))  // token='try'
  ------------------
  |  Branch (24966:13): [True: 2.21k, False: 0]
  ------------------
24967|  2.21k|            &&
24968|  2.21k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (24968:13): [True: 2.21k, False: 1]
  ------------------
24969|  2.21k|            &&
24970|  2.21k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  2.21k|#define NEWLINE         4
  ------------------
  |  Branch (24970:13): [True: 708, False: 1.50k]
  ------------------
24971|    708|            &&
24972|    708|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|    708|#define INDENT          5
  ------------------
  |  Branch (24972:13): [True: 2, False: 706]
  ------------------
24973|  2.21k|        )
24974|      2|        {
24975|      2|            D(fprintf(stderr, "%*c+ invalid_try_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'try' ':' NEWLINE !INDENT"));
24976|      2|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'try' statement on line %d" , a -> lineno );
  ------------------
  |  |  208|      2|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
24977|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (24977:18): [True: 2, False: 0]
  |  Branch (24977:34): [True: 0, False: 0]
  |  Branch (24977:57): [True: 2, False: 0]
  ------------------
24978|      2|                p->error_indicator = 1;
24979|      2|                p->level--;
24980|      2|                return NULL;
24981|      2|            }
24982|      0|            goto done;
24983|      2|        }
24984|  2.20k|        p->mark = _mark;
24985|  2.20k|        D(fprintf(stderr, "%*c%s invalid_try_stmt[%d-%d]: %s failed!\n", p->level, ' ',
24986|  2.20k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'try' ':' NEWLINE !INDENT"));
24987|  2.20k|    }
24988|      0|    { // 'try' ':' block !('except' | 'finally')
24989|  2.20k|        if (p->error_indicator) {
  ------------------
  |  Branch (24989:13): [True: 1, False: 2.20k]
  ------------------
24990|      1|            p->level--;
24991|      1|            return NULL;
24992|      1|        }
24993|  2.20k|        D(fprintf(stderr, "%*c> invalid_try_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'try' ':' block !('except' | 'finally')"));
24994|  2.20k|        Token * _keyword;
24995|  2.20k|        Token * _literal;
24996|  2.20k|        asdl_stmt_seq* block_var;
24997|  2.20k|        if (
24998|  2.20k|            (_keyword = _PyPegen_expect_token(p, 674))  // token='try'
  ------------------
  |  Branch (24998:13): [True: 2.20k, False: 0]
  ------------------
24999|  2.20k|            &&
25000|  2.20k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (25000:13): [True: 2.20k, False: 1]
  ------------------
25001|  2.20k|            &&
25002|  2.20k|            (block_var = block_rule(p))  // block
  ------------------
  |  Branch (25002:13): [True: 2.12k, False: 79]
  ------------------
25003|  2.12k|            &&
25004|  2.12k|            _PyPegen_lookahead(0, _tmp_144_rule, p)
  ------------------
  |  Branch (25004:13): [True: 27, False: 2.10k]
  ------------------
25005|  2.20k|        )
25006|     27|        {
25007|     27|            D(fprintf(stderr, "%*c+ invalid_try_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'try' ':' block !('except' | 'finally')"));
25008|     27|            _res = RAISE_SYNTAX_ERROR ( "expected 'except' or 'finally' block" );
  ------------------
  |  |  207|     27|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
25009|     27|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25009:18): [True: 27, False: 0]
  |  Branch (25009:34): [True: 0, False: 0]
  |  Branch (25009:57): [True: 27, False: 0]
  ------------------
25010|     27|                p->error_indicator = 1;
25011|     27|                p->level--;
25012|     27|                return NULL;
25013|     27|            }
25014|      0|            goto done;
25015|     27|        }
25016|  2.18k|        p->mark = _mark;
25017|  2.18k|        D(fprintf(stderr, "%*c%s invalid_try_stmt[%d-%d]: %s failed!\n", p->level, ' ',
25018|  2.18k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'try' ':' block !('except' | 'finally')"));
25019|  2.18k|    }
25020|      0|    { // 'try' ':' block* except_block+ 'except' '*' expression ['as' NAME] ':'
25021|  2.18k|        if (p->error_indicator) {
  ------------------
  |  Branch (25021:13): [True: 24, False: 2.15k]
  ------------------
25022|     24|            p->level--;
25023|     24|            return NULL;
25024|     24|        }
25025|  2.15k|        D(fprintf(stderr, "%*c> invalid_try_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'try' ':' block* except_block+ 'except' '*' expression ['as' NAME] ':'"));
25026|  2.15k|        Token * _keyword;
25027|  2.15k|        Token * _literal;
25028|  2.15k|        Token * _literal_1;
25029|  2.15k|        asdl_seq * _loop0_145_var;
25030|  2.15k|        asdl_seq * _loop1_36_var;
25031|  2.15k|        void *_opt_var;
25032|  2.15k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  2.15k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.15k]
  |  |  ------------------
  ------------------
25033|  2.15k|        Token * a;
25034|  2.15k|        Token * b;
25035|  2.15k|        expr_ty expression_var;
25036|  2.15k|        if (
25037|  2.15k|            (_keyword = _PyPegen_expect_token(p, 674))  // token='try'
  ------------------
  |  Branch (25037:13): [True: 2.15k, False: 0]
  ------------------
25038|  2.15k|            &&
25039|  2.15k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (25039:13): [True: 2.15k, False: 1]
  ------------------
25040|  2.15k|            &&
25041|  2.15k|            (_loop0_145_var = _loop0_145_rule(p))  // block*
  ------------------
  |  Branch (25041:13): [True: 2.15k, False: 0]
  ------------------
25042|  2.15k|            &&
25043|  2.15k|            (_loop1_36_var = _loop1_36_rule(p))  // except_block+
  ------------------
  |  Branch (25043:13): [True: 828, False: 1.32k]
  ------------------
25044|    828|            &&
25045|    828|            (a = _PyPegen_expect_token(p, 695))  // token='except'
  ------------------
  |  Branch (25045:13): [True: 12, False: 816]
  ------------------
25046|     12|            &&
25047|     12|            (b = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (25047:13): [True: 5, False: 7]
  ------------------
25048|      5|            &&
25049|      5|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (25049:13): [True: 3, False: 2]
  ------------------
25050|      3|            &&
25051|      3|            (_opt_var = _tmp_21_rule(p), !p->error_indicator)  // ['as' NAME]
  ------------------
  |  Branch (25051:13): [True: 2, False: 1]
  ------------------
25052|      2|            &&
25053|      2|            (_literal_1 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (25053:13): [True: 1, False: 1]
  ------------------
25054|  2.15k|        )
25055|      1|        {
25056|      1|            D(fprintf(stderr, "%*c+ invalid_try_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'try' ':' block* except_block+ 'except' '*' expression ['as' NAME] ':'"));
25057|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "cannot have both 'except' and 'except*' on the same 'try'" );
  ------------------
  |  |  211|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
25058|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25058:18): [True: 1, False: 0]
  |  Branch (25058:34): [True: 0, False: 0]
  |  Branch (25058:57): [True: 1, False: 0]
  ------------------
25059|      1|                p->error_indicator = 1;
25060|      1|                p->level--;
25061|      1|                return NULL;
25062|      1|            }
25063|      0|            goto done;
25064|      1|        }
25065|  2.15k|        p->mark = _mark;
25066|  2.15k|        D(fprintf(stderr, "%*c%s invalid_try_stmt[%d-%d]: %s failed!\n", p->level, ' ',
25067|  2.15k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'try' ':' block* except_block+ 'except' '*' expression ['as' NAME] ':'"));
25068|  2.15k|    }
25069|      0|    { // 'try' ':' block* except_star_block+ 'except' [expression ['as' NAME]] ':'
25070|  2.15k|        if (p->error_indicator) {
  ------------------
  |  Branch (25070:13): [True: 36, False: 2.12k]
  ------------------
25071|     36|            p->level--;
25072|     36|            return NULL;
25073|     36|        }
25074|  2.12k|        D(fprintf(stderr, "%*c> invalid_try_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'try' ':' block* except_star_block+ 'except' [expression ['as' NAME]] ':'"));
25075|  2.12k|        Token * _keyword;
25076|  2.12k|        Token * _literal;
25077|  2.12k|        Token * _literal_1;
25078|  2.12k|        asdl_seq * _loop0_145_var;
25079|  2.12k|        asdl_seq * _loop1_37_var;
25080|  2.12k|        void *_opt_var;
25081|  2.12k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  2.12k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.12k]
  |  |  ------------------
  ------------------
25082|  2.12k|        Token * a;
25083|  2.12k|        if (
25084|  2.12k|            (_keyword = _PyPegen_expect_token(p, 674))  // token='try'
  ------------------
  |  Branch (25084:13): [True: 2.12k, False: 0]
  ------------------
25085|  2.12k|            &&
25086|  2.12k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (25086:13): [True: 2.11k, False: 1]
  ------------------
25087|  2.11k|            &&
25088|  2.11k|            (_loop0_145_var = _loop0_145_rule(p))  // block*
  ------------------
  |  Branch (25088:13): [True: 2.11k, False: 0]
  ------------------
25089|  2.11k|            &&
25090|  2.11k|            (_loop1_37_var = _loop1_37_rule(p))  // except_star_block+
  ------------------
  |  Branch (25090:13): [True: 862, False: 1.25k]
  ------------------
25091|    862|            &&
25092|    862|            (a = _PyPegen_expect_token(p, 695))  // token='except'
  ------------------
  |  Branch (25092:13): [True: 11, False: 851]
  ------------------
25093|     11|            &&
25094|     11|            (_opt_var = _tmp_146_rule(p), !p->error_indicator)  // [expression ['as' NAME]]
  ------------------
  |  Branch (25094:13): [True: 9, False: 2]
  ------------------
25095|      9|            &&
25096|      9|            (_literal_1 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (25096:13): [True: 1, False: 8]
  ------------------
25097|  2.12k|        )
25098|      1|        {
25099|      1|            D(fprintf(stderr, "%*c+ invalid_try_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'try' ':' block* except_star_block+ 'except' [expression ['as' NAME]] ':'"));
25100|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot have both 'except' and 'except*' on the same 'try'" );
  ------------------
  |  |  213|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
25101|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25101:18): [True: 1, False: 0]
  |  Branch (25101:34): [True: 0, False: 0]
  |  Branch (25101:57): [True: 1, False: 0]
  ------------------
25102|      1|                p->error_indicator = 1;
25103|      1|                p->level--;
25104|      1|                return NULL;
25105|      1|            }
25106|      0|            goto done;
25107|      1|        }
25108|  2.11k|        p->mark = _mark;
25109|  2.11k|        D(fprintf(stderr, "%*c%s invalid_try_stmt[%d-%d]: %s failed!\n", p->level, ' ',
25110|  2.11k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'try' ':' block* except_star_block+ 'except' [expression ['as' NAME]] ':'"));
25111|  2.11k|    }
25112|  2.11k|    _res = NULL;
25113|  2.11k|  done:
25114|  2.11k|    p->level--;
25115|  2.11k|    return _res;
25116|  2.11k|}
parser.c:_tmp_144_rule:
37513|  2.12k|{
37514|  2.12k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.25k|#  define MAXSTACK 6000
  ------------------
  |  Branch (37514:9): [True: 0, False: 2.12k]
  |  Branch (37514:35): [True: 0, False: 2.12k]
  ------------------
37515|      0|        _Pypegen_stack_overflow(p);
37516|      0|    }
37517|  2.12k|    if (p->error_indicator) {
  ------------------
  |  Branch (37517:9): [True: 0, False: 2.12k]
  ------------------
37518|      0|        p->level--;
37519|      0|        return NULL;
37520|      0|    }
37521|  2.12k|    void * _res = NULL;
37522|  2.12k|    int _mark = p->mark;
37523|  2.12k|    { // 'except'
37524|  2.12k|        if (p->error_indicator) {
  ------------------
  |  Branch (37524:13): [True: 0, False: 2.12k]
  ------------------
37525|      0|            p->level--;
37526|      0|            return NULL;
37527|      0|        }
37528|  2.12k|        D(fprintf(stderr, "%*c> _tmp_144[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except'"));
37529|  2.12k|        Token * _keyword;
37530|  2.12k|        if (
37531|  2.12k|            (_keyword = _PyPegen_expect_token(p, 695))  // token='except'
  ------------------
  |  Branch (37531:13): [True: 1.79k, False: 330]
  ------------------
37532|  2.12k|        )
37533|  1.79k|        {
37534|  1.79k|            D(fprintf(stderr, "%*c+ _tmp_144[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except'"));
37535|  1.79k|            _res = _keyword;
37536|  1.79k|            goto done;
37537|  1.79k|        }
37538|    330|        p->mark = _mark;
37539|    330|        D(fprintf(stderr, "%*c%s _tmp_144[%d-%d]: %s failed!\n", p->level, ' ',
37540|    330|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except'"));
37541|    330|    }
37542|      0|    { // 'finally'
37543|    330|        if (p->error_indicator) {
  ------------------
  |  Branch (37543:13): [True: 0, False: 330]
  ------------------
37544|      0|            p->level--;
37545|      0|            return NULL;
37546|      0|        }
37547|    330|        D(fprintf(stderr, "%*c> _tmp_144[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'finally'"));
37548|    330|        Token * _keyword;
37549|    330|        if (
37550|    330|            (_keyword = _PyPegen_expect_token(p, 691))  // token='finally'
  ------------------
  |  Branch (37550:13): [True: 303, False: 27]
  ------------------
37551|    330|        )
37552|    303|        {
37553|    303|            D(fprintf(stderr, "%*c+ _tmp_144[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'finally'"));
37554|    303|            _res = _keyword;
37555|    303|            goto done;
37556|    303|        }
37557|     27|        p->mark = _mark;
37558|     27|        D(fprintf(stderr, "%*c%s _tmp_144[%d-%d]: %s failed!\n", p->level, ' ',
37559|     27|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'finally'"));
37560|     27|    }
37561|     27|    _res = NULL;
37562|  2.12k|  done:
37563|  2.12k|    p->level--;
37564|  2.12k|    return _res;
37565|     27|}
parser.c:_loop0_145_rule:
37570|  4.27k|{
37571|  4.27k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.55k|#  define MAXSTACK 6000
  ------------------
  |  Branch (37571:9): [True: 0, False: 4.27k]
  |  Branch (37571:35): [True: 0, False: 4.27k]
  ------------------
37572|      0|        _Pypegen_stack_overflow(p);
37573|      0|    }
37574|  4.27k|    if (p->error_indicator) {
  ------------------
  |  Branch (37574:9): [True: 0, False: 4.27k]
  ------------------
37575|      0|        p->level--;
37576|      0|        return NULL;
37577|      0|    }
37578|  4.27k|    void *_res = NULL;
37579|  4.27k|    int _mark = p->mark;
37580|  4.27k|    void **_children = PyMem_Malloc(sizeof(void *));
37581|  4.27k|    if (!_children) {
  ------------------
  |  Branch (37581:9): [True: 0, False: 4.27k]
  ------------------
37582|      0|        p->error_indicator = 1;
37583|      0|        PyErr_NoMemory();
37584|      0|        p->level--;
37585|      0|        return NULL;
37586|      0|    }
37587|  4.27k|    Py_ssize_t _children_capacity = 1;
37588|  4.27k|    Py_ssize_t _n = 0;
37589|  4.27k|    { // block
37590|  4.27k|        if (p->error_indicator) {
  ------------------
  |  Branch (37590:13): [True: 0, False: 4.27k]
  ------------------
37591|      0|            p->level--;
37592|      0|            return NULL;
37593|      0|        }
37594|  4.27k|        D(fprintf(stderr, "%*c> _loop0_145[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "block"));
37595|  4.27k|        asdl_stmt_seq* block_var;
37596|  4.27k|        while (
37597|  8.44k|            (block_var = block_rule(p))  // block
  ------------------
  |  Branch (37597:13): [True: 4.17k, False: 4.27k]
  ------------------
37598|  4.27k|        )
37599|  4.17k|        {
37600|  4.17k|            _res = block_var;
37601|  4.17k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (37601:17): [True: 0, False: 4.17k]
  ------------------
37602|      0|                _children_capacity *= 2;
37603|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
37604|      0|                if (!_new_children) {
  ------------------
  |  Branch (37604:21): [True: 0, False: 0]
  ------------------
37605|      0|                    PyMem_Free(_children);
37606|      0|                    p->error_indicator = 1;
37607|      0|                    PyErr_NoMemory();
37608|      0|                    p->level--;
37609|      0|                    return NULL;
37610|      0|                }
37611|      0|                _children = _new_children;
37612|      0|            }
37613|  4.17k|            _children[_n++] = _res;
37614|  4.17k|            _mark = p->mark;
37615|  4.17k|        }
37616|  4.27k|        p->mark = _mark;
37617|  4.27k|        D(fprintf(stderr, "%*c%s _loop0_145[%d-%d]: %s failed!\n", p->level, ' ',
37618|  4.27k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "block"));
37619|  4.27k|    }
37620|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
37621|  4.27k|    if (!_seq) {
  ------------------
  |  Branch (37621:9): [True: 0, False: 4.27k]
  ------------------
37622|      0|        PyMem_Free(_children);
37623|      0|        p->error_indicator = 1;
37624|      0|        PyErr_NoMemory();
37625|      0|        p->level--;
37626|      0|        return NULL;
37627|      0|    }
37628|  8.44k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  4.17k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  8.44k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (37628:28): [True: 4.17k, False: 4.27k]
  ------------------
37629|  4.27k|    PyMem_Free(_children);
37630|  4.27k|    p->level--;
37631|  4.27k|    return _seq;
37632|  4.27k|}
parser.c:_tmp_146_rule:
37637|     11|{
37638|     11|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     22|#  define MAXSTACK 6000
  ------------------
  |  Branch (37638:9): [True: 0, False: 11]
  |  Branch (37638:35): [True: 0, False: 11]
  ------------------
37639|      0|        _Pypegen_stack_overflow(p);
37640|      0|    }
37641|     11|    if (p->error_indicator) {
  ------------------
  |  Branch (37641:9): [True: 0, False: 11]
  ------------------
37642|      0|        p->level--;
37643|      0|        return NULL;
37644|      0|    }
37645|     11|    void * _res = NULL;
37646|     11|    int _mark = p->mark;
37647|     11|    { // expression ['as' NAME]
37648|     11|        if (p->error_indicator) {
  ------------------
  |  Branch (37648:13): [True: 0, False: 11]
  ------------------
37649|      0|            p->level--;
37650|      0|            return NULL;
37651|      0|        }
37652|     11|        D(fprintf(stderr, "%*c> _tmp_146[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ['as' NAME]"));
37653|     11|        void *_opt_var;
37654|     11|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|     11|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 11]
  |  |  ------------------
  ------------------
37655|     11|        expr_ty expression_var;
37656|     11|        if (
37657|     11|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (37657:13): [True: 2, False: 9]
  ------------------
37658|      2|            &&
37659|      2|            (_opt_var = _tmp_21_rule(p), !p->error_indicator)  // ['as' NAME]
  ------------------
  |  Branch (37659:13): [True: 1, False: 1]
  ------------------
37660|     11|        )
37661|      1|        {
37662|      1|            D(fprintf(stderr, "%*c+ _tmp_146[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ['as' NAME]"));
37663|      1|            _res = _PyPegen_dummy_name(p, expression_var, _opt_var);
37664|      1|            goto done;
37665|      1|        }
37666|     10|        p->mark = _mark;
37667|     10|        D(fprintf(stderr, "%*c%s _tmp_146[%d-%d]: %s failed!\n", p->level, ' ',
37668|     10|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ['as' NAME]"));
37669|     10|    }
37670|     10|    _res = NULL;
37671|     11|  done:
37672|     11|    p->level--;
37673|     11|    return _res;
37674|     10|}
parser.c:finally_block_rule:
 7720|  16.2k|{
 7721|  16.2k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  32.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (7721:9): [True: 0, False: 16.2k]
  |  Branch (7721:35): [True: 0, False: 16.2k]
  ------------------
 7722|      0|        _Pypegen_stack_overflow(p);
 7723|      0|    }
 7724|  16.2k|    if (p->error_indicator) {
  ------------------
  |  Branch (7724:9): [True: 0, False: 16.2k]
  ------------------
 7725|      0|        p->level--;
 7726|      0|        return NULL;
 7727|      0|    }
 7728|  16.2k|    asdl_stmt_seq* _res = NULL;
 7729|  16.2k|    int _mark = p->mark;
 7730|  16.2k|    if (p->call_invalid_rules) { // invalid_finally_stmt
  ------------------
  |  Branch (7730:9): [True: 3.71k, False: 12.5k]
  ------------------
 7731|  3.71k|        if (p->error_indicator) {
  ------------------
  |  Branch (7731:13): [True: 0, False: 3.71k]
  ------------------
 7732|      0|            p->level--;
 7733|      0|            return NULL;
 7734|      0|        }
 7735|  3.71k|        D(fprintf(stderr, "%*c> finally_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_finally_stmt"));
 7736|  3.71k|        void *invalid_finally_stmt_var;
 7737|  3.71k|        if (
 7738|  3.71k|            (invalid_finally_stmt_var = invalid_finally_stmt_rule(p))  // invalid_finally_stmt
  ------------------
  |  Branch (7738:13): [True: 0, False: 3.71k]
  ------------------
 7739|  3.71k|        )
 7740|      0|        {
 7741|      0|            D(fprintf(stderr, "%*c+ finally_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_finally_stmt"));
 7742|      0|            _res = invalid_finally_stmt_var;
 7743|      0|            goto done;
 7744|      0|        }
 7745|  3.71k|        p->mark = _mark;
 7746|  3.71k|        D(fprintf(stderr, "%*c%s finally_block[%d-%d]: %s failed!\n", p->level, ' ',
 7747|  3.71k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_finally_stmt"));
 7748|  3.71k|    }
 7749|  16.2k|    { // 'finally' &&':' block
 7750|  16.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (7750:13): [True: 2, False: 16.2k]
  ------------------
 7751|      2|            p->level--;
 7752|      2|            return NULL;
 7753|      2|        }
 7754|  16.2k|        D(fprintf(stderr, "%*c> finally_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'finally' &&':' block"));
 7755|  16.2k|        Token * _keyword;
 7756|  16.2k|        Token * _literal;
 7757|  16.2k|        asdl_stmt_seq* a;
 7758|  16.2k|        if (
 7759|  16.2k|            (_keyword = _PyPegen_expect_token(p, 691))  // token='finally'
  ------------------
  |  Branch (7759:13): [True: 3.51k, False: 12.7k]
  ------------------
 7760|  3.51k|            &&
 7761|  3.51k|            (_literal = _PyPegen_expect_forced_token(p, 11, ":"))  // forced_token=':'
  ------------------
  |  Branch (7761:13): [True: 3.51k, False: 3]
  ------------------
 7762|  3.51k|            &&
 7763|  3.51k|            (a = block_rule(p))  // block
  ------------------
  |  Branch (7763:13): [True: 3.40k, False: 112]
  ------------------
 7764|  16.2k|        )
 7765|  3.40k|        {
 7766|  3.40k|            D(fprintf(stderr, "%*c+ finally_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'finally' &&':' block"));
 7767|  3.40k|            _res = a;
 7768|  3.40k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7768:18): [True: 0, False: 3.40k]
  |  Branch (7768:34): [True: 0, False: 3.40k]
  |  Branch (7768:57): [True: 0, False: 0]
  ------------------
 7769|      0|                p->error_indicator = 1;
 7770|      0|                p->level--;
 7771|      0|                return NULL;
 7772|      0|            }
 7773|  3.40k|            goto done;
 7774|  3.40k|        }
 7775|  12.8k|        p->mark = _mark;
 7776|  12.8k|        D(fprintf(stderr, "%*c%s finally_block[%d-%d]: %s failed!\n", p->level, ' ',
 7777|  12.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'finally' &&':' block"));
 7778|  12.8k|    }
 7779|  12.8k|    _res = NULL;
 7780|  16.2k|  done:
 7781|  16.2k|    p->level--;
 7782|  16.2k|    return _res;
 7783|  12.8k|}
parser.c:invalid_finally_stmt_rule:
25463|  3.71k|{
25464|  3.71k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  7.43k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25464:9): [True: 0, False: 3.71k]
  |  Branch (25464:35): [True: 0, False: 3.71k]
  ------------------
25465|      0|        _Pypegen_stack_overflow(p);
25466|      0|    }
25467|  3.71k|    if (p->error_indicator) {
  ------------------
  |  Branch (25467:9): [True: 0, False: 3.71k]
  ------------------
25468|      0|        p->level--;
25469|      0|        return NULL;
25470|      0|    }
25471|  3.71k|    void * _res = NULL;
25472|  3.71k|    int _mark = p->mark;
25473|  3.71k|    { // 'finally' ':' NEWLINE !INDENT
25474|  3.71k|        if (p->error_indicator) {
  ------------------
  |  Branch (25474:13): [True: 0, False: 3.71k]
  ------------------
25475|      0|            p->level--;
25476|      0|            return NULL;
25477|      0|        }
25478|  3.71k|        D(fprintf(stderr, "%*c> invalid_finally_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'finally' ':' NEWLINE !INDENT"));
25479|  3.71k|        Token * _literal;
25480|  3.71k|        Token * a;
25481|  3.71k|        Token * newline_var;
25482|  3.71k|        if (
25483|  3.71k|            (a = _PyPegen_expect_token(p, 691))  // token='finally'
  ------------------
  |  Branch (25483:13): [True: 560, False: 3.15k]
  ------------------
25484|    560|            &&
25485|    560|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (25485:13): [True: 560, False: 0]
  ------------------
25486|    560|            &&
25487|    560|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    560|#define NEWLINE         4
  ------------------
  |  Branch (25487:13): [True: 294, False: 266]
  ------------------
25488|    294|            &&
25489|    294|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|    294|#define INDENT          5
  ------------------
  |  Branch (25489:13): [True: 2, False: 292]
  ------------------
25490|  3.71k|        )
25491|      2|        {
25492|      2|            D(fprintf(stderr, "%*c+ invalid_finally_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'finally' ':' NEWLINE !INDENT"));
25493|      2|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'finally' statement on line %d" , a -> lineno );
  ------------------
  |  |  208|      2|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
25494|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25494:18): [True: 2, False: 0]
  |  Branch (25494:34): [True: 0, False: 0]
  |  Branch (25494:57): [True: 2, False: 0]
  ------------------
25495|      2|                p->error_indicator = 1;
25496|      2|                p->level--;
25497|      2|                return NULL;
25498|      2|            }
25499|      0|            goto done;
25500|      2|        }
25501|  3.71k|        p->mark = _mark;
25502|  3.71k|        D(fprintf(stderr, "%*c%s invalid_finally_stmt[%d-%d]: %s failed!\n", p->level, ' ',
25503|  3.71k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'finally' ':' NEWLINE !INDENT"));
25504|  3.71k|    }
25505|  3.71k|    _res = NULL;
25506|  3.71k|  done:
25507|  3.71k|    p->level--;
25508|  3.71k|    return _res;
25509|  3.71k|}
parser.c:_loop1_36_rule:
30817|  9.45k|{
30818|  9.45k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  18.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (30818:9): [True: 0, False: 9.45k]
  |  Branch (30818:35): [True: 0, False: 9.45k]
  ------------------
30819|      0|        _Pypegen_stack_overflow(p);
30820|      0|    }
30821|  9.45k|    if (p->error_indicator) {
  ------------------
  |  Branch (30821:9): [True: 0, False: 9.45k]
  ------------------
30822|      0|        p->level--;
30823|      0|        return NULL;
30824|      0|    }
30825|  9.45k|    void *_res = NULL;
30826|  9.45k|    int _mark = p->mark;
30827|  9.45k|    void **_children = PyMem_Malloc(sizeof(void *));
30828|  9.45k|    if (!_children) {
  ------------------
  |  Branch (30828:9): [True: 0, False: 9.45k]
  ------------------
30829|      0|        p->error_indicator = 1;
30830|      0|        PyErr_NoMemory();
30831|      0|        p->level--;
30832|      0|        return NULL;
30833|      0|    }
30834|  9.45k|    Py_ssize_t _children_capacity = 1;
30835|  9.45k|    Py_ssize_t _n = 0;
30836|  9.45k|    { // except_block
30837|  9.45k|        if (p->error_indicator) {
  ------------------
  |  Branch (30837:13): [True: 0, False: 9.45k]
  ------------------
30838|      0|            p->level--;
30839|      0|            return NULL;
30840|      0|        }
30841|  9.45k|        D(fprintf(stderr, "%*c> _loop1_36[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "except_block"));
30842|  9.45k|        excepthandler_ty except_block_var;
30843|  9.45k|        while (
30844|  15.0k|            (except_block_var = except_block_rule(p))  // except_block
  ------------------
  |  Branch (30844:13): [True: 5.64k, False: 9.45k]
  ------------------
30845|  9.45k|        )
30846|  5.64k|        {
30847|  5.64k|            _res = except_block_var;
30848|  5.64k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30848:17): [True: 771, False: 4.86k]
  ------------------
30849|    771|                _children_capacity *= 2;
30850|    771|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30851|    771|                if (!_new_children) {
  ------------------
  |  Branch (30851:21): [True: 0, False: 771]
  ------------------
30852|      0|                    PyMem_Free(_children);
30853|      0|                    p->error_indicator = 1;
30854|      0|                    PyErr_NoMemory();
30855|      0|                    p->level--;
30856|      0|                    return NULL;
30857|      0|                }
30858|    771|                _children = _new_children;
30859|    771|            }
30860|  5.64k|            _children[_n++] = _res;
30861|  5.64k|            _mark = p->mark;
30862|  5.64k|        }
30863|  9.45k|        p->mark = _mark;
30864|  9.45k|        D(fprintf(stderr, "%*c%s _loop1_36[%d-%d]: %s failed!\n", p->level, ' ',
30865|  9.45k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "except_block"));
30866|  9.45k|    }
30867|  9.45k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (30867:9): [True: 5.13k, False: 4.31k]
  |  Branch (30867:20): [True: 8, False: 4.31k]
  ------------------
30868|  5.14k|        PyMem_Free(_children);
30869|  5.14k|        p->level--;
30870|  5.14k|        return NULL;
30871|  5.14k|    }
30872|  4.31k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30873|  4.31k|    if (!_seq) {
  ------------------
  |  Branch (30873:9): [True: 0, False: 4.31k]
  ------------------
30874|      0|        PyMem_Free(_children);
30875|      0|        p->error_indicator = 1;
30876|      0|        PyErr_NoMemory();
30877|      0|        p->level--;
30878|      0|        return NULL;
30879|      0|    }
30880|  9.93k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  5.62k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  9.93k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30880:28): [True: 5.62k, False: 4.31k]
  ------------------
30881|  4.31k|    PyMem_Free(_children);
30882|  4.31k|    p->level--;
30883|  4.31k|    return _seq;
30884|  4.31k|}
parser.c:except_block_rule:
 7271|  15.0k|{
 7272|  15.0k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  30.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (7272:9): [True: 0, False: 15.0k]
  |  Branch (7272:35): [True: 0, False: 15.0k]
  ------------------
 7273|      0|        _Pypegen_stack_overflow(p);
 7274|      0|    }
 7275|  15.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (7275:9): [True: 0, False: 15.0k]
  ------------------
 7276|      0|        p->level--;
 7277|      0|        return NULL;
 7278|      0|    }
 7279|  15.0k|    excepthandler_ty _res = NULL;
 7280|  15.0k|    int _mark = p->mark;
 7281|  15.0k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (7281:9): [True: 3.49k, False: 11.6k]
  |  Branch (7281:31): [True: 1, False: 3.49k]
  ------------------
 7282|      1|        p->error_indicator = 1;
 7283|      1|        p->level--;
 7284|      1|        return NULL;
 7285|      1|    }
 7286|  15.0k|    int _start_lineno = p->tokens[_mark]->lineno;
 7287|  15.0k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  15.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 15.0k]
  |  |  ------------------
  ------------------
 7288|  15.0k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 7289|  15.0k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  15.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 15.0k]
  |  |  ------------------
  ------------------
 7290|  15.0k|    if (p->call_invalid_rules) { // invalid_except_stmt_indent
  ------------------
  |  Branch (7290:9): [True: 6.06k, False: 9.03k]
  ------------------
 7291|  6.06k|        if (p->error_indicator) {
  ------------------
  |  Branch (7291:13): [True: 0, False: 6.06k]
  ------------------
 7292|      0|            p->level--;
 7293|      0|            return NULL;
 7294|      0|        }
 7295|  6.06k|        D(fprintf(stderr, "%*c> except_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_except_stmt_indent"));
 7296|  6.06k|        void *invalid_except_stmt_indent_var;
 7297|  6.06k|        if (
 7298|  6.06k|            (invalid_except_stmt_indent_var = invalid_except_stmt_indent_rule(p))  // invalid_except_stmt_indent
  ------------------
  |  Branch (7298:13): [True: 0, False: 6.06k]
  ------------------
 7299|  6.06k|        )
 7300|      0|        {
 7301|      0|            D(fprintf(stderr, "%*c+ except_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_except_stmt_indent"));
 7302|      0|            _res = invalid_except_stmt_indent_var;
 7303|      0|            goto done;
 7304|      0|        }
 7305|  6.06k|        p->mark = _mark;
 7306|  6.06k|        D(fprintf(stderr, "%*c%s except_block[%d-%d]: %s failed!\n", p->level, ' ',
 7307|  6.06k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_except_stmt_indent"));
 7308|  6.06k|    }
 7309|  15.0k|    { // 'except' expression ':' block
 7310|  15.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (7310:13): [True: 7, False: 15.0k]
  ------------------
 7311|      7|            p->level--;
 7312|      7|            return NULL;
 7313|      7|        }
 7314|  15.0k|        D(fprintf(stderr, "%*c> except_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' expression ':' block"));
 7315|  15.0k|        Token * _keyword;
 7316|  15.0k|        Token * _literal;
 7317|  15.0k|        asdl_stmt_seq* b;
 7318|  15.0k|        expr_ty e;
 7319|  15.0k|        if (
 7320|  15.0k|            (_keyword = _PyPegen_expect_token(p, 695))  // token='except'
  ------------------
  |  Branch (7320:13): [True: 10.3k, False: 4.70k]
  ------------------
 7321|  10.3k|            &&
 7322|  10.3k|            (e = expression_rule(p))  // expression
  ------------------
  |  Branch (7322:13): [True: 2.51k, False: 7.87k]
  ------------------
 7323|  2.51k|            &&
 7324|  2.51k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7324:13): [True: 2.19k, False: 318]
  ------------------
 7325|  2.19k|            &&
 7326|  2.19k|            (b = block_rule(p))  // block
  ------------------
  |  Branch (7326:13): [True: 2.16k, False: 31]
  ------------------
 7327|  15.0k|        )
 7328|  2.16k|        {
 7329|  2.16k|            D(fprintf(stderr, "%*c+ except_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' expression ':' block"));
 7330|  2.16k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7331|  2.16k|            if (_token == NULL) {
  ------------------
  |  Branch (7331:17): [True: 0, False: 2.16k]
  ------------------
 7332|      0|                p->level--;
 7333|      0|                return NULL;
 7334|      0|            }
 7335|  2.16k|            int _end_lineno = _token->end_lineno;
 7336|  2.16k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.16k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.16k]
  |  |  ------------------
  ------------------
 7337|  2.16k|            int _end_col_offset = _token->end_col_offset;
 7338|  2.16k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.16k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.16k]
  |  |  ------------------
  ------------------
 7339|  2.16k|            _res = _PyAST_ExceptHandler ( e , NULL , b , EXTRA );
  ------------------
  |  |  281|  2.16k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 7340|  2.16k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7340:18): [True: 0, False: 2.16k]
  |  Branch (7340:34): [True: 0, False: 2.16k]
  |  Branch (7340:57): [True: 0, False: 0]
  ------------------
 7341|      0|                p->error_indicator = 1;
 7342|      0|                p->level--;
 7343|      0|                return NULL;
 7344|      0|            }
 7345|  2.16k|            goto done;
 7346|  2.16k|        }
 7347|  12.9k|        p->mark = _mark;
 7348|  12.9k|        D(fprintf(stderr, "%*c%s except_block[%d-%d]: %s failed!\n", p->level, ' ',
 7349|  12.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' expression ':' block"));
 7350|  12.9k|    }
 7351|      0|    { // 'except' expression 'as' NAME ':' block
 7352|  12.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (7352:13): [True: 3, False: 12.9k]
  ------------------
 7353|      3|            p->level--;
 7354|      3|            return NULL;
 7355|      3|        }
 7356|  12.9k|        D(fprintf(stderr, "%*c> except_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' expression 'as' NAME ':' block"));
 7357|  12.9k|        Token * _keyword;
 7358|  12.9k|        Token * _keyword_1;
 7359|  12.9k|        Token * _literal;
 7360|  12.9k|        asdl_stmt_seq* b;
 7361|  12.9k|        expr_ty e;
 7362|  12.9k|        expr_ty t;
 7363|  12.9k|        if (
 7364|  12.9k|            (_keyword = _PyPegen_expect_token(p, 695))  // token='except'
  ------------------
  |  Branch (7364:13): [True: 8.21k, False: 4.70k]
  ------------------
 7365|  8.21k|            &&
 7366|  8.21k|            (e = expression_rule(p))  // expression
  ------------------
  |  Branch (7366:13): [True: 347, False: 7.86k]
  ------------------
 7367|    347|            &&
 7368|    347|            (_keyword_1 = _PyPegen_expect_token(p, 698))  // token='as'
  ------------------
  |  Branch (7368:13): [True: 232, False: 115]
  ------------------
 7369|    232|            &&
 7370|    232|            (t = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (7370:13): [True: 226, False: 6]
  ------------------
 7371|    226|            &&
 7372|    226|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7372:13): [True: 211, False: 15]
  ------------------
 7373|    211|            &&
 7374|    211|            (b = block_rule(p))  // block
  ------------------
  |  Branch (7374:13): [True: 203, False: 8]
  ------------------
 7375|  12.9k|        )
 7376|    203|        {
 7377|    203|            D(fprintf(stderr, "%*c+ except_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' expression 'as' NAME ':' block"));
 7378|    203|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7379|    203|            if (_token == NULL) {
  ------------------
  |  Branch (7379:17): [True: 0, False: 203]
  ------------------
 7380|      0|                p->level--;
 7381|      0|                return NULL;
 7382|      0|            }
 7383|    203|            int _end_lineno = _token->end_lineno;
 7384|    203|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    203|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 203]
  |  |  ------------------
  ------------------
 7385|    203|            int _end_col_offset = _token->end_col_offset;
 7386|    203|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    203|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 203]
  |  |  ------------------
  ------------------
 7387|    203|            _res = _PyAST_ExceptHandler ( e , ( ( expr_ty ) t ) -> v . Name . id , b , EXTRA );
  ------------------
  |  |  281|    203|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 7388|    203|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7388:18): [True: 0, False: 203]
  |  Branch (7388:34): [True: 0, False: 203]
  |  Branch (7388:57): [True: 0, False: 0]
  ------------------
 7389|      0|                p->error_indicator = 1;
 7390|      0|                p->level--;
 7391|      0|                return NULL;
 7392|      0|            }
 7393|    203|            goto done;
 7394|    203|        }
 7395|  12.7k|        p->mark = _mark;
 7396|  12.7k|        D(fprintf(stderr, "%*c%s except_block[%d-%d]: %s failed!\n", p->level, ' ',
 7397|  12.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' expression 'as' NAME ':' block"));
 7398|  12.7k|    }
 7399|      0|    { // 'except' expressions ':' block
 7400|  12.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (7400:13): [True: 3, False: 12.7k]
  ------------------
 7401|      3|            p->level--;
 7402|      3|            return NULL;
 7403|      3|        }
 7404|  12.7k|        D(fprintf(stderr, "%*c> except_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' expressions ':' block"));
 7405|  12.7k|        Token * _keyword;
 7406|  12.7k|        Token * _literal;
 7407|  12.7k|        asdl_stmt_seq* b;
 7408|  12.7k|        expr_ty e;
 7409|  12.7k|        if (
 7410|  12.7k|            (_keyword = _PyPegen_expect_token(p, 695))  // token='except'
  ------------------
  |  Branch (7410:13): [True: 8.01k, False: 4.70k]
  ------------------
 7411|  8.01k|            &&
 7412|  8.01k|            (e = expressions_rule(p))  // expressions
  ------------------
  |  Branch (7412:13): [True: 140, False: 7.87k]
  ------------------
 7413|    140|            &&
 7414|    140|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7414:13): [True: 80, False: 60]
  ------------------
 7415|     80|            &&
 7416|     80|            (b = block_rule(p))  // block
  ------------------
  |  Branch (7416:13): [True: 47, False: 33]
  ------------------
 7417|  12.7k|        )
 7418|     47|        {
 7419|     47|            D(fprintf(stderr, "%*c+ except_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' expressions ':' block"));
 7420|     47|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7421|     47|            if (_token == NULL) {
  ------------------
  |  Branch (7421:17): [True: 0, False: 47]
  ------------------
 7422|      0|                p->level--;
 7423|      0|                return NULL;
 7424|      0|            }
 7425|     47|            int _end_lineno = _token->end_lineno;
 7426|     47|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|     47|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 47]
  |  |  ------------------
  ------------------
 7427|     47|            int _end_col_offset = _token->end_col_offset;
 7428|     47|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|     47|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 47]
  |  |  ------------------
  ------------------
 7429|     47|            _res = CHECK_VERSION ( excepthandler_ty , 14 , "except expressions without parentheses are" , _PyAST_ExceptHandler ( e , NULL , b , EXTRA ) );
  ------------------
  |  |  319|     47|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 7430|     47|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7430:18): [True: 0, False: 47]
  |  Branch (7430:34): [True: 0, False: 47]
  |  Branch (7430:57): [True: 0, False: 0]
  ------------------
 7431|      0|                p->error_indicator = 1;
 7432|      0|                p->level--;
 7433|      0|                return NULL;
 7434|      0|            }
 7435|     47|            goto done;
 7436|     47|        }
 7437|  12.6k|        p->mark = _mark;
 7438|  12.6k|        D(fprintf(stderr, "%*c%s except_block[%d-%d]: %s failed!\n", p->level, ' ',
 7439|  12.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' expressions ':' block"));
 7440|  12.6k|    }
 7441|      0|    { // 'except' ':' block
 7442|  12.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (7442:13): [True: 3, False: 12.6k]
  ------------------
 7443|      3|            p->level--;
 7444|      3|            return NULL;
 7445|      3|        }
 7446|  12.6k|        D(fprintf(stderr, "%*c> except_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' ':' block"));
 7447|  12.6k|        Token * _keyword;
 7448|  12.6k|        Token * _literal;
 7449|  12.6k|        asdl_stmt_seq* b;
 7450|  12.6k|        if (
 7451|  12.6k|            (_keyword = _PyPegen_expect_token(p, 695))  // token='except'
  ------------------
  |  Branch (7451:13): [True: 7.96k, False: 4.70k]
  ------------------
 7452|  7.96k|            &&
 7453|  7.96k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7453:13): [True: 3.25k, False: 4.70k]
  ------------------
 7454|  3.25k|            &&
 7455|  3.25k|            (b = block_rule(p))  // block
  ------------------
  |  Branch (7455:13): [True: 3.22k, False: 35]
  ------------------
 7456|  12.6k|        )
 7457|  3.22k|        {
 7458|  3.22k|            D(fprintf(stderr, "%*c+ except_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' ':' block"));
 7459|  3.22k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7460|  3.22k|            if (_token == NULL) {
  ------------------
  |  Branch (7460:17): [True: 0, False: 3.22k]
  ------------------
 7461|      0|                p->level--;
 7462|      0|                return NULL;
 7463|      0|            }
 7464|  3.22k|            int _end_lineno = _token->end_lineno;
 7465|  3.22k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.22k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.22k]
  |  |  ------------------
  ------------------
 7466|  3.22k|            int _end_col_offset = _token->end_col_offset;
 7467|  3.22k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.22k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.22k]
  |  |  ------------------
  ------------------
 7468|  3.22k|            _res = _PyAST_ExceptHandler ( NULL , NULL , b , EXTRA );
  ------------------
  |  |  281|  3.22k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 7469|  3.22k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7469:18): [True: 0, False: 3.22k]
  |  Branch (7469:34): [True: 0, False: 3.22k]
  |  Branch (7469:57): [True: 0, False: 0]
  ------------------
 7470|      0|                p->error_indicator = 1;
 7471|      0|                p->level--;
 7472|      0|                return NULL;
 7473|      0|            }
 7474|  3.22k|            goto done;
 7475|  3.22k|        }
 7476|  9.43k|        p->mark = _mark;
 7477|  9.43k|        D(fprintf(stderr, "%*c%s except_block[%d-%d]: %s failed!\n", p->level, ' ',
 7478|  9.43k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' ':' block"));
 7479|  9.43k|    }
 7480|  9.43k|    if (p->call_invalid_rules) { // invalid_except_stmt
  ------------------
  |  Branch (7480:9): [True: 3.90k, False: 5.53k]
  ------------------
 7481|  3.90k|        if (p->error_indicator) {
  ------------------
  |  Branch (7481:13): [True: 6, False: 3.90k]
  ------------------
 7482|      6|            p->level--;
 7483|      6|            return NULL;
 7484|      6|        }
 7485|  3.90k|        D(fprintf(stderr, "%*c> except_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_except_stmt"));
 7486|  3.90k|        void *invalid_except_stmt_var;
 7487|  3.90k|        if (
 7488|  3.90k|            (invalid_except_stmt_var = invalid_except_stmt_rule(p))  // invalid_except_stmt
  ------------------
  |  Branch (7488:13): [True: 0, False: 3.90k]
  ------------------
 7489|  3.90k|        )
 7490|      0|        {
 7491|      0|            D(fprintf(stderr, "%*c+ except_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_except_stmt"));
 7492|      0|            _res = invalid_except_stmt_var;
 7493|      0|            goto done;
 7494|      0|        }
 7495|  3.90k|        p->mark = _mark;
 7496|  3.90k|        D(fprintf(stderr, "%*c%s except_block[%d-%d]: %s failed!\n", p->level, ' ',
 7497|  3.90k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_except_stmt"));
 7498|  3.90k|    }
 7499|  9.43k|    _res = NULL;
 7500|  15.0k|  done:
 7501|  15.0k|    p->level--;
 7502|  15.0k|    return _res;
 7503|  9.43k|}
parser.c:invalid_except_stmt_indent_rule:
25516|  6.06k|{
25517|  6.06k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  12.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25517:9): [True: 0, False: 6.06k]
  |  Branch (25517:35): [True: 0, False: 6.06k]
  ------------------
25518|      0|        _Pypegen_stack_overflow(p);
25519|      0|    }
25520|  6.06k|    if (p->error_indicator) {
  ------------------
  |  Branch (25520:9): [True: 0, False: 6.06k]
  ------------------
25521|      0|        p->level--;
25522|      0|        return NULL;
25523|      0|    }
25524|  6.06k|    void * _res = NULL;
25525|  6.06k|    int _mark = p->mark;
25526|  6.06k|    { // 'except' expression ['as' NAME] ':' NEWLINE !INDENT
25527|  6.06k|        if (p->error_indicator) {
  ------------------
  |  Branch (25527:13): [True: 0, False: 6.06k]
  ------------------
25528|      0|            p->level--;
25529|      0|            return NULL;
25530|      0|        }
25531|  6.06k|        D(fprintf(stderr, "%*c> invalid_except_stmt_indent[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' expression ['as' NAME] ':' NEWLINE !INDENT"));
25532|  6.06k|        Token * _literal;
25533|  6.06k|        void *_opt_var;
25534|  6.06k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  6.06k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 6.06k]
  |  |  ------------------
  ------------------
25535|  6.06k|        Token * a;
25536|  6.06k|        expr_ty expression_var;
25537|  6.06k|        Token * newline_var;
25538|  6.06k|        if (
25539|  6.06k|            (a = _PyPegen_expect_token(p, 695))  // token='except'
  ------------------
  |  Branch (25539:13): [True: 4.07k, False: 1.99k]
  ------------------
25540|  4.07k|            &&
25541|  4.07k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (25541:13): [True: 1.10k, False: 2.96k]
  ------------------
25542|  1.10k|            &&
25543|  1.10k|            (_opt_var = _tmp_21_rule(p), !p->error_indicator)  // ['as' NAME]
  ------------------
  |  Branch (25543:13): [True: 1.10k, False: 1]
  ------------------
25544|  1.10k|            &&
25545|  1.10k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (25545:13): [True: 1.03k, False: 68]
  ------------------
25546|  1.03k|            &&
25547|  1.03k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  1.03k|#define NEWLINE         4
  ------------------
  |  Branch (25547:13): [True: 510, False: 523]
  ------------------
25548|    510|            &&
25549|    510|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|    510|#define INDENT          5
  ------------------
  |  Branch (25549:13): [True: 3, False: 507]
  ------------------
25550|  6.06k|        )
25551|      3|        {
25552|      3|            D(fprintf(stderr, "%*c+ invalid_except_stmt_indent[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' expression ['as' NAME] ':' NEWLINE !INDENT"));
25553|      3|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'except' statement on line %d" , a -> lineno );
  ------------------
  |  |  208|      3|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
25554|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25554:18): [True: 3, False: 0]
  |  Branch (25554:34): [True: 0, False: 0]
  |  Branch (25554:57): [True: 3, False: 0]
  ------------------
25555|      3|                p->error_indicator = 1;
25556|      3|                p->level--;
25557|      3|                return NULL;
25558|      3|            }
25559|      0|            goto done;
25560|      3|        }
25561|  6.06k|        p->mark = _mark;
25562|  6.06k|        D(fprintf(stderr, "%*c%s invalid_except_stmt_indent[%d-%d]: %s failed!\n", p->level, ' ',
25563|  6.06k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' expression ['as' NAME] ':' NEWLINE !INDENT"));
25564|  6.06k|    }
25565|      0|    { // 'except' ':' NEWLINE !INDENT
25566|  6.06k|        if (p->error_indicator) {
  ------------------
  |  Branch (25566:13): [True: 2, False: 6.05k]
  ------------------
25567|      2|            p->level--;
25568|      2|            return NULL;
25569|      2|        }
25570|  6.05k|        D(fprintf(stderr, "%*c> invalid_except_stmt_indent[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' ':' NEWLINE !INDENT"));
25571|  6.05k|        Token * _literal;
25572|  6.05k|        Token * a;
25573|  6.05k|        Token * newline_var;
25574|  6.05k|        if (
25575|  6.05k|            (a = _PyPegen_expect_token(p, 695))  // token='except'
  ------------------
  |  Branch (25575:13): [True: 4.06k, False: 1.99k]
  ------------------
25576|  4.06k|            &&
25577|  4.06k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (25577:13): [True: 1.13k, False: 2.93k]
  ------------------
25578|  1.13k|            &&
25579|  1.13k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  1.13k|#define NEWLINE         4
  ------------------
  |  Branch (25579:13): [True: 694, False: 440]
  ------------------
25580|    694|            &&
25581|    694|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|    694|#define INDENT          5
  ------------------
  |  Branch (25581:13): [True: 2, False: 692]
  ------------------
25582|  6.05k|        )
25583|      2|        {
25584|      2|            D(fprintf(stderr, "%*c+ invalid_except_stmt_indent[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' ':' NEWLINE !INDENT"));
25585|      2|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'except' statement on line %d" , a -> lineno );
  ------------------
  |  |  208|      2|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
25586|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25586:18): [True: 2, False: 0]
  |  Branch (25586:34): [True: 0, False: 0]
  |  Branch (25586:57): [True: 2, False: 0]
  ------------------
25587|      2|                p->error_indicator = 1;
25588|      2|                p->level--;
25589|      2|                return NULL;
25590|      2|            }
25591|      0|            goto done;
25592|      2|        }
25593|  6.05k|        p->mark = _mark;
25594|  6.05k|        D(fprintf(stderr, "%*c%s invalid_except_stmt_indent[%d-%d]: %s failed!\n", p->level, ' ',
25595|  6.05k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' ':' NEWLINE !INDENT"));
25596|  6.05k|    }
25597|  6.05k|    _res = NULL;
25598|  6.05k|  done:
25599|  6.05k|    p->level--;
25600|  6.05k|    return _res;
25601|  6.05k|}
parser.c:invalid_except_stmt_rule:
25125|  3.90k|{
25126|  3.90k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  7.80k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25126:9): [True: 0, False: 3.90k]
  |  Branch (25126:35): [True: 0, False: 3.90k]
  ------------------
25127|      0|        _Pypegen_stack_overflow(p);
25128|      0|    }
25129|  3.90k|    if (p->error_indicator) {
  ------------------
  |  Branch (25129:9): [True: 0, False: 3.90k]
  ------------------
25130|      0|        p->level--;
25131|      0|        return NULL;
25132|      0|    }
25133|  3.90k|    void * _res = NULL;
25134|  3.90k|    int _mark = p->mark;
25135|  3.90k|    { // 'except' expression ',' expressions 'as' NAME ':'
25136|  3.90k|        if (p->error_indicator) {
  ------------------
  |  Branch (25136:13): [True: 0, False: 3.90k]
  ------------------
25137|      0|            p->level--;
25138|      0|            return NULL;
25139|      0|        }
25140|  3.90k|        D(fprintf(stderr, "%*c> invalid_except_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' expression ',' expressions 'as' NAME ':'"));
25141|  3.90k|        Token * _keyword;
25142|  3.90k|        Token * _keyword_1;
25143|  3.90k|        Token * _literal;
25144|  3.90k|        Token * _literal_1;
25145|  3.90k|        expr_ty a;
25146|  3.90k|        expr_ty expressions_var;
25147|  3.90k|        expr_ty name_var;
25148|  3.90k|        if (
25149|  3.90k|            (_keyword = _PyPegen_expect_token(p, 695))  // token='except'
  ------------------
  |  Branch (25149:13): [True: 1.90k, False: 1.99k]
  ------------------
25150|  1.90k|            &&
25151|  1.90k|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (25151:13): [True: 54, False: 1.85k]
  ------------------
25152|     54|            &&
25153|     54|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (25153:13): [True: 16, False: 38]
  ------------------
25154|     16|            &&
25155|     16|            (expressions_var = expressions_rule(p))  // expressions
  ------------------
  |  Branch (25155:13): [True: 11, False: 5]
  ------------------
25156|     11|            &&
25157|     11|            (_keyword_1 = _PyPegen_expect_token(p, 698))  // token='as'
  ------------------
  |  Branch (25157:13): [True: 8, False: 3]
  ------------------
25158|      8|            &&
25159|      8|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (25159:13): [True: 5, False: 3]
  ------------------
25160|      5|            &&
25161|      5|            (_literal_1 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (25161:13): [True: 1, False: 4]
  ------------------
25162|  3.90k|        )
25163|      1|        {
25164|      1|            D(fprintf(stderr, "%*c+ invalid_except_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' expression ',' expressions 'as' NAME ':'"));
25165|      1|            _res = RAISE_SYNTAX_ERROR_STARTING_FROM ( a , "multiple exception types must be parenthesized when using 'as'" );
  ------------------
  |  |  215|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   27|      1|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |                   RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   27|      1|#define CURRENT_POS (-5)
  |  |  ------------------
  ------------------
25166|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25166:18): [True: 1, False: 0]
  |  Branch (25166:34): [True: 0, False: 0]
  |  Branch (25166:57): [True: 1, False: 0]
  ------------------
25167|      1|                p->error_indicator = 1;
25168|      1|                p->level--;
25169|      1|                return NULL;
25170|      1|            }
25171|      0|            goto done;
25172|      1|        }
25173|  3.89k|        p->mark = _mark;
25174|  3.89k|        D(fprintf(stderr, "%*c%s invalid_except_stmt[%d-%d]: %s failed!\n", p->level, ' ',
25175|  3.89k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' expression ',' expressions 'as' NAME ':'"));
25176|  3.89k|    }
25177|      0|    { // 'except' expression ['as' NAME] NEWLINE
25178|  3.89k|        if (p->error_indicator) {
  ------------------
  |  Branch (25178:13): [True: 2, False: 3.89k]
  ------------------
25179|      2|            p->level--;
25180|      2|            return NULL;
25181|      2|        }
25182|  3.89k|        D(fprintf(stderr, "%*c> invalid_except_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' expression ['as' NAME] NEWLINE"));
25183|  3.89k|        void *_opt_var;
25184|  3.89k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  3.89k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.89k]
  |  |  ------------------
  ------------------
25185|  3.89k|        Token * a;
25186|  3.89k|        expr_ty expression_var;
25187|  3.89k|        Token * newline_var;
25188|  3.89k|        if (
25189|  3.89k|            (a = _PyPegen_expect_token(p, 695))  // token='except'
  ------------------
  |  Branch (25189:13): [True: 1.90k, False: 1.99k]
  ------------------
25190|  1.90k|            &&
25191|  1.90k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (25191:13): [True: 51, False: 1.85k]
  ------------------
25192|     51|            &&
25193|     51|            (_opt_var = _tmp_21_rule(p), !p->error_indicator)  // ['as' NAME]
  ------------------
  |  Branch (25193:13): [True: 51, False: 0]
  ------------------
25194|     51|            &&
25195|     51|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|     51|#define NEWLINE         4
  ------------------
  |  Branch (25195:13): [True: 4, False: 47]
  ------------------
25196|  3.89k|        )
25197|      4|        {
25198|      4|            D(fprintf(stderr, "%*c+ invalid_except_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' expression ['as' NAME] NEWLINE"));
25199|      4|            _res = RAISE_SYNTAX_ERROR ( "expected ':'" );
  ------------------
  |  |  207|      4|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
25200|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25200:18): [True: 4, False: 0]
  |  Branch (25200:34): [True: 0, False: 0]
  |  Branch (25200:57): [True: 4, False: 0]
  ------------------
25201|      4|                p->error_indicator = 1;
25202|      4|                p->level--;
25203|      4|                return NULL;
25204|      4|            }
25205|      0|            goto done;
25206|      4|        }
25207|  3.89k|        p->mark = _mark;
25208|  3.89k|        D(fprintf(stderr, "%*c%s invalid_except_stmt[%d-%d]: %s failed!\n", p->level, ' ',
25209|  3.89k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' expression ['as' NAME] NEWLINE"));
25210|  3.89k|    }
25211|      0|    { // 'except' NEWLINE
25212|  3.89k|        if (p->error_indicator) {
  ------------------
  |  Branch (25212:13): [True: 0, False: 3.89k]
  ------------------
25213|      0|            p->level--;
25214|      0|            return NULL;
25215|      0|        }
25216|  3.89k|        D(fprintf(stderr, "%*c> invalid_except_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' NEWLINE"));
25217|  3.89k|        Token * a;
25218|  3.89k|        Token * newline_var;
25219|  3.89k|        if (
25220|  3.89k|            (a = _PyPegen_expect_token(p, 695))  // token='except'
  ------------------
  |  Branch (25220:13): [True: 1.89k, False: 1.99k]
  ------------------
25221|  1.89k|            &&
25222|  1.89k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  1.89k|#define NEWLINE         4
  ------------------
  |  Branch (25222:13): [True: 4, False: 1.89k]
  ------------------
25223|  3.89k|        )
25224|      4|        {
25225|      4|            D(fprintf(stderr, "%*c+ invalid_except_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' NEWLINE"));
25226|      4|            _res = RAISE_SYNTAX_ERROR ( "expected ':'" );
  ------------------
  |  |  207|      4|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
25227|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25227:18): [True: 4, False: 0]
  |  Branch (25227:34): [True: 0, False: 0]
  |  Branch (25227:57): [True: 4, False: 0]
  ------------------
25228|      4|                p->error_indicator = 1;
25229|      4|                p->level--;
25230|      4|                return NULL;
25231|      4|            }
25232|      0|            goto done;
25233|      4|        }
25234|  3.88k|        p->mark = _mark;
25235|  3.88k|        D(fprintf(stderr, "%*c%s invalid_except_stmt[%d-%d]: %s failed!\n", p->level, ' ',
25236|  3.88k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' NEWLINE"));
25237|  3.88k|    }
25238|      0|    { // 'except' expression 'as' expression ':' block
25239|  3.88k|        if (p->error_indicator) {
  ------------------
  |  Branch (25239:13): [True: 0, False: 3.88k]
  ------------------
25240|      0|            p->level--;
25241|      0|            return NULL;
25242|      0|        }
25243|  3.88k|        D(fprintf(stderr, "%*c> invalid_except_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' expression 'as' expression ':' block"));
25244|  3.88k|        Token * _keyword;
25245|  3.88k|        Token * _keyword_1;
25246|  3.88k|        Token * _literal;
25247|  3.88k|        expr_ty a;
25248|  3.88k|        asdl_stmt_seq* block_var;
25249|  3.88k|        expr_ty expression_var;
25250|  3.88k|        if (
25251|  3.88k|            (_keyword = _PyPegen_expect_token(p, 695))  // token='except'
  ------------------
  |  Branch (25251:13): [True: 1.89k, False: 1.99k]
  ------------------
25252|  1.89k|            &&
25253|  1.89k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (25253:13): [True: 47, False: 1.84k]
  ------------------
25254|     47|            &&
25255|     47|            (_keyword_1 = _PyPegen_expect_token(p, 698))  // token='as'
  ------------------
  |  Branch (25255:13): [True: 16, False: 31]
  ------------------
25256|     16|            &&
25257|     16|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (25257:13): [True: 11, False: 5]
  ------------------
25258|     11|            &&
25259|     11|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (25259:13): [True: 6, False: 5]
  ------------------
25260|      6|            &&
25261|      6|            (block_var = block_rule(p))  // block
  ------------------
  |  Branch (25261:13): [True: 1, False: 5]
  ------------------
25262|  3.88k|        )
25263|      1|        {
25264|      1|            D(fprintf(stderr, "%*c+ invalid_except_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' expression 'as' expression ':' block"));
25265|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use except statement with %s" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  213|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
25266|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25266:18): [True: 1, False: 0]
  |  Branch (25266:34): [True: 0, False: 0]
  |  Branch (25266:57): [True: 1, False: 0]
  ------------------
25267|      1|                p->error_indicator = 1;
25268|      1|                p->level--;
25269|      1|                return NULL;
25270|      1|            }
25271|      0|            goto done;
25272|      1|        }
25273|  3.88k|        p->mark = _mark;
25274|  3.88k|        D(fprintf(stderr, "%*c%s invalid_except_stmt[%d-%d]: %s failed!\n", p->level, ' ',
25275|  3.88k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' expression 'as' expression ':' block"));
25276|  3.88k|    }
25277|  3.88k|    _res = NULL;
25278|  3.88k|  done:
25279|  3.88k|    p->level--;
25280|  3.88k|    return _res;
25281|  3.88k|}
parser.c:_loop1_37_rule:
30889|  5.93k|{
30890|  5.93k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  11.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (30890:9): [True: 0, False: 5.93k]
  |  Branch (30890:35): [True: 0, False: 5.93k]
  ------------------
30891|      0|        _Pypegen_stack_overflow(p);
30892|      0|    }
30893|  5.93k|    if (p->error_indicator) {
  ------------------
  |  Branch (30893:9): [True: 0, False: 5.93k]
  ------------------
30894|      0|        p->level--;
30895|      0|        return NULL;
30896|      0|    }
30897|  5.93k|    void *_res = NULL;
30898|  5.93k|    int _mark = p->mark;
30899|  5.93k|    void **_children = PyMem_Malloc(sizeof(void *));
30900|  5.93k|    if (!_children) {
  ------------------
  |  Branch (30900:9): [True: 0, False: 5.93k]
  ------------------
30901|      0|        p->error_indicator = 1;
30902|      0|        PyErr_NoMemory();
30903|      0|        p->level--;
30904|      0|        return NULL;
30905|      0|    }
30906|  5.93k|    Py_ssize_t _children_capacity = 1;
30907|  5.93k|    Py_ssize_t _n = 0;
30908|  5.93k|    { // except_star_block
30909|  5.93k|        if (p->error_indicator) {
  ------------------
  |  Branch (30909:13): [True: 0, False: 5.93k]
  ------------------
30910|      0|            p->level--;
30911|      0|            return NULL;
30912|      0|        }
30913|  5.93k|        D(fprintf(stderr, "%*c> _loop1_37[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "except_star_block"));
30914|  5.93k|        excepthandler_ty except_star_block_var;
30915|  5.93k|        while (
30916|  12.0k|            (except_star_block_var = except_star_block_rule(p))  // except_star_block
  ------------------
  |  Branch (30916:13): [True: 6.16k, False: 5.93k]
  ------------------
30917|  5.93k|        )
30918|  6.16k|        {
30919|  6.16k|            _res = except_star_block_var;
30920|  6.16k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30920:17): [True: 995, False: 5.16k]
  ------------------
30921|    995|                _children_capacity *= 2;
30922|    995|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30923|    995|                if (!_new_children) {
  ------------------
  |  Branch (30923:21): [True: 0, False: 995]
  ------------------
30924|      0|                    PyMem_Free(_children);
30925|      0|                    p->error_indicator = 1;
30926|      0|                    PyErr_NoMemory();
30927|      0|                    p->level--;
30928|      0|                    return NULL;
30929|      0|                }
30930|    995|                _children = _new_children;
30931|    995|            }
30932|  6.16k|            _children[_n++] = _res;
30933|  6.16k|            _mark = p->mark;
30934|  6.16k|        }
30935|  5.93k|        p->mark = _mark;
30936|  5.93k|        D(fprintf(stderr, "%*c%s _loop1_37[%d-%d]: %s failed!\n", p->level, ' ',
30937|  5.93k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "except_star_block"));
30938|  5.93k|    }
30939|  5.93k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (30939:9): [True: 1.49k, False: 4.44k]
  |  Branch (30939:20): [True: 13, False: 4.43k]
  ------------------
30940|  1.50k|        PyMem_Free(_children);
30941|  1.50k|        p->level--;
30942|  1.50k|        return NULL;
30943|  1.50k|    }
30944|  4.43k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30945|  4.43k|    if (!_seq) {
  ------------------
  |  Branch (30945:9): [True: 0, False: 4.43k]
  ------------------
30946|      0|        PyMem_Free(_children);
30947|      0|        p->error_indicator = 1;
30948|      0|        PyErr_NoMemory();
30949|      0|        p->level--;
30950|      0|        return NULL;
30951|      0|    }
30952|  10.2k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  5.83k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  10.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30952:28): [True: 5.83k, False: 4.43k]
  ------------------
30953|  4.43k|    PyMem_Free(_children);
30954|  4.43k|    p->level--;
30955|  4.43k|    return _seq;
30956|  4.43k|}
parser.c:except_star_block_rule:
 7513|  12.0k|{
 7514|  12.0k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  24.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (7514:9): [True: 0, False: 12.0k]
  |  Branch (7514:35): [True: 0, False: 12.0k]
  ------------------
 7515|      0|        _Pypegen_stack_overflow(p);
 7516|      0|    }
 7517|  12.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (7517:9): [True: 0, False: 12.0k]
  ------------------
 7518|      0|        p->level--;
 7519|      0|        return NULL;
 7520|      0|    }
 7521|  12.0k|    excepthandler_ty _res = NULL;
 7522|  12.0k|    int _mark = p->mark;
 7523|  12.0k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (7523:9): [True: 3.68k, False: 8.41k]
  |  Branch (7523:31): [True: 1, False: 3.68k]
  ------------------
 7524|      1|        p->error_indicator = 1;
 7525|      1|        p->level--;
 7526|      1|        return NULL;
 7527|      1|    }
 7528|  12.0k|    int _start_lineno = p->tokens[_mark]->lineno;
 7529|  12.0k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  12.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 12.0k]
  |  |  ------------------
  ------------------
 7530|  12.0k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 7531|  12.0k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  12.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 12.0k]
  |  |  ------------------
  ------------------
 7532|  12.0k|    if (p->call_invalid_rules) { // invalid_except_star_stmt_indent
  ------------------
  |  Branch (7532:9): [True: 5.53k, False: 6.55k]
  ------------------
 7533|  5.53k|        if (p->error_indicator) {
  ------------------
  |  Branch (7533:13): [True: 0, False: 5.53k]
  ------------------
 7534|      0|            p->level--;
 7535|      0|            return NULL;
 7536|      0|        }
 7537|  5.53k|        D(fprintf(stderr, "%*c> except_star_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_except_star_stmt_indent"));
 7538|  5.53k|        void *invalid_except_star_stmt_indent_var;
 7539|  5.53k|        if (
 7540|  5.53k|            (invalid_except_star_stmt_indent_var = invalid_except_star_stmt_indent_rule(p))  // invalid_except_star_stmt_indent
  ------------------
  |  Branch (7540:13): [True: 0, False: 5.53k]
  ------------------
 7541|  5.53k|        )
 7542|      0|        {
 7543|      0|            D(fprintf(stderr, "%*c+ except_star_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_except_star_stmt_indent"));
 7544|      0|            _res = invalid_except_star_stmt_indent_var;
 7545|      0|            goto done;
 7546|      0|        }
 7547|  5.53k|        p->mark = _mark;
 7548|  5.53k|        D(fprintf(stderr, "%*c%s except_star_block[%d-%d]: %s failed!\n", p->level, ' ',
 7549|  5.53k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_except_star_stmt_indent"));
 7550|  5.53k|    }
 7551|  12.0k|    { // 'except' '*' expression ':' block
 7552|  12.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (7552:13): [True: 6, False: 12.0k]
  ------------------
 7553|      6|            p->level--;
 7554|      6|            return NULL;
 7555|      6|        }
 7556|  12.0k|        D(fprintf(stderr, "%*c> except_star_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' '*' expression ':' block"));
 7557|  12.0k|        Token * _keyword;
 7558|  12.0k|        Token * _literal;
 7559|  12.0k|        Token * _literal_1;
 7560|  12.0k|        asdl_stmt_seq* b;
 7561|  12.0k|        expr_ty e;
 7562|  12.0k|        if (
 7563|  12.0k|            (_keyword = _PyPegen_expect_token(p, 695))  // token='except'
  ------------------
  |  Branch (7563:13): [True: 7.26k, False: 4.81k]
  ------------------
 7564|  7.26k|            &&
 7565|  7.26k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (7565:13): [True: 6.33k, False: 935]
  ------------------
 7566|  6.33k|            &&
 7567|  6.33k|            (e = expression_rule(p))  // expression
  ------------------
  |  Branch (7567:13): [True: 6.32k, False: 10]
  ------------------
 7568|  6.32k|            &&
 7569|  6.32k|            (_literal_1 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7569:13): [True: 5.49k, False: 825]
  ------------------
 7570|  5.49k|            &&
 7571|  5.49k|            (b = block_rule(p))  // block
  ------------------
  |  Branch (7571:13): [True: 5.42k, False: 71]
  ------------------
 7572|  12.0k|        )
 7573|  5.42k|        {
 7574|  5.42k|            D(fprintf(stderr, "%*c+ except_star_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' '*' expression ':' block"));
 7575|  5.42k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7576|  5.42k|            if (_token == NULL) {
  ------------------
  |  Branch (7576:17): [True: 0, False: 5.42k]
  ------------------
 7577|      0|                p->level--;
 7578|      0|                return NULL;
 7579|      0|            }
 7580|  5.42k|            int _end_lineno = _token->end_lineno;
 7581|  5.42k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  5.42k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 5.42k]
  |  |  ------------------
  ------------------
 7582|  5.42k|            int _end_col_offset = _token->end_col_offset;
 7583|  5.42k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  5.42k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 5.42k]
  |  |  ------------------
  ------------------
 7584|  5.42k|            _res = _PyAST_ExceptHandler ( e , NULL , b , EXTRA );
  ------------------
  |  |  281|  5.42k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 7585|  5.42k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7585:18): [True: 0, False: 5.42k]
  |  Branch (7585:34): [True: 0, False: 5.42k]
  |  Branch (7585:57): [True: 0, False: 0]
  ------------------
 7586|      0|                p->error_indicator = 1;
 7587|      0|                p->level--;
 7588|      0|                return NULL;
 7589|      0|            }
 7590|  5.42k|            goto done;
 7591|  5.42k|        }
 7592|  6.66k|        p->mark = _mark;
 7593|  6.66k|        D(fprintf(stderr, "%*c%s except_star_block[%d-%d]: %s failed!\n", p->level, ' ',
 7594|  6.66k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' '*' expression ':' block"));
 7595|  6.66k|    }
 7596|      0|    { // 'except' '*' expression 'as' NAME ':' block
 7597|  6.66k|        if (p->error_indicator) {
  ------------------
  |  Branch (7597:13): [True: 18, False: 6.64k]
  ------------------
 7598|     18|            p->level--;
 7599|     18|            return NULL;
 7600|     18|        }
 7601|  6.64k|        D(fprintf(stderr, "%*c> except_star_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' '*' expression 'as' NAME ':' block"));
 7602|  6.64k|        Token * _keyword;
 7603|  6.64k|        Token * _keyword_1;
 7604|  6.64k|        Token * _literal;
 7605|  6.64k|        Token * _literal_1;
 7606|  6.64k|        asdl_stmt_seq* b;
 7607|  6.64k|        expr_ty e;
 7608|  6.64k|        expr_ty t;
 7609|  6.64k|        if (
 7610|  6.64k|            (_keyword = _PyPegen_expect_token(p, 695))  // token='except'
  ------------------
  |  Branch (7610:13): [True: 1.82k, False: 4.81k]
  ------------------
 7611|  1.82k|            &&
 7612|  1.82k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (7612:13): [True: 888, False: 935]
  ------------------
 7613|    888|            &&
 7614|    888|            (e = expression_rule(p))  // expression
  ------------------
  |  Branch (7614:13): [True: 878, False: 10]
  ------------------
 7615|    878|            &&
 7616|    878|            (_keyword_1 = _PyPegen_expect_token(p, 698))  // token='as'
  ------------------
  |  Branch (7616:13): [True: 162, False: 716]
  ------------------
 7617|    162|            &&
 7618|    162|            (t = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (7618:13): [True: 151, False: 11]
  ------------------
 7619|    151|            &&
 7620|    151|            (_literal_1 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7620:13): [True: 141, False: 10]
  ------------------
 7621|    141|            &&
 7622|    141|            (b = block_rule(p))  // block
  ------------------
  |  Branch (7622:13): [True: 133, False: 8]
  ------------------
 7623|  6.64k|        )
 7624|    133|        {
 7625|    133|            D(fprintf(stderr, "%*c+ except_star_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' '*' expression 'as' NAME ':' block"));
 7626|    133|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7627|    133|            if (_token == NULL) {
  ------------------
  |  Branch (7627:17): [True: 0, False: 133]
  ------------------
 7628|      0|                p->level--;
 7629|      0|                return NULL;
 7630|      0|            }
 7631|    133|            int _end_lineno = _token->end_lineno;
 7632|    133|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    133|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 133]
  |  |  ------------------
  ------------------
 7633|    133|            int _end_col_offset = _token->end_col_offset;
 7634|    133|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    133|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 133]
  |  |  ------------------
  ------------------
 7635|    133|            _res = _PyAST_ExceptHandler ( e , ( ( expr_ty ) t ) -> v . Name . id , b , EXTRA );
  ------------------
  |  |  281|    133|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 7636|    133|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7636:18): [True: 0, False: 133]
  |  Branch (7636:34): [True: 0, False: 133]
  |  Branch (7636:57): [True: 0, False: 0]
  ------------------
 7637|      0|                p->error_indicator = 1;
 7638|      0|                p->level--;
 7639|      0|                return NULL;
 7640|      0|            }
 7641|    133|            goto done;
 7642|    133|        }
 7643|  6.50k|        p->mark = _mark;
 7644|  6.50k|        D(fprintf(stderr, "%*c%s except_star_block[%d-%d]: %s failed!\n", p->level, ' ',
 7645|  6.50k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' '*' expression 'as' NAME ':' block"));
 7646|  6.50k|    }
 7647|      0|    { // 'except' '*' expressions ':' block
 7648|  6.50k|        if (p->error_indicator) {
  ------------------
  |  Branch (7648:13): [True: 4, False: 6.50k]
  ------------------
 7649|      4|            p->level--;
 7650|      4|            return NULL;
 7651|      4|        }
 7652|  6.50k|        D(fprintf(stderr, "%*c> except_star_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' '*' expressions ':' block"));
 7653|  6.50k|        Token * _keyword;
 7654|  6.50k|        Token * _literal;
 7655|  6.50k|        Token * _literal_1;
 7656|  6.50k|        asdl_stmt_seq* b;
 7657|  6.50k|        expr_ty e;
 7658|  6.50k|        if (
 7659|  6.50k|            (_keyword = _PyPegen_expect_token(p, 695))  // token='except'
  ------------------
  |  Branch (7659:13): [True: 1.68k, False: 4.81k]
  ------------------
 7660|  1.68k|            &&
 7661|  1.68k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (7661:13): [True: 751, False: 935]
  ------------------
 7662|    751|            &&
 7663|    751|            (e = expressions_rule(p))  // expressions
  ------------------
  |  Branch (7663:13): [True: 741, False: 10]
  ------------------
 7664|    741|            &&
 7665|    741|            (_literal_1 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7665:13): [True: 669, False: 72]
  ------------------
 7666|    669|            &&
 7667|    669|            (b = block_rule(p))  // block
  ------------------
  |  Branch (7667:13): [True: 601, False: 68]
  ------------------
 7668|  6.50k|        )
 7669|    601|        {
 7670|    601|            D(fprintf(stderr, "%*c+ except_star_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' '*' expressions ':' block"));
 7671|    601|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7672|    601|            if (_token == NULL) {
  ------------------
  |  Branch (7672:17): [True: 0, False: 601]
  ------------------
 7673|      0|                p->level--;
 7674|      0|                return NULL;
 7675|      0|            }
 7676|    601|            int _end_lineno = _token->end_lineno;
 7677|    601|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    601|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 601]
  |  |  ------------------
  ------------------
 7678|    601|            int _end_col_offset = _token->end_col_offset;
 7679|    601|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    601|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 601]
  |  |  ------------------
  ------------------
 7680|    601|            _res = CHECK_VERSION ( excepthandler_ty , 14 , "except expressions without parentheses are" , _PyAST_ExceptHandler ( e , NULL , b , EXTRA ) );
  ------------------
  |  |  319|    601|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 7681|    601|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7681:18): [True: 0, False: 601]
  |  Branch (7681:34): [True: 0, False: 601]
  |  Branch (7681:57): [True: 0, False: 0]
  ------------------
 7682|      0|                p->error_indicator = 1;
 7683|      0|                p->level--;
 7684|      0|                return NULL;
 7685|      0|            }
 7686|    601|            goto done;
 7687|    601|        }
 7688|  5.90k|        p->mark = _mark;
 7689|  5.90k|        D(fprintf(stderr, "%*c%s except_star_block[%d-%d]: %s failed!\n", p->level, ' ',
 7690|  5.90k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' '*' expressions ':' block"));
 7691|  5.90k|    }
 7692|  5.90k|    if (p->call_invalid_rules) { // invalid_except_star_stmt
  ------------------
  |  Branch (7692:9): [True: 3.03k, False: 2.86k]
  ------------------
 7693|  3.03k|        if (p->error_indicator) {
  ------------------
  |  Branch (7693:13): [True: 3, False: 3.03k]
  ------------------
 7694|      3|            p->level--;
 7695|      3|            return NULL;
 7696|      3|        }
 7697|  3.03k|        D(fprintf(stderr, "%*c> except_star_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_except_star_stmt"));
 7698|  3.03k|        void *invalid_except_star_stmt_var;
 7699|  3.03k|        if (
 7700|  3.03k|            (invalid_except_star_stmt_var = invalid_except_star_stmt_rule(p))  // invalid_except_star_stmt
  ------------------
  |  Branch (7700:13): [True: 0, False: 3.03k]
  ------------------
 7701|  3.03k|        )
 7702|      0|        {
 7703|      0|            D(fprintf(stderr, "%*c+ except_star_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_except_star_stmt"));
 7704|      0|            _res = invalid_except_star_stmt_var;
 7705|      0|            goto done;
 7706|      0|        }
 7707|  3.03k|        p->mark = _mark;
 7708|  3.03k|        D(fprintf(stderr, "%*c%s except_star_block[%d-%d]: %s failed!\n", p->level, ' ',
 7709|  3.03k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_except_star_stmt"));
 7710|  3.03k|    }
 7711|  5.90k|    _res = NULL;
 7712|  12.0k|  done:
 7713|  12.0k|    p->level--;
 7714|  12.0k|    return _res;
 7715|  5.90k|}
parser.c:invalid_except_star_stmt_indent_rule:
25607|  5.53k|{
25608|  5.53k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  11.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25608:9): [True: 0, False: 5.53k]
  |  Branch (25608:35): [True: 0, False: 5.53k]
  ------------------
25609|      0|        _Pypegen_stack_overflow(p);
25610|      0|    }
25611|  5.53k|    if (p->error_indicator) {
  ------------------
  |  Branch (25611:9): [True: 0, False: 5.53k]
  ------------------
25612|      0|        p->level--;
25613|      0|        return NULL;
25614|      0|    }
25615|  5.53k|    void * _res = NULL;
25616|  5.53k|    int _mark = p->mark;
25617|  5.53k|    { // 'except' '*' expression ['as' NAME] ':' NEWLINE !INDENT
25618|  5.53k|        if (p->error_indicator) {
  ------------------
  |  Branch (25618:13): [True: 0, False: 5.53k]
  ------------------
25619|      0|            p->level--;
25620|      0|            return NULL;
25621|      0|        }
25622|  5.53k|        D(fprintf(stderr, "%*c> invalid_except_star_stmt_indent[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' '*' expression ['as' NAME] ':' NEWLINE !INDENT"));
25623|  5.53k|        Token * _literal;
25624|  5.53k|        Token * _literal_1;
25625|  5.53k|        void *_opt_var;
25626|  5.53k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  5.53k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 5.53k]
  |  |  ------------------
  ------------------
25627|  5.53k|        Token * a;
25628|  5.53k|        expr_ty expression_var;
25629|  5.53k|        Token * newline_var;
25630|  5.53k|        if (
25631|  5.53k|            (a = _PyPegen_expect_token(p, 695))  // token='except'
  ------------------
  |  Branch (25631:13): [True: 3.47k, False: 2.06k]
  ------------------
25632|  3.47k|            &&
25633|  3.47k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (25633:13): [True: 2.58k, False: 888]
  ------------------
25634|  2.58k|            &&
25635|  2.58k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (25635:13): [True: 2.57k, False: 10]
  ------------------
25636|  2.57k|            &&
25637|  2.57k|            (_opt_var = _tmp_21_rule(p), !p->error_indicator)  // ['as' NAME]
  ------------------
  |  Branch (25637:13): [True: 2.57k, False: 1]
  ------------------
25638|  2.57k|            &&
25639|  2.57k|            (_literal_1 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (25639:13): [True: 2.21k, False: 363]
  ------------------
25640|  2.21k|            &&
25641|  2.21k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  2.21k|#define NEWLINE         4
  ------------------
  |  Branch (25641:13): [True: 111, False: 2.10k]
  ------------------
25642|    111|            &&
25643|    111|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|    111|#define INDENT          5
  ------------------
  |  Branch (25643:13): [True: 1, False: 110]
  ------------------
25644|  5.53k|        )
25645|      1|        {
25646|      1|            D(fprintf(stderr, "%*c+ invalid_except_star_stmt_indent[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' '*' expression ['as' NAME] ':' NEWLINE !INDENT"));
25647|      1|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'except*' statement on line %d" , a -> lineno );
  ------------------
  |  |  208|      1|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
25648|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25648:18): [True: 1, False: 0]
  |  Branch (25648:34): [True: 0, False: 0]
  |  Branch (25648:57): [True: 1, False: 0]
  ------------------
25649|      1|                p->error_indicator = 1;
25650|      1|                p->level--;
25651|      1|                return NULL;
25652|      1|            }
25653|      0|            goto done;
25654|      1|        }
25655|  5.53k|        p->mark = _mark;
25656|  5.53k|        D(fprintf(stderr, "%*c%s invalid_except_star_stmt_indent[%d-%d]: %s failed!\n", p->level, ' ',
25657|  5.53k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' '*' expression ['as' NAME] ':' NEWLINE !INDENT"));
25658|  5.53k|    }
25659|  5.53k|    _res = NULL;
25660|  5.53k|  done:
25661|  5.53k|    p->level--;
25662|  5.53k|    return _res;
25663|  5.53k|}
parser.c:invalid_except_star_stmt_rule:
25290|  3.03k|{
25291|  3.03k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  6.06k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25291:9): [True: 0, False: 3.03k]
  |  Branch (25291:35): [True: 0, False: 3.03k]
  ------------------
25292|      0|        _Pypegen_stack_overflow(p);
25293|      0|    }
25294|  3.03k|    if (p->error_indicator) {
  ------------------
  |  Branch (25294:9): [True: 0, False: 3.03k]
  ------------------
25295|      0|        p->level--;
25296|      0|        return NULL;
25297|      0|    }
25298|  3.03k|    void * _res = NULL;
25299|  3.03k|    int _mark = p->mark;
25300|  3.03k|    { // 'except' '*' expression ',' expressions 'as' NAME ':'
25301|  3.03k|        if (p->error_indicator) {
  ------------------
  |  Branch (25301:13): [True: 0, False: 3.03k]
  ------------------
25302|      0|            p->level--;
25303|      0|            return NULL;
25304|      0|        }
25305|  3.03k|        D(fprintf(stderr, "%*c> invalid_except_star_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' '*' expression ',' expressions 'as' NAME ':'"));
25306|  3.03k|        Token * _keyword;
25307|  3.03k|        Token * _keyword_1;
25308|  3.03k|        Token * _literal;
25309|  3.03k|        Token * _literal_1;
25310|  3.03k|        Token * _literal_2;
25311|  3.03k|        expr_ty a;
25312|  3.03k|        expr_ty expressions_var;
25313|  3.03k|        expr_ty name_var;
25314|  3.03k|        if (
25315|  3.03k|            (_keyword = _PyPegen_expect_token(p, 695))  // token='except'
  ------------------
  |  Branch (25315:13): [True: 969, False: 2.06k]
  ------------------
25316|    969|            &&
25317|    969|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (25317:13): [True: 81, False: 888]
  ------------------
25318|     81|            &&
25319|     81|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (25319:13): [True: 75, False: 6]
  ------------------
25320|     75|            &&
25321|     75|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (25321:13): [True: 19, False: 56]
  ------------------
25322|     19|            &&
25323|     19|            (expressions_var = expressions_rule(p))  // expressions
  ------------------
  |  Branch (25323:13): [True: 12, False: 7]
  ------------------
25324|     12|            &&
25325|     12|            (_keyword_1 = _PyPegen_expect_token(p, 698))  // token='as'
  ------------------
  |  Branch (25325:13): [True: 7, False: 5]
  ------------------
25326|      7|            &&
25327|      7|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (25327:13): [True: 4, False: 3]
  ------------------
25328|      4|            &&
25329|      4|            (_literal_2 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (25329:13): [True: 1, False: 3]
  ------------------
25330|  3.03k|        )
25331|      1|        {
25332|      1|            D(fprintf(stderr, "%*c+ invalid_except_star_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' '*' expression ',' expressions 'as' NAME ':'"));
25333|      1|            _res = RAISE_SYNTAX_ERROR_STARTING_FROM ( a , "multiple exception types must be parenthesized when using 'as'" );
  ------------------
  |  |  215|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   27|      1|#define CURRENT_POS (-5)
  |  |  ------------------
  |  |                   RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, CURRENT_POS, CURRENT_POS, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  |   27|      1|#define CURRENT_POS (-5)
  |  |  ------------------
  ------------------
25334|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25334:18): [True: 1, False: 0]
  |  Branch (25334:34): [True: 0, False: 0]
  |  Branch (25334:57): [True: 1, False: 0]
  ------------------
25335|      1|                p->error_indicator = 1;
25336|      1|                p->level--;
25337|      1|                return NULL;
25338|      1|            }
25339|      0|            goto done;
25340|      1|        }
25341|  3.03k|        p->mark = _mark;
25342|  3.03k|        D(fprintf(stderr, "%*c%s invalid_except_star_stmt[%d-%d]: %s failed!\n", p->level, ' ',
25343|  3.03k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' '*' expression ',' expressions 'as' NAME ':'"));
25344|  3.03k|    }
25345|      0|    { // 'except' '*' expression ['as' NAME] NEWLINE
25346|  3.03k|        if (p->error_indicator) {
  ------------------
  |  Branch (25346:13): [True: 1, False: 3.03k]
  ------------------
25347|      1|            p->level--;
25348|      1|            return NULL;
25349|      1|        }
25350|  3.03k|        D(fprintf(stderr, "%*c> invalid_except_star_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' '*' expression ['as' NAME] NEWLINE"));
25351|  3.03k|        Token * _literal;
25352|  3.03k|        void *_opt_var;
25353|  3.03k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  3.03k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.03k]
  |  |  ------------------
  ------------------
25354|  3.03k|        Token * a;
25355|  3.03k|        expr_ty expression_var;
25356|  3.03k|        Token * newline_var;
25357|  3.03k|        if (
25358|  3.03k|            (a = _PyPegen_expect_token(p, 695))  // token='except'
  ------------------
  |  Branch (25358:13): [True: 967, False: 2.06k]
  ------------------
25359|    967|            &&
25360|    967|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (25360:13): [True: 79, False: 888]
  ------------------
25361|     79|            &&
25362|     79|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (25362:13): [True: 73, False: 6]
  ------------------
25363|     73|            &&
25364|     73|            (_opt_var = _tmp_21_rule(p), !p->error_indicator)  // ['as' NAME]
  ------------------
  |  Branch (25364:13): [True: 73, False: 0]
  ------------------
25365|     73|            &&
25366|     73|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|     73|#define NEWLINE         4
  ------------------
  |  Branch (25366:13): [True: 8, False: 65]
  ------------------
25367|  3.03k|        )
25368|      8|        {
25369|      8|            D(fprintf(stderr, "%*c+ invalid_except_star_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' '*' expression ['as' NAME] NEWLINE"));
25370|      8|            _res = RAISE_SYNTAX_ERROR ( "expected ':'" );
  ------------------
  |  |  207|      8|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
25371|      8|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25371:18): [True: 8, False: 0]
  |  Branch (25371:34): [True: 0, False: 0]
  |  Branch (25371:57): [True: 8, False: 0]
  ------------------
25372|      8|                p->error_indicator = 1;
25373|      8|                p->level--;
25374|      8|                return NULL;
25375|      8|            }
25376|      0|            goto done;
25377|      8|        }
25378|  3.02k|        p->mark = _mark;
25379|  3.02k|        D(fprintf(stderr, "%*c%s invalid_except_star_stmt[%d-%d]: %s failed!\n", p->level, ' ',
25380|  3.02k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' '*' expression ['as' NAME] NEWLINE"));
25381|  3.02k|    }
25382|      0|    { // 'except' '*' (NEWLINE | ':')
25383|  3.02k|        if (p->error_indicator) {
  ------------------
  |  Branch (25383:13): [True: 0, False: 3.02k]
  ------------------
25384|      0|            p->level--;
25385|      0|            return NULL;
25386|      0|        }
25387|  3.02k|        D(fprintf(stderr, "%*c> invalid_except_star_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' '*' (NEWLINE | ':')"));
25388|  3.02k|        Token * _literal;
25389|  3.02k|        void *_tmp_147_var;
25390|  3.02k|        Token * a;
25391|  3.02k|        if (
25392|  3.02k|            (a = _PyPegen_expect_token(p, 695))  // token='except'
  ------------------
  |  Branch (25392:13): [True: 959, False: 2.06k]
  ------------------
25393|    959|            &&
25394|    959|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (25394:13): [True: 71, False: 888]
  ------------------
25395|     71|            &&
25396|     71|            (_tmp_147_var = _tmp_147_rule(p))  // NEWLINE | ':'
  ------------------
  |  Branch (25396:13): [True: 3, False: 68]
  ------------------
25397|  3.02k|        )
25398|      3|        {
25399|      3|            D(fprintf(stderr, "%*c+ invalid_except_star_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' '*' (NEWLINE | ':')"));
25400|      3|            _res = RAISE_SYNTAX_ERROR ( "expected one or more exception types" );
  ------------------
  |  |  207|      3|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
25401|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25401:18): [True: 3, False: 0]
  |  Branch (25401:34): [True: 0, False: 0]
  |  Branch (25401:57): [True: 3, False: 0]
  ------------------
25402|      3|                p->error_indicator = 1;
25403|      3|                p->level--;
25404|      3|                return NULL;
25405|      3|            }
25406|      0|            goto done;
25407|      3|        }
25408|  3.02k|        p->mark = _mark;
25409|  3.02k|        D(fprintf(stderr, "%*c%s invalid_except_star_stmt[%d-%d]: %s failed!\n", p->level, ' ',
25410|  3.02k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' '*' (NEWLINE | ':')"));
25411|  3.02k|    }
25412|      0|    { // 'except' '*' expression 'as' expression ':' block
25413|  3.02k|        if (p->error_indicator) {
  ------------------
  |  Branch (25413:13): [True: 0, False: 3.02k]
  ------------------
25414|      0|            p->level--;
25415|      0|            return NULL;
25416|      0|        }
25417|  3.02k|        D(fprintf(stderr, "%*c> invalid_except_star_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' '*' expression 'as' expression ':' block"));
25418|  3.02k|        Token * _keyword;
25419|  3.02k|        Token * _keyword_1;
25420|  3.02k|        Token * _literal;
25421|  3.02k|        Token * _literal_1;
25422|  3.02k|        expr_ty a;
25423|  3.02k|        asdl_stmt_seq* block_var;
25424|  3.02k|        expr_ty expression_var;
25425|  3.02k|        if (
25426|  3.02k|            (_keyword = _PyPegen_expect_token(p, 695))  // token='except'
  ------------------
  |  Branch (25426:13): [True: 956, False: 2.06k]
  ------------------
25427|    956|            &&
25428|    956|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (25428:13): [True: 68, False: 888]
  ------------------
25429|     68|            &&
25430|     68|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (25430:13): [True: 65, False: 3]
  ------------------
25431|     65|            &&
25432|     65|            (_keyword_1 = _PyPegen_expect_token(p, 698))  // token='as'
  ------------------
  |  Branch (25432:13): [True: 14, False: 51]
  ------------------
25433|     14|            &&
25434|     14|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (25434:13): [True: 10, False: 4]
  ------------------
25435|     10|            &&
25436|     10|            (_literal_1 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (25436:13): [True: 6, False: 4]
  ------------------
25437|      6|            &&
25438|      6|            (block_var = block_rule(p))  // block
  ------------------
  |  Branch (25438:13): [True: 1, False: 5]
  ------------------
25439|  3.02k|        )
25440|      1|        {
25441|      1|            D(fprintf(stderr, "%*c+ invalid_except_star_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' '*' expression 'as' expression ':' block"));
25442|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use except* statement with %s" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  213|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
25443|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25443:18): [True: 1, False: 0]
  |  Branch (25443:34): [True: 0, False: 0]
  |  Branch (25443:57): [True: 1, False: 0]
  ------------------
25444|      1|                p->error_indicator = 1;
25445|      1|                p->level--;
25446|      1|                return NULL;
25447|      1|            }
25448|      0|            goto done;
25449|      1|        }
25450|  3.02k|        p->mark = _mark;
25451|  3.02k|        D(fprintf(stderr, "%*c%s invalid_except_star_stmt[%d-%d]: %s failed!\n", p->level, ' ',
25452|  3.02k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' '*' expression 'as' expression ':' block"));
25453|  3.02k|    }
25454|  3.02k|    _res = NULL;
25455|  3.02k|  done:
25456|  3.02k|    p->level--;
25457|  3.02k|    return _res;
25458|  3.02k|}
parser.c:_tmp_147_rule:
37679|     71|{
37680|     71|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    142|#  define MAXSTACK 6000
  ------------------
  |  Branch (37680:9): [True: 0, False: 71]
  |  Branch (37680:35): [True: 0, False: 71]
  ------------------
37681|      0|        _Pypegen_stack_overflow(p);
37682|      0|    }
37683|     71|    if (p->error_indicator) {
  ------------------
  |  Branch (37683:9): [True: 0, False: 71]
  ------------------
37684|      0|        p->level--;
37685|      0|        return NULL;
37686|      0|    }
37687|     71|    void * _res = NULL;
37688|     71|    int _mark = p->mark;
37689|     71|    { // NEWLINE
37690|     71|        if (p->error_indicator) {
  ------------------
  |  Branch (37690:13): [True: 0, False: 71]
  ------------------
37691|      0|            p->level--;
37692|      0|            return NULL;
37693|      0|        }
37694|     71|        D(fprintf(stderr, "%*c> _tmp_147[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
37695|     71|        Token * newline_var;
37696|     71|        if (
37697|     71|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|     71|#define NEWLINE         4
  ------------------
  |  Branch (37697:13): [True: 2, False: 69]
  ------------------
37698|     71|        )
37699|      2|        {
37700|      2|            D(fprintf(stderr, "%*c+ _tmp_147[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
37701|      2|            _res = newline_var;
37702|      2|            goto done;
37703|      2|        }
37704|     69|        p->mark = _mark;
37705|     69|        D(fprintf(stderr, "%*c%s _tmp_147[%d-%d]: %s failed!\n", p->level, ' ',
37706|     69|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE"));
37707|     69|    }
37708|      0|    { // ':'
37709|     69|        if (p->error_indicator) {
  ------------------
  |  Branch (37709:13): [True: 0, False: 69]
  ------------------
37710|      0|            p->level--;
37711|      0|            return NULL;
37712|      0|        }
37713|     69|        D(fprintf(stderr, "%*c> _tmp_147[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':'"));
37714|     69|        Token * _literal;
37715|     69|        if (
37716|     69|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (37716:13): [True: 1, False: 68]
  ------------------
37717|     69|        )
37718|      1|        {
37719|      1|            D(fprintf(stderr, "%*c+ _tmp_147[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':'"));
37720|      1|            _res = _literal;
37721|      1|            goto done;
37722|      1|        }
37723|     68|        p->mark = _mark;
37724|     68|        D(fprintf(stderr, "%*c%s _tmp_147[%d-%d]: %s failed!\n", p->level, ' ',
37725|     68|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':'"));
37726|     68|    }
37727|     68|    _res = NULL;
37728|     71|  done:
37729|     71|    p->level--;
37730|     71|    return _res;
37731|     68|}
parser.c:while_stmt_rule:
 6417|  3.18k|{
 6418|  3.18k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  6.36k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6418:9): [True: 0, False: 3.18k]
  |  Branch (6418:35): [True: 0, False: 3.18k]
  ------------------
 6419|      0|        _Pypegen_stack_overflow(p);
 6420|      0|    }
 6421|  3.18k|    if (p->error_indicator) {
  ------------------
  |  Branch (6421:9): [True: 0, False: 3.18k]
  ------------------
 6422|      0|        p->level--;
 6423|      0|        return NULL;
 6424|      0|    }
 6425|  3.18k|    stmt_ty _res = NULL;
 6426|  3.18k|    int _mark = p->mark;
 6427|  3.18k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (6427:9): [True: 0, False: 3.18k]
  |  Branch (6427:31): [True: 0, False: 0]
  ------------------
 6428|      0|        p->error_indicator = 1;
 6429|      0|        p->level--;
 6430|      0|        return NULL;
 6431|      0|    }
 6432|  3.18k|    int _start_lineno = p->tokens[_mark]->lineno;
 6433|  3.18k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.18k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.18k]
  |  |  ------------------
  ------------------
 6434|  3.18k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 6435|  3.18k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.18k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.18k]
  |  |  ------------------
  ------------------
 6436|  3.18k|    if (p->call_invalid_rules) { // invalid_while_stmt
  ------------------
  |  Branch (6436:9): [True: 457, False: 2.72k]
  ------------------
 6437|    457|        if (p->error_indicator) {
  ------------------
  |  Branch (6437:13): [True: 0, False: 457]
  ------------------
 6438|      0|            p->level--;
 6439|      0|            return NULL;
 6440|      0|        }
 6441|    457|        D(fprintf(stderr, "%*c> while_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_while_stmt"));
 6442|    457|        void *invalid_while_stmt_var;
 6443|    457|        if (
 6444|    457|            (invalid_while_stmt_var = invalid_while_stmt_rule(p))  // invalid_while_stmt
  ------------------
  |  Branch (6444:13): [True: 0, False: 457]
  ------------------
 6445|    457|        )
 6446|      0|        {
 6447|      0|            D(fprintf(stderr, "%*c+ while_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_while_stmt"));
 6448|      0|            _res = invalid_while_stmt_var;
 6449|      0|            goto done;
 6450|      0|        }
 6451|    457|        p->mark = _mark;
 6452|    457|        D(fprintf(stderr, "%*c%s while_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6453|    457|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_while_stmt"));
 6454|    457|    }
 6455|  3.18k|    { // 'while' named_expression ':' block else_block?
 6456|  3.18k|        if (p->error_indicator) {
  ------------------
  |  Branch (6456:13): [True: 8, False: 3.17k]
  ------------------
 6457|      8|            p->level--;
 6458|      8|            return NULL;
 6459|      8|        }
 6460|  3.17k|        D(fprintf(stderr, "%*c> while_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'while' named_expression ':' block else_block?"));
 6461|  3.17k|        Token * _keyword;
 6462|  3.17k|        Token * _literal;
 6463|  3.17k|        expr_ty a;
 6464|  3.17k|        asdl_stmt_seq* b;
 6465|  3.17k|        void *c;
 6466|  3.17k|        if (
 6467|  3.17k|            (_keyword = _PyPegen_expect_token(p, 707))  // token='while'
  ------------------
  |  Branch (6467:13): [True: 3.17k, False: 0]
  ------------------
 6468|  3.17k|            &&
 6469|  3.17k|            (a = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (6469:13): [True: 3.17k, False: 6]
  ------------------
 6470|  3.17k|            &&
 6471|  3.17k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6471:13): [True: 3.15k, False: 11]
  ------------------
 6472|  3.15k|            &&
 6473|  3.15k|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6473:13): [True: 3.12k, False: 30]
  ------------------
 6474|  3.12k|            &&
 6475|  3.12k|            (c = else_block_rule(p), !p->error_indicator)  // else_block?
  ------------------
  |  Branch (6475:13): [True: 3.12k, False: 2]
  ------------------
 6476|  3.17k|        )
 6477|  3.12k|        {
 6478|  3.12k|            D(fprintf(stderr, "%*c+ while_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'while' named_expression ':' block else_block?"));
 6479|  3.12k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6480|  3.12k|            if (_token == NULL) {
  ------------------
  |  Branch (6480:17): [True: 0, False: 3.12k]
  ------------------
 6481|      0|                p->level--;
 6482|      0|                return NULL;
 6483|      0|            }
 6484|  3.12k|            int _end_lineno = _token->end_lineno;
 6485|  3.12k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.12k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.12k]
  |  |  ------------------
  ------------------
 6486|  3.12k|            int _end_col_offset = _token->end_col_offset;
 6487|  3.12k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.12k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.12k]
  |  |  ------------------
  ------------------
 6488|  3.12k|            _res = _PyAST_While ( a , b , c , EXTRA );
  ------------------
  |  |  281|  3.12k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6489|  3.12k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6489:18): [True: 0, False: 3.12k]
  |  Branch (6489:34): [True: 0, False: 3.12k]
  |  Branch (6489:57): [True: 0, False: 0]
  ------------------
 6490|      0|                p->error_indicator = 1;
 6491|      0|                p->level--;
 6492|      0|                return NULL;
 6493|      0|            }
 6494|  3.12k|            goto done;
 6495|  3.12k|        }
 6496|     49|        p->mark = _mark;
 6497|     49|        D(fprintf(stderr, "%*c%s while_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6498|     49|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'while' named_expression ':' block else_block?"));
 6499|     49|    }
 6500|     49|    _res = NULL;
 6501|  3.17k|  done:
 6502|  3.17k|    p->level--;
 6503|  3.17k|    return _res;
 6504|     49|}
parser.c:invalid_while_stmt_rule:
26390|    457|{
26391|    457|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    914|#  define MAXSTACK 6000
  ------------------
  |  Branch (26391:9): [True: 0, False: 457]
  |  Branch (26391:35): [True: 0, False: 457]
  ------------------
26392|      0|        _Pypegen_stack_overflow(p);
26393|      0|    }
26394|    457|    if (p->error_indicator) {
  ------------------
  |  Branch (26394:9): [True: 0, False: 457]
  ------------------
26395|      0|        p->level--;
26396|      0|        return NULL;
26397|      0|    }
26398|    457|    void * _res = NULL;
26399|    457|    int _mark = p->mark;
26400|    457|    { // 'while' named_expression NEWLINE
26401|    457|        if (p->error_indicator) {
  ------------------
  |  Branch (26401:13): [True: 0, False: 457]
  ------------------
26402|      0|            p->level--;
26403|      0|            return NULL;
26404|      0|        }
26405|    457|        D(fprintf(stderr, "%*c> invalid_while_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'while' named_expression NEWLINE"));
26406|    457|        Token * _keyword;
26407|    457|        expr_ty named_expression_var;
26408|    457|        Token * newline_var;
26409|    457|        if (
26410|    457|            (_keyword = _PyPegen_expect_token(p, 707))  // token='while'
  ------------------
  |  Branch (26410:13): [True: 457, False: 0]
  ------------------
26411|    457|            &&
26412|    457|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (26412:13): [True: 452, False: 5]
  ------------------
26413|    452|            &&
26414|    452|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    452|#define NEWLINE         4
  ------------------
  |  Branch (26414:13): [True: 4, False: 448]
  ------------------
26415|    457|        )
26416|      4|        {
26417|      4|            D(fprintf(stderr, "%*c+ invalid_while_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'while' named_expression NEWLINE"));
26418|      4|            _res = RAISE_SYNTAX_ERROR ( "expected ':'" );
  ------------------
  |  |  207|      4|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
26419|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26419:18): [True: 4, False: 0]
  |  Branch (26419:34): [True: 0, False: 0]
  |  Branch (26419:57): [True: 4, False: 0]
  ------------------
26420|      4|                p->error_indicator = 1;
26421|      4|                p->level--;
26422|      4|                return NULL;
26423|      4|            }
26424|      0|            goto done;
26425|      4|        }
26426|    453|        p->mark = _mark;
26427|    453|        D(fprintf(stderr, "%*c%s invalid_while_stmt[%d-%d]: %s failed!\n", p->level, ' ',
26428|    453|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'while' named_expression NEWLINE"));
26429|    453|    }
26430|      0|    { // 'while' named_expression ':' NEWLINE !INDENT
26431|    453|        if (p->error_indicator) {
  ------------------
  |  Branch (26431:13): [True: 3, False: 450]
  ------------------
26432|      3|            p->level--;
26433|      3|            return NULL;
26434|      3|        }
26435|    450|        D(fprintf(stderr, "%*c> invalid_while_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'while' named_expression ':' NEWLINE !INDENT"));
26436|    450|        Token * _literal;
26437|    450|        Token * a;
26438|    450|        expr_ty named_expression_var;
26439|    450|        Token * newline_var;
26440|    450|        if (
26441|    450|            (a = _PyPegen_expect_token(p, 707))  // token='while'
  ------------------
  |  Branch (26441:13): [True: 450, False: 0]
  ------------------
26442|    450|            &&
26443|    450|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (26443:13): [True: 448, False: 2]
  ------------------
26444|    448|            &&
26445|    448|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (26445:13): [True: 446, False: 2]
  ------------------
26446|    446|            &&
26447|    446|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    446|#define NEWLINE         4
  ------------------
  |  Branch (26447:13): [True: 22, False: 424]
  ------------------
26448|     22|            &&
26449|     22|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|     22|#define INDENT          5
  ------------------
  |  Branch (26449:13): [True: 1, False: 21]
  ------------------
26450|    450|        )
26451|      1|        {
26452|      1|            D(fprintf(stderr, "%*c+ invalid_while_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'while' named_expression ':' NEWLINE !INDENT"));
26453|      1|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'while' statement on line %d" , a -> lineno );
  ------------------
  |  |  208|      1|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
26454|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26454:18): [True: 1, False: 0]
  |  Branch (26454:34): [True: 0, False: 0]
  |  Branch (26454:57): [True: 1, False: 0]
  ------------------
26455|      1|                p->error_indicator = 1;
26456|      1|                p->level--;
26457|      1|                return NULL;
26458|      1|            }
26459|      0|            goto done;
26460|      1|        }
26461|    449|        p->mark = _mark;
26462|    449|        D(fprintf(stderr, "%*c%s invalid_while_stmt[%d-%d]: %s failed!\n", p->level, ' ',
26463|    449|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'while' named_expression ':' NEWLINE !INDENT"));
26464|    449|    }
26465|    449|    _res = NULL;
26466|    449|  done:
26467|    449|    p->level--;
26468|    449|    return _res;
26469|    449|}
parser.c:match_stmt_rule:
 7790|   159k|{
 7791|   159k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   318k|#  define MAXSTACK 6000
  ------------------
  |  Branch (7791:9): [True: 0, False: 159k]
  |  Branch (7791:35): [True: 0, False: 159k]
  ------------------
 7792|      0|        _Pypegen_stack_overflow(p);
 7793|      0|    }
 7794|   159k|    if (p->error_indicator) {
  ------------------
  |  Branch (7794:9): [True: 0, False: 159k]
  ------------------
 7795|      0|        p->level--;
 7796|      0|        return NULL;
 7797|      0|    }
 7798|   159k|    stmt_ty _res = NULL;
 7799|   159k|    int _mark = p->mark;
 7800|   159k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (7800:9): [True: 0, False: 159k]
  |  Branch (7800:31): [True: 0, False: 0]
  ------------------
 7801|      0|        p->error_indicator = 1;
 7802|      0|        p->level--;
 7803|      0|        return NULL;
 7804|      0|    }
 7805|   159k|    int _start_lineno = p->tokens[_mark]->lineno;
 7806|   159k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   159k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 159k]
  |  |  ------------------
  ------------------
 7807|   159k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 7808|   159k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   159k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 159k]
  |  |  ------------------
  ------------------
 7809|   159k|    { // "match" subject_expr ':' NEWLINE INDENT case_block+ DEDENT
 7810|   159k|        if (p->error_indicator) {
  ------------------
  |  Branch (7810:13): [True: 0, False: 159k]
  ------------------
 7811|      0|            p->level--;
 7812|      0|            return NULL;
 7813|      0|        }
 7814|   159k|        D(fprintf(stderr, "%*c> match_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"match\" subject_expr ':' NEWLINE INDENT case_block+ DEDENT"));
 7815|   159k|        expr_ty _keyword;
 7816|   159k|        Token * _literal;
 7817|   159k|        asdl_match_case_seq* cases;
 7818|   159k|        Token * dedent_var;
 7819|   159k|        Token * indent_var;
 7820|   159k|        Token * newline_var;
 7821|   159k|        expr_ty subject;
 7822|   159k|        if (
 7823|   159k|            (_keyword = _PyPegen_expect_soft_keyword(p, "match"))  // soft_keyword='"match"'
  ------------------
  |  Branch (7823:13): [True: 2.20k, False: 157k]
  ------------------
 7824|  2.20k|            &&
 7825|  2.20k|            (subject = subject_expr_rule(p))  // subject_expr
  ------------------
  |  Branch (7825:13): [True: 1.59k, False: 618]
  ------------------
 7826|  1.59k|            &&
 7827|  1.59k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7827:13): [True: 810, False: 780]
  ------------------
 7828|    810|            &&
 7829|    810|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    810|#define NEWLINE         4
  ------------------
  |  Branch (7829:13): [True: 807, False: 3]
  ------------------
 7830|    807|            &&
 7831|    807|            (indent_var = _PyPegen_expect_token(p, INDENT))  // token='INDENT'
  ------------------
  |  |   21|    807|#define INDENT          5
  ------------------
  |  Branch (7831:13): [True: 799, False: 8]
  ------------------
 7832|    799|            &&
 7833|    799|            (cases = (asdl_match_case_seq*)_loop1_38_rule(p))  // case_block+
  ------------------
  |  Branch (7833:13): [True: 335, False: 464]
  ------------------
 7834|    335|            &&
 7835|    335|            (dedent_var = _PyPegen_expect_token(p, DEDENT))  // token='DEDENT'
  ------------------
  |  |   22|    335|#define DEDENT          6
  ------------------
  |  Branch (7835:13): [True: 287, False: 48]
  ------------------
 7836|   159k|        )
 7837|    287|        {
 7838|    287|            D(fprintf(stderr, "%*c+ match_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"match\" subject_expr ':' NEWLINE INDENT case_block+ DEDENT"));
 7839|    287|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7840|    287|            if (_token == NULL) {
  ------------------
  |  Branch (7840:17): [True: 0, False: 287]
  ------------------
 7841|      0|                p->level--;
 7842|      0|                return NULL;
 7843|      0|            }
 7844|    287|            int _end_lineno = _token->end_lineno;
 7845|    287|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    287|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 287]
  |  |  ------------------
  ------------------
 7846|    287|            int _end_col_offset = _token->end_col_offset;
 7847|    287|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    287|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 287]
  |  |  ------------------
  ------------------
 7848|    287|            _res = CHECK_VERSION ( stmt_ty , 10 , "Pattern matching is" , _PyAST_Match ( subject , cases , EXTRA ) );
  ------------------
  |  |  319|    287|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 7849|    287|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7849:18): [True: 0, False: 287]
  |  Branch (7849:34): [True: 0, False: 287]
  |  Branch (7849:57): [True: 0, False: 0]
  ------------------
 7850|      0|                p->error_indicator = 1;
 7851|      0|                p->level--;
 7852|      0|                return NULL;
 7853|      0|            }
 7854|    287|            goto done;
 7855|    287|        }
 7856|   158k|        p->mark = _mark;
 7857|   158k|        D(fprintf(stderr, "%*c%s match_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 7858|   158k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"match\" subject_expr ':' NEWLINE INDENT case_block+ DEDENT"));
 7859|   158k|    }
 7860|   158k|    if (p->call_invalid_rules) { // invalid_match_stmt
  ------------------
  |  Branch (7860:9): [True: 26.4k, False: 132k]
  ------------------
 7861|  26.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (7861:13): [True: 52, False: 26.3k]
  ------------------
 7862|     52|            p->level--;
 7863|     52|            return NULL;
 7864|     52|        }
 7865|  26.3k|        D(fprintf(stderr, "%*c> match_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_match_stmt"));
 7866|  26.3k|        void *invalid_match_stmt_var;
 7867|  26.3k|        if (
 7868|  26.3k|            (invalid_match_stmt_var = invalid_match_stmt_rule(p))  // invalid_match_stmt
  ------------------
  |  Branch (7868:13): [True: 0, False: 26.3k]
  ------------------
 7869|  26.3k|        )
 7870|      0|        {
 7871|      0|            D(fprintf(stderr, "%*c+ match_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_match_stmt"));
 7872|      0|            _res = invalid_match_stmt_var;
 7873|      0|            goto done;
 7874|      0|        }
 7875|  26.3k|        p->mark = _mark;
 7876|  26.3k|        D(fprintf(stderr, "%*c%s match_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 7877|  26.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_match_stmt"));
 7878|  26.3k|    }
 7879|   158k|    _res = NULL;
 7880|   159k|  done:
 7881|   159k|    p->level--;
 7882|   159k|    return _res;
 7883|   158k|}
parser.c:subject_expr_rule:
 7888|  3.89k|{
 7889|  3.89k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  7.78k|#  define MAXSTACK 6000
  ------------------
  |  Branch (7889:9): [True: 0, False: 3.89k]
  |  Branch (7889:35): [True: 0, False: 3.89k]
  ------------------
 7890|      0|        _Pypegen_stack_overflow(p);
 7891|      0|    }
 7892|  3.89k|    if (p->error_indicator) {
  ------------------
  |  Branch (7892:9): [True: 0, False: 3.89k]
  ------------------
 7893|      0|        p->level--;
 7894|      0|        return NULL;
 7895|      0|    }
 7896|  3.89k|    expr_ty _res = NULL;
 7897|  3.89k|    int _mark = p->mark;
 7898|  3.89k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (7898:9): [True: 1.29k, False: 2.59k]
  |  Branch (7898:31): [True: 1, False: 1.29k]
  ------------------
 7899|      1|        p->error_indicator = 1;
 7900|      1|        p->level--;
 7901|      1|        return NULL;
 7902|      1|    }
 7903|  3.89k|    int _start_lineno = p->tokens[_mark]->lineno;
 7904|  3.89k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.89k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.89k]
  |  |  ------------------
  ------------------
 7905|  3.89k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 7906|  3.89k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.89k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.89k]
  |  |  ------------------
  ------------------
 7907|  3.89k|    { // star_named_expression ',' star_named_expressions?
 7908|  3.89k|        if (p->error_indicator) {
  ------------------
  |  Branch (7908:13): [True: 0, False: 3.89k]
  ------------------
 7909|      0|            p->level--;
 7910|      0|            return NULL;
 7911|      0|        }
 7912|  3.89k|        D(fprintf(stderr, "%*c> subject_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression ',' star_named_expressions?"));
 7913|  3.89k|        Token * _literal;
 7914|  3.89k|        expr_ty value;
 7915|  3.89k|        void *values;
 7916|  3.89k|        if (
 7917|  3.89k|            (value = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (7917:13): [True: 2.72k, False: 1.16k]
  ------------------
 7918|  2.72k|            &&
 7919|  2.72k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (7919:13): [True: 242, False: 2.48k]
  ------------------
 7920|    242|            &&
 7921|    242|            (values = star_named_expressions_rule(p), !p->error_indicator)  // star_named_expressions?
  ------------------
  |  Branch (7921:13): [True: 240, False: 2]
  ------------------
 7922|  3.89k|        )
 7923|    240|        {
 7924|    240|            D(fprintf(stderr, "%*c+ subject_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_named_expression ',' star_named_expressions?"));
 7925|    240|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7926|    240|            if (_token == NULL) {
  ------------------
  |  Branch (7926:17): [True: 0, False: 240]
  ------------------
 7927|      0|                p->level--;
 7928|      0|                return NULL;
 7929|      0|            }
 7930|    240|            int _end_lineno = _token->end_lineno;
 7931|    240|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    240|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 240]
  |  |  ------------------
  ------------------
 7932|    240|            int _end_col_offset = _token->end_col_offset;
 7933|    240|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    240|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 240]
  |  |  ------------------
  ------------------
 7934|    240|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , value , values ) ) , Load , EXTRA );
  ------------------
  |  |  245|    240|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , value , values ) ) , Load , EXTRA );
  ------------------
  |  |  281|    240|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 7935|    240|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7935:18): [True: 0, False: 240]
  |  Branch (7935:34): [True: 0, False: 240]
  |  Branch (7935:57): [True: 0, False: 0]
  ------------------
 7936|      0|                p->error_indicator = 1;
 7937|      0|                p->level--;
 7938|      0|                return NULL;
 7939|      0|            }
 7940|    240|            goto done;
 7941|    240|        }
 7942|  3.65k|        p->mark = _mark;
 7943|  3.65k|        D(fprintf(stderr, "%*c%s subject_expr[%d-%d]: %s failed!\n", p->level, ' ',
 7944|  3.65k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression ',' star_named_expressions?"));
 7945|  3.65k|    }
 7946|      0|    { // named_expression
 7947|  3.65k|        if (p->error_indicator) {
  ------------------
  |  Branch (7947:13): [True: 4, False: 3.64k]
  ------------------
 7948|      4|            p->level--;
 7949|      4|            return NULL;
 7950|      4|        }
 7951|  3.64k|        D(fprintf(stderr, "%*c> subject_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "named_expression"));
 7952|  3.64k|        expr_ty named_expression_var;
 7953|  3.64k|        if (
 7954|  3.64k|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (7954:13): [True: 2.48k, False: 1.16k]
  ------------------
 7955|  3.64k|        )
 7956|  2.48k|        {
 7957|  2.48k|            D(fprintf(stderr, "%*c+ subject_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "named_expression"));
 7958|  2.48k|            _res = named_expression_var;
 7959|  2.48k|            goto done;
 7960|  2.48k|        }
 7961|  1.16k|        p->mark = _mark;
 7962|  1.16k|        D(fprintf(stderr, "%*c%s subject_expr[%d-%d]: %s failed!\n", p->level, ' ',
 7963|  1.16k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "named_expression"));
 7964|  1.16k|    }
 7965|  1.16k|    _res = NULL;
 7966|  3.88k|  done:
 7967|  3.88k|    p->level--;
 7968|  3.88k|    return _res;
 7969|  1.16k|}
parser.c:_loop1_38_rule:
30961|    799|{
30962|    799|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.59k|#  define MAXSTACK 6000
  ------------------
  |  Branch (30962:9): [True: 0, False: 799]
  |  Branch (30962:35): [True: 0, False: 799]
  ------------------
30963|      0|        _Pypegen_stack_overflow(p);
30964|      0|    }
30965|    799|    if (p->error_indicator) {
  ------------------
  |  Branch (30965:9): [True: 0, False: 799]
  ------------------
30966|      0|        p->level--;
30967|      0|        return NULL;
30968|      0|    }
30969|    799|    void *_res = NULL;
30970|    799|    int _mark = p->mark;
30971|    799|    void **_children = PyMem_Malloc(sizeof(void *));
30972|    799|    if (!_children) {
  ------------------
  |  Branch (30972:9): [True: 0, False: 799]
  ------------------
30973|      0|        p->error_indicator = 1;
30974|      0|        PyErr_NoMemory();
30975|      0|        p->level--;
30976|      0|        return NULL;
30977|      0|    }
30978|    799|    Py_ssize_t _children_capacity = 1;
30979|    799|    Py_ssize_t _n = 0;
30980|    799|    { // case_block
30981|    799|        if (p->error_indicator) {
  ------------------
  |  Branch (30981:13): [True: 0, False: 799]
  ------------------
30982|      0|            p->level--;
30983|      0|            return NULL;
30984|      0|        }
30985|    799|        D(fprintf(stderr, "%*c> _loop1_38[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "case_block"));
30986|    799|        match_case_ty case_block_var;
30987|    799|        while (
30988|  3.14k|            (case_block_var = case_block_rule(p))  // case_block
  ------------------
  |  Branch (30988:13): [True: 2.35k, False: 799]
  ------------------
30989|    799|        )
30990|  2.35k|        {
30991|  2.35k|            _res = case_block_var;
30992|  2.35k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30992:17): [True: 391, False: 1.95k]
  ------------------
30993|    391|                _children_capacity *= 2;
30994|    391|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30995|    391|                if (!_new_children) {
  ------------------
  |  Branch (30995:21): [True: 0, False: 391]
  ------------------
30996|      0|                    PyMem_Free(_children);
30997|      0|                    p->error_indicator = 1;
30998|      0|                    PyErr_NoMemory();
30999|      0|                    p->level--;
31000|      0|                    return NULL;
31001|      0|                }
31002|    391|                _children = _new_children;
31003|    391|            }
31004|  2.35k|            _children[_n++] = _res;
31005|  2.35k|            _mark = p->mark;
31006|  2.35k|        }
31007|    799|        p->mark = _mark;
31008|    799|        D(fprintf(stderr, "%*c%s _loop1_38[%d-%d]: %s failed!\n", p->level, ' ',
31009|    799|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "case_block"));
31010|    799|    }
31011|    799|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (31011:9): [True: 452, False: 347]
  |  Branch (31011:20): [True: 12, False: 335]
  ------------------
31012|    464|        PyMem_Free(_children);
31013|    464|        p->level--;
31014|    464|        return NULL;
31015|    464|    }
31016|    335|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
31017|    335|    if (!_seq) {
  ------------------
  |  Branch (31017:9): [True: 0, False: 335]
  ------------------
31018|      0|        PyMem_Free(_children);
31019|      0|        p->error_indicator = 1;
31020|      0|        PyErr_NoMemory();
31021|      0|        p->level--;
31022|      0|        return NULL;
31023|      0|    }
31024|  2.56k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  2.22k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  2.56k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (31024:28): [True: 2.22k, False: 335]
  ------------------
31025|    335|    PyMem_Free(_children);
31026|    335|    p->level--;
31027|    335|    return _seq;
31028|    335|}
parser.c:case_block_rule:
 7974|  3.14k|{
 7975|  3.14k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  6.29k|#  define MAXSTACK 6000
  ------------------
  |  Branch (7975:9): [True: 0, False: 3.14k]
  |  Branch (7975:35): [True: 0, False: 3.14k]
  ------------------
 7976|      0|        _Pypegen_stack_overflow(p);
 7977|      0|    }
 7978|  3.14k|    if (p->error_indicator) {
  ------------------
  |  Branch (7978:9): [True: 0, False: 3.14k]
  ------------------
 7979|      0|        p->level--;
 7980|      0|        return NULL;
 7981|      0|    }
 7982|  3.14k|    match_case_ty _res = NULL;
 7983|  3.14k|    int _mark = p->mark;
 7984|  3.14k|    if (p->call_invalid_rules) { // invalid_case_block
  ------------------
  |  Branch (7984:9): [True: 720, False: 2.42k]
  ------------------
 7985|    720|        if (p->error_indicator) {
  ------------------
  |  Branch (7985:13): [True: 0, False: 720]
  ------------------
 7986|      0|            p->level--;
 7987|      0|            return NULL;
 7988|      0|        }
 7989|    720|        D(fprintf(stderr, "%*c> case_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_case_block"));
 7990|    720|        void *invalid_case_block_var;
 7991|    720|        if (
 7992|    720|            (invalid_case_block_var = invalid_case_block_rule(p))  // invalid_case_block
  ------------------
  |  Branch (7992:13): [True: 0, False: 720]
  ------------------
 7993|    720|        )
 7994|      0|        {
 7995|      0|            D(fprintf(stderr, "%*c+ case_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_case_block"));
 7996|      0|            _res = invalid_case_block_var;
 7997|      0|            goto done;
 7998|      0|        }
 7999|    720|        p->mark = _mark;
 8000|    720|        D(fprintf(stderr, "%*c%s case_block[%d-%d]: %s failed!\n", p->level, ' ',
 8001|    720|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_case_block"));
 8002|    720|    }
 8003|  3.14k|    { // "case" patterns guard? ':' block
 8004|  3.14k|        if (p->error_indicator) {
  ------------------
  |  Branch (8004:13): [True: 48, False: 3.10k]
  ------------------
 8005|     48|            p->level--;
 8006|     48|            return NULL;
 8007|     48|        }
 8008|  3.10k|        D(fprintf(stderr, "%*c> case_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"case\" patterns guard? ':' block"));
 8009|  3.10k|        expr_ty _keyword;
 8010|  3.10k|        Token * _literal;
 8011|  3.10k|        asdl_stmt_seq* body;
 8012|  3.10k|        void *guard;
 8013|  3.10k|        pattern_ty pattern;
 8014|  3.10k|        if (
 8015|  3.10k|            (_keyword = _PyPegen_expect_soft_keyword(p, "case"))  // soft_keyword='"case"'
  ------------------
  |  Branch (8015:13): [True: 2.79k, False: 308]
  ------------------
 8016|  2.79k|            &&
 8017|  2.79k|            (pattern = patterns_rule(p))  // patterns
  ------------------
  |  Branch (8017:13): [True: 2.60k, False: 186]
  ------------------
 8018|  2.60k|            &&
 8019|  2.60k|            (guard = guard_rule(p), !p->error_indicator)  // guard?
  ------------------
  |  Branch (8019:13): [True: 2.60k, False: 2]
  ------------------
 8020|  2.60k|            &&
 8021|  2.60k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (8021:13): [True: 2.37k, False: 230]
  ------------------
 8022|  2.37k|            &&
 8023|  2.37k|            (body = block_rule(p))  // block
  ------------------
  |  Branch (8023:13): [True: 2.35k, False: 25]
  ------------------
 8024|  3.10k|        )
 8025|  2.35k|        {
 8026|  2.35k|            D(fprintf(stderr, "%*c+ case_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"case\" patterns guard? ':' block"));
 8027|  2.35k|            _res = _PyAST_match_case ( pattern , guard , body , p -> arena );
 8028|  2.35k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8028:18): [True: 0, False: 2.35k]
  |  Branch (8028:34): [True: 0, False: 2.35k]
  |  Branch (8028:57): [True: 0, False: 0]
  ------------------
 8029|      0|                p->error_indicator = 1;
 8030|      0|                p->level--;
 8031|      0|                return NULL;
 8032|      0|            }
 8033|  2.35k|            goto done;
 8034|  2.35k|        }
 8035|    751|        p->mark = _mark;
 8036|    751|        D(fprintf(stderr, "%*c%s case_block[%d-%d]: %s failed!\n", p->level, ' ',
 8037|    751|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"case\" patterns guard? ':' block"));
 8038|    751|    }
 8039|    751|    _res = NULL;
 8040|  3.10k|  done:
 8041|  3.10k|    p->level--;
 8042|  3.10k|    return _res;
 8043|    751|}
parser.c:invalid_case_block_rule:
25794|    720|{
25795|    720|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.44k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25795:9): [True: 0, False: 720]
  |  Branch (25795:35): [True: 0, False: 720]
  ------------------
25796|      0|        _Pypegen_stack_overflow(p);
25797|      0|    }
25798|    720|    if (p->error_indicator) {
  ------------------
  |  Branch (25798:9): [True: 0, False: 720]
  ------------------
25799|      0|        p->level--;
25800|      0|        return NULL;
25801|      0|    }
25802|    720|    void * _res = NULL;
25803|    720|    int _mark = p->mark;
25804|    720|    { // "case" patterns guard? NEWLINE
25805|    720|        if (p->error_indicator) {
  ------------------
  |  Branch (25805:13): [True: 0, False: 720]
  ------------------
25806|      0|            p->level--;
25807|      0|            return NULL;
25808|      0|        }
25809|    720|        D(fprintf(stderr, "%*c> invalid_case_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"case\" patterns guard? NEWLINE"));
25810|    720|        expr_ty _keyword;
25811|    720|        void *_opt_var;
25812|    720|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|    720|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 720]
  |  |  ------------------
  ------------------
25813|    720|        Token * newline_var;
25814|    720|        pattern_ty patterns_var;
25815|    720|        if (
25816|    720|            (_keyword = _PyPegen_expect_soft_keyword(p, "case"))  // soft_keyword='"case"'
  ------------------
  |  Branch (25816:13): [True: 700, False: 20]
  ------------------
25817|    700|            &&
25818|    700|            (patterns_var = patterns_rule(p))  // patterns
  ------------------
  |  Branch (25818:13): [True: 610, False: 90]
  ------------------
25819|    610|            &&
25820|    610|            (_opt_var = guard_rule(p), !p->error_indicator)  // guard?
  ------------------
  |  Branch (25820:13): [True: 609, False: 1]
  ------------------
25821|    609|            &&
25822|    609|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    609|#define NEWLINE         4
  ------------------
  |  Branch (25822:13): [True: 23, False: 586]
  ------------------
25823|    720|        )
25824|     23|        {
25825|     23|            D(fprintf(stderr, "%*c+ invalid_case_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"case\" patterns guard? NEWLINE"));
25826|     23|            _res = RAISE_SYNTAX_ERROR ( "expected ':'" );
  ------------------
  |  |  207|     23|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
25827|     23|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25827:18): [True: 23, False: 0]
  |  Branch (25827:34): [True: 0, False: 0]
  |  Branch (25827:57): [True: 23, False: 0]
  ------------------
25828|     23|                p->error_indicator = 1;
25829|     23|                p->level--;
25830|     23|                return NULL;
25831|     23|            }
25832|      0|            goto done;
25833|     23|        }
25834|    697|        p->mark = _mark;
25835|    697|        D(fprintf(stderr, "%*c%s invalid_case_block[%d-%d]: %s failed!\n", p->level, ' ',
25836|    697|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"case\" patterns guard? NEWLINE"));
25837|    697|    }
25838|      0|    { // "case" patterns guard? ':' NEWLINE !INDENT
25839|    697|        if (p->error_indicator) {
  ------------------
  |  Branch (25839:13): [True: 21, False: 676]
  ------------------
25840|     21|            p->level--;
25841|     21|            return NULL;
25842|     21|        }
25843|    676|        D(fprintf(stderr, "%*c> invalid_case_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"case\" patterns guard? ':' NEWLINE !INDENT"));
25844|    676|        Token * _literal;
25845|    676|        void *_opt_var;
25846|    676|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|    676|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 676]
  |  |  ------------------
  ------------------
25847|    676|        expr_ty a;
25848|    676|        Token * newline_var;
25849|    676|        pattern_ty patterns_var;
25850|    676|        if (
25851|    676|            (a = _PyPegen_expect_soft_keyword(p, "case"))  // soft_keyword='"case"'
  ------------------
  |  Branch (25851:13): [True: 656, False: 20]
  ------------------
25852|    656|            &&
25853|    656|            (patterns_var = patterns_rule(p))  // patterns
  ------------------
  |  Branch (25853:13): [True: 586, False: 70]
  ------------------
25854|    586|            &&
25855|    586|            (_opt_var = guard_rule(p), !p->error_indicator)  // guard?
  ------------------
  |  Branch (25855:13): [True: 586, False: 0]
  ------------------
25856|    586|            &&
25857|    586|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (25857:13): [True: 492, False: 94]
  ------------------
25858|    492|            &&
25859|    492|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    492|#define NEWLINE         4
  ------------------
  |  Branch (25859:13): [True: 152, False: 340]
  ------------------
25860|    152|            &&
25861|    152|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|    152|#define INDENT          5
  ------------------
  |  Branch (25861:13): [True: 4, False: 148]
  ------------------
25862|    676|        )
25863|      4|        {
25864|      4|            D(fprintf(stderr, "%*c+ invalid_case_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"case\" patterns guard? ':' NEWLINE !INDENT"));
25865|      4|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'case' statement on line %d" , a -> lineno );
  ------------------
  |  |  208|      4|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
25866|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25866:18): [True: 4, False: 0]
  |  Branch (25866:34): [True: 0, False: 0]
  |  Branch (25866:57): [True: 4, False: 0]
  ------------------
25867|      4|                p->error_indicator = 1;
25868|      4|                p->level--;
25869|      4|                return NULL;
25870|      4|            }
25871|      0|            goto done;
25872|      4|        }
25873|    672|        p->mark = _mark;
25874|    672|        D(fprintf(stderr, "%*c%s invalid_case_block[%d-%d]: %s failed!\n", p->level, ' ',
25875|    672|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"case\" patterns guard? ':' NEWLINE !INDENT"));
25876|    672|    }
25877|    672|    _res = NULL;
25878|    672|  done:
25879|    672|    p->level--;
25880|    672|    return _res;
25881|    672|}
parser.c:patterns_rule:
 8094|  4.58k|{
 8095|  4.58k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  9.16k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8095:9): [True: 0, False: 4.58k]
  |  Branch (8095:35): [True: 0, False: 4.58k]
  ------------------
 8096|      0|        _Pypegen_stack_overflow(p);
 8097|      0|    }
 8098|  4.58k|    if (p->error_indicator) {
  ------------------
  |  Branch (8098:9): [True: 0, False: 4.58k]
  ------------------
 8099|      0|        p->level--;
 8100|      0|        return NULL;
 8101|      0|    }
 8102|  4.58k|    pattern_ty _res = NULL;
 8103|  4.58k|    int _mark = p->mark;
 8104|  4.58k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (8104:9): [True: 2.14k, False: 2.43k]
  |  Branch (8104:31): [True: 1, False: 2.14k]
  ------------------
 8105|      1|        p->error_indicator = 1;
 8106|      1|        p->level--;
 8107|      1|        return NULL;
 8108|      1|    }
 8109|  4.57k|    int _start_lineno = p->tokens[_mark]->lineno;
 8110|  4.57k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.57k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.57k]
  |  |  ------------------
  ------------------
 8111|  4.57k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 8112|  4.57k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.57k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.57k]
  |  |  ------------------
  ------------------
 8113|  4.57k|    { // open_sequence_pattern
 8114|  4.57k|        if (p->error_indicator) {
  ------------------
  |  Branch (8114:13): [True: 0, False: 4.57k]
  ------------------
 8115|      0|            p->level--;
 8116|      0|            return NULL;
 8117|      0|        }
 8118|  4.57k|        D(fprintf(stderr, "%*c> patterns[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "open_sequence_pattern"));
 8119|  4.57k|        asdl_pattern_seq* patterns;
 8120|  4.57k|        if (
 8121|  4.57k|            (patterns = (asdl_pattern_seq*)open_sequence_pattern_rule(p))  // open_sequence_pattern
  ------------------
  |  Branch (8121:13): [True: 2.78k, False: 1.79k]
  ------------------
 8122|  4.57k|        )
 8123|  2.78k|        {
 8124|  2.78k|            D(fprintf(stderr, "%*c+ patterns[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "open_sequence_pattern"));
 8125|  2.78k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8126|  2.78k|            if (_token == NULL) {
  ------------------
  |  Branch (8126:17): [True: 0, False: 2.78k]
  ------------------
 8127|      0|                p->level--;
 8128|      0|                return NULL;
 8129|      0|            }
 8130|  2.78k|            int _end_lineno = _token->end_lineno;
 8131|  2.78k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.78k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.78k]
  |  |  ------------------
  ------------------
 8132|  2.78k|            int _end_col_offset = _token->end_col_offset;
 8133|  2.78k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.78k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.78k]
  |  |  ------------------
  ------------------
 8134|  2.78k|            _res = _PyAST_MatchSequence ( patterns , EXTRA );
  ------------------
  |  |  281|  2.78k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8135|  2.78k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8135:18): [True: 0, False: 2.78k]
  |  Branch (8135:34): [True: 0, False: 2.78k]
  |  Branch (8135:57): [True: 0, False: 0]
  ------------------
 8136|      0|                p->error_indicator = 1;
 8137|      0|                p->level--;
 8138|      0|                return NULL;
 8139|      0|            }
 8140|  2.78k|            goto done;
 8141|  2.78k|        }
 8142|  1.79k|        p->mark = _mark;
 8143|  1.79k|        D(fprintf(stderr, "%*c%s patterns[%d-%d]: %s failed!\n", p->level, ' ',
 8144|  1.79k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "open_sequence_pattern"));
 8145|  1.79k|    }
 8146|      0|    { // pattern
 8147|  1.79k|        if (p->error_indicator) {
  ------------------
  |  Branch (8147:13): [True: 182, False: 1.61k]
  ------------------
 8148|    182|            p->level--;
 8149|    182|            return NULL;
 8150|    182|        }
 8151|  1.61k|        D(fprintf(stderr, "%*c> patterns[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "pattern"));
 8152|  1.61k|        pattern_ty pattern_var;
 8153|  1.61k|        if (
 8154|  1.61k|            (pattern_var = pattern_rule(p))  // pattern
  ------------------
  |  Branch (8154:13): [True: 1.13k, False: 479]
  ------------------
 8155|  1.61k|        )
 8156|  1.13k|        {
 8157|  1.13k|            D(fprintf(stderr, "%*c+ patterns[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "pattern"));
 8158|  1.13k|            _res = pattern_var;
 8159|  1.13k|            goto done;
 8160|  1.13k|        }
 8161|    479|        p->mark = _mark;
 8162|    479|        D(fprintf(stderr, "%*c%s patterns[%d-%d]: %s failed!\n", p->level, ' ',
 8163|    479|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "pattern"));
 8164|    479|    }
 8165|    479|    _res = NULL;
 8166|  4.39k|  done:
 8167|  4.39k|    p->level--;
 8168|  4.39k|    return _res;
 8169|    479|}
parser.c:open_sequence_pattern_rule:
 9952|  7.62k|{
 9953|  7.62k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  15.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9953:9): [True: 0, False: 7.62k]
  |  Branch (9953:35): [True: 0, False: 7.62k]
  ------------------
 9954|      0|        _Pypegen_stack_overflow(p);
 9955|      0|    }
 9956|  7.62k|    if (p->error_indicator) {
  ------------------
  |  Branch (9956:9): [True: 0, False: 7.62k]
  ------------------
 9957|      0|        p->level--;
 9958|      0|        return NULL;
 9959|      0|    }
 9960|  7.62k|    asdl_seq* _res = NULL;
 9961|  7.62k|    int _mark = p->mark;
 9962|  7.62k|    { // maybe_star_pattern ',' maybe_sequence_pattern?
 9963|  7.62k|        if (p->error_indicator) {
  ------------------
  |  Branch (9963:13): [True: 0, False: 7.62k]
  ------------------
 9964|      0|            p->level--;
 9965|      0|            return NULL;
 9966|      0|        }
 9967|  7.62k|        D(fprintf(stderr, "%*c> open_sequence_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "maybe_star_pattern ',' maybe_sequence_pattern?"));
 9968|  7.62k|        Token * _literal;
 9969|  7.62k|        pattern_ty pattern;
 9970|  7.62k|        void *patterns;
 9971|  7.62k|        if (
 9972|  7.62k|            (pattern = maybe_star_pattern_rule(p))  // maybe_star_pattern
  ------------------
  |  Branch (9972:13): [True: 5.61k, False: 2.00k]
  ------------------
 9973|  5.61k|            &&
 9974|  5.61k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (9974:13): [True: 3.68k, False: 1.92k]
  ------------------
 9975|  3.68k|            &&
 9976|  3.68k|            (patterns = maybe_sequence_pattern_rule(p), !p->error_indicator)  // maybe_sequence_pattern?
  ------------------
  |  Branch (9976:13): [True: 3.24k, False: 443]
  ------------------
 9977|  7.62k|        )
 9978|  3.24k|        {
 9979|  3.24k|            D(fprintf(stderr, "%*c+ open_sequence_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "maybe_star_pattern ',' maybe_sequence_pattern?"));
 9980|  3.24k|            _res = _PyPegen_seq_insert_in_front ( p , pattern , patterns );
 9981|  3.24k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9981:18): [True: 0, False: 3.24k]
  |  Branch (9981:34): [True: 0, False: 3.24k]
  |  Branch (9981:57): [True: 0, False: 0]
  ------------------
 9982|      0|                p->error_indicator = 1;
 9983|      0|                p->level--;
 9984|      0|                return NULL;
 9985|      0|            }
 9986|  3.24k|            goto done;
 9987|  3.24k|        }
 9988|  4.37k|        p->mark = _mark;
 9989|  4.37k|        D(fprintf(stderr, "%*c%s open_sequence_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 9990|  4.37k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "maybe_star_pattern ',' maybe_sequence_pattern?"));
 9991|  4.37k|    }
 9992|  4.37k|    _res = NULL;
 9993|  7.62k|  done:
 9994|  7.62k|    p->level--;
 9995|  7.62k|    return _res;
 9996|  4.37k|}
parser.c:maybe_star_pattern_rule:
10048|  32.8k|{
10049|  32.8k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  65.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10049:9): [True: 0, False: 32.8k]
  |  Branch (10049:35): [True: 0, False: 32.8k]
  ------------------
10050|      0|        _Pypegen_stack_overflow(p);
10051|      0|    }
10052|  32.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (10052:9): [True: 0, False: 32.8k]
  ------------------
10053|      0|        p->level--;
10054|      0|        return NULL;
10055|      0|    }
10056|  32.8k|    pattern_ty _res = NULL;
10057|  32.8k|    int _mark = p->mark;
10058|  32.8k|    { // star_pattern
10059|  32.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (10059:13): [True: 0, False: 32.8k]
  ------------------
10060|      0|            p->level--;
10061|      0|            return NULL;
10062|      0|        }
10063|  32.8k|        D(fprintf(stderr, "%*c> maybe_star_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_pattern"));
10064|  32.8k|        pattern_ty star_pattern_var;
10065|  32.8k|        if (
10066|  32.8k|            (star_pattern_var = star_pattern_rule(p))  // star_pattern
  ------------------
  |  Branch (10066:13): [True: 2.73k, False: 30.1k]
  ------------------
10067|  32.8k|        )
10068|  2.73k|        {
10069|  2.73k|            D(fprintf(stderr, "%*c+ maybe_star_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_pattern"));
10070|  2.73k|            _res = star_pattern_var;
10071|  2.73k|            goto done;
10072|  2.73k|        }
10073|  30.1k|        p->mark = _mark;
10074|  30.1k|        D(fprintf(stderr, "%*c%s maybe_star_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10075|  30.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_pattern"));
10076|  30.1k|    }
10077|      0|    { // pattern
10078|  30.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (10078:13): [True: 13, False: 30.1k]
  ------------------
10079|     13|            p->level--;
10080|     13|            return NULL;
10081|     13|        }
10082|  30.1k|        D(fprintf(stderr, "%*c> maybe_star_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "pattern"));
10083|  30.1k|        pattern_ty pattern_var;
10084|  30.1k|        if (
10085|  30.1k|            (pattern_var = pattern_rule(p))  // pattern
  ------------------
  |  Branch (10085:13): [True: 24.8k, False: 5.30k]
  ------------------
10086|  30.1k|        )
10087|  24.8k|        {
10088|  24.8k|            D(fprintf(stderr, "%*c+ maybe_star_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "pattern"));
10089|  24.8k|            _res = pattern_var;
10090|  24.8k|            goto done;
10091|  24.8k|        }
10092|  5.30k|        p->mark = _mark;
10093|  5.30k|        D(fprintf(stderr, "%*c%s maybe_star_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10094|  5.30k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "pattern"));
10095|  5.30k|    }
10096|  5.30k|    _res = NULL;
10097|  32.8k|  done:
10098|  32.8k|    p->level--;
10099|  32.8k|    return _res;
10100|  5.30k|}
parser.c:star_pattern_rule:
10105|  32.8k|{
10106|  32.8k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  65.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10106:9): [True: 0, False: 32.8k]
  |  Branch (10106:35): [True: 0, False: 32.8k]
  ------------------
10107|      0|        _Pypegen_stack_overflow(p);
10108|      0|    }
10109|  32.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (10109:9): [True: 0, False: 32.8k]
  ------------------
10110|      0|        p->level--;
10111|      0|        return NULL;
10112|      0|    }
10113|  32.8k|    pattern_ty _res = NULL;
10114|  32.8k|    if (_PyPegen_is_memoized(p, star_pattern_type, &_res)) {
  ------------------
  |  |  181|  32.8k|#define star_pattern_type 1092
  ------------------
  |  Branch (10114:9): [True: 3.74k, False: 29.1k]
  ------------------
10115|  3.74k|        p->level--;
10116|  3.74k|        return _res;
10117|  3.74k|    }
10118|  29.1k|    int _mark = p->mark;
10119|  29.1k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (10119:9): [True: 0, False: 29.1k]
  |  Branch (10119:31): [True: 0, False: 0]
  ------------------
10120|      0|        p->error_indicator = 1;
10121|      0|        p->level--;
10122|      0|        return NULL;
10123|      0|    }
10124|  29.1k|    int _start_lineno = p->tokens[_mark]->lineno;
10125|  29.1k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  29.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 29.1k]
  |  |  ------------------
  ------------------
10126|  29.1k|    int _start_col_offset = p->tokens[_mark]->col_offset;
10127|  29.1k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  29.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 29.1k]
  |  |  ------------------
  ------------------
10128|  29.1k|    { // '*' pattern_capture_target
10129|  29.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (10129:13): [True: 0, False: 29.1k]
  ------------------
10130|      0|            p->level--;
10131|      0|            return NULL;
10132|      0|        }
10133|  29.1k|        D(fprintf(stderr, "%*c> star_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' pattern_capture_target"));
10134|  29.1k|        Token * _literal;
10135|  29.1k|        expr_ty target;
10136|  29.1k|        if (
10137|  29.1k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (10137:13): [True: 2.40k, False: 26.7k]
  ------------------
10138|  2.40k|            &&
10139|  2.40k|            (target = pattern_capture_target_rule(p))  // pattern_capture_target
  ------------------
  |  Branch (10139:13): [True: 1.99k, False: 417]
  ------------------
10140|  29.1k|        )
10141|  1.99k|        {
10142|  1.99k|            D(fprintf(stderr, "%*c+ star_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' pattern_capture_target"));
10143|  1.99k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
10144|  1.99k|            if (_token == NULL) {
  ------------------
  |  Branch (10144:17): [True: 0, False: 1.99k]
  ------------------
10145|      0|                p->level--;
10146|      0|                return NULL;
10147|      0|            }
10148|  1.99k|            int _end_lineno = _token->end_lineno;
10149|  1.99k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.99k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.99k]
  |  |  ------------------
  ------------------
10150|  1.99k|            int _end_col_offset = _token->end_col_offset;
10151|  1.99k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.99k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.99k]
  |  |  ------------------
  ------------------
10152|  1.99k|            _res = _PyAST_MatchStar ( target -> v . Name . id , EXTRA );
  ------------------
  |  |  281|  1.99k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
10153|  1.99k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10153:18): [True: 0, False: 1.99k]
  |  Branch (10153:34): [True: 0, False: 1.99k]
  |  Branch (10153:57): [True: 0, False: 0]
  ------------------
10154|      0|                p->error_indicator = 1;
10155|      0|                p->level--;
10156|      0|                return NULL;
10157|      0|            }
10158|  1.99k|            goto done;
10159|  1.99k|        }
10160|  27.1k|        p->mark = _mark;
10161|  27.1k|        D(fprintf(stderr, "%*c%s star_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10162|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' pattern_capture_target"));
10163|  27.1k|    }
10164|      0|    { // '*' wildcard_pattern
10165|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (10165:13): [True: 1, False: 27.1k]
  ------------------
10166|      1|            p->level--;
10167|      1|            return NULL;
10168|      1|        }
10169|  27.1k|        D(fprintf(stderr, "%*c> star_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' wildcard_pattern"));
10170|  27.1k|        Token * _literal;
10171|  27.1k|        pattern_ty wildcard_pattern_var;
10172|  27.1k|        if (
10173|  27.1k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (10173:13): [True: 416, False: 26.7k]
  ------------------
10174|    416|            &&
10175|    416|            (wildcard_pattern_var = wildcard_pattern_rule(p))  // wildcard_pattern
  ------------------
  |  Branch (10175:13): [True: 402, False: 14]
  ------------------
10176|  27.1k|        )
10177|    402|        {
10178|    402|            D(fprintf(stderr, "%*c+ star_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' wildcard_pattern"));
10179|    402|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
10180|    402|            if (_token == NULL) {
  ------------------
  |  Branch (10180:17): [True: 0, False: 402]
  ------------------
10181|      0|                p->level--;
10182|      0|                return NULL;
10183|      0|            }
10184|    402|            int _end_lineno = _token->end_lineno;
10185|    402|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    402|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 402]
  |  |  ------------------
  ------------------
10186|    402|            int _end_col_offset = _token->end_col_offset;
10187|    402|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    402|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 402]
  |  |  ------------------
  ------------------
10188|    402|            _res = _PyAST_MatchStar ( NULL , EXTRA );
  ------------------
  |  |  281|    402|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
10189|    402|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10189:18): [True: 0, False: 402]
  |  Branch (10189:34): [True: 0, False: 402]
  |  Branch (10189:57): [True: 0, False: 0]
  ------------------
10190|      0|                p->error_indicator = 1;
10191|      0|                p->level--;
10192|      0|                return NULL;
10193|      0|            }
10194|    402|            goto done;
10195|    402|        }
10196|  26.7k|        p->mark = _mark;
10197|  26.7k|        D(fprintf(stderr, "%*c%s star_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10198|  26.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' wildcard_pattern"));
10199|  26.7k|    }
10200|  26.7k|    _res = NULL;
10201|  29.1k|  done:
10202|  29.1k|    _PyPegen_insert_memo(p, _mark, star_pattern_type, _res);
  ------------------
  |  |  181|  29.1k|#define star_pattern_type 1092
  ------------------
10203|  29.1k|    p->level--;
10204|  29.1k|    return _res;
10205|  26.7k|}
parser.c:pattern_capture_target_rule:
 9465|  45.1k|{
 9466|  45.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  90.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9466:9): [True: 0, False: 45.1k]
  |  Branch (9466:35): [True: 0, False: 45.1k]
  ------------------
 9467|      0|        _Pypegen_stack_overflow(p);
 9468|      0|    }
 9469|  45.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (9469:9): [True: 0, False: 45.1k]
  ------------------
 9470|      0|        p->level--;
 9471|      0|        return NULL;
 9472|      0|    }
 9473|  45.1k|    expr_ty _res = NULL;
 9474|  45.1k|    int _mark = p->mark;
 9475|  45.1k|    { // !"_" NAME !('.' | '(' | '=')
 9476|  45.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (9476:13): [True: 0, False: 45.1k]
  ------------------
 9477|      0|            p->level--;
 9478|      0|            return NULL;
 9479|      0|        }
 9480|  45.1k|        D(fprintf(stderr, "%*c> pattern_capture_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "!\"_\" NAME !('.' | '(' | '=')"));
 9481|  45.1k|        expr_ty name;
 9482|  45.1k|        if (
 9483|  45.1k|            _PyPegen_lookahead_with_string(0, _PyPegen_expect_soft_keyword, p, "_")
  ------------------
  |  Branch (9483:13): [True: 42.6k, False: 2.51k]
  ------------------
 9484|  42.6k|            &&
 9485|  42.6k|            (name = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (9485:13): [True: 34.9k, False: 7.75k]
  ------------------
 9486|  34.9k|            &&
 9487|  34.9k|            _PyPegen_lookahead(0, _tmp_43_rule, p)
  ------------------
  |  Branch (9487:13): [True: 25.1k, False: 9.74k]
  ------------------
 9488|  45.1k|        )
 9489|  25.1k|        {
 9490|  25.1k|            D(fprintf(stderr, "%*c+ pattern_capture_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "!\"_\" NAME !('.' | '(' | '=')"));
 9491|  25.1k|            _res = _PyPegen_set_expr_context ( p , name , Store );
 9492|  25.1k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9492:18): [True: 0, False: 25.1k]
  |  Branch (9492:34): [True: 46, False: 25.1k]
  |  Branch (9492:57): [True: 46, False: 0]
  ------------------
 9493|     46|                p->error_indicator = 1;
 9494|     46|                p->level--;
 9495|     46|                return NULL;
 9496|     46|            }
 9497|  25.1k|            goto done;
 9498|  25.1k|        }
 9499|  20.0k|        p->mark = _mark;
 9500|  20.0k|        D(fprintf(stderr, "%*c%s pattern_capture_target[%d-%d]: %s failed!\n", p->level, ' ',
 9501|  20.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!\"_\" NAME !('.' | '(' | '=')"));
 9502|  20.0k|    }
 9503|  20.0k|    _res = NULL;
 9504|  45.1k|  done:
 9505|  45.1k|    p->level--;
 9506|  45.1k|    return _res;
 9507|  20.0k|}
parser.c:_tmp_43_rule:
31283|  36.0k|{
31284|  36.0k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  72.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (31284:9): [True: 0, False: 36.0k]
  |  Branch (31284:35): [True: 0, False: 36.0k]
  ------------------
31285|      0|        _Pypegen_stack_overflow(p);
31286|      0|    }
31287|  36.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (31287:9): [True: 0, False: 36.0k]
  ------------------
31288|      0|        p->level--;
31289|      0|        return NULL;
31290|      0|    }
31291|  36.0k|    void * _res = NULL;
31292|  36.0k|    int _mark = p->mark;
31293|  36.0k|    { // '.'
31294|  36.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (31294:13): [True: 0, False: 36.0k]
  ------------------
31295|      0|            p->level--;
31296|      0|            return NULL;
31297|      0|        }
31298|  36.0k|        D(fprintf(stderr, "%*c> _tmp_43[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'.'"));
31299|  36.0k|        Token * _literal;
31300|  36.0k|        if (
31301|  36.0k|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (31301:13): [True: 1.18k, False: 34.8k]
  ------------------
31302|  36.0k|        )
31303|  1.18k|        {
31304|  1.18k|            D(fprintf(stderr, "%*c+ _tmp_43[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'.'"));
31305|  1.18k|            _res = _literal;
31306|  1.18k|            goto done;
31307|  1.18k|        }
31308|  34.8k|        p->mark = _mark;
31309|  34.8k|        D(fprintf(stderr, "%*c%s _tmp_43[%d-%d]: %s failed!\n", p->level, ' ',
31310|  34.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'.'"));
31311|  34.8k|    }
31312|      0|    { // '('
31313|  34.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (31313:13): [True: 46, False: 34.8k]
  ------------------
31314|     46|            p->level--;
31315|     46|            return NULL;
31316|     46|        }
31317|  34.8k|        D(fprintf(stderr, "%*c> _tmp_43[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'('"));
31318|  34.8k|        Token * _literal;
31319|  34.8k|        if (
31320|  34.8k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (31320:13): [True: 5.88k, False: 28.9k]
  ------------------
31321|  34.8k|        )
31322|  5.88k|        {
31323|  5.88k|            D(fprintf(stderr, "%*c+ _tmp_43[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'('"));
31324|  5.88k|            _res = _literal;
31325|  5.88k|            goto done;
31326|  5.88k|        }
31327|  28.9k|        p->mark = _mark;
31328|  28.9k|        D(fprintf(stderr, "%*c%s _tmp_43[%d-%d]: %s failed!\n", p->level, ' ',
31329|  28.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'('"));
31330|  28.9k|    }
31331|      0|    { // '='
31332|  28.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (31332:13): [True: 0, False: 28.9k]
  ------------------
31333|      0|            p->level--;
31334|      0|            return NULL;
31335|      0|        }
31336|  28.9k|        D(fprintf(stderr, "%*c> _tmp_43[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'='"));
31337|  28.9k|        Token * _literal;
31338|  28.9k|        if (
31339|  28.9k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (31339:13): [True: 2.69k, False: 26.2k]
  ------------------
31340|  28.9k|        )
31341|  2.69k|        {
31342|  2.69k|            D(fprintf(stderr, "%*c+ _tmp_43[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'='"));
31343|  2.69k|            _res = _literal;
31344|  2.69k|            goto done;
31345|  2.69k|        }
31346|  26.2k|        p->mark = _mark;
31347|  26.2k|        D(fprintf(stderr, "%*c%s _tmp_43[%d-%d]: %s failed!\n", p->level, ' ',
31348|  26.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'='"));
31349|  26.2k|    }
31350|  26.2k|    _res = NULL;
31351|  36.0k|  done:
31352|  36.0k|    p->level--;
31353|  36.0k|    return _res;
31354|  26.2k|}
parser.c:wildcard_pattern_rule:
 9512|  19.9k|{
 9513|  19.9k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  39.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9513:9): [True: 0, False: 19.9k]
  |  Branch (9513:35): [True: 0, False: 19.9k]
  ------------------
 9514|      0|        _Pypegen_stack_overflow(p);
 9515|      0|    }
 9516|  19.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (9516:9): [True: 0, False: 19.9k]
  ------------------
 9517|      0|        p->level--;
 9518|      0|        return NULL;
 9519|      0|    }
 9520|  19.9k|    pattern_ty _res = NULL;
 9521|  19.9k|    int _mark = p->mark;
 9522|  19.9k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (9522:9): [True: 0, False: 19.9k]
  |  Branch (9522:31): [True: 0, False: 0]
  ------------------
 9523|      0|        p->error_indicator = 1;
 9524|      0|        p->level--;
 9525|      0|        return NULL;
 9526|      0|    }
 9527|  19.9k|    int _start_lineno = p->tokens[_mark]->lineno;
 9528|  19.9k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  19.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 19.9k]
  |  |  ------------------
  ------------------
 9529|  19.9k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 9530|  19.9k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  19.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 19.9k]
  |  |  ------------------
  ------------------
 9531|  19.9k|    { // "_"
 9532|  19.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (9532:13): [True: 0, False: 19.9k]
  ------------------
 9533|      0|            p->level--;
 9534|      0|            return NULL;
 9535|      0|        }
 9536|  19.9k|        D(fprintf(stderr, "%*c> wildcard_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"_\""));
 9537|  19.9k|        expr_ty _keyword;
 9538|  19.9k|        if (
 9539|  19.9k|            (_keyword = _PyPegen_expect_soft_keyword(p, "_"))  // soft_keyword='"_"'
  ------------------
  |  Branch (9539:13): [True: 2.51k, False: 17.4k]
  ------------------
 9540|  19.9k|        )
 9541|  2.51k|        {
 9542|  2.51k|            D(fprintf(stderr, "%*c+ wildcard_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"_\""));
 9543|  2.51k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9544|  2.51k|            if (_token == NULL) {
  ------------------
  |  Branch (9544:17): [True: 0, False: 2.51k]
  ------------------
 9545|      0|                p->level--;
 9546|      0|                return NULL;
 9547|      0|            }
 9548|  2.51k|            int _end_lineno = _token->end_lineno;
 9549|  2.51k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.51k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.51k]
  |  |  ------------------
  ------------------
 9550|  2.51k|            int _end_col_offset = _token->end_col_offset;
 9551|  2.51k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  2.51k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.51k]
  |  |  ------------------
  ------------------
 9552|  2.51k|            _res = _PyAST_MatchAs ( NULL , NULL , EXTRA );
  ------------------
  |  |  281|  2.51k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9553|  2.51k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9553:18): [True: 0, False: 2.51k]
  |  Branch (9553:34): [True: 0, False: 2.51k]
  |  Branch (9553:57): [True: 0, False: 0]
  ------------------
 9554|      0|                p->error_indicator = 1;
 9555|      0|                p->level--;
 9556|      0|                return NULL;
 9557|      0|            }
 9558|  2.51k|            goto done;
 9559|  2.51k|        }
 9560|  17.4k|        p->mark = _mark;
 9561|  17.4k|        D(fprintf(stderr, "%*c%s wildcard_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 9562|  17.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"_\""));
 9563|  17.4k|    }
 9564|  17.4k|    _res = NULL;
 9565|  19.9k|  done:
 9566|  19.9k|    p->level--;
 9567|  19.9k|    return _res;
 9568|  17.4k|}
parser.c:maybe_sequence_pattern_rule:
10001|  5.94k|{
10002|  5.94k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  11.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10002:9): [True: 0, False: 5.94k]
  |  Branch (10002:35): [True: 0, False: 5.94k]
  ------------------
10003|      0|        _Pypegen_stack_overflow(p);
10004|      0|    }
10005|  5.94k|    if (p->error_indicator) {
  ------------------
  |  Branch (10005:9): [True: 0, False: 5.94k]
  ------------------
10006|      0|        p->level--;
10007|      0|        return NULL;
10008|      0|    }
10009|  5.94k|    asdl_seq* _res = NULL;
10010|  5.94k|    int _mark = p->mark;
10011|  5.94k|    { // ','.maybe_star_pattern+ ','?
10012|  5.94k|        if (p->error_indicator) {
  ------------------
  |  Branch (10012:13): [True: 0, False: 5.94k]
  ------------------
10013|      0|            p->level--;
10014|      0|            return NULL;
10015|      0|        }
10016|  5.94k|        D(fprintf(stderr, "%*c> maybe_sequence_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.maybe_star_pattern+ ','?"));
10017|  5.94k|        void *_opt_var;
10018|  5.94k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  5.94k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 5.94k]
  |  |  ------------------
  ------------------
10019|  5.94k|        asdl_seq * patterns;
10020|  5.94k|        if (
10021|  5.94k|            (patterns = _gather_45_rule(p))  // ','.maybe_star_pattern+
  ------------------
  |  Branch (10021:13): [True: 4.22k, False: 1.72k]
  ------------------
10022|  4.22k|            &&
10023|  4.22k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (10023:13): [True: 3.71k, False: 515]
  ------------------
10024|  5.94k|        )
10025|  3.71k|        {
10026|  3.71k|            D(fprintf(stderr, "%*c+ maybe_sequence_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.maybe_star_pattern+ ','?"));
10027|  3.71k|            _res = patterns;
10028|  3.71k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10028:18): [True: 0, False: 3.71k]
  |  Branch (10028:34): [True: 0, False: 3.71k]
  |  Branch (10028:57): [True: 0, False: 0]
  ------------------
10029|      0|                p->error_indicator = 1;
10030|      0|                p->level--;
10031|      0|                return NULL;
10032|      0|            }
10033|  3.71k|            goto done;
10034|  3.71k|        }
10035|  2.23k|        p->mark = _mark;
10036|  2.23k|        D(fprintf(stderr, "%*c%s maybe_sequence_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10037|  2.23k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.maybe_star_pattern+ ','?"));
10038|  2.23k|    }
10039|  2.23k|    _res = NULL;
10040|  5.94k|  done:
10041|  5.94k|    p->level--;
10042|  5.94k|    return _res;
10043|  2.23k|}
parser.c:_gather_45_rule:
31435|  5.94k|{
31436|  5.94k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  11.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (31436:9): [True: 0, False: 5.94k]
  |  Branch (31436:35): [True: 0, False: 5.94k]
  ------------------
31437|      0|        _Pypegen_stack_overflow(p);
31438|      0|    }
31439|  5.94k|    if (p->error_indicator) {
  ------------------
  |  Branch (31439:9): [True: 0, False: 5.94k]
  ------------------
31440|      0|        p->level--;
31441|      0|        return NULL;
31442|      0|    }
31443|  5.94k|    asdl_seq * _res = NULL;
31444|  5.94k|    int _mark = p->mark;
31445|  5.94k|    { // maybe_star_pattern _loop0_44
31446|  5.94k|        if (p->error_indicator) {
  ------------------
  |  Branch (31446:13): [True: 0, False: 5.94k]
  ------------------
31447|      0|            p->level--;
31448|      0|            return NULL;
31449|      0|        }
31450|  5.94k|        D(fprintf(stderr, "%*c> _gather_45[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "maybe_star_pattern _loop0_44"));
31451|  5.94k|        pattern_ty elem;
31452|  5.94k|        asdl_seq * seq;
31453|  5.94k|        if (
31454|  5.94k|            (elem = maybe_star_pattern_rule(p))  // maybe_star_pattern
  ------------------
  |  Branch (31454:13): [True: 4.22k, False: 1.72k]
  ------------------
31455|  4.22k|            &&
31456|  4.22k|            (seq = _loop0_44_rule(p))  // _loop0_44
  ------------------
  |  Branch (31456:13): [True: 4.22k, False: 0]
  ------------------
31457|  5.94k|        )
31458|  4.22k|        {
31459|  4.22k|            D(fprintf(stderr, "%*c+ _gather_45[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "maybe_star_pattern _loop0_44"));
31460|  4.22k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
31461|  4.22k|            goto done;
31462|  4.22k|        }
31463|  1.72k|        p->mark = _mark;
31464|  1.72k|        D(fprintf(stderr, "%*c%s _gather_45[%d-%d]: %s failed!\n", p->level, ' ',
31465|  1.72k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "maybe_star_pattern _loop0_44"));
31466|  1.72k|    }
31467|  1.72k|    _res = NULL;
31468|  5.94k|  done:
31469|  5.94k|    p->level--;
31470|  5.94k|    return _res;
31471|  1.72k|}
parser.c:_loop0_44_rule:
31359|  4.22k|{
31360|  4.22k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.45k|#  define MAXSTACK 6000
  ------------------
  |  Branch (31360:9): [True: 0, False: 4.22k]
  |  Branch (31360:35): [True: 0, False: 4.22k]
  ------------------
31361|      0|        _Pypegen_stack_overflow(p);
31362|      0|    }
31363|  4.22k|    if (p->error_indicator) {
  ------------------
  |  Branch (31363:9): [True: 0, False: 4.22k]
  ------------------
31364|      0|        p->level--;
31365|      0|        return NULL;
31366|      0|    }
31367|  4.22k|    void *_res = NULL;
31368|  4.22k|    int _mark = p->mark;
31369|  4.22k|    void **_children = PyMem_Malloc(sizeof(void *));
31370|  4.22k|    if (!_children) {
  ------------------
  |  Branch (31370:9): [True: 0, False: 4.22k]
  ------------------
31371|      0|        p->error_indicator = 1;
31372|      0|        PyErr_NoMemory();
31373|      0|        p->level--;
31374|      0|        return NULL;
31375|      0|    }
31376|  4.22k|    Py_ssize_t _children_capacity = 1;
31377|  4.22k|    Py_ssize_t _n = 0;
31378|  4.22k|    { // ',' maybe_star_pattern
31379|  4.22k|        if (p->error_indicator) {
  ------------------
  |  Branch (31379:13): [True: 0, False: 4.22k]
  ------------------
31380|      0|            p->level--;
31381|      0|            return NULL;
31382|      0|        }
31383|  4.22k|        D(fprintf(stderr, "%*c> _loop0_44[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' maybe_star_pattern"));
31384|  4.22k|        Token * _literal;
31385|  4.22k|        pattern_ty elem;
31386|  4.22k|        while (
31387|  21.9k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (31387:13): [True: 19.2k, False: 2.63k]
  ------------------
31388|  19.2k|            &&
31389|  19.2k|            (elem = maybe_star_pattern_rule(p))  // maybe_star_pattern
  ------------------
  |  Branch (31389:13): [True: 17.7k, False: 1.58k]
  ------------------
31390|  4.22k|        )
31391|  17.7k|        {
31392|  17.7k|            _res = elem;
31393|  17.7k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (31393:18): [True: 0, False: 17.7k]
  |  Branch (31393:34): [True: 0, False: 17.7k]
  |  Branch (31393:57): [True: 0, False: 0]
  ------------------
31394|      0|                p->error_indicator = 1;
31395|      0|                PyMem_Free(_children);
31396|      0|                p->level--;
31397|      0|                return NULL;
31398|      0|            }
31399|  17.7k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (31399:17): [True: 1.78k, False: 15.9k]
  ------------------
31400|  1.78k|                _children_capacity *= 2;
31401|  1.78k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
31402|  1.78k|                if (!_new_children) {
  ------------------
  |  Branch (31402:21): [True: 0, False: 1.78k]
  ------------------
31403|      0|                    PyMem_Free(_children);
31404|      0|                    p->error_indicator = 1;
31405|      0|                    PyErr_NoMemory();
31406|      0|                    p->level--;
31407|      0|                    return NULL;
31408|      0|                }
31409|  1.78k|                _children = _new_children;
31410|  1.78k|            }
31411|  17.7k|            _children[_n++] = _res;
31412|  17.7k|            _mark = p->mark;
31413|  17.7k|        }
31414|  4.22k|        p->mark = _mark;
31415|  4.22k|        D(fprintf(stderr, "%*c%s _loop0_44[%d-%d]: %s failed!\n", p->level, ' ',
31416|  4.22k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' maybe_star_pattern"));
31417|  4.22k|    }
31418|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
31419|  4.22k|    if (!_seq) {
  ------------------
  |  Branch (31419:9): [True: 0, False: 4.22k]
  ------------------
31420|      0|        PyMem_Free(_children);
31421|      0|        p->error_indicator = 1;
31422|      0|        PyErr_NoMemory();
31423|      0|        p->level--;
31424|      0|        return NULL;
31425|      0|    }
31426|  21.9k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  17.7k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  21.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (31426:28): [True: 17.7k, False: 4.22k]
  ------------------
31427|  4.22k|    PyMem_Free(_children);
31428|  4.22k|    p->level--;
31429|  4.22k|    return _seq;
31430|  4.22k|}
parser.c:pattern_rule:
 8174|  70.6k|{
 8175|  70.6k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   141k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8175:9): [True: 0, False: 70.6k]
  |  Branch (8175:35): [True: 0, False: 70.6k]
  ------------------
 8176|      0|        _Pypegen_stack_overflow(p);
 8177|      0|    }
 8178|  70.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (8178:9): [True: 0, False: 70.6k]
  ------------------
 8179|      0|        p->level--;
 8180|      0|        return NULL;
 8181|      0|    }
 8182|  70.6k|    pattern_ty _res = NULL;
 8183|  70.6k|    int _mark = p->mark;
 8184|  70.6k|    { // as_pattern
 8185|  70.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (8185:13): [True: 0, False: 70.6k]
  ------------------
 8186|      0|            p->level--;
 8187|      0|            return NULL;
 8188|      0|        }
 8189|  70.6k|        D(fprintf(stderr, "%*c> pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "as_pattern"));
 8190|  70.6k|        pattern_ty as_pattern_var;
 8191|  70.6k|        if (
 8192|  70.6k|            (as_pattern_var = as_pattern_rule(p))  // as_pattern
  ------------------
  |  Branch (8192:13): [True: 737, False: 69.8k]
  ------------------
 8193|  70.6k|        )
 8194|    737|        {
 8195|    737|            D(fprintf(stderr, "%*c+ pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "as_pattern"));
 8196|    737|            _res = as_pattern_var;
 8197|    737|            goto done;
 8198|    737|        }
 8199|  69.8k|        p->mark = _mark;
 8200|  69.8k|        D(fprintf(stderr, "%*c%s pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8201|  69.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "as_pattern"));
 8202|  69.8k|    }
 8203|      0|    { // or_pattern
 8204|  69.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (8204:13): [True: 3.44k, False: 66.4k]
  ------------------
 8205|  3.44k|            p->level--;
 8206|  3.44k|            return NULL;
 8207|  3.44k|        }
 8208|  66.4k|        D(fprintf(stderr, "%*c> pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "or_pattern"));
 8209|  66.4k|        pattern_ty or_pattern_var;
 8210|  66.4k|        if (
 8211|  66.4k|            (or_pattern_var = or_pattern_rule(p))  // or_pattern
  ------------------
  |  Branch (8211:13): [True: 46.8k, False: 19.5k]
  ------------------
 8212|  66.4k|        )
 8213|  46.8k|        {
 8214|  46.8k|            D(fprintf(stderr, "%*c+ pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "or_pattern"));
 8215|  46.8k|            _res = or_pattern_var;
 8216|  46.8k|            goto done;
 8217|  46.8k|        }
 8218|  19.5k|        p->mark = _mark;
 8219|  19.5k|        D(fprintf(stderr, "%*c%s pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8220|  19.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "or_pattern"));
 8221|  19.5k|    }
 8222|  19.5k|    _res = NULL;
 8223|  67.1k|  done:
 8224|  67.1k|    p->level--;
 8225|  67.1k|    return _res;
 8226|  19.5k|}
parser.c:as_pattern_rule:
 8231|  70.6k|{
 8232|  70.6k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   141k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8232:9): [True: 0, False: 70.6k]
  |  Branch (8232:35): [True: 0, False: 70.6k]
  ------------------
 8233|      0|        _Pypegen_stack_overflow(p);
 8234|      0|    }
 8235|  70.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (8235:9): [True: 0, False: 70.6k]
  ------------------
 8236|      0|        p->level--;
 8237|      0|        return NULL;
 8238|      0|    }
 8239|  70.6k|    pattern_ty _res = NULL;
 8240|  70.6k|    int _mark = p->mark;
 8241|  70.6k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (8241:9): [True: 11.2k, False: 59.3k]
  |  Branch (8241:31): [True: 27, False: 11.2k]
  ------------------
 8242|     27|        p->error_indicator = 1;
 8243|     27|        p->level--;
 8244|     27|        return NULL;
 8245|     27|    }
 8246|  70.5k|    int _start_lineno = p->tokens[_mark]->lineno;
 8247|  70.5k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  70.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 70.5k]
  |  |  ------------------
  ------------------
 8248|  70.5k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 8249|  70.5k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  70.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 70.5k]
  |  |  ------------------
  ------------------
 8250|  70.5k|    { // or_pattern 'as' pattern_capture_target
 8251|  70.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (8251:13): [True: 0, False: 70.5k]
  ------------------
 8252|      0|            p->level--;
 8253|      0|            return NULL;
 8254|      0|        }
 8255|  70.5k|        D(fprintf(stderr, "%*c> as_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "or_pattern 'as' pattern_capture_target"));
 8256|  70.5k|        Token * _keyword;
 8257|  70.5k|        pattern_ty pattern;
 8258|  70.5k|        expr_ty target;
 8259|  70.5k|        if (
 8260|  70.5k|            (pattern = or_pattern_rule(p))  // or_pattern
  ------------------
  |  Branch (8260:13): [True: 47.6k, False: 22.9k]
  ------------------
 8261|  47.6k|            &&
 8262|  47.6k|            (_keyword = _PyPegen_expect_token(p, 698))  // token='as'
  ------------------
  |  Branch (8262:13): [True: 783, False: 46.8k]
  ------------------
 8263|    783|            &&
 8264|    783|            (target = pattern_capture_target_rule(p))  // pattern_capture_target
  ------------------
  |  Branch (8264:13): [True: 737, False: 46]
  ------------------
 8265|  70.5k|        )
 8266|    737|        {
 8267|    737|            D(fprintf(stderr, "%*c+ as_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "or_pattern 'as' pattern_capture_target"));
 8268|    737|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8269|    737|            if (_token == NULL) {
  ------------------
  |  Branch (8269:17): [True: 0, False: 737]
  ------------------
 8270|      0|                p->level--;
 8271|      0|                return NULL;
 8272|      0|            }
 8273|    737|            int _end_lineno = _token->end_lineno;
 8274|    737|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    737|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 737]
  |  |  ------------------
  ------------------
 8275|    737|            int _end_col_offset = _token->end_col_offset;
 8276|    737|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    737|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 737]
  |  |  ------------------
  ------------------
 8277|    737|            _res = _PyAST_MatchAs ( pattern , target -> v . Name . id , EXTRA );
  ------------------
  |  |  281|    737|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8278|    737|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8278:18): [True: 0, False: 737]
  |  Branch (8278:34): [True: 0, False: 737]
  |  Branch (8278:57): [True: 0, False: 0]
  ------------------
 8279|      0|                p->error_indicator = 1;
 8280|      0|                p->level--;
 8281|      0|                return NULL;
 8282|      0|            }
 8283|    737|            goto done;
 8284|    737|        }
 8285|  69.8k|        p->mark = _mark;
 8286|  69.8k|        D(fprintf(stderr, "%*c%s as_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8287|  69.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "or_pattern 'as' pattern_capture_target"));
 8288|  69.8k|    }
 8289|  69.8k|    if (p->call_invalid_rules) { // invalid_as_pattern
  ------------------
  |  Branch (8289:9): [True: 44.9k, False: 24.9k]
  ------------------
 8290|  44.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (8290:13): [True: 2.94k, False: 41.9k]
  ------------------
 8291|  2.94k|            p->level--;
 8292|  2.94k|            return NULL;
 8293|  2.94k|        }
 8294|  41.9k|        D(fprintf(stderr, "%*c> as_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_as_pattern"));
 8295|  41.9k|        void *invalid_as_pattern_var;
 8296|  41.9k|        if (
 8297|  41.9k|            (invalid_as_pattern_var = invalid_as_pattern_rule(p))  // invalid_as_pattern
  ------------------
  |  Branch (8297:13): [True: 0, False: 41.9k]
  ------------------
 8298|  41.9k|        )
 8299|      0|        {
 8300|      0|            D(fprintf(stderr, "%*c+ as_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_as_pattern"));
 8301|      0|            _res = invalid_as_pattern_var;
 8302|      0|            goto done;
 8303|      0|        }
 8304|  41.9k|        p->mark = _mark;
 8305|  41.9k|        D(fprintf(stderr, "%*c%s as_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8306|  41.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_as_pattern"));
 8307|  41.9k|    }
 8308|  66.9k|    _res = NULL;
 8309|  67.6k|  done:
 8310|  67.6k|    p->level--;
 8311|  67.6k|    return _res;
 8312|  66.9k|}
parser.c:invalid_as_pattern_rule:
25886|  41.9k|{
25887|  41.9k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  83.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25887:9): [True: 0, False: 41.9k]
  |  Branch (25887:35): [True: 0, False: 41.9k]
  ------------------
25888|      0|        _Pypegen_stack_overflow(p);
25889|      0|    }
25890|  41.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (25890:9): [True: 0, False: 41.9k]
  ------------------
25891|      0|        p->level--;
25892|      0|        return NULL;
25893|      0|    }
25894|  41.9k|    void * _res = NULL;
25895|  41.9k|    int _mark = p->mark;
25896|  41.9k|    { // or_pattern 'as' "_"
25897|  41.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (25897:13): [True: 0, False: 41.9k]
  ------------------
25898|      0|            p->level--;
25899|      0|            return NULL;
25900|      0|        }
25901|  41.9k|        D(fprintf(stderr, "%*c> invalid_as_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "or_pattern 'as' \"_\""));
25902|  41.9k|        Token * _keyword;
25903|  41.9k|        expr_ty a;
25904|  41.9k|        pattern_ty or_pattern_var;
25905|  41.9k|        if (
25906|  41.9k|            (or_pattern_var = or_pattern_rule(p))  // or_pattern
  ------------------
  |  Branch (25906:13): [True: 25.6k, False: 16.3k]
  ------------------
25907|  25.6k|            &&
25908|  25.6k|            (_keyword = _PyPegen_expect_token(p, 698))  // token='as'
  ------------------
  |  Branch (25908:13): [True: 30, False: 25.5k]
  ------------------
25909|     30|            &&
25910|     30|            (a = _PyPegen_expect_soft_keyword(p, "_"))  // soft_keyword='"_"'
  ------------------
  |  Branch (25910:13): [True: 1, False: 29]
  ------------------
25911|  41.9k|        )
25912|      1|        {
25913|      1|            D(fprintf(stderr, "%*c+ invalid_as_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "or_pattern 'as' \"_\""));
25914|      1|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use '_' as a target" );
  ------------------
  |  |  213|      1|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
25915|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25915:18): [True: 1, False: 0]
  |  Branch (25915:34): [True: 0, False: 0]
  |  Branch (25915:57): [True: 1, False: 0]
  ------------------
25916|      1|                p->error_indicator = 1;
25917|      1|                p->level--;
25918|      1|                return NULL;
25919|      1|            }
25920|      0|            goto done;
25921|      1|        }
25922|  41.9k|        p->mark = _mark;
25923|  41.9k|        D(fprintf(stderr, "%*c%s invalid_as_pattern[%d-%d]: %s failed!\n", p->level, ' ',
25924|  41.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "or_pattern 'as' \"_\""));
25925|  41.9k|    }
25926|      0|    { // or_pattern 'as' expression
25927|  41.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (25927:13): [True: 0, False: 41.9k]
  ------------------
25928|      0|            p->level--;
25929|      0|            return NULL;
25930|      0|        }
25931|  41.9k|        D(fprintf(stderr, "%*c> invalid_as_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "or_pattern 'as' expression"));
25932|  41.9k|        Token * _keyword;
25933|  41.9k|        expr_ty a;
25934|  41.9k|        pattern_ty or_pattern_var;
25935|  41.9k|        if (
25936|  41.9k|            (or_pattern_var = or_pattern_rule(p))  // or_pattern
  ------------------
  |  Branch (25936:13): [True: 25.6k, False: 16.3k]
  ------------------
25937|  25.6k|            &&
25938|  25.6k|            (_keyword = _PyPegen_expect_token(p, 698))  // token='as'
  ------------------
  |  Branch (25938:13): [True: 29, False: 25.5k]
  ------------------
25939|     29|            &&
25940|     29|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (25940:13): [True: 2, False: 27]
  ------------------
25941|  41.9k|        )
25942|      2|        {
25943|      2|            D(fprintf(stderr, "%*c+ invalid_as_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "or_pattern 'as' expression"));
25944|      2|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( a , "cannot use %s as pattern target" , _PyPegen_get_expr_name ( a ) );
  ------------------
  |  |  213|      2|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
25945|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25945:18): [True: 2, False: 0]
  |  Branch (25945:34): [True: 0, False: 0]
  |  Branch (25945:57): [True: 2, False: 0]
  ------------------
25946|      2|                p->error_indicator = 1;
25947|      2|                p->level--;
25948|      2|                return NULL;
25949|      2|            }
25950|      0|            goto done;
25951|      2|        }
25952|  41.9k|        p->mark = _mark;
25953|  41.9k|        D(fprintf(stderr, "%*c%s invalid_as_pattern[%d-%d]: %s failed!\n", p->level, ' ',
25954|  41.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "or_pattern 'as' expression"));
25955|  41.9k|    }
25956|  41.9k|    _res = NULL;
25957|  41.9k|  done:
25958|  41.9k|    p->level--;
25959|  41.9k|    return _res;
25960|  41.9k|}
parser.c:or_pattern_rule:
 8317|   221k|{
 8318|   221k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   442k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8318:9): [True: 0, False: 221k]
  |  Branch (8318:35): [True: 0, False: 221k]
  ------------------
 8319|      0|        _Pypegen_stack_overflow(p);
 8320|      0|    }
 8321|   221k|    if (p->error_indicator) {
  ------------------
  |  Branch (8321:9): [True: 0, False: 221k]
  ------------------
 8322|      0|        p->level--;
 8323|      0|        return NULL;
 8324|      0|    }
 8325|   221k|    pattern_ty _res = NULL;
 8326|   221k|    int _mark = p->mark;
 8327|   221k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (8327:9): [True: 0, False: 221k]
  |  Branch (8327:31): [True: 0, False: 0]
  ------------------
 8328|      0|        p->error_indicator = 1;
 8329|      0|        p->level--;
 8330|      0|        return NULL;
 8331|      0|    }
 8332|   221k|    int _start_lineno = p->tokens[_mark]->lineno;
 8333|   221k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   221k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 221k]
  |  |  ------------------
  ------------------
 8334|   221k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 8335|   221k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   221k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 221k]
  |  |  ------------------
  ------------------
 8336|   221k|    { // '|'.closed_pattern+
 8337|   221k|        if (p->error_indicator) {
  ------------------
  |  Branch (8337:13): [True: 0, False: 221k]
  ------------------
 8338|      0|            p->level--;
 8339|      0|            return NULL;
 8340|      0|        }
 8341|   221k|        D(fprintf(stderr, "%*c> or_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'|'.closed_pattern+"));
 8342|   221k|        asdl_pattern_seq* patterns;
 8343|   221k|        if (
 8344|   221k|            (patterns = (asdl_pattern_seq*)_gather_40_rule(p))  // '|'.closed_pattern+
  ------------------
  |  Branch (8344:13): [True: 145k, False: 75.0k]
  ------------------
 8345|   221k|        )
 8346|   145k|        {
 8347|   145k|            D(fprintf(stderr, "%*c+ or_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'|'.closed_pattern+"));
 8348|   145k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8349|   145k|            if (_token == NULL) {
  ------------------
  |  Branch (8349:17): [True: 0, False: 145k]
  ------------------
 8350|      0|                p->level--;
 8351|      0|                return NULL;
 8352|      0|            }
 8353|   145k|            int _end_lineno = _token->end_lineno;
 8354|   145k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|   145k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 145k]
  |  |  ------------------
  ------------------
 8355|   145k|            int _end_col_offset = _token->end_col_offset;
 8356|   145k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|   145k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 145k]
  |  |  ------------------
  ------------------
 8357|   145k|            _res = asdl_seq_LEN ( patterns ) == 1 ? asdl_seq_GET ( patterns , 0 ) : _PyAST_MatchOr ( patterns , EXTRA );
  ------------------
  |  |   83|   145k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|   291k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 145k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          _res = asdl_seq_LEN ( patterns ) == 1 ? asdl_seq_GET ( patterns , 0 ) : _PyAST_MatchOr ( patterns , EXTRA );
  ------------------
  |  |   82|   136k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|   136k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                          _res = asdl_seq_LEN ( patterns ) == 1 ? asdl_seq_GET ( patterns , 0 ) : _PyAST_MatchOr ( patterns , EXTRA );
  ------------------
  |  |  281|  9.49k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (8357:20): [True: 136k, False: 9.49k]
  ------------------
 8358|   145k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8358:18): [True: 0, False: 145k]
  |  Branch (8358:34): [True: 246, False: 145k]
  |  Branch (8358:57): [True: 246, False: 0]
  ------------------
 8359|    246|                p->error_indicator = 1;
 8360|    246|                p->level--;
 8361|    246|                return NULL;
 8362|    246|            }
 8363|   145k|            goto done;
 8364|   145k|        }
 8365|  75.0k|        p->mark = _mark;
 8366|  75.0k|        D(fprintf(stderr, "%*c%s or_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8367|  75.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'|'.closed_pattern+"));
 8368|  75.0k|    }
 8369|  75.0k|    _res = NULL;
 8370|   220k|  done:
 8371|   220k|    p->level--;
 8372|   220k|    return _res;
 8373|  75.0k|}
parser.c:_gather_40_rule:
31109|   221k|{
31110|   221k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   442k|#  define MAXSTACK 6000
  ------------------
  |  Branch (31110:9): [True: 0, False: 221k]
  |  Branch (31110:35): [True: 0, False: 221k]
  ------------------
31111|      0|        _Pypegen_stack_overflow(p);
31112|      0|    }
31113|   221k|    if (p->error_indicator) {
  ------------------
  |  Branch (31113:9): [True: 0, False: 221k]
  ------------------
31114|      0|        p->level--;
31115|      0|        return NULL;
31116|      0|    }
31117|   221k|    asdl_seq * _res = NULL;
31118|   221k|    int _mark = p->mark;
31119|   221k|    { // closed_pattern _loop0_39
31120|   221k|        if (p->error_indicator) {
  ------------------
  |  Branch (31120:13): [True: 0, False: 221k]
  ------------------
31121|      0|            p->level--;
31122|      0|            return NULL;
31123|      0|        }
31124|   221k|        D(fprintf(stderr, "%*c> _gather_40[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "closed_pattern _loop0_39"));
31125|   221k|        pattern_ty elem;
31126|   221k|        asdl_seq * seq;
31127|   221k|        if (
31128|   221k|            (elem = closed_pattern_rule(p))  // closed_pattern
  ------------------
  |  Branch (31128:13): [True: 145k, False: 75.0k]
  ------------------
31129|   145k|            &&
31130|   145k|            (seq = _loop0_39_rule(p))  // _loop0_39
  ------------------
  |  Branch (31130:13): [True: 145k, False: 0]
  ------------------
31131|   221k|        )
31132|   145k|        {
31133|   145k|            D(fprintf(stderr, "%*c+ _gather_40[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "closed_pattern _loop0_39"));
31134|   145k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
31135|   145k|            goto done;
31136|   145k|        }
31137|  75.0k|        p->mark = _mark;
31138|  75.0k|        D(fprintf(stderr, "%*c%s _gather_40[%d-%d]: %s failed!\n", p->level, ' ',
31139|  75.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "closed_pattern _loop0_39"));
31140|  75.0k|    }
31141|  75.0k|    _res = NULL;
31142|   221k|  done:
31143|   221k|    p->level--;
31144|   221k|    return _res;
31145|  75.0k|}
parser.c:closed_pattern_rule:
 8386|   241k|{
 8387|   241k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   482k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8387:9): [True: 0, False: 241k]
  |  Branch (8387:35): [True: 0, False: 241k]
  ------------------
 8388|      0|        _Pypegen_stack_overflow(p);
 8389|      0|    }
 8390|   241k|    if (p->error_indicator) {
  ------------------
  |  Branch (8390:9): [True: 0, False: 241k]
  ------------------
 8391|      0|        p->level--;
 8392|      0|        return NULL;
 8393|      0|    }
 8394|   241k|    pattern_ty _res = NULL;
 8395|   241k|    if (_PyPegen_is_memoized(p, closed_pattern_type, &_res)) {
  ------------------
  |  |  162|   241k|#define closed_pattern_type 1073
  ------------------
  |  Branch (8395:9): [True: 192k, False: 48.4k]
  ------------------
 8396|   192k|        p->level--;
 8397|   192k|        return _res;
 8398|   192k|    }
 8399|  48.4k|    int _mark = p->mark;
 8400|  48.4k|    { // literal_pattern
 8401|  48.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (8401:13): [True: 0, False: 48.4k]
  ------------------
 8402|      0|            p->level--;
 8403|      0|            return NULL;
 8404|      0|        }
 8405|  48.4k|        D(fprintf(stderr, "%*c> closed_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "literal_pattern"));
 8406|  48.4k|        pattern_ty literal_pattern_var;
 8407|  48.4k|        if (
 8408|  48.4k|            (literal_pattern_var = literal_pattern_rule(p))  // literal_pattern
  ------------------
  |  Branch (8408:13): [True: 6.48k, False: 41.9k]
  ------------------
 8409|  48.4k|        )
 8410|  6.48k|        {
 8411|  6.48k|            D(fprintf(stderr, "%*c+ closed_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "literal_pattern"));
 8412|  6.48k|            _res = literal_pattern_var;
 8413|  6.48k|            goto done;
 8414|  6.48k|        }
 8415|  41.9k|        p->mark = _mark;
 8416|  41.9k|        D(fprintf(stderr, "%*c%s closed_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8417|  41.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "literal_pattern"));
 8418|  41.9k|    }
 8419|      0|    { // capture_pattern
 8420|  41.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (8420:13): [True: 29, False: 41.9k]
  ------------------
 8421|     29|            p->level--;
 8422|     29|            return NULL;
 8423|     29|        }
 8424|  41.9k|        D(fprintf(stderr, "%*c> closed_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "capture_pattern"));
 8425|  41.9k|        pattern_ty capture_pattern_var;
 8426|  41.9k|        if (
 8427|  41.9k|            (capture_pattern_var = capture_pattern_rule(p))  // capture_pattern
  ------------------
  |  Branch (8427:13): [True: 22.3k, False: 19.5k]
  ------------------
 8428|  41.9k|        )
 8429|  22.3k|        {
 8430|  22.3k|            D(fprintf(stderr, "%*c+ closed_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "capture_pattern"));
 8431|  22.3k|            _res = capture_pattern_var;
 8432|  22.3k|            goto done;
 8433|  22.3k|        }
 8434|  19.5k|        p->mark = _mark;
 8435|  19.5k|        D(fprintf(stderr, "%*c%s closed_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8436|  19.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "capture_pattern"));
 8437|  19.5k|    }
 8438|      0|    { // wildcard_pattern
 8439|  19.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (8439:13): [True: 45, False: 19.5k]
  ------------------
 8440|     45|            p->level--;
 8441|     45|            return NULL;
 8442|     45|        }
 8443|  19.5k|        D(fprintf(stderr, "%*c> closed_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "wildcard_pattern"));
 8444|  19.5k|        pattern_ty wildcard_pattern_var;
 8445|  19.5k|        if (
 8446|  19.5k|            (wildcard_pattern_var = wildcard_pattern_rule(p))  // wildcard_pattern
  ------------------
  |  Branch (8446:13): [True: 2.10k, False: 17.4k]
  ------------------
 8447|  19.5k|        )
 8448|  2.10k|        {
 8449|  2.10k|            D(fprintf(stderr, "%*c+ closed_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "wildcard_pattern"));
 8450|  2.10k|            _res = wildcard_pattern_var;
 8451|  2.10k|            goto done;
 8452|  2.10k|        }
 8453|  17.4k|        p->mark = _mark;
 8454|  17.4k|        D(fprintf(stderr, "%*c%s closed_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8455|  17.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "wildcard_pattern"));
 8456|  17.4k|    }
 8457|      0|    { // value_pattern
 8458|  17.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (8458:13): [True: 0, False: 17.4k]
  ------------------
 8459|      0|            p->level--;
 8460|      0|            return NULL;
 8461|      0|        }
 8462|  17.4k|        D(fprintf(stderr, "%*c> closed_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "value_pattern"));
 8463|  17.4k|        pattern_ty value_pattern_var;
 8464|  17.4k|        if (
 8465|  17.4k|            (value_pattern_var = value_pattern_rule(p))  // value_pattern
  ------------------
  |  Branch (8465:13): [True: 1.15k, False: 16.2k]
  ------------------
 8466|  17.4k|        )
 8467|  1.15k|        {
 8468|  1.15k|            D(fprintf(stderr, "%*c+ closed_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "value_pattern"));
 8469|  1.15k|            _res = value_pattern_var;
 8470|  1.15k|            goto done;
 8471|  1.15k|        }
 8472|  16.2k|        p->mark = _mark;
 8473|  16.2k|        D(fprintf(stderr, "%*c%s closed_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8474|  16.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "value_pattern"));
 8475|  16.2k|    }
 8476|      0|    { // group_pattern
 8477|  16.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (8477:13): [True: 4, False: 16.2k]
  ------------------
 8478|      4|            p->level--;
 8479|      4|            return NULL;
 8480|      4|        }
 8481|  16.2k|        D(fprintf(stderr, "%*c> closed_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "group_pattern"));
 8482|  16.2k|        pattern_ty group_pattern_var;
 8483|  16.2k|        if (
 8484|  16.2k|            (group_pattern_var = group_pattern_rule(p))  // group_pattern
  ------------------
  |  Branch (8484:13): [True: 43, False: 16.2k]
  ------------------
 8485|  16.2k|        )
 8486|     43|        {
 8487|     43|            D(fprintf(stderr, "%*c+ closed_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "group_pattern"));
 8488|     43|            _res = group_pattern_var;
 8489|     43|            goto done;
 8490|     43|        }
 8491|  16.2k|        p->mark = _mark;
 8492|  16.2k|        D(fprintf(stderr, "%*c%s closed_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8493|  16.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "group_pattern"));
 8494|  16.2k|    }
 8495|      0|    { // sequence_pattern
 8496|  16.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (8496:13): [True: 638, False: 15.5k]
  ------------------
 8497|    638|            p->level--;
 8498|    638|            return NULL;
 8499|    638|        }
 8500|  15.5k|        D(fprintf(stderr, "%*c> closed_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sequence_pattern"));
 8501|  15.5k|        pattern_ty sequence_pattern_var;
 8502|  15.5k|        if (
 8503|  15.5k|            (sequence_pattern_var = sequence_pattern_rule(p))  // sequence_pattern
  ------------------
  |  Branch (8503:13): [True: 623, False: 14.9k]
  ------------------
 8504|  15.5k|        )
 8505|    623|        {
 8506|    623|            D(fprintf(stderr, "%*c+ closed_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sequence_pattern"));
 8507|    623|            _res = sequence_pattern_var;
 8508|    623|            goto done;
 8509|    623|        }
 8510|  14.9k|        p->mark = _mark;
 8511|  14.9k|        D(fprintf(stderr, "%*c%s closed_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8512|  14.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sequence_pattern"));
 8513|  14.9k|    }
 8514|      0|    { // mapping_pattern
 8515|  14.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (8515:13): [True: 978, False: 13.9k]
  ------------------
 8516|    978|            p->level--;
 8517|    978|            return NULL;
 8518|    978|        }
 8519|  13.9k|        D(fprintf(stderr, "%*c> closed_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "mapping_pattern"));
 8520|  13.9k|        pattern_ty mapping_pattern_var;
 8521|  13.9k|        if (
 8522|  13.9k|            (mapping_pattern_var = mapping_pattern_rule(p))  // mapping_pattern
  ------------------
  |  Branch (8522:13): [True: 82, False: 13.9k]
  ------------------
 8523|  13.9k|        )
 8524|     82|        {
 8525|     82|            D(fprintf(stderr, "%*c+ closed_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "mapping_pattern"));
 8526|     82|            _res = mapping_pattern_var;
 8527|     82|            goto done;
 8528|     82|        }
 8529|  13.9k|        p->mark = _mark;
 8530|  13.9k|        D(fprintf(stderr, "%*c%s closed_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8531|  13.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "mapping_pattern"));
 8532|  13.9k|    }
 8533|      0|    { // class_pattern
 8534|  13.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (8534:13): [True: 151, False: 13.7k]
  ------------------
 8535|    151|            p->level--;
 8536|    151|            return NULL;
 8537|    151|        }
 8538|  13.7k|        D(fprintf(stderr, "%*c> closed_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "class_pattern"));
 8539|  13.7k|        pattern_ty class_pattern_var;
 8540|  13.7k|        if (
 8541|  13.7k|            (class_pattern_var = class_pattern_rule(p))  // class_pattern
  ------------------
  |  Branch (8541:13): [True: 1.51k, False: 12.2k]
  ------------------
 8542|  13.7k|        )
 8543|  1.51k|        {
 8544|  1.51k|            D(fprintf(stderr, "%*c+ closed_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "class_pattern"));
 8545|  1.51k|            _res = class_pattern_var;
 8546|  1.51k|            goto done;
 8547|  1.51k|        }
 8548|  12.2k|        p->mark = _mark;
 8549|  12.2k|        D(fprintf(stderr, "%*c%s closed_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8550|  12.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "class_pattern"));
 8551|  12.2k|    }
 8552|  12.2k|    _res = NULL;
 8553|  46.5k|  done:
 8554|  46.5k|    _PyPegen_insert_memo(p, _mark, closed_pattern_type, _res);
  ------------------
  |  |  162|  46.5k|#define closed_pattern_type 1073
  ------------------
 8555|  46.5k|    p->level--;
 8556|  46.5k|    return _res;
 8557|  12.2k|}
parser.c:literal_pattern_rule:
 8568|  48.4k|{
 8569|  48.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  96.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8569:9): [True: 0, False: 48.4k]
  |  Branch (8569:35): [True: 0, False: 48.4k]
  ------------------
 8570|      0|        _Pypegen_stack_overflow(p);
 8571|      0|    }
 8572|  48.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (8572:9): [True: 0, False: 48.4k]
  ------------------
 8573|      0|        p->level--;
 8574|      0|        return NULL;
 8575|      0|    }
 8576|  48.4k|    pattern_ty _res = NULL;
 8577|  48.4k|    int _mark = p->mark;
 8578|  48.4k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (8578:9): [True: 0, False: 48.4k]
  |  Branch (8578:31): [True: 0, False: 0]
  ------------------
 8579|      0|        p->error_indicator = 1;
 8580|      0|        p->level--;
 8581|      0|        return NULL;
 8582|      0|    }
 8583|  48.4k|    int _start_lineno = p->tokens[_mark]->lineno;
 8584|  48.4k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  48.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 48.4k]
  |  |  ------------------
  ------------------
 8585|  48.4k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 8586|  48.4k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  48.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 48.4k]
  |  |  ------------------
  ------------------
 8587|  48.4k|    { // signed_number !('+' | '-')
 8588|  48.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (8588:13): [True: 0, False: 48.4k]
  ------------------
 8589|      0|            p->level--;
 8590|      0|            return NULL;
 8591|      0|        }
 8592|  48.4k|        D(fprintf(stderr, "%*c> literal_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "signed_number !('+' | '-')"));
 8593|  48.4k|        expr_ty value;
 8594|  48.4k|        if (
 8595|  48.4k|            (value = signed_number_rule(p))  // signed_number
  ------------------
  |  Branch (8595:13): [True: 4.43k, False: 44.0k]
  ------------------
 8596|  4.43k|            &&
 8597|  4.43k|            _PyPegen_lookahead(0, _tmp_41_rule, p)
  ------------------
  |  Branch (8597:13): [True: 4.34k, False: 93]
  ------------------
 8598|  48.4k|        )
 8599|  4.34k|        {
 8600|  4.34k|            D(fprintf(stderr, "%*c+ literal_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "signed_number !('+' | '-')"));
 8601|  4.34k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8602|  4.34k|            if (_token == NULL) {
  ------------------
  |  Branch (8602:17): [True: 0, False: 4.34k]
  ------------------
 8603|      0|                p->level--;
 8604|      0|                return NULL;
 8605|      0|            }
 8606|  4.34k|            int _end_lineno = _token->end_lineno;
 8607|  4.34k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.34k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.34k]
  |  |  ------------------
  ------------------
 8608|  4.34k|            int _end_col_offset = _token->end_col_offset;
 8609|  4.34k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  4.34k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 4.34k]
  |  |  ------------------
  ------------------
 8610|  4.34k|            _res = _PyAST_MatchValue ( value , EXTRA );
  ------------------
  |  |  281|  4.34k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8611|  4.34k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8611:18): [True: 0, False: 4.34k]
  |  Branch (8611:34): [True: 10, False: 4.33k]
  |  Branch (8611:57): [True: 10, False: 0]
  ------------------
 8612|     10|                p->error_indicator = 1;
 8613|     10|                p->level--;
 8614|     10|                return NULL;
 8615|     10|            }
 8616|  4.33k|            goto done;
 8617|  4.34k|        }
 8618|  44.0k|        p->mark = _mark;
 8619|  44.0k|        D(fprintf(stderr, "%*c%s literal_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8620|  44.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "signed_number !('+' | '-')"));
 8621|  44.0k|    }
 8622|      0|    { // complex_number
 8623|  44.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (8623:13): [True: 4, False: 44.0k]
  ------------------
 8624|      4|            p->level--;
 8625|      4|            return NULL;
 8626|      4|        }
 8627|  44.0k|        D(fprintf(stderr, "%*c> literal_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "complex_number"));
 8628|  44.0k|        expr_ty value;
 8629|  44.0k|        if (
 8630|  44.0k|            (value = complex_number_rule(p))  // complex_number
  ------------------
  |  Branch (8630:13): [True: 65, False: 44.0k]
  ------------------
 8631|  44.0k|        )
 8632|     65|        {
 8633|     65|            D(fprintf(stderr, "%*c+ literal_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "complex_number"));
 8634|     65|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8635|     65|            if (_token == NULL) {
  ------------------
  |  Branch (8635:17): [True: 0, False: 65]
  ------------------
 8636|      0|                p->level--;
 8637|      0|                return NULL;
 8638|      0|            }
 8639|     65|            int _end_lineno = _token->end_lineno;
 8640|     65|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|     65|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 65]
  |  |  ------------------
  ------------------
 8641|     65|            int _end_col_offset = _token->end_col_offset;
 8642|     65|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|     65|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 65]
  |  |  ------------------
  ------------------
 8643|     65|            _res = _PyAST_MatchValue ( value , EXTRA );
  ------------------
  |  |  281|     65|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8644|     65|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8644:18): [True: 0, False: 65]
  |  Branch (8644:34): [True: 0, False: 65]
  |  Branch (8644:57): [True: 0, False: 0]
  ------------------
 8645|      0|                p->error_indicator = 1;
 8646|      0|                p->level--;
 8647|      0|                return NULL;
 8648|      0|            }
 8649|     65|            goto done;
 8650|     65|        }
 8651|  44.0k|        p->mark = _mark;
 8652|  44.0k|        D(fprintf(stderr, "%*c%s literal_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8653|  44.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "complex_number"));
 8654|  44.0k|    }
 8655|      0|    { // strings
 8656|  44.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (8656:13): [True: 13, False: 44.0k]
  ------------------
 8657|     13|            p->level--;
 8658|     13|            return NULL;
 8659|     13|        }
 8660|  44.0k|        D(fprintf(stderr, "%*c> literal_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "strings"));
 8661|  44.0k|        expr_ty value;
 8662|  44.0k|        if (
 8663|  44.0k|            (value = strings_rule(p))  // strings
  ------------------
  |  Branch (8663:13): [True: 533, False: 43.4k]
  ------------------
 8664|  44.0k|        )
 8665|    533|        {
 8666|    533|            D(fprintf(stderr, "%*c+ literal_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "strings"));
 8667|    533|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8668|    533|            if (_token == NULL) {
  ------------------
  |  Branch (8668:17): [True: 0, False: 533]
  ------------------
 8669|      0|                p->level--;
 8670|      0|                return NULL;
 8671|      0|            }
 8672|    533|            int _end_lineno = _token->end_lineno;
 8673|    533|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    533|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 533]
  |  |  ------------------
  ------------------
 8674|    533|            int _end_col_offset = _token->end_col_offset;
 8675|    533|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    533|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 533]
  |  |  ------------------
  ------------------
 8676|    533|            _res = _PyAST_MatchValue ( value , EXTRA );
  ------------------
  |  |  281|    533|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8677|    533|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8677:18): [True: 0, False: 533]
  |  Branch (8677:34): [True: 0, False: 533]
  |  Branch (8677:57): [True: 0, False: 0]
  ------------------
 8678|      0|                p->error_indicator = 1;
 8679|      0|                p->level--;
 8680|      0|                return NULL;
 8681|      0|            }
 8682|    533|            goto done;
 8683|    533|        }
 8684|  43.4k|        p->mark = _mark;
 8685|  43.4k|        D(fprintf(stderr, "%*c%s literal_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8686|  43.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "strings"));
 8687|  43.4k|    }
 8688|      0|    { // 'None'
 8689|  43.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (8689:13): [True: 2, False: 43.4k]
  ------------------
 8690|      2|            p->level--;
 8691|      2|            return NULL;
 8692|      2|        }
 8693|  43.4k|        D(fprintf(stderr, "%*c> literal_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'None'"));
 8694|  43.4k|        Token * _keyword;
 8695|  43.4k|        if (
 8696|  43.4k|            (_keyword = _PyPegen_expect_token(p, 628))  // token='None'
  ------------------
  |  Branch (8696:13): [True: 23, False: 43.4k]
  ------------------
 8697|  43.4k|        )
 8698|     23|        {
 8699|     23|            D(fprintf(stderr, "%*c+ literal_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'None'"));
 8700|     23|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8701|     23|            if (_token == NULL) {
  ------------------
  |  Branch (8701:17): [True: 0, False: 23]
  ------------------
 8702|      0|                p->level--;
 8703|      0|                return NULL;
 8704|      0|            }
 8705|     23|            int _end_lineno = _token->end_lineno;
 8706|     23|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|     23|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 23]
  |  |  ------------------
  ------------------
 8707|     23|            int _end_col_offset = _token->end_col_offset;
 8708|     23|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|     23|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 23]
  |  |  ------------------
  ------------------
 8709|     23|            _res = _PyAST_MatchSingleton ( Py_None , EXTRA );
  ------------------
  |  |  616|     23|#  define Py_None (&_Py_NoneStruct)
  ------------------
                          _res = _PyAST_MatchSingleton ( Py_None , EXTRA );
  ------------------
  |  |  281|     23|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8710|     23|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8710:18): [True: 0, False: 23]
  |  Branch (8710:34): [True: 0, False: 23]
  |  Branch (8710:57): [True: 0, False: 0]
  ------------------
 8711|      0|                p->error_indicator = 1;
 8712|      0|                p->level--;
 8713|      0|                return NULL;
 8714|      0|            }
 8715|     23|            goto done;
 8716|     23|        }
 8717|  43.4k|        p->mark = _mark;
 8718|  43.4k|        D(fprintf(stderr, "%*c%s literal_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8719|  43.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'None'"));
 8720|  43.4k|    }
 8721|      0|    { // 'True'
 8722|  43.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (8722:13): [True: 0, False: 43.4k]
  ------------------
 8723|      0|            p->level--;
 8724|      0|            return NULL;
 8725|      0|        }
 8726|  43.4k|        D(fprintf(stderr, "%*c> literal_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'True'"));
 8727|  43.4k|        Token * _keyword;
 8728|  43.4k|        if (
 8729|  43.4k|            (_keyword = _PyPegen_expect_token(p, 627))  // token='True'
  ------------------
  |  Branch (8729:13): [True: 449, False: 43.0k]
  ------------------
 8730|  43.4k|        )
 8731|    449|        {
 8732|    449|            D(fprintf(stderr, "%*c+ literal_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'True'"));
 8733|    449|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8734|    449|            if (_token == NULL) {
  ------------------
  |  Branch (8734:17): [True: 0, False: 449]
  ------------------
 8735|      0|                p->level--;
 8736|      0|                return NULL;
 8737|      0|            }
 8738|    449|            int _end_lineno = _token->end_lineno;
 8739|    449|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    449|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 449]
  |  |  ------------------
  ------------------
 8740|    449|            int _end_col_offset = _token->end_col_offset;
 8741|    449|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    449|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 449]
  |  |  ------------------
  ------------------
 8742|    449|            _res = _PyAST_MatchSingleton ( Py_True , EXTRA );
  ------------------
  |  |   26|    449|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    449|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    449|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          _res = _PyAST_MatchSingleton ( Py_True , EXTRA );
  ------------------
  |  |  281|    449|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8743|    449|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8743:18): [True: 0, False: 449]
  |  Branch (8743:34): [True: 0, False: 449]
  |  Branch (8743:57): [True: 0, False: 0]
  ------------------
 8744|      0|                p->error_indicator = 1;
 8745|      0|                p->level--;
 8746|      0|                return NULL;
 8747|      0|            }
 8748|    449|            goto done;
 8749|    449|        }
 8750|  43.0k|        p->mark = _mark;
 8751|  43.0k|        D(fprintf(stderr, "%*c%s literal_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8752|  43.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'True'"));
 8753|  43.0k|    }
 8754|      0|    { // 'False'
 8755|  43.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (8755:13): [True: 0, False: 43.0k]
  ------------------
 8756|      0|            p->level--;
 8757|      0|            return NULL;
 8758|      0|        }
 8759|  43.0k|        D(fprintf(stderr, "%*c> literal_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'False'"));
 8760|  43.0k|        Token * _keyword;
 8761|  43.0k|        if (
 8762|  43.0k|            (_keyword = _PyPegen_expect_token(p, 629))  // token='False'
  ------------------
  |  Branch (8762:13): [True: 1.08k, False: 41.9k]
  ------------------
 8763|  43.0k|        )
 8764|  1.08k|        {
 8765|  1.08k|            D(fprintf(stderr, "%*c+ literal_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'False'"));
 8766|  1.08k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8767|  1.08k|            if (_token == NULL) {
  ------------------
  |  Branch (8767:17): [True: 0, False: 1.08k]
  ------------------
 8768|      0|                p->level--;
 8769|      0|                return NULL;
 8770|      0|            }
 8771|  1.08k|            int _end_lineno = _token->end_lineno;
 8772|  1.08k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.08k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.08k]
  |  |  ------------------
  ------------------
 8773|  1.08k|            int _end_col_offset = _token->end_col_offset;
 8774|  1.08k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.08k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.08k]
  |  |  ------------------
  ------------------
 8775|  1.08k|            _res = _PyAST_MatchSingleton ( Py_False , EXTRA );
  ------------------
  |  |   25|  1.08k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  1.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          _res = _PyAST_MatchSingleton ( Py_False , EXTRA );
  ------------------
  |  |  281|  1.08k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8776|  1.08k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8776:18): [True: 0, False: 1.08k]
  |  Branch (8776:34): [True: 0, False: 1.08k]
  |  Branch (8776:57): [True: 0, False: 0]
  ------------------
 8777|      0|                p->error_indicator = 1;
 8778|      0|                p->level--;
 8779|      0|                return NULL;
 8780|      0|            }
 8781|  1.08k|            goto done;
 8782|  1.08k|        }
 8783|  41.9k|        p->mark = _mark;
 8784|  41.9k|        D(fprintf(stderr, "%*c%s literal_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8785|  41.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'False'"));
 8786|  41.9k|    }
 8787|  41.9k|    _res = NULL;
 8788|  48.4k|  done:
 8789|  48.4k|    p->level--;
 8790|  48.4k|    return _res;
 8791|  41.9k|}
parser.c:signed_number_rule:
 9098|  51.9k|{
 9099|  51.9k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   103k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9099:9): [True: 0, False: 51.9k]
  |  Branch (9099:35): [True: 0, False: 51.9k]
  ------------------
 9100|      0|        _Pypegen_stack_overflow(p);
 9101|      0|    }
 9102|  51.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (9102:9): [True: 0, False: 51.9k]
  ------------------
 9103|      0|        p->level--;
 9104|      0|        return NULL;
 9105|      0|    }
 9106|  51.9k|    expr_ty _res = NULL;
 9107|  51.9k|    int _mark = p->mark;
 9108|  51.9k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (9108:9): [True: 0, False: 51.9k]
  |  Branch (9108:31): [True: 0, False: 0]
  ------------------
 9109|      0|        p->error_indicator = 1;
 9110|      0|        p->level--;
 9111|      0|        return NULL;
 9112|      0|    }
 9113|  51.9k|    int _start_lineno = p->tokens[_mark]->lineno;
 9114|  51.9k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  51.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 51.9k]
  |  |  ------------------
  ------------------
 9115|  51.9k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 9116|  51.9k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  51.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 51.9k]
  |  |  ------------------
  ------------------
 9117|  51.9k|    { // NUMBER
 9118|  51.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (9118:13): [True: 0, False: 51.9k]
  ------------------
 9119|      0|            p->level--;
 9120|      0|            return NULL;
 9121|      0|        }
 9122|  51.9k|        D(fprintf(stderr, "%*c> signed_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NUMBER"));
 9123|  51.9k|        expr_ty number_var;
 9124|  51.9k|        if (
 9125|  51.9k|            (number_var = _PyPegen_number_token(p))  // NUMBER
  ------------------
  |  Branch (9125:13): [True: 7.04k, False: 44.9k]
  ------------------
 9126|  51.9k|        )
 9127|  7.04k|        {
 9128|  7.04k|            D(fprintf(stderr, "%*c+ signed_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NUMBER"));
 9129|  7.04k|            _res = number_var;
 9130|  7.04k|            goto done;
 9131|  7.04k|        }
 9132|  44.9k|        p->mark = _mark;
 9133|  44.9k|        D(fprintf(stderr, "%*c%s signed_number[%d-%d]: %s failed!\n", p->level, ' ',
 9134|  44.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NUMBER"));
 9135|  44.9k|    }
 9136|      0|    { // '+' NUMBER
 9137|  44.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (9137:13): [True: 0, False: 44.9k]
  ------------------
 9138|      0|            p->level--;
 9139|      0|            return NULL;
 9140|      0|        }
 9141|  44.9k|        D(fprintf(stderr, "%*c> signed_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+' NUMBER"));
 9142|  44.9k|        Token * _literal;
 9143|  44.9k|        expr_ty number;
 9144|  44.9k|        if (
 9145|  44.9k|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (9145:13): [True: 36, False: 44.8k]
  ------------------
 9146|     36|            &&
 9147|     36|            (number = _PyPegen_number_token(p))  // NUMBER
  ------------------
  |  Branch (9147:13): [True: 21, False: 15]
  ------------------
 9148|  44.9k|        )
 9149|     21|        {
 9150|     21|            D(fprintf(stderr, "%*c+ signed_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+' NUMBER"));
 9151|     21|            _res = number;
 9152|     21|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9152:18): [True: 0, False: 21]
  |  Branch (9152:34): [True: 0, False: 21]
  |  Branch (9152:57): [True: 0, False: 0]
  ------------------
 9153|      0|                p->error_indicator = 1;
 9154|      0|                p->level--;
 9155|      0|                return NULL;
 9156|      0|            }
 9157|     21|            goto done;
 9158|     21|        }
 9159|  44.9k|        p->mark = _mark;
 9160|  44.9k|        D(fprintf(stderr, "%*c%s signed_number[%d-%d]: %s failed!\n", p->level, ' ',
 9161|  44.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+' NUMBER"));
 9162|  44.9k|    }
 9163|      0|    { // '-' NUMBER
 9164|  44.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (9164:13): [True: 1, False: 44.9k]
  ------------------
 9165|      1|            p->level--;
 9166|      1|            return NULL;
 9167|      1|        }
 9168|  44.9k|        D(fprintf(stderr, "%*c> signed_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-' NUMBER"));
 9169|  44.9k|        Token * _literal;
 9170|  44.9k|        expr_ty number;
 9171|  44.9k|        if (
 9172|  44.9k|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (9172:13): [True: 384, False: 44.5k]
  ------------------
 9173|    384|            &&
 9174|    384|            (number = _PyPegen_number_token(p))  // NUMBER
  ------------------
  |  Branch (9174:13): [True: 366, False: 18]
  ------------------
 9175|  44.9k|        )
 9176|    366|        {
 9177|    366|            D(fprintf(stderr, "%*c+ signed_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-' NUMBER"));
 9178|    366|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9179|    366|            if (_token == NULL) {
  ------------------
  |  Branch (9179:17): [True: 0, False: 366]
  ------------------
 9180|      0|                p->level--;
 9181|      0|                return NULL;
 9182|      0|            }
 9183|    366|            int _end_lineno = _token->end_lineno;
 9184|    366|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    366|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 366]
  |  |  ------------------
  ------------------
 9185|    366|            int _end_col_offset = _token->end_col_offset;
 9186|    366|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    366|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 366]
  |  |  ------------------
  ------------------
 9187|    366|            _res = _PyAST_UnaryOp ( USub , number , EXTRA );
  ------------------
  |  |  281|    366|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9188|    366|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9188:18): [True: 0, False: 366]
  |  Branch (9188:34): [True: 0, False: 366]
  |  Branch (9188:57): [True: 0, False: 0]
  ------------------
 9189|      0|                p->error_indicator = 1;
 9190|      0|                p->level--;
 9191|      0|                return NULL;
 9192|      0|            }
 9193|    366|            goto done;
 9194|    366|        }
 9195|  44.5k|        p->mark = _mark;
 9196|  44.5k|        D(fprintf(stderr, "%*c%s signed_number[%d-%d]: %s failed!\n", p->level, ' ',
 9197|  44.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-' NUMBER"));
 9198|  44.5k|    }
 9199|  44.5k|    _res = NULL;
 9200|  51.9k|  done:
 9201|  51.9k|    p->level--;
 9202|  51.9k|    return _res;
 9203|  44.5k|}
parser.c:_tmp_41_rule:
31150|  7.42k|{
31151|  7.42k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  14.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (31151:9): [True: 0, False: 7.42k]
  |  Branch (31151:35): [True: 0, False: 7.42k]
  ------------------
31152|      0|        _Pypegen_stack_overflow(p);
31153|      0|    }
31154|  7.42k|    if (p->error_indicator) {
  ------------------
  |  Branch (31154:9): [True: 0, False: 7.42k]
  ------------------
31155|      0|        p->level--;
31156|      0|        return NULL;
31157|      0|    }
31158|  7.42k|    void * _res = NULL;
31159|  7.42k|    int _mark = p->mark;
31160|  7.42k|    { // '+'
31161|  7.42k|        if (p->error_indicator) {
  ------------------
  |  Branch (31161:13): [True: 0, False: 7.42k]
  ------------------
31162|      0|            p->level--;
31163|      0|            return NULL;
31164|      0|        }
31165|  7.42k|        D(fprintf(stderr, "%*c> _tmp_41[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+'"));
31166|  7.42k|        Token * _literal;
31167|  7.42k|        if (
31168|  7.42k|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (31168:13): [True: 74, False: 7.35k]
  ------------------
31169|  7.42k|        )
31170|     74|        {
31171|     74|            D(fprintf(stderr, "%*c+ _tmp_41[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+'"));
31172|     74|            _res = _literal;
31173|     74|            goto done;
31174|     74|        }
31175|  7.35k|        p->mark = _mark;
31176|  7.35k|        D(fprintf(stderr, "%*c%s _tmp_41[%d-%d]: %s failed!\n", p->level, ' ',
31177|  7.35k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+'"));
31178|  7.35k|    }
31179|      0|    { // '-'
31180|  7.35k|        if (p->error_indicator) {
  ------------------
  |  Branch (31180:13): [True: 14, False: 7.33k]
  ------------------
31181|     14|            p->level--;
31182|     14|            return NULL;
31183|     14|        }
31184|  7.33k|        D(fprintf(stderr, "%*c> _tmp_41[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-'"));
31185|  7.33k|        Token * _literal;
31186|  7.33k|        if (
31187|  7.33k|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (31187:13): [True: 64, False: 7.27k]
  ------------------
31188|  7.33k|        )
31189|     64|        {
31190|     64|            D(fprintf(stderr, "%*c+ _tmp_41[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-'"));
31191|     64|            _res = _literal;
31192|     64|            goto done;
31193|     64|        }
31194|  7.27k|        p->mark = _mark;
31195|  7.27k|        D(fprintf(stderr, "%*c%s _tmp_41[%d-%d]: %s failed!\n", p->level, ' ',
31196|  7.27k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-'"));
31197|  7.27k|    }
31198|  7.27k|    _res = NULL;
31199|  7.41k|  done:
31200|  7.41k|    p->level--;
31201|  7.41k|    return _res;
31202|  7.27k|}
parser.c:complex_number_rule:
 8992|  44.6k|{
 8993|  44.6k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  89.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8993:9): [True: 0, False: 44.6k]
  |  Branch (8993:35): [True: 0, False: 44.6k]
  ------------------
 8994|      0|        _Pypegen_stack_overflow(p);
 8995|      0|    }
 8996|  44.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (8996:9): [True: 0, False: 44.6k]
  ------------------
 8997|      0|        p->level--;
 8998|      0|        return NULL;
 8999|      0|    }
 9000|  44.6k|    expr_ty _res = NULL;
 9001|  44.6k|    int _mark = p->mark;
 9002|  44.6k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (9002:9): [True: 0, False: 44.6k]
  |  Branch (9002:31): [True: 0, False: 0]
  ------------------
 9003|      0|        p->error_indicator = 1;
 9004|      0|        p->level--;
 9005|      0|        return NULL;
 9006|      0|    }
 9007|  44.6k|    int _start_lineno = p->tokens[_mark]->lineno;
 9008|  44.6k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  44.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 44.6k]
  |  |  ------------------
  ------------------
 9009|  44.6k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 9010|  44.6k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  44.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 44.6k]
  |  |  ------------------
  ------------------
 9011|  44.6k|    { // signed_real_number '+' imaginary_number
 9012|  44.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (9012:13): [True: 0, False: 44.6k]
  ------------------
 9013|      0|            p->level--;
 9014|      0|            return NULL;
 9015|      0|        }
 9016|  44.6k|        D(fprintf(stderr, "%*c> complex_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "signed_real_number '+' imaginary_number"));
 9017|  44.6k|        Token * _literal;
 9018|  44.6k|        expr_ty imag;
 9019|  44.6k|        expr_ty real;
 9020|  44.6k|        if (
 9021|  44.6k|            (real = signed_real_number_rule(p))  // signed_real_number
  ------------------
  |  Branch (9021:13): [True: 136, False: 44.5k]
  ------------------
 9022|    136|            &&
 9023|    136|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (9023:13): [True: 74, False: 62]
  ------------------
 9024|     74|            &&
 9025|     74|            (imag = imaginary_number_rule(p))  // imaginary_number
  ------------------
  |  Branch (9025:13): [True: 49, False: 25]
  ------------------
 9026|  44.6k|        )
 9027|     49|        {
 9028|     49|            D(fprintf(stderr, "%*c+ complex_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "signed_real_number '+' imaginary_number"));
 9029|     49|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9030|     49|            if (_token == NULL) {
  ------------------
  |  Branch (9030:17): [True: 0, False: 49]
  ------------------
 9031|      0|                p->level--;
 9032|      0|                return NULL;
 9033|      0|            }
 9034|     49|            int _end_lineno = _token->end_lineno;
 9035|     49|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|     49|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 49]
  |  |  ------------------
  ------------------
 9036|     49|            int _end_col_offset = _token->end_col_offset;
 9037|     49|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|     49|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 49]
  |  |  ------------------
  ------------------
 9038|     49|            _res = _PyAST_BinOp ( real , Add , imag , EXTRA );
  ------------------
  |  |  281|     49|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9039|     49|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9039:18): [True: 0, False: 49]
  |  Branch (9039:34): [True: 0, False: 49]
  |  Branch (9039:57): [True: 0, False: 0]
  ------------------
 9040|      0|                p->error_indicator = 1;
 9041|      0|                p->level--;
 9042|      0|                return NULL;
 9043|      0|            }
 9044|     49|            goto done;
 9045|     49|        }
 9046|  44.6k|        p->mark = _mark;
 9047|  44.6k|        D(fprintf(stderr, "%*c%s complex_number[%d-%d]: %s failed!\n", p->level, ' ',
 9048|  44.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "signed_real_number '+' imaginary_number"));
 9049|  44.6k|    }
 9050|      0|    { // signed_real_number '-' imaginary_number
 9051|  44.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (9051:13): [True: 10, False: 44.6k]
  ------------------
 9052|     10|            p->level--;
 9053|     10|            return NULL;
 9054|     10|        }
 9055|  44.6k|        D(fprintf(stderr, "%*c> complex_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "signed_real_number '-' imaginary_number"));
 9056|  44.6k|        Token * _literal;
 9057|  44.6k|        expr_ty imag;
 9058|  44.6k|        expr_ty real;
 9059|  44.6k|        if (
 9060|  44.6k|            (real = signed_real_number_rule(p))  // signed_real_number
  ------------------
  |  Branch (9060:13): [True: 79, False: 44.5k]
  ------------------
 9061|     79|            &&
 9062|     79|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (9062:13): [True: 62, False: 17]
  ------------------
 9063|     62|            &&
 9064|     62|            (imag = imaginary_number_rule(p))  // imaginary_number
  ------------------
  |  Branch (9064:13): [True: 25, False: 37]
  ------------------
 9065|  44.6k|        )
 9066|     25|        {
 9067|     25|            D(fprintf(stderr, "%*c+ complex_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "signed_real_number '-' imaginary_number"));
 9068|     25|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9069|     25|            if (_token == NULL) {
  ------------------
  |  Branch (9069:17): [True: 0, False: 25]
  ------------------
 9070|      0|                p->level--;
 9071|      0|                return NULL;
 9072|      0|            }
 9073|     25|            int _end_lineno = _token->end_lineno;
 9074|     25|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|     25|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 25]
  |  |  ------------------
  ------------------
 9075|     25|            int _end_col_offset = _token->end_col_offset;
 9076|     25|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|     25|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 25]
  |  |  ------------------
  ------------------
 9077|     25|            _res = _PyAST_BinOp ( real , Sub , imag , EXTRA );
  ------------------
  |  |  281|     25|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9078|     25|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9078:18): [True: 0, False: 25]
  |  Branch (9078:34): [True: 0, False: 25]
  |  Branch (9078:57): [True: 0, False: 0]
  ------------------
 9079|      0|                p->error_indicator = 1;
 9080|      0|                p->level--;
 9081|      0|                return NULL;
 9082|      0|            }
 9083|     25|            goto done;
 9084|     25|        }
 9085|  44.5k|        p->mark = _mark;
 9086|  44.5k|        D(fprintf(stderr, "%*c%s complex_number[%d-%d]: %s failed!\n", p->level, ' ',
 9087|  44.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "signed_real_number '-' imaginary_number"));
 9088|  44.5k|    }
 9089|  44.5k|    _res = NULL;
 9090|  44.6k|  done:
 9091|  44.6k|    p->level--;
 9092|  44.6k|    return _res;
 9093|  44.5k|}
parser.c:signed_real_number_rule:
 9208|  89.2k|{
 9209|  89.2k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   178k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9209:9): [True: 0, False: 89.2k]
  |  Branch (9209:35): [True: 0, False: 89.2k]
  ------------------
 9210|      0|        _Pypegen_stack_overflow(p);
 9211|      0|    }
 9212|  89.2k|    if (p->error_indicator) {
  ------------------
  |  Branch (9212:9): [True: 0, False: 89.2k]
  ------------------
 9213|      0|        p->level--;
 9214|      0|        return NULL;
 9215|      0|    }
 9216|  89.2k|    expr_ty _res = NULL;
 9217|  89.2k|    int _mark = p->mark;
 9218|  89.2k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (9218:9): [True: 0, False: 89.2k]
  |  Branch (9218:31): [True: 0, False: 0]
  ------------------
 9219|      0|        p->error_indicator = 1;
 9220|      0|        p->level--;
 9221|      0|        return NULL;
 9222|      0|    }
 9223|  89.2k|    int _start_lineno = p->tokens[_mark]->lineno;
 9224|  89.2k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  89.2k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 89.2k]
  |  |  ------------------
  ------------------
 9225|  89.2k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 9226|  89.2k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  89.2k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 89.2k]
  |  |  ------------------
  ------------------
 9227|  89.2k|    { // real_number
 9228|  89.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (9228:13): [True: 0, False: 89.2k]
  ------------------
 9229|      0|            p->level--;
 9230|      0|            return NULL;
 9231|      0|        }
 9232|  89.2k|        D(fprintf(stderr, "%*c> signed_real_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "real_number"));
 9233|  89.2k|        expr_ty real_number_var;
 9234|  89.2k|        if (
 9235|  89.2k|            (real_number_var = real_number_rule(p))  // real_number
  ------------------
  |  Branch (9235:13): [True: 162, False: 89.1k]
  ------------------
 9236|  89.2k|        )
 9237|    162|        {
 9238|    162|            D(fprintf(stderr, "%*c+ signed_real_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "real_number"));
 9239|    162|            _res = real_number_var;
 9240|    162|            goto done;
 9241|    162|        }
 9242|  89.1k|        p->mark = _mark;
 9243|  89.1k|        D(fprintf(stderr, "%*c%s signed_real_number[%d-%d]: %s failed!\n", p->level, ' ',
 9244|  89.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "real_number"));
 9245|  89.1k|    }
 9246|      0|    { // '+' real_number
 9247|  89.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (9247:13): [True: 1, False: 89.1k]
  ------------------
 9248|      1|            p->level--;
 9249|      1|            return NULL;
 9250|      1|        }
 9251|  89.1k|        D(fprintf(stderr, "%*c> signed_real_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+' real_number"));
 9252|  89.1k|        Token * _literal;
 9253|  89.1k|        expr_ty real;
 9254|  89.1k|        if (
 9255|  89.1k|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (9255:13): [True: 45, False: 89.0k]
  ------------------
 9256|     45|            &&
 9257|     45|            (real = real_number_rule(p))  // real_number
  ------------------
  |  Branch (9257:13): [True: 17, False: 28]
  ------------------
 9258|  89.1k|        )
 9259|     17|        {
 9260|     17|            D(fprintf(stderr, "%*c+ signed_real_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+' real_number"));
 9261|     17|            _res = real;
 9262|     17|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9262:18): [True: 0, False: 17]
  |  Branch (9262:34): [True: 0, False: 17]
  |  Branch (9262:57): [True: 0, False: 0]
  ------------------
 9263|      0|                p->error_indicator = 1;
 9264|      0|                p->level--;
 9265|      0|                return NULL;
 9266|      0|            }
 9267|     17|            goto done;
 9268|     17|        }
 9269|  89.0k|        p->mark = _mark;
 9270|  89.0k|        D(fprintf(stderr, "%*c%s signed_real_number[%d-%d]: %s failed!\n", p->level, ' ',
 9271|  89.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+' real_number"));
 9272|  89.0k|    }
 9273|      0|    { // '-' real_number
 9274|  89.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (9274:13): [True: 0, False: 89.0k]
  ------------------
 9275|      0|            p->level--;
 9276|      0|            return NULL;
 9277|      0|        }
 9278|  89.0k|        D(fprintf(stderr, "%*c> signed_real_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-' real_number"));
 9279|  89.0k|        Token * _literal;
 9280|  89.0k|        expr_ty real;
 9281|  89.0k|        if (
 9282|  89.0k|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (9282:13): [True: 65, False: 89.0k]
  ------------------
 9283|     65|            &&
 9284|     65|            (real = real_number_rule(p))  // real_number
  ------------------
  |  Branch (9284:13): [True: 36, False: 29]
  ------------------
 9285|  89.0k|        )
 9286|     36|        {
 9287|     36|            D(fprintf(stderr, "%*c+ signed_real_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-' real_number"));
 9288|     36|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9289|     36|            if (_token == NULL) {
  ------------------
  |  Branch (9289:17): [True: 0, False: 36]
  ------------------
 9290|      0|                p->level--;
 9291|      0|                return NULL;
 9292|      0|            }
 9293|     36|            int _end_lineno = _token->end_lineno;
 9294|     36|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|     36|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 36]
  |  |  ------------------
  ------------------
 9295|     36|            int _end_col_offset = _token->end_col_offset;
 9296|     36|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|     36|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 36]
  |  |  ------------------
  ------------------
 9297|     36|            _res = _PyAST_UnaryOp ( USub , real , EXTRA );
  ------------------
  |  |  281|     36|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9298|     36|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9298:18): [True: 0, False: 36]
  |  Branch (9298:34): [True: 0, False: 36]
  |  Branch (9298:57): [True: 0, False: 0]
  ------------------
 9299|      0|                p->error_indicator = 1;
 9300|      0|                p->level--;
 9301|      0|                return NULL;
 9302|      0|            }
 9303|     36|            goto done;
 9304|     36|        }
 9305|  89.0k|        p->mark = _mark;
 9306|  89.0k|        D(fprintf(stderr, "%*c%s signed_real_number[%d-%d]: %s failed!\n", p->level, ' ',
 9307|  89.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-' real_number"));
 9308|  89.0k|    }
 9309|  89.0k|    _res = NULL;
 9310|  89.2k|  done:
 9311|  89.2k|    p->level--;
 9312|  89.2k|    return _res;
 9313|  89.0k|}
parser.c:real_number_rule:
 9318|  89.3k|{
 9319|  89.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   178k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9319:9): [True: 0, False: 89.3k]
  |  Branch (9319:35): [True: 0, False: 89.3k]
  ------------------
 9320|      0|        _Pypegen_stack_overflow(p);
 9321|      0|    }
 9322|  89.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (9322:9): [True: 0, False: 89.3k]
  ------------------
 9323|      0|        p->level--;
 9324|      0|        return NULL;
 9325|      0|    }
 9326|  89.3k|    expr_ty _res = NULL;
 9327|  89.3k|    int _mark = p->mark;
 9328|  89.3k|    { // NUMBER
 9329|  89.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (9329:13): [True: 0, False: 89.3k]
  ------------------
 9330|      0|            p->level--;
 9331|      0|            return NULL;
 9332|      0|        }
 9333|  89.3k|        D(fprintf(stderr, "%*c> real_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NUMBER"));
 9334|  89.3k|        expr_ty real;
 9335|  89.3k|        if (
 9336|  89.3k|            (real = _PyPegen_number_token(p))  // NUMBER
  ------------------
  |  Branch (9336:13): [True: 217, False: 89.1k]
  ------------------
 9337|  89.3k|        )
 9338|    217|        {
 9339|    217|            D(fprintf(stderr, "%*c+ real_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NUMBER"));
 9340|    217|            _res = _PyPegen_ensure_real ( p , real );
 9341|    217|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9341:18): [True: 2, False: 215]
  |  Branch (9341:34): [True: 0, False: 215]
  |  Branch (9341:57): [True: 2, False: 0]
  ------------------
 9342|      2|                p->error_indicator = 1;
 9343|      2|                p->level--;
 9344|      2|                return NULL;
 9345|      2|            }
 9346|    215|            goto done;
 9347|    217|        }
 9348|  89.1k|        p->mark = _mark;
 9349|  89.1k|        D(fprintf(stderr, "%*c%s real_number[%d-%d]: %s failed!\n", p->level, ' ',
 9350|  89.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NUMBER"));
 9351|  89.1k|    }
 9352|  89.1k|    _res = NULL;
 9353|  89.3k|  done:
 9354|  89.3k|    p->level--;
 9355|  89.3k|    return _res;
 9356|  89.1k|}
parser.c:imaginary_number_rule:
 9361|    136|{
 9362|    136|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    272|#  define MAXSTACK 6000
  ------------------
  |  Branch (9362:9): [True: 0, False: 136]
  |  Branch (9362:35): [True: 0, False: 136]
  ------------------
 9363|      0|        _Pypegen_stack_overflow(p);
 9364|      0|    }
 9365|    136|    if (p->error_indicator) {
  ------------------
  |  Branch (9365:9): [True: 0, False: 136]
  ------------------
 9366|      0|        p->level--;
 9367|      0|        return NULL;
 9368|      0|    }
 9369|    136|    expr_ty _res = NULL;
 9370|    136|    int _mark = p->mark;
 9371|    136|    { // NUMBER
 9372|    136|        if (p->error_indicator) {
  ------------------
  |  Branch (9372:13): [True: 0, False: 136]
  ------------------
 9373|      0|            p->level--;
 9374|      0|            return NULL;
 9375|      0|        }
 9376|    136|        D(fprintf(stderr, "%*c> imaginary_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NUMBER"));
 9377|    136|        expr_ty imag;
 9378|    136|        if (
 9379|    136|            (imag = _PyPegen_number_token(p))  // NUMBER
  ------------------
  |  Branch (9379:13): [True: 84, False: 52]
  ------------------
 9380|    136|        )
 9381|     84|        {
 9382|     84|            D(fprintf(stderr, "%*c+ imaginary_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NUMBER"));
 9383|     84|            _res = _PyPegen_ensure_imaginary ( p , imag );
 9384|     84|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9384:18): [True: 10, False: 74]
  |  Branch (9384:34): [True: 0, False: 74]
  |  Branch (9384:57): [True: 10, False: 0]
  ------------------
 9385|     10|                p->error_indicator = 1;
 9386|     10|                p->level--;
 9387|     10|                return NULL;
 9388|     10|            }
 9389|     74|            goto done;
 9390|     84|        }
 9391|     52|        p->mark = _mark;
 9392|     52|        D(fprintf(stderr, "%*c%s imaginary_number[%d-%d]: %s failed!\n", p->level, ' ',
 9393|     52|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NUMBER"));
 9394|     52|    }
 9395|     52|    _res = NULL;
 9396|    126|  done:
 9397|    126|    p->level--;
 9398|    126|    return _res;
 9399|     52|}
parser.c:capture_pattern_rule:
 9404|  41.9k|{
 9405|  41.9k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  83.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9405:9): [True: 0, False: 41.9k]
  |  Branch (9405:35): [True: 0, False: 41.9k]
  ------------------
 9406|      0|        _Pypegen_stack_overflow(p);
 9407|      0|    }
 9408|  41.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (9408:9): [True: 0, False: 41.9k]
  ------------------
 9409|      0|        p->level--;
 9410|      0|        return NULL;
 9411|      0|    }
 9412|  41.9k|    pattern_ty _res = NULL;
 9413|  41.9k|    int _mark = p->mark;
 9414|  41.9k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (9414:9): [True: 0, False: 41.9k]
  |  Branch (9414:31): [True: 0, False: 0]
  ------------------
 9415|      0|        p->error_indicator = 1;
 9416|      0|        p->level--;
 9417|      0|        return NULL;
 9418|      0|    }
 9419|  41.9k|    int _start_lineno = p->tokens[_mark]->lineno;
 9420|  41.9k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  41.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 41.9k]
  |  |  ------------------
  ------------------
 9421|  41.9k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 9422|  41.9k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  41.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 41.9k]
  |  |  ------------------
  ------------------
 9423|  41.9k|    { // pattern_capture_target
 9424|  41.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (9424:13): [True: 0, False: 41.9k]
  ------------------
 9425|      0|            p->level--;
 9426|      0|            return NULL;
 9427|      0|        }
 9428|  41.9k|        D(fprintf(stderr, "%*c> capture_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "pattern_capture_target"));
 9429|  41.9k|        expr_ty target;
 9430|  41.9k|        if (
 9431|  41.9k|            (target = pattern_capture_target_rule(p))  // pattern_capture_target
  ------------------
  |  Branch (9431:13): [True: 22.3k, False: 19.5k]
  ------------------
 9432|  41.9k|        )
 9433|  22.3k|        {
 9434|  22.3k|            D(fprintf(stderr, "%*c+ capture_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "pattern_capture_target"));
 9435|  22.3k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9436|  22.3k|            if (_token == NULL) {
  ------------------
  |  Branch (9436:17): [True: 0, False: 22.3k]
  ------------------
 9437|      0|                p->level--;
 9438|      0|                return NULL;
 9439|      0|            }
 9440|  22.3k|            int _end_lineno = _token->end_lineno;
 9441|  22.3k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  22.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 22.3k]
  |  |  ------------------
  ------------------
 9442|  22.3k|            int _end_col_offset = _token->end_col_offset;
 9443|  22.3k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  22.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 22.3k]
  |  |  ------------------
  ------------------
 9444|  22.3k|            _res = _PyAST_MatchAs ( NULL , target -> v . Name . id , EXTRA );
  ------------------
  |  |  281|  22.3k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9445|  22.3k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9445:18): [True: 0, False: 22.3k]
  |  Branch (9445:34): [True: 0, False: 22.3k]
  |  Branch (9445:57): [True: 0, False: 0]
  ------------------
 9446|      0|                p->error_indicator = 1;
 9447|      0|                p->level--;
 9448|      0|                return NULL;
 9449|      0|            }
 9450|  22.3k|            goto done;
 9451|  22.3k|        }
 9452|  19.5k|        p->mark = _mark;
 9453|  19.5k|        D(fprintf(stderr, "%*c%s capture_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 9454|  19.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "pattern_capture_target"));
 9455|  19.5k|    }
 9456|  19.5k|    _res = NULL;
 9457|  41.9k|  done:
 9458|  41.9k|    p->level--;
 9459|  41.9k|    return _res;
 9460|  19.5k|}
parser.c:value_pattern_rule:
 9573|  17.4k|{
 9574|  17.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  34.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9574:9): [True: 0, False: 17.4k]
  |  Branch (9574:35): [True: 0, False: 17.4k]
  ------------------
 9575|      0|        _Pypegen_stack_overflow(p);
 9576|      0|    }
 9577|  17.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (9577:9): [True: 0, False: 17.4k]
  ------------------
 9578|      0|        p->level--;
 9579|      0|        return NULL;
 9580|      0|    }
 9581|  17.4k|    pattern_ty _res = NULL;
 9582|  17.4k|    int _mark = p->mark;
 9583|  17.4k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (9583:9): [True: 0, False: 17.4k]
  |  Branch (9583:31): [True: 0, False: 0]
  ------------------
 9584|      0|        p->error_indicator = 1;
 9585|      0|        p->level--;
 9586|      0|        return NULL;
 9587|      0|    }
 9588|  17.4k|    int _start_lineno = p->tokens[_mark]->lineno;
 9589|  17.4k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  17.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 17.4k]
  |  |  ------------------
  ------------------
 9590|  17.4k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 9591|  17.4k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  17.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 17.4k]
  |  |  ------------------
  ------------------
 9592|  17.4k|    { // attr !('.' | '(' | '=')
 9593|  17.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (9593:13): [True: 0, False: 17.4k]
  ------------------
 9594|      0|            p->level--;
 9595|      0|            return NULL;
 9596|      0|        }
 9597|  17.4k|        D(fprintf(stderr, "%*c> value_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "attr !('.' | '(' | '=')"));
 9598|  17.4k|        expr_ty attr;
 9599|  17.4k|        if (
 9600|  17.4k|            (attr = attr_rule(p))  // attr
  ------------------
  |  Branch (9600:13): [True: 1.17k, False: 16.2k]
  ------------------
 9601|  1.17k|            &&
 9602|  1.17k|            _PyPegen_lookahead(0, _tmp_43_rule, p)
  ------------------
  |  Branch (9602:13): [True: 1.15k, False: 21]
  ------------------
 9603|  17.4k|        )
 9604|  1.15k|        {
 9605|  1.15k|            D(fprintf(stderr, "%*c+ value_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "attr !('.' | '(' | '=')"));
 9606|  1.15k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9607|  1.15k|            if (_token == NULL) {
  ------------------
  |  Branch (9607:17): [True: 0, False: 1.15k]
  ------------------
 9608|      0|                p->level--;
 9609|      0|                return NULL;
 9610|      0|            }
 9611|  1.15k|            int _end_lineno = _token->end_lineno;
 9612|  1.15k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.15k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.15k]
  |  |  ------------------
  ------------------
 9613|  1.15k|            int _end_col_offset = _token->end_col_offset;
 9614|  1.15k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.15k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.15k]
  |  |  ------------------
  ------------------
 9615|  1.15k|            _res = _PyAST_MatchValue ( attr , EXTRA );
  ------------------
  |  |  281|  1.15k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9616|  1.15k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9616:18): [True: 0, False: 1.15k]
  |  Branch (9616:34): [True: 0, False: 1.15k]
  |  Branch (9616:57): [True: 0, False: 0]
  ------------------
 9617|      0|                p->error_indicator = 1;
 9618|      0|                p->level--;
 9619|      0|                return NULL;
 9620|      0|            }
 9621|  1.15k|            goto done;
 9622|  1.15k|        }
 9623|  16.2k|        p->mark = _mark;
 9624|  16.2k|        D(fprintf(stderr, "%*c%s value_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 9625|  16.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "attr !('.' | '(' | '=')"));
 9626|  16.2k|    }
 9627|  16.2k|    _res = NULL;
 9628|  17.4k|  done:
 9629|  17.4k|    p->level--;
 9630|  17.4k|    return _res;
 9631|  16.2k|}
parser.c:attr_rule:
 9638|  96.8k|{
 9639|  96.8k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   193k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9639:9): [True: 0, False: 96.8k]
  |  Branch (9639:35): [True: 0, False: 96.8k]
  ------------------
 9640|      0|        _Pypegen_stack_overflow(p);
 9641|      0|    }
 9642|  96.8k|    expr_ty _res = NULL;
 9643|  96.8k|    if (_PyPegen_is_memoized(p, attr_type, &_res)) {
  ------------------
  |  |  174|  96.8k|#define attr_type 1085  // Left-recursive
  ------------------
  |  Branch (9643:9): [True: 79.3k, False: 17.5k]
  ------------------
 9644|  79.3k|        p->level--;
 9645|  79.3k|        return _res;
 9646|  79.3k|    }
 9647|  17.5k|    int _mark = p->mark;
 9648|  17.5k|    int _resmark = p->mark;
 9649|  18.8k|    while (1) {
  ------------------
  |  Branch (9649:12): [True: 18.8k, Folded]
  ------------------
 9650|  18.8k|        int tmpvar_1 = _PyPegen_update_memo(p, _mark, attr_type, _res);
  ------------------
  |  |  174|  18.8k|#define attr_type 1085  // Left-recursive
  ------------------
 9651|  18.8k|        if (tmpvar_1) {
  ------------------
  |  Branch (9651:13): [True: 0, False: 18.8k]
  ------------------
 9652|      0|            p->level--;
 9653|      0|            return _res;
 9654|      0|        }
 9655|  18.8k|        p->mark = _mark;
 9656|  18.8k|        void *_raw = attr_raw(p);
 9657|  18.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (9657:13): [True: 7, False: 18.7k]
  ------------------
 9658|      7|            p->level--;
 9659|      7|            return NULL;
 9660|      7|        }
 9661|  18.7k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (9661:13): [True: 17.5k, False: 1.26k]
  |  Branch (9661:29): [True: 0, False: 1.26k]
  ------------------
 9662|  17.5k|            break;
 9663|  1.26k|        _resmark = p->mark;
 9664|  1.26k|        _res = _raw;
 9665|  1.26k|    }
 9666|  17.5k|    p->mark = _resmark;
 9667|  17.5k|    p->level--;
 9668|  17.5k|    return _res;
 9669|  17.5k|}
parser.c:attr_raw:
 9672|  18.8k|{
 9673|  18.8k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  37.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9673:9): [True: 0, False: 18.8k]
  |  Branch (9673:35): [True: 0, False: 18.8k]
  ------------------
 9674|      0|        _Pypegen_stack_overflow(p);
 9675|      0|    }
 9676|  18.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (9676:9): [True: 0, False: 18.8k]
  ------------------
 9677|      0|        p->level--;
 9678|      0|        return NULL;
 9679|      0|    }
 9680|  18.8k|    expr_ty _res = NULL;
 9681|  18.8k|    int _mark = p->mark;
 9682|  18.8k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (9682:9): [True: 0, False: 18.8k]
  |  Branch (9682:31): [True: 0, False: 0]
  ------------------
 9683|      0|        p->error_indicator = 1;
 9684|      0|        p->level--;
 9685|      0|        return NULL;
 9686|      0|    }
 9687|  18.8k|    int _start_lineno = p->tokens[_mark]->lineno;
 9688|  18.8k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  18.8k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 18.8k]
  |  |  ------------------
  ------------------
 9689|  18.8k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 9690|  18.8k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  18.8k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 18.8k]
  |  |  ------------------
  ------------------
 9691|  18.8k|    { // name_or_attr '.' NAME
 9692|  18.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (9692:13): [True: 0, False: 18.8k]
  ------------------
 9693|      0|            p->level--;
 9694|      0|            return NULL;
 9695|      0|        }
 9696|  18.8k|        D(fprintf(stderr, "%*c> attr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "name_or_attr '.' NAME"));
 9697|  18.8k|        Token * _literal;
 9698|  18.8k|        expr_ty attr;
 9699|  18.8k|        expr_ty value;
 9700|  18.8k|        if (
 9701|  18.8k|            (value = name_or_attr_rule(p))  // name_or_attr
  ------------------
  |  Branch (9701:13): [True: 11.0k, False: 7.77k]
  ------------------
 9702|  11.0k|            &&
 9703|  11.0k|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (9703:13): [True: 1.27k, False: 9.75k]
  ------------------
 9704|  1.27k|            &&
 9705|  1.27k|            (attr = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (9705:13): [True: 1.26k, False: 10]
  ------------------
 9706|  18.8k|        )
 9707|  1.26k|        {
 9708|  1.26k|            D(fprintf(stderr, "%*c+ attr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "name_or_attr '.' NAME"));
 9709|  1.26k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9710|  1.26k|            if (_token == NULL) {
  ------------------
  |  Branch (9710:17): [True: 0, False: 1.26k]
  ------------------
 9711|      0|                p->level--;
 9712|      0|                return NULL;
 9713|      0|            }
 9714|  1.26k|            int _end_lineno = _token->end_lineno;
 9715|  1.26k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.26k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.26k]
  |  |  ------------------
  ------------------
 9716|  1.26k|            int _end_col_offset = _token->end_col_offset;
 9717|  1.26k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  1.26k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1.26k]
  |  |  ------------------
  ------------------
 9718|  1.26k|            _res = _PyAST_Attribute ( value , attr -> v . Name . id , Load , EXTRA );
  ------------------
  |  |  281|  1.26k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9719|  1.26k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9719:18): [True: 0, False: 1.26k]
  |  Branch (9719:34): [True: 0, False: 1.26k]
  |  Branch (9719:57): [True: 0, False: 0]
  ------------------
 9720|      0|                p->error_indicator = 1;
 9721|      0|                p->level--;
 9722|      0|                return NULL;
 9723|      0|            }
 9724|  1.26k|            goto done;
 9725|  1.26k|        }
 9726|  17.5k|        p->mark = _mark;
 9727|  17.5k|        D(fprintf(stderr, "%*c%s attr[%d-%d]: %s failed!\n", p->level, ' ',
 9728|  17.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "name_or_attr '.' NAME"));
 9729|  17.5k|    }
 9730|  17.5k|    _res = NULL;
 9731|  18.8k|  done:
 9732|  18.8k|    p->level--;
 9733|  18.8k|    return _res;
 9734|  17.5k|}
parser.c:name_or_attr_rule:
 9740|  79.1k|{
 9741|  79.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   158k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9741:9): [True: 0, False: 79.1k]
  |  Branch (9741:35): [True: 0, False: 79.1k]
  ------------------
 9742|      0|        _Pypegen_stack_overflow(p);
 9743|      0|    }
 9744|  79.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (9744:9): [True: 0, False: 79.1k]
  ------------------
 9745|      0|        p->level--;
 9746|      0|        return NULL;
 9747|      0|    }
 9748|  79.1k|    expr_ty _res = NULL;
 9749|  79.1k|    int _mark = p->mark;
 9750|  79.1k|    { // attr
 9751|  79.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (9751:13): [True: 0, False: 79.1k]
  ------------------
 9752|      0|            p->level--;
 9753|      0|            return NULL;
 9754|      0|        }
 9755|  79.1k|        D(fprintf(stderr, "%*c> name_or_attr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "attr"));
 9756|  79.1k|        expr_ty attr_var;
 9757|  79.1k|        if (
 9758|  79.1k|            (attr_var = attr_rule(p))  // attr
  ------------------
  |  Branch (9758:13): [True: 1.33k, False: 77.8k]
  ------------------
 9759|  79.1k|        )
 9760|  1.33k|        {
 9761|  1.33k|            D(fprintf(stderr, "%*c+ name_or_attr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "attr"));
 9762|  1.33k|            _res = attr_var;
 9763|  1.33k|            goto done;
 9764|  1.33k|        }
 9765|  77.8k|        p->mark = _mark;
 9766|  77.8k|        D(fprintf(stderr, "%*c%s name_or_attr[%d-%d]: %s failed!\n", p->level, ' ',
 9767|  77.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "attr"));
 9768|  77.8k|    }
 9769|      0|    { // NAME
 9770|  77.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (9770:13): [True: 0, False: 77.8k]
  ------------------
 9771|      0|            p->level--;
 9772|      0|            return NULL;
 9773|      0|        }
 9774|  77.8k|        D(fprintf(stderr, "%*c> name_or_attr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
 9775|  77.8k|        expr_ty name_var;
 9776|  77.8k|        if (
 9777|  77.8k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (9777:13): [True: 45.5k, False: 32.2k]
  ------------------
 9778|  77.8k|        )
 9779|  45.5k|        {
 9780|  45.5k|            D(fprintf(stderr, "%*c+ name_or_attr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
 9781|  45.5k|            _res = name_var;
 9782|  45.5k|            goto done;
 9783|  45.5k|        }
 9784|  32.2k|        p->mark = _mark;
 9785|  32.2k|        D(fprintf(stderr, "%*c%s name_or_attr[%d-%d]: %s failed!\n", p->level, ' ',
 9786|  32.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
 9787|  32.2k|    }
 9788|  32.2k|    _res = NULL;
 9789|  79.1k|  done:
 9790|  79.1k|    p->level--;
 9791|  79.1k|    return _res;
 9792|  32.2k|}
parser.c:group_pattern_rule:
 9797|  16.2k|{
 9798|  16.2k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  32.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9798:9): [True: 0, False: 16.2k]
  |  Branch (9798:35): [True: 0, False: 16.2k]
  ------------------
 9799|      0|        _Pypegen_stack_overflow(p);
 9800|      0|    }
 9801|  16.2k|    if (p->error_indicator) {
  ------------------
  |  Branch (9801:9): [True: 0, False: 16.2k]
  ------------------
 9802|      0|        p->level--;
 9803|      0|        return NULL;
 9804|      0|    }
 9805|  16.2k|    pattern_ty _res = NULL;
 9806|  16.2k|    int _mark = p->mark;
 9807|  16.2k|    { // '(' pattern ')'
 9808|  16.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (9808:13): [True: 0, False: 16.2k]
  ------------------
 9809|      0|            p->level--;
 9810|      0|            return NULL;
 9811|      0|        }
 9812|  16.2k|        D(fprintf(stderr, "%*c> group_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' pattern ')'"));
 9813|  16.2k|        Token * _literal;
 9814|  16.2k|        Token * _literal_1;
 9815|  16.2k|        pattern_ty pattern;
 9816|  16.2k|        if (
 9817|  16.2k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (9817:13): [True: 3.72k, False: 12.5k]
  ------------------
 9818|  3.72k|            &&
 9819|  3.72k|            (pattern = pattern_rule(p))  // pattern
  ------------------
  |  Branch (9819:13): [True: 1.64k, False: 2.08k]
  ------------------
 9820|  1.64k|            &&
 9821|  1.64k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (9821:13): [True: 43, False: 1.59k]
  ------------------
 9822|  16.2k|        )
 9823|     43|        {
 9824|     43|            D(fprintf(stderr, "%*c+ group_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' pattern ')'"));
 9825|     43|            _res = pattern;
 9826|     43|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9826:18): [True: 0, False: 43]
  |  Branch (9826:34): [True: 0, False: 43]
  |  Branch (9826:57): [True: 0, False: 0]
  ------------------
 9827|      0|                p->error_indicator = 1;
 9828|      0|                p->level--;
 9829|      0|                return NULL;
 9830|      0|            }
 9831|     43|            goto done;
 9832|     43|        }
 9833|  16.2k|        p->mark = _mark;
 9834|  16.2k|        D(fprintf(stderr, "%*c%s group_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 9835|  16.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' pattern ')'"));
 9836|  16.2k|    }
 9837|  16.2k|    _res = NULL;
 9838|  16.2k|  done:
 9839|  16.2k|    p->level--;
 9840|  16.2k|    return _res;
 9841|  16.2k|}
parser.c:sequence_pattern_rule:
 9846|  15.5k|{
 9847|  15.5k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  31.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (9847:9): [True: 0, False: 15.5k]
  |  Branch (9847:35): [True: 0, False: 15.5k]
  ------------------
 9848|      0|        _Pypegen_stack_overflow(p);
 9849|      0|    }
 9850|  15.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (9850:9): [True: 0, False: 15.5k]
  ------------------
 9851|      0|        p->level--;
 9852|      0|        return NULL;
 9853|      0|    }
 9854|  15.5k|    pattern_ty _res = NULL;
 9855|  15.5k|    int _mark = p->mark;
 9856|  15.5k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (9856:9): [True: 0, False: 15.5k]
  |  Branch (9856:31): [True: 0, False: 0]
  ------------------
 9857|      0|        p->error_indicator = 1;
 9858|      0|        p->level--;
 9859|      0|        return NULL;
 9860|      0|    }
 9861|  15.5k|    int _start_lineno = p->tokens[_mark]->lineno;
 9862|  15.5k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  15.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 15.5k]
  |  |  ------------------
  ------------------
 9863|  15.5k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 9864|  15.5k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  15.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 15.5k]
  |  |  ------------------
  ------------------
 9865|  15.5k|    { // '[' maybe_sequence_pattern? ']'
 9866|  15.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (9866:13): [True: 0, False: 15.5k]
  ------------------
 9867|      0|            p->level--;
 9868|      0|            return NULL;
 9869|      0|        }
 9870|  15.5k|        D(fprintf(stderr, "%*c> sequence_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' maybe_sequence_pattern? ']'"));
 9871|  15.5k|        Token * _literal;
 9872|  15.5k|        Token * _literal_1;
 9873|  15.5k|        void *patterns;
 9874|  15.5k|        if (
 9875|  15.5k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (9875:13): [True: 2.25k, False: 13.3k]
  ------------------
 9876|  2.25k|            &&
 9877|  2.25k|            (patterns = maybe_sequence_pattern_rule(p), !p->error_indicator)  // maybe_sequence_pattern?
  ------------------
  |  Branch (9877:13): [True: 1.62k, False: 631]
  ------------------
 9878|  1.62k|            &&
 9879|  1.62k|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (9879:13): [True: 188, False: 1.43k]
  ------------------
 9880|  15.5k|        )
 9881|    188|        {
 9882|    188|            D(fprintf(stderr, "%*c+ sequence_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' maybe_sequence_pattern? ']'"));
 9883|    188|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9884|    188|            if (_token == NULL) {
  ------------------
  |  Branch (9884:17): [True: 0, False: 188]
  ------------------
 9885|      0|                p->level--;
 9886|      0|                return NULL;
 9887|      0|            }
 9888|    188|            int _end_lineno = _token->end_lineno;
 9889|    188|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    188|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 188]
  |  |  ------------------
  ------------------
 9890|    188|            int _end_col_offset = _token->end_col_offset;
 9891|    188|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    188|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 188]
  |  |  ------------------
  ------------------
 9892|    188|            _res = _PyAST_MatchSequence ( patterns , EXTRA );
  ------------------
  |  |  281|    188|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9893|    188|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9893:18): [True: 0, False: 188]
  |  Branch (9893:34): [True: 0, False: 188]
  |  Branch (9893:57): [True: 0, False: 0]
  ------------------
 9894|      0|                p->error_indicator = 1;
 9895|      0|                p->level--;
 9896|      0|                return NULL;
 9897|      0|            }
 9898|    188|            goto done;
 9899|    188|        }
 9900|  15.4k|        p->mark = _mark;
 9901|  15.4k|        D(fprintf(stderr, "%*c%s sequence_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 9902|  15.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' maybe_sequence_pattern? ']'"));
 9903|  15.4k|    }
 9904|      0|    { // '(' open_sequence_pattern? ')'
 9905|  15.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (9905:13): [True: 631, False: 14.7k]
  ------------------
 9906|    631|            p->level--;
 9907|    631|            return NULL;
 9908|    631|        }
 9909|  14.7k|        D(fprintf(stderr, "%*c> sequence_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' open_sequence_pattern? ')'"));
 9910|  14.7k|        Token * _literal;
 9911|  14.7k|        Token * _literal_1;
 9912|  14.7k|        void *patterns;
 9913|  14.7k|        if (
 9914|  14.7k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (9914:13): [True: 3.04k, False: 11.7k]
  ------------------
 9915|  3.04k|            &&
 9916|  3.04k|            (patterns = open_sequence_pattern_rule(p), !p->error_indicator)  // open_sequence_pattern?
  ------------------
  |  Branch (9916:13): [True: 2.69k, False: 347]
  ------------------
 9917|  2.69k|            &&
 9918|  2.69k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (9918:13): [True: 435, False: 2.26k]
  ------------------
 9919|  14.7k|        )
 9920|    435|        {
 9921|    435|            D(fprintf(stderr, "%*c+ sequence_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' open_sequence_pattern? ')'"));
 9922|    435|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9923|    435|            if (_token == NULL) {
  ------------------
  |  Branch (9923:17): [True: 0, False: 435]
  ------------------
 9924|      0|                p->level--;
 9925|      0|                return NULL;
 9926|      0|            }
 9927|    435|            int _end_lineno = _token->end_lineno;
 9928|    435|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    435|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 435]
  |  |  ------------------
  ------------------
 9929|    435|            int _end_col_offset = _token->end_col_offset;
 9930|    435|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    435|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 435]
  |  |  ------------------
  ------------------
 9931|    435|            _res = _PyAST_MatchSequence ( patterns , EXTRA );
  ------------------
  |  |  281|    435|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9932|    435|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9932:18): [True: 0, False: 435]
  |  Branch (9932:34): [True: 0, False: 435]
  |  Branch (9932:57): [True: 0, False: 0]
  ------------------
 9933|      0|                p->error_indicator = 1;
 9934|      0|                p->level--;
 9935|      0|                return NULL;
 9936|      0|            }
 9937|    435|            goto done;
 9938|    435|        }
 9939|  14.3k|        p->mark = _mark;
 9940|  14.3k|        D(fprintf(stderr, "%*c%s sequence_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 9941|  14.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' open_sequence_pattern? ')'"));
 9942|  14.3k|    }
 9943|  14.3k|    _res = NULL;
 9944|  14.9k|  done:
 9945|  14.9k|    p->level--;
 9946|  14.9k|    return _res;
 9947|  14.3k|}
parser.c:mapping_pattern_rule:
10215|  13.9k|{
10216|  13.9k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  27.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10216:9): [True: 0, False: 13.9k]
  |  Branch (10216:35): [True: 0, False: 13.9k]
  ------------------
10217|      0|        _Pypegen_stack_overflow(p);
10218|      0|    }
10219|  13.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (10219:9): [True: 0, False: 13.9k]
  ------------------
10220|      0|        p->level--;
10221|      0|        return NULL;
10222|      0|    }
10223|  13.9k|    pattern_ty _res = NULL;
10224|  13.9k|    int _mark = p->mark;
10225|  13.9k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (10225:9): [True: 0, False: 13.9k]
  |  Branch (10225:31): [True: 0, False: 0]
  ------------------
10226|      0|        p->error_indicator = 1;
10227|      0|        p->level--;
10228|      0|        return NULL;
10229|      0|    }
10230|  13.9k|    int _start_lineno = p->tokens[_mark]->lineno;
10231|  13.9k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  13.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 13.9k]
  |  |  ------------------
  ------------------
10232|  13.9k|    int _start_col_offset = p->tokens[_mark]->col_offset;
10233|  13.9k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  13.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 13.9k]
  |  |  ------------------
  ------------------
10234|  13.9k|    { // '{' '}'
10235|  13.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (10235:13): [True: 0, False: 13.9k]
  ------------------
10236|      0|            p->level--;
10237|      0|            return NULL;
10238|      0|        }
10239|  13.9k|        D(fprintf(stderr, "%*c> mapping_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' '}'"));
10240|  13.9k|        Token * _literal;
10241|  13.9k|        Token * _literal_1;
10242|  13.9k|        if (
10243|  13.9k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (10243:13): [True: 943, False: 13.0k]
  ------------------
10244|    943|            &&
10245|    943|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (10245:13): [True: 58, False: 885]
  ------------------
10246|  13.9k|        )
10247|     58|        {
10248|     58|            D(fprintf(stderr, "%*c+ mapping_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' '}'"));
10249|     58|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
10250|     58|            if (_token == NULL) {
  ------------------
  |  Branch (10250:17): [True: 0, False: 58]
  ------------------
10251|      0|                p->level--;
10252|      0|                return NULL;
10253|      0|            }
10254|     58|            int _end_lineno = _token->end_lineno;
10255|     58|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|     58|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 58]
  |  |  ------------------
  ------------------
10256|     58|            int _end_col_offset = _token->end_col_offset;
10257|     58|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|     58|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 58]
  |  |  ------------------
  ------------------
10258|     58|            _res = _PyAST_MatchMapping ( NULL , NULL , NULL , EXTRA );
  ------------------
  |  |  281|     58|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
10259|     58|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10259:18): [True: 0, False: 58]
  |  Branch (10259:34): [True: 0, False: 58]
  |  Branch (10259:57): [True: 0, False: 0]
  ------------------
10260|      0|                p->error_indicator = 1;
10261|      0|                p->level--;
10262|      0|                return NULL;
10263|      0|            }
10264|     58|            goto done;
10265|     58|        }
10266|  13.9k|        p->mark = _mark;
10267|  13.9k|        D(fprintf(stderr, "%*c%s mapping_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10268|  13.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' '}'"));
10269|  13.9k|    }
10270|      0|    { // '{' double_star_pattern ','? '}'
10271|  13.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (10271:13): [True: 4, False: 13.9k]
  ------------------
10272|      4|            p->level--;
10273|      4|            return NULL;
10274|      4|        }
10275|  13.9k|        D(fprintf(stderr, "%*c> mapping_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' double_star_pattern ','? '}'"));
10276|  13.9k|        Token * _literal;
10277|  13.9k|        Token * _literal_1;
10278|  13.9k|        void *_opt_var;
10279|  13.9k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  13.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 13.9k]
  |  |  ------------------
  ------------------
10280|  13.9k|        expr_ty rest;
10281|  13.9k|        if (
10282|  13.9k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (10282:13): [True: 881, False: 13.0k]
  ------------------
10283|    881|            &&
10284|    881|            (rest = double_star_pattern_rule(p))  // double_star_pattern
  ------------------
  |  Branch (10284:13): [True: 8, False: 873]
  ------------------
10285|      8|            &&
10286|      8|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (10286:13): [True: 8, False: 0]
  ------------------
10287|      8|            &&
10288|      8|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (10288:13): [True: 1, False: 7]
  ------------------
10289|  13.9k|        )
10290|      1|        {
10291|      1|            D(fprintf(stderr, "%*c+ mapping_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' double_star_pattern ','? '}'"));
10292|      1|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
10293|      1|            if (_token == NULL) {
  ------------------
  |  Branch (10293:17): [True: 0, False: 1]
  ------------------
10294|      0|                p->level--;
10295|      0|                return NULL;
10296|      0|            }
10297|      1|            int _end_lineno = _token->end_lineno;
10298|      1|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
10299|      1|            int _end_col_offset = _token->end_col_offset;
10300|      1|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
10301|      1|            _res = _PyAST_MatchMapping ( NULL , NULL , rest -> v . Name . id , EXTRA );
  ------------------
  |  |  281|      1|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
10302|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10302:18): [True: 0, False: 1]
  |  Branch (10302:34): [True: 0, False: 1]
  |  Branch (10302:57): [True: 0, False: 0]
  ------------------
10303|      0|                p->error_indicator = 1;
10304|      0|                p->level--;
10305|      0|                return NULL;
10306|      0|            }
10307|      1|            goto done;
10308|      1|        }
10309|  13.9k|        p->mark = _mark;
10310|  13.9k|        D(fprintf(stderr, "%*c%s mapping_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10311|  13.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' double_star_pattern ','? '}'"));
10312|  13.9k|    }
10313|      0|    { // '{' items_pattern ',' double_star_pattern ','? '}'
10314|  13.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (10314:13): [True: 2, False: 13.9k]
  ------------------
10315|      2|            p->level--;
10316|      2|            return NULL;
10317|      2|        }
10318|  13.9k|        D(fprintf(stderr, "%*c> mapping_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' items_pattern ',' double_star_pattern ','? '}'"));
10319|  13.9k|        Token * _literal;
10320|  13.9k|        Token * _literal_1;
10321|  13.9k|        Token * _literal_2;
10322|  13.9k|        void *_opt_var;
10323|  13.9k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  13.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 13.9k]
  |  |  ------------------
  ------------------
10324|  13.9k|        asdl_seq* items;
10325|  13.9k|        expr_ty rest;
10326|  13.9k|        if (
10327|  13.9k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (10327:13): [True: 878, False: 13.0k]
  ------------------
10328|    878|            &&
10329|    878|            (items = items_pattern_rule(p))  // items_pattern
  ------------------
  |  Branch (10329:13): [True: 204, False: 674]
  ------------------
10330|    204|            &&
10331|    204|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (10331:13): [True: 137, False: 67]
  ------------------
10332|    137|            &&
10333|    137|            (rest = double_star_pattern_rule(p))  // double_star_pattern
  ------------------
  |  Branch (10333:13): [True: 20, False: 117]
  ------------------
10334|     20|            &&
10335|     20|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (10335:13): [True: 20, False: 0]
  ------------------
10336|     20|            &&
10337|     20|            (_literal_2 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (10337:13): [True: 3, False: 17]
  ------------------
10338|  13.9k|        )
10339|      3|        {
10340|      3|            D(fprintf(stderr, "%*c+ mapping_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' items_pattern ',' double_star_pattern ','? '}'"));
10341|      3|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
10342|      3|            if (_token == NULL) {
  ------------------
  |  Branch (10342:17): [True: 0, False: 3]
  ------------------
10343|      0|                p->level--;
10344|      0|                return NULL;
10345|      0|            }
10346|      3|            int _end_lineno = _token->end_lineno;
10347|      3|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
10348|      3|            int _end_col_offset = _token->end_col_offset;
10349|      3|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
10350|      3|            _res = _PyAST_MatchMapping ( CHECK ( asdl_expr_seq* , _PyPegen_get_pattern_keys ( p , items ) ) , CHECK ( asdl_pattern_seq* , _PyPegen_get_patterns ( p , items ) ) , rest -> v . Name . id , EXTRA );
  ------------------
  |  |  245|      3|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_MatchMapping ( CHECK ( asdl_expr_seq* , _PyPegen_get_pattern_keys ( p , items ) ) , CHECK ( asdl_pattern_seq* , _PyPegen_get_patterns ( p , items ) ) , rest -> v . Name . id , EXTRA );
  ------------------
  |  |  245|      3|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_MatchMapping ( CHECK ( asdl_expr_seq* , _PyPegen_get_pattern_keys ( p , items ) ) , CHECK ( asdl_pattern_seq* , _PyPegen_get_patterns ( p , items ) ) , rest -> v . Name . id , EXTRA );
  ------------------
  |  |  281|      3|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
10351|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10351:18): [True: 0, False: 3]
  |  Branch (10351:34): [True: 0, False: 3]
  |  Branch (10351:57): [True: 0, False: 0]
  ------------------
10352|      0|                p->error_indicator = 1;
10353|      0|                p->level--;
10354|      0|                return NULL;
10355|      0|            }
10356|      3|            goto done;
10357|      3|        }
10358|  13.9k|        p->mark = _mark;
10359|  13.9k|        D(fprintf(stderr, "%*c%s mapping_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10360|  13.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' items_pattern ',' double_star_pattern ','? '}'"));
10361|  13.9k|    }
10362|      0|    { // '{' items_pattern ','? '}'
10363|  13.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (10363:13): [True: 142, False: 13.7k]
  ------------------
10364|    142|            p->level--;
10365|    142|            return NULL;
10366|    142|        }
10367|  13.7k|        D(fprintf(stderr, "%*c> mapping_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' items_pattern ','? '}'"));
10368|  13.7k|        Token * _literal;
10369|  13.7k|        Token * _literal_1;
10370|  13.7k|        void *_opt_var;
10371|  13.7k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  13.7k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 13.7k]
  |  |  ------------------
  ------------------
10372|  13.7k|        asdl_seq* items;
10373|  13.7k|        if (
10374|  13.7k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (10374:13): [True: 733, False: 13.0k]
  ------------------
10375|    733|            &&
10376|    733|            (items = items_pattern_rule(p))  // items_pattern
  ------------------
  |  Branch (10376:13): [True: 175, False: 558]
  ------------------
10377|    175|            &&
10378|    175|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (10378:13): [True: 175, False: 0]
  ------------------
10379|    175|            &&
10380|    175|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (10380:13): [True: 20, False: 155]
  ------------------
10381|  13.7k|        )
10382|     20|        {
10383|     20|            D(fprintf(stderr, "%*c+ mapping_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' items_pattern ','? '}'"));
10384|     20|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
10385|     20|            if (_token == NULL) {
  ------------------
  |  Branch (10385:17): [True: 0, False: 20]
  ------------------
10386|      0|                p->level--;
10387|      0|                return NULL;
10388|      0|            }
10389|     20|            int _end_lineno = _token->end_lineno;
10390|     20|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|     20|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 20]
  |  |  ------------------
  ------------------
10391|     20|            int _end_col_offset = _token->end_col_offset;
10392|     20|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|     20|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 20]
  |  |  ------------------
  ------------------
10393|     20|            _res = _PyAST_MatchMapping ( CHECK ( asdl_expr_seq* , _PyPegen_get_pattern_keys ( p , items ) ) , CHECK ( asdl_pattern_seq* , _PyPegen_get_patterns ( p , items ) ) , NULL , EXTRA );
  ------------------
  |  |  245|     20|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_MatchMapping ( CHECK ( asdl_expr_seq* , _PyPegen_get_pattern_keys ( p , items ) ) , CHECK ( asdl_pattern_seq* , _PyPegen_get_patterns ( p , items ) ) , NULL , EXTRA );
  ------------------
  |  |  245|     20|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_MatchMapping ( CHECK ( asdl_expr_seq* , _PyPegen_get_pattern_keys ( p , items ) ) , CHECK ( asdl_pattern_seq* , _PyPegen_get_patterns ( p , items ) ) , NULL , EXTRA );
  ------------------
  |  |  281|     20|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
10394|     20|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10394:18): [True: 0, False: 20]
  |  Branch (10394:34): [True: 0, False: 20]
  |  Branch (10394:57): [True: 0, False: 0]
  ------------------
10395|      0|                p->error_indicator = 1;
10396|      0|                p->level--;
10397|      0|                return NULL;
10398|      0|            }
10399|     20|            goto done;
10400|     20|        }
10401|  13.7k|        p->mark = _mark;
10402|  13.7k|        D(fprintf(stderr, "%*c%s mapping_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10403|  13.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' items_pattern ','? '}'"));
10404|  13.7k|    }
10405|  13.7k|    if (p->call_invalid_rules) { // invalid_mapping_pattern
  ------------------
  |  Branch (10405:9): [True: 10.6k, False: 3.07k]
  ------------------
10406|  10.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (10406:13): [True: 0, False: 10.6k]
  ------------------
10407|      0|            p->level--;
10408|      0|            return NULL;
10409|      0|        }
10410|  10.6k|        D(fprintf(stderr, "%*c> mapping_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_mapping_pattern"));
10411|  10.6k|        void *invalid_mapping_pattern_var;
10412|  10.6k|        if (
10413|  10.6k|            (invalid_mapping_pattern_var = invalid_mapping_pattern_rule(p))  // invalid_mapping_pattern
  ------------------
  |  Branch (10413:13): [True: 0, False: 10.6k]
  ------------------
10414|  10.6k|        )
10415|      0|        {
10416|      0|            D(fprintf(stderr, "%*c+ mapping_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_mapping_pattern"));
10417|      0|            _res = invalid_mapping_pattern_var;
10418|      0|            goto done;
10419|      0|        }
10420|  10.6k|        p->mark = _mark;
10421|  10.6k|        D(fprintf(stderr, "%*c%s mapping_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10422|  10.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_mapping_pattern"));
10423|  10.6k|    }
10424|  13.7k|    _res = NULL;
10425|  13.8k|  done:
10426|  13.8k|    p->level--;
10427|  13.8k|    return _res;
10428|  13.7k|}
parser.c:double_star_pattern_rule:
10520|  1.41k|{
10521|  1.41k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.82k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10521:9): [True: 0, False: 1.41k]
  |  Branch (10521:35): [True: 0, False: 1.41k]
  ------------------
10522|      0|        _Pypegen_stack_overflow(p);
10523|      0|    }
10524|  1.41k|    if (p->error_indicator) {
  ------------------
  |  Branch (10524:9): [True: 25, False: 1.38k]
  ------------------
10525|     25|        p->level--;
10526|     25|        return NULL;
10527|     25|    }
10528|  1.38k|    expr_ty _res = NULL;
10529|  1.38k|    int _mark = p->mark;
10530|  1.38k|    { // '**' pattern_capture_target
10531|  1.38k|        if (p->error_indicator) {
  ------------------
  |  Branch (10531:13): [True: 0, False: 1.38k]
  ------------------
10532|      0|            p->level--;
10533|      0|            return NULL;
10534|      0|        }
10535|  1.38k|        D(fprintf(stderr, "%*c> double_star_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' pattern_capture_target"));
10536|  1.38k|        Token * _literal;
10537|  1.38k|        expr_ty target;
10538|  1.38k|        if (
10539|  1.38k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (10539:13): [True: 51, False: 1.33k]
  ------------------
10540|     51|            &&
10541|     51|            (target = pattern_capture_target_rule(p))  // pattern_capture_target
  ------------------
  |  Branch (10541:13): [True: 42, False: 9]
  ------------------
10542|  1.38k|        )
10543|     42|        {
10544|     42|            D(fprintf(stderr, "%*c+ double_star_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' pattern_capture_target"));
10545|     42|            _res = target;
10546|     42|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10546:18): [True: 0, False: 42]
  |  Branch (10546:34): [True: 0, False: 42]
  |  Branch (10546:57): [True: 0, False: 0]
  ------------------
10547|      0|                p->error_indicator = 1;
10548|      0|                p->level--;
10549|      0|                return NULL;
10550|      0|            }
10551|     42|            goto done;
10552|     42|        }
10553|  1.34k|        p->mark = _mark;
10554|  1.34k|        D(fprintf(stderr, "%*c%s double_star_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10555|  1.34k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' pattern_capture_target"));
10556|  1.34k|    }
10557|  1.34k|    _res = NULL;
10558|  1.38k|  done:
10559|  1.38k|    p->level--;
10560|  1.38k|    return _res;
10561|  1.34k|}
parser.c:items_pattern_rule:
10433|  2.01k|{
10434|  2.01k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.03k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10434:9): [True: 0, False: 2.01k]
  |  Branch (10434:35): [True: 0, False: 2.01k]
  ------------------
10435|      0|        _Pypegen_stack_overflow(p);
10436|      0|    }
10437|  2.01k|    if (p->error_indicator) {
  ------------------
  |  Branch (10437:9): [True: 0, False: 2.01k]
  ------------------
10438|      0|        p->level--;
10439|      0|        return NULL;
10440|      0|    }
10441|  2.01k|    asdl_seq* _res = NULL;
10442|  2.01k|    int _mark = p->mark;
10443|  2.01k|    { // ','.key_value_pattern+
10444|  2.01k|        if (p->error_indicator) {
  ------------------
  |  Branch (10444:13): [True: 0, False: 2.01k]
  ------------------
10445|      0|            p->level--;
10446|      0|            return NULL;
10447|      0|        }
10448|  2.01k|        D(fprintf(stderr, "%*c> items_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.key_value_pattern+"));
10449|  2.01k|        asdl_seq * _gather_47_var;
10450|  2.01k|        if (
10451|  2.01k|            (_gather_47_var = _gather_47_rule(p))  // ','.key_value_pattern+
  ------------------
  |  Branch (10451:13): [True: 474, False: 1.54k]
  ------------------
10452|  2.01k|        )
10453|    474|        {
10454|    474|            D(fprintf(stderr, "%*c+ items_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.key_value_pattern+"));
10455|    474|            _res = _gather_47_var;
10456|    474|            goto done;
10457|    474|        }
10458|  1.54k|        p->mark = _mark;
10459|  1.54k|        D(fprintf(stderr, "%*c%s items_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10460|  1.54k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.key_value_pattern+"));
10461|  1.54k|    }
10462|  1.54k|    _res = NULL;
10463|  2.01k|  done:
10464|  2.01k|    p->level--;
10465|  2.01k|    return _res;
10466|  1.54k|}
parser.c:_gather_47_rule:
31552|  2.01k|{
31553|  2.01k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.03k|#  define MAXSTACK 6000
  ------------------
  |  Branch (31553:9): [True: 0, False: 2.01k]
  |  Branch (31553:35): [True: 0, False: 2.01k]
  ------------------
31554|      0|        _Pypegen_stack_overflow(p);
31555|      0|    }
31556|  2.01k|    if (p->error_indicator) {
  ------------------
  |  Branch (31556:9): [True: 0, False: 2.01k]
  ------------------
31557|      0|        p->level--;
31558|      0|        return NULL;
31559|      0|    }
31560|  2.01k|    asdl_seq * _res = NULL;
31561|  2.01k|    int _mark = p->mark;
31562|  2.01k|    { // key_value_pattern _loop0_46
31563|  2.01k|        if (p->error_indicator) {
  ------------------
  |  Branch (31563:13): [True: 0, False: 2.01k]
  ------------------
31564|      0|            p->level--;
31565|      0|            return NULL;
31566|      0|        }
31567|  2.01k|        D(fprintf(stderr, "%*c> _gather_47[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "key_value_pattern _loop0_46"));
31568|  2.01k|        KeyPatternPair* elem;
31569|  2.01k|        asdl_seq * seq;
31570|  2.01k|        if (
31571|  2.01k|            (elem = key_value_pattern_rule(p))  // key_value_pattern
  ------------------
  |  Branch (31571:13): [True: 474, False: 1.54k]
  ------------------
31572|    474|            &&
31573|    474|            (seq = _loop0_46_rule(p))  // _loop0_46
  ------------------
  |  Branch (31573:13): [True: 474, False: 0]
  ------------------
31574|  2.01k|        )
31575|    474|        {
31576|    474|            D(fprintf(stderr, "%*c+ _gather_47[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "key_value_pattern _loop0_46"));
31577|    474|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
31578|    474|            goto done;
31579|    474|        }
31580|  1.54k|        p->mark = _mark;
31581|  1.54k|        D(fprintf(stderr, "%*c%s _gather_47[%d-%d]: %s failed!\n", p->level, ' ',
31582|  1.54k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "key_value_pattern _loop0_46"));
31583|  1.54k|    }
31584|  1.54k|    _res = NULL;
31585|  2.01k|  done:
31586|  2.01k|    p->level--;
31587|  2.01k|    return _res;
31588|  1.54k|}
parser.c:key_value_pattern_rule:
10471|  3.52k|{
10472|  3.52k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  7.05k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10472:9): [True: 0, False: 3.52k]
  |  Branch (10472:35): [True: 0, False: 3.52k]
  ------------------
10473|      0|        _Pypegen_stack_overflow(p);
10474|      0|    }
10475|  3.52k|    if (p->error_indicator) {
  ------------------
  |  Branch (10475:9): [True: 0, False: 3.52k]
  ------------------
10476|      0|        p->level--;
10477|      0|        return NULL;
10478|      0|    }
10479|  3.52k|    KeyPatternPair* _res = NULL;
10480|  3.52k|    int _mark = p->mark;
10481|  3.52k|    { // (literal_expr | attr) ':' pattern
10482|  3.52k|        if (p->error_indicator) {
  ------------------
  |  Branch (10482:13): [True: 0, False: 3.52k]
  ------------------
10483|      0|            p->level--;
10484|      0|            return NULL;
10485|      0|        }
10486|  3.52k|        D(fprintf(stderr, "%*c> key_value_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(literal_expr | attr) ':' pattern"));
10487|  3.52k|        Token * _literal;
10488|  3.52k|        void *key;
10489|  3.52k|        pattern_ty pattern;
10490|  3.52k|        if (
10491|  3.52k|            (key = _tmp_48_rule(p))  // literal_expr | attr
  ------------------
  |  Branch (10491:13): [True: 3.28k, False: 236]
  ------------------
10492|  3.28k|            &&
10493|  3.28k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (10493:13): [True: 3.19k, False: 97]
  ------------------
10494|  3.19k|            &&
10495|  3.19k|            (pattern = pattern_rule(p))  // pattern
  ------------------
  |  Branch (10495:13): [True: 1.67k, False: 1.51k]
  ------------------
10496|  3.52k|        )
10497|  1.67k|        {
10498|  1.67k|            D(fprintf(stderr, "%*c+ key_value_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(literal_expr | attr) ':' pattern"));
10499|  1.67k|            _res = _PyPegen_key_pattern_pair ( p , key , pattern );
10500|  1.67k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10500:18): [True: 0, False: 1.67k]
  |  Branch (10500:34): [True: 0, False: 1.67k]
  |  Branch (10500:57): [True: 0, False: 0]
  ------------------
10501|      0|                p->error_indicator = 1;
10502|      0|                p->level--;
10503|      0|                return NULL;
10504|      0|            }
10505|  1.67k|            goto done;
10506|  1.67k|        }
10507|  1.84k|        p->mark = _mark;
10508|  1.84k|        D(fprintf(stderr, "%*c%s key_value_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10509|  1.84k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(literal_expr | attr) ':' pattern"));
10510|  1.84k|    }
10511|  1.84k|    _res = NULL;
10512|  3.52k|  done:
10513|  3.52k|    p->level--;
10514|  3.52k|    return _res;
10515|  1.84k|}
parser.c:_tmp_48_rule:
31593|  3.52k|{
31594|  3.52k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  7.05k|#  define MAXSTACK 6000
  ------------------
  |  Branch (31594:9): [True: 0, False: 3.52k]
  |  Branch (31594:35): [True: 0, False: 3.52k]
  ------------------
31595|      0|        _Pypegen_stack_overflow(p);
31596|      0|    }
31597|  3.52k|    if (p->error_indicator) {
  ------------------
  |  Branch (31597:9): [True: 0, False: 3.52k]
  ------------------
31598|      0|        p->level--;
31599|      0|        return NULL;
31600|      0|    }
31601|  3.52k|    void * _res = NULL;
31602|  3.52k|    int _mark = p->mark;
31603|  3.52k|    { // literal_expr
31604|  3.52k|        if (p->error_indicator) {
  ------------------
  |  Branch (31604:13): [True: 0, False: 3.52k]
  ------------------
31605|      0|            p->level--;
31606|      0|            return NULL;
31607|      0|        }
31608|  3.52k|        D(fprintf(stderr, "%*c> _tmp_48[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "literal_expr"));
31609|  3.52k|        expr_ty literal_expr_var;
31610|  3.52k|        if (
31611|  3.52k|            (literal_expr_var = literal_expr_rule(p))  // literal_expr
  ------------------
  |  Branch (31611:13): [True: 3.25k, False: 266]
  ------------------
31612|  3.52k|        )
31613|  3.25k|        {
31614|  3.25k|            D(fprintf(stderr, "%*c+ _tmp_48[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "literal_expr"));
31615|  3.25k|            _res = literal_expr_var;
31616|  3.25k|            goto done;
31617|  3.25k|        }
31618|    266|        p->mark = _mark;
31619|    266|        D(fprintf(stderr, "%*c%s _tmp_48[%d-%d]: %s failed!\n", p->level, ' ',
31620|    266|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "literal_expr"));
31621|    266|    }
31622|      0|    { // attr
31623|    266|        if (p->error_indicator) {
  ------------------
  |  Branch (31623:13): [True: 10, False: 256]
  ------------------
31624|     10|            p->level--;
31625|     10|            return NULL;
31626|     10|        }
31627|    256|        D(fprintf(stderr, "%*c> _tmp_48[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "attr"));
31628|    256|        expr_ty attr_var;
31629|    256|        if (
31630|    256|            (attr_var = attr_rule(p))  // attr
  ------------------
  |  Branch (31630:13): [True: 30, False: 226]
  ------------------
31631|    256|        )
31632|     30|        {
31633|     30|            D(fprintf(stderr, "%*c+ _tmp_48[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "attr"));
31634|     30|            _res = attr_var;
31635|     30|            goto done;
31636|     30|        }
31637|    226|        p->mark = _mark;
31638|    226|        D(fprintf(stderr, "%*c%s _tmp_48[%d-%d]: %s failed!\n", p->level, ' ',
31639|    226|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "attr"));
31640|    226|    }
31641|    226|    _res = NULL;
31642|  3.51k|  done:
31643|  3.51k|    p->level--;
31644|  3.51k|    return _res;
31645|    226|}
parser.c:literal_expr_rule:
 8802|  3.52k|{
 8803|  3.52k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  7.05k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8803:9): [True: 0, False: 3.52k]
  |  Branch (8803:35): [True: 0, False: 3.52k]
  ------------------
 8804|      0|        _Pypegen_stack_overflow(p);
 8805|      0|    }
 8806|  3.52k|    if (p->error_indicator) {
  ------------------
  |  Branch (8806:9): [True: 0, False: 3.52k]
  ------------------
 8807|      0|        p->level--;
 8808|      0|        return NULL;
 8809|      0|    }
 8810|  3.52k|    expr_ty _res = NULL;
 8811|  3.52k|    int _mark = p->mark;
 8812|  3.52k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (8812:9): [True: 411, False: 3.11k]
  |  Branch (8812:31): [True: 3, False: 408]
  ------------------
 8813|      3|        p->error_indicator = 1;
 8814|      3|        p->level--;
 8815|      3|        return NULL;
 8816|      3|    }
 8817|  3.52k|    int _start_lineno = p->tokens[_mark]->lineno;
 8818|  3.52k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.52k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.52k]
  |  |  ------------------
  ------------------
 8819|  3.52k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 8820|  3.52k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  3.52k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 3.52k]
  |  |  ------------------
  ------------------
 8821|  3.52k|    { // signed_number !('+' | '-')
 8822|  3.52k|        if (p->error_indicator) {
  ------------------
  |  Branch (8822:13): [True: 0, False: 3.52k]
  ------------------
 8823|      0|            p->level--;
 8824|      0|            return NULL;
 8825|      0|        }
 8826|  3.52k|        D(fprintf(stderr, "%*c> literal_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "signed_number !('+' | '-')"));
 8827|  3.52k|        expr_ty signed_number_var;
 8828|  3.52k|        if (
 8829|  3.52k|            (signed_number_var = signed_number_rule(p))  // signed_number
  ------------------
  |  Branch (8829:13): [True: 2.99k, False: 529]
  ------------------
 8830|  2.99k|            &&
 8831|  2.99k|            _PyPegen_lookahead(0, _tmp_41_rule, p)
  ------------------
  |  Branch (8831:13): [True: 2.94k, False: 45]
  ------------------
 8832|  3.52k|        )
 8833|  2.94k|        {
 8834|  2.94k|            D(fprintf(stderr, "%*c+ literal_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "signed_number !('+' | '-')"));
 8835|  2.94k|            _res = signed_number_var;
 8836|  2.94k|            goto done;
 8837|  2.94k|        }
 8838|    574|        p->mark = _mark;
 8839|    574|        D(fprintf(stderr, "%*c%s literal_expr[%d-%d]: %s failed!\n", p->level, ' ',
 8840|    574|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "signed_number !('+' | '-')"));
 8841|    574|    }
 8842|      0|    { // complex_number
 8843|    574|        if (p->error_indicator) {
  ------------------
  |  Branch (8843:13): [True: 1, False: 573]
  ------------------
 8844|      1|            p->level--;
 8845|      1|            return NULL;
 8846|      1|        }
 8847|    573|        D(fprintf(stderr, "%*c> literal_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "complex_number"));
 8848|    573|        expr_ty complex_number_var;
 8849|    573|        if (
 8850|    573|            (complex_number_var = complex_number_rule(p))  // complex_number
  ------------------
  |  Branch (8850:13): [True: 9, False: 564]
  ------------------
 8851|    573|        )
 8852|      9|        {
 8853|      9|            D(fprintf(stderr, "%*c+ literal_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "complex_number"));
 8854|      9|            _res = complex_number_var;
 8855|      9|            goto done;
 8856|      9|        }
 8857|    564|        p->mark = _mark;
 8858|    564|        D(fprintf(stderr, "%*c%s literal_expr[%d-%d]: %s failed!\n", p->level, ' ',
 8859|    564|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "complex_number"));
 8860|    564|    }
 8861|      0|    { // &(STRING | FSTRING_START | TSTRING_START) strings
 8862|    564|        if (p->error_indicator) {
  ------------------
  |  Branch (8862:13): [True: 4, False: 560]
  ------------------
 8863|      4|            p->level--;
 8864|      4|            return NULL;
 8865|      4|        }
 8866|    560|        D(fprintf(stderr, "%*c> literal_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
 8867|    560|        expr_ty strings_var;
 8868|    560|        if (
 8869|    560|            _PyPegen_lookahead(1, _tmp_42_rule, p)
  ------------------
  |  Branch (8869:13): [True: 16, False: 544]
  ------------------
 8870|     16|            &&
 8871|     16|            (strings_var = strings_rule(p))  // strings
  ------------------
  |  Branch (8871:13): [True: 12, False: 4]
  ------------------
 8872|    560|        )
 8873|     12|        {
 8874|     12|            D(fprintf(stderr, "%*c+ literal_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
 8875|     12|            _res = strings_var;
 8876|     12|            goto done;
 8877|     12|        }
 8878|    548|        p->mark = _mark;
 8879|    548|        D(fprintf(stderr, "%*c%s literal_expr[%d-%d]: %s failed!\n", p->level, ' ',
 8880|    548|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
 8881|    548|    }
 8882|      0|    { // 'None'
 8883|    548|        if (p->error_indicator) {
  ------------------
  |  Branch (8883:13): [True: 2, False: 546]
  ------------------
 8884|      2|            p->level--;
 8885|      2|            return NULL;
 8886|      2|        }
 8887|    546|        D(fprintf(stderr, "%*c> literal_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'None'"));
 8888|    546|        Token * _keyword;
 8889|    546|        if (
 8890|    546|            (_keyword = _PyPegen_expect_token(p, 628))  // token='None'
  ------------------
  |  Branch (8890:13): [True: 263, False: 283]
  ------------------
 8891|    546|        )
 8892|    263|        {
 8893|    263|            D(fprintf(stderr, "%*c+ literal_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'None'"));
 8894|    263|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8895|    263|            if (_token == NULL) {
  ------------------
  |  Branch (8895:17): [True: 0, False: 263]
  ------------------
 8896|      0|                p->level--;
 8897|      0|                return NULL;
 8898|      0|            }
 8899|    263|            int _end_lineno = _token->end_lineno;
 8900|    263|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    263|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 263]
  |  |  ------------------
  ------------------
 8901|    263|            int _end_col_offset = _token->end_col_offset;
 8902|    263|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    263|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 263]
  |  |  ------------------
  ------------------
 8903|    263|            _res = _PyAST_Constant ( Py_None , NULL , EXTRA );
  ------------------
  |  |  616|    263|#  define Py_None (&_Py_NoneStruct)
  ------------------
                          _res = _PyAST_Constant ( Py_None , NULL , EXTRA );
  ------------------
  |  |  281|    263|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8904|    263|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8904:18): [True: 0, False: 263]
  |  Branch (8904:34): [True: 0, False: 263]
  |  Branch (8904:57): [True: 0, False: 0]
  ------------------
 8905|      0|                p->error_indicator = 1;
 8906|      0|                p->level--;
 8907|      0|                return NULL;
 8908|      0|            }
 8909|    263|            goto done;
 8910|    263|        }
 8911|    283|        p->mark = _mark;
 8912|    283|        D(fprintf(stderr, "%*c%s literal_expr[%d-%d]: %s failed!\n", p->level, ' ',
 8913|    283|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'None'"));
 8914|    283|    }
 8915|      0|    { // 'True'
 8916|    283|        if (p->error_indicator) {
  ------------------
  |  Branch (8916:13): [True: 0, False: 283]
  ------------------
 8917|      0|            p->level--;
 8918|      0|            return NULL;
 8919|      0|        }
 8920|    283|        D(fprintf(stderr, "%*c> literal_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'True'"));
 8921|    283|        Token * _keyword;
 8922|    283|        if (
 8923|    283|            (_keyword = _PyPegen_expect_token(p, 627))  // token='True'
  ------------------
  |  Branch (8923:13): [True: 9, False: 274]
  ------------------
 8924|    283|        )
 8925|      9|        {
 8926|      9|            D(fprintf(stderr, "%*c+ literal_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'True'"));
 8927|      9|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8928|      9|            if (_token == NULL) {
  ------------------
  |  Branch (8928:17): [True: 0, False: 9]
  ------------------
 8929|      0|                p->level--;
 8930|      0|                return NULL;
 8931|      0|            }
 8932|      9|            int _end_lineno = _token->end_lineno;
 8933|      9|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|      9|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 9]
  |  |  ------------------
  ------------------
 8934|      9|            int _end_col_offset = _token->end_col_offset;
 8935|      9|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|      9|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 9]
  |  |  ------------------
  ------------------
 8936|      9|            _res = _PyAST_Constant ( Py_True , NULL , EXTRA );
  ------------------
  |  |   26|      9|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          _res = _PyAST_Constant ( Py_True , NULL , EXTRA );
  ------------------
  |  |  281|      9|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8937|      9|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8937:18): [True: 0, False: 9]
  |  Branch (8937:34): [True: 0, False: 9]
  |  Branch (8937:57): [True: 0, False: 0]
  ------------------
 8938|      0|                p->error_indicator = 1;
 8939|      0|                p->level--;
 8940|      0|                return NULL;
 8941|      0|            }
 8942|      9|            goto done;
 8943|      9|        }
 8944|    274|        p->mark = _mark;
 8945|    274|        D(fprintf(stderr, "%*c%s literal_expr[%d-%d]: %s failed!\n", p->level, ' ',
 8946|    274|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'True'"));
 8947|    274|    }
 8948|      0|    { // 'False'
 8949|    274|        if (p->error_indicator) {
  ------------------
  |  Branch (8949:13): [True: 0, False: 274]
  ------------------
 8950|      0|            p->level--;
 8951|      0|            return NULL;
 8952|      0|        }
 8953|    274|        D(fprintf(stderr, "%*c> literal_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'False'"));
 8954|    274|        Token * _keyword;
 8955|    274|        if (
 8956|    274|            (_keyword = _PyPegen_expect_token(p, 629))  // token='False'
  ------------------
  |  Branch (8956:13): [True: 18, False: 256]
  ------------------
 8957|    274|        )
 8958|     18|        {
 8959|     18|            D(fprintf(stderr, "%*c+ literal_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'False'"));
 8960|     18|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8961|     18|            if (_token == NULL) {
  ------------------
  |  Branch (8961:17): [True: 0, False: 18]
  ------------------
 8962|      0|                p->level--;
 8963|      0|                return NULL;
 8964|      0|            }
 8965|     18|            int _end_lineno = _token->end_lineno;
 8966|     18|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|     18|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 18]
  |  |  ------------------
  ------------------
 8967|     18|            int _end_col_offset = _token->end_col_offset;
 8968|     18|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|     18|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 18]
  |  |  ------------------
  ------------------
 8969|     18|            _res = _PyAST_Constant ( Py_False , NULL , EXTRA );
  ------------------
  |  |   25|     18|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          _res = _PyAST_Constant ( Py_False , NULL , EXTRA );
  ------------------
  |  |  281|     18|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8970|     18|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8970:18): [True: 0, False: 18]
  |  Branch (8970:34): [True: 0, False: 18]
  |  Branch (8970:57): [True: 0, False: 0]
  ------------------
 8971|      0|                p->error_indicator = 1;
 8972|      0|                p->level--;
 8973|      0|                return NULL;
 8974|      0|            }
 8975|     18|            goto done;
 8976|     18|        }
 8977|    256|        p->mark = _mark;
 8978|    256|        D(fprintf(stderr, "%*c%s literal_expr[%d-%d]: %s failed!\n", p->level, ' ',
 8979|    256|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'False'"));
 8980|    256|    }
 8981|    256|    _res = NULL;
 8982|  3.51k|  done:
 8983|  3.51k|    p->level--;
 8984|  3.51k|    return _res;
 8985|    256|}
parser.c:_loop0_46_rule:
31476|    474|{
31477|    474|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    948|#  define MAXSTACK 6000
  ------------------
  |  Branch (31477:9): [True: 0, False: 474]
  |  Branch (31477:35): [True: 0, False: 474]
  ------------------
31478|      0|        _Pypegen_stack_overflow(p);
31479|      0|    }
31480|    474|    if (p->error_indicator) {
  ------------------
  |  Branch (31480:9): [True: 0, False: 474]
  ------------------
31481|      0|        p->level--;
31482|      0|        return NULL;
31483|      0|    }
31484|    474|    void *_res = NULL;
31485|    474|    int _mark = p->mark;
31486|    474|    void **_children = PyMem_Malloc(sizeof(void *));
31487|    474|    if (!_children) {
  ------------------
  |  Branch (31487:9): [True: 0, False: 474]
  ------------------
31488|      0|        p->error_indicator = 1;
31489|      0|        PyErr_NoMemory();
31490|      0|        p->level--;
31491|      0|        return NULL;
31492|      0|    }
31493|    474|    Py_ssize_t _children_capacity = 1;
31494|    474|    Py_ssize_t _n = 0;
31495|    474|    { // ',' key_value_pattern
31496|    474|        if (p->error_indicator) {
  ------------------
  |  Branch (31496:13): [True: 0, False: 474]
  ------------------
31497|      0|            p->level--;
31498|      0|            return NULL;
31499|      0|        }
31500|    474|        D(fprintf(stderr, "%*c> _loop0_46[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' key_value_pattern"));
31501|    474|        Token * _literal;
31502|    474|        KeyPatternPair* elem;
31503|    474|        while (
31504|  1.67k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (31504:13): [True: 1.50k, False: 172]
  ------------------
31505|  1.50k|            &&
31506|  1.50k|            (elem = key_value_pattern_rule(p))  // key_value_pattern
  ------------------
  |  Branch (31506:13): [True: 1.20k, False: 302]
  ------------------
31507|    474|        )
31508|  1.20k|        {
31509|  1.20k|            _res = elem;
31510|  1.20k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (31510:18): [True: 0, False: 1.20k]
  |  Branch (31510:34): [True: 0, False: 1.20k]
  |  Branch (31510:57): [True: 0, False: 0]
  ------------------
31511|      0|                p->error_indicator = 1;
31512|      0|                PyMem_Free(_children);
31513|      0|                p->level--;
31514|      0|                return NULL;
31515|      0|            }
31516|  1.20k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (31516:17): [True: 450, False: 755]
  ------------------
31517|    450|                _children_capacity *= 2;
31518|    450|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
31519|    450|                if (!_new_children) {
  ------------------
  |  Branch (31519:21): [True: 0, False: 450]
  ------------------
31520|      0|                    PyMem_Free(_children);
31521|      0|                    p->error_indicator = 1;
31522|      0|                    PyErr_NoMemory();
31523|      0|                    p->level--;
31524|      0|                    return NULL;
31525|      0|                }
31526|    450|                _children = _new_children;
31527|    450|            }
31528|  1.20k|            _children[_n++] = _res;
31529|  1.20k|            _mark = p->mark;
31530|  1.20k|        }
31531|    474|        p->mark = _mark;
31532|    474|        D(fprintf(stderr, "%*c%s _loop0_46[%d-%d]: %s failed!\n", p->level, ' ',
31533|    474|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' key_value_pattern"));
31534|    474|    }
31535|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
31536|    474|    if (!_seq) {
  ------------------
  |  Branch (31536:9): [True: 0, False: 474]
  ------------------
31537|      0|        PyMem_Free(_children);
31538|      0|        p->error_indicator = 1;
31539|      0|        PyErr_NoMemory();
31540|      0|        p->level--;
31541|      0|        return NULL;
31542|      0|    }
31543|  1.67k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.20k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  1.67k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (31543:28): [True: 1.20k, False: 474]
  ------------------
31544|    474|    PyMem_Free(_children);
31545|    474|    p->level--;
31546|    474|    return _seq;
31547|    474|}
parser.c:invalid_mapping_pattern_rule:
26015|  10.6k|{
26016|  10.6k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  21.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (26016:9): [True: 0, False: 10.6k]
  |  Branch (26016:35): [True: 0, False: 10.6k]
  ------------------
26017|      0|        _Pypegen_stack_overflow(p);
26018|      0|    }
26019|  10.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (26019:9): [True: 0, False: 10.6k]
  ------------------
26020|      0|        p->level--;
26021|      0|        return NULL;
26022|      0|    }
26023|  10.6k|    void * _res = NULL;
26024|  10.6k|    int _mark = p->mark;
26025|  10.6k|    { // '{' [(items_pattern ',')] double_star_pattern ',' items_pattern ','? '}'
26026|  10.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (26026:13): [True: 0, False: 10.6k]
  ------------------
26027|      0|            p->level--;
26028|      0|            return NULL;
26029|      0|        }
26030|  10.6k|        D(fprintf(stderr, "%*c> invalid_mapping_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' [(items_pattern ',')] double_star_pattern ',' items_pattern ','? '}'"));
26031|  10.6k|        Token * _literal;
26032|  10.6k|        Token * _literal_1;
26033|  10.6k|        Token * _literal_2;
26034|  10.6k|        void *_opt_var;
26035|  10.6k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  10.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 10.6k]
  |  |  ------------------
  ------------------
26036|  10.6k|        void *_opt_var_1;
26037|  10.6k|        UNUSED(_opt_var_1); // Silence compiler warnings
  ------------------
  |  |  279|  10.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 10.6k]
  |  |  ------------------
  ------------------
26038|  10.6k|        asdl_seq* items_pattern_var;
26039|  10.6k|        expr_ty rest;
26040|  10.6k|        if (
26041|  10.6k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (26041:13): [True: 396, False: 10.2k]
  ------------------
26042|    396|            &&
26043|    396|            (_opt_var = _tmp_148_rule(p), !p->error_indicator)  // [(items_pattern ',')]
  ------------------
  |  Branch (26043:13): [True: 396, False: 0]
  ------------------
26044|    396|            &&
26045|    396|            (rest = double_star_pattern_rule(p))  // double_star_pattern
  ------------------
  |  Branch (26045:13): [True: 14, False: 382]
  ------------------
26046|     14|            &&
26047|     14|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (26047:13): [True: 11, False: 3]
  ------------------
26048|     11|            &&
26049|     11|            (items_pattern_var = items_pattern_rule(p))  // items_pattern
  ------------------
  |  Branch (26049:13): [True: 5, False: 6]
  ------------------
26050|      5|            &&
26051|      5|            (_opt_var_1 = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (26051:13): [True: 4, False: 1]
  ------------------
26052|      4|            &&
26053|      4|            (_literal_2 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (26053:13): [True: 0, False: 4]
  ------------------
26054|  10.6k|        )
26055|      0|        {
26056|      0|            D(fprintf(stderr, "%*c+ invalid_mapping_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' [(items_pattern ',')] double_star_pattern ',' items_pattern ','? '}'"));
26057|      0|            _res = RAISE_SYNTAX_ERROR_KNOWN_LOCATION ( rest , "double star pattern must be the last (right-most) subpattern in the mapping pattern" );
  ------------------
  |  |  213|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
26058|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26058:18): [True: 0, False: 0]
  |  Branch (26058:34): [True: 0, False: 0]
  |  Branch (26058:57): [True: 0, False: 0]
  ------------------
26059|      0|                p->error_indicator = 1;
26060|      0|                p->level--;
26061|      0|                return NULL;
26062|      0|            }
26063|      0|            goto done;
26064|      0|        }
26065|  10.6k|        p->mark = _mark;
26066|  10.6k|        D(fprintf(stderr, "%*c%s invalid_mapping_pattern[%d-%d]: %s failed!\n", p->level, ' ',
26067|  10.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' [(items_pattern ',')] double_star_pattern ',' items_pattern ','? '}'"));
26068|  10.6k|    }
26069|  10.6k|    _res = NULL;
26070|  10.6k|  done:
26071|  10.6k|    p->level--;
26072|  10.6k|    return _res;
26073|  10.6k|}
parser.c:_tmp_148_rule:
37736|    396|{
37737|    396|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    792|#  define MAXSTACK 6000
  ------------------
  |  Branch (37737:9): [True: 0, False: 396]
  |  Branch (37737:35): [True: 0, False: 396]
  ------------------
37738|      0|        _Pypegen_stack_overflow(p);
37739|      0|    }
37740|    396|    if (p->error_indicator) {
  ------------------
  |  Branch (37740:9): [True: 0, False: 396]
  ------------------
37741|      0|        p->level--;
37742|      0|        return NULL;
37743|      0|    }
37744|    396|    void * _res = NULL;
37745|    396|    int _mark = p->mark;
37746|    396|    { // items_pattern ','
37747|    396|        if (p->error_indicator) {
  ------------------
  |  Branch (37747:13): [True: 0, False: 396]
  ------------------
37748|      0|            p->level--;
37749|      0|            return NULL;
37750|      0|        }
37751|    396|        D(fprintf(stderr, "%*c> _tmp_148[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "items_pattern ','"));
37752|    396|        Token * _literal;
37753|    396|        asdl_seq* items_pattern_var;
37754|    396|        if (
37755|    396|            (items_pattern_var = items_pattern_rule(p))  // items_pattern
  ------------------
  |  Branch (37755:13): [True: 90, False: 306]
  ------------------
37756|     90|            &&
37757|     90|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (37757:13): [True: 53, False: 37]
  ------------------
37758|    396|        )
37759|     53|        {
37760|     53|            D(fprintf(stderr, "%*c+ _tmp_148[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "items_pattern ','"));
37761|     53|            _res = _PyPegen_dummy_name(p, items_pattern_var, _literal);
37762|     53|            goto done;
37763|     53|        }
37764|    343|        p->mark = _mark;
37765|    343|        D(fprintf(stderr, "%*c%s _tmp_148[%d-%d]: %s failed!\n", p->level, ' ',
37766|    343|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "items_pattern ','"));
37767|    343|    }
37768|    343|    _res = NULL;
37769|    396|  done:
37770|    396|    p->level--;
37771|    396|    return _res;
37772|    343|}
parser.c:class_pattern_rule:
10571|  13.7k|{
10572|  13.7k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  27.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10572:9): [True: 0, False: 13.7k]
  |  Branch (10572:35): [True: 0, False: 13.7k]
  ------------------
10573|      0|        _Pypegen_stack_overflow(p);
10574|      0|    }
10575|  13.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (10575:9): [True: 0, False: 13.7k]
  ------------------
10576|      0|        p->level--;
10577|      0|        return NULL;
10578|      0|    }
10579|  13.7k|    pattern_ty _res = NULL;
10580|  13.7k|    int _mark = p->mark;
10581|  13.7k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (10581:9): [True: 0, False: 13.7k]
  |  Branch (10581:31): [True: 0, False: 0]
  ------------------
10582|      0|        p->error_indicator = 1;
10583|      0|        p->level--;
10584|      0|        return NULL;
10585|      0|    }
10586|  13.7k|    int _start_lineno = p->tokens[_mark]->lineno;
10587|  13.7k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  13.7k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 13.7k]
  |  |  ------------------
  ------------------
10588|  13.7k|    int _start_col_offset = p->tokens[_mark]->col_offset;
10589|  13.7k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  13.7k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 13.7k]
  |  |  ------------------
  ------------------
10590|  13.7k|    { // name_or_attr '(' ')'
10591|  13.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (10591:13): [True: 0, False: 13.7k]
  ------------------
10592|      0|            p->level--;
10593|      0|            return NULL;
10594|      0|        }
10595|  13.7k|        D(fprintf(stderr, "%*c> class_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "name_or_attr '(' ')'"));
10596|  13.7k|        Token * _literal;
10597|  13.7k|        Token * _literal_1;
10598|  13.7k|        expr_ty cls;
10599|  13.7k|        if (
10600|  13.7k|            (cls = name_or_attr_rule(p))  // name_or_attr
  ------------------
  |  Branch (10600:13): [True: 8.58k, False: 5.17k]
  ------------------
10601|  8.58k|            &&
10602|  8.58k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (10602:13): [True: 5.88k, False: 2.69k]
  ------------------
10603|  5.88k|            &&
10604|  5.88k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (10604:13): [True: 243, False: 5.64k]
  ------------------
10605|  13.7k|        )
10606|    243|        {
10607|    243|            D(fprintf(stderr, "%*c+ class_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "name_or_attr '(' ')'"));
10608|    243|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
10609|    243|            if (_token == NULL) {
  ------------------
  |  Branch (10609:17): [True: 0, False: 243]
  ------------------
10610|      0|                p->level--;
10611|      0|                return NULL;
10612|      0|            }
10613|    243|            int _end_lineno = _token->end_lineno;
10614|    243|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    243|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 243]
  |  |  ------------------
  ------------------
10615|    243|            int _end_col_offset = _token->end_col_offset;
10616|    243|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    243|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 243]
  |  |  ------------------
  ------------------
10617|    243|            _res = _PyAST_MatchClass ( cls , NULL , NULL , NULL , EXTRA );
  ------------------
  |  |  281|    243|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
10618|    243|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10618:18): [True: 0, False: 243]
  |  Branch (10618:34): [True: 0, False: 243]
  |  Branch (10618:57): [True: 0, False: 0]
  ------------------
10619|      0|                p->error_indicator = 1;
10620|      0|                p->level--;
10621|      0|                return NULL;
10622|      0|            }
10623|    243|            goto done;
10624|    243|        }
10625|  13.5k|        p->mark = _mark;
10626|  13.5k|        D(fprintf(stderr, "%*c%s class_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10627|  13.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "name_or_attr '(' ')'"));
10628|  13.5k|    }
10629|      0|    { // name_or_attr '(' positional_patterns ','? ')'
10630|  13.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (10630:13): [True: 5, False: 13.5k]
  ------------------
10631|      5|            p->level--;
10632|      5|            return NULL;
10633|      5|        }
10634|  13.5k|        D(fprintf(stderr, "%*c> class_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "name_or_attr '(' positional_patterns ','? ')'"));
10635|  13.5k|        Token * _literal;
10636|  13.5k|        Token * _literal_1;
10637|  13.5k|        void *_opt_var;
10638|  13.5k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  13.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 13.5k]
  |  |  ------------------
  ------------------
10639|  13.5k|        expr_ty cls;
10640|  13.5k|        asdl_pattern_seq* patterns;
10641|  13.5k|        if (
10642|  13.5k|            (cls = name_or_attr_rule(p))  // name_or_attr
  ------------------
  |  Branch (10642:13): [True: 8.33k, False: 5.17k]
  ------------------
10643|  8.33k|            &&
10644|  8.33k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (10644:13): [True: 5.63k, False: 2.69k]
  ------------------
10645|  5.63k|            &&
10646|  5.63k|            (patterns = positional_patterns_rule(p))  // positional_patterns
  ------------------
  |  Branch (10646:13): [True: 3.59k, False: 2.04k]
  ------------------
10647|  3.59k|            &&
10648|  3.59k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (10648:13): [True: 3.59k, False: 0]
  ------------------
10649|  3.59k|            &&
10650|  3.59k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (10650:13): [True: 991, False: 2.60k]
  ------------------
10651|  13.5k|        )
10652|    991|        {
10653|    991|            D(fprintf(stderr, "%*c+ class_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "name_or_attr '(' positional_patterns ','? ')'"));
10654|    991|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
10655|    991|            if (_token == NULL) {
  ------------------
  |  Branch (10655:17): [True: 0, False: 991]
  ------------------
10656|      0|                p->level--;
10657|      0|                return NULL;
10658|      0|            }
10659|    991|            int _end_lineno = _token->end_lineno;
10660|    991|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    991|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 991]
  |  |  ------------------
  ------------------
10661|    991|            int _end_col_offset = _token->end_col_offset;
10662|    991|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    991|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 991]
  |  |  ------------------
  ------------------
10663|    991|            _res = _PyAST_MatchClass ( cls , patterns , NULL , NULL , EXTRA );
  ------------------
  |  |  281|    991|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
10664|    991|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10664:18): [True: 0, False: 991]
  |  Branch (10664:34): [True: 0, False: 991]
  |  Branch (10664:57): [True: 0, False: 0]
  ------------------
10665|      0|                p->error_indicator = 1;
10666|      0|                p->level--;
10667|      0|                return NULL;
10668|      0|            }
10669|    991|            goto done;
10670|    991|        }
10671|  12.5k|        p->mark = _mark;
10672|  12.5k|        D(fprintf(stderr, "%*c%s class_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10673|  12.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "name_or_attr '(' positional_patterns ','? ')'"));
10674|  12.5k|    }
10675|      0|    { // name_or_attr '(' keyword_patterns ','? ')'
10676|  12.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (10676:13): [True: 470, False: 12.0k]
  ------------------
10677|    470|            p->level--;
10678|    470|            return NULL;
10679|    470|        }
10680|  12.0k|        D(fprintf(stderr, "%*c> class_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "name_or_attr '(' keyword_patterns ','? ')'"));
10681|  12.0k|        Token * _literal;
10682|  12.0k|        Token * _literal_1;
10683|  12.0k|        void *_opt_var;
10684|  12.0k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  12.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 12.0k]
  |  |  ------------------
  ------------------
10685|  12.0k|        expr_ty cls;
10686|  12.0k|        asdl_seq* keywords;
10687|  12.0k|        if (
10688|  12.0k|            (cls = name_or_attr_rule(p))  // name_or_attr
  ------------------
  |  Branch (10688:13): [True: 6.87k, False: 5.17k]
  ------------------
10689|  6.87k|            &&
10690|  6.87k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (10690:13): [True: 4.17k, False: 2.69k]
  ------------------
10691|  4.17k|            &&
10692|  4.17k|            (keywords = keyword_patterns_rule(p))  // keyword_patterns
  ------------------
  |  Branch (10692:13): [True: 711, False: 3.46k]
  ------------------
10693|    711|            &&
10694|    711|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (10694:13): [True: 690, False: 21]
  ------------------
10695|    690|            &&
10696|    690|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (10696:13): [True: 54, False: 636]
  ------------------
10697|  12.0k|        )
10698|     54|        {
10699|     54|            D(fprintf(stderr, "%*c+ class_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "name_or_attr '(' keyword_patterns ','? ')'"));
10700|     54|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
10701|     54|            if (_token == NULL) {
  ------------------
  |  Branch (10701:17): [True: 0, False: 54]
  ------------------
10702|      0|                p->level--;
10703|      0|                return NULL;
10704|      0|            }
10705|     54|            int _end_lineno = _token->end_lineno;
10706|     54|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|     54|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 54]
  |  |  ------------------
  ------------------
10707|     54|            int _end_col_offset = _token->end_col_offset;
10708|     54|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|     54|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 54]
  |  |  ------------------
  ------------------
10709|     54|            _res = _PyAST_MatchClass ( cls , NULL , CHECK ( asdl_identifier_seq* , _PyPegen_map_names_to_ids ( p , CHECK ( asdl_expr_seq* , _PyPegen_get_pattern_keys ( p , keywords ) ) ) ) , CHECK ( asdl_pattern_seq* , _PyPegen_get_patterns ( p , keywords ) ) , EXTRA );
  ------------------
  |  |  245|     54|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_MatchClass ( cls , NULL , CHECK ( asdl_identifier_seq* , _PyPegen_map_names_to_ids ( p , CHECK ( asdl_expr_seq* , _PyPegen_get_pattern_keys ( p , keywords ) ) ) ) , CHECK ( asdl_pattern_seq* , _PyPegen_get_patterns ( p , keywords ) ) , EXTRA );
  ------------------
  |  |  245|     54|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_MatchClass ( cls , NULL , CHECK ( asdl_identifier_seq* , _PyPegen_map_names_to_ids ( p , CHECK ( asdl_expr_seq* , _PyPegen_get_pattern_keys ( p , keywords ) ) ) ) , CHECK ( asdl_pattern_seq* , _PyPegen_get_patterns ( p , keywords ) ) , EXTRA );
  ------------------
  |  |  281|     54|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
10710|     54|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10710:18): [True: 0, False: 54]
  |  Branch (10710:34): [True: 0, False: 54]
  |  Branch (10710:57): [True: 0, False: 0]
  ------------------
10711|      0|                p->error_indicator = 1;
10712|      0|                p->level--;
10713|      0|                return NULL;
10714|      0|            }
10715|     54|            goto done;
10716|     54|        }
10717|  11.9k|        p->mark = _mark;
10718|  11.9k|        D(fprintf(stderr, "%*c%s class_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10719|  11.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "name_or_attr '(' keyword_patterns ','? ')'"));
10720|  11.9k|    }
10721|      0|    { // name_or_attr '(' positional_patterns ',' keyword_patterns ','? ')'
10722|  11.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (10722:13): [True: 47, False: 11.9k]
  ------------------
10723|     47|            p->level--;
10724|     47|            return NULL;
10725|     47|        }
10726|  11.9k|        D(fprintf(stderr, "%*c> class_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "name_or_attr '(' positional_patterns ',' keyword_patterns ','? ')'"));
10727|  11.9k|        Token * _literal;
10728|  11.9k|        Token * _literal_1;
10729|  11.9k|        Token * _literal_2;
10730|  11.9k|        void *_opt_var;
10731|  11.9k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  11.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 11.9k]
  |  |  ------------------
  ------------------
10732|  11.9k|        expr_ty cls;
10733|  11.9k|        asdl_seq* keywords;
10734|  11.9k|        asdl_pattern_seq* patterns;
10735|  11.9k|        if (
10736|  11.9k|            (cls = name_or_attr_rule(p))  // name_or_attr
  ------------------
  |  Branch (10736:13): [True: 6.77k, False: 5.17k]
  ------------------
10737|  6.77k|            &&
10738|  6.77k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (10738:13): [True: 4.07k, False: 2.69k]
  ------------------
10739|  4.07k|            &&
10740|  4.07k|            (patterns = positional_patterns_rule(p))  // positional_patterns
  ------------------
  |  Branch (10740:13): [True: 2.60k, False: 1.46k]
  ------------------
10741|  2.60k|            &&
10742|  2.60k|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (10742:13): [True: 2.29k, False: 309]
  ------------------
10743|  2.29k|            &&
10744|  2.29k|            (keywords = keyword_patterns_rule(p))  // keyword_patterns
  ------------------
  |  Branch (10744:13): [True: 954, False: 1.34k]
  ------------------
10745|    954|            &&
10746|    954|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (10746:13): [True: 686, False: 268]
  ------------------
10747|    686|            &&
10748|    686|            (_literal_2 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (10748:13): [True: 230, False: 456]
  ------------------
10749|  11.9k|        )
10750|    230|        {
10751|    230|            D(fprintf(stderr, "%*c+ class_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "name_or_attr '(' positional_patterns ',' keyword_patterns ','? ')'"));
10752|    230|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
10753|    230|            if (_token == NULL) {
  ------------------
  |  Branch (10753:17): [True: 0, False: 230]
  ------------------
10754|      0|                p->level--;
10755|      0|                return NULL;
10756|      0|            }
10757|    230|            int _end_lineno = _token->end_lineno;
10758|    230|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|    230|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 230]
  |  |  ------------------
  ------------------
10759|    230|            int _end_col_offset = _token->end_col_offset;
10760|    230|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|    230|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 230]
  |  |  ------------------
  ------------------
10761|    230|            _res = _PyAST_MatchClass ( cls , patterns , CHECK ( asdl_identifier_seq* , _PyPegen_map_names_to_ids ( p , CHECK ( asdl_expr_seq* , _PyPegen_get_pattern_keys ( p , keywords ) ) ) ) , CHECK ( asdl_pattern_seq* , _PyPegen_get_patterns ( p , keywords ) ) , EXTRA );
  ------------------
  |  |  245|    230|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_MatchClass ( cls , patterns , CHECK ( asdl_identifier_seq* , _PyPegen_map_names_to_ids ( p , CHECK ( asdl_expr_seq* , _PyPegen_get_pattern_keys ( p , keywords ) ) ) ) , CHECK ( asdl_pattern_seq* , _PyPegen_get_patterns ( p , keywords ) ) , EXTRA );
  ------------------
  |  |  245|    230|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_MatchClass ( cls , patterns , CHECK ( asdl_identifier_seq* , _PyPegen_map_names_to_ids ( p , CHECK ( asdl_expr_seq* , _PyPegen_get_pattern_keys ( p , keywords ) ) ) ) , CHECK ( asdl_pattern_seq* , _PyPegen_get_patterns ( p , keywords ) ) , EXTRA );
  ------------------
  |  |  281|    230|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
10762|    230|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10762:18): [True: 0, False: 230]
  |  Branch (10762:34): [True: 0, False: 230]
  |  Branch (10762:57): [True: 0, False: 0]
  ------------------
10763|      0|                p->error_indicator = 1;
10764|      0|                p->level--;
10765|      0|                return NULL;
10766|      0|            }
10767|    230|            goto done;
10768|    230|        }
10769|  11.7k|        p->mark = _mark;
10770|  11.7k|        D(fprintf(stderr, "%*c%s class_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10771|  11.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "name_or_attr '(' positional_patterns ',' keyword_patterns ','? ')'"));
10772|  11.7k|    }
10773|  11.7k|    if (p->call_invalid_rules) { // invalid_class_pattern
  ------------------
  |  Branch (10773:9): [True: 9.63k, False: 2.08k]
  ------------------
10774|  9.63k|        if (p->error_indicator) {
  ------------------
  |  Branch (10774:13): [True: 551, False: 9.08k]
  ------------------
10775|    551|            p->level--;
10776|    551|            return NULL;
10777|    551|        }
10778|  9.08k|        D(fprintf(stderr, "%*c> class_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_class_pattern"));
10779|  9.08k|        void *invalid_class_pattern_var;
10780|  9.08k|        if (
10781|  9.08k|            (invalid_class_pattern_var = invalid_class_pattern_rule(p))  // invalid_class_pattern
  ------------------
  |  Branch (10781:13): [True: 0, False: 9.08k]
  ------------------
10782|  9.08k|        )
10783|      0|        {
10784|      0|            D(fprintf(stderr, "%*c+ class_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_class_pattern"));
10785|      0|            _res = invalid_class_pattern_var;
10786|      0|            goto done;
10787|      0|        }
10788|  9.08k|        p->mark = _mark;
10789|  9.08k|        D(fprintf(stderr, "%*c%s class_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10790|  9.08k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_class_pattern"));
10791|  9.08k|    }
10792|  11.1k|    _res = NULL;
10793|  12.6k|  done:
10794|  12.6k|    p->level--;
10795|  12.6k|    return _res;
10796|  11.1k|}
parser.c:positional_patterns_rule:
10801|  13.5k|{
10802|  13.5k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  27.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10802:9): [True: 0, False: 13.5k]
  |  Branch (10802:35): [True: 0, False: 13.5k]
  ------------------
10803|      0|        _Pypegen_stack_overflow(p);
10804|      0|    }
10805|  13.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (10805:9): [True: 0, False: 13.5k]
  ------------------
10806|      0|        p->level--;
10807|      0|        return NULL;
10808|      0|    }
10809|  13.5k|    asdl_pattern_seq* _res = NULL;
10810|  13.5k|    int _mark = p->mark;
10811|  13.5k|    { // ','.pattern+
10812|  13.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (10812:13): [True: 0, False: 13.5k]
  ------------------
10813|      0|            p->level--;
10814|      0|            return NULL;
10815|      0|        }
10816|  13.5k|        D(fprintf(stderr, "%*c> positional_patterns[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.pattern+"));
10817|  13.5k|        asdl_pattern_seq* args;
10818|  13.5k|        if (
10819|  13.5k|            (args = (asdl_pattern_seq*)_gather_50_rule(p))  // ','.pattern+
  ------------------
  |  Branch (10819:13): [True: 8.02k, False: 5.51k]
  ------------------
10820|  13.5k|        )
10821|  8.02k|        {
10822|  8.02k|            D(fprintf(stderr, "%*c+ positional_patterns[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.pattern+"));
10823|  8.02k|            _res = args;
10824|  8.02k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10824:18): [True: 0, False: 8.02k]
  |  Branch (10824:34): [True: 268, False: 7.75k]
  |  Branch (10824:57): [True: 268, False: 0]
  ------------------
10825|    268|                p->error_indicator = 1;
10826|    268|                p->level--;
10827|    268|                return NULL;
10828|    268|            }
10829|  7.75k|            goto done;
10830|  8.02k|        }
10831|  5.51k|        p->mark = _mark;
10832|  5.51k|        D(fprintf(stderr, "%*c%s positional_patterns[%d-%d]: %s failed!\n", p->level, ' ',
10833|  5.51k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.pattern+"));
10834|  5.51k|    }
10835|  5.51k|    _res = NULL;
10836|  13.2k|  done:
10837|  13.2k|    p->level--;
10838|  13.2k|    return _res;
10839|  5.51k|}
parser.c:_gather_50_rule:
31726|  13.5k|{
31727|  13.5k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  27.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (31727:9): [True: 0, False: 13.5k]
  |  Branch (31727:35): [True: 0, False: 13.5k]
  ------------------
31728|      0|        _Pypegen_stack_overflow(p);
31729|      0|    }
31730|  13.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (31730:9): [True: 0, False: 13.5k]
  ------------------
31731|      0|        p->level--;
31732|      0|        return NULL;
31733|      0|    }
31734|  13.5k|    asdl_seq * _res = NULL;
31735|  13.5k|    int _mark = p->mark;
31736|  13.5k|    { // pattern _loop0_49
31737|  13.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (31737:13): [True: 0, False: 13.5k]
  ------------------
31738|      0|            p->level--;
31739|      0|            return NULL;
31740|      0|        }
31741|  13.5k|        D(fprintf(stderr, "%*c> _gather_50[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "pattern _loop0_49"));
31742|  13.5k|        pattern_ty elem;
31743|  13.5k|        asdl_seq * seq;
31744|  13.5k|        if (
31745|  13.5k|            (elem = pattern_rule(p))  // pattern
  ------------------
  |  Branch (31745:13): [True: 8.02k, False: 5.51k]
  ------------------
31746|  8.02k|            &&
31747|  8.02k|            (seq = _loop0_49_rule(p))  // _loop0_49
  ------------------
  |  Branch (31747:13): [True: 8.02k, False: 0]
  ------------------
31748|  13.5k|        )
31749|  8.02k|        {
31750|  8.02k|            D(fprintf(stderr, "%*c+ _gather_50[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "pattern _loop0_49"));
31751|  8.02k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
31752|  8.02k|            goto done;
31753|  8.02k|        }
31754|  5.51k|        p->mark = _mark;
31755|  5.51k|        D(fprintf(stderr, "%*c%s _gather_50[%d-%d]: %s failed!\n", p->level, ' ',
31756|  5.51k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "pattern _loop0_49"));
31757|  5.51k|    }
31758|  5.51k|    _res = NULL;
31759|  13.5k|  done:
31760|  13.5k|    p->level--;
31761|  13.5k|    return _res;
31762|  5.51k|}
parser.c:_loop0_49_rule:
31650|  8.02k|{
31651|  8.02k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  16.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (31651:9): [True: 0, False: 8.02k]
  |  Branch (31651:35): [True: 0, False: 8.02k]
  ------------------
31652|      0|        _Pypegen_stack_overflow(p);
31653|      0|    }
31654|  8.02k|    if (p->error_indicator) {
  ------------------
  |  Branch (31654:9): [True: 0, False: 8.02k]
  ------------------
31655|      0|        p->level--;
31656|      0|        return NULL;
31657|      0|    }
31658|  8.02k|    void *_res = NULL;
31659|  8.02k|    int _mark = p->mark;
31660|  8.02k|    void **_children = PyMem_Malloc(sizeof(void *));
31661|  8.02k|    if (!_children) {
  ------------------
  |  Branch (31661:9): [True: 0, False: 8.02k]
  ------------------
31662|      0|        p->error_indicator = 1;
31663|      0|        PyErr_NoMemory();
31664|      0|        p->level--;
31665|      0|        return NULL;
31666|      0|    }
31667|  8.02k|    Py_ssize_t _children_capacity = 1;
31668|  8.02k|    Py_ssize_t _n = 0;
31669|  8.02k|    { // ',' pattern
31670|  8.02k|        if (p->error_indicator) {
  ------------------
  |  Branch (31670:13): [True: 0, False: 8.02k]
  ------------------
31671|      0|            p->level--;
31672|      0|            return NULL;
31673|      0|        }
31674|  8.02k|        D(fprintf(stderr, "%*c> _loop0_49[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' pattern"));
31675|  8.02k|        Token * _literal;
31676|  8.02k|        pattern_ty elem;
31677|  8.02k|        while (
31678|  14.9k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (31678:13): [True: 13.1k, False: 1.88k]
  ------------------
31679|  13.1k|            &&
31680|  13.1k|            (elem = pattern_rule(p))  // pattern
  ------------------
  |  Branch (31680:13): [True: 6.96k, False: 6.13k]
  ------------------
31681|  8.02k|        )
31682|  6.96k|        {
31683|  6.96k|            _res = elem;
31684|  6.96k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (31684:18): [True: 0, False: 6.96k]
  |  Branch (31684:34): [True: 0, False: 6.96k]
  |  Branch (31684:57): [True: 0, False: 0]
  ------------------
31685|      0|                p->error_indicator = 1;
31686|      0|                PyMem_Free(_children);
31687|      0|                p->level--;
31688|      0|                return NULL;
31689|      0|            }
31690|  6.96k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (31690:17): [True: 1.89k, False: 5.06k]
  ------------------
31691|  1.89k|                _children_capacity *= 2;
31692|  1.89k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
31693|  1.89k|                if (!_new_children) {
  ------------------
  |  Branch (31693:21): [True: 0, False: 1.89k]
  ------------------
31694|      0|                    PyMem_Free(_children);
31695|      0|                    p->error_indicator = 1;
31696|      0|                    PyErr_NoMemory();
31697|      0|                    p->level--;
31698|      0|                    return NULL;
31699|      0|                }
31700|  1.89k|                _children = _new_children;
31701|  1.89k|            }
31702|  6.96k|            _children[_n++] = _res;
31703|  6.96k|            _mark = p->mark;
31704|  6.96k|        }
31705|  8.02k|        p->mark = _mark;
31706|  8.02k|        D(fprintf(stderr, "%*c%s _loop0_49[%d-%d]: %s failed!\n", p->level, ' ',
31707|  8.02k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' pattern"));
31708|  8.02k|    }
31709|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
31710|  8.02k|    if (!_seq) {
  ------------------
  |  Branch (31710:9): [True: 0, False: 8.02k]
  ------------------
31711|      0|        PyMem_Free(_children);
31712|      0|        p->error_indicator = 1;
31713|      0|        PyErr_NoMemory();
31714|      0|        p->level--;
31715|      0|        return NULL;
31716|      0|    }
31717|  14.9k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  6.96k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  14.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (31717:28): [True: 6.96k, False: 8.02k]
  ------------------
31718|  8.02k|    PyMem_Free(_children);
31719|  8.02k|    p->level--;
31720|  8.02k|    return _seq;
31721|  8.02k|}
parser.c:keyword_patterns_rule:
10844|  9.25k|{
10845|  9.25k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  18.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10845:9): [True: 0, False: 9.25k]
  |  Branch (10845:35): [True: 0, False: 9.25k]
  ------------------
10846|      0|        _Pypegen_stack_overflow(p);
10847|      0|    }
10848|  9.25k|    if (p->error_indicator) {
  ------------------
  |  Branch (10848:9): [True: 0, False: 9.25k]
  ------------------
10849|      0|        p->level--;
10850|      0|        return NULL;
10851|      0|    }
10852|  9.25k|    asdl_seq* _res = NULL;
10853|  9.25k|    int _mark = p->mark;
10854|  9.25k|    { // ','.keyword_pattern+
10855|  9.25k|        if (p->error_indicator) {
  ------------------
  |  Branch (10855:13): [True: 0, False: 9.25k]
  ------------------
10856|      0|            p->level--;
10857|      0|            return NULL;
10858|      0|        }
10859|  9.25k|        D(fprintf(stderr, "%*c> keyword_patterns[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.keyword_pattern+"));
10860|  9.25k|        asdl_seq * _gather_52_var;
10861|  9.25k|        if (
10862|  9.25k|            (_gather_52_var = _gather_52_rule(p))  // ','.keyword_pattern+
  ------------------
  |  Branch (10862:13): [True: 2.72k, False: 6.53k]
  ------------------
10863|  9.25k|        )
10864|  2.72k|        {
10865|  2.72k|            D(fprintf(stderr, "%*c+ keyword_patterns[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.keyword_pattern+"));
10866|  2.72k|            _res = _gather_52_var;
10867|  2.72k|            goto done;
10868|  2.72k|        }
10869|  6.53k|        p->mark = _mark;
10870|  6.53k|        D(fprintf(stderr, "%*c%s keyword_patterns[%d-%d]: %s failed!\n", p->level, ' ',
10871|  6.53k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.keyword_pattern+"));
10872|  6.53k|    }
10873|  6.53k|    _res = NULL;
10874|  9.25k|  done:
10875|  9.25k|    p->level--;
10876|  9.25k|    return _res;
10877|  6.53k|}
parser.c:_gather_52_rule:
31843|  9.25k|{
31844|  9.25k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  18.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (31844:9): [True: 0, False: 9.25k]
  |  Branch (31844:35): [True: 0, False: 9.25k]
  ------------------
31845|      0|        _Pypegen_stack_overflow(p);
31846|      0|    }
31847|  9.25k|    if (p->error_indicator) {
  ------------------
  |  Branch (31847:9): [True: 0, False: 9.25k]
  ------------------
31848|      0|        p->level--;
31849|      0|        return NULL;
31850|      0|    }
31851|  9.25k|    asdl_seq * _res = NULL;
31852|  9.25k|    int _mark = p->mark;
31853|  9.25k|    { // keyword_pattern _loop0_51
31854|  9.25k|        if (p->error_indicator) {
  ------------------
  |  Branch (31854:13): [True: 0, False: 9.25k]
  ------------------
31855|      0|            p->level--;
31856|      0|            return NULL;
31857|      0|        }
31858|  9.25k|        D(fprintf(stderr, "%*c> _gather_52[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "keyword_pattern _loop0_51"));
31859|  9.25k|        KeyPatternPair* elem;
31860|  9.25k|        asdl_seq * seq;
31861|  9.25k|        if (
31862|  9.25k|            (elem = keyword_pattern_rule(p))  // keyword_pattern
  ------------------
  |  Branch (31862:13): [True: 2.72k, False: 6.53k]
  ------------------
31863|  2.72k|            &&
31864|  2.72k|            (seq = _loop0_51_rule(p))  // _loop0_51
  ------------------
  |  Branch (31864:13): [True: 2.72k, False: 0]
  ------------------
31865|  9.25k|        )
31866|  2.72k|        {
31867|  2.72k|            D(fprintf(stderr, "%*c+ _gather_52[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "keyword_pattern _loop0_51"));
31868|  2.72k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
31869|  2.72k|            goto done;
31870|  2.72k|        }
31871|  6.53k|        p->mark = _mark;
31872|  6.53k|        D(fprintf(stderr, "%*c%s _gather_52[%d-%d]: %s failed!\n", p->level, ' ',
31873|  6.53k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "keyword_pattern _loop0_51"));
31874|  6.53k|    }
31875|  6.53k|    _res = NULL;
31876|  9.25k|  done:
31877|  9.25k|    p->level--;
31878|  9.25k|    return _res;
31879|  6.53k|}
parser.c:keyword_pattern_rule:
10882|  12.2k|{
10883|  12.2k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  24.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (10883:9): [True: 0, False: 12.2k]
  |  Branch (10883:35): [True: 0, False: 12.2k]
  ------------------
10884|      0|        _Pypegen_stack_overflow(p);
10885|      0|    }
10886|  12.2k|    if (p->error_indicator) {
  ------------------
  |  Branch (10886:9): [True: 0, False: 12.2k]
  ------------------
10887|      0|        p->level--;
10888|      0|        return NULL;
10889|      0|    }
10890|  12.2k|    KeyPatternPair* _res = NULL;
10891|  12.2k|    int _mark = p->mark;
10892|  12.2k|    { // NAME '=' pattern
10893|  12.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (10893:13): [True: 0, False: 12.2k]
  ------------------
10894|      0|            p->level--;
10895|      0|            return NULL;
10896|      0|        }
10897|  12.2k|        D(fprintf(stderr, "%*c> keyword_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' pattern"));
10898|  12.2k|        Token * _literal;
10899|  12.2k|        expr_ty arg;
10900|  12.2k|        pattern_ty value;
10901|  12.2k|        if (
10902|  12.2k|            (arg = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (10902:13): [True: 9.43k, False: 2.84k]
  ------------------
10903|  9.43k|            &&
10904|  9.43k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (10904:13): [True: 5.35k, False: 4.08k]
  ------------------
10905|  5.35k|            &&
10906|  5.35k|            (value = pattern_rule(p))  // pattern
  ------------------
  |  Branch (10906:13): [True: 3.36k, False: 1.99k]
  ------------------
10907|  12.2k|        )
10908|  3.36k|        {
10909|  3.36k|            D(fprintf(stderr, "%*c+ keyword_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' pattern"));
10910|  3.36k|            _res = _PyPegen_key_pattern_pair ( p , arg , value );
10911|  3.36k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10911:18): [True: 0, False: 3.36k]
  |  Branch (10911:34): [True: 0, False: 3.36k]
  |  Branch (10911:57): [True: 0, False: 0]
  ------------------
10912|      0|                p->error_indicator = 1;
10913|      0|                p->level--;
10914|      0|                return NULL;
10915|      0|            }
10916|  3.36k|            goto done;
10917|  3.36k|        }
10918|  8.92k|        p->mark = _mark;
10919|  8.92k|        D(fprintf(stderr, "%*c%s keyword_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10920|  8.92k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' pattern"));
10921|  8.92k|    }
10922|  8.92k|    _res = NULL;
10923|  12.2k|  done:
10924|  12.2k|    p->level--;
10925|  12.2k|    return _res;
10926|  8.92k|}
parser.c:_loop0_51_rule:
31767|  2.72k|{
31768|  2.72k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  5.45k|#  define MAXSTACK 6000
  ------------------
  |  Branch (31768:9): [True: 0, False: 2.72k]
  |  Branch (31768:35): [True: 0, False: 2.72k]
  ------------------
31769|      0|        _Pypegen_stack_overflow(p);
31770|      0|    }
31771|  2.72k|    if (p->error_indicator) {
  ------------------
  |  Branch (31771:9): [True: 0, False: 2.72k]
  ------------------
31772|      0|        p->level--;
31773|      0|        return NULL;
31774|      0|    }
31775|  2.72k|    void *_res = NULL;
31776|  2.72k|    int _mark = p->mark;
31777|  2.72k|    void **_children = PyMem_Malloc(sizeof(void *));
31778|  2.72k|    if (!_children) {
  ------------------
  |  Branch (31778:9): [True: 0, False: 2.72k]
  ------------------
31779|      0|        p->error_indicator = 1;
31780|      0|        PyErr_NoMemory();
31781|      0|        p->level--;
31782|      0|        return NULL;
31783|      0|    }
31784|  2.72k|    Py_ssize_t _children_capacity = 1;
31785|  2.72k|    Py_ssize_t _n = 0;
31786|  2.72k|    { // ',' keyword_pattern
31787|  2.72k|        if (p->error_indicator) {
  ------------------
  |  Branch (31787:13): [True: 0, False: 2.72k]
  ------------------
31788|      0|            p->level--;
31789|      0|            return NULL;
31790|      0|        }
31791|  2.72k|        D(fprintf(stderr, "%*c> _loop0_51[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' keyword_pattern"));
31792|  2.72k|        Token * _literal;
31793|  2.72k|        KeyPatternPair* elem;
31794|  2.72k|        while (
31795|  3.36k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (31795:13): [True: 3.02k, False: 339]
  ------------------
31796|  3.02k|            &&
31797|  3.02k|            (elem = keyword_pattern_rule(p))  // keyword_pattern
  ------------------
  |  Branch (31797:13): [True: 632, False: 2.38k]
  ------------------
31798|  2.72k|        )
31799|    632|        {
31800|    632|            _res = elem;
31801|    632|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (31801:18): [True: 0, False: 632]
  |  Branch (31801:34): [True: 0, False: 632]
  |  Branch (31801:57): [True: 0, False: 0]
  ------------------
31802|      0|                p->error_indicator = 1;
31803|      0|                PyMem_Free(_children);
31804|      0|                p->level--;
31805|      0|                return NULL;
31806|      0|            }
31807|    632|            if (_n == _children_capacity) {
  ------------------
  |  Branch (31807:17): [True: 148, False: 484]
  ------------------
31808|    148|                _children_capacity *= 2;
31809|    148|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
31810|    148|                if (!_new_children) {
  ------------------
  |  Branch (31810:21): [True: 0, False: 148]
  ------------------
31811|      0|                    PyMem_Free(_children);
31812|      0|                    p->error_indicator = 1;
31813|      0|                    PyErr_NoMemory();
31814|      0|                    p->level--;
31815|      0|                    return NULL;
31816|      0|                }
31817|    148|                _children = _new_children;
31818|    148|            }
31819|    632|            _children[_n++] = _res;
31820|    632|            _mark = p->mark;
31821|    632|        }
31822|  2.72k|        p->mark = _mark;
31823|  2.72k|        D(fprintf(stderr, "%*c%s _loop0_51[%d-%d]: %s failed!\n", p->level, ' ',
31824|  2.72k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' keyword_pattern"));
31825|  2.72k|    }
31826|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
31827|  2.72k|    if (!_seq) {
  ------------------
  |  Branch (31827:9): [True: 0, False: 2.72k]
  ------------------
31828|      0|        PyMem_Free(_children);
31829|      0|        p->error_indicator = 1;
31830|      0|        PyErr_NoMemory();
31831|      0|        p->level--;
31832|      0|        return NULL;
31833|      0|    }
31834|  3.36k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    632|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  3.36k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (31834:28): [True: 632, False: 2.72k]
  ------------------
31835|  2.72k|    PyMem_Free(_children);
31836|  2.72k|    p->level--;
31837|  2.72k|    return _seq;
31838|  2.72k|}
parser.c:invalid_class_pattern_rule:
25965|  9.08k|{
25966|  9.08k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  18.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25966:9): [True: 0, False: 9.08k]
  |  Branch (25966:35): [True: 0, False: 9.08k]
  ------------------
25967|      0|        _Pypegen_stack_overflow(p);
25968|      0|    }
25969|  9.08k|    if (p->error_indicator) {
  ------------------
  |  Branch (25969:9): [True: 0, False: 9.08k]
  ------------------
25970|      0|        p->level--;
25971|      0|        return NULL;
25972|      0|    }
25973|  9.08k|    void * _res = NULL;
25974|  9.08k|    int _mark = p->mark;
25975|  9.08k|    { // name_or_attr '(' invalid_class_argument_pattern
25976|  9.08k|        if (p->error_indicator) {
  ------------------
  |  Branch (25976:13): [True: 0, False: 9.08k]
  ------------------
25977|      0|            p->level--;
25978|      0|            return NULL;
25979|      0|        }
25980|  9.08k|        D(fprintf(stderr, "%*c> invalid_class_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "name_or_attr '(' invalid_class_argument_pattern"));
25981|  9.08k|        Token * _literal;
25982|  9.08k|        asdl_pattern_seq* a;
25983|  9.08k|        expr_ty name_or_attr_var;
25984|  9.08k|        if (
25985|  9.08k|            (name_or_attr_var = name_or_attr_rule(p))  // name_or_attr
  ------------------
  |  Branch (25985:13): [True: 5.29k, False: 3.78k]
  ------------------
25986|  5.29k|            &&
25987|  5.29k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (25987:13): [True: 2.78k, False: 2.51k]
  ------------------
25988|  2.78k|            &&
25989|  2.78k|            (a = invalid_class_argument_pattern_rule(p))  // invalid_class_argument_pattern
  ------------------
  |  Branch (25989:13): [True: 6, False: 2.77k]
  ------------------
25990|  9.08k|        )
25991|      6|        {
25992|      6|            D(fprintf(stderr, "%*c+ invalid_class_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "name_or_attr '(' invalid_class_argument_pattern"));
25993|      6|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( PyPegen_first_item ( a , pattern_ty ) , PyPegen_last_item ( a , pattern_ty ) , "positional patterns follow keyword patterns" );
  ------------------
  |  |  211|      6|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
25994|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25994:18): [True: 6, False: 0]
  |  Branch (25994:34): [True: 0, False: 0]
  |  Branch (25994:57): [True: 6, False: 0]
  ------------------
25995|      6|                p->error_indicator = 1;
25996|      6|                p->level--;
25997|      6|                return NULL;
25998|      6|            }
25999|      0|            goto done;
26000|      6|        }
26001|  9.07k|        p->mark = _mark;
26002|  9.07k|        D(fprintf(stderr, "%*c%s invalid_class_pattern[%d-%d]: %s failed!\n", p->level, ' ',
26003|  9.07k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "name_or_attr '(' invalid_class_argument_pattern"));
26004|  9.07k|    }
26005|  9.07k|    _res = NULL;
26006|  9.07k|  done:
26007|  9.07k|    p->level--;
26008|  9.07k|    return _res;
26009|  9.07k|}
parser.c:invalid_class_argument_pattern_rule:
26079|  2.78k|{
26080|  2.78k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  5.56k|#  define MAXSTACK 6000
  ------------------
  |  Branch (26080:9): [True: 0, False: 2.78k]
  |  Branch (26080:35): [True: 0, False: 2.78k]
  ------------------
26081|      0|        _Pypegen_stack_overflow(p);
26082|      0|    }
26083|  2.78k|    if (p->error_indicator) {
  ------------------
  |  Branch (26083:9): [True: 0, False: 2.78k]
  ------------------
26084|      0|        p->level--;
26085|      0|        return NULL;
26086|      0|    }
26087|  2.78k|    asdl_pattern_seq* _res = NULL;
26088|  2.78k|    int _mark = p->mark;
26089|  2.78k|    { // [positional_patterns ','] keyword_patterns ',' positional_patterns
26090|  2.78k|        if (p->error_indicator) {
  ------------------
  |  Branch (26090:13): [True: 0, False: 2.78k]
  ------------------
26091|      0|            p->level--;
26092|      0|            return NULL;
26093|      0|        }
26094|  2.78k|        D(fprintf(stderr, "%*c> invalid_class_argument_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "[positional_patterns ','] keyword_patterns ',' positional_patterns"));
26095|  2.78k|        Token * _literal;
26096|  2.78k|        void *_opt_var;
26097|  2.78k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  2.78k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 2.78k]
  |  |  ------------------
  ------------------
26098|  2.78k|        asdl_pattern_seq* a;
26099|  2.78k|        asdl_seq* keyword_patterns_var;
26100|  2.78k|        if (
26101|  2.78k|            (_opt_var = _tmp_149_rule(p), !p->error_indicator)  // [positional_patterns ',']
  ------------------
  |  Branch (26101:13): [True: 2.78k, False: 0]
  ------------------
26102|  2.78k|            &&
26103|  2.78k|            (keyword_patterns_var = keyword_patterns_rule(p))  // keyword_patterns
  ------------------
  |  Branch (26103:13): [True: 1.06k, False: 1.72k]
  ------------------
26104|  1.06k|            &&
26105|  1.06k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (26105:13): [True: 1.04k, False: 22]
  ------------------
26106|  1.04k|            &&
26107|  1.04k|            (a = positional_patterns_rule(p))  // positional_patterns
  ------------------
  |  Branch (26107:13): [True: 6, False: 1.03k]
  ------------------
26108|  2.78k|        )
26109|      6|        {
26110|      6|            D(fprintf(stderr, "%*c+ invalid_class_argument_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "[positional_patterns ','] keyword_patterns ',' positional_patterns"));
26111|      6|            _res = a;
26112|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (26112:18): [True: 0, False: 6]
  |  Branch (26112:34): [True: 0, False: 6]
  |  Branch (26112:57): [True: 0, False: 0]
  ------------------
26113|      0|                p->error_indicator = 1;
26114|      0|                p->level--;
26115|      0|                return NULL;
26116|      0|            }
26117|      6|            goto done;
26118|      6|        }
26119|  2.77k|        p->mark = _mark;
26120|  2.77k|        D(fprintf(stderr, "%*c%s invalid_class_argument_pattern[%d-%d]: %s failed!\n", p->level, ' ',
26121|  2.77k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "[positional_patterns ','] keyword_patterns ',' positional_patterns"));
26122|  2.77k|    }
26123|  2.77k|    _res = NULL;
26124|  2.78k|  done:
26125|  2.78k|    p->level--;
26126|  2.78k|    return _res;
26127|  2.77k|}
parser.c:_tmp_149_rule:
37777|  2.78k|{
37778|  2.78k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  5.56k|#  define MAXSTACK 6000
  ------------------
  |  Branch (37778:9): [True: 0, False: 2.78k]
  |  Branch (37778:35): [True: 0, False: 2.78k]
  ------------------
37779|      0|        _Pypegen_stack_overflow(p);
37780|      0|    }
37781|  2.78k|    if (p->error_indicator) {
  ------------------
  |  Branch (37781:9): [True: 0, False: 2.78k]
  ------------------
37782|      0|        p->level--;
37783|      0|        return NULL;
37784|      0|    }
37785|  2.78k|    void * _res = NULL;
37786|  2.78k|    int _mark = p->mark;
37787|  2.78k|    { // positional_patterns ','
37788|  2.78k|        if (p->error_indicator) {
  ------------------
  |  Branch (37788:13): [True: 0, False: 2.78k]
  ------------------
37789|      0|            p->level--;
37790|      0|            return NULL;
37791|      0|        }
37792|  2.78k|        D(fprintf(stderr, "%*c> _tmp_149[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "positional_patterns ','"));
37793|  2.78k|        Token * _literal;
37794|  2.78k|        asdl_pattern_seq* positional_patterns_var;
37795|  2.78k|        if (
37796|  2.78k|            (positional_patterns_var = positional_patterns_rule(p))  // positional_patterns
  ------------------
  |  Branch (37796:13): [True: 1.54k, False: 1.23k]
  ------------------
37797|  1.54k|            &&
37798|  1.54k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (37798:13): [True: 1.27k, False: 278]
  ------------------
37799|  2.78k|        )
37800|  1.27k|        {
37801|  1.27k|            D(fprintf(stderr, "%*c+ _tmp_149[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "positional_patterns ','"));
37802|  1.27k|            _res = _PyPegen_dummy_name(p, positional_patterns_var, _literal);
37803|  1.27k|            goto done;
37804|  1.27k|        }
37805|  1.51k|        p->mark = _mark;
37806|  1.51k|        D(fprintf(stderr, "%*c%s _tmp_149[%d-%d]: %s failed!\n", p->level, ' ',
37807|  1.51k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "positional_patterns ','"));
37808|  1.51k|    }
37809|  1.51k|    _res = NULL;
37810|  2.78k|  done:
37811|  2.78k|    p->level--;
37812|  2.78k|    return _res;
37813|  1.51k|}
parser.c:_loop0_39_rule:
31033|   145k|{
31034|   145k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   291k|#  define MAXSTACK 6000
  ------------------
  |  Branch (31034:9): [True: 0, False: 145k]
  |  Branch (31034:35): [True: 0, False: 145k]
  ------------------
31035|      0|        _Pypegen_stack_overflow(p);
31036|      0|    }
31037|   145k|    if (p->error_indicator) {
  ------------------
  |  Branch (31037:9): [True: 0, False: 145k]
  ------------------
31038|      0|        p->level--;
31039|      0|        return NULL;
31040|      0|    }
31041|   145k|    void *_res = NULL;
31042|   145k|    int _mark = p->mark;
31043|   145k|    void **_children = PyMem_Malloc(sizeof(void *));
31044|   145k|    if (!_children) {
  ------------------
  |  Branch (31044:9): [True: 0, False: 145k]
  ------------------
31045|      0|        p->error_indicator = 1;
31046|      0|        PyErr_NoMemory();
31047|      0|        p->level--;
31048|      0|        return NULL;
31049|      0|    }
31050|   145k|    Py_ssize_t _children_capacity = 1;
31051|   145k|    Py_ssize_t _n = 0;
31052|   145k|    { // '|' closed_pattern
31053|   145k|        if (p->error_indicator) {
  ------------------
  |  Branch (31053:13): [True: 0, False: 145k]
  ------------------
31054|      0|            p->level--;
31055|      0|            return NULL;
31056|      0|        }
31057|   145k|        D(fprintf(stderr, "%*c> _loop0_39[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'|' closed_pattern"));
31058|   145k|        Token * _literal;
31059|   145k|        pattern_ty elem;
31060|   145k|        while (
31061|   156k|            (_literal = _PyPegen_expect_token(p, 18))  // token='|'
  ------------------
  |  Branch (31061:13): [True: 20.3k, False: 136k]
  ------------------
31062|  20.3k|            &&
31063|  20.3k|            (elem = closed_pattern_rule(p))  // closed_pattern
  ------------------
  |  Branch (31063:13): [True: 10.5k, False: 9.83k]
  ------------------
31064|   145k|        )
31065|  10.5k|        {
31066|  10.5k|            _res = elem;
31067|  10.5k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (31067:18): [True: 0, False: 10.5k]
  |  Branch (31067:34): [True: 0, False: 10.5k]
  |  Branch (31067:57): [True: 0, False: 0]
  ------------------
31068|      0|                p->error_indicator = 1;
31069|      0|                PyMem_Free(_children);
31070|      0|                p->level--;
31071|      0|                return NULL;
31072|      0|            }
31073|  10.5k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (31073:17): [True: 949, False: 9.55k]
  ------------------
31074|    949|                _children_capacity *= 2;
31075|    949|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
31076|    949|                if (!_new_children) {
  ------------------
  |  Branch (31076:21): [True: 0, False: 949]
  ------------------
31077|      0|                    PyMem_Free(_children);
31078|      0|                    p->error_indicator = 1;
31079|      0|                    PyErr_NoMemory();
31080|      0|                    p->level--;
31081|      0|                    return NULL;
31082|      0|                }
31083|    949|                _children = _new_children;
31084|    949|            }
31085|  10.5k|            _children[_n++] = _res;
31086|  10.5k|            _mark = p->mark;
31087|  10.5k|        }
31088|   145k|        p->mark = _mark;
31089|   145k|        D(fprintf(stderr, "%*c%s _loop0_39[%d-%d]: %s failed!\n", p->level, ' ',
31090|   145k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'|' closed_pattern"));
31091|   145k|    }
31092|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
31093|   145k|    if (!_seq) {
  ------------------
  |  Branch (31093:9): [True: 0, False: 145k]
  ------------------
31094|      0|        PyMem_Free(_children);
31095|      0|        p->error_indicator = 1;
31096|      0|        PyErr_NoMemory();
31097|      0|        p->level--;
31098|      0|        return NULL;
31099|      0|    }
31100|   156k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  10.5k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|   156k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (31100:28): [True: 10.5k, False: 145k]
  ------------------
31101|   145k|    PyMem_Free(_children);
31102|   145k|    p->level--;
31103|   145k|    return _seq;
31104|   145k|}
parser.c:guard_rule:
 8048|  3.91k|{
 8049|  3.91k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  7.83k|#  define MAXSTACK 6000
  ------------------
  |  Branch (8049:9): [True: 0, False: 3.91k]
  |  Branch (8049:35): [True: 0, False: 3.91k]
  ------------------
 8050|      0|        _Pypegen_stack_overflow(p);
 8051|      0|    }
 8052|  3.91k|    if (p->error_indicator) {
  ------------------
  |  Branch (8052:9): [True: 0, False: 3.91k]
  ------------------
 8053|      0|        p->level--;
 8054|      0|        return NULL;
 8055|      0|    }
 8056|  3.91k|    expr_ty _res = NULL;
 8057|  3.91k|    int _mark = p->mark;
 8058|  3.91k|    { // 'if' named_expression
 8059|  3.91k|        if (p->error_indicator) {
  ------------------
  |  Branch (8059:13): [True: 0, False: 3.91k]
  ------------------
 8060|      0|            p->level--;
 8061|      0|            return NULL;
 8062|      0|        }
 8063|  3.91k|        D(fprintf(stderr, "%*c> guard[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'if' named_expression"));
 8064|  3.91k|        Token * _keyword;
 8065|  3.91k|        expr_ty guard;
 8066|  3.91k|        if (
 8067|  3.91k|            (_keyword = _PyPegen_expect_token(p, 700))  // token='if'
  ------------------
  |  Branch (8067:13): [True: 32, False: 3.88k]
  ------------------
 8068|     32|            &&
 8069|     32|            (guard = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (8069:13): [True: 23, False: 9]
  ------------------
 8070|  3.91k|        )
 8071|     23|        {
 8072|     23|            D(fprintf(stderr, "%*c+ guard[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'if' named_expression"));
 8073|     23|            _res = guard;
 8074|     23|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8074:18): [True: 0, False: 23]
  |  Branch (8074:34): [True: 0, False: 23]
  |  Branch (8074:57): [True: 0, False: 0]
  ------------------
 8075|      0|                p->error_indicator = 1;
 8076|      0|                p->level--;
 8077|      0|                return NULL;
 8078|      0|            }
 8079|     23|            goto done;
 8080|     23|        }
 8081|  3.89k|        p->mark = _mark;
 8082|  3.89k|        D(fprintf(stderr, "%*c%s guard[%d-%d]: %s failed!\n", p->level, ' ',
 8083|  3.89k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'if' named_expression"));
 8084|  3.89k|    }
 8085|  3.89k|    _res = NULL;
 8086|  3.91k|  done:
 8087|  3.91k|    p->level--;
 8088|  3.91k|    return _res;
 8089|  3.89k|}
parser.c:invalid_match_stmt_rule:
25671|  26.3k|{
25672|  26.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  52.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25672:9): [True: 0, False: 26.3k]
  |  Branch (25672:35): [True: 0, False: 26.3k]
  ------------------
25673|      0|        _Pypegen_stack_overflow(p);
25674|      0|    }
25675|  26.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (25675:9): [True: 0, False: 26.3k]
  ------------------
25676|      0|        p->level--;
25677|      0|        return NULL;
25678|      0|    }
25679|  26.3k|    void * _res = NULL;
25680|  26.3k|    int _mark = p->mark;
25681|  26.3k|    { // "match" subject_expr NEWLINE
25682|  26.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (25682:13): [True: 0, False: 26.3k]
  ------------------
25683|      0|            p->level--;
25684|      0|            return NULL;
25685|      0|        }
25686|  26.3k|        D(fprintf(stderr, "%*c> invalid_match_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"match\" subject_expr NEWLINE"));
25687|  26.3k|        expr_ty _keyword;
25688|  26.3k|        Token * newline_var;
25689|  26.3k|        expr_ty subject_expr_var;
25690|  26.3k|        if (
25691|  26.3k|            (_keyword = _PyPegen_expect_soft_keyword(p, "match"))  // soft_keyword='"match"'
  ------------------
  |  Branch (25691:13): [True: 847, False: 25.5k]
  ------------------
25692|    847|            &&
25693|    847|            (subject_expr_var = subject_expr_rule(p))  // subject_expr
  ------------------
  |  Branch (25693:13): [True: 572, False: 275]
  ------------------
25694|    572|            &&
25695|    572|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    572|#define NEWLINE         4
  ------------------
  |  Branch (25695:13): [True: 8, False: 564]
  ------------------
25696|  26.3k|        )
25697|      8|        {
25698|      8|            D(fprintf(stderr, "%*c+ invalid_match_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"match\" subject_expr NEWLINE"));
25699|      8|            _res = CHECK_VERSION ( void* , 10 , "Pattern matching is" , RAISE_SYNTAX_ERROR ( "expected ':'" ) );
  ------------------
  |  |  319|      8|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
25700|      8|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25700:18): [True: 8, False: 0]
  |  Branch (25700:34): [True: 0, False: 0]
  |  Branch (25700:57): [True: 8, False: 0]
  ------------------
25701|      8|                p->error_indicator = 1;
25702|      8|                p->level--;
25703|      8|                return NULL;
25704|      8|            }
25705|      0|            goto done;
25706|      8|        }
25707|  26.3k|        p->mark = _mark;
25708|  26.3k|        D(fprintf(stderr, "%*c%s invalid_match_stmt[%d-%d]: %s failed!\n", p->level, ' ',
25709|  26.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"match\" subject_expr NEWLINE"));
25710|  26.3k|    }
25711|      0|    { // "match" subject_expr ':' NEWLINE !INDENT
25712|  26.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (25712:13): [True: 0, False: 26.3k]
  ------------------
25713|      0|            p->level--;
25714|      0|            return NULL;
25715|      0|        }
25716|  26.3k|        D(fprintf(stderr, "%*c> invalid_match_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"match\" subject_expr ':' NEWLINE !INDENT"));
25717|  26.3k|        Token * _literal;
25718|  26.3k|        expr_ty a;
25719|  26.3k|        Token * newline_var;
25720|  26.3k|        expr_ty subject;
25721|  26.3k|        if (
25722|  26.3k|            (a = _PyPegen_expect_soft_keyword(p, "match"))  // soft_keyword='"match"'
  ------------------
  |  Branch (25722:13): [True: 839, False: 25.5k]
  ------------------
25723|    839|            &&
25724|    839|            (subject = subject_expr_rule(p))  // subject_expr
  ------------------
  |  Branch (25724:13): [True: 564, False: 275]
  ------------------
25725|    564|            &&
25726|    564|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (25726:13): [True: 186, False: 378]
  ------------------
25727|    186|            &&
25728|    186|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    186|#define NEWLINE         4
  ------------------
  |  Branch (25728:13): [True: 185, False: 1]
  ------------------
25729|    185|            &&
25730|    185|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, INDENT)  // token=INDENT
  ------------------
  |  |   21|    185|#define INDENT          5
  ------------------
  |  Branch (25730:13): [True: 3, False: 182]
  ------------------
25731|  26.3k|        )
25732|      3|        {
25733|      3|            D(fprintf(stderr, "%*c+ invalid_match_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"match\" subject_expr ':' NEWLINE !INDENT"));
25734|      3|            _res = RAISE_INDENTATION_ERROR ( "expected an indented block after 'match' statement on line %d" , a -> lineno );
  ------------------
  |  |  208|      3|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
25735|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25735:18): [True: 3, False: 0]
  |  Branch (25735:34): [True: 0, False: 0]
  |  Branch (25735:57): [True: 3, False: 0]
  ------------------
25736|      3|                p->error_indicator = 1;
25737|      3|                p->level--;
25738|      3|                return NULL;
25739|      3|            }
25740|      0|            goto done;
25741|      3|        }
25742|  26.3k|        p->mark = _mark;
25743|  26.3k|        D(fprintf(stderr, "%*c%s invalid_match_stmt[%d-%d]: %s failed!\n", p->level, ' ',
25744|  26.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"match\" subject_expr ':' NEWLINE !INDENT"));
25745|  26.3k|    }
25746|      0|    { // "case" patterns guard? ':' block
25747|  26.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (25747:13): [True: 0, False: 26.3k]
  ------------------
25748|      0|            p->level--;
25749|      0|            return NULL;
25750|      0|        }
25751|  26.3k|        D(fprintf(stderr, "%*c> invalid_match_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"case\" patterns guard? ':' block"));
25752|  26.3k|        void *_opt_var;
25753|  26.3k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  26.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 26.3k]
  |  |  ------------------
  ------------------
25754|  26.3k|        expr_ty a;
25755|  26.3k|        Token * b;
25756|  26.3k|        asdl_stmt_seq* block_var;
25757|  26.3k|        pattern_ty patterns_var;
25758|  26.3k|        if (
25759|  26.3k|            (a = _PyPegen_expect_soft_keyword(p, "case"))  // soft_keyword='"case"'
  ------------------
  |  Branch (25759:13): [True: 431, False: 25.9k]
  ------------------
25760|    431|            &&
25761|    431|            (patterns_var = patterns_rule(p))  // patterns
  ------------------
  |  Branch (25761:13): [True: 115, False: 316]
  ------------------
25762|    115|            &&
25763|    115|            (_opt_var = guard_rule(p), !p->error_indicator)  // guard?
  ------------------
  |  Branch (25763:13): [True: 113, False: 2]
  ------------------
25764|    113|            &&
25765|    113|            (b = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (25765:13): [True: 24, False: 89]
  ------------------
25766|     24|            &&
25767|     24|            (block_var = block_rule(p))  // block
  ------------------
  |  Branch (25767:13): [True: 3, False: 21]
  ------------------
25768|  26.3k|        )
25769|      3|        {
25770|      3|            D(fprintf(stderr, "%*c+ invalid_match_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"case\" patterns guard? ':' block"));
25771|      3|            _res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , b , "case statement must be inside match statement" );
  ------------------
  |  |  211|      3|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (b)->end_lineno, (b)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
25772|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (25772:18): [True: 3, False: 0]
  |  Branch (25772:34): [True: 0, False: 0]
  |  Branch (25772:57): [True: 3, False: 0]
  ------------------
25773|      3|                p->error_indicator = 1;
25774|      3|                p->level--;
25775|      3|                return NULL;
25776|      3|            }
25777|      0|            goto done;
25778|      3|        }
25779|  26.3k|        p->mark = _mark;
25780|  26.3k|        D(fprintf(stderr, "%*c%s invalid_match_stmt[%d-%d]: %s failed!\n", p->level, ' ',
25781|  26.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"case\" patterns guard? ':' block"));
25782|  26.3k|    }
25783|  26.3k|    _res = NULL;
25784|  26.3k|  done:
25785|  26.3k|    p->level--;
25786|  26.3k|    return _res;
25787|  26.3k|}
parser.c:simple_stmts_rule:
 1496|   215k|{
 1497|   215k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   430k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1497:9): [True: 0, False: 215k]
  |  Branch (1497:35): [True: 0, False: 215k]
  ------------------
 1498|      0|        _Pypegen_stack_overflow(p);
 1499|      0|    }
 1500|   215k|    if (p->error_indicator) {
  ------------------
  |  Branch (1500:9): [True: 0, False: 215k]
  ------------------
 1501|      0|        p->level--;
 1502|      0|        return NULL;
 1503|      0|    }
 1504|   215k|    asdl_stmt_seq* _res = NULL;
 1505|   215k|    int _mark = p->mark;
 1506|   215k|    { // simple_stmt !';' NEWLINE
 1507|   215k|        if (p->error_indicator) {
  ------------------
  |  Branch (1507:13): [True: 0, False: 215k]
  ------------------
 1508|      0|            p->level--;
 1509|      0|            return NULL;
 1510|      0|        }
 1511|   215k|        D(fprintf(stderr, "%*c> simple_stmts[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "simple_stmt !';' NEWLINE"));
 1512|   215k|        stmt_ty a;
 1513|   215k|        Token * newline_var;
 1514|   215k|        if (
 1515|   215k|            (a = simple_stmt_rule(p))  // simple_stmt
  ------------------
  |  Branch (1515:13): [True: 177k, False: 37.6k]
  ------------------
 1516|   177k|            &&
 1517|   177k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 13)  // token=';'
  ------------------
  |  Branch (1517:13): [True: 150k, False: 27.1k]
  ------------------
 1518|   150k|            &&
 1519|   150k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|   150k|#define NEWLINE         4
  ------------------
  |  Branch (1519:13): [True: 144k, False: 6.31k]
  ------------------
 1520|   215k|        )
 1521|   144k|        {
 1522|   144k|            D(fprintf(stderr, "%*c+ simple_stmts[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "simple_stmt !';' NEWLINE"));
 1523|   144k|            _res = ( asdl_stmt_seq* ) _PyPegen_singleton_seq ( p , a );
 1524|   144k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1524:18): [True: 0, False: 144k]
  |  Branch (1524:34): [True: 0, False: 144k]
  |  Branch (1524:57): [True: 0, False: 0]
  ------------------
 1525|      0|                p->error_indicator = 1;
 1526|      0|                p->level--;
 1527|      0|                return NULL;
 1528|      0|            }
 1529|   144k|            goto done;
 1530|   144k|        }
 1531|  71.0k|        p->mark = _mark;
 1532|  71.0k|        D(fprintf(stderr, "%*c%s simple_stmts[%d-%d]: %s failed!\n", p->level, ' ',
 1533|  71.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "simple_stmt !';' NEWLINE"));
 1534|  71.0k|    }
 1535|      0|    { // ';'.simple_stmt+ ';'? NEWLINE
 1536|  71.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (1536:13): [True: 3.23k, False: 67.8k]
  ------------------
 1537|  3.23k|            p->level--;
 1538|  3.23k|            return NULL;
 1539|  3.23k|        }
 1540|  67.8k|        D(fprintf(stderr, "%*c> simple_stmts[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "';'.simple_stmt+ ';'? NEWLINE"));
 1541|  67.8k|        void *_opt_var;
 1542|  67.8k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  279|  67.8k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 67.8k]
  |  |  ------------------
  ------------------
 1543|  67.8k|        asdl_stmt_seq* a;
 1544|  67.8k|        Token * newline_var;
 1545|  67.8k|        if (
 1546|  67.8k|            (a = (asdl_stmt_seq*)_gather_4_rule(p))  // ';'.simple_stmt+
  ------------------
  |  Branch (1546:13): [True: 33.4k, False: 34.4k]
  ------------------
 1547|  33.4k|            &&
 1548|  33.4k|            (_opt_var = _PyPegen_expect_token(p, 13), !p->error_indicator)  // ';'?
  ------------------
  |  Branch (1548:13): [True: 33.3k, False: 96]
  ------------------
 1549|  33.3k|            &&
 1550|  33.3k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  33.3k|#define NEWLINE         4
  ------------------
  |  Branch (1550:13): [True: 26.5k, False: 6.76k]
  ------------------
 1551|  67.8k|        )
 1552|  26.5k|        {
 1553|  26.5k|            D(fprintf(stderr, "%*c+ simple_stmts[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "';'.simple_stmt+ ';'? NEWLINE"));
 1554|  26.5k|            _res = a;
 1555|  26.5k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1555:18): [True: 0, False: 26.5k]
  |  Branch (1555:34): [True: 0, False: 26.5k]
  |  Branch (1555:57): [True: 0, False: 0]
  ------------------
 1556|      0|                p->error_indicator = 1;
 1557|      0|                p->level--;
 1558|      0|                return NULL;
 1559|      0|            }
 1560|  26.5k|            goto done;
 1561|  26.5k|        }
 1562|  41.3k|        p->mark = _mark;
 1563|  41.3k|        D(fprintf(stderr, "%*c%s simple_stmts[%d-%d]: %s failed!\n", p->level, ' ',
 1564|  41.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "';'.simple_stmt+ ';'? NEWLINE"));
 1565|  41.3k|    }
 1566|  41.3k|    _res = NULL;
 1567|   211k|  done:
 1568|   211k|    p->level--;
 1569|   211k|    return _res;
 1570|  41.3k|}
parser.c:_gather_4_rule:
28851|  67.8k|{
28852|  67.8k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   135k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28852:9): [True: 0, False: 67.8k]
  |  Branch (28852:35): [True: 0, False: 67.8k]
  ------------------
28853|      0|        _Pypegen_stack_overflow(p);
28854|      0|    }
28855|  67.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (28855:9): [True: 0, False: 67.8k]
  ------------------
28856|      0|        p->level--;
28857|      0|        return NULL;
28858|      0|    }
28859|  67.8k|    asdl_seq * _res = NULL;
28860|  67.8k|    int _mark = p->mark;
28861|  67.8k|    { // simple_stmt _loop0_3
28862|  67.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (28862:13): [True: 0, False: 67.8k]
  ------------------
28863|      0|            p->level--;
28864|      0|            return NULL;
28865|      0|        }
28866|  67.8k|        D(fprintf(stderr, "%*c> _gather_4[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "simple_stmt _loop0_3"));
28867|  67.8k|        stmt_ty elem;
28868|  67.8k|        asdl_seq * seq;
28869|  67.8k|        if (
28870|  67.8k|            (elem = simple_stmt_rule(p))  // simple_stmt
  ------------------
  |  Branch (28870:13): [True: 33.4k, False: 34.4k]
  ------------------
28871|  33.4k|            &&
28872|  33.4k|            (seq = _loop0_3_rule(p))  // _loop0_3
  ------------------
  |  Branch (28872:13): [True: 33.4k, False: 0]
  ------------------
28873|  67.8k|        )
28874|  33.4k|        {
28875|  33.4k|            D(fprintf(stderr, "%*c+ _gather_4[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "simple_stmt _loop0_3"));
28876|  33.4k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
28877|  33.4k|            goto done;
28878|  33.4k|        }
28879|  34.4k|        p->mark = _mark;
28880|  34.4k|        D(fprintf(stderr, "%*c%s _gather_4[%d-%d]: %s failed!\n", p->level, ' ',
28881|  34.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "simple_stmt _loop0_3"));
28882|  34.4k|    }
28883|  34.4k|    _res = NULL;
28884|  67.8k|  done:
28885|  67.8k|    p->level--;
28886|  67.8k|    return _res;
28887|  34.4k|}
parser.c:_loop0_3_rule:
28775|  33.4k|{
28776|  33.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  66.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28776:9): [True: 0, False: 33.4k]
  |  Branch (28776:35): [True: 0, False: 33.4k]
  ------------------
28777|      0|        _Pypegen_stack_overflow(p);
28778|      0|    }
28779|  33.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (28779:9): [True: 0, False: 33.4k]
  ------------------
28780|      0|        p->level--;
28781|      0|        return NULL;
28782|      0|    }
28783|  33.4k|    void *_res = NULL;
28784|  33.4k|    int _mark = p->mark;
28785|  33.4k|    void **_children = PyMem_Malloc(sizeof(void *));
28786|  33.4k|    if (!_children) {
  ------------------
  |  Branch (28786:9): [True: 0, False: 33.4k]
  ------------------
28787|      0|        p->error_indicator = 1;
28788|      0|        PyErr_NoMemory();
28789|      0|        p->level--;
28790|      0|        return NULL;
28791|      0|    }
28792|  33.4k|    Py_ssize_t _children_capacity = 1;
28793|  33.4k|    Py_ssize_t _n = 0;
28794|  33.4k|    { // ';' simple_stmt
28795|  33.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (28795:13): [True: 0, False: 33.4k]
  ------------------
28796|      0|            p->level--;
28797|      0|            return NULL;
28798|      0|        }
28799|  33.4k|        D(fprintf(stderr, "%*c> _loop0_3[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "';' simple_stmt"));
28800|  33.4k|        Token * _literal;
28801|  33.4k|        stmt_ty elem;
28802|  33.4k|        while (
28803|   131k|            (_literal = _PyPegen_expect_token(p, 13))  // token=';'
  ------------------
  |  Branch (28803:13): [True: 104k, False: 27.2k]
  ------------------
28804|   104k|            &&
28805|   104k|            (elem = simple_stmt_rule(p))  // simple_stmt
  ------------------
  |  Branch (28805:13): [True: 97.8k, False: 6.17k]
  ------------------
28806|  33.4k|        )
28807|  97.8k|        {
28808|  97.8k|            _res = elem;
28809|  97.8k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (28809:18): [True: 0, False: 97.8k]
  |  Branch (28809:34): [True: 0, False: 97.8k]
  |  Branch (28809:57): [True: 0, False: 0]
  ------------------
28810|      0|                p->error_indicator = 1;
28811|      0|                PyMem_Free(_children);
28812|      0|                p->level--;
28813|      0|                return NULL;
28814|      0|            }
28815|  97.8k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (28815:17): [True: 30.3k, False: 67.4k]
  ------------------
28816|  30.3k|                _children_capacity *= 2;
28817|  30.3k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
28818|  30.3k|                if (!_new_children) {
  ------------------
  |  Branch (28818:21): [True: 0, False: 30.3k]
  ------------------
28819|      0|                    PyMem_Free(_children);
28820|      0|                    p->error_indicator = 1;
28821|      0|                    PyErr_NoMemory();
28822|      0|                    p->level--;
28823|      0|                    return NULL;
28824|      0|                }
28825|  30.3k|                _children = _new_children;
28826|  30.3k|            }
28827|  97.8k|            _children[_n++] = _res;
28828|  97.8k|            _mark = p->mark;
28829|  97.8k|        }
28830|  33.4k|        p->mark = _mark;
28831|  33.4k|        D(fprintf(stderr, "%*c%s _loop0_3[%d-%d]: %s failed!\n", p->level, ' ',
28832|  33.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "';' simple_stmt"));
28833|  33.4k|    }
28834|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
28835|  33.4k|    if (!_seq) {
  ------------------
  |  Branch (28835:9): [True: 0, False: 33.4k]
  ------------------
28836|      0|        PyMem_Free(_children);
28837|      0|        p->error_indicator = 1;
28838|      0|        PyErr_NoMemory();
28839|      0|        p->level--;
28840|      0|        return NULL;
28841|      0|    }
28842|   131k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  97.8k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|   131k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (28842:28): [True: 97.8k, False: 33.4k]
  ------------------
28843|  33.4k|    PyMem_Free(_children);
28844|  33.4k|    p->level--;
28845|  33.4k|    return _seq;
28846|  33.4k|}
parser.c:interactive_rule:
 1059|  8.01k|{
 1060|  8.01k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  16.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1060:9): [True: 0, False: 8.01k]
  |  Branch (1060:35): [True: 0, False: 8.01k]
  ------------------
 1061|      0|        _Pypegen_stack_overflow(p);
 1062|      0|    }
 1063|  8.01k|    if (p->error_indicator) {
  ------------------
  |  Branch (1063:9): [True: 606, False: 7.40k]
  ------------------
 1064|    606|        p->level--;
 1065|    606|        return NULL;
 1066|    606|    }
 1067|  7.40k|    mod_ty _res = NULL;
 1068|  7.40k|    int _mark = p->mark;
 1069|  7.40k|    { // statement_newline
 1070|  7.40k|        if (p->error_indicator) {
  ------------------
  |  Branch (1070:13): [True: 0, False: 7.40k]
  ------------------
 1071|      0|            p->level--;
 1072|      0|            return NULL;
 1073|      0|        }
 1074|  7.40k|        D(fprintf(stderr, "%*c> interactive[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "statement_newline"));
 1075|  7.40k|        asdl_stmt_seq* a;
 1076|  7.40k|        if (
 1077|  7.40k|            (a = statement_newline_rule(p))  // statement_newline
  ------------------
  |  Branch (1077:13): [True: 2.25k, False: 5.15k]
  ------------------
 1078|  7.40k|        )
 1079|  2.25k|        {
 1080|  2.25k|            D(fprintf(stderr, "%*c+ interactive[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "statement_newline"));
 1081|  2.25k|            _res = _PyAST_Interactive ( a , p -> arena );
 1082|  2.25k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1082:18): [True: 0, False: 2.25k]
  |  Branch (1082:34): [True: 0, False: 2.25k]
  |  Branch (1082:57): [True: 0, False: 0]
  ------------------
 1083|      0|                p->error_indicator = 1;
 1084|      0|                p->level--;
 1085|      0|                return NULL;
 1086|      0|            }
 1087|  2.25k|            goto done;
 1088|  2.25k|        }
 1089|  5.15k|        p->mark = _mark;
 1090|  5.15k|        D(fprintf(stderr, "%*c%s interactive[%d-%d]: %s failed!\n", p->level, ' ',
 1091|  5.15k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "statement_newline"));
 1092|  5.15k|    }
 1093|  5.15k|    _res = NULL;
 1094|  7.40k|  done:
 1095|  7.40k|    p->level--;
 1096|  7.40k|    return _res;
 1097|  5.15k|}
parser.c:statement_newline_rule:
 1365|  7.40k|{
 1366|  7.40k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  14.8k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1366:9): [True: 0, False: 7.40k]
  |  Branch (1366:35): [True: 0, False: 7.40k]
  ------------------
 1367|      0|        _Pypegen_stack_overflow(p);
 1368|      0|    }
 1369|  7.40k|    if (p->error_indicator) {
  ------------------
  |  Branch (1369:9): [True: 0, False: 7.40k]
  ------------------
 1370|      0|        p->level--;
 1371|      0|        return NULL;
 1372|      0|    }
 1373|  7.40k|    asdl_stmt_seq* _res = NULL;
 1374|  7.40k|    int _mark = p->mark;
 1375|  7.40k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (1375:9): [True: 5.32k, False: 2.08k]
  |  Branch (1375:31): [True: 219, False: 5.10k]
  ------------------
 1376|    219|        p->error_indicator = 1;
 1377|    219|        p->level--;
 1378|    219|        return NULL;
 1379|    219|    }
 1380|  7.18k|    int _start_lineno = p->tokens[_mark]->lineno;
 1381|  7.18k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|  7.18k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 7.18k]
  |  |  ------------------
  ------------------
 1382|  7.18k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 1383|  7.18k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|  7.18k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 7.18k]
  |  |  ------------------
  ------------------
 1384|  7.18k|    { // single_compound_stmt NEWLINE
 1385|  7.18k|        if (p->error_indicator) {
  ------------------
  |  Branch (1385:13): [True: 0, False: 7.18k]
  ------------------
 1386|      0|            p->level--;
 1387|      0|            return NULL;
 1388|      0|        }
 1389|  7.18k|        D(fprintf(stderr, "%*c> statement_newline[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "single_compound_stmt NEWLINE"));
 1390|  7.18k|        asdl_stmt_seq* a;
 1391|  7.18k|        Token * newline_var;
 1392|  7.18k|        if (
 1393|  7.18k|            (a = single_compound_stmt_rule(p))  // single_compound_stmt
  ------------------
  |  Branch (1393:13): [True: 112, False: 7.07k]
  ------------------
 1394|    112|            &&
 1395|    112|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|    112|#define NEWLINE         4
  ------------------
  |  Branch (1395:13): [True: 92, False: 20]
  ------------------
 1396|  7.18k|        )
 1397|     92|        {
 1398|     92|            D(fprintf(stderr, "%*c+ statement_newline[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "single_compound_stmt NEWLINE"));
 1399|     92|            _res = a;
 1400|     92|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1400:18): [True: 0, False: 92]
  |  Branch (1400:34): [True: 0, False: 92]
  |  Branch (1400:57): [True: 0, False: 0]
  ------------------
 1401|      0|                p->error_indicator = 1;
 1402|      0|                p->level--;
 1403|      0|                return NULL;
 1404|      0|            }
 1405|     92|            goto done;
 1406|     92|        }
 1407|  7.09k|        p->mark = _mark;
 1408|  7.09k|        D(fprintf(stderr, "%*c%s statement_newline[%d-%d]: %s failed!\n", p->level, ' ',
 1409|  7.09k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "single_compound_stmt NEWLINE"));
 1410|  7.09k|    }
 1411|      0|    { // simple_stmts
 1412|  7.09k|        if (p->error_indicator) {
  ------------------
  |  Branch (1412:13): [True: 172, False: 6.92k]
  ------------------
 1413|    172|            p->level--;
 1414|    172|            return NULL;
 1415|    172|        }
 1416|  6.92k|        D(fprintf(stderr, "%*c> statement_newline[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "simple_stmts"));
 1417|  6.92k|        asdl_stmt_seq* simple_stmts_var;
 1418|  6.92k|        if (
 1419|  6.92k|            (simple_stmts_var = simple_stmts_rule(p))  // simple_stmts
  ------------------
  |  Branch (1419:13): [True: 2.16k, False: 4.76k]
  ------------------
 1420|  6.92k|        )
 1421|  2.16k|        {
 1422|  2.16k|            D(fprintf(stderr, "%*c+ statement_newline[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "simple_stmts"));
 1423|  2.16k|            _res = simple_stmts_var;
 1424|  2.16k|            goto done;
 1425|  2.16k|        }
 1426|  4.76k|        p->mark = _mark;
 1427|  4.76k|        D(fprintf(stderr, "%*c%s statement_newline[%d-%d]: %s failed!\n", p->level, ' ',
 1428|  4.76k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "simple_stmts"));
 1429|  4.76k|    }
 1430|      0|    { // NEWLINE
 1431|  4.76k|        if (p->error_indicator) {
  ------------------
  |  Branch (1431:13): [True: 1.46k, False: 3.29k]
  ------------------
 1432|  1.46k|            p->level--;
 1433|  1.46k|            return NULL;
 1434|  1.46k|        }
 1435|  3.29k|        D(fprintf(stderr, "%*c> statement_newline[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
 1436|  3.29k|        Token * newline_var;
 1437|  3.29k|        if (
 1438|  3.29k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  3.29k|#define NEWLINE         4
  ------------------
  |  Branch (1438:13): [True: 0, False: 3.29k]
  ------------------
 1439|  3.29k|        )
 1440|      0|        {
 1441|      0|            D(fprintf(stderr, "%*c+ statement_newline[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
 1442|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 1443|      0|            if (_token == NULL) {
  ------------------
  |  Branch (1443:17): [True: 0, False: 0]
  ------------------
 1444|      0|                p->level--;
 1445|      0|                return NULL;
 1446|      0|            }
 1447|      0|            int _end_lineno = _token->end_lineno;
 1448|      0|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  279|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1449|      0|            int _end_col_offset = _token->end_col_offset;
 1450|      0|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  279|      0|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (279:50): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1451|      0|            _res = ( asdl_stmt_seq* ) _PyPegen_singleton_seq ( p , CHECK ( stmt_ty , _PyAST_Pass ( EXTRA ) ) );
  ------------------
  |  |  245|      0|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
 1452|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1452:18): [True: 0, False: 0]
  |  Branch (1452:34): [True: 0, False: 0]
  |  Branch (1452:57): [True: 0, False: 0]
  ------------------
 1453|      0|                p->error_indicator = 1;
 1454|      0|                p->level--;
 1455|      0|                return NULL;
 1456|      0|            }
 1457|      0|            goto done;
 1458|      0|        }
 1459|  3.29k|        p->mark = _mark;
 1460|  3.29k|        D(fprintf(stderr, "%*c%s statement_newline[%d-%d]: %s failed!\n", p->level, ' ',
 1461|  3.29k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE"));
 1462|  3.29k|    }
 1463|      0|    { // $
 1464|  3.29k|        if (p->error_indicator) {
  ------------------
  |  Branch (1464:13): [True: 0, False: 3.29k]
  ------------------
 1465|      0|            p->level--;
 1466|      0|            return NULL;
 1467|      0|        }
 1468|  3.29k|        D(fprintf(stderr, "%*c> statement_newline[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "$"));
 1469|  3.29k|        Token * endmarker_var;
 1470|  3.29k|        if (
 1471|  3.29k|            (endmarker_var = _PyPegen_expect_token(p, ENDMARKER))  // token='ENDMARKER'
  ------------------
  |  |   16|  3.29k|#define ENDMARKER       0
  ------------------
  |  Branch (1471:13): [True: 25, False: 3.27k]
  ------------------
 1472|  3.29k|        )
 1473|     25|        {
 1474|     25|            D(fprintf(stderr, "%*c+ statement_newline[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "$"));
 1475|     25|            _res = _PyPegen_interactive_exit ( p );
 1476|     25|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1476:18): [True: 25, False: 0]
  |  Branch (1476:34): [True: 0, False: 0]
  |  Branch (1476:57): [True: 0, False: 25]
  ------------------
 1477|      0|                p->error_indicator = 1;
 1478|      0|                p->level--;
 1479|      0|                return NULL;
 1480|      0|            }
 1481|     25|            goto done;
 1482|     25|        }
 1483|  3.27k|        p->mark = _mark;
 1484|  3.27k|        D(fprintf(stderr, "%*c%s statement_newline[%d-%d]: %s failed!\n", p->level, ' ',
 1485|  3.27k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "$"));
 1486|  3.27k|    }
 1487|  3.27k|    _res = NULL;
 1488|  5.55k|  done:
 1489|  5.55k|    p->level--;
 1490|  5.55k|    return _res;
 1491|  3.27k|}
parser.c:single_compound_stmt_rule:
 1322|  7.18k|{
 1323|  7.18k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  14.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1323:9): [True: 0, False: 7.18k]
  |  Branch (1323:35): [True: 0, False: 7.18k]
  ------------------
 1324|      0|        _Pypegen_stack_overflow(p);
 1325|      0|    }
 1326|  7.18k|    if (p->error_indicator) {
  ------------------
  |  Branch (1326:9): [True: 0, False: 7.18k]
  ------------------
 1327|      0|        p->level--;
 1328|      0|        return NULL;
 1329|      0|    }
 1330|  7.18k|    asdl_stmt_seq* _res = NULL;
 1331|  7.18k|    int _mark = p->mark;
 1332|  7.18k|    { // compound_stmt
 1333|  7.18k|        if (p->error_indicator) {
  ------------------
  |  Branch (1333:13): [True: 0, False: 7.18k]
  ------------------
 1334|      0|            p->level--;
 1335|      0|            return NULL;
 1336|      0|        }
 1337|  7.18k|        D(fprintf(stderr, "%*c> single_compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "compound_stmt"));
 1338|  7.18k|        stmt_ty a;
 1339|  7.18k|        if (
 1340|  7.18k|            (a = compound_stmt_rule(p))  // compound_stmt
  ------------------
  |  Branch (1340:13): [True: 112, False: 7.07k]
  ------------------
 1341|  7.18k|        )
 1342|    112|        {
 1343|    112|            D(fprintf(stderr, "%*c+ single_compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "compound_stmt"));
 1344|    112|            _res = _PyPegen_register_stmts ( p , ( asdl_stmt_seq* ) _PyPegen_singleton_seq ( p , a ) );
 1345|    112|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1345:18): [True: 0, False: 112]
  |  Branch (1345:34): [True: 0, False: 112]
  |  Branch (1345:57): [True: 0, False: 0]
  ------------------
 1346|      0|                p->error_indicator = 1;
 1347|      0|                p->level--;
 1348|      0|                return NULL;
 1349|      0|            }
 1350|    112|            goto done;
 1351|    112|        }
 1352|  7.07k|        p->mark = _mark;
 1353|  7.07k|        D(fprintf(stderr, "%*c%s single_compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1354|  7.07k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "compound_stmt"));
 1355|  7.07k|    }
 1356|  7.07k|    _res = NULL;
 1357|  7.18k|  done:
 1358|  7.18k|    p->level--;
 1359|  7.18k|    return _res;
 1360|  7.07k|}
parser.c:eval_rule:
 1102|  4.58k|{
 1103|  4.58k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  9.17k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1103:9): [True: 0, False: 4.58k]
  |  Branch (1103:35): [True: 0, False: 4.58k]
  ------------------
 1104|      0|        _Pypegen_stack_overflow(p);
 1105|      0|    }
 1106|  4.58k|    if (p->error_indicator) {
  ------------------
  |  Branch (1106:9): [True: 360, False: 4.22k]
  ------------------
 1107|    360|        p->level--;
 1108|    360|        return NULL;
 1109|    360|    }
 1110|  4.22k|    mod_ty _res = NULL;
 1111|  4.22k|    int _mark = p->mark;
 1112|  4.22k|    { // expressions NEWLINE* $
 1113|  4.22k|        if (p->error_indicator) {
  ------------------
  |  Branch (1113:13): [True: 0, False: 4.22k]
  ------------------
 1114|      0|            p->level--;
 1115|      0|            return NULL;
 1116|      0|        }
 1117|  4.22k|        D(fprintf(stderr, "%*c> eval[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expressions NEWLINE* $"));
 1118|  4.22k|        asdl_seq * _loop0_1_var;
 1119|  4.22k|        expr_ty a;
 1120|  4.22k|        Token * endmarker_var;
 1121|  4.22k|        if (
 1122|  4.22k|            (a = expressions_rule(p))  // expressions
  ------------------
  |  Branch (1122:13): [True: 2.76k, False: 1.46k]
  ------------------
 1123|  2.76k|            &&
 1124|  2.76k|            (_loop0_1_var = _loop0_1_rule(p))  // NEWLINE*
  ------------------
  |  Branch (1124:13): [True: 2.76k, False: 0]
  ------------------
 1125|  2.76k|            &&
 1126|  2.76k|            (endmarker_var = _PyPegen_expect_token(p, ENDMARKER))  // token='ENDMARKER'
  ------------------
  |  |   16|  2.76k|#define ENDMARKER       0
  ------------------
  |  Branch (1126:13): [True: 1.72k, False: 1.04k]
  ------------------
 1127|  4.22k|        )
 1128|  1.72k|        {
 1129|  1.72k|            D(fprintf(stderr, "%*c+ eval[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expressions NEWLINE* $"));
 1130|  1.72k|            _res = _PyAST_Expression ( a , p -> arena );
 1131|  1.72k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1131:18): [True: 0, False: 1.72k]
  |  Branch (1131:34): [True: 0, False: 1.72k]
  |  Branch (1131:57): [True: 0, False: 0]
  ------------------
 1132|      0|                p->error_indicator = 1;
 1133|      0|                p->level--;
 1134|      0|                return NULL;
 1135|      0|            }
 1136|  1.72k|            goto done;
 1137|  1.72k|        }
 1138|  2.50k|        p->mark = _mark;
 1139|  2.50k|        D(fprintf(stderr, "%*c%s eval[%d-%d]: %s failed!\n", p->level, ' ',
 1140|  2.50k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expressions NEWLINE* $"));
 1141|  2.50k|    }
 1142|  2.50k|    _res = NULL;
 1143|  4.22k|  done:
 1144|  4.22k|    p->level--;
 1145|  4.22k|    return _res;
 1146|  2.50k|}
parser.c:_loop0_1_rule:
28636|  2.76k|{
28637|  2.76k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  5.52k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28637:9): [True: 0, False: 2.76k]
  |  Branch (28637:35): [True: 0, False: 2.76k]
  ------------------
28638|      0|        _Pypegen_stack_overflow(p);
28639|      0|    }
28640|  2.76k|    if (p->error_indicator) {
  ------------------
  |  Branch (28640:9): [True: 0, False: 2.76k]
  ------------------
28641|      0|        p->level--;
28642|      0|        return NULL;
28643|      0|    }
28644|  2.76k|    void *_res = NULL;
28645|  2.76k|    int _mark = p->mark;
28646|  2.76k|    void **_children = PyMem_Malloc(sizeof(void *));
28647|  2.76k|    if (!_children) {
  ------------------
  |  Branch (28647:9): [True: 0, False: 2.76k]
  ------------------
28648|      0|        p->error_indicator = 1;
28649|      0|        PyErr_NoMemory();
28650|      0|        p->level--;
28651|      0|        return NULL;
28652|      0|    }
28653|  2.76k|    Py_ssize_t _children_capacity = 1;
28654|  2.76k|    Py_ssize_t _n = 0;
28655|  2.76k|    { // NEWLINE
28656|  2.76k|        if (p->error_indicator) {
  ------------------
  |  Branch (28656:13): [True: 0, False: 2.76k]
  ------------------
28657|      0|            p->level--;
28658|      0|            return NULL;
28659|      0|        }
28660|  2.76k|        D(fprintf(stderr, "%*c> _loop0_1[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
28661|  2.76k|        Token * newline_var;
28662|  2.76k|        while (
28663|  2.79k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  2.79k|#define NEWLINE         4
  ------------------
  |  Branch (28663:13): [True: 30, False: 2.76k]
  ------------------
28664|  2.76k|        )
28665|     30|        {
28666|     30|            _res = newline_var;
28667|     30|            if (_n == _children_capacity) {
  ------------------
  |  Branch (28667:17): [True: 0, False: 30]
  ------------------
28668|      0|                _children_capacity *= 2;
28669|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
28670|      0|                if (!_new_children) {
  ------------------
  |  Branch (28670:21): [True: 0, False: 0]
  ------------------
28671|      0|                    PyMem_Free(_children);
28672|      0|                    p->error_indicator = 1;
28673|      0|                    PyErr_NoMemory();
28674|      0|                    p->level--;
28675|      0|                    return NULL;
28676|      0|                }
28677|      0|                _children = _new_children;
28678|      0|            }
28679|     30|            _children[_n++] = _res;
28680|     30|            _mark = p->mark;
28681|     30|        }
28682|  2.76k|        p->mark = _mark;
28683|  2.76k|        D(fprintf(stderr, "%*c%s _loop0_1[%d-%d]: %s failed!\n", p->level, ' ',
28684|  2.76k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE"));
28685|  2.76k|    }
28686|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
28687|  2.76k|    if (!_seq) {
  ------------------
  |  Branch (28687:9): [True: 0, False: 2.76k]
  ------------------
28688|      0|        PyMem_Free(_children);
28689|      0|        p->error_indicator = 1;
28690|      0|        PyErr_NoMemory();
28691|      0|        p->level--;
28692|      0|        return NULL;
28693|      0|    }
28694|  2.79k|    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|  2.79k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (28694:28): [True: 30, False: 2.76k]
  ------------------
28695|  2.76k|    PyMem_Free(_children);
28696|  2.76k|    p->level--;
28697|  2.76k|    return _seq;
28698|  2.76k|}

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

_PyPegen_interactive_exit:
   29|     25|{
   30|     25|    if (p->errcode) {
  ------------------
  |  Branch (30:9): [True: 0, False: 25]
  ------------------
   31|      0|        *(p->errcode) = E_EOF;
  ------------------
  |  |   23|      0|#define E_EOF            11      /* End Of File */
  ------------------
   32|      0|    }
   33|       |    return NULL;
   34|     25|}
_PyPegen_byte_offset_to_character_offset_raw:
   63|  14.6k|{
   64|  14.6k|    Py_ssize_t len = (Py_ssize_t)strlen(str);
   65|  14.6k|    if (col_offset > len + 1) {
  ------------------
  |  Branch (65:9): [True: 21, False: 14.6k]
  ------------------
   66|     21|        col_offset = len + 1;
   67|     21|    }
   68|  14.6k|    assert(col_offset >= 0);
  ------------------
  |  Branch (68:5): [True: 14.6k, False: 0]
  ------------------
   69|  14.6k|    PyObject *text = PyUnicode_DecodeUTF8(str, col_offset, "replace");
   70|  14.6k|    if (!text) {
  ------------------
  |  Branch (70:9): [True: 0, False: 14.6k]
  ------------------
   71|      0|        return -1;
   72|      0|    }
   73|  14.6k|    Py_ssize_t size = PyUnicode_GET_LENGTH(text);
  ------------------
  |  |  299|  14.6k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   74|  14.6k|    Py_DECREF(text);
  ------------------
  |  |  430|  14.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   75|  14.6k|    return size;
   76|  14.6k|}
_PyPegen_byte_offset_to_character_offset:
   80|  14.6k|{
   81|  14.6k|    const char *str = PyUnicode_AsUTF8(line);
   82|  14.6k|    if (!str) {
  ------------------
  |  Branch (82:9): [True: 0, False: 14.6k]
  ------------------
   83|      0|        return -1;
   84|      0|    }
   85|  14.6k|    return _PyPegen_byte_offset_to_character_offset_raw(str, col_offset);
   86|  14.6k|}
_PyPegen_insert_memo:
   92|  23.1M|{
   93|       |    // Insert in front
   94|  23.1M|    Memo *m = _PyArena_Malloc(p->arena, sizeof(Memo));
   95|  23.1M|    if (m == NULL) {
  ------------------
  |  Branch (95:9): [True: 0, False: 23.1M]
  ------------------
   96|      0|        return -1;
   97|      0|    }
   98|  23.1M|    m->type = type;
   99|  23.1M|    m->node = node;
  100|  23.1M|    m->mark = p->mark;
  101|  23.1M|    m->next = p->tokens[mark]->memo;
  102|  23.1M|    p->tokens[mark]->memo = m;
  103|  23.1M|    p->tokens[mark]->memo_mask |= 1ULL << (type & 63);
  104|  23.1M|    return 0;
  105|  23.1M|}
_PyPegen_update_memo:
  110|  20.4M|{
  111|  90.5M|    for (Memo *m = p->tokens[mark]->memo; m != NULL; m = m->next) {
  ------------------
  |  Branch (111:43): [True: 79.1M, False: 11.4M]
  ------------------
  112|  79.1M|        if (m->type == type) {
  ------------------
  |  Branch (112:13): [True: 9.04M, False: 70.0M]
  ------------------
  113|       |            // Update existing node.
  114|  9.04M|            m->node = node;
  115|  9.04M|            m->mark = p->mark;
  116|  9.04M|            return 0;
  117|  9.04M|        }
  118|  79.1M|    }
  119|       |    // Insert new node.
  120|  11.4M|    return _PyPegen_insert_memo(p, mark, type, node);
  121|  20.4M|}
_PyPegen_fill_token:
  257|  5.04M|{
  258|  5.04M|    struct token new_token;
  259|  5.04M|    _PyToken_Init(&new_token);
  260|  5.04M|    int type = _PyTokenizer_Get(p->tok, &new_token);
  261|       |
  262|       |    // Record and skip '# type: ignore' comments
  263|  5.04M|    while (type == TYPE_IGNORE) {
  ------------------
  |  |   72|  5.04M|#define TYPE_IGNORE     56
  ------------------
  |  Branch (263:12): [True: 1.06k, False: 5.04M]
  ------------------
  264|  1.06k|        Py_ssize_t len = new_token.end_col_offset - new_token.col_offset;
  265|  1.06k|        char *tag = PyMem_Malloc((size_t)len + 1);
  266|  1.06k|        if (tag == NULL) {
  ------------------
  |  Branch (266:13): [True: 0, False: 1.06k]
  ------------------
  267|      0|            PyErr_NoMemory();
  268|      0|            goto error;
  269|      0|        }
  270|  1.06k|        strncpy(tag, new_token.start, (size_t)len);
  271|  1.06k|        tag[len] = '\0';
  272|       |        // Ownership of tag passes to the growable array
  273|  1.06k|        if (!growable_comment_array_add(&p->type_ignore_comments, p->tok->lineno, tag)) {
  ------------------
  |  Branch (273:13): [True: 0, False: 1.06k]
  ------------------
  274|      0|            PyErr_NoMemory();
  275|      0|            goto error;
  276|      0|        }
  277|  1.06k|        type = _PyTokenizer_Get(p->tok, &new_token);
  278|  1.06k|    }
  279|       |
  280|       |    // If we have reached the end and we are in single input mode we need to insert a newline and reset the parsing
  281|  5.04M|    if (p->start_rule == Py_single_input && type == ENDMARKER && p->parsing_started) {
  ------------------
  |  |    8|  10.0M|#define Py_single_input 256
  ------------------
                  if (p->start_rule == Py_single_input && type == ENDMARKER && p->parsing_started) {
  ------------------
  |  |   16|  5.84M|#define ENDMARKER       0
  ------------------
  |  Branch (281:9): [True: 799k, False: 4.24M]
  |  Branch (281:45): [True: 2.61k, False: 797k]
  |  Branch (281:66): [True: 2.58k, False: 39]
  ------------------
  282|  2.58k|        type = NEWLINE; /* Add an extra newline */
  ------------------
  |  |   20|  2.58k|#define NEWLINE         4
  ------------------
  283|  2.58k|        p->parsing_started = 0;
  284|       |
  285|  2.58k|        if (p->tok->indent && !(p->flags & PyPARSE_DONT_IMPLY_DEDENT)) {
  ------------------
  |  |   14|    100|#define PyPARSE_DONT_IMPLY_DEDENT       0x0002
  ------------------
  |  Branch (285:13): [True: 100, False: 2.48k]
  |  Branch (285:31): [True: 95, False: 5]
  ------------------
  286|     95|            p->tok->pendin = -p->tok->indent;
  287|     95|            p->tok->indent = 0;
  288|     95|        }
  289|  2.58k|    }
  290|  5.03M|    else {
  291|  5.03M|        p->parsing_started = 1;
  292|  5.03M|    }
  293|       |
  294|       |    // Check if we are at the limit of the token array capacity and resize if needed
  295|  5.04M|    if ((p->fill == p->size) && (_resize_tokens_array(p) != 0)) {
  ------------------
  |  Branch (295:9): [True: 119k, False: 4.92M]
  |  Branch (295:33): [True: 0, False: 119k]
  ------------------
  296|      0|        goto error;
  297|      0|    }
  298|       |
  299|  5.04M|    Token *t = p->tokens[p->fill];
  300|  5.04M|    return initialize_token(p, t, &new_token, type);
  301|      0|error:
  302|      0|    _PyToken_Free(&new_token);
  303|      0|    return -1;
  304|  5.04M|}
_PyPegen_is_memoized:
  354|  97.2M|{
  355|  97.2M|    if (p->mark == p->fill) {
  ------------------
  |  Branch (355:9): [True: 1.89M, False: 95.3M]
  ------------------
  356|  1.89M|        if (_PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (356:13): [True: 687, False: 1.89M]
  ------------------
  357|    687|            p->error_indicator = 1;
  358|    687|            return -1;
  359|    687|        }
  360|  1.89M|    }
  361|       |
  362|  97.2M|    Token *t = p->tokens[p->mark];
  363|       |
  364|  97.2M|    if (!(t->memo_mask & (1ULL << (type & 63)))) {
  ------------------
  |  Branch (364:9): [True: 20.2M, False: 76.9M]
  ------------------
  365|  20.2M|        return 0;
  366|  20.2M|    }
  367|       |
  368|   188M|    for (Memo *m = t->memo; m != NULL; m = m->next) {
  ------------------
  |  Branch (368:29): [True: 185M, False: 3.08M]
  ------------------
  369|   185M|        if (m->type == type) {
  ------------------
  |  Branch (369:13): [True: 73.8M, False: 111M]
  ------------------
  370|       |#if defined(Py_DEBUG)
  371|       |            if (0 <= type && type < NSTATISTICS) {
  372|       |                long count = m->mark - p->mark;
  373|       |                // A memoized negative result counts for one.
  374|       |                if (count <= 0) {
  375|       |                    count = 1;
  376|       |                }
  377|       |                PyMutex_Lock(&_PyRuntime.parser.mutex);
  378|       |                memo_statistics[type] += count;
  379|       |                PyMutex_Unlock(&_PyRuntime.parser.mutex);
  380|       |            }
  381|       |#endif
  382|  73.8M|            p->mark = m->mark;
  383|  73.8M|            *(void **)(pres) = m->node;
  384|  73.8M|            return 1;
  385|  73.8M|        }
  386|   185M|    }
  387|  3.08M|    return 0;
  388|  76.9M|}
_PyPegen_expect_token:
  421|   112M|{
  422|   112M|    if (p->mark == p->fill) {
  ------------------
  |  Branch (422:9): [True: 2.53M, False: 109M]
  ------------------
  423|  2.53M|        if (_PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (423:13): [True: 1.95k, False: 2.53M]
  ------------------
  424|  1.95k|            p->error_indicator = 1;
  425|  1.95k|            return NULL;
  426|  1.95k|        }
  427|  2.53M|    }
  428|   112M|    Token *t = p->tokens[p->mark];
  429|   112M|    if (t->type != type) {
  ------------------
  |  Branch (429:9): [True: 99.3M, False: 12.7M]
  ------------------
  430|  99.3M|       return NULL;
  431|  99.3M|    }
  432|  12.7M|    p->mark += 1;
  433|  12.7M|    return t;
  434|   112M|}
_PyPegen_expect_forced_token:
  450|  30.1k|_PyPegen_expect_forced_token(Parser *p, int type, const char* expected) {
  451|       |
  452|  30.1k|    if (p->error_indicator == 1) {
  ------------------
  |  Branch (452:9): [True: 0, False: 30.1k]
  ------------------
  453|      0|        return NULL;
  454|      0|    }
  455|       |
  456|  30.1k|    if (p->mark == p->fill) {
  ------------------
  |  Branch (456:9): [True: 11.0k, False: 19.1k]
  ------------------
  457|  11.0k|        if (_PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (457:13): [True: 5, False: 11.0k]
  ------------------
  458|      5|            p->error_indicator = 1;
  459|      5|            return NULL;
  460|      5|        }
  461|  11.0k|    }
  462|  30.1k|    Token *t = p->tokens[p->mark];
  463|  30.1k|    if (t->type != type) {
  ------------------
  |  Branch (463:9): [True: 77, False: 30.1k]
  ------------------
  464|     77|        RAISE_SYNTAX_ERROR_KNOWN_LOCATION(t, "expected '%s'", expected);
  ------------------
  |  |  213|     77|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  465|     77|        return NULL;
  466|     77|    }
  467|  30.1k|    p->mark += 1;
  468|  30.1k|    return t;
  469|  30.1k|}
_PyPegen_expect_soft_keyword:
  473|   833k|{
  474|   833k|    if (p->mark == p->fill) {
  ------------------
  |  Branch (474:9): [True: 4.96k, False: 828k]
  ------------------
  475|  4.96k|        if (_PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (475:13): [True: 2, False: 4.96k]
  ------------------
  476|      2|            p->error_indicator = 1;
  477|      2|            return NULL;
  478|      2|        }
  479|  4.96k|    }
  480|   833k|    Token *t = p->tokens[p->mark];
  481|   833k|    if (t->type != NAME) {
  ------------------
  |  |   17|   833k|#define NAME            1
  ------------------
  |  Branch (481:9): [True: 345k, False: 487k]
  ------------------
  482|   345k|        return NULL;
  483|   345k|    }
  484|   487k|    const char *s = PyBytes_AsString(t->bytes);
  485|   487k|    if (!s) {
  ------------------
  |  Branch (485:9): [True: 0, False: 487k]
  ------------------
  486|      0|        p->error_indicator = 1;
  487|      0|        return NULL;
  488|      0|    }
  489|   487k|    if (strcmp(s, keyword) != 0) {
  ------------------
  |  Branch (489:9): [True: 471k, False: 15.9k]
  ------------------
  490|   471k|        return NULL;
  491|   471k|    }
  492|  15.9k|    return _PyPegen_name_token(p);
  493|   487k|}
_PyPegen_get_last_nonnwhitespace_token:
  497|  3.12M|{
  498|  3.12M|    assert(p->mark >= 0);
  ------------------
  |  Branch (498:5): [True: 3.12M, False: 0]
  ------------------
  499|  3.12M|    Token *token = NULL;
  500|  3.21M|    for (int m = p->mark - 1; m >= 0; m--) {
  ------------------
  |  Branch (500:31): [True: 3.21M, False: 0]
  ------------------
  501|  3.21M|        token = p->tokens[m];
  502|  3.21M|        if (token->type != ENDMARKER && (token->type < NEWLINE || token->type > DEDENT)) {
  ------------------
  |  |   16|  6.42M|#define ENDMARKER       0
  ------------------
                      if (token->type != ENDMARKER && (token->type < NEWLINE || token->type > DEDENT)) {
  ------------------
  |  |   20|  6.42M|#define NEWLINE         4
  ------------------
                      if (token->type != ENDMARKER && (token->type < NEWLINE || token->type > DEDENT)) {
  ------------------
  |  |   22|   591k|#define DEDENT          6
  ------------------
  |  Branch (502:13): [True: 3.21M, False: 0]
  |  Branch (502:42): [True: 2.61M, False: 591k]
  |  Branch (502:67): [True: 509k, False: 82.3k]
  ------------------
  503|  3.12M|            break;
  504|  3.12M|        }
  505|  3.21M|    }
  506|  3.12M|    return token;
  507|  3.12M|}
_PyPegen_new_identifier:
  511|   123k|{
  512|   123k|    PyObject *id = PyUnicode_DecodeUTF8(n, (Py_ssize_t)strlen(n), NULL);
  513|   123k|    if (!id) {
  ------------------
  |  Branch (513:9): [True: 0, False: 123k]
  ------------------
  514|      0|        goto error;
  515|      0|    }
  516|       |    /* Check whether there are non-ASCII characters in the
  517|       |       identifier; if so, normalize to NFKC. */
  518|   123k|    if (!PyUnicode_IS_ASCII(id))
  ------------------
  |  |  227|   123k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   123k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   123k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (518:9): [True: 14.4k, False: 109k]
  ------------------
  519|  14.4k|    {
  520|  14.4k|        if (!init_normalization(p))
  ------------------
  |  Branch (520:13): [True: 0, False: 14.4k]
  ------------------
  521|      0|        {
  522|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  523|      0|            goto error;
  524|      0|        }
  525|  14.4k|        PyObject *form = PyUnicode_InternFromString("NFKC");
  526|  14.4k|        if (form == NULL)
  ------------------
  |  Branch (526:13): [True: 0, False: 14.4k]
  ------------------
  527|      0|        {
  528|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  529|      0|            goto error;
  530|      0|        }
  531|  14.4k|        PyObject *args[2] = {form, id};
  532|  14.4k|        PyObject *id2 = PyObject_Vectorcall(p->normalize, args, 2, NULL);
  533|  14.4k|        Py_DECREF(id);
  ------------------
  |  |  430|  14.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  534|  14.4k|        Py_DECREF(form);
  ------------------
  |  |  430|  14.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  535|  14.4k|        if (!id2) {
  ------------------
  |  Branch (535:13): [True: 0, False: 14.4k]
  ------------------
  536|      0|            goto error;
  537|      0|        }
  538|       |
  539|  14.4k|        if (!PyUnicode_Check(id2))
  ------------------
  |  |  103|  14.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  14.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (539:13): [True: 0, False: 14.4k]
  ------------------
  540|      0|        {
  541|      0|            PyErr_Format(PyExc_TypeError,
  542|      0|                         "unicodedata.normalize() must return a string, not "
  543|      0|                         "%.200s",
  544|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  545|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  546|      0|            goto error;
  547|      0|        }
  548|  14.4k|        id = id2;
  549|  14.4k|    }
  550|   123k|    static const char * const forbidden[] = {
  551|   123k|        "None",
  552|   123k|        "True",
  553|   123k|        "False",
  554|   123k|        NULL
  555|   123k|    };
  556|   494k|    for (int i = 0; forbidden[i] != NULL; i++) {
  ------------------
  |  Branch (556:21): [True: 371k, False: 123k]
  ------------------
  557|   371k|        if (_PyUnicode_EqualToASCIIString(id, forbidden[i])) {
  ------------------
  |  Branch (557:13): [True: 0, False: 371k]
  ------------------
  558|      0|            PyErr_Format(PyExc_ValueError,
  559|      0|                         "identifier field can't represent '%s' constant",
  560|      0|                         forbidden[i]);
  561|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|      0|            goto error;
  563|      0|        }
  564|   371k|    }
  565|   123k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  566|   123k|    _PyUnicode_InternImmortal(interp, &id);
  567|   123k|    if (_PyArena_AddPyObject(p->arena, id) < 0)
  ------------------
  |  Branch (567:9): [True: 0, False: 123k]
  ------------------
  568|      0|    {
  569|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  570|      0|        goto error;
  571|      0|    }
  572|   123k|    return id;
  573|       |
  574|      0|error:
  575|      0|    p->error_indicator = 1;
  576|       |    return NULL;
  577|   123k|}
_PyPegen_name_token:
  634|  9.95M|{
  635|  9.95M|    Token *t = _PyPegen_expect_token(p, NAME);
  ------------------
  |  |   17|  9.95M|#define NAME            1
  ------------------
  636|  9.95M|    return _PyPegen_name_from_token(p, t);
  637|  9.95M|}
_PyPegen_string_token:
  641|  3.71M|{
  642|  3.71M|    return _PyPegen_expect_token(p, STRING);
  ------------------
  |  |   19|  3.71M|#define STRING          3
  ------------------
  643|  3.71M|}
_PyPegen_soft_keyword_token:
  645|   290k|expr_ty _PyPegen_soft_keyword_token(Parser *p) {
  646|   290k|    Token *t = _PyPegen_expect_token(p, NAME);
  ------------------
  |  |   17|   290k|#define NAME            1
  ------------------
  647|   290k|    if (t == NULL) {
  ------------------
  |  Branch (647:9): [True: 182k, False: 108k]
  ------------------
  648|   182k|        return NULL;
  649|   182k|    }
  650|   108k|    char *the_token;
  651|   108k|    Py_ssize_t size;
  652|   108k|    PyBytes_AsStringAndSize(t->bytes, &the_token, &size);
  653|   635k|    for (char **keyword = p->soft_keywords; *keyword != NULL; keyword++) {
  ------------------
  |  Branch (653:45): [True: 530k, False: 104k]
  ------------------
  654|   530k|        if (strlen(*keyword) == (size_t)size &&
  ------------------
  |  Branch (654:13): [True: 91.1k, False: 439k]
  ------------------
  655|  91.1k|            strncmp(*keyword, the_token, (size_t)size) == 0) {
  ------------------
  |  Branch (655:13): [True: 3.37k, False: 87.8k]
  ------------------
  656|  3.37k|            return _PyPegen_name_from_token(p, t);
  657|  3.37k|        }
  658|   530k|    }
  659|   104k|    return NULL;
  660|   108k|}
_PyPegen_number_token:
  737|  3.07M|{
  738|  3.07M|    Token *t = _PyPegen_expect_token(p, NUMBER);
  ------------------
  |  |   18|  3.07M|#define NUMBER          2
  ------------------
  739|  3.07M|    if (t == NULL) {
  ------------------
  |  Branch (739:9): [True: 820k, False: 2.25M]
  ------------------
  740|   820k|        return NULL;
  741|   820k|    }
  742|       |
  743|  2.25M|    const char *num_raw = PyBytes_AsString(t->bytes);
  744|  2.25M|    if (num_raw == NULL) {
  ------------------
  |  Branch (744:9): [True: 0, False: 2.25M]
  ------------------
  745|      0|        p->error_indicator = 1;
  746|      0|        return NULL;
  747|      0|    }
  748|       |
  749|  2.25M|    if (p->feature_version < 6 && strchr(num_raw, '_') != NULL) {
  ------------------
  |  Branch (749:9): [True: 0, False: 2.25M]
  |  Branch (749:35): [True: 0, False: 0]
  ------------------
  750|      0|        p->error_indicator = 1;
  751|      0|        return RAISE_SYNTAX_ERROR("Underscores in numeric literals are only supported "
  ------------------
  |  |  207|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  752|      0|                                  "in Python 3.6 and greater");
  753|      0|    }
  754|       |
  755|  2.25M|    PyObject *c = parsenumber(num_raw);
  756|       |
  757|  2.25M|    if (c == NULL) {
  ------------------
  |  Branch (757:9): [True: 2, False: 2.25M]
  ------------------
  758|      2|        p->error_indicator = 1;
  759|      2|        PyThreadState *tstate = _PyThreadState_GET();
  760|       |        // The only way a ValueError should happen in _this_ code is via
  761|       |        // PyLong_FromString hitting a length limit.
  762|      2|        if (tstate->current_exception != NULL &&
  ------------------
  |  Branch (762:13): [True: 2, False: 0]
  ------------------
  763|      2|            Py_TYPE(tstate->current_exception) == (PyTypeObject *)PyExc_ValueError
  ------------------
  |  |  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 (763:13): [True: 2, False: 0]
  ------------------
  764|      2|        ) {
  765|      2|            PyObject *exc = PyErr_GetRaisedException();
  766|       |            /* Intentionally omitting columns to avoid a wall of 1000s of '^'s
  767|       |             * on the error message. Nobody is going to overlook their huge
  768|       |             * numeric literal once given the line. */
  769|      2|            RAISE_ERROR_KNOWN_LOCATION(
  770|      2|                p, PyExc_SyntaxError,
  771|      2|                t->lineno, -1 /* col_offset */,
  772|      2|                t->end_lineno, -1 /* end_col_offset */,
  773|      2|                "%S - Consider hexadecimal for huge integer literals "
  774|      2|                "to avoid decimal conversion limits.",
  775|      2|                exc);
  776|      2|            Py_DECREF(exc);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  777|      2|        }
  778|      2|        return NULL;
  779|      2|    }
  780|       |
  781|  2.25M|    if (_PyArena_AddPyObject(p->arena, c) < 0) {
  ------------------
  |  Branch (781:9): [True: 0, False: 2.25M]
  ------------------
  782|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  783|      0|        p->error_indicator = 1;
  784|      0|        return NULL;
  785|      0|    }
  786|       |
  787|  2.25M|    return _PyAST_Constant(c, NULL, t->lineno, t->col_offset, t->end_lineno,
  788|  2.25M|                           t->end_col_offset, p->arena);
  789|  2.25M|}
_PyPegen_Parser_New:
  850|  22.6k|{
  851|  22.6k|    Parser *p = PyMem_Malloc(sizeof(Parser));
  852|  22.6k|    if (p == NULL) {
  ------------------
  |  Branch (852:9): [True: 0, False: 22.6k]
  ------------------
  853|      0|        return (Parser *) PyErr_NoMemory();
  854|      0|    }
  855|  22.6k|    assert(tok != NULL);
  ------------------
  |  Branch (855:5): [True: 22.6k, False: 0]
  ------------------
  856|  22.6k|    tok->type_comments = (flags & PyPARSE_TYPE_COMMENTS) > 0;
  ------------------
  |  |   24|  22.6k|#define PyPARSE_TYPE_COMMENTS 0x0040
  ------------------
  857|  22.6k|    p->tok = tok;
  858|  22.6k|    p->keywords = NULL;
  859|  22.6k|    p->n_keyword_lists = -1;
  860|  22.6k|    p->soft_keywords = NULL;
  861|  22.6k|    p->tokens = PyMem_Malloc(sizeof(Token *));
  862|  22.6k|    if (!p->tokens) {
  ------------------
  |  Branch (862:9): [True: 0, False: 22.6k]
  ------------------
  863|      0|        PyMem_Free(p);
  864|      0|        return (Parser *) PyErr_NoMemory();
  865|      0|    }
  866|  22.6k|    p->tokens[0] = PyMem_Calloc(1, sizeof(Token));
  867|  22.6k|    if (!p->tokens[0]) {
  ------------------
  |  Branch (867:9): [True: 0, False: 22.6k]
  ------------------
  868|      0|        PyMem_Free(p->tokens);
  869|      0|        PyMem_Free(p);
  870|      0|        return (Parser *) PyErr_NoMemory();
  871|      0|    }
  872|  22.6k|    if (!growable_comment_array_init(&p->type_ignore_comments, 10)) {
  ------------------
  |  Branch (872:9): [True: 0, False: 22.6k]
  ------------------
  873|      0|        PyMem_Free(p->tokens[0]);
  874|      0|        PyMem_Free(p->tokens);
  875|      0|        PyMem_Free(p);
  876|      0|        return (Parser *) PyErr_NoMemory();
  877|      0|    }
  878|       |
  879|  22.6k|    p->mark = 0;
  880|  22.6k|    p->fill = 0;
  881|  22.6k|    p->size = 1;
  882|       |
  883|  22.6k|    p->errcode = errcode;
  884|  22.6k|    p->arena = arena;
  885|  22.6k|    p->start_rule = start_rule;
  886|  22.6k|    p->parsing_started = 0;
  887|  22.6k|    p->normalize = NULL;
  888|  22.6k|    p->error_indicator = 0;
  889|       |
  890|  22.6k|    p->starting_lineno = 0;
  891|  22.6k|    p->starting_col_offset = 0;
  892|  22.6k|    p->flags = flags;
  893|  22.6k|    p->feature_version = feature_version;
  894|  22.6k|    p->known_err_token = NULL;
  895|  22.6k|    p->identifier_cache = PyMem_Calloc(
  896|  22.6k|        IDENTIFIER_CACHE_SIZE, sizeof(*p->identifier_cache));
  ------------------
  |  |   15|  22.6k|#define IDENTIFIER_CACHE_SIZE 2048  // Must be a power of two.
  ------------------
  897|  22.6k|    if (p->identifier_cache == NULL) {
  ------------------
  |  Branch (897:9): [True: 0, False: 22.6k]
  ------------------
  898|      0|        growable_comment_array_deallocate(&p->type_ignore_comments);
  899|      0|        PyMem_Free(p->tokens[0]);
  900|      0|        PyMem_Free(p->tokens);
  901|      0|        PyMem_Free(p);
  902|      0|        return (Parser *) PyErr_NoMemory();
  903|      0|    }
  904|  22.6k|    p->level = 0;
  905|  22.6k|    p->call_invalid_rules = 0;
  906|  22.6k|    p->last_stmt_location.lineno = 0;
  907|  22.6k|    p->last_stmt_location.col_offset = 0;
  908|  22.6k|    p->last_stmt_location.end_lineno = 0;
  909|  22.6k|    p->last_stmt_location.end_col_offset = 0;
  910|       |#ifdef Py_DEBUG
  911|       |    p->debug = _Py_GetConfig()->parser_debug;
  912|       |#endif
  913|  22.6k|    return p;
  914|  22.6k|}
_PyPegen_Parser_Free:
  918|  22.6k|{
  919|  22.6k|    PyMem_Free(p->identifier_cache);
  920|  22.6k|    Py_XDECREF(p->normalize);
  ------------------
  |  |  524|  22.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  921|  7.27M|    for (int i = 0; i < p->size; i++) {
  ------------------
  |  Branch (921:21): [True: 7.25M, False: 22.6k]
  ------------------
  922|  7.25M|        PyMem_Free(p->tokens[i]);
  923|  7.25M|    }
  924|  22.6k|    PyMem_Free(p->tokens);
  925|  22.6k|    growable_comment_array_deallocate(&p->type_ignore_comments);
  926|  22.6k|    PyMem_Free(p);
  927|  22.6k|}
_PyPegen_run_parser:
  998|  22.6k|{
  999|  22.6k|    void *res = _PyPegen_parse(p);
 1000|  22.6k|    assert(p->level == 0);
  ------------------
  |  Branch (1000:5): [True: 22.6k, False: 0]
  ------------------
 1001|  22.6k|    if (res != NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (1001:9): [True: 12.7k, False: 9.90k]
  |  Branch (1001:24): [True: 0, False: 12.7k]
  ------------------
 1002|       |        // Discard a result returned with an exception still pending
 1003|       |        // (e.g. a MemoryError from a recovered-from allocation failure).
 1004|      0|        return NULL;
 1005|      0|    }
 1006|  22.6k|    if (res == NULL) {
  ------------------
  |  Branch (1006:9): [True: 9.90k, False: 12.7k]
  ------------------
 1007|  9.90k|        if ((p->flags & PyPARSE_ALLOW_INCOMPLETE_INPUT) &&  _is_end_of_source(p)) {
  ------------------
  |  |   25|  9.90k|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
  |  Branch (1007:13): [True: 7.50k, False: 2.40k]
  |  Branch (1007:61): [True: 802, False: 6.69k]
  ------------------
 1008|    802|            PyErr_Clear();
 1009|    802|            return _PyPegen_raise_error(p, PyExc_IncompleteInputError, 0, "incomplete input");
  ------------------
  |  |  205|    802|#define PyExc_IncompleteInputError ((PyObject *)(&_PyExc_IncompleteInputError))
  ------------------
 1010|    802|        }
 1011|  9.10k|        if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_SyntaxError)) {
  ------------------
  |  Branch (1011:13): [True: 1.86k, False: 7.23k]
  |  Branch (1011:33): [True: 27, False: 1.83k]
  ------------------
 1012|     27|            return NULL;
 1013|     27|        }
 1014|       |       // Make a second parser pass. In this pass we activate heavier and slower checks
 1015|       |        // to produce better error messages and more complete diagnostics. Extra "invalid_*"
 1016|       |        // rules will be active during parsing.
 1017|  9.07k|        Token *last_token = p->tokens[p->fill - 1];
 1018|  9.07k|        reset_parser_state_for_error_pass(p);
 1019|  9.07k|        _PyPegen_parse(p);
 1020|       |
 1021|       |        // Set SyntaxErrors accordingly depending on the parser/tokenizer status at the failure
 1022|       |        // point.
 1023|  9.07k|        _Pypegen_set_syntax_error(p, last_token);
 1024|       |
 1025|       |        // Set the metadata in the exception from p->last_stmt_location
 1026|  9.07k|        if (PyErr_ExceptionMatches(PyExc_SyntaxError)) {
  ------------------
  |  Branch (1026:13): [True: 8.76k, False: 312]
  ------------------
 1027|  8.76k|            _PyPegen_set_syntax_error_metadata(p);
 1028|  8.76k|        }
 1029|  9.07k|       return NULL;
 1030|  9.10k|    }
 1031|       |
 1032|  12.7k|    if (p->start_rule == Py_single_input && bad_single_statement(p)) {
  ------------------
  |  |    8|  25.4k|#define Py_single_input 256
  ------------------
  |  Branch (1032:9): [True: 2.25k, False: 10.4k]
  |  Branch (1032:45): [True: 18, False: 2.23k]
  ------------------
 1033|     18|        p->tok->done = E_BADSINGLE; // This is not necessary for now, but might be in the future
  ------------------
  |  |   38|     18|#define E_BADSINGLE      27      /* Ill-formed single statement input */
  ------------------
 1034|     18|        return RAISE_SYNTAX_ERROR("multiple statements found while compiling a single statement");
  ------------------
  |  |  207|     18|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
 1035|     18|    }
 1036|       |
 1037|       |    // test_peg_generator defines _Py_TEST_PEGEN to not call PyAST_Validate()
 1038|       |#if defined(Py_DEBUG) && !defined(_Py_TEST_PEGEN)
 1039|       |    if (p->start_rule == Py_single_input ||
 1040|       |        p->start_rule == Py_file_input ||
 1041|       |        p->start_rule == Py_eval_input)
 1042|       |    {
 1043|       |        if (!_PyAST_Validate(res)) {
 1044|       |            return NULL;
 1045|       |        }
 1046|       |    }
 1047|       |#endif
 1048|  12.7k|    return res;
 1049|  12.7k|}
_PyPegen_run_parser_from_string:
 1110|  24.5k|{
 1111|  24.5k|    int exec_input = start_rule == Py_file_input;
  ------------------
  |  |    9|  24.5k|#define Py_file_input 257
  ------------------
 1112|       |
 1113|  24.5k|    struct tok_state *tok;
 1114|  24.5k|    if (flags != NULL && flags->cf_flags & PyCF_IGNORE_COOKIE) {
  ------------------
  |  |   18|  24.5k|#define PyCF_IGNORE_COOKIE 0x0800
  ------------------
  |  Branch (1114:9): [True: 24.5k, False: 0]
  |  Branch (1114:26): [True: 11.0k, False: 13.5k]
  ------------------
 1115|  11.0k|        tok = _PyTokenizer_FromUTF8(str, exec_input, 0);
 1116|  13.5k|    } else {
 1117|  13.5k|        tok = _PyTokenizer_FromString(str, exec_input, 0);
 1118|  13.5k|    }
 1119|  24.5k|    if (tok == NULL) {
  ------------------
  |  Branch (1119:9): [True: 1.91k, False: 22.6k]
  ------------------
 1120|  1.91k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1120:13): [True: 1.91k, False: 0]
  ------------------
 1121|  1.91k|            _PyTokenizer_raise_init_error(filename_ob);
 1122|  1.91k|        }
 1123|      0|        else {
 1124|       |            // The only silent tokenizer init failure is a failed allocation.
 1125|      0|            PyErr_NoMemory();
 1126|      0|        }
 1127|  1.91k|        return NULL;
 1128|  1.91k|    }
 1129|       |    // This transfers the ownership to the tokenizer
 1130|  22.6k|    tok->filename = Py_NewRef(filename_ob);
  ------------------
  |  |  550|  22.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  22.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1131|  22.6k|    tok->module = Py_XNewRef(module);
  ------------------
  |  |  551|  22.6k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  22.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1132|       |
 1133|       |    // We need to clear up from here on
 1134|  22.6k|    mod_ty result = NULL;
 1135|       |
 1136|  22.6k|    int parser_flags = compute_parser_flags(flags);
 1137|  22.6k|    int feature_version = flags && (flags->cf_flags & PyCF_ONLY_AST) ?
  ------------------
  |  |   17|  22.6k|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (1137:27): [True: 22.6k, False: 0]
  |  Branch (1137:36): [True: 7.85k, False: 14.7k]
  ------------------
 1138|  14.7k|        flags->cf_feature_version : PY_MINOR_VERSION;
  ------------------
  |  |   24|  14.7k|#define PY_MINOR_VERSION        16
  ------------------
 1139|  22.6k|    Parser *p = _PyPegen_Parser_New(tok, start_rule, parser_flags, feature_version,
 1140|  22.6k|                                    NULL, str, arena);
 1141|  22.6k|    if (p == NULL) {
  ------------------
  |  Branch (1141:9): [True: 0, False: 22.6k]
  ------------------
 1142|      0|        goto error;
 1143|      0|    }
 1144|       |
 1145|  22.6k|    result = _PyPegen_run_parser(p);
 1146|  22.6k|    _PyPegen_Parser_Free(p);
 1147|       |
 1148|  22.6k|error:
 1149|  22.6k|    _PyTokenizer_Free(tok);
 1150|  22.6k|    return result;
 1151|  22.6k|}
pegen.c:growable_comment_array_add:
  148|  1.06k|growable_comment_array_add(growable_comment_array *arr, int lineno, char *comment) {
  149|  1.06k|    if (arr->num_items >= arr->size) {
  ------------------
  |  Branch (149:9): [True: 50, False: 1.01k]
  ------------------
  150|     50|        size_t new_size = arr->size * 2;
  151|     50|        void *new_items_array = PyMem_Realloc(arr->items, new_size * sizeof(*arr->items));
  152|     50|        if (!new_items_array) {
  ------------------
  |  Branch (152:13): [True: 0, False: 50]
  ------------------
  153|      0|            return 0;
  154|      0|        }
  155|     50|        arr->items = new_items_array;
  156|     50|        arr->size = new_size;
  157|     50|    }
  158|       |
  159|  1.06k|    arr->items[arr->num_items].lineno = lineno;
  160|  1.06k|    arr->items[arr->num_items].comment = comment;  // Take ownership
  161|  1.06k|    arr->num_items++;
  162|  1.06k|    return 1;
  163|  1.06k|}
pegen.c:_resize_tokens_array:
  234|   119k|_resize_tokens_array(Parser *p) {
  235|   119k|    int newsize = p->size * 2;
  236|   119k|    Token **new_tokens = PyMem_Realloc(p->tokens, (size_t)newsize * sizeof(Token *));
  237|   119k|    if (new_tokens == NULL) {
  ------------------
  |  Branch (237:9): [True: 0, False: 119k]
  ------------------
  238|      0|        PyErr_NoMemory();
  239|      0|        return -1;
  240|      0|    }
  241|   119k|    p->tokens = new_tokens;
  242|       |
  243|  7.35M|    for (int i = p->size; i < newsize; i++) {
  ------------------
  |  Branch (243:27): [True: 7.23M, False: 119k]
  ------------------
  244|  7.23M|        p->tokens[i] = PyMem_Calloc(1, sizeof(Token));
  245|  7.23M|        if (p->tokens[i] == NULL) {
  ------------------
  |  Branch (245:13): [True: 0, False: 7.23M]
  ------------------
  246|      0|            p->size = i; // Needed, in order to cleanup correctly after parser fails
  247|      0|            PyErr_NoMemory();
  248|      0|            return -1;
  249|      0|        }
  250|  7.23M|    }
  251|   119k|    p->size = newsize;
  252|   119k|    return 0;
  253|   119k|}
pegen.c:initialize_token:
  193|  5.04M|initialize_token(Parser *p, Token *parser_token, struct token *new_token, int token_type) {
  194|  5.04M|    assert(parser_token != NULL);
  ------------------
  |  Branch (194:5): [True: 5.04M, False: 0]
  ------------------
  195|       |
  196|  5.04M|    parser_token->type = (token_type == NAME) ? _get_keyword_or_name_type(p, new_token) : token_type;
  ------------------
  |  |   17|  5.04M|#define NAME            1
  ------------------
  |  Branch (196:26): [True: 1.07M, False: 3.96M]
  ------------------
  197|  5.04M|    parser_token->bytes = PyBytes_FromStringAndSize(new_token->start, new_token->end - new_token->start);
  198|  5.04M|    if (parser_token->bytes == NULL) {
  ------------------
  |  Branch (198:9): [True: 0, False: 5.04M]
  ------------------
  199|      0|        return -1;
  200|      0|    }
  201|  5.04M|    if (_PyArena_AddPyObject(p->arena, parser_token->bytes) < 0) {
  ------------------
  |  Branch (201:9): [True: 0, False: 5.04M]
  ------------------
  202|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  203|      0|        return -1;
  204|      0|    }
  205|       |
  206|  5.04M|    parser_token->metadata = NULL;
  207|  5.04M|    if (new_token->metadata != NULL) {
  ------------------
  |  Branch (207:9): [True: 12.0k, False: 5.02M]
  ------------------
  208|  12.0k|        if (_PyArena_AddPyObject(p->arena, new_token->metadata) < 0) {
  ------------------
  |  Branch (208:13): [True: 0, False: 12.0k]
  ------------------
  209|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  210|      0|            return -1;
  211|      0|        }
  212|  12.0k|        parser_token->metadata = new_token->metadata;
  213|  12.0k|        new_token->metadata = NULL;
  214|  12.0k|    }
  215|       |
  216|  5.04M|    parser_token->level = new_token->level;
  217|  5.04M|    parser_token->lineno = new_token->lineno;
  218|  5.04M|    parser_token->col_offset = p->tok->lineno == p->starting_lineno ? p->starting_col_offset + new_token->col_offset
  ------------------
  |  Branch (218:32): [True: 16, False: 5.04M]
  ------------------
  219|  5.04M|                                                                    : new_token->col_offset;
  220|  5.04M|    parser_token->end_lineno = new_token->end_lineno;
  221|  5.04M|    parser_token->end_col_offset = p->tok->lineno == p->starting_lineno ? p->starting_col_offset + new_token->end_col_offset
  ------------------
  |  Branch (221:36): [True: 16, False: 5.04M]
  ------------------
  222|  5.04M|                                                                 : new_token->end_col_offset;
  223|       |
  224|  5.04M|    p->fill += 1;
  225|       |
  226|  5.04M|    if (token_type == ERRORTOKEN && p->tok->done == E_DECODE) {
  ------------------
  |  |   83|  10.0M|#define ERRORTOKEN      67
  ------------------
                  if (token_type == ERRORTOKEN && p->tok->done == E_DECODE) {
  ------------------
  |  |   34|  3.68k|#define E_DECODE         22      /* Error in decoding into Unicode */
  ------------------
  |  Branch (226:9): [True: 3.68k, False: 5.03M]
  |  Branch (226:37): [True: 673, False: 3.00k]
  ------------------
  227|    673|        return _Pypegen_raise_decode_error(p);
  228|    673|    }
  229|       |
  230|  5.03M|    return (token_type == ERRORTOKEN ? _Pypegen_tokenizer_error(p) : 0);
  ------------------
  |  |   83|  5.03M|#define ERRORTOKEN      67
  ------------------
  |  Branch (230:13): [True: 3.00k, False: 5.03M]
  ------------------
  231|  5.04M|}
pegen.c:_get_keyword_or_name_type:
  175|  1.07M|{
  176|  1.07M|    Py_ssize_t name_len = new_token->end_col_offset - new_token->col_offset;
  177|  1.07M|    assert(name_len > 0);
  ------------------
  |  Branch (177:5): [True: 1.07M, False: 0]
  ------------------
  178|       |
  179|  1.07M|    if (name_len >= p->n_keyword_lists ||
  ------------------
  |  Branch (179:9): [True: 101k, False: 970k]
  ------------------
  180|   970k|        p->keywords[name_len] == NULL ||
  ------------------
  |  Branch (180:9): [True: 0, False: 970k]
  ------------------
  181|   970k|        p->keywords[name_len]->type == -1) {
  ------------------
  |  Branch (181:9): [True: 319k, False: 651k]
  ------------------
  182|   420k|        return NAME;
  ------------------
  |  |   17|   420k|#define NAME            1
  ------------------
  183|   420k|    }
  184|  3.73M|    for (KeywordToken *k = p->keywords[name_len]; k != NULL && k->type != -1; k++) {
  ------------------
  |  Branch (184:51): [True: 3.73M, False: 0]
  |  Branch (184:64): [True: 3.28M, False: 456k]
  ------------------
  185|  3.28M|        if (strncmp(k->str, new_token->start, (size_t)name_len) == 0) {
  ------------------
  |  Branch (185:13): [True: 194k, False: 3.08M]
  ------------------
  186|   194k|            return k->type;
  187|   194k|        }
  188|  3.28M|    }
  189|   456k|    return NAME;
  ------------------
  |  |   17|   456k|#define NAME            1
  ------------------
  190|   651k|}
pegen.c:init_normalization:
  125|  14.4k|{
  126|  14.4k|    if (p->normalize) {
  ------------------
  |  Branch (126:9): [True: 11.4k, False: 3.00k]
  ------------------
  127|  11.4k|        return 1;
  128|  11.4k|    }
  129|  3.00k|    p->normalize = PyImport_ImportModuleAttrString("unicodedata", "normalize");
  130|  3.00k|    if (!p->normalize)
  ------------------
  |  Branch (130:9): [True: 0, False: 3.00k]
  ------------------
  131|      0|    {
  132|      0|        return 0;
  133|      0|    }
  134|  3.00k|    return 1;
  135|  3.00k|}
pegen.c:_PyPegen_name_from_token:
  581|  9.96M|{
  582|  9.96M|    if (t == NULL) {
  ------------------
  |  Branch (582:9): [True: 6.10M, False: 3.85M]
  ------------------
  583|  6.10M|        return NULL;
  584|  6.10M|    }
  585|  3.85M|    const char *s = PyBytes_AsString(t->bytes);
  586|  3.85M|    if (!s) {
  ------------------
  |  Branch (586:9): [True: 0, False: 3.85M]
  ------------------
  587|      0|        p->error_indicator = 1;
  588|      0|        return NULL;
  589|      0|    }
  590|       |    // Identifiers repeat constantly; a small span-keyed cache skips the
  591|       |    // UTF-8 decode + intern for repeated occurrences. Keys point into
  592|       |    // arena-owned token bytes and values are arena-owned interned strings,
  593|       |    // so borrowed references are valid for the lifetime of the parse
  594|       |    // (including the second error pass, which reuses parser and arena).
  595|  3.85M|    Py_ssize_t len = PyBytes_GET_SIZE(t->bytes);
  ------------------
  |  |   33|  3.85M|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  3.85M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.85M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  596|  3.85M|    Py_hash_t hash = PyObject_Hash(t->bytes);
  597|  3.85M|    if (hash == -1) {
  ------------------
  |  Branch (597:9): [True: 0, False: 3.85M]
  ------------------
  598|      0|        p->error_indicator = 1;
  599|      0|        return NULL;
  600|      0|    }
  601|  3.85M|    IdentifierCacheEntry *free_slot = NULL;
  602|  3.85M|    size_t idx = (size_t)hash & (IDENTIFIER_CACHE_SIZE - 1);
  ------------------
  |  |   15|  3.85M|#define IDENTIFIER_CACHE_SIZE 2048  // Must be a power of two.
  ------------------
  603|  3.86M|    for (int probe = 0; probe < IDENTIFIER_CACHE_MAX_PROBES; probe++) {
  ------------------
  |  |   16|  3.86M|#define IDENTIFIER_CACHE_MAX_PROBES 8
  ------------------
  |  Branch (603:25): [True: 3.86M, False: 0]
  ------------------
  604|  3.86M|        IdentifierCacheEntry *entry = &p->identifier_cache[
  605|  3.86M|            (idx + probe) & (IDENTIFIER_CACHE_SIZE - 1)];
  ------------------
  |  |   15|  3.86M|#define IDENTIFIER_CACHE_SIZE 2048  // Must be a power of two.
  ------------------
  606|  3.86M|        if (entry->key == NULL) {
  ------------------
  |  Branch (606:13): [True: 118k, False: 3.74M]
  ------------------
  607|   118k|            free_slot = entry;
  608|   118k|            break;
  609|   118k|        }
  610|  3.74M|        if (entry->hash == hash && entry->len == len &&
  ------------------
  |  Branch (610:13): [True: 3.73M, False: 8.86k]
  |  Branch (610:36): [True: 3.73M, False: 0]
  ------------------
  611|  3.73M|            memcmp(entry->key, s, len) == 0)
  ------------------
  |  Branch (611:13): [True: 3.73M, False: 0]
  ------------------
  612|  3.73M|        {
  613|  3.73M|            return _PyAST_Name(entry->value, Load, t->lineno, t->col_offset,
  614|  3.73M|                               t->end_lineno, t->end_col_offset, p->arena);
  615|  3.73M|        }
  616|  3.74M|    }
  617|   118k|    PyObject *id = _PyPegen_new_identifier(p, s);
  618|   118k|    if (id == NULL) {
  ------------------
  |  Branch (618:9): [True: 0, False: 118k]
  ------------------
  619|      0|        p->error_indicator = 1;
  620|      0|        return NULL;
  621|      0|    }
  622|   118k|    if (free_slot != NULL) {
  ------------------
  |  Branch (622:9): [True: 118k, False: 0]
  ------------------
  623|   118k|        free_slot->key = s;
  624|   118k|        free_slot->len = len;
  625|   118k|        free_slot->hash = hash;
  626|   118k|        free_slot->value = id;
  627|   118k|    }
  628|   118k|    return _PyAST_Name(id, Load, t->lineno, t->col_offset, t->end_lineno,
  629|   118k|                       t->end_col_offset, p->arena);
  630|   118k|}
pegen.c:parsenumber:
  708|  2.25M|{
  709|  2.25M|    char *dup;
  710|  2.25M|    char *end;
  711|  2.25M|    PyObject *res = NULL;
  712|       |
  713|  2.25M|    assert(s != NULL);
  ------------------
  |  Branch (713:5): [True: 2.25M, False: 0]
  ------------------
  714|       |
  715|  2.25M|    if (strchr(s, '_') == NULL) {
  ------------------
  |  Branch (715:9): [True: 2.22M, False: 31.2k]
  ------------------
  716|  2.22M|        return parsenumber_raw(s);
  717|  2.22M|    }
  718|       |    /* Create a duplicate without underscores. */
  719|  31.2k|    dup = PyMem_Malloc(strlen(s) + 1);
  720|  31.2k|    if (dup == NULL) {
  ------------------
  |  Branch (720:9): [True: 0, False: 31.2k]
  ------------------
  721|      0|        return PyErr_NoMemory();
  722|      0|    }
  723|  31.2k|    end = dup;
  724|  1.83M|    for (; *s; s++) {
  ------------------
  |  Branch (724:12): [True: 1.80M, False: 31.2k]
  ------------------
  725|  1.80M|        if (*s != '_') {
  ------------------
  |  Branch (725:13): [True: 1.76M, False: 39.3k]
  ------------------
  726|  1.76M|            *end++ = *s;
  727|  1.76M|        }
  728|  1.80M|    }
  729|  31.2k|    *end = '\0';
  730|  31.2k|    res = parsenumber_raw(dup);
  731|  31.2k|    PyMem_Free(dup);
  732|  31.2k|    return res;
  733|  31.2k|}
pegen.c:parsenumber_raw:
  664|  2.25M|{
  665|  2.25M|    const char *end;
  666|  2.25M|    long x;
  667|  2.25M|    double dx;
  668|  2.25M|    Py_complex compl;
  669|  2.25M|    int imflag;
  670|       |
  671|  2.25M|    assert(s != NULL);
  ------------------
  |  Branch (671:5): [True: 2.25M, False: 0]
  ------------------
  672|  2.25M|    errno = 0;
  673|  2.25M|    end = s + strlen(s) - 1;
  674|  2.25M|    imflag = *end == 'j' || *end == 'J';
  ------------------
  |  Branch (674:14): [True: 162k, False: 2.09M]
  |  Branch (674:29): [True: 35.0k, False: 2.06M]
  ------------------
  675|  2.25M|    if (s[0] == '0') {
  ------------------
  |  Branch (675:9): [True: 152k, False: 2.10M]
  ------------------
  676|   152k|        x = (long)PyOS_strtoul(s, (char **)&end, 0);
  677|   152k|        if (x < 0 && errno == 0) {
  ------------------
  |  Branch (677:13): [True: 5.36k, False: 147k]
  |  Branch (677:22): [True: 549, False: 4.81k]
  ------------------
  678|    549|            return PyLong_FromString(s, (char **)0, 0);
  679|    549|        }
  680|   152k|    }
  681|  2.10M|    else {
  682|  2.10M|        x = PyOS_strtol(s, (char **)&end, 0);
  683|  2.10M|    }
  684|  2.25M|    if (*end == '\0') {
  ------------------
  |  Branch (684:9): [True: 1.80M, False: 451k]
  ------------------
  685|  1.80M|        if (errno != 0) {
  ------------------
  |  Branch (685:13): [True: 77.1k, False: 1.73M]
  ------------------
  686|  77.1k|            return PyLong_FromString(s, (char **)0, 0);
  687|  77.1k|        }
  688|  1.73M|        return PyLong_FromLong(x);
  689|  1.80M|    }
  690|       |    /* XXX Huge floats may silently fail */
  691|   451k|    if (imflag) {
  ------------------
  |  Branch (691:9): [True: 197k, False: 253k]
  ------------------
  692|   197k|        compl.real = 0.;
  693|   197k|        compl.imag = PyOS_string_to_double(s, (char **)&end, NULL);
  694|   197k|        if (compl.imag == -1.0 && PyErr_Occurred()) {
  ------------------
  |  Branch (694:13): [True: 0, False: 197k]
  |  Branch (694:35): [True: 0, False: 0]
  ------------------
  695|      0|            return NULL;
  696|      0|        }
  697|   197k|        return PyComplex_FromCComplex(compl);
  698|   197k|    }
  699|   253k|    dx = PyOS_string_to_double(s, NULL, NULL);
  700|   253k|    if (dx == -1.0 && PyErr_Occurred()) {
  ------------------
  |  Branch (700:9): [True: 0, False: 253k]
  |  Branch (700:23): [True: 0, False: 0]
  ------------------
  701|      0|        return NULL;
  702|      0|    }
  703|   253k|    return PyFloat_FromDouble(dx);
  704|   253k|}
pegen.c:growable_comment_array_init:
  138|  22.6k|growable_comment_array_init(growable_comment_array *arr, size_t initial_size) {
  139|  22.6k|    assert(initial_size > 0);
  ------------------
  |  Branch (139:5): [True: 22.6k, False: 0]
  ------------------
  140|  22.6k|    arr->items = PyMem_Malloc(initial_size * sizeof(*arr->items));
  141|  22.6k|    arr->size = initial_size;
  142|  22.6k|    arr->num_items = 0;
  143|       |
  144|       |    return arr->items != NULL;
  145|  22.6k|}
pegen.c:growable_comment_array_deallocate:
  166|  22.6k|growable_comment_array_deallocate(growable_comment_array *arr) {
  167|  23.6k|    for (unsigned i = 0; i < arr->num_items; i++) {
  ------------------
  |  Branch (167:26): [True: 1.06k, False: 22.6k]
  ------------------
  168|  1.06k|        PyMem_Free(arr->items[i].comment);
  169|  1.06k|    }
  170|  22.6k|    PyMem_Free(arr->items);
  171|  22.6k|}
pegen.c:_is_end_of_source:
  947|  7.50k|_is_end_of_source(Parser *p) {
  948|  7.50k|    int err = p->tok->done;
  949|  7.50k|    return err == E_EOF || err == E_EOFS || err == E_EOLS;
  ------------------
  |  |   23|  15.0k|#define E_EOF            11      /* End Of File */
  ------------------
                  return err == E_EOF || err == E_EOFS || err == E_EOLS;
  ------------------
  |  |   35|  14.3k|#define E_EOFS           23      /* EOF in triple-quoted string */
  ------------------
                  return err == E_EOF || err == E_EOFS || err == E_EOLS;
  ------------------
  |  |   36|  6.79k|#define E_EOLS           24      /* EOL in single-quoted string */
  ------------------
  |  Branch (949:12): [True: 663, False: 6.83k]
  |  Branch (949:28): [True: 38, False: 6.79k]
  |  Branch (949:45): [True: 101, False: 6.69k]
  ------------------
  950|  7.50k|}
pegen.c:reset_parser_state_for_error_pass:
  931|  9.07k|{
  932|  9.07k|    p->last_stmt_location.lineno = 0;
  933|  9.07k|    p->last_stmt_location.col_offset = 0;
  934|  9.07k|    p->last_stmt_location.end_lineno = 0;
  935|  9.07k|    p->last_stmt_location.end_col_offset = 0;
  936|   735k|    for (int i = 0; i < p->fill; i++) {
  ------------------
  |  Branch (936:21): [True: 726k, False: 9.07k]
  ------------------
  937|   726k|        p->tokens[i]->memo = NULL;
  938|   726k|    }
  939|  9.07k|    p->mark = 0;
  940|  9.07k|    p->call_invalid_rules = 1;
  941|       |    // Don't try to get extra tokens in interactive mode when trying to
  942|       |    // raise specialized errors in the second pass.
  943|  9.07k|    p->tok->interactive_underflow = IUNDERFLOW_STOP;
  944|  9.07k|}
pegen.c:_PyPegen_set_syntax_error_metadata:
  953|  8.76k|_PyPegen_set_syntax_error_metadata(Parser *p) {
  954|  8.76k|    PyObject *exc = PyErr_GetRaisedException();
  955|  8.76k|    if (!exc || !PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_SyntaxError)) {
  ------------------
  |  |  378|  8.76k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  8.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (955:9): [True: 0, False: 8.76k]
  |  Branch (955:17): [True: 0, False: 8.76k]
  ------------------
  956|      0|        PyErr_SetRaisedException(exc);
  957|      0|        return;
  958|      0|    }
  959|  8.76k|    const char *source = NULL;
  960|  8.76k|    if (p->tok->str != NULL) {
  ------------------
  |  Branch (960:9): [True: 8.76k, False: 0]
  ------------------
  961|  8.76k|        source = p->tok->str;
  962|  8.76k|    }
  963|  8.76k|    if (!source && p->tok->fp_interactive && p->tok->interactive_src_start) {
  ------------------
  |  Branch (963:9): [True: 0, False: 8.76k]
  |  Branch (963:20): [True: 0, False: 0]
  |  Branch (963:46): [True: 0, False: 0]
  ------------------
  964|      0|        source = p->tok->interactive_src_start;
  965|      0|    }
  966|  8.76k|    PyObject* the_source = NULL;
  967|  8.76k|    if (source) {
  ------------------
  |  Branch (967:9): [True: 8.76k, False: 0]
  ------------------
  968|  8.76k|        if (p->tok->encoding == NULL) {
  ------------------
  |  Branch (968:13): [True: 3.82k, False: 4.94k]
  ------------------
  969|  3.82k|            the_source = PyUnicode_FromString(source);
  970|  4.94k|        } else {
  971|  4.94k|            the_source = PyUnicode_Decode(source, strlen(source), p->tok->encoding, NULL);
  972|  4.94k|        }
  973|  8.76k|    }
  974|  8.76k|    if (!the_source) {
  ------------------
  |  Branch (974:9): [True: 1.52k, False: 7.23k]
  ------------------
  975|  1.52k|        PyErr_Clear();
  976|  1.52k|        the_source = Py_None;
  ------------------
  |  |  616|  1.52k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  977|  1.52k|        Py_INCREF(the_source);
  ------------------
  |  |  310|  1.52k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  978|  1.52k|    }
  979|  8.76k|    PyObject* metadata = Py_BuildValue(
  980|  8.76k|        "(iiN)",
  981|  8.76k|        p->last_stmt_location.lineno,
  982|  8.76k|        p->last_stmt_location.col_offset,
  983|  8.76k|        the_source // N gives ownership to metadata
  984|  8.76k|    );
  985|  8.76k|    if (!metadata) {
  ------------------
  |  Branch (985:9): [True: 0, False: 8.76k]
  ------------------
  986|      0|        PyErr_Clear();
  987|      0|        return;
  988|      0|    }
  989|  8.76k|    PySyntaxErrorObject *syntax_error = (PySyntaxErrorObject *)exc;
  990|       |
  991|  8.76k|    Py_XDECREF(syntax_error->metadata);
  ------------------
  |  |  524|  8.76k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  992|  8.76k|    syntax_error->metadata = metadata;
  993|  8.76k|    PyErr_SetRaisedException(exc);
  994|  8.76k|}
pegen.c:bad_single_statement:
  796|  2.25k|{
  797|  2.25k|    char *cur = p->tok->cur;
  798|  2.25k|    char c = *cur;
  799|       |
  800|  2.46k|    for (;;) {
  801|  3.11k|        while (c == ' ' || c == '\t' || c == '\n' || c == '\014') {
  ------------------
  |  Branch (801:16): [True: 96, False: 3.01k]
  |  Branch (801:28): [True: 81, False: 2.93k]
  |  Branch (801:41): [True: 408, False: 2.52k]
  |  Branch (801:54): [True: 61, False: 2.46k]
  ------------------
  802|    646|            c = *++cur;
  803|    646|        }
  804|       |
  805|  2.46k|        if (!c) {
  ------------------
  |  Branch (805:13): [True: 2.23k, False: 231]
  ------------------
  806|  2.23k|            return 0;
  807|  2.23k|        }
  808|       |
  809|    231|        if (c != '#') {
  ------------------
  |  Branch (809:13): [True: 18, False: 213]
  ------------------
  810|     18|            return 1;
  811|     18|        }
  812|       |
  813|       |        /* Suck up comment. */
  814|  6.93k|        while (c && c != '\n') {
  ------------------
  |  Branch (814:16): [True: 6.92k, False: 17]
  |  Branch (814:21): [True: 6.72k, False: 196]
  ------------------
  815|  6.72k|            c = *++cur;
  816|  6.72k|        }
  817|    213|    }
  818|  2.25k|}
pegen.c:compute_parser_flags:
  822|  22.6k|{
  823|  22.6k|    int parser_flags = 0;
  824|  22.6k|    if (!flags) {
  ------------------
  |  Branch (824:9): [True: 0, False: 22.6k]
  ------------------
  825|      0|        return 0;
  826|      0|    }
  827|  22.6k|    if (flags->cf_flags & PyCF_DONT_IMPLY_DEDENT) {
  ------------------
  |  |   16|  22.6k|#define PyCF_DONT_IMPLY_DEDENT 0x0200
  ------------------
  |  Branch (827:9): [True: 10.3k, False: 12.2k]
  ------------------
  828|  10.3k|        parser_flags |= PyPARSE_DONT_IMPLY_DEDENT;
  ------------------
  |  |   14|  10.3k|#define PyPARSE_DONT_IMPLY_DEDENT       0x0002
  ------------------
  829|  10.3k|    }
  830|  22.6k|    if (flags->cf_flags & PyCF_IGNORE_COOKIE) {
  ------------------
  |  |   18|  22.6k|#define PyCF_IGNORE_COOKIE 0x0800
  ------------------
  |  Branch (830:9): [True: 11.0k, False: 11.6k]
  ------------------
  831|  11.0k|        parser_flags |= PyPARSE_IGNORE_COOKIE;
  ------------------
  |  |   22|  11.0k|#define PyPARSE_IGNORE_COOKIE 0x0010
  ------------------
  832|  11.0k|    }
  833|  22.6k|    if (flags->cf_flags & CO_FUTURE_BARRY_AS_BDFL) {
  ------------------
  |  |  145|  22.6k|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  ------------------
  |  Branch (833:9): [True: 0, False: 22.6k]
  ------------------
  834|      0|        parser_flags |= PyPARSE_BARRY_AS_BDFL;
  ------------------
  |  |   23|      0|#define PyPARSE_BARRY_AS_BDFL 0x0020
  ------------------
  835|      0|    }
  836|  22.6k|    if (flags->cf_flags & PyCF_TYPE_COMMENTS) {
  ------------------
  |  |   19|  22.6k|#define PyCF_TYPE_COMMENTS 0x1000
  ------------------
  |  Branch (836:9): [True: 10.1k, False: 12.4k]
  ------------------
  837|  10.1k|        parser_flags |= PyPARSE_TYPE_COMMENTS;
  ------------------
  |  |   24|  10.1k|#define PyPARSE_TYPE_COMMENTS 0x0040
  ------------------
  838|  10.1k|    }
  839|  22.6k|    if (flags->cf_flags & PyCF_ALLOW_INCOMPLETE_INPUT) {
  ------------------
  |  |   21|  22.6k|#define PyCF_ALLOW_INCOMPLETE_INPUT 0x4000
  ------------------
  |  Branch (839:9): [True: 16.9k, False: 5.67k]
  ------------------
  840|  16.9k|        parser_flags |= PyPARSE_ALLOW_INCOMPLETE_INPUT;
  ------------------
  |  |   25|  16.9k|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
  841|  16.9k|    }
  842|  22.6k|    return parser_flags;
  843|  22.6k|}

pegen.c:RAISE_ERROR_KNOWN_LOCATION:
  198|     79|{
  199|     79|    va_list va;
  200|     79|    va_start(va, errmsg);
  201|     79|    Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   27|     79|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   27|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (201:31): [True: 0, False: 79]
  ------------------
  202|     79|    Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   27|     79|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   27|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (202:35): [True: 0, False: 79]
  ------------------
  203|     79|    _PyPegen_raise_error_known_location(p, errtype, lineno, _col_offset, end_lineno, _end_col_offset, errmsg, va);
  204|     79|    va_end(va);
  205|       |    return NULL;
  206|     79|}
pegen_errors.c:RAISE_ERROR_KNOWN_LOCATION:
  198|  5.41k|{
  199|  5.41k|    va_list va;
  200|  5.41k|    va_start(va, errmsg);
  201|  5.41k|    Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   27|  5.41k|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   27|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (201:31): [True: 0, False: 5.41k]
  ------------------
  202|  5.41k|    Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   27|  5.41k|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   27|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (202:35): [True: 0, False: 5.41k]
  ------------------
  203|  5.41k|    _PyPegen_raise_error_known_location(p, errtype, lineno, _col_offset, end_lineno, _end_col_offset, errmsg, va);
  204|  5.41k|    va_end(va);
  205|       |    return NULL;
  206|  5.41k|}
parser.c:INVALID_VERSION_CHECK:
  306|  90.3k|{
  307|  90.3k|    if (node == NULL) {
  ------------------
  |  Branch (307:9): [True: 13, False: 90.2k]
  ------------------
  308|     13|        p->error_indicator = 1;  // Inline CHECK_CALL
  309|     13|        return NULL;
  310|     13|    }
  311|  90.2k|    if (p->feature_version < version) {
  ------------------
  |  Branch (311:9): [True: 0, False: 90.2k]
  ------------------
  312|      0|        p->error_indicator = 1;
  313|      0|        return RAISE_SYNTAX_ERROR("%s only supported in Python 3.%i and greater",
  ------------------
  |  |  207|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  314|      0|                                  msg, version);
  315|      0|    }
  316|  90.2k|    return node;
  317|  90.2k|}
parser.c:CHECK_CALL:
  226|   245k|{
  227|   245k|    if (result == NULL) {
  ------------------
  |  Branch (227:9): [True: 0, False: 245k]
  ------------------
  228|      0|        assert(PyErr_Occurred());
  ------------------
  |  Branch (228:9): [True: 0, False: 0]
  ------------------
  229|      0|        p->error_indicator = 1;
  230|      0|    }
  231|   245k|    return result;
  232|   245k|}
parser.c:RAISE_ERROR_KNOWN_LOCATION:
  198|  1.71k|{
  199|  1.71k|    va_list va;
  200|  1.71k|    va_start(va, errmsg);
  201|  1.71k|    Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   27|  1.71k|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   27|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (201:31): [True: 0, False: 1.71k]
  ------------------
  202|  1.71k|    Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   27|  1.71k|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   27|  1.05k|#define CURRENT_POS (-5)
  ------------------
  |  Branch (202:35): [True: 1.05k, False: 667]
  ------------------
  203|  1.71k|    _PyPegen_raise_error_known_location(p, errtype, lineno, _col_offset, end_lineno, _end_col_offset, errmsg, va);
  204|  1.71k|    va_end(va);
  205|       |    return NULL;
  206|  1.71k|}
parser.c:_RAISE_SYNTAX_ERROR_INVALID_TARGET:
  252|  1.05k|{
  253|  1.05k|    expr_ty invalid_target = CHECK_NULL_ALLOWED(expr_ty, _PyPegen_get_invalid_target(e, type));
  ------------------
  |  |  246|  1.05k|#define CHECK_NULL_ALLOWED(type, result) ((type) CHECK_CALL_NULL_ALLOWED(p, result))
  ------------------
  254|  1.05k|    if (invalid_target != NULL) {
  ------------------
  |  Branch (254:9): [True: 112, False: 941]
  ------------------
  255|    112|        const char *msg;
  256|    112|        if (type == STAR_TARGETS || type == FOR_TARGETS) {
  ------------------
  |  Branch (256:13): [True: 79, False: 33]
  |  Branch (256:37): [True: 11, False: 22]
  ------------------
  257|     90|            msg = "cannot assign to %s";
  258|     90|        }
  259|     22|        else {
  260|     22|            msg = "cannot delete %s";
  261|     22|        }
  262|    112|        return RAISE_SYNTAX_ERROR_KNOWN_LOCATION(
  ------------------
  |  |  213|    112|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  263|    112|            invalid_target,
  264|    112|            msg,
  265|    112|            _PyPegen_get_expr_name(invalid_target)
  266|    112|        );
  267|      0|        return RAISE_SYNTAX_ERROR_KNOWN_LOCATION(invalid_target, "invalid syntax");
  ------------------
  |  |  213|      0|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  268|    112|    }
  269|    941|    return NULL;
  270|  1.05k|}
parser.c:CHECK_CALL_NULL_ALLOWED:
  238|  19.0k|{
  239|  19.0k|    if (result == NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (239:9): [True: 9.57k, False: 9.44k]
  |  Branch (239:27): [True: 493, False: 9.08k]
  ------------------
  240|    493|        p->error_indicator = 1;
  241|    493|    }
  242|  19.0k|    return result;
  243|  19.0k|}
parser.c:_PyPegen_tokens_are_adjacent:
  220|     21|{
  221|     21|    return (a->end_lineno == b->lineno) && (a->end_col_offset == b->col_offset);
  ------------------
  |  Branch (221:12): [True: 18, False: 3]
  |  Branch (221:44): [True: 8, False: 10]
  ------------------
  222|     21|}
parser.c:NEW_TYPE_COMMENT:
  286|  32.1k|{
  287|  32.1k|    if (tc == NULL) {
  ------------------
  |  Branch (287:9): [True: 31.1k, False: 1.00k]
  ------------------
  288|  31.1k|        return NULL;
  289|  31.1k|    }
  290|  1.00k|    const char *bytes = PyBytes_AsString(tc->bytes);
  291|  1.00k|    if (bytes == NULL) {
  ------------------
  |  Branch (291:9): [True: 0, False: 1.00k]
  ------------------
  292|      0|        goto error;
  293|      0|    }
  294|  1.00k|    PyObject *tco = _PyPegen_new_type_comment(p, bytes);
  295|  1.00k|    if (tco == NULL) {
  ------------------
  |  Branch (295:9): [True: 4, False: 999]
  ------------------
  296|      4|        goto error;
  297|      4|    }
  298|    999|    return tco;
  299|      4| error:
  300|      4|    p->error_indicator = 1;  // Inline CHECK_CALL
  301|       |    return NULL;
  302|  1.00k|}
action_helpers.c:RAISE_ERROR_KNOWN_LOCATION:
  198|    286|{
  199|    286|    va_list va;
  200|    286|    va_start(va, errmsg);
  201|    286|    Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   27|    286|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   27|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (201:31): [True: 0, False: 286]
  ------------------
  202|    286|    Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   27|    286|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   27|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (202:35): [True: 0, False: 286]
  ------------------
  203|    286|    _PyPegen_raise_error_known_location(p, errtype, lineno, _col_offset, end_lineno, _end_col_offset, errmsg, va);
  204|    286|    va_end(va);
  205|       |    return NULL;
  206|    286|}
string_parser.c:RAISE_ERROR_KNOWN_LOCATION:
  198|     12|{
  199|     12|    va_list va;
  200|     12|    va_start(va, errmsg);
  201|     12|    Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   27|     12|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   27|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (201:31): [True: 0, False: 12]
  ------------------
  202|     12|    Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   27|     12|#define CURRENT_POS (-5)
  ------------------
                  Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   27|      0|#define CURRENT_POS (-5)
  ------------------
  |  Branch (202:35): [True: 0, False: 12]
  ------------------
  203|     12|    _PyPegen_raise_error_known_location(p, errtype, lineno, _col_offset, end_lineno, _end_col_offset, errmsg, va);
  204|     12|    va_end(va);
  205|       |    return NULL;
  206|     12|}

_Pypegen_tokenizer_error:
   25|  3.00k|{
   26|  3.00k|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (26:9): [True: 1.72k, False: 1.28k]
  ------------------
   27|  1.72k|        return -1;
   28|  1.72k|    }
   29|       |
   30|  1.28k|    const char *msg = NULL;
   31|  1.28k|    PyObject* errtype = PyExc_SyntaxError;
   32|  1.28k|    Py_ssize_t col_offset = -1;
   33|  1.28k|    p->error_indicator = 1;
   34|  1.28k|    switch (p->tok->done) {
   35|      0|        case E_TOKEN:
  ------------------
  |  |   25|      0|#define E_TOKEN          13      /* Bad token */
  ------------------
  |  Branch (35:9): [True: 0, False: 1.28k]
  ------------------
   36|      0|            msg = "invalid token";
   37|      0|            break;
   38|  1.16k|        case E_EOF:
  ------------------
  |  |   23|  1.16k|#define E_EOF            11      /* End Of File */
  ------------------
  |  Branch (38:9): [True: 1.16k, False: 122]
  ------------------
   39|  1.16k|            if (p->tok->level) {
  ------------------
  |  Branch (39:17): [True: 1.15k, False: 12]
  ------------------
   40|  1.15k|                raise_unclosed_parentheses_error(p);
   41|  1.15k|            } else {
   42|     12|                RAISE_SYNTAX_ERROR("unexpected EOF while parsing");
  ------------------
  |  |  207|     12|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
   43|     12|            }
   44|  1.16k|            return -1;
   45|      1|        case E_DEDENT:
  ------------------
  |  |   33|      1|#define E_DEDENT         21      /* No matching outer block for dedent */
  ------------------
  |  Branch (45:9): [True: 1, False: 1.28k]
  ------------------
   46|      1|            RAISE_INDENTATION_ERROR("unindent does not match any outer indentation level");
  ------------------
  |  |  208|      1|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  ------------------
   47|      1|            return -1;
   48|      0|        case E_INTR:
  ------------------
  |  |   24|      0|#define E_INTR           12      /* Interrupted */
  ------------------
  |  Branch (48:9): [True: 0, False: 1.28k]
  ------------------
   49|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (49:17): [True: 0, False: 0]
  ------------------
   50|      0|                PyErr_SetNone(PyExc_KeyboardInterrupt);
   51|      0|            }
   52|      0|            return -1;
   53|      0|        case E_NOMEM:
  ------------------
  |  |   27|      0|#define E_NOMEM          15      /* Ran out of memory */
  ------------------
  |  Branch (53:9): [True: 0, False: 1.28k]
  ------------------
   54|      0|            PyErr_NoMemory();
   55|      0|            return -1;
   56|      2|        case E_TABSPACE:
  ------------------
  |  |   30|      2|#define E_TABSPACE       18      /* Inconsistent mixing of tabs and spaces */
  ------------------
  |  Branch (56:9): [True: 2, False: 1.28k]
  ------------------
   57|      2|            errtype = PyExc_TabError;
   58|      2|            msg = "inconsistent use of tabs and spaces in indentation";
   59|      2|            break;
   60|      0|        case E_TOODEEP:
  ------------------
  |  |   32|      0|#define E_TOODEEP        20      /* Too many indentation levels */
  ------------------
  |  Branch (60:9): [True: 0, False: 1.28k]
  ------------------
   61|      0|            errtype = PyExc_IndentationError;
   62|      0|            msg = "too many levels of indentation";
   63|      0|            break;
   64|    119|        case E_LINECONT: {
  ------------------
  |  |   37|    119|#define E_LINECONT       25      /* Unexpected characters after a line continuation */
  ------------------
  |  Branch (64:9): [True: 119, False: 1.16k]
  ------------------
   65|    119|            col_offset = p->tok->cur - p->tok->buf - 1;
   66|    119|            msg = "unexpected character after line continuation character";
   67|    119|            break;
   68|      0|        }
   69|      0|        case E_COLUMNOVERFLOW:
  ------------------
  |  |   40|      0|#define E_COLUMNOVERFLOW 29      /* Column offset overflow */
  ------------------
  |  Branch (69:9): [True: 0, False: 1.28k]
  ------------------
   70|      0|            PyErr_SetString(PyExc_OverflowError,
   71|      0|                    "Parser column offset overflow - source line is too big");
   72|      0|            return -1;
   73|      0|        default:
  ------------------
  |  Branch (73:9): [True: 0, False: 1.28k]
  ------------------
   74|      0|            msg = "unknown parsing error";
   75|  1.28k|    }
   76|       |
   77|    121|    RAISE_ERROR_KNOWN_LOCATION(p, errtype, p->tok->lineno,
   78|    121|                               col_offset >= 0 ? col_offset : 0,
  ------------------
  |  Branch (78:32): [True: 119, False: 2]
  ------------------
   79|    121|                               p->tok->lineno, -1, msg);
   80|    121|    return -1;
   81|  1.28k|}
_Pypegen_raise_decode_error:
   85|    876|{
   86|    876|    assert(PyErr_Occurred());
  ------------------
  |  Branch (86:5): [True: 876, False: 0]
  ------------------
   87|    876|    const char *errtype = NULL;
   88|    876|    if (PyErr_ExceptionMatches(PyExc_UnicodeError)) {
  ------------------
  |  Branch (88:9): [True: 856, False: 20]
  ------------------
   89|    856|        errtype = "unicode error";
   90|    856|    }
   91|     20|    else if (PyErr_ExceptionMatches(PyExc_ValueError)) {
  ------------------
  |  Branch (91:14): [True: 8, False: 12]
  ------------------
   92|      8|        errtype = "value error";
   93|      8|    }
   94|    876|    if (errtype) {
  ------------------
  |  Branch (94:9): [True: 864, False: 12]
  ------------------
   95|    864|        PyObject *type;
   96|    864|        PyObject *value;
   97|    864|        PyObject *tback;
   98|    864|        PyObject *errstr;
   99|    864|        PyErr_Fetch(&type, &value, &tback);
  100|    864|        errstr = PyObject_Str(value);
  101|    864|        if (errstr) {
  ------------------
  |  Branch (101:13): [True: 864, False: 0]
  ------------------
  102|    864|            RAISE_SYNTAX_ERROR("(%s) %U", errtype, errstr);
  ------------------
  |  |  207|    864|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  103|    864|            Py_DECREF(errstr);
  ------------------
  |  |  430|    864|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    864|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    864|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  104|    864|        }
  105|      0|        else {
  106|      0|            PyErr_Clear();
  107|      0|            RAISE_SYNTAX_ERROR("(%s) unknown error", errtype);
  ------------------
  |  |  207|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  108|      0|        }
  109|    864|        Py_XDECREF(type);
  ------------------
  |  |  524|    864|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    864|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    864|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  110|    864|        Py_XDECREF(value);
  ------------------
  |  |  524|    864|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    864|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    864|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  111|    864|        Py_XDECREF(tback);
  ------------------
  |  |  524|    864|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    864|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    864|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  112|    864|    }
  113|       |
  114|    876|    return -1;
  115|    876|}
_PyPegen_raise_error:
  183|  2.45k|{
  184|       |    // Bail out if we already have an error set.
  185|  2.45k|    if (p->error_indicator && PyErr_Occurred()) {
  ------------------
  |  Branch (185:9): [True: 742, False: 1.71k]
  |  Branch (185:31): [True: 161, False: 581]
  ------------------
  186|    161|        return NULL;
  187|    161|    }
  188|  2.29k|    if (p->fill == 0) {
  ------------------
  |  Branch (188:9): [True: 0, False: 2.29k]
  ------------------
  189|      0|        va_list va;
  190|      0|        va_start(va, errmsg);
  191|      0|        _PyPegen_raise_error_known_location(p, errtype, 0, 0, 0, -1, errmsg, va);
  192|      0|        va_end(va);
  193|      0|        return NULL;
  194|      0|    }
  195|  2.29k|    if (use_mark && p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (195:9): [True: 201, False: 2.09k]
  |  Branch (195:21): [True: 0, False: 201]
  |  Branch (195:43): [True: 0, False: 0]
  ------------------
  196|      0|        p->error_indicator = 1;
  197|      0|        return NULL;
  198|      0|    }
  199|  2.29k|    Token *t = p->known_err_token != NULL
  ------------------
  |  Branch (199:16): [True: 0, False: 2.29k]
  ------------------
  200|  2.29k|                   ? p->known_err_token
  201|  2.29k|                   : p->tokens[use_mark ? p->mark : p->fill - 1];
  ------------------
  |  Branch (201:32): [True: 201, False: 2.09k]
  ------------------
  202|  2.29k|    Py_ssize_t col_offset;
  203|  2.29k|    Py_ssize_t end_col_offset = -1;
  204|  2.29k|    if (t->col_offset == -1) {
  ------------------
  |  Branch (204:9): [True: 1.45k, False: 835]
  ------------------
  205|  1.45k|        if (p->tok->cur == p->tok->buf) {
  ------------------
  |  Branch (205:13): [True: 8, False: 1.45k]
  ------------------
  206|      8|            col_offset = 0;
  207|  1.45k|        } else {
  208|  1.45k|            const char* start = p->tok->buf  ? p->tok->line_start : p->tok->buf;
  ------------------
  |  Branch (208:33): [True: 1.45k, False: 0]
  ------------------
  209|  1.45k|            col_offset = Py_SAFE_DOWNCAST(p->tok->cur - start, intptr_t, int);
  ------------------
  |  |  247|  1.45k|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|  1.45k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  210|  1.45k|        }
  211|  1.45k|    } else {
  212|    835|        col_offset = t->col_offset + 1;
  213|    835|    }
  214|       |
  215|  2.29k|    if (t->end_col_offset != -1) {
  ------------------
  |  Branch (215:9): [True: 835, False: 1.45k]
  ------------------
  216|    835|        end_col_offset = t->end_col_offset + 1;
  217|    835|    }
  218|       |
  219|  2.29k|    va_list va;
  220|  2.29k|    va_start(va, errmsg);
  221|  2.29k|    _PyPegen_raise_error_known_location(p, errtype, t->lineno, col_offset, t->end_lineno, end_col_offset, errmsg, va);
  222|  2.29k|    va_end(va);
  223|       |
  224|       |    return NULL;
  225|  2.29k|}
_PyPegen_raise_error_known_location:
  275|  9.80k|{
  276|       |    // Bail out if we already have an error set.
  277|  9.80k|    if (p->error_indicator && PyErr_Occurred()) {
  ------------------
  |  Branch (277:9): [True: 2.97k, False: 6.83k]
  |  Branch (277:31): [True: 1.02k, False: 1.95k]
  ------------------
  278|  1.02k|        return NULL;
  279|  1.02k|    }
  280|  8.78k|    PyObject *value = NULL;
  281|  8.78k|    PyObject *errstr = NULL;
  282|  8.78k|    PyObject *error_line = NULL;
  283|  8.78k|    PyObject *tmp = NULL;
  284|  8.78k|    p->error_indicator = 1;
  285|       |
  286|  8.78k|    if (end_lineno == CURRENT_POS) {
  ------------------
  |  |   27|  8.78k|#define CURRENT_POS (-5)
  ------------------
  |  Branch (286:9): [True: 29, False: 8.75k]
  ------------------
  287|     29|        end_lineno = p->tok->lineno;
  288|     29|    }
  289|  8.78k|    if (end_col_offset == CURRENT_POS) {
  ------------------
  |  |   27|  8.78k|#define CURRENT_POS (-5)
  ------------------
  |  Branch (289:9): [True: 29, False: 8.75k]
  ------------------
  290|     29|        end_col_offset = p->tok->cur - p->tok->line_start;
  291|     29|    }
  292|       |
  293|  8.78k|    errstr = PyUnicode_FromFormatV(errmsg, va);
  294|  8.78k|    if (!errstr) {
  ------------------
  |  Branch (294:9): [True: 0, False: 8.78k]
  ------------------
  295|      0|        goto error;
  296|      0|    }
  297|       |
  298|  8.78k|    if (p->tok->fp_interactive && p->tok->interactive_src_start != NULL) {
  ------------------
  |  Branch (298:9): [True: 0, False: 8.78k]
  |  Branch (298:35): [True: 0, False: 0]
  ------------------
  299|      0|        error_line = get_error_line_from_tokenizer_buffers(p, lineno);
  300|      0|    }
  301|  8.78k|    else if (p->start_rule == Py_file_input) {
  ------------------
  |  |    9|  8.78k|#define Py_file_input 257
  ------------------
  |  Branch (301:14): [True: 4.72k, False: 4.06k]
  ------------------
  302|  4.72k|        error_line = _PyErr_ProgramDecodedTextObject(p->tok->filename,
  303|  4.72k|                                                     (int) lineno, p->tok->encoding);
  304|  4.72k|    }
  305|       |
  306|  8.78k|    if (!error_line) {
  ------------------
  |  Branch (306:9): [True: 8.78k, False: 0]
  ------------------
  307|       |        /* PyErr_ProgramTextObject was not called or returned NULL. If it was not called,
  308|       |           then we need to find the error line from some other source, because
  309|       |           p->start_rule != Py_file_input. If it returned NULL, then it either unexpectedly
  310|       |           failed or we're parsing from a string or the REPL. There's a third edge case where
  311|       |           we're actually parsing from a file, which has an E_EOF SyntaxError and in that case
  312|       |           `PyErr_ProgramTextObject` fails because lineno points to last_file_line + 1, which
  313|       |           does not physically exist */
  314|  8.78k|        assert(p->tok->fp == NULL || p->tok->fp == stdin || p->tok->done == E_EOF);
  ------------------
  |  Branch (314:9): [True: 8.78k, False: 0]
  |  Branch (314:9): [True: 0, False: 0]
  |  Branch (314:9): [True: 0, False: 0]
  ------------------
  315|       |
  316|  8.78k|        if (p->tok->lineno <= lineno && p->tok->inp > p->tok->buf) {
  ------------------
  |  Branch (316:13): [True: 8.49k, False: 289]
  |  Branch (316:41): [True: 8.49k, False: 6]
  ------------------
  317|  8.49k|            Py_ssize_t size = p->tok->inp - p->tok->line_start;
  318|  8.49k|            error_line = PyUnicode_DecodeUTF8(p->tok->line_start, size, "replace");
  319|  8.49k|        }
  320|    295|        else if (p->tok->fp == NULL || p->tok->fp == stdin) {
  ------------------
  |  Branch (320:18): [True: 295, False: 0]
  |  Branch (320:40): [True: 0, False: 0]
  ------------------
  321|    295|            error_line = get_error_line_from_tokenizer_buffers(p, lineno);
  322|    295|        }
  323|      0|        else {
  324|      0|            error_line = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  325|      0|        }
  326|  8.78k|        if (!error_line) {
  ------------------
  |  Branch (326:13): [True: 0, False: 8.78k]
  ------------------
  327|      0|            goto error;
  328|      0|        }
  329|  8.78k|    }
  330|       |
  331|  8.78k|    Py_ssize_t col_number = col_offset;
  332|  8.78k|    Py_ssize_t end_col_number = end_col_offset;
  333|       |
  334|  8.78k|    col_number = _PyPegen_byte_offset_to_character_offset(error_line, col_offset);
  335|  8.78k|    if (col_number < 0) {
  ------------------
  |  Branch (335:9): [True: 0, False: 8.78k]
  ------------------
  336|      0|        goto error;
  337|      0|    }
  338|       |
  339|  8.78k|    if (end_col_offset > 0) {
  ------------------
  |  Branch (339:9): [True: 5.88k, False: 2.90k]
  ------------------
  340|  5.88k|        end_col_number = _PyPegen_byte_offset_to_character_offset(error_line, end_col_offset);
  341|  5.88k|        if (end_col_number < 0) {
  ------------------
  |  Branch (341:13): [True: 0, False: 5.88k]
  ------------------
  342|      0|            goto error;
  343|      0|        }
  344|  5.88k|    }
  345|       |
  346|  8.78k|    tmp = Py_BuildValue("(OnnNnn)", p->tok->filename, lineno, col_number, error_line, end_lineno, end_col_number);
  347|  8.78k|    if (!tmp) {
  ------------------
  |  Branch (347:9): [True: 0, False: 8.78k]
  ------------------
  348|      0|        goto error;
  349|      0|    }
  350|  8.78k|    value = _PyTuple_FromPair(errstr, tmp);
  351|  8.78k|    Py_DECREF(tmp);
  ------------------
  |  |  430|  8.78k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  352|  8.78k|    if (!value) {
  ------------------
  |  Branch (352:9): [True: 0, False: 8.78k]
  ------------------
  353|      0|        goto error;
  354|      0|    }
  355|  8.78k|    PyErr_SetObject(errtype, value);
  356|       |
  357|  8.78k|    Py_DECREF(errstr);
  ------------------
  |  |  430|  8.78k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  358|  8.78k|    Py_DECREF(value);
  ------------------
  |  |  430|  8.78k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  359|  8.78k|    return NULL;
  360|       |
  361|      0|error:
  362|      0|    Py_XDECREF(errstr);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  363|      0|    Py_XDECREF(error_line);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  364|       |    return NULL;
  365|  8.78k|}
_Pypegen_set_syntax_error:
  368|  9.07k|_Pypegen_set_syntax_error(Parser* p, Token* last_token) {
  369|       |    // Existing syntax error
  370|  9.07k|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (370:9): [True: 4.96k, False: 4.11k]
  ------------------
  371|       |        // Prioritize tokenizer errors to custom syntax errors raised
  372|       |        // on the second phase only if the errors come from the parser.
  373|  4.96k|        int is_tok_ok = (p->tok->done == E_DONE || p->tok->done == E_OK);
  ------------------
  |  |   28|  9.92k|#define E_DONE           16      /* Parsing complete */
  ------------------
                      int is_tok_ok = (p->tok->done == E_DONE || p->tok->done == E_OK);
  ------------------
  |  |   22|  4.96k|#define E_OK             10      /* No error */
  ------------------
  |  Branch (373:26): [True: 0, False: 4.96k]
  |  Branch (373:52): [True: 1.71k, False: 3.25k]
  ------------------
  374|  4.96k|        if (is_tok_ok && PyErr_ExceptionMatches(PyExc_SyntaxError)) {
  ------------------
  |  Branch (374:13): [True: 1.71k, False: 3.25k]
  |  Branch (374:26): [True: 1.66k, False: 50]
  ------------------
  375|  1.66k|            _PyPegen_tokenize_full_source_to_check_for_errors(p);
  376|  1.66k|        }
  377|       |        // Propagate the existing syntax error.
  378|  4.96k|        return;
  379|  4.96k|    }
  380|       |    // Initialization error
  381|  4.11k|    if (p->fill == 0) {
  ------------------
  |  Branch (381:9): [True: 0, False: 4.11k]
  ------------------
  382|      0|        RAISE_SYNTAX_ERROR("error at start before reading any input");
  ------------------
  |  |  207|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  383|      0|    }
  384|       |    // Parser encountered EOF (End of File) unexpectedtly
  385|  4.11k|    if (last_token->type == ERRORTOKEN && p->tok->done == E_EOF) {
  ------------------
  |  |   83|  8.22k|#define ERRORTOKEN      67
  ------------------
                  if (last_token->type == ERRORTOKEN && p->tok->done == E_EOF) {
  ------------------
  |  |   23|      0|#define E_EOF            11      /* End Of File */
  ------------------
  |  Branch (385:9): [True: 0, False: 4.11k]
  |  Branch (385:43): [True: 0, False: 0]
  ------------------
  386|      0|        if (p->tok->level) {
  ------------------
  |  Branch (386:13): [True: 0, False: 0]
  ------------------
  387|      0|            raise_unclosed_parentheses_error(p);
  388|      0|        } else {
  389|      0|            RAISE_SYNTAX_ERROR("unexpected EOF while parsing");
  ------------------
  |  |  207|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  390|      0|        }
  391|      0|        return;
  392|      0|    }
  393|       |    // Indentation error in the tokenizer
  394|  4.11k|    if (last_token->type == INDENT || last_token->type == DEDENT) {
  ------------------
  |  |   21|  8.22k|#define INDENT          5
  ------------------
                  if (last_token->type == INDENT || last_token->type == DEDENT) {
  ------------------
  |  |   22|  4.05k|#define DEDENT          6
  ------------------
  |  Branch (394:9): [True: 63, False: 4.05k]
  |  Branch (394:39): [True: 2, False: 4.04k]
  ------------------
  395|     65|        RAISE_INDENTATION_ERROR(last_token->type == INDENT ? "unexpected indent" : "unexpected unindent");
  ------------------
  |  |  208|    130|#define RAISE_INDENTATION_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_IndentationError, 0, msg, ##__VA_ARGS__)
  |  |  ------------------
  |  |  |  Branch (208:94): [True: 63, False: 2]
  |  |  ------------------
  ------------------
  396|     65|        return;
  397|     65|    }
  398|       |    // Unknown error (generic case)
  399|       |
  400|       |    // Use the last token we found on the first pass to avoid reporting
  401|       |    // incorrect locations for generic syntax errors just because we reached
  402|       |    // further away when trying to find specific syntax errors in the second
  403|       |    // pass.
  404|  4.04k|    RAISE_SYNTAX_ERROR_KNOWN_LOCATION(last_token, "invalid syntax");
  ------------------
  |  |  213|  4.04k|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  405|       |    // _PyPegen_tokenize_full_source_to_check_for_errors will override the existing
  406|       |    // generic SyntaxError we just raised if errors are found.
  407|  4.04k|    _PyPegen_tokenize_full_source_to_check_for_errors(p);
  408|  4.04k|}
_Pypegen_stack_overflow:
  412|     54|{
  413|     54|    p->error_indicator = 1;
  414|     54|    PyErr_SetString(PyExc_MemoryError,
  415|     54|        "Parser stack overflowed - Python source too complex to parse");
  416|     54|}
pegen_errors.c:raise_unclosed_parentheses_error:
   14|  1.24k|raise_unclosed_parentheses_error(Parser *p) {
   15|  1.24k|       int error_lineno = p->tok->parenlinenostack[p->tok->level-1];
   16|  1.24k|       int error_col = p->tok->parencolstack[p->tok->level-1];
   17|  1.24k|       RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError,
   18|  1.24k|                                  error_lineno, error_col, error_lineno, -1,
   19|  1.24k|                                  "'%c' was never closed",
   20|  1.24k|                                  p->tok->parenstack[p->tok->level-1]);
   21|  1.24k|}
pegen_errors.c:get_error_line_from_tokenizer_buffers:
  229|    295|{
  230|       |    /* If the file descriptor is interactive, the source lines of the current
  231|       |     * (multi-line) statement are stored in p->tok->interactive_src_start.
  232|       |     * If not, we're parsing from a string, which means that the whole source
  233|       |     * is stored in p->tok->str. */
  234|    295|    assert((p->tok->fp == NULL && p->tok->str != NULL) || p->tok->fp != NULL);
  ------------------
  |  Branch (234:5): [True: 295, False: 0]
  |  Branch (234:5): [True: 295, False: 0]
  |  Branch (234:5): [True: 0, False: 0]
  ------------------
  235|       |
  236|    295|    char *cur_line = p->tok->fp_interactive ? p->tok->interactive_src_start : p->tok->str;
  ------------------
  |  Branch (236:22): [True: 0, False: 295]
  ------------------
  237|    295|    if (cur_line == NULL) {
  ------------------
  |  Branch (237:9): [True: 0, False: 295]
  ------------------
  238|      0|        assert(p->tok->fp_interactive);
  ------------------
  |  Branch (238:9): [True: 0, False: 0]
  ------------------
  239|       |        // We can reach this point if the tokenizer buffers for interactive source have not been
  240|       |        // initialized because we failed to decode the original source with the given locale.
  241|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  242|      0|    }
  243|       |
  244|    295|    Py_ssize_t relative_lineno = p->starting_lineno ? lineno - p->starting_lineno + 1 : lineno;
  ------------------
  |  Branch (244:34): [True: 0, False: 295]
  ------------------
  245|    295|    const char* buf_end = p->tok->fp_interactive ? p->tok->interactive_src_end : p->tok->inp;
  ------------------
  |  Branch (245:27): [True: 0, False: 295]
  ------------------
  246|       |
  247|    295|    if (buf_end < cur_line) {
  ------------------
  |  Branch (247:9): [True: 0, False: 295]
  ------------------
  248|      0|        buf_end = cur_line + strlen(cur_line);
  249|      0|    }
  250|       |
  251|  7.88k|    for (int i = 0; i < relative_lineno - 1; i++) {
  ------------------
  |  Branch (251:21): [True: 7.58k, False: 295]
  ------------------
  252|  7.58k|        char *new_line = strchr(cur_line, '\n');
  253|       |        // The assert is here for debug builds but the conditional that
  254|       |        // follows is there so in release builds we do not crash at the cost
  255|       |        // to report a potentially wrong line.
  256|  7.58k|        assert(new_line != NULL && new_line + 1 < buf_end);
  ------------------
  |  Branch (256:9): [True: 7.58k, False: 0]
  |  Branch (256:9): [True: 7.58k, False: 0]
  ------------------
  257|  7.58k|        if (new_line == NULL || new_line + 1 > buf_end) {
  ------------------
  |  Branch (257:13): [True: 0, False: 7.58k]
  |  Branch (257:33): [True: 0, False: 7.58k]
  ------------------
  258|      0|            break;
  259|      0|        }
  260|  7.58k|        cur_line = new_line + 1;
  261|  7.58k|    }
  262|       |
  263|    295|    char *next_newline;
  264|    295|    if ((next_newline = strchr(cur_line, '\n')) == NULL) { // This is the last line
  ------------------
  |  Branch (264:9): [True: 6, False: 289]
  ------------------
  265|      6|        next_newline = cur_line + strlen(cur_line);
  266|      6|    }
  267|    295|    return PyUnicode_DecodeUTF8(cur_line, next_newline - cur_line, "replace");
  268|    295|}
pegen_errors.c:_PyPegen_tokenize_full_source_to_check_for_errors:
  118|  5.71k|_PyPegen_tokenize_full_source_to_check_for_errors(Parser *p) {
  119|       |    // Tokenize the whole input to see if there are any tokenization
  120|       |    // errors such as mismatching parentheses. These will get priority
  121|       |    // over generic syntax errors only if the line number of the error is
  122|       |    // before the one that we had for the generic error.
  123|       |
  124|       |    // We don't want to tokenize to the end for interactive input
  125|  5.71k|    if (p->tok->prompt != NULL) {
  ------------------
  |  Branch (125:9): [True: 0, False: 5.71k]
  ------------------
  126|      0|        return 0;
  127|      0|    }
  128|       |
  129|  5.71k|    PyObject *type, *value, *traceback;
  130|  5.71k|    PyErr_Fetch(&type, &value, &traceback);
  131|       |
  132|  5.71k|    Token *current_token = p->known_err_token != NULL ? p->known_err_token : p->tokens[p->fill - 1];
  ------------------
  |  Branch (132:28): [True: 0, False: 5.71k]
  ------------------
  133|  5.71k|    Py_ssize_t current_err_line = current_token->lineno;
  134|       |
  135|  5.71k|    int ret = 0;
  136|  5.71k|    struct token new_token;
  137|  5.71k|    _PyToken_Init(&new_token);
  138|       |
  139|   170k|    for (;;) {
  140|   170k|        switch (_PyTokenizer_Get(p->tok, &new_token)) {
  141|  3.25k|            case ERRORTOKEN:
  ------------------
  |  |   83|  3.25k|#define ERRORTOKEN      67
  ------------------
  |  Branch (141:13): [True: 3.25k, False: 166k]
  ------------------
  142|  3.25k|                if (PyErr_Occurred()) {
  ------------------
  |  Branch (142:21): [True: 1.61k, False: 1.64k]
  ------------------
  143|  1.61k|                    ret = -1;
  144|  1.61k|                    goto exit;
  145|  1.61k|                }
  146|  1.64k|                if (p->tok->level != 0) {
  ------------------
  |  Branch (146:21): [True: 1.57k, False: 65]
  ------------------
  147|  1.57k|                    int error_lineno = p->tok->parenlinenostack[p->tok->level-1];
  148|  1.57k|                    if (current_err_line > error_lineno) {
  ------------------
  |  Branch (148:25): [True: 98, False: 1.47k]
  ------------------
  149|     98|                        raise_unclosed_parentheses_error(p);
  150|     98|                        ret = -1;
  151|     98|                        goto exit;
  152|     98|                    }
  153|  1.57k|                }
  154|  1.54k|                break;
  155|  2.45k|            case ENDMARKER:
  ------------------
  |  |   16|  2.45k|#define ENDMARKER       0
  ------------------
  |  Branch (155:13): [True: 2.45k, False: 167k]
  ------------------
  156|  2.45k|                break;
  157|   164k|            default:
  ------------------
  |  Branch (157:13): [True: 164k, False: 5.71k]
  ------------------
  158|   164k|                continue;
  159|   170k|        }
  160|  4.00k|        break;
  161|   170k|    }
  162|       |
  163|       |
  164|  5.71k|exit:
  165|  5.71k|    _PyToken_Free(&new_token);
  166|       |    // If we're in an f-string, we want the syntax error in the expression part
  167|       |    // to propagate, so that tokenizer errors (like expecting '}') that happen afterwards
  168|       |    // do not swallow it.
  169|  5.71k|    if (PyErr_Occurred() && p->tok->tok_mode_stack_index <= 0) {
  ------------------
  |  Branch (169:9): [True: 1.71k, False: 4.00k]
  |  Branch (169:29): [True: 1.47k, False: 239]
  ------------------
  170|  1.47k|        Py_XDECREF(value);
  ------------------
  |  |  524|  1.47k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  171|  1.47k|        Py_XDECREF(type);
  ------------------
  |  |  524|  1.47k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  172|  1.47k|        Py_XDECREF(traceback);
  ------------------
  |  |  524|  1.47k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  173|  4.24k|    } else {
  174|  4.24k|        PyErr_Restore(type, value, traceback);
  175|  4.24k|    }
  176|  5.71k|    return ret;
  177|  5.71k|}

_PyPegen_decode_string:
  243|   138k|{
  244|   138k|    if (raw) {
  ------------------
  |  Branch (244:9): [True: 104k, False: 33.9k]
  ------------------
  245|   104k|        return PyUnicode_DecodeUTF8Stateful(s, (Py_ssize_t)len, NULL, NULL);
  246|   104k|    }
  247|  33.9k|    return decode_unicode_with_escapes(p, s, len, t);
  248|   138k|}
_PyPegen_parse_string:
  255|  79.9k|{
  256|  79.9k|    const char *s = PyBytes_AsString(t->bytes);
  257|  79.9k|    if (s == NULL) {
  ------------------
  |  Branch (257:9): [True: 0, False: 79.9k]
  ------------------
  258|      0|        return NULL;
  259|      0|    }
  260|       |
  261|  79.9k|    size_t len;
  262|  79.9k|    int quote = Py_CHARMASK(*s);
  ------------------
  |  |  138|  79.9k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  263|  79.9k|    int bytesmode = 0;
  264|  79.9k|    int rawmode = 0;
  265|       |
  266|  79.9k|    if (Py_ISALPHA(quote)) {
  ------------------
  |  |   23|  79.9k|#define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |  138|  79.9k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |   10|  79.9k|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|  79.9k|#define PY_CTF_LOWER  0x01
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    9|  79.9k|#define PY_CTF_UPPER  0x02
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (23:24): [True: 30.6k, False: 49.3k]
  |  |  ------------------
  ------------------
  267|  67.5k|        while (!bytesmode || !rawmode) {
  ------------------
  |  Branch (267:16): [True: 44.1k, False: 23.4k]
  |  Branch (267:30): [True: 17.2k, False: 6.20k]
  ------------------
  268|  61.3k|            if (quote == 'b' || quote == 'B') {
  ------------------
  |  Branch (268:17): [True: 16.9k, False: 44.3k]
  |  Branch (268:33): [True: 5.34k, False: 38.9k]
  ------------------
  269|  22.3k|                quote =(unsigned char)*++s;
  270|  22.3k|                bytesmode = 1;
  271|  22.3k|            }
  272|  38.9k|            else if (quote == 'u' || quote == 'U') {
  ------------------
  |  Branch (272:22): [True: 4.96k, False: 34.0k]
  |  Branch (272:38): [True: 589, False: 33.4k]
  ------------------
  273|  5.54k|                quote = (unsigned char)*++s;
  274|  5.54k|            }
  275|  33.4k|            else if (quote == 'r' || quote == 'R') {
  ------------------
  |  Branch (275:22): [True: 8.88k, False: 24.5k]
  |  Branch (275:38): [True: 73, False: 24.4k]
  ------------------
  276|  8.96k|                quote = (unsigned char)*++s;
  277|  8.96k|                rawmode = 1;
  278|  8.96k|            }
  279|  24.4k|            else {
  280|  24.4k|                break;
  281|  24.4k|            }
  282|  61.3k|        }
  283|  30.6k|    }
  284|       |
  285|  79.9k|    if (quote != '\'' && quote != '\"') {
  ------------------
  |  Branch (285:9): [True: 56.4k, False: 23.5k]
  |  Branch (285:26): [True: 0, False: 56.4k]
  ------------------
  286|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  287|      0|        return NULL;
  288|      0|    }
  289|       |
  290|       |    /* Skip the leading quote char. */
  291|  79.9k|    s++;
  292|  79.9k|    len = strlen(s);
  293|       |    // gh-120155: 's' contains at least the trailing quote,
  294|       |    // so the code '--len' below is safe.
  295|  79.9k|    assert(len >= 1);
  ------------------
  |  Branch (295:5): [True: 79.9k, False: 0]
  ------------------
  296|       |
  297|  79.9k|    if (len > INT_MAX) {
  ------------------
  |  Branch (297:9): [True: 0, False: 79.9k]
  ------------------
  298|      0|        PyErr_SetString(PyExc_OverflowError, "string to parse is too long");
  299|      0|        return NULL;
  300|      0|    }
  301|  79.9k|    if (s[--len] != quote) {
  ------------------
  |  Branch (301:9): [True: 0, False: 79.9k]
  ------------------
  302|       |        /* Last quote char must match the first. */
  303|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  304|      0|        return NULL;
  305|      0|    }
  306|  79.9k|    if (len >= 4 && s[0] == quote && s[1] == quote) {
  ------------------
  |  Branch (306:9): [True: 35.3k, False: 44.6k]
  |  Branch (306:21): [True: 13.5k, False: 21.8k]
  |  Branch (306:38): [True: 13.5k, False: 0]
  ------------------
  307|       |        /* A triple quoted string. We've already skipped one quote at
  308|       |           the start and one at the end of the string. Now skip the
  309|       |           two at the start. */
  310|  13.5k|        s += 2;
  311|  13.5k|        len -= 2;
  312|       |        /* And check that the last two match. */
  313|  13.5k|        if (s[--len] != quote || s[--len] != quote) {
  ------------------
  |  Branch (313:13): [True: 0, False: 13.5k]
  |  Branch (313:34): [True: 0, False: 13.5k]
  ------------------
  314|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  315|      0|            return NULL;
  316|      0|        }
  317|  13.5k|    }
  318|       |
  319|       |    /* Avoid invoking escape decoding routines if possible. */
  320|  79.9k|    rawmode = rawmode || strchr(s, '\\') == NULL;
  ------------------
  |  Branch (320:15): [True: 8.96k, False: 71.0k]
  |  Branch (320:26): [True: 57.4k, False: 13.5k]
  ------------------
  321|  79.9k|    if (bytesmode) {
  ------------------
  |  Branch (321:9): [True: 22.3k, False: 57.6k]
  ------------------
  322|       |        /* Disallow non-ASCII characters. */
  323|  22.3k|        const char *ch;
  324|   546k|        for (ch = s; *ch; ch++) {
  ------------------
  |  Branch (324:22): [True: 523k, False: 22.3k]
  ------------------
  325|   523k|            if (Py_CHARMASK(*ch) >= 0x80) {
  ------------------
  |  |  138|   523k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (325:17): [True: 12, False: 523k]
  ------------------
  326|     12|                RAISE_SYNTAX_ERROR_KNOWN_LOCATION(
  ------------------
  |  |  213|     12|    RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, (a)->lineno, (a)->col_offset, (a)->end_lineno, (a)->end_col_offset, msg, ##__VA_ARGS__)
  ------------------
  327|     12|                                   t,
  328|     12|                                   "bytes can only contain ASCII "
  329|     12|                                   "literal characters");
  330|     12|                return NULL;
  331|     12|            }
  332|   523k|        }
  333|  22.3k|        if (rawmode) {
  ------------------
  |  Branch (333:13): [True: 16.1k, False: 6.14k]
  ------------------
  334|  16.1k|            return PyBytes_FromStringAndSize(s, (Py_ssize_t)len);
  335|  16.1k|        }
  336|  6.14k|        return decode_bytes_with_escapes(p, s, (Py_ssize_t)len, t);
  337|  22.3k|    }
  338|  57.6k|    return _PyPegen_decode_string(p, rawmode, s, len, t);
  339|  79.9k|}
string_parser.c:decode_unicode_with_escapes:
  136|  33.9k|{
  137|  33.9k|    PyObject *v;
  138|  33.9k|    PyObject *u;
  139|  33.9k|    char *buf;
  140|  33.9k|    char *p;
  141|  33.9k|    const char *end;
  142|       |
  143|       |    /* check for integer overflow */
  144|  33.9k|    if (len > (size_t)PY_SSIZE_T_MAX / 6) {
  ------------------
  |  |  137|  33.9k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (144:9): [True: 0, False: 33.9k]
  ------------------
  145|      0|        return NULL;
  146|      0|    }
  147|       |    /* "ä" (2 bytes) may become "\U000000E4" (10 bytes), or 1:5
  148|       |       "\ä" (3 bytes) may become "\u005c\U000000E4" (16 bytes), or ~1:6 */
  149|  33.9k|    u = PyBytes_FromStringAndSize((char *)NULL, (Py_ssize_t)len * 6);
  150|  33.9k|    if (u == NULL) {
  ------------------
  |  Branch (150:9): [True: 0, False: 33.9k]
  ------------------
  151|      0|        return NULL;
  152|      0|    }
  153|  33.9k|    p = buf = PyBytes_AsString(u);
  154|  33.9k|    if (p == NULL) {
  ------------------
  |  Branch (154:9): [True: 0, False: 33.9k]
  ------------------
  155|      0|        return NULL;
  156|      0|    }
  157|  33.9k|    end = s + len;
  158|  1.87M|    while (s < end) {
  ------------------
  |  Branch (158:12): [True: 1.84M, False: 31.8k]
  ------------------
  159|  1.84M|        if (*s == '\\') {
  ------------------
  |  Branch (159:13): [True: 143k, False: 1.70M]
  ------------------
  160|   143k|            *p++ = *s++;
  161|   143k|            if (s >= end || *s & 0x80) {
  ------------------
  |  Branch (161:17): [True: 2.14k, False: 141k]
  |  Branch (161:29): [True: 2.75k, False: 138k]
  ------------------
  162|  4.89k|                strcpy(p, "u005c");
  163|  4.89k|                p += 5;
  164|  4.89k|                if (s >= end) {
  ------------------
  |  Branch (164:21): [True: 2.14k, False: 2.75k]
  ------------------
  165|  2.14k|                    break;
  166|  2.14k|                }
  167|  4.89k|            }
  168|   143k|        }
  169|  1.84M|        if (*s & 0x80) {
  ------------------
  |  Branch (169:13): [True: 35.3k, False: 1.80M]
  ------------------
  170|  35.3k|            PyObject *w;
  171|  35.3k|            int kind;
  172|  35.3k|            const void *data;
  173|  35.3k|            Py_ssize_t w_len;
  174|  35.3k|            Py_ssize_t i;
  175|  35.3k|            w = decode_utf8(&s, end);
  176|  35.3k|            if (w == NULL) {
  ------------------
  |  Branch (176:17): [True: 15, False: 35.3k]
  ------------------
  177|     15|                Py_DECREF(u);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  178|     15|                return NULL;
  179|     15|            }
  180|  35.3k|            kind = PyUnicode_KIND(w);
  ------------------
  |  |  258|  35.3k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  70.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 35.3k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  181|  35.3k|            data = PyUnicode_DATA(w);
  ------------------
  |  |  284|  35.3k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  35.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  182|  35.3k|            w_len = PyUnicode_GET_LENGTH(w);
  ------------------
  |  |  299|  35.3k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  35.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  183|   245k|            for (i = 0; i < w_len; i++) {
  ------------------
  |  Branch (183:25): [True: 210k, False: 35.3k]
  ------------------
  184|   210k|                Py_UCS4 chr = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|   210k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   210k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   210k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   210k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   210k|                   (index))
  ------------------
  185|   210k|                sprintf(p, "\\U%08x", chr);
  186|   210k|                p += 10;
  187|   210k|            }
  188|       |            /* Should be impossible to overflow */
  189|  35.3k|            assert(p - buf <= PyBytes_GET_SIZE(u));
  ------------------
  |  Branch (189:13): [True: 35.3k, False: 0]
  ------------------
  190|  35.3k|            Py_DECREF(w);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|  35.3k|        }
  192|  1.80M|        else {
  193|  1.80M|            *p++ = *s++;
  194|  1.80M|        }
  195|  1.84M|    }
  196|  33.9k|    len = (size_t)(p - buf);
  197|  33.9k|    s = buf;
  198|       |
  199|  33.9k|    int first_invalid_escape_char;
  200|  33.9k|    const char *first_invalid_escape_ptr;
  201|  33.9k|    v = _PyUnicode_DecodeUnicodeEscapeInternal2(s, (Py_ssize_t)len, NULL, NULL,
  202|  33.9k|                                                &first_invalid_escape_char,
  203|  33.9k|                                                &first_invalid_escape_ptr);
  204|       |
  205|       |    // HACK: later we can simply pass the line no, since we don't preserve the tokens
  206|       |    // when we are decoding the string but we preserve the line numbers.
  207|  33.9k|    if (v != NULL && first_invalid_escape_ptr != NULL && t != NULL) {
  ------------------
  |  Branch (207:9): [True: 33.8k, False: 86]
  |  Branch (207:22): [True: 10.2k, False: 23.6k]
  |  Branch (207:58): [True: 10.2k, False: 0]
  ------------------
  208|  10.2k|        if (warn_invalid_escape_sequence(parser, s, first_invalid_escape_ptr, t) < 0) {
  ------------------
  |  Branch (208:13): [True: 0, False: 10.2k]
  ------------------
  209|       |            /* We have not decref u before because first_invalid_escape_ptr
  210|       |               points inside u. */
  211|      0|            Py_XDECREF(u);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  212|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  213|      0|            return NULL;
  214|      0|        }
  215|  10.2k|    }
  216|  33.9k|    Py_XDECREF(u);
  ------------------
  |  |  524|  33.9k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  33.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  217|  33.9k|    return v;
  218|  33.9k|}
string_parser.c:decode_utf8:
  123|  35.3k|{
  124|  35.3k|    const char *s;
  125|  35.3k|    const char *t;
  126|  35.3k|    t = s = *sPtr;
  127|   462k|    while (s < end && (*s & 0x80)) {
  ------------------
  |  Branch (127:12): [True: 462k, False: 606]
  |  Branch (127:23): [True: 427k, False: 34.7k]
  ------------------
  128|   427k|        s++;
  129|   427k|    }
  130|  35.3k|    *sPtr = s;
  131|       |    return PyUnicode_DecodeUTF8(t, s - t, NULL);
  132|  35.3k|}
string_parser.c:warn_invalid_escape_sequence:
   15|  14.9k|{
   16|  14.9k|    if (p->call_invalid_rules) {
  ------------------
  |  Branch (16:9): [True: 6.11k, False: 8.79k]
  ------------------
   17|       |        // Do not report warnings if we are in the second pass of the parser
   18|       |        // to avoid showing the warning twice.
   19|  6.11k|        return 0;
   20|  6.11k|    }
   21|  8.79k|    unsigned char c = (unsigned char)*first_invalid_escape;
   22|  8.79k|    if ((t->type == FSTRING_MIDDLE || t->type == FSTRING_END || t->type == TSTRING_MIDDLE || t->type == TSTRING_END)
  ------------------
  |  |   76|  17.5k|#define FSTRING_MIDDLE  60
  ------------------
                  if ((t->type == FSTRING_MIDDLE || t->type == FSTRING_END || t->type == TSTRING_MIDDLE || t->type == TSTRING_END)
  ------------------
  |  |   77|  17.1k|#define FSTRING_END     61
  ------------------
                  if ((t->type == FSTRING_MIDDLE || t->type == FSTRING_END || t->type == TSTRING_MIDDLE || t->type == TSTRING_END)
  ------------------
  |  |   79|  14.8k|#define TSTRING_MIDDLE  63
  ------------------
                  if ((t->type == FSTRING_MIDDLE || t->type == FSTRING_END || t->type == TSTRING_MIDDLE || t->type == TSTRING_END)
  ------------------
  |  |   80|  5.90k|#define TSTRING_END     64
  ------------------
  |  Branch (22:10): [True: 410, False: 8.38k]
  |  Branch (22:39): [True: 2.36k, False: 6.02k]
  |  Branch (22:65): [True: 121, False: 5.90k]
  |  Branch (22:94): [True: 1.41k, False: 4.49k]
  ------------------
   23|  4.30k|            && (c == '{' || c == '}')) {
  ------------------
  |  Branch (23:17): [True: 897, False: 3.41k]
  |  Branch (23:29): [True: 1.14k, False: 2.26k]
  ------------------
   24|       |        // in this case the tokenizer has already emitted a warning,
   25|       |        // see Parser/tokenizer/helpers.c:warn_invalid_escape_sequence
   26|  2.03k|        return 0;
   27|  2.03k|    }
   28|       |
   29|  6.76k|    int octal = ('4' <= c && c <= '7');
  ------------------
  |  Branch (29:18): [True: 5.04k, False: 1.71k]
  |  Branch (29:30): [True: 1.80k, False: 3.24k]
  ------------------
   30|  6.76k|    PyObject *msg =
   31|  6.76k|        octal
  ------------------
  |  Branch (31:9): [True: 1.80k, False: 4.95k]
  ------------------
   32|  6.76k|        ? PyUnicode_FromFormat(
   33|  1.80k|              "\"\\%.3s\" is an invalid octal escape sequence. "
   34|  1.80k|              "Such sequences will not work in the future. "
   35|  1.80k|              "Did you mean \"\\\\%.3s\"? A raw string is also an option.",
   36|  1.80k|              first_invalid_escape, first_invalid_escape)
   37|  6.76k|        : PyUnicode_FromFormat(
   38|  4.95k|              "\"\\%c\" is an invalid escape sequence. "
   39|  4.95k|              "Such sequences will not work in the future. "
   40|  4.95k|              "Did you mean \"\\\\%c\"? A raw string is also an option.",
   41|  4.95k|              c, c);
   42|  6.76k|    if (msg == NULL) {
  ------------------
  |  Branch (42:9): [True: 0, False: 6.76k]
  ------------------
   43|      0|        return -1;
   44|      0|    }
   45|  6.76k|    PyObject *category;
   46|  6.76k|    if (p->feature_version >= 12) {
  ------------------
  |  Branch (46:9): [True: 6.76k, False: 0]
  ------------------
   47|  6.76k|        category = PyExc_SyntaxWarning;
   48|  6.76k|    }
   49|      0|    else {
   50|      0|        category = PyExc_DeprecationWarning;
   51|      0|    }
   52|       |
   53|       |    // Calculate the lineno and the col_offset of the invalid escape sequence
   54|  6.76k|    const char *start = buffer;
   55|  6.76k|    const char *end = first_invalid_escape;
   56|  6.76k|    int lineno = t->lineno;
   57|  6.76k|    int col_offset = t->col_offset;
   58|   619k|    while (start < end) {
  ------------------
  |  Branch (58:12): [True: 612k, False: 6.76k]
  ------------------
   59|   612k|        if (*start == '\n') {
  ------------------
  |  Branch (59:13): [True: 15.5k, False: 596k]
  ------------------
   60|  15.5k|            lineno++;
   61|  15.5k|            col_offset = 0;
   62|  15.5k|        }
   63|   596k|        else {
   64|   596k|            col_offset++;
   65|   596k|        }
   66|   612k|        start++;
   67|   612k|    }
   68|       |
   69|       |    // Count the number of quotes in the token
   70|  6.76k|    char first_quote = 0;
   71|  6.76k|    if (lineno == t->lineno) {
  ------------------
  |  Branch (71:9): [True: 6.22k, False: 539]
  ------------------
   72|  6.22k|        int quote_count = 0;
   73|  6.22k|        char* tok = PyBytes_AsString(t->bytes);
   74|  12.3k|        for (int i = 0; i < PyBytes_Size(t->bytes); i++) {
  ------------------
  |  Branch (74:25): [True: 10.7k, False: 1.64k]
  ------------------
   75|  10.7k|            if (tok[i] == '\'' || tok[i] == '\"') {
  ------------------
  |  Branch (75:17): [True: 681, False: 10.0k]
  |  Branch (75:35): [True: 5.49k, False: 4.57k]
  ------------------
   76|  6.17k|                if (quote_count == 0) {
  ------------------
  |  Branch (76:21): [True: 3.18k, False: 2.99k]
  ------------------
   77|  3.18k|                    first_quote = tok[i];
   78|  3.18k|                }
   79|  6.17k|                if (tok[i] == first_quote) {
  ------------------
  |  Branch (79:21): [True: 6.08k, False: 86]
  ------------------
   80|  6.08k|                    quote_count++;
   81|  6.08k|                }
   82|  6.17k|            } else {
   83|  4.57k|                break;
   84|  4.57k|            }
   85|  10.7k|        }
   86|       |
   87|  6.22k|        col_offset += quote_count;
   88|  6.22k|    }
   89|       |
   90|  6.76k|    if (PyErr_WarnExplicitObject(category, msg, p->tok->filename,
  ------------------
  |  Branch (90:9): [True: 0, False: 6.76k]
  ------------------
   91|  6.76k|                                 lineno, p->tok->module, NULL) < 0) {
   92|      0|        if (PyErr_ExceptionMatches(category)) {
  ------------------
  |  Branch (92:13): [True: 0, False: 0]
  ------------------
   93|       |            /* Replace the Syntax/DeprecationWarning exception with a SyntaxError
   94|       |               to get a more accurate error report */
   95|      0|            PyErr_Clear();
   96|       |
   97|       |            /* This is needed, in order for the SyntaxError to point to the token t,
   98|       |               since _PyPegen_raise_error uses p->tokens[p->fill - 1] for the
   99|       |               error location, if p->known_err_token is not set. */
  100|      0|            p->known_err_token = t;
  101|      0|            if (octal) {
  ------------------
  |  Branch (101:17): [True: 0, False: 0]
  ------------------
  102|      0|                RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, lineno, col_offset-1, lineno, col_offset+1,
  103|      0|                    "\"\\%.3s\" is an invalid octal escape sequence. "
  104|      0|                    "Did you mean \"\\\\%.3s\"? A raw string is also an option.",
  105|      0|                    first_invalid_escape, first_invalid_escape);
  106|      0|            }
  107|      0|            else {
  108|      0|                RAISE_ERROR_KNOWN_LOCATION(p, PyExc_SyntaxError, lineno, col_offset-1, lineno, col_offset+1,
  109|      0|                    "\"\\%c\" is an invalid escape sequence. "
  110|      0|                    "Did you mean \"\\\\%c\"? A raw string is also an option.",
  111|      0|                    c, c);
  112|      0|            }
  113|      0|        }
  114|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  115|      0|        return -1;
  116|      0|    }
  117|  6.76k|    Py_DECREF(msg);
  ------------------
  |  |  430|  6.76k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  118|  6.76k|    return 0;
  119|  6.76k|}
string_parser.c:decode_bytes_with_escapes:
  222|  6.14k|{
  223|  6.14k|    int first_invalid_escape_char;
  224|  6.14k|    const char *first_invalid_escape_ptr;
  225|  6.14k|    PyObject *result = _PyBytes_DecodeEscape2(s, len, NULL,
  226|  6.14k|                                              &first_invalid_escape_char,
  227|  6.14k|                                              &first_invalid_escape_ptr);
  228|  6.14k|    if (result == NULL) {
  ------------------
  |  Branch (228:9): [True: 8, False: 6.13k]
  ------------------
  229|      8|        return NULL;
  230|      8|    }
  231|       |
  232|  6.13k|    if (first_invalid_escape_ptr != NULL) {
  ------------------
  |  Branch (232:9): [True: 4.64k, False: 1.49k]
  ------------------
  233|  4.64k|        if (warn_invalid_escape_sequence(p, s, first_invalid_escape_ptr, t) < 0) {
  ------------------
  |  Branch (233:13): [True: 0, False: 4.64k]
  ------------------
  234|      0|            Py_DECREF(result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  235|      0|            return NULL;
  236|      0|        }
  237|  4.64k|    }
  238|  6.13k|    return result;
  239|  6.13k|}

_PyToken_OneChar:
   85|  2.36M|{
   86|  2.36M|    switch (c1) {
  ------------------
  |  Branch (86:13): [True: 2.36M, False: 745]
  ------------------
   87|  5.88k|    case '!': return EXCLAMATION;
  ------------------
  |  |   70|  5.88k|#define EXCLAMATION     54
  ------------------
  |  Branch (87:5): [True: 5.88k, False: 2.36M]
  ------------------
   88|  62.2k|    case '%': return PERCENT;
  ------------------
  |  |   40|  62.2k|#define PERCENT         24
  ------------------
  |  Branch (88:5): [True: 62.2k, False: 2.30M]
  ------------------
   89|  20.3k|    case '&': return AMPER;
  ------------------
  |  |   35|  20.3k|#define AMPER           19
  ------------------
  |  Branch (89:5): [True: 20.3k, False: 2.34M]
  ------------------
   90|   142k|    case '(': return LPAR;
  ------------------
  |  |   23|   142k|#define LPAR            7
  ------------------
  |  Branch (90:5): [True: 142k, False: 2.22M]
  ------------------
   91|   100k|    case ')': return RPAR;
  ------------------
  |  |   24|   100k|#define RPAR            8
  ------------------
  |  Branch (91:5): [True: 100k, False: 2.26M]
  ------------------
   92|   223k|    case '*': return STAR;
  ------------------
  |  |   32|   223k|#define STAR            16
  ------------------
  |  Branch (92:5): [True: 223k, False: 2.14M]
  ------------------
   93|   292k|    case '+': return PLUS;
  ------------------
  |  |   30|   292k|#define PLUS            14
  ------------------
  |  Branch (93:5): [True: 292k, False: 2.07M]
  ------------------
   94|   390k|    case ',': return COMMA;
  ------------------
  |  |   28|   390k|#define COMMA           12
  ------------------
  |  Branch (94:5): [True: 390k, False: 1.97M]
  ------------------
   95|   372k|    case '-': return MINUS;
  ------------------
  |  |   31|   372k|#define MINUS           15
  ------------------
  |  Branch (95:5): [True: 372k, False: 1.99M]
  ------------------
   96|      0|    case '.': return DOT;
  ------------------
  |  |   39|      0|#define DOT             23
  ------------------
  |  Branch (96:5): [True: 0, False: 2.36M]
  ------------------
   97|  91.8k|    case '/': return SLASH;
  ------------------
  |  |   33|  91.8k|#define SLASH           17
  ------------------
  |  Branch (97:5): [True: 91.8k, False: 2.27M]
  ------------------
   98|   150k|    case ':': return COLON;
  ------------------
  |  |   27|   150k|#define COLON           11
  ------------------
  |  Branch (98:5): [True: 150k, False: 2.21M]
  ------------------
   99|  95.9k|    case ';': return SEMI;
  ------------------
  |  |   29|  95.9k|#define SEMI            13
  ------------------
  |  Branch (99:5): [True: 95.9k, False: 2.27M]
  ------------------
  100|  38.1k|    case '<': return LESS;
  ------------------
  |  |   36|  38.1k|#define LESS            20
  ------------------
  |  Branch (100:5): [True: 38.1k, False: 2.32M]
  ------------------
  101|  85.0k|    case '=': return EQUAL;
  ------------------
  |  |   38|  85.0k|#define EQUAL           22
  ------------------
  |  Branch (101:5): [True: 85.0k, False: 2.28M]
  ------------------
  102|  36.2k|    case '>': return GREATER;
  ------------------
  |  |   37|  36.2k|#define GREATER         21
  ------------------
  |  Branch (102:5): [True: 36.2k, False: 2.33M]
  ------------------
  103|  16.1k|    case '@': return AT;
  ------------------
  |  |   65|  16.1k|#define AT              49
  ------------------
  |  Branch (103:5): [True: 16.1k, False: 2.35M]
  ------------------
  104|  52.4k|    case '[': return LSQB;
  ------------------
  |  |   25|  52.4k|#define LSQB            9
  ------------------
  |  Branch (104:5): [True: 52.4k, False: 2.31M]
  ------------------
  105|  27.8k|    case ']': return RSQB;
  ------------------
  |  |   26|  27.8k|#define RSQB            10
  ------------------
  |  Branch (105:5): [True: 27.8k, False: 2.33M]
  ------------------
  106|  30.9k|    case '^': return CIRCUMFLEX;
  ------------------
  |  |   48|  30.9k|#define CIRCUMFLEX      32
  ------------------
  |  Branch (106:5): [True: 30.9k, False: 2.33M]
  ------------------
  107|  59.2k|    case '{': return LBRACE;
  ------------------
  |  |   41|  59.2k|#define LBRACE          25
  ------------------
  |  Branch (107:5): [True: 59.2k, False: 2.30M]
  ------------------
  108|  17.9k|    case '|': return VBAR;
  ------------------
  |  |   34|  17.9k|#define VBAR            18
  ------------------
  |  Branch (108:5): [True: 17.9k, False: 2.34M]
  ------------------
  109|  34.6k|    case '}': return RBRACE;
  ------------------
  |  |   42|  34.6k|#define RBRACE          26
  ------------------
  |  Branch (109:5): [True: 34.6k, False: 2.33M]
  ------------------
  110|  19.4k|    case '~': return TILDE;
  ------------------
  |  |   47|  19.4k|#define TILDE           31
  ------------------
  |  Branch (110:5): [True: 19.4k, False: 2.34M]
  ------------------
  111|  2.36M|    }
  112|    745|    return OP;
  ------------------
  |  |   71|    745|#define OP              55
  ------------------
  113|  2.36M|}
_PyToken_TwoChars:
  117|  2.56M|{
  118|  2.56M|    switch (c1) {
  ------------------
  |  Branch (118:13): [True: 1.64M, False: 924k]
  ------------------
  119|  6.66k|    case '!':
  ------------------
  |  Branch (119:5): [True: 6.66k, False: 2.56M]
  ------------------
  120|  6.66k|        switch (c2) {
  ------------------
  |  Branch (120:17): [True: 785, False: 5.88k]
  ------------------
  121|    785|        case '=': return NOTEQUAL;
  ------------------
  |  |   44|    785|#define NOTEQUAL        28
  ------------------
  |  Branch (121:9): [True: 785, False: 5.88k]
  ------------------
  122|  6.66k|        }
  123|  5.88k|        break;
  124|  63.9k|    case '%':
  ------------------
  |  Branch (124:5): [True: 63.9k, False: 2.50M]
  ------------------
  125|  63.9k|        switch (c2) {
  ------------------
  |  Branch (125:17): [True: 1.65k, False: 62.2k]
  ------------------
  126|  1.65k|        case '=': return PERCENTEQUAL;
  ------------------
  |  |   56|  1.65k|#define PERCENTEQUAL    40
  ------------------
  |  Branch (126:9): [True: 1.65k, False: 62.2k]
  ------------------
  127|  63.9k|        }
  128|  62.2k|        break;
  129|  62.2k|    case '&':
  ------------------
  |  Branch (129:5): [True: 21.4k, False: 2.54M]
  ------------------
  130|  21.4k|        switch (c2) {
  ------------------
  |  Branch (130:17): [True: 1.10k, False: 20.3k]
  ------------------
  131|  1.10k|        case '=': return AMPEREQUAL;
  ------------------
  |  |   57|  1.10k|#define AMPEREQUAL      41
  ------------------
  |  Branch (131:9): [True: 1.10k, False: 20.3k]
  ------------------
  132|  21.4k|        }
  133|  20.3k|        break;
  134|   353k|    case '*':
  ------------------
  |  Branch (134:5): [True: 353k, False: 2.21M]
  ------------------
  135|   353k|        switch (c2) {
  ------------------
  |  Branch (135:17): [True: 130k, False: 223k]
  ------------------
  136|   127k|        case '*': return DOUBLESTAR;
  ------------------
  |  |   51|   127k|#define DOUBLESTAR      35
  ------------------
  |  Branch (136:9): [True: 127k, False: 226k]
  ------------------
  137|  3.59k|        case '=': return STAREQUAL;
  ------------------
  |  |   54|  3.59k|#define STAREQUAL       38
  ------------------
  |  Branch (137:9): [True: 3.59k, False: 350k]
  ------------------
  138|   353k|        }
  139|   223k|        break;
  140|   294k|    case '+':
  ------------------
  |  Branch (140:5): [True: 294k, False: 2.27M]
  ------------------
  141|   294k|        switch (c2) {
  ------------------
  |  Branch (141:17): [True: 2.20k, False: 292k]
  ------------------
  142|  2.20k|        case '=': return PLUSEQUAL;
  ------------------
  |  |   52|  2.20k|#define PLUSEQUAL       36
  ------------------
  |  Branch (142:9): [True: 2.20k, False: 292k]
  ------------------
  143|   294k|        }
  144|   292k|        break;
  145|   377k|    case '-':
  ------------------
  |  Branch (145:5): [True: 377k, False: 2.19M]
  ------------------
  146|   377k|        switch (c2) {
  ------------------
  |  Branch (146:17): [True: 4.37k, False: 372k]
  ------------------
  147|    494|        case '=': return MINEQUAL;
  ------------------
  |  |   53|    494|#define MINEQUAL        37
  ------------------
  |  Branch (147:9): [True: 494, False: 376k]
  ------------------
  148|  3.88k|        case '>': return RARROW;
  ------------------
  |  |   67|  3.88k|#define RARROW          51
  ------------------
  |  Branch (148:9): [True: 3.88k, False: 373k]
  ------------------
  149|   377k|        }
  150|   372k|        break;
  151|   372k|    case '/':
  ------------------
  |  Branch (151:5): [True: 116k, False: 2.45M]
  ------------------
  152|   116k|        switch (c2) {
  ------------------
  |  Branch (152:17): [True: 24.2k, False: 91.8k]
  ------------------
  153|  22.3k|        case '/': return DOUBLESLASH;
  ------------------
  |  |   63|  22.3k|#define DOUBLESLASH     47
  ------------------
  |  Branch (153:9): [True: 22.3k, False: 93.7k]
  ------------------
  154|  1.89k|        case '=': return SLASHEQUAL;
  ------------------
  |  |   55|  1.89k|#define SLASHEQUAL      39
  ------------------
  |  Branch (154:9): [True: 1.89k, False: 114k]
  ------------------
  155|   116k|        }
  156|  91.8k|        break;
  157|   140k|    case ':':
  ------------------
  |  Branch (157:5): [True: 140k, False: 2.42M]
  ------------------
  158|   140k|        switch (c2) {
  ------------------
  |  Branch (158:17): [True: 3.27k, False: 137k]
  ------------------
  159|  3.27k|        case '=': return COLONEQUAL;
  ------------------
  |  |   69|  3.27k|#define COLONEQUAL      53
  ------------------
  |  Branch (159:9): [True: 3.27k, False: 137k]
  ------------------
  160|   140k|        }
  161|   137k|        break;
  162|   137k|    case '<':
  ------------------
  |  Branch (162:5): [True: 57.8k, False: 2.51M]
  ------------------
  163|  57.8k|        switch (c2) {
  ------------------
  |  Branch (163:17): [True: 19.7k, False: 38.1k]
  ------------------
  164|  15.5k|        case '<': return LEFTSHIFT;
  ------------------
  |  |   49|  15.5k|#define LEFTSHIFT       33
  ------------------
  |  Branch (164:9): [True: 15.5k, False: 42.3k]
  ------------------
  165|  4.11k|        case '=': return LESSEQUAL;
  ------------------
  |  |   45|  4.11k|#define LESSEQUAL       29
  ------------------
  |  Branch (165:9): [True: 4.11k, False: 53.7k]
  ------------------
  166|     16|        case '>': return NOTEQUAL;
  ------------------
  |  |   44|     16|#define NOTEQUAL        28
  ------------------
  |  Branch (166:9): [True: 16, False: 57.8k]
  ------------------
  167|  57.8k|        }
  168|  38.1k|        break;
  169|  88.1k|    case '=':
  ------------------
  |  Branch (169:5): [True: 88.1k, False: 2.48M]
  ------------------
  170|  88.1k|        switch (c2) {
  ------------------
  |  Branch (170:17): [True: 3.05k, False: 85.0k]
  ------------------
  171|  3.05k|        case '=': return EQEQUAL;
  ------------------
  |  |   43|  3.05k|#define EQEQUAL         27
  ------------------
  |  Branch (171:9): [True: 3.05k, False: 85.0k]
  ------------------
  172|  88.1k|        }
  173|  85.0k|        break;
  174|  85.0k|    case '>':
  ------------------
  |  Branch (174:5): [True: 56.9k, False: 2.51M]
  ------------------
  175|  56.9k|        switch (c2) {
  ------------------
  |  Branch (175:17): [True: 20.7k, False: 36.2k]
  ------------------
  176|  4.94k|        case '=': return GREATEREQUAL;
  ------------------
  |  |   46|  4.94k|#define GREATEREQUAL    30
  ------------------
  |  Branch (176:9): [True: 4.94k, False: 51.9k]
  ------------------
  177|  15.7k|        case '>': return RIGHTSHIFT;
  ------------------
  |  |   50|  15.7k|#define RIGHTSHIFT      34
  ------------------
  |  Branch (177:9): [True: 15.7k, False: 41.1k]
  ------------------
  178|  56.9k|        }
  179|  36.2k|        break;
  180|  36.2k|    case '@':
  ------------------
  |  Branch (180:5): [True: 16.5k, False: 2.55M]
  ------------------
  181|  16.5k|        switch (c2) {
  ------------------
  |  Branch (181:17): [True: 368, False: 16.1k]
  ------------------
  182|    368|        case '=': return ATEQUAL;
  ------------------
  |  |   66|    368|#define ATEQUAL         50
  ------------------
  |  Branch (182:9): [True: 368, False: 16.1k]
  ------------------
  183|  16.5k|        }
  184|  16.1k|        break;
  185|  31.4k|    case '^':
  ------------------
  |  Branch (185:5): [True: 31.4k, False: 2.53M]
  ------------------
  186|  31.4k|        switch (c2) {
  ------------------
  |  Branch (186:17): [True: 524, False: 30.9k]
  ------------------
  187|    524|        case '=': return CIRCUMFLEXEQUAL;
  ------------------
  |  |   59|    524|#define CIRCUMFLEXEQUAL 43
  ------------------
  |  Branch (187:9): [True: 524, False: 30.9k]
  ------------------
  188|  31.4k|        }
  189|  30.9k|        break;
  190|  30.9k|    case '|':
  ------------------
  |  Branch (190:5): [True: 18.4k, False: 2.55M]
  ------------------
  191|  18.4k|        switch (c2) {
  ------------------
  |  Branch (191:17): [True: 523, False: 17.9k]
  ------------------
  192|    523|        case '=': return VBAREQUAL;
  ------------------
  |  |   58|    523|#define VBAREQUAL       42
  ------------------
  |  Branch (192:9): [True: 523, False: 17.9k]
  ------------------
  193|  18.4k|        }
  194|  17.9k|        break;
  195|  2.56M|    }
  196|  2.35M|    return OP;
  ------------------
  |  |   71|  2.35M|#define OP              55
  ------------------
  197|  2.56M|}
_PyToken_ThreeChars:
  201|   213k|{
  202|   213k|    switch (c1) {
  ------------------
  |  Branch (202:13): [True: 195k, False: 17.8k]
  ------------------
  203|   130k|    case '*':
  ------------------
  |  Branch (203:5): [True: 130k, False: 82.5k]
  ------------------
  204|   130k|        switch (c2) {
  ------------------
  |  Branch (204:17): [True: 127k, False: 3.59k]
  ------------------
  205|   127k|        case '*':
  ------------------
  |  Branch (205:9): [True: 127k, False: 3.59k]
  ------------------
  206|   127k|            switch (c3) {
  ------------------
  |  Branch (206:21): [True: 367, False: 126k]
  ------------------
  207|    367|            case '=': return DOUBLESTAREQUAL;
  ------------------
  |  |   62|    367|#define DOUBLESTAREQUAL 46
  ------------------
  |  Branch (207:13): [True: 367, False: 126k]
  ------------------
  208|   127k|            }
  209|   126k|            break;
  210|   130k|        }
  211|   130k|        break;
  212|   130k|    case '.':
  ------------------
  |  Branch (212:5): [True: 0, False: 213k]
  ------------------
  213|      0|        switch (c2) {
  ------------------
  |  Branch (213:17): [True: 0, False: 0]
  ------------------
  214|      0|        case '.':
  ------------------
  |  Branch (214:9): [True: 0, False: 0]
  ------------------
  215|      0|            switch (c3) {
  ------------------
  |  Branch (215:21): [True: 0, False: 0]
  ------------------
  216|      0|            case '.': return ELLIPSIS;
  ------------------
  |  |   68|      0|#define ELLIPSIS        52
  ------------------
  |  Branch (216:13): [True: 0, False: 0]
  ------------------
  217|      0|            }
  218|      0|            break;
  219|      0|        }
  220|      0|        break;
  221|  24.2k|    case '/':
  ------------------
  |  Branch (221:5): [True: 24.2k, False: 188k]
  ------------------
  222|  24.2k|        switch (c2) {
  ------------------
  |  Branch (222:17): [True: 22.3k, False: 1.89k]
  ------------------
  223|  22.3k|        case '/':
  ------------------
  |  Branch (223:9): [True: 22.3k, False: 1.89k]
  ------------------
  224|  22.3k|            switch (c3) {
  ------------------
  |  Branch (224:21): [True: 475, False: 21.8k]
  ------------------
  225|    475|            case '=': return DOUBLESLASHEQUAL;
  ------------------
  |  |   64|    475|#define DOUBLESLASHEQUAL 48
  ------------------
  |  Branch (225:13): [True: 475, False: 21.8k]
  ------------------
  226|  22.3k|            }
  227|  21.8k|            break;
  228|  24.2k|        }
  229|  23.7k|        break;
  230|  23.7k|    case '<':
  ------------------
  |  Branch (230:5): [True: 19.7k, False: 193k]
  ------------------
  231|  19.7k|        switch (c2) {
  ------------------
  |  Branch (231:17): [True: 15.5k, False: 4.12k]
  ------------------
  232|  15.5k|        case '<':
  ------------------
  |  Branch (232:9): [True: 15.5k, False: 4.12k]
  ------------------
  233|  15.5k|            switch (c3) {
  ------------------
  |  Branch (233:21): [True: 148, False: 15.4k]
  ------------------
  234|    148|            case '=': return LEFTSHIFTEQUAL;
  ------------------
  |  |   60|    148|#define LEFTSHIFTEQUAL  44
  ------------------
  |  Branch (234:13): [True: 148, False: 15.4k]
  ------------------
  235|  15.5k|            }
  236|  15.4k|            break;
  237|  19.7k|        }
  238|  19.5k|        break;
  239|  20.7k|    case '>':
  ------------------
  |  Branch (239:5): [True: 20.7k, False: 192k]
  ------------------
  240|  20.7k|        switch (c2) {
  ------------------
  |  Branch (240:17): [True: 15.7k, False: 4.94k]
  ------------------
  241|  15.7k|        case '>':
  ------------------
  |  Branch (241:9): [True: 15.7k, False: 4.94k]
  ------------------
  242|  15.7k|            switch (c3) {
  ------------------
  |  Branch (242:21): [True: 293, False: 15.4k]
  ------------------
  243|    293|            case '=': return RIGHTSHIFTEQUAL;
  ------------------
  |  |   61|    293|#define RIGHTSHIFTEQUAL 45
  ------------------
  |  Branch (243:13): [True: 293, False: 15.4k]
  ------------------
  244|  15.7k|            }
  245|  15.4k|            break;
  246|  20.7k|        }
  247|  20.4k|        break;
  248|   213k|    }
  249|   211k|    return OP;
  ------------------
  |  |   71|   211k|#define OP              55
  ------------------
  250|   213k|}

_PyTokenizer_syntaxerror:
   69|  2.93k|{
   70|       |    // These errors are cleaned on startup. Todo: Fix it.
   71|  2.93k|    va_list vargs;
   72|  2.93k|    va_start(vargs, format);
   73|  2.93k|    int ret = _syntaxerror_range(tok, format, -1, -1, vargs);
   74|       |    va_end(vargs);
   75|  2.93k|    return ret;
   76|  2.93k|}
_PyTokenizer_syntaxerror_known_range:
   82|    338|{
   83|    338|    va_list vargs;
   84|    338|    va_start(vargs, format);
   85|    338|    int ret = _syntaxerror_range(tok, format, col_offset, end_col_offset, vargs);
   86|       |    va_end(vargs);
   87|    338|    return ret;
   88|    338|}
_PyTokenizer_indenterror:
   92|      5|{
   93|      5|    tok->done = E_TABSPACE;
  ------------------
  |  |   30|      5|#define E_TABSPACE       18      /* Inconsistent mixing of tabs and spaces */
  ------------------
   94|      5|    tok->cur = tok->inp;
   95|      5|    return ERRORTOKEN;
  ------------------
  |  |   83|      5|#define ERRORTOKEN      67
  ------------------
   96|      5|}
_PyTokenizer_error_ret:
  100|  1.91k|{
  101|  1.91k|    tok->decoding_erred = 1;
  102|  1.91k|    if ((tok->fp != NULL || tok->readline != NULL) && tok->buf != NULL) {/* see _PyTokenizer_Free */
  ------------------
  |  Branch (102:10): [True: 0, False: 1.91k]
  |  Branch (102:29): [True: 0, False: 1.91k]
  |  Branch (102:55): [True: 0, False: 0]
  ------------------
  103|      0|        PyMem_Free(tok->buf);
  104|      0|    }
  105|  1.91k|    tok->buf = tok->cur = tok->inp = NULL;
  106|  1.91k|    tok->start = NULL;
  107|  1.91k|    tok->end = NULL;
  108|  1.91k|    tok->done = E_DECODE;
  ------------------
  |  |   34|  1.91k|#define E_DECODE         22      /* Error in decoding into Unicode */
  ------------------
  109|       |    return NULL;                /* as if it were EOF */
  110|  1.91k|}
_PyTokenizer_warn_invalid_escape_sequence:
  114|  3.95k|{
  115|  3.95k|    if (!tok->report_warnings) {
  ------------------
  |  Branch (115:9): [True: 0, False: 3.95k]
  ------------------
  116|      0|        return 0;
  117|      0|    }
  118|       |
  119|  3.95k|    PyObject *msg = PyUnicode_FromFormat(
  120|  3.95k|        "\"\\%c\" is an invalid escape sequence. "
  121|  3.95k|        "Such sequences will not work in the future. "
  122|  3.95k|        "Did you mean \"\\\\%c\"? A raw string is also an option.",
  123|  3.95k|        (char) first_invalid_escape_char,
  124|  3.95k|        (char) first_invalid_escape_char
  125|  3.95k|    );
  126|       |
  127|  3.95k|    if (msg == NULL) {
  ------------------
  |  Branch (127:9): [True: 0, False: 3.95k]
  ------------------
  128|      0|        return -1;
  129|      0|    }
  130|       |
  131|  3.95k|    if (PyErr_WarnExplicitObject(PyExc_SyntaxWarning, msg, tok->filename,
  ------------------
  |  Branch (131:9): [True: 0, False: 3.95k]
  ------------------
  132|  3.95k|                                 tok->lineno, tok->module, NULL) < 0) {
  133|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  134|       |
  135|      0|        if (PyErr_ExceptionMatches(PyExc_SyntaxWarning)) {
  ------------------
  |  Branch (135:13): [True: 0, False: 0]
  ------------------
  136|       |            /* Replace the SyntaxWarning exception with a SyntaxError
  137|       |               to get a more accurate error report */
  138|      0|            PyErr_Clear();
  139|       |
  140|      0|            return _PyTokenizer_syntaxerror(tok,
  141|      0|                "\"\\%c\" is an invalid escape sequence. "
  142|      0|                "Did you mean \"\\\\%c\"? A raw string is also an option.",
  143|      0|                (char) first_invalid_escape_char,
  144|      0|                (char) first_invalid_escape_char);
  145|      0|        }
  146|       |
  147|      0|        return -1;
  148|      0|    }
  149|       |
  150|  3.95k|    Py_DECREF(msg);
  ------------------
  |  |  430|  3.95k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  151|  3.95k|    return 0;
  152|  3.95k|}
_PyTokenizer_raise_init_error:
  156|  1.91k|{
  157|  1.91k|    if (!(PyErr_ExceptionMatches(PyExc_LookupError)
  ------------------
  |  Branch (157:11): [True: 230, False: 1.68k]
  ------------------
  158|  1.68k|          || PyErr_ExceptionMatches(PyExc_SyntaxError)
  ------------------
  |  Branch (158:14): [True: 240, False: 1.44k]
  ------------------
  159|  1.44k|          || PyErr_ExceptionMatches(PyExc_ValueError)
  ------------------
  |  Branch (159:14): [True: 1.40k, False: 44]
  ------------------
  160|     44|          || PyErr_ExceptionMatches(PyExc_UnicodeDecodeError))) {
  ------------------
  |  Branch (160:14): [True: 0, False: 44]
  ------------------
  161|     44|        return;
  162|     44|    }
  163|  1.87k|    PyObject *errstr = NULL;
  164|  1.87k|    PyObject *tuple = NULL;
  165|  1.87k|    PyObject *type;
  166|  1.87k|    PyObject *value;
  167|  1.87k|    PyObject *tback;
  168|  1.87k|    PyErr_Fetch(&type, &value, &tback);
  169|  1.87k|    if (PyErr_GivenExceptionMatches(value, PyExc_SyntaxError)) {
  ------------------
  |  Branch (169:9): [True: 240, False: 1.63k]
  ------------------
  170|    240|        if (PyObject_SetAttr(value, &_Py_ID(filename), filename)) {
  ------------------
  |  |  921|    240|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    240|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    240|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (170:13): [True: 0, False: 240]
  ------------------
  171|      0|            goto error;
  172|      0|        }
  173|    240|        PyErr_Restore(type, value, tback);
  174|    240|        return;
  175|    240|    }
  176|  1.63k|    errstr = PyObject_Str(value);
  177|  1.63k|    if (!errstr) {
  ------------------
  |  Branch (177:9): [True: 0, False: 1.63k]
  ------------------
  178|      0|        goto error;
  179|      0|    }
  180|       |
  181|  1.63k|    PyObject *tmp = Py_BuildValue("(OiiO)", filename, 0, -1, Py_None);
  ------------------
  |  |  616|  1.63k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  182|  1.63k|    if (!tmp) {
  ------------------
  |  Branch (182:9): [True: 0, False: 1.63k]
  ------------------
  183|      0|        goto error;
  184|      0|    }
  185|       |
  186|  1.63k|    tuple = _PyTuple_FromPair(errstr, tmp);
  187|  1.63k|    Py_DECREF(tmp);
  ------------------
  |  |  430|  1.63k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|  1.63k|    if (!tuple) {
  ------------------
  |  Branch (188:9): [True: 0, False: 1.63k]
  ------------------
  189|      0|        goto error;
  190|      0|    }
  191|  1.63k|    PyErr_SetObject(PyExc_SyntaxError, tuple);
  192|       |
  193|  1.63k|error:
  194|  1.63k|    Py_XDECREF(type);
  ------------------
  |  |  524|  1.63k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  195|  1.63k|    Py_XDECREF(value);
  ------------------
  |  |  524|  1.63k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  196|  1.63k|    Py_XDECREF(tback);
  ------------------
  |  |  524|  1.63k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|  1.63k|    Py_XDECREF(errstr);
  ------------------
  |  |  524|  1.63k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  198|  1.63k|    Py_XDECREF(tuple);
  ------------------
  |  |  524|  1.63k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  199|  1.63k|}
_PyTokenizer_parser_warn:
  203|  31.7k|{
  204|  31.7k|    if (!tok->report_warnings) {
  ------------------
  |  Branch (204:9): [True: 0, False: 31.7k]
  ------------------
  205|      0|        return 0;
  206|      0|    }
  207|       |
  208|  31.7k|    PyObject *errmsg;
  209|  31.7k|    va_list vargs;
  210|  31.7k|    va_start(vargs, format);
  211|  31.7k|    errmsg = PyUnicode_FromFormatV(format, vargs);
  212|  31.7k|    va_end(vargs);
  213|  31.7k|    if (!errmsg) {
  ------------------
  |  Branch (213:9): [True: 0, False: 31.7k]
  ------------------
  214|      0|        goto error;
  215|      0|    }
  216|       |
  217|  31.7k|    if (PyErr_WarnExplicitObject(category, errmsg, tok->filename,
  ------------------
  |  Branch (217:9): [True: 0, False: 31.7k]
  ------------------
  218|  31.7k|                                 tok->lineno, tok->module, NULL) < 0) {
  219|      0|        if (PyErr_ExceptionMatches(category)) {
  ------------------
  |  Branch (219:13): [True: 0, False: 0]
  ------------------
  220|       |            /* Replace the DeprecationWarning exception with a SyntaxError
  221|       |               to get a more accurate error report */
  222|      0|            PyErr_Clear();
  223|      0|            _PyTokenizer_syntaxerror(tok, "%U", errmsg);
  224|      0|        }
  225|      0|        goto error;
  226|      0|    }
  227|  31.7k|    Py_DECREF(errmsg);
  ------------------
  |  |  430|  31.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  228|  31.7k|    return 0;
  229|       |
  230|      0|error:
  231|      0|    Py_XDECREF(errmsg);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  232|      0|    tok->done = E_ERROR;
  ------------------
  |  |   29|      0|#define E_ERROR          17      /* Execution error */
  ------------------
  233|      0|    return -1;
  234|  31.7k|}
_PyTokenizer_new_string:
  241|  15.8k|{
  242|  15.8k|    char* result = (char *)PyMem_Malloc(len + 1);
  243|  15.8k|    if (!result) {
  ------------------
  |  Branch (243:9): [True: 0, False: 15.8k]
  ------------------
  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|  15.8k|    memcpy(result, s, len);
  249|  15.8k|    result[len] = '\0';
  250|  15.8k|    return result;
  251|  15.8k|}
_PyTokenizer_translate_into_utf8:
  254|  4.83k|_PyTokenizer_translate_into_utf8(const char* str, const char* enc) {
  255|  4.83k|    PyObject *utf8;
  256|  4.83k|    PyObject* buf = PyUnicode_Decode(str, strlen(str), enc, NULL);
  257|  4.83k|    if (buf == NULL)
  ------------------
  |  Branch (257:9): [True: 1.64k, False: 3.19k]
  ------------------
  258|  1.64k|        return NULL;
  259|  3.19k|    utf8 = PyUnicode_AsUTF8String(buf);
  260|  3.19k|    Py_DECREF(buf);
  ------------------
  |  |  430|  3.19k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  261|  3.19k|    return utf8;
  262|  4.83k|}
_PyTokenizer_translate_newlines:
  266|  27.7k|                   struct tok_state *tok) {
  267|  27.7k|    int skip_next_lf = 0;
  268|  27.7k|    size_t needed_length = strlen(s) + 2, final_length;
  269|  27.7k|    char *buf, *current;
  270|  27.7k|    char c = '\0';
  271|  27.7k|    buf = PyMem_Malloc(needed_length);
  272|  27.7k|    if (buf == NULL) {
  ------------------
  |  Branch (272:9): [True: 0, False: 27.7k]
  ------------------
  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|  30.5M|    for (current = buf; *s; s++, current++) {
  ------------------
  |  Branch (277:25): [True: 30.5M, False: 27.6k]
  ------------------
  278|  30.5M|        c = *s;
  279|  30.5M|        if (skip_next_lf) {
  ------------------
  |  Branch (279:13): [True: 140k, False: 30.3M]
  ------------------
  280|   140k|            skip_next_lf = 0;
  281|   140k|            if (c == '\n') {
  ------------------
  |  Branch (281:17): [True: 956, False: 139k]
  ------------------
  282|    956|                c = *++s;
  283|    956|                if (!c)
  ------------------
  |  Branch (283:21): [True: 7, False: 949]
  ------------------
  284|      7|                    break;
  285|    956|            }
  286|   140k|        }
  287|  30.5M|        if (!preserve_crlf && c == '\r') {
  ------------------
  |  Branch (287:13): [True: 30.5M, False: 0]
  |  Branch (287:31): [True: 140k, False: 30.3M]
  ------------------
  288|   140k|            skip_next_lf = 1;
  289|   140k|            c = '\n';
  290|   140k|        }
  291|  30.5M|        *current = c;
  292|  30.5M|    }
  293|       |    /* If this is exec input, add a newline to the end of the string if
  294|       |       there isn't one already. */
  295|  27.7k|    if (exec_input && c != '\n' && c != '\0') {
  ------------------
  |  Branch (295:9): [True: 18.7k, False: 8.96k]
  |  Branch (295:23): [True: 15.4k, False: 3.29k]
  |  Branch (295:36): [True: 15.4k, False: 12]
  ------------------
  296|  15.4k|        *current = '\n';
  297|  15.4k|        current++;
  298|  15.4k|    }
  299|  27.7k|    *current = '\0';
  300|  27.7k|    final_length = current - buf + 1;
  301|  27.7k|    if (final_length < needed_length && final_length) {
  ------------------
  |  Branch (301:9): [True: 12.3k, False: 15.3k]
  |  Branch (301:41): [True: 12.3k, False: 0]
  ------------------
  302|       |        /* should never fail */
  303|  12.3k|        char* result = PyMem_Realloc(buf, final_length);
  304|  12.3k|        if (result == NULL) {
  ------------------
  |  Branch (304:13): [True: 0, False: 12.3k]
  ------------------
  305|      0|            PyMem_Free(buf);
  306|      0|        }
  307|  12.3k|        buf = result;
  308|  12.3k|    }
  309|  27.7k|    return buf;
  310|  27.7k|}
_PyTokenizer_check_bom:
  323|  13.5k|{
  324|  13.5k|    int ch1, ch2, ch3;
  325|  13.5k|    ch1 = get_char(tok);
  326|  13.5k|    tok->decoding_state = STATE_SEEK_CODING;
  327|  13.5k|    if (ch1 == EOF) {
  ------------------
  |  Branch (327:9): [True: 0, False: 13.5k]
  ------------------
  328|      0|        return 1;
  329|  13.5k|    } else if (ch1 == 0xEF) {
  ------------------
  |  Branch (329:16): [True: 13, False: 13.5k]
  ------------------
  330|     13|        ch2 = get_char(tok);
  331|     13|        if (ch2 != 0xBB) {
  ------------------
  |  Branch (331:13): [True: 8, False: 5]
  ------------------
  332|      8|            unget_char(ch2, tok);
  333|      8|            unget_char(ch1, tok);
  334|      8|            return 1;
  335|      8|        }
  336|      5|        ch3 = get_char(tok);
  337|      5|        if (ch3 != 0xBF) {
  ------------------
  |  Branch (337:13): [True: 1, False: 4]
  ------------------
  338|      1|            unget_char(ch3, tok);
  339|      1|            unget_char(ch2, tok);
  340|      1|            unget_char(ch1, tok);
  341|      1|            return 1;
  342|      1|        }
  343|  13.5k|    } else {
  344|  13.5k|        unget_char(ch1, tok);
  345|  13.5k|        return 1;
  346|  13.5k|    }
  347|      4|    if (tok->encoding != NULL)
  ------------------
  |  Branch (347:9): [True: 0, False: 4]
  ------------------
  348|      0|        PyMem_Free(tok->encoding);
  349|      4|    tok->encoding = _PyTokenizer_new_string("utf-8", 5, tok);
  350|      4|    if (!tok->encoding)
  ------------------
  |  Branch (350:9): [True: 0, False: 4]
  ------------------
  351|      0|        return 0;
  352|       |    /* No need to set_readline: input is already utf-8 */
  353|      4|    return 1;
  354|      4|}
_PyTokenizer_check_coding_spec:
  442|  10.5k|{
  443|  10.5k|    char *cs;
  444|  10.5k|    if (tok->cont_line) {
  ------------------
  |  Branch (444:9): [True: 0, False: 10.5k]
  ------------------
  445|       |        /* It's a continuation line, so it can't be a coding spec. */
  446|      0|        tok->decoding_state = STATE_NORMAL;
  447|      0|        return 1;
  448|      0|    }
  449|  10.5k|    if (!get_coding_spec(line, &cs, size, tok)) {
  ------------------
  |  Branch (449:9): [True: 0, False: 10.5k]
  ------------------
  450|      0|        return 0;
  451|      0|    }
  452|  10.5k|    if (!cs) {
  ------------------
  |  Branch (452:9): [True: 5.68k, False: 4.84k]
  ------------------
  453|  5.68k|        Py_ssize_t i;
  454|  6.76k|        for (i = 0; i < size; i++) {
  ------------------
  |  Branch (454:21): [True: 6.23k, False: 532]
  ------------------
  455|  6.23k|            if (line[i] == '#' || line[i] == '\n' || line[i] == '\r')
  ------------------
  |  Branch (455:17): [True: 230, False: 6.00k]
  |  Branch (455:35): [True: 327, False: 5.67k]
  |  Branch (455:54): [True: 0, False: 5.67k]
  ------------------
  456|    557|                break;
  457|  5.67k|            if (line[i] != ' ' && line[i] != '\t' && line[i] != '\014') {
  ------------------
  |  Branch (457:17): [True: 5.25k, False: 424]
  |  Branch (457:35): [True: 4.93k, False: 311]
  |  Branch (457:54): [True: 4.59k, False: 345]
  ------------------
  458|       |                /* Stop checking coding spec after a line containing
  459|       |                 * anything except a comment. */
  460|  4.59k|                tok->decoding_state = STATE_NORMAL;
  461|  4.59k|                break;
  462|  4.59k|            }
  463|  5.67k|        }
  464|  5.68k|        return 1;
  465|  5.68k|    }
  466|  4.84k|    tok->decoding_state = STATE_NORMAL;
  467|  4.84k|    if (tok->encoding == NULL) {
  ------------------
  |  Branch (467:9): [True: 4.83k, False: 3]
  ------------------
  468|  4.83k|        assert(tok->decoding_readline == NULL);
  ------------------
  |  Branch (468:9): [True: 4.83k, False: 0]
  ------------------
  469|  4.83k|        if (strcmp(cs, "utf-8") != 0 && !set_readline(tok, cs)) {
  ------------------
  |  Branch (469:13): [True: 4.83k, False: 2]
  |  Branch (469:41): [True: 0, False: 4.83k]
  ------------------
  470|      0|            _PyTokenizer_raise_init_error(tok->filename);
  471|      0|            _PyTokenizer_error_ret(tok);
  472|      0|            PyMem_Free(cs);
  473|      0|            return 0;
  474|      0|        }
  475|  4.83k|        tok->encoding = cs;
  476|  4.83k|    } else {                /* then, compare cs with BOM */
  477|      3|        if (strcmp(tok->encoding, cs) != 0) {
  ------------------
  |  Branch (477:13): [True: 2, False: 1]
  ------------------
  478|      2|            tok->line_start = line;
  479|      2|            tok->cur = (char *)line;
  480|      2|            assert(size <= INT_MAX);
  ------------------
  |  Branch (480:13): [True: 2, False: 0]
  ------------------
  481|      2|            _PyTokenizer_syntaxerror_known_range(tok, 0, (int)size,
  482|      2|                        "encoding problem: %s with BOM", cs);
  483|      2|            PyMem_Free(cs);
  484|      2|            _PyTokenizer_error_ret(tok);
  485|      2|            return 0;
  486|      2|        }
  487|      1|        PyMem_Free(cs);
  488|      1|    }
  489|  4.83k|    return 1;
  490|  4.84k|}
_PyTokenizer_ensure_utf8:
  558|  8.70k|{
  559|  8.70k|    const char *badchar = NULL;
  560|  8.70k|    const char *c;
  561|  8.70k|    int length;
  562|  8.70k|    int col_offset = 0;
  563|  8.70k|    const char *line_start = line;
  564|  5.49M|    for (c = line; *c; c += length) {
  ------------------
  |  Branch (564:20): [True: 5.48M, False: 8.46k]
  ------------------
  565|  5.48M|        if (!(length = valid_utf8((const unsigned char *)c))) {
  ------------------
  |  Branch (565:13): [True: 238, False: 5.48M]
  ------------------
  566|    238|            badchar = c;
  567|    238|            break;
  568|    238|        }
  569|  5.48M|        col_offset++;
  570|  5.48M|        if (*c == '\n') {
  ------------------
  |  Branch (570:13): [True: 158k, False: 5.32M]
  ------------------
  571|   158k|            lineno++;
  572|   158k|            col_offset = 0;
  573|   158k|            line_start = c + 1;
  574|   158k|        }
  575|  5.48M|    }
  576|  8.70k|    if (badchar) {
  ------------------
  |  Branch (576:9): [True: 238, False: 8.46k]
  ------------------
  577|    238|        tok->lineno = lineno;
  578|    238|        tok->line_start = line_start;
  579|    238|        tok->cur = (char *)badchar;
  580|    238|        _PyTokenizer_syntaxerror_known_range(tok,
  581|    238|                col_offset + 1, col_offset + 1,
  582|    238|                "Non-UTF-8 code starting with '\\x%.2x'"
  583|    238|                "%s%V on line %i, "
  584|    238|                "but no encoding declared; "
  585|    238|                "see https://peps.python.org/pep-0263/ for details",
  586|    238|                (unsigned char)*badchar,
  587|    238|                tok->filename ? " in file " : "", tok->filename, "",
  ------------------
  |  Branch (587:17): [True: 0, False: 238]
  ------------------
  588|    238|                lineno);
  589|    238|        return 0;
  590|    238|    }
  591|  8.46k|    return 1;
  592|  8.70k|}
helpers.c:_syntaxerror_range:
   16|  3.27k|{
   17|       |    // In release builds, we don't want to overwrite a previous error, but in debug builds we
   18|       |    // want to fail if we are not doing it so we can fix it.
   19|  3.27k|    assert(tok->done != E_ERROR);
  ------------------
  |  Branch (19:5): [True: 3.27k, False: 0]
  ------------------
   20|  3.27k|    if (tok->done == E_ERROR) {
  ------------------
  |  |   29|  3.27k|#define E_ERROR          17      /* Execution error */
  ------------------
  |  Branch (20:9): [True: 0, False: 3.27k]
  ------------------
   21|      0|        return ERRORTOKEN;
  ------------------
  |  |   83|      0|#define ERRORTOKEN      67
  ------------------
   22|      0|    }
   23|  3.27k|    PyObject *errmsg, *errtext, *args;
   24|  3.27k|    errmsg = PyUnicode_FromFormatV(format, vargs);
   25|  3.27k|    if (!errmsg) {
  ------------------
  |  Branch (25:9): [True: 0, False: 3.27k]
  ------------------
   26|      0|        goto error;
   27|      0|    }
   28|       |
   29|  3.27k|    errtext = PyUnicode_DecodeUTF8(tok->line_start, tok->cur - tok->line_start,
   30|  3.27k|                                   "replace");
   31|  3.27k|    if (!errtext) {
  ------------------
  |  Branch (31:9): [True: 0, False: 3.27k]
  ------------------
   32|      0|        goto error;
   33|      0|    }
   34|       |
   35|  3.27k|    if (col_offset == -1) {
  ------------------
  |  Branch (35:9): [True: 2.93k, False: 338]
  ------------------
   36|  2.93k|        col_offset = (int)PyUnicode_GET_LENGTH(errtext);
  ------------------
  |  |  299|  2.93k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   37|  2.93k|    }
   38|  3.27k|    if (end_col_offset == -1) {
  ------------------
  |  Branch (38:9): [True: 2.93k, False: 338]
  ------------------
   39|  2.93k|        end_col_offset = col_offset;
   40|  2.93k|    }
   41|       |
   42|  3.27k|    Py_ssize_t line_len = strcspn(tok->line_start, "\n");
   43|  3.27k|    if (line_len != tok->cur - tok->line_start) {
  ------------------
  |  Branch (43:9): [True: 2.70k, False: 566]
  ------------------
   44|  2.70k|        Py_DECREF(errtext);
  ------------------
  |  |  430|  2.70k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   45|  2.70k|        errtext = PyUnicode_DecodeUTF8(tok->line_start, line_len,
   46|  2.70k|                                       "replace");
   47|  2.70k|    }
   48|  3.27k|    if (!errtext) {
  ------------------
  |  Branch (48:9): [True: 0, False: 3.27k]
  ------------------
   49|      0|        goto error;
   50|      0|    }
   51|       |
   52|  3.27k|    args = Py_BuildValue("(O(OiiNii))", errmsg,
   53|  3.27k|                         tok->filename ? tok->filename : Py_None,
  ------------------
  |  |  616|    240|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (53:26): [True: 3.03k, False: 240]
  ------------------
   54|  3.27k|                         tok->lineno, col_offset, errtext,
   55|  3.27k|                         tok->lineno, end_col_offset);
   56|  3.27k|    if (args) {
  ------------------
  |  Branch (56:9): [True: 3.27k, False: 0]
  ------------------
   57|  3.27k|        PyErr_SetObject(PyExc_SyntaxError, args);
   58|  3.27k|        Py_DECREF(args);
  ------------------
  |  |  430|  3.27k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   59|  3.27k|    }
   60|       |
   61|  3.27k|error:
   62|  3.27k|    Py_XDECREF(errmsg);
  ------------------
  |  |  524|  3.27k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   63|  3.27k|    tok->done = E_ERROR;
  ------------------
  |  |   29|  3.27k|#define E_ERROR          17      /* Execution error */
  ------------------
   64|  3.27k|    return ERRORTOKEN;
  ------------------
  |  |   83|  3.27k|#define ERRORTOKEN      67
  ------------------
   65|  3.27k|}
helpers.c:get_coding_spec:
  388|  10.5k|{
  389|  10.5k|    Py_ssize_t i;
  390|  10.5k|    *spec = NULL;
  391|       |    /* Coding spec must be in a comment, and that comment must be
  392|       |     * the only statement on the source code line. */
  393|  12.0k|    for (i = 0; i < size - 6; i++) {
  ------------------
  |  Branch (393:17): [True: 10.1k, False: 1.91k]
  ------------------
  394|  10.1k|        if (s[i] == '#')
  ------------------
  |  Branch (394:13): [True: 5.00k, False: 5.14k]
  ------------------
  395|  5.00k|            break;
  396|  5.14k|        if (s[i] != ' ' && s[i] != '\t' && s[i] != '\014')
  ------------------
  |  Branch (396:13): [True: 4.19k, False: 946]
  |  Branch (396:28): [True: 3.91k, False: 279]
  |  Branch (396:44): [True: 3.60k, False: 316]
  ------------------
  397|  3.60k|            return 1;
  398|  5.14k|    }
  399|   219k|    for (; i < size - 6; i++) { /* XXX inefficient search */
  ------------------
  |  Branch (399:12): [True: 217k, False: 2.08k]
  ------------------
  400|   217k|        const char* t = s + i;
  401|   217k|        if (memcmp(t, "coding", 6) == 0) {
  ------------------
  |  Branch (401:13): [True: 5.88k, False: 211k]
  ------------------
  402|  5.88k|            const char* begin = NULL;
  403|  5.88k|            t += 6;
  404|  5.88k|            if (t[0] != ':' && t[0] != '=')
  ------------------
  |  Branch (404:17): [True: 1.47k, False: 4.40k]
  |  Branch (404:32): [True: 428, False: 1.05k]
  ------------------
  405|    428|                continue;
  406|  10.5k|            do {
  407|  10.5k|                t++;
  408|  10.5k|            } while (t[0] == ' ' || t[0] == '\t');
  ------------------
  |  Branch (408:22): [True: 4.27k, False: 6.25k]
  |  Branch (408:37): [True: 801, False: 5.45k]
  ------------------
  409|       |
  410|  5.45k|            begin = t;
  411|  50.3k|            while (Py_ISALNUM(t[0]) ||
  ------------------
  |  |   26|   100k|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |  138|  50.3k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |   12|  50.3k|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   10|  50.3k|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    8|  50.3k|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    9|  50.3k|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|  50.3k|#define PY_CTF_DIGIT  0x04
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (26:24): [True: 40.9k, False: 9.39k]
  |  |  ------------------
  ------------------
  412|  9.39k|                   t[0] == '-' || t[0] == '_' || t[0] == '.')
  ------------------
  |  Branch (412:20): [True: 1.77k, False: 7.61k]
  |  Branch (412:35): [True: 960, False: 6.65k]
  |  Branch (412:50): [True: 1.20k, False: 5.45k]
  ------------------
  413|  44.8k|                t++;
  414|       |
  415|  5.45k|            if (begin < t) {
  ------------------
  |  Branch (415:17): [True: 4.84k, False: 613]
  ------------------
  416|  4.84k|                char* r = _PyTokenizer_new_string(begin, t - begin, tok);
  417|  4.84k|                const char* q;
  418|  4.84k|                if (!r)
  ------------------
  |  Branch (418:21): [True: 0, False: 4.84k]
  ------------------
  419|      0|                    return 0;
  420|  4.84k|                q = get_normal_name(r);
  421|  4.84k|                if (r != q) {
  ------------------
  |  Branch (421:21): [True: 24, False: 4.81k]
  ------------------
  422|     24|                    PyMem_Free(r);
  423|     24|                    r = _PyTokenizer_new_string(q, strlen(q), tok);
  424|     24|                    if (!r)
  ------------------
  |  Branch (424:25): [True: 0, False: 24]
  ------------------
  425|      0|                        return 0;
  426|     24|                }
  427|  4.84k|                *spec = r;
  428|  4.84k|                break;
  429|  4.84k|            }
  430|  5.45k|        }
  431|   217k|    }
  432|  6.92k|    return 1;
  433|  6.92k|}
helpers.c:get_normal_name:
  358|  4.84k|{
  359|  4.84k|    char buf[13];
  360|  4.84k|    int i;
  361|  30.0k|    for (i = 0; i < 12; i++) {
  ------------------
  |  Branch (361:17): [True: 29.9k, False: 90]
  ------------------
  362|  29.9k|        int c = s[i];
  363|  29.9k|        if (c == '\0')
  ------------------
  |  Branch (363:13): [True: 4.75k, False: 25.2k]
  ------------------
  364|  4.75k|            break;
  365|  25.2k|        else if (c == '_')
  ------------------
  |  Branch (365:18): [True: 388, False: 24.8k]
  ------------------
  366|    388|            buf[i] = '-';
  367|  24.8k|        else
  368|  24.8k|            buf[i] = Py_TOLOWER(c);
  ------------------
  |  |   32|  24.8k|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|  24.8k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  369|  29.9k|    }
  370|  4.84k|    buf[i] = '\0';
  371|  4.84k|    if (strcmp(buf, "utf-8") == 0 ||
  ------------------
  |  Branch (371:9): [True: 2, False: 4.83k]
  ------------------
  372|  4.83k|        strncmp(buf, "utf-8-", 6) == 0)
  ------------------
  |  Branch (372:9): [True: 1, False: 4.83k]
  ------------------
  373|      3|        return "utf-8";
  374|  4.83k|    else if (strcmp(buf, "latin-1") == 0 ||
  ------------------
  |  Branch (374:14): [True: 14, False: 4.82k]
  ------------------
  375|  4.82k|             strcmp(buf, "iso-8859-1") == 0 ||
  ------------------
  |  Branch (375:14): [True: 2, False: 4.82k]
  ------------------
  376|  4.82k|             strcmp(buf, "iso-latin-1") == 0 ||
  ------------------
  |  Branch (376:14): [True: 1, False: 4.82k]
  ------------------
  377|  4.82k|             strncmp(buf, "latin-1-", 8) == 0 ||
  ------------------
  |  Branch (377:14): [True: 1, False: 4.81k]
  ------------------
  378|  4.81k|             strncmp(buf, "iso-8859-1-", 11) == 0 ||
  ------------------
  |  Branch (378:14): [True: 1, False: 4.81k]
  ------------------
  379|  4.81k|             strncmp(buf, "iso-latin-1-", 12) == 0)
  ------------------
  |  Branch (379:14): [True: 2, False: 4.81k]
  ------------------
  380|     21|        return "iso-8859-1";
  381|  4.81k|    else
  382|  4.81k|        return s;
  383|  4.84k|}
helpers.c:valid_utf8:
  499|  5.48M|{
  500|  5.48M|    int expected = 0;
  501|  5.48M|    int length;
  502|  5.48M|    if (*s < 0x80) {
  ------------------
  |  Branch (502:9): [True: 5.46M, False: 12.7k]
  ------------------
  503|       |        /* single-byte code */
  504|  5.46M|        return 1;
  505|  5.46M|    }
  506|  12.7k|    else if (*s < 0xE0) {
  ------------------
  |  Branch (506:14): [True: 8.90k, False: 3.81k]
  ------------------
  507|       |        /* \xC2\x80-\xDF\xBF -- 0080-07FF */
  508|  8.90k|        if (*s < 0xC2) {
  ------------------
  |  Branch (508:13): [True: 95, False: 8.81k]
  ------------------
  509|       |            /* invalid sequence
  510|       |               \x80-\xBF -- continuation byte
  511|       |               \xC0-\xC1 -- fake 0000-007F */
  512|     95|            return 0;
  513|     95|        }
  514|  8.81k|        expected = 1;
  515|  8.81k|    }
  516|  3.81k|    else if (*s < 0xF0) {
  ------------------
  |  Branch (516:14): [True: 1.98k, False: 1.83k]
  ------------------
  517|       |        /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  518|  1.98k|        if (*s == 0xE0 && *(s + 1) < 0xA0) {
  ------------------
  |  Branch (518:13): [True: 290, False: 1.69k]
  |  Branch (518:27): [True: 9, False: 281]
  ------------------
  519|       |            /* invalid sequence
  520|       |               \xE0\x80\x80-\xE0\x9F\xBF -- fake 0000-0800 */
  521|      9|            return 0;
  522|      9|        }
  523|  1.97k|        else if (*s == 0xED && *(s + 1) >= 0xA0) {
  ------------------
  |  Branch (523:18): [True: 321, False: 1.65k]
  |  Branch (523:32): [True: 8, False: 313]
  ------------------
  524|       |            /* Decoding UTF-8 sequences in range \xED\xA0\x80-\xED\xBF\xBF
  525|       |               will result in surrogates in range D800-DFFF. Surrogates are
  526|       |               not valid UTF-8 so they are rejected.
  527|       |               See https://www.unicode.org/versions/Unicode5.2.0/ch03.pdf
  528|       |               (table 3-7) and http://www.rfc-editor.org/rfc/rfc3629.txt */
  529|      8|            return 0;
  530|      8|        }
  531|  1.96k|        expected = 2;
  532|  1.96k|    }
  533|  1.83k|    else if (*s < 0xF5) {
  ------------------
  |  Branch (533:14): [True: 1.82k, False: 13]
  ------------------
  534|       |        /* \xF0\x90\x80\x80-\xF4\x8F\xBF\xBF -- 10000-10FFFF */
  535|  1.82k|        if (*(s + 1) < 0x90 ? *s == 0xF0 : *s == 0xF4) {
  ------------------
  |  Branch (535:13): [True: 211, False: 1.61k]
  |  Branch (535:13): [True: 13, False: 1.81k]
  ------------------
  536|       |            /* invalid sequence -- one of:
  537|       |               \xF0\x80\x80\x80-\xF0\x8F\xBF\xBF -- fake 0000-FFFF
  538|       |               \xF4\x90\x80\x80- -- 110000- overflow */
  539|     13|            return 0;
  540|     13|        }
  541|  1.81k|        expected = 3;
  542|  1.81k|    }
  543|     13|    else {
  544|       |        /* invalid start byte */
  545|     13|        return 0;
  546|     13|    }
  547|  12.5k|    length = expected + 1;
  548|  30.5k|    for (int i = 1; i <= expected; i++) {
  ------------------
  |  Branch (548:21): [True: 18.0k, False: 12.4k]
  ------------------
  549|  18.0k|        if (s[i] < 0x80 || s[i] >= 0xC0) {
  ------------------
  |  Branch (549:13): [True: 62, False: 18.0k]
  |  Branch (549:28): [True: 38, False: 17.9k]
  ------------------
  550|    100|            return 0;
  551|    100|        }
  552|  18.0k|    }
  553|  12.4k|    return length;
  554|  12.5k|}

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

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

_PyAST_Module:
 7010|  8.74k|{
 7011|  8.74k|    mod_ty p;
 7012|  8.74k|    p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p));
 7013|  8.74k|    if (!p)
  ------------------
  |  Branch (7013:9): [True: 0, False: 8.74k]
  ------------------
 7014|      0|        return NULL;
 7015|  8.74k|    p->kind = Module_kind;
 7016|  8.74k|    p->v.Module.body = body;
 7017|  8.74k|    p->v.Module.type_ignores = type_ignores;
 7018|  8.74k|    return p;
 7019|  8.74k|}
_PyAST_Interactive:
 7023|  2.25k|{
 7024|  2.25k|    mod_ty p;
 7025|  2.25k|    p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p));
 7026|  2.25k|    if (!p)
  ------------------
  |  Branch (7026:9): [True: 0, False: 2.25k]
  ------------------
 7027|      0|        return NULL;
 7028|  2.25k|    p->kind = Interactive_kind;
 7029|  2.25k|    p->v.Interactive.body = body;
 7030|  2.25k|    return p;
 7031|  2.25k|}
_PyAST_Expression:
 7035|  1.72k|{
 7036|  1.72k|    mod_ty p;
 7037|  1.72k|    if (!body) {
  ------------------
  |  Branch (7037:9): [True: 0, False: 1.72k]
  ------------------
 7038|      0|        PyErr_SetString(PyExc_ValueError,
 7039|      0|                        "field 'body' is required for Expression");
 7040|      0|        return NULL;
 7041|      0|    }
 7042|  1.72k|    p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p));
 7043|  1.72k|    if (!p)
  ------------------
  |  Branch (7043:9): [True: 0, False: 1.72k]
  ------------------
 7044|      0|        return NULL;
 7045|  1.72k|    p->kind = Expression_kind;
 7046|  1.72k|    p->v.Expression.body = body;
 7047|  1.72k|    return p;
 7048|  1.72k|}
_PyAST_FunctionDef:
 7074|  8.36k|{
 7075|  8.36k|    stmt_ty p;
 7076|  8.36k|    if (!name) {
  ------------------
  |  Branch (7076:9): [True: 0, False: 8.36k]
  ------------------
 7077|      0|        PyErr_SetString(PyExc_ValueError,
 7078|      0|                        "field 'name' is required for FunctionDef");
 7079|      0|        return NULL;
 7080|      0|    }
 7081|  8.36k|    if (!args) {
  ------------------
  |  Branch (7081:9): [True: 0, False: 8.36k]
  ------------------
 7082|      0|        PyErr_SetString(PyExc_ValueError,
 7083|      0|                        "field 'args' is required for FunctionDef");
 7084|      0|        return NULL;
 7085|      0|    }
 7086|  8.36k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7087|  8.36k|    if (!p)
  ------------------
  |  Branch (7087:9): [True: 0, False: 8.36k]
  ------------------
 7088|      0|        return NULL;
 7089|  8.36k|    p->kind = FunctionDef_kind;
 7090|  8.36k|    p->v.FunctionDef.name = name;
 7091|  8.36k|    p->v.FunctionDef.args = args;
 7092|  8.36k|    p->v.FunctionDef.body = body;
 7093|  8.36k|    p->v.FunctionDef.decorator_list = decorator_list;
 7094|  8.36k|    p->v.FunctionDef.returns = returns;
 7095|  8.36k|    p->v.FunctionDef.type_comment = type_comment;
 7096|  8.36k|    p->v.FunctionDef.type_params = type_params;
 7097|  8.36k|    p->lineno = lineno;
 7098|  8.36k|    p->col_offset = col_offset;
 7099|  8.36k|    p->end_lineno = end_lineno;
 7100|  8.36k|    p->end_col_offset = end_col_offset;
 7101|  8.36k|    return p;
 7102|  8.36k|}
_PyAST_AsyncFunctionDef:
 7110|  4.61k|{
 7111|  4.61k|    stmt_ty p;
 7112|  4.61k|    if (!name) {
  ------------------
  |  Branch (7112:9): [True: 0, False: 4.61k]
  ------------------
 7113|      0|        PyErr_SetString(PyExc_ValueError,
 7114|      0|                        "field 'name' is required for AsyncFunctionDef");
 7115|      0|        return NULL;
 7116|      0|    }
 7117|  4.61k|    if (!args) {
  ------------------
  |  Branch (7117:9): [True: 0, False: 4.61k]
  ------------------
 7118|      0|        PyErr_SetString(PyExc_ValueError,
 7119|      0|                        "field 'args' is required for AsyncFunctionDef");
 7120|      0|        return NULL;
 7121|      0|    }
 7122|  4.61k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7123|  4.61k|    if (!p)
  ------------------
  |  Branch (7123:9): [True: 0, False: 4.61k]
  ------------------
 7124|      0|        return NULL;
 7125|  4.61k|    p->kind = AsyncFunctionDef_kind;
 7126|  4.61k|    p->v.AsyncFunctionDef.name = name;
 7127|  4.61k|    p->v.AsyncFunctionDef.args = args;
 7128|  4.61k|    p->v.AsyncFunctionDef.body = body;
 7129|  4.61k|    p->v.AsyncFunctionDef.decorator_list = decorator_list;
 7130|  4.61k|    p->v.AsyncFunctionDef.returns = returns;
 7131|  4.61k|    p->v.AsyncFunctionDef.type_comment = type_comment;
 7132|  4.61k|    p->v.AsyncFunctionDef.type_params = type_params;
 7133|  4.61k|    p->lineno = lineno;
 7134|  4.61k|    p->col_offset = col_offset;
 7135|  4.61k|    p->end_lineno = end_lineno;
 7136|  4.61k|    p->end_col_offset = end_col_offset;
 7137|  4.61k|    return p;
 7138|  4.61k|}
_PyAST_ClassDef:
 7145|  17.8k|{
 7146|  17.8k|    stmt_ty p;
 7147|  17.8k|    if (!name) {
  ------------------
  |  Branch (7147:9): [True: 0, False: 17.8k]
  ------------------
 7148|      0|        PyErr_SetString(PyExc_ValueError,
 7149|      0|                        "field 'name' is required for ClassDef");
 7150|      0|        return NULL;
 7151|      0|    }
 7152|  17.8k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7153|  17.8k|    if (!p)
  ------------------
  |  Branch (7153:9): [True: 0, False: 17.8k]
  ------------------
 7154|      0|        return NULL;
 7155|  17.8k|    p->kind = ClassDef_kind;
 7156|  17.8k|    p->v.ClassDef.name = name;
 7157|  17.8k|    p->v.ClassDef.bases = bases;
 7158|  17.8k|    p->v.ClassDef.keywords = keywords;
 7159|  17.8k|    p->v.ClassDef.body = body;
 7160|  17.8k|    p->v.ClassDef.decorator_list = decorator_list;
 7161|  17.8k|    p->v.ClassDef.type_params = type_params;
 7162|  17.8k|    p->lineno = lineno;
 7163|  17.8k|    p->col_offset = col_offset;
 7164|  17.8k|    p->end_lineno = end_lineno;
 7165|  17.8k|    p->end_col_offset = end_col_offset;
 7166|  17.8k|    return p;
 7167|  17.8k|}
_PyAST_Return:
 7172|  1.93k|{
 7173|  1.93k|    stmt_ty p;
 7174|  1.93k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7175|  1.93k|    if (!p)
  ------------------
  |  Branch (7175:9): [True: 0, False: 1.93k]
  ------------------
 7176|      0|        return NULL;
 7177|  1.93k|    p->kind = Return_kind;
 7178|  1.93k|    p->v.Return.value = value;
 7179|  1.93k|    p->lineno = lineno;
 7180|  1.93k|    p->col_offset = col_offset;
 7181|  1.93k|    p->end_lineno = end_lineno;
 7182|  1.93k|    p->end_col_offset = end_col_offset;
 7183|  1.93k|    return p;
 7184|  1.93k|}
_PyAST_Delete:
 7189|  1.74k|{
 7190|  1.74k|    stmt_ty p;
 7191|  1.74k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7192|  1.74k|    if (!p)
  ------------------
  |  Branch (7192:9): [True: 0, False: 1.74k]
  ------------------
 7193|      0|        return NULL;
 7194|  1.74k|    p->kind = Delete_kind;
 7195|  1.74k|    p->v.Delete.targets = targets;
 7196|  1.74k|    p->lineno = lineno;
 7197|  1.74k|    p->col_offset = col_offset;
 7198|  1.74k|    p->end_lineno = end_lineno;
 7199|  1.74k|    p->end_col_offset = end_col_offset;
 7200|  1.74k|    return p;
 7201|  1.74k|}
_PyAST_Assign:
 7207|  12.0k|{
 7208|  12.0k|    stmt_ty p;
 7209|  12.0k|    if (!value) {
  ------------------
  |  Branch (7209:9): [True: 0, False: 12.0k]
  ------------------
 7210|      0|        PyErr_SetString(PyExc_ValueError,
 7211|      0|                        "field 'value' is required for Assign");
 7212|      0|        return NULL;
 7213|      0|    }
 7214|  12.0k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7215|  12.0k|    if (!p)
  ------------------
  |  Branch (7215:9): [True: 0, False: 12.0k]
  ------------------
 7216|      0|        return NULL;
 7217|  12.0k|    p->kind = Assign_kind;
 7218|  12.0k|    p->v.Assign.targets = targets;
 7219|  12.0k|    p->v.Assign.value = value;
 7220|  12.0k|    p->v.Assign.type_comment = type_comment;
 7221|  12.0k|    p->lineno = lineno;
 7222|  12.0k|    p->col_offset = col_offset;
 7223|  12.0k|    p->end_lineno = end_lineno;
 7224|  12.0k|    p->end_col_offset = end_col_offset;
 7225|  12.0k|    return p;
 7226|  12.0k|}
_PyAST_TypeAlias:
 7232|    826|{
 7233|    826|    stmt_ty p;
 7234|    826|    if (!name) {
  ------------------
  |  Branch (7234:9): [True: 0, False: 826]
  ------------------
 7235|      0|        PyErr_SetString(PyExc_ValueError,
 7236|      0|                        "field 'name' is required for TypeAlias");
 7237|      0|        return NULL;
 7238|      0|    }
 7239|    826|    if (!value) {
  ------------------
  |  Branch (7239:9): [True: 0, False: 826]
  ------------------
 7240|      0|        PyErr_SetString(PyExc_ValueError,
 7241|      0|                        "field 'value' is required for TypeAlias");
 7242|      0|        return NULL;
 7243|      0|    }
 7244|    826|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7245|    826|    if (!p)
  ------------------
  |  Branch (7245:9): [True: 0, False: 826]
  ------------------
 7246|      0|        return NULL;
 7247|    826|    p->kind = TypeAlias_kind;
 7248|    826|    p->v.TypeAlias.name = name;
 7249|    826|    p->v.TypeAlias.type_params = type_params;
 7250|    826|    p->v.TypeAlias.value = value;
 7251|    826|    p->lineno = lineno;
 7252|    826|    p->col_offset = col_offset;
 7253|    826|    p->end_lineno = end_lineno;
 7254|    826|    p->end_col_offset = end_col_offset;
 7255|    826|    return p;
 7256|    826|}
_PyAST_AugAssign:
 7261|  14.1k|{
 7262|  14.1k|    stmt_ty p;
 7263|  14.1k|    if (!target) {
  ------------------
  |  Branch (7263:9): [True: 0, False: 14.1k]
  ------------------
 7264|      0|        PyErr_SetString(PyExc_ValueError,
 7265|      0|                        "field 'target' is required for AugAssign");
 7266|      0|        return NULL;
 7267|      0|    }
 7268|  14.1k|    if (!op) {
  ------------------
  |  Branch (7268:9): [True: 0, False: 14.1k]
  ------------------
 7269|      0|        PyErr_SetString(PyExc_ValueError,
 7270|      0|                        "field 'op' is required for AugAssign");
 7271|      0|        return NULL;
 7272|      0|    }
 7273|  14.1k|    if (!value) {
  ------------------
  |  Branch (7273:9): [True: 0, False: 14.1k]
  ------------------
 7274|      0|        PyErr_SetString(PyExc_ValueError,
 7275|      0|                        "field 'value' is required for AugAssign");
 7276|      0|        return NULL;
 7277|      0|    }
 7278|  14.1k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7279|  14.1k|    if (!p)
  ------------------
  |  Branch (7279:9): [True: 0, False: 14.1k]
  ------------------
 7280|      0|        return NULL;
 7281|  14.1k|    p->kind = AugAssign_kind;
 7282|  14.1k|    p->v.AugAssign.target = target;
 7283|  14.1k|    p->v.AugAssign.op = op;
 7284|  14.1k|    p->v.AugAssign.value = value;
 7285|  14.1k|    p->lineno = lineno;
 7286|  14.1k|    p->col_offset = col_offset;
 7287|  14.1k|    p->end_lineno = end_lineno;
 7288|  14.1k|    p->end_col_offset = end_col_offset;
 7289|  14.1k|    return p;
 7290|  14.1k|}
_PyAST_AnnAssign:
 7296|  31.9k|{
 7297|  31.9k|    stmt_ty p;
 7298|  31.9k|    if (!target) {
  ------------------
  |  Branch (7298:9): [True: 0, False: 31.9k]
  ------------------
 7299|      0|        PyErr_SetString(PyExc_ValueError,
 7300|      0|                        "field 'target' is required for AnnAssign");
 7301|      0|        return NULL;
 7302|      0|    }
 7303|  31.9k|    if (!annotation) {
  ------------------
  |  Branch (7303:9): [True: 0, False: 31.9k]
  ------------------
 7304|      0|        PyErr_SetString(PyExc_ValueError,
 7305|      0|                        "field 'annotation' is required for AnnAssign");
 7306|      0|        return NULL;
 7307|      0|    }
 7308|  31.9k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7309|  31.9k|    if (!p)
  ------------------
  |  Branch (7309:9): [True: 0, False: 31.9k]
  ------------------
 7310|      0|        return NULL;
 7311|  31.9k|    p->kind = AnnAssign_kind;
 7312|  31.9k|    p->v.AnnAssign.target = target;
 7313|  31.9k|    p->v.AnnAssign.annotation = annotation;
 7314|  31.9k|    p->v.AnnAssign.value = value;
 7315|  31.9k|    p->v.AnnAssign.simple = simple;
 7316|  31.9k|    p->lineno = lineno;
 7317|  31.9k|    p->col_offset = col_offset;
 7318|  31.9k|    p->end_lineno = end_lineno;
 7319|  31.9k|    p->end_col_offset = end_col_offset;
 7320|  31.9k|    return p;
 7321|  31.9k|}
_PyAST_For:
 7327|  1.81k|{
 7328|  1.81k|    stmt_ty p;
 7329|  1.81k|    if (!target) {
  ------------------
  |  Branch (7329:9): [True: 0, False: 1.81k]
  ------------------
 7330|      0|        PyErr_SetString(PyExc_ValueError,
 7331|      0|                        "field 'target' is required for For");
 7332|      0|        return NULL;
 7333|      0|    }
 7334|  1.81k|    if (!iter) {
  ------------------
  |  Branch (7334:9): [True: 0, False: 1.81k]
  ------------------
 7335|      0|        PyErr_SetString(PyExc_ValueError,
 7336|      0|                        "field 'iter' is required for For");
 7337|      0|        return NULL;
 7338|      0|    }
 7339|  1.81k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7340|  1.81k|    if (!p)
  ------------------
  |  Branch (7340:9): [True: 0, False: 1.81k]
  ------------------
 7341|      0|        return NULL;
 7342|  1.81k|    p->kind = For_kind;
 7343|  1.81k|    p->v.For.target = target;
 7344|  1.81k|    p->v.For.iter = iter;
 7345|  1.81k|    p->v.For.body = body;
 7346|  1.81k|    p->v.For.orelse = orelse;
 7347|  1.81k|    p->v.For.type_comment = type_comment;
 7348|  1.81k|    p->lineno = lineno;
 7349|  1.81k|    p->col_offset = col_offset;
 7350|  1.81k|    p->end_lineno = end_lineno;
 7351|  1.81k|    p->end_col_offset = end_col_offset;
 7352|  1.81k|    return p;
 7353|  1.81k|}
_PyAST_AsyncFor:
 7359|    549|{
 7360|    549|    stmt_ty p;
 7361|    549|    if (!target) {
  ------------------
  |  Branch (7361:9): [True: 0, False: 549]
  ------------------
 7362|      0|        PyErr_SetString(PyExc_ValueError,
 7363|      0|                        "field 'target' is required for AsyncFor");
 7364|      0|        return NULL;
 7365|      0|    }
 7366|    549|    if (!iter) {
  ------------------
  |  Branch (7366:9): [True: 0, False: 549]
  ------------------
 7367|      0|        PyErr_SetString(PyExc_ValueError,
 7368|      0|                        "field 'iter' is required for AsyncFor");
 7369|      0|        return NULL;
 7370|      0|    }
 7371|    549|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7372|    549|    if (!p)
  ------------------
  |  Branch (7372:9): [True: 0, False: 549]
  ------------------
 7373|      0|        return NULL;
 7374|    549|    p->kind = AsyncFor_kind;
 7375|    549|    p->v.AsyncFor.target = target;
 7376|    549|    p->v.AsyncFor.iter = iter;
 7377|    549|    p->v.AsyncFor.body = body;
 7378|    549|    p->v.AsyncFor.orelse = orelse;
 7379|    549|    p->v.AsyncFor.type_comment = type_comment;
 7380|    549|    p->lineno = lineno;
 7381|    549|    p->col_offset = col_offset;
 7382|    549|    p->end_lineno = end_lineno;
 7383|    549|    p->end_col_offset = end_col_offset;
 7384|    549|    return p;
 7385|    549|}
_PyAST_While:
 7391|  3.12k|{
 7392|  3.12k|    stmt_ty p;
 7393|  3.12k|    if (!test) {
  ------------------
  |  Branch (7393:9): [True: 0, False: 3.12k]
  ------------------
 7394|      0|        PyErr_SetString(PyExc_ValueError,
 7395|      0|                        "field 'test' is required for While");
 7396|      0|        return NULL;
 7397|      0|    }
 7398|  3.12k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7399|  3.12k|    if (!p)
  ------------------
  |  Branch (7399:9): [True: 0, False: 3.12k]
  ------------------
 7400|      0|        return NULL;
 7401|  3.12k|    p->kind = While_kind;
 7402|  3.12k|    p->v.While.test = test;
 7403|  3.12k|    p->v.While.body = body;
 7404|  3.12k|    p->v.While.orelse = orelse;
 7405|  3.12k|    p->lineno = lineno;
 7406|  3.12k|    p->col_offset = col_offset;
 7407|  3.12k|    p->end_lineno = end_lineno;
 7408|  3.12k|    p->end_col_offset = end_col_offset;
 7409|  3.12k|    return p;
 7410|  3.12k|}
_PyAST_If:
 7416|  3.87k|{
 7417|  3.87k|    stmt_ty p;
 7418|  3.87k|    if (!test) {
  ------------------
  |  Branch (7418:9): [True: 0, False: 3.87k]
  ------------------
 7419|      0|        PyErr_SetString(PyExc_ValueError,
 7420|      0|                        "field 'test' is required for If");
 7421|      0|        return NULL;
 7422|      0|    }
 7423|  3.87k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7424|  3.87k|    if (!p)
  ------------------
  |  Branch (7424:9): [True: 0, False: 3.87k]
  ------------------
 7425|      0|        return NULL;
 7426|  3.87k|    p->kind = If_kind;
 7427|  3.87k|    p->v.If.test = test;
 7428|  3.87k|    p->v.If.body = body;
 7429|  3.87k|    p->v.If.orelse = orelse;
 7430|  3.87k|    p->lineno = lineno;
 7431|  3.87k|    p->col_offset = col_offset;
 7432|  3.87k|    p->end_lineno = end_lineno;
 7433|  3.87k|    p->end_col_offset = end_col_offset;
 7434|  3.87k|    return p;
 7435|  3.87k|}
_PyAST_With:
 7441|  2.13k|{
 7442|  2.13k|    stmt_ty p;
 7443|  2.13k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7444|  2.13k|    if (!p)
  ------------------
  |  Branch (7444:9): [True: 0, False: 2.13k]
  ------------------
 7445|      0|        return NULL;
 7446|  2.13k|    p->kind = With_kind;
 7447|  2.13k|    p->v.With.items = items;
 7448|  2.13k|    p->v.With.body = body;
 7449|  2.13k|    p->v.With.type_comment = type_comment;
 7450|  2.13k|    p->lineno = lineno;
 7451|  2.13k|    p->col_offset = col_offset;
 7452|  2.13k|    p->end_lineno = end_lineno;
 7453|  2.13k|    p->end_col_offset = end_col_offset;
 7454|  2.13k|    return p;
 7455|  2.13k|}
_PyAST_AsyncWith:
 7461|  3.61k|{
 7462|  3.61k|    stmt_ty p;
 7463|  3.61k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7464|  3.61k|    if (!p)
  ------------------
  |  Branch (7464:9): [True: 0, False: 3.61k]
  ------------------
 7465|      0|        return NULL;
 7466|  3.61k|    p->kind = AsyncWith_kind;
 7467|  3.61k|    p->v.AsyncWith.items = items;
 7468|  3.61k|    p->v.AsyncWith.body = body;
 7469|  3.61k|    p->v.AsyncWith.type_comment = type_comment;
 7470|  3.61k|    p->lineno = lineno;
 7471|  3.61k|    p->col_offset = col_offset;
 7472|  3.61k|    p->end_lineno = end_lineno;
 7473|  3.61k|    p->end_col_offset = end_col_offset;
 7474|  3.61k|    return p;
 7475|  3.61k|}
_PyAST_Match:
 7480|    287|{
 7481|    287|    stmt_ty p;
 7482|    287|    if (!subject) {
  ------------------
  |  Branch (7482:9): [True: 0, False: 287]
  ------------------
 7483|      0|        PyErr_SetString(PyExc_ValueError,
 7484|      0|                        "field 'subject' is required for Match");
 7485|      0|        return NULL;
 7486|      0|    }
 7487|    287|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7488|    287|    if (!p)
  ------------------
  |  Branch (7488:9): [True: 0, False: 287]
  ------------------
 7489|      0|        return NULL;
 7490|    287|    p->kind = Match_kind;
 7491|    287|    p->v.Match.subject = subject;
 7492|    287|    p->v.Match.cases = cases;
 7493|    287|    p->lineno = lineno;
 7494|    287|    p->col_offset = col_offset;
 7495|    287|    p->end_lineno = end_lineno;
 7496|    287|    p->end_col_offset = end_col_offset;
 7497|    287|    return p;
 7498|    287|}
_PyAST_Raise:
 7503|  2.16k|{
 7504|  2.16k|    stmt_ty p;
 7505|  2.16k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7506|  2.16k|    if (!p)
  ------------------
  |  Branch (7506:9): [True: 0, False: 2.16k]
  ------------------
 7507|      0|        return NULL;
 7508|  2.16k|    p->kind = Raise_kind;
 7509|  2.16k|    p->v.Raise.exc = exc;
 7510|  2.16k|    p->v.Raise.cause = cause;
 7511|  2.16k|    p->lineno = lineno;
 7512|  2.16k|    p->col_offset = col_offset;
 7513|  2.16k|    p->end_lineno = end_lineno;
 7514|  2.16k|    p->end_col_offset = end_col_offset;
 7515|  2.16k|    return p;
 7516|  2.16k|}
_PyAST_Try:
 7522|  5.40k|{
 7523|  5.40k|    stmt_ty p;
 7524|  5.40k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7525|  5.40k|    if (!p)
  ------------------
  |  Branch (7525:9): [True: 0, False: 5.40k]
  ------------------
 7526|      0|        return NULL;
 7527|  5.40k|    p->kind = Try_kind;
 7528|  5.40k|    p->v.Try.body = body;
 7529|  5.40k|    p->v.Try.handlers = handlers;
 7530|  5.40k|    p->v.Try.orelse = orelse;
 7531|  5.40k|    p->v.Try.finalbody = finalbody;
 7532|  5.40k|    p->lineno = lineno;
 7533|  5.40k|    p->col_offset = col_offset;
 7534|  5.40k|    p->end_lineno = end_lineno;
 7535|  5.40k|    p->end_col_offset = end_col_offset;
 7536|  5.40k|    return p;
 7537|  5.40k|}
_PyAST_TryStar:
 7544|  3.56k|{
 7545|  3.56k|    stmt_ty p;
 7546|  3.56k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7547|  3.56k|    if (!p)
  ------------------
  |  Branch (7547:9): [True: 0, False: 3.56k]
  ------------------
 7548|      0|        return NULL;
 7549|  3.56k|    p->kind = TryStar_kind;
 7550|  3.56k|    p->v.TryStar.body = body;
 7551|  3.56k|    p->v.TryStar.handlers = handlers;
 7552|  3.56k|    p->v.TryStar.orelse = orelse;
 7553|  3.56k|    p->v.TryStar.finalbody = finalbody;
 7554|  3.56k|    p->lineno = lineno;
 7555|  3.56k|    p->col_offset = col_offset;
 7556|  3.56k|    p->end_lineno = end_lineno;
 7557|  3.56k|    p->end_col_offset = end_col_offset;
 7558|  3.56k|    return p;
 7559|  3.56k|}
_PyAST_Assert:
 7564|  4.31k|{
 7565|  4.31k|    stmt_ty p;
 7566|  4.31k|    if (!test) {
  ------------------
  |  Branch (7566:9): [True: 0, False: 4.31k]
  ------------------
 7567|      0|        PyErr_SetString(PyExc_ValueError,
 7568|      0|                        "field 'test' is required for Assert");
 7569|      0|        return NULL;
 7570|      0|    }
 7571|  4.31k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7572|  4.31k|    if (!p)
  ------------------
  |  Branch (7572:9): [True: 0, False: 4.31k]
  ------------------
 7573|      0|        return NULL;
 7574|  4.31k|    p->kind = Assert_kind;
 7575|  4.31k|    p->v.Assert.test = test;
 7576|  4.31k|    p->v.Assert.msg = msg;
 7577|  4.31k|    p->lineno = lineno;
 7578|  4.31k|    p->col_offset = col_offset;
 7579|  4.31k|    p->end_lineno = end_lineno;
 7580|  4.31k|    p->end_col_offset = end_col_offset;
 7581|  4.31k|    return p;
 7582|  4.31k|}
_PyAST_Import:
 7587|  4.80k|{
 7588|  4.80k|    stmt_ty p;
 7589|  4.80k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7590|  4.80k|    if (!p)
  ------------------
  |  Branch (7590:9): [True: 0, False: 4.80k]
  ------------------
 7591|      0|        return NULL;
 7592|  4.80k|    p->kind = Import_kind;
 7593|  4.80k|    p->v.Import.names = names;
 7594|  4.80k|    p->v.Import.is_lazy = is_lazy;
 7595|  4.80k|    p->lineno = lineno;
 7596|  4.80k|    p->col_offset = col_offset;
 7597|  4.80k|    p->end_lineno = end_lineno;
 7598|  4.80k|    p->end_col_offset = end_col_offset;
 7599|  4.80k|    return p;
 7600|  4.80k|}
_PyAST_ImportFrom:
 7606|  5.44k|{
 7607|  5.44k|    stmt_ty p;
 7608|  5.44k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7609|  5.44k|    if (!p)
  ------------------
  |  Branch (7609:9): [True: 0, False: 5.44k]
  ------------------
 7610|      0|        return NULL;
 7611|  5.44k|    p->kind = ImportFrom_kind;
 7612|  5.44k|    p->v.ImportFrom.module = module;
 7613|  5.44k|    p->v.ImportFrom.names = names;
 7614|  5.44k|    p->v.ImportFrom.level = level;
 7615|  5.44k|    p->v.ImportFrom.is_lazy = is_lazy;
 7616|  5.44k|    p->lineno = lineno;
 7617|  5.44k|    p->col_offset = col_offset;
 7618|  5.44k|    p->end_lineno = end_lineno;
 7619|  5.44k|    p->end_col_offset = end_col_offset;
 7620|  5.44k|    return p;
 7621|  5.44k|}
_PyAST_Global:
 7626|  1.25k|{
 7627|  1.25k|    stmt_ty p;
 7628|  1.25k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7629|  1.25k|    if (!p)
  ------------------
  |  Branch (7629:9): [True: 0, False: 1.25k]
  ------------------
 7630|      0|        return NULL;
 7631|  1.25k|    p->kind = Global_kind;
 7632|  1.25k|    p->v.Global.names = names;
 7633|  1.25k|    p->lineno = lineno;
 7634|  1.25k|    p->col_offset = col_offset;
 7635|  1.25k|    p->end_lineno = end_lineno;
 7636|  1.25k|    p->end_col_offset = end_col_offset;
 7637|  1.25k|    return p;
 7638|  1.25k|}
_PyAST_Nonlocal:
 7643|    388|{
 7644|    388|    stmt_ty p;
 7645|    388|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7646|    388|    if (!p)
  ------------------
  |  Branch (7646:9): [True: 0, False: 388]
  ------------------
 7647|      0|        return NULL;
 7648|    388|    p->kind = Nonlocal_kind;
 7649|    388|    p->v.Nonlocal.names = names;
 7650|    388|    p->lineno = lineno;
 7651|    388|    p->col_offset = col_offset;
 7652|    388|    p->end_lineno = end_lineno;
 7653|    388|    p->end_col_offset = end_col_offset;
 7654|    388|    return p;
 7655|    388|}
_PyAST_Expr:
 7660|   189k|{
 7661|   189k|    stmt_ty p;
 7662|   189k|    if (!value) {
  ------------------
  |  Branch (7662:9): [True: 0, False: 189k]
  ------------------
 7663|      0|        PyErr_SetString(PyExc_ValueError,
 7664|      0|                        "field 'value' is required for Expr");
 7665|      0|        return NULL;
 7666|      0|    }
 7667|   189k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7668|   189k|    if (!p)
  ------------------
  |  Branch (7668:9): [True: 0, False: 189k]
  ------------------
 7669|      0|        return NULL;
 7670|   189k|    p->kind = Expr_kind;
 7671|   189k|    p->v.Expr.value = value;
 7672|   189k|    p->lineno = lineno;
 7673|   189k|    p->col_offset = col_offset;
 7674|   189k|    p->end_lineno = end_lineno;
 7675|   189k|    p->end_col_offset = end_col_offset;
 7676|   189k|    return p;
 7677|   189k|}
_PyAST_Pass:
 7682|  4.62k|{
 7683|  4.62k|    stmt_ty p;
 7684|  4.62k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7685|  4.62k|    if (!p)
  ------------------
  |  Branch (7685:9): [True: 0, False: 4.62k]
  ------------------
 7686|      0|        return NULL;
 7687|  4.62k|    p->kind = Pass_kind;
 7688|  4.62k|    p->lineno = lineno;
 7689|  4.62k|    p->col_offset = col_offset;
 7690|  4.62k|    p->end_lineno = end_lineno;
 7691|  4.62k|    p->end_col_offset = end_col_offset;
 7692|  4.62k|    return p;
 7693|  4.62k|}
_PyAST_Break:
 7698|  1.79k|{
 7699|  1.79k|    stmt_ty p;
 7700|  1.79k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7701|  1.79k|    if (!p)
  ------------------
  |  Branch (7701:9): [True: 0, False: 1.79k]
  ------------------
 7702|      0|        return NULL;
 7703|  1.79k|    p->kind = Break_kind;
 7704|  1.79k|    p->lineno = lineno;
 7705|  1.79k|    p->col_offset = col_offset;
 7706|  1.79k|    p->end_lineno = end_lineno;
 7707|  1.79k|    p->end_col_offset = end_col_offset;
 7708|  1.79k|    return p;
 7709|  1.79k|}
_PyAST_Continue:
 7714|  1.83k|{
 7715|  1.83k|    stmt_ty p;
 7716|  1.83k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7717|  1.83k|    if (!p)
  ------------------
  |  Branch (7717:9): [True: 0, False: 1.83k]
  ------------------
 7718|      0|        return NULL;
 7719|  1.83k|    p->kind = Continue_kind;
 7720|  1.83k|    p->lineno = lineno;
 7721|  1.83k|    p->col_offset = col_offset;
 7722|  1.83k|    p->end_lineno = end_lineno;
 7723|  1.83k|    p->end_col_offset = end_col_offset;
 7724|  1.83k|    return p;
 7725|  1.83k|}
_PyAST_BoolOp:
 7730|  6.01k|{
 7731|  6.01k|    expr_ty p;
 7732|  6.01k|    if (!op) {
  ------------------
  |  Branch (7732:9): [True: 0, False: 6.01k]
  ------------------
 7733|      0|        PyErr_SetString(PyExc_ValueError,
 7734|      0|                        "field 'op' is required for BoolOp");
 7735|      0|        return NULL;
 7736|      0|    }
 7737|  6.01k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7738|  6.01k|    if (!p)
  ------------------
  |  Branch (7738:9): [True: 0, False: 6.01k]
  ------------------
 7739|      0|        return NULL;
 7740|  6.01k|    p->kind = BoolOp_kind;
 7741|  6.01k|    p->v.BoolOp.op = op;
 7742|  6.01k|    p->v.BoolOp.values = values;
 7743|  6.01k|    p->lineno = lineno;
 7744|  6.01k|    p->col_offset = col_offset;
 7745|  6.01k|    p->end_lineno = end_lineno;
 7746|  6.01k|    p->end_col_offset = end_col_offset;
 7747|  6.01k|    return p;
 7748|  6.01k|}
_PyAST_NamedExpr:
 7753|  8.64k|{
 7754|  8.64k|    expr_ty p;
 7755|  8.64k|    if (!target) {
  ------------------
  |  Branch (7755:9): [True: 0, False: 8.64k]
  ------------------
 7756|      0|        PyErr_SetString(PyExc_ValueError,
 7757|      0|                        "field 'target' is required for NamedExpr");
 7758|      0|        return NULL;
 7759|      0|    }
 7760|  8.64k|    if (!value) {
  ------------------
  |  Branch (7760:9): [True: 0, False: 8.64k]
  ------------------
 7761|      0|        PyErr_SetString(PyExc_ValueError,
 7762|      0|                        "field 'value' is required for NamedExpr");
 7763|      0|        return NULL;
 7764|      0|    }
 7765|  8.64k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7766|  8.64k|    if (!p)
  ------------------
  |  Branch (7766:9): [True: 0, False: 8.64k]
  ------------------
 7767|      0|        return NULL;
 7768|  8.64k|    p->kind = NamedExpr_kind;
 7769|  8.64k|    p->v.NamedExpr.target = target;
 7770|  8.64k|    p->v.NamedExpr.value = value;
 7771|  8.64k|    p->lineno = lineno;
 7772|  8.64k|    p->col_offset = col_offset;
 7773|  8.64k|    p->end_lineno = end_lineno;
 7774|  8.64k|    p->end_col_offset = end_col_offset;
 7775|  8.64k|    return p;
 7776|  8.64k|}
_PyAST_BinOp:
 7781|   981k|{
 7782|   981k|    expr_ty p;
 7783|   981k|    if (!left) {
  ------------------
  |  Branch (7783:9): [True: 0, False: 981k]
  ------------------
 7784|      0|        PyErr_SetString(PyExc_ValueError,
 7785|      0|                        "field 'left' is required for BinOp");
 7786|      0|        return NULL;
 7787|      0|    }
 7788|   981k|    if (!op) {
  ------------------
  |  Branch (7788:9): [True: 0, False: 981k]
  ------------------
 7789|      0|        PyErr_SetString(PyExc_ValueError,
 7790|      0|                        "field 'op' is required for BinOp");
 7791|      0|        return NULL;
 7792|      0|    }
 7793|   981k|    if (!right) {
  ------------------
  |  Branch (7793:9): [True: 0, False: 981k]
  ------------------
 7794|      0|        PyErr_SetString(PyExc_ValueError,
 7795|      0|                        "field 'right' is required for BinOp");
 7796|      0|        return NULL;
 7797|      0|    }
 7798|   981k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7799|   981k|    if (!p)
  ------------------
  |  Branch (7799:9): [True: 0, False: 981k]
  ------------------
 7800|      0|        return NULL;
 7801|   981k|    p->kind = BinOp_kind;
 7802|   981k|    p->v.BinOp.left = left;
 7803|   981k|    p->v.BinOp.op = op;
 7804|   981k|    p->v.BinOp.right = right;
 7805|   981k|    p->lineno = lineno;
 7806|   981k|    p->col_offset = col_offset;
 7807|   981k|    p->end_lineno = end_lineno;
 7808|   981k|    p->end_col_offset = end_col_offset;
 7809|   981k|    return p;
 7810|   981k|}
_PyAST_UnaryOp:
 7815|   316k|{
 7816|   316k|    expr_ty p;
 7817|   316k|    if (!op) {
  ------------------
  |  Branch (7817:9): [True: 0, False: 316k]
  ------------------
 7818|      0|        PyErr_SetString(PyExc_ValueError,
 7819|      0|                        "field 'op' is required for UnaryOp");
 7820|      0|        return NULL;
 7821|      0|    }
 7822|   316k|    if (!operand) {
  ------------------
  |  Branch (7822:9): [True: 0, False: 316k]
  ------------------
 7823|      0|        PyErr_SetString(PyExc_ValueError,
 7824|      0|                        "field 'operand' is required for UnaryOp");
 7825|      0|        return NULL;
 7826|      0|    }
 7827|   316k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7828|   316k|    if (!p)
  ------------------
  |  Branch (7828:9): [True: 0, False: 316k]
  ------------------
 7829|      0|        return NULL;
 7830|   316k|    p->kind = UnaryOp_kind;
 7831|   316k|    p->v.UnaryOp.op = op;
 7832|   316k|    p->v.UnaryOp.operand = operand;
 7833|   316k|    p->lineno = lineno;
 7834|   316k|    p->col_offset = col_offset;
 7835|   316k|    p->end_lineno = end_lineno;
 7836|   316k|    p->end_col_offset = end_col_offset;
 7837|   316k|    return p;
 7838|   316k|}
_PyAST_Lambda:
 7843|  7.99k|{
 7844|  7.99k|    expr_ty p;
 7845|  7.99k|    if (!args) {
  ------------------
  |  Branch (7845:9): [True: 0, False: 7.99k]
  ------------------
 7846|      0|        PyErr_SetString(PyExc_ValueError,
 7847|      0|                        "field 'args' is required for Lambda");
 7848|      0|        return NULL;
 7849|      0|    }
 7850|  7.99k|    if (!body) {
  ------------------
  |  Branch (7850:9): [True: 0, False: 7.99k]
  ------------------
 7851|      0|        PyErr_SetString(PyExc_ValueError,
 7852|      0|                        "field 'body' is required for Lambda");
 7853|      0|        return NULL;
 7854|      0|    }
 7855|  7.99k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7856|  7.99k|    if (!p)
  ------------------
  |  Branch (7856:9): [True: 0, False: 7.99k]
  ------------------
 7857|      0|        return NULL;
 7858|  7.99k|    p->kind = Lambda_kind;
 7859|  7.99k|    p->v.Lambda.args = args;
 7860|  7.99k|    p->v.Lambda.body = body;
 7861|  7.99k|    p->lineno = lineno;
 7862|  7.99k|    p->col_offset = col_offset;
 7863|  7.99k|    p->end_lineno = end_lineno;
 7864|  7.99k|    p->end_col_offset = end_col_offset;
 7865|  7.99k|    return p;
 7866|  7.99k|}
_PyAST_IfExp:
 7871|  3.37k|{
 7872|  3.37k|    expr_ty p;
 7873|  3.37k|    if (!test) {
  ------------------
  |  Branch (7873:9): [True: 0, False: 3.37k]
  ------------------
 7874|      0|        PyErr_SetString(PyExc_ValueError,
 7875|      0|                        "field 'test' is required for IfExp");
 7876|      0|        return NULL;
 7877|      0|    }
 7878|  3.37k|    if (!body) {
  ------------------
  |  Branch (7878:9): [True: 0, False: 3.37k]
  ------------------
 7879|      0|        PyErr_SetString(PyExc_ValueError,
 7880|      0|                        "field 'body' is required for IfExp");
 7881|      0|        return NULL;
 7882|      0|    }
 7883|  3.37k|    if (!orelse) {
  ------------------
  |  Branch (7883:9): [True: 0, False: 3.37k]
  ------------------
 7884|      0|        PyErr_SetString(PyExc_ValueError,
 7885|      0|                        "field 'orelse' is required for IfExp");
 7886|      0|        return NULL;
 7887|      0|    }
 7888|  3.37k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7889|  3.37k|    if (!p)
  ------------------
  |  Branch (7889:9): [True: 0, False: 3.37k]
  ------------------
 7890|      0|        return NULL;
 7891|  3.37k|    p->kind = IfExp_kind;
 7892|  3.37k|    p->v.IfExp.test = test;
 7893|  3.37k|    p->v.IfExp.body = body;
 7894|  3.37k|    p->v.IfExp.orelse = orelse;
 7895|  3.37k|    p->lineno = lineno;
 7896|  3.37k|    p->col_offset = col_offset;
 7897|  3.37k|    p->end_lineno = end_lineno;
 7898|  3.37k|    p->end_col_offset = end_col_offset;
 7899|  3.37k|    return p;
 7900|  3.37k|}
_PyAST_Dict:
 7905|  2.36k|{
 7906|  2.36k|    expr_ty p;
 7907|  2.36k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7908|  2.36k|    if (!p)
  ------------------
  |  Branch (7908:9): [True: 0, False: 2.36k]
  ------------------
 7909|      0|        return NULL;
 7910|  2.36k|    p->kind = Dict_kind;
 7911|  2.36k|    p->v.Dict.keys = keys;
 7912|  2.36k|    p->v.Dict.values = values;
 7913|  2.36k|    p->lineno = lineno;
 7914|  2.36k|    p->col_offset = col_offset;
 7915|  2.36k|    p->end_lineno = end_lineno;
 7916|  2.36k|    p->end_col_offset = end_col_offset;
 7917|  2.36k|    return p;
 7918|  2.36k|}
_PyAST_Set:
 7923|  19.2k|{
 7924|  19.2k|    expr_ty p;
 7925|  19.2k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7926|  19.2k|    if (!p)
  ------------------
  |  Branch (7926:9): [True: 0, False: 19.2k]
  ------------------
 7927|      0|        return NULL;
 7928|  19.2k|    p->kind = Set_kind;
 7929|  19.2k|    p->v.Set.elts = elts;
 7930|  19.2k|    p->lineno = lineno;
 7931|  19.2k|    p->col_offset = col_offset;
 7932|  19.2k|    p->end_lineno = end_lineno;
 7933|  19.2k|    p->end_col_offset = end_col_offset;
 7934|  19.2k|    return p;
 7935|  19.2k|}
_PyAST_ListComp:
 7941|  3.89k|{
 7942|  3.89k|    expr_ty p;
 7943|  3.89k|    if (!elt) {
  ------------------
  |  Branch (7943:9): [True: 0, False: 3.89k]
  ------------------
 7944|      0|        PyErr_SetString(PyExc_ValueError,
 7945|      0|                        "field 'elt' is required for ListComp");
 7946|      0|        return NULL;
 7947|      0|    }
 7948|  3.89k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7949|  3.89k|    if (!p)
  ------------------
  |  Branch (7949:9): [True: 0, False: 3.89k]
  ------------------
 7950|      0|        return NULL;
 7951|  3.89k|    p->kind = ListComp_kind;
 7952|  3.89k|    p->v.ListComp.elt = elt;
 7953|  3.89k|    p->v.ListComp.generators = generators;
 7954|  3.89k|    p->lineno = lineno;
 7955|  3.89k|    p->col_offset = col_offset;
 7956|  3.89k|    p->end_lineno = end_lineno;
 7957|  3.89k|    p->end_col_offset = end_col_offset;
 7958|  3.89k|    return p;
 7959|  3.89k|}
_PyAST_SetComp:
 7965|  7.95k|{
 7966|  7.95k|    expr_ty p;
 7967|  7.95k|    if (!elt) {
  ------------------
  |  Branch (7967:9): [True: 0, False: 7.95k]
  ------------------
 7968|      0|        PyErr_SetString(PyExc_ValueError,
 7969|      0|                        "field 'elt' is required for SetComp");
 7970|      0|        return NULL;
 7971|      0|    }
 7972|  7.95k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7973|  7.95k|    if (!p)
  ------------------
  |  Branch (7973:9): [True: 0, False: 7.95k]
  ------------------
 7974|      0|        return NULL;
 7975|  7.95k|    p->kind = SetComp_kind;
 7976|  7.95k|    p->v.SetComp.elt = elt;
 7977|  7.95k|    p->v.SetComp.generators = generators;
 7978|  7.95k|    p->lineno = lineno;
 7979|  7.95k|    p->col_offset = col_offset;
 7980|  7.95k|    p->end_lineno = end_lineno;
 7981|  7.95k|    p->end_col_offset = end_col_offset;
 7982|  7.95k|    return p;
 7983|  7.95k|}
_PyAST_DictComp:
 7989|  2.21k|{
 7990|  2.21k|    expr_ty p;
 7991|  2.21k|    if (!key) {
  ------------------
  |  Branch (7991:9): [True: 0, False: 2.21k]
  ------------------
 7992|      0|        PyErr_SetString(PyExc_ValueError,
 7993|      0|                        "field 'key' is required for DictComp");
 7994|      0|        return NULL;
 7995|      0|    }
 7996|  2.21k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7997|  2.21k|    if (!p)
  ------------------
  |  Branch (7997:9): [True: 0, False: 2.21k]
  ------------------
 7998|      0|        return NULL;
 7999|  2.21k|    p->kind = DictComp_kind;
 8000|  2.21k|    p->v.DictComp.key = key;
 8001|  2.21k|    p->v.DictComp.value = value;
 8002|  2.21k|    p->v.DictComp.generators = generators;
 8003|  2.21k|    p->lineno = lineno;
 8004|  2.21k|    p->col_offset = col_offset;
 8005|  2.21k|    p->end_lineno = end_lineno;
 8006|  2.21k|    p->end_col_offset = end_col_offset;
 8007|  2.21k|    return p;
 8008|  2.21k|}
_PyAST_GeneratorExp:
 8014|  7.60k|{
 8015|  7.60k|    expr_ty p;
 8016|  7.60k|    if (!elt) {
  ------------------
  |  Branch (8016:9): [True: 0, False: 7.60k]
  ------------------
 8017|      0|        PyErr_SetString(PyExc_ValueError,
 8018|      0|                        "field 'elt' is required for GeneratorExp");
 8019|      0|        return NULL;
 8020|      0|    }
 8021|  7.60k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8022|  7.60k|    if (!p)
  ------------------
  |  Branch (8022:9): [True: 0, False: 7.60k]
  ------------------
 8023|      0|        return NULL;
 8024|  7.60k|    p->kind = GeneratorExp_kind;
 8025|  7.60k|    p->v.GeneratorExp.elt = elt;
 8026|  7.60k|    p->v.GeneratorExp.generators = generators;
 8027|  7.60k|    p->lineno = lineno;
 8028|  7.60k|    p->col_offset = col_offset;
 8029|  7.60k|    p->end_lineno = end_lineno;
 8030|  7.60k|    p->end_col_offset = end_col_offset;
 8031|  7.60k|    return p;
 8032|  7.60k|}
_PyAST_Await:
 8037|  1.68k|{
 8038|  1.68k|    expr_ty p;
 8039|  1.68k|    if (!value) {
  ------------------
  |  Branch (8039:9): [True: 0, False: 1.68k]
  ------------------
 8040|      0|        PyErr_SetString(PyExc_ValueError,
 8041|      0|                        "field 'value' is required for Await");
 8042|      0|        return NULL;
 8043|      0|    }
 8044|  1.68k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8045|  1.68k|    if (!p)
  ------------------
  |  Branch (8045:9): [True: 0, False: 1.68k]
  ------------------
 8046|      0|        return NULL;
 8047|  1.68k|    p->kind = Await_kind;
 8048|  1.68k|    p->v.Await.value = value;
 8049|  1.68k|    p->lineno = lineno;
 8050|  1.68k|    p->col_offset = col_offset;
 8051|  1.68k|    p->end_lineno = end_lineno;
 8052|  1.68k|    p->end_col_offset = end_col_offset;
 8053|  1.68k|    return p;
 8054|  1.68k|}
_PyAST_Yield:
 8059|  4.33k|{
 8060|  4.33k|    expr_ty p;
 8061|  4.33k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8062|  4.33k|    if (!p)
  ------------------
  |  Branch (8062:9): [True: 0, False: 4.33k]
  ------------------
 8063|      0|        return NULL;
 8064|  4.33k|    p->kind = Yield_kind;
 8065|  4.33k|    p->v.Yield.value = value;
 8066|  4.33k|    p->lineno = lineno;
 8067|  4.33k|    p->col_offset = col_offset;
 8068|  4.33k|    p->end_lineno = end_lineno;
 8069|  4.33k|    p->end_col_offset = end_col_offset;
 8070|  4.33k|    return p;
 8071|  4.33k|}
_PyAST_YieldFrom:
 8076|    406|{
 8077|    406|    expr_ty p;
 8078|    406|    if (!value) {
  ------------------
  |  Branch (8078:9): [True: 0, False: 406]
  ------------------
 8079|      0|        PyErr_SetString(PyExc_ValueError,
 8080|      0|                        "field 'value' is required for YieldFrom");
 8081|      0|        return NULL;
 8082|      0|    }
 8083|    406|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8084|    406|    if (!p)
  ------------------
  |  Branch (8084:9): [True: 0, False: 406]
  ------------------
 8085|      0|        return NULL;
 8086|    406|    p->kind = YieldFrom_kind;
 8087|    406|    p->v.YieldFrom.value = value;
 8088|    406|    p->lineno = lineno;
 8089|    406|    p->col_offset = col_offset;
 8090|    406|    p->end_lineno = end_lineno;
 8091|    406|    p->end_col_offset = end_col_offset;
 8092|    406|    return p;
 8093|    406|}
_PyAST_Compare:
 8099|  32.6k|{
 8100|  32.6k|    expr_ty p;
 8101|  32.6k|    if (!left) {
  ------------------
  |  Branch (8101:9): [True: 0, False: 32.6k]
  ------------------
 8102|      0|        PyErr_SetString(PyExc_ValueError,
 8103|      0|                        "field 'left' is required for Compare");
 8104|      0|        return NULL;
 8105|      0|    }
 8106|  32.6k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8107|  32.6k|    if (!p)
  ------------------
  |  Branch (8107:9): [True: 0, False: 32.6k]
  ------------------
 8108|      0|        return NULL;
 8109|  32.6k|    p->kind = Compare_kind;
 8110|  32.6k|    p->v.Compare.left = left;
 8111|  32.6k|    p->v.Compare.ops = ops;
 8112|  32.6k|    p->v.Compare.comparators = comparators;
 8113|  32.6k|    p->lineno = lineno;
 8114|  32.6k|    p->col_offset = col_offset;
 8115|  32.6k|    p->end_lineno = end_lineno;
 8116|  32.6k|    p->end_col_offset = end_col_offset;
 8117|  32.6k|    return p;
 8118|  32.6k|}
_PyAST_Call:
 8124|  76.1k|{
 8125|  76.1k|    expr_ty p;
 8126|  76.1k|    if (!func) {
  ------------------
  |  Branch (8126:9): [True: 0, False: 76.1k]
  ------------------
 8127|      0|        PyErr_SetString(PyExc_ValueError,
 8128|      0|                        "field 'func' is required for Call");
 8129|      0|        return NULL;
 8130|      0|    }
 8131|  76.1k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8132|  76.1k|    if (!p)
  ------------------
  |  Branch (8132:9): [True: 0, False: 76.1k]
  ------------------
 8133|      0|        return NULL;
 8134|  76.1k|    p->kind = Call_kind;
 8135|  76.1k|    p->v.Call.func = func;
 8136|  76.1k|    p->v.Call.args = args;
 8137|  76.1k|    p->v.Call.keywords = keywords;
 8138|  76.1k|    p->lineno = lineno;
 8139|  76.1k|    p->col_offset = col_offset;
 8140|  76.1k|    p->end_lineno = end_lineno;
 8141|  76.1k|    p->end_col_offset = end_col_offset;
 8142|  76.1k|    return p;
 8143|  76.1k|}
_PyAST_FormattedValue:
 8149|  20.5k|{
 8150|  20.5k|    expr_ty p;
 8151|  20.5k|    if (!value) {
  ------------------
  |  Branch (8151:9): [True: 0, False: 20.5k]
  ------------------
 8152|      0|        PyErr_SetString(PyExc_ValueError,
 8153|      0|                        "field 'value' is required for FormattedValue");
 8154|      0|        return NULL;
 8155|      0|    }
 8156|  20.5k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8157|  20.5k|    if (!p)
  ------------------
  |  Branch (8157:9): [True: 0, False: 20.5k]
  ------------------
 8158|      0|        return NULL;
 8159|  20.5k|    p->kind = FormattedValue_kind;
 8160|  20.5k|    p->v.FormattedValue.value = value;
 8161|  20.5k|    p->v.FormattedValue.conversion = conversion;
 8162|  20.5k|    p->v.FormattedValue.format_spec = format_spec;
 8163|  20.5k|    p->lineno = lineno;
 8164|  20.5k|    p->col_offset = col_offset;
 8165|  20.5k|    p->end_lineno = end_lineno;
 8166|  20.5k|    p->end_col_offset = end_col_offset;
 8167|  20.5k|    return p;
 8168|  20.5k|}
_PyAST_Interpolation:
 8174|  7.33k|{
 8175|  7.33k|    expr_ty p;
 8176|  7.33k|    if (!value) {
  ------------------
  |  Branch (8176:9): [True: 0, False: 7.33k]
  ------------------
 8177|      0|        PyErr_SetString(PyExc_ValueError,
 8178|      0|                        "field 'value' is required for Interpolation");
 8179|      0|        return NULL;
 8180|      0|    }
 8181|  7.33k|    if (!str) {
  ------------------
  |  Branch (8181:9): [True: 0, False: 7.33k]
  ------------------
 8182|      0|        PyErr_SetString(PyExc_ValueError,
 8183|      0|                        "field 'str' is required for Interpolation");
 8184|      0|        return NULL;
 8185|      0|    }
 8186|  7.33k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8187|  7.33k|    if (!p)
  ------------------
  |  Branch (8187:9): [True: 0, False: 7.33k]
  ------------------
 8188|      0|        return NULL;
 8189|  7.33k|    p->kind = Interpolation_kind;
 8190|  7.33k|    p->v.Interpolation.value = value;
 8191|  7.33k|    p->v.Interpolation.str = str;
 8192|  7.33k|    p->v.Interpolation.conversion = conversion;
 8193|  7.33k|    p->v.Interpolation.format_spec = format_spec;
 8194|  7.33k|    p->lineno = lineno;
 8195|  7.33k|    p->col_offset = col_offset;
 8196|  7.33k|    p->end_lineno = end_lineno;
 8197|  7.33k|    p->end_col_offset = end_col_offset;
 8198|  7.33k|    return p;
 8199|  7.33k|}
_PyAST_JoinedStr:
 8204|  53.3k|{
 8205|  53.3k|    expr_ty p;
 8206|  53.3k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8207|  53.3k|    if (!p)
  ------------------
  |  Branch (8207:9): [True: 0, False: 53.3k]
  ------------------
 8208|      0|        return NULL;
 8209|  53.3k|    p->kind = JoinedStr_kind;
 8210|  53.3k|    p->v.JoinedStr.values = values;
 8211|  53.3k|    p->lineno = lineno;
 8212|  53.3k|    p->col_offset = col_offset;
 8213|  53.3k|    p->end_lineno = end_lineno;
 8214|  53.3k|    p->end_col_offset = end_col_offset;
 8215|  53.3k|    return p;
 8216|  53.3k|}
_PyAST_TemplateStr:
 8221|  7.26k|{
 8222|  7.26k|    expr_ty p;
 8223|  7.26k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8224|  7.26k|    if (!p)
  ------------------
  |  Branch (8224:9): [True: 0, False: 7.26k]
  ------------------
 8225|      0|        return NULL;
 8226|  7.26k|    p->kind = TemplateStr_kind;
 8227|  7.26k|    p->v.TemplateStr.values = values;
 8228|  7.26k|    p->lineno = lineno;
 8229|  7.26k|    p->col_offset = col_offset;
 8230|  7.26k|    p->end_lineno = end_lineno;
 8231|  7.26k|    p->end_col_offset = end_col_offset;
 8232|  7.26k|    return p;
 8233|  7.26k|}
_PyAST_Constant:
 8238|  2.55M|{
 8239|  2.55M|    expr_ty p;
 8240|  2.55M|    if (!value) {
  ------------------
  |  Branch (8240:9): [True: 2, False: 2.55M]
  ------------------
 8241|      2|        PyErr_SetString(PyExc_ValueError,
 8242|      2|                        "field 'value' is required for Constant");
 8243|      2|        return NULL;
 8244|      2|    }
 8245|  2.55M|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8246|  2.55M|    if (!p)
  ------------------
  |  Branch (8246:9): [True: 0, False: 2.55M]
  ------------------
 8247|      0|        return NULL;
 8248|  2.55M|    p->kind = Constant_kind;
 8249|  2.55M|    p->v.Constant.value = value;
 8250|  2.55M|    p->v.Constant.kind = kind;
 8251|  2.55M|    p->lineno = lineno;
 8252|  2.55M|    p->col_offset = col_offset;
 8253|  2.55M|    p->end_lineno = end_lineno;
 8254|  2.55M|    p->end_col_offset = end_col_offset;
 8255|  2.55M|    return p;
 8256|  2.55M|}
_PyAST_Attribute:
 8262|  59.3k|{
 8263|  59.3k|    expr_ty p;
 8264|  59.3k|    if (!value) {
  ------------------
  |  Branch (8264:9): [True: 0, False: 59.3k]
  ------------------
 8265|      0|        PyErr_SetString(PyExc_ValueError,
 8266|      0|                        "field 'value' is required for Attribute");
 8267|      0|        return NULL;
 8268|      0|    }
 8269|  59.3k|    if (!attr) {
  ------------------
  |  Branch (8269:9): [True: 0, False: 59.3k]
  ------------------
 8270|      0|        PyErr_SetString(PyExc_ValueError,
 8271|      0|                        "field 'attr' is required for Attribute");
 8272|      0|        return NULL;
 8273|      0|    }
 8274|  59.3k|    if (!ctx) {
  ------------------
  |  Branch (8274:9): [True: 0, False: 59.3k]
  ------------------
 8275|      0|        PyErr_SetString(PyExc_ValueError,
 8276|      0|                        "field 'ctx' is required for Attribute");
 8277|      0|        return NULL;
 8278|      0|    }
 8279|  59.3k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8280|  59.3k|    if (!p)
  ------------------
  |  Branch (8280:9): [True: 0, False: 59.3k]
  ------------------
 8281|      0|        return NULL;
 8282|  59.3k|    p->kind = Attribute_kind;
 8283|  59.3k|    p->v.Attribute.value = value;
 8284|  59.3k|    p->v.Attribute.attr = attr;
 8285|  59.3k|    p->v.Attribute.ctx = ctx;
 8286|  59.3k|    p->lineno = lineno;
 8287|  59.3k|    p->col_offset = col_offset;
 8288|  59.3k|    p->end_lineno = end_lineno;
 8289|  59.3k|    p->end_col_offset = end_col_offset;
 8290|  59.3k|    return p;
 8291|  59.3k|}
_PyAST_Subscript:
 8297|  23.7k|{
 8298|  23.7k|    expr_ty p;
 8299|  23.7k|    if (!value) {
  ------------------
  |  Branch (8299:9): [True: 0, False: 23.7k]
  ------------------
 8300|      0|        PyErr_SetString(PyExc_ValueError,
 8301|      0|                        "field 'value' is required for Subscript");
 8302|      0|        return NULL;
 8303|      0|    }
 8304|  23.7k|    if (!slice) {
  ------------------
  |  Branch (8304:9): [True: 0, False: 23.7k]
  ------------------
 8305|      0|        PyErr_SetString(PyExc_ValueError,
 8306|      0|                        "field 'slice' is required for Subscript");
 8307|      0|        return NULL;
 8308|      0|    }
 8309|  23.7k|    if (!ctx) {
  ------------------
  |  Branch (8309:9): [True: 0, False: 23.7k]
  ------------------
 8310|      0|        PyErr_SetString(PyExc_ValueError,
 8311|      0|                        "field 'ctx' is required for Subscript");
 8312|      0|        return NULL;
 8313|      0|    }
 8314|  23.7k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8315|  23.7k|    if (!p)
  ------------------
  |  Branch (8315:9): [True: 0, False: 23.7k]
  ------------------
 8316|      0|        return NULL;
 8317|  23.7k|    p->kind = Subscript_kind;
 8318|  23.7k|    p->v.Subscript.value = value;
 8319|  23.7k|    p->v.Subscript.slice = slice;
 8320|  23.7k|    p->v.Subscript.ctx = ctx;
 8321|  23.7k|    p->lineno = lineno;
 8322|  23.7k|    p->col_offset = col_offset;
 8323|  23.7k|    p->end_lineno = end_lineno;
 8324|  23.7k|    p->end_col_offset = end_col_offset;
 8325|  23.7k|    return p;
 8326|  23.7k|}
_PyAST_Starred:
 8331|  56.0k|{
 8332|  56.0k|    expr_ty p;
 8333|  56.0k|    if (!value) {
  ------------------
  |  Branch (8333:9): [True: 0, False: 56.0k]
  ------------------
 8334|      0|        PyErr_SetString(PyExc_ValueError,
 8335|      0|                        "field 'value' is required for Starred");
 8336|      0|        return NULL;
 8337|      0|    }
 8338|  56.0k|    if (!ctx) {
  ------------------
  |  Branch (8338:9): [True: 0, False: 56.0k]
  ------------------
 8339|      0|        PyErr_SetString(PyExc_ValueError,
 8340|      0|                        "field 'ctx' is required for Starred");
 8341|      0|        return NULL;
 8342|      0|    }
 8343|  56.0k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8344|  56.0k|    if (!p)
  ------------------
  |  Branch (8344:9): [True: 0, False: 56.0k]
  ------------------
 8345|      0|        return NULL;
 8346|  56.0k|    p->kind = Starred_kind;
 8347|  56.0k|    p->v.Starred.value = value;
 8348|  56.0k|    p->v.Starred.ctx = ctx;
 8349|  56.0k|    p->lineno = lineno;
 8350|  56.0k|    p->col_offset = col_offset;
 8351|  56.0k|    p->end_lineno = end_lineno;
 8352|  56.0k|    p->end_col_offset = end_col_offset;
 8353|  56.0k|    return p;
 8354|  56.0k|}
_PyAST_Name:
 8359|  4.44M|{
 8360|  4.44M|    expr_ty p;
 8361|  4.44M|    if (!id) {
  ------------------
  |  Branch (8361:9): [True: 0, False: 4.44M]
  ------------------
 8362|      0|        PyErr_SetString(PyExc_ValueError,
 8363|      0|                        "field 'id' is required for Name");
 8364|      0|        return NULL;
 8365|      0|    }
 8366|  4.44M|    if (!ctx) {
  ------------------
  |  Branch (8366:9): [True: 0, False: 4.44M]
  ------------------
 8367|      0|        PyErr_SetString(PyExc_ValueError,
 8368|      0|                        "field 'ctx' is required for Name");
 8369|      0|        return NULL;
 8370|      0|    }
 8371|  4.44M|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8372|  4.44M|    if (!p)
  ------------------
  |  Branch (8372:9): [True: 0, False: 4.44M]
  ------------------
 8373|      0|        return NULL;
 8374|  4.44M|    p->kind = Name_kind;
 8375|  4.44M|    p->v.Name.id = id;
 8376|  4.44M|    p->v.Name.ctx = ctx;
 8377|  4.44M|    p->lineno = lineno;
 8378|  4.44M|    p->col_offset = col_offset;
 8379|  4.44M|    p->end_lineno = end_lineno;
 8380|  4.44M|    p->end_col_offset = end_col_offset;
 8381|  4.44M|    return p;
 8382|  4.44M|}
_PyAST_List:
 8387|  22.8k|{
 8388|  22.8k|    expr_ty p;
 8389|  22.8k|    if (!ctx) {
  ------------------
  |  Branch (8389:9): [True: 0, False: 22.8k]
  ------------------
 8390|      0|        PyErr_SetString(PyExc_ValueError,
 8391|      0|                        "field 'ctx' is required for List");
 8392|      0|        return NULL;
 8393|      0|    }
 8394|  22.8k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8395|  22.8k|    if (!p)
  ------------------
  |  Branch (8395:9): [True: 0, False: 22.8k]
  ------------------
 8396|      0|        return NULL;
 8397|  22.8k|    p->kind = List_kind;
 8398|  22.8k|    p->v.List.elts = elts;
 8399|  22.8k|    p->v.List.ctx = ctx;
 8400|  22.8k|    p->lineno = lineno;
 8401|  22.8k|    p->col_offset = col_offset;
 8402|  22.8k|    p->end_lineno = end_lineno;
 8403|  22.8k|    p->end_col_offset = end_col_offset;
 8404|  22.8k|    return p;
 8405|  22.8k|}
_PyAST_Tuple:
 8410|   199k|{
 8411|   199k|    expr_ty p;
 8412|   199k|    if (!ctx) {
  ------------------
  |  Branch (8412:9): [True: 0, False: 199k]
  ------------------
 8413|      0|        PyErr_SetString(PyExc_ValueError,
 8414|      0|                        "field 'ctx' is required for Tuple");
 8415|      0|        return NULL;
 8416|      0|    }
 8417|   199k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8418|   199k|    if (!p)
  ------------------
  |  Branch (8418:9): [True: 0, False: 199k]
  ------------------
 8419|      0|        return NULL;
 8420|   199k|    p->kind = Tuple_kind;
 8421|   199k|    p->v.Tuple.elts = elts;
 8422|   199k|    p->v.Tuple.ctx = ctx;
 8423|   199k|    p->lineno = lineno;
 8424|   199k|    p->col_offset = col_offset;
 8425|   199k|    p->end_lineno = end_lineno;
 8426|   199k|    p->end_col_offset = end_col_offset;
 8427|   199k|    return p;
 8428|   199k|}
_PyAST_Slice:
 8433|  38.4k|{
 8434|  38.4k|    expr_ty p;
 8435|  38.4k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8436|  38.4k|    if (!p)
  ------------------
  |  Branch (8436:9): [True: 0, False: 38.4k]
  ------------------
 8437|      0|        return NULL;
 8438|  38.4k|    p->kind = Slice_kind;
 8439|  38.4k|    p->v.Slice.lower = lower;
 8440|  38.4k|    p->v.Slice.upper = upper;
 8441|  38.4k|    p->v.Slice.step = step;
 8442|  38.4k|    p->lineno = lineno;
 8443|  38.4k|    p->col_offset = col_offset;
 8444|  38.4k|    p->end_lineno = end_lineno;
 8445|  38.4k|    p->end_col_offset = end_col_offset;
 8446|  38.4k|    return p;
 8447|  38.4k|}
_PyAST_comprehension:
 8452|  28.1k|{
 8453|  28.1k|    comprehension_ty p;
 8454|  28.1k|    if (!target) {
  ------------------
  |  Branch (8454:9): [True: 0, False: 28.1k]
  ------------------
 8455|      0|        PyErr_SetString(PyExc_ValueError,
 8456|      0|                        "field 'target' is required for comprehension");
 8457|      0|        return NULL;
 8458|      0|    }
 8459|  28.1k|    if (!iter) {
  ------------------
  |  Branch (8459:9): [True: 0, False: 28.1k]
  ------------------
 8460|      0|        PyErr_SetString(PyExc_ValueError,
 8461|      0|                        "field 'iter' is required for comprehension");
 8462|      0|        return NULL;
 8463|      0|    }
 8464|  28.1k|    p = (comprehension_ty)_PyArena_Malloc(arena, sizeof(*p));
 8465|  28.1k|    if (!p)
  ------------------
  |  Branch (8465:9): [True: 0, False: 28.1k]
  ------------------
 8466|      0|        return NULL;
 8467|  28.1k|    p->target = target;
 8468|  28.1k|    p->iter = iter;
 8469|  28.1k|    p->ifs = ifs;
 8470|  28.1k|    p->is_async = is_async;
 8471|  28.1k|    return p;
 8472|  28.1k|}
_PyAST_ExceptHandler:
 8478|  11.8k|{
 8479|  11.8k|    excepthandler_ty p;
 8480|  11.8k|    p = (excepthandler_ty)_PyArena_Malloc(arena, sizeof(*p));
 8481|  11.8k|    if (!p)
  ------------------
  |  Branch (8481:9): [True: 0, False: 11.8k]
  ------------------
 8482|      0|        return NULL;
 8483|  11.8k|    p->kind = ExceptHandler_kind;
 8484|  11.8k|    p->v.ExceptHandler.type = type;
 8485|  11.8k|    p->v.ExceptHandler.name = name;
 8486|  11.8k|    p->v.ExceptHandler.body = body;
 8487|  11.8k|    p->lineno = lineno;
 8488|  11.8k|    p->col_offset = col_offset;
 8489|  11.8k|    p->end_lineno = end_lineno;
 8490|  11.8k|    p->end_col_offset = end_col_offset;
 8491|  11.8k|    return p;
 8492|  11.8k|}
_PyAST_arguments:
 8499|  32.7k|{
 8500|  32.7k|    arguments_ty p;
 8501|  32.7k|    p = (arguments_ty)_PyArena_Malloc(arena, sizeof(*p));
 8502|  32.7k|    if (!p)
  ------------------
  |  Branch (8502:9): [True: 0, False: 32.7k]
  ------------------
 8503|      0|        return NULL;
 8504|  32.7k|    p->posonlyargs = posonlyargs;
 8505|  32.7k|    p->args = args;
 8506|  32.7k|    p->vararg = vararg;
 8507|  32.7k|    p->kwonlyargs = kwonlyargs;
 8508|  32.7k|    p->kw_defaults = kw_defaults;
 8509|  32.7k|    p->kwarg = kwarg;
 8510|  32.7k|    p->defaults = defaults;
 8511|  32.7k|    return p;
 8512|  32.7k|}
_PyAST_arg:
 8517|   475k|{
 8518|   475k|    arg_ty p;
 8519|   475k|    if (!arg) {
  ------------------
  |  Branch (8519:9): [True: 0, False: 475k]
  ------------------
 8520|      0|        PyErr_SetString(PyExc_ValueError,
 8521|      0|                        "field 'arg' is required for arg");
 8522|      0|        return NULL;
 8523|      0|    }
 8524|   475k|    p = (arg_ty)_PyArena_Malloc(arena, sizeof(*p));
 8525|   475k|    if (!p)
  ------------------
  |  Branch (8525:9): [True: 0, False: 475k]
  ------------------
 8526|      0|        return NULL;
 8527|   475k|    p->arg = arg;
 8528|   475k|    p->annotation = annotation;
 8529|   475k|    p->type_comment = type_comment;
 8530|   475k|    p->lineno = lineno;
 8531|   475k|    p->col_offset = col_offset;
 8532|   475k|    p->end_lineno = end_lineno;
 8533|   475k|    p->end_col_offset = end_col_offset;
 8534|   475k|    return p;
 8535|   475k|}
_PyAST_keyword:
 8540|  42.2k|{
 8541|  42.2k|    keyword_ty p;
 8542|  42.2k|    if (!value) {
  ------------------
  |  Branch (8542:9): [True: 0, False: 42.2k]
  ------------------
 8543|      0|        PyErr_SetString(PyExc_ValueError,
 8544|      0|                        "field 'value' is required for keyword");
 8545|      0|        return NULL;
 8546|      0|    }
 8547|  42.2k|    p = (keyword_ty)_PyArena_Malloc(arena, sizeof(*p));
 8548|  42.2k|    if (!p)
  ------------------
  |  Branch (8548:9): [True: 0, False: 42.2k]
  ------------------
 8549|      0|        return NULL;
 8550|  42.2k|    p->arg = arg;
 8551|  42.2k|    p->value = value;
 8552|  42.2k|    p->lineno = lineno;
 8553|  42.2k|    p->col_offset = col_offset;
 8554|  42.2k|    p->end_lineno = end_lineno;
 8555|  42.2k|    p->end_col_offset = end_col_offset;
 8556|  42.2k|    return p;
 8557|  42.2k|}
_PyAST_alias:
 8562|  34.8k|{
 8563|  34.8k|    alias_ty p;
 8564|  34.8k|    if (!name) {
  ------------------
  |  Branch (8564:9): [True: 0, False: 34.8k]
  ------------------
 8565|      0|        PyErr_SetString(PyExc_ValueError,
 8566|      0|                        "field 'name' is required for alias");
 8567|      0|        return NULL;
 8568|      0|    }
 8569|  34.8k|    p = (alias_ty)_PyArena_Malloc(arena, sizeof(*p));
 8570|  34.8k|    if (!p)
  ------------------
  |  Branch (8570:9): [True: 0, False: 34.8k]
  ------------------
 8571|      0|        return NULL;
 8572|  34.8k|    p->name = name;
 8573|  34.8k|    p->asname = asname;
 8574|  34.8k|    p->lineno = lineno;
 8575|  34.8k|    p->col_offset = col_offset;
 8576|  34.8k|    p->end_lineno = end_lineno;
 8577|  34.8k|    p->end_col_offset = end_col_offset;
 8578|  34.8k|    return p;
 8579|  34.8k|}
_PyAST_withitem:
 8583|  20.5k|{
 8584|  20.5k|    withitem_ty p;
 8585|  20.5k|    if (!context_expr) {
  ------------------
  |  Branch (8585:9): [True: 0, False: 20.5k]
  ------------------
 8586|      0|        PyErr_SetString(PyExc_ValueError,
 8587|      0|                        "field 'context_expr' is required for withitem");
 8588|      0|        return NULL;
 8589|      0|    }
 8590|  20.5k|    p = (withitem_ty)_PyArena_Malloc(arena, sizeof(*p));
 8591|  20.5k|    if (!p)
  ------------------
  |  Branch (8591:9): [True: 0, False: 20.5k]
  ------------------
 8592|      0|        return NULL;
 8593|  20.5k|    p->context_expr = context_expr;
 8594|  20.5k|    p->optional_vars = optional_vars;
 8595|  20.5k|    return p;
 8596|  20.5k|}
_PyAST_match_case:
 8601|  2.35k|{
 8602|  2.35k|    match_case_ty p;
 8603|  2.35k|    if (!pattern) {
  ------------------
  |  Branch (8603:9): [True: 0, False: 2.35k]
  ------------------
 8604|      0|        PyErr_SetString(PyExc_ValueError,
 8605|      0|                        "field 'pattern' is required for match_case");
 8606|      0|        return NULL;
 8607|      0|    }
 8608|  2.35k|    p = (match_case_ty)_PyArena_Malloc(arena, sizeof(*p));
 8609|  2.35k|    if (!p)
  ------------------
  |  Branch (8609:9): [True: 0, False: 2.35k]
  ------------------
 8610|      0|        return NULL;
 8611|  2.35k|    p->pattern = pattern;
 8612|  2.35k|    p->guard = guard;
 8613|  2.35k|    p->body = body;
 8614|  2.35k|    return p;
 8615|  2.35k|}
_PyAST_MatchValue:
 8620|  6.09k|{
 8621|  6.09k|    pattern_ty p;
 8622|  6.09k|    if (!value) {
  ------------------
  |  Branch (8622:9): [True: 0, False: 6.09k]
  ------------------
 8623|      0|        PyErr_SetString(PyExc_ValueError,
 8624|      0|                        "field 'value' is required for MatchValue");
 8625|      0|        return NULL;
 8626|      0|    }
 8627|  6.09k|    p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
 8628|  6.09k|    if (!p)
  ------------------
  |  Branch (8628:9): [True: 0, False: 6.09k]
  ------------------
 8629|      0|        return NULL;
 8630|  6.09k|    p->kind = MatchValue_kind;
 8631|  6.09k|    p->v.MatchValue.value = value;
 8632|  6.09k|    p->lineno = lineno;
 8633|  6.09k|    p->col_offset = col_offset;
 8634|  6.09k|    p->end_lineno = end_lineno;
 8635|  6.09k|    p->end_col_offset = end_col_offset;
 8636|  6.09k|    return p;
 8637|  6.09k|}
_PyAST_MatchSingleton:
 8642|  1.55k|{
 8643|  1.55k|    pattern_ty p;
 8644|  1.55k|    if (!value) {
  ------------------
  |  Branch (8644:9): [True: 0, False: 1.55k]
  ------------------
 8645|      0|        PyErr_SetString(PyExc_ValueError,
 8646|      0|                        "field 'value' is required for MatchSingleton");
 8647|      0|        return NULL;
 8648|      0|    }
 8649|  1.55k|    p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
 8650|  1.55k|    if (!p)
  ------------------
  |  Branch (8650:9): [True: 0, False: 1.55k]
  ------------------
 8651|      0|        return NULL;
 8652|  1.55k|    p->kind = MatchSingleton_kind;
 8653|  1.55k|    p->v.MatchSingleton.value = value;
 8654|  1.55k|    p->lineno = lineno;
 8655|  1.55k|    p->col_offset = col_offset;
 8656|  1.55k|    p->end_lineno = end_lineno;
 8657|  1.55k|    p->end_col_offset = end_col_offset;
 8658|  1.55k|    return p;
 8659|  1.55k|}
_PyAST_MatchSequence:
 8664|  3.40k|{
 8665|  3.40k|    pattern_ty p;
 8666|  3.40k|    p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
 8667|  3.40k|    if (!p)
  ------------------
  |  Branch (8667:9): [True: 0, False: 3.40k]
  ------------------
 8668|      0|        return NULL;
 8669|  3.40k|    p->kind = MatchSequence_kind;
 8670|  3.40k|    p->v.MatchSequence.patterns = patterns;
 8671|  3.40k|    p->lineno = lineno;
 8672|  3.40k|    p->col_offset = col_offset;
 8673|  3.40k|    p->end_lineno = end_lineno;
 8674|  3.40k|    p->end_col_offset = end_col_offset;
 8675|  3.40k|    return p;
 8676|  3.40k|}
_PyAST_MatchMapping:
 8682|     82|{
 8683|     82|    pattern_ty p;
 8684|     82|    p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
 8685|     82|    if (!p)
  ------------------
  |  Branch (8685:9): [True: 0, False: 82]
  ------------------
 8686|      0|        return NULL;
 8687|     82|    p->kind = MatchMapping_kind;
 8688|     82|    p->v.MatchMapping.keys = keys;
 8689|     82|    p->v.MatchMapping.patterns = patterns;
 8690|     82|    p->v.MatchMapping.rest = rest;
 8691|     82|    p->lineno = lineno;
 8692|     82|    p->col_offset = col_offset;
 8693|     82|    p->end_lineno = end_lineno;
 8694|     82|    p->end_col_offset = end_col_offset;
 8695|     82|    return p;
 8696|     82|}
_PyAST_MatchClass:
 8703|  1.51k|{
 8704|  1.51k|    pattern_ty p;
 8705|  1.51k|    if (!cls) {
  ------------------
  |  Branch (8705:9): [True: 0, False: 1.51k]
  ------------------
 8706|      0|        PyErr_SetString(PyExc_ValueError,
 8707|      0|                        "field 'cls' is required for MatchClass");
 8708|      0|        return NULL;
 8709|      0|    }
 8710|  1.51k|    p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
 8711|  1.51k|    if (!p)
  ------------------
  |  Branch (8711:9): [True: 0, False: 1.51k]
  ------------------
 8712|      0|        return NULL;
 8713|  1.51k|    p->kind = MatchClass_kind;
 8714|  1.51k|    p->v.MatchClass.cls = cls;
 8715|  1.51k|    p->v.MatchClass.patterns = patterns;
 8716|  1.51k|    p->v.MatchClass.kwd_attrs = kwd_attrs;
 8717|  1.51k|    p->v.MatchClass.kwd_patterns = kwd_patterns;
 8718|  1.51k|    p->lineno = lineno;
 8719|  1.51k|    p->col_offset = col_offset;
 8720|  1.51k|    p->end_lineno = end_lineno;
 8721|  1.51k|    p->end_col_offset = end_col_offset;
 8722|  1.51k|    return p;
 8723|  1.51k|}
_PyAST_MatchStar:
 8728|  2.39k|{
 8729|  2.39k|    pattern_ty p;
 8730|  2.39k|    p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
 8731|  2.39k|    if (!p)
  ------------------
  |  Branch (8731:9): [True: 0, False: 2.39k]
  ------------------
 8732|      0|        return NULL;
 8733|  2.39k|    p->kind = MatchStar_kind;
 8734|  2.39k|    p->v.MatchStar.name = name;
 8735|  2.39k|    p->lineno = lineno;
 8736|  2.39k|    p->col_offset = col_offset;
 8737|  2.39k|    p->end_lineno = end_lineno;
 8738|  2.39k|    p->end_col_offset = end_col_offset;
 8739|  2.39k|    return p;
 8740|  2.39k|}
_PyAST_MatchAs:
 8745|  25.5k|{
 8746|  25.5k|    pattern_ty p;
 8747|  25.5k|    p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
 8748|  25.5k|    if (!p)
  ------------------
  |  Branch (8748:9): [True: 0, False: 25.5k]
  ------------------
 8749|      0|        return NULL;
 8750|  25.5k|    p->kind = MatchAs_kind;
 8751|  25.5k|    p->v.MatchAs.pattern = pattern;
 8752|  25.5k|    p->v.MatchAs.name = name;
 8753|  25.5k|    p->lineno = lineno;
 8754|  25.5k|    p->col_offset = col_offset;
 8755|  25.5k|    p->end_lineno = end_lineno;
 8756|  25.5k|    p->end_col_offset = end_col_offset;
 8757|  25.5k|    return p;
 8758|  25.5k|}
_PyAST_MatchOr:
 8763|  9.49k|{
 8764|  9.49k|    pattern_ty p;
 8765|  9.49k|    p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
 8766|  9.49k|    if (!p)
  ------------------
  |  Branch (8766:9): [True: 0, False: 9.49k]
  ------------------
 8767|      0|        return NULL;
 8768|  9.49k|    p->kind = MatchOr_kind;
 8769|  9.49k|    p->v.MatchOr.patterns = patterns;
 8770|  9.49k|    p->lineno = lineno;
 8771|  9.49k|    p->col_offset = col_offset;
 8772|  9.49k|    p->end_lineno = end_lineno;
 8773|  9.49k|    p->end_col_offset = end_col_offset;
 8774|  9.49k|    return p;
 8775|  9.49k|}
_PyAST_TypeIgnore:
 8779|    789|{
 8780|    789|    type_ignore_ty p;
 8781|    789|    if (!tag) {
  ------------------
  |  Branch (8781:9): [True: 0, False: 789]
  ------------------
 8782|      0|        PyErr_SetString(PyExc_ValueError,
 8783|      0|                        "field 'tag' is required for TypeIgnore");
 8784|      0|        return NULL;
 8785|      0|    }
 8786|    789|    p = (type_ignore_ty)_PyArena_Malloc(arena, sizeof(*p));
 8787|    789|    if (!p)
  ------------------
  |  Branch (8787:9): [True: 0, False: 789]
  ------------------
 8788|      0|        return NULL;
 8789|    789|    p->kind = TypeIgnore_kind;
 8790|    789|    p->v.TypeIgnore.lineno = lineno;
 8791|    789|    p->v.TypeIgnore.tag = tag;
 8792|    789|    return p;
 8793|    789|}
_PyAST_TypeVar:
 8799|  17.3k|{
 8800|  17.3k|    type_param_ty p;
 8801|  17.3k|    if (!name) {
  ------------------
  |  Branch (8801:9): [True: 0, False: 17.3k]
  ------------------
 8802|      0|        PyErr_SetString(PyExc_ValueError,
 8803|      0|                        "field 'name' is required for TypeVar");
 8804|      0|        return NULL;
 8805|      0|    }
 8806|  17.3k|    p = (type_param_ty)_PyArena_Malloc(arena, sizeof(*p));
 8807|  17.3k|    if (!p)
  ------------------
  |  Branch (8807:9): [True: 0, False: 17.3k]
  ------------------
 8808|      0|        return NULL;
 8809|  17.3k|    p->kind = TypeVar_kind;
 8810|  17.3k|    p->v.TypeVar.name = name;
 8811|  17.3k|    p->v.TypeVar.bound = bound;
 8812|  17.3k|    p->v.TypeVar.default_value = default_value;
 8813|  17.3k|    p->lineno = lineno;
 8814|  17.3k|    p->col_offset = col_offset;
 8815|  17.3k|    p->end_lineno = end_lineno;
 8816|  17.3k|    p->end_col_offset = end_col_offset;
 8817|  17.3k|    return p;
 8818|  17.3k|}
_PyAST_ParamSpec:
 8823|    401|{
 8824|    401|    type_param_ty p;
 8825|    401|    if (!name) {
  ------------------
  |  Branch (8825:9): [True: 0, False: 401]
  ------------------
 8826|      0|        PyErr_SetString(PyExc_ValueError,
 8827|      0|                        "field 'name' is required for ParamSpec");
 8828|      0|        return NULL;
 8829|      0|    }
 8830|    401|    p = (type_param_ty)_PyArena_Malloc(arena, sizeof(*p));
 8831|    401|    if (!p)
  ------------------
  |  Branch (8831:9): [True: 0, False: 401]
  ------------------
 8832|      0|        return NULL;
 8833|    401|    p->kind = ParamSpec_kind;
 8834|    401|    p->v.ParamSpec.name = name;
 8835|    401|    p->v.ParamSpec.default_value = default_value;
 8836|    401|    p->lineno = lineno;
 8837|    401|    p->col_offset = col_offset;
 8838|    401|    p->end_lineno = end_lineno;
 8839|    401|    p->end_col_offset = end_col_offset;
 8840|    401|    return p;
 8841|    401|}
_PyAST_TypeVarTuple:
 8847|    933|{
 8848|    933|    type_param_ty p;
 8849|    933|    if (!name) {
  ------------------
  |  Branch (8849:9): [True: 0, False: 933]
  ------------------
 8850|      0|        PyErr_SetString(PyExc_ValueError,
 8851|      0|                        "field 'name' is required for TypeVarTuple");
 8852|      0|        return NULL;
 8853|      0|    }
 8854|    933|    p = (type_param_ty)_PyArena_Malloc(arena, sizeof(*p));
 8855|    933|    if (!p)
  ------------------
  |  Branch (8855:9): [True: 0, False: 933]
  ------------------
 8856|      0|        return NULL;
 8857|    933|    p->kind = TypeVarTuple_kind;
 8858|    933|    p->v.TypeVarTuple.name = name;
 8859|    933|    p->v.TypeVarTuple.default_value = default_value;
 8860|    933|    p->lineno = lineno;
 8861|    933|    p->col_offset = col_offset;
 8862|    933|    p->end_lineno = end_lineno;
 8863|    933|    p->end_col_offset = end_col_offset;
 8864|    933|    return p;
 8865|    933|}
PyAST_mod2obj:
18542|  1.87k|{
18543|  1.87k|    struct ast_state *state = get_ast_state();
18544|  1.87k|    if (state == NULL) {
  ------------------
  |  Branch (18544:9): [True: 0, False: 1.87k]
  ------------------
18545|      0|        return NULL;
18546|      0|    }
18547|  1.87k|    PyObject *result = ast2obj_mod(state, t);
18548|       |
18549|  1.87k|    return result;
18550|  1.87k|}
Python-ast.c:get_ast_state:
   22|  1.87k|{
   23|  1.87k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   24|  1.87k|    struct ast_state *state = &interp->ast;
   25|  1.87k|    assert(!state->finalized);
  ------------------
  |  Branch (25:5): [True: 1.87k, False: 0]
  ------------------
   26|  1.87k|    if (_PyOnceFlag_CallOnce(&state->once, (_Py_once_fn_t *)&init_types, state) < 0) {
  ------------------
  |  Branch (26:9): [True: 0, False: 1.87k]
  ------------------
   27|      0|        return NULL;
   28|      0|    }
   29|  1.87k|    return state;
   30|  1.87k|}
Python-ast.c:init_types:
 6111|      1|{
 6112|      1|    struct ast_state *state = arg;
 6113|      1|    if (init_identifiers(state) < 0) {
  ------------------
  |  Branch (6113:9): [True: 0, False: 1]
  ------------------
 6114|      0|        return -1;
 6115|      0|    }
 6116|      1|    state->AST_type = PyType_FromSpec(&AST_type_spec);
 6117|      1|    if (!state->AST_type) {
  ------------------
  |  Branch (6117:9): [True: 0, False: 1]
  ------------------
 6118|      0|        return -1;
 6119|      0|    }
 6120|      1|    state->abstract_types = PySet_New(NULL);
 6121|      1|    if (!state->abstract_types) {
  ------------------
  |  Branch (6121:9): [True: 0, False: 1]
  ------------------
 6122|      0|        return -1;
 6123|      0|    }
 6124|      1|    if (PySet_Add(state->abstract_types, state->AST_type) < 0) {
  ------------------
  |  Branch (6124:9): [True: 0, False: 1]
  ------------------
 6125|      0|        return -1;
 6126|      0|    }
 6127|      1|    if (add_ast_fields(state) < 0) {
  ------------------
  |  Branch (6127:9): [True: 0, False: 1]
  ------------------
 6128|      0|        return -1;
 6129|      0|    }
 6130|      1|    state->mod_type = make_type(state, "mod", state->AST_type, NULL, 0,
 6131|      1|        "mod = Module(stmt* body, type_ignore* type_ignores)\n"
 6132|      1|        "    | Interactive(stmt* body)\n"
 6133|      1|        "    | Expression(expr body)\n"
 6134|      1|        "    | FunctionType(expr* argtypes, expr returns)");
 6135|      1|    if (!state->mod_type) return -1;
  ------------------
  |  Branch (6135:9): [True: 0, False: 1]
  ------------------
 6136|      1|    if (add_attributes(state, state->mod_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6136:9): [True: 0, False: 1]
  ------------------
 6137|      1|    if (PySet_Add(state->abstract_types, state->mod_type) < 0) return -1;
  ------------------
  |  Branch (6137:9): [True: 0, False: 1]
  ------------------
 6138|      1|    state->Module_type = make_type(state, "Module", state->mod_type,
 6139|      1|                                   Module_fields, 2,
 6140|      1|        "Module(stmt* body, type_ignore* type_ignores)");
 6141|      1|    if (!state->Module_type) return -1;
  ------------------
  |  Branch (6141:9): [True: 0, False: 1]
  ------------------
 6142|      1|    state->Interactive_type = make_type(state, "Interactive", state->mod_type,
 6143|      1|                                        Interactive_fields, 1,
 6144|      1|        "Interactive(stmt* body)");
 6145|      1|    if (!state->Interactive_type) return -1;
  ------------------
  |  Branch (6145:9): [True: 0, False: 1]
  ------------------
 6146|      1|    state->Expression_type = make_type(state, "Expression", state->mod_type,
 6147|      1|                                       Expression_fields, 1,
 6148|      1|        "Expression(expr body)");
 6149|      1|    if (!state->Expression_type) return -1;
  ------------------
  |  Branch (6149:9): [True: 0, False: 1]
  ------------------
 6150|      1|    state->FunctionType_type = make_type(state, "FunctionType",
 6151|      1|                                         state->mod_type, FunctionType_fields,
 6152|      1|                                         2,
 6153|      1|        "FunctionType(expr* argtypes, expr returns)");
 6154|      1|    if (!state->FunctionType_type) return -1;
  ------------------
  |  Branch (6154:9): [True: 0, False: 1]
  ------------------
 6155|      1|    state->stmt_type = make_type(state, "stmt", state->AST_type, NULL, 0,
 6156|      1|        "stmt = FunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment, type_param* type_params)\n"
 6157|      1|        "     | AsyncFunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment, type_param* type_params)\n"
 6158|      1|        "     | ClassDef(identifier name, expr* bases, keyword* keywords, stmt* body, expr* decorator_list, type_param* type_params)\n"
 6159|      1|        "     | Return(expr? value)\n"
 6160|      1|        "     | Delete(expr* targets)\n"
 6161|      1|        "     | Assign(expr* targets, expr value, string? type_comment)\n"
 6162|      1|        "     | TypeAlias(expr name, type_param* type_params, expr value)\n"
 6163|      1|        "     | AugAssign(expr target, operator op, expr value)\n"
 6164|      1|        "     | AnnAssign(expr target, expr annotation, expr? value, int simple)\n"
 6165|      1|        "     | For(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)\n"
 6166|      1|        "     | AsyncFor(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)\n"
 6167|      1|        "     | While(expr test, stmt* body, stmt* orelse)\n"
 6168|      1|        "     | If(expr test, stmt* body, stmt* orelse)\n"
 6169|      1|        "     | With(withitem* items, stmt* body, string? type_comment)\n"
 6170|      1|        "     | AsyncWith(withitem* items, stmt* body, string? type_comment)\n"
 6171|      1|        "     | Match(expr subject, match_case* cases)\n"
 6172|      1|        "     | Raise(expr? exc, expr? cause)\n"
 6173|      1|        "     | Try(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)\n"
 6174|      1|        "     | TryStar(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)\n"
 6175|      1|        "     | Assert(expr test, expr? msg)\n"
 6176|      1|        "     | Import(alias* names, int? is_lazy)\n"
 6177|      1|        "     | ImportFrom(identifier? module, alias* names, int? level, int? is_lazy)\n"
 6178|      1|        "     | Global(identifier* names)\n"
 6179|      1|        "     | Nonlocal(identifier* names)\n"
 6180|      1|        "     | Expr(expr value)\n"
 6181|      1|        "     | Pass\n"
 6182|      1|        "     | Break\n"
 6183|      1|        "     | Continue");
 6184|      1|    if (!state->stmt_type) return -1;
  ------------------
  |  Branch (6184:9): [True: 0, False: 1]
  ------------------
 6185|      1|    if (add_attributes(state, state->stmt_type, stmt_attributes, 4) < 0) return
  ------------------
  |  Branch (6185:9): [True: 0, False: 1]
  ------------------
 6186|      0|        -1;
 6187|      1|    if (PySet_Add(state->abstract_types, state->stmt_type) < 0) return -1;
  ------------------
  |  Branch (6187:9): [True: 0, False: 1]
  ------------------
 6188|      1|    if (PyObject_SetAttr(state->stmt_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6188:9): [True: 0, False: 1]
  ------------------
 6189|      0|        return -1;
 6190|      1|    if (PyObject_SetAttr(state->stmt_type, state->end_col_offset, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6190:9): [True: 0, False: 1]
  ------------------
 6191|      1|        -1)
 6192|      0|        return -1;
 6193|      1|    state->FunctionDef_type = make_type(state, "FunctionDef", state->stmt_type,
 6194|      1|                                        FunctionDef_fields, 7,
 6195|      1|        "FunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment, type_param* type_params)");
 6196|      1|    if (!state->FunctionDef_type) return -1;
  ------------------
  |  Branch (6196:9): [True: 0, False: 1]
  ------------------
 6197|      1|    if (PyObject_SetAttr(state->FunctionDef_type, state->returns, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6197:9): [True: 0, False: 1]
  ------------------
 6198|      1|        -1)
 6199|      0|        return -1;
 6200|      1|    if (PyObject_SetAttr(state->FunctionDef_type, state->type_comment, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6200:9): [True: 0, False: 1]
  ------------------
 6201|      1|        == -1)
 6202|      0|        return -1;
 6203|      1|    state->AsyncFunctionDef_type = make_type(state, "AsyncFunctionDef",
 6204|      1|                                             state->stmt_type,
 6205|      1|                                             AsyncFunctionDef_fields, 7,
 6206|      1|        "AsyncFunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment, type_param* type_params)");
 6207|      1|    if (!state->AsyncFunctionDef_type) return -1;
  ------------------
  |  Branch (6207:9): [True: 0, False: 1]
  ------------------
 6208|      1|    if (PyObject_SetAttr(state->AsyncFunctionDef_type, state->returns, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6208:9): [True: 0, False: 1]
  ------------------
 6209|      1|        == -1)
 6210|      0|        return -1;
 6211|      1|    if (PyObject_SetAttr(state->AsyncFunctionDef_type, state->type_comment,
  ------------------
  |  Branch (6211:9): [True: 0, False: 1]
  ------------------
 6212|      1|        Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 6213|      0|        return -1;
 6214|      1|    state->ClassDef_type = make_type(state, "ClassDef", state->stmt_type,
 6215|      1|                                     ClassDef_fields, 6,
 6216|      1|        "ClassDef(identifier name, expr* bases, keyword* keywords, stmt* body, expr* decorator_list, type_param* type_params)");
 6217|      1|    if (!state->ClassDef_type) return -1;
  ------------------
  |  Branch (6217:9): [True: 0, False: 1]
  ------------------
 6218|      1|    state->Return_type = make_type(state, "Return", state->stmt_type,
 6219|      1|                                   Return_fields, 1,
 6220|      1|        "Return(expr? value)");
 6221|      1|    if (!state->Return_type) return -1;
  ------------------
  |  Branch (6221:9): [True: 0, False: 1]
  ------------------
 6222|      1|    if (PyObject_SetAttr(state->Return_type, state->value, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6222:9): [True: 0, False: 1]
  ------------------
 6223|      0|        return -1;
 6224|      1|    state->Delete_type = make_type(state, "Delete", state->stmt_type,
 6225|      1|                                   Delete_fields, 1,
 6226|      1|        "Delete(expr* targets)");
 6227|      1|    if (!state->Delete_type) return -1;
  ------------------
  |  Branch (6227:9): [True: 0, False: 1]
  ------------------
 6228|      1|    state->Assign_type = make_type(state, "Assign", state->stmt_type,
 6229|      1|                                   Assign_fields, 3,
 6230|      1|        "Assign(expr* targets, expr value, string? type_comment)");
 6231|      1|    if (!state->Assign_type) return -1;
  ------------------
  |  Branch (6231:9): [True: 0, False: 1]
  ------------------
 6232|      1|    if (PyObject_SetAttr(state->Assign_type, state->type_comment, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6232:9): [True: 0, False: 1]
  ------------------
 6233|      1|        -1)
 6234|      0|        return -1;
 6235|      1|    state->TypeAlias_type = make_type(state, "TypeAlias", state->stmt_type,
 6236|      1|                                      TypeAlias_fields, 3,
 6237|      1|        "TypeAlias(expr name, type_param* type_params, expr value)");
 6238|      1|    if (!state->TypeAlias_type) return -1;
  ------------------
  |  Branch (6238:9): [True: 0, False: 1]
  ------------------
 6239|      1|    state->AugAssign_type = make_type(state, "AugAssign", state->stmt_type,
 6240|      1|                                      AugAssign_fields, 3,
 6241|      1|        "AugAssign(expr target, operator op, expr value)");
 6242|      1|    if (!state->AugAssign_type) return -1;
  ------------------
  |  Branch (6242:9): [True: 0, False: 1]
  ------------------
 6243|      1|    state->AnnAssign_type = make_type(state, "AnnAssign", state->stmt_type,
 6244|      1|                                      AnnAssign_fields, 4,
 6245|      1|        "AnnAssign(expr target, expr annotation, expr? value, int simple)");
 6246|      1|    if (!state->AnnAssign_type) return -1;
  ------------------
  |  Branch (6246:9): [True: 0, False: 1]
  ------------------
 6247|      1|    if (PyObject_SetAttr(state->AnnAssign_type, state->value, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6247:9): [True: 0, False: 1]
  ------------------
 6248|      0|        return -1;
 6249|      1|    state->For_type = make_type(state, "For", state->stmt_type, For_fields, 5,
 6250|      1|        "For(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)");
 6251|      1|    if (!state->For_type) return -1;
  ------------------
  |  Branch (6251:9): [True: 0, False: 1]
  ------------------
 6252|      1|    if (PyObject_SetAttr(state->For_type, state->type_comment, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6252:9): [True: 0, False: 1]
  ------------------
 6253|      0|        return -1;
 6254|      1|    state->AsyncFor_type = make_type(state, "AsyncFor", state->stmt_type,
 6255|      1|                                     AsyncFor_fields, 5,
 6256|      1|        "AsyncFor(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)");
 6257|      1|    if (!state->AsyncFor_type) return -1;
  ------------------
  |  Branch (6257:9): [True: 0, False: 1]
  ------------------
 6258|      1|    if (PyObject_SetAttr(state->AsyncFor_type, state->type_comment, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6258:9): [True: 0, False: 1]
  ------------------
 6259|      1|        -1)
 6260|      0|        return -1;
 6261|      1|    state->While_type = make_type(state, "While", state->stmt_type,
 6262|      1|                                  While_fields, 3,
 6263|      1|        "While(expr test, stmt* body, stmt* orelse)");
 6264|      1|    if (!state->While_type) return -1;
  ------------------
  |  Branch (6264:9): [True: 0, False: 1]
  ------------------
 6265|      1|    state->If_type = make_type(state, "If", state->stmt_type, If_fields, 3,
 6266|      1|        "If(expr test, stmt* body, stmt* orelse)");
 6267|      1|    if (!state->If_type) return -1;
  ------------------
  |  Branch (6267:9): [True: 0, False: 1]
  ------------------
 6268|      1|    state->With_type = make_type(state, "With", state->stmt_type, With_fields,
 6269|      1|                                 3,
 6270|      1|        "With(withitem* items, stmt* body, string? type_comment)");
 6271|      1|    if (!state->With_type) return -1;
  ------------------
  |  Branch (6271:9): [True: 0, False: 1]
  ------------------
 6272|      1|    if (PyObject_SetAttr(state->With_type, state->type_comment, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6272:9): [True: 0, False: 1]
  ------------------
 6273|      0|        return -1;
 6274|      1|    state->AsyncWith_type = make_type(state, "AsyncWith", state->stmt_type,
 6275|      1|                                      AsyncWith_fields, 3,
 6276|      1|        "AsyncWith(withitem* items, stmt* body, string? type_comment)");
 6277|      1|    if (!state->AsyncWith_type) return -1;
  ------------------
  |  Branch (6277:9): [True: 0, False: 1]
  ------------------
 6278|      1|    if (PyObject_SetAttr(state->AsyncWith_type, state->type_comment, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6278:9): [True: 0, False: 1]
  ------------------
 6279|      1|        == -1)
 6280|      0|        return -1;
 6281|      1|    state->Match_type = make_type(state, "Match", state->stmt_type,
 6282|      1|                                  Match_fields, 2,
 6283|      1|        "Match(expr subject, match_case* cases)");
 6284|      1|    if (!state->Match_type) return -1;
  ------------------
  |  Branch (6284:9): [True: 0, False: 1]
  ------------------
 6285|      1|    state->Raise_type = make_type(state, "Raise", state->stmt_type,
 6286|      1|                                  Raise_fields, 2,
 6287|      1|        "Raise(expr? exc, expr? cause)");
 6288|      1|    if (!state->Raise_type) return -1;
  ------------------
  |  Branch (6288:9): [True: 0, False: 1]
  ------------------
 6289|      1|    if (PyObject_SetAttr(state->Raise_type, state->exc, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6289:9): [True: 0, False: 1]
  ------------------
 6290|      0|        return -1;
 6291|      1|    if (PyObject_SetAttr(state->Raise_type, state->cause, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6291:9): [True: 0, False: 1]
  ------------------
 6292|      0|        return -1;
 6293|      1|    state->Try_type = make_type(state, "Try", state->stmt_type, Try_fields, 4,
 6294|      1|        "Try(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)");
 6295|      1|    if (!state->Try_type) return -1;
  ------------------
  |  Branch (6295:9): [True: 0, False: 1]
  ------------------
 6296|      1|    state->TryStar_type = make_type(state, "TryStar", state->stmt_type,
 6297|      1|                                    TryStar_fields, 4,
 6298|      1|        "TryStar(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)");
 6299|      1|    if (!state->TryStar_type) return -1;
  ------------------
  |  Branch (6299:9): [True: 0, False: 1]
  ------------------
 6300|      1|    state->Assert_type = make_type(state, "Assert", state->stmt_type,
 6301|      1|                                   Assert_fields, 2,
 6302|      1|        "Assert(expr test, expr? msg)");
 6303|      1|    if (!state->Assert_type) return -1;
  ------------------
  |  Branch (6303:9): [True: 0, False: 1]
  ------------------
 6304|      1|    if (PyObject_SetAttr(state->Assert_type, state->msg, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6304:9): [True: 0, False: 1]
  ------------------
 6305|      0|        return -1;
 6306|      1|    state->Import_type = make_type(state, "Import", state->stmt_type,
 6307|      1|                                   Import_fields, 2,
 6308|      1|        "Import(alias* names, int? is_lazy)");
 6309|      1|    if (!state->Import_type) return -1;
  ------------------
  |  Branch (6309:9): [True: 0, False: 1]
  ------------------
 6310|      1|    if (PyObject_SetAttr(state->Import_type, state->is_lazy, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6310:9): [True: 0, False: 1]
  ------------------
 6311|      0|        return -1;
 6312|      1|    state->ImportFrom_type = make_type(state, "ImportFrom", state->stmt_type,
 6313|      1|                                       ImportFrom_fields, 4,
 6314|      1|        "ImportFrom(identifier? module, alias* names, int? level, int? is_lazy)");
 6315|      1|    if (!state->ImportFrom_type) return -1;
  ------------------
  |  Branch (6315:9): [True: 0, False: 1]
  ------------------
 6316|      1|    if (PyObject_SetAttr(state->ImportFrom_type, state->module, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6316:9): [True: 0, False: 1]
  ------------------
 6317|      0|        return -1;
 6318|      1|    if (PyObject_SetAttr(state->ImportFrom_type, state->level, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6318:9): [True: 0, False: 1]
  ------------------
 6319|      0|        return -1;
 6320|      1|    if (PyObject_SetAttr(state->ImportFrom_type, state->is_lazy, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6320:9): [True: 0, False: 1]
  ------------------
 6321|      0|        return -1;
 6322|      1|    state->Global_type = make_type(state, "Global", state->stmt_type,
 6323|      1|                                   Global_fields, 1,
 6324|      1|        "Global(identifier* names)");
 6325|      1|    if (!state->Global_type) return -1;
  ------------------
  |  Branch (6325:9): [True: 0, False: 1]
  ------------------
 6326|      1|    state->Nonlocal_type = make_type(state, "Nonlocal", state->stmt_type,
 6327|      1|                                     Nonlocal_fields, 1,
 6328|      1|        "Nonlocal(identifier* names)");
 6329|      1|    if (!state->Nonlocal_type) return -1;
  ------------------
  |  Branch (6329:9): [True: 0, False: 1]
  ------------------
 6330|      1|    state->Expr_type = make_type(state, "Expr", state->stmt_type, Expr_fields,
 6331|      1|                                 1,
 6332|      1|        "Expr(expr value)");
 6333|      1|    if (!state->Expr_type) return -1;
  ------------------
  |  Branch (6333:9): [True: 0, False: 1]
  ------------------
 6334|      1|    state->Pass_type = make_type(state, "Pass", state->stmt_type, NULL, 0,
 6335|      1|        "Pass");
 6336|      1|    if (!state->Pass_type) return -1;
  ------------------
  |  Branch (6336:9): [True: 0, False: 1]
  ------------------
 6337|      1|    state->Break_type = make_type(state, "Break", state->stmt_type, NULL, 0,
 6338|      1|        "Break");
 6339|      1|    if (!state->Break_type) return -1;
  ------------------
  |  Branch (6339:9): [True: 0, False: 1]
  ------------------
 6340|      1|    state->Continue_type = make_type(state, "Continue", state->stmt_type, NULL,
 6341|      1|                                     0,
 6342|      1|        "Continue");
 6343|      1|    if (!state->Continue_type) return -1;
  ------------------
  |  Branch (6343:9): [True: 0, False: 1]
  ------------------
 6344|      1|    state->expr_type = make_type(state, "expr", state->AST_type, NULL, 0,
 6345|      1|        "expr = BoolOp(boolop op, expr* values)\n"
 6346|      1|        "     | NamedExpr(expr target, expr value)\n"
 6347|      1|        "     | BinOp(expr left, operator op, expr right)\n"
 6348|      1|        "     | UnaryOp(unaryop op, expr operand)\n"
 6349|      1|        "     | Lambda(arguments args, expr body)\n"
 6350|      1|        "     | IfExp(expr test, expr body, expr orelse)\n"
 6351|      1|        "     | Dict(expr?* keys, expr* values)\n"
 6352|      1|        "     | Set(expr* elts)\n"
 6353|      1|        "     | ListComp(expr elt, comprehension* generators)\n"
 6354|      1|        "     | SetComp(expr elt, comprehension* generators)\n"
 6355|      1|        "     | DictComp(expr key, expr? value, comprehension* generators)\n"
 6356|      1|        "     | GeneratorExp(expr elt, comprehension* generators)\n"
 6357|      1|        "     | Await(expr value)\n"
 6358|      1|        "     | Yield(expr? value)\n"
 6359|      1|        "     | YieldFrom(expr value)\n"
 6360|      1|        "     | Compare(expr left, cmpop* ops, expr* comparators)\n"
 6361|      1|        "     | Call(expr func, expr* args, keyword* keywords)\n"
 6362|      1|        "     | FormattedValue(expr value, int conversion, expr? format_spec)\n"
 6363|      1|        "     | Interpolation(expr value, constant str, int conversion, expr? format_spec)\n"
 6364|      1|        "     | JoinedStr(expr* values)\n"
 6365|      1|        "     | TemplateStr(expr* values)\n"
 6366|      1|        "     | Constant(constant value, string? kind)\n"
 6367|      1|        "     | Attribute(expr value, identifier attr, expr_context ctx)\n"
 6368|      1|        "     | Subscript(expr value, expr slice, expr_context ctx)\n"
 6369|      1|        "     | Starred(expr value, expr_context ctx)\n"
 6370|      1|        "     | Name(identifier id, expr_context ctx)\n"
 6371|      1|        "     | List(expr* elts, expr_context ctx)\n"
 6372|      1|        "     | Tuple(expr* elts, expr_context ctx)\n"
 6373|      1|        "     | Slice(expr? lower, expr? upper, expr? step)");
 6374|      1|    if (!state->expr_type) return -1;
  ------------------
  |  Branch (6374:9): [True: 0, False: 1]
  ------------------
 6375|      1|    if (add_attributes(state, state->expr_type, expr_attributes, 4) < 0) return
  ------------------
  |  Branch (6375:9): [True: 0, False: 1]
  ------------------
 6376|      0|        -1;
 6377|      1|    if (PySet_Add(state->abstract_types, state->expr_type) < 0) return -1;
  ------------------
  |  Branch (6377:9): [True: 0, False: 1]
  ------------------
 6378|      1|    if (PyObject_SetAttr(state->expr_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6378:9): [True: 0, False: 1]
  ------------------
 6379|      0|        return -1;
 6380|      1|    if (PyObject_SetAttr(state->expr_type, state->end_col_offset, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6380:9): [True: 0, False: 1]
  ------------------
 6381|      1|        -1)
 6382|      0|        return -1;
 6383|      1|    state->BoolOp_type = make_type(state, "BoolOp", state->expr_type,
 6384|      1|                                   BoolOp_fields, 2,
 6385|      1|        "BoolOp(boolop op, expr* values)");
 6386|      1|    if (!state->BoolOp_type) return -1;
  ------------------
  |  Branch (6386:9): [True: 0, False: 1]
  ------------------
 6387|      1|    state->NamedExpr_type = make_type(state, "NamedExpr", state->expr_type,
 6388|      1|                                      NamedExpr_fields, 2,
 6389|      1|        "NamedExpr(expr target, expr value)");
 6390|      1|    if (!state->NamedExpr_type) return -1;
  ------------------
  |  Branch (6390:9): [True: 0, False: 1]
  ------------------
 6391|      1|    state->BinOp_type = make_type(state, "BinOp", state->expr_type,
 6392|      1|                                  BinOp_fields, 3,
 6393|      1|        "BinOp(expr left, operator op, expr right)");
 6394|      1|    if (!state->BinOp_type) return -1;
  ------------------
  |  Branch (6394:9): [True: 0, False: 1]
  ------------------
 6395|      1|    state->UnaryOp_type = make_type(state, "UnaryOp", state->expr_type,
 6396|      1|                                    UnaryOp_fields, 2,
 6397|      1|        "UnaryOp(unaryop op, expr operand)");
 6398|      1|    if (!state->UnaryOp_type) return -1;
  ------------------
  |  Branch (6398:9): [True: 0, False: 1]
  ------------------
 6399|      1|    state->Lambda_type = make_type(state, "Lambda", state->expr_type,
 6400|      1|                                   Lambda_fields, 2,
 6401|      1|        "Lambda(arguments args, expr body)");
 6402|      1|    if (!state->Lambda_type) return -1;
  ------------------
  |  Branch (6402:9): [True: 0, False: 1]
  ------------------
 6403|      1|    state->IfExp_type = make_type(state, "IfExp", state->expr_type,
 6404|      1|                                  IfExp_fields, 3,
 6405|      1|        "IfExp(expr test, expr body, expr orelse)");
 6406|      1|    if (!state->IfExp_type) return -1;
  ------------------
  |  Branch (6406:9): [True: 0, False: 1]
  ------------------
 6407|      1|    state->Dict_type = make_type(state, "Dict", state->expr_type, Dict_fields,
 6408|      1|                                 2,
 6409|      1|        "Dict(expr?* keys, expr* values)");
 6410|      1|    if (!state->Dict_type) return -1;
  ------------------
  |  Branch (6410:9): [True: 0, False: 1]
  ------------------
 6411|      1|    state->Set_type = make_type(state, "Set", state->expr_type, Set_fields, 1,
 6412|      1|        "Set(expr* elts)");
 6413|      1|    if (!state->Set_type) return -1;
  ------------------
  |  Branch (6413:9): [True: 0, False: 1]
  ------------------
 6414|      1|    state->ListComp_type = make_type(state, "ListComp", state->expr_type,
 6415|      1|                                     ListComp_fields, 2,
 6416|      1|        "ListComp(expr elt, comprehension* generators)");
 6417|      1|    if (!state->ListComp_type) return -1;
  ------------------
  |  Branch (6417:9): [True: 0, False: 1]
  ------------------
 6418|      1|    state->SetComp_type = make_type(state, "SetComp", state->expr_type,
 6419|      1|                                    SetComp_fields, 2,
 6420|      1|        "SetComp(expr elt, comprehension* generators)");
 6421|      1|    if (!state->SetComp_type) return -1;
  ------------------
  |  Branch (6421:9): [True: 0, False: 1]
  ------------------
 6422|      1|    state->DictComp_type = make_type(state, "DictComp", state->expr_type,
 6423|      1|                                     DictComp_fields, 3,
 6424|      1|        "DictComp(expr key, expr? value, comprehension* generators)");
 6425|      1|    if (!state->DictComp_type) return -1;
  ------------------
  |  Branch (6425:9): [True: 0, False: 1]
  ------------------
 6426|      1|    if (PyObject_SetAttr(state->DictComp_type, state->value, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6426:9): [True: 0, False: 1]
  ------------------
 6427|      0|        return -1;
 6428|      1|    state->GeneratorExp_type = make_type(state, "GeneratorExp",
 6429|      1|                                         state->expr_type, GeneratorExp_fields,
 6430|      1|                                         2,
 6431|      1|        "GeneratorExp(expr elt, comprehension* generators)");
 6432|      1|    if (!state->GeneratorExp_type) return -1;
  ------------------
  |  Branch (6432:9): [True: 0, False: 1]
  ------------------
 6433|      1|    state->Await_type = make_type(state, "Await", state->expr_type,
 6434|      1|                                  Await_fields, 1,
 6435|      1|        "Await(expr value)");
 6436|      1|    if (!state->Await_type) return -1;
  ------------------
  |  Branch (6436:9): [True: 0, False: 1]
  ------------------
 6437|      1|    state->Yield_type = make_type(state, "Yield", state->expr_type,
 6438|      1|                                  Yield_fields, 1,
 6439|      1|        "Yield(expr? value)");
 6440|      1|    if (!state->Yield_type) return -1;
  ------------------
  |  Branch (6440:9): [True: 0, False: 1]
  ------------------
 6441|      1|    if (PyObject_SetAttr(state->Yield_type, state->value, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6441:9): [True: 0, False: 1]
  ------------------
 6442|      0|        return -1;
 6443|      1|    state->YieldFrom_type = make_type(state, "YieldFrom", state->expr_type,
 6444|      1|                                      YieldFrom_fields, 1,
 6445|      1|        "YieldFrom(expr value)");
 6446|      1|    if (!state->YieldFrom_type) return -1;
  ------------------
  |  Branch (6446:9): [True: 0, False: 1]
  ------------------
 6447|      1|    state->Compare_type = make_type(state, "Compare", state->expr_type,
 6448|      1|                                    Compare_fields, 3,
 6449|      1|        "Compare(expr left, cmpop* ops, expr* comparators)");
 6450|      1|    if (!state->Compare_type) return -1;
  ------------------
  |  Branch (6450:9): [True: 0, False: 1]
  ------------------
 6451|      1|    state->Call_type = make_type(state, "Call", state->expr_type, Call_fields,
 6452|      1|                                 3,
 6453|      1|        "Call(expr func, expr* args, keyword* keywords)");
 6454|      1|    if (!state->Call_type) return -1;
  ------------------
  |  Branch (6454:9): [True: 0, False: 1]
  ------------------
 6455|      1|    state->FormattedValue_type = make_type(state, "FormattedValue",
 6456|      1|                                           state->expr_type,
 6457|      1|                                           FormattedValue_fields, 3,
 6458|      1|        "FormattedValue(expr value, int conversion, expr? format_spec)");
 6459|      1|    if (!state->FormattedValue_type) return -1;
  ------------------
  |  Branch (6459:9): [True: 0, False: 1]
  ------------------
 6460|      1|    if (PyObject_SetAttr(state->FormattedValue_type, state->format_spec,
  ------------------
  |  Branch (6460:9): [True: 0, False: 1]
  ------------------
 6461|      1|        Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 6462|      0|        return -1;
 6463|      1|    state->Interpolation_type = make_type(state, "Interpolation",
 6464|      1|                                          state->expr_type,
 6465|      1|                                          Interpolation_fields, 4,
 6466|      1|        "Interpolation(expr value, constant str, int conversion, expr? format_spec)");
 6467|      1|    if (!state->Interpolation_type) return -1;
  ------------------
  |  Branch (6467:9): [True: 0, False: 1]
  ------------------
 6468|      1|    if (PyObject_SetAttr(state->Interpolation_type, state->format_spec,
  ------------------
  |  Branch (6468:9): [True: 0, False: 1]
  ------------------
 6469|      1|        Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 6470|      0|        return -1;
 6471|      1|    state->JoinedStr_type = make_type(state, "JoinedStr", state->expr_type,
 6472|      1|                                      JoinedStr_fields, 1,
 6473|      1|        "JoinedStr(expr* values)");
 6474|      1|    if (!state->JoinedStr_type) return -1;
  ------------------
  |  Branch (6474:9): [True: 0, False: 1]
  ------------------
 6475|      1|    state->TemplateStr_type = make_type(state, "TemplateStr", state->expr_type,
 6476|      1|                                        TemplateStr_fields, 1,
 6477|      1|        "TemplateStr(expr* values)");
 6478|      1|    if (!state->TemplateStr_type) return -1;
  ------------------
  |  Branch (6478:9): [True: 0, False: 1]
  ------------------
 6479|      1|    state->Constant_type = make_type(state, "Constant", state->expr_type,
 6480|      1|                                     Constant_fields, 2,
 6481|      1|        "Constant(constant value, string? kind)");
 6482|      1|    if (!state->Constant_type) return -1;
  ------------------
  |  Branch (6482:9): [True: 0, False: 1]
  ------------------
 6483|      1|    if (PyObject_SetAttr(state->Constant_type, state->kind, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6483:9): [True: 0, False: 1]
  ------------------
 6484|      0|        return -1;
 6485|      1|    state->Attribute_type = make_type(state, "Attribute", state->expr_type,
 6486|      1|                                      Attribute_fields, 3,
 6487|      1|        "Attribute(expr value, identifier attr, expr_context ctx)");
 6488|      1|    if (!state->Attribute_type) return -1;
  ------------------
  |  Branch (6488:9): [True: 0, False: 1]
  ------------------
 6489|      1|    state->Subscript_type = make_type(state, "Subscript", state->expr_type,
 6490|      1|                                      Subscript_fields, 3,
 6491|      1|        "Subscript(expr value, expr slice, expr_context ctx)");
 6492|      1|    if (!state->Subscript_type) return -1;
  ------------------
  |  Branch (6492:9): [True: 0, False: 1]
  ------------------
 6493|      1|    state->Starred_type = make_type(state, "Starred", state->expr_type,
 6494|      1|                                    Starred_fields, 2,
 6495|      1|        "Starred(expr value, expr_context ctx)");
 6496|      1|    if (!state->Starred_type) return -1;
  ------------------
  |  Branch (6496:9): [True: 0, False: 1]
  ------------------
 6497|      1|    state->Name_type = make_type(state, "Name", state->expr_type, Name_fields,
 6498|      1|                                 2,
 6499|      1|        "Name(identifier id, expr_context ctx)");
 6500|      1|    if (!state->Name_type) return -1;
  ------------------
  |  Branch (6500:9): [True: 0, False: 1]
  ------------------
 6501|      1|    state->List_type = make_type(state, "List", state->expr_type, List_fields,
 6502|      1|                                 2,
 6503|      1|        "List(expr* elts, expr_context ctx)");
 6504|      1|    if (!state->List_type) return -1;
  ------------------
  |  Branch (6504:9): [True: 0, False: 1]
  ------------------
 6505|      1|    state->Tuple_type = make_type(state, "Tuple", state->expr_type,
 6506|      1|                                  Tuple_fields, 2,
 6507|      1|        "Tuple(expr* elts, expr_context ctx)");
 6508|      1|    if (!state->Tuple_type) return -1;
  ------------------
  |  Branch (6508:9): [True: 0, False: 1]
  ------------------
 6509|      1|    state->Slice_type = make_type(state, "Slice", state->expr_type,
 6510|      1|                                  Slice_fields, 3,
 6511|      1|        "Slice(expr? lower, expr? upper, expr? step)");
 6512|      1|    if (!state->Slice_type) return -1;
  ------------------
  |  Branch (6512:9): [True: 0, False: 1]
  ------------------
 6513|      1|    if (PyObject_SetAttr(state->Slice_type, state->lower, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6513:9): [True: 0, False: 1]
  ------------------
 6514|      0|        return -1;
 6515|      1|    if (PyObject_SetAttr(state->Slice_type, state->upper, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6515:9): [True: 0, False: 1]
  ------------------
 6516|      0|        return -1;
 6517|      1|    if (PyObject_SetAttr(state->Slice_type, state->step, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6517:9): [True: 0, False: 1]
  ------------------
 6518|      0|        return -1;
 6519|      1|    state->expr_context_type = make_type(state, "expr_context",
 6520|      1|                                         state->AST_type, NULL, 0,
 6521|      1|        "expr_context = Load | Store | Del");
 6522|      1|    if (!state->expr_context_type) return -1;
  ------------------
  |  Branch (6522:9): [True: 0, False: 1]
  ------------------
 6523|      1|    if (add_attributes(state, state->expr_context_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6523:9): [True: 0, False: 1]
  ------------------
 6524|      1|    if (PySet_Add(state->abstract_types, state->expr_context_type) < 0) return
  ------------------
  |  Branch (6524:9): [True: 0, False: 1]
  ------------------
 6525|      0|        -1;
 6526|      1|    state->Load_type = make_type(state, "Load", state->expr_context_type, NULL,
 6527|      1|                                 0,
 6528|      1|        "Load");
 6529|      1|    if (!state->Load_type) return -1;
  ------------------
  |  Branch (6529:9): [True: 0, False: 1]
  ------------------
 6530|      1|    state->Load_singleton = PyType_GenericNew((PyTypeObject *)state->Load_type,
 6531|      1|                                              NULL, NULL);
 6532|      1|    if (!state->Load_singleton) return -1;
  ------------------
  |  Branch (6532:9): [True: 0, False: 1]
  ------------------
 6533|      1|    state->Store_type = make_type(state, "Store", state->expr_context_type,
 6534|      1|                                  NULL, 0,
 6535|      1|        "Store");
 6536|      1|    if (!state->Store_type) return -1;
  ------------------
  |  Branch (6536:9): [True: 0, False: 1]
  ------------------
 6537|      1|    state->Store_singleton = PyType_GenericNew((PyTypeObject
 6538|      1|                                               *)state->Store_type, NULL, NULL);
 6539|      1|    if (!state->Store_singleton) return -1;
  ------------------
  |  Branch (6539:9): [True: 0, False: 1]
  ------------------
 6540|      1|    state->Del_type = make_type(state, "Del", state->expr_context_type, NULL, 0,
 6541|      1|        "Del");
 6542|      1|    if (!state->Del_type) return -1;
  ------------------
  |  Branch (6542:9): [True: 0, False: 1]
  ------------------
 6543|      1|    state->Del_singleton = PyType_GenericNew((PyTypeObject *)state->Del_type,
 6544|      1|                                             NULL, NULL);
 6545|      1|    if (!state->Del_singleton) return -1;
  ------------------
  |  Branch (6545:9): [True: 0, False: 1]
  ------------------
 6546|      1|    state->boolop_type = make_type(state, "boolop", state->AST_type, NULL, 0,
 6547|      1|        "boolop = And | Or");
 6548|      1|    if (!state->boolop_type) return -1;
  ------------------
  |  Branch (6548:9): [True: 0, False: 1]
  ------------------
 6549|      1|    if (add_attributes(state, state->boolop_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6549:9): [True: 0, False: 1]
  ------------------
 6550|      1|    if (PySet_Add(state->abstract_types, state->boolop_type) < 0) return -1;
  ------------------
  |  Branch (6550:9): [True: 0, False: 1]
  ------------------
 6551|      1|    state->And_type = make_type(state, "And", state->boolop_type, NULL, 0,
 6552|      1|        "And");
 6553|      1|    if (!state->And_type) return -1;
  ------------------
  |  Branch (6553:9): [True: 0, False: 1]
  ------------------
 6554|      1|    state->And_singleton = PyType_GenericNew((PyTypeObject *)state->And_type,
 6555|      1|                                             NULL, NULL);
 6556|      1|    if (!state->And_singleton) return -1;
  ------------------
  |  Branch (6556:9): [True: 0, False: 1]
  ------------------
 6557|      1|    state->Or_type = make_type(state, "Or", state->boolop_type, NULL, 0,
 6558|      1|        "Or");
 6559|      1|    if (!state->Or_type) return -1;
  ------------------
  |  Branch (6559:9): [True: 0, False: 1]
  ------------------
 6560|      1|    state->Or_singleton = PyType_GenericNew((PyTypeObject *)state->Or_type,
 6561|      1|                                            NULL, NULL);
 6562|      1|    if (!state->Or_singleton) return -1;
  ------------------
  |  Branch (6562:9): [True: 0, False: 1]
  ------------------
 6563|      1|    state->operator_type = make_type(state, "operator", state->AST_type, NULL,
 6564|      1|                                     0,
 6565|      1|        "operator = Add | Sub | Mult | MatMult | Div | Mod | Pow | LShift | RShift | BitOr | BitXor | BitAnd | FloorDiv");
 6566|      1|    if (!state->operator_type) return -1;
  ------------------
  |  Branch (6566:9): [True: 0, False: 1]
  ------------------
 6567|      1|    if (add_attributes(state, state->operator_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6567:9): [True: 0, False: 1]
  ------------------
 6568|      1|    if (PySet_Add(state->abstract_types, state->operator_type) < 0) return -1;
  ------------------
  |  Branch (6568:9): [True: 0, False: 1]
  ------------------
 6569|      1|    state->Add_type = make_type(state, "Add", state->operator_type, NULL, 0,
 6570|      1|        "Add");
 6571|      1|    if (!state->Add_type) return -1;
  ------------------
  |  Branch (6571:9): [True: 0, False: 1]
  ------------------
 6572|      1|    state->Add_singleton = PyType_GenericNew((PyTypeObject *)state->Add_type,
 6573|      1|                                             NULL, NULL);
 6574|      1|    if (!state->Add_singleton) return -1;
  ------------------
  |  Branch (6574:9): [True: 0, False: 1]
  ------------------
 6575|      1|    state->Sub_type = make_type(state, "Sub", state->operator_type, NULL, 0,
 6576|      1|        "Sub");
 6577|      1|    if (!state->Sub_type) return -1;
  ------------------
  |  Branch (6577:9): [True: 0, False: 1]
  ------------------
 6578|      1|    state->Sub_singleton = PyType_GenericNew((PyTypeObject *)state->Sub_type,
 6579|      1|                                             NULL, NULL);
 6580|      1|    if (!state->Sub_singleton) return -1;
  ------------------
  |  Branch (6580:9): [True: 0, False: 1]
  ------------------
 6581|      1|    state->Mult_type = make_type(state, "Mult", state->operator_type, NULL, 0,
 6582|      1|        "Mult");
 6583|      1|    if (!state->Mult_type) return -1;
  ------------------
  |  Branch (6583:9): [True: 0, False: 1]
  ------------------
 6584|      1|    state->Mult_singleton = PyType_GenericNew((PyTypeObject *)state->Mult_type,
 6585|      1|                                              NULL, NULL);
 6586|      1|    if (!state->Mult_singleton) return -1;
  ------------------
  |  Branch (6586:9): [True: 0, False: 1]
  ------------------
 6587|      1|    state->MatMult_type = make_type(state, "MatMult", state->operator_type,
 6588|      1|                                    NULL, 0,
 6589|      1|        "MatMult");
 6590|      1|    if (!state->MatMult_type) return -1;
  ------------------
  |  Branch (6590:9): [True: 0, False: 1]
  ------------------
 6591|      1|    state->MatMult_singleton = PyType_GenericNew((PyTypeObject
 6592|      1|                                                 *)state->MatMult_type, NULL,
 6593|      1|                                                 NULL);
 6594|      1|    if (!state->MatMult_singleton) return -1;
  ------------------
  |  Branch (6594:9): [True: 0, False: 1]
  ------------------
 6595|      1|    state->Div_type = make_type(state, "Div", state->operator_type, NULL, 0,
 6596|      1|        "Div");
 6597|      1|    if (!state->Div_type) return -1;
  ------------------
  |  Branch (6597:9): [True: 0, False: 1]
  ------------------
 6598|      1|    state->Div_singleton = PyType_GenericNew((PyTypeObject *)state->Div_type,
 6599|      1|                                             NULL, NULL);
 6600|      1|    if (!state->Div_singleton) return -1;
  ------------------
  |  Branch (6600:9): [True: 0, False: 1]
  ------------------
 6601|      1|    state->Mod_type = make_type(state, "Mod", state->operator_type, NULL, 0,
 6602|      1|        "Mod");
 6603|      1|    if (!state->Mod_type) return -1;
  ------------------
  |  Branch (6603:9): [True: 0, False: 1]
  ------------------
 6604|      1|    state->Mod_singleton = PyType_GenericNew((PyTypeObject *)state->Mod_type,
 6605|      1|                                             NULL, NULL);
 6606|      1|    if (!state->Mod_singleton) return -1;
  ------------------
  |  Branch (6606:9): [True: 0, False: 1]
  ------------------
 6607|      1|    state->Pow_type = make_type(state, "Pow", state->operator_type, NULL, 0,
 6608|      1|        "Pow");
 6609|      1|    if (!state->Pow_type) return -1;
  ------------------
  |  Branch (6609:9): [True: 0, False: 1]
  ------------------
 6610|      1|    state->Pow_singleton = PyType_GenericNew((PyTypeObject *)state->Pow_type,
 6611|      1|                                             NULL, NULL);
 6612|      1|    if (!state->Pow_singleton) return -1;
  ------------------
  |  Branch (6612:9): [True: 0, False: 1]
  ------------------
 6613|      1|    state->LShift_type = make_type(state, "LShift", state->operator_type, NULL,
 6614|      1|                                   0,
 6615|      1|        "LShift");
 6616|      1|    if (!state->LShift_type) return -1;
  ------------------
  |  Branch (6616:9): [True: 0, False: 1]
  ------------------
 6617|      1|    state->LShift_singleton = PyType_GenericNew((PyTypeObject
 6618|      1|                                                *)state->LShift_type, NULL,
 6619|      1|                                                NULL);
 6620|      1|    if (!state->LShift_singleton) return -1;
  ------------------
  |  Branch (6620:9): [True: 0, False: 1]
  ------------------
 6621|      1|    state->RShift_type = make_type(state, "RShift", state->operator_type, NULL,
 6622|      1|                                   0,
 6623|      1|        "RShift");
 6624|      1|    if (!state->RShift_type) return -1;
  ------------------
  |  Branch (6624:9): [True: 0, False: 1]
  ------------------
 6625|      1|    state->RShift_singleton = PyType_GenericNew((PyTypeObject
 6626|      1|                                                *)state->RShift_type, NULL,
 6627|      1|                                                NULL);
 6628|      1|    if (!state->RShift_singleton) return -1;
  ------------------
  |  Branch (6628:9): [True: 0, False: 1]
  ------------------
 6629|      1|    state->BitOr_type = make_type(state, "BitOr", state->operator_type, NULL, 0,
 6630|      1|        "BitOr");
 6631|      1|    if (!state->BitOr_type) return -1;
  ------------------
  |  Branch (6631:9): [True: 0, False: 1]
  ------------------
 6632|      1|    state->BitOr_singleton = PyType_GenericNew((PyTypeObject
 6633|      1|                                               *)state->BitOr_type, NULL, NULL);
 6634|      1|    if (!state->BitOr_singleton) return -1;
  ------------------
  |  Branch (6634:9): [True: 0, False: 1]
  ------------------
 6635|      1|    state->BitXor_type = make_type(state, "BitXor", state->operator_type, NULL,
 6636|      1|                                   0,
 6637|      1|        "BitXor");
 6638|      1|    if (!state->BitXor_type) return -1;
  ------------------
  |  Branch (6638:9): [True: 0, False: 1]
  ------------------
 6639|      1|    state->BitXor_singleton = PyType_GenericNew((PyTypeObject
 6640|      1|                                                *)state->BitXor_type, NULL,
 6641|      1|                                                NULL);
 6642|      1|    if (!state->BitXor_singleton) return -1;
  ------------------
  |  Branch (6642:9): [True: 0, False: 1]
  ------------------
 6643|      1|    state->BitAnd_type = make_type(state, "BitAnd", state->operator_type, NULL,
 6644|      1|                                   0,
 6645|      1|        "BitAnd");
 6646|      1|    if (!state->BitAnd_type) return -1;
  ------------------
  |  Branch (6646:9): [True: 0, False: 1]
  ------------------
 6647|      1|    state->BitAnd_singleton = PyType_GenericNew((PyTypeObject
 6648|      1|                                                *)state->BitAnd_type, NULL,
 6649|      1|                                                NULL);
 6650|      1|    if (!state->BitAnd_singleton) return -1;
  ------------------
  |  Branch (6650:9): [True: 0, False: 1]
  ------------------
 6651|      1|    state->FloorDiv_type = make_type(state, "FloorDiv", state->operator_type,
 6652|      1|                                     NULL, 0,
 6653|      1|        "FloorDiv");
 6654|      1|    if (!state->FloorDiv_type) return -1;
  ------------------
  |  Branch (6654:9): [True: 0, False: 1]
  ------------------
 6655|      1|    state->FloorDiv_singleton = PyType_GenericNew((PyTypeObject
 6656|      1|                                                  *)state->FloorDiv_type, NULL,
 6657|      1|                                                  NULL);
 6658|      1|    if (!state->FloorDiv_singleton) return -1;
  ------------------
  |  Branch (6658:9): [True: 0, False: 1]
  ------------------
 6659|      1|    state->unaryop_type = make_type(state, "unaryop", state->AST_type, NULL, 0,
 6660|      1|        "unaryop = Invert | Not | UAdd | USub");
 6661|      1|    if (!state->unaryop_type) return -1;
  ------------------
  |  Branch (6661:9): [True: 0, False: 1]
  ------------------
 6662|      1|    if (add_attributes(state, state->unaryop_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6662:9): [True: 0, False: 1]
  ------------------
 6663|      1|    if (PySet_Add(state->abstract_types, state->unaryop_type) < 0) return -1;
  ------------------
  |  Branch (6663:9): [True: 0, False: 1]
  ------------------
 6664|      1|    state->Invert_type = make_type(state, "Invert", state->unaryop_type, NULL,
 6665|      1|                                   0,
 6666|      1|        "Invert");
 6667|      1|    if (!state->Invert_type) return -1;
  ------------------
  |  Branch (6667:9): [True: 0, False: 1]
  ------------------
 6668|      1|    state->Invert_singleton = PyType_GenericNew((PyTypeObject
 6669|      1|                                                *)state->Invert_type, NULL,
 6670|      1|                                                NULL);
 6671|      1|    if (!state->Invert_singleton) return -1;
  ------------------
  |  Branch (6671:9): [True: 0, False: 1]
  ------------------
 6672|      1|    state->Not_type = make_type(state, "Not", state->unaryop_type, NULL, 0,
 6673|      1|        "Not");
 6674|      1|    if (!state->Not_type) return -1;
  ------------------
  |  Branch (6674:9): [True: 0, False: 1]
  ------------------
 6675|      1|    state->Not_singleton = PyType_GenericNew((PyTypeObject *)state->Not_type,
 6676|      1|                                             NULL, NULL);
 6677|      1|    if (!state->Not_singleton) return -1;
  ------------------
  |  Branch (6677:9): [True: 0, False: 1]
  ------------------
 6678|      1|    state->UAdd_type = make_type(state, "UAdd", state->unaryop_type, NULL, 0,
 6679|      1|        "UAdd");
 6680|      1|    if (!state->UAdd_type) return -1;
  ------------------
  |  Branch (6680:9): [True: 0, False: 1]
  ------------------
 6681|      1|    state->UAdd_singleton = PyType_GenericNew((PyTypeObject *)state->UAdd_type,
 6682|      1|                                              NULL, NULL);
 6683|      1|    if (!state->UAdd_singleton) return -1;
  ------------------
  |  Branch (6683:9): [True: 0, False: 1]
  ------------------
 6684|      1|    state->USub_type = make_type(state, "USub", state->unaryop_type, NULL, 0,
 6685|      1|        "USub");
 6686|      1|    if (!state->USub_type) return -1;
  ------------------
  |  Branch (6686:9): [True: 0, False: 1]
  ------------------
 6687|      1|    state->USub_singleton = PyType_GenericNew((PyTypeObject *)state->USub_type,
 6688|      1|                                              NULL, NULL);
 6689|      1|    if (!state->USub_singleton) return -1;
  ------------------
  |  Branch (6689:9): [True: 0, False: 1]
  ------------------
 6690|      1|    state->cmpop_type = make_type(state, "cmpop", state->AST_type, NULL, 0,
 6691|      1|        "cmpop = Eq | NotEq | Lt | LtE | Gt | GtE | Is | IsNot | In | NotIn");
 6692|      1|    if (!state->cmpop_type) return -1;
  ------------------
  |  Branch (6692:9): [True: 0, False: 1]
  ------------------
 6693|      1|    if (add_attributes(state, state->cmpop_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6693:9): [True: 0, False: 1]
  ------------------
 6694|      1|    if (PySet_Add(state->abstract_types, state->cmpop_type) < 0) return -1;
  ------------------
  |  Branch (6694:9): [True: 0, False: 1]
  ------------------
 6695|      1|    state->Eq_type = make_type(state, "Eq", state->cmpop_type, NULL, 0,
 6696|      1|        "Eq");
 6697|      1|    if (!state->Eq_type) return -1;
  ------------------
  |  Branch (6697:9): [True: 0, False: 1]
  ------------------
 6698|      1|    state->Eq_singleton = PyType_GenericNew((PyTypeObject *)state->Eq_type,
 6699|      1|                                            NULL, NULL);
 6700|      1|    if (!state->Eq_singleton) return -1;
  ------------------
  |  Branch (6700:9): [True: 0, False: 1]
  ------------------
 6701|      1|    state->NotEq_type = make_type(state, "NotEq", state->cmpop_type, NULL, 0,
 6702|      1|        "NotEq");
 6703|      1|    if (!state->NotEq_type) return -1;
  ------------------
  |  Branch (6703:9): [True: 0, False: 1]
  ------------------
 6704|      1|    state->NotEq_singleton = PyType_GenericNew((PyTypeObject
 6705|      1|                                               *)state->NotEq_type, NULL, NULL);
 6706|      1|    if (!state->NotEq_singleton) return -1;
  ------------------
  |  Branch (6706:9): [True: 0, False: 1]
  ------------------
 6707|      1|    state->Lt_type = make_type(state, "Lt", state->cmpop_type, NULL, 0,
 6708|      1|        "Lt");
 6709|      1|    if (!state->Lt_type) return -1;
  ------------------
  |  Branch (6709:9): [True: 0, False: 1]
  ------------------
 6710|      1|    state->Lt_singleton = PyType_GenericNew((PyTypeObject *)state->Lt_type,
 6711|      1|                                            NULL, NULL);
 6712|      1|    if (!state->Lt_singleton) return -1;
  ------------------
  |  Branch (6712:9): [True: 0, False: 1]
  ------------------
 6713|      1|    state->LtE_type = make_type(state, "LtE", state->cmpop_type, NULL, 0,
 6714|      1|        "LtE");
 6715|      1|    if (!state->LtE_type) return -1;
  ------------------
  |  Branch (6715:9): [True: 0, False: 1]
  ------------------
 6716|      1|    state->LtE_singleton = PyType_GenericNew((PyTypeObject *)state->LtE_type,
 6717|      1|                                             NULL, NULL);
 6718|      1|    if (!state->LtE_singleton) return -1;
  ------------------
  |  Branch (6718:9): [True: 0, False: 1]
  ------------------
 6719|      1|    state->Gt_type = make_type(state, "Gt", state->cmpop_type, NULL, 0,
 6720|      1|        "Gt");
 6721|      1|    if (!state->Gt_type) return -1;
  ------------------
  |  Branch (6721:9): [True: 0, False: 1]
  ------------------
 6722|      1|    state->Gt_singleton = PyType_GenericNew((PyTypeObject *)state->Gt_type,
 6723|      1|                                            NULL, NULL);
 6724|      1|    if (!state->Gt_singleton) return -1;
  ------------------
  |  Branch (6724:9): [True: 0, False: 1]
  ------------------
 6725|      1|    state->GtE_type = make_type(state, "GtE", state->cmpop_type, NULL, 0,
 6726|      1|        "GtE");
 6727|      1|    if (!state->GtE_type) return -1;
  ------------------
  |  Branch (6727:9): [True: 0, False: 1]
  ------------------
 6728|      1|    state->GtE_singleton = PyType_GenericNew((PyTypeObject *)state->GtE_type,
 6729|      1|                                             NULL, NULL);
 6730|      1|    if (!state->GtE_singleton) return -1;
  ------------------
  |  Branch (6730:9): [True: 0, False: 1]
  ------------------
 6731|      1|    state->Is_type = make_type(state, "Is", state->cmpop_type, NULL, 0,
 6732|      1|        "Is");
 6733|      1|    if (!state->Is_type) return -1;
  ------------------
  |  Branch (6733:9): [True: 0, False: 1]
  ------------------
 6734|      1|    state->Is_singleton = PyType_GenericNew((PyTypeObject *)state->Is_type,
 6735|      1|                                            NULL, NULL);
 6736|      1|    if (!state->Is_singleton) return -1;
  ------------------
  |  Branch (6736:9): [True: 0, False: 1]
  ------------------
 6737|      1|    state->IsNot_type = make_type(state, "IsNot", state->cmpop_type, NULL, 0,
 6738|      1|        "IsNot");
 6739|      1|    if (!state->IsNot_type) return -1;
  ------------------
  |  Branch (6739:9): [True: 0, False: 1]
  ------------------
 6740|      1|    state->IsNot_singleton = PyType_GenericNew((PyTypeObject
 6741|      1|                                               *)state->IsNot_type, NULL, NULL);
 6742|      1|    if (!state->IsNot_singleton) return -1;
  ------------------
  |  Branch (6742:9): [True: 0, False: 1]
  ------------------
 6743|      1|    state->In_type = make_type(state, "In", state->cmpop_type, NULL, 0,
 6744|      1|        "In");
 6745|      1|    if (!state->In_type) return -1;
  ------------------
  |  Branch (6745:9): [True: 0, False: 1]
  ------------------
 6746|      1|    state->In_singleton = PyType_GenericNew((PyTypeObject *)state->In_type,
 6747|      1|                                            NULL, NULL);
 6748|      1|    if (!state->In_singleton) return -1;
  ------------------
  |  Branch (6748:9): [True: 0, False: 1]
  ------------------
 6749|      1|    state->NotIn_type = make_type(state, "NotIn", state->cmpop_type, NULL, 0,
 6750|      1|        "NotIn");
 6751|      1|    if (!state->NotIn_type) return -1;
  ------------------
  |  Branch (6751:9): [True: 0, False: 1]
  ------------------
 6752|      1|    state->NotIn_singleton = PyType_GenericNew((PyTypeObject
 6753|      1|                                               *)state->NotIn_type, NULL, NULL);
 6754|      1|    if (!state->NotIn_singleton) return -1;
  ------------------
  |  Branch (6754:9): [True: 0, False: 1]
  ------------------
 6755|      1|    state->comprehension_type = make_type(state, "comprehension",
 6756|      1|                                          state->AST_type,
 6757|      1|                                          comprehension_fields, 4,
 6758|      1|        "comprehension(expr target, expr iter, expr* ifs, int is_async)");
 6759|      1|    if (!state->comprehension_type) return -1;
  ------------------
  |  Branch (6759:9): [True: 0, False: 1]
  ------------------
 6760|      1|    if (add_attributes(state, state->comprehension_type, NULL, 0) < 0) return
  ------------------
  |  Branch (6760:9): [True: 0, False: 1]
  ------------------
 6761|      0|        -1;
 6762|      1|    state->excepthandler_type = make_type(state, "excepthandler",
 6763|      1|                                          state->AST_type, NULL, 0,
 6764|      1|        "excepthandler = ExceptHandler(expr? type, identifier? name, stmt* body)");
 6765|      1|    if (!state->excepthandler_type) return -1;
  ------------------
  |  Branch (6765:9): [True: 0, False: 1]
  ------------------
 6766|      1|    if (add_attributes(state, state->excepthandler_type,
  ------------------
  |  Branch (6766:9): [True: 0, False: 1]
  ------------------
 6767|      1|        excepthandler_attributes, 4) < 0) return -1;
 6768|      1|    if (PySet_Add(state->abstract_types, state->excepthandler_type) < 0) return
  ------------------
  |  Branch (6768:9): [True: 0, False: 1]
  ------------------
 6769|      0|        -1;
 6770|      1|    if (PyObject_SetAttr(state->excepthandler_type, state->end_lineno, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6770:9): [True: 0, False: 1]
  ------------------
 6771|      1|        == -1)
 6772|      0|        return -1;
 6773|      1|    if (PyObject_SetAttr(state->excepthandler_type, state->end_col_offset,
  ------------------
  |  Branch (6773:9): [True: 0, False: 1]
  ------------------
 6774|      1|        Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 6775|      0|        return -1;
 6776|      1|    state->ExceptHandler_type = make_type(state, "ExceptHandler",
 6777|      1|                                          state->excepthandler_type,
 6778|      1|                                          ExceptHandler_fields, 3,
 6779|      1|        "ExceptHandler(expr? type, identifier? name, stmt* body)");
 6780|      1|    if (!state->ExceptHandler_type) return -1;
  ------------------
  |  Branch (6780:9): [True: 0, False: 1]
  ------------------
 6781|      1|    if (PyObject_SetAttr(state->ExceptHandler_type, state->type, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6781:9): [True: 0, False: 1]
  ------------------
 6782|      0|        return -1;
 6783|      1|    if (PyObject_SetAttr(state->ExceptHandler_type, state->name, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6783:9): [True: 0, False: 1]
  ------------------
 6784|      0|        return -1;
 6785|      1|    state->arguments_type = make_type(state, "arguments", state->AST_type,
 6786|      1|                                      arguments_fields, 7,
 6787|      1|        "arguments(arg* posonlyargs, arg* args, arg? vararg, arg* kwonlyargs, expr?* kw_defaults, arg? kwarg, expr* defaults)");
 6788|      1|    if (!state->arguments_type) return -1;
  ------------------
  |  Branch (6788:9): [True: 0, False: 1]
  ------------------
 6789|      1|    if (add_attributes(state, state->arguments_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6789:9): [True: 0, False: 1]
  ------------------
 6790|      1|    if (PyObject_SetAttr(state->arguments_type, state->vararg, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6790:9): [True: 0, False: 1]
  ------------------
 6791|      0|        return -1;
 6792|      1|    if (PyObject_SetAttr(state->arguments_type, state->kwarg, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6792:9): [True: 0, False: 1]
  ------------------
 6793|      0|        return -1;
 6794|      1|    state->arg_type = make_type(state, "arg", state->AST_type, arg_fields, 3,
 6795|      1|        "arg(identifier arg, expr? annotation, string? type_comment)");
 6796|      1|    if (!state->arg_type) return -1;
  ------------------
  |  Branch (6796:9): [True: 0, False: 1]
  ------------------
 6797|      1|    if (add_attributes(state, state->arg_type, arg_attributes, 4) < 0) return
  ------------------
  |  Branch (6797:9): [True: 0, False: 1]
  ------------------
 6798|      0|        -1;
 6799|      1|    if (PyObject_SetAttr(state->arg_type, state->annotation, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6799:9): [True: 0, False: 1]
  ------------------
 6800|      0|        return -1;
 6801|      1|    if (PyObject_SetAttr(state->arg_type, state->type_comment, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6801:9): [True: 0, False: 1]
  ------------------
 6802|      0|        return -1;
 6803|      1|    if (PyObject_SetAttr(state->arg_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6803:9): [True: 0, False: 1]
  ------------------
 6804|      0|        return -1;
 6805|      1|    if (PyObject_SetAttr(state->arg_type, state->end_col_offset, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6805:9): [True: 0, False: 1]
  ------------------
 6806|      0|        return -1;
 6807|      1|    state->keyword_type = make_type(state, "keyword", state->AST_type,
 6808|      1|                                    keyword_fields, 2,
 6809|      1|        "keyword(identifier? arg, expr value)");
 6810|      1|    if (!state->keyword_type) return -1;
  ------------------
  |  Branch (6810:9): [True: 0, False: 1]
  ------------------
 6811|      1|    if (add_attributes(state, state->keyword_type, keyword_attributes, 4) < 0)
  ------------------
  |  Branch (6811:9): [True: 0, False: 1]
  ------------------
 6812|      0|        return -1;
 6813|      1|    if (PyObject_SetAttr(state->keyword_type, state->arg, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6813:9): [True: 0, False: 1]
  ------------------
 6814|      0|        return -1;
 6815|      1|    if (PyObject_SetAttr(state->keyword_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6815:9): [True: 0, False: 1]
  ------------------
 6816|      0|        return -1;
 6817|      1|    if (PyObject_SetAttr(state->keyword_type, state->end_col_offset, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6817:9): [True: 0, False: 1]
  ------------------
 6818|      1|        == -1)
 6819|      0|        return -1;
 6820|      1|    state->alias_type = make_type(state, "alias", state->AST_type,
 6821|      1|                                  alias_fields, 2,
 6822|      1|        "alias(identifier name, identifier? asname)");
 6823|      1|    if (!state->alias_type) return -1;
  ------------------
  |  Branch (6823:9): [True: 0, False: 1]
  ------------------
 6824|      1|    if (add_attributes(state, state->alias_type, alias_attributes, 4) < 0)
  ------------------
  |  Branch (6824:9): [True: 0, False: 1]
  ------------------
 6825|      0|        return -1;
 6826|      1|    if (PyObject_SetAttr(state->alias_type, state->asname, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6826:9): [True: 0, False: 1]
  ------------------
 6827|      0|        return -1;
 6828|      1|    if (PyObject_SetAttr(state->alias_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6828:9): [True: 0, False: 1]
  ------------------
 6829|      0|        return -1;
 6830|      1|    if (PyObject_SetAttr(state->alias_type, state->end_col_offset, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6830:9): [True: 0, False: 1]
  ------------------
 6831|      1|        -1)
 6832|      0|        return -1;
 6833|      1|    state->withitem_type = make_type(state, "withitem", state->AST_type,
 6834|      1|                                     withitem_fields, 2,
 6835|      1|        "withitem(expr context_expr, expr? optional_vars)");
 6836|      1|    if (!state->withitem_type) return -1;
  ------------------
  |  Branch (6836:9): [True: 0, False: 1]
  ------------------
 6837|      1|    if (add_attributes(state, state->withitem_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6837:9): [True: 0, False: 1]
  ------------------
 6838|      1|    if (PyObject_SetAttr(state->withitem_type, state->optional_vars, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6838:9): [True: 0, False: 1]
  ------------------
 6839|      1|        == -1)
 6840|      0|        return -1;
 6841|      1|    state->match_case_type = make_type(state, "match_case", state->AST_type,
 6842|      1|                                       match_case_fields, 3,
 6843|      1|        "match_case(pattern pattern, expr? guard, stmt* body)");
 6844|      1|    if (!state->match_case_type) return -1;
  ------------------
  |  Branch (6844:9): [True: 0, False: 1]
  ------------------
 6845|      1|    if (add_attributes(state, state->match_case_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6845:9): [True: 0, False: 1]
  ------------------
 6846|      1|    if (PyObject_SetAttr(state->match_case_type, state->guard, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6846:9): [True: 0, False: 1]
  ------------------
 6847|      0|        return -1;
 6848|      1|    state->pattern_type = make_type(state, "pattern", state->AST_type, NULL, 0,
 6849|      1|        "pattern = MatchValue(expr value)\n"
 6850|      1|        "        | MatchSingleton(constant value)\n"
 6851|      1|        "        | MatchSequence(pattern* patterns)\n"
 6852|      1|        "        | MatchMapping(expr* keys, pattern* patterns, identifier? rest)\n"
 6853|      1|        "        | MatchClass(expr cls, pattern* patterns, identifier* kwd_attrs, pattern* kwd_patterns)\n"
 6854|      1|        "        | MatchStar(identifier? name)\n"
 6855|      1|        "        | MatchAs(pattern? pattern, identifier? name)\n"
 6856|      1|        "        | MatchOr(pattern* patterns)");
 6857|      1|    if (!state->pattern_type) return -1;
  ------------------
  |  Branch (6857:9): [True: 0, False: 1]
  ------------------
 6858|      1|    if (add_attributes(state, state->pattern_type, pattern_attributes, 4) < 0)
  ------------------
  |  Branch (6858:9): [True: 0, False: 1]
  ------------------
 6859|      0|        return -1;
 6860|      1|    if (PySet_Add(state->abstract_types, state->pattern_type) < 0) return -1;
  ------------------
  |  Branch (6860:9): [True: 0, False: 1]
  ------------------
 6861|      1|    state->MatchValue_type = make_type(state, "MatchValue",
 6862|      1|                                       state->pattern_type, MatchValue_fields,
 6863|      1|                                       1,
 6864|      1|        "MatchValue(expr value)");
 6865|      1|    if (!state->MatchValue_type) return -1;
  ------------------
  |  Branch (6865:9): [True: 0, False: 1]
  ------------------
 6866|      1|    state->MatchSingleton_type = make_type(state, "MatchSingleton",
 6867|      1|                                           state->pattern_type,
 6868|      1|                                           MatchSingleton_fields, 1,
 6869|      1|        "MatchSingleton(constant value)");
 6870|      1|    if (!state->MatchSingleton_type) return -1;
  ------------------
  |  Branch (6870:9): [True: 0, False: 1]
  ------------------
 6871|      1|    state->MatchSequence_type = make_type(state, "MatchSequence",
 6872|      1|                                          state->pattern_type,
 6873|      1|                                          MatchSequence_fields, 1,
 6874|      1|        "MatchSequence(pattern* patterns)");
 6875|      1|    if (!state->MatchSequence_type) return -1;
  ------------------
  |  Branch (6875:9): [True: 0, False: 1]
  ------------------
 6876|      1|    state->MatchMapping_type = make_type(state, "MatchMapping",
 6877|      1|                                         state->pattern_type,
 6878|      1|                                         MatchMapping_fields, 3,
 6879|      1|        "MatchMapping(expr* keys, pattern* patterns, identifier? rest)");
 6880|      1|    if (!state->MatchMapping_type) return -1;
  ------------------
  |  Branch (6880:9): [True: 0, False: 1]
  ------------------
 6881|      1|    if (PyObject_SetAttr(state->MatchMapping_type, state->rest, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6881:9): [True: 0, False: 1]
  ------------------
 6882|      0|        return -1;
 6883|      1|    state->MatchClass_type = make_type(state, "MatchClass",
 6884|      1|                                       state->pattern_type, MatchClass_fields,
 6885|      1|                                       4,
 6886|      1|        "MatchClass(expr cls, pattern* patterns, identifier* kwd_attrs, pattern* kwd_patterns)");
 6887|      1|    if (!state->MatchClass_type) return -1;
  ------------------
  |  Branch (6887:9): [True: 0, False: 1]
  ------------------
 6888|      1|    state->MatchStar_type = make_type(state, "MatchStar", state->pattern_type,
 6889|      1|                                      MatchStar_fields, 1,
 6890|      1|        "MatchStar(identifier? name)");
 6891|      1|    if (!state->MatchStar_type) return -1;
  ------------------
  |  Branch (6891:9): [True: 0, False: 1]
  ------------------
 6892|      1|    if (PyObject_SetAttr(state->MatchStar_type, state->name, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6892:9): [True: 0, False: 1]
  ------------------
 6893|      0|        return -1;
 6894|      1|    state->MatchAs_type = make_type(state, "MatchAs", state->pattern_type,
 6895|      1|                                    MatchAs_fields, 2,
 6896|      1|        "MatchAs(pattern? pattern, identifier? name)");
 6897|      1|    if (!state->MatchAs_type) return -1;
  ------------------
  |  Branch (6897:9): [True: 0, False: 1]
  ------------------
 6898|      1|    if (PyObject_SetAttr(state->MatchAs_type, state->pattern, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6898:9): [True: 0, False: 1]
  ------------------
 6899|      0|        return -1;
 6900|      1|    if (PyObject_SetAttr(state->MatchAs_type, state->name, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6900:9): [True: 0, False: 1]
  ------------------
 6901|      0|        return -1;
 6902|      1|    state->MatchOr_type = make_type(state, "MatchOr", state->pattern_type,
 6903|      1|                                    MatchOr_fields, 1,
 6904|      1|        "MatchOr(pattern* patterns)");
 6905|      1|    if (!state->MatchOr_type) return -1;
  ------------------
  |  Branch (6905:9): [True: 0, False: 1]
  ------------------
 6906|      1|    state->type_ignore_type = make_type(state, "type_ignore", state->AST_type,
 6907|      1|                                        NULL, 0,
 6908|      1|        "type_ignore = TypeIgnore(int lineno, string tag)");
 6909|      1|    if (!state->type_ignore_type) return -1;
  ------------------
  |  Branch (6909:9): [True: 0, False: 1]
  ------------------
 6910|      1|    if (add_attributes(state, state->type_ignore_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6910:9): [True: 0, False: 1]
  ------------------
 6911|      1|    if (PySet_Add(state->abstract_types, state->type_ignore_type) < 0) return
  ------------------
  |  Branch (6911:9): [True: 0, False: 1]
  ------------------
 6912|      0|        -1;
 6913|      1|    state->TypeIgnore_type = make_type(state, "TypeIgnore",
 6914|      1|                                       state->type_ignore_type,
 6915|      1|                                       TypeIgnore_fields, 2,
 6916|      1|        "TypeIgnore(int lineno, string tag)");
 6917|      1|    if (!state->TypeIgnore_type) return -1;
  ------------------
  |  Branch (6917:9): [True: 0, False: 1]
  ------------------
 6918|      1|    state->type_param_type = make_type(state, "type_param", state->AST_type,
 6919|      1|                                       NULL, 0,
 6920|      1|        "type_param = TypeVar(identifier name, expr? bound, expr? default_value)\n"
 6921|      1|        "           | ParamSpec(identifier name, expr? default_value)\n"
 6922|      1|        "           | TypeVarTuple(identifier name, expr? default_value)");
 6923|      1|    if (!state->type_param_type) return -1;
  ------------------
  |  Branch (6923:9): [True: 0, False: 1]
  ------------------
 6924|      1|    if (add_attributes(state, state->type_param_type, type_param_attributes, 4)
  ------------------
  |  Branch (6924:9): [True: 0, False: 1]
  ------------------
 6925|      1|        < 0) return -1;
 6926|      1|    if (PySet_Add(state->abstract_types, state->type_param_type) < 0) return -1;
  ------------------
  |  Branch (6926:9): [True: 0, False: 1]
  ------------------
 6927|      1|    state->TypeVar_type = make_type(state, "TypeVar", state->type_param_type,
 6928|      1|                                    TypeVar_fields, 3,
 6929|      1|        "TypeVar(identifier name, expr? bound, expr? default_value)");
 6930|      1|    if (!state->TypeVar_type) return -1;
  ------------------
  |  Branch (6930:9): [True: 0, False: 1]
  ------------------
 6931|      1|    if (PyObject_SetAttr(state->TypeVar_type, state->bound, Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6931:9): [True: 0, False: 1]
  ------------------
 6932|      0|        return -1;
 6933|      1|    if (PyObject_SetAttr(state->TypeVar_type, state->default_value, Py_None) ==
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6933:9): [True: 0, False: 1]
  ------------------
 6934|      1|        -1)
 6935|      0|        return -1;
 6936|      1|    state->ParamSpec_type = make_type(state, "ParamSpec",
 6937|      1|                                      state->type_param_type, ParamSpec_fields,
 6938|      1|                                      2,
 6939|      1|        "ParamSpec(identifier name, expr? default_value)");
 6940|      1|    if (!state->ParamSpec_type) return -1;
  ------------------
  |  Branch (6940:9): [True: 0, False: 1]
  ------------------
 6941|      1|    if (PyObject_SetAttr(state->ParamSpec_type, state->default_value, Py_None)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6941:9): [True: 0, False: 1]
  ------------------
 6942|      1|        == -1)
 6943|      0|        return -1;
 6944|      1|    state->TypeVarTuple_type = make_type(state, "TypeVarTuple",
 6945|      1|                                         state->type_param_type,
 6946|      1|                                         TypeVarTuple_fields, 2,
 6947|      1|        "TypeVarTuple(identifier name, expr? default_value)");
 6948|      1|    if (!state->TypeVarTuple_type) return -1;
  ------------------
  |  Branch (6948:9): [True: 0, False: 1]
  ------------------
 6949|      1|    if (PyObject_SetAttr(state->TypeVarTuple_type, state->default_value,
  ------------------
  |  Branch (6949:9): [True: 0, False: 1]
  ------------------
 6950|      1|        Py_None) == -1)
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 6951|      0|        return -1;
 6952|       |
 6953|      1|    if (!add_ast_annotations(state)) {
  ------------------
  |  Branch (6953:9): [True: 0, False: 1]
  ------------------
 6954|      0|        return -1;
 6955|      0|    }
 6956|      1|    return 0;
 6957|      1|}
Python-ast.c:init_identifiers:
  290|      1|{
  291|      1|    if ((state->__dict__ = PyUnicode_InternFromString("__dict__")) == NULL) return -1;
  ------------------
  |  Branch (291:9): [True: 0, False: 1]
  ------------------
  292|      1|    if ((state->__doc__ = PyUnicode_InternFromString("__doc__")) == NULL) return -1;
  ------------------
  |  Branch (292:9): [True: 0, False: 1]
  ------------------
  293|      1|    if ((state->__match_args__ = PyUnicode_InternFromString("__match_args__")) == NULL) return -1;
  ------------------
  |  Branch (293:9): [True: 0, False: 1]
  ------------------
  294|      1|    if ((state->__module__ = PyUnicode_InternFromString("__module__")) == NULL) return -1;
  ------------------
  |  Branch (294:9): [True: 0, False: 1]
  ------------------
  295|      1|    if ((state->_attributes = PyUnicode_InternFromString("_attributes")) == NULL) return -1;
  ------------------
  |  Branch (295:9): [True: 0, False: 1]
  ------------------
  296|      1|    if ((state->_fields = PyUnicode_InternFromString("_fields")) == NULL) return -1;
  ------------------
  |  Branch (296:9): [True: 0, False: 1]
  ------------------
  297|      1|    if ((state->annotation = PyUnicode_InternFromString("annotation")) == NULL) return -1;
  ------------------
  |  Branch (297:9): [True: 0, False: 1]
  ------------------
  298|      1|    if ((state->arg = PyUnicode_InternFromString("arg")) == NULL) return -1;
  ------------------
  |  Branch (298:9): [True: 0, False: 1]
  ------------------
  299|      1|    if ((state->args = PyUnicode_InternFromString("args")) == NULL) return -1;
  ------------------
  |  Branch (299:9): [True: 0, False: 1]
  ------------------
  300|      1|    if ((state->argtypes = PyUnicode_InternFromString("argtypes")) == NULL) return -1;
  ------------------
  |  Branch (300:9): [True: 0, False: 1]
  ------------------
  301|      1|    if ((state->asname = PyUnicode_InternFromString("asname")) == NULL) return -1;
  ------------------
  |  Branch (301:9): [True: 0, False: 1]
  ------------------
  302|      1|    if ((state->ast = PyUnicode_InternFromString("ast")) == NULL) return -1;
  ------------------
  |  Branch (302:9): [True: 0, False: 1]
  ------------------
  303|      1|    if ((state->attr = PyUnicode_InternFromString("attr")) == NULL) return -1;
  ------------------
  |  Branch (303:9): [True: 0, False: 1]
  ------------------
  304|      1|    if ((state->bases = PyUnicode_InternFromString("bases")) == NULL) return -1;
  ------------------
  |  Branch (304:9): [True: 0, False: 1]
  ------------------
  305|      1|    if ((state->body = PyUnicode_InternFromString("body")) == NULL) return -1;
  ------------------
  |  Branch (305:9): [True: 0, False: 1]
  ------------------
  306|      1|    if ((state->bound = PyUnicode_InternFromString("bound")) == NULL) return -1;
  ------------------
  |  Branch (306:9): [True: 0, False: 1]
  ------------------
  307|      1|    if ((state->cases = PyUnicode_InternFromString("cases")) == NULL) return -1;
  ------------------
  |  Branch (307:9): [True: 0, False: 1]
  ------------------
  308|      1|    if ((state->cause = PyUnicode_InternFromString("cause")) == NULL) return -1;
  ------------------
  |  Branch (308:9): [True: 0, False: 1]
  ------------------
  309|      1|    if ((state->cls = PyUnicode_InternFromString("cls")) == NULL) return -1;
  ------------------
  |  Branch (309:9): [True: 0, False: 1]
  ------------------
  310|      1|    if ((state->col_offset = PyUnicode_InternFromString("col_offset")) == NULL) return -1;
  ------------------
  |  Branch (310:9): [True: 0, False: 1]
  ------------------
  311|      1|    if ((state->comparators = PyUnicode_InternFromString("comparators")) == NULL) return -1;
  ------------------
  |  Branch (311:9): [True: 0, False: 1]
  ------------------
  312|      1|    if ((state->context_expr = PyUnicode_InternFromString("context_expr")) == NULL) return -1;
  ------------------
  |  Branch (312:9): [True: 0, False: 1]
  ------------------
  313|      1|    if ((state->conversion = PyUnicode_InternFromString("conversion")) == NULL) return -1;
  ------------------
  |  Branch (313:9): [True: 0, False: 1]
  ------------------
  314|      1|    if ((state->ctx = PyUnicode_InternFromString("ctx")) == NULL) return -1;
  ------------------
  |  Branch (314:9): [True: 0, False: 1]
  ------------------
  315|      1|    if ((state->decorator_list = PyUnicode_InternFromString("decorator_list")) == NULL) return -1;
  ------------------
  |  Branch (315:9): [True: 0, False: 1]
  ------------------
  316|      1|    if ((state->default_value = PyUnicode_InternFromString("default_value")) == NULL) return -1;
  ------------------
  |  Branch (316:9): [True: 0, False: 1]
  ------------------
  317|      1|    if ((state->defaults = PyUnicode_InternFromString("defaults")) == NULL) return -1;
  ------------------
  |  Branch (317:9): [True: 0, False: 1]
  ------------------
  318|      1|    if ((state->elt = PyUnicode_InternFromString("elt")) == NULL) return -1;
  ------------------
  |  Branch (318:9): [True: 0, False: 1]
  ------------------
  319|      1|    if ((state->elts = PyUnicode_InternFromString("elts")) == NULL) return -1;
  ------------------
  |  Branch (319:9): [True: 0, False: 1]
  ------------------
  320|      1|    if ((state->end_col_offset = PyUnicode_InternFromString("end_col_offset")) == NULL) return -1;
  ------------------
  |  Branch (320:9): [True: 0, False: 1]
  ------------------
  321|      1|    if ((state->end_lineno = PyUnicode_InternFromString("end_lineno")) == NULL) return -1;
  ------------------
  |  Branch (321:9): [True: 0, False: 1]
  ------------------
  322|      1|    if ((state->exc = PyUnicode_InternFromString("exc")) == NULL) return -1;
  ------------------
  |  Branch (322:9): [True: 0, False: 1]
  ------------------
  323|      1|    if ((state->finalbody = PyUnicode_InternFromString("finalbody")) == NULL) return -1;
  ------------------
  |  Branch (323:9): [True: 0, False: 1]
  ------------------
  324|      1|    if ((state->format_spec = PyUnicode_InternFromString("format_spec")) == NULL) return -1;
  ------------------
  |  Branch (324:9): [True: 0, False: 1]
  ------------------
  325|      1|    if ((state->func = PyUnicode_InternFromString("func")) == NULL) return -1;
  ------------------
  |  Branch (325:9): [True: 0, False: 1]
  ------------------
  326|      1|    if ((state->generators = PyUnicode_InternFromString("generators")) == NULL) return -1;
  ------------------
  |  Branch (326:9): [True: 0, False: 1]
  ------------------
  327|      1|    if ((state->guard = PyUnicode_InternFromString("guard")) == NULL) return -1;
  ------------------
  |  Branch (327:9): [True: 0, False: 1]
  ------------------
  328|      1|    if ((state->handlers = PyUnicode_InternFromString("handlers")) == NULL) return -1;
  ------------------
  |  Branch (328:9): [True: 0, False: 1]
  ------------------
  329|      1|    if ((state->id = PyUnicode_InternFromString("id")) == NULL) return -1;
  ------------------
  |  Branch (329:9): [True: 0, False: 1]
  ------------------
  330|      1|    if ((state->ifs = PyUnicode_InternFromString("ifs")) == NULL) return -1;
  ------------------
  |  Branch (330:9): [True: 0, False: 1]
  ------------------
  331|      1|    if ((state->is_async = PyUnicode_InternFromString("is_async")) == NULL) return -1;
  ------------------
  |  Branch (331:9): [True: 0, False: 1]
  ------------------
  332|      1|    if ((state->is_lazy = PyUnicode_InternFromString("is_lazy")) == NULL) return -1;
  ------------------
  |  Branch (332:9): [True: 0, False: 1]
  ------------------
  333|      1|    if ((state->items = PyUnicode_InternFromString("items")) == NULL) return -1;
  ------------------
  |  Branch (333:9): [True: 0, False: 1]
  ------------------
  334|      1|    if ((state->iter = PyUnicode_InternFromString("iter")) == NULL) return -1;
  ------------------
  |  Branch (334:9): [True: 0, False: 1]
  ------------------
  335|      1|    if ((state->key = PyUnicode_InternFromString("key")) == NULL) return -1;
  ------------------
  |  Branch (335:9): [True: 0, False: 1]
  ------------------
  336|      1|    if ((state->keys = PyUnicode_InternFromString("keys")) == NULL) return -1;
  ------------------
  |  Branch (336:9): [True: 0, False: 1]
  ------------------
  337|      1|    if ((state->keywords = PyUnicode_InternFromString("keywords")) == NULL) return -1;
  ------------------
  |  Branch (337:9): [True: 0, False: 1]
  ------------------
  338|      1|    if ((state->kind = PyUnicode_InternFromString("kind")) == NULL) return -1;
  ------------------
  |  Branch (338:9): [True: 0, False: 1]
  ------------------
  339|      1|    if ((state->kw_defaults = PyUnicode_InternFromString("kw_defaults")) == NULL) return -1;
  ------------------
  |  Branch (339:9): [True: 0, False: 1]
  ------------------
  340|      1|    if ((state->kwarg = PyUnicode_InternFromString("kwarg")) == NULL) return -1;
  ------------------
  |  Branch (340:9): [True: 0, False: 1]
  ------------------
  341|      1|    if ((state->kwd_attrs = PyUnicode_InternFromString("kwd_attrs")) == NULL) return -1;
  ------------------
  |  Branch (341:9): [True: 0, False: 1]
  ------------------
  342|      1|    if ((state->kwd_patterns = PyUnicode_InternFromString("kwd_patterns")) == NULL) return -1;
  ------------------
  |  Branch (342:9): [True: 0, False: 1]
  ------------------
  343|      1|    if ((state->kwonlyargs = PyUnicode_InternFromString("kwonlyargs")) == NULL) return -1;
  ------------------
  |  Branch (343:9): [True: 0, False: 1]
  ------------------
  344|      1|    if ((state->left = PyUnicode_InternFromString("left")) == NULL) return -1;
  ------------------
  |  Branch (344:9): [True: 0, False: 1]
  ------------------
  345|      1|    if ((state->level = PyUnicode_InternFromString("level")) == NULL) return -1;
  ------------------
  |  Branch (345:9): [True: 0, False: 1]
  ------------------
  346|      1|    if ((state->lineno = PyUnicode_InternFromString("lineno")) == NULL) return -1;
  ------------------
  |  Branch (346:9): [True: 0, False: 1]
  ------------------
  347|      1|    if ((state->lower = PyUnicode_InternFromString("lower")) == NULL) return -1;
  ------------------
  |  Branch (347:9): [True: 0, False: 1]
  ------------------
  348|      1|    if ((state->module = PyUnicode_InternFromString("module")) == NULL) return -1;
  ------------------
  |  Branch (348:9): [True: 0, False: 1]
  ------------------
  349|      1|    if ((state->msg = PyUnicode_InternFromString("msg")) == NULL) return -1;
  ------------------
  |  Branch (349:9): [True: 0, False: 1]
  ------------------
  350|      1|    if ((state->name = PyUnicode_InternFromString("name")) == NULL) return -1;
  ------------------
  |  Branch (350:9): [True: 0, False: 1]
  ------------------
  351|      1|    if ((state->names = PyUnicode_InternFromString("names")) == NULL) return -1;
  ------------------
  |  Branch (351:9): [True: 0, False: 1]
  ------------------
  352|      1|    if ((state->op = PyUnicode_InternFromString("op")) == NULL) return -1;
  ------------------
  |  Branch (352:9): [True: 0, False: 1]
  ------------------
  353|      1|    if ((state->operand = PyUnicode_InternFromString("operand")) == NULL) return -1;
  ------------------
  |  Branch (353:9): [True: 0, False: 1]
  ------------------
  354|      1|    if ((state->ops = PyUnicode_InternFromString("ops")) == NULL) return -1;
  ------------------
  |  Branch (354:9): [True: 0, False: 1]
  ------------------
  355|      1|    if ((state->optional_vars = PyUnicode_InternFromString("optional_vars")) == NULL) return -1;
  ------------------
  |  Branch (355:9): [True: 0, False: 1]
  ------------------
  356|      1|    if ((state->orelse = PyUnicode_InternFromString("orelse")) == NULL) return -1;
  ------------------
  |  Branch (356:9): [True: 0, False: 1]
  ------------------
  357|      1|    if ((state->pattern = PyUnicode_InternFromString("pattern")) == NULL) return -1;
  ------------------
  |  Branch (357:9): [True: 0, False: 1]
  ------------------
  358|      1|    if ((state->patterns = PyUnicode_InternFromString("patterns")) == NULL) return -1;
  ------------------
  |  Branch (358:9): [True: 0, False: 1]
  ------------------
  359|      1|    if ((state->posonlyargs = PyUnicode_InternFromString("posonlyargs")) == NULL) return -1;
  ------------------
  |  Branch (359:9): [True: 0, False: 1]
  ------------------
  360|      1|    if ((state->rest = PyUnicode_InternFromString("rest")) == NULL) return -1;
  ------------------
  |  Branch (360:9): [True: 0, False: 1]
  ------------------
  361|      1|    if ((state->returns = PyUnicode_InternFromString("returns")) == NULL) return -1;
  ------------------
  |  Branch (361:9): [True: 0, False: 1]
  ------------------
  362|      1|    if ((state->right = PyUnicode_InternFromString("right")) == NULL) return -1;
  ------------------
  |  Branch (362:9): [True: 0, False: 1]
  ------------------
  363|      1|    if ((state->simple = PyUnicode_InternFromString("simple")) == NULL) return -1;
  ------------------
  |  Branch (363:9): [True: 0, False: 1]
  ------------------
  364|      1|    if ((state->slice = PyUnicode_InternFromString("slice")) == NULL) return -1;
  ------------------
  |  Branch (364:9): [True: 0, False: 1]
  ------------------
  365|      1|    if ((state->step = PyUnicode_InternFromString("step")) == NULL) return -1;
  ------------------
  |  Branch (365:9): [True: 0, False: 1]
  ------------------
  366|      1|    if ((state->str = PyUnicode_InternFromString("str")) == NULL) return -1;
  ------------------
  |  Branch (366:9): [True: 0, False: 1]
  ------------------
  367|      1|    if ((state->subject = PyUnicode_InternFromString("subject")) == NULL) return -1;
  ------------------
  |  Branch (367:9): [True: 0, False: 1]
  ------------------
  368|      1|    if ((state->tag = PyUnicode_InternFromString("tag")) == NULL) return -1;
  ------------------
  |  Branch (368:9): [True: 0, False: 1]
  ------------------
  369|      1|    if ((state->target = PyUnicode_InternFromString("target")) == NULL) return -1;
  ------------------
  |  Branch (369:9): [True: 0, False: 1]
  ------------------
  370|      1|    if ((state->targets = PyUnicode_InternFromString("targets")) == NULL) return -1;
  ------------------
  |  Branch (370:9): [True: 0, False: 1]
  ------------------
  371|      1|    if ((state->test = PyUnicode_InternFromString("test")) == NULL) return -1;
  ------------------
  |  Branch (371:9): [True: 0, False: 1]
  ------------------
  372|      1|    if ((state->type = PyUnicode_InternFromString("type")) == NULL) return -1;
  ------------------
  |  Branch (372:9): [True: 0, False: 1]
  ------------------
  373|      1|    if ((state->type_comment = PyUnicode_InternFromString("type_comment")) == NULL) return -1;
  ------------------
  |  Branch (373:9): [True: 0, False: 1]
  ------------------
  374|      1|    if ((state->type_ignores = PyUnicode_InternFromString("type_ignores")) == NULL) return -1;
  ------------------
  |  Branch (374:9): [True: 0, False: 1]
  ------------------
  375|      1|    if ((state->type_params = PyUnicode_InternFromString("type_params")) == NULL) return -1;
  ------------------
  |  Branch (375:9): [True: 0, False: 1]
  ------------------
  376|      1|    if ((state->upper = PyUnicode_InternFromString("upper")) == NULL) return -1;
  ------------------
  |  Branch (376:9): [True: 0, False: 1]
  ------------------
  377|      1|    if ((state->value = PyUnicode_InternFromString("value")) == NULL) return -1;
  ------------------
  |  Branch (377:9): [True: 0, False: 1]
  ------------------
  378|      1|    if ((state->values = PyUnicode_InternFromString("values")) == NULL) return -1;
  ------------------
  |  Branch (378:9): [True: 0, False: 1]
  ------------------
  379|      1|    if ((state->vararg = PyUnicode_InternFromString("vararg")) == NULL) return -1;
  ------------------
  |  Branch (379:9): [True: 0, False: 1]
  ------------------
  380|      1|    return 0;
  381|      1|};
Python-ast.c:ast_dealloc:
 5172|   414k|{
 5173|   414k|    AST_object *self = (AST_object*)op;
 5174|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 5175|   414k|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5176|   414k|    PyObject_GC_UnTrack(self);
 5177|   414k|    Py_CLEAR(self->dict);
  ------------------
  |  |  484|   414k|    do { \
  |  |  485|   414k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|   414k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|   414k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|   414k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|   414k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 414k, False: 0]
  |  |  ------------------
  |  |  488|   414k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|   414k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|   414k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|   414k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   414k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   414k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|   414k|        } \
  |  |  491|   414k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 414k]
  |  |  ------------------
  ------------------
 5178|   414k|    freefunc free_func = PyType_GetSlot(tp, Py_tp_free);
  ------------------
  |  |   82|   414k|#define Py_tp_free 74
  ------------------
 5179|   414k|    assert(free_func != NULL);
  ------------------
  |  Branch (5179:5): [True: 414k, False: 0]
  ------------------
 5180|   414k|    free_func(self);
 5181|   414k|    Py_DECREF(tp);
  ------------------
  |  |  430|   414k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   414k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   414k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5182|   414k|}
Python-ast.c:ast_traverse:
 5186|    576|{
 5187|    576|    AST_object *self = (AST_object*)op;
 5188|    576|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|    576|    do {                                                                \
  |  |  195|    576|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 576, False: 0]
  |  |  ------------------
  |  |  196|    576|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    576|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    576|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    576|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 576]
  |  |  ------------------
  |  |  198|    576|                return vret;                                            \
  |  |  199|    576|        }                                                               \
  |  |  200|    576|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 576]
  |  |  ------------------
  ------------------
 5189|    576|    Py_VISIT(self->dict);
  ------------------
  |  |  194|    576|    do {                                                                \
  |  |  195|    576|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 576]
  |  |  ------------------
  |  |  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|    576|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 576]
  |  |  ------------------
  ------------------
 5190|    576|    return 0;
 5191|    576|}
Python-ast.c:add_ast_fields:
 6093|      1|{
 6094|      1|    PyObject *empty_tuple;
 6095|      1|    empty_tuple = PyTuple_New(0);
 6096|      1|    if (!empty_tuple ||
  ------------------
  |  Branch (6096:9): [True: 0, False: 1]
  ------------------
 6097|      1|        PyObject_SetAttrString(state->AST_type, "_fields", empty_tuple) < 0 ||
  ------------------
  |  Branch (6097:9): [True: 0, False: 1]
  ------------------
 6098|      1|        PyObject_SetAttrString(state->AST_type, "__match_args__", empty_tuple) < 0 ||
  ------------------
  |  Branch (6098:9): [True: 0, False: 1]
  ------------------
 6099|      1|        PyObject_SetAttrString(state->AST_type, "_attributes", empty_tuple) < 0) {
  ------------------
  |  Branch (6099:9): [True: 0, False: 1]
  ------------------
 6100|      0|        Py_XDECREF(empty_tuple);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6101|      0|        return -1;
 6102|      0|    }
 6103|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6104|      1|    return 0;
 6105|      1|}
Python-ast.c:make_type:
 5944|    125|{
 5945|    125|    PyObject *fnames, *result;
 5946|    125|    int i;
 5947|    125|    fnames = PyTuple_New(num_fields);
 5948|    125|    if (!fnames) return NULL;
  ------------------
  |  Branch (5948:9): [True: 0, False: 125]
  ------------------
 5949|    323|    for (i = 0; i < num_fields; i++) {
  ------------------
  |  Branch (5949:17): [True: 198, False: 125]
  ------------------
 5950|    198|        PyObject *field = PyUnicode_InternFromString(fields[i]);
 5951|    198|        if (!field) {
  ------------------
  |  Branch (5951:13): [True: 0, False: 198]
  ------------------
 5952|      0|            Py_DECREF(fnames);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5953|      0|            return NULL;
 5954|      0|        }
 5955|    198|        PyTuple_SET_ITEM(fnames, i, field);
  ------------------
  |  |   40|    198|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    198|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    198|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    198|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    198|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5956|    198|    }
 5957|    125|    result = PyObject_CallFunction((PyObject*)&PyType_Type, "s(O){OOOOOOOs}",
 5958|    125|                    type, base,
 5959|    125|                    state->_fields, fnames,
 5960|    125|                    state->__match_args__, fnames,
 5961|    125|                    state->__module__,
 5962|    125|                    state->ast,
 5963|    125|                    state->__doc__, doc);
 5964|    125|    Py_DECREF(fnames);
  ------------------
  |  |  430|    125|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    125|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    125|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5965|    125|    return result;
 5966|    125|}
Python-ast.c:add_attributes:
 5970|     19|{
 5971|     19|    int i, result;
 5972|     19|    PyObject *s, *l = PyTuple_New(num_fields);
 5973|     19|    if (!l)
  ------------------
  |  Branch (5973:9): [True: 0, False: 19]
  ------------------
 5974|      0|        return -1;
 5975|     51|    for (i = 0; i < num_fields; i++) {
  ------------------
  |  Branch (5975:17): [True: 32, False: 19]
  ------------------
 5976|     32|        s = PyUnicode_InternFromString(attrs[i]);
 5977|     32|        if (!s) {
  ------------------
  |  Branch (5977:13): [True: 0, False: 32]
  ------------------
 5978|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5979|      0|            return -1;
 5980|      0|        }
 5981|     32|        PyTuple_SET_ITEM(l, i, s);
  ------------------
  |  |   40|     32|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5982|     32|    }
 5983|     19|    result = PyObject_SetAttr(type, state->_attributes, l);
 5984|     19|    Py_DECREF(l);
  ------------------
  |  |  430|     19|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5985|     19|    return result;
 5986|     19|}
Python-ast.c:add_ast_annotations:
  823|      1|{
  824|      1|    bool cond;
  825|      1|    PyObject *Module_annotations = PyDict_New();
  826|      1|    if (!Module_annotations) return 0;
  ------------------
  |  Branch (826:9): [True: 0, False: 1]
  ------------------
  827|      1|    {
  828|      1|        PyObject *type = state->stmt_type;
  829|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
  830|      1|        cond = type != NULL;
  831|      1|        if (!cond) {
  ------------------
  |  Branch (831:13): [True: 0, False: 1]
  ------------------
  832|      0|            Py_DECREF(Module_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  833|      0|            return 0;
  834|      0|        }
  835|      1|        cond = PyDict_SetItemString(Module_annotations, "body", type) == 0;
  836|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  837|      1|        if (!cond) {
  ------------------
  |  Branch (837:13): [True: 0, False: 1]
  ------------------
  838|      0|            Py_DECREF(Module_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  839|      0|            return 0;
  840|      0|        }
  841|      1|    }
  842|      1|    {
  843|      1|        PyObject *type = state->type_ignore_type;
  844|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
  845|      1|        cond = type != NULL;
  846|      1|        if (!cond) {
  ------------------
  |  Branch (846:13): [True: 0, False: 1]
  ------------------
  847|      0|            Py_DECREF(Module_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  848|      0|            return 0;
  849|      0|        }
  850|      1|        cond = PyDict_SetItemString(Module_annotations, "type_ignores", type)
  851|      1|                                    == 0;
  852|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  853|      1|        if (!cond) {
  ------------------
  |  Branch (853:13): [True: 0, False: 1]
  ------------------
  854|      0|            Py_DECREF(Module_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  855|      0|            return 0;
  856|      0|        }
  857|      1|    }
  858|      1|    cond = PyObject_SetAttrString(state->Module_type, "_field_types",
  859|      1|                                  Module_annotations) == 0;
  860|      1|    if (!cond) {
  ------------------
  |  Branch (860:9): [True: 0, False: 1]
  ------------------
  861|      0|        Py_DECREF(Module_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  862|      0|        return 0;
  863|      0|    }
  864|      1|    cond = PyObject_SetAttrString(state->Module_type, "__annotations__",
  865|      1|                                  Module_annotations) == 0;
  866|      1|    if (!cond) {
  ------------------
  |  Branch (866:9): [True: 0, False: 1]
  ------------------
  867|      0|        Py_DECREF(Module_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  868|      0|        return 0;
  869|      0|    }
  870|      1|    Py_DECREF(Module_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  871|      1|    PyObject *Interactive_annotations = PyDict_New();
  872|      1|    if (!Interactive_annotations) return 0;
  ------------------
  |  Branch (872:9): [True: 0, False: 1]
  ------------------
  873|      1|    {
  874|      1|        PyObject *type = state->stmt_type;
  875|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
  876|      1|        cond = type != NULL;
  877|      1|        if (!cond) {
  ------------------
  |  Branch (877:13): [True: 0, False: 1]
  ------------------
  878|      0|            Py_DECREF(Interactive_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  879|      0|            return 0;
  880|      0|        }
  881|      1|        cond = PyDict_SetItemString(Interactive_annotations, "body", type) == 0;
  882|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  883|      1|        if (!cond) {
  ------------------
  |  Branch (883:13): [True: 0, False: 1]
  ------------------
  884|      0|            Py_DECREF(Interactive_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  885|      0|            return 0;
  886|      0|        }
  887|      1|    }
  888|      1|    cond = PyObject_SetAttrString(state->Interactive_type, "_field_types",
  889|      1|                                  Interactive_annotations) == 0;
  890|      1|    if (!cond) {
  ------------------
  |  Branch (890:9): [True: 0, False: 1]
  ------------------
  891|      0|        Py_DECREF(Interactive_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  892|      0|        return 0;
  893|      0|    }
  894|      1|    cond = PyObject_SetAttrString(state->Interactive_type, "__annotations__",
  895|      1|                                  Interactive_annotations) == 0;
  896|      1|    if (!cond) {
  ------------------
  |  Branch (896:9): [True: 0, False: 1]
  ------------------
  897|      0|        Py_DECREF(Interactive_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  898|      0|        return 0;
  899|      0|    }
  900|      1|    Py_DECREF(Interactive_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  901|      1|    PyObject *Expression_annotations = PyDict_New();
  902|      1|    if (!Expression_annotations) return 0;
  ------------------
  |  Branch (902:9): [True: 0, False: 1]
  ------------------
  903|      1|    {
  904|      1|        PyObject *type = state->expr_type;
  905|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  906|      1|        cond = PyDict_SetItemString(Expression_annotations, "body", type) == 0;
  907|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  908|      1|        if (!cond) {
  ------------------
  |  Branch (908:13): [True: 0, False: 1]
  ------------------
  909|      0|            Py_DECREF(Expression_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  910|      0|            return 0;
  911|      0|        }
  912|      1|    }
  913|      1|    cond = PyObject_SetAttrString(state->Expression_type, "_field_types",
  914|      1|                                  Expression_annotations) == 0;
  915|      1|    if (!cond) {
  ------------------
  |  Branch (915:9): [True: 0, False: 1]
  ------------------
  916|      0|        Py_DECREF(Expression_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  917|      0|        return 0;
  918|      0|    }
  919|      1|    cond = PyObject_SetAttrString(state->Expression_type, "__annotations__",
  920|      1|                                  Expression_annotations) == 0;
  921|      1|    if (!cond) {
  ------------------
  |  Branch (921:9): [True: 0, False: 1]
  ------------------
  922|      0|        Py_DECREF(Expression_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  923|      0|        return 0;
  924|      0|    }
  925|      1|    Py_DECREF(Expression_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  926|      1|    PyObject *FunctionType_annotations = PyDict_New();
  927|      1|    if (!FunctionType_annotations) return 0;
  ------------------
  |  Branch (927:9): [True: 0, False: 1]
  ------------------
  928|      1|    {
  929|      1|        PyObject *type = state->expr_type;
  930|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
  931|      1|        cond = type != NULL;
  932|      1|        if (!cond) {
  ------------------
  |  Branch (932:13): [True: 0, False: 1]
  ------------------
  933|      0|            Py_DECREF(FunctionType_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  934|      0|            return 0;
  935|      0|        }
  936|      1|        cond = PyDict_SetItemString(FunctionType_annotations, "argtypes", type)
  937|      1|                                    == 0;
  938|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  939|      1|        if (!cond) {
  ------------------
  |  Branch (939:13): [True: 0, False: 1]
  ------------------
  940|      0|            Py_DECREF(FunctionType_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  941|      0|            return 0;
  942|      0|        }
  943|      1|    }
  944|      1|    {
  945|      1|        PyObject *type = state->expr_type;
  946|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  947|      1|        cond = PyDict_SetItemString(FunctionType_annotations, "returns", type)
  948|      1|                                    == 0;
  949|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  950|      1|        if (!cond) {
  ------------------
  |  Branch (950:13): [True: 0, False: 1]
  ------------------
  951|      0|            Py_DECREF(FunctionType_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  952|      0|            return 0;
  953|      0|        }
  954|      1|    }
  955|      1|    cond = PyObject_SetAttrString(state->FunctionType_type, "_field_types",
  956|      1|                                  FunctionType_annotations) == 0;
  957|      1|    if (!cond) {
  ------------------
  |  Branch (957:9): [True: 0, False: 1]
  ------------------
  958|      0|        Py_DECREF(FunctionType_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  959|      0|        return 0;
  960|      0|    }
  961|      1|    cond = PyObject_SetAttrString(state->FunctionType_type, "__annotations__",
  962|      1|                                  FunctionType_annotations) == 0;
  963|      1|    if (!cond) {
  ------------------
  |  Branch (963:9): [True: 0, False: 1]
  ------------------
  964|      0|        Py_DECREF(FunctionType_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  965|      0|        return 0;
  966|      0|    }
  967|      1|    Py_DECREF(FunctionType_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  968|      1|    PyObject *FunctionDef_annotations = PyDict_New();
  969|      1|    if (!FunctionDef_annotations) return 0;
  ------------------
  |  Branch (969:9): [True: 0, False: 1]
  ------------------
  970|      1|    {
  971|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
  972|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  973|      1|        cond = PyDict_SetItemString(FunctionDef_annotations, "name", type) == 0;
  974|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  975|      1|        if (!cond) {
  ------------------
  |  Branch (975:13): [True: 0, False: 1]
  ------------------
  976|      0|            Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  977|      0|            return 0;
  978|      0|        }
  979|      1|    }
  980|      1|    {
  981|      1|        PyObject *type = state->arguments_type;
  982|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  983|      1|        cond = PyDict_SetItemString(FunctionDef_annotations, "args", type) == 0;
  984|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  985|      1|        if (!cond) {
  ------------------
  |  Branch (985:13): [True: 0, False: 1]
  ------------------
  986|      0|            Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  987|      0|            return 0;
  988|      0|        }
  989|      1|    }
  990|      1|    {
  991|      1|        PyObject *type = state->stmt_type;
  992|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
  993|      1|        cond = type != NULL;
  994|      1|        if (!cond) {
  ------------------
  |  Branch (994:13): [True: 0, False: 1]
  ------------------
  995|      0|            Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  996|      0|            return 0;
  997|      0|        }
  998|      1|        cond = PyDict_SetItemString(FunctionDef_annotations, "body", type) == 0;
  999|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1000|      1|        if (!cond) {
  ------------------
  |  Branch (1000:13): [True: 0, False: 1]
  ------------------
 1001|      0|            Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1002|      0|            return 0;
 1003|      0|        }
 1004|      1|    }
 1005|      1|    {
 1006|      1|        PyObject *type = state->expr_type;
 1007|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1008|      1|        cond = type != NULL;
 1009|      1|        if (!cond) {
  ------------------
  |  Branch (1009:13): [True: 0, False: 1]
  ------------------
 1010|      0|            Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1011|      0|            return 0;
 1012|      0|        }
 1013|      1|        cond = PyDict_SetItemString(FunctionDef_annotations, "decorator_list",
 1014|      1|                                    type) == 0;
 1015|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1016|      1|        if (!cond) {
  ------------------
  |  Branch (1016:13): [True: 0, False: 1]
  ------------------
 1017|      0|            Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1018|      0|            return 0;
 1019|      0|        }
 1020|      1|    }
 1021|      1|    {
 1022|      1|        PyObject *type = state->expr_type;
 1023|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1024|      1|        cond = type != NULL;
 1025|      1|        if (!cond) {
  ------------------
  |  Branch (1025:13): [True: 0, False: 1]
  ------------------
 1026|      0|            Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1027|      0|            return 0;
 1028|      0|        }
 1029|      1|        cond = PyDict_SetItemString(FunctionDef_annotations, "returns", type)
 1030|      1|                                    == 0;
 1031|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1032|      1|        if (!cond) {
  ------------------
  |  Branch (1032:13): [True: 0, False: 1]
  ------------------
 1033|      0|            Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1034|      0|            return 0;
 1035|      0|        }
 1036|      1|    }
 1037|      1|    {
 1038|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 1039|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1040|      1|        cond = type != NULL;
 1041|      1|        if (!cond) {
  ------------------
  |  Branch (1041:13): [True: 0, False: 1]
  ------------------
 1042|      0|            Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1043|      0|            return 0;
 1044|      0|        }
 1045|      1|        cond = PyDict_SetItemString(FunctionDef_annotations, "type_comment",
 1046|      1|                                    type) == 0;
 1047|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1048|      1|        if (!cond) {
  ------------------
  |  Branch (1048:13): [True: 0, False: 1]
  ------------------
 1049|      0|            Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1050|      0|            return 0;
 1051|      0|        }
 1052|      1|    }
 1053|      1|    {
 1054|      1|        PyObject *type = state->type_param_type;
 1055|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1056|      1|        cond = type != NULL;
 1057|      1|        if (!cond) {
  ------------------
  |  Branch (1057:13): [True: 0, False: 1]
  ------------------
 1058|      0|            Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1059|      0|            return 0;
 1060|      0|        }
 1061|      1|        cond = PyDict_SetItemString(FunctionDef_annotations, "type_params",
 1062|      1|                                    type) == 0;
 1063|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1064|      1|        if (!cond) {
  ------------------
  |  Branch (1064:13): [True: 0, False: 1]
  ------------------
 1065|      0|            Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1066|      0|            return 0;
 1067|      0|        }
 1068|      1|    }
 1069|      1|    cond = PyObject_SetAttrString(state->FunctionDef_type, "_field_types",
 1070|      1|                                  FunctionDef_annotations) == 0;
 1071|      1|    if (!cond) {
  ------------------
  |  Branch (1071:9): [True: 0, False: 1]
  ------------------
 1072|      0|        Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1073|      0|        return 0;
 1074|      0|    }
 1075|      1|    cond = PyObject_SetAttrString(state->FunctionDef_type, "__annotations__",
 1076|      1|                                  FunctionDef_annotations) == 0;
 1077|      1|    if (!cond) {
  ------------------
  |  Branch (1077:9): [True: 0, False: 1]
  ------------------
 1078|      0|        Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1079|      0|        return 0;
 1080|      0|    }
 1081|      1|    Py_DECREF(FunctionDef_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1082|      1|    PyObject *AsyncFunctionDef_annotations = PyDict_New();
 1083|      1|    if (!AsyncFunctionDef_annotations) return 0;
  ------------------
  |  Branch (1083:9): [True: 0, False: 1]
  ------------------
 1084|      1|    {
 1085|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 1086|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1087|      1|        cond = PyDict_SetItemString(AsyncFunctionDef_annotations, "name", type)
 1088|      1|                                    == 0;
 1089|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1090|      1|        if (!cond) {
  ------------------
  |  Branch (1090:13): [True: 0, False: 1]
  ------------------
 1091|      0|            Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1092|      0|            return 0;
 1093|      0|        }
 1094|      1|    }
 1095|      1|    {
 1096|      1|        PyObject *type = state->arguments_type;
 1097|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1098|      1|        cond = PyDict_SetItemString(AsyncFunctionDef_annotations, "args", type)
 1099|      1|                                    == 0;
 1100|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1101|      1|        if (!cond) {
  ------------------
  |  Branch (1101:13): [True: 0, False: 1]
  ------------------
 1102|      0|            Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1103|      0|            return 0;
 1104|      0|        }
 1105|      1|    }
 1106|      1|    {
 1107|      1|        PyObject *type = state->stmt_type;
 1108|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1109|      1|        cond = type != NULL;
 1110|      1|        if (!cond) {
  ------------------
  |  Branch (1110:13): [True: 0, False: 1]
  ------------------
 1111|      0|            Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1112|      0|            return 0;
 1113|      0|        }
 1114|      1|        cond = PyDict_SetItemString(AsyncFunctionDef_annotations, "body", type)
 1115|      1|                                    == 0;
 1116|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1117|      1|        if (!cond) {
  ------------------
  |  Branch (1117:13): [True: 0, False: 1]
  ------------------
 1118|      0|            Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1119|      0|            return 0;
 1120|      0|        }
 1121|      1|    }
 1122|      1|    {
 1123|      1|        PyObject *type = state->expr_type;
 1124|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1125|      1|        cond = type != NULL;
 1126|      1|        if (!cond) {
  ------------------
  |  Branch (1126:13): [True: 0, False: 1]
  ------------------
 1127|      0|            Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1128|      0|            return 0;
 1129|      0|        }
 1130|      1|        cond = PyDict_SetItemString(AsyncFunctionDef_annotations,
 1131|      1|                                    "decorator_list", type) == 0;
 1132|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1133|      1|        if (!cond) {
  ------------------
  |  Branch (1133:13): [True: 0, False: 1]
  ------------------
 1134|      0|            Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1135|      0|            return 0;
 1136|      0|        }
 1137|      1|    }
 1138|      1|    {
 1139|      1|        PyObject *type = state->expr_type;
 1140|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1141|      1|        cond = type != NULL;
 1142|      1|        if (!cond) {
  ------------------
  |  Branch (1142:13): [True: 0, False: 1]
  ------------------
 1143|      0|            Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1144|      0|            return 0;
 1145|      0|        }
 1146|      1|        cond = PyDict_SetItemString(AsyncFunctionDef_annotations, "returns",
 1147|      1|                                    type) == 0;
 1148|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1149|      1|        if (!cond) {
  ------------------
  |  Branch (1149:13): [True: 0, False: 1]
  ------------------
 1150|      0|            Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1151|      0|            return 0;
 1152|      0|        }
 1153|      1|    }
 1154|      1|    {
 1155|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 1156|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1157|      1|        cond = type != NULL;
 1158|      1|        if (!cond) {
  ------------------
  |  Branch (1158:13): [True: 0, False: 1]
  ------------------
 1159|      0|            Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1160|      0|            return 0;
 1161|      0|        }
 1162|      1|        cond = PyDict_SetItemString(AsyncFunctionDef_annotations,
 1163|      1|                                    "type_comment", type) == 0;
 1164|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1165|      1|        if (!cond) {
  ------------------
  |  Branch (1165:13): [True: 0, False: 1]
  ------------------
 1166|      0|            Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1167|      0|            return 0;
 1168|      0|        }
 1169|      1|    }
 1170|      1|    {
 1171|      1|        PyObject *type = state->type_param_type;
 1172|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1173|      1|        cond = type != NULL;
 1174|      1|        if (!cond) {
  ------------------
  |  Branch (1174:13): [True: 0, False: 1]
  ------------------
 1175|      0|            Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1176|      0|            return 0;
 1177|      0|        }
 1178|      1|        cond = PyDict_SetItemString(AsyncFunctionDef_annotations,
 1179|      1|                                    "type_params", type) == 0;
 1180|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1181|      1|        if (!cond) {
  ------------------
  |  Branch (1181:13): [True: 0, False: 1]
  ------------------
 1182|      0|            Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1183|      0|            return 0;
 1184|      0|        }
 1185|      1|    }
 1186|      1|    cond = PyObject_SetAttrString(state->AsyncFunctionDef_type, "_field_types",
 1187|      1|                                  AsyncFunctionDef_annotations) == 0;
 1188|      1|    if (!cond) {
  ------------------
  |  Branch (1188:9): [True: 0, False: 1]
  ------------------
 1189|      0|        Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1190|      0|        return 0;
 1191|      0|    }
 1192|      1|    cond = PyObject_SetAttrString(state->AsyncFunctionDef_type,
 1193|      1|                                  "__annotations__",
 1194|      1|                                  AsyncFunctionDef_annotations) == 0;
 1195|      1|    if (!cond) {
  ------------------
  |  Branch (1195:9): [True: 0, False: 1]
  ------------------
 1196|      0|        Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1197|      0|        return 0;
 1198|      0|    }
 1199|      1|    Py_DECREF(AsyncFunctionDef_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1200|      1|    PyObject *ClassDef_annotations = PyDict_New();
 1201|      1|    if (!ClassDef_annotations) return 0;
  ------------------
  |  Branch (1201:9): [True: 0, False: 1]
  ------------------
 1202|      1|    {
 1203|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 1204|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1205|      1|        cond = PyDict_SetItemString(ClassDef_annotations, "name", type) == 0;
 1206|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1207|      1|        if (!cond) {
  ------------------
  |  Branch (1207:13): [True: 0, False: 1]
  ------------------
 1208|      0|            Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1209|      0|            return 0;
 1210|      0|        }
 1211|      1|    }
 1212|      1|    {
 1213|      1|        PyObject *type = state->expr_type;
 1214|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1215|      1|        cond = type != NULL;
 1216|      1|        if (!cond) {
  ------------------
  |  Branch (1216:13): [True: 0, False: 1]
  ------------------
 1217|      0|            Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1218|      0|            return 0;
 1219|      0|        }
 1220|      1|        cond = PyDict_SetItemString(ClassDef_annotations, "bases", type) == 0;
 1221|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1222|      1|        if (!cond) {
  ------------------
  |  Branch (1222:13): [True: 0, False: 1]
  ------------------
 1223|      0|            Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1224|      0|            return 0;
 1225|      0|        }
 1226|      1|    }
 1227|      1|    {
 1228|      1|        PyObject *type = state->keyword_type;
 1229|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1230|      1|        cond = type != NULL;
 1231|      1|        if (!cond) {
  ------------------
  |  Branch (1231:13): [True: 0, False: 1]
  ------------------
 1232|      0|            Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1233|      0|            return 0;
 1234|      0|        }
 1235|      1|        cond = PyDict_SetItemString(ClassDef_annotations, "keywords", type) ==
 1236|      1|                                    0;
 1237|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1238|      1|        if (!cond) {
  ------------------
  |  Branch (1238:13): [True: 0, False: 1]
  ------------------
 1239|      0|            Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1240|      0|            return 0;
 1241|      0|        }
 1242|      1|    }
 1243|      1|    {
 1244|      1|        PyObject *type = state->stmt_type;
 1245|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1246|      1|        cond = type != NULL;
 1247|      1|        if (!cond) {
  ------------------
  |  Branch (1247:13): [True: 0, False: 1]
  ------------------
 1248|      0|            Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1249|      0|            return 0;
 1250|      0|        }
 1251|      1|        cond = PyDict_SetItemString(ClassDef_annotations, "body", type) == 0;
 1252|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1253|      1|        if (!cond) {
  ------------------
  |  Branch (1253:13): [True: 0, False: 1]
  ------------------
 1254|      0|            Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1255|      0|            return 0;
 1256|      0|        }
 1257|      1|    }
 1258|      1|    {
 1259|      1|        PyObject *type = state->expr_type;
 1260|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1261|      1|        cond = type != NULL;
 1262|      1|        if (!cond) {
  ------------------
  |  Branch (1262:13): [True: 0, False: 1]
  ------------------
 1263|      0|            Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1264|      0|            return 0;
 1265|      0|        }
 1266|      1|        cond = PyDict_SetItemString(ClassDef_annotations, "decorator_list",
 1267|      1|                                    type) == 0;
 1268|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1269|      1|        if (!cond) {
  ------------------
  |  Branch (1269:13): [True: 0, False: 1]
  ------------------
 1270|      0|            Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1271|      0|            return 0;
 1272|      0|        }
 1273|      1|    }
 1274|      1|    {
 1275|      1|        PyObject *type = state->type_param_type;
 1276|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1277|      1|        cond = type != NULL;
 1278|      1|        if (!cond) {
  ------------------
  |  Branch (1278:13): [True: 0, False: 1]
  ------------------
 1279|      0|            Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1280|      0|            return 0;
 1281|      0|        }
 1282|      1|        cond = PyDict_SetItemString(ClassDef_annotations, "type_params", type)
 1283|      1|                                    == 0;
 1284|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1285|      1|        if (!cond) {
  ------------------
  |  Branch (1285:13): [True: 0, False: 1]
  ------------------
 1286|      0|            Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1287|      0|            return 0;
 1288|      0|        }
 1289|      1|    }
 1290|      1|    cond = PyObject_SetAttrString(state->ClassDef_type, "_field_types",
 1291|      1|                                  ClassDef_annotations) == 0;
 1292|      1|    if (!cond) {
  ------------------
  |  Branch (1292:9): [True: 0, False: 1]
  ------------------
 1293|      0|        Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1294|      0|        return 0;
 1295|      0|    }
 1296|      1|    cond = PyObject_SetAttrString(state->ClassDef_type, "__annotations__",
 1297|      1|                                  ClassDef_annotations) == 0;
 1298|      1|    if (!cond) {
  ------------------
  |  Branch (1298:9): [True: 0, False: 1]
  ------------------
 1299|      0|        Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1300|      0|        return 0;
 1301|      0|    }
 1302|      1|    Py_DECREF(ClassDef_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1303|      1|    PyObject *Return_annotations = PyDict_New();
 1304|      1|    if (!Return_annotations) return 0;
  ------------------
  |  Branch (1304:9): [True: 0, False: 1]
  ------------------
 1305|      1|    {
 1306|      1|        PyObject *type = state->expr_type;
 1307|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1308|      1|        cond = type != NULL;
 1309|      1|        if (!cond) {
  ------------------
  |  Branch (1309:13): [True: 0, False: 1]
  ------------------
 1310|      0|            Py_DECREF(Return_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1311|      0|            return 0;
 1312|      0|        }
 1313|      1|        cond = PyDict_SetItemString(Return_annotations, "value", type) == 0;
 1314|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1315|      1|        if (!cond) {
  ------------------
  |  Branch (1315:13): [True: 0, False: 1]
  ------------------
 1316|      0|            Py_DECREF(Return_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1317|      0|            return 0;
 1318|      0|        }
 1319|      1|    }
 1320|      1|    cond = PyObject_SetAttrString(state->Return_type, "_field_types",
 1321|      1|                                  Return_annotations) == 0;
 1322|      1|    if (!cond) {
  ------------------
  |  Branch (1322:9): [True: 0, False: 1]
  ------------------
 1323|      0|        Py_DECREF(Return_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1324|      0|        return 0;
 1325|      0|    }
 1326|      1|    cond = PyObject_SetAttrString(state->Return_type, "__annotations__",
 1327|      1|                                  Return_annotations) == 0;
 1328|      1|    if (!cond) {
  ------------------
  |  Branch (1328:9): [True: 0, False: 1]
  ------------------
 1329|      0|        Py_DECREF(Return_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1330|      0|        return 0;
 1331|      0|    }
 1332|      1|    Py_DECREF(Return_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1333|      1|    PyObject *Delete_annotations = PyDict_New();
 1334|      1|    if (!Delete_annotations) return 0;
  ------------------
  |  Branch (1334:9): [True: 0, False: 1]
  ------------------
 1335|      1|    {
 1336|      1|        PyObject *type = state->expr_type;
 1337|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1338|      1|        cond = type != NULL;
 1339|      1|        if (!cond) {
  ------------------
  |  Branch (1339:13): [True: 0, False: 1]
  ------------------
 1340|      0|            Py_DECREF(Delete_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1341|      0|            return 0;
 1342|      0|        }
 1343|      1|        cond = PyDict_SetItemString(Delete_annotations, "targets", type) == 0;
 1344|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1345|      1|        if (!cond) {
  ------------------
  |  Branch (1345:13): [True: 0, False: 1]
  ------------------
 1346|      0|            Py_DECREF(Delete_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1347|      0|            return 0;
 1348|      0|        }
 1349|      1|    }
 1350|      1|    cond = PyObject_SetAttrString(state->Delete_type, "_field_types",
 1351|      1|                                  Delete_annotations) == 0;
 1352|      1|    if (!cond) {
  ------------------
  |  Branch (1352:9): [True: 0, False: 1]
  ------------------
 1353|      0|        Py_DECREF(Delete_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1354|      0|        return 0;
 1355|      0|    }
 1356|      1|    cond = PyObject_SetAttrString(state->Delete_type, "__annotations__",
 1357|      1|                                  Delete_annotations) == 0;
 1358|      1|    if (!cond) {
  ------------------
  |  Branch (1358:9): [True: 0, False: 1]
  ------------------
 1359|      0|        Py_DECREF(Delete_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1360|      0|        return 0;
 1361|      0|    }
 1362|      1|    Py_DECREF(Delete_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1363|      1|    PyObject *Assign_annotations = PyDict_New();
 1364|      1|    if (!Assign_annotations) return 0;
  ------------------
  |  Branch (1364:9): [True: 0, False: 1]
  ------------------
 1365|      1|    {
 1366|      1|        PyObject *type = state->expr_type;
 1367|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1368|      1|        cond = type != NULL;
 1369|      1|        if (!cond) {
  ------------------
  |  Branch (1369:13): [True: 0, False: 1]
  ------------------
 1370|      0|            Py_DECREF(Assign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1371|      0|            return 0;
 1372|      0|        }
 1373|      1|        cond = PyDict_SetItemString(Assign_annotations, "targets", type) == 0;
 1374|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1375|      1|        if (!cond) {
  ------------------
  |  Branch (1375:13): [True: 0, False: 1]
  ------------------
 1376|      0|            Py_DECREF(Assign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1377|      0|            return 0;
 1378|      0|        }
 1379|      1|    }
 1380|      1|    {
 1381|      1|        PyObject *type = state->expr_type;
 1382|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1383|      1|        cond = PyDict_SetItemString(Assign_annotations, "value", type) == 0;
 1384|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1385|      1|        if (!cond) {
  ------------------
  |  Branch (1385:13): [True: 0, False: 1]
  ------------------
 1386|      0|            Py_DECREF(Assign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1387|      0|            return 0;
 1388|      0|        }
 1389|      1|    }
 1390|      1|    {
 1391|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 1392|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1393|      1|        cond = type != NULL;
 1394|      1|        if (!cond) {
  ------------------
  |  Branch (1394:13): [True: 0, False: 1]
  ------------------
 1395|      0|            Py_DECREF(Assign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1396|      0|            return 0;
 1397|      0|        }
 1398|      1|        cond = PyDict_SetItemString(Assign_annotations, "type_comment", type)
 1399|      1|                                    == 0;
 1400|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1401|      1|        if (!cond) {
  ------------------
  |  Branch (1401:13): [True: 0, False: 1]
  ------------------
 1402|      0|            Py_DECREF(Assign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1403|      0|            return 0;
 1404|      0|        }
 1405|      1|    }
 1406|      1|    cond = PyObject_SetAttrString(state->Assign_type, "_field_types",
 1407|      1|                                  Assign_annotations) == 0;
 1408|      1|    if (!cond) {
  ------------------
  |  Branch (1408:9): [True: 0, False: 1]
  ------------------
 1409|      0|        Py_DECREF(Assign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1410|      0|        return 0;
 1411|      0|    }
 1412|      1|    cond = PyObject_SetAttrString(state->Assign_type, "__annotations__",
 1413|      1|                                  Assign_annotations) == 0;
 1414|      1|    if (!cond) {
  ------------------
  |  Branch (1414:9): [True: 0, False: 1]
  ------------------
 1415|      0|        Py_DECREF(Assign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1416|      0|        return 0;
 1417|      0|    }
 1418|      1|    Py_DECREF(Assign_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1419|      1|    PyObject *TypeAlias_annotations = PyDict_New();
 1420|      1|    if (!TypeAlias_annotations) return 0;
  ------------------
  |  Branch (1420:9): [True: 0, False: 1]
  ------------------
 1421|      1|    {
 1422|      1|        PyObject *type = state->expr_type;
 1423|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1424|      1|        cond = PyDict_SetItemString(TypeAlias_annotations, "name", type) == 0;
 1425|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1426|      1|        if (!cond) {
  ------------------
  |  Branch (1426:13): [True: 0, False: 1]
  ------------------
 1427|      0|            Py_DECREF(TypeAlias_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1428|      0|            return 0;
 1429|      0|        }
 1430|      1|    }
 1431|      1|    {
 1432|      1|        PyObject *type = state->type_param_type;
 1433|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1434|      1|        cond = type != NULL;
 1435|      1|        if (!cond) {
  ------------------
  |  Branch (1435:13): [True: 0, False: 1]
  ------------------
 1436|      0|            Py_DECREF(TypeAlias_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1437|      0|            return 0;
 1438|      0|        }
 1439|      1|        cond = PyDict_SetItemString(TypeAlias_annotations, "type_params", type)
 1440|      1|                                    == 0;
 1441|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1442|      1|        if (!cond) {
  ------------------
  |  Branch (1442:13): [True: 0, False: 1]
  ------------------
 1443|      0|            Py_DECREF(TypeAlias_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1444|      0|            return 0;
 1445|      0|        }
 1446|      1|    }
 1447|      1|    {
 1448|      1|        PyObject *type = state->expr_type;
 1449|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1450|      1|        cond = PyDict_SetItemString(TypeAlias_annotations, "value", type) == 0;
 1451|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1452|      1|        if (!cond) {
  ------------------
  |  Branch (1452:13): [True: 0, False: 1]
  ------------------
 1453|      0|            Py_DECREF(TypeAlias_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1454|      0|            return 0;
 1455|      0|        }
 1456|      1|    }
 1457|      1|    cond = PyObject_SetAttrString(state->TypeAlias_type, "_field_types",
 1458|      1|                                  TypeAlias_annotations) == 0;
 1459|      1|    if (!cond) {
  ------------------
  |  Branch (1459:9): [True: 0, False: 1]
  ------------------
 1460|      0|        Py_DECREF(TypeAlias_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1461|      0|        return 0;
 1462|      0|    }
 1463|      1|    cond = PyObject_SetAttrString(state->TypeAlias_type, "__annotations__",
 1464|      1|                                  TypeAlias_annotations) == 0;
 1465|      1|    if (!cond) {
  ------------------
  |  Branch (1465:9): [True: 0, False: 1]
  ------------------
 1466|      0|        Py_DECREF(TypeAlias_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1467|      0|        return 0;
 1468|      0|    }
 1469|      1|    Py_DECREF(TypeAlias_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1470|      1|    PyObject *AugAssign_annotations = PyDict_New();
 1471|      1|    if (!AugAssign_annotations) return 0;
  ------------------
  |  Branch (1471:9): [True: 0, False: 1]
  ------------------
 1472|      1|    {
 1473|      1|        PyObject *type = state->expr_type;
 1474|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1475|      1|        cond = PyDict_SetItemString(AugAssign_annotations, "target", type) == 0;
 1476|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1477|      1|        if (!cond) {
  ------------------
  |  Branch (1477:13): [True: 0, False: 1]
  ------------------
 1478|      0|            Py_DECREF(AugAssign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1479|      0|            return 0;
 1480|      0|        }
 1481|      1|    }
 1482|      1|    {
 1483|      1|        PyObject *type = state->operator_type;
 1484|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1485|      1|        cond = PyDict_SetItemString(AugAssign_annotations, "op", type) == 0;
 1486|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1487|      1|        if (!cond) {
  ------------------
  |  Branch (1487:13): [True: 0, False: 1]
  ------------------
 1488|      0|            Py_DECREF(AugAssign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1489|      0|            return 0;
 1490|      0|        }
 1491|      1|    }
 1492|      1|    {
 1493|      1|        PyObject *type = state->expr_type;
 1494|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1495|      1|        cond = PyDict_SetItemString(AugAssign_annotations, "value", type) == 0;
 1496|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1497|      1|        if (!cond) {
  ------------------
  |  Branch (1497:13): [True: 0, False: 1]
  ------------------
 1498|      0|            Py_DECREF(AugAssign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1499|      0|            return 0;
 1500|      0|        }
 1501|      1|    }
 1502|      1|    cond = PyObject_SetAttrString(state->AugAssign_type, "_field_types",
 1503|      1|                                  AugAssign_annotations) == 0;
 1504|      1|    if (!cond) {
  ------------------
  |  Branch (1504:9): [True: 0, False: 1]
  ------------------
 1505|      0|        Py_DECREF(AugAssign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1506|      0|        return 0;
 1507|      0|    }
 1508|      1|    cond = PyObject_SetAttrString(state->AugAssign_type, "__annotations__",
 1509|      1|                                  AugAssign_annotations) == 0;
 1510|      1|    if (!cond) {
  ------------------
  |  Branch (1510:9): [True: 0, False: 1]
  ------------------
 1511|      0|        Py_DECREF(AugAssign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1512|      0|        return 0;
 1513|      0|    }
 1514|      1|    Py_DECREF(AugAssign_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1515|      1|    PyObject *AnnAssign_annotations = PyDict_New();
 1516|      1|    if (!AnnAssign_annotations) return 0;
  ------------------
  |  Branch (1516:9): [True: 0, False: 1]
  ------------------
 1517|      1|    {
 1518|      1|        PyObject *type = state->expr_type;
 1519|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1520|      1|        cond = PyDict_SetItemString(AnnAssign_annotations, "target", type) == 0;
 1521|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1522|      1|        if (!cond) {
  ------------------
  |  Branch (1522:13): [True: 0, False: 1]
  ------------------
 1523|      0|            Py_DECREF(AnnAssign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1524|      0|            return 0;
 1525|      0|        }
 1526|      1|    }
 1527|      1|    {
 1528|      1|        PyObject *type = state->expr_type;
 1529|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1530|      1|        cond = PyDict_SetItemString(AnnAssign_annotations, "annotation", type)
 1531|      1|                                    == 0;
 1532|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1533|      1|        if (!cond) {
  ------------------
  |  Branch (1533:13): [True: 0, False: 1]
  ------------------
 1534|      0|            Py_DECREF(AnnAssign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1535|      0|            return 0;
 1536|      0|        }
 1537|      1|    }
 1538|      1|    {
 1539|      1|        PyObject *type = state->expr_type;
 1540|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1541|      1|        cond = type != NULL;
 1542|      1|        if (!cond) {
  ------------------
  |  Branch (1542:13): [True: 0, False: 1]
  ------------------
 1543|      0|            Py_DECREF(AnnAssign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1544|      0|            return 0;
 1545|      0|        }
 1546|      1|        cond = PyDict_SetItemString(AnnAssign_annotations, "value", type) == 0;
 1547|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1548|      1|        if (!cond) {
  ------------------
  |  Branch (1548:13): [True: 0, False: 1]
  ------------------
 1549|      0|            Py_DECREF(AnnAssign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1550|      0|            return 0;
 1551|      0|        }
 1552|      1|    }
 1553|      1|    {
 1554|      1|        PyObject *type = (PyObject *)&PyLong_Type;
 1555|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1556|      1|        cond = PyDict_SetItemString(AnnAssign_annotations, "simple", type) == 0;
 1557|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1558|      1|        if (!cond) {
  ------------------
  |  Branch (1558:13): [True: 0, False: 1]
  ------------------
 1559|      0|            Py_DECREF(AnnAssign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1560|      0|            return 0;
 1561|      0|        }
 1562|      1|    }
 1563|      1|    cond = PyObject_SetAttrString(state->AnnAssign_type, "_field_types",
 1564|      1|                                  AnnAssign_annotations) == 0;
 1565|      1|    if (!cond) {
  ------------------
  |  Branch (1565:9): [True: 0, False: 1]
  ------------------
 1566|      0|        Py_DECREF(AnnAssign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1567|      0|        return 0;
 1568|      0|    }
 1569|      1|    cond = PyObject_SetAttrString(state->AnnAssign_type, "__annotations__",
 1570|      1|                                  AnnAssign_annotations) == 0;
 1571|      1|    if (!cond) {
  ------------------
  |  Branch (1571:9): [True: 0, False: 1]
  ------------------
 1572|      0|        Py_DECREF(AnnAssign_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1573|      0|        return 0;
 1574|      0|    }
 1575|      1|    Py_DECREF(AnnAssign_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1576|      1|    PyObject *For_annotations = PyDict_New();
 1577|      1|    if (!For_annotations) return 0;
  ------------------
  |  Branch (1577:9): [True: 0, False: 1]
  ------------------
 1578|      1|    {
 1579|      1|        PyObject *type = state->expr_type;
 1580|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1581|      1|        cond = PyDict_SetItemString(For_annotations, "target", type) == 0;
 1582|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1583|      1|        if (!cond) {
  ------------------
  |  Branch (1583:13): [True: 0, False: 1]
  ------------------
 1584|      0|            Py_DECREF(For_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1585|      0|            return 0;
 1586|      0|        }
 1587|      1|    }
 1588|      1|    {
 1589|      1|        PyObject *type = state->expr_type;
 1590|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1591|      1|        cond = PyDict_SetItemString(For_annotations, "iter", type) == 0;
 1592|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1593|      1|        if (!cond) {
  ------------------
  |  Branch (1593:13): [True: 0, False: 1]
  ------------------
 1594|      0|            Py_DECREF(For_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1595|      0|            return 0;
 1596|      0|        }
 1597|      1|    }
 1598|      1|    {
 1599|      1|        PyObject *type = state->stmt_type;
 1600|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1601|      1|        cond = type != NULL;
 1602|      1|        if (!cond) {
  ------------------
  |  Branch (1602:13): [True: 0, False: 1]
  ------------------
 1603|      0|            Py_DECREF(For_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1604|      0|            return 0;
 1605|      0|        }
 1606|      1|        cond = PyDict_SetItemString(For_annotations, "body", type) == 0;
 1607|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1608|      1|        if (!cond) {
  ------------------
  |  Branch (1608:13): [True: 0, False: 1]
  ------------------
 1609|      0|            Py_DECREF(For_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1610|      0|            return 0;
 1611|      0|        }
 1612|      1|    }
 1613|      1|    {
 1614|      1|        PyObject *type = state->stmt_type;
 1615|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1616|      1|        cond = type != NULL;
 1617|      1|        if (!cond) {
  ------------------
  |  Branch (1617:13): [True: 0, False: 1]
  ------------------
 1618|      0|            Py_DECREF(For_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1619|      0|            return 0;
 1620|      0|        }
 1621|      1|        cond = PyDict_SetItemString(For_annotations, "orelse", type) == 0;
 1622|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1623|      1|        if (!cond) {
  ------------------
  |  Branch (1623:13): [True: 0, False: 1]
  ------------------
 1624|      0|            Py_DECREF(For_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1625|      0|            return 0;
 1626|      0|        }
 1627|      1|    }
 1628|      1|    {
 1629|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 1630|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1631|      1|        cond = type != NULL;
 1632|      1|        if (!cond) {
  ------------------
  |  Branch (1632:13): [True: 0, False: 1]
  ------------------
 1633|      0|            Py_DECREF(For_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1634|      0|            return 0;
 1635|      0|        }
 1636|      1|        cond = PyDict_SetItemString(For_annotations, "type_comment", type) == 0;
 1637|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1638|      1|        if (!cond) {
  ------------------
  |  Branch (1638:13): [True: 0, False: 1]
  ------------------
 1639|      0|            Py_DECREF(For_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1640|      0|            return 0;
 1641|      0|        }
 1642|      1|    }
 1643|      1|    cond = PyObject_SetAttrString(state->For_type, "_field_types",
 1644|      1|                                  For_annotations) == 0;
 1645|      1|    if (!cond) {
  ------------------
  |  Branch (1645:9): [True: 0, False: 1]
  ------------------
 1646|      0|        Py_DECREF(For_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1647|      0|        return 0;
 1648|      0|    }
 1649|      1|    cond = PyObject_SetAttrString(state->For_type, "__annotations__",
 1650|      1|                                  For_annotations) == 0;
 1651|      1|    if (!cond) {
  ------------------
  |  Branch (1651:9): [True: 0, False: 1]
  ------------------
 1652|      0|        Py_DECREF(For_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1653|      0|        return 0;
 1654|      0|    }
 1655|      1|    Py_DECREF(For_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1656|      1|    PyObject *AsyncFor_annotations = PyDict_New();
 1657|      1|    if (!AsyncFor_annotations) return 0;
  ------------------
  |  Branch (1657:9): [True: 0, False: 1]
  ------------------
 1658|      1|    {
 1659|      1|        PyObject *type = state->expr_type;
 1660|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1661|      1|        cond = PyDict_SetItemString(AsyncFor_annotations, "target", type) == 0;
 1662|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1663|      1|        if (!cond) {
  ------------------
  |  Branch (1663:13): [True: 0, False: 1]
  ------------------
 1664|      0|            Py_DECREF(AsyncFor_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1665|      0|            return 0;
 1666|      0|        }
 1667|      1|    }
 1668|      1|    {
 1669|      1|        PyObject *type = state->expr_type;
 1670|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1671|      1|        cond = PyDict_SetItemString(AsyncFor_annotations, "iter", type) == 0;
 1672|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1673|      1|        if (!cond) {
  ------------------
  |  Branch (1673:13): [True: 0, False: 1]
  ------------------
 1674|      0|            Py_DECREF(AsyncFor_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1675|      0|            return 0;
 1676|      0|        }
 1677|      1|    }
 1678|      1|    {
 1679|      1|        PyObject *type = state->stmt_type;
 1680|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1681|      1|        cond = type != NULL;
 1682|      1|        if (!cond) {
  ------------------
  |  Branch (1682:13): [True: 0, False: 1]
  ------------------
 1683|      0|            Py_DECREF(AsyncFor_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1684|      0|            return 0;
 1685|      0|        }
 1686|      1|        cond = PyDict_SetItemString(AsyncFor_annotations, "body", type) == 0;
 1687|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1688|      1|        if (!cond) {
  ------------------
  |  Branch (1688:13): [True: 0, False: 1]
  ------------------
 1689|      0|            Py_DECREF(AsyncFor_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1690|      0|            return 0;
 1691|      0|        }
 1692|      1|    }
 1693|      1|    {
 1694|      1|        PyObject *type = state->stmt_type;
 1695|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1696|      1|        cond = type != NULL;
 1697|      1|        if (!cond) {
  ------------------
  |  Branch (1697:13): [True: 0, False: 1]
  ------------------
 1698|      0|            Py_DECREF(AsyncFor_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1699|      0|            return 0;
 1700|      0|        }
 1701|      1|        cond = PyDict_SetItemString(AsyncFor_annotations, "orelse", type) == 0;
 1702|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1703|      1|        if (!cond) {
  ------------------
  |  Branch (1703:13): [True: 0, False: 1]
  ------------------
 1704|      0|            Py_DECREF(AsyncFor_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1705|      0|            return 0;
 1706|      0|        }
 1707|      1|    }
 1708|      1|    {
 1709|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 1710|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1711|      1|        cond = type != NULL;
 1712|      1|        if (!cond) {
  ------------------
  |  Branch (1712:13): [True: 0, False: 1]
  ------------------
 1713|      0|            Py_DECREF(AsyncFor_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1714|      0|            return 0;
 1715|      0|        }
 1716|      1|        cond = PyDict_SetItemString(AsyncFor_annotations, "type_comment", type)
 1717|      1|                                    == 0;
 1718|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1719|      1|        if (!cond) {
  ------------------
  |  Branch (1719:13): [True: 0, False: 1]
  ------------------
 1720|      0|            Py_DECREF(AsyncFor_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1721|      0|            return 0;
 1722|      0|        }
 1723|      1|    }
 1724|      1|    cond = PyObject_SetAttrString(state->AsyncFor_type, "_field_types",
 1725|      1|                                  AsyncFor_annotations) == 0;
 1726|      1|    if (!cond) {
  ------------------
  |  Branch (1726:9): [True: 0, False: 1]
  ------------------
 1727|      0|        Py_DECREF(AsyncFor_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1728|      0|        return 0;
 1729|      0|    }
 1730|      1|    cond = PyObject_SetAttrString(state->AsyncFor_type, "__annotations__",
 1731|      1|                                  AsyncFor_annotations) == 0;
 1732|      1|    if (!cond) {
  ------------------
  |  Branch (1732:9): [True: 0, False: 1]
  ------------------
 1733|      0|        Py_DECREF(AsyncFor_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1734|      0|        return 0;
 1735|      0|    }
 1736|      1|    Py_DECREF(AsyncFor_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1737|      1|    PyObject *While_annotations = PyDict_New();
 1738|      1|    if (!While_annotations) return 0;
  ------------------
  |  Branch (1738:9): [True: 0, False: 1]
  ------------------
 1739|      1|    {
 1740|      1|        PyObject *type = state->expr_type;
 1741|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1742|      1|        cond = PyDict_SetItemString(While_annotations, "test", type) == 0;
 1743|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1744|      1|        if (!cond) {
  ------------------
  |  Branch (1744:13): [True: 0, False: 1]
  ------------------
 1745|      0|            Py_DECREF(While_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1746|      0|            return 0;
 1747|      0|        }
 1748|      1|    }
 1749|      1|    {
 1750|      1|        PyObject *type = state->stmt_type;
 1751|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1752|      1|        cond = type != NULL;
 1753|      1|        if (!cond) {
  ------------------
  |  Branch (1753:13): [True: 0, False: 1]
  ------------------
 1754|      0|            Py_DECREF(While_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1755|      0|            return 0;
 1756|      0|        }
 1757|      1|        cond = PyDict_SetItemString(While_annotations, "body", type) == 0;
 1758|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1759|      1|        if (!cond) {
  ------------------
  |  Branch (1759:13): [True: 0, False: 1]
  ------------------
 1760|      0|            Py_DECREF(While_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1761|      0|            return 0;
 1762|      0|        }
 1763|      1|    }
 1764|      1|    {
 1765|      1|        PyObject *type = state->stmt_type;
 1766|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1767|      1|        cond = type != NULL;
 1768|      1|        if (!cond) {
  ------------------
  |  Branch (1768:13): [True: 0, False: 1]
  ------------------
 1769|      0|            Py_DECREF(While_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1770|      0|            return 0;
 1771|      0|        }
 1772|      1|        cond = PyDict_SetItemString(While_annotations, "orelse", type) == 0;
 1773|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1774|      1|        if (!cond) {
  ------------------
  |  Branch (1774:13): [True: 0, False: 1]
  ------------------
 1775|      0|            Py_DECREF(While_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1776|      0|            return 0;
 1777|      0|        }
 1778|      1|    }
 1779|      1|    cond = PyObject_SetAttrString(state->While_type, "_field_types",
 1780|      1|                                  While_annotations) == 0;
 1781|      1|    if (!cond) {
  ------------------
  |  Branch (1781:9): [True: 0, False: 1]
  ------------------
 1782|      0|        Py_DECREF(While_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1783|      0|        return 0;
 1784|      0|    }
 1785|      1|    cond = PyObject_SetAttrString(state->While_type, "__annotations__",
 1786|      1|                                  While_annotations) == 0;
 1787|      1|    if (!cond) {
  ------------------
  |  Branch (1787:9): [True: 0, False: 1]
  ------------------
 1788|      0|        Py_DECREF(While_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1789|      0|        return 0;
 1790|      0|    }
 1791|      1|    Py_DECREF(While_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1792|      1|    PyObject *If_annotations = PyDict_New();
 1793|      1|    if (!If_annotations) return 0;
  ------------------
  |  Branch (1793:9): [True: 0, False: 1]
  ------------------
 1794|      1|    {
 1795|      1|        PyObject *type = state->expr_type;
 1796|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1797|      1|        cond = PyDict_SetItemString(If_annotations, "test", type) == 0;
 1798|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1799|      1|        if (!cond) {
  ------------------
  |  Branch (1799:13): [True: 0, False: 1]
  ------------------
 1800|      0|            Py_DECREF(If_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1801|      0|            return 0;
 1802|      0|        }
 1803|      1|    }
 1804|      1|    {
 1805|      1|        PyObject *type = state->stmt_type;
 1806|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1807|      1|        cond = type != NULL;
 1808|      1|        if (!cond) {
  ------------------
  |  Branch (1808:13): [True: 0, False: 1]
  ------------------
 1809|      0|            Py_DECREF(If_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1810|      0|            return 0;
 1811|      0|        }
 1812|      1|        cond = PyDict_SetItemString(If_annotations, "body", type) == 0;
 1813|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1814|      1|        if (!cond) {
  ------------------
  |  Branch (1814:13): [True: 0, False: 1]
  ------------------
 1815|      0|            Py_DECREF(If_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1816|      0|            return 0;
 1817|      0|        }
 1818|      1|    }
 1819|      1|    {
 1820|      1|        PyObject *type = state->stmt_type;
 1821|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1822|      1|        cond = type != NULL;
 1823|      1|        if (!cond) {
  ------------------
  |  Branch (1823:13): [True: 0, False: 1]
  ------------------
 1824|      0|            Py_DECREF(If_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1825|      0|            return 0;
 1826|      0|        }
 1827|      1|        cond = PyDict_SetItemString(If_annotations, "orelse", type) == 0;
 1828|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1829|      1|        if (!cond) {
  ------------------
  |  Branch (1829:13): [True: 0, False: 1]
  ------------------
 1830|      0|            Py_DECREF(If_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1831|      0|            return 0;
 1832|      0|        }
 1833|      1|    }
 1834|      1|    cond = PyObject_SetAttrString(state->If_type, "_field_types",
 1835|      1|                                  If_annotations) == 0;
 1836|      1|    if (!cond) {
  ------------------
  |  Branch (1836:9): [True: 0, False: 1]
  ------------------
 1837|      0|        Py_DECREF(If_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1838|      0|        return 0;
 1839|      0|    }
 1840|      1|    cond = PyObject_SetAttrString(state->If_type, "__annotations__",
 1841|      1|                                  If_annotations) == 0;
 1842|      1|    if (!cond) {
  ------------------
  |  Branch (1842:9): [True: 0, False: 1]
  ------------------
 1843|      0|        Py_DECREF(If_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1844|      0|        return 0;
 1845|      0|    }
 1846|      1|    Py_DECREF(If_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1847|      1|    PyObject *With_annotations = PyDict_New();
 1848|      1|    if (!With_annotations) return 0;
  ------------------
  |  Branch (1848:9): [True: 0, False: 1]
  ------------------
 1849|      1|    {
 1850|      1|        PyObject *type = state->withitem_type;
 1851|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1852|      1|        cond = type != NULL;
 1853|      1|        if (!cond) {
  ------------------
  |  Branch (1853:13): [True: 0, False: 1]
  ------------------
 1854|      0|            Py_DECREF(With_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1855|      0|            return 0;
 1856|      0|        }
 1857|      1|        cond = PyDict_SetItemString(With_annotations, "items", type) == 0;
 1858|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1859|      1|        if (!cond) {
  ------------------
  |  Branch (1859:13): [True: 0, False: 1]
  ------------------
 1860|      0|            Py_DECREF(With_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1861|      0|            return 0;
 1862|      0|        }
 1863|      1|    }
 1864|      1|    {
 1865|      1|        PyObject *type = state->stmt_type;
 1866|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1867|      1|        cond = type != NULL;
 1868|      1|        if (!cond) {
  ------------------
  |  Branch (1868:13): [True: 0, False: 1]
  ------------------
 1869|      0|            Py_DECREF(With_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1870|      0|            return 0;
 1871|      0|        }
 1872|      1|        cond = PyDict_SetItemString(With_annotations, "body", type) == 0;
 1873|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1874|      1|        if (!cond) {
  ------------------
  |  Branch (1874:13): [True: 0, False: 1]
  ------------------
 1875|      0|            Py_DECREF(With_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1876|      0|            return 0;
 1877|      0|        }
 1878|      1|    }
 1879|      1|    {
 1880|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 1881|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1882|      1|        cond = type != NULL;
 1883|      1|        if (!cond) {
  ------------------
  |  Branch (1883:13): [True: 0, False: 1]
  ------------------
 1884|      0|            Py_DECREF(With_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1885|      0|            return 0;
 1886|      0|        }
 1887|      1|        cond = PyDict_SetItemString(With_annotations, "type_comment", type) ==
 1888|      1|                                    0;
 1889|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1890|      1|        if (!cond) {
  ------------------
  |  Branch (1890:13): [True: 0, False: 1]
  ------------------
 1891|      0|            Py_DECREF(With_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1892|      0|            return 0;
 1893|      0|        }
 1894|      1|    }
 1895|      1|    cond = PyObject_SetAttrString(state->With_type, "_field_types",
 1896|      1|                                  With_annotations) == 0;
 1897|      1|    if (!cond) {
  ------------------
  |  Branch (1897:9): [True: 0, False: 1]
  ------------------
 1898|      0|        Py_DECREF(With_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1899|      0|        return 0;
 1900|      0|    }
 1901|      1|    cond = PyObject_SetAttrString(state->With_type, "__annotations__",
 1902|      1|                                  With_annotations) == 0;
 1903|      1|    if (!cond) {
  ------------------
  |  Branch (1903:9): [True: 0, False: 1]
  ------------------
 1904|      0|        Py_DECREF(With_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1905|      0|        return 0;
 1906|      0|    }
 1907|      1|    Py_DECREF(With_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1908|      1|    PyObject *AsyncWith_annotations = PyDict_New();
 1909|      1|    if (!AsyncWith_annotations) return 0;
  ------------------
  |  Branch (1909:9): [True: 0, False: 1]
  ------------------
 1910|      1|    {
 1911|      1|        PyObject *type = state->withitem_type;
 1912|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1913|      1|        cond = type != NULL;
 1914|      1|        if (!cond) {
  ------------------
  |  Branch (1914:13): [True: 0, False: 1]
  ------------------
 1915|      0|            Py_DECREF(AsyncWith_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1916|      0|            return 0;
 1917|      0|        }
 1918|      1|        cond = PyDict_SetItemString(AsyncWith_annotations, "items", type) == 0;
 1919|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1920|      1|        if (!cond) {
  ------------------
  |  Branch (1920:13): [True: 0, False: 1]
  ------------------
 1921|      0|            Py_DECREF(AsyncWith_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1922|      0|            return 0;
 1923|      0|        }
 1924|      1|    }
 1925|      1|    {
 1926|      1|        PyObject *type = state->stmt_type;
 1927|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1928|      1|        cond = type != NULL;
 1929|      1|        if (!cond) {
  ------------------
  |  Branch (1929:13): [True: 0, False: 1]
  ------------------
 1930|      0|            Py_DECREF(AsyncWith_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1931|      0|            return 0;
 1932|      0|        }
 1933|      1|        cond = PyDict_SetItemString(AsyncWith_annotations, "body", type) == 0;
 1934|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1935|      1|        if (!cond) {
  ------------------
  |  Branch (1935:13): [True: 0, False: 1]
  ------------------
 1936|      0|            Py_DECREF(AsyncWith_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1937|      0|            return 0;
 1938|      0|        }
 1939|      1|    }
 1940|      1|    {
 1941|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 1942|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1943|      1|        cond = type != NULL;
 1944|      1|        if (!cond) {
  ------------------
  |  Branch (1944:13): [True: 0, False: 1]
  ------------------
 1945|      0|            Py_DECREF(AsyncWith_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1946|      0|            return 0;
 1947|      0|        }
 1948|      1|        cond = PyDict_SetItemString(AsyncWith_annotations, "type_comment",
 1949|      1|                                    type) == 0;
 1950|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1951|      1|        if (!cond) {
  ------------------
  |  Branch (1951:13): [True: 0, False: 1]
  ------------------
 1952|      0|            Py_DECREF(AsyncWith_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1953|      0|            return 0;
 1954|      0|        }
 1955|      1|    }
 1956|      1|    cond = PyObject_SetAttrString(state->AsyncWith_type, "_field_types",
 1957|      1|                                  AsyncWith_annotations) == 0;
 1958|      1|    if (!cond) {
  ------------------
  |  Branch (1958:9): [True: 0, False: 1]
  ------------------
 1959|      0|        Py_DECREF(AsyncWith_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1960|      0|        return 0;
 1961|      0|    }
 1962|      1|    cond = PyObject_SetAttrString(state->AsyncWith_type, "__annotations__",
 1963|      1|                                  AsyncWith_annotations) == 0;
 1964|      1|    if (!cond) {
  ------------------
  |  Branch (1964:9): [True: 0, False: 1]
  ------------------
 1965|      0|        Py_DECREF(AsyncWith_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1966|      0|        return 0;
 1967|      0|    }
 1968|      1|    Py_DECREF(AsyncWith_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1969|      1|    PyObject *Match_annotations = PyDict_New();
 1970|      1|    if (!Match_annotations) return 0;
  ------------------
  |  Branch (1970:9): [True: 0, False: 1]
  ------------------
 1971|      1|    {
 1972|      1|        PyObject *type = state->expr_type;
 1973|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1974|      1|        cond = PyDict_SetItemString(Match_annotations, "subject", type) == 0;
 1975|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1976|      1|        if (!cond) {
  ------------------
  |  Branch (1976:13): [True: 0, False: 1]
  ------------------
 1977|      0|            Py_DECREF(Match_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1978|      0|            return 0;
 1979|      0|        }
 1980|      1|    }
 1981|      1|    {
 1982|      1|        PyObject *type = state->match_case_type;
 1983|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 1984|      1|        cond = type != NULL;
 1985|      1|        if (!cond) {
  ------------------
  |  Branch (1985:13): [True: 0, False: 1]
  ------------------
 1986|      0|            Py_DECREF(Match_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1987|      0|            return 0;
 1988|      0|        }
 1989|      1|        cond = PyDict_SetItemString(Match_annotations, "cases", type) == 0;
 1990|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1991|      1|        if (!cond) {
  ------------------
  |  Branch (1991:13): [True: 0, False: 1]
  ------------------
 1992|      0|            Py_DECREF(Match_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1993|      0|            return 0;
 1994|      0|        }
 1995|      1|    }
 1996|      1|    cond = PyObject_SetAttrString(state->Match_type, "_field_types",
 1997|      1|                                  Match_annotations) == 0;
 1998|      1|    if (!cond) {
  ------------------
  |  Branch (1998:9): [True: 0, False: 1]
  ------------------
 1999|      0|        Py_DECREF(Match_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2000|      0|        return 0;
 2001|      0|    }
 2002|      1|    cond = PyObject_SetAttrString(state->Match_type, "__annotations__",
 2003|      1|                                  Match_annotations) == 0;
 2004|      1|    if (!cond) {
  ------------------
  |  Branch (2004:9): [True: 0, False: 1]
  ------------------
 2005|      0|        Py_DECREF(Match_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2006|      0|        return 0;
 2007|      0|    }
 2008|      1|    Py_DECREF(Match_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2009|      1|    PyObject *Raise_annotations = PyDict_New();
 2010|      1|    if (!Raise_annotations) return 0;
  ------------------
  |  Branch (2010:9): [True: 0, False: 1]
  ------------------
 2011|      1|    {
 2012|      1|        PyObject *type = state->expr_type;
 2013|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2014|      1|        cond = type != NULL;
 2015|      1|        if (!cond) {
  ------------------
  |  Branch (2015:13): [True: 0, False: 1]
  ------------------
 2016|      0|            Py_DECREF(Raise_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2017|      0|            return 0;
 2018|      0|        }
 2019|      1|        cond = PyDict_SetItemString(Raise_annotations, "exc", type) == 0;
 2020|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2021|      1|        if (!cond) {
  ------------------
  |  Branch (2021:13): [True: 0, False: 1]
  ------------------
 2022|      0|            Py_DECREF(Raise_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2023|      0|            return 0;
 2024|      0|        }
 2025|      1|    }
 2026|      1|    {
 2027|      1|        PyObject *type = state->expr_type;
 2028|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2029|      1|        cond = type != NULL;
 2030|      1|        if (!cond) {
  ------------------
  |  Branch (2030:13): [True: 0, False: 1]
  ------------------
 2031|      0|            Py_DECREF(Raise_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2032|      0|            return 0;
 2033|      0|        }
 2034|      1|        cond = PyDict_SetItemString(Raise_annotations, "cause", type) == 0;
 2035|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2036|      1|        if (!cond) {
  ------------------
  |  Branch (2036:13): [True: 0, False: 1]
  ------------------
 2037|      0|            Py_DECREF(Raise_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2038|      0|            return 0;
 2039|      0|        }
 2040|      1|    }
 2041|      1|    cond = PyObject_SetAttrString(state->Raise_type, "_field_types",
 2042|      1|                                  Raise_annotations) == 0;
 2043|      1|    if (!cond) {
  ------------------
  |  Branch (2043:9): [True: 0, False: 1]
  ------------------
 2044|      0|        Py_DECREF(Raise_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2045|      0|        return 0;
 2046|      0|    }
 2047|      1|    cond = PyObject_SetAttrString(state->Raise_type, "__annotations__",
 2048|      1|                                  Raise_annotations) == 0;
 2049|      1|    if (!cond) {
  ------------------
  |  Branch (2049:9): [True: 0, False: 1]
  ------------------
 2050|      0|        Py_DECREF(Raise_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2051|      0|        return 0;
 2052|      0|    }
 2053|      1|    Py_DECREF(Raise_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2054|      1|    PyObject *Try_annotations = PyDict_New();
 2055|      1|    if (!Try_annotations) return 0;
  ------------------
  |  Branch (2055:9): [True: 0, False: 1]
  ------------------
 2056|      1|    {
 2057|      1|        PyObject *type = state->stmt_type;
 2058|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2059|      1|        cond = type != NULL;
 2060|      1|        if (!cond) {
  ------------------
  |  Branch (2060:13): [True: 0, False: 1]
  ------------------
 2061|      0|            Py_DECREF(Try_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2062|      0|            return 0;
 2063|      0|        }
 2064|      1|        cond = PyDict_SetItemString(Try_annotations, "body", type) == 0;
 2065|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2066|      1|        if (!cond) {
  ------------------
  |  Branch (2066:13): [True: 0, False: 1]
  ------------------
 2067|      0|            Py_DECREF(Try_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2068|      0|            return 0;
 2069|      0|        }
 2070|      1|    }
 2071|      1|    {
 2072|      1|        PyObject *type = state->excepthandler_type;
 2073|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2074|      1|        cond = type != NULL;
 2075|      1|        if (!cond) {
  ------------------
  |  Branch (2075:13): [True: 0, False: 1]
  ------------------
 2076|      0|            Py_DECREF(Try_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2077|      0|            return 0;
 2078|      0|        }
 2079|      1|        cond = PyDict_SetItemString(Try_annotations, "handlers", type) == 0;
 2080|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2081|      1|        if (!cond) {
  ------------------
  |  Branch (2081:13): [True: 0, False: 1]
  ------------------
 2082|      0|            Py_DECREF(Try_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2083|      0|            return 0;
 2084|      0|        }
 2085|      1|    }
 2086|      1|    {
 2087|      1|        PyObject *type = state->stmt_type;
 2088|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2089|      1|        cond = type != NULL;
 2090|      1|        if (!cond) {
  ------------------
  |  Branch (2090:13): [True: 0, False: 1]
  ------------------
 2091|      0|            Py_DECREF(Try_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2092|      0|            return 0;
 2093|      0|        }
 2094|      1|        cond = PyDict_SetItemString(Try_annotations, "orelse", type) == 0;
 2095|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2096|      1|        if (!cond) {
  ------------------
  |  Branch (2096:13): [True: 0, False: 1]
  ------------------
 2097|      0|            Py_DECREF(Try_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2098|      0|            return 0;
 2099|      0|        }
 2100|      1|    }
 2101|      1|    {
 2102|      1|        PyObject *type = state->stmt_type;
 2103|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2104|      1|        cond = type != NULL;
 2105|      1|        if (!cond) {
  ------------------
  |  Branch (2105:13): [True: 0, False: 1]
  ------------------
 2106|      0|            Py_DECREF(Try_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2107|      0|            return 0;
 2108|      0|        }
 2109|      1|        cond = PyDict_SetItemString(Try_annotations, "finalbody", type) == 0;
 2110|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2111|      1|        if (!cond) {
  ------------------
  |  Branch (2111:13): [True: 0, False: 1]
  ------------------
 2112|      0|            Py_DECREF(Try_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2113|      0|            return 0;
 2114|      0|        }
 2115|      1|    }
 2116|      1|    cond = PyObject_SetAttrString(state->Try_type, "_field_types",
 2117|      1|                                  Try_annotations) == 0;
 2118|      1|    if (!cond) {
  ------------------
  |  Branch (2118:9): [True: 0, False: 1]
  ------------------
 2119|      0|        Py_DECREF(Try_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2120|      0|        return 0;
 2121|      0|    }
 2122|      1|    cond = PyObject_SetAttrString(state->Try_type, "__annotations__",
 2123|      1|                                  Try_annotations) == 0;
 2124|      1|    if (!cond) {
  ------------------
  |  Branch (2124:9): [True: 0, False: 1]
  ------------------
 2125|      0|        Py_DECREF(Try_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2126|      0|        return 0;
 2127|      0|    }
 2128|      1|    Py_DECREF(Try_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2129|      1|    PyObject *TryStar_annotations = PyDict_New();
 2130|      1|    if (!TryStar_annotations) return 0;
  ------------------
  |  Branch (2130:9): [True: 0, False: 1]
  ------------------
 2131|      1|    {
 2132|      1|        PyObject *type = state->stmt_type;
 2133|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2134|      1|        cond = type != NULL;
 2135|      1|        if (!cond) {
  ------------------
  |  Branch (2135:13): [True: 0, False: 1]
  ------------------
 2136|      0|            Py_DECREF(TryStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2137|      0|            return 0;
 2138|      0|        }
 2139|      1|        cond = PyDict_SetItemString(TryStar_annotations, "body", type) == 0;
 2140|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2141|      1|        if (!cond) {
  ------------------
  |  Branch (2141:13): [True: 0, False: 1]
  ------------------
 2142|      0|            Py_DECREF(TryStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2143|      0|            return 0;
 2144|      0|        }
 2145|      1|    }
 2146|      1|    {
 2147|      1|        PyObject *type = state->excepthandler_type;
 2148|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2149|      1|        cond = type != NULL;
 2150|      1|        if (!cond) {
  ------------------
  |  Branch (2150:13): [True: 0, False: 1]
  ------------------
 2151|      0|            Py_DECREF(TryStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2152|      0|            return 0;
 2153|      0|        }
 2154|      1|        cond = PyDict_SetItemString(TryStar_annotations, "handlers", type) == 0;
 2155|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2156|      1|        if (!cond) {
  ------------------
  |  Branch (2156:13): [True: 0, False: 1]
  ------------------
 2157|      0|            Py_DECREF(TryStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2158|      0|            return 0;
 2159|      0|        }
 2160|      1|    }
 2161|      1|    {
 2162|      1|        PyObject *type = state->stmt_type;
 2163|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2164|      1|        cond = type != NULL;
 2165|      1|        if (!cond) {
  ------------------
  |  Branch (2165:13): [True: 0, False: 1]
  ------------------
 2166|      0|            Py_DECREF(TryStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2167|      0|            return 0;
 2168|      0|        }
 2169|      1|        cond = PyDict_SetItemString(TryStar_annotations, "orelse", type) == 0;
 2170|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2171|      1|        if (!cond) {
  ------------------
  |  Branch (2171:13): [True: 0, False: 1]
  ------------------
 2172|      0|            Py_DECREF(TryStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2173|      0|            return 0;
 2174|      0|        }
 2175|      1|    }
 2176|      1|    {
 2177|      1|        PyObject *type = state->stmt_type;
 2178|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2179|      1|        cond = type != NULL;
 2180|      1|        if (!cond) {
  ------------------
  |  Branch (2180:13): [True: 0, False: 1]
  ------------------
 2181|      0|            Py_DECREF(TryStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2182|      0|            return 0;
 2183|      0|        }
 2184|      1|        cond = PyDict_SetItemString(TryStar_annotations, "finalbody", type) ==
 2185|      1|                                    0;
 2186|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2187|      1|        if (!cond) {
  ------------------
  |  Branch (2187:13): [True: 0, False: 1]
  ------------------
 2188|      0|            Py_DECREF(TryStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2189|      0|            return 0;
 2190|      0|        }
 2191|      1|    }
 2192|      1|    cond = PyObject_SetAttrString(state->TryStar_type, "_field_types",
 2193|      1|                                  TryStar_annotations) == 0;
 2194|      1|    if (!cond) {
  ------------------
  |  Branch (2194:9): [True: 0, False: 1]
  ------------------
 2195|      0|        Py_DECREF(TryStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2196|      0|        return 0;
 2197|      0|    }
 2198|      1|    cond = PyObject_SetAttrString(state->TryStar_type, "__annotations__",
 2199|      1|                                  TryStar_annotations) == 0;
 2200|      1|    if (!cond) {
  ------------------
  |  Branch (2200:9): [True: 0, False: 1]
  ------------------
 2201|      0|        Py_DECREF(TryStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2202|      0|        return 0;
 2203|      0|    }
 2204|      1|    Py_DECREF(TryStar_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2205|      1|    PyObject *Assert_annotations = PyDict_New();
 2206|      1|    if (!Assert_annotations) return 0;
  ------------------
  |  Branch (2206:9): [True: 0, False: 1]
  ------------------
 2207|      1|    {
 2208|      1|        PyObject *type = state->expr_type;
 2209|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2210|      1|        cond = PyDict_SetItemString(Assert_annotations, "test", type) == 0;
 2211|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2212|      1|        if (!cond) {
  ------------------
  |  Branch (2212:13): [True: 0, False: 1]
  ------------------
 2213|      0|            Py_DECREF(Assert_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2214|      0|            return 0;
 2215|      0|        }
 2216|      1|    }
 2217|      1|    {
 2218|      1|        PyObject *type = state->expr_type;
 2219|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2220|      1|        cond = type != NULL;
 2221|      1|        if (!cond) {
  ------------------
  |  Branch (2221:13): [True: 0, False: 1]
  ------------------
 2222|      0|            Py_DECREF(Assert_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2223|      0|            return 0;
 2224|      0|        }
 2225|      1|        cond = PyDict_SetItemString(Assert_annotations, "msg", type) == 0;
 2226|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2227|      1|        if (!cond) {
  ------------------
  |  Branch (2227:13): [True: 0, False: 1]
  ------------------
 2228|      0|            Py_DECREF(Assert_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2229|      0|            return 0;
 2230|      0|        }
 2231|      1|    }
 2232|      1|    cond = PyObject_SetAttrString(state->Assert_type, "_field_types",
 2233|      1|                                  Assert_annotations) == 0;
 2234|      1|    if (!cond) {
  ------------------
  |  Branch (2234:9): [True: 0, False: 1]
  ------------------
 2235|      0|        Py_DECREF(Assert_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2236|      0|        return 0;
 2237|      0|    }
 2238|      1|    cond = PyObject_SetAttrString(state->Assert_type, "__annotations__",
 2239|      1|                                  Assert_annotations) == 0;
 2240|      1|    if (!cond) {
  ------------------
  |  Branch (2240:9): [True: 0, False: 1]
  ------------------
 2241|      0|        Py_DECREF(Assert_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2242|      0|        return 0;
 2243|      0|    }
 2244|      1|    Py_DECREF(Assert_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2245|      1|    PyObject *Import_annotations = PyDict_New();
 2246|      1|    if (!Import_annotations) return 0;
  ------------------
  |  Branch (2246:9): [True: 0, False: 1]
  ------------------
 2247|      1|    {
 2248|      1|        PyObject *type = state->alias_type;
 2249|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2250|      1|        cond = type != NULL;
 2251|      1|        if (!cond) {
  ------------------
  |  Branch (2251:13): [True: 0, False: 1]
  ------------------
 2252|      0|            Py_DECREF(Import_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2253|      0|            return 0;
 2254|      0|        }
 2255|      1|        cond = PyDict_SetItemString(Import_annotations, "names", type) == 0;
 2256|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2257|      1|        if (!cond) {
  ------------------
  |  Branch (2257:13): [True: 0, False: 1]
  ------------------
 2258|      0|            Py_DECREF(Import_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2259|      0|            return 0;
 2260|      0|        }
 2261|      1|    }
 2262|      1|    {
 2263|      1|        PyObject *type = (PyObject *)&PyLong_Type;
 2264|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2265|      1|        cond = type != NULL;
 2266|      1|        if (!cond) {
  ------------------
  |  Branch (2266:13): [True: 0, False: 1]
  ------------------
 2267|      0|            Py_DECREF(Import_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2268|      0|            return 0;
 2269|      0|        }
 2270|      1|        cond = PyDict_SetItemString(Import_annotations, "is_lazy", type) == 0;
 2271|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2272|      1|        if (!cond) {
  ------------------
  |  Branch (2272:13): [True: 0, False: 1]
  ------------------
 2273|      0|            Py_DECREF(Import_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2274|      0|            return 0;
 2275|      0|        }
 2276|      1|    }
 2277|      1|    cond = PyObject_SetAttrString(state->Import_type, "_field_types",
 2278|      1|                                  Import_annotations) == 0;
 2279|      1|    if (!cond) {
  ------------------
  |  Branch (2279:9): [True: 0, False: 1]
  ------------------
 2280|      0|        Py_DECREF(Import_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2281|      0|        return 0;
 2282|      0|    }
 2283|      1|    cond = PyObject_SetAttrString(state->Import_type, "__annotations__",
 2284|      1|                                  Import_annotations) == 0;
 2285|      1|    if (!cond) {
  ------------------
  |  Branch (2285:9): [True: 0, False: 1]
  ------------------
 2286|      0|        Py_DECREF(Import_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2287|      0|        return 0;
 2288|      0|    }
 2289|      1|    Py_DECREF(Import_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2290|      1|    PyObject *ImportFrom_annotations = PyDict_New();
 2291|      1|    if (!ImportFrom_annotations) return 0;
  ------------------
  |  Branch (2291:9): [True: 0, False: 1]
  ------------------
 2292|      1|    {
 2293|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 2294|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2295|      1|        cond = type != NULL;
 2296|      1|        if (!cond) {
  ------------------
  |  Branch (2296:13): [True: 0, False: 1]
  ------------------
 2297|      0|            Py_DECREF(ImportFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2298|      0|            return 0;
 2299|      0|        }
 2300|      1|        cond = PyDict_SetItemString(ImportFrom_annotations, "module", type) ==
 2301|      1|                                    0;
 2302|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2303|      1|        if (!cond) {
  ------------------
  |  Branch (2303:13): [True: 0, False: 1]
  ------------------
 2304|      0|            Py_DECREF(ImportFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2305|      0|            return 0;
 2306|      0|        }
 2307|      1|    }
 2308|      1|    {
 2309|      1|        PyObject *type = state->alias_type;
 2310|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2311|      1|        cond = type != NULL;
 2312|      1|        if (!cond) {
  ------------------
  |  Branch (2312:13): [True: 0, False: 1]
  ------------------
 2313|      0|            Py_DECREF(ImportFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2314|      0|            return 0;
 2315|      0|        }
 2316|      1|        cond = PyDict_SetItemString(ImportFrom_annotations, "names", type) == 0;
 2317|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2318|      1|        if (!cond) {
  ------------------
  |  Branch (2318:13): [True: 0, False: 1]
  ------------------
 2319|      0|            Py_DECREF(ImportFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2320|      0|            return 0;
 2321|      0|        }
 2322|      1|    }
 2323|      1|    {
 2324|      1|        PyObject *type = (PyObject *)&PyLong_Type;
 2325|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2326|      1|        cond = type != NULL;
 2327|      1|        if (!cond) {
  ------------------
  |  Branch (2327:13): [True: 0, False: 1]
  ------------------
 2328|      0|            Py_DECREF(ImportFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2329|      0|            return 0;
 2330|      0|        }
 2331|      1|        cond = PyDict_SetItemString(ImportFrom_annotations, "level", type) == 0;
 2332|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2333|      1|        if (!cond) {
  ------------------
  |  Branch (2333:13): [True: 0, False: 1]
  ------------------
 2334|      0|            Py_DECREF(ImportFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2335|      0|            return 0;
 2336|      0|        }
 2337|      1|    }
 2338|      1|    {
 2339|      1|        PyObject *type = (PyObject *)&PyLong_Type;
 2340|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2341|      1|        cond = type != NULL;
 2342|      1|        if (!cond) {
  ------------------
  |  Branch (2342:13): [True: 0, False: 1]
  ------------------
 2343|      0|            Py_DECREF(ImportFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2344|      0|            return 0;
 2345|      0|        }
 2346|      1|        cond = PyDict_SetItemString(ImportFrom_annotations, "is_lazy", type) ==
 2347|      1|                                    0;
 2348|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2349|      1|        if (!cond) {
  ------------------
  |  Branch (2349:13): [True: 0, False: 1]
  ------------------
 2350|      0|            Py_DECREF(ImportFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2351|      0|            return 0;
 2352|      0|        }
 2353|      1|    }
 2354|      1|    cond = PyObject_SetAttrString(state->ImportFrom_type, "_field_types",
 2355|      1|                                  ImportFrom_annotations) == 0;
 2356|      1|    if (!cond) {
  ------------------
  |  Branch (2356:9): [True: 0, False: 1]
  ------------------
 2357|      0|        Py_DECREF(ImportFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2358|      0|        return 0;
 2359|      0|    }
 2360|      1|    cond = PyObject_SetAttrString(state->ImportFrom_type, "__annotations__",
 2361|      1|                                  ImportFrom_annotations) == 0;
 2362|      1|    if (!cond) {
  ------------------
  |  Branch (2362:9): [True: 0, False: 1]
  ------------------
 2363|      0|        Py_DECREF(ImportFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2364|      0|        return 0;
 2365|      0|    }
 2366|      1|    Py_DECREF(ImportFrom_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2367|      1|    PyObject *Global_annotations = PyDict_New();
 2368|      1|    if (!Global_annotations) return 0;
  ------------------
  |  Branch (2368:9): [True: 0, False: 1]
  ------------------
 2369|      1|    {
 2370|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 2371|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2372|      1|        cond = type != NULL;
 2373|      1|        if (!cond) {
  ------------------
  |  Branch (2373:13): [True: 0, False: 1]
  ------------------
 2374|      0|            Py_DECREF(Global_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2375|      0|            return 0;
 2376|      0|        }
 2377|      1|        cond = PyDict_SetItemString(Global_annotations, "names", type) == 0;
 2378|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2379|      1|        if (!cond) {
  ------------------
  |  Branch (2379:13): [True: 0, False: 1]
  ------------------
 2380|      0|            Py_DECREF(Global_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2381|      0|            return 0;
 2382|      0|        }
 2383|      1|    }
 2384|      1|    cond = PyObject_SetAttrString(state->Global_type, "_field_types",
 2385|      1|                                  Global_annotations) == 0;
 2386|      1|    if (!cond) {
  ------------------
  |  Branch (2386:9): [True: 0, False: 1]
  ------------------
 2387|      0|        Py_DECREF(Global_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2388|      0|        return 0;
 2389|      0|    }
 2390|      1|    cond = PyObject_SetAttrString(state->Global_type, "__annotations__",
 2391|      1|                                  Global_annotations) == 0;
 2392|      1|    if (!cond) {
  ------------------
  |  Branch (2392:9): [True: 0, False: 1]
  ------------------
 2393|      0|        Py_DECREF(Global_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2394|      0|        return 0;
 2395|      0|    }
 2396|      1|    Py_DECREF(Global_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2397|      1|    PyObject *Nonlocal_annotations = PyDict_New();
 2398|      1|    if (!Nonlocal_annotations) return 0;
  ------------------
  |  Branch (2398:9): [True: 0, False: 1]
  ------------------
 2399|      1|    {
 2400|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 2401|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2402|      1|        cond = type != NULL;
 2403|      1|        if (!cond) {
  ------------------
  |  Branch (2403:13): [True: 0, False: 1]
  ------------------
 2404|      0|            Py_DECREF(Nonlocal_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2405|      0|            return 0;
 2406|      0|        }
 2407|      1|        cond = PyDict_SetItemString(Nonlocal_annotations, "names", type) == 0;
 2408|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2409|      1|        if (!cond) {
  ------------------
  |  Branch (2409:13): [True: 0, False: 1]
  ------------------
 2410|      0|            Py_DECREF(Nonlocal_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2411|      0|            return 0;
 2412|      0|        }
 2413|      1|    }
 2414|      1|    cond = PyObject_SetAttrString(state->Nonlocal_type, "_field_types",
 2415|      1|                                  Nonlocal_annotations) == 0;
 2416|      1|    if (!cond) {
  ------------------
  |  Branch (2416:9): [True: 0, False: 1]
  ------------------
 2417|      0|        Py_DECREF(Nonlocal_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2418|      0|        return 0;
 2419|      0|    }
 2420|      1|    cond = PyObject_SetAttrString(state->Nonlocal_type, "__annotations__",
 2421|      1|                                  Nonlocal_annotations) == 0;
 2422|      1|    if (!cond) {
  ------------------
  |  Branch (2422:9): [True: 0, False: 1]
  ------------------
 2423|      0|        Py_DECREF(Nonlocal_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2424|      0|        return 0;
 2425|      0|    }
 2426|      1|    Py_DECREF(Nonlocal_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2427|      1|    PyObject *Expr_annotations = PyDict_New();
 2428|      1|    if (!Expr_annotations) return 0;
  ------------------
  |  Branch (2428:9): [True: 0, False: 1]
  ------------------
 2429|      1|    {
 2430|      1|        PyObject *type = state->expr_type;
 2431|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2432|      1|        cond = PyDict_SetItemString(Expr_annotations, "value", type) == 0;
 2433|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2434|      1|        if (!cond) {
  ------------------
  |  Branch (2434:13): [True: 0, False: 1]
  ------------------
 2435|      0|            Py_DECREF(Expr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2436|      0|            return 0;
 2437|      0|        }
 2438|      1|    }
 2439|      1|    cond = PyObject_SetAttrString(state->Expr_type, "_field_types",
 2440|      1|                                  Expr_annotations) == 0;
 2441|      1|    if (!cond) {
  ------------------
  |  Branch (2441:9): [True: 0, False: 1]
  ------------------
 2442|      0|        Py_DECREF(Expr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2443|      0|        return 0;
 2444|      0|    }
 2445|      1|    cond = PyObject_SetAttrString(state->Expr_type, "__annotations__",
 2446|      1|                                  Expr_annotations) == 0;
 2447|      1|    if (!cond) {
  ------------------
  |  Branch (2447:9): [True: 0, False: 1]
  ------------------
 2448|      0|        Py_DECREF(Expr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2449|      0|        return 0;
 2450|      0|    }
 2451|      1|    Py_DECREF(Expr_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2452|      1|    PyObject *Pass_annotations = PyDict_New();
 2453|      1|    if (!Pass_annotations) return 0;
  ------------------
  |  Branch (2453:9): [True: 0, False: 1]
  ------------------
 2454|      1|    cond = PyObject_SetAttrString(state->Pass_type, "_field_types",
 2455|      1|                                  Pass_annotations) == 0;
 2456|      1|    if (!cond) {
  ------------------
  |  Branch (2456:9): [True: 0, False: 1]
  ------------------
 2457|      0|        Py_DECREF(Pass_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2458|      0|        return 0;
 2459|      0|    }
 2460|      1|    cond = PyObject_SetAttrString(state->Pass_type, "__annotations__",
 2461|      1|                                  Pass_annotations) == 0;
 2462|      1|    if (!cond) {
  ------------------
  |  Branch (2462:9): [True: 0, False: 1]
  ------------------
 2463|      0|        Py_DECREF(Pass_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2464|      0|        return 0;
 2465|      0|    }
 2466|      1|    Py_DECREF(Pass_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2467|      1|    PyObject *Break_annotations = PyDict_New();
 2468|      1|    if (!Break_annotations) return 0;
  ------------------
  |  Branch (2468:9): [True: 0, False: 1]
  ------------------
 2469|      1|    cond = PyObject_SetAttrString(state->Break_type, "_field_types",
 2470|      1|                                  Break_annotations) == 0;
 2471|      1|    if (!cond) {
  ------------------
  |  Branch (2471:9): [True: 0, False: 1]
  ------------------
 2472|      0|        Py_DECREF(Break_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2473|      0|        return 0;
 2474|      0|    }
 2475|      1|    cond = PyObject_SetAttrString(state->Break_type, "__annotations__",
 2476|      1|                                  Break_annotations) == 0;
 2477|      1|    if (!cond) {
  ------------------
  |  Branch (2477:9): [True: 0, False: 1]
  ------------------
 2478|      0|        Py_DECREF(Break_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2479|      0|        return 0;
 2480|      0|    }
 2481|      1|    Py_DECREF(Break_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2482|      1|    PyObject *Continue_annotations = PyDict_New();
 2483|      1|    if (!Continue_annotations) return 0;
  ------------------
  |  Branch (2483:9): [True: 0, False: 1]
  ------------------
 2484|      1|    cond = PyObject_SetAttrString(state->Continue_type, "_field_types",
 2485|      1|                                  Continue_annotations) == 0;
 2486|      1|    if (!cond) {
  ------------------
  |  Branch (2486:9): [True: 0, False: 1]
  ------------------
 2487|      0|        Py_DECREF(Continue_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2488|      0|        return 0;
 2489|      0|    }
 2490|      1|    cond = PyObject_SetAttrString(state->Continue_type, "__annotations__",
 2491|      1|                                  Continue_annotations) == 0;
 2492|      1|    if (!cond) {
  ------------------
  |  Branch (2492:9): [True: 0, False: 1]
  ------------------
 2493|      0|        Py_DECREF(Continue_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2494|      0|        return 0;
 2495|      0|    }
 2496|      1|    Py_DECREF(Continue_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2497|      1|    PyObject *BoolOp_annotations = PyDict_New();
 2498|      1|    if (!BoolOp_annotations) return 0;
  ------------------
  |  Branch (2498:9): [True: 0, False: 1]
  ------------------
 2499|      1|    {
 2500|      1|        PyObject *type = state->boolop_type;
 2501|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2502|      1|        cond = PyDict_SetItemString(BoolOp_annotations, "op", type) == 0;
 2503|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2504|      1|        if (!cond) {
  ------------------
  |  Branch (2504:13): [True: 0, False: 1]
  ------------------
 2505|      0|            Py_DECREF(BoolOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2506|      0|            return 0;
 2507|      0|        }
 2508|      1|    }
 2509|      1|    {
 2510|      1|        PyObject *type = state->expr_type;
 2511|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2512|      1|        cond = type != NULL;
 2513|      1|        if (!cond) {
  ------------------
  |  Branch (2513:13): [True: 0, False: 1]
  ------------------
 2514|      0|            Py_DECREF(BoolOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2515|      0|            return 0;
 2516|      0|        }
 2517|      1|        cond = PyDict_SetItemString(BoolOp_annotations, "values", type) == 0;
 2518|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2519|      1|        if (!cond) {
  ------------------
  |  Branch (2519:13): [True: 0, False: 1]
  ------------------
 2520|      0|            Py_DECREF(BoolOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2521|      0|            return 0;
 2522|      0|        }
 2523|      1|    }
 2524|      1|    cond = PyObject_SetAttrString(state->BoolOp_type, "_field_types",
 2525|      1|                                  BoolOp_annotations) == 0;
 2526|      1|    if (!cond) {
  ------------------
  |  Branch (2526:9): [True: 0, False: 1]
  ------------------
 2527|      0|        Py_DECREF(BoolOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2528|      0|        return 0;
 2529|      0|    }
 2530|      1|    cond = PyObject_SetAttrString(state->BoolOp_type, "__annotations__",
 2531|      1|                                  BoolOp_annotations) == 0;
 2532|      1|    if (!cond) {
  ------------------
  |  Branch (2532:9): [True: 0, False: 1]
  ------------------
 2533|      0|        Py_DECREF(BoolOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2534|      0|        return 0;
 2535|      0|    }
 2536|      1|    Py_DECREF(BoolOp_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2537|      1|    PyObject *NamedExpr_annotations = PyDict_New();
 2538|      1|    if (!NamedExpr_annotations) return 0;
  ------------------
  |  Branch (2538:9): [True: 0, False: 1]
  ------------------
 2539|      1|    {
 2540|      1|        PyObject *type = state->expr_type;
 2541|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2542|      1|        cond = PyDict_SetItemString(NamedExpr_annotations, "target", type) == 0;
 2543|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2544|      1|        if (!cond) {
  ------------------
  |  Branch (2544:13): [True: 0, False: 1]
  ------------------
 2545|      0|            Py_DECREF(NamedExpr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2546|      0|            return 0;
 2547|      0|        }
 2548|      1|    }
 2549|      1|    {
 2550|      1|        PyObject *type = state->expr_type;
 2551|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2552|      1|        cond = PyDict_SetItemString(NamedExpr_annotations, "value", type) == 0;
 2553|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2554|      1|        if (!cond) {
  ------------------
  |  Branch (2554:13): [True: 0, False: 1]
  ------------------
 2555|      0|            Py_DECREF(NamedExpr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2556|      0|            return 0;
 2557|      0|        }
 2558|      1|    }
 2559|      1|    cond = PyObject_SetAttrString(state->NamedExpr_type, "_field_types",
 2560|      1|                                  NamedExpr_annotations) == 0;
 2561|      1|    if (!cond) {
  ------------------
  |  Branch (2561:9): [True: 0, False: 1]
  ------------------
 2562|      0|        Py_DECREF(NamedExpr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2563|      0|        return 0;
 2564|      0|    }
 2565|      1|    cond = PyObject_SetAttrString(state->NamedExpr_type, "__annotations__",
 2566|      1|                                  NamedExpr_annotations) == 0;
 2567|      1|    if (!cond) {
  ------------------
  |  Branch (2567:9): [True: 0, False: 1]
  ------------------
 2568|      0|        Py_DECREF(NamedExpr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2569|      0|        return 0;
 2570|      0|    }
 2571|      1|    Py_DECREF(NamedExpr_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2572|      1|    PyObject *BinOp_annotations = PyDict_New();
 2573|      1|    if (!BinOp_annotations) return 0;
  ------------------
  |  Branch (2573:9): [True: 0, False: 1]
  ------------------
 2574|      1|    {
 2575|      1|        PyObject *type = state->expr_type;
 2576|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2577|      1|        cond = PyDict_SetItemString(BinOp_annotations, "left", type) == 0;
 2578|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2579|      1|        if (!cond) {
  ------------------
  |  Branch (2579:13): [True: 0, False: 1]
  ------------------
 2580|      0|            Py_DECREF(BinOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2581|      0|            return 0;
 2582|      0|        }
 2583|      1|    }
 2584|      1|    {
 2585|      1|        PyObject *type = state->operator_type;
 2586|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2587|      1|        cond = PyDict_SetItemString(BinOp_annotations, "op", type) == 0;
 2588|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2589|      1|        if (!cond) {
  ------------------
  |  Branch (2589:13): [True: 0, False: 1]
  ------------------
 2590|      0|            Py_DECREF(BinOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2591|      0|            return 0;
 2592|      0|        }
 2593|      1|    }
 2594|      1|    {
 2595|      1|        PyObject *type = state->expr_type;
 2596|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2597|      1|        cond = PyDict_SetItemString(BinOp_annotations, "right", type) == 0;
 2598|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2599|      1|        if (!cond) {
  ------------------
  |  Branch (2599:13): [True: 0, False: 1]
  ------------------
 2600|      0|            Py_DECREF(BinOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2601|      0|            return 0;
 2602|      0|        }
 2603|      1|    }
 2604|      1|    cond = PyObject_SetAttrString(state->BinOp_type, "_field_types",
 2605|      1|                                  BinOp_annotations) == 0;
 2606|      1|    if (!cond) {
  ------------------
  |  Branch (2606:9): [True: 0, False: 1]
  ------------------
 2607|      0|        Py_DECREF(BinOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2608|      0|        return 0;
 2609|      0|    }
 2610|      1|    cond = PyObject_SetAttrString(state->BinOp_type, "__annotations__",
 2611|      1|                                  BinOp_annotations) == 0;
 2612|      1|    if (!cond) {
  ------------------
  |  Branch (2612:9): [True: 0, False: 1]
  ------------------
 2613|      0|        Py_DECREF(BinOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2614|      0|        return 0;
 2615|      0|    }
 2616|      1|    Py_DECREF(BinOp_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2617|      1|    PyObject *UnaryOp_annotations = PyDict_New();
 2618|      1|    if (!UnaryOp_annotations) return 0;
  ------------------
  |  Branch (2618:9): [True: 0, False: 1]
  ------------------
 2619|      1|    {
 2620|      1|        PyObject *type = state->unaryop_type;
 2621|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2622|      1|        cond = PyDict_SetItemString(UnaryOp_annotations, "op", type) == 0;
 2623|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2624|      1|        if (!cond) {
  ------------------
  |  Branch (2624:13): [True: 0, False: 1]
  ------------------
 2625|      0|            Py_DECREF(UnaryOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2626|      0|            return 0;
 2627|      0|        }
 2628|      1|    }
 2629|      1|    {
 2630|      1|        PyObject *type = state->expr_type;
 2631|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2632|      1|        cond = PyDict_SetItemString(UnaryOp_annotations, "operand", type) == 0;
 2633|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2634|      1|        if (!cond) {
  ------------------
  |  Branch (2634:13): [True: 0, False: 1]
  ------------------
 2635|      0|            Py_DECREF(UnaryOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2636|      0|            return 0;
 2637|      0|        }
 2638|      1|    }
 2639|      1|    cond = PyObject_SetAttrString(state->UnaryOp_type, "_field_types",
 2640|      1|                                  UnaryOp_annotations) == 0;
 2641|      1|    if (!cond) {
  ------------------
  |  Branch (2641:9): [True: 0, False: 1]
  ------------------
 2642|      0|        Py_DECREF(UnaryOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2643|      0|        return 0;
 2644|      0|    }
 2645|      1|    cond = PyObject_SetAttrString(state->UnaryOp_type, "__annotations__",
 2646|      1|                                  UnaryOp_annotations) == 0;
 2647|      1|    if (!cond) {
  ------------------
  |  Branch (2647:9): [True: 0, False: 1]
  ------------------
 2648|      0|        Py_DECREF(UnaryOp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2649|      0|        return 0;
 2650|      0|    }
 2651|      1|    Py_DECREF(UnaryOp_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2652|      1|    PyObject *Lambda_annotations = PyDict_New();
 2653|      1|    if (!Lambda_annotations) return 0;
  ------------------
  |  Branch (2653:9): [True: 0, False: 1]
  ------------------
 2654|      1|    {
 2655|      1|        PyObject *type = state->arguments_type;
 2656|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2657|      1|        cond = PyDict_SetItemString(Lambda_annotations, "args", type) == 0;
 2658|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2659|      1|        if (!cond) {
  ------------------
  |  Branch (2659:13): [True: 0, False: 1]
  ------------------
 2660|      0|            Py_DECREF(Lambda_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2661|      0|            return 0;
 2662|      0|        }
 2663|      1|    }
 2664|      1|    {
 2665|      1|        PyObject *type = state->expr_type;
 2666|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2667|      1|        cond = PyDict_SetItemString(Lambda_annotations, "body", type) == 0;
 2668|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2669|      1|        if (!cond) {
  ------------------
  |  Branch (2669:13): [True: 0, False: 1]
  ------------------
 2670|      0|            Py_DECREF(Lambda_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2671|      0|            return 0;
 2672|      0|        }
 2673|      1|    }
 2674|      1|    cond = PyObject_SetAttrString(state->Lambda_type, "_field_types",
 2675|      1|                                  Lambda_annotations) == 0;
 2676|      1|    if (!cond) {
  ------------------
  |  Branch (2676:9): [True: 0, False: 1]
  ------------------
 2677|      0|        Py_DECREF(Lambda_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2678|      0|        return 0;
 2679|      0|    }
 2680|      1|    cond = PyObject_SetAttrString(state->Lambda_type, "__annotations__",
 2681|      1|                                  Lambda_annotations) == 0;
 2682|      1|    if (!cond) {
  ------------------
  |  Branch (2682:9): [True: 0, False: 1]
  ------------------
 2683|      0|        Py_DECREF(Lambda_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2684|      0|        return 0;
 2685|      0|    }
 2686|      1|    Py_DECREF(Lambda_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2687|      1|    PyObject *IfExp_annotations = PyDict_New();
 2688|      1|    if (!IfExp_annotations) return 0;
  ------------------
  |  Branch (2688:9): [True: 0, False: 1]
  ------------------
 2689|      1|    {
 2690|      1|        PyObject *type = state->expr_type;
 2691|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2692|      1|        cond = PyDict_SetItemString(IfExp_annotations, "test", type) == 0;
 2693|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2694|      1|        if (!cond) {
  ------------------
  |  Branch (2694:13): [True: 0, False: 1]
  ------------------
 2695|      0|            Py_DECREF(IfExp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2696|      0|            return 0;
 2697|      0|        }
 2698|      1|    }
 2699|      1|    {
 2700|      1|        PyObject *type = state->expr_type;
 2701|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2702|      1|        cond = PyDict_SetItemString(IfExp_annotations, "body", type) == 0;
 2703|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2704|      1|        if (!cond) {
  ------------------
  |  Branch (2704:13): [True: 0, False: 1]
  ------------------
 2705|      0|            Py_DECREF(IfExp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2706|      0|            return 0;
 2707|      0|        }
 2708|      1|    }
 2709|      1|    {
 2710|      1|        PyObject *type = state->expr_type;
 2711|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2712|      1|        cond = PyDict_SetItemString(IfExp_annotations, "orelse", type) == 0;
 2713|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2714|      1|        if (!cond) {
  ------------------
  |  Branch (2714:13): [True: 0, False: 1]
  ------------------
 2715|      0|            Py_DECREF(IfExp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2716|      0|            return 0;
 2717|      0|        }
 2718|      1|    }
 2719|      1|    cond = PyObject_SetAttrString(state->IfExp_type, "_field_types",
 2720|      1|                                  IfExp_annotations) == 0;
 2721|      1|    if (!cond) {
  ------------------
  |  Branch (2721:9): [True: 0, False: 1]
  ------------------
 2722|      0|        Py_DECREF(IfExp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2723|      0|        return 0;
 2724|      0|    }
 2725|      1|    cond = PyObject_SetAttrString(state->IfExp_type, "__annotations__",
 2726|      1|                                  IfExp_annotations) == 0;
 2727|      1|    if (!cond) {
  ------------------
  |  Branch (2727:9): [True: 0, False: 1]
  ------------------
 2728|      0|        Py_DECREF(IfExp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2729|      0|        return 0;
 2730|      0|    }
 2731|      1|    Py_DECREF(IfExp_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2732|      1|    PyObject *Dict_annotations = PyDict_New();
 2733|      1|    if (!Dict_annotations) return 0;
  ------------------
  |  Branch (2733:9): [True: 0, False: 1]
  ------------------
 2734|      1|    {
 2735|      1|        PyObject *type = state->expr_type;
 2736|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2737|      1|        cond = type != NULL;
 2738|      1|        if (!cond) {
  ------------------
  |  Branch (2738:13): [True: 0, False: 1]
  ------------------
 2739|      0|            Py_DECREF(Dict_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2740|      0|            return 0;
 2741|      0|        }
 2742|      1|        cond = PyDict_SetItemString(Dict_annotations, "keys", type) == 0;
 2743|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2744|      1|        if (!cond) {
  ------------------
  |  Branch (2744:13): [True: 0, False: 1]
  ------------------
 2745|      0|            Py_DECREF(Dict_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2746|      0|            return 0;
 2747|      0|        }
 2748|      1|    }
 2749|      1|    {
 2750|      1|        PyObject *type = state->expr_type;
 2751|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2752|      1|        cond = type != NULL;
 2753|      1|        if (!cond) {
  ------------------
  |  Branch (2753:13): [True: 0, False: 1]
  ------------------
 2754|      0|            Py_DECREF(Dict_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2755|      0|            return 0;
 2756|      0|        }
 2757|      1|        cond = PyDict_SetItemString(Dict_annotations, "values", type) == 0;
 2758|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2759|      1|        if (!cond) {
  ------------------
  |  Branch (2759:13): [True: 0, False: 1]
  ------------------
 2760|      0|            Py_DECREF(Dict_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2761|      0|            return 0;
 2762|      0|        }
 2763|      1|    }
 2764|      1|    cond = PyObject_SetAttrString(state->Dict_type, "_field_types",
 2765|      1|                                  Dict_annotations) == 0;
 2766|      1|    if (!cond) {
  ------------------
  |  Branch (2766:9): [True: 0, False: 1]
  ------------------
 2767|      0|        Py_DECREF(Dict_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2768|      0|        return 0;
 2769|      0|    }
 2770|      1|    cond = PyObject_SetAttrString(state->Dict_type, "__annotations__",
 2771|      1|                                  Dict_annotations) == 0;
 2772|      1|    if (!cond) {
  ------------------
  |  Branch (2772:9): [True: 0, False: 1]
  ------------------
 2773|      0|        Py_DECREF(Dict_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2774|      0|        return 0;
 2775|      0|    }
 2776|      1|    Py_DECREF(Dict_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2777|      1|    PyObject *Set_annotations = PyDict_New();
 2778|      1|    if (!Set_annotations) return 0;
  ------------------
  |  Branch (2778:9): [True: 0, False: 1]
  ------------------
 2779|      1|    {
 2780|      1|        PyObject *type = state->expr_type;
 2781|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2782|      1|        cond = type != NULL;
 2783|      1|        if (!cond) {
  ------------------
  |  Branch (2783:13): [True: 0, False: 1]
  ------------------
 2784|      0|            Py_DECREF(Set_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2785|      0|            return 0;
 2786|      0|        }
 2787|      1|        cond = PyDict_SetItemString(Set_annotations, "elts", type) == 0;
 2788|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2789|      1|        if (!cond) {
  ------------------
  |  Branch (2789:13): [True: 0, False: 1]
  ------------------
 2790|      0|            Py_DECREF(Set_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2791|      0|            return 0;
 2792|      0|        }
 2793|      1|    }
 2794|      1|    cond = PyObject_SetAttrString(state->Set_type, "_field_types",
 2795|      1|                                  Set_annotations) == 0;
 2796|      1|    if (!cond) {
  ------------------
  |  Branch (2796:9): [True: 0, False: 1]
  ------------------
 2797|      0|        Py_DECREF(Set_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2798|      0|        return 0;
 2799|      0|    }
 2800|      1|    cond = PyObject_SetAttrString(state->Set_type, "__annotations__",
 2801|      1|                                  Set_annotations) == 0;
 2802|      1|    if (!cond) {
  ------------------
  |  Branch (2802:9): [True: 0, False: 1]
  ------------------
 2803|      0|        Py_DECREF(Set_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2804|      0|        return 0;
 2805|      0|    }
 2806|      1|    Py_DECREF(Set_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2807|      1|    PyObject *ListComp_annotations = PyDict_New();
 2808|      1|    if (!ListComp_annotations) return 0;
  ------------------
  |  Branch (2808:9): [True: 0, False: 1]
  ------------------
 2809|      1|    {
 2810|      1|        PyObject *type = state->expr_type;
 2811|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2812|      1|        cond = PyDict_SetItemString(ListComp_annotations, "elt", type) == 0;
 2813|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2814|      1|        if (!cond) {
  ------------------
  |  Branch (2814:13): [True: 0, False: 1]
  ------------------
 2815|      0|            Py_DECREF(ListComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2816|      0|            return 0;
 2817|      0|        }
 2818|      1|    }
 2819|      1|    {
 2820|      1|        PyObject *type = state->comprehension_type;
 2821|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2822|      1|        cond = type != NULL;
 2823|      1|        if (!cond) {
  ------------------
  |  Branch (2823:13): [True: 0, False: 1]
  ------------------
 2824|      0|            Py_DECREF(ListComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2825|      0|            return 0;
 2826|      0|        }
 2827|      1|        cond = PyDict_SetItemString(ListComp_annotations, "generators", type)
 2828|      1|                                    == 0;
 2829|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2830|      1|        if (!cond) {
  ------------------
  |  Branch (2830:13): [True: 0, False: 1]
  ------------------
 2831|      0|            Py_DECREF(ListComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2832|      0|            return 0;
 2833|      0|        }
 2834|      1|    }
 2835|      1|    cond = PyObject_SetAttrString(state->ListComp_type, "_field_types",
 2836|      1|                                  ListComp_annotations) == 0;
 2837|      1|    if (!cond) {
  ------------------
  |  Branch (2837:9): [True: 0, False: 1]
  ------------------
 2838|      0|        Py_DECREF(ListComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2839|      0|        return 0;
 2840|      0|    }
 2841|      1|    cond = PyObject_SetAttrString(state->ListComp_type, "__annotations__",
 2842|      1|                                  ListComp_annotations) == 0;
 2843|      1|    if (!cond) {
  ------------------
  |  Branch (2843:9): [True: 0, False: 1]
  ------------------
 2844|      0|        Py_DECREF(ListComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2845|      0|        return 0;
 2846|      0|    }
 2847|      1|    Py_DECREF(ListComp_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2848|      1|    PyObject *SetComp_annotations = PyDict_New();
 2849|      1|    if (!SetComp_annotations) return 0;
  ------------------
  |  Branch (2849:9): [True: 0, False: 1]
  ------------------
 2850|      1|    {
 2851|      1|        PyObject *type = state->expr_type;
 2852|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2853|      1|        cond = PyDict_SetItemString(SetComp_annotations, "elt", type) == 0;
 2854|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2855|      1|        if (!cond) {
  ------------------
  |  Branch (2855:13): [True: 0, False: 1]
  ------------------
 2856|      0|            Py_DECREF(SetComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2857|      0|            return 0;
 2858|      0|        }
 2859|      1|    }
 2860|      1|    {
 2861|      1|        PyObject *type = state->comprehension_type;
 2862|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2863|      1|        cond = type != NULL;
 2864|      1|        if (!cond) {
  ------------------
  |  Branch (2864:13): [True: 0, False: 1]
  ------------------
 2865|      0|            Py_DECREF(SetComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2866|      0|            return 0;
 2867|      0|        }
 2868|      1|        cond = PyDict_SetItemString(SetComp_annotations, "generators", type) ==
 2869|      1|                                    0;
 2870|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2871|      1|        if (!cond) {
  ------------------
  |  Branch (2871:13): [True: 0, False: 1]
  ------------------
 2872|      0|            Py_DECREF(SetComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2873|      0|            return 0;
 2874|      0|        }
 2875|      1|    }
 2876|      1|    cond = PyObject_SetAttrString(state->SetComp_type, "_field_types",
 2877|      1|                                  SetComp_annotations) == 0;
 2878|      1|    if (!cond) {
  ------------------
  |  Branch (2878:9): [True: 0, False: 1]
  ------------------
 2879|      0|        Py_DECREF(SetComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2880|      0|        return 0;
 2881|      0|    }
 2882|      1|    cond = PyObject_SetAttrString(state->SetComp_type, "__annotations__",
 2883|      1|                                  SetComp_annotations) == 0;
 2884|      1|    if (!cond) {
  ------------------
  |  Branch (2884:9): [True: 0, False: 1]
  ------------------
 2885|      0|        Py_DECREF(SetComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2886|      0|        return 0;
 2887|      0|    }
 2888|      1|    Py_DECREF(SetComp_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2889|      1|    PyObject *DictComp_annotations = PyDict_New();
 2890|      1|    if (!DictComp_annotations) return 0;
  ------------------
  |  Branch (2890:9): [True: 0, False: 1]
  ------------------
 2891|      1|    {
 2892|      1|        PyObject *type = state->expr_type;
 2893|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2894|      1|        cond = PyDict_SetItemString(DictComp_annotations, "key", type) == 0;
 2895|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2896|      1|        if (!cond) {
  ------------------
  |  Branch (2896:13): [True: 0, False: 1]
  ------------------
 2897|      0|            Py_DECREF(DictComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2898|      0|            return 0;
 2899|      0|        }
 2900|      1|    }
 2901|      1|    {
 2902|      1|        PyObject *type = state->expr_type;
 2903|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2904|      1|        cond = type != NULL;
 2905|      1|        if (!cond) {
  ------------------
  |  Branch (2905:13): [True: 0, False: 1]
  ------------------
 2906|      0|            Py_DECREF(DictComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2907|      0|            return 0;
 2908|      0|        }
 2909|      1|        cond = PyDict_SetItemString(DictComp_annotations, "value", type) == 0;
 2910|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2911|      1|        if (!cond) {
  ------------------
  |  Branch (2911:13): [True: 0, False: 1]
  ------------------
 2912|      0|            Py_DECREF(DictComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2913|      0|            return 0;
 2914|      0|        }
 2915|      1|    }
 2916|      1|    {
 2917|      1|        PyObject *type = state->comprehension_type;
 2918|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2919|      1|        cond = type != NULL;
 2920|      1|        if (!cond) {
  ------------------
  |  Branch (2920:13): [True: 0, False: 1]
  ------------------
 2921|      0|            Py_DECREF(DictComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2922|      0|            return 0;
 2923|      0|        }
 2924|      1|        cond = PyDict_SetItemString(DictComp_annotations, "generators", type)
 2925|      1|                                    == 0;
 2926|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2927|      1|        if (!cond) {
  ------------------
  |  Branch (2927:13): [True: 0, False: 1]
  ------------------
 2928|      0|            Py_DECREF(DictComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2929|      0|            return 0;
 2930|      0|        }
 2931|      1|    }
 2932|      1|    cond = PyObject_SetAttrString(state->DictComp_type, "_field_types",
 2933|      1|                                  DictComp_annotations) == 0;
 2934|      1|    if (!cond) {
  ------------------
  |  Branch (2934:9): [True: 0, False: 1]
  ------------------
 2935|      0|        Py_DECREF(DictComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2936|      0|        return 0;
 2937|      0|    }
 2938|      1|    cond = PyObject_SetAttrString(state->DictComp_type, "__annotations__",
 2939|      1|                                  DictComp_annotations) == 0;
 2940|      1|    if (!cond) {
  ------------------
  |  Branch (2940:9): [True: 0, False: 1]
  ------------------
 2941|      0|        Py_DECREF(DictComp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2942|      0|        return 0;
 2943|      0|    }
 2944|      1|    Py_DECREF(DictComp_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2945|      1|    PyObject *GeneratorExp_annotations = PyDict_New();
 2946|      1|    if (!GeneratorExp_annotations) return 0;
  ------------------
  |  Branch (2946:9): [True: 0, False: 1]
  ------------------
 2947|      1|    {
 2948|      1|        PyObject *type = state->expr_type;
 2949|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2950|      1|        cond = PyDict_SetItemString(GeneratorExp_annotations, "elt", type) == 0;
 2951|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2952|      1|        if (!cond) {
  ------------------
  |  Branch (2952:13): [True: 0, False: 1]
  ------------------
 2953|      0|            Py_DECREF(GeneratorExp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2954|      0|            return 0;
 2955|      0|        }
 2956|      1|    }
 2957|      1|    {
 2958|      1|        PyObject *type = state->comprehension_type;
 2959|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 2960|      1|        cond = type != NULL;
 2961|      1|        if (!cond) {
  ------------------
  |  Branch (2961:13): [True: 0, False: 1]
  ------------------
 2962|      0|            Py_DECREF(GeneratorExp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2963|      0|            return 0;
 2964|      0|        }
 2965|      1|        cond = PyDict_SetItemString(GeneratorExp_annotations, "generators",
 2966|      1|                                    type) == 0;
 2967|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2968|      1|        if (!cond) {
  ------------------
  |  Branch (2968:13): [True: 0, False: 1]
  ------------------
 2969|      0|            Py_DECREF(GeneratorExp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2970|      0|            return 0;
 2971|      0|        }
 2972|      1|    }
 2973|      1|    cond = PyObject_SetAttrString(state->GeneratorExp_type, "_field_types",
 2974|      1|                                  GeneratorExp_annotations) == 0;
 2975|      1|    if (!cond) {
  ------------------
  |  Branch (2975:9): [True: 0, False: 1]
  ------------------
 2976|      0|        Py_DECREF(GeneratorExp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2977|      0|        return 0;
 2978|      0|    }
 2979|      1|    cond = PyObject_SetAttrString(state->GeneratorExp_type, "__annotations__",
 2980|      1|                                  GeneratorExp_annotations) == 0;
 2981|      1|    if (!cond) {
  ------------------
  |  Branch (2981:9): [True: 0, False: 1]
  ------------------
 2982|      0|        Py_DECREF(GeneratorExp_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2983|      0|        return 0;
 2984|      0|    }
 2985|      1|    Py_DECREF(GeneratorExp_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2986|      1|    PyObject *Await_annotations = PyDict_New();
 2987|      1|    if (!Await_annotations) return 0;
  ------------------
  |  Branch (2987:9): [True: 0, False: 1]
  ------------------
 2988|      1|    {
 2989|      1|        PyObject *type = state->expr_type;
 2990|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2991|      1|        cond = PyDict_SetItemString(Await_annotations, "value", type) == 0;
 2992|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2993|      1|        if (!cond) {
  ------------------
  |  Branch (2993:13): [True: 0, False: 1]
  ------------------
 2994|      0|            Py_DECREF(Await_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2995|      0|            return 0;
 2996|      0|        }
 2997|      1|    }
 2998|      1|    cond = PyObject_SetAttrString(state->Await_type, "_field_types",
 2999|      1|                                  Await_annotations) == 0;
 3000|      1|    if (!cond) {
  ------------------
  |  Branch (3000:9): [True: 0, False: 1]
  ------------------
 3001|      0|        Py_DECREF(Await_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3002|      0|        return 0;
 3003|      0|    }
 3004|      1|    cond = PyObject_SetAttrString(state->Await_type, "__annotations__",
 3005|      1|                                  Await_annotations) == 0;
 3006|      1|    if (!cond) {
  ------------------
  |  Branch (3006:9): [True: 0, False: 1]
  ------------------
 3007|      0|        Py_DECREF(Await_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3008|      0|        return 0;
 3009|      0|    }
 3010|      1|    Py_DECREF(Await_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3011|      1|    PyObject *Yield_annotations = PyDict_New();
 3012|      1|    if (!Yield_annotations) return 0;
  ------------------
  |  Branch (3012:9): [True: 0, False: 1]
  ------------------
 3013|      1|    {
 3014|      1|        PyObject *type = state->expr_type;
 3015|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3016|      1|        cond = type != NULL;
 3017|      1|        if (!cond) {
  ------------------
  |  Branch (3017:13): [True: 0, False: 1]
  ------------------
 3018|      0|            Py_DECREF(Yield_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3019|      0|            return 0;
 3020|      0|        }
 3021|      1|        cond = PyDict_SetItemString(Yield_annotations, "value", type) == 0;
 3022|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3023|      1|        if (!cond) {
  ------------------
  |  Branch (3023:13): [True: 0, False: 1]
  ------------------
 3024|      0|            Py_DECREF(Yield_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3025|      0|            return 0;
 3026|      0|        }
 3027|      1|    }
 3028|      1|    cond = PyObject_SetAttrString(state->Yield_type, "_field_types",
 3029|      1|                                  Yield_annotations) == 0;
 3030|      1|    if (!cond) {
  ------------------
  |  Branch (3030:9): [True: 0, False: 1]
  ------------------
 3031|      0|        Py_DECREF(Yield_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3032|      0|        return 0;
 3033|      0|    }
 3034|      1|    cond = PyObject_SetAttrString(state->Yield_type, "__annotations__",
 3035|      1|                                  Yield_annotations) == 0;
 3036|      1|    if (!cond) {
  ------------------
  |  Branch (3036:9): [True: 0, False: 1]
  ------------------
 3037|      0|        Py_DECREF(Yield_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3038|      0|        return 0;
 3039|      0|    }
 3040|      1|    Py_DECREF(Yield_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3041|      1|    PyObject *YieldFrom_annotations = PyDict_New();
 3042|      1|    if (!YieldFrom_annotations) return 0;
  ------------------
  |  Branch (3042:9): [True: 0, False: 1]
  ------------------
 3043|      1|    {
 3044|      1|        PyObject *type = state->expr_type;
 3045|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3046|      1|        cond = PyDict_SetItemString(YieldFrom_annotations, "value", type) == 0;
 3047|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3048|      1|        if (!cond) {
  ------------------
  |  Branch (3048:13): [True: 0, False: 1]
  ------------------
 3049|      0|            Py_DECREF(YieldFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3050|      0|            return 0;
 3051|      0|        }
 3052|      1|    }
 3053|      1|    cond = PyObject_SetAttrString(state->YieldFrom_type, "_field_types",
 3054|      1|                                  YieldFrom_annotations) == 0;
 3055|      1|    if (!cond) {
  ------------------
  |  Branch (3055:9): [True: 0, False: 1]
  ------------------
 3056|      0|        Py_DECREF(YieldFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3057|      0|        return 0;
 3058|      0|    }
 3059|      1|    cond = PyObject_SetAttrString(state->YieldFrom_type, "__annotations__",
 3060|      1|                                  YieldFrom_annotations) == 0;
 3061|      1|    if (!cond) {
  ------------------
  |  Branch (3061:9): [True: 0, False: 1]
  ------------------
 3062|      0|        Py_DECREF(YieldFrom_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3063|      0|        return 0;
 3064|      0|    }
 3065|      1|    Py_DECREF(YieldFrom_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3066|      1|    PyObject *Compare_annotations = PyDict_New();
 3067|      1|    if (!Compare_annotations) return 0;
  ------------------
  |  Branch (3067:9): [True: 0, False: 1]
  ------------------
 3068|      1|    {
 3069|      1|        PyObject *type = state->expr_type;
 3070|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3071|      1|        cond = PyDict_SetItemString(Compare_annotations, "left", type) == 0;
 3072|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3073|      1|        if (!cond) {
  ------------------
  |  Branch (3073:13): [True: 0, False: 1]
  ------------------
 3074|      0|            Py_DECREF(Compare_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3075|      0|            return 0;
 3076|      0|        }
 3077|      1|    }
 3078|      1|    {
 3079|      1|        PyObject *type = state->cmpop_type;
 3080|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 3081|      1|        cond = type != NULL;
 3082|      1|        if (!cond) {
  ------------------
  |  Branch (3082:13): [True: 0, False: 1]
  ------------------
 3083|      0|            Py_DECREF(Compare_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3084|      0|            return 0;
 3085|      0|        }
 3086|      1|        cond = PyDict_SetItemString(Compare_annotations, "ops", type) == 0;
 3087|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3088|      1|        if (!cond) {
  ------------------
  |  Branch (3088:13): [True: 0, False: 1]
  ------------------
 3089|      0|            Py_DECREF(Compare_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3090|      0|            return 0;
 3091|      0|        }
 3092|      1|    }
 3093|      1|    {
 3094|      1|        PyObject *type = state->expr_type;
 3095|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 3096|      1|        cond = type != NULL;
 3097|      1|        if (!cond) {
  ------------------
  |  Branch (3097:13): [True: 0, False: 1]
  ------------------
 3098|      0|            Py_DECREF(Compare_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3099|      0|            return 0;
 3100|      0|        }
 3101|      1|        cond = PyDict_SetItemString(Compare_annotations, "comparators", type)
 3102|      1|                                    == 0;
 3103|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3104|      1|        if (!cond) {
  ------------------
  |  Branch (3104:13): [True: 0, False: 1]
  ------------------
 3105|      0|            Py_DECREF(Compare_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3106|      0|            return 0;
 3107|      0|        }
 3108|      1|    }
 3109|      1|    cond = PyObject_SetAttrString(state->Compare_type, "_field_types",
 3110|      1|                                  Compare_annotations) == 0;
 3111|      1|    if (!cond) {
  ------------------
  |  Branch (3111:9): [True: 0, False: 1]
  ------------------
 3112|      0|        Py_DECREF(Compare_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3113|      0|        return 0;
 3114|      0|    }
 3115|      1|    cond = PyObject_SetAttrString(state->Compare_type, "__annotations__",
 3116|      1|                                  Compare_annotations) == 0;
 3117|      1|    if (!cond) {
  ------------------
  |  Branch (3117:9): [True: 0, False: 1]
  ------------------
 3118|      0|        Py_DECREF(Compare_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3119|      0|        return 0;
 3120|      0|    }
 3121|      1|    Py_DECREF(Compare_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3122|      1|    PyObject *Call_annotations = PyDict_New();
 3123|      1|    if (!Call_annotations) return 0;
  ------------------
  |  Branch (3123:9): [True: 0, False: 1]
  ------------------
 3124|      1|    {
 3125|      1|        PyObject *type = state->expr_type;
 3126|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3127|      1|        cond = PyDict_SetItemString(Call_annotations, "func", type) == 0;
 3128|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3129|      1|        if (!cond) {
  ------------------
  |  Branch (3129:13): [True: 0, False: 1]
  ------------------
 3130|      0|            Py_DECREF(Call_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3131|      0|            return 0;
 3132|      0|        }
 3133|      1|    }
 3134|      1|    {
 3135|      1|        PyObject *type = state->expr_type;
 3136|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 3137|      1|        cond = type != NULL;
 3138|      1|        if (!cond) {
  ------------------
  |  Branch (3138:13): [True: 0, False: 1]
  ------------------
 3139|      0|            Py_DECREF(Call_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3140|      0|            return 0;
 3141|      0|        }
 3142|      1|        cond = PyDict_SetItemString(Call_annotations, "args", type) == 0;
 3143|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3144|      1|        if (!cond) {
  ------------------
  |  Branch (3144:13): [True: 0, False: 1]
  ------------------
 3145|      0|            Py_DECREF(Call_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3146|      0|            return 0;
 3147|      0|        }
 3148|      1|    }
 3149|      1|    {
 3150|      1|        PyObject *type = state->keyword_type;
 3151|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 3152|      1|        cond = type != NULL;
 3153|      1|        if (!cond) {
  ------------------
  |  Branch (3153:13): [True: 0, False: 1]
  ------------------
 3154|      0|            Py_DECREF(Call_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3155|      0|            return 0;
 3156|      0|        }
 3157|      1|        cond = PyDict_SetItemString(Call_annotations, "keywords", type) == 0;
 3158|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3159|      1|        if (!cond) {
  ------------------
  |  Branch (3159:13): [True: 0, False: 1]
  ------------------
 3160|      0|            Py_DECREF(Call_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3161|      0|            return 0;
 3162|      0|        }
 3163|      1|    }
 3164|      1|    cond = PyObject_SetAttrString(state->Call_type, "_field_types",
 3165|      1|                                  Call_annotations) == 0;
 3166|      1|    if (!cond) {
  ------------------
  |  Branch (3166:9): [True: 0, False: 1]
  ------------------
 3167|      0|        Py_DECREF(Call_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3168|      0|        return 0;
 3169|      0|    }
 3170|      1|    cond = PyObject_SetAttrString(state->Call_type, "__annotations__",
 3171|      1|                                  Call_annotations) == 0;
 3172|      1|    if (!cond) {
  ------------------
  |  Branch (3172:9): [True: 0, False: 1]
  ------------------
 3173|      0|        Py_DECREF(Call_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3174|      0|        return 0;
 3175|      0|    }
 3176|      1|    Py_DECREF(Call_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3177|      1|    PyObject *FormattedValue_annotations = PyDict_New();
 3178|      1|    if (!FormattedValue_annotations) return 0;
  ------------------
  |  Branch (3178:9): [True: 0, False: 1]
  ------------------
 3179|      1|    {
 3180|      1|        PyObject *type = state->expr_type;
 3181|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3182|      1|        cond = PyDict_SetItemString(FormattedValue_annotations, "value", type)
 3183|      1|                                    == 0;
 3184|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3185|      1|        if (!cond) {
  ------------------
  |  Branch (3185:13): [True: 0, False: 1]
  ------------------
 3186|      0|            Py_DECREF(FormattedValue_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3187|      0|            return 0;
 3188|      0|        }
 3189|      1|    }
 3190|      1|    {
 3191|      1|        PyObject *type = (PyObject *)&PyLong_Type;
 3192|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3193|      1|        cond = PyDict_SetItemString(FormattedValue_annotations, "conversion",
 3194|      1|                                    type) == 0;
 3195|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3196|      1|        if (!cond) {
  ------------------
  |  Branch (3196:13): [True: 0, False: 1]
  ------------------
 3197|      0|            Py_DECREF(FormattedValue_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3198|      0|            return 0;
 3199|      0|        }
 3200|      1|    }
 3201|      1|    {
 3202|      1|        PyObject *type = state->expr_type;
 3203|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3204|      1|        cond = type != NULL;
 3205|      1|        if (!cond) {
  ------------------
  |  Branch (3205:13): [True: 0, False: 1]
  ------------------
 3206|      0|            Py_DECREF(FormattedValue_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3207|      0|            return 0;
 3208|      0|        }
 3209|      1|        cond = PyDict_SetItemString(FormattedValue_annotations, "format_spec",
 3210|      1|                                    type) == 0;
 3211|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3212|      1|        if (!cond) {
  ------------------
  |  Branch (3212:13): [True: 0, False: 1]
  ------------------
 3213|      0|            Py_DECREF(FormattedValue_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3214|      0|            return 0;
 3215|      0|        }
 3216|      1|    }
 3217|      1|    cond = PyObject_SetAttrString(state->FormattedValue_type, "_field_types",
 3218|      1|                                  FormattedValue_annotations) == 0;
 3219|      1|    if (!cond) {
  ------------------
  |  Branch (3219:9): [True: 0, False: 1]
  ------------------
 3220|      0|        Py_DECREF(FormattedValue_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3221|      0|        return 0;
 3222|      0|    }
 3223|      1|    cond = PyObject_SetAttrString(state->FormattedValue_type,
 3224|      1|                                  "__annotations__",
 3225|      1|                                  FormattedValue_annotations) == 0;
 3226|      1|    if (!cond) {
  ------------------
  |  Branch (3226:9): [True: 0, False: 1]
  ------------------
 3227|      0|        Py_DECREF(FormattedValue_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3228|      0|        return 0;
 3229|      0|    }
 3230|      1|    Py_DECREF(FormattedValue_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3231|      1|    PyObject *Interpolation_annotations = PyDict_New();
 3232|      1|    if (!Interpolation_annotations) return 0;
  ------------------
  |  Branch (3232:9): [True: 0, False: 1]
  ------------------
 3233|      1|    {
 3234|      1|        PyObject *type = state->expr_type;
 3235|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3236|      1|        cond = PyDict_SetItemString(Interpolation_annotations, "value", type)
 3237|      1|                                    == 0;
 3238|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3239|      1|        if (!cond) {
  ------------------
  |  Branch (3239:13): [True: 0, False: 1]
  ------------------
 3240|      0|            Py_DECREF(Interpolation_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3241|      0|            return 0;
 3242|      0|        }
 3243|      1|    }
 3244|      1|    {
 3245|      1|        PyObject *type = (PyObject *)&PyBaseObject_Type;
 3246|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3247|      1|        cond = PyDict_SetItemString(Interpolation_annotations, "str", type) ==
 3248|      1|                                    0;
 3249|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3250|      1|        if (!cond) {
  ------------------
  |  Branch (3250:13): [True: 0, False: 1]
  ------------------
 3251|      0|            Py_DECREF(Interpolation_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3252|      0|            return 0;
 3253|      0|        }
 3254|      1|    }
 3255|      1|    {
 3256|      1|        PyObject *type = (PyObject *)&PyLong_Type;
 3257|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3258|      1|        cond = PyDict_SetItemString(Interpolation_annotations, "conversion",
 3259|      1|                                    type) == 0;
 3260|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3261|      1|        if (!cond) {
  ------------------
  |  Branch (3261:13): [True: 0, False: 1]
  ------------------
 3262|      0|            Py_DECREF(Interpolation_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3263|      0|            return 0;
 3264|      0|        }
 3265|      1|    }
 3266|      1|    {
 3267|      1|        PyObject *type = state->expr_type;
 3268|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3269|      1|        cond = type != NULL;
 3270|      1|        if (!cond) {
  ------------------
  |  Branch (3270:13): [True: 0, False: 1]
  ------------------
 3271|      0|            Py_DECREF(Interpolation_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3272|      0|            return 0;
 3273|      0|        }
 3274|      1|        cond = PyDict_SetItemString(Interpolation_annotations, "format_spec",
 3275|      1|                                    type) == 0;
 3276|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3277|      1|        if (!cond) {
  ------------------
  |  Branch (3277:13): [True: 0, False: 1]
  ------------------
 3278|      0|            Py_DECREF(Interpolation_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3279|      0|            return 0;
 3280|      0|        }
 3281|      1|    }
 3282|      1|    cond = PyObject_SetAttrString(state->Interpolation_type, "_field_types",
 3283|      1|                                  Interpolation_annotations) == 0;
 3284|      1|    if (!cond) {
  ------------------
  |  Branch (3284:9): [True: 0, False: 1]
  ------------------
 3285|      0|        Py_DECREF(Interpolation_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3286|      0|        return 0;
 3287|      0|    }
 3288|      1|    cond = PyObject_SetAttrString(state->Interpolation_type, "__annotations__",
 3289|      1|                                  Interpolation_annotations) == 0;
 3290|      1|    if (!cond) {
  ------------------
  |  Branch (3290:9): [True: 0, False: 1]
  ------------------
 3291|      0|        Py_DECREF(Interpolation_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3292|      0|        return 0;
 3293|      0|    }
 3294|      1|    Py_DECREF(Interpolation_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3295|      1|    PyObject *JoinedStr_annotations = PyDict_New();
 3296|      1|    if (!JoinedStr_annotations) return 0;
  ------------------
  |  Branch (3296:9): [True: 0, False: 1]
  ------------------
 3297|      1|    {
 3298|      1|        PyObject *type = state->expr_type;
 3299|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 3300|      1|        cond = type != NULL;
 3301|      1|        if (!cond) {
  ------------------
  |  Branch (3301:13): [True: 0, False: 1]
  ------------------
 3302|      0|            Py_DECREF(JoinedStr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3303|      0|            return 0;
 3304|      0|        }
 3305|      1|        cond = PyDict_SetItemString(JoinedStr_annotations, "values", type) == 0;
 3306|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3307|      1|        if (!cond) {
  ------------------
  |  Branch (3307:13): [True: 0, False: 1]
  ------------------
 3308|      0|            Py_DECREF(JoinedStr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3309|      0|            return 0;
 3310|      0|        }
 3311|      1|    }
 3312|      1|    cond = PyObject_SetAttrString(state->JoinedStr_type, "_field_types",
 3313|      1|                                  JoinedStr_annotations) == 0;
 3314|      1|    if (!cond) {
  ------------------
  |  Branch (3314:9): [True: 0, False: 1]
  ------------------
 3315|      0|        Py_DECREF(JoinedStr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3316|      0|        return 0;
 3317|      0|    }
 3318|      1|    cond = PyObject_SetAttrString(state->JoinedStr_type, "__annotations__",
 3319|      1|                                  JoinedStr_annotations) == 0;
 3320|      1|    if (!cond) {
  ------------------
  |  Branch (3320:9): [True: 0, False: 1]
  ------------------
 3321|      0|        Py_DECREF(JoinedStr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3322|      0|        return 0;
 3323|      0|    }
 3324|      1|    Py_DECREF(JoinedStr_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3325|      1|    PyObject *TemplateStr_annotations = PyDict_New();
 3326|      1|    if (!TemplateStr_annotations) return 0;
  ------------------
  |  Branch (3326:9): [True: 0, False: 1]
  ------------------
 3327|      1|    {
 3328|      1|        PyObject *type = state->expr_type;
 3329|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 3330|      1|        cond = type != NULL;
 3331|      1|        if (!cond) {
  ------------------
  |  Branch (3331:13): [True: 0, False: 1]
  ------------------
 3332|      0|            Py_DECREF(TemplateStr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3333|      0|            return 0;
 3334|      0|        }
 3335|      1|        cond = PyDict_SetItemString(TemplateStr_annotations, "values", type) ==
 3336|      1|                                    0;
 3337|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3338|      1|        if (!cond) {
  ------------------
  |  Branch (3338:13): [True: 0, False: 1]
  ------------------
 3339|      0|            Py_DECREF(TemplateStr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3340|      0|            return 0;
 3341|      0|        }
 3342|      1|    }
 3343|      1|    cond = PyObject_SetAttrString(state->TemplateStr_type, "_field_types",
 3344|      1|                                  TemplateStr_annotations) == 0;
 3345|      1|    if (!cond) {
  ------------------
  |  Branch (3345:9): [True: 0, False: 1]
  ------------------
 3346|      0|        Py_DECREF(TemplateStr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3347|      0|        return 0;
 3348|      0|    }
 3349|      1|    cond = PyObject_SetAttrString(state->TemplateStr_type, "__annotations__",
 3350|      1|                                  TemplateStr_annotations) == 0;
 3351|      1|    if (!cond) {
  ------------------
  |  Branch (3351:9): [True: 0, False: 1]
  ------------------
 3352|      0|        Py_DECREF(TemplateStr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3353|      0|        return 0;
 3354|      0|    }
 3355|      1|    Py_DECREF(TemplateStr_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3356|      1|    PyObject *Constant_annotations = PyDict_New();
 3357|      1|    if (!Constant_annotations) return 0;
  ------------------
  |  Branch (3357:9): [True: 0, False: 1]
  ------------------
 3358|      1|    {
 3359|      1|        PyObject *type = (PyObject *)&PyBaseObject_Type;
 3360|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3361|      1|        cond = PyDict_SetItemString(Constant_annotations, "value", type) == 0;
 3362|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3363|      1|        if (!cond) {
  ------------------
  |  Branch (3363:13): [True: 0, False: 1]
  ------------------
 3364|      0|            Py_DECREF(Constant_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3365|      0|            return 0;
 3366|      0|        }
 3367|      1|    }
 3368|      1|    {
 3369|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 3370|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3371|      1|        cond = type != NULL;
 3372|      1|        if (!cond) {
  ------------------
  |  Branch (3372:13): [True: 0, False: 1]
  ------------------
 3373|      0|            Py_DECREF(Constant_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3374|      0|            return 0;
 3375|      0|        }
 3376|      1|        cond = PyDict_SetItemString(Constant_annotations, "kind", type) == 0;
 3377|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3378|      1|        if (!cond) {
  ------------------
  |  Branch (3378:13): [True: 0, False: 1]
  ------------------
 3379|      0|            Py_DECREF(Constant_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3380|      0|            return 0;
 3381|      0|        }
 3382|      1|    }
 3383|      1|    cond = PyObject_SetAttrString(state->Constant_type, "_field_types",
 3384|      1|                                  Constant_annotations) == 0;
 3385|      1|    if (!cond) {
  ------------------
  |  Branch (3385:9): [True: 0, False: 1]
  ------------------
 3386|      0|        Py_DECREF(Constant_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3387|      0|        return 0;
 3388|      0|    }
 3389|      1|    cond = PyObject_SetAttrString(state->Constant_type, "__annotations__",
 3390|      1|                                  Constant_annotations) == 0;
 3391|      1|    if (!cond) {
  ------------------
  |  Branch (3391:9): [True: 0, False: 1]
  ------------------
 3392|      0|        Py_DECREF(Constant_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3393|      0|        return 0;
 3394|      0|    }
 3395|      1|    Py_DECREF(Constant_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3396|      1|    PyObject *Attribute_annotations = PyDict_New();
 3397|      1|    if (!Attribute_annotations) return 0;
  ------------------
  |  Branch (3397:9): [True: 0, False: 1]
  ------------------
 3398|      1|    {
 3399|      1|        PyObject *type = state->expr_type;
 3400|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3401|      1|        cond = PyDict_SetItemString(Attribute_annotations, "value", type) == 0;
 3402|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3403|      1|        if (!cond) {
  ------------------
  |  Branch (3403:13): [True: 0, False: 1]
  ------------------
 3404|      0|            Py_DECREF(Attribute_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3405|      0|            return 0;
 3406|      0|        }
 3407|      1|    }
 3408|      1|    {
 3409|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 3410|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3411|      1|        cond = PyDict_SetItemString(Attribute_annotations, "attr", type) == 0;
 3412|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3413|      1|        if (!cond) {
  ------------------
  |  Branch (3413:13): [True: 0, False: 1]
  ------------------
 3414|      0|            Py_DECREF(Attribute_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3415|      0|            return 0;
 3416|      0|        }
 3417|      1|    }
 3418|      1|    {
 3419|      1|        PyObject *type = state->expr_context_type;
 3420|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3421|      1|        cond = PyDict_SetItemString(Attribute_annotations, "ctx", type) == 0;
 3422|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3423|      1|        if (!cond) {
  ------------------
  |  Branch (3423:13): [True: 0, False: 1]
  ------------------
 3424|      0|            Py_DECREF(Attribute_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3425|      0|            return 0;
 3426|      0|        }
 3427|      1|    }
 3428|      1|    cond = PyObject_SetAttrString(state->Attribute_type, "_field_types",
 3429|      1|                                  Attribute_annotations) == 0;
 3430|      1|    if (!cond) {
  ------------------
  |  Branch (3430:9): [True: 0, False: 1]
  ------------------
 3431|      0|        Py_DECREF(Attribute_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3432|      0|        return 0;
 3433|      0|    }
 3434|      1|    cond = PyObject_SetAttrString(state->Attribute_type, "__annotations__",
 3435|      1|                                  Attribute_annotations) == 0;
 3436|      1|    if (!cond) {
  ------------------
  |  Branch (3436:9): [True: 0, False: 1]
  ------------------
 3437|      0|        Py_DECREF(Attribute_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3438|      0|        return 0;
 3439|      0|    }
 3440|      1|    Py_DECREF(Attribute_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3441|      1|    PyObject *Subscript_annotations = PyDict_New();
 3442|      1|    if (!Subscript_annotations) return 0;
  ------------------
  |  Branch (3442:9): [True: 0, False: 1]
  ------------------
 3443|      1|    {
 3444|      1|        PyObject *type = state->expr_type;
 3445|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3446|      1|        cond = PyDict_SetItemString(Subscript_annotations, "value", type) == 0;
 3447|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3448|      1|        if (!cond) {
  ------------------
  |  Branch (3448:13): [True: 0, False: 1]
  ------------------
 3449|      0|            Py_DECREF(Subscript_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3450|      0|            return 0;
 3451|      0|        }
 3452|      1|    }
 3453|      1|    {
 3454|      1|        PyObject *type = state->expr_type;
 3455|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3456|      1|        cond = PyDict_SetItemString(Subscript_annotations, "slice", type) == 0;
 3457|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3458|      1|        if (!cond) {
  ------------------
  |  Branch (3458:13): [True: 0, False: 1]
  ------------------
 3459|      0|            Py_DECREF(Subscript_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3460|      0|            return 0;
 3461|      0|        }
 3462|      1|    }
 3463|      1|    {
 3464|      1|        PyObject *type = state->expr_context_type;
 3465|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3466|      1|        cond = PyDict_SetItemString(Subscript_annotations, "ctx", type) == 0;
 3467|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3468|      1|        if (!cond) {
  ------------------
  |  Branch (3468:13): [True: 0, False: 1]
  ------------------
 3469|      0|            Py_DECREF(Subscript_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3470|      0|            return 0;
 3471|      0|        }
 3472|      1|    }
 3473|      1|    cond = PyObject_SetAttrString(state->Subscript_type, "_field_types",
 3474|      1|                                  Subscript_annotations) == 0;
 3475|      1|    if (!cond) {
  ------------------
  |  Branch (3475:9): [True: 0, False: 1]
  ------------------
 3476|      0|        Py_DECREF(Subscript_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3477|      0|        return 0;
 3478|      0|    }
 3479|      1|    cond = PyObject_SetAttrString(state->Subscript_type, "__annotations__",
 3480|      1|                                  Subscript_annotations) == 0;
 3481|      1|    if (!cond) {
  ------------------
  |  Branch (3481:9): [True: 0, False: 1]
  ------------------
 3482|      0|        Py_DECREF(Subscript_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3483|      0|        return 0;
 3484|      0|    }
 3485|      1|    Py_DECREF(Subscript_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3486|      1|    PyObject *Starred_annotations = PyDict_New();
 3487|      1|    if (!Starred_annotations) return 0;
  ------------------
  |  Branch (3487:9): [True: 0, False: 1]
  ------------------
 3488|      1|    {
 3489|      1|        PyObject *type = state->expr_type;
 3490|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3491|      1|        cond = PyDict_SetItemString(Starred_annotations, "value", type) == 0;
 3492|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3493|      1|        if (!cond) {
  ------------------
  |  Branch (3493:13): [True: 0, False: 1]
  ------------------
 3494|      0|            Py_DECREF(Starred_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3495|      0|            return 0;
 3496|      0|        }
 3497|      1|    }
 3498|      1|    {
 3499|      1|        PyObject *type = state->expr_context_type;
 3500|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3501|      1|        cond = PyDict_SetItemString(Starred_annotations, "ctx", type) == 0;
 3502|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3503|      1|        if (!cond) {
  ------------------
  |  Branch (3503:13): [True: 0, False: 1]
  ------------------
 3504|      0|            Py_DECREF(Starred_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3505|      0|            return 0;
 3506|      0|        }
 3507|      1|    }
 3508|      1|    cond = PyObject_SetAttrString(state->Starred_type, "_field_types",
 3509|      1|                                  Starred_annotations) == 0;
 3510|      1|    if (!cond) {
  ------------------
  |  Branch (3510:9): [True: 0, False: 1]
  ------------------
 3511|      0|        Py_DECREF(Starred_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3512|      0|        return 0;
 3513|      0|    }
 3514|      1|    cond = PyObject_SetAttrString(state->Starred_type, "__annotations__",
 3515|      1|                                  Starred_annotations) == 0;
 3516|      1|    if (!cond) {
  ------------------
  |  Branch (3516:9): [True: 0, False: 1]
  ------------------
 3517|      0|        Py_DECREF(Starred_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3518|      0|        return 0;
 3519|      0|    }
 3520|      1|    Py_DECREF(Starred_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3521|      1|    PyObject *Name_annotations = PyDict_New();
 3522|      1|    if (!Name_annotations) return 0;
  ------------------
  |  Branch (3522:9): [True: 0, False: 1]
  ------------------
 3523|      1|    {
 3524|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 3525|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3526|      1|        cond = PyDict_SetItemString(Name_annotations, "id", type) == 0;
 3527|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3528|      1|        if (!cond) {
  ------------------
  |  Branch (3528:13): [True: 0, False: 1]
  ------------------
 3529|      0|            Py_DECREF(Name_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3530|      0|            return 0;
 3531|      0|        }
 3532|      1|    }
 3533|      1|    {
 3534|      1|        PyObject *type = state->expr_context_type;
 3535|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3536|      1|        cond = PyDict_SetItemString(Name_annotations, "ctx", type) == 0;
 3537|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3538|      1|        if (!cond) {
  ------------------
  |  Branch (3538:13): [True: 0, False: 1]
  ------------------
 3539|      0|            Py_DECREF(Name_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3540|      0|            return 0;
 3541|      0|        }
 3542|      1|    }
 3543|      1|    cond = PyObject_SetAttrString(state->Name_type, "_field_types",
 3544|      1|                                  Name_annotations) == 0;
 3545|      1|    if (!cond) {
  ------------------
  |  Branch (3545:9): [True: 0, False: 1]
  ------------------
 3546|      0|        Py_DECREF(Name_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3547|      0|        return 0;
 3548|      0|    }
 3549|      1|    cond = PyObject_SetAttrString(state->Name_type, "__annotations__",
 3550|      1|                                  Name_annotations) == 0;
 3551|      1|    if (!cond) {
  ------------------
  |  Branch (3551:9): [True: 0, False: 1]
  ------------------
 3552|      0|        Py_DECREF(Name_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3553|      0|        return 0;
 3554|      0|    }
 3555|      1|    Py_DECREF(Name_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3556|      1|    PyObject *List_annotations = PyDict_New();
 3557|      1|    if (!List_annotations) return 0;
  ------------------
  |  Branch (3557:9): [True: 0, False: 1]
  ------------------
 3558|      1|    {
 3559|      1|        PyObject *type = state->expr_type;
 3560|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 3561|      1|        cond = type != NULL;
 3562|      1|        if (!cond) {
  ------------------
  |  Branch (3562:13): [True: 0, False: 1]
  ------------------
 3563|      0|            Py_DECREF(List_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3564|      0|            return 0;
 3565|      0|        }
 3566|      1|        cond = PyDict_SetItemString(List_annotations, "elts", type) == 0;
 3567|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3568|      1|        if (!cond) {
  ------------------
  |  Branch (3568:13): [True: 0, False: 1]
  ------------------
 3569|      0|            Py_DECREF(List_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3570|      0|            return 0;
 3571|      0|        }
 3572|      1|    }
 3573|      1|    {
 3574|      1|        PyObject *type = state->expr_context_type;
 3575|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3576|      1|        cond = PyDict_SetItemString(List_annotations, "ctx", type) == 0;
 3577|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3578|      1|        if (!cond) {
  ------------------
  |  Branch (3578:13): [True: 0, False: 1]
  ------------------
 3579|      0|            Py_DECREF(List_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3580|      0|            return 0;
 3581|      0|        }
 3582|      1|    }
 3583|      1|    cond = PyObject_SetAttrString(state->List_type, "_field_types",
 3584|      1|                                  List_annotations) == 0;
 3585|      1|    if (!cond) {
  ------------------
  |  Branch (3585:9): [True: 0, False: 1]
  ------------------
 3586|      0|        Py_DECREF(List_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3587|      0|        return 0;
 3588|      0|    }
 3589|      1|    cond = PyObject_SetAttrString(state->List_type, "__annotations__",
 3590|      1|                                  List_annotations) == 0;
 3591|      1|    if (!cond) {
  ------------------
  |  Branch (3591:9): [True: 0, False: 1]
  ------------------
 3592|      0|        Py_DECREF(List_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3593|      0|        return 0;
 3594|      0|    }
 3595|      1|    Py_DECREF(List_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3596|      1|    PyObject *Tuple_annotations = PyDict_New();
 3597|      1|    if (!Tuple_annotations) return 0;
  ------------------
  |  Branch (3597:9): [True: 0, False: 1]
  ------------------
 3598|      1|    {
 3599|      1|        PyObject *type = state->expr_type;
 3600|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 3601|      1|        cond = type != NULL;
 3602|      1|        if (!cond) {
  ------------------
  |  Branch (3602:13): [True: 0, False: 1]
  ------------------
 3603|      0|            Py_DECREF(Tuple_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3604|      0|            return 0;
 3605|      0|        }
 3606|      1|        cond = PyDict_SetItemString(Tuple_annotations, "elts", type) == 0;
 3607|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3608|      1|        if (!cond) {
  ------------------
  |  Branch (3608:13): [True: 0, False: 1]
  ------------------
 3609|      0|            Py_DECREF(Tuple_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3610|      0|            return 0;
 3611|      0|        }
 3612|      1|    }
 3613|      1|    {
 3614|      1|        PyObject *type = state->expr_context_type;
 3615|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3616|      1|        cond = PyDict_SetItemString(Tuple_annotations, "ctx", type) == 0;
 3617|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3618|      1|        if (!cond) {
  ------------------
  |  Branch (3618:13): [True: 0, False: 1]
  ------------------
 3619|      0|            Py_DECREF(Tuple_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3620|      0|            return 0;
 3621|      0|        }
 3622|      1|    }
 3623|      1|    cond = PyObject_SetAttrString(state->Tuple_type, "_field_types",
 3624|      1|                                  Tuple_annotations) == 0;
 3625|      1|    if (!cond) {
  ------------------
  |  Branch (3625:9): [True: 0, False: 1]
  ------------------
 3626|      0|        Py_DECREF(Tuple_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3627|      0|        return 0;
 3628|      0|    }
 3629|      1|    cond = PyObject_SetAttrString(state->Tuple_type, "__annotations__",
 3630|      1|                                  Tuple_annotations) == 0;
 3631|      1|    if (!cond) {
  ------------------
  |  Branch (3631:9): [True: 0, False: 1]
  ------------------
 3632|      0|        Py_DECREF(Tuple_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3633|      0|        return 0;
 3634|      0|    }
 3635|      1|    Py_DECREF(Tuple_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3636|      1|    PyObject *Slice_annotations = PyDict_New();
 3637|      1|    if (!Slice_annotations) return 0;
  ------------------
  |  Branch (3637:9): [True: 0, False: 1]
  ------------------
 3638|      1|    {
 3639|      1|        PyObject *type = state->expr_type;
 3640|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3641|      1|        cond = type != NULL;
 3642|      1|        if (!cond) {
  ------------------
  |  Branch (3642:13): [True: 0, False: 1]
  ------------------
 3643|      0|            Py_DECREF(Slice_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3644|      0|            return 0;
 3645|      0|        }
 3646|      1|        cond = PyDict_SetItemString(Slice_annotations, "lower", type) == 0;
 3647|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3648|      1|        if (!cond) {
  ------------------
  |  Branch (3648:13): [True: 0, False: 1]
  ------------------
 3649|      0|            Py_DECREF(Slice_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3650|      0|            return 0;
 3651|      0|        }
 3652|      1|    }
 3653|      1|    {
 3654|      1|        PyObject *type = state->expr_type;
 3655|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3656|      1|        cond = type != NULL;
 3657|      1|        if (!cond) {
  ------------------
  |  Branch (3657:13): [True: 0, False: 1]
  ------------------
 3658|      0|            Py_DECREF(Slice_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3659|      0|            return 0;
 3660|      0|        }
 3661|      1|        cond = PyDict_SetItemString(Slice_annotations, "upper", type) == 0;
 3662|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3663|      1|        if (!cond) {
  ------------------
  |  Branch (3663:13): [True: 0, False: 1]
  ------------------
 3664|      0|            Py_DECREF(Slice_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3665|      0|            return 0;
 3666|      0|        }
 3667|      1|    }
 3668|      1|    {
 3669|      1|        PyObject *type = state->expr_type;
 3670|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3671|      1|        cond = type != NULL;
 3672|      1|        if (!cond) {
  ------------------
  |  Branch (3672:13): [True: 0, False: 1]
  ------------------
 3673|      0|            Py_DECREF(Slice_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3674|      0|            return 0;
 3675|      0|        }
 3676|      1|        cond = PyDict_SetItemString(Slice_annotations, "step", type) == 0;
 3677|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3678|      1|        if (!cond) {
  ------------------
  |  Branch (3678:13): [True: 0, False: 1]
  ------------------
 3679|      0|            Py_DECREF(Slice_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3680|      0|            return 0;
 3681|      0|        }
 3682|      1|    }
 3683|      1|    cond = PyObject_SetAttrString(state->Slice_type, "_field_types",
 3684|      1|                                  Slice_annotations) == 0;
 3685|      1|    if (!cond) {
  ------------------
  |  Branch (3685:9): [True: 0, False: 1]
  ------------------
 3686|      0|        Py_DECREF(Slice_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3687|      0|        return 0;
 3688|      0|    }
 3689|      1|    cond = PyObject_SetAttrString(state->Slice_type, "__annotations__",
 3690|      1|                                  Slice_annotations) == 0;
 3691|      1|    if (!cond) {
  ------------------
  |  Branch (3691:9): [True: 0, False: 1]
  ------------------
 3692|      0|        Py_DECREF(Slice_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3693|      0|        return 0;
 3694|      0|    }
 3695|      1|    Py_DECREF(Slice_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3696|      1|    PyObject *Load_annotations = PyDict_New();
 3697|      1|    if (!Load_annotations) return 0;
  ------------------
  |  Branch (3697:9): [True: 0, False: 1]
  ------------------
 3698|      1|    cond = PyObject_SetAttrString(state->Load_type, "_field_types",
 3699|      1|                                  Load_annotations) == 0;
 3700|      1|    if (!cond) {
  ------------------
  |  Branch (3700:9): [True: 0, False: 1]
  ------------------
 3701|      0|        Py_DECREF(Load_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3702|      0|        return 0;
 3703|      0|    }
 3704|      1|    cond = PyObject_SetAttrString(state->Load_type, "__annotations__",
 3705|      1|                                  Load_annotations) == 0;
 3706|      1|    if (!cond) {
  ------------------
  |  Branch (3706:9): [True: 0, False: 1]
  ------------------
 3707|      0|        Py_DECREF(Load_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3708|      0|        return 0;
 3709|      0|    }
 3710|      1|    Py_DECREF(Load_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3711|      1|    PyObject *Store_annotations = PyDict_New();
 3712|      1|    if (!Store_annotations) return 0;
  ------------------
  |  Branch (3712:9): [True: 0, False: 1]
  ------------------
 3713|      1|    cond = PyObject_SetAttrString(state->Store_type, "_field_types",
 3714|      1|                                  Store_annotations) == 0;
 3715|      1|    if (!cond) {
  ------------------
  |  Branch (3715:9): [True: 0, False: 1]
  ------------------
 3716|      0|        Py_DECREF(Store_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3717|      0|        return 0;
 3718|      0|    }
 3719|      1|    cond = PyObject_SetAttrString(state->Store_type, "__annotations__",
 3720|      1|                                  Store_annotations) == 0;
 3721|      1|    if (!cond) {
  ------------------
  |  Branch (3721:9): [True: 0, False: 1]
  ------------------
 3722|      0|        Py_DECREF(Store_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3723|      0|        return 0;
 3724|      0|    }
 3725|      1|    Py_DECREF(Store_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3726|      1|    PyObject *Del_annotations = PyDict_New();
 3727|      1|    if (!Del_annotations) return 0;
  ------------------
  |  Branch (3727:9): [True: 0, False: 1]
  ------------------
 3728|      1|    cond = PyObject_SetAttrString(state->Del_type, "_field_types",
 3729|      1|                                  Del_annotations) == 0;
 3730|      1|    if (!cond) {
  ------------------
  |  Branch (3730:9): [True: 0, False: 1]
  ------------------
 3731|      0|        Py_DECREF(Del_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3732|      0|        return 0;
 3733|      0|    }
 3734|      1|    cond = PyObject_SetAttrString(state->Del_type, "__annotations__",
 3735|      1|                                  Del_annotations) == 0;
 3736|      1|    if (!cond) {
  ------------------
  |  Branch (3736:9): [True: 0, False: 1]
  ------------------
 3737|      0|        Py_DECREF(Del_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3738|      0|        return 0;
 3739|      0|    }
 3740|      1|    Py_DECREF(Del_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3741|      1|    PyObject *And_annotations = PyDict_New();
 3742|      1|    if (!And_annotations) return 0;
  ------------------
  |  Branch (3742:9): [True: 0, False: 1]
  ------------------
 3743|      1|    cond = PyObject_SetAttrString(state->And_type, "_field_types",
 3744|      1|                                  And_annotations) == 0;
 3745|      1|    if (!cond) {
  ------------------
  |  Branch (3745:9): [True: 0, False: 1]
  ------------------
 3746|      0|        Py_DECREF(And_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3747|      0|        return 0;
 3748|      0|    }
 3749|      1|    cond = PyObject_SetAttrString(state->And_type, "__annotations__",
 3750|      1|                                  And_annotations) == 0;
 3751|      1|    if (!cond) {
  ------------------
  |  Branch (3751:9): [True: 0, False: 1]
  ------------------
 3752|      0|        Py_DECREF(And_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3753|      0|        return 0;
 3754|      0|    }
 3755|      1|    Py_DECREF(And_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3756|      1|    PyObject *Or_annotations = PyDict_New();
 3757|      1|    if (!Or_annotations) return 0;
  ------------------
  |  Branch (3757:9): [True: 0, False: 1]
  ------------------
 3758|      1|    cond = PyObject_SetAttrString(state->Or_type, "_field_types",
 3759|      1|                                  Or_annotations) == 0;
 3760|      1|    if (!cond) {
  ------------------
  |  Branch (3760:9): [True: 0, False: 1]
  ------------------
 3761|      0|        Py_DECREF(Or_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3762|      0|        return 0;
 3763|      0|    }
 3764|      1|    cond = PyObject_SetAttrString(state->Or_type, "__annotations__",
 3765|      1|                                  Or_annotations) == 0;
 3766|      1|    if (!cond) {
  ------------------
  |  Branch (3766:9): [True: 0, False: 1]
  ------------------
 3767|      0|        Py_DECREF(Or_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3768|      0|        return 0;
 3769|      0|    }
 3770|      1|    Py_DECREF(Or_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3771|      1|    PyObject *Add_annotations = PyDict_New();
 3772|      1|    if (!Add_annotations) return 0;
  ------------------
  |  Branch (3772:9): [True: 0, False: 1]
  ------------------
 3773|      1|    cond = PyObject_SetAttrString(state->Add_type, "_field_types",
 3774|      1|                                  Add_annotations) == 0;
 3775|      1|    if (!cond) {
  ------------------
  |  Branch (3775:9): [True: 0, False: 1]
  ------------------
 3776|      0|        Py_DECREF(Add_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3777|      0|        return 0;
 3778|      0|    }
 3779|      1|    cond = PyObject_SetAttrString(state->Add_type, "__annotations__",
 3780|      1|                                  Add_annotations) == 0;
 3781|      1|    if (!cond) {
  ------------------
  |  Branch (3781:9): [True: 0, False: 1]
  ------------------
 3782|      0|        Py_DECREF(Add_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3783|      0|        return 0;
 3784|      0|    }
 3785|      1|    Py_DECREF(Add_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3786|      1|    PyObject *Sub_annotations = PyDict_New();
 3787|      1|    if (!Sub_annotations) return 0;
  ------------------
  |  Branch (3787:9): [True: 0, False: 1]
  ------------------
 3788|      1|    cond = PyObject_SetAttrString(state->Sub_type, "_field_types",
 3789|      1|                                  Sub_annotations) == 0;
 3790|      1|    if (!cond) {
  ------------------
  |  Branch (3790:9): [True: 0, False: 1]
  ------------------
 3791|      0|        Py_DECREF(Sub_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3792|      0|        return 0;
 3793|      0|    }
 3794|      1|    cond = PyObject_SetAttrString(state->Sub_type, "__annotations__",
 3795|      1|                                  Sub_annotations) == 0;
 3796|      1|    if (!cond) {
  ------------------
  |  Branch (3796:9): [True: 0, False: 1]
  ------------------
 3797|      0|        Py_DECREF(Sub_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3798|      0|        return 0;
 3799|      0|    }
 3800|      1|    Py_DECREF(Sub_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3801|      1|    PyObject *Mult_annotations = PyDict_New();
 3802|      1|    if (!Mult_annotations) return 0;
  ------------------
  |  Branch (3802:9): [True: 0, False: 1]
  ------------------
 3803|      1|    cond = PyObject_SetAttrString(state->Mult_type, "_field_types",
 3804|      1|                                  Mult_annotations) == 0;
 3805|      1|    if (!cond) {
  ------------------
  |  Branch (3805:9): [True: 0, False: 1]
  ------------------
 3806|      0|        Py_DECREF(Mult_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3807|      0|        return 0;
 3808|      0|    }
 3809|      1|    cond = PyObject_SetAttrString(state->Mult_type, "__annotations__",
 3810|      1|                                  Mult_annotations) == 0;
 3811|      1|    if (!cond) {
  ------------------
  |  Branch (3811:9): [True: 0, False: 1]
  ------------------
 3812|      0|        Py_DECREF(Mult_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3813|      0|        return 0;
 3814|      0|    }
 3815|      1|    Py_DECREF(Mult_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3816|      1|    PyObject *MatMult_annotations = PyDict_New();
 3817|      1|    if (!MatMult_annotations) return 0;
  ------------------
  |  Branch (3817:9): [True: 0, False: 1]
  ------------------
 3818|      1|    cond = PyObject_SetAttrString(state->MatMult_type, "_field_types",
 3819|      1|                                  MatMult_annotations) == 0;
 3820|      1|    if (!cond) {
  ------------------
  |  Branch (3820:9): [True: 0, False: 1]
  ------------------
 3821|      0|        Py_DECREF(MatMult_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3822|      0|        return 0;
 3823|      0|    }
 3824|      1|    cond = PyObject_SetAttrString(state->MatMult_type, "__annotations__",
 3825|      1|                                  MatMult_annotations) == 0;
 3826|      1|    if (!cond) {
  ------------------
  |  Branch (3826:9): [True: 0, False: 1]
  ------------------
 3827|      0|        Py_DECREF(MatMult_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3828|      0|        return 0;
 3829|      0|    }
 3830|      1|    Py_DECREF(MatMult_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3831|      1|    PyObject *Div_annotations = PyDict_New();
 3832|      1|    if (!Div_annotations) return 0;
  ------------------
  |  Branch (3832:9): [True: 0, False: 1]
  ------------------
 3833|      1|    cond = PyObject_SetAttrString(state->Div_type, "_field_types",
 3834|      1|                                  Div_annotations) == 0;
 3835|      1|    if (!cond) {
  ------------------
  |  Branch (3835:9): [True: 0, False: 1]
  ------------------
 3836|      0|        Py_DECREF(Div_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3837|      0|        return 0;
 3838|      0|    }
 3839|      1|    cond = PyObject_SetAttrString(state->Div_type, "__annotations__",
 3840|      1|                                  Div_annotations) == 0;
 3841|      1|    if (!cond) {
  ------------------
  |  Branch (3841:9): [True: 0, False: 1]
  ------------------
 3842|      0|        Py_DECREF(Div_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3843|      0|        return 0;
 3844|      0|    }
 3845|      1|    Py_DECREF(Div_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3846|      1|    PyObject *Mod_annotations = PyDict_New();
 3847|      1|    if (!Mod_annotations) return 0;
  ------------------
  |  Branch (3847:9): [True: 0, False: 1]
  ------------------
 3848|      1|    cond = PyObject_SetAttrString(state->Mod_type, "_field_types",
 3849|      1|                                  Mod_annotations) == 0;
 3850|      1|    if (!cond) {
  ------------------
  |  Branch (3850:9): [True: 0, False: 1]
  ------------------
 3851|      0|        Py_DECREF(Mod_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3852|      0|        return 0;
 3853|      0|    }
 3854|      1|    cond = PyObject_SetAttrString(state->Mod_type, "__annotations__",
 3855|      1|                                  Mod_annotations) == 0;
 3856|      1|    if (!cond) {
  ------------------
  |  Branch (3856:9): [True: 0, False: 1]
  ------------------
 3857|      0|        Py_DECREF(Mod_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3858|      0|        return 0;
 3859|      0|    }
 3860|      1|    Py_DECREF(Mod_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3861|      1|    PyObject *Pow_annotations = PyDict_New();
 3862|      1|    if (!Pow_annotations) return 0;
  ------------------
  |  Branch (3862:9): [True: 0, False: 1]
  ------------------
 3863|      1|    cond = PyObject_SetAttrString(state->Pow_type, "_field_types",
 3864|      1|                                  Pow_annotations) == 0;
 3865|      1|    if (!cond) {
  ------------------
  |  Branch (3865:9): [True: 0, False: 1]
  ------------------
 3866|      0|        Py_DECREF(Pow_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3867|      0|        return 0;
 3868|      0|    }
 3869|      1|    cond = PyObject_SetAttrString(state->Pow_type, "__annotations__",
 3870|      1|                                  Pow_annotations) == 0;
 3871|      1|    if (!cond) {
  ------------------
  |  Branch (3871:9): [True: 0, False: 1]
  ------------------
 3872|      0|        Py_DECREF(Pow_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3873|      0|        return 0;
 3874|      0|    }
 3875|      1|    Py_DECREF(Pow_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3876|      1|    PyObject *LShift_annotations = PyDict_New();
 3877|      1|    if (!LShift_annotations) return 0;
  ------------------
  |  Branch (3877:9): [True: 0, False: 1]
  ------------------
 3878|      1|    cond = PyObject_SetAttrString(state->LShift_type, "_field_types",
 3879|      1|                                  LShift_annotations) == 0;
 3880|      1|    if (!cond) {
  ------------------
  |  Branch (3880:9): [True: 0, False: 1]
  ------------------
 3881|      0|        Py_DECREF(LShift_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3882|      0|        return 0;
 3883|      0|    }
 3884|      1|    cond = PyObject_SetAttrString(state->LShift_type, "__annotations__",
 3885|      1|                                  LShift_annotations) == 0;
 3886|      1|    if (!cond) {
  ------------------
  |  Branch (3886:9): [True: 0, False: 1]
  ------------------
 3887|      0|        Py_DECREF(LShift_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3888|      0|        return 0;
 3889|      0|    }
 3890|      1|    Py_DECREF(LShift_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3891|      1|    PyObject *RShift_annotations = PyDict_New();
 3892|      1|    if (!RShift_annotations) return 0;
  ------------------
  |  Branch (3892:9): [True: 0, False: 1]
  ------------------
 3893|      1|    cond = PyObject_SetAttrString(state->RShift_type, "_field_types",
 3894|      1|                                  RShift_annotations) == 0;
 3895|      1|    if (!cond) {
  ------------------
  |  Branch (3895:9): [True: 0, False: 1]
  ------------------
 3896|      0|        Py_DECREF(RShift_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3897|      0|        return 0;
 3898|      0|    }
 3899|      1|    cond = PyObject_SetAttrString(state->RShift_type, "__annotations__",
 3900|      1|                                  RShift_annotations) == 0;
 3901|      1|    if (!cond) {
  ------------------
  |  Branch (3901:9): [True: 0, False: 1]
  ------------------
 3902|      0|        Py_DECREF(RShift_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3903|      0|        return 0;
 3904|      0|    }
 3905|      1|    Py_DECREF(RShift_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3906|      1|    PyObject *BitOr_annotations = PyDict_New();
 3907|      1|    if (!BitOr_annotations) return 0;
  ------------------
  |  Branch (3907:9): [True: 0, False: 1]
  ------------------
 3908|      1|    cond = PyObject_SetAttrString(state->BitOr_type, "_field_types",
 3909|      1|                                  BitOr_annotations) == 0;
 3910|      1|    if (!cond) {
  ------------------
  |  Branch (3910:9): [True: 0, False: 1]
  ------------------
 3911|      0|        Py_DECREF(BitOr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3912|      0|        return 0;
 3913|      0|    }
 3914|      1|    cond = PyObject_SetAttrString(state->BitOr_type, "__annotations__",
 3915|      1|                                  BitOr_annotations) == 0;
 3916|      1|    if (!cond) {
  ------------------
  |  Branch (3916:9): [True: 0, False: 1]
  ------------------
 3917|      0|        Py_DECREF(BitOr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3918|      0|        return 0;
 3919|      0|    }
 3920|      1|    Py_DECREF(BitOr_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3921|      1|    PyObject *BitXor_annotations = PyDict_New();
 3922|      1|    if (!BitXor_annotations) return 0;
  ------------------
  |  Branch (3922:9): [True: 0, False: 1]
  ------------------
 3923|      1|    cond = PyObject_SetAttrString(state->BitXor_type, "_field_types",
 3924|      1|                                  BitXor_annotations) == 0;
 3925|      1|    if (!cond) {
  ------------------
  |  Branch (3925:9): [True: 0, False: 1]
  ------------------
 3926|      0|        Py_DECREF(BitXor_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3927|      0|        return 0;
 3928|      0|    }
 3929|      1|    cond = PyObject_SetAttrString(state->BitXor_type, "__annotations__",
 3930|      1|                                  BitXor_annotations) == 0;
 3931|      1|    if (!cond) {
  ------------------
  |  Branch (3931:9): [True: 0, False: 1]
  ------------------
 3932|      0|        Py_DECREF(BitXor_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3933|      0|        return 0;
 3934|      0|    }
 3935|      1|    Py_DECREF(BitXor_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3936|      1|    PyObject *BitAnd_annotations = PyDict_New();
 3937|      1|    if (!BitAnd_annotations) return 0;
  ------------------
  |  Branch (3937:9): [True: 0, False: 1]
  ------------------
 3938|      1|    cond = PyObject_SetAttrString(state->BitAnd_type, "_field_types",
 3939|      1|                                  BitAnd_annotations) == 0;
 3940|      1|    if (!cond) {
  ------------------
  |  Branch (3940:9): [True: 0, False: 1]
  ------------------
 3941|      0|        Py_DECREF(BitAnd_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3942|      0|        return 0;
 3943|      0|    }
 3944|      1|    cond = PyObject_SetAttrString(state->BitAnd_type, "__annotations__",
 3945|      1|                                  BitAnd_annotations) == 0;
 3946|      1|    if (!cond) {
  ------------------
  |  Branch (3946:9): [True: 0, False: 1]
  ------------------
 3947|      0|        Py_DECREF(BitAnd_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3948|      0|        return 0;
 3949|      0|    }
 3950|      1|    Py_DECREF(BitAnd_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3951|      1|    PyObject *FloorDiv_annotations = PyDict_New();
 3952|      1|    if (!FloorDiv_annotations) return 0;
  ------------------
  |  Branch (3952:9): [True: 0, False: 1]
  ------------------
 3953|      1|    cond = PyObject_SetAttrString(state->FloorDiv_type, "_field_types",
 3954|      1|                                  FloorDiv_annotations) == 0;
 3955|      1|    if (!cond) {
  ------------------
  |  Branch (3955:9): [True: 0, False: 1]
  ------------------
 3956|      0|        Py_DECREF(FloorDiv_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3957|      0|        return 0;
 3958|      0|    }
 3959|      1|    cond = PyObject_SetAttrString(state->FloorDiv_type, "__annotations__",
 3960|      1|                                  FloorDiv_annotations) == 0;
 3961|      1|    if (!cond) {
  ------------------
  |  Branch (3961:9): [True: 0, False: 1]
  ------------------
 3962|      0|        Py_DECREF(FloorDiv_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3963|      0|        return 0;
 3964|      0|    }
 3965|      1|    Py_DECREF(FloorDiv_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3966|      1|    PyObject *Invert_annotations = PyDict_New();
 3967|      1|    if (!Invert_annotations) return 0;
  ------------------
  |  Branch (3967:9): [True: 0, False: 1]
  ------------------
 3968|      1|    cond = PyObject_SetAttrString(state->Invert_type, "_field_types",
 3969|      1|                                  Invert_annotations) == 0;
 3970|      1|    if (!cond) {
  ------------------
  |  Branch (3970:9): [True: 0, False: 1]
  ------------------
 3971|      0|        Py_DECREF(Invert_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3972|      0|        return 0;
 3973|      0|    }
 3974|      1|    cond = PyObject_SetAttrString(state->Invert_type, "__annotations__",
 3975|      1|                                  Invert_annotations) == 0;
 3976|      1|    if (!cond) {
  ------------------
  |  Branch (3976:9): [True: 0, False: 1]
  ------------------
 3977|      0|        Py_DECREF(Invert_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3978|      0|        return 0;
 3979|      0|    }
 3980|      1|    Py_DECREF(Invert_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3981|      1|    PyObject *Not_annotations = PyDict_New();
 3982|      1|    if (!Not_annotations) return 0;
  ------------------
  |  Branch (3982:9): [True: 0, False: 1]
  ------------------
 3983|      1|    cond = PyObject_SetAttrString(state->Not_type, "_field_types",
 3984|      1|                                  Not_annotations) == 0;
 3985|      1|    if (!cond) {
  ------------------
  |  Branch (3985:9): [True: 0, False: 1]
  ------------------
 3986|      0|        Py_DECREF(Not_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3987|      0|        return 0;
 3988|      0|    }
 3989|      1|    cond = PyObject_SetAttrString(state->Not_type, "__annotations__",
 3990|      1|                                  Not_annotations) == 0;
 3991|      1|    if (!cond) {
  ------------------
  |  Branch (3991:9): [True: 0, False: 1]
  ------------------
 3992|      0|        Py_DECREF(Not_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3993|      0|        return 0;
 3994|      0|    }
 3995|      1|    Py_DECREF(Not_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3996|      1|    PyObject *UAdd_annotations = PyDict_New();
 3997|      1|    if (!UAdd_annotations) return 0;
  ------------------
  |  Branch (3997:9): [True: 0, False: 1]
  ------------------
 3998|      1|    cond = PyObject_SetAttrString(state->UAdd_type, "_field_types",
 3999|      1|                                  UAdd_annotations) == 0;
 4000|      1|    if (!cond) {
  ------------------
  |  Branch (4000:9): [True: 0, False: 1]
  ------------------
 4001|      0|        Py_DECREF(UAdd_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4002|      0|        return 0;
 4003|      0|    }
 4004|      1|    cond = PyObject_SetAttrString(state->UAdd_type, "__annotations__",
 4005|      1|                                  UAdd_annotations) == 0;
 4006|      1|    if (!cond) {
  ------------------
  |  Branch (4006:9): [True: 0, False: 1]
  ------------------
 4007|      0|        Py_DECREF(UAdd_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4008|      0|        return 0;
 4009|      0|    }
 4010|      1|    Py_DECREF(UAdd_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4011|      1|    PyObject *USub_annotations = PyDict_New();
 4012|      1|    if (!USub_annotations) return 0;
  ------------------
  |  Branch (4012:9): [True: 0, False: 1]
  ------------------
 4013|      1|    cond = PyObject_SetAttrString(state->USub_type, "_field_types",
 4014|      1|                                  USub_annotations) == 0;
 4015|      1|    if (!cond) {
  ------------------
  |  Branch (4015:9): [True: 0, False: 1]
  ------------------
 4016|      0|        Py_DECREF(USub_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4017|      0|        return 0;
 4018|      0|    }
 4019|      1|    cond = PyObject_SetAttrString(state->USub_type, "__annotations__",
 4020|      1|                                  USub_annotations) == 0;
 4021|      1|    if (!cond) {
  ------------------
  |  Branch (4021:9): [True: 0, False: 1]
  ------------------
 4022|      0|        Py_DECREF(USub_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4023|      0|        return 0;
 4024|      0|    }
 4025|      1|    Py_DECREF(USub_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4026|      1|    PyObject *Eq_annotations = PyDict_New();
 4027|      1|    if (!Eq_annotations) return 0;
  ------------------
  |  Branch (4027:9): [True: 0, False: 1]
  ------------------
 4028|      1|    cond = PyObject_SetAttrString(state->Eq_type, "_field_types",
 4029|      1|                                  Eq_annotations) == 0;
 4030|      1|    if (!cond) {
  ------------------
  |  Branch (4030:9): [True: 0, False: 1]
  ------------------
 4031|      0|        Py_DECREF(Eq_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4032|      0|        return 0;
 4033|      0|    }
 4034|      1|    cond = PyObject_SetAttrString(state->Eq_type, "__annotations__",
 4035|      1|                                  Eq_annotations) == 0;
 4036|      1|    if (!cond) {
  ------------------
  |  Branch (4036:9): [True: 0, False: 1]
  ------------------
 4037|      0|        Py_DECREF(Eq_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4038|      0|        return 0;
 4039|      0|    }
 4040|      1|    Py_DECREF(Eq_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4041|      1|    PyObject *NotEq_annotations = PyDict_New();
 4042|      1|    if (!NotEq_annotations) return 0;
  ------------------
  |  Branch (4042:9): [True: 0, False: 1]
  ------------------
 4043|      1|    cond = PyObject_SetAttrString(state->NotEq_type, "_field_types",
 4044|      1|                                  NotEq_annotations) == 0;
 4045|      1|    if (!cond) {
  ------------------
  |  Branch (4045:9): [True: 0, False: 1]
  ------------------
 4046|      0|        Py_DECREF(NotEq_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4047|      0|        return 0;
 4048|      0|    }
 4049|      1|    cond = PyObject_SetAttrString(state->NotEq_type, "__annotations__",
 4050|      1|                                  NotEq_annotations) == 0;
 4051|      1|    if (!cond) {
  ------------------
  |  Branch (4051:9): [True: 0, False: 1]
  ------------------
 4052|      0|        Py_DECREF(NotEq_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4053|      0|        return 0;
 4054|      0|    }
 4055|      1|    Py_DECREF(NotEq_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4056|      1|    PyObject *Lt_annotations = PyDict_New();
 4057|      1|    if (!Lt_annotations) return 0;
  ------------------
  |  Branch (4057:9): [True: 0, False: 1]
  ------------------
 4058|      1|    cond = PyObject_SetAttrString(state->Lt_type, "_field_types",
 4059|      1|                                  Lt_annotations) == 0;
 4060|      1|    if (!cond) {
  ------------------
  |  Branch (4060:9): [True: 0, False: 1]
  ------------------
 4061|      0|        Py_DECREF(Lt_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4062|      0|        return 0;
 4063|      0|    }
 4064|      1|    cond = PyObject_SetAttrString(state->Lt_type, "__annotations__",
 4065|      1|                                  Lt_annotations) == 0;
 4066|      1|    if (!cond) {
  ------------------
  |  Branch (4066:9): [True: 0, False: 1]
  ------------------
 4067|      0|        Py_DECREF(Lt_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4068|      0|        return 0;
 4069|      0|    }
 4070|      1|    Py_DECREF(Lt_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4071|      1|    PyObject *LtE_annotations = PyDict_New();
 4072|      1|    if (!LtE_annotations) return 0;
  ------------------
  |  Branch (4072:9): [True: 0, False: 1]
  ------------------
 4073|      1|    cond = PyObject_SetAttrString(state->LtE_type, "_field_types",
 4074|      1|                                  LtE_annotations) == 0;
 4075|      1|    if (!cond) {
  ------------------
  |  Branch (4075:9): [True: 0, False: 1]
  ------------------
 4076|      0|        Py_DECREF(LtE_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4077|      0|        return 0;
 4078|      0|    }
 4079|      1|    cond = PyObject_SetAttrString(state->LtE_type, "__annotations__",
 4080|      1|                                  LtE_annotations) == 0;
 4081|      1|    if (!cond) {
  ------------------
  |  Branch (4081:9): [True: 0, False: 1]
  ------------------
 4082|      0|        Py_DECREF(LtE_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4083|      0|        return 0;
 4084|      0|    }
 4085|      1|    Py_DECREF(LtE_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4086|      1|    PyObject *Gt_annotations = PyDict_New();
 4087|      1|    if (!Gt_annotations) return 0;
  ------------------
  |  Branch (4087:9): [True: 0, False: 1]
  ------------------
 4088|      1|    cond = PyObject_SetAttrString(state->Gt_type, "_field_types",
 4089|      1|                                  Gt_annotations) == 0;
 4090|      1|    if (!cond) {
  ------------------
  |  Branch (4090:9): [True: 0, False: 1]
  ------------------
 4091|      0|        Py_DECREF(Gt_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4092|      0|        return 0;
 4093|      0|    }
 4094|      1|    cond = PyObject_SetAttrString(state->Gt_type, "__annotations__",
 4095|      1|                                  Gt_annotations) == 0;
 4096|      1|    if (!cond) {
  ------------------
  |  Branch (4096:9): [True: 0, False: 1]
  ------------------
 4097|      0|        Py_DECREF(Gt_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4098|      0|        return 0;
 4099|      0|    }
 4100|      1|    Py_DECREF(Gt_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4101|      1|    PyObject *GtE_annotations = PyDict_New();
 4102|      1|    if (!GtE_annotations) return 0;
  ------------------
  |  Branch (4102:9): [True: 0, False: 1]
  ------------------
 4103|      1|    cond = PyObject_SetAttrString(state->GtE_type, "_field_types",
 4104|      1|                                  GtE_annotations) == 0;
 4105|      1|    if (!cond) {
  ------------------
  |  Branch (4105:9): [True: 0, False: 1]
  ------------------
 4106|      0|        Py_DECREF(GtE_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4107|      0|        return 0;
 4108|      0|    }
 4109|      1|    cond = PyObject_SetAttrString(state->GtE_type, "__annotations__",
 4110|      1|                                  GtE_annotations) == 0;
 4111|      1|    if (!cond) {
  ------------------
  |  Branch (4111:9): [True: 0, False: 1]
  ------------------
 4112|      0|        Py_DECREF(GtE_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4113|      0|        return 0;
 4114|      0|    }
 4115|      1|    Py_DECREF(GtE_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4116|      1|    PyObject *Is_annotations = PyDict_New();
 4117|      1|    if (!Is_annotations) return 0;
  ------------------
  |  Branch (4117:9): [True: 0, False: 1]
  ------------------
 4118|      1|    cond = PyObject_SetAttrString(state->Is_type, "_field_types",
 4119|      1|                                  Is_annotations) == 0;
 4120|      1|    if (!cond) {
  ------------------
  |  Branch (4120:9): [True: 0, False: 1]
  ------------------
 4121|      0|        Py_DECREF(Is_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4122|      0|        return 0;
 4123|      0|    }
 4124|      1|    cond = PyObject_SetAttrString(state->Is_type, "__annotations__",
 4125|      1|                                  Is_annotations) == 0;
 4126|      1|    if (!cond) {
  ------------------
  |  Branch (4126:9): [True: 0, False: 1]
  ------------------
 4127|      0|        Py_DECREF(Is_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4128|      0|        return 0;
 4129|      0|    }
 4130|      1|    Py_DECREF(Is_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4131|      1|    PyObject *IsNot_annotations = PyDict_New();
 4132|      1|    if (!IsNot_annotations) return 0;
  ------------------
  |  Branch (4132:9): [True: 0, False: 1]
  ------------------
 4133|      1|    cond = PyObject_SetAttrString(state->IsNot_type, "_field_types",
 4134|      1|                                  IsNot_annotations) == 0;
 4135|      1|    if (!cond) {
  ------------------
  |  Branch (4135:9): [True: 0, False: 1]
  ------------------
 4136|      0|        Py_DECREF(IsNot_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4137|      0|        return 0;
 4138|      0|    }
 4139|      1|    cond = PyObject_SetAttrString(state->IsNot_type, "__annotations__",
 4140|      1|                                  IsNot_annotations) == 0;
 4141|      1|    if (!cond) {
  ------------------
  |  Branch (4141:9): [True: 0, False: 1]
  ------------------
 4142|      0|        Py_DECREF(IsNot_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4143|      0|        return 0;
 4144|      0|    }
 4145|      1|    Py_DECREF(IsNot_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4146|      1|    PyObject *In_annotations = PyDict_New();
 4147|      1|    if (!In_annotations) return 0;
  ------------------
  |  Branch (4147:9): [True: 0, False: 1]
  ------------------
 4148|      1|    cond = PyObject_SetAttrString(state->In_type, "_field_types",
 4149|      1|                                  In_annotations) == 0;
 4150|      1|    if (!cond) {
  ------------------
  |  Branch (4150:9): [True: 0, False: 1]
  ------------------
 4151|      0|        Py_DECREF(In_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4152|      0|        return 0;
 4153|      0|    }
 4154|      1|    cond = PyObject_SetAttrString(state->In_type, "__annotations__",
 4155|      1|                                  In_annotations) == 0;
 4156|      1|    if (!cond) {
  ------------------
  |  Branch (4156:9): [True: 0, False: 1]
  ------------------
 4157|      0|        Py_DECREF(In_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4158|      0|        return 0;
 4159|      0|    }
 4160|      1|    Py_DECREF(In_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4161|      1|    PyObject *NotIn_annotations = PyDict_New();
 4162|      1|    if (!NotIn_annotations) return 0;
  ------------------
  |  Branch (4162:9): [True: 0, False: 1]
  ------------------
 4163|      1|    cond = PyObject_SetAttrString(state->NotIn_type, "_field_types",
 4164|      1|                                  NotIn_annotations) == 0;
 4165|      1|    if (!cond) {
  ------------------
  |  Branch (4165:9): [True: 0, False: 1]
  ------------------
 4166|      0|        Py_DECREF(NotIn_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4167|      0|        return 0;
 4168|      0|    }
 4169|      1|    cond = PyObject_SetAttrString(state->NotIn_type, "__annotations__",
 4170|      1|                                  NotIn_annotations) == 0;
 4171|      1|    if (!cond) {
  ------------------
  |  Branch (4171:9): [True: 0, False: 1]
  ------------------
 4172|      0|        Py_DECREF(NotIn_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4173|      0|        return 0;
 4174|      0|    }
 4175|      1|    Py_DECREF(NotIn_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4176|      1|    PyObject *comprehension_annotations = PyDict_New();
 4177|      1|    if (!comprehension_annotations) return 0;
  ------------------
  |  Branch (4177:9): [True: 0, False: 1]
  ------------------
 4178|      1|    {
 4179|      1|        PyObject *type = state->expr_type;
 4180|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4181|      1|        cond = PyDict_SetItemString(comprehension_annotations, "target", type)
 4182|      1|                                    == 0;
 4183|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4184|      1|        if (!cond) {
  ------------------
  |  Branch (4184:13): [True: 0, False: 1]
  ------------------
 4185|      0|            Py_DECREF(comprehension_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4186|      0|            return 0;
 4187|      0|        }
 4188|      1|    }
 4189|      1|    {
 4190|      1|        PyObject *type = state->expr_type;
 4191|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4192|      1|        cond = PyDict_SetItemString(comprehension_annotations, "iter", type) ==
 4193|      1|                                    0;
 4194|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4195|      1|        if (!cond) {
  ------------------
  |  Branch (4195:13): [True: 0, False: 1]
  ------------------
 4196|      0|            Py_DECREF(comprehension_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4197|      0|            return 0;
 4198|      0|        }
 4199|      1|    }
 4200|      1|    {
 4201|      1|        PyObject *type = state->expr_type;
 4202|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4203|      1|        cond = type != NULL;
 4204|      1|        if (!cond) {
  ------------------
  |  Branch (4204:13): [True: 0, False: 1]
  ------------------
 4205|      0|            Py_DECREF(comprehension_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4206|      0|            return 0;
 4207|      0|        }
 4208|      1|        cond = PyDict_SetItemString(comprehension_annotations, "ifs", type) ==
 4209|      1|                                    0;
 4210|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4211|      1|        if (!cond) {
  ------------------
  |  Branch (4211:13): [True: 0, False: 1]
  ------------------
 4212|      0|            Py_DECREF(comprehension_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4213|      0|            return 0;
 4214|      0|        }
 4215|      1|    }
 4216|      1|    {
 4217|      1|        PyObject *type = (PyObject *)&PyLong_Type;
 4218|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4219|      1|        cond = PyDict_SetItemString(comprehension_annotations, "is_async",
 4220|      1|                                    type) == 0;
 4221|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4222|      1|        if (!cond) {
  ------------------
  |  Branch (4222:13): [True: 0, False: 1]
  ------------------
 4223|      0|            Py_DECREF(comprehension_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4224|      0|            return 0;
 4225|      0|        }
 4226|      1|    }
 4227|      1|    cond = PyObject_SetAttrString(state->comprehension_type, "_field_types",
 4228|      1|                                  comprehension_annotations) == 0;
 4229|      1|    if (!cond) {
  ------------------
  |  Branch (4229:9): [True: 0, False: 1]
  ------------------
 4230|      0|        Py_DECREF(comprehension_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4231|      0|        return 0;
 4232|      0|    }
 4233|      1|    cond = PyObject_SetAttrString(state->comprehension_type, "__annotations__",
 4234|      1|                                  comprehension_annotations) == 0;
 4235|      1|    if (!cond) {
  ------------------
  |  Branch (4235:9): [True: 0, False: 1]
  ------------------
 4236|      0|        Py_DECREF(comprehension_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4237|      0|        return 0;
 4238|      0|    }
 4239|      1|    Py_DECREF(comprehension_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4240|      1|    PyObject *ExceptHandler_annotations = PyDict_New();
 4241|      1|    if (!ExceptHandler_annotations) return 0;
  ------------------
  |  Branch (4241:9): [True: 0, False: 1]
  ------------------
 4242|      1|    {
 4243|      1|        PyObject *type = state->expr_type;
 4244|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4245|      1|        cond = type != NULL;
 4246|      1|        if (!cond) {
  ------------------
  |  Branch (4246:13): [True: 0, False: 1]
  ------------------
 4247|      0|            Py_DECREF(ExceptHandler_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4248|      0|            return 0;
 4249|      0|        }
 4250|      1|        cond = PyDict_SetItemString(ExceptHandler_annotations, "type", type) ==
 4251|      1|                                    0;
 4252|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4253|      1|        if (!cond) {
  ------------------
  |  Branch (4253:13): [True: 0, False: 1]
  ------------------
 4254|      0|            Py_DECREF(ExceptHandler_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4255|      0|            return 0;
 4256|      0|        }
 4257|      1|    }
 4258|      1|    {
 4259|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 4260|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4261|      1|        cond = type != NULL;
 4262|      1|        if (!cond) {
  ------------------
  |  Branch (4262:13): [True: 0, False: 1]
  ------------------
 4263|      0|            Py_DECREF(ExceptHandler_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4264|      0|            return 0;
 4265|      0|        }
 4266|      1|        cond = PyDict_SetItemString(ExceptHandler_annotations, "name", type) ==
 4267|      1|                                    0;
 4268|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4269|      1|        if (!cond) {
  ------------------
  |  Branch (4269:13): [True: 0, False: 1]
  ------------------
 4270|      0|            Py_DECREF(ExceptHandler_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4271|      0|            return 0;
 4272|      0|        }
 4273|      1|    }
 4274|      1|    {
 4275|      1|        PyObject *type = state->stmt_type;
 4276|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4277|      1|        cond = type != NULL;
 4278|      1|        if (!cond) {
  ------------------
  |  Branch (4278:13): [True: 0, False: 1]
  ------------------
 4279|      0|            Py_DECREF(ExceptHandler_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4280|      0|            return 0;
 4281|      0|        }
 4282|      1|        cond = PyDict_SetItemString(ExceptHandler_annotations, "body", type) ==
 4283|      1|                                    0;
 4284|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4285|      1|        if (!cond) {
  ------------------
  |  Branch (4285:13): [True: 0, False: 1]
  ------------------
 4286|      0|            Py_DECREF(ExceptHandler_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4287|      0|            return 0;
 4288|      0|        }
 4289|      1|    }
 4290|      1|    cond = PyObject_SetAttrString(state->ExceptHandler_type, "_field_types",
 4291|      1|                                  ExceptHandler_annotations) == 0;
 4292|      1|    if (!cond) {
  ------------------
  |  Branch (4292:9): [True: 0, False: 1]
  ------------------
 4293|      0|        Py_DECREF(ExceptHandler_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4294|      0|        return 0;
 4295|      0|    }
 4296|      1|    cond = PyObject_SetAttrString(state->ExceptHandler_type, "__annotations__",
 4297|      1|                                  ExceptHandler_annotations) == 0;
 4298|      1|    if (!cond) {
  ------------------
  |  Branch (4298:9): [True: 0, False: 1]
  ------------------
 4299|      0|        Py_DECREF(ExceptHandler_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4300|      0|        return 0;
 4301|      0|    }
 4302|      1|    Py_DECREF(ExceptHandler_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4303|      1|    PyObject *arguments_annotations = PyDict_New();
 4304|      1|    if (!arguments_annotations) return 0;
  ------------------
  |  Branch (4304:9): [True: 0, False: 1]
  ------------------
 4305|      1|    {
 4306|      1|        PyObject *type = state->arg_type;
 4307|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4308|      1|        cond = type != NULL;
 4309|      1|        if (!cond) {
  ------------------
  |  Branch (4309:13): [True: 0, False: 1]
  ------------------
 4310|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4311|      0|            return 0;
 4312|      0|        }
 4313|      1|        cond = PyDict_SetItemString(arguments_annotations, "posonlyargs", type)
 4314|      1|                                    == 0;
 4315|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4316|      1|        if (!cond) {
  ------------------
  |  Branch (4316:13): [True: 0, False: 1]
  ------------------
 4317|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4318|      0|            return 0;
 4319|      0|        }
 4320|      1|    }
 4321|      1|    {
 4322|      1|        PyObject *type = state->arg_type;
 4323|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4324|      1|        cond = type != NULL;
 4325|      1|        if (!cond) {
  ------------------
  |  Branch (4325:13): [True: 0, False: 1]
  ------------------
 4326|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4327|      0|            return 0;
 4328|      0|        }
 4329|      1|        cond = PyDict_SetItemString(arguments_annotations, "args", type) == 0;
 4330|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4331|      1|        if (!cond) {
  ------------------
  |  Branch (4331:13): [True: 0, False: 1]
  ------------------
 4332|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4333|      0|            return 0;
 4334|      0|        }
 4335|      1|    }
 4336|      1|    {
 4337|      1|        PyObject *type = state->arg_type;
 4338|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4339|      1|        cond = type != NULL;
 4340|      1|        if (!cond) {
  ------------------
  |  Branch (4340:13): [True: 0, False: 1]
  ------------------
 4341|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4342|      0|            return 0;
 4343|      0|        }
 4344|      1|        cond = PyDict_SetItemString(arguments_annotations, "vararg", type) == 0;
 4345|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4346|      1|        if (!cond) {
  ------------------
  |  Branch (4346:13): [True: 0, False: 1]
  ------------------
 4347|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4348|      0|            return 0;
 4349|      0|        }
 4350|      1|    }
 4351|      1|    {
 4352|      1|        PyObject *type = state->arg_type;
 4353|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4354|      1|        cond = type != NULL;
 4355|      1|        if (!cond) {
  ------------------
  |  Branch (4355:13): [True: 0, False: 1]
  ------------------
 4356|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4357|      0|            return 0;
 4358|      0|        }
 4359|      1|        cond = PyDict_SetItemString(arguments_annotations, "kwonlyargs", type)
 4360|      1|                                    == 0;
 4361|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4362|      1|        if (!cond) {
  ------------------
  |  Branch (4362:13): [True: 0, False: 1]
  ------------------
 4363|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4364|      0|            return 0;
 4365|      0|        }
 4366|      1|    }
 4367|      1|    {
 4368|      1|        PyObject *type = state->expr_type;
 4369|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4370|      1|        cond = type != NULL;
 4371|      1|        if (!cond) {
  ------------------
  |  Branch (4371:13): [True: 0, False: 1]
  ------------------
 4372|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4373|      0|            return 0;
 4374|      0|        }
 4375|      1|        cond = PyDict_SetItemString(arguments_annotations, "kw_defaults", type)
 4376|      1|                                    == 0;
 4377|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4378|      1|        if (!cond) {
  ------------------
  |  Branch (4378:13): [True: 0, False: 1]
  ------------------
 4379|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4380|      0|            return 0;
 4381|      0|        }
 4382|      1|    }
 4383|      1|    {
 4384|      1|        PyObject *type = state->arg_type;
 4385|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4386|      1|        cond = type != NULL;
 4387|      1|        if (!cond) {
  ------------------
  |  Branch (4387:13): [True: 0, False: 1]
  ------------------
 4388|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4389|      0|            return 0;
 4390|      0|        }
 4391|      1|        cond = PyDict_SetItemString(arguments_annotations, "kwarg", type) == 0;
 4392|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4393|      1|        if (!cond) {
  ------------------
  |  Branch (4393:13): [True: 0, False: 1]
  ------------------
 4394|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4395|      0|            return 0;
 4396|      0|        }
 4397|      1|    }
 4398|      1|    {
 4399|      1|        PyObject *type = state->expr_type;
 4400|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4401|      1|        cond = type != NULL;
 4402|      1|        if (!cond) {
  ------------------
  |  Branch (4402:13): [True: 0, False: 1]
  ------------------
 4403|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4404|      0|            return 0;
 4405|      0|        }
 4406|      1|        cond = PyDict_SetItemString(arguments_annotations, "defaults", type) ==
 4407|      1|                                    0;
 4408|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4409|      1|        if (!cond) {
  ------------------
  |  Branch (4409:13): [True: 0, False: 1]
  ------------------
 4410|      0|            Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4411|      0|            return 0;
 4412|      0|        }
 4413|      1|    }
 4414|      1|    cond = PyObject_SetAttrString(state->arguments_type, "_field_types",
 4415|      1|                                  arguments_annotations) == 0;
 4416|      1|    if (!cond) {
  ------------------
  |  Branch (4416:9): [True: 0, False: 1]
  ------------------
 4417|      0|        Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4418|      0|        return 0;
 4419|      0|    }
 4420|      1|    cond = PyObject_SetAttrString(state->arguments_type, "__annotations__",
 4421|      1|                                  arguments_annotations) == 0;
 4422|      1|    if (!cond) {
  ------------------
  |  Branch (4422:9): [True: 0, False: 1]
  ------------------
 4423|      0|        Py_DECREF(arguments_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4424|      0|        return 0;
 4425|      0|    }
 4426|      1|    Py_DECREF(arguments_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4427|      1|    PyObject *arg_annotations = PyDict_New();
 4428|      1|    if (!arg_annotations) return 0;
  ------------------
  |  Branch (4428:9): [True: 0, False: 1]
  ------------------
 4429|      1|    {
 4430|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 4431|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4432|      1|        cond = PyDict_SetItemString(arg_annotations, "arg", type) == 0;
 4433|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4434|      1|        if (!cond) {
  ------------------
  |  Branch (4434:13): [True: 0, False: 1]
  ------------------
 4435|      0|            Py_DECREF(arg_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4436|      0|            return 0;
 4437|      0|        }
 4438|      1|    }
 4439|      1|    {
 4440|      1|        PyObject *type = state->expr_type;
 4441|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4442|      1|        cond = type != NULL;
 4443|      1|        if (!cond) {
  ------------------
  |  Branch (4443:13): [True: 0, False: 1]
  ------------------
 4444|      0|            Py_DECREF(arg_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4445|      0|            return 0;
 4446|      0|        }
 4447|      1|        cond = PyDict_SetItemString(arg_annotations, "annotation", type) == 0;
 4448|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4449|      1|        if (!cond) {
  ------------------
  |  Branch (4449:13): [True: 0, False: 1]
  ------------------
 4450|      0|            Py_DECREF(arg_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4451|      0|            return 0;
 4452|      0|        }
 4453|      1|    }
 4454|      1|    {
 4455|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 4456|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4457|      1|        cond = type != NULL;
 4458|      1|        if (!cond) {
  ------------------
  |  Branch (4458:13): [True: 0, False: 1]
  ------------------
 4459|      0|            Py_DECREF(arg_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4460|      0|            return 0;
 4461|      0|        }
 4462|      1|        cond = PyDict_SetItemString(arg_annotations, "type_comment", type) == 0;
 4463|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4464|      1|        if (!cond) {
  ------------------
  |  Branch (4464:13): [True: 0, False: 1]
  ------------------
 4465|      0|            Py_DECREF(arg_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4466|      0|            return 0;
 4467|      0|        }
 4468|      1|    }
 4469|      1|    cond = PyObject_SetAttrString(state->arg_type, "_field_types",
 4470|      1|                                  arg_annotations) == 0;
 4471|      1|    if (!cond) {
  ------------------
  |  Branch (4471:9): [True: 0, False: 1]
  ------------------
 4472|      0|        Py_DECREF(arg_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4473|      0|        return 0;
 4474|      0|    }
 4475|      1|    cond = PyObject_SetAttrString(state->arg_type, "__annotations__",
 4476|      1|                                  arg_annotations) == 0;
 4477|      1|    if (!cond) {
  ------------------
  |  Branch (4477:9): [True: 0, False: 1]
  ------------------
 4478|      0|        Py_DECREF(arg_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4479|      0|        return 0;
 4480|      0|    }
 4481|      1|    Py_DECREF(arg_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4482|      1|    PyObject *keyword_annotations = PyDict_New();
 4483|      1|    if (!keyword_annotations) return 0;
  ------------------
  |  Branch (4483:9): [True: 0, False: 1]
  ------------------
 4484|      1|    {
 4485|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 4486|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4487|      1|        cond = type != NULL;
 4488|      1|        if (!cond) {
  ------------------
  |  Branch (4488:13): [True: 0, False: 1]
  ------------------
 4489|      0|            Py_DECREF(keyword_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4490|      0|            return 0;
 4491|      0|        }
 4492|      1|        cond = PyDict_SetItemString(keyword_annotations, "arg", type) == 0;
 4493|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4494|      1|        if (!cond) {
  ------------------
  |  Branch (4494:13): [True: 0, False: 1]
  ------------------
 4495|      0|            Py_DECREF(keyword_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4496|      0|            return 0;
 4497|      0|        }
 4498|      1|    }
 4499|      1|    {
 4500|      1|        PyObject *type = state->expr_type;
 4501|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4502|      1|        cond = PyDict_SetItemString(keyword_annotations, "value", type) == 0;
 4503|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4504|      1|        if (!cond) {
  ------------------
  |  Branch (4504:13): [True: 0, False: 1]
  ------------------
 4505|      0|            Py_DECREF(keyword_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4506|      0|            return 0;
 4507|      0|        }
 4508|      1|    }
 4509|      1|    cond = PyObject_SetAttrString(state->keyword_type, "_field_types",
 4510|      1|                                  keyword_annotations) == 0;
 4511|      1|    if (!cond) {
  ------------------
  |  Branch (4511:9): [True: 0, False: 1]
  ------------------
 4512|      0|        Py_DECREF(keyword_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4513|      0|        return 0;
 4514|      0|    }
 4515|      1|    cond = PyObject_SetAttrString(state->keyword_type, "__annotations__",
 4516|      1|                                  keyword_annotations) == 0;
 4517|      1|    if (!cond) {
  ------------------
  |  Branch (4517:9): [True: 0, False: 1]
  ------------------
 4518|      0|        Py_DECREF(keyword_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4519|      0|        return 0;
 4520|      0|    }
 4521|      1|    Py_DECREF(keyword_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4522|      1|    PyObject *alias_annotations = PyDict_New();
 4523|      1|    if (!alias_annotations) return 0;
  ------------------
  |  Branch (4523:9): [True: 0, False: 1]
  ------------------
 4524|      1|    {
 4525|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 4526|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4527|      1|        cond = PyDict_SetItemString(alias_annotations, "name", type) == 0;
 4528|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4529|      1|        if (!cond) {
  ------------------
  |  Branch (4529:13): [True: 0, False: 1]
  ------------------
 4530|      0|            Py_DECREF(alias_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4531|      0|            return 0;
 4532|      0|        }
 4533|      1|    }
 4534|      1|    {
 4535|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 4536|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4537|      1|        cond = type != NULL;
 4538|      1|        if (!cond) {
  ------------------
  |  Branch (4538:13): [True: 0, False: 1]
  ------------------
 4539|      0|            Py_DECREF(alias_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4540|      0|            return 0;
 4541|      0|        }
 4542|      1|        cond = PyDict_SetItemString(alias_annotations, "asname", type) == 0;
 4543|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4544|      1|        if (!cond) {
  ------------------
  |  Branch (4544:13): [True: 0, False: 1]
  ------------------
 4545|      0|            Py_DECREF(alias_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4546|      0|            return 0;
 4547|      0|        }
 4548|      1|    }
 4549|      1|    cond = PyObject_SetAttrString(state->alias_type, "_field_types",
 4550|      1|                                  alias_annotations) == 0;
 4551|      1|    if (!cond) {
  ------------------
  |  Branch (4551:9): [True: 0, False: 1]
  ------------------
 4552|      0|        Py_DECREF(alias_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4553|      0|        return 0;
 4554|      0|    }
 4555|      1|    cond = PyObject_SetAttrString(state->alias_type, "__annotations__",
 4556|      1|                                  alias_annotations) == 0;
 4557|      1|    if (!cond) {
  ------------------
  |  Branch (4557:9): [True: 0, False: 1]
  ------------------
 4558|      0|        Py_DECREF(alias_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4559|      0|        return 0;
 4560|      0|    }
 4561|      1|    Py_DECREF(alias_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4562|      1|    PyObject *withitem_annotations = PyDict_New();
 4563|      1|    if (!withitem_annotations) return 0;
  ------------------
  |  Branch (4563:9): [True: 0, False: 1]
  ------------------
 4564|      1|    {
 4565|      1|        PyObject *type = state->expr_type;
 4566|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4567|      1|        cond = PyDict_SetItemString(withitem_annotations, "context_expr", type)
 4568|      1|                                    == 0;
 4569|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4570|      1|        if (!cond) {
  ------------------
  |  Branch (4570:13): [True: 0, False: 1]
  ------------------
 4571|      0|            Py_DECREF(withitem_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4572|      0|            return 0;
 4573|      0|        }
 4574|      1|    }
 4575|      1|    {
 4576|      1|        PyObject *type = state->expr_type;
 4577|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4578|      1|        cond = type != NULL;
 4579|      1|        if (!cond) {
  ------------------
  |  Branch (4579:13): [True: 0, False: 1]
  ------------------
 4580|      0|            Py_DECREF(withitem_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4581|      0|            return 0;
 4582|      0|        }
 4583|      1|        cond = PyDict_SetItemString(withitem_annotations, "optional_vars",
 4584|      1|                                    type) == 0;
 4585|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4586|      1|        if (!cond) {
  ------------------
  |  Branch (4586:13): [True: 0, False: 1]
  ------------------
 4587|      0|            Py_DECREF(withitem_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4588|      0|            return 0;
 4589|      0|        }
 4590|      1|    }
 4591|      1|    cond = PyObject_SetAttrString(state->withitem_type, "_field_types",
 4592|      1|                                  withitem_annotations) == 0;
 4593|      1|    if (!cond) {
  ------------------
  |  Branch (4593:9): [True: 0, False: 1]
  ------------------
 4594|      0|        Py_DECREF(withitem_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4595|      0|        return 0;
 4596|      0|    }
 4597|      1|    cond = PyObject_SetAttrString(state->withitem_type, "__annotations__",
 4598|      1|                                  withitem_annotations) == 0;
 4599|      1|    if (!cond) {
  ------------------
  |  Branch (4599:9): [True: 0, False: 1]
  ------------------
 4600|      0|        Py_DECREF(withitem_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4601|      0|        return 0;
 4602|      0|    }
 4603|      1|    Py_DECREF(withitem_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4604|      1|    PyObject *match_case_annotations = PyDict_New();
 4605|      1|    if (!match_case_annotations) return 0;
  ------------------
  |  Branch (4605:9): [True: 0, False: 1]
  ------------------
 4606|      1|    {
 4607|      1|        PyObject *type = state->pattern_type;
 4608|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4609|      1|        cond = PyDict_SetItemString(match_case_annotations, "pattern", type) ==
 4610|      1|                                    0;
 4611|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4612|      1|        if (!cond) {
  ------------------
  |  Branch (4612:13): [True: 0, False: 1]
  ------------------
 4613|      0|            Py_DECREF(match_case_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4614|      0|            return 0;
 4615|      0|        }
 4616|      1|    }
 4617|      1|    {
 4618|      1|        PyObject *type = state->expr_type;
 4619|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4620|      1|        cond = type != NULL;
 4621|      1|        if (!cond) {
  ------------------
  |  Branch (4621:13): [True: 0, False: 1]
  ------------------
 4622|      0|            Py_DECREF(match_case_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4623|      0|            return 0;
 4624|      0|        }
 4625|      1|        cond = PyDict_SetItemString(match_case_annotations, "guard", type) == 0;
 4626|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4627|      1|        if (!cond) {
  ------------------
  |  Branch (4627:13): [True: 0, False: 1]
  ------------------
 4628|      0|            Py_DECREF(match_case_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4629|      0|            return 0;
 4630|      0|        }
 4631|      1|    }
 4632|      1|    {
 4633|      1|        PyObject *type = state->stmt_type;
 4634|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4635|      1|        cond = type != NULL;
 4636|      1|        if (!cond) {
  ------------------
  |  Branch (4636:13): [True: 0, False: 1]
  ------------------
 4637|      0|            Py_DECREF(match_case_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4638|      0|            return 0;
 4639|      0|        }
 4640|      1|        cond = PyDict_SetItemString(match_case_annotations, "body", type) == 0;
 4641|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4642|      1|        if (!cond) {
  ------------------
  |  Branch (4642:13): [True: 0, False: 1]
  ------------------
 4643|      0|            Py_DECREF(match_case_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4644|      0|            return 0;
 4645|      0|        }
 4646|      1|    }
 4647|      1|    cond = PyObject_SetAttrString(state->match_case_type, "_field_types",
 4648|      1|                                  match_case_annotations) == 0;
 4649|      1|    if (!cond) {
  ------------------
  |  Branch (4649:9): [True: 0, False: 1]
  ------------------
 4650|      0|        Py_DECREF(match_case_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4651|      0|        return 0;
 4652|      0|    }
 4653|      1|    cond = PyObject_SetAttrString(state->match_case_type, "__annotations__",
 4654|      1|                                  match_case_annotations) == 0;
 4655|      1|    if (!cond) {
  ------------------
  |  Branch (4655:9): [True: 0, False: 1]
  ------------------
 4656|      0|        Py_DECREF(match_case_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4657|      0|        return 0;
 4658|      0|    }
 4659|      1|    Py_DECREF(match_case_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4660|      1|    PyObject *MatchValue_annotations = PyDict_New();
 4661|      1|    if (!MatchValue_annotations) return 0;
  ------------------
  |  Branch (4661:9): [True: 0, False: 1]
  ------------------
 4662|      1|    {
 4663|      1|        PyObject *type = state->expr_type;
 4664|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4665|      1|        cond = PyDict_SetItemString(MatchValue_annotations, "value", type) == 0;
 4666|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4667|      1|        if (!cond) {
  ------------------
  |  Branch (4667:13): [True: 0, False: 1]
  ------------------
 4668|      0|            Py_DECREF(MatchValue_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4669|      0|            return 0;
 4670|      0|        }
 4671|      1|    }
 4672|      1|    cond = PyObject_SetAttrString(state->MatchValue_type, "_field_types",
 4673|      1|                                  MatchValue_annotations) == 0;
 4674|      1|    if (!cond) {
  ------------------
  |  Branch (4674:9): [True: 0, False: 1]
  ------------------
 4675|      0|        Py_DECREF(MatchValue_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4676|      0|        return 0;
 4677|      0|    }
 4678|      1|    cond = PyObject_SetAttrString(state->MatchValue_type, "__annotations__",
 4679|      1|                                  MatchValue_annotations) == 0;
 4680|      1|    if (!cond) {
  ------------------
  |  Branch (4680:9): [True: 0, False: 1]
  ------------------
 4681|      0|        Py_DECREF(MatchValue_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4682|      0|        return 0;
 4683|      0|    }
 4684|      1|    Py_DECREF(MatchValue_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4685|      1|    PyObject *MatchSingleton_annotations = PyDict_New();
 4686|      1|    if (!MatchSingleton_annotations) return 0;
  ------------------
  |  Branch (4686:9): [True: 0, False: 1]
  ------------------
 4687|      1|    {
 4688|      1|        PyObject *type = (PyObject *)&PyBaseObject_Type;
 4689|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4690|      1|        cond = PyDict_SetItemString(MatchSingleton_annotations, "value", type)
 4691|      1|                                    == 0;
 4692|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4693|      1|        if (!cond) {
  ------------------
  |  Branch (4693:13): [True: 0, False: 1]
  ------------------
 4694|      0|            Py_DECREF(MatchSingleton_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4695|      0|            return 0;
 4696|      0|        }
 4697|      1|    }
 4698|      1|    cond = PyObject_SetAttrString(state->MatchSingleton_type, "_field_types",
 4699|      1|                                  MatchSingleton_annotations) == 0;
 4700|      1|    if (!cond) {
  ------------------
  |  Branch (4700:9): [True: 0, False: 1]
  ------------------
 4701|      0|        Py_DECREF(MatchSingleton_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4702|      0|        return 0;
 4703|      0|    }
 4704|      1|    cond = PyObject_SetAttrString(state->MatchSingleton_type,
 4705|      1|                                  "__annotations__",
 4706|      1|                                  MatchSingleton_annotations) == 0;
 4707|      1|    if (!cond) {
  ------------------
  |  Branch (4707:9): [True: 0, False: 1]
  ------------------
 4708|      0|        Py_DECREF(MatchSingleton_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4709|      0|        return 0;
 4710|      0|    }
 4711|      1|    Py_DECREF(MatchSingleton_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4712|      1|    PyObject *MatchSequence_annotations = PyDict_New();
 4713|      1|    if (!MatchSequence_annotations) return 0;
  ------------------
  |  Branch (4713:9): [True: 0, False: 1]
  ------------------
 4714|      1|    {
 4715|      1|        PyObject *type = state->pattern_type;
 4716|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4717|      1|        cond = type != NULL;
 4718|      1|        if (!cond) {
  ------------------
  |  Branch (4718:13): [True: 0, False: 1]
  ------------------
 4719|      0|            Py_DECREF(MatchSequence_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4720|      0|            return 0;
 4721|      0|        }
 4722|      1|        cond = PyDict_SetItemString(MatchSequence_annotations, "patterns",
 4723|      1|                                    type) == 0;
 4724|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4725|      1|        if (!cond) {
  ------------------
  |  Branch (4725:13): [True: 0, False: 1]
  ------------------
 4726|      0|            Py_DECREF(MatchSequence_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4727|      0|            return 0;
 4728|      0|        }
 4729|      1|    }
 4730|      1|    cond = PyObject_SetAttrString(state->MatchSequence_type, "_field_types",
 4731|      1|                                  MatchSequence_annotations) == 0;
 4732|      1|    if (!cond) {
  ------------------
  |  Branch (4732:9): [True: 0, False: 1]
  ------------------
 4733|      0|        Py_DECREF(MatchSequence_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4734|      0|        return 0;
 4735|      0|    }
 4736|      1|    cond = PyObject_SetAttrString(state->MatchSequence_type, "__annotations__",
 4737|      1|                                  MatchSequence_annotations) == 0;
 4738|      1|    if (!cond) {
  ------------------
  |  Branch (4738:9): [True: 0, False: 1]
  ------------------
 4739|      0|        Py_DECREF(MatchSequence_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4740|      0|        return 0;
 4741|      0|    }
 4742|      1|    Py_DECREF(MatchSequence_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4743|      1|    PyObject *MatchMapping_annotations = PyDict_New();
 4744|      1|    if (!MatchMapping_annotations) return 0;
  ------------------
  |  Branch (4744:9): [True: 0, False: 1]
  ------------------
 4745|      1|    {
 4746|      1|        PyObject *type = state->expr_type;
 4747|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4748|      1|        cond = type != NULL;
 4749|      1|        if (!cond) {
  ------------------
  |  Branch (4749:13): [True: 0, False: 1]
  ------------------
 4750|      0|            Py_DECREF(MatchMapping_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4751|      0|            return 0;
 4752|      0|        }
 4753|      1|        cond = PyDict_SetItemString(MatchMapping_annotations, "keys", type) ==
 4754|      1|                                    0;
 4755|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4756|      1|        if (!cond) {
  ------------------
  |  Branch (4756:13): [True: 0, False: 1]
  ------------------
 4757|      0|            Py_DECREF(MatchMapping_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4758|      0|            return 0;
 4759|      0|        }
 4760|      1|    }
 4761|      1|    {
 4762|      1|        PyObject *type = state->pattern_type;
 4763|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4764|      1|        cond = type != NULL;
 4765|      1|        if (!cond) {
  ------------------
  |  Branch (4765:13): [True: 0, False: 1]
  ------------------
 4766|      0|            Py_DECREF(MatchMapping_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4767|      0|            return 0;
 4768|      0|        }
 4769|      1|        cond = PyDict_SetItemString(MatchMapping_annotations, "patterns", type)
 4770|      1|                                    == 0;
 4771|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4772|      1|        if (!cond) {
  ------------------
  |  Branch (4772:13): [True: 0, False: 1]
  ------------------
 4773|      0|            Py_DECREF(MatchMapping_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4774|      0|            return 0;
 4775|      0|        }
 4776|      1|    }
 4777|      1|    {
 4778|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 4779|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4780|      1|        cond = type != NULL;
 4781|      1|        if (!cond) {
  ------------------
  |  Branch (4781:13): [True: 0, False: 1]
  ------------------
 4782|      0|            Py_DECREF(MatchMapping_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4783|      0|            return 0;
 4784|      0|        }
 4785|      1|        cond = PyDict_SetItemString(MatchMapping_annotations, "rest", type) ==
 4786|      1|                                    0;
 4787|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4788|      1|        if (!cond) {
  ------------------
  |  Branch (4788:13): [True: 0, False: 1]
  ------------------
 4789|      0|            Py_DECREF(MatchMapping_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4790|      0|            return 0;
 4791|      0|        }
 4792|      1|    }
 4793|      1|    cond = PyObject_SetAttrString(state->MatchMapping_type, "_field_types",
 4794|      1|                                  MatchMapping_annotations) == 0;
 4795|      1|    if (!cond) {
  ------------------
  |  Branch (4795:9): [True: 0, False: 1]
  ------------------
 4796|      0|        Py_DECREF(MatchMapping_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4797|      0|        return 0;
 4798|      0|    }
 4799|      1|    cond = PyObject_SetAttrString(state->MatchMapping_type, "__annotations__",
 4800|      1|                                  MatchMapping_annotations) == 0;
 4801|      1|    if (!cond) {
  ------------------
  |  Branch (4801:9): [True: 0, False: 1]
  ------------------
 4802|      0|        Py_DECREF(MatchMapping_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4803|      0|        return 0;
 4804|      0|    }
 4805|      1|    Py_DECREF(MatchMapping_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4806|      1|    PyObject *MatchClass_annotations = PyDict_New();
 4807|      1|    if (!MatchClass_annotations) return 0;
  ------------------
  |  Branch (4807:9): [True: 0, False: 1]
  ------------------
 4808|      1|    {
 4809|      1|        PyObject *type = state->expr_type;
 4810|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4811|      1|        cond = PyDict_SetItemString(MatchClass_annotations, "cls", type) == 0;
 4812|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4813|      1|        if (!cond) {
  ------------------
  |  Branch (4813:13): [True: 0, False: 1]
  ------------------
 4814|      0|            Py_DECREF(MatchClass_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4815|      0|            return 0;
 4816|      0|        }
 4817|      1|    }
 4818|      1|    {
 4819|      1|        PyObject *type = state->pattern_type;
 4820|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4821|      1|        cond = type != NULL;
 4822|      1|        if (!cond) {
  ------------------
  |  Branch (4822:13): [True: 0, False: 1]
  ------------------
 4823|      0|            Py_DECREF(MatchClass_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4824|      0|            return 0;
 4825|      0|        }
 4826|      1|        cond = PyDict_SetItemString(MatchClass_annotations, "patterns", type)
 4827|      1|                                    == 0;
 4828|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4829|      1|        if (!cond) {
  ------------------
  |  Branch (4829:13): [True: 0, False: 1]
  ------------------
 4830|      0|            Py_DECREF(MatchClass_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4831|      0|            return 0;
 4832|      0|        }
 4833|      1|    }
 4834|      1|    {
 4835|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 4836|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4837|      1|        cond = type != NULL;
 4838|      1|        if (!cond) {
  ------------------
  |  Branch (4838:13): [True: 0, False: 1]
  ------------------
 4839|      0|            Py_DECREF(MatchClass_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4840|      0|            return 0;
 4841|      0|        }
 4842|      1|        cond = PyDict_SetItemString(MatchClass_annotations, "kwd_attrs", type)
 4843|      1|                                    == 0;
 4844|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4845|      1|        if (!cond) {
  ------------------
  |  Branch (4845:13): [True: 0, False: 1]
  ------------------
 4846|      0|            Py_DECREF(MatchClass_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4847|      0|            return 0;
 4848|      0|        }
 4849|      1|    }
 4850|      1|    {
 4851|      1|        PyObject *type = state->pattern_type;
 4852|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4853|      1|        cond = type != NULL;
 4854|      1|        if (!cond) {
  ------------------
  |  Branch (4854:13): [True: 0, False: 1]
  ------------------
 4855|      0|            Py_DECREF(MatchClass_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4856|      0|            return 0;
 4857|      0|        }
 4858|      1|        cond = PyDict_SetItemString(MatchClass_annotations, "kwd_patterns",
 4859|      1|                                    type) == 0;
 4860|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4861|      1|        if (!cond) {
  ------------------
  |  Branch (4861:13): [True: 0, False: 1]
  ------------------
 4862|      0|            Py_DECREF(MatchClass_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4863|      0|            return 0;
 4864|      0|        }
 4865|      1|    }
 4866|      1|    cond = PyObject_SetAttrString(state->MatchClass_type, "_field_types",
 4867|      1|                                  MatchClass_annotations) == 0;
 4868|      1|    if (!cond) {
  ------------------
  |  Branch (4868:9): [True: 0, False: 1]
  ------------------
 4869|      0|        Py_DECREF(MatchClass_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4870|      0|        return 0;
 4871|      0|    }
 4872|      1|    cond = PyObject_SetAttrString(state->MatchClass_type, "__annotations__",
 4873|      1|                                  MatchClass_annotations) == 0;
 4874|      1|    if (!cond) {
  ------------------
  |  Branch (4874:9): [True: 0, False: 1]
  ------------------
 4875|      0|        Py_DECREF(MatchClass_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4876|      0|        return 0;
 4877|      0|    }
 4878|      1|    Py_DECREF(MatchClass_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4879|      1|    PyObject *MatchStar_annotations = PyDict_New();
 4880|      1|    if (!MatchStar_annotations) return 0;
  ------------------
  |  Branch (4880:9): [True: 0, False: 1]
  ------------------
 4881|      1|    {
 4882|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 4883|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4884|      1|        cond = type != NULL;
 4885|      1|        if (!cond) {
  ------------------
  |  Branch (4885:13): [True: 0, False: 1]
  ------------------
 4886|      0|            Py_DECREF(MatchStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4887|      0|            return 0;
 4888|      0|        }
 4889|      1|        cond = PyDict_SetItemString(MatchStar_annotations, "name", type) == 0;
 4890|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4891|      1|        if (!cond) {
  ------------------
  |  Branch (4891:13): [True: 0, False: 1]
  ------------------
 4892|      0|            Py_DECREF(MatchStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4893|      0|            return 0;
 4894|      0|        }
 4895|      1|    }
 4896|      1|    cond = PyObject_SetAttrString(state->MatchStar_type, "_field_types",
 4897|      1|                                  MatchStar_annotations) == 0;
 4898|      1|    if (!cond) {
  ------------------
  |  Branch (4898:9): [True: 0, False: 1]
  ------------------
 4899|      0|        Py_DECREF(MatchStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4900|      0|        return 0;
 4901|      0|    }
 4902|      1|    cond = PyObject_SetAttrString(state->MatchStar_type, "__annotations__",
 4903|      1|                                  MatchStar_annotations) == 0;
 4904|      1|    if (!cond) {
  ------------------
  |  Branch (4904:9): [True: 0, False: 1]
  ------------------
 4905|      0|        Py_DECREF(MatchStar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4906|      0|        return 0;
 4907|      0|    }
 4908|      1|    Py_DECREF(MatchStar_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4909|      1|    PyObject *MatchAs_annotations = PyDict_New();
 4910|      1|    if (!MatchAs_annotations) return 0;
  ------------------
  |  Branch (4910:9): [True: 0, False: 1]
  ------------------
 4911|      1|    {
 4912|      1|        PyObject *type = state->pattern_type;
 4913|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4914|      1|        cond = type != NULL;
 4915|      1|        if (!cond) {
  ------------------
  |  Branch (4915:13): [True: 0, False: 1]
  ------------------
 4916|      0|            Py_DECREF(MatchAs_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4917|      0|            return 0;
 4918|      0|        }
 4919|      1|        cond = PyDict_SetItemString(MatchAs_annotations, "pattern", type) == 0;
 4920|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4921|      1|        if (!cond) {
  ------------------
  |  Branch (4921:13): [True: 0, False: 1]
  ------------------
 4922|      0|            Py_DECREF(MatchAs_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4923|      0|            return 0;
 4924|      0|        }
 4925|      1|    }
 4926|      1|    {
 4927|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 4928|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4929|      1|        cond = type != NULL;
 4930|      1|        if (!cond) {
  ------------------
  |  Branch (4930:13): [True: 0, False: 1]
  ------------------
 4931|      0|            Py_DECREF(MatchAs_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4932|      0|            return 0;
 4933|      0|        }
 4934|      1|        cond = PyDict_SetItemString(MatchAs_annotations, "name", type) == 0;
 4935|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4936|      1|        if (!cond) {
  ------------------
  |  Branch (4936:13): [True: 0, False: 1]
  ------------------
 4937|      0|            Py_DECREF(MatchAs_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4938|      0|            return 0;
 4939|      0|        }
 4940|      1|    }
 4941|      1|    cond = PyObject_SetAttrString(state->MatchAs_type, "_field_types",
 4942|      1|                                  MatchAs_annotations) == 0;
 4943|      1|    if (!cond) {
  ------------------
  |  Branch (4943:9): [True: 0, False: 1]
  ------------------
 4944|      0|        Py_DECREF(MatchAs_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4945|      0|        return 0;
 4946|      0|    }
 4947|      1|    cond = PyObject_SetAttrString(state->MatchAs_type, "__annotations__",
 4948|      1|                                  MatchAs_annotations) == 0;
 4949|      1|    if (!cond) {
  ------------------
  |  Branch (4949:9): [True: 0, False: 1]
  ------------------
 4950|      0|        Py_DECREF(MatchAs_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4951|      0|        return 0;
 4952|      0|    }
 4953|      1|    Py_DECREF(MatchAs_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4954|      1|    PyObject *MatchOr_annotations = PyDict_New();
 4955|      1|    if (!MatchOr_annotations) return 0;
  ------------------
  |  Branch (4955:9): [True: 0, False: 1]
  ------------------
 4956|      1|    {
 4957|      1|        PyObject *type = state->pattern_type;
 4958|      1|        type = Py_GenericAlias((PyObject *)&PyList_Type, type);
 4959|      1|        cond = type != NULL;
 4960|      1|        if (!cond) {
  ------------------
  |  Branch (4960:13): [True: 0, False: 1]
  ------------------
 4961|      0|            Py_DECREF(MatchOr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4962|      0|            return 0;
 4963|      0|        }
 4964|      1|        cond = PyDict_SetItemString(MatchOr_annotations, "patterns", type) == 0;
 4965|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4966|      1|        if (!cond) {
  ------------------
  |  Branch (4966:13): [True: 0, False: 1]
  ------------------
 4967|      0|            Py_DECREF(MatchOr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4968|      0|            return 0;
 4969|      0|        }
 4970|      1|    }
 4971|      1|    cond = PyObject_SetAttrString(state->MatchOr_type, "_field_types",
 4972|      1|                                  MatchOr_annotations) == 0;
 4973|      1|    if (!cond) {
  ------------------
  |  Branch (4973:9): [True: 0, False: 1]
  ------------------
 4974|      0|        Py_DECREF(MatchOr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4975|      0|        return 0;
 4976|      0|    }
 4977|      1|    cond = PyObject_SetAttrString(state->MatchOr_type, "__annotations__",
 4978|      1|                                  MatchOr_annotations) == 0;
 4979|      1|    if (!cond) {
  ------------------
  |  Branch (4979:9): [True: 0, False: 1]
  ------------------
 4980|      0|        Py_DECREF(MatchOr_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4981|      0|        return 0;
 4982|      0|    }
 4983|      1|    Py_DECREF(MatchOr_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4984|      1|    PyObject *TypeIgnore_annotations = PyDict_New();
 4985|      1|    if (!TypeIgnore_annotations) return 0;
  ------------------
  |  Branch (4985:9): [True: 0, False: 1]
  ------------------
 4986|      1|    {
 4987|      1|        PyObject *type = (PyObject *)&PyLong_Type;
 4988|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4989|      1|        cond = PyDict_SetItemString(TypeIgnore_annotations, "lineno", type) ==
 4990|      1|                                    0;
 4991|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4992|      1|        if (!cond) {
  ------------------
  |  Branch (4992:13): [True: 0, False: 1]
  ------------------
 4993|      0|            Py_DECREF(TypeIgnore_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4994|      0|            return 0;
 4995|      0|        }
 4996|      1|    }
 4997|      1|    {
 4998|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 4999|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5000|      1|        cond = PyDict_SetItemString(TypeIgnore_annotations, "tag", type) == 0;
 5001|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5002|      1|        if (!cond) {
  ------------------
  |  Branch (5002:13): [True: 0, False: 1]
  ------------------
 5003|      0|            Py_DECREF(TypeIgnore_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5004|      0|            return 0;
 5005|      0|        }
 5006|      1|    }
 5007|      1|    cond = PyObject_SetAttrString(state->TypeIgnore_type, "_field_types",
 5008|      1|                                  TypeIgnore_annotations) == 0;
 5009|      1|    if (!cond) {
  ------------------
  |  Branch (5009:9): [True: 0, False: 1]
  ------------------
 5010|      0|        Py_DECREF(TypeIgnore_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5011|      0|        return 0;
 5012|      0|    }
 5013|      1|    cond = PyObject_SetAttrString(state->TypeIgnore_type, "__annotations__",
 5014|      1|                                  TypeIgnore_annotations) == 0;
 5015|      1|    if (!cond) {
  ------------------
  |  Branch (5015:9): [True: 0, False: 1]
  ------------------
 5016|      0|        Py_DECREF(TypeIgnore_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5017|      0|        return 0;
 5018|      0|    }
 5019|      1|    Py_DECREF(TypeIgnore_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5020|      1|    PyObject *TypeVar_annotations = PyDict_New();
 5021|      1|    if (!TypeVar_annotations) return 0;
  ------------------
  |  Branch (5021:9): [True: 0, False: 1]
  ------------------
 5022|      1|    {
 5023|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 5024|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5025|      1|        cond = PyDict_SetItemString(TypeVar_annotations, "name", type) == 0;
 5026|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5027|      1|        if (!cond) {
  ------------------
  |  Branch (5027:13): [True: 0, False: 1]
  ------------------
 5028|      0|            Py_DECREF(TypeVar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5029|      0|            return 0;
 5030|      0|        }
 5031|      1|    }
 5032|      1|    {
 5033|      1|        PyObject *type = state->expr_type;
 5034|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 5035|      1|        cond = type != NULL;
 5036|      1|        if (!cond) {
  ------------------
  |  Branch (5036:13): [True: 0, False: 1]
  ------------------
 5037|      0|            Py_DECREF(TypeVar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5038|      0|            return 0;
 5039|      0|        }
 5040|      1|        cond = PyDict_SetItemString(TypeVar_annotations, "bound", type) == 0;
 5041|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5042|      1|        if (!cond) {
  ------------------
  |  Branch (5042:13): [True: 0, False: 1]
  ------------------
 5043|      0|            Py_DECREF(TypeVar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5044|      0|            return 0;
 5045|      0|        }
 5046|      1|    }
 5047|      1|    {
 5048|      1|        PyObject *type = state->expr_type;
 5049|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 5050|      1|        cond = type != NULL;
 5051|      1|        if (!cond) {
  ------------------
  |  Branch (5051:13): [True: 0, False: 1]
  ------------------
 5052|      0|            Py_DECREF(TypeVar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5053|      0|            return 0;
 5054|      0|        }
 5055|      1|        cond = PyDict_SetItemString(TypeVar_annotations, "default_value", type)
 5056|      1|                                    == 0;
 5057|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5058|      1|        if (!cond) {
  ------------------
  |  Branch (5058:13): [True: 0, False: 1]
  ------------------
 5059|      0|            Py_DECREF(TypeVar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5060|      0|            return 0;
 5061|      0|        }
 5062|      1|    }
 5063|      1|    cond = PyObject_SetAttrString(state->TypeVar_type, "_field_types",
 5064|      1|                                  TypeVar_annotations) == 0;
 5065|      1|    if (!cond) {
  ------------------
  |  Branch (5065:9): [True: 0, False: 1]
  ------------------
 5066|      0|        Py_DECREF(TypeVar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5067|      0|        return 0;
 5068|      0|    }
 5069|      1|    cond = PyObject_SetAttrString(state->TypeVar_type, "__annotations__",
 5070|      1|                                  TypeVar_annotations) == 0;
 5071|      1|    if (!cond) {
  ------------------
  |  Branch (5071:9): [True: 0, False: 1]
  ------------------
 5072|      0|        Py_DECREF(TypeVar_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5073|      0|        return 0;
 5074|      0|    }
 5075|      1|    Py_DECREF(TypeVar_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5076|      1|    PyObject *ParamSpec_annotations = PyDict_New();
 5077|      1|    if (!ParamSpec_annotations) return 0;
  ------------------
  |  Branch (5077:9): [True: 0, False: 1]
  ------------------
 5078|      1|    {
 5079|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 5080|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5081|      1|        cond = PyDict_SetItemString(ParamSpec_annotations, "name", type) == 0;
 5082|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5083|      1|        if (!cond) {
  ------------------
  |  Branch (5083:13): [True: 0, False: 1]
  ------------------
 5084|      0|            Py_DECREF(ParamSpec_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5085|      0|            return 0;
 5086|      0|        }
 5087|      1|    }
 5088|      1|    {
 5089|      1|        PyObject *type = state->expr_type;
 5090|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 5091|      1|        cond = type != NULL;
 5092|      1|        if (!cond) {
  ------------------
  |  Branch (5092:13): [True: 0, False: 1]
  ------------------
 5093|      0|            Py_DECREF(ParamSpec_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5094|      0|            return 0;
 5095|      0|        }
 5096|      1|        cond = PyDict_SetItemString(ParamSpec_annotations, "default_value",
 5097|      1|                                    type) == 0;
 5098|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5099|      1|        if (!cond) {
  ------------------
  |  Branch (5099:13): [True: 0, False: 1]
  ------------------
 5100|      0|            Py_DECREF(ParamSpec_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5101|      0|            return 0;
 5102|      0|        }
 5103|      1|    }
 5104|      1|    cond = PyObject_SetAttrString(state->ParamSpec_type, "_field_types",
 5105|      1|                                  ParamSpec_annotations) == 0;
 5106|      1|    if (!cond) {
  ------------------
  |  Branch (5106:9): [True: 0, False: 1]
  ------------------
 5107|      0|        Py_DECREF(ParamSpec_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5108|      0|        return 0;
 5109|      0|    }
 5110|      1|    cond = PyObject_SetAttrString(state->ParamSpec_type, "__annotations__",
 5111|      1|                                  ParamSpec_annotations) == 0;
 5112|      1|    if (!cond) {
  ------------------
  |  Branch (5112:9): [True: 0, False: 1]
  ------------------
 5113|      0|        Py_DECREF(ParamSpec_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5114|      0|        return 0;
 5115|      0|    }
 5116|      1|    Py_DECREF(ParamSpec_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5117|      1|    PyObject *TypeVarTuple_annotations = PyDict_New();
 5118|      1|    if (!TypeVarTuple_annotations) return 0;
  ------------------
  |  Branch (5118:9): [True: 0, False: 1]
  ------------------
 5119|      1|    {
 5120|      1|        PyObject *type = (PyObject *)&PyUnicode_Type;
 5121|      1|        Py_INCREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5122|      1|        cond = PyDict_SetItemString(TypeVarTuple_annotations, "name", type) ==
 5123|      1|                                    0;
 5124|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5125|      1|        if (!cond) {
  ------------------
  |  Branch (5125:13): [True: 0, False: 1]
  ------------------
 5126|      0|            Py_DECREF(TypeVarTuple_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5127|      0|            return 0;
 5128|      0|        }
 5129|      1|    }
 5130|      1|    {
 5131|      1|        PyObject *type = state->expr_type;
 5132|      1|        type = _Py_union_type_or(type, Py_None);
  ------------------
  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  ------------------
 5133|      1|        cond = type != NULL;
 5134|      1|        if (!cond) {
  ------------------
  |  Branch (5134:13): [True: 0, False: 1]
  ------------------
 5135|      0|            Py_DECREF(TypeVarTuple_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5136|      0|            return 0;
 5137|      0|        }
 5138|      1|        cond = PyDict_SetItemString(TypeVarTuple_annotations, "default_value",
 5139|      1|                                    type) == 0;
 5140|      1|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5141|      1|        if (!cond) {
  ------------------
  |  Branch (5141:13): [True: 0, False: 1]
  ------------------
 5142|      0|            Py_DECREF(TypeVarTuple_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5143|      0|            return 0;
 5144|      0|        }
 5145|      1|    }
 5146|      1|    cond = PyObject_SetAttrString(state->TypeVarTuple_type, "_field_types",
 5147|      1|                                  TypeVarTuple_annotations) == 0;
 5148|      1|    if (!cond) {
  ------------------
  |  Branch (5148:9): [True: 0, False: 1]
  ------------------
 5149|      0|        Py_DECREF(TypeVarTuple_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5150|      0|        return 0;
 5151|      0|    }
 5152|      1|    cond = PyObject_SetAttrString(state->TypeVarTuple_type, "__annotations__",
 5153|      1|                                  TypeVarTuple_annotations) == 0;
 5154|      1|    if (!cond) {
  ------------------
  |  Branch (5154:9): [True: 0, False: 1]
  ------------------
 5155|      0|        Py_DECREF(TypeVarTuple_annotations);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5156|      0|        return 0;
 5157|      0|    }
 5158|      1|    Py_DECREF(TypeVarTuple_annotations);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5159|       |
 5160|      1|    return 1;
 5161|      1|}
Python-ast.c:ast2obj_mod:
 8870|  1.87k|{
 8871|  1.87k|    mod_ty o = (mod_ty)_o;
 8872|  1.87k|    PyObject *result = NULL, *value = NULL;
 8873|  1.87k|    PyTypeObject *tp;
 8874|  1.87k|    if (!o) {
  ------------------
  |  Branch (8874:9): [True: 0, False: 1.87k]
  ------------------
 8875|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 8876|      0|    }
 8877|  1.87k|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (8877:9): [True: 0, False: 1.87k]
  ------------------
 8878|      0|        return NULL;
 8879|      0|    }
 8880|  1.87k|    switch (o->kind) {
  ------------------
  |  Branch (8880:13): [True: 1.87k, False: 0]
  ------------------
 8881|  1.29k|    case Module_kind:
  ------------------
  |  Branch (8881:5): [True: 1.29k, False: 580]
  ------------------
 8882|  1.29k|        tp = (PyTypeObject *)state->Module_type;
 8883|  1.29k|        result = PyType_GenericNew(tp, NULL, NULL);
 8884|  1.29k|        if (!result) goto failed;
  ------------------
  |  Branch (8884:13): [True: 0, False: 1.29k]
  ------------------
 8885|  1.29k|        value = ast2obj_list(state, (asdl_seq*)o->v.Module.body, ast2obj_stmt);
 8886|  1.29k|        if (!value) goto failed;
  ------------------
  |  Branch (8886:13): [True: 0, False: 1.29k]
  ------------------
 8887|  1.29k|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (8887:13): [True: 0, False: 1.29k]
  ------------------
 8888|      0|            goto failed;
 8889|  1.29k|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8890|  1.29k|        value = ast2obj_list(state, (asdl_seq*)o->v.Module.type_ignores,
 8891|  1.29k|                             ast2obj_type_ignore);
 8892|  1.29k|        if (!value) goto failed;
  ------------------
  |  Branch (8892:13): [True: 0, False: 1.29k]
  ------------------
 8893|  1.29k|        if (PyObject_SetAttr(result, state->type_ignores, value) == -1)
  ------------------
  |  Branch (8893:13): [True: 0, False: 1.29k]
  ------------------
 8894|      0|            goto failed;
 8895|  1.29k|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8896|  1.29k|        break;
 8897|    382|    case Interactive_kind:
  ------------------
  |  Branch (8897:5): [True: 382, False: 1.49k]
  ------------------
 8898|    382|        tp = (PyTypeObject *)state->Interactive_type;
 8899|    382|        result = PyType_GenericNew(tp, NULL, NULL);
 8900|    382|        if (!result) goto failed;
  ------------------
  |  Branch (8900:13): [True: 0, False: 382]
  ------------------
 8901|    382|        value = ast2obj_list(state, (asdl_seq*)o->v.Interactive.body,
 8902|    382|                             ast2obj_stmt);
 8903|    382|        if (!value) goto failed;
  ------------------
  |  Branch (8903:13): [True: 0, False: 382]
  ------------------
 8904|    382|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (8904:13): [True: 0, False: 382]
  ------------------
 8905|      0|            goto failed;
 8906|    382|        Py_DECREF(value);
  ------------------
  |  |  430|    382|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    382|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    382|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8907|    382|        break;
 8908|    198|    case Expression_kind:
  ------------------
  |  Branch (8908:5): [True: 198, False: 1.67k]
  ------------------
 8909|    198|        tp = (PyTypeObject *)state->Expression_type;
 8910|    198|        result = PyType_GenericNew(tp, NULL, NULL);
 8911|    198|        if (!result) goto failed;
  ------------------
  |  Branch (8911:13): [True: 0, False: 198]
  ------------------
 8912|    198|        value = ast2obj_expr(state, o->v.Expression.body);
 8913|    198|        if (!value) goto failed;
  ------------------
  |  Branch (8913:13): [True: 0, False: 198]
  ------------------
 8914|    198|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (8914:13): [True: 0, False: 198]
  ------------------
 8915|      0|            goto failed;
 8916|    198|        Py_DECREF(value);
  ------------------
  |  |  430|    198|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    198|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    198|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8917|    198|        break;
 8918|      0|    case FunctionType_kind:
  ------------------
  |  Branch (8918:5): [True: 0, False: 1.87k]
  ------------------
 8919|      0|        tp = (PyTypeObject *)state->FunctionType_type;
 8920|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 8921|      0|        if (!result) goto failed;
  ------------------
  |  Branch (8921:13): [True: 0, False: 0]
  ------------------
 8922|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.FunctionType.argtypes,
 8923|      0|                             ast2obj_expr);
 8924|      0|        if (!value) goto failed;
  ------------------
  |  Branch (8924:13): [True: 0, False: 0]
  ------------------
 8925|      0|        if (PyObject_SetAttr(result, state->argtypes, value) == -1)
  ------------------
  |  Branch (8925:13): [True: 0, False: 0]
  ------------------
 8926|      0|            goto failed;
 8927|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8928|      0|        value = ast2obj_expr(state, o->v.FunctionType.returns);
 8929|      0|        if (!value) goto failed;
  ------------------
  |  Branch (8929:13): [True: 0, False: 0]
  ------------------
 8930|      0|        if (PyObject_SetAttr(result, state->returns, value) == -1)
  ------------------
  |  Branch (8930:13): [True: 0, False: 0]
  ------------------
 8931|      0|            goto failed;
 8932|      0|        Py_DECREF(value);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8933|      0|        break;
 8934|  1.87k|    }
 8935|  1.87k|    Py_LeaveRecursiveCall();
 8936|  1.87k|    return result;
 8937|      0|failed:
 8938|      0|    Py_LeaveRecursiveCall();
 8939|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8940|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8941|       |    return NULL;
 8942|  1.87k|}
Python-ast.c:ast2obj_list:
 5992|  63.5k|{
 5993|  63.5k|    Py_ssize_t i, n = asdl_seq_LEN(seq);
  ------------------
  |  |   83|  63.5k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|   127k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 17.9k, False: 45.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5994|  63.5k|    PyObject *result = PyList_New(n);
 5995|  63.5k|    PyObject *value;
 5996|  63.5k|    if (!result)
  ------------------
  |  Branch (5996:9): [True: 0, False: 63.5k]
  ------------------
 5997|      0|        return NULL;
 5998|   186k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (5998:17): [True: 123k, False: 63.5k]
  ------------------
 5999|   123k|        value = func(state, asdl_seq_GET_UNTYPED(seq, i));
  ------------------
  |  |   81|   123k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|   123k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6000|   123k|        if (!value) {
  ------------------
  |  Branch (6000:13): [True: 0, False: 123k]
  ------------------
 6001|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6002|      0|            return NULL;
 6003|      0|        }
 6004|   123k|        PyList_SET_ITEM(result, i, value);
  ------------------
  |  |   50|   123k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   123k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   123k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   123k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   123k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6005|   123k|    }
 6006|  63.5k|    return result;
 6007|  63.5k|}
Python-ast.c:ast2obj_stmt:
 8946|  51.0k|{
 8947|  51.0k|    stmt_ty o = (stmt_ty)_o;
 8948|  51.0k|    PyObject *result = NULL, *value = NULL;
 8949|  51.0k|    PyTypeObject *tp;
 8950|  51.0k|    if (!o) {
  ------------------
  |  Branch (8950:9): [True: 0, False: 51.0k]
  ------------------
 8951|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 8952|      0|    }
 8953|  51.0k|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (8953:9): [True: 0, False: 51.0k]
  ------------------
 8954|      0|        return NULL;
 8955|      0|    }
 8956|  51.0k|    switch (o->kind) {
  ------------------
  |  Branch (8956:13): [True: 51.0k, False: 0]
  ------------------
 8957|  1.13k|    case FunctionDef_kind:
  ------------------
  |  Branch (8957:5): [True: 1.13k, False: 49.9k]
  ------------------
 8958|  1.13k|        tp = (PyTypeObject *)state->FunctionDef_type;
 8959|  1.13k|        result = PyType_GenericNew(tp, NULL, NULL);
 8960|  1.13k|        if (!result) goto failed;
  ------------------
  |  Branch (8960:13): [True: 0, False: 1.13k]
  ------------------
 8961|  1.13k|        value = ast2obj_identifier(state, o->v.FunctionDef.name);
  ------------------
  |  | 6018|  1.13k|#define ast2obj_identifier ast2obj_object
  ------------------
 8962|  1.13k|        if (!value) goto failed;
  ------------------
  |  Branch (8962:13): [True: 0, False: 1.13k]
  ------------------
 8963|  1.13k|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (8963:13): [True: 0, False: 1.13k]
  ------------------
 8964|      0|            goto failed;
 8965|  1.13k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.13k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8966|  1.13k|        value = ast2obj_arguments(state, o->v.FunctionDef.args);
 8967|  1.13k|        if (!value) goto failed;
  ------------------
  |  Branch (8967:13): [True: 0, False: 1.13k]
  ------------------
 8968|  1.13k|        if (PyObject_SetAttr(result, state->args, value) == -1)
  ------------------
  |  Branch (8968:13): [True: 0, False: 1.13k]
  ------------------
 8969|      0|            goto failed;
 8970|  1.13k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.13k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8971|  1.13k|        value = ast2obj_list(state, (asdl_seq*)o->v.FunctionDef.body,
 8972|  1.13k|                             ast2obj_stmt);
 8973|  1.13k|        if (!value) goto failed;
  ------------------
  |  Branch (8973:13): [True: 0, False: 1.13k]
  ------------------
 8974|  1.13k|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (8974:13): [True: 0, False: 1.13k]
  ------------------
 8975|      0|            goto failed;
 8976|  1.13k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.13k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8977|  1.13k|        value = ast2obj_list(state, (asdl_seq*)o->v.FunctionDef.decorator_list,
 8978|  1.13k|                             ast2obj_expr);
 8979|  1.13k|        if (!value) goto failed;
  ------------------
  |  Branch (8979:13): [True: 0, False: 1.13k]
  ------------------
 8980|  1.13k|        if (PyObject_SetAttr(result, state->decorator_list, value) == -1)
  ------------------
  |  Branch (8980:13): [True: 0, False: 1.13k]
  ------------------
 8981|      0|            goto failed;
 8982|  1.13k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.13k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8983|  1.13k|        value = ast2obj_expr(state, o->v.FunctionDef.returns);
 8984|  1.13k|        if (!value) goto failed;
  ------------------
  |  Branch (8984:13): [True: 0, False: 1.13k]
  ------------------
 8985|  1.13k|        if (PyObject_SetAttr(result, state->returns, value) == -1)
  ------------------
  |  Branch (8985:13): [True: 0, False: 1.13k]
  ------------------
 8986|      0|            goto failed;
 8987|  1.13k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.13k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8988|  1.13k|        value = ast2obj_string(state, o->v.FunctionDef.type_comment);
  ------------------
  |  | 6019|  1.13k|#define ast2obj_string ast2obj_object
  ------------------
 8989|  1.13k|        if (!value) goto failed;
  ------------------
  |  Branch (8989:13): [True: 0, False: 1.13k]
  ------------------
 8990|  1.13k|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (8990:13): [True: 0, False: 1.13k]
  ------------------
 8991|      0|            goto failed;
 8992|  1.13k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.13k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8993|  1.13k|        value = ast2obj_list(state, (asdl_seq*)o->v.FunctionDef.type_params,
 8994|  1.13k|                             ast2obj_type_param);
 8995|  1.13k|        if (!value) goto failed;
  ------------------
  |  Branch (8995:13): [True: 0, False: 1.13k]
  ------------------
 8996|  1.13k|        if (PyObject_SetAttr(result, state->type_params, value) == -1)
  ------------------
  |  Branch (8996:13): [True: 0, False: 1.13k]
  ------------------
 8997|      0|            goto failed;
 8998|  1.13k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.13k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8999|  1.13k|        break;
 9000|    711|    case AsyncFunctionDef_kind:
  ------------------
  |  Branch (9000:5): [True: 711, False: 50.3k]
  ------------------
 9001|    711|        tp = (PyTypeObject *)state->AsyncFunctionDef_type;
 9002|    711|        result = PyType_GenericNew(tp, NULL, NULL);
 9003|    711|        if (!result) goto failed;
  ------------------
  |  Branch (9003:13): [True: 0, False: 711]
  ------------------
 9004|    711|        value = ast2obj_identifier(state, o->v.AsyncFunctionDef.name);
  ------------------
  |  | 6018|    711|#define ast2obj_identifier ast2obj_object
  ------------------
 9005|    711|        if (!value) goto failed;
  ------------------
  |  Branch (9005:13): [True: 0, False: 711]
  ------------------
 9006|    711|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (9006:13): [True: 0, False: 711]
  ------------------
 9007|      0|            goto failed;
 9008|    711|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9009|    711|        value = ast2obj_arguments(state, o->v.AsyncFunctionDef.args);
 9010|    711|        if (!value) goto failed;
  ------------------
  |  Branch (9010:13): [True: 0, False: 711]
  ------------------
 9011|    711|        if (PyObject_SetAttr(result, state->args, value) == -1)
  ------------------
  |  Branch (9011:13): [True: 0, False: 711]
  ------------------
 9012|      0|            goto failed;
 9013|    711|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9014|    711|        value = ast2obj_list(state, (asdl_seq*)o->v.AsyncFunctionDef.body,
 9015|    711|                             ast2obj_stmt);
 9016|    711|        if (!value) goto failed;
  ------------------
  |  Branch (9016:13): [True: 0, False: 711]
  ------------------
 9017|    711|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9017:13): [True: 0, False: 711]
  ------------------
 9018|      0|            goto failed;
 9019|    711|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9020|    711|        value = ast2obj_list(state,
 9021|    711|                             (asdl_seq*)o->v.AsyncFunctionDef.decorator_list,
 9022|    711|                             ast2obj_expr);
 9023|    711|        if (!value) goto failed;
  ------------------
  |  Branch (9023:13): [True: 0, False: 711]
  ------------------
 9024|    711|        if (PyObject_SetAttr(result, state->decorator_list, value) == -1)
  ------------------
  |  Branch (9024:13): [True: 0, False: 711]
  ------------------
 9025|      0|            goto failed;
 9026|    711|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9027|    711|        value = ast2obj_expr(state, o->v.AsyncFunctionDef.returns);
 9028|    711|        if (!value) goto failed;
  ------------------
  |  Branch (9028:13): [True: 0, False: 711]
  ------------------
 9029|    711|        if (PyObject_SetAttr(result, state->returns, value) == -1)
  ------------------
  |  Branch (9029:13): [True: 0, False: 711]
  ------------------
 9030|      0|            goto failed;
 9031|    711|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9032|    711|        value = ast2obj_string(state, o->v.AsyncFunctionDef.type_comment);
  ------------------
  |  | 6019|    711|#define ast2obj_string ast2obj_object
  ------------------
 9033|    711|        if (!value) goto failed;
  ------------------
  |  Branch (9033:13): [True: 0, False: 711]
  ------------------
 9034|    711|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (9034:13): [True: 0, False: 711]
  ------------------
 9035|      0|            goto failed;
 9036|    711|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9037|    711|        value = ast2obj_list(state,
 9038|    711|                             (asdl_seq*)o->v.AsyncFunctionDef.type_params,
 9039|    711|                             ast2obj_type_param);
 9040|    711|        if (!value) goto failed;
  ------------------
  |  Branch (9040:13): [True: 0, False: 711]
  ------------------
 9041|    711|        if (PyObject_SetAttr(result, state->type_params, value) == -1)
  ------------------
  |  Branch (9041:13): [True: 0, False: 711]
  ------------------
 9042|      0|            goto failed;
 9043|    711|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9044|    711|        break;
 9045|    807|    case ClassDef_kind:
  ------------------
  |  Branch (9045:5): [True: 807, False: 50.2k]
  ------------------
 9046|    807|        tp = (PyTypeObject *)state->ClassDef_type;
 9047|    807|        result = PyType_GenericNew(tp, NULL, NULL);
 9048|    807|        if (!result) goto failed;
  ------------------
  |  Branch (9048:13): [True: 0, False: 807]
  ------------------
 9049|    807|        value = ast2obj_identifier(state, o->v.ClassDef.name);
  ------------------
  |  | 6018|    807|#define ast2obj_identifier ast2obj_object
  ------------------
 9050|    807|        if (!value) goto failed;
  ------------------
  |  Branch (9050:13): [True: 0, False: 807]
  ------------------
 9051|    807|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (9051:13): [True: 0, False: 807]
  ------------------
 9052|      0|            goto failed;
 9053|    807|        Py_DECREF(value);
  ------------------
  |  |  430|    807|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    807|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    807|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9054|    807|        value = ast2obj_list(state, (asdl_seq*)o->v.ClassDef.bases,
 9055|    807|                             ast2obj_expr);
 9056|    807|        if (!value) goto failed;
  ------------------
  |  Branch (9056:13): [True: 0, False: 807]
  ------------------
 9057|    807|        if (PyObject_SetAttr(result, state->bases, value) == -1)
  ------------------
  |  Branch (9057:13): [True: 0, False: 807]
  ------------------
 9058|      0|            goto failed;
 9059|    807|        Py_DECREF(value);
  ------------------
  |  |  430|    807|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    807|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    807|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9060|    807|        value = ast2obj_list(state, (asdl_seq*)o->v.ClassDef.keywords,
 9061|    807|                             ast2obj_keyword);
 9062|    807|        if (!value) goto failed;
  ------------------
  |  Branch (9062:13): [True: 0, False: 807]
  ------------------
 9063|    807|        if (PyObject_SetAttr(result, state->keywords, value) == -1)
  ------------------
  |  Branch (9063:13): [True: 0, False: 807]
  ------------------
 9064|      0|            goto failed;
 9065|    807|        Py_DECREF(value);
  ------------------
  |  |  430|    807|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    807|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    807|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9066|    807|        value = ast2obj_list(state, (asdl_seq*)o->v.ClassDef.body,
 9067|    807|                             ast2obj_stmt);
 9068|    807|        if (!value) goto failed;
  ------------------
  |  Branch (9068:13): [True: 0, False: 807]
  ------------------
 9069|    807|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9069:13): [True: 0, False: 807]
  ------------------
 9070|      0|            goto failed;
 9071|    807|        Py_DECREF(value);
  ------------------
  |  |  430|    807|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    807|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    807|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9072|    807|        value = ast2obj_list(state, (asdl_seq*)o->v.ClassDef.decorator_list,
 9073|    807|                             ast2obj_expr);
 9074|    807|        if (!value) goto failed;
  ------------------
  |  Branch (9074:13): [True: 0, False: 807]
  ------------------
 9075|    807|        if (PyObject_SetAttr(result, state->decorator_list, value) == -1)
  ------------------
  |  Branch (9075:13): [True: 0, False: 807]
  ------------------
 9076|      0|            goto failed;
 9077|    807|        Py_DECREF(value);
  ------------------
  |  |  430|    807|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    807|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    807|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9078|    807|        value = ast2obj_list(state, (asdl_seq*)o->v.ClassDef.type_params,
 9079|    807|                             ast2obj_type_param);
 9080|    807|        if (!value) goto failed;
  ------------------
  |  Branch (9080:13): [True: 0, False: 807]
  ------------------
 9081|    807|        if (PyObject_SetAttr(result, state->type_params, value) == -1)
  ------------------
  |  Branch (9081:13): [True: 0, False: 807]
  ------------------
 9082|      0|            goto failed;
 9083|    807|        Py_DECREF(value);
  ------------------
  |  |  430|    807|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    807|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    807|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9084|    807|        break;
 9085|    687|    case Return_kind:
  ------------------
  |  Branch (9085:5): [True: 687, False: 50.3k]
  ------------------
 9086|    687|        tp = (PyTypeObject *)state->Return_type;
 9087|    687|        result = PyType_GenericNew(tp, NULL, NULL);
 9088|    687|        if (!result) goto failed;
  ------------------
  |  Branch (9088:13): [True: 0, False: 687]
  ------------------
 9089|    687|        value = ast2obj_expr(state, o->v.Return.value);
 9090|    687|        if (!value) goto failed;
  ------------------
  |  Branch (9090:13): [True: 0, False: 687]
  ------------------
 9091|    687|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9091:13): [True: 0, False: 687]
  ------------------
 9092|      0|            goto failed;
 9093|    687|        Py_DECREF(value);
  ------------------
  |  |  430|    687|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    687|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    687|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9094|    687|        break;
 9095|    139|    case Delete_kind:
  ------------------
  |  Branch (9095:5): [True: 139, False: 50.9k]
  ------------------
 9096|    139|        tp = (PyTypeObject *)state->Delete_type;
 9097|    139|        result = PyType_GenericNew(tp, NULL, NULL);
 9098|    139|        if (!result) goto failed;
  ------------------
  |  Branch (9098:13): [True: 0, False: 139]
  ------------------
 9099|    139|        value = ast2obj_list(state, (asdl_seq*)o->v.Delete.targets,
 9100|    139|                             ast2obj_expr);
 9101|    139|        if (!value) goto failed;
  ------------------
  |  Branch (9101:13): [True: 0, False: 139]
  ------------------
 9102|    139|        if (PyObject_SetAttr(result, state->targets, value) == -1)
  ------------------
  |  Branch (9102:13): [True: 0, False: 139]
  ------------------
 9103|      0|            goto failed;
 9104|    139|        Py_DECREF(value);
  ------------------
  |  |  430|    139|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    139|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    139|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9105|    139|        break;
 9106|  1.37k|    case Assign_kind:
  ------------------
  |  Branch (9106:5): [True: 1.37k, False: 49.6k]
  ------------------
 9107|  1.37k|        tp = (PyTypeObject *)state->Assign_type;
 9108|  1.37k|        result = PyType_GenericNew(tp, NULL, NULL);
 9109|  1.37k|        if (!result) goto failed;
  ------------------
  |  Branch (9109:13): [True: 0, False: 1.37k]
  ------------------
 9110|  1.37k|        value = ast2obj_list(state, (asdl_seq*)o->v.Assign.targets,
 9111|  1.37k|                             ast2obj_expr);
 9112|  1.37k|        if (!value) goto failed;
  ------------------
  |  Branch (9112:13): [True: 0, False: 1.37k]
  ------------------
 9113|  1.37k|        if (PyObject_SetAttr(result, state->targets, value) == -1)
  ------------------
  |  Branch (9113:13): [True: 0, False: 1.37k]
  ------------------
 9114|      0|            goto failed;
 9115|  1.37k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.37k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9116|  1.37k|        value = ast2obj_expr(state, o->v.Assign.value);
 9117|  1.37k|        if (!value) goto failed;
  ------------------
  |  Branch (9117:13): [True: 0, False: 1.37k]
  ------------------
 9118|  1.37k|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9118:13): [True: 0, False: 1.37k]
  ------------------
 9119|      0|            goto failed;
 9120|  1.37k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.37k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9121|  1.37k|        value = ast2obj_string(state, o->v.Assign.type_comment);
  ------------------
  |  | 6019|  1.37k|#define ast2obj_string ast2obj_object
  ------------------
 9122|  1.37k|        if (!value) goto failed;
  ------------------
  |  Branch (9122:13): [True: 0, False: 1.37k]
  ------------------
 9123|  1.37k|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (9123:13): [True: 0, False: 1.37k]
  ------------------
 9124|      0|            goto failed;
 9125|  1.37k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.37k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9126|  1.37k|        break;
 9127|    244|    case TypeAlias_kind:
  ------------------
  |  Branch (9127:5): [True: 244, False: 50.8k]
  ------------------
 9128|    244|        tp = (PyTypeObject *)state->TypeAlias_type;
 9129|    244|        result = PyType_GenericNew(tp, NULL, NULL);
 9130|    244|        if (!result) goto failed;
  ------------------
  |  Branch (9130:13): [True: 0, False: 244]
  ------------------
 9131|    244|        value = ast2obj_expr(state, o->v.TypeAlias.name);
 9132|    244|        if (!value) goto failed;
  ------------------
  |  Branch (9132:13): [True: 0, False: 244]
  ------------------
 9133|    244|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (9133:13): [True: 0, False: 244]
  ------------------
 9134|      0|            goto failed;
 9135|    244|        Py_DECREF(value);
  ------------------
  |  |  430|    244|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    244|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    244|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9136|    244|        value = ast2obj_list(state, (asdl_seq*)o->v.TypeAlias.type_params,
 9137|    244|                             ast2obj_type_param);
 9138|    244|        if (!value) goto failed;
  ------------------
  |  Branch (9138:13): [True: 0, False: 244]
  ------------------
 9139|    244|        if (PyObject_SetAttr(result, state->type_params, value) == -1)
  ------------------
  |  Branch (9139:13): [True: 0, False: 244]
  ------------------
 9140|      0|            goto failed;
 9141|    244|        Py_DECREF(value);
  ------------------
  |  |  430|    244|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    244|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    244|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9142|    244|        value = ast2obj_expr(state, o->v.TypeAlias.value);
 9143|    244|        if (!value) goto failed;
  ------------------
  |  Branch (9143:13): [True: 0, False: 244]
  ------------------
 9144|    244|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9144:13): [True: 0, False: 244]
  ------------------
 9145|      0|            goto failed;
 9146|    244|        Py_DECREF(value);
  ------------------
  |  |  430|    244|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    244|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    244|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9147|    244|        break;
 9148|  1.03k|    case AugAssign_kind:
  ------------------
  |  Branch (9148:5): [True: 1.03k, False: 50.0k]
  ------------------
 9149|  1.03k|        tp = (PyTypeObject *)state->AugAssign_type;
 9150|  1.03k|        result = PyType_GenericNew(tp, NULL, NULL);
 9151|  1.03k|        if (!result) goto failed;
  ------------------
  |  Branch (9151:13): [True: 0, False: 1.03k]
  ------------------
 9152|  1.03k|        value = ast2obj_expr(state, o->v.AugAssign.target);
 9153|  1.03k|        if (!value) goto failed;
  ------------------
  |  Branch (9153:13): [True: 0, False: 1.03k]
  ------------------
 9154|  1.03k|        if (PyObject_SetAttr(result, state->target, value) == -1)
  ------------------
  |  Branch (9154:13): [True: 0, False: 1.03k]
  ------------------
 9155|      0|            goto failed;
 9156|  1.03k|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9157|  1.03k|        value = ast2obj_operator(state, o->v.AugAssign.op);
 9158|  1.03k|        if (!value) goto failed;
  ------------------
  |  Branch (9158:13): [True: 0, False: 1.03k]
  ------------------
 9159|  1.03k|        if (PyObject_SetAttr(result, state->op, value) == -1)
  ------------------
  |  Branch (9159:13): [True: 0, False: 1.03k]
  ------------------
 9160|      0|            goto failed;
 9161|  1.03k|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9162|  1.03k|        value = ast2obj_expr(state, o->v.AugAssign.value);
 9163|  1.03k|        if (!value) goto failed;
  ------------------
  |  Branch (9163:13): [True: 0, False: 1.03k]
  ------------------
 9164|  1.03k|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9164:13): [True: 0, False: 1.03k]
  ------------------
 9165|      0|            goto failed;
 9166|  1.03k|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9167|  1.03k|        break;
 9168|  1.22k|    case AnnAssign_kind:
  ------------------
  |  Branch (9168:5): [True: 1.22k, False: 49.8k]
  ------------------
 9169|  1.22k|        tp = (PyTypeObject *)state->AnnAssign_type;
 9170|  1.22k|        result = PyType_GenericNew(tp, NULL, NULL);
 9171|  1.22k|        if (!result) goto failed;
  ------------------
  |  Branch (9171:13): [True: 0, False: 1.22k]
  ------------------
 9172|  1.22k|        value = ast2obj_expr(state, o->v.AnnAssign.target);
 9173|  1.22k|        if (!value) goto failed;
  ------------------
  |  Branch (9173:13): [True: 0, False: 1.22k]
  ------------------
 9174|  1.22k|        if (PyObject_SetAttr(result, state->target, value) == -1)
  ------------------
  |  Branch (9174:13): [True: 0, False: 1.22k]
  ------------------
 9175|      0|            goto failed;
 9176|  1.22k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.22k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9177|  1.22k|        value = ast2obj_expr(state, o->v.AnnAssign.annotation);
 9178|  1.22k|        if (!value) goto failed;
  ------------------
  |  Branch (9178:13): [True: 0, False: 1.22k]
  ------------------
 9179|  1.22k|        if (PyObject_SetAttr(result, state->annotation, value) == -1)
  ------------------
  |  Branch (9179:13): [True: 0, False: 1.22k]
  ------------------
 9180|      0|            goto failed;
 9181|  1.22k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.22k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9182|  1.22k|        value = ast2obj_expr(state, o->v.AnnAssign.value);
 9183|  1.22k|        if (!value) goto failed;
  ------------------
  |  Branch (9183:13): [True: 0, False: 1.22k]
  ------------------
 9184|  1.22k|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9184:13): [True: 0, False: 1.22k]
  ------------------
 9185|      0|            goto failed;
 9186|  1.22k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.22k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9187|  1.22k|        value = ast2obj_int(state, o->v.AnnAssign.simple);
 9188|  1.22k|        if (!value) goto failed;
  ------------------
  |  Branch (9188:13): [True: 0, False: 1.22k]
  ------------------
 9189|  1.22k|        if (PyObject_SetAttr(result, state->simple, value) == -1)
  ------------------
  |  Branch (9189:13): [True: 0, False: 1.22k]
  ------------------
 9190|      0|            goto failed;
 9191|  1.22k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.22k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9192|  1.22k|        break;
 9193|    328|    case For_kind:
  ------------------
  |  Branch (9193:5): [True: 328, False: 50.7k]
  ------------------
 9194|    328|        tp = (PyTypeObject *)state->For_type;
 9195|    328|        result = PyType_GenericNew(tp, NULL, NULL);
 9196|    328|        if (!result) goto failed;
  ------------------
  |  Branch (9196:13): [True: 0, False: 328]
  ------------------
 9197|    328|        value = ast2obj_expr(state, o->v.For.target);
 9198|    328|        if (!value) goto failed;
  ------------------
  |  Branch (9198:13): [True: 0, False: 328]
  ------------------
 9199|    328|        if (PyObject_SetAttr(result, state->target, value) == -1)
  ------------------
  |  Branch (9199:13): [True: 0, False: 328]
  ------------------
 9200|      0|            goto failed;
 9201|    328|        Py_DECREF(value);
  ------------------
  |  |  430|    328|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    328|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    328|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9202|    328|        value = ast2obj_expr(state, o->v.For.iter);
 9203|    328|        if (!value) goto failed;
  ------------------
  |  Branch (9203:13): [True: 0, False: 328]
  ------------------
 9204|    328|        if (PyObject_SetAttr(result, state->iter, value) == -1)
  ------------------
  |  Branch (9204:13): [True: 0, False: 328]
  ------------------
 9205|      0|            goto failed;
 9206|    328|        Py_DECREF(value);
  ------------------
  |  |  430|    328|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    328|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    328|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9207|    328|        value = ast2obj_list(state, (asdl_seq*)o->v.For.body, ast2obj_stmt);
 9208|    328|        if (!value) goto failed;
  ------------------
  |  Branch (9208:13): [True: 0, False: 328]
  ------------------
 9209|    328|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9209:13): [True: 0, False: 328]
  ------------------
 9210|      0|            goto failed;
 9211|    328|        Py_DECREF(value);
  ------------------
  |  |  430|    328|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    328|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    328|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9212|    328|        value = ast2obj_list(state, (asdl_seq*)o->v.For.orelse, ast2obj_stmt);
 9213|    328|        if (!value) goto failed;
  ------------------
  |  Branch (9213:13): [True: 0, False: 328]
  ------------------
 9214|    328|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (9214:13): [True: 0, False: 328]
  ------------------
 9215|      0|            goto failed;
 9216|    328|        Py_DECREF(value);
  ------------------
  |  |  430|    328|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    328|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    328|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9217|    328|        value = ast2obj_string(state, o->v.For.type_comment);
  ------------------
  |  | 6019|    328|#define ast2obj_string ast2obj_object
  ------------------
 9218|    328|        if (!value) goto failed;
  ------------------
  |  Branch (9218:13): [True: 0, False: 328]
  ------------------
 9219|    328|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (9219:13): [True: 0, False: 328]
  ------------------
 9220|      0|            goto failed;
 9221|    328|        Py_DECREF(value);
  ------------------
  |  |  430|    328|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    328|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    328|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9222|    328|        break;
 9223|    134|    case AsyncFor_kind:
  ------------------
  |  Branch (9223:5): [True: 134, False: 50.9k]
  ------------------
 9224|    134|        tp = (PyTypeObject *)state->AsyncFor_type;
 9225|    134|        result = PyType_GenericNew(tp, NULL, NULL);
 9226|    134|        if (!result) goto failed;
  ------------------
  |  Branch (9226:13): [True: 0, False: 134]
  ------------------
 9227|    134|        value = ast2obj_expr(state, o->v.AsyncFor.target);
 9228|    134|        if (!value) goto failed;
  ------------------
  |  Branch (9228:13): [True: 0, False: 134]
  ------------------
 9229|    134|        if (PyObject_SetAttr(result, state->target, value) == -1)
  ------------------
  |  Branch (9229:13): [True: 0, False: 134]
  ------------------
 9230|      0|            goto failed;
 9231|    134|        Py_DECREF(value);
  ------------------
  |  |  430|    134|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9232|    134|        value = ast2obj_expr(state, o->v.AsyncFor.iter);
 9233|    134|        if (!value) goto failed;
  ------------------
  |  Branch (9233:13): [True: 0, False: 134]
  ------------------
 9234|    134|        if (PyObject_SetAttr(result, state->iter, value) == -1)
  ------------------
  |  Branch (9234:13): [True: 0, False: 134]
  ------------------
 9235|      0|            goto failed;
 9236|    134|        Py_DECREF(value);
  ------------------
  |  |  430|    134|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9237|    134|        value = ast2obj_list(state, (asdl_seq*)o->v.AsyncFor.body,
 9238|    134|                             ast2obj_stmt);
 9239|    134|        if (!value) goto failed;
  ------------------
  |  Branch (9239:13): [True: 0, False: 134]
  ------------------
 9240|    134|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9240:13): [True: 0, False: 134]
  ------------------
 9241|      0|            goto failed;
 9242|    134|        Py_DECREF(value);
  ------------------
  |  |  430|    134|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9243|    134|        value = ast2obj_list(state, (asdl_seq*)o->v.AsyncFor.orelse,
 9244|    134|                             ast2obj_stmt);
 9245|    134|        if (!value) goto failed;
  ------------------
  |  Branch (9245:13): [True: 0, False: 134]
  ------------------
 9246|    134|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (9246:13): [True: 0, False: 134]
  ------------------
 9247|      0|            goto failed;
 9248|    134|        Py_DECREF(value);
  ------------------
  |  |  430|    134|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9249|    134|        value = ast2obj_string(state, o->v.AsyncFor.type_comment);
  ------------------
  |  | 6019|    134|#define ast2obj_string ast2obj_object
  ------------------
 9250|    134|        if (!value) goto failed;
  ------------------
  |  Branch (9250:13): [True: 0, False: 134]
  ------------------
 9251|    134|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (9251:13): [True: 0, False: 134]
  ------------------
 9252|      0|            goto failed;
 9253|    134|        Py_DECREF(value);
  ------------------
  |  |  430|    134|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    134|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9254|    134|        break;
 9255|    112|    case While_kind:
  ------------------
  |  Branch (9255:5): [True: 112, False: 50.9k]
  ------------------
 9256|    112|        tp = (PyTypeObject *)state->While_type;
 9257|    112|        result = PyType_GenericNew(tp, NULL, NULL);
 9258|    112|        if (!result) goto failed;
  ------------------
  |  Branch (9258:13): [True: 0, False: 112]
  ------------------
 9259|    112|        value = ast2obj_expr(state, o->v.While.test);
 9260|    112|        if (!value) goto failed;
  ------------------
  |  Branch (9260:13): [True: 0, False: 112]
  ------------------
 9261|    112|        if (PyObject_SetAttr(result, state->test, value) == -1)
  ------------------
  |  Branch (9261:13): [True: 0, False: 112]
  ------------------
 9262|      0|            goto failed;
 9263|    112|        Py_DECREF(value);
  ------------------
  |  |  430|    112|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    112|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9264|    112|        value = ast2obj_list(state, (asdl_seq*)o->v.While.body, ast2obj_stmt);
 9265|    112|        if (!value) goto failed;
  ------------------
  |  Branch (9265:13): [True: 0, False: 112]
  ------------------
 9266|    112|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9266:13): [True: 0, False: 112]
  ------------------
 9267|      0|            goto failed;
 9268|    112|        Py_DECREF(value);
  ------------------
  |  |  430|    112|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    112|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9269|    112|        value = ast2obj_list(state, (asdl_seq*)o->v.While.orelse, ast2obj_stmt);
 9270|    112|        if (!value) goto failed;
  ------------------
  |  Branch (9270:13): [True: 0, False: 112]
  ------------------
 9271|    112|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (9271:13): [True: 0, False: 112]
  ------------------
 9272|      0|            goto failed;
 9273|    112|        Py_DECREF(value);
  ------------------
  |  |  430|    112|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    112|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    112|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9274|    112|        break;
 9275|    354|    case If_kind:
  ------------------
  |  Branch (9275:5): [True: 354, False: 50.7k]
  ------------------
 9276|    354|        tp = (PyTypeObject *)state->If_type;
 9277|    354|        result = PyType_GenericNew(tp, NULL, NULL);
 9278|    354|        if (!result) goto failed;
  ------------------
  |  Branch (9278:13): [True: 0, False: 354]
  ------------------
 9279|    354|        value = ast2obj_expr(state, o->v.If.test);
 9280|    354|        if (!value) goto failed;
  ------------------
  |  Branch (9280:13): [True: 0, False: 354]
  ------------------
 9281|    354|        if (PyObject_SetAttr(result, state->test, value) == -1)
  ------------------
  |  Branch (9281:13): [True: 0, False: 354]
  ------------------
 9282|      0|            goto failed;
 9283|    354|        Py_DECREF(value);
  ------------------
  |  |  430|    354|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    354|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    354|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9284|    354|        value = ast2obj_list(state, (asdl_seq*)o->v.If.body, ast2obj_stmt);
 9285|    354|        if (!value) goto failed;
  ------------------
  |  Branch (9285:13): [True: 0, False: 354]
  ------------------
 9286|    354|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9286:13): [True: 0, False: 354]
  ------------------
 9287|      0|            goto failed;
 9288|    354|        Py_DECREF(value);
  ------------------
  |  |  430|    354|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    354|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    354|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9289|    354|        value = ast2obj_list(state, (asdl_seq*)o->v.If.orelse, ast2obj_stmt);
 9290|    354|        if (!value) goto failed;
  ------------------
  |  Branch (9290:13): [True: 0, False: 354]
  ------------------
 9291|    354|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (9291:13): [True: 0, False: 354]
  ------------------
 9292|      0|            goto failed;
 9293|    354|        Py_DECREF(value);
  ------------------
  |  |  430|    354|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    354|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    354|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9294|    354|        break;
 9295|    162|    case With_kind:
  ------------------
  |  Branch (9295:5): [True: 162, False: 50.9k]
  ------------------
 9296|    162|        tp = (PyTypeObject *)state->With_type;
 9297|    162|        result = PyType_GenericNew(tp, NULL, NULL);
 9298|    162|        if (!result) goto failed;
  ------------------
  |  Branch (9298:13): [True: 0, False: 162]
  ------------------
 9299|    162|        value = ast2obj_list(state, (asdl_seq*)o->v.With.items,
 9300|    162|                             ast2obj_withitem);
 9301|    162|        if (!value) goto failed;
  ------------------
  |  Branch (9301:13): [True: 0, False: 162]
  ------------------
 9302|    162|        if (PyObject_SetAttr(result, state->items, value) == -1)
  ------------------
  |  Branch (9302:13): [True: 0, False: 162]
  ------------------
 9303|      0|            goto failed;
 9304|    162|        Py_DECREF(value);
  ------------------
  |  |  430|    162|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    162|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9305|    162|        value = ast2obj_list(state, (asdl_seq*)o->v.With.body, ast2obj_stmt);
 9306|    162|        if (!value) goto failed;
  ------------------
  |  Branch (9306:13): [True: 0, False: 162]
  ------------------
 9307|    162|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9307:13): [True: 0, False: 162]
  ------------------
 9308|      0|            goto failed;
 9309|    162|        Py_DECREF(value);
  ------------------
  |  |  430|    162|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    162|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9310|    162|        value = ast2obj_string(state, o->v.With.type_comment);
  ------------------
  |  | 6019|    162|#define ast2obj_string ast2obj_object
  ------------------
 9311|    162|        if (!value) goto failed;
  ------------------
  |  Branch (9311:13): [True: 0, False: 162]
  ------------------
 9312|    162|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (9312:13): [True: 0, False: 162]
  ------------------
 9313|      0|            goto failed;
 9314|    162|        Py_DECREF(value);
  ------------------
  |  |  430|    162|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    162|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9315|    162|        break;
 9316|    327|    case AsyncWith_kind:
  ------------------
  |  Branch (9316:5): [True: 327, False: 50.7k]
  ------------------
 9317|    327|        tp = (PyTypeObject *)state->AsyncWith_type;
 9318|    327|        result = PyType_GenericNew(tp, NULL, NULL);
 9319|    327|        if (!result) goto failed;
  ------------------
  |  Branch (9319:13): [True: 0, False: 327]
  ------------------
 9320|    327|        value = ast2obj_list(state, (asdl_seq*)o->v.AsyncWith.items,
 9321|    327|                             ast2obj_withitem);
 9322|    327|        if (!value) goto failed;
  ------------------
  |  Branch (9322:13): [True: 0, False: 327]
  ------------------
 9323|    327|        if (PyObject_SetAttr(result, state->items, value) == -1)
  ------------------
  |  Branch (9323:13): [True: 0, False: 327]
  ------------------
 9324|      0|            goto failed;
 9325|    327|        Py_DECREF(value);
  ------------------
  |  |  430|    327|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    327|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    327|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9326|    327|        value = ast2obj_list(state, (asdl_seq*)o->v.AsyncWith.body,
 9327|    327|                             ast2obj_stmt);
 9328|    327|        if (!value) goto failed;
  ------------------
  |  Branch (9328:13): [True: 0, False: 327]
  ------------------
 9329|    327|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9329:13): [True: 0, False: 327]
  ------------------
 9330|      0|            goto failed;
 9331|    327|        Py_DECREF(value);
  ------------------
  |  |  430|    327|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    327|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    327|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9332|    327|        value = ast2obj_string(state, o->v.AsyncWith.type_comment);
  ------------------
  |  | 6019|    327|#define ast2obj_string ast2obj_object
  ------------------
 9333|    327|        if (!value) goto failed;
  ------------------
  |  Branch (9333:13): [True: 0, False: 327]
  ------------------
 9334|    327|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (9334:13): [True: 0, False: 327]
  ------------------
 9335|      0|            goto failed;
 9336|    327|        Py_DECREF(value);
  ------------------
  |  |  430|    327|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    327|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    327|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9337|    327|        break;
 9338|     66|    case Match_kind:
  ------------------
  |  Branch (9338:5): [True: 66, False: 51.0k]
  ------------------
 9339|     66|        tp = (PyTypeObject *)state->Match_type;
 9340|     66|        result = PyType_GenericNew(tp, NULL, NULL);
 9341|     66|        if (!result) goto failed;
  ------------------
  |  Branch (9341:13): [True: 0, False: 66]
  ------------------
 9342|     66|        value = ast2obj_expr(state, o->v.Match.subject);
 9343|     66|        if (!value) goto failed;
  ------------------
  |  Branch (9343:13): [True: 0, False: 66]
  ------------------
 9344|     66|        if (PyObject_SetAttr(result, state->subject, value) == -1)
  ------------------
  |  Branch (9344:13): [True: 0, False: 66]
  ------------------
 9345|      0|            goto failed;
 9346|     66|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9347|     66|        value = ast2obj_list(state, (asdl_seq*)o->v.Match.cases,
 9348|     66|                             ast2obj_match_case);
 9349|     66|        if (!value) goto failed;
  ------------------
  |  Branch (9349:13): [True: 0, False: 66]
  ------------------
 9350|     66|        if (PyObject_SetAttr(result, state->cases, value) == -1)
  ------------------
  |  Branch (9350:13): [True: 0, False: 66]
  ------------------
 9351|      0|            goto failed;
 9352|     66|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9353|     66|        break;
 9354|    529|    case Raise_kind:
  ------------------
  |  Branch (9354:5): [True: 529, False: 50.5k]
  ------------------
 9355|    529|        tp = (PyTypeObject *)state->Raise_type;
 9356|    529|        result = PyType_GenericNew(tp, NULL, NULL);
 9357|    529|        if (!result) goto failed;
  ------------------
  |  Branch (9357:13): [True: 0, False: 529]
  ------------------
 9358|    529|        value = ast2obj_expr(state, o->v.Raise.exc);
 9359|    529|        if (!value) goto failed;
  ------------------
  |  Branch (9359:13): [True: 0, False: 529]
  ------------------
 9360|    529|        if (PyObject_SetAttr(result, state->exc, value) == -1)
  ------------------
  |  Branch (9360:13): [True: 0, False: 529]
  ------------------
 9361|      0|            goto failed;
 9362|    529|        Py_DECREF(value);
  ------------------
  |  |  430|    529|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    529|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    529|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9363|    529|        value = ast2obj_expr(state, o->v.Raise.cause);
 9364|    529|        if (!value) goto failed;
  ------------------
  |  Branch (9364:13): [True: 0, False: 529]
  ------------------
 9365|    529|        if (PyObject_SetAttr(result, state->cause, value) == -1)
  ------------------
  |  Branch (9365:13): [True: 0, False: 529]
  ------------------
 9366|      0|            goto failed;
 9367|    529|        Py_DECREF(value);
  ------------------
  |  |  430|    529|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    529|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    529|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9368|    529|        break;
 9369|    618|    case Try_kind:
  ------------------
  |  Branch (9369:5): [True: 618, False: 50.4k]
  ------------------
 9370|    618|        tp = (PyTypeObject *)state->Try_type;
 9371|    618|        result = PyType_GenericNew(tp, NULL, NULL);
 9372|    618|        if (!result) goto failed;
  ------------------
  |  Branch (9372:13): [True: 0, False: 618]
  ------------------
 9373|    618|        value = ast2obj_list(state, (asdl_seq*)o->v.Try.body, ast2obj_stmt);
 9374|    618|        if (!value) goto failed;
  ------------------
  |  Branch (9374:13): [True: 0, False: 618]
  ------------------
 9375|    618|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9375:13): [True: 0, False: 618]
  ------------------
 9376|      0|            goto failed;
 9377|    618|        Py_DECREF(value);
  ------------------
  |  |  430|    618|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    618|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    618|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9378|    618|        value = ast2obj_list(state, (asdl_seq*)o->v.Try.handlers,
 9379|    618|                             ast2obj_excepthandler);
 9380|    618|        if (!value) goto failed;
  ------------------
  |  Branch (9380:13): [True: 0, False: 618]
  ------------------
 9381|    618|        if (PyObject_SetAttr(result, state->handlers, value) == -1)
  ------------------
  |  Branch (9381:13): [True: 0, False: 618]
  ------------------
 9382|      0|            goto failed;
 9383|    618|        Py_DECREF(value);
  ------------------
  |  |  430|    618|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    618|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    618|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9384|    618|        value = ast2obj_list(state, (asdl_seq*)o->v.Try.orelse, ast2obj_stmt);
 9385|    618|        if (!value) goto failed;
  ------------------
  |  Branch (9385:13): [True: 0, False: 618]
  ------------------
 9386|    618|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (9386:13): [True: 0, False: 618]
  ------------------
 9387|      0|            goto failed;
 9388|    618|        Py_DECREF(value);
  ------------------
  |  |  430|    618|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    618|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    618|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9389|    618|        value = ast2obj_list(state, (asdl_seq*)o->v.Try.finalbody,
 9390|    618|                             ast2obj_stmt);
 9391|    618|        if (!value) goto failed;
  ------------------
  |  Branch (9391:13): [True: 0, False: 618]
  ------------------
 9392|    618|        if (PyObject_SetAttr(result, state->finalbody, value) == -1)
  ------------------
  |  Branch (9392:13): [True: 0, False: 618]
  ------------------
 9393|      0|            goto failed;
 9394|    618|        Py_DECREF(value);
  ------------------
  |  |  430|    618|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    618|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    618|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9395|    618|        break;
 9396|    426|    case TryStar_kind:
  ------------------
  |  Branch (9396:5): [True: 426, False: 50.6k]
  ------------------
 9397|    426|        tp = (PyTypeObject *)state->TryStar_type;
 9398|    426|        result = PyType_GenericNew(tp, NULL, NULL);
 9399|    426|        if (!result) goto failed;
  ------------------
  |  Branch (9399:13): [True: 0, False: 426]
  ------------------
 9400|    426|        value = ast2obj_list(state, (asdl_seq*)o->v.TryStar.body, ast2obj_stmt);
 9401|    426|        if (!value) goto failed;
  ------------------
  |  Branch (9401:13): [True: 0, False: 426]
  ------------------
 9402|    426|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9402:13): [True: 0, False: 426]
  ------------------
 9403|      0|            goto failed;
 9404|    426|        Py_DECREF(value);
  ------------------
  |  |  430|    426|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    426|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    426|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9405|    426|        value = ast2obj_list(state, (asdl_seq*)o->v.TryStar.handlers,
 9406|    426|                             ast2obj_excepthandler);
 9407|    426|        if (!value) goto failed;
  ------------------
  |  Branch (9407:13): [True: 0, False: 426]
  ------------------
 9408|    426|        if (PyObject_SetAttr(result, state->handlers, value) == -1)
  ------------------
  |  Branch (9408:13): [True: 0, False: 426]
  ------------------
 9409|      0|            goto failed;
 9410|    426|        Py_DECREF(value);
  ------------------
  |  |  430|    426|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    426|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    426|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9411|    426|        value = ast2obj_list(state, (asdl_seq*)o->v.TryStar.orelse,
 9412|    426|                             ast2obj_stmt);
 9413|    426|        if (!value) goto failed;
  ------------------
  |  Branch (9413:13): [True: 0, False: 426]
  ------------------
 9414|    426|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (9414:13): [True: 0, False: 426]
  ------------------
 9415|      0|            goto failed;
 9416|    426|        Py_DECREF(value);
  ------------------
  |  |  430|    426|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    426|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    426|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9417|    426|        value = ast2obj_list(state, (asdl_seq*)o->v.TryStar.finalbody,
 9418|    426|                             ast2obj_stmt);
 9419|    426|        if (!value) goto failed;
  ------------------
  |  Branch (9419:13): [True: 0, False: 426]
  ------------------
 9420|    426|        if (PyObject_SetAttr(result, state->finalbody, value) == -1)
  ------------------
  |  Branch (9420:13): [True: 0, False: 426]
  ------------------
 9421|      0|            goto failed;
 9422|    426|        Py_DECREF(value);
  ------------------
  |  |  430|    426|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    426|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    426|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9423|    426|        break;
 9424|    900|    case Assert_kind:
  ------------------
  |  Branch (9424:5): [True: 900, False: 50.1k]
  ------------------
 9425|    900|        tp = (PyTypeObject *)state->Assert_type;
 9426|    900|        result = PyType_GenericNew(tp, NULL, NULL);
 9427|    900|        if (!result) goto failed;
  ------------------
  |  Branch (9427:13): [True: 0, False: 900]
  ------------------
 9428|    900|        value = ast2obj_expr(state, o->v.Assert.test);
 9429|    900|        if (!value) goto failed;
  ------------------
  |  Branch (9429:13): [True: 0, False: 900]
  ------------------
 9430|    900|        if (PyObject_SetAttr(result, state->test, value) == -1)
  ------------------
  |  Branch (9430:13): [True: 0, False: 900]
  ------------------
 9431|      0|            goto failed;
 9432|    900|        Py_DECREF(value);
  ------------------
  |  |  430|    900|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    900|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    900|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9433|    900|        value = ast2obj_expr(state, o->v.Assert.msg);
 9434|    900|        if (!value) goto failed;
  ------------------
  |  Branch (9434:13): [True: 0, False: 900]
  ------------------
 9435|    900|        if (PyObject_SetAttr(result, state->msg, value) == -1)
  ------------------
  |  Branch (9435:13): [True: 0, False: 900]
  ------------------
 9436|      0|            goto failed;
 9437|    900|        Py_DECREF(value);
  ------------------
  |  |  430|    900|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    900|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    900|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9438|    900|        break;
 9439|    364|    case Import_kind:
  ------------------
  |  Branch (9439:5): [True: 364, False: 50.7k]
  ------------------
 9440|    364|        tp = (PyTypeObject *)state->Import_type;
 9441|    364|        result = PyType_GenericNew(tp, NULL, NULL);
 9442|    364|        if (!result) goto failed;
  ------------------
  |  Branch (9442:13): [True: 0, False: 364]
  ------------------
 9443|    364|        value = ast2obj_list(state, (asdl_seq*)o->v.Import.names,
 9444|    364|                             ast2obj_alias);
 9445|    364|        if (!value) goto failed;
  ------------------
  |  Branch (9445:13): [True: 0, False: 364]
  ------------------
 9446|    364|        if (PyObject_SetAttr(result, state->names, value) == -1)
  ------------------
  |  Branch (9446:13): [True: 0, False: 364]
  ------------------
 9447|      0|            goto failed;
 9448|    364|        Py_DECREF(value);
  ------------------
  |  |  430|    364|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    364|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    364|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9449|    364|        value = ast2obj_int(state, o->v.Import.is_lazy);
 9450|    364|        if (!value) goto failed;
  ------------------
  |  Branch (9450:13): [True: 0, False: 364]
  ------------------
 9451|    364|        if (PyObject_SetAttr(result, state->is_lazy, value) == -1)
  ------------------
  |  Branch (9451:13): [True: 0, False: 364]
  ------------------
 9452|      0|            goto failed;
 9453|    364|        Py_DECREF(value);
  ------------------
  |  |  430|    364|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    364|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    364|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9454|    364|        break;
 9455|    367|    case ImportFrom_kind:
  ------------------
  |  Branch (9455:5): [True: 367, False: 50.7k]
  ------------------
 9456|    367|        tp = (PyTypeObject *)state->ImportFrom_type;
 9457|    367|        result = PyType_GenericNew(tp, NULL, NULL);
 9458|    367|        if (!result) goto failed;
  ------------------
  |  Branch (9458:13): [True: 0, False: 367]
  ------------------
 9459|    367|        value = ast2obj_identifier(state, o->v.ImportFrom.module);
  ------------------
  |  | 6018|    367|#define ast2obj_identifier ast2obj_object
  ------------------
 9460|    367|        if (!value) goto failed;
  ------------------
  |  Branch (9460:13): [True: 0, False: 367]
  ------------------
 9461|    367|        if (PyObject_SetAttr(result, state->module, value) == -1)
  ------------------
  |  Branch (9461:13): [True: 0, False: 367]
  ------------------
 9462|      0|            goto failed;
 9463|    367|        Py_DECREF(value);
  ------------------
  |  |  430|    367|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    367|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    367|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9464|    367|        value = ast2obj_list(state, (asdl_seq*)o->v.ImportFrom.names,
 9465|    367|                             ast2obj_alias);
 9466|    367|        if (!value) goto failed;
  ------------------
  |  Branch (9466:13): [True: 0, False: 367]
  ------------------
 9467|    367|        if (PyObject_SetAttr(result, state->names, value) == -1)
  ------------------
  |  Branch (9467:13): [True: 0, False: 367]
  ------------------
 9468|      0|            goto failed;
 9469|    367|        Py_DECREF(value);
  ------------------
  |  |  430|    367|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    367|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    367|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9470|    367|        value = ast2obj_int(state, o->v.ImportFrom.level);
 9471|    367|        if (!value) goto failed;
  ------------------
  |  Branch (9471:13): [True: 0, False: 367]
  ------------------
 9472|    367|        if (PyObject_SetAttr(result, state->level, value) == -1)
  ------------------
  |  Branch (9472:13): [True: 0, False: 367]
  ------------------
 9473|      0|            goto failed;
 9474|    367|        Py_DECREF(value);
  ------------------
  |  |  430|    367|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    367|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    367|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9475|    367|        value = ast2obj_int(state, o->v.ImportFrom.is_lazy);
 9476|    367|        if (!value) goto failed;
  ------------------
  |  Branch (9476:13): [True: 0, False: 367]
  ------------------
 9477|    367|        if (PyObject_SetAttr(result, state->is_lazy, value) == -1)
  ------------------
  |  Branch (9477:13): [True: 0, False: 367]
  ------------------
 9478|      0|            goto failed;
 9479|    367|        Py_DECREF(value);
  ------------------
  |  |  430|    367|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    367|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    367|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9480|    367|        break;
 9481|    171|    case Global_kind:
  ------------------
  |  Branch (9481:5): [True: 171, False: 50.8k]
  ------------------
 9482|    171|        tp = (PyTypeObject *)state->Global_type;
 9483|    171|        result = PyType_GenericNew(tp, NULL, NULL);
 9484|    171|        if (!result) goto failed;
  ------------------
  |  Branch (9484:13): [True: 0, False: 171]
  ------------------
 9485|    171|        value = ast2obj_list(state, (asdl_seq*)o->v.Global.names,
 9486|    171|                             ast2obj_identifier);
  ------------------
  |  | 6018|    171|#define ast2obj_identifier ast2obj_object
  ------------------
 9487|    171|        if (!value) goto failed;
  ------------------
  |  Branch (9487:13): [True: 0, False: 171]
  ------------------
 9488|    171|        if (PyObject_SetAttr(result, state->names, value) == -1)
  ------------------
  |  Branch (9488:13): [True: 0, False: 171]
  ------------------
 9489|      0|            goto failed;
 9490|    171|        Py_DECREF(value);
  ------------------
  |  |  430|    171|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    171|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    171|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9491|    171|        break;
 9492|    102|    case Nonlocal_kind:
  ------------------
  |  Branch (9492:5): [True: 102, False: 50.9k]
  ------------------
 9493|    102|        tp = (PyTypeObject *)state->Nonlocal_type;
 9494|    102|        result = PyType_GenericNew(tp, NULL, NULL);
 9495|    102|        if (!result) goto failed;
  ------------------
  |  Branch (9495:13): [True: 0, False: 102]
  ------------------
 9496|    102|        value = ast2obj_list(state, (asdl_seq*)o->v.Nonlocal.names,
 9497|    102|                             ast2obj_identifier);
  ------------------
  |  | 6018|    102|#define ast2obj_identifier ast2obj_object
  ------------------
 9498|    102|        if (!value) goto failed;
  ------------------
  |  Branch (9498:13): [True: 0, False: 102]
  ------------------
 9499|    102|        if (PyObject_SetAttr(result, state->names, value) == -1)
  ------------------
  |  Branch (9499:13): [True: 0, False: 102]
  ------------------
 9500|      0|            goto failed;
 9501|    102|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9502|    102|        break;
 9503|  37.7k|    case Expr_kind:
  ------------------
  |  Branch (9503:5): [True: 37.7k, False: 13.2k]
  ------------------
 9504|  37.7k|        tp = (PyTypeObject *)state->Expr_type;
 9505|  37.7k|        result = PyType_GenericNew(tp, NULL, NULL);
 9506|  37.7k|        if (!result) goto failed;
  ------------------
  |  Branch (9506:13): [True: 0, False: 37.7k]
  ------------------
 9507|  37.7k|        value = ast2obj_expr(state, o->v.Expr.value);
 9508|  37.7k|        if (!value) goto failed;
  ------------------
  |  Branch (9508:13): [True: 0, False: 37.7k]
  ------------------
 9509|  37.7k|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9509:13): [True: 0, False: 37.7k]
  ------------------
 9510|      0|            goto failed;
 9511|  37.7k|        Py_DECREF(value);
  ------------------
  |  |  430|  37.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  37.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9512|  37.7k|        break;
 9513|    437|    case Pass_kind:
  ------------------
  |  Branch (9513:5): [True: 437, False: 50.6k]
  ------------------
 9514|    437|        tp = (PyTypeObject *)state->Pass_type;
 9515|    437|        result = PyType_GenericNew(tp, NULL, NULL);
 9516|    437|        if (!result) goto failed;
  ------------------
  |  Branch (9516:13): [True: 0, False: 437]
  ------------------
 9517|    437|        break;
 9518|    437|    case Break_kind:
  ------------------
  |  Branch (9518:5): [True: 314, False: 50.7k]
  ------------------
 9519|    314|        tp = (PyTypeObject *)state->Break_type;
 9520|    314|        result = PyType_GenericNew(tp, NULL, NULL);
 9521|    314|        if (!result) goto failed;
  ------------------
  |  Branch (9521:13): [True: 0, False: 314]
  ------------------
 9522|    314|        break;
 9523|    314|    case Continue_kind:
  ------------------
  |  Branch (9523:5): [True: 209, False: 50.8k]
  ------------------
 9524|    209|        tp = (PyTypeObject *)state->Continue_type;
 9525|    209|        result = PyType_GenericNew(tp, NULL, NULL);
 9526|    209|        if (!result) goto failed;
  ------------------
  |  Branch (9526:13): [True: 0, False: 209]
  ------------------
 9527|    209|        break;
 9528|  51.0k|    }
 9529|  51.0k|    value = ast2obj_int(state, o->lineno);
 9530|  51.0k|    if (!value) goto failed;
  ------------------
  |  Branch (9530:9): [True: 0, False: 51.0k]
  ------------------
 9531|  51.0k|    if (PyObject_SetAttr(result, state->lineno, value) < 0)
  ------------------
  |  Branch (9531:9): [True: 0, False: 51.0k]
  ------------------
 9532|      0|        goto failed;
 9533|  51.0k|    Py_DECREF(value);
  ------------------
  |  |  430|  51.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  51.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  51.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9534|  51.0k|    value = ast2obj_int(state, o->col_offset);
 9535|  51.0k|    if (!value) goto failed;
  ------------------
  |  Branch (9535:9): [True: 0, False: 51.0k]
  ------------------
 9536|  51.0k|    if (PyObject_SetAttr(result, state->col_offset, value) < 0)
  ------------------
  |  Branch (9536:9): [True: 0, False: 51.0k]
  ------------------
 9537|      0|        goto failed;
 9538|  51.0k|    Py_DECREF(value);
  ------------------
  |  |  430|  51.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  51.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  51.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9539|  51.0k|    value = ast2obj_int(state, o->end_lineno);
 9540|  51.0k|    if (!value) goto failed;
  ------------------
  |  Branch (9540:9): [True: 0, False: 51.0k]
  ------------------
 9541|  51.0k|    if (PyObject_SetAttr(result, state->end_lineno, value) < 0)
  ------------------
  |  Branch (9541:9): [True: 0, False: 51.0k]
  ------------------
 9542|      0|        goto failed;
 9543|  51.0k|    Py_DECREF(value);
  ------------------
  |  |  430|  51.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  51.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  51.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9544|  51.0k|    value = ast2obj_int(state, o->end_col_offset);
 9545|  51.0k|    if (!value) goto failed;
  ------------------
  |  Branch (9545:9): [True: 0, False: 51.0k]
  ------------------
 9546|  51.0k|    if (PyObject_SetAttr(result, state->end_col_offset, value) < 0)
  ------------------
  |  Branch (9546:9): [True: 0, False: 51.0k]
  ------------------
 9547|      0|        goto failed;
 9548|  51.0k|    Py_DECREF(value);
  ------------------
  |  |  430|  51.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  51.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  51.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9549|  51.0k|    Py_LeaveRecursiveCall();
 9550|  51.0k|    return result;
 9551|      0|failed:
 9552|      0|    Py_LeaveRecursiveCall();
 9553|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9554|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9555|       |    return NULL;
 9556|  51.0k|}
Python-ast.c:ast2obj_object:
 6010|   315k|{
 6011|   315k|    PyObject *op = (PyObject*)o;
 6012|   315k|    if (!op) {
  ------------------
  |  Branch (6012:9): [True: 106k, False: 208k]
  ------------------
 6013|   106k|        op = Py_None;
  ------------------
  |  |  616|   106k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 6014|   106k|    }
 6015|   315k|    return Py_NewRef(op);
  ------------------
  |  |  550|   315k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   315k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   315k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6016|   315k|}
Python-ast.c:ast2obj_arguments:
10280|  2.42k|{
10281|  2.42k|    arguments_ty o = (arguments_ty)_o;
10282|  2.42k|    PyObject *result = NULL, *value = NULL;
10283|  2.42k|    PyTypeObject *tp;
10284|  2.42k|    if (!o) {
  ------------------
  |  Branch (10284:9): [True: 0, False: 2.42k]
  ------------------
10285|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10286|      0|    }
10287|  2.42k|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (10287:9): [True: 0, False: 2.42k]
  ------------------
10288|      0|        return NULL;
10289|      0|    }
10290|  2.42k|    tp = (PyTypeObject *)state->arguments_type;
10291|  2.42k|    result = PyType_GenericNew(tp, NULL, NULL);
10292|  2.42k|    if (!result) return NULL;
  ------------------
  |  Branch (10292:9): [True: 0, False: 2.42k]
  ------------------
10293|  2.42k|    value = ast2obj_list(state, (asdl_seq*)o->posonlyargs, ast2obj_arg);
10294|  2.42k|    if (!value) goto failed;
  ------------------
  |  Branch (10294:9): [True: 0, False: 2.42k]
  ------------------
10295|  2.42k|    if (PyObject_SetAttr(result, state->posonlyargs, value) == -1)
  ------------------
  |  Branch (10295:9): [True: 0, False: 2.42k]
  ------------------
10296|      0|        goto failed;
10297|  2.42k|    Py_DECREF(value);
  ------------------
  |  |  430|  2.42k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10298|  2.42k|    value = ast2obj_list(state, (asdl_seq*)o->args, ast2obj_arg);
10299|  2.42k|    if (!value) goto failed;
  ------------------
  |  Branch (10299:9): [True: 0, False: 2.42k]
  ------------------
10300|  2.42k|    if (PyObject_SetAttr(result, state->args, value) == -1)
  ------------------
  |  Branch (10300:9): [True: 0, False: 2.42k]
  ------------------
10301|      0|        goto failed;
10302|  2.42k|    Py_DECREF(value);
  ------------------
  |  |  430|  2.42k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10303|  2.42k|    value = ast2obj_arg(state, o->vararg);
10304|  2.42k|    if (!value) goto failed;
  ------------------
  |  Branch (10304:9): [True: 0, False: 2.42k]
  ------------------
10305|  2.42k|    if (PyObject_SetAttr(result, state->vararg, value) == -1)
  ------------------
  |  Branch (10305:9): [True: 0, False: 2.42k]
  ------------------
10306|      0|        goto failed;
10307|  2.42k|    Py_DECREF(value);
  ------------------
  |  |  430|  2.42k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10308|  2.42k|    value = ast2obj_list(state, (asdl_seq*)o->kwonlyargs, ast2obj_arg);
10309|  2.42k|    if (!value) goto failed;
  ------------------
  |  Branch (10309:9): [True: 0, False: 2.42k]
  ------------------
10310|  2.42k|    if (PyObject_SetAttr(result, state->kwonlyargs, value) == -1)
  ------------------
  |  Branch (10310:9): [True: 0, False: 2.42k]
  ------------------
10311|      0|        goto failed;
10312|  2.42k|    Py_DECREF(value);
  ------------------
  |  |  430|  2.42k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10313|  2.42k|    value = ast2obj_list(state, (asdl_seq*)o->kw_defaults, ast2obj_expr);
10314|  2.42k|    if (!value) goto failed;
  ------------------
  |  Branch (10314:9): [True: 0, False: 2.42k]
  ------------------
10315|  2.42k|    if (PyObject_SetAttr(result, state->kw_defaults, value) == -1)
  ------------------
  |  Branch (10315:9): [True: 0, False: 2.42k]
  ------------------
10316|      0|        goto failed;
10317|  2.42k|    Py_DECREF(value);
  ------------------
  |  |  430|  2.42k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10318|  2.42k|    value = ast2obj_arg(state, o->kwarg);
10319|  2.42k|    if (!value) goto failed;
  ------------------
  |  Branch (10319:9): [True: 0, False: 2.42k]
  ------------------
10320|  2.42k|    if (PyObject_SetAttr(result, state->kwarg, value) == -1)
  ------------------
  |  Branch (10320:9): [True: 0, False: 2.42k]
  ------------------
10321|      0|        goto failed;
10322|  2.42k|    Py_DECREF(value);
  ------------------
  |  |  430|  2.42k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10323|  2.42k|    value = ast2obj_list(state, (asdl_seq*)o->defaults, ast2obj_expr);
10324|  2.42k|    if (!value) goto failed;
  ------------------
  |  Branch (10324:9): [True: 0, False: 2.42k]
  ------------------
10325|  2.42k|    if (PyObject_SetAttr(result, state->defaults, value) == -1)
  ------------------
  |  Branch (10325:9): [True: 0, False: 2.42k]
  ------------------
10326|      0|        goto failed;
10327|  2.42k|    Py_DECREF(value);
  ------------------
  |  |  430|  2.42k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10328|  2.42k|    Py_LeaveRecursiveCall();
10329|  2.42k|    return result;
10330|      0|failed:
10331|      0|    Py_LeaveRecursiveCall();
10332|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10333|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10334|       |    return NULL;
10335|  2.42k|}
Python-ast.c:ast2obj_arg:
10339|  6.95k|{
10340|  6.95k|    arg_ty o = (arg_ty)_o;
10341|  6.95k|    PyObject *result = NULL, *value = NULL;
10342|  6.95k|    PyTypeObject *tp;
10343|  6.95k|    if (!o) {
  ------------------
  |  Branch (10343:9): [True: 4.14k, False: 2.81k]
  ------------------
10344|  4.14k|        Py_RETURN_NONE;
  ------------------
  |  |  628|  4.14k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  4.14k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10345|  4.14k|    }
10346|  2.81k|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (10346:9): [True: 0, False: 2.81k]
  ------------------
10347|      0|        return NULL;
10348|      0|    }
10349|  2.81k|    tp = (PyTypeObject *)state->arg_type;
10350|  2.81k|    result = PyType_GenericNew(tp, NULL, NULL);
10351|  2.81k|    if (!result) return NULL;
  ------------------
  |  Branch (10351:9): [True: 0, False: 2.81k]
  ------------------
10352|  2.81k|    value = ast2obj_identifier(state, o->arg);
  ------------------
  |  | 6018|  2.81k|#define ast2obj_identifier ast2obj_object
  ------------------
10353|  2.81k|    if (!value) goto failed;
  ------------------
  |  Branch (10353:9): [True: 0, False: 2.81k]
  ------------------
10354|  2.81k|    if (PyObject_SetAttr(result, state->arg, value) == -1)
  ------------------
  |  Branch (10354:9): [True: 0, False: 2.81k]
  ------------------
10355|      0|        goto failed;
10356|  2.81k|    Py_DECREF(value);
  ------------------
  |  |  430|  2.81k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10357|  2.81k|    value = ast2obj_expr(state, o->annotation);
10358|  2.81k|    if (!value) goto failed;
  ------------------
  |  Branch (10358:9): [True: 0, False: 2.81k]
  ------------------
10359|  2.81k|    if (PyObject_SetAttr(result, state->annotation, value) == -1)
  ------------------
  |  Branch (10359:9): [True: 0, False: 2.81k]
  ------------------
10360|      0|        goto failed;
10361|  2.81k|    Py_DECREF(value);
  ------------------
  |  |  430|  2.81k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10362|  2.81k|    value = ast2obj_string(state, o->type_comment);
  ------------------
  |  | 6019|  2.81k|#define ast2obj_string ast2obj_object
  ------------------
10363|  2.81k|    if (!value) goto failed;
  ------------------
  |  Branch (10363:9): [True: 0, False: 2.81k]
  ------------------
10364|  2.81k|    if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (10364:9): [True: 0, False: 2.81k]
  ------------------
10365|      0|        goto failed;
10366|  2.81k|    Py_DECREF(value);
  ------------------
  |  |  430|  2.81k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10367|  2.81k|    value = ast2obj_int(state, o->lineno);
10368|  2.81k|    if (!value) goto failed;
  ------------------
  |  Branch (10368:9): [True: 0, False: 2.81k]
  ------------------
10369|  2.81k|    if (PyObject_SetAttr(result, state->lineno, value) < 0)
  ------------------
  |  Branch (10369:9): [True: 0, False: 2.81k]
  ------------------
10370|      0|        goto failed;
10371|  2.81k|    Py_DECREF(value);
  ------------------
  |  |  430|  2.81k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10372|  2.81k|    value = ast2obj_int(state, o->col_offset);
10373|  2.81k|    if (!value) goto failed;
  ------------------
  |  Branch (10373:9): [True: 0, False: 2.81k]
  ------------------
10374|  2.81k|    if (PyObject_SetAttr(result, state->col_offset, value) < 0)
  ------------------
  |  Branch (10374:9): [True: 0, False: 2.81k]
  ------------------
10375|      0|        goto failed;
10376|  2.81k|    Py_DECREF(value);
  ------------------
  |  |  430|  2.81k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10377|  2.81k|    value = ast2obj_int(state, o->end_lineno);
10378|  2.81k|    if (!value) goto failed;
  ------------------
  |  Branch (10378:9): [True: 0, False: 2.81k]
  ------------------
10379|  2.81k|    if (PyObject_SetAttr(result, state->end_lineno, value) < 0)
  ------------------
  |  Branch (10379:9): [True: 0, False: 2.81k]
  ------------------
10380|      0|        goto failed;
10381|  2.81k|    Py_DECREF(value);
  ------------------
  |  |  430|  2.81k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10382|  2.81k|    value = ast2obj_int(state, o->end_col_offset);
10383|  2.81k|    if (!value) goto failed;
  ------------------
  |  Branch (10383:9): [True: 0, False: 2.81k]
  ------------------
10384|  2.81k|    if (PyObject_SetAttr(result, state->end_col_offset, value) < 0)
  ------------------
  |  Branch (10384:9): [True: 0, False: 2.81k]
  ------------------
10385|      0|        goto failed;
10386|  2.81k|    Py_DECREF(value);
  ------------------
  |  |  430|  2.81k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10387|  2.81k|    Py_LeaveRecursiveCall();
10388|  2.81k|    return result;
10389|      0|failed:
10390|      0|    Py_LeaveRecursiveCall();
10391|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10392|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10393|       |    return NULL;
10394|  2.81k|}
Python-ast.c:ast2obj_type_param:
10777|  5.22k|{
10778|  5.22k|    type_param_ty o = (type_param_ty)_o;
10779|  5.22k|    PyObject *result = NULL, *value = NULL;
10780|  5.22k|    PyTypeObject *tp;
10781|  5.22k|    if (!o) {
  ------------------
  |  Branch (10781:9): [True: 0, False: 5.22k]
  ------------------
10782|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10783|      0|    }
10784|  5.22k|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (10784:9): [True: 0, False: 5.22k]
  ------------------
10785|      0|        return NULL;
10786|      0|    }
10787|  5.22k|    switch (o->kind) {
  ------------------
  |  Branch (10787:13): [True: 5.22k, False: 0]
  ------------------
10788|  4.98k|    case TypeVar_kind:
  ------------------
  |  Branch (10788:5): [True: 4.98k, False: 243]
  ------------------
10789|  4.98k|        tp = (PyTypeObject *)state->TypeVar_type;
10790|  4.98k|        result = PyType_GenericNew(tp, NULL, NULL);
10791|  4.98k|        if (!result) goto failed;
  ------------------
  |  Branch (10791:13): [True: 0, False: 4.98k]
  ------------------
10792|  4.98k|        value = ast2obj_identifier(state, o->v.TypeVar.name);
  ------------------
  |  | 6018|  4.98k|#define ast2obj_identifier ast2obj_object
  ------------------
10793|  4.98k|        if (!value) goto failed;
  ------------------
  |  Branch (10793:13): [True: 0, False: 4.98k]
  ------------------
10794|  4.98k|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (10794:13): [True: 0, False: 4.98k]
  ------------------
10795|      0|            goto failed;
10796|  4.98k|        Py_DECREF(value);
  ------------------
  |  |  430|  4.98k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10797|  4.98k|        value = ast2obj_expr(state, o->v.TypeVar.bound);
10798|  4.98k|        if (!value) goto failed;
  ------------------
  |  Branch (10798:13): [True: 0, False: 4.98k]
  ------------------
10799|  4.98k|        if (PyObject_SetAttr(result, state->bound, value) == -1)
  ------------------
  |  Branch (10799:13): [True: 0, False: 4.98k]
  ------------------
10800|      0|            goto failed;
10801|  4.98k|        Py_DECREF(value);
  ------------------
  |  |  430|  4.98k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10802|  4.98k|        value = ast2obj_expr(state, o->v.TypeVar.default_value);
10803|  4.98k|        if (!value) goto failed;
  ------------------
  |  Branch (10803:13): [True: 0, False: 4.98k]
  ------------------
10804|  4.98k|        if (PyObject_SetAttr(result, state->default_value, value) == -1)
  ------------------
  |  Branch (10804:13): [True: 0, False: 4.98k]
  ------------------
10805|      0|            goto failed;
10806|  4.98k|        Py_DECREF(value);
  ------------------
  |  |  430|  4.98k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10807|  4.98k|        break;
10808|    164|    case ParamSpec_kind:
  ------------------
  |  Branch (10808:5): [True: 164, False: 5.06k]
  ------------------
10809|    164|        tp = (PyTypeObject *)state->ParamSpec_type;
10810|    164|        result = PyType_GenericNew(tp, NULL, NULL);
10811|    164|        if (!result) goto failed;
  ------------------
  |  Branch (10811:13): [True: 0, False: 164]
  ------------------
10812|    164|        value = ast2obj_identifier(state, o->v.ParamSpec.name);
  ------------------
  |  | 6018|    164|#define ast2obj_identifier ast2obj_object
  ------------------
10813|    164|        if (!value) goto failed;
  ------------------
  |  Branch (10813:13): [True: 0, False: 164]
  ------------------
10814|    164|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (10814:13): [True: 0, False: 164]
  ------------------
10815|      0|            goto failed;
10816|    164|        Py_DECREF(value);
  ------------------
  |  |  430|    164|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    164|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    164|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10817|    164|        value = ast2obj_expr(state, o->v.ParamSpec.default_value);
10818|    164|        if (!value) goto failed;
  ------------------
  |  Branch (10818:13): [True: 0, False: 164]
  ------------------
10819|    164|        if (PyObject_SetAttr(result, state->default_value, value) == -1)
  ------------------
  |  Branch (10819:13): [True: 0, False: 164]
  ------------------
10820|      0|            goto failed;
10821|    164|        Py_DECREF(value);
  ------------------
  |  |  430|    164|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    164|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    164|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10822|    164|        break;
10823|     79|    case TypeVarTuple_kind:
  ------------------
  |  Branch (10823:5): [True: 79, False: 5.14k]
  ------------------
10824|     79|        tp = (PyTypeObject *)state->TypeVarTuple_type;
10825|     79|        result = PyType_GenericNew(tp, NULL, NULL);
10826|     79|        if (!result) goto failed;
  ------------------
  |  Branch (10826:13): [True: 0, False: 79]
  ------------------
10827|     79|        value = ast2obj_identifier(state, o->v.TypeVarTuple.name);
  ------------------
  |  | 6018|     79|#define ast2obj_identifier ast2obj_object
  ------------------
10828|     79|        if (!value) goto failed;
  ------------------
  |  Branch (10828:13): [True: 0, False: 79]
  ------------------
10829|     79|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (10829:13): [True: 0, False: 79]
  ------------------
10830|      0|            goto failed;
10831|     79|        Py_DECREF(value);
  ------------------
  |  |  430|     79|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10832|     79|        value = ast2obj_expr(state, o->v.TypeVarTuple.default_value);
10833|     79|        if (!value) goto failed;
  ------------------
  |  Branch (10833:13): [True: 0, False: 79]
  ------------------
10834|     79|        if (PyObject_SetAttr(result, state->default_value, value) == -1)
  ------------------
  |  Branch (10834:13): [True: 0, False: 79]
  ------------------
10835|      0|            goto failed;
10836|     79|        Py_DECREF(value);
  ------------------
  |  |  430|     79|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10837|     79|        break;
10838|  5.22k|    }
10839|  5.22k|    value = ast2obj_int(state, o->lineno);
10840|  5.22k|    if (!value) goto failed;
  ------------------
  |  Branch (10840:9): [True: 0, False: 5.22k]
  ------------------
10841|  5.22k|    if (PyObject_SetAttr(result, state->lineno, value) < 0)
  ------------------
  |  Branch (10841:9): [True: 0, False: 5.22k]
  ------------------
10842|      0|        goto failed;
10843|  5.22k|    Py_DECREF(value);
  ------------------
  |  |  430|  5.22k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10844|  5.22k|    value = ast2obj_int(state, o->col_offset);
10845|  5.22k|    if (!value) goto failed;
  ------------------
  |  Branch (10845:9): [True: 0, False: 5.22k]
  ------------------
10846|  5.22k|    if (PyObject_SetAttr(result, state->col_offset, value) < 0)
  ------------------
  |  Branch (10846:9): [True: 0, False: 5.22k]
  ------------------
10847|      0|        goto failed;
10848|  5.22k|    Py_DECREF(value);
  ------------------
  |  |  430|  5.22k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10849|  5.22k|    value = ast2obj_int(state, o->end_lineno);
10850|  5.22k|    if (!value) goto failed;
  ------------------
  |  Branch (10850:9): [True: 0, False: 5.22k]
  ------------------
10851|  5.22k|    if (PyObject_SetAttr(result, state->end_lineno, value) < 0)
  ------------------
  |  Branch (10851:9): [True: 0, False: 5.22k]
  ------------------
10852|      0|        goto failed;
10853|  5.22k|    Py_DECREF(value);
  ------------------
  |  |  430|  5.22k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10854|  5.22k|    value = ast2obj_int(state, o->end_col_offset);
10855|  5.22k|    if (!value) goto failed;
  ------------------
  |  Branch (10855:9): [True: 0, False: 5.22k]
  ------------------
10856|  5.22k|    if (PyObject_SetAttr(result, state->end_col_offset, value) < 0)
  ------------------
  |  Branch (10856:9): [True: 0, False: 5.22k]
  ------------------
10857|      0|        goto failed;
10858|  5.22k|    Py_DECREF(value);
  ------------------
  |  |  430|  5.22k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10859|  5.22k|    Py_LeaveRecursiveCall();
10860|  5.22k|    return result;
10861|      0|failed:
10862|      0|    Py_LeaveRecursiveCall();
10863|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10864|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10865|       |    return NULL;
10866|  5.22k|}
Python-ast.c:ast2obj_keyword:
10398|    883|{
10399|    883|    keyword_ty o = (keyword_ty)_o;
10400|    883|    PyObject *result = NULL, *value = NULL;
10401|    883|    PyTypeObject *tp;
10402|    883|    if (!o) {
  ------------------
  |  Branch (10402:9): [True: 0, False: 883]
  ------------------
10403|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10404|      0|    }
10405|    883|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (10405:9): [True: 0, False: 883]
  ------------------
10406|      0|        return NULL;
10407|      0|    }
10408|    883|    tp = (PyTypeObject *)state->keyword_type;
10409|    883|    result = PyType_GenericNew(tp, NULL, NULL);
10410|    883|    if (!result) return NULL;
  ------------------
  |  Branch (10410:9): [True: 0, False: 883]
  ------------------
10411|    883|    value = ast2obj_identifier(state, o->arg);
  ------------------
  |  | 6018|    883|#define ast2obj_identifier ast2obj_object
  ------------------
10412|    883|    if (!value) goto failed;
  ------------------
  |  Branch (10412:9): [True: 0, False: 883]
  ------------------
10413|    883|    if (PyObject_SetAttr(result, state->arg, value) == -1)
  ------------------
  |  Branch (10413:9): [True: 0, False: 883]
  ------------------
10414|      0|        goto failed;
10415|    883|    Py_DECREF(value);
  ------------------
  |  |  430|    883|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    883|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    883|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10416|    883|    value = ast2obj_expr(state, o->value);
10417|    883|    if (!value) goto failed;
  ------------------
  |  Branch (10417:9): [True: 0, False: 883]
  ------------------
10418|    883|    if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (10418:9): [True: 0, False: 883]
  ------------------
10419|      0|        goto failed;
10420|    883|    Py_DECREF(value);
  ------------------
  |  |  430|    883|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    883|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    883|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10421|    883|    value = ast2obj_int(state, o->lineno);
10422|    883|    if (!value) goto failed;
  ------------------
  |  Branch (10422:9): [True: 0, False: 883]
  ------------------
10423|    883|    if (PyObject_SetAttr(result, state->lineno, value) < 0)
  ------------------
  |  Branch (10423:9): [True: 0, False: 883]
  ------------------
10424|      0|        goto failed;
10425|    883|    Py_DECREF(value);
  ------------------
  |  |  430|    883|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    883|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    883|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10426|    883|    value = ast2obj_int(state, o->col_offset);
10427|    883|    if (!value) goto failed;
  ------------------
  |  Branch (10427:9): [True: 0, False: 883]
  ------------------
10428|    883|    if (PyObject_SetAttr(result, state->col_offset, value) < 0)
  ------------------
  |  Branch (10428:9): [True: 0, False: 883]
  ------------------
10429|      0|        goto failed;
10430|    883|    Py_DECREF(value);
  ------------------
  |  |  430|    883|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    883|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    883|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10431|    883|    value = ast2obj_int(state, o->end_lineno);
10432|    883|    if (!value) goto failed;
  ------------------
  |  Branch (10432:9): [True: 0, False: 883]
  ------------------
10433|    883|    if (PyObject_SetAttr(result, state->end_lineno, value) < 0)
  ------------------
  |  Branch (10433:9): [True: 0, False: 883]
  ------------------
10434|      0|        goto failed;
10435|    883|    Py_DECREF(value);
  ------------------
  |  |  430|    883|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    883|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    883|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10436|    883|    value = ast2obj_int(state, o->end_col_offset);
10437|    883|    if (!value) goto failed;
  ------------------
  |  Branch (10437:9): [True: 0, False: 883]
  ------------------
10438|    883|    if (PyObject_SetAttr(result, state->end_col_offset, value) < 0)
  ------------------
  |  Branch (10438:9): [True: 0, False: 883]
  ------------------
10439|      0|        goto failed;
10440|    883|    Py_DECREF(value);
  ------------------
  |  |  430|    883|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    883|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    883|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10441|    883|    Py_LeaveRecursiveCall();
10442|    883|    return result;
10443|      0|failed:
10444|      0|    Py_LeaveRecursiveCall();
10445|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10446|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10447|       |    return NULL;
10448|    883|}
Python-ast.c:ast2obj_operator:
10099|  87.4k|{
10100|  87.4k|    switch(o) {
  ------------------
  |  Branch (10100:12): [True: 87.4k, False: 0]
  ------------------
10101|  42.4k|        case Add:
  ------------------
  |  Branch (10101:9): [True: 42.4k, False: 45.0k]
  ------------------
10102|  42.4k|            return Py_NewRef(state->Add_singleton);
  ------------------
  |  |  550|  42.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  42.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10103|  26.1k|        case Sub:
  ------------------
  |  Branch (10103:9): [True: 26.1k, False: 61.3k]
  ------------------
10104|  26.1k|            return Py_NewRef(state->Sub_singleton);
  ------------------
  |  |  550|  26.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  26.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10105|  4.09k|        case Mult:
  ------------------
  |  Branch (10105:9): [True: 4.09k, False: 83.3k]
  ------------------
10106|  4.09k|            return Py_NewRef(state->Mult_singleton);
  ------------------
  |  |  550|  4.09k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10107|    380|        case MatMult:
  ------------------
  |  Branch (10107:9): [True: 380, False: 87.1k]
  ------------------
10108|    380|            return Py_NewRef(state->MatMult_singleton);
  ------------------
  |  |  550|    380|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10109|  2.32k|        case Div:
  ------------------
  |  Branch (10109:9): [True: 2.32k, False: 85.1k]
  ------------------
10110|  2.32k|            return Py_NewRef(state->Div_singleton);
  ------------------
  |  |  550|  2.32k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10111|  4.62k|        case Mod:
  ------------------
  |  Branch (10111:9): [True: 4.62k, False: 82.8k]
  ------------------
10112|  4.62k|            return Py_NewRef(state->Mod_singleton);
  ------------------
  |  |  550|  4.62k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10113|  2.19k|        case Pow:
  ------------------
  |  Branch (10113:9): [True: 2.19k, False: 85.2k]
  ------------------
10114|  2.19k|            return Py_NewRef(state->Pow_singleton);
  ------------------
  |  |  550|  2.19k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10115|    379|        case LShift:
  ------------------
  |  Branch (10115:9): [True: 379, False: 87.1k]
  ------------------
10116|    379|            return Py_NewRef(state->LShift_singleton);
  ------------------
  |  |  550|    379|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    379|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    379|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10117|    693|        case RShift:
  ------------------
  |  Branch (10117:9): [True: 693, False: 86.7k]
  ------------------
10118|    693|            return Py_NewRef(state->RShift_singleton);
  ------------------
  |  |  550|    693|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    693|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    693|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10119|  2.68k|        case BitOr:
  ------------------
  |  Branch (10119:9): [True: 2.68k, False: 84.8k]
  ------------------
10120|  2.68k|            return Py_NewRef(state->BitOr_singleton);
  ------------------
  |  |  550|  2.68k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10121|    609|        case BitXor:
  ------------------
  |  Branch (10121:9): [True: 609, False: 86.8k]
  ------------------
10122|    609|            return Py_NewRef(state->BitXor_singleton);
  ------------------
  |  |  550|    609|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    609|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    609|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10123|    446|        case BitAnd:
  ------------------
  |  Branch (10123:9): [True: 446, False: 87.0k]
  ------------------
10124|    446|            return Py_NewRef(state->BitAnd_singleton);
  ------------------
  |  |  550|    446|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    446|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    446|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10125|    515|        case FloorDiv:
  ------------------
  |  Branch (10125:9): [True: 515, False: 86.9k]
  ------------------
10126|    515|            return Py_NewRef(state->FloorDiv_singleton);
  ------------------
  |  |  550|    515|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    515|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    515|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10127|  87.4k|    }
10128|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10129|  87.4k|}
Python-ast.c:ast2obj_int:
 6022|  1.62M|{
 6023|  1.62M|    return PyLong_FromLong(b);
 6024|  1.62M|}
Python-ast.c:ast2obj_withitem:
10506|  1.77k|{
10507|  1.77k|    withitem_ty o = (withitem_ty)_o;
10508|  1.77k|    PyObject *result = NULL, *value = NULL;
10509|  1.77k|    PyTypeObject *tp;
10510|  1.77k|    if (!o) {
  ------------------
  |  Branch (10510:9): [True: 0, False: 1.77k]
  ------------------
10511|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10512|      0|    }
10513|  1.77k|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (10513:9): [True: 0, False: 1.77k]
  ------------------
10514|      0|        return NULL;
10515|      0|    }
10516|  1.77k|    tp = (PyTypeObject *)state->withitem_type;
10517|  1.77k|    result = PyType_GenericNew(tp, NULL, NULL);
10518|  1.77k|    if (!result) return NULL;
  ------------------
  |  Branch (10518:9): [True: 0, False: 1.77k]
  ------------------
10519|  1.77k|    value = ast2obj_expr(state, o->context_expr);
10520|  1.77k|    if (!value) goto failed;
  ------------------
  |  Branch (10520:9): [True: 0, False: 1.77k]
  ------------------
10521|  1.77k|    if (PyObject_SetAttr(result, state->context_expr, value) == -1)
  ------------------
  |  Branch (10521:9): [True: 0, False: 1.77k]
  ------------------
10522|      0|        goto failed;
10523|  1.77k|    Py_DECREF(value);
  ------------------
  |  |  430|  1.77k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.77k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.77k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10524|  1.77k|    value = ast2obj_expr(state, o->optional_vars);
10525|  1.77k|    if (!value) goto failed;
  ------------------
  |  Branch (10525:9): [True: 0, False: 1.77k]
  ------------------
10526|  1.77k|    if (PyObject_SetAttr(result, state->optional_vars, value) == -1)
  ------------------
  |  Branch (10526:9): [True: 0, False: 1.77k]
  ------------------
10527|      0|        goto failed;
10528|  1.77k|    Py_DECREF(value);
  ------------------
  |  |  430|  1.77k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.77k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.77k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10529|  1.77k|    Py_LeaveRecursiveCall();
10530|  1.77k|    return result;
10531|      0|failed:
10532|      0|    Py_LeaveRecursiveCall();
10533|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10534|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10535|       |    return NULL;
10536|  1.77k|}
Python-ast.c:ast2obj_match_case:
10540|    443|{
10541|    443|    match_case_ty o = (match_case_ty)_o;
10542|    443|    PyObject *result = NULL, *value = NULL;
10543|    443|    PyTypeObject *tp;
10544|    443|    if (!o) {
  ------------------
  |  Branch (10544:9): [True: 0, False: 443]
  ------------------
10545|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10546|      0|    }
10547|    443|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (10547:9): [True: 0, False: 443]
  ------------------
10548|      0|        return NULL;
10549|      0|    }
10550|    443|    tp = (PyTypeObject *)state->match_case_type;
10551|    443|    result = PyType_GenericNew(tp, NULL, NULL);
10552|    443|    if (!result) return NULL;
  ------------------
  |  Branch (10552:9): [True: 0, False: 443]
  ------------------
10553|    443|    value = ast2obj_pattern(state, o->pattern);
10554|    443|    if (!value) goto failed;
  ------------------
  |  Branch (10554:9): [True: 0, False: 443]
  ------------------
10555|    443|    if (PyObject_SetAttr(result, state->pattern, value) == -1)
  ------------------
  |  Branch (10555:9): [True: 0, False: 443]
  ------------------
10556|      0|        goto failed;
10557|    443|    Py_DECREF(value);
  ------------------
  |  |  430|    443|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    443|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    443|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10558|    443|    value = ast2obj_expr(state, o->guard);
10559|    443|    if (!value) goto failed;
  ------------------
  |  Branch (10559:9): [True: 0, False: 443]
  ------------------
10560|    443|    if (PyObject_SetAttr(result, state->guard, value) == -1)
  ------------------
  |  Branch (10560:9): [True: 0, False: 443]
  ------------------
10561|      0|        goto failed;
10562|    443|    Py_DECREF(value);
  ------------------
  |  |  430|    443|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    443|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    443|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10563|    443|    value = ast2obj_list(state, (asdl_seq*)o->body, ast2obj_stmt);
10564|    443|    if (!value) goto failed;
  ------------------
  |  Branch (10564:9): [True: 0, False: 443]
  ------------------
10565|    443|    if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (10565:9): [True: 0, False: 443]
  ------------------
10566|      0|        goto failed;
10567|    443|    Py_DECREF(value);
  ------------------
  |  |  430|    443|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    443|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    443|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10568|    443|    Py_LeaveRecursiveCall();
10569|    443|    return result;
10570|      0|failed:
10571|      0|    Py_LeaveRecursiveCall();
10572|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10573|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10574|       |    return NULL;
10575|    443|}
Python-ast.c:ast2obj_pattern:
10579|  15.4k|{
10580|  15.4k|    pattern_ty o = (pattern_ty)_o;
10581|  15.4k|    PyObject *result = NULL, *value = NULL;
10582|  15.4k|    PyTypeObject *tp;
10583|  15.4k|    if (!o) {
  ------------------
  |  Branch (10583:9): [True: 5.95k, False: 9.46k]
  ------------------
10584|  5.95k|        Py_RETURN_NONE;
  ------------------
  |  |  628|  5.95k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  5.95k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10585|  5.95k|    }
10586|  9.46k|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (10586:9): [True: 0, False: 9.46k]
  ------------------
10587|      0|        return NULL;
10588|      0|    }
10589|  9.46k|    switch (o->kind) {
  ------------------
  |  Branch (10589:13): [True: 9.46k, False: 0]
  ------------------
10590|    910|    case MatchValue_kind:
  ------------------
  |  Branch (10590:5): [True: 910, False: 8.55k]
  ------------------
10591|    910|        tp = (PyTypeObject *)state->MatchValue_type;
10592|    910|        result = PyType_GenericNew(tp, NULL, NULL);
10593|    910|        if (!result) goto failed;
  ------------------
  |  Branch (10593:13): [True: 0, False: 910]
  ------------------
10594|    910|        value = ast2obj_expr(state, o->v.MatchValue.value);
10595|    910|        if (!value) goto failed;
  ------------------
  |  Branch (10595:13): [True: 0, False: 910]
  ------------------
10596|    910|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (10596:13): [True: 0, False: 910]
  ------------------
10597|      0|            goto failed;
10598|    910|        Py_DECREF(value);
  ------------------
  |  |  430|    910|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    910|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    910|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10599|    910|        break;
10600|    232|    case MatchSingleton_kind:
  ------------------
  |  Branch (10600:5): [True: 232, False: 9.23k]
  ------------------
10601|    232|        tp = (PyTypeObject *)state->MatchSingleton_type;
10602|    232|        result = PyType_GenericNew(tp, NULL, NULL);
10603|    232|        if (!result) goto failed;
  ------------------
  |  Branch (10603:13): [True: 0, False: 232]
  ------------------
10604|    232|        value = ast2obj_constant(state, o->v.MatchSingleton.value);
  ------------------
  |  | 6017|    232|#define ast2obj_constant ast2obj_object
  ------------------
10605|    232|        if (!value) goto failed;
  ------------------
  |  Branch (10605:13): [True: 0, False: 232]
  ------------------
10606|    232|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (10606:13): [True: 0, False: 232]
  ------------------
10607|      0|            goto failed;
10608|    232|        Py_DECREF(value);
  ------------------
  |  |  430|    232|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    232|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    232|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10609|    232|        break;
10610|    342|    case MatchSequence_kind:
  ------------------
  |  Branch (10610:5): [True: 342, False: 9.12k]
  ------------------
10611|    342|        tp = (PyTypeObject *)state->MatchSequence_type;
10612|    342|        result = PyType_GenericNew(tp, NULL, NULL);
10613|    342|        if (!result) goto failed;
  ------------------
  |  Branch (10613:13): [True: 0, False: 342]
  ------------------
10614|    342|        value = ast2obj_list(state, (asdl_seq*)o->v.MatchSequence.patterns,
10615|    342|                             ast2obj_pattern);
10616|    342|        if (!value) goto failed;
  ------------------
  |  Branch (10616:13): [True: 0, False: 342]
  ------------------
10617|    342|        if (PyObject_SetAttr(result, state->patterns, value) == -1)
  ------------------
  |  Branch (10617:13): [True: 0, False: 342]
  ------------------
10618|      0|            goto failed;
10619|    342|        Py_DECREF(value);
  ------------------
  |  |  430|    342|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    342|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    342|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10620|    342|        break;
10621|      1|    case MatchMapping_kind:
  ------------------
  |  Branch (10621:5): [True: 1, False: 9.46k]
  ------------------
10622|      1|        tp = (PyTypeObject *)state->MatchMapping_type;
10623|      1|        result = PyType_GenericNew(tp, NULL, NULL);
10624|      1|        if (!result) goto failed;
  ------------------
  |  Branch (10624:13): [True: 0, False: 1]
  ------------------
10625|      1|        value = ast2obj_list(state, (asdl_seq*)o->v.MatchMapping.keys,
10626|      1|                             ast2obj_expr);
10627|      1|        if (!value) goto failed;
  ------------------
  |  Branch (10627:13): [True: 0, False: 1]
  ------------------
10628|      1|        if (PyObject_SetAttr(result, state->keys, value) == -1)
  ------------------
  |  Branch (10628:13): [True: 0, False: 1]
  ------------------
10629|      0|            goto failed;
10630|      1|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10631|      1|        value = ast2obj_list(state, (asdl_seq*)o->v.MatchMapping.patterns,
10632|      1|                             ast2obj_pattern);
10633|      1|        if (!value) goto failed;
  ------------------
  |  Branch (10633:13): [True: 0, False: 1]
  ------------------
10634|      1|        if (PyObject_SetAttr(result, state->patterns, value) == -1)
  ------------------
  |  Branch (10634:13): [True: 0, False: 1]
  ------------------
10635|      0|            goto failed;
10636|      1|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10637|      1|        value = ast2obj_identifier(state, o->v.MatchMapping.rest);
  ------------------
  |  | 6018|      1|#define ast2obj_identifier ast2obj_object
  ------------------
10638|      1|        if (!value) goto failed;
  ------------------
  |  Branch (10638:13): [True: 0, False: 1]
  ------------------
10639|      1|        if (PyObject_SetAttr(result, state->rest, value) == -1)
  ------------------
  |  Branch (10639:13): [True: 0, False: 1]
  ------------------
10640|      0|            goto failed;
10641|      1|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10642|      1|        break;
10643|    300|    case MatchClass_kind:
  ------------------
  |  Branch (10643:5): [True: 300, False: 9.16k]
  ------------------
10644|    300|        tp = (PyTypeObject *)state->MatchClass_type;
10645|    300|        result = PyType_GenericNew(tp, NULL, NULL);
10646|    300|        if (!result) goto failed;
  ------------------
  |  Branch (10646:13): [True: 0, False: 300]
  ------------------
10647|    300|        value = ast2obj_expr(state, o->v.MatchClass.cls);
10648|    300|        if (!value) goto failed;
  ------------------
  |  Branch (10648:13): [True: 0, False: 300]
  ------------------
10649|    300|        if (PyObject_SetAttr(result, state->cls, value) == -1)
  ------------------
  |  Branch (10649:13): [True: 0, False: 300]
  ------------------
10650|      0|            goto failed;
10651|    300|        Py_DECREF(value);
  ------------------
  |  |  430|    300|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    300|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    300|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10652|    300|        value = ast2obj_list(state, (asdl_seq*)o->v.MatchClass.patterns,
10653|    300|                             ast2obj_pattern);
10654|    300|        if (!value) goto failed;
  ------------------
  |  Branch (10654:13): [True: 0, False: 300]
  ------------------
10655|    300|        if (PyObject_SetAttr(result, state->patterns, value) == -1)
  ------------------
  |  Branch (10655:13): [True: 0, False: 300]
  ------------------
10656|      0|            goto failed;
10657|    300|        Py_DECREF(value);
  ------------------
  |  |  430|    300|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    300|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    300|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10658|    300|        value = ast2obj_list(state, (asdl_seq*)o->v.MatchClass.kwd_attrs,
10659|    300|                             ast2obj_identifier);
  ------------------
  |  | 6018|    300|#define ast2obj_identifier ast2obj_object
  ------------------
10660|    300|        if (!value) goto failed;
  ------------------
  |  Branch (10660:13): [True: 0, False: 300]
  ------------------
10661|    300|        if (PyObject_SetAttr(result, state->kwd_attrs, value) == -1)
  ------------------
  |  Branch (10661:13): [True: 0, False: 300]
  ------------------
10662|      0|            goto failed;
10663|    300|        Py_DECREF(value);
  ------------------
  |  |  430|    300|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    300|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    300|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10664|    300|        value = ast2obj_list(state, (asdl_seq*)o->v.MatchClass.kwd_patterns,
10665|    300|                             ast2obj_pattern);
10666|    300|        if (!value) goto failed;
  ------------------
  |  Branch (10666:13): [True: 0, False: 300]
  ------------------
10667|    300|        if (PyObject_SetAttr(result, state->kwd_patterns, value) == -1)
  ------------------
  |  Branch (10667:13): [True: 0, False: 300]
  ------------------
10668|      0|            goto failed;
10669|    300|        Py_DECREF(value);
  ------------------
  |  |  430|    300|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    300|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    300|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10670|    300|        break;
10671|  1.33k|    case MatchStar_kind:
  ------------------
  |  Branch (10671:5): [True: 1.33k, False: 8.13k]
  ------------------
10672|  1.33k|        tp = (PyTypeObject *)state->MatchStar_type;
10673|  1.33k|        result = PyType_GenericNew(tp, NULL, NULL);
10674|  1.33k|        if (!result) goto failed;
  ------------------
  |  Branch (10674:13): [True: 0, False: 1.33k]
  ------------------
10675|  1.33k|        value = ast2obj_identifier(state, o->v.MatchStar.name);
  ------------------
  |  | 6018|  1.33k|#define ast2obj_identifier ast2obj_object
  ------------------
10676|  1.33k|        if (!value) goto failed;
  ------------------
  |  Branch (10676:13): [True: 0, False: 1.33k]
  ------------------
10677|  1.33k|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (10677:13): [True: 0, False: 1.33k]
  ------------------
10678|      0|            goto failed;
10679|  1.33k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.33k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10680|  1.33k|        break;
10681|  6.02k|    case MatchAs_kind:
  ------------------
  |  Branch (10681:5): [True: 6.02k, False: 3.43k]
  ------------------
10682|  6.02k|        tp = (PyTypeObject *)state->MatchAs_type;
10683|  6.02k|        result = PyType_GenericNew(tp, NULL, NULL);
10684|  6.02k|        if (!result) goto failed;
  ------------------
  |  Branch (10684:13): [True: 0, False: 6.02k]
  ------------------
10685|  6.02k|        value = ast2obj_pattern(state, o->v.MatchAs.pattern);
10686|  6.02k|        if (!value) goto failed;
  ------------------
  |  Branch (10686:13): [True: 0, False: 6.02k]
  ------------------
10687|  6.02k|        if (PyObject_SetAttr(result, state->pattern, value) == -1)
  ------------------
  |  Branch (10687:13): [True: 0, False: 6.02k]
  ------------------
10688|      0|            goto failed;
10689|  6.02k|        Py_DECREF(value);
  ------------------
  |  |  430|  6.02k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10690|  6.02k|        value = ast2obj_identifier(state, o->v.MatchAs.name);
  ------------------
  |  | 6018|  6.02k|#define ast2obj_identifier ast2obj_object
  ------------------
10691|  6.02k|        if (!value) goto failed;
  ------------------
  |  Branch (10691:13): [True: 0, False: 6.02k]
  ------------------
10692|  6.02k|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (10692:13): [True: 0, False: 6.02k]
  ------------------
10693|      0|            goto failed;
10694|  6.02k|        Py_DECREF(value);
  ------------------
  |  |  430|  6.02k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10695|  6.02k|        break;
10696|    319|    case MatchOr_kind:
  ------------------
  |  Branch (10696:5): [True: 319, False: 9.14k]
  ------------------
10697|    319|        tp = (PyTypeObject *)state->MatchOr_type;
10698|    319|        result = PyType_GenericNew(tp, NULL, NULL);
10699|    319|        if (!result) goto failed;
  ------------------
  |  Branch (10699:13): [True: 0, False: 319]
  ------------------
10700|    319|        value = ast2obj_list(state, (asdl_seq*)o->v.MatchOr.patterns,
10701|    319|                             ast2obj_pattern);
10702|    319|        if (!value) goto failed;
  ------------------
  |  Branch (10702:13): [True: 0, False: 319]
  ------------------
10703|    319|        if (PyObject_SetAttr(result, state->patterns, value) == -1)
  ------------------
  |  Branch (10703:13): [True: 0, False: 319]
  ------------------
10704|      0|            goto failed;
10705|    319|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10706|    319|        break;
10707|  9.46k|    }
10708|  9.46k|    value = ast2obj_int(state, o->lineno);
10709|  9.46k|    if (!value) goto failed;
  ------------------
  |  Branch (10709:9): [True: 0, False: 9.46k]
  ------------------
10710|  9.46k|    if (PyObject_SetAttr(result, state->lineno, value) < 0)
  ------------------
  |  Branch (10710:9): [True: 0, False: 9.46k]
  ------------------
10711|      0|        goto failed;
10712|  9.46k|    Py_DECREF(value);
  ------------------
  |  |  430|  9.46k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10713|  9.46k|    value = ast2obj_int(state, o->col_offset);
10714|  9.46k|    if (!value) goto failed;
  ------------------
  |  Branch (10714:9): [True: 0, False: 9.46k]
  ------------------
10715|  9.46k|    if (PyObject_SetAttr(result, state->col_offset, value) < 0)
  ------------------
  |  Branch (10715:9): [True: 0, False: 9.46k]
  ------------------
10716|      0|        goto failed;
10717|  9.46k|    Py_DECREF(value);
  ------------------
  |  |  430|  9.46k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10718|  9.46k|    value = ast2obj_int(state, o->end_lineno);
10719|  9.46k|    if (!value) goto failed;
  ------------------
  |  Branch (10719:9): [True: 0, False: 9.46k]
  ------------------
10720|  9.46k|    if (PyObject_SetAttr(result, state->end_lineno, value) < 0)
  ------------------
  |  Branch (10720:9): [True: 0, False: 9.46k]
  ------------------
10721|      0|        goto failed;
10722|  9.46k|    Py_DECREF(value);
  ------------------
  |  |  430|  9.46k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10723|  9.46k|    value = ast2obj_int(state, o->end_col_offset);
10724|  9.46k|    if (!value) goto failed;
  ------------------
  |  Branch (10724:9): [True: 0, False: 9.46k]
  ------------------
10725|  9.46k|    if (PyObject_SetAttr(result, state->end_col_offset, value) < 0)
  ------------------
  |  Branch (10725:9): [True: 0, False: 9.46k]
  ------------------
10726|      0|        goto failed;
10727|  9.46k|    Py_DECREF(value);
  ------------------
  |  |  430|  9.46k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10728|  9.46k|    Py_LeaveRecursiveCall();
10729|  9.46k|    return result;
10730|      0|failed:
10731|      0|    Py_LeaveRecursiveCall();
10732|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10733|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10734|       |    return NULL;
10735|  9.46k|}
Python-ast.c:ast2obj_excepthandler:
10216|  1.37k|{
10217|  1.37k|    excepthandler_ty o = (excepthandler_ty)_o;
10218|  1.37k|    PyObject *result = NULL, *value = NULL;
10219|  1.37k|    PyTypeObject *tp;
10220|  1.37k|    if (!o) {
  ------------------
  |  Branch (10220:9): [True: 0, False: 1.37k]
  ------------------
10221|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10222|      0|    }
10223|  1.37k|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (10223:9): [True: 0, False: 1.37k]
  ------------------
10224|      0|        return NULL;
10225|      0|    }
10226|  1.37k|    switch (o->kind) {
  ------------------
  |  Branch (10226:13): [True: 1.37k, False: 0]
  ------------------
10227|  1.37k|    case ExceptHandler_kind:
  ------------------
  |  Branch (10227:5): [True: 1.37k, False: 0]
  ------------------
10228|  1.37k|        tp = (PyTypeObject *)state->ExceptHandler_type;
10229|  1.37k|        result = PyType_GenericNew(tp, NULL, NULL);
10230|  1.37k|        if (!result) goto failed;
  ------------------
  |  Branch (10230:13): [True: 0, False: 1.37k]
  ------------------
10231|  1.37k|        value = ast2obj_expr(state, o->v.ExceptHandler.type);
10232|  1.37k|        if (!value) goto failed;
  ------------------
  |  Branch (10232:13): [True: 0, False: 1.37k]
  ------------------
10233|  1.37k|        if (PyObject_SetAttr(result, state->type, value) == -1)
  ------------------
  |  Branch (10233:13): [True: 0, False: 1.37k]
  ------------------
10234|      0|            goto failed;
10235|  1.37k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.37k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10236|  1.37k|        value = ast2obj_identifier(state, o->v.ExceptHandler.name);
  ------------------
  |  | 6018|  1.37k|#define ast2obj_identifier ast2obj_object
  ------------------
10237|  1.37k|        if (!value) goto failed;
  ------------------
  |  Branch (10237:13): [True: 0, False: 1.37k]
  ------------------
10238|  1.37k|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (10238:13): [True: 0, False: 1.37k]
  ------------------
10239|      0|            goto failed;
10240|  1.37k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.37k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10241|  1.37k|        value = ast2obj_list(state, (asdl_seq*)o->v.ExceptHandler.body,
10242|  1.37k|                             ast2obj_stmt);
10243|  1.37k|        if (!value) goto failed;
  ------------------
  |  Branch (10243:13): [True: 0, False: 1.37k]
  ------------------
10244|  1.37k|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (10244:13): [True: 0, False: 1.37k]
  ------------------
10245|      0|            goto failed;
10246|  1.37k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.37k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10247|  1.37k|        break;
10248|  1.37k|    }
10249|  1.37k|    value = ast2obj_int(state, o->lineno);
10250|  1.37k|    if (!value) goto failed;
  ------------------
  |  Branch (10250:9): [True: 0, False: 1.37k]
  ------------------
10251|  1.37k|    if (PyObject_SetAttr(result, state->lineno, value) < 0)
  ------------------
  |  Branch (10251:9): [True: 0, False: 1.37k]
  ------------------
10252|      0|        goto failed;
10253|  1.37k|    Py_DECREF(value);
  ------------------
  |  |  430|  1.37k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10254|  1.37k|    value = ast2obj_int(state, o->col_offset);
10255|  1.37k|    if (!value) goto failed;
  ------------------
  |  Branch (10255:9): [True: 0, False: 1.37k]
  ------------------
10256|  1.37k|    if (PyObject_SetAttr(result, state->col_offset, value) < 0)
  ------------------
  |  Branch (10256:9): [True: 0, False: 1.37k]
  ------------------
10257|      0|        goto failed;
10258|  1.37k|    Py_DECREF(value);
  ------------------
  |  |  430|  1.37k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10259|  1.37k|    value = ast2obj_int(state, o->end_lineno);
10260|  1.37k|    if (!value) goto failed;
  ------------------
  |  Branch (10260:9): [True: 0, False: 1.37k]
  ------------------
10261|  1.37k|    if (PyObject_SetAttr(result, state->end_lineno, value) < 0)
  ------------------
  |  Branch (10261:9): [True: 0, False: 1.37k]
  ------------------
10262|      0|        goto failed;
10263|  1.37k|    Py_DECREF(value);
  ------------------
  |  |  430|  1.37k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10264|  1.37k|    value = ast2obj_int(state, o->end_col_offset);
10265|  1.37k|    if (!value) goto failed;
  ------------------
  |  Branch (10265:9): [True: 0, False: 1.37k]
  ------------------
10266|  1.37k|    if (PyObject_SetAttr(result, state->end_col_offset, value) < 0)
  ------------------
  |  Branch (10266:9): [True: 0, False: 1.37k]
  ------------------
10267|      0|        goto failed;
10268|  1.37k|    Py_DECREF(value);
  ------------------
  |  |  430|  1.37k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10269|  1.37k|    Py_LeaveRecursiveCall();
10270|  1.37k|    return result;
10271|      0|failed:
10272|      0|    Py_LeaveRecursiveCall();
10273|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10274|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10275|       |    return NULL;
10276|  1.37k|}
Python-ast.c:ast2obj_alias:
10452|  2.57k|{
10453|  2.57k|    alias_ty o = (alias_ty)_o;
10454|  2.57k|    PyObject *result = NULL, *value = NULL;
10455|  2.57k|    PyTypeObject *tp;
10456|  2.57k|    if (!o) {
  ------------------
  |  Branch (10456:9): [True: 0, False: 2.57k]
  ------------------
10457|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10458|      0|    }
10459|  2.57k|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (10459:9): [True: 0, False: 2.57k]
  ------------------
10460|      0|        return NULL;
10461|      0|    }
10462|  2.57k|    tp = (PyTypeObject *)state->alias_type;
10463|  2.57k|    result = PyType_GenericNew(tp, NULL, NULL);
10464|  2.57k|    if (!result) return NULL;
  ------------------
  |  Branch (10464:9): [True: 0, False: 2.57k]
  ------------------
10465|  2.57k|    value = ast2obj_identifier(state, o->name);
  ------------------
  |  | 6018|  2.57k|#define ast2obj_identifier ast2obj_object
  ------------------
10466|  2.57k|    if (!value) goto failed;
  ------------------
  |  Branch (10466:9): [True: 0, False: 2.57k]
  ------------------
10467|  2.57k|    if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (10467:9): [True: 0, False: 2.57k]
  ------------------
10468|      0|        goto failed;
10469|  2.57k|    Py_DECREF(value);
  ------------------
  |  |  430|  2.57k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10470|  2.57k|    value = ast2obj_identifier(state, o->asname);
  ------------------
  |  | 6018|  2.57k|#define ast2obj_identifier ast2obj_object
  ------------------
10471|  2.57k|    if (!value) goto failed;
  ------------------
  |  Branch (10471:9): [True: 0, False: 2.57k]
  ------------------
10472|  2.57k|    if (PyObject_SetAttr(result, state->asname, value) == -1)
  ------------------
  |  Branch (10472:9): [True: 0, False: 2.57k]
  ------------------
10473|      0|        goto failed;
10474|  2.57k|    Py_DECREF(value);
  ------------------
  |  |  430|  2.57k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10475|  2.57k|    value = ast2obj_int(state, o->lineno);
10476|  2.57k|    if (!value) goto failed;
  ------------------
  |  Branch (10476:9): [True: 0, False: 2.57k]
  ------------------
10477|  2.57k|    if (PyObject_SetAttr(result, state->lineno, value) < 0)
  ------------------
  |  Branch (10477:9): [True: 0, False: 2.57k]
  ------------------
10478|      0|        goto failed;
10479|  2.57k|    Py_DECREF(value);
  ------------------
  |  |  430|  2.57k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10480|  2.57k|    value = ast2obj_int(state, o->col_offset);
10481|  2.57k|    if (!value) goto failed;
  ------------------
  |  Branch (10481:9): [True: 0, False: 2.57k]
  ------------------
10482|  2.57k|    if (PyObject_SetAttr(result, state->col_offset, value) < 0)
  ------------------
  |  Branch (10482:9): [True: 0, False: 2.57k]
  ------------------
10483|      0|        goto failed;
10484|  2.57k|    Py_DECREF(value);
  ------------------
  |  |  430|  2.57k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10485|  2.57k|    value = ast2obj_int(state, o->end_lineno);
10486|  2.57k|    if (!value) goto failed;
  ------------------
  |  Branch (10486:9): [True: 0, False: 2.57k]
  ------------------
10487|  2.57k|    if (PyObject_SetAttr(result, state->end_lineno, value) < 0)
  ------------------
  |  Branch (10487:9): [True: 0, False: 2.57k]
  ------------------
10488|      0|        goto failed;
10489|  2.57k|    Py_DECREF(value);
  ------------------
  |  |  430|  2.57k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10490|  2.57k|    value = ast2obj_int(state, o->end_col_offset);
10491|  2.57k|    if (!value) goto failed;
  ------------------
  |  Branch (10491:9): [True: 0, False: 2.57k]
  ------------------
10492|  2.57k|    if (PyObject_SetAttr(result, state->end_col_offset, value) < 0)
  ------------------
  |  Branch (10492:9): [True: 0, False: 2.57k]
  ------------------
10493|      0|        goto failed;
10494|  2.57k|    Py_DECREF(value);
  ------------------
  |  |  430|  2.57k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10495|  2.57k|    Py_LeaveRecursiveCall();
10496|  2.57k|    return result;
10497|      0|failed:
10498|      0|    Py_LeaveRecursiveCall();
10499|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10500|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10501|       |    return NULL;
10502|  2.57k|}
Python-ast.c:ast2obj_type_ignore:
10739|    789|{
10740|    789|    type_ignore_ty o = (type_ignore_ty)_o;
10741|    789|    PyObject *result = NULL, *value = NULL;
10742|    789|    PyTypeObject *tp;
10743|    789|    if (!o) {
  ------------------
  |  Branch (10743:9): [True: 0, False: 789]
  ------------------
10744|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10745|      0|    }
10746|    789|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (10746:9): [True: 0, False: 789]
  ------------------
10747|      0|        return NULL;
10748|      0|    }
10749|    789|    switch (o->kind) {
  ------------------
  |  Branch (10749:13): [True: 789, False: 0]
  ------------------
10750|    789|    case TypeIgnore_kind:
  ------------------
  |  Branch (10750:5): [True: 789, False: 0]
  ------------------
10751|    789|        tp = (PyTypeObject *)state->TypeIgnore_type;
10752|    789|        result = PyType_GenericNew(tp, NULL, NULL);
10753|    789|        if (!result) goto failed;
  ------------------
  |  Branch (10753:13): [True: 0, False: 789]
  ------------------
10754|    789|        value = ast2obj_int(state, o->v.TypeIgnore.lineno);
10755|    789|        if (!value) goto failed;
  ------------------
  |  Branch (10755:13): [True: 0, False: 789]
  ------------------
10756|    789|        if (PyObject_SetAttr(result, state->lineno, value) == -1)
  ------------------
  |  Branch (10756:13): [True: 0, False: 789]
  ------------------
10757|      0|            goto failed;
10758|    789|        Py_DECREF(value);
  ------------------
  |  |  430|    789|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    789|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    789|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10759|    789|        value = ast2obj_string(state, o->v.TypeIgnore.tag);
  ------------------
  |  | 6019|    789|#define ast2obj_string ast2obj_object
  ------------------
10760|    789|        if (!value) goto failed;
  ------------------
  |  Branch (10760:13): [True: 0, False: 789]
  ------------------
10761|    789|        if (PyObject_SetAttr(result, state->tag, value) == -1)
  ------------------
  |  Branch (10761:13): [True: 0, False: 789]
  ------------------
10762|      0|            goto failed;
10763|    789|        Py_DECREF(value);
  ------------------
  |  |  430|    789|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    789|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    789|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10764|    789|        break;
10765|    789|    }
10766|    789|    Py_LeaveRecursiveCall();
10767|    789|    return result;
10768|      0|failed:
10769|      0|    Py_LeaveRecursiveCall();
10770|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10771|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10772|       |    return NULL;
10773|    789|}
Python-ast.c:ast2obj_expr:
 9560|   353k|{
 9561|   353k|    expr_ty o = (expr_ty)_o;
 9562|   353k|    PyObject *result = NULL, *value = NULL;
 9563|   353k|    PyTypeObject *tp;
 9564|   353k|    if (!o) {
  ------------------
  |  Branch (9564:9): [True: 22.1k, False: 331k]
  ------------------
 9565|  22.1k|        Py_RETURN_NONE;
  ------------------
  |  |  628|  22.1k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  22.1k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 9566|  22.1k|    }
 9567|   331k|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (9567:9): [True: 0, False: 331k]
  ------------------
 9568|      0|        return NULL;
 9569|      0|    }
 9570|   331k|    switch (o->kind) {
  ------------------
  |  Branch (9570:13): [True: 331k, False: 0]
  ------------------
 9571|    702|    case BoolOp_kind:
  ------------------
  |  Branch (9571:5): [True: 702, False: 330k]
  ------------------
 9572|    702|        tp = (PyTypeObject *)state->BoolOp_type;
 9573|    702|        result = PyType_GenericNew(tp, NULL, NULL);
 9574|    702|        if (!result) goto failed;
  ------------------
  |  Branch (9574:13): [True: 0, False: 702]
  ------------------
 9575|    702|        value = ast2obj_boolop(state, o->v.BoolOp.op);
 9576|    702|        if (!value) goto failed;
  ------------------
  |  Branch (9576:13): [True: 0, False: 702]
  ------------------
 9577|    702|        if (PyObject_SetAttr(result, state->op, value) == -1)
  ------------------
  |  Branch (9577:13): [True: 0, False: 702]
  ------------------
 9578|      0|            goto failed;
 9579|    702|        Py_DECREF(value);
  ------------------
  |  |  430|    702|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    702|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    702|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9580|    702|        value = ast2obj_list(state, (asdl_seq*)o->v.BoolOp.values,
 9581|    702|                             ast2obj_expr);
 9582|    702|        if (!value) goto failed;
  ------------------
  |  Branch (9582:13): [True: 0, False: 702]
  ------------------
 9583|    702|        if (PyObject_SetAttr(result, state->values, value) == -1)
  ------------------
  |  Branch (9583:13): [True: 0, False: 702]
  ------------------
 9584|      0|            goto failed;
 9585|    702|        Py_DECREF(value);
  ------------------
  |  |  430|    702|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    702|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    702|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9586|    702|        break;
 9587|    228|    case NamedExpr_kind:
  ------------------
  |  Branch (9587:5): [True: 228, False: 330k]
  ------------------
 9588|    228|        tp = (PyTypeObject *)state->NamedExpr_type;
 9589|    228|        result = PyType_GenericNew(tp, NULL, NULL);
 9590|    228|        if (!result) goto failed;
  ------------------
  |  Branch (9590:13): [True: 0, False: 228]
  ------------------
 9591|    228|        value = ast2obj_expr(state, o->v.NamedExpr.target);
 9592|    228|        if (!value) goto failed;
  ------------------
  |  Branch (9592:13): [True: 0, False: 228]
  ------------------
 9593|    228|        if (PyObject_SetAttr(result, state->target, value) == -1)
  ------------------
  |  Branch (9593:13): [True: 0, False: 228]
  ------------------
 9594|      0|            goto failed;
 9595|    228|        Py_DECREF(value);
  ------------------
  |  |  430|    228|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    228|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    228|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9596|    228|        value = ast2obj_expr(state, o->v.NamedExpr.value);
 9597|    228|        if (!value) goto failed;
  ------------------
  |  Branch (9597:13): [True: 0, False: 228]
  ------------------
 9598|    228|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9598:13): [True: 0, False: 228]
  ------------------
 9599|      0|            goto failed;
 9600|    228|        Py_DECREF(value);
  ------------------
  |  |  430|    228|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    228|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    228|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9601|    228|        break;
 9602|  86.4k|    case BinOp_kind:
  ------------------
  |  Branch (9602:5): [True: 86.4k, False: 244k]
  ------------------
 9603|  86.4k|        tp = (PyTypeObject *)state->BinOp_type;
 9604|  86.4k|        result = PyType_GenericNew(tp, NULL, NULL);
 9605|  86.4k|        if (!result) goto failed;
  ------------------
  |  Branch (9605:13): [True: 0, False: 86.4k]
  ------------------
 9606|  86.4k|        value = ast2obj_expr(state, o->v.BinOp.left);
 9607|  86.4k|        if (!value) goto failed;
  ------------------
  |  Branch (9607:13): [True: 0, False: 86.4k]
  ------------------
 9608|  86.4k|        if (PyObject_SetAttr(result, state->left, value) == -1)
  ------------------
  |  Branch (9608:13): [True: 0, False: 86.4k]
  ------------------
 9609|      0|            goto failed;
 9610|  86.4k|        Py_DECREF(value);
  ------------------
  |  |  430|  86.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  86.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  86.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9611|  86.4k|        value = ast2obj_operator(state, o->v.BinOp.op);
 9612|  86.4k|        if (!value) goto failed;
  ------------------
  |  Branch (9612:13): [True: 0, False: 86.4k]
  ------------------
 9613|  86.4k|        if (PyObject_SetAttr(result, state->op, value) == -1)
  ------------------
  |  Branch (9613:13): [True: 0, False: 86.4k]
  ------------------
 9614|      0|            goto failed;
 9615|  86.4k|        Py_DECREF(value);
  ------------------
  |  |  430|  86.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  86.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  86.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9616|  86.4k|        value = ast2obj_expr(state, o->v.BinOp.right);
 9617|  86.4k|        if (!value) goto failed;
  ------------------
  |  Branch (9617:13): [True: 0, False: 86.4k]
  ------------------
 9618|  86.4k|        if (PyObject_SetAttr(result, state->right, value) == -1)
  ------------------
  |  Branch (9618:13): [True: 0, False: 86.4k]
  ------------------
 9619|      0|            goto failed;
 9620|  86.4k|        Py_DECREF(value);
  ------------------
  |  |  430|  86.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  86.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  86.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9621|  86.4k|        break;
 9622|  32.5k|    case UnaryOp_kind:
  ------------------
  |  Branch (9622:5): [True: 32.5k, False: 298k]
  ------------------
 9623|  32.5k|        tp = (PyTypeObject *)state->UnaryOp_type;
 9624|  32.5k|        result = PyType_GenericNew(tp, NULL, NULL);
 9625|  32.5k|        if (!result) goto failed;
  ------------------
  |  Branch (9625:13): [True: 0, False: 32.5k]
  ------------------
 9626|  32.5k|        value = ast2obj_unaryop(state, o->v.UnaryOp.op);
 9627|  32.5k|        if (!value) goto failed;
  ------------------
  |  Branch (9627:13): [True: 0, False: 32.5k]
  ------------------
 9628|  32.5k|        if (PyObject_SetAttr(result, state->op, value) == -1)
  ------------------
  |  Branch (9628:13): [True: 0, False: 32.5k]
  ------------------
 9629|      0|            goto failed;
 9630|  32.5k|        Py_DECREF(value);
  ------------------
  |  |  430|  32.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  32.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9631|  32.5k|        value = ast2obj_expr(state, o->v.UnaryOp.operand);
 9632|  32.5k|        if (!value) goto failed;
  ------------------
  |  Branch (9632:13): [True: 0, False: 32.5k]
  ------------------
 9633|  32.5k|        if (PyObject_SetAttr(result, state->operand, value) == -1)
  ------------------
  |  Branch (9633:13): [True: 0, False: 32.5k]
  ------------------
 9634|      0|            goto failed;
 9635|  32.5k|        Py_DECREF(value);
  ------------------
  |  |  430|  32.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  32.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9636|  32.5k|        break;
 9637|    583|    case Lambda_kind:
  ------------------
  |  Branch (9637:5): [True: 583, False: 330k]
  ------------------
 9638|    583|        tp = (PyTypeObject *)state->Lambda_type;
 9639|    583|        result = PyType_GenericNew(tp, NULL, NULL);
 9640|    583|        if (!result) goto failed;
  ------------------
  |  Branch (9640:13): [True: 0, False: 583]
  ------------------
 9641|    583|        value = ast2obj_arguments(state, o->v.Lambda.args);
 9642|    583|        if (!value) goto failed;
  ------------------
  |  Branch (9642:13): [True: 0, False: 583]
  ------------------
 9643|    583|        if (PyObject_SetAttr(result, state->args, value) == -1)
  ------------------
  |  Branch (9643:13): [True: 0, False: 583]
  ------------------
 9644|      0|            goto failed;
 9645|    583|        Py_DECREF(value);
  ------------------
  |  |  430|    583|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    583|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    583|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9646|    583|        value = ast2obj_expr(state, o->v.Lambda.body);
 9647|    583|        if (!value) goto failed;
  ------------------
  |  Branch (9647:13): [True: 0, False: 583]
  ------------------
 9648|    583|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9648:13): [True: 0, False: 583]
  ------------------
 9649|      0|            goto failed;
 9650|    583|        Py_DECREF(value);
  ------------------
  |  |  430|    583|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    583|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    583|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9651|    583|        break;
 9652|    314|    case IfExp_kind:
  ------------------
  |  Branch (9652:5): [True: 314, False: 330k]
  ------------------
 9653|    314|        tp = (PyTypeObject *)state->IfExp_type;
 9654|    314|        result = PyType_GenericNew(tp, NULL, NULL);
 9655|    314|        if (!result) goto failed;
  ------------------
  |  Branch (9655:13): [True: 0, False: 314]
  ------------------
 9656|    314|        value = ast2obj_expr(state, o->v.IfExp.test);
 9657|    314|        if (!value) goto failed;
  ------------------
  |  Branch (9657:13): [True: 0, False: 314]
  ------------------
 9658|    314|        if (PyObject_SetAttr(result, state->test, value) == -1)
  ------------------
  |  Branch (9658:13): [True: 0, False: 314]
  ------------------
 9659|      0|            goto failed;
 9660|    314|        Py_DECREF(value);
  ------------------
  |  |  430|    314|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    314|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    314|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9661|    314|        value = ast2obj_expr(state, o->v.IfExp.body);
 9662|    314|        if (!value) goto failed;
  ------------------
  |  Branch (9662:13): [True: 0, False: 314]
  ------------------
 9663|    314|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9663:13): [True: 0, False: 314]
  ------------------
 9664|      0|            goto failed;
 9665|    314|        Py_DECREF(value);
  ------------------
  |  |  430|    314|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    314|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    314|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9666|    314|        value = ast2obj_expr(state, o->v.IfExp.orelse);
 9667|    314|        if (!value) goto failed;
  ------------------
  |  Branch (9667:13): [True: 0, False: 314]
  ------------------
 9668|    314|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (9668:13): [True: 0, False: 314]
  ------------------
 9669|      0|            goto failed;
 9670|    314|        Py_DECREF(value);
  ------------------
  |  |  430|    314|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    314|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    314|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9671|    314|        break;
 9672|    104|    case Dict_kind:
  ------------------
  |  Branch (9672:5): [True: 104, False: 331k]
  ------------------
 9673|    104|        tp = (PyTypeObject *)state->Dict_type;
 9674|    104|        result = PyType_GenericNew(tp, NULL, NULL);
 9675|    104|        if (!result) goto failed;
  ------------------
  |  Branch (9675:13): [True: 0, False: 104]
  ------------------
 9676|    104|        value = ast2obj_list(state, (asdl_seq*)o->v.Dict.keys, ast2obj_expr);
 9677|    104|        if (!value) goto failed;
  ------------------
  |  Branch (9677:13): [True: 0, False: 104]
  ------------------
 9678|    104|        if (PyObject_SetAttr(result, state->keys, value) == -1)
  ------------------
  |  Branch (9678:13): [True: 0, False: 104]
  ------------------
 9679|      0|            goto failed;
 9680|    104|        Py_DECREF(value);
  ------------------
  |  |  430|    104|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9681|    104|        value = ast2obj_list(state, (asdl_seq*)o->v.Dict.values, ast2obj_expr);
 9682|    104|        if (!value) goto failed;
  ------------------
  |  Branch (9682:13): [True: 0, False: 104]
  ------------------
 9683|    104|        if (PyObject_SetAttr(result, state->values, value) == -1)
  ------------------
  |  Branch (9683:13): [True: 0, False: 104]
  ------------------
 9684|      0|            goto failed;
 9685|    104|        Py_DECREF(value);
  ------------------
  |  |  430|    104|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9686|    104|        break;
 9687|    431|    case Set_kind:
  ------------------
  |  Branch (9687:5): [True: 431, False: 330k]
  ------------------
 9688|    431|        tp = (PyTypeObject *)state->Set_type;
 9689|    431|        result = PyType_GenericNew(tp, NULL, NULL);
 9690|    431|        if (!result) goto failed;
  ------------------
  |  Branch (9690:13): [True: 0, False: 431]
  ------------------
 9691|    431|        value = ast2obj_list(state, (asdl_seq*)o->v.Set.elts, ast2obj_expr);
 9692|    431|        if (!value) goto failed;
  ------------------
  |  Branch (9692:13): [True: 0, False: 431]
  ------------------
 9693|    431|        if (PyObject_SetAttr(result, state->elts, value) == -1)
  ------------------
  |  Branch (9693:13): [True: 0, False: 431]
  ------------------
 9694|      0|            goto failed;
 9695|    431|        Py_DECREF(value);
  ------------------
  |  |  430|    431|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    431|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    431|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9696|    431|        break;
 9697|  1.42k|    case ListComp_kind:
  ------------------
  |  Branch (9697:5): [True: 1.42k, False: 329k]
  ------------------
 9698|  1.42k|        tp = (PyTypeObject *)state->ListComp_type;
 9699|  1.42k|        result = PyType_GenericNew(tp, NULL, NULL);
 9700|  1.42k|        if (!result) goto failed;
  ------------------
  |  Branch (9700:13): [True: 0, False: 1.42k]
  ------------------
 9701|  1.42k|        value = ast2obj_expr(state, o->v.ListComp.elt);
 9702|  1.42k|        if (!value) goto failed;
  ------------------
  |  Branch (9702:13): [True: 0, False: 1.42k]
  ------------------
 9703|  1.42k|        if (PyObject_SetAttr(result, state->elt, value) == -1)
  ------------------
  |  Branch (9703:13): [True: 0, False: 1.42k]
  ------------------
 9704|      0|            goto failed;
 9705|  1.42k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.42k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9706|  1.42k|        value = ast2obj_list(state, (asdl_seq*)o->v.ListComp.generators,
 9707|  1.42k|                             ast2obj_comprehension);
 9708|  1.42k|        if (!value) goto failed;
  ------------------
  |  Branch (9708:13): [True: 0, False: 1.42k]
  ------------------
 9709|  1.42k|        if (PyObject_SetAttr(result, state->generators, value) == -1)
  ------------------
  |  Branch (9709:13): [True: 0, False: 1.42k]
  ------------------
 9710|      0|            goto failed;
 9711|  1.42k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.42k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9712|  1.42k|        break;
 9713|    353|    case SetComp_kind:
  ------------------
  |  Branch (9713:5): [True: 353, False: 330k]
  ------------------
 9714|    353|        tp = (PyTypeObject *)state->SetComp_type;
 9715|    353|        result = PyType_GenericNew(tp, NULL, NULL);
 9716|    353|        if (!result) goto failed;
  ------------------
  |  Branch (9716:13): [True: 0, False: 353]
  ------------------
 9717|    353|        value = ast2obj_expr(state, o->v.SetComp.elt);
 9718|    353|        if (!value) goto failed;
  ------------------
  |  Branch (9718:13): [True: 0, False: 353]
  ------------------
 9719|    353|        if (PyObject_SetAttr(result, state->elt, value) == -1)
  ------------------
  |  Branch (9719:13): [True: 0, False: 353]
  ------------------
 9720|      0|            goto failed;
 9721|    353|        Py_DECREF(value);
  ------------------
  |  |  430|    353|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    353|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    353|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9722|    353|        value = ast2obj_list(state, (asdl_seq*)o->v.SetComp.generators,
 9723|    353|                             ast2obj_comprehension);
 9724|    353|        if (!value) goto failed;
  ------------------
  |  Branch (9724:13): [True: 0, False: 353]
  ------------------
 9725|    353|        if (PyObject_SetAttr(result, state->generators, value) == -1)
  ------------------
  |  Branch (9725:13): [True: 0, False: 353]
  ------------------
 9726|      0|            goto failed;
 9727|    353|        Py_DECREF(value);
  ------------------
  |  |  430|    353|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    353|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    353|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9728|    353|        break;
 9729|    202|    case DictComp_kind:
  ------------------
  |  Branch (9729:5): [True: 202, False: 330k]
  ------------------
 9730|    202|        tp = (PyTypeObject *)state->DictComp_type;
 9731|    202|        result = PyType_GenericNew(tp, NULL, NULL);
 9732|    202|        if (!result) goto failed;
  ------------------
  |  Branch (9732:13): [True: 0, False: 202]
  ------------------
 9733|    202|        value = ast2obj_expr(state, o->v.DictComp.key);
 9734|    202|        if (!value) goto failed;
  ------------------
  |  Branch (9734:13): [True: 0, False: 202]
  ------------------
 9735|    202|        if (PyObject_SetAttr(result, state->key, value) == -1)
  ------------------
  |  Branch (9735:13): [True: 0, False: 202]
  ------------------
 9736|      0|            goto failed;
 9737|    202|        Py_DECREF(value);
  ------------------
  |  |  430|    202|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    202|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    202|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9738|    202|        value = ast2obj_expr(state, o->v.DictComp.value);
 9739|    202|        if (!value) goto failed;
  ------------------
  |  Branch (9739:13): [True: 0, False: 202]
  ------------------
 9740|    202|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9740:13): [True: 0, False: 202]
  ------------------
 9741|      0|            goto failed;
 9742|    202|        Py_DECREF(value);
  ------------------
  |  |  430|    202|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    202|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    202|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9743|    202|        value = ast2obj_list(state, (asdl_seq*)o->v.DictComp.generators,
 9744|    202|                             ast2obj_comprehension);
 9745|    202|        if (!value) goto failed;
  ------------------
  |  Branch (9745:13): [True: 0, False: 202]
  ------------------
 9746|    202|        if (PyObject_SetAttr(result, state->generators, value) == -1)
  ------------------
  |  Branch (9746:13): [True: 0, False: 202]
  ------------------
 9747|      0|            goto failed;
 9748|    202|        Py_DECREF(value);
  ------------------
  |  |  430|    202|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    202|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    202|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9749|    202|        break;
 9750|    213|    case GeneratorExp_kind:
  ------------------
  |  Branch (9750:5): [True: 213, False: 330k]
  ------------------
 9751|    213|        tp = (PyTypeObject *)state->GeneratorExp_type;
 9752|    213|        result = PyType_GenericNew(tp, NULL, NULL);
 9753|    213|        if (!result) goto failed;
  ------------------
  |  Branch (9753:13): [True: 0, False: 213]
  ------------------
 9754|    213|        value = ast2obj_expr(state, o->v.GeneratorExp.elt);
 9755|    213|        if (!value) goto failed;
  ------------------
  |  Branch (9755:13): [True: 0, False: 213]
  ------------------
 9756|    213|        if (PyObject_SetAttr(result, state->elt, value) == -1)
  ------------------
  |  Branch (9756:13): [True: 0, False: 213]
  ------------------
 9757|      0|            goto failed;
 9758|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9759|    213|        value = ast2obj_list(state, (asdl_seq*)o->v.GeneratorExp.generators,
 9760|    213|                             ast2obj_comprehension);
 9761|    213|        if (!value) goto failed;
  ------------------
  |  Branch (9761:13): [True: 0, False: 213]
  ------------------
 9762|    213|        if (PyObject_SetAttr(result, state->generators, value) == -1)
  ------------------
  |  Branch (9762:13): [True: 0, False: 213]
  ------------------
 9763|      0|            goto failed;
 9764|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9765|    213|        break;
 9766|    183|    case Await_kind:
  ------------------
  |  Branch (9766:5): [True: 183, False: 331k]
  ------------------
 9767|    183|        tp = (PyTypeObject *)state->Await_type;
 9768|    183|        result = PyType_GenericNew(tp, NULL, NULL);
 9769|    183|        if (!result) goto failed;
  ------------------
  |  Branch (9769:13): [True: 0, False: 183]
  ------------------
 9770|    183|        value = ast2obj_expr(state, o->v.Await.value);
 9771|    183|        if (!value) goto failed;
  ------------------
  |  Branch (9771:13): [True: 0, False: 183]
  ------------------
 9772|    183|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9772:13): [True: 0, False: 183]
  ------------------
 9773|      0|            goto failed;
 9774|    183|        Py_DECREF(value);
  ------------------
  |  |  430|    183|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    183|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    183|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9775|    183|        break;
 9776|    367|    case Yield_kind:
  ------------------
  |  Branch (9776:5): [True: 367, False: 330k]
  ------------------
 9777|    367|        tp = (PyTypeObject *)state->Yield_type;
 9778|    367|        result = PyType_GenericNew(tp, NULL, NULL);
 9779|    367|        if (!result) goto failed;
  ------------------
  |  Branch (9779:13): [True: 0, False: 367]
  ------------------
 9780|    367|        value = ast2obj_expr(state, o->v.Yield.value);
 9781|    367|        if (!value) goto failed;
  ------------------
  |  Branch (9781:13): [True: 0, False: 367]
  ------------------
 9782|    367|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9782:13): [True: 0, False: 367]
  ------------------
 9783|      0|            goto failed;
 9784|    367|        Py_DECREF(value);
  ------------------
  |  |  430|    367|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    367|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    367|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9785|    367|        break;
 9786|     20|    case YieldFrom_kind:
  ------------------
  |  Branch (9786:5): [True: 20, False: 331k]
  ------------------
 9787|     20|        tp = (PyTypeObject *)state->YieldFrom_type;
 9788|     20|        result = PyType_GenericNew(tp, NULL, NULL);
 9789|     20|        if (!result) goto failed;
  ------------------
  |  Branch (9789:13): [True: 0, False: 20]
  ------------------
 9790|     20|        value = ast2obj_expr(state, o->v.YieldFrom.value);
 9791|     20|        if (!value) goto failed;
  ------------------
  |  Branch (9791:13): [True: 0, False: 20]
  ------------------
 9792|     20|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9792:13): [True: 0, False: 20]
  ------------------
 9793|      0|            goto failed;
 9794|     20|        Py_DECREF(value);
  ------------------
  |  |  430|     20|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9795|     20|        break;
 9796|  1.99k|    case Compare_kind:
  ------------------
  |  Branch (9796:5): [True: 1.99k, False: 329k]
  ------------------
 9797|  1.99k|        tp = (PyTypeObject *)state->Compare_type;
 9798|  1.99k|        result = PyType_GenericNew(tp, NULL, NULL);
 9799|  1.99k|        if (!result) goto failed;
  ------------------
  |  Branch (9799:13): [True: 0, False: 1.99k]
  ------------------
 9800|  1.99k|        value = ast2obj_expr(state, o->v.Compare.left);
 9801|  1.99k|        if (!value) goto failed;
  ------------------
  |  Branch (9801:13): [True: 0, False: 1.99k]
  ------------------
 9802|  1.99k|        if (PyObject_SetAttr(result, state->left, value) == -1)
  ------------------
  |  Branch (9802:13): [True: 0, False: 1.99k]
  ------------------
 9803|      0|            goto failed;
 9804|  1.99k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.99k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9805|  1.99k|        {
 9806|  1.99k|            Py_ssize_t i, n = asdl_seq_LEN(o->v.Compare.ops);
  ------------------
  |  |   83|  1.99k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.99k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.99k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9807|  1.99k|            value = PyList_New(n);
 9808|  1.99k|            if (!value) goto failed;
  ------------------
  |  Branch (9808:17): [True: 0, False: 1.99k]
  ------------------
 9809|  11.0k|            for(i = 0; i < n; i++)
  ------------------
  |  Branch (9809:24): [True: 9.01k, False: 1.99k]
  ------------------
 9810|  9.01k|                PyList_SET_ITEM(value, i, ast2obj_cmpop(state, (cmpop_ty)asdl_seq_GET(o->v.Compare.ops, i)));
  ------------------
  |  |   50|  11.0k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  9.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  9.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9811|  1.99k|        }
 9812|  1.99k|        if (!value) goto failed;
  ------------------
  |  Branch (9812:13): [True: 0, False: 1.99k]
  ------------------
 9813|  1.99k|        if (PyObject_SetAttr(result, state->ops, value) == -1)
  ------------------
  |  Branch (9813:13): [True: 0, False: 1.99k]
  ------------------
 9814|      0|            goto failed;
 9815|  1.99k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.99k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9816|  1.99k|        value = ast2obj_list(state, (asdl_seq*)o->v.Compare.comparators,
 9817|  1.99k|                             ast2obj_expr);
 9818|  1.99k|        if (!value) goto failed;
  ------------------
  |  Branch (9818:13): [True: 0, False: 1.99k]
  ------------------
 9819|  1.99k|        if (PyObject_SetAttr(result, state->comparators, value) == -1)
  ------------------
  |  Branch (9819:13): [True: 0, False: 1.99k]
  ------------------
 9820|      0|            goto failed;
 9821|  1.99k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.99k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9822|  1.99k|        break;
 9823|  3.00k|    case Call_kind:
  ------------------
  |  Branch (9823:5): [True: 3.00k, False: 328k]
  ------------------
 9824|  3.00k|        tp = (PyTypeObject *)state->Call_type;
 9825|  3.00k|        result = PyType_GenericNew(tp, NULL, NULL);
 9826|  3.00k|        if (!result) goto failed;
  ------------------
  |  Branch (9826:13): [True: 0, False: 3.00k]
  ------------------
 9827|  3.00k|        value = ast2obj_expr(state, o->v.Call.func);
 9828|  3.00k|        if (!value) goto failed;
  ------------------
  |  Branch (9828:13): [True: 0, False: 3.00k]
  ------------------
 9829|  3.00k|        if (PyObject_SetAttr(result, state->func, value) == -1)
  ------------------
  |  Branch (9829:13): [True: 0, False: 3.00k]
  ------------------
 9830|      0|            goto failed;
 9831|  3.00k|        Py_DECREF(value);
  ------------------
  |  |  430|  3.00k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9832|  3.00k|        value = ast2obj_list(state, (asdl_seq*)o->v.Call.args, ast2obj_expr);
 9833|  3.00k|        if (!value) goto failed;
  ------------------
  |  Branch (9833:13): [True: 0, False: 3.00k]
  ------------------
 9834|  3.00k|        if (PyObject_SetAttr(result, state->args, value) == -1)
  ------------------
  |  Branch (9834:13): [True: 0, False: 3.00k]
  ------------------
 9835|      0|            goto failed;
 9836|  3.00k|        Py_DECREF(value);
  ------------------
  |  |  430|  3.00k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9837|  3.00k|        value = ast2obj_list(state, (asdl_seq*)o->v.Call.keywords,
 9838|  3.00k|                             ast2obj_keyword);
 9839|  3.00k|        if (!value) goto failed;
  ------------------
  |  Branch (9839:13): [True: 0, False: 3.00k]
  ------------------
 9840|  3.00k|        if (PyObject_SetAttr(result, state->keywords, value) == -1)
  ------------------
  |  Branch (9840:13): [True: 0, False: 3.00k]
  ------------------
 9841|      0|            goto failed;
 9842|  3.00k|        Py_DECREF(value);
  ------------------
  |  |  430|  3.00k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9843|  3.00k|        break;
 9844|  1.08k|    case FormattedValue_kind:
  ------------------
  |  Branch (9844:5): [True: 1.08k, False: 330k]
  ------------------
 9845|  1.08k|        tp = (PyTypeObject *)state->FormattedValue_type;
 9846|  1.08k|        result = PyType_GenericNew(tp, NULL, NULL);
 9847|  1.08k|        if (!result) goto failed;
  ------------------
  |  Branch (9847:13): [True: 0, False: 1.08k]
  ------------------
 9848|  1.08k|        value = ast2obj_expr(state, o->v.FormattedValue.value);
 9849|  1.08k|        if (!value) goto failed;
  ------------------
  |  Branch (9849:13): [True: 0, False: 1.08k]
  ------------------
 9850|  1.08k|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9850:13): [True: 0, False: 1.08k]
  ------------------
 9851|      0|            goto failed;
 9852|  1.08k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.08k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9853|  1.08k|        value = ast2obj_int(state, o->v.FormattedValue.conversion);
 9854|  1.08k|        if (!value) goto failed;
  ------------------
  |  Branch (9854:13): [True: 0, False: 1.08k]
  ------------------
 9855|  1.08k|        if (PyObject_SetAttr(result, state->conversion, value) == -1)
  ------------------
  |  Branch (9855:13): [True: 0, False: 1.08k]
  ------------------
 9856|      0|            goto failed;
 9857|  1.08k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.08k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9858|  1.08k|        value = ast2obj_expr(state, o->v.FormattedValue.format_spec);
 9859|  1.08k|        if (!value) goto failed;
  ------------------
  |  Branch (9859:13): [True: 0, False: 1.08k]
  ------------------
 9860|  1.08k|        if (PyObject_SetAttr(result, state->format_spec, value) == -1)
  ------------------
  |  Branch (9860:13): [True: 0, False: 1.08k]
  ------------------
 9861|      0|            goto failed;
 9862|  1.08k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.08k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9863|  1.08k|        break;
 9864|    576|    case Interpolation_kind:
  ------------------
  |  Branch (9864:5): [True: 576, False: 330k]
  ------------------
 9865|    576|        tp = (PyTypeObject *)state->Interpolation_type;
 9866|    576|        result = PyType_GenericNew(tp, NULL, NULL);
 9867|    576|        if (!result) goto failed;
  ------------------
  |  Branch (9867:13): [True: 0, False: 576]
  ------------------
 9868|    576|        value = ast2obj_expr(state, o->v.Interpolation.value);
 9869|    576|        if (!value) goto failed;
  ------------------
  |  Branch (9869:13): [True: 0, False: 576]
  ------------------
 9870|    576|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9870:13): [True: 0, False: 576]
  ------------------
 9871|      0|            goto failed;
 9872|    576|        Py_DECREF(value);
  ------------------
  |  |  430|    576|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    576|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    576|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9873|    576|        value = ast2obj_constant(state, o->v.Interpolation.str);
  ------------------
  |  | 6017|    576|#define ast2obj_constant ast2obj_object
  ------------------
 9874|    576|        if (!value) goto failed;
  ------------------
  |  Branch (9874:13): [True: 0, False: 576]
  ------------------
 9875|    576|        if (PyObject_SetAttr(result, state->str, value) == -1)
  ------------------
  |  Branch (9875:13): [True: 0, False: 576]
  ------------------
 9876|      0|            goto failed;
 9877|    576|        Py_DECREF(value);
  ------------------
  |  |  430|    576|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    576|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    576|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9878|    576|        value = ast2obj_int(state, o->v.Interpolation.conversion);
 9879|    576|        if (!value) goto failed;
  ------------------
  |  Branch (9879:13): [True: 0, False: 576]
  ------------------
 9880|    576|        if (PyObject_SetAttr(result, state->conversion, value) == -1)
  ------------------
  |  Branch (9880:13): [True: 0, False: 576]
  ------------------
 9881|      0|            goto failed;
 9882|    576|        Py_DECREF(value);
  ------------------
  |  |  430|    576|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    576|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    576|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9883|    576|        value = ast2obj_expr(state, o->v.Interpolation.format_spec);
 9884|    576|        if (!value) goto failed;
  ------------------
  |  Branch (9884:13): [True: 0, False: 576]
  ------------------
 9885|    576|        if (PyObject_SetAttr(result, state->format_spec, value) == -1)
  ------------------
  |  Branch (9885:13): [True: 0, False: 576]
  ------------------
 9886|      0|            goto failed;
 9887|    576|        Py_DECREF(value);
  ------------------
  |  |  430|    576|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    576|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    576|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9888|    576|        break;
 9889|  1.57k|    case JoinedStr_kind:
  ------------------
  |  Branch (9889:5): [True: 1.57k, False: 329k]
  ------------------
 9890|  1.57k|        tp = (PyTypeObject *)state->JoinedStr_type;
 9891|  1.57k|        result = PyType_GenericNew(tp, NULL, NULL);
 9892|  1.57k|        if (!result) goto failed;
  ------------------
  |  Branch (9892:13): [True: 0, False: 1.57k]
  ------------------
 9893|  1.57k|        value = ast2obj_list(state, (asdl_seq*)o->v.JoinedStr.values,
 9894|  1.57k|                             ast2obj_expr);
 9895|  1.57k|        if (!value) goto failed;
  ------------------
  |  Branch (9895:13): [True: 0, False: 1.57k]
  ------------------
 9896|  1.57k|        if (PyObject_SetAttr(result, state->values, value) == -1)
  ------------------
  |  Branch (9896:13): [True: 0, False: 1.57k]
  ------------------
 9897|      0|            goto failed;
 9898|  1.57k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.57k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9899|  1.57k|        break;
 9900|    370|    case TemplateStr_kind:
  ------------------
  |  Branch (9900:5): [True: 370, False: 330k]
  ------------------
 9901|    370|        tp = (PyTypeObject *)state->TemplateStr_type;
 9902|    370|        result = PyType_GenericNew(tp, NULL, NULL);
 9903|    370|        if (!result) goto failed;
  ------------------
  |  Branch (9903:13): [True: 0, False: 370]
  ------------------
 9904|    370|        value = ast2obj_list(state, (asdl_seq*)o->v.TemplateStr.values,
 9905|    370|                             ast2obj_expr);
 9906|    370|        if (!value) goto failed;
  ------------------
  |  Branch (9906:13): [True: 0, False: 370]
  ------------------
 9907|    370|        if (PyObject_SetAttr(result, state->values, value) == -1)
  ------------------
  |  Branch (9907:13): [True: 0, False: 370]
  ------------------
 9908|      0|            goto failed;
 9909|    370|        Py_DECREF(value);
  ------------------
  |  |  430|    370|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    370|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    370|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9910|    370|        break;
 9911|  95.3k|    case Constant_kind:
  ------------------
  |  Branch (9911:5): [True: 95.3k, False: 235k]
  ------------------
 9912|  95.3k|        tp = (PyTypeObject *)state->Constant_type;
 9913|  95.3k|        result = PyType_GenericNew(tp, NULL, NULL);
 9914|  95.3k|        if (!result) goto failed;
  ------------------
  |  Branch (9914:13): [True: 0, False: 95.3k]
  ------------------
 9915|  95.3k|        value = ast2obj_constant(state, o->v.Constant.value);
  ------------------
  |  | 6017|  95.3k|#define ast2obj_constant ast2obj_object
  ------------------
 9916|  95.3k|        if (!value) goto failed;
  ------------------
  |  Branch (9916:13): [True: 0, False: 95.3k]
  ------------------
 9917|  95.3k|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9917:13): [True: 0, False: 95.3k]
  ------------------
 9918|      0|            goto failed;
 9919|  95.3k|        Py_DECREF(value);
  ------------------
  |  |  430|  95.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  95.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  95.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9920|  95.3k|        value = ast2obj_string(state, o->v.Constant.kind);
  ------------------
  |  | 6019|  95.3k|#define ast2obj_string ast2obj_object
  ------------------
 9921|  95.3k|        if (!value) goto failed;
  ------------------
  |  Branch (9921:13): [True: 0, False: 95.3k]
  ------------------
 9922|  95.3k|        if (PyObject_SetAttr(result, state->kind, value) == -1)
  ------------------
  |  Branch (9922:13): [True: 0, False: 95.3k]
  ------------------
 9923|      0|            goto failed;
 9924|  95.3k|        Py_DECREF(value);
  ------------------
  |  |  430|  95.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  95.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  95.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9925|  95.3k|        break;
 9926|  2.73k|    case Attribute_kind:
  ------------------
  |  Branch (9926:5): [True: 2.73k, False: 328k]
  ------------------
 9927|  2.73k|        tp = (PyTypeObject *)state->Attribute_type;
 9928|  2.73k|        result = PyType_GenericNew(tp, NULL, NULL);
 9929|  2.73k|        if (!result) goto failed;
  ------------------
  |  Branch (9929:13): [True: 0, False: 2.73k]
  ------------------
 9930|  2.73k|        value = ast2obj_expr(state, o->v.Attribute.value);
 9931|  2.73k|        if (!value) goto failed;
  ------------------
  |  Branch (9931:13): [True: 0, False: 2.73k]
  ------------------
 9932|  2.73k|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9932:13): [True: 0, False: 2.73k]
  ------------------
 9933|      0|            goto failed;
 9934|  2.73k|        Py_DECREF(value);
  ------------------
  |  |  430|  2.73k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9935|  2.73k|        value = ast2obj_identifier(state, o->v.Attribute.attr);
  ------------------
  |  | 6018|  2.73k|#define ast2obj_identifier ast2obj_object
  ------------------
 9936|  2.73k|        if (!value) goto failed;
  ------------------
  |  Branch (9936:13): [True: 0, False: 2.73k]
  ------------------
 9937|  2.73k|        if (PyObject_SetAttr(result, state->attr, value) == -1)
  ------------------
  |  Branch (9937:13): [True: 0, False: 2.73k]
  ------------------
 9938|      0|            goto failed;
 9939|  2.73k|        Py_DECREF(value);
  ------------------
  |  |  430|  2.73k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9940|  2.73k|        value = ast2obj_expr_context(state, o->v.Attribute.ctx);
 9941|  2.73k|        if (!value) goto failed;
  ------------------
  |  Branch (9941:13): [True: 0, False: 2.73k]
  ------------------
 9942|  2.73k|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (9942:13): [True: 0, False: 2.73k]
  ------------------
 9943|      0|            goto failed;
 9944|  2.73k|        Py_DECREF(value);
  ------------------
  |  |  430|  2.73k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9945|  2.73k|        break;
 9946|  1.08k|    case Subscript_kind:
  ------------------
  |  Branch (9946:5): [True: 1.08k, False: 330k]
  ------------------
 9947|  1.08k|        tp = (PyTypeObject *)state->Subscript_type;
 9948|  1.08k|        result = PyType_GenericNew(tp, NULL, NULL);
 9949|  1.08k|        if (!result) goto failed;
  ------------------
  |  Branch (9949:13): [True: 0, False: 1.08k]
  ------------------
 9950|  1.08k|        value = ast2obj_expr(state, o->v.Subscript.value);
 9951|  1.08k|        if (!value) goto failed;
  ------------------
  |  Branch (9951:13): [True: 0, False: 1.08k]
  ------------------
 9952|  1.08k|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9952:13): [True: 0, False: 1.08k]
  ------------------
 9953|      0|            goto failed;
 9954|  1.08k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.08k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9955|  1.08k|        value = ast2obj_expr(state, o->v.Subscript.slice);
 9956|  1.08k|        if (!value) goto failed;
  ------------------
  |  Branch (9956:13): [True: 0, False: 1.08k]
  ------------------
 9957|  1.08k|        if (PyObject_SetAttr(result, state->slice, value) == -1)
  ------------------
  |  Branch (9957:13): [True: 0, False: 1.08k]
  ------------------
 9958|      0|            goto failed;
 9959|  1.08k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.08k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9960|  1.08k|        value = ast2obj_expr_context(state, o->v.Subscript.ctx);
 9961|  1.08k|        if (!value) goto failed;
  ------------------
  |  Branch (9961:13): [True: 0, False: 1.08k]
  ------------------
 9962|  1.08k|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (9962:13): [True: 0, False: 1.08k]
  ------------------
 9963|      0|            goto failed;
 9964|  1.08k|        Py_DECREF(value);
  ------------------
  |  |  430|  1.08k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9965|  1.08k|        break;
 9966|    941|    case Starred_kind:
  ------------------
  |  Branch (9966:5): [True: 941, False: 330k]
  ------------------
 9967|    941|        tp = (PyTypeObject *)state->Starred_type;
 9968|    941|        result = PyType_GenericNew(tp, NULL, NULL);
 9969|    941|        if (!result) goto failed;
  ------------------
  |  Branch (9969:13): [True: 0, False: 941]
  ------------------
 9970|    941|        value = ast2obj_expr(state, o->v.Starred.value);
 9971|    941|        if (!value) goto failed;
  ------------------
  |  Branch (9971:13): [True: 0, False: 941]
  ------------------
 9972|    941|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9972:13): [True: 0, False: 941]
  ------------------
 9973|      0|            goto failed;
 9974|    941|        Py_DECREF(value);
  ------------------
  |  |  430|    941|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    941|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    941|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9975|    941|        value = ast2obj_expr_context(state, o->v.Starred.ctx);
 9976|    941|        if (!value) goto failed;
  ------------------
  |  Branch (9976:13): [True: 0, False: 941]
  ------------------
 9977|    941|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (9977:13): [True: 0, False: 941]
  ------------------
 9978|      0|            goto failed;
 9979|    941|        Py_DECREF(value);
  ------------------
  |  |  430|    941|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    941|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    941|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9980|    941|        break;
 9981|  86.8k|    case Name_kind:
  ------------------
  |  Branch (9981:5): [True: 86.8k, False: 244k]
  ------------------
 9982|  86.8k|        tp = (PyTypeObject *)state->Name_type;
 9983|  86.8k|        result = PyType_GenericNew(tp, NULL, NULL);
 9984|  86.8k|        if (!result) goto failed;
  ------------------
  |  Branch (9984:13): [True: 0, False: 86.8k]
  ------------------
 9985|  86.8k|        value = ast2obj_identifier(state, o->v.Name.id);
  ------------------
  |  | 6018|  86.8k|#define ast2obj_identifier ast2obj_object
  ------------------
 9986|  86.8k|        if (!value) goto failed;
  ------------------
  |  Branch (9986:13): [True: 0, False: 86.8k]
  ------------------
 9987|  86.8k|        if (PyObject_SetAttr(result, state->id, value) == -1)
  ------------------
  |  Branch (9987:13): [True: 0, False: 86.8k]
  ------------------
 9988|      0|            goto failed;
 9989|  86.8k|        Py_DECREF(value);
  ------------------
  |  |  430|  86.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  86.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  86.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9990|  86.8k|        value = ast2obj_expr_context(state, o->v.Name.ctx);
 9991|  86.8k|        if (!value) goto failed;
  ------------------
  |  Branch (9991:13): [True: 0, False: 86.8k]
  ------------------
 9992|  86.8k|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (9992:13): [True: 0, False: 86.8k]
  ------------------
 9993|      0|            goto failed;
 9994|  86.8k|        Py_DECREF(value);
  ------------------
  |  |  430|  86.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  86.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  86.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9995|  86.8k|        break;
 9996|    892|    case List_kind:
  ------------------
  |  Branch (9996:5): [True: 892, False: 330k]
  ------------------
 9997|    892|        tp = (PyTypeObject *)state->List_type;
 9998|    892|        result = PyType_GenericNew(tp, NULL, NULL);
 9999|    892|        if (!result) goto failed;
  ------------------
  |  Branch (9999:13): [True: 0, False: 892]
  ------------------
10000|    892|        value = ast2obj_list(state, (asdl_seq*)o->v.List.elts, ast2obj_expr);
10001|    892|        if (!value) goto failed;
  ------------------
  |  Branch (10001:13): [True: 0, False: 892]
  ------------------
10002|    892|        if (PyObject_SetAttr(result, state->elts, value) == -1)
  ------------------
  |  Branch (10002:13): [True: 0, False: 892]
  ------------------
10003|      0|            goto failed;
10004|    892|        Py_DECREF(value);
  ------------------
  |  |  430|    892|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    892|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    892|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10005|    892|        value = ast2obj_expr_context(state, o->v.List.ctx);
10006|    892|        if (!value) goto failed;
  ------------------
  |  Branch (10006:13): [True: 0, False: 892]
  ------------------
10007|    892|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (10007:13): [True: 0, False: 892]
  ------------------
10008|      0|            goto failed;
10009|    892|        Py_DECREF(value);
  ------------------
  |  |  430|    892|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    892|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    892|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10010|    892|        break;
10011|  8.69k|    case Tuple_kind:
  ------------------
  |  Branch (10011:5): [True: 8.69k, False: 322k]
  ------------------
10012|  8.69k|        tp = (PyTypeObject *)state->Tuple_type;
10013|  8.69k|        result = PyType_GenericNew(tp, NULL, NULL);
10014|  8.69k|        if (!result) goto failed;
  ------------------
  |  Branch (10014:13): [True: 0, False: 8.69k]
  ------------------
10015|  8.69k|        value = ast2obj_list(state, (asdl_seq*)o->v.Tuple.elts, ast2obj_expr);
10016|  8.69k|        if (!value) goto failed;
  ------------------
  |  Branch (10016:13): [True: 0, False: 8.69k]
  ------------------
10017|  8.69k|        if (PyObject_SetAttr(result, state->elts, value) == -1)
  ------------------
  |  Branch (10017:13): [True: 0, False: 8.69k]
  ------------------
10018|      0|            goto failed;
10019|  8.69k|        Py_DECREF(value);
  ------------------
  |  |  430|  8.69k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10020|  8.69k|        value = ast2obj_expr_context(state, o->v.Tuple.ctx);
10021|  8.69k|        if (!value) goto failed;
  ------------------
  |  Branch (10021:13): [True: 0, False: 8.69k]
  ------------------
10022|  8.69k|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (10022:13): [True: 0, False: 8.69k]
  ------------------
10023|      0|            goto failed;
10024|  8.69k|        Py_DECREF(value);
  ------------------
  |  |  430|  8.69k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10025|  8.69k|        break;
10026|  1.96k|    case Slice_kind:
  ------------------
  |  Branch (10026:5): [True: 1.96k, False: 329k]
  ------------------
10027|  1.96k|        tp = (PyTypeObject *)state->Slice_type;
10028|  1.96k|        result = PyType_GenericNew(tp, NULL, NULL);
10029|  1.96k|        if (!result) goto failed;
  ------------------
  |  Branch (10029:13): [True: 0, False: 1.96k]
  ------------------
10030|  1.96k|        value = ast2obj_expr(state, o->v.Slice.lower);
10031|  1.96k|        if (!value) goto failed;
  ------------------
  |  Branch (10031:13): [True: 0, False: 1.96k]
  ------------------
10032|  1.96k|        if (PyObject_SetAttr(result, state->lower, value) == -1)
  ------------------
  |  Branch (10032:13): [True: 0, False: 1.96k]
  ------------------
10033|      0|            goto failed;
10034|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10035|  1.96k|        value = ast2obj_expr(state, o->v.Slice.upper);
10036|  1.96k|        if (!value) goto failed;
  ------------------
  |  Branch (10036:13): [True: 0, False: 1.96k]
  ------------------
10037|  1.96k|        if (PyObject_SetAttr(result, state->upper, value) == -1)
  ------------------
  |  Branch (10037:13): [True: 0, False: 1.96k]
  ------------------
10038|      0|            goto failed;
10039|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10040|  1.96k|        value = ast2obj_expr(state, o->v.Slice.step);
10041|  1.96k|        if (!value) goto failed;
  ------------------
  |  Branch (10041:13): [True: 0, False: 1.96k]
  ------------------
10042|  1.96k|        if (PyObject_SetAttr(result, state->step, value) == -1)
  ------------------
  |  Branch (10042:13): [True: 0, False: 1.96k]
  ------------------
10043|      0|            goto failed;
10044|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10045|  1.96k|        break;
10046|   331k|    }
10047|   331k|    value = ast2obj_int(state, o->lineno);
10048|   331k|    if (!value) goto failed;
  ------------------
  |  Branch (10048:9): [True: 0, False: 331k]
  ------------------
10049|   331k|    if (PyObject_SetAttr(result, state->lineno, value) < 0)
  ------------------
  |  Branch (10049:9): [True: 0, False: 331k]
  ------------------
10050|      0|        goto failed;
10051|   331k|    Py_DECREF(value);
  ------------------
  |  |  430|   331k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   331k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   331k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10052|   331k|    value = ast2obj_int(state, o->col_offset);
10053|   331k|    if (!value) goto failed;
  ------------------
  |  Branch (10053:9): [True: 0, False: 331k]
  ------------------
10054|   331k|    if (PyObject_SetAttr(result, state->col_offset, value) < 0)
  ------------------
  |  Branch (10054:9): [True: 0, False: 331k]
  ------------------
10055|      0|        goto failed;
10056|   331k|    Py_DECREF(value);
  ------------------
  |  |  430|   331k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   331k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   331k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10057|   331k|    value = ast2obj_int(state, o->end_lineno);
10058|   331k|    if (!value) goto failed;
  ------------------
  |  Branch (10058:9): [True: 0, False: 331k]
  ------------------
10059|   331k|    if (PyObject_SetAttr(result, state->end_lineno, value) < 0)
  ------------------
  |  Branch (10059:9): [True: 0, False: 331k]
  ------------------
10060|      0|        goto failed;
10061|   331k|    Py_DECREF(value);
  ------------------
  |  |  430|   331k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   331k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   331k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10062|   331k|    value = ast2obj_int(state, o->end_col_offset);
10063|   331k|    if (!value) goto failed;
  ------------------
  |  Branch (10063:9): [True: 0, False: 331k]
  ------------------
10064|   331k|    if (PyObject_SetAttr(result, state->end_col_offset, value) < 0)
  ------------------
  |  Branch (10064:9): [True: 0, False: 331k]
  ------------------
10065|      0|        goto failed;
10066|   331k|    Py_DECREF(value);
  ------------------
  |  |  430|   331k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   331k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   331k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10067|   331k|    Py_LeaveRecursiveCall();
10068|   331k|    return result;
10069|      0|failed:
10070|      0|    Py_LeaveRecursiveCall();
10071|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10072|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10073|       |    return NULL;
10074|   331k|}
Python-ast.c:ast2obj_boolop:
10089|    702|{
10090|    702|    switch(o) {
  ------------------
  |  Branch (10090:12): [True: 702, False: 0]
  ------------------
10091|    448|        case And:
  ------------------
  |  Branch (10091:9): [True: 448, False: 254]
  ------------------
10092|    448|            return Py_NewRef(state->And_singleton);
  ------------------
  |  |  550|    448|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    448|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    448|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10093|    254|        case Or:
  ------------------
  |  Branch (10093:9): [True: 254, False: 448]
  ------------------
10094|    254|            return Py_NewRef(state->Or_singleton);
  ------------------
  |  |  550|    254|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    254|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    254|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10095|    702|    }
10096|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10097|    702|}
Python-ast.c:ast2obj_unaryop:
10131|  32.5k|{
10132|  32.5k|    switch(o) {
  ------------------
  |  Branch (10132:12): [True: 32.5k, False: 0]
  ------------------
10133|  2.59k|        case Invert:
  ------------------
  |  Branch (10133:9): [True: 2.59k, False: 29.9k]
  ------------------
10134|  2.59k|            return Py_NewRef(state->Invert_singleton);
  ------------------
  |  |  550|  2.59k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.59k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10135|    136|        case Not:
  ------------------
  |  Branch (10135:9): [True: 136, False: 32.3k]
  ------------------
10136|    136|            return Py_NewRef(state->Not_singleton);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10137|  14.9k|        case UAdd:
  ------------------
  |  Branch (10137:9): [True: 14.9k, False: 17.5k]
  ------------------
10138|  14.9k|            return Py_NewRef(state->UAdd_singleton);
  ------------------
  |  |  550|  14.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  14.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10139|  14.8k|        case USub:
  ------------------
  |  Branch (10139:9): [True: 14.8k, False: 17.6k]
  ------------------
10140|  14.8k|            return Py_NewRef(state->USub_singleton);
  ------------------
  |  |  550|  14.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  14.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10141|  32.5k|    }
10142|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10143|  32.5k|}
Python-ast.c:ast2obj_comprehension:
10172|  2.53k|{
10173|  2.53k|    comprehension_ty o = (comprehension_ty)_o;
10174|  2.53k|    PyObject *result = NULL, *value = NULL;
10175|  2.53k|    PyTypeObject *tp;
10176|  2.53k|    if (!o) {
  ------------------
  |  Branch (10176:9): [True: 0, False: 2.53k]
  ------------------
10177|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10178|      0|    }
10179|  2.53k|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (10179:9): [True: 0, False: 2.53k]
  ------------------
10180|      0|        return NULL;
10181|      0|    }
10182|  2.53k|    tp = (PyTypeObject *)state->comprehension_type;
10183|  2.53k|    result = PyType_GenericNew(tp, NULL, NULL);
10184|  2.53k|    if (!result) return NULL;
  ------------------
  |  Branch (10184:9): [True: 0, False: 2.53k]
  ------------------
10185|  2.53k|    value = ast2obj_expr(state, o->target);
10186|  2.53k|    if (!value) goto failed;
  ------------------
  |  Branch (10186:9): [True: 0, False: 2.53k]
  ------------------
10187|  2.53k|    if (PyObject_SetAttr(result, state->target, value) == -1)
  ------------------
  |  Branch (10187:9): [True: 0, False: 2.53k]
  ------------------
10188|      0|        goto failed;
10189|  2.53k|    Py_DECREF(value);
  ------------------
  |  |  430|  2.53k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.53k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10190|  2.53k|    value = ast2obj_expr(state, o->iter);
10191|  2.53k|    if (!value) goto failed;
  ------------------
  |  Branch (10191:9): [True: 0, False: 2.53k]
  ------------------
10192|  2.53k|    if (PyObject_SetAttr(result, state->iter, value) == -1)
  ------------------
  |  Branch (10192:9): [True: 0, False: 2.53k]
  ------------------
10193|      0|        goto failed;
10194|  2.53k|    Py_DECREF(value);
  ------------------
  |  |  430|  2.53k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.53k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10195|  2.53k|    value = ast2obj_list(state, (asdl_seq*)o->ifs, ast2obj_expr);
10196|  2.53k|    if (!value) goto failed;
  ------------------
  |  Branch (10196:9): [True: 0, False: 2.53k]
  ------------------
10197|  2.53k|    if (PyObject_SetAttr(result, state->ifs, value) == -1)
  ------------------
  |  Branch (10197:9): [True: 0, False: 2.53k]
  ------------------
10198|      0|        goto failed;
10199|  2.53k|    Py_DECREF(value);
  ------------------
  |  |  430|  2.53k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.53k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10200|  2.53k|    value = ast2obj_int(state, o->is_async);
10201|  2.53k|    if (!value) goto failed;
  ------------------
  |  Branch (10201:9): [True: 0, False: 2.53k]
  ------------------
10202|  2.53k|    if (PyObject_SetAttr(result, state->is_async, value) == -1)
  ------------------
  |  Branch (10202:9): [True: 0, False: 2.53k]
  ------------------
10203|      0|        goto failed;
10204|  2.53k|    Py_DECREF(value);
  ------------------
  |  |  430|  2.53k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.53k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10205|  2.53k|    Py_LeaveRecursiveCall();
10206|  2.53k|    return result;
10207|      0|failed:
10208|      0|    Py_LeaveRecursiveCall();
10209|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10210|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10211|       |    return NULL;
10212|  2.53k|}
Python-ast.c:ast2obj_cmpop:
10145|  9.01k|{
10146|  9.01k|    switch(o) {
  ------------------
  |  Branch (10146:12): [True: 9.01k, False: 0]
  ------------------
10147|    130|        case Eq:
  ------------------
  |  Branch (10147:9): [True: 130, False: 8.88k]
  ------------------
10148|    130|            return Py_NewRef(state->Eq_singleton);
  ------------------
  |  |  550|    130|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10149|     47|        case NotEq:
  ------------------
  |  Branch (10149:9): [True: 47, False: 8.96k]
  ------------------
10150|     47|            return Py_NewRef(state->NotEq_singleton);
  ------------------
  |  |  550|     47|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     47|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     47|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10151|  2.94k|        case Lt:
  ------------------
  |  Branch (10151:9): [True: 2.94k, False: 6.06k]
  ------------------
10152|  2.94k|            return Py_NewRef(state->Lt_singleton);
  ------------------
  |  |  550|  2.94k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10153|    458|        case LtE:
  ------------------
  |  Branch (10153:9): [True: 458, False: 8.55k]
  ------------------
10154|    458|            return Py_NewRef(state->LtE_singleton);
  ------------------
  |  |  550|    458|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    458|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    458|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10155|  3.02k|        case Gt:
  ------------------
  |  Branch (10155:9): [True: 3.02k, False: 5.99k]
  ------------------
10156|  3.02k|            return Py_NewRef(state->Gt_singleton);
  ------------------
  |  |  550|  3.02k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10157|    450|        case GtE:
  ------------------
  |  Branch (10157:9): [True: 450, False: 8.56k]
  ------------------
10158|    450|            return Py_NewRef(state->GtE_singleton);
  ------------------
  |  |  550|    450|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    450|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    450|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10159|    353|        case Is:
  ------------------
  |  Branch (10159:9): [True: 353, False: 8.65k]
  ------------------
10160|    353|            return Py_NewRef(state->Is_singleton);
  ------------------
  |  |  550|    353|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    353|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    353|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10161|     12|        case IsNot:
  ------------------
  |  Branch (10161:9): [True: 12, False: 8.99k]
  ------------------
10162|     12|            return Py_NewRef(state->IsNot_singleton);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10163|  1.57k|        case In:
  ------------------
  |  Branch (10163:9): [True: 1.57k, False: 7.43k]
  ------------------
10164|  1.57k|            return Py_NewRef(state->In_singleton);
  ------------------
  |  |  550|  1.57k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10165|     19|        case NotIn:
  ------------------
  |  Branch (10165:9): [True: 19, False: 8.99k]
  ------------------
10166|     19|            return Py_NewRef(state->NotIn_singleton);
  ------------------
  |  |  550|     19|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10167|  9.01k|    }
10168|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10169|  9.01k|}
Python-ast.c:ast2obj_expr_context:
10077|   101k|{
10078|   101k|    switch(o) {
  ------------------
  |  Branch (10078:12): [True: 101k, False: 0]
  ------------------
10079|  85.7k|        case Load:
  ------------------
  |  Branch (10079:9): [True: 85.7k, False: 15.4k]
  ------------------
10080|  85.7k|            return Py_NewRef(state->Load_singleton);
  ------------------
  |  |  550|  85.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  85.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10081|  14.8k|        case Store:
  ------------------
  |  Branch (10081:9): [True: 14.8k, False: 86.3k]
  ------------------
10082|  14.8k|            return Py_NewRef(state->Store_singleton);
  ------------------
  |  |  550|  14.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  14.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10083|    639|        case Del:
  ------------------
  |  Branch (10083:9): [True: 639, False: 100k]
  ------------------
10084|    639|            return Py_NewRef(state->Del_singleton);
  ------------------
  |  |  550|    639|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    639|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    639|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10085|   101k|    }
10086|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10087|   101k|}

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|     19|get_tokenize_state(PyObject *module) {
   18|     19|    return (tokenize_state *)PyModule_GetState(module);
   19|     19|}
Python-tokenize.c:tokenizemodule_traverse:
  412|     18|{
  413|     18|    tokenize_state *state = get_tokenize_state(m);
  414|     18|    Py_VISIT(state->TokenizerIter);
  ------------------
  |  |  194|     18|    do {                                                                \
  |  |  195|     18|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18, False: 0]
  |  |  ------------------
  |  |  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|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
  415|     18|    return 0;
  416|     18|}

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|}
PyErr_WarnExplicitObject:
 1429|  48.4k|{
 1430|  48.4k|    PyObject *res;
 1431|  48.4k|    if (category == NULL)
  ------------------
  |  Branch (1431:9): [True: 0, False: 48.4k]
  ------------------
 1432|      0|        category = PyExc_RuntimeWarning;
 1433|  48.4k|    PyThreadState *tstate = get_current_tstate();
 1434|  48.4k|    if (tstate == NULL) {
  ------------------
  |  Branch (1434:9): [True: 0, False: 48.4k]
  ------------------
 1435|      0|        return -1;
 1436|      0|    }
 1437|       |
 1438|  48.4k|    warnings_lock(tstate->interp);
 1439|  48.4k|    res = warn_explicit(tstate, category, message, filename, lineno,
 1440|  48.4k|                        module, registry, NULL, NULL);
 1441|  48.4k|    warnings_unlock(tstate->interp);
 1442|  48.4k|    if (res == NULL)
  ------------------
  |  Branch (1442:9): [True: 0, False: 48.4k]
  ------------------
 1443|      0|        return -1;
 1444|  48.4k|    Py_DECREF(res);
  ------------------
  |  |  430|  48.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1445|  48.4k|    return 0;
 1446|  48.4k|}
_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:get_current_tstate:
   49|  48.4k|{
   50|  48.4k|    PyThreadState *tstate = _PyThreadState_GET();
   51|  48.4k|    if (tstate == NULL) {
  ------------------
  |  Branch (51:9): [True: 0, False: 48.4k]
  ------------------
   52|      0|        (void)check_interp(NULL);
   53|      0|        return NULL;
   54|      0|    }
   55|  48.4k|    return check_interp(tstate->interp) ? tstate : NULL;
  ------------------
  |  Branch (55:12): [True: 48.4k, False: 0]
  ------------------
   56|  48.4k|}
_warnings.c:check_interp:
   30|  48.4k|{
   31|  48.4k|    if (interp == NULL) {
  ------------------
  |  Branch (31:9): [True: 0, False: 48.4k]
  ------------------
   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|  48.4k|    return 1;
   38|  48.4k|}
_warnings.c:warnings_lock:
  259|  48.4k|{
  260|  48.4k|    WarningsState *st = warnings_get_state(interp);
  261|  48.4k|    assert(st != NULL);
  ------------------
  |  Branch (261:5): [True: 48.4k, False: 0]
  ------------------
  262|  48.4k|    _PyRecursiveMutex_Lock(&st->lock);
  263|  48.4k|}
_warnings.c:warnings_get_state:
   61|   242k|{
   62|   242k|    return &interp->warnings;
   63|   242k|}
_warnings.c:warn_explicit:
  777|  48.4k|{
  778|  48.4k|    PyObject *key = NULL, *text = NULL, *result = NULL, *lineno_obj = NULL;
  779|  48.4k|    PyObject *item = NULL;
  780|  48.4k|    PyObject *action;
  781|  48.4k|    int rc;
  782|  48.4k|    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|  48.4k|    if (module == Py_None)
  ------------------
  |  |  616|  48.4k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (788:9): [True: 0, False: 48.4k]
  ------------------
  789|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  790|       |
  791|  48.4k|    if (registry && !PyDict_Check(registry) && (registry != Py_None)) {
  ------------------
  |  |   18|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  48.4k|#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: 0, False: 48.4k]
  |  Branch (791:21): [True: 0, False: 0]
  |  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|  48.4k|    Py_INCREF(message);  /* DECREF'ed in cleanup. */
  ------------------
  |  |  310|  48.4k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  798|  48.4k|    if (PyObject_TypeCheck(message, (PyTypeObject *)PyExc_Warning)) {
  ------------------
  |  |  378|  48.4k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (378:40): [True: 0, False: 48.4k]
  |  |  ------------------
  ------------------
  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|  48.4k|    else {
  805|  48.4k|        text = message;
  806|  48.4k|        message = PyObject_CallOneArg(category, message);
  807|  48.4k|        if (message == NULL)
  ------------------
  |  Branch (807:13): [True: 0, False: 48.4k]
  ------------------
  808|      0|            goto cleanup;
  809|  48.4k|    }
  810|       |
  811|  48.4k|    lineno_obj = PyLong_FromLong(lineno);
  812|  48.4k|    if (lineno_obj == NULL)
  ------------------
  |  Branch (812:9): [True: 0, False: 48.4k]
  ------------------
  813|      0|        goto cleanup;
  814|       |
  815|  48.4k|    if (source == Py_None) {
  ------------------
  |  |  616|  48.4k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (815:9): [True: 0, False: 48.4k]
  ------------------
  816|      0|        source = NULL;
  817|      0|    }
  818|       |
  819|       |    /* Create key. */
  820|  48.4k|    key = PyTuple_Pack(3, text, category, lineno_obj);
  821|  48.4k|    if (key == NULL)
  ------------------
  |  Branch (821:9): [True: 0, False: 48.4k]
  ------------------
  822|      0|        goto cleanup;
  823|       |
  824|  48.4k|    if ((registry != NULL) && (registry != Py_None)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (824:9): [True: 0, False: 48.4k]
  |  Branch (824:31): [True: 0, False: 0]
  ------------------
  825|      0|        rc = already_warned(interp, registry, key, 0);
  826|      0|        if (rc == -1)
  ------------------
  |  Branch (826:13): [True: 0, False: 0]
  ------------------
  827|      0|            goto cleanup;
  828|      0|        else if (rc == 1)
  ------------------
  |  Branch (828:18): [True: 0, False: 0]
  ------------------
  829|      0|            goto return_none;
  830|       |        /* Else this warning hasn't been generated before. */
  831|      0|    }
  832|       |
  833|  48.4k|    action = get_filter(interp, category, text, lineno, module, filename, &item);
  834|  48.4k|    if (action == NULL)
  ------------------
  |  Branch (834:9): [True: 0, False: 48.4k]
  ------------------
  835|      0|        goto cleanup;
  836|       |
  837|  48.4k|    if (_PyUnicode_EqualToASCIIString(action, "error")) {
  ------------------
  |  Branch (837:9): [True: 0, False: 48.4k]
  ------------------
  838|      0|        PyErr_SetObject(category, message);
  839|      0|        goto cleanup;
  840|      0|    }
  841|       |
  842|  48.4k|    if (_PyUnicode_EqualToASCIIString(action, "ignore")) {
  ------------------
  |  Branch (842:9): [True: 0, False: 48.4k]
  ------------------
  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|  48.4k|    rc = 0;
  849|  48.4k|    if (!_PyUnicode_EqualToASCIIString(action, "always") && !_PyUnicode_EqualToASCIIString(action, "all")) {
  ------------------
  |  Branch (849:9): [True: 48.4k, False: 0]
  |  Branch (849:61): [True: 48.4k, False: 0]
  ------------------
  850|  48.4k|        if (registry != NULL && registry != Py_None &&
  ------------------
  |  |  616|  48.4k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (850:13): [True: 0, False: 48.4k]
  |  Branch (850:33): [True: 0, False: 0]
  ------------------
  851|      0|            PyDict_SetItem(registry, key, Py_True) < 0)
  ------------------
  |  |   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 (851:13): [True: 0, False: 0]
  ------------------
  852|      0|        {
  853|      0|            goto cleanup;
  854|      0|        }
  855|       |
  856|  48.4k|        if (_PyUnicode_EqualToASCIIString(action, "once")) {
  ------------------
  |  Branch (856:13): [True: 0, False: 48.4k]
  ------------------
  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|  48.4k|        else if (_PyUnicode_EqualToASCIIString(action, "module")) {
  ------------------
  |  Branch (865:18): [True: 0, False: 48.4k]
  ------------------
  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|  48.4k|        else if (!_PyUnicode_EqualToASCIIString(action, "default")) {
  ------------------
  |  Branch (870:18): [True: 0, False: 48.4k]
  ------------------
  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|  48.4k|    }
  877|       |
  878|  48.4k|    if (rc == 1)  /* Already warned for this module. */
  ------------------
  |  Branch (878:9): [True: 0, False: 48.4k]
  ------------------
  879|      0|        goto return_none;
  880|  48.4k|    if (rc == 0) {
  ------------------
  |  Branch (880:9): [True: 48.4k, False: 0]
  ------------------
  881|  48.4k|        if (call_show_warning(tstate, category, text, message, filename,
  ------------------
  |  Branch (881:13): [True: 0, False: 48.4k]
  ------------------
  882|  48.4k|                              lineno, lineno_obj, sourceline, source, module) < 0)
  883|      0|            goto cleanup;
  884|  48.4k|    }
  885|      0|    else /* if (rc == -1) */
  886|      0|        goto cleanup;
  887|       |
  888|  48.4k| return_none:
  889|  48.4k|    result = Py_NewRef(Py_None);
  ------------------
  |  |  550|  48.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  890|       |
  891|  48.4k| cleanup:
  892|  48.4k|    Py_XDECREF(item);
  ------------------
  |  |  524|  48.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  893|  48.4k|    Py_XDECREF(key);
  ------------------
  |  |  524|  48.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  894|  48.4k|    Py_XDECREF(text);
  ------------------
  |  |  524|  48.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  895|  48.4k|    Py_XDECREF(lineno_obj);
  ------------------
  |  |  524|  48.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  896|  48.4k|    Py_XDECREF(message);
  ------------------
  |  |  524|  48.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  897|  48.4k|    return result;  /* Py_None or NULL. */
  898|  48.4k|}
_warnings.c:warnings_lock_held:
  275|  48.4k|{
  276|  48.4k|    return PyMutex_IsLocked(&st->lock.mutex);
  ------------------
  |  |   78|  48.4k|#define PyMutex_IsLocked _PyMutex_IsLocked
  ------------------
  277|  48.4k|}
_warnings.c:get_filter:
  521|  48.4k|{
  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|  48.4k|    PyObject *context_filters = get_warnings_context_filters(interp);
  530|  48.4k|    if (context_filters == NULL) {
  ------------------
  |  Branch (530:9): [True: 0, False: 48.4k]
  ------------------
  531|      0|        return NULL;
  532|      0|    }
  533|  48.4k|    bool use_global_filters = false;
  534|  48.4k|    if (context_filters == Py_None) {
  ------------------
  |  |  616|  48.4k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (534:9): [True: 48.4k, False: 0]
  ------------------
  535|  48.4k|        use_global_filters = true;
  536|  48.4k|    } 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|  48.4k|    PyObject *action;
  550|       |
  551|  48.4k|    if (use_global_filters) {
  ------------------
  |  Branch (551:9): [True: 48.4k, False: 0]
  ------------------
  552|       |        /* check warnings.filters list */
  553|  48.4k|        PyObject *filters = get_warnings_filters(interp);
  554|  48.4k|        if (filters == NULL) {
  ------------------
  |  Branch (554:13): [True: 0, False: 48.4k]
  ------------------
  555|      0|            return NULL;
  556|      0|        }
  557|  48.4k|        if (!filter_search(interp, category, text, lineno, module, filename, "filters",
  ------------------
  |  Branch (557:13): [True: 0, False: 48.4k]
  ------------------
  558|  48.4k|                           filters, item, &action)) {
  559|      0|            return NULL;
  560|      0|        }
  561|  48.4k|        if (action != NULL) {
  ------------------
  |  Branch (561:13): [True: 0, False: 48.4k]
  ------------------
  562|      0|            return action;
  563|      0|        }
  564|  48.4k|    }
  565|       |
  566|  48.4k|    action = get_default_action(interp);
  567|  48.4k|    if (action != NULL) {
  ------------------
  |  Branch (567:9): [True: 48.4k, False: 0]
  ------------------
  568|  48.4k|        *item = Py_NewRef(Py_None);
  ------------------
  |  |  550|  48.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  569|  48.4k|        return action;
  570|  48.4k|    }
  571|       |
  572|      0|    return NULL;
  573|  48.4k|}
_warnings.c:get_warnings_context_filters:
  296|  48.4k|{
  297|  48.4k|    PyObject *ctx = get_warnings_context(interp);
  298|  48.4k|    if (ctx == NULL) {
  ------------------
  |  Branch (298:9): [True: 0, False: 48.4k]
  ------------------
  299|      0|        return NULL;
  300|      0|    }
  301|  48.4k|    if (ctx == Py_None) {
  ------------------
  |  |  616|  48.4k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (301:9): [True: 48.4k, False: 0]
  ------------------
  302|  48.4k|        Py_RETURN_NONE;
  ------------------
  |  |  628|  48.4k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  48.4k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  303|  48.4k|    }
  304|      0|    PyObject *context_filters = PyObject_GetAttr(ctx, &_Py_ID(_filters));
  ------------------
  |  |  921|      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|  48.4k|{
  282|  48.4k|    WarningsState *st = warnings_get_state(interp);
  283|  48.4k|    assert(PyContextVar_CheckExact(st->context));
  ------------------
  |  Branch (283:5): [True: 48.4k, False: 0]
  ------------------
  284|  48.4k|    PyObject *ctx;
  285|  48.4k|    if (PyContextVar_Get(st->context, NULL, &ctx) < 0) {
  ------------------
  |  Branch (285:9): [True: 0, False: 48.4k]
  ------------------
  286|      0|        return NULL;
  287|      0|    }
  288|  48.4k|    if (ctx == NULL) {
  ------------------
  |  Branch (288:9): [True: 48.4k, False: 0]
  ------------------
  289|  48.4k|        Py_RETURN_NONE;
  ------------------
  |  |  628|  48.4k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  48.4k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  290|  48.4k|    }
  291|      0|    return ctx;
  292|  48.4k|}
_warnings.c:filter_search:
  440|  48.4k|              PyObject **item, PyObject **matched_action) {
  441|  48.4k|    bool result = true;
  442|  48.4k|    *matched_action = NULL;
  443|       |    /* Avoid the filters list changing while we iterate over it. */
  444|  48.4k|    Py_BEGIN_CRITICAL_SECTION(filters);
  ------------------
  |  |   51|  48.4k|    {
  ------------------
  445|   290k|    for (Py_ssize_t i = 0; i < PyList_GET_SIZE(filters); i++) {
  ------------------
  |  |   38|   290k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   290k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   290k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (445:28): [True: 242k, False: 48.4k]
  ------------------
  446|   242k|        PyObject *tmp_item, *action, *msg, *cat, *mod, *ln_obj;
  447|   242k|        Py_ssize_t ln;
  448|   242k|        int is_subclass, good_msg, good_mod;
  449|       |
  450|   242k|        tmp_item = PyList_GET_ITEM(filters, i);
  ------------------
  |  |   40|   242k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|   242k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   242k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (450:20): [True: 242k, False: 0]
  ------------------
  451|   242k|        if (!PyTuple_Check(tmp_item) || PyTuple_GET_SIZE(tmp_item) != 5) {
  ------------------
  |  |   27|   242k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   484k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                      if (!PyTuple_Check(tmp_item) || PyTuple_GET_SIZE(tmp_item) != 5) {
  ------------------
  |  |   27|   242k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   242k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   242k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (451:13): [True: 0, False: 242k]
  |  Branch (451:41): [True: 0, False: 242k]
  ------------------
  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|   242k|        Py_INCREF(tmp_item);
  ------------------
  |  |  310|   242k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   242k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   242k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  460|   242k|        action = PyTuple_GET_ITEM(tmp_item, 0);
  ------------------
  |  |   29|   242k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   242k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   242k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (460:18): [True: 242k, False: 0]
  ------------------
  461|   242k|        msg = PyTuple_GET_ITEM(tmp_item, 1);
  ------------------
  |  |   29|   242k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   242k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   242k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (461:15): [True: 242k, False: 0]
  ------------------
  462|   242k|        cat = PyTuple_GET_ITEM(tmp_item, 2);
  ------------------
  |  |   29|   242k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   242k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   242k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (462:15): [True: 242k, False: 0]
  ------------------
  463|   242k|        mod = PyTuple_GET_ITEM(tmp_item, 3);
  ------------------
  |  |   29|   242k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   242k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   242k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (463:15): [True: 242k, False: 0]
  ------------------
  464|   242k|        ln_obj = PyTuple_GET_ITEM(tmp_item, 4);
  ------------------
  |  |   29|   242k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   242k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   242k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (464:18): [True: 242k, False: 0]
  ------------------
  465|       |
  466|   242k|        if (!PyUnicode_Check(action)) {
  ------------------
  |  |  103|   242k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   242k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (466:13): [True: 0, False: 242k]
  ------------------
  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|   242k|        good_msg = check_matched(interp, msg, text, NULL);
  476|   242k|        if (good_msg == -1) {
  ------------------
  |  Branch (476:13): [True: 0, False: 242k]
  ------------------
  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|   242k|        good_mod = check_matched(interp, mod, module, filename);
  483|   242k|        if (good_mod == -1) {
  ------------------
  |  Branch (483:13): [True: 0, False: 242k]
  ------------------
  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|   242k|        is_subclass = PyObject_IsSubclass(category, cat);
  490|   242k|        if (is_subclass == -1) {
  ------------------
  |  Branch (490:13): [True: 0, False: 242k]
  ------------------
  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|   242k|        ln = PyLong_AsSsize_t(ln_obj);
  497|   242k|        if (ln == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (497:13): [True: 0, False: 242k]
  |  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|   242k|        if (good_msg && is_subclass && good_mod && (ln == 0 || lineno == ln)) {
  ------------------
  |  Branch (503:13): [True: 242k, False: 0]
  |  Branch (503:25): [True: 0, False: 242k]
  |  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|   242k|        Py_DECREF(tmp_item);
  ------------------
  |  |  430|   242k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   242k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   242k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|   242k|    }
  512|  48.4k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  48.4k|    }
  ------------------
  513|  48.4k|    return result;
  514|  48.4k|}
_warnings.c:check_matched:
  176|   484k|{
  177|   484k|    PyObject *result;
  178|   484k|    int rc;
  179|       |
  180|       |    /* A 'None' filter always matches */
  181|   484k|    if (obj == Py_None)
  ------------------
  |  |  616|   484k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (181:9): [True: 436k, False: 48.4k]
  ------------------
  182|   436k|        return 1;
  183|       |
  184|       |    /* An internal plain text default filter must match exactly */
  185|  48.4k|    if (PyUnicode_CheckExact(obj)) {
  ------------------
  |  |  104|  48.4k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  48.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 48.4k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  186|  48.4k|        if (arg == NULL) {
  ------------------
  |  Branch (186:13): [True: 48.4k, False: 0]
  ------------------
  187|  48.4k|            return 0;
  188|  48.4k|        }
  189|      0|        int cmp_result = PyUnicode_Compare(obj, arg);
  190|      0|        if (cmp_result == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (190:13): [True: 0, False: 0]
  |  Branch (190:33): [True: 0, False: 0]
  ------------------
  191|      0|            return -1;
  192|      0|        }
  193|      0|        return !cmp_result;
  194|      0|    }
  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);
  ------------------
  |  |  921|      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|  48.4k|{
  322|  48.4k|    WarningsState *st = warnings_get_state(interp);
  323|  48.4k|    PyObject *warnings_filters = GET_WARNINGS_ATTR(interp, filters, 0);
  ------------------
  |  |  216|  48.4k|    get_warnings_attr(interp, &_Py_ID(ATTR), try_import)
  |  |  ------------------
  |  |  |  |  921|  48.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  48.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  48.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  324|  48.4k|    if (warnings_filters == NULL) {
  ------------------
  |  Branch (324:9): [True: 1, False: 48.4k]
  ------------------
  325|      1|        if (PyErr_Occurred())
  ------------------
  |  Branch (325:13): [True: 0, False: 1]
  ------------------
  326|      0|            return NULL;
  327|      1|    }
  328|  48.4k|    else {
  329|  48.4k|        Py_SETREF(st->filters, warnings_filters);
  ------------------
  |  |  354|  48.4k|    do { \
  |  |  355|  48.4k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  48.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|  48.4k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  48.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|  48.4k|        *_tmp_dst_ptr = (src); \
  |  |  358|  48.4k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  48.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|  48.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 48.4k]
  |  |  ------------------
  ------------------
  330|  48.4k|    }
  331|       |
  332|  48.4k|    PyObject *filters = st->filters;
  333|  48.4k|    if (filters == NULL || !PyList_Check(filters)) {
  ------------------
  |  |   25|  48.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  48.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (333:9): [True: 0, False: 48.4k]
  |  Branch (333:28): [True: 0, False: 48.4k]
  ------------------
  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|  48.4k|    return filters;
  339|  48.4k|}
_warnings.c:get_default_action:
  408|  48.4k|{
  409|  48.4k|    WarningsState *st = warnings_get_state(interp);
  410|  48.4k|    assert(st != NULL);
  ------------------
  |  Branch (410:5): [True: 48.4k, False: 0]
  ------------------
  411|       |
  412|  48.4k|    assert(warnings_lock_held(st));
  ------------------
  |  Branch (412:5): [True: 48.4k, False: 0]
  ------------------
  413|       |
  414|  48.4k|    PyObject *default_action = GET_WARNINGS_ATTR(interp, defaultaction, 0);
  ------------------
  |  |  216|  48.4k|    get_warnings_attr(interp, &_Py_ID(ATTR), try_import)
  |  |  ------------------
  |  |  |  |  921|  48.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  48.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  48.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  415|  48.4k|    if (default_action == NULL) {
  ------------------
  |  Branch (415:9): [True: 1, False: 48.4k]
  ------------------
  416|      1|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (416:13): [True: 0, False: 1]
  ------------------
  417|      0|            return NULL;
  418|      0|        }
  419|      1|        assert(st->default_action);
  ------------------
  |  Branch (419:9): [True: 1, False: 0]
  ------------------
  420|      1|        return st->default_action;
  421|      1|    }
  422|  48.4k|    if (!PyUnicode_Check(default_action)) {
  ------------------
  |  |  103|  48.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  48.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (422:9): [True: 0, False: 48.4k]
  ------------------
  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|  48.4k|    Py_SETREF(st->default_action, default_action);
  ------------------
  |  |  354|  48.4k|    do { \
  |  |  355|  48.4k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  48.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|  48.4k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  48.4k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|  48.4k|        *_tmp_dst_ptr = (src); \
  |  |  358|  48.4k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  48.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|  48.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 48.4k]
  |  |  ------------------
  ------------------
  431|  48.4k|    return default_action;
  432|  48.4k|}
_warnings.c:call_show_warning:
  720|  48.4k|{
  721|  48.4k|    PyObject *show_fn, *msg, *res, *warnmsg_cls = NULL;
  722|  48.4k|    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|  48.4k|    show_fn = GET_WARNINGS_ATTR(interp, _showwarnmsg, 1);
  ------------------
  |  |  216|  48.4k|    get_warnings_attr(interp, &_Py_ID(ATTR), try_import)
  |  |  ------------------
  |  |  |  |  921|  48.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  48.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  48.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  48.4k|    if (show_fn == NULL) {
  ------------------
  |  Branch (727:9): [True: 0, False: 48.4k]
  ------------------
  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|  48.4k|    if (!PyCallable_Check(show_fn)) {
  ------------------
  |  Branch (734:9): [True: 0, False: 48.4k]
  ------------------
  735|      0|        PyErr_SetString(PyExc_TypeError,
  736|      0|                "warnings._showwarnmsg() must be set to a callable");
  737|      0|        goto error;
  738|      0|    }
  739|       |
  740|  48.4k|    warnmsg_cls = GET_WARNINGS_ATTR(interp, WarningMessage, 0);
  ------------------
  |  |  216|  48.4k|    get_warnings_attr(interp, &_Py_ID(ATTR), try_import)
  |  |  ------------------
  |  |  |  |  921|  48.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  48.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  48.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  741|  48.4k|    if (warnmsg_cls == NULL) {
  ------------------
  |  Branch (741:9): [True: 0, False: 48.4k]
  ------------------
  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|  48.4k|    msg = PyObject_CallFunctionObjArgs(warnmsg_cls, message, category,
  750|  48.4k|            filename, lineno_obj, Py_None, Py_None,
  ------------------
  |  |  616|  48.4k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                          filename, lineno_obj, Py_None, Py_None,
  ------------------
  |  |  616|  48.4k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  751|  48.4k|            source ? source : Py_None, module,
  ------------------
  |  |  616|  48.4k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (751:13): [True: 0, False: 48.4k]
  ------------------
  752|  48.4k|            NULL);
  753|  48.4k|    Py_DECREF(warnmsg_cls);
  ------------------
  |  |  430|  48.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  754|  48.4k|    if (msg == NULL)
  ------------------
  |  Branch (754:9): [True: 0, False: 48.4k]
  ------------------
  755|      0|        goto error;
  756|       |
  757|  48.4k|    res = PyObject_CallOneArg(show_fn, msg);
  758|  48.4k|    Py_DECREF(show_fn);
  ------------------
  |  |  430|  48.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  759|  48.4k|    Py_DECREF(msg);
  ------------------
  |  |  430|  48.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  760|       |
  761|  48.4k|    if (res == NULL)
  ------------------
  |  Branch (761:9): [True: 0, False: 48.4k]
  ------------------
  762|      0|        return -1;
  763|       |
  764|  48.4k|    Py_DECREF(res);
  ------------------
  |  |  430|  48.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  765|  48.4k|    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|  48.4k|}
_warnings.c:warnings_unlock:
  267|  48.4k|{
  268|  48.4k|    WarningsState *st = warnings_get_state(interp);
  269|  48.4k|    assert(st != NULL);
  ------------------
  |  Branch (269:5): [True: 48.4k, False: 0]
  ------------------
  270|  48.4k|    return _PyRecursiveMutex_TryUnlock(&st->lock);
  271|  48.4k|}
_warnings.c:get_warnings_attr:
  224|   193k|{
  225|   193k|    PyObject *warnings_module, *obj;
  226|       |
  227|       |    /* don't try to import after the start of the Python finallization */
  228|   193k|    if (try_import && !_Py_IsInterpreterFinalizing(interp)) {
  ------------------
  |  Branch (228:9): [True: 48.4k, False: 145k]
  |  Branch (228:23): [True: 48.4k, False: 0]
  ------------------
  229|  48.4k|        warnings_module = PyImport_Import(&_Py_ID(warnings));
  ------------------
  |  |  921|  48.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  48.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  48.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  230|  48.4k|        if (warnings_module == NULL) {
  ------------------
  |  Branch (230:13): [True: 0, False: 48.4k]
  ------------------
  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|  48.4k|    }
  239|   145k|    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|   145k|        if (!_PyImport_GetModules(interp)) {
  ------------------
  |  Branch (244:13): [True: 0, False: 145k]
  ------------------
  245|      0|            return NULL;
  246|      0|        }
  247|   145k|        warnings_module = PyImport_GetModule(&_Py_ID(warnings));
  ------------------
  |  |  921|   145k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   145k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   145k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  248|   145k|        if (warnings_module == NULL)
  ------------------
  |  Branch (248:13): [True: 2, False: 145k]
  ------------------
  249|      2|            return NULL;
  250|   145k|    }
  251|       |
  252|   193k|    (void)PyObject_GetOptionalAttr(warnings_module, attr, &obj);
  253|   193k|    Py_DECREF(warnings_module);
  ------------------
  |  |  430|   193k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   193k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   193k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  254|   193k|    return obj;
  255|   193k|}
_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|  52.7k|{
  784|  52.7k|    if (_PyInstructionSequence_ApplyLabelMap(instrs) < 0) {
  ------------------
  |  Branch (784:9): [True: 0, False: 52.7k]
  ------------------
  785|      0|        return NULL;
  786|      0|    }
  787|  52.7k|    if (resolve_unconditional_jumps(instrs) < 0) {
  ------------------
  |  Branch (787:9): [True: 0, False: 52.7k]
  ------------------
  788|      0|        return NULL;
  789|      0|    }
  790|  52.7k|    if (resolve_jump_offsets(instrs) < 0) {
  ------------------
  |  Branch (790:9): [True: 0, False: 52.7k]
  ------------------
  791|      0|        return NULL;
  792|      0|    }
  793|  52.7k|    PyCodeObject *co = NULL;
  794|       |
  795|  52.7k|    struct assembler a;
  796|  52.7k|    int res = assemble_emit(&a, instrs, umd->u_firstlineno, const_cache);
  797|  52.7k|    if (res == SUCCESS) {
  ------------------
  |  |   17|  52.7k|#define SUCCESS 0
  ------------------
  |  Branch (797:9): [True: 52.7k, False: 0]
  ------------------
  798|  52.7k|        co = makecode(umd, &a, const_cache, consts, maxdepth, nlocalsplus,
  799|  52.7k|                      code_flags, filename);
  800|  52.7k|    }
  801|  52.7k|    assemble_free(&a);
  802|  52.7k|    return co;
  803|  52.7k|}
assemble.c:resolve_unconditional_jumps:
  751|  52.7k|{
  752|       |    /* Resolve directions of unconditional jumps */
  753|       |
  754|  3.43M|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (754:21): [True: 3.38M, False: 52.7k]
  ------------------
  755|  3.38M|        instruction *instr = &instrs->s_instrs[i];
  756|  3.38M|        bool is_forward = (instr->i_oparg > i);
  757|  3.38M|        switch(instr->i_opcode) {
  758|  7.97k|            case JUMP:
  ------------------
  |  |  245|  7.97k|#define JUMP                                   257
  ------------------
  |  Branch (758:13): [True: 7.97k, False: 3.37M]
  ------------------
  759|  7.97k|                assert(is_pseudo_target(JUMP, JUMP_FORWARD));
  ------------------
  |  Branch (759:17): [True: 7.97k, False: 0]
  ------------------
  760|  7.97k|                assert(is_pseudo_target(JUMP, JUMP_BACKWARD));
  ------------------
  |  Branch (760:17): [True: 7.97k, False: 0]
  ------------------
  761|  7.97k|                instr->i_opcode = is_forward ? JUMP_FORWARD : JUMP_BACKWARD;
  ------------------
  |  |   86|  2.14k|#define JUMP_FORWARD                            73
  ------------------
                              instr->i_opcode = is_forward ? JUMP_FORWARD : JUMP_BACKWARD;
  ------------------
  |  |   84|  13.7k|#define JUMP_BACKWARD                           71
  ------------------
  |  Branch (761:35): [True: 2.14k, False: 5.82k]
  ------------------
  762|  7.97k|                break;
  763|  78.1k|            case JUMP_NO_INTERRUPT:
  ------------------
  |  |  248|  78.1k|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (763:13): [True: 78.1k, False: 3.30M]
  ------------------
  764|  78.1k|                assert(is_pseudo_target(JUMP_NO_INTERRUPT, JUMP_FORWARD));
  ------------------
  |  Branch (764:17): [True: 78.1k, False: 0]
  ------------------
  765|  78.1k|                assert(is_pseudo_target(JUMP_NO_INTERRUPT, JUMP_BACKWARD_NO_INTERRUPT));
  ------------------
  |  Branch (765:17): [True: 78.1k, False: 0]
  ------------------
  766|  78.1k|                instr->i_opcode = is_forward ?
  ------------------
  |  Branch (766:35): [True: 11.6k, False: 66.4k]
  ------------------
  767|  66.4k|                    JUMP_FORWARD : JUMP_BACKWARD_NO_INTERRUPT;
  ------------------
  |  |   86|  11.6k|#define JUMP_FORWARD                            73
  ------------------
                                  JUMP_FORWARD : JUMP_BACKWARD_NO_INTERRUPT;
  ------------------
  |  |   85|   144k|#define JUMP_BACKWARD_NO_INTERRUPT              72
  ------------------
  768|  78.1k|                break;
  769|  3.29M|            default:
  ------------------
  |  Branch (769:13): [True: 3.29M, False: 86.0k]
  ------------------
  770|  3.29M|                if (OPCODE_HAS_JUMP(instr->i_opcode) &&
  ------------------
  |  | 1065|  6.59M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  ------------------
  |  |  |  | 1046|  3.29M|#define HAS_JUMP_FLAG (8)
  |  |  ------------------
  |  |  |  Branch (1065:29): [True: 128k, False: 3.16M]
  |  |  ------------------
  ------------------
  771|   128k|                    IS_PSEUDO_INSTR(instr->i_opcode)) {
  ------------------
  |  |   20|   128k|#define IS_PSEUDO_INSTR(OP)  ( \
  |  |   21|   128k|    ((OP) == LOAD_CLOSURE) || \
  |  |  ------------------
  |  |  |  |  249|   128k|#define LOAD_CLOSURE                           261
  |  |  ------------------
  |  |  |  Branch (21:5): [True: 0, False: 128k]
  |  |  ------------------
  |  |   22|   128k|    ((OP) == STORE_FAST_MAYBE_NULL) || \
  |  |  ------------------
  |  |  |  |  254|   128k|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (22:5): [True: 0, False: 128k]
  |  |  ------------------
  |  |   23|   128k|    ((OP) == ANNOTATIONS_PLACEHOLDER) || \
  |  |  ------------------
  |  |  |  |  244|   128k|#define ANNOTATIONS_PLACEHOLDER                256
  |  |  ------------------
  |  |  |  Branch (23:5): [True: 0, False: 128k]
  |  |  ------------------
  |  |   24|   128k|    ((OP) == JUMP) || \
  |  |  ------------------
  |  |  |  |  245|   128k|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (24:5): [True: 0, False: 128k]
  |  |  ------------------
  |  |   25|   128k|    ((OP) == JUMP_NO_INTERRUPT) || \
  |  |  ------------------
  |  |  |  |  248|   128k|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (25:5): [True: 0, False: 128k]
  |  |  ------------------
  |  |   26|   128k|    ((OP) == JUMP_IF_FALSE) || \
  |  |  ------------------
  |  |  |  |  246|   128k|#define JUMP_IF_FALSE                          258
  |  |  ------------------
  |  |  |  Branch (26:5): [True: 0, False: 128k]
  |  |  ------------------
  |  |   27|   128k|    ((OP) == JUMP_IF_TRUE) || \
  |  |  ------------------
  |  |  |  |  247|   128k|#define JUMP_IF_TRUE                           259
  |  |  ------------------
  |  |  |  Branch (27:5): [True: 0, False: 128k]
  |  |  ------------------
  |  |   28|   128k|    ((OP) == SETUP_FINALLY) || \
  |  |  ------------------
  |  |  |  |  252|   128k|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (28:5): [True: 0, False: 128k]
  |  |  ------------------
  |  |   29|   128k|    ((OP) == SETUP_CLEANUP) || \
  |  |  ------------------
  |  |  |  |  251|   128k|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (29:5): [True: 0, False: 128k]
  |  |  ------------------
  |  |   30|   128k|    ((OP) == SETUP_WITH) || \
  |  |  ------------------
  |  |  |  |  253|   128k|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (30:5): [True: 0, False: 128k]
  |  |  ------------------
  |  |   31|   128k|    ((OP) == POP_BLOCK) || \
  |  |  ------------------
  |  |  |  |  250|   128k|#define POP_BLOCK                              262
  |  |  ------------------
  |  |  |  Branch (31:5): [True: 0, False: 128k]
  |  |  ------------------
  |  |   32|   128k|    0)
  |  |  ------------------
  |  |  |  Branch (32:5): [Folded, False: 0]
  |  |  ------------------
  ------------------
  772|      0|                    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  773|      0|                }
  774|  3.38M|        }
  775|  3.38M|    }
  776|  52.7k|    return SUCCESS;
  ------------------
  |  |   17|  52.7k|#define SUCCESS 0
  ------------------
  777|  52.7k|}
assemble.c:resolve_jump_offsets:
  677|  52.7k|{
  678|       |    /* Compute the size of each instruction and fixup jump args.
  679|       |     * Replace instruction index with position in bytecode.
  680|       |     */
  681|       |
  682|  3.43M|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (682:21): [True: 3.38M, False: 52.7k]
  ------------------
  683|  3.38M|        instruction *instr = &instrs->s_instrs[i];
  684|  3.38M|        if (OPCODE_HAS_JUMP(instr->i_opcode)) {
  ------------------
  |  | 1065|  3.38M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  ------------------
  |  |  |  | 1046|  3.38M|#define HAS_JUMP_FLAG (8)
  |  |  ------------------
  |  |  |  Branch (1065:29): [True: 214k, False: 3.16M]
  |  |  ------------------
  ------------------
  685|   214k|            instr->i_target = instr->i_oparg;
  686|   214k|        }
  687|  3.38M|    }
  688|       |
  689|  52.7k|    int extended_arg_recompile;
  690|       |
  691|  54.3k|    do {
  692|  54.3k|        int totsize = 0;
  693|  5.50M|        for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (693:25): [True: 5.45M, False: 54.3k]
  ------------------
  694|  5.45M|            instruction *instr = &instrs->s_instrs[i];
  695|  5.45M|            instr->i_offset = totsize;
  696|  5.45M|            int isize = instr_size(instr);
  697|  5.45M|            totsize += isize;
  698|  5.45M|        }
  699|  54.3k|        extended_arg_recompile = 0;
  700|       |
  701|  54.3k|        int offset = 0;
  702|  5.50M|        for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (702:25): [True: 5.45M, False: 54.3k]
  ------------------
  703|  5.45M|            instruction *instr = &instrs->s_instrs[i];
  704|  5.45M|            int isize = instr_size(instr);
  705|       |            /* jump offsets are computed relative to
  706|       |             * the instruction pointer after fetching
  707|       |             * the jump instruction.
  708|       |             */
  709|  5.45M|            offset += isize;
  710|  5.45M|            if (OPCODE_HAS_JUMP(instr->i_opcode)) {
  ------------------
  |  | 1065|  5.45M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  ------------------
  |  |  |  | 1046|  5.45M|#define HAS_JUMP_FLAG (8)
  |  |  ------------------
  |  |  |  Branch (1065:29): [True: 440k, False: 5.01M]
  |  |  ------------------
  ------------------
  711|   440k|                instruction *target = &instrs->s_instrs[instr->i_target];
  712|   440k|                instr->i_oparg = target->i_offset;
  713|   440k|                if (instr->i_opcode == END_ASYNC_FOR) {
  ------------------
  |  |   76|   440k|#define END_ASYNC_FOR                           63
  ------------------
  |  Branch (713:21): [True: 1.72k, False: 438k]
  ------------------
  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|  1.72k|                    instr->i_oparg = offset - instr->i_oparg - END_SEND_OFFSET;
  ------------------
  |  |  673|  1.72k|#define END_SEND_OFFSET 6
  ------------------
  717|  1.72k|                }
  718|   438k|                else if (instr->i_oparg < offset) {
  ------------------
  |  Branch (718:26): [True: 144k, False: 294k]
  ------------------
  719|   144k|                    assert(IS_BACKWARDS_JUMP_OPCODE(instr->i_opcode));
  ------------------
  |  Branch (719:21): [True: 8.20k, False: 135k]
  |  Branch (719:21): [True: 135k, False: 0]
  ------------------
  720|   144k|                    instr->i_oparg = offset - instr->i_oparg;
  721|   144k|                }
  722|   294k|                else {
  723|   294k|                    assert(!IS_BACKWARDS_JUMP_OPCODE(instr->i_opcode));
  ------------------
  |  Branch (723:21): [True: 0, False: 294k]
  |  Branch (723:21): [True: 0, False: 294k]
  ------------------
  724|   294k|                    instr->i_oparg = instr->i_oparg - offset;
  725|   294k|                }
  726|   440k|                if (instr_size(instr) != isize) {
  ------------------
  |  Branch (726:21): [True: 117k, False: 323k]
  ------------------
  727|   117k|                    extended_arg_recompile = 1;
  728|   117k|                }
  729|   440k|            }
  730|  5.45M|        }
  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|  54.3k|    } while (extended_arg_recompile);
  ------------------
  |  Branch (745:14): [True: 1.61k, False: 52.7k]
  ------------------
  746|  52.7k|    return SUCCESS;
  ------------------
  |  |   17|  52.7k|#define SUCCESS 0
  ------------------
  747|  52.7k|}
assemble.c:instr_size:
   40|  21.4M|{
   41|  21.4M|    int opcode = instr->i_opcode;
   42|  21.4M|    int oparg = instr->i_oparg;
   43|  21.4M|    assert(!IS_PSEUDO_INSTR(opcode));
  ------------------
  |  Branch (43:5): [True: 0, False: 21.4M]
  |  Branch (43:5): [True: 0, False: 21.4M]
  |  Branch (43:5): [True: 0, False: 21.4M]
  |  Branch (43:5): [True: 0, False: 21.4M]
  |  Branch (43:5): [True: 0, False: 21.4M]
  |  Branch (43:5): [True: 0, False: 21.4M]
  |  Branch (43:5): [True: 0, False: 21.4M]
  |  Branch (43:5): [True: 0, False: 21.4M]
  |  Branch (43:5): [True: 0, False: 21.4M]
  |  Branch (43:5): [True: 0, False: 21.4M]
  |  Branch (43:5): [True: 0, False: 21.4M]
  |  Branch (43:5): [Folded, False: 0]
  ------------------
   44|  21.4M|    assert(OPCODE_HAS_ARG(opcode) || oparg == 0);
  ------------------
  |  Branch (44:5): [True: 16.5M, False: 4.96M]
  |  Branch (44:5): [True: 4.96M, False: 0]
  ------------------
   45|  21.4M|    int extended_args = (0xFFFFFF < oparg) + (0xFFFF < oparg) + (0xFF < oparg);
   46|  21.4M|    int caches = _PyOpcode_Caches[opcode];
   47|  21.4M|    return extended_args + 1 + caches;
   48|  21.4M|}
assemble.c:assemble_emit:
  435|  52.7k|{
  436|  52.7k|    RETURN_IF_ERROR(assemble_init(a, first_lineno));
  ------------------
  |  |   21|  52.7k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  437|       |
  438|  3.43M|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (438:21): [True: 3.38M, False: 52.7k]
  ------------------
  439|  3.38M|        instruction *instr = &instrs->s_instrs[i];
  440|  3.38M|        RETURN_IF_ERROR(assemble_emit_instr(a, instr));
  ------------------
  |  |   21|  3.38M|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 3.38M]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  441|  3.38M|    }
  442|       |
  443|  52.7k|    RETURN_IF_ERROR(assemble_location_info(a, instrs, a->a_lineno));
  ------------------
  |  |   21|  52.7k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  444|       |
  445|  52.7k|    RETURN_IF_ERROR(assemble_exception_table(a, instrs));
  ------------------
  |  |   21|  52.7k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  446|       |
  447|  52.7k|    RETURN_IF_ERROR(_PyBytes_Resize(&a->a_except_table, a->a_except_table_off));
  ------------------
  |  |   21|  52.7k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  448|  52.7k|    RETURN_IF_ERROR(_PyCompile_ConstCacheMergeOne(const_cache, &a->a_except_table));
  ------------------
  |  |   21|  52.7k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  449|       |
  450|  52.7k|    RETURN_IF_ERROR(_PyBytes_Resize(&a->a_linetable, a->a_location_off));
  ------------------
  |  |   21|  52.7k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  451|  52.7k|    RETURN_IF_ERROR(_PyCompile_ConstCacheMergeOne(const_cache, &a->a_linetable));
  ------------------
  |  |   21|  52.7k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  452|       |
  453|  52.7k|    RETURN_IF_ERROR(_PyBytes_Resize(&a->a_bytecode, a->a_offset * sizeof(_Py_CODEUNIT)));
  ------------------
  |  |   21|  52.7k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  454|  52.7k|    RETURN_IF_ERROR(_PyCompile_ConstCacheMergeOne(const_cache, &a->a_bytecode));
  ------------------
  |  |   21|  52.7k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  455|  52.7k|    return SUCCESS;
  ------------------
  |  |   17|  52.7k|#define SUCCESS 0
  ------------------
  456|  52.7k|}
assemble.c:assemble_init:
   63|  52.7k|{
   64|  52.7k|    memset(a, 0, sizeof(struct assembler));
   65|  52.7k|    a->a_lineno = firstlineno;
   66|  52.7k|    a->a_linetable = NULL;
   67|  52.7k|    a->a_location_off = 0;
   68|  52.7k|    a->a_except_table = NULL;
   69|  52.7k|    a->a_bytecode = PyBytes_FromStringAndSize(NULL, DEFAULT_CODE_SIZE);
  ------------------
  |  |   11|  52.7k|#define DEFAULT_CODE_SIZE 128
  ------------------
   70|  52.7k|    if (a->a_bytecode == NULL) {
  ------------------
  |  Branch (70:9): [True: 0, False: 52.7k]
  ------------------
   71|      0|        goto error;
   72|      0|    }
   73|  52.7k|    a->a_linetable = PyBytes_FromStringAndSize(NULL, DEFAULT_CNOTAB_SIZE);
  ------------------
  |  |   13|  52.7k|#define DEFAULT_CNOTAB_SIZE 32
  ------------------
   74|  52.7k|    if (a->a_linetable == NULL) {
  ------------------
  |  Branch (74:9): [True: 0, False: 52.7k]
  ------------------
   75|      0|        goto error;
   76|      0|    }
   77|  52.7k|    a->a_except_table = PyBytes_FromStringAndSize(NULL, DEFAULT_LNOTAB_SIZE);
  ------------------
  |  |   12|  52.7k|#define DEFAULT_LNOTAB_SIZE 16
  ------------------
   78|  52.7k|    if (a->a_except_table == NULL) {
  ------------------
  |  Branch (78:9): [True: 0, False: 52.7k]
  ------------------
   79|      0|        goto error;
   80|      0|    }
   81|  52.7k|    return SUCCESS;
  ------------------
  |  |   17|  52.7k|#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|  52.7k|}
assemble.c:assemble_emit_instr:
  414|  3.38M|{
  415|  3.38M|    Py_ssize_t len = PyBytes_GET_SIZE(a->a_bytecode);
  ------------------
  |  |   33|  3.38M|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  3.38M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.38M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  416|  3.38M|    _Py_CODEUNIT *code;
  417|       |
  418|  3.38M|    int size = instr_size(instr);
  419|  3.38M|    if (a->a_offset + size >= len / (int)sizeof(_Py_CODEUNIT)) {
  ------------------
  |  Branch (419:9): [True: 17.7k, False: 3.36M]
  ------------------
  420|  17.7k|        if (len > PY_SSIZE_T_MAX / 2) {
  ------------------
  |  |  137|  17.7k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (420:13): [True: 0, False: 17.7k]
  ------------------
  421|      0|            PyErr_NoMemory();
  422|      0|            return ERROR;
  ------------------
  |  |   18|      0|#define ERROR -1
  ------------------
  423|      0|        }
  424|  17.7k|        RETURN_IF_ERROR(_PyBytes_Resize(&a->a_bytecode, len * 2));
  ------------------
  |  |   21|  17.7k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 17.7k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  425|  17.7k|    }
  426|  3.38M|    code = (_Py_CODEUNIT *)PyBytes_AS_STRING(a->a_bytecode) + a->a_offset;
  ------------------
  |  |   27|  3.38M|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.38M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.38M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  427|  3.38M|    a->a_offset += size;
  428|  3.38M|    write_instr(code, instr, size);
  429|  3.38M|    return SUCCESS;
  ------------------
  |  |   17|  3.38M|#define SUCCESS 0
  ------------------
  430|  3.38M|}
assemble.c:write_instr:
  370|  3.38M|{
  371|  3.38M|    int opcode = instr->i_opcode;
  372|  3.38M|    assert(!IS_PSEUDO_INSTR(opcode));
  ------------------
  |  Branch (372:5): [True: 0, False: 3.38M]
  |  Branch (372:5): [True: 0, False: 3.38M]
  |  Branch (372:5): [True: 0, False: 3.38M]
  |  Branch (372:5): [True: 0, False: 3.38M]
  |  Branch (372:5): [True: 0, False: 3.38M]
  |  Branch (372:5): [True: 0, False: 3.38M]
  |  Branch (372:5): [True: 0, False: 3.38M]
  |  Branch (372:5): [True: 0, False: 3.38M]
  |  Branch (372:5): [True: 0, False: 3.38M]
  |  Branch (372:5): [True: 0, False: 3.38M]
  |  Branch (372:5): [True: 0, False: 3.38M]
  |  Branch (372:5): [Folded, False: 0]
  ------------------
  373|  3.38M|    int oparg = instr->i_oparg;
  374|  3.38M|    assert(OPCODE_HAS_ARG(opcode) || oparg == 0);
  ------------------
  |  Branch (374:5): [True: 2.62M, False: 760k]
  |  Branch (374:5): [True: 760k, False: 0]
  ------------------
  375|  3.38M|    int caches = _PyOpcode_Caches[opcode];
  376|  3.38M|    switch (ilen - caches) {
  377|      0|        case 4:
  ------------------
  |  Branch (377:9): [True: 0, False: 3.38M]
  ------------------
  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|     15|        case 3:
  ------------------
  |  Branch (382:9): [True: 15, False: 3.38M]
  ------------------
  383|     15|            codestr->op.code = EXTENDED_ARG;
  ------------------
  |  |   77|     15|#define EXTENDED_ARG                            64
  ------------------
  384|     15|            codestr->op.arg = (oparg >> 16) & 0xFF;
  385|     15|            codestr++;
  386|     15|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|     15|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  387|  53.7k|        case 2:
  ------------------
  |  Branch (387:9): [True: 53.6k, False: 3.32M]
  ------------------
  388|  53.7k|            codestr->op.code = EXTENDED_ARG;
  ------------------
  |  |   77|  53.7k|#define EXTENDED_ARG                            64
  ------------------
  389|  53.7k|            codestr->op.arg = (oparg >> 8) & 0xFF;
  390|  53.7k|            codestr++;
  391|  53.7k|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|  53.7k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  392|  3.38M|        case 1:
  ------------------
  |  Branch (392:9): [True: 3.32M, False: 53.7k]
  ------------------
  393|  3.38M|            codestr->op.code = opcode;
  394|  3.38M|            codestr->op.arg = oparg & 0xFF;
  395|  3.38M|            codestr++;
  396|  3.38M|            break;
  397|      0|        default:
  ------------------
  |  Branch (397:9): [True: 0, False: 3.38M]
  ------------------
  398|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  399|  3.38M|    }
  400|  5.82M|    while (caches--) {
  ------------------
  |  Branch (400:12): [True: 2.44M, False: 3.38M]
  ------------------
  401|  2.44M|        codestr->op.code = CACHE;
  ------------------
  |  |   13|  2.44M|#define CACHE                                    0
  ------------------
  402|  2.44M|        codestr->op.arg = 0;
  403|  2.44M|        codestr++;
  404|  2.44M|    }
  405|  3.38M|}
assemble.c:assemble_location_info:
  339|  52.7k|{
  340|  52.7k|    a->a_lineno = firstlineno;
  341|  52.7k|    location loc = NO_LOCATION;
  342|  3.43M|    for (int i = instrs->s_used-1; i >= 0; i--) {
  ------------------
  |  Branch (342:36): [True: 3.38M, False: 52.7k]
  ------------------
  343|  3.38M|        instruction *instr = &instrs->s_instrs[i];
  344|  3.38M|        if (same_location(instr->i_loc, NEXT_LOCATION)) {
  ------------------
  |  Branch (344:13): [True: 693, False: 3.38M]
  ------------------
  345|    693|            if (IS_TERMINATOR_OPCODE(instr->i_opcode)) {
  ------------------
  |  |   27|    693|        (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|  1.38k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|    693|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 0, False: 693]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   53|    693|        ((opcode) == RETURN_VALUE || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|  1.38k|#define RETURN_VALUE                            33
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (53:10): [True: 0, False: 693]
  |  |  |  |  ------------------
  |  |  |  |   54|    693|         (opcode) == RAISE_VARARGS || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  113|  1.38k|#define RAISE_VARARGS                          100
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (54:10): [True: 0, False: 693]
  |  |  |  |  ------------------
  |  |  |  |   55|    693|         (opcode) == RERAISE)
  |  |  |  |  ------------------
  |  |  |  |  |  |  114|    693|#define RERAISE                                101
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:10): [True: 0, False: 693]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  346|      0|                instr->i_loc = NO_LOCATION;
  347|      0|            }
  348|    693|            else {
  349|    693|                assert(i < instrs->s_used-1);
  ------------------
  |  Branch (349:17): [True: 693, False: 0]
  ------------------
  350|    693|                instr->i_loc = instr[1].i_loc;
  351|    693|            }
  352|    693|        }
  353|  3.38M|    }
  354|  52.7k|    int size = 0;
  355|  3.43M|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (355:21): [True: 3.38M, False: 52.7k]
  ------------------
  356|  3.38M|        instruction *instr = &instrs->s_instrs[i];
  357|  3.38M|        if (!same_location(loc, instr->i_loc)) {
  ------------------
  |  Branch (357:13): [True: 1.48M, False: 1.90M]
  ------------------
  358|  1.48M|                RETURN_IF_ERROR(assemble_emit_location(a, loc, size));
  ------------------
  |  |   21|  1.48M|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 1.48M]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  359|  1.48M|                loc = instr->i_loc;
  360|  1.48M|                size = 0;
  361|  1.48M|        }
  362|  3.38M|        size += instr_size(instr);
  363|  3.38M|    }
  364|  52.7k|    RETURN_IF_ERROR(assemble_emit_location(a, loc, size));
  ------------------
  |  |   21|  52.7k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  365|  52.7k|    return SUCCESS;
  ------------------
  |  |   17|  52.7k|#define SUCCESS 0
  ------------------
  366|  52.7k|}
assemble.c:same_location:
   31|  6.76M|{
   32|  6.76M|    return a.lineno == b.lineno &&
  ------------------
  |  Branch (32:12): [True: 3.17M, False: 3.58M]
  ------------------
   33|  3.17M|           a.end_lineno == b.end_lineno &&
  ------------------
  |  Branch (33:12): [True: 3.16M, False: 9.90k]
  ------------------
   34|  3.16M|           a.col_offset == b.col_offset &&
  ------------------
  |  Branch (34:12): [True: 1.96M, False: 1.20M]
  ------------------
   35|  1.96M|           a.end_col_offset == b.end_col_offset;
  ------------------
  |  Branch (35:12): [True: 1.90M, False: 63.3k]
  ------------------
   36|  6.76M|}
assemble.c:assemble_emit_location:
  325|  1.53M|{
  326|  1.53M|    if (isize == 0) {
  ------------------
  |  Branch (326:9): [True: 32.4k, False: 1.50M]
  ------------------
  327|  32.4k|        return SUCCESS;
  ------------------
  |  |   17|  32.4k|#define SUCCESS 0
  ------------------
  328|  32.4k|    }
  329|  1.71M|    while (isize > 8) {
  ------------------
  |  Branch (329:12): [True: 216k, False: 1.50M]
  ------------------
  330|   216k|        RETURN_IF_ERROR(write_location_info_entry(a, loc, 8));
  ------------------
  |  |   21|   216k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 216k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  331|   216k|        isize -= 8;
  332|   216k|    }
  333|  1.50M|    return write_location_info_entry(a, loc, isize);
  334|  1.50M|}
assemble.c:write_location_info_entry:
  287|  1.71M|{
  288|  1.71M|    Py_ssize_t len = PyBytes_GET_SIZE(a->a_linetable);
  ------------------
  |  |   33|  1.71M|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  1.71M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.71M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  289|  1.71M|    if (a->a_location_off + THEORETICAL_MAX_ENTRY_SIZE >= len) {
  ------------------
  |  |  282|  1.71M|#define THEORETICAL_MAX_ENTRY_SIZE 25 /* 1 + 6 + 6 + 6 + 6 */
  ------------------
  |  Branch (289:9): [True: 61.9k, False: 1.65M]
  ------------------
  290|  61.9k|        assert(len > THEORETICAL_MAX_ENTRY_SIZE);
  ------------------
  |  Branch (290:9): [True: 61.9k, False: 0]
  ------------------
  291|  61.9k|        RETURN_IF_ERROR(_PyBytes_Resize(&a->a_linetable, len*2));
  ------------------
  |  |   21|  61.9k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 61.9k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  292|  61.9k|    }
  293|  1.71M|    if (loc.lineno == NO_LOCATION.lineno) {
  ------------------
  |  Branch (293:9): [True: 46.8k, False: 1.67M]
  ------------------
  294|  46.8k|        write_location_info_none(a, isize);
  295|  46.8k|        return SUCCESS;
  ------------------
  |  |   17|  46.8k|#define SUCCESS 0
  ------------------
  296|  46.8k|    }
  297|  1.67M|    int line_delta = loc.lineno - a->a_lineno;
  298|  1.67M|    int column = loc.col_offset;
  299|  1.67M|    int end_column = loc.end_col_offset;
  300|  1.67M|    if (column < 0 || end_column < 0) {
  ------------------
  |  Branch (300:9): [True: 2.96k, False: 1.66M]
  |  Branch (300:23): [True: 0, False: 1.66M]
  ------------------
  301|  2.96k|        if (loc.end_lineno == loc.lineno || loc.end_lineno < 0) {
  ------------------
  |  Branch (301:13): [True: 2.96k, False: 0]
  |  Branch (301:45): [True: 0, False: 0]
  ------------------
  302|  2.96k|            write_location_info_no_column(a, isize, line_delta);
  303|  2.96k|            a->a_lineno = loc.lineno;
  304|  2.96k|            return SUCCESS;
  ------------------
  |  |   17|  2.96k|#define SUCCESS 0
  ------------------
  305|  2.96k|        }
  306|  2.96k|    }
  307|  1.66M|    else if (loc.end_lineno == loc.lineno) {
  ------------------
  |  Branch (307:14): [True: 1.62M, False: 40.2k]
  ------------------
  308|  1.62M|        if (line_delta == 0 && column < 80 && end_column - column < 16 && end_column >= column) {
  ------------------
  |  Branch (308:13): [True: 1.52M, False: 97.3k]
  |  Branch (308:32): [True: 731k, False: 797k]
  |  Branch (308:47): [True: 452k, False: 278k]
  |  Branch (308:75): [True: 452k, False: 0]
  ------------------
  309|   452k|            write_location_info_short_form(a, isize, column, end_column);
  310|   452k|            return SUCCESS;
  ------------------
  |  |   17|   452k|#define SUCCESS 0
  ------------------
  311|   452k|        }
  312|  1.17M|        if (line_delta >= 0 && line_delta < 3 && column < 128 && end_column < 128) {
  ------------------
  |  Branch (312:13): [True: 1.16M, False: 8.66k]
  |  Branch (312:32): [True: 1.14M, False: 19.6k]
  |  Branch (312:50): [True: 418k, False: 726k]
  |  Branch (312:66): [True: 247k, False: 171k]
  ------------------
  313|   247k|            write_location_info_oneline_form(a, isize, line_delta, column, end_column);
  314|   247k|            a->a_lineno = loc.lineno;
  315|   247k|            return SUCCESS;
  ------------------
  |  |   17|   247k|#define SUCCESS 0
  ------------------
  316|   247k|        }
  317|  1.17M|    }
  318|   966k|    write_location_info_long_form(a, loc, isize);
  319|   966k|    a->a_lineno = loc.lineno;
  320|   966k|    return SUCCESS;
  ------------------
  |  |   17|   966k|#define SUCCESS 0
  ------------------
  321|  1.67M|}
assemble.c:write_location_info_none:
  271|  46.8k|{
  272|  46.8k|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_NONE, length);
  273|  46.8k|}
assemble.c:write_location_first_byte:
  212|  1.71M|{
  213|  1.71M|    a->a_location_off += write_location_entry_start(
  214|  1.71M|        location_pointer(a), code, length);
  215|  1.71M|}
assemble.c:location_pointer:
  205|  5.58M|{
  206|  5.58M|    return (uint8_t *)PyBytes_AS_STRING(a->a_linetable) +
  ------------------
  |  |   27|  5.58M|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.58M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.58M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  207|  5.58M|        a->a_location_off;
  208|  5.58M|}
assemble.c:write_location_info_no_column:
  277|  2.96k|{
  278|  2.96k|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_NO_COLUMNS, length);
  279|  2.96k|    write_location_signed_varint(a, line_delta);
  280|  2.96k|}
assemble.c:write_location_signed_varint:
  227|   969k|{
  228|   969k|    uint8_t *ptr = location_pointer(a);
  229|   969k|    a->a_location_off += write_signed_varint(ptr, val);
  230|   969k|}
assemble.c:write_location_info_short_form:
  234|   452k|{
  235|   452k|    assert(length > 0 &&  length <= 8);
  ------------------
  |  Branch (235:5): [True: 452k, False: 0]
  |  Branch (235:5): [True: 452k, False: 0]
  ------------------
  236|   452k|    int column_low_bits = column & 7;
  237|   452k|    int column_group = column >> 3;
  238|   452k|    assert(column < 80);
  ------------------
  |  Branch (238:5): [True: 452k, False: 0]
  ------------------
  239|   452k|    assert(end_column >= column);
  ------------------
  |  Branch (239:5): [True: 452k, False: 0]
  ------------------
  240|   452k|    assert(end_column - column < 16);
  ------------------
  |  Branch (240:5): [True: 452k, False: 0]
  ------------------
  241|   452k|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_SHORT0 + column_group, length);
  242|   452k|    write_location_byte(a, (column_low_bits << 4) | (end_column - column));
  243|   452k|}
assemble.c:write_location_byte:
  197|   947k|{
  198|   947k|    PyBytes_AS_STRING(a->a_linetable)[a->a_location_off] = val&255;
  ------------------
  |  |   27|   947k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   947k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   947k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  199|   947k|    a->a_location_off++;
  200|   947k|}
assemble.c:write_location_info_oneline_form:
  247|   247k|{
  248|   247k|    assert(length > 0 &&  length <= 8);
  ------------------
  |  Branch (248:5): [True: 247k, False: 0]
  |  Branch (248:5): [True: 247k, False: 0]
  ------------------
  249|   247k|    assert(line_delta >= 0 && line_delta < 3);
  ------------------
  |  Branch (249:5): [True: 247k, False: 0]
  |  Branch (249:5): [True: 247k, False: 0]
  ------------------
  250|   247k|    assert(column < 128);
  ------------------
  |  Branch (250:5): [True: 247k, False: 0]
  ------------------
  251|   247k|    assert(end_column < 128);
  ------------------
  |  Branch (251:5): [True: 247k, False: 0]
  ------------------
  252|   247k|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_ONE_LINE0 + line_delta, length);
  253|   247k|    write_location_byte(a, column);
  254|   247k|    write_location_byte(a, end_column);
  255|   247k|}
assemble.c:write_location_info_long_form:
  259|   966k|{
  260|   966k|    assert(length > 0 &&  length <= 8);
  ------------------
  |  Branch (260:5): [True: 966k, False: 0]
  |  Branch (260:5): [True: 966k, False: 0]
  ------------------
  261|   966k|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_LONG, length);
  262|   966k|    write_location_signed_varint(a, loc.lineno - a->a_lineno);
  263|   966k|    assert(loc.end_lineno >= loc.lineno);
  ------------------
  |  Branch (263:5): [True: 966k, False: 0]
  ------------------
  264|   966k|    write_location_varint(a, loc.end_lineno - loc.lineno);
  265|   966k|    write_location_varint(a, loc.col_offset + 1);
  266|   966k|    write_location_varint(a, loc.end_col_offset + 1);
  267|   966k|}
assemble.c:write_location_varint:
  219|  2.90M|{
  220|  2.90M|    uint8_t *ptr = location_pointer(a);
  221|  2.90M|    a->a_location_off += write_varint(ptr, val);
  222|  2.90M|}
assemble.c:assemble_exception_table:
  159|  52.7k|{
  160|  52.7k|    int ioffset = 0;
  161|  52.7k|    _PyExceptHandlerInfo handler;
  162|  52.7k|    handler.h_label = -1;
  163|  52.7k|    handler.h_startdepth = -1;
  164|  52.7k|    handler.h_preserve_lasti = -1;
  165|  52.7k|    int start = -1;
  166|  3.43M|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (166:21): [True: 3.38M, False: 52.7k]
  ------------------
  167|  3.38M|        instruction *instr = &instrs->s_instrs[i];
  168|  3.38M|        if (instr->i_except_handler_info.h_label != handler.h_label) {
  ------------------
  |  Branch (168:13): [True: 235k, False: 3.14M]
  ------------------
  169|   235k|            if (handler.h_label >= 0) {
  ------------------
  |  Branch (169:17): [True: 179k, False: 55.1k]
  ------------------
  170|   179k|                int handler_offset = instrs->s_instrs[handler.h_label].i_offset;
  171|   179k|                RETURN_IF_ERROR(
  ------------------
  |  |   21|   179k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 179k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  172|   179k|                    assemble_emit_exception_table_entry(a, start, ioffset,
  173|   179k|                                                        handler_offset,
  174|   179k|                                                        &handler));
  175|   179k|            }
  176|   235k|            start = ioffset;
  177|   235k|            handler = instr->i_except_handler_info;
  178|   235k|        }
  179|  3.38M|        ioffset += instr_size(instr);
  180|  3.38M|    }
  181|  52.7k|    if (handler.h_label >= 0) {
  ------------------
  |  Branch (181:9): [True: 0, False: 52.7k]
  ------------------
  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|  52.7k|    return SUCCESS;
  ------------------
  |  |   17|  52.7k|#define SUCCESS 0
  ------------------
  188|  52.7k|}
assemble.c:assemble_emit_exception_table_entry:
  136|   179k|{
  137|   179k|    Py_ssize_t len = PyBytes_GET_SIZE(a->a_except_table);
  ------------------
  |  |   33|   179k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   179k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   179k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  138|   179k|    if (a->a_except_table_off + MAX_SIZE_OF_ENTRY >= len) {
  ------------------
  |  |  130|   179k|#define MAX_SIZE_OF_ENTRY 20
  ------------------
  |  Branch (138:9): [True: 8.06k, False: 171k]
  ------------------
  139|  8.06k|        RETURN_IF_ERROR(_PyBytes_Resize(&a->a_except_table, len * 2));
  ------------------
  |  |   21|  8.06k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 8.06k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  140|  8.06k|    }
  141|   179k|    int size = end-start;
  142|   179k|    assert(end > start);
  ------------------
  |  Branch (142:5): [True: 179k, False: 0]
  ------------------
  143|   179k|    int target = handler_offset;
  144|   179k|    int depth = handler->h_startdepth - 1;
  145|   179k|    if (handler->h_preserve_lasti > 0) {
  ------------------
  |  Branch (145:9): [True: 133k, False: 46.5k]
  ------------------
  146|   133k|        depth -= 1;
  147|   133k|    }
  148|   179k|    assert(depth >= 0);
  ------------------
  |  Branch (148:5): [True: 179k, False: 0]
  ------------------
  149|   179k|    int depth_lasti = (depth<<1) | handler->h_preserve_lasti;
  150|   179k|    assemble_emit_exception_table_item(a, start, (1<<7));
  151|   179k|    assemble_emit_exception_table_item(a, size, 0);
  152|   179k|    assemble_emit_exception_table_item(a, target, 0);
  153|   179k|    assemble_emit_exception_table_item(a, depth_lasti, 0);
  154|   179k|    return SUCCESS;
  ------------------
  |  |   17|   179k|#define SUCCESS 0
  ------------------
  155|   179k|}
assemble.c:assemble_emit_exception_table_item:
  107|   719k|{
  108|   719k|    assert ((msb | 128) == 128);
  ------------------
  |  Branch (108:5): [True: 719k, False: 0]
  ------------------
  109|   719k|    assert(value >= 0 && value < (1 << 30));
  ------------------
  |  Branch (109:5): [True: 719k, False: 0]
  |  Branch (109:5): [True: 719k, False: 0]
  ------------------
  110|   719k|    if (value >= 1 << 24) {
  ------------------
  |  Branch (110:9): [True: 0, False: 719k]
  ------------------
  111|      0|        write_except_byte(a, (value >> 24) | CONTINUATION_BIT | msb);
  ------------------
  |  |  103|      0|#define CONTINUATION_BIT 64
  ------------------
  112|      0|        msb = 0;
  113|      0|    }
  114|   719k|    if (value >= 1 << 18) {
  ------------------
  |  Branch (114:9): [True: 0, False: 719k]
  ------------------
  115|      0|        write_except_byte(a, ((value >> 18)&0x3f) | CONTINUATION_BIT | msb);
  ------------------
  |  |  103|      0|#define CONTINUATION_BIT 64
  ------------------
  116|      0|        msb = 0;
  117|      0|    }
  118|   719k|    if (value >= 1 << 12) {
  ------------------
  |  Branch (118:9): [True: 183k, False: 536k]
  ------------------
  119|   183k|        write_except_byte(a, ((value >> 12)&0x3f) | CONTINUATION_BIT | msb);
  ------------------
  |  |  103|   183k|#define CONTINUATION_BIT 64
  ------------------
  120|   183k|        msb = 0;
  121|   183k|    }
  122|   719k|    if (value >= 1 << 6) {
  ------------------
  |  Branch (122:9): [True: 347k, False: 372k]
  ------------------
  123|   347k|        write_except_byte(a, ((value >> 6)&0x3f) | CONTINUATION_BIT | msb);
  ------------------
  |  |  103|   347k|#define CONTINUATION_BIT 64
  ------------------
  124|   347k|        msb = 0;
  125|   347k|    }
  126|   719k|    write_except_byte(a, (value&0x3f) | msb);
  127|   719k|}
assemble.c:write_except_byte:
   98|  1.25M|write_except_byte(struct assembler *a, int byte) {
   99|  1.25M|    unsigned char *p = (unsigned char *) PyBytes_AS_STRING(a->a_except_table);
  ------------------
  |  |   27|  1.25M|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.25M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.25M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  100|  1.25M|    p[a->a_except_table_off++] = byte;
  101|  1.25M|}
assemble.c:makecode:
  579|  52.7k|{
  580|  52.7k|    PyCodeObject *co = NULL;
  581|  52.7k|    PyObject *names = NULL;
  582|  52.7k|    PyObject *consts = NULL;
  583|  52.7k|    PyObject *localsplusnames = NULL;
  584|  52.7k|    PyObject *localspluskinds = NULL;
  585|  52.7k|    names = dict_keys_inorder(umd->u_names, 0);
  586|  52.7k|    if (!names) {
  ------------------
  |  Branch (586:9): [True: 0, False: 52.7k]
  ------------------
  587|      0|        goto error;
  588|      0|    }
  589|  52.7k|    if (_PyCompile_ConstCacheMergeOne(const_cache, &names) < 0) {
  ------------------
  |  Branch (589:9): [True: 0, False: 52.7k]
  ------------------
  590|      0|        goto error;
  591|      0|    }
  592|       |
  593|  52.7k|    consts = PyList_AsTuple(constslist); /* PyCode_New requires a tuple */
  594|  52.7k|    if (consts == NULL) {
  ------------------
  |  Branch (594:9): [True: 0, False: 52.7k]
  ------------------
  595|      0|        goto error;
  596|      0|    }
  597|  52.7k|    if (_PyCompile_ConstCacheMergeOne(const_cache, &consts) < 0) {
  ------------------
  |  Branch (597:9): [True: 0, False: 52.7k]
  ------------------
  598|      0|        goto error;
  599|      0|    }
  600|       |
  601|  52.7k|    assert(umd->u_posonlyargcount < INT_MAX);
  ------------------
  |  Branch (601:5): [True: 52.7k, False: 0]
  ------------------
  602|  52.7k|    assert(umd->u_argcount < INT_MAX);
  ------------------
  |  Branch (602:5): [True: 52.7k, False: 0]
  ------------------
  603|  52.7k|    assert(umd->u_kwonlyargcount < INT_MAX);
  ------------------
  |  Branch (603:5): [True: 52.7k, False: 0]
  ------------------
  604|  52.7k|    int posonlyargcount = (int)umd->u_posonlyargcount;
  605|  52.7k|    int posorkwargcount = (int)umd->u_argcount;
  606|  52.7k|    assert(INT_MAX - posonlyargcount - posorkwargcount > 0);
  ------------------
  |  Branch (606:5): [True: 52.7k, False: 0]
  ------------------
  607|  52.7k|    int kwonlyargcount = (int)umd->u_kwonlyargcount;
  608|       |
  609|  52.7k|    localsplusnames = PyTuple_New(nlocalsplus);
  610|  52.7k|    if (localsplusnames == NULL) {
  ------------------
  |  Branch (610:9): [True: 0, False: 52.7k]
  ------------------
  611|      0|        goto error;
  612|      0|    }
  613|  52.7k|    localspluskinds = PyBytes_FromStringAndSize(NULL, nlocalsplus);
  614|  52.7k|    if (localspluskinds == NULL) {
  ------------------
  |  Branch (614:9): [True: 0, False: 52.7k]
  ------------------
  615|      0|        goto error;
  616|      0|    }
  617|  52.7k|    if (compute_localsplus_info(
  ------------------
  |  Branch (617:9): [True: 0, False: 52.7k]
  ------------------
  618|  52.7k|            umd, nlocalsplus, code_flags,
  619|  52.7k|            localsplusnames, localspluskinds) == ERROR)
  ------------------
  |  |   18|  52.7k|#define ERROR -1
  ------------------
  620|      0|    {
  621|      0|        goto error;
  622|      0|    }
  623|       |
  624|  52.7k|    struct _PyCodeConstructor con = {
  625|  52.7k|        .filename = filename,
  626|  52.7k|        .name = umd->u_name,
  627|  52.7k|        .qualname = umd->u_qualname ? umd->u_qualname : umd->u_name,
  ------------------
  |  Branch (627:21): [True: 42.6k, False: 10.0k]
  ------------------
  628|  52.7k|        .flags = code_flags,
  629|       |
  630|  52.7k|        .code = a->a_bytecode,
  631|  52.7k|        .firstlineno = umd->u_firstlineno,
  632|  52.7k|        .linetable = a->a_linetable,
  633|       |
  634|  52.7k|        .consts = consts,
  635|  52.7k|        .names = names,
  636|       |
  637|  52.7k|        .localsplusnames = localsplusnames,
  638|  52.7k|        .localspluskinds = localspluskinds,
  639|       |
  640|  52.7k|        .argcount = posonlyargcount + posorkwargcount,
  641|  52.7k|        .posonlyargcount = posonlyargcount,
  642|  52.7k|        .kwonlyargcount = kwonlyargcount,
  643|       |
  644|  52.7k|        .stacksize = maxdepth,
  645|       |
  646|  52.7k|        .exceptiontable = a->a_except_table,
  647|  52.7k|    };
  648|       |
  649|  52.7k|   if (_PyCode_Validate(&con) < 0) {
  ------------------
  |  Branch (649:8): [True: 0, False: 52.7k]
  ------------------
  650|      0|        goto error;
  651|      0|    }
  652|       |
  653|  52.7k|    if (_PyCompile_ConstCacheMergeOne(const_cache, &localsplusnames) < 0) {
  ------------------
  |  Branch (653:9): [True: 0, False: 52.7k]
  ------------------
  654|      0|        goto error;
  655|      0|    }
  656|  52.7k|    con.localsplusnames = localsplusnames;
  657|       |
  658|  52.7k|    co = _PyCode_New(&con);
  659|  52.7k|    if (co == NULL) {
  ------------------
  |  Branch (659:9): [True: 0, False: 52.7k]
  ------------------
  660|      0|        goto error;
  661|      0|    }
  662|       |
  663|  52.7k|error:
  664|  52.7k|    Py_XDECREF(names);
  ------------------
  |  |  524|  52.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  665|  52.7k|    Py_XDECREF(consts);
  ------------------
  |  |  524|  52.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  666|  52.7k|    Py_XDECREF(localsplusnames);
  ------------------
  |  |  524|  52.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  667|  52.7k|    Py_XDECREF(localspluskinds);
  ------------------
  |  |  524|  52.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  668|  52.7k|    return co;
  669|  52.7k|}
assemble.c:dict_keys_inorder:
  460|  52.7k|{
  461|  52.7k|    PyObject *tuple, *k, *v;
  462|  52.7k|    Py_ssize_t pos = 0, size = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|  52.7k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  463|       |
  464|  52.7k|    tuple = PyTuple_New(size);
  465|  52.7k|    if (tuple == NULL)
  ------------------
  |  Branch (465:9): [True: 0, False: 52.7k]
  ------------------
  466|      0|        return NULL;
  467|   252k|    while (PyDict_Next(dict, &pos, &k, &v)) {
  ------------------
  |  Branch (467:12): [True: 200k, False: 52.7k]
  ------------------
  468|   200k|        Py_ssize_t i = PyLong_AsSsize_t(v);
  469|   200k|        if (i == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (469:13): [True: 0, False: 200k]
  |  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|   200k|        assert((i - offset) < size);
  ------------------
  |  Branch (473:9): [True: 200k, False: 0]
  ------------------
  474|   200k|        assert((i - offset) >= 0);
  ------------------
  |  Branch (474:9): [True: 200k, False: 0]
  ------------------
  475|   200k|        PyTuple_SET_ITEM(tuple, i - offset, Py_NewRef(k));
  ------------------
  |  |   40|   200k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   200k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   200k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   200k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   200k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  476|   200k|    }
  477|  52.7k|    return tuple;
  478|  52.7k|}
assemble.c:compute_localsplus_info:
  487|  52.7k|{
  488|  52.7k|    PyObject *k, *v;
  489|  52.7k|    Py_ssize_t pos = 0;
  490|       |
  491|       |    // Set the locals kinds.  Arg vars fill the first portion of the list.
  492|  52.7k|    struct {
  493|  52.7k|        int count;
  494|  52.7k|        _PyLocals_Kind kind;
  495|  52.7k|    }  argvarkinds[6] = {
  496|  52.7k|        {(int)umd->u_posonlyargcount, CO_FAST_ARG_POS},
  ------------------
  |  |  192|  52.7k|#define CO_FAST_ARG_POS (0x02)  // pos-only, pos-or-kw, varargs
  ------------------
  497|  52.7k|        {(int)umd->u_argcount, CO_FAST_ARG_POS | CO_FAST_ARG_KW},
  ------------------
  |  |  192|  52.7k|#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|  52.7k|#define CO_FAST_ARG_KW  (0x04)  // kw-only, pos-or-kw, varkwargs
  ------------------
  498|  52.7k|        {(int)umd->u_kwonlyargcount, CO_FAST_ARG_KW},
  ------------------
  |  |  193|  52.7k|#define CO_FAST_ARG_KW  (0x04)  // kw-only, pos-or-kw, varkwargs
  ------------------
  499|  52.7k|        {!!(flags & CO_VARARGS), CO_FAST_ARG_VAR | CO_FAST_ARG_POS},
  ------------------
  |  |  124|  52.7k|#define CO_VARARGS      0x0004
  ------------------
                      {!!(flags & CO_VARARGS), CO_FAST_ARG_VAR | CO_FAST_ARG_POS},
  ------------------
  |  |  194|  52.7k|#define CO_FAST_ARG_VAR (0x08)  // varargs, varkwargs
  ------------------
                      {!!(flags & CO_VARARGS), CO_FAST_ARG_VAR | CO_FAST_ARG_POS},
  ------------------
  |  |  192|  52.7k|#define CO_FAST_ARG_POS (0x02)  // pos-only, pos-or-kw, varargs
  ------------------
  500|  52.7k|        {!!(flags & CO_VARKEYWORDS), CO_FAST_ARG_VAR | CO_FAST_ARG_KW},
  ------------------
  |  |  125|  52.7k|#define CO_VARKEYWORDS  0x0008
  ------------------
                      {!!(flags & CO_VARKEYWORDS), CO_FAST_ARG_VAR | CO_FAST_ARG_KW},
  ------------------
  |  |  194|  52.7k|#define CO_FAST_ARG_VAR (0x08)  // varargs, varkwargs
  ------------------
                      {!!(flags & CO_VARKEYWORDS), CO_FAST_ARG_VAR | CO_FAST_ARG_KW},
  ------------------
  |  |  193|  52.7k|#define CO_FAST_ARG_KW  (0x04)  // kw-only, pos-or-kw, varkwargs
  ------------------
  501|  52.7k|        {-1, 0},  // the remaining local vars
  502|  52.7k|    };
  503|  52.7k|    int max = 0;
  504|   369k|    for (int i = 0; i < 6; i++) {
  ------------------
  |  Branch (504:21): [True: 316k, False: 52.7k]
  ------------------
  505|   316k|        max = argvarkinds[i].count < 0
  ------------------
  |  Branch (505:15): [True: 52.7k, False: 263k]
  ------------------
  506|   316k|            ? INT_MAX
  507|   316k|            : max + argvarkinds[i].count;
  508|   403k|        while (pos < max && PyDict_Next(umd->u_varnames, &pos, &k, &v)) {
  ------------------
  |  Branch (508:16): [True: 139k, False: 263k]
  |  Branch (508:29): [True: 86.6k, False: 52.7k]
  ------------------
  509|  86.6k|            int offset = PyLong_AsInt(v);
  510|  86.6k|            if (offset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (510:17): [True: 0, False: 86.6k]
  |  Branch (510:33): [True: 0, False: 0]
  ------------------
  511|      0|                return ERROR;
  ------------------
  |  |   18|      0|#define ERROR -1
  ------------------
  512|      0|            }
  513|  86.6k|            assert(offset >= 0);
  ------------------
  |  Branch (513:13): [True: 86.6k, False: 0]
  ------------------
  514|  86.6k|            assert(offset < nlocalsplus);
  ------------------
  |  Branch (514:13): [True: 86.6k, False: 0]
  ------------------
  515|       |
  516|  86.6k|            _PyLocals_Kind kind = CO_FAST_LOCAL | argvarkinds[i].kind;
  ------------------
  |  |  197|  86.6k|#define CO_FAST_LOCAL   (0x20)
  ------------------
  517|       |
  518|  86.6k|            int has_key = PyDict_Contains(umd->u_fasthidden, k);
  519|  86.6k|            RETURN_IF_ERROR(has_key);
  ------------------
  |  |   21|  86.6k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 86.6k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  520|  86.6k|            if (has_key) {
  ------------------
  |  Branch (520:17): [True: 3.82k, False: 82.7k]
  ------------------
  521|  3.82k|                kind |= CO_FAST_HIDDEN;
  ------------------
  |  |  196|  3.82k|#define CO_FAST_HIDDEN  (0x10)
  ------------------
  522|  3.82k|            }
  523|       |
  524|  86.6k|            has_key = PyDict_Contains(umd->u_cellvars, k);
  525|  86.6k|            RETURN_IF_ERROR(has_key);
  ------------------
  |  |   21|  86.6k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 86.6k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  526|  86.6k|            if (has_key) {
  ------------------
  |  Branch (526:17): [True: 104, False: 86.5k]
  ------------------
  527|    104|                kind |= CO_FAST_CELL;
  ------------------
  |  |  198|    104|#define CO_FAST_CELL    (0x40)
  ------------------
  528|    104|            }
  529|       |
  530|  86.6k|            _Py_set_localsplus_info(offset, k, kind, names, kinds);
  531|  86.6k|        }
  532|   316k|    }
  533|  52.7k|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|  52.7k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  534|       |
  535|       |    // This counter mirrors the fix done in fix_cell_offsets().
  536|  52.7k|    int numdropped = 0, cellvar_offset = -1;
  537|  52.7k|    pos = 0;
  538|  64.7k|    while (PyDict_Next(umd->u_cellvars, &pos, &k, &v)) {
  ------------------
  |  Branch (538:12): [True: 11.9k, False: 52.7k]
  ------------------
  539|  11.9k|        int has_name = PyDict_Contains(umd->u_varnames, k);
  540|  11.9k|        RETURN_IF_ERROR(has_name);
  ------------------
  |  |   21|  11.9k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 11.9k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  541|  11.9k|        if (has_name) {
  ------------------
  |  Branch (541:13): [True: 104, False: 11.8k]
  ------------------
  542|       |            // Skip cells that are already covered by locals.
  543|    104|            numdropped += 1;
  544|    104|            continue;
  545|    104|        }
  546|       |
  547|  11.8k|        cellvar_offset = PyLong_AsInt(v);
  548|  11.8k|        if (cellvar_offset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (548:13): [True: 0, False: 11.8k]
  |  Branch (548:37): [True: 0, False: 0]
  ------------------
  549|      0|            return ERROR;
  ------------------
  |  |   18|      0|#define ERROR -1
  ------------------
  550|      0|        }
  551|  11.8k|        assert(cellvar_offset >= 0);
  ------------------
  |  Branch (551:9): [True: 11.8k, False: 0]
  ------------------
  552|  11.8k|        cellvar_offset += nlocals - numdropped;
  553|  11.8k|        assert(cellvar_offset < nlocalsplus);
  ------------------
  |  Branch (553:9): [True: 11.8k, False: 0]
  ------------------
  554|  11.8k|        _Py_set_localsplus_info(cellvar_offset, k, CO_FAST_CELL, names, kinds);
  ------------------
  |  |  198|  11.8k|#define CO_FAST_CELL    (0x40)
  ------------------
  555|  11.8k|    }
  556|       |
  557|  52.7k|    pos = 0;
  558|  65.1k|    while (PyDict_Next(umd->u_freevars, &pos, &k, &v)) {
  ------------------
  |  Branch (558:12): [True: 12.3k, False: 52.7k]
  ------------------
  559|  12.3k|        int offset = PyLong_AsInt(v);
  560|  12.3k|        if (offset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (560:13): [True: 0, False: 12.3k]
  |  Branch (560:29): [True: 0, False: 0]
  ------------------
  561|      0|            return ERROR;
  ------------------
  |  |   18|      0|#define ERROR -1
  ------------------
  562|      0|        }
  563|  12.3k|        assert(offset >= 0);
  ------------------
  |  Branch (563:9): [True: 12.3k, False: 0]
  ------------------
  564|  12.3k|        offset += nlocals - numdropped;
  565|  12.3k|        assert(offset < nlocalsplus);
  ------------------
  |  Branch (565:9): [True: 12.3k, 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|  12.3k|        assert(offset > cellvar_offset);
  ------------------
  |  Branch (569:9): [True: 12.3k, False: 0]
  ------------------
  570|  12.3k|        _Py_set_localsplus_info(offset, k, CO_FAST_FREE, names, kinds);
  ------------------
  |  |  199|  12.3k|#define CO_FAST_FREE    (0x80)
  ------------------
  571|  12.3k|    }
  572|  52.7k|    return SUCCESS;
  ------------------
  |  |   17|  52.7k|#define SUCCESS 0
  ------------------
  573|  52.7k|}
assemble.c:assemble_free:
   91|  52.7k|{
   92|  52.7k|    Py_XDECREF(a->a_bytecode);
  ------------------
  |  |  524|  52.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   93|  52.7k|    Py_XDECREF(a->a_linetable);
  ------------------
  |  |  524|  52.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   94|  52.7k|    Py_XDECREF(a->a_except_table);
  ------------------
  |  |  524|  52.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|  52.7k|}

_PyAST_GetDocString:
 1102|   101k|{
 1103|   101k|    if (!asdl_seq_LEN(body)) {
  ------------------
  |  |   83|   101k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|   202k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 741, False: 100k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1103:9): [True: 741, False: 100k]
  ------------------
 1104|    741|        return NULL;
 1105|    741|    }
 1106|   100k|    stmt_ty st = asdl_seq_GET(body, 0);
  ------------------
  |  |   82|   100k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|   100k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1107|   100k|    if (st->kind != Expr_kind) {
  ------------------
  |  Branch (1107:9): [True: 42.4k, False: 57.9k]
  ------------------
 1108|  42.4k|        return NULL;
 1109|  42.4k|    }
 1110|  57.9k|    expr_ty e = st->v.Expr.value;
 1111|  57.9k|    if (e->kind == Constant_kind && PyUnicode_CheckExact(e->v.Constant.value)) {
  ------------------
  |  |  104|  9.65k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  9.65k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  9.65k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  9.65k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 6.69k, False: 2.95k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1111:9): [True: 9.65k, False: 48.2k]
  ------------------
 1112|  6.69k|        return e->v.Constant.value;
 1113|  6.69k|    }
 1114|  51.2k|    return NULL;
 1115|  57.9k|}

_PyAST_Preprocess:
  978|  12.6k|{
  979|  12.6k|    _PyASTPreprocessState state;
  980|  12.6k|    memset(&state, 0, sizeof(_PyASTPreprocessState));
  981|  12.6k|    state.filename = filename;
  982|  12.6k|    state.module = module;
  983|  12.6k|    state.optimize = optimize;
  984|  12.6k|    state.ff_features = ff_features;
  985|  12.6k|    state.syntax_check_only = syntax_check_only;
  986|  12.6k|    state.enable_warnings = enable_warnings;
  987|  12.6k|    if (_Py_CArray_Init(&state.cf_finally, sizeof(ControlFlowInFinallyContext), 20) < 0) {
  ------------------
  |  Branch (987:9): [True: 0, False: 12.6k]
  ------------------
  988|      0|        return -1;
  989|      0|    }
  990|       |
  991|  12.6k|    int ret = astfold_mod(mod, arena, &state);
  992|  12.6k|    assert(ret || PyErr_Occurred());
  ------------------
  |  Branch (992:5): [True: 12.6k, False: 0]
  |  Branch (992:5): [True: 0, False: 0]
  ------------------
  993|       |
  994|  12.6k|    _Py_CArray_Fini(&state.cf_finally);
  995|  12.6k|    return ret;
  996|  12.6k|}
ast_preprocess.c:astfold_mod:
  498|  12.6k|{
  499|  12.6k|    switch (node_->kind) {
  ------------------
  |  Branch (499:13): [True: 12.6k, False: 0]
  ------------------
  500|  8.73k|    case Module_kind:
  ------------------
  |  Branch (500:5): [True: 8.73k, False: 3.95k]
  ------------------
  501|  8.73k|        CALL(astfold_body, asdl_seq, node_->v.Module.body);
  ------------------
  |  |  409|  8.73k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 8.73k]
  |  |  ------------------
  |  |  410|  8.73k|        return 0;
  ------------------
  502|  8.73k|        break;
  503|  2.23k|    case Interactive_kind:
  ------------------
  |  Branch (503:5): [True: 2.23k, False: 10.4k]
  ------------------
  504|  2.23k|        CALL_SEQ(astfold_stmt, stmt, node_->v.Interactive.body);
  ------------------
  |  |  416|  2.23k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  2.23k|    Py_ssize_t i; \
  |  |  418|  2.23k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  7.54k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  7.54k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  15.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 7.54k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 5.30k, False: 2.23k]
  |  |  ------------------
  |  |  420|  5.30k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  5.30k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  5.30k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  5.30k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 5.30k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 5.30k]
  |  |  ------------------
  |  |  422|  5.30k|            return 0; \
  |  |  423|  5.30k|    } \
  |  |  424|  2.23k|}
  ------------------
  505|  2.23k|        break;
  506|  1.72k|    case Expression_kind:
  ------------------
  |  Branch (506:5): [True: 1.72k, False: 10.9k]
  ------------------
  507|  1.72k|        CALL(astfold_expr, expr_ty, node_->v.Expression.body);
  ------------------
  |  |  409|  1.72k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1.72k]
  |  |  ------------------
  |  |  410|  1.72k|        return 0;
  ------------------
  508|  1.72k|        break;
  509|       |    // The following top level nodes don't participate in constant folding
  510|      0|    case FunctionType_kind:
  ------------------
  |  Branch (510:5): [True: 0, False: 12.6k]
  ------------------
  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|  12.6k|    }
  515|  12.6k|    return 1;
  516|  12.6k|}
ast_preprocess.c:astfold_body:
  468|  31.4k|{
  469|  31.4k|    int docstring = _PyAST_GetDocString(stmts) != NULL;
  470|  31.4k|    if (docstring && (state->optimize >= 2)) {
  ------------------
  |  Branch (470:9): [True: 2.27k, False: 29.1k]
  |  Branch (470:22): [True: 306, False: 1.96k]
  ------------------
  471|       |        /* remove the docstring */
  472|    306|        if (!remove_docstring(stmts, 0, ctx_)) {
  ------------------
  |  Branch (472:13): [True: 0, False: 306]
  ------------------
  473|      0|            return 0;
  474|      0|        }
  475|    306|        docstring = 0;
  476|    306|    }
  477|  31.4k|    CALL_SEQ(astfold_stmt, stmt, stmts);
  ------------------
  |  |  416|  31.4k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  31.4k|    Py_ssize_t i; \
  |  |  418|  31.4k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|   205k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|   205k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|   410k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 325, False: 204k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 173k, False: 31.4k]
  |  |  ------------------
  |  |  420|   173k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|   173k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|   173k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|   173k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 173k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 173k]
  |  |  ------------------
  |  |  422|   173k|            return 0; \
  |  |  423|   173k|    } \
  |  |  424|  31.4k|}
  ------------------
  478|  31.4k|    if (!docstring && _PyAST_GetDocString(stmts) != NULL) {
  ------------------
  |  Branch (478:9): [True: 29.4k, False: 1.96k]
  |  Branch (478:23): [True: 24, False: 29.4k]
  ------------------
  479|     24|        stmt_ty st = (stmt_ty)asdl_seq_GET(stmts, 0);
  ------------------
  |  |   82|     24|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     24|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  480|     24|        asdl_expr_seq *values = _Py_asdl_expr_seq_new(1, ctx_);
  481|     24|        if (!values) {
  ------------------
  |  Branch (481:13): [True: 0, False: 24]
  ------------------
  482|      0|            return 0;
  483|      0|        }
  484|     24|        asdl_seq_SET(values, 0, st->v.Expr.value);
  ------------------
  |  |   94|     24|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|     24|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  485|     24|        expr_ty expr = _PyAST_JoinedStr(values, st->lineno, st->col_offset,
  486|     24|                                        st->end_lineno, st->end_col_offset,
  487|     24|                                        ctx_);
  488|     24|        if (!expr) {
  ------------------
  |  Branch (488:13): [True: 0, False: 24]
  ------------------
  489|      0|            return 0;
  490|      0|        }
  491|     24|        st->v.Expr.value = expr;
  492|     24|    }
  493|  31.4k|    return 1;
  494|  31.4k|}
ast_preprocess.c:remove_docstring:
  443|    306|{
  444|    306|    assert(_PyAST_GetDocString(stmts) != NULL);
  ------------------
  |  Branch (444:5): [True: 306, False: 0]
  ------------------
  445|       |    // In case there's just the docstring in the body, replace it with `pass`
  446|       |    // keyword, so body won't be empty.
  447|    306|    if (asdl_seq_LEN(stmts) == 1) {
  ------------------
  |  |   83|    306|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    612|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 306]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (447:9): [True: 278, False: 28]
  ------------------
  448|    278|        stmt_ty docstring = (stmt_ty)asdl_seq_GET(stmts, 0);
  ------------------
  |  |   82|    278|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    278|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  449|    278|        stmt_ty pass = _PyAST_Pass(
  450|    278|            docstring->lineno, docstring->col_offset,
  451|       |            // we know that `pass` always takes 4 chars and a single line,
  452|       |            // while docstring can span on multiple lines
  453|    278|            docstring->lineno, docstring->col_offset + 4,
  454|    278|            ctx_
  455|    278|        );
  456|    278|        if (pass == NULL) {
  ------------------
  |  Branch (456:13): [True: 0, False: 278]
  ------------------
  457|      0|            return 0;
  458|      0|        }
  459|    278|        asdl_seq_SET(stmts, 0, pass);
  ------------------
  |  |   94|    278|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    278|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  460|    278|        return 1;
  461|    278|    }
  462|       |    // In case there are more than 1 body items, just remove the docstring.
  463|     28|    return stmt_seq_remove_item(stmts, idx);
  464|    306|}
ast_preprocess.c:stmt_seq_remove_item:
  429|     28|{
  430|     28|    if (idx >= asdl_seq_LEN(stmts)) {
  ------------------
  |  |   83|     28|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     56|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 28]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (430:9): [True: 0, False: 28]
  ------------------
  431|      0|        return 0;
  432|      0|    }
  433|    116|    for (Py_ssize_t i = idx; i < asdl_seq_LEN(stmts) - 1; i++) {
  ------------------
  |  |   83|    116|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    232|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 116]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (433:30): [True: 88, False: 28]
  ------------------
  434|     88|        stmt_ty st = (stmt_ty)asdl_seq_GET(stmts, i+1);
  ------------------
  |  |   82|     88|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     88|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  435|     88|        asdl_seq_SET(stmts, i, st);
  ------------------
  |  |   94|     88|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|     88|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  436|     88|    }
  437|     28|    stmts->size--;
  438|     28|    return 1;
  439|     28|}
ast_preprocess.c:astfold_stmt:
  685|   224k|{
  686|   224k|    ENTER_RECURSIVE();
  ------------------
  |  |   29|   224k|#define ENTER_RECURSIVE() \
  |  |   30|   224k|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (30:5): [True: 0, False: 224k]
  |  |  ------------------
  |  |   31|      0|    return 0; \
  |  |   32|      0|}
  ------------------
  687|   224k|    switch (node_->kind) {
  ------------------
  |  Branch (687:13): [True: 224k, False: 0]
  ------------------
  688|  6.38k|    case FunctionDef_kind: {
  ------------------
  |  Branch (688:5): [True: 6.38k, False: 218k]
  ------------------
  689|  6.38k|        CALL_SEQ(astfold_type_param, type_param, node_->v.FunctionDef.type_params);
  ------------------
  |  |  416|  6.38k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  6.38k|    Py_ssize_t i; \
  |  |  418|  6.38k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  12.0k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  12.0k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  24.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 3.55k, False: 8.51k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 5.67k, False: 6.38k]
  |  |  ------------------
  |  |  420|  5.67k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  5.67k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  5.67k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  5.67k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 5.67k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 5.67k]
  |  |  ------------------
  |  |  422|  5.67k|            return 0; \
  |  |  423|  5.67k|    } \
  |  |  424|  6.38k|}
  ------------------
  690|  6.38k|        CALL(astfold_arguments, arguments_ty, node_->v.FunctionDef.args);
  ------------------
  |  |  409|  6.38k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 6.38k]
  |  |  ------------------
  |  |  410|  6.38k|        return 0;
  ------------------
  691|  6.38k|        BEFORE_FUNC_BODY(state, node_);
  ------------------
  |  |  118|  6.38k|#define BEFORE_FUNC_BODY(S, N)  PUSH_CONTEXT((S), (N), false, true, false)
  |  |  ------------------
  |  |  |  |  110|  6.38k|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 6.38k]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  692|  6.38k|        CALL(astfold_body, asdl_seq, node_->v.FunctionDef.body);
  ------------------
  |  |  409|  6.38k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 6.38k]
  |  |  ------------------
  |  |  410|  6.38k|        return 0;
  ------------------
  693|  6.38k|        AFTER_FUNC_BODY(state);
  ------------------
  |  |  119|  6.38k|#define AFTER_FUNC_BODY(S)      POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|  6.38k|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  694|  6.38k|        CALL_SEQ(astfold_expr, expr, node_->v.FunctionDef.decorator_list);
  ------------------
  |  |  416|  6.38k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  6.38k|    Py_ssize_t i; \
  |  |  418|  6.38k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  9.96k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  9.96k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  19.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 5.88k, False: 4.07k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 3.57k, False: 6.38k]
  |  |  ------------------
  |  |  420|  3.57k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  3.57k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.57k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  3.57k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 3.57k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 3.57k]
  |  |  ------------------
  |  |  422|  3.57k|            return 0; \
  |  |  423|  3.57k|    } \
  |  |  424|  6.38k|}
  ------------------
  695|  6.38k|        if (!(state->ff_features & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |  147|  6.38k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (695:13): [True: 3.57k, False: 2.81k]
  ------------------
  696|  3.57k|            CALL_OPT(astfold_expr, expr_ty, node_->v.FunctionDef.returns);
  ------------------
  |  |  413|  3.57k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 930, False: 2.64k]
  |  |  |  Branch (413:26): [True: 0, False: 930]
  |  |  ------------------
  |  |  414|  3.57k|        return 0;
  ------------------
  697|  3.57k|        }
  698|  6.38k|        break;
  699|  6.38k|    }
  700|  6.38k|    case AsyncFunctionDef_kind: {
  ------------------
  |  Branch (700:5): [True: 3.25k, False: 221k]
  ------------------
  701|  3.25k|        CALL_SEQ(astfold_type_param, type_param, node_->v.AsyncFunctionDef.type_params);
  ------------------
  |  |  416|  3.25k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  3.25k|    Py_ssize_t i; \
  |  |  418|  3.25k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  3.30k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.30k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  6.60k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 3.24k, False: 59]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 48, False: 3.25k]
  |  |  ------------------
  |  |  420|     48|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     48|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     48|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|     48|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 48, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 48]
  |  |  ------------------
  |  |  422|     48|            return 0; \
  |  |  423|     48|    } \
  |  |  424|  3.25k|}
  ------------------
  702|  3.25k|        CALL(astfold_arguments, arguments_ty, node_->v.AsyncFunctionDef.args);
  ------------------
  |  |  409|  3.25k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 3.25k]
  |  |  ------------------
  |  |  410|  3.25k|        return 0;
  ------------------
  703|  3.25k|        BEFORE_FUNC_BODY(state, node_);
  ------------------
  |  |  118|  3.25k|#define BEFORE_FUNC_BODY(S, N)  PUSH_CONTEXT((S), (N), false, true, false)
  |  |  ------------------
  |  |  |  |  110|  3.25k|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 3.25k]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  704|  3.25k|        CALL(astfold_body, asdl_seq, node_->v.AsyncFunctionDef.body);
  ------------------
  |  |  409|  3.25k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 3.25k]
  |  |  ------------------
  |  |  410|  3.25k|        return 0;
  ------------------
  705|  3.25k|        AFTER_FUNC_BODY(state);
  ------------------
  |  |  119|  3.25k|#define AFTER_FUNC_BODY(S)      POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|  3.25k|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  706|  3.25k|        CALL_SEQ(astfold_expr, expr, node_->v.AsyncFunctionDef.decorator_list);
  ------------------
  |  |  416|  3.25k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  3.25k|    Py_ssize_t i; \
  |  |  418|  3.25k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  3.75k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.75k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  7.50k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 3.12k, False: 622]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 497, False: 3.25k]
  |  |  ------------------
  |  |  420|    497|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    497|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    497|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    497|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 497, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 497]
  |  |  ------------------
  |  |  422|    497|            return 0; \
  |  |  423|    497|    } \
  |  |  424|  3.25k|}
  ------------------
  707|  3.25k|        if (!(state->ff_features & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |  147|  3.25k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (707:13): [True: 2.45k, False: 800]
  ------------------
  708|  2.45k|            CALL_OPT(astfold_expr, expr_ty, node_->v.AsyncFunctionDef.returns);
  ------------------
  |  |  413|  2.45k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 1.73k, False: 718]
  |  |  |  Branch (413:26): [True: 0, False: 1.73k]
  |  |  ------------------
  |  |  414|  2.45k|        return 0;
  ------------------
  709|  2.45k|        }
  710|  3.25k|        break;
  711|  3.25k|    }
  712|  13.0k|    case ClassDef_kind:
  ------------------
  |  Branch (712:5): [True: 13.0k, False: 211k]
  ------------------
  713|  13.0k|        CALL_SEQ(astfold_type_param, type_param, node_->v.ClassDef.type_params);
  ------------------
  |  |  416|  13.0k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  13.0k|    Py_ssize_t i; \
  |  |  418|  13.0k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  21.0k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  21.0k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  42.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 10.8k, False: 10.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 7.98k, False: 13.0k]
  |  |  ------------------
  |  |  420|  7.98k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  7.98k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  7.98k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  7.98k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 7.98k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 7.98k]
  |  |  ------------------
  |  |  422|  7.98k|            return 0; \
  |  |  423|  7.98k|    } \
  |  |  424|  13.0k|}
  ------------------
  714|  13.0k|        CALL_SEQ(astfold_expr, expr, node_->v.ClassDef.bases);
  ------------------
  |  |  416|  13.0k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  13.0k|    Py_ssize_t i; \
  |  |  418|  13.0k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  13.4k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  13.4k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  26.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 12.6k, False: 728]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 369, False: 13.0k]
  |  |  ------------------
  |  |  420|    369|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    369|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    369|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    369|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 369, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 369]
  |  |  ------------------
  |  |  422|    369|            return 0; \
  |  |  423|    369|    } \
  |  |  424|  13.0k|}
  ------------------
  715|  13.0k|        CALL_SEQ(astfold_keyword, keyword, node_->v.ClassDef.keywords);
  ------------------
  |  |  416|  13.0k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  13.0k|    Py_ssize_t i; \
  |  |  418|  13.0k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  13.1k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  13.1k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  26.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 12.9k, False: 129]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 65, False: 13.0k]
  |  |  ------------------
  |  |  420|     65|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     65|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     65|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|     65|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 65, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 65]
  |  |  ------------------
  |  |  422|     65|            return 0; \
  |  |  423|     65|    } \
  |  |  424|  13.0k|}
  ------------------
  716|  13.0k|        CALL(astfold_body, asdl_seq, node_->v.ClassDef.body);
  ------------------
  |  |  409|  13.0k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 13.0k]
  |  |  ------------------
  |  |  410|  13.0k|        return 0;
  ------------------
  717|  13.0k|        CALL_SEQ(astfold_expr, expr, node_->v.ClassDef.decorator_list);
  ------------------
  |  |  416|  13.0k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  13.0k|    Py_ssize_t i; \
  |  |  418|  13.0k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  13.7k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  13.7k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  27.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 12.7k, False: 1.04k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 726, False: 13.0k]
  |  |  ------------------
  |  |  420|    726|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    726|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    726|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    726|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 726, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 726]
  |  |  ------------------
  |  |  422|    726|            return 0; \
  |  |  423|    726|    } \
  |  |  424|  13.0k|}
  ------------------
  718|  13.0k|        break;
  719|  1.06k|    case Return_kind:
  ------------------
  |  Branch (719:5): [True: 1.06k, False: 223k]
  ------------------
  720|  1.06k|        BEFORE_RETURN(state, node_);
  ------------------
  |  |  124|  1.06k|    if (!before_return((S), (N))) { \
  |  |  ------------------
  |  |  |  Branch (124:9): [True: 0, False: 1.06k]
  |  |  ------------------
  |  |  125|      0|        return 0; \
  |  |  126|      0|    }
  ------------------
  721|  1.06k|        CALL_OPT(astfold_expr, expr_ty, node_->v.Return.value);
  ------------------
  |  |  413|  1.06k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 675, False: 387]
  |  |  |  Branch (413:26): [True: 0, False: 675]
  |  |  ------------------
  |  |  414|  1.06k|        return 0;
  ------------------
  722|  1.06k|        break;
  723|  1.39k|    case Delete_kind:
  ------------------
  |  Branch (723:5): [True: 1.39k, False: 223k]
  ------------------
  724|  1.39k|        CALL_SEQ(astfold_expr, expr, node_->v.Delete.targets);
  ------------------
  |  |  416|  1.39k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.39k|    Py_ssize_t i; \
  |  |  418|  1.39k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  6.48k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  6.48k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  12.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 6.48k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 5.09k, False: 1.39k]
  |  |  ------------------
  |  |  420|  5.09k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  5.09k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  5.09k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  5.09k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 5.09k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 5.09k]
  |  |  ------------------
  |  |  422|  5.09k|            return 0; \
  |  |  423|  5.09k|    } \
  |  |  424|  1.39k|}
  ------------------
  725|  1.39k|        break;
  726|  9.70k|    case Assign_kind:
  ------------------
  |  Branch (726:5): [True: 9.70k, False: 215k]
  ------------------
  727|  9.70k|        CALL_SEQ(astfold_expr, expr, node_->v.Assign.targets);
  ------------------
  |  |  416|  9.70k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  9.70k|    Py_ssize_t i; \
  |  |  418|  9.70k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  64.9k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  64.9k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|   129k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 64.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 55.2k, False: 9.70k]
  |  |  ------------------
  |  |  420|  55.2k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  55.2k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  55.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  55.2k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 55.2k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 55.2k]
  |  |  ------------------
  |  |  422|  55.2k|            return 0; \
  |  |  423|  55.2k|    } \
  |  |  424|  9.70k|}
  ------------------
  728|  9.70k|        CALL(astfold_expr, expr_ty, node_->v.Assign.value);
  ------------------
  |  |  409|  9.70k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 9.70k]
  |  |  ------------------
  |  |  410|  9.70k|        return 0;
  ------------------
  729|  9.70k|        break;
  730|  7.60k|    case AugAssign_kind:
  ------------------
  |  Branch (730:5): [True: 7.60k, False: 217k]
  ------------------
  731|  7.60k|        CALL(astfold_expr, expr_ty, node_->v.AugAssign.target);
  ------------------
  |  |  409|  7.60k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 7.60k]
  |  |  ------------------
  |  |  410|  7.60k|        return 0;
  ------------------
  732|  7.60k|        CALL(astfold_expr, expr_ty, node_->v.AugAssign.value);
  ------------------
  |  |  409|  7.60k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 7.60k]
  |  |  ------------------
  |  |  410|  7.60k|        return 0;
  ------------------
  733|  7.60k|        break;
  734|  25.7k|    case AnnAssign_kind:
  ------------------
  |  Branch (734:5): [True: 25.7k, False: 198k]
  ------------------
  735|  25.7k|        CALL(astfold_expr, expr_ty, node_->v.AnnAssign.target);
  ------------------
  |  |  409|  25.7k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 25.7k]
  |  |  ------------------
  |  |  410|  25.7k|        return 0;
  ------------------
  736|  25.7k|        if (!(state->ff_features & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |  147|  25.7k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (736:13): [True: 19.1k, False: 6.60k]
  ------------------
  737|  19.1k|            CALL(astfold_expr, expr_ty, node_->v.AnnAssign.annotation);
  ------------------
  |  |  409|  19.1k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 19.1k]
  |  |  ------------------
  |  |  410|  19.1k|        return 0;
  ------------------
  738|  19.1k|        }
  739|  25.7k|        CALL_OPT(astfold_expr, expr_ty, node_->v.AnnAssign.value);
  ------------------
  |  |  413|  25.7k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 526, False: 25.2k]
  |  |  |  Branch (413:26): [True: 0, False: 526]
  |  |  ------------------
  |  |  414|  25.7k|        return 0;
  ------------------
  740|  25.7k|        break;
  741|    629|    case TypeAlias_kind:
  ------------------
  |  Branch (741:5): [True: 629, False: 224k]
  ------------------
  742|    629|        CALL(astfold_expr, expr_ty, node_->v.TypeAlias.name);
  ------------------
  |  |  409|    629|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 629]
  |  |  ------------------
  |  |  410|    629|        return 0;
  ------------------
  743|    629|        CALL_SEQ(astfold_type_param, type_param, node_->v.TypeAlias.type_params);
  ------------------
  |  |  416|    629|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    629|    Py_ssize_t i; \
  |  |  418|    629|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    630|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    630|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.26k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 628, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1, False: 629]
  |  |  ------------------
  |  |  420|      1|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      1|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      1|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1]
  |  |  ------------------
  |  |  422|      1|            return 0; \
  |  |  423|      1|    } \
  |  |  424|    629|}
  ------------------
  744|    629|        CALL(astfold_expr, expr_ty, node_->v.TypeAlias.value);
  ------------------
  |  |  409|    629|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 629]
  |  |  ------------------
  |  |  410|    629|        return 0;
  ------------------
  745|    629|        break;
  746|  1.06k|    case For_kind: {
  ------------------
  |  Branch (746:5): [True: 1.06k, False: 223k]
  ------------------
  747|  1.06k|        CALL(astfold_expr, expr_ty, node_->v.For.target);
  ------------------
  |  |  409|  1.06k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1.06k]
  |  |  ------------------
  |  |  410|  1.06k|        return 0;
  ------------------
  748|  1.06k|        CALL(astfold_expr, expr_ty, node_->v.For.iter);
  ------------------
  |  |  409|  1.06k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1.06k]
  |  |  ------------------
  |  |  410|  1.06k|        return 0;
  ------------------
  749|  1.06k|        BEFORE_LOOP_BODY(state, node_);
  ------------------
  |  |  120|  1.06k|#define BEFORE_LOOP_BODY(S, N)  PUSH_CONTEXT((S), (N), false, false, true)
  |  |  ------------------
  |  |  |  |  110|  1.06k|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 1.06k]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  750|  1.06k|        CALL_SEQ(astfold_stmt, stmt, node_->v.For.body);
  ------------------
  |  |  416|  1.06k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.06k|    Py_ssize_t i; \
  |  |  418|  1.06k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  2.70k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.70k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  5.41k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.70k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.64k, False: 1.06k]
  |  |  ------------------
  |  |  420|  1.64k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.64k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.64k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.64k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.64k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.64k]
  |  |  ------------------
  |  |  422|  1.64k|            return 0; \
  |  |  423|  1.64k|    } \
  |  |  424|  1.06k|}
  ------------------
  751|  1.06k|        AFTER_LOOP_BODY(state);
  ------------------
  |  |  121|  1.06k|#define AFTER_LOOP_BODY(S)      POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|  1.06k|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  752|  1.06k|        CALL_SEQ(astfold_stmt, stmt, node_->v.For.orelse);
  ------------------
  |  |  416|  1.06k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.06k|    Py_ssize_t i; \
  |  |  418|  1.06k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  1.27k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.27k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.55k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 931, False: 347]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 218, False: 1.06k]
  |  |  ------------------
  |  |  420|    218|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    218|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    218|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    218|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 218, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 218]
  |  |  ------------------
  |  |  422|    218|            return 0; \
  |  |  423|    218|    } \
  |  |  424|  1.06k|}
  ------------------
  753|  1.06k|        break;
  754|  1.06k|    }
  755|    228|    case AsyncFor_kind: {
  ------------------
  |  Branch (755:5): [True: 228, False: 224k]
  ------------------
  756|    228|        CALL(astfold_expr, expr_ty, node_->v.AsyncFor.target);
  ------------------
  |  |  409|    228|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 228]
  |  |  ------------------
  |  |  410|    228|        return 0;
  ------------------
  757|    228|        CALL(astfold_expr, expr_ty, node_->v.AsyncFor.iter);
  ------------------
  |  |  409|    228|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 228]
  |  |  ------------------
  |  |  410|    228|        return 0;
  ------------------
  758|    228|        BEFORE_LOOP_BODY(state, node_);
  ------------------
  |  |  120|    228|#define BEFORE_LOOP_BODY(S, N)  PUSH_CONTEXT((S), (N), false, false, true)
  |  |  ------------------
  |  |  |  |  110|    228|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 228]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  759|    228|        CALL_SEQ(astfold_stmt, stmt, node_->v.AsyncFor.body);
  ------------------
  |  |  416|    228|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    228|    Py_ssize_t i; \
  |  |  418|    228|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    474|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    474|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    948|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 474]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 246, False: 228]
  |  |  ------------------
  |  |  420|    246|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    246|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    246|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    246|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 246, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 246]
  |  |  ------------------
  |  |  422|    246|            return 0; \
  |  |  423|    246|    } \
  |  |  424|    228|}
  ------------------
  760|    228|        AFTER_LOOP_BODY(state);
  ------------------
  |  |  121|    228|#define AFTER_LOOP_BODY(S)      POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|    228|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  761|    228|        CALL_SEQ(astfold_stmt, stmt, node_->v.AsyncFor.orelse);
  ------------------
  |  |  416|    228|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    228|    Py_ssize_t i; \
  |  |  418|    228|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    354|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    354|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    708|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 183, False: 171]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 126, False: 228]
  |  |  ------------------
  |  |  420|    126|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    126|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    126|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    126|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 126, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 126]
  |  |  ------------------
  |  |  422|    126|            return 0; \
  |  |  423|    126|    } \
  |  |  424|    228|}
  ------------------
  762|    228|        break;
  763|    228|    }
  764|  2.25k|    case While_kind: {
  ------------------
  |  Branch (764:5): [True: 2.25k, False: 222k]
  ------------------
  765|  2.25k|        CALL(astfold_expr, expr_ty, node_->v.While.test);
  ------------------
  |  |  409|  2.25k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 2.25k]
  |  |  ------------------
  |  |  410|  2.25k|        return 0;
  ------------------
  766|  2.25k|        BEFORE_LOOP_BODY(state, node_);
  ------------------
  |  |  120|  2.25k|#define BEFORE_LOOP_BODY(S, N)  PUSH_CONTEXT((S), (N), false, false, true)
  |  |  ------------------
  |  |  |  |  110|  2.25k|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 2.25k]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  767|  2.25k|        CALL_SEQ(astfold_stmt, stmt, node_->v.While.body);
  ------------------
  |  |  416|  2.25k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  2.25k|    Py_ssize_t i; \
  |  |  418|  2.25k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  14.7k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  14.7k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  29.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 14.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 12.4k, False: 2.25k]
  |  |  ------------------
  |  |  420|  12.4k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  12.4k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  12.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  12.4k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 12.4k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 12.4k]
  |  |  ------------------
  |  |  422|  12.4k|            return 0; \
  |  |  423|  12.4k|    } \
  |  |  424|  2.25k|}
  ------------------
  768|  2.25k|        AFTER_LOOP_BODY(state);
  ------------------
  |  |  121|  2.25k|#define AFTER_LOOP_BODY(S)      POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|  2.25k|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  769|  2.25k|        CALL_SEQ(astfold_stmt, stmt, node_->v.While.orelse);
  ------------------
  |  |  416|  2.25k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  2.25k|    Py_ssize_t i; \
  |  |  418|  2.25k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  2.63k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.63k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  5.26k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 2.08k, False: 545]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 375, False: 2.25k]
  |  |  ------------------
  |  |  420|    375|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    375|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    375|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    375|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 375, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 375]
  |  |  ------------------
  |  |  422|    375|            return 0; \
  |  |  423|    375|    } \
  |  |  424|  2.25k|}
  ------------------
  770|  2.25k|        break;
  771|  2.25k|    }
  772|  1.66k|    case If_kind:
  ------------------
  |  Branch (772:5): [True: 1.66k, False: 223k]
  ------------------
  773|  1.66k|        CALL(astfold_expr, expr_ty, node_->v.If.test);
  ------------------
  |  |  409|  1.66k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1.66k]
  |  |  ------------------
  |  |  410|  1.66k|        return 0;
  ------------------
  774|  1.66k|        CALL_SEQ(astfold_stmt, stmt, node_->v.If.body);
  ------------------
  |  |  416|  1.66k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.66k|    Py_ssize_t i; \
  |  |  418|  1.66k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  4.63k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  4.63k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  9.26k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 4.63k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 2.97k, False: 1.66k]
  |  |  ------------------
  |  |  420|  2.97k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  2.97k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.97k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  2.97k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 2.97k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 2.97k]
  |  |  ------------------
  |  |  422|  2.97k|            return 0; \
  |  |  423|  2.97k|    } \
  |  |  424|  1.66k|}
  ------------------
  775|  1.66k|        CALL_SEQ(astfold_stmt, stmt, node_->v.If.orelse);
  ------------------
  |  |  416|  1.66k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.66k|    Py_ssize_t i; \
  |  |  418|  1.66k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  3.42k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.42k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  6.85k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 1.22k, False: 2.20k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.76k, False: 1.66k]
  |  |  ------------------
  |  |  420|  1.76k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.76k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.76k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.76k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.76k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.76k]
  |  |  ------------------
  |  |  422|  1.76k|            return 0; \
  |  |  423|  1.76k|    } \
  |  |  424|  1.66k|}
  ------------------
  776|  1.66k|        break;
  777|    712|    case With_kind:
  ------------------
  |  Branch (777:5): [True: 712, False: 224k]
  ------------------
  778|    712|        CALL_SEQ(astfold_withitem, withitem, node_->v.With.items);
  ------------------
  |  |  416|    712|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    712|    Py_ssize_t i; \
  |  |  418|    712|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  1.73k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.73k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.46k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.73k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.01k, False: 712]
  |  |  ------------------
  |  |  420|  1.01k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.01k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.01k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.01k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.01k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.01k]
  |  |  ------------------
  |  |  422|  1.01k|            return 0; \
  |  |  423|  1.01k|    } \
  |  |  424|    712|}
  ------------------
  779|    712|        CALL_SEQ(astfold_stmt, stmt, node_->v.With.body);
  ------------------
  |  |  416|    712|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    712|    Py_ssize_t i; \
  |  |  418|    712|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  1.99k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.99k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.99k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.99k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.28k, False: 712]
  |  |  ------------------
  |  |  420|  1.28k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.28k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.28k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.28k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.28k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.28k]
  |  |  ------------------
  |  |  422|  1.28k|            return 0; \
  |  |  423|  1.28k|    } \
  |  |  424|    712|}
  ------------------
  780|    712|        break;
  781|  2.43k|    case AsyncWith_kind:
  ------------------
  |  Branch (781:5): [True: 2.43k, False: 222k]
  ------------------
  782|  2.43k|        CALL_SEQ(astfold_withitem, withitem, node_->v.AsyncWith.items);
  ------------------
  |  |  416|  2.43k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  2.43k|    Py_ssize_t i; \
  |  |  418|  2.43k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  15.1k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  15.1k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  30.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 15.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 12.6k, False: 2.43k]
  |  |  ------------------
  |  |  420|  12.6k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  12.6k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  12.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  12.6k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 12.6k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 12.6k]
  |  |  ------------------
  |  |  422|  12.6k|            return 0; \
  |  |  423|  12.6k|    } \
  |  |  424|  2.43k|}
  ------------------
  783|  2.43k|        CALL_SEQ(astfold_stmt, stmt, node_->v.AsyncWith.body);
  ------------------
  |  |  416|  2.43k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  2.43k|    Py_ssize_t i; \
  |  |  418|  2.43k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  6.93k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  6.93k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  13.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 6.93k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 4.49k, False: 2.43k]
  |  |  ------------------
  |  |  420|  4.49k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  4.49k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.49k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  4.49k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 4.49k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 4.49k]
  |  |  ------------------
  |  |  422|  4.49k|            return 0; \
  |  |  423|  4.49k|    } \
  |  |  424|  2.43k|}
  ------------------
  784|  2.43k|        break;
  785|  1.02k|    case Raise_kind:
  ------------------
  |  Branch (785:5): [True: 1.02k, False: 223k]
  ------------------
  786|  1.02k|        CALL_OPT(astfold_expr, expr_ty, node_->v.Raise.exc);
  ------------------
  |  |  413|  1.02k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 547, False: 479]
  |  |  |  Branch (413:26): [True: 0, False: 547]
  |  |  ------------------
  |  |  414|  1.02k|        return 0;
  ------------------
  787|  1.02k|        CALL_OPT(astfold_expr, expr_ty, node_->v.Raise.cause);
  ------------------
  |  |  413|  1.02k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 216, False: 810]
  |  |  |  Branch (413:26): [True: 0, False: 216]
  |  |  ------------------
  |  |  414|  1.02k|        return 0;
  ------------------
  788|  1.02k|        break;
  789|  3.22k|    case Try_kind: {
  ------------------
  |  Branch (789:5): [True: 3.22k, False: 221k]
  ------------------
  790|  3.22k|        CALL_SEQ(astfold_stmt, stmt, node_->v.Try.body);
  ------------------
  |  |  416|  3.22k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  3.22k|    Py_ssize_t i; \
  |  |  418|  3.22k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  6.54k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  6.54k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  13.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 6.54k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 3.32k, False: 3.22k]
  |  |  ------------------
  |  |  420|  3.32k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  3.32k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.32k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  3.32k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 3.32k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 3.32k]
  |  |  ------------------
  |  |  422|  3.32k|            return 0; \
  |  |  423|  3.32k|    } \
  |  |  424|  3.22k|}
  ------------------
  791|  3.22k|        CALL_SEQ(astfold_excepthandler, excepthandler, node_->v.Try.handlers);
  ------------------
  |  |  416|  3.22k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  3.22k|    Py_ssize_t i; \
  |  |  418|  3.22k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  5.62k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  5.62k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  11.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 1.40k, False: 4.22k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 2.40k, False: 3.22k]
  |  |  ------------------
  |  |  420|  2.40k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  2.40k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.40k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  2.40k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 2.40k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 2.40k]
  |  |  ------------------
  |  |  422|  2.40k|            return 0; \
  |  |  423|  2.40k|    } \
  |  |  424|  3.22k|}
  ------------------
  792|  3.22k|        CALL_SEQ(astfold_stmt, stmt, node_->v.Try.orelse);
  ------------------
  |  |  416|  3.22k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  3.22k|    Py_ssize_t i; \
  |  |  418|  3.22k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  3.54k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.54k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  7.09k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 3.11k, False: 432]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 327, False: 3.22k]
  |  |  ------------------
  |  |  420|    327|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    327|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    327|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    327|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 327, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 327]
  |  |  ------------------
  |  |  422|    327|            return 0; \
  |  |  423|    327|    } \
  |  |  424|  3.22k|}
  ------------------
  793|  3.22k|        BEFORE_FINALLY(state, node_);
  ------------------
  |  |  116|  3.22k|#define BEFORE_FINALLY(S, N)    PUSH_CONTEXT((S), (N), true, false, false)
  |  |  ------------------
  |  |  |  |  110|  3.22k|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 3.22k]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  794|  3.22k|        CALL_SEQ(astfold_stmt, stmt, node_->v.Try.finalbody);
  ------------------
  |  |  416|  3.22k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  3.22k|    Py_ssize_t i; \
  |  |  418|  3.22k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  9.73k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  9.73k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  19.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 963, False: 8.77k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 6.51k, False: 3.22k]
  |  |  ------------------
  |  |  420|  6.51k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  6.51k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  6.51k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  6.51k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 6.51k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 6.51k]
  |  |  ------------------
  |  |  422|  6.51k|            return 0; \
  |  |  423|  6.51k|    } \
  |  |  424|  3.22k|}
  ------------------
  795|  3.22k|        AFTER_FINALLY(state);
  ------------------
  |  |  117|  3.22k|#define AFTER_FINALLY(S)        POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|  3.22k|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  796|  3.22k|        break;
  797|  3.22k|    }
  798|  1.62k|    case TryStar_kind: {
  ------------------
  |  Branch (798:5): [True: 1.62k, False: 223k]
  ------------------
  799|  1.62k|        CALL_SEQ(astfold_stmt, stmt, node_->v.TryStar.body);
  ------------------
  |  |  416|  1.62k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.62k|    Py_ssize_t i; \
  |  |  418|  1.62k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  3.25k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.25k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  6.50k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 3.25k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.62k, False: 1.62k]
  |  |  ------------------
  |  |  420|  1.62k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.62k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.62k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.62k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.62k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.62k]
  |  |  ------------------
  |  |  422|  1.62k|            return 0; \
  |  |  423|  1.62k|    } \
  |  |  424|  1.62k|}
  ------------------
  800|  1.62k|        CALL_SEQ(astfold_excepthandler, excepthandler, node_->v.TryStar.handlers);
  ------------------
  |  |  416|  1.62k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.62k|    Py_ssize_t i; \
  |  |  418|  1.62k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  3.65k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.65k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  7.30k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 3.65k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 2.02k, False: 1.62k]
  |  |  ------------------
  |  |  420|  2.02k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  2.02k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.02k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  2.02k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 2.02k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 2.02k]
  |  |  ------------------
  |  |  422|  2.02k|            return 0; \
  |  |  423|  2.02k|    } \
  |  |  424|  1.62k|}
  ------------------
  801|  1.62k|        CALL_SEQ(astfold_stmt, stmt, node_->v.TryStar.orelse);
  ------------------
  |  |  416|  1.62k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.62k|    Py_ssize_t i; \
  |  |  418|  1.62k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  1.73k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.73k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.47k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 1.60k, False: 135]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 117, False: 1.62k]
  |  |  ------------------
  |  |  420|    117|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    117|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    117|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    117|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 117, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 117]
  |  |  ------------------
  |  |  422|    117|            return 0; \
  |  |  423|    117|    } \
  |  |  424|  1.62k|}
  ------------------
  802|  1.62k|        BEFORE_FINALLY(state, node_);
  ------------------
  |  |  116|  1.62k|#define BEFORE_FINALLY(S, N)    PUSH_CONTEXT((S), (N), true, false, false)
  |  |  ------------------
  |  |  |  |  110|  1.62k|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 1.62k]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  803|  1.62k|        CALL_SEQ(astfold_stmt, stmt, node_->v.TryStar.finalbody);
  ------------------
  |  |  416|  1.62k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.62k|    Py_ssize_t i; \
  |  |  418|  1.62k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  3.01k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.01k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  6.03k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 1.49k, False: 1.52k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.39k, False: 1.62k]
  |  |  ------------------
  |  |  420|  1.39k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.39k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.39k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.39k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.39k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.39k]
  |  |  ------------------
  |  |  422|  1.39k|            return 0; \
  |  |  423|  1.39k|    } \
  |  |  424|  1.62k|}
  ------------------
  804|  1.62k|        AFTER_FINALLY(state);
  ------------------
  |  |  117|  1.62k|#define AFTER_FINALLY(S)        POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|  1.62k|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  805|  1.62k|        break;
  806|  1.62k|    }
  807|  2.75k|    case Assert_kind:
  ------------------
  |  Branch (807:5): [True: 2.75k, False: 222k]
  ------------------
  808|  2.75k|        CALL(astfold_expr, expr_ty, node_->v.Assert.test);
  ------------------
  |  |  409|  2.75k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 2.75k]
  |  |  ------------------
  |  |  410|  2.75k|        return 0;
  ------------------
  809|  2.75k|        CALL_OPT(astfold_expr, expr_ty, node_->v.Assert.msg);
  ------------------
  |  |  413|  2.75k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 499, False: 2.25k]
  |  |  |  Branch (413:26): [True: 0, False: 499]
  |  |  ------------------
  |  |  414|  2.75k|        return 0;
  ------------------
  810|  2.75k|        break;
  811|   129k|    case Expr_kind:
  ------------------
  |  Branch (811:5): [True: 129k, False: 95.5k]
  ------------------
  812|   129k|        CALL(astfold_expr, expr_ty, node_->v.Expr.value);
  ------------------
  |  |  409|   129k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 129k]
  |  |  ------------------
  |  |  410|   129k|        return 0;
  ------------------
  813|   129k|        break;
  814|    267|    case Match_kind:
  ------------------
  |  Branch (814:5): [True: 267, False: 224k]
  ------------------
  815|    267|        CALL(astfold_expr, expr_ty, node_->v.Match.subject);
  ------------------
  |  |  409|    267|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 267]
  |  |  ------------------
  |  |  410|    267|        return 0;
  ------------------
  816|    267|        CALL_SEQ(astfold_match_case, match_case, node_->v.Match.cases);
  ------------------
  |  |  416|    267|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    267|    Py_ssize_t i; \
  |  |  418|    267|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  1.65k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.65k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.30k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.65k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.38k, False: 267]
  |  |  ------------------
  |  |  420|  1.38k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.38k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.38k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.38k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.38k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.38k]
  |  |  ------------------
  |  |  422|  1.38k|            return 0; \
  |  |  423|  1.38k|    } \
  |  |  424|    267|}
  ------------------
  817|    267|        break;
  818|    396|    case Break_kind:
  ------------------
  |  Branch (818:5): [True: 396, False: 224k]
  ------------------
  819|    396|        BEFORE_LOOP_EXIT(state, node_, "break");
  ------------------
  |  |  129|    396|    if (!before_loop_exit((S), (N), (KW))) { \
  |  |  ------------------
  |  |  |  Branch (129:9): [True: 0, False: 396]
  |  |  ------------------
  |  |  130|      0|        return 0; \
  |  |  131|      0|    }
  ------------------
  820|    396|        break;
  821|    700|    case Continue_kind:
  ------------------
  |  Branch (821:5): [True: 700, False: 224k]
  ------------------
  822|    700|        BEFORE_LOOP_EXIT(state, node_, "continue");
  ------------------
  |  |  129|    700|    if (!before_loop_exit((S), (N), (KW))) { \
  |  |  ------------------
  |  |  |  Branch (129:9): [True: 0, False: 700]
  |  |  ------------------
  |  |  130|      0|        return 0; \
  |  |  131|      0|    }
  ------------------
  823|    700|        break;
  824|       |    // The following statements don't contain any subexpressions to be folded
  825|  2.86k|    case Import_kind:
  ------------------
  |  Branch (825:5): [True: 2.86k, False: 221k]
  ------------------
  826|  5.43k|    case ImportFrom_kind:
  ------------------
  |  Branch (826:5): [True: 2.56k, False: 222k]
  ------------------
  827|  6.33k|    case Global_kind:
  ------------------
  |  Branch (827:5): [True: 904, False: 223k]
  ------------------
  828|  6.53k|    case Nonlocal_kind:
  ------------------
  |  Branch (828:5): [True: 201, False: 224k]
  ------------------
  829|  8.39k|    case Pass_kind:
  ------------------
  |  Branch (829:5): [True: 1.86k, False: 222k]
  ------------------
  830|  8.39k|        break;
  831|       |    // No default case, so the compiler will emit a warning if new statement
  832|       |    // kinds are added without being handled here
  833|   224k|    }
  834|   224k|    LEAVE_RECURSIVE();
  ------------------
  |  |   34|   224k|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
  835|   224k|    return 1;
  836|   224k|}
ast_preprocess.c:astfold_type_param:
  954|  13.7k|{
  955|  13.7k|    switch (node_->kind) {
  ------------------
  |  Branch (955:13): [True: 13.7k, False: 0]
  ------------------
  956|  13.0k|        case TypeVar_kind:
  ------------------
  |  Branch (956:9): [True: 13.0k, False: 643]
  ------------------
  957|  13.0k|            CALL_OPT(astfold_expr, expr_ty, node_->v.TypeVar.bound);
  ------------------
  |  |  413|  13.0k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 1.67k, False: 11.3k]
  |  |  |  Branch (413:26): [True: 0, False: 1.67k]
  |  |  ------------------
  |  |  414|  13.0k|        return 0;
  ------------------
  958|  13.0k|            CALL_OPT(astfold_expr, expr_ty, node_->v.TypeVar.default_value);
  ------------------
  |  |  413|  13.0k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 1.32k, False: 11.7k]
  |  |  |  Branch (413:26): [True: 0, False: 1.32k]
  |  |  ------------------
  |  |  414|  13.0k|        return 0;
  ------------------
  959|  13.0k|            break;
  960|    214|        case ParamSpec_kind:
  ------------------
  |  Branch (960:9): [True: 214, False: 13.5k]
  ------------------
  961|    214|            CALL_OPT(astfold_expr, expr_ty, node_->v.ParamSpec.default_value);
  ------------------
  |  |  413|    214|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 73, False: 141]
  |  |  |  Branch (413:26): [True: 0, False: 73]
  |  |  ------------------
  |  |  414|    214|        return 0;
  ------------------
  962|    214|            break;
  963|    429|        case TypeVarTuple_kind:
  ------------------
  |  Branch (963:9): [True: 429, False: 13.2k]
  ------------------
  964|    429|            CALL_OPT(astfold_expr, expr_ty, node_->v.TypeVarTuple.default_value);
  ------------------
  |  |  413|    429|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 34, False: 395]
  |  |  |  Branch (413:26): [True: 0, False: 34]
  |  |  ------------------
  |  |  414|    429|        return 0;
  ------------------
  965|    429|            break;
  966|  13.7k|    }
  967|  13.7k|    return 1;
  968|  13.7k|}
ast_preprocess.c:astfold_arguments:
  663|  14.4k|{
  664|  14.4k|    CALL_SEQ(astfold_arg, arg, node_->posonlyargs);
  ------------------
  |  |  416|  14.4k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  14.4k|    Py_ssize_t i; \
  |  |  418|  14.4k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  15.1k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  15.1k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  30.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 15.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 751, False: 14.4k]
  |  |  ------------------
  |  |  420|    751|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    751|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    751|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    751|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 751, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 751]
  |  |  ------------------
  |  |  422|    751|            return 0; \
  |  |  423|    751|    } \
  |  |  424|  14.4k|}
  ------------------
  665|  14.4k|    CALL_SEQ(astfold_arg, arg, node_->args);
  ------------------
  |  |  416|  14.4k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  14.4k|    Py_ssize_t i; \
  |  |  418|  14.4k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  18.4k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  18.4k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  36.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 18.4k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 4.04k, False: 14.4k]
  |  |  ------------------
  |  |  420|  4.04k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  4.04k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.04k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  4.04k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 4.04k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 4.04k]
  |  |  ------------------
  |  |  422|  4.04k|            return 0; \
  |  |  423|  4.04k|    } \
  |  |  424|  14.4k|}
  ------------------
  666|  14.4k|    CALL_OPT(astfold_arg, arg_ty, node_->vararg);
  ------------------
  |  |  413|  14.4k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 2.98k, False: 11.4k]
  |  |  |  Branch (413:26): [True: 0, False: 2.98k]
  |  |  ------------------
  |  |  414|  14.4k|        return 0;
  ------------------
  667|  14.4k|    CALL_SEQ(astfold_arg, arg, node_->kwonlyargs);
  ------------------
  |  |  416|  14.4k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  14.4k|    Py_ssize_t i; \
  |  |  418|  14.4k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  18.5k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  18.5k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  37.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 18.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 4.07k, False: 14.4k]
  |  |  ------------------
  |  |  420|  4.07k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  4.07k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.07k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  4.07k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 4.07k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 4.07k]
  |  |  ------------------
  |  |  422|  4.07k|            return 0; \
  |  |  423|  4.07k|    } \
  |  |  424|  14.4k|}
  ------------------
  668|  14.4k|    CALL_SEQ(astfold_expr, expr, node_->kw_defaults);
  ------------------
  |  |  416|  14.4k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  14.4k|    Py_ssize_t i; \
  |  |  418|  14.4k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  18.5k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  18.5k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  37.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 18.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 4.07k, False: 14.4k]
  |  |  ------------------
  |  |  420|  4.07k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  4.07k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.07k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  4.07k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 2.17k, False: 1.89k]
  |  |  |  Branch (421:28): [True: 0, False: 2.17k]
  |  |  ------------------
  |  |  422|  4.07k|            return 0; \
  |  |  423|  4.07k|    } \
  |  |  424|  14.4k|}
  ------------------
  669|  14.4k|    CALL_OPT(astfold_arg, arg_ty, node_->kwarg);
  ------------------
  |  |  413|  14.4k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 1.26k, False: 13.1k]
  |  |  |  Branch (413:26): [True: 0, False: 1.26k]
  |  |  ------------------
  |  |  414|  14.4k|        return 0;
  ------------------
  670|  14.4k|    CALL_SEQ(astfold_expr, expr, node_->defaults);
  ------------------
  |  |  416|  14.4k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  14.4k|    Py_ssize_t i; \
  |  |  418|  14.4k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  15.1k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  15.1k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  30.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 15.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 687, False: 14.4k]
  |  |  ------------------
  |  |  420|    687|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    687|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    687|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    687|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 687, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 687]
  |  |  ------------------
  |  |  422|    687|            return 0; \
  |  |  423|    687|    } \
  |  |  424|  14.4k|}
  ------------------
  671|  14.4k|    return 1;
  672|  14.4k|}
ast_preprocess.c:astfold_arg:
  676|  13.1k|{
  677|  13.1k|    if (!(state->ff_features & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |  147|  13.1k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (677:9): [True: 11.7k, False: 1.32k]
  ------------------
  678|  11.7k|        CALL_OPT(astfold_expr, expr_ty, node_->annotation);
  ------------------
  |  |  413|  11.7k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 871, False: 10.9k]
  |  |  |  Branch (413:26): [True: 0, False: 871]
  |  |  ------------------
  |  |  414|  11.7k|        return 0;
  ------------------
  679|  11.7k|    }
  680|  13.1k|    return 1;
  681|  13.1k|}
ast_preprocess.c:push_cf_context:
   45|  18.0k|{
   46|  18.0k|    if (_Py_CArray_EnsureCapacity(&state->cf_finally, state->cf_finally_used+1) < 0) {
  ------------------
  |  Branch (46:9): [True: 0, False: 18.0k]
  ------------------
   47|      0|        return 0;
   48|      0|    }
   49|       |
   50|  18.0k|    state->cf_finally_used++;
   51|  18.0k|    ControlFlowInFinallyContext *ctx = get_cf_finally_top(state);
   52|       |
   53|  18.0k|    ctx->in_finally = finally;
   54|  18.0k|    ctx->in_funcdef = funcdef;
   55|  18.0k|    ctx->in_loop = loop;
   56|  18.0k|    return 1;
   57|  18.0k|}
ast_preprocess.c:get_cf_finally_top:
   38|  18.5k|{
   39|  18.5k|    int idx = state->cf_finally_used;
   40|  18.5k|    return ((ControlFlowInFinallyContext*)state->cf_finally.array) + idx;
   41|  18.5k|}
ast_preprocess.c:pop_cf_context:
   61|  18.0k|{
   62|  18.0k|    assert(state->cf_finally_used > 0);
  ------------------
  |  Branch (62:5): [True: 18.0k, False: 0]
  ------------------
   63|  18.0k|    state->cf_finally_used--;
   64|  18.0k|}
ast_preprocess.c:astfold_keyword:
  647|  2.61k|{
  648|  2.61k|    CALL(astfold_expr, expr_ty, node_->value);
  ------------------
  |  |  409|  2.61k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 2.61k]
  |  |  ------------------
  |  |  410|  2.61k|        return 0;
  ------------------
  649|  2.61k|    return 1;
  650|  2.61k|}
ast_preprocess.c:before_return:
   83|  1.06k|{
   84|  1.06k|    if (state->enable_warnings && state->cf_finally_used > 0) {
  ------------------
  |  Branch (84:9): [True: 375, False: 687]
  |  Branch (84:35): [True: 246, False: 129]
  ------------------
   85|    246|        ControlFlowInFinallyContext *ctx = get_cf_finally_top(state);
   86|    246|        if (ctx->in_finally && ! ctx->in_funcdef) {
  ------------------
  |  Branch (86:13): [True: 23, False: 223]
  |  Branch (86:32): [True: 23, False: 0]
  ------------------
   87|     23|            if (!control_flow_in_finally_warning("return", node_, state)) {
  ------------------
  |  Branch (87:17): [True: 0, False: 23]
  ------------------
   88|      0|                return 0;
   89|      0|            }
   90|     23|        }
   91|    246|    }
   92|  1.06k|    return 1;
   93|  1.06k|}
ast_preprocess.c:control_flow_in_finally_warning:
   68|    231|{
   69|    231|    PyObject *msg = PyUnicode_FromFormat("'%s' in a 'finally' block", kw);
   70|    231|    if (msg == NULL) {
  ------------------
  |  Branch (70:9): [True: 0, False: 231]
  ------------------
   71|      0|        return 0;
   72|      0|    }
   73|    231|    int ret = _PyErr_EmitSyntaxWarning(msg, state->filename, n->lineno,
   74|    231|                                       n->col_offset + 1, n->end_lineno,
   75|    231|                                       n->end_col_offset + 1,
   76|    231|                                       state->module);
   77|    231|    Py_DECREF(msg);
  ------------------
  |  |  430|    231|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    231|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    231|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   78|    231|    return ret < 0 ? 0 : 1;
  ------------------
  |  Branch (78:12): [True: 0, False: 231]
  ------------------
   79|    231|}
ast_preprocess.c:astfold_withitem:
  854|  13.7k|{
  855|  13.7k|    CALL(astfold_expr, expr_ty, node_->context_expr);
  ------------------
  |  |  409|  13.7k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 13.7k]
  |  |  ------------------
  |  |  410|  13.7k|        return 0;
  ------------------
  856|  13.7k|    CALL_OPT(astfold_expr, expr_ty, node_->optional_vars);
  ------------------
  |  |  413|  13.7k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 1.21k, False: 12.5k]
  |  |  |  Branch (413:26): [True: 0, False: 1.21k]
  |  |  ------------------
  |  |  414|  13.7k|        return 0;
  ------------------
  857|  13.7k|    return 1;
  858|  13.7k|}
ast_preprocess.c:astfold_excepthandler:
  840|  4.43k|{
  841|  4.43k|    switch (node_->kind) {
  ------------------
  |  Branch (841:13): [True: 4.43k, False: 0]
  ------------------
  842|  4.43k|    case ExceptHandler_kind:
  ------------------
  |  Branch (842:5): [True: 4.43k, False: 0]
  ------------------
  843|  4.43k|        CALL_OPT(astfold_expr, expr_ty, node_->v.ExceptHandler.type);
  ------------------
  |  |  413|  4.43k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 2.88k, False: 1.54k]
  |  |  |  Branch (413:26): [True: 0, False: 2.88k]
  |  |  ------------------
  |  |  414|  4.43k|        return 0;
  ------------------
  844|  4.43k|        CALL_SEQ(astfold_stmt, stmt, node_->v.ExceptHandler.body);
  ------------------
  |  |  416|  4.43k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  4.43k|    Py_ssize_t i; \
  |  |  418|  4.43k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  9.84k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  9.84k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  19.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 9.84k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 5.41k, False: 4.43k]
  |  |  ------------------
  |  |  420|  5.41k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  5.41k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  5.41k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  5.41k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 5.41k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 5.41k]
  |  |  ------------------
  |  |  422|  5.41k|            return 0; \
  |  |  423|  5.41k|    } \
  |  |  424|  4.43k|}
  ------------------
  845|  4.43k|        break;
  846|       |    // No default case, so the compiler will emit a warning if new handler
  847|       |    // kinds are added without being handled here
  848|  4.43k|    }
  849|  4.43k|    return 1;
  850|  4.43k|}
ast_preprocess.c:astfold_match_case:
  945|  1.38k|{
  946|  1.38k|    CALL(astfold_pattern, expr_ty, node_->pattern);
  ------------------
  |  |  409|  1.38k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1.38k]
  |  |  ------------------
  |  |  410|  1.38k|        return 0;
  ------------------
  947|  1.38k|    CALL_OPT(astfold_expr, expr_ty, node_->guard);
  ------------------
  |  |  413|  1.38k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 5, False: 1.38k]
  |  |  |  Branch (413:26): [True: 0, False: 5]
  |  |  ------------------
  |  |  414|  1.38k|        return 0;
  ------------------
  948|  1.38k|    CALL_SEQ(astfold_stmt, stmt, node_->body);
  ------------------
  |  |  416|  1.38k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.38k|    Py_ssize_t i; \
  |  |  418|  1.38k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  2.91k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.91k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  5.83k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.91k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.52k, False: 1.38k]
  |  |  ------------------
  |  |  420|  1.52k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.52k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.52k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.52k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.52k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.52k]
  |  |  ------------------
  |  |  422|  1.52k|            return 0; \
  |  |  423|  1.52k|    } \
  |  |  424|  1.38k|}
  ------------------
  949|  1.38k|    return 1;
  950|  1.38k|}
ast_preprocess.c:astfold_pattern:
  903|  19.6k|{
  904|       |    // Currently, this is really only used to form complex/negative numeric
  905|       |    // constants in MatchValue and MatchMapping nodes
  906|       |    // We still recurse into all subexpressions and subpatterns anyway
  907|  19.6k|    ENTER_RECURSIVE();
  ------------------
  |  |   29|  19.6k|#define ENTER_RECURSIVE() \
  |  |   30|  19.6k|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (30:5): [True: 0, False: 19.6k]
  |  |  ------------------
  |  |   31|      0|    return 0; \
  |  |   32|      0|}
  ------------------
  908|  19.6k|    switch (node_->kind) {
  ------------------
  |  Branch (908:13): [True: 19.6k, False: 0]
  ------------------
  909|  2.08k|        case MatchValue_kind:
  ------------------
  |  Branch (909:9): [True: 2.08k, False: 17.6k]
  ------------------
  910|  2.08k|            CALL(fold_const_match_patterns, expr_ty, node_->v.MatchValue.value);
  ------------------
  |  |  409|  2.08k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 2.08k]
  |  |  ------------------
  |  |  410|  2.08k|        return 0;
  ------------------
  911|  2.08k|            break;
  912|    689|        case MatchSingleton_kind:
  ------------------
  |  Branch (912:9): [True: 689, False: 18.9k]
  ------------------
  913|    689|            break;
  914|  1.28k|        case MatchSequence_kind:
  ------------------
  |  Branch (914:9): [True: 1.28k, False: 18.4k]
  ------------------
  915|  1.28k|            CALL_SEQ(astfold_pattern, pattern, node_->v.MatchSequence.patterns);
  ------------------
  |  |  416|  1.28k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.28k|    Py_ssize_t i; \
  |  |  418|  1.28k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  15.8k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  15.8k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  31.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 18, False: 15.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 14.5k, False: 1.28k]
  |  |  ------------------
  |  |  420|  14.5k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  14.5k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  14.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  14.5k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 14.5k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 14.5k]
  |  |  ------------------
  |  |  422|  14.5k|            return 0; \
  |  |  423|  14.5k|    } \
  |  |  424|  1.28k|}
  ------------------
  916|  1.28k|            break;
  917|     30|        case MatchMapping_kind:
  ------------------
  |  Branch (917:9): [True: 30, False: 19.6k]
  ------------------
  918|     30|            CALL_SEQ(fold_const_match_patterns, expr, node_->v.MatchMapping.keys);
  ------------------
  |  |  416|     30|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|     30|    Py_ssize_t i; \
  |  |  418|     30|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    114|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    114|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    228|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 16, False: 98]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 84, False: 30]
  |  |  ------------------
  |  |  420|     84|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     84|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     84|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|     84|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 84, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 84]
  |  |  ------------------
  |  |  422|     84|            return 0; \
  |  |  423|     84|    } \
  |  |  424|     30|}
  ------------------
  919|     30|            CALL_SEQ(astfold_pattern, pattern, node_->v.MatchMapping.patterns);
  ------------------
  |  |  416|     30|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|     30|    Py_ssize_t i; \
  |  |  418|     30|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    114|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    114|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    228|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 16, False: 98]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 84, False: 30]
  |  |  ------------------
  |  |  420|     84|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     84|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     84|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|     84|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 84, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 84]
  |  |  ------------------
  |  |  422|     84|            return 0; \
  |  |  423|     84|    } \
  |  |  424|     30|}
  ------------------
  920|     30|            break;
  921|    511|        case MatchClass_kind:
  ------------------
  |  Branch (921:9): [True: 511, False: 19.1k]
  ------------------
  922|    511|            CALL(astfold_expr, expr_ty, node_->v.MatchClass.cls);
  ------------------
  |  |  409|    511|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 511]
  |  |  ------------------
  |  |  410|    511|        return 0;
  ------------------
  923|    511|            CALL_SEQ(astfold_pattern, pattern, node_->v.MatchClass.patterns);
  ------------------
  |  |  416|    511|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    511|    Py_ssize_t i; \
  |  |  418|    511|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  1.57k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.57k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.15k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 27, False: 1.55k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.06k, False: 511]
  |  |  ------------------
  |  |  420|  1.06k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.06k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.06k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.06k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.06k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.06k]
  |  |  ------------------
  |  |  422|  1.06k|            return 0; \
  |  |  423|  1.06k|    } \
  |  |  424|    511|}
  ------------------
  924|    511|            CALL_SEQ(astfold_pattern, pattern, node_->v.MatchClass.kwd_patterns);
  ------------------
  |  |  416|    511|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    511|    Py_ssize_t i; \
  |  |  418|    511|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    628|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    628|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.25k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 484, False: 144]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 117, False: 511]
  |  |  ------------------
  |  |  420|    117|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    117|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    117|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    117|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 117, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 117]
  |  |  ------------------
  |  |  422|    117|            return 0; \
  |  |  423|    117|    } \
  |  |  424|    511|}
  ------------------
  925|    511|            break;
  926|  1.83k|        case MatchStar_kind:
  ------------------
  |  Branch (926:9): [True: 1.83k, False: 17.8k]
  ------------------
  927|  1.83k|            break;
  928|  12.1k|        case MatchAs_kind:
  ------------------
  |  Branch (928:9): [True: 12.1k, False: 7.51k]
  ------------------
  929|  12.1k|            if (node_->v.MatchAs.pattern) {
  ------------------
  |  Branch (929:17): [True: 243, False: 11.9k]
  ------------------
  930|    243|                CALL(astfold_pattern, pattern_ty, node_->v.MatchAs.pattern);
  ------------------
  |  |  409|    243|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 243]
  |  |  ------------------
  |  |  410|    243|        return 0;
  ------------------
  931|    243|            }
  932|  12.1k|            break;
  933|  12.1k|        case MatchOr_kind:
  ------------------
  |  Branch (933:9): [True: 1.08k, False: 18.5k]
  ------------------
  934|  1.08k|            CALL_SEQ(astfold_pattern, pattern, node_->v.MatchOr.patterns);
  ------------------
  |  |  416|  1.08k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.08k|    Py_ssize_t i; \
  |  |  418|  1.08k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  3.27k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.27k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  6.54k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 3.27k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 2.18k, False: 1.08k]
  |  |  ------------------
  |  |  420|  2.18k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  2.18k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.18k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  2.18k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 2.18k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 2.18k]
  |  |  ------------------
  |  |  422|  2.18k|            return 0; \
  |  |  423|  2.18k|    } \
  |  |  424|  1.08k|}
  ------------------
  935|  1.08k|            break;
  936|       |    // No default case, so the compiler will emit a warning if new pattern
  937|       |    // kinds are added without being handled here
  938|  19.6k|    }
  939|  19.6k|    LEAVE_RECURSIVE();
  ------------------
  |  |   34|  19.6k|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
  940|  19.6k|    return 1;
  941|  19.6k|}
ast_preprocess.c:fold_const_match_patterns:
  862|  2.17k|{
  863|  2.17k|    if (state->syntax_check_only) {
  ------------------
  |  Branch (863:9): [True: 748, False: 1.42k]
  ------------------
  864|    748|        return 1;
  865|    748|    }
  866|  1.42k|    switch (node->kind)
  867|  1.42k|    {
  868|     35|        case UnaryOp_kind:
  ------------------
  |  Branch (868:9): [True: 35, False: 1.38k]
  ------------------
  869|     35|        {
  870|     35|            if (node->v.UnaryOp.op == USub &&
  ------------------
  |  Branch (870:17): [True: 35, False: 0]
  ------------------
  871|     35|                node->v.UnaryOp.operand->kind == Constant_kind)
  ------------------
  |  Branch (871:17): [True: 35, False: 0]
  ------------------
  872|     35|            {
  873|     35|                PyObject *operand = node->v.UnaryOp.operand->v.Constant.value;
  874|     35|                PyObject *folded = PyNumber_Negative(operand);
  875|     35|                return make_const(node, folded, ctx_);
  876|     35|            }
  877|      0|            break;
  878|     35|        }
  879|      5|        case BinOp_kind:
  ------------------
  |  Branch (879:9): [True: 5, False: 1.41k]
  ------------------
  880|      5|        {
  881|      5|            operator_ty op = node->v.BinOp.op;
  882|      5|            if ((op == Add || op == Sub) &&
  ------------------
  |  Branch (882:18): [True: 3, False: 2]
  |  Branch (882:31): [True: 2, False: 0]
  ------------------
  883|      5|                node->v.BinOp.right->kind == Constant_kind)
  ------------------
  |  Branch (883:17): [True: 5, False: 0]
  ------------------
  884|      5|            {
  885|      5|                CALL(fold_const_match_patterns, expr_ty, node->v.BinOp.left);
  ------------------
  |  |  409|      5|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 5]
  |  |  ------------------
  |  |  410|      5|        return 0;
  ------------------
  886|      5|                if (node->v.BinOp.left->kind == Constant_kind) {
  ------------------
  |  Branch (886:21): [True: 5, False: 0]
  ------------------
  887|      5|                    PyObject *left = node->v.BinOp.left->v.Constant.value;
  888|      5|                    PyObject *right = node->v.BinOp.right->v.Constant.value;
  889|      5|                    PyObject *folded = op == Add ? PyNumber_Add(left, right) : PyNumber_Subtract(left, right);
  ------------------
  |  Branch (889:40): [True: 3, False: 2]
  ------------------
  890|      5|                    return make_const(node, folded, ctx_);
  891|      5|                }
  892|      5|            }
  893|      0|            break;
  894|      5|        }
  895|  1.38k|        default:
  ------------------
  |  Branch (895:9): [True: 1.38k, False: 40]
  ------------------
  896|  1.38k|            break;
  897|  1.42k|    }
  898|  1.38k|    return 1;
  899|  1.42k|}
ast_preprocess.c:make_const:
  135|    294|{
  136|       |    // Even if no new value was calculated, make_const may still
  137|       |    // need to clear an error (e.g. for division by zero)
  138|    294|    if (val == NULL) {
  ------------------
  |  Branch (138:9): [True: 0, False: 294]
  ------------------
  139|      0|        if (PyErr_ExceptionMatches(PyExc_KeyboardInterrupt)) {
  ------------------
  |  Branch (139:13): [True: 0, False: 0]
  ------------------
  140|      0|            return 0;
  141|      0|        }
  142|      0|        PyErr_Clear();
  143|      0|        return 1;
  144|      0|    }
  145|    294|    if (_PyArena_AddPyObject(arena, val) < 0) {
  ------------------
  |  Branch (145:9): [True: 0, False: 294]
  ------------------
  146|      0|        Py_DECREF(val);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  147|      0|        return 0;
  148|      0|    }
  149|    294|    node->kind = Constant_kind;
  150|       |    node->v.Constant.kind = NULL;
  151|    294|    node->v.Constant.value = val;
  152|    294|    return 1;
  153|    294|}
ast_preprocess.c:before_loop_exit:
   97|  1.09k|{
   98|  1.09k|    if (state->enable_warnings && state->cf_finally_used > 0) {
  ------------------
  |  Branch (98:9): [True: 573, False: 523]
  |  Branch (98:35): [True: 323, False: 250]
  ------------------
   99|    323|        ControlFlowInFinallyContext *ctx = get_cf_finally_top(state);
  100|    323|        if (ctx->in_finally && ! ctx->in_loop) {
  ------------------
  |  Branch (100:13): [True: 208, False: 115]
  |  Branch (100:32): [True: 208, False: 0]
  ------------------
  101|    208|            if (!control_flow_in_finally_warning(kw, node_, state)) {
  ------------------
  |  Branch (101:17): [True: 0, False: 208]
  ------------------
  102|      0|                return 0;
  103|      0|            }
  104|    208|        }
  105|    323|    }
  106|  1.09k|    return 1;
  107|  1.09k|}
ast_preprocess.c:astfold_expr:
  520|  2.58M|{
  521|  2.58M|    ENTER_RECURSIVE();
  ------------------
  |  |   29|  2.58M|#define ENTER_RECURSIVE() \
  |  |   30|  2.58M|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (30:5): [True: 0, False: 2.58M]
  |  |  ------------------
  |  |   31|      0|    return 0; \
  |  |   32|      0|}
  ------------------
  522|  2.58M|    switch (node_->kind) {
  ------------------
  |  Branch (522:13): [True: 2.58M, False: 0]
  ------------------
  523|  3.64k|    case BoolOp_kind:
  ------------------
  |  Branch (523:5): [True: 3.64k, False: 2.57M]
  ------------------
  524|  3.64k|        CALL_SEQ(astfold_expr, expr, node_->v.BoolOp.values);
  ------------------
  |  |  416|  3.64k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  3.64k|    Py_ssize_t i; \
  |  |  418|  3.64k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  14.2k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  14.2k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  28.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 14.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 10.5k, False: 3.64k]
  |  |  ------------------
  |  |  420|  10.5k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  10.5k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  10.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  10.5k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 10.5k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 10.5k]
  |  |  ------------------
  |  |  422|  10.5k|            return 0; \
  |  |  423|  10.5k|    } \
  |  |  424|  3.64k|}
  ------------------
  525|  3.64k|        break;
  526|   742k|    case BinOp_kind:
  ------------------
  |  Branch (526:5): [True: 742k, False: 1.83M]
  ------------------
  527|   742k|        CALL(astfold_expr, expr_ty, node_->v.BinOp.left);
  ------------------
  |  |  409|   742k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 742k]
  |  |  ------------------
  |  |  410|   742k|        return 0;
  ------------------
  528|   742k|        CALL(astfold_expr, expr_ty, node_->v.BinOp.right);
  ------------------
  |  |  409|   742k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 742k]
  |  |  ------------------
  |  |  410|   742k|        return 0;
  ------------------
  529|   742k|        CALL(fold_binop, expr_ty, node_);
  ------------------
  |  |  409|   742k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 742k]
  |  |  ------------------
  |  |  410|   742k|        return 0;
  ------------------
  530|   742k|        break;
  531|   235k|    case UnaryOp_kind:
  ------------------
  |  Branch (531:5): [True: 235k, False: 2.34M]
  ------------------
  532|   235k|        CALL(astfold_expr, expr_ty, node_->v.UnaryOp.operand);
  ------------------
  |  |  409|   235k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 235k]
  |  |  ------------------
  |  |  410|   235k|        return 0;
  ------------------
  533|   235k|        break;
  534|  4.78k|    case Lambda_kind:
  ------------------
  |  Branch (534:5): [True: 4.78k, False: 2.57M]
  ------------------
  535|  4.78k|        CALL(astfold_arguments, arguments_ty, node_->v.Lambda.args);
  ------------------
  |  |  409|  4.78k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 4.78k]
  |  |  ------------------
  |  |  410|  4.78k|        return 0;
  ------------------
  536|  4.78k|        CALL(astfold_expr, expr_ty, node_->v.Lambda.body);
  ------------------
  |  |  409|  4.78k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 4.78k]
  |  |  ------------------
  |  |  410|  4.78k|        return 0;
  ------------------
  537|  4.78k|        break;
  538|  1.54k|    case IfExp_kind:
  ------------------
  |  Branch (538:5): [True: 1.54k, False: 2.57M]
  ------------------
  539|  1.54k|        CALL(astfold_expr, expr_ty, node_->v.IfExp.test);
  ------------------
  |  |  409|  1.54k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1.54k]
  |  |  ------------------
  |  |  410|  1.54k|        return 0;
  ------------------
  540|  1.54k|        CALL(astfold_expr, expr_ty, node_->v.IfExp.body);
  ------------------
  |  |  409|  1.54k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1.54k]
  |  |  ------------------
  |  |  410|  1.54k|        return 0;
  ------------------
  541|  1.54k|        CALL(astfold_expr, expr_ty, node_->v.IfExp.orelse);
  ------------------
  |  |  409|  1.54k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1.54k]
  |  |  ------------------
  |  |  410|  1.54k|        return 0;
  ------------------
  542|  1.54k|        break;
  543|    614|    case Dict_kind:
  ------------------
  |  Branch (543:5): [True: 614, False: 2.58M]
  ------------------
  544|    614|        CALL_SEQ(astfold_expr, expr, node_->v.Dict.keys);
  ------------------
  |  |  416|    614|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    614|    Py_ssize_t i; \
  |  |  418|    614|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  1.23k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.23k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.47k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.23k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 625, False: 614]
  |  |  ------------------
  |  |  420|    625|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    625|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    625|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    625|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 489, False: 136]
  |  |  |  Branch (421:28): [True: 0, False: 489]
  |  |  ------------------
  |  |  422|    625|            return 0; \
  |  |  423|    625|    } \
  |  |  424|    614|}
  ------------------
  545|    614|        CALL_SEQ(astfold_expr, expr, node_->v.Dict.values);
  ------------------
  |  |  416|    614|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    614|    Py_ssize_t i; \
  |  |  418|    614|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  1.23k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.23k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.47k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.23k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 625, False: 614]
  |  |  ------------------
  |  |  420|    625|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    625|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    625|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    625|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 625, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 625]
  |  |  ------------------
  |  |  422|    625|            return 0; \
  |  |  423|    625|    } \
  |  |  424|    614|}
  ------------------
  546|    614|        break;
  547|  7.12k|    case Set_kind:
  ------------------
  |  Branch (547:5): [True: 7.12k, False: 2.57M]
  ------------------
  548|  7.12k|        CALL_SEQ(astfold_expr, expr, node_->v.Set.elts);
  ------------------
  |  |  416|  7.12k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  7.12k|    Py_ssize_t i; \
  |  |  418|  7.12k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  39.1k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  39.1k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  78.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 39.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 31.9k, False: 7.12k]
  |  |  ------------------
  |  |  420|  31.9k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  31.9k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  31.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  31.9k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 31.9k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 31.9k]
  |  |  ------------------
  |  |  422|  31.9k|            return 0; \
  |  |  423|  31.9k|    } \
  |  |  424|  7.12k|}
  ------------------
  549|  7.12k|        break;
  550|  1.51k|    case ListComp_kind:
  ------------------
  |  Branch (550:5): [True: 1.51k, False: 2.57M]
  ------------------
  551|  1.51k|        CALL(astfold_expr, expr_ty, node_->v.ListComp.elt);
  ------------------
  |  |  409|  1.51k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1.51k]
  |  |  ------------------
  |  |  410|  1.51k|        return 0;
  ------------------
  552|  1.51k|        CALL_SEQ(astfold_comprehension, comprehension, node_->v.ListComp.generators);
  ------------------
  |  |  416|  1.51k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.51k|    Py_ssize_t i; \
  |  |  418|  1.51k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  3.37k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.37k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  6.75k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 3.37k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.85k, False: 1.51k]
  |  |  ------------------
  |  |  420|  1.85k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.85k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.85k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.85k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.85k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.85k]
  |  |  ------------------
  |  |  422|  1.85k|            return 0; \
  |  |  423|  1.85k|    } \
  |  |  424|  1.51k|}
  ------------------
  553|  1.51k|        break;
  554|  2.87k|    case SetComp_kind:
  ------------------
  |  Branch (554:5): [True: 2.87k, False: 2.57M]
  ------------------
  555|  2.87k|        CALL(astfold_expr, expr_ty, node_->v.SetComp.elt);
  ------------------
  |  |  409|  2.87k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 2.87k]
  |  |  ------------------
  |  |  410|  2.87k|        return 0;
  ------------------
  556|  2.87k|        CALL_SEQ(astfold_comprehension, comprehension, node_->v.SetComp.generators);
  ------------------
  |  |  416|  2.87k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  2.87k|    Py_ssize_t i; \
  |  |  418|  2.87k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  5.88k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  5.88k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  11.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 5.88k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 3.00k, False: 2.87k]
  |  |  ------------------
  |  |  420|  3.00k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  3.00k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.00k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  3.00k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 3.00k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 3.00k]
  |  |  ------------------
  |  |  422|  3.00k|            return 0; \
  |  |  423|  3.00k|    } \
  |  |  424|  2.87k|}
  ------------------
  557|  2.87k|        break;
  558|    904|    case DictComp_kind:
  ------------------
  |  Branch (558:5): [True: 904, False: 2.58M]
  ------------------
  559|    904|        CALL(astfold_expr, expr_ty, node_->v.DictComp.key);
  ------------------
  |  |  409|    904|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 904]
  |  |  ------------------
  |  |  410|    904|        return 0;
  ------------------
  560|    904|        if (node_->v.DictComp.value != NULL){
  ------------------
  |  Branch (560:13): [True: 490, False: 414]
  ------------------
  561|    490|            CALL(astfold_expr, expr_ty, node_->v.DictComp.value);
  ------------------
  |  |  409|    490|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 490]
  |  |  ------------------
  |  |  410|    490|        return 0;
  ------------------
  562|    490|        }
  563|    904|        CALL_SEQ(astfold_comprehension, comprehension, node_->v.DictComp.generators);
  ------------------
  |  |  416|    904|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    904|    Py_ssize_t i; \
  |  |  418|    904|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  2.00k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.00k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.01k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.00k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.10k, False: 904]
  |  |  ------------------
  |  |  420|  1.10k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.10k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.10k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.10k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.10k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.10k]
  |  |  ------------------
  |  |  422|  1.10k|            return 0; \
  |  |  423|  1.10k|    } \
  |  |  424|    904|}
  ------------------
  564|    904|        break;
  565|    605|    case GeneratorExp_kind:
  ------------------
  |  Branch (565:5): [True: 605, False: 2.58M]
  ------------------
  566|    605|        CALL(astfold_expr, expr_ty, node_->v.GeneratorExp.elt);
  ------------------
  |  |  409|    605|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 605]
  |  |  ------------------
  |  |  410|    605|        return 0;
  ------------------
  567|    605|        CALL_SEQ(astfold_comprehension, comprehension, node_->v.GeneratorExp.generators);
  ------------------
  |  |  416|    605|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    605|    Py_ssize_t i; \
  |  |  418|    605|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  1.23k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.23k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.47k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.23k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 631, False: 605]
  |  |  ------------------
  |  |  420|    631|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    631|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    631|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    631|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 631, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 631]
  |  |  ------------------
  |  |  422|    631|            return 0; \
  |  |  423|    631|    } \
  |  |  424|    605|}
  ------------------
  568|    605|        break;
  569|  1.17k|    case Await_kind:
  ------------------
  |  Branch (569:5): [True: 1.17k, False: 2.58M]
  ------------------
  570|  1.17k|        CALL(astfold_expr, expr_ty, node_->v.Await.value);
  ------------------
  |  |  409|  1.17k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1.17k]
  |  |  ------------------
  |  |  410|  1.17k|        return 0;
  ------------------
  571|  1.17k|        break;
  572|  1.50k|    case Yield_kind:
  ------------------
  |  Branch (572:5): [True: 1.50k, False: 2.57M]
  ------------------
  573|  1.50k|        CALL_OPT(astfold_expr, expr_ty, node_->v.Yield.value);
  ------------------
  |  |  413|  1.50k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 526, False: 980]
  |  |  |  Branch (413:26): [True: 0, False: 526]
  |  |  ------------------
  |  |  414|  1.50k|        return 0;
  ------------------
  574|  1.50k|        break;
  575|    226|    case YieldFrom_kind:
  ------------------
  |  Branch (575:5): [True: 226, False: 2.58M]
  ------------------
  576|    226|        CALL(astfold_expr, expr_ty, node_->v.YieldFrom.value);
  ------------------
  |  |  409|    226|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 226]
  |  |  ------------------
  |  |  410|    226|        return 0;
  ------------------
  577|    226|        break;
  578|  20.4k|    case Compare_kind:
  ------------------
  |  Branch (578:5): [True: 20.4k, False: 2.56M]
  ------------------
  579|  20.4k|        CALL(astfold_expr, expr_ty, node_->v.Compare.left);
  ------------------
  |  |  409|  20.4k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 20.4k]
  |  |  ------------------
  |  |  410|  20.4k|        return 0;
  ------------------
  580|  20.4k|        CALL_SEQ(astfold_expr, expr, node_->v.Compare.comparators);
  ------------------
  |  |  416|  20.4k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  20.4k|    Py_ssize_t i; \
  |  |  418|  20.4k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  94.1k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  94.1k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|   188k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 94.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 73.7k, False: 20.4k]
  |  |  ------------------
  |  |  420|  73.7k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  73.7k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  73.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  73.7k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 73.7k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 73.7k]
  |  |  ------------------
  |  |  422|  73.7k|            return 0; \
  |  |  423|  73.7k|    } \
  |  |  424|  20.4k|}
  ------------------
  581|  20.4k|        break;
  582|  13.6k|    case Call_kind:
  ------------------
  |  Branch (582:5): [True: 13.6k, False: 2.56M]
  ------------------
  583|  13.6k|        CALL(astfold_expr, expr_ty, node_->v.Call.func);
  ------------------
  |  |  409|  13.6k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 13.6k]
  |  |  ------------------
  |  |  410|  13.6k|        return 0;
  ------------------
  584|  13.6k|        CALL_SEQ(astfold_expr, expr, node_->v.Call.args);
  ------------------
  |  |  416|  13.6k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  13.6k|    Py_ssize_t i; \
  |  |  418|  13.6k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  30.8k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  30.8k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  61.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 3.25k, False: 27.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 17.1k, False: 13.6k]
  |  |  ------------------
  |  |  420|  17.1k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  17.1k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  17.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  17.1k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 17.1k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 17.1k]
  |  |  ------------------
  |  |  422|  17.1k|            return 0; \
  |  |  423|  17.1k|    } \
  |  |  424|  13.6k|}
  ------------------
  585|  13.6k|        CALL_SEQ(astfold_keyword, keyword, node_->v.Call.keywords);
  ------------------
  |  |  416|  13.6k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  13.6k|    Py_ssize_t i; \
  |  |  418|  13.6k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  16.2k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  16.2k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  32.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 11.8k, False: 4.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 2.55k, False: 13.6k]
  |  |  ------------------
  |  |  420|  2.55k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  2.55k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.55k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  2.55k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 2.55k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 2.55k]
  |  |  ------------------
  |  |  422|  2.55k|            return 0; \
  |  |  423|  2.55k|    } \
  |  |  424|  13.6k|}
  ------------------
  586|  13.6k|        break;
  587|  4.71k|    case FormattedValue_kind:
  ------------------
  |  Branch (587:5): [True: 4.71k, False: 2.57M]
  ------------------
  588|  4.71k|        CALL(astfold_expr, expr_ty, node_->v.FormattedValue.value);
  ------------------
  |  |  409|  4.71k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 4.71k]
  |  |  ------------------
  |  |  410|  4.71k|        return 0;
  ------------------
  589|  4.71k|        CALL_OPT(astfold_expr, expr_ty, node_->v.FormattedValue.format_spec);
  ------------------
  |  |  413|  4.71k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 1.86k, False: 2.84k]
  |  |  |  Branch (413:26): [True: 0, False: 1.86k]
  |  |  ------------------
  |  |  414|  4.71k|        return 0;
  ------------------
  590|  4.71k|        break;
  591|  1.93k|    case Interpolation_kind:
  ------------------
  |  Branch (591:5): [True: 1.93k, False: 2.57M]
  ------------------
  592|  1.93k|        CALL(astfold_expr, expr_ty, node_->v.Interpolation.value);
  ------------------
  |  |  409|  1.93k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1.93k]
  |  |  ------------------
  |  |  410|  1.93k|        return 0;
  ------------------
  593|  1.93k|        CALL_OPT(astfold_expr, expr_ty, node_->v.Interpolation.format_spec);
  ------------------
  |  |  413|  1.93k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 952, False: 978]
  |  |  |  Branch (413:26): [True: 0, False: 952]
  |  |  ------------------
  |  |  414|  1.93k|        return 0;
  ------------------
  594|  1.93k|        break;
  595|  4.07k|    case JoinedStr_kind:
  ------------------
  |  Branch (595:5): [True: 4.07k, False: 2.57M]
  ------------------
  596|  4.07k|        CALL_SEQ(astfold_expr, expr, node_->v.JoinedStr.values);
  ------------------
  |  |  416|  4.07k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  4.07k|    Py_ssize_t i; \
  |  |  418|  4.07k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  14.7k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  14.7k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  29.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 14.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 10.6k, False: 4.07k]
  |  |  ------------------
  |  |  420|  10.6k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  10.6k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  10.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  10.6k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 10.6k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 10.6k]
  |  |  ------------------
  |  |  422|  10.6k|            return 0; \
  |  |  423|  10.6k|    } \
  |  |  424|  4.07k|}
  ------------------
  597|  4.07k|        break;
  598|  1.19k|    case TemplateStr_kind:
  ------------------
  |  Branch (598:5): [True: 1.19k, False: 2.58M]
  ------------------
  599|  1.19k|        CALL_SEQ(astfold_expr, expr, node_->v.TemplateStr.values);
  ------------------
  |  |  416|  1.19k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.19k|    Py_ssize_t i; \
  |  |  418|  1.19k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  4.62k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  4.62k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  9.24k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 4.62k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 3.42k, False: 1.19k]
  |  |  ------------------
  |  |  420|  3.42k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  3.42k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.42k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  3.42k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 3.42k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 3.42k]
  |  |  ------------------
  |  |  422|  3.42k|            return 0; \
  |  |  423|  3.42k|    } \
  |  |  424|  1.19k|}
  ------------------
  600|  1.19k|        break;
  601|  21.1k|    case Attribute_kind:
  ------------------
  |  Branch (601:5): [True: 21.1k, False: 2.56M]
  ------------------
  602|  21.1k|        CALL(astfold_expr, expr_ty, node_->v.Attribute.value);
  ------------------
  |  |  409|  21.1k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 21.1k]
  |  |  ------------------
  |  |  410|  21.1k|        return 0;
  ------------------
  603|  21.1k|        break;
  604|  11.6k|    case Subscript_kind:
  ------------------
  |  Branch (604:5): [True: 11.6k, False: 2.56M]
  ------------------
  605|  11.6k|        CALL(astfold_expr, expr_ty, node_->v.Subscript.value);
  ------------------
  |  |  409|  11.6k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 11.6k]
  |  |  ------------------
  |  |  410|  11.6k|        return 0;
  ------------------
  606|  11.6k|        CALL(astfold_expr, expr_ty, node_->v.Subscript.slice);
  ------------------
  |  |  409|  11.6k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 11.6k]
  |  |  ------------------
  |  |  410|  11.6k|        return 0;
  ------------------
  607|  11.6k|        break;
  608|  10.8k|    case Starred_kind:
  ------------------
  |  Branch (608:5): [True: 10.8k, False: 2.57M]
  ------------------
  609|  10.8k|        CALL(astfold_expr, expr_ty, node_->v.Starred.value);
  ------------------
  |  |  409|  10.8k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 10.8k]
  |  |  ------------------
  |  |  410|  10.8k|        return 0;
  ------------------
  610|  10.8k|        break;
  611|  14.6k|    case Slice_kind:
  ------------------
  |  Branch (611:5): [True: 14.6k, False: 2.56M]
  ------------------
  612|  14.6k|        CALL_OPT(astfold_expr, expr_ty, node_->v.Slice.lower);
  ------------------
  |  |  413|  14.6k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 9.85k, False: 4.76k]
  |  |  |  Branch (413:26): [True: 0, False: 9.85k]
  |  |  ------------------
  |  |  414|  14.6k|        return 0;
  ------------------
  613|  14.6k|        CALL_OPT(astfold_expr, expr_ty, node_->v.Slice.upper);
  ------------------
  |  |  413|  14.6k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 5.79k, False: 8.82k]
  |  |  |  Branch (413:26): [True: 0, False: 5.79k]
  |  |  ------------------
  |  |  414|  14.6k|        return 0;
  ------------------
  614|  14.6k|        CALL_OPT(astfold_expr, expr_ty, node_->v.Slice.step);
  ------------------
  |  |  413|  14.6k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 4.29k, False: 10.3k]
  |  |  |  Branch (413:26): [True: 0, False: 4.29k]
  |  |  ------------------
  |  |  414|  14.6k|        return 0;
  ------------------
  615|  14.6k|        break;
  616|  3.10k|    case List_kind:
  ------------------
  |  Branch (616:5): [True: 3.10k, False: 2.57M]
  ------------------
  617|  3.10k|        CALL_SEQ(astfold_expr, expr, node_->v.List.elts);
  ------------------
  |  |  416|  3.10k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  3.10k|    Py_ssize_t i; \
  |  |  418|  3.10k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  5.94k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  5.94k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  11.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 380, False: 5.56k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 2.84k, False: 3.10k]
  |  |  ------------------
  |  |  420|  2.84k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  2.84k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.84k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  2.84k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 2.84k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 2.84k]
  |  |  ------------------
  |  |  422|  2.84k|            return 0; \
  |  |  423|  2.84k|    } \
  |  |  424|  3.10k|}
  ------------------
  618|  3.10k|        break;
  619|  84.4k|    case Tuple_kind:
  ------------------
  |  Branch (619:5): [True: 84.4k, False: 2.49M]
  ------------------
  620|  84.4k|        CALL_SEQ(astfold_expr, expr, node_->v.Tuple.elts);
  ------------------
  |  |  416|  84.4k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  84.4k|    Py_ssize_t i; \
  |  |  418|  84.4k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|   331k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|   331k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|   663k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 9.68k, False: 322k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 247k, False: 84.4k]
  |  |  ------------------
  |  |  420|   247k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|   247k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|   247k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|   247k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 247k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 247k]
  |  |  ------------------
  |  |  422|   247k|            return 0; \
  |  |  423|   247k|    } \
  |  |  424|  84.4k|}
  ------------------
  621|  84.4k|        break;
  622|   488k|    case Name_kind:
  ------------------
  |  Branch (622:5): [True: 488k, False: 2.09M]
  ------------------
  623|   488k|        if (state->syntax_check_only) {
  ------------------
  |  Branch (623:13): [True: 46.5k, False: 442k]
  ------------------
  624|  46.5k|            break;
  625|  46.5k|        }
  626|   442k|        if (node_->v.Name.ctx == Load &&
  ------------------
  |  Branch (626:13): [True: 294k, False: 147k]
  ------------------
  627|   294k|                _PyUnicode_EqualToASCIIString(node_->v.Name.id, "__debug__")) {
  ------------------
  |  Branch (627:17): [True: 254, False: 294k]
  ------------------
  628|    254|            LEAVE_RECURSIVE();
  ------------------
  |  |   34|    254|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
  629|    254|            return make_const(node_, PyBool_FromLong(!state->optimize), ctx_);
  630|    254|        }
  631|   442k|        break;
  632|   442k|    case NamedExpr_kind:
  ------------------
  |  Branch (632:5): [True: 2.11k, False: 2.57M]
  ------------------
  633|  2.11k|        CALL(astfold_expr, expr_ty, node_->v.NamedExpr.value);
  ------------------
  |  |  409|  2.11k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 2.11k]
  |  |  ------------------
  |  |  410|  2.11k|        return 0;
  ------------------
  634|  2.11k|        break;
  635|   893k|    case Constant_kind:
  ------------------
  |  Branch (635:5): [True: 893k, False: 1.68M]
  ------------------
  636|       |        // Already a constant, nothing further to do
  637|   893k|        break;
  638|       |    // No default case, so the compiler will emit a warning if new expression
  639|       |    // kinds are added without being handled here
  640|  2.58M|    }
  641|  2.58M|    LEAVE_RECURSIVE();
  ------------------
  |  |   34|  2.58M|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
  642|  2.58M|    return 1;
  643|  2.58M|}
ast_preprocess.c:fold_binop:
  372|   742k|{
  373|   742k|    if (state->syntax_check_only) {
  ------------------
  |  Branch (373:9): [True: 9.66k, False: 732k]
  ------------------
  374|  9.66k|        return 1;
  375|  9.66k|    }
  376|   732k|    expr_ty lhs, rhs;
  377|   732k|    lhs = node->v.BinOp.left;
  378|   732k|    rhs = node->v.BinOp.right;
  379|   732k|    if (lhs->kind != Constant_kind) {
  ------------------
  |  Branch (379:9): [True: 501k, False: 231k]
  ------------------
  380|   501k|        return 1;
  381|   501k|    }
  382|   231k|    PyObject *lv = lhs->v.Constant.value;
  383|       |
  384|   231k|    if (node->v.BinOp.op == Mod &&
  ------------------
  |  Branch (384:9): [True: 22.3k, False: 209k]
  ------------------
  385|  22.3k|        rhs->kind == Tuple_kind &&
  ------------------
  |  Branch (385:9): [True: 6.87k, False: 15.4k]
  ------------------
  386|   231k|        PyUnicode_Check(lv) &&
  ------------------
  |  |  103|  6.87k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   238k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 6.86k, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  387|  6.86k|        !has_starred(rhs->v.Tuple.elts))
  ------------------
  |  Branch (387:9): [True: 6.85k, False: 3]
  ------------------
  388|  6.85k|    {
  389|  6.85k|        return optimize_format(node, lv, rhs->v.Tuple.elts, arena);
  390|  6.85k|    }
  391|       |
  392|   224k|    return 1;
  393|   231k|}
ast_preprocess.c:has_starred:
  159|  6.86k|{
  160|  6.86k|    Py_ssize_t n = asdl_seq_LEN(elts);
  ------------------
  |  |   83|  6.86k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  13.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 127, False: 6.73k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  161|  14.0k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (161:28): [True: 7.23k, False: 6.85k]
  ------------------
  162|  7.23k|        expr_ty e = (expr_ty)asdl_seq_GET(elts, i);
  ------------------
  |  |   82|  7.23k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  7.23k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  163|  7.23k|        if (e->kind == Starred_kind) {
  ------------------
  |  Branch (163:13): [True: 3, False: 7.23k]
  ------------------
  164|      3|            return 1;
  165|      3|        }
  166|  7.23k|    }
  167|  6.85k|    return 0;
  168|  6.86k|}
ast_preprocess.c:optimize_format:
  320|  6.85k|{
  321|  6.85k|    Py_ssize_t pos = 0;
  322|  6.85k|    Py_ssize_t cnt = 0;
  323|  6.85k|    asdl_expr_seq *seq = _Py_asdl_expr_seq_new(asdl_seq_LEN(elts) * 2 + 1, arena);
  ------------------
  |  |   83|  6.85k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  13.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 127, False: 6.73k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  324|  6.85k|    if (!seq) {
  ------------------
  |  Branch (324:9): [True: 0, False: 6.85k]
  ------------------
  325|      0|        return 0;
  326|      0|    }
  327|  6.85k|    seq->size = 0;
  328|       |
  329|  7.95k|    while (1) {
  ------------------
  |  Branch (329:12): [True: 7.95k, Folded]
  ------------------
  330|  7.95k|        expr_ty lit = parse_literal(fmt, &pos, arena);
  331|  7.95k|        if (lit) {
  ------------------
  |  Branch (331:13): [True: 7.74k, False: 213]
  ------------------
  332|  7.74k|            asdl_seq_SET(seq, seq->size++, lit);
  ------------------
  |  |   94|  7.74k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  7.74k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  333|  7.74k|        }
  334|    213|        else if (PyErr_Occurred()) {
  ------------------
  |  Branch (334:18): [True: 0, False: 213]
  ------------------
  335|      0|            return 0;
  336|      0|        }
  337|       |
  338|  7.95k|        if (pos >= PyUnicode_GET_LENGTH(fmt)) {
  ------------------
  |  |  299|  7.95k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (338:13): [True: 2.41k, False: 5.54k]
  ------------------
  339|  2.41k|            break;
  340|  2.41k|        }
  341|  5.54k|        if (cnt >= asdl_seq_LEN(elts)) {
  ------------------
  |  |   83|  5.54k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  11.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 16, False: 5.52k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (341:13): [True: 402, False: 5.13k]
  ------------------
  342|       |            // More format units than items.
  343|    402|            return 1;
  344|    402|        }
  345|  5.54k|        assert(PyUnicode_READ_CHAR(fmt, pos) == '%');
  ------------------
  |  Branch (345:9): [True: 5.13k, False: 0]
  ------------------
  346|  5.13k|        pos++;
  347|  5.13k|        expr_ty expr = parse_format(fmt, &pos, asdl_seq_GET(elts, cnt), arena);
  ------------------
  |  |   82|  5.13k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  5.13k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  348|  5.13k|        cnt++;
  349|  5.13k|        if (!expr) {
  ------------------
  |  Branch (349:13): [True: 4.04k, False: 1.09k]
  ------------------
  350|  4.04k|            return !PyErr_Occurred();
  351|  4.04k|        }
  352|  1.09k|        asdl_seq_SET(seq, seq->size++, expr);
  ------------------
  |  |   94|  1.09k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  1.09k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  353|  1.09k|    }
  354|  2.41k|    if (cnt < asdl_seq_LEN(elts)) {
  ------------------
  |  |   83|  2.41k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  4.83k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 111, False: 2.30k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (354:9): [True: 1.60k, False: 806]
  ------------------
  355|       |        // More items than format units.
  356|  1.60k|        return 1;
  357|  1.60k|    }
  358|    806|    expr_ty res = _PyAST_JoinedStr(seq,
  359|    806|                                   node->lineno, node->col_offset,
  360|    806|                                   node->end_lineno, node->end_col_offset,
  361|    806|                                   arena);
  362|    806|    if (!res) {
  ------------------
  |  Branch (362:9): [True: 0, False: 806]
  ------------------
  363|      0|        return 0;
  364|      0|    }
  365|    806|    COPY_NODE(node, res);
  ------------------
  |  |  155|    806|#define COPY_NODE(TO, FROM) (memcpy((TO), (FROM), sizeof(struct _expr)))
  ------------------
  366|       |//     PySys_FormatStderr("format = %R\n", fmt);
  367|    806|    return 1;
  368|    806|}
ast_preprocess.c:parse_literal:
  172|  7.95k|{
  173|  7.95k|    const void *data = PyUnicode_DATA(fmt);
  ------------------
  |  |  284|  7.95k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  174|  7.95k|    int kind = PyUnicode_KIND(fmt);
  ------------------
  |  |  258|  7.95k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  15.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 7.95k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  175|  7.95k|    Py_ssize_t size = PyUnicode_GET_LENGTH(fmt);
  ------------------
  |  |  299|  7.95k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  176|  7.95k|    Py_ssize_t start, pos;
  177|  7.95k|    int has_percents = 0;
  178|  7.95k|    start = pos = *ppos;
  179|   390k|    while (pos < size) {
  ------------------
  |  Branch (179:12): [True: 388k, False: 2.41k]
  ------------------
  180|   388k|        if (PyUnicode_READ(kind, data, pos) != '%') {
  ------------------
  |  |  354|   388k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   388k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   388k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   388k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   388k|                   (index))
  ------------------
  |  Branch (180:13): [True: 345k, False: 43.3k]
  ------------------
  181|   345k|            pos++;
  182|   345k|        }
  183|  43.3k|        else if (pos+1 < size && PyUnicode_READ(kind, data, pos+1) == '%') {
  ------------------
  |  |  354|  43.1k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  43.1k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  43.1k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  43.1k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  43.1k|                   (index))
  ------------------
  |  Branch (183:18): [True: 43.1k, False: 260]
  |  Branch (183:34): [True: 37.8k, False: 5.28k]
  ------------------
  184|  37.8k|            has_percents = 1;
  185|  37.8k|            pos += 2;
  186|  37.8k|        }
  187|  5.54k|        else {
  188|  5.54k|            break;
  189|  5.54k|        }
  190|   388k|    }
  191|  7.95k|    *ppos = pos;
  192|  7.95k|    if (pos == start) {
  ------------------
  |  Branch (192:9): [True: 213, False: 7.74k]
  ------------------
  193|    213|        return NULL;
  194|    213|    }
  195|  7.74k|    PyObject *str = PyUnicode_Substring(fmt, start, pos);
  196|       |    /* str = str.replace('%%', '%') */
  197|  7.74k|    if (str && has_percents) {
  ------------------
  |  Branch (197:9): [True: 7.74k, False: 0]
  |  Branch (197:16): [True: 3.82k, False: 3.91k]
  ------------------
  198|  3.82k|        _Py_DECLARE_STR(dbl_percent, "%%");
  199|  3.82k|        Py_SETREF(str, PyUnicode_Replace(str, &_Py_STR(dbl_percent),
  ------------------
  |  |  354|  3.82k|    do { \
  |  |  355|  3.82k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  3.82k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|  3.82k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.82k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|  7.65k|        *_tmp_dst_ptr = (src); \
  |  |  ------------------
  |  |  |  Branch (357:26): [True: 3.82k, Folded]
  |  |  ------------------
  |  |  358|  3.82k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  3.82k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|  3.82k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 3.82k]
  |  |  ------------------
  ------------------
  200|  3.82k|                                         _Py_LATIN1_CHR('%'), -1));
  201|  3.82k|    }
  202|  7.74k|    if (!str) {
  ------------------
  |  Branch (202:9): [True: 0, False: 7.74k]
  ------------------
  203|      0|        return NULL;
  204|      0|    }
  205|       |
  206|  7.74k|    if (_PyArena_AddPyObject(arena, str) < 0) {
  ------------------
  |  Branch (206:9): [True: 0, False: 7.74k]
  ------------------
  207|      0|        Py_DECREF(str);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  208|      0|        return NULL;
  209|      0|    }
  210|  7.74k|    return _PyAST_Constant(str, NULL, -1, -1, -1, -1, arena);
  211|  7.74k|}
ast_preprocess.c:parse_format:
  277|  5.13k|{
  278|  5.13k|    int spec, flags, width = -1, prec = -1;
  279|  5.13k|    if (!simple_format_arg_parse(fmt, ppos, &spec, &flags, &width, &prec)) {
  ------------------
  |  Branch (279:9): [True: 1.85k, False: 3.28k]
  ------------------
  280|       |        // Unsupported format.
  281|  1.85k|        return NULL;
  282|  1.85k|    }
  283|  3.28k|    if (spec == 's' || spec == 'r' || spec == 'a') {
  ------------------
  |  Branch (283:9): [True: 273, False: 3.01k]
  |  Branch (283:24): [True: 601, False: 2.41k]
  |  Branch (283:39): [True: 224, False: 2.18k]
  ------------------
  284|  1.09k|        char buf[1 + MAXDIGITS + 1 + MAXDIGITS + 1], *p = buf;
  285|  1.09k|        if (!(flags & F_LJUST) && width > 0) {
  ------------------
  |  |   18|  1.09k|#define F_LJUST (1<<0)
  ------------------
  |  Branch (285:13): [True: 1.07k, False: 20]
  |  Branch (285:35): [True: 433, False: 645]
  ------------------
  286|    433|            *p++ = '>';
  287|    433|        }
  288|  1.09k|        if (width >= 0) {
  ------------------
  |  Branch (288:13): [True: 434, False: 664]
  ------------------
  289|    434|            p += snprintf(p, MAXDIGITS + 1, "%d", width);
  ------------------
  |  |  213|    434|#define MAXDIGITS 3
  ------------------
  290|    434|        }
  291|  1.09k|        if (prec >= 0) {
  ------------------
  |  Branch (291:13): [True: 50, False: 1.04k]
  ------------------
  292|     50|            p += snprintf(p, MAXDIGITS + 2, ".%d", prec);
  ------------------
  |  |  213|     50|#define MAXDIGITS 3
  ------------------
  293|     50|        }
  294|  1.09k|        expr_ty format_spec = NULL;
  295|  1.09k|        if (p != buf) {
  ------------------
  |  Branch (295:13): [True: 483, False: 615]
  ------------------
  296|    483|            PyObject *str = PyUnicode_FromString(buf);
  297|    483|            if (str == NULL) {
  ------------------
  |  Branch (297:17): [True: 0, False: 483]
  ------------------
  298|      0|                return NULL;
  299|      0|            }
  300|    483|            if (_PyArena_AddPyObject(arena, str) < 0) {
  ------------------
  |  Branch (300:17): [True: 0, False: 483]
  ------------------
  301|      0|                Py_DECREF(str);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  302|      0|                return NULL;
  303|      0|            }
  304|    483|            format_spec = _PyAST_Constant(str, NULL, -1, -1, -1, -1, arena);
  305|    483|            if (format_spec == NULL) {
  ------------------
  |  Branch (305:17): [True: 0, False: 483]
  ------------------
  306|      0|                return NULL;
  307|      0|            }
  308|    483|        }
  309|  1.09k|        return _PyAST_FormattedValue(arg, spec, format_spec,
  310|  1.09k|                                     arg->lineno, arg->col_offset,
  311|  1.09k|                                     arg->end_lineno, arg->end_col_offset,
  312|  1.09k|                                     arena);
  313|  1.09k|    }
  314|       |    // Unsupported format.
  315|  2.18k|    return NULL;
  316|  3.28k|}
ast_preprocess.c:simple_format_arg_parse:
  218|  5.13k|{
  219|  5.13k|    Py_ssize_t pos = *ppos, len = PyUnicode_GET_LENGTH(fmt);
  ------------------
  |  |  299|  5.13k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  220|  5.13k|    Py_UCS4 ch;
  221|       |
  222|  5.13k|#define NEXTC do {                      \
  223|  5.13k|    if (pos >= len) {                   \
  224|  5.13k|        return 0;                       \
  225|  5.13k|    }                                   \
  226|  5.13k|    ch = PyUnicode_READ_CHAR(fmt, pos); \
  227|  5.13k|    pos++;                              \
  228|  5.13k|} while (0)
  229|       |
  230|  5.13k|    *flags = 0;
  231|  11.2k|    while (1) {
  ------------------
  |  Branch (231:12): [True: 11.2k, Folded]
  ------------------
  232|  11.2k|        NEXTC;
  ------------------
  |  |  222|  11.2k|#define NEXTC do {                      \
  |  |  223|  11.2k|    if (pos >= len) {                   \
  |  |  ------------------
  |  |  |  Branch (223:9): [True: 637, False: 10.5k]
  |  |  ------------------
  |  |  224|    637|        return 0;                       \
  |  |  225|    637|    }                                   \
  |  |  226|  11.2k|    ch = PyUnicode_READ_CHAR(fmt, pos); \
  |  |  ------------------
  |  |  |  |  381|  10.5k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  227|  10.5k|    pos++;                              \
  |  |  228|  10.5k|} while (0)
  |  |  ------------------
  |  |  |  Branch (228:10): [Folded, False: 10.5k]
  |  |  ------------------
  ------------------
  233|  10.5k|        switch (ch) {
  ------------------
  |  Branch (233:17): [True: 6.09k, False: 4.50k]
  ------------------
  234|    960|            case '-': *flags |= F_LJUST; continue;
  ------------------
  |  |   18|    960|#define F_LJUST (1<<0)
  ------------------
  |  Branch (234:13): [True: 960, False: 9.63k]
  ------------------
  235|    267|            case '+': *flags |= F_SIGN; continue;
  ------------------
  |  |   19|    267|#define F_SIGN  (1<<1)
  ------------------
  |  Branch (235:13): [True: 267, False: 10.3k]
  ------------------
  236|    730|            case ' ': *flags |= F_BLANK; continue;
  ------------------
  |  |   20|    730|#define F_BLANK (1<<2)
  ------------------
  |  Branch (236:13): [True: 730, False: 9.86k]
  ------------------
  237|    292|            case '#': *flags |= F_ALT; continue;
  ------------------
  |  |   21|    292|#define F_ALT   (1<<3)
  ------------------
  |  Branch (237:13): [True: 292, False: 10.3k]
  ------------------
  238|  3.84k|            case '0': *flags |= F_ZERO; continue;
  ------------------
  |  |   22|  3.84k|#define F_ZERO  (1<<4)
  ------------------
  |  Branch (238:13): [True: 3.84k, False: 6.75k]
  ------------------
  239|  10.5k|        }
  240|  4.50k|        break;
  241|  10.5k|    }
  242|  4.50k|    if ('0' <= ch && ch <= '9') {
  ------------------
  |  Branch (242:9): [True: 2.59k, False: 1.91k]
  |  Branch (242:22): [True: 1.57k, False: 1.01k]
  ------------------
  243|  1.57k|        *width = 0;
  244|  1.57k|        int digits = 0;
  245|  3.04k|        while ('0' <= ch && ch <= '9') {
  ------------------
  |  Branch (245:16): [True: 2.92k, False: 124]
  |  Branch (245:29): [True: 2.44k, False: 476]
  ------------------
  246|  2.44k|            *width = *width * 10 + (ch - '0');
  247|  2.44k|            NEXTC;
  ------------------
  |  |  222|  2.44k|#define NEXTC do {                      \
  |  |  223|  2.44k|    if (pos >= len) {                   \
  |  |  ------------------
  |  |  |  Branch (223:9): [True: 607, False: 1.83k]
  |  |  ------------------
  |  |  224|    607|        return 0;                       \
  |  |  225|    607|    }                                   \
  |  |  226|  2.44k|    ch = PyUnicode_READ_CHAR(fmt, pos); \
  |  |  ------------------
  |  |  |  |  381|  1.83k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  227|  1.83k|    pos++;                              \
  |  |  228|  1.83k|} while (0)
  |  |  ------------------
  |  |  |  Branch (228:10): [Folded, False: 1.83k]
  |  |  ------------------
  ------------------
  248|  1.83k|            if (++digits >= MAXDIGITS) {
  ------------------
  |  |  213|  1.83k|#define MAXDIGITS 3
  ------------------
  |  Branch (248:17): [True: 372, False: 1.46k]
  ------------------
  249|    372|                return 0;
  250|    372|            }
  251|  1.83k|        }
  252|  1.57k|    }
  253|       |
  254|  3.52k|    if (ch == '.') {
  ------------------
  |  Branch (254:9): [True: 1.00k, False: 2.52k]
  ------------------
  255|  1.00k|        NEXTC;
  ------------------
  |  |  222|  1.00k|#define NEXTC do {                      \
  |  |  223|  1.00k|    if (pos >= len) {                   \
  |  |  ------------------
  |  |  |  Branch (223:9): [True: 2, False: 1.00k]
  |  |  ------------------
  |  |  224|      2|        return 0;                       \
  |  |  225|      2|    }                                   \
  |  |  226|  1.00k|    ch = PyUnicode_READ_CHAR(fmt, pos); \
  |  |  ------------------
  |  |  |  |  381|  1.00k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  227|  1.00k|    pos++;                              \
  |  |  228|  1.00k|} while (0)
  |  |  ------------------
  |  |  |  Branch (228:10): [Folded, False: 1.00k]
  |  |  ------------------
  ------------------
  256|  1.00k|        *prec = 0;
  257|  1.00k|        if ('0' <= ch && ch <= '9') {
  ------------------
  |  Branch (257:13): [True: 799, False: 201]
  |  Branch (257:26): [True: 441, False: 358]
  ------------------
  258|    441|            int digits = 0;
  259|  1.22k|            while ('0' <= ch && ch <= '9') {
  ------------------
  |  Branch (259:20): [True: 1.20k, False: 17]
  |  Branch (259:33): [True: 1.01k, False: 190]
  ------------------
  260|  1.01k|                *prec = *prec * 10 + (ch - '0');
  261|  1.01k|                NEXTC;
  ------------------
  |  |  222|  1.01k|#define NEXTC do {                      \
  |  |  223|  1.01k|    if (pos >= len) {                   \
  |  |  ------------------
  |  |  |  Branch (223:9): [True: 0, False: 1.01k]
  |  |  ------------------
  |  |  224|      0|        return 0;                       \
  |  |  225|      0|    }                                   \
  |  |  226|  1.01k|    ch = PyUnicode_READ_CHAR(fmt, pos); \
  |  |  ------------------
  |  |  |  |  381|  1.01k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  227|  1.01k|    pos++;                              \
  |  |  228|  1.01k|} while (0)
  |  |  ------------------
  |  |  |  Branch (228:10): [Folded, False: 1.01k]
  |  |  ------------------
  ------------------
  262|  1.01k|                if (++digits >= MAXDIGITS) {
  ------------------
  |  |  213|  1.01k|#define MAXDIGITS 3
  ------------------
  |  Branch (262:21): [True: 234, False: 782]
  ------------------
  263|    234|                    return 0;
  264|    234|                }
  265|  1.01k|            }
  266|    441|        }
  267|  1.00k|    }
  268|  3.28k|    *spec = ch;
  269|  3.28k|    *ppos = pos;
  270|  3.28k|    return 1;
  271|       |
  272|  3.52k|#undef NEXTC
  273|  3.52k|}
ast_preprocess.c:astfold_comprehension:
  654|  6.59k|{
  655|  6.59k|    CALL(astfold_expr, expr_ty, node_->target);
  ------------------
  |  |  409|  6.59k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 6.59k]
  |  |  ------------------
  |  |  410|  6.59k|        return 0;
  ------------------
  656|  6.59k|    CALL(astfold_expr, expr_ty, node_->iter);
  ------------------
  |  |  409|  6.59k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 6.59k]
  |  |  ------------------
  |  |  410|  6.59k|        return 0;
  ------------------
  657|  6.59k|    CALL_SEQ(astfold_expr, expr, node_->ifs);
  ------------------
  |  |  416|  6.59k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  6.59k|    Py_ssize_t i; \
  |  |  418|  6.59k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  6.84k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  6.84k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  13.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 6.84k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 247, False: 6.59k]
  |  |  ------------------
  |  |  420|    247|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    247|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    247|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    247|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 247, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 247]
  |  |  ------------------
  |  |  422|    247|            return 0; \
  |  |  423|    247|    } \
  |  |  424|  6.59k|}
  ------------------
  658|  6.59k|    return 1;
  659|  6.59k|}

_PyAST_ExprAsUnicode:
 1033|  5.21k|{
 1034|  5.21k|    return expr_as_unicode(e, PR_TEST);
 1035|  5.21k|}
ast_unparse.c:expr_as_unicode:
 1018|  9.41k|{
 1019|  9.41k|    PyUnicodeWriter *writer = PyUnicodeWriter_Create(256);
 1020|  9.41k|    if (writer == NULL) {
  ------------------
  |  Branch (1020:9): [True: 0, False: 9.41k]
  ------------------
 1021|      0|        return NULL;
 1022|      0|    }
 1023|       |
 1024|  9.41k|    if (-1 == append_ast_expr(writer, e, level)) {
  ------------------
  |  Branch (1024:9): [True: 0, False: 9.41k]
  ------------------
 1025|      0|        PyUnicodeWriter_Discard(writer);
 1026|      0|        return NULL;
 1027|      0|    }
 1028|  9.41k|    return PyUnicodeWriter_Finish(writer);
 1029|  9.41k|}
ast_unparse.c:append_ast_expr:
  941|   246k|{
  942|   246k|    switch (e->kind) {
  ------------------
  |  Branch (942:13): [True: 246k, False: 0]
  ------------------
  943|    346|    case BoolOp_kind:
  ------------------
  |  Branch (943:5): [True: 346, False: 245k]
  ------------------
  944|    346|        return append_ast_boolop(writer, e, level);
  945|   101k|    case BinOp_kind:
  ------------------
  |  Branch (945:5): [True: 101k, False: 144k]
  ------------------
  946|   101k|        return append_ast_binop(writer, e, level);
  947|  18.3k|    case UnaryOp_kind:
  ------------------
  |  Branch (947:5): [True: 18.3k, False: 227k]
  ------------------
  948|  18.3k|        return append_ast_unaryop(writer, e, level);
  949|    221|    case Lambda_kind:
  ------------------
  |  Branch (949:5): [True: 221, False: 245k]
  ------------------
  950|    221|        return append_ast_lambda(writer, e, level);
  951|    648|    case IfExp_kind:
  ------------------
  |  Branch (951:5): [True: 648, False: 245k]
  ------------------
  952|    648|        return append_ast_ifexp(writer, e, level);
  953|     44|    case Dict_kind:
  ------------------
  |  Branch (953:5): [True: 44, False: 246k]
  ------------------
  954|     44|        return append_ast_dict(writer, e);
  955|    307|    case Set_kind:
  ------------------
  |  Branch (955:5): [True: 307, False: 245k]
  ------------------
  956|    307|        return append_ast_set(writer, e);
  957|      0|    case GeneratorExp_kind:
  ------------------
  |  Branch (957:5): [True: 0, False: 246k]
  ------------------
  958|      0|        return append_ast_genexp(writer, e);
  959|      0|    case ListComp_kind:
  ------------------
  |  Branch (959:5): [True: 0, False: 246k]
  ------------------
  960|      0|        return append_ast_listcomp(writer, e);
  961|     25|    case SetComp_kind:
  ------------------
  |  Branch (961:5): [True: 25, False: 246k]
  ------------------
  962|     25|        return append_ast_setcomp(writer, e);
  963|      1|    case DictComp_kind:
  ------------------
  |  Branch (963:5): [True: 1, False: 246k]
  ------------------
  964|      1|        return append_ast_dictcomp(writer, e);
  965|      0|    case Yield_kind:
  ------------------
  |  Branch (965:5): [True: 0, False: 246k]
  ------------------
  966|      0|        return append_ast_yield(writer, e);
  967|      0|    case YieldFrom_kind:
  ------------------
  |  Branch (967:5): [True: 0, False: 246k]
  ------------------
  968|      0|        return append_ast_yield_from(writer, e);
  969|      0|    case Await_kind:
  ------------------
  |  Branch (969:5): [True: 0, False: 246k]
  ------------------
  970|      0|        return append_ast_await(writer, e, level);
  971|  1.81k|    case Compare_kind:
  ------------------
  |  Branch (971:5): [True: 1.81k, False: 244k]
  ------------------
  972|  1.81k|        return append_ast_compare(writer, e, level);
  973|    263|    case Call_kind:
  ------------------
  |  Branch (973:5): [True: 263, False: 245k]
  ------------------
  974|    263|        return append_ast_call(writer, e);
  975|   102k|    case Constant_kind:
  ------------------
  |  Branch (975:5): [True: 102k, False: 144k]
  ------------------
  976|   102k|        if (e->v.Constant.value == Py_Ellipsis) {
  ------------------
  |  |   14|   102k|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (976:13): [True: 455, False: 101k]
  ------------------
  977|    455|            APPEND_STR_FINISH("...");
  ------------------
  |  |   47|    455|#define APPEND_STR_FINISH(str)  do { \
  |  |   48|    455|        return append_charp(writer, (str)); \
  |  |   49|    455|    } while (0)
  |  |  ------------------
  |  |  |  Branch (49:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  978|    455|        }
  979|   101k|        if (e->v.Constant.kind != NULL
  ------------------
  |  Branch (979:13): [True: 637, False: 100k]
  ------------------
  980|    637|            && -1 == PyUnicodeWriter_WriteStr(writer, e->v.Constant.kind)) {
  ------------------
  |  Branch (980:16): [True: 0, False: 637]
  ------------------
  981|      0|            return -1;
  982|      0|        }
  983|   101k|        return append_ast_constant(writer, e->v.Constant.value);
  984|  3.83k|    case JoinedStr_kind:
  ------------------
  |  Branch (984:5): [True: 3.83k, False: 242k]
  ------------------
  985|  3.83k|        return append_joinedstr(writer, e, false);
  986|    425|    case TemplateStr_kind:
  ------------------
  |  Branch (986:5): [True: 425, False: 245k]
  ------------------
  987|    425|        return append_templatestr(writer, e);
  988|      0|    case FormattedValue_kind:
  ------------------
  |  Branch (988:5): [True: 0, False: 246k]
  ------------------
  989|      0|        return append_formattedvalue(writer, e);
  990|      0|    case Interpolation_kind:
  ------------------
  |  Branch (990:5): [True: 0, False: 246k]
  ------------------
  991|      0|        return append_interpolation(writer, e);
  992|       |    /* The following exprs can be assignment targets. */
  993|    179|    case Attribute_kind:
  ------------------
  |  Branch (993:5): [True: 179, False: 245k]
  ------------------
  994|    179|        return append_ast_attribute(writer, e);
  995|    302|    case Subscript_kind:
  ------------------
  |  Branch (995:5): [True: 302, False: 245k]
  ------------------
  996|    302|        return append_ast_subscript(writer, e);
  997|    264|    case Starred_kind:
  ------------------
  |  Branch (997:5): [True: 264, False: 245k]
  ------------------
  998|    264|        return append_ast_starred(writer, e);
  999|    338|    case Slice_kind:
  ------------------
  |  Branch (999:5): [True: 338, False: 245k]
  ------------------
 1000|    338|        return append_ast_slice(writer, e);
 1001|  14.0k|    case Name_kind:
  ------------------
  |  Branch (1001:5): [True: 14.0k, False: 232k]
  ------------------
 1002|  14.0k|        return PyUnicodeWriter_WriteStr(writer, e->v.Name.id);
 1003|     26|    case List_kind:
  ------------------
  |  Branch (1003:5): [True: 26, False: 246k]
  ------------------
 1004|     26|        return append_ast_list(writer, e);
 1005|    720|    case Tuple_kind:
  ------------------
  |  Branch (1005:5): [True: 720, False: 245k]
  ------------------
 1006|    720|        return append_ast_tuple(writer, e, level);
 1007|      0|    case NamedExpr_kind:
  ------------------
  |  Branch (1007:5): [True: 0, False: 246k]
  ------------------
 1008|      0|        return append_named_expr(writer, e, level);
 1009|       |    // No default so compiler emits a warning for unhandled cases
 1010|   246k|    }
 1011|      0|    PyErr_SetString(PyExc_SystemError,
 1012|      0|                    "unknown expression kind");
 1013|      0|    return -1;
 1014|   246k|}
ast_unparse.c:append_ast_boolop:
  141|    346|{
  142|    346|    Py_ssize_t i, value_count;
  143|    346|    asdl_expr_seq *values;
  144|    346|    const char *op = (e->v.BoolOp.op == And) ? " and " : " or ";
  ------------------
  |  Branch (144:22): [True: 106, False: 240]
  ------------------
  145|    346|    int pr = (e->v.BoolOp.op == And) ? PR_AND : PR_OR;
  ------------------
  |  Branch (145:14): [True: 106, False: 240]
  ------------------
  146|       |
  147|    346|    APPEND_STR_IF(level > pr, "(");
  ------------------
  |  |   63|    346|#define APPEND_STR_IF(cond, str)  do { \
  |  |   64|    346|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (64:13): [True: 1, False: 345]
  |  |  |  Branch (64:23): [True: 0, False: 1]
  |  |  ------------------
  |  |   65|      0|            return -1; \
  |  |   66|      0|        } \
  |  |   67|    346|    } while (0)
  |  |  ------------------
  |  |  |  Branch (67:14): [Folded, False: 346]
  |  |  ------------------
  ------------------
  148|       |
  149|    346|    values = e->v.BoolOp.values;
  150|    346|    value_count = asdl_seq_LEN(values);
  ------------------
  |  |   83|    346|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    692|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 346]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  151|       |
  152|  1.35k|    for (i = 0; i < value_count; ++i) {
  ------------------
  |  Branch (152:17): [True: 1.01k, False: 346]
  ------------------
  153|  1.01k|        APPEND_STR_IF(i > 0, op);
  ------------------
  |  |   63|  1.01k|#define APPEND_STR_IF(cond, str)  do { \
  |  |   64|  1.01k|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (64:13): [True: 665, False: 346]
  |  |  |  Branch (64:23): [True: 0, False: 665]
  |  |  ------------------
  |  |   65|      0|            return -1; \
  |  |   66|      0|        } \
  |  |   67|  1.01k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (67:14): [Folded, False: 1.01k]
  |  |  ------------------
  ------------------
  154|  1.01k|        APPEND_EXPR((expr_ty)asdl_seq_GET(values, i), pr + 1);
  ------------------
  |  |   74|  1.01k|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|  1.01k|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 1.01k]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|  1.01k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 1.01k]
  |  |  ------------------
  ------------------
  155|  1.01k|    }
  156|       |
  157|    346|    APPEND_STR_IF(level > pr, ")");
  ------------------
  |  |   63|    346|#define APPEND_STR_IF(cond, str)  do { \
  |  |   64|    346|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (64:13): [True: 1, False: 345]
  |  |  |  Branch (64:23): [True: 0, False: 1]
  |  |  ------------------
  |  |   65|      0|            return -1; \
  |  |   66|      0|        } \
  |  |   67|    346|    } while (0)
  |  |  ------------------
  |  |  |  Branch (67:14): [Folded, False: 346]
  |  |  ------------------
  ------------------
  158|    346|    return 0;
  159|    346|}
ast_unparse.c:append_ast_binop:
  163|   101k|{
  164|   101k|    const char *op;
  165|   101k|    int pr;
  166|   101k|    bool rassoc = false;  /* is right-associative? */
  167|       |
  168|   101k|    switch (e->v.BinOp.op) {
  169|  12.7k|    case Add: op = " + "; pr = PR_ARITH; break;
  ------------------
  |  Branch (169:5): [True: 12.7k, False: 89.2k]
  ------------------
  170|  14.3k|    case Sub: op = " - "; pr = PR_ARITH; break;
  ------------------
  |  Branch (170:5): [True: 14.3k, False: 87.5k]
  ------------------
  171|  30.2k|    case Mult: op = " * "; pr = PR_TERM; break;
  ------------------
  |  Branch (171:5): [True: 30.2k, False: 71.6k]
  ------------------
  172|  3.73k|    case MatMult: op = " @ "; pr = PR_TERM; break;
  ------------------
  |  Branch (172:5): [True: 3.73k, False: 98.2k]
  ------------------
  173|  8.37k|    case Div: op = " / "; pr = PR_TERM; break;
  ------------------
  |  Branch (173:5): [True: 8.37k, False: 93.5k]
  ------------------
  174|  2.46k|    case Mod: op = " % "; pr = PR_TERM; break;
  ------------------
  |  Branch (174:5): [True: 2.46k, False: 99.5k]
  ------------------
  175|  1.96k|    case LShift: op = " << "; pr = PR_SHIFT; break;
  ------------------
  |  Branch (175:5): [True: 1.96k, False: 100k]
  ------------------
  176|    728|    case RShift: op = " >> "; pr = PR_SHIFT; break;
  ------------------
  |  Branch (176:5): [True: 728, False: 101k]
  ------------------
  177|    335|    case BitOr: op = " | "; pr = PR_BOR; break;
  ------------------
  |  Branch (177:5): [True: 335, False: 101k]
  ------------------
  178|  13.1k|    case BitXor: op = " ^ "; pr = PR_BXOR; break;
  ------------------
  |  Branch (178:5): [True: 13.1k, False: 88.7k]
  ------------------
  179|    461|    case BitAnd: op = " & "; pr = PR_BAND; break;
  ------------------
  |  Branch (179:5): [True: 461, False: 101k]
  ------------------
  180|    657|    case FloorDiv: op = " // "; pr = PR_TERM; break;
  ------------------
  |  Branch (180:5): [True: 657, False: 101k]
  ------------------
  181|  12.6k|    case Pow: op = " ** "; pr = PR_POWER; rassoc = true; break;
  ------------------
  |  Branch (181:5): [True: 12.6k, False: 89.3k]
  ------------------
  182|      0|    default:
  ------------------
  |  Branch (182:5): [True: 0, False: 101k]
  ------------------
  183|      0|        PyErr_SetString(PyExc_SystemError,
  184|      0|                        "unknown binary operator");
  185|      0|        return -1;
  186|   101k|    }
  187|       |
  188|   101k|    APPEND_STR_IF(level > pr, "(");
  ------------------
  |  |   63|   101k|#define APPEND_STR_IF(cond, str)  do { \
  |  |   64|   101k|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (64:13): [True: 13, False: 101k]
  |  |  |  Branch (64:23): [True: 0, False: 13]
  |  |  ------------------
  |  |   65|      0|            return -1; \
  |  |   66|      0|        } \
  |  |   67|   101k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (67:14): [Folded, False: 101k]
  |  |  ------------------
  ------------------
  189|   101k|    APPEND_EXPR(e->v.BinOp.left, pr + rassoc);
  ------------------
  |  |   74|   101k|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|   101k|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 101k]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|   101k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 101k]
  |  |  ------------------
  ------------------
  190|   101k|    APPEND_STR(op);
  ------------------
  |  |   57|   101k|#define APPEND_STR(str)  do { \
  |  |   58|   101k|        if (-1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (58:13): [True: 0, False: 101k]
  |  |  ------------------
  |  |   59|      0|            return -1; \
  |  |   60|      0|        } \
  |  |   61|   101k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 101k]
  |  |  ------------------
  ------------------
  191|   101k|    APPEND_EXPR(e->v.BinOp.right, pr + !rassoc);
  ------------------
  |  |   74|   101k|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|   101k|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 101k]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|   101k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 101k]
  |  |  ------------------
  ------------------
  192|   101k|    APPEND_STR_IF(level > pr, ")");
  ------------------
  |  |   63|   101k|#define APPEND_STR_IF(cond, str)  do { \
  |  |   64|   101k|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (64:13): [True: 13, False: 101k]
  |  |  |  Branch (64:23): [True: 0, False: 13]
  |  |  ------------------
  |  |   65|      0|            return -1; \
  |  |   66|      0|        } \
  |  |   67|   101k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (67:14): [Folded, False: 101k]
  |  |  ------------------
  ------------------
  193|   101k|    return 0;
  194|   101k|}
ast_unparse.c:append_ast_unaryop:
  198|  18.3k|{
  199|  18.3k|    const char *op;
  200|  18.3k|    int pr;
  201|       |
  202|  18.3k|    switch (e->v.UnaryOp.op) {
  203|    181|    case Invert: op = "~"; pr = PR_FACTOR; break;
  ------------------
  |  Branch (203:5): [True: 181, False: 18.1k]
  ------------------
  204|      0|    case Not: op = "not "; pr = PR_NOT; break;
  ------------------
  |  Branch (204:5): [True: 0, False: 18.3k]
  ------------------
  205|  10.0k|    case UAdd: op = "+"; pr = PR_FACTOR; break;
  ------------------
  |  Branch (205:5): [True: 10.0k, False: 8.23k]
  ------------------
  206|  8.05k|    case USub: op = "-"; pr = PR_FACTOR; break;
  ------------------
  |  Branch (206:5): [True: 8.05k, False: 10.2k]
  ------------------
  207|      0|    default:
  ------------------
  |  Branch (207:5): [True: 0, False: 18.3k]
  ------------------
  208|      0|        PyErr_SetString(PyExc_SystemError,
  209|      0|                        "unknown unary operator");
  210|      0|        return -1;
  211|  18.3k|    }
  212|       |
  213|  18.3k|    APPEND_STR_IF(level > pr, "(");
  ------------------
  |  |   63|  18.3k|#define APPEND_STR_IF(cond, str)  do { \
  |  |   64|  18.3k|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (64:13): [True: 3.23k, False: 15.0k]
  |  |  |  Branch (64:23): [True: 0, False: 3.23k]
  |  |  ------------------
  |  |   65|      0|            return -1; \
  |  |   66|      0|        } \
  |  |   67|  18.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (67:14): [Folded, False: 18.3k]
  |  |  ------------------
  ------------------
  214|  18.3k|    APPEND_STR(op);
  ------------------
  |  |   57|  18.3k|#define APPEND_STR(str)  do { \
  |  |   58|  18.3k|        if (-1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (58:13): [True: 0, False: 18.3k]
  |  |  ------------------
  |  |   59|      0|            return -1; \
  |  |   60|      0|        } \
  |  |   61|  18.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 18.3k]
  |  |  ------------------
  ------------------
  215|  18.3k|    APPEND_EXPR(e->v.UnaryOp.operand, pr);
  ------------------
  |  |   74|  18.3k|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|  18.3k|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 18.3k]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|  18.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 18.3k]
  |  |  ------------------
  ------------------
  216|  18.3k|    APPEND_STR_IF(level > pr, ")");
  ------------------
  |  |   63|  18.3k|#define APPEND_STR_IF(cond, str)  do { \
  |  |   64|  18.3k|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (64:13): [True: 3.23k, False: 15.0k]
  |  |  |  Branch (64:23): [True: 0, False: 3.23k]
  |  |  ------------------
  |  |   65|      0|            return -1; \
  |  |   66|      0|        } \
  |  |   67|  18.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (67:14): [Folded, False: 18.3k]
  |  |  ------------------
  ------------------
  217|  18.3k|    return 0;
  218|  18.3k|}
ast_unparse.c:append_ast_lambda:
  301|    221|{
  302|    221|    APPEND_STR_IF(level > PR_TEST, "(");
  ------------------
  |  |   63|    221|#define APPEND_STR_IF(cond, str)  do { \
  |  |   64|    221|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (64:13): [True: 0, False: 221]
  |  |  |  Branch (64:23): [True: 0, False: 0]
  |  |  ------------------
  |  |   65|      0|            return -1; \
  |  |   66|      0|        } \
  |  |   67|    221|    } while (0)
  |  |  ------------------
  |  |  |  Branch (67:14): [Folded, False: 221]
  |  |  ------------------
  ------------------
  303|    221|    Py_ssize_t n_positional = (asdl_seq_LEN(e->v.Lambda.args->args) +
  ------------------
  |  |   83|    221|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    442|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 221]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  304|    221|                               asdl_seq_LEN(e->v.Lambda.args->posonlyargs));
  ------------------
  |  |   83|    221|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    442|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 221]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  305|    221|    APPEND_STR(n_positional ? "lambda " : "lambda");
  ------------------
  |  |   57|    221|#define APPEND_STR(str)  do { \
  |  |   58|    442|        if (-1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (58:13): [True: 0, False: 221]
  |  |  |  Branch (58:41): [True: 104, False: 117]
  |  |  ------------------
  |  |   59|      0|            return -1; \
  |  |   60|      0|        } \
  |  |   61|    221|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 221]
  |  |  ------------------
  ------------------
  306|    221|    APPEND(args, e->v.Lambda.args);
  ------------------
  |  |   80|    221|#define APPEND(type, value)  do { \
  |  |   81|    221|        if (-1 == append_ast_ ## type(writer, (value))) { \
  |  |  ------------------
  |  |  |  Branch (81:13): [True: 0, False: 221]
  |  |  ------------------
  |  |   82|      0|            return -1; \
  |  |   83|      0|        } \
  |  |   84|    221|    } while (0)
  |  |  ------------------
  |  |  |  Branch (84:14): [Folded, False: 221]
  |  |  ------------------
  ------------------
  307|    221|    APPEND_STR(": ");
  ------------------
  |  |   57|    221|#define APPEND_STR(str)  do { \
  |  |   58|    221|        if (-1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (58:13): [True: 0, False: 221]
  |  |  ------------------
  |  |   59|      0|            return -1; \
  |  |   60|      0|        } \
  |  |   61|    221|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 221]
  |  |  ------------------
  ------------------
  308|    221|    APPEND_EXPR(e->v.Lambda.body, PR_TEST);
  ------------------
  |  |   74|    221|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|    221|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 221]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|    221|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 221]
  |  |  ------------------
  ------------------
  309|    221|    APPEND_STR_IF(level > PR_TEST, ")");
  ------------------
  |  |   63|    221|#define APPEND_STR_IF(cond, str)  do { \
  |  |   64|    221|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (64:13): [True: 0, False: 221]
  |  |  |  Branch (64:23): [True: 0, False: 0]
  |  |  ------------------
  |  |   65|      0|            return -1; \
  |  |   66|      0|        } \
  |  |   67|    221|    } while (0)
  |  |  ------------------
  |  |  |  Branch (67:14): [Folded, False: 221]
  |  |  ------------------
  ------------------
  310|    221|    return 0;
  311|    221|}
ast_unparse.c:append_ast_args:
  235|    221|{
  236|    221|    bool first;
  237|    221|    Py_ssize_t i, di, arg_count, posonlyarg_count, default_count;
  238|       |
  239|    221|    first = true;
  240|       |
  241|       |    /* positional-only and positional arguments with defaults */
  242|    221|    posonlyarg_count = asdl_seq_LEN(args->posonlyargs);
  ------------------
  |  |   83|    221|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    442|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 221]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  243|    221|    arg_count = asdl_seq_LEN(args->args);
  ------------------
  |  |   83|    221|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    442|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 221]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|    221|    default_count = asdl_seq_LEN(args->defaults);
  ------------------
  |  |   83|    221|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    442|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 221]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  245|    327|    for (i = 0; i < posonlyarg_count + arg_count; i++) {
  ------------------
  |  Branch (245:17): [True: 106, False: 221]
  ------------------
  246|    106|        APPEND_STR_IF_NOT_FIRST(", ");
  ------------------
  |  |   69|    106|#define APPEND_STR_IF_NOT_FIRST(str)  do { \
  |  |   70|    106|        APPEND_STR_IF(!first, (str)); \
  |  |  ------------------
  |  |  |  |   63|    106|#define APPEND_STR_IF(cond, str)  do { \
  |  |  |  |   64|    106|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:13): [True: 2, False: 104]
  |  |  |  |  |  Branch (64:23): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   65|      0|            return -1; \
  |  |  |  |   66|      0|        } \
  |  |  |  |   67|    106|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (67:14): [Folded, False: 106]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|    106|        first = false; \
  |  |   72|    106|    } while (0)
  |  |  ------------------
  |  |  |  Branch (72:14): [Folded, False: 106]
  |  |  ------------------
  ------------------
  247|    106|        if (i < posonlyarg_count){
  ------------------
  |  Branch (247:13): [True: 4, False: 102]
  ------------------
  248|      4|            APPEND(arg, (arg_ty)asdl_seq_GET(args->posonlyargs, i));
  ------------------
  |  |   80|      4|#define APPEND(type, value)  do { \
  |  |   81|      4|        if (-1 == append_ast_ ## type(writer, (value))) { \
  |  |  ------------------
  |  |  |  Branch (81:13): [True: 0, False: 4]
  |  |  ------------------
  |  |   82|      0|            return -1; \
  |  |   83|      0|        } \
  |  |   84|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (84:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  249|    102|        } else {
  250|    102|            APPEND(arg, (arg_ty)asdl_seq_GET(args->args, i-posonlyarg_count));
  ------------------
  |  |   80|    102|#define APPEND(type, value)  do { \
  |  |   81|    102|        if (-1 == append_ast_ ## type(writer, (value))) { \
  |  |  ------------------
  |  |  |  Branch (81:13): [True: 0, False: 102]
  |  |  ------------------
  |  |   82|      0|            return -1; \
  |  |   83|      0|        } \
  |  |   84|    102|    } while (0)
  |  |  ------------------
  |  |  |  Branch (84:14): [Folded, False: 102]
  |  |  ------------------
  ------------------
  251|    102|        }
  252|       |
  253|    106|        di = i - posonlyarg_count - arg_count + default_count;
  254|    106|        if (di >= 0) {
  ------------------
  |  Branch (254:13): [True: 1, False: 105]
  ------------------
  255|      1|            APPEND_CHAR('=');
  ------------------
  |  |   51|      1|#define APPEND_CHAR(ch)  do { \
  |  |   52|      1|        if (-1 == append_char(writer, (ch))) { \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   53|      0|            return -1; \
  |  |   54|      0|        } \
  |  |   55|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  256|      1|            APPEND_EXPR((expr_ty)asdl_seq_GET(args->defaults, di), PR_TEST);
  ------------------
  |  |   74|      1|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|      1|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  257|      1|        }
  258|    106|        if (posonlyarg_count && i + 1 == posonlyarg_count) {
  ------------------
  |  Branch (258:13): [True: 4, False: 102]
  |  Branch (258:33): [True: 2, False: 2]
  ------------------
  259|      2|            APPEND_STR(", /");
  ------------------
  |  |   57|      2|#define APPEND_STR(str)  do { \
  |  |   58|      2|        if (-1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (58:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   59|      0|            return -1; \
  |  |   60|      0|        } \
  |  |   61|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  260|      2|        }
  261|    106|    }
  262|       |
  263|       |    /* vararg, or bare '*' if no varargs but keyword-only arguments present */
  264|    221|    if (args->vararg || asdl_seq_LEN(args->kwonlyargs)) {
  ------------------
  |  |   83|    151|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    302|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 0, False: 151]
  |  |  |  |  |  Branch (277:37): [True: 0, False: 151]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (264:9): [True: 70, False: 151]
  ------------------
  265|     70|        APPEND_STR_IF_NOT_FIRST(", ");
  ------------------
  |  |   69|     70|#define APPEND_STR_IF_NOT_FIRST(str)  do { \
  |  |   70|     70|        APPEND_STR_IF(!first, (str)); \
  |  |  ------------------
  |  |  |  |   63|     70|#define APPEND_STR_IF(cond, str)  do { \
  |  |  |  |   64|     70|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:13): [True: 0, False: 70]
  |  |  |  |  |  Branch (64:23): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   65|      0|            return -1; \
  |  |  |  |   66|      0|        } \
  |  |  |  |   67|     70|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (67:14): [Folded, False: 70]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|     70|        first = false; \
  |  |   72|     70|    } while (0)
  |  |  ------------------
  |  |  |  Branch (72:14): [Folded, False: 70]
  |  |  ------------------
  ------------------
  266|     70|        APPEND_STR("*");
  ------------------
  |  |   57|     70|#define APPEND_STR(str)  do { \
  |  |   58|     70|        if (-1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (58:13): [True: 0, False: 70]
  |  |  ------------------
  |  |   59|      0|            return -1; \
  |  |   60|      0|        } \
  |  |   61|     70|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 70]
  |  |  ------------------
  ------------------
  267|     70|        if (args->vararg) {
  ------------------
  |  Branch (267:13): [True: 70, False: 0]
  ------------------
  268|     70|            APPEND(arg, args->vararg);
  ------------------
  |  |   80|     70|#define APPEND(type, value)  do { \
  |  |   81|     70|        if (-1 == append_ast_ ## type(writer, (value))) { \
  |  |  ------------------
  |  |  |  Branch (81:13): [True: 0, False: 70]
  |  |  ------------------
  |  |   82|      0|            return -1; \
  |  |   83|      0|        } \
  |  |   84|     70|    } while (0)
  |  |  ------------------
  |  |  |  Branch (84:14): [Folded, False: 70]
  |  |  ------------------
  ------------------
  269|     70|        }
  270|     70|    }
  271|       |
  272|       |    /* keyword-only arguments */
  273|    221|    arg_count = asdl_seq_LEN(args->kwonlyargs);
  ------------------
  |  |   83|    221|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    442|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 221]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  274|    221|    default_count = asdl_seq_LEN(args->kw_defaults);
  ------------------
  |  |   83|    221|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    442|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 221]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  275|    227|    for (i = 0; i < arg_count; i++) {
  ------------------
  |  Branch (275:17): [True: 6, False: 221]
  ------------------
  276|      6|        APPEND_STR_IF_NOT_FIRST(", ");
  ------------------
  |  |   69|      6|#define APPEND_STR_IF_NOT_FIRST(str)  do { \
  |  |   70|      6|        APPEND_STR_IF(!first, (str)); \
  |  |  ------------------
  |  |  |  |   63|      6|#define APPEND_STR_IF(cond, str)  do { \
  |  |  |  |   64|      6|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:13): [True: 6, False: 0]
  |  |  |  |  |  Branch (64:23): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |   65|      0|            return -1; \
  |  |  |  |   66|      0|        } \
  |  |  |  |   67|      6|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (67:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      6|        first = false; \
  |  |   72|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (72:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  277|      6|        APPEND(arg, (arg_ty)asdl_seq_GET(args->kwonlyargs, i));
  ------------------
  |  |   80|      6|#define APPEND(type, value)  do { \
  |  |   81|      6|        if (-1 == append_ast_ ## type(writer, (value))) { \
  |  |  ------------------
  |  |  |  Branch (81:13): [True: 0, False: 6]
  |  |  ------------------
  |  |   82|      0|            return -1; \
  |  |   83|      0|        } \
  |  |   84|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (84:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  278|       |
  279|      6|        di = i - arg_count + default_count;
  280|      6|        if (di >= 0) {
  ------------------
  |  Branch (280:13): [True: 6, False: 0]
  ------------------
  281|      6|            expr_ty default_ = (expr_ty)asdl_seq_GET(args->kw_defaults, di);
  ------------------
  |  |   82|      6|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  282|      6|            if (default_) {
  ------------------
  |  Branch (282:17): [True: 3, False: 3]
  ------------------
  283|      3|                APPEND_CHAR('=');
  ------------------
  |  |   51|      3|#define APPEND_CHAR(ch)  do { \
  |  |   52|      3|        if (-1 == append_char(writer, (ch))) { \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  ------------------
  |  |   53|      0|            return -1; \
  |  |   54|      0|        } \
  |  |   55|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
  284|      3|                APPEND_EXPR(default_, PR_TEST);
  ------------------
  |  |   74|      3|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|      3|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 3]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
  285|      3|            }
  286|      6|        }
  287|      6|    }
  288|       |
  289|       |    /* **kwargs */
  290|    221|    if (args->kwarg) {
  ------------------
  |  Branch (290:9): [True: 1, False: 220]
  ------------------
  291|      1|        APPEND_STR_IF_NOT_FIRST(", ");
  ------------------
  |  |   69|      1|#define APPEND_STR_IF_NOT_FIRST(str)  do { \
  |  |   70|      1|        APPEND_STR_IF(!first, (str)); \
  |  |  ------------------
  |  |  |  |   63|      1|#define APPEND_STR_IF(cond, str)  do { \
  |  |  |  |   64|      1|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:13): [True: 1, False: 0]
  |  |  |  |  |  Branch (64:23): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   65|      0|            return -1; \
  |  |  |  |   66|      0|        } \
  |  |  |  |   67|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (67:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|      1|        first = false; \
  |  |   72|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (72:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  292|      1|        APPEND_STR("**");
  ------------------
  |  |   57|      1|#define APPEND_STR(str)  do { \
  |  |   58|      1|        if (-1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (58:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   59|      0|            return -1; \
  |  |   60|      0|        } \
  |  |   61|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  293|      1|        APPEND(arg, args->kwarg);
  ------------------
  |  |   80|      1|#define APPEND(type, value)  do { \
  |  |   81|      1|        if (-1 == append_ast_ ## type(writer, (value))) { \
  |  |  ------------------
  |  |  |  Branch (81:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   82|      0|            return -1; \
  |  |   83|      0|        } \
  |  |   84|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (84:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  294|      1|    }
  295|       |
  296|    221|    return 0;
  297|    221|}
ast_unparse.c:append_ast_arg:
  222|    183|{
  223|    183|    if (PyUnicodeWriter_WriteStr(writer, arg->arg) < 0) {
  ------------------
  |  Branch (223:9): [True: 0, False: 183]
  ------------------
  224|      0|        return -1;
  225|      0|    }
  226|    183|    if (arg->annotation) {
  ------------------
  |  Branch (226:9): [True: 0, False: 183]
  ------------------
  227|      0|        APPEND_STR(": ");
  ------------------
  |  |   57|      0|#define APPEND_STR(str)  do { \
  |  |   58|      0|        if (-1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (58:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   59|      0|            return -1; \
  |  |   60|      0|        } \
  |  |   61|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  228|      0|        APPEND_EXPR(arg->annotation, PR_TEST);
  ------------------
  |  |   74|      0|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|      0|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  229|      0|    }
  230|    183|    return 0;
  231|    183|}
ast_unparse.c:append_char:
   33|  6.82k|{
   34|  6.82k|    return PyUnicodeWriter_WriteChar(writer, ch);
   35|  6.82k|}
ast_unparse.c:append_ast_ifexp:
  315|    648|{
  316|    648|    APPEND_STR_IF(level > PR_TEST, "(");
  ------------------
  |  |   63|    648|#define APPEND_STR_IF(cond, str)  do { \
  |  |   64|    648|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (64:13): [True: 0, False: 648]
  |  |  |  Branch (64:23): [True: 0, False: 0]
  |  |  ------------------
  |  |   65|      0|            return -1; \
  |  |   66|      0|        } \
  |  |   67|    648|    } while (0)
  |  |  ------------------
  |  |  |  Branch (67:14): [Folded, False: 648]
  |  |  ------------------
  ------------------
  317|    648|    APPEND_EXPR(e->v.IfExp.body, PR_TEST + 1);
  ------------------
  |  |   74|    648|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|    648|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 648]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|    648|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 648]
  |  |  ------------------
  ------------------
  318|    648|    APPEND_STR(" if ");
  ------------------
  |  |   57|    648|#define APPEND_STR(str)  do { \
  |  |   58|    648|        if (-1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (58:13): [True: 0, False: 648]
  |  |  ------------------
  |  |   59|      0|            return -1; \
  |  |   60|      0|        } \
  |  |   61|    648|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 648]
  |  |  ------------------
  ------------------
  319|    648|    APPEND_EXPR(e->v.IfExp.test, PR_TEST + 1);
  ------------------
  |  |   74|    648|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|    648|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 648]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|    648|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 648]
  |  |  ------------------
  ------------------
  320|    648|    APPEND_STR(" else ");
  ------------------
  |  |   57|    648|#define APPEND_STR(str)  do { \
  |  |   58|    648|        if (-1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (58:13): [True: 0, False: 648]
  |  |  ------------------
  |  |   59|      0|            return -1; \
  |  |   60|      0|        } \
  |  |   61|    648|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 648]
  |  |  ------------------
  ------------------
  321|    648|    APPEND_EXPR(e->v.IfExp.orelse, PR_TEST);
  ------------------
  |  |   74|    648|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|    648|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 648]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|    648|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 648]
  |  |  ------------------
  ------------------
  322|    648|    APPEND_STR_IF(level > PR_TEST, ")");
  ------------------
  |  |   63|    648|#define APPEND_STR_IF(cond, str)  do { \
  |  |   64|    648|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (64:13): [True: 0, False: 648]
  |  |  |  Branch (64:23): [True: 0, False: 0]
  |  |  ------------------
  |  |   65|      0|            return -1; \
  |  |   66|      0|        } \
  |  |   67|    648|    } while (0)
  |  |  ------------------
  |  |  |  Branch (67:14): [Folded, False: 648]
  |  |  ------------------
  ------------------
  323|    648|    return 0;
  324|    648|}
ast_unparse.c:append_ast_dict:
  328|     44|{
  329|     44|    Py_ssize_t i, value_count;
  330|     44|    expr_ty key_node;
  331|       |
  332|     44|    APPEND_CHAR('{');
  ------------------
  |  |   51|     44|#define APPEND_CHAR(ch)  do { \
  |  |   52|     44|        if (-1 == append_char(writer, (ch))) { \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  ------------------
  |  |   53|      0|            return -1; \
  |  |   54|      0|        } \
  |  |   55|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
  333|     44|    value_count = asdl_seq_LEN(e->v.Dict.values);
  ------------------
  |  |   83|     44|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     88|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  334|       |
  335|     92|    for (i = 0; i < value_count; i++) {
  ------------------
  |  Branch (335:17): [True: 48, False: 44]
  ------------------
  336|     48|        APPEND_STR_IF(i > 0, ", ");
  ------------------
  |  |   63|     48|#define APPEND_STR_IF(cond, str)  do { \
  |  |   64|     48|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (64:13): [True: 24, False: 24]
  |  |  |  Branch (64:23): [True: 0, False: 24]
  |  |  ------------------
  |  |   65|      0|            return -1; \
  |  |   66|      0|        } \
  |  |   67|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (67:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
  337|     48|        key_node = (expr_ty)asdl_seq_GET(e->v.Dict.keys, i);
  ------------------
  |  |   82|     48|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     48|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  338|     48|        if (key_node != NULL) {
  ------------------
  |  Branch (338:13): [True: 24, False: 24]
  ------------------
  339|     24|            APPEND_EXPR(key_node, PR_TEST);
  ------------------
  |  |   74|     24|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|     24|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 24]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|     24|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 24]
  |  |  ------------------
  ------------------
  340|     24|            APPEND_STR(": ");
  ------------------
  |  |   57|     24|#define APPEND_STR(str)  do { \
  |  |   58|     24|        if (-1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (58:13): [True: 0, False: 24]
  |  |  ------------------
  |  |   59|      0|            return -1; \
  |  |   60|      0|        } \
  |  |   61|     24|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 24]
  |  |  ------------------
  ------------------
  341|     24|            APPEND_EXPR((expr_ty)asdl_seq_GET(e->v.Dict.values, i), PR_TEST);
  ------------------
  |  |   74|     24|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|     24|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 24]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|     24|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 24]
  |  |  ------------------
  ------------------
  342|     24|        }
  343|     24|        else {
  344|     24|            APPEND_STR("**");
  ------------------
  |  |   57|     24|#define APPEND_STR(str)  do { \
  |  |   58|     24|        if (-1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (58:13): [True: 0, False: 24]
  |  |  ------------------
  |  |   59|      0|            return -1; \
  |  |   60|      0|        } \
  |  |   61|     24|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 24]
  |  |  ------------------
  ------------------
  345|     24|            APPEND_EXPR((expr_ty)asdl_seq_GET(e->v.Dict.values, i), PR_EXPR);
  ------------------
  |  |   74|     24|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|     24|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 24]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|     24|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 24]
  |  |  ------------------
  ------------------
  346|     24|        }
  347|     48|    }
  348|       |
  349|     44|    APPEND_CHAR_FINISH('}');
  ------------------
  |  |   43|     44|#define APPEND_CHAR_FINISH(ch)  do { \
  |  |   44|     44|        return append_char(writer, (ch)); \
  |  |   45|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (45:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  350|     44|}
ast_unparse.c:append_ast_set:
  354|    307|{
  355|    307|    Py_ssize_t i, elem_count;
  356|       |
  357|    307|    APPEND_CHAR('{');
  ------------------
  |  |   51|    307|#define APPEND_CHAR(ch)  do { \
  |  |   52|    307|        if (-1 == append_char(writer, (ch))) { \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 307]
  |  |  ------------------
  |  |   53|      0|            return -1; \
  |  |   54|      0|        } \
  |  |   55|    307|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 307]
  |  |  ------------------
  ------------------
  358|    307|    elem_count = asdl_seq_LEN(e->v.Set.elts);
  ------------------
  |  |   83|    307|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    614|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 307]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  359|    802|    for (i = 0; i < elem_count; i++) {
  ------------------
  |  Branch (359:17): [True: 495, False: 307]
  ------------------
  360|    495|        APPEND_STR_IF(i > 0, ", ");
  ------------------
  |  |   63|    495|#define APPEND_STR_IF(cond, str)  do { \
  |  |   64|    495|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (64:13): [True: 188, False: 307]
  |  |  |  Branch (64:23): [True: 0, False: 188]
  |  |  ------------------
  |  |   65|      0|            return -1; \
  |  |   66|      0|        } \
  |  |   67|    495|    } while (0)
  |  |  ------------------
  |  |  |  Branch (67:14): [Folded, False: 495]
  |  |  ------------------
  ------------------
  361|    495|        APPEND_EXPR((expr_ty)asdl_seq_GET(e->v.Set.elts, i), PR_TEST);
  ------------------
  |  |   74|    495|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|    495|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 495]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|    495|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 495]
  |  |  ------------------
  ------------------
  362|    495|    }
  363|       |
  364|    307|    APPEND_CHAR_FINISH('}');
  ------------------
  |  |   43|    307|#define APPEND_CHAR_FINISH(ch)  do { \
  |  |   44|    307|        return append_char(writer, (ch)); \
  |  |   45|    307|    } while (0)
  |  |  ------------------
  |  |  |  Branch (45:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  365|    307|}
ast_unparse.c:append_ast_comprehensions:
  425|     26|{
  426|     26|    Py_ssize_t i, gen_count;
  427|     26|    gen_count = asdl_seq_LEN(comprehensions);
  ------------------
  |  |   83|     26|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     52|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  428|       |
  429|     73|    for (i = 0; i < gen_count; i++) {
  ------------------
  |  Branch (429:17): [True: 47, False: 26]
  ------------------
  430|     47|        APPEND(comprehension, (comprehension_ty)asdl_seq_GET(comprehensions, i));
  ------------------
  |  |   80|     47|#define APPEND(type, value)  do { \
  |  |   81|     47|        if (-1 == append_ast_ ## type(writer, (value))) { \
  |  |  ------------------
  |  |  |  Branch (81:13): [True: 0, False: 47]
  |  |  ------------------
  |  |   82|      0|            return -1; \
  |  |   83|      0|        } \
  |  |   84|     47|    } while (0)
  |  |  ------------------
  |  |  |  Branch (84:14): [Folded, False: 47]
  |  |  ------------------
  ------------------
  431|     47|    }
  432|       |
  433|     26|    return 0;
  434|     26|}
ast_unparse.c:append_ast_comprehension:
  407|     47|{
  408|     47|    Py_ssize_t i, if_count;
  409|       |
  410|     47|    APPEND_STR(gen->is_async ? " async for " : " for ");
  ------------------
  |  |   57|     47|#define APPEND_STR(str)  do { \
  |  |   58|     94|        if (-1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (58:13): [True: 0, False: 47]
  |  |  |  Branch (58:41): [True: 0, False: 47]
  |  |  ------------------
  |  |   59|      0|            return -1; \
  |  |   60|      0|        } \
  |  |   61|     47|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 47]
  |  |  ------------------
  ------------------
  411|     47|    APPEND_EXPR(gen->target, PR_TUPLE);
  ------------------
  |  |   74|     47|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|     47|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 47]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|     47|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 47]
  |  |  ------------------
  ------------------
  412|     47|    APPEND_STR(" in ");
  ------------------
  |  |   57|     47|#define APPEND_STR(str)  do { \
  |  |   58|     47|        if (-1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (58:13): [True: 0, False: 47]
  |  |  ------------------
  |  |   59|      0|            return -1; \
  |  |   60|      0|        } \
  |  |   61|     47|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 47]
  |  |  ------------------
  ------------------
  413|     47|    APPEND_EXPR(gen->iter, PR_TEST + 1);
  ------------------
  |  |   74|     47|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|     47|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 47]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|     47|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 47]
  |  |  ------------------
  ------------------
  414|       |
  415|     47|    if_count = asdl_seq_LEN(gen->ifs);
  ------------------
  |  |   83|     47|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     94|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  416|    184|    for (i = 0; i < if_count; i++) {
  ------------------
  |  Branch (416:17): [True: 137, False: 47]
  ------------------
  417|    137|        APPEND_STR(" if ");
  ------------------
  |  |   57|    137|#define APPEND_STR(str)  do { \
  |  |   58|    137|        if (-1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (58:13): [True: 0, False: 137]
  |  |  ------------------
  |  |   59|      0|            return -1; \
  |  |   60|      0|        } \
  |  |   61|    137|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 137]
  |  |  ------------------
  ------------------
  418|    137|        APPEND_EXPR((expr_ty)asdl_seq_GET(gen->ifs, i), PR_TEST + 1);
  ------------------
  |  |   74|    137|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|    137|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 137]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|    137|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 137]
  |  |  ------------------
  ------------------
  419|    137|    }
  420|     47|    return 0;
  421|     47|}
ast_unparse.c:append_ast_setcomp:
  456|     25|{
  457|     25|    APPEND_CHAR('{');
  ------------------
  |  |   51|     25|#define APPEND_CHAR(ch)  do { \
  |  |   52|     25|        if (-1 == append_char(writer, (ch))) { \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 25]
  |  |  ------------------
  |  |   53|      0|            return -1; \
  |  |   54|      0|        } \
  |  |   55|     25|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 25]
  |  |  ------------------
  ------------------
  458|     25|    APPEND_EXPR(e->v.SetComp.elt, PR_TEST);
  ------------------
  |  |   74|     25|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|     25|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 25]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|     25|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 25]
  |  |  ------------------
  ------------------
  459|     25|    APPEND(comprehensions, e->v.SetComp.generators);
  ------------------
  |  |   80|     25|#define APPEND(type, value)  do { \
  |  |   81|     25|        if (-1 == append_ast_ ## type(writer, (value))) { \
  |  |  ------------------
  |  |  |  Branch (81:13): [True: 0, False: 25]
  |  |  ------------------
  |  |   82|      0|            return -1; \
  |  |   83|      0|        } \
  |  |   84|     25|    } while (0)
  |  |  ------------------
  |  |  |  Branch (84:14): [Folded, False: 25]
  |  |  ------------------
  ------------------
  460|     25|    APPEND_CHAR_FINISH('}');
  ------------------
  |  |   43|     25|#define APPEND_CHAR_FINISH(ch)  do { \
  |  |   44|     25|        return append_char(writer, (ch)); \
  |  |   45|     25|    } while (0)
  |  |  ------------------
  |  |  |  Branch (45:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  461|     25|}
ast_unparse.c:append_ast_dictcomp:
  465|      1|{
  466|      1|    APPEND_CHAR('{');
  ------------------
  |  |   51|      1|#define APPEND_CHAR(ch)  do { \
  |  |   52|      1|        if (-1 == append_char(writer, (ch))) { \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   53|      0|            return -1; \
  |  |   54|      0|        } \
  |  |   55|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  467|      1|    if (e->v.DictComp.value) {
  ------------------
  |  Branch (467:9): [True: 1, False: 0]
  ------------------
  468|      1|        APPEND_EXPR(e->v.DictComp.key, PR_TEST);
  ------------------
  |  |   74|      1|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|      1|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  469|      1|        APPEND_STR(": ");
  ------------------
  |  |   57|      1|#define APPEND_STR(str)  do { \
  |  |   58|      1|        if (-1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (58:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   59|      0|            return -1; \
  |  |   60|      0|        } \
  |  |   61|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  470|      1|        APPEND_EXPR(e->v.DictComp.value, PR_TEST);
  ------------------
  |  |   74|      1|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|      1|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  471|      1|    }
  472|      0|    else {
  473|      0|        APPEND_STR("**");
  ------------------
  |  |   57|      0|#define APPEND_STR(str)  do { \
  |  |   58|      0|        if (-1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (58:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   59|      0|            return -1; \
  |  |   60|      0|        } \
  |  |   61|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  474|      0|        APPEND_EXPR(e->v.DictComp.key, PR_TEST);
  ------------------
  |  |   74|      0|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|      0|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  475|      0|    }
  476|      1|    APPEND(comprehensions, e->v.DictComp.generators);
  ------------------
  |  |   80|      1|#define APPEND(type, value)  do { \
  |  |   81|      1|        if (-1 == append_ast_ ## type(writer, (value))) { \
  |  |  ------------------
  |  |  |  Branch (81:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   82|      0|            return -1; \
  |  |   83|      0|        } \
  |  |   84|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (84:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
  477|      1|    APPEND_CHAR_FINISH('}');
  ------------------
  |  |   43|      1|#define APPEND_CHAR_FINISH(ch)  do { \
  |  |   44|      1|        return append_char(writer, (ch)); \
  |  |   45|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (45:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  478|      1|}
ast_unparse.c:append_ast_compare:
  482|  1.81k|{
  483|  1.81k|    const char *op;
  484|  1.81k|    Py_ssize_t i, comparator_count;
  485|  1.81k|    asdl_expr_seq *comparators;
  486|  1.81k|    asdl_int_seq *ops;
  487|       |
  488|  1.81k|    APPEND_STR_IF(level > PR_CMP, "(");
  ------------------
  |  |   63|  1.81k|#define APPEND_STR_IF(cond, str)  do { \
  |  |   64|  1.81k|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (64:13): [True: 8, False: 1.80k]
  |  |  |  Branch (64:23): [True: 0, False: 8]
  |  |  ------------------
  |  |   65|      0|            return -1; \
  |  |   66|      0|        } \
  |  |   67|  1.81k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (67:14): [Folded, False: 1.81k]
  |  |  ------------------
  ------------------
  489|       |
  490|  1.81k|    comparators = e->v.Compare.comparators;
  491|  1.81k|    ops = e->v.Compare.ops;
  492|  1.81k|    comparator_count = asdl_seq_LEN(comparators);
  ------------------
  |  |   83|  1.81k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.62k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.81k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  493|  1.81k|    assert(comparator_count > 0);
  ------------------
  |  Branch (493:5): [True: 1.81k, False: 0]
  ------------------
  494|  1.81k|    assert(comparator_count == asdl_seq_LEN(ops));
  ------------------
  |  Branch (494:5): [True: 0, False: 1.81k]
  |  Branch (494:5): [True: 1.81k, False: 0]
  ------------------
  495|       |
  496|  1.81k|    APPEND_EXPR(e->v.Compare.left, PR_CMP + 1);
  ------------------
  |  |   74|  1.81k|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|  1.81k|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 1.81k]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|  1.81k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 1.81k]
  |  |  ------------------
  ------------------
  497|       |
  498|  7.53k|    for (i = 0; i < comparator_count; i++) {
  ------------------
  |  Branch (498:17): [True: 5.72k, False: 1.81k]
  ------------------
  499|  5.72k|        switch ((cmpop_ty)asdl_seq_GET(ops, i)) {
  ------------------
  |  |   82|  5.72k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  5.72k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  500|     48|        case Eq:
  ------------------
  |  Branch (500:9): [True: 48, False: 5.67k]
  ------------------
  501|     48|            op = " == ";
  502|     48|            break;
  503|      8|        case NotEq:
  ------------------
  |  Branch (503:9): [True: 8, False: 5.71k]
  ------------------
  504|      8|            op = " != ";
  505|      8|            break;
  506|  3.31k|        case Lt:
  ------------------
  |  Branch (506:9): [True: 3.31k, False: 2.41k]
  ------------------
  507|  3.31k|            op = " < ";
  508|  3.31k|            break;
  509|    787|        case LtE:
  ------------------
  |  Branch (509:9): [True: 787, False: 4.93k]
  ------------------
  510|    787|            op = " <= ";
  511|    787|            break;
  512|  1.05k|        case Gt:
  ------------------
  |  Branch (512:9): [True: 1.05k, False: 4.67k]
  ------------------
  513|  1.05k|            op = " > ";
  514|  1.05k|            break;
  515|     64|        case GtE:
  ------------------
  |  Branch (515:9): [True: 64, False: 5.66k]
  ------------------
  516|     64|            op = " >= ";
  517|     64|            break;
  518|    224|        case Is:
  ------------------
  |  Branch (518:9): [True: 224, False: 5.50k]
  ------------------
  519|    224|            op = " is ";
  520|    224|            break;
  521|      0|        case IsNot:
  ------------------
  |  Branch (521:9): [True: 0, False: 5.72k]
  ------------------
  522|      0|            op = " is not ";
  523|      0|            break;
  524|    232|        case In:
  ------------------
  |  Branch (524:9): [True: 232, False: 5.49k]
  ------------------
  525|    232|            op = " in ";
  526|    232|            break;
  527|      0|        case NotIn:
  ------------------
  |  Branch (527:9): [True: 0, False: 5.72k]
  ------------------
  528|      0|            op = " not in ";
  529|      0|            break;
  530|      0|        default:
  ------------------
  |  Branch (530:9): [True: 0, False: 5.72k]
  ------------------
  531|      0|            PyErr_SetString(PyExc_SystemError,
  532|      0|                            "unexpected comparison kind");
  533|      0|            return -1;
  534|  5.72k|        }
  535|       |
  536|  5.72k|        APPEND_STR(op);
  ------------------
  |  |   57|  5.72k|#define APPEND_STR(str)  do { \
  |  |   58|  5.72k|        if (-1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (58:13): [True: 0, False: 5.72k]
  |  |  ------------------
  |  |   59|      0|            return -1; \
  |  |   60|      0|        } \
  |  |   61|  5.72k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 5.72k]
  |  |  ------------------
  ------------------
  537|  5.72k|        APPEND_EXPR((expr_ty)asdl_seq_GET(comparators, i), PR_CMP + 1);
  ------------------
  |  |   74|  5.72k|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|  5.72k|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 5.72k]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|  5.72k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 5.72k]
  |  |  ------------------
  ------------------
  538|  5.72k|    }
  539|       |
  540|  1.81k|    APPEND_STR_IF(level > PR_CMP, ")");
  ------------------
  |  |   63|  1.81k|#define APPEND_STR_IF(cond, str)  do { \
  |  |   64|  1.81k|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (64:13): [True: 8, False: 1.80k]
  |  |  |  Branch (64:23): [True: 0, False: 8]
  |  |  ------------------
  |  |   65|      0|            return -1; \
  |  |   66|      0|        } \
  |  |   67|  1.81k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (67:14): [Folded, False: 1.81k]
  |  |  ------------------
  ------------------
  541|  1.81k|    return 0;
  542|  1.81k|}
ast_unparse.c:append_ast_call:
  564|    263|{
  565|    263|    bool first;
  566|    263|    Py_ssize_t i, arg_count, kw_count;
  567|    263|    expr_ty expr;
  568|       |
  569|    263|    APPEND_EXPR(e->v.Call.func, PR_ATOM);
  ------------------
  |  |   74|    263|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|    263|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 263]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|    263|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 263]
  |  |  ------------------
  ------------------
  570|       |
  571|    263|    arg_count = asdl_seq_LEN(e->v.Call.args);
  ------------------
  |  |   83|    263|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    526|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 142, False: 121]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  572|    263|    kw_count = asdl_seq_LEN(e->v.Call.keywords);
  ------------------
  |  |   83|    263|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    526|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 254, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  573|    263|    if (arg_count == 1 && kw_count == 0) {
  ------------------
  |  Branch (573:9): [True: 83, False: 180]
  |  Branch (573:27): [True: 80, False: 3]
  ------------------
  574|     80|        expr = (expr_ty)asdl_seq_GET(e->v.Call.args, 0);
  ------------------
  |  |   82|     80|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     80|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  575|     80|        if (expr->kind == GeneratorExp_kind) {
  ------------------
  |  Branch (575:13): [True: 0, False: 80]
  ------------------
  576|       |            /* Special case: a single generator expression. */
  577|      0|            return append_ast_genexp(writer, expr);
  578|      0|        }
  579|     80|    }
  580|       |
  581|    263|    APPEND_CHAR('(');
  ------------------
  |  |   51|    263|#define APPEND_CHAR(ch)  do { \
  |  |   52|    263|        if (-1 == append_char(writer, (ch))) { \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 263]
  |  |  ------------------
  |  |   53|      0|            return -1; \
  |  |   54|      0|        } \
  |  |   55|    263|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 263]
  |  |  ------------------
  ------------------
  582|       |
  583|    263|    first = true;
  584|    434|    for (i = 0; i < arg_count; i++) {
  ------------------
  |  Branch (584:17): [True: 171, False: 263]
  ------------------
  585|    171|        APPEND_STR_IF_NOT_FIRST(", ");
  ------------------
  |  |   69|    171|#define APPEND_STR_IF_NOT_FIRST(str)  do { \
  |  |   70|    171|        APPEND_STR_IF(!first, (str)); \
  |  |  ------------------
  |  |  |  |   63|    171|#define APPEND_STR_IF(cond, str)  do { \
  |  |  |  |   64|    171|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:13): [True: 50, False: 121]
  |  |  |  |  |  Branch (64:23): [True: 0, False: 50]
  |  |  |  |  ------------------
  |  |  |  |   65|      0|            return -1; \
  |  |  |  |   66|      0|        } \
  |  |  |  |   67|    171|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (67:14): [Folded, False: 171]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|    171|        first = false; \
  |  |   72|    171|    } while (0)
  |  |  ------------------
  |  |  |  Branch (72:14): [Folded, False: 171]
  |  |  ------------------
  ------------------
  586|    171|        APPEND_EXPR((expr_ty)asdl_seq_GET(e->v.Call.args, i), PR_TEST);
  ------------------
  |  |   74|    171|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|    171|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 171]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|    171|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 171]
  |  |  ------------------
  ------------------
  587|    171|    }
  588|       |
  589|    277|    for (i = 0; i < kw_count; i++) {
  ------------------
  |  Branch (589:17): [True: 14, False: 263]
  ------------------
  590|     14|        APPEND_STR_IF_NOT_FIRST(", ");
  ------------------
  |  |   69|     14|#define APPEND_STR_IF_NOT_FIRST(str)  do { \
  |  |   70|     14|        APPEND_STR_IF(!first, (str)); \
  |  |  ------------------
  |  |  |  |   63|     14|#define APPEND_STR_IF(cond, str)  do { \
  |  |  |  |   64|     14|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:13): [True: 9, False: 5]
  |  |  |  |  |  Branch (64:23): [True: 0, False: 9]
  |  |  |  |  ------------------
  |  |  |  |   65|      0|            return -1; \
  |  |  |  |   66|      0|        } \
  |  |  |  |   67|     14|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (67:14): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|     14|        first = false; \
  |  |   72|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (72:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
  591|     14|        APPEND(keyword, (keyword_ty)asdl_seq_GET(e->v.Call.keywords, i));
  ------------------
  |  |   80|     14|#define APPEND(type, value)  do { \
  |  |   81|     14|        if (-1 == append_ast_ ## type(writer, (value))) { \
  |  |  ------------------
  |  |  |  Branch (81:13): [True: 0, False: 14]
  |  |  ------------------
  |  |   82|      0|            return -1; \
  |  |   83|      0|        } \
  |  |   84|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (84:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
  592|     14|    }
  593|       |
  594|    263|    APPEND_CHAR_FINISH(')');
  ------------------
  |  |   43|    263|#define APPEND_CHAR_FINISH(ch)  do { \
  |  |   44|    263|        return append_char(writer, (ch)); \
  |  |   45|    263|    } while (0)
  |  |  ------------------
  |  |  |  Branch (45:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  595|    263|}
ast_unparse.c:append_ast_keyword:
  546|     14|{
  547|     14|    if (kw->arg == NULL) {
  ------------------
  |  Branch (547:9): [True: 6, False: 8]
  ------------------
  548|      6|        APPEND_STR("**");
  ------------------
  |  |   57|      6|#define APPEND_STR(str)  do { \
  |  |   58|      6|        if (-1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (58:13): [True: 0, False: 6]
  |  |  ------------------
  |  |   59|      0|            return -1; \
  |  |   60|      0|        } \
  |  |   61|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  549|      6|    }
  550|      8|    else {
  551|      8|        if (-1 == PyUnicodeWriter_WriteStr(writer, kw->arg)) {
  ------------------
  |  Branch (551:13): [True: 0, False: 8]
  ------------------
  552|      0|            return -1;
  553|      0|        }
  554|       |
  555|      8|        APPEND_CHAR('=');
  ------------------
  |  |   51|      8|#define APPEND_CHAR(ch)  do { \
  |  |   52|      8|        if (-1 == append_char(writer, (ch))) { \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 8]
  |  |  ------------------
  |  |   53|      0|            return -1; \
  |  |   54|      0|        } \
  |  |   55|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
  556|      8|    }
  557|       |
  558|     14|    APPEND_EXPR(kw->value, PR_TEST);
  ------------------
  |  |   74|     14|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|     14|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 14]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
  559|     14|    return 0;
  560|     14|}
ast_unparse.c:append_charp:
   39|   151k|{
   40|   151k|    return PyUnicodeWriter_WriteUTF8(writer, charp, -1);
   41|   151k|}
ast_unparse.c:append_ast_constant:
  822|   101k|{
  823|   101k|    if (PyTuple_CheckExact(constant)) {
  ------------------
  |  |   28|   101k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|   101k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   101k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   101k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 101k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  824|      0|        Py_ssize_t i, elem_count;
  825|       |
  826|      0|        elem_count = PyTuple_GET_SIZE(constant);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  827|      0|        APPEND_CHAR('(');
  ------------------
  |  |   51|      0|#define APPEND_CHAR(ch)  do { \
  |  |   52|      0|        if (-1 == append_char(writer, (ch))) { \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return -1; \
  |  |   54|      0|        } \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  828|      0|        for (i = 0; i < elem_count; i++) {
  ------------------
  |  Branch (828:21): [True: 0, False: 0]
  ------------------
  829|      0|            APPEND_STR_IF(i > 0, ", ");
  ------------------
  |  |   63|      0|#define APPEND_STR_IF(cond, str)  do { \
  |  |   64|      0|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (64:13): [True: 0, False: 0]
  |  |  |  Branch (64:23): [True: 0, False: 0]
  |  |  ------------------
  |  |   65|      0|            return -1; \
  |  |   66|      0|        } \
  |  |   67|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (67:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  830|      0|            if (append_ast_constant(writer, PyTuple_GET_ITEM(constant, i)) < 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 (830:17): [True: 0, False: 0]
  |  Branch (830:45): [True: 0, False: 0]
  ------------------
  831|      0|                return -1;
  832|      0|            }
  833|      0|        }
  834|       |
  835|      0|        APPEND_STR_IF(elem_count == 1, ",");
  ------------------
  |  |   63|      0|#define APPEND_STR_IF(cond, str)  do { \
  |  |   64|      0|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (64:13): [True: 0, False: 0]
  |  |  |  Branch (64:23): [True: 0, False: 0]
  |  |  ------------------
  |  |   65|      0|            return -1; \
  |  |   66|      0|        } \
  |  |   67|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (67:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  836|      0|        APPEND_CHAR_FINISH(')');
  ------------------
  |  |   43|      0|#define APPEND_CHAR_FINISH(ch)  do { \
  |  |   44|      0|        return append_char(writer, (ch)); \
  |  |   45|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (45:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  837|      0|    }
  838|   101k|    return append_repr(writer, constant);
  839|   101k|}
ast_unparse.c:append_repr:
   88|   105k|{
   89|   105k|    PyObject *repr = PyObject_Repr(obj);
   90|   105k|    if (!repr) {
  ------------------
  |  Branch (90:9): [True: 0, False: 105k]
  ------------------
   91|      0|        return -1;
   92|      0|    }
   93|       |
   94|   105k|    if ((PyFloat_CheckExact(obj) && isinf(PyFloat_AS_DOUBLE(obj))) ||
  ------------------
  |  |   17|   105k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|   211k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   105k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   105k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 23.2k, False: 82.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (94:37): [True: 1.53k, False: 21.7k]
  ------------------
   95|   104k|        PyComplex_CheckExact(obj))
  ------------------
  |  |   14|   104k|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  215|   104k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   104k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   104k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 19.6k, False: 84.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|  21.1k|    {
   97|  21.1k|        _Py_DECLARE_STR(str_replace_inf, "1e309");  // evaluates to inf
   98|  21.1k|        PyObject *new_repr = PyUnicode_Replace(
   99|  21.1k|            repr,
  100|  21.1k|            &_Py_ID(inf),
  ------------------
  |  |  921|  21.1k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  21.1k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  21.1k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  101|  21.1k|            &_Py_STR(str_replace_inf),
  ------------------
  |  |  923|  21.1k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  21.1k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  21.1k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  102|  21.1k|            -1
  103|  21.1k|        );
  104|  21.1k|        Py_DECREF(repr);
  ------------------
  |  |  430|  21.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  105|  21.1k|        if (!new_repr) {
  ------------------
  |  Branch (105:13): [True: 0, False: 21.1k]
  ------------------
  106|      0|            return -1;
  107|      0|        }
  108|  21.1k|        repr = new_repr;
  109|  21.1k|    }
  110|       |
  111|   105k|    int ret = PyUnicodeWriter_WriteStr(writer, repr);
  112|   105k|    Py_DECREF(repr);
  ------------------
  |  |  430|   105k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   105k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   105k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  113|   105k|    return ret;
  114|   105k|}
ast_unparse.c:append_joinedstr:
  691|  7.31k|{
  692|  7.31k|    int result = -1;
  693|  7.31k|    PyObject *body = build_ftstring_body(e->v.JoinedStr.values, is_format_spec);
  694|  7.31k|    if (!body) {
  ------------------
  |  Branch (694:9): [True: 0, False: 7.31k]
  ------------------
  695|      0|        return -1;
  696|      0|    }
  697|       |
  698|  7.31k|    if (!is_format_spec) {
  ------------------
  |  Branch (698:9): [True: 3.83k, False: 3.48k]
  ------------------
  699|  3.83k|        if (-1 != append_charp(writer, "f") &&
  ------------------
  |  Branch (699:13): [True: 3.83k, False: 0]
  ------------------
  700|  3.83k|            -1 != append_repr(writer, body))
  ------------------
  |  Branch (700:13): [True: 3.83k, False: 0]
  ------------------
  701|  3.83k|        {
  702|  3.83k|            result = 0;
  703|  3.83k|        }
  704|  3.83k|    }
  705|  3.48k|    else {
  706|  3.48k|        result = PyUnicodeWriter_WriteStr(writer, body);
  707|  3.48k|    }
  708|  7.31k|    Py_DECREF(body);
  ------------------
  |  |  430|  7.31k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  709|  7.31k|    return result;
  710|  7.31k|}
ast_unparse.c:build_ftstring_body:
  651|  7.74k|{
  652|  7.74k|    PyUnicodeWriter *body_writer = PyUnicodeWriter_Create(256);
  653|  7.74k|    if (body_writer == NULL) {
  ------------------
  |  Branch (653:9): [True: 0, False: 7.74k]
  ------------------
  654|      0|        return NULL;
  655|      0|    }
  656|       |
  657|  7.74k|    Py_ssize_t value_count = asdl_seq_LEN(values);
  ------------------
  |  |   83|  7.74k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  15.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 7.74k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  658|  24.0k|    for (Py_ssize_t i = 0; i < value_count; ++i) {
  ------------------
  |  Branch (658:28): [True: 16.3k, False: 7.74k]
  ------------------
  659|  16.3k|        if (-1 == append_fstring_element(body_writer,
  ------------------
  |  Branch (659:13): [True: 0, False: 16.3k]
  ------------------
  660|  16.3k|                                         (expr_ty)asdl_seq_GET(values, i),
  ------------------
  |  |   82|  16.3k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  16.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  661|  16.3k|                                         is_format_spec
  662|  16.3k|                                         )) {
  663|      0|            PyUnicodeWriter_Discard(body_writer);
  664|      0|            return NULL;
  665|      0|        }
  666|  16.3k|    }
  667|       |
  668|  7.74k|    return PyUnicodeWriter_Finish(body_writer);
  669|  7.74k|}
ast_unparse.c:append_fstring_element:
  628|  19.8k|{
  629|  19.8k|    switch (e->kind) {
  630|  10.4k|    case Constant_kind:
  ------------------
  |  Branch (630:5): [True: 10.4k, False: 9.31k]
  ------------------
  631|  10.4k|        return append_fstring_unicode(writer, e->v.Constant.value);
  632|  3.48k|    case JoinedStr_kind:
  ------------------
  |  Branch (632:5): [True: 3.48k, False: 16.3k]
  ------------------
  633|  3.48k|        return append_joinedstr(writer, e, is_format_spec);
  634|      0|    case TemplateStr_kind:
  ------------------
  |  Branch (634:5): [True: 0, False: 19.8k]
  ------------------
  635|      0|        return append_templatestr(writer, e);
  636|  4.20k|    case FormattedValue_kind:
  ------------------
  |  Branch (636:5): [True: 4.20k, False: 15.6k]
  ------------------
  637|  4.20k|        return append_formattedvalue(writer, e);
  638|  1.62k|    case Interpolation_kind:
  ------------------
  |  Branch (638:5): [True: 1.62k, False: 18.1k]
  ------------------
  639|  1.62k|        return append_interpolation(writer, e);
  640|      0|    default:
  ------------------
  |  Branch (640:5): [True: 0, False: 19.8k]
  ------------------
  641|      0|        PyErr_SetString(PyExc_SystemError,
  642|      0|                        "unknown expression kind inside f-string or t-string");
  643|      0|        return -1;
  644|  19.8k|    }
  645|  19.8k|}
ast_unparse.c:append_fstring_unicode:
  615|  10.4k|{
  616|  10.4k|    PyObject *escaped;
  617|  10.4k|    int result = -1;
  618|  10.4k|    escaped = escape_braces(unicode);
  619|  10.4k|    if (escaped) {
  ------------------
  |  Branch (619:9): [True: 10.4k, False: 0]
  ------------------
  620|  10.4k|        result = PyUnicodeWriter_WriteStr(writer, escaped);
  621|  10.4k|        Py_DECREF(escaped);
  ------------------
  |  |  430|  10.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  622|  10.4k|    }
  623|  10.4k|    return result;
  624|  10.4k|}
ast_unparse.c:escape_braces:
  599|  10.4k|{
  600|  10.4k|    PyObject *temp;
  601|  10.4k|    PyObject *result;
  602|  10.4k|    temp = PyUnicode_Replace(orig, _Py_LATIN1_CHR('{'),
  ------------------
  |  |  925|  10.4k|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (925:6): [True: 10.4k, Folded]
  |  |  ------------------
  |  |  926|  10.4k|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|  10.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  10.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  927|  10.4k|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  603|  10.4k|                             &_Py_STR(dbl_open_br), -1);
  ------------------
  |  |  923|  10.4k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  10.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  10.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  604|  10.4k|    if (!temp) {
  ------------------
  |  Branch (604:9): [True: 0, False: 10.4k]
  ------------------
  605|      0|        return NULL;
  606|      0|    }
  607|  10.4k|    result = PyUnicode_Replace(temp, _Py_LATIN1_CHR('}'),
  ------------------
  |  |  925|  10.4k|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (925:6): [True: 10.4k, Folded]
  |  |  ------------------
  |  |  926|  10.4k|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|  10.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  10.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  927|  10.4k|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|  10.4k|                               &_Py_STR(dbl_close_br), -1);
  ------------------
  |  |  923|  10.4k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  10.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  10.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  609|  10.4k|    Py_DECREF(temp);
  ------------------
  |  |  430|  10.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  610|  10.4k|    return result;
  611|  10.4k|}
ast_unparse.c:append_templatestr:
  673|    425|{
  674|    425|    int result = -1;
  675|    425|    PyObject *body = build_ftstring_body(e->v.TemplateStr.values, false);
  676|    425|    if (!body) {
  ------------------
  |  Branch (676:9): [True: 0, False: 425]
  ------------------
  677|      0|        return -1;
  678|      0|    }
  679|       |
  680|    425|    if (-1 != append_charp(writer, "t") &&
  ------------------
  |  Branch (680:9): [True: 425, False: 0]
  ------------------
  681|    425|        -1 != append_repr(writer, body))
  ------------------
  |  Branch (681:9): [True: 425, False: 0]
  ------------------
  682|    425|    {
  683|    425|        result = 0;
  684|    425|    }
  685|    425|    Py_DECREF(body);
  ------------------
  |  |  430|    425|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    425|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    425|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  686|    425|    return result;
  687|    425|}
ast_unparse.c:append_formattedvalue:
  804|  4.20k|{
  805|  4.20k|    if (-1 == append_interpolation_value(writer, e->v.FormattedValue.value)) {
  ------------------
  |  Branch (805:9): [True: 0, False: 4.20k]
  ------------------
  806|      0|        return -1;
  807|      0|    }
  808|       |
  809|  4.20k|    if (-1 == append_interpolation_conversion(writer, e->v.FormattedValue.conversion)) {
  ------------------
  |  Branch (809:9): [True: 0, False: 4.20k]
  ------------------
  810|      0|        return -1;
  811|      0|    }
  812|       |
  813|  4.20k|    if (-1 == append_interpolation_format_spec(writer, e->v.FormattedValue.format_spec)) {
  ------------------
  |  Branch (813:9): [True: 0, False: 4.20k]
  ------------------
  814|      0|        return -1;
  815|      0|    }
  816|       |
  817|  4.20k|    APPEND_CHAR_FINISH('}');
  ------------------
  |  |   43|  4.20k|#define APPEND_CHAR_FINISH(ch)  do { \
  |  |   44|  4.20k|        return append_char(writer, (ch)); \
  |  |   45|  4.20k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (45:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  818|  4.20k|}
ast_unparse.c:append_interpolation_value:
  732|  4.20k|{
  733|       |    /* Grammar allows PR_TUPLE, but use >PR_TEST for adding parenthesis
  734|       |       around a lambda with ':' */
  735|  4.20k|    PyObject *temp_fv_str = expr_as_unicode(e, PR_TEST + 1);
  736|  4.20k|    if (!temp_fv_str) {
  ------------------
  |  Branch (736:9): [True: 0, False: 4.20k]
  ------------------
  737|      0|        return -1;
  738|      0|    }
  739|  4.20k|    int result = append_interpolation_str(writer, temp_fv_str);
  740|  4.20k|    Py_DECREF(temp_fv_str);
  ------------------
  |  |  430|  4.20k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  741|  4.20k|    return result;
  742|  4.20k|}
ast_unparse.c:append_interpolation_str:
  714|  5.82k|{
  715|  5.82k|    const char *outer_brace = "{";
  716|  5.82k|    if (PyUnicode_Find(str, _Py_LATIN1_CHR('{'), 0, 1, 1) == 0) {
  ------------------
  |  |  925|  5.82k|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (925:6): [True: 5.82k, Folded]
  |  |  ------------------
  |  |  926|  5.82k|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|  5.82k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  5.82k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  927|  5.82k|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (716:9): [True: 131, False: 5.69k]
  ------------------
  717|       |        /* Expression starts with a brace, split it with a space from the outer
  718|       |           one. */
  719|    131|        outer_brace = "{ ";
  720|    131|    }
  721|  5.82k|    if (-1 == append_charp(writer, outer_brace)) {
  ------------------
  |  Branch (721:9): [True: 0, False: 5.82k]
  ------------------
  722|      0|        return -1;
  723|      0|    }
  724|  5.82k|    if (-1 == PyUnicodeWriter_WriteStr(writer, str)) {
  ------------------
  |  Branch (724:9): [True: 0, False: 5.82k]
  ------------------
  725|      0|        return -1;
  726|      0|    }
  727|  5.82k|    return 0;
  728|  5.82k|}
ast_unparse.c:append_interpolation_conversion:
  746|  5.82k|{
  747|  5.82k|    if (conversion < 0) {
  ------------------
  |  Branch (747:9): [True: 4.05k, False: 1.77k]
  ------------------
  748|  4.05k|        return 0;
  749|  4.05k|    }
  750|       |
  751|  1.77k|    const char *conversion_str;
  752|  1.77k|    switch (conversion) {
  753|    904|    case 'a':
  ------------------
  |  Branch (753:5): [True: 904, False: 869]
  ------------------
  754|    904|        conversion_str = "!a";
  755|    904|        break;
  756|    610|    case 'r':
  ------------------
  |  Branch (756:5): [True: 610, False: 1.16k]
  ------------------
  757|    610|        conversion_str = "!r";
  758|    610|        break;
  759|    259|    case 's':
  ------------------
  |  Branch (759:5): [True: 259, False: 1.51k]
  ------------------
  760|    259|        conversion_str = "!s";
  761|    259|        break;
  762|      0|    default:
  ------------------
  |  Branch (762:5): [True: 0, False: 1.77k]
  ------------------
  763|      0|        PyErr_SetString(PyExc_SystemError,
  764|      0|                        "unknown f-value conversion kind");
  765|      0|        return -1;
  766|  1.77k|    }
  767|  1.77k|    APPEND_STR(conversion_str);
  ------------------
  |  |   57|  1.77k|#define APPEND_STR(str)  do { \
  |  |   58|  1.77k|        if (-1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (58:13): [True: 0, False: 1.77k]
  |  |  ------------------
  |  |   59|      0|            return -1; \
  |  |   60|      0|        } \
  |  |   61|  1.77k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 1.77k]
  |  |  ------------------
  ------------------
  768|  1.77k|    return 0;
  769|  1.77k|}
ast_unparse.c:append_interpolation_format_spec:
  773|  5.82k|{
  774|  5.82k|    if (e) {
  ------------------
  |  Branch (774:9): [True: 3.48k, False: 2.34k]
  ------------------
  775|  3.48k|        if (-1 == PyUnicodeWriter_WriteChar(writer, ':') ||
  ------------------
  |  Branch (775:13): [True: 0, False: 3.48k]
  ------------------
  776|  3.48k|            -1 == append_fstring_element(writer, e, true))
  ------------------
  |  Branch (776:13): [True: 0, False: 3.48k]
  ------------------
  777|      0|        {
  778|      0|            return -1;
  779|      0|        }
  780|  3.48k|    }
  781|  5.82k|    return 0;
  782|  5.82k|}
ast_unparse.c:append_interpolation:
  786|  1.62k|{
  787|  1.62k|    if (-1 == append_interpolation_str(writer, e->v.Interpolation.str)) {
  ------------------
  |  Branch (787:9): [True: 0, False: 1.62k]
  ------------------
  788|      0|        return -1;
  789|      0|    }
  790|       |
  791|  1.62k|    if (-1 == append_interpolation_conversion(writer, e->v.Interpolation.conversion)) {
  ------------------
  |  Branch (791:9): [True: 0, False: 1.62k]
  ------------------
  792|      0|        return -1;
  793|      0|    }
  794|       |
  795|  1.62k|    if (-1 == append_interpolation_format_spec(writer, e->v.Interpolation.format_spec)) {
  ------------------
  |  Branch (795:9): [True: 0, False: 1.62k]
  ------------------
  796|      0|        return -1;
  797|      0|    }
  798|       |
  799|  1.62k|    APPEND_STR_FINISH("}");
  ------------------
  |  |   47|  1.62k|#define APPEND_STR_FINISH(str)  do { \
  |  |   48|  1.62k|        return append_charp(writer, (str)); \
  |  |   49|  1.62k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (49:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  800|  1.62k|}
ast_unparse.c:append_ast_attribute:
  843|    179|{
  844|    179|    const char *period;
  845|    179|    expr_ty v = e->v.Attribute.value;
  846|    179|    APPEND_EXPR(v, PR_ATOM);
  ------------------
  |  |   74|    179|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|    179|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 179]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|    179|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 179]
  |  |  ------------------
  ------------------
  847|       |
  848|       |    /* Special case: integers require a space for attribute access to be
  849|       |       unambiguous. */
  850|    179|    if (v->kind == Constant_kind && PyLong_CheckExact(v->v.Constant.value)) {
  ------------------
  |  |   14|     32|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_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 (215:32): [True: 11, False: 21]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (850:9): [True: 32, False: 147]
  ------------------
  851|     11|        period = " .";
  852|     11|    }
  853|    168|    else {
  854|    168|        period = ".";
  855|    168|    }
  856|    179|    APPEND_STR(period);
  ------------------
  |  |   57|    179|#define APPEND_STR(str)  do { \
  |  |   58|    179|        if (-1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (58:13): [True: 0, False: 179]
  |  |  ------------------
  |  |   59|      0|            return -1; \
  |  |   60|      0|        } \
  |  |   61|    179|    } while (0)
  |  |  ------------------
  |  |  |  Branch (61:14): [Folded, False: 179]
  |  |  ------------------
  ------------------
  857|       |
  858|    179|    return PyUnicodeWriter_WriteStr(writer, e->v.Attribute.attr);
  859|    179|}
ast_unparse.c:append_ast_subscript:
  883|    302|{
  884|    302|    APPEND_EXPR(e->v.Subscript.value, PR_ATOM);
  ------------------
  |  |   74|    302|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|    302|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 302]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|    302|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 302]
  |  |  ------------------
  ------------------
  885|    302|    APPEND_CHAR('[');
  ------------------
  |  |   51|    302|#define APPEND_CHAR(ch)  do { \
  |  |   52|    302|        if (-1 == append_char(writer, (ch))) { \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 302]
  |  |  ------------------
  |  |   53|      0|            return -1; \
  |  |   54|      0|        } \
  |  |   55|    302|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 302]
  |  |  ------------------
  ------------------
  886|    302|    APPEND_EXPR(e->v.Subscript.slice, PR_TUPLE);
  ------------------
  |  |   74|    302|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|    302|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 302]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|    302|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 302]
  |  |  ------------------
  ------------------
  887|    302|    APPEND_CHAR_FINISH(']');
  ------------------
  |  |   43|    302|#define APPEND_CHAR_FINISH(ch)  do { \
  |  |   44|    302|        return append_char(writer, (ch)); \
  |  |   45|    302|    } while (0)
  |  |  ------------------
  |  |  |  Branch (45:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  888|    302|}
ast_unparse.c:append_ast_starred:
  892|    264|{
  893|    264|    APPEND_CHAR('*');
  ------------------
  |  |   51|    264|#define APPEND_CHAR(ch)  do { \
  |  |   52|    264|        if (-1 == append_char(writer, (ch))) { \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 264]
  |  |  ------------------
  |  |   53|      0|            return -1; \
  |  |   54|      0|        } \
  |  |   55|    264|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 264]
  |  |  ------------------
  ------------------
  894|    264|    APPEND_EXPR(e->v.Starred.value, PR_EXPR);
  ------------------
  |  |   74|    264|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|    264|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 264]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|    264|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 264]
  |  |  ------------------
  ------------------
  895|    264|    return 0;
  896|    264|}
ast_unparse.c:append_ast_slice:
  863|    338|{
  864|    338|    if (e->v.Slice.lower) {
  ------------------
  |  Branch (864:9): [True: 57, False: 281]
  ------------------
  865|     57|        APPEND_EXPR(e->v.Slice.lower, PR_TEST);
  ------------------
  |  |   74|     57|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|     57|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 57]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|     57|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 57]
  |  |  ------------------
  ------------------
  866|     57|    }
  867|       |
  868|    338|    APPEND_CHAR(':');
  ------------------
  |  |   51|    338|#define APPEND_CHAR(ch)  do { \
  |  |   52|    338|        if (-1 == append_char(writer, (ch))) { \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 338]
  |  |  ------------------
  |  |   53|      0|            return -1; \
  |  |   54|      0|        } \
  |  |   55|    338|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 338]
  |  |  ------------------
  ------------------
  869|       |
  870|    338|    if (e->v.Slice.upper) {
  ------------------
  |  Branch (870:9): [True: 260, False: 78]
  ------------------
  871|    260|        APPEND_EXPR(e->v.Slice.upper, PR_TEST);
  ------------------
  |  |   74|    260|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|    260|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 260]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|    260|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 260]
  |  |  ------------------
  ------------------
  872|    260|    }
  873|       |
  874|    338|    if (e->v.Slice.step) {
  ------------------
  |  Branch (874:9): [True: 72, False: 266]
  ------------------
  875|     72|        APPEND_CHAR(':');
  ------------------
  |  |   51|     72|#define APPEND_CHAR(ch)  do { \
  |  |   52|     72|        if (-1 == append_char(writer, (ch))) { \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 72]
  |  |  ------------------
  |  |   53|      0|            return -1; \
  |  |   54|      0|        } \
  |  |   55|     72|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 72]
  |  |  ------------------
  ------------------
  876|     72|        APPEND_EXPR(e->v.Slice.step, PR_TEST);
  ------------------
  |  |   74|     72|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|     72|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 72]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|     72|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 72]
  |  |  ------------------
  ------------------
  877|     72|    }
  878|    338|    return 0;
  879|    338|}
ast_unparse.c:append_ast_list:
  369|     26|{
  370|     26|    Py_ssize_t i, elem_count;
  371|       |
  372|     26|    APPEND_CHAR('[');
  ------------------
  |  |   51|     26|#define APPEND_CHAR(ch)  do { \
  |  |   52|     26|        if (-1 == append_char(writer, (ch))) { \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 26]
  |  |  ------------------
  |  |   53|      0|            return -1; \
  |  |   54|      0|        } \
  |  |   55|     26|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 26]
  |  |  ------------------
  ------------------
  373|     26|    elem_count = asdl_seq_LEN(e->v.List.elts);
  ------------------
  |  |   83|     26|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     52|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  374|    122|    for (i = 0; i < elem_count; i++) {
  ------------------
  |  Branch (374:17): [True: 96, False: 26]
  ------------------
  375|     96|        APPEND_STR_IF(i > 0, ", ");
  ------------------
  |  |   63|     96|#define APPEND_STR_IF(cond, str)  do { \
  |  |   64|     96|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (64:13): [True: 70, False: 26]
  |  |  |  Branch (64:23): [True: 0, False: 70]
  |  |  ------------------
  |  |   65|      0|            return -1; \
  |  |   66|      0|        } \
  |  |   67|     96|    } while (0)
  |  |  ------------------
  |  |  |  Branch (67:14): [Folded, False: 96]
  |  |  ------------------
  ------------------
  376|     96|        APPEND_EXPR((expr_ty)asdl_seq_GET(e->v.List.elts, i), PR_TEST);
  ------------------
  |  |   74|     96|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|     96|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 96]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|     96|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 96]
  |  |  ------------------
  ------------------
  377|     96|    }
  378|       |
  379|     26|    APPEND_CHAR_FINISH(']');
  ------------------
  |  |   43|     26|#define APPEND_CHAR_FINISH(ch)  do { \
  |  |   44|     26|        return append_char(writer, (ch)); \
  |  |   45|     26|    } while (0)
  |  |  ------------------
  |  |  |  Branch (45:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  380|     26|}
ast_unparse.c:append_ast_tuple:
  384|    720|{
  385|    720|    Py_ssize_t i, elem_count;
  386|       |
  387|    720|    elem_count = asdl_seq_LEN(e->v.Tuple.elts);
  ------------------
  |  |   83|    720|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.44k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 239, False: 481]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  388|       |
  389|    720|    if (elem_count == 0) {
  ------------------
  |  Branch (389:9): [True: 239, False: 481]
  ------------------
  390|    239|        APPEND_STR_FINISH("()");
  ------------------
  |  |   47|    239|#define APPEND_STR_FINISH(str)  do { \
  |  |   48|    239|        return append_charp(writer, (str)); \
  |  |   49|    239|    } while (0)
  |  |  ------------------
  |  |  |  Branch (49:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  391|    239|    }
  392|       |
  393|    481|    APPEND_STR_IF(level > PR_TUPLE, "(");
  ------------------
  |  |   63|    481|#define APPEND_STR_IF(cond, str)  do { \
  |  |   64|    481|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (64:13): [True: 424, False: 57]
  |  |  |  Branch (64:23): [True: 0, False: 424]
  |  |  ------------------
  |  |   65|      0|            return -1; \
  |  |   66|      0|        } \
  |  |   67|    481|    } while (0)
  |  |  ------------------
  |  |  |  Branch (67:14): [Folded, False: 481]
  |  |  ------------------
  ------------------
  394|       |
  395|  1.36k|    for (i = 0; i < elem_count; i++) {
  ------------------
  |  Branch (395:17): [True: 883, False: 481]
  ------------------
  396|    883|        APPEND_STR_IF(i > 0, ", ");
  ------------------
  |  |   63|    883|#define APPEND_STR_IF(cond, str)  do { \
  |  |   64|    883|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (64:13): [True: 402, False: 481]
  |  |  |  Branch (64:23): [True: 0, False: 402]
  |  |  ------------------
  |  |   65|      0|            return -1; \
  |  |   66|      0|        } \
  |  |   67|    883|    } while (0)
  |  |  ------------------
  |  |  |  Branch (67:14): [Folded, False: 883]
  |  |  ------------------
  ------------------
  397|    883|        APPEND_EXPR((expr_ty)asdl_seq_GET(e->v.Tuple.elts, i), PR_TEST);
  ------------------
  |  |   74|    883|#define APPEND_EXPR(expr, pr)  do { \
  |  |   75|    883|        if (-1 == append_ast_expr(writer, (expr), (pr))) { \
  |  |  ------------------
  |  |  |  Branch (75:13): [True: 0, False: 883]
  |  |  ------------------
  |  |   76|      0|            return -1; \
  |  |   77|      0|        } \
  |  |   78|    883|    } while (0)
  |  |  ------------------
  |  |  |  Branch (78:14): [Folded, False: 883]
  |  |  ------------------
  ------------------
  398|    883|    }
  399|       |
  400|    481|    APPEND_STR_IF(elem_count == 1, ",");
  ------------------
  |  |   63|    481|#define APPEND_STR_IF(cond, str)  do { \
  |  |   64|    481|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (64:13): [True: 269, False: 212]
  |  |  |  Branch (64:23): [True: 0, False: 269]
  |  |  ------------------
  |  |   65|      0|            return -1; \
  |  |   66|      0|        } \
  |  |   67|    481|    } while (0)
  |  |  ------------------
  |  |  |  Branch (67:14): [Folded, False: 481]
  |  |  ------------------
  ------------------
  401|    481|    APPEND_STR_IF(level > PR_TUPLE, ")");
  ------------------
  |  |   63|    481|#define APPEND_STR_IF(cond, str)  do { \
  |  |   64|    481|        if ((cond) && -1 == append_charp(writer, (str))) { \
  |  |  ------------------
  |  |  |  Branch (64:13): [True: 424, False: 57]
  |  |  |  Branch (64:23): [True: 0, False: 424]
  |  |  ------------------
  |  |   65|      0|            return -1; \
  |  |   66|      0|        } \
  |  |   67|    481|    } while (0)
  |  |  ------------------
  |  |  |  Branch (67:14): [Folded, False: 481]
  |  |  ------------------
  ------------------
  402|    481|    return 0;
  403|    481|}

_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|      7|{
 1554|      7|    mapobject *lz = _mapobject_CAST(self);
  ------------------
  |  | 1447|      7|#define _mapobject_CAST(op)     ((mapobject *)(op))
  ------------------
 1555|      7|    PyObject_GC_UnTrack(lz);
 1556|      7|    Py_XDECREF(lz->iters);
  ------------------
  |  |  524|      7|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1557|      7|    Py_XDECREF(lz->func);
  ------------------
  |  |  524|      7|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1558|      7|    Py_TYPE(lz)->tp_free(lz);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1559|      7|}
bltinmodule.c:map_next:
 1572|     79|{
 1573|     79|    mapobject *lz = _mapobject_CAST(self);
  ------------------
  |  | 1447|     79|#define _mapobject_CAST(op)     ((mapobject *)(op))
  ------------------
 1574|     79|    Py_ssize_t i;
 1575|     79|    PyObject *small_stack[_PY_FASTCALL_SMALL_STACK];
 1576|     79|    PyObject **stack;
 1577|     79|    PyObject *result = NULL;
 1578|     79|    PyThreadState *tstate = _PyThreadState_GET();
 1579|       |
 1580|     79|    const Py_ssize_t niters = PyTuple_GET_SIZE(lz->iters);
  ------------------
  |  |   27|     79|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1581|     79|    if (niters <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) {
  ------------------
  |  |  196|     79|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (1581:9): [True: 79, False: 0]
  ------------------
 1582|     79|        stack = small_stack;
 1583|     79|    }
 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|     79|    Py_ssize_t nargs = 0;
 1593|    151|    for (i = 0; i < niters; i++) {
  ------------------
  |  Branch (1593:17): [True: 79, False: 72]
  ------------------
 1594|     79|        PyObject *it = PyTuple_GET_ITEM(lz->iters, i);
  ------------------
  |  |   29|     79|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     79|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1594:24): [True: 79, False: 0]
  ------------------
 1595|     79|        PyObject *val = Py_TYPE(it)->tp_iternext(it);
  ------------------
  |  |  213|     79|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1596|     79|        if (val == NULL) {
  ------------------
  |  Branch (1596:13): [True: 7, False: 72]
  ------------------
 1597|      7|            if (lz->strict) {
  ------------------
  |  Branch (1597:17): [True: 0, False: 7]
  ------------------
 1598|      0|                goto check;
 1599|      0|            }
 1600|      7|            goto exit_no_result;
 1601|      7|        }
 1602|     72|        stack[i] = val;
 1603|     72|        nargs++;
 1604|     72|    }
 1605|       |
 1606|     72|    result = _PyObject_VectorcallTstate(tstate, lz->func, stack, nargs, NULL);
 1607|     72|    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|      7|exit_no_result:
 1649|      7|    assert(result == NULL);
  ------------------
  |  Branch (1649:5): [True: 7, False: 0]
  ------------------
 1650|       |
 1651|     79|exit:
 1652|    151|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (1652:17): [True: 72, False: 79]
  ------------------
 1653|     72|        Py_DECREF(stack[i]);
  ------------------
  |  |  430|     72|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     72|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1654|     72|    }
 1655|     79|    if (stack != small_stack) {
  ------------------
  |  Branch (1655:9): [True: 0, False: 79]
  ------------------
 1656|      0|        PyMem_Free(stack);
 1657|      0|    }
 1658|     79|    return result;
 1659|      7|}
bltinmodule.c:map_vectorcall:
 1509|      7|{
 1510|      7|    PyTypeObject *tp = _PyType_CAST(type);
  ------------------
  |  |  770|      7|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1510:24): [True: 7, False: 0]
  ------------------
 1511|       |
 1512|      7|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|      7|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 1513|      7|    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: 7]
  |  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|      7|    if (nargs < 2) {
  ------------------
  |  Branch (1519:9): [True: 0, False: 7]
  ------------------
 1520|      0|        PyErr_SetString(PyExc_TypeError,
 1521|      0|           "map() must have at least two arguments.");
 1522|      0|        return NULL;
 1523|      0|    }
 1524|       |
 1525|      7|    PyObject *iters = PyTuple_New(nargs-1);
 1526|      7|    if (iters == NULL) {
  ------------------
  |  Branch (1526:9): [True: 0, False: 7]
  ------------------
 1527|      0|        return NULL;
 1528|      0|    }
 1529|       |
 1530|     14|    for (int i=1; i<nargs; i++) {
  ------------------
  |  Branch (1530:19): [True: 7, False: 7]
  ------------------
 1531|      7|        PyObject *it = PyObject_GetIter(args[i]);
 1532|      7|        if (it == NULL) {
  ------------------
  |  Branch (1532:13): [True: 0, False: 7]
  ------------------
 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|      7|        PyTuple_SET_ITEM(iters, i-1, it);
  ------------------
  |  |   40|      7|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1537|      7|    }
 1538|       |
 1539|      7|    mapobject *lz = (mapobject *)tp->tp_alloc(tp, 0);
 1540|      7|    if (lz == NULL) {
  ------------------
  |  Branch (1540:9): [True: 0, False: 7]
  ------------------
 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|      7|    lz->iters = iters;
 1545|      7|    lz->func = Py_NewRef(args[0]);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1546|      7|    lz->strict = 0;
 1547|       |
 1548|      7|    return (PyObject *)lz;
 1549|      7|}
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|    631|{
  105|    631|    PyObject *func, *name, *winner, *prep;
  106|    631|    PyObject *cls = NULL, *cell = NULL, *ns = NULL, *meta = NULL, *orig_bases = NULL;
  107|    631|    PyObject *mkw = NULL, *bases = NULL;
  108|    631|    int isclass = 0;   /* initialize to prevent gcc warning */
  109|       |
  110|    631|    if (nargs < 2) {
  ------------------
  |  Branch (110:9): [True: 0, False: 631]
  ------------------
  111|      0|        PyErr_SetString(PyExc_TypeError,
  112|      0|                        "__build_class__: not enough arguments");
  113|      0|        return NULL;
  114|      0|    }
  115|    631|    func = args[0];   /* Better be callable */
  116|    631|    if (!PyFunction_Check(func)) {
  ------------------
  |  |   68|    631|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|    631|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    631|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    631|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (116:9): [True: 0, False: 631]
  ------------------
  117|      0|        PyErr_SetString(PyExc_TypeError,
  118|      0|                        "__build_class__: func must be a function");
  119|      0|        return NULL;
  120|      0|    }
  121|    631|    name = args[1];
  122|    631|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|    631|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    631|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (122:9): [True: 0, False: 631]
  ------------------
  123|      0|        PyErr_SetString(PyExc_TypeError,
  124|      0|                        "__build_class__: name is not a string");
  125|      0|        return NULL;
  126|      0|    }
  127|    631|    orig_bases = PyTuple_FromArray(args + 2, nargs - 2);
  128|    631|    if (orig_bases == NULL)
  ------------------
  |  Branch (128:9): [True: 0, False: 631]
  ------------------
  129|      0|        return NULL;
  130|       |
  131|    631|    bases = update_bases(orig_bases, args + 2, nargs - 2);
  132|    631|    if (bases == NULL) {
  ------------------
  |  Branch (132:9): [True: 0, False: 631]
  ------------------
  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|    631|    if (kwnames == NULL) {
  ------------------
  |  Branch (137:9): [True: 604, False: 27]
  ------------------
  138|    604|        meta = NULL;
  139|    604|        mkw = NULL;
  140|    604|    }
  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) {
  ------------------
  |  |  921|     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|    631|    if (meta == NULL) {
  ------------------
  |  Branch (155:9): [True: 606, False: 25]
  ------------------
  156|       |        /* if there are no bases, use type: */
  157|    606|        if (PyTuple_GET_SIZE(bases) == 0) {
  ------------------
  |  |   27|    606|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    606|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    606|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (157:13): [True: 75, False: 531]
  ------------------
  158|     75|            meta = (PyObject *) (&PyType_Type);
  159|     75|        }
  160|       |        /* else get the type of the first base */
  161|    531|        else {
  162|    531|            PyObject *base0 = PyTuple_GET_ITEM(bases, 0);
  ------------------
  |  |   29|    531|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    531|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    531|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (162:31): [True: 531, False: 0]
  ------------------
  163|    531|            meta = (PyObject *)Py_TYPE(base0);
  ------------------
  |  |  213|    531|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    531|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    531|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  164|    531|        }
  165|    606|        Py_INCREF(meta);
  ------------------
  |  |  310|    606|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    606|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    606|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  166|    606|        isclass = 1;  /* meta is really a class */
  167|    606|    }
  168|       |
  169|    631|    if (isclass) {
  ------------------
  |  Branch (169:9): [True: 631, False: 0]
  ------------------
  170|       |        /* meta is really a class, so check for a more derived
  171|       |           metaclass, or possible metaclass conflicts: */
  172|    631|        winner = (PyObject *)_PyType_CalculateMetaclass((PyTypeObject *)meta,
  173|    631|                                                        bases);
  174|    631|        if (winner == NULL) {
  ------------------
  |  Branch (174:13): [True: 0, False: 631]
  ------------------
  175|      0|            goto error;
  176|      0|        }
  177|    631|        if (winner != meta) {
  ------------------
  |  Branch (177:13): [True: 6, False: 625]
  ------------------
  178|      6|            Py_SETREF(meta, Py_NewRef(winner));
  ------------------
  |  |  354|      6|    do { \
  |  |  355|      6|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      6|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      6|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      6|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  179|      6|        }
  180|    631|    }
  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|    631|    if (PyObject_GetOptionalAttr(meta, &_Py_ID(__prepare__), &prep) < 0) {
  ------------------
  |  |  921|    631|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    631|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    631|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (183:9): [True: 0, False: 631]
  ------------------
  184|      0|        ns = NULL;
  185|      0|    }
  186|    631|    else if (prep == NULL) {
  ------------------
  |  Branch (186:14): [True: 0, False: 631]
  ------------------
  187|      0|        ns = PyDict_New();
  188|      0|    }
  189|    631|    else {
  190|    631|        PyObject *pargs[2] = {name, bases};
  191|    631|        ns = PyObject_VectorcallDict(prep, pargs, 2, mkw);
  192|    631|        Py_DECREF(prep);
  ------------------
  |  |  430|    631|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    631|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    631|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  193|    631|    }
  194|    631|    if (ns == NULL) {
  ------------------
  |  Branch (194:9): [True: 0, False: 631]
  ------------------
  195|      0|        goto error;
  196|      0|    }
  197|    631|    if (!PyMapping_Check(ns)) {
  ------------------
  |  Branch (197:9): [True: 0, False: 631]
  ------------------
  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|    631|    PyThreadState *tstate = _PyThreadState_GET();
  205|    631|    EVAL_CALL_STAT_INC(EVAL_CALL_BUILD_CLASS);
  ------------------
  |  |   79|    631|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  206|    631|    cell = _PyEval_Vector(tstate, (PyFunctionObject *)func, ns, NULL, 0, NULL);
  207|    631|    if (cell != NULL) {
  ------------------
  |  Branch (207:9): [True: 631, False: 0]
  ------------------
  208|    631|        if (bases != orig_bases) {
  ------------------
  |  Branch (208:13): [True: 0, False: 631]
  ------------------
  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|    631|        PyObject *margs[3] = {name, bases, ns};
  214|    631|        cls = PyObject_VectorcallDict(meta, margs, 3, mkw);
  215|    631|        if (cls != NULL && PyType_Check(cls) && PyCell_Check(cell)) {
  ------------------
  |  |  766|  1.26k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    631|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    631|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 631, False: 0]
  |  |  ------------------
  ------------------
                      if (cls != NULL && PyType_Check(cls) && PyCell_Check(cell)) {
  ------------------
  |  |   18|    631|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|    631|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    631|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    631|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 20, False: 611]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (215:13): [True: 631, 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);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359: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|    631|    }
  237|    631|error:
  238|    631|    Py_XDECREF(cell);
  ------------------
  |  |  524|    631|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    631|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    631|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  239|    631|    Py_XDECREF(ns);
  ------------------
  |  |  524|    631|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    631|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    631|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  240|    631|    Py_XDECREF(meta);
  ------------------
  |  |  524|    631|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    631|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    631|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  241|    631|    Py_XDECREF(mkw);
  ------------------
  |  |  524|    631|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    631|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    631|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  242|    631|    if (bases != orig_bases) {
  ------------------
  |  Branch (242:9): [True: 0, False: 631]
  ------------------
  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|    631|    Py_DECREF(bases);
  ------------------
  |  |  430|    631|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    631|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    631|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  246|    631|    return cls;
  247|    631|}
bltinmodule.c:update_bases:
   30|    631|{
   31|    631|    Py_ssize_t i, j;
   32|    631|    PyObject *base, *meth, *new_base, *result, *new_bases = NULL;
   33|    631|    assert(PyTuple_Check(bases));
  ------------------
  |  Branch (33:5): [True: 631, False: 0]
  ------------------
   34|       |
   35|  1.35k|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (35:17): [True: 723, False: 631]
  ------------------
   36|    723|        base  = args[i];
   37|    723|        if (PyType_Check(base)) {
  ------------------
  |  |  766|    723|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    723|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    723|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 723, False: 0]
  |  |  ------------------
  ------------------
   38|    723|            if (new_bases) {
  ------------------
  |  Branch (38:17): [True: 0, False: 723]
  ------------------
   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|    723|            continue;
   46|    723|        }
   47|      0|        if (PyObject_GetOptionalAttr(base, &_Py_ID(__mro_entries__), &meth) < 0) {
  ------------------
  |  |  921|      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|    631|    if (!new_bases) {
  ------------------
  |  Branch (88:9): [True: 631, False: 0]
  ------------------
   89|    631|        return bases;
   90|    631|    }
   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|    631|}
bltinmodule.c:builtin___import___impl:
  285|  52.3k|{
  286|  52.3k|    return PyImport_ImportModuleLevelObject(name, globals, locals,
  287|  52.3k|                                            fromlist, level);
  288|  52.3k|}
bltinmodule.c:builtin_abs:
  370|      3|{
  371|      3|    return PyNumber_Absolute(number);
  372|      3|}
bltinmodule.c:builtin_any:
  437|  17.7k|{
  438|  17.7k|    PyObject *it, *item;
  439|  17.7k|    PyObject *(*iternext)(PyObject *);
  440|  17.7k|    int cmp;
  441|       |
  442|  17.7k|    it = PyObject_GetIter(iterable);
  443|  17.7k|    if (it == NULL)
  ------------------
  |  Branch (443:9): [True: 0, False: 17.7k]
  ------------------
  444|      0|        return NULL;
  445|  17.7k|    iternext = *Py_TYPE(it)->tp_iternext;
  ------------------
  |  |  213|  17.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  446|       |
  447|   291k|    for (;;) {
  448|   291k|        item = iternext(it);
  449|   291k|        if (item == NULL)
  ------------------
  |  Branch (449:13): [True: 17.1k, False: 274k]
  ------------------
  450|  17.1k|            break;
  451|   274k|        cmp = PyObject_IsTrue(item);
  452|   274k|        Py_DECREF(item);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  453|   274k|        if (cmp < 0) {
  ------------------
  |  Branch (453:13): [True: 0, False: 274k]
  ------------------
  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|   274k|        if (cmp > 0) {
  ------------------
  |  Branch (457:13): [True: 585, False: 274k]
  ------------------
  458|    585|            Py_DECREF(it);
  ------------------
  |  |  430|    585|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    585|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    585|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  459|    585|            Py_RETURN_TRUE;
  ------------------
  |  |   44|    585|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|    585|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    585|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    585|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  460|    585|        }
  461|   274k|    }
  462|  17.1k|    Py_DECREF(it);
  ------------------
  |  |  430|  17.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  463|  17.1k|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (463:9): [True: 0, False: 17.1k]
  ------------------
  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|  17.1k|    Py_RETURN_FALSE;
  ------------------
  |  |   45|  17.1k|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|  17.1k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  17.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  17.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  470|  17.1k|}
bltinmodule.c:builtin_callable:
  529|      7|{
  530|      7|    return PyBool_FromLong((long)PyCallable_Check(obj));
  531|      7|}
bltinmodule.c:builtin_chr:
  792|   211k|{
  793|   211k|    int overflow;
  794|   211k|    long v = PyLong_AsLongAndOverflow(i, &overflow);
  795|   211k|    if (v == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (795:9): [True: 0, False: 211k]
  |  Branch (795:20): [True: 0, False: 0]
  ------------------
  796|      0|        return NULL;
  797|      0|    }
  798|   211k|    if (overflow) {
  ------------------
  |  Branch (798:9): [True: 0, False: 211k]
  ------------------
  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|   211k|#if SIZEOF_INT < SIZEOF_LONG
  803|   211k|    else if (v < INT_MIN) {
  ------------------
  |  Branch (803:14): [True: 0, False: 211k]
  ------------------
  804|      0|        v = INT_MIN;
  805|      0|    }
  806|   211k|    else if (v > INT_MAX) {
  ------------------
  |  Branch (806:14): [True: 0, False: 211k]
  ------------------
  807|       |        v = INT_MAX;
  808|      0|    }
  809|   211k|#endif
  810|   211k|    return PyUnicode_FromOrdinal(v);
  811|   211k|}
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_divmod_impl:
 1018|    106|{
 1019|    106|    return PyNumber_Divmod(x, y);
 1020|    106|}
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|    117|{
 1171|    117|    PyThreadState *tstate = _PyThreadState_GET();
 1172|    117|    PyObject *v;
 1173|       |
 1174|    117|    int fromframe = 0;
 1175|    117|    if (globals != Py_None) {
  ------------------
  |  |  616|    117|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1175:9): [True: 117, False: 0]
  ------------------
 1176|    117|        Py_INCREF(globals);
  ------------------
  |  |  310|    117|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    117|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    117|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1177|    117|    }
 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|    117|    if (locals != Py_None) {
  ------------------
  |  |  616|    117|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1196:9): [True: 0, False: 117]
  ------------------
 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|    117|    else if (fromframe) {
  ------------------
  |  Branch (1199:14): [True: 0, False: 117]
  ------------------
 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|    117|    else {
 1208|    117|        locals = Py_NewRef(globals);
  ------------------
  |  |  550|    117|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    117|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    117|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1209|    117|    }
 1210|       |
 1211|    117|    if (!PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|    117|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|    117|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    234|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 117, 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|    117|    if (!PyMapping_Check(locals)) {
  ------------------
  |  Branch (1217:9): [True: 0, False: 117]
  ------------------
 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|    117|    if (_PyEval_EnsureBuiltins(tstate, globals, NULL) < 0) {
  ------------------
  |  Branch (1224:9): [True: 0, False: 117]
  ------------------
 1225|      0|        goto error;
 1226|      0|    }
 1227|       |
 1228|    117|    if (closure == Py_None) {
  ------------------
  |  |  616|    117|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1228:9): [True: 0, False: 117]
  ------------------
 1229|      0|        closure = NULL;
 1230|      0|    }
 1231|       |
 1232|    117|    if (PyCode_Check(source)) {
  ------------------
  |  |  168|    117|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|    117|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    117|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    117|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 117, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1233|    117|        Py_ssize_t num_free = PyCode_GetNumFree((PyCodeObject *)source);
 1234|    117|        if (num_free == 0) {
  ------------------
  |  Branch (1234:13): [True: 117, False: 0]
  ------------------
 1235|    117|            if (closure) {
  ------------------
  |  Branch (1235:17): [True: 0, False: 117]
  ------------------
 1236|      0|                PyErr_SetString(PyExc_TypeError,
 1237|      0|                    "cannot use a closure with this code object");
 1238|      0|                goto error;
 1239|      0|            }
 1240|    117|        } 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|    117|        if (PySys_Audit("exec", "O", source) < 0) {
  ------------------
  |  Branch (1262:13): [True: 0, False: 117]
  ------------------
 1263|      0|            goto error;
 1264|      0|        }
 1265|       |
 1266|    117|        if (!closure) {
  ------------------
  |  Branch (1266:13): [True: 117, False: 0]
  ------------------
 1267|    117|            v = PyEval_EvalCode(source, globals, locals);
 1268|    117|        } 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|    117|    }
 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|    117|    if (v == NULL)
  ------------------
  |  Branch (1299:9): [True: 0, False: 117]
  ------------------
 1300|      0|        goto error;
 1301|    117|    Py_DECREF(globals);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1302|    117|    Py_DECREF(locals);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1303|    117|    Py_DECREF(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1304|    117|    Py_RETURN_NONE;
  ------------------
  |  |  628|    117|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    117|#  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|    117|}
bltinmodule.c:builtin_getattr:
 1316|  2.80k|{
 1317|  2.80k|    PyObject *v, *name, *result;
 1318|       |
 1319|  2.80k|    if (!_PyArg_CheckPositional("getattr", nargs, 2, 3))
  ------------------
  |  |   31|  2.80k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 2.80k, False: 0]
  |  |  |  Branch (31:27): [True: 2.80k, False: 0]
  |  |  ------------------
  |  |   32|  2.80k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1320|      0|        return NULL;
 1321|       |
 1322|  2.80k|    v = args[0];
 1323|  2.80k|    name = args[1];
 1324|  2.80k|    if (nargs > 2) {
  ------------------
  |  Branch (1324:9): [True: 2.59k, False: 204]
  ------------------
 1325|  2.59k|        if (PyObject_GetOptionalAttr(v, name, &result) == 0) {
  ------------------
  |  Branch (1325:13): [True: 282, False: 2.31k]
  ------------------
 1326|    282|            PyObject *dflt = args[2];
 1327|    282|            return Py_NewRef(dflt);
  ------------------
  |  |  550|    282|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    282|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    282|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1328|    282|        }
 1329|  2.59k|    }
 1330|    204|    else {
 1331|    204|        result = PyObject_GetAttr(v, name);
 1332|    204|    }
 1333|  2.52k|    return result;
 1334|  2.80k|}
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|    366|{
 1393|    366|    PyObject *v;
 1394|       |
 1395|    366|    if (PyObject_GetOptionalAttr(obj, name, &v) < 0) {
  ------------------
  |  Branch (1395:9): [True: 0, False: 366]
  ------------------
 1396|      0|        return NULL;
 1397|      0|    }
 1398|    366|    if (v == NULL) {
  ------------------
  |  Branch (1398:9): [True: 79, False: 287]
  ------------------
 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|    287|    Py_DECREF(v);
  ------------------
  |  |  430|    287|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    287|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    287|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1402|    287|    Py_RETURN_TRUE;
  ------------------
  |  |   44|    287|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|    287|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    287|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    287|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1403|    366|}
bltinmodule.c:builtin_isinstance_impl:
 3133|     70|{
 3134|     70|    int retval;
 3135|       |
 3136|     70|    retval = PyObject_IsInstance(obj, class_or_tuple);
 3137|     70|    if (retval < 0)
  ------------------
  |  Branch (3137:9): [True: 0, False: 70]
  ------------------
 3138|      0|        return NULL;
 3139|     70|    return PyBool_FromLong(retval);
 3140|     70|}
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|     26|{
 1900|     26|    PyObject *v;
 1901|       |
 1902|     26|    if (!_PyArg_CheckPositional("iter", nargs, 1, 2))
  ------------------
  |  |   31|     26|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 26, False: 0]
  |  |  |  Branch (31:27): [True: 26, False: 0]
  |  |  ------------------
  |  |   32|     26|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1903|      0|        return NULL;
 1904|     26|    v = args[0];
 1905|     26|    if (nargs == 1)
  ------------------
  |  Branch (1905:9): [True: 26, False: 0]
  ------------------
 1906|     26|        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|    107|{
 2001|    107|    Py_ssize_t res;
 2002|       |
 2003|    107|    res = PyObject_Size(obj);
 2004|    107|    if (res < 0) {
  ------------------
  |  Branch (2004:9): [True: 0, False: 107]
  ------------------
 2005|      0|        assert(PyErr_Occurred());
  ------------------
  |  Branch (2005:9): [True: 0, False: 0]
  ------------------
 2006|      0|        return NULL;
 2007|      0|    }
 2008|    107|    return PyLong_FromSsize_t(res);
 2009|    107|}
bltinmodule.c:builtin_max:
 2183|  1.10k|{
 2184|  1.10k|    return min_max(args, nargs, kwnames, Py_GT);
  ------------------
  |  |  656|  1.10k|#define Py_GT 4
  ------------------
 2185|  1.10k|}
bltinmodule.c:min_max:
 2047|  1.24k|{
 2048|  1.24k|    PyObject *it = NULL, *item, *val, *maxitem, *maxval, *keyfunc=NULL;
 2049|  1.24k|    PyObject *defaultval = NULL;
 2050|  1.24k|    static const char * const keywords[] = {"key", "default", NULL};
 2051|  1.24k|    static _PyArg_Parser _parser_min = {"|$OO:min", keywords, 0};
 2052|  1.24k|    static _PyArg_Parser _parser_max = {"|$OO:max", keywords, 0};
 2053|  1.24k|    const char *name = (op == Py_LT) ? "min" : "max";
  ------------------
  |  |  652|  1.24k|#define Py_LT 0
  ------------------
  |  Branch (2053:24): [True: 139, False: 1.10k]
  ------------------
 2054|  1.24k|    _PyArg_Parser *_parser = (op == Py_LT) ? &_parser_min : &_parser_max;
  ------------------
  |  |  652|  1.24k|#define Py_LT 0
  ------------------
  |  Branch (2054:30): [True: 139, False: 1.10k]
  ------------------
 2055|       |
 2056|  1.24k|    if (nargs == 0) {
  ------------------
  |  Branch (2056:9): [True: 0, False: 1.24k]
  ------------------
 2057|      0|        PyErr_Format(PyExc_TypeError, "%s expected at least 1 argument, got 0", name);
 2058|      0|        return NULL;
 2059|      0|    }
 2060|       |
 2061|  1.24k|    if (kwnames != NULL && !_PyArg_ParseStackAndKeywords(args + nargs, 0, kwnames, _parser,
  ------------------
  |  Branch (2061:9): [True: 0, False: 1.24k]
  |  Branch (2061:28): [True: 0, False: 0]
  ------------------
 2062|      0|                                                         &keyfunc, &defaultval)) {
 2063|      0|        return NULL;
 2064|      0|    }
 2065|       |
 2066|  1.24k|    const int positional = nargs > 1; // False iff nargs == 1
 2067|  1.24k|    if (positional && defaultval != NULL) {
  ------------------
  |  Branch (2067:9): [True: 144, False: 1.10k]
  |  Branch (2067:23): [True: 0, False: 144]
  ------------------
 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|  1.24k|    if (!positional) {
  ------------------
  |  Branch (2074:9): [True: 1.10k, False: 144]
  ------------------
 2075|  1.10k|        it = PyObject_GetIter(args[0]);
 2076|  1.10k|        if (it == NULL) {
  ------------------
  |  Branch (2076:13): [True: 0, False: 1.10k]
  ------------------
 2077|      0|            return NULL;
 2078|      0|        }
 2079|  1.10k|    }
 2080|       |
 2081|  1.24k|    if (keyfunc == Py_None) {
  ------------------
  |  |  616|  1.24k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2081:9): [True: 0, False: 1.24k]
  ------------------
 2082|      0|        keyfunc = NULL;
 2083|      0|    }
 2084|       |
 2085|  1.24k|    maxitem = NULL; /* the result */
 2086|  1.24k|    maxval = NULL;  /* the value associated with the result */
 2087|  3.44k|    while (1) {
  ------------------
  |  Branch (2087:12): [True: 3.44k, Folded]
  ------------------
 2088|  3.44k|        if (it == NULL) {
  ------------------
  |  Branch (2088:13): [True: 432, False: 3.01k]
  ------------------
 2089|    432|            if (nargs-- <= 0) {
  ------------------
  |  Branch (2089:17): [True: 144, False: 288]
  ------------------
 2090|    144|                break;
 2091|    144|            }
 2092|    288|            item = *args++;
 2093|    288|            Py_INCREF(item);
  ------------------
  |  |  310|    288|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    288|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    288|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2094|    288|        }
 2095|  3.01k|        else {
 2096|  3.01k|            item = PyIter_Next(it);
 2097|  3.01k|            if (item == NULL) {
  ------------------
  |  Branch (2097:17): [True: 1.10k, False: 1.91k]
  ------------------
 2098|  1.10k|                if (PyErr_Occurred()) {
  ------------------
  |  Branch (2098:21): [True: 0, False: 1.10k]
  ------------------
 2099|      0|                    goto Fail_it;
 2100|      0|                }
 2101|  1.10k|                break;
 2102|  1.10k|            }
 2103|  3.01k|        }
 2104|       |
 2105|       |        /* get the value from the key function */
 2106|  2.19k|        if (keyfunc != NULL) {
  ------------------
  |  Branch (2106:13): [True: 0, False: 2.19k]
  ------------------
 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|  2.19k|        else {
 2113|  2.19k|            val = Py_NewRef(item);
  ------------------
  |  |  550|  2.19k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2114|  2.19k|        }
 2115|       |
 2116|       |        /* maximum value and item are unset; set them */
 2117|  2.19k|        if (maxval == NULL) {
  ------------------
  |  Branch (2117:13): [True: 1.24k, False: 955]
  ------------------
 2118|  1.24k|            maxitem = item;
 2119|  1.24k|            maxval = val;
 2120|  1.24k|        }
 2121|       |        /* maximum value and item are set; update them as necessary */
 2122|    955|        else {
 2123|    955|            int cmp = PyObject_RichCompareBool(val, maxval, op);
 2124|    955|            if (cmp < 0)
  ------------------
  |  Branch (2124:17): [True: 0, False: 955]
  ------------------
 2125|      0|                goto Fail_it_item_and_val;
 2126|    955|            else if (cmp > 0) {
  ------------------
  |  Branch (2126:22): [True: 355, False: 600]
  ------------------
 2127|    355|                Py_DECREF(maxval);
  ------------------
  |  |  430|    355|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    355|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    355|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2128|    355|                Py_DECREF(maxitem);
  ------------------
  |  |  430|    355|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    355|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    355|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2129|    355|                maxval = val;
 2130|    355|                maxitem = item;
 2131|    355|            }
 2132|    600|            else {
 2133|    600|                Py_DECREF(item);
  ------------------
  |  |  430|    600|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    600|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    600|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2134|    600|                Py_DECREF(val);
  ------------------
  |  |  430|    600|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    600|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    600|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2135|    600|            }
 2136|    955|        }
 2137|  2.19k|    }
 2138|  1.24k|    if (maxval == NULL) {
  ------------------
  |  Branch (2138:9): [True: 0, False: 1.24k]
  ------------------
 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|  1.24k|    else
 2148|  1.24k|        Py_DECREF(maxval);
  ------------------
  |  |  430|  1.24k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2149|  1.24k|    Py_XDECREF(it);
  ------------------
  |  |  524|  1.24k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2150|  1.24k|    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|    139|{
 2167|    139|    return min_max(args, nargs, kwnames, Py_LT);
  ------------------
  |  |  652|    139|#define Py_LT 0
  ------------------
 2168|    139|}
bltinmodule.c:builtin_next:
 1762|      2|{
 1763|      2|    PyObject *it, *res;
 1764|       |
 1765|      2|    if (!_PyArg_CheckPositional("next", 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]
  |  |  ------------------
  ------------------
 1766|      0|        return NULL;
 1767|       |
 1768|      2|    it = args[0];
 1769|      2|    if (!PyIter_Check(it)) {
  ------------------
  |  Branch (1769:9): [True: 0, False: 2]
  ------------------
 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|      2|    res = (*Py_TYPE(it)->tp_iternext)(it);
  ------------------
  |  |  213|      2|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1777|      2|    if (res != NULL) {
  ------------------
  |  Branch (1777:9): [True: 0, False: 2]
  ------------------
 1778|      0|        return res;
 1779|      2|    } 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|      2|}
bltinmodule.c:builtin_ord:
 2235|  15.1M|{
 2236|  15.1M|    long ord;
 2237|  15.1M|    Py_ssize_t size;
 2238|       |
 2239|  15.1M|    if (PyBytes_Check(c)) {
  ------------------
  |  |   28|  15.1M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  15.1M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 15.1M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|  15.1M|    else if (PyUnicode_Check(c)) {
  ------------------
  |  |  103|  15.1M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  15.1M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 15.1M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2247|  15.1M|        size = PyUnicode_GET_LENGTH(c);
  ------------------
  |  |  299|  15.1M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2248|  15.1M|        if (size == 1) {
  ------------------
  |  Branch (2248:13): [True: 15.1M, False: 0]
  ------------------
 2249|  15.1M|            ord = (long)PyUnicode_READ_CHAR(c, 0);
  ------------------
  |  |  381|  15.1M|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  15.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2250|  15.1M|            return PyLong_FromLong(ord);
 2251|  15.1M|        }
 2252|  15.1M|    }
 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|  15.1M|}
bltinmodule.c:builtin_pow_impl:
 2294|      1|{
 2295|      1|    return PyNumber_Power(base, exp, mod);
 2296|      1|}
bltinmodule.c:builtin_setattr_impl:
 1819|    212|{
 1820|    212|    if (PyObject_SetAttr(obj, name, value) != 0)
  ------------------
  |  Branch (1820:9): [True: 0, False: 212]
  ------------------
 1821|      0|        return NULL;
 1822|    212|    Py_RETURN_NONE;
  ------------------
  |  |  628|    212|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    212|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1823|    212|}
bltinmodule.c:builtin_sorted:
 2746|  18.0k|{
 2747|  18.0k|    PyObject *newlist, *v, *seq, *callable;
 2748|       |
 2749|       |    /* Keyword arguments are passed through list.sort() which will check
 2750|       |       them. */
 2751|  18.0k|    if (!_PyArg_UnpackStack(args, nargs, "sorted", 1, 1, &seq))
  ------------------
  |  Branch (2751:9): [True: 0, False: 18.0k]
  ------------------
 2752|      0|        return NULL;
 2753|       |
 2754|  18.0k|    newlist = PySequence_List(seq);
 2755|  18.0k|    if (newlist == NULL)
  ------------------
  |  Branch (2755:9): [True: 0, False: 18.0k]
  ------------------
 2756|      0|        return NULL;
 2757|       |
 2758|  18.0k|    callable = PyObject_GetAttr(newlist, &_Py_ID(sort));
  ------------------
  |  |  921|  18.0k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  18.0k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  18.0k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2759|  18.0k|    if (callable == NULL) {
  ------------------
  |  Branch (2759:9): [True: 0, False: 18.0k]
  ------------------
 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|  18.0k|    assert(nargs >= 1);
  ------------------
  |  Branch (2764:5): [True: 18.0k, False: 0]
  ------------------
 2765|  18.0k|    v = PyObject_Vectorcall(callable, args + 1, nargs - 1, kwnames);
 2766|  18.0k|    Py_DECREF(callable);
  ------------------
  |  |  430|  18.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2767|  18.0k|    if (v == NULL) {
  ------------------
  |  Branch (2767:9): [True: 0, False: 18.0k]
  ------------------
 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|  18.0k|    Py_DECREF(v);
  ------------------
  |  |  430|  18.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2772|  18.0k|    return newlist;
 2773|  18.0k|}
bltinmodule.c:builtin_sum_impl:
 2880|    989|{
 2881|    989|    PyObject *result = start;
 2882|    989|    PyObject *temp, *item, *iter;
 2883|       |
 2884|    989|    iter = PyObject_GetIter(iterable);
 2885|    989|    if (iter == NULL)
  ------------------
  |  Branch (2885:9): [True: 0, False: 989]
  ------------------
 2886|      0|        return NULL;
 2887|       |
 2888|    989|    if (result == NULL) {
  ------------------
  |  Branch (2888:9): [True: 989, False: 0]
  ------------------
 2889|    989|        result = PyLong_FromLong(0);
 2890|    989|        if (result == NULL) {
  ------------------
  |  Branch (2890:13): [True: 0, False: 989]
  ------------------
 2891|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2892|      0|            return NULL;
 2893|      0|        }
 2894|    989|    } else {
 2895|       |        /* reject string values for 'start' parameter */
 2896|      0|        if (PyUnicode_Check(result)) {
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2897|      0|            PyErr_SetString(PyExc_TypeError,
 2898|      0|                "sum() can't sum strings [use ''.join(seq) instead]");
 2899|      0|            Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2900|      0|            return NULL;
 2901|      0|        }
 2902|      0|        if (PyBytes_Check(result)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2903|      0|            PyErr_SetString(PyExc_TypeError,
 2904|      0|                "sum() can't sum bytes [use b''.join(seq) instead]");
 2905|      0|            Py_DECREF(iter);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2906|      0|            return NULL;
 2907|      0|        }
 2908|      0|        if (PyByteArray_Check(result)) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2909|      0|            PyErr_SetString(PyExc_TypeError,
 2910|      0|                "sum() can't sum bytearray [use b''.join(seq) instead]");
 2911|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2912|      0|            return NULL;
 2913|      0|        }
 2914|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2915|      0|    }
 2916|       |
 2917|    989|#ifndef SLOW_SUM
 2918|       |    /* Fast addition by keeping temporary sums in C instead of new Python objects.
 2919|       |       Assumes all inputs are the same type.  If the assumption fails, default
 2920|       |       to the more general routine.
 2921|       |    */
 2922|    989|    if (PyLong_CheckExact(result)) {
  ------------------
  |  |   14|    989|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    989|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    989|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    989|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 989, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2923|    989|        int overflow;
 2924|    989|        Py_ssize_t i_result = PyLong_AsLongAndOverflow(result, &overflow);
 2925|       |        /* If this already overflowed, don't even enter the loop. */
 2926|    989|        if (overflow == 0) {
  ------------------
  |  Branch (2926:13): [True: 989, False: 0]
  ------------------
 2927|    989|            Py_SETREF(result, NULL);
  ------------------
  |  |  354|    989|    do { \
  |  |  355|    989|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    989|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|    989|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    989|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|    989|        *_tmp_dst_ptr = (src); \
  |  |  358|    989|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|    989|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    989|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    989|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|    989|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 989]
  |  |  ------------------
  ------------------
 2928|    989|        }
 2929|  70.9k|        while(result == NULL) {
  ------------------
  |  Branch (2929:15): [True: 70.9k, False: 0]
  ------------------
 2930|  70.9k|            item = PyIter_Next(iter);
 2931|  70.9k|            if (item == NULL) {
  ------------------
  |  Branch (2931:17): [True: 989, False: 70.0k]
  ------------------
 2932|    989|                Py_DECREF(iter);
  ------------------
  |  |  430|    989|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    989|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    989|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2933|    989|                if (PyErr_Occurred())
  ------------------
  |  Branch (2933:21): [True: 0, False: 989]
  ------------------
 2934|      0|                    return NULL;
 2935|    989|                return PyLong_FromSsize_t(i_result);
 2936|    989|            }
 2937|  70.0k|            if (PyLong_CheckExact(item) || PyBool_Check(item)) {
  ------------------
  |  |   14|  70.0k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|   140k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  70.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  70.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 70.0k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyLong_CheckExact(item) || PyBool_Check(item)) {
  ------------------
  |  |   12|      0|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2938|  70.0k|                Py_ssize_t b;
 2939|  70.0k|                overflow = 0;
 2940|       |                /* Single digits are common, fast, and cannot overflow on unpacking. */
 2941|  70.0k|                if (_PyLong_IsCompact((PyLongObject *)item)) {
  ------------------
  |  Branch (2941:21): [True: 70.0k, False: 0]
  ------------------
 2942|  70.0k|                    b = _PyLong_CompactValue((PyLongObject *)item);
 2943|  70.0k|                }
 2944|      0|                else {
 2945|      0|                    b = PyLong_AsLongAndOverflow(item, &overflow);
 2946|      0|                }
 2947|  70.0k|                if (overflow == 0 &&
  ------------------
  |  Branch (2947:21): [True: 70.0k, False: 0]
  ------------------
 2948|  70.0k|                    (i_result >= 0 ? (b <= PY_SSIZE_T_MAX - i_result)
  ------------------
  |  |  137|  70.0k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2948:21): [True: 70.0k, False: 0]
  |  Branch (2948:22): [True: 70.0k, False: 0]
  ------------------
 2949|  70.0k|                                   : (b >= PY_SSIZE_T_MIN - i_result)))
  ------------------
  |  |  146|      0|#define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1)
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
 2950|  70.0k|                {
 2951|  70.0k|                    i_result += b;
 2952|  70.0k|                    Py_DECREF(item);
  ------------------
  |  |  430|  70.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  70.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  70.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2953|  70.0k|                    continue;
 2954|  70.0k|                }
 2955|  70.0k|            }
 2956|       |            /* Either overflowed or is not an int. Restore real objects and process normally */
 2957|      0|            result = PyLong_FromSsize_t(i_result);
 2958|      0|            if (result == NULL) {
  ------------------
  |  Branch (2958:17): [True: 0, False: 0]
  ------------------
 2959|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2960|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2961|      0|                return NULL;
 2962|      0|            }
 2963|      0|            temp = PyNumber_Add(result, item);
 2964|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2965|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2966|      0|            result = temp;
 2967|      0|            if (result == NULL) {
  ------------------
  |  Branch (2967:17): [True: 0, False: 0]
  ------------------
 2968|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2969|      0|                return NULL;
 2970|      0|            }
 2971|      0|        }
 2972|    989|    }
 2973|       |
 2974|      0|    if (PyFloat_CheckExact(result)) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2975|      0|        CompensatedSum re_sum = cs_from_double(PyFloat_AS_DOUBLE(result));
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2976|      0|        Py_SETREF(result, NULL);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2977|      0|        while(result == NULL) {
  ------------------
  |  Branch (2977:15): [True: 0, False: 0]
  ------------------
 2978|      0|            item = PyIter_Next(iter);
 2979|      0|            if (item == NULL) {
  ------------------
  |  Branch (2979:17): [True: 0, False: 0]
  ------------------
 2980|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2981|      0|                if (PyErr_Occurred())
  ------------------
  |  Branch (2981:21): [True: 0, False: 0]
  ------------------
 2982|      0|                    return NULL;
 2983|      0|                return PyFloat_FromDouble(cs_to_double(re_sum));
 2984|      0|            }
 2985|      0|            if (PyFloat_CheckExact(item)) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2986|      0|                re_sum = cs_add(re_sum, PyFloat_AS_DOUBLE(item));
  ------------------
  |  |   18|      0|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2987|      0|                _Py_DECREF_SPECIALIZED(item, _PyFloat_ExactDealloc);
 2988|      0|                continue;
 2989|      0|            }
 2990|      0|            if (PyLong_Check(item)) {
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2991|      0|                double value = PyLong_AsDouble(item);
 2992|      0|                if (value != -1.0 || !PyErr_Occurred()) {
  ------------------
  |  Branch (2992:21): [True: 0, False: 0]
  |  Branch (2992:38): [True: 0, False: 0]
  ------------------
 2993|      0|                    re_sum = cs_add(re_sum, value);
 2994|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2995|      0|                    continue;
 2996|      0|                }
 2997|      0|                else {
 2998|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2999|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3000|      0|                    return NULL;
 3001|      0|                }
 3002|      0|            }
 3003|      0|            result = PyFloat_FromDouble(cs_to_double(re_sum));
 3004|      0|            if (result == NULL) {
  ------------------
  |  Branch (3004:17): [True: 0, False: 0]
  ------------------
 3005|      0|                Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3006|      0|                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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3007|      0|                return NULL;
 3008|      0|            }
 3009|      0|            temp = PyNumber_Add(result, item);
 3010|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3011|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3012|      0|            result = temp;
 3013|      0|            if (result == NULL) {
  ------------------
  |  Branch (3013:17): [True: 0, False: 0]
  ------------------
 3014|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3015|      0|                return NULL;
 3016|      0|            }
 3017|      0|        }
 3018|      0|    }
 3019|       |
 3020|      0|    if (PyComplex_CheckExact(result)) {
  ------------------
  |  |   14|      0|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3021|      0|        Py_complex z = PyComplex_AsCComplex(result);
 3022|      0|        CompensatedSum re_sum = cs_from_double(z.real);
 3023|      0|        CompensatedSum im_sum = cs_from_double(z.imag);
 3024|      0|        Py_SETREF(result, NULL);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3025|      0|        while (result == NULL) {
  ------------------
  |  Branch (3025:16): [True: 0, False: 0]
  ------------------
 3026|      0|            item = PyIter_Next(iter);
 3027|      0|            if (item == NULL) {
  ------------------
  |  Branch (3027:17): [True: 0, False: 0]
  ------------------
 3028|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3029|      0|                if (PyErr_Occurred()) {
  ------------------
  |  Branch (3029:21): [True: 0, False: 0]
  ------------------
 3030|      0|                    return NULL;
 3031|      0|                }
 3032|      0|                return PyComplex_FromDoubles(cs_to_double(re_sum),
 3033|      0|                                             cs_to_double(im_sum));
 3034|      0|            }
 3035|      0|            if (PyComplex_CheckExact(item)) {
  ------------------
  |  |   14|      0|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  215|      0|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3036|      0|                z = PyComplex_AsCComplex(item);
 3037|      0|                re_sum = cs_add(re_sum, z.real);
 3038|      0|                im_sum = cs_add(im_sum, z.imag);
 3039|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3040|      0|                continue;
 3041|      0|            }
 3042|      0|            if (PyLong_Check(item)) {
  ------------------
  |  |   13|      0|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3043|      0|                double value = PyLong_AsDouble(item);
 3044|      0|                if (value != -1.0 || !PyErr_Occurred()) {
  ------------------
  |  Branch (3044:21): [True: 0, False: 0]
  |  Branch (3044:38): [True: 0, False: 0]
  ------------------
 3045|      0|                    re_sum = cs_add(re_sum, value);
 3046|      0|                    Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3047|      0|                    continue;
 3048|      0|                }
 3049|      0|                else {
 3050|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3051|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3052|      0|                    return NULL;
 3053|      0|                }
 3054|      0|            }
 3055|      0|            if (PyFloat_Check(item)) {
  ------------------
  |  |   16|      0|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|      0|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3056|      0|                double value = PyFloat_AS_DOUBLE(item);
  ------------------
  |  |   18|      0|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3057|      0|                re_sum = cs_add(re_sum, value);
 3058|      0|                _Py_DECREF_SPECIALIZED(item, _PyFloat_ExactDealloc);
 3059|      0|                continue;
 3060|      0|            }
 3061|      0|            result = PyComplex_FromDoubles(cs_to_double(re_sum),
 3062|      0|                                           cs_to_double(im_sum));
 3063|      0|            if (result == NULL) {
  ------------------
  |  Branch (3063:17): [True: 0, False: 0]
  ------------------
 3064|      0|                Py_DECREF(item);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3065|      0|                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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3066|      0|                return NULL;
 3067|      0|            }
 3068|      0|            temp = PyNumber_Add(result, item);
 3069|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3070|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3071|      0|            result = temp;
 3072|      0|            if (result == NULL) {
  ------------------
  |  Branch (3072:17): [True: 0, False: 0]
  ------------------
 3073|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3074|      0|                return NULL;
 3075|      0|            }
 3076|      0|        }
 3077|      0|    }
 3078|      0|#endif
 3079|       |
 3080|      0|    for(;;) {
 3081|      0|        item = PyIter_Next(iter);
 3082|      0|        if (item == NULL) {
  ------------------
  |  Branch (3082:13): [True: 0, False: 0]
  ------------------
 3083|       |            /* error, or end-of-sequence */
 3084|      0|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (3084:17): [True: 0, False: 0]
  ------------------
 3085|      0|                Py_SETREF(result, NULL);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3086|      0|            }
 3087|      0|            break;
 3088|      0|        }
 3089|       |        /* It's tempting to use PyNumber_InPlaceAdd instead of
 3090|       |           PyNumber_Add here, to avoid quadratic running time
 3091|       |           when doing 'sum(list_of_lists, [])'.  However, this
 3092|       |           would produce a change in behaviour: a snippet like
 3093|       |
 3094|       |             empty = []
 3095|       |             sum([[x] for x in range(10)], empty)
 3096|       |
 3097|       |           would change the value of empty. In fact, using
 3098|       |           in-place addition rather that binary addition for
 3099|       |           any of the steps introduces subtle behavior changes:
 3100|       |
 3101|       |           https://bugs.python.org/issue18305 */
 3102|      0|        temp = PyNumber_Add(result, item);
 3103|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3104|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3105|      0|        result = temp;
 3106|      0|        if (result == NULL)
  ------------------
  |  Branch (3106:13): [True: 0, False: 0]
  ------------------
 3107|      0|            break;
 3108|      0|    }
 3109|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3110|      0|    return result;
 3111|      0|}
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) {
  ------------------
  |  |  921|      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|   175M|{
   31|   175M|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
   32|   175M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
   33|   175M|#if _Py_STACK_GROWS_DOWN
   34|   175M|    if (here_addr > _tstate->c_stack_soft_limit + margin_count * _PyOS_STACK_MARGIN_BYTES) {
  ------------------
  |  |   57|   175M|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   56|   175M|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   54|   175M|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (34:9): [True: 175M, False: 0]
  ------------------
   35|       |#else
   36|       |    if (here_addr <= _tstate->c_stack_soft_limit - margin_count * _PyOS_STACK_MARGIN_BYTES) {
   37|       |#endif
   38|   175M|        return 0;
   39|   175M|    }
   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|   175M|}
_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|    124|{
  655|    124|    PyThreadState *tstate = _PyThreadState_GET();
  656|    124|    if (locals == NULL) {
  ------------------
  |  Branch (656:9): [True: 0, False: 124]
  ------------------
  657|      0|        locals = globals;
  658|      0|    }
  659|    124|    PyObject *builtins = _PyDict_LoadBuiltinsFromGlobals(globals);
  660|    124|    if (builtins == NULL) {
  ------------------
  |  Branch (660:9): [True: 0, False: 124]
  ------------------
  661|      0|        return NULL;
  662|      0|    }
  663|    124|    PyFrameConstructor desc = {
  664|    124|        .fc_globals = globals,
  665|    124|        .fc_builtins = builtins,
  666|    124|        .fc_name = ((PyCodeObject *)co)->co_name,
  667|    124|        .fc_qualname = ((PyCodeObject *)co)->co_name,
  668|    124|        .fc_code = co,
  669|    124|        .fc_defaults = NULL,
  670|    124|        .fc_kwdefaults = NULL,
  671|    124|        .fc_closure = NULL
  672|    124|    };
  673|    124|    PyFunctionObject *func = _PyFunction_FromConstructor(&desc);
  674|    124|    _Py_DECREF_BUILTINS(builtins);
  ------------------
  |  |  399|    124|#  define _Py_DECREF_BUILTINS Py_DECREF
  |  |  ------------------
  |  |  |  |   80|    124|    do { \
  |  |  |  |   81|    124|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|    124|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|    124|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 124]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|    124|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|    124|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|    124|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 124]
  |  |  |  |  ------------------
  |  |  |  |   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|    124|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 124]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  675|    124|    if (func == NULL) {
  ------------------
  |  Branch (675:9): [True: 0, False: 124]
  ------------------
  676|      0|        return NULL;
  677|      0|    }
  678|    124|    EVAL_CALL_STAT_INC(EVAL_CALL_LEGACY);
  ------------------
  |  |   79|    124|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  679|    124|    PyObject *res = _PyEval_Vector(tstate, func, locals, NULL, 0, NULL);
  680|       |    Py_DECREF(func);
  ------------------
  |  |   80|    124|    do { \
  |  |   81|    124|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|    124|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|    124|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 124]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|    124|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|    124|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|    124|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 124, False: 0]
  |  |  ------------------
  |  |   88|    124|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|    124|    do { \
  |  |  |  |  113|    124|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|    124|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 124]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|    124|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 124]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|    124|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|    124|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|    124|            (*dealloc)(op); \
  |  |   91|    124|        } \
  |  |   92|    124|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 124]
  |  |  ------------------
  ------------------
  681|    124|    return res;
  682|    124|}
_Py_VectorCall_StackRefSteal:
  713|   269k|{
  714|   269k|    PyObject *res;
  715|   269k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|   269k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|   269k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  716|   269k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|   269k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 269k]
  |  |  ------------------
  ------------------
  717|      0|        res = NULL;
  718|      0|        goto cleanup;
  719|      0|    }
  720|   269k|    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  721|   269k|    PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  722|   269k|    int positional_args = total_args;
  723|   269k|    if (kwnames_o != NULL) {
  ------------------
  |  Branch (723:9): [True: 782, False: 268k]
  ------------------
  724|    782|        positional_args -= (int)PyTuple_GET_SIZE(kwnames_o);
  ------------------
  |  |   27|    782|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    782|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    782|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  725|    782|    }
  726|   269k|    res = PyObject_Vectorcall(
  727|   269k|        callable_o, args_o,
  728|   269k|        positional_args | PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|   269k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   269k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  729|   269k|        kwnames_o);
  730|   269k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|   269k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  731|   269k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (731:5): [True: 269k, False: 0]
  ------------------
  732|   269k|cleanup:
  733|   269k|    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|   308k|    for (int i = total_args-1; i >= 0; i--) {
  ------------------
  |  Branch (736:32): [True: 38.3k, False: 269k]
  ------------------
  737|  38.3k|        _PyStackRef tmp = arguments[i];
  738|  38.3k|        arguments[i] = PyStackRef_NULL;
  739|  38.3k|        PyStackRef_CLOSE(tmp);
  740|  38.3k|    }
  741|   269k|    PyStackRef_CLOSE(callable);
  742|   269k|    return res;
  743|   269k|}
_Py_VectorCallInstrumentation_StackRefSteal:
  755|  3.63k|{
  756|  3.63k|    PyObject* res;
  757|  3.63k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|  3.63k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  3.63k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  758|  3.63k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  3.63k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 3.63k]
  |  |  ------------------
  ------------------
  759|      0|        res = NULL;
  760|      0|        goto cleanup;
  761|      0|    }
  762|  3.63k|    PyObject* callable_o = PyStackRef_AsPyObjectBorrow(callable);
  763|  3.63k|    PyObject* kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  764|  3.63k|    int positional_args = total_args;
  765|  3.63k|    if (kwnames_o != NULL) {
  ------------------
  |  Branch (765:9): [True: 115, False: 3.51k]
  ------------------
  766|    115|        positional_args -= (int)PyTuple_GET_SIZE(kwnames_o);
  ------------------
  |  |   27|    115|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    115|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    115|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  767|    115|    }
  768|  3.63k|    res = PyObject_Vectorcall(
  769|  3.63k|        callable_o, args_o,
  770|  3.63k|        positional_args | PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|  3.63k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  3.63k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  771|  3.63k|        kwnames_o);
  772|  3.63k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  3.63k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  773|  3.63k|    if (call_instrumentation) {
  ------------------
  |  Branch (773:9): [True: 0, False: 3.63k]
  ------------------
  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|  3.63k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (790:5): [True: 3.63k, False: 0]
  ------------------
  791|  3.63k|cleanup:
  792|  3.63k|    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|  10.7k|    for (int i = total_args - 1; i >= 0; i--) {
  ------------------
  |  Branch (795:34): [True: 7.13k, False: 3.63k]
  ------------------
  796|  7.13k|        _PyStackRef tmp = arguments[i];
  797|  7.13k|        arguments[i] = PyStackRef_NULL;
  798|  7.13k|        PyStackRef_CLOSE(tmp);
  799|  7.13k|    }
  800|  3.63k|    PyStackRef_CLOSE(callable);
  801|  3.63k|    return res;
  802|  3.63k|}
_Py_BuiltinCallFast_StackRef:
  809|   530k|{
  810|   530k|    PyObject *res;
  811|   530k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|   530k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|   530k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  812|   530k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|   530k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 530k]
  |  |  ------------------
  ------------------
  813|      0|        return NULL;
  814|      0|    }
  815|   530k|    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  816|   530k|    PyCFunction cfunc = PyCFunction_GET_FUNCTION(callable_o);
  ------------------
  |  |   43|   530k|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|   530k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   530k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  817|   530k|    res = _PyCFunctionFast_CAST(cfunc)(
  ------------------
  |  |   58|   530k|    _Py_FUNC_CAST(PyCFunctionFast, func)
  |  |  ------------------
  |  |  |  |   47|   530k|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   530k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  818|   530k|        PyCFunction_GET_SELF(callable_o),
  ------------------
  |  |   52|   530k|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|   530k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   530k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  819|   530k|        args_o,
  820|   530k|        total_args
  821|   530k|    );
  822|   530k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|   530k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  823|   530k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (823:5): [True: 530k, False: 0]
  ------------------
  824|   530k|    return res;
  825|   530k|}
_Py_BuiltinCallFastWithKeywords_StackRef:
  832|  22.3k|{
  833|  22.3k|    PyObject *res;
  834|  22.3k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|  22.3k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  22.3k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  835|  22.3k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  22.3k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 22.3k]
  |  |  ------------------
  ------------------
  836|      0|        return NULL;
  837|      0|    }
  838|  22.3k|    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  839|  22.3k|    PyCFunctionFastWithKeywords cfunc =
  840|  22.3k|        _PyCFunctionFastWithKeywords_CAST(PyCFunction_GET_FUNCTION(callable_o));
  ------------------
  |  |   62|  22.3k|    _Py_FUNC_CAST(PyCFunctionFastWithKeywords, func)
  |  |  ------------------
  |  |  |  |   47|  22.3k|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  841|  22.3k|    res = cfunc(PyCFunction_GET_SELF(callable_o), args_o, total_args, NULL);
  ------------------
  |  |   52|  22.3k|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  22.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  842|  22.3k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  22.3k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  843|  22.3k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (843:5): [True: 22.3k, False: 0]
  ------------------
  844|  22.3k|    return res;
  845|  22.3k|}
_PyCallMethodDescriptorFast_StackRef:
  854|  1.19M|{
  855|  1.19M|    PyObject *res;
  856|  1.19M|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|  1.19M|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  1.19M|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  857|  1.19M|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  1.19M|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 1.19M]
  |  |  ------------------
  ------------------
  858|      0|        return NULL;
  859|      0|    }
  860|  1.19M|    assert(self == PyStackRef_AsPyObjectBorrow(arguments[0]));
  ------------------
  |  Branch (860:5): [True: 1.19M, False: 0]
  ------------------
  861|       |
  862|  1.19M|    res = cfunc(self, (args_o + 1), total_args - 1);
  863|  1.19M|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  1.19M|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  864|  1.19M|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (864:5): [True: 1.19M, False: 0]
  ------------------
  865|  1.19M|    return res;
  866|  1.19M|}
_PyCallMethodDescriptorFastWithKeywords_StackRef:
  875|  73.7k|{
  876|  73.7k|    PyObject *res;
  877|  73.7k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|  73.7k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  73.7k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  878|  73.7k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  73.7k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 73.7k]
  |  |  ------------------
  ------------------
  879|      0|        return NULL;
  880|      0|    }
  881|  73.7k|    assert(self == PyStackRef_AsPyObjectBorrow(arguments[0]));
  ------------------
  |  Branch (881:5): [True: 73.7k, False: 0]
  ------------------
  882|       |
  883|  73.7k|    res = cfunc(self, (args_o + 1), total_args-1, NULL);
  884|  73.7k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  73.7k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  885|  73.7k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (885:5): [True: 73.7k, False: 0]
  ------------------
  886|  73.7k|    return res;
  887|  73.7k|}
_Py_CallBuiltinClass_StackRef:
  894|   209k|{
  895|   209k|    PyObject *res;
  896|   209k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|   209k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|   209k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  897|   209k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|   209k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 209k]
  |  |  ------------------
  ------------------
  898|      0|        return NULL;
  899|      0|    }
  900|   209k|    PyTypeObject *tp = (PyTypeObject *)PyStackRef_AsPyObjectBorrow(callable);
  901|   209k|    res = tp->tp_vectorcall((PyObject *)tp, args_o, total_args | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
  ------------------
  |  |  287|   209k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   209k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  902|   209k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|   209k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  903|   209k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (903:5): [True: 209k, False: 0]
  ------------------
  904|   209k|    return res;
  905|   209k|}
_Py_BuildString_StackRefSteal:
  911|  49.3k|{
  912|  49.3k|    PyObject *res;
  913|  49.3k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  522|  49.3k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  49.3k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  914|  49.3k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  49.3k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 49.3k]
  |  |  ------------------
  ------------------
  915|      0|        res = NULL;
  916|      0|        goto cleanup;
  917|      0|    }
  918|  49.3k|    res = _PyUnicode_JoinArray(&_Py_STR(empty), args_o, total_args);
  ------------------
  |  |  923|  49.3k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  49.3k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  49.3k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  919|  49.3k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  49.3k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  920|  49.3k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (920:5): [True: 49.3k, False: 0]
  ------------------
  921|  49.3k|cleanup:
  922|       |    // arguments is a pointer into the GC visible stack,
  923|       |    // so we must NULL out values as we clear them.
  924|   439k|    for (int i = total_args-1; i >= 0; i--) {
  ------------------
  |  Branch (924:32): [True: 390k, False: 49.3k]
  ------------------
  925|   390k|        _PyStackRef tmp = arguments[i];
  926|   390k|        arguments[i] = PyStackRef_NULL;
  927|   390k|        PyStackRef_CLOSE(tmp);
  928|   390k|    }
  929|  49.3k|    return res;
  930|  49.3k|}
_Py_BuildMap_StackRefSteal:
  936|  1.99k|{
  937|  1.99k|    PyObject *res;
  938|  1.99k|    STACKREFS_TO_PYOBJECTS(arguments, half_args*2, args_o);
  ------------------
  |  |  522|  1.99k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  523|  1.99k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  939|  1.99k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  529|  1.99k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (529:33): [True: 0, False: 1.99k]
  |  |  ------------------
  ------------------
  940|      0|        res = NULL;
  941|      0|        goto cleanup;
  942|      0|    }
  943|  1.99k|    res = _PyDict_FromItems(
  944|  1.99k|        args_o, 2,
  945|  1.99k|        args_o+1, 2,
  946|  1.99k|        half_args
  947|  1.99k|    );
  948|  1.99k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  527|  1.99k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  949|  1.99k|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  ------------------
  |  Branch (949:5): [True: 1.99k, False: 0]
  ------------------
  950|  1.99k|cleanup:
  951|       |    // arguments is a pointer into the GC visible stack,
  952|       |    // so we must NULL out values as we clear them.
  953|  3.57k|    for (int i = half_args*2-1; i >= 0; i--) {
  ------------------
  |  Branch (953:33): [True: 1.58k, False: 1.99k]
  ------------------
  954|  1.58k|        _PyStackRef tmp = arguments[i];
  955|  1.58k|        arguments[i] = PyStackRef_NULL;
  956|  1.58k|        PyStackRef_CLOSE(tmp);
  957|  1.58k|    }
  958|  1.99k|    return res;
  959|  1.99k|}
_Py_LoadAttr_StackRefSteal:
  965|  50.5k|{
  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|  50.5k|    _PyCStackRef method, self;
  970|  50.5k|    _PyThreadState_PushCStackRef(tstate, &method);
  971|  50.5k|    _PyThreadState_PushCStackRef(tstate, &self);
  972|  50.5k|    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|  50.5k|    _PyObject_GetMethodStackRef(tstate, &self.ref, name, &method.ref);
  976|  50.5k|    *self_or_null = _PyThreadState_PopCStackRefSteal(tstate, &self);
  977|  50.5k|    return _PyThreadState_PopCStackRefSteal(tstate, &method);
  978|  50.5k|}
_PyObjectArray_FromStackRefArray:
 1053|  2.35M|{
 1054|  2.35M|    PyObject **result;
 1055|  2.35M|    if (nargs > MAX_STACKREF_SCRATCH) {
  ------------------
  |  |  518|  2.35M|#define MAX_STACKREF_SCRATCH 10
  ------------------
  |  Branch (1055:9): [True: 33, False: 2.35M]
  ------------------
 1056|       |        // +1 in case PY_VECTORCALL_ARGUMENTS_OFFSET is set.
 1057|     33|        result = PyMem_Malloc((nargs + 1) * sizeof(PyObject *));
 1058|     33|        if (result == NULL) {
  ------------------
  |  Branch (1058:13): [True: 0, False: 33]
  ------------------
 1059|      0|            PyErr_NoMemory();
 1060|      0|            return NULL;
 1061|      0|        }
 1062|     33|    }
 1063|  2.35M|    else {
 1064|  2.35M|        result = scratch;
 1065|  2.35M|    }
 1066|  2.35M|    result++;
 1067|  2.35M|    result[0] = NULL; /* Keep GCC happy */
 1068|  6.63M|    for (int i = 0; i < nargs; i++) {
  ------------------
  |  Branch (1068:21): [True: 4.27M, False: 2.35M]
  ------------------
 1069|  4.27M|        result[i] = PyStackRef_AsPyObjectBorrow(input[i]);
 1070|  4.27M|    }
 1071|  2.35M|    return result;
 1072|  2.35M|}
_PyObjectArray_Free:
 1076|  2.35M|{
 1077|  2.35M|    if (array != scratch) {
  ------------------
  |  Branch (1077:9): [True: 33, False: 2.35M]
  ------------------
 1078|     33|        PyMem_Free(array);
 1079|     33|    }
 1080|  2.35M|}
_PyEval_GetIter:
 1118|    577|{
 1119|    577|    PyTypeObject *tp = PyStackRef_TYPE(iterable);
 1120|    577|    if (tp->_tp_iteritem != NULL) {
  ------------------
  |  Branch (1120:9): [True: 135, False: 442]
  ------------------
 1121|       |        /* Leave iterable on stack and pushed tagged 0 */
 1122|    135|        *index_or_null = PyStackRef_TagInt(0);
 1123|    135|        return iterable;
 1124|    135|    }
 1125|    442|    *index_or_null = PyStackRef_NULL;
 1126|    442|    if (tp->tp_iter == PyObject_SelfIter) {
  ------------------
  |  Branch (1126:9): [True: 16, False: 426]
  ------------------
 1127|     16|        return iterable;
 1128|     16|    }
 1129|    426|    if (yield_from && tp == &PyCoro_Type) {
  ------------------
  |  Branch (1129:9): [True: 0, False: 426]
  |  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|    426|    PyObject *iter_o = PyObject_GetIter(PyStackRef_AsPyObjectBorrow(iterable));
 1144|    426|    PyStackRef_CLOSE(iterable);
 1145|    426|    if (iter_o == NULL) {
  ------------------
  |  Branch (1145:9): [True: 0, False: 426]
  ------------------
 1146|      0|        return PyStackRef_ERROR;
 1147|      0|    }
 1148|    426|    return PyStackRef_FromPyObjectSteal(iter_o);
 1149|    426|}
_PyEval_StoreName:
 1152|  8.55k|{
 1153|  8.55k|    int deletion = PyStackRef_IsNull(v);
  ------------------
  |  |  482|  8.55k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  8.55k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  8.55k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1154|       |
 1155|  8.55k|    if (ns == NULL) {
  ------------------
  |  Branch (1155:9): [True: 0, False: 8.55k]
  ------------------
 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|  8.55k|    if (deletion) {
  ------------------
  |  Branch (1163:9): [True: 40, False: 8.51k]
  ------------------
 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,
  ------------------
  |  |  405|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 1168|      0|                                    name);
 1169|      0|        }
 1170|     40|        return error;
 1171|     40|    }
 1172|       |
 1173|  8.51k|    PyObject *v_o = PyStackRef_AsPyObjectBorrow(v);
 1174|  8.51k|    if (PyDict_CheckExact(ns)) {
  ------------------
  |  |   19|  8.51k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |   65|  8.51k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 8.44k, False: 79]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1175|  8.44k|        return PyDict_SetItem(ns, name, v_o);
 1176|  8.44k|    }
 1177|       |
 1178|     79|    return PyObject_SetItem(ns, name, v_o);
 1179|  8.51k|}
_PyEval_EvalFrameDefault:
 1230|   213k|{
 1231|   213k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|   213k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 1232|   213k|    check_invalid_reentrancy();
 1233|   213k|    CALL_STAT_INC(pyeval_calls);
  ------------------
  |  |   76|   213k|#define CALL_STAT_INC(name) ((void)0)
  ------------------
 1234|       |
 1235|   213k|#if USE_COMPUTED_GOTOS && !_Py_TAIL_CALL_INTERP
 1236|       |/* Import the static jump table */
 1237|   213k|#include "opcode_targets.h"
  ------------------
  |  |    1|   213k|#if !_Py_TAIL_CALL_INTERP
  |  |    2|   213k|static void *opcode_targets_table[256] = {
  |  |    3|   213k|    &&TARGET_CACHE,
  |  |    4|   213k|    &&TARGET_BINARY_SLICE,
  |  |    5|   213k|    &&TARGET_BUILD_TEMPLATE,
  |  |    6|   213k|    &&TARGET_BINARY_OP_INPLACE_ADD_UNICODE,
  |  |    7|   213k|    &&TARGET_CALL_FUNCTION_EX,
  |  |    8|   213k|    &&TARGET_CHECK_EG_MATCH,
  |  |    9|   213k|    &&TARGET_CHECK_EXC_MATCH,
  |  |   10|   213k|    &&TARGET_CLEANUP_THROW,
  |  |   11|   213k|    &&TARGET_DELETE_SUBSCR,
  |  |   12|   213k|    &&TARGET_END_FOR,
  |  |   13|   213k|    &&TARGET_END_SEND,
  |  |   14|   213k|    &&TARGET_EXIT_INIT_CHECK,
  |  |   15|   213k|    &&TARGET_FORMAT_SIMPLE,
  |  |   16|   213k|    &&TARGET_FORMAT_WITH_SPEC,
  |  |   17|   213k|    &&TARGET_GET_AITER,
  |  |   18|   213k|    &&TARGET_GET_ANEXT,
  |  |   19|   213k|    &&TARGET_GET_LEN,
  |  |   20|   213k|    &&TARGET_RESERVED,
  |  |   21|   213k|    &&TARGET_INTERPRETER_EXIT,
  |  |   22|   213k|    &&TARGET_LOAD_BUILD_CLASS,
  |  |   23|   213k|    &&TARGET_LOAD_LOCALS,
  |  |   24|   213k|    &&TARGET_MAKE_FUNCTION,
  |  |   25|   213k|    &&TARGET_MATCH_KEYS,
  |  |   26|   213k|    &&TARGET_MATCH_MAPPING,
  |  |   27|   213k|    &&TARGET_MATCH_SEQUENCE,
  |  |   28|   213k|    &&TARGET_NOP,
  |  |   29|   213k|    &&TARGET_NOT_TAKEN,
  |  |   30|   213k|    &&TARGET_POP_EXCEPT,
  |  |   31|   213k|    &&TARGET_POP_ITER,
  |  |   32|   213k|    &&TARGET_POP_TOP,
  |  |   33|   213k|    &&TARGET_PUSH_EXC_INFO,
  |  |   34|   213k|    &&TARGET_PUSH_NULL,
  |  |   35|   213k|    &&TARGET_RETURN_GENERATOR,
  |  |   36|   213k|    &&TARGET_RETURN_VALUE,
  |  |   37|   213k|    &&TARGET_SETUP_ANNOTATIONS,
  |  |   38|   213k|    &&TARGET_STORE_SLICE,
  |  |   39|   213k|    &&TARGET_STORE_SUBSCR,
  |  |   40|   213k|    &&TARGET_TO_BOOL,
  |  |   41|   213k|    &&TARGET_UNARY_INVERT,
  |  |   42|   213k|    &&TARGET_UNARY_NEGATIVE,
  |  |   43|   213k|    &&TARGET_UNARY_NOT,
  |  |   44|   213k|    &&TARGET_WITH_EXCEPT_START,
  |  |   45|   213k|    &&TARGET_BINARY_OP,
  |  |   46|   213k|    &&TARGET_BUILD_INTERPOLATION,
  |  |   47|   213k|    &&TARGET_BUILD_LIST,
  |  |   48|   213k|    &&TARGET_BUILD_MAP,
  |  |   49|   213k|    &&TARGET_BUILD_SET,
  |  |   50|   213k|    &&TARGET_BUILD_SLICE,
  |  |   51|   213k|    &&TARGET_BUILD_STRING,
  |  |   52|   213k|    &&TARGET_BUILD_TUPLE,
  |  |   53|   213k|    &&TARGET_CALL,
  |  |   54|   213k|    &&TARGET_CALL_INTRINSIC_1,
  |  |   55|   213k|    &&TARGET_CALL_INTRINSIC_2,
  |  |   56|   213k|    &&TARGET_CALL_KW,
  |  |   57|   213k|    &&TARGET_COMPARE_OP,
  |  |   58|   213k|    &&TARGET_CONTAINS_OP,
  |  |   59|   213k|    &&TARGET_CONVERT_VALUE,
  |  |   60|   213k|    &&TARGET_COPY,
  |  |   61|   213k|    &&TARGET_COPY_FREE_VARS,
  |  |   62|   213k|    &&TARGET_DELETE_DEREF,
  |  |   63|   213k|    &&TARGET_DELETE_FAST,
  |  |   64|   213k|    &&TARGET_DICT_MERGE,
  |  |   65|   213k|    &&TARGET_DICT_UPDATE,
  |  |   66|   213k|    &&TARGET_END_ASYNC_FOR,
  |  |   67|   213k|    &&TARGET_EXTENDED_ARG,
  |  |   68|   213k|    &&TARGET_FOR_ITER,
  |  |   69|   213k|    &&TARGET_GET_AWAITABLE,
  |  |   70|   213k|    &&TARGET_GET_ITER,
  |  |   71|   213k|    &&TARGET_IMPORT_FROM,
  |  |   72|   213k|    &&TARGET_IMPORT_NAME,
  |  |   73|   213k|    &&TARGET_IS_OP,
  |  |   74|   213k|    &&TARGET_JUMP_BACKWARD,
  |  |   75|   213k|    &&TARGET_JUMP_BACKWARD_NO_INTERRUPT,
  |  |   76|   213k|    &&TARGET_JUMP_FORWARD,
  |  |   77|   213k|    &&TARGET_LIST_APPEND,
  |  |   78|   213k|    &&TARGET_LIST_EXTEND,
  |  |   79|   213k|    &&TARGET_LOAD_ATTR,
  |  |   80|   213k|    &&TARGET_LOAD_COMMON_CONSTANT,
  |  |   81|   213k|    &&TARGET_LOAD_CONST,
  |  |   82|   213k|    &&TARGET_LOAD_DEREF,
  |  |   83|   213k|    &&TARGET_LOAD_FAST,
  |  |   84|   213k|    &&TARGET_LOAD_FAST_AND_CLEAR,
  |  |   85|   213k|    &&TARGET_LOAD_FAST_BORROW,
  |  |   86|   213k|    &&TARGET_LOAD_FAST_BORROW_LOAD_FAST_BORROW,
  |  |   87|   213k|    &&TARGET_LOAD_FAST_CHECK,
  |  |   88|   213k|    &&TARGET_LOAD_FAST_LOAD_FAST,
  |  |   89|   213k|    &&TARGET_LOAD_FROM_DICT_OR_DEREF,
  |  |   90|   213k|    &&TARGET_LOAD_FROM_DICT_OR_GLOBALS,
  |  |   91|   213k|    &&TARGET_LOAD_GLOBAL,
  |  |   92|   213k|    &&TARGET_LOAD_NAME,
  |  |   93|   213k|    &&TARGET_LOAD_SMALL_INT,
  |  |   94|   213k|    &&TARGET_LOAD_SPECIAL,
  |  |   95|   213k|    &&TARGET_LOAD_SUPER_ATTR,
  |  |   96|   213k|    &&TARGET_MAKE_CELL,
  |  |   97|   213k|    &&TARGET_MAP_ADD,
  |  |   98|   213k|    &&TARGET_MATCH_CLASS,
  |  |   99|   213k|    &&TARGET_POP_JUMP_IF_FALSE,
  |  |  100|   213k|    &&TARGET_POP_JUMP_IF_NONE,
  |  |  101|   213k|    &&TARGET_POP_JUMP_IF_NOT_NONE,
  |  |  102|   213k|    &&TARGET_POP_JUMP_IF_TRUE,
  |  |  103|   213k|    &&TARGET_RAISE_VARARGS,
  |  |  104|   213k|    &&TARGET_RERAISE,
  |  |  105|   213k|    &&TARGET_SEND,
  |  |  106|   213k|    &&TARGET_SET_ADD,
  |  |  107|   213k|    &&TARGET_SET_FUNCTION_ATTRIBUTE,
  |  |  108|   213k|    &&TARGET_SET_UPDATE,
  |  |  109|   213k|    &&TARGET_STORE_ATTR,
  |  |  110|   213k|    &&TARGET_STORE_DEREF,
  |  |  111|   213k|    &&TARGET_STORE_FAST,
  |  |  112|   213k|    &&TARGET_STORE_FAST_LOAD_FAST,
  |  |  113|   213k|    &&TARGET_STORE_FAST_STORE_FAST,
  |  |  114|   213k|    &&TARGET_STORE_GLOBAL,
  |  |  115|   213k|    &&TARGET_STORE_NAME,
  |  |  116|   213k|    &&TARGET_SWAP,
  |  |  117|   213k|    &&TARGET_UNPACK_EX,
  |  |  118|   213k|    &&TARGET_UNPACK_SEQUENCE,
  |  |  119|   213k|    &&TARGET_YIELD_VALUE,
  |  |  120|   213k|    &&_unknown_opcode,
  |  |  121|   213k|    &&_unknown_opcode,
  |  |  122|   213k|    &&_unknown_opcode,
  |  |  123|   213k|    &&_unknown_opcode,
  |  |  124|   213k|    &&_unknown_opcode,
  |  |  125|   213k|    &&_unknown_opcode,
  |  |  126|   213k|    &&_unknown_opcode,
  |  |  127|   213k|    &&_unknown_opcode,
  |  |  128|   213k|    &&_unknown_opcode,
  |  |  129|   213k|    &&_unknown_opcode,
  |  |  130|   213k|    &&_unknown_opcode,
  |  |  131|   213k|    &&TARGET_RESUME,
  |  |  132|   213k|    &&TARGET_BINARY_OP_ADD_FLOAT,
  |  |  133|   213k|    &&TARGET_BINARY_OP_ADD_INT,
  |  |  134|   213k|    &&TARGET_BINARY_OP_ADD_UNICODE,
  |  |  135|   213k|    &&TARGET_BINARY_OP_EXTEND,
  |  |  136|   213k|    &&TARGET_BINARY_OP_MULTIPLY_FLOAT,
  |  |  137|   213k|    &&TARGET_BINARY_OP_MULTIPLY_INT,
  |  |  138|   213k|    &&TARGET_BINARY_OP_SUBSCR_DICT,
  |  |  139|   213k|    &&TARGET_BINARY_OP_SUBSCR_GETITEM,
  |  |  140|   213k|    &&TARGET_BINARY_OP_SUBSCR_LIST_INT,
  |  |  141|   213k|    &&TARGET_BINARY_OP_SUBSCR_LIST_SLICE,
  |  |  142|   213k|    &&TARGET_BINARY_OP_SUBSCR_STR_INT,
  |  |  143|   213k|    &&TARGET_BINARY_OP_SUBSCR_TUPLE_INT,
  |  |  144|   213k|    &&TARGET_BINARY_OP_SUBSCR_USTR_INT,
  |  |  145|   213k|    &&TARGET_BINARY_OP_SUBTRACT_FLOAT,
  |  |  146|   213k|    &&TARGET_BINARY_OP_SUBTRACT_INT,
  |  |  147|   213k|    &&TARGET_CALL_ALLOC_AND_ENTER_INIT,
  |  |  148|   213k|    &&TARGET_CALL_BOUND_METHOD_EXACT_ARGS,
  |  |  149|   213k|    &&TARGET_CALL_BOUND_METHOD_GENERAL,
  |  |  150|   213k|    &&TARGET_CALL_BUILTIN_CLASS,
  |  |  151|   213k|    &&TARGET_CALL_BUILTIN_FAST,
  |  |  152|   213k|    &&TARGET_CALL_BUILTIN_FAST_WITH_KEYWORDS,
  |  |  153|   213k|    &&TARGET_CALL_BUILTIN_O,
  |  |  154|   213k|    &&TARGET_CALL_EX_NON_PY_GENERAL,
  |  |  155|   213k|    &&TARGET_CALL_EX_PY,
  |  |  156|   213k|    &&TARGET_CALL_ISINSTANCE,
  |  |  157|   213k|    &&TARGET_CALL_KW_BOUND_METHOD,
  |  |  158|   213k|    &&TARGET_CALL_KW_NON_PY,
  |  |  159|   213k|    &&TARGET_CALL_KW_PY,
  |  |  160|   213k|    &&TARGET_CALL_LEN,
  |  |  161|   213k|    &&TARGET_CALL_LIST_APPEND,
  |  |  162|   213k|    &&TARGET_CALL_METHOD_DESCRIPTOR_FAST,
  |  |  163|   213k|    &&TARGET_CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS,
  |  |  164|   213k|    &&TARGET_CALL_METHOD_DESCRIPTOR_NOARGS,
  |  |  165|   213k|    &&TARGET_CALL_METHOD_DESCRIPTOR_O,
  |  |  166|   213k|    &&TARGET_CALL_NON_PY_GENERAL,
  |  |  167|   213k|    &&TARGET_CALL_PY_EXACT_ARGS,
  |  |  168|   213k|    &&TARGET_CALL_PY_GENERAL,
  |  |  169|   213k|    &&TARGET_CALL_STR_1,
  |  |  170|   213k|    &&TARGET_CALL_TUPLE_1,
  |  |  171|   213k|    &&TARGET_CALL_TYPE_1,
  |  |  172|   213k|    &&TARGET_COMPARE_OP_FLOAT,
  |  |  173|   213k|    &&TARGET_COMPARE_OP_INT,
  |  |  174|   213k|    &&TARGET_COMPARE_OP_STR,
  |  |  175|   213k|    &&TARGET_CONTAINS_OP_DICT,
  |  |  176|   213k|    &&TARGET_CONTAINS_OP_SET,
  |  |  177|   213k|    &&TARGET_FOR_ITER_GEN,
  |  |  178|   213k|    &&TARGET_FOR_ITER_LIST,
  |  |  179|   213k|    &&TARGET_FOR_ITER_RANGE,
  |  |  180|   213k|    &&TARGET_FOR_ITER_TUPLE,
  |  |  181|   213k|    &&TARGET_FOR_ITER_VIRTUAL,
  |  |  182|   213k|    &&TARGET_GET_ITER_SELF,
  |  |  183|   213k|    &&TARGET_GET_ITER_VIRTUAL,
  |  |  184|   213k|    &&TARGET_JUMP_BACKWARD_JIT,
  |  |  185|   213k|    &&TARGET_JUMP_BACKWARD_NO_JIT,
  |  |  186|   213k|    &&TARGET_LOAD_ATTR_CLASS,
  |  |  187|   213k|    &&TARGET_LOAD_ATTR_CLASS_WITH_METACLASS_CHECK,
  |  |  188|   213k|    &&TARGET_LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN,
  |  |  189|   213k|    &&TARGET_LOAD_ATTR_INSTANCE_VALUE,
  |  |  190|   213k|    &&TARGET_LOAD_ATTR_METHOD_LAZY_DICT,
  |  |  191|   213k|    &&TARGET_LOAD_ATTR_METHOD_NO_DICT,
  |  |  192|   213k|    &&TARGET_LOAD_ATTR_METHOD_WITH_VALUES,
  |  |  193|   213k|    &&TARGET_LOAD_ATTR_MODULE,
  |  |  194|   213k|    &&TARGET_LOAD_ATTR_NONDESCRIPTOR_NO_DICT,
  |  |  195|   213k|    &&TARGET_LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES,
  |  |  196|   213k|    &&TARGET_LOAD_ATTR_PROPERTY,
  |  |  197|   213k|    &&TARGET_LOAD_ATTR_SLOT,
  |  |  198|   213k|    &&TARGET_LOAD_ATTR_WITH_HINT,
  |  |  199|   213k|    &&TARGET_LOAD_GLOBAL_BUILTIN,
  |  |  200|   213k|    &&TARGET_LOAD_GLOBAL_MODULE,
  |  |  201|   213k|    &&TARGET_LOAD_SUPER_ATTR_ATTR,
  |  |  202|   213k|    &&TARGET_LOAD_SUPER_ATTR_METHOD,
  |  |  203|   213k|    &&TARGET_RESUME_CHECK,
  |  |  204|   213k|    &&TARGET_RESUME_CHECK_JIT,
  |  |  205|   213k|    &&TARGET_SEND_ASYNC_GEN,
  |  |  206|   213k|    &&TARGET_SEND_GEN,
  |  |  207|   213k|    &&TARGET_SEND_VIRTUAL,
  |  |  208|   213k|    &&TARGET_STORE_ATTR_INSTANCE_VALUE,
  |  |  209|   213k|    &&TARGET_STORE_ATTR_SLOT,
  |  |  210|   213k|    &&TARGET_STORE_ATTR_WITH_HINT,
  |  |  211|   213k|    &&TARGET_STORE_SUBSCR_DICT,
  |  |  212|   213k|    &&TARGET_STORE_SUBSCR_LIST_INT,
  |  |  213|   213k|    &&TARGET_TO_BOOL_ALWAYS_TRUE,
  |  |  214|   213k|    &&TARGET_TO_BOOL_BOOL,
  |  |  215|   213k|    &&TARGET_TO_BOOL_INT,
  |  |  216|   213k|    &&TARGET_TO_BOOL_LIST,
  |  |  217|   213k|    &&TARGET_TO_BOOL_NONE,
  |  |  218|   213k|    &&TARGET_TO_BOOL_STR,
  |  |  219|   213k|    &&TARGET_UNPACK_SEQUENCE_LIST,
  |  |  220|   213k|    &&TARGET_UNPACK_SEQUENCE_TUPLE,
  |  |  221|   213k|    &&TARGET_UNPACK_SEQUENCE_TWO_TUPLE,
  |  |  222|   213k|    &&_unknown_opcode,
  |  |  223|   213k|    &&_unknown_opcode,
  |  |  224|   213k|    &&_unknown_opcode,
  |  |  225|   213k|    &&_unknown_opcode,
  |  |  226|   213k|    &&_unknown_opcode,
  |  |  227|   213k|    &&_unknown_opcode,
  |  |  228|   213k|    &&_unknown_opcode,
  |  |  229|   213k|    &&_unknown_opcode,
  |  |  230|   213k|    &&_unknown_opcode,
  |  |  231|   213k|    &&_unknown_opcode,
  |  |  232|   213k|    &&_unknown_opcode,
  |  |  233|   213k|    &&_unknown_opcode,
  |  |  234|   213k|    &&_unknown_opcode,
  |  |  235|   213k|    &&_unknown_opcode,
  |  |  236|   213k|    &&TARGET_INSTRUMENTED_END_FOR,
  |  |  237|   213k|    &&TARGET_INSTRUMENTED_POP_ITER,
  |  |  238|   213k|    &&TARGET_INSTRUMENTED_END_SEND,
  |  |  239|   213k|    &&TARGET_INSTRUMENTED_FOR_ITER,
  |  |  240|   213k|    &&TARGET_INSTRUMENTED_INSTRUCTION,
  |  |  241|   213k|    &&TARGET_INSTRUMENTED_JUMP_FORWARD,
  |  |  242|   213k|    &&TARGET_INSTRUMENTED_NOT_TAKEN,
  |  |  243|   213k|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_TRUE,
  |  |  244|   213k|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_FALSE,
  |  |  245|   213k|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_NONE,
  |  |  246|   213k|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_NOT_NONE,
  |  |  247|   213k|    &&TARGET_INSTRUMENTED_RESUME,
  |  |  248|   213k|    &&TARGET_INSTRUMENTED_RETURN_VALUE,
  |  |  249|   213k|    &&TARGET_INSTRUMENTED_YIELD_VALUE,
  |  |  250|   213k|    &&TARGET_INSTRUMENTED_END_ASYNC_FOR,
  |  |  251|   213k|    &&TARGET_INSTRUMENTED_LOAD_SUPER_ATTR,
  |  |  252|   213k|    &&TARGET_INSTRUMENTED_CALL,
  |  |  253|   213k|    &&TARGET_INSTRUMENTED_CALL_KW,
  |  |  254|   213k|    &&TARGET_INSTRUMENTED_CALL_FUNCTION_EX,
  |  |  255|   213k|    &&TARGET_INSTRUMENTED_JUMP_BACKWARD,
  |  |  256|   213k|    &&TARGET_INSTRUMENTED_LINE,
  |  |  257|   213k|    &&TARGET_ENTER_EXECUTOR,
  |  |  258|   213k|    &&TARGET_TRACE_RECORD,
  |  |  259|   213k|};
  |  |  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|   213k|    void **opcode_targets = opcode_targets_table;
 1239|   213k|#endif
 1240|       |
 1241|       |#ifdef Py_STATS
 1242|       |    int lastopcode = 0;
 1243|       |#endif
 1244|   213k|#if !_Py_TAIL_CALL_INTERP
 1245|   213k|    uint8_t opcode;    /* Current opcode */
 1246|   213k|    int oparg;         /* Current opcode argument, if any */
 1247|   213k|    assert(tstate->current_frame == NULL || tstate->current_frame->stackpointer != NULL);
  ------------------
  |  Branch (1247:5): [True: 0, False: 213k]
  |  Branch (1247:5): [True: 213k, False: 0]
  ------------------
 1248|       |#if !USE_COMPUTED_GOTOS
 1249|       |    uint8_t tracing_mode = 0;
 1250|       |    uint8_t dispatch_code;
 1251|       |#endif
 1252|   213k|#endif
 1253|   213k|    _PyEntryFrame entry;
 1254|       |
 1255|   213k|    if (_Py_EnterRecursiveCallTstate(tstate, "")) {
  ------------------
  |  Branch (1255:9): [True: 0, False: 213k]
  ------------------
 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|   213k|    _Py_CODEUNIT *next_instr;
 1264|   213k|    _PyStackRef *stack_pointer;
 1265|   213k|    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|   213k|    entry.frame.f_executable = PyStackRef_None;
  ------------------
  |  |  485|   213k|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|   213k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
 1277|   213k|    entry.frame.instr_ptr = (_Py_CODEUNIT *)_Py_INTERPRETER_TRAMPOLINE_INSTRUCTIONS + 1;
 1278|   213k|    entry.frame.stackpointer = entry.stack;
 1279|   213k|    entry.frame.owner = FRAME_OWNED_BY_INTERPRETER;
 1280|   213k|    entry.frame.visited = 0;
 1281|   213k|    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|   213k|    entry.frame.previous = tstate->current_frame;
 1288|   213k|    frame->previous = &entry.frame;
 1289|   213k|    tstate->current_frame = frame;
 1290|   213k|    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|   213k|    if (throwflag) {
  ------------------
  |  Branch (1300:9): [True: 0, False: 213k]
  ------------------
 1301|      0|        if (_Py_EnterRecursivePy(tstate)) {
  ------------------
  |  Branch (1301:13): [True: 0, False: 0]
  ------------------
 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|      0|        _Py_Instrument(_PyFrame_GetCode(frame), tstate->interp);
 1319|      0|        next_instr = frame->instr_ptr;
 1320|      0|        monitor_throw(tstate, frame, next_instr);
 1321|      0|        stack_pointer = _PyFrame_GetStackPointer(frame);
 1322|      0|        _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|      0|        goto error;
 1331|      0|#endif
 1332|      0|    }
 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|   213k|    goto start_frame;
 1342|   213k|#   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|  2.63M|        TARGET(BINARY_OP) {
  |  |  ------------------
  |  |  |  |  132|  2.63M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |   22|       |            #if _Py_TAIL_CALL_INTERP
  |  |   23|       |            int opcode = BINARY_OP;
  |  |   24|       |            (void)(opcode);
  |  |   25|       |            #endif
  |  |   26|  2.63M|            frame->instr_ptr = next_instr;
  |  |   27|  2.63M|            next_instr += 6;
  |  |   28|  2.63M|            INSTRUCTION_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |   71|  2.63M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |   29|  11.9M|            PREDICTED_BINARY_OP:;
  |  |   30|  11.9M|            _Py_CODEUNIT* const this_instr = next_instr - 6;
  |  |   31|  11.9M|            (void)this_instr;
  |  |   32|  11.9M|            _PyStackRef lhs;
  |  |   33|  11.9M|            _PyStackRef rhs;
  |  |   34|  11.9M|            _PyStackRef res;
  |  |   35|  11.9M|            _PyStackRef l;
  |  |   36|  11.9M|            _PyStackRef r;
  |  |   37|  11.9M|            _PyStackRef value;
  |  |   38|       |            // _SPECIALIZE_BINARY_OP
  |  |   39|  11.9M|            {
  |  |   40|  11.9M|                rhs = stack_pointer[-1];
  |  |   41|  11.9M|                lhs = stack_pointer[-2];
  |  |   42|  11.9M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |   43|  11.9M|                (void)counter;
  |  |   44|  11.9M|                #if ENABLE_SPECIALIZATION
  |  |   45|  11.9M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  11.9M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 176k, False: 11.7M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|   176k|                    next_instr = this_instr;
  |  |   47|   176k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   48|   176k|                    _PyFrame_StackPointerValidate(frame);
  |  |   49|   176k|                    _Py_Specialize_BinaryOp(lhs, rhs, next_instr, oparg, LOCALS_ARRAY);
  |  |  ------------------
  |  |  |  |  284|   176k|#define LOCALS_ARRAY    (frame->localsplus)
  |  |  ------------------
  |  |   50|   176k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |   51|   176k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|   176k|    { \
  |  |  |  |  217|   176k|        opcode = next_instr->op.code; \
  |  |  |  |  218|   176k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   176k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|   176k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|   176k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|   176k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|   176k|    }
  |  |  ------------------
  |  |   52|   176k|                }
  |  |   53|  11.9M|                OPCODE_DEFERRED_INC(BINARY_OP);
  |  |  ------------------
  |  |  |  |   90|  11.9M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |   54|  11.9M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  11.9M|    do { \
  |  |  |  |  378|  11.9M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  11.9M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 11.9M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   55|  11.9M|                #endif  /* ENABLE_SPECIALIZATION */
  |  |   56|  11.9M|                assert(NB_ADD <= oparg);
  |  |  ------------------
  |  |  |  Branch (56:17): [True: 11.7M, False: 176k]
  |  |  ------------------
  |  |   57|  11.9M|                assert(oparg <= NB_OPARG_LAST);
  |  |  ------------------
  |  |  |  Branch (57:17): [True: 11.7M, False: 0]
  |  |  ------------------
  |  |   58|  11.7M|            }
  |  |   59|       |            /* Skip 4 cache entries */
  |  |   60|       |            // _BINARY_OP
  |  |   61|  11.7M|            {
  |  |   62|  11.7M|                PyObject *lhs_o = PyStackRef_AsPyObjectBorrow(lhs);
  |  |   63|  11.7M|                PyObject *rhs_o = PyStackRef_AsPyObjectBorrow(rhs);
  |  |   64|  11.7M|                assert(_PyEval_BinaryOps[oparg]);
  |  |  ------------------
  |  |  |  Branch (64:17): [True: 11.7M, False: 0]
  |  |  ------------------
  |  |   65|  11.7M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   66|  11.7M|                _PyFrame_StackPointerValidate(frame);
  |  |   67|  11.7M|                PyObject *res_o = _PyEval_BinaryOps[oparg](lhs_o, rhs_o);
  |  |   68|  11.7M|                _PyFrame_StackPointerInvalidate(frame);
  |  |   69|  11.7M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (69:21): [True: 103, False: 11.7M]
  |  |  ------------------
  |  |   70|    103|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    103|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |   71|      0|                }
  |  |   72|  11.7M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |   73|  11.7M|                l = lhs;
  |  |   74|  11.7M|                r = rhs;
  |  |   75|  11.7M|            }
  |  |   76|       |            // _POP_TOP
  |  |   77|      0|            {
  |  |   78|  11.7M|                value = r;
  |  |   79|  11.7M|                stack_pointer[-2] = res;
  |  |   80|  11.7M|                stack_pointer[-1] = l;
  |  |   81|  11.7M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (81:17): [True: 11.7M, False: 0]
  |  |  ------------------
  |  |   82|  11.7M|                _PyFrame_StackPointerValidate(frame);
  |  |   83|  11.7M|                PyStackRef_XCLOSE(value);
  |  |   84|  11.7M|                _PyFrame_StackPointerInvalidate(frame);
  |  |   85|  11.7M|            }
  |  |   86|       |            // _POP_TOP
  |  |   87|      0|            {
  |  |   88|  11.7M|                value = l;
  |  |   89|  11.7M|                stack_pointer += -1;
  |  |   90|  11.7M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  11.7M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |   91|  11.7M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   92|  11.7M|                _PyFrame_StackPointerValidate(frame);
  |  |   93|  11.7M|                PyStackRef_XCLOSE(value);
  |  |   94|  11.7M|                _PyFrame_StackPointerInvalidate(frame);
  |  |   95|  11.7M|            }
  |  |   96|  11.7M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  11.7M|    { \
  |  |  |  |  201|  11.7M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  11.7M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  11.7M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  11.7M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  11.7M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  11.7M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  11.7M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  11.7M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 11.7M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  11.7M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  11.7M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  11.7M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  11.7M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  11.7M|    }
  |  |  ------------------
  |  |   97|  11.7M|        }
  |  |   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|  31.1M|        TARGET(BINARY_OP_ADD_INT) {
  |  |  ------------------
  |  |  |  |  132|  31.1M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  175|       |            #if _Py_TAIL_CALL_INTERP
  |  |  176|       |            int opcode = BINARY_OP_ADD_INT;
  |  |  177|       |            (void)(opcode);
  |  |  178|       |            #endif
  |  |  179|  31.1M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  180|  31.1M|            (void)this_instr;
  |  |  181|  31.1M|            frame->instr_ptr = next_instr;
  |  |  182|  31.1M|            next_instr += 6;
  |  |  183|  31.1M|            INSTRUCTION_STATS(BINARY_OP_ADD_INT);
  |  |  ------------------
  |  |  |  |   71|  31.1M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  184|  31.1M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  185|  31.1M|            _PyStackRef value;
  |  |  186|  31.1M|            _PyStackRef left;
  |  |  187|  31.1M|            _PyStackRef right;
  |  |  188|  31.1M|            _PyStackRef res;
  |  |  189|  31.1M|            _PyStackRef l;
  |  |  190|  31.1M|            _PyStackRef r;
  |  |  191|       |            // _GUARD_TOS_INT
  |  |  192|  31.1M|            {
  |  |  193|  31.1M|                value = stack_pointer[-1];
  |  |  194|  31.1M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  195|  31.1M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (195:21): [True: 2.56k, False: 31.1M]
  |  |  ------------------
  |  |  196|  2.56k|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|  2.56k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  197|  2.56k|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (197:21): [True: 2.56k, False: 0]
  |  |  ------------------
  |  |  198|  2.56k|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|  2.56k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  199|      0|                }
  |  |  200|  31.1M|            }
  |  |  201|       |            // _GUARD_NOS_INT
  |  |  202|  31.1M|            {
  |  |  203|  31.1M|                left = stack_pointer[-2];
  |  |  204|  31.1M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  205|  31.1M|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (205:21): [True: 134, False: 31.1M]
  |  |  ------------------
  |  |  206|    134|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|    134|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  207|    134|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (207:21): [True: 134, False: 0]
  |  |  ------------------
  |  |  208|    134|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|    134|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  209|      0|                }
  |  |  210|  31.1M|            }
  |  |  211|       |            /* Skip 5 cache entries */
  |  |  212|       |            // _BINARY_OP_ADD_INT
  |  |  213|  31.1M|            {
  |  |  214|  31.1M|                right = value;
  |  |  215|  31.1M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  216|  31.1M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  217|  31.1M|                assert(PyLong_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (217:17): [True: 31.1M, False: 0]
  |  |  ------------------
  |  |  218|  31.1M|                assert(PyLong_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (218:17): [True: 31.1M, False: 0]
  |  |  ------------------
  |  |  219|  31.1M|                assert(_PyLong_BothAreCompact((PyLongObject *)left_o, (PyLongObject *)right_o));
  |  |  ------------------
  |  |  |  Branch (219:17): [True: 31.1M, False: 0]
  |  |  ------------------
  |  |  220|  31.1M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  31.1M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  221|  31.1M|                res = _PyCompactLong_Add((PyLongObject *)left_o, (PyLongObject *)right_o);
  |  |  222|  31.1M|                if (PyStackRef_IsNull(res)) {
  |  |  ------------------
  |  |  |  |  482|  31.1M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  31.1M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  31.1M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 10, False: 31.1M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  223|     10|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|     10|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  224|     10|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (224:21): [True: 10, False: 0]
  |  |  ------------------
  |  |  225|     10|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|     10|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  226|      0|                }
  |  |  227|  31.1M|                l = left;
  |  |  228|  31.1M|                r = right;
  |  |  229|  31.1M|            }
  |  |  230|       |            // _POP_TOP_INT
  |  |  231|      0|            {
  |  |  232|  31.1M|                value = r;
  |  |  233|  31.1M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (233:17): [True: 31.1M, False: 0]
  |  |  ------------------
  |  |  234|  31.1M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  235|  31.1M|            }
  |  |  236|       |            // _POP_TOP_INT
  |  |  237|      0|            {
  |  |  238|  31.1M|                value = l;
  |  |  239|  31.1M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (239:17): [True: 31.1M, False: 0]
  |  |  ------------------
  |  |  240|  31.1M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  241|  31.1M|            }
  |  |  242|      0|            stack_pointer[-2] = res;
  |  |  243|  31.1M|            stack_pointer += -1;
  |  |  244|  31.1M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  31.1M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  245|  31.1M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  31.1M|    { \
  |  |  |  |  201|  31.1M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  31.1M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  31.1M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  31.1M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  31.1M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  31.1M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  31.1M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  31.1M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 31.1M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  31.1M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  31.1M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  31.1M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  31.1M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  31.1M|    }
  |  |  ------------------
  |  |  246|  31.1M|        }
  |  |  247|       |
  |  |  248|   428k|        TARGET(BINARY_OP_ADD_UNICODE) {
  |  |  ------------------
  |  |  |  |  132|   428k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  249|       |            #if _Py_TAIL_CALL_INTERP
  |  |  250|       |            int opcode = BINARY_OP_ADD_UNICODE;
  |  |  251|       |            (void)(opcode);
  |  |  252|       |            #endif
  |  |  253|   428k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  254|   428k|            (void)this_instr;
  |  |  255|   428k|            frame->instr_ptr = next_instr;
  |  |  256|   428k|            next_instr += 6;
  |  |  257|   428k|            INSTRUCTION_STATS(BINARY_OP_ADD_UNICODE);
  |  |  ------------------
  |  |  |  |   71|   428k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  258|   428k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  259|   428k|            _PyStackRef value;
  |  |  260|   428k|            _PyStackRef nos;
  |  |  261|   428k|            _PyStackRef left;
  |  |  262|   428k|            _PyStackRef right;
  |  |  263|   428k|            _PyStackRef res;
  |  |  264|   428k|            _PyStackRef l;
  |  |  265|   428k|            _PyStackRef r;
  |  |  266|       |            // _GUARD_TOS_UNICODE
  |  |  267|   428k|            {
  |  |  268|   428k|                value = stack_pointer[-1];
  |  |  269|   428k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  270|   428k|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|   428k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   428k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   428k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   428k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (270:21): [True: 0, False: 428k]
  |  |  ------------------
  |  |  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|   428k|            }
  |  |  276|       |            // _GUARD_NOS_UNICODE
  |  |  277|   428k|            {
  |  |  278|   428k|                nos = stack_pointer[-2];
  |  |  279|   428k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  280|   428k|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|   428k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   428k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   428k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   428k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (280:21): [True: 0, False: 428k]
  |  |  ------------------
  |  |  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|   428k|            }
  |  |  286|       |            /* Skip 5 cache entries */
  |  |  287|       |            // _BINARY_OP_ADD_UNICODE
  |  |  288|   428k|            {
  |  |  289|   428k|                right = value;
  |  |  290|   428k|                left = nos;
  |  |  291|   428k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  292|   428k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  293|   428k|                assert(PyUnicode_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (293:17): [True: 428k, False: 0]
  |  |  ------------------
  |  |  294|   428k|                assert(PyUnicode_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (294:17): [True: 428k, False: 0]
  |  |  ------------------
  |  |  295|   428k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|   428k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  296|   428k|                PyObject *res_o = PyUnicode_Concat(left_o, right_o);
  |  |  297|   428k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (297:21): [True: 0, False: 428k]
  |  |  ------------------
  |  |  298|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  299|      0|                }
  |  |  300|   428k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  301|   428k|                l = left;
  |  |  302|   428k|                r = right;
  |  |  303|   428k|            }
  |  |  304|       |            // _POP_TOP_UNICODE
  |  |  305|      0|            {
  |  |  306|   428k|                value = r;
  |  |  307|   428k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (307:17): [True: 428k, False: 0]
  |  |  ------------------
  |  |  308|   428k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  |  309|   428k|            }
  |  |  310|       |            // _POP_TOP_UNICODE
  |  |  311|      0|            {
  |  |  312|   428k|                value = l;
  |  |  313|   428k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (313:17): [True: 428k, False: 0]
  |  |  ------------------
  |  |  314|   428k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  |  315|   428k|            }
  |  |  316|      0|            stack_pointer[-2] = res;
  |  |  317|   428k|            stack_pointer += -1;
  |  |  318|   428k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   428k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  319|   428k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   428k|    { \
  |  |  |  |  201|   428k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   428k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   428k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   428k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   428k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   428k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   428k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   428k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 428k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   428k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   428k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   428k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   428k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   428k|    }
  |  |  ------------------
  |  |  320|   428k|        }
  |  |  321|       |
  |  |  322|  47.1k|        TARGET(BINARY_OP_EXTEND) {
  |  |  ------------------
  |  |  |  |  132|  47.1k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  323|       |            #if _Py_TAIL_CALL_INTERP
  |  |  324|       |            int opcode = BINARY_OP_EXTEND;
  |  |  325|       |            (void)(opcode);
  |  |  326|       |            #endif
  |  |  327|  47.1k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  328|  47.1k|            (void)this_instr;
  |  |  329|  47.1k|            frame->instr_ptr = next_instr;
  |  |  330|  47.1k|            next_instr += 6;
  |  |  331|  47.1k|            INSTRUCTION_STATS(BINARY_OP_EXTEND);
  |  |  ------------------
  |  |  |  |   71|  47.1k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  332|  47.1k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  333|  47.1k|            _PyStackRef left;
  |  |  334|  47.1k|            _PyStackRef right;
  |  |  335|  47.1k|            _PyStackRef res;
  |  |  336|  47.1k|            _PyStackRef l;
  |  |  337|  47.1k|            _PyStackRef r;
  |  |  338|  47.1k|            _PyStackRef value;
  |  |  339|       |            /* Skip 1 cache entry */
  |  |  340|       |            // _GUARD_BINARY_OP_EXTEND
  |  |  341|  47.1k|            {
  |  |  342|  47.1k|                right = stack_pointer[-1];
  |  |  343|  47.1k|                left = stack_pointer[-2];
  |  |  344|  47.1k|                PyObject *descr = read_obj(&this_instr[2].cache);
  |  |  345|  47.1k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  346|  47.1k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  347|  47.1k|                _PyBinaryOpSpecializationDescr *d = (_PyBinaryOpSpecializationDescr*)descr;
  |  |  348|  47.1k|                assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5);
  |  |  ------------------
  |  |  |  Branch (348:17): [True: 47.1k, Folded]
  |  |  ------------------
  |  |  349|  47.1k|                assert(d != NULL);
  |  |  ------------------
  |  |  |  Branch (349:17): [True: 47.1k, False: 0]
  |  |  ------------------
  |  |  350|  47.1k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  351|  47.1k|                _PyFrame_StackPointerValidate(frame);
  |  |  352|  47.1k|                int match = (d->guard != NULL)
  |  |  ------------------
  |  |  |  Branch (352:29): [True: 21.2k, False: 25.8k]
  |  |  ------------------
  |  |  353|  47.1k|                ? d->guard(left_o, right_o)
  |  |  354|  47.1k|            : (Py_TYPE(left_o) == d->lhs_type && Py_TYPE(right_o) == d->rhs_type);
  |  |  ------------------
  |  |  |  |  213|  25.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  25.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  25.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           : (Py_TYPE(left_o) == d->lhs_type && Py_TYPE(right_o) == d->rhs_type);
  |  |  ------------------
  |  |  |  |  213|  25.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  25.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  25.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (354:16): [True: 25.8k, False: 0]
  |  |  |  Branch (354:50): [True: 25.8k, False: 0]
  |  |  ------------------
  |  |  355|  47.1k|                _PyFrame_StackPointerInvalidate(frame);
  |  |  356|  47.1k|                if (!match) {
  |  |  ------------------
  |  |  |  Branch (356:21): [True: 0, False: 47.1k]
  |  |  ------------------
  |  |  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|  47.1k|            }
  |  |  362|       |            /* Skip -4 cache entry */
  |  |  363|       |            // _BINARY_OP_EXTEND
  |  |  364|  47.1k|            {
  |  |  365|  47.1k|                PyObject *descr = read_obj(&this_instr[2].cache);
  |  |  366|  47.1k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  367|  47.1k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  368|  47.1k|                assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5);
  |  |  ------------------
  |  |  |  Branch (368:17): [True: 47.1k, Folded]
  |  |  ------------------
  |  |  369|  47.1k|                _PyBinaryOpSpecializationDescr *d = (_PyBinaryOpSpecializationDescr*)descr;
  |  |  370|  47.1k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  47.1k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  371|  47.1k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (371:17): [True: 47.1k, False: 0]
  |  |  ------------------
  |  |  372|  47.1k|                _PyFrame_StackPointerValidate(frame);
  |  |  373|  47.1k|                PyObject *res_o = d->action(left_o, right_o);
  |  |  374|  47.1k|                _PyFrame_StackPointerInvalidate(frame);
  |  |  375|  47.1k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (375:21): [True: 0, False: 47.1k]
  |  |  ------------------
  |  |  376|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  377|      0|                }
  |  |  378|  47.1k|                assert(d->result_type == NULL || Py_TYPE(res_o) == d->result_type);
  |  |  ------------------
  |  |  |  Branch (378:17): [True: 0, False: 47.1k]
  |  |  |  Branch (378:17): [True: 47.1k, False: 0]
  |  |  ------------------
  |  |  379|  47.1k|                assert(!d->result_unique || Py_REFCNT(res_o) == 1 || _Py_IsImmortal(res_o));
  |  |  ------------------
  |  |  |  Branch (379:17): [True: 25.8k, False: 21.2k]
  |  |  |  Branch (379:17): [True: 20.4k, False: 824]
  |  |  |  Branch (379:17): [True: 824, False: 0]
  |  |  ------------------
  |  |  380|  47.1k|                assert(!PyFloat_CheckExact(res_o) || Py_REFCNT(res_o) == 1);
  |  |  ------------------
  |  |  |  Branch (380:17): [True: 47.1k, False: 0]
  |  |  |  Branch (380:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  381|  47.1k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  382|  47.1k|                l = left;
  |  |  383|  47.1k|                r = right;
  |  |  384|  47.1k|            }
  |  |  385|       |            // _POP_TOP
  |  |  386|      0|            {
  |  |  387|  47.1k|                value = r;
  |  |  388|  47.1k|                stack_pointer[-2] = res;
  |  |  389|  47.1k|                stack_pointer[-1] = l;
  |  |  390|  47.1k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (390:17): [True: 47.1k, False: 0]
  |  |  ------------------
  |  |  391|  47.1k|                _PyFrame_StackPointerValidate(frame);
  |  |  392|  47.1k|                PyStackRef_XCLOSE(value);
  |  |  393|  47.1k|                _PyFrame_StackPointerInvalidate(frame);
  |  |  394|  47.1k|            }
  |  |  395|       |            // _POP_TOP
  |  |  396|      0|            {
  |  |  397|  47.1k|                value = l;
  |  |  398|  47.1k|                stack_pointer += -1;
  |  |  399|  47.1k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  47.1k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  400|  47.1k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  401|  47.1k|                _PyFrame_StackPointerValidate(frame);
  |  |  402|  47.1k|                PyStackRef_XCLOSE(value);
  |  |  403|  47.1k|                _PyFrame_StackPointerInvalidate(frame);
  |  |  404|  47.1k|            }
  |  |  405|  47.1k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  47.1k|    { \
  |  |  |  |  201|  47.1k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  47.1k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  47.1k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  47.1k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  47.1k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  47.1k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  47.1k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  47.1k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 47.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  47.1k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  47.1k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  47.1k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  47.1k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  47.1k|    }
  |  |  ------------------
  |  |  406|  47.1k|        }
  |  |  407|       |
  |  |  408|    156|        TARGET(BINARY_OP_INPLACE_ADD_UNICODE) {
  |  |  ------------------
  |  |  |  |  132|    156|#  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|    156|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  414|    156|            (void)this_instr;
  |  |  415|    156|            frame->instr_ptr = next_instr;
  |  |  416|    156|            next_instr += 6;
  |  |  417|    156|            INSTRUCTION_STATS(BINARY_OP_INPLACE_ADD_UNICODE);
  |  |  ------------------
  |  |  |  |   71|    156|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  418|    156|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  419|    156|            _PyStackRef value;
  |  |  420|    156|            _PyStackRef nos;
  |  |  421|    156|            _PyStackRef left;
  |  |  422|    156|            _PyStackRef right;
  |  |  423|    156|            _PyStackRef res;
  |  |  424|       |            // _GUARD_TOS_UNICODE
  |  |  425|    156|            {
  |  |  426|    156|                value = stack_pointer[-1];
  |  |  427|    156|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  428|    156|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|    156|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    156|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    156|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    156|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (428:21): [True: 0, False: 156]
  |  |  ------------------
  |  |  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|    156|            }
  |  |  434|       |            // _GUARD_NOS_UNICODE
  |  |  435|    156|            {
  |  |  436|    156|                nos = stack_pointer[-2];
  |  |  437|    156|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  438|    156|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|    156|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    156|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    156|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    156|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (438:21): [True: 0, False: 156]
  |  |  ------------------
  |  |  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|    156|            }
  |  |  444|       |            /* Skip 5 cache entries */
  |  |  445|       |            // _BINARY_OP_INPLACE_ADD_UNICODE
  |  |  446|    156|            {
  |  |  447|    156|                right = value;
  |  |  448|    156|                left = nos;
  |  |  449|    156|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  450|    156|                assert(PyUnicode_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (450:17): [True: 156, False: 0]
  |  |  ------------------
  |  |  451|    156|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(right)));
  |  |  ------------------
  |  |  |  Branch (451:17): [True: 156, False: 0]
  |  |  ------------------
  |  |  452|    156|                int next_oparg;
  |  |  453|    156|                #if TIER_ONE
  |  |  454|    156|                assert(next_instr->op.code == STORE_FAST);
  |  |  ------------------
  |  |  |  Branch (454:17): [True: 156, False: 0]
  |  |  ------------------
  |  |  455|    156|                next_oparg = next_instr->op.arg;
  |  |  456|       |                #else
  |  |  457|       |                next_oparg = (int)CURRENT_OPERAND0_16();
  |  |  458|       |                #endif
  |  |  459|    156|                _PyStackRef *target_local = &GETLOCAL(next_oparg);
  |  |  ------------------
  |  |  |  |  285|    156|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |  460|    156|                assert(PyUnicode_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (460:17): [True: 156, False: 0]
  |  |  ------------------
  |  |  461|    156|                if (PyStackRef_AsPyObjectBorrow(*target_local) != left_o) {
  |  |  ------------------
  |  |  |  Branch (461:21): [True: 0, False: 156]
  |  |  ------------------
  |  |  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|    156|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    156|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  467|    156|                assert(Py_REFCNT(left_o) >= 2 || !PyStackRef_IsHeapSafe(left));
  |  |  ------------------
  |  |  |  Branch (467:17): [True: 78, False: 78]
  |  |  |  Branch (467:17): [True: 78, False: 0]
  |  |  ------------------
  |  |  468|    156|                PyObject *temp = PyStackRef_AsPyObjectSteal(*target_local);
  |  |  469|    156|                PyObject *right_o = PyStackRef_AsPyObjectSteal(right);
  |  |  470|    156|                PyStackRef_CLOSE_SPECIALIZED(left, _PyUnicode_ExactDealloc);
  |  |  471|    156|                stack_pointer += -2;
  |  |  472|    156|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    156|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  473|    156|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  474|    156|                _PyFrame_StackPointerValidate(frame);
  |  |  475|    156|                PyUnicode_Append(&temp, right_o);
  |  |  476|    156|                _PyFrame_StackPointerInvalidate(frame);
  |  |  477|    156|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (477:17): [True: 156, False: 0]
  |  |  ------------------
  |  |  478|    156|                _PyFrame_StackPointerValidate(frame);
  |  |  479|    156|                _Py_DECREF_SPECIALIZED(right_o, _PyUnicode_ExactDealloc);
  |  |  ------------------
  |  |  |  |   96|    156|    do { \
  |  |  |  |   97|    156|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    156|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    156|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|    156|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|    156|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    156|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    156|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 132, False: 24]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   99|    132|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|    132|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  100|    132|            break; \
  |  |  |  |  101|    132|        } \
  |  |  |  |  102|    156|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     24|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  103|     24|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (103:13): [True: 24, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  104|     24|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|     24|    do { \
  |  |  |  |  |  |  113|     24|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|     24|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 24]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|     24|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 24]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  105|     24|            destructor d = (destructor)(dealloc); \
  |  |  |  |  106|     24|            d(op); \
  |  |  |  |  107|     24|        } \
  |  |  |  |  108|     24|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (108:14): [Folded, False: 24]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  480|    156|                _PyFrame_StackPointerInvalidate(frame);
  |  |  481|    156|                *target_local = PyStackRef_NULL;
  |  |  482|    156|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (482:21): [True: 0, False: 156]
  |  |  ------------------
  |  |  483|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  484|      0|                }
  |  |  485|    156|                res = PyStackRef_FromPyObjectSteal(temp);
  |  |  486|    156|            }
  |  |  487|      0|            stack_pointer[0] = res;
  |  |  488|    156|            stack_pointer += 1;
  |  |  489|    156|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    156|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  490|    156|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    156|    { \
  |  |  |  |  201|    156|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    156|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    156|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    156|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    156|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    156|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    156|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    156|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 156]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    156|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    156|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    156|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    156|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    156|    }
  |  |  ------------------
  |  |  491|    156|        }
  |  |  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|  1.53M|        TARGET(BINARY_OP_MULTIPLY_INT) {
  |  |  ------------------
  |  |  |  |  132|  1.53M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  569|       |            #if _Py_TAIL_CALL_INTERP
  |  |  570|       |            int opcode = BINARY_OP_MULTIPLY_INT;
  |  |  571|       |            (void)(opcode);
  |  |  572|       |            #endif
  |  |  573|  1.53M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  574|  1.53M|            (void)this_instr;
  |  |  575|  1.53M|            frame->instr_ptr = next_instr;
  |  |  576|  1.53M|            next_instr += 6;
  |  |  577|  1.53M|            INSTRUCTION_STATS(BINARY_OP_MULTIPLY_INT);
  |  |  ------------------
  |  |  |  |   71|  1.53M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  578|  1.53M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  579|  1.53M|            _PyStackRef value;
  |  |  580|  1.53M|            _PyStackRef left;
  |  |  581|  1.53M|            _PyStackRef right;
  |  |  582|  1.53M|            _PyStackRef res;
  |  |  583|  1.53M|            _PyStackRef l;
  |  |  584|  1.53M|            _PyStackRef r;
  |  |  585|       |            // _GUARD_TOS_INT
  |  |  586|  1.53M|            {
  |  |  587|  1.53M|                value = stack_pointer[-1];
  |  |  588|  1.53M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  589|  1.53M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (589:21): [True: 1.79k, False: 1.53M]
  |  |  ------------------
  |  |  590|  1.79k|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|  1.79k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  591|  1.79k|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (591:21): [True: 1.79k, False: 0]
  |  |  ------------------
  |  |  592|  1.79k|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|  1.79k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  593|      0|                }
  |  |  594|  1.53M|            }
  |  |  595|       |            // _GUARD_NOS_INT
  |  |  596|  1.53M|            {
  |  |  597|  1.53M|                left = stack_pointer[-2];
  |  |  598|  1.53M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  599|  1.53M|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (599:21): [True: 1.59k, False: 1.53M]
  |  |  ------------------
  |  |  600|  1.59k|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|  1.59k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  601|  1.59k|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (601:21): [True: 1.59k, False: 0]
  |  |  ------------------
  |  |  602|  1.59k|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|  1.59k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  603|      0|                }
  |  |  604|  1.53M|            }
  |  |  605|       |            /* Skip 5 cache entries */
  |  |  606|       |            // _BINARY_OP_MULTIPLY_INT
  |  |  607|  1.53M|            {
  |  |  608|  1.53M|                right = value;
  |  |  609|  1.53M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  610|  1.53M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  611|  1.53M|                assert(PyLong_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (611:17): [True: 1.53M, False: 0]
  |  |  ------------------
  |  |  612|  1.53M|                assert(PyLong_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (612:17): [True: 1.53M, False: 0]
  |  |  ------------------
  |  |  613|  1.53M|                assert(_PyLong_BothAreCompact((PyLongObject *)left_o, (PyLongObject *)right_o));
  |  |  ------------------
  |  |  |  Branch (613:17): [True: 1.53M, False: 0]
  |  |  ------------------
  |  |  614|  1.53M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  1.53M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  615|  1.53M|                res = _PyCompactLong_Multiply((PyLongObject *)left_o, (PyLongObject *)right_o);
  |  |  616|  1.53M|                if (PyStackRef_IsNull(res)) {
  |  |  ------------------
  |  |  |  |  482|  1.53M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.53M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.53M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 268, False: 1.53M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  617|    268|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|    268|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  618|    268|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (618:21): [True: 268, False: 0]
  |  |  ------------------
  |  |  619|    268|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|    268|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  620|      0|                }
  |  |  621|  1.53M|                l = left;
  |  |  622|  1.53M|                r = right;
  |  |  623|  1.53M|            }
  |  |  624|       |            // _POP_TOP_INT
  |  |  625|      0|            {
  |  |  626|  1.53M|                value = r;
  |  |  627|  1.53M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (627:17): [True: 1.53M, False: 0]
  |  |  ------------------
  |  |  628|  1.53M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  629|  1.53M|            }
  |  |  630|       |            // _POP_TOP_INT
  |  |  631|      0|            {
  |  |  632|  1.53M|                value = l;
  |  |  633|  1.53M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (633:17): [True: 1.53M, False: 0]
  |  |  ------------------
  |  |  634|  1.53M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  635|  1.53M|            }
  |  |  636|      0|            stack_pointer[-2] = res;
  |  |  637|  1.53M|            stack_pointer += -1;
  |  |  638|  1.53M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.53M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  639|  1.53M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.53M|    { \
  |  |  |  |  201|  1.53M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.53M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.53M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.53M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.53M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.53M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.53M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.53M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.53M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.53M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.53M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.53M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.53M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.53M|    }
  |  |  ------------------
  |  |  640|  1.53M|        }
  |  |  641|       |
  |  |  642|  4.45k|        TARGET(BINARY_OP_SUBSCR_DICT) {
  |  |  ------------------
  |  |  |  |  132|  4.45k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  643|       |            #if _Py_TAIL_CALL_INTERP
  |  |  644|       |            int opcode = BINARY_OP_SUBSCR_DICT;
  |  |  645|       |            (void)(opcode);
  |  |  646|       |            #endif
  |  |  647|  4.45k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  648|  4.45k|            (void)this_instr;
  |  |  649|  4.45k|            frame->instr_ptr = next_instr;
  |  |  650|  4.45k|            next_instr += 6;
  |  |  651|  4.45k|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_DICT);
  |  |  ------------------
  |  |  |  |   71|  4.45k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  652|  4.45k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  653|  4.45k|            _PyStackRef nos;
  |  |  654|  4.45k|            _PyStackRef dict_st;
  |  |  655|  4.45k|            _PyStackRef sub_st;
  |  |  656|  4.45k|            _PyStackRef res;
  |  |  657|  4.45k|            _PyStackRef ds;
  |  |  658|  4.45k|            _PyStackRef ss;
  |  |  659|  4.45k|            _PyStackRef value;
  |  |  660|       |            // _GUARD_NOS_DICT_SUBSCRIPT
  |  |  661|  4.45k|            {
  |  |  662|  4.45k|                nos = stack_pointer[-2];
  |  |  663|  4.45k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  664|  4.45k|                if (!Py_TYPE(o)->tp_as_mapping) {
  |  |  ------------------
  |  |  |  |  213|  4.45k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (664:21): [True: 0, False: 4.45k]
  |  |  ------------------
  |  |  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|  4.45k|                if (Py_TYPE(o)->tp_as_mapping->mp_subscript != _PyDict_Subscript) {
  |  |  ------------------
  |  |  |  |  213|  4.45k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (669:21): [True: 0, False: 4.45k]
  |  |  ------------------
  |  |  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|  4.45k|            }
  |  |  675|       |            /* Skip 5 cache entries */
  |  |  676|       |            // _BINARY_OP_SUBSCR_DICT
  |  |  677|  4.45k|            {
  |  |  678|  4.45k|                sub_st = stack_pointer[-1];
  |  |  679|  4.45k|                dict_st = nos;
  |  |  680|  4.45k|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |  681|  4.45k|                PyObject *dict = PyStackRef_AsPyObjectBorrow(dict_st);
  |  |  682|  4.45k|                assert(Py_TYPE(dict)->tp_as_mapping->mp_subscript == _PyDict_Subscript);
  |  |  ------------------
  |  |  |  Branch (682:17): [True: 4.45k, False: 0]
  |  |  ------------------
  |  |  683|  4.45k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  4.45k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  684|  4.45k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  685|  4.45k|                _PyFrame_StackPointerValidate(frame);
  |  |  686|  4.45k|                PyObject *res_o = _PyDict_Subscript(dict, sub);
  |  |  687|  4.45k|                _PyFrame_StackPointerInvalidate(frame);
  |  |  688|  4.45k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (688:21): [True: 718, False: 3.73k]
  |  |  ------------------
  |  |  689|    718|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    718|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  690|      0|                }
  |  |  691|  3.73k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  692|  3.73k|                ds = dict_st;
  |  |  693|  3.73k|                ss = sub_st;
  |  |  694|  3.73k|            }
  |  |  695|       |            // _POP_TOP
  |  |  696|      0|            {
  |  |  697|  3.73k|                value = ss;
  |  |  698|  3.73k|                stack_pointer[-2] = res;
  |  |  699|  3.73k|                stack_pointer[-1] = ds;
  |  |  700|  3.73k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (700:17): [True: 3.73k, False: 0]
  |  |  ------------------
  |  |  701|  3.73k|                _PyFrame_StackPointerValidate(frame);
  |  |  702|  3.73k|                PyStackRef_XCLOSE(value);
  |  |  703|  3.73k|                _PyFrame_StackPointerInvalidate(frame);
  |  |  704|  3.73k|            }
  |  |  705|       |            // _POP_TOP
  |  |  706|      0|            {
  |  |  707|  3.73k|                value = ds;
  |  |  708|  3.73k|                stack_pointer += -1;
  |  |  709|  3.73k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.73k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  710|  3.73k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  711|  3.73k|                _PyFrame_StackPointerValidate(frame);
  |  |  712|  3.73k|                PyStackRef_XCLOSE(value);
  |  |  713|  3.73k|                _PyFrame_StackPointerInvalidate(frame);
  |  |  714|  3.73k|            }
  |  |  715|  3.73k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.73k|    { \
  |  |  |  |  201|  3.73k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.73k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.73k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.73k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.73k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.73k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.73k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.73k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.73k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.73k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.73k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.73k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.73k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.73k|    }
  |  |  ------------------
  |  |  716|  3.73k|        }
  |  |  717|       |
  |  |  718|    228|        TARGET(BINARY_OP_SUBSCR_GETITEM) {
  |  |  ------------------
  |  |  |  |  132|    228|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  719|       |            #if _Py_TAIL_CALL_INTERP
  |  |  720|       |            int opcode = BINARY_OP_SUBSCR_GETITEM;
  |  |  721|       |            (void)(opcode);
  |  |  722|       |            #endif
  |  |  723|    228|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  724|    228|            (void)this_instr;
  |  |  725|    228|            frame->instr_ptr = next_instr;
  |  |  726|    228|            next_instr += 6;
  |  |  727|    228|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_GETITEM);
  |  |  ------------------
  |  |  |  |   71|    228|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  728|    228|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  729|    228|            _PyStackRef container;
  |  |  730|    228|            _PyStackRef getitem;
  |  |  731|    228|            _PyStackRef sub;
  |  |  732|    228|            _PyStackRef new_frame;
  |  |  733|       |            /* Skip 5 cache entries */
  |  |  734|       |            // _CHECK_PEP_523
  |  |  735|    228|            {
  |  |  736|    228|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|    228|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 228]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  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|    228|            }
  |  |  742|       |            // _BINARY_OP_SUBSCR_CHECK_FUNC
  |  |  743|    228|            {
  |  |  744|    228|                container = stack_pointer[-2];
  |  |  745|    228|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(container));
  |  |  ------------------
  |  |  |  |  213|    228|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    228|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    228|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  746|    228|                if (!PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE)) {
  |  |  ------------------
  |  |  |  |  503|    228|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  |  |  ------------------
  |  |  |  Branch (746:21): [True: 0, False: 228]
  |  |  ------------------
  |  |  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|    228|                PyHeapTypeObject *ht = (PyHeapTypeObject *)tp;
  |  |  752|    228|                PyObject *getitem_o = FT_ATOMIC_LOAD_PTR_ACQUIRE(ht->_spec_cache.getitem);
  |  |  ------------------
  |  |  |  |  150|    228|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |  753|    228|                if (getitem_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (753:21): [True: 0, False: 228]
  |  |  ------------------
  |  |  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|    228|                assert(PyFunction_Check(getitem_o));
  |  |  ------------------
  |  |  |  Branch (758:17): [True: 228, False: 0]
  |  |  ------------------
  |  |  759|    228|                uint32_t cached_version = FT_ATOMIC_LOAD_UINT32_RELAXED(ht->_spec_cache.getitem_version);
  |  |  ------------------
  |  |  |  |  159|    228|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  760|    228|                if (((PyFunctionObject *)getitem_o)->func_version != cached_version) {
  |  |  ------------------
  |  |  |  Branch (760:21): [True: 0, False: 228]
  |  |  ------------------
  |  |  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|    228|                PyCodeObject *code = (PyCodeObject *)PyFunction_GET_CODE(getitem_o);
  |  |  ------------------
  |  |  |  |   93|    228|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    228|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    228|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  766|    228|                assert(code->co_argcount == 2);
  |  |  ------------------
  |  |  |  Branch (766:17): [True: 228, False: 0]
  |  |  ------------------
  |  |  767|    228|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (767:21): [True: 0, False: 228]
  |  |  ------------------
  |  |  768|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  769|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (769:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  770|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  771|      0|                }
  |  |  772|    228|                getitem = PyStackRef_FromPyObjectNew(getitem_o);
  |  |  ------------------
  |  |  |  |  611|    228|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    228|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    228|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  773|    228|            }
  |  |  774|       |            // _BINARY_OP_SUBSCR_INIT_CALL
  |  |  775|      0|            {
  |  |  776|    228|                sub = stack_pointer[-1];
  |  |  777|    228|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    228|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  778|    228|                _PyInterpreterFrame* pushed_frame = _PyFrame_PushUnchecked(tstate, getitem, 2, frame);
  |  |  779|    228|                pushed_frame->localsplus[0] = container;
  |  |  780|    228|                pushed_frame->localsplus[1] = sub;
  |  |  781|    228|                frame->return_offset = 6u ;
  |  |  782|    228|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  |  783|    228|            }
  |  |  784|       |            // _PUSH_FRAME
  |  |  785|    228|            {
  |  |  786|    228|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (786:17): [True: 228, False: 0]
  |  |  ------------------
  |  |  787|    228|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  |  788|    228|                stack_pointer += -2;
  |  |  789|    228|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    228|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  790|    228|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  791|    228|                _PyFrame_StackPointerValidate(frame);
  |  |  792|    228|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (792:17): [True: 228, False: 0]
  |  |  |  Branch (792:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  793|    228|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|    228|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  |  794|    228|                frame = tstate->current_frame = temp;
  |  |  795|    228|                tstate->py_recursion_remaining--;
  |  |  796|    228|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  797|    228|                _PyFrame_StackPointerInvalidate(frame);
  |  |  798|    228|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|    228|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|    228|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|    228|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 228]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|       |                #ifdef Py_DEBUG
  |  |  800|       |                assert(frame->previous->stackpointer_valid == 1);
  |  |  801|       |                #endif
  |  |  802|    228|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|    228|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  |  803|    228|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|    228|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |  804|    228|            }
  |  |  805|    228|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    228|    { \
  |  |  |  |  201|    228|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    228|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    228|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    228|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    228|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    228|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    228|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    228|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 228]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    228|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    228|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    228|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    228|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    228|    }
  |  |  ------------------
  |  |  806|    228|        }
  |  |  807|       |
  |  |  808|  1.13k|        TARGET(BINARY_OP_SUBSCR_LIST_INT) {
  |  |  ------------------
  |  |  |  |  132|  1.13k|#  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|  1.13k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  814|  1.13k|            (void)this_instr;
  |  |  815|  1.13k|            frame->instr_ptr = next_instr;
  |  |  816|  1.13k|            next_instr += 6;
  |  |  817|  1.13k|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_LIST_INT);
  |  |  ------------------
  |  |  |  |   71|  1.13k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  818|  1.13k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  819|  1.13k|            _PyStackRef value;
  |  |  820|  1.13k|            _PyStackRef nos;
  |  |  821|  1.13k|            _PyStackRef list_st;
  |  |  822|  1.13k|            _PyStackRef sub_st;
  |  |  823|  1.13k|            _PyStackRef res;
  |  |  824|  1.13k|            _PyStackRef ls;
  |  |  825|  1.13k|            _PyStackRef ss;
  |  |  826|       |            // _GUARD_TOS_INT
  |  |  827|  1.13k|            {
  |  |  828|  1.13k|                value = stack_pointer[-1];
  |  |  829|  1.13k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  830|  1.13k|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (830:21): [True: 0, False: 1.13k]
  |  |  ------------------
  |  |  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|  1.13k|            }
  |  |  836|       |            // _GUARD_NOS_LIST
  |  |  837|  1.13k|            {
  |  |  838|  1.13k|                nos = stack_pointer[-2];
  |  |  839|  1.13k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  840|  1.13k|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|  1.13k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.13k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (840:21): [True: 0, False: 1.13k]
  |  |  ------------------
  |  |  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|  1.13k|            }
  |  |  846|       |            /* Skip 5 cache entries */
  |  |  847|       |            // _BINARY_OP_SUBSCR_LIST_INT
  |  |  848|  1.13k|            {
  |  |  849|  1.13k|                sub_st = value;
  |  |  850|  1.13k|                list_st = nos;
  |  |  851|  1.13k|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |  852|  1.13k|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  |  853|  1.13k|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (853:17): [True: 1.13k, False: 0]
  |  |  ------------------
  |  |  854|  1.13k|                assert(PyList_CheckExact(list));
  |  |  ------------------
  |  |  |  Branch (854:17): [True: 1.13k, False: 0]
  |  |  ------------------
  |  |  855|  1.13k|                Py_ssize_t index = _PyLong_CompactValue((PyLongObject *)sub);
  |  |  856|  1.13k|                if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (856:21): [True: 0, False: 1.13k]
  |  |  ------------------
  |  |  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|  1.13k|                if (index < 0 || index >= PyList_GET_SIZE(list)) {
  |  |  ------------------
  |  |  |  |   38|  1.13k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (871:21): [True: 0, False: 1.13k]
  |  |  |  Branch (871:34): [True: 64, False: 1.07k]
  |  |  ------------------
  |  |  872|     64|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|     64|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  873|     64|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (873:21): [True: 64, False: 0]
  |  |  ------------------
  |  |  874|     64|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|     64|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  875|      0|                }
  |  |  876|  1.07k|                PyObject *res_o = PyList_GET_ITEM(list, index);
  |  |  ------------------
  |  |  |  |   40|  1.07k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  1.07k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (876:35): [True: 1.07k, False: 0]
  |  |  ------------------
  |  |  877|  1.07k|                assert(res_o != NULL);
  |  |  ------------------
  |  |  |  Branch (877:17): [True: 1.07k, False: 0]
  |  |  ------------------
  |  |  878|  1.07k|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|  1.07k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  879|  1.07k|                #endif
  |  |  880|  1.07k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  1.07k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  881|  1.07k|                ls = list_st;
  |  |  882|  1.07k|                ss = sub_st;
  |  |  883|  1.07k|            }
  |  |  884|       |            // _POP_TOP_INT
  |  |  885|      0|            {
  |  |  886|  1.07k|                value = ss;
  |  |  887|  1.07k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (887:17): [True: 1.07k, False: 0]
  |  |  ------------------
  |  |  888|  1.07k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  889|  1.07k|            }
  |  |  890|       |            // _POP_TOP
  |  |  891|      0|            {
  |  |  892|  1.07k|                value = ls;
  |  |  893|  1.07k|                stack_pointer[-2] = res;
  |  |  894|  1.07k|                stack_pointer += -1;
  |  |  895|  1.07k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.07k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  896|  1.07k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  897|  1.07k|                _PyFrame_StackPointerValidate(frame);
  |  |  898|  1.07k|                PyStackRef_XCLOSE(value);
  |  |  899|  1.07k|                _PyFrame_StackPointerInvalidate(frame);
  |  |  900|  1.07k|            }
  |  |  901|  1.07k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.07k|    { \
  |  |  |  |  201|  1.07k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.07k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.07k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.07k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.07k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.07k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.07k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.07k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.07k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.07k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.07k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.07k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.07k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.07k|    }
  |  |  ------------------
  |  |  902|  1.07k|        }
  |  |  903|       |
  |  |  904|     33|        TARGET(BINARY_OP_SUBSCR_LIST_SLICE) {
  |  |  ------------------
  |  |  |  |  132|     33|#  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|     33|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  910|     33|            (void)this_instr;
  |  |  911|     33|            frame->instr_ptr = next_instr;
  |  |  912|     33|            next_instr += 6;
  |  |  913|     33|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_LIST_SLICE);
  |  |  ------------------
  |  |  |  |   71|     33|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  914|     33|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  915|     33|            _PyStackRef tos;
  |  |  916|     33|            _PyStackRef nos;
  |  |  917|     33|            _PyStackRef list_st;
  |  |  918|     33|            _PyStackRef sub_st;
  |  |  919|     33|            _PyStackRef res;
  |  |  920|     33|            _PyStackRef ls;
  |  |  921|     33|            _PyStackRef ss;
  |  |  922|     33|            _PyStackRef value;
  |  |  923|       |            // _GUARD_TOS_SLICE
  |  |  924|     33|            {
  |  |  925|     33|                tos = stack_pointer[-1];
  |  |  926|     33|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |  927|     33|                if (!PySlice_Check(o)) {
  |  |  ------------------
  |  |  |  |   22|     33|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_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 (927:21): [True: 0, False: 33]
  |  |  ------------------
  |  |  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|     33|            }
  |  |  933|       |            // _GUARD_NOS_LIST
  |  |  934|     33|            {
  |  |  935|     33|                nos = stack_pointer[-2];
  |  |  936|     33|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  937|     33|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|     33|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_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 (937:21): [True: 0, False: 33]
  |  |  ------------------
  |  |  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|     33|            }
  |  |  943|       |            /* Skip 5 cache entries */
  |  |  944|       |            // _BINARY_OP_SUBSCR_LIST_SLICE
  |  |  945|     33|            {
  |  |  946|     33|                sub_st = tos;
  |  |  947|     33|                list_st = nos;
  |  |  948|     33|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |  949|     33|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  |  950|     33|                assert(PySlice_Check(sub));
  |  |  ------------------
  |  |  |  Branch (950:17): [True: 33, False: 0]
  |  |  ------------------
  |  |  951|     33|                assert(PyList_CheckExact(list));
  |  |  ------------------
  |  |  |  Branch (951:17): [True: 33, False: 0]
  |  |  ------------------
  |  |  952|     33|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  953|     33|                _PyFrame_StackPointerValidate(frame);
  |  |  954|     33|                PyObject *res_o = _PyList_SliceSubscript(list, sub);
  |  |  955|     33|                _PyFrame_StackPointerInvalidate(frame);
  |  |  956|     33|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|     33|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  957|     33|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (957:21): [True: 0, False: 33]
  |  |  ------------------
  |  |  958|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  959|      0|                }
  |  |  960|     33|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  961|     33|                ls = list_st;
  |  |  962|     33|                ss = sub_st;
  |  |  963|     33|            }
  |  |  964|       |            // _POP_TOP
  |  |  965|      0|            {
  |  |  966|     33|                value = ss;
  |  |  967|     33|                stack_pointer[-2] = res;
  |  |  968|     33|                stack_pointer[-1] = ls;
  |  |  969|     33|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (969:17): [True: 33, False: 0]
  |  |  ------------------
  |  |  970|     33|                _PyFrame_StackPointerValidate(frame);
  |  |  971|     33|                PyStackRef_XCLOSE(value);
  |  |  972|     33|                _PyFrame_StackPointerInvalidate(frame);
  |  |  973|     33|            }
  |  |  974|       |            // _POP_TOP
  |  |  975|      0|            {
  |  |  976|     33|                value = ls;
  |  |  977|     33|                stack_pointer += -1;
  |  |  978|     33|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     33|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  979|     33|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  980|     33|                _PyFrame_StackPointerValidate(frame);
  |  |  981|     33|                PyStackRef_XCLOSE(value);
  |  |  982|     33|                _PyFrame_StackPointerInvalidate(frame);
  |  |  983|     33|            }
  |  |  984|     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|    }
  |  |  ------------------
  |  |  985|     33|        }
  |  |  986|       |
  |  |  987|  2.23k|        TARGET(BINARY_OP_SUBSCR_STR_INT) {
  |  |  ------------------
  |  |  |  |  132|  2.23k|#  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|  2.23k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  993|  2.23k|            (void)this_instr;
  |  |  994|  2.23k|            frame->instr_ptr = next_instr;
  |  |  995|  2.23k|            next_instr += 6;
  |  |  996|  2.23k|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_STR_INT);
  |  |  ------------------
  |  |  |  |   71|  2.23k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  997|  2.23k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  998|  2.23k|            _PyStackRef value;
  |  |  999|  2.23k|            _PyStackRef nos;
  |  | 1000|  2.23k|            _PyStackRef str_st;
  |  | 1001|  2.23k|            _PyStackRef sub_st;
  |  | 1002|  2.23k|            _PyStackRef res;
  |  | 1003|  2.23k|            _PyStackRef s;
  |  | 1004|  2.23k|            _PyStackRef i;
  |  | 1005|       |            // _GUARD_TOS_INT
  |  | 1006|  2.23k|            {
  |  | 1007|  2.23k|                value = stack_pointer[-1];
  |  | 1008|  2.23k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1009|  2.23k|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1009:21): [True: 0, False: 2.23k]
  |  |  ------------------
  |  | 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|  2.23k|            }
  |  | 1015|       |            // _GUARD_NOS_COMPACT_ASCII
  |  | 1016|  2.23k|            {
  |  | 1017|  2.23k|                nos = stack_pointer[-2];
  |  | 1018|  2.23k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 1019|  2.23k|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|  2.23k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  2.23k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1019:21): [True: 0, False: 2.23k]
  |  |  ------------------
  |  | 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|  2.23k|                if (!PyUnicode_IS_COMPACT_ASCII(o)) {
  |  |  ------------------
  |  |  |  |  241|  2.23k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1024:21): [True: 10, False: 2.22k]
  |  |  ------------------
  |  | 1025|     10|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|     10|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1026|     10|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1026:21): [True: 10, False: 0]
  |  |  ------------------
  |  | 1027|     10|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|     10|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1028|      0|                }
  |  | 1029|  2.23k|            }
  |  | 1030|       |            /* Skip 5 cache entries */
  |  | 1031|       |            // _BINARY_OP_SUBSCR_STR_INT
  |  | 1032|  2.22k|            {
  |  | 1033|  2.22k|                sub_st = value;
  |  | 1034|  2.22k|                str_st = nos;
  |  | 1035|  2.22k|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1036|  2.22k|                PyObject *str = PyStackRef_AsPyObjectBorrow(str_st);
  |  | 1037|  2.22k|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (1037:17): [True: 2.22k, False: 0]
  |  |  ------------------
  |  | 1038|  2.22k|                assert(PyUnicode_CheckExact(str));
  |  |  ------------------
  |  |  |  Branch (1038:17): [True: 2.22k, False: 0]
  |  |  ------------------
  |  | 1039|  2.22k|                if (!_PyLong_IsNonNegativeCompact((PyLongObject*)sub)) {
  |  |  ------------------
  |  |  |  Branch (1039:21): [True: 0, False: 2.22k]
  |  |  ------------------
  |  | 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|  2.22k|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1045|  2.22k|                if (PyUnicode_GET_LENGTH(str) <= index) {
  |  |  ------------------
  |  |  |  |  299|  2.22k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1045:21): [True: 7, False: 2.21k]
  |  |  ------------------
  |  | 1046|      7|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      7|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1047|      7|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1047:21): [True: 7, False: 0]
  |  |  ------------------
  |  | 1048|      7|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      7|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1049|      0|                }
  |  | 1050|  2.21k|                uint8_t c = PyUnicode_1BYTE_DATA(str)[index];
  |  |  ------------------
  |  |  |  |  291|  2.21k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  2.21k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1051|  2.21k|                assert(c < 128);
  |  |  ------------------
  |  |  |  Branch (1051:17): [True: 2.21k, False: 0]
  |  |  ------------------
  |  | 1052|  2.21k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  2.21k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1053|  2.21k|                PyObject *res_o = (PyObject*)&_Py_SINGLETON(strings).ascii[c];
  |  |  ------------------
  |  |  |  |   18|  2.21k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.21k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1054|  2.21k|                s = str_st;
  |  | 1055|  2.21k|                i = sub_st;
  |  | 1056|  2.21k|                res = PyStackRef_FromPyObjectBorrow(res_o);
  |  | 1057|  2.21k|            }
  |  | 1058|       |            // _POP_TOP_INT
  |  | 1059|      0|            {
  |  | 1060|  2.21k|                value = i;
  |  | 1061|  2.21k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1061:17): [True: 2.21k, False: 0]
  |  |  ------------------
  |  | 1062|  2.21k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1063|  2.21k|            }
  |  | 1064|       |            // _POP_TOP_UNICODE
  |  | 1065|      0|            {
  |  | 1066|  2.21k|                value = s;
  |  | 1067|  2.21k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1067:17): [True: 2.21k, False: 0]
  |  |  ------------------
  |  | 1068|  2.21k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 1069|  2.21k|            }
  |  | 1070|      0|            stack_pointer[-2] = res;
  |  | 1071|  2.21k|            stack_pointer += -1;
  |  | 1072|  2.21k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.21k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1073|  2.21k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.21k|    { \
  |  |  |  |  201|  2.21k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.21k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.21k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.21k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.21k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.21k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.21k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.21k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.21k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.21k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.21k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.21k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.21k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.21k|    }
  |  |  ------------------
  |  | 1074|  2.21k|        }
  |  | 1075|       |
  |  | 1076|  1.56k|        TARGET(BINARY_OP_SUBSCR_TUPLE_INT) {
  |  |  ------------------
  |  |  |  |  132|  1.56k|#  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|  1.56k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1082|  1.56k|            (void)this_instr;
  |  | 1083|  1.56k|            frame->instr_ptr = next_instr;
  |  | 1084|  1.56k|            next_instr += 6;
  |  | 1085|  1.56k|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_TUPLE_INT);
  |  |  ------------------
  |  |  |  |   71|  1.56k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1086|  1.56k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1087|  1.56k|            _PyStackRef value;
  |  | 1088|  1.56k|            _PyStackRef nos;
  |  | 1089|  1.56k|            _PyStackRef tuple_st;
  |  | 1090|  1.56k|            _PyStackRef sub_st;
  |  | 1091|  1.56k|            _PyStackRef res;
  |  | 1092|  1.56k|            _PyStackRef ts;
  |  | 1093|  1.56k|            _PyStackRef ss;
  |  | 1094|       |            // _GUARD_TOS_INT
  |  | 1095|  1.56k|            {
  |  | 1096|  1.56k|                value = stack_pointer[-1];
  |  | 1097|  1.56k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1098|  1.56k|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1098:21): [True: 0, False: 1.56k]
  |  |  ------------------
  |  | 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|  1.56k|            }
  |  | 1104|       |            // _GUARD_NOS_TUPLE
  |  | 1105|  1.56k|            {
  |  | 1106|  1.56k|                nos = stack_pointer[-2];
  |  | 1107|  1.56k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 1108|  1.56k|                if (!PyTuple_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   28|  1.56k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.56k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1108:21): [True: 0, False: 1.56k]
  |  |  ------------------
  |  | 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|  1.56k|            }
  |  | 1114|       |            // _GUARD_BINARY_OP_SUBSCR_TUPLE_INT_BOUNDS
  |  | 1115|  1.56k|            {
  |  | 1116|  1.56k|                sub_st = value;
  |  | 1117|  1.56k|                tuple_st = nos;
  |  | 1118|  1.56k|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1119|  1.56k|                PyObject *tuple = PyStackRef_AsPyObjectBorrow(tuple_st);
  |  | 1120|  1.56k|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (1120:17): [True: 1.56k, False: 0]
  |  |  ------------------
  |  | 1121|  1.56k|                assert(PyTuple_CheckExact(tuple));
  |  |  ------------------
  |  |  |  Branch (1121:17): [True: 1.56k, False: 0]
  |  |  ------------------
  |  | 1122|  1.56k|                if (!_PyLong_IsNonNegativeCompact((PyLongObject *)sub)) {
  |  |  ------------------
  |  |  |  Branch (1122:21): [True: 0, False: 1.56k]
  |  |  ------------------
  |  | 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|  1.56k|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1128|  1.56k|                if (index >= PyTuple_GET_SIZE(tuple)) {
  |  |  ------------------
  |  |  |  |   27|  1.56k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1128:21): [True: 0, False: 1.56k]
  |  |  ------------------
  |  | 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|  1.56k|            }
  |  | 1134|       |            /* Skip 5 cache entries */
  |  | 1135|       |            // _BINARY_OP_SUBSCR_TUPLE_INT
  |  | 1136|  1.56k|            {
  |  | 1137|  1.56k|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1138|  1.56k|                PyObject *tuple = PyStackRef_AsPyObjectBorrow(tuple_st);
  |  | 1139|  1.56k|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (1139:17): [True: 1.56k, False: 0]
  |  |  ------------------
  |  | 1140|  1.56k|                assert(PyTuple_CheckExact(tuple));
  |  |  ------------------
  |  |  |  Branch (1140:17): [True: 1.56k, False: 0]
  |  |  ------------------
  |  | 1141|  1.56k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  1.56k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1142|  1.56k|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1143|  1.56k|                PyObject *res_o = PyTuple_GET_ITEM(tuple, index);
  |  |  ------------------
  |  |  |  |   29|  1.56k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|  1.56k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1143:35): [True: 1.56k, False: 0]
  |  |  ------------------
  |  | 1144|  1.56k|                assert(res_o != NULL);
  |  |  ------------------
  |  |  |  Branch (1144:17): [True: 1.56k, False: 0]
  |  |  ------------------
  |  | 1145|  1.56k|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|  1.56k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1146|  1.56k|                ts = tuple_st;
  |  | 1147|  1.56k|                ss = sub_st;
  |  | 1148|  1.56k|            }
  |  | 1149|       |            // _POP_TOP_INT
  |  | 1150|      0|            {
  |  | 1151|  1.56k|                value = ss;
  |  | 1152|  1.56k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1152:17): [True: 1.56k, False: 0]
  |  |  ------------------
  |  | 1153|  1.56k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1154|  1.56k|            }
  |  | 1155|       |            // _POP_TOP
  |  | 1156|      0|            {
  |  | 1157|  1.56k|                value = ts;
  |  | 1158|  1.56k|                stack_pointer[-2] = res;
  |  | 1159|  1.56k|                stack_pointer += -1;
  |  | 1160|  1.56k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.56k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1161|  1.56k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1162|  1.56k|                _PyFrame_StackPointerValidate(frame);
  |  | 1163|  1.56k|                PyStackRef_XCLOSE(value);
  |  | 1164|  1.56k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1165|  1.56k|            }
  |  | 1166|  1.56k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.56k|    { \
  |  |  |  |  201|  1.56k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.56k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.56k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.56k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.56k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.56k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.56k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.56k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.56k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.56k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.56k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.56k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.56k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.56k|    }
  |  |  ------------------
  |  | 1167|  1.56k|        }
  |  | 1168|       |
  |  | 1169|  12.3M|        TARGET(BINARY_OP_SUBSCR_USTR_INT) {
  |  |  ------------------
  |  |  |  |  132|  12.3M|#  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|  12.3M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1175|  12.3M|            (void)this_instr;
  |  | 1176|  12.3M|            frame->instr_ptr = next_instr;
  |  | 1177|  12.3M|            next_instr += 6;
  |  | 1178|  12.3M|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_USTR_INT);
  |  |  ------------------
  |  |  |  |   71|  12.3M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1179|  12.3M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1180|  12.3M|            _PyStackRef value;
  |  | 1181|  12.3M|            _PyStackRef nos;
  |  | 1182|  12.3M|            _PyStackRef str_st;
  |  | 1183|  12.3M|            _PyStackRef sub_st;
  |  | 1184|  12.3M|            _PyStackRef res;
  |  | 1185|  12.3M|            _PyStackRef s;
  |  | 1186|  12.3M|            _PyStackRef i;
  |  | 1187|       |            // _GUARD_TOS_INT
  |  | 1188|  12.3M|            {
  |  | 1189|  12.3M|                value = stack_pointer[-1];
  |  | 1190|  12.3M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1191|  12.3M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1191:21): [True: 0, False: 12.3M]
  |  |  ------------------
  |  | 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|  12.3M|            }
  |  | 1197|       |            // _GUARD_NOS_UNICODE
  |  | 1198|  12.3M|            {
  |  | 1199|  12.3M|                nos = stack_pointer[-2];
  |  | 1200|  12.3M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 1201|  12.3M|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|  12.3M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  12.3M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  12.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  12.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1201:21): [True: 0, False: 12.3M]
  |  |  ------------------
  |  | 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|  12.3M|            }
  |  | 1207|       |            /* Skip 5 cache entries */
  |  | 1208|       |            // _BINARY_OP_SUBSCR_USTR_INT
  |  | 1209|  12.3M|            {
  |  | 1210|  12.3M|                sub_st = value;
  |  | 1211|  12.3M|                str_st = nos;
  |  | 1212|  12.3M|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1213|  12.3M|                PyObject *str = PyStackRef_AsPyObjectBorrow(str_st);
  |  | 1214|  12.3M|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (1214:17): [True: 12.3M, False: 0]
  |  |  ------------------
  |  | 1215|  12.3M|                assert(PyUnicode_CheckExact(str));
  |  |  ------------------
  |  |  |  Branch (1215:17): [True: 12.3M, False: 0]
  |  |  ------------------
  |  | 1216|  12.3M|                if (!_PyLong_IsNonNegativeCompact((PyLongObject*)sub)) {
  |  |  ------------------
  |  |  |  Branch (1216:21): [True: 0, False: 12.3M]
  |  |  ------------------
  |  | 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|  12.3M|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1222|  12.3M|                if (PyUnicode_GET_LENGTH(str) <= index) {
  |  |  ------------------
  |  |  |  |  299|  12.3M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1222:21): [True: 0, False: 12.3M]
  |  |  ------------------
  |  | 1223|      0|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1224|      0|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1224:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1225|      0|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1226|      0|                }
  |  | 1227|  12.3M|                Py_UCS4 c = PyUnicode_READ_CHAR(str, index);
  |  |  ------------------
  |  |  |  |  381|  12.3M|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1228|  12.3M|                if (Py_ARRAY_LENGTH(_Py_SINGLETON(strings).ascii) <= c) {
  |  |  ------------------
  |  |  |  |  196|  12.3M|    (sizeof(array) / sizeof((array)[0]))
  |  |  ------------------
  |  |  |  Branch (1228:21): [True: 9.30M, False: 3.01M]
  |  |  ------------------
  |  | 1229|  9.30M|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|  9.30M|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1230|  9.30M|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1230:21): [True: 9.30M, False: 0]
  |  |  ------------------
  |  | 1231|  9.30M|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|  9.30M|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1232|      0|                }
  |  | 1233|  3.01M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  3.01M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1234|  3.01M|                PyObject *res_o = (PyObject*)&_Py_SINGLETON(strings).ascii[c];
  |  |  ------------------
  |  |  |  |   18|  3.01M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.01M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1235|  3.01M|                s = str_st;
  |  | 1236|  3.01M|                i = sub_st;
  |  | 1237|  3.01M|                res = PyStackRef_FromPyObjectBorrow(res_o);
  |  | 1238|  3.01M|            }
  |  | 1239|       |            // _POP_TOP_INT
  |  | 1240|      0|            {
  |  | 1241|  3.01M|                value = i;
  |  | 1242|  3.01M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1242:17): [True: 3.01M, False: 0]
  |  |  ------------------
  |  | 1243|  3.01M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1244|  3.01M|            }
  |  | 1245|       |            // _POP_TOP_UNICODE
  |  | 1246|      0|            {
  |  | 1247|  3.01M|                value = s;
  |  | 1248|  3.01M|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1248:17): [True: 3.01M, False: 0]
  |  |  ------------------
  |  | 1249|  3.01M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 1250|  3.01M|            }
  |  | 1251|      0|            stack_pointer[-2] = res;
  |  | 1252|  3.01M|            stack_pointer += -1;
  |  | 1253|  3.01M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.01M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1254|  3.01M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.01M|    { \
  |  |  |  |  201|  3.01M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.01M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.01M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.01M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.01M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.01M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.01M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.01M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.01M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.01M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.01M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.01M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.01M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.01M|    }
  |  |  ------------------
  |  | 1255|  3.01M|        }
  |  | 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|  2.02M|        TARGET(BINARY_OP_SUBTRACT_INT) {
  |  |  ------------------
  |  |  |  |  132|  2.02M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1333|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1334|       |            int opcode = BINARY_OP_SUBTRACT_INT;
  |  | 1335|       |            (void)(opcode);
  |  | 1336|       |            #endif
  |  | 1337|  2.02M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1338|  2.02M|            (void)this_instr;
  |  | 1339|  2.02M|            frame->instr_ptr = next_instr;
  |  | 1340|  2.02M|            next_instr += 6;
  |  | 1341|  2.02M|            INSTRUCTION_STATS(BINARY_OP_SUBTRACT_INT);
  |  |  ------------------
  |  |  |  |   71|  2.02M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1342|  2.02M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1343|  2.02M|            _PyStackRef value;
  |  | 1344|  2.02M|            _PyStackRef left;
  |  | 1345|  2.02M|            _PyStackRef right;
  |  | 1346|  2.02M|            _PyStackRef res;
  |  | 1347|  2.02M|            _PyStackRef l;
  |  | 1348|  2.02M|            _PyStackRef r;
  |  | 1349|       |            // _GUARD_TOS_INT
  |  | 1350|  2.02M|            {
  |  | 1351|  2.02M|                value = stack_pointer[-1];
  |  | 1352|  2.02M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1353|  2.02M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1353:21): [True: 0, False: 2.02M]
  |  |  ------------------
  |  | 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|  2.02M|            }
  |  | 1359|       |            // _GUARD_NOS_INT
  |  | 1360|  2.02M|            {
  |  | 1361|  2.02M|                left = stack_pointer[-2];
  |  | 1362|  2.02M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 1363|  2.02M|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (1363:21): [True: 109, False: 2.02M]
  |  |  ------------------
  |  | 1364|    109|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  299|    109|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1365|    109|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  ------------------
  |  |  |  Branch (1365:21): [True: 109, False: 0]
  |  |  ------------------
  |  | 1366|    109|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|    109|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1367|      0|                }
  |  | 1368|  2.02M|            }
  |  | 1369|       |            /* Skip 5 cache entries */
  |  | 1370|       |            // _BINARY_OP_SUBTRACT_INT
  |  | 1371|  2.02M|            {
  |  | 1372|  2.02M|                right = value;
  |  | 1373|  2.02M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 1374|  2.02M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 1375|  2.02M|                assert(PyLong_CheckExact(left_o));
  |  |  ------------------
  |  |  |  Branch (1375:17): [True: 2.02M, False: 0]
  |  |  ------------------
  |  | 1376|  2.02M|                assert(PyLong_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (1376:17): [True: 2.02M, False: 0]
  |  |  ------------------
  |  | 1377|  2.02M|                assert(_PyLong_BothAreCompact((PyLongObject *)left_o, (PyLongObject *)right_o));
  |  |  ------------------
  |  |  |  Branch (1377:17): [True: 2.02M, False: 0]
  |  |  ------------------
  |  | 1378|  2.02M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  2.02M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1379|  2.02M|                res = _PyCompactLong_Subtract((PyLongObject *)left_o, (PyLongObject *)right_o);
  |  | 1380|  2.02M|                if (PyStackRef_IsNull(res)) {
  |  |  ------------------
  |  |  |  |  482|  2.02M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.02M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.02M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 2.02M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  2.02M|                l = left;
  |  | 1386|  2.02M|                r = right;
  |  | 1387|  2.02M|            }
  |  | 1388|       |            // _POP_TOP_INT
  |  | 1389|      0|            {
  |  | 1390|  2.02M|                value = r;
  |  | 1391|  2.02M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1391:17): [True: 2.02M, False: 0]
  |  |  ------------------
  |  | 1392|  2.02M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1393|  2.02M|            }
  |  | 1394|       |            // _POP_TOP_INT
  |  | 1395|      0|            {
  |  | 1396|  2.02M|                value = l;
  |  | 1397|  2.02M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (1397:17): [True: 2.02M, False: 0]
  |  |  ------------------
  |  | 1398|  2.02M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1399|  2.02M|            }
  |  | 1400|      0|            stack_pointer[-2] = res;
  |  | 1401|  2.02M|            stack_pointer += -1;
  |  | 1402|  2.02M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.02M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1403|  2.02M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.02M|    { \
  |  |  |  |  201|  2.02M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.02M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.02M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.02M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.02M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.02M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.02M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.02M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.02M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.02M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.02M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.02M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.02M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.02M|    }
  |  |  ------------------
  |  | 1404|  2.02M|        }
  |  | 1405|       |
  |  | 1406|   454k|        TARGET(BINARY_SLICE) {
  |  |  ------------------
  |  |  |  |  132|   454k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1407|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1408|       |            int opcode = BINARY_SLICE;
  |  | 1409|       |            (void)(opcode);
  |  | 1410|       |            #endif
  |  | 1411|   454k|            frame->instr_ptr = next_instr;
  |  | 1412|   454k|            next_instr += 1;
  |  | 1413|   454k|            INSTRUCTION_STATS(BINARY_SLICE);
  |  |  ------------------
  |  |  |  |   71|   454k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1414|   454k|            _PyStackRef container;
  |  | 1415|   454k|            _PyStackRef start;
  |  | 1416|   454k|            _PyStackRef stop;
  |  | 1417|   454k|            _PyStackRef res;
  |  | 1418|       |            // _SPECIALIZE_BINARY_SLICE
  |  | 1419|   454k|            {
  |  | 1420|   454k|                #if ENABLE_SPECIALIZATION
  |  | 1421|   454k|                OPCODE_DEFERRED_INC(BINARY_SLICE);
  |  |  ------------------
  |  |  |  |   90|   454k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 1422|   454k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 1423|   454k|            }
  |  | 1424|       |            // _BINARY_SLICE
  |  | 1425|   454k|            {
  |  | 1426|   454k|                stop = stack_pointer[-1];
  |  | 1427|   454k|                start = stack_pointer[-2];
  |  | 1428|   454k|                container = stack_pointer[-3];
  |  | 1429|   454k|                PyObject *container_o = PyStackRef_AsPyObjectBorrow(container);
  |  | 1430|   454k|                PyObject *start_o = PyStackRef_AsPyObjectBorrow(start);
  |  | 1431|   454k|                PyObject *stop_o = PyStackRef_AsPyObjectBorrow(stop);
  |  | 1432|   454k|                PyObject *res_o;
  |  | 1433|   454k|                if (PyList_CheckExact(container_o)) {
  |  |  ------------------
  |  |  |  |   26|   454k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   454k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   454k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   454k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 2.47k, False: 451k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1434|  2.47k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1435|  2.47k|                    _PyFrame_StackPointerValidate(frame);
  |  | 1436|  2.47k|                    res_o = _PyList_BinarySlice(container_o, start_o, stop_o);
  |  | 1437|  2.47k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1438|  2.47k|                }
  |  | 1439|   451k|                else if (PyTuple_CheckExact(container_o)) {
  |  |  ------------------
  |  |  |  |   28|   451k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   451k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   451k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   451k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 451k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|   451k|                else if (PyUnicode_CheckExact(container_o)) {
  |  |  ------------------
  |  |  |  |  104|   451k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   451k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   451k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   451k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 424k, False: 27.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1446|   424k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1447|   424k|                    _PyFrame_StackPointerValidate(frame);
  |  | 1448|   424k|                    res_o = _PyUnicode_BinarySlice(container_o, start_o, stop_o);
  |  | 1449|   424k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1450|   424k|                }
  |  | 1451|  27.0k|                else {
  |  | 1452|  27.0k|                    PyObject *slice = PySlice_New(start_o, stop_o, NULL);
  |  | 1453|  27.0k|                    if (slice == NULL) {
  |  |  ------------------
  |  |  |  Branch (1453:25): [True: 0, False: 27.0k]
  |  |  ------------------
  |  | 1454|      0|                        res_o = NULL;
  |  | 1455|      0|                    }
  |  | 1456|  27.0k|                    else {
  |  | 1457|  27.0k|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1458|  27.0k|                        _PyFrame_StackPointerValidate(frame);
  |  | 1459|  27.0k|                        res_o = PyObject_GetItem(container_o, slice);
  |  | 1460|  27.0k|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 1461|  27.0k|                        assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1461:25): [True: 27.0k, False: 0]
  |  |  ------------------
  |  | 1462|  27.0k|                        _PyFrame_StackPointerValidate(frame);
  |  | 1463|  27.0k|                        Py_DECREF(slice);
  |  |  ------------------
  |  |  |  |   80|  27.0k|    do { \
  |  |  |  |   81|  27.0k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  27.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  27.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|  27.0k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  27.0k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  27.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  27.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 27.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|  27.0k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|  27.0k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|  27.0k|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 27.0k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|  27.0k|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|  27.0k|    do { \
  |  |  |  |  |  |  113|  27.0k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|  27.0k|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 27.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|  27.0k|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 27.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|  27.0k|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|  27.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  27.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  27.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|  27.0k|            (*dealloc)(op); \
  |  |  |  |   91|  27.0k|        } \
  |  |  |  |   92|  27.0k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 27.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1464|  27.0k|                        _PyFrame_StackPointerInvalidate(frame);
  |  | 1465|  27.0k|                    }
  |  | 1466|  27.0k|                }
  |  | 1467|   454k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1468|   454k|                _PyFrame_StackPointerValidate(frame);
  |  | 1469|   454k|                _PyStackRef tmp = stop;
  |  | 1470|   454k|                stop = PyStackRef_NULL;
  |  | 1471|   454k|                stack_pointer[-1] = stop;
  |  | 1472|   454k|                PyStackRef_CLOSE(tmp);
  |  | 1473|   454k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1474|   454k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1474:17): [True: 454k, False: 0]
  |  |  ------------------
  |  | 1475|   454k|                _PyFrame_StackPointerValidate(frame);
  |  | 1476|   454k|                tmp = start;
  |  | 1477|   454k|                start = PyStackRef_NULL;
  |  | 1478|   454k|                stack_pointer[-2] = start;
  |  | 1479|   454k|                PyStackRef_CLOSE(tmp);
  |  | 1480|   454k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1481|   454k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1481:17): [True: 454k, False: 0]
  |  |  ------------------
  |  | 1482|   454k|                _PyFrame_StackPointerValidate(frame);
  |  | 1483|   454k|                tmp = container;
  |  | 1484|   454k|                container = PyStackRef_NULL;
  |  | 1485|   454k|                stack_pointer[-3] = container;
  |  | 1486|   454k|                PyStackRef_CLOSE(tmp);
  |  | 1487|   454k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1488|   454k|                stack_pointer += -3;
  |  | 1489|   454k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   454k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1490|   454k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1490:21): [True: 0, False: 454k]
  |  |  ------------------
  |  | 1491|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1492|      0|                }
  |  | 1493|   454k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 1494|   454k|            }
  |  | 1495|      0|            stack_pointer[0] = res;
  |  | 1496|   454k|            stack_pointer += 1;
  |  | 1497|   454k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   454k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1498|   454k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   454k|    { \
  |  |  |  |  201|   454k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   454k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   454k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   454k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   454k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   454k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   454k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   454k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 454k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   454k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   454k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   454k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   454k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   454k|    }
  |  |  ------------------
  |  | 1499|   454k|        }
  |  | 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);
  |  |  ------------------
  |  |  |  |  923|      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|   361k|        TARGET(BUILD_LIST) {
  |  |  ------------------
  |  |  |  |  132|   361k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1564|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1565|       |            int opcode = BUILD_LIST;
  |  | 1566|       |            (void)(opcode);
  |  | 1567|       |            #endif
  |  | 1568|   361k|            frame->instr_ptr = next_instr;
  |  | 1569|   361k|            next_instr += 1;
  |  | 1570|   361k|            INSTRUCTION_STATS(BUILD_LIST);
  |  |  ------------------
  |  |  |  |   71|   361k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1571|   361k|            _PyStackRef *values;
  |  | 1572|   361k|            _PyStackRef list;
  |  | 1573|   361k|            values = &stack_pointer[-oparg];
  |  | 1574|   361k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1575|   361k|            _PyFrame_StackPointerValidate(frame);
  |  | 1576|   361k|            PyObject *list_o = _PyList_FromStackRefStealOnSuccess(values, oparg);
  |  | 1577|   361k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1578|   361k|            if (list_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1578:17): [True: 0, False: 361k]
  |  |  ------------------
  |  | 1579|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1580|      0|            }
  |  | 1581|   361k|            list = PyStackRef_FromPyObjectStealMortal(list_o);
  |  | 1582|   361k|            stack_pointer[-oparg] = list;
  |  | 1583|   361k|            stack_pointer += 1 - oparg;
  |  | 1584|   361k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   361k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1585|   361k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   361k|    { \
  |  |  |  |  201|   361k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   361k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   361k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   361k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   361k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   361k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   361k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   361k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 361k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   361k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   361k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   361k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   361k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   361k|    }
  |  |  ------------------
  |  | 1586|   361k|        }
  |  | 1587|       |
  |  | 1588|  1.99k|        TARGET(BUILD_MAP) {
  |  |  ------------------
  |  |  |  |  132|  1.99k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1589|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1590|       |            int opcode = BUILD_MAP;
  |  | 1591|       |            (void)(opcode);
  |  | 1592|       |            #endif
  |  | 1593|  1.99k|            frame->instr_ptr = next_instr;
  |  | 1594|  1.99k|            next_instr += 1;
  |  | 1595|  1.99k|            INSTRUCTION_STATS(BUILD_MAP);
  |  |  ------------------
  |  |  |  |   71|  1.99k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1596|  1.99k|            _PyStackRef *values;
  |  | 1597|  1.99k|            _PyStackRef map;
  |  | 1598|  1.99k|            values = &stack_pointer[-oparg*2];
  |  | 1599|  1.99k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1600|  1.99k|            _PyFrame_StackPointerValidate(frame);
  |  | 1601|  1.99k|            PyObject *map_o = _Py_BuildMap_StackRefSteal(values, oparg);
  |  | 1602|  1.99k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1603|  1.99k|            if (map_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1603:17): [True: 0, False: 1.99k]
  |  |  ------------------
  |  | 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|  1.99k|            map = PyStackRef_FromPyObjectStealMortal(map_o);
  |  | 1609|  1.99k|            stack_pointer[-oparg*2] = map;
  |  | 1610|  1.99k|            stack_pointer += 1 - oparg*2;
  |  | 1611|  1.99k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.99k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1612|  1.99k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.99k|    { \
  |  |  |  |  201|  1.99k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.99k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.99k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.99k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.99k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.99k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.99k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.99k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.99k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.99k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.99k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.99k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.99k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.99k|    }
  |  |  ------------------
  |  | 1613|  1.99k|        }
  |  | 1614|       |
  |  | 1615|    445|        TARGET(BUILD_SET) {
  |  |  ------------------
  |  |  |  |  132|    445|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1616|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1617|       |            int opcode = BUILD_SET;
  |  | 1618|       |            (void)(opcode);
  |  | 1619|       |            #endif
  |  | 1620|    445|            frame->instr_ptr = next_instr;
  |  | 1621|    445|            next_instr += 1;
  |  | 1622|    445|            INSTRUCTION_STATS(BUILD_SET);
  |  |  ------------------
  |  |  |  |   71|    445|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1623|    445|            _PyStackRef *values;
  |  | 1624|    445|            _PyStackRef set;
  |  | 1625|    445|            values = &stack_pointer[-oparg];
  |  | 1626|    445|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1627|    445|            _PyFrame_StackPointerValidate(frame);
  |  | 1628|    445|            PyObject *set_o = PySet_New(NULL);
  |  | 1629|    445|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1630|    445|            if (set_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1630:17): [True: 0, False: 445]
  |  |  ------------------
  |  | 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|    445|            int err = 0;
  |  | 1645|    963|            for (Py_ssize_t i = 0; i < oparg; i++) {
  |  |  ------------------
  |  |  |  Branch (1645:36): [True: 518, False: 445]
  |  |  ------------------
  |  | 1646|    518|                _PyStackRef value = values[i];
  |  | 1647|    518|                values[i] = PyStackRef_NULL;
  |  | 1648|    518|                if (err == 0) {
  |  |  ------------------
  |  |  |  Branch (1648:21): [True: 518, False: 0]
  |  |  ------------------
  |  | 1649|    518|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (1649:21): [True: 518, False: 0]
  |  |  ------------------
  |  | 1650|    518|                    _PyFrame_StackPointerValidate(frame);
  |  | 1651|    518|                    err = _PySet_AddTakeRef((PySetObject *)set_o, PyStackRef_AsPyObjectSteal(value));
  |  | 1652|    518|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1653|    518|                }
  |  | 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|    518|            }
  |  | 1661|    445|            if (err) {
  |  |  ------------------
  |  |  |  Branch (1661:17): [True: 0, False: 445]
  |  |  ------------------
  |  | 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|    445|            set = PyStackRef_FromPyObjectStealMortal(set_o);
  |  | 1671|    445|            stack_pointer[-oparg] = set;
  |  | 1672|    445|            stack_pointer += 1 - oparg;
  |  | 1673|    445|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    445|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1674|    445|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    445|    { \
  |  |  |  |  201|    445|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    445|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    445|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    445|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    445|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    445|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    445|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    445|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 445]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    445|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    445|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    445|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    445|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    445|    }
  |  |  ------------------
  |  | 1675|    445|        }
  |  | 1676|       |
  |  | 1677|     48|        TARGET(BUILD_SLICE) {
  |  |  ------------------
  |  |  |  |  132|     48|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1678|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1679|       |            int opcode = BUILD_SLICE;
  |  | 1680|       |            (void)(opcode);
  |  | 1681|       |            #endif
  |  | 1682|     48|            frame->instr_ptr = next_instr;
  |  | 1683|     48|            next_instr += 1;
  |  | 1684|     48|            INSTRUCTION_STATS(BUILD_SLICE);
  |  |  ------------------
  |  |  |  |   71|     48|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1685|     48|            _PyStackRef *args;
  |  | 1686|     48|            _PyStackRef slice;
  |  | 1687|     48|            args = &stack_pointer[-oparg];
  |  | 1688|     48|            PyObject *start_o = PyStackRef_AsPyObjectBorrow(args[0]);
  |  | 1689|     48|            PyObject *stop_o = PyStackRef_AsPyObjectBorrow(args[1]);
  |  | 1690|     48|            PyObject *step_o = oparg == 3 ? PyStackRef_AsPyObjectBorrow(args[2]) : NULL;
  |  |  ------------------
  |  |  |  Branch (1690:32): [True: 47, False: 1]
  |  |  ------------------
  |  | 1691|     48|            PyObject *slice_o = PySlice_New(start_o, stop_o, step_o);
  |  | 1692|     48|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1693|     48|            _PyFrame_StackPointerValidate(frame);
  |  | 1694|     48|            _PyStackRef tmp;
  |  | 1695|    191|            for (int _i = oparg; --_i >= 0;) {
  |  |  ------------------
  |  |  |  Branch (1695:34): [True: 143, False: 48]
  |  |  ------------------
  |  | 1696|    143|                tmp = args[_i];
  |  | 1697|    143|                args[_i] = PyStackRef_NULL;
  |  | 1698|    143|                PyStackRef_CLOSE(tmp);
  |  | 1699|    143|            }
  |  | 1700|     48|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1701|     48|            stack_pointer += -oparg;
  |  | 1702|     48|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     48|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1703|     48|            if (slice_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1703:17): [True: 0, False: 48]
  |  |  ------------------
  |  | 1704|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1705|      0|            }
  |  | 1706|     48|            slice = PyStackRef_FromPyObjectStealMortal(slice_o);
  |  | 1707|     48|            stack_pointer[0] = slice;
  |  | 1708|     48|            stack_pointer += 1;
  |  | 1709|     48|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     48|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1710|     48|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     48|    { \
  |  |  |  |  201|     48|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     48|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     48|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     48|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     48|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     48|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     48|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     48|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 48]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     48|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     48|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     48|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     48|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     48|    }
  |  |  ------------------
  |  | 1711|     48|        }
  |  | 1712|       |
  |  | 1713|  49.3k|        TARGET(BUILD_STRING) {
  |  |  ------------------
  |  |  |  |  132|  49.3k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1714|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1715|       |            int opcode = BUILD_STRING;
  |  | 1716|       |            (void)(opcode);
  |  | 1717|       |            #endif
  |  | 1718|  49.3k|            frame->instr_ptr = next_instr;
  |  | 1719|  49.3k|            next_instr += 1;
  |  | 1720|  49.3k|            INSTRUCTION_STATS(BUILD_STRING);
  |  |  ------------------
  |  |  |  |   71|  49.3k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1721|  49.3k|            _PyStackRef *pieces;
  |  | 1722|  49.3k|            _PyStackRef str;
  |  | 1723|  49.3k|            pieces = &stack_pointer[-oparg];
  |  | 1724|  49.3k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1725|  49.3k|            _PyFrame_StackPointerValidate(frame);
  |  | 1726|  49.3k|            PyObject *str_o = _Py_BuildString_StackRefSteal(pieces, oparg);
  |  | 1727|  49.3k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 1728|  49.3k|            if (str_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1728:17): [True: 0, False: 49.3k]
  |  |  ------------------
  |  | 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|  49.3k|            str = PyStackRef_FromPyObjectSteal(str_o);
  |  | 1734|  49.3k|            stack_pointer[-oparg] = str;
  |  | 1735|  49.3k|            stack_pointer += 1 - oparg;
  |  | 1736|  49.3k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  49.3k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1737|  49.3k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  49.3k|    { \
  |  |  |  |  201|  49.3k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  49.3k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  49.3k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  49.3k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  49.3k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  49.3k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  49.3k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  49.3k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 49.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  49.3k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  49.3k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  49.3k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  49.3k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  49.3k|    }
  |  |  ------------------
  |  | 1738|  49.3k|        }
  |  | 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|   472k|        TARGET(BUILD_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|   472k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1782|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1783|       |            int opcode = BUILD_TUPLE;
  |  | 1784|       |            (void)(opcode);
  |  | 1785|       |            #endif
  |  | 1786|   472k|            frame->instr_ptr = next_instr;
  |  | 1787|   472k|            next_instr += 1;
  |  | 1788|   472k|            INSTRUCTION_STATS(BUILD_TUPLE);
  |  |  ------------------
  |  |  |  |   71|   472k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1789|   472k|            _PyStackRef *values;
  |  | 1790|   472k|            _PyStackRef tup;
  |  | 1791|   472k|            values = &stack_pointer[-oparg];
  |  | 1792|   472k|            PyObject *tup_o = _PyTuple_FromStackRefStealOnSuccess(values, oparg);
  |  | 1793|   472k|            if (tup_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1793:17): [True: 0, False: 472k]
  |  |  ------------------
  |  | 1794|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1795|      0|            }
  |  | 1796|   472k|            tup = PyStackRef_FromPyObjectStealMortal(tup_o);
  |  | 1797|   472k|            stack_pointer[-oparg] = tup;
  |  | 1798|   472k|            stack_pointer += 1 - oparg;
  |  | 1799|   472k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   472k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1800|   472k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   472k|    { \
  |  |  |  |  201|   472k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   472k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   472k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   472k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   472k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   472k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   472k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   472k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 472k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   472k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   472k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   472k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   472k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   472k|    }
  |  |  ------------------
  |  | 1801|   472k|        }
  |  | 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.46k|        TARGET(CALL) {
  |  |  ------------------
  |  |  |  |  132|  4.46k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1817|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1818|       |            int opcode = CALL;
  |  | 1819|       |            (void)(opcode);
  |  | 1820|       |            #endif
  |  | 1821|  4.46k|            frame->instr_ptr = next_instr;
  |  | 1822|  4.46k|            next_instr += 4;
  |  | 1823|  4.46k|            INSTRUCTION_STATS(CALL);
  |  |  ------------------
  |  |  |  |   71|  4.46k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1824|  6.81k|            PREDICTED_CALL:;
  |  | 1825|  6.81k|            _Py_CODEUNIT* const this_instr = next_instr - 4;
  |  | 1826|  6.81k|            (void)this_instr;
  |  | 1827|  6.81k|            opcode = CALL;
  |  |  ------------------
  |  |  |  |   63|  6.81k|#define CALL                                    50
  |  |  ------------------
  |  | 1828|  6.81k|            _PyStackRef callable;
  |  | 1829|  6.81k|            _PyStackRef self_or_null;
  |  | 1830|  6.81k|            _PyStackRef *args;
  |  | 1831|  6.81k|            _PyStackRef res;
  |  | 1832|       |            // _SPECIALIZE_CALL
  |  | 1833|  6.81k|            {
  |  | 1834|  6.81k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 1835|  6.81k|                callable = stack_pointer[-2 - oparg];
  |  | 1836|  6.81k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 1837|  6.81k|                (void)counter;
  |  | 1838|  6.81k|                #if ENABLE_SPECIALIZATION
  |  | 1839|  6.81k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  6.81k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 1.31k, False: 5.50k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1840|  1.31k|                    next_instr = this_instr;
  |  | 1841|  1.31k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1842|  1.31k|                    _PyFrame_StackPointerValidate(frame);
  |  | 1843|  1.31k|                    _Py_Specialize_Call(callable, self_or_null, next_instr, oparg + !PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  |  482|  1.31k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.31k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.31k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1844|  1.31k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1845|  1.31k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  1.31k|    { \
  |  |  |  |  217|  1.31k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  1.31k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.31k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  1.31k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  1.31k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  1.31k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  1.31k|    }
  |  |  ------------------
  |  | 1846|  1.31k|                }
  |  | 1847|  6.81k|                OPCODE_DEFERRED_INC(CALL);
  |  |  ------------------
  |  |  |  |   90|  6.81k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 1848|  6.81k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  6.81k|    do { \
  |  |  |  |  378|  6.81k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  6.81k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 6.81k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1849|  6.81k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 1850|  6.81k|            }
  |  | 1851|       |            /* Skip 2 cache entries */
  |  | 1852|       |            // _MAYBE_EXPAND_METHOD
  |  | 1853|  6.81k|            {
  |  | 1854|  6.81k|                if (PyStackRef_TYPE(callable) == &PyMethod_Type && PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    442|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    442|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    442|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 442, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1854:21): [True: 442, False: 6.37k]
  |  |  ------------------
  |  | 1855|    442|                    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1856|    442|                    PyObject *self = ((PyMethodObject *)callable_o)->im_self;
  |  | 1857|    442|                    self_or_null = PyStackRef_FromPyObjectNew(self);
  |  |  ------------------
  |  |  |  |  611|    442|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    442|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    442|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1858|    442|                    PyObject *method = ((PyMethodObject *)callable_o)->im_func;
  |  | 1859|    442|                    _PyStackRef temp = callable;
  |  | 1860|    442|                    callable = PyStackRef_FromPyObjectNew(method);
  |  |  ------------------
  |  |  |  |  611|    442|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    442|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    442|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1861|    442|                    stack_pointer[-2 - oparg] = callable;
  |  | 1862|    442|                    stack_pointer[-1 - oparg] = self_or_null;
  |  | 1863|    442|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1864|    442|                    _PyFrame_StackPointerValidate(frame);
  |  | 1865|    442|                    PyStackRef_CLOSE(temp);
  |  | 1866|    442|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1867|    442|                }
  |  | 1868|  6.81k|            }
  |  | 1869|       |            // _DO_CALL
  |  | 1870|  6.81k|            {
  |  | 1871|  6.81k|                args = &stack_pointer[-oparg];
  |  | 1872|  6.81k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1873|  6.81k|                int total_args = oparg;
  |  | 1874|  6.81k|                _PyStackRef *arguments = args;
  |  | 1875|  6.81k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  6.81k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  6.81k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  6.81k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1875:21): [True: 2.70k, False: 4.10k]
  |  |  ------------------
  |  | 1876|  2.70k|                    arguments--;
  |  | 1877|  2.70k|                    total_args++;
  |  | 1878|  2.70k|                }
  |  | 1879|  6.81k|                if (Py_TYPE(callable_o) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|  6.81k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1879:21): [True: 1.98k, False: 4.82k]
  |  |  ------------------
  |  | 1880|  1.98k|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|  8.79k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (1880:21): [True: 1.98k, False: 0]
  |  |  ------------------
  |  | 1881|  1.98k|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (1881:21): [True: 1.98k, False: 0]
  |  |  ------------------
  |  | 1882|  1.98k|                {
  |  | 1883|  1.98k|                    int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|  1.98k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1884|  1.98k|                    PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|  1.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 (1884:40): [True: 1.98k, False: 0]
  |  |  ------------------
  |  | 1885|  1.98k|                    stack_pointer[-2 - oparg] = callable;
  |  | 1886|  1.98k|                    stack_pointer[-1 - oparg] = self_or_null;
  |  | 1887|  1.98k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1888|  1.98k|                    _PyFrame_StackPointerValidate(frame);
  |  | 1889|  1.98k|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 1890|  1.98k|                        tstate, callable, locals,
  |  | 1891|  1.98k|                        arguments, total_args, NULL, frame
  |  | 1892|  1.98k|                    );
  |  | 1893|  1.98k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 1894|  1.98k|                    stack_pointer += -2 - oparg;
  |  | 1895|  1.98k|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.98k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1896|  1.98k|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (1896:25): [True: 0, False: 1.98k]
  |  |  ------------------
  |  | 1897|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1898|      0|                    }
  |  | 1899|  1.98k|                    frame->return_offset = 4u ;
  |  | 1900|  1.98k|                    DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|  1.98k|    do {                                                         \
  |  |  |  |  224|  1.98k|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|  1.98k|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|  1.98k|        _PyFrame_StackPointerValidate(frame);                    \
  |  |  |  |  227|  1.98k|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  228|  1.98k|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  229|  1.98k|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|  1.98k|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  230|  1.98k|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  1.98k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  231|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1900:21): [True: 1.98k, False: 0]
  |  |  |  Branch (1900:21): [True: 1.98k, False: 0]
  |  |  ------------------
  |  | 1901|  1.98k|                }
  |  | 1902|  4.82k|                stack_pointer[-2 - oparg] = callable;
  |  | 1903|  4.82k|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 1904|  4.82k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1905|  4.82k|                _PyFrame_StackPointerValidate(frame);
  |  | 1906|  4.82k|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 1907|  4.82k|                    callable,
  |  | 1908|  4.82k|                    arguments,
  |  | 1909|  4.82k|                    total_args,
  |  | 1910|  4.82k|                    PyStackRef_NULL,
  |  | 1911|  4.82k|                    opcode == INSTRUMENTED_CALL,
  |  |  ------------------
  |  |  |  |  237|  4.82k|#define INSTRUMENTED_CALL                      249
  |  |  ------------------
  |  | 1912|  4.82k|                    frame,
  |  | 1913|  4.82k|                    this_instr,
  |  | 1914|  4.82k|                    tstate);
  |  | 1915|  4.82k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1916|  4.82k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1916:21): [True: 41, False: 4.78k]
  |  |  ------------------
  |  | 1917|     41|                    stack_pointer += -2 - oparg;
  |  | 1918|     41|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     41|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1919|     41|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     41|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1920|      0|                }
  |  | 1921|  4.78k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 1922|  4.78k|            }
  |  | 1923|       |            // _CHECK_PERIODIC_AT_END
  |  | 1924|      0|            {
  |  | 1925|  4.78k|                stack_pointer[-2 - oparg] = res;
  |  | 1926|  4.78k|                stack_pointer += -1 - oparg;
  |  | 1927|  4.78k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  4.78k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1928|  4.78k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1929|  4.78k|                _PyFrame_StackPointerValidate(frame);
  |  | 1930|  4.78k|                int err = check_periodics_at_end(tstate, frame);
  |  | 1931|  4.78k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 1932|  4.78k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (1932:21): [True: 0, False: 4.78k]
  |  |  ------------------
  |  | 1933|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1934|      0|                }
  |  | 1935|  4.78k|            }
  |  | 1936|  4.78k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.78k|    { \
  |  |  |  |  201|  4.78k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.78k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.78k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.78k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  4.78k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.78k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.78k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.78k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.78k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.78k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.78k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.78k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.78k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.78k|    }
  |  |  ------------------
  |  | 1937|  4.78k|        }
  |  | 1938|       |
  |  | 1939|  1.21k|        TARGET(CALL_ALLOC_AND_ENTER_INIT) {
  |  |  ------------------
  |  |  |  |  132|  1.21k|#  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|  1.21k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1945|  1.21k|            (void)this_instr;
  |  | 1946|  1.21k|            frame->instr_ptr = next_instr;
  |  | 1947|  1.21k|            next_instr += 4;
  |  | 1948|  1.21k|            INSTRUCTION_STATS(CALL_ALLOC_AND_ENTER_INIT);
  |  |  ------------------
  |  |  |  |   71|  1.21k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1949|  1.21k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 1950|  1.21k|            _PyStackRef callable;
  |  | 1951|  1.21k|            _PyStackRef self_or_null;
  |  | 1952|  1.21k|            _PyStackRef init;
  |  | 1953|  1.21k|            _PyStackRef self;
  |  | 1954|  1.21k|            _PyStackRef *args;
  |  | 1955|  1.21k|            _PyStackRef init_frame;
  |  | 1956|  1.21k|            _PyStackRef new_frame;
  |  | 1957|       |            /* Skip 1 cache entry */
  |  | 1958|       |            // _CHECK_PEP_523
  |  | 1959|  1.21k|            {
  |  | 1960|  1.21k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|  1.21k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 1.21k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  1.21k|            }
  |  | 1966|       |            // _CHECK_OBJECT
  |  | 1967|  1.21k|            {
  |  | 1968|  1.21k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 1969|  1.21k|                callable = stack_pointer[-2 - oparg];
  |  | 1970|  1.21k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 1971|  1.21k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1972|  1.21k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.21k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.21k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.21k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1972:21): [True: 0, False: 1.21k]
  |  |  ------------------
  |  | 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|  1.21k|                if (!PyType_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |  766|  1.21k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1977:21): [True: 0, False: 1.21k]
  |  |  ------------------
  |  | 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|  1.21k|                PyTypeObject *tp = (PyTypeObject *)callable_o;
  |  | 1983|  1.21k|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  159|  1.21k|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (1983:21): [True: 56, False: 1.16k]
  |  |  ------------------
  |  | 1984|     56|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|     56|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1985|     56|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (1985:21): [True: 56, False: 0]
  |  |  ------------------
  |  | 1986|     56|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     56|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1987|      0|                }
  |  | 1988|  1.21k|            }
  |  | 1989|       |            // _CHECK_RECURSION_REMAINING
  |  | 1990|  1.16k|            {
  |  | 1991|  1.16k|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (1991:21): [True: 0, False: 1.16k]
  |  |  ------------------
  |  | 1992|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1993|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (1993:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 1994|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1995|      0|                }
  |  | 1996|  1.16k|            }
  |  | 1997|       |            // _ALLOCATE_OBJECT
  |  | 1998|  1.16k|            {
  |  | 1999|  1.16k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2000|  1.16k|                assert(PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  Branch (2000:17): [True: 1.16k, False: 0]
  |  |  ------------------
  |  | 2001|  1.16k|                assert(PyType_Check(callable_o));
  |  |  ------------------
  |  |  |  Branch (2001:17): [True: 1.16k, False: 0]
  |  |  ------------------
  |  | 2002|  1.16k|                PyTypeObject *tp = (PyTypeObject *)callable_o;
  |  | 2003|  1.16k|                assert(tp->tp_new == PyBaseObject_Type.tp_new);
  |  |  ------------------
  |  |  |  Branch (2003:17): [True: 1.16k, False: 0]
  |  |  ------------------
  |  | 2004|  1.16k|                assert(tp->tp_flags & Py_TPFLAGS_HEAPTYPE);
  |  |  ------------------
  |  |  |  Branch (2004:17): [True: 1.16k, False: 0]
  |  |  ------------------
  |  | 2005|  1.16k|                assert(tp->tp_alloc == PyType_GenericAlloc);
  |  |  ------------------
  |  |  |  Branch (2005:17): [True: 1.16k, False: 0]
  |  |  ------------------
  |  | 2006|  1.16k|                PyHeapTypeObject *cls = (PyHeapTypeObject *)callable_o;
  |  | 2007|  1.16k|                PyFunctionObject *init_func = (PyFunctionObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(cls->_spec_cache.init);
  |  |  ------------------
  |  |  |  |  150|  1.16k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 2008|  1.16k|                PyCodeObject *code = (PyCodeObject *)init_func->func_code;
  |  | 2009|  1.16k|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize + _Py_InitCleanup.co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (2009:21): [True: 0, False: 1.16k]
  |  |  ------------------
  |  | 2010|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2011|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2011:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2012|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2013|      0|                }
  |  | 2014|  1.16k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.16k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2015|  1.16k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2016|  1.16k|                _PyFrame_StackPointerValidate(frame);
  |  | 2017|  1.16k|                PyObject *self_o = PyType_GenericAlloc(tp, 0);
  |  | 2018|  1.16k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2019|  1.16k|                if (self_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2019:21): [True: 0, False: 1.16k]
  |  |  ------------------
  |  | 2020|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2021|      0|                }
  |  | 2022|  1.16k|                self_or_null = PyStackRef_FromPyObjectSteal(self_o);
  |  | 2023|  1.16k|                _PyStackRef temp = callable;
  |  | 2024|  1.16k|                callable = PyStackRef_FromPyObjectNew(init_func);
  |  |  ------------------
  |  |  |  |  611|  1.16k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2025|  1.16k|                stack_pointer[-2 - oparg] = callable;
  |  | 2026|  1.16k|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 2027|  1.16k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2027:17): [True: 1.16k, False: 0]
  |  |  ------------------
  |  | 2028|  1.16k|                _PyFrame_StackPointerValidate(frame);
  |  | 2029|  1.16k|                PyStackRef_CLOSE(temp);
  |  | 2030|  1.16k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2031|  1.16k|            }
  |  | 2032|       |            // _CREATE_INIT_FRAME
  |  | 2033|      0|            {
  |  | 2034|  1.16k|                args = &stack_pointer[-oparg];
  |  | 2035|  1.16k|                self = self_or_null;
  |  | 2036|  1.16k|                init = callable;
  |  | 2037|  1.16k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2037:17): [True: 1.16k, False: 0]
  |  |  ------------------
  |  | 2038|  1.16k|                _PyFrame_StackPointerValidate(frame);
  |  | 2039|  1.16k|                _PyInterpreterFrame *shim = _PyFrame_PushTrampolineUnchecked(
  |  | 2040|  1.16k|                    tstate, (PyCodeObject *)&_Py_InitCleanup, 1, frame);
  |  | 2041|  1.16k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2042|  1.16k|                assert(_PyFrame_GetBytecode(shim)[0].op.code == EXIT_INIT_CHECK);
  |  |  ------------------
  |  |  |  Branch (2042:17): [True: 1.16k, False: 0]
  |  |  ------------------
  |  | 2043|  1.16k|                assert(_PyFrame_GetBytecode(shim)[1].op.code == RETURN_VALUE);
  |  |  ------------------
  |  |  |  Branch (2043:17): [True: 1.16k, False: 0]
  |  |  ------------------
  |  | 2044|  1.16k|                shim->localsplus[0] = PyStackRef_DUP(self);
  |  | 2045|  1.16k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2045:17): [True: 1.16k, False: 0]
  |  |  ------------------
  |  | 2046|  1.16k|                _PyFrame_StackPointerValidate(frame);
  |  | 2047|  1.16k|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 2048|  1.16k|                    tstate, init, NULL, args-1, oparg+1, NULL, shim);
  |  | 2049|  1.16k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2050|  1.16k|                stack_pointer += -2 - oparg;
  |  | 2051|  1.16k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.16k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2052|  1.16k|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (2052:21): [True: 0, False: 1.16k]
  |  |  ------------------
  |  | 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|  1.16k|                frame->return_offset = 1 + INLINE_CACHE_ENTRIES_CALL;
  |  |  ------------------
  |  |  |  |  129|  1.16k|#define INLINE_CACHE_ENTRIES_CALL CACHE_ENTRIES(_PyCallCache)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.16k|#define CACHE_ENTRIES(cache) (sizeof(cache)/sizeof(_Py_CODEUNIT))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2060|  1.16k|                tstate->py_recursion_remaining--;
  |  | 2061|  1.16k|                init_frame = PyStackRef_Wrap(temp);
  |  | 2062|  1.16k|            }
  |  | 2063|       |            // _PUSH_FRAME
  |  | 2064|      0|            {
  |  | 2065|  1.16k|                new_frame = init_frame;
  |  | 2066|  1.16k|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (2066:17): [True: 1.16k, False: 0]
  |  |  ------------------
  |  | 2067|  1.16k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2068|  1.16k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2069|  1.16k|                _PyFrame_StackPointerValidate(frame);
  |  | 2070|  1.16k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (2070:17): [True: 0, False: 1.16k]
  |  |  |  Branch (2070:17): [True: 1.16k, False: 0]
  |  |  ------------------
  |  | 2071|  1.16k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  1.16k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2072|  1.16k|                frame = tstate->current_frame = temp;
  |  | 2073|  1.16k|                tstate->py_recursion_remaining--;
  |  | 2074|  1.16k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2075|  1.16k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2076|  1.16k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|  1.16k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|  1.16k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|  1.16k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 1.16k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2077|       |                #ifdef Py_DEBUG
  |  | 2078|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 2079|       |                #endif
  |  | 2080|  1.16k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  1.16k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2081|  1.16k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  1.16k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 2082|  1.16k|            }
  |  | 2083|  1.16k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.16k|    { \
  |  |  |  |  201|  1.16k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.16k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.16k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.16k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.16k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.16k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.16k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.16k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.16k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.16k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.16k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.16k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.16k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.16k|    }
  |  |  ------------------
  |  | 2084|  1.16k|        }
  |  | 2085|       |
  |  | 2086|  2.44k|        TARGET(CALL_BOUND_METHOD_EXACT_ARGS) {
  |  |  ------------------
  |  |  |  |  132|  2.44k|#  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|  2.44k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2092|  2.44k|            (void)this_instr;
  |  | 2093|  2.44k|            frame->instr_ptr = next_instr;
  |  | 2094|  2.44k|            next_instr += 4;
  |  | 2095|  2.44k|            INSTRUCTION_STATS(CALL_BOUND_METHOD_EXACT_ARGS);
  |  |  ------------------
  |  |  |  |   71|  2.44k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2096|  2.44k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2097|  2.44k|            _PyStackRef callable;
  |  | 2098|  2.44k|            _PyStackRef null;
  |  | 2099|  2.44k|            _PyStackRef self_or_null;
  |  | 2100|  2.44k|            _PyStackRef *args;
  |  | 2101|  2.44k|            _PyStackRef new_frame;
  |  | 2102|       |            /* Skip 1 cache entry */
  |  | 2103|       |            // _CHECK_PEP_523
  |  | 2104|  2.44k|            {
  |  | 2105|  2.44k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|  2.44k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 2.44k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  2.44k|            }
  |  | 2111|       |            // _CHECK_CALL_BOUND_METHOD_EXACT_ARGS
  |  | 2112|  2.44k|            {
  |  | 2113|  2.44k|                null = stack_pointer[-1 - oparg];
  |  | 2114|  2.44k|                callable = stack_pointer[-2 - oparg];
  |  | 2115|  2.44k|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|  2.44k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.44k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.44k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2115:21): [True: 0, False: 2.44k]
  |  |  ------------------
  |  | 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|  2.44k|                if (Py_TYPE(PyStackRef_AsPyObjectBorrow(callable)) != &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|  2.44k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2120:21): [True: 0, False: 2.44k]
  |  |  ------------------
  |  | 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|  2.44k|            }
  |  | 2126|       |            // _INIT_CALL_BOUND_METHOD_EXACT_ARGS
  |  | 2127|  2.44k|            {
  |  | 2128|  2.44k|                self_or_null = null;
  |  | 2129|  2.44k|                assert(PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  Branch (2129:17): [True: 2.44k, False: 0]
  |  |  ------------------
  |  | 2130|  2.44k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2131|  2.44k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  2.44k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2132|  2.44k|                self_or_null = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_self);
  |  |  ------------------
  |  |  |  |  611|  2.44k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2133|  2.44k|                _PyStackRef temp = callable;
  |  | 2134|  2.44k|                callable = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_func);
  |  |  ------------------
  |  |  |  |  611|  2.44k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2135|  2.44k|                stack_pointer[-2 - oparg] = callable;
  |  | 2136|  2.44k|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 2137|  2.44k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2138|  2.44k|                _PyFrame_StackPointerValidate(frame);
  |  | 2139|  2.44k|                PyStackRef_CLOSE(temp);
  |  | 2140|  2.44k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2141|  2.44k|            }
  |  | 2142|       |            // flush
  |  | 2143|       |            // _CHECK_FUNCTION_VERSION
  |  | 2144|      0|            {
  |  | 2145|  2.44k|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 2146|  2.44k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2147|  2.44k|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  2.44k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  2.44k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2147:21): [True: 0, False: 2.44k]
  |  |  ------------------
  |  | 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|  2.44k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 2153|  2.44k|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (2153:21): [True: 397, False: 2.04k]
  |  |  ------------------
  |  | 2154|    397|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|    397|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2155|    397|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2155:21): [True: 397, False: 0]
  |  |  ------------------
  |  | 2156|    397|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    397|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2157|      0|                }
  |  | 2158|  2.44k|            }
  |  | 2159|       |            // _CHECK_FUNCTION_EXACT_ARGS
  |  | 2160|  2.04k|            {
  |  | 2161|  2.04k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2162|  2.04k|                assert(PyFunction_Check(callable_o));
  |  |  ------------------
  |  |  |  Branch (2162:17): [True: 2.04k, False: 0]
  |  |  ------------------
  |  | 2163|  2.04k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 2164|  2.04k|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 2165|  2.04k|                if (code->co_argcount != oparg + (!PyStackRef_IsNull(self_or_null))) {
  |  |  ------------------
  |  |  |  |  482|  2.04k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.04k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.04k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2165:21): [True: 0, False: 2.04k]
  |  |  ------------------
  |  | 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|  2.04k|            }
  |  | 2171|       |            // _CHECK_STACK_SPACE
  |  | 2172|  2.04k|            {
  |  | 2173|  2.04k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2174|  2.04k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 2175|  2.04k|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 2176|  2.04k|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (2176:21): [True: 0, False: 2.04k]
  |  |  ------------------
  |  | 2177|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2178|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2178:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2179|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2180|      0|                }
  |  | 2181|  2.04k|            }
  |  | 2182|       |            // _CHECK_RECURSION_REMAINING
  |  | 2183|  2.04k|            {
  |  | 2184|  2.04k|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (2184:21): [True: 0, False: 2.04k]
  |  |  ------------------
  |  | 2185|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2186|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2186:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 2187|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2188|      0|                }
  |  | 2189|  2.04k|            }
  |  | 2190|       |            // _INIT_CALL_PY_EXACT_ARGS
  |  | 2191|  2.04k|            {
  |  | 2192|  2.04k|                args = &stack_pointer[-oparg];
  |  | 2193|  2.04k|                int has_self = !PyStackRef_IsNull(self_or_null);
  |  |  ------------------
  |  |  |  |  482|  2.04k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.04k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.04k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2194|  2.04k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  2.04k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2195|  2.04k|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(tstate, callable, oparg + has_self, frame);
  |  | 2196|  2.04k|                _PyStackRef *first_non_self_local = pushed_frame->localsplus + has_self;
  |  | 2197|  2.04k|                pushed_frame->localsplus[0] = self_or_null;
  |  | 2198|  4.33k|                for (int i = 0; i < oparg; i++) {
  |  |  ------------------
  |  |  |  Branch (2198:33): [True: 2.29k, False: 2.04k]
  |  |  ------------------
  |  | 2199|  2.29k|                    first_non_self_local[i] = args[i];
  |  | 2200|  2.29k|                }
  |  | 2201|  2.04k|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 2202|  2.04k|            }
  |  | 2203|       |            // _SAVE_RETURN_OFFSET
  |  | 2204|  2.04k|            {
  |  | 2205|  2.04k|                #if TIER_ONE
  |  | 2206|  2.04k|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 2207|  2.04k|                #endif
  |  | 2208|       |                #if TIER_TWO
  |  | 2209|       |                frame->return_offset = oparg;
  |  | 2210|       |                #endif
  |  | 2211|  2.04k|            }
  |  | 2212|       |            // _PUSH_FRAME
  |  | 2213|  2.04k|            {
  |  | 2214|  2.04k|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (2214:17): [True: 2.04k, False: 0]
  |  |  ------------------
  |  | 2215|  2.04k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2216|  2.04k|                stack_pointer += -2 - oparg;
  |  | 2217|  2.04k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.04k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2218|  2.04k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2219|  2.04k|                _PyFrame_StackPointerValidate(frame);
  |  | 2220|  2.04k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (2220:17): [True: 2.04k, False: 0]
  |  |  |  Branch (2220:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2221|  2.04k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  2.04k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2222|  2.04k|                frame = tstate->current_frame = temp;
  |  | 2223|  2.04k|                tstate->py_recursion_remaining--;
  |  | 2224|  2.04k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2225|  2.04k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2226|  2.04k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|  2.04k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|  2.04k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|  2.04k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 2.04k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2227|       |                #ifdef Py_DEBUG
  |  | 2228|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 2229|       |                #endif
  |  | 2230|  2.04k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  2.04k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2231|  2.04k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  2.04k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 2232|  2.04k|            }
  |  | 2233|  2.04k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.04k|    { \
  |  |  |  |  201|  2.04k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.04k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.04k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.04k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.04k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.04k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.04k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.04k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.04k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.04k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.04k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.04k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.04k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.04k|    }
  |  |  ------------------
  |  | 2234|  2.04k|        }
  |  | 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)) {
  |  |  ------------------
  |  |  |  |  539|      4|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539: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);
  |  |  ------------------
  |  |  |  |  441|      4|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|      4|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443: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|   209k|        TARGET(CALL_BUILTIN_CLASS) {
  |  |  ------------------
  |  |  |  |  132|   209k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2373|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2374|       |            int opcode = CALL_BUILTIN_CLASS;
  |  | 2375|       |            (void)(opcode);
  |  | 2376|       |            #endif
  |  | 2377|   209k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2378|   209k|            (void)this_instr;
  |  | 2379|   209k|            frame->instr_ptr = next_instr;
  |  | 2380|   209k|            next_instr += 4;
  |  | 2381|   209k|            INSTRUCTION_STATS(CALL_BUILTIN_CLASS);
  |  |  ------------------
  |  |  |  |   71|   209k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2382|   209k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2383|   209k|            _PyStackRef callable;
  |  | 2384|   209k|            _PyStackRef self_or_null;
  |  | 2385|   209k|            _PyStackRef *args;
  |  | 2386|   209k|            _PyStackRef value;
  |  | 2387|       |            /* Skip 1 cache entry */
  |  | 2388|       |            /* Skip 2 cache entries */
  |  | 2389|       |            // _GUARD_CALLABLE_BUILTIN_CLASS
  |  | 2390|   209k|            {
  |  | 2391|   209k|                callable = stack_pointer[-2 - oparg];
  |  | 2392|   209k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2393|   209k|                if (!PyType_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |  766|   209k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   209k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   209k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2393:21): [True: 0, False: 209k]
  |  |  ------------------
  |  | 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|   209k|                PyTypeObject *tp = (PyTypeObject *)callable_o;
  |  | 2399|   209k|                if (tp->tp_vectorcall == NULL) {
  |  |  ------------------
  |  |  |  Branch (2399:21): [True: 0, False: 209k]
  |  |  ------------------
  |  | 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|   209k|            }
  |  | 2405|       |            // _CALL_BUILTIN_CLASS
  |  | 2406|   209k|            {
  |  | 2407|   209k|                args = &stack_pointer[-oparg];
  |  | 2408|   209k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2409|   209k|                int total_args = oparg;
  |  | 2410|   209k|                _PyStackRef *arguments = args;
  |  | 2411|   209k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|   209k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   209k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   209k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2411:21): [True: 0, False: 209k]
  |  |  ------------------
  |  | 2412|      0|                    arguments--;
  |  | 2413|      0|                    total_args++;
  |  | 2414|      0|                }
  |  | 2415|   209k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|   209k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2416|   209k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2417|   209k|                _PyFrame_StackPointerValidate(frame);
  |  | 2418|   209k|                PyObject *res_o = _Py_CallBuiltinClass_StackRef(
  |  | 2419|   209k|                    callable,
  |  | 2420|   209k|                    arguments,
  |  | 2421|   209k|                    total_args);
  |  | 2422|   209k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2423|   209k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2423:21): [True: 175, False: 209k]
  |  |  ------------------
  |  | 2424|    175|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    175|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2425|      0|                }
  |  | 2426|   209k|                _PyStackRef temp = callable;
  |  | 2427|   209k|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2428|   209k|                stack_pointer[-2 - oparg] = callable;
  |  | 2429|   209k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2429:17): [True: 209k, False: 0]
  |  |  ------------------
  |  | 2430|   209k|                _PyFrame_StackPointerValidate(frame);
  |  | 2431|   209k|                PyStackRef_CLOSE(temp);
  |  | 2432|   209k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2433|   209k|            }
  |  | 2434|       |            // _POP_TOP_OPARG
  |  | 2435|      0|            {
  |  | 2436|   209k|                args = &stack_pointer[-oparg];
  |  | 2437|   209k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2437:17): [True: 209k, False: 0]
  |  |  ------------------
  |  | 2438|   209k|                _PyFrame_StackPointerValidate(frame);
  |  | 2439|   209k|                _PyStackRef_CloseStack(args, oparg);
  |  | 2440|   209k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2441|   209k|            }
  |  | 2442|       |            // _POP_TOP
  |  | 2443|      0|            {
  |  | 2444|   209k|                value = self_or_null;
  |  | 2445|   209k|                stack_pointer += -1 - oparg;
  |  | 2446|   209k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   209k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2447|   209k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2448|   209k|                _PyFrame_StackPointerValidate(frame);
  |  | 2449|   209k|                PyStackRef_XCLOSE(value);
  |  | 2450|   209k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2451|   209k|            }
  |  | 2452|       |            // _CHECK_PERIODIC_AT_END
  |  | 2453|   209k|            {
  |  | 2454|   209k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2454:17): [True: 209k, False: 0]
  |  |  ------------------
  |  | 2455|   209k|                _PyFrame_StackPointerValidate(frame);
  |  | 2456|   209k|                int err = check_periodics_at_end(tstate, frame);
  |  | 2457|   209k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2458|   209k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2458:21): [True: 0, False: 209k]
  |  |  ------------------
  |  | 2459|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2460|      0|                }
  |  | 2461|   209k|            }
  |  | 2462|   209k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   209k|    { \
  |  |  |  |  201|   209k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   209k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   209k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   209k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   209k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   209k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   209k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   209k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 209k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   209k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   209k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   209k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   209k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   209k|    }
  |  |  ------------------
  |  | 2463|   209k|        }
  |  | 2464|       |
  |  | 2465|   530k|        TARGET(CALL_BUILTIN_FAST) {
  |  |  ------------------
  |  |  |  |  132|   530k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2466|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2467|       |            int opcode = CALL_BUILTIN_FAST;
  |  | 2468|       |            (void)(opcode);
  |  | 2469|       |            #endif
  |  | 2470|   530k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2471|   530k|            (void)this_instr;
  |  | 2472|   530k|            frame->instr_ptr = next_instr;
  |  | 2473|   530k|            next_instr += 4;
  |  | 2474|   530k|            INSTRUCTION_STATS(CALL_BUILTIN_FAST);
  |  |  ------------------
  |  |  |  |   71|   530k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2475|   530k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2476|   530k|            _PyStackRef callable;
  |  | 2477|   530k|            _PyStackRef self_or_null;
  |  | 2478|   530k|            _PyStackRef *args;
  |  | 2479|   530k|            _PyStackRef value;
  |  | 2480|       |            /* Skip 1 cache entry */
  |  | 2481|       |            /* Skip 2 cache entries */
  |  | 2482|       |            // _GUARD_CALLABLE_BUILTIN_FAST
  |  | 2483|   530k|            {
  |  | 2484|   530k|                callable = stack_pointer[-2 - oparg];
  |  | 2485|   530k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2486|   530k|                if (!PyCFunction_CheckExact(callable_o)) {
  |  |  ------------------
  |  |  |  |   16|   530k|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   530k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   530k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   530k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2486:21): [True: 0, False: 530k]
  |  |  ------------------
  |  | 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|   530k|                if (PyCFunction_GET_FLAGS(callable_o) != METH_FASTCALL) {
  |  |  ------------------
  |  |  |  |   57|   530k|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   530k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   530k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               if (PyCFunction_GET_FLAGS(callable_o) != METH_FASTCALL) {
  |  |  ------------------
  |  |  |  |  115|   530k|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |  |  Branch (2491:21): [True: 14, False: 530k]
  |  |  ------------------
  |  | 2492|     14|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|     14|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2493|     14|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2493:21): [True: 14, False: 0]
  |  |  ------------------
  |  | 2494|     14|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     14|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2495|      0|                }
  |  | 2496|   530k|            }
  |  | 2497|       |            // _CALL_BUILTIN_FAST
  |  | 2498|   530k|            {
  |  | 2499|   530k|                args = &stack_pointer[-oparg];
  |  | 2500|   530k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2501|   530k|                int total_args = oparg;
  |  | 2502|   530k|                _PyStackRef *arguments = args;
  |  | 2503|   530k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|   530k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   530k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   530k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2503:21): [True: 0, False: 530k]
  |  |  ------------------
  |  | 2504|      0|                    arguments--;
  |  | 2505|      0|                    total_args++;
  |  | 2506|      0|                }
  |  | 2507|   530k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|   530k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2508|   530k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2509|   530k|                _PyFrame_StackPointerValidate(frame);
  |  | 2510|   530k|                PyObject *res_o = _Py_BuiltinCallFast_StackRef(
  |  | 2511|   530k|                    callable,
  |  | 2512|   530k|                    arguments,
  |  | 2513|   530k|                    total_args
  |  | 2514|   530k|                );
  |  | 2515|   530k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2516|   530k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2516:21): [True: 428, False: 529k]
  |  |  ------------------
  |  | 2517|    428|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    428|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2518|      0|                }
  |  | 2519|   529k|                _PyStackRef temp = callable;
  |  | 2520|   529k|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2521|   529k|                stack_pointer[-2 - oparg] = callable;
  |  | 2522|   529k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2522:17): [True: 529k, False: 0]
  |  |  ------------------
  |  | 2523|   529k|                _PyFrame_StackPointerValidate(frame);
  |  | 2524|   529k|                PyStackRef_CLOSE(temp);
  |  | 2525|   529k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2526|   529k|            }
  |  | 2527|       |            // _POP_TOP_OPARG
  |  | 2528|      0|            {
  |  | 2529|   529k|                args = &stack_pointer[-oparg];
  |  | 2530|   529k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2530:17): [True: 529k, False: 0]
  |  |  ------------------
  |  | 2531|   529k|                _PyFrame_StackPointerValidate(frame);
  |  | 2532|   529k|                _PyStackRef_CloseStack(args, oparg);
  |  | 2533|   529k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2534|   529k|            }
  |  | 2535|       |            // _POP_TOP
  |  | 2536|      0|            {
  |  | 2537|   529k|                value = self_or_null;
  |  | 2538|   529k|                stack_pointer += -1 - oparg;
  |  | 2539|   529k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   529k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2540|   529k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2541|   529k|                _PyFrame_StackPointerValidate(frame);
  |  | 2542|   529k|                PyStackRef_XCLOSE(value);
  |  | 2543|   529k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2544|   529k|            }
  |  | 2545|       |            // _CHECK_PERIODIC_AT_END
  |  | 2546|   529k|            {
  |  | 2547|   529k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2547:17): [True: 529k, False: 0]
  |  |  ------------------
  |  | 2548|   529k|                _PyFrame_StackPointerValidate(frame);
  |  | 2549|   529k|                int err = check_periodics_at_end(tstate, frame);
  |  | 2550|   529k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2551|   529k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2551:21): [True: 0, False: 529k]
  |  |  ------------------
  |  | 2552|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2553|      0|                }
  |  | 2554|   529k|            }
  |  | 2555|   529k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   529k|    { \
  |  |  |  |  201|   529k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   529k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   529k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   529k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   529k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   529k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   529k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   529k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 529k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   529k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   529k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   529k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   529k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   529k|    }
  |  |  ------------------
  |  | 2556|   529k|        }
  |  | 2557|       |
  |  | 2558|  22.6k|        TARGET(CALL_BUILTIN_FAST_WITH_KEYWORDS) {
  |  |  ------------------
  |  |  |  |  132|  22.6k|#  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|  22.6k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2564|  22.6k|            (void)this_instr;
  |  | 2565|  22.6k|            frame->instr_ptr = next_instr;
  |  | 2566|  22.6k|            next_instr += 4;
  |  | 2567|  22.6k|            INSTRUCTION_STATS(CALL_BUILTIN_FAST_WITH_KEYWORDS);
  |  |  ------------------
  |  |  |  |   71|  22.6k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2568|  22.6k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2569|  22.6k|            _PyStackRef callable;
  |  | 2570|  22.6k|            _PyStackRef self_or_null;
  |  | 2571|  22.6k|            _PyStackRef *args;
  |  | 2572|  22.6k|            _PyStackRef value;
  |  | 2573|       |            /* Skip 1 cache entry */
  |  | 2574|       |            /* Skip 2 cache entries */
  |  | 2575|       |            // _GUARD_CALLABLE_BUILTIN_FAST_WITH_KEYWORDS
  |  | 2576|  22.6k|            {
  |  | 2577|  22.6k|                callable = stack_pointer[-2 - oparg];
  |  | 2578|  22.6k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2579|  22.6k|                if (!PyCFunction_CheckExact(callable_o)) {
  |  |  ------------------
  |  |  |  |   16|  22.6k|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  22.6k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  22.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  22.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2579:21): [True: 0, False: 22.6k]
  |  |  ------------------
  |  | 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|  22.6k|                if (PyCFunction_GET_FLAGS(callable_o) != (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |   57|  22.6k|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  22.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  22.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               if (PyCFunction_GET_FLAGS(callable_o) != (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |  115|  22.6k|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |                               if (PyCFunction_GET_FLAGS(callable_o) != (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |   96|  22.6k|#define METH_KEYWORDS 0x0002
  |  |  ------------------
  |  |  |  Branch (2584:21): [True: 258, False: 22.3k]
  |  |  ------------------
  |  | 2585|    258|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|    258|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2586|    258|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (2586:21): [True: 258, False: 0]
  |  |  ------------------
  |  | 2587|    258|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    258|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2588|      0|                }
  |  | 2589|  22.6k|            }
  |  | 2590|       |            // _CALL_BUILTIN_FAST_WITH_KEYWORDS
  |  | 2591|  22.3k|            {
  |  | 2592|  22.3k|                args = &stack_pointer[-oparg];
  |  | 2593|  22.3k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2594|  22.3k|                int total_args = oparg;
  |  | 2595|  22.3k|                _PyStackRef *arguments = args;
  |  | 2596|  22.3k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  22.3k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  22.3k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  22.3k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2596:21): [True: 0, False: 22.3k]
  |  |  ------------------
  |  | 2597|      0|                    arguments--;
  |  | 2598|      0|                    total_args++;
  |  | 2599|      0|                }
  |  | 2600|  22.3k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  22.3k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2601|  22.3k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2602|  22.3k|                _PyFrame_StackPointerValidate(frame);
  |  | 2603|  22.3k|                PyObject *res_o = _Py_BuiltinCallFastWithKeywords_StackRef(callable, arguments, total_args);
  |  | 2604|  22.3k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2605|  22.3k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2605:21): [True: 16, False: 22.3k]
  |  |  ------------------
  |  | 2606|     16|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     16|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2607|      0|                }
  |  | 2608|  22.3k|                _PyStackRef temp = callable;
  |  | 2609|  22.3k|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2610|  22.3k|                stack_pointer[-2 - oparg] = callable;
  |  | 2611|  22.3k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2611:17): [True: 22.3k, False: 0]
  |  |  ------------------
  |  | 2612|  22.3k|                _PyFrame_StackPointerValidate(frame);
  |  | 2613|  22.3k|                PyStackRef_CLOSE(temp);
  |  | 2614|  22.3k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2615|  22.3k|            }
  |  | 2616|       |            // _POP_TOP_OPARG
  |  | 2617|      0|            {
  |  | 2618|  22.3k|                args = &stack_pointer[-oparg];
  |  | 2619|  22.3k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2619:17): [True: 22.3k, False: 0]
  |  |  ------------------
  |  | 2620|  22.3k|                _PyFrame_StackPointerValidate(frame);
  |  | 2621|  22.3k|                _PyStackRef_CloseStack(args, oparg);
  |  | 2622|  22.3k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2623|  22.3k|            }
  |  | 2624|       |            // _POP_TOP
  |  | 2625|      0|            {
  |  | 2626|  22.3k|                value = self_or_null;
  |  | 2627|  22.3k|                stack_pointer += -1 - oparg;
  |  | 2628|  22.3k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  22.3k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2629|  22.3k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2630|  22.3k|                _PyFrame_StackPointerValidate(frame);
  |  | 2631|  22.3k|                PyStackRef_XCLOSE(value);
  |  | 2632|  22.3k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2633|  22.3k|            }
  |  | 2634|       |            // _CHECK_PERIODIC_AT_END
  |  | 2635|  22.3k|            {
  |  | 2636|  22.3k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2636:17): [True: 22.3k, False: 0]
  |  |  ------------------
  |  | 2637|  22.3k|                _PyFrame_StackPointerValidate(frame);
  |  | 2638|  22.3k|                int err = check_periodics_at_end(tstate, frame);
  |  | 2639|  22.3k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2640|  22.3k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2640:21): [True: 0, False: 22.3k]
  |  |  ------------------
  |  | 2641|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2642|      0|                }
  |  | 2643|  22.3k|            }
  |  | 2644|  22.3k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  22.3k|    { \
  |  |  |  |  201|  22.3k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  22.3k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  22.3k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  22.3k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  22.3k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  22.3k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  22.3k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  22.3k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 22.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  22.3k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  22.3k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  22.3k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  22.3k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  22.3k|    }
  |  |  ------------------
  |  | 2645|  22.3k|        }
  |  | 2646|       |
  |  | 2647|  16.7M|        TARGET(CALL_BUILTIN_O) {
  |  |  ------------------
  |  |  |  |  132|  16.7M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2648|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2649|       |            int opcode = CALL_BUILTIN_O;
  |  | 2650|       |            (void)(opcode);
  |  | 2651|       |            #endif
  |  | 2652|  16.7M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2653|  16.7M|            (void)this_instr;
  |  | 2654|  16.7M|            frame->instr_ptr = next_instr;
  |  | 2655|  16.7M|            next_instr += 4;
  |  | 2656|  16.7M|            INSTRUCTION_STATS(CALL_BUILTIN_O);
  |  |  ------------------
  |  |  |  |   71|  16.7M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2657|  16.7M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2658|  16.7M|            _PyStackRef callable;
  |  | 2659|  16.7M|            _PyStackRef self_or_null;
  |  | 2660|  16.7M|            _PyStackRef *args;
  |  | 2661|  16.7M|            _PyStackRef res;
  |  | 2662|  16.7M|            _PyStackRef c;
  |  | 2663|  16.7M|            _PyStackRef s;
  |  | 2664|  16.7M|            _PyStackRef value;
  |  | 2665|       |            /* Skip 1 cache entry */
  |  | 2666|       |            /* Skip 2 cache entries */
  |  | 2667|       |            // _GUARD_CALLABLE_BUILTIN_O
  |  | 2668|  16.7M|            {
  |  | 2669|  16.7M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2670|  16.7M|                callable = stack_pointer[-2 - oparg];
  |  | 2671|  16.7M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2672|  16.7M|                if (!PyCFunction_CheckExact(callable_o)) {
  |  |  ------------------
  |  |  |  |   16|  16.7M|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  16.7M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  16.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  16.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2672:21): [True: 0, False: 16.7M]
  |  |  ------------------
  |  | 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|  16.7M|                if (PyCFunction_GET_FLAGS(callable_o) != METH_O) {
  |  |  ------------------
  |  |  |  |   57|  16.7M|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  16.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  16.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               if (PyCFunction_GET_FLAGS(callable_o) != METH_O) {
  |  |  ------------------
  |  |  |  |   99|  16.7M|#define METH_O        0x0008
  |  |  ------------------
  |  |  |  Branch (2677:21): [True: 14, False: 16.7M]
  |  |  ------------------
  |  | 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|  16.7M|                int total_args = oparg;
  |  | 2683|  16.7M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  16.7M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  16.7M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  16.7M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2683:21): [True: 0, False: 16.7M]
  |  |  ------------------
  |  | 2684|      0|                    total_args++;
  |  | 2685|      0|                }
  |  | 2686|  16.7M|                if (total_args != 1) {
  |  |  ------------------
  |  |  |  Branch (2686:21): [True: 0, False: 16.7M]
  |  |  ------------------
  |  | 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|  16.7M|            }
  |  | 2692|       |            // _CHECK_RECURSION_LIMIT
  |  | 2693|  16.7M|            {
  |  | 2694|  16.7M|                if (_Py_ReachedRecursionLimit(tstate)) {
  |  |  ------------------
  |  |  |  Branch (2694:21): [True: 0, False: 16.7M]
  |  |  ------------------
  |  | 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|  16.7M|            }
  |  | 2700|       |            // _CALL_BUILTIN_O
  |  | 2701|  16.7M|            {
  |  | 2702|  16.7M|                args = &stack_pointer[-oparg];
  |  | 2703|  16.7M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2704|  16.7M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  16.7M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  16.7M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  16.7M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2704:21): [True: 0, False: 16.7M]
  |  |  ------------------
  |  | 2705|      0|                    args--;
  |  | 2706|      0|                }
  |  | 2707|  16.7M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  16.7M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2708|  16.7M|                PyCFunction cfunc = PyCFunction_GET_FUNCTION(callable_o);
  |  |  ------------------
  |  |  |  |   43|  16.7M|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  16.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  16.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2709|  16.7M|                _PyStackRef arg = args[0];
  |  | 2710|  16.7M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2711|  16.7M|                _PyFrame_StackPointerValidate(frame);
  |  | 2712|  16.7M|                PyObject *res_o = _PyCFunction_TrampolineCall(cfunc, PyCFunction_GET_SELF(callable_o), PyStackRef_AsPyObjectBorrow(arg));
  |  |  ------------------
  |  |  |  |  995|  16.7M|    (meth)((self), (args))
  |  |  ------------------
  |  | 2713|  16.7M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2714|  16.7M|                _Py_LeaveRecursiveCallTstate(tstate);
  |  | 2715|  16.7M|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (2715:17): [True: 16.7M, False: 0]
  |  |  ------------------
  |  | 2716|  16.7M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2716:21): [True: 0, False: 16.7M]
  |  |  ------------------
  |  | 2717|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2718|      0|                }
  |  | 2719|  16.7M|                c = callable;
  |  | 2720|  16.7M|                s = args[0];
  |  | 2721|  16.7M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2722|  16.7M|            }
  |  | 2723|       |            // _POP_TOP
  |  | 2724|      0|            {
  |  | 2725|  16.7M|                value = s;
  |  | 2726|  16.7M|                stack_pointer[-2 - oparg] = res;
  |  | 2727|  16.7M|                stack_pointer[-1 - oparg] = c;
  |  | 2728|  16.7M|                stack_pointer += -oparg;
  |  | 2729|  16.7M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  16.7M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2730|  16.7M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2731|  16.7M|                _PyFrame_StackPointerValidate(frame);
  |  | 2732|  16.7M|                PyStackRef_XCLOSE(value);
  |  | 2733|  16.7M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2734|  16.7M|            }
  |  | 2735|       |            // _POP_TOP
  |  | 2736|  16.7M|            {
  |  | 2737|  16.7M|                value = c;
  |  | 2738|  16.7M|                stack_pointer += -1;
  |  | 2739|  16.7M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  16.7M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2740|  16.7M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2741|  16.7M|                _PyFrame_StackPointerValidate(frame);
  |  | 2742|  16.7M|                PyStackRef_XCLOSE(value);
  |  | 2743|  16.7M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2744|  16.7M|            }
  |  | 2745|       |            // _CHECK_PERIODIC_AT_END
  |  | 2746|  16.7M|            {
  |  | 2747|  16.7M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (2747:17): [True: 16.7M, False: 0]
  |  |  ------------------
  |  | 2748|  16.7M|                _PyFrame_StackPointerValidate(frame);
  |  | 2749|  16.7M|                int err = check_periodics_at_end(tstate, frame);
  |  | 2750|  16.7M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2751|  16.7M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2751:21): [True: 0, False: 16.7M]
  |  |  ------------------
  |  | 2752|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2753|      0|                }
  |  | 2754|  16.7M|            }
  |  | 2755|  16.7M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  16.7M|    { \
  |  |  |  |  201|  16.7M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  16.7M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  16.7M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  16.7M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  16.7M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  16.7M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  16.7M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  16.7M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 16.7M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  16.7M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  16.7M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  16.7M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  16.7M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  16.7M|    }
  |  |  ------------------
  |  | 2756|  16.7M|        }
  |  | 2757|       |
  |  | 2758|    663|        TARGET(CALL_EX_NON_PY_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|    663|#  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|    663|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2764|    663|            (void)this_instr;
  |  | 2765|    663|            frame->instr_ptr = next_instr;
  |  | 2766|    663|            next_instr += 2;
  |  | 2767|    663|            INSTRUCTION_STATS(CALL_EX_NON_PY_GENERAL);
  |  |  ------------------
  |  |  |  |   71|    663|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2768|    663|            static_assert(INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX == 1, "incorrect cache size");
  |  | 2769|    663|            _PyStackRef func_st;
  |  | 2770|    663|            _PyStackRef func;
  |  | 2771|    663|            _PyStackRef callargs;
  |  | 2772|    663|            _PyStackRef null;
  |  | 2773|    663|            _PyStackRef callargs_st;
  |  | 2774|    663|            _PyStackRef kwargs_st;
  |  | 2775|    663|            _PyStackRef result;
  |  | 2776|       |            /* Skip 1 cache entry */
  |  | 2777|       |            // _CHECK_IS_NOT_PY_CALLABLE_EX
  |  | 2778|    663|            {
  |  | 2779|    663|                func_st = stack_pointer[-4];
  |  | 2780|    663|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2781|    663|                if (Py_TYPE(func) == &PyFunction_Type && ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  |  213|    663|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    663|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    663|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2781:21): [True: 0, False: 663]
  |  |  |  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|    663|            }
  |  | 2787|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 2788|    663|            {
  |  | 2789|    663|                callargs = stack_pointer[-2];
  |  | 2790|    663|                func = func_st;
  |  | 2791|    663|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 2792|    663|                if (!PyTuple_CheckExact(callargs_o)) {
  |  |  ------------------
  |  |  |  |   28|    663|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    663|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    663|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    663|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2792:21): [True: 32, False: 631]
  |  |  ------------------
  |  | 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|    663|            }
  |  | 2816|       |            // _CALL_FUNCTION_EX_NON_PY_GENERAL
  |  | 2817|    663|            {
  |  | 2818|    663|                kwargs_st = stack_pointer[-1];
  |  | 2819|    663|                callargs_st = callargs;
  |  | 2820|    663|                null = stack_pointer[-3];
  |  | 2821|    663|                func_st = func;
  |  | 2822|    663|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2823|    663|                PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 2824|    663|                (void)null;
  |  | 2825|    663|                assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (2825:17): [True: 663, False: 0]
  |  |  ------------------
  |  | 2826|    663|                PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 2827|    663|                assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (2827:17): [True: 61, False: 602]
  |  |  |  Branch (2827:17): [True: 602, False: 0]
  |  |  ------------------
  |  | 2828|    663|                stack_pointer[-2] = callargs_st;
  |  | 2829|    663|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2830|    663|                _PyFrame_StackPointerValidate(frame);
  |  | 2831|    663|                PyObject *result_o = PyObject_Call(func, callargs, kwargs);
  |  | 2832|    663|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2833|    663|                stack_pointer += -1;
  |  | 2834|    663|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    663|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2835|    663|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2836|    663|                _PyFrame_StackPointerValidate(frame);
  |  | 2837|    663|                PyStackRef_XCLOSE(kwargs_st);
  |  | 2838|    663|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2839|    663|                stack_pointer += -1;
  |  | 2840|    663|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    663|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2841|    663|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2842|    663|                _PyFrame_StackPointerValidate(frame);
  |  | 2843|    663|                PyStackRef_CLOSE(callargs_st);
  |  | 2844|    663|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2845|    663|                stack_pointer += -2;
  |  | 2846|    663|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    663|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2847|    663|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2848|    663|                _PyFrame_StackPointerValidate(frame);
  |  | 2849|    663|                PyStackRef_CLOSE(func_st);
  |  | 2850|    663|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2851|    663|                if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2851:21): [True: 0, False: 663]
  |  |  ------------------
  |  | 2852|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2853|      0|                }
  |  | 2854|    663|                result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 2855|    663|            }
  |  | 2856|       |            // _CHECK_PERIODIC_AT_END
  |  | 2857|      0|            {
  |  | 2858|    663|                stack_pointer[0] = result;
  |  | 2859|    663|                stack_pointer += 1;
  |  | 2860|    663|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    663|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2861|    663|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2862|    663|                _PyFrame_StackPointerValidate(frame);
  |  | 2863|    663|                int err = check_periodics_at_end(tstate, frame);
  |  | 2864|    663|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2865|    663|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2865:21): [True: 0, False: 663]
  |  |  ------------------
  |  | 2866|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2867|      0|                }
  |  | 2868|    663|            }
  |  | 2869|    663|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    663|    { \
  |  |  |  |  201|    663|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    663|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    663|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    663|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    663|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    663|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    663|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    663|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 663]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    663|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    663|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    663|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    663|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    663|    }
  |  |  ------------------
  |  | 2870|    663|        }
  |  | 2871|       |
  |  | 2872|     94|        TARGET(CALL_EX_PY) {
  |  |  ------------------
  |  |  |  |  132|     94|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2873|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2874|       |            int opcode = CALL_EX_PY;
  |  | 2875|       |            (void)(opcode);
  |  | 2876|       |            #endif
  |  | 2877|     94|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2878|     94|            (void)this_instr;
  |  | 2879|     94|            frame->instr_ptr = next_instr;
  |  | 2880|     94|            next_instr += 2;
  |  | 2881|     94|            INSTRUCTION_STATS(CALL_EX_PY);
  |  |  ------------------
  |  |  |  |   71|     94|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2882|     94|            static_assert(INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX == 1, "incorrect cache size");
  |  | 2883|     94|            _PyStackRef func;
  |  | 2884|     94|            _PyStackRef callargs;
  |  | 2885|     94|            _PyStackRef func_st;
  |  | 2886|     94|            _PyStackRef callargs_st;
  |  | 2887|     94|            _PyStackRef kwargs_st;
  |  | 2888|     94|            _PyStackRef ex_frame;
  |  | 2889|     94|            _PyStackRef new_frame;
  |  | 2890|       |            /* Skip 1 cache entry */
  |  | 2891|       |            // _CHECK_PEP_523
  |  | 2892|     94|            {
  |  | 2893|     94|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|     94|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 94]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|     94|            }
  |  | 2899|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 2900|     94|            {
  |  | 2901|     94|                callargs = stack_pointer[-2];
  |  | 2902|     94|                func = stack_pointer[-4];
  |  | 2903|     94|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 2904|     94|                if (!PyTuple_CheckExact(callargs_o)) {
  |  |  ------------------
  |  |  |  |   28|     94|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     94|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2904:21): [True: 0, False: 94]
  |  |  ------------------
  |  | 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|     94|            }
  |  | 2928|       |            // _CHECK_IS_PY_CALLABLE_EX
  |  | 2929|     94|            {
  |  | 2930|     94|                func_st = func;
  |  | 2931|     94|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2932|     94|                if (Py_TYPE(func) != &PyFunction_Type) {
  |  |  ------------------
  |  |  |  |  213|     94|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2932:21): [True: 0, False: 94]
  |  |  ------------------
  |  | 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|     94|                if (((PyFunctionObject *)func)->vectorcall != _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  Branch (2937:21): [True: 0, False: 94]
  |  |  ------------------
  |  | 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|     94|            }
  |  | 2943|       |            // _PY_FRAME_EX
  |  | 2944|     94|            {
  |  | 2945|     94|                kwargs_st = stack_pointer[-1];
  |  | 2946|     94|                callargs_st = callargs;
  |  | 2947|     94|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2948|     94|                PyObject *callargs = PyStackRef_AsPyObjectSteal(callargs_st);
  |  | 2949|     94|                assert(PyTuple_CheckExact(callargs));
  |  |  ------------------
  |  |  |  Branch (2949:17): [True: 94, False: 0]
  |  |  ------------------
  |  | 2950|     94|                assert(Py_TYPE(func) == &PyFunction_Type);
  |  |  ------------------
  |  |  |  Branch (2950:17): [True: 94, False: 0]
  |  |  ------------------
  |  | 2951|     94|                assert(((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall);
  |  |  ------------------
  |  |  |  Branch (2951:17): [True: 94, False: 0]
  |  |  ------------------
  |  | 2952|     94|                PyObject *kwargs = PyStackRef_IsNull(kwargs_st) ? NULL : PyStackRef_AsPyObjectSteal(kwargs_st);
  |  |  ------------------
  |  |  |  |  482|     94|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     94|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     94|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 10, False: 84]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2953|     94|                assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  |  ------------------
  |  |  |  Branch (2953:17): [True: 10, False: 84]
  |  |  |  Branch (2953:17): [True: 84, False: 0]
  |  |  ------------------
  |  | 2954|     94|                Py_ssize_t nargs = PyTuple_GET_SIZE(callargs);
  |  |  ------------------
  |  |  |  |   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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2955|     94|                int code_flags = ((PyCodeObject *)PyFunction_GET_CODE(func))->co_flags;
  |  |  ------------------
  |  |  |  |   93|     94|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     94|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2956|     94|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  122|     94|#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: 94, False: 0]
  |  |  ------------------
  |  | 2957|     94|                stack_pointer += -3;
  |  | 2958|     94|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     94|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2959|     94|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2960|     94|                _PyFrame_StackPointerValidate(frame);
  |  | 2961|     94|                _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit_Ex(
  |  | 2962|     94|                    tstate, func_st, locals,
  |  | 2963|     94|                    nargs, callargs, kwargs, frame);
  |  | 2964|     94|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2965|     94|                stack_pointer += -1;
  |  | 2966|     94|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     94|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2967|     94|                if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (2967:21): [True: 0, False: 94]
  |  |  ------------------
  |  | 2968|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2969|      0|                }
  |  | 2970|     94|                ex_frame = PyStackRef_Wrap(new_frame);
  |  | 2971|     94|            }
  |  | 2972|       |            // _SAVE_RETURN_OFFSET
  |  | 2973|      0|            {
  |  | 2974|     94|                #if TIER_ONE
  |  | 2975|     94|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 2976|     94|                #endif
  |  | 2977|       |                #if TIER_TWO
  |  | 2978|       |                frame->return_offset = oparg;
  |  | 2979|       |                #endif
  |  | 2980|     94|            }
  |  | 2981|       |            // _PUSH_FRAME
  |  | 2982|     94|            {
  |  | 2983|     94|                new_frame = ex_frame;
  |  | 2984|     94|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (2984:17): [True: 94, False: 0]
  |  |  ------------------
  |  | 2985|     94|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2986|     94|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2987|     94|                _PyFrame_StackPointerValidate(frame);
  |  | 2988|     94|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (2988:17): [True: 94, False: 0]
  |  |  |  Branch (2988:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2989|     94|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|     94|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2990|     94|                frame = tstate->current_frame = temp;
  |  | 2991|     94|                tstate->py_recursion_remaining--;
  |  | 2992|     94|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2993|     94|                _PyFrame_StackPointerInvalidate(frame);
  |  | 2994|     94|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|     94|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|     94|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|     94|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 94]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2995|       |                #ifdef Py_DEBUG
  |  | 2996|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 2997|       |                #endif
  |  | 2998|     94|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|     94|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2999|     94|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|     94|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 3000|     94|            }
  |  | 3001|     94|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     94|    { \
  |  |  |  |  201|     94|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     94|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     94|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     94|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     94|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     94|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     94|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     94|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 94]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     94|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     94|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     94|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     94|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     94|    }
  |  |  ------------------
  |  | 3002|     94|        }
  |  | 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);
  |  |  ------------------
  |  |  |  |  377|     49|    do { \
  |  |  |  |  378|     49|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|     49|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379: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) &&
  |  |  ------------------
  |  |  |  |  539|     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|    171|        TARGET(CALL_INTRINSIC_1) {
  |  |  ------------------
  |  |  |  |  132|    171|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3204|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3205|       |            int opcode = CALL_INTRINSIC_1;
  |  | 3206|       |            (void)(opcode);
  |  | 3207|       |            #endif
  |  | 3208|    171|            frame->instr_ptr = next_instr;
  |  | 3209|    171|            next_instr += 1;
  |  | 3210|    171|            INSTRUCTION_STATS(CALL_INTRINSIC_1);
  |  |  ------------------
  |  |  |  |   71|    171|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3211|    171|            _PyStackRef value;
  |  | 3212|    171|            _PyStackRef res;
  |  | 3213|    171|            _PyStackRef v;
  |  | 3214|       |            // _CALL_INTRINSIC_1
  |  | 3215|    171|            {
  |  | 3216|    171|                value = stack_pointer[-1];
  |  | 3217|    171|                assert(oparg <= MAX_INTRINSIC_1);
  |  |  ------------------
  |  |  |  Branch (3217:17): [True: 171, False: 0]
  |  |  ------------------
  |  | 3218|    171|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3219|    171|                _PyFrame_StackPointerValidate(frame);
  |  | 3220|    171|                PyObject *res_o = _PyIntrinsics_UnaryFunctions[oparg].func(tstate, PyStackRef_AsPyObjectBorrow(value));
  |  | 3221|    171|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3222|    171|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3222:21): [True: 0, False: 171]
  |  |  ------------------
  |  | 3223|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3224|      0|                }
  |  | 3225|    171|                v = value;
  |  | 3226|    171|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3227|    171|            }
  |  | 3228|       |            // _POP_TOP
  |  | 3229|      0|            {
  |  | 3230|    171|                value = v;
  |  | 3231|    171|                stack_pointer[-1] = res;
  |  | 3232|    171|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (3232:17): [True: 171, False: 0]
  |  |  ------------------
  |  | 3233|    171|                _PyFrame_StackPointerValidate(frame);
  |  | 3234|    171|                PyStackRef_XCLOSE(value);
  |  | 3235|    171|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3236|    171|            }
  |  | 3237|    171|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    171|    { \
  |  |  |  |  201|    171|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    171|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    171|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    171|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    171|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    171|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    171|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    171|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 171]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    171|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    171|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    171|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    171|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    171|    }
  |  |  ------------------
  |  | 3238|    171|        }
  |  | 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|   297k|        TARGET(CALL_ISINSTANCE) {
  |  |  ------------------
  |  |  |  |  132|   297k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3296|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3297|       |            int opcode = CALL_ISINSTANCE;
  |  | 3298|       |            (void)(opcode);
  |  | 3299|       |            #endif
  |  | 3300|   297k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3301|   297k|            (void)this_instr;
  |  | 3302|   297k|            frame->instr_ptr = next_instr;
  |  | 3303|   297k|            next_instr += 4;
  |  | 3304|   297k|            INSTRUCTION_STATS(CALL_ISINSTANCE);
  |  |  ------------------
  |  |  |  |   71|   297k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3305|   297k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3306|   297k|            _PyStackRef null;
  |  | 3307|   297k|            _PyStackRef callable;
  |  | 3308|   297k|            _PyStackRef instance;
  |  | 3309|   297k|            _PyStackRef cls;
  |  | 3310|   297k|            _PyStackRef res;
  |  | 3311|       |            /* Skip 1 cache entry */
  |  | 3312|       |            /* Skip 2 cache entries */
  |  | 3313|       |            // _GUARD_THIRD_NULL
  |  | 3314|   297k|            {
  |  | 3315|   297k|                null = stack_pointer[-3];
  |  | 3316|   297k|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|   297k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   297k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   297k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3316:21): [True: 0, False: 297k]
  |  |  ------------------
  |  | 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|   297k|            }
  |  | 3322|       |            // _GUARD_CALLABLE_ISINSTANCE
  |  | 3323|   297k|            {
  |  | 3324|   297k|                callable = stack_pointer[-4];
  |  | 3325|   297k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3326|   297k|                PyInterpreterState *interp = tstate->interp;
  |  | 3327|   297k|                if (callable_o != interp->callable_cache.isinstance) {
  |  |  ------------------
  |  |  |  Branch (3327:21): [True: 0, False: 297k]
  |  |  ------------------
  |  | 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|   297k|            }
  |  | 3333|       |            // _CALL_ISINSTANCE
  |  | 3334|   297k|            {
  |  | 3335|   297k|                cls = stack_pointer[-1];
  |  | 3336|   297k|                instance = stack_pointer[-2];
  |  | 3337|   297k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|   297k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3338|   297k|                PyObject *inst_o = PyStackRef_AsPyObjectBorrow(instance);
  |  | 3339|   297k|                PyObject *cls_o = PyStackRef_AsPyObjectBorrow(cls);
  |  | 3340|   297k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3341|   297k|                _PyFrame_StackPointerValidate(frame);
  |  | 3342|   297k|                int retval = PyObject_IsInstance(inst_o, cls_o);
  |  | 3343|   297k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3344|   297k|                if (retval < 0) {
  |  |  ------------------
  |  |  |  Branch (3344:21): [True: 0, False: 297k]
  |  |  ------------------
  |  | 3345|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3346|      0|                }
  |  | 3347|   297k|                (void)null;
  |  | 3348|   297k|                stack_pointer += -1;
  |  | 3349|   297k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   297k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3350|   297k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3351|   297k|                _PyFrame_StackPointerValidate(frame);
  |  | 3352|   297k|                PyStackRef_CLOSE(cls);
  |  | 3353|   297k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3354|   297k|                stack_pointer += -1;
  |  | 3355|   297k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   297k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3356|   297k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3357|   297k|                _PyFrame_StackPointerValidate(frame);
  |  | 3358|   297k|                PyStackRef_CLOSE(instance);
  |  | 3359|   297k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3360|   297k|                stack_pointer += -2;
  |  | 3361|   297k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   297k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3362|   297k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3363|   297k|                _PyFrame_StackPointerValidate(frame);
  |  | 3364|   297k|                PyStackRef_CLOSE(callable);
  |  | 3365|   297k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3366|   297k|                res = retval ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|   277k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   277k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = retval ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|   318k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  20.3k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3366:23): [True: 277k, False: 20.3k]
  |  |  ------------------
  |  | 3367|   297k|                assert((!PyStackRef_IsNull(res)) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (3367:17): [True: 297k, False: 0]
  |  |  ------------------
  |  | 3368|   297k|            }
  |  | 3369|   297k|            stack_pointer[0] = res;
  |  | 3370|   297k|            stack_pointer += 1;
  |  | 3371|   297k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   297k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3372|   297k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   297k|    { \
  |  |  |  |  201|   297k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   297k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   297k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   297k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   297k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   297k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   297k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   297k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 297k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   297k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   297k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   297k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   297k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   297k|    }
  |  |  ------------------
  |  | 3373|   297k|        }
  |  | 3374|       |
  |  | 3375|    184|        TARGET(CALL_KW) {
  |  |  ------------------
  |  |  |  |  132|    184|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3376|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3377|       |            int opcode = CALL_KW;
  |  | 3378|       |            (void)(opcode);
  |  | 3379|       |            #endif
  |  | 3380|    184|            frame->instr_ptr = next_instr;
  |  | 3381|    184|            next_instr += 4;
  |  | 3382|    184|            INSTRUCTION_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |   71|    184|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3383|    184|            PREDICTED_CALL_KW:;
  |  | 3384|    184|            _Py_CODEUNIT* const this_instr = next_instr - 4;
  |  | 3385|    184|            (void)this_instr;
  |  | 3386|    184|            opcode = CALL_KW;
  |  |  ------------------
  |  |  |  |   66|    184|#define CALL_KW                                 53
  |  |  ------------------
  |  | 3387|    184|            _PyStackRef callable;
  |  | 3388|    184|            _PyStackRef self_or_null;
  |  | 3389|    184|            _PyStackRef *args;
  |  | 3390|    184|            _PyStackRef kwnames;
  |  | 3391|    184|            _PyStackRef res;
  |  | 3392|       |            // _SPECIALIZE_CALL_KW
  |  | 3393|    184|            {
  |  | 3394|    184|                self_or_null = stack_pointer[-2 - oparg];
  |  | 3395|    184|                callable = stack_pointer[-3 - oparg];
  |  | 3396|    184|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 3397|    184|                (void)counter;
  |  | 3398|    184|                #if ENABLE_SPECIALIZATION
  |  | 3399|    184|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    184|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 53, False: 131]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3400|     53|                    next_instr = this_instr;
  |  | 3401|     53|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3402|     53|                    _PyFrame_StackPointerValidate(frame);
  |  | 3403|     53|                    _Py_Specialize_CallKw(callable, next_instr, oparg + !PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  |  482|     53|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     53|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     53|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3404|     53|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3405|     53|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     53|    { \
  |  |  |  |  217|     53|        opcode = next_instr->op.code; \
  |  |  |  |  218|     53|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     53|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     53|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     53|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     53|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     53|    }
  |  |  ------------------
  |  | 3406|     53|                }
  |  | 3407|    184|                OPCODE_DEFERRED_INC(CALL_KW);
  |  |  ------------------
  |  |  |  |   90|    184|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 3408|    184|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|    184|    do { \
  |  |  |  |  378|    184|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|    184|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 184]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3409|    184|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 3410|    184|            }
  |  | 3411|       |            /* Skip 2 cache entries */
  |  | 3412|       |            // _MAYBE_EXPAND_METHOD_KW
  |  | 3413|    184|            {
  |  | 3414|    184|                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: 184]
  |  |  ------------------
  |  | 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|    184|            }
  |  | 3429|       |            // _DO_CALL_KW
  |  | 3430|    184|            {
  |  | 3431|    184|                kwnames = stack_pointer[-1];
  |  | 3432|    184|                args = &stack_pointer[-1 - oparg];
  |  | 3433|    184|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3434|    184|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 3435|    184|                int total_args = oparg;
  |  | 3436|    184|                _PyStackRef *arguments = args;
  |  | 3437|    184|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    184|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    184|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    184|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3437:21): [True: 4, False: 180]
  |  |  ------------------
  |  | 3438|      4|                    arguments--;
  |  | 3439|      4|                    total_args++;
  |  | 3440|      4|                }
  |  | 3441|    184|                int positional_args = total_args - (int)PyTuple_GET_SIZE(kwnames_o);
  |  |  ------------------
  |  |  |  |   27|    184|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    184|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    184|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3442|    184|                if (Py_TYPE(callable_o) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|    184|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    184|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    184|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3442:21): [True: 16, False: 168]
  |  |  ------------------
  |  | 3443|     16|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  539|    200|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (3443:21): [True: 16, False: 0]
  |  |  ------------------
  |  | 3444|     16|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (3444:21): [True: 16, False: 0]
  |  |  ------------------
  |  | 3445|     16|                {
  |  | 3446|     16|                    int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3447|     16|                    PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|     16|#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: 16, False: 0]
  |  |  ------------------
  |  | 3448|     16|                    stack_pointer[-3 - oparg] = callable;
  |  | 3449|     16|                    stack_pointer[-2 - oparg] = self_or_null;
  |  | 3450|     16|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3451|     16|                    _PyFrame_StackPointerValidate(frame);
  |  | 3452|     16|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 3453|     16|                        tstate, callable, locals,
  |  | 3454|     16|                        arguments, positional_args, kwnames_o, frame
  |  | 3455|     16|                    );
  |  | 3456|     16|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3457|     16|                    stack_pointer += -3 - oparg;
  |  | 3458|     16|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     16|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3459|     16|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3460|     16|                    _PyFrame_StackPointerValidate(frame);
  |  | 3461|     16|                    PyStackRef_CLOSE(kwnames);
  |  | 3462|     16|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 3463|     16|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (3463:25): [True: 0, False: 16]
  |  |  ------------------
  |  | 3464|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3465|      0|                    }
  |  | 3466|     16|                    assert( 4u == 1 + INLINE_CACHE_ENTRIES_CALL_KW);
  |  |  ------------------
  |  |  |  Branch (3466:21): [True: 16, Folded]
  |  |  ------------------
  |  | 3467|     16|                    frame->return_offset = 4u ;
  |  | 3468|     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 (3468:21): [True: 16, False: 0]
  |  |  |  Branch (3468:21): [True: 16, False: 0]
  |  |  ------------------
  |  | 3469|     16|                }
  |  | 3470|    168|                stack_pointer[-3 - oparg] = callable;
  |  | 3471|    168|                stack_pointer[-2 - oparg] = self_or_null;
  |  | 3472|    168|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3473|    168|                _PyFrame_StackPointerValidate(frame);
  |  | 3474|    168|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 3475|    168|                    callable,
  |  | 3476|    168|                    arguments,
  |  | 3477|    168|                    total_args,
  |  | 3478|    168|                    kwnames,
  |  | 3479|    168|                    opcode == INSTRUMENTED_CALL_KW,
  |  |  ------------------
  |  |  |  |  238|    168|#define INSTRUMENTED_CALL_KW                   250
  |  |  ------------------
  |  | 3480|    168|                    frame,
  |  | 3481|    168|                    this_instr,
  |  | 3482|    168|                    tstate);
  |  | 3483|    168|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3484|    168|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3484:21): [True: 0, False: 168]
  |  |  ------------------
  |  | 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|    168|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3490|    168|            }
  |  | 3491|      0|            stack_pointer[-3 - oparg] = res;
  |  | 3492|    168|            stack_pointer += -2 - oparg;
  |  | 3493|    168|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    168|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3494|    168|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    168|    { \
  |  |  |  |  201|    168|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    168|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    168|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    168|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    168|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    168|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    168|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    168|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 168]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    168|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    168|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    168|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    168|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    168|    }
  |  |  ------------------
  |  | 3495|    168|        }
  |  | 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)) {
  |  |  ------------------
  |  |  |  |  539|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539: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);
  |  |  ------------------
  |  |  |  |  441|      0|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|      0|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443: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|    782|        TARGET(CALL_KW_NON_PY) {
  |  |  ------------------
  |  |  |  |  132|    782|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3637|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3638|       |            int opcode = CALL_KW_NON_PY;
  |  | 3639|       |            (void)(opcode);
  |  | 3640|       |            #endif
  |  | 3641|    782|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3642|    782|            (void)this_instr;
  |  | 3643|    782|            frame->instr_ptr = next_instr;
  |  | 3644|    782|            next_instr += 4;
  |  | 3645|    782|            INSTRUCTION_STATS(CALL_KW_NON_PY);
  |  |  ------------------
  |  |  |  |   71|    782|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3646|    782|            opcode = CALL_KW_NON_PY;
  |  |  ------------------
  |  |  |  |  157|    782|#define CALL_KW_NON_PY                         155
  |  |  ------------------
  |  | 3647|    782|            static_assert(INLINE_CACHE_ENTRIES_CALL_KW == 3, "incorrect cache size");
  |  | 3648|    782|            _PyStackRef callable;
  |  | 3649|    782|            _PyStackRef self_or_null;
  |  | 3650|    782|            _PyStackRef *args;
  |  | 3651|    782|            _PyStackRef kwnames;
  |  | 3652|    782|            _PyStackRef res;
  |  | 3653|       |            /* Skip 1 cache entry */
  |  | 3654|       |            /* Skip 2 cache entries */
  |  | 3655|       |            // _CHECK_IS_NOT_PY_CALLABLE_KW
  |  | 3656|    782|            {
  |  | 3657|    782|                callable = stack_pointer[-3 - oparg];
  |  | 3658|    782|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3659|    782|                if (PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|    782|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    782|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    782|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    782|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 782]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|    782|                if (Py_TYPE(callable_o) == &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|    782|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    782|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    782|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3664:21): [True: 0, False: 782]
  |  |  ------------------
  |  | 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|    782|            }
  |  | 3670|       |            // _CALL_KW_NON_PY
  |  | 3671|    782|            {
  |  | 3672|    782|                kwnames = stack_pointer[-1];
  |  | 3673|    782|                args = &stack_pointer[-1 - oparg];
  |  | 3674|    782|                self_or_null = stack_pointer[-2 - oparg];
  |  | 3675|    782|                #if TIER_ONE
  |  | 3676|    782|                assert(opcode != INSTRUMENTED_CALL);
  |  |  ------------------
  |  |  |  Branch (3676:17): [True: 782, False: 0]
  |  |  ------------------
  |  | 3677|    782|                #endif
  |  | 3678|    782|                int total_args = oparg;
  |  | 3679|    782|                _PyStackRef *arguments = args;
  |  | 3680|    782|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|    782|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    782|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    782|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3680:21): [True: 0, False: 782]
  |  |  ------------------
  |  | 3681|      0|                    arguments--;
  |  | 3682|      0|                    total_args++;
  |  | 3683|      0|                }
  |  | 3684|    782|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3685|    782|                _PyFrame_StackPointerValidate(frame);
  |  | 3686|    782|                PyObject *res_o = _Py_VectorCall_StackRefSteal(
  |  | 3687|    782|                    callable,
  |  | 3688|    782|                    arguments,
  |  | 3689|    782|                    total_args,
  |  | 3690|    782|                    kwnames);
  |  | 3691|    782|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3692|    782|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3692:21): [True: 178, False: 604]
  |  |  ------------------
  |  | 3693|    178|                    stack_pointer += -3 - oparg;
  |  | 3694|    178|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    178|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3695|    178|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    178|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3696|      0|                }
  |  | 3697|    604|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3698|    604|            }
  |  | 3699|       |            // _CHECK_PERIODIC_AT_END
  |  | 3700|      0|            {
  |  | 3701|    604|                stack_pointer[-3 - oparg] = res;
  |  | 3702|    604|                stack_pointer += -2 - oparg;
  |  | 3703|    604|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    604|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3704|    604|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3705|    604|                _PyFrame_StackPointerValidate(frame);
  |  | 3706|    604|                int err = check_periodics_at_end(tstate, frame);
  |  | 3707|    604|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3708|    604|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (3708:21): [True: 0, False: 604]
  |  |  ------------------
  |  | 3709|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3710|      0|                }
  |  | 3711|    604|            }
  |  | 3712|    604|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    604|    { \
  |  |  |  |  201|    604|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    604|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    604|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    604|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    604|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    604|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    604|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    604|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 604]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    604|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    604|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    604|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    604|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    604|    }
  |  |  ------------------
  |  | 3713|    604|        }
  |  | 3714|       |
  |  | 3715|  2.80k|        TARGET(CALL_KW_PY) {
  |  |  ------------------
  |  |  |  |  132|  2.80k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3716|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3717|       |            int opcode = CALL_KW_PY;
  |  | 3718|       |            (void)(opcode);
  |  | 3719|       |            #endif
  |  | 3720|  2.80k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3721|  2.80k|            (void)this_instr;
  |  | 3722|  2.80k|            frame->instr_ptr = next_instr;
  |  | 3723|  2.80k|            next_instr += 4;
  |  | 3724|  2.80k|            INSTRUCTION_STATS(CALL_KW_PY);
  |  |  ------------------
  |  |  |  |   71|  2.80k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3725|  2.80k|            static_assert(INLINE_CACHE_ENTRIES_CALL_KW == 3, "incorrect cache size");
  |  | 3726|  2.80k|            _PyStackRef callable;
  |  | 3727|  2.80k|            _PyStackRef self_or_null;
  |  | 3728|  2.80k|            _PyStackRef *args;
  |  | 3729|  2.80k|            _PyStackRef kwnames;
  |  | 3730|  2.80k|            _PyStackRef new_frame;
  |  | 3731|       |            /* Skip 1 cache entry */
  |  | 3732|       |            // _CHECK_PEP_523
  |  | 3733|  2.80k|            {
  |  | 3734|  2.80k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|  2.80k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 2.80k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  2.80k|            }
  |  | 3740|       |            // _CHECK_FUNCTION_VERSION_KW
  |  | 3741|  2.80k|            {
  |  | 3742|  2.80k|                callable = stack_pointer[-3 - oparg];
  |  | 3743|  2.80k|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 3744|  2.80k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3745|  2.80k|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  2.80k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  2.80k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.80k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3745:21): [True: 0, False: 2.80k]
  |  |  ------------------
  |  | 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|  2.80k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 3751|  2.80k|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (3751:21): [True: 0, False: 2.80k]
  |  |  ------------------
  |  | 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|  2.80k|            }
  |  | 3757|       |            // _CHECK_RECURSION_REMAINING
  |  | 3758|  2.80k|            {
  |  | 3759|  2.80k|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (3759:21): [True: 0, False: 2.80k]
  |  |  ------------------
  |  | 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|  2.80k|            }
  |  | 3765|       |            // _PY_FRAME_KW
  |  | 3766|  2.80k|            {
  |  | 3767|  2.80k|                kwnames = stack_pointer[-1];
  |  | 3768|  2.80k|                args = &stack_pointer[-1 - oparg];
  |  | 3769|  2.80k|                self_or_null = stack_pointer[-2 - oparg];
  |  | 3770|  2.80k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3771|  2.80k|                int total_args = oparg;
  |  | 3772|  2.80k|                _PyStackRef *arguments = args;
  |  | 3773|  2.80k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  2.80k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  2.80k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.80k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3773:21): [True: 0, False: 2.80k]
  |  |  ------------------
  |  | 3774|      0|                    arguments--;
  |  | 3775|      0|                    total_args++;
  |  | 3776|      0|                }
  |  | 3777|  2.80k|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 3778|  2.80k|                int positional_args = total_args - (int)PyTuple_GET_SIZE(kwnames_o);
  |  |  ------------------
  |  |  |  |   27|  2.80k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.80k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3779|  2.80k|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  |  ------------------
  |  |  |  Branch (3779:17): [True: 2.80k, False: 0]
  |  |  ------------------
  |  | 3780|  2.80k|                int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|  2.80k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.80k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3781|  2.80k|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|  2.80k|#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: 2.80k, False: 0]
  |  |  ------------------
  |  | 3782|  2.80k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3783|  2.80k|                _PyFrame_StackPointerValidate(frame);
  |  | 3784|  2.80k|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 3785|  2.80k|                    tstate, callable, locals,
  |  | 3786|  2.80k|                    arguments, positional_args, kwnames_o, frame
  |  | 3787|  2.80k|                );
  |  | 3788|  2.80k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3789|  2.80k|                stack_pointer += -1;
  |  | 3790|  2.80k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.80k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3791|  2.80k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3792|  2.80k|                _PyFrame_StackPointerValidate(frame);
  |  | 3793|  2.80k|                PyStackRef_CLOSE(kwnames);
  |  | 3794|  2.80k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3795|  2.80k|                stack_pointer += -2 - oparg;
  |  | 3796|  2.80k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.80k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3797|  2.80k|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (3797:21): [True: 0, False: 2.80k]
  |  |  ------------------
  |  | 3798|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3799|      0|                }
  |  | 3800|  2.80k|                new_frame = PyStackRef_Wrap(temp);
  |  | 3801|  2.80k|            }
  |  | 3802|       |            // _SAVE_RETURN_OFFSET
  |  | 3803|      0|            {
  |  | 3804|  2.80k|                #if TIER_ONE
  |  | 3805|  2.80k|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 3806|  2.80k|                #endif
  |  | 3807|       |                #if TIER_TWO
  |  | 3808|       |                frame->return_offset = oparg;
  |  | 3809|       |                #endif
  |  | 3810|  2.80k|            }
  |  | 3811|       |            // _PUSH_FRAME
  |  | 3812|  2.80k|            {
  |  | 3813|  2.80k|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (3813:17): [True: 2.80k, False: 0]
  |  |  ------------------
  |  | 3814|  2.80k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 3815|  2.80k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3816|  2.80k|                _PyFrame_StackPointerValidate(frame);
  |  | 3817|  2.80k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (3817:17): [True: 2.80k, False: 0]
  |  |  |  Branch (3817:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 3818|  2.80k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  2.80k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 3819|  2.80k|                frame = tstate->current_frame = temp;
  |  | 3820|  2.80k|                tstate->py_recursion_remaining--;
  |  | 3821|  2.80k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3822|  2.80k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3823|  2.80k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|  2.80k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|  2.80k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|  2.80k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 2.80k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3824|       |                #ifdef Py_DEBUG
  |  | 3825|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 3826|       |                #endif
  |  | 3827|  2.80k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  2.80k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 3828|  2.80k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  2.80k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 3829|  2.80k|            }
  |  | 3830|  2.80k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.80k|    { \
  |  |  |  |  201|  2.80k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.80k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.80k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.80k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.80k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.80k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.80k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.80k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.80k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.80k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.80k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.80k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.80k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.80k|    }
  |  |  ------------------
  |  | 3831|  2.80k|        }
  |  | 3832|       |
  |  | 3833|  1.55M|        TARGET(CALL_LEN) {
  |  |  ------------------
  |  |  |  |  132|  1.55M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3834|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3835|       |            int opcode = CALL_LEN;
  |  | 3836|       |            (void)(opcode);
  |  | 3837|       |            #endif
  |  | 3838|  1.55M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3839|  1.55M|            (void)this_instr;
  |  | 3840|  1.55M|            frame->instr_ptr = next_instr;
  |  | 3841|  1.55M|            next_instr += 4;
  |  | 3842|  1.55M|            INSTRUCTION_STATS(CALL_LEN);
  |  |  ------------------
  |  |  |  |   71|  1.55M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3843|  1.55M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3844|  1.55M|            _PyStackRef null;
  |  | 3845|  1.55M|            _PyStackRef callable;
  |  | 3846|  1.55M|            _PyStackRef arg;
  |  | 3847|  1.55M|            _PyStackRef res;
  |  | 3848|  1.55M|            _PyStackRef a;
  |  | 3849|  1.55M|            _PyStackRef c;
  |  | 3850|  1.55M|            _PyStackRef value;
  |  | 3851|       |            /* Skip 1 cache entry */
  |  | 3852|       |            /* Skip 2 cache entries */
  |  | 3853|       |            // _GUARD_NOS_NULL
  |  | 3854|  1.55M|            {
  |  | 3855|  1.55M|                null = stack_pointer[-2];
  |  | 3856|  1.55M|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|  1.55M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.55M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.55M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3856:21): [True: 0, False: 1.55M]
  |  |  ------------------
  |  | 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|  1.55M|            }
  |  | 3862|       |            // _GUARD_CALLABLE_LEN
  |  | 3863|  1.55M|            {
  |  | 3864|  1.55M|                callable = stack_pointer[-3];
  |  | 3865|  1.55M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3866|  1.55M|                PyInterpreterState *interp = tstate->interp;
  |  | 3867|  1.55M|                if (callable_o != interp->callable_cache.len) {
  |  |  ------------------
  |  |  |  Branch (3867:21): [True: 0, False: 1.55M]
  |  |  ------------------
  |  | 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|  1.55M|            }
  |  | 3873|       |            // _CALL_LEN
  |  | 3874|  1.55M|            {
  |  | 3875|  1.55M|                arg = stack_pointer[-1];
  |  | 3876|  1.55M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.55M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3877|  1.55M|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 3878|  1.55M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3879|  1.55M|                _PyFrame_StackPointerValidate(frame);
  |  | 3880|  1.55M|                Py_ssize_t len_i = PyObject_Length(arg_o);
  |  |  ------------------
  |  |  |  |  353|  1.55M|#define PyObject_Length PyObject_Size
  |  |  ------------------
  |  | 3881|  1.55M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3882|  1.55M|                if (len_i < 0) {
  |  |  ------------------
  |  |  |  Branch (3882:21): [True: 0, False: 1.55M]
  |  |  ------------------
  |  | 3883|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3884|      0|                }
  |  | 3885|  1.55M|                PyObject *res_o = PyLong_FromSsize_t(len_i);
  |  | 3886|  1.55M|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (3886:17): [True: 1.55M, False: 0]
  |  |  ------------------
  |  | 3887|  1.55M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3887:21): [True: 0, False: 1.55M]
  |  |  ------------------
  |  | 3888|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3889|      0|                }
  |  | 3890|  1.55M|                a = arg;
  |  | 3891|  1.55M|                c = callable;
  |  | 3892|  1.55M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3893|  1.55M|            }
  |  | 3894|       |            // _POP_TOP
  |  | 3895|      0|            {
  |  | 3896|  1.55M|                value = c;
  |  | 3897|  1.55M|                stack_pointer[-3] = res;
  |  | 3898|  1.55M|                stack_pointer[-2] = a;
  |  | 3899|  1.55M|                stack_pointer += -1;
  |  | 3900|  1.55M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.55M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3901|  1.55M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3902|  1.55M|                _PyFrame_StackPointerValidate(frame);
  |  | 3903|  1.55M|                PyStackRef_XCLOSE(value);
  |  | 3904|  1.55M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3905|  1.55M|            }
  |  | 3906|       |            // _POP_TOP
  |  | 3907|  1.55M|            {
  |  | 3908|  1.55M|                value = a;
  |  | 3909|  1.55M|                stack_pointer += -1;
  |  | 3910|  1.55M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.55M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3911|  1.55M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3912|  1.55M|                _PyFrame_StackPointerValidate(frame);
  |  | 3913|  1.55M|                PyStackRef_XCLOSE(value);
  |  | 3914|  1.55M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 3915|  1.55M|            }
  |  | 3916|  1.55M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.55M|    { \
  |  |  |  |  201|  1.55M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.55M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.55M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.55M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.55M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.55M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.55M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.55M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.55M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.55M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.55M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.55M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.55M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.55M|    }
  |  |  ------------------
  |  | 3917|  1.55M|        }
  |  | 3918|       |
  |  | 3919|   585k|        TARGET(CALL_LIST_APPEND) {
  |  |  ------------------
  |  |  |  |  132|   585k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3920|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3921|       |            int opcode = CALL_LIST_APPEND;
  |  | 3922|       |            (void)(opcode);
  |  | 3923|       |            #endif
  |  | 3924|   585k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3925|   585k|            (void)this_instr;
  |  | 3926|   585k|            frame->instr_ptr = next_instr;
  |  | 3927|   585k|            next_instr += 4;
  |  | 3928|   585k|            INSTRUCTION_STATS(CALL_LIST_APPEND);
  |  |  ------------------
  |  |  |  |   71|   585k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3929|   585k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3930|   585k|            _PyStackRef callable;
  |  | 3931|   585k|            _PyStackRef nos;
  |  | 3932|   585k|            _PyStackRef self;
  |  | 3933|   585k|            _PyStackRef arg;
  |  | 3934|   585k|            _PyStackRef none;
  |  | 3935|   585k|            _PyStackRef c;
  |  | 3936|   585k|            _PyStackRef s;
  |  | 3937|   585k|            _PyStackRef value;
  |  | 3938|       |            /* Skip 1 cache entry */
  |  | 3939|       |            /* Skip 2 cache entries */
  |  | 3940|       |            // _GUARD_CALLABLE_LIST_APPEND
  |  | 3941|   585k|            {
  |  | 3942|   585k|                callable = stack_pointer[-3];
  |  | 3943|   585k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3944|   585k|                PyInterpreterState *interp = tstate->interp;
  |  | 3945|   585k|                if (callable_o != interp->callable_cache.list_append) {
  |  |  ------------------
  |  |  |  Branch (3945:21): [True: 0, False: 585k]
  |  |  ------------------
  |  | 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|   585k|            }
  |  | 3951|       |            // _GUARD_NOS_NOT_NULL
  |  | 3952|   585k|            {
  |  | 3953|   585k|                nos = stack_pointer[-2];
  |  | 3954|   585k|                if (PyStackRef_IsNull(nos)) {
  |  |  ------------------
  |  |  |  |  482|   585k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   585k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   585k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 585k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|   585k|            }
  |  | 3960|       |            // _GUARD_NOS_LIST
  |  | 3961|   585k|            {
  |  | 3962|   585k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 3963|   585k|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|   585k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   585k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   585k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   585k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3963:21): [True: 0, False: 585k]
  |  |  ------------------
  |  | 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|   585k|            }
  |  | 3969|       |            // _CALL_LIST_APPEND
  |  | 3970|   585k|            {
  |  | 3971|   585k|                arg = stack_pointer[-1];
  |  | 3972|   585k|                self = nos;
  |  | 3973|   585k|                assert(oparg == 1);
  |  |  ------------------
  |  |  |  Branch (3973:17): [True: 585k, False: 0]
  |  |  ------------------
  |  | 3974|   585k|                PyObject *self_o = PyStackRef_AsPyObjectBorrow(self);
  |  | 3975|   585k|                if (!LOCK_OBJECT(self_o)) {
  |  |  ------------------
  |  |  |  |  322|   585k|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (3975:21): [Folded, False: 585k]
  |  |  ------------------
  |  | 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|   585k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|   585k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3981|   585k|                int err = _PyList_AppendTakeRef((PyListObject *)self_o, PyStackRef_AsPyObjectSteal(arg));
  |  | 3982|   585k|                UNLOCK_OBJECT(self_o);
  |  |  ------------------
  |  |  |  |  323|   585k|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  | 3983|   585k|                if (err) {
  |  |  ------------------
  |  |  |  Branch (3983:21): [True: 0, False: 585k]
  |  |  ------------------
  |  | 3984|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3985|      0|                }
  |  | 3986|   585k|                c = callable;
  |  | 3987|   585k|                s = self;
  |  | 3988|   585k|                none = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  485|   585k|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   585k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3989|   585k|            }
  |  | 3990|       |            // _POP_TOP
  |  | 3991|      0|            {
  |  | 3992|   585k|                value = s;
  |  | 3993|   585k|                stack_pointer[-3] = none;
  |  | 3994|   585k|                stack_pointer[-2] = c;
  |  | 3995|   585k|                stack_pointer += -1;
  |  | 3996|   585k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   585k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3997|   585k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3998|   585k|                _PyFrame_StackPointerValidate(frame);
  |  | 3999|   585k|                PyStackRef_XCLOSE(value);
  |  | 4000|   585k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4001|   585k|            }
  |  | 4002|       |            // _POP_TOP
  |  | 4003|   585k|            {
  |  | 4004|   585k|                value = c;
  |  | 4005|   585k|                stack_pointer += -1;
  |  | 4006|   585k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   585k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4007|   585k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4008|   585k|                _PyFrame_StackPointerValidate(frame);
  |  | 4009|   585k|                PyStackRef_XCLOSE(value);
  |  | 4010|   585k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4011|   585k|            }
  |  | 4012|   585k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   585k|    { \
  |  |  |  |  201|   585k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   585k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   585k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   585k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   585k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   585k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   585k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   585k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 585k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   585k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   585k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   585k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   585k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   585k|    }
  |  |  ------------------
  |  | 4013|   585k|        }
  |  | 4014|       |
  |  | 4015|  1.19M|        TARGET(CALL_METHOD_DESCRIPTOR_FAST) {
  |  |  ------------------
  |  |  |  |  132|  1.19M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4016|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4017|       |            int opcode = CALL_METHOD_DESCRIPTOR_FAST;
  |  | 4018|       |            (void)(opcode);
  |  | 4019|       |            #endif
  |  | 4020|  1.19M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4021|  1.19M|            (void)this_instr;
  |  | 4022|  1.19M|            frame->instr_ptr = next_instr;
  |  | 4023|  1.19M|            next_instr += 4;
  |  | 4024|  1.19M|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_FAST);
  |  |  ------------------
  |  |  |  |   71|  1.19M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4025|  1.19M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4026|  1.19M|            _PyStackRef callable;
  |  | 4027|  1.19M|            _PyStackRef self_or_null;
  |  | 4028|  1.19M|            _PyStackRef *args;
  |  | 4029|  1.19M|            _PyStackRef value;
  |  | 4030|       |            /* Skip 1 cache entry */
  |  | 4031|       |            /* Skip 2 cache entries */
  |  | 4032|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_FAST
  |  | 4033|  1.19M|            {
  |  | 4034|  1.19M|                args = &stack_pointer[-oparg];
  |  | 4035|  1.19M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4036|  1.19M|                callable = stack_pointer[-2 - oparg];
  |  | 4037|  1.19M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4038|  1.19M|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4039|  1.19M|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|  1.19M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4039:21): [True: 0, False: 1.19M]
  |  |  ------------------
  |  | 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|  1.19M|                if (method->d_method->ml_flags != METH_FASTCALL) {
  |  |  ------------------
  |  |  |  |  115|  1.19M|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |  |  Branch (4044:21): [True: 0, False: 1.19M]
  |  |  ------------------
  |  | 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|  1.19M|                int total_args = oparg;
  |  | 4050|  1.19M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.19M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.19M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.19M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4050:21): [True: 1.19M, False: 0]
  |  |  ------------------
  |  | 4051|  1.19M|                    total_args++;
  |  | 4052|  1.19M|                }
  |  | 4053|  1.19M|                if (total_args == 0) {
  |  |  ------------------
  |  |  |  Branch (4053:21): [True: 0, False: 1.19M]
  |  |  ------------------
  |  | 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|  1.19M|                PyObject *self = PyStackRef_AsPyObjectBorrow(
  |  | 4059|  1.19M|                    PyStackRef_IsNull(self_or_null) ? args[0] : self_or_null);
  |  |  ------------------
  |  |  |  |  482|  1.19M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.19M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.19M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 1.19M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4060|  1.19M|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|  1.19M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4060:21): [True: 24, False: 1.19M]
  |  |  ------------------
  |  | 4061|     24|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|     24|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4062|     24|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4062:21): [True: 24, False: 0]
  |  |  ------------------
  |  | 4063|     24|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     24|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4064|      0|                }
  |  | 4065|  1.19M|            }
  |  | 4066|       |            // _CALL_METHOD_DESCRIPTOR_FAST
  |  | 4067|  1.19M|            {
  |  | 4068|  1.19M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4069|  1.19M|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4070|  1.19M|                int total_args = oparg;
  |  | 4071|  1.19M|                _PyStackRef *arguments = args;
  |  | 4072|  1.19M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.19M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.19M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.19M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4072:21): [True: 1.19M, False: 0]
  |  |  ------------------
  |  | 4073|  1.19M|                    arguments--;
  |  | 4074|  1.19M|                    total_args++;
  |  | 4075|  1.19M|                }
  |  | 4076|  1.19M|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4077|  1.19M|                assert(self != NULL);
  |  |  ------------------
  |  |  |  Branch (4077:17): [True: 1.19M, False: 0]
  |  |  ------------------
  |  | 4078|  1.19M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.19M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4079|  1.19M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4080|  1.19M|                _PyFrame_StackPointerValidate(frame);
  |  | 4081|  1.19M|                PyCFunctionFast cfunc = _PyCFunctionFast_CAST(method->d_method->ml_meth);
  |  |  ------------------
  |  |  |  |   58|  1.19M|    _Py_FUNC_CAST(PyCFunctionFast, func)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  1.19M|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4082|  1.19M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4083|  1.19M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4083:17): [True: 1.19M, False: 0]
  |  |  ------------------
  |  | 4084|  1.19M|                _PyFrame_StackPointerValidate(frame);
  |  | 4085|  1.19M|                PyObject *res_o = _PyCallMethodDescriptorFast_StackRef(
  |  | 4086|  1.19M|                    callable,
  |  | 4087|  1.19M|                    cfunc,
  |  | 4088|  1.19M|                    self,
  |  | 4089|  1.19M|                    arguments,
  |  | 4090|  1.19M|                    total_args
  |  | 4091|  1.19M|                );
  |  | 4092|  1.19M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4093|  1.19M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4093:21): [True: 0, False: 1.19M]
  |  |  ------------------
  |  | 4094|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4095|      0|                }
  |  | 4096|  1.19M|                _PyStackRef temp = callable;
  |  | 4097|  1.19M|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4098|  1.19M|                stack_pointer[-2 - oparg] = callable;
  |  | 4099|  1.19M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4099:17): [True: 1.19M, False: 0]
  |  |  ------------------
  |  | 4100|  1.19M|                _PyFrame_StackPointerValidate(frame);
  |  | 4101|  1.19M|                PyStackRef_CLOSE(temp);
  |  | 4102|  1.19M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4103|  1.19M|            }
  |  | 4104|       |            // _POP_TOP_OPARG
  |  | 4105|      0|            {
  |  | 4106|  1.19M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4106:17): [True: 1.19M, False: 0]
  |  |  ------------------
  |  | 4107|  1.19M|                _PyFrame_StackPointerValidate(frame);
  |  | 4108|  1.19M|                _PyStackRef_CloseStack(args, oparg);
  |  | 4109|  1.19M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4110|  1.19M|            }
  |  | 4111|       |            // _POP_TOP
  |  | 4112|      0|            {
  |  | 4113|  1.19M|                value = self_or_null;
  |  | 4114|  1.19M|                stack_pointer += -1 - oparg;
  |  | 4115|  1.19M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.19M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4116|  1.19M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4117|  1.19M|                _PyFrame_StackPointerValidate(frame);
  |  | 4118|  1.19M|                PyStackRef_XCLOSE(value);
  |  | 4119|  1.19M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4120|  1.19M|            }
  |  | 4121|       |            // _CHECK_PERIODIC_AT_END
  |  | 4122|  1.19M|            {
  |  | 4123|  1.19M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4123:17): [True: 1.19M, False: 0]
  |  |  ------------------
  |  | 4124|  1.19M|                _PyFrame_StackPointerValidate(frame);
  |  | 4125|  1.19M|                int err = check_periodics_at_end(tstate, frame);
  |  | 4126|  1.19M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4127|  1.19M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4127:21): [True: 0, False: 1.19M]
  |  |  ------------------
  |  | 4128|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4129|      0|                }
  |  | 4130|  1.19M|            }
  |  | 4131|  1.19M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.19M|    { \
  |  |  |  |  201|  1.19M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.19M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.19M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.19M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.19M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.19M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.19M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.19M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.19M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.19M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.19M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.19M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.19M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.19M|    }
  |  |  ------------------
  |  | 4132|  1.19M|        }
  |  | 4133|       |
  |  | 4134|  73.7k|        TARGET(CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS) {
  |  |  ------------------
  |  |  |  |  132|  73.7k|#  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|  73.7k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4140|  73.7k|            (void)this_instr;
  |  | 4141|  73.7k|            frame->instr_ptr = next_instr;
  |  | 4142|  73.7k|            next_instr += 4;
  |  | 4143|  73.7k|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS);
  |  |  ------------------
  |  |  |  |   71|  73.7k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4144|  73.7k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4145|  73.7k|            _PyStackRef callable;
  |  | 4146|  73.7k|            _PyStackRef self_or_null;
  |  | 4147|  73.7k|            _PyStackRef *args;
  |  | 4148|  73.7k|            _PyStackRef value;
  |  | 4149|       |            /* Skip 1 cache entry */
  |  | 4150|       |            /* Skip 2 cache entries */
  |  | 4151|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS
  |  | 4152|  73.7k|            {
  |  | 4153|  73.7k|                args = &stack_pointer[-oparg];
  |  | 4154|  73.7k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4155|  73.7k|                callable = stack_pointer[-2 - oparg];
  |  | 4156|  73.7k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4157|  73.7k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4158|  73.7k|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|  73.7k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  73.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  73.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4158:21): [True: 0, False: 73.7k]
  |  |  ------------------
  |  | 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|  73.7k|                if (method->d_method->ml_flags != (METH_FASTCALL|METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |  115|  73.7k|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |                               if (method->d_method->ml_flags != (METH_FASTCALL|METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |   96|  73.7k|#define METH_KEYWORDS 0x0002
  |  |  ------------------
  |  |  |  Branch (4163:21): [True: 0, False: 73.7k]
  |  |  ------------------
  |  | 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|  73.7k|                int total_args = oparg;
  |  | 4169|  73.7k|                _PyStackRef *arguments = args;
  |  | 4170|  73.7k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  73.7k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  73.7k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  73.7k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4170:21): [True: 73.7k, False: 0]
  |  |  ------------------
  |  | 4171|  73.7k|                    arguments--;
  |  | 4172|  73.7k|                    total_args++;
  |  | 4173|  73.7k|                }
  |  | 4174|  73.7k|                if (total_args == 0) {
  |  |  ------------------
  |  |  |  Branch (4174:21): [True: 0, False: 73.7k]
  |  |  ------------------
  |  | 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|  73.7k|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4180|  73.7k|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|  73.7k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  73.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  73.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4180:21): [True: 0, False: 73.7k]
  |  |  ------------------
  |  | 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|  73.7k|            }
  |  | 4186|       |            // _CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS
  |  | 4187|  73.7k|            {
  |  | 4188|  73.7k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4189|  73.7k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4190|  73.7k|                int total_args = oparg;
  |  | 4191|  73.7k|                _PyStackRef *arguments = args;
  |  | 4192|  73.7k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  73.7k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  73.7k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  73.7k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4192:21): [True: 73.7k, False: 0]
  |  |  ------------------
  |  | 4193|  73.7k|                    arguments--;
  |  | 4194|  73.7k|                    total_args++;
  |  | 4195|  73.7k|                }
  |  | 4196|  73.7k|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4197|  73.7k|                assert(self != NULL);
  |  |  ------------------
  |  |  |  Branch (4197:17): [True: 73.7k, False: 0]
  |  |  ------------------
  |  | 4198|  73.7k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  73.7k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4199|  73.7k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4200|  73.7k|                _PyFrame_StackPointerValidate(frame);
  |  | 4201|  73.7k|                PyCFunctionFastWithKeywords cfunc = _PyCFunctionFastWithKeywords_CAST(method->d_method->ml_meth);
  |  |  ------------------
  |  |  |  |   62|  73.7k|    _Py_FUNC_CAST(PyCFunctionFastWithKeywords, func)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  73.7k|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  73.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4202|  73.7k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4203|  73.7k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4203:17): [True: 73.7k, False: 0]
  |  |  ------------------
  |  | 4204|  73.7k|                _PyFrame_StackPointerValidate(frame);
  |  | 4205|  73.7k|                PyObject *res_o = _PyCallMethodDescriptorFastWithKeywords_StackRef(
  |  | 4206|  73.7k|                    callable,
  |  | 4207|  73.7k|                    cfunc,
  |  | 4208|  73.7k|                    self,
  |  | 4209|  73.7k|                    arguments,
  |  | 4210|  73.7k|                    total_args
  |  | 4211|  73.7k|                );
  |  | 4212|  73.7k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4213|  73.7k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4213:21): [True: 35.8k, False: 37.9k]
  |  |  ------------------
  |  | 4214|  35.8k|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|  35.8k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4215|      0|                }
  |  | 4216|  37.9k|                _PyStackRef temp = callable;
  |  | 4217|  37.9k|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4218|  37.9k|                stack_pointer[-2 - oparg] = callable;
  |  | 4219|  37.9k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4219:17): [True: 37.9k, False: 0]
  |  |  ------------------
  |  | 4220|  37.9k|                _PyFrame_StackPointerValidate(frame);
  |  | 4221|  37.9k|                PyStackRef_CLOSE(temp);
  |  | 4222|  37.9k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4223|  37.9k|            }
  |  | 4224|       |            // _POP_TOP_OPARG
  |  | 4225|      0|            {
  |  | 4226|  37.9k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4226:17): [True: 37.9k, False: 0]
  |  |  ------------------
  |  | 4227|  37.9k|                _PyFrame_StackPointerValidate(frame);
  |  | 4228|  37.9k|                _PyStackRef_CloseStack(args, oparg);
  |  | 4229|  37.9k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4230|  37.9k|            }
  |  | 4231|       |            // _POP_TOP
  |  | 4232|      0|            {
  |  | 4233|  37.9k|                value = self_or_null;
  |  | 4234|  37.9k|                stack_pointer += -1 - oparg;
  |  | 4235|  37.9k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  37.9k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4236|  37.9k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4237|  37.9k|                _PyFrame_StackPointerValidate(frame);
  |  | 4238|  37.9k|                PyStackRef_XCLOSE(value);
  |  | 4239|  37.9k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4240|  37.9k|            }
  |  | 4241|       |            // _CHECK_PERIODIC_AT_END
  |  | 4242|  37.9k|            {
  |  | 4243|  37.9k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4243:17): [True: 37.9k, False: 0]
  |  |  ------------------
  |  | 4244|  37.9k|                _PyFrame_StackPointerValidate(frame);
  |  | 4245|  37.9k|                int err = check_periodics_at_end(tstate, frame);
  |  | 4246|  37.9k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4247|  37.9k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4247:21): [True: 0, False: 37.9k]
  |  |  ------------------
  |  | 4248|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4249|      0|                }
  |  | 4250|  37.9k|            }
  |  | 4251|  37.9k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  37.9k|    { \
  |  |  |  |  201|  37.9k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  37.9k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  37.9k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  37.9k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  37.9k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  37.9k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  37.9k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  37.9k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 37.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  37.9k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  37.9k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  37.9k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  37.9k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  37.9k|    }
  |  |  ------------------
  |  | 4252|  37.9k|        }
  |  | 4253|       |
  |  | 4254|   727k|        TARGET(CALL_METHOD_DESCRIPTOR_NOARGS) {
  |  |  ------------------
  |  |  |  |  132|   727k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4255|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4256|       |            int opcode = CALL_METHOD_DESCRIPTOR_NOARGS;
  |  | 4257|       |            (void)(opcode);
  |  | 4258|       |            #endif
  |  | 4259|   727k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4260|   727k|            (void)this_instr;
  |  | 4261|   727k|            frame->instr_ptr = next_instr;
  |  | 4262|   727k|            next_instr += 4;
  |  | 4263|   727k|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_NOARGS);
  |  |  ------------------
  |  |  |  |   71|   727k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4264|   727k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4265|   727k|            _PyStackRef callable;
  |  | 4266|   727k|            _PyStackRef self_or_null;
  |  | 4267|   727k|            _PyStackRef *args;
  |  | 4268|   727k|            _PyStackRef res;
  |  | 4269|   727k|            _PyStackRef c;
  |  | 4270|   727k|            _PyStackRef s;
  |  | 4271|   727k|            _PyStackRef value;
  |  | 4272|       |            /* Skip 1 cache entry */
  |  | 4273|       |            /* Skip 2 cache entries */
  |  | 4274|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_NOARGS
  |  | 4275|   727k|            {
  |  | 4276|   727k|                args = &stack_pointer[-oparg];
  |  | 4277|   727k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4278|   727k|                callable = stack_pointer[-2 - oparg];
  |  | 4279|   727k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4280|   727k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4281|   727k|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|   727k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   727k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   727k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4281:21): [True: 0, False: 727k]
  |  |  ------------------
  |  | 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|   727k|                if (method->d_method->ml_flags != METH_NOARGS) {
  |  |  ------------------
  |  |  |  |   98|   727k|#define METH_NOARGS   0x0004
  |  |  ------------------
  |  |  |  Branch (4286:21): [True: 0, False: 727k]
  |  |  ------------------
  |  | 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|   727k|                int total_args = oparg;
  |  | 4292|   727k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|   727k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   727k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   727k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4292:21): [True: 727k, False: 0]
  |  |  ------------------
  |  | 4293|   727k|                    total_args++;
  |  | 4294|   727k|                }
  |  | 4295|   727k|                if (total_args != 1) {
  |  |  ------------------
  |  |  |  Branch (4295:21): [True: 0, False: 727k]
  |  |  ------------------
  |  | 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|   727k|                PyObject *self = PyStackRef_AsPyObjectBorrow(
  |  | 4301|   727k|                    PyStackRef_IsNull(self_or_null) ? args[0] : self_or_null);
  |  |  ------------------
  |  |  |  |  482|   727k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   727k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   727k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 727k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4302|   727k|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|   727k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   727k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   727k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4302:21): [True: 91, False: 727k]
  |  |  ------------------
  |  | 4303|     91|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|     91|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4304|     91|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4304:21): [True: 91, False: 0]
  |  |  ------------------
  |  | 4305|     91|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     91|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4306|      0|                }
  |  | 4307|   727k|            }
  |  | 4308|       |            // _CHECK_RECURSION_LIMIT
  |  | 4309|   727k|            {
  |  | 4310|   727k|                if (_Py_ReachedRecursionLimit(tstate)) {
  |  |  ------------------
  |  |  |  Branch (4310:21): [True: 0, False: 727k]
  |  |  ------------------
  |  | 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|   727k|            }
  |  | 4316|       |            // _CALL_METHOD_DESCRIPTOR_NOARGS
  |  | 4317|   727k|            {
  |  | 4318|   727k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4319|   727k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4320|   727k|                assert(oparg == 1 || !PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  Branch (4320:17): [True: 0, False: 727k]
  |  |  |  Branch (4320:17): [True: 727k, False: 0]
  |  |  ------------------
  |  | 4321|   727k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|   727k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   727k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   727k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4321:21): [True: 727k, False: 0]
  |  |  ------------------
  |  | 4322|   727k|                    args--;
  |  | 4323|   727k|                }
  |  | 4324|   727k|                _PyStackRef self_stackref = args[0];
  |  | 4325|   727k|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_stackref);
  |  | 4326|   727k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|   727k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4327|   727k|                PyCFunction cfunc = method->d_method->ml_meth;
  |  | 4328|   727k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4329|   727k|                _PyFrame_StackPointerValidate(frame);
  |  | 4330|   727k|                PyObject *res_o = _PyCFunction_TrampolineCall(cfunc, self, NULL);
  |  |  ------------------
  |  |  |  |  995|   727k|    (meth)((self), (args))
  |  |  ------------------
  |  | 4331|   727k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4332|   727k|                _Py_LeaveRecursiveCallTstate(tstate);
  |  | 4333|   727k|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (4333:17): [True: 727k, False: 0]
  |  |  ------------------
  |  | 4334|   727k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4334:21): [True: 0, False: 727k]
  |  |  ------------------
  |  | 4335|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4336|      0|                }
  |  | 4337|   727k|                c = callable;
  |  | 4338|   727k|                s = args[0];
  |  | 4339|   727k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4340|   727k|            }
  |  | 4341|       |            // _POP_TOP
  |  | 4342|      0|            {
  |  | 4343|   727k|                value = s;
  |  | 4344|   727k|                stack_pointer[-2 - oparg] = res;
  |  | 4345|   727k|                stack_pointer[-1 - oparg] = c;
  |  | 4346|   727k|                stack_pointer += -oparg;
  |  | 4347|   727k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   727k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4348|   727k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4349|   727k|                _PyFrame_StackPointerValidate(frame);
  |  | 4350|   727k|                PyStackRef_XCLOSE(value);
  |  | 4351|   727k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4352|   727k|            }
  |  | 4353|       |            // _POP_TOP
  |  | 4354|   727k|            {
  |  | 4355|   727k|                value = c;
  |  | 4356|   727k|                stack_pointer += -1;
  |  | 4357|   727k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   727k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4358|   727k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4359|   727k|                _PyFrame_StackPointerValidate(frame);
  |  | 4360|   727k|                PyStackRef_XCLOSE(value);
  |  | 4361|   727k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4362|   727k|            }
  |  | 4363|       |            // _CHECK_PERIODIC_AT_END
  |  | 4364|   727k|            {
  |  | 4365|   727k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4365:17): [True: 727k, False: 0]
  |  |  ------------------
  |  | 4366|   727k|                _PyFrame_StackPointerValidate(frame);
  |  | 4367|   727k|                int err = check_periodics_at_end(tstate, frame);
  |  | 4368|   727k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4369|   727k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4369:21): [True: 0, False: 727k]
  |  |  ------------------
  |  | 4370|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4371|      0|                }
  |  | 4372|   727k|            }
  |  | 4373|   727k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   727k|    { \
  |  |  |  |  201|   727k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   727k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   727k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   727k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   727k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   727k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   727k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   727k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 727k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   727k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   727k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   727k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   727k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   727k|    }
  |  |  ------------------
  |  | 4374|   727k|        }
  |  | 4375|       |
  |  | 4376|  1.12M|        TARGET(CALL_METHOD_DESCRIPTOR_O) {
  |  |  ------------------
  |  |  |  |  132|  1.12M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4377|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4378|       |            int opcode = CALL_METHOD_DESCRIPTOR_O;
  |  | 4379|       |            (void)(opcode);
  |  | 4380|       |            #endif
  |  | 4381|  1.12M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4382|  1.12M|            (void)this_instr;
  |  | 4383|  1.12M|            frame->instr_ptr = next_instr;
  |  | 4384|  1.12M|            next_instr += 4;
  |  | 4385|  1.12M|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_O);
  |  |  ------------------
  |  |  |  |   71|  1.12M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4386|  1.12M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4387|  1.12M|            _PyStackRef callable;
  |  | 4388|  1.12M|            _PyStackRef self_or_null;
  |  | 4389|  1.12M|            _PyStackRef *args;
  |  | 4390|  1.12M|            _PyStackRef res;
  |  | 4391|  1.12M|            _PyStackRef c;
  |  | 4392|  1.12M|            _PyStackRef s;
  |  | 4393|  1.12M|            _PyStackRef a;
  |  | 4394|  1.12M|            _PyStackRef value;
  |  | 4395|       |            /* Skip 1 cache entry */
  |  | 4396|       |            /* Skip 2 cache entries */
  |  | 4397|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_O
  |  | 4398|  1.12M|            {
  |  | 4399|  1.12M|                args = &stack_pointer[-oparg];
  |  | 4400|  1.12M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4401|  1.12M|                callable = stack_pointer[-2 - oparg];
  |  | 4402|  1.12M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4403|  1.12M|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4404|  1.12M|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|  1.12M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.12M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.12M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4404:21): [True: 0, False: 1.12M]
  |  |  ------------------
  |  | 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|  1.12M|                if (method->d_method->ml_flags != METH_O) {
  |  |  ------------------
  |  |  |  |   99|  1.12M|#define METH_O        0x0008
  |  |  ------------------
  |  |  |  Branch (4409:21): [True: 0, False: 1.12M]
  |  |  ------------------
  |  | 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|  1.12M|                int total_args = oparg;
  |  | 4415|  1.12M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.12M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.12M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.12M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4415:21): [True: 1.12M, False: 0]
  |  |  ------------------
  |  | 4416|  1.12M|                    total_args++;
  |  | 4417|  1.12M|                }
  |  | 4418|  1.12M|                if (total_args != 2) {
  |  |  ------------------
  |  |  |  Branch (4418:21): [True: 0, False: 1.12M]
  |  |  ------------------
  |  | 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|  1.12M|                PyObject *self = PyStackRef_AsPyObjectBorrow(
  |  | 4424|  1.12M|                    PyStackRef_IsNull(self_or_null) ? args[0] : self_or_null);
  |  |  ------------------
  |  |  |  |  482|  1.12M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.12M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.12M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 1.12M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4425|  1.12M|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|  1.12M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.12M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.12M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4425:21): [True: 742, False: 1.12M]
  |  |  ------------------
  |  | 4426|    742|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|    742|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4427|    742|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4427:21): [True: 742, False: 0]
  |  |  ------------------
  |  | 4428|    742|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    742|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4429|      0|                }
  |  | 4430|  1.12M|            }
  |  | 4431|       |            // _CHECK_RECURSION_LIMIT
  |  | 4432|  1.12M|            {
  |  | 4433|  1.12M|                if (_Py_ReachedRecursionLimit(tstate)) {
  |  |  ------------------
  |  |  |  Branch (4433:21): [True: 0, False: 1.12M]
  |  |  ------------------
  |  | 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|  1.12M|            }
  |  | 4439|       |            // _CALL_METHOD_DESCRIPTOR_O
  |  | 4440|  1.12M|            {
  |  | 4441|  1.12M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4442|  1.12M|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4443|  1.12M|                _PyStackRef *arguments = args;
  |  | 4444|  1.12M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  1.12M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.12M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.12M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4444:21): [True: 1.12M, False: 0]
  |  |  ------------------
  |  | 4445|  1.12M|                    arguments--;
  |  | 4446|  1.12M|                }
  |  | 4447|  1.12M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.12M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4448|  1.12M|                PyCFunction cfunc = method->d_method->ml_meth;
  |  | 4449|  1.12M|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4450|  1.12M|                PyObject *arg = PyStackRef_AsPyObjectBorrow(arguments[1]);
  |  | 4451|  1.12M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4452|  1.12M|                _PyFrame_StackPointerValidate(frame);
  |  | 4453|  1.12M|                PyObject *res_o = _PyCFunction_TrampolineCall(cfunc, self, arg);
  |  |  ------------------
  |  |  |  |  995|  1.12M|    (meth)((self), (args))
  |  |  ------------------
  |  | 4454|  1.12M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4455|  1.12M|                _Py_LeaveRecursiveCallTstate(tstate);
  |  | 4456|  1.12M|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  |  ------------------
  |  |  |  Branch (4456:17): [True: 1.12M, False: 0]
  |  |  ------------------
  |  | 4457|  1.12M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4457:21): [True: 0, False: 1.12M]
  |  |  ------------------
  |  | 4458|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4459|      0|                }
  |  | 4460|  1.12M|                c = callable;
  |  | 4461|  1.12M|                s = arguments[0];
  |  | 4462|  1.12M|                a = arguments[1];
  |  | 4463|  1.12M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4464|  1.12M|            }
  |  | 4465|       |            // _POP_TOP
  |  | 4466|      0|            {
  |  | 4467|  1.12M|                value = a;
  |  | 4468|  1.12M|                stack_pointer[-2 - oparg] = res;
  |  | 4469|  1.12M|                stack_pointer[-1 - oparg] = c;
  |  | 4470|  1.12M|                stack_pointer[-oparg] = s;
  |  | 4471|  1.12M|                stack_pointer += 1 - oparg;
  |  | 4472|  1.12M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.12M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4473|  1.12M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4474|  1.12M|                _PyFrame_StackPointerValidate(frame);
  |  | 4475|  1.12M|                PyStackRef_XCLOSE(value);
  |  | 4476|  1.12M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4477|  1.12M|            }
  |  | 4478|       |            // _POP_TOP
  |  | 4479|  1.12M|            {
  |  | 4480|  1.12M|                value = s;
  |  | 4481|  1.12M|                stack_pointer += -1;
  |  | 4482|  1.12M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.12M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4483|  1.12M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4484|  1.12M|                _PyFrame_StackPointerValidate(frame);
  |  | 4485|  1.12M|                PyStackRef_XCLOSE(value);
  |  | 4486|  1.12M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4487|  1.12M|            }
  |  | 4488|       |            // _POP_TOP
  |  | 4489|  1.12M|            {
  |  | 4490|  1.12M|                value = c;
  |  | 4491|  1.12M|                stack_pointer += -1;
  |  | 4492|  1.12M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.12M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4493|  1.12M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4494|  1.12M|                _PyFrame_StackPointerValidate(frame);
  |  | 4495|  1.12M|                PyStackRef_XCLOSE(value);
  |  | 4496|  1.12M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4497|  1.12M|            }
  |  | 4498|       |            // _CHECK_PERIODIC_AT_END
  |  | 4499|  1.12M|            {
  |  | 4500|  1.12M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4500:17): [True: 1.12M, False: 0]
  |  |  ------------------
  |  | 4501|  1.12M|                _PyFrame_StackPointerValidate(frame);
  |  | 4502|  1.12M|                int err = check_periodics_at_end(tstate, frame);
  |  | 4503|  1.12M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4504|  1.12M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4504:21): [True: 0, False: 1.12M]
  |  |  ------------------
  |  | 4505|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4506|      0|                }
  |  | 4507|  1.12M|            }
  |  | 4508|  1.12M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.12M|    { \
  |  |  |  |  201|  1.12M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.12M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.12M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.12M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.12M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.12M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.12M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.12M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.12M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.12M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.12M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.12M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.12M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.12M|    }
  |  |  ------------------
  |  | 4509|  1.12M|        }
  |  | 4510|       |
  |  | 4511|   268k|        TARGET(CALL_NON_PY_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|   268k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4512|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4513|       |            int opcode = CALL_NON_PY_GENERAL;
  |  | 4514|       |            (void)(opcode);
  |  | 4515|       |            #endif
  |  | 4516|   268k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4517|   268k|            (void)this_instr;
  |  | 4518|   268k|            frame->instr_ptr = next_instr;
  |  | 4519|   268k|            next_instr += 4;
  |  | 4520|   268k|            INSTRUCTION_STATS(CALL_NON_PY_GENERAL);
  |  |  ------------------
  |  |  |  |   71|   268k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4521|   268k|            opcode = CALL_NON_PY_GENERAL;
  |  |  ------------------
  |  |  |  |  165|   268k|#define CALL_NON_PY_GENERAL                    163
  |  |  ------------------
  |  | 4522|   268k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4523|   268k|            _PyStackRef callable;
  |  | 4524|   268k|            _PyStackRef self_or_null;
  |  | 4525|   268k|            _PyStackRef *args;
  |  | 4526|   268k|            _PyStackRef res;
  |  | 4527|       |            /* Skip 1 cache entry */
  |  | 4528|       |            /* Skip 2 cache entries */
  |  | 4529|       |            // _CHECK_IS_NOT_PY_CALLABLE
  |  | 4530|   268k|            {
  |  | 4531|   268k|                callable = stack_pointer[-2 - oparg];
  |  | 4532|   268k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4533|   268k|                if (PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|   268k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   268k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   268k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   268k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 268k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|   268k|                if (Py_TYPE(callable_o) == &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|   268k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   268k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   268k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4538:21): [True: 0, False: 268k]
  |  |  ------------------
  |  | 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|   268k|            }
  |  | 4544|       |            // _CALL_NON_PY_GENERAL
  |  | 4545|   268k|            {
  |  | 4546|   268k|                args = &stack_pointer[-oparg];
  |  | 4547|   268k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4548|   268k|                #if TIER_ONE
  |  | 4549|   268k|                assert(opcode != INSTRUMENTED_CALL);
  |  |  ------------------
  |  |  |  Branch (4549:17): [True: 268k, False: 0]
  |  |  ------------------
  |  | 4550|   268k|                #endif
  |  | 4551|   268k|                int total_args = oparg;
  |  | 4552|   268k|                _PyStackRef *arguments = args;
  |  | 4553|   268k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|   268k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|   268k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   268k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4553:21): [True: 581, False: 268k]
  |  |  ------------------
  |  | 4554|    581|                    arguments--;
  |  | 4555|    581|                    total_args++;
  |  | 4556|    581|                }
  |  | 4557|   268k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4558|   268k|                _PyFrame_StackPointerValidate(frame);
  |  | 4559|   268k|                PyObject *res_o = _Py_VectorCall_StackRefSteal(
  |  | 4560|   268k|                    callable,
  |  | 4561|   268k|                    arguments,
  |  | 4562|   268k|                    total_args,
  |  | 4563|   268k|                    PyStackRef_NULL);
  |  | 4564|   268k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4565|   268k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4565:21): [True: 46, False: 268k]
  |  |  ------------------
  |  | 4566|     46|                    stack_pointer += -2 - oparg;
  |  | 4567|     46|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     46|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4568|     46|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|     46|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4569|      0|                }
  |  | 4570|   268k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4571|   268k|            }
  |  | 4572|       |            // _CHECK_PERIODIC_AT_END
  |  | 4573|      0|            {
  |  | 4574|   268k|                stack_pointer[-2 - oparg] = res;
  |  | 4575|   268k|                stack_pointer += -1 - oparg;
  |  | 4576|   268k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   268k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4577|   268k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4578|   268k|                _PyFrame_StackPointerValidate(frame);
  |  | 4579|   268k|                int err = check_periodics_at_end(tstate, frame);
  |  | 4580|   268k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4581|   268k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4581:21): [True: 0, False: 268k]
  |  |  ------------------
  |  | 4582|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4583|      0|                }
  |  | 4584|   268k|            }
  |  | 4585|   268k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   268k|    { \
  |  |  |  |  201|   268k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   268k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   268k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   268k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   268k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   268k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   268k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   268k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 268k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   268k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   268k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   268k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   268k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   268k|    }
  |  |  ------------------
  |  | 4586|   268k|        }
  |  | 4587|       |
  |  | 4588|  6.44M|        TARGET(CALL_PY_EXACT_ARGS) {
  |  |  ------------------
  |  |  |  |  132|  6.44M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4589|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4590|       |            int opcode = CALL_PY_EXACT_ARGS;
  |  | 4591|       |            (void)(opcode);
  |  | 4592|       |            #endif
  |  | 4593|  6.44M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4594|  6.44M|            (void)this_instr;
  |  | 4595|  6.44M|            frame->instr_ptr = next_instr;
  |  | 4596|  6.44M|            next_instr += 4;
  |  | 4597|  6.44M|            INSTRUCTION_STATS(CALL_PY_EXACT_ARGS);
  |  |  ------------------
  |  |  |  |   71|  6.44M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4598|  6.44M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4599|  6.44M|            _PyStackRef callable;
  |  | 4600|  6.44M|            _PyStackRef self_or_null;
  |  | 4601|  6.44M|            _PyStackRef *args;
  |  | 4602|  6.44M|            _PyStackRef new_frame;
  |  | 4603|       |            /* Skip 1 cache entry */
  |  | 4604|       |            // _CHECK_PEP_523
  |  | 4605|  6.44M|            {
  |  | 4606|  6.44M|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|  6.44M|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 6.44M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  6.44M|            }
  |  | 4612|       |            // _CHECK_FUNCTION_VERSION
  |  | 4613|  6.44M|            {
  |  | 4614|  6.44M|                callable = stack_pointer[-2 - oparg];
  |  | 4615|  6.44M|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 4616|  6.44M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4617|  6.44M|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  6.44M|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  6.44M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  6.44M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  6.44M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4617:21): [True: 333, False: 6.44M]
  |  |  ------------------
  |  | 4618|    333|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|    333|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4619|    333|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4619:21): [True: 333, False: 0]
  |  |  ------------------
  |  | 4620|    333|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    333|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4621|      0|                }
  |  | 4622|  6.44M|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4623|  6.44M|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (4623:21): [True: 348, False: 6.44M]
  |  |  ------------------
  |  | 4624|    348|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|    348|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4625|    348|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4625:21): [True: 348, False: 0]
  |  |  ------------------
  |  | 4626|    348|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    348|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4627|      0|                }
  |  | 4628|  6.44M|            }
  |  | 4629|       |            // _CHECK_FUNCTION_EXACT_ARGS
  |  | 4630|  6.44M|            {
  |  | 4631|  6.44M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4632|  6.44M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4633|  6.44M|                assert(PyFunction_Check(callable_o));
  |  |  ------------------
  |  |  |  Branch (4633:17): [True: 6.44M, False: 0]
  |  |  ------------------
  |  | 4634|  6.44M|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4635|  6.44M|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 4636|  6.44M|                if (code->co_argcount != oparg + (!PyStackRef_IsNull(self_or_null))) {
  |  |  ------------------
  |  |  |  |  482|  6.44M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  6.44M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  6.44M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4636:21): [True: 0, False: 6.44M]
  |  |  ------------------
  |  | 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|  6.44M|            }
  |  | 4642|       |            // _CHECK_STACK_SPACE
  |  | 4643|  6.44M|            {
  |  | 4644|  6.44M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4645|  6.44M|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4646|  6.44M|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 4647|  6.44M|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (4647:21): [True: 0, False: 6.44M]
  |  |  ------------------
  |  | 4648|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4649|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4649:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4650|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4651|      0|                }
  |  | 4652|  6.44M|            }
  |  | 4653|       |            // _CHECK_RECURSION_REMAINING
  |  | 4654|  6.44M|            {
  |  | 4655|  6.44M|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (4655:21): [True: 0, False: 6.44M]
  |  |  ------------------
  |  | 4656|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4657|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4657:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4658|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4659|      0|                }
  |  | 4660|  6.44M|            }
  |  | 4661|       |            // _INIT_CALL_PY_EXACT_ARGS
  |  | 4662|  6.44M|            {
  |  | 4663|  6.44M|                args = &stack_pointer[-oparg];
  |  | 4664|  6.44M|                int has_self = !PyStackRef_IsNull(self_or_null);
  |  |  ------------------
  |  |  |  |  482|  6.44M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  6.44M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  6.44M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4665|  6.44M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  6.44M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4666|  6.44M|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(tstate, callable, oparg + has_self, frame);
  |  | 4667|  6.44M|                _PyStackRef *first_non_self_local = pushed_frame->localsplus + has_self;
  |  | 4668|  6.44M|                pushed_frame->localsplus[0] = self_or_null;
  |  | 4669|  16.4M|                for (int i = 0; i < oparg; i++) {
  |  |  ------------------
  |  |  |  Branch (4669:33): [True: 10.0M, False: 6.44M]
  |  |  ------------------
  |  | 4670|  10.0M|                    first_non_self_local[i] = args[i];
  |  | 4671|  10.0M|                }
  |  | 4672|  6.44M|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 4673|  6.44M|            }
  |  | 4674|       |            // _SAVE_RETURN_OFFSET
  |  | 4675|  6.44M|            {
  |  | 4676|  6.44M|                #if TIER_ONE
  |  | 4677|  6.44M|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 4678|  6.44M|                #endif
  |  | 4679|       |                #if TIER_TWO
  |  | 4680|       |                frame->return_offset = oparg;
  |  | 4681|       |                #endif
  |  | 4682|  6.44M|            }
  |  | 4683|       |            // _PUSH_FRAME
  |  | 4684|  6.44M|            {
  |  | 4685|  6.44M|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (4685:17): [True: 6.44M, False: 0]
  |  |  ------------------
  |  | 4686|  6.44M|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 4687|  6.44M|                stack_pointer += -2 - oparg;
  |  | 4688|  6.44M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  6.44M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4689|  6.44M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4690|  6.44M|                _PyFrame_StackPointerValidate(frame);
  |  | 4691|  6.44M|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (4691:17): [True: 6.44M, False: 0]
  |  |  |  Branch (4691:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 4692|  6.44M|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  6.44M|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 4693|  6.44M|                frame = tstate->current_frame = temp;
  |  | 4694|  6.44M|                tstate->py_recursion_remaining--;
  |  | 4695|  6.44M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4696|  6.44M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4697|  6.44M|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|  6.44M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|  6.44M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|  6.44M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 6.44M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4698|       |                #ifdef Py_DEBUG
  |  | 4699|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 4700|       |                #endif
  |  | 4701|  6.44M|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  6.44M|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 4702|  6.44M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  6.44M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 4703|  6.44M|            }
  |  | 4704|  6.44M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.44M|    { \
  |  |  |  |  201|  6.44M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  6.44M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  6.44M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  6.44M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  6.44M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  6.44M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  6.44M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  6.44M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 6.44M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.44M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.44M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.44M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.44M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.44M|    }
  |  |  ------------------
  |  | 4705|  6.44M|        }
  |  | 4706|       |
  |  | 4707|  53.3k|        TARGET(CALL_PY_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|  53.3k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4708|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4709|       |            int opcode = CALL_PY_GENERAL;
  |  | 4710|       |            (void)(opcode);
  |  | 4711|       |            #endif
  |  | 4712|  53.3k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4713|  53.3k|            (void)this_instr;
  |  | 4714|  53.3k|            frame->instr_ptr = next_instr;
  |  | 4715|  53.3k|            next_instr += 4;
  |  | 4716|  53.3k|            INSTRUCTION_STATS(CALL_PY_GENERAL);
  |  |  ------------------
  |  |  |  |   71|  53.3k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4717|  53.3k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4718|  53.3k|            _PyStackRef callable;
  |  | 4719|  53.3k|            _PyStackRef self_or_null;
  |  | 4720|  53.3k|            _PyStackRef *args;
  |  | 4721|  53.3k|            _PyStackRef new_frame;
  |  | 4722|       |            /* Skip 1 cache entry */
  |  | 4723|       |            // _CHECK_PEP_523
  |  | 4724|  53.3k|            {
  |  | 4725|  53.3k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|  53.3k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 53.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  53.3k|            }
  |  | 4731|       |            // _CHECK_FUNCTION_VERSION
  |  | 4732|  53.3k|            {
  |  | 4733|  53.3k|                callable = stack_pointer[-2 - oparg];
  |  | 4734|  53.3k|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 4735|  53.3k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4736|  53.3k|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  53.3k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  53.3k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  53.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  53.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4736:21): [True: 0, False: 53.3k]
  |  |  ------------------
  |  | 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|  53.3k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4742|  53.3k|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (4742:21): [True: 66, False: 53.2k]
  |  |  ------------------
  |  | 4743|     66|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|     66|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4744|     66|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4744:21): [True: 66, False: 0]
  |  |  ------------------
  |  | 4745|     66|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|     66|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4746|      0|                }
  |  | 4747|  53.3k|            }
  |  | 4748|       |            // _CHECK_RECURSION_REMAINING
  |  | 4749|  53.2k|            {
  |  | 4750|  53.2k|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (4750:21): [True: 0, False: 53.2k]
  |  |  ------------------
  |  | 4751|      0|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4752|      0|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  |  ------------------
  |  |  |  Branch (4752:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 4753|      0|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4754|      0|                }
  |  | 4755|  53.2k|            }
  |  | 4756|       |            // _PY_FRAME_GENERAL
  |  | 4757|  53.2k|            {
  |  | 4758|  53.2k|                args = &stack_pointer[-oparg];
  |  | 4759|  53.2k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4760|  53.2k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4761|  53.2k|                int total_args = oparg;
  |  | 4762|  53.2k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  482|  53.2k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  53.2k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  53.2k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4762:21): [True: 534, False: 52.7k]
  |  |  ------------------
  |  | 4763|    534|                    args--;
  |  | 4764|    534|                    total_args++;
  |  | 4765|    534|                }
  |  | 4766|  53.2k|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  |  ------------------
  |  |  |  Branch (4766:17): [True: 53.2k, False: 0]
  |  |  ------------------
  |  | 4767|  53.2k|                int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|  53.2k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  53.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  53.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4768|  53.2k|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  122|  53.2k|#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: 53.2k, False: 0]
  |  |  ------------------
  |  | 4769|  53.2k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4770|  53.2k|                _PyFrame_StackPointerValidate(frame);
  |  | 4771|  53.2k|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 4772|  53.2k|                    tstate, callable, locals,
  |  | 4773|  53.2k|                    args, total_args, NULL, frame
  |  | 4774|  53.2k|                );
  |  | 4775|  53.2k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4776|  53.2k|                stack_pointer += -2 - oparg;
  |  | 4777|  53.2k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  53.2k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4778|  53.2k|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (4778:21): [True: 0, False: 53.2k]
  |  |  ------------------
  |  | 4779|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4780|      0|                }
  |  | 4781|  53.2k|                new_frame = PyStackRef_Wrap(temp);
  |  | 4782|  53.2k|            }
  |  | 4783|       |            // _SAVE_RETURN_OFFSET
  |  | 4784|      0|            {
  |  | 4785|  53.2k|                #if TIER_ONE
  |  | 4786|  53.2k|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 4787|  53.2k|                #endif
  |  | 4788|       |                #if TIER_TWO
  |  | 4789|       |                frame->return_offset = oparg;
  |  | 4790|       |                #endif
  |  | 4791|  53.2k|            }
  |  | 4792|       |            // _PUSH_FRAME
  |  | 4793|  53.2k|            {
  |  | 4794|  53.2k|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (4794:17): [True: 53.2k, False: 0]
  |  |  ------------------
  |  | 4795|  53.2k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 4796|  53.2k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4797|  53.2k|                _PyFrame_StackPointerValidate(frame);
  |  | 4798|  53.2k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (4798:17): [True: 53.2k, False: 0]
  |  |  |  Branch (4798:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 4799|  53.2k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  53.2k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 4800|  53.2k|                frame = tstate->current_frame = temp;
  |  | 4801|  53.2k|                tstate->py_recursion_remaining--;
  |  | 4802|  53.2k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4803|  53.2k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4804|  53.2k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|  53.2k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|  53.2k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|  53.2k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 53.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4805|       |                #ifdef Py_DEBUG
  |  | 4806|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 4807|       |                #endif
  |  | 4808|  53.2k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|  53.2k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 4809|  53.2k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  53.2k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 4810|  53.2k|            }
  |  | 4811|  53.2k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  53.2k|    { \
  |  |  |  |  201|  53.2k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  53.2k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  53.2k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  53.2k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  53.2k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  53.2k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  53.2k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  53.2k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 53.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  53.2k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  53.2k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  53.2k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  53.2k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  53.2k|    }
  |  |  ------------------
  |  | 4812|  53.2k|        }
  |  | 4813|       |
  |  | 4814|    172|        TARGET(CALL_STR_1) {
  |  |  ------------------
  |  |  |  |  132|    172|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4815|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4816|       |            int opcode = CALL_STR_1;
  |  | 4817|       |            (void)(opcode);
  |  | 4818|       |            #endif
  |  | 4819|    172|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4820|    172|            (void)this_instr;
  |  | 4821|    172|            frame->instr_ptr = next_instr;
  |  | 4822|    172|            next_instr += 4;
  |  | 4823|    172|            INSTRUCTION_STATS(CALL_STR_1);
  |  |  ------------------
  |  |  |  |   71|    172|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4824|    172|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4825|    172|            _PyStackRef null;
  |  | 4826|    172|            _PyStackRef callable;
  |  | 4827|    172|            _PyStackRef arg;
  |  | 4828|    172|            _PyStackRef res;
  |  | 4829|    172|            _PyStackRef a;
  |  | 4830|    172|            _PyStackRef value;
  |  | 4831|       |            /* Skip 1 cache entry */
  |  | 4832|       |            /* Skip 2 cache entries */
  |  | 4833|       |            // _GUARD_NOS_NULL
  |  | 4834|    172|            {
  |  | 4835|    172|                null = stack_pointer[-2];
  |  | 4836|    172|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|    172|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    172|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    172|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4836:21): [True: 0, False: 172]
  |  |  ------------------
  |  | 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|    172|            }
  |  | 4842|       |            // _GUARD_CALLABLE_STR_1
  |  | 4843|    172|            {
  |  | 4844|    172|                callable = stack_pointer[-3];
  |  | 4845|    172|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4846|    172|                if (callable_o != (PyObject *)&PyUnicode_Type) {
  |  |  ------------------
  |  |  |  Branch (4846:21): [True: 0, False: 172]
  |  |  ------------------
  |  | 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|    172|            }
  |  | 4852|       |            // _CALL_STR_1
  |  | 4853|    172|            {
  |  | 4854|    172|                arg = stack_pointer[-1];
  |  | 4855|    172|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 4856|    172|                assert(oparg == 1);
  |  |  ------------------
  |  |  |  Branch (4856:17): [True: 172, False: 0]
  |  |  ------------------
  |  | 4857|    172|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    172|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4858|    172|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4859|    172|                _PyFrame_StackPointerValidate(frame);
  |  | 4860|    172|                PyObject *res_o = PyObject_Str(arg_o);
  |  | 4861|    172|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4862|    172|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4862:21): [True: 0, False: 172]
  |  |  ------------------
  |  | 4863|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4864|      0|                }
  |  | 4865|    172|                a = arg;
  |  | 4866|    172|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4867|    172|            }
  |  | 4868|       |            // _POP_TOP
  |  | 4869|      0|            {
  |  | 4870|    172|                value = a;
  |  | 4871|    172|                stack_pointer[-3] = res;
  |  | 4872|    172|                stack_pointer += -2;
  |  | 4873|    172|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    172|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4874|    172|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4875|    172|                _PyFrame_StackPointerValidate(frame);
  |  | 4876|    172|                PyStackRef_XCLOSE(value);
  |  | 4877|    172|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4878|    172|            }
  |  | 4879|       |            // _CHECK_PERIODIC_AT_END
  |  | 4880|    172|            {
  |  | 4881|    172|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4881:17): [True: 172, False: 0]
  |  |  ------------------
  |  | 4882|    172|                _PyFrame_StackPointerValidate(frame);
  |  | 4883|    172|                int err = check_periodics_at_end(tstate, frame);
  |  | 4884|    172|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4885|    172|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4885:21): [True: 0, False: 172]
  |  |  ------------------
  |  | 4886|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4887|      0|                }
  |  | 4888|    172|            }
  |  | 4889|    172|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    172|    { \
  |  |  |  |  201|    172|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    172|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    172|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    172|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    172|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    172|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    172|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    172|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 172]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    172|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    172|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    172|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    172|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    172|    }
  |  |  ------------------
  |  | 4890|    172|        }
  |  | 4891|       |
  |  | 4892|     10|        TARGET(CALL_TUPLE_1) {
  |  |  ------------------
  |  |  |  |  132|     10|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4893|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4894|       |            int opcode = CALL_TUPLE_1;
  |  | 4895|       |            (void)(opcode);
  |  | 4896|       |            #endif
  |  | 4897|     10|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4898|     10|            (void)this_instr;
  |  | 4899|     10|            frame->instr_ptr = next_instr;
  |  | 4900|     10|            next_instr += 4;
  |  | 4901|     10|            INSTRUCTION_STATS(CALL_TUPLE_1);
  |  |  ------------------
  |  |  |  |   71|     10|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4902|     10|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4903|     10|            _PyStackRef null;
  |  | 4904|     10|            _PyStackRef callable;
  |  | 4905|     10|            _PyStackRef arg;
  |  | 4906|     10|            _PyStackRef res;
  |  | 4907|     10|            _PyStackRef a;
  |  | 4908|     10|            _PyStackRef value;
  |  | 4909|       |            /* Skip 1 cache entry */
  |  | 4910|       |            /* Skip 2 cache entries */
  |  | 4911|       |            // _GUARD_NOS_NULL
  |  | 4912|     10|            {
  |  | 4913|     10|                null = stack_pointer[-2];
  |  | 4914|     10|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|     10|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     10|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     10|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4914:21): [True: 0, False: 10]
  |  |  ------------------
  |  | 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|     10|            }
  |  | 4920|       |            // _GUARD_CALLABLE_TUPLE_1
  |  | 4921|     10|            {
  |  | 4922|     10|                callable = stack_pointer[-3];
  |  | 4923|     10|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4924|     10|                if (callable_o != (PyObject *)&PyTuple_Type) {
  |  |  ------------------
  |  |  |  Branch (4924:21): [True: 0, False: 10]
  |  |  ------------------
  |  | 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|     10|            }
  |  | 4930|       |            // _CALL_TUPLE_1
  |  | 4931|     10|            {
  |  | 4932|     10|                arg = stack_pointer[-1];
  |  | 4933|     10|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 4934|     10|                assert(oparg == 1);
  |  |  ------------------
  |  |  |  Branch (4934:17): [True: 10, False: 0]
  |  |  ------------------
  |  | 4935|     10|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|     10|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4936|     10|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4937|     10|                _PyFrame_StackPointerValidate(frame);
  |  | 4938|     10|                PyObject *res_o = PySequence_Tuple(arg_o);
  |  | 4939|     10|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4940|     10|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4940:21): [True: 0, False: 10]
  |  |  ------------------
  |  | 4941|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4942|      0|                }
  |  | 4943|     10|                a = arg;
  |  | 4944|     10|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4945|     10|            }
  |  | 4946|       |            // _POP_TOP
  |  | 4947|      0|            {
  |  | 4948|     10|                value = a;
  |  | 4949|     10|                stack_pointer[-3] = res;
  |  | 4950|     10|                stack_pointer += -2;
  |  | 4951|     10|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     10|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4952|     10|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4953|     10|                _PyFrame_StackPointerValidate(frame);
  |  | 4954|     10|                PyStackRef_XCLOSE(value);
  |  | 4955|     10|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4956|     10|            }
  |  | 4957|       |            // _CHECK_PERIODIC_AT_END
  |  | 4958|     10|            {
  |  | 4959|     10|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (4959:17): [True: 10, False: 0]
  |  |  ------------------
  |  | 4960|     10|                _PyFrame_StackPointerValidate(frame);
  |  | 4961|     10|                int err = check_periodics_at_end(tstate, frame);
  |  | 4962|     10|                _PyFrame_StackPointerInvalidate(frame);
  |  | 4963|     10|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4963:21): [True: 0, False: 10]
  |  |  ------------------
  |  | 4964|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4965|      0|                }
  |  | 4966|     10|            }
  |  | 4967|     10|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     10|    { \
  |  |  |  |  201|     10|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     10|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     10|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     10|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     10|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     10|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     10|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     10|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 10]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     10|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     10|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     10|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     10|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     10|    }
  |  |  ------------------
  |  | 4968|     10|        }
  |  | 4969|       |
  |  | 4970|    188|        TARGET(CALL_TYPE_1) {
  |  |  ------------------
  |  |  |  |  132|    188|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4971|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4972|       |            int opcode = CALL_TYPE_1;
  |  | 4973|       |            (void)(opcode);
  |  | 4974|       |            #endif
  |  | 4975|    188|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4976|    188|            (void)this_instr;
  |  | 4977|    188|            frame->instr_ptr = next_instr;
  |  | 4978|    188|            next_instr += 4;
  |  | 4979|    188|            INSTRUCTION_STATS(CALL_TYPE_1);
  |  |  ------------------
  |  |  |  |   71|    188|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4980|    188|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4981|    188|            _PyStackRef null;
  |  | 4982|    188|            _PyStackRef callable;
  |  | 4983|    188|            _PyStackRef arg;
  |  | 4984|    188|            _PyStackRef res;
  |  | 4985|    188|            _PyStackRef a;
  |  | 4986|    188|            _PyStackRef value;
  |  | 4987|       |            /* Skip 1 cache entry */
  |  | 4988|       |            /* Skip 2 cache entries */
  |  | 4989|       |            // _GUARD_NOS_NULL
  |  | 4990|    188|            {
  |  | 4991|    188|                null = stack_pointer[-2];
  |  | 4992|    188|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  482|    188|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    188|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    188|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4992:21): [True: 0, False: 188]
  |  |  ------------------
  |  | 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|    188|            }
  |  | 4998|       |            // _GUARD_CALLABLE_TYPE_1
  |  | 4999|    188|            {
  |  | 5000|    188|                callable = stack_pointer[-3];
  |  | 5001|    188|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 5002|    188|                if (callable_o != (PyObject *)&PyType_Type) {
  |  |  ------------------
  |  |  |  Branch (5002:21): [True: 0, False: 188]
  |  |  ------------------
  |  | 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|    188|            }
  |  | 5008|       |            // _CALL_TYPE_1
  |  | 5009|    188|            {
  |  | 5010|    188|                arg = stack_pointer[-1];
  |  | 5011|    188|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 5012|    188|                assert(oparg == 1);
  |  |  ------------------
  |  |  |  Branch (5012:17): [True: 188, False: 0]
  |  |  ------------------
  |  | 5013|    188|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|    188|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5014|    188|                a = arg;
  |  | 5015|    188|                res = PyStackRef_FromPyObjectNew(Py_TYPE(arg_o));
  |  |  ------------------
  |  |  |  |  611|    188|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    188|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    188|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5016|    188|            }
  |  | 5017|       |            // _POP_TOP
  |  | 5018|      0|            {
  |  | 5019|    188|                value = a;
  |  | 5020|    188|                stack_pointer[-3] = res;
  |  | 5021|    188|                stack_pointer += -2;
  |  | 5022|    188|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    188|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5023|    188|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5024|    188|                _PyFrame_StackPointerValidate(frame);
  |  | 5025|    188|                PyStackRef_XCLOSE(value);
  |  | 5026|    188|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5027|    188|            }
  |  | 5028|    188|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    188|    { \
  |  |  |  |  201|    188|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    188|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    188|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    188|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    188|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    188|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    188|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    188|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 188]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    188|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    188|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    188|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    188|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    188|    }
  |  |  ------------------
  |  | 5029|    188|        }
  |  | 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|  38.8k|        TARGET(CHECK_EXC_MATCH) {
  |  |  ------------------
  |  |  |  |  132|  38.8k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5116|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5117|       |            int opcode = CHECK_EXC_MATCH;
  |  | 5118|       |            (void)(opcode);
  |  | 5119|       |            #endif
  |  | 5120|  38.8k|            frame->instr_ptr = next_instr;
  |  | 5121|  38.8k|            next_instr += 1;
  |  | 5122|  38.8k|            INSTRUCTION_STATS(CHECK_EXC_MATCH);
  |  |  ------------------
  |  |  |  |   71|  38.8k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5123|  38.8k|            _PyStackRef left;
  |  | 5124|  38.8k|            _PyStackRef right;
  |  | 5125|  38.8k|            _PyStackRef b;
  |  | 5126|  38.8k|            right = stack_pointer[-1];
  |  | 5127|  38.8k|            left = stack_pointer[-2];
  |  | 5128|  38.8k|            PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5129|  38.8k|            PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5130|  38.8k|            assert(PyExceptionInstance_Check(left_o));
  |  |  ------------------
  |  |  |  Branch (5130:13): [True: 38.8k, False: 0]
  |  |  ------------------
  |  | 5131|  38.8k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5132|  38.8k|            _PyFrame_StackPointerValidate(frame);
  |  | 5133|  38.8k|            int err = _PyEval_CheckExceptTypeValid(tstate, right_o);
  |  | 5134|  38.8k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5135|  38.8k|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (5135:17): [True: 0, False: 38.8k]
  |  |  ------------------
  |  | 5136|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5137|      0|            }
  |  | 5138|  38.8k|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5138:13): [True: 38.8k, False: 0]
  |  |  ------------------
  |  | 5139|  38.8k|            _PyFrame_StackPointerValidate(frame);
  |  | 5140|  38.8k|            int res = PyErr_GivenExceptionMatches(left_o, right_o);
  |  | 5141|  38.8k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5142|  38.8k|            stack_pointer += -1;
  |  | 5143|  38.8k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  38.8k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5144|  38.8k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5145|  38.8k|            _PyFrame_StackPointerValidate(frame);
  |  | 5146|  38.8k|            PyStackRef_CLOSE(right);
  |  | 5147|  38.8k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5148|  38.8k|            b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  38.7k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  38.7k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  38.9k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    122|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5148:17): [True: 38.7k, False: 122]
  |  |  ------------------
  |  | 5149|  38.8k|            stack_pointer[0] = b;
  |  | 5150|  38.8k|            stack_pointer += 1;
  |  | 5151|  38.8k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  38.8k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5152|  38.8k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  38.8k|    { \
  |  |  |  |  201|  38.8k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  38.8k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  38.8k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  38.8k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  38.8k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  38.8k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  38.8k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  38.8k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 38.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  38.8k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  38.8k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  38.8k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  38.8k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  38.8k|    }
  |  |  ------------------
  |  | 5153|  38.8k|        }
  |  | 5154|       |
  |  | 5155|      0|        TARGET(CLEANUP_THROW) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5156|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5157|       |            int opcode = CLEANUP_THROW;
  |  | 5158|       |            (void)(opcode);
  |  | 5159|       |            #endif
  |  | 5160|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5161|      0|            (void)this_instr;
  |  | 5162|      0|            frame->instr_ptr = next_instr;
  |  | 5163|      0|            next_instr += 1;
  |  | 5164|      0|            INSTRUCTION_STATS(CLEANUP_THROW);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5165|      0|            _PyStackRef sub_iter;
  |  | 5166|      0|            _PyStackRef null_in;
  |  | 5167|      0|            _PyStackRef last_sent_val;
  |  | 5168|      0|            _PyStackRef exc_value_st;
  |  | 5169|      0|            _PyStackRef none;
  |  | 5170|      0|            _PyStackRef null_out;
  |  | 5171|      0|            _PyStackRef value;
  |  | 5172|      0|            exc_value_st = stack_pointer[-1];
  |  | 5173|      0|            last_sent_val = stack_pointer[-2];
  |  | 5174|      0|            null_in = stack_pointer[-3];
  |  | 5175|      0|            sub_iter = stack_pointer[-4];
  |  | 5176|      0|            PyObject *exc_value = PyStackRef_AsPyObjectBorrow(exc_value_st);
  |  | 5177|      0|            #if !_Py_TAIL_CALL_INTERP
  |  | 5178|      0|            assert(throwflag);
  |  |  ------------------
  |  |  |  Branch (5178:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5179|      0|            #endif
  |  | 5180|      0|            assert(exc_value && PyExceptionInstance_Check(exc_value));
  |  |  ------------------
  |  |  |  Branch (5180:13): [True: 0, False: 0]
  |  |  |  Branch (5180:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5181|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5182|      0|            _PyFrame_StackPointerValidate(frame);
  |  | 5183|      0|            int matches = PyErr_GivenExceptionMatches(exc_value, PyExc_StopIteration);
  |  | 5184|      0|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5185|      0|            if (matches) {
  |  |  ------------------
  |  |  |  Branch (5185:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 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|      0|            else {
  |  | 5221|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5221:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5222|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5223|      0|                _PyErr_SetRaisedException(tstate, Py_NewRef(exc_value));
  |  |  ------------------
  |  |  |  |  550|      0|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5224|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5225|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5225:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5226|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5227|      0|                monitor_reraise(tstate, frame, this_instr);
  |  | 5228|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5229|      0|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5229:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5230|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5231|      0|                JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  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|  11.9M|        TARGET(COMPARE_OP) {
  |  |  ------------------
  |  |  |  |  132|  11.9M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5242|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5243|       |            int opcode = COMPARE_OP;
  |  | 5244|       |            (void)(opcode);
  |  | 5245|       |            #endif
  |  | 5246|  11.9M|            frame->instr_ptr = next_instr;
  |  | 5247|  11.9M|            next_instr += 2;
  |  | 5248|  11.9M|            INSTRUCTION_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |   71|  11.9M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5249|  11.9M|            PREDICTED_COMPARE_OP:;
  |  | 5250|  11.9M|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 5251|  11.9M|            (void)this_instr;
  |  | 5252|  11.9M|            _PyStackRef left;
  |  | 5253|  11.9M|            _PyStackRef right;
  |  | 5254|  11.9M|            _PyStackRef res;
  |  | 5255|       |            // _SPECIALIZE_COMPARE_OP
  |  | 5256|  11.9M|            {
  |  | 5257|  11.9M|                right = stack_pointer[-1];
  |  | 5258|  11.9M|                left = stack_pointer[-2];
  |  | 5259|  11.9M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 5260|  11.9M|                (void)counter;
  |  | 5261|  11.9M|                #if ENABLE_SPECIALIZATION
  |  | 5262|  11.9M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  11.9M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 1.70k, False: 11.9M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5263|  1.70k|                    next_instr = this_instr;
  |  | 5264|  1.70k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5265|  1.70k|                    _PyFrame_StackPointerValidate(frame);
  |  | 5266|  1.70k|                    _Py_Specialize_CompareOp(left, right, next_instr, oparg);
  |  | 5267|  1.70k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5268|  1.70k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  1.70k|    { \
  |  |  |  |  217|  1.70k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  1.70k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.70k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  1.70k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  1.70k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  1.70k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  1.70k|    }
  |  |  ------------------
  |  | 5269|  1.70k|                }
  |  | 5270|  11.9M|                OPCODE_DEFERRED_INC(COMPARE_OP);
  |  |  ------------------
  |  |  |  |   90|  11.9M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 5271|  11.9M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  11.9M|    do { \
  |  |  |  |  378|  11.9M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  11.9M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 11.9M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5272|  11.9M|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 5273|  11.9M|            }
  |  | 5274|       |            // _COMPARE_OP
  |  | 5275|  11.9M|            {
  |  | 5276|  11.9M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5277|  11.9M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5278|  11.9M|                assert((oparg >> 5) <= Py_GE);
  |  |  ------------------
  |  |  |  Branch (5278:17): [True: 11.9M, False: 1.70k]
  |  |  ------------------
  |  | 5279|  11.9M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5280|  11.9M|                _PyFrame_StackPointerValidate(frame);
  |  | 5281|  11.9M|                PyObject *res_o = PyObject_RichCompare(left_o, right_o, oparg >> 5);
  |  | 5282|  11.9M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5283|  11.9M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5283:17): [True: 11.9M, False: 0]
  |  |  ------------------
  |  | 5284|  11.9M|                _PyFrame_StackPointerValidate(frame);
  |  | 5285|  11.9M|                _PyStackRef tmp = right;
  |  | 5286|  11.9M|                right = PyStackRef_NULL;
  |  | 5287|  11.9M|                stack_pointer[-1] = right;
  |  | 5288|  11.9M|                PyStackRef_CLOSE(tmp);
  |  | 5289|  11.9M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5290|  11.9M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5290:17): [True: 11.9M, False: 0]
  |  |  ------------------
  |  | 5291|  11.9M|                _PyFrame_StackPointerValidate(frame);
  |  | 5292|  11.9M|                tmp = left;
  |  | 5293|  11.9M|                left = PyStackRef_NULL;
  |  | 5294|  11.9M|                stack_pointer[-2] = left;
  |  | 5295|  11.9M|                PyStackRef_CLOSE(tmp);
  |  | 5296|  11.9M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5297|  11.9M|                stack_pointer += -2;
  |  | 5298|  11.9M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  11.9M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5299|  11.9M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (5299:21): [True: 0, False: 11.9M]
  |  |  ------------------
  |  | 5300|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5301|      0|                }
  |  | 5302|  11.9M|                if (oparg & 16) {
  |  |  ------------------
  |  |  |  Branch (5302:21): [True: 11.9M, False: 30]
  |  |  ------------------
  |  | 5303|  11.9M|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5304|  11.9M|                    _PyFrame_StackPointerValidate(frame);
  |  | 5305|  11.9M|                    int res_bool = PyObject_IsTrue(res_o);
  |  | 5306|  11.9M|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5307|  11.9M|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5307:21): [True: 11.9M, False: 0]
  |  |  ------------------
  |  | 5308|  11.9M|                    _PyFrame_StackPointerValidate(frame);
  |  | 5309|  11.9M|                    Py_DECREF(res_o);
  |  |  ------------------
  |  |  |  |   80|  11.9M|    do { \
  |  |  |  |   81|  11.9M|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|  11.9M|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  11.9M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  11.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  11.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 11.9M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|  11.9M|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|  11.9M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|  11.9M|            break; \
  |  |  |  |   85|  11.9M|        } \
  |  |  |  |   86|  11.9M|        _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|  11.9M|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5311|  11.9M|                    if (res_bool < 0) {
  |  |  ------------------
  |  |  |  Branch (5311:25): [True: 0, False: 11.9M]
  |  |  ------------------
  |  | 5312|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5313|      0|                    }
  |  | 5314|  11.9M|                    res = res_bool ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  7.00M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  7.00M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                   res = res_bool ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  16.8M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  4.93M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5314:27): [True: 7.00M, False: 4.93M]
  |  |  ------------------
  |  | 5315|  11.9M|                }
  |  | 5316|     30|                else {
  |  | 5317|     30|                    res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 5318|     30|                }
  |  | 5319|  11.9M|            }
  |  | 5320|  11.9M|            stack_pointer[0] = res;
  |  | 5321|  11.9M|            stack_pointer += 1;
  |  | 5322|  11.9M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  11.9M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5323|  11.9M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  11.9M|    { \
  |  |  |  |  201|  11.9M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  11.9M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  11.9M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  11.9M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  11.9M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  11.9M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  11.9M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  11.9M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 11.9M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  11.9M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  11.9M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  11.9M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  11.9M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  11.9M|    }
  |  |  ------------------
  |  | 5324|  11.9M|        }
  |  | 5325|       |
  |  | 5326|    288|        TARGET(COMPARE_OP_FLOAT) {
  |  |  ------------------
  |  |  |  |  132|    288|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5327|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5328|       |            int opcode = COMPARE_OP_FLOAT;
  |  | 5329|       |            (void)(opcode);
  |  | 5330|       |            #endif
  |  | 5331|    288|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5332|    288|            (void)this_instr;
  |  | 5333|    288|            frame->instr_ptr = next_instr;
  |  | 5334|    288|            next_instr += 2;
  |  | 5335|    288|            INSTRUCTION_STATS(COMPARE_OP_FLOAT);
  |  |  ------------------
  |  |  |  |   71|    288|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5336|    288|            static_assert(INLINE_CACHE_ENTRIES_COMPARE_OP == 1, "incorrect cache size");
  |  | 5337|    288|            _PyStackRef value;
  |  | 5338|    288|            _PyStackRef left;
  |  | 5339|    288|            _PyStackRef right;
  |  | 5340|    288|            _PyStackRef res;
  |  | 5341|    288|            _PyStackRef l;
  |  | 5342|    288|            _PyStackRef r;
  |  | 5343|       |            // _GUARD_TOS_FLOAT
  |  | 5344|    288|            {
  |  | 5345|    288|                value = stack_pointer[-1];
  |  | 5346|    288|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 5347|    288|                if (!PyFloat_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   17|    288|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    288|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    288|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    288|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5347:21): [True: 2, False: 286]
  |  |  ------------------
  |  | 5348|      2|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      2|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5349|      2|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5349:21): [True: 2, False: 0]
  |  |  ------------------
  |  | 5350|      2|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      2|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5351|      0|                }
  |  | 5352|    288|            }
  |  | 5353|       |            // _GUARD_NOS_FLOAT
  |  | 5354|    286|            {
  |  | 5355|    286|                left = stack_pointer[-2];
  |  | 5356|    286|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5357|    286|                if (!PyFloat_CheckExact(left_o)) {
  |  |  ------------------
  |  |  |  |   17|    286|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    286|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    286|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    286|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5357:21): [True: 0, False: 286]
  |  |  ------------------
  |  | 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|    286|            }
  |  | 5363|       |            /* Skip 1 cache entry */
  |  | 5364|       |            // _COMPARE_OP_FLOAT
  |  | 5365|    286|            {
  |  | 5366|    286|                right = value;
  |  | 5367|    286|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5368|    286|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5369|    286|                STAT_INC(COMPARE_OP, hit);
  |  |  ------------------
  |  |  |  |   73|    286|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5370|    286|                double dleft = PyFloat_AS_DOUBLE(left_o);
  |  |  ------------------
  |  |  |  |   18|    286|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    286|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    286|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5371|    286|                double dright = PyFloat_AS_DOUBLE(right_o);
  |  |  ------------------
  |  |  |  |   18|    286|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    286|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    286|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5372|    286|                int sign_ish = COMPARISON_BIT(dleft, dright);
  |  |  ------------------
  |  |  |  |  523|    286|#define COMPARISON_BIT(x, y) (1 << (2 * ((x) >= (y)) + ((x) <= (y))))
  |  |  ------------------
  |  | 5373|    286|                l = left;
  |  | 5374|    286|                r = right;
  |  | 5375|    286|                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|    572|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    286|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5375:23): [True: 0, False: 286]
  |  |  ------------------
  |  | 5376|    286|            }
  |  | 5377|       |            // _POP_TOP_FLOAT
  |  | 5378|    286|            {
  |  | 5379|    286|                value = r;
  |  | 5380|    286|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5380:17): [True: 286, False: 0]
  |  |  ------------------
  |  | 5381|    286|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  | 5382|    286|            }
  |  | 5383|       |            // _POP_TOP_FLOAT
  |  | 5384|      0|            {
  |  | 5385|    286|                value = l;
  |  | 5386|    286|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5386:17): [True: 286, False: 0]
  |  |  ------------------
  |  | 5387|    286|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  | 5388|    286|            }
  |  | 5389|      0|            stack_pointer[-2] = res;
  |  | 5390|    286|            stack_pointer += -1;
  |  | 5391|    286|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    286|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5392|    286|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    286|    { \
  |  |  |  |  201|    286|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    286|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    286|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    286|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    286|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    286|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    286|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    286|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 286]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    286|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    286|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    286|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    286|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    286|    }
  |  |  ------------------
  |  | 5393|    286|        }
  |  | 5394|       |
  |  | 5395|  29.6M|        TARGET(COMPARE_OP_INT) {
  |  |  ------------------
  |  |  |  |  132|  29.6M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5396|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5397|       |            int opcode = COMPARE_OP_INT;
  |  | 5398|       |            (void)(opcode);
  |  | 5399|       |            #endif
  |  | 5400|  29.6M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5401|  29.6M|            (void)this_instr;
  |  | 5402|  29.6M|            frame->instr_ptr = next_instr;
  |  | 5403|  29.6M|            next_instr += 2;
  |  | 5404|  29.6M|            INSTRUCTION_STATS(COMPARE_OP_INT);
  |  |  ------------------
  |  |  |  |   71|  29.6M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5405|  29.6M|            static_assert(INLINE_CACHE_ENTRIES_COMPARE_OP == 1, "incorrect cache size");
  |  | 5406|  29.6M|            _PyStackRef value;
  |  | 5407|  29.6M|            _PyStackRef left;
  |  | 5408|  29.6M|            _PyStackRef right;
  |  | 5409|  29.6M|            _PyStackRef res;
  |  | 5410|  29.6M|            _PyStackRef l;
  |  | 5411|  29.6M|            _PyStackRef r;
  |  | 5412|       |            // _GUARD_TOS_INT
  |  | 5413|  29.6M|            {
  |  | 5414|  29.6M|                value = stack_pointer[-1];
  |  | 5415|  29.6M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 5416|  29.6M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (5416:21): [True: 0, False: 29.6M]
  |  |  ------------------
  |  | 5417|      0|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5418|      0|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5418:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5419|      0|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5420|      0|                }
  |  | 5421|  29.6M|            }
  |  | 5422|       |            // _GUARD_NOS_INT
  |  | 5423|  29.6M|            {
  |  | 5424|  29.6M|                left = stack_pointer[-2];
  |  | 5425|  29.6M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5426|  29.6M|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (5426:21): [True: 107, False: 29.6M]
  |  |  ------------------
  |  | 5427|    107|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|    107|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5428|    107|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5428:21): [True: 107, False: 0]
  |  |  ------------------
  |  | 5429|    107|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|    107|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5430|      0|                }
  |  | 5431|  29.6M|            }
  |  | 5432|       |            /* Skip 1 cache entry */
  |  | 5433|       |            // _COMPARE_OP_INT
  |  | 5434|  29.6M|            {
  |  | 5435|  29.6M|                right = value;
  |  | 5436|  29.6M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5437|  29.6M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5438|  29.6M|                assert(_PyLong_IsCompact((PyLongObject *)left_o));
  |  |  ------------------
  |  |  |  Branch (5438:17): [True: 29.6M, False: 0]
  |  |  ------------------
  |  | 5439|  29.6M|                assert(_PyLong_IsCompact((PyLongObject *)right_o));
  |  |  ------------------
  |  |  |  Branch (5439:17): [True: 29.6M, False: 0]
  |  |  ------------------
  |  | 5440|  29.6M|                STAT_INC(COMPARE_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  29.6M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5441|  29.6M|                assert(_PyLong_DigitCount((PyLongObject *)left_o) <= 1 &&
  |  |  ------------------
  |  |  |  Branch (5441:17): [True: 29.6M, False: 0]
  |  |  |  Branch (5441:17): [True: 29.6M, False: 0]
  |  |  ------------------
  |  | 5442|  29.6M|                   _PyLong_DigitCount((PyLongObject *)right_o) <= 1);
  |  | 5443|  29.6M|                Py_ssize_t ileft = _PyLong_CompactValue((PyLongObject *)left_o);
  |  | 5444|  29.6M|                Py_ssize_t iright = _PyLong_CompactValue((PyLongObject *)right_o);
  |  | 5445|  29.6M|                int sign_ish = COMPARISON_BIT(ileft, iright);
  |  |  ------------------
  |  |  |  |  523|  29.6M|#define COMPARISON_BIT(x, y) (1 << (2 * ((x) >= (y)) + ((x) <= (y))))
  |  |  ------------------
  |  | 5446|  29.6M|                l = left;
  |  | 5447|  29.6M|                r = right;
  |  | 5448|  29.6M|                res =  (sign_ish & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  9.63M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  9.63M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res =  (sign_ish & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  49.5M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  19.9M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5448:24): [True: 9.63M, False: 19.9M]
  |  |  ------------------
  |  | 5449|  29.6M|            }
  |  | 5450|       |            // _POP_TOP_INT
  |  | 5451|      0|            {
  |  | 5452|  29.6M|                value = r;
  |  | 5453|  29.6M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5453:17): [True: 29.6M, False: 0]
  |  |  ------------------
  |  | 5454|  29.6M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 5455|  29.6M|            }
  |  | 5456|       |            // _POP_TOP_INT
  |  | 5457|      0|            {
  |  | 5458|  29.6M|                value = l;
  |  | 5459|  29.6M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5459:17): [True: 29.6M, False: 0]
  |  |  ------------------
  |  | 5460|  29.6M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 5461|  29.6M|            }
  |  | 5462|      0|            stack_pointer[-2] = res;
  |  | 5463|  29.6M|            stack_pointer += -1;
  |  | 5464|  29.6M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  29.6M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5465|  29.6M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  29.6M|    { \
  |  |  |  |  201|  29.6M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  29.6M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  29.6M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  29.6M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  29.6M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  29.6M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  29.6M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  29.6M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 29.6M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  29.6M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  29.6M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  29.6M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  29.6M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  29.6M|    }
  |  |  ------------------
  |  | 5466|  29.6M|        }
  |  | 5467|       |
  |  | 5468|  13.4M|        TARGET(COMPARE_OP_STR) {
  |  |  ------------------
  |  |  |  |  132|  13.4M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5469|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5470|       |            int opcode = COMPARE_OP_STR;
  |  | 5471|       |            (void)(opcode);
  |  | 5472|       |            #endif
  |  | 5473|  13.4M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5474|  13.4M|            (void)this_instr;
  |  | 5475|  13.4M|            frame->instr_ptr = next_instr;
  |  | 5476|  13.4M|            next_instr += 2;
  |  | 5477|  13.4M|            INSTRUCTION_STATS(COMPARE_OP_STR);
  |  |  ------------------
  |  |  |  |   71|  13.4M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5478|  13.4M|            static_assert(INLINE_CACHE_ENTRIES_COMPARE_OP == 1, "incorrect cache size");
  |  | 5479|  13.4M|            _PyStackRef value;
  |  | 5480|  13.4M|            _PyStackRef nos;
  |  | 5481|  13.4M|            _PyStackRef left;
  |  | 5482|  13.4M|            _PyStackRef right;
  |  | 5483|  13.4M|            _PyStackRef res;
  |  | 5484|  13.4M|            _PyStackRef l;
  |  | 5485|  13.4M|            _PyStackRef r;
  |  | 5486|       |            // _GUARD_TOS_UNICODE
  |  | 5487|  13.4M|            {
  |  | 5488|  13.4M|                value = stack_pointer[-1];
  |  | 5489|  13.4M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 5490|  13.4M|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|  13.4M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  13.4M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  13.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  13.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5490:21): [True: 7, False: 13.4M]
  |  |  ------------------
  |  | 5491|      7|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|      7|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5492|      7|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5492:21): [True: 7, False: 0]
  |  |  ------------------
  |  | 5493|      7|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|      7|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5494|      0|                }
  |  | 5495|  13.4M|            }
  |  | 5496|       |            // _GUARD_NOS_UNICODE
  |  | 5497|  13.4M|            {
  |  | 5498|  13.4M|                nos = stack_pointer[-2];
  |  | 5499|  13.4M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 5500|  13.4M|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|  13.4M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  13.4M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  13.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  13.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5500:21): [True: 32, False: 13.4M]
  |  |  ------------------
  |  | 5501|     32|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  299|     32|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5502|     32|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  |  ------------------
  |  |  |  Branch (5502:21): [True: 32, False: 0]
  |  |  ------------------
  |  | 5503|     32|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|     32|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5504|      0|                }
  |  | 5505|  13.4M|            }
  |  | 5506|       |            /* Skip 1 cache entry */
  |  | 5507|       |            // _COMPARE_OP_STR
  |  | 5508|  13.4M|            {
  |  | 5509|  13.4M|                right = value;
  |  | 5510|  13.4M|                left = nos;
  |  | 5511|  13.4M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5512|  13.4M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5513|  13.4M|                STAT_INC(COMPARE_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  13.4M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5514|  13.4M|                int eq = _PyUnicode_Equal(left_o, right_o);
  |  | 5515|  13.4M|                assert((oparg >> 5) == Py_EQ || (oparg >> 5) == Py_NE);
  |  |  ------------------
  |  |  |  Branch (5515:17): [True: 13.2M, False: 274k]
  |  |  |  Branch (5515:17): [True: 274k, False: 0]
  |  |  ------------------
  |  | 5516|  13.4M|                l = left;
  |  | 5517|  13.4M|                r = right;
  |  | 5518|  13.4M|                assert(eq == 0 || eq == 1);
  |  |  ------------------
  |  |  |  Branch (5518:17): [True: 13.0M, False: 479k]
  |  |  |  Branch (5518:17): [True: 479k, False: 0]
  |  |  ------------------
  |  | 5519|  13.4M|                assert((oparg & 0xf) == COMPARISON_NOT_EQUALS || (oparg & 0xf) == COMPARISON_EQUALS);
  |  |  ------------------
  |  |  |  Branch (5519:17): [True: 274k, False: 13.2M]
  |  |  |  Branch (5519:17): [True: 13.2M, False: 0]
  |  |  ------------------
  |  | 5520|  13.4M|                assert(COMPARISON_NOT_EQUALS + 1 == COMPARISON_EQUALS);
  |  |  ------------------
  |  |  |  Branch (5520:17): [True: 13.4M, Folded]
  |  |  ------------------
  |  | 5521|  13.4M|                res = ((COMPARISON_NOT_EQUALS + eq) & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  538|  13.4M|#define COMPARISON_NOT_EQUALS (COMPARISON_UNORDERED | COMPARISON_LESS_THAN | COMPARISON_GREATER_THAN)
  |  |  |  |  ------------------
  |  |  |  |  |  |  532|  13.4M|#define COMPARISON_UNORDERED 1
  |  |  |  |  ------------------
  |  |  |  |               #define COMPARISON_NOT_EQUALS (COMPARISON_UNORDERED | COMPARISON_LESS_THAN | COMPARISON_GREATER_THAN)
  |  |  |  |  ------------------
  |  |  |  |  |  |  534|  13.4M|#define COMPARISON_LESS_THAN 2
  |  |  |  |  ------------------
  |  |  |  |               #define COMPARISON_NOT_EQUALS (COMPARISON_UNORDERED | COMPARISON_LESS_THAN | COMPARISON_GREATER_THAN)
  |  |  |  |  ------------------
  |  |  |  |  |  |  535|  13.4M|#define COMPARISON_GREATER_THAN 4
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = ((COMPARISON_NOT_EQUALS + eq) & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|   207k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   207k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = ((COMPARISON_NOT_EQUALS + eq) & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  26.7M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  13.2M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5521:23): [True: 207k, False: 13.2M]
  |  |  ------------------
  |  | 5522|  13.4M|            }
  |  | 5523|       |            // _POP_TOP_UNICODE
  |  | 5524|      0|            {
  |  | 5525|  13.4M|                value = r;
  |  | 5526|  13.4M|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5526:17): [True: 13.4M, False: 0]
  |  |  ------------------
  |  | 5527|  13.4M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 5528|  13.4M|            }
  |  | 5529|       |            // _POP_TOP_UNICODE
  |  | 5530|      0|            {
  |  | 5531|  13.4M|                value = l;
  |  | 5532|  13.4M|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (5532:17): [True: 13.4M, False: 0]
  |  |  ------------------
  |  | 5533|  13.4M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 5534|  13.4M|            }
  |  | 5535|      0|            stack_pointer[-2] = res;
  |  | 5536|  13.4M|            stack_pointer += -1;
  |  | 5537|  13.4M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  13.4M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5538|  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|    }
  |  |  ------------------
  |  | 5539|  13.4M|        }
  |  | 5540|       |
  |  | 5541|   322k|        TARGET(CONTAINS_OP) {
  |  |  ------------------
  |  |  |  |  132|   322k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5542|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5543|       |            int opcode = CONTAINS_OP;
  |  | 5544|       |            (void)(opcode);
  |  | 5545|       |            #endif
  |  | 5546|   322k|            frame->instr_ptr = next_instr;
  |  | 5547|   322k|            next_instr += 2;
  |  | 5548|   322k|            INSTRUCTION_STATS(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |   71|   322k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5549|   322k|            PREDICTED_CONTAINS_OP:;
  |  | 5550|   322k|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 5551|   322k|            (void)this_instr;
  |  | 5552|   322k|            _PyStackRef right;
  |  | 5553|   322k|            _PyStackRef left;
  |  | 5554|   322k|            _PyStackRef b;
  |  | 5555|   322k|            _PyStackRef l;
  |  | 5556|   322k|            _PyStackRef r;
  |  | 5557|   322k|            _PyStackRef value;
  |  | 5558|       |            // _SPECIALIZE_CONTAINS_OP
  |  | 5559|   322k|            {
  |  | 5560|   322k|                right = stack_pointer[-1];
  |  | 5561|   322k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 5562|   322k|                (void)counter;
  |  | 5563|   322k|                #if ENABLE_SPECIALIZATION
  |  | 5564|   322k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|   322k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 196, False: 321k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5565|    196|                    next_instr = this_instr;
  |  | 5566|    196|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5567|    196|                    _PyFrame_StackPointerValidate(frame);
  |  | 5568|    196|                    _Py_Specialize_ContainsOp(right, next_instr);
  |  | 5569|    196|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 5570|    196|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    196|    { \
  |  |  |  |  217|    196|        opcode = next_instr->op.code; \
  |  |  |  |  218|    196|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    196|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    196|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    196|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    196|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    196|    }
  |  |  ------------------
  |  | 5571|    196|                }
  |  | 5572|   322k|                OPCODE_DEFERRED_INC(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |   90|   322k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 5573|   322k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|   322k|    do { \
  |  |  |  |  378|   322k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|   322k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 322k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5574|   322k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 5575|   322k|            }
  |  | 5576|       |            // _CONTAINS_OP
  |  | 5577|   322k|            {
  |  | 5578|   322k|                left = stack_pointer[-2];
  |  | 5579|   322k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5580|   322k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5581|   322k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5582|   322k|                _PyFrame_StackPointerValidate(frame);
  |  | 5583|   322k|                int res = PySequence_Contains(right_o, left_o);
  |  | 5584|   322k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5585|   322k|                if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5585:21): [True: 0, False: 322k]
  |  |  ------------------
  |  | 5586|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5587|      0|                }
  |  | 5588|   322k|                b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  5.13k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  5.13k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|   639k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   317k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5588:21): [True: 5.13k, False: 317k]
  |  |  ------------------
  |  | 5589|   322k|                l = left;
  |  | 5590|   322k|                r = right;
  |  | 5591|   322k|            }
  |  | 5592|       |            // _POP_TOP
  |  | 5593|      0|            {
  |  | 5594|   322k|                value = r;
  |  | 5595|   322k|                stack_pointer[-2] = b;
  |  | 5596|   322k|                stack_pointer[-1] = l;
  |  | 5597|   322k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5597:17): [True: 321k, False: 196]
  |  |  ------------------
  |  | 5598|   321k|                _PyFrame_StackPointerValidate(frame);
  |  | 5599|   321k|                PyStackRef_XCLOSE(value);
  |  | 5600|   321k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5601|   321k|            }
  |  | 5602|       |            // _POP_TOP
  |  | 5603|      0|            {
  |  | 5604|   321k|                value = l;
  |  | 5605|   321k|                stack_pointer += -1;
  |  | 5606|   321k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   321k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5607|   321k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5608|   321k|                _PyFrame_StackPointerValidate(frame);
  |  | 5609|   321k|                PyStackRef_XCLOSE(value);
  |  | 5610|   321k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5611|   321k|            }
  |  | 5612|   321k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   321k|    { \
  |  |  |  |  201|   321k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   321k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   321k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   321k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   321k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   321k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   321k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   321k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 321k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   321k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   321k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   321k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   321k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   321k|    }
  |  |  ------------------
  |  | 5613|   321k|        }
  |  | 5614|       |
  |  | 5615|  3.51k|        TARGET(CONTAINS_OP_DICT) {
  |  |  ------------------
  |  |  |  |  132|  3.51k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5616|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5617|       |            int opcode = CONTAINS_OP_DICT;
  |  | 5618|       |            (void)(opcode);
  |  | 5619|       |            #endif
  |  | 5620|  3.51k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5621|  3.51k|            (void)this_instr;
  |  | 5622|  3.51k|            frame->instr_ptr = next_instr;
  |  | 5623|  3.51k|            next_instr += 2;
  |  | 5624|  3.51k|            INSTRUCTION_STATS(CONTAINS_OP_DICT);
  |  |  ------------------
  |  |  |  |   71|  3.51k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5625|  3.51k|            static_assert(INLINE_CACHE_ENTRIES_CONTAINS_OP == 1, "incorrect cache size");
  |  | 5626|  3.51k|            _PyStackRef tos;
  |  | 5627|  3.51k|            _PyStackRef left;
  |  | 5628|  3.51k|            _PyStackRef right;
  |  | 5629|  3.51k|            _PyStackRef b;
  |  | 5630|  3.51k|            _PyStackRef l;
  |  | 5631|  3.51k|            _PyStackRef r;
  |  | 5632|  3.51k|            _PyStackRef value;
  |  | 5633|       |            // _GUARD_TOS_ANY_DICT
  |  | 5634|  3.51k|            {
  |  | 5635|  3.51k|                tos = stack_pointer[-1];
  |  | 5636|  3.51k|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  | 5637|  3.51k|                if (!PyAnyDict_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   41|  3.51k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|  3.51k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   65|  7.02k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|  3.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|  3.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (65:5): [True: 3.51k, 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|  3.51k|            }
  |  | 5643|       |            /* Skip 1 cache entry */
  |  | 5644|       |            // _CONTAINS_OP_DICT
  |  | 5645|  3.51k|            {
  |  | 5646|  3.51k|                right = tos;
  |  | 5647|  3.51k|                left = stack_pointer[-2];
  |  | 5648|  3.51k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5649|  3.51k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5650|  3.51k|                assert(PyAnyDict_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (5650:17): [True: 3.51k, False: 0]
  |  |  |  Branch (5650:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 5651|  3.51k|                STAT_INC(CONTAINS_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  3.51k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5652|  3.51k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5653|  3.51k|                _PyFrame_StackPointerValidate(frame);
  |  | 5654|  3.51k|                int res = PyDict_Contains(right_o, left_o);
  |  | 5655|  3.51k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5656|  3.51k|                if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5656:21): [True: 0, False: 3.51k]
  |  |  ------------------
  |  | 5657|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5658|      0|                }
  |  | 5659|  3.51k|                b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  1.38k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.38k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  5.63k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  2.12k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5659:21): [True: 1.38k, False: 2.12k]
  |  |  ------------------
  |  | 5660|  3.51k|                l = left;
  |  | 5661|  3.51k|                r = right;
  |  | 5662|  3.51k|            }
  |  | 5663|       |            // _POP_TOP
  |  | 5664|      0|            {
  |  | 5665|  3.51k|                value = r;
  |  | 5666|  3.51k|                stack_pointer[-2] = b;
  |  | 5667|  3.51k|                stack_pointer[-1] = l;
  |  | 5668|  3.51k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5668:17): [True: 3.51k, False: 0]
  |  |  ------------------
  |  | 5669|  3.51k|                _PyFrame_StackPointerValidate(frame);
  |  | 5670|  3.51k|                PyStackRef_XCLOSE(value);
  |  | 5671|  3.51k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5672|  3.51k|            }
  |  | 5673|       |            // _POP_TOP
  |  | 5674|      0|            {
  |  | 5675|  3.51k|                value = l;
  |  | 5676|  3.51k|                stack_pointer += -1;
  |  | 5677|  3.51k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.51k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5678|  3.51k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5679|  3.51k|                _PyFrame_StackPointerValidate(frame);
  |  | 5680|  3.51k|                PyStackRef_XCLOSE(value);
  |  | 5681|  3.51k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5682|  3.51k|            }
  |  | 5683|  3.51k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.51k|    { \
  |  |  |  |  201|  3.51k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.51k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.51k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.51k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.51k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.51k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.51k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.51k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.51k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.51k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.51k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.51k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.51k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.51k|    }
  |  |  ------------------
  |  | 5684|  3.51k|        }
  |  | 5685|       |
  |  | 5686|  1.59M|        TARGET(CONTAINS_OP_SET) {
  |  |  ------------------
  |  |  |  |  132|  1.59M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5687|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5688|       |            int opcode = CONTAINS_OP_SET;
  |  | 5689|       |            (void)(opcode);
  |  | 5690|       |            #endif
  |  | 5691|  1.59M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5692|  1.59M|            (void)this_instr;
  |  | 5693|  1.59M|            frame->instr_ptr = next_instr;
  |  | 5694|  1.59M|            next_instr += 2;
  |  | 5695|  1.59M|            INSTRUCTION_STATS(CONTAINS_OP_SET);
  |  |  ------------------
  |  |  |  |   71|  1.59M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5696|  1.59M|            static_assert(INLINE_CACHE_ENTRIES_CONTAINS_OP == 1, "incorrect cache size");
  |  | 5697|  1.59M|            _PyStackRef tos;
  |  | 5698|  1.59M|            _PyStackRef left;
  |  | 5699|  1.59M|            _PyStackRef right;
  |  | 5700|  1.59M|            _PyStackRef b;
  |  | 5701|  1.59M|            _PyStackRef l;
  |  | 5702|  1.59M|            _PyStackRef r;
  |  | 5703|  1.59M|            _PyStackRef value;
  |  | 5704|       |            // _GUARD_TOS_ANY_SET
  |  | 5705|  1.59M|            {
  |  | 5706|  1.59M|                tos = stack_pointer[-1];
  |  | 5707|  1.59M|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  | 5708|  1.59M|                if (!PyAnySet_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   29|  1.59M|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  3.19M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.59M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 1.59M, False: 538]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    538|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    538|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    538|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 538, 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|  1.59M|            }
  |  | 5714|       |            /* Skip 1 cache entry */
  |  | 5715|       |            // _CONTAINS_OP_SET
  |  | 5716|  1.59M|            {
  |  | 5717|  1.59M|                right = tos;
  |  | 5718|  1.59M|                left = stack_pointer[-2];
  |  | 5719|  1.59M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5720|  1.59M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5721|  1.59M|                assert(PyAnySet_CheckExact(right_o));
  |  |  ------------------
  |  |  |  Branch (5721:17): [True: 1.59M, False: 538]
  |  |  |  Branch (5721:17): [True: 538, False: 0]
  |  |  ------------------
  |  | 5722|  1.59M|                STAT_INC(CONTAINS_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  1.59M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5723|  1.59M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5724|  1.59M|                _PyFrame_StackPointerValidate(frame);
  |  | 5725|  1.59M|                int res = _PySet_Contains((PySetObject *)right_o, left_o);
  |  | 5726|  1.59M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5727|  1.59M|                if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5727:21): [True: 0, False: 1.59M]
  |  |  ------------------
  |  | 5728|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5729|      0|                }
  |  | 5730|  1.59M|                b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|    631|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    631|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  3.19M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.59M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5730:21): [True: 631, False: 1.59M]
  |  |  ------------------
  |  | 5731|  1.59M|                l = left;
  |  | 5732|  1.59M|                r = right;
  |  | 5733|  1.59M|            }
  |  | 5734|       |            // _POP_TOP
  |  | 5735|      0|            {
  |  | 5736|  1.59M|                value = r;
  |  | 5737|  1.59M|                stack_pointer[-2] = b;
  |  | 5738|  1.59M|                stack_pointer[-1] = l;
  |  | 5739|  1.59M|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5739:17): [True: 1.59M, False: 0]
  |  |  ------------------
  |  | 5740|  1.59M|                _PyFrame_StackPointerValidate(frame);
  |  | 5741|  1.59M|                PyStackRef_XCLOSE(value);
  |  | 5742|  1.59M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5743|  1.59M|            }
  |  | 5744|       |            // _POP_TOP
  |  | 5745|      0|            {
  |  | 5746|  1.59M|                value = l;
  |  | 5747|  1.59M|                stack_pointer += -1;
  |  | 5748|  1.59M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.59M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5749|  1.59M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5750|  1.59M|                _PyFrame_StackPointerValidate(frame);
  |  | 5751|  1.59M|                PyStackRef_XCLOSE(value);
  |  | 5752|  1.59M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5753|  1.59M|            }
  |  | 5754|  1.59M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.59M|    { \
  |  |  |  |  201|  1.59M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.59M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.59M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.59M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.59M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.59M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.59M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.59M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.59M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.59M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.59M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.59M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.59M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.59M|    }
  |  |  ------------------
  |  | 5755|  1.59M|        }
  |  | 5756|       |
  |  | 5757|    641|        TARGET(CONVERT_VALUE) {
  |  |  ------------------
  |  |  |  |  132|    641|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5758|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5759|       |            int opcode = CONVERT_VALUE;
  |  | 5760|       |            (void)(opcode);
  |  | 5761|       |            #endif
  |  | 5762|    641|            frame->instr_ptr = next_instr;
  |  | 5763|    641|            next_instr += 1;
  |  | 5764|    641|            INSTRUCTION_STATS(CONVERT_VALUE);
  |  |  ------------------
  |  |  |  |   71|    641|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5765|    641|            _PyStackRef value;
  |  | 5766|    641|            _PyStackRef result;
  |  | 5767|    641|            value = stack_pointer[-1];
  |  | 5768|    641|            conversion_func conv_fn;
  |  | 5769|    641|            assert(oparg >= FVC_STR && oparg <= FVC_ASCII);
  |  |  ------------------
  |  |  |  Branch (5769:13): [True: 641, False: 0]
  |  |  |  Branch (5769:13): [True: 641, False: 0]
  |  |  ------------------
  |  | 5770|    641|            conv_fn = _PyEval_ConversionFuncs[oparg];
  |  | 5771|    641|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5772|    641|            _PyFrame_StackPointerValidate(frame);
  |  | 5773|    641|            PyObject *result_o = conv_fn(PyStackRef_AsPyObjectBorrow(value));
  |  | 5774|    641|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5775|    641|            stack_pointer += -1;
  |  | 5776|    641|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    641|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5777|    641|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5778|    641|            _PyFrame_StackPointerValidate(frame);
  |  | 5779|    641|            PyStackRef_CLOSE(value);
  |  | 5780|    641|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5781|    641|            if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (5781:17): [True: 0, False: 641]
  |  |  ------------------
  |  | 5782|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5783|      0|            }
  |  | 5784|    641|            result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 5785|    641|            stack_pointer[0] = result;
  |  | 5786|    641|            stack_pointer += 1;
  |  | 5787|    641|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    641|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5788|    641|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    641|    { \
  |  |  |  |  201|    641|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    641|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    641|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    641|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    641|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    641|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    641|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    641|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 641]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    641|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    641|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    641|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    641|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    641|    }
  |  |  ------------------
  |  | 5789|    641|        }
  |  | 5790|       |
  |  | 5791|   959k|        TARGET(COPY) {
  |  |  ------------------
  |  |  |  |  132|   959k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5792|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5793|       |            int opcode = COPY;
  |  | 5794|       |            (void)(opcode);
  |  | 5795|       |            #endif
  |  | 5796|   959k|            frame->instr_ptr = next_instr;
  |  | 5797|   959k|            next_instr += 1;
  |  | 5798|   959k|            INSTRUCTION_STATS(COPY);
  |  |  ------------------
  |  |  |  |   71|   959k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5799|   959k|            _PyStackRef bottom;
  |  | 5800|   959k|            _PyStackRef top;
  |  | 5801|   959k|            bottom = stack_pointer[-1 - (oparg-1)];
  |  | 5802|   959k|            top = PyStackRef_DUP(bottom);
  |  | 5803|   959k|            stack_pointer[0] = top;
  |  | 5804|   959k|            stack_pointer += 1;
  |  | 5805|   959k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   959k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5806|   959k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   959k|    { \
  |  |  |  |  201|   959k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   959k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   959k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   959k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   959k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   959k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   959k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   959k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 959k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   959k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   959k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   959k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   959k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   959k|    }
  |  |  ------------------
  |  | 5807|   959k|        }
  |  | 5808|       |
  |  | 5809|   959k|        TARGET(COPY_FREE_VARS) {
  |  |  ------------------
  |  |  |  |  132|  5.02k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5810|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5811|       |            int opcode = COPY_FREE_VARS;
  |  | 5812|       |            (void)(opcode);
  |  | 5813|       |            #endif
  |  | 5814|  5.02k|            frame->instr_ptr = next_instr;
  |  | 5815|  5.02k|            next_instr += 1;
  |  | 5816|  5.02k|            INSTRUCTION_STATS(COPY_FREE_VARS);
  |  |  ------------------
  |  |  |  |   71|  5.02k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5817|  5.02k|            PyCodeObject *co = _PyFrame_GetCode(frame);
  |  | 5818|  5.02k|            assert(PyStackRef_FunctionCheck(frame->f_funcobj));
  |  |  ------------------
  |  |  |  Branch (5818:13): [True: 5.02k, False: 0]
  |  |  ------------------
  |  | 5819|  5.02k|            PyFunctionObject *func = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(frame->f_funcobj);
  |  | 5820|  5.02k|            PyObject *closure = func->func_closure;
  |  | 5821|  5.02k|            assert(oparg == co->co_nfreevars);
  |  |  ------------------
  |  |  |  Branch (5821:13): [True: 5.02k, False: 0]
  |  |  ------------------
  |  | 5822|  5.02k|            int offset = co->co_nlocalsplus - oparg;
  |  | 5823|  19.1k|            for (int i = 0; i < oparg; ++i) {
  |  |  ------------------
  |  |  |  Branch (5823:29): [True: 14.1k, False: 5.02k]
  |  |  ------------------
  |  | 5824|  14.1k|                PyObject *o = PyTuple_GET_ITEM(closure, i);
  |  |  ------------------
  |  |  |  |   29|  14.1k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|  14.1k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5824:31): [True: 14.1k, False: 0]
  |  |  ------------------
  |  | 5825|  14.1k|                frame->localsplus[offset + i] = PyStackRef_FromPyObjectNew(o);
  |  |  ------------------
  |  |  |  |  611|  14.1k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5826|  14.1k|            }
  |  | 5827|  5.02k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.02k|    { \
  |  |  |  |  201|  5.02k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.02k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.02k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.02k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  5.02k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.02k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.02k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.02k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.02k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.02k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.02k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.02k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.02k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.02k|    }
  |  |  ------------------
  |  | 5828|  5.02k|        }
  |  | 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|  1.52k|        TARGET(DELETE_FAST) {
  |  |  ------------------
  |  |  |  |  132|  1.52k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5855|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5856|       |            int opcode = DELETE_FAST;
  |  | 5857|       |            (void)(opcode);
  |  | 5858|       |            #endif
  |  | 5859|  1.52k|            frame->instr_ptr = next_instr;
  |  | 5860|  1.52k|            next_instr += 1;
  |  | 5861|  1.52k|            INSTRUCTION_STATS(DELETE_FAST);
  |  |  ------------------
  |  |  |  |   71|  1.52k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5862|  1.52k|            _PyStackRef v = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|  1.52k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5863|  1.52k|            if (PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  482|  1.52k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.52k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.52k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 1.52k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5864|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5865|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 5866|      0|                _PyEval_FormatExcCheckArg(tstate, PyExc_UnboundLocalError,
  |  | 5867|      0|                    UNBOUNDLOCAL_ERROR_MSG,
  |  |  ------------------
  |  |  |  |  401|      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|  1.52k|            _PyStackRef tmp = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|  1.52k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5874|  1.52k|            GETLOCAL(oparg) = PyStackRef_NULL;
  |  |  ------------------
  |  |  |  |  285|  1.52k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5875|  1.52k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5876|  1.52k|            _PyFrame_StackPointerValidate(frame);
  |  | 5877|  1.52k|            PyStackRef_XCLOSE(tmp);
  |  | 5878|  1.52k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5879|  1.52k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.52k|    { \
  |  |  |  |  201|  1.52k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.52k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.52k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.52k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.52k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.52k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.52k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.52k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.52k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.52k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.52k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.52k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.52k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.52k|    }
  |  |  ------------------
  |  | 5880|  1.52k|        }
  |  | 5881|       |
  |  | 5882|    354|        TARGET(DELETE_SUBSCR) {
  |  |  ------------------
  |  |  |  |  132|    354|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5883|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5884|       |            int opcode = DELETE_SUBSCR;
  |  | 5885|       |            (void)(opcode);
  |  | 5886|       |            #endif
  |  | 5887|    354|            frame->instr_ptr = next_instr;
  |  | 5888|    354|            next_instr += 1;
  |  | 5889|    354|            INSTRUCTION_STATS(DELETE_SUBSCR);
  |  |  ------------------
  |  |  |  |   71|    354|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5890|    354|            _PyStackRef container;
  |  | 5891|    354|            _PyStackRef sub;
  |  | 5892|    354|            sub = stack_pointer[-1];
  |  | 5893|    354|            container = stack_pointer[-2];
  |  | 5894|    354|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5895|    354|            _PyFrame_StackPointerValidate(frame);
  |  | 5896|    354|            int err = PyObject_DelItem(PyStackRef_AsPyObjectBorrow(container),
  |  | 5897|    354|                                       PyStackRef_AsPyObjectBorrow(sub));
  |  | 5898|    354|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5899|    354|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5899:13): [True: 354, False: 0]
  |  |  ------------------
  |  | 5900|    354|            _PyFrame_StackPointerValidate(frame);
  |  | 5901|    354|            _PyStackRef tmp = sub;
  |  | 5902|    354|            sub = PyStackRef_NULL;
  |  | 5903|    354|            stack_pointer[-1] = sub;
  |  | 5904|    354|            PyStackRef_CLOSE(tmp);
  |  | 5905|    354|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5906|    354|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (5906:13): [True: 354, False: 0]
  |  |  ------------------
  |  | 5907|    354|            _PyFrame_StackPointerValidate(frame);
  |  | 5908|    354|            tmp = container;
  |  | 5909|    354|            container = PyStackRef_NULL;
  |  | 5910|    354|            stack_pointer[-2] = container;
  |  | 5911|    354|            PyStackRef_CLOSE(tmp);
  |  | 5912|    354|            _PyFrame_StackPointerInvalidate(frame);
  |  | 5913|    354|            stack_pointer += -2;
  |  | 5914|    354|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    354|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5915|    354|            if (err) {
  |  |  ------------------
  |  |  |  Branch (5915:17): [True: 0, False: 354]
  |  |  ------------------
  |  | 5916|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5917|      0|            }
  |  | 5918|    354|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    354|    { \
  |  |  |  |  201|    354|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    354|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    354|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    354|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    354|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    354|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    354|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    354|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 354]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    354|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    354|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    354|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    354|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    354|    }
  |  |  ------------------
  |  | 5919|    354|        }
  |  | 5920|       |
  |  | 5921|    695|        TARGET(DICT_MERGE) {
  |  |  ------------------
  |  |  |  |  132|    695|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5922|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5923|       |            int opcode = DICT_MERGE;
  |  | 5924|       |            (void)(opcode);
  |  | 5925|       |            #endif
  |  | 5926|    695|            frame->instr_ptr = next_instr;
  |  | 5927|    695|            next_instr += 1;
  |  | 5928|    695|            INSTRUCTION_STATS(DICT_MERGE);
  |  |  ------------------
  |  |  |  |   71|    695|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5929|    695|            _PyStackRef callable;
  |  | 5930|    695|            _PyStackRef dict;
  |  | 5931|    695|            _PyStackRef update;
  |  | 5932|    695|            _PyStackRef u;
  |  | 5933|    695|            _PyStackRef value;
  |  | 5934|       |            // _DICT_MERGE
  |  | 5935|    695|            {
  |  | 5936|    695|                update = stack_pointer[-1];
  |  | 5937|    695|                dict = stack_pointer[-2 - (oparg - 1)];
  |  | 5938|    695|                callable = stack_pointer[-5 - (oparg - 1)];
  |  | 5939|    695|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 5940|    695|                PyObject *dict_o = PyStackRef_AsPyObjectBorrow(dict);
  |  | 5941|    695|                PyObject *update_o = PyStackRef_AsPyObjectBorrow(update);
  |  | 5942|    695|                PyObject *dupkey = NULL;
  |  | 5943|    695|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5944|    695|                _PyFrame_StackPointerValidate(frame);
  |  | 5945|    695|                int err = _PyDict_MergeUniq(dict_o, update_o, &dupkey);
  |  | 5946|    695|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5947|    695|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (5947:21): [True: 0, False: 695]
  |  |  ------------------
  |  | 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|    695|                u = update;
  |  | 5959|    695|            }
  |  | 5960|       |            // _POP_TOP
  |  | 5961|      0|            {
  |  | 5962|    695|                value = u;
  |  | 5963|    695|                stack_pointer += -1;
  |  | 5964|    695|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    695|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5965|    695|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5966|    695|                _PyFrame_StackPointerValidate(frame);
  |  | 5967|    695|                PyStackRef_XCLOSE(value);
  |  | 5968|    695|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5969|    695|            }
  |  | 5970|    695|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    695|    { \
  |  |  |  |  201|    695|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    695|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    695|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    695|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    695|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    695|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    695|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    695|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 695]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    695|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    695|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    695|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    695|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    695|    }
  |  |  ------------------
  |  | 5971|    695|        }
  |  | 5972|       |
  |  | 5973|    432|        TARGET(DICT_UPDATE) {
  |  |  ------------------
  |  |  |  |  132|    432|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5974|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5975|       |            int opcode = DICT_UPDATE;
  |  | 5976|       |            (void)(opcode);
  |  | 5977|       |            #endif
  |  | 5978|    432|            frame->instr_ptr = next_instr;
  |  | 5979|    432|            next_instr += 1;
  |  | 5980|    432|            INSTRUCTION_STATS(DICT_UPDATE);
  |  |  ------------------
  |  |  |  |   71|    432|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5981|    432|            _PyStackRef dict;
  |  | 5982|    432|            _PyStackRef update;
  |  | 5983|    432|            _PyStackRef upd;
  |  | 5984|    432|            _PyStackRef value;
  |  | 5985|       |            // _DICT_UPDATE
  |  | 5986|    432|            {
  |  | 5987|    432|                update = stack_pointer[-1];
  |  | 5988|    432|                dict = stack_pointer[-2 - (oparg - 1)];
  |  | 5989|    432|                PyObject *dict_o = PyStackRef_AsPyObjectBorrow(dict);
  |  | 5990|    432|                PyObject *update_o = PyStackRef_AsPyObjectBorrow(update);
  |  | 5991|    432|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5992|    432|                _PyFrame_StackPointerValidate(frame);
  |  | 5993|    432|                int err = PyDict_Update(dict_o, update_o);
  |  | 5994|    432|                _PyFrame_StackPointerInvalidate(frame);
  |  | 5995|    432|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (5995:21): [True: 0, False: 432]
  |  |  ------------------
  |  | 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));
  |  |  ------------------
  |  |  |  |  921|      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|    432|                upd = update;
  |  | 6028|    432|            }
  |  | 6029|       |            // _POP_TOP
  |  | 6030|      0|            {
  |  | 6031|    432|                value = upd;
  |  | 6032|    432|                stack_pointer += -1;
  |  | 6033|    432|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    432|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6034|    432|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6035|    432|                _PyFrame_StackPointerValidate(frame);
  |  | 6036|    432|                PyStackRef_XCLOSE(value);
  |  | 6037|    432|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6038|    432|            }
  |  | 6039|    432|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    432|    { \
  |  |  |  |  201|    432|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    432|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    432|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    432|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    432|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    432|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    432|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    432|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 432]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    432|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    432|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    432|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    432|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    432|    }
  |  |  ------------------
  |  | 6040|    432|        }
  |  | 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|    134|        TARGET(END_FOR) {
  |  |  ------------------
  |  |  |  |  132|    134|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6100|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6101|       |            int opcode = END_FOR;
  |  | 6102|       |            (void)(opcode);
  |  | 6103|       |            #endif
  |  | 6104|    134|            next_instr += 1;
  |  | 6105|    134|            INSTRUCTION_STATS(END_FOR);
  |  |  ------------------
  |  |  |  |   71|    134|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6106|    134|            _PyStackRef value;
  |  | 6107|    134|            value = stack_pointer[-1];
  |  | 6108|    134|            stack_pointer += -1;
  |  | 6109|    134|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    134|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6110|    134|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6111|    134|            _PyFrame_StackPointerValidate(frame);
  |  | 6112|    134|            PyStackRef_CLOSE(value);
  |  | 6113|    134|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6114|    134|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    134|    { \
  |  |  |  |  201|    134|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    134|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    134|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    134|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    134|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    134|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    134|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    134|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 134]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    134|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    134|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    134|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    134|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    134|    }
  |  |  ------------------
  |  | 6115|    134|        }
  |  | 6116|       |
  |  | 6117|    134|        TARGET(END_SEND) {
  |  |  ------------------
  |  |  |  |  132|      5|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6118|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6119|       |            int opcode = END_SEND;
  |  | 6120|       |            (void)(opcode);
  |  | 6121|       |            #endif
  |  | 6122|      5|            frame->instr_ptr = next_instr;
  |  | 6123|      5|            next_instr += 1;
  |  | 6124|      5|            INSTRUCTION_STATS(END_SEND);
  |  |  ------------------
  |  |  |  |   71|      5|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6125|      5|            _PyStackRef receiver;
  |  | 6126|      5|            _PyStackRef index_or_null;
  |  | 6127|      5|            _PyStackRef value;
  |  | 6128|      5|            _PyStackRef val;
  |  | 6129|      5|            value = stack_pointer[-1];
  |  | 6130|      5|            index_or_null = stack_pointer[-2];
  |  | 6131|      5|            receiver = stack_pointer[-3];
  |  | 6132|      5|            val = value;
  |  | 6133|      5|            (void)index_or_null;
  |  | 6134|      5|            stack_pointer[-3] = val;
  |  | 6135|      5|            stack_pointer += -2;
  |  | 6136|      5|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      5|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6137|      5|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6138|      5|            _PyFrame_StackPointerValidate(frame);
  |  | 6139|      5|            PyStackRef_CLOSE(receiver);
  |  | 6140|      5|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6141|      5|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      5|    { \
  |  |  |  |  201|      5|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      5|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      5|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      5|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      5|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      5|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      5|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      5|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      5|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      5|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      5|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      5|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      5|    }
  |  |  ------------------
  |  | 6142|      5|        }
  |  | 6143|       |
  |  | 6144|      5|        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|  1.16k|        TARGET(EXIT_INIT_CHECK) {
  |  |  ------------------
  |  |  |  |  132|  1.16k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6195|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6196|       |            int opcode = EXIT_INIT_CHECK;
  |  | 6197|       |            (void)(opcode);
  |  | 6198|       |            #endif
  |  | 6199|  1.16k|            frame->instr_ptr = next_instr;
  |  | 6200|  1.16k|            next_instr += 1;
  |  | 6201|  1.16k|            INSTRUCTION_STATS(EXIT_INIT_CHECK);
  |  |  ------------------
  |  |  |  |   71|  1.16k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6202|  1.16k|            _PyStackRef should_be_none;
  |  | 6203|  1.16k|            should_be_none = stack_pointer[-1];
  |  | 6204|  1.16k|            if (!PyStackRef_IsNone(should_be_none)) {
  |  |  ------------------
  |  |  |  |  495|  1.16k|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.16k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6204:17): [True: 0, False: 1.16k]
  |  |  ------------------
  |  | 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|  1.16k|            stack_pointer += -1;
  |  | 6214|  1.16k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.16k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6215|  1.16k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.16k|    { \
  |  |  |  |  201|  1.16k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.16k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.16k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.16k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.16k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.16k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.16k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.16k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.16k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.16k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.16k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.16k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.16k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.16k|    }
  |  |  ------------------
  |  | 6216|  1.16k|        }
  |  | 6217|       |
  |  | 6218|   590k|        TARGET(EXTENDED_ARG) {
  |  |  ------------------
  |  |  |  |  132|   590k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6219|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6220|       |            int opcode = EXTENDED_ARG;
  |  | 6221|       |            (void)(opcode);
  |  | 6222|       |            #endif
  |  | 6223|   590k|            frame->instr_ptr = next_instr;
  |  | 6224|   590k|            next_instr += 1;
  |  | 6225|   590k|            INSTRUCTION_STATS(EXTENDED_ARG);
  |  |  ------------------
  |  |  |  |   71|   590k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6226|   590k|            opcode = EXTENDED_ARG;
  |  |  ------------------
  |  |  |  |   77|   590k|#define EXTENDED_ARG                            64
  |  |  ------------------
  |  | 6227|   590k|            assert(oparg);
  |  |  ------------------
  |  |  |  Branch (6227:13): [True: 590k, False: 0]
  |  |  ------------------
  |  | 6228|   590k|            opcode = next_instr->op.code;
  |  | 6229|   590k|            oparg = oparg << 8 | next_instr->op.arg;
  |  | 6230|   590k|            PRE_DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  176|   590k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  ------------------
  |  | 6231|   590k|            DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  133|   590k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  ------------------
  |  | 6232|   590k|        }
  |  | 6233|       |
  |  | 6234|   195k|        TARGET(FORMAT_SIMPLE) {
  |  |  ------------------
  |  |  |  |  132|   195k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6235|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6236|       |            int opcode = FORMAT_SIMPLE;
  |  | 6237|       |            (void)(opcode);
  |  | 6238|       |            #endif
  |  | 6239|   195k|            frame->instr_ptr = next_instr;
  |  | 6240|   195k|            next_instr += 1;
  |  | 6241|   195k|            INSTRUCTION_STATS(FORMAT_SIMPLE);
  |  |  ------------------
  |  |  |  |   71|   195k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6242|   195k|            _PyStackRef value;
  |  | 6243|   195k|            _PyStackRef res;
  |  | 6244|   195k|            value = stack_pointer[-1];
  |  | 6245|   195k|            PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 6246|   195k|            if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|   195k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   195k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   195k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   195k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6246:17): [True: 97.1k, False: 97.9k]
  |  |  ------------------
  |  | 6247|  97.1k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6248|  97.1k|                _PyFrame_StackPointerValidate(frame);
  |  | 6249|  97.1k|                PyObject *res_o = PyObject_Format(value_o, NULL);
  |  | 6250|  97.1k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6251|  97.1k|                stack_pointer += -1;
  |  | 6252|  97.1k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  97.1k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6253|  97.1k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6254|  97.1k|                _PyFrame_StackPointerValidate(frame);
  |  | 6255|  97.1k|                PyStackRef_CLOSE(value);
  |  | 6256|  97.1k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6257|  97.1k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6257:21): [True: 0, False: 97.1k]
  |  |  ------------------
  |  | 6258|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6259|      0|                }
  |  | 6260|  97.1k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 6261|  97.1k|            }
  |  | 6262|  97.9k|            else {
  |  | 6263|  97.9k|                res = value;
  |  | 6264|  97.9k|                stack_pointer += -1;
  |  | 6265|  97.9k|            }
  |  | 6266|   195k|            stack_pointer[0] = res;
  |  | 6267|   195k|            stack_pointer += 1;
  |  | 6268|   195k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   195k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6269|   195k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   195k|    { \
  |  |  |  |  201|   195k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   195k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   195k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   195k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   195k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   195k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   195k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   195k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 195k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   195k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   195k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   195k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   195k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   195k|    }
  |  |  ------------------
  |  | 6270|   195k|        }
  |  | 6271|       |
  |  | 6272|    132|        TARGET(FORMAT_WITH_SPEC) {
  |  |  ------------------
  |  |  |  |  132|    132|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6273|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6274|       |            int opcode = FORMAT_WITH_SPEC;
  |  | 6275|       |            (void)(opcode);
  |  | 6276|       |            #endif
  |  | 6277|    132|            frame->instr_ptr = next_instr;
  |  | 6278|    132|            next_instr += 1;
  |  | 6279|    132|            INSTRUCTION_STATS(FORMAT_WITH_SPEC);
  |  |  ------------------
  |  |  |  |   71|    132|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6280|    132|            _PyStackRef value;
  |  | 6281|    132|            _PyStackRef fmt_spec;
  |  | 6282|    132|            _PyStackRef res;
  |  | 6283|    132|            fmt_spec = stack_pointer[-1];
  |  | 6284|    132|            value = stack_pointer[-2];
  |  | 6285|    132|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6286|    132|            _PyFrame_StackPointerValidate(frame);
  |  | 6287|    132|            PyObject *res_o = PyObject_Format(PyStackRef_AsPyObjectBorrow(value), PyStackRef_AsPyObjectBorrow(fmt_spec));
  |  | 6288|    132|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6289|    132|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6289:13): [True: 132, False: 0]
  |  |  ------------------
  |  | 6290|    132|            _PyFrame_StackPointerValidate(frame);
  |  | 6291|    132|            _PyStackRef tmp = fmt_spec;
  |  | 6292|    132|            fmt_spec = PyStackRef_NULL;
  |  | 6293|    132|            stack_pointer[-1] = fmt_spec;
  |  | 6294|    132|            PyStackRef_CLOSE(tmp);
  |  | 6295|    132|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6296|    132|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (6296:13): [True: 132, False: 0]
  |  |  ------------------
  |  | 6297|    132|            _PyFrame_StackPointerValidate(frame);
  |  | 6298|    132|            tmp = value;
  |  | 6299|    132|            value = PyStackRef_NULL;
  |  | 6300|    132|            stack_pointer[-2] = value;
  |  | 6301|    132|            PyStackRef_CLOSE(tmp);
  |  | 6302|    132|            _PyFrame_StackPointerInvalidate(frame);
  |  | 6303|    132|            stack_pointer += -2;
  |  | 6304|    132|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    132|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6305|    132|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6305:17): [True: 0, False: 132]
  |  |  ------------------
  |  | 6306|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6307|      0|            }
  |  | 6308|    132|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 6309|    132|            stack_pointer[0] = res;
  |  | 6310|    132|            stack_pointer += 1;
  |  | 6311|    132|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    132|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6312|    132|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    132|    { \
  |  |  |  |  201|    132|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    132|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    132|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    132|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    132|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    132|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    132|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    132|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 132]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    132|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    132|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    132|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    132|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    132|    }
  |  |  ------------------
  |  | 6313|    132|        }
  |  | 6314|       |
  |  | 6315|   659k|        TARGET(FOR_ITER) {
  |  |  ------------------
  |  |  |  |  132|   659k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6316|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6317|       |            int opcode = FOR_ITER;
  |  | 6318|       |            (void)(opcode);
  |  | 6319|       |            #endif
  |  | 6320|   659k|            frame->instr_ptr = next_instr;
  |  | 6321|   659k|            next_instr += 2;
  |  | 6322|   659k|            INSTRUCTION_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |   71|   659k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6323|   659k|            PREDICTED_FOR_ITER:;
  |  | 6324|   659k|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 6325|   659k|            (void)this_instr;
  |  | 6326|   659k|            _PyStackRef iter;
  |  | 6327|   659k|            _PyStackRef null_or_index;
  |  | 6328|   659k|            _PyStackRef next;
  |  | 6329|       |            // _SPECIALIZE_FOR_ITER
  |  | 6330|   659k|            {
  |  | 6331|   659k|                null_or_index = stack_pointer[-1];
  |  | 6332|   659k|                iter = stack_pointer[-2];
  |  | 6333|   659k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 6334|   659k|                (void)counter;
  |  | 6335|   659k|                #if ENABLE_SPECIALIZATION
  |  | 6336|   659k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|   659k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 298, False: 658k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6337|    298|                    next_instr = this_instr;
  |  | 6338|    298|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6339|    298|                    _PyFrame_StackPointerValidate(frame);
  |  | 6340|    298|                    _Py_Specialize_ForIter(iter, null_or_index, next_instr, oparg);
  |  | 6341|    298|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 6342|    298|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    298|    { \
  |  |  |  |  217|    298|        opcode = next_instr->op.code; \
  |  |  |  |  218|    298|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    298|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    298|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    298|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    298|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    298|    }
  |  |  ------------------
  |  | 6343|    298|                }
  |  | 6344|   659k|                OPCODE_DEFERRED_INC(FOR_ITER);
  |  |  ------------------
  |  |  |  |   90|   659k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 6345|   659k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|   659k|    do { \
  |  |  |  |  378|   659k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|   659k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 659k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6346|   659k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 6347|   659k|            }
  |  | 6348|       |            // _FOR_ITER
  |  | 6349|   659k|            {
  |  | 6350|   659k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6351|   659k|                _PyFrame_StackPointerValidate(frame);
  |  | 6352|   659k|                _PyStackRef item = _PyForIter_VirtualIteratorNext(tstate, frame, iter, &null_or_index);
  |  | 6353|   659k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6354|   659k|                if (!PyStackRef_IsValid(item)) {
  |  |  ------------------
  |  |  |  Branch (6354:21): [True: 36.7k, False: 622k]
  |  |  ------------------
  |  | 6355|  36.7k|                    if (PyStackRef_IsError(item)) {
  |  |  ------------------
  |  |  |  Branch (6355:25): [True: 0, False: 36.7k]
  |  |  ------------------
  |  | 6356|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6357|      0|                    }
  |  | 6358|  36.7k|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|  36.7k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6359|  36.7k|                    stack_pointer[-1] = null_or_index;
  |  | 6360|  36.7k|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  36.7k|    { \
  |  |  |  |  201|  36.7k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  36.7k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  36.7k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  36.7k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  36.7k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  36.7k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  36.7k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  36.7k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 36.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  36.7k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  36.7k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  36.7k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  36.7k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  36.7k|    }
  |  |  ------------------
  |  | 6361|  36.7k|                }
  |  | 6362|   659k|                next = item;
  |  | 6363|   659k|            }
  |  | 6364|      0|            stack_pointer[-1] = null_or_index;
  |  | 6365|   659k|            stack_pointer[0] = next;
  |  | 6366|   659k|            stack_pointer += 1;
  |  | 6367|   659k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   659k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6368|   659k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   659k|    { \
  |  |  |  |  201|   659k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   659k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   659k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   659k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   659k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   659k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   659k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   659k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 659k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   659k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   659k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   659k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   659k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   659k|    }
  |  |  ------------------
  |  | 6369|   659k|        }
  |  | 6370|       |
  |  | 6371|    221|        TARGET(FOR_ITER_GEN) {
  |  |  ------------------
  |  |  |  |  132|    221|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6372|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6373|       |            int opcode = FOR_ITER_GEN;
  |  | 6374|       |            (void)(opcode);
  |  | 6375|       |            #endif
  |  | 6376|    221|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6377|    221|            (void)this_instr;
  |  | 6378|    221|            frame->instr_ptr = next_instr;
  |  | 6379|    221|            next_instr += 2;
  |  | 6380|    221|            INSTRUCTION_STATS(FOR_ITER_GEN);
  |  |  ------------------
  |  |  |  |   71|    221|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6381|    221|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6382|    221|            _PyStackRef iter;
  |  | 6383|    221|            _PyStackRef gen_frame;
  |  | 6384|    221|            _PyStackRef new_frame;
  |  | 6385|       |            /* Skip 1 cache entry */
  |  | 6386|       |            // _CHECK_PEP_523
  |  | 6387|    221|            {
  |  | 6388|    221|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|    221|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 221]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|    221|            }
  |  | 6394|       |            // _FOR_ITER_GEN_FRAME
  |  | 6395|    221|            {
  |  | 6396|    221|                iter = stack_pointer[-2];
  |  | 6397|    221|                PyGenObject *gen = (PyGenObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6398|    221|                if (Py_TYPE(gen) != &PyGen_Type) {
  |  |  ------------------
  |  |  |  |  213|    221|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    221|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    221|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6398:21): [True: 0, False: 221]
  |  |  ------------------
  |  | 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|    221|                if (!gen_try_set_executing((PyGenObject *)gen)) {
  |  |  ------------------
  |  |  |  Branch (6403:21): [True: 0, False: 221]
  |  |  ------------------
  |  | 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|    221|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|    221|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6409|    221|                _PyInterpreterFrame *pushed_frame = &gen->gi_iframe;
  |  | 6410|    221|                _PyFrame_StackPush(pushed_frame, PyStackRef_None);
  |  |  ------------------
  |  |  |  |  485|    221|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    221|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6411|    221|                gen->gi_exc_state.previous_item = tstate->exc_info;
  |  | 6412|    221|                tstate->exc_info = &gen->gi_exc_state;
  |  | 6413|    221|                pushed_frame->previous = frame;
  |  | 6414|    221|                frame->return_offset = (uint16_t)( 2u + oparg);
  |  | 6415|    221|                gen_frame = PyStackRef_Wrap(pushed_frame);
  |  | 6416|    221|            }
  |  | 6417|       |            // _PUSH_FRAME
  |  | 6418|      0|            {
  |  | 6419|    221|                new_frame = gen_frame;
  |  | 6420|    221|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (6420:17): [True: 221, False: 0]
  |  |  ------------------
  |  | 6421|    221|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 6422|    221|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6423|    221|                _PyFrame_StackPointerValidate(frame);
  |  | 6424|    221|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (6424:17): [True: 221, False: 0]
  |  |  |  Branch (6424:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 6425|    221|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|    221|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 6426|    221|                frame = tstate->current_frame = temp;
  |  | 6427|    221|                tstate->py_recursion_remaining--;
  |  | 6428|    221|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6429|    221|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6430|    221|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|    221|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|    221|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|    221|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 221]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6431|       |                #ifdef Py_DEBUG
  |  | 6432|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 6433|       |                #endif
  |  | 6434|    221|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|    221|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 6435|    221|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|    221|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 6436|    221|            }
  |  | 6437|    221|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    221|    { \
  |  |  |  |  201|    221|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    221|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    221|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    221|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    221|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    221|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    221|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    221|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 221]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    221|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    221|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    221|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    221|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    221|    }
  |  |  ------------------
  |  | 6438|    221|        }
  |  | 6439|       |
  |  | 6440|   237k|        TARGET(FOR_ITER_LIST) {
  |  |  ------------------
  |  |  |  |  132|   237k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6441|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6442|       |            int opcode = FOR_ITER_LIST;
  |  | 6443|       |            (void)(opcode);
  |  | 6444|       |            #endif
  |  | 6445|   237k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6446|   237k|            (void)this_instr;
  |  | 6447|   237k|            frame->instr_ptr = next_instr;
  |  | 6448|   237k|            next_instr += 2;
  |  | 6449|   237k|            INSTRUCTION_STATS(FOR_ITER_LIST);
  |  |  ------------------
  |  |  |  |   71|   237k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6450|   237k|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6451|   237k|            _PyStackRef iter;
  |  | 6452|   237k|            _PyStackRef null_or_index;
  |  | 6453|   237k|            _PyStackRef next;
  |  | 6454|       |            /* Skip 1 cache entry */
  |  | 6455|       |            // _ITER_CHECK_LIST
  |  | 6456|   237k|            {
  |  | 6457|   237k|                null_or_index = stack_pointer[-1];
  |  | 6458|   237k|                iter = stack_pointer[-2];
  |  | 6459|   237k|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6460|   237k|                if (Py_TYPE(iter_o) != &PyList_Type) {
  |  |  ------------------
  |  |  |  |  213|   237k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   237k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   237k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6460:21): [True: 53, False: 237k]
  |  |  ------------------
  |  | 6461|     53|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  299|     53|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6462|     53|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  |  ------------------
  |  |  |  Branch (6462:21): [True: 53, False: 0]
  |  |  ------------------
  |  | 6463|     53|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|     53|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6464|      0|                }
  |  | 6465|   237k|                assert(PyStackRef_IsTaggedInt(null_or_index));
  |  |  ------------------
  |  |  |  Branch (6465:17): [True: 237k, 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|   237k|            }
  |  | 6474|       |            // _ITER_JUMP_LIST
  |  | 6475|   237k|            {
  |  | 6476|       |                #ifdef Py_GIL_DISABLED
  |  | 6477|       |
  |  | 6478|       |                #else
  |  | 6479|   237k|                PyObject *list_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6480|   237k|                assert(Py_TYPE(list_o) == &PyList_Type);
  |  |  ------------------
  |  |  |  Branch (6480:17): [True: 237k, False: 0]
  |  |  ------------------
  |  | 6481|   237k|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|   237k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6482|   237k|                if ((size_t)PyStackRef_UntagInt(null_or_index) >= (size_t)PyList_GET_SIZE(list_o)) {
  |  |  ------------------
  |  |  |  |   38|   237k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   237k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   237k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6482:21): [True: 20.4k, False: 216k]
  |  |  ------------------
  |  | 6483|  20.4k|                    null_or_index = PyStackRef_TagInt(-1);
  |  | 6484|  20.4k|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|  20.4k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6485|  20.4k|                    stack_pointer[-1] = null_or_index;
  |  | 6486|  20.4k|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  20.4k|    { \
  |  |  |  |  201|  20.4k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  20.4k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  20.4k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  20.4k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  20.4k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  20.4k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  20.4k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  20.4k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 20.4k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  20.4k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  20.4k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  20.4k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  20.4k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  20.4k|    }
  |  |  ------------------
  |  | 6487|  20.4k|                }
  |  | 6488|   237k|                #endif
  |  | 6489|   237k|            }
  |  | 6490|       |            // _ITER_NEXT_LIST
  |  | 6491|      0|            {
  |  | 6492|   237k|                PyObject *list_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6493|   237k|                assert(PyList_CheckExact(list_o));
  |  |  ------------------
  |  |  |  Branch (6493:17): [True: 216k, False: 20.4k]
  |  |  ------------------
  |  | 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|   216k|                next = PyStackRef_FromPyObjectNew(PyList_GET_ITEM(list_o, PyStackRef_UntagInt(null_or_index)));
  |  |  ------------------
  |  |  |  |  611|   216k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   216k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   433k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:38): [True: 216k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6515|      0|                #endif
  |  | 6516|      0|                null_or_index = PyStackRef_IncrementTaggedIntNoOverflow(null_or_index);
  |  | 6517|   216k|            }
  |  | 6518|      0|            stack_pointer[-1] = null_or_index;
  |  | 6519|   216k|            stack_pointer[0] = next;
  |  | 6520|   216k|            stack_pointer += 1;
  |  | 6521|   216k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   216k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6522|   216k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   216k|    { \
  |  |  |  |  201|   216k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   216k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   216k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   216k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   216k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   216k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   216k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   216k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 216k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   216k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   216k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   216k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   216k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   216k|    }
  |  |  ------------------
  |  | 6523|   216k|        }
  |  | 6524|       |
  |  | 6525|  4.83k|        TARGET(FOR_ITER_RANGE) {
  |  |  ------------------
  |  |  |  |  132|  4.83k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6526|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6527|       |            int opcode = FOR_ITER_RANGE;
  |  | 6528|       |            (void)(opcode);
  |  | 6529|       |            #endif
  |  | 6530|  4.83k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6531|  4.83k|            (void)this_instr;
  |  | 6532|  4.83k|            frame->instr_ptr = next_instr;
  |  | 6533|  4.83k|            next_instr += 2;
  |  | 6534|  4.83k|            INSTRUCTION_STATS(FOR_ITER_RANGE);
  |  |  ------------------
  |  |  |  |   71|  4.83k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6535|  4.83k|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6536|  4.83k|            _PyStackRef iter;
  |  | 6537|  4.83k|            _PyStackRef next;
  |  | 6538|       |            /* Skip 1 cache entry */
  |  | 6539|       |            // _ITER_CHECK_RANGE
  |  | 6540|  4.83k|            {
  |  | 6541|  4.83k|                iter = stack_pointer[-2];
  |  | 6542|  4.83k|                _PyRangeIterObject *r = (_PyRangeIterObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6543|  4.83k|                if (Py_TYPE(r) != &PyRangeIter_Type) {
  |  |  ------------------
  |  |  |  |  213|  4.83k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6543:21): [True: 0, False: 4.83k]
  |  |  ------------------
  |  | 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|  4.83k|            }
  |  | 6556|       |            // _ITER_JUMP_RANGE
  |  | 6557|  4.83k|            {
  |  | 6558|  4.83k|                _PyRangeIterObject *r = (_PyRangeIterObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6559|  4.83k|                assert(Py_TYPE(r) == &PyRangeIter_Type);
  |  |  ------------------
  |  |  |  Branch (6559:17): [True: 4.83k, False: 0]
  |  |  ------------------
  |  | 6560|       |                #ifdef Py_GIL_DISABLED
  |  | 6561|       |                assert(_PyObject_IsUniquelyReferenced((PyObject *)r));
  |  | 6562|       |                #endif
  |  | 6563|  4.83k|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  4.83k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6564|  4.83k|                if (r->len <= 0) {
  |  |  ------------------
  |  |  |  Branch (6564:21): [True: 310, False: 4.52k]
  |  |  ------------------
  |  | 6565|    310|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|    310|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6566|    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|    }
  |  |  ------------------
  |  | 6567|    310|                }
  |  | 6568|  4.83k|            }
  |  | 6569|       |            // _ITER_NEXT_RANGE
  |  | 6570|      0|            {
  |  | 6571|  4.83k|                _PyRangeIterObject *r = (_PyRangeIterObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6572|  4.83k|                assert(Py_TYPE(r) == &PyRangeIter_Type);
  |  |  ------------------
  |  |  |  Branch (6572:17): [True: 4.52k, False: 310]
  |  |  ------------------
  |  | 6573|       |                #ifdef Py_GIL_DISABLED
  |  | 6574|       |                assert(_PyObject_IsUniquelyReferenced((PyObject *)r));
  |  | 6575|       |                #endif
  |  | 6576|  4.83k|                assert(r->len > 0);
  |  |  ------------------
  |  |  |  Branch (6576:17): [True: 4.52k, False: 0]
  |  |  ------------------
  |  | 6577|  4.52k|                long value = r->start;
  |  | 6578|  4.52k|                r->start = value + r->step;
  |  | 6579|  4.52k|                r->len--;
  |  | 6580|  4.52k|                PyObject *res = PyLong_FromLong(value);
  |  | 6581|  4.52k|                if (res == NULL) {
  |  |  ------------------
  |  |  |  Branch (6581:21): [True: 0, False: 4.52k]
  |  |  ------------------
  |  | 6582|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6583|      0|                }
  |  | 6584|  4.52k|                next = PyStackRef_FromPyObjectSteal(res);
  |  | 6585|  4.52k|            }
  |  | 6586|      0|            stack_pointer[0] = next;
  |  | 6587|  4.52k|            stack_pointer += 1;
  |  | 6588|  4.52k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  4.52k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6589|  4.52k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.52k|    { \
  |  |  |  |  201|  4.52k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.52k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.52k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.52k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  4.52k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.52k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.52k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.52k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.52k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.52k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.52k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.52k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.52k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.52k|    }
  |  |  ------------------
  |  | 6590|  4.52k|        }
  |  | 6591|       |
  |  | 6592|  8.24k|        TARGET(FOR_ITER_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|  8.24k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6593|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6594|       |            int opcode = FOR_ITER_TUPLE;
  |  | 6595|       |            (void)(opcode);
  |  | 6596|       |            #endif
  |  | 6597|  8.24k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6598|  8.24k|            (void)this_instr;
  |  | 6599|  8.24k|            frame->instr_ptr = next_instr;
  |  | 6600|  8.24k|            next_instr += 2;
  |  | 6601|  8.24k|            INSTRUCTION_STATS(FOR_ITER_TUPLE);
  |  |  ------------------
  |  |  |  |   71|  8.24k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6602|  8.24k|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6603|  8.24k|            _PyStackRef iter;
  |  | 6604|  8.24k|            _PyStackRef null_or_index;
  |  | 6605|  8.24k|            _PyStackRef next;
  |  | 6606|       |            /* Skip 1 cache entry */
  |  | 6607|       |            // _ITER_CHECK_TUPLE
  |  | 6608|  8.24k|            {
  |  | 6609|  8.24k|                null_or_index = stack_pointer[-1];
  |  | 6610|  8.24k|                iter = stack_pointer[-2];
  |  | 6611|  8.24k|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6612|  8.24k|                if (Py_TYPE(iter_o) != &PyTuple_Type) {
  |  |  ------------------
  |  |  |  |  213|  8.24k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6612:21): [True: 8, False: 8.23k]
  |  |  ------------------
  |  | 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|  8.24k|                assert(PyStackRef_IsTaggedInt(null_or_index));
  |  |  ------------------
  |  |  |  Branch (6617:17): [True: 8.23k, False: 0]
  |  |  ------------------
  |  | 6618|  8.23k|            }
  |  | 6619|       |            // _ITER_JUMP_TUPLE
  |  | 6620|  8.23k|            {
  |  | 6621|  8.23k|                PyObject *tuple_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6622|  8.23k|                (void)tuple_o;
  |  | 6623|  8.23k|                assert(Py_TYPE(tuple_o) == &PyTuple_Type);
  |  |  ------------------
  |  |  |  Branch (6623:17): [True: 8.23k, False: 0]
  |  |  ------------------
  |  | 6624|  8.23k|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  8.23k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6625|  8.23k|                if ((size_t)PyStackRef_UntagInt(null_or_index) >= (size_t)PyTuple_GET_SIZE(tuple_o)) {
  |  |  ------------------
  |  |  |  |   27|  8.23k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6625:21): [True: 2.64k, False: 5.58k]
  |  |  ------------------
  |  | 6626|  2.64k|                    null_or_index = PyStackRef_TagInt(-1);
  |  | 6627|  2.64k|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|  2.64k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6628|  2.64k|                    stack_pointer[-1] = null_or_index;
  |  | 6629|  2.64k|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.64k|    { \
  |  |  |  |  201|  2.64k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.64k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.64k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.64k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.64k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.64k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.64k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.64k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.64k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.64k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.64k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.64k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.64k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.64k|    }
  |  |  ------------------
  |  | 6630|  2.64k|                }
  |  | 6631|  8.23k|            }
  |  | 6632|       |            // _ITER_NEXT_TUPLE
  |  | 6633|      0|            {
  |  | 6634|  8.23k|                PyObject *tuple_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6635|  8.23k|                assert(Py_TYPE(tuple_o) == &PyTuple_Type);
  |  |  ------------------
  |  |  |  Branch (6635:17): [True: 5.58k, False: 2.64k]
  |  |  ------------------
  |  | 6636|  5.58k|                uintptr_t i = PyStackRef_UntagInt(null_or_index);
  |  | 6637|  5.58k|                assert((size_t)i < (size_t)PyTuple_GET_SIZE(tuple_o));
  |  |  ------------------
  |  |  |  Branch (6637:17): [True: 5.58k, False: 0]
  |  |  ------------------
  |  | 6638|  5.58k|                next = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(tuple_o, i));
  |  |  ------------------
  |  |  |  |  611|  5.58k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:38): [True: 5.58k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6639|      0|                null_or_index = PyStackRef_IncrementTaggedIntNoOverflow(null_or_index);
  |  | 6640|  5.58k|            }
  |  | 6641|      0|            stack_pointer[-1] = null_or_index;
  |  | 6642|  5.58k|            stack_pointer[0] = next;
  |  | 6643|  5.58k|            stack_pointer += 1;
  |  | 6644|  5.58k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.58k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6645|  5.58k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.58k|    { \
  |  |  |  |  201|  5.58k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.58k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.58k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.58k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  5.58k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.58k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.58k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.58k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.58k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.58k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.58k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.58k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.58k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.58k|    }
  |  |  ------------------
  |  | 6646|  5.58k|        }
  |  | 6647|       |
  |  | 6648|  13.6M|        TARGET(FOR_ITER_VIRTUAL) {
  |  |  ------------------
  |  |  |  |  132|  13.6M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6649|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6650|       |            int opcode = FOR_ITER_VIRTUAL;
  |  | 6651|       |            (void)(opcode);
  |  | 6652|       |            #endif
  |  | 6653|  13.6M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6654|  13.6M|            (void)this_instr;
  |  | 6655|  13.6M|            frame->instr_ptr = next_instr;
  |  | 6656|  13.6M|            next_instr += 2;
  |  | 6657|  13.6M|            INSTRUCTION_STATS(FOR_ITER_VIRTUAL);
  |  |  ------------------
  |  |  |  |   71|  13.6M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6658|  13.6M|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6659|  13.6M|            _PyStackRef null_or_index;
  |  | 6660|  13.6M|            _PyStackRef iter;
  |  | 6661|  13.6M|            _PyStackRef next;
  |  | 6662|       |            /* Skip 1 cache entry */
  |  | 6663|       |            // _GUARD_TOS_NOT_NULL
  |  | 6664|  13.6M|            {
  |  | 6665|  13.6M|                null_or_index = stack_pointer[-1];
  |  | 6666|  13.6M|                if (PyStackRef_IsNull(null_or_index)) {
  |  |  ------------------
  |  |  |  |  482|  13.6M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  13.6M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  13.6M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 13.6M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  13.6M|            }
  |  | 6672|       |            // _FOR_ITER_VIRTUAL
  |  | 6673|  13.6M|            {
  |  | 6674|  13.6M|                iter = stack_pointer[-2];
  |  | 6675|  13.6M|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6676|  13.6M|                Py_ssize_t index = PyStackRef_UntagInt(null_or_index);
  |  | 6677|  13.6M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6678|  13.6M|                _PyFrame_StackPointerValidate(frame);
  |  | 6679|  13.6M|                _PyObjectIndexPair next_index = Py_TYPE(iter_o)->_tp_iteritem(iter_o, index);
  |  |  ------------------
  |  |  |  |  213|  13.6M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6680|  13.6M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6681|  13.6M|                PyObject *next_o = next_index.object;
  |  | 6682|  13.6M|                index = next_index.index;
  |  | 6683|  13.6M|                if (next_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6683:21): [True: 445k, False: 13.2M]
  |  |  ------------------
  |  | 6684|   445k|                    if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (6684:25): [True: 0, False: 445k]
  |  |  ------------------
  |  | 6685|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6686|      0|                    }
  |  | 6687|   445k|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  261|   445k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6688|   445k|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   445k|    { \
  |  |  |  |  201|   445k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   445k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   445k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   445k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   445k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   445k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   445k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   445k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 445k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   445k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   445k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   445k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   445k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   445k|    }
  |  |  ------------------
  |  | 6689|   445k|                }
  |  | 6690|  13.6M|                null_or_index = PyStackRef_TagInt(index);
  |  | 6691|  13.6M|                next = PyStackRef_FromPyObjectSteal(next_o);
  |  | 6692|  13.6M|            }
  |  | 6693|      0|            stack_pointer[-1] = null_or_index;
  |  | 6694|  13.6M|            stack_pointer[0] = next;
  |  | 6695|  13.6M|            stack_pointer += 1;
  |  | 6696|  13.6M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  13.6M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6697|  13.6M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  13.6M|    { \
  |  |  |  |  201|  13.6M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  13.6M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  13.6M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  13.6M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  13.6M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  13.6M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  13.6M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  13.6M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 13.6M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  13.6M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  13.6M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  13.6M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  13.6M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  13.6M|    }
  |  |  ------------------
  |  | 6698|  13.6M|        }
  |  | 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|    655|        TARGET(GET_ITER) {
  |  |  ------------------
  |  |  |  |  132|    655|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6826|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6827|       |            int opcode = GET_ITER;
  |  | 6828|       |            (void)(opcode);
  |  | 6829|       |            #endif
  |  | 6830|    655|            frame->instr_ptr = next_instr;
  |  | 6831|    655|            next_instr += 2;
  |  | 6832|    655|            INSTRUCTION_STATS(GET_ITER);
  |  |  ------------------
  |  |  |  |   71|    655|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6833|    708|            PREDICTED_GET_ITER:;
  |  | 6834|    708|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 6835|    708|            (void)this_instr;
  |  | 6836|    708|            _PyStackRef iterable;
  |  | 6837|    708|            _PyStackRef iter;
  |  | 6838|    708|            _PyStackRef index_or_null;
  |  | 6839|       |            // _SPECIALIZE_GET_ITER
  |  | 6840|    708|            {
  |  | 6841|    708|                iterable = stack_pointer[-1];
  |  | 6842|    708|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 6843|    708|                (void)counter;
  |  | 6844|    708|                #if ENABLE_SPECIALIZATION
  |  | 6845|    708|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    708|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 131, False: 577]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6846|    131|                    next_instr = this_instr;
  |  | 6847|    131|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6848|    131|                    _PyFrame_StackPointerValidate(frame);
  |  | 6849|    131|                    _Py_Specialize_GetIter(iterable, next_instr);
  |  | 6850|    131|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 6851|    131|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    131|    { \
  |  |  |  |  217|    131|        opcode = next_instr->op.code; \
  |  |  |  |  218|    131|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    131|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    131|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    131|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    131|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    131|    }
  |  |  ------------------
  |  | 6852|    131|                }
  |  | 6853|    708|                OPCODE_DEFERRED_INC(GET_ITER);
  |  |  ------------------
  |  |  |  |   90|    708|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 6854|    708|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|    708|    do { \
  |  |  |  |  378|    708|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|    708|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 708]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6855|    708|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 6856|    708|            }
  |  | 6857|       |            // _GET_ITER
  |  | 6858|    708|            {
  |  | 6859|    708|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6860|    708|                _PyFrame_StackPointerValidate(frame);
  |  | 6861|    708|                _PyStackRef result = _PyEval_GetIter(iterable, &index_or_null, oparg);
  |  | 6862|    708|                _PyFrame_StackPointerInvalidate(frame);
  |  | 6863|    708|                if (PyStackRef_IsError(result)) {
  |  |  ------------------
  |  |  |  Branch (6863:21): [True: 0, False: 708]
  |  |  ------------------
  |  | 6864|      0|                    JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6865|      0|                }
  |  | 6866|    708|                iter = result;
  |  | 6867|    708|            }
  |  | 6868|      0|            stack_pointer[-1] = iter;
  |  | 6869|    708|            stack_pointer[0] = index_or_null;
  |  | 6870|    708|            stack_pointer += 1;
  |  | 6871|    708|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    708|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6872|    708|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    708|    { \
  |  |  |  |  201|    708|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    708|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    708|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    708|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    708|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    708|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    708|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    708|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 708]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    708|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    708|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    708|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    708|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    708|    }
  |  |  ------------------
  |  | 6873|    708|        }
  |  | 6874|       |
  |  | 6875|  37.9k|        TARGET(GET_ITER_SELF) {
  |  |  ------------------
  |  |  |  |  132|  37.9k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6876|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6877|       |            int opcode = GET_ITER_SELF;
  |  | 6878|       |            (void)(opcode);
  |  | 6879|       |            #endif
  |  | 6880|  37.9k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6881|  37.9k|            (void)this_instr;
  |  | 6882|  37.9k|            frame->instr_ptr = next_instr;
  |  | 6883|  37.9k|            next_instr += 2;
  |  | 6884|  37.9k|            INSTRUCTION_STATS(GET_ITER_SELF);
  |  |  ------------------
  |  |  |  |   71|  37.9k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6885|  37.9k|            static_assert(INLINE_CACHE_ENTRIES_GET_ITER == 1, "incorrect cache size");
  |  | 6886|  37.9k|            _PyStackRef iterable;
  |  | 6887|  37.9k|            _PyStackRef res;
  |  | 6888|       |            /* Skip 1 cache entry */
  |  | 6889|       |            // _GUARD_ITERATOR
  |  | 6890|  37.9k|            {
  |  | 6891|  37.9k|                iterable = stack_pointer[-1];
  |  | 6892|  37.9k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(iterable));
  |  |  ------------------
  |  |  |  |  213|  37.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  37.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  37.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6893|  37.9k|                if (tp->tp_iter != PyObject_SelfIter) {
  |  |  ------------------
  |  |  |  Branch (6893:21): [True: 0, False: 37.9k]
  |  |  ------------------
  |  | 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|  37.9k|                STAT_INC(GET_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  37.9k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6899|  37.9k|            }
  |  | 6900|       |            // _PUSH_NULL
  |  | 6901|      0|            {
  |  | 6902|  37.9k|                res = PyStackRef_NULL;
  |  | 6903|  37.9k|            }
  |  | 6904|  37.9k|            stack_pointer[0] = res;
  |  | 6905|  37.9k|            stack_pointer += 1;
  |  | 6906|  37.9k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  37.9k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6907|  37.9k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  37.9k|    { \
  |  |  |  |  201|  37.9k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  37.9k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  37.9k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  37.9k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  37.9k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  37.9k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  37.9k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  37.9k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 37.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  37.9k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  37.9k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  37.9k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  37.9k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  37.9k|    }
  |  |  ------------------
  |  | 6908|  37.9k|        }
  |  | 6909|       |
  |  | 6910|   469k|        TARGET(GET_ITER_VIRTUAL) {
  |  |  ------------------
  |  |  |  |  132|   469k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6911|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6912|       |            int opcode = GET_ITER_VIRTUAL;
  |  | 6913|       |            (void)(opcode);
  |  | 6914|       |            #endif
  |  | 6915|   469k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6916|   469k|            (void)this_instr;
  |  | 6917|   469k|            frame->instr_ptr = next_instr;
  |  | 6918|   469k|            next_instr += 2;
  |  | 6919|   469k|            INSTRUCTION_STATS(GET_ITER_VIRTUAL);
  |  |  ------------------
  |  |  |  |   71|   469k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6920|   469k|            static_assert(INLINE_CACHE_ENTRIES_GET_ITER == 1, "incorrect cache size");
  |  | 6921|   469k|            _PyStackRef iterable;
  |  | 6922|   469k|            _PyStackRef zero;
  |  | 6923|       |            /* Skip 1 cache entry */
  |  | 6924|       |            // _GUARD_ITER_VIRTUAL
  |  | 6925|   469k|            {
  |  | 6926|   469k|                iterable = stack_pointer[-1];
  |  | 6927|   469k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(iterable));
  |  |  ------------------
  |  |  |  |  213|   469k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   469k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   469k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6928|   469k|                if (tp->_tp_iteritem == NULL) {
  |  |  ------------------
  |  |  |  Branch (6928:21): [True: 53, False: 469k]
  |  |  ------------------
  |  | 6929|     53|                    UPDATE_MISS_STATS(GET_ITER);
  |  |  ------------------
  |  |  |  |  299|     53|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6930|     53|                    assert(_PyOpcode_Deopt[opcode] == (GET_ITER));
  |  |  ------------------
  |  |  |  Branch (6930:21): [True: 53, False: 0]
  |  |  ------------------
  |  | 6931|     53|                    JUMP_TO_PREDICTED(GET_ITER);
  |  |  ------------------
  |  |  |  |  136|     53|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6932|      0|                }
  |  | 6933|   469k|                STAT_INC(GET_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|   469k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6934|   469k|            }
  |  | 6935|       |            // _PUSH_TAGGED_ZERO
  |  | 6936|      0|            {
  |  | 6937|   469k|                zero = PyStackRef_TagInt(0);
  |  | 6938|   469k|            }
  |  | 6939|   469k|            stack_pointer[0] = zero;
  |  | 6940|   469k|            stack_pointer += 1;
  |  | 6941|   469k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   469k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6942|   469k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   469k|    { \
  |  |  |  |  201|   469k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   469k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   469k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   469k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   469k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   469k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   469k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   469k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 469k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   469k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   469k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   469k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   469k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   469k|    }
  |  |  ------------------
  |  | 6943|   469k|        }
  |  | 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|    250|        TARGET(IMPORT_FROM) {
  |  |  ------------------
  |  |  |  |  132|    250|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6975|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6976|       |            int opcode = IMPORT_FROM;
  |  | 6977|       |            (void)(opcode);
  |  | 6978|       |            #endif
  |  | 6979|    250|            frame->instr_ptr = next_instr;
  |  | 6980|    250|            next_instr += 1;
  |  | 6981|    250|            INSTRUCTION_STATS(IMPORT_FROM);
  |  |  ------------------
  |  |  |  |   71|    250|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6982|    250|            _PyStackRef from;
  |  | 6983|    250|            _PyStackRef res;
  |  | 6984|    250|            from = stack_pointer[-1];
  |  | 6985|    250|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|    250|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    250|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    250|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    250|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6985:30): [True: 250, False: 0]
  |  |  ------------------
  |  | 6986|      0|            PyObject *res_o;
  |  | 6987|    250|            if (PyLazyImport_CheckExact(PyStackRef_AsPyObjectBorrow(from))) {
  |  |  ------------------
  |  |  |  |   15|    250|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    250|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    250|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    250|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 2, False: 248]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|    248|            else {
  |  | 6995|    248|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6996|    248|                _PyFrame_StackPointerValidate(frame);
  |  | 6997|    248|                res_o = _PyEval_ImportFrom(
  |  | 6998|    248|                    tstate, PyStackRef_AsPyObjectBorrow(from), name);
  |  | 6999|    248|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7000|    248|            }
  |  | 7001|    250|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7001:17): [True: 1, False: 249]
  |  |  ------------------
  |  | 7002|      1|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      1|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7003|      0|            }
  |  | 7004|    249|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 7005|    249|            stack_pointer[0] = res;
  |  | 7006|    249|            stack_pointer += 1;
  |  | 7007|    249|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    249|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7008|    249|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    249|    { \
  |  |  |  |  201|    249|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    249|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    249|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    249|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    249|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    249|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    249|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    249|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 249]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    249|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    249|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    249|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    249|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    249|    }
  |  |  ------------------
  |  | 7009|    249|        }
  |  | 7010|       |
  |  | 7011|   194k|        TARGET(IMPORT_NAME) {
  |  |  ------------------
  |  |  |  |  132|   194k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7012|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7013|       |            int opcode = IMPORT_NAME;
  |  | 7014|       |            (void)(opcode);
  |  | 7015|       |            #endif
  |  | 7016|   194k|            frame->instr_ptr = next_instr;
  |  | 7017|   194k|            next_instr += 1;
  |  | 7018|   194k|            INSTRUCTION_STATS(IMPORT_NAME);
  |  |  ------------------
  |  |  |  |   71|   194k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7019|   194k|            _PyStackRef level;
  |  | 7020|   194k|            _PyStackRef fromlist;
  |  | 7021|   194k|            _PyStackRef res;
  |  | 7022|   194k|            fromlist = stack_pointer[-1];
  |  | 7023|   194k|            level = stack_pointer[-2];
  |  | 7024|   194k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  236|   194k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|   194k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|   194k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   194k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (7024:30): [True: 194k, False: 0]
  |  |  ------------------
  |  | 7025|      0|            PyObject *res_o;
  |  | 7026|   194k|            if (!(oparg & 0x02)) {
  |  |  ------------------
  |  |  |  Branch (7026:17): [True: 272, False: 193k]
  |  |  ------------------
  |  | 7027|    272|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7028|    272|                _PyFrame_StackPointerValidate(frame);
  |  | 7029|    272|                res_o = _PyEval_LazyImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  327|    272|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |                               res_o = _PyEval_LazyImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  326|    272|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 7030|    272|                    LOCALS(), name,
  |  |  ------------------
  |  |  |  |  328|    272|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  | 7031|    272|                    PyStackRef_AsPyObjectBorrow(fromlist),
  |  | 7032|    272|                    PyStackRef_AsPyObjectBorrow(level),
  |  | 7033|    272|                    oparg & 0x01);
  |  | 7034|    272|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7035|    272|            }
  |  | 7036|   193k|            else {
  |  | 7037|   193k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7038|   193k|                _PyFrame_StackPointerValidate(frame);
  |  | 7039|   193k|                res_o = _PyEval_ImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  327|   193k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |                               res_o = _PyEval_ImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  326|   193k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 7040|   193k|                    LOCALS(), name,
  |  |  ------------------
  |  |  |  |  328|   193k|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  | 7041|   193k|                    PyStackRef_AsPyObjectBorrow(fromlist),
  |  | 7042|   193k|                    PyStackRef_AsPyObjectBorrow(level));
  |  | 7043|   193k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 7044|   193k|            }
  |  | 7045|   194k|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7045:13): [True: 194k, False: 0]
  |  |  ------------------
  |  | 7046|   194k|            _PyFrame_StackPointerValidate(frame);
  |  | 7047|   194k|            _PyStackRef tmp = fromlist;
  |  | 7048|   194k|            fromlist = PyStackRef_NULL;
  |  | 7049|   194k|            stack_pointer[-1] = fromlist;
  |  | 7050|   194k|            PyStackRef_CLOSE(tmp);
  |  | 7051|   194k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7052|   194k|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (7052:13): [True: 194k, False: 0]
  |  |  ------------------
  |  | 7053|   194k|            _PyFrame_StackPointerValidate(frame);
  |  | 7054|   194k|            tmp = level;
  |  | 7055|   194k|            level = PyStackRef_NULL;
  |  | 7056|   194k|            stack_pointer[-2] = level;
  |  | 7057|   194k|            PyStackRef_CLOSE(tmp);
  |  | 7058|   194k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 7059|   194k|            stack_pointer += -2;
  |  | 7060|   194k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   194k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7061|   194k|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (7061:17): [True: 6, False: 194k]
  |  |  ------------------
  |  | 7062|      6|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      6|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 7063|      0|            }
  |  | 7064|   194k|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 7065|   194k|            stack_pointer[0] = res;
  |  | 7066|   194k|            stack_pointer += 1;
  |  | 7067|   194k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   194k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7068|   194k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   194k|    { \
  |  |  |  |  201|   194k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   194k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   194k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   194k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   194k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   194k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   194k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   194k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 194k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   194k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   194k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   194k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   194k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   194k|    }
  |  |  ------------------
  |  | 7069|   194k|        }
  |  | 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) &&
  |  |  ------------------
  |  |  |  |  539|      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) &&
  |  |  ------------------
  |  |  |  |  539|      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) &&
  |  |  ------------------
  |  |  |  |  539|      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);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424: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);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424: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);
  |  |  ------------------
  |  |  |  |  382|      0|    do { \
  |  |  |  |  383|      0|        (COUNTER) = pause_backoff_counter((COUNTER)); \
  |  |  |  |  384|      0|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (384: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);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424: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);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424: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);
  |  |  ------------------
  |  |  |  |  382|      0|    do { \
  |  |  |  |  383|      0|        (COUNTER) = pause_backoff_counter((COUNTER)); \
  |  |  |  |  384|      0|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (384: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);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424: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);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424: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);
  |  |  ------------------
  |  |  |  |  394|      0|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|      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);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424: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);
  |  |  ------------------
  |  |  |  |  394|      0|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|      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);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424: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);
  |  |  ------------------
  |  |  |  |  394|      0|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|      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);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424: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);
  |  |  ------------------
  |  |  |  |  394|      0|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|      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);
  |  |  ------------------
  |  |  |  |  410|      0|#define INSTRUMENTED_JUMP(src, dest, event) \
  |  |  |  |  411|      0|do { \
  |  |  |  |  412|      0|    _Py_CODEUNIT *_dest = (dest); \
  |  |  |  |  413|      0|    if (tstate->tracing) {\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (413:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  414|      0|        next_instr = _dest; \
  |  |  |  |  415|      0|    } else { \
  |  |  |  |  416|      0|        _PyFrame_SetStackPointer(frame, stack_pointer); \
  |  |  |  |  417|      0|        next_instr = _Py_call_instrumentation_jump(this_instr, tstate, event, frame, src, _dest); \
  |  |  |  |  418|      0|        stack_pointer = _PyFrame_GetStackPointer(frame); \
  |  |  |  |  419|      0|        if (next_instr == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (419:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  420|      0|            next_instr = _dest + 1; \
  |  |  |  |  421|      0|            JUMP_TO_LABEL(error); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  422|      0|        } \
  |  |  |  |  423|      0|    } \
  |  |  |  |  424|      0|} while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (424: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);
  |  |  ------------------
  |  |  |  |  441|      0|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|      0|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443: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);
  |  |  ------------------
  |  |  |  |  441|      0|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|      0|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443: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|   211k|        TARGET(INTERPRETER_EXIT) {
  |  |  ------------------
  |  |  |  |  132|   211k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8335|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8336|       |            int opcode = INTERPRETER_EXIT;
  |  | 8337|       |            (void)(opcode);
  |  | 8338|       |            #endif
  |  | 8339|   211k|            frame->instr_ptr = next_instr;
  |  | 8340|   211k|            next_instr += 1;
  |  | 8341|   211k|            INSTRUCTION_STATS(INTERPRETER_EXIT);
  |  |  ------------------
  |  |  |  |   71|   211k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8342|   211k|            _PyStackRef retval;
  |  | 8343|   211k|            retval = stack_pointer[-1];
  |  | 8344|   211k|            assert(frame->owner == FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (8344:13): [True: 211k, False: 0]
  |  |  ------------------
  |  | 8345|   211k|            assert(_PyFrame_IsIncomplete(frame));
  |  |  ------------------
  |  |  |  Branch (8345:13): [True: 211k, False: 0]
  |  |  ------------------
  |  | 8346|   211k|            tstate->current_frame = frame->previous;
  |  | 8347|   211k|            assert(!_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (8347:13): [True: 211k, False: 0]
  |  |  ------------------
  |  | 8348|   211k|            PyObject *result = PyStackRef_AsPyObjectSteal(retval);
  |  | 8349|   211k|            #if !_Py_TAIL_CALL_INTERP
  |  | 8350|   211k|            assert(frame == &entry.frame);
  |  |  ------------------
  |  |  |  Branch (8350:13): [True: 211k, False: 0]
  |  |  ------------------
  |  | 8351|   211k|            #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|   211k|            LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|   211k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 8368|   211k|            return result;
  |  | 8369|   211k|        }
  |  | 8370|       |
  |  | 8371|   100k|        TARGET(IS_OP) {
  |  |  ------------------
  |  |  |  |  132|   100k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8372|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8373|       |            int opcode = IS_OP;
  |  | 8374|       |            (void)(opcode);
  |  | 8375|       |            #endif
  |  | 8376|   100k|            frame->instr_ptr = next_instr;
  |  | 8377|   100k|            next_instr += 1;
  |  | 8378|   100k|            INSTRUCTION_STATS(IS_OP);
  |  |  ------------------
  |  |  |  |   71|   100k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8379|   100k|            _PyStackRef left;
  |  | 8380|   100k|            _PyStackRef right;
  |  | 8381|   100k|            _PyStackRef b;
  |  | 8382|   100k|            _PyStackRef l;
  |  | 8383|   100k|            _PyStackRef r;
  |  | 8384|   100k|            _PyStackRef value;
  |  | 8385|       |            // _IS_OP
  |  | 8386|   100k|            {
  |  | 8387|   100k|                right = stack_pointer[-1];
  |  | 8388|   100k|                left = stack_pointer[-2];
  |  | 8389|   100k|                int res = Py_Is(PyStackRef_AsPyObjectBorrow(left), PyStackRef_AsPyObjectBorrow(right)) ^ oparg;
  |  |  ------------------
  |  |  |  |  187|   100k|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  | 8390|   100k|                b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  1.34k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.34k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|   199k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  99.0k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8390:21): [True: 1.34k, False: 99.0k]
  |  |  ------------------
  |  | 8391|   100k|                l = left;
  |  | 8392|   100k|                r = right;
  |  | 8393|   100k|            }
  |  | 8394|       |            // _POP_TOP
  |  | 8395|   100k|            {
  |  | 8396|   100k|                value = r;
  |  | 8397|   100k|                stack_pointer[-2] = b;
  |  | 8398|   100k|                stack_pointer[-1] = l;
  |  | 8399|   100k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8400|   100k|                _PyFrame_StackPointerValidate(frame);
  |  | 8401|   100k|                PyStackRef_XCLOSE(value);
  |  | 8402|   100k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8403|   100k|            }
  |  | 8404|       |            // _POP_TOP
  |  | 8405|   100k|            {
  |  | 8406|   100k|                value = l;
  |  | 8407|   100k|                stack_pointer += -1;
  |  | 8408|   100k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   100k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8409|   100k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8410|   100k|                _PyFrame_StackPointerValidate(frame);
  |  | 8411|   100k|                PyStackRef_XCLOSE(value);
  |  | 8412|   100k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8413|   100k|            }
  |  | 8414|   100k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   100k|    { \
  |  |  |  |  201|   100k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   100k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   100k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   100k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   100k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   100k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   100k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   100k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 100k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   100k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   100k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   100k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   100k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   100k|    }
  |  |  ------------------
  |  | 8415|   100k|        }
  |  | 8416|       |
  |  | 8417|   100k|        TARGET(JUMP_BACKWARD) {
  |  |  ------------------
  |  |  |  |  132|    253|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8418|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8419|       |            int opcode = JUMP_BACKWARD;
  |  | 8420|       |            (void)(opcode);
  |  | 8421|       |            #endif
  |  | 8422|    253|            frame->instr_ptr = next_instr;
  |  | 8423|    253|            next_instr += 2;
  |  | 8424|    253|            INSTRUCTION_STATS(JUMP_BACKWARD);
  |  |  ------------------
  |  |  |  |   71|    253|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8425|    253|            PREDICTED_JUMP_BACKWARD:;
  |  | 8426|    253|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 8427|    253|            (void)this_instr;
  |  | 8428|       |            /* Skip 1 cache entry */
  |  | 8429|       |            // _SPECIALIZE_JUMP_BACKWARD
  |  | 8430|    253|            {
  |  | 8431|    253|                #if ENABLE_SPECIALIZATION
  |  | 8432|    253|                if (this_instr->op.code == JUMP_BACKWARD) {
  |  |  ------------------
  |  |  |  |   84|    253|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (8432:21): [True: 253, False: 0]
  |  |  ------------------
  |  | 8433|    253|                    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|    506|#define JUMP_BACKWARD_NO_JIT                   182
  |  |  ------------------
  |  |  |  Branch (8433:39): [True: 0, False: 253]
  |  |  ------------------
  |  | 8434|    253|                    FT_ATOMIC_STORE_UINT8_RELAXED(this_instr->op.code, desired);
  |  |  ------------------
  |  |  |  |  170|    253|#define FT_ATOMIC_STORE_UINT8_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  |  | 8435|    253|                    next_instr = this_instr;
  |  | 8436|    253|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    253|    { \
  |  |  |  |  217|    253|        opcode = next_instr->op.code; \
  |  |  |  |  218|    253|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    253|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    253|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    253|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    253|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    253|    }
  |  |  ------------------
  |  | 8437|    253|                }
  |  | 8438|    253|                #endif
  |  | 8439|    253|            }
  |  | 8440|       |            // _CHECK_PERIODIC
  |  | 8441|    253|            {
  |  | 8442|    253|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8443|    253|                _PyFrame_StackPointerValidate(frame);
  |  | 8444|    253|                int err = check_periodics(tstate);
  |  | 8445|    253|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8446|    253|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8446:21): [True: 0, False: 253]
  |  |  ------------------
  |  | 8447|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8448|      0|                }
  |  | 8449|    253|            }
  |  | 8450|       |            // _JUMP_BACKWARD_NO_INTERRUPT
  |  | 8451|    253|            {
  |  | 8452|    253|                assert(oparg <= INSTR_OFFSET());
  |  |  ------------------
  |  |  |  Branch (8452:17): [True: 0, False: 253]
  |  |  ------------------
  |  | 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.06k|        TARGET(JUMP_BACKWARD_NO_INTERRUPT) {
  |  |  ------------------
  |  |  |  |  132|  1.06k|#  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.06k|            frame->instr_ptr = next_instr;
  |  | 8521|  1.06k|            next_instr += 1;
  |  | 8522|  1.06k|            INSTRUCTION_STATS(JUMP_BACKWARD_NO_INTERRUPT);
  |  |  ------------------
  |  |  |  |   71|  1.06k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8523|  1.06k|            assert(oparg <= INSTR_OFFSET());
  |  |  ------------------
  |  |  |  Branch (8523:13): [True: 1.06k, False: 0]
  |  |  ------------------
  |  | 8524|  1.06k|            JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  261|  1.06k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8525|  1.06k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.06k|    { \
  |  |  |  |  201|  1.06k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.06k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.06k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.06k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.06k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.06k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.06k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.06k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.06k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.06k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.06k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.06k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.06k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.06k|    }
  |  |  ------------------
  |  | 8526|  1.06k|        }
  |  | 8527|       |
  |  | 8528|  26.6M|        TARGET(JUMP_BACKWARD_NO_JIT) {
  |  |  ------------------
  |  |  |  |  132|  26.6M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8529|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8530|       |            int opcode = JUMP_BACKWARD_NO_JIT;
  |  | 8531|       |            (void)(opcode);
  |  | 8532|       |            #endif
  |  | 8533|  26.6M|            frame->instr_ptr = next_instr;
  |  | 8534|  26.6M|            next_instr += 2;
  |  | 8535|  26.6M|            INSTRUCTION_STATS(JUMP_BACKWARD_NO_JIT);
  |  |  ------------------
  |  |  |  |   71|  26.6M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8536|  26.6M|            static_assert(1 == 1, "incorrect cache size");
  |  | 8537|       |            /* Skip 1 cache entry */
  |  | 8538|       |            // _CHECK_PERIODIC
  |  | 8539|  26.6M|            {
  |  | 8540|  26.6M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8541|  26.6M|                _PyFrame_StackPointerValidate(frame);
  |  | 8542|  26.6M|                int err = check_periodics(tstate);
  |  | 8543|  26.6M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8544|  26.6M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8544:21): [True: 0, False: 26.6M]
  |  |  ------------------
  |  | 8545|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8546|      0|                }
  |  | 8547|  26.6M|            }
  |  | 8548|       |            // _JUMP_BACKWARD_NO_INTERRUPT
  |  | 8549|  26.6M|            {
  |  | 8550|  26.6M|                assert(oparg <= INSTR_OFFSET());
  |  |  ------------------
  |  |  |  Branch (8550:17): [True: 26.6M, False: 0]
  |  |  ------------------
  |  | 8551|  26.6M|                JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  261|  26.6M|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8552|  26.6M|            }
  |  | 8553|  26.6M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  26.6M|    { \
  |  |  |  |  201|  26.6M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  26.6M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  26.6M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  26.6M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  26.6M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  26.6M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  26.6M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  26.6M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 26.6M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  26.6M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  26.6M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  26.6M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  26.6M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  26.6M|    }
  |  |  ------------------
  |  | 8554|  26.6M|        }
  |  | 8555|       |
  |  | 8556|  1.04M|        TARGET(JUMP_FORWARD) {
  |  |  ------------------
  |  |  |  |  132|  1.04M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8557|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8558|       |            int opcode = JUMP_FORWARD;
  |  | 8559|       |            (void)(opcode);
  |  | 8560|       |            #endif
  |  | 8561|  1.04M|            frame->instr_ptr = next_instr;
  |  | 8562|  1.04M|            next_instr += 1;
  |  | 8563|  1.04M|            INSTRUCTION_STATS(JUMP_FORWARD);
  |  |  ------------------
  |  |  |  |   71|  1.04M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8564|  1.04M|            JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  261|  1.04M|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8565|  1.04M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.04M|    { \
  |  |  |  |  201|  1.04M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.04M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.04M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.04M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.04M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.04M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.04M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.04M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.04M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.04M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.04M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.04M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.04M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.04M|    }
  |  |  ------------------
  |  | 8566|  1.04M|        }
  |  | 8567|       |
  |  | 8568|  1.04M|        TARGET(LIST_APPEND) {
  |  |  ------------------
  |  |  |  |  132|   580k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8569|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8570|       |            int opcode = LIST_APPEND;
  |  | 8571|       |            (void)(opcode);
  |  | 8572|       |            #endif
  |  | 8573|   580k|            frame->instr_ptr = next_instr;
  |  | 8574|   580k|            next_instr += 1;
  |  | 8575|   580k|            INSTRUCTION_STATS(LIST_APPEND);
  |  |  ------------------
  |  |  |  |   71|   580k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8576|   580k|            _PyStackRef list;
  |  | 8577|   580k|            _PyStackRef v;
  |  | 8578|   580k|            v = stack_pointer[-1];
  |  | 8579|   580k|            list = stack_pointer[-2 - (oparg-1)];
  |  | 8580|   580k|            int err = _PyList_AppendTakeRef((PyListObject *)PyStackRef_AsPyObjectBorrow(list),
  |  | 8581|   580k|                PyStackRef_AsPyObjectSteal(v));
  |  | 8582|   580k|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (8582:17): [True: 0, False: 580k]
  |  |  ------------------
  |  | 8583|      0|                JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8584|      0|            }
  |  | 8585|   580k|            stack_pointer += -1;
  |  | 8586|   580k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   580k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8587|   580k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   580k|    { \
  |  |  |  |  201|   580k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   580k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   580k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   580k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   580k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   580k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   580k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   580k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 580k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   580k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   580k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   580k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   580k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   580k|    }
  |  |  ------------------
  |  | 8588|   580k|        }
  |  | 8589|       |
  |  | 8590|    187|        TARGET(LIST_EXTEND) {
  |  |  ------------------
  |  |  |  |  132|    187|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8591|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8592|       |            int opcode = LIST_EXTEND;
  |  | 8593|       |            (void)(opcode);
  |  | 8594|       |            #endif
  |  | 8595|    187|            frame->instr_ptr = next_instr;
  |  | 8596|    187|            next_instr += 1;
  |  | 8597|    187|            INSTRUCTION_STATS(LIST_EXTEND);
  |  |  ------------------
  |  |  |  |   71|    187|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8598|    187|            _PyStackRef list_st;
  |  | 8599|    187|            _PyStackRef iterable_st;
  |  | 8600|    187|            _PyStackRef i;
  |  | 8601|    187|            _PyStackRef value;
  |  | 8602|       |            // _LIST_EXTEND
  |  | 8603|    187|            {
  |  | 8604|    187|                iterable_st = stack_pointer[-1];
  |  | 8605|    187|                list_st = stack_pointer[-2 - (oparg-1)];
  |  | 8606|    187|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  | 8607|    187|                PyObject *iterable = PyStackRef_AsPyObjectBorrow(iterable_st);
  |  | 8608|    187|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8609|    187|                _PyFrame_StackPointerValidate(frame);
  |  | 8610|    187|                PyObject *none_val = _PyList_Extend((PyListObject *)list, iterable);
  |  | 8611|    187|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8612|    187|                if (none_val == NULL) {
  |  |  ------------------
  |  |  |  Branch (8612:21): [True: 0, False: 187]
  |  |  ------------------
  |  | 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|    187|                assert(Py_IsNone(none_val));
  |  |  ------------------
  |  |  |  Branch (8630:17): [True: 187, False: 0]
  |  |  ------------------
  |  | 8631|    187|                i = iterable_st;
  |  | 8632|    187|            }
  |  | 8633|       |            // _POP_TOP
  |  | 8634|      0|            {
  |  | 8635|    187|                value = i;
  |  | 8636|    187|                stack_pointer += -1;
  |  | 8637|    187|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    187|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8638|    187|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8639|    187|                _PyFrame_StackPointerValidate(frame);
  |  | 8640|    187|                PyStackRef_XCLOSE(value);
  |  | 8641|    187|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8642|    187|            }
  |  | 8643|    187|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    187|    { \
  |  |  |  |  201|    187|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    187|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    187|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    187|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    187|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    187|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    187|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    187|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 187]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    187|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    187|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    187|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    187|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    187|    }
  |  |  ------------------
  |  | 8644|    187|        }
  |  | 8645|       |
  |  | 8646|  2.02M|        TARGET(LOAD_ATTR) {
  |  |  ------------------
  |  |  |  |  132|  2.02M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8647|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8648|       |            int opcode = LOAD_ATTR;
  |  | 8649|       |            (void)(opcode);
  |  | 8650|       |            #endif
  |  | 8651|  2.02M|            frame->instr_ptr = next_instr;
  |  | 8652|  2.02M|            next_instr += 10;
  |  | 8653|  2.02M|            INSTRUCTION_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |   71|  2.02M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8654|  2.02M|            PREDICTED_LOAD_ATTR:;
  |  | 8655|  2.02M|            _Py_CODEUNIT* const this_instr = next_instr - 10;
  |  | 8656|  2.02M|            (void)this_instr;
  |  | 8657|  2.02M|            _PyStackRef owner;
  |  | 8658|  2.02M|            _PyStackRef attr;
  |  | 8659|  2.02M|            _PyStackRef *self_or_null;
  |  | 8660|       |            // _SPECIALIZE_LOAD_ATTR
  |  | 8661|  2.02M|            {
  |  | 8662|  2.02M|                owner = stack_pointer[-1];
  |  | 8663|  2.02M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 8664|  2.02M|                (void)counter;
  |  | 8665|  2.02M|                #if ENABLE_SPECIALIZATION
  |  | 8666|  2.02M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  2.02M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 1.49k, False: 2.02M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8667|  1.49k|                    PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  236|  1.49k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  1.49k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  1.49k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8667:38): [True: 1.49k, False: 0]
  |  |  ------------------
  |  | 8668|      0|                    next_instr = this_instr;
  |  | 8669|  1.49k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8670|  1.49k|                    _PyFrame_StackPointerValidate(frame);
  |  | 8671|  1.49k|                    _Py_Specialize_LoadAttr(owner, next_instr, name);
  |  | 8672|  1.49k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8673|  1.49k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  1.49k|    { \
  |  |  |  |  217|  1.49k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  1.49k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.49k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  1.49k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  1.49k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  1.49k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  1.49k|    }
  |  |  ------------------
  |  | 8674|  1.49k|                }
  |  | 8675|  2.02M|                OPCODE_DEFERRED_INC(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |   90|  2.02M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 8676|  2.02M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  2.02M|    do { \
  |  |  |  |  378|  2.02M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  2.02M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 2.02M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8677|  2.02M|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 8678|  2.02M|            }
  |  | 8679|       |            /* Skip 8 cache entries */
  |  | 8680|       |            // _LOAD_ATTR
  |  | 8681|      0|            {
  |  | 8682|  2.02M|                self_or_null = &stack_pointer[0];
  |  | 8683|  2.02M|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 1);
  |  |  ------------------
  |  |  |  |  236|  2.02M|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  2.02M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  2.02M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8683:34): [True: 2.02M, False: 1.49k]
  |  |  ------------------
  |  | 8684|  2.02M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8684:21): [True: 50.5k, False: 1.97M]
  |  |  ------------------
  |  | 8685|  50.5k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8686|  50.5k|                    _PyFrame_StackPointerValidate(frame);
  |  | 8687|  50.5k|                    attr = _Py_LoadAttr_StackRefSteal(tstate, owner, name, self_or_null);
  |  | 8688|  50.5k|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8689|  50.5k|                    if (PyStackRef_IsNull(attr)) {
  |  |  ------------------
  |  |  |  |  482|  50.5k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  50.5k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  50.5k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 133, False: 50.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8690|    133|                        JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|    133|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8691|      0|                    }
  |  | 8692|  50.5k|                }
  |  | 8693|  1.97M|                else {
  |  | 8694|  1.97M|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8695|  1.97M|                    _PyFrame_StackPointerValidate(frame);
  |  | 8696|  1.97M|                    attr = _PyObject_GetAttrStackRef(PyStackRef_AsPyObjectBorrow(owner), name);
  |  | 8697|  1.97M|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8698|  1.97M|                    stack_pointer[-1] = attr;
  |  | 8699|  1.97M|                    stack_pointer += (oparg&1);
  |  | 8700|  1.97M|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.97M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8701|  1.97M|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8702|  1.97M|                    _PyFrame_StackPointerValidate(frame);
  |  | 8703|  1.97M|                    PyStackRef_CLOSE(owner);
  |  | 8704|  1.97M|                    _PyFrame_StackPointerInvalidate(frame);
  |  | 8705|  1.97M|                    if (PyStackRef_IsNull(attr)) {
  |  |  ------------------
  |  |  |  |  482|  1.97M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.97M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.97M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 253, False: 1.97M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8706|    253|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    253|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8707|      0|                    }
  |  | 8708|  1.97M|                    stack_pointer += -(oparg&1);
  |  | 8709|  1.97M|                }
  |  | 8710|  2.02M|            }
  |  | 8711|  2.02M|            stack_pointer[-1] = attr;
  |  | 8712|  2.02M|            stack_pointer += (oparg&1);
  |  | 8713|  2.02M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.02M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8714|  2.02M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.02M|    { \
  |  |  |  |  201|  2.02M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.02M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.02M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.02M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.02M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.02M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.02M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.02M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.02M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.02M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.02M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.02M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.02M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.02M|    }
  |  |  ------------------
  |  | 8715|  2.02M|        }
  |  | 8716|       |
  |  | 8717|    342|        TARGET(LOAD_ATTR_CLASS) {
  |  |  ------------------
  |  |  |  |  132|    342|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8718|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8719|       |            int opcode = LOAD_ATTR_CLASS;
  |  | 8720|       |            (void)(opcode);
  |  | 8721|       |            #endif
  |  | 8722|    342|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8723|    342|            (void)this_instr;
  |  | 8724|    342|            frame->instr_ptr = next_instr;
  |  | 8725|    342|            next_instr += 10;
  |  | 8726|    342|            INSTRUCTION_STATS(LOAD_ATTR_CLASS);
  |  |  ------------------
  |  |  |  |   71|    342|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8727|    342|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8728|    342|            _PyStackRef owner;
  |  | 8729|    342|            _PyStackRef attr;
  |  | 8730|    342|            _PyStackRef *null;
  |  | 8731|       |            /* Skip 1 cache entry */
  |  | 8732|       |            // _CHECK_ATTR_CLASS
  |  | 8733|    342|            {
  |  | 8734|    342|                owner = stack_pointer[-1];
  |  | 8735|    342|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8736|    342|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8737|    342|                if (!PyType_Check(owner_o)) {
  |  |  ------------------
  |  |  |  |  766|    342|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    342|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    342|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8737:21): [True: 0, False: 342]
  |  |  ------------------
  |  | 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|    342|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8742:17): [True: 342, False: 0]
  |  |  ------------------
  |  | 8743|    342|                if (FT_ATOMIC_LOAD_UINT_RELAXED(((PyTypeObject *)owner_o)->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|    342|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8743:21): [True: 2, False: 340]
  |  |  ------------------
  |  | 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|    342|            }
  |  | 8749|       |            /* Skip 2 cache entries */
  |  | 8750|       |            // _LOAD_ATTR_CLASS
  |  | 8751|    340|            {
  |  | 8752|    340|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8753|    340|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|    340|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8754|    340|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (8754:17): [True: 340, False: 0]
  |  |  ------------------
  |  | 8755|    340|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|    340|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    340|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    340|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8756|    340|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8757|    340|                _PyFrame_StackPointerValidate(frame);
  |  | 8758|    340|                _PyStackRef tmp = owner;
  |  | 8759|    340|                owner = attr;
  |  | 8760|    340|                stack_pointer[-1] = owner;
  |  | 8761|    340|                PyStackRef_CLOSE(tmp);
  |  | 8762|    340|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8763|    340|            }
  |  | 8764|       |            // _PUSH_NULL_CONDITIONAL
  |  | 8765|      0|            {
  |  | 8766|    340|                null = &stack_pointer[0];
  |  | 8767|    340|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8767:21): [True: 204, False: 136]
  |  |  ------------------
  |  | 8768|    204|                    null[0] = PyStackRef_NULL;
  |  | 8769|    204|                }
  |  | 8770|    340|            }
  |  | 8771|    340|            stack_pointer += (oparg & 1);
  |  | 8772|    340|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    340|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8773|    340|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    340|    { \
  |  |  |  |  201|    340|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    340|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    340|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    340|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    340|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    340|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    340|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    340|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 340]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    340|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    340|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    340|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    340|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    340|    }
  |  |  ------------------
  |  | 8774|    340|        }
  |  | 8775|       |
  |  | 8776|    180|        TARGET(LOAD_ATTR_CLASS_WITH_METACLASS_CHECK) {
  |  |  ------------------
  |  |  |  |  132|    180|#  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|    180|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8782|    180|            (void)this_instr;
  |  | 8783|    180|            frame->instr_ptr = next_instr;
  |  | 8784|    180|            next_instr += 10;
  |  | 8785|    180|            INSTRUCTION_STATS(LOAD_ATTR_CLASS_WITH_METACLASS_CHECK);
  |  |  ------------------
  |  |  |  |   71|    180|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8786|    180|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8787|    180|            _PyStackRef owner;
  |  | 8788|    180|            _PyStackRef attr;
  |  | 8789|    180|            _PyStackRef *null;
  |  | 8790|       |            /* Skip 1 cache entry */
  |  | 8791|       |            // _GUARD_TYPE_VERSION
  |  | 8792|    180|            {
  |  | 8793|    180|                owner = stack_pointer[-1];
  |  | 8794|    180|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8795|    180|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|    180|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    180|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    180|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8796|    180|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8796:17): [True: 180, False: 0]
  |  |  ------------------
  |  | 8797|    180|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|    180|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8797:21): [True: 0, False: 180]
  |  |  ------------------
  |  | 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|    180|            }
  |  | 8803|       |            // _CHECK_ATTR_CLASS
  |  | 8804|    180|            {
  |  | 8805|    180|                uint32_t type_version = read_u32(&this_instr[4].cache);
  |  | 8806|    180|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8807|    180|                if (!PyType_Check(owner_o)) {
  |  |  ------------------
  |  |  |  |  766|    180|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    180|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    180|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8807:21): [True: 0, False: 180]
  |  |  ------------------
  |  | 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|    180|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8812:17): [True: 180, False: 0]
  |  |  ------------------
  |  | 8813|    180|                if (FT_ATOMIC_LOAD_UINT_RELAXED(((PyTypeObject *)owner_o)->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|    180|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8813:21): [True: 105, False: 75]
  |  |  ------------------
  |  | 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|    180|            }
  |  | 8819|       |            // _LOAD_ATTR_CLASS
  |  | 8820|     75|            {
  |  | 8821|     75|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8822|     75|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     75|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8823|     75|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (8823:17): [True: 75, False: 0]
  |  |  ------------------
  |  | 8824|     75|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|     75|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     75|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     75|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8825|     75|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8826|     75|                _PyFrame_StackPointerValidate(frame);
  |  | 8827|     75|                _PyStackRef tmp = owner;
  |  | 8828|     75|                owner = attr;
  |  | 8829|     75|                stack_pointer[-1] = owner;
  |  | 8830|     75|                PyStackRef_CLOSE(tmp);
  |  | 8831|     75|                _PyFrame_StackPointerInvalidate(frame);
  |  | 8832|     75|            }
  |  | 8833|       |            // _PUSH_NULL_CONDITIONAL
  |  | 8834|      0|            {
  |  | 8835|     75|                null = &stack_pointer[0];
  |  | 8836|     75|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8836:21): [True: 8, False: 67]
  |  |  ------------------
  |  | 8837|      8|                    null[0] = PyStackRef_NULL;
  |  | 8838|      8|                }
  |  | 8839|     75|            }
  |  | 8840|     75|            stack_pointer += (oparg & 1);
  |  | 8841|     75|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     75|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8842|     75|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     75|    { \
  |  |  |  |  201|     75|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     75|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     75|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     75|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     75|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     75|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     75|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     75|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 75]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     75|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     75|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     75|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     75|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     75|    }
  |  |  ------------------
  |  | 8843|     75|        }
  |  | 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)) {
  |  |  ------------------
  |  |  |  |  539|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539: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);
  |  |  ------------------
  |  |  |  |  441|      0|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|      0|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443: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|   505k|        TARGET(LOAD_ATTR_INSTANCE_VALUE) {
  |  |  ------------------
  |  |  |  |  132|   505k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8941|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8942|       |            int opcode = LOAD_ATTR_INSTANCE_VALUE;
  |  | 8943|       |            (void)(opcode);
  |  | 8944|       |            #endif
  |  | 8945|   505k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8946|   505k|            (void)this_instr;
  |  | 8947|   505k|            frame->instr_ptr = next_instr;
  |  | 8948|   505k|            next_instr += 10;
  |  | 8949|   505k|            INSTRUCTION_STATS(LOAD_ATTR_INSTANCE_VALUE);
  |  |  ------------------
  |  |  |  |   71|   505k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8950|   505k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8951|   505k|            _PyStackRef owner;
  |  | 8952|   505k|            _PyStackRef attr;
  |  | 8953|   505k|            _PyStackRef o;
  |  | 8954|   505k|            _PyStackRef value;
  |  | 8955|   505k|            _PyStackRef *null;
  |  | 8956|       |            /* Skip 1 cache entry */
  |  | 8957|       |            // _GUARD_TYPE_VERSION
  |  | 8958|   505k|            {
  |  | 8959|   505k|                owner = stack_pointer[-1];
  |  | 8960|   505k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8961|   505k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|   505k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   505k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   505k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8962|   505k|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (8962:17): [True: 505k, False: 0]
  |  |  ------------------
  |  | 8963|   505k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|   505k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8963:21): [True: 502, False: 505k]
  |  |  ------------------
  |  | 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|   505k|            }
  |  | 8969|       |            // _CHECK_MANAGED_OBJECT_HAS_VALUES
  |  | 8970|   505k|            {
  |  | 8971|   505k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8972|   505k|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |  ------------------
  |  |  |  Branch (8972:17): [True: 505k, False: 0]
  |  |  ------------------
  |  | 8973|   505k|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |  ------------------
  |  |  |  Branch (8973:17): [True: 505k, False: 0]
  |  |  ------------------
  |  | 8974|   505k|                if (!FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  154|   505k|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (8974:21): [True: 0, False: 505k]
  |  |  ------------------
  |  | 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|   505k|            }
  |  | 8980|       |            // _LOAD_ATTR_INSTANCE_VALUE
  |  | 8981|   505k|            {
  |  | 8982|   505k|                uint16_t offset = read_u16(&this_instr[4].cache);
  |  | 8983|   505k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8984|   505k|                PyObject **value_ptr = (PyObject**)(((char *)owner_o) + offset);
  |  | 8985|   505k|                PyObject *attr_o = FT_ATOMIC_LOAD_PTR_ACQUIRE(*value_ptr);
  |  |  ------------------
  |  |  |  |  150|   505k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 8986|   505k|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (8986:21): [True: 0, False: 505k]
  |  |  ------------------
  |  | 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|   505k|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  611|   505k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   505k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   505k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9002|   505k|                #endif
  |  | 9003|   505k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|   505k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9004|   505k|                o = owner;
  |  | 9005|   505k|            }
  |  | 9006|       |            // _POP_TOP
  |  | 9007|      0|            {
  |  | 9008|   505k|                value = o;
  |  | 9009|   505k|                stack_pointer[-1] = attr;
  |  | 9010|   505k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9011|   505k|                _PyFrame_StackPointerValidate(frame);
  |  | 9012|   505k|                PyStackRef_XCLOSE(value);
  |  | 9013|   505k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9014|   505k|            }
  |  | 9015|       |            /* Skip 5 cache entries */
  |  | 9016|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9017|   505k|            {
  |  | 9018|   505k|                null = &stack_pointer[0];
  |  | 9019|   505k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9019:21): [True: 377, False: 504k]
  |  |  ------------------
  |  | 9020|    377|                    null[0] = PyStackRef_NULL;
  |  | 9021|    377|                }
  |  | 9022|   505k|            }
  |  | 9023|   505k|            stack_pointer += (oparg & 1);
  |  | 9024|   505k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   505k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9025|   505k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   505k|    { \
  |  |  |  |  201|   505k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   505k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   505k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   505k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   505k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   505k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   505k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   505k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 505k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   505k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   505k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   505k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   505k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   505k|    }
  |  |  ------------------
  |  | 9026|   505k|        }
  |  | 9027|       |
  |  | 9028|     84|        TARGET(LOAD_ATTR_METHOD_LAZY_DICT) {
  |  |  ------------------
  |  |  |  |  132|     84|#  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|     84|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9034|     84|            (void)this_instr;
  |  | 9035|     84|            frame->instr_ptr = next_instr;
  |  | 9036|     84|            next_instr += 10;
  |  | 9037|     84|            INSTRUCTION_STATS(LOAD_ATTR_METHOD_LAZY_DICT);
  |  |  ------------------
  |  |  |  |   71|     84|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9038|     84|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9039|     84|            _PyStackRef owner;
  |  | 9040|     84|            _PyStackRef attr;
  |  | 9041|     84|            _PyStackRef self;
  |  | 9042|       |            /* Skip 1 cache entry */
  |  | 9043|       |            // _GUARD_TYPE_VERSION
  |  | 9044|     84|            {
  |  | 9045|     84|                owner = stack_pointer[-1];
  |  | 9046|     84|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9047|     84|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|     84|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9048|     84|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9048:17): [True: 84, False: 0]
  |  |  ------------------
  |  | 9049|     84|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|     84|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9049:21): [True: 0, False: 84]
  |  |  ------------------
  |  | 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|     84|            }
  |  | 9055|       |            // _CHECK_ATTR_METHOD_LAZY_DICT
  |  | 9056|     84|            {
  |  | 9057|     84|                uint16_t dictoffset = read_u16(&this_instr[4].cache);
  |  | 9058|     84|                char *ptr = ((char *)PyStackRef_AsPyObjectBorrow(owner)) + MANAGED_DICT_OFFSET + dictoffset;
  |  |  ------------------
  |  |  |  |  923|     84|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  |  |  ------------------
  |  | 9059|     84|                PyObject *dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*(PyObject **)ptr);
  |  |  ------------------
  |  |  |  |  150|     84|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 9060|     84|                if (dict != NULL) {
  |  |  ------------------
  |  |  |  Branch (9060:21): [True: 0, False: 84]
  |  |  ------------------
  |  | 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|     84|            }
  |  | 9066|       |            /* Skip 1 cache entry */
  |  | 9067|       |            // _LOAD_ATTR_METHOD_LAZY_DICT
  |  | 9068|     84|            {
  |  | 9069|     84|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9070|     84|                assert(oparg & 1);
  |  |  ------------------
  |  |  |  Branch (9070:17): [True: 84, False: 0]
  |  |  ------------------
  |  | 9071|     84|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     84|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9072|     84|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9072:17): [True: 84, False: 0]
  |  |  ------------------
  |  | 9073|     84|                assert(_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR));
  |  |  ------------------
  |  |  |  Branch (9073:17): [True: 84, False: 0]
  |  |  ------------------
  |  | 9074|     84|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|     84|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     84|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     84|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9075|     84|                self = owner;
  |  | 9076|     84|            }
  |  | 9077|      0|            stack_pointer[-1] = attr;
  |  | 9078|     84|            stack_pointer[0] = self;
  |  | 9079|     84|            stack_pointer += 1;
  |  | 9080|     84|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     84|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9081|     84|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     84|    { \
  |  |  |  |  201|     84|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     84|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     84|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     84|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     84|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     84|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     84|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     84|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 84]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     84|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     84|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     84|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     84|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     84|    }
  |  |  ------------------
  |  | 9082|     84|        }
  |  | 9083|       |
  |  | 9084|  3.65M|        TARGET(LOAD_ATTR_METHOD_NO_DICT) {
  |  |  ------------------
  |  |  |  |  132|  3.65M|#  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|  3.65M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9090|  3.65M|            (void)this_instr;
  |  | 9091|  3.65M|            frame->instr_ptr = next_instr;
  |  | 9092|  3.65M|            next_instr += 10;
  |  | 9093|  3.65M|            INSTRUCTION_STATS(LOAD_ATTR_METHOD_NO_DICT);
  |  |  ------------------
  |  |  |  |   71|  3.65M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9094|  3.65M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9095|  3.65M|            _PyStackRef owner;
  |  | 9096|  3.65M|            _PyStackRef attr;
  |  | 9097|  3.65M|            _PyStackRef self;
  |  | 9098|       |            /* Skip 1 cache entry */
  |  | 9099|       |            // _GUARD_TYPE_VERSION
  |  | 9100|  3.65M|            {
  |  | 9101|  3.65M|                owner = stack_pointer[-1];
  |  | 9102|  3.65M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9103|  3.65M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  3.65M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.65M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.65M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9104|  3.65M|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9104:17): [True: 3.65M, False: 0]
  |  |  ------------------
  |  | 9105|  3.65M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  3.65M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9105:21): [True: 0, False: 3.65M]
  |  |  ------------------
  |  | 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|  3.65M|            }
  |  | 9111|       |            /* Skip 2 cache entries */
  |  | 9112|       |            // _LOAD_ATTR_METHOD_NO_DICT
  |  | 9113|  3.65M|            {
  |  | 9114|  3.65M|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9115|  3.65M|                assert(oparg & 1);
  |  |  ------------------
  |  |  |  Branch (9115:17): [True: 3.65M, False: 0]
  |  |  ------------------
  |  | 9116|  3.65M|                assert(Py_TYPE(PyStackRef_AsPyObjectBorrow(owner))->tp_dictoffset == 0);
  |  |  ------------------
  |  |  |  Branch (9116:17): [True: 3.65M, False: 0]
  |  |  ------------------
  |  | 9117|  3.65M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  3.65M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9118|  3.65M|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9118:17): [True: 3.65M, False: 0]
  |  |  ------------------
  |  | 9119|  3.65M|                assert(_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR));
  |  |  ------------------
  |  |  |  Branch (9119:17): [True: 3.65M, False: 0]
  |  |  ------------------
  |  | 9120|  3.65M|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|  3.65M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.65M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.65M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9121|  3.65M|                self = owner;
  |  | 9122|  3.65M|            }
  |  | 9123|      0|            stack_pointer[-1] = attr;
  |  | 9124|  3.65M|            stack_pointer[0] = self;
  |  | 9125|  3.65M|            stack_pointer += 1;
  |  | 9126|  3.65M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.65M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9127|  3.65M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.65M|    { \
  |  |  |  |  201|  3.65M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.65M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.65M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.65M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.65M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.65M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.65M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.65M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.65M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.65M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.65M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.65M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.65M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.65M|    }
  |  |  ------------------
  |  | 9128|  3.65M|        }
  |  | 9129|       |
  |  | 9130|  3.38k|        TARGET(LOAD_ATTR_METHOD_WITH_VALUES) {
  |  |  ------------------
  |  |  |  |  132|  3.38k|#  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|  3.38k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9136|  3.38k|            (void)this_instr;
  |  | 9137|  3.38k|            frame->instr_ptr = next_instr;
  |  | 9138|  3.38k|            next_instr += 10;
  |  | 9139|  3.38k|            INSTRUCTION_STATS(LOAD_ATTR_METHOD_WITH_VALUES);
  |  |  ------------------
  |  |  |  |   71|  3.38k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9140|  3.38k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9141|  3.38k|            _PyStackRef owner;
  |  | 9142|  3.38k|            _PyStackRef attr;
  |  | 9143|  3.38k|            _PyStackRef self;
  |  | 9144|       |            /* Skip 1 cache entry */
  |  | 9145|       |            // _GUARD_TYPE_VERSION
  |  | 9146|  3.38k|            {
  |  | 9147|  3.38k|                owner = stack_pointer[-1];
  |  | 9148|  3.38k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9149|  3.38k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  3.38k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9150|  3.38k|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9150:17): [True: 3.38k, False: 0]
  |  |  ------------------
  |  | 9151|  3.38k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  3.38k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9151:21): [True: 33, False: 3.35k]
  |  |  ------------------
  |  | 9152|     33|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|     33|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9153|     33|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9153:21): [True: 33, False: 0]
  |  |  ------------------
  |  | 9154|     33|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|     33|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9155|      0|                }
  |  | 9156|  3.38k|            }
  |  | 9157|       |            // _CHECK_MANAGED_OBJECT_HAS_VALUES
  |  | 9158|  3.35k|            {
  |  | 9159|  3.35k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9160|  3.35k|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |  ------------------
  |  |  |  Branch (9160:17): [True: 3.35k, False: 0]
  |  |  ------------------
  |  | 9161|  3.35k|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |  ------------------
  |  |  |  Branch (9161:17): [True: 3.35k, False: 0]
  |  |  ------------------
  |  | 9162|  3.35k|                if (!FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  154|  3.35k|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (9162:21): [True: 0, False: 3.35k]
  |  |  ------------------
  |  | 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|  3.35k|            }
  |  | 9168|       |            /* Skip 2 cache entries */
  |  | 9169|       |            // _LOAD_ATTR_METHOD_WITH_VALUES
  |  | 9170|  3.35k|            {
  |  | 9171|  3.35k|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9172|  3.35k|                assert(oparg & 1);
  |  |  ------------------
  |  |  |  Branch (9172:17): [True: 3.35k, False: 0]
  |  |  ------------------
  |  | 9173|  3.35k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  3.35k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9174|  3.35k|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9174:17): [True: 3.35k, False: 0]
  |  |  ------------------
  |  | 9175|  3.35k|                assert(_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR));
  |  |  ------------------
  |  |  |  Branch (9175:17): [True: 3.35k, False: 0]
  |  |  ------------------
  |  | 9176|  3.35k|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|  3.35k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.35k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9177|  3.35k|                self = owner;
  |  | 9178|  3.35k|            }
  |  | 9179|      0|            stack_pointer[-1] = attr;
  |  | 9180|  3.35k|            stack_pointer[0] = self;
  |  | 9181|  3.35k|            stack_pointer += 1;
  |  | 9182|  3.35k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.35k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9183|  3.35k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.35k|    { \
  |  |  |  |  201|  3.35k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.35k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.35k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.35k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.35k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.35k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.35k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.35k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.35k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.35k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.35k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.35k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.35k|    }
  |  |  ------------------
  |  | 9184|  3.35k|        }
  |  | 9185|       |
  |  | 9186|  3.75M|        TARGET(LOAD_ATTR_MODULE) {
  |  |  ------------------
  |  |  |  |  132|  3.75M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9187|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9188|       |            int opcode = LOAD_ATTR_MODULE;
  |  | 9189|       |            (void)(opcode);
  |  | 9190|       |            #endif
  |  | 9191|  3.75M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9192|  3.75M|            (void)this_instr;
  |  | 9193|  3.75M|            frame->instr_ptr = next_instr;
  |  | 9194|  3.75M|            next_instr += 10;
  |  | 9195|  3.75M|            INSTRUCTION_STATS(LOAD_ATTR_MODULE);
  |  |  ------------------
  |  |  |  |   71|  3.75M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9196|  3.75M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9197|  3.75M|            _PyStackRef owner;
  |  | 9198|  3.75M|            _PyStackRef attr;
  |  | 9199|  3.75M|            _PyStackRef o;
  |  | 9200|  3.75M|            _PyStackRef value;
  |  | 9201|  3.75M|            _PyStackRef *null;
  |  | 9202|       |            /* Skip 1 cache entry */
  |  | 9203|       |            // _LOAD_ATTR_MODULE
  |  | 9204|  3.75M|            {
  |  | 9205|  3.75M|                owner = stack_pointer[-1];
  |  | 9206|  3.75M|                uint32_t dict_version = read_u32(&this_instr[2].cache);
  |  | 9207|  3.75M|                uint16_t index = read_u16(&this_instr[4].cache);
  |  | 9208|  3.75M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9209|  3.75M|                if (Py_TYPE(owner_o)->tp_getattro != PyModule_Type.tp_getattro) {
  |  |  ------------------
  |  |  |  |  213|  3.75M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.75M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.75M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9209:21): [True: 236, False: 3.74M]
  |  |  ------------------
  |  | 9210|    236|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|    236|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9211|    236|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9211:21): [True: 236, False: 0]
  |  |  ------------------
  |  | 9212|    236|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|    236|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9213|      0|                }
  |  | 9214|  3.74M|                PyDictObject *dict = (PyDictObject *)((PyModuleObject *)owner_o)->md_dict;
  |  | 9215|  3.74M|                assert(dict != NULL);
  |  |  ------------------
  |  |  |  Branch (9215:17): [True: 3.74M, False: 0]
  |  |  ------------------
  |  | 9216|  3.74M|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  150|  3.74M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 9217|  3.74M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != dict_version) {
  |  |  ------------------
  |  |  |  |  159|  3.74M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9217:21): [True: 1.84k, False: 3.74M]
  |  |  ------------------
  |  | 9218|  1.84k|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|  1.84k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9219|  1.84k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9219:21): [True: 1.84k, False: 0]
  |  |  ------------------
  |  | 9220|  1.84k|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|  1.84k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9221|      0|                }
  |  | 9222|  3.74M|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  |  ------------------
  |  |  |  Branch (9222:17): [True: 3.74M, False: 0]
  |  |  ------------------
  |  | 9223|  3.74M|                assert(index < FT_ATOMIC_LOAD_SSIZE_RELAXED(keys->dk_nentries));
  |  |  ------------------
  |  |  |  Branch (9223:17): [True: 3.74M, False: 0]
  |  |  ------------------
  |  | 9224|  3.74M|                PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(keys) + index;
  |  | 9225|  3.74M|                PyObject *attr_o = FT_ATOMIC_LOAD_PTR_CONSUME(ep->me_value);
  |  |  ------------------
  |  |  |  |  151|  3.74M|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  |  |  ------------------
  |  | 9226|  3.74M|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9226:21): [True: 0, False: 3.74M]
  |  |  ------------------
  |  | 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|  3.74M|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  611|  3.74M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.74M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.74M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9242|  3.74M|                #endif
  |  | 9243|  3.74M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  3.74M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9244|  3.74M|                o = owner;
  |  | 9245|  3.74M|            }
  |  | 9246|       |            // _POP_TOP
  |  | 9247|      0|            {
  |  | 9248|  3.74M|                value = o;
  |  | 9249|  3.74M|                stack_pointer[-1] = attr;
  |  | 9250|  3.74M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9251|  3.74M|                _PyFrame_StackPointerValidate(frame);
  |  | 9252|  3.74M|                PyStackRef_XCLOSE(value);
  |  | 9253|  3.74M|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9254|  3.74M|            }
  |  | 9255|       |            /* Skip 5 cache entries */
  |  | 9256|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9257|  3.74M|            {
  |  | 9258|  3.74M|                null = &stack_pointer[0];
  |  | 9259|  3.74M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9259:21): [True: 251k, False: 3.49M]
  |  |  ------------------
  |  | 9260|   251k|                    null[0] = PyStackRef_NULL;
  |  | 9261|   251k|                }
  |  | 9262|  3.74M|            }
  |  | 9263|  3.74M|            stack_pointer += (oparg & 1);
  |  | 9264|  3.74M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.74M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9265|  3.74M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.74M|    { \
  |  |  |  |  201|  3.74M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.74M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.74M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.74M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.74M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.74M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.74M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.74M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.74M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.74M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.74M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.74M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.74M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.74M|    }
  |  |  ------------------
  |  | 9266|  3.74M|        }
  |  | 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|     40|        TARGET(LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES) {
  |  |  ------------------
  |  |  |  |  132|     40|#  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|     40|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9322|     40|            (void)this_instr;
  |  | 9323|     40|            frame->instr_ptr = next_instr;
  |  | 9324|     40|            next_instr += 10;
  |  | 9325|     40|            INSTRUCTION_STATS(LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES);
  |  |  ------------------
  |  |  |  |   71|     40|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9326|     40|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9327|     40|            _PyStackRef owner;
  |  | 9328|     40|            _PyStackRef attr;
  |  | 9329|       |            /* Skip 1 cache entry */
  |  | 9330|       |            // _GUARD_TYPE_VERSION
  |  | 9331|     40|            {
  |  | 9332|     40|                owner = stack_pointer[-1];
  |  | 9333|     40|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9334|     40|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|     40|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9335|     40|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9335:17): [True: 40, False: 0]
  |  |  ------------------
  |  | 9336|     40|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|     40|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9336:21): [True: 0, False: 40]
  |  |  ------------------
  |  | 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|     40|            }
  |  | 9342|       |            // _CHECK_MANAGED_OBJECT_HAS_VALUES
  |  | 9343|     40|            {
  |  | 9344|     40|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9345|     40|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |  ------------------
  |  |  |  Branch (9345:17): [True: 40, False: 0]
  |  |  ------------------
  |  | 9346|     40|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |  ------------------
  |  |  |  Branch (9346:17): [True: 40, False: 0]
  |  |  ------------------
  |  | 9347|     40|                if (!FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  154|     40|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (9347:21): [True: 0, False: 40]
  |  |  ------------------
  |  | 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|     40|            }
  |  | 9353|       |            /* Skip 2 cache entries */
  |  | 9354|       |            // _LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES
  |  | 9355|     40|            {
  |  | 9356|     40|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 9357|     40|                assert((oparg & 1) == 0);
  |  |  ------------------
  |  |  |  Branch (9357:17): [True: 40, False: 0]
  |  |  ------------------
  |  | 9358|     40|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|     40|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9359|     40|                assert(descr != NULL);
  |  |  ------------------
  |  |  |  Branch (9359:17): [True: 40, False: 0]
  |  |  ------------------
  |  | 9360|     40|                stack_pointer += -1;
  |  | 9361|     40|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     40|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9362|     40|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9363|     40|                _PyFrame_StackPointerValidate(frame);
  |  | 9364|     40|                PyStackRef_CLOSE(owner);
  |  | 9365|     40|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9366|     40|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  611|     40|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9367|     40|            }
  |  | 9368|      0|            stack_pointer[0] = attr;
  |  | 9369|     40|            stack_pointer += 1;
  |  | 9370|     40|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     40|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9371|     40|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     40|    { \
  |  |  |  |  201|     40|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     40|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     40|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     40|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     40|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     40|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     40|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     40|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 40]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     40|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     40|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     40|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     40|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     40|    }
  |  |  ------------------
  |  | 9372|     40|        }
  |  | 9373|       |
  |  | 9374|    388|        TARGET(LOAD_ATTR_PROPERTY) {
  |  |  ------------------
  |  |  |  |  132|    388|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9375|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9376|       |            int opcode = LOAD_ATTR_PROPERTY;
  |  | 9377|       |            (void)(opcode);
  |  | 9378|       |            #endif
  |  | 9379|    388|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9380|    388|            (void)this_instr;
  |  | 9381|    388|            frame->instr_ptr = next_instr;
  |  | 9382|    388|            next_instr += 10;
  |  | 9383|    388|            INSTRUCTION_STATS(LOAD_ATTR_PROPERTY);
  |  |  ------------------
  |  |  |  |   71|    388|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9384|    388|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9385|    388|            _PyStackRef owner;
  |  | 9386|    388|            _PyStackRef new_frame;
  |  | 9387|       |            /* Skip 1 cache entry */
  |  | 9388|       |            // _GUARD_TYPE_VERSION
  |  | 9389|    388|            {
  |  | 9390|    388|                owner = stack_pointer[-1];
  |  | 9391|    388|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9392|    388|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|    388|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    388|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    388|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9393|    388|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9393:17): [True: 388, False: 0]
  |  |  ------------------
  |  | 9394|    388|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|    388|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9394:21): [True: 156, False: 232]
  |  |  ------------------
  |  | 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|    388|            }
  |  | 9400|       |            // _CHECK_PEP_523
  |  | 9401|    232|            {
  |  | 9402|    232|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  539|    232|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539:34): [True: 0, False: 232]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|    232|            }
  |  | 9408|       |            // _LOAD_ATTR_PROPERTY_FRAME
  |  | 9409|    232|            {
  |  | 9410|    232|                uint32_t func_version = read_u32(&this_instr[4].cache);
  |  | 9411|    232|                PyObject *fget = read_obj(&this_instr[6].cache);
  |  | 9412|    232|                assert((oparg & 1) == 0);
  |  |  ------------------
  |  |  |  Branch (9412:17): [True: 232, False: 0]
  |  |  ------------------
  |  | 9413|    232|                assert(Py_IS_TYPE(fget, &PyFunction_Type));
  |  |  ------------------
  |  |  |  Branch (9413:17): [True: 232, False: 0]
  |  |  ------------------
  |  | 9414|    232|                PyFunctionObject *f = (PyFunctionObject *)fget;
  |  | 9415|    232|                if (f->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (9415:21): [True: 0, False: 232]
  |  |  ------------------
  |  | 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|    232|                PyCodeObject *code = (PyCodeObject *)f->func_code;
  |  | 9421|    232|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (9421:21): [True: 0, False: 232]
  |  |  ------------------
  |  | 9422|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9423|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9423:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9424|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9425|      0|                }
  |  | 9426|    232|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|    232|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9427|    232|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(tstate, PyStackRef_FromPyObjectNew(fget), 1, frame);
  |  |  ------------------
  |  |  |  |  611|    232|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    232|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    232|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9428|    232|                pushed_frame->localsplus[0] = owner;
  |  | 9429|    232|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 9430|    232|            }
  |  | 9431|       |            // _SAVE_RETURN_OFFSET
  |  | 9432|      0|            {
  |  | 9433|    232|                #if TIER_ONE
  |  | 9434|    232|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 9435|    232|                #endif
  |  | 9436|       |                #if TIER_TWO
  |  | 9437|       |                frame->return_offset = oparg;
  |  | 9438|       |                #endif
  |  | 9439|    232|            }
  |  | 9440|       |            // _PUSH_FRAME
  |  | 9441|    232|            {
  |  | 9442|    232|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  ------------------
  |  |  |  Branch (9442:17): [True: 232, False: 0]
  |  |  ------------------
  |  | 9443|    232|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 9444|    232|                stack_pointer += -1;
  |  | 9445|    232|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    232|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9446|    232|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9447|    232|                _PyFrame_StackPointerValidate(frame);
  |  | 9448|    232|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  ------------------
  |  |  |  Branch (9448:17): [True: 232, False: 0]
  |  |  |  Branch (9448:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 9449|    232|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|    232|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 9450|    232|                frame = tstate->current_frame = temp;
  |  | 9451|    232|                tstate->py_recursion_remaining--;
  |  | 9452|    232|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9453|    232|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9454|    232|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  441|    232|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|    232|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|    232|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 232]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9455|       |                #ifdef Py_DEBUG
  |  | 9456|       |                assert(frame->previous->stackpointer_valid == 1);
  |  | 9457|       |                #endif
  |  | 9458|    232|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|    232|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 9459|    232|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|    232|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 9460|    232|            }
  |  | 9461|    232|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    232|    { \
  |  |  |  |  201|    232|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    232|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    232|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    232|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    232|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    232|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    232|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    232|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 232]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    232|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    232|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    232|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    232|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    232|    }
  |  |  ------------------
  |  | 9462|    232|        }
  |  | 9463|       |
  |  | 9464|  5.15k|        TARGET(LOAD_ATTR_SLOT) {
  |  |  ------------------
  |  |  |  |  132|  5.15k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9465|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9466|       |            int opcode = LOAD_ATTR_SLOT;
  |  | 9467|       |            (void)(opcode);
  |  | 9468|       |            #endif
  |  | 9469|  5.15k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9470|  5.15k|            (void)this_instr;
  |  | 9471|  5.15k|            frame->instr_ptr = next_instr;
  |  | 9472|  5.15k|            next_instr += 10;
  |  | 9473|  5.15k|            INSTRUCTION_STATS(LOAD_ATTR_SLOT);
  |  |  ------------------
  |  |  |  |   71|  5.15k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9474|  5.15k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9475|  5.15k|            _PyStackRef owner;
  |  | 9476|  5.15k|            _PyStackRef attr;
  |  | 9477|  5.15k|            _PyStackRef o;
  |  | 9478|  5.15k|            _PyStackRef value;
  |  | 9479|  5.15k|            _PyStackRef *null;
  |  | 9480|       |            /* Skip 1 cache entry */
  |  | 9481|       |            // _GUARD_TYPE_VERSION
  |  | 9482|  5.15k|            {
  |  | 9483|  5.15k|                owner = stack_pointer[-1];
  |  | 9484|  5.15k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9485|  5.15k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  5.15k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9486|  5.15k|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (9486:17): [True: 5.15k, False: 0]
  |  |  ------------------
  |  | 9487|  5.15k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|  5.15k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9487:21): [True: 340, False: 4.81k]
  |  |  ------------------
  |  | 9488|    340|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  299|    340|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9489|    340|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  |  ------------------
  |  |  |  Branch (9489:21): [True: 340, False: 0]
  |  |  ------------------
  |  | 9490|    340|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|    340|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9491|      0|                }
  |  | 9492|  5.15k|            }
  |  | 9493|       |            // _LOAD_ATTR_SLOT
  |  | 9494|  4.81k|            {
  |  | 9495|  4.81k|                uint16_t index = read_u16(&this_instr[4].cache);
  |  | 9496|  4.81k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9497|  4.81k|                PyObject **addr = (PyObject **)((char *)owner_o + index);
  |  | 9498|  4.81k|                PyObject *attr_o = FT_ATOMIC_LOAD_PTR(*addr);
  |  |  ------------------
  |  |  |  |  145|  4.81k|#define FT_ATOMIC_LOAD_PTR(value) value
  |  |  ------------------
  |  | 9499|  4.81k|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9499:21): [True: 0, False: 4.81k]
  |  |  ------------------
  |  | 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|  4.81k|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  611|  4.81k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9513|  4.81k|                #endif
  |  | 9514|  4.81k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  4.81k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9515|  4.81k|                o = owner;
  |  | 9516|  4.81k|            }
  |  | 9517|       |            // _POP_TOP
  |  | 9518|      0|            {
  |  | 9519|  4.81k|                value = o;
  |  | 9520|  4.81k|                stack_pointer[-1] = attr;
  |  | 9521|  4.81k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9522|  4.81k|                _PyFrame_StackPointerValidate(frame);
  |  | 9523|  4.81k|                PyStackRef_XCLOSE(value);
  |  | 9524|  4.81k|                _PyFrame_StackPointerInvalidate(frame);
  |  | 9525|  4.81k|            }
  |  | 9526|       |            /* Skip 5 cache entries */
  |  | 9527|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9528|  4.81k|            {
  |  | 9529|  4.81k|                null = &stack_pointer[0];
  |  | 9530|  4.81k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9530:21): [True: 7, False: 4.81k]
  |  |  ------------------
  |  | 9531|      7|                    null[0] = PyStackRef_NULL;
  |  | 9532|      7|                }
  |  | 9533|  4.81k|            }
  |  | 9534|  4.81k|            stack_pointer += (oparg & 1);
  |  | 9535|  4.81k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  4.81k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9536|  4.81k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.81k|    { \
  |  |  |  |  201|  4.81k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.81k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.81k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.81k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  4.81k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.81k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.81k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.81k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.81k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.81k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.81k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.81k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.81k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.81k|    }
  |  |  ------------------
  |  | 9537|  4.81k|        }
  |  | 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|    631|        TARGET(LOAD_BUILD_CLASS) {
  |  |  ------------------
  |  |  |  |  132|    631|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9658|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9659|       |            int opcode = LOAD_BUILD_CLASS;
  |  | 9660|       |            (void)(opcode);
  |  | 9661|       |            #endif
  |  | 9662|    631|            frame->instr_ptr = next_instr;
  |  | 9663|    631|            next_instr += 1;
  |  | 9664|    631|            INSTRUCTION_STATS(LOAD_BUILD_CLASS);
  |  |  ------------------
  |  |  |  |   71|    631|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9665|    631|            _PyStackRef bc;
  |  | 9666|    631|            int err;
  |  | 9667|    631|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9668|    631|            _PyFrame_StackPointerValidate(frame);
  |  | 9669|    631|            PyObject *bc_o = _PyMapping_GetOptionalItem2(BUILTINS(), &_Py_ID(__build_class__), &err);
  |  |  ------------------
  |  |  |  |  327|    631|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |                           PyObject *bc_o = _PyMapping_GetOptionalItem2(BUILTINS(), &_Py_ID(__build_class__), &err);
  |  |  ------------------
  |  |  |  |  921|    631|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    631|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    631|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9670|    631|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9671|    631|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9671:17): [True: 0, False: 631]
  |  |  ------------------
  |  | 9672|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9673|      0|            }
  |  | 9674|    631|            if (bc_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9674:17): [True: 0, False: 631]
  |  |  ------------------
  |  | 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|    631|            bc = PyStackRef_FromPyObjectSteal(bc_o);
  |  | 9683|    631|            stack_pointer[0] = bc;
  |  | 9684|    631|            stack_pointer += 1;
  |  | 9685|    631|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    631|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9686|    631|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    631|    { \
  |  |  |  |  201|    631|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    631|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    631|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    631|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    631|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    631|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    631|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    631|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 631]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    631|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    631|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    631|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    631|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    631|    }
  |  |  ------------------
  |  | 9687|    631|        }
  |  | 9688|       |
  |  | 9689|  2.26M|        TARGET(LOAD_COMMON_CONSTANT) {
  |  |  ------------------
  |  |  |  |  132|  2.26M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9690|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9691|       |            int opcode = LOAD_COMMON_CONSTANT;
  |  | 9692|       |            (void)(opcode);
  |  | 9693|       |            #endif
  |  | 9694|  2.26M|            frame->instr_ptr = next_instr;
  |  | 9695|  2.26M|            next_instr += 1;
  |  | 9696|  2.26M|            INSTRUCTION_STATS(LOAD_COMMON_CONSTANT);
  |  |  ------------------
  |  |  |  |   71|  2.26M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9697|  2.26M|            _PyStackRef value;
  |  | 9698|  2.26M|            assert(oparg < NUM_COMMON_CONSTANTS);
  |  |  ------------------
  |  |  |  Branch (9698:13): [True: 2.26M, False: 0]
  |  |  ------------------
  |  | 9699|  2.26M|            value = PyStackRef_DupImmortal(tstate->interp->common_consts[oparg]);
  |  | 9700|  2.26M|            stack_pointer[0] = value;
  |  | 9701|  2.26M|            stack_pointer += 1;
  |  | 9702|  2.26M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.26M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9703|  2.26M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.26M|    { \
  |  |  |  |  201|  2.26M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.26M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.26M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.26M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.26M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.26M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.26M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.26M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.26M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.26M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.26M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.26M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.26M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.26M|    }
  |  |  ------------------
  |  | 9704|  2.26M|        }
  |  | 9705|       |
  |  | 9706|  3.83M|        TARGET(LOAD_CONST) {
  |  |  ------------------
  |  |  |  |  132|  3.83M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9707|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9708|       |            int opcode = LOAD_CONST;
  |  | 9709|       |            (void)(opcode);
  |  | 9710|       |            #endif
  |  | 9711|  3.83M|            frame->instr_ptr = next_instr;
  |  | 9712|  3.83M|            next_instr += 1;
  |  | 9713|  3.83M|            INSTRUCTION_STATS(LOAD_CONST);
  |  |  ------------------
  |  |  |  |   71|  3.83M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9714|  3.83M|            _PyStackRef value;
  |  | 9715|  3.83M|            PyObject *obj = GETITEM(FRAME_CO_CONSTS, oparg);
  |  |  ------------------
  |  |  |  |  236|  3.83M|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  3.83M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  3.83M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.83M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9715:29): [True: 3.83M, False: 0]
  |  |  ------------------
  |  | 9716|      0|            value = PyStackRef_FromPyObjectBorrow(obj);
  |  | 9717|  3.83M|            stack_pointer[0] = value;
  |  | 9718|  3.83M|            stack_pointer += 1;
  |  | 9719|  3.83M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.83M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9720|  3.83M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.83M|    { \
  |  |  |  |  201|  3.83M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.83M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.83M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.83M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.83M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.83M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.83M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.83M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.83M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.83M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.83M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.83M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.83M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.83M|    }
  |  |  ------------------
  |  | 9721|  3.83M|        }
  |  | 9722|       |
  |  | 9723|  12.7k|        TARGET(LOAD_DEREF) {
  |  |  ------------------
  |  |  |  |  132|  12.7k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9724|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9725|       |            int opcode = LOAD_DEREF;
  |  | 9726|       |            (void)(opcode);
  |  | 9727|       |            #endif
  |  | 9728|  12.7k|            frame->instr_ptr = next_instr;
  |  | 9729|  12.7k|            next_instr += 1;
  |  | 9730|  12.7k|            INSTRUCTION_STATS(LOAD_DEREF);
  |  |  ------------------
  |  |  |  |   71|  12.7k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9731|  12.7k|            _PyStackRef value;
  |  | 9732|  12.7k|            PyCellObject *cell = (PyCellObject *)PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|  12.7k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9733|  12.7k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9734|  12.7k|            _PyFrame_StackPointerValidate(frame);
  |  | 9735|  12.7k|            value = _PyCell_GetStackRef(cell);
  |  | 9736|  12.7k|            _PyFrame_StackPointerInvalidate(frame);
  |  | 9737|  12.7k|            if (PyStackRef_IsNull(value)) {
  |  |  ------------------
  |  |  |  |  482|  12.7k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  12.7k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  12.7k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 12.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  12.7k|            stack_pointer[0] = value;
  |  | 9748|  12.7k|            stack_pointer += 1;
  |  | 9749|  12.7k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  12.7k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9750|  12.7k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  12.7k|    { \
  |  |  |  |  201|  12.7k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  12.7k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  12.7k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  12.7k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  12.7k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  12.7k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  12.7k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  12.7k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 12.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  12.7k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  12.7k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  12.7k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  12.7k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  12.7k|    }
  |  |  ------------------
  |  | 9751|  12.7k|        }
  |  | 9752|       |
  |  | 9753|  1.54M|        TARGET(LOAD_FAST) {
  |  |  ------------------
  |  |  |  |  132|  1.54M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9754|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9755|       |            int opcode = LOAD_FAST;
  |  | 9756|       |            (void)(opcode);
  |  | 9757|       |            #endif
  |  | 9758|  1.54M|            frame->instr_ptr = next_instr;
  |  | 9759|  1.54M|            next_instr += 1;
  |  | 9760|  1.54M|            INSTRUCTION_STATS(LOAD_FAST);
  |  |  ------------------
  |  |  |  |   71|  1.54M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9761|  1.54M|            _PyStackRef value;
  |  | 9762|  1.54M|            assert(!PyStackRef_IsNull(GETLOCAL(oparg)));
  |  |  ------------------
  |  |  |  Branch (9762:13): [True: 1.54M, False: 0]
  |  |  ------------------
  |  | 9763|  1.54M|            value = PyStackRef_DUP(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|  1.54M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9764|  1.54M|            stack_pointer[0] = value;
  |  | 9765|  1.54M|            stack_pointer += 1;
  |  | 9766|  1.54M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.54M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9767|  1.54M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.54M|    { \
  |  |  |  |  201|  1.54M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.54M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.54M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.54M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.54M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.54M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.54M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.54M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.54M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.54M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.54M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.54M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.54M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.54M|    }
  |  |  ------------------
  |  | 9768|  1.54M|        }
  |  | 9769|       |
  |  | 9770|   273k|        TARGET(LOAD_FAST_AND_CLEAR) {
  |  |  ------------------
  |  |  |  |  132|   273k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9771|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9772|       |            int opcode = LOAD_FAST_AND_CLEAR;
  |  | 9773|       |            (void)(opcode);
  |  | 9774|       |            #endif
  |  | 9775|   273k|            frame->instr_ptr = next_instr;
  |  | 9776|   273k|            next_instr += 1;
  |  | 9777|   273k|            INSTRUCTION_STATS(LOAD_FAST_AND_CLEAR);
  |  |  ------------------
  |  |  |  |   71|   273k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9778|   273k|            _PyStackRef value;
  |  | 9779|   273k|            value = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|   273k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9780|   273k|            GETLOCAL(oparg) = PyStackRef_NULL;
  |  |  ------------------
  |  |  |  |  285|   273k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9781|   273k|            stack_pointer[0] = value;
  |  | 9782|   273k|            stack_pointer += 1;
  |  | 9783|   273k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   273k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9784|   273k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   273k|    { \
  |  |  |  |  201|   273k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   273k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   273k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   273k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   273k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   273k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   273k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   273k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 273k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   273k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   273k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   273k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   273k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   273k|    }
  |  |  ------------------
  |  | 9785|   273k|        }
  |  | 9786|       |
  |  | 9787|  78.9M|        TARGET(LOAD_FAST_BORROW) {
  |  |  ------------------
  |  |  |  |  132|  78.9M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9788|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9789|       |            int opcode = LOAD_FAST_BORROW;
  |  | 9790|       |            (void)(opcode);
  |  | 9791|       |            #endif
  |  | 9792|  78.9M|            frame->instr_ptr = next_instr;
  |  | 9793|  78.9M|            next_instr += 1;
  |  | 9794|  78.9M|            INSTRUCTION_STATS(LOAD_FAST_BORROW);
  |  |  ------------------
  |  |  |  |   71|  78.9M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9795|  78.9M|            _PyStackRef value;
  |  | 9796|  78.9M|            assert(!PyStackRef_IsNull(GETLOCAL(oparg)));
  |  |  ------------------
  |  |  |  Branch (9796:13): [True: 78.9M, False: 0]
  |  |  ------------------
  |  | 9797|  78.9M|            value = PyStackRef_Borrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|  78.9M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9798|  78.9M|            stack_pointer[0] = value;
  |  | 9799|  78.9M|            stack_pointer += 1;
  |  | 9800|  78.9M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  78.9M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9801|  78.9M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  78.9M|    { \
  |  |  |  |  201|  78.9M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  78.9M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  78.9M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  78.9M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  78.9M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  78.9M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  78.9M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  78.9M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 78.9M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  78.9M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  78.9M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  78.9M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  78.9M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  78.9M|    }
  |  |  ------------------
  |  | 9802|  78.9M|        }
  |  | 9803|       |
  |  | 9804|  55.1M|        TARGET(LOAD_FAST_BORROW_LOAD_FAST_BORROW) {
  |  |  ------------------
  |  |  |  |  132|  55.1M|#  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|  55.1M|            frame->instr_ptr = next_instr;
  |  | 9810|  55.1M|            next_instr += 1;
  |  | 9811|  55.1M|            INSTRUCTION_STATS(LOAD_FAST_BORROW_LOAD_FAST_BORROW);
  |  |  ------------------
  |  |  |  |   71|  55.1M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9812|  55.1M|            _PyStackRef value1;
  |  | 9813|  55.1M|            _PyStackRef value2;
  |  | 9814|  55.1M|            uint32_t oparg1 = oparg >> 4;
  |  | 9815|  55.1M|            uint32_t oparg2 = oparg & 15;
  |  | 9816|  55.1M|            value1 = PyStackRef_Borrow(GETLOCAL(oparg1));
  |  |  ------------------
  |  |  |  |  285|  55.1M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9817|  55.1M|            value2 = PyStackRef_Borrow(GETLOCAL(oparg2));
  |  |  ------------------
  |  |  |  |  285|  55.1M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9818|  55.1M|            stack_pointer[0] = value1;
  |  | 9819|  55.1M|            stack_pointer[1] = value2;
  |  | 9820|  55.1M|            stack_pointer += 2;
  |  | 9821|  55.1M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  55.1M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9822|  55.1M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  55.1M|    { \
  |  |  |  |  201|  55.1M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  55.1M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  55.1M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  55.1M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  55.1M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  55.1M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  55.1M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  55.1M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 55.1M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  55.1M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  55.1M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  55.1M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  55.1M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  55.1M|    }
  |  |  ------------------
  |  | 9823|  55.1M|        }
  |  | 9824|       |
  |  | 9825|  55.1M|        TARGET(LOAD_FAST_CHECK) {
  |  |  ------------------
  |  |  |  |  132|  1.21k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9826|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9827|       |            int opcode = LOAD_FAST_CHECK;
  |  | 9828|       |            (void)(opcode);
  |  | 9829|       |            #endif
  |  | 9830|  1.21k|            frame->instr_ptr = next_instr;
  |  | 9831|  1.21k|            next_instr += 1;
  |  | 9832|  1.21k|            INSTRUCTION_STATS(LOAD_FAST_CHECK);
  |  |  ------------------
  |  |  |  |   71|  1.21k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9833|  1.21k|            _PyStackRef value;
  |  | 9834|  1.21k|            _PyStackRef value_s = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|  1.21k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9835|  1.21k|            if (PyStackRef_IsNull(value_s)) {
  |  |  ------------------
  |  |  |  |  482|  1.21k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  1.21k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.21k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 1.21k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9836|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9837|      0|                _PyFrame_StackPointerValidate(frame);
  |  | 9838|      0|                _PyEval_FormatExcCheckArg(tstate, PyExc_UnboundLocalError,
  |  | 9839|      0|                    UNBOUNDLOCAL_ERROR_MSG,
  |  |  ------------------
  |  |  |  |  401|      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|  1.21k|            value = PyStackRef_DUP(value_s);
  |  | 9846|  1.21k|            stack_pointer[0] = value;
  |  | 9847|  1.21k|            stack_pointer += 1;
  |  | 9848|  1.21k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.21k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9849|  1.21k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.21k|    { \
  |  |  |  |  201|  1.21k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.21k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.21k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.21k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.21k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.21k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.21k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.21k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.21k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.21k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.21k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.21k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.21k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.21k|    }
  |  |  ------------------
  |  | 9850|  1.21k|        }
  |  | 9851|       |
  |  | 9852|  3.14k|        TARGET(LOAD_FAST_LOAD_FAST) {
  |  |  ------------------
  |  |  |  |  132|  3.14k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9853|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9854|       |            int opcode = LOAD_FAST_LOAD_FAST;
  |  | 9855|       |            (void)(opcode);
  |  | 9856|       |            #endif
  |  | 9857|  3.14k|            frame->instr_ptr = next_instr;
  |  | 9858|  3.14k|            next_instr += 1;
  |  | 9859|  3.14k|            INSTRUCTION_STATS(LOAD_FAST_LOAD_FAST);
  |  |  ------------------
  |  |  |  |   71|  3.14k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9860|  3.14k|            _PyStackRef value1;
  |  | 9861|  3.14k|            _PyStackRef value2;
  |  | 9862|  3.14k|            uint32_t oparg1 = oparg >> 4;
  |  | 9863|  3.14k|            uint32_t oparg2 = oparg & 15;
  |  | 9864|  3.14k|            value1 = PyStackRef_DUP(GETLOCAL(oparg1));
  |  |  ------------------
  |  |  |  |  285|  3.14k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9865|  3.14k|            value2 = PyStackRef_DUP(GETLOCAL(oparg2));
  |  |  ------------------
  |  |  |  |  285|  3.14k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9866|  3.14k|            stack_pointer[0] = value1;
  |  | 9867|  3.14k|            stack_pointer[1] = value2;
  |  | 9868|  3.14k|            stack_pointer += 2;
  |  | 9869|  3.14k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.14k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9870|  3.14k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.14k|    { \
  |  |  |  |  201|  3.14k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.14k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.14k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.14k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.14k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.14k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.14k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.14k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.14k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.14k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.14k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.14k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.14k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.14k|    }
  |  |  ------------------
  |  | 9871|  3.14k|        }
  |  | 9872|       |
  |  | 9873|  3.14k|        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);
  |  |  ------------------
  |  |  |  |  405|      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);
  |  |  ------------------
  |  |  |  |  354|      0|    do { \
  |  |  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  |  |  358|      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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  359|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359: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);
  |  |  ------------------
  |  |  |  |  405|      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);
  |  |  ------------------
  |  |  |  |  354|      0|    do { \
  |  |  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  |  |  358|      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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  359|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359: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.73k|        TARGET(LOAD_GLOBAL) {
  |  |  ------------------
  |  |  |  |  132|  3.73k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10030|       |            #if _Py_TAIL_CALL_INTERP
  |  |10031|       |            int opcode = LOAD_GLOBAL;
  |  |10032|       |            (void)(opcode);
  |  |10033|       |            #endif
  |  |10034|  3.73k|            frame->instr_ptr = next_instr;
  |  |10035|  3.73k|            next_instr += 5;
  |  |10036|  3.73k|            INSTRUCTION_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |   71|  3.73k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10037|  13.7k|            PREDICTED_LOAD_GLOBAL:;
  |  |10038|  13.7k|            _Py_CODEUNIT* const this_instr = next_instr - 5;
  |  |10039|  13.7k|            (void)this_instr;
  |  |10040|  13.7k|            _PyStackRef *res;
  |  |10041|  13.7k|            _PyStackRef *null;
  |  |10042|       |            // _SPECIALIZE_LOAD_GLOBAL
  |  |10043|  13.7k|            {
  |  |10044|  13.7k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |10045|  13.7k|                (void)counter;
  |  |10046|  13.7k|                #if ENABLE_SPECIALIZATION
  |  |10047|  13.7k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  13.7k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 1.64k, False: 12.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10048|  1.64k|                    PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  236|  1.64k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  1.64k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  1.64k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10048:38): [True: 1.64k, False: 0]
  |  |  ------------------
  |  |10049|      0|                    next_instr = this_instr;
  |  |10050|  1.64k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10051|  1.64k|                    _PyFrame_StackPointerValidate(frame);
  |  |10052|  1.64k|                    _Py_Specialize_LoadGlobal(GLOBALS(), BUILTINS(), next_instr, name);
  |  |  ------------------
  |  |  |  |  326|  1.64k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |                                   _Py_Specialize_LoadGlobal(GLOBALS(), BUILTINS(), next_instr, name);
  |  |  ------------------
  |  |  |  |  327|  1.64k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |10053|  1.64k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10054|  1.64k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  1.64k|    { \
  |  |  |  |  217|  1.64k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  1.64k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.64k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  1.64k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  1.64k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  1.64k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  1.64k|    }
  |  |  ------------------
  |  |10055|  1.64k|                }
  |  |10056|  13.7k|                OPCODE_DEFERRED_INC(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |   90|  13.7k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |10057|  13.7k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  13.7k|    do { \
  |  |  |  |  378|  13.7k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  13.7k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 13.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10058|  13.7k|                #endif  /* ENABLE_SPECIALIZATION */
  |  |10059|  13.7k|            }
  |  |10060|       |            /* Skip 1 cache entry */
  |  |10061|       |            /* Skip 1 cache entry */
  |  |10062|       |            /* Skip 1 cache entry */
  |  |10063|       |            // _LOAD_GLOBAL
  |  |10064|      0|            {
  |  |10065|  13.7k|                res = &stack_pointer[0];
  |  |10066|  13.7k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  236|  13.7k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  13.7k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  13.7k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10066:34): [True: 12.1k, False: 1.64k]
  |  |  ------------------
  |  |10067|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10068|  12.1k|                _PyFrame_StackPointerValidate(frame);
  |  |10069|  12.1k|                _PyEval_LoadGlobalStackRef(GLOBALS(), BUILTINS(), name, res);
  |  |  ------------------
  |  |  |  |  326|  12.1k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |                               _PyEval_LoadGlobalStackRef(GLOBALS(), BUILTINS(), name, res);
  |  |  ------------------
  |  |  |  |  327|  12.1k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |10070|  12.1k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10071|  12.1k|                if (PyStackRef_IsNull(*res)) {
  |  |  ------------------
  |  |  |  |  482|  12.1k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  12.1k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  12.1k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 1, False: 12.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10072|      1|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      1|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10073|      0|                }
  |  |10074|  12.1k|            }
  |  |10075|       |            // _PUSH_NULL_CONDITIONAL
  |  |10076|  12.1k|            {
  |  |10077|  12.1k|                null = &stack_pointer[1];
  |  |10078|  12.1k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10078:21): [True: 5.24k, False: 6.86k]
  |  |  ------------------
  |  |10079|  5.24k|                    null[0] = PyStackRef_NULL;
  |  |10080|  5.24k|                }
  |  |10081|  12.1k|            }
  |  |10082|  12.1k|            stack_pointer += 1 + (oparg & 1);
  |  |10083|  12.1k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  12.1k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10084|  12.1k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  12.1k|    { \
  |  |  |  |  201|  12.1k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  12.1k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  12.1k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  12.1k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  12.1k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  12.1k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  12.1k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  12.1k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 12.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  12.1k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  12.1k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  12.1k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  12.1k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  12.1k|    }
  |  |  ------------------
  |  |10085|  12.1k|        }
  |  |10086|       |
  |  |10087|  18.0M|        TARGET(LOAD_GLOBAL_BUILTIN) {
  |  |  ------------------
  |  |  |  |  132|  18.0M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10088|       |            #if _Py_TAIL_CALL_INTERP
  |  |10089|       |            int opcode = LOAD_GLOBAL_BUILTIN;
  |  |10090|       |            (void)(opcode);
  |  |10091|       |            #endif
  |  |10092|  18.0M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10093|  18.0M|            (void)this_instr;
  |  |10094|  18.0M|            frame->instr_ptr = next_instr;
  |  |10095|  18.0M|            next_instr += 5;
  |  |10096|  18.0M|            INSTRUCTION_STATS(LOAD_GLOBAL_BUILTIN);
  |  |  ------------------
  |  |  |  |   71|  18.0M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10097|  18.0M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_GLOBAL == 4, "incorrect cache size");
  |  |10098|  18.0M|            _PyStackRef res;
  |  |10099|  18.0M|            _PyStackRef *null;
  |  |10100|       |            /* Skip 1 cache entry */
  |  |10101|       |            // _GUARD_GLOBALS_VERSION
  |  |10102|  18.0M|            {
  |  |10103|  18.0M|                uint16_t version = read_u16(&this_instr[2].cache);
  |  |10104|  18.0M|                PyDictObject *dict = (PyDictObject *)GLOBALS();
  |  |  ------------------
  |  |  |  |  326|  18.0M|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |10105|  18.0M|                if (!PyDict_CheckExact(dict)) {
  |  |  ------------------
  |  |  |  |   19|  18.0M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  18.0M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  18.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  18.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10105:21): [True: 0, False: 18.0M]
  |  |  ------------------
  |  |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|  18.0M|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  150|  18.0M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |10111|  18.0M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != version) {
  |  |  ------------------
  |  |  |  |  159|  18.0M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (10111:21): [True: 3.84k, False: 18.0M]
  |  |  ------------------
  |  |10112|  3.84k|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|  3.84k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10113|  3.84k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10113:21): [True: 3.84k, False: 0]
  |  |  ------------------
  |  |10114|  3.84k|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|  3.84k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10115|      0|                }
  |  |10116|  18.0M|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  |  ------------------
  |  |  |  Branch (10116:17): [True: 18.0M, False: 0]
  |  |  ------------------
  |  |10117|  18.0M|            }
  |  |10118|       |            // _LOAD_GLOBAL_BUILTINS
  |  |10119|  18.0M|            {
  |  |10120|  18.0M|                uint16_t version = read_u16(&this_instr[3].cache);
  |  |10121|  18.0M|                uint16_t index = read_u16(&this_instr[4].cache);
  |  |10122|  18.0M|                PyDictObject *dict = (PyDictObject *)BUILTINS();
  |  |  ------------------
  |  |  |  |  327|  18.0M|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |10123|  18.0M|                if (!PyDict_CheckExact(dict)) {
  |  |  ------------------
  |  |  |  |   19|  18.0M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  18.0M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  18.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  18.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10123:21): [True: 0, False: 18.0M]
  |  |  ------------------
  |  |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|  18.0M|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  150|  18.0M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |10129|  18.0M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != version) {
  |  |  ------------------
  |  |  |  |  159|  18.0M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (10129:21): [True: 1.34k, False: 18.0M]
  |  |  ------------------
  |  |10130|  1.34k|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|  1.34k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10131|  1.34k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10131:21): [True: 1.34k, False: 0]
  |  |  ------------------
  |  |10132|  1.34k|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|  1.34k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10133|      0|                }
  |  |10134|  18.0M|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  |  ------------------
  |  |  |  Branch (10134:17): [True: 18.0M, False: 0]
  |  |  ------------------
  |  |10135|  18.0M|                PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
  |  |10136|  18.0M|                PyObject *res_o = FT_ATOMIC_LOAD_PTR_CONSUME(entries[index].me_value);
  |  |  ------------------
  |  |  |  |  151|  18.0M|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  |  |  ------------------
  |  |10137|  18.0M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10137:21): [True: 0, False: 18.0M]
  |  |  ------------------
  |  |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|  18.0M|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|  18.0M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  18.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  18.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10151|  18.0M|                #endif
  |  |10152|  18.0M|                STAT_INC(LOAD_GLOBAL, hit);
  |  |  ------------------
  |  |  |  |   73|  18.0M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10153|  18.0M|            }
  |  |10154|       |            // _PUSH_NULL_CONDITIONAL
  |  |10155|      0|            {
  |  |10156|  18.0M|                null = &stack_pointer[1];
  |  |10157|  18.0M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10157:21): [True: 17.7M, False: 337k]
  |  |  ------------------
  |  |10158|  17.7M|                    null[0] = PyStackRef_NULL;
  |  |10159|  17.7M|                }
  |  |10160|  18.0M|            }
  |  |10161|  18.0M|            stack_pointer[0] = res;
  |  |10162|  18.0M|            stack_pointer += 1 + (oparg & 1);
  |  |10163|  18.0M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  18.0M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10164|  18.0M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  18.0M|    { \
  |  |  |  |  201|  18.0M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  18.0M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  18.0M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  18.0M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  18.0M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  18.0M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  18.0M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  18.0M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 18.0M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  18.0M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  18.0M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  18.0M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  18.0M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  18.0M|    }
  |  |  ------------------
  |  |10165|  18.0M|        }
  |  |10166|       |
  |  |10167|  11.4M|        TARGET(LOAD_GLOBAL_MODULE) {
  |  |  ------------------
  |  |  |  |  132|  11.4M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10168|       |            #if _Py_TAIL_CALL_INTERP
  |  |10169|       |            int opcode = LOAD_GLOBAL_MODULE;
  |  |10170|       |            (void)(opcode);
  |  |10171|       |            #endif
  |  |10172|  11.4M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10173|  11.4M|            (void)this_instr;
  |  |10174|  11.4M|            frame->instr_ptr = next_instr;
  |  |10175|  11.4M|            next_instr += 5;
  |  |10176|  11.4M|            INSTRUCTION_STATS(LOAD_GLOBAL_MODULE);
  |  |  ------------------
  |  |  |  |   71|  11.4M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10177|  11.4M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_GLOBAL == 4, "incorrect cache size");
  |  |10178|  11.4M|            _PyStackRef res;
  |  |10179|  11.4M|            _PyStackRef *null;
  |  |10180|       |            /* Skip 1 cache entry */
  |  |10181|       |            // _NOP
  |  |10182|  11.4M|            {
  |  |10183|  11.4M|            }
  |  |10184|       |            // _LOAD_GLOBAL_MODULE
  |  |10185|  11.4M|            {
  |  |10186|  11.4M|                uint16_t version = read_u16(&this_instr[2].cache);
  |  |10187|  11.4M|                uint16_t index = read_u16(&this_instr[4].cache);
  |  |10188|  11.4M|                PyDictObject *dict = (PyDictObject *)GLOBALS();
  |  |  ------------------
  |  |  |  |  326|  11.4M|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |10189|  11.4M|                if (!PyDict_CheckExact(dict)) {
  |  |  ------------------
  |  |  |  |   19|  11.4M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  11.4M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  11.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  11.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10189:21): [True: 0, False: 11.4M]
  |  |  ------------------
  |  |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|  11.4M|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  150|  11.4M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |10195|  11.4M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != version) {
  |  |  ------------------
  |  |  |  |  159|  11.4M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (10195:21): [True: 4.82k, False: 11.4M]
  |  |  ------------------
  |  |10196|  4.82k|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  299|  4.82k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10197|  4.82k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  |  ------------------
  |  |  |  Branch (10197:21): [True: 4.82k, False: 0]
  |  |  ------------------
  |  |10198|  4.82k|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|  4.82k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10199|      0|                }
  |  |10200|  11.4M|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  |  ------------------
  |  |  |  Branch (10200:17): [True: 11.4M, False: 0]
  |  |  ------------------
  |  |10201|  11.4M|                PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
  |  |10202|  11.4M|                assert(index < DK_SIZE(keys));
  |  |  ------------------
  |  |  |  Branch (10202:17): [True: 11.4M, False: 0]
  |  |  ------------------
  |  |10203|  11.4M|                PyObject *res_o = FT_ATOMIC_LOAD_PTR_CONSUME(entries[index].me_value);
  |  |  ------------------
  |  |  |  |  151|  11.4M|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  |  |  ------------------
  |  |10204|  11.4M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10204:21): [True: 0, False: 11.4M]
  |  |  ------------------
  |  |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|  11.4M|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  611|  11.4M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10218|  11.4M|                #endif
  |  |10219|  11.4M|                STAT_INC(LOAD_GLOBAL, hit);
  |  |  ------------------
  |  |  |  |   73|  11.4M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10220|  11.4M|            }
  |  |10221|       |            // _PUSH_NULL_CONDITIONAL
  |  |10222|      0|            {
  |  |10223|  11.4M|                null = &stack_pointer[1];
  |  |10224|  11.4M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10224:21): [True: 2.90M, False: 8.51M]
  |  |  ------------------
  |  |10225|  2.90M|                    null[0] = PyStackRef_NULL;
  |  |10226|  2.90M|                }
  |  |10227|  11.4M|            }
  |  |10228|  11.4M|            stack_pointer[0] = res;
  |  |10229|  11.4M|            stack_pointer += 1 + (oparg & 1);
  |  |10230|  11.4M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  11.4M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10231|  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|    }
  |  |  ------------------
  |  |10232|  11.4M|        }
  |  |10233|       |
  |  |10234|    431|        TARGET(LOAD_LOCALS) {
  |  |  ------------------
  |  |  |  |  132|    431|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10235|       |            #if _Py_TAIL_CALL_INTERP
  |  |10236|       |            int opcode = LOAD_LOCALS;
  |  |10237|       |            (void)(opcode);
  |  |10238|       |            #endif
  |  |10239|    431|            frame->instr_ptr = next_instr;
  |  |10240|    431|            next_instr += 1;
  |  |10241|    431|            INSTRUCTION_STATS(LOAD_LOCALS);
  |  |  ------------------
  |  |  |  |   71|    431|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10242|    431|            _PyStackRef locals;
  |  |10243|    431|            PyObject *l = LOCALS();
  |  |  ------------------
  |  |  |  |  328|    431|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |10244|    431|            if (l == NULL) {
  |  |  ------------------
  |  |  |  Branch (10244:17): [True: 0, False: 431]
  |  |  ------------------
  |  |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|    431|            locals = PyStackRef_FromPyObjectNew(l);
  |  |  ------------------
  |  |  |  |  611|    431|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    431|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    431|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10253|    431|            stack_pointer[0] = locals;
  |  |10254|    431|            stack_pointer += 1;
  |  |10255|    431|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    431|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10256|    431|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    431|    { \
  |  |  |  |  201|    431|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    431|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    431|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    431|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    431|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    431|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    431|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    431|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 431]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    431|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    431|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    431|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    431|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    431|    }
  |  |  ------------------
  |  |10257|    431|        }
  |  |10258|       |
  |  |10259|  5.20k|        TARGET(LOAD_NAME) {
  |  |  ------------------
  |  |  |  |  132|  5.20k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10260|       |            #if _Py_TAIL_CALL_INTERP
  |  |10261|       |            int opcode = LOAD_NAME;
  |  |10262|       |            (void)(opcode);
  |  |10263|       |            #endif
  |  |10264|  5.20k|            frame->instr_ptr = next_instr;
  |  |10265|  5.20k|            next_instr += 1;
  |  |10266|  5.20k|            INSTRUCTION_STATS(LOAD_NAME);
  |  |  ------------------
  |  |  |  |   71|  5.20k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10267|  5.20k|            _PyStackRef v;
  |  |10268|  5.20k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|  5.20k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  5.20k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  5.20k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10268:30): [True: 5.20k, False: 0]
  |  |  ------------------
  |  |10269|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10270|  5.20k|            _PyFrame_StackPointerValidate(frame);
  |  |10271|  5.20k|            PyObject *v_o = _PyEval_LoadName(tstate, frame, name);
  |  |10272|  5.20k|            _PyFrame_StackPointerInvalidate(frame);
  |  |10273|  5.20k|            if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10273:17): [True: 0, False: 5.20k]
  |  |  ------------------
  |  |10274|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10275|      0|            }
  |  |10276|  5.20k|            if (PyLazyImport_CheckExact(v_o)) {
  |  |  ------------------
  |  |  |  |   15|  5.20k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  5.20k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  5.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 5.20k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |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);
  |  |  ------------------
  |  |  |  |  354|      0|    do { \
  |  |  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  |  |  358|      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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  359|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10306|      0|                _PyFrame_StackPointerInvalidate(frame);
  |  |10307|      0|            }
  |  |10308|  5.20k|            v = PyStackRef_FromPyObjectSteal(v_o);
  |  |10309|  5.20k|            stack_pointer[0] = v;
  |  |10310|  5.20k|            stack_pointer += 1;
  |  |10311|  5.20k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.20k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10312|  5.20k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.20k|    { \
  |  |  |  |  201|  5.20k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.20k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.20k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.20k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  5.20k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.20k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.20k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.20k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.20k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.20k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.20k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.20k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.20k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.20k|    }
  |  |  ------------------
  |  |10313|  5.20k|        }
  |  |10314|       |
  |  |10315|  36.6M|        TARGET(LOAD_SMALL_INT) {
  |  |  ------------------
  |  |  |  |  132|  36.6M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10316|       |            #if _Py_TAIL_CALL_INTERP
  |  |10317|       |            int opcode = LOAD_SMALL_INT;
  |  |10318|       |            (void)(opcode);
  |  |10319|       |            #endif
  |  |10320|  36.6M|            frame->instr_ptr = next_instr;
  |  |10321|  36.6M|            next_instr += 1;
  |  |10322|  36.6M|            INSTRUCTION_STATS(LOAD_SMALL_INT);
  |  |  ------------------
  |  |  |  |   71|  36.6M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10323|  36.6M|            _PyStackRef value;
  |  |10324|  36.6M|            assert(oparg < _PY_NSMALLPOSINTS);
  |  |  ------------------
  |  |  |  Branch (10324:13): [True: 36.6M, False: 0]
  |  |  ------------------
  |  |10325|  36.6M|            PyObject *obj = (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + oparg];
  |  |  ------------------
  |  |  |  |   59|  36.6M|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  36.6M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  36.6M|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           PyObject *obj = (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + oparg];
  |  |  ------------------
  |  |  |  |   98|  36.6M|#define _PY_NSMALLNEGINTS           5
  |  |  ------------------
  |  |10326|  36.6M|            value = PyStackRef_FromPyObjectBorrow(obj);
  |  |10327|  36.6M|            stack_pointer[0] = value;
  |  |10328|  36.6M|            stack_pointer += 1;
  |  |10329|  36.6M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  36.6M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10330|  36.6M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  36.6M|    { \
  |  |  |  |  201|  36.6M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  36.6M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  36.6M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  36.6M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  36.6M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  36.6M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  36.6M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  36.6M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 36.6M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  36.6M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  36.6M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  36.6M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  36.6M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  36.6M|    }
  |  |  ------------------
  |  |10331|  36.6M|        }
  |  |10332|       |
  |  |10333|  4.89k|        TARGET(LOAD_SPECIAL) {
  |  |  ------------------
  |  |  |  |  132|  4.89k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10334|       |            #if _Py_TAIL_CALL_INTERP
  |  |10335|       |            int opcode = LOAD_SPECIAL;
  |  |10336|       |            (void)(opcode);
  |  |10337|       |            #endif
  |  |10338|  4.89k|            frame->instr_ptr = next_instr;
  |  |10339|  4.89k|            next_instr += 1;
  |  |10340|  4.89k|            INSTRUCTION_STATS(LOAD_SPECIAL);
  |  |  ------------------
  |  |  |  |   71|  4.89k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10341|  4.89k|            _PyStackRef self;
  |  |10342|  4.89k|            _PyStackRef *method_and_self;
  |  |10343|       |            // _INSERT_NULL
  |  |10344|  4.89k|            {
  |  |10345|  4.89k|                self = stack_pointer[-1];
  |  |10346|  4.89k|                method_and_self = &stack_pointer[-1];
  |  |10347|  4.89k|                method_and_self[1] = self;
  |  |10348|  4.89k|                method_and_self[0] = PyStackRef_NULL;
  |  |10349|  4.89k|            }
  |  |10350|       |            // _LOAD_SPECIAL
  |  |10351|  4.89k|            {
  |  |10352|  4.89k|                method_and_self = &stack_pointer[-1];
  |  |10353|  4.89k|                PyObject *name = _Py_SpecialMethods[oparg].name;
  |  |10354|  4.89k|                stack_pointer += 1;
  |  |10355|  4.89k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  4.89k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10356|  4.89k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10357|  4.89k|                _PyFrame_StackPointerValidate(frame);
  |  |10358|  4.89k|                int err = _PyObject_LookupSpecialMethod(name, method_and_self);
  |  |10359|  4.89k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10360|  4.89k|                if (err <= 0) {
  |  |  ------------------
  |  |  |  Branch (10360:21): [True: 0, False: 4.89k]
  |  |  ------------------
  |  |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|  4.89k|            }
  |  |10379|  4.89k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.89k|    { \
  |  |  |  |  201|  4.89k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.89k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.89k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.89k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  4.89k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.89k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.89k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.89k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.89k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.89k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.89k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.89k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.89k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.89k|    }
  |  |  ------------------
  |  |10380|  4.89k|        }
  |  |10381|       |
  |  |10382|     28|        TARGET(LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  132|     28|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10383|       |            #if _Py_TAIL_CALL_INTERP
  |  |10384|       |            int opcode = LOAD_SUPER_ATTR;
  |  |10385|       |            (void)(opcode);
  |  |10386|       |            #endif
  |  |10387|     28|            frame->instr_ptr = next_instr;
  |  |10388|     28|            next_instr += 2;
  |  |10389|     28|            INSTRUCTION_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |   71|     28|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10390|     28|            PREDICTED_LOAD_SUPER_ATTR:;
  |  |10391|     28|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |10392|     28|            (void)this_instr;
  |  |10393|     28|            opcode = LOAD_SUPER_ATTR;
  |  |  ------------------
  |  |  |  |  105|     28|#define LOAD_SUPER_ATTR                         92
  |  |  ------------------
  |  |10394|     28|            _PyStackRef global_super_st;
  |  |10395|     28|            _PyStackRef class_st;
  |  |10396|     28|            _PyStackRef self_st;
  |  |10397|     28|            _PyStackRef attr;
  |  |10398|     28|            _PyStackRef *null;
  |  |10399|       |            // _SPECIALIZE_LOAD_SUPER_ATTR
  |  |10400|     28|            {
  |  |10401|     28|                class_st = stack_pointer[-2];
  |  |10402|     28|                global_super_st = stack_pointer[-3];
  |  |10403|     28|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |10404|     28|                (void)counter;
  |  |10405|     28|                #if ENABLE_SPECIALIZATION
  |  |10406|     28|                int load_method = oparg & 1;
  |  |10407|     28|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|     28|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 13, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10408|     13|                    next_instr = this_instr;
  |  |10409|     13|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10410|     13|                    _PyFrame_StackPointerValidate(frame);
  |  |10411|     13|                    _Py_Specialize_LoadSuperAttr(global_super_st, class_st, next_instr, load_method);
  |  |10412|     13|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10413|     13|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     13|    { \
  |  |  |  |  217|     13|        opcode = next_instr->op.code; \
  |  |  |  |  218|     13|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     13|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     13|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     13|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     13|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     13|    }
  |  |  ------------------
  |  |10414|     13|                }
  |  |10415|     28|                OPCODE_DEFERRED_INC(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |   90|     28|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |10416|     28|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|     28|    do { \
  |  |  |  |  378|     28|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|     28|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 28]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10417|     28|                #endif  /* ENABLE_SPECIALIZATION */
  |  |10418|     28|            }
  |  |10419|       |            // _LOAD_SUPER_ATTR
  |  |10420|     28|            {
  |  |10421|     28|                self_st = stack_pointer[-1];
  |  |10422|     28|                PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  |10423|     28|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10424|     28|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  |10425|     28|                if (opcode == INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  236|     28|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  |  |  Branch (10425:21): [True: 0, False: 28]
  |  |  ------------------
  |  |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|     28|                PyObject *super;
  |  |10461|     28|                {
  |  |10462|     28|                    PyObject *stack[] = {class, self};
  |  |10463|     28|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10464|     28|                    _PyFrame_StackPointerValidate(frame);
  |  |10465|     28|                    super = PyObject_Vectorcall(global_super, stack, oparg & 2, NULL);
  |  |10466|     28|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10467|     28|                }
  |  |10468|     28|                if (opcode == INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  236|     28|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  |  |  Branch (10468:21): [True: 0, False: 28]
  |  |  ------------------
  |  |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|     28|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10493:17): [True: 15, False: 13]
  |  |  ------------------
  |  |10494|     15|                _PyFrame_StackPointerValidate(frame);
  |  |10495|     15|                _PyStackRef tmp = self_st;
  |  |10496|     15|                self_st = PyStackRef_NULL;
  |  |10497|     15|                stack_pointer[-1] = self_st;
  |  |10498|     15|                PyStackRef_CLOSE(tmp);
  |  |10499|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  |10500|     15|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10500:17): [True: 15, False: 0]
  |  |  ------------------
  |  |10501|     15|                _PyFrame_StackPointerValidate(frame);
  |  |10502|     15|                tmp = class_st;
  |  |10503|     15|                class_st = PyStackRef_NULL;
  |  |10504|     15|                stack_pointer[-2] = class_st;
  |  |10505|     15|                PyStackRef_CLOSE(tmp);
  |  |10506|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  |10507|     15|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10507:17): [True: 15, False: 0]
  |  |  ------------------
  |  |10508|     15|                _PyFrame_StackPointerValidate(frame);
  |  |10509|     15|                tmp = global_super_st;
  |  |10510|     15|                global_super_st = PyStackRef_NULL;
  |  |10511|     15|                stack_pointer[-3] = global_super_st;
  |  |10512|     15|                PyStackRef_CLOSE(tmp);
  |  |10513|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  |10514|     15|                stack_pointer += -3;
  |  |10515|     15|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10516|     15|                if (super == NULL) {
  |  |  ------------------
  |  |  |  Branch (10516:21): [True: 0, False: 15]
  |  |  ------------------
  |  |10517|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10518|      0|                }
  |  |10519|     15|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  236|     15|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (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 (10519:34): [True: 15, False: 0]
  |  |  ------------------
  |  |10520|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10521|     15|                _PyFrame_StackPointerValidate(frame);
  |  |10522|     15|                PyObject *attr_o = PyObject_GetAttr(super, name);
  |  |10523|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  |10524|     15|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10524:17): [True: 15, False: 0]
  |  |  ------------------
  |  |10525|     15|                _PyFrame_StackPointerValidate(frame);
  |  |10526|     15|                Py_DECREF(super);
  |  |  ------------------
  |  |  |  |   80|     15|    do { \
  |  |  |  |   81|     15|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     15|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     15|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 15]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|     15|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     15|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|     15|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 15, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|     15|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|     15|    do { \
  |  |  |  |  |  |  113|     15|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|     15|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 15]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|     15|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 15]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|     15|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|     15|            (*dealloc)(op); \
  |  |  |  |   91|     15|        } \
  |  |  |  |   92|     15|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10527|     15|                _PyFrame_StackPointerInvalidate(frame);
  |  |10528|     15|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10528:21): [True: 0, False: 15]
  |  |  ------------------
  |  |10529|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10530|      0|                }
  |  |10531|     15|                attr = PyStackRef_FromPyObjectSteal(attr_o);
  |  |10532|     15|            }
  |  |10533|       |            // _PUSH_NULL_CONDITIONAL
  |  |10534|      0|            {
  |  |10535|     15|                null = &stack_pointer[1];
  |  |10536|     15|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10536:21): [True: 9, False: 6]
  |  |  ------------------
  |  |10537|      9|                    null[0] = PyStackRef_NULL;
  |  |10538|      9|                }
  |  |10539|     15|            }
  |  |10540|     15|            stack_pointer[0] = attr;
  |  |10541|     15|            stack_pointer += 1 + (oparg & 1);
  |  |10542|     15|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     15|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10543|     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|    }
  |  |  ------------------
  |  |10544|     15|        }
  |  |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|  1.03k|        TARGET(LOAD_SUPER_ATTR_METHOD) {
  |  |  ------------------
  |  |  |  |  132|  1.03k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10619|       |            #if _Py_TAIL_CALL_INTERP
  |  |10620|       |            int opcode = LOAD_SUPER_ATTR_METHOD;
  |  |10621|       |            (void)(opcode);
  |  |10622|       |            #endif
  |  |10623|  1.03k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10624|  1.03k|            (void)this_instr;
  |  |10625|  1.03k|            frame->instr_ptr = next_instr;
  |  |10626|  1.03k|            next_instr += 2;
  |  |10627|  1.03k|            INSTRUCTION_STATS(LOAD_SUPER_ATTR_METHOD);
  |  |  ------------------
  |  |  |  |   71|  1.03k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10628|  1.03k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_SUPER_ATTR == 1, "incorrect cache size");
  |  |10629|  1.03k|            _PyStackRef global_super_st;
  |  |10630|  1.03k|            _PyStackRef class_st;
  |  |10631|  1.03k|            _PyStackRef self_st;
  |  |10632|  1.03k|            _PyStackRef attr;
  |  |10633|  1.03k|            _PyStackRef self_or_null;
  |  |10634|       |            /* Skip 1 cache entry */
  |  |10635|       |            // _GUARD_LOAD_SUPER_ATTR_METHOD
  |  |10636|  1.03k|            {
  |  |10637|  1.03k|                class_st = stack_pointer[-2];
  |  |10638|  1.03k|                global_super_st = stack_pointer[-3];
  |  |10639|  1.03k|                PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  |10640|  1.03k|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10641|  1.03k|                assert(oparg & 1);
  |  |  ------------------
  |  |  |  Branch (10641:17): [True: 1.03k, False: 0]
  |  |  ------------------
  |  |10642|  1.03k|                if (global_super != (PyObject *)&PySuper_Type) {
  |  |  ------------------
  |  |  |  Branch (10642:21): [True: 0, False: 1.03k]
  |  |  ------------------
  |  |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|  1.03k|                if (!PyType_Check(class)) {
  |  |  ------------------
  |  |  |  |  766|  1.03k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10647:21): [True: 0, False: 1.03k]
  |  |  ------------------
  |  |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|  1.03k|            }
  |  |10653|       |            // _LOAD_SUPER_ATTR_METHOD
  |  |10654|  1.03k|            {
  |  |10655|  1.03k|                self_st = stack_pointer[-1];
  |  |10656|  1.03k|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10657|  1.03k|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  |10658|  1.03k|                STAT_INC(LOAD_SUPER_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  1.03k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10659|  1.03k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  236|  1.03k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  1.03k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  1.03k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10659:34): [True: 1.03k, False: 0]
  |  |  ------------------
  |  |10660|      0|                PyTypeObject *cls = (PyTypeObject *)class;
  |  |10661|  1.03k|                int method_found = 0;
  |  |10662|  1.03k|                PyObject *attr_o;
  |  |10663|  1.03k|                {
  |  |10664|  1.03k|                    int *method_found_ptr = &method_found;
  |  |10665|  1.03k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10666|  1.03k|                    _PyFrame_StackPointerValidate(frame);
  |  |10667|  1.03k|                    attr_o = _PySuper_Lookup(cls, self, name,
  |  |10668|  1.03k|                        Py_TYPE(self)->tp_getattro == PyObject_GenericGetAttr ? method_found_ptr : 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 (10668:25): [True: 455, False: 582]
  |  |  ------------------
  |  |10669|  1.03k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10670|  1.03k|                }
  |  |10671|  1.03k|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10671:21): [True: 0, False: 1.03k]
  |  |  ------------------
  |  |10672|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10673|      0|                }
  |  |10674|  1.03k|                if (method_found) {
  |  |  ------------------
  |  |  |  Branch (10674:21): [True: 455, False: 582]
  |  |  ------------------
  |  |10675|    455|                    self_or_null = self_st;
  |  |10676|    582|                } else {
  |  |10677|    582|                    stack_pointer += -1;
  |  |10678|    582|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    582|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10679|    582|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10680|    582|                    _PyFrame_StackPointerValidate(frame);
  |  |10681|    582|                    PyStackRef_CLOSE(self_st);
  |  |10682|    582|                    _PyFrame_StackPointerInvalidate(frame);
  |  |10683|    582|                    self_or_null = PyStackRef_NULL;
  |  |10684|    582|                    stack_pointer += 1;
  |  |10685|    582|                }
  |  |10686|  1.03k|                stack_pointer += -1;
  |  |10687|  1.03k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.03k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10688|  1.03k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10689|  1.03k|                _PyFrame_StackPointerValidate(frame);
  |  |10690|  1.03k|                _PyStackRef tmp = global_super_st;
  |  |10691|  1.03k|                global_super_st = self_or_null;
  |  |10692|  1.03k|                stack_pointer[-2] = global_super_st;
  |  |10693|  1.03k|                PyStackRef_CLOSE(tmp);
  |  |10694|  1.03k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10695|  1.03k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10695:17): [True: 1.03k, False: 0]
  |  |  ------------------
  |  |10696|  1.03k|                _PyFrame_StackPointerValidate(frame);
  |  |10697|  1.03k|                tmp = class_st;
  |  |10698|  1.03k|                class_st = PyStackRef_NULL;
  |  |10699|  1.03k|                stack_pointer[-1] = class_st;
  |  |10700|  1.03k|                PyStackRef_CLOSE(tmp);
  |  |10701|  1.03k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10702|  1.03k|                stack_pointer += -2;
  |  |10703|  1.03k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.03k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10704|  1.03k|                attr = PyStackRef_FromPyObjectSteal(attr_o);
  |  |10705|  1.03k|            }
  |  |10706|      0|            stack_pointer[0] = attr;
  |  |10707|  1.03k|            stack_pointer[1] = self_or_null;
  |  |10708|  1.03k|            stack_pointer += 2;
  |  |10709|  1.03k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.03k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10710|  1.03k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.03k|    { \
  |  |  |  |  201|  1.03k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.03k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.03k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.03k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.03k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.03k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.03k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.03k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.03k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.03k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.03k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.03k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.03k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.03k|    }
  |  |  ------------------
  |  |10711|  1.03k|        }
  |  |10712|       |
  |  |10713|  2.51k|        TARGET(MAKE_CELL) {
  |  |  ------------------
  |  |  |  |  132|  2.51k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10714|       |            #if _Py_TAIL_CALL_INTERP
  |  |10715|       |            int opcode = MAKE_CELL;
  |  |10716|       |            (void)(opcode);
  |  |10717|       |            #endif
  |  |10718|  2.51k|            frame->instr_ptr = next_instr;
  |  |10719|  2.51k|            next_instr += 1;
  |  |10720|  2.51k|            INSTRUCTION_STATS(MAKE_CELL);
  |  |  ------------------
  |  |  |  |   71|  2.51k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10721|  2.51k|            PyObject *initial = PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|  2.51k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |10722|  2.51k|            PyObject *cell = PyCell_New(initial);
  |  |10723|  2.51k|            if (cell == NULL) {
  |  |  ------------------
  |  |  |  Branch (10723:17): [True: 0, False: 2.51k]
  |  |  ------------------
  |  |10724|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10725|      0|            }
  |  |10726|  2.51k|            _PyStackRef tmp = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|  2.51k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |10727|  2.51k|            GETLOCAL(oparg) = PyStackRef_FromPyObjectSteal(cell);
  |  |  ------------------
  |  |  |  |  285|  2.51k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |10728|  2.51k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10729|  2.51k|            _PyFrame_StackPointerValidate(frame);
  |  |10730|  2.51k|            PyStackRef_XCLOSE(tmp);
  |  |10731|  2.51k|            _PyFrame_StackPointerInvalidate(frame);
  |  |10732|  2.51k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.51k|    { \
  |  |  |  |  201|  2.51k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.51k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.51k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.51k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.51k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.51k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.51k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.51k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.51k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.51k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.51k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.51k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.51k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.51k|    }
  |  |  ------------------
  |  |10733|  2.51k|        }
  |  |10734|       |
  |  |10735|  5.24k|        TARGET(MAKE_FUNCTION) {
  |  |  ------------------
  |  |  |  |  132|  5.24k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10736|       |            #if _Py_TAIL_CALL_INTERP
  |  |10737|       |            int opcode = MAKE_FUNCTION;
  |  |10738|       |            (void)(opcode);
  |  |10739|       |            #endif
  |  |10740|  5.24k|            frame->instr_ptr = next_instr;
  |  |10741|  5.24k|            next_instr += 1;
  |  |10742|  5.24k|            INSTRUCTION_STATS(MAKE_FUNCTION);
  |  |  ------------------
  |  |  |  |   71|  5.24k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10743|  5.24k|            _PyStackRef codeobj_st;
  |  |10744|  5.24k|            _PyStackRef func;
  |  |10745|  5.24k|            _PyStackRef co;
  |  |10746|  5.24k|            _PyStackRef value;
  |  |10747|       |            // _MAKE_FUNCTION
  |  |10748|  5.24k|            {
  |  |10749|  5.24k|                codeobj_st = stack_pointer[-1];
  |  |10750|  5.24k|                PyObject *codeobj = PyStackRef_AsPyObjectBorrow(codeobj_st);
  |  |10751|  5.24k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10752|  5.24k|                _PyFrame_StackPointerValidate(frame);
  |  |10753|  5.24k|                PyFunctionObject *func_obj = (PyFunctionObject *)
  |  |10754|  5.24k|                PyFunction_New(codeobj, GLOBALS());
  |  |  ------------------
  |  |  |  |  326|  5.24k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |10755|  5.24k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10756|  5.24k|                if (func_obj == NULL) {
  |  |  ------------------
  |  |  |  Branch (10756:21): [True: 0, False: 5.24k]
  |  |  ------------------
  |  |10757|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10758|      0|                }
  |  |10759|  5.24k|                co = codeobj_st;
  |  |10760|  5.24k|                _PyFunction_SetVersion(
  |  |10761|  5.24k|                                   func_obj, ((PyCodeObject *)codeobj)->co_version);
  |  |10762|  5.24k|                func = PyStackRef_FromPyObjectSteal((PyObject *)func_obj);
  |  |10763|  5.24k|            }
  |  |10764|       |            // _POP_TOP
  |  |10765|      0|            {
  |  |10766|  5.24k|                value = co;
  |  |10767|  5.24k|                stack_pointer[-1] = func;
  |  |10768|  5.24k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (10768:17): [True: 5.24k, False: 0]
  |  |  ------------------
  |  |10769|  5.24k|                _PyFrame_StackPointerValidate(frame);
  |  |10770|  5.24k|                PyStackRef_XCLOSE(value);
  |  |10771|  5.24k|                _PyFrame_StackPointerInvalidate(frame);
  |  |10772|  5.24k|            }
  |  |10773|  5.24k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.24k|    { \
  |  |  |  |  201|  5.24k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.24k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.24k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.24k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  5.24k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.24k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.24k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.24k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.24k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.24k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.24k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.24k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.24k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.24k|    }
  |  |  ------------------
  |  |10774|  5.24k|        }
  |  |10775|       |
  |  |10776|  10.9k|        TARGET(MAP_ADD) {
  |  |  ------------------
  |  |  |  |  132|  10.9k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10777|       |            #if _Py_TAIL_CALL_INTERP
  |  |10778|       |            int opcode = MAP_ADD;
  |  |10779|       |            (void)(opcode);
  |  |10780|       |            #endif
  |  |10781|  10.9k|            frame->instr_ptr = next_instr;
  |  |10782|  10.9k|            next_instr += 1;
  |  |10783|  10.9k|            INSTRUCTION_STATS(MAP_ADD);
  |  |  ------------------
  |  |  |  |   71|  10.9k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10784|  10.9k|            _PyStackRef dict_st;
  |  |10785|  10.9k|            _PyStackRef key;
  |  |10786|  10.9k|            _PyStackRef value;
  |  |10787|  10.9k|            value = stack_pointer[-1];
  |  |10788|  10.9k|            key = stack_pointer[-2];
  |  |10789|  10.9k|            dict_st = stack_pointer[-3 - (oparg - 1)];
  |  |10790|  10.9k|            PyObject *dict = PyStackRef_AsPyObjectBorrow(dict_st);
  |  |10791|  10.9k|            assert(PyDict_CheckExact(dict));
  |  |  ------------------
  |  |  |  Branch (10791:13): [True: 10.9k, False: 0]
  |  |  ------------------
  |  |10792|  10.9k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10793|  10.9k|            _PyFrame_StackPointerValidate(frame);
  |  |10794|  10.9k|            int err = _PyDict_SetItem_Take2(
  |  |10795|  10.9k|                (PyDictObject *)dict,
  |  |10796|  10.9k|                PyStackRef_AsPyObjectSteal(key),
  |  |10797|  10.9k|                PyStackRef_AsPyObjectSteal(value)
  |  |10798|  10.9k|            );
  |  |10799|  10.9k|            _PyFrame_StackPointerInvalidate(frame);
  |  |10800|  10.9k|            if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (10800:17): [True: 0, False: 10.9k]
  |  |  ------------------
  |  |10801|      0|                JUMP_TO_LABEL(pop_2_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10802|      0|            }
  |  |10803|  10.9k|            stack_pointer += -2;
  |  |10804|  10.9k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  10.9k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10805|  10.9k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  10.9k|    { \
  |  |  |  |  201|  10.9k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  10.9k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  10.9k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  10.9k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  10.9k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  10.9k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  10.9k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  10.9k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 10.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  10.9k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  10.9k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  10.9k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  10.9k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  10.9k|    }
  |  |  ------------------
  |  |10806|  10.9k|        }
  |  |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|  14.1M|        TARGET(NOP) {
  |  |  ------------------
  |  |  |  |  132|  14.1M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10952|       |            #if _Py_TAIL_CALL_INTERP
  |  |10953|       |            int opcode = NOP;
  |  |10954|       |            (void)(opcode);
  |  |10955|       |            #endif
  |  |10956|  14.1M|            frame->instr_ptr = next_instr;
  |  |10957|  14.1M|            next_instr += 1;
  |  |10958|  14.1M|            INSTRUCTION_STATS(NOP);
  |  |  ------------------
  |  |  |  |   71|  14.1M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10959|  14.1M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  14.1M|    { \
  |  |  |  |  201|  14.1M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  14.1M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  14.1M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  14.1M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  14.1M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  14.1M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  14.1M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  14.1M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 14.1M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  14.1M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  14.1M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  14.1M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  14.1M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  14.1M|    }
  |  |  ------------------
  |  |10960|  14.1M|        }
  |  |10961|       |
  |  |10962|  14.1M|        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|  39.0k|        TARGET(POP_EXCEPT) {
  |  |  ------------------
  |  |  |  |  132|  39.0k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10974|       |            #if _Py_TAIL_CALL_INTERP
  |  |10975|       |            int opcode = POP_EXCEPT;
  |  |10976|       |            (void)(opcode);
  |  |10977|       |            #endif
  |  |10978|  39.0k|            frame->instr_ptr = next_instr;
  |  |10979|  39.0k|            next_instr += 1;
  |  |10980|  39.0k|            INSTRUCTION_STATS(POP_EXCEPT);
  |  |  ------------------
  |  |  |  |   71|  39.0k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10981|  39.0k|            _PyStackRef exc_value;
  |  |10982|  39.0k|            exc_value = stack_pointer[-1];
  |  |10983|  39.0k|            _PyErr_StackItem *exc_info = tstate->exc_info;
  |  |10984|  39.0k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10985|  39.0k|            _PyFrame_StackPointerValidate(frame);
  |  |10986|  39.0k|            Py_XSETREF(exc_info->exc_value,
  |  |  ------------------
  |  |  |  |  376|  39.0k|    do { \
  |  |  |  |  377|  39.0k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|  39.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  378|  39.0k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|  39.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  379|  78.0k|        *_tmp_dst_ptr = (src); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:26): [True: 38.9k, False: 43]
  |  |  |  |  ------------------
  |  |  |  |  380|  39.0k|        Py_XDECREF(_tmp_old_dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|  39.0k|    do { \
  |  |  |  |  |  |   70|  39.0k|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  39.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  39.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   71|  39.0k|        if (xop != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (71:13): [True: 39.0k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   72|  39.0k|            Py_DECREF(xop); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|  39.0k|    do { \
  |  |  |  |  |  |  |  |   81|  39.0k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|  39.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|  39.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|  39.0k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  137|  39.0k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  171|  39.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   37|  39.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 39.0k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |  |  |   86|  39.0k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   20|  39.0k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   87|  39.0k|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (87:13): [True: 37.1k, False: 1.84k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|  37.1k|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  112|  37.1k|    do { \
  |  |  |  |  |  |  |  |  |  |  113|  37.1k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  |  |  114|  37.1k|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 37.1k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  |  |  118|  37.1k|    } while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 37.1k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   89|  37.1k|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  213|  37.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  171|  37.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   37|  37.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   90|  37.1k|            (*dealloc)(op); \
  |  |  |  |  |  |  |  |   91|  37.1k|        } \
  |  |  |  |  |  |  |  |   92|  39.0k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 39.0k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   73|  39.0k|        } \
  |  |  |  |  |  |   74|  39.0k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (74:14): [Folded, False: 39.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  381|  39.0k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (381:14): [Folded, False: 39.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10987|  39.0k|                       PyStackRef_IsNone(exc_value)
  |  |10988|  39.0k|                       ? NULL : PyStackRef_AsPyObjectSteal(exc_value));
  |  |10989|  39.0k|            _PyFrame_StackPointerInvalidate(frame);
  |  |10990|  39.0k|            stack_pointer += -1;
  |  |10991|  39.0k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  39.0k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10992|  39.0k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  39.0k|    { \
  |  |  |  |  201|  39.0k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  39.0k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  39.0k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  39.0k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  39.0k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  39.0k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  39.0k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  39.0k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 39.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  39.0k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  39.0k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  39.0k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  39.0k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  39.0k|    }
  |  |  ------------------
  |  |10993|  39.0k|        }
  |  |10994|       |
  |  |10995|   506k|        TARGET(POP_ITER) {
  |  |  ------------------
  |  |  |  |  132|   506k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10996|       |            #if _Py_TAIL_CALL_INTERP
  |  |10997|       |            int opcode = POP_ITER;
  |  |10998|       |            (void)(opcode);
  |  |10999|       |            #endif
  |  |11000|   506k|            frame->instr_ptr = next_instr;
  |  |11001|   506k|            next_instr += 1;
  |  |11002|   506k|            INSTRUCTION_STATS(POP_ITER);
  |  |  ------------------
  |  |  |  |   71|   506k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11003|   506k|            _PyStackRef iter;
  |  |11004|   506k|            _PyStackRef index_or_null;
  |  |11005|   506k|            index_or_null = stack_pointer[-1];
  |  |11006|   506k|            iter = stack_pointer[-2];
  |  |11007|   506k|            (void)index_or_null;
  |  |11008|   506k|            stack_pointer += -2;
  |  |11009|   506k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   506k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11010|   506k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11011|   506k|            _PyFrame_StackPointerValidate(frame);
  |  |11012|   506k|            PyStackRef_CLOSE(iter);
  |  |11013|   506k|            _PyFrame_StackPointerInvalidate(frame);
  |  |11014|   506k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   506k|    { \
  |  |  |  |  201|   506k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   506k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   506k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   506k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   506k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   506k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   506k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   506k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 506k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   506k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   506k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   506k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   506k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   506k|    }
  |  |  ------------------
  |  |11015|   506k|        }
  |  |11016|       |
  |  |11017|  31.2M|        TARGET(POP_JUMP_IF_FALSE) {
  |  |  ------------------
  |  |  |  |  132|  31.2M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11018|       |            #if _Py_TAIL_CALL_INTERP
  |  |11019|       |            int opcode = POP_JUMP_IF_FALSE;
  |  |11020|       |            (void)(opcode);
  |  |11021|       |            #endif
  |  |11022|  31.2M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11023|  31.2M|            (void)this_instr;
  |  |11024|  31.2M|            frame->instr_ptr = next_instr;
  |  |11025|  31.2M|            next_instr += 2;
  |  |11026|  31.2M|            INSTRUCTION_STATS(POP_JUMP_IF_FALSE);
  |  |  ------------------
  |  |  |  |   71|  31.2M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11027|  31.2M|            _PyStackRef cond;
  |  |11028|       |            /* Skip 1 cache entry */
  |  |11029|  31.2M|            cond = stack_pointer[-1];
  |  |11030|  31.2M|            assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (11030:13): [True: 31.2M, False: 0]
  |  |  ------------------
  |  |11031|  31.2M|            int flag = PyStackRef_IsFalse(cond);
  |  |  ------------------
  |  |  |  |  494|  31.2M|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  31.2M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11032|  31.2M|            RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  394|  31.2M|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  31.2M|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|  31.2M|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |11033|  31.2M|            JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  261|  62.5M|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (261:41): [True: 28.0M, False: 3.22M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11034|  31.2M|            stack_pointer += -1;
  |  |11035|  31.2M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  31.2M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11036|  31.2M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  31.2M|    { \
  |  |  |  |  201|  31.2M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  31.2M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  31.2M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  31.2M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  31.2M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  31.2M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  31.2M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  31.2M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 31.2M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  31.2M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  31.2M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  31.2M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  31.2M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  31.2M|    }
  |  |  ------------------
  |  |11037|  31.2M|        }
  |  |11038|       |
  |  |11039|   690k|        TARGET(POP_JUMP_IF_NONE) {
  |  |  ------------------
  |  |  |  |  132|   690k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11040|       |            #if _Py_TAIL_CALL_INTERP
  |  |11041|       |            int opcode = POP_JUMP_IF_NONE;
  |  |11042|       |            (void)(opcode);
  |  |11043|       |            #endif
  |  |11044|   690k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11045|   690k|            (void)this_instr;
  |  |11046|   690k|            frame->instr_ptr = next_instr;
  |  |11047|   690k|            next_instr += 2;
  |  |11048|   690k|            INSTRUCTION_STATS(POP_JUMP_IF_NONE);
  |  |  ------------------
  |  |  |  |   71|   690k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11049|   690k|            _PyStackRef value;
  |  |11050|   690k|            _PyStackRef b;
  |  |11051|   690k|            _PyStackRef cond;
  |  |11052|       |            /* Skip 1 cache entry */
  |  |11053|       |            // _IS_NONE
  |  |11054|   690k|            {
  |  |11055|   690k|                value = stack_pointer[-1];
  |  |11056|   690k|                if (PyStackRef_IsNone(value)) {
  |  |  ------------------
  |  |  |  |  495|   690k|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   690k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (495:32): [True: 686k, False: 4.14k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11057|   686k|                    b = PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|   686k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   686k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11058|   686k|                }
  |  |11059|  4.14k|                else {
  |  |11060|  4.14k|                    b = PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  4.14k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  4.14k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11061|  4.14k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11062|  4.14k|                    _PyFrame_StackPointerValidate(frame);
  |  |11063|  4.14k|                    _PyStackRef tmp = value;
  |  |11064|  4.14k|                    value = b;
  |  |11065|  4.14k|                    stack_pointer[-1] = value;
  |  |11066|  4.14k|                    PyStackRef_CLOSE(tmp);
  |  |11067|  4.14k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11068|  4.14k|                }
  |  |11069|   690k|            }
  |  |11070|       |            // _POP_JUMP_IF_TRUE
  |  |11071|   690k|            {
  |  |11072|   690k|                cond = b;
  |  |11073|   690k|                assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (11073:17): [True: 690k, False: 0]
  |  |  ------------------
  |  |11074|   690k|                int flag = PyStackRef_IsTrue(cond);
  |  |  ------------------
  |  |  |  |  493|   690k|#define PyStackRef_IsTrue(REF) ((REF).bits == (((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   690k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11075|   690k|                RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  394|   690k|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   690k|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|   690k|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |11076|   690k|                JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  261|  1.38M|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (261:41): [True: 686k, False: 4.14k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11077|   690k|            }
  |  |11078|      0|            stack_pointer += -1;
  |  |11079|   690k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   690k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11080|   690k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   690k|    { \
  |  |  |  |  201|   690k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   690k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   690k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   690k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   690k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   690k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   690k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   690k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 690k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   690k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   690k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   690k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   690k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   690k|    }
  |  |  ------------------
  |  |11081|   690k|        }
  |  |11082|       |
  |  |11083|   364k|        TARGET(POP_JUMP_IF_NOT_NONE) {
  |  |  ------------------
  |  |  |  |  132|   364k|#  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|   364k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11089|   364k|            (void)this_instr;
  |  |11090|   364k|            frame->instr_ptr = next_instr;
  |  |11091|   364k|            next_instr += 2;
  |  |11092|   364k|            INSTRUCTION_STATS(POP_JUMP_IF_NOT_NONE);
  |  |  ------------------
  |  |  |  |   71|   364k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11093|   364k|            _PyStackRef value;
  |  |11094|   364k|            _PyStackRef b;
  |  |11095|   364k|            _PyStackRef cond;
  |  |11096|       |            /* Skip 1 cache entry */
  |  |11097|       |            // _IS_NONE
  |  |11098|   364k|            {
  |  |11099|   364k|                value = stack_pointer[-1];
  |  |11100|   364k|                if (PyStackRef_IsNone(value)) {
  |  |  ------------------
  |  |  |  |  495|   364k|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   364k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (495:32): [True: 100k, False: 264k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11101|   100k|                    b = PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|   100k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   100k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11102|   100k|                }
  |  |11103|   264k|                else {
  |  |11104|   264k|                    b = PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|   264k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   264k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11105|   264k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11106|   264k|                    _PyFrame_StackPointerValidate(frame);
  |  |11107|   264k|                    _PyStackRef tmp = value;
  |  |11108|   264k|                    value = b;
  |  |11109|   264k|                    stack_pointer[-1] = value;
  |  |11110|   264k|                    PyStackRef_CLOSE(tmp);
  |  |11111|   264k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11112|   264k|                }
  |  |11113|   364k|            }
  |  |11114|       |            // _POP_JUMP_IF_FALSE
  |  |11115|   364k|            {
  |  |11116|   364k|                cond = b;
  |  |11117|   364k|                assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (11117:17): [True: 364k, False: 0]
  |  |  ------------------
  |  |11118|   364k|                int flag = PyStackRef_IsFalse(cond);
  |  |  ------------------
  |  |  |  |  494|   364k|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   364k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11119|   364k|                RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  394|   364k|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   364k|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|   364k|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |11120|   364k|                JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  261|   729k|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (261:41): [True: 264k, False: 100k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11121|   364k|            }
  |  |11122|      0|            stack_pointer += -1;
  |  |11123|   364k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   364k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11124|   364k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   364k|    { \
  |  |  |  |  201|   364k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   364k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   364k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   364k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   364k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   364k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   364k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   364k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 364k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   364k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   364k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   364k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   364k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   364k|    }
  |  |  ------------------
  |  |11125|   364k|        }
  |  |11126|       |
  |  |11127|  27.1M|        TARGET(POP_JUMP_IF_TRUE) {
  |  |  ------------------
  |  |  |  |  132|  27.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|  27.1M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11133|  27.1M|            (void)this_instr;
  |  |11134|  27.1M|            frame->instr_ptr = next_instr;
  |  |11135|  27.1M|            next_instr += 2;
  |  |11136|  27.1M|            INSTRUCTION_STATS(POP_JUMP_IF_TRUE);
  |  |  ------------------
  |  |  |  |   71|  27.1M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11137|  27.1M|            _PyStackRef cond;
  |  |11138|       |            /* Skip 1 cache entry */
  |  |11139|  27.1M|            cond = stack_pointer[-1];
  |  |11140|  27.1M|            assert(PyStackRef_BoolCheck(cond));
  |  |  ------------------
  |  |  |  Branch (11140:13): [True: 27.1M, False: 0]
  |  |  ------------------
  |  |11141|  27.1M|            int flag = PyStackRef_IsTrue(cond);
  |  |  ------------------
  |  |  |  |  493|  27.1M|#define PyStackRef_IsTrue(REF) ((REF).bits == (((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  27.1M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11142|  27.1M|            RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  394|  27.1M|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  27.1M|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  395|  27.1M|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |11143|  27.1M|            JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  261|  54.2M|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (261:41): [True: 14.2M, False: 12.8M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11144|  27.1M|            stack_pointer += -1;
  |  |11145|  27.1M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  27.1M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11146|  27.1M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  27.1M|    { \
  |  |  |  |  201|  27.1M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  27.1M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  27.1M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  27.1M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  27.1M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  27.1M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  27.1M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  27.1M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 27.1M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  27.1M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  27.1M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  27.1M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  27.1M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  27.1M|    }
  |  |  ------------------
  |  |11147|  27.1M|        }
  |  |11148|       |
  |  |11149|  1.78M|        TARGET(POP_TOP) {
  |  |  ------------------
  |  |  |  |  132|  1.78M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11150|       |            #if _Py_TAIL_CALL_INTERP
  |  |11151|       |            int opcode = POP_TOP;
  |  |11152|       |            (void)(opcode);
  |  |11153|       |            #endif
  |  |11154|  1.78M|            frame->instr_ptr = next_instr;
  |  |11155|  1.78M|            next_instr += 1;
  |  |11156|  1.78M|            INSTRUCTION_STATS(POP_TOP);
  |  |  ------------------
  |  |  |  |   71|  1.78M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11157|  1.78M|            _PyStackRef value;
  |  |11158|  1.78M|            value = stack_pointer[-1];
  |  |11159|  1.78M|            stack_pointer += -1;
  |  |11160|  1.78M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.78M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11161|  1.78M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11162|  1.78M|            _PyFrame_StackPointerValidate(frame);
  |  |11163|  1.78M|            PyStackRef_XCLOSE(value);
  |  |11164|  1.78M|            _PyFrame_StackPointerInvalidate(frame);
  |  |11165|  1.78M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.78M|    { \
  |  |  |  |  201|  1.78M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.78M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.78M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.78M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.78M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.78M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.78M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.78M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.78M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.78M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.78M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.78M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.78M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.78M|    }
  |  |  ------------------
  |  |11166|  1.78M|        }
  |  |11167|       |
  |  |11168|  1.78M|        TARGET(PUSH_EXC_INFO) {
  |  |  ------------------
  |  |  |  |  132|  39.0k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11169|       |            #if _Py_TAIL_CALL_INTERP
  |  |11170|       |            int opcode = PUSH_EXC_INFO;
  |  |11171|       |            (void)(opcode);
  |  |11172|       |            #endif
  |  |11173|  39.0k|            frame->instr_ptr = next_instr;
  |  |11174|  39.0k|            next_instr += 1;
  |  |11175|  39.0k|            INSTRUCTION_STATS(PUSH_EXC_INFO);
  |  |  ------------------
  |  |  |  |   71|  39.0k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11176|  39.0k|            _PyStackRef exc;
  |  |11177|  39.0k|            _PyStackRef prev_exc;
  |  |11178|  39.0k|            _PyStackRef new_exc;
  |  |11179|  39.0k|            exc = stack_pointer[-1];
  |  |11180|  39.0k|            _PyErr_StackItem *exc_info = tstate->exc_info;
  |  |11181|  39.0k|            if (exc_info->exc_value != NULL) {
  |  |  ------------------
  |  |  |  Branch (11181:17): [True: 43, False: 38.9k]
  |  |  ------------------
  |  |11182|     43|                prev_exc = PyStackRef_FromPyObjectSteal(exc_info->exc_value);
  |  |11183|     43|            }
  |  |11184|  38.9k|            else {
  |  |11185|  38.9k|                prev_exc = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  485|  38.9k|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  38.9k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11186|  38.9k|            }
  |  |11187|  39.0k|            assert(PyStackRef_ExceptionInstanceCheck(exc));
  |  |  ------------------
  |  |  |  Branch (11187:13): [True: 39.0k, False: 0]
  |  |  ------------------
  |  |11188|  39.0k|            exc_info->exc_value = PyStackRef_AsPyObjectNew(exc);
  |  |  ------------------
  |  |  |  |  757|  39.0k|#define PyStackRef_AsPyObjectNew(stackref) Py_NewRef(PyStackRef_AsPyObjectBorrow(stackref))
  |  |  |  |  ------------------
  |  |  |  |  |  |  550|  39.0k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  39.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  39.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11189|  39.0k|            new_exc = exc;
  |  |11190|  39.0k|            stack_pointer[-1] = prev_exc;
  |  |11191|  39.0k|            stack_pointer[0] = new_exc;
  |  |11192|  39.0k|            stack_pointer += 1;
  |  |11193|  39.0k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  39.0k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11194|  39.0k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  39.0k|    { \
  |  |  |  |  201|  39.0k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  39.0k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  39.0k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  39.0k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  39.0k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  39.0k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  39.0k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  39.0k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 39.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  39.0k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  39.0k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  39.0k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  39.0k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  39.0k|    }
  |  |  ------------------
  |  |11195|  39.0k|        }
  |  |11196|       |
  |  |11197|  5.22M|        TARGET(PUSH_NULL) {
  |  |  ------------------
  |  |  |  |  132|  5.22M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11198|       |            #if _Py_TAIL_CALL_INTERP
  |  |11199|       |            int opcode = PUSH_NULL;
  |  |11200|       |            (void)(opcode);
  |  |11201|       |            #endif
  |  |11202|  5.22M|            frame->instr_ptr = next_instr;
  |  |11203|  5.22M|            next_instr += 1;
  |  |11204|  5.22M|            INSTRUCTION_STATS(PUSH_NULL);
  |  |  ------------------
  |  |  |  |   71|  5.22M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11205|  5.22M|            _PyStackRef res;
  |  |11206|  5.22M|            res = PyStackRef_NULL;
  |  |11207|  5.22M|            stack_pointer[0] = res;
  |  |11208|  5.22M|            stack_pointer += 1;
  |  |11209|  5.22M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.22M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11210|  5.22M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.22M|    { \
  |  |  |  |  201|  5.22M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  5.22M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  5.22M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  5.22M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  5.22M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  5.22M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  5.22M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  5.22M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5.22M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.22M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.22M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.22M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.22M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.22M|    }
  |  |  ------------------
  |  |11211|  5.22M|        }
  |  |11212|       |
  |  |11213|  5.22M|        TARGET(RAISE_VARARGS) {
  |  |  ------------------
  |  |  |  |  132|  2.55k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11214|       |            #if _Py_TAIL_CALL_INTERP
  |  |11215|       |            int opcode = RAISE_VARARGS;
  |  |11216|       |            (void)(opcode);
  |  |11217|       |            #endif
  |  |11218|  2.55k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11219|  2.55k|            (void)this_instr;
  |  |11220|  2.55k|            frame->instr_ptr = next_instr;
  |  |11221|  2.55k|            next_instr += 1;
  |  |11222|  2.55k|            INSTRUCTION_STATS(RAISE_VARARGS);
  |  |  ------------------
  |  |  |  |   71|  2.55k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11223|  2.55k|            _PyStackRef *args;
  |  |11224|  2.55k|            args = &stack_pointer[-oparg];
  |  |11225|  2.55k|            assert(oparg < 3);
  |  |  ------------------
  |  |  |  Branch (11225:13): [True: 2.55k, False: 0]
  |  |  ------------------
  |  |11226|  2.55k|            PyObject *cause = oparg == 2 ? PyStackRef_AsPyObjectSteal(args[1]) : NULL;
  |  |  ------------------
  |  |  |  Branch (11226:31): [True: 277, False: 2.27k]
  |  |  ------------------
  |  |11227|  2.55k|            PyObject *exc = oparg > 0 ? PyStackRef_AsPyObjectSteal(args[0]) : NULL;
  |  |  ------------------
  |  |  |  Branch (11227:29): [True: 2.55k, False: 0]
  |  |  ------------------
  |  |11228|  2.55k|            stack_pointer += -oparg;
  |  |11229|  2.55k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.55k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11230|  2.55k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11231|  2.55k|            _PyFrame_StackPointerValidate(frame);
  |  |11232|  2.55k|            int err = do_raise(tstate, exc, cause);
  |  |11233|  2.55k|            _PyFrame_StackPointerInvalidate(frame);
  |  |11234|  2.55k|            if (err) {
  |  |  ------------------
  |  |  |  Branch (11234:17): [True: 0, False: 2.55k]
  |  |  ------------------
  |  |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.55k|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|  2.55k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11245|      0|        }
  |  |11246|       |
  |  |11247|  3.66k|        TARGET(RERAISE) {
  |  |  ------------------
  |  |  |  |  132|  3.66k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11248|       |            #if _Py_TAIL_CALL_INTERP
  |  |11249|       |            int opcode = RERAISE;
  |  |11250|       |            (void)(opcode);
  |  |11251|       |            #endif
  |  |11252|  3.66k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11253|  3.66k|            (void)this_instr;
  |  |11254|  3.66k|            frame->instr_ptr = next_instr;
  |  |11255|  3.66k|            next_instr += 1;
  |  |11256|  3.66k|            INSTRUCTION_STATS(RERAISE);
  |  |  ------------------
  |  |  |  |   71|  3.66k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11257|  3.66k|            _PyStackRef *values;
  |  |11258|  3.66k|            _PyStackRef exc_st;
  |  |11259|  3.66k|            exc_st = stack_pointer[-1];
  |  |11260|  3.66k|            values = &stack_pointer[-1 - oparg];
  |  |11261|  3.66k|            PyObject *exc = PyStackRef_AsPyObjectSteal(exc_st);
  |  |11262|  3.66k|            assert(oparg >= 0 && oparg <= 2);
  |  |  ------------------
  |  |  |  Branch (11262:13): [True: 3.66k, False: 0]
  |  |  |  Branch (11262:13): [True: 3.66k, False: 0]
  |  |  ------------------
  |  |11263|  3.66k|            if (oparg) {
  |  |  ------------------
  |  |  |  Branch (11263:17): [True: 3.54k, False: 120]
  |  |  ------------------
  |  |11264|  3.54k|                frame->instr_ptr = _PyFrame_GetBytecode(frame) + PyStackRef_UntagInt(values[0]);
  |  |11265|  3.54k|            }
  |  |11266|  3.66k|            assert(exc && PyExceptionInstance_Check(exc));
  |  |  ------------------
  |  |  |  Branch (11266:13): [True: 3.66k, False: 0]
  |  |  |  Branch (11266:13): [True: 3.66k, False: 0]
  |  |  ------------------
  |  |11267|  3.66k|            stack_pointer += -1;
  |  |11268|  3.66k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.66k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11269|  3.66k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11270|  3.66k|            _PyFrame_StackPointerValidate(frame);
  |  |11271|  3.66k|            _PyErr_SetRaisedException(tstate, exc);
  |  |11272|  3.66k|            _PyFrame_StackPointerInvalidate(frame);
  |  |11273|  3.66k|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11273:13): [True: 3.66k, False: 0]
  |  |  ------------------
  |  |11274|  3.66k|            _PyFrame_StackPointerValidate(frame);
  |  |11275|  3.66k|            monitor_reraise(tstate, frame, this_instr);
  |  |11276|  3.66k|            _PyFrame_StackPointerInvalidate(frame);
  |  |11277|  3.66k|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11277:13): [True: 3.66k, False: 0]
  |  |  ------------------
  |  |11278|  3.66k|            _PyFrame_StackPointerValidate(frame);
  |  |11279|  3.66k|            JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|  3.66k|#  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|  1.54k|        TARGET(RESUME) {
  |  |  ------------------
  |  |  |  |  132|  1.54k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11296|       |            #if _Py_TAIL_CALL_INTERP
  |  |11297|       |            int opcode = RESUME;
  |  |11298|       |            (void)(opcode);
  |  |11299|       |            #endif
  |  |11300|  1.54k|            frame->instr_ptr = next_instr;
  |  |11301|  1.54k|            next_instr += 2;
  |  |11302|  1.54k|            INSTRUCTION_STATS(RESUME);
  |  |  ------------------
  |  |  |  |   71|  1.54k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11303|  1.72k|            PREDICTED_RESUME:;
  |  |11304|  1.72k|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |11305|  1.72k|            (void)this_instr;
  |  |11306|       |            // _LOAD_BYTECODE
  |  |11307|  1.72k|            {
  |  |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|  1.72k|            }
  |  |11327|       |            // _MAYBE_INSTRUMENT
  |  |11328|  1.72k|            {
  |  |11329|       |                #ifdef Py_GIL_DISABLED
  |  |11330|       |
  |  |11331|       |                int check_instrumentation = 1;
  |  |11332|       |                #else
  |  |11333|  1.72k|                int check_instrumentation = (tstate->tracing == 0);
  |  |11334|  1.72k|                #endif
  |  |11335|  1.72k|                if (check_instrumentation) {
  |  |  ------------------
  |  |  |  Branch (11335:21): [True: 1.72k, False: 0]
  |  |  ------------------
  |  |11336|  1.72k|                    uintptr_t global_version = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) & ~_PY_EVAL_EVENTS_MASK;
  |  |  ------------------
  |  |  |  |  356|  1.72k|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  355|  1.72k|#define _PY_EVAL_EVENTS_BITS 8
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11337|  1.72k|                    uintptr_t code_version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  152|  1.72k|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  |11338|  1.72k|                    if (code_version != global_version) {
  |  |  ------------------
  |  |  |  Branch (11338:25): [True: 0, False: 1.72k]
  |  |  ------------------
  |  |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|  1.72k|                }
  |  |11350|  1.72k|            }
  |  |11351|       |            // _QUICKEN_RESUME
  |  |11352|  1.72k|            {
  |  |11353|  1.72k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |11354|  1.72k|                (void)counter;
  |  |11355|  1.72k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11356|  1.72k|                _PyFrame_StackPointerValidate(frame);
  |  |11357|  1.72k|                _Py_Specialize_Resume(this_instr, tstate, frame);
  |  |11358|  1.72k|                _PyFrame_StackPointerInvalidate(frame);
  |  |11359|  1.72k|            }
  |  |11360|       |            // _CHECK_PERIODIC_IF_NOT_YIELD_FROM
  |  |11361|  1.72k|            {
  |  |11362|  1.72k|                if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   94|  1.72k|#define RESUME_OPARG_LOCATION_MASK 0x7
  |  |  ------------------
  |  |                               if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   90|  1.72k|#define RESUME_AFTER_YIELD_FROM 2
  |  |  ------------------
  |  |  |  Branch (11362:21): [True: 1.70k, False: 25]
  |  |  ------------------
  |  |11363|  1.70k|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11363:21): [True: 1.70k, False: 0]
  |  |  ------------------
  |  |11364|  1.70k|                    _PyFrame_StackPointerValidate(frame);
  |  |11365|  1.70k|                    int err = check_periodics(tstate);
  |  |11366|  1.70k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |11367|  1.70k|                    if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (11367:25): [True: 0, False: 1.70k]
  |  |  ------------------
  |  |11368|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11369|      0|                    }
  |  |11370|  1.70k|                }
  |  |11371|  1.72k|            }
  |  |11372|  1.72k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.72k|    { \
  |  |  |  |  201|  1.72k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.72k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.72k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.72k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.72k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.72k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.72k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.72k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.72k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.72k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.72k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.72k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.72k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.72k|    }
  |  |  ------------------
  |  |11373|  1.72k|        }
  |  |11374|       |
  |  |11375|  6.71M|        TARGET(RESUME_CHECK) {
  |  |  ------------------
  |  |  |  |  132|  6.71M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11376|       |            #if _Py_TAIL_CALL_INTERP
  |  |11377|       |            int opcode = RESUME_CHECK;
  |  |11378|       |            (void)(opcode);
  |  |11379|       |            #endif
  |  |11380|  6.71M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11381|  6.71M|            (void)this_instr;
  |  |11382|  6.71M|            frame->instr_ptr = next_instr;
  |  |11383|  6.71M|            next_instr += 2;
  |  |11384|  6.71M|            INSTRUCTION_STATS(RESUME_CHECK);
  |  |  ------------------
  |  |  |  |   71|  6.71M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11385|  6.71M|            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|  6.71M|            uintptr_t eval_breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  |  |11396|  6.71M|            uintptr_t version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  152|  6.71M|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  |11397|  6.71M|            assert((version & _PY_EVAL_EVENTS_MASK) == 0);
  |  |  ------------------
  |  |  |  Branch (11397:13): [True: 6.71M, False: 0]
  |  |  ------------------
  |  |11398|  6.71M|            if (eval_breaker != version) {
  |  |  ------------------
  |  |  |  Branch (11398:17): [True: 188, False: 6.71M]
  |  |  ------------------
  |  |11399|    188|                UPDATE_MISS_STATS(RESUME);
  |  |  ------------------
  |  |  |  |  299|    188|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11400|    188|                assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |  ------------------
  |  |  |  Branch (11400:17): [True: 188, False: 0]
  |  |  ------------------
  |  |11401|    188|                JUMP_TO_PREDICTED(RESUME);
  |  |  ------------------
  |  |  |  |  136|    188|#  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|  6.71M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.71M|    { \
  |  |  |  |  201|  6.71M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  6.71M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  6.71M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  6.71M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  6.71M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  6.71M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  6.71M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  6.71M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 6.71M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.71M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.71M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.71M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.71M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.71M|    }
  |  |  ------------------
  |  |11412|  6.71M|        }
  |  |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|  1.26k|        TARGET(RETURN_GENERATOR) {
  |  |  ------------------
  |  |  |  |  132|  1.26k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11484|       |            #if _Py_TAIL_CALL_INTERP
  |  |11485|       |            int opcode = RETURN_GENERATOR;
  |  |11486|       |            (void)(opcode);
  |  |11487|       |            #endif
  |  |11488|  1.26k|            frame->instr_ptr = next_instr;
  |  |11489|  1.26k|            next_instr += 1;
  |  |11490|  1.26k|            INSTRUCTION_STATS(RETURN_GENERATOR);
  |  |  ------------------
  |  |  |  |   71|  1.26k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11491|  1.26k|            _PyStackRef res;
  |  |11492|  1.26k|            assert(PyStackRef_FunctionCheck(frame->f_funcobj));
  |  |  ------------------
  |  |  |  Branch (11492:13): [True: 1.26k, False: 0]
  |  |  ------------------
  |  |11493|  1.26k|            PyFunctionObject *func = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(frame->f_funcobj);
  |  |11494|  1.26k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11495|  1.26k|            _PyFrame_StackPointerValidate(frame);
  |  |11496|  1.26k|            PyGenObject *gen = (PyGenObject *)_Py_MakeCoro(func);
  |  |11497|  1.26k|            _PyFrame_StackPointerInvalidate(frame);
  |  |11498|  1.26k|            if (gen == NULL) {
  |  |  ------------------
  |  |  |  Branch (11498:17): [True: 0, False: 1.26k]
  |  |  ------------------
  |  |11499|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11500|      0|            }
  |  |11501|  1.26k|            assert(STACK_LEVEL() <= 2);
  |  |  ------------------
  |  |  |  Branch (11501:13): [True: 1.26k, False: 0]
  |  |  ------------------
  |  |11502|  1.26k|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (11502:13): [True: 1.26k, False: 0]
  |  |  ------------------
  |  |11503|  1.26k|            _PyFrame_StackPointerValidate(frame);
  |  |11504|  1.26k|            _PyInterpreterFrame *gen_frame = &gen->gi_iframe;
  |  |11505|  1.26k|            frame->instr_ptr++;
  |  |11506|  1.26k|            _PyFrame_Copy(frame, gen_frame);
  |  |11507|  1.26k|            assert(frame->frame_obj == NULL);
  |  |  ------------------
  |  |  |  Branch (11507:13): [True: 1.26k, False: 0]
  |  |  ------------------
  |  |11508|  1.26k|            gen->gi_frame_state = FRAME_CREATED;
  |  |11509|  1.26k|            gen_frame->owner = FRAME_OWNED_BY_GENERATOR;
  |  |11510|  1.26k|            _Py_LeaveRecursiveCallPy(tstate);
  |  |11511|  1.26k|            _PyInterpreterFrame *prev = frame->previous;
  |  |11512|  1.26k|            _PyThreadState_UpdateLastProfiledFrame(tstate, frame, prev);
  |  |  ------------------
  |  |  |  |  325|  1.26k|    do { \
  |  |  |  |  326|  1.26k|        PyThreadState *tstate_ = (tstate); \
  |  |  |  |  327|  1.26k|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  |  |  328|  1.26k|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (328:13): [True: 0, False: 1.26k]
  |  |  |  |  ------------------
  |  |  |  |  329|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  |  |  330|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  |  |  331|      0|        } \
  |  |  |  |  332|  1.26k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (332:14): [Folded, False: 1.26k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11513|  1.26k|            _PyThreadState_PopFrame(tstate, frame);
  |  |11514|  1.26k|            frame = tstate->current_frame = prev;
  |  |11515|  1.26k|            LOAD_IP(frame->return_offset);
  |  |  ------------------
  |  |  |  |  441|  1.26k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|  1.26k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|  1.26k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 1.26k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11516|  1.26k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11517|  1.26k|            _PyFrame_StackPointerInvalidate(frame);
  |  |11518|  1.26k|            res = PyStackRef_FromPyObjectStealMortal((PyObject *)gen);
  |  |11519|  1.26k|            LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  1.26k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |11520|  1.26k|            stack_pointer[0] = res;
  |  |11521|  1.26k|            stack_pointer += 1;
  |  |11522|  1.26k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.26k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11523|  1.26k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.26k|    { \
  |  |  |  |  201|  1.26k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.26k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.26k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.26k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.26k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.26k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.26k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.26k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.26k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.26k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.26k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.26k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.26k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.26k|    }
  |  |  ------------------
  |  |11524|  1.26k|        }
  |  |11525|       |
  |  |11526|  6.64M|        TARGET(RETURN_VALUE) {
  |  |  ------------------
  |  |  |  |  132|  6.64M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11527|       |            #if _Py_TAIL_CALL_INTERP
  |  |11528|       |            int opcode = RETURN_VALUE;
  |  |11529|       |            (void)(opcode);
  |  |11530|       |            #endif
  |  |11531|  6.64M|            frame->instr_ptr = next_instr;
  |  |11532|  6.64M|            next_instr += 1;
  |  |11533|  6.64M|            INSTRUCTION_STATS(RETURN_VALUE);
  |  |  ------------------
  |  |  |  |   71|  6.64M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11534|  6.64M|            _PyStackRef value;
  |  |11535|  6.64M|            _PyStackRef retval;
  |  |11536|  6.64M|            _PyStackRef res;
  |  |11537|       |            // _MAKE_HEAP_SAFE
  |  |11538|  6.64M|            {
  |  |11539|  6.64M|                value = stack_pointer[-1];
  |  |11540|  6.64M|                value = PyStackRef_MakeHeapSafe(value);
  |  |11541|  6.64M|            }
  |  |11542|       |            // _RETURN_VALUE
  |  |11543|  6.64M|            {
  |  |11544|  6.64M|                retval = value;
  |  |11545|  6.64M|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (11545:17): [True: 6.64M, False: 0]
  |  |  ------------------
  |  |11546|  6.64M|                _PyStackRef temp = retval;
  |  |11547|  6.64M|                stack_pointer += -1;
  |  |11548|  6.64M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  6.64M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11549|  6.64M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11550|  6.64M|                _PyFrame_StackPointerValidate(frame);
  |  |11551|  6.64M|                assert(STACK_LEVEL() == 0);
  |  |  ------------------
  |  |  |  Branch (11551:17): [True: 6.64M, False: 0]
  |  |  ------------------
  |  |11552|  6.64M|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|  6.64M|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  |11553|  6.64M|                _Py_LeaveRecursiveCallPy(tstate);
  |  |11554|  6.64M|                _PyInterpreterFrame *dying = frame;
  |  |11555|  6.64M|                frame = tstate->current_frame = dying->previous;
  |  |11556|  6.64M|                _PyEval_FrameClearAndPop(tstate, dying);
  |  |11557|  6.64M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11558|  6.64M|                _PyFrame_StackPointerInvalidate(frame);
  |  |11559|  6.64M|                LOAD_IP(frame->return_offset);
  |  |  ------------------
  |  |  |  |  441|  6.64M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|  6.64M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|  6.64M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 6.64M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11560|  6.64M|                res = temp;
  |  |11561|  6.64M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  6.64M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |11562|  6.64M|            }
  |  |11563|      0|            stack_pointer[0] = res;
  |  |11564|  6.64M|            stack_pointer += 1;
  |  |11565|  6.64M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  6.64M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11566|  6.64M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.64M|    { \
  |  |  |  |  201|  6.64M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  6.64M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  6.64M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  6.64M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  6.64M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  6.64M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  6.64M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  6.64M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 6.64M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.64M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.64M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.64M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.64M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.64M|    }
  |  |  ------------------
  |  |11567|  6.64M|        }
  |  |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);
  |  |  ------------------
  |  |  |  |  377|      4|    do { \
  |  |  |  |  378|      4|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|      4|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379: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) &&
  |  |  ------------------
  |  |  |  |  539|      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)) {
  |  |  ------------------
  |  |  |  |  539|      0|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (539: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);
  |  |  ------------------
  |  |  |  |  441|      0|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|      0|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443: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|     14|        TARGET(SEND_VIRTUAL) {
  |  |  ------------------
  |  |  |  |  132|     14|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11806|       |            #if _Py_TAIL_CALL_INTERP
  |  |11807|       |            int opcode = SEND_VIRTUAL;
  |  |11808|       |            (void)(opcode);
  |  |11809|       |            #endif
  |  |11810|     14|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11811|     14|            (void)this_instr;
  |  |11812|     14|            frame->instr_ptr = next_instr;
  |  |11813|     14|            next_instr += 2;
  |  |11814|     14|            INSTRUCTION_STATS(SEND_VIRTUAL);
  |  |  ------------------
  |  |  |  |   71|     14|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11815|     14|            static_assert(INLINE_CACHE_ENTRIES_SEND == 1, "incorrect cache size");
  |  |11816|     14|            _PyStackRef val;
  |  |11817|     14|            _PyStackRef nos;
  |  |11818|     14|            _PyStackRef iter;
  |  |11819|     14|            _PyStackRef null_or_index;
  |  |11820|     14|            _PyStackRef none;
  |  |11821|     14|            _PyStackRef next;
  |  |11822|       |            /* Skip 1 cache entry */
  |  |11823|       |            // _GUARD_TOS_IS_NONE
  |  |11824|     14|            {
  |  |11825|     14|                val = stack_pointer[-1];
  |  |11826|     14|                if (!PyStackRef_IsNone(val)) {
  |  |  ------------------
  |  |  |  |  495|     14|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     14|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11826:21): [True: 0, False: 14]
  |  |  ------------------
  |  |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|     14|            }
  |  |11832|       |            // _GUARD_NOS_NOT_NULL
  |  |11833|     14|            {
  |  |11834|     14|                nos = stack_pointer[-2];
  |  |11835|     14|                if (PyStackRef_IsNull(nos)) {
  |  |  ------------------
  |  |  |  |  482|     14|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|     14|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     14|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |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|     14|            }
  |  |11841|       |            // _SEND_VIRTUAL
  |  |11842|     14|            {
  |  |11843|     14|                none = val;
  |  |11844|     14|                null_or_index = nos;
  |  |11845|     14|                iter = stack_pointer[-3];
  |  |11846|     14|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  |11847|     14|                Py_ssize_t index = PyStackRef_UntagInt(null_or_index);
  |  |11848|     14|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11849|     14|                _PyFrame_StackPointerValidate(frame);
  |  |11850|     14|                _PyObjectIndexPair next_index = Py_TYPE(iter_o)->_tp_iteritem(iter_o, index);
  |  |  ------------------
  |  |  |  |  213|     14|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11851|     14|                _PyFrame_StackPointerInvalidate(frame);
  |  |11852|     14|                PyObject *next_o = next_index.object;
  |  |11853|     14|                index = next_index.index;
  |  |11854|     14|                if (next_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (11854:21): [True: 5, False: 9]
  |  |  ------------------
  |  |11855|      5|                    if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (11855:25): [True: 0, False: 5]
  |  |  ------------------
  |  |11856|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11857|      0|                    }
  |  |11858|      5|                    next = none;
  |  |11859|      5|                    JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  261|      5|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11860|      5|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      5|    { \
  |  |  |  |  201|      5|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      5|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      5|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      5|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      5|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      5|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      5|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      5|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 5]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      5|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      5|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      5|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      5|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      5|    }
  |  |  ------------------
  |  |11861|      5|                }
  |  |11862|     14|                next = PyStackRef_FromPyObjectSteal(next_o);
  |  |11863|     14|                null_or_index = PyStackRef_TagInt(index);
  |  |11864|     14|            }
  |  |11865|      0|            stack_pointer[-2] = null_or_index;
  |  |11866|     14|            stack_pointer[-1] = next;
  |  |11867|     14|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     14|    { \
  |  |  |  |  201|     14|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     14|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     14|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     14|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     14|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     14|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     14|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     14|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     14|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     14|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     14|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     14|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     14|    }
  |  |  ------------------
  |  |11868|     14|        }
  |  |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);
  |  |  ------------------
  |  |  |  |  921|      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__),
  |  |  ------------------
  |  |  |  |  921|      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|  1.95k|        TARGET(SET_FUNCTION_ATTRIBUTE) {
  |  |  ------------------
  |  |  |  |  132|  1.95k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11950|       |            #if _Py_TAIL_CALL_INTERP
  |  |11951|       |            int opcode = SET_FUNCTION_ATTRIBUTE;
  |  |11952|       |            (void)(opcode);
  |  |11953|       |            #endif
  |  |11954|  1.95k|            frame->instr_ptr = next_instr;
  |  |11955|  1.95k|            next_instr += 1;
  |  |11956|  1.95k|            INSTRUCTION_STATS(SET_FUNCTION_ATTRIBUTE);
  |  |  ------------------
  |  |  |  |   71|  1.95k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11957|  1.95k|            _PyStackRef attr_st;
  |  |11958|  1.95k|            _PyStackRef func_in;
  |  |11959|  1.95k|            _PyStackRef func_out;
  |  |11960|  1.95k|            func_in = stack_pointer[-1];
  |  |11961|  1.95k|            attr_st = stack_pointer[-2];
  |  |11962|  1.95k|            PyObject *func = PyStackRef_AsPyObjectBorrow(func_in);
  |  |11963|  1.95k|            PyObject *attr = PyStackRef_AsPyObjectSteal(attr_st);
  |  |11964|  1.95k|            func_out = func_in;
  |  |11965|  1.95k|            assert(PyFunction_Check(func));
  |  |  ------------------
  |  |  |  Branch (11965:13): [True: 1.95k, False: 0]
  |  |  ------------------
  |  |11966|  1.95k|            size_t offset = _Py_FunctionAttributeOffsets[oparg];
  |  |11967|  1.95k|            assert(offset != 0);
  |  |  ------------------
  |  |  |  Branch (11967:13): [True: 1.95k, False: 0]
  |  |  ------------------
  |  |11968|  1.95k|            PyObject **ptr = (PyObject **)(((char *)func) + offset);
  |  |11969|  1.95k|            assert(*ptr == NULL);
  |  |  ------------------
  |  |  |  Branch (11969:13): [True: 1.95k, False: 0]
  |  |  ------------------
  |  |11970|  1.95k|            *ptr = attr;
  |  |11971|  1.95k|            stack_pointer[-2] = func_out;
  |  |11972|  1.95k|            stack_pointer += -1;
  |  |11973|  1.95k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.95k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11974|  1.95k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.95k|    { \
  |  |  |  |  201|  1.95k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.95k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.95k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.95k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.95k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.95k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.95k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.95k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.95k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.95k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.95k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.95k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.95k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.95k|    }
  |  |  ------------------
  |  |11975|  1.95k|        }
  |  |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|  2.68k|        TARGET(STORE_ATTR) {
  |  |  ------------------
  |  |  |  |  132|  2.68k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12017|       |            #if _Py_TAIL_CALL_INTERP
  |  |12018|       |            int opcode = STORE_ATTR;
  |  |12019|       |            (void)(opcode);
  |  |12020|       |            #endif
  |  |12021|  2.68k|            frame->instr_ptr = next_instr;
  |  |12022|  2.68k|            next_instr += 5;
  |  |12023|  2.68k|            INSTRUCTION_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |   71|  2.68k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12024|  3.33k|            PREDICTED_STORE_ATTR:;
  |  |12025|  3.33k|            _Py_CODEUNIT* const this_instr = next_instr - 5;
  |  |12026|  3.33k|            (void)this_instr;
  |  |12027|  3.33k|            _PyStackRef v;
  |  |12028|  3.33k|            _PyStackRef owner;
  |  |12029|       |            // _SPECIALIZE_STORE_ATTR
  |  |12030|  3.33k|            {
  |  |12031|  3.33k|                owner = stack_pointer[-1];
  |  |12032|  3.33k|                v = stack_pointer[-2];
  |  |12033|  3.33k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |12034|  3.33k|                (void)counter;
  |  |12035|  3.33k|                #if ENABLE_SPECIALIZATION
  |  |12036|  3.33k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  3.33k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 278, False: 3.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12037|    278|                    if (!PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  482|    278|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    278|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    278|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12037:25): [True: 278, False: 0]
  |  |  ------------------
  |  |12038|    278|                        PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|    278|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    278|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    278|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    278|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12038:42): [True: 278, False: 0]
  |  |  ------------------
  |  |12039|      0|                        next_instr = this_instr;
  |  |12040|    278|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12041|    278|                        _PyFrame_StackPointerValidate(frame);
  |  |12042|    278|                        _Py_Specialize_StoreAttr(owner, next_instr, name);
  |  |12043|    278|                        _PyFrame_StackPointerInvalidate(frame);
  |  |12044|    278|                        DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    278|    { \
  |  |  |  |  217|    278|        opcode = next_instr->op.code; \
  |  |  |  |  218|    278|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    278|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    278|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    278|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    278|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    278|    }
  |  |  ------------------
  |  |12045|    278|                    }
  |  |12046|    278|                }
  |  |12047|  3.33k|                OPCODE_DEFERRED_INC(STORE_ATTR);
  |  |  ------------------
  |  |  |  |   90|  3.33k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12048|  3.33k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  3.33k|    do { \
  |  |  |  |  378|  3.33k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  3.33k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 3.33k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12049|  3.33k|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12050|  3.33k|            }
  |  |12051|       |            /* Skip 3 cache entries */
  |  |12052|       |            // _STORE_ATTR
  |  |12053|      0|            {
  |  |12054|  3.33k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|  3.33k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  3.33k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  3.33k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12054:34): [True: 3.05k, False: 278]
  |  |  ------------------
  |  |12055|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12056|  3.05k|                _PyFrame_StackPointerValidate(frame);
  |  |12057|  3.05k|                int err = PyObject_SetAttr(PyStackRef_AsPyObjectBorrow(owner),
  |  |12058|  3.05k|                                       name, PyStackRef_AsPyObjectBorrow(v));
  |  |12059|  3.05k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12060|  3.05k|                stack_pointer += -1;
  |  |12061|  3.05k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.05k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12062|  3.05k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12063|  3.05k|                _PyFrame_StackPointerValidate(frame);
  |  |12064|  3.05k|                PyStackRef_CLOSE(owner);
  |  |12065|  3.05k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12066|  3.05k|                stack_pointer += -1;
  |  |12067|  3.05k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.05k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12068|  3.05k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12069|  3.05k|                _PyFrame_StackPointerValidate(frame);
  |  |12070|  3.05k|                PyStackRef_XCLOSE(v);
  |  |12071|  3.05k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12072|  3.05k|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12072:21): [True: 0, False: 3.05k]
  |  |  ------------------
  |  |12073|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12074|      0|                }
  |  |12075|  3.05k|            }
  |  |12076|  3.05k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.05k|    { \
  |  |  |  |  201|  3.05k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  3.05k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.05k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  3.05k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  3.05k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  3.05k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  3.05k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  3.05k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 3.05k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.05k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.05k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.05k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.05k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.05k|    }
  |  |  ------------------
  |  |12077|  3.05k|        }
  |  |12078|       |
  |  |12079|   447k|        TARGET(STORE_ATTR_INSTANCE_VALUE) {
  |  |  ------------------
  |  |  |  |  132|   447k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12080|       |            #if _Py_TAIL_CALL_INTERP
  |  |12081|       |            int opcode = STORE_ATTR_INSTANCE_VALUE;
  |  |12082|       |            (void)(opcode);
  |  |12083|       |            #endif
  |  |12084|   447k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12085|   447k|            (void)this_instr;
  |  |12086|   447k|            frame->instr_ptr = next_instr;
  |  |12087|   447k|            next_instr += 5;
  |  |12088|   447k|            INSTRUCTION_STATS(STORE_ATTR_INSTANCE_VALUE);
  |  |  ------------------
  |  |  |  |   71|   447k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12089|   447k|            static_assert(INLINE_CACHE_ENTRIES_STORE_ATTR == 4, "incorrect cache size");
  |  |12090|   447k|            _PyStackRef value;
  |  |12091|   447k|            _PyStackRef owner;
  |  |12092|   447k|            _PyStackRef o;
  |  |12093|       |            /* Skip 1 cache entry */
  |  |12094|       |            // _LOCK_OBJECT
  |  |12095|   447k|            {
  |  |12096|   447k|                value = stack_pointer[-1];
  |  |12097|   447k|                if (!LOCK_OBJECT(PyStackRef_AsPyObjectBorrow(value))) {
  |  |  ------------------
  |  |  |  |  322|   447k|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12097:21): [Folded, False: 447k]
  |  |  ------------------
  |  |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|   447k|            }
  |  |12103|       |            // _GUARD_TYPE_VERSION_LOCKED
  |  |12104|   447k|            {
  |  |12105|   447k|                owner = value;
  |  |12106|   447k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |12107|   447k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12108|   447k|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (12108:17): [True: 447k, False: 0]
  |  |  ------------------
  |  |12109|   447k|                PyTypeObject *tp = Py_TYPE(owner_o);
  |  |  ------------------
  |  |  |  |  213|   447k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   447k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   447k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12110|   447k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|   447k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (12110:21): [True: 652, False: 446k]
  |  |  ------------------
  |  |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|   447k|            }
  |  |12119|       |            // _GUARD_DORV_NO_DICT
  |  |12120|   446k|            {
  |  |12121|   446k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12122|   446k|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |  ------------------
  |  |  |  Branch (12122:17): [True: 446k, False: 0]
  |  |  ------------------
  |  |12123|   446k|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |  ------------------
  |  |  |  Branch (12123:17): [True: 446k, False: 0]
  |  |  ------------------
  |  |12124|   446k|                if (_PyObject_GetManagedDict(owner_o) ||
  |  |  ------------------
  |  |  |  Branch (12124:21): [True: 0, False: 446k]
  |  |  ------------------
  |  |12125|   446k|                    !FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  154|   446k|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (12125:21): [True: 0, False: 446k]
  |  |  ------------------
  |  |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|   446k|            }
  |  |12134|       |            // _STORE_ATTR_INSTANCE_VALUE
  |  |12135|   446k|            {
  |  |12136|   446k|                value = stack_pointer[-2];
  |  |12137|   446k|                uint16_t offset = read_u16(&this_instr[4].cache);
  |  |12138|   446k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12139|   446k|                STAT_INC(STORE_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|   446k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12140|   446k|                assert(_PyObject_GetManagedDict(owner_o) == NULL);
  |  |  ------------------
  |  |  |  Branch (12140:17): [True: 446k, False: 0]
  |  |  ------------------
  |  |12141|   446k|                PyObject **value_ptr = (PyObject**)(((char *)owner_o) + offset);
  |  |12142|   446k|                PyObject *old_value = *value_ptr;
  |  |12143|   446k|                FT_ATOMIC_STORE_PTR_RELEASE(*value_ptr, PyStackRef_AsPyObjectSteal(value));
  |  |  ------------------
  |  |  |  |  164|   446k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |12144|   446k|                if (old_value == NULL) {
  |  |  ------------------
  |  |  |  Branch (12144:21): [True: 443k, False: 3.54k]
  |  |  ------------------
  |  |12145|   443k|                    PyDictValues *values = _PyObject_InlineValues(owner_o);
  |  |12146|   443k|                    Py_ssize_t index = value_ptr - values->values;
  |  |12147|   443k|                    _PyDictValues_AddToInsertionOrder(values, index);
  |  |12148|   443k|                }
  |  |12149|   446k|                UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  323|   446k|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12150|   446k|                o = owner;
  |  |12151|   446k|                stack_pointer[-2] = o;
  |  |12152|   446k|                stack_pointer += -1;
  |  |12153|   446k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   446k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12154|   446k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12155|   446k|                _PyFrame_StackPointerValidate(frame);
  |  |12156|   446k|                Py_XDECREF(old_value);
  |  |  ------------------
  |  |  |  |   69|   446k|    do { \
  |  |  |  |   70|   446k|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   446k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   446k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|   446k|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 3.54k, False: 443k]
  |  |  |  |  ------------------
  |  |  |  |   72|  3.54k|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|  3.54k|    do { \
  |  |  |  |  |  |   81|  3.54k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|  3.54k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|  3.54k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|  3.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|  3.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 3.14k, False: 403]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|  3.14k|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|  3.14k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|  3.14k|            break; \
  |  |  |  |  |  |   85|  3.14k|        } \
  |  |  |  |  |  |   86|  3.54k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|    403|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|    403|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 371, False: 32]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|    371|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|    371|    do { \
  |  |  |  |  |  |  |  |  113|    371|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|    371|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 371]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|    371|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 371]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|    371|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|    371|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|    371|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|    371|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|    371|            (*dealloc)(op); \
  |  |  |  |  |  |   91|    371|        } \
  |  |  |  |  |  |   92|    403|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 403]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   73|  3.54k|        } \
  |  |  |  |   74|   446k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 446k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12157|   446k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12158|   446k|            }
  |  |12159|       |            // _POP_TOP
  |  |12160|      0|            {
  |  |12161|   446k|                value = o;
  |  |12162|   446k|                stack_pointer += -1;
  |  |12163|   446k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   446k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12164|   446k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12165|   446k|                _PyFrame_StackPointerValidate(frame);
  |  |12166|   446k|                PyStackRef_XCLOSE(value);
  |  |12167|   446k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12168|   446k|            }
  |  |12169|   446k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   446k|    { \
  |  |  |  |  201|   446k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   446k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   446k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   446k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   446k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   446k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   446k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   446k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 446k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   446k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   446k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   446k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   446k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   446k|    }
  |  |  ------------------
  |  |12170|   446k|        }
  |  |12171|       |
  |  |12172|    377|        TARGET(STORE_ATTR_SLOT) {
  |  |  ------------------
  |  |  |  |  132|    377|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12173|       |            #if _Py_TAIL_CALL_INTERP
  |  |12174|       |            int opcode = STORE_ATTR_SLOT;
  |  |12175|       |            (void)(opcode);
  |  |12176|       |            #endif
  |  |12177|    377|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12178|    377|            (void)this_instr;
  |  |12179|    377|            frame->instr_ptr = next_instr;
  |  |12180|    377|            next_instr += 5;
  |  |12181|    377|            INSTRUCTION_STATS(STORE_ATTR_SLOT);
  |  |  ------------------
  |  |  |  |   71|    377|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12182|    377|            static_assert(INLINE_CACHE_ENTRIES_STORE_ATTR == 4, "incorrect cache size");
  |  |12183|    377|            _PyStackRef owner;
  |  |12184|    377|            _PyStackRef value;
  |  |12185|    377|            _PyStackRef o;
  |  |12186|       |            /* Skip 1 cache entry */
  |  |12187|       |            // _GUARD_TYPE_VERSION
  |  |12188|    377|            {
  |  |12189|    377|                owner = stack_pointer[-1];
  |  |12190|    377|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |12191|    377|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|    377|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    377|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    377|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12192|    377|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (12192:17): [True: 377, False: 0]
  |  |  ------------------
  |  |12193|    377|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|    377|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (12193:21): [True: 0, False: 377]
  |  |  ------------------
  |  |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|    377|            }
  |  |12199|       |            // _STORE_ATTR_SLOT
  |  |12200|    377|            {
  |  |12201|    377|                value = stack_pointer[-2];
  |  |12202|    377|                uint16_t index = read_u16(&this_instr[4].cache);
  |  |12203|    377|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |12204|    377|                if (!LOCK_OBJECT(owner_o)) {
  |  |  ------------------
  |  |  |  |  322|    377|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12204:21): [Folded, False: 377]
  |  |  ------------------
  |  |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|    377|                char *addr = (char *)owner_o + index;
  |  |12210|    377|                STAT_INC(STORE_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|    377|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12211|    377|                PyObject *old_value = *(PyObject **)addr;
  |  |12212|    377|                FT_ATOMIC_STORE_PTR_RELEASE(*(PyObject **)addr, PyStackRef_AsPyObjectSteal(value));
  |  |  ------------------
  |  |  |  |  164|    377|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |12213|    377|                UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  323|    377|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12214|    377|                o = owner;
  |  |12215|    377|                stack_pointer[-2] = o;
  |  |12216|    377|                stack_pointer += -1;
  |  |12217|    377|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    377|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12218|    377|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12219|    377|                _PyFrame_StackPointerValidate(frame);
  |  |12220|    377|                Py_XDECREF(old_value);
  |  |  ------------------
  |  |  |  |   69|    377|    do { \
  |  |  |  |   70|    377|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    377|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    377|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|    377|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 0, False: 377]
  |  |  |  |  ------------------
  |  |  |  |   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|    377|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 377]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12221|    377|                _PyFrame_StackPointerInvalidate(frame);
  |  |12222|    377|            }
  |  |12223|       |            // _POP_TOP
  |  |12224|      0|            {
  |  |12225|    377|                value = o;
  |  |12226|    377|                stack_pointer += -1;
  |  |12227|    377|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    377|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12228|    377|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12229|    377|                _PyFrame_StackPointerValidate(frame);
  |  |12230|    377|                PyStackRef_XCLOSE(value);
  |  |12231|    377|                _PyFrame_StackPointerInvalidate(frame);
  |  |12232|    377|            }
  |  |12233|    377|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    377|    { \
  |  |  |  |  201|    377|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    377|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    377|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    377|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    377|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    377|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    377|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    377|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 377]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    377|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    377|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    377|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    377|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    377|    }
  |  |  ------------------
  |  |12234|    377|        }
  |  |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|  1.87k|        TARGET(STORE_DEREF) {
  |  |  ------------------
  |  |  |  |  132|  1.87k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12339|       |            #if _Py_TAIL_CALL_INTERP
  |  |12340|       |            int opcode = STORE_DEREF;
  |  |12341|       |            (void)(opcode);
  |  |12342|       |            #endif
  |  |12343|  1.87k|            frame->instr_ptr = next_instr;
  |  |12344|  1.87k|            next_instr += 1;
  |  |12345|  1.87k|            INSTRUCTION_STATS(STORE_DEREF);
  |  |  ------------------
  |  |  |  |   71|  1.87k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12346|  1.87k|            _PyStackRef v;
  |  |12347|  1.87k|            v = stack_pointer[-1];
  |  |12348|  1.87k|            PyCellObject *cell = (PyCellObject *)PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  285|  1.87k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12349|  1.87k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12350|  1.87k|            _PyFrame_StackPointerValidate(frame);
  |  |12351|  1.87k|            PyCell_SetTakeRef(cell, PyStackRef_AsPyObjectSteal(v));
  |  |12352|  1.87k|            _PyFrame_StackPointerInvalidate(frame);
  |  |12353|  1.87k|            stack_pointer += -1;
  |  |12354|  1.87k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.87k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12355|  1.87k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.87k|    { \
  |  |  |  |  201|  1.87k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.87k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.87k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.87k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.87k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.87k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.87k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.87k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.87k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.87k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.87k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.87k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.87k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.87k|    }
  |  |  ------------------
  |  |12356|  1.87k|        }
  |  |12357|       |
  |  |12358|  64.8M|        TARGET(STORE_FAST) {
  |  |  ------------------
  |  |  |  |  132|  64.8M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12359|       |            #if _Py_TAIL_CALL_INTERP
  |  |12360|       |            int opcode = STORE_FAST;
  |  |12361|       |            (void)(opcode);
  |  |12362|       |            #endif
  |  |12363|  64.8M|            frame->instr_ptr = next_instr;
  |  |12364|  64.8M|            next_instr += 1;
  |  |12365|  64.8M|            INSTRUCTION_STATS(STORE_FAST);
  |  |  ------------------
  |  |  |  |   71|  64.8M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12366|  64.8M|            _PyStackRef value;
  |  |12367|  64.8M|            _PyStackRef trash;
  |  |12368|       |            // _SWAP_FAST
  |  |12369|  64.8M|            {
  |  |12370|  64.8M|                value = stack_pointer[-1];
  |  |12371|  64.8M|                _PyStackRef tmp = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  285|  64.8M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12372|  64.8M|                GETLOCAL(oparg) = value;
  |  |  ------------------
  |  |  |  |  285|  64.8M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12373|  64.8M|                trash = tmp;
  |  |12374|  64.8M|            }
  |  |12375|       |            // _POP_TOP
  |  |12376|  64.8M|            {
  |  |12377|  64.8M|                value = trash;
  |  |12378|  64.8M|                stack_pointer += -1;
  |  |12379|  64.8M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  64.8M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12380|  64.8M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12381|  64.8M|                _PyFrame_StackPointerValidate(frame);
  |  |12382|  64.8M|                PyStackRef_XCLOSE(value);
  |  |12383|  64.8M|                _PyFrame_StackPointerInvalidate(frame);
  |  |12384|  64.8M|            }
  |  |12385|  64.8M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  64.8M|    { \
  |  |  |  |  201|  64.8M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  64.8M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  64.8M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  64.8M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  64.8M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  64.8M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  64.8M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  64.8M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 64.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  64.8M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  64.8M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  64.8M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  64.8M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  64.8M|    }
  |  |  ------------------
  |  |12386|  64.8M|        }
  |  |12387|       |
  |  |12388|  64.8M|        TARGET(STORE_FAST_LOAD_FAST) {
  |  |  ------------------
  |  |  |  |  132|  9.29k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12389|       |            #if _Py_TAIL_CALL_INTERP
  |  |12390|       |            int opcode = STORE_FAST_LOAD_FAST;
  |  |12391|       |            (void)(opcode);
  |  |12392|       |            #endif
  |  |12393|  9.29k|            frame->instr_ptr = next_instr;
  |  |12394|  9.29k|            next_instr += 1;
  |  |12395|  9.29k|            INSTRUCTION_STATS(STORE_FAST_LOAD_FAST);
  |  |  ------------------
  |  |  |  |   71|  9.29k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12396|  9.29k|            _PyStackRef value1;
  |  |12397|  9.29k|            _PyStackRef value2;
  |  |12398|  9.29k|            value1 = stack_pointer[-1];
  |  |12399|  9.29k|            uint32_t oparg1 = oparg >> 4;
  |  |12400|  9.29k|            uint32_t oparg2 = oparg & 15;
  |  |12401|  9.29k|            _PyStackRef tmp = GETLOCAL(oparg1);
  |  |  ------------------
  |  |  |  |  285|  9.29k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12402|  9.29k|            GETLOCAL(oparg1) = value1;
  |  |  ------------------
  |  |  |  |  285|  9.29k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12403|  9.29k|            value2 = PyStackRef_DUP(GETLOCAL(oparg2));
  |  |  ------------------
  |  |  |  |  285|  9.29k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12404|  9.29k|            stack_pointer[-1] = value2;
  |  |12405|  9.29k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12406|  9.29k|            _PyFrame_StackPointerValidate(frame);
  |  |12407|  9.29k|            PyStackRef_XCLOSE(tmp);
  |  |12408|  9.29k|            _PyFrame_StackPointerInvalidate(frame);
  |  |12409|  9.29k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  9.29k|    { \
  |  |  |  |  201|  9.29k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  9.29k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  9.29k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  9.29k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  9.29k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  9.29k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  9.29k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  9.29k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 9.29k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  9.29k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  9.29k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  9.29k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  9.29k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  9.29k|    }
  |  |  ------------------
  |  |12410|  9.29k|        }
  |  |12411|       |
  |  |12412|  1.33M|        TARGET(STORE_FAST_STORE_FAST) {
  |  |  ------------------
  |  |  |  |  132|  1.33M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12413|       |            #if _Py_TAIL_CALL_INTERP
  |  |12414|       |            int opcode = STORE_FAST_STORE_FAST;
  |  |12415|       |            (void)(opcode);
  |  |12416|       |            #endif
  |  |12417|  1.33M|            frame->instr_ptr = next_instr;
  |  |12418|  1.33M|            next_instr += 1;
  |  |12419|  1.33M|            INSTRUCTION_STATS(STORE_FAST_STORE_FAST);
  |  |  ------------------
  |  |  |  |   71|  1.33M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12420|  1.33M|            _PyStackRef value2;
  |  |12421|  1.33M|            _PyStackRef value1;
  |  |12422|  1.33M|            value1 = stack_pointer[-1];
  |  |12423|  1.33M|            value2 = stack_pointer[-2];
  |  |12424|  1.33M|            uint32_t oparg1 = oparg >> 4;
  |  |12425|  1.33M|            uint32_t oparg2 = oparg & 15;
  |  |12426|  1.33M|            _PyStackRef tmp = GETLOCAL(oparg1);
  |  |  ------------------
  |  |  |  |  285|  1.33M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12427|  1.33M|            GETLOCAL(oparg1) = value1;
  |  |  ------------------
  |  |  |  |  285|  1.33M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12428|  1.33M|            stack_pointer += -1;
  |  |12429|  1.33M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.33M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12430|  1.33M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12431|  1.33M|            _PyFrame_StackPointerValidate(frame);
  |  |12432|  1.33M|            PyStackRef_XCLOSE(tmp);
  |  |12433|  1.33M|            _PyFrame_StackPointerInvalidate(frame);
  |  |12434|  1.33M|            tmp = GETLOCAL(oparg2);
  |  |  ------------------
  |  |  |  |  285|  1.33M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12435|  1.33M|            GETLOCAL(oparg2) = value2;
  |  |  ------------------
  |  |  |  |  285|  1.33M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |12436|  1.33M|            stack_pointer += -1;
  |  |12437|  1.33M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.33M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12438|  1.33M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12439|  1.33M|            _PyFrame_StackPointerValidate(frame);
  |  |12440|  1.33M|            PyStackRef_XCLOSE(tmp);
  |  |12441|  1.33M|            _PyFrame_StackPointerInvalidate(frame);
  |  |12442|  1.33M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.33M|    { \
  |  |  |  |  201|  1.33M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.33M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.33M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.33M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.33M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.33M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.33M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.33M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.33M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.33M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.33M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.33M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.33M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.33M|    }
  |  |  ------------------
  |  |12443|  1.33M|        }
  |  |12444|       |
  |  |12445|  1.33M|        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);
  |  |  ------------------
  |  |  |  |  405|      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|  8.55k|        TARGET(STORE_NAME) {
  |  |  ------------------
  |  |  |  |  132|  8.55k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12492|       |            #if _Py_TAIL_CALL_INTERP
  |  |12493|       |            int opcode = STORE_NAME;
  |  |12494|       |            (void)(opcode);
  |  |12495|       |            #endif
  |  |12496|  8.55k|            frame->instr_ptr = next_instr;
  |  |12497|  8.55k|            next_instr += 1;
  |  |12498|  8.55k|            INSTRUCTION_STATS(STORE_NAME);
  |  |  ------------------
  |  |  |  |   71|  8.55k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12499|  8.55k|            _PyStackRef v;
  |  |12500|  8.55k|            v = stack_pointer[-1];
  |  |12501|  8.55k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  236|  8.55k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  8.55k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  8.55k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  8.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12501:30): [True: 8.55k, False: 0]
  |  |  ------------------
  |  |12502|  8.55k|            PyObject *ns = LOCALS();
  |  |  ------------------
  |  |  |  |  328|  8.55k|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |12503|  8.55k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12504|  8.55k|            _PyFrame_StackPointerValidate(frame);
  |  |12505|  8.55k|            int error = _PyEval_StoreName(tstate, v, name, ns);
  |  |12506|  8.55k|            _PyFrame_StackPointerInvalidate(frame);
  |  |12507|  8.55k|            if (PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  482|  8.55k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|  8.55k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  8.55k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:32): [True: 40, False: 8.51k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12508|     40|            }
  |  |12509|  8.51k|            else {
  |  |12510|  8.51k|                stack_pointer += -1;
  |  |12511|  8.51k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  8.51k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12512|  8.51k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12513|  8.51k|                _PyFrame_StackPointerValidate(frame);
  |  |12514|  8.51k|                PyStackRef_CLOSE(v);
  |  |12515|  8.51k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12516|  8.51k|                stack_pointer += 1;
  |  |12517|  8.51k|            }
  |  |12518|  8.55k|            if (error) {
  |  |  ------------------
  |  |  |  Branch (12518:17): [True: 0, False: 8.55k]
  |  |  ------------------
  |  |12519|      0|                JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12520|      0|            }
  |  |12521|  8.55k|            stack_pointer += -1;
  |  |12522|  8.55k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  8.55k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12523|  8.55k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  8.55k|    { \
  |  |  |  |  201|  8.55k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  8.55k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  8.55k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  8.55k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  8.55k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  8.55k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  8.55k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  8.55k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 8.55k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  8.55k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  8.55k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  8.55k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  8.55k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  8.55k|    }
  |  |  ------------------
  |  |12524|  8.55k|        }
  |  |12525|       |
  |  |12526|      1|        TARGET(STORE_SLICE) {
  |  |  ------------------
  |  |  |  |  132|      1|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12527|       |            #if _Py_TAIL_CALL_INTERP
  |  |12528|       |            int opcode = STORE_SLICE;
  |  |12529|       |            (void)(opcode);
  |  |12530|       |            #endif
  |  |12531|      1|            frame->instr_ptr = next_instr;
  |  |12532|      1|            next_instr += 1;
  |  |12533|      1|            INSTRUCTION_STATS(STORE_SLICE);
  |  |  ------------------
  |  |  |  |   71|      1|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12534|      1|            _PyStackRef v;
  |  |12535|      1|            _PyStackRef container;
  |  |12536|      1|            _PyStackRef start;
  |  |12537|      1|            _PyStackRef stop;
  |  |12538|       |            // _SPECIALIZE_STORE_SLICE
  |  |12539|      1|            {
  |  |12540|      1|                #if ENABLE_SPECIALIZATION
  |  |12541|      1|                OPCODE_DEFERRED_INC(STORE_SLICE);
  |  |  ------------------
  |  |  |  |   90|      1|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12542|      1|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12543|      1|            }
  |  |12544|       |            // _STORE_SLICE
  |  |12545|      1|            {
  |  |12546|      1|                stop = stack_pointer[-1];
  |  |12547|      1|                start = stack_pointer[-2];
  |  |12548|      1|                container = stack_pointer[-3];
  |  |12549|      1|                v = stack_pointer[-4];
  |  |12550|      1|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12551|      1|                _PyFrame_StackPointerValidate(frame);
  |  |12552|      1|                PyObject *slice = _PyBuildSlice_ConsumeRefs(PyStackRef_AsPyObjectSteal(start),
  |  |12553|      1|                    PyStackRef_AsPyObjectSteal(stop),
  |  |12554|      1|                    Py_None);
  |  |  ------------------
  |  |  |  |  616|      1|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  |  |12555|      1|                _PyFrame_StackPointerInvalidate(frame);
  |  |12556|      1|                int err;
  |  |12557|      1|                if (slice == NULL) {
  |  |  ------------------
  |  |  |  Branch (12557:21): [True: 0, False: 1]
  |  |  ------------------
  |  |12558|      0|                    err = 1;
  |  |12559|      0|                }
  |  |12560|      1|                else {
  |  |12561|      1|                    stack_pointer += -2;
  |  |12562|      1|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      1|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12563|      1|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12564|      1|                    _PyFrame_StackPointerValidate(frame);
  |  |12565|      1|                    err = PyObject_SetItem(PyStackRef_AsPyObjectBorrow(container), slice, PyStackRef_AsPyObjectBorrow(v));
  |  |12566|      1|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12567|      1|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12567:21): [True: 1, False: 0]
  |  |  ------------------
  |  |12568|      1|                    _PyFrame_StackPointerValidate(frame);
  |  |12569|      1|                    Py_DECREF(slice);
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12570|      1|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12571|      1|                    stack_pointer += 2;
  |  |12572|      1|                }
  |  |12573|      1|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12574|      1|                _PyFrame_StackPointerValidate(frame);
  |  |12575|      1|                _PyStackRef tmp = container;
  |  |12576|      1|                container = PyStackRef_NULL;
  |  |12577|      1|                stack_pointer[-3] = container;
  |  |12578|      1|                PyStackRef_CLOSE(tmp);
  |  |12579|      1|                _PyFrame_StackPointerInvalidate(frame);
  |  |12580|      1|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12580:17): [True: 1, False: 0]
  |  |  ------------------
  |  |12581|      1|                _PyFrame_StackPointerValidate(frame);
  |  |12582|      1|                tmp = v;
  |  |12583|      1|                v = PyStackRef_NULL;
  |  |12584|      1|                stack_pointer[-4] = v;
  |  |12585|      1|                PyStackRef_CLOSE(tmp);
  |  |12586|      1|                _PyFrame_StackPointerInvalidate(frame);
  |  |12587|      1|                stack_pointer += -4;
  |  |12588|      1|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      1|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12589|      1|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12589:21): [True: 0, False: 1]
  |  |  ------------------
  |  |12590|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12591|      0|                }
  |  |12592|      1|            }
  |  |12593|      1|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      1|    { \
  |  |  |  |  201|      1|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      1|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      1|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      1|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      1|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      1|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      1|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      1|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      1|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      1|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      1|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      1|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      1|    }
  |  |  ------------------
  |  |12594|      1|        }
  |  |12595|       |
  |  |12596|    922|        TARGET(STORE_SUBSCR) {
  |  |  ------------------
  |  |  |  |  132|    922|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12597|       |            #if _Py_TAIL_CALL_INTERP
  |  |12598|       |            int opcode = STORE_SUBSCR;
  |  |12599|       |            (void)(opcode);
  |  |12600|       |            #endif
  |  |12601|    922|            frame->instr_ptr = next_instr;
  |  |12602|    922|            next_instr += 2;
  |  |12603|    922|            INSTRUCTION_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |   71|    922|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12604|    922|            PREDICTED_STORE_SUBSCR:;
  |  |12605|    922|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |12606|    922|            (void)this_instr;
  |  |12607|    922|            _PyStackRef container;
  |  |12608|    922|            _PyStackRef sub;
  |  |12609|    922|            _PyStackRef v;
  |  |12610|       |            // _SPECIALIZE_STORE_SUBSCR
  |  |12611|    922|            {
  |  |12612|    922|                sub = stack_pointer[-1];
  |  |12613|    922|                container = stack_pointer[-2];
  |  |12614|    922|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |12615|    922|                (void)counter;
  |  |12616|    922|                #if ENABLE_SPECIALIZATION
  |  |12617|    922|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    922|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 95, False: 827]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12618|     95|                    next_instr = this_instr;
  |  |12619|     95|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12620|     95|                    _PyFrame_StackPointerValidate(frame);
  |  |12621|     95|                    _Py_Specialize_StoreSubscr(container, sub, next_instr);
  |  |12622|     95|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12623|     95|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     95|    { \
  |  |  |  |  217|     95|        opcode = next_instr->op.code; \
  |  |  |  |  218|     95|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     95|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     95|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     95|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     95|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     95|    }
  |  |  ------------------
  |  |12624|     95|                }
  |  |12625|    922|                OPCODE_DEFERRED_INC(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |   90|    922|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12626|    922|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|    922|    do { \
  |  |  |  |  378|    922|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|    922|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 922]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12627|    922|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12628|    922|            }
  |  |12629|       |            // _STORE_SUBSCR
  |  |12630|    922|            {
  |  |12631|    922|                v = stack_pointer[-3];
  |  |12632|    922|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12633|    922|                _PyFrame_StackPointerValidate(frame);
  |  |12634|    922|                int err = PyObject_SetItem(PyStackRef_AsPyObjectBorrow(container), PyStackRef_AsPyObjectBorrow(sub), PyStackRef_AsPyObjectBorrow(v));
  |  |12635|    922|                _PyFrame_StackPointerInvalidate(frame);
  |  |12636|    922|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12636:17): [True: 827, False: 95]
  |  |  ------------------
  |  |12637|    827|                _PyFrame_StackPointerValidate(frame);
  |  |12638|    827|                _PyStackRef tmp = sub;
  |  |12639|    827|                sub = PyStackRef_NULL;
  |  |12640|    827|                stack_pointer[-1] = sub;
  |  |12641|    827|                PyStackRef_CLOSE(tmp);
  |  |12642|    827|                _PyFrame_StackPointerInvalidate(frame);
  |  |12643|    827|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12643:17): [True: 827, False: 0]
  |  |  ------------------
  |  |12644|    827|                _PyFrame_StackPointerValidate(frame);
  |  |12645|    827|                tmp = container;
  |  |12646|    827|                container = PyStackRef_NULL;
  |  |12647|    827|                stack_pointer[-2] = container;
  |  |12648|    827|                PyStackRef_CLOSE(tmp);
  |  |12649|    827|                _PyFrame_StackPointerInvalidate(frame);
  |  |12650|    827|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (12650:17): [True: 827, False: 0]
  |  |  ------------------
  |  |12651|    827|                _PyFrame_StackPointerValidate(frame);
  |  |12652|    827|                tmp = v;
  |  |12653|    827|                v = PyStackRef_NULL;
  |  |12654|    827|                stack_pointer[-3] = v;
  |  |12655|    827|                PyStackRef_CLOSE(tmp);
  |  |12656|    827|                _PyFrame_StackPointerInvalidate(frame);
  |  |12657|    827|                stack_pointer += -3;
  |  |12658|    827|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    827|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12659|    827|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12659:21): [True: 2, False: 825]
  |  |  ------------------
  |  |12660|      2|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      2|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12661|      0|                }
  |  |12662|    827|            }
  |  |12663|    825|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    825|    { \
  |  |  |  |  201|    825|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    825|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    825|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    825|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    825|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    825|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    825|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    825|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 825]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    825|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    825|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    825|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    825|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    825|    }
  |  |  ------------------
  |  |12664|    825|        }
  |  |12665|       |
  |  |12666|  2.86k|        TARGET(STORE_SUBSCR_DICT) {
  |  |  ------------------
  |  |  |  |  132|  2.86k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12667|       |            #if _Py_TAIL_CALL_INTERP
  |  |12668|       |            int opcode = STORE_SUBSCR_DICT;
  |  |12669|       |            (void)(opcode);
  |  |12670|       |            #endif
  |  |12671|  2.86k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12672|  2.86k|            (void)this_instr;
  |  |12673|  2.86k|            frame->instr_ptr = next_instr;
  |  |12674|  2.86k|            next_instr += 2;
  |  |12675|  2.86k|            INSTRUCTION_STATS(STORE_SUBSCR_DICT);
  |  |  ------------------
  |  |  |  |   71|  2.86k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12676|  2.86k|            static_assert(INLINE_CACHE_ENTRIES_STORE_SUBSCR == 1, "incorrect cache size");
  |  |12677|  2.86k|            _PyStackRef nos;
  |  |12678|  2.86k|            _PyStackRef value;
  |  |12679|  2.86k|            _PyStackRef dict_st;
  |  |12680|  2.86k|            _PyStackRef sub;
  |  |12681|  2.86k|            _PyStackRef st;
  |  |12682|       |            // _GUARD_NOS_DICT_STORE_SUBSCRIPT
  |  |12683|  2.86k|            {
  |  |12684|  2.86k|                nos = stack_pointer[-2];
  |  |12685|  2.86k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |12686|  2.86k|                if (!Py_TYPE(o)->tp_as_mapping) {
  |  |  ------------------
  |  |  |  |  213|  2.86k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12686:21): [True: 0, False: 2.86k]
  |  |  ------------------
  |  |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|  2.86k|                if (Py_TYPE(o)->tp_as_mapping->mp_ass_subscript != _PyDict_StoreSubscript) {
  |  |  ------------------
  |  |  |  |  213|  2.86k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12691:21): [True: 0, False: 2.86k]
  |  |  ------------------
  |  |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|  2.86k|            }
  |  |12697|       |            /* Skip 1 cache entry */
  |  |12698|       |            // _STORE_SUBSCR_DICT
  |  |12699|  2.86k|            {
  |  |12700|  2.86k|                sub = stack_pointer[-1];
  |  |12701|  2.86k|                dict_st = nos;
  |  |12702|  2.86k|                value = stack_pointer[-3];
  |  |12703|  2.86k|                PyObject *dict = PyStackRef_AsPyObjectBorrow(dict_st);
  |  |12704|  2.86k|                assert(Py_TYPE(dict)->tp_as_mapping->mp_ass_subscript == _PyDict_StoreSubscript);
  |  |  ------------------
  |  |  |  Branch (12704:17): [True: 2.86k, False: 0]
  |  |  ------------------
  |  |12705|  2.86k|                STAT_INC(STORE_SUBSCR, hit);
  |  |  ------------------
  |  |  |  |   73|  2.86k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12706|  2.86k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12707|  2.86k|                _PyFrame_StackPointerValidate(frame);
  |  |12708|  2.86k|                int err = _PyDict_SetItem_Take2((PyDictObject *)dict,
  |  |12709|  2.86k|                    PyStackRef_AsPyObjectSteal(sub),
  |  |12710|  2.86k|                    PyStackRef_AsPyObjectSteal(value));
  |  |12711|  2.86k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12712|  2.86k|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12712:21): [True: 0, False: 2.86k]
  |  |  ------------------
  |  |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|  2.86k|                st = dict_st;
  |  |12722|  2.86k|            }
  |  |12723|       |            // _POP_TOP
  |  |12724|      0|            {
  |  |12725|  2.86k|                value = st;
  |  |12726|  2.86k|                stack_pointer += -3;
  |  |12727|  2.86k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.86k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12728|  2.86k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12729|  2.86k|                _PyFrame_StackPointerValidate(frame);
  |  |12730|  2.86k|                PyStackRef_XCLOSE(value);
  |  |12731|  2.86k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12732|  2.86k|            }
  |  |12733|  2.86k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.86k|    { \
  |  |  |  |  201|  2.86k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.86k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.86k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.86k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.86k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.86k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.86k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.86k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.86k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.86k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.86k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.86k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.86k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.86k|    }
  |  |  ------------------
  |  |12734|  2.86k|        }
  |  |12735|       |
  |  |12736|    150|        TARGET(STORE_SUBSCR_LIST_INT) {
  |  |  ------------------
  |  |  |  |  132|    150|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12737|       |            #if _Py_TAIL_CALL_INTERP
  |  |12738|       |            int opcode = STORE_SUBSCR_LIST_INT;
  |  |12739|       |            (void)(opcode);
  |  |12740|       |            #endif
  |  |12741|    150|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12742|    150|            (void)this_instr;
  |  |12743|    150|            frame->instr_ptr = next_instr;
  |  |12744|    150|            next_instr += 2;
  |  |12745|    150|            INSTRUCTION_STATS(STORE_SUBSCR_LIST_INT);
  |  |  ------------------
  |  |  |  |   71|    150|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12746|    150|            static_assert(INLINE_CACHE_ENTRIES_STORE_SUBSCR == 1, "incorrect cache size");
  |  |12747|    150|            _PyStackRef value;
  |  |12748|    150|            _PyStackRef nos;
  |  |12749|    150|            _PyStackRef list_st;
  |  |12750|    150|            _PyStackRef sub_st;
  |  |12751|    150|            _PyStackRef ls;
  |  |12752|    150|            _PyStackRef ss;
  |  |12753|       |            // _GUARD_TOS_INT
  |  |12754|    150|            {
  |  |12755|    150|                value = stack_pointer[-1];
  |  |12756|    150|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |12757|    150|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (12757:21): [True: 0, False: 150]
  |  |  ------------------
  |  |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|    150|            }
  |  |12763|       |            // _GUARD_NOS_LIST
  |  |12764|    150|            {
  |  |12765|    150|                nos = stack_pointer[-2];
  |  |12766|    150|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |12767|    150|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|    150|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    150|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    150|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    150|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12767:21): [True: 0, False: 150]
  |  |  ------------------
  |  |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|    150|            }
  |  |12773|       |            /* Skip 1 cache entry */
  |  |12774|       |            // _STORE_SUBSCR_LIST_INT
  |  |12775|    150|            {
  |  |12776|    150|                sub_st = value;
  |  |12777|    150|                list_st = nos;
  |  |12778|    150|                value = stack_pointer[-3];
  |  |12779|    150|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |12780|    150|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  |12781|    150|                assert(PyLong_CheckExact(sub));
  |  |  ------------------
  |  |  |  Branch (12781:17): [True: 150, False: 0]
  |  |  ------------------
  |  |12782|    150|                assert(PyList_CheckExact(list));
  |  |  ------------------
  |  |  |  Branch (12782:17): [True: 150, False: 0]
  |  |  ------------------
  |  |12783|    150|                Py_ssize_t index = _PyLong_CompactValue((PyLongObject *)sub);
  |  |12784|    150|                if (!LOCK_OBJECT(list)) {
  |  |  ------------------
  |  |  |  |  322|    150|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12784:21): [Folded, False: 150]
  |  |  ------------------
  |  |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|    150|                Py_ssize_t len = PyList_GET_SIZE(list);
  |  |  ------------------
  |  |  |  |   38|    150|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    150|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    150|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12790|    150|                if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (12790:21): [True: 0, False: 150]
  |  |  ------------------
  |  |12791|      0|                    index += len;
  |  |12792|      0|                }
  |  |12793|    150|                if (index < 0 || index >= len) {
  |  |  ------------------
  |  |  |  Branch (12793:21): [True: 0, False: 150]
  |  |  |  Branch (12793:34): [True: 0, False: 150]
  |  |  ------------------
  |  |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|    150|                STAT_INC(STORE_SUBSCR, hit);
  |  |  ------------------
  |  |  |  |   73|    150|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12802|    150|                PyObject *old_value = PyList_GET_ITEM(list, index);
  |  |  ------------------
  |  |  |  |   40|    150|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|    150|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    150|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12802:39): [True: 150, False: 0]
  |  |  ------------------
  |  |12803|    150|                FT_ATOMIC_STORE_PTR_RELEASE(_PyList_ITEMS(list)[index],
  |  |  ------------------
  |  |  |  |  164|    300|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:55): [True: 150, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12804|    150|                                        PyStackRef_AsPyObjectSteal(value));
  |  |12805|    150|                assert(old_value != NULL);
  |  |  ------------------
  |  |  |  Branch (12805:17): [True: 150, False: 0]
  |  |  ------------------
  |  |12806|    150|                UNLOCK_OBJECT(list);
  |  |  ------------------
  |  |  |  |  323|    150|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12807|    150|                ls = list_st;
  |  |12808|    150|                ss = sub_st;
  |  |12809|    150|                stack_pointer[-3] = ls;
  |  |12810|    150|                stack_pointer[-2] = ss;
  |  |12811|    150|                stack_pointer += -1;
  |  |12812|    150|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    150|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12813|    150|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12814|    150|                _PyFrame_StackPointerValidate(frame);
  |  |12815|    150|                Py_DECREF(old_value);
  |  |  ------------------
  |  |  |  |   80|    150|    do { \
  |  |  |  |   81|    150|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    150|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    150|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|    150|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|    150|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    150|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    150|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 150, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|    150|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|    150|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|    150|            break; \
  |  |  |  |   85|    150|        } \
  |  |  |  |   86|    150|        _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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12816|    150|                _PyFrame_StackPointerInvalidate(frame);
  |  |12817|    150|            }
  |  |12818|       |            // _POP_TOP_INT
  |  |12819|      0|            {
  |  |12820|    150|                value = ss;
  |  |12821|    150|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (12821:17): [True: 150, False: 0]
  |  |  ------------------
  |  |12822|    150|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |12823|    150|            }
  |  |12824|       |            // _POP_TOP
  |  |12825|      0|            {
  |  |12826|    150|                value = ls;
  |  |12827|    150|                stack_pointer += -2;
  |  |12828|    150|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    150|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12829|    150|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12830|    150|                _PyFrame_StackPointerValidate(frame);
  |  |12831|    150|                PyStackRef_XCLOSE(value);
  |  |12832|    150|                _PyFrame_StackPointerInvalidate(frame);
  |  |12833|    150|            }
  |  |12834|    150|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    150|    { \
  |  |  |  |  201|    150|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    150|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    150|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    150|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    150|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    150|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    150|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    150|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 150]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    150|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    150|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    150|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    150|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    150|    }
  |  |  ------------------
  |  |12835|    150|        }
  |  |12836|       |
  |  |12837|  1.19M|        TARGET(SWAP) {
  |  |  ------------------
  |  |  |  |  132|  1.19M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12838|       |            #if _Py_TAIL_CALL_INTERP
  |  |12839|       |            int opcode = SWAP;
  |  |12840|       |            (void)(opcode);
  |  |12841|       |            #endif
  |  |12842|  1.19M|            frame->instr_ptr = next_instr;
  |  |12843|  1.19M|            next_instr += 1;
  |  |12844|  1.19M|            INSTRUCTION_STATS(SWAP);
  |  |  ------------------
  |  |  |  |   71|  1.19M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12845|  1.19M|            _PyStackRef bottom;
  |  |12846|  1.19M|            _PyStackRef top;
  |  |12847|  1.19M|            top = stack_pointer[-1];
  |  |12848|  1.19M|            bottom = stack_pointer[-2 - (oparg-2)];
  |  |12849|  1.19M|            _PyStackRef temp = bottom;
  |  |12850|  1.19M|            bottom = top;
  |  |12851|  1.19M|            top = temp;
  |  |12852|  1.19M|            stack_pointer[-2 - (oparg-2)] = bottom;
  |  |12853|  1.19M|            stack_pointer[-1] = top;
  |  |12854|  1.19M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.19M|    { \
  |  |  |  |  201|  1.19M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.19M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.19M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.19M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.19M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.19M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.19M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.19M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.19M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.19M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.19M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.19M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.19M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.19M|    }
  |  |  ------------------
  |  |12855|  1.19M|        }
  |  |12856|       |
  |  |12857|  1.19M|        TARGET(TO_BOOL) {
  |  |  ------------------
  |  |  |  |  132|  73.6k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12858|       |            #if _Py_TAIL_CALL_INTERP
  |  |12859|       |            int opcode = TO_BOOL;
  |  |12860|       |            (void)(opcode);
  |  |12861|       |            #endif
  |  |12862|  73.6k|            frame->instr_ptr = next_instr;
  |  |12863|  73.6k|            next_instr += 4;
  |  |12864|  73.6k|            INSTRUCTION_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |   71|  73.6k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12865|  74.1k|            PREDICTED_TO_BOOL:;
  |  |12866|  74.1k|            _Py_CODEUNIT* const this_instr = next_instr - 4;
  |  |12867|  74.1k|            (void)this_instr;
  |  |12868|  74.1k|            _PyStackRef value;
  |  |12869|  74.1k|            _PyStackRef res;
  |  |12870|       |            // _SPECIALIZE_TO_BOOL
  |  |12871|  74.1k|            {
  |  |12872|  74.1k|                value = stack_pointer[-1];
  |  |12873|  74.1k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |12874|  74.1k|                (void)counter;
  |  |12875|  74.1k|                #if ENABLE_SPECIALIZATION
  |  |12876|  74.1k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|  74.1k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 442, False: 73.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12877|    442|                    next_instr = this_instr;
  |  |12878|    442|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12879|    442|                    _PyFrame_StackPointerValidate(frame);
  |  |12880|    442|                    _Py_Specialize_ToBool(value, next_instr);
  |  |12881|    442|                    _PyFrame_StackPointerInvalidate(frame);
  |  |12882|    442|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    442|    { \
  |  |  |  |  217|    442|        opcode = next_instr->op.code; \
  |  |  |  |  218|    442|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    442|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    442|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    442|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    442|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    442|    }
  |  |  ------------------
  |  |12883|    442|                }
  |  |12884|  74.1k|                OPCODE_DEFERRED_INC(TO_BOOL);
  |  |  ------------------
  |  |  |  |   90|  74.1k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12885|  74.1k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|  74.1k|    do { \
  |  |  |  |  378|  74.1k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|  74.1k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 74.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12886|  74.1k|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12887|  74.1k|            }
  |  |12888|       |            /* Skip 2 cache entries */
  |  |12889|       |            // _TO_BOOL
  |  |12890|  74.1k|            {
  |  |12891|  74.1k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12892|  74.1k|                _PyFrame_StackPointerValidate(frame);
  |  |12893|  74.1k|                int err = PyObject_IsTrue(PyStackRef_AsPyObjectBorrow(value));
  |  |12894|  74.1k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12895|  74.1k|                stack_pointer += -1;
  |  |12896|  74.1k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  74.1k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12897|  74.1k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12898|  74.1k|                _PyFrame_StackPointerValidate(frame);
  |  |12899|  74.1k|                PyStackRef_CLOSE(value);
  |  |12900|  74.1k|                _PyFrame_StackPointerInvalidate(frame);
  |  |12901|  74.1k|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (12901:21): [True: 0, False: 74.1k]
  |  |  ------------------
  |  |12902|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12903|      0|                }
  |  |12904|  74.1k|                res = err ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  57.5k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  57.5k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = err ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  90.7k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  16.5k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12904:23): [True: 57.5k, False: 16.5k]
  |  |  ------------------
  |  |12905|  74.1k|            }
  |  |12906|      0|            stack_pointer[0] = res;
  |  |12907|  74.1k|            stack_pointer += 1;
  |  |12908|  74.1k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  74.1k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12909|  74.1k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  74.1k|    { \
  |  |  |  |  201|  74.1k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  74.1k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  74.1k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  74.1k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  74.1k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  74.1k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  74.1k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  74.1k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 74.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  74.1k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  74.1k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  74.1k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  74.1k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  74.1k|    }
  |  |  ------------------
  |  |12910|  74.1k|        }
  |  |12911|       |
  |  |12912|     52|        TARGET(TO_BOOL_ALWAYS_TRUE) {
  |  |  ------------------
  |  |  |  |  132|     52|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12913|       |            #if _Py_TAIL_CALL_INTERP
  |  |12914|       |            int opcode = TO_BOOL_ALWAYS_TRUE;
  |  |12915|       |            (void)(opcode);
  |  |12916|       |            #endif
  |  |12917|     52|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12918|     52|            (void)this_instr;
  |  |12919|     52|            frame->instr_ptr = next_instr;
  |  |12920|     52|            next_instr += 4;
  |  |12921|     52|            INSTRUCTION_STATS(TO_BOOL_ALWAYS_TRUE);
  |  |  ------------------
  |  |  |  |   71|     52|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12922|     52|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12923|     52|            _PyStackRef owner;
  |  |12924|     52|            _PyStackRef value;
  |  |12925|     52|            _PyStackRef res;
  |  |12926|     52|            _PyStackRef v;
  |  |12927|       |            /* Skip 1 cache entry */
  |  |12928|       |            // _GUARD_TYPE_VERSION
  |  |12929|     52|            {
  |  |12930|     52|                owner = stack_pointer[-1];
  |  |12931|     52|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |12932|     52|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|     52|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12933|     52|                assert(type_version != 0);
  |  |  ------------------
  |  |  |  Branch (12933:17): [True: 52, False: 0]
  |  |  ------------------
  |  |12934|     52|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  189|     52|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (12934:21): [True: 20, False: 32]
  |  |  ------------------
  |  |12935|     20|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|     20|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12936|     20|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (12936:21): [True: 20, False: 0]
  |  |  ------------------
  |  |12937|     20|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|     20|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12938|      0|                }
  |  |12939|     52|            }
  |  |12940|       |            // _REPLACE_WITH_TRUE
  |  |12941|     32|            {
  |  |12942|     32|                value = owner;
  |  |12943|     32|                res = PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|     32|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     32|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12944|     32|                v = value;
  |  |12945|     32|            }
  |  |12946|       |            // _POP_TOP
  |  |12947|     32|            {
  |  |12948|     32|                value = v;
  |  |12949|     32|                stack_pointer[-1] = res;
  |  |12950|     32|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12951|     32|                _PyFrame_StackPointerValidate(frame);
  |  |12952|     32|                PyStackRef_XCLOSE(value);
  |  |12953|     32|                _PyFrame_StackPointerInvalidate(frame);
  |  |12954|     32|            }
  |  |12955|     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|    }
  |  |  ------------------
  |  |12956|     32|        }
  |  |12957|       |
  |  |12958|  4.35M|        TARGET(TO_BOOL_BOOL) {
  |  |  ------------------
  |  |  |  |  132|  4.35M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12959|       |            #if _Py_TAIL_CALL_INTERP
  |  |12960|       |            int opcode = TO_BOOL_BOOL;
  |  |12961|       |            (void)(opcode);
  |  |12962|       |            #endif
  |  |12963|  4.35M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12964|  4.35M|            (void)this_instr;
  |  |12965|  4.35M|            frame->instr_ptr = next_instr;
  |  |12966|  4.35M|            next_instr += 4;
  |  |12967|  4.35M|            INSTRUCTION_STATS(TO_BOOL_BOOL);
  |  |  ------------------
  |  |  |  |   71|  4.35M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12968|  4.35M|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12969|  4.35M|            _PyStackRef value;
  |  |12970|       |            /* Skip 1 cache entry */
  |  |12971|       |            /* Skip 2 cache entries */
  |  |12972|  4.35M|            value = stack_pointer[-1];
  |  |12973|  4.35M|            if (!PyStackRef_BoolCheck(value)) {
  |  |  ------------------
  |  |  |  Branch (12973:17): [True: 46, False: 4.35M]
  |  |  ------------------
  |  |12974|     46|                UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|     46|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12975|     46|                assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (12975:17): [True: 46, False: 0]
  |  |  ------------------
  |  |12976|     46|                JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|     46|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12977|      0|            }
  |  |12978|  4.35M|            STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  4.35M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12979|  4.35M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.35M|    { \
  |  |  |  |  201|  4.35M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  4.35M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.35M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  4.35M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  4.35M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.35M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  4.35M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  4.35M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 4.35M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.35M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.35M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.35M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.35M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.35M|    }
  |  |  ------------------
  |  |12980|  4.35M|        }
  |  |12981|       |
  |  |12982|  49.9k|        TARGET(TO_BOOL_INT) {
  |  |  ------------------
  |  |  |  |  132|  49.9k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12983|       |            #if _Py_TAIL_CALL_INTERP
  |  |12984|       |            int opcode = TO_BOOL_INT;
  |  |12985|       |            (void)(opcode);
  |  |12986|       |            #endif
  |  |12987|  49.9k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12988|  49.9k|            (void)this_instr;
  |  |12989|  49.9k|            frame->instr_ptr = next_instr;
  |  |12990|  49.9k|            next_instr += 4;
  |  |12991|  49.9k|            INSTRUCTION_STATS(TO_BOOL_INT);
  |  |  ------------------
  |  |  |  |   71|  49.9k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12992|  49.9k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12993|  49.9k|            _PyStackRef value;
  |  |12994|  49.9k|            _PyStackRef res;
  |  |12995|  49.9k|            _PyStackRef v;
  |  |12996|       |            // _GUARD_TOS_INT
  |  |12997|  49.9k|            {
  |  |12998|  49.9k|                value = stack_pointer[-1];
  |  |12999|  49.9k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |13000|  49.9k|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (13000:21): [True: 87, False: 49.8k]
  |  |  ------------------
  |  |13001|     87|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|     87|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13002|     87|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (13002:21): [True: 87, False: 0]
  |  |  ------------------
  |  |13003|     87|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|     87|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13004|      0|                }
  |  |13005|  49.9k|            }
  |  |13006|       |            /* Skip 1 cache entry */
  |  |13007|       |            /* Skip 2 cache entries */
  |  |13008|       |            // _TO_BOOL_INT
  |  |13009|  49.8k|            {
  |  |13010|  49.8k|                STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  49.8k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13011|  49.8k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |13012|  49.8k|                res = (_PyLong_IsZero((PyLongObject *)value_o)) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  484|  49.4k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  49.4k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = (_PyLong_IsZero((PyLongObject *)value_o)) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|  50.1k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    340|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13012:23): [True: 49.4k, False: 340]
  |  |  ------------------
  |  |13013|  49.8k|                v = value;
  |  |13014|  49.8k|            }
  |  |13015|       |            // _POP_TOP_INT
  |  |13016|  49.8k|            {
  |  |13017|  49.8k|                value = v;
  |  |13018|  49.8k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (13018:17): [True: 49.8k, False: 0]
  |  |  ------------------
  |  |13019|  49.8k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |13020|  49.8k|            }
  |  |13021|      0|            stack_pointer[-1] = res;
  |  |13022|  49.8k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  49.8k|    { \
  |  |  |  |  201|  49.8k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  49.8k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  49.8k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  49.8k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  49.8k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  49.8k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  49.8k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  49.8k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 49.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  49.8k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  49.8k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  49.8k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  49.8k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  49.8k|    }
  |  |  ------------------
  |  |13023|  49.8k|        }
  |  |13024|       |
  |  |13025|  2.34k|        TARGET(TO_BOOL_LIST) {
  |  |  ------------------
  |  |  |  |  132|  2.34k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13026|       |            #if _Py_TAIL_CALL_INTERP
  |  |13027|       |            int opcode = TO_BOOL_LIST;
  |  |13028|       |            (void)(opcode);
  |  |13029|       |            #endif
  |  |13030|  2.34k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13031|  2.34k|            (void)this_instr;
  |  |13032|  2.34k|            frame->instr_ptr = next_instr;
  |  |13033|  2.34k|            next_instr += 4;
  |  |13034|  2.34k|            INSTRUCTION_STATS(TO_BOOL_LIST);
  |  |  ------------------
  |  |  |  |   71|  2.34k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13035|  2.34k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |13036|  2.34k|            _PyStackRef tos;
  |  |13037|  2.34k|            _PyStackRef value;
  |  |13038|  2.34k|            _PyStackRef res;
  |  |13039|  2.34k|            _PyStackRef v;
  |  |13040|       |            // _GUARD_TOS_LIST
  |  |13041|  2.34k|            {
  |  |13042|  2.34k|                tos = stack_pointer[-1];
  |  |13043|  2.34k|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |13044|  2.34k|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|  2.34k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  2.34k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13044:21): [True: 0, False: 2.34k]
  |  |  ------------------
  |  |13045|      0|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13046|      0|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (13046:21): [True: 0, False: 0]
  |  |  ------------------
  |  |13047|      0|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13048|      0|                }
  |  |13049|  2.34k|            }
  |  |13050|       |            /* Skip 1 cache entry */
  |  |13051|       |            /* Skip 2 cache entries */
  |  |13052|       |            // _TO_BOOL_LIST
  |  |13053|  2.34k|            {
  |  |13054|  2.34k|                value = tos;
  |  |13055|  2.34k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |13056|  2.34k|                assert(PyList_CheckExact(value_o));
  |  |  ------------------
  |  |  |  Branch (13056:17): [True: 2.34k, False: 0]
  |  |  ------------------
  |  |13057|  2.34k|                STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  2.34k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13058|  2.34k|                res = PyList_GET_SIZE(value_o) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |   38|  2.34k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (38:29): [True: 1.72k, False: 614]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = PyList_GET_SIZE(value_o) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  1.72k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.72k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = PyList_GET_SIZE(value_o) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|  2.95k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    614|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13059|  2.34k|                v = value;
  |  |13060|  2.34k|            }
  |  |13061|       |            // _POP_TOP
  |  |13062|      0|            {
  |  |13063|  2.34k|                value = v;
  |  |13064|  2.34k|                stack_pointer[-1] = res;
  |  |13065|  2.34k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13066|  2.34k|                _PyFrame_StackPointerValidate(frame);
  |  |13067|  2.34k|                PyStackRef_XCLOSE(value);
  |  |13068|  2.34k|                _PyFrame_StackPointerInvalidate(frame);
  |  |13069|  2.34k|            }
  |  |13070|  2.34k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.34k|    { \
  |  |  |  |  201|  2.34k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  2.34k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.34k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  2.34k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  2.34k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  2.34k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  2.34k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  2.34k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 2.34k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.34k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.34k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.34k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.34k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.34k|    }
  |  |  ------------------
  |  |13071|  2.34k|        }
  |  |13072|       |
  |  |13073|  1.15k|        TARGET(TO_BOOL_NONE) {
  |  |  ------------------
  |  |  |  |  132|  1.15k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13074|       |            #if _Py_TAIL_CALL_INTERP
  |  |13075|       |            int opcode = TO_BOOL_NONE;
  |  |13076|       |            (void)(opcode);
  |  |13077|       |            #endif
  |  |13078|  1.15k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13079|  1.15k|            (void)this_instr;
  |  |13080|  1.15k|            frame->instr_ptr = next_instr;
  |  |13081|  1.15k|            next_instr += 4;
  |  |13082|  1.15k|            INSTRUCTION_STATS(TO_BOOL_NONE);
  |  |  ------------------
  |  |  |  |   71|  1.15k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13083|  1.15k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |13084|  1.15k|            _PyStackRef value;
  |  |13085|  1.15k|            _PyStackRef res;
  |  |13086|       |            /* Skip 1 cache entry */
  |  |13087|       |            /* Skip 2 cache entries */
  |  |13088|  1.15k|            value = stack_pointer[-1];
  |  |13089|  1.15k|            if (!PyStackRef_IsNone(value)) {
  |  |  ------------------
  |  |  |  |  495|  1.15k|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.15k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13089:17): [True: 254, False: 903]
  |  |  ------------------
  |  |13090|    254|                UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|    254|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13091|    254|                assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (13091:17): [True: 254, False: 0]
  |  |  ------------------
  |  |13092|    254|                JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|    254|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13093|      0|            }
  |  |13094|    903|            STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|    903|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13095|    903|            res = PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|    903|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    903|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13096|    903|            stack_pointer[-1] = res;
  |  |13097|    903|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    903|    { \
  |  |  |  |  201|    903|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    903|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    903|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    903|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    903|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    903|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    903|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    903|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 903]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    903|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    903|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    903|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    903|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    903|    }
  |  |  ------------------
  |  |13098|    903|        }
  |  |13099|       |
  |  |13100|   103k|        TARGET(TO_BOOL_STR) {
  |  |  ------------------
  |  |  |  |  132|   103k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13101|       |            #if _Py_TAIL_CALL_INTERP
  |  |13102|       |            int opcode = TO_BOOL_STR;
  |  |13103|       |            (void)(opcode);
  |  |13104|       |            #endif
  |  |13105|   103k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13106|   103k|            (void)this_instr;
  |  |13107|   103k|            frame->instr_ptr = next_instr;
  |  |13108|   103k|            next_instr += 4;
  |  |13109|   103k|            INSTRUCTION_STATS(TO_BOOL_STR);
  |  |  ------------------
  |  |  |  |   71|   103k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13110|   103k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |13111|   103k|            _PyStackRef value;
  |  |13112|   103k|            _PyStackRef res;
  |  |13113|   103k|            _PyStackRef v;
  |  |13114|       |            // _GUARD_TOS_UNICODE
  |  |13115|   103k|            {
  |  |13116|   103k|                value = stack_pointer[-1];
  |  |13117|   103k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |13118|   103k|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|   103k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   103k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   103k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   103k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13118:21): [True: 102, False: 103k]
  |  |  ------------------
  |  |13119|    102|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  299|    102|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |13120|    102|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |  ------------------
  |  |  |  Branch (13120:21): [True: 102, False: 0]
  |  |  ------------------
  |  |13121|    102|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|    102|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |13122|      0|                }
  |  |13123|   103k|            }
  |  |13124|       |            /* Skip 1 cache entry */
  |  |13125|       |            /* Skip 2 cache entries */
  |  |13126|       |            // _TO_BOOL_STR
  |  |13127|   103k|            {
  |  |13128|   103k|                STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|   103k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13129|   103k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |13130|   103k|                res = value_o == &_Py_STR(empty) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  923|   103k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|   103k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|   103k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = value_o == &_Py_STR(empty) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  484|  48.6k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  48.6k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = value_o == &_Py_STR(empty) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  483|   158k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  54.8k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13130:23): [True: 48.6k, False: 54.8k]
  |  |  ------------------
  |  |13131|   103k|                v = value;
  |  |13132|   103k|            }
  |  |13133|       |            // _POP_TOP_UNICODE
  |  |13134|   103k|            {
  |  |13135|   103k|                value = v;
  |  |13136|   103k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  ------------------
  |  |  |  Branch (13136:17): [True: 103k, False: 0]
  |  |  ------------------
  |  |13137|   103k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  |13138|   103k|            }
  |  |13139|      0|            stack_pointer[-1] = res;
  |  |13140|   103k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   103k|    { \
  |  |  |  |  201|   103k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   103k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   103k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   103k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   103k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   103k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   103k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   103k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 103k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   103k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   103k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   103k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   103k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   103k|    }
  |  |  ------------------
  |  |13141|   103k|        }
  |  |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|     32|        TARGET(UNARY_INVERT) {
  |  |  ------------------
  |  |  |  |  132|     32|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13224|       |            #if _Py_TAIL_CALL_INTERP
  |  |13225|       |            int opcode = UNARY_INVERT;
  |  |13226|       |            (void)(opcode);
  |  |13227|       |            #endif
  |  |13228|     32|            frame->instr_ptr = next_instr;
  |  |13229|     32|            next_instr += 1;
  |  |13230|     32|            INSTRUCTION_STATS(UNARY_INVERT);
  |  |  ------------------
  |  |  |  |   71|     32|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13231|     32|            _PyStackRef value;
  |  |13232|     32|            _PyStackRef res;
  |  |13233|     32|            _PyStackRef v;
  |  |13234|       |            // _UNARY_INVERT
  |  |13235|     32|            {
  |  |13236|     32|                value = stack_pointer[-1];
  |  |13237|     32|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13238|     32|                _PyFrame_StackPointerValidate(frame);
  |  |13239|     32|                PyObject *res_o = PyNumber_Invert(PyStackRef_AsPyObjectBorrow(value));
  |  |13240|     32|                _PyFrame_StackPointerInvalidate(frame);
  |  |13241|     32|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (13241:21): [True: 0, False: 32]
  |  |  ------------------
  |  |13242|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13243|      0|                }
  |  |13244|     32|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |13245|     32|                v = value;
  |  |13246|     32|            }
  |  |13247|       |            // _POP_TOP
  |  |13248|      0|            {
  |  |13249|     32|                value = v;
  |  |13250|     32|                stack_pointer[-1] = res;
  |  |13251|     32|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13251:17): [True: 32, False: 0]
  |  |  ------------------
  |  |13252|     32|                _PyFrame_StackPointerValidate(frame);
  |  |13253|     32|                PyStackRef_XCLOSE(value);
  |  |13254|     32|                _PyFrame_StackPointerInvalidate(frame);
  |  |13255|     32|            }
  |  |13256|     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|    }
  |  |  ------------------
  |  |13257|     32|        }
  |  |13258|       |
  |  |13259|      7|        TARGET(UNARY_NEGATIVE) {
  |  |  ------------------
  |  |  |  |  132|      7|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13260|       |            #if _Py_TAIL_CALL_INTERP
  |  |13261|       |            int opcode = UNARY_NEGATIVE;
  |  |13262|       |            (void)(opcode);
  |  |13263|       |            #endif
  |  |13264|      7|            frame->instr_ptr = next_instr;
  |  |13265|      7|            next_instr += 1;
  |  |13266|      7|            INSTRUCTION_STATS(UNARY_NEGATIVE);
  |  |  ------------------
  |  |  |  |   71|      7|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13267|      7|            _PyStackRef value;
  |  |13268|      7|            _PyStackRef res;
  |  |13269|      7|            _PyStackRef v;
  |  |13270|       |            // _UNARY_NEGATIVE
  |  |13271|      7|            {
  |  |13272|      7|                value = stack_pointer[-1];
  |  |13273|      7|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13274|      7|                _PyFrame_StackPointerValidate(frame);
  |  |13275|      7|                PyObject *res_o = PyNumber_Negative(PyStackRef_AsPyObjectBorrow(value));
  |  |13276|      7|                _PyFrame_StackPointerInvalidate(frame);
  |  |13277|      7|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (13277:21): [True: 0, False: 7]
  |  |  ------------------
  |  |13278|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13279|      0|                }
  |  |13280|      7|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |13281|      7|                v = value;
  |  |13282|      7|            }
  |  |13283|       |            // _POP_TOP
  |  |13284|      0|            {
  |  |13285|      7|                value = v;
  |  |13286|      7|                stack_pointer[-1] = res;
  |  |13287|      7|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13287:17): [True: 7, False: 0]
  |  |  ------------------
  |  |13288|      7|                _PyFrame_StackPointerValidate(frame);
  |  |13289|      7|                PyStackRef_XCLOSE(value);
  |  |13290|      7|                _PyFrame_StackPointerInvalidate(frame);
  |  |13291|      7|            }
  |  |13292|      7|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|      7|    { \
  |  |  |  |  201|      7|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|      7|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|      7|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|      7|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|      7|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|      7|        opcode = word.op.code; \
  |  |  |  |  |  |  254|      7|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|      7|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 7]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|      7|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|      7|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|      7|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      7|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|      7|    }
  |  |  ------------------
  |  |13293|      7|        }
  |  |13294|       |
  |  |13295|  97.0k|        TARGET(UNARY_NOT) {
  |  |  ------------------
  |  |  |  |  132|  97.0k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13296|       |            #if _Py_TAIL_CALL_INTERP
  |  |13297|       |            int opcode = UNARY_NOT;
  |  |13298|       |            (void)(opcode);
  |  |13299|       |            #endif
  |  |13300|  97.0k|            frame->instr_ptr = next_instr;
  |  |13301|  97.0k|            next_instr += 1;
  |  |13302|  97.0k|            INSTRUCTION_STATS(UNARY_NOT);
  |  |  ------------------
  |  |  |  |   71|  97.0k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13303|  97.0k|            _PyStackRef value;
  |  |13304|  97.0k|            _PyStackRef res;
  |  |13305|  97.0k|            value = stack_pointer[-1];
  |  |13306|  97.0k|            assert(PyStackRef_BoolCheck(value));
  |  |  ------------------
  |  |  |  Branch (13306:13): [True: 97.0k, False: 0]
  |  |  ------------------
  |  |13307|  97.0k|            res = PyStackRef_IsFalse(value)
  |  |  ------------------
  |  |  |  |  494|  97.0k|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  97.0k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (494:33): [True: 48.5k, False: 48.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13308|  97.0k|            ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  483|  48.5k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  48.5k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  484|   145k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  48.4k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13309|  97.0k|            stack_pointer[-1] = res;
  |  |13310|  97.0k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  97.0k|    { \
  |  |  |  |  201|  97.0k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  97.0k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  97.0k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  97.0k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  97.0k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  97.0k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  97.0k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  97.0k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 97.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  97.0k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  97.0k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  97.0k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  97.0k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  97.0k|    }
  |  |  ------------------
  |  |13311|  97.0k|        }
  |  |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|    147|        TARGET(UNPACK_SEQUENCE) {
  |  |  ------------------
  |  |  |  |  132|    147|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13345|       |            #if _Py_TAIL_CALL_INTERP
  |  |13346|       |            int opcode = UNPACK_SEQUENCE;
  |  |13347|       |            (void)(opcode);
  |  |13348|       |            #endif
  |  |13349|    147|            frame->instr_ptr = next_instr;
  |  |13350|    147|            next_instr += 2;
  |  |13351|    147|            INSTRUCTION_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |   71|    147|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13352|    147|            PREDICTED_UNPACK_SEQUENCE:;
  |  |13353|    147|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |13354|    147|            (void)this_instr;
  |  |13355|    147|            _PyStackRef seq;
  |  |13356|    147|            _PyStackRef *top;
  |  |13357|       |            // _SPECIALIZE_UNPACK_SEQUENCE
  |  |13358|    147|            {
  |  |13359|    147|                seq = stack_pointer[-1];
  |  |13360|    147|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |13361|    147|                (void)counter;
  |  |13362|    147|                #if ENABLE_SPECIALIZATION
  |  |13363|    147|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  355|    147|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (355:5): [True: 67, False: 80]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13364|     67|                    next_instr = this_instr;
  |  |13365|     67|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13366|     67|                    _PyFrame_StackPointerValidate(frame);
  |  |13367|     67|                    _Py_Specialize_UnpackSequence(seq, next_instr, oparg);
  |  |13368|     67|                    _PyFrame_StackPointerInvalidate(frame);
  |  |13369|     67|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|     67|    { \
  |  |  |  |  217|     67|        opcode = next_instr->op.code; \
  |  |  |  |  218|     67|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     67|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|     67|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|     67|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|     67|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|     67|    }
  |  |  ------------------
  |  |13370|     67|                }
  |  |13371|    147|                OPCODE_DEFERRED_INC(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |   90|    147|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |13372|    147|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  377|    147|    do { \
  |  |  |  |  378|    147|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  379|    147|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 147]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13373|    147|                #endif  /* ENABLE_SPECIALIZATION */
  |  |13374|    147|                (void)seq;
  |  |13375|    147|                (void)counter;
  |  |13376|    147|            }
  |  |13377|       |            // _UNPACK_SEQUENCE
  |  |13378|    147|            {
  |  |13379|    147|                top = &stack_pointer[-1 + oparg];
  |  |13380|    147|                PyObject *seq_o = PyStackRef_AsPyObjectSteal(seq);
  |  |13381|    147|                stack_pointer += -1;
  |  |13382|    147|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    147|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13383|    147|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13384|    147|                _PyFrame_StackPointerValidate(frame);
  |  |13385|    147|                int res = _PyEval_UnpackIterableStackRef(tstate, seq_o, oparg, -1, top);
  |  |13386|    147|                _PyFrame_StackPointerInvalidate(frame);
  |  |13387|    147|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13387:17): [True: 80, False: 67]
  |  |  ------------------
  |  |13388|     80|                _PyFrame_StackPointerValidate(frame);
  |  |13389|     80|                Py_DECREF(seq_o);
  |  |  ------------------
  |  |  |  |   80|     80|    do { \
  |  |  |  |   81|     80|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     80|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     80|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 80]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|     80|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     80|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|     80|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 27, False: 53]
  |  |  |  |  ------------------
  |  |  |  |   88|     27|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|     27|    do { \
  |  |  |  |  |  |  113|     27|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|     27|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 27]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|     27|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 27]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|     27|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|     27|            (*dealloc)(op); \
  |  |  |  |   91|     27|        } \
  |  |  |  |   92|     80|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 80]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13390|     80|                _PyFrame_StackPointerInvalidate(frame);
  |  |13391|     80|                if (res == 0) {
  |  |  ------------------
  |  |  |  Branch (13391:21): [True: 0, False: 80]
  |  |  ------------------
  |  |13392|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13393|      0|                }
  |  |13394|     80|            }
  |  |13395|     80|            stack_pointer += oparg;
  |  |13396|     80|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     80|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13397|     80|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|     80|    { \
  |  |  |  |  201|     80|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|     80|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|     80|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|     80|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|     80|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|     80|        opcode = word.op.code; \
  |  |  |  |  |  |  254|     80|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|     80|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 80]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|     80|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|     80|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|     80|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     80|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|     80|    }
  |  |  ------------------
  |  |13398|     80|        }
  |  |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|    168|        TARGET(UNPACK_SEQUENCE_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|    168|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13461|       |            #if _Py_TAIL_CALL_INTERP
  |  |13462|       |            int opcode = UNPACK_SEQUENCE_TUPLE;
  |  |13463|       |            (void)(opcode);
  |  |13464|       |            #endif
  |  |13465|    168|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13466|    168|            (void)this_instr;
  |  |13467|    168|            frame->instr_ptr = next_instr;
  |  |13468|    168|            next_instr += 2;
  |  |13469|    168|            INSTRUCTION_STATS(UNPACK_SEQUENCE_TUPLE);
  |  |  ------------------
  |  |  |  |   71|    168|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13470|    168|            static_assert(INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE == 1, "incorrect cache size");
  |  |13471|    168|            _PyStackRef tos;
  |  |13472|    168|            _PyStackRef seq;
  |  |13473|    168|            _PyStackRef *values;
  |  |13474|       |            // _GUARD_TOS_TUPLE
  |  |13475|    168|            {
  |  |13476|    168|                tos = stack_pointer[-1];
  |  |13477|    168|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |13478|    168|                if (!PyTuple_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   28|    168|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    168|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    168|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    168|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13478:21): [True: 0, False: 168]
  |  |  ------------------
  |  |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|    168|            }
  |  |13484|       |            /* Skip 1 cache entry */
  |  |13485|       |            // _UNPACK_SEQUENCE_TUPLE
  |  |13486|    168|            {
  |  |13487|    168|                seq = tos;
  |  |13488|    168|                values = &stack_pointer[-1];
  |  |13489|    168|                PyObject *seq_o = PyStackRef_AsPyObjectBorrow(seq);
  |  |13490|    168|                assert(PyTuple_CheckExact(seq_o));
  |  |  ------------------
  |  |  |  Branch (13490:17): [True: 168, False: 0]
  |  |  ------------------
  |  |13491|    168|                if (PyTuple_GET_SIZE(seq_o) != oparg) {
  |  |  ------------------
  |  |  |  |   27|    168|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    168|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    168|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13491:21): [True: 0, False: 168]
  |  |  ------------------
  |  |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|    168|                STAT_INC(UNPACK_SEQUENCE, hit);
  |  |  ------------------
  |  |  |  |   73|    168|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13497|    168|                PyObject **items = _PyTuple_ITEMS(seq_o);
  |  |  ------------------
  |  |  |  |   26|    168|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    336|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 168, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13498|    720|                for (int i = oparg; --i >= 0; ) {
  |  |  ------------------
  |  |  |  Branch (13498:37): [True: 552, False: 168]
  |  |  ------------------
  |  |13499|    552|                    *values++ = PyStackRef_FromPyObjectNew(items[i]);
  |  |  ------------------
  |  |  |  |  611|    552|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    552|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    552|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13500|    552|                }
  |  |13501|    168|                stack_pointer += -1 + oparg;
  |  |13502|    168|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    168|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13503|    168|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13504|    168|                _PyFrame_StackPointerValidate(frame);
  |  |13505|    168|                PyStackRef_CLOSE(seq);
  |  |13506|    168|                _PyFrame_StackPointerInvalidate(frame);
  |  |13507|    168|            }
  |  |13508|    168|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    168|    { \
  |  |  |  |  201|    168|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    168|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    168|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    168|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    168|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    168|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    168|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    168|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 168]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    168|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    168|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    168|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    168|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    168|    }
  |  |  ------------------
  |  |13509|    168|        }
  |  |13510|       |
  |  |13511|  1.19M|        TARGET(UNPACK_SEQUENCE_TWO_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|  1.19M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13512|       |            #if _Py_TAIL_CALL_INTERP
  |  |13513|       |            int opcode = UNPACK_SEQUENCE_TWO_TUPLE;
  |  |13514|       |            (void)(opcode);
  |  |13515|       |            #endif
  |  |13516|  1.19M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |13517|  1.19M|            (void)this_instr;
  |  |13518|  1.19M|            frame->instr_ptr = next_instr;
  |  |13519|  1.19M|            next_instr += 2;
  |  |13520|  1.19M|            INSTRUCTION_STATS(UNPACK_SEQUENCE_TWO_TUPLE);
  |  |  ------------------
  |  |  |  |   71|  1.19M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13521|  1.19M|            static_assert(INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE == 1, "incorrect cache size");
  |  |13522|  1.19M|            _PyStackRef tos;
  |  |13523|  1.19M|            _PyStackRef seq;
  |  |13524|  1.19M|            _PyStackRef val1;
  |  |13525|  1.19M|            _PyStackRef val0;
  |  |13526|       |            // _GUARD_TOS_TUPLE
  |  |13527|  1.19M|            {
  |  |13528|  1.19M|                tos = stack_pointer[-1];
  |  |13529|  1.19M|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |13530|  1.19M|                if (!PyTuple_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   28|  1.19M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.19M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13530:21): [True: 0, False: 1.19M]
  |  |  ------------------
  |  |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|  1.19M|            }
  |  |13536|       |            /* Skip 1 cache entry */
  |  |13537|       |            // _UNPACK_SEQUENCE_TWO_TUPLE
  |  |13538|  1.19M|            {
  |  |13539|  1.19M|                seq = tos;
  |  |13540|  1.19M|                assert(oparg == 2);
  |  |  ------------------
  |  |  |  Branch (13540:17): [True: 1.19M, False: 0]
  |  |  ------------------
  |  |13541|  1.19M|                PyObject *seq_o = PyStackRef_AsPyObjectBorrow(seq);
  |  |13542|  1.19M|                assert(PyTuple_CheckExact(seq_o));
  |  |  ------------------
  |  |  |  Branch (13542:17): [True: 1.19M, False: 0]
  |  |  ------------------
  |  |13543|  1.19M|                if (PyTuple_GET_SIZE(seq_o) != 2) {
  |  |  ------------------
  |  |  |  |   27|  1.19M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (13543:21): [True: 0, False: 1.19M]
  |  |  ------------------
  |  |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|  1.19M|                STAT_INC(UNPACK_SEQUENCE, hit);
  |  |  ------------------
  |  |  |  |   73|  1.19M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |13549|  1.19M|                val0 = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(seq_o, 0));
  |  |  ------------------
  |  |  |  |  611|  1.19M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:38): [True: 1.19M, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13550|  1.19M|                val1 = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(seq_o, 1));
  |  |  ------------------
  |  |  |  |  611|  1.19M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:38): [True: 1.19M, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13551|      0|                stack_pointer[-1] = val1;
  |  |13552|  1.19M|                stack_pointer[0] = val0;
  |  |13553|  1.19M|                stack_pointer += 1;
  |  |13554|  1.19M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.19M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13555|  1.19M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13556|  1.19M|                _PyFrame_StackPointerValidate(frame);
  |  |13557|  1.19M|                PyStackRef_CLOSE(seq);
  |  |13558|  1.19M|                _PyFrame_StackPointerInvalidate(frame);
  |  |13559|  1.19M|            }
  |  |13560|  1.19M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.19M|    { \
  |  |  |  |  201|  1.19M|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  1.19M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  1.19M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  1.19M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  1.19M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  1.19M|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  1.19M|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  1.19M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 1.19M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.19M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.19M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.19M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.19M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.19M|    }
  |  |  ------------------
  |  |13561|  1.19M|        }
  |  |13562|       |
  |  |13563|    184|        TARGET(WITH_EXCEPT_START) {
  |  |  ------------------
  |  |  |  |  132|    184|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13564|       |            #if _Py_TAIL_CALL_INTERP
  |  |13565|       |            int opcode = WITH_EXCEPT_START;
  |  |13566|       |            (void)(opcode);
  |  |13567|       |            #endif
  |  |13568|    184|            frame->instr_ptr = next_instr;
  |  |13569|    184|            next_instr += 1;
  |  |13570|    184|            INSTRUCTION_STATS(WITH_EXCEPT_START);
  |  |  ------------------
  |  |  |  |   71|    184|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13571|    184|            _PyStackRef exit_func;
  |  |13572|    184|            _PyStackRef exit_self;
  |  |13573|    184|            _PyStackRef lasti;
  |  |13574|    184|            _PyStackRef val;
  |  |13575|    184|            _PyStackRef res;
  |  |13576|    184|            val = stack_pointer[-1];
  |  |13577|    184|            lasti = stack_pointer[-3];
  |  |13578|    184|            exit_self = stack_pointer[-4];
  |  |13579|    184|            exit_func = stack_pointer[-5];
  |  |13580|    184|            PyObject *exc, *tb;
  |  |13581|    184|            PyObject *val_o = PyStackRef_AsPyObjectBorrow(val);
  |  |13582|    184|            PyObject *exit_func_o = PyStackRef_AsPyObjectBorrow(exit_func);
  |  |13583|    184|            assert(val_o && PyExceptionInstance_Check(val_o));
  |  |  ------------------
  |  |  |  Branch (13583:13): [True: 184, False: 0]
  |  |  |  Branch (13583:13): [True: 184, False: 0]
  |  |  ------------------
  |  |13584|    184|            exc = PyExceptionInstance_Class(val_o);
  |  |  ------------------
  |  |  |  |   69|    184|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    184|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    184|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13585|    184|            PyObject *original_tb = tb = PyException_GetTraceback(val_o);
  |  |13586|    184|            if (tb == NULL) {
  |  |  ------------------
  |  |  |  Branch (13586:17): [True: 0, False: 184]
  |  |  ------------------
  |  |13587|      0|                tb = Py_None;
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  |  |13588|      0|            }
  |  |13589|    184|            assert(PyStackRef_IsTaggedInt(lasti));
  |  |  ------------------
  |  |  |  Branch (13589:13): [True: 184, False: 0]
  |  |  ------------------
  |  |13590|    184|            (void)lasti;
  |  |13591|    184|            PyObject* res_o;
  |  |13592|    184|            {
  |  |13593|    184|                PyObject *stack[5] = {NULL, PyStackRef_AsPyObjectBorrow(exit_self), exc, val_o, tb};
  |  |13594|    184|                int has_self = !PyStackRef_IsNull(exit_self);
  |  |  ------------------
  |  |  |  |  482|    184|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  479|    184|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    184|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13595|    184|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13596|    184|                _PyFrame_StackPointerValidate(frame);
  |  |13597|    184|                res_o = PyObject_Vectorcall(exit_func_o, stack + 2 - has_self,
  |  |13598|    184|                    (3 + has_self) | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
  |  |  ------------------
  |  |  |  |  287|    184|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    184|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13599|    184|                _PyFrame_StackPointerInvalidate(frame);
  |  |13600|    184|            }
  |  |13601|    184|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13601:13): [True: 184, False: 0]
  |  |  ------------------
  |  |13602|    184|            _PyFrame_StackPointerValidate(frame);
  |  |13603|    184|            Py_XDECREF(original_tb);
  |  |  ------------------
  |  |  |  |   69|    184|    do { \
  |  |  |  |   70|    184|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    184|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    184|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|    184|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 184, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   72|    184|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|    184|    do { \
  |  |  |  |  |  |   81|    184|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    184|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    184|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|    184|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|    184|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|    184|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|    184|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 184]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|    184|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|    184|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|    184|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 184]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   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|    184|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 184]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   73|    184|        } \
  |  |  |  |   74|    184|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 184]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13604|    184|            _PyFrame_StackPointerInvalidate(frame);
  |  |13605|    184|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (13605:17): [True: 0, False: 184]
  |  |  ------------------
  |  |13606|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13607|      0|            }
  |  |13608|    184|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  |13609|    184|            stack_pointer[0] = res;
  |  |13610|    184|            stack_pointer += 1;
  |  |13611|    184|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    184|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13612|    184|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    184|    { \
  |  |  |  |  201|    184|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|    184|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|    184|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|    184|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|    184|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|    184|        opcode = word.op.code; \
  |  |  |  |  |  |  254|    184|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|    184|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 184]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    184|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    184|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    184|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    184|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    184|    }
  |  |  ------------------
  |  |13613|    184|        }
  |  |13614|       |
  |  |13615|  70.3k|        TARGET(YIELD_VALUE) {
  |  |  ------------------
  |  |  |  |  132|  70.3k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13616|       |            #if _Py_TAIL_CALL_INTERP
  |  |13617|       |            int opcode = YIELD_VALUE;
  |  |13618|       |            (void)(opcode);
  |  |13619|       |            #endif
  |  |13620|  70.3k|            frame->instr_ptr = next_instr;
  |  |13621|  70.3k|            next_instr += 1;
  |  |13622|  70.3k|            INSTRUCTION_STATS(YIELD_VALUE);
  |  |  ------------------
  |  |  |  |   71|  70.3k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13623|  70.3k|            opcode = YIELD_VALUE;
  |  |  ------------------
  |  |  |  |  129|  70.3k|#define YIELD_VALUE                            116
  |  |  ------------------
  |  |13624|  70.3k|            _PyStackRef value;
  |  |13625|  70.3k|            _PyStackRef retval;
  |  |13626|       |            // _MAKE_HEAP_SAFE
  |  |13627|  70.3k|            {
  |  |13628|  70.3k|                value = stack_pointer[-1];
  |  |13629|  70.3k|                value = PyStackRef_MakeHeapSafe(value);
  |  |13630|  70.3k|            }
  |  |13631|       |            // _YIELD_VALUE
  |  |13632|  70.3k|            {
  |  |13633|  70.3k|                retval = value;
  |  |13634|  70.3k|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (13634:17): [True: 70.3k, False: 0]
  |  |  ------------------
  |  |13635|  70.3k|                frame->instr_ptr++;
  |  |13636|  70.3k|                PyGenObject *gen = _PyGen_GetGeneratorFromFrame(frame);
  |  |13637|  70.3k|                assert(FRAME_SUSPENDED_YIELD_FROM == FRAME_SUSPENDED + 1);
  |  |  ------------------
  |  |  |  Branch (13637:17): [True: 70.3k, Folded]
  |  |  ------------------
  |  |13638|  70.3k|                assert(oparg == 0 || oparg == 1);
  |  |  ------------------
  |  |  |  Branch (13638:17): [True: 70.3k, False: 11]
  |  |  |  Branch (13638:17): [True: 11, False: 0]
  |  |  ------------------
  |  |13639|  70.3k|                _PyStackRef temp = retval;
  |  |13640|  70.3k|                stack_pointer += -1;
  |  |13641|  70.3k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  70.3k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13642|  70.3k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13643|  70.3k|                _PyFrame_StackPointerValidate(frame);
  |  |13644|  70.3k|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|  70.3k|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  |13645|  70.3k|                tstate->exc_info = gen->gi_exc_state.previous_item;
  |  |13646|  70.3k|                gen->gi_exc_state.previous_item = NULL;
  |  |13647|  70.3k|                _Py_LeaveRecursiveCallPy(tstate);
  |  |13648|  70.3k|                _PyInterpreterFrame *gen_frame = frame;
  |  |13649|  70.3k|                _PyThreadState_UpdateLastProfiledFrame(tstate, gen_frame, gen_frame->previous);
  |  |  ------------------
  |  |  |  |  325|  70.3k|    do { \
  |  |  |  |  326|  70.3k|        PyThreadState *tstate_ = (tstate); \
  |  |  |  |  327|  70.3k|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  |  |  328|  70.3k|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (328:13): [True: 0, False: 70.3k]
  |  |  |  |  ------------------
  |  |  |  |  329|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  |  |  330|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  |  |  331|      0|        } \
  |  |  |  |  332|  70.3k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (332:14): [Folded, False: 70.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13650|  70.3k|                frame = tstate->current_frame = frame->previous;
  |  |13651|  70.3k|                gen_frame->previous = NULL;
  |  |13652|  70.3k|                ((_PyThreadStateImpl *)tstate)->generator_return_kind = GENERATOR_YIELD;
  |  |13653|  70.3k|                FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_SUSPENDED + oparg);
  |  |  ------------------
  |  |  |  |  167|  70.3k|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |13654|  70.3k|                assert(INLINE_CACHE_ENTRIES_SEND == INLINE_CACHE_ENTRIES_FOR_ITER);
  |  |  ------------------
  |  |  |  Branch (13654:17): [True: 70.3k, 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|  70.3k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13664|  70.3k|                _PyFrame_StackPointerInvalidate(frame);
  |  |13665|  70.3k|                LOAD_IP(1 + INLINE_CACHE_ENTRIES_SEND);
  |  |  ------------------
  |  |  |  |  441|  70.3k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  442|  70.3k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  443|  70.3k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (443:14): [Folded, False: 70.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13666|  70.3k|                value = temp;
  |  |13667|  70.3k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  70.3k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |13668|  70.3k|            }
  |  |13669|      0|            stack_pointer[0] = value;
  |  |13670|  70.3k|            stack_pointer += 1;
  |  |13671|  70.3k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  70.3k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13672|  70.3k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  70.3k|    { \
  |  |  |  |  201|  70.3k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  70.3k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  70.3k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  70.3k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  70.3k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  70.3k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  70.3k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  70.3k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 70.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  70.3k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  70.3k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  70.3k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  70.3k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  70.3k|    }
  |  |  ------------------
  |  |13673|  70.3k|        }
  |  |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|    133|        LABEL(pop_1_error)
  |  |  ------------------
  |  |  |  |  137|    133|#  define LABEL(name) name:
  |  |  ------------------
  |  |13709|    133|        {
  |  |13710|    133|            stack_pointer -= 1;
  |  |13711|    133|            assert(WITHIN_STACK_BOUNDS());
  |  |  ------------------
  |  |  |  Branch (13711:13): [True: 133, False: 0]
  |  |  |  Branch (13711:13): [True: 133, False: 0]
  |  |  |  Branch (13711:13): [True: 0, False: 133]
  |  |  ------------------
  |  |13712|    133|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    133|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13713|      0|        }
  |  |13714|       |
  |  |13715|  43.1k|        LABEL(error)
  |  |  ------------------
  |  |  |  |  137|  43.1k|#  define LABEL(name) name:
  |  |  ------------------
  |  |13716|  43.1k|        {
  |  |13717|  43.1k|            _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|  43.1k|            assert(_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (13727:13): [True: 43.1k, False: 0]
  |  |  ------------------
  |  |13728|  43.1k|            #endif
  |  |13729|  43.1k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13730|  43.1k|            _PyFrame_StackPointerValidate(frame);
  |  |13731|  43.1k|            STOP_TRACING();
  |  |  ------------------
  |  |  |  |  168|  43.1k|#define STOP_TRACING() ((void)(0));
  |  |  ------------------
  |  |13732|  43.1k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13733|  43.1k|            _PyFrame_StackPointerInvalidate(frame);
  |  |13734|  43.1k|            assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (13734:13): [True: 43.1k, False: 0]
  |  |  ------------------
  |  |13735|  43.1k|            if (!_PyFrame_IsIncomplete(frame)) {
  |  |  ------------------
  |  |  |  Branch (13735:17): [True: 43.1k, False: 0]
  |  |  ------------------
  |  |13736|  43.1k|                assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13736:17): [True: 43.1k, False: 0]
  |  |  ------------------
  |  |13737|  43.1k|                _PyFrame_StackPointerValidate(frame);
  |  |13738|  43.1k|                PyFrameObject *f = _PyFrame_GetFrameObject(frame);
  |  |13739|  43.1k|                _PyFrame_StackPointerInvalidate(frame);
  |  |13740|  43.1k|                if (f != NULL) {
  |  |  ------------------
  |  |  |  Branch (13740:21): [True: 43.1k, False: 0]
  |  |  ------------------
  |  |13741|  43.1k|                    assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13741:21): [True: 43.1k, False: 0]
  |  |  ------------------
  |  |13742|  43.1k|                    _PyFrame_StackPointerValidate(frame);
  |  |13743|  43.1k|                    PyTraceBack_Here(f);
  |  |13744|  43.1k|                    _PyFrame_StackPointerInvalidate(frame);
  |  |13745|  43.1k|                }
  |  |13746|  43.1k|            }
  |  |13747|  43.1k|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13747:13): [True: 43.1k, False: 0]
  |  |  ------------------
  |  |13748|  43.1k|            _PyFrame_StackPointerValidate(frame);
  |  |13749|  43.1k|            _PyEval_MonitorRaise(tstate, frame, next_instr-1);
  |  |13750|  43.1k|            _PyFrame_StackPointerInvalidate(frame);
  |  |13751|  43.1k|            assert(stack_pointer == _PyFrame_GetStackPointer(frame));
  |  |  ------------------
  |  |  |  Branch (13751:13): [True: 43.1k, False: 0]
  |  |  ------------------
  |  |13752|  43.1k|            _PyFrame_StackPointerValidate(frame);
  |  |13753|  43.1k|            JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|  43.1k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13754|      0|        }
  |  |13755|       |
  |  |13756|  46.8k|        LABEL(exception_unwind)
  |  |  ------------------
  |  |  |  |  137|  46.8k|#  define LABEL(name) name:
  |  |  ------------------
  |  |13757|  46.8k|        {
  |  |13758|  46.8k|            STOP_TRACING();
  |  |  ------------------
  |  |  |  |  168|  46.8k|#define STOP_TRACING() ((void)(0));
  |  |  ------------------
  |  |13759|  46.8k|            int offset = INSTR_OFFSET()-1;
  |  |  ------------------
  |  |  |  |  250|  46.8k|#define INSTR_OFFSET() ((int)(next_instr - _PyFrame_GetBytecode(frame)))
  |  |  ------------------
  |  |13760|  46.8k|            int level, handler, lasti;
  |  |13761|  46.8k|            int handled = get_exception_handler(_PyFrame_GetCode(frame), offset, &level, &handler, &lasti);
  |  |13762|  46.8k|            if (handled == 0) {
  |  |  ------------------
  |  |  |  Branch (13762:17): [True: 4.42k, False: 42.3k]
  |  |  ------------------
  |  |13763|  4.42k|                assert(_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (13763:17): [True: 4.42k, False: 0]
  |  |  ------------------
  |  |13764|  4.42k|                _PyStackRef *stackbase = _PyFrame_Stackbase(frame);
  |  |13765|  12.8k|                while (frame->stackpointer > stackbase) {
  |  |  ------------------
  |  |  |  Branch (13765:24): [True: 8.40k, False: 4.42k]
  |  |  ------------------
  |  |13766|  8.40k|                    _PyStackRef ref = _PyFrame_StackPop(frame);
  |  |13767|  8.40k|                    PyStackRef_XCLOSE(ref);
  |  |13768|  8.40k|                }
  |  |13769|  4.42k|                monitor_unwind(tstate, frame, next_instr-1);
  |  |13770|  4.42k|                JUMP_TO_LABEL(exit_unwind);
  |  |  ------------------
  |  |  |  |  135|  4.42k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13771|      0|            }
  |  |13772|  46.8k|            assert(STACK_LEVEL() >= level);
  |  |  ------------------
  |  |  |  Branch (13772:13): [True: 42.3k, False: 0]
  |  |  ------------------
  |  |13773|  42.3k|            _PyStackRef *new_top = _PyFrame_Stackbase(frame) + level;
  |  |13774|  42.3k|            assert(frame->stackpointer >= new_top);
  |  |  ------------------
  |  |  |  Branch (13774:13): [True: 42.3k, False: 0]
  |  |  ------------------
  |  |13775|   154k|            while (frame->stackpointer > new_top) {
  |  |  ------------------
  |  |  |  Branch (13775:20): [True: 111k, False: 42.3k]
  |  |  ------------------
  |  |13776|   111k|                _PyStackRef ref = _PyFrame_StackPop(frame);
  |  |13777|   111k|                PyStackRef_XCLOSE(ref);
  |  |13778|   111k|            }
  |  |13779|  42.3k|            if (lasti) {
  |  |  ------------------
  |  |  |  Branch (13779:17): [True: 3.54k, False: 38.8k]
  |  |  ------------------
  |  |13780|  3.54k|                int frame_lasti = _PyInterpreterFrame_LASTI(frame);
  |  |  ------------------
  |  |  |  |   18|  3.54k|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  |  |  ------------------
  |  |13781|  3.54k|                _PyStackRef lasti = PyStackRef_TagInt(frame_lasti);
  |  |13782|  3.54k|                _PyFrame_StackPush(frame, lasti);
  |  |13783|  3.54k|            }
  |  |13784|  42.3k|            PyObject *exc = _PyErr_GetRaisedException(tstate);
  |  |13785|  42.3k|            _PyFrame_StackPush(frame, PyStackRef_FromPyObjectSteal(exc));
  |  |13786|  42.3k|            next_instr = _PyFrame_GetBytecode(frame) + handler;
  |  |13787|  42.3k|            int err = monitor_handled(tstate, frame, next_instr, exc);
  |  |13788|  42.3k|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (13788:17): [True: 0, False: 42.3k]
  |  |  ------------------
  |  |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|  42.3k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13797|  42.3k|            _PyFrame_StackPointerInvalidate(frame);
  |  |13798|       |            #if _Py_TAIL_CALL_INTERP
  |  |13799|       |            int opcode;
  |  |13800|       |            #endif
  |  |13801|  42.3k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  42.3k|    { \
  |  |  |  |  201|  42.3k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|  42.3k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  42.3k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|  42.3k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|  42.3k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  42.3k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|  42.3k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|  42.3k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 42.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  42.3k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  42.3k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  42.3k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  42.3k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  42.3k|    }
  |  |  ------------------
  |  |13802|  42.3k|        }
  |  |13803|       |
  |  |13804|  4.42k|        LABEL(exit_unwind)
  |  |  ------------------
  |  |  |  |  137|  4.42k|#  define LABEL(name) name:
  |  |  ------------------
  |  |13805|  4.42k|        {
  |  |13806|  4.42k|            assert(_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (13806:13): [True: 4.42k, False: 0]
  |  |  ------------------
  |  |13807|  4.42k|            DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  347|  4.42k|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  |13808|  4.42k|            JUMP_TO_LABEL(exit_unwind_notrace);
  |  |  ------------------
  |  |  |  |  135|  4.42k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13809|      0|        }
  |  |13810|       |
  |  |13811|  4.42k|        LABEL(exit_unwind_notrace)
  |  |  ------------------
  |  |  |  |  137|  4.42k|#  define LABEL(name) name:
  |  |  ------------------
  |  |13812|  4.42k|        {
  |  |13813|  4.42k|            assert(_PyErr_Occurred(tstate));
  |  |  ------------------
  |  |  |  Branch (13813:13): [True: 4.42k, False: 0]
  |  |  ------------------
  |  |13814|  4.42k|            _Py_LeaveRecursiveCallPy(tstate);
  |  |13815|  4.42k|            assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |  ------------------
  |  |  |  Branch (13815:13): [True: 4.42k, False: 0]
  |  |  ------------------
  |  |13816|  4.42k|            _PyInterpreterFrame *dying = frame;
  |  |13817|  4.42k|            frame = tstate->current_frame = dying->previous;
  |  |13818|  4.42k|            _PyEval_FrameClearAndPop(tstate, dying);
  |  |13819|  4.42k|            frame->return_offset = 0;
  |  |13820|  4.42k|            if (frame->owner == FRAME_OWNED_BY_INTERPRETER) {
  |  |  ------------------
  |  |  |  Branch (13820:17): [True: 1.82k, False: 2.60k]
  |  |  ------------------
  |  |13821|  1.82k|                tstate->current_frame = frame->previous;
  |  |13822|  1.82k|                #if !_Py_TAIL_CALL_INTERP
  |  |13823|  1.82k|                assert(frame == &entry.frame);
  |  |  ------------------
  |  |  |  Branch (13823:17): [True: 1.82k, False: 0]
  |  |  ------------------
  |  |13824|  1.82k|                #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|  1.82k|                return NULL;
  |  |13834|  1.82k|            }
  |  |13835|  2.60k|            next_instr = frame->instr_ptr;
  |  |13836|  2.60k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13837|  2.60k|            _PyFrame_StackPointerInvalidate(frame);
  |  |13838|  2.60k|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|  2.60k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13839|      0|        }
  |  |13840|       |
  |  |13841|   215k|        LABEL(start_frame)
  |  |  ------------------
  |  |  |  |  137|   215k|#  define LABEL(name) name:
  |  |  ------------------
  |  |13842|   215k|        {
  |  |13843|       |            #ifdef Py_DEBUG
  |  |13844|       |            assert(frame->stackpointer_valid == 1);
  |  |13845|       |            #endif
  |  |13846|   215k|            int too_deep = _Py_EnterRecursivePy(tstate);
  |  |13847|   215k|            if (too_deep) {
  |  |  ------------------
  |  |  |  Branch (13847:17): [True: 0, False: 215k]
  |  |  ------------------
  |  |13848|      0|                JUMP_TO_LABEL(exit_unwind_notrace);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13849|      0|            }
  |  |13850|   215k|            DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  346|   215k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  |13851|   215k|            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|   215k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13861|   215k|            _PyFrame_StackPointerInvalidate(frame);
  |  |13862|       |            #if _Py_TAIL_CALL_INTERP
  |  |13863|       |            int opcode;
  |  |13864|       |            #endif
  |  |13865|   215k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   215k|    { \
  |  |  |  |  201|   215k|        _PyFrame_StackAssertInvalid(frame); \
  |  |  |  |  202|   215k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|   215k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  252|   215k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  158|   215k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  253|   215k|        opcode = word.op.code; \
  |  |  |  |  |  |  254|   215k|        oparg = word.op.arg; \
  |  |  |  |  |  |  255|   215k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (255:14): [Folded, False: 215k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   215k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   215k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   215k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   215k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   215k|    }
  |  |  ------------------
  |  |13866|   215k|        }
  |  |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|  6.64M|{
 2011|       |    // By this point, tstate->current_frame is already set to the parent frame.
 2012|  6.64M|    _PyThreadState_UpdateLastProfiledFrame(tstate, frame, tstate->current_frame);
  ------------------
  |  |  325|  6.64M|    do { \
  |  |  326|  6.64M|        PyThreadState *tstate_ = (tstate); \
  |  |  327|  6.64M|        _PyInterpreterFrame *frame_ = (frame); \
  |  |  328|  6.64M|        if (tstate_->last_profiled_frame == frame_) { \
  |  |  ------------------
  |  |  |  Branch (328:13): [True: 0, False: 6.64M]
  |  |  ------------------
  |  |  329|      0|            tstate_->last_profiled_frame = (previous); \
  |  |  330|      0|            tstate_->last_profiled_frame_seq++; \
  |  |  331|      0|        } \
  |  |  332|  6.64M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (332:14): [Folded, False: 6.64M]
  |  |  ------------------
  ------------------
 2013|       |
 2014|  6.64M|    if (frame->owner == FRAME_OWNED_BY_THREAD) {
  ------------------
  |  Branch (2014:9): [True: 6.64M, False: 1.25k]
  ------------------
 2015|  6.64M|        clear_thread_frame(tstate, frame);
 2016|  6.64M|    }
 2017|  1.25k|    else {
 2018|  1.25k|        clear_gen_frame(tstate, frame);
 2019|  1.25k|    }
 2020|  6.64M|}
_PyEvalFramePushAndInit:
 2027|   201k|{
 2028|   201k|    PyFunctionObject *func_obj = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(func);
 2029|   201k|    PyCodeObject * code = (PyCodeObject *)func_obj->func_code;
 2030|   201k|    CALL_STAT_INC(frames_pushed);
  ------------------
  |  |   76|   201k|#define CALL_STAT_INC(name) ((void)0)
  ------------------
 2031|   201k|    _PyInterpreterFrame *frame = _PyThreadState_PushFrame(tstate, code->co_framesize);
 2032|   201k|    if (frame == NULL) {
  ------------------
  |  Branch (2032:9): [True: 0, False: 201k]
  ------------------
 2033|      0|        goto fail;
 2034|      0|    }
 2035|   201k|    _PyFrame_Initialize(tstate, frame, func, locals, code, 0, previous);
 2036|   201k|    if (initialize_locals(tstate, func_obj, frame->localsplus, args, argcount, kwnames)) {
  ------------------
  |  Branch (2036:9): [True: 0, False: 201k]
  ------------------
 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|   201k|    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|   201k|}
_PyEvalFramePushAndInit_Ex:
 2066|    110|{
 2067|    110|    bool has_dict = (kwargs != NULL && PyDict_GET_SIZE(kwargs) > 0);
  ------------------
  |  |   63|     87|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2067:22): [True: 87, False: 23]
  |  Branch (2067:40): [True: 0, False: 87]
  ------------------
 2068|    110|    PyObject *kwnames = NULL;
 2069|    110|    _PyStackRef *newargs;
 2070|    110|    PyObject *const *object_array = NULL;
 2071|    110|    _PyStackRef stack_array[8] = {0};
 2072|    110|    if (has_dict) {
  ------------------
  |  Branch (2072:9): [True: 0, False: 110]
  ------------------
 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|    110|    else {
 2091|    110|        if (nargs <= 8) {
  ------------------
  |  Branch (2091:13): [True: 106, False: 4]
  ------------------
 2092|    106|            newargs = stack_array;
 2093|    106|        }
 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|    513|        for (Py_ssize_t i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2103:32): [True: 403, False: 110]
  ------------------
 2104|    403|            newargs[i] = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(callargs, i));
  ------------------
  |  |  611|    403|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    403|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    806|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 403, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2105|    403|        }
 2106|    110|    }
 2107|    110|    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
 2108|    110|        tstate, func, locals,
 2109|    110|        newargs, nargs, kwnames, previous
 2110|    110|    );
 2111|    110|    if (has_dict) {
  ------------------
  |  Branch (2111:9): [True: 0, False: 110]
  ------------------
 2112|      0|        _PyStack_UnpackDict_FreeNoDecRef(object_array, kwnames);
 2113|      0|    }
 2114|    110|    else if (nargs > 8) {
  ------------------
  |  Branch (2114:14): [True: 4, False: 106]
  ------------------
 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|    110|    Py_DECREF(callargs);
  ------------------
  |  |   80|    110|    do { \
  |  |   81|    110|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|    110|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|    110|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|    110|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    110|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 110]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|    110|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|    110|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|    110|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 95, False: 15]
  |  |  ------------------
  |  |   88|     95|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|     95|    do { \
  |  |  |  |  113|     95|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|     95|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 95]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|     95|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 95]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|     95|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|     95|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|     95|            (*dealloc)(op); \
  |  |   91|     95|        } \
  |  |   92|    110|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 110]
  |  |  ------------------
  ------------------
 2121|    110|    Py_XDECREF(kwargs);
  ------------------
  |  |   69|    110|    do { \
  |  |   70|    110|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|    110|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    110|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|    110|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 87, False: 23]
  |  |  ------------------
  |  |   72|     87|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|     87|        } \
  |  |   74|    110|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 110]
  |  |  ------------------
  ------------------
 2122|    110|    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|    110|}
_PyEval_Vector:
 2134|   142k|{
 2135|   142k|    size_t total_args = argcount;
 2136|   142k|    if (kwnames) {
  ------------------
  |  Branch (2136:9): [True: 329, False: 141k]
  ------------------
 2137|    329|        total_args += PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|    329|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    329|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    329|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2138|    329|    }
 2139|   142k|    _PyStackRef stack_array[8] = {0};
 2140|   142k|    _PyStackRef *arguments;
 2141|   142k|    if (total_args <= 8) {
  ------------------
  |  Branch (2141:9): [True: 141k, False: 66]
  ------------------
 2142|   141k|        arguments = stack_array;
 2143|   141k|    }
 2144|     66|    else {
 2145|     66|        arguments = PyMem_Malloc(sizeof(_PyStackRef) * total_args);
 2146|     66|        if (arguments == NULL) {
  ------------------
  |  Branch (2146:13): [True: 0, False: 66]
  ------------------
 2147|      0|            return PyErr_NoMemory();
 2148|      0|        }
 2149|     66|    }
 2150|       |    /* _PyEvalFramePushAndInit consumes the references
 2151|       |     * to func, locals and all its arguments */
 2152|   142k|    Py_XINCREF(locals);
  ------------------
  |  |  514|   142k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   142k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   142k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2153|   666k|    for (size_t i = 0; i < argcount; i++) {
  ------------------
  |  Branch (2153:24): [True: 524k, False: 142k]
  ------------------
 2154|   524k|        arguments[i] = PyStackRef_FromPyObjectNew(args[i]);
  ------------------
  |  |  611|   524k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   524k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   524k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2155|   524k|    }
 2156|   142k|    if (kwnames) {
  ------------------
  |  Branch (2156:9): [True: 329, False: 141k]
  ------------------
 2157|    329|        Py_ssize_t kwcount = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|    329|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    329|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    329|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2158|  1.72k|        for (Py_ssize_t i = 0; i < kwcount; i++) {
  ------------------
  |  Branch (2158:32): [True: 1.39k, False: 329]
  ------------------
 2159|  1.39k|            arguments[i+argcount] = PyStackRef_FromPyObjectNew(args[i+argcount]);
  ------------------
  |  |  611|  1.39k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2160|  1.39k|        }
 2161|    329|    }
 2162|   142k|    _PyInterpreterFrame *frame = _PyEvalFramePushAndInit(
 2163|   142k|        tstate, PyStackRef_FromPyObjectNew(func), locals,
  ------------------
  |  |  611|   142k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   142k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   142k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2164|   142k|        arguments, argcount, kwnames, NULL);
 2165|   142k|    if (total_args > 8) {
  ------------------
  |  Branch (2165:9): [True: 66, False: 141k]
  ------------------
 2166|     66|        PyMem_Free(arguments);
 2167|     66|    }
 2168|   142k|    if (frame == NULL) {
  ------------------
  |  Branch (2168:9): [True: 0, False: 142k]
  ------------------
 2169|      0|        return NULL;
 2170|      0|    }
 2171|   142k|    EVAL_CALL_STAT_INC(EVAL_CALL_VECTOR);
  ------------------
  |  |   79|   142k|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
 2172|   142k|    return _PyEval_EvalFrame(tstate, frame, 0);
 2173|   142k|}
_PyEval_UnpackIterableStackRef:
 2350|     80|{
 2351|     80|    int i = 0, j = 0;
 2352|     80|    Py_ssize_t ll = 0;
 2353|     80|    PyObject *it;  /* iter(v) */
 2354|     80|    PyObject *w;
 2355|     80|    PyObject *l = NULL; /* variable list */
 2356|     80|    assert(v != NULL);
  ------------------
  |  Branch (2356:5): [True: 80, False: 0]
  ------------------
 2357|       |
 2358|     80|    it = PyObject_GetIter(v);
 2359|     80|    if (it == NULL) {
  ------------------
  |  Branch (2359:9): [True: 0, False: 80]
  ------------------
 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|    257|    for (; i < argcnt; i++) {
  ------------------
  |  Branch (2370:12): [True: 177, False: 80]
  ------------------
 2371|    177|        w = PyIter_Next(it);
 2372|    177|        if (w == NULL) {
  ------------------
  |  Branch (2372:13): [True: 0, False: 177]
  ------------------
 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|    177|        *--sp = PyStackRef_FromPyObjectSteal(w);
 2391|    177|    }
 2392|       |
 2393|     80|    if (argcntafter == -1) {
  ------------------
  |  Branch (2393:9): [True: 80, False: 0]
  ------------------
 2394|       |        /* We better have exhausted the iterator now. */
 2395|     80|        w = PyIter_Next(it);
 2396|     80|        if (w == NULL) {
  ------------------
  |  Branch (2396:13): [True: 80, False: 0]
  ------------------
 2397|     80|            if (_PyErr_Occurred(tstate))
  ------------------
  |  Branch (2397:17): [True: 0, False: 80]
  ------------------
 2398|      0|                goto Error;
 2399|     80|            Py_DECREF(it);
  ------------------
  |  |   80|     80|    do { \
  |  |   81|     80|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|     80|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|     80|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 80]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|     80|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|     80|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|     80|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 80, False: 0]
  |  |  ------------------
  |  |   88|     80|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|     80|    do { \
  |  |  |  |  113|     80|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|     80|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 80]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|     80|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 80]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|     80|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|     80|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|     80|            (*dealloc)(op); \
  |  |   91|     80|        } \
  |  |   92|     80|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 80]
  |  |  ------------------
  ------------------
 2400|     80|            return 1;
 2401|     80|        }
 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|  43.1k|{
 2457|  43.1k|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_RAISE)) {
  ------------------
  |  |   32|  43.1k|#define PY_MONITORING_EVENT_RAISE 11
  ------------------
  |  Branch (2457:9): [True: 43.1k, False: 0]
  ------------------
 2458|  43.1k|        return;
 2459|  43.1k|    }
 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|      6|{
 2466|      6|    return no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_PY_UNWIND);
  ------------------
  |  |   34|      6|#define PY_MONITORING_EVENT_PY_UNWIND 13
  ------------------
 2467|      6|}
_PyEval_GetFrame:
 2603|    316|{
 2604|    316|    PyThreadState *tstate = _PyThreadState_GET();
 2605|    316|    return _PyThreadState_GetFrame(tstate);
 2606|    316|}
_PyEval_GetBuiltins:
 2624|    121|{
 2625|    121|    _PyInterpreterFrame *frame = _PyThreadState_GetFrame(tstate);
 2626|    121|    if (frame != NULL) {
  ------------------
  |  Branch (2626:9): [True: 117, False: 4]
  ------------------
 2627|    117|        return frame->f_builtins;
 2628|    117|    }
 2629|      4|    return tstate->interp->builtins;
 2630|    121|}
PyEval_GetBuiltins:
 2634|    121|{
 2635|    121|    PyThreadState *tstate = _PyThreadState_GET();
 2636|    121|    return _PyEval_GetBuiltins(tstate);
 2637|    121|}
_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|  52.0k|{
 2747|  52.0k|    PyThreadState *tstate = _PyThreadState_GET();
 2748|  52.0k|    return _PyEval_GetGlobals(tstate);
 2749|  52.0k|}
_PyEval_EnsureBuiltins:
 2809|    120|{
 2810|    120|    PyObject *builtins = get_globals_builtins(globals);
 2811|    120|    if (builtins == NULL) {
  ------------------
  |  Branch (2811:9): [True: 117, False: 3]
  ------------------
 2812|    117|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2812:13): [True: 0, False: 117]
  ------------------
 2813|      0|            return -1;
 2814|      0|        }
 2815|    117|        builtins = PyEval_GetBuiltins();  // borrowed
 2816|    117|        if (builtins == NULL) {
  ------------------
  |  Branch (2816:13): [True: 0, False: 117]
  ------------------
 2817|      0|            assert(_PyErr_Occurred(tstate));
  ------------------
  |  Branch (2817:13): [True: 0, False: 0]
  ------------------
 2818|      0|            return -1;
 2819|      0|        }
 2820|    117|        Py_INCREF(builtins);
  ------------------
  |  |  310|    117|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    117|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    117|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2821|    117|        if (set_globals_builtins(globals, builtins) < 0) {
  ------------------
  |  Branch (2821:13): [True: 0, False: 117]
  ------------------
 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|    117|    }
 2826|    120|    if (p_builtins != NULL) {
  ------------------
  |  Branch (2826:9): [True: 0, False: 120]
  ------------------
 2827|      0|        *p_builtins = builtins;
 2828|      0|    }
 2829|    120|    else {
 2830|       |        Py_DECREF(builtins);
  ------------------
  |  |   80|    120|    do { \
  |  |   81|    120|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|    120|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|    120|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|    120|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    120|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 120]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|    120|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|    120|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|    120|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 120]
  |  |  ------------------
  |  |   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|    120|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 120]
  |  |  ------------------
  ------------------
 2831|    120|    }
 2832|    120|    return 0;
 2833|    120|}
_PyEval_EnsureBuiltinsWithModule:
 2838|  51.9k|{
 2839|  51.9k|    PyObject *builtins = get_globals_builtins(globals);
 2840|  51.9k|    if (builtins == NULL) {
  ------------------
  |  Branch (2840:9): [True: 51.9k, False: 0]
  ------------------
 2841|  51.9k|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2841:13): [True: 0, False: 51.9k]
  ------------------
 2842|      0|            return -1;
 2843|      0|        }
 2844|  51.9k|        builtins = PyImport_ImportModuleLevel("builtins", NULL, NULL, NULL, 0);
 2845|  51.9k|        if (builtins == NULL) {
  ------------------
  |  Branch (2845:13): [True: 0, False: 51.9k]
  ------------------
 2846|      0|            return -1;
 2847|      0|        }
 2848|  51.9k|        if (set_globals_builtins(globals, builtins) < 0) {
  ------------------
  |  Branch (2848:13): [True: 0, False: 51.9k]
  ------------------
 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|  51.9k|    }
 2853|  51.9k|    if (p_builtins != NULL) {
  ------------------
  |  Branch (2853:9): [True: 51.9k, False: 0]
  ------------------
 2854|  51.9k|        *p_builtins = builtins;
 2855|  51.9k|    }
 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|  51.9k|    return 0;
 2860|  51.9k|}
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|   887k|{
 2941|   887k|    if (Py_IsNone(v)) {
  ------------------
  |  |  621|   887k|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|   887k|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 425k, False: 461k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2942|   425k|        return 1;
 2943|   425k|    }
 2944|   461k|    return _PyEval_SliceIndexNotNone(v, pi);
 2945|   887k|}
_PyEval_SliceIndexNotNone:
 2949|   461k|{
 2950|   461k|    PyThreadState *tstate = _PyThreadState_GET();
 2951|   461k|    Py_ssize_t x;
 2952|   461k|    if (PyLong_CheckExact(v) && _PyLong_IsCompact((PyLongObject *)v)) {
  ------------------
  |  |   14|   461k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |   65|   922k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   461k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   461k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 460k, False: 1.04k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2952:33): [True: 459k, False: 625]
  ------------------
 2953|   459k|        *pi = _PyLong_CompactValue((PyLongObject *)v);
 2954|   459k|        return 1;
 2955|   459k|    }
 2956|  1.67k|    if (_PyIndex_Check(v)) {
  ------------------
  |  Branch (2956:9): [True: 631, False: 1.04k]
  ------------------
 2957|    631|        x = PyNumber_AsSsize_t(v, NULL);
 2958|    631|        if (x == -1 && _PyErr_Occurred(tstate))
  ------------------
  |  Branch (2958:13): [True: 0, False: 631]
  |  Branch (2958:24): [True: 0, False: 0]
  ------------------
 2959|      0|            return 0;
 2960|    631|    }
 2961|  1.04k|    else {
 2962|  1.04k|        _PyErr_SetString(tstate, PyExc_TypeError,
 2963|  1.04k|                         "slice indices must be integers or "
 2964|  1.04k|                         "have an __index__ method");
 2965|  1.04k|        return 0;
 2966|  1.04k|    }
 2967|    631|    *pi = x;
 2968|    631|    return 1;
 2969|  1.67k|}
_PyEval_UnpackIndices:
 2975|   424k|{
 2976|   424k|    if (len < 0) {
  ------------------
  |  Branch (2976:9): [True: 0, False: 424k]
  ------------------
 2977|      0|        return 0;
 2978|      0|    }
 2979|   424k|    *istart = 0;
 2980|   424k|    *istop = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|   424k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 2981|   424k|    if (!_PyEval_SliceIndex(start, istart)) {
  ------------------
  |  Branch (2981:9): [True: 0, False: 424k]
  ------------------
 2982|      0|        return 0;
 2983|      0|    }
 2984|   424k|    if (!_PyEval_SliceIndex(stop, istop)) {
  ------------------
  |  Branch (2984:9): [True: 0, False: 424k]
  ------------------
 2985|      0|        return 0;
 2986|      0|    }
 2987|   424k|    PySlice_AdjustIndices(len, istart, istop, 1);
 2988|   424k|    return 1;
 2989|   424k|}
_PyEval_ImportName:
 2995|   194k|{
 2996|   194k|    PyObject *import_func;
 2997|   194k|    if (PyMapping_GetOptionalItem(builtins, &_Py_ID(__import__),
  ------------------
  |  |  921|   194k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   194k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   194k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2997:9): [True: 0, False: 194k]
  ------------------
 2998|   194k|                                  &import_func) < 0) {
 2999|      0|        return NULL;
 3000|      0|    }
 3001|   194k|    if (import_func == NULL) {
  ------------------
  |  Branch (3001:9): [True: 0, False: 194k]
  ------------------
 3002|      0|        _PyErr_SetString(tstate, PyExc_ImportError, "__import__ not found");
 3003|      0|        return NULL;
 3004|      0|    }
 3005|       |
 3006|   194k|    PyObject *res = _PyEval_ImportNameWithImport(
 3007|   194k|        tstate, import_func, globals, locals, name, fromlist, level);
 3008|       |    Py_DECREF(import_func);
  ------------------
  |  |   80|   194k|    do { \
  |  |   81|   194k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|   194k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   194k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|   194k|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|   194k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   194k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   194k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 194k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|   194k|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|   194k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|   194k|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 194k]
  |  |  ------------------
  |  |   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|   194k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 194k]
  |  |  ------------------
  ------------------
 3009|   194k|    return res;
 3010|   194k|}
_PyEval_ImportNameWithImport:
 3016|   194k|{
 3017|   194k|    if (locals == NULL) {
  ------------------
  |  Branch (3017:9): [True: 193k, False: 311]
  ------------------
 3018|   193k|        locals = Py_None;
  ------------------
  |  |  616|   193k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3019|   193k|    }
 3020|       |
 3021|       |    /* Fast path for not overloaded __import__. */
 3022|   194k|    if (_PyImport_IsDefaultImportFunc(tstate->interp, import_func)) {
  ------------------
  |  Branch (3022:9): [True: 194k, False: 0]
  ------------------
 3023|   194k|        int ilevel = PyLong_AsInt(level);
 3024|   194k|        if (ilevel == -1 && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3024:13): [True: 0, False: 194k]
  |  Branch (3024:29): [True: 0, False: 0]
  ------------------
 3025|      0|            return NULL;
 3026|      0|        }
 3027|   194k|        return PyImport_ImportModuleLevelObject(
 3028|   194k|                        name,
 3029|   194k|                        globals,
 3030|   194k|                        locals,
 3031|   194k|                        fromlist,
 3032|   194k|                        ilevel);
 3033|   194k|    }
 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|   194k|}
_PyEval_LazyImportName:
 3089|    272|{
 3090|    272|    PyObject *res = NULL;
 3091|       |    // Check if global policy overrides the local syntax
 3092|    272|    switch (PyImport_GetLazyImportsMode()) {
  ------------------
  |  Branch (3092:13): [True: 272, False: 0]
  ------------------
 3093|      0|        case PyImport_LAZY_ALL:
  ------------------
  |  Branch (3093:9): [True: 0, False: 272]
  ------------------
 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|    272|        case PyImport_LAZY_NORMAL:
  ------------------
  |  Branch (3098:9): [True: 272, False: 0]
  ------------------
 3099|    272|            break;
 3100|    272|    }
 3101|       |
 3102|    272|    if (!lazy) {
  ------------------
  |  Branch (3102:9): [True: 261, 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|    261|        if (is_lazy_import_module_level()) {
  ------------------
  |  Branch (3106:13): [True: 261, False: 0]
  ------------------
 3107|    261|            lazy = check_lazy_import_compatibility(tstate, globals, name, level);
 3108|    261|            if (lazy < 0) {
  ------------------
  |  Branch (3108:17): [True: 0, False: 261]
  ------------------
 3109|      0|                return NULL;
 3110|      0|            }
 3111|    261|        }
 3112|    261|    }
 3113|       |
 3114|    272|    if (!lazy) {
  ------------------
  |  Branch (3114:9): [True: 261, False: 11]
  ------------------
 3115|       |        // Not a lazy import or lazy imports are disabled, fallback to the
 3116|       |        // regular import.
 3117|    261|        return _PyEval_ImportName(tstate, builtins, globals, locals,
 3118|    261|                                  name, fromlist, level);
 3119|    261|    }
 3120|       |
 3121|     11|    PyObject *lazy_import_func;
 3122|     11|    if (PyMapping_GetOptionalItem(builtins, &_Py_ID(__lazy_import__),
  ------------------
  |  |  921|     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|    248|{
 3159|    248|    PyObject *x;
 3160|    248|    PyObject *fullmodname, *mod_name, *origin, *mod_name_or_unknown, *errmsg, *spec;
 3161|       |
 3162|    248|    if (PyObject_GetOptionalAttr(v, name, &x) != 0) {
  ------------------
  |  Branch (3162:9): [True: 247, False: 1]
  ------------------
 3163|    247|        return x;
 3164|    247|    }
 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) {
  ------------------
  |  |  921|      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) {
  ------------------
  |  |  921|      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|  38.8k|{
 3391|  38.8k|    if (PyTuple_Check(right)) {
  ------------------
  |  |   27|  38.8k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  38.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.26k, False: 37.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3392|  1.26k|        Py_ssize_t i, length;
 3393|  1.26k|        length = PyTuple_GET_SIZE(right);
  ------------------
  |  |   27|  1.26k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3394|  3.78k|        for (i = 0; i < length; i++) {
  ------------------
  |  Branch (3394:21): [True: 2.52k, False: 1.26k]
  ------------------
 3395|  2.52k|            PyObject *exc = PyTuple_GET_ITEM(right, i);
  ------------------
  |  |   29|  2.52k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.52k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3395:29): [True: 2.52k, False: 0]
  ------------------
 3396|  2.52k|            if (!PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|  2.52k|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  5.04k|#  define PyType_Check(op) PyType_Check(_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 (766:28): [True: 2.52k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  2.52k|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|  2.52k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2.52k, 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|  2.52k|        }
 3402|  1.26k|    }
 3403|  37.5k|    else {
 3404|  37.5k|        if (!PyExceptionClass_Check(right)) {
  ------------------
  |  |   61|  37.5k|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  75.1k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  37.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  37.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 37.5k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  37.5k|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|  37.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 37.5k, 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|  37.5k|    }
 3410|  38.8k|    return 0;
 3411|  38.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);
  ------------------
  |  |  921|      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|  8.45M|{
 3597|  8.45M|    return _Py_EnterRecursiveCall(where);
 3598|  8.45M|}
Py_LeaveRecursiveCall:
 3601|  5.93M|{
 3602|  5.93M|    _Py_LeaveRecursiveCall();
 3603|  5.93M|}
_PyEval_LoadGlobalStackRef:
 3646|  12.1k|{
 3647|  12.1k|    if (PyAnyDict_CheckExact(globals) && PyAnyDict_CheckExact(builtins)) {
  ------------------
  |  |   41|  24.2k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  12.1k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  24.2k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 12.1k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|      0|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyAnyDict_CheckExact(globals) && PyAnyDict_CheckExact(builtins)) {
  ------------------
  |  |   41|  12.1k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  12.1k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  24.2k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 12.1k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|      0|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|      0|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3648|  12.1k|        _PyDict_LoadGlobalStackRef((PyDictObject *)globals,
 3649|  12.1k|                                    (PyDictObject *)builtins,
 3650|  12.1k|                                    name, writeto);
 3651|  12.1k|        if (PyStackRef_IsNull(*writeto) && !PyErr_Occurred()) {
  ------------------
  |  |  482|  24.2k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|  12.1k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  12.1k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 1, False: 12.1k]
  |  |  ------------------
  ------------------
  |  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);
  ------------------
  |  |  405|      1|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 3656|      1|        }
 3657|  12.1k|    }
 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);
  ------------------
  |  |  405|      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|  12.1k|    PyObject *res_o = PyStackRef_AsPyObjectBorrow(*writeto);
 3684|  12.1k|    if (res_o != NULL && PyLazyImport_CheckExact(res_o)) {
  ------------------
  |  |   15|  12.1k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |   65|  12.1k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 0, False: 12.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3684:9): [True: 12.1k, 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|  12.1k|}
_PyEval_LoadName:
 3728|  5.20k|{
 3729|       |
 3730|  5.20k|    PyObject *value;
 3731|  5.20k|    if (frame->f_locals == NULL) {
  ------------------
  |  Branch (3731:9): [True: 0, False: 5.20k]
  ------------------
 3732|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
 3733|      0|                            "no locals found");
 3734|      0|        return NULL;
 3735|      0|    }
 3736|  5.20k|    if (PyMapping_GetOptionalItem(frame->f_locals, name, &value) < 0) {
  ------------------
  |  Branch (3736:9): [True: 0, False: 5.20k]
  ------------------
 3737|      0|        return NULL;
 3738|      0|    }
 3739|  5.20k|    if (value != NULL) {
  ------------------
  |  Branch (3739:9): [True: 3.58k, False: 1.62k]
  ------------------
 3740|  3.58k|        return value;
 3741|  3.58k|    }
 3742|  1.62k|    if (PyDict_GetItemRef(frame->f_globals, name, &value) < 0) {
  ------------------
  |  Branch (3742:9): [True: 0, False: 1.62k]
  ------------------
 3743|      0|        return NULL;
 3744|      0|    }
 3745|  1.62k|    if (value != NULL) {
  ------------------
  |  Branch (3745:9): [True: 912, False: 708]
  ------------------
 3746|    912|        return value;
 3747|    912|    }
 3748|    708|    if (PyMapping_GetOptionalItem(frame->f_builtins, name, &value) < 0) {
  ------------------
  |  Branch (3748:9): [True: 0, False: 708]
  ------------------
 3749|      0|        return NULL;
 3750|      0|    }
 3751|    708|    if (value == NULL) {
  ------------------
  |  Branch (3751:9): [True: 0, False: 708]
  ------------------
 3752|      0|        _PyEval_FormatExcCheckArg(
 3753|      0|                    tstate, PyExc_NameError,
 3754|      0|                    NAME_ERROR_MSG, name);
  ------------------
  |  |  405|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 3755|      0|    }
 3756|    708|    return value;
 3757|    708|}
_PyForIter_VirtualIteratorNext:
 3760|   658k|{
 3761|   658k|    PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
 3762|   658k|    _PyStackRef index = *index_ptr;
 3763|   658k|    if (PyStackRef_IsTaggedInt(index)) {
  ------------------
  |  Branch (3763:9): [True: 164, False: 658k]
  ------------------
 3764|    164|        intptr_t i = PyStackRef_UntagInt(index);
 3765|    164|        assert(i >= 0);
  ------------------
  |  Branch (3765:9): [True: 164, False: 0]
  ------------------
 3766|    164|        _PyObjectIndexPair next_index = Py_TYPE(iter_o)->_tp_iteritem(iter_o, i);
  ------------------
  |  |  213|    164|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    164|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    164|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3767|    164|        i = next_index.index;
 3768|    164|        PyObject *next = next_index.object;
 3769|    164|        if (next == NULL) {
  ------------------
  |  Branch (3769:13): [True: 25, False: 139]
  ------------------
 3770|     25|            return i < 0 ? PyStackRef_ERROR : PyStackRef_NULL;
  ------------------
  |  Branch (3770:20): [True: 0, False: 25]
  ------------------
 3771|     25|        }
 3772|    139|        *index_ptr = PyStackRef_TagInt(i);
 3773|    139|        return PyStackRef_FromPyObjectSteal(next);
 3774|    164|    }
 3775|   658k|    PyObject *next = (*Py_TYPE(iter_o)->tp_iternext)(iter_o);
  ------------------
  |  |  213|   658k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   658k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   658k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3776|   658k|    if (next == NULL) {
  ------------------
  |  Branch (3776:9): [True: 36.7k, False: 621k]
  ------------------
 3777|  36.7k|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3777:13): [True: 0, False: 36.7k]
  ------------------
 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|  36.7k|        return PyStackRef_NULL;
 3787|  36.7k|    }
 3788|   621k|    return PyStackRef_FromPyObjectSteal(next);
 3789|   658k|}
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|  6.64M|{
 1979|  6.64M|    assert(frame->owner == FRAME_OWNED_BY_THREAD);
  ------------------
  |  Branch (1979:5): [True: 6.64M, 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|  6.64M|    assert((PyObject **)frame + _PyFrame_GetCode(frame)->co_framesize ==
  ------------------
  |  Branch (1982:5): [True: 6.64M, False: 0]
  ------------------
 1983|  6.64M|        tstate->datastack_top);
 1984|  6.64M|    assert(frame->frame_obj == NULL || frame->frame_obj->f_frame == frame);
  ------------------
  |  Branch (1984:5): [True: 6.62M, False: 23.2k]
  |  Branch (1984:5): [True: 23.2k, False: 0]
  ------------------
 1985|  6.64M|    _PyFrame_ClearExceptCode(frame);
 1986|  6.64M|    PyStackRef_CLEAR(frame->f_executable);
  ------------------
  |  |  732|  6.64M|    do { \
  |  |  733|  6.64M|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  734|  6.64M|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  735|  6.64M|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  736|  6.64M|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  737|  6.64M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (737:14): [Folded, False: 6.64M]
  |  |  ------------------
  ------------------
 1987|  6.64M|    _PyThreadState_PopFrame(tstate, frame);
 1988|  6.64M|}
ceval.c:clear_gen_frame:
 1992|  1.25k|{
 1993|  1.25k|    assert(frame->owner == FRAME_OWNED_BY_GENERATOR);
  ------------------
  |  Branch (1993:5): [True: 1.25k, False: 0]
  ------------------
 1994|  1.25k|    PyGenObject *gen = _PyGen_GetGeneratorFromFrame(frame);
 1995|  1.25k|    FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_CLEARED);
  ------------------
  |  |  167|  1.25k|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  ------------------
 1996|  1.25k|    assert(tstate->exc_info == &gen->gi_exc_state);
  ------------------
  |  Branch (1996:5): [True: 1.25k, False: 0]
  ------------------
 1997|  1.25k|    tstate->exc_info = gen->gi_exc_state.previous_item;
 1998|  1.25k|    gen->gi_exc_state.previous_item = NULL;
 1999|  1.25k|    assert(frame->frame_obj == NULL || frame->frame_obj->f_frame == frame);
  ------------------
  |  Branch (1999:5): [True: 1.25k, False: 0]
  |  Branch (1999:5): [True: 0, False: 0]
  ------------------
 2000|  1.25k|    frame->previous = NULL;
 2001|  1.25k|    _PyFrame_ClearExceptCode(frame);
 2002|  1.25k|    _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|  1.25k|    ((_PyThreadStateImpl *)tstate)->generator_return_kind = GENERATOR_RETURN;
 2006|  1.25k|}
ceval.c:initialize_locals:
 1731|   201k|{
 1732|   201k|    PyCodeObject *co = (PyCodeObject*)func->func_code;
 1733|   201k|    const Py_ssize_t total_args = co->co_argcount + co->co_kwonlyargcount;
 1734|       |    /* Create a dictionary for keyword parameters (**kwags) */
 1735|   201k|    PyObject *kwdict;
 1736|   201k|    Py_ssize_t i;
 1737|   201k|    if (co->co_flags & CO_VARKEYWORDS) {
  ------------------
  |  |  125|   201k|#define CO_VARKEYWORDS  0x0008
  ------------------
  |  Branch (1737:9): [True: 1.40k, False: 199k]
  ------------------
 1738|  1.40k|        kwdict = PyDict_New();
 1739|  1.40k|        if (kwdict == NULL) {
  ------------------
  |  Branch (1739:13): [True: 0, False: 1.40k]
  ------------------
 1740|      0|            goto fail_pre_positional;
 1741|      0|        }
 1742|  1.40k|        i = total_args;
 1743|  1.40k|        if (co->co_flags & CO_VARARGS) {
  ------------------
  |  |  124|  1.40k|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1743:13): [True: 1.31k, False: 94]
  ------------------
 1744|  1.31k|            i++;
 1745|  1.31k|        }
 1746|  1.40k|        assert(PyStackRef_IsNull(localsplus[i]));
  ------------------
  |  Branch (1746:9): [True: 1.40k, False: 0]
  ------------------
 1747|  1.40k|        localsplus[i] = PyStackRef_FromPyObjectSteal(kwdict);
 1748|  1.40k|    }
 1749|   199k|    else {
 1750|   199k|        kwdict = NULL;
 1751|   199k|    }
 1752|       |
 1753|       |    /* Copy all positional arguments into local variables */
 1754|   201k|    Py_ssize_t j, n;
 1755|   201k|    if (argcount > co->co_argcount) {
  ------------------
  |  Branch (1755:9): [True: 6.26k, False: 195k]
  ------------------
 1756|  6.26k|        n = co->co_argcount;
 1757|  6.26k|    }
 1758|   195k|    else {
 1759|   195k|        n = argcount;
 1760|   195k|    }
 1761|   836k|    for (j = 0; j < n; j++) {
  ------------------
  |  Branch (1761:17): [True: 635k, False: 201k]
  ------------------
 1762|   635k|        assert(PyStackRef_IsNull(localsplus[j]));
  ------------------
  |  Branch (1762:9): [True: 635k, False: 0]
  ------------------
 1763|   635k|        localsplus[j] = args[j];
 1764|   635k|    }
 1765|       |
 1766|       |    /* Pack other positional arguments into the *args argument */
 1767|   201k|    if (co->co_flags & CO_VARARGS) {
  ------------------
  |  |  124|   201k|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1767:9): [True: 6.36k, False: 195k]
  ------------------
 1768|  6.36k|        PyObject *u = NULL;
 1769|  6.36k|        if (argcount == n) {
  ------------------
  |  Branch (1769:13): [True: 102, False: 6.26k]
  ------------------
 1770|    102|            u = (PyObject *)&_Py_SINGLETON(tuple_empty);
  ------------------
  |  |   18|    102|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|    102|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 1771|    102|        }
 1772|  6.26k|        else {
 1773|  6.26k|            u = _PyTuple_FromStackRefStealOnSuccess(args + n, argcount - n);
 1774|  6.26k|            if (u == NULL) {
  ------------------
  |  Branch (1774:17): [True: 0, False: 6.26k]
  ------------------
 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|  6.26k|        }
 1780|  6.36k|        if (u == NULL) {
  ------------------
  |  Branch (1780:13): [True: 0, False: 6.36k]
  ------------------
 1781|      0|            goto fail_post_positional;
 1782|      0|        }
 1783|  6.36k|        assert(PyStackRef_AsPyObjectBorrow(localsplus[total_args]) == NULL);
  ------------------
  |  Branch (1783:9): [True: 6.36k, False: 0]
  ------------------
 1784|  6.36k|        localsplus[total_args] = PyStackRef_FromPyObjectSteal(u);
 1785|  6.36k|    }
 1786|   195k|    else if (argcount > n) {
  ------------------
  |  Branch (1786:14): [True: 0, False: 195k]
  ------------------
 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|   201k|    if (kwnames != NULL) {
  ------------------
  |  Branch (1794:9): [True: 3.15k, False: 198k]
  ------------------
 1795|  3.15k|        Py_ssize_t kwcount = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|  3.15k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1796|  7.66k|        for (i = 0; i < kwcount; i++) {
  ------------------
  |  Branch (1796:21): [True: 4.51k, False: 3.15k]
  ------------------
 1797|  4.51k|            PyObject **co_varnames;
 1798|  4.51k|            PyObject *keyword = PyTuple_GET_ITEM(kwnames, i);
  ------------------
  |  |   29|  4.51k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  4.51k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1798:33): [True: 4.51k, False: 0]
  ------------------
 1799|      0|            _PyStackRef value_stackref = args[i+argcount];
 1800|  4.51k|            Py_ssize_t j;
 1801|       |
 1802|  4.51k|            if (keyword == NULL || !PyUnicode_Check(keyword)) {
  ------------------
  |  |  103|  4.51k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.51k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1802:17): [True: 0, False: 4.51k]
  |  Branch (1802:36): [True: 0, False: 4.51k]
  ------------------
 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.51k|            co_varnames = ((PyTupleObject *)(co->co_localsplusnames))->ob_item;
 1812|  14.4k|            for (j = co->co_posonlyargcount; j < total_args; j++) {
  ------------------
  |  Branch (1812:46): [True: 14.4k, False: 2]
  ------------------
 1813|  14.4k|                PyObject *varname = co_varnames[j];
 1814|  14.4k|                if (varname == keyword) {
  ------------------
  |  Branch (1814:21): [True: 4.51k, False: 9.91k]
  ------------------
 1815|  4.51k|                    goto kw_found;
 1816|  4.51k|                }
 1817|  14.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.51k|        kw_found:
 1885|  4.51k|            if (PyStackRef_AsPyObjectBorrow(localsplus[j]) != NULL) {
  ------------------
  |  Branch (1885:17): [True: 0, False: 4.51k]
  ------------------
 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.51k|            localsplus[j] = value_stackref;
 1892|  4.51k|        }
 1893|  3.15k|    }
 1894|       |
 1895|       |    /* Check the number of positional arguments */
 1896|   201k|    if ((argcount > co->co_argcount) && !(co->co_flags & CO_VARARGS)) {
  ------------------
  |  |  124|  6.26k|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1896:9): [True: 6.26k, False: 195k]
  |  Branch (1896:41): [True: 0, False: 6.26k]
  ------------------
 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|   201k|    if (argcount < co->co_argcount) {
  ------------------
  |  Branch (1903:9): [True: 137k, False: 64.1k]
  ------------------
 1904|   137k|        Py_ssize_t defcount = func->func_defaults == NULL ? 0 : PyTuple_GET_SIZE(func->func_defaults);
  ------------------
  |  |   27|   137k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   137k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   137k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1904:31): [True: 0, False: 137k]
  ------------------
 1905|   137k|        Py_ssize_t m = co->co_argcount - defcount;
 1906|   137k|        Py_ssize_t missing = 0;
 1907|   137k|        for (i = argcount; i < m; i++) {
  ------------------
  |  Branch (1907:28): [True: 307, False: 137k]
  ------------------
 1908|    307|            if (PyStackRef_IsNull(localsplus[i])) {
  ------------------
  |  |  482|    307|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|    307|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    307|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 0, False: 307]
  |  |  ------------------
  ------------------
 1909|      0|                missing++;
 1910|      0|            }
 1911|    307|        }
 1912|   137k|        if (missing) {
  ------------------
  |  Branch (1912:13): [True: 0, False: 137k]
  ------------------
 1913|      0|            missing_arguments(tstate, co, missing, defcount, localsplus,
 1914|      0|                              func->func_qualname);
 1915|      0|            goto fail_post_args;
 1916|      0|        }
 1917|   137k|        if (n > m)
  ------------------
  |  Branch (1917:13): [True: 48.5k, False: 88.7k]
  ------------------
 1918|  48.5k|            i = n - m;
 1919|  88.7k|        else
 1920|  88.7k|            i = 0;
 1921|   137k|        if (defcount) {
  ------------------
  |  Branch (1921:13): [True: 137k, False: 0]
  ------------------
 1922|   137k|            PyObject **defs = &PyTuple_GET_ITEM(func->func_defaults, 0);
  ------------------
  |  |   29|   137k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   137k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   137k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1922:32): [True: 137k, False: 0]
  ------------------
 1923|   275k|            for (; i < defcount; i++) {
  ------------------
  |  Branch (1923:20): [True: 138k, False: 137k]
  ------------------
 1924|   138k|                if (PyStackRef_AsPyObjectBorrow(localsplus[m+i]) == NULL) {
  ------------------
  |  Branch (1924:21): [True: 137k, False: 1.03k]
  ------------------
 1925|   137k|                    PyObject *def = defs[i];
 1926|   137k|                    localsplus[m+i] = PyStackRef_FromPyObjectNew(def);
  ------------------
  |  |  611|   137k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   137k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   137k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1927|   137k|                }
 1928|   138k|            }
 1929|   137k|        }
 1930|   137k|    }
 1931|       |
 1932|       |    /* Add missing keyword arguments (copy default values from kwdefs) */
 1933|   201k|    if (co->co_kwonlyargcount > 0) {
  ------------------
  |  Branch (1933:9): [True: 4.61k, False: 196k]
  ------------------
 1934|  4.61k|        Py_ssize_t missing = 0;
 1935|  10.7k|        for (i = co->co_argcount; i < total_args; i++) {
  ------------------
  |  Branch (1935:35): [True: 6.09k, False: 4.61k]
  ------------------
 1936|  6.09k|            if (PyStackRef_AsPyObjectBorrow(localsplus[i]) != NULL)
  ------------------
  |  Branch (1936:17): [True: 3.16k, False: 2.93k]
  ------------------
 1937|  3.16k|                continue;
 1938|  2.93k|            PyObject *varname = PyTuple_GET_ITEM(co->co_localsplusnames, i);
  ------------------
  |  |   29|  2.93k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.93k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1938:33): [True: 2.93k, False: 0]
  ------------------
 1939|  2.93k|            if (func->func_kwdefaults != NULL) {
  ------------------
  |  Branch (1939:17): [True: 2.93k, False: 0]
  ------------------
 1940|  2.93k|                PyObject *def;
 1941|  2.93k|                if (PyDict_GetItemRef(func->func_kwdefaults, varname, &def) < 0) {
  ------------------
  |  Branch (1941:21): [True: 0, False: 2.93k]
  ------------------
 1942|      0|                    goto fail_post_args;
 1943|      0|                }
 1944|  2.93k|                if (def) {
  ------------------
  |  Branch (1944:21): [True: 2.93k, False: 0]
  ------------------
 1945|  2.93k|                    localsplus[i] = PyStackRef_FromPyObjectSteal(def);
 1946|  2.93k|                    continue;
 1947|  2.93k|                }
 1948|  2.93k|            }
 1949|      0|            missing++;
 1950|      0|        }
 1951|  4.61k|        if (missing) {
  ------------------
  |  Branch (1951:13): [True: 0, False: 4.61k]
  ------------------
 1952|      0|            missing_arguments(tstate, co, missing, -1, localsplus,
 1953|      0|                              func->func_qualname);
 1954|      0|            goto fail_post_args;
 1955|      0|        }
 1956|  4.61k|    }
 1957|   201k|    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|  52.0k|{
 2737|  52.0k|    _PyInterpreterFrame *current_frame = _PyThreadState_GetFrame(tstate);
 2738|  52.0k|    if (current_frame == NULL) {
  ------------------
  |  Branch (2738:9): [True: 51.9k, False: 146]
  ------------------
 2739|  51.9k|        return NULL;
 2740|  51.9k|    }
 2741|    146|    return current_frame->f_globals;
 2742|  52.0k|}
ceval.c:get_globals_builtins:
 2769|  52.0k|{
 2770|  52.0k|    PyObject *builtins = NULL;
 2771|  52.0k|    if (PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|  52.0k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  52.0k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   104k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 52.0k, 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|  52.0k|        if (PyDict_GetItemRef(globals, &_Py_ID(__builtins__), &builtins) < 0) {
  ------------------
  |  |  921|  52.0k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  52.0k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  52.0k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2772:13): [True: 0, False: 52.0k]
  ------------------
 2773|      0|            return NULL;
 2774|      0|        }
 2775|  52.0k|    }
 2776|      0|    else {
 2777|      0|        if (PyMapping_GetOptionalItem(
  ------------------
  |  Branch (2777:13): [True: 0, False: 0]
  ------------------
 2778|      0|                        globals, &_Py_ID(__builtins__), &builtins) < 0)
  ------------------
  |  |  921|      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|  52.0k|    return builtins;
 2784|  52.0k|}
ceval.c:set_globals_builtins:
 2788|  52.0k|{
 2789|  52.0k|    if (PyDict_Check(globals)) {
  ------------------
  |  |   18|  52.0k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  52.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 52.0k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2790|  52.0k|        if (PyDict_SetItem(globals, &_Py_ID(__builtins__), builtins) < 0) {
  ------------------
  |  |  921|  52.0k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  52.0k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  52.0k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2790:13): [True: 0, False: 52.0k]
  ------------------
 2791|      0|            return -1;
 2792|      0|        }
 2793|  52.0k|    }
 2794|      0|    else {
 2795|      0|        if (PyObject_SetItem(globals, &_Py_ID(__builtins__), builtins) < 0) {
  ------------------
  |  |  921|      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|  52.0k|    return 0;
 2804|  52.0k|}
ceval.c:is_lazy_import_module_level:
 3080|    261|{
 3081|    261|    _PyInterpreterFrame *frame = _PyEval_GetFrame();
 3082|    261|    return frame != NULL && frame->f_globals == frame->f_locals;
  ------------------
  |  Branch (3082:12): [True: 261, False: 0]
  |  Branch (3082:29): [True: 261, False: 0]
  ------------------
 3083|    261|}
ceval.c:check_lazy_import_compatibility:
 3043|    261|{
 3044|       |     // Check if this module should be imported lazily due to
 3045|       |     // the compatibility mode support via __lazy_modules__.
 3046|    261|    PyObject *lazy_modules = NULL;
 3047|    261|    PyObject *abs_name = NULL;
 3048|    261|    int res = -1;
 3049|       |
 3050|    261|    if (globals != NULL &&
  ------------------
  |  Branch (3050:9): [True: 261, False: 0]
  ------------------
 3051|    261|        PyMapping_GetOptionalItem(globals, &_Py_ID(__lazy_modules__),
  ------------------
  |  |  921|    261|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    261|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    261|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3051:9): [True: 0, False: 261]
  ------------------
 3052|    261|                                  &lazy_modules) < 0)
 3053|      0|    {
 3054|      0|        return -1;
 3055|      0|    }
 3056|    261|    if (lazy_modules == NULL) {
  ------------------
  |  Branch (3056:9): [True: 261, False: 0]
  ------------------
 3057|    261|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (3057:9): [True: 261, False: 0]
  ------------------
 3058|    261|        return 0;
 3059|    261|    }
 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|   213k|{
  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|   213k|}
ceval.c:monitor_reraise:
  405|  3.66k|{
  406|  3.66k|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_RERAISE)) {
  ------------------
  |  |   36|  3.66k|#define PY_MONITORING_EVENT_RERAISE 15
  ------------------
  |  Branch (406:9): [True: 3.66k, False: 0]
  ------------------
  407|  3.66k|        return;
  408|  3.66k|    }
  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.55k|{
  519|  2.55k|    PyObject *type = NULL, *value = NULL;
  520|       |
  521|  2.55k|    if (exc == NULL) {
  ------------------
  |  Branch (521:9): [True: 0, False: 2.55k]
  ------------------
  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.55k|    if (PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|  2.55k|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  5.11k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 0, False: 2.55k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  2.55k|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  542|      0|        type = exc;
  543|      0|        value = _PyObject_CallNoArgs(exc);
  544|      0|        if (value == NULL)
  ------------------
  |  Branch (544:13): [True: 0, False: 0]
  ------------------
  545|      0|            goto raise_error;
  546|      0|        if (!PyExceptionInstance_Check(value)) {
  ------------------
  |  |   65|      0|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (546:13): [True: 0, False: 0]
  ------------------
  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|      0|    }
  554|  2.55k|    else if (PyExceptionInstance_Check(exc)) {
  ------------------
  |  |   65|  2.55k|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.55k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2.55k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  555|  2.55k|        value = exc;
  556|  2.55k|        type = PyExceptionInstance_Class(exc);
  ------------------
  |  |   69|  2.55k|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  ------------------
  |  |  |  |  171|  2.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  557|  2.55k|        Py_INCREF(type);
  ------------------
  |  |  310|  2.55k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  558|  2.55k|    }
  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.55k|    assert(type != NULL);
  ------------------
  |  Branch (568:5): [True: 2.55k, False: 0]
  ------------------
  569|  2.55k|    assert(value != NULL);
  ------------------
  |  Branch (569:5): [True: 2.55k, False: 0]
  ------------------
  570|       |
  571|  2.55k|    if (cause) {
  ------------------
  |  Branch (571:9): [True: 277, False: 2.27k]
  ------------------
  572|    277|        PyObject *fixed_cause;
  573|    277|        if (PyExceptionClass_Check(cause)) {
  ------------------
  |  |   61|    277|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|    554|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    277|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    277|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 0, False: 277]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|    277|     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|    277|        else if (PyExceptionInstance_Check(cause)) {
  ------------------
  |  |   65|    277|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    277|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 277]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  588|      0|            fixed_cause = cause;
  589|      0|        }
  590|    277|        else if (Py_IsNone(cause)) {
  ------------------
  |  |  621|    277|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|    277|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 277, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  591|    277|            Py_DECREF(cause);
  ------------------
  |  |   80|    277|    do { \
  |  |   81|    277|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|    277|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    277|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|    277|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|    277|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    277|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    277|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 277, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|    277|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|    277|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|    277|            break; \
  |  |   85|    277|        } \
  |  |   86|    277|        _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|    277|            fixed_cause = NULL;
  593|    277|        }
  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|    277|        PyException_SetCause(value, fixed_cause);
  601|    277|    }
  602|       |
  603|  2.55k|    _PyErr_SetObject(tstate, type, value);
  604|       |    /* _PyErr_SetObject incref's its arguments */
  605|  2.55k|    Py_DECREF(value);
  ------------------
  |  |   80|  2.55k|    do { \
  |  |   81|  2.55k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|  2.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|  2.55k|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|  2.55k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 2.55k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|  2.55k|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|  2.55k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|  2.55k|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 2.55k]
  |  |  ------------------
  |  |   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.55k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 2.55k]
  |  |  ------------------
  ------------------
  606|  2.55k|    Py_DECREF(type);
  ------------------
  |  |   80|  2.55k|    do { \
  |  |   81|  2.55k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|  2.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|  2.55k|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|  2.55k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 2.54k, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|  2.54k|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|  2.54k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|  2.54k|            break; \
  |  |   85|  2.54k|        } \
  |  |   86|  2.55k|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|     10|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|     10|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 10]
  |  |  ------------------
  |  |   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|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
  607|  2.55k|    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.55k|}
ceval.c:get_exception_handler:
  459|  46.8k|{
  460|  46.8k|    unsigned char *start = (unsigned char *)PyBytes_AS_STRING(code->co_exceptiontable);
  ------------------
  |  |   27|  46.8k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  46.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  461|  46.8k|    unsigned char *end = start + PyBytes_GET_SIZE(code->co_exceptiontable);
  ------------------
  |  |   33|  46.8k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  46.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.8k|#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|  46.8k|    if (end - start > MAX_LINEAR_SEARCH) {
  ------------------
  |  |  455|  46.8k|#define MAX_LINEAR_SEARCH 40
  ------------------
  |  Branch (467:9): [True: 44.3k, False: 2.48k]
  ------------------
  468|  44.3k|        int offset;
  469|  44.3k|        parse_varint(start, &offset);
  470|  44.3k|        if (offset > index) {
  ------------------
  |  Branch (470:13): [True: 4, False: 44.3k]
  ------------------
  471|      4|            return 0;
  472|      4|        }
  473|  46.4k|        do {
  474|  46.4k|            unsigned char * mid = start + ((end-start)>>1);
  475|  46.4k|            mid = scan_back_to_entry_start(mid);
  476|  46.4k|            parse_varint(mid, &offset);
  477|  46.4k|            if (offset > index) {
  ------------------
  |  Branch (477:17): [True: 22.7k, False: 23.6k]
  ------------------
  478|  22.7k|                end = mid;
  479|  22.7k|            }
  480|  23.6k|            else {
  481|  23.6k|                start = mid;
  482|  23.6k|            }
  483|       |
  484|  46.4k|        } while (end - start > MAX_LINEAR_SEARCH);
  ------------------
  |  |  455|  46.4k|#define MAX_LINEAR_SEARCH 40
  ------------------
  |  Branch (484:18): [True: 2.10k, False: 44.3k]
  ------------------
  485|  44.3k|    }
  486|  46.8k|    unsigned char *scan = start;
  487|  73.4k|    while (scan < end) {
  ------------------
  |  Branch (487:12): [True: 69.6k, False: 3.78k]
  ------------------
  488|  69.6k|        int start_offset, size;
  489|  69.6k|        scan = parse_varint(scan, &start_offset);
  490|  69.6k|        if (start_offset > index) {
  ------------------
  |  Branch (490:13): [True: 637, False: 69.0k]
  ------------------
  491|    637|            break;
  492|    637|        }
  493|  69.0k|        scan = parse_varint(scan, &size);
  494|  69.0k|        if (start_offset + size > index) {
  ------------------
  |  Branch (494:13): [True: 42.3k, False: 26.6k]
  ------------------
  495|  42.3k|            scan = parse_varint(scan, handler);
  496|  42.3k|            int depth_and_lasti;
  497|  42.3k|            parse_varint(scan, &depth_and_lasti);
  498|  42.3k|            *level = depth_and_lasti >> 1;
  499|  42.3k|            *lasti = depth_and_lasti & 1;
  500|  42.3k|            return 1;
  501|  42.3k|        }
  502|  26.6k|        scan = skip_to_next_entry(scan, end);
  503|  26.6k|    }
  504|  4.42k|    return 0;
  505|  46.8k|}
ceval.c:scan_back_to_entry_start:
  441|  46.4k|scan_back_to_entry_start(unsigned char *p) {
  442|  65.4k|    for (; (p[0]&128) == 0; p--);
  ------------------
  |  Branch (442:12): [True: 18.9k, False: 46.4k]
  ------------------
  443|  46.4k|    return p;
  444|  46.4k|}
ceval.c:skip_to_next_entry:
  447|  26.6k|skip_to_next_entry(unsigned char *p, unsigned char *end) {
  448|   106k|    while (p < end && ((p[0] & 128) == 0)) {
  ------------------
  |  Branch (448:12): [True: 103k, False: 2.85k]
  |  Branch (448:23): [True: 79.9k, False: 23.7k]
  ------------------
  449|  79.9k|        p++;
  450|  79.9k|    }
  451|  26.6k|    return p;
  452|  26.6k|}
ceval.c:monitor_unwind:
  433|  4.42k|{
  434|  4.42k|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_PY_UNWIND)) {
  ------------------
  |  |   34|  4.42k|#define PY_MONITORING_EVENT_PY_UNWIND 13
  ------------------
  |  Branch (434:9): [True: 4.42k, False: 0]
  ------------------
  435|  4.42k|        return;
  436|  4.42k|    }
  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|  42.3k|{
  385|  42.3k|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_EXCEPTION_HANDLED)) {
  ------------------
  |  |   33|  42.3k|#define PY_MONITORING_EVENT_EXCEPTION_HANDLED 12
  ------------------
  |  Branch (385:9): [True: 42.3k, False: 0]
  ------------------
  386|  42.3k|        return 0;
  387|  42.3k|    }
  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|  42.3k|}
ceval.c:no_tools_for_local_event:
  369|  93.6k|{
  370|  93.6k|    assert(event < _PY_MONITORING_UNGROUPED_EVENTS);
  ------------------
  |  Branch (370:5): [True: 93.6k, False: 0]
  ------------------
  371|  93.6k|    _PyCoMonitoringData *data = _PyFrame_GetCode(frame)->_co_monitoring;
  372|  93.6k|    if (data) {
  ------------------
  |  Branch (372:9): [True: 0, False: 93.6k]
  ------------------
  373|      0|        return data->active_monitors.tools[event] == 0;
  374|      0|    }
  375|  93.6k|    else {
  376|  93.6k|        return no_tools_for_global_event(tstate, event);
  377|  93.6k|    }
  378|  93.6k|}
ceval.c:no_tools_for_global_event:
  363|  93.6k|{
  364|  93.6k|    return tstate->interp->monitors.tools[event] == 0;
  365|  93.6k|}

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

bltinmodule.c:builtin___import__:
   42|  52.3k|{
   43|  52.3k|    PyObject *return_value = NULL;
   44|  52.3k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   45|       |
   46|  52.3k|    #define NUM_KEYWORDS 5
   47|  52.3k|    static struct {
   48|  52.3k|        PyGC_Head _this_is_not_used;
   49|  52.3k|        PyObject_VAR_HEAD
   50|  52.3k|        Py_hash_t ob_hash;
   51|  52.3k|        PyObject *ob_item[NUM_KEYWORDS];
   52|  52.3k|    } _kwtuple = {
   53|  52.3k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  52.3k|    {                                     \
  |  |   98|  52.3k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  52.3k|    {                               \
  |  |  |  |   91|  52.3k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  52.3k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  52.3k|#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|  52.3k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  52.3k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  52.3k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  52.3k|        (type)                      \
  |  |  |  |   93|  52.3k|    },
  |  |  ------------------
  |  |   99|  52.3k|        (size)                            \
  |  |  100|  52.3k|    },
  ------------------
   54|  52.3k|        .ob_hash = -1,
   55|  52.3k|        .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  921|  52.3k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  52.3k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  52.3k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  921|  52.3k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  52.3k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  52.3k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  921|  52.3k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  52.3k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  52.3k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  921|  52.3k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  52.3k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  52.3k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(name), &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(fromlist), &_Py_ID(level), },
  ------------------
  |  |  921|  52.3k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  52.3k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  52.3k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   56|  52.3k|    };
   57|  52.3k|    #undef NUM_KEYWORDS
   58|  52.3k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   59|       |
   60|       |    #else  // !Py_BUILD_CORE
   61|       |    #  define KWTUPLE NULL
   62|       |    #endif  // !Py_BUILD_CORE
   63|       |
   64|  52.3k|    static const char * const _keywords[] = {"name", "globals", "locals", "fromlist", "level", NULL};
   65|  52.3k|    static _PyArg_Parser _parser = {
   66|  52.3k|        .keywords = _keywords,
   67|  52.3k|        .fname = "__import__",
   68|  52.3k|        .kwtuple = KWTUPLE,
  ------------------
  |  |   58|  52.3k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   69|  52.3k|    };
   70|  52.3k|    #undef KWTUPLE
   71|  52.3k|    PyObject *argsbuf[5];
   72|  52.3k|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|    311|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    311|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    311|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (72:36): [True: 311, False: 52.0k]
  ------------------
   73|  52.3k|    PyObject *name;
   74|  52.3k|    PyObject *globals = NULL;
   75|  52.3k|    PyObject *locals = NULL;
   76|  52.3k|    PyObject *fromlist = NULL;
   77|  52.3k|    int level = 0;
   78|       |
   79|  52.3k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  52.3k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 52.0k, False: 311]
  |  |  ------------------
  |  |   89|  52.3k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 52.0k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 52.0k]
  |  |  |  Branch (89:43): [True: 52.0k, False: 0]
  |  |  |  Branch (89:67): [True: 52.0k, False: 0]
  |  |  ------------------
  |  |   90|  52.3k|      (args) : \
  |  |   91|  52.3k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|    311|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   80|  52.3k|            /*minpos*/ 1, /*maxpos*/ 5, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   81|  52.3k|    if (!args) {
  ------------------
  |  Branch (81:9): [True: 0, False: 52.3k]
  ------------------
   82|      0|        goto exit;
   83|      0|    }
   84|  52.3k|    name = args[0];
   85|  52.3k|    if (!noptargs) {
  ------------------
  |  Branch (85:9): [True: 13, False: 52.3k]
  ------------------
   86|     13|        goto skip_optional_pos;
   87|     13|    }
   88|  52.3k|    if (args[1]) {
  ------------------
  |  Branch (88:9): [True: 52.0k, False: 311]
  ------------------
   89|  52.0k|        globals = args[1];
   90|  52.0k|        if (!--noptargs) {
  ------------------
  |  Branch (90:13): [True: 0, False: 52.0k]
  ------------------
   91|      0|            goto skip_optional_pos;
   92|      0|        }
   93|  52.0k|    }
   94|  52.3k|    if (args[2]) {
  ------------------
  |  Branch (94:9): [True: 52.0k, False: 311]
  ------------------
   95|  52.0k|        locals = args[2];
   96|  52.0k|        if (!--noptargs) {
  ------------------
  |  Branch (96:13): [True: 0, False: 52.0k]
  ------------------
   97|      0|            goto skip_optional_pos;
   98|      0|        }
   99|  52.0k|    }
  100|  52.3k|    if (args[3]) {
  ------------------
  |  Branch (100:9): [True: 52.3k, False: 0]
  ------------------
  101|  52.3k|        fromlist = args[3];
  102|  52.3k|        if (!--noptargs) {
  ------------------
  |  Branch (102:13): [True: 0, False: 52.3k]
  ------------------
  103|      0|            goto skip_optional_pos;
  104|      0|        }
  105|  52.3k|    }
  106|  52.3k|    level = PyLong_AsInt(args[4]);
  107|  52.3k|    if (level == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (107:9): [True: 0, False: 52.3k]
  |  Branch (107:24): [True: 0, False: 0]
  ------------------
  108|      0|        goto exit;
  109|      0|    }
  110|  52.3k|skip_optional_pos:
  111|  52.3k|    return_value = builtin___import___impl(module, name, globals, locals, fromlist, level);
  112|       |
  113|  52.3k|exit:
  114|  52.3k|    return return_value;
  115|  52.3k|}
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_divmod:
  495|    106|{
  496|    106|    PyObject *return_value = NULL;
  497|    106|    PyObject *x;
  498|    106|    PyObject *y;
  499|       |
  500|    106|    if (!_PyArg_CheckPositional("divmod", nargs, 2, 2)) {
  ------------------
  |  |   31|    106|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 106, False: 0]
  |  |  |  Branch (31:27): [True: 106, False: 0]
  |  |  ------------------
  |  |   32|    106|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  501|      0|        goto exit;
  502|      0|    }
  503|    106|    x = args[0];
  504|    106|    y = args[1];
  505|    106|    return_value = builtin_divmod_impl(module, x, y);
  506|       |
  507|    106|exit:
  508|    106|    return return_value;
  509|    106|}
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), },
  ------------------
  |  |  921|      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), },
  ------------------
  |  |  921|      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|    117|{
  614|    117|    PyObject *return_value = NULL;
  615|    117|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  616|       |
  617|    117|    #define NUM_KEYWORDS 3
  618|    117|    static struct {
  619|    117|        PyGC_Head _this_is_not_used;
  620|    117|        PyObject_VAR_HEAD
  621|    117|        Py_hash_t ob_hash;
  622|    117|        PyObject *ob_item[NUM_KEYWORDS];
  623|    117|    } _kwtuple = {
  624|    117|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    117|    {                                     \
  |  |   98|    117|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    117|    {                               \
  |  |  |  |   91|    117|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    117|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    117|#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|    117|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    117|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    117|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    117|        (type)                      \
  |  |  |  |   93|    117|    },
  |  |  ------------------
  |  |   99|    117|        (size)                            \
  |  |  100|    117|    },
  ------------------
  625|    117|        .ob_hash = -1,
  626|    117|        .ob_item = { &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(closure), },
  ------------------
  |  |  921|    117|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    117|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    117|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(closure), },
  ------------------
  |  |  921|    117|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    117|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    117|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(globals), &_Py_ID(locals), &_Py_ID(closure), },
  ------------------
  |  |  921|    117|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    117|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    117|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  627|    117|    };
  628|    117|    #undef NUM_KEYWORDS
  629|    117|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  630|       |
  631|       |    #else  // !Py_BUILD_CORE
  632|       |    #  define KWTUPLE NULL
  633|       |    #endif  // !Py_BUILD_CORE
  634|       |
  635|    117|    static const char * const _keywords[] = {"", "globals", "locals", "closure", NULL};
  636|    117|    static _PyArg_Parser _parser = {
  637|    117|        .keywords = _keywords,
  638|    117|        .fname = "exec",
  639|    117|        .kwtuple = KWTUPLE,
  ------------------
  |  |  629|    117|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  640|    117|    };
  641|    117|    #undef KWTUPLE
  642|    117|    PyObject *argsbuf[4];
  643|    117|    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: 117]
  ------------------
  644|    117|    PyObject *source;
  645|    117|    PyObject *globals = Py_None;
  ------------------
  |  |  616|    117|#  define Py_None (&_Py_NoneStruct)
  ------------------
  646|    117|    PyObject *locals = Py_None;
  ------------------
  |  |  616|    117|#  define Py_None (&_Py_NoneStruct)
  ------------------
  647|    117|    PyObject *closure = NULL;
  648|       |
  649|    117|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    117|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 117, False: 0]
  |  |  ------------------
  |  |   89|    117|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 117, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 117]
  |  |  |  Branch (89:43): [True: 117, False: 0]
  |  |  |  Branch (89:67): [True: 117, False: 0]
  |  |  ------------------
  |  |   90|    117|      (args) : \
  |  |   91|    117|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  650|    117|            /*minpos*/ 1, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  651|    117|    if (!args) {
  ------------------
  |  Branch (651:9): [True: 0, False: 117]
  ------------------
  652|      0|        goto exit;
  653|      0|    }
  654|    117|    source = args[0];
  655|    117|    if (!noptargs) {
  ------------------
  |  Branch (655:9): [True: 0, False: 117]
  ------------------
  656|      0|        goto skip_optional_pos;
  657|      0|    }
  658|    117|    if (args[1]) {
  ------------------
  |  Branch (658:9): [True: 117, False: 0]
  ------------------
  659|    117|        globals = args[1];
  660|    117|        if (!--noptargs) {
  ------------------
  |  Branch (660:13): [True: 117, False: 0]
  ------------------
  661|    117|            goto skip_optional_pos;
  662|    117|        }
  663|    117|    }
  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|    117|skip_optional_pos:
  671|    117|    if (!noptargs) {
  ------------------
  |  Branch (671:9): [True: 117, False: 0]
  ------------------
  672|    117|        goto skip_optional_kwonly;
  673|    117|    }
  674|      0|    closure = args[3];
  675|    117|skip_optional_kwonly:
  676|    117|    return_value = builtin_exec_impl(module, source, globals, locals, closure);
  677|       |
  678|    117|exit:
  679|    117|    return return_value;
  680|    117|}
bltinmodule.c:builtin_globals:
  699|     43|{
  700|     43|    return builtin_globals_impl(module);
  701|     43|}
bltinmodule.c:builtin_hasattr:
  719|    366|{
  720|    366|    PyObject *return_value = NULL;
  721|    366|    PyObject *obj;
  722|    366|    PyObject *name;
  723|       |
  724|    366|    if (!_PyArg_CheckPositional("hasattr", nargs, 2, 2)) {
  ------------------
  |  |   31|    366|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 366, False: 0]
  |  |  |  Branch (31:27): [True: 366, False: 0]
  |  |  ------------------
  |  |   32|    366|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  725|      0|        goto exit;
  726|      0|    }
  727|    366|    obj = args[0];
  728|    366|    name = args[1];
  729|    366|    return_value = builtin_hasattr_impl(module, obj, name);
  730|       |
  731|    366|exit:
  732|    366|    return return_value;
  733|    366|}
bltinmodule.c:builtin_isinstance:
 1340|     70|{
 1341|     70|    PyObject *return_value = NULL;
 1342|     70|    PyObject *obj;
 1343|     70|    PyObject *class_or_tuple;
 1344|       |
 1345|     70|    if (!_PyArg_CheckPositional("isinstance", nargs, 2, 2)) {
  ------------------
  |  |   31|     70|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 70, False: 0]
  |  |  |  Branch (31:27): [True: 70, False: 0]
  |  |  ------------------
  |  |   32|     70|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1346|      0|        goto exit;
 1347|      0|    }
 1348|     70|    obj = args[0];
 1349|     70|    class_or_tuple = args[1];
 1350|     70|    return_value = builtin_isinstance_impl(module, obj, class_or_tuple);
 1351|       |
 1352|     70|exit:
 1353|     70|    return return_value;
 1354|     70|}
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), },
  ------------------
  |  |  921|      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), },
  ------------------
  |  |  921|      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), },
  ------------------
  |  |  921|      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|    212|{
  778|    212|    PyObject *return_value = NULL;
  779|    212|    PyObject *obj;
  780|    212|    PyObject *name;
  781|    212|    PyObject *value;
  782|       |
  783|    212|    if (!_PyArg_CheckPositional("setattr", nargs, 3, 3)) {
  ------------------
  |  |   31|    212|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 212, False: 0]
  |  |  |  Branch (31:27): [True: 212, False: 0]
  |  |  ------------------
  |  |   32|    212|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  784|      0|        goto exit;
  785|      0|    }
  786|    212|    obj = args[0];
  787|    212|    name = args[1];
  788|    212|    value = args[2];
  789|    212|    return_value = builtin_setattr_impl(module, obj, name, value);
  790|       |
  791|    212|exit:
  792|    212|    return return_value;
  793|    212|}
bltinmodule.c:builtin_sum:
 1270|    989|{
 1271|    989|    PyObject *return_value = NULL;
 1272|    989|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1273|       |
 1274|    989|    #define NUM_KEYWORDS 1
 1275|    989|    static struct {
 1276|    989|        PyGC_Head _this_is_not_used;
 1277|    989|        PyObject_VAR_HEAD
 1278|    989|        Py_hash_t ob_hash;
 1279|    989|        PyObject *ob_item[NUM_KEYWORDS];
 1280|    989|    } _kwtuple = {
 1281|    989|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    989|    {                                     \
  |  |   98|    989|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    989|    {                               \
  |  |  |  |   91|    989|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    989|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    989|#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|    989|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    989|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    989|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    989|        (type)                      \
  |  |  |  |   93|    989|    },
  |  |  ------------------
  |  |   99|    989|        (size)                            \
  |  |  100|    989|    },
  ------------------
 1282|    989|        .ob_hash = -1,
 1283|    989|        .ob_item = { &_Py_ID(start), },
  ------------------
  |  |  921|    989|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    989|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    989|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1284|    989|    };
 1285|    989|    #undef NUM_KEYWORDS
 1286|    989|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1287|       |
 1288|       |    #else  // !Py_BUILD_CORE
 1289|       |    #  define KWTUPLE NULL
 1290|       |    #endif  // !Py_BUILD_CORE
 1291|       |
 1292|    989|    static const char * const _keywords[] = {"", "start", NULL};
 1293|    989|    static _PyArg_Parser _parser = {
 1294|    989|        .keywords = _keywords,
 1295|    989|        .fname = "sum",
 1296|    989|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1286|    989|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1297|    989|    };
 1298|    989|    #undef KWTUPLE
 1299|    989|    PyObject *argsbuf[2];
 1300|    989|    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 (1300:36): [True: 0, False: 989]
  ------------------
 1301|    989|    PyObject *iterable;
 1302|    989|    PyObject *start = NULL;
 1303|       |
 1304|    989|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    989|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 989, False: 0]
  |  |  ------------------
  |  |   89|    989|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 989, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 989]
  |  |  |  Branch (89:43): [True: 989, False: 0]
  |  |  |  Branch (89:67): [True: 989, False: 0]
  |  |  ------------------
  |  |   90|    989|      (args) : \
  |  |   91|    989|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1305|    989|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1306|    989|    if (!args) {
  ------------------
  |  Branch (1306:9): [True: 0, False: 989]
  ------------------
 1307|      0|        goto exit;
 1308|      0|    }
 1309|    989|    iterable = args[0];
 1310|    989|    if (!noptargs) {
  ------------------
  |  Branch (1310:9): [True: 989, False: 0]
  ------------------
 1311|    989|        goto skip_optional_pos;
 1312|    989|    }
 1313|      0|    start = args[1];
 1314|    989|skip_optional_pos:
 1315|    989|    return_value = builtin_sum_impl(module, iterable, start);
 1316|       |
 1317|    989|exit:
 1318|    989|    return return_value;
 1319|    989|}

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|  1.62k|{
   50|  1.62k|    return _imp_acquire_lock_impl(module);
   51|  1.62k|}
import.c:_imp_release_lock:
   69|  1.62k|{
   70|  1.62k|    return _imp_release_lock_impl(module);
   71|  1.62k|}
import.c:_imp_find_frozen:
  195|    311|{
  196|    311|    PyObject *return_value = NULL;
  197|    311|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  198|       |
  199|    311|    #define NUM_KEYWORDS 1
  200|    311|    static struct {
  201|    311|        PyGC_Head _this_is_not_used;
  202|    311|        PyObject_VAR_HEAD
  203|    311|        Py_hash_t ob_hash;
  204|    311|        PyObject *ob_item[NUM_KEYWORDS];
  205|    311|    } _kwtuple = {
  206|    311|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    311|    {                                     \
  |  |   98|    311|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    311|    {                               \
  |  |  |  |   91|    311|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    311|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    311|#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|    311|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    311|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    311|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    311|        (type)                      \
  |  |  |  |   93|    311|    },
  |  |  ------------------
  |  |   99|    311|        (size)                            \
  |  |  100|    311|    },
  ------------------
  207|    311|        .ob_hash = -1,
  208|    311|        .ob_item = { &_Py_ID(withdata), },
  ------------------
  |  |  921|    311|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    311|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    311|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|    311|    };
  210|    311|    #undef NUM_KEYWORDS
  211|    311|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  212|       |
  213|       |    #else  // !Py_BUILD_CORE
  214|       |    #  define KWTUPLE NULL
  215|       |    #endif  // !Py_BUILD_CORE
  216|       |
  217|    311|    static const char * const _keywords[] = {"", "withdata", NULL};
  218|    311|    static _PyArg_Parser _parser = {
  219|    311|        .keywords = _keywords,
  220|    311|        .fname = "find_frozen",
  221|    311|        .kwtuple = KWTUPLE,
  ------------------
  |  |  211|    311|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  222|    311|    };
  223|    311|    #undef KWTUPLE
  224|    311|    PyObject *argsbuf[2];
  225|    311|    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: 311]
  ------------------
  226|    311|    PyObject *name;
  227|    311|    int withdata = 0;
  228|       |
  229|    311|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    311|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 311, False: 0]
  |  |  ------------------
  |  |   89|    311|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 311, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 311]
  |  |  |  Branch (89:43): [True: 311, False: 0]
  |  |  |  Branch (89:67): [True: 311, False: 0]
  |  |  ------------------
  |  |   90|    311|      (args) : \
  |  |   91|    311|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  230|    311|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  231|    311|    if (!args) {
  ------------------
  |  Branch (231:9): [True: 0, False: 311]
  ------------------
  232|      0|        goto exit;
  233|      0|    }
  234|    311|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|    311|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    311|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (234:9): [True: 0, False: 311]
  ------------------
  235|      0|        _PyArg_BadArgument("find_frozen", "argument 1", "str", args[0]);
  236|      0|        goto exit;
  237|      0|    }
  238|    311|    name = args[0];
  239|    311|    if (!noptargs) {
  ------------------
  |  Branch (239:9): [True: 311, False: 0]
  ------------------
  240|    311|        goto skip_optional_kwonly;
  241|    311|    }
  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|    311|skip_optional_kwonly:
  247|    311|    return_value = _imp_find_frozen_impl(module, name, withdata);
  248|       |
  249|    311|exit:
  250|    311|    return return_value;
  251|    311|}
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|    342|{
  336|    342|    PyObject *return_value = NULL;
  337|    342|    PyObject *name;
  338|       |
  339|    342|    if (!PyUnicode_Check(arg)) {
  ------------------
  |  |  103|    342|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    342|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (339:9): [True: 0, False: 342]
  ------------------
  340|      0|        _PyArg_BadArgument("is_builtin", "argument", "str", arg);
  341|      0|        goto exit;
  342|      0|    }
  343|    342|    name = arg;
  344|    342|    return_value = _imp_is_builtin_impl(module, name);
  345|       |
  346|    342|exit:
  347|    342|    return return_value;
  348|    342|}
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|     10|{
  476|     10|    PyObject *return_value = NULL;
  477|     10|    PyObject *spec;
  478|     10|    PyObject *file = NULL;
  479|       |
  480|     10|    if (!_PyArg_CheckPositional("create_dynamic", nargs, 1, 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]
  |  |  ------------------
  ------------------
  481|      0|        goto exit;
  482|      0|    }
  483|     10|    spec = args[0];
  484|     10|    if (nargs < 2) {
  ------------------
  |  Branch (484:9): [True: 10, False: 0]
  ------------------
  485|     10|        goto skip_optional;
  486|     10|    }
  487|      0|    file = args[1];
  488|     10|skip_optional:
  489|     10|    return_value = _imp_create_dynamic_impl(module, spec, file);
  490|       |
  491|     10|exit:
  492|     10|    return return_value;
  493|     10|}
import.c:_imp_exec_dynamic:
  513|     10|{
  514|     10|    PyObject *return_value = NULL;
  515|     10|    int _return_value;
  516|       |
  517|     10|    _return_value = _imp_exec_dynamic_impl(module, mod);
  518|     10|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (518:9): [True: 0, False: 10]
  |  Branch (518:34): [True: 0, False: 0]
  ------------------
  519|      0|        goto exit;
  520|      0|    }
  521|     10|    return_value = PyLong_FromLong((long)_return_value);
  522|       |
  523|     10|exit:
  524|     10|    return return_value;
  525|     10|}
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|     85|{
   94|     85|    PyObject *return_value = NULL;
   95|     85|    PyCodeObject *code;
   96|     85|    PyObject *path;
   97|       |
   98|     85|    if (!_PyArg_CheckPositional("_fix_co_filename", nargs, 2, 2)) {
  ------------------
  |  |   31|     85|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 85, False: 0]
  |  |  |  Branch (31:27): [True: 85, False: 0]
  |  |  ------------------
  |  |   32|     85|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   99|      0|        goto exit;
  100|      0|    }
  101|     85|    if (!PyObject_TypeCheck(args[0], &PyCode_Type)) {
  ------------------
  |  |  378|     85|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (101:9): [True: 0, False: 85]
  ------------------
  102|      0|        _PyArg_BadArgument("_fix_co_filename", "argument 1", (&PyCode_Type)->tp_name, args[0]);
  103|      0|        goto exit;
  104|      0|    }
  105|     85|    code = (PyCodeObject *)args[0];
  106|     85|    if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|     85|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     85|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (106:9): [True: 0, False: 85]
  ------------------
  107|      0|        _PyArg_BadArgument("_fix_co_filename", "argument 2", "str", args[1]);
  108|      0|        goto exit;
  109|      0|    }
  110|     85|    path = args[1];
  111|     85|    return_value = _imp__fix_co_filename_impl(module, code, path);
  112|       |
  113|     85|exit:
  114|     85|    return return_value;
  115|     85|}
import.c:_imp__set_lazy_attributes:
  641|    152|{
  642|    152|    PyObject *return_value = NULL;
  643|    152|    PyObject *modobj;
  644|    152|    PyObject *name;
  645|       |
  646|    152|    if (!_PyArg_CheckPositional("_set_lazy_attributes", nargs, 2, 2)) {
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
  647|      0|        goto exit;
  648|      0|    }
  649|    152|    modobj = args[0];
  650|    152|    if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|    152|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    152|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (650:9): [True: 0, False: 152]
  ------------------
  651|      0|        _PyArg_BadArgument("_set_lazy_attributes", "argument 2", "str", args[1]);
  652|      0|        goto exit;
  653|      0|    }
  654|    152|    name = args[1];
  655|    152|    return_value = _imp__set_lazy_attributes_impl(module, modobj, name);
  656|       |
  657|    152|exit:
  658|    152|    return return_value;
  659|    152|}

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

sysmodule.c:sys_audit:
   83|    336|{
   84|    336|    PyObject *return_value = NULL;
   85|    336|    const char *event;
   86|    336|    PyObject *__clinic_args = NULL;
   87|       |
   88|    336|    if (!_PyArg_CheckPositional("audit", nargs, 1, PY_SSIZE_T_MAX)) {
  ------------------
  |  |   31|    336|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 336, False: 0]
  |  |  |  Branch (31:27): [True: 336, False: 0]
  |  |  ------------------
  |  |   32|    336|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   89|      0|        goto exit;
   90|      0|    }
   91|    336|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|    336|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    336|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (91:9): [True: 0, False: 336]
  ------------------
   92|      0|        _PyArg_BadArgument("audit", "argument 1", "str", args[0]);
   93|      0|        goto exit;
   94|      0|    }
   95|    336|    Py_ssize_t event_length;
   96|    336|    event = PyUnicode_AsUTF8AndSize(args[0], &event_length);
   97|    336|    if (event == NULL) {
  ------------------
  |  Branch (97:9): [True: 0, False: 336]
  ------------------
   98|      0|        goto exit;
   99|      0|    }
  100|    336|    if (strlen(event) != (size_t)event_length) {
  ------------------
  |  Branch (100:9): [True: 0, False: 336]
  ------------------
  101|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
  102|      0|        goto exit;
  103|      0|    }
  104|    336|    __clinic_args = PyTuple_FromArray(args + 1, nargs - 1);
  105|    336|    if (__clinic_args == NULL) {
  ------------------
  |  Branch (105:9): [True: 0, False: 336]
  ------------------
  106|      0|        goto exit;
  107|      0|    }
  108|    336|    return_value = sys_audit_impl(module, event, __clinic_args);
  109|       |
  110|    336|exit:
  111|       |    /* Cleanup for args */
  112|    336|    Py_XDECREF(__clinic_args);
  ------------------
  |  |  524|    336|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    336|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    336|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  113|       |
  114|    336|    return return_value;
  115|    336|}
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), },
  ------------------
  |  |  921|      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|  41.3k|{
  139|  41.3k|    if (encoding == NULL) {
  ------------------
  |  Branch (139:9): [True: 0, False: 41.3k]
  ------------------
  140|      0|        PyErr_BadArgument();
  141|      0|        return NULL;
  142|      0|    }
  143|       |
  144|  41.3k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  145|  41.3k|    assert(interp->codecs.initialized);
  ------------------
  |  Branch (145:5): [True: 41.3k, 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|  41.3k|    PyObject *v = normalizestring(encoding);
  151|  41.3k|    if (v == NULL) {
  ------------------
  |  Branch (151:9): [True: 0, False: 41.3k]
  ------------------
  152|      0|        return NULL;
  153|      0|    }
  154|       |
  155|       |    /* Intern the string. We'll make it immortal later if lookup succeeds. */
  156|  41.3k|    _PyUnicode_InternMortal(interp, &v);
  157|       |
  158|       |    /* First, try to lookup the name in the registry dictionary */
  159|  41.3k|    PyObject *result;
  160|  41.3k|    if (PyDict_GetItemRef(interp->codecs.search_cache, v, &result) < 0) {
  ------------------
  |  Branch (160:9): [True: 0, False: 41.3k]
  ------------------
  161|      0|        goto onError;
  162|      0|    }
  163|  41.3k|    if (result != NULL) {
  ------------------
  |  Branch (163:9): [True: 40.9k, False: 376]
  ------------------
  164|  40.9k|        Py_DECREF(v);
  ------------------
  |  |  430|  40.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  40.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|  40.9k|        return result;
  166|  40.9k|    }
  167|       |
  168|       |    /* Next, scan the search functions in order of registration */
  169|    376|    const Py_ssize_t len = PyList_Size(interp->codecs.search_path);
  170|    376|    if (len < 0)
  ------------------
  |  Branch (170:9): [True: 0, False: 376]
  ------------------
  171|      0|        goto onError;
  172|    376|    if (len == 0) {
  ------------------
  |  Branch (172:9): [True: 0, False: 376]
  ------------------
  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|    376|    Py_ssize_t i;
  180|    842|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (180:17): [True: 619, False: 223]
  ------------------
  181|    619|        PyObject *func;
  182|       |
  183|    619|        func = PyList_GetItemRef(interp->codecs.search_path, i);
  184|    619|        if (func == NULL)
  ------------------
  |  Branch (184:13): [True: 0, False: 619]
  ------------------
  185|      0|            goto onError;
  186|    619|        result = PyObject_CallOneArg(func, v);
  187|    619|        Py_DECREF(func);
  ------------------
  |  |  430|    619|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    619|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    619|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  188|    619|        if (result == NULL)
  ------------------
  |  Branch (188:13): [True: 0, False: 619]
  ------------------
  189|      0|            goto onError;
  190|    619|        if (result == Py_None) {
  ------------------
  |  |  616|    619|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (190:13): [True: 466, False: 153]
  ------------------
  191|    466|            Py_CLEAR(result);
  ------------------
  |  |  484|    466|    do { \
  |  |  485|    466|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    466|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    466|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    466|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    466|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 466, False: 0]
  |  |  ------------------
  |  |  488|    466|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    466|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    466|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    466|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    466|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    466|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    466|        } \
  |  |  491|    466|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 466]
  |  |  ------------------
  ------------------
  192|    466|            continue;
  193|    466|        }
  194|    153|        if (!PyTuple_Check(result) || PyTuple_GET_SIZE(result) != 4) {
  ------------------
  |  |   27|    153|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    306|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                      if (!PyTuple_Check(result) || PyTuple_GET_SIZE(result) != 4) {
  ------------------
  |  |   27|    153|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    153|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    153|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (194:13): [True: 0, False: 153]
  |  Branch (194:39): [True: 0, False: 153]
  ------------------
  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|    153|        break;
  201|    153|    }
  202|    376|    if (result == NULL) {
  ------------------
  |  Branch (202:9): [True: 223, False: 153]
  ------------------
  203|       |        /* XXX Perhaps we should cache misses too ? */
  204|    223|        PyErr_Format(PyExc_LookupError,
  205|    223|                     "unknown encoding: %s", encoding);
  206|    223|        goto onError;
  207|    223|    }
  208|       |
  209|    153|    _PyUnicode_InternImmortal(interp, &v);
  210|       |
  211|       |    /* Cache and return the result */
  212|    153|    if (PyDict_SetItem(interp->codecs.search_cache, v, result) < 0) {
  ------------------
  |  Branch (212:9): [True: 0, False: 153]
  ------------------
  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|    153|    Py_DECREF(v);
  ------------------
  |  |  430|    153|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    153|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    153|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  217|    153|    return result;
  218|       |
  219|    223| onError:
  220|    223|    Py_DECREF(v);
  ------------------
  |  |  430|    223|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    223|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    223|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  221|       |    return NULL;
  222|    153|}
_PyCodecInfo_GetIncrementalDecoder:
  342|      2|{
  343|      2|    return codec_makeincrementalcodec(codec_info, errors,
  344|      2|                                      "incrementaldecoder");
  345|      2|}
_PyCodecInfo_GetIncrementalEncoder:
  349|      4|{
  350|      4|    return codec_makeincrementalcodec(codec_info, errors,
  351|      4|                                      "incrementalencoder");
  352|      4|}
_PyCodec_LookupTextEncoding:
  516|  41.3k|{
  517|  41.3k|    PyObject *codec;
  518|  41.3k|    PyObject *attr;
  519|  41.3k|    int is_text_codec;
  520|       |
  521|  41.3k|    codec = _PyCodec_Lookup(encoding);
  522|  41.3k|    if (codec == NULL)
  ------------------
  |  Branch (522:9): [True: 223, False: 41.1k]
  ------------------
  523|    223|        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|  41.1k|    if (!PyTuple_CheckExact(codec)) {
  ------------------
  |  |   28|  41.1k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  41.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  41.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  41.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (529:9): [True: 41.1k, False: 0]
  ------------------
  530|  41.1k|        if (PyObject_GetOptionalAttr(codec, &_Py_ID(_is_text_encoding), &attr) < 0) {
  ------------------
  |  |  921|  41.1k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  41.1k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  41.1k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (530:13): [True: 0, False: 41.1k]
  ------------------
  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|  41.1k|        if (attr != NULL) {
  ------------------
  |  Branch (534:13): [True: 41.1k, False: 0]
  ------------------
  535|  41.1k|            is_text_codec = PyObject_IsTrue(attr);
  536|  41.1k|            Py_DECREF(attr);
  ------------------
  |  |  430|  41.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  41.1k|            if (is_text_codec <= 0) {
  ------------------
  |  Branch (537:17): [True: 7, False: 41.1k]
  ------------------
  538|      7|                Py_DECREF(codec);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  539|      7|                if (!is_text_codec) {
  ------------------
  |  Branch (539:21): [True: 7, False: 0]
  ------------------
  540|      7|                    if (alternate_command != NULL) {
  ------------------
  |  Branch (540:25): [True: 7, False: 0]
  ------------------
  541|      7|                        PyErr_Format(PyExc_LookupError,
  542|      7|                                     "'%.400s' is not a text encoding; "
  543|      7|                                     "use %s to handle arbitrary codecs",
  544|      7|                                     encoding, alternate_command);
  545|      7|                    }
  546|      0|                    else {
  547|      0|                        PyErr_Format(PyExc_LookupError,
  548|      0|                                     "'%.400s' is not a text encoding",
  549|      0|                                     encoding);
  550|      0|                    }
  551|      7|                }
  552|      7|                return NULL;
  553|      7|            }
  554|  41.1k|        }
  555|  41.1k|    }
  556|       |
  557|       |    /* This appears to be a valid text encoding */
  558|  41.1k|    return codec;
  559|  41.1k|}
_PyCodec_EncodeText:
  592|  17.6k|{
  593|  17.6k|    PyObject *encoder;
  594|       |
  595|  17.6k|    encoder = _PyCodec_TextEncoder(encoding);
  596|  17.6k|    if (encoder == NULL)
  ------------------
  |  Branch (596:9): [True: 0, False: 17.6k]
  ------------------
  597|      0|        return NULL;
  598|       |
  599|  17.6k|    return _PyCodec_EncodeInternal(object, encoder, encoding, errors);
  600|  17.6k|}
_PyCodec_DecodeText:
  605|  23.6k|{
  606|  23.6k|    PyObject *decoder;
  607|       |
  608|  23.6k|    decoder = _PyCodec_TextDecoder(encoding);
  609|  23.6k|    if (decoder == NULL)
  ------------------
  |  Branch (609:9): [True: 230, False: 23.4k]
  ------------------
  610|    230|        return NULL;
  611|       |
  612|  23.4k|    return _PyCodec_DecodeInternal(object, decoder, encoding, errors);
  613|  23.6k|}
PyCodec_LookupError:
  651|  2.94k|{
  652|  2.94k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  653|  2.94k|    assert(interp->codecs.initialized);
  ------------------
  |  Branch (653:5): [True: 2.94k, False: 0]
  ------------------
  654|       |
  655|  2.94k|    if (name==NULL)
  ------------------
  |  Branch (655:9): [True: 2.71k, False: 235]
  ------------------
  656|  2.71k|        name = "strict";
  657|  2.94k|    PyObject *handler;
  658|  2.94k|    if (PyDict_GetItemStringRef(interp->codecs.error_registry, name, &handler) < 0) {
  ------------------
  |  Branch (658:9): [True: 0, False: 2.94k]
  ------------------
  659|      0|        return NULL;
  660|      0|    }
  661|  2.94k|    if (handler == NULL) {
  ------------------
  |  Branch (661:9): [True: 0, False: 2.94k]
  ------------------
  662|      0|        PyErr_Format(PyExc_LookupError, "unknown error handler name '%.400s'", name);
  663|      0|        return NULL;
  664|      0|    }
  665|  2.94k|    return handler;
  666|  2.94k|}
PyCodec_StrictErrors:
  782|  38.8k|{
  783|  38.8k|    if (PyExceptionInstance_Check(exc)) {
  ------------------
  |  |   65|  38.8k|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  38.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 38.8k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  784|  38.8k|        PyErr_SetObject(PyExceptionInstance_Class(exc), exc);
  ------------------
  |  |   69|  38.8k|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  ------------------
  |  |  |  |  171|  38.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  785|  38.8k|    }
  786|      0|    else {
  787|      0|        PyErr_SetString(PyExc_TypeError, "codec must pass exception instance");
  788|      0|    }
  789|       |    return NULL;
  790|  38.8k|}
_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|  41.3k|{
   94|  41.3k|    size_t i;
   95|  41.3k|    size_t len = strlen(string);
   96|  41.3k|    char *p;
   97|  41.3k|    PyObject *v;
   98|       |
   99|  41.3k|    if (len > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  41.3k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (99:9): [True: 0, False: 41.3k]
  ------------------
  100|      0|        PyErr_SetString(PyExc_OverflowError, "string is too large");
  101|      0|        return NULL;
  102|      0|    }
  103|       |
  104|  41.3k|    p = PyMem_Malloc(len + 1);
  105|  41.3k|    if (p == NULL)
  ------------------
  |  Branch (105:9): [True: 0, False: 41.3k]
  ------------------
  106|      0|        return PyErr_NoMemory();
  107|   376k|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (107:17): [True: 334k, False: 41.3k]
  ------------------
  108|   334k|        char ch = string[i];
  109|   334k|        if (ch == ' ')
  ------------------
  |  Branch (109:13): [True: 0, False: 334k]
  ------------------
  110|      0|            ch = '-';
  111|   334k|        else
  112|   334k|            ch = Py_TOLOWER(Py_CHARMASK(ch));
  ------------------
  |  |   32|   334k|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|   334k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  113|   334k|        p[i] = ch;
  114|   334k|    }
  115|  41.3k|    p[i] = '\0';
  116|  41.3k|    v = PyUnicode_FromString(p);
  117|  41.3k|    PyMem_Free(p);
  118|  41.3k|    return v;
  119|  41.3k|}
codecs.c:codec_makeincrementalcodec:
  285|      6|{
  286|      6|    PyObject *ret, *inccodec;
  287|       |
  288|      6|    inccodec = PyObject_GetAttrString(codec_info, attrname);
  289|      6|    if (inccodec == NULL)
  ------------------
  |  Branch (289:9): [True: 0, False: 6]
  ------------------
  290|      0|        return NULL;
  291|      6|    if (errors)
  ------------------
  |  Branch (291:9): [True: 6, False: 0]
  ------------------
  292|      6|        ret = PyObject_CallFunction(inccodec, "s", errors);
  293|      0|    else
  294|      0|        ret = _PyObject_CallNoArgs(inccodec);
  295|      6|    Py_DECREF(inccodec);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  296|      6|    return ret;
  297|      6|}
codecs.c:_PyCodec_EncodeInternal:
  407|  17.6k|{
  408|  17.6k|    PyObject *args = NULL, *result = NULL;
  409|  17.6k|    PyObject *v = NULL;
  410|       |
  411|  17.6k|    args = args_tuple(object, errors);
  412|  17.6k|    if (args == NULL)
  ------------------
  |  Branch (412:9): [True: 0, False: 17.6k]
  ------------------
  413|      0|        goto onError;
  414|       |
  415|  17.6k|    result = PyObject_Call(encoder, args, NULL);
  416|  17.6k|    if (result == NULL) {
  ------------------
  |  Branch (416:9): [True: 0, False: 17.6k]
  ------------------
  417|      0|        _PyErr_FormatNote("%s with '%s' codec failed", "encoding", encoding);
  418|      0|        goto onError;
  419|      0|    }
  420|       |
  421|  17.6k|    if (!PyTuple_Check(result) ||
  ------------------
  |  |   27|  17.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  35.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (421:9): [True: 0, False: 17.6k]
  ------------------
  422|  17.6k|        PyTuple_GET_SIZE(result) != 2) {
  ------------------
  |  |   27|  17.6k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (422:9): [True: 0, False: 17.6k]
  ------------------
  423|      0|        PyErr_SetString(PyExc_TypeError,
  424|      0|                        "encoder must return a tuple (object, integer)");
  425|      0|        goto onError;
  426|      0|    }
  427|  17.6k|    v = Py_NewRef(PyTuple_GET_ITEM(result,0));
  ------------------
  |  |  550|  17.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  17.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 17.6k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  428|       |    /* We don't check or use the second (integer) entry. */
  429|       |
  430|  17.6k|    Py_DECREF(args);
  ------------------
  |  |  430|  17.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  431|  17.6k|    Py_DECREF(encoder);
  ------------------
  |  |  430|  17.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  432|  17.6k|    Py_DECREF(result);
  ------------------
  |  |  430|  17.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  433|  17.6k|    return v;
  434|       |
  435|      0| onError:
  436|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  437|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  438|      0|    Py_XDECREF(encoder);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  439|       |    return NULL;
  440|  17.6k|}
codecs.c:args_tuple:
  244|  41.1k|{
  245|  41.1k|    PyObject *args;
  246|       |
  247|  41.1k|    args = PyTuple_New(1 + (errors != NULL));
  248|  41.1k|    if (args == NULL)
  ------------------
  |  Branch (248:9): [True: 0, False: 41.1k]
  ------------------
  249|      0|        return NULL;
  250|  41.1k|    PyTuple_SET_ITEM(args, 0, Py_NewRef(object));
  ------------------
  |  |   40|  41.1k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  41.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  41.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  251|  41.1k|    if (errors) {
  ------------------
  |  Branch (251:9): [True: 0, False: 41.1k]
  ------------------
  252|      0|        PyObject *v;
  253|       |
  254|      0|        v = PyUnicode_FromString(errors);
  255|      0|        if (v == NULL) {
  ------------------
  |  Branch (255:13): [True: 0, False: 0]
  ------------------
  256|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  257|      0|            return NULL;
  258|      0|        }
  259|      0|        PyTuple_SET_ITEM(args, 1, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  260|      0|    }
  261|  41.1k|    return args;
  262|  41.1k|}
codecs.c:_PyCodec_DecodeInternal:
  452|  23.4k|{
  453|  23.4k|    PyObject *args = NULL, *result = NULL;
  454|  23.4k|    PyObject *v;
  455|       |
  456|  23.4k|    args = args_tuple(object, errors);
  457|  23.4k|    if (args == NULL)
  ------------------
  |  Branch (457:9): [True: 0, False: 23.4k]
  ------------------
  458|      0|        goto onError;
  459|       |
  460|  23.4k|    result = PyObject_Call(decoder, args, NULL);
  461|  23.4k|    if (result == NULL) {
  ------------------
  |  Branch (461:9): [True: 1.99k, False: 21.4k]
  ------------------
  462|  1.99k|        _PyErr_FormatNote("%s with '%s' codec failed", "decoding", encoding);
  463|  1.99k|        goto onError;
  464|  1.99k|    }
  465|  21.4k|    if (!PyTuple_Check(result) ||
  ------------------
  |  |   27|  21.4k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  42.9k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (465:9): [True: 0, False: 21.4k]
  ------------------
  466|  21.4k|        PyTuple_GET_SIZE(result) != 2) {
  ------------------
  |  |   27|  21.4k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (466:9): [True: 0, False: 21.4k]
  ------------------
  467|      0|        PyErr_SetString(PyExc_TypeError,
  468|      0|                        "decoder must return a tuple (object,integer)");
  469|      0|        goto onError;
  470|      0|    }
  471|  21.4k|    v = Py_NewRef(PyTuple_GET_ITEM(result,0));
  ------------------
  |  |  550|  21.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  21.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 21.4k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  472|       |    /* We don't check or use the second (integer) entry. */
  473|       |
  474|  21.4k|    Py_DECREF(args);
  ------------------
  |  |  430|  21.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  475|  21.4k|    Py_DECREF(decoder);
  ------------------
  |  |  430|  21.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  476|  21.4k|    Py_DECREF(result);
  ------------------
  |  |  430|  21.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  477|  21.4k|    return v;
  478|       |
  479|  1.99k| onError:
  480|  1.99k|    Py_XDECREF(args);
  ------------------
  |  |  524|  1.99k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|  1.99k|    Py_XDECREF(decoder);
  ------------------
  |  |  524|  1.99k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  482|  1.99k|    Py_XDECREF(result);
  ------------------
  |  |  524|  1.99k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|       |    return NULL;
  484|  21.4k|}
codecs.c:_PyCodec_TextEncoder:
  580|  17.6k|{
  581|  17.6k|    return codec_getitem_checked(encoding, "codecs.encode()", 0);
  582|  17.6k|}
codecs.c:codec_getitem_checked:
  566|  41.3k|{
  567|  41.3k|    PyObject *codec;
  568|  41.3k|    PyObject *v;
  569|       |
  570|  41.3k|    codec = _PyCodec_LookupTextEncoding(encoding, alternate_command);
  571|  41.3k|    if (codec == NULL)
  ------------------
  |  Branch (571:9): [True: 230, False: 41.1k]
  ------------------
  572|    230|        return NULL;
  573|       |
  574|  41.1k|    v = Py_NewRef(PyTuple_GET_ITEM(codec, index));
  ------------------
  |  |  550|  41.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  41.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  82.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 41.1k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  575|  41.1k|    Py_DECREF(codec);
  ------------------
  |  |  430|  41.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  576|  41.1k|    return v;
  577|  41.1k|}
codecs.c:_PyCodec_TextDecoder:
  585|  23.6k|{
  586|  23.6k|    return codec_getitem_checked(encoding, "codecs.decode()", 1);
  587|  23.6k|}
codecs.c:strict_errors:
 1512|  2.93k|{
 1513|  2.93k|    return PyCodec_StrictErrors(exc);
 1514|  2.93k|}

_Py_CArray_Init:
  110|  12.6k|_Py_CArray_Init(_Py_c_array_t* array, int item_size, int initial_num_entries) {
  111|  12.6k|    memset(array, 0, sizeof(_Py_c_array_t));
  112|  12.6k|    array->item_size = item_size;
  113|  12.6k|    array->initial_num_entries = initial_num_entries;
  114|  12.6k|    return 0;
  115|  12.6k|}
_Py_CArray_Fini:
  119|  12.6k|{
  120|  12.6k|    if (array->array) {
  ------------------
  |  Branch (120:9): [True: 2.33k, False: 10.3k]
  ------------------
  121|  2.33k|        PyMem_Free(array->array);
  122|  2.33k|        array->allocated_entries = 0;
  123|  2.33k|    }
  124|  12.6k|}
_Py_CArray_EnsureCapacity:
  128|  14.5M|{
  129|  14.5M|    void *arr = c_array->array;
  130|  14.5M|    int alloc = c_array->allocated_entries;
  131|  14.5M|    if (arr == NULL) {
  ------------------
  |  Branch (131:9): [True: 680k, False: 13.8M]
  ------------------
  132|   680k|        int new_alloc = c_array->initial_num_entries;
  133|   680k|        if (idx >= new_alloc) {
  ------------------
  |  Branch (133:13): [True: 29, False: 680k]
  ------------------
  134|     29|            new_alloc = idx + c_array->initial_num_entries;
  135|     29|        }
  136|   680k|        arr = PyMem_Calloc(new_alloc, c_array->item_size);
  137|   680k|        if (arr == NULL) {
  ------------------
  |  Branch (137:13): [True: 0, False: 680k]
  ------------------
  138|      0|            PyErr_NoMemory();
  139|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  140|      0|        }
  141|   680k|        alloc = new_alloc;
  142|   680k|    }
  143|  13.8M|    else if (idx >= alloc) {
  ------------------
  |  Branch (143:14): [True: 97.1k, False: 13.7M]
  ------------------
  144|  97.1k|        size_t oldsize = alloc * c_array->item_size;
  145|  97.1k|        int new_alloc = alloc << 1;
  146|  97.1k|        if (idx >= new_alloc) {
  ------------------
  |  Branch (146:13): [True: 3, False: 97.1k]
  ------------------
  147|      3|            new_alloc = idx + c_array->initial_num_entries;
  148|      3|        }
  149|  97.1k|        size_t newsize = new_alloc * c_array->item_size;
  150|       |
  151|  97.1k|        if (oldsize > (SIZE_MAX >> 1)) {
  ------------------
  |  Branch (151:13): [True: 0, False: 97.1k]
  ------------------
  152|      0|            PyErr_NoMemory();
  153|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  154|      0|        }
  155|       |
  156|  97.1k|        assert(newsize > 0);
  ------------------
  |  Branch (156:9): [True: 97.1k, False: 0]
  ------------------
  157|  97.1k|        void *tmp = PyMem_Realloc(arr, newsize);
  158|  97.1k|        if (tmp == NULL) {
  ------------------
  |  Branch (158:13): [True: 0, False: 97.1k]
  ------------------
  159|      0|            PyErr_NoMemory();
  160|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  161|      0|        }
  162|  97.1k|        alloc = new_alloc;
  163|  97.1k|        arr = tmp;
  164|  97.1k|        memset((char *)arr + oldsize, 0, newsize - oldsize);
  165|  97.1k|    }
  166|       |
  167|  14.5M|    c_array->array = arr;
  168|  14.5M|    c_array->allocated_entries = alloc;
  169|  14.5M|    return SUCCESS;
  ------------------
  |  |   47|  14.5M|#define SUCCESS 0
  ------------------
  170|  14.5M|}
_PyCodegen_Expression:
  907|  1.50k|{
  908|  1.50k|    VISIT(c, expr, e);
  ------------------
  |  |  453|  1.50k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.50k|    do {                    \
  |  |  |  |   52|  1.50k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 40, False: 1.46k]
  |  |  |  |  ------------------
  |  |  |  |   53|     40|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     40|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     40|        }                   \
  |  |  |  |   55|  1.50k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.46k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  909|  1.46k|    return SUCCESS;
  ------------------
  |  |   47|  1.46k|#define SUCCESS 0
  ------------------
  910|  1.50k|}
_PyCodegen_Module:
  917|  9.05k|{
  918|  9.05k|    if (SYMTABLE_ENTRY(c)->ste_has_conditional_annotations) {
  ------------------
  |  |   71|  9.05k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (918:9): [True: 2.03k, False: 7.02k]
  ------------------
  919|  2.03k|        ADDOP_I(c, loc, BUILD_SET, 0);
  ------------------
  |  |  277|  2.03k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.03k|    do {                    \
  |  |  |  |   52|  2.03k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.03k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.03k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.03k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  920|  2.03k|        ADDOP_N(c, loc, STORE_NAME, &_Py_ID(__conditional_annotations__), names);
  ------------------
  |  |  338|  2.03k|    do {                                                                \
  |  |  339|  2.03k|        assert(!OPCODE_HAS_CONST(OP)); /* use ADDOP_LOAD_CONST_NEW */   \
  |  |  340|  2.03k|        int ret = codegen_addop_o((C), (LOC), (OP),                     \
  |  |  341|  2.03k|                                  METADATA(C)->u_ ## TYPE, (O));        \
  |  |  ------------------
  |  |  |  |   76|  2.03k|#define METADATA(C) _PyCompile_Metadata(C)
  |  |  ------------------
  |  |  342|  2.03k|        Py_DECREF((O));                                                 \
  |  |  ------------------
  |  |  |  |  430|  2.03k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  343|  2.03k|        RETURN_IF_ERROR(ret);                                           \
  |  |  ------------------
  |  |  |  |   51|  2.03k|    do {                    \
  |  |  |  |   52|  2.03k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.03k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.03k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.03k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  344|  2.03k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (344:14): [Folded, False: 2.03k]
  |  |  ------------------
  ------------------
  |  Branch (920:9): [True: 2.03k, Folded]
  ------------------
  921|  2.03k|    }
  922|  9.05k|    return codegen_body(c, loc, stmts, is_interactive);
  923|  9.05k|}
_PyCodegen_EnterAnonymousScope:
  972|  10.5k|{
  973|  10.5k|    _Py_DECLARE_STR(anon_module, "<module>");
  974|  10.5k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  10.5k|    do {                    \
  |  |   52|  10.5k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 10.5k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  10.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 10.5k]
  |  |  ------------------
  ------------------
  975|  10.5k|        codegen_enter_scope(c, &_Py_STR(anon_module), COMPILE_SCOPE_MODULE,
  976|  10.5k|                            mod, 1, NULL, NULL));
  977|  10.5k|    return SUCCESS;
  ------------------
  |  |   47|  10.5k|#define SUCCESS 0
  ------------------
  978|  10.5k|}
_PyCodegen_AddReturnAtEnd:
 6767|  52.7k|{
 6768|       |    /* Make sure every instruction stream that falls off the end returns None.
 6769|       |     * This also ensures that no jump target offsets are out of bounds.
 6770|       |     */
 6771|  52.7k|    if (addNone) {
  ------------------
  |  Branch (6771:9): [True: 45.9k, False: 6.79k]
  ------------------
 6772|  45.9k|        ADDOP_LOAD_CONST(c, NO_LOCATION, Py_None);
  ------------------
  |  |  308|  45.9k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  45.9k|    do {                    \
  |  |  |  |   52|  45.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 45.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  45.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 45.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6773|  45.9k|    }
 6774|  52.7k|    ADDOP(c, NO_LOCATION, RETURN_VALUE);
  ------------------
  |  |  291|  52.7k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  52.7k|    do {                    \
  |  |  |  |   52|  52.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 52.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  52.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 52.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6775|  52.7k|    return SUCCESS;
  ------------------
  |  |   47|  52.7k|#define SUCCESS 0
  ------------------
 6776|  52.7k|}
codegen.c:codegen_addop_i:
  262|  3.78M|{
  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|  3.78M|    int oparg_ = Py_SAFE_DOWNCAST(oparg, Py_ssize_t, int);
  ------------------
  |  |  247|  3.78M|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|  3.78M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  272|  3.78M|    assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (272:5): [True: 0, False: 3.78M]
  |  Branch (272:5): [True: 0, False: 3.78M]
  |  Branch (272:5): [True: 0, False: 3.78M]
  ------------------
  273|  3.78M|    return _PyInstructionSequence_Addop(seq, opcode, oparg_, loc);
  274|  3.78M|}
codegen.c:codegen_addop_o:
  330|   156k|{
  331|   156k|    Py_ssize_t arg = _PyCompile_DictAddObj(dict, o);
  332|   156k|    RETURN_IF_ERROR(arg);
  ------------------
  |  |   51|   156k|    do {                    \
  |  |   52|   156k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 156k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|   156k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 156k]
  |  |  ------------------
  ------------------
  333|   156k|    ADDOP_I(c, loc, opcode, arg);
  ------------------
  |  |  277|   156k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|   156k|    do {                    \
  |  |  |  |   52|   156k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 156k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|   156k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 156k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  334|   156k|    return SUCCESS;
  ------------------
  |  |   47|   156k|#define SUCCESS 0
  ------------------
  335|   156k|}
codegen.c:codegen_body:
  927|  22.1k|{
  928|       |    /* If from __future__ import annotations is active,
  929|       |     * every annotated class and module should have __annotations__.
  930|       |     * Else __annotate__ is created when necessary. */
  931|  22.1k|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|  22.1k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  932|  22.1k|    if ((FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS) && ste->ste_annotations_used) {
  ------------------
  |  |   69|  22.1k|#define FUTURE_FEATURES(C) _PyCompile_FutureFeatures(C)
  ------------------
                  if ((FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS) && ste->ste_annotations_used) {
  ------------------
  |  |  147|  22.1k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (932:9): [True: 2.26k, False: 19.8k]
  |  Branch (932:57): [True: 2.00k, False: 261]
  ------------------
  933|  2.00k|        ADDOP(c, loc, SETUP_ANNOTATIONS);
  ------------------
  |  |  291|  2.00k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.00k|    do {                    \
  |  |  |  |   52|  2.00k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.00k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.00k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.00k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  934|  2.00k|    }
  935|  22.1k|    if (!asdl_seq_LEN(stmts)) {
  ------------------
  |  |   83|  22.1k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  44.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 91, False: 22.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (935:9): [True: 91, False: 22.0k]
  ------------------
  936|     91|        return SUCCESS;
  ------------------
  |  |   47|     91|#define SUCCESS 0
  ------------------
  937|     91|    }
  938|  22.0k|    Py_ssize_t first_instr = 0;
  939|  22.0k|    if (!is_interactive) { /* A string literal on REPL prompt is not a docstring */
  ------------------
  |  Branch (939:9): [True: 20.2k, False: 1.80k]
  ------------------
  940|  20.2k|        if (ste->ste_has_docstring) {
  ------------------
  |  Branch (940:13): [True: 1.31k, False: 18.8k]
  ------------------
  941|  1.31k|            PyObject *docstring = _PyAST_GetDocString(stmts);
  942|  1.31k|            assert(docstring);
  ------------------
  |  Branch (942:13): [True: 1.31k, False: 0]
  ------------------
  943|  1.31k|            first_instr = 1;
  944|       |            /* set docstring */
  945|  1.31k|            assert(OPTIMIZATION_LEVEL(c) < 2);
  ------------------
  |  Branch (945:13): [True: 1.31k, False: 0]
  ------------------
  946|  1.31k|            PyObject *cleandoc = _PyCompile_CleanDoc(docstring);
  947|  1.31k|            if (cleandoc == NULL) {
  ------------------
  |  Branch (947:17): [True: 0, False: 1.31k]
  ------------------
  948|      0|                return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  949|      0|            }
  950|  1.31k|            stmt_ty st = (stmt_ty)asdl_seq_GET(stmts, 0);
  ------------------
  |  |   82|  1.31k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.31k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  951|  1.31k|            assert(st->kind == Expr_kind);
  ------------------
  |  Branch (951:13): [True: 1.31k, False: 0]
  ------------------
  952|  1.31k|            location loc = LOC(st->v.Expr.value);
  ------------------
  |  |   88|  1.31k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.31k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.31k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.31k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.31k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.31k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  953|  1.31k|            ADDOP_LOAD_CONST(c, loc, cleandoc);
  ------------------
  |  |  308|  1.31k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.31k|    do {                    \
  |  |  |  |   52|  1.31k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.31k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.31k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.31k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  954|  1.31k|            Py_DECREF(cleandoc);
  ------------------
  |  |  430|  1.31k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  955|  1.31k|            RETURN_IF_ERROR(codegen_nameop(c, NO_LOCATION, &_Py_ID(__doc__), Store));
  ------------------
  |  |   51|  1.31k|    do {                    \
  |  |   52|  1.31k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.31k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.31k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.31k]
  |  |  ------------------
  ------------------
  956|  1.31k|        }
  957|  20.2k|    }
  958|   134k|    for (Py_ssize_t i = first_instr; i < asdl_seq_LEN(stmts); i++) {
  ------------------
  |  |   83|   134k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|   269k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 134k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (958:38): [True: 113k, False: 21.5k]
  ------------------
  959|   113k|        VISIT(c, stmt, (stmt_ty)asdl_seq_GET(stmts, i));
  ------------------
  |  |  453|   113k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|   113k|    do {                    \
  |  |  |  |   52|   113k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 469, False: 112k]
  |  |  |  |  ------------------
  |  |  |  |   53|    469|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    469|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|    469|        }                   \
  |  |  |  |   55|   113k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 112k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  960|   113k|    }
  961|       |    // If there are annotations and the future import is not on, we
  962|       |    // collect the annotations in a separate pass and generate an
  963|       |    // __annotate__ function. See PEP 649.
  964|  21.5k|    if (!(FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |   69|  21.5k|#define FUTURE_FEATURES(C) _PyCompile_FutureFeatures(C)
  ------------------
                  if (!(FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |  147|  21.5k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (964:9): [True: 19.3k, False: 2.24k]
  ------------------
  965|  19.3k|        RETURN_IF_ERROR(codegen_process_deferred_annotations(c, loc));
  ------------------
  |  |   51|  19.3k|    do {                    \
  |  |   52|  19.3k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 9, False: 19.2k]
  |  |  ------------------
  |  |   53|      9|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      9|#define ERROR -1
  |  |  ------------------
  |  |   54|      9|        }                   \
  |  |   55|  19.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 19.2k]
  |  |  ------------------
  ------------------
  966|  19.3k|    }
  967|  21.5k|    return SUCCESS;
  ------------------
  |  |   47|  21.5k|#define SUCCESS 0
  ------------------
  968|  21.5k|}
codegen.c:codegen_nameop:
 3302|   526k|{
 3303|   526k|    assert(!_PyUnicode_EqualToASCIIString(name, "None") &&
  ------------------
  |  Branch (3303:5): [True: 526k, False: 0]
  |  Branch (3303:5): [True: 526k, False: 0]
  |  Branch (3303:5): [True: 526k, False: 0]
  ------------------
 3304|   526k|           !_PyUnicode_EqualToASCIIString(name, "True") &&
 3305|   526k|           !_PyUnicode_EqualToASCIIString(name, "False"));
 3306|       |
 3307|   526k|    PyObject *mangled = _PyCompile_MaybeMangle(c, name);
 3308|   526k|    if (!mangled) {
  ------------------
  |  Branch (3308:9): [True: 0, False: 526k]
  ------------------
 3309|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 3310|      0|    }
 3311|       |
 3312|   526k|    int scope = _PyST_GetScope(SYMTABLE_ENTRY(c), mangled);
  ------------------
  |  |   71|   526k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
 3313|   526k|    if (scope == -1) {
  ------------------
  |  Branch (3313:9): [True: 0, False: 526k]
  ------------------
 3314|      0|        goto error;
 3315|      0|    }
 3316|       |
 3317|   526k|    _PyCompile_optype optype;
 3318|   526k|    Py_ssize_t arg = 0;
 3319|   526k|    if (_PyCompile_ResolveNameop(c, mangled, scope, &optype, &arg) < 0) {
  ------------------
  |  Branch (3319:9): [True: 0, False: 526k]
  ------------------
 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|   526k|    assert(scope || PyUnicode_READ_CHAR(name, 0) == '_');
  ------------------
  |  Branch (3325:5): [True: 446k, False: 79.1k]
  |  Branch (3325:5): [True: 79.1k, False: 0]
  ------------------
 3326|       |
 3327|   526k|    int op = 0;
 3328|   526k|    switch (optype) {
  ------------------
  |  Branch (3328:13): [True: 526k, False: 0]
  ------------------
 3329|  9.30k|    case COMPILE_OP_DEREF:
  ------------------
  |  Branch (3329:5): [True: 9.30k, False: 516k]
  ------------------
 3330|  9.30k|        switch (ctx) {
  ------------------
  |  Branch (3330:17): [True: 9.30k, False: 0]
  ------------------
 3331|  6.31k|        case Load:
  ------------------
  |  Branch (3331:9): [True: 6.31k, False: 2.98k]
  ------------------
 3332|  6.31k|            if (SYMTABLE_ENTRY(c)->ste_type == ClassBlock && !_PyCompile_IsInInlinedComp(c)) {
  ------------------
  |  |   71|  6.31k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (3332:17): [True: 2.67k, False: 3.64k]
  |  Branch (3332:62): [True: 2.67k, False: 0]
  ------------------
 3333|  2.67k|                op = LOAD_FROM_DICT_OR_DEREF;
  ------------------
  |  |   99|  2.67k|#define LOAD_FROM_DICT_OR_DEREF                 86
  ------------------
 3334|       |                // First load the locals
 3335|  2.67k|                if (codegen_addop_noarg(INSTR_SEQUENCE(c), LOAD_LOCALS, loc) < 0) {
  ------------------
  |  |   68|  2.67k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  ------------------
                              if (codegen_addop_noarg(INSTR_SEQUENCE(c), LOAD_LOCALS, loc) < 0) {
  ------------------
  |  |   33|  2.67k|#define LOAD_LOCALS                             20
  ------------------
  |  Branch (3335:21): [True: 0, False: 2.67k]
  ------------------
 3336|      0|                    goto error;
 3337|      0|                }
 3338|  2.67k|            }
 3339|  3.64k|            else if (SYMTABLE_ENTRY(c)->ste_can_see_class_scope) {
  ------------------
  |  |   71|  3.64k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (3339:22): [True: 169, False: 3.47k]
  ------------------
 3340|    169|                op = LOAD_FROM_DICT_OR_DEREF;
  ------------------
  |  |   99|    169|#define LOAD_FROM_DICT_OR_DEREF                 86
  ------------------
 3341|       |                // First load the classdict
 3342|    169|                if (codegen_load_classdict_freevar(c, loc) < 0) {
  ------------------
  |  Branch (3342:21): [True: 0, False: 169]
  ------------------
 3343|      0|                    goto error;
 3344|      0|                }
 3345|    169|            }
 3346|  3.47k|            else {
 3347|  3.47k|                op = LOAD_DEREF;
  ------------------
  |  |   92|  3.47k|#define LOAD_DEREF                              79
  ------------------
 3348|  3.47k|            }
 3349|  6.31k|            break;
 3350|  6.31k|        case Store: op = STORE_DEREF; break;
  ------------------
  |  |  120|  2.98k|#define STORE_DEREF                            107
  ------------------
  |  Branch (3350:9): [True: 2.98k, False: 6.31k]
  ------------------
 3351|      0|        case Del: op = DELETE_DEREF; break;
  ------------------
  |  |   72|      0|#define DELETE_DEREF                            59
  ------------------
  |  Branch (3351:9): [True: 0, False: 9.30k]
  ------------------
 3352|  9.30k|        }
 3353|  9.30k|        break;
 3354|   131k|    case COMPILE_OP_FAST:
  ------------------
  |  Branch (3354:5): [True: 131k, False: 394k]
  ------------------
 3355|   131k|        switch (ctx) {
  ------------------
  |  Branch (3355:17): [True: 131k, False: 0]
  ------------------
 3356|  19.0k|        case Load: op = LOAD_FAST; break;
  ------------------
  |  |   93|  19.0k|#define LOAD_FAST                               80
  ------------------
  |  Branch (3356:9): [True: 19.0k, False: 112k]
  ------------------
 3357|   109k|        case Store: op = STORE_FAST; break;
  ------------------
  |  |  121|   109k|#define STORE_FAST                             108
  ------------------
  |  Branch (3357:9): [True: 109k, False: 22.1k]
  ------------------
 3358|  3.12k|        case Del: op = DELETE_FAST; break;
  ------------------
  |  |   73|  3.12k|#define DELETE_FAST                             60
  ------------------
  |  Branch (3358:9): [True: 3.12k, False: 128k]
  ------------------
 3359|   131k|        }
 3360|   131k|        ADDOP_N(c, loc, op, mangled, varnames);
  ------------------
  |  |  338|   131k|    do {                                                                \
  |  |  339|   131k|        assert(!OPCODE_HAS_CONST(OP)); /* use ADDOP_LOAD_CONST_NEW */   \
  |  |  340|   131k|        int ret = codegen_addop_o((C), (LOC), (OP),                     \
  |  |  341|   131k|                                  METADATA(C)->u_ ## TYPE, (O));        \
  |  |  ------------------
  |  |  |  |   76|   131k|#define METADATA(C) _PyCompile_Metadata(C)
  |  |  ------------------
  |  |  342|   131k|        Py_DECREF((O));                                                 \
  |  |  ------------------
  |  |  |  |  430|   131k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   131k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   131k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  343|   131k|        RETURN_IF_ERROR(ret);                                           \
  |  |  ------------------
  |  |  |  |   51|   131k|    do {                    \
  |  |  |  |   52|   131k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 131k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|   131k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 131k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  344|   131k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (344:14): [Folded, False: 131k]
  |  |  ------------------
  ------------------
  |  Branch (3360:9): [True: 131k, False: 0]
  ------------------
 3361|   131k|        return SUCCESS;
  ------------------
  |  |   47|   131k|#define SUCCESS 0
  ------------------
 3362|  93.5k|    case COMPILE_OP_GLOBAL:
  ------------------
  |  Branch (3362:5): [True: 93.5k, False: 432k]
  ------------------
 3363|  93.5k|        switch (ctx) {
  ------------------
  |  Branch (3363:17): [True: 93.5k, False: 0]
  ------------------
 3364|  92.9k|        case Load:
  ------------------
  |  Branch (3364:9): [True: 92.9k, False: 539]
  ------------------
 3365|  92.9k|            if (SYMTABLE_ENTRY(c)->ste_can_see_class_scope && scope == GLOBAL_IMPLICIT) {
  ------------------
  |  |   71|  92.9k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
                          if (SYMTABLE_ENTRY(c)->ste_can_see_class_scope && scope == GLOBAL_IMPLICIT) {
  ------------------
  |  |  189|  13.9k|#define GLOBAL_IMPLICIT 3
  ------------------
  |  Branch (3365:17): [True: 13.9k, False: 79.0k]
  |  Branch (3365:63): [True: 13.6k, False: 348]
  ------------------
 3366|  13.6k|                op = LOAD_FROM_DICT_OR_GLOBALS;
  ------------------
  |  |  100|  13.6k|#define LOAD_FROM_DICT_OR_GLOBALS               87
  ------------------
 3367|       |                // First load the classdict
 3368|  13.6k|                if (codegen_load_classdict_freevar(c, loc) < 0) {
  ------------------
  |  Branch (3368:21): [True: 0, False: 13.6k]
  ------------------
 3369|      0|                    goto error;
 3370|      0|                }
 3371|  79.3k|            } else {
 3372|  79.3k|                op = LOAD_GLOBAL;
  ------------------
  |  |  101|  79.3k|#define LOAD_GLOBAL                             88
  ------------------
 3373|  79.3k|            }
 3374|  92.9k|            break;
 3375|  92.9k|        case Store: op = STORE_GLOBAL; break;
  ------------------
  |  |  124|    492|#define STORE_GLOBAL                           111
  ------------------
  |  Branch (3375:9): [True: 492, False: 93.0k]
  ------------------
 3376|     47|        case Del:
  ------------------
  |  Branch (3376:9): [True: 47, False: 93.4k]
  ------------------
 3377|     47|            ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  291|     47|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     47|    do {                    \
  |  |  |  |   52|     47|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     47|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3378|     47|            op = STORE_GLOBAL;
  ------------------
  |  |  124|     47|#define STORE_GLOBAL                           111
  ------------------
 3379|     47|            break;
 3380|  93.5k|        }
 3381|  93.5k|        break;
 3382|   291k|    case COMPILE_OP_NAME:
  ------------------
  |  Branch (3382:5): [True: 291k, False: 234k]
  ------------------
 3383|   291k|        switch (ctx) {
  ------------------
  |  Branch (3383:17): [True: 291k, False: 0]
  ------------------
 3384|   171k|        case Load:
  ------------------
  |  Branch (3384:9): [True: 171k, False: 119k]
  ------------------
 3385|   171k|            op = (SYMTABLE_ENTRY(c)->ste_type == ClassBlock
  ------------------
  |  |   71|   171k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (3385:19): [True: 49.9k, False: 121k]
  ------------------
 3386|  49.9k|                    && _PyCompile_IsInInlinedComp(c))
  ------------------
  |  Branch (3386:24): [True: 16, False: 49.9k]
  ------------------
 3387|   171k|                ? LOAD_GLOBAL
  ------------------
  |  |  101|     16|#define LOAD_GLOBAL                             88
  ------------------
 3388|   171k|                : LOAD_NAME;
  ------------------
  |  |  102|   343k|#define LOAD_NAME                               89
  ------------------
 3389|   171k|            break;
 3390|   118k|        case Store: op = STORE_NAME; break;
  ------------------
  |  |  125|   118k|#define STORE_NAME                             112
  ------------------
  |  Branch (3390:9): [True: 118k, False: 172k]
  ------------------
 3391|    935|        case Del:
  ------------------
  |  Branch (3391:9): [True: 935, False: 290k]
  ------------------
 3392|    935|            ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  291|    935|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    935|    do {                    \
  |  |  |  |   52|    935|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 935]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    935|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 935]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3393|    935|            op = STORE_NAME;
  ------------------
  |  |  125|    935|#define STORE_NAME                             112
  ------------------
 3394|    935|            break;
 3395|   291k|        }
 3396|   291k|        break;
 3397|   526k|    }
 3398|       |
 3399|   526k|    assert(op);
  ------------------
  |  Branch (3399:5): [True: 394k, False: 0]
  ------------------
 3400|   394k|    Py_DECREF(mangled);
  ------------------
  |  |  430|   394k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   394k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   394k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3401|   394k|    if (op == LOAD_GLOBAL) {
  ------------------
  |  |  101|   394k|#define LOAD_GLOBAL                             88
  ------------------
  |  Branch (3401:9): [True: 79.3k, False: 314k]
  ------------------
 3402|  79.3k|        arg <<= 1;
 3403|  79.3k|    }
 3404|   394k|    ADDOP_I(c, loc, op, arg);
  ------------------
  |  |  277|   394k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|   394k|    do {                    \
  |  |  |  |   52|   394k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 394k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|   394k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 394k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3405|   394k|    return SUCCESS;
  ------------------
  |  |   47|   394k|#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|   394k|}
codegen.c:codegen_load_classdict_freevar:
 3294|  13.7k|{
 3295|  13.7k|    ADDOP_N(c, loc, LOAD_DEREF, &_Py_ID(__classdict__), freevars);
  ------------------
  |  |  338|  13.7k|    do {                                                                \
  |  |  339|  13.7k|        assert(!OPCODE_HAS_CONST(OP)); /* use ADDOP_LOAD_CONST_NEW */   \
  |  |  340|  13.7k|        int ret = codegen_addop_o((C), (LOC), (OP),                     \
  |  |  341|  13.7k|                                  METADATA(C)->u_ ## TYPE, (O));        \
  |  |  ------------------
  |  |  |  |   76|  13.7k|#define METADATA(C) _PyCompile_Metadata(C)
  |  |  ------------------
  |  |  342|  13.7k|        Py_DECREF((O));                                                 \
  |  |  ------------------
  |  |  |  |  430|  13.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  343|  13.7k|        RETURN_IF_ERROR(ret);                                           \
  |  |  ------------------
  |  |  |  |   51|  13.7k|    do {                    \
  |  |  |  |   52|  13.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 13.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  13.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 13.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  344|  13.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (344:14): [Folded, False: 13.7k]
  |  |  ------------------
  ------------------
  |  Branch (3295:5): [True: 13.7k, Folded]
  ------------------
 3296|  13.7k|    return SUCCESS;
  ------------------
  |  |   47|  13.7k|#define SUCCESS 0
  ------------------
 3297|  13.7k|}
codegen.c:codegen_visit_stmt:
 3106|   172k|{
 3107|       |
 3108|   172k|    switch (s->kind) {
  ------------------
  |  Branch (3108:13): [True: 172k, False: 0]
  ------------------
 3109|  4.92k|    case FunctionDef_kind:
  ------------------
  |  Branch (3109:5): [True: 4.92k, False: 167k]
  ------------------
 3110|  4.92k|        return codegen_function(c, s, 0);
 3111|  13.0k|    case ClassDef_kind:
  ------------------
  |  Branch (3111:5): [True: 13.0k, False: 159k]
  ------------------
 3112|  13.0k|        return codegen_class(c, s);
 3113|    381|    case TypeAlias_kind:
  ------------------
  |  Branch (3113:5): [True: 381, False: 172k]
  ------------------
 3114|    381|        return codegen_typealias(c, s);
 3115|    229|    case Return_kind:
  ------------------
  |  Branch (3115:5): [True: 229, False: 172k]
  ------------------
 3116|    229|        return codegen_return(c, s);
 3117|  1.25k|    case Delete_kind:
  ------------------
  |  Branch (3117:5): [True: 1.25k, False: 171k]
  ------------------
 3118|  1.25k|        VISIT_SEQ(c, expr, s->v.Delete.targets);
  ------------------
  |  |  459|  1.25k|    do {                                                                    \
  |  |  460|  1.25k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|  5.85k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  5.85k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  11.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 5.85k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 4.60k, False: 1.25k]
  |  |  ------------------
  |  |  462|  4.60k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  4.60k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.60k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|  4.60k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  4.60k|    do {                    \
  |  |  |  |   52|  4.60k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 4.60k]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|  4.60k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.60k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|  4.60k|        }                                                                   \
  |  |  465|  1.25k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 1.25k]
  |  |  ------------------
  ------------------
 3119|  1.25k|        break;
 3120|  8.45k|    case Assign_kind:
  ------------------
  |  Branch (3120:5): [True: 8.45k, False: 164k]
  ------------------
 3121|  8.45k|    {
 3122|  8.45k|        Py_ssize_t n = asdl_seq_LEN(s->v.Assign.targets);
  ------------------
  |  |   83|  8.45k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  16.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 8.45k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3123|  8.45k|        VISIT(c, expr, s->v.Assign.value);
  ------------------
  |  |  453|  8.45k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  8.45k|    do {                    \
  |  |  |  |   52|  8.45k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 11, False: 8.43k]
  |  |  |  |  ------------------
  |  |  |  |   53|     11|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     11|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     11|        }                   \
  |  |  |  |   55|  8.45k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8.43k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3124|  59.0k|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3124:32): [True: 50.6k, False: 8.43k]
  ------------------
 3125|  50.6k|            if (i < n - 1) {
  ------------------
  |  Branch (3125:17): [True: 42.2k, False: 8.43k]
  ------------------
 3126|  42.2k|                ADDOP_I(c, LOC(s), COPY, 1);
  ------------------
  |  |  277|  42.2k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  42.2k|    do {                    \
  |  |  |  |   52|  42.2k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 42.2k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  42.2k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 42.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3127|  42.2k|            }
 3128|  50.6k|            VISIT(c, expr,
  ------------------
  |  |  453|  50.6k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  50.6k|    do {                    \
  |  |  |  |   52|  50.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 9, False: 50.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      9|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      9|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      9|        }                   \
  |  |  |  |   55|  50.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 50.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3129|  50.6k|                  (expr_ty)asdl_seq_GET(s->v.Assign.targets, i));
 3130|  50.6k|        }
 3131|  8.43k|        break;
 3132|  8.43k|    }
 3133|  8.43k|    case AugAssign_kind:
  ------------------
  |  Branch (3133:5): [True: 6.50k, False: 166k]
  ------------------
 3134|  6.50k|        return codegen_augassign(c, s);
 3135|  25.0k|    case AnnAssign_kind:
  ------------------
  |  Branch (3135:5): [True: 25.0k, False: 147k]
  ------------------
 3136|  25.0k|        return codegen_annassign(c, s);
 3137|    623|    case For_kind:
  ------------------
  |  Branch (3137:5): [True: 623, False: 172k]
  ------------------
 3138|    623|        CODEGEN_COND_BLOCK(codegen_for, c, s);
  ------------------
  |  | 3097|    623|    do { \
  |  | 3098|    623|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3099|    623|        int result = FUNC((C), (S)); \
  |  | 3100|    623|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3101|    623|        return result; \
  |  | 3102|    623|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3102:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3139|      0|        break;
 3140|  2.13k|    case While_kind:
  ------------------
  |  Branch (3140:5): [True: 2.13k, False: 170k]
  ------------------
 3141|  2.13k|        CODEGEN_COND_BLOCK(codegen_while, c, s);
  ------------------
  |  | 3097|  2.13k|    do { \
  |  | 3098|  2.13k|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3099|  2.13k|        int result = FUNC((C), (S)); \
  |  | 3100|  2.13k|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3101|  2.13k|        return result; \
  |  | 3102|  2.13k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3102:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3142|      0|        break;
 3143|  1.69k|    case If_kind:
  ------------------
  |  Branch (3143:5): [True: 1.69k, False: 171k]
  ------------------
 3144|  1.69k|        CODEGEN_COND_BLOCK(codegen_if, c, s);
  ------------------
  |  | 3097|  1.69k|    do { \
  |  | 3098|  1.69k|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3099|  1.69k|        int result = FUNC((C), (S)); \
  |  | 3100|  1.69k|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3101|  1.69k|        return result; \
  |  | 3102|  1.69k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3102:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3145|      0|        break;
 3146|    198|    case Match_kind:
  ------------------
  |  Branch (3146:5): [True: 198, False: 172k]
  ------------------
 3147|    198|        CODEGEN_COND_BLOCK(codegen_match, c, s);
  ------------------
  |  | 3097|    198|    do { \
  |  | 3098|    198|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3099|    198|        int result = FUNC((C), (S)); \
  |  | 3100|    198|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3101|    198|        return result; \
  |  | 3102|    198|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3102:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3148|      0|        break;
 3149|    497|    case Raise_kind:
  ------------------
  |  Branch (3149:5): [True: 497, False: 172k]
  ------------------
 3150|    497|    {
 3151|    497|        Py_ssize_t n = 0;
 3152|    497|        if (s->v.Raise.exc) {
  ------------------
  |  Branch (3152:13): [True: 226, False: 271]
  ------------------
 3153|    226|            VISIT(c, expr, s->v.Raise.exc);
  ------------------
  |  |  453|    226|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    226|    do {                    \
  |  |  |  |   52|    226|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 8, False: 218]
  |  |  |  |  ------------------
  |  |  |  |   53|      8|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      8|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      8|        }                   \
  |  |  |  |   55|    226|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 218]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3154|    218|            n++;
 3155|    218|            if (s->v.Raise.cause) {
  ------------------
  |  Branch (3155:17): [True: 143, False: 75]
  ------------------
 3156|    143|                VISIT(c, expr, s->v.Raise.cause);
  ------------------
  |  |  453|    143|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    143|    do {                    \
  |  |  |  |   52|    143|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 143]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    143|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 143]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3157|    143|                n++;
 3158|    143|            }
 3159|    218|        }
 3160|    489|        ADDOP_I(c, LOC(s), RAISE_VARARGS, (int)n);
  ------------------
  |  |  277|    489|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    489|    do {                    \
  |  |  |  |   52|    489|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 489]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    489|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 489]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3161|    489|        break;
 3162|    489|    }
 3163|  2.50k|    case Try_kind:
  ------------------
  |  Branch (3163:5): [True: 2.50k, False: 170k]
  ------------------
 3164|  2.50k|        CODEGEN_COND_BLOCK(codegen_try, c, s);
  ------------------
  |  | 3097|  2.50k|    do { \
  |  | 3098|  2.50k|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3099|  2.50k|        int result = FUNC((C), (S)); \
  |  | 3100|  2.50k|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3101|  2.50k|        return result; \
  |  | 3102|  2.50k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3102:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3165|      0|        break;
 3166|  1.18k|    case TryStar_kind:
  ------------------
  |  Branch (3166:5): [True: 1.18k, False: 171k]
  ------------------
 3167|  1.18k|        CODEGEN_COND_BLOCK(codegen_try_star, c, s);
  ------------------
  |  | 3097|  1.18k|    do { \
  |  | 3098|  1.18k|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3099|  1.18k|        int result = FUNC((C), (S)); \
  |  | 3100|  1.18k|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3101|  1.18k|        return result; \
  |  | 3102|  1.18k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3102:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3168|      0|        break;
 3169|  2.17k|    case Assert_kind:
  ------------------
  |  Branch (3169:5): [True: 2.17k, False: 170k]
  ------------------
 3170|  2.17k|        return codegen_assert(c, s);
 3171|  2.49k|    case Import_kind:
  ------------------
  |  Branch (3171:5): [True: 2.49k, False: 170k]
  ------------------
 3172|  2.49k|        return codegen_import(c, s);
 3173|  2.18k|    case ImportFrom_kind:
  ------------------
  |  Branch (3173:5): [True: 2.18k, False: 170k]
  ------------------
 3174|  2.18k|        return codegen_from_import(c, s);
 3175|    600|    case Global_kind:
  ------------------
  |  Branch (3175:5): [True: 600, False: 172k]
  ------------------
 3176|    600|    case Nonlocal_kind:
  ------------------
  |  Branch (3176:5): [True: 0, False: 172k]
  ------------------
 3177|    600|        break;
 3178|  89.8k|    case Expr_kind:
  ------------------
  |  Branch (3178:5): [True: 89.8k, False: 82.8k]
  ------------------
 3179|  89.8k|    {
 3180|  89.8k|        return codegen_stmt_expr(c, LOC(s), s->v.Expr.value);
  ------------------
  |  |   88|  89.8k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  89.8k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  89.8k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  89.8k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  89.8k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  89.8k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3181|    600|    }
 3182|  1.38k|    case Pass_kind:
  ------------------
  |  Branch (3182:5): [True: 1.38k, False: 171k]
  ------------------
 3183|  1.38k|    {
 3184|  1.38k|        ADDOP(c, LOC(s), NOP);
  ------------------
  |  |  291|  1.38k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.38k|    do {                    \
  |  |  |  |   52|  1.38k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.38k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.38k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.38k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3185|  1.38k|        break;
 3186|  1.38k|    }
 3187|  1.38k|    case Break_kind:
  ------------------
  |  Branch (3187:5): [True: 9, False: 172k]
  ------------------
 3188|      9|    {
 3189|      9|        return codegen_break(c, LOC(s));
  ------------------
  |  |   88|      9|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      9|    (_Py_SourceLocation){ \
  |  |  |  |   55|      9|               .lineno = (n)->lineno, \
  |  |  |  |   56|      9|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      9|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      9|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3190|  1.38k|    }
 3191|    133|    case Continue_kind:
  ------------------
  |  Branch (3191:5): [True: 133, False: 172k]
  ------------------
 3192|    133|    {
 3193|    133|        return codegen_continue(c, LOC(s));
  ------------------
  |  |   88|    133|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    133|    (_Py_SourceLocation){ \
  |  |  |  |   55|    133|               .lineno = (n)->lineno, \
  |  |  |  |   56|    133|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    133|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    133|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3194|  1.38k|    }
 3195|    545|    case With_kind:
  ------------------
  |  Branch (3195:5): [True: 545, False: 172k]
  ------------------
 3196|    545|        CODEGEN_COND_BLOCK(codegen_with, c, s);
  ------------------
  |  | 3097|    545|    do { \
  |  | 3098|    545|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3099|    545|        int result = FUNC((C), (S)); \
  |  | 3100|    545|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3101|    545|        return result; \
  |  | 3102|    545|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3102:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3197|      0|        break;
 3198|  2.50k|    case AsyncFunctionDef_kind:
  ------------------
  |  Branch (3198:5): [True: 2.50k, False: 170k]
  ------------------
 3199|  2.50k|        return codegen_function(c, s, 1);
 3200|  2.09k|    case AsyncWith_kind:
  ------------------
  |  Branch (3200:5): [True: 2.09k, False: 170k]
  ------------------
 3201|  2.09k|        CODEGEN_COND_BLOCK(codegen_async_with, c, s);
  ------------------
  |  | 3097|  2.09k|    do { \
  |  | 3098|  2.09k|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3099|  2.09k|        int result = FUNC((C), (S)); \
  |  | 3100|  2.09k|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3101|  2.09k|        return result; \
  |  | 3102|  2.09k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3102:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3202|      0|        break;
 3203|     91|    case AsyncFor_kind:
  ------------------
  |  Branch (3203:5): [True: 91, False: 172k]
  ------------------
 3204|     91|        CODEGEN_COND_BLOCK(codegen_async_for, c, s);
  ------------------
  |  | 3097|     91|    do { \
  |  | 3098|     91|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3099|     91|        int result = FUNC((C), (S)); \
  |  | 3100|     91|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3101|     91|        return result; \
  |  | 3102|     91|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3102:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3205|      0|        break;
 3206|   172k|    }
 3207|       |
 3208|  12.1k|    return SUCCESS;
  ------------------
  |  |   47|  12.1k|#define SUCCESS 0
  ------------------
 3209|   172k|}
codegen.c:codegen_function:
 1462|  7.42k|{
 1463|  7.42k|    arguments_ty args;
 1464|  7.42k|    expr_ty returns;
 1465|  7.42k|    identifier name;
 1466|  7.42k|    asdl_expr_seq *decos;
 1467|  7.42k|    asdl_type_param_seq *type_params;
 1468|  7.42k|    Py_ssize_t funcflags;
 1469|  7.42k|    int firstlineno;
 1470|       |
 1471|  7.42k|    if (is_async) {
  ------------------
  |  Branch (1471:9): [True: 2.50k, False: 4.92k]
  ------------------
 1472|  2.50k|        assert(s->kind == AsyncFunctionDef_kind);
  ------------------
  |  Branch (1472:9): [True: 2.50k, False: 0]
  ------------------
 1473|       |
 1474|  2.50k|        args = s->v.AsyncFunctionDef.args;
 1475|  2.50k|        returns = s->v.AsyncFunctionDef.returns;
 1476|  2.50k|        decos = s->v.AsyncFunctionDef.decorator_list;
 1477|  2.50k|        name = s->v.AsyncFunctionDef.name;
 1478|  2.50k|        type_params = s->v.AsyncFunctionDef.type_params;
 1479|  4.92k|    } else {
 1480|  4.92k|        assert(s->kind == FunctionDef_kind);
  ------------------
  |  Branch (1480:9): [True: 4.92k, False: 0]
  ------------------
 1481|       |
 1482|  4.92k|        args = s->v.FunctionDef.args;
 1483|  4.92k|        returns = s->v.FunctionDef.returns;
 1484|  4.92k|        decos = s->v.FunctionDef.decorator_list;
 1485|  4.92k|        name = s->v.FunctionDef.name;
 1486|  4.92k|        type_params = s->v.FunctionDef.type_params;
 1487|  4.92k|    }
 1488|       |
 1489|  7.42k|    RETURN_IF_ERROR(codegen_decorators(c, decos));
  ------------------
  |  |   51|  7.42k|    do {                    \
  |  |   52|  7.42k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 7.42k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  7.42k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 7.42k]
  |  |  ------------------
  ------------------
 1490|       |
 1491|  7.42k|    firstlineno = s->lineno;
 1492|  7.42k|    if (asdl_seq_LEN(decos)) {
  ------------------
  |  |   83|  7.42k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  14.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 310, False: 7.11k]
  |  |  |  |  |  Branch (277:37): [True: 7.11k, False: 310]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1493|    310|        firstlineno = ((expr_ty)asdl_seq_GET(decos, 0))->lineno;
  ------------------
  |  |   82|    310|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    310|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1494|    310|    }
 1495|       |
 1496|  7.42k|    location loc = LOC(s);
  ------------------
  |  |   88|  7.42k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  7.42k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  7.42k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  7.42k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  7.42k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  7.42k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1497|       |
 1498|  7.42k|    int is_generic = asdl_seq_LEN(type_params) > 0;
  ------------------
  |  |   83|  7.42k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  14.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 5.13k, False: 2.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1499|       |
 1500|  7.42k|    funcflags = codegen_default_arguments(c, loc, args);
 1501|  7.42k|    RETURN_IF_ERROR(funcflags);
  ------------------
  |  |   51|  7.42k|    do {                    \
  |  |   52|  7.42k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 7.42k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  7.42k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 7.42k]
  |  |  ------------------
  ------------------
 1502|       |
 1503|  7.42k|    int num_typeparam_args = 0;
 1504|       |
 1505|  7.42k|    if (is_generic) {
  ------------------
  |  Branch (1505:9): [True: 2.28k, False: 5.13k]
  ------------------
 1506|  2.28k|        if (funcflags & MAKE_FUNCTION_DEFAULTS) {
  ------------------
  |  |   64|  2.28k|#define MAKE_FUNCTION_DEFAULTS    0x01
  ------------------
  |  Branch (1506:13): [True: 0, False: 2.28k]
  ------------------
 1507|      0|            num_typeparam_args += 1;
 1508|      0|        }
 1509|  2.28k|        if (funcflags & MAKE_FUNCTION_KWDEFAULTS) {
  ------------------
  |  |   65|  2.28k|#define MAKE_FUNCTION_KWDEFAULTS  0x02
  ------------------
  |  Branch (1509:13): [True: 0, False: 2.28k]
  ------------------
 1510|      0|            num_typeparam_args += 1;
 1511|      0|        }
 1512|  2.28k|        if (num_typeparam_args == 2) {
  ------------------
  |  Branch (1512:13): [True: 0, False: 2.28k]
  ------------------
 1513|      0|            ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1514|      0|        }
 1515|  2.28k|        PyObject *type_params_name = PyUnicode_FromFormat("<generic parameters of %U>", name);
 1516|  2.28k|        if (!type_params_name) {
  ------------------
  |  Branch (1516:13): [True: 0, False: 2.28k]
  ------------------
 1517|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1518|      0|        }
 1519|  2.28k|        _PyCompile_CodeUnitMetadata umd = {
 1520|  2.28k|            .u_argcount = num_typeparam_args,
 1521|  2.28k|        };
 1522|  2.28k|        int ret = codegen_enter_scope(c, type_params_name, COMPILE_SCOPE_ANNOTATIONS,
 1523|  2.28k|                                      (void *)type_params, firstlineno, NULL, &umd);
 1524|  2.28k|        Py_DECREF(type_params_name);
  ------------------
  |  |  430|  2.28k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1525|  2.28k|        RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  2.28k|    do {                    \
  |  |   52|  2.28k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.28k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.28k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.28k]
  |  |  ------------------
  ------------------
 1526|  2.28k|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_type_params(c, type_params));
  ------------------
  |  |   58|  2.28k|    do {                                    \
  |  |   59|  2.28k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 1, False: 2.28k]
  |  |  ------------------
  |  |   60|      1|            _PyCompile_ExitScope((C));      \
  |  |   61|      1|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   62|      1|        }                                   \
  |  |   63|  2.28k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 2.28k]
  |  |  ------------------
  ------------------
 1527|  2.28k|        for (int i = 0; i < num_typeparam_args; i++) {
  ------------------
  |  Branch (1527:25): [True: 0, False: 2.28k]
  ------------------
 1528|      0|            ADDOP_I_IN_SCOPE(c, loc, LOAD_FAST, i);
  ------------------
  |  |  280|      0|    RETURN_IF_ERROR_IN_SCOPE(C, codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   58|      0|    do {                                    \
  |  |  |  |   59|      0|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1529|      0|        }
 1530|  2.28k|    }
 1531|       |
 1532|  7.42k|    int annotations_flag = codegen_function_annotations(c, loc, args, returns);
 1533|  7.42k|    if (annotations_flag < 0) {
  ------------------
  |  Branch (1533:9): [True: 0, False: 7.42k]
  ------------------
 1534|      0|        if (is_generic) {
  ------------------
  |  Branch (1534:13): [True: 0, False: 0]
  ------------------
 1535|      0|            _PyCompile_ExitScope(c);
 1536|      0|        }
 1537|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1538|      0|    }
 1539|  7.42k|    funcflags |= annotations_flag;
 1540|       |
 1541|  7.42k|    int ret = codegen_function_body(c, s, is_async, funcflags, firstlineno);
 1542|  7.42k|    if (is_generic) {
  ------------------
  |  Branch (1542:9): [True: 2.28k, False: 5.13k]
  ------------------
 1543|  2.28k|        RETURN_IF_ERROR_IN_SCOPE(c, ret);
  ------------------
  |  |   58|  2.28k|    do {                                    \
  |  |   59|  2.28k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 5, False: 2.28k]
  |  |  ------------------
  |  |   60|      5|            _PyCompile_ExitScope((C));      \
  |  |   61|      5|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      5|#define ERROR -1
  |  |  ------------------
  |  |   62|      5|        }                                   \
  |  |   63|  2.28k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 2.28k]
  |  |  ------------------
  ------------------
 1544|  2.28k|    }
 1545|  5.13k|    else {
 1546|  5.13k|        RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  5.13k|    do {                    \
  |  |   52|  5.13k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 27, False: 5.11k]
  |  |  ------------------
  |  |   53|     27|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     27|#define ERROR -1
  |  |  ------------------
  |  |   54|     27|        }                   \
  |  |   55|  5.13k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 5.11k]
  |  |  ------------------
  ------------------
 1547|  5.13k|    }
 1548|       |
 1549|  7.39k|    if (is_generic) {
  ------------------
  |  Branch (1549:9): [True: 2.28k, False: 5.11k]
  ------------------
 1550|  2.28k|        ADDOP_I_IN_SCOPE(c, loc, SWAP, 2);
  ------------------
  |  |  280|  2.28k|    RETURN_IF_ERROR_IN_SCOPE(C, codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   58|  2.28k|    do {                                    \
  |  |  |  |   59|  2.28k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 2.28k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  2.28k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 2.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1551|  2.28k|        ADDOP_I_IN_SCOPE(c, loc, CALL_INTRINSIC_2, INTRINSIC_SET_FUNCTION_TYPE_PARAMS);
  ------------------
  |  |  280|  2.28k|    RETURN_IF_ERROR_IN_SCOPE(C, codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   58|  2.28k|    do {                                    \
  |  |  |  |   59|  2.28k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 2.28k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  2.28k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 2.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1552|       |
 1553|  2.28k|        PyCodeObject *co = _PyCompile_OptimizeAndAssemble(c, 0);
 1554|  2.28k|        _PyCompile_ExitScope(c);
 1555|  2.28k|        if (co == NULL) {
  ------------------
  |  Branch (1555:13): [True: 0, False: 2.28k]
  ------------------
 1556|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1557|      0|        }
 1558|  2.28k|        int ret = codegen_make_closure(c, loc, co, 0);
 1559|  2.28k|        Py_DECREF(co);
  ------------------
  |  |  430|  2.28k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1560|  2.28k|        RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  2.28k|    do {                    \
  |  |   52|  2.28k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.28k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.28k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.28k]
  |  |  ------------------
  ------------------
 1561|  2.28k|        if (num_typeparam_args > 0) {
  ------------------
  |  Branch (1561:13): [True: 0, False: 2.28k]
  ------------------
 1562|      0|            ADDOP_I(c, loc, SWAP, num_typeparam_args + 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1563|      0|            ADDOP_I(c, loc, CALL, num_typeparam_args - 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1564|      0|        }
 1565|  2.28k|        else {
 1566|  2.28k|            ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  291|  2.28k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.28k|    do {                    \
  |  |  |  |   52|  2.28k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.28k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.28k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1567|  2.28k|            ADDOP_I(c, loc, CALL, 0);
  ------------------
  |  |  277|  2.28k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.28k|    do {                    \
  |  |  |  |   52|  2.28k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.28k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.28k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1568|  2.28k|        }
 1569|  2.28k|    }
 1570|       |
 1571|  7.39k|    RETURN_IF_ERROR(codegen_apply_decorators(c, decos));
  ------------------
  |  |   51|  7.39k|    do {                    \
  |  |   52|  7.39k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 7.39k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  7.39k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 7.39k]
  |  |  ------------------
  ------------------
 1572|  7.39k|    return codegen_nameop(c, loc, name, Store);
 1573|  7.39k|}
codegen.c:codegen_decorators:
 1022|  20.4k|{
 1023|  20.4k|    if (!decos) {
  ------------------
  |  Branch (1023:9): [True: 19.8k, False: 624]
  ------------------
 1024|  19.8k|        return SUCCESS;
  ------------------
  |  |   47|  19.8k|#define SUCCESS 0
  ------------------
 1025|  19.8k|    }
 1026|       |
 1027|  2.51k|    for (Py_ssize_t i = 0; i < asdl_seq_LEN(decos); i++) {
  ------------------
  |  |   83|  2.51k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  5.03k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.51k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1027:28): [True: 1.89k, False: 624]
  ------------------
 1028|  1.89k|        VISIT(c, expr, (expr_ty)asdl_seq_GET(decos, i));
  ------------------
  |  |  453|  1.89k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.89k|    do {                    \
  |  |  |  |   52|  1.89k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.89k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.89k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.89k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1029|  1.89k|    }
 1030|    624|    return SUCCESS;
  ------------------
  |  |   47|    624|#define SUCCESS 0
  ------------------
 1031|    624|}
codegen.c:codegen_default_arguments:
 1215|  11.7k|{
 1216|  11.7k|    Py_ssize_t funcflags = 0;
 1217|  11.7k|    if (args->defaults && asdl_seq_LEN(args->defaults) > 0) {
  ------------------
  |  |   83|  11.7k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  23.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 11.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1217:9): [True: 11.7k, False: 0]
  |  Branch (1217:27): [True: 382, False: 11.3k]
  ------------------
 1218|    382|        RETURN_IF_ERROR(codegen_defaults(c, args, loc));
  ------------------
  |  |   51|    382|    do {                    \
  |  |   52|    382|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 381]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|    382|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 381]
  |  |  ------------------
  ------------------
 1219|    381|        funcflags |= MAKE_FUNCTION_DEFAULTS;
  ------------------
  |  |   64|    381|#define MAKE_FUNCTION_DEFAULTS    0x01
  ------------------
 1220|    381|    }
 1221|  11.7k|    if (args->kwonlyargs) {
  ------------------
  |  Branch (1221:9): [True: 11.7k, False: 0]
  ------------------
 1222|  11.7k|        int res = codegen_kwonlydefaults(c, loc,
 1223|  11.7k|                                         args->kwonlyargs,
 1224|  11.7k|                                         args->kw_defaults);
 1225|  11.7k|        RETURN_IF_ERROR(res);
  ------------------
  |  |   51|  11.7k|    do {                    \
  |  |   52|  11.7k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 11.7k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  11.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 11.7k]
  |  |  ------------------
  ------------------
 1226|  11.7k|        if (res > 0) {
  ------------------
  |  Branch (1226:13): [True: 1.44k, False: 10.3k]
  ------------------
 1227|  1.44k|            funcflags |= MAKE_FUNCTION_KWDEFAULTS;
  ------------------
  |  |   65|  1.44k|#define MAKE_FUNCTION_KWDEFAULTS  0x02
  ------------------
 1228|  1.44k|        }
 1229|  11.7k|    }
 1230|  11.7k|    return funcflags;
 1231|  11.7k|}
codegen.c:codegen_defaults:
 1206|    382|{
 1207|    382|    VISIT_SEQ(c, expr, args->defaults);
  ------------------
  |  |  459|    382|    do {                                                                    \
  |  |  460|    382|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|    867|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    867|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.73k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 867]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 486, False: 381]
  |  |  ------------------
  |  |  462|    486|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    486|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    486|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    486|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    486|    do {                    \
  |  |  |  |   52|    486|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 485]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    486|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 485]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|    486|        }                                                                   \
  |  |  465|    382|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 381]
  |  |  ------------------
  ------------------
 1208|    381|    ADDOP_I(c, loc, BUILD_TUPLE, asdl_seq_LEN(args->defaults));
  ------------------
  |  |  277|    381|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    381|    do {                    \
  |  |  |  |   52|    762|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 381]
  |  |  |  |  |  Branch (52:14): [True: 0, False: 381]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    381|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 381]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1209|    381|    return SUCCESS;
  ------------------
  |  |   47|    381|#define SUCCESS 0
  ------------------
 1210|    381|}
codegen.c:codegen_kwonlydefaults:
 1050|  11.7k|{
 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|  11.7k|    int default_count = 0;
 1056|  14.2k|    for (int i = 0; i < asdl_seq_LEN(kwonlyargs); i++) {
  ------------------
  |  |   83|  14.2k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  28.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 14.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1056:21): [True: 2.50k, False: 11.7k]
  ------------------
 1057|  2.50k|        arg_ty arg = asdl_seq_GET(kwonlyargs, i);
  ------------------
  |  |   82|  2.50k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  2.50k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1058|  2.50k|        expr_ty default_ = asdl_seq_GET(kw_defaults, i);
  ------------------
  |  |   82|  2.50k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  2.50k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1059|  2.50k|        if (default_) {
  ------------------
  |  Branch (1059:13): [True: 1.54k, False: 962]
  ------------------
 1060|  1.54k|            default_count++;
 1061|  1.54k|            PyObject *mangled = _PyCompile_MaybeMangle(c, arg->arg);
 1062|  1.54k|            if (!mangled) {
  ------------------
  |  Branch (1062:17): [True: 0, False: 1.54k]
  ------------------
 1063|      0|                return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1064|      0|            }
 1065|  1.54k|            ADDOP_LOAD_CONST_NEW(c, loc, mangled);
  ------------------
  |  |  315|  1.54k|    do {                                                                \
  |  |  316|  1.54k|        PyObject *__new_const = (O);                                    \
  |  |  317|  1.54k|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (317:13): [True: 0, False: 1.54k]
  |  |  ------------------
  |  |  318|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  319|      0|        }                                                               \
  |  |  320|  1.54k|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (320:13): [True: 0, False: 1.54k]
  |  |  ------------------
  |  |  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|  1.54k|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|  1.54k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  325|  1.54k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (325:14): [Folded, False: 1.54k]
  |  |  ------------------
  ------------------
 1066|  1.54k|            VISIT(c, expr, default_);
  ------------------
  |  |  453|  1.54k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.54k|    do {                    \
  |  |  |  |   52|  1.54k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.54k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.54k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.54k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1067|  1.54k|        }
 1068|  2.50k|    }
 1069|  11.7k|    if (default_count) {
  ------------------
  |  Branch (1069:9): [True: 1.44k, False: 10.3k]
  ------------------
 1070|  1.44k|        ADDOP_I(c, loc, BUILD_MAP, default_count);
  ------------------
  |  |  277|  1.44k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.44k|    do {                    \
  |  |  |  |   52|  1.44k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.44k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.44k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.44k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1071|  1.44k|        return 1;
 1072|  1.44k|    }
 1073|  10.3k|    else {
 1074|  10.3k|        return 0;
 1075|  10.3k|    }
 1076|  11.7k|}
codegen.c:codegen_type_params:
 1295|  4.97k|{
 1296|  4.97k|    if (!type_params) {
  ------------------
  |  Branch (1296:9): [True: 0, False: 4.97k]
  ------------------
 1297|      0|        return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 1298|      0|    }
 1299|  4.97k|    Py_ssize_t n = asdl_seq_LEN(type_params);
  ------------------
  |  |   83|  4.97k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  9.94k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 4.97k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1300|  4.97k|    bool seen_default = false;
 1301|       |
 1302|  14.1k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1302:28): [True: 9.19k, False: 4.95k]
  ------------------
 1303|  9.19k|        type_param_ty typeparam = asdl_seq_GET(type_params, i);
  ------------------
  |  |   82|  9.19k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  9.19k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1304|  9.19k|        location loc = LOC(typeparam);
  ------------------
  |  |   88|  9.19k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  9.19k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  9.19k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  9.19k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  9.19k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  9.19k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1305|  9.19k|        switch(typeparam->kind) {
  ------------------
  |  Branch (1305:16): [True: 9.19k, False: 0]
  ------------------
 1306|  8.82k|        case TypeVar_kind:
  ------------------
  |  Branch (1306:9): [True: 8.82k, False: 366]
  ------------------
 1307|  8.82k|            ADDOP_LOAD_CONST(c, loc, typeparam->v.TypeVar.name);
  ------------------
  |  |  308|  8.82k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  8.82k|    do {                    \
  |  |  |  |   52|  8.82k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8.82k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  8.82k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8.82k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1308|  8.82k|            if (typeparam->v.TypeVar.bound) {
  ------------------
  |  Branch (1308:17): [True: 2.22k, False: 6.59k]
  ------------------
 1309|  2.22k|                expr_ty bound = typeparam->v.TypeVar.bound;
 1310|  2.22k|                RETURN_IF_ERROR(
  ------------------
  |  |   51|  2.22k|    do {                    \
  |  |   52|  2.22k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.22k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.22k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.22k]
  |  |  ------------------
  ------------------
 1311|  2.22k|                    codegen_type_param_bound_or_default(c, bound, typeparam->v.TypeVar.name,
 1312|  2.22k|                                                        (void *)typeparam, false));
 1313|       |
 1314|  2.22k|                int intrinsic = bound->kind == Tuple_kind
  ------------------
  |  Branch (1314:33): [True: 0, False: 2.22k]
  ------------------
 1315|  2.22k|                    ? INTRINSIC_TYPEVAR_WITH_CONSTRAINTS
  ------------------
  |  |   30|      0|#define INTRINSIC_TYPEVAR_WITH_CONSTRAINTS       3
  ------------------
 1316|  2.22k|                    : INTRINSIC_TYPEVAR_WITH_BOUND;
  ------------------
  |  |   29|  2.22k|#define INTRINSIC_TYPEVAR_WITH_BOUND             2
  ------------------
 1317|  2.22k|                ADDOP_I(c, loc, CALL_INTRINSIC_2, intrinsic);
  ------------------
  |  |  277|  2.22k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.22k|    do {                    \
  |  |  |  |   52|  2.22k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.22k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.22k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.22k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1318|  2.22k|            }
 1319|  6.59k|            else {
 1320|  6.59k|                ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_TYPEVAR);
  ------------------
  |  |  277|  6.59k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  6.59k|    do {                    \
  |  |  |  |   52|  6.59k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6.59k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  6.59k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.59k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1321|  6.59k|            }
 1322|  8.82k|            if (typeparam->v.TypeVar.default_value) {
  ------------------
  |  Branch (1322:17): [True: 22, False: 8.80k]
  ------------------
 1323|     22|                seen_default = true;
 1324|     22|                expr_ty default_ = typeparam->v.TypeVar.default_value;
 1325|     22|                RETURN_IF_ERROR(
  ------------------
  |  |   51|     22|    do {                    \
  |  |   52|     22|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 22]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
 1326|     22|                    codegen_type_param_bound_or_default(c, default_, typeparam->v.TypeVar.name,
 1327|     22|                                                        (void *)((uintptr_t)typeparam + 1), false));
 1328|     22|                ADDOP_I(c, loc, CALL_INTRINSIC_2, INTRINSIC_SET_TYPEPARAM_DEFAULT);
  ------------------
  |  |  277|     22|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     22|    do {                    \
  |  |  |  |   52|     22|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 22]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     22|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 22]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1329|     22|            }
 1330|  8.80k|            else if (seen_default) {
  ------------------
  |  Branch (1330:22): [True: 14, False: 8.79k]
  ------------------
 1331|     14|                return _PyCompile_Error(c, loc, "non-default type parameter '%U' "
 1332|     14|                                        "follows default type parameter",
 1333|     14|                                        typeparam->v.TypeVar.name);
 1334|     14|            }
 1335|  8.81k|            ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  277|  8.81k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  8.81k|    do {                    \
  |  |  |  |   52|  8.81k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8.81k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  8.81k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8.81k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1336|  8.81k|            RETURN_IF_ERROR(codegen_nameop(c, loc, typeparam->v.TypeVar.name, Store));
  ------------------
  |  |   51|  8.81k|    do {                    \
  |  |   52|  8.81k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 8.81k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  8.81k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 8.81k]
  |  |  ------------------
  ------------------
 1337|  8.81k|            break;
 1338|  8.81k|        case TypeVarTuple_kind:
  ------------------
  |  Branch (1338:9): [True: 319, False: 8.87k]
  ------------------
 1339|    319|            ADDOP_LOAD_CONST(c, loc, typeparam->v.TypeVarTuple.name);
  ------------------
  |  |  308|    319|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    319|    do {                    \
  |  |  |  |   52|    319|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 319]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    319|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 319]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1340|    319|            ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_TYPEVARTUPLE);
  ------------------
  |  |  277|    319|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    319|    do {                    \
  |  |  |  |   52|    319|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 319]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    319|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 319]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1341|    319|            if (typeparam->v.TypeVarTuple.default_value) {
  ------------------
  |  Branch (1341:17): [True: 29, False: 290]
  ------------------
 1342|     29|                expr_ty default_ = typeparam->v.TypeVarTuple.default_value;
 1343|     29|                RETURN_IF_ERROR(
  ------------------
  |  |   51|     29|    do {                    \
  |  |   52|     29|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 29]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     29|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 29]
  |  |  ------------------
  ------------------
 1344|     29|                    codegen_type_param_bound_or_default(c, default_, typeparam->v.TypeVarTuple.name,
 1345|     29|                                                        (void *)typeparam, true));
 1346|     29|                ADDOP_I(c, loc, CALL_INTRINSIC_2, INTRINSIC_SET_TYPEPARAM_DEFAULT);
  ------------------
  |  |  277|     29|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     29|    do {                    \
  |  |  |  |   52|     29|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 29]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     29|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 29]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1347|     29|                seen_default = true;
 1348|     29|            }
 1349|    290|            else if (seen_default) {
  ------------------
  |  Branch (1349:22): [True: 1, False: 289]
  ------------------
 1350|      1|                return _PyCompile_Error(c, loc, "non-default type parameter '%U' "
 1351|      1|                                        "follows default type parameter",
 1352|      1|                                        typeparam->v.TypeVarTuple.name);
 1353|      1|            }
 1354|    318|            ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  277|    318|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    318|    do {                    \
  |  |  |  |   52|    318|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 318]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    318|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 318]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1355|    318|            RETURN_IF_ERROR(codegen_nameop(c, loc, typeparam->v.TypeVarTuple.name, Store));
  ------------------
  |  |   51|    318|    do {                    \
  |  |   52|    318|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 318]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    318|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 318]
  |  |  ------------------
  ------------------
 1356|    318|            break;
 1357|    318|        case ParamSpec_kind:
  ------------------
  |  Branch (1357:9): [True: 47, False: 9.14k]
  ------------------
 1358|     47|            ADDOP_LOAD_CONST(c, loc, typeparam->v.ParamSpec.name);
  ------------------
  |  |  308|     47|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     47|    do {                    \
  |  |  |  |   52|     47|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     47|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1359|     47|            ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_PARAMSPEC);
  ------------------
  |  |  277|     47|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     47|    do {                    \
  |  |  |  |   52|     47|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     47|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1360|     47|            if (typeparam->v.ParamSpec.default_value) {
  ------------------
  |  Branch (1360:17): [True: 4, False: 43]
  ------------------
 1361|      4|                expr_ty default_ = typeparam->v.ParamSpec.default_value;
 1362|      4|                RETURN_IF_ERROR(
  ------------------
  |  |   51|      4|    do {                    \
  |  |   52|      4|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 4]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1363|      4|                    codegen_type_param_bound_or_default(c, default_, typeparam->v.ParamSpec.name,
 1364|      4|                                                        (void *)typeparam, false));
 1365|      4|                ADDOP_I(c, loc, CALL_INTRINSIC_2, INTRINSIC_SET_TYPEPARAM_DEFAULT);
  ------------------
  |  |  277|      4|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      4|    do {                    \
  |  |  |  |   52|      4|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1366|      4|                seen_default = true;
 1367|      4|            }
 1368|     43|            else if (seen_default) {
  ------------------
  |  Branch (1368:22): [True: 0, False: 43]
  ------------------
 1369|      0|                return _PyCompile_Error(c, loc, "non-default type parameter '%U' "
 1370|      0|                                        "follows default type parameter",
 1371|      0|                                        typeparam->v.ParamSpec.name);
 1372|      0|            }
 1373|     47|            ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  277|     47|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     47|    do {                    \
  |  |  |  |   52|     47|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     47|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1374|     47|            RETURN_IF_ERROR(codegen_nameop(c, loc, typeparam->v.ParamSpec.name, Store));
  ------------------
  |  |   51|     47|    do {                    \
  |  |   52|     47|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     47|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  ------------------
  ------------------
 1375|     47|            break;
 1376|  9.19k|        }
 1377|  9.19k|    }
 1378|  4.95k|    ADDOP_I(c, LOC(asdl_seq_GET(type_params, 0)), BUILD_TUPLE, n);
  ------------------
  |  |  277|  4.95k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  4.95k|    do {                    \
  |  |  |  |   52|  4.95k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.95k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.95k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.95k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1379|  4.95k|    return SUCCESS;
  ------------------
  |  |   47|  4.95k|#define SUCCESS 0
  ------------------
 1380|  4.95k|}
codegen.c:codegen_type_param_bound_or_default:
 1266|  2.28k|{
 1267|  2.28k|    PyObject *defaults = PyTuple_Pack(1, _PyLong_GetOne());
 1268|  2.28k|    ADDOP_LOAD_CONST_NEW(c, LOC(e), defaults);
  ------------------
  |  |  315|  2.28k|    do {                                                                \
  |  |  316|  2.28k|        PyObject *__new_const = (O);                                    \
  |  |  317|  2.28k|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (317:13): [True: 0, False: 2.28k]
  |  |  ------------------
  |  |  318|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  319|      0|        }                                                               \
  |  |  320|  2.28k|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (320:13): [True: 0, False: 2.28k]
  |  |  ------------------
  |  |  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|  2.28k|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|  2.28k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  325|  2.28k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (325:14): [Folded, False: 2.28k]
  |  |  ------------------
  ------------------
 1269|  2.28k|    RETURN_IF_ERROR(codegen_setup_annotations_scope(c, LOC(e), key, name));
  ------------------
  |  |   51|  2.28k|    do {                    \
  |  |   52|  2.28k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.28k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.28k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.28k]
  |  |  ------------------
  ------------------
 1270|  2.28k|    if (allow_starred && e->kind == Starred_kind) {
  ------------------
  |  Branch (1270:9): [True: 29, False: 2.25k]
  |  Branch (1270:26): [True: 0, False: 29]
  ------------------
 1271|      0|        VISIT_IN_SCOPE(c, expr, e->v.Starred.value);
  ------------------
  |  |  456|      0|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   58|      0|    do {                                    \
  |  |  |  |   59|      0|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1272|      0|        ADDOP_I_IN_SCOPE(c, LOC(e), UNPACK_SEQUENCE, (Py_ssize_t)1);
  ------------------
  |  |  280|      0|    RETURN_IF_ERROR_IN_SCOPE(C, codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   58|      0|    do {                                    \
  |  |  |  |   59|      0|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1273|      0|    }
 1274|  2.28k|    else {
 1275|  2.28k|        VISIT_IN_SCOPE(c, expr, e);
  ------------------
  |  |  456|  2.28k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   58|  2.28k|    do {                                    \
  |  |  |  |   59|  2.28k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 2.28k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  2.28k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 2.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1276|  2.28k|    }
 1277|  2.28k|    ADDOP_IN_SCOPE(c, LOC(e), RETURN_VALUE);
  ------------------
  |  |  294|  2.28k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   58|  2.28k|    do {                                    \
  |  |  |  |   59|  2.28k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 2.28k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  2.28k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 2.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1278|  2.28k|    PyCodeObject *co = _PyCompile_OptimizeAndAssemble(c, 1);
 1279|  2.28k|    _PyCompile_ExitScope(c);
 1280|  2.28k|    if (co == NULL) {
  ------------------
  |  Branch (1280:9): [True: 0, False: 2.28k]
  ------------------
 1281|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1282|      0|    }
 1283|  2.28k|    if (codegen_rename_annotations_format_param(co) < 0) {
  ------------------
  |  Branch (1283:9): [True: 0, False: 2.28k]
  ------------------
 1284|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1285|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1286|      0|    }
 1287|  2.28k|    int ret = codegen_make_closure(c, LOC(e), co, MAKE_FUNCTION_DEFAULTS);
  ------------------
  |  |   88|  2.28k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  2.28k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  2.28k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  2.28k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  2.28k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  2.28k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
                  int ret = codegen_make_closure(c, LOC(e), co, MAKE_FUNCTION_DEFAULTS);
  ------------------
  |  |   64|  2.28k|#define MAKE_FUNCTION_DEFAULTS    0x01
  ------------------
 1288|  2.28k|    Py_DECREF(co);
  ------------------
  |  |  430|  2.28k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1289|  2.28k|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  2.28k|    do {                    \
  |  |   52|  2.28k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.28k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.28k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.28k]
  |  |  ------------------
  ------------------
 1290|  2.28k|    return SUCCESS;
  ------------------
  |  |   47|  2.28k|#define SUCCESS 0
  ------------------
 1291|  2.28k|}
codegen.c:codegen_setup_annotations_scope:
  712|  12.6k|{
  713|  12.6k|    _PyCompile_CodeUnitMetadata umd = {
  714|  12.6k|        .u_posonlyargcount = 1,
  715|  12.6k|    };
  716|  12.6k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  12.6k|    do {                    \
  |  |   52|  12.6k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 12.6k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  12.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 12.6k]
  |  |  ------------------
  ------------------
  717|  12.6k|        codegen_enter_scope(c, name, COMPILE_SCOPE_ANNOTATIONS,
  718|  12.6k|                            key, loc.lineno, NULL, &umd));
  719|       |
  720|       |    // if .format > VALUE_WITH_FAKE_GLOBALS: raise NotImplementedError
  721|  12.6k|    PyObject *value_with_fake_globals = PyLong_FromLong(_Py_ANNOTATE_FORMAT_VALUE_WITH_FAKE_GLOBALS);
  722|  12.6k|    if (value_with_fake_globals == NULL) {
  ------------------
  |  Branch (722:9): [True: 0, False: 12.6k]
  ------------------
  723|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  724|      0|    }
  725|       |
  726|  12.6k|    assert(!SYMTABLE_ENTRY(c)->ste_has_docstring);
  ------------------
  |  Branch (726:5): [True: 12.6k, False: 0]
  ------------------
  727|  12.6k|    _Py_DECLARE_STR(format, ".format");
  728|  12.6k|    ADDOP_I(c, loc, LOAD_FAST, 0);
  ------------------
  |  |  277|  12.6k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  12.6k|    do {                    \
  |  |  |  |   52|  12.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 12.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  12.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 12.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  729|  12.6k|    ADDOP_LOAD_CONST_NEW(c, loc, value_with_fake_globals);
  ------------------
  |  |  315|  12.6k|    do {                                                                \
  |  |  316|  12.6k|        PyObject *__new_const = (O);                                    \
  |  |  317|  12.6k|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (317:13): [True: 0, False: 12.6k]
  |  |  ------------------
  |  |  318|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  319|      0|        }                                                               \
  |  |  320|  12.6k|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (320:13): [True: 0, False: 12.6k]
  |  |  ------------------
  |  |  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|  12.6k|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|  12.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  325|  12.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (325:14): [Folded, False: 12.6k]
  |  |  ------------------
  ------------------
  730|  12.6k|    ADDOP_I(c, loc, COMPARE_OP, (Py_GT << 5) | compare_masks[Py_GT]);
  ------------------
  |  |  277|  12.6k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  12.6k|    do {                    \
  |  |  |  |   52|  12.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 12.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  12.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 12.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  731|  12.6k|    NEW_JUMP_TARGET_LABEL(c, body);
  ------------------
  |  |   91|  12.6k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  12.6k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  12.6k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  12.6k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  12.6k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 12.6k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
  732|  12.6k|    ADDOP_JUMP(c, loc, POP_JUMP_IF_FALSE, body);
  ------------------
  |  |  428|  12.6k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  12.6k|    do {                    \
  |  |  |  |   52|  12.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 12.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  12.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 12.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  733|  12.6k|    ADDOP_I(c, loc, LOAD_COMMON_CONSTANT, CONSTANT_NOTIMPLEMENTEDERROR);
  ------------------
  |  |  277|  12.6k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  12.6k|    do {                    \
  |  |  |  |   52|  12.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 12.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  12.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 12.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  734|  12.6k|    ADDOP_I(c, loc, RAISE_VARARGS, 1);
  ------------------
  |  |  277|  12.6k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  12.6k|    do {                    \
  |  |  |  |   52|  12.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 12.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  12.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 12.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  735|  12.6k|    USE_LABEL(c, body);
  ------------------
  |  |   97|  12.6k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  12.6k|    do {                    \
  |  |  |  |   52|  12.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 12.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  12.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 12.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  736|  12.6k|    return SUCCESS;
  ------------------
  |  |   47|  12.6k|#define SUCCESS 0
  ------------------
  737|  12.6k|}
codegen.c:codegen_addop_j:
  420|   313k|{
  421|   313k|    assert(IS_JUMP_TARGET_LABEL(target));
  ------------------
  |  Branch (421:5): [True: 313k, False: 0]
  ------------------
  422|   313k|    assert(HAS_TARGET(opcode));
  ------------------
  |  Branch (422:5): [True: 43.9k, False: 29.2k]
  |  Branch (422:5): [True: 11.7k, False: 17.5k]
  |  Branch (422:5): [True: 17.5k, False: 0]
  |  Branch (422:5): [True: 240k, False: 73.2k]
  ------------------
  423|   313k|    assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (423:5): [True: 0, False: 313k]
  |  Branch (423:5): [True: 0, False: 313k]
  |  Branch (423:5): [True: 0, False: 313k]
  ------------------
  424|   313k|    return _PyInstructionSequence_Addop(seq, opcode, target.id, loc);
  425|   313k|}
codegen.c:codegen_rename_annotations_format_param:
  741|  12.6k|{
  742|       |    // We want the parameter to __annotate__ to be named "format" in the
  743|       |    // signature  shown by inspect.signature(), but we need to use a
  744|       |    // different name (.format) in the symtable; if the name
  745|       |    // "format" appears in the annotations, it doesn't get clobbered
  746|       |    // by this name.  This code is essentially:
  747|       |    // co->co_localsplusnames = ("format", *co->co_localsplusnames[1:])
  748|  12.6k|    const Py_ssize_t size = PyObject_Size(co->co_localsplusnames);
  749|  12.6k|    if (size == -1) {
  ------------------
  |  Branch (749:9): [True: 0, False: 12.6k]
  ------------------
  750|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  751|      0|    }
  752|  12.6k|    PyObject *new_names = PyTuple_New(size);
  753|  12.6k|    if (new_names == NULL) {
  ------------------
  |  Branch (753:9): [True: 0, False: 12.6k]
  ------------------
  754|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  755|      0|    }
  756|  12.6k|    PyTuple_SET_ITEM(new_names, 0, Py_NewRef(&_Py_ID(format)));
  ------------------
  |  |   40|  12.6k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  12.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  12.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  757|  19.3k|    for (int i = 1; i < size; i++) {
  ------------------
  |  Branch (757:21): [True: 6.70k, False: 12.6k]
  ------------------
  758|  6.70k|        PyObject *item = PyTuple_GetItem(co->co_localsplusnames, i);
  759|  6.70k|        if (item == NULL) {
  ------------------
  |  Branch (759:13): [True: 0, False: 6.70k]
  ------------------
  760|      0|            Py_DECREF(new_names);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  761|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  762|      0|        }
  763|  6.70k|        Py_INCREF(item);
  ------------------
  |  |  310|  6.70k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  764|  6.70k|        PyTuple_SET_ITEM(new_names, i, item);
  ------------------
  |  |   40|  6.70k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  6.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  6.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  765|  6.70k|    }
  766|  12.6k|    Py_SETREF(co->co_localsplusnames, new_names);
  ------------------
  |  |  354|  12.6k|    do { \
  |  |  355|  12.6k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  12.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|  12.6k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  12.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|  12.6k|        *_tmp_dst_ptr = (src); \
  |  |  358|  12.6k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  12.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|  12.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 12.6k]
  |  |  ------------------
  ------------------
  767|  12.6k|    return SUCCESS;
  ------------------
  |  |   47|  12.6k|#define SUCCESS 0
  ------------------
  768|  12.6k|}
codegen.c:codegen_function_annotations:
 1173|  7.42k|{
 1174|       |    /* Push arg annotation names and values.
 1175|       |       The expressions are evaluated separately from the rest of the source code.
 1176|       |
 1177|       |       Return -1 on error, or a combination of flags to add to the function.
 1178|       |       */
 1179|  7.42k|    Py_ssize_t annotations_len = 0;
 1180|       |
 1181|  7.42k|    PySTEntryObject *ste;
 1182|  7.42k|    RETURN_IF_ERROR(_PySymtable_LookupOptional(SYMTABLE(c), args, &ste));
  ------------------
  |  |   51|  7.42k|    do {                    \
  |  |   52|  7.42k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 7.42k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  7.42k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 7.42k]
  |  |  ------------------
  ------------------
 1183|  7.42k|    assert(ste != NULL);
  ------------------
  |  Branch (1183:5): [True: 7.42k, False: 0]
  ------------------
 1184|       |
 1185|  7.42k|    if (ste->ste_annotations_used) {
  ------------------
  |  Branch (1185:9): [True: 3.45k, False: 3.97k]
  ------------------
 1186|  3.45k|        int err = codegen_setup_annotations_scope(c, loc, (void *)args, ste->ste_name);
 1187|  3.45k|        Py_DECREF(ste);
  ------------------
  |  |  430|  3.45k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1188|  3.45k|        RETURN_IF_ERROR(err);
  ------------------
  |  |   51|  3.45k|    do {                    \
  |  |   52|  3.45k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 3.45k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  3.45k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 3.45k]
  |  |  ------------------
  ------------------
 1189|  3.45k|        RETURN_IF_ERROR_IN_SCOPE(
  ------------------
  |  |   58|  3.45k|    do {                                    \
  |  |   59|  3.45k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 3.45k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  3.45k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 3.45k]
  |  |  ------------------
  ------------------
 1190|  3.45k|            c, codegen_annotations_in_scope(c, loc, args, returns, &annotations_len)
 1191|  3.45k|        );
 1192|  3.45k|        ADDOP_I(c, loc, BUILD_MAP, annotations_len);
  ------------------
  |  |  277|  3.45k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.45k|    do {                    \
  |  |  |  |   52|  3.45k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.45k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.45k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.45k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1193|  3.45k|        RETURN_IF_ERROR(codegen_leave_annotations_scope(c, loc));
  ------------------
  |  |   51|  3.45k|    do {                    \
  |  |   52|  3.45k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 3.45k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  3.45k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 3.45k]
  |  |  ------------------
  ------------------
 1194|  3.45k|        return MAKE_FUNCTION_ANNOTATE;
  ------------------
  |  |   68|  3.45k|#define MAKE_FUNCTION_ANNOTATE    0x10
  ------------------
 1195|  3.45k|    }
 1196|  3.97k|    else {
 1197|  3.97k|        Py_DECREF(ste);
  ------------------
  |  |  430|  3.97k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.97k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1198|  3.97k|    }
 1199|       |
 1200|  3.97k|    return 0;
 1201|  7.42k|}
codegen.c:codegen_annotations_in_scope:
 1142|  3.45k|{
 1143|  3.45k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  3.45k|    do {                    \
  |  |   52|  3.45k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 3.45k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  3.45k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 3.45k]
  |  |  ------------------
  ------------------
 1144|  3.45k|        codegen_argannotations(c, args->posonlyargs, annotations_len, loc));
 1145|       |
 1146|  3.45k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  3.45k|    do {                    \
  |  |   52|  3.45k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 3.45k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  3.45k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 3.45k]
  |  |  ------------------
  ------------------
 1147|  3.45k|        codegen_argannotations(c, args->args, annotations_len, loc));
 1148|       |
 1149|  3.45k|    if (args->vararg && args->vararg->annotation) {
  ------------------
  |  Branch (1149:9): [True: 353, False: 3.10k]
  |  Branch (1149:25): [True: 256, False: 97]
  ------------------
 1150|    256|        RETURN_IF_ERROR(
  ------------------
  |  |   51|    256|    do {                    \
  |  |   52|    256|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 256]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    256|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 256]
  |  |  ------------------
  ------------------
 1151|    256|            codegen_argannotation(c, args->vararg->arg,
 1152|    256|                                     args->vararg->annotation, annotations_len, loc));
 1153|    256|    }
 1154|       |
 1155|  3.45k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  3.45k|    do {                    \
  |  |   52|  3.45k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 3.45k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  3.45k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 3.45k]
  |  |  ------------------
  ------------------
 1156|  3.45k|        codegen_argannotations(c, args->kwonlyargs, annotations_len, loc));
 1157|       |
 1158|  3.45k|    if (args->kwarg && args->kwarg->annotation) {
  ------------------
  |  Branch (1158:9): [True: 665, False: 2.78k]
  |  Branch (1158:24): [True: 657, False: 8]
  ------------------
 1159|    657|        RETURN_IF_ERROR(
  ------------------
  |  |   51|    657|    do {                    \
  |  |   52|    657|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 657]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    657|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 657]
  |  |  ------------------
  ------------------
 1160|    657|            codegen_argannotation(c, args->kwarg->arg,
 1161|    657|                                     args->kwarg->annotation, annotations_len, loc));
 1162|    657|    }
 1163|       |
 1164|  3.45k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  3.45k|    do {                    \
  |  |   52|  3.45k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 3.45k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  3.45k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 3.45k]
  |  |  ------------------
  ------------------
 1165|  3.45k|        codegen_argannotation(c, &_Py_ID(return), returns, annotations_len, loc));
 1166|       |
 1167|  3.45k|    return 0;
 1168|  3.45k|}
codegen.c:codegen_argannotations:
 1123|  10.3k|{
 1124|  10.3k|    int i;
 1125|  12.6k|    for (i = 0; i < asdl_seq_LEN(args); i++) {
  ------------------
  |  |   83|  12.6k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  25.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 12.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1125:17): [True: 2.27k, False: 10.3k]
  ------------------
 1126|  2.27k|        arg_ty arg = (arg_ty)asdl_seq_GET(args, i);
  ------------------
  |  |   82|  2.27k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  2.27k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1127|  2.27k|        RETURN_IF_ERROR(
  ------------------
  |  |   51|  2.27k|    do {                    \
  |  |   52|  2.27k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.27k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.27k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.27k]
  |  |  ------------------
  ------------------
 1128|  2.27k|            codegen_argannotation(
 1129|  2.27k|                        c,
 1130|  2.27k|                        arg->arg,
 1131|  2.27k|                        arg->annotation,
 1132|  2.27k|                        annotations_len,
 1133|  2.27k|                        loc));
 1134|  2.27k|    }
 1135|  10.3k|    return SUCCESS;
  ------------------
  |  |   47|  10.3k|#define SUCCESS 0
  ------------------
 1136|  10.3k|}
codegen.c:codegen_argannotation:
 1089|  6.63k|{
 1090|  6.63k|    if (!annotation) {
  ------------------
  |  Branch (1090:9): [True: 2.90k, False: 3.73k]
  ------------------
 1091|  2.90k|        return SUCCESS;
  ------------------
  |  |   47|  2.90k|#define SUCCESS 0
  ------------------
 1092|  2.90k|    }
 1093|  3.73k|    PyObject *mangled = _PyCompile_MaybeMangle(c, id);
 1094|  3.73k|    if (!mangled) {
  ------------------
  |  Branch (1094:9): [True: 0, False: 3.73k]
  ------------------
 1095|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1096|      0|    }
 1097|  3.73k|    ADDOP_LOAD_CONST(c, loc, mangled);
  ------------------
  |  |  308|  3.73k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  3.73k|    do {                    \
  |  |  |  |   52|  3.73k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.73k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.73k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.73k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1098|  3.73k|    Py_DECREF(mangled);
  ------------------
  |  |  430|  3.73k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1099|       |
 1100|  3.73k|    if (FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS) {
  ------------------
  |  |   69|  3.73k|#define FUTURE_FEATURES(C) _PyCompile_FutureFeatures(C)
  ------------------
                  if (FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS) {
  ------------------
  |  |  147|  3.73k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (1100:9): [True: 1.15k, False: 2.57k]
  ------------------
 1101|  1.15k|        VISIT(c, annexpr, annotation);
  ------------------
  |  |  453|  1.15k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.15k|    do {                    \
  |  |  |  |   52|  1.15k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.15k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.15k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.15k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1102|  1.15k|    }
 1103|  2.57k|    else {
 1104|  2.57k|        if (annotation->kind == Starred_kind) {
  ------------------
  |  Branch (1104:13): [True: 87, False: 2.48k]
  ------------------
 1105|       |            // *args: *Ts (where Ts is a TypeVarTuple).
 1106|       |            // Do [annotation_value] = [*Ts].
 1107|       |            // (Note that in theory we could end up here even for an argument
 1108|       |            // other than *args, but in practice the grammar doesn't allow it.)
 1109|     87|            VISIT(c, expr, annotation->v.Starred.value);
  ------------------
  |  |  453|     87|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     87|    do {                    \
  |  |  |  |   52|     87|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 87]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     87|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 87]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1110|     87|            ADDOP_I(c, loc, UNPACK_SEQUENCE, (Py_ssize_t) 1);
  ------------------
  |  |  277|     87|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     87|    do {                    \
  |  |  |  |   52|     87|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 87]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     87|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 87]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1111|     87|        }
 1112|  2.48k|        else {
 1113|  2.48k|            VISIT(c, expr, annotation);
  ------------------
  |  |  453|  2.48k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  2.48k|    do {                    \
  |  |  |  |   52|  2.48k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.48k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.48k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1114|  2.48k|        }
 1115|  2.57k|    }
 1116|  3.73k|    *annotations_len += 1;
 1117|  3.73k|    return SUCCESS;
  ------------------
  |  |   47|  3.73k|#define SUCCESS 0
  ------------------
 1118|  3.73k|}
codegen.c:codegen_visit_annexpr:
 1080|  5.21k|{
 1081|  5.21k|    location loc = LOC(annotation);
  ------------------
  |  |   88|  5.21k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  5.21k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  5.21k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  5.21k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  5.21k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  5.21k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1082|  5.21k|    ADDOP_LOAD_CONST_NEW(c, loc, _PyAST_ExprAsUnicode(annotation));
  ------------------
  |  |  315|  5.21k|    do {                                                                \
  |  |  316|  5.21k|        PyObject *__new_const = (O);                                    \
  |  |  317|  5.21k|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (317:13): [True: 0, False: 5.21k]
  |  |  ------------------
  |  |  318|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  319|      0|        }                                                               \
  |  |  320|  5.21k|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (320:13): [True: 0, False: 5.21k]
  |  |  ------------------
  |  |  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|  5.21k|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|  5.21k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  325|  5.21k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (325:14): [Folded, False: 5.21k]
  |  |  ------------------
  ------------------
 1083|  5.21k|    return SUCCESS;
  ------------------
  |  |   47|  5.21k|#define SUCCESS 0
  ------------------
 1084|  5.21k|}
codegen.c:codegen_leave_annotations_scope:
  772|  9.94k|{
  773|  9.94k|    ADDOP_IN_SCOPE(c, loc, RETURN_VALUE);
  ------------------
  |  |  294|  9.94k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   58|  9.94k|    do {                                    \
  |  |  |  |   59|  9.94k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 9.94k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  9.94k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 9.94k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  774|  9.94k|    PyCodeObject *co = _PyCompile_OptimizeAndAssemble(c, 1);
  775|  9.94k|    if (co == NULL) {
  ------------------
  |  Branch (775:9): [True: 0, False: 9.94k]
  ------------------
  776|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  777|      0|    }
  778|       |
  779|  9.94k|    if (codegen_rename_annotations_format_param(co) < 0) {
  ------------------
  |  Branch (779:9): [True: 0, False: 9.94k]
  ------------------
  780|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  781|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  782|      0|    }
  783|       |
  784|  9.94k|    _PyCompile_ExitScope(c);
  785|  9.94k|    int ret = codegen_make_closure(c, loc, co, 0);
  786|  9.94k|    Py_DECREF(co);
  ------------------
  |  |  430|  9.94k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  787|  9.94k|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  9.94k|    do {                    \
  |  |   52|  9.94k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 9.94k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  9.94k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 9.94k]
  |  |  ------------------
  ------------------
  788|  9.94k|    return SUCCESS;
  ------------------
  |  |   47|  9.94k|#define SUCCESS 0
  ------------------
  789|  9.94k|}
codegen.c:codegen_function_body:
 1385|  7.42k|{
 1386|  7.42k|    arguments_ty args;
 1387|  7.42k|    identifier name;
 1388|  7.42k|    asdl_stmt_seq *body;
 1389|  7.42k|    int scope_type;
 1390|       |
 1391|  7.42k|    if (is_async) {
  ------------------
  |  Branch (1391:9): [True: 2.50k, False: 4.92k]
  ------------------
 1392|  2.50k|        assert(s->kind == AsyncFunctionDef_kind);
  ------------------
  |  Branch (1392:9): [True: 2.50k, False: 0]
  ------------------
 1393|       |
 1394|  2.50k|        args = s->v.AsyncFunctionDef.args;
 1395|  2.50k|        name = s->v.AsyncFunctionDef.name;
 1396|  2.50k|        body = s->v.AsyncFunctionDef.body;
 1397|       |
 1398|  2.50k|        scope_type = COMPILE_SCOPE_ASYNC_FUNCTION;
 1399|  4.92k|    } else {
 1400|  4.92k|        assert(s->kind == FunctionDef_kind);
  ------------------
  |  Branch (1400:9): [True: 4.92k, False: 0]
  ------------------
 1401|       |
 1402|  4.92k|        args = s->v.FunctionDef.args;
 1403|  4.92k|        name = s->v.FunctionDef.name;
 1404|  4.92k|        body = s->v.FunctionDef.body;
 1405|       |
 1406|  4.92k|        scope_type = COMPILE_SCOPE_FUNCTION;
 1407|  4.92k|    }
 1408|       |
 1409|  7.42k|    _PyCompile_CodeUnitMetadata umd = {
 1410|  7.42k|        .u_argcount = asdl_seq_LEN(args->args),
  ------------------
  |  |   83|  7.42k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  14.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 7.42k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1411|  7.42k|        .u_posonlyargcount = asdl_seq_LEN(args->posonlyargs),
  ------------------
  |  |   83|  7.42k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  14.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 7.42k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1412|  7.42k|        .u_kwonlyargcount = asdl_seq_LEN(args->kwonlyargs),
  ------------------
  |  |   83|  7.42k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  14.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 7.42k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1413|  7.42k|    };
 1414|  7.42k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  7.42k|    do {                    \
  |  |   52|  7.42k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 7.42k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  7.42k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 7.42k]
  |  |  ------------------
  ------------------
 1415|  7.42k|        codegen_enter_scope(c, name, scope_type, (void *)s, firstlineno, NULL, &umd));
 1416|       |
 1417|  7.42k|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|  7.42k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
 1418|  7.42k|    Py_ssize_t first_instr = 0;
 1419|  7.42k|    if (ste->ste_has_docstring) {
  ------------------
  |  Branch (1419:9): [True: 628, False: 6.79k]
  ------------------
 1420|    628|        PyObject *docstring = _PyAST_GetDocString(body);
 1421|    628|        assert(docstring);
  ------------------
  |  Branch (1421:9): [True: 628, False: 0]
  ------------------
 1422|    628|        first_instr = 1;
 1423|    628|        docstring = _PyCompile_CleanDoc(docstring);
 1424|    628|        if (docstring == NULL) {
  ------------------
  |  Branch (1424:13): [True: 0, False: 628]
  ------------------
 1425|      0|            _PyCompile_ExitScope(c);
 1426|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1427|      0|        }
 1428|    628|        Py_ssize_t idx = _PyCompile_AddConst(c, docstring);
 1429|    628|        Py_DECREF(docstring);
  ------------------
  |  |  430|    628|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    628|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    628|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1430|    628|        RETURN_IF_ERROR_IN_SCOPE(c, idx < 0 ? ERROR : SUCCESS);
  ------------------
  |  |   58|    628|    do {                                    \
  |  |   59|  1.25k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 628]
  |  |  |  Branch (59:14): [True: 0, False: 628]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|    628|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 628]
  |  |  ------------------
  ------------------
 1431|    628|    }
 1432|       |
 1433|  7.42k|    NEW_JUMP_TARGET_LABEL(c, start);
  ------------------
  |  |   91|  7.42k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  7.42k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  7.42k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  7.42k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  7.42k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 7.42k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 1434|  7.42k|    USE_LABEL(c, start);
  ------------------
  |  |   97|  7.42k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  7.42k|    do {                    \
  |  |  |  |   52|  7.42k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 7.42k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  7.42k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 7.42k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1435|  7.42k|    bool add_stopiteration_handler = ste->ste_coroutine || ste->ste_generator;
  ------------------
  |  Branch (1435:38): [True: 2.50k, False: 4.92k]
  |  Branch (1435:60): [True: 21, False: 4.90k]
  ------------------
 1436|  7.42k|    if (add_stopiteration_handler) {
  ------------------
  |  Branch (1436:9): [True: 2.52k, False: 4.90k]
  ------------------
 1437|       |        /* codegen_wrap_in_stopiteration_handler will push a block, so we need to account for that */
 1438|  2.52k|        RETURN_IF_ERROR(
  ------------------
  |  |   51|  2.52k|    do {                    \
  |  |   52|  2.52k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.52k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.52k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.52k]
  |  |  ------------------
  ------------------
 1439|  2.52k|            _PyCompile_PushFBlock(c, NO_LOCATION, COMPILE_FBLOCK_STOP_ITERATION,
 1440|  2.52k|                                  start, NO_LABEL, NULL));
 1441|  2.52k|    }
 1442|       |
 1443|  22.5k|    for (Py_ssize_t i = first_instr; i < asdl_seq_LEN(body); i++) {
  ------------------
  |  |   83|  22.5k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  45.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 22.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1443:38): [True: 15.1k, False: 7.39k]
  ------------------
 1444|  15.1k|        VISIT_IN_SCOPE(c, stmt, (stmt_ty)asdl_seq_GET(body, i));
  ------------------
  |  |  456|  15.1k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   58|  15.1k|    do {                                    \
  |  |  |  |   59|  15.1k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 32, False: 15.1k]
  |  |  |  |  ------------------
  |  |  |  |   60|     32|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|     32|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     32|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|     32|        }                                   \
  |  |  |  |   63|  15.1k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 15.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1445|  15.1k|    }
 1446|  7.39k|    if (add_stopiteration_handler) {
  ------------------
  |  Branch (1446:9): [True: 2.49k, False: 4.90k]
  ------------------
 1447|  2.49k|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_wrap_in_stopiteration_handler(c));
  ------------------
  |  |   58|  2.49k|    do {                                    \
  |  |   59|  2.49k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 2.49k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  2.49k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 2.49k]
  |  |  ------------------
  ------------------
 1448|  2.49k|        _PyCompile_PopFBlock(c, COMPILE_FBLOCK_STOP_ITERATION, start);
 1449|  2.49k|    }
 1450|  7.39k|    PyCodeObject *co = _PyCompile_OptimizeAndAssemble(c, 1);
 1451|  7.39k|    _PyCompile_ExitScope(c);
 1452|  7.39k|    if (co == NULL) {
  ------------------
  |  Branch (1452:9): [True: 0, False: 7.39k]
  ------------------
 1453|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1454|      0|    }
 1455|  7.39k|    int ret = codegen_make_closure(c, LOC(s), co, funcflags);
  ------------------
  |  |   88|  7.39k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  7.39k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  7.39k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  7.39k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  7.39k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  7.39k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1456|  7.39k|    Py_DECREF(co);
  ------------------
  |  |  430|  7.39k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1457|  7.39k|    return ret;
 1458|  7.39k|}
codegen.c:codegen_wrap_in_stopiteration_handler:
 1235|  2.84k|{
 1236|  2.84k|    NEW_JUMP_TARGET_LABEL(c, handler);
  ------------------
  |  |   91|  2.84k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  2.84k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  2.84k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  2.84k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  2.84k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 2.84k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 1237|       |
 1238|       |    /* Insert SETUP_CLEANUP just after the initial RETURN_GENERATOR; POP_TOP */
 1239|  2.84k|    instr_sequence *seq = INSTR_SEQUENCE(c);
  ------------------
  |  |   68|  2.84k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  ------------------
 1240|  2.84k|    int resume = 0;
 1241|  3.90k|    while (_PyInstructionSequence_GetInstruction(seq, resume).i_opcode != RETURN_GENERATOR) {
  ------------------
  |  |   45|  3.90k|#define RETURN_GENERATOR                        32
  ------------------
  |  Branch (1241:12): [True: 1.05k, False: 2.84k]
  ------------------
 1242|  1.05k|        resume++;
 1243|  1.05k|        assert(resume < seq->s_used);
  ------------------
  |  Branch (1243:9): [True: 1.05k, False: 0]
  ------------------
 1244|  1.05k|    }
 1245|  2.84k|    resume++;
 1246|  2.84k|    assert(_PyInstructionSequence_GetInstruction(seq, resume).i_opcode == POP_TOP);
  ------------------
  |  Branch (1246:5): [True: 2.84k, False: 0]
  ------------------
 1247|  2.84k|    resume++;
 1248|  2.84k|    assert(resume < seq->s_used);
  ------------------
  |  Branch (1248:5): [True: 2.84k, False: 0]
  ------------------
 1249|  2.84k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  2.84k|    do {                    \
  |  |   52|  2.84k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.84k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.84k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.84k]
  |  |  ------------------
  ------------------
 1250|  2.84k|        _PyInstructionSequence_InsertInstruction(
 1251|  2.84k|            seq, resume,
 1252|  2.84k|            SETUP_CLEANUP, handler.id, NO_LOCATION));
 1253|       |
 1254|  2.84k|    ADDOP_LOAD_CONST(c, NO_LOCATION, Py_None);
  ------------------
  |  |  308|  2.84k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  2.84k|    do {                    \
  |  |  |  |   52|  2.84k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.84k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.84k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.84k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1255|  2.84k|    ADDOP(c, NO_LOCATION, RETURN_VALUE);
  ------------------
  |  |  291|  2.84k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.84k|    do {                    \
  |  |  |  |   52|  2.84k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.84k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.84k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.84k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1256|  2.84k|    USE_LABEL(c, handler);
  ------------------
  |  |   97|  2.84k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  2.84k|    do {                    \
  |  |  |  |   52|  2.84k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.84k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.84k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.84k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1257|  2.84k|    ADDOP_I(c, NO_LOCATION, CALL_INTRINSIC_1, INTRINSIC_STOPITERATION_ERROR);
  ------------------
  |  |  277|  2.84k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.84k|    do {                    \
  |  |  |  |   52|  2.84k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.84k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.84k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.84k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1258|  2.84k|    ADDOP_I(c, NO_LOCATION, RERAISE, 1);
  ------------------
  |  |  277|  2.84k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.84k|    do {                    \
  |  |  |  |   52|  2.84k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.84k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.84k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.84k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1259|  2.84k|    return SUCCESS;
  ------------------
  |  |   47|  2.84k|#define SUCCESS 0
  ------------------
 1260|  2.84k|}
codegen.c:codegen_make_closure:
  983|  42.6k|{
  984|  42.6k|    if (co->co_nfreevars) {
  ------------------
  |  Branch (984:9): [True: 10.9k, False: 31.7k]
  ------------------
  985|  10.9k|        int i = PyUnstable_Code_GetFirstFree(co);
  986|  23.2k|        for (; i < co->co_nlocalsplus; ++i) {
  ------------------
  |  Branch (986:16): [True: 12.3k, False: 10.9k]
  ------------------
  987|       |            /* Bypass com_addop_varname because it will generate
  988|       |               LOAD_DEREF but LOAD_CLOSURE is needed.
  989|       |            */
  990|  12.3k|            PyObject *name = PyTuple_GET_ITEM(co->co_localsplusnames, i);
  ------------------
  |  |   29|  12.3k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  12.3k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (990:30): [True: 12.3k, False: 0]
  ------------------
  991|      0|            int arg = _PyCompile_LookupArg(c, co, name);
  992|  12.3k|            RETURN_IF_ERROR(arg);
  ------------------
  |  |   51|  12.3k|    do {                    \
  |  |   52|  12.3k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 12.3k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  12.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 12.3k]
  |  |  ------------------
  ------------------
  993|  12.3k|            ADDOP_I(c, loc, LOAD_CLOSURE, arg);
  ------------------
  |  |  277|  12.3k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  12.3k|    do {                    \
  |  |  |  |   52|  12.3k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 12.3k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  12.3k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 12.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  994|  12.3k|        }
  995|  10.9k|        flags |= MAKE_FUNCTION_CLOSURE;
  ------------------
  |  |   67|  10.9k|#define MAKE_FUNCTION_CLOSURE     0x08
  ------------------
  996|  10.9k|        ADDOP_I(c, loc, BUILD_TUPLE, co->co_nfreevars);
  ------------------
  |  |  277|  10.9k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.9k|    do {                    \
  |  |  |  |   52|  10.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  997|  10.9k|    }
  998|  42.6k|    ADDOP_LOAD_CONST(c, loc, (PyObject*)co);
  ------------------
  |  |  308|  42.6k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  42.6k|    do {                    \
  |  |  |  |   52|  42.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 42.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  42.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 42.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  999|       |
 1000|  42.6k|    ADDOP(c, loc, MAKE_FUNCTION);
  ------------------
  |  |  291|  42.6k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  42.6k|    do {                    \
  |  |  |  |   52|  42.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 42.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  42.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 42.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1001|       |
 1002|  42.6k|    if (flags & MAKE_FUNCTION_CLOSURE) {
  ------------------
  |  |   67|  42.6k|#define MAKE_FUNCTION_CLOSURE     0x08
  ------------------
  |  Branch (1002:9): [True: 10.9k, False: 31.7k]
  ------------------
 1003|  10.9k|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_CLOSURE);
  ------------------
  |  |  277|  10.9k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.9k|    do {                    \
  |  |  |  |   52|  10.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1004|  10.9k|    }
 1005|  42.6k|    if (flags & MAKE_FUNCTION_ANNOTATIONS) {
  ------------------
  |  |   66|  42.6k|#define MAKE_FUNCTION_ANNOTATIONS 0x04
  ------------------
  |  Branch (1005:9): [True: 0, False: 42.6k]
  ------------------
 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|  42.6k|    if (flags & MAKE_FUNCTION_ANNOTATE) {
  ------------------
  |  |   68|  42.6k|#define MAKE_FUNCTION_ANNOTATE    0x10
  ------------------
  |  Branch (1008:9): [True: 3.42k, False: 39.2k]
  ------------------
 1009|  3.42k|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_ANNOTATE);
  ------------------
  |  |  277|  3.42k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.42k|    do {                    \
  |  |  |  |   52|  3.42k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.42k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.42k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.42k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1010|  3.42k|    }
 1011|  42.6k|    if (flags & MAKE_FUNCTION_KWDEFAULTS) {
  ------------------
  |  |   65|  42.6k|#define MAKE_FUNCTION_KWDEFAULTS  0x02
  ------------------
  |  Branch (1011:9): [True: 1.44k, False: 41.2k]
  ------------------
 1012|  1.44k|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_KWDEFAULTS);
  ------------------
  |  |  277|  1.44k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.44k|    do {                    \
  |  |  |  |   52|  1.44k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.44k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.44k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.44k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1013|  1.44k|    }
 1014|  42.6k|    if (flags & MAKE_FUNCTION_DEFAULTS) {
  ------------------
  |  |   64|  42.6k|#define MAKE_FUNCTION_DEFAULTS    0x01
  ------------------
  |  Branch (1014:9): [True: 3.04k, False: 39.6k]
  ------------------
 1015|  3.04k|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_DEFAULTS);
  ------------------
  |  |  277|  3.04k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.04k|    do {                    \
  |  |  |  |   52|  3.04k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.04k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.04k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.04k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1016|  3.04k|    }
 1017|  42.6k|    return SUCCESS;
  ------------------
  |  |   47|  42.6k|#define SUCCESS 0
  ------------------
 1018|  42.6k|}
codegen.c:codegen_apply_decorators:
 1035|  20.4k|{
 1036|  20.4k|    if (!decos) {
  ------------------
  |  Branch (1036:9): [True: 19.8k, False: 624]
  ------------------
 1037|  19.8k|        return SUCCESS;
  ------------------
  |  |   47|  19.8k|#define SUCCESS 0
  ------------------
 1038|  19.8k|    }
 1039|       |
 1040|  2.51k|    for (Py_ssize_t i = asdl_seq_LEN(decos) - 1; i > -1; i--) {
  ------------------
  |  |   83|    624|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.24k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 624]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1040:50): [True: 1.89k, False: 624]
  ------------------
 1041|  1.89k|        location loc = LOC((expr_ty)asdl_seq_GET(decos, i));
  ------------------
  |  |   88|  1.89k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.89k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.89k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.89k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.89k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.89k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1042|  1.89k|        ADDOP_I(c, loc, CALL, 0);
  ------------------
  |  |  277|  1.89k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.89k|    do {                    \
  |  |  |  |   52|  1.89k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.89k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.89k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.89k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1043|  1.89k|    }
 1044|    624|    return SUCCESS;
  ------------------
  |  |   47|    624|#define SUCCESS 0
  ------------------
 1045|    624|}
codegen.c:codegen_class:
 1695|  13.0k|{
 1696|  13.0k|    asdl_expr_seq *decos = s->v.ClassDef.decorator_list;
 1697|       |
 1698|  13.0k|    RETURN_IF_ERROR(codegen_decorators(c, decos));
  ------------------
  |  |   51|  13.0k|    do {                    \
  |  |   52|  13.0k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 13.0k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  13.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 13.0k]
  |  |  ------------------
  ------------------
 1699|       |
 1700|  13.0k|    int firstlineno = s->lineno;
 1701|  13.0k|    if (asdl_seq_LEN(decos)) {
  ------------------
  |  |   83|  13.0k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  26.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 314, False: 12.7k]
  |  |  |  |  |  Branch (277:37): [True: 12.7k, False: 314]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1702|    314|        firstlineno = ((expr_ty)asdl_seq_GET(decos, 0))->lineno;
  ------------------
  |  |   82|    314|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    314|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1703|    314|    }
 1704|  13.0k|    location loc = LOC(s);
  ------------------
  |  |   88|  13.0k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  13.0k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  13.0k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  13.0k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  13.0k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  13.0k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1705|       |
 1706|  13.0k|    asdl_type_param_seq *type_params = s->v.ClassDef.type_params;
 1707|  13.0k|    int is_generic = asdl_seq_LEN(type_params) > 0;
  ------------------
  |  |   83|  13.0k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  26.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 10.3k, False: 2.68k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1708|  13.0k|    if (is_generic) {
  ------------------
  |  Branch (1708:9): [True: 2.68k, False: 10.3k]
  ------------------
 1709|  2.68k|        PyObject *type_params_name = PyUnicode_FromFormat("<generic parameters of %U>",
 1710|  2.68k|                                                         s->v.ClassDef.name);
 1711|  2.68k|        if (!type_params_name) {
  ------------------
  |  Branch (1711:13): [True: 0, False: 2.68k]
  ------------------
 1712|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1713|      0|        }
 1714|  2.68k|        int ret = codegen_enter_scope(c, type_params_name, COMPILE_SCOPE_ANNOTATIONS,
 1715|  2.68k|                                      (void *)type_params, firstlineno, s->v.ClassDef.name, NULL);
 1716|  2.68k|        Py_DECREF(type_params_name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1717|  2.68k|        RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  2.68k|    do {                    \
  |  |   52|  2.68k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.68k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.68k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.68k]
  |  |  ------------------
  ------------------
 1718|  2.68k|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_type_params(c, type_params));
  ------------------
  |  |   58|  2.68k|    do {                                    \
  |  |   59|  2.68k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 14, False: 2.67k]
  |  |  ------------------
  |  |   60|     14|            _PyCompile_ExitScope((C));      \
  |  |   61|     14|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|     14|#define ERROR -1
  |  |  ------------------
  |  |   62|     14|        }                                   \
  |  |   63|  2.68k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 2.67k]
  |  |  ------------------
  ------------------
 1719|  2.67k|        _Py_DECLARE_STR(type_params, ".type_params");
 1720|  2.67k|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_nameop(c, loc, &_Py_STR(type_params), Store));
  ------------------
  |  |   58|  2.67k|    do {                                    \
  |  |   59|  2.67k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 2.67k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  2.67k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 2.67k]
  |  |  ------------------
  ------------------
 1721|  2.67k|    }
 1722|       |
 1723|  13.0k|    int ret = codegen_class_body(c, s, firstlineno);
 1724|  13.0k|    if (is_generic) {
  ------------------
  |  Branch (1724:9): [True: 2.67k, False: 10.3k]
  ------------------
 1725|  2.67k|        RETURN_IF_ERROR_IN_SCOPE(c, ret);
  ------------------
  |  |   58|  2.67k|    do {                                    \
  |  |   59|  2.67k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 1, False: 2.67k]
  |  |  ------------------
  |  |   60|      1|            _PyCompile_ExitScope((C));      \
  |  |   61|      1|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   62|      1|        }                                   \
  |  |   63|  2.67k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 2.67k]
  |  |  ------------------
  ------------------
 1726|  2.67k|    }
 1727|  10.3k|    else {
 1728|  10.3k|        RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  10.3k|    do {                    \
  |  |   52|  10.3k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 15, False: 10.3k]
  |  |  ------------------
  |  |   53|     15|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     15|#define ERROR -1
  |  |  ------------------
  |  |   54|     15|        }                   \
  |  |   55|  10.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 10.3k]
  |  |  ------------------
  ------------------
 1729|  10.3k|    }
 1730|       |
 1731|       |    /* generate the rest of the code for the call */
 1732|       |
 1733|  13.0k|    if (is_generic) {
  ------------------
  |  Branch (1733:9): [True: 2.67k, False: 10.3k]
  ------------------
 1734|  2.67k|        _Py_DECLARE_STR(type_params, ".type_params");
 1735|  2.67k|        _Py_DECLARE_STR(generic_base, ".generic_base");
 1736|  2.67k|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_nameop(c, loc, &_Py_STR(type_params), Load));
  ------------------
  |  |   58|  2.67k|    do {                                    \
  |  |   59|  2.67k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 2.67k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  2.67k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 2.67k]
  |  |  ------------------
  ------------------
 1737|  2.67k|        ADDOP_I_IN_SCOPE(c, loc, CALL_INTRINSIC_1, INTRINSIC_SUBSCRIPT_GENERIC);
  ------------------
  |  |  280|  2.67k|    RETURN_IF_ERROR_IN_SCOPE(C, codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   58|  2.67k|    do {                                    \
  |  |  |  |   59|  2.67k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 2.67k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  2.67k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 2.67k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1738|  2.67k|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_nameop(c, loc, &_Py_STR(generic_base), Store));
  ------------------
  |  |   58|  2.67k|    do {                                    \
  |  |   59|  2.67k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 2.67k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  2.67k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 2.67k]
  |  |  ------------------
  ------------------
 1739|       |
 1740|  2.67k|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_call_helper_impl(c, loc, 2,
  ------------------
  |  |   58|  2.67k|    do {                                    \
  |  |   59|  2.67k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 2.67k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  2.67k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 2.67k]
  |  |  ------------------
  ------------------
 1741|  2.67k|                                                             s->v.ClassDef.bases,
 1742|  2.67k|                                                             &_Py_STR(generic_base),
 1743|  2.67k|                                                             s->v.ClassDef.keywords));
 1744|       |
 1745|  2.67k|        PyCodeObject *co = _PyCompile_OptimizeAndAssemble(c, 0);
 1746|       |
 1747|  2.67k|        _PyCompile_ExitScope(c);
 1748|  2.67k|        if (co == NULL) {
  ------------------
  |  Branch (1748:13): [True: 0, False: 2.67k]
  ------------------
 1749|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1750|      0|        }
 1751|  2.67k|        int ret = codegen_make_closure(c, loc, co, 0);
 1752|  2.67k|        Py_DECREF(co);
  ------------------
  |  |  430|  2.67k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1753|  2.67k|        RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  2.67k|    do {                    \
  |  |   52|  2.67k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.67k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.67k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.67k]
  |  |  ------------------
  ------------------
 1754|  2.67k|        ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  291|  2.67k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.67k|    do {                    \
  |  |  |  |   52|  2.67k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.67k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.67k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.67k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1755|  2.67k|        ADDOP_I(c, loc, CALL, 0);
  ------------------
  |  |  277|  2.67k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.67k|    do {                    \
  |  |  |  |   52|  2.67k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.67k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.67k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.67k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1756|  10.3k|    } else {
 1757|  10.3k|        RETURN_IF_ERROR(codegen_call_helper(c, loc, 2,
  ------------------
  |  |   51|  10.3k|    do {                    \
  |  |   52|  10.3k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 10.3k]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|  10.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 10.3k]
  |  |  ------------------
  ------------------
 1758|  10.3k|                                            s->v.ClassDef.bases,
 1759|  10.3k|                                            s->v.ClassDef.keywords));
 1760|  10.3k|    }
 1761|       |
 1762|       |    /* 6. apply decorators */
 1763|  13.0k|    RETURN_IF_ERROR(codegen_apply_decorators(c, decos));
  ------------------
  |  |   51|  13.0k|    do {                    \
  |  |   52|  13.0k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 13.0k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  13.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 13.0k]
  |  |  ------------------
  ------------------
 1764|       |
 1765|       |    /* 7. store into <name> */
 1766|  13.0k|    RETURN_IF_ERROR(codegen_nameop(c, loc, s->v.ClassDef.name, Store));
  ------------------
  |  |   51|  13.0k|    do {                    \
  |  |   52|  13.0k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 13.0k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  13.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 13.0k]
  |  |  ------------------
  ------------------
 1767|  13.0k|    return SUCCESS;
  ------------------
  |  |   47|  13.0k|#define SUCCESS 0
  ------------------
 1768|  13.0k|}
codegen.c:codegen_class_body:
 1587|  13.0k|{
 1588|       |    /* ultimately generate code for:
 1589|       |         <name> = __build_class__(<func>, <name>, *<bases>, **<keywords>)
 1590|       |       where:
 1591|       |         <func> is a zero arg function/closure created from the class body.
 1592|       |            It mutates its locals to build the class namespace.
 1593|       |         <name> is the class name
 1594|       |         <bases> is the positional arguments and *varargs argument
 1595|       |         <keywords> is the keyword arguments and **kwds argument
 1596|       |       This borrows from codegen_call.
 1597|       |    */
 1598|       |
 1599|       |    /* 1. compile the class body into a code object */
 1600|  13.0k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  13.0k|    do {                    \
  |  |   52|  13.0k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 13.0k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  13.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 13.0k]
  |  |  ------------------
  ------------------
 1601|  13.0k|        codegen_enter_scope(c, s->v.ClassDef.name, COMPILE_SCOPE_CLASS,
 1602|  13.0k|                            (void *)s, firstlineno, s->v.ClassDef.name, NULL));
 1603|       |
 1604|  13.0k|    location loc = LOCATION(firstlineno, firstlineno, 0, 0);
  ------------------
  |  |   86|  13.0k|    ((const _Py_SourceLocation){(LNO), (END_LNO), (COL), (END_COL)})
  ------------------
 1605|       |    /* load (global) __name__ ... */
 1606|  13.0k|    RETURN_IF_ERROR_IN_SCOPE(c, codegen_nameop(c, loc, &_Py_ID(__name__), Load));
  ------------------
  |  |   58|  13.0k|    do {                                    \
  |  |   59|  13.0k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 13.0k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  13.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 13.0k]
  |  |  ------------------
  ------------------
 1607|       |    /* ... and store it as __module__ */
 1608|  13.0k|    RETURN_IF_ERROR_IN_SCOPE(c, codegen_nameop(c, loc, &_Py_ID(__module__), Store));
  ------------------
  |  |   58|  13.0k|    do {                                    \
  |  |   59|  13.0k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 13.0k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  13.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 13.0k]
  |  |  ------------------
  ------------------
 1609|  13.0k|    ADDOP_LOAD_CONST(c, loc, QUALNAME(c));
  ------------------
  |  |  308|  13.0k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  13.0k|    do {                    \
  |  |  |  |   52|  13.0k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 13.0k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  13.0k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 13.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1610|  13.0k|    RETURN_IF_ERROR_IN_SCOPE(c, codegen_nameop(c, loc, &_Py_ID(__qualname__), Store));
  ------------------
  |  |   58|  13.0k|    do {                                    \
  |  |   59|  13.0k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 13.0k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  13.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 13.0k]
  |  |  ------------------
  ------------------
 1611|  13.0k|    ADDOP_LOAD_CONST_NEW(c, loc, PyLong_FromLong(METADATA(c)->u_firstlineno));
  ------------------
  |  |  315|  13.0k|    do {                                                                \
  |  |  316|  13.0k|        PyObject *__new_const = (O);                                    \
  |  |  317|  13.0k|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (317:13): [True: 0, False: 13.0k]
  |  |  ------------------
  |  |  318|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  319|      0|        }                                                               \
  |  |  320|  13.0k|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (320:13): [True: 0, False: 13.0k]
  |  |  ------------------
  |  |  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|  13.0k|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|  13.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  325|  13.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (325:14): [Folded, False: 13.0k]
  |  |  ------------------
  ------------------
 1612|  13.0k|    RETURN_IF_ERROR_IN_SCOPE(c, codegen_nameop(c, loc, &_Py_ID(__firstlineno__), Store));
  ------------------
  |  |   58|  13.0k|    do {                                    \
  |  |   59|  13.0k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 13.0k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  13.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 13.0k]
  |  |  ------------------
  ------------------
 1613|  13.0k|    asdl_type_param_seq *type_params = s->v.ClassDef.type_params;
 1614|  13.0k|    if (asdl_seq_LEN(type_params) > 0) {
  ------------------
  |  |   83|  13.0k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  26.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 10.3k, False: 2.67k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1614:9): [True: 2.67k, False: 10.3k]
  ------------------
 1615|  2.67k|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_set_type_params_in_class(c, loc));
  ------------------
  |  |   58|  2.67k|    do {                                    \
  |  |   59|  2.67k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 2.67k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  2.67k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 2.67k]
  |  |  ------------------
  ------------------
 1616|  2.67k|    }
 1617|  13.0k|    if (SYMTABLE_ENTRY(c)->ste_needs_classdict) {
  ------------------
  |  |   71|  13.0k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (1617:9): [True: 6.06k, False: 6.99k]
  ------------------
 1618|  6.06k|        ADDOP(c, loc, LOAD_LOCALS);
  ------------------
  |  |  291|  6.06k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  6.06k|    do {                    \
  |  |  |  |   52|  6.06k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6.06k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  6.06k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.06k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1619|       |
 1620|       |        // We can't use codegen_nameop here because we need to generate a
 1621|       |        // STORE_DEREF in a class namespace, and codegen_nameop() won't do
 1622|       |        // that by default.
 1623|  6.06k|        ADDOP_N_IN_SCOPE(c, loc, STORE_DEREF, &_Py_ID(__classdict__), cellvars);
  ------------------
  |  |  347|  6.06k|    do {                                                                \
  |  |  348|  6.06k|        assert(!OPCODE_HAS_CONST(OP)); /* use ADDOP_LOAD_CONST_NEW */   \
  |  |  349|  6.06k|        int ret = codegen_addop_o((C), (LOC), (OP),                     \
  |  |  350|  6.06k|                                  METADATA(C)->u_ ## TYPE, (O));        \
  |  |  ------------------
  |  |  |  |   76|  6.06k|#define METADATA(C) _PyCompile_Metadata(C)
  |  |  ------------------
  |  |  351|  6.06k|        Py_DECREF((O));                                                 \
  |  |  ------------------
  |  |  |  |  430|  6.06k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  352|  6.06k|        RETURN_IF_ERROR_IN_SCOPE((C), ret);                             \
  |  |  ------------------
  |  |  |  |   58|  6.06k|    do {                                    \
  |  |  |  |   59|  6.06k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 6.06k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  6.06k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 6.06k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  353|  6.06k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (353:14): [Folded, False: 6.06k]
  |  |  ------------------
  ------------------
  |  Branch (1623:9): [True: 6.06k, Folded]
  ------------------
 1624|  6.06k|    }
 1625|  13.0k|    if (SYMTABLE_ENTRY(c)->ste_has_conditional_annotations) {
  ------------------
  |  |   71|  13.0k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (1625:9): [True: 873, False: 12.1k]
  ------------------
 1626|    873|        ADDOP_I(c, loc, BUILD_SET, 0);
  ------------------
  |  |  277|    873|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    873|    do {                    \
  |  |  |  |   52|    873|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 873]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    873|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 873]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1627|    873|        ADDOP_N_IN_SCOPE(c, loc, STORE_DEREF, &_Py_ID(__conditional_annotations__), cellvars);
  ------------------
  |  |  347|    873|    do {                                                                \
  |  |  348|    873|        assert(!OPCODE_HAS_CONST(OP)); /* use ADDOP_LOAD_CONST_NEW */   \
  |  |  349|    873|        int ret = codegen_addop_o((C), (LOC), (OP),                     \
  |  |  350|    873|                                  METADATA(C)->u_ ## TYPE, (O));        \
  |  |  ------------------
  |  |  |  |   76|    873|#define METADATA(C) _PyCompile_Metadata(C)
  |  |  ------------------
  |  |  351|    873|        Py_DECREF((O));                                                 \
  |  |  ------------------
  |  |  |  |  430|    873|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    873|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    873|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  352|    873|        RETURN_IF_ERROR_IN_SCOPE((C), ret);                             \
  |  |  ------------------
  |  |  |  |   58|    873|    do {                                    \
  |  |  |  |   59|    873|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 873]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|    873|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 873]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  353|    873|    } while (0)
  |  |  ------------------
  |  |  |  Branch (353:14): [Folded, False: 873]
  |  |  ------------------
  ------------------
  |  Branch (1627:9): [True: 873, Folded]
  ------------------
 1628|    873|    }
 1629|       |    /* compile the body proper */
 1630|  13.0k|    RETURN_IF_ERROR_IN_SCOPE(c, codegen_body(c, loc, s->v.ClassDef.body, false));
  ------------------
  |  |   58|  13.0k|    do {                                    \
  |  |   59|  13.0k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 16, False: 13.0k]
  |  |  ------------------
  |  |   60|     16|            _PyCompile_ExitScope((C));      \
  |  |   61|     16|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|     16|#define ERROR -1
  |  |  ------------------
  |  |   62|     16|        }                                   \
  |  |   63|  13.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 13.0k]
  |  |  ------------------
  ------------------
 1631|  13.0k|    PyObject *static_attributes = _PyCompile_StaticAttributesAsTuple(c);
 1632|  13.0k|    if (static_attributes == NULL) {
  ------------------
  |  Branch (1632:9): [True: 0, False: 13.0k]
  ------------------
 1633|      0|        _PyCompile_ExitScope(c);
 1634|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1635|      0|    }
 1636|  13.0k|    ADDOP_LOAD_CONST(c, NO_LOCATION, static_attributes);
  ------------------
  |  |  308|  13.0k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  13.0k|    do {                    \
  |  |  |  |   52|  13.0k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 13.0k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  13.0k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 13.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1637|  13.0k|    Py_CLEAR(static_attributes);
  ------------------
  |  |  484|  13.0k|    do { \
  |  |  485|  13.0k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  13.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  13.0k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  13.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  13.0k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 13.0k, False: 0]
  |  |  ------------------
  |  |  488|  13.0k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  13.0k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  13.0k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  13.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  13.0k|        } \
  |  |  491|  13.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 13.0k]
  |  |  ------------------
  ------------------
 1638|  13.0k|    RETURN_IF_ERROR_IN_SCOPE(
  ------------------
  |  |   58|  13.0k|    do {                                    \
  |  |   59|  13.0k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 13.0k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  13.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 13.0k]
  |  |  ------------------
  ------------------
 1639|  13.0k|        c, codegen_nameop(c, NO_LOCATION, &_Py_ID(__static_attributes__), Store));
 1640|       |    /* The following code is artificial */
 1641|       |    /* Set __classdictcell__ if necessary */
 1642|  13.0k|    if (SYMTABLE_ENTRY(c)->ste_needs_classdict) {
  ------------------
  |  |   71|  13.0k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (1642:9): [True: 6.05k, False: 6.98k]
  ------------------
 1643|       |        /* Store __classdictcell__ into class namespace */
 1644|  6.05k|        int i = _PyCompile_LookupCellvar(c, &_Py_ID(__classdict__));
  ------------------
  |  |  921|  6.05k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  6.05k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  6.05k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1645|  6.05k|        RETURN_IF_ERROR_IN_SCOPE(c, i);
  ------------------
  |  |   58|  6.05k|    do {                                    \
  |  |   59|  6.05k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 6.05k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  6.05k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 6.05k]
  |  |  ------------------
  ------------------
 1646|  6.05k|        ADDOP_I(c, NO_LOCATION, LOAD_CLOSURE, i);
  ------------------
  |  |  277|  6.05k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  6.05k|    do {                    \
  |  |  |  |   52|  6.05k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6.05k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  6.05k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1647|  6.05k|        RETURN_IF_ERROR_IN_SCOPE(
  ------------------
  |  |   58|  6.05k|    do {                                    \
  |  |   59|  6.05k|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 6.05k]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|  6.05k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 6.05k]
  |  |  ------------------
  ------------------
 1648|  6.05k|            c, codegen_nameop(c, NO_LOCATION, &_Py_ID(__classdictcell__), Store));
 1649|  6.05k|    }
 1650|       |    /* Return __classcell__ if it is referenced, otherwise return None */
 1651|  13.0k|    if (SYMTABLE_ENTRY(c)->ste_needs_class_closure) {
  ------------------
  |  |   71|  13.0k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (1651:9): [True: 25, False: 13.0k]
  ------------------
 1652|       |        /* Store __classcell__ into class namespace & return it */
 1653|     25|        int i = _PyCompile_LookupCellvar(c, &_Py_ID(__class__));
  ------------------
  |  |  921|     25|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     25|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     25|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1654|     25|        RETURN_IF_ERROR_IN_SCOPE(c, i);
  ------------------
  |  |   58|     25|    do {                                    \
  |  |   59|     25|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 25]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|     25|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 25]
  |  |  ------------------
  ------------------
 1655|     25|        ADDOP_I(c, NO_LOCATION, LOAD_CLOSURE, i);
  ------------------
  |  |  277|     25|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     25|    do {                    \
  |  |  |  |   52|     25|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     25|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 25]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1656|     25|        ADDOP_I(c, NO_LOCATION, COPY, 1);
  ------------------
  |  |  277|     25|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     25|    do {                    \
  |  |  |  |   52|     25|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     25|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 25]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1657|     25|        RETURN_IF_ERROR_IN_SCOPE(
  ------------------
  |  |   58|     25|    do {                                    \
  |  |   59|     25|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 25]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|     25|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 25]
  |  |  ------------------
  ------------------
 1658|     25|            c, codegen_nameop(c, NO_LOCATION, &_Py_ID(__classcell__), Store));
 1659|     25|    }
 1660|  13.0k|    else {
 1661|       |        /* No methods referenced __class__, so just return None */
 1662|  13.0k|        ADDOP_LOAD_CONST(c, NO_LOCATION, Py_None);
  ------------------
  |  |  308|  13.0k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  13.0k|    do {                    \
  |  |  |  |   52|  13.0k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 13.0k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  13.0k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 13.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1663|  13.0k|    }
 1664|  13.0k|    ADDOP_IN_SCOPE(c, NO_LOCATION, RETURN_VALUE);
  ------------------
  |  |  294|  13.0k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   58|  13.0k|    do {                                    \
  |  |  |  |   59|  13.0k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 13.0k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  13.0k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 13.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1665|       |    /* create the code object */
 1666|  13.0k|    PyCodeObject *co = _PyCompile_OptimizeAndAssemble(c, 1);
 1667|       |
 1668|       |    /* leave the new scope */
 1669|  13.0k|    _PyCompile_ExitScope(c);
 1670|  13.0k|    if (co == NULL) {
  ------------------
  |  Branch (1670:9): [True: 0, False: 13.0k]
  ------------------
 1671|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1672|      0|    }
 1673|       |
 1674|       |    /* 2. load the 'build_class' function */
 1675|       |
 1676|       |    // these instructions should be attributed to the class line,
 1677|       |    // not a decorator line
 1678|  13.0k|    loc = LOC(s);
  ------------------
  |  |   88|  13.0k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  13.0k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  13.0k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  13.0k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  13.0k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  13.0k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1679|  13.0k|    ADDOP(c, loc, LOAD_BUILD_CLASS);
  ------------------
  |  |  291|  13.0k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  13.0k|    do {                    \
  |  |  |  |   52|  13.0k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 13.0k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  13.0k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 13.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1680|  13.0k|    ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  291|  13.0k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  13.0k|    do {                    \
  |  |  |  |   52|  13.0k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 13.0k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  13.0k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 13.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1681|       |
 1682|       |    /* 3. load a function (or closure) made from the code object */
 1683|  13.0k|    int ret = codegen_make_closure(c, loc, co, 0);
 1684|  13.0k|    Py_DECREF(co);
  ------------------
  |  |  430|  13.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1685|  13.0k|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  13.0k|    do {                    \
  |  |   52|  13.0k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 13.0k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  13.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 13.0k]
  |  |  ------------------
  ------------------
 1686|       |
 1687|       |    /* 4. load class name */
 1688|  13.0k|    ADDOP_LOAD_CONST(c, loc, s->v.ClassDef.name);
  ------------------
  |  |  308|  13.0k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  13.0k|    do {                    \
  |  |  |  |   52|  13.0k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 13.0k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  13.0k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 13.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1689|       |
 1690|  13.0k|    return SUCCESS;
  ------------------
  |  |   47|  13.0k|#define SUCCESS 0
  ------------------
 1691|  13.0k|}
codegen.c:codegen_set_type_params_in_class:
 1577|  2.67k|{
 1578|  2.67k|    _Py_DECLARE_STR(type_params, ".type_params");
 1579|  2.67k|    RETURN_IF_ERROR(codegen_nameop(c, loc, &_Py_STR(type_params), Load));
  ------------------
  |  |   51|  2.67k|    do {                    \
  |  |   52|  2.67k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.67k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.67k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.67k]
  |  |  ------------------
  ------------------
 1580|  2.67k|    RETURN_IF_ERROR(codegen_nameop(c, loc, &_Py_ID(__type_params__), Store));
  ------------------
  |  |   51|  2.67k|    do {                    \
  |  |   52|  2.67k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.67k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.67k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.67k]
  |  |  ------------------
  ------------------
 1581|  2.67k|    return SUCCESS;
  ------------------
  |  |   47|  2.67k|#define SUCCESS 0
  ------------------
 1582|  2.67k|}
codegen.c:codegen_call_helper_impl:
 4422|  21.5k|{
 4423|  21.5k|    Py_ssize_t i, nseen, nelts, nkwelts;
 4424|       |
 4425|  21.5k|    RETURN_IF_ERROR(codegen_validate_keywords(c, keywords));
  ------------------
  |  |   51|  21.5k|    do {                    \
  |  |   52|  21.5k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 21.5k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  21.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 21.5k]
  |  |  ------------------
  ------------------
 4426|       |
 4427|  21.5k|    nelts = asdl_seq_LEN(args);
  ------------------
  |  |   83|  21.5k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  43.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 14.3k, False: 7.20k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4428|  21.5k|    nkwelts = asdl_seq_LEN(keywords);
  ------------------
  |  |   83|  21.5k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  43.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 20.5k, False: 980]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4429|       |
 4430|  21.5k|    if (nelts + nkwelts*2 > _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|  21.5k|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (4430:9): [True: 2, False: 21.5k]
  ------------------
 4431|      2|         goto ex_call;
 4432|      2|    }
 4433|  30.0k|    for (i = 0; i < nelts; i++) {
  ------------------
  |  Branch (4433:17): [True: 10.4k, False: 19.5k]
  ------------------
 4434|  10.4k|        expr_ty elt = asdl_seq_GET(args, i);
  ------------------
  |  |   82|  10.4k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  10.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4435|  10.4k|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4435:13): [True: 2.01k, False: 8.43k]
  ------------------
 4436|  2.01k|            goto ex_call;
 4437|  2.01k|        }
 4438|  10.4k|    }
 4439|  20.0k|    for (i = 0; i < nkwelts; i++) {
  ------------------
  |  Branch (4439:17): [True: 989, False: 19.0k]
  ------------------
 4440|    989|        keyword_ty kw = asdl_seq_GET(keywords, i);
  ------------------
  |  |   82|    989|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    989|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4441|    989|        if (kw->arg == NULL) {
  ------------------
  |  Branch (4441:13): [True: 512, False: 477]
  ------------------
 4442|    512|            goto ex_call;
 4443|    512|        }
 4444|    989|    }
 4445|       |
 4446|       |    /* No * or ** args, so can use faster calling sequence */
 4447|  26.8k|    for (i = 0; i < nelts; i++) {
  ------------------
  |  Branch (4447:17): [True: 7.88k, False: 18.9k]
  ------------------
 4448|  7.88k|        expr_ty elt = asdl_seq_GET(args, i);
  ------------------
  |  |   82|  7.88k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  7.88k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4449|  7.88k|        assert(elt->kind != Starred_kind);
  ------------------
  |  Branch (4449:9): [True: 7.88k, False: 0]
  ------------------
 4450|  7.88k|        VISIT(c, expr, elt);
  ------------------
  |  |  453|  7.88k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  7.88k|    do {                    \
  |  |  |  |   52|  7.88k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 55, False: 7.83k]
  |  |  |  |  ------------------
  |  |  |  |   53|     55|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     55|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     55|        }                   \
  |  |  |  |   55|  7.88k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 7.83k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4451|  7.88k|    }
 4452|  18.9k|    if (injected_arg) {
  ------------------
  |  Branch (4452:9): [True: 2.67k, False: 16.3k]
  ------------------
 4453|  2.67k|        RETURN_IF_ERROR(codegen_nameop(c, loc, injected_arg, Load));
  ------------------
  |  |   51|  2.67k|    do {                    \
  |  |   52|  2.67k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.67k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.67k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.67k]
  |  |  ------------------
  ------------------
 4454|  2.67k|        nelts++;
 4455|  2.67k|    }
 4456|  18.9k|    if (nkwelts) {
  ------------------
  |  Branch (4456:9): [True: 447, False: 18.5k]
  ------------------
 4457|    447|        VISIT_SEQ(c, keyword, keywords);
  ------------------
  |  |  459|    447|    do {                                                                    \
  |  |  460|    447|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|    903|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    903|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.80k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 903]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 469, False: 434]
  |  |  ------------------
  |  |  462|    469|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    469|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    469|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    469|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    469|    do {                    \
  |  |  |  |   52|    469|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 13, False: 456]
  |  |  |  |  ------------------
  |  |  |  |   53|     13|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     13|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     13|        }                   \
  |  |  |  |   55|    469|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 456]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|    469|        }                                                                   \
  |  |  465|    447|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 434]
  |  |  ------------------
  ------------------
 4458|    434|        RETURN_IF_ERROR(
  ------------------
  |  |   51|    434|    do {                    \
  |  |   52|    434|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 434]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    434|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 434]
  |  |  ------------------
  ------------------
 4459|    434|            codegen_call_simple_kw_helper(c, loc, keywords, nkwelts));
 4460|    434|        ADDOP_I(c, loc, CALL_KW, n + nelts + nkwelts);
  ------------------
  |  |  277|    434|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    434|    do {                    \
  |  |  |  |   52|    434|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 434]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    434|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 434]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4461|    434|    }
 4462|  18.5k|    else {
 4463|  18.5k|        ADDOP_I(c, loc, CALL, n + nelts);
  ------------------
  |  |  277|  18.5k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  18.5k|    do {                    \
  |  |  |  |   52|  18.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 18.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  18.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 18.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4464|  18.5k|    }
 4465|  18.9k|    return SUCCESS;
  ------------------
  |  |   47|  18.9k|#define SUCCESS 0
  ------------------
 4466|       |
 4467|  2.52k|ex_call:
 4468|       |
 4469|       |    /* Do positional arguments. */
 4470|  2.52k|    if (n == 0 && nelts == 1 && ((expr_ty)asdl_seq_GET(args, 0))->kind == Starred_kind) {
  ------------------
  |  |   82|  1.22k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.22k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (4470:9): [True: 2.51k, False: 11]
  |  Branch (4470:19): [True: 1.22k, False: 1.28k]
  |  Branch (4470:33): [True: 744, False: 481]
  ------------------
 4471|    744|        VISIT(c, expr, ((expr_ty)asdl_seq_GET(args, 0))->v.Starred.value);
  ------------------
  |  |  453|    744|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    744|    do {                    \
  |  |  |  |   52|    744|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 10, False: 734]
  |  |  |  |  ------------------
  |  |  |  |   53|     10|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     10|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     10|        }                   \
  |  |  |  |   55|    744|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 734]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4472|    744|    }
 4473|  1.78k|    else {
 4474|  1.78k|        RETURN_IF_ERROR(starunpack_helper_impl(c, loc, args, injected_arg, n,
  ------------------
  |  |   51|  1.78k|    do {                    \
  |  |   52|  1.78k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 10, False: 1.77k]
  |  |  ------------------
  |  |   53|     10|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     10|#define ERROR -1
  |  |  ------------------
  |  |   54|     10|        }                   \
  |  |   55|  1.78k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.77k]
  |  |  ------------------
  ------------------
 4475|  1.78k|                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1));
 4476|  1.78k|    }
 4477|       |    /* Then keyword arguments */
 4478|  2.50k|    if (nkwelts) {
  ------------------
  |  Branch (4478:9): [True: 526, False: 1.97k]
  ------------------
 4479|       |        /* Has a new dict been pushed */
 4480|    526|        int have_dict = 0;
 4481|       |
 4482|    526|        nseen = 0;  /* the number of keyword arguments on the stack following */
 4483|  1.40k|        for (i = 0; i < nkwelts; i++) {
  ------------------
  |  Branch (4483:21): [True: 881, False: 521]
  ------------------
 4484|    881|            keyword_ty kw = asdl_seq_GET(keywords, i);
  ------------------
  |  |   82|    881|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    881|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4485|    881|            if (kw->arg == NULL) {
  ------------------
  |  Branch (4485:17): [True: 844, False: 37]
  ------------------
 4486|       |                /* A keyword argument unpacking. */
 4487|    844|                if (nseen) {
  ------------------
  |  Branch (4487:21): [True: 12, False: 832]
  ------------------
 4488|     12|                    RETURN_IF_ERROR(codegen_subkwargs(c, loc, keywords, i - nseen, i));
  ------------------
  |  |   51|     12|    do {                    \
  |  |   52|     12|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 2, False: 10]
  |  |  ------------------
  |  |   53|      2|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      2|#define ERROR -1
  |  |  ------------------
  |  |   54|      2|        }                   \
  |  |   55|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
 4489|     10|                    if (have_dict) {
  ------------------
  |  Branch (4489:25): [True: 3, False: 7]
  ------------------
 4490|      3|                        ADDOP_I(c, loc, DICT_MERGE, 1);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4491|      3|                    }
 4492|     10|                    have_dict = 1;
 4493|     10|                    nseen = 0;
 4494|     10|                }
 4495|    842|                if (!have_dict) {
  ------------------
  |  Branch (4495:21): [True: 505, False: 337]
  ------------------
 4496|    505|                    ADDOP_I(c, loc, BUILD_MAP, 0);
  ------------------
  |  |  277|    505|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    505|    do {                    \
  |  |  |  |   52|    505|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 505]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    505|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 505]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4497|    505|                    have_dict = 1;
 4498|    505|                }
 4499|    842|                VISIT(c, expr, kw->value);
  ------------------
  |  |  453|    842|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    842|    do {                    \
  |  |  |  |   52|    842|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 3, False: 839]
  |  |  |  |  ------------------
  |  |  |  |   53|      3|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      3|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      3|        }                   \
  |  |  |  |   55|    842|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 839]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4500|    839|                ADDOP_I(c, loc, DICT_MERGE, 1);
  ------------------
  |  |  277|    839|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    839|    do {                    \
  |  |  |  |   52|    839|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 839]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    839|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 839]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4501|    839|            }
 4502|     37|            else {
 4503|     37|                nseen++;
 4504|     37|            }
 4505|    881|        }
 4506|    521|        if (nseen) {
  ------------------
  |  Branch (4506:13): [True: 16, False: 505]
  ------------------
 4507|       |            /* Pack up any trailing keyword arguments. */
 4508|     16|            RETURN_IF_ERROR(codegen_subkwargs(c, loc, keywords, nkwelts - nseen, nkwelts));
  ------------------
  |  |   51|     16|    do {                    \
  |  |   52|     16|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 15]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 15]
  |  |  ------------------
  ------------------
 4509|     15|            if (have_dict) {
  ------------------
  |  Branch (4509:17): [True: 4, False: 11]
  ------------------
 4510|      4|                ADDOP_I(c, loc, DICT_MERGE, 1);
  ------------------
  |  |  277|      4|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      4|    do {                    \
  |  |  |  |   52|      4|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4511|      4|            }
 4512|     15|            have_dict = 1;
 4513|     15|        }
 4514|    521|        assert(have_dict);
  ------------------
  |  Branch (4514:9): [True: 520, False: 0]
  ------------------
 4515|    520|    }
 4516|  2.49k|    if (nkwelts == 0) {
  ------------------
  |  Branch (4516:9): [True: 1.97k, False: 520]
  ------------------
 4517|  1.97k|        ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  291|  1.97k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.97k|    do {                    \
  |  |  |  |   52|  1.97k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.97k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.97k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.97k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4518|  1.97k|    }
 4519|  2.49k|    ADDOP(c, loc, CALL_FUNCTION_EX);
  ------------------
  |  |  291|  2.49k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.49k|    do {                    \
  |  |  |  |   52|  2.49k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.49k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.49k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.49k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4520|  2.49k|    return SUCCESS;
  ------------------
  |  |   47|  2.49k|#define SUCCESS 0
  ------------------
 4521|  2.49k|}
codegen.c:codegen_validate_keywords:
 4191|  31.4k|{
 4192|  31.4k|    Py_ssize_t nkeywords = asdl_seq_LEN(keywords);
  ------------------
  |  |   83|  31.4k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  62.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 29.3k, False: 2.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4193|  34.3k|    for (Py_ssize_t i = 0; i < nkeywords; i++) {
  ------------------
  |  Branch (4193:28): [True: 2.96k, False: 31.3k]
  ------------------
 4194|  2.96k|        keyword_ty key = ((keyword_ty)asdl_seq_GET(keywords, i));
  ------------------
  |  |   82|  2.96k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  2.96k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4195|  2.96k|        if (key->arg == NULL) {
  ------------------
  |  Branch (4195:13): [True: 1.71k, False: 1.25k]
  ------------------
 4196|  1.71k|            continue;
 4197|  1.71k|        }
 4198|  1.56k|        for (Py_ssize_t j = i + 1; j < nkeywords; j++) {
  ------------------
  |  Branch (4198:36): [True: 335, False: 1.22k]
  ------------------
 4199|    335|            keyword_ty other = ((keyword_ty)asdl_seq_GET(keywords, j));
  ------------------
  |  |   82|    335|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    335|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4200|    335|            if (other->arg && !PyUnicode_Compare(key->arg, other->arg)) {
  ------------------
  |  Branch (4200:17): [True: 239, False: 96]
  |  Branch (4200:31): [True: 22, False: 217]
  ------------------
 4201|     22|                return _PyCompile_Error(c, LOC(other), "keyword argument repeated: %U", key->arg);
  ------------------
  |  |   88|     22|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     22|    (_Py_SourceLocation){ \
  |  |  |  |   55|     22|               .lineno = (n)->lineno, \
  |  |  |  |   56|     22|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     22|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     22|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4202|     22|            }
 4203|    335|        }
 4204|  1.25k|    }
 4205|  31.3k|    return SUCCESS;
  ------------------
  |  |   47|  31.3k|#define SUCCESS 0
  ------------------
 4206|  31.4k|}
codegen.c:codegen_visit_keyword:
 5227|    703|{
 5228|    703|    VISIT(c, expr, k->value);
  ------------------
  |  |  453|    703|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    703|    do {                    \
  |  |  |  |   52|    703|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 16, False: 687]
  |  |  |  |  ------------------
  |  |  |  |   53|     16|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     16|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     16|        }                   \
  |  |  |  |   55|    703|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 687]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5229|    687|    return SUCCESS;
  ------------------
  |  |   47|    687|#define SUCCESS 0
  ------------------
 5230|    703|}
codegen.c:codegen_call_simple_kw_helper:
 4401|    553|{
 4402|    553|    PyObject *names;
 4403|    553|    names = PyTuple_New(nkwelts);
 4404|    553|    if (names == NULL) {
  ------------------
  |  Branch (4404:9): [True: 0, False: 553]
  ------------------
 4405|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4406|      0|    }
 4407|  1.24k|    for (Py_ssize_t i = 0; i < nkwelts; i++) {
  ------------------
  |  Branch (4407:28): [True: 687, False: 553]
  ------------------
 4408|    687|        keyword_ty kw = asdl_seq_GET(keywords, i);
  ------------------
  |  |   82|    687|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    687|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4409|    687|        PyTuple_SET_ITEM(names, i, Py_NewRef(kw->arg));
  ------------------
  |  |   40|    687|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    687|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    687|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    687|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    687|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4410|    687|    }
 4411|    553|    ADDOP_LOAD_CONST_NEW(c, loc, names);
  ------------------
  |  |  315|    553|    do {                                                                \
  |  |  316|    553|        PyObject *__new_const = (O);                                    \
  |  |  317|    553|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (317:13): [True: 0, False: 553]
  |  |  ------------------
  |  |  318|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  319|      0|        }                                                               \
  |  |  320|    553|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (320:13): [True: 0, False: 553]
  |  |  ------------------
  |  |  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|    553|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|    553|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    553|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    553|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  325|    553|    } while (0)
  |  |  ------------------
  |  |  |  Branch (325:14): [Folded, False: 553]
  |  |  ------------------
  ------------------
 4412|    553|    return SUCCESS;
  ------------------
  |  |   47|    553|#define SUCCESS 0
  ------------------
 4413|    553|}
codegen.c:starunpack_helper_impl:
 3444|  65.4k|{
 3445|  65.4k|    Py_ssize_t n = asdl_seq_LEN(elts);
  ------------------
  |  |   83|  65.4k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|   130k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 5.39k, False: 60.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3446|  65.4k|    int big = n + pushed + (injected_arg ? 1 : 0) > _PY_STACK_USE_GUIDELINE;
  ------------------
  |  |   24|  65.4k|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (3446:29): [True: 0, False: 65.4k]
  ------------------
 3447|  65.4k|    int seen_star = 0;
 3448|   245k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3448:28): [True: 187k, False: 58.0k]
  ------------------
 3449|   187k|        expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|   187k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|   187k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3450|   187k|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (3450:13): [True: 7.37k, False: 179k]
  ------------------
 3451|  7.37k|            seen_star = 1;
 3452|  7.37k|            break;
 3453|  7.37k|        }
 3454|   187k|    }
 3455|  65.4k|    if (!seen_star && !big) {
  ------------------
  |  Branch (3455:9): [True: 58.0k, False: 7.37k]
  |  Branch (3455:23): [True: 57.7k, False: 313]
  ------------------
 3456|   182k|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3456:32): [True: 124k, False: 57.6k]
  ------------------
 3457|   124k|            expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|   124k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|   124k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3458|   124k|            VISIT(c, expr, elt);
  ------------------
  |  |  453|   124k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|   124k|    do {                    \
  |  |  |  |   52|   124k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 62, False: 124k]
  |  |  |  |  ------------------
  |  |  |  |   53|     62|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     62|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     62|        }                   \
  |  |  |  |   55|   124k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 124k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3459|   124k|        }
 3460|  57.6k|        if (injected_arg) {
  ------------------
  |  Branch (3460:13): [True: 0, False: 57.6k]
  ------------------
 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|  57.6k|        if (tuple) {
  ------------------
  |  Branch (3464:13): [True: 53.5k, False: 4.10k]
  ------------------
 3465|  53.5k|            ADDOP_I(c, loc, BUILD_TUPLE, n+pushed);
  ------------------
  |  |  277|  53.5k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  53.5k|    do {                    \
  |  |  |  |   52|  53.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 53.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  53.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 53.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3466|  53.5k|        } else {
 3467|  4.10k|            ADDOP_I(c, loc, build, n+pushed);
  ------------------
  |  |  277|  4.10k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  4.10k|    do {                    \
  |  |  |  |   52|  4.10k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.10k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.10k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.10k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3468|  4.10k|        }
 3469|  57.6k|        return SUCCESS;
  ------------------
  |  |   47|  57.6k|#define SUCCESS 0
  ------------------
 3470|  57.6k|    }
 3471|  7.69k|    int sequence_built = 0;
 3472|  7.69k|    if (big) {
  ------------------
  |  Branch (3472:9): [True: 365, False: 7.32k]
  ------------------
 3473|    365|        ADDOP_I(c, loc, build, pushed);
  ------------------
  |  |  277|    365|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    365|    do {                    \
  |  |  |  |   52|    365|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 365]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    365|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 365]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3474|    365|        sequence_built = 1;
 3475|    365|    }
 3476|  75.8k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3476:28): [True: 68.2k, False: 7.66k]
  ------------------
 3477|  68.2k|        expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|  68.2k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  68.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3478|  68.2k|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (3478:13): [True: 8.33k, False: 59.8k]
  ------------------
 3479|  8.33k|            if (sequence_built == 0) {
  ------------------
  |  Branch (3479:17): [True: 7.32k, False: 1.01k]
  ------------------
 3480|  7.32k|                ADDOP_I(c, loc, build, i+pushed);
  ------------------
  |  |  277|  7.32k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  7.32k|    do {                    \
  |  |  |  |   52|  7.32k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 7.32k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  7.32k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 7.32k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3481|  7.32k|                sequence_built = 1;
 3482|  7.32k|            }
 3483|  8.33k|            VISIT(c, expr, elt->v.Starred.value);
  ------------------
  |  |  453|  8.33k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  8.33k|    do {                    \
  |  |  |  |   52|  8.33k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 14, False: 8.31k]
  |  |  |  |  ------------------
  |  |  |  |   53|     14|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     14|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     14|        }                   \
  |  |  |  |   55|  8.33k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8.31k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3484|  8.31k|            ADDOP_I(c, loc, extend, 1);
  ------------------
  |  |  277|  8.31k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  8.31k|    do {                    \
  |  |  |  |   52|  8.31k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8.31k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  8.31k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8.31k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3485|  8.31k|        }
 3486|  59.8k|        else {
 3487|  59.8k|            VISIT(c, expr, elt);
  ------------------
  |  |  453|  59.8k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  59.8k|    do {                    \
  |  |  |  |   52|  59.8k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 16, False: 59.8k]
  |  |  |  |  ------------------
  |  |  |  |   53|     16|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     16|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     16|        }                   \
  |  |  |  |   55|  59.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 59.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3488|  59.8k|            if (sequence_built) {
  ------------------
  |  Branch (3488:17): [True: 37.7k, False: 22.1k]
  ------------------
 3489|  37.7k|                ADDOP_I(c, loc, add, 1);
  ------------------
  |  |  277|  37.7k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  37.7k|    do {                    \
  |  |  |  |   52|  37.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 37.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  37.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 37.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3490|  37.7k|            }
 3491|  59.8k|        }
 3492|  68.2k|    }
 3493|  7.69k|    assert(sequence_built);
  ------------------
  |  Branch (3493:5): [True: 7.66k, False: 0]
  ------------------
 3494|  7.66k|    if (injected_arg) {
  ------------------
  |  Branch (3494:9): [True: 0, False: 7.66k]
  ------------------
 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|  7.66k|    if (tuple) {
  ------------------
  |  Branch (3498:9): [True: 2.85k, False: 4.80k]
  ------------------
 3499|  2.85k|        ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_LIST_TO_TUPLE);
  ------------------
  |  |  277|  2.85k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.85k|    do {                    \
  |  |  |  |   52|  2.85k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.85k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.85k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.85k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3500|  2.85k|    }
 3501|  7.66k|    return SUCCESS;
  ------------------
  |  |   47|  7.66k|#define SUCCESS 0
  ------------------
 3502|  7.66k|}
codegen.c:codegen_subkwargs:
 4373|     28|{
 4374|     28|    Py_ssize_t i, n = end - begin;
 4375|     28|    keyword_ty kw;
 4376|     28|    assert(n > 0);
  ------------------
  |  Branch (4376:5): [True: 28, False: 0]
  ------------------
 4377|     28|    int big = n*2 > _PY_STACK_USE_GUIDELINE;
  ------------------
  |  |   24|     28|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
 4378|     28|    if (big) {
  ------------------
  |  Branch (4378:9): [True: 0, False: 28]
  ------------------
 4379|      0|        ADDOP_I(c, NO_LOCATION, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4380|      0|    }
 4381|     62|    for (i = begin; i < end; i++) {
  ------------------
  |  Branch (4381:21): [True: 37, False: 25]
  ------------------
 4382|     37|        kw = asdl_seq_GET(keywords, i);
  ------------------
  |  |   82|     37|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     37|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4383|     37|        ADDOP_LOAD_CONST(c, loc, kw->arg);
  ------------------
  |  |  308|     37|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     37|    do {                    \
  |  |  |  |   52|     37|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 37]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     37|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 37]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4384|     37|        VISIT(c, expr, kw->value);
  ------------------
  |  |  453|     37|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     37|    do {                    \
  |  |  |  |   52|     37|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 3, False: 34]
  |  |  |  |  ------------------
  |  |  |  |   53|      3|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      3|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      3|        }                   \
  |  |  |  |   55|     37|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 34]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4385|     34|        if (big) {
  ------------------
  |  Branch (4385:13): [True: 0, False: 34]
  ------------------
 4386|      0|            ADDOP_I(c, NO_LOCATION, MAP_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4387|      0|        }
 4388|     34|    }
 4389|     25|    if (!big) {
  ------------------
  |  Branch (4389:9): [True: 25, False: 0]
  ------------------
 4390|     25|        ADDOP_I(c, loc, BUILD_MAP, n);
  ------------------
  |  |  277|     25|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     25|    do {                    \
  |  |  |  |   52|     25|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     25|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 25]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4391|     25|    }
 4392|     25|    return SUCCESS;
  ------------------
  |  |   47|     25|#define SUCCESS 0
  ------------------
 4393|     25|}
codegen.c:codegen_call_helper:
 4528|  18.9k|{
 4529|       |    return codegen_call_helper_impl(c, loc, n, args, NULL, keywords);
 4530|  18.9k|}
codegen.c:codegen_typealias:
 1803|    381|{
 1804|    381|    location loc = LOC(s);
  ------------------
  |  |   88|    381|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    381|    (_Py_SourceLocation){ \
  |  |  |  |   55|    381|               .lineno = (n)->lineno, \
  |  |  |  |   56|    381|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    381|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    381|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1805|    381|    asdl_type_param_seq *type_params = s->v.TypeAlias.type_params;
 1806|    381|    int is_generic = asdl_seq_LEN(type_params) > 0;
  ------------------
  |  |   83|    381|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    762|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 380, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1807|    381|    PyObject *name = s->v.TypeAlias.name->v.Name.id;
 1808|    381|    if (is_generic) {
  ------------------
  |  Branch (1808:9): [True: 1, False: 380]
  ------------------
 1809|      1|        PyObject *type_params_name = PyUnicode_FromFormat("<generic parameters of %U>",
 1810|      1|                                                         name);
 1811|      1|        if (!type_params_name) {
  ------------------
  |  Branch (1811:13): [True: 0, False: 1]
  ------------------
 1812|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1813|      0|        }
 1814|      1|        int ret = codegen_enter_scope(c, type_params_name, COMPILE_SCOPE_ANNOTATIONS,
 1815|      1|                                      (void *)type_params, loc.lineno, NULL, NULL);
 1816|      1|        Py_DECREF(type_params_name);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1817|      1|        RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|      1|    do {                    \
  |  |   52|      1|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1818|      1|        ADDOP_LOAD_CONST_IN_SCOPE(c, loc, name);
  ------------------
  |  |  311|      1|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   58|      1|    do {                                    \
  |  |  |  |   59|      1|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1819|      1|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_type_params(c, type_params));
  ------------------
  |  |   58|      1|    do {                                    \
  |  |   59|      1|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1820|      1|    }
 1821|    380|    else {
 1822|    380|        ADDOP_LOAD_CONST(c, loc, name);
  ------------------
  |  |  308|    380|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    380|    do {                    \
  |  |  |  |   52|    380|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 380]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    380|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 380]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1823|    380|        ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  308|    380|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    380|    do {                    \
  |  |  |  |   52|    380|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 380]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    380|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 380]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1824|    380|    }
 1825|       |
 1826|    381|    int ret = codegen_typealias_body(c, s);
 1827|    381|    if (is_generic) {
  ------------------
  |  Branch (1827:9): [True: 1, False: 380]
  ------------------
 1828|      1|        RETURN_IF_ERROR_IN_SCOPE(c, ret);
  ------------------
  |  |   58|      1|    do {                                    \
  |  |   59|      1|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1829|      1|    }
 1830|    380|    else {
 1831|    380|        RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|    380|    do {                    \
  |  |   52|    380|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 379]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|    380|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 379]
  |  |  ------------------
  ------------------
 1832|    380|    }
 1833|       |
 1834|    380|    if (is_generic) {
  ------------------
  |  Branch (1834:9): [True: 1, False: 379]
  ------------------
 1835|      1|        PyCodeObject *co = _PyCompile_OptimizeAndAssemble(c, 0);
 1836|      1|        _PyCompile_ExitScope(c);
 1837|      1|        if (co == NULL) {
  ------------------
  |  Branch (1837:13): [True: 0, False: 1]
  ------------------
 1838|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1839|      0|        }
 1840|      1|        int ret = codegen_make_closure(c, loc, co, 0);
 1841|      1|        Py_DECREF(co);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1842|      1|        RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|      1|    do {                    \
  |  |   52|      1|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1843|      1|        ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  291|      1|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1844|      1|        ADDOP_I(c, loc, CALL, 0);
  ------------------
  |  |  277|      1|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1845|      1|    }
 1846|    380|    RETURN_IF_ERROR(codegen_nameop(c, loc, name, Store));
  ------------------
  |  |   51|    380|    do {                    \
  |  |   52|    380|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 380]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    380|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 380]
  |  |  ------------------
  ------------------
 1847|    380|    return SUCCESS;
  ------------------
  |  |   47|    380|#define SUCCESS 0
  ------------------
 1848|    380|}
codegen.c:codegen_typealias_body:
 1772|    381|{
 1773|    381|    location loc = LOC(s);
  ------------------
  |  |   88|    381|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    381|    (_Py_SourceLocation){ \
  |  |  |  |   55|    381|               .lineno = (n)->lineno, \
  |  |  |  |   56|    381|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    381|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    381|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1774|    381|    PyObject *name = s->v.TypeAlias.name->v.Name.id;
 1775|    381|    PyObject *defaults = PyTuple_Pack(1, _PyLong_GetOne());
 1776|    381|    ADDOP_LOAD_CONST_NEW(c, loc, defaults);
  ------------------
  |  |  315|    381|    do {                                                                \
  |  |  316|    381|        PyObject *__new_const = (O);                                    \
  |  |  317|    381|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (317:13): [True: 0, False: 381]
  |  |  ------------------
  |  |  318|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  319|      0|        }                                                               \
  |  |  320|    381|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (320:13): [True: 0, False: 381]
  |  |  ------------------
  |  |  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|    381|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|    381|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    381|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    381|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  325|    381|    } while (0)
  |  |  ------------------
  |  |  |  Branch (325:14): [Folded, False: 381]
  |  |  ------------------
  ------------------
 1777|    381|    RETURN_IF_ERROR(
  ------------------
  |  |   51|    381|    do {                    \
  |  |   52|    381|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 381]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    381|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 381]
  |  |  ------------------
  ------------------
 1778|    381|        codegen_setup_annotations_scope(c, LOC(s), s, name));
 1779|       |
 1780|    381|    assert(!SYMTABLE_ENTRY(c)->ste_has_docstring);
  ------------------
  |  Branch (1780:5): [True: 381, False: 0]
  ------------------
 1781|    381|    VISIT_IN_SCOPE(c, expr, s->v.TypeAlias.value);
  ------------------
  |  |  456|    381|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   58|    381|    do {                                    \
  |  |  |  |   59|    381|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 1, False: 380]
  |  |  |  |  ------------------
  |  |  |  |   60|      1|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      1|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      1|        }                                   \
  |  |  |  |   63|    381|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 380]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1782|    380|    ADDOP_IN_SCOPE(c, loc, RETURN_VALUE);
  ------------------
  |  |  294|    380|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   58|    380|    do {                                    \
  |  |  |  |   59|    380|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 380]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|    380|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 380]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1783|    380|    PyCodeObject *co = _PyCompile_OptimizeAndAssemble(c, 0);
 1784|    380|    _PyCompile_ExitScope(c);
 1785|    380|    if (co == NULL) {
  ------------------
  |  Branch (1785:9): [True: 0, False: 380]
  ------------------
 1786|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1787|      0|    }
 1788|    380|    if (codegen_rename_annotations_format_param(co) < 0) {
  ------------------
  |  Branch (1788:9): [True: 0, False: 380]
  ------------------
 1789|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1790|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1791|      0|    }
 1792|    380|    int ret = codegen_make_closure(c, loc, co, MAKE_FUNCTION_DEFAULTS);
  ------------------
  |  |   64|    380|#define MAKE_FUNCTION_DEFAULTS    0x01
  ------------------
 1793|    380|    Py_DECREF(co);
  ------------------
  |  |  430|    380|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1794|    380|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|    380|    do {                    \
  |  |   52|    380|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 380]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    380|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 380]
  |  |  ------------------
  ------------------
 1795|       |
 1796|    380|    ADDOP_I(c, loc, BUILD_TUPLE, 3);
  ------------------
  |  |  277|    380|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    380|    do {                    \
  |  |  |  |   52|    380|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 380]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    380|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 380]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1797|    380|    ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_TYPEALIAS);
  ------------------
  |  |  277|    380|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    380|    do {                    \
  |  |  |  |   52|    380|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 380]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    380|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 380]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1798|    380|    return SUCCESS;
  ------------------
  |  |   47|    380|#define SUCCESS 0
  ------------------
 1799|    380|}
codegen.c:codegen_return:
 2268|    229|{
 2269|    229|    location loc = LOC(s);
  ------------------
  |  |   88|    229|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    229|    (_Py_SourceLocation){ \
  |  |  |  |   55|    229|               .lineno = (n)->lineno, \
  |  |  |  |   56|    229|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    229|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    229|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2270|    229|    int preserve_tos = ((s->v.Return.value != NULL) &&
  ------------------
  |  Branch (2270:25): [True: 34, False: 195]
  ------------------
 2271|     34|                        (s->v.Return.value->kind != Constant_kind));
  ------------------
  |  Branch (2271:25): [True: 33, False: 1]
  ------------------
 2272|       |
 2273|    229|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|    229|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
 2274|    229|    if (!_PyST_IsFunctionLike(ste)) {
  ------------------
  |  Branch (2274:9): [True: 31, False: 198]
  ------------------
 2275|     31|        return _PyCompile_Error(c, loc, "'return' outside function");
 2276|     31|    }
 2277|    198|    if (s->v.Return.value != NULL && ste->ste_coroutine && ste->ste_generator) {
  ------------------
  |  Branch (2277:9): [True: 24, False: 174]
  |  Branch (2277:38): [True: 23, False: 1]
  |  Branch (2277:60): [True: 0, False: 23]
  ------------------
 2278|      0|        return _PyCompile_Error(c, loc, "'return' with value in async generator");
 2279|      0|    }
 2280|       |
 2281|    198|    if (preserve_tos) {
  ------------------
  |  Branch (2281:9): [True: 23, False: 175]
  ------------------
 2282|     23|        VISIT(c, expr, s->v.Return.value);
  ------------------
  |  |  453|     23|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     23|    do {                    \
  |  |  |  |   52|     23|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 3, False: 20]
  |  |  |  |  ------------------
  |  |  |  |   53|      3|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      3|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      3|        }                   \
  |  |  |  |   55|     23|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 20]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2283|    175|    } else {
 2284|       |        /* Emit instruction with line number for return value */
 2285|    175|        if (s->v.Return.value != NULL) {
  ------------------
  |  Branch (2285:13): [True: 1, False: 174]
  ------------------
 2286|      1|            loc = LOC(s->v.Return.value);
  ------------------
  |  |   88|      1|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      1|    (_Py_SourceLocation){ \
  |  |  |  |   55|      1|               .lineno = (n)->lineno, \
  |  |  |  |   56|      1|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      1|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      1|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2287|      1|            ADDOP(c, loc, NOP);
  ------------------
  |  |  291|      1|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2288|      1|        }
 2289|    175|    }
 2290|    195|    if (s->v.Return.value == NULL || s->v.Return.value->lineno != s->lineno) {
  ------------------
  |  Branch (2290:9): [True: 174, False: 21]
  |  Branch (2290:38): [True: 0, False: 21]
  ------------------
 2291|    174|        loc = LOC(s);
  ------------------
  |  |   88|    174|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    174|    (_Py_SourceLocation){ \
  |  |  |  |   55|    174|               .lineno = (n)->lineno, \
  |  |  |  |   56|    174|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    174|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    174|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2292|    174|        ADDOP(c, loc, NOP);
  ------------------
  |  |  291|    174|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    174|    do {                    \
  |  |  |  |   52|    174|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 174]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    174|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 174]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2293|    174|    }
 2294|       |
 2295|    195|    RETURN_IF_ERROR(codegen_unwind_fblock_stack(c, &loc, preserve_tos, NULL));
  ------------------
  |  |   51|    195|    do {                    \
  |  |   52|    195|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 195]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    195|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 195]
  |  |  ------------------
  ------------------
 2296|    195|    if (s->v.Return.value == NULL) {
  ------------------
  |  Branch (2296:9): [True: 174, False: 21]
  ------------------
 2297|    174|        ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  308|    174|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    174|    do {                    \
  |  |  |  |   52|    174|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 174]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    174|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 174]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2298|    174|    }
 2299|     21|    else if (!preserve_tos) {
  ------------------
  |  Branch (2299:14): [True: 1, False: 20]
  ------------------
 2300|      1|        ADDOP_LOAD_CONST(c, loc, s->v.Return.value->v.Constant.value);
  ------------------
  |  |  308|      1|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2301|      1|    }
 2302|    195|    ADDOP(c, loc, RETURN_VALUE);
  ------------------
  |  |  291|    195|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    195|    do {                    \
  |  |  |  |   52|    195|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 195]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    195|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 195]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2303|       |
 2304|    195|    return SUCCESS;
  ------------------
  |  |   47|    195|#define SUCCESS 0
  ------------------
 2305|    195|}
codegen.c:codegen_unwind_fblock_stack:
  655|  2.57k|{
  656|  2.57k|    fblockinfo *top = _PyCompile_TopFBlock(c);
  657|  2.57k|    if (top == NULL) {
  ------------------
  |  Branch (657:9): [True: 229, False: 2.34k]
  ------------------
  658|    229|        return SUCCESS;
  ------------------
  |  |   47|    229|#define SUCCESS 0
  ------------------
  659|    229|    }
  660|  2.34k|    if (top->fb_type == COMPILE_FBLOCK_EXCEPTION_GROUP_HANDLER) {
  ------------------
  |  Branch (660:9): [True: 2, False: 2.34k]
  ------------------
  661|      2|        return _PyCompile_Error(
  662|      2|            c, *ploc, "'break', 'continue' and 'return' cannot appear in an except* block");
  663|      2|    }
  664|  2.34k|    if (loop != NULL && (top->fb_type == COMPILE_FBLOCK_WHILE_LOOP ||
  ------------------
  |  Branch (664:9): [True: 122, False: 2.22k]
  |  Branch (664:26): [True: 96, False: 26]
  ------------------
  665|     26|                         top->fb_type == COMPILE_FBLOCK_FOR_LOOP ||
  ------------------
  |  Branch (665:26): [True: 9, False: 17]
  ------------------
  666|    105|                         top->fb_type == COMPILE_FBLOCK_ASYNC_FOR_LOOP)) {
  ------------------
  |  Branch (666:26): [True: 0, False: 17]
  ------------------
  667|    105|        *loop = top;
  668|    105|        return SUCCESS;
  ------------------
  |  |   47|    105|#define SUCCESS 0
  ------------------
  669|    105|    }
  670|  2.24k|    fblockinfo copy = *top;
  671|  2.24k|    _PyCompile_PopFBlock(c, top->fb_type, top->fb_block);
  672|  2.24k|    RETURN_IF_ERROR(codegen_unwind_fblock(c, ploc, &copy, preserve_tos));
  ------------------
  |  |   51|  2.24k|    do {                    \
  |  |   52|  2.24k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 2.24k]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|  2.24k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.24k]
  |  |  ------------------
  ------------------
  673|  2.24k|    RETURN_IF_ERROR(codegen_unwind_fblock_stack(c, ploc, preserve_tos, loop));
  ------------------
  |  |   51|  2.24k|    do {                    \
  |  |   52|  2.24k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 2, False: 2.23k]
  |  |  ------------------
  |  |   53|      2|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      2|#define ERROR -1
  |  |  ------------------
  |  |   54|      2|        }                   \
  |  |   55|  2.24k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.23k]
  |  |  ------------------
  ------------------
  674|  2.23k|    RETURN_IF_ERROR(_PyCompile_PushFBlock(c, copy.fb_loc, copy.fb_type, copy.fb_block,
  ------------------
  |  |   51|  2.23k|    do {                    \
  |  |   52|  2.23k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.23k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.23k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.23k]
  |  |  ------------------
  ------------------
  675|  2.23k|                          copy.fb_exit, copy.fb_datum));
  676|  2.23k|    return SUCCESS;
  ------------------
  |  |   47|  2.23k|#define SUCCESS 0
  ------------------
  677|  2.23k|}
codegen.c:codegen_unwind_fblock:
  541|  2.24k|{
  542|  2.24k|    switch (info->fb_type) {
  ------------------
  |  Branch (542:13): [True: 2.24k, False: 0]
  ------------------
  543|      0|        case COMPILE_FBLOCK_WHILE_LOOP:
  ------------------
  |  Branch (543:9): [True: 0, False: 2.24k]
  ------------------
  544|      2|        case COMPILE_FBLOCK_EXCEPTION_HANDLER:
  ------------------
  |  Branch (544:9): [True: 2, False: 2.24k]
  ------------------
  545|      2|        case COMPILE_FBLOCK_EXCEPTION_GROUP_HANDLER:
  ------------------
  |  Branch (545:9): [True: 0, False: 2.24k]
  ------------------
  546|      2|        case COMPILE_FBLOCK_ASYNC_COMPREHENSION_GENERATOR:
  ------------------
  |  Branch (546:9): [True: 0, False: 2.24k]
  ------------------
  547|    196|        case COMPILE_FBLOCK_STOP_ITERATION:
  ------------------
  |  Branch (547:9): [True: 194, False: 2.04k]
  ------------------
  548|    196|            return SUCCESS;
  ------------------
  |  |   47|    196|#define SUCCESS 0
  ------------------
  549|       |
  550|      0|        case COMPILE_FBLOCK_FOR_LOOP:
  ------------------
  |  Branch (550:9): [True: 0, False: 2.24k]
  ------------------
  551|       |            /* Pop the iterator */
  552|      0|            if (preserve_tos) {
  ------------------
  |  Branch (552:17): [True: 0, False: 0]
  ------------------
  553|      0|                ADDOP_I(c, *ploc, SWAP, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  554|      0|            }
  555|      0|            ADDOP(c, *ploc, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  556|      0|            ADDOP(c, *ploc, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  557|      0|            return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
  558|       |
  559|      0|        case COMPILE_FBLOCK_ASYNC_FOR_LOOP:
  ------------------
  |  Branch (559:9): [True: 0, False: 2.24k]
  ------------------
  560|       |            /* Pop the iterator */
  561|      0|            if (preserve_tos) {
  ------------------
  |  Branch (561:17): [True: 0, False: 0]
  ------------------
  562|      0|                ADDOP_I(c, *ploc, SWAP, 2);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  563|      0|            }
  564|      0|            ADDOP(c, *ploc, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  565|      0|            return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
  566|       |
  567|      2|        case COMPILE_FBLOCK_TRY_EXCEPT:
  ------------------
  |  Branch (567:9): [True: 2, False: 2.24k]
  ------------------
  568|      2|            ADDOP(c, *ploc, POP_BLOCK);
  ------------------
  |  |  291|      2|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  569|      2|            return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
  570|       |
  571|      9|        case COMPILE_FBLOCK_FINALLY_TRY:
  ------------------
  |  Branch (571:9): [True: 9, False: 2.23k]
  ------------------
  572|       |            /* This POP_BLOCK gets the line number of the unwinding statement */
  573|      9|            ADDOP(c, *ploc, POP_BLOCK);
  ------------------
  |  |  291|      9|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      9|    do {                    \
  |  |  |  |   52|      9|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      9|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  574|      9|            if (preserve_tos) {
  ------------------
  |  Branch (574:17): [True: 0, False: 9]
  ------------------
  575|      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]
  |  |  ------------------
  ------------------
  576|      0|                    _PyCompile_PushFBlock(c, *ploc, COMPILE_FBLOCK_POP_VALUE,
  577|      0|                                          NO_LABEL, NO_LABEL, NULL));
  578|      0|            }
  579|       |            /* Emit the finally block */
  580|      9|            VISIT_SEQ(c, stmt, info->fb_datum);
  ------------------
  |  |  459|      9|    do {                                                                    \
  |  |  460|      9|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|    101|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    101|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    202|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 101]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 93, False: 8]
  |  |  ------------------
  |  |  462|     93|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|     93|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     93|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|     93|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|     93|    do {                    \
  |  |  |  |   52|     93|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 92]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|     93|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 92]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|     93|        }                                                                   \
  |  |  465|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
  581|      8|            if (preserve_tos) {
  ------------------
  |  Branch (581:17): [True: 0, False: 8]
  ------------------
  582|      0|                _PyCompile_PopFBlock(c, COMPILE_FBLOCK_POP_VALUE, NO_LABEL);
  ------------------
  |  |   57|      0|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  583|      0|            }
  584|       |            /* The finally block should appear to execute after the
  585|       |             * statement causing the unwinding, so make the unwinding
  586|       |             * instruction artificial */
  587|      8|            *ploc = NO_LOCATION;
  588|      8|            return SUCCESS;
  ------------------
  |  |   47|      8|#define SUCCESS 0
  ------------------
  589|       |
  590|      0|        case COMPILE_FBLOCK_FINALLY_END:
  ------------------
  |  Branch (590:9): [True: 0, False: 2.24k]
  ------------------
  591|      0|            if (preserve_tos) {
  ------------------
  |  Branch (591:17): [True: 0, False: 0]
  ------------------
  592|      0|                ADDOP_I(c, *ploc, SWAP, 2);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  593|      0|            }
  594|      0|            ADDOP(c, *ploc, POP_TOP); /* exc_value */
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  595|      0|            if (preserve_tos) {
  ------------------
  |  Branch (595:17): [True: 0, False: 0]
  ------------------
  596|      0|                ADDOP_I(c, *ploc, SWAP, 2);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  597|      0|            }
  598|      0|            ADDOP(c, *ploc, POP_BLOCK);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  599|      0|            ADDOP(c, *ploc, POP_EXCEPT);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  600|      0|            return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
  601|       |
  602|     19|        case COMPILE_FBLOCK_WITH:
  ------------------
  |  Branch (602:9): [True: 19, False: 2.22k]
  ------------------
  603|  2.03k|        case COMPILE_FBLOCK_ASYNC_WITH:
  ------------------
  |  Branch (603:9): [True: 2.01k, False: 230]
  ------------------
  604|  2.03k|            *ploc = info->fb_loc;
  605|  2.03k|            ADDOP(c, *ploc, POP_BLOCK);
  ------------------
  |  |  291|  2.03k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.03k|    do {                    \
  |  |  |  |   52|  2.03k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.03k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.03k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.03k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  606|  2.03k|            if (preserve_tos) {
  ------------------
  |  Branch (606:17): [True: 57, False: 1.97k]
  ------------------
  607|     57|                ADDOP_I(c, *ploc, SWAP, 3);
  ------------------
  |  |  277|     57|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     57|    do {                    \
  |  |  |  |   52|     57|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 57]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     57|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 57]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|     57|                ADDOP_I(c, *ploc, SWAP, 2);
  ------------------
  |  |  277|     57|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     57|    do {                    \
  |  |  |  |   52|     57|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 57]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     57|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 57]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  609|     57|            }
  610|  2.03k|            RETURN_IF_ERROR(codegen_call_exit_with_nones(c, *ploc));
  ------------------
  |  |   51|  2.03k|    do {                    \
  |  |   52|  2.03k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.03k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.03k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.03k]
  |  |  ------------------
  ------------------
  611|  2.03k|            if (info->fb_type == COMPILE_FBLOCK_ASYNC_WITH) {
  ------------------
  |  Branch (611:17): [True: 2.01k, False: 19]
  ------------------
  612|  2.01k|                ADDOP_I(c, *ploc, GET_AWAITABLE, 2);
  ------------------
  |  |  277|  2.01k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.01k|    do {                    \
  |  |  |  |   52|  2.01k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.01k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.01k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.01k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  613|  2.01k|                ADDOP(c, *ploc, PUSH_NULL);
  ------------------
  |  |  291|  2.01k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.01k|    do {                    \
  |  |  |  |   52|  2.01k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.01k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.01k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.01k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  614|  2.01k|                ADDOP_LOAD_CONST(c, *ploc, Py_None);
  ------------------
  |  |  308|  2.01k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  2.01k|    do {                    \
  |  |  |  |   52|  2.01k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.01k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.01k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.01k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  615|  2.01k|                ADD_YIELD_FROM(c, *ploc, 1);
  ------------------
  |  |  440|  2.01k|    RETURN_IF_ERROR(codegen_add_yield_from((C), (LOC), (await)))
  |  |  ------------------
  |  |  |  |   51|  2.01k|    do {                    \
  |  |  |  |   52|  2.01k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.01k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.01k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.01k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  616|  2.01k|            }
  617|  2.03k|            ADDOP(c, *ploc, POP_TOP);
  ------------------
  |  |  291|  2.03k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.03k|    do {                    \
  |  |  |  |   52|  2.03k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.03k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.03k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.03k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|       |            /* The exit block should appear to execute after the
  619|       |             * statement causing the unwinding, so make the unwinding
  620|       |             * instruction artificial */
  621|  2.03k|            *ploc = NO_LOCATION;
  622|  2.03k|            return SUCCESS;
  ------------------
  |  |   47|  2.03k|#define SUCCESS 0
  ------------------
  623|       |
  624|      4|        case COMPILE_FBLOCK_HANDLER_CLEANUP: {
  ------------------
  |  Branch (624:9): [True: 4, False: 2.23k]
  ------------------
  625|      4|            if (info->fb_datum) {
  ------------------
  |  Branch (625:17): [True: 0, False: 4]
  ------------------
  626|      0|                ADDOP(c, *ploc, POP_BLOCK);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  627|      0|            }
  628|      4|            if (preserve_tos) {
  ------------------
  |  Branch (628:17): [True: 0, False: 4]
  ------------------
  629|      0|                ADDOP_I(c, *ploc, SWAP, 2);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  630|      0|            }
  631|      4|            ADDOP(c, *ploc, POP_BLOCK);
  ------------------
  |  |  291|      4|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      4|    do {                    \
  |  |  |  |   52|      4|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  632|      4|            ADDOP(c, *ploc, POP_EXCEPT);
  ------------------
  |  |  291|      4|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      4|    do {                    \
  |  |  |  |   52|      4|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  633|      4|            if (info->fb_datum) {
  ------------------
  |  Branch (633:17): [True: 0, False: 4]
  ------------------
  634|      0|                ADDOP_LOAD_CONST(c, *ploc, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  635|      0|                RETURN_IF_ERROR(codegen_nameop(c, *ploc, info->fb_datum, Store));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  636|      0|                RETURN_IF_ERROR(codegen_nameop(c, *ploc, info->fb_datum, Del));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  637|      0|            }
  638|      4|            return SUCCESS;
  ------------------
  |  |   47|      4|#define SUCCESS 0
  ------------------
  639|      4|        }
  640|      0|        case COMPILE_FBLOCK_POP_VALUE: {
  ------------------
  |  Branch (640:9): [True: 0, False: 2.24k]
  ------------------
  641|      0|            if (preserve_tos) {
  ------------------
  |  Branch (641:17): [True: 0, False: 0]
  ------------------
  642|      0|                ADDOP_I(c, *ploc, SWAP, 2);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  643|      0|            }
  644|      0|            ADDOP(c, *ploc, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  645|      0|            return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
  646|      0|        }
  647|  2.24k|    }
  648|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  649|  2.24k|}
codegen.c:codegen_call_exit_with_nones:
  484|  13.5k|{
  485|  13.5k|    ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  308|  13.5k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  13.5k|    do {                    \
  |  |  |  |   52|  13.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 13.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  13.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 13.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  486|  13.5k|    ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  308|  13.5k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  13.5k|    do {                    \
  |  |  |  |   52|  13.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 13.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  13.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 13.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  487|  13.5k|    ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  308|  13.5k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  13.5k|    do {                    \
  |  |  |  |   52|  13.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 13.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  13.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 13.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  488|  13.5k|    ADDOP_I(c, loc, CALL, 3);
  ------------------
  |  |  277|  13.5k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  13.5k|    do {                    \
  |  |  |  |   52|  13.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 13.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  13.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 13.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  489|  13.5k|    return SUCCESS;
  ------------------
  |  |   47|  13.5k|#define SUCCESS 0
  ------------------
  490|  13.5k|}
codegen.c:codegen_add_yield_from:
  494|  35.9k|{
  495|  35.9k|    NEW_JUMP_TARGET_LABEL(c, send);
  ------------------
  |  |   91|  35.9k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  35.9k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  35.9k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  35.9k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  35.9k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 35.9k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
  496|  35.9k|    NEW_JUMP_TARGET_LABEL(c, fail);
  ------------------
  |  |   91|  35.9k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  35.9k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  35.9k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  35.9k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  35.9k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 35.9k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
  497|  35.9k|    NEW_JUMP_TARGET_LABEL(c, exit);
  ------------------
  |  |   91|  35.9k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  35.9k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  35.9k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  35.9k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  35.9k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 35.9k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
  498|       |
  499|  35.9k|    USE_LABEL(c, send);
  ------------------
  |  |   97|  35.9k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  35.9k|    do {                    \
  |  |  |  |   52|  35.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 35.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  35.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 35.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  500|  35.9k|    ADDOP_JUMP(c, loc, SEND, exit);
  ------------------
  |  |  428|  35.9k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  35.9k|    do {                    \
  |  |  |  |   52|  35.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 35.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  35.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 35.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|       |    // Set up a virtual try/except to handle when StopIteration is raised during
  502|       |    // a close or throw call. The only way YIELD_VALUE raises if they do!
  503|  35.9k|    ADDOP_JUMP(c, loc, SETUP_FINALLY, fail);
  ------------------
  |  |  428|  35.9k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  35.9k|    do {                    \
  |  |  |  |   52|  35.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 35.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  35.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 35.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  504|  35.9k|    ADDOP_I(c, loc, YIELD_VALUE, 1);
  ------------------
  |  |  277|  35.9k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  35.9k|    do {                    \
  |  |  |  |   52|  35.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 35.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  35.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 35.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  505|  35.9k|    ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  291|  35.9k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  35.9k|    do {                    \
  |  |  |  |   52|  35.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 35.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  35.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 35.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  506|  35.9k|    ADDOP_I(c, loc, RESUME, await ? RESUME_AFTER_AWAIT : RESUME_AFTER_YIELD_FROM);
  ------------------
  |  |  277|  35.9k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  35.9k|    do {                    \
  |  |  |  |   52|  71.8k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 35.9k]
  |  |  |  |  |  Branch (52:14): [True: 35.9k, False: 6]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  35.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 35.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  507|  35.9k|    ADDOP_JUMP(c, loc, JUMP_NO_INTERRUPT, send);
  ------------------
  |  |  428|  35.9k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  35.9k|    do {                    \
  |  |  |  |   52|  35.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 35.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  35.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 35.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  508|       |
  509|  35.9k|    USE_LABEL(c, fail);
  ------------------
  |  |   97|  35.9k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  35.9k|    do {                    \
  |  |  |  |   52|  35.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 35.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  35.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 35.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  510|  35.9k|    ADDOP(c, loc, CLEANUP_THROW);
  ------------------
  |  |  291|  35.9k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  35.9k|    do {                    \
  |  |  |  |   52|  35.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 35.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  35.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 35.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|       |
  512|  35.9k|    USE_LABEL(c, exit);
  ------------------
  |  |   97|  35.9k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  35.9k|    do {                    \
  |  |  |  |   52|  35.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 35.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  35.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 35.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  513|  35.9k|    ADDOP(c, loc, END_SEND);
  ------------------
  |  |  291|  35.9k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  35.9k|    do {                    \
  |  |  |  |   52|  35.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 35.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  35.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 35.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  514|  35.9k|    return SUCCESS;
  ------------------
  |  |   47|  35.9k|#define SUCCESS 0
  ------------------
  515|  35.9k|}
codegen.c:codegen_augassign:
 5659|  6.50k|{
 5660|  6.50k|    assert(s->kind == AugAssign_kind);
  ------------------
  |  Branch (5660:5): [True: 6.50k, False: 0]
  ------------------
 5661|  6.50k|    expr_ty e = s->v.AugAssign.target;
 5662|       |
 5663|  6.50k|    location loc = LOC(e);
  ------------------
  |  |   88|  6.50k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  6.50k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  6.50k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  6.50k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  6.50k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  6.50k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5664|       |
 5665|  6.50k|    switch (e->kind) {
 5666|  1.50k|    case Attribute_kind:
  ------------------
  |  Branch (5666:5): [True: 1.50k, False: 4.99k]
  ------------------
 5667|  1.50k|        VISIT(c, expr, e->v.Attribute.value);
  ------------------
  |  |  453|  1.50k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.50k|    do {                    \
  |  |  |  |   52|  1.50k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 1.50k]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|  1.50k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.50k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5668|  1.50k|        ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  277|  1.50k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.50k|    do {                    \
  |  |  |  |   52|  1.50k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.50k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.50k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.50k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5669|  1.50k|        loc = update_start_location_to_match_attr(c, loc, e);
 5670|  1.50k|        ADDOP_NAME(c, loc, LOAD_ATTR, e->v.Attribute.attr, names);
  ------------------
  |  |  412|  1.50k|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|  1.50k|    do {                    \
  |  |  |  |   52|  1.50k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.50k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.50k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.50k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5671|  1.50k|        break;
 5672|  1.50k|    case Subscript_kind:
  ------------------
  |  Branch (5672:5): [True: 353, False: 6.15k]
  ------------------
 5673|    353|        VISIT(c, expr, e->v.Subscript.value);
  ------------------
  |  |  453|    353|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    353|    do {                    \
  |  |  |  |   52|    353|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 353]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    353|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 353]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5674|    353|        if (should_apply_two_element_slice_optimization(e->v.Subscript.slice)) {
  ------------------
  |  Branch (5674:13): [True: 216, False: 137]
  ------------------
 5675|    216|            RETURN_IF_ERROR(codegen_slice_two_parts(c, e->v.Subscript.slice));
  ------------------
  |  |   51|    216|    do {                    \
  |  |   52|    216|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 215]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|    216|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 215]
  |  |  ------------------
  ------------------
 5676|    215|            ADDOP_I(c, loc, COPY, 3);
  ------------------
  |  |  277|    215|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    215|    do {                    \
  |  |  |  |   52|    215|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 215]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    215|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 215]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5677|    215|            ADDOP_I(c, loc, COPY, 3);
  ------------------
  |  |  277|    215|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    215|    do {                    \
  |  |  |  |   52|    215|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 215]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    215|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 215]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5678|    215|            ADDOP_I(c, loc, COPY, 3);
  ------------------
  |  |  277|    215|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    215|    do {                    \
  |  |  |  |   52|    215|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 215]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    215|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 215]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5679|    215|            ADDOP(c, loc, BINARY_SLICE);
  ------------------
  |  |  291|    215|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    215|    do {                    \
  |  |  |  |   52|    215|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 215]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    215|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 215]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5680|    215|        }
 5681|    137|        else {
 5682|    137|            VISIT(c, expr, e->v.Subscript.slice);
  ------------------
  |  |  453|    137|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    137|    do {                    \
  |  |  |  |   52|    137|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 136]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    137|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 136]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5683|    136|            ADDOP_I(c, loc, COPY, 2);
  ------------------
  |  |  277|    136|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    136|    do {                    \
  |  |  |  |   52|    136|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 136]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    136|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 136]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5684|    136|            ADDOP_I(c, loc, COPY, 2);
  ------------------
  |  |  277|    136|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    136|    do {                    \
  |  |  |  |   52|    136|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 136]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    136|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 136]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5685|    136|            ADDOP_I(c, loc, BINARY_OP, NB_SUBSCR);
  ------------------
  |  |  277|    136|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    136|    do {                    \
  |  |  |  |   52|    136|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 136]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    136|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 136]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5686|    136|        }
 5687|    351|        break;
 5688|  4.64k|    case Name_kind:
  ------------------
  |  Branch (5688:5): [True: 4.64k, False: 1.85k]
  ------------------
 5689|  4.64k|        RETURN_IF_ERROR(codegen_nameop(c, loc, e->v.Name.id, Load));
  ------------------
  |  |   51|  4.64k|    do {                    \
  |  |   52|  4.64k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 4.64k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  4.64k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 4.64k]
  |  |  ------------------
  ------------------
 5690|  4.64k|        break;
 5691|  4.64k|    default:
  ------------------
  |  Branch (5691:5): [True: 0, False: 6.50k]
  ------------------
 5692|      0|        PyErr_Format(PyExc_SystemError,
 5693|      0|            "invalid node type (%d) for augmented assignment",
 5694|      0|            e->kind);
 5695|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 5696|  6.50k|    }
 5697|       |
 5698|  6.50k|    loc = LOC(s);
  ------------------
  |  |   88|  6.50k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  6.50k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  6.50k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  6.50k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  6.50k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  6.50k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5699|       |
 5700|  6.50k|    VISIT(c, expr, s->v.AugAssign.value);
  ------------------
  |  |  453|  6.50k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  6.50k|    do {                    \
  |  |  |  |   52|  6.50k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 11, False: 6.49k]
  |  |  |  |  ------------------
  |  |  |  |   53|     11|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     11|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     11|        }                   \
  |  |  |  |   55|  6.50k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.49k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5701|  6.49k|    ADDOP_INPLACE(c, loc, s->v.AugAssign.op);
  ------------------
  |  |  437|  6.49k|    RETURN_IF_ERROR(addop_binary((C), (LOC), (BINOP), true))
  |  |  ------------------
  |  |  |  |   51|  6.49k|    do {                    \
  |  |  |  |   52|  6.49k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6.49k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  6.49k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.49k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5702|       |
 5703|  6.49k|    loc = LOC(e);
  ------------------
  |  |   88|  6.49k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  6.49k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  6.49k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  6.49k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  6.49k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  6.49k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5704|       |
 5705|  6.49k|    switch (e->kind) {
 5706|  1.50k|    case Attribute_kind:
  ------------------
  |  Branch (5706:5): [True: 1.50k, False: 4.98k]
  ------------------
 5707|  1.50k|        loc = update_start_location_to_match_attr(c, loc, e);
 5708|  1.50k|        ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  277|  1.50k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.50k|    do {                    \
  |  |  |  |   52|  1.50k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.50k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.50k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.50k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5709|  1.50k|        ADDOP_NAME(c, loc, STORE_ATTR, e->v.Attribute.attr, names);
  ------------------
  |  |  412|  1.50k|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|  1.50k|    do {                    \
  |  |  |  |   52|  1.50k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.50k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.50k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.50k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5710|  1.50k|        break;
 5711|  1.50k|    case Subscript_kind:
  ------------------
  |  Branch (5711:5): [True: 351, False: 6.13k]
  ------------------
 5712|    351|        if (should_apply_two_element_slice_optimization(e->v.Subscript.slice)) {
  ------------------
  |  Branch (5712:13): [True: 215, False: 136]
  ------------------
 5713|    215|            ADDOP_I(c, loc, SWAP, 4);
  ------------------
  |  |  277|    215|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    215|    do {                    \
  |  |  |  |   52|    215|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 215]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    215|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 215]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5714|    215|            ADDOP_I(c, loc, SWAP, 3);
  ------------------
  |  |  277|    215|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    215|    do {                    \
  |  |  |  |   52|    215|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 215]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    215|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 215]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5715|    215|            ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  277|    215|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    215|    do {                    \
  |  |  |  |   52|    215|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 215]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    215|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 215]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5716|    215|            ADDOP(c, loc, STORE_SLICE);
  ------------------
  |  |  291|    215|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    215|    do {                    \
  |  |  |  |   52|    215|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 215]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    215|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 215]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5717|    215|        }
 5718|    136|        else {
 5719|    136|            ADDOP_I(c, loc, SWAP, 3);
  ------------------
  |  |  277|    136|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    136|    do {                    \
  |  |  |  |   52|    136|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 136]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    136|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 136]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5720|    136|            ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  277|    136|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    136|    do {                    \
  |  |  |  |   52|    136|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 136]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    136|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 136]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5721|    136|            ADDOP(c, loc, STORE_SUBSCR);
  ------------------
  |  |  291|    136|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    136|    do {                    \
  |  |  |  |   52|    136|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 136]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    136|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 136]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5722|    136|        }
 5723|    351|        break;
 5724|  4.63k|    case Name_kind:
  ------------------
  |  Branch (5724:5): [True: 4.63k, False: 1.85k]
  ------------------
 5725|  4.63k|        return codegen_nameop(c, loc, e->v.Name.id, Store);
 5726|      0|    default:
  ------------------
  |  Branch (5726:5): [True: 0, False: 6.49k]
  ------------------
 5727|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5728|  6.49k|    }
 5729|  1.85k|    return SUCCESS;
  ------------------
  |  |   47|  1.85k|#define SUCCESS 0
  ------------------
 5730|  6.49k|}
codegen.c:update_start_location_to_match_attr:
 3949|  19.1k|{
 3950|  19.1k|    assert(attr->kind == Attribute_kind);
  ------------------
  |  Branch (3950:5): [True: 19.1k, False: 0]
  ------------------
 3951|  19.1k|    if (loc.lineno != attr->end_lineno) {
  ------------------
  |  Branch (3951:9): [True: 1.66k, False: 17.5k]
  ------------------
 3952|  1.66k|        loc.lineno = attr->end_lineno;
 3953|  1.66k|        int len = (int)PyUnicode_GET_LENGTH(attr->v.Attribute.attr);
  ------------------
  |  |  299|  1.66k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3954|  1.66k|        if (len <= attr->end_col_offset) {
  ------------------
  |  Branch (3954:13): [True: 1.66k, False: 0]
  ------------------
 3955|  1.66k|            loc.col_offset = attr->end_col_offset - len;
 3956|  1.66k|        }
 3957|      0|        else {
 3958|       |            // GH-94694: Somebody's compiling weird ASTs. Just drop the columns:
 3959|      0|            loc.col_offset = -1;
 3960|      0|            loc.end_col_offset = -1;
 3961|      0|        }
 3962|       |        // Make sure the end position still follows the start position, even for
 3963|       |        // weird ASTs:
 3964|  1.66k|        loc.end_lineno = Py_MAX(loc.lineno, loc.end_lineno);
  ------------------
  |  |  115|  1.66k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 1.66k]
  |  |  ------------------
  ------------------
 3965|  1.66k|        if (loc.lineno == loc.end_lineno) {
  ------------------
  |  Branch (3965:13): [True: 1.09k, False: 569]
  ------------------
 3966|  1.09k|            loc.end_col_offset = Py_MAX(loc.col_offset, loc.end_col_offset);
  ------------------
  |  |  115|  1.09k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 1.09k]
  |  |  ------------------
  ------------------
 3967|  1.09k|        }
 3968|  1.66k|    }
 3969|  19.1k|    return loc;
 3970|  19.1k|}
codegen.c:codegen_addop_name:
  380|  54.4k|{
  381|  54.4k|    int shift = 0, low = 0;
  382|  54.4k|    if (opcode == LOAD_ATTR) {
  ------------------
  |  |   89|  54.4k|#define LOAD_ATTR                               76
  ------------------
  |  Branch (382:9): [True: 13.2k, False: 41.1k]
  ------------------
  383|  13.2k|        shift = 1;
  384|  13.2k|    }
  385|  54.4k|    if (opcode == LOAD_METHOD) {
  ------------------
  |  |  355|  54.4k|#define LOAD_METHOD -1
  ------------------
  |  Branch (385:9): [True: 1.15k, False: 53.2k]
  ------------------
  386|  1.15k|        opcode = LOAD_ATTR;
  ------------------
  |  |   89|  1.15k|#define LOAD_ATTR                               76
  ------------------
  387|  1.15k|        shift = 1;
  388|  1.15k|        low = 1;
  389|  1.15k|    }
  390|  54.4k|    if (opcode == LOAD_SUPER_ATTR) {
  ------------------
  |  |  105|  54.4k|#define LOAD_SUPER_ATTR                         92
  ------------------
  |  Branch (390:9): [True: 499, False: 53.9k]
  ------------------
  391|    499|        shift = 2;
  392|    499|        low = 2;
  393|    499|    }
  394|  54.4k|    if (opcode == LOAD_SUPER_METHOD) {
  ------------------
  |  |  356|  54.4k|#define LOAD_SUPER_METHOD -2
  ------------------
  |  Branch (394:9): [True: 24, False: 54.4k]
  ------------------
  395|     24|        opcode = LOAD_SUPER_ATTR;
  ------------------
  |  |  105|     24|#define LOAD_SUPER_ATTR                         92
  ------------------
  396|     24|        shift = 2;
  397|     24|        low = 3;
  398|     24|    }
  399|  54.4k|    if (opcode == LOAD_ZERO_SUPER_ATTR) {
  ------------------
  |  |  357|  54.4k|#define LOAD_ZERO_SUPER_ATTR -3
  ------------------
  |  Branch (399:9): [True: 0, False: 54.4k]
  ------------------
  400|      0|        opcode = LOAD_SUPER_ATTR;
  ------------------
  |  |  105|      0|#define LOAD_SUPER_ATTR                         92
  ------------------
  401|      0|        shift = 2;
  402|      0|    }
  403|  54.4k|    if (opcode == LOAD_ZERO_SUPER_METHOD) {
  ------------------
  |  |  358|  54.4k|#define LOAD_ZERO_SUPER_METHOD -4
  ------------------
  |  Branch (403:9): [True: 0, False: 54.4k]
  ------------------
  404|      0|        opcode = LOAD_SUPER_ATTR;
  ------------------
  |  |  105|      0|#define LOAD_SUPER_ATTR                         92
  ------------------
  405|      0|        shift = 2;
  406|      0|        low = 1;
  407|      0|    }
  408|  54.4k|    return codegen_addop_name_custom(c, loc, opcode, dict, o, shift, low);
  409|  54.4k|}
codegen.c:codegen_addop_name_custom:
  363|  64.9k|{
  364|  64.9k|    PyObject *mangled = _PyCompile_MaybeMangle(c, o);
  365|  64.9k|    if (!mangled) {
  ------------------
  |  Branch (365:9): [True: 0, False: 64.9k]
  ------------------
  366|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  367|      0|    }
  368|  64.9k|    Py_ssize_t arg = _PyCompile_DictAddObj(dict, mangled);
  369|  64.9k|    Py_DECREF(mangled);
  ------------------
  |  |  430|  64.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  64.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  64.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  370|  64.9k|    if (arg < 0) {
  ------------------
  |  Branch (370:9): [True: 0, False: 64.9k]
  ------------------
  371|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  372|      0|    }
  373|  64.9k|    ADDOP_I(c, loc, opcode, (arg << shift) | low);
  ------------------
  |  |  277|  64.9k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  64.9k|    do {                    \
  |  |  |  |   52|  64.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 64.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  64.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 64.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  374|  64.9k|    return SUCCESS;
  ------------------
  |  |   47|  64.9k|#define SUCCESS 0
  ------------------
  375|  64.9k|}
codegen.c:should_apply_two_element_slice_optimization:
 5651|  10.8k|{
 5652|  10.8k|    return !is_constant_slice(s) &&
  ------------------
  |  Branch (5652:12): [True: 6.59k, False: 4.29k]
  ------------------
 5653|  6.59k|           s->kind == Slice_kind &&
  ------------------
  |  Branch (5653:12): [True: 973, False: 5.62k]
  ------------------
 5654|    973|           s->v.Slice.step == NULL;
  ------------------
  |  Branch (5654:12): [True: 850, False: 123]
  ------------------
 5655|  10.8k|}
codegen.c:is_constant_slice:
 5639|  20.8k|{
 5640|  20.8k|    return s->kind == Slice_kind &&
  ------------------
  |  Branch (5640:12): [True: 15.2k, False: 5.62k]
  ------------------
 5641|  15.2k|        (s->v.Slice.lower == NULL ||
  ------------------
  |  Branch (5641:10): [True: 4.49k, False: 10.7k]
  ------------------
 5642|  10.7k|         s->v.Slice.lower->kind == Constant_kind) &&
  ------------------
  |  Branch (5642:10): [True: 5.66k, False: 5.08k]
  ------------------
 5643|  10.1k|        (s->v.Slice.upper == NULL ||
  ------------------
  |  Branch (5643:10): [True: 6.94k, False: 3.21k]
  ------------------
 5644|  3.21k|         s->v.Slice.upper->kind == Constant_kind) &&
  ------------------
  |  Branch (5644:10): [True: 2.80k, False: 416]
  ------------------
 5645|  9.74k|        (s->v.Slice.step == NULL ||
  ------------------
  |  Branch (5645:10): [True: 5.87k, False: 3.86k]
  ------------------
 5646|  3.86k|         s->v.Slice.step->kind == Constant_kind);
  ------------------
  |  Branch (5646:10): [True: 3.41k, False: 456]
  ------------------
 5647|  20.8k|}
codegen.c:codegen_slice_two_parts:
 5883|  5.61k|{
 5884|  5.61k|    if (s->v.Slice.lower) {
  ------------------
  |  Branch (5884:9): [True: 4.93k, False: 674]
  ------------------
 5885|  4.93k|        VISIT(c, expr, s->v.Slice.lower);
  ------------------
  |  |  453|  4.93k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  4.93k|    do {                    \
  |  |  |  |   52|  4.93k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 10, False: 4.92k]
  |  |  |  |  ------------------
  |  |  |  |   53|     10|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     10|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     10|        }                   \
  |  |  |  |   55|  4.93k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.92k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5886|  4.93k|    }
 5887|    674|    else {
 5888|    674|        ADDOP_LOAD_CONST(c, LOC(s), Py_None);
  ------------------
  |  |  308|    674|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    674|    do {                    \
  |  |  |  |   52|    674|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 674]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    674|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 674]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5889|    674|    }
 5890|       |
 5891|  5.60k|    if (s->v.Slice.upper) {
  ------------------
  |  Branch (5891:9): [True: 2.26k, False: 3.33k]
  ------------------
 5892|  2.26k|        VISIT(c, expr, s->v.Slice.upper);
  ------------------
  |  |  453|  2.26k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  2.26k|    do {                    \
  |  |  |  |   52|  2.26k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 5, False: 2.26k]
  |  |  |  |  ------------------
  |  |  |  |   53|      5|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      5|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      5|        }                   \
  |  |  |  |   55|  2.26k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.26k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5893|  2.26k|    }
 5894|  3.33k|    else {
 5895|  3.33k|        ADDOP_LOAD_CONST(c, LOC(s), Py_None);
  ------------------
  |  |  308|  3.33k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  3.33k|    do {                    \
  |  |  |  |   52|  3.33k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.33k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.33k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.33k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5896|  3.33k|    }
 5897|       |
 5898|  5.59k|    return 0;
 5899|  5.60k|}
codegen.c:addop_binary:
 3229|   799k|{
 3230|   799k|    int oparg;
 3231|   799k|    switch (binop) {
 3232|   128k|        case Add:
  ------------------
  |  Branch (3232:9): [True: 128k, False: 671k]
  ------------------
 3233|   128k|            oparg = inplace ? NB_INPLACE_ADD : NB_ADD;
  ------------------
  |  |   23|  1.86k|#define NB_INPLACE_ADD                          13
  ------------------
                          oparg = inplace ? NB_INPLACE_ADD : NB_ADD;
  ------------------
  |  |   10|   254k|#define NB_ADD                                   0
  ------------------
  |  Branch (3233:21): [True: 1.86k, False: 126k]
  ------------------
 3234|   128k|            break;
 3235|   145k|        case Sub:
  ------------------
  |  Branch (3235:9): [True: 145k, False: 654k]
  ------------------
 3236|   145k|            oparg = inplace ? NB_INPLACE_SUBTRACT : NB_SUBTRACT;
  ------------------
  |  |   33|      6|#define NB_INPLACE_SUBTRACT                     23
  ------------------
                          oparg = inplace ? NB_INPLACE_SUBTRACT : NB_SUBTRACT;
  ------------------
  |  |   20|   290k|#define NB_SUBTRACT                             10
  ------------------
  |  Branch (3236:21): [True: 6, False: 145k]
  ------------------
 3237|   145k|            break;
 3238|   164k|        case Mult:
  ------------------
  |  Branch (3238:9): [True: 164k, False: 634k]
  ------------------
 3239|   164k|            oparg = inplace ? NB_INPLACE_MULTIPLY : NB_MULTIPLY;
  ------------------
  |  |   28|  2.05k|#define NB_INPLACE_MULTIPLY                     18
  ------------------
                          oparg = inplace ? NB_INPLACE_MULTIPLY : NB_MULTIPLY;
  ------------------
  |  |   15|   327k|#define NB_MULTIPLY                              5
  ------------------
  |  Branch (3239:21): [True: 2.05k, False: 162k]
  ------------------
 3240|   164k|            break;
 3241|  1.11k|        case MatMult:
  ------------------
  |  Branch (3241:9): [True: 1.11k, False: 798k]
  ------------------
 3242|  1.11k|            oparg = inplace ? NB_INPLACE_MATRIX_MULTIPLY : NB_MATRIX_MULTIPLY;
  ------------------
  |  |   27|     82|#define NB_INPLACE_MATRIX_MULTIPLY              17
  ------------------
                          oparg = inplace ? NB_INPLACE_MATRIX_MULTIPLY : NB_MATRIX_MULTIPLY;
  ------------------
  |  |   14|  2.15k|#define NB_MATRIX_MULTIPLY                       4
  ------------------
  |  Branch (3242:21): [True: 82, False: 1.03k]
  ------------------
 3243|  1.11k|            break;
 3244|  84.9k|        case Div:
  ------------------
  |  Branch (3244:9): [True: 84.9k, False: 714k]
  ------------------
 3245|  84.9k|            oparg = inplace ? NB_INPLACE_TRUE_DIVIDE : NB_TRUE_DIVIDE;
  ------------------
  |  |   34|  1.14k|#define NB_INPLACE_TRUE_DIVIDE                  24
  ------------------
                          oparg = inplace ? NB_INPLACE_TRUE_DIVIDE : NB_TRUE_DIVIDE;
  ------------------
  |  |   21|   168k|#define NB_TRUE_DIVIDE                          11
  ------------------
  |  Branch (3245:21): [True: 1.14k, False: 83.8k]
  ------------------
 3246|  84.9k|            break;
 3247|  51.4k|        case Mod:
  ------------------
  |  Branch (3247:9): [True: 51.4k, False: 748k]
  ------------------
 3248|  51.4k|            oparg = inplace ? NB_INPLACE_REMAINDER : NB_REMAINDER;
  ------------------
  |  |   29|    225|#define NB_INPLACE_REMAINDER                    19
  ------------------
                          oparg = inplace ? NB_INPLACE_REMAINDER : NB_REMAINDER;
  ------------------
  |  |   16|   102k|#define NB_REMAINDER                             6
  ------------------
  |  Branch (3248:21): [True: 225, False: 51.2k]
  ------------------
 3249|  51.4k|            break;
 3250|   122k|        case Pow:
  ------------------
  |  Branch (3250:9): [True: 122k, False: 677k]
  ------------------
 3251|   122k|            oparg = inplace ? NB_INPLACE_POWER : NB_POWER;
  ------------------
  |  |   31|     16|#define NB_INPLACE_POWER                        21
  ------------------
                          oparg = inplace ? NB_INPLACE_POWER : NB_POWER;
  ------------------
  |  |   18|   245k|#define NB_POWER                                 8
  ------------------
  |  Branch (3251:21): [True: 16, False: 122k]
  ------------------
 3252|   122k|            break;
 3253|  12.0k|        case LShift:
  ------------------
  |  Branch (3253:9): [True: 12.0k, False: 787k]
  ------------------
 3254|  12.0k|            oparg = inplace ? NB_INPLACE_LSHIFT : NB_LSHIFT;
  ------------------
  |  |   26|     37|#define NB_INPLACE_LSHIFT                       16
  ------------------
                          oparg = inplace ? NB_INPLACE_LSHIFT : NB_LSHIFT;
  ------------------
  |  |   13|  23.9k|#define NB_LSHIFT                                3
  ------------------
  |  Branch (3254:21): [True: 37, False: 11.9k]
  ------------------
 3255|  12.0k|            break;
 3256|  16.8k|        case RShift:
  ------------------
  |  Branch (3256:9): [True: 16.8k, False: 782k]
  ------------------
 3257|  16.8k|            oparg = inplace ? NB_INPLACE_RSHIFT : NB_RSHIFT;
  ------------------
  |  |   32|      6|#define NB_INPLACE_RSHIFT                       22
  ------------------
                          oparg = inplace ? NB_INPLACE_RSHIFT : NB_RSHIFT;
  ------------------
  |  |   19|  33.6k|#define NB_RSHIFT                                9
  ------------------
  |  Branch (3257:21): [True: 6, False: 16.8k]
  ------------------
 3258|  16.8k|            break;
 3259|  10.6k|        case BitOr:
  ------------------
  |  Branch (3259:9): [True: 10.6k, False: 789k]
  ------------------
 3260|  10.6k|            oparg = inplace ? NB_INPLACE_OR : NB_OR;
  ------------------
  |  |   30|     23|#define NB_INPLACE_OR                           20
  ------------------
                          oparg = inplace ? NB_INPLACE_OR : NB_OR;
  ------------------
  |  |   17|  21.3k|#define NB_OR                                    7
  ------------------
  |  Branch (3260:21): [True: 23, False: 10.6k]
  ------------------
 3261|  10.6k|            break;
 3262|  13.8k|        case BitXor:
  ------------------
  |  Branch (3262:9): [True: 13.8k, False: 785k]
  ------------------
 3263|  13.8k|            oparg = inplace ? NB_INPLACE_XOR : NB_XOR;
  ------------------
  |  |   35|    247|#define NB_INPLACE_XOR                          25
  ------------------
                          oparg = inplace ? NB_INPLACE_XOR : NB_XOR;
  ------------------
  |  |   22|  27.5k|#define NB_XOR                                  12
  ------------------
  |  Branch (3263:21): [True: 247, False: 13.6k]
  ------------------
 3264|  13.8k|            break;
 3265|  19.6k|        case BitAnd:
  ------------------
  |  Branch (3265:9): [True: 19.6k, False: 780k]
  ------------------
 3266|  19.6k|            oparg = inplace ? NB_INPLACE_AND : NB_AND;
  ------------------
  |  |   24|    601|#define NB_INPLACE_AND                          14
  ------------------
                          oparg = inplace ? NB_INPLACE_AND : NB_AND;
  ------------------
  |  |   11|  38.6k|#define NB_AND                                   1
  ------------------
  |  Branch (3266:21): [True: 601, False: 19.0k]
  ------------------
 3267|  19.6k|            break;
 3268|  28.1k|        case FloorDiv:
  ------------------
  |  Branch (3268:9): [True: 28.1k, False: 771k]
  ------------------
 3269|  28.1k|            oparg = inplace ? NB_INPLACE_FLOOR_DIVIDE : NB_FLOOR_DIVIDE;
  ------------------
  |  |   25|    191|#define NB_INPLACE_FLOOR_DIVIDE                 15
  ------------------
                          oparg = inplace ? NB_INPLACE_FLOOR_DIVIDE : NB_FLOOR_DIVIDE;
  ------------------
  |  |   12|  56.1k|#define NB_FLOOR_DIVIDE                          2
  ------------------
  |  Branch (3269:21): [True: 191, False: 27.9k]
  ------------------
 3270|  28.1k|            break;
 3271|      0|        default:
  ------------------
  |  Branch (3271:9): [True: 0, False: 799k]
  ------------------
 3272|      0|            PyErr_Format(PyExc_SystemError, "%s op %d should not be possible",
 3273|      0|                         inplace ? "inplace" : "binary", binop);
  ------------------
  |  Branch (3273:26): [True: 0, False: 0]
  ------------------
 3274|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 3275|   799k|    }
 3276|   799k|    ADDOP_I(c, loc, BINARY_OP, oparg);
  ------------------
  |  |  277|   799k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|   799k|    do {                    \
  |  |  |  |   52|   799k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 799k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|   799k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 799k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3277|   799k|    return SUCCESS;
  ------------------
  |  |   47|   799k|#define SUCCESS 0
  ------------------
 3278|   799k|}
codegen.c:codegen_annassign:
 5772|  25.0k|{
 5773|  25.0k|    location loc = LOC(s);
  ------------------
  |  |   88|  25.0k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  25.0k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  25.0k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  25.0k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  25.0k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  25.0k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5774|  25.0k|    expr_ty targ = s->v.AnnAssign.target;
 5775|  25.0k|    bool future_annotations = FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS;
  ------------------
  |  |   69|  25.0k|#define FUTURE_FEATURES(C) _PyCompile_FutureFeatures(C)
  ------------------
                  bool future_annotations = FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS;
  ------------------
  |  |  147|  25.0k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
 5776|  25.0k|    PyObject *mangled;
 5777|       |
 5778|  25.0k|    assert(s->kind == AnnAssign_kind);
  ------------------
  |  Branch (5778:5): [True: 25.0k, False: 0]
  ------------------
 5779|       |
 5780|       |    /* We perform the actual assignment first. */
 5781|  25.0k|    if (s->v.AnnAssign.value) {
  ------------------
  |  Branch (5781:9): [True: 433, False: 24.5k]
  ------------------
 5782|    433|        VISIT(c, expr, s->v.AnnAssign.value);
  ------------------
  |  |  453|    433|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    433|    do {                    \
  |  |  |  |   52|    433|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 11, False: 422]
  |  |  |  |  ------------------
  |  |  |  |   53|     11|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     11|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     11|        }                   \
  |  |  |  |   55|    433|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 422]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5783|    422|        VISIT(c, expr, targ);
  ------------------
  |  |  453|    422|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    422|    do {                    \
  |  |  |  |   52|    422|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 2, False: 420]
  |  |  |  |  ------------------
  |  |  |  |   53|      2|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      2|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      2|        }                   \
  |  |  |  |   55|    422|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 420]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5784|    422|    }
 5785|  25.0k|    switch (targ->kind) {
 5786|  23.9k|    case Name_kind:
  ------------------
  |  Branch (5786:5): [True: 23.9k, False: 1.09k]
  ------------------
 5787|       |        /* If we have a simple name in a module or class, store annotation. */
 5788|  23.9k|        if (s->v.AnnAssign.simple &&
  ------------------
  |  Branch (5788:13): [True: 23.8k, False: 96]
  ------------------
 5789|  23.8k|            (SCOPE_TYPE(c) == COMPILE_SCOPE_MODULE ||
  ------------------
  |  |   74|  23.8k|#define SCOPE_TYPE(C) _PyCompile_ScopeType(C)
  ------------------
  |  Branch (5789:14): [True: 5.70k, False: 18.1k]
  ------------------
 5790|  20.5k|             SCOPE_TYPE(c) == COMPILE_SCOPE_CLASS)) {
  ------------------
  |  |   74|  18.1k|#define SCOPE_TYPE(C) _PyCompile_ScopeType(C)
  ------------------
  |  Branch (5790:14): [True: 14.8k, False: 3.25k]
  ------------------
 5791|  20.5k|            if (future_annotations) {
  ------------------
  |  Branch (5791:17): [True: 4.05k, False: 16.5k]
  ------------------
 5792|  4.05k|                VISIT(c, annexpr, s->v.AnnAssign.annotation);
  ------------------
  |  |  453|  4.05k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  4.05k|    do {                    \
  |  |  |  |   52|  4.05k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.05k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.05k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5793|  4.05k|                ADDOP_NAME(c, loc, LOAD_NAME, &_Py_ID(__annotations__), names);
  ------------------
  |  |  412|  4.05k|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|  4.05k|    do {                    \
  |  |  |  |   52|  4.05k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.05k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.05k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5794|  4.05k|                mangled = _PyCompile_MaybeMangle(c, targ->v.Name.id);
 5795|  4.05k|                ADDOP_LOAD_CONST_NEW(c, loc, mangled);
  ------------------
  |  |  315|  4.05k|    do {                                                                \
  |  |  316|  4.05k|        PyObject *__new_const = (O);                                    \
  |  |  317|  4.05k|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (317:13): [True: 0, False: 4.05k]
  |  |  ------------------
  |  |  318|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  319|      0|        }                                                               \
  |  |  320|  4.05k|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (320:13): [True: 0, False: 4.05k]
  |  |  ------------------
  |  |  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|  4.05k|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|  4.05k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  325|  4.05k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (325:14): [Folded, False: 4.05k]
  |  |  ------------------
  ------------------
 5796|  4.05k|                ADDOP(c, loc, STORE_SUBSCR);
  ------------------
  |  |  291|  4.05k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  4.05k|    do {                    \
  |  |  |  |   52|  4.05k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.05k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.05k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5797|  4.05k|            }
 5798|  16.5k|            else {
 5799|  16.5k|                PyObject *conditional_annotation_index = NULL;
 5800|  16.5k|                RETURN_IF_ERROR(_PyCompile_AddDeferredAnnotation(
  ------------------
  |  |   51|  16.5k|    do {                    \
  |  |   52|  16.5k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 16.5k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  16.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 16.5k]
  |  |  ------------------
  ------------------
 5801|  16.5k|                    c, s, &conditional_annotation_index));
 5802|  16.5k|                if (conditional_annotation_index != NULL) {
  ------------------
  |  Branch (5802:21): [True: 4.49k, False: 12.0k]
  ------------------
 5803|  4.49k|                    if (SCOPE_TYPE(c) == COMPILE_SCOPE_CLASS) {
  ------------------
  |  |   74|  4.49k|#define SCOPE_TYPE(C) _PyCompile_ScopeType(C)
  ------------------
  |  Branch (5803:25): [True: 820, False: 3.67k]
  ------------------
 5804|    820|                        ADDOP_NAME(c, loc, LOAD_DEREF, &_Py_ID(__conditional_annotations__), cellvars);
  ------------------
  |  |  412|    820|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|    820|    do {                    \
  |  |  |  |   52|    820|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 820]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    820|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 820]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5805|    820|                    }
 5806|  3.67k|                    else {
 5807|  3.67k|                        ADDOP_NAME(c, loc, LOAD_NAME, &_Py_ID(__conditional_annotations__), names);
  ------------------
  |  |  412|  3.67k|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|  3.67k|    do {                    \
  |  |  |  |   52|  3.67k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.67k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.67k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.67k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5808|  3.67k|                    }
 5809|  4.49k|                    ADDOP_LOAD_CONST_NEW(c, loc, conditional_annotation_index);
  ------------------
  |  |  315|  4.49k|    do {                                                                \
  |  |  316|  4.49k|        PyObject *__new_const = (O);                                    \
  |  |  317|  4.49k|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (317:13): [True: 0, False: 4.49k]
  |  |  ------------------
  |  |  318|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  319|      0|        }                                                               \
  |  |  320|  4.49k|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (320:13): [True: 0, False: 4.49k]
  |  |  ------------------
  |  |  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|  4.49k|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|  4.49k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  325|  4.49k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (325:14): [Folded, False: 4.49k]
  |  |  ------------------
  ------------------
 5810|       |                    // gh-154902: change SET_ADD to new INTRINSIC_ADD_CONDITIONAL_ANNOTATION intrinsic
 5811|  4.49k|                    ADDOP_I(c, loc, CALL_INTRINSIC_2,
  ------------------
  |  |  277|  4.49k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  4.49k|    do {                    \
  |  |  |  |   52|  4.49k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.49k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.49k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.49k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5812|  4.49k|                            INTRINSIC_ADD_CONDITIONAL_ANNOTATION);
 5813|  4.49k|                    ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  291|  4.49k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  4.49k|    do {                    \
  |  |  |  |   52|  4.49k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.49k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.49k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.49k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5814|  4.49k|                }
 5815|  16.5k|            }
 5816|  20.5k|        }
 5817|  23.9k|        break;
 5818|  23.9k|    case Attribute_kind:
  ------------------
  |  Branch (5818:5): [True: 665, False: 24.3k]
  ------------------
 5819|    665|        if (!s->v.AnnAssign.value &&
  ------------------
  |  Branch (5819:13): [True: 596, False: 69]
  ------------------
 5820|    596|            codegen_check_ann_expr(c, targ->v.Attribute.value) < 0) {
  ------------------
  |  Branch (5820:13): [True: 3, False: 593]
  ------------------
 5821|      3|            return ERROR;
  ------------------
  |  |   48|      3|#define ERROR -1
  ------------------
 5822|      3|        }
 5823|    662|        break;
 5824|    662|    case Subscript_kind:
  ------------------
  |  Branch (5824:5): [True: 430, False: 24.5k]
  ------------------
 5825|    430|        if (!s->v.AnnAssign.value &&
  ------------------
  |  Branch (5825:13): [True: 407, False: 23]
  ------------------
 5826|    407|            (codegen_check_ann_expr(c, targ->v.Subscript.value) < 0 ||
  ------------------
  |  Branch (5826:14): [True: 2, False: 405]
  ------------------
 5827|    405|             codegen_check_ann_subscr(c, targ->v.Subscript.slice) < 0)) {
  ------------------
  |  Branch (5827:14): [True: 10, False: 395]
  ------------------
 5828|     12|                return ERROR;
  ------------------
  |  |   48|     12|#define ERROR -1
  ------------------
 5829|     12|        }
 5830|    418|        break;
 5831|    418|    default:
  ------------------
  |  Branch (5831:5): [True: 0, False: 25.0k]
  ------------------
 5832|      0|        PyErr_Format(PyExc_SystemError,
 5833|      0|                     "invalid node type (%d) for annotated assignment",
 5834|      0|                     targ->kind);
 5835|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 5836|  25.0k|    }
 5837|  25.0k|    return SUCCESS;
  ------------------
  |  |   47|  25.0k|#define SUCCESS 0
  ------------------
 5838|  25.0k|}
codegen.c:codegen_check_ann_expr:
 5734|  4.89k|{
 5735|  4.89k|    VISIT(c, expr, e);
  ------------------
  |  |  453|  4.89k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  4.89k|    do {                    \
  |  |  |  |   52|  4.89k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 15, False: 4.88k]
  |  |  |  |  ------------------
  |  |  |  |   53|     15|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     15|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     15|        }                   \
  |  |  |  |   55|  4.89k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.88k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5736|  4.88k|    ADDOP(c, LOC(e), POP_TOP);
  ------------------
  |  |  291|  4.88k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  4.88k|    do {                    \
  |  |  |  |   52|  4.88k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.88k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.88k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.88k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5737|  4.88k|    return SUCCESS;
  ------------------
  |  |   47|  4.88k|#define SUCCESS 0
  ------------------
 5738|  4.88k|}
codegen.c:codegen_check_ann_subscr:
 5742|  3.85k|{
 5743|       |    /* We check that everything in a subscript is defined at runtime. */
 5744|  3.85k|    switch (e->kind) {
 5745|  2.13k|    case Slice_kind:
  ------------------
  |  Branch (5745:5): [True: 2.13k, False: 1.72k]
  ------------------
 5746|  2.13k|        if (e->v.Slice.lower && codegen_check_ann_expr(c, e->v.Slice.lower) < 0) {
  ------------------
  |  Branch (5746:13): [True: 783, False: 1.35k]
  |  Branch (5746:33): [True: 1, False: 782]
  ------------------
 5747|      1|            return ERROR;
  ------------------
  |  |   48|      1|#define ERROR -1
  ------------------
 5748|      1|        }
 5749|  2.13k|        if (e->v.Slice.upper && codegen_check_ann_expr(c, e->v.Slice.upper) < 0) {
  ------------------
  |  Branch (5749:13): [True: 1.36k, False: 770]
  |  Branch (5749:33): [True: 2, False: 1.36k]
  ------------------
 5750|      2|            return ERROR;
  ------------------
  |  |   48|      2|#define ERROR -1
  ------------------
 5751|      2|        }
 5752|  2.13k|        if (e->v.Slice.step && codegen_check_ann_expr(c, e->v.Slice.step) < 0) {
  ------------------
  |  Branch (5752:13): [True: 398, False: 1.73k]
  |  Branch (5752:32): [True: 1, False: 397]
  ------------------
 5753|      1|            return ERROR;
  ------------------
  |  |   48|      1|#define ERROR -1
  ------------------
 5754|      1|        }
 5755|  2.13k|        return SUCCESS;
  ------------------
  |  |   47|  2.13k|#define SUCCESS 0
  ------------------
 5756|    377|    case Tuple_kind: {
  ------------------
  |  Branch (5756:5): [True: 377, False: 3.48k]
  ------------------
 5757|       |        /* extended slice */
 5758|    377|        asdl_expr_seq *elts = e->v.Tuple.elts;
 5759|    377|        Py_ssize_t i, n = asdl_seq_LEN(elts);
  ------------------
  |  |   83|    377|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    754|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 3, False: 374]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5760|  3.82k|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (5760:21): [True: 3.45k, False: 369]
  ------------------
 5761|  3.45k|            RETURN_IF_ERROR(codegen_check_ann_subscr(c, asdl_seq_GET(elts, i)));
  ------------------
  |  |   51|  3.45k|    do {                    \
  |  |   52|  3.45k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 8, False: 3.44k]
  |  |  ------------------
  |  |   53|      8|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      8|#define ERROR -1
  |  |  ------------------
  |  |   54|      8|        }                   \
  |  |   55|  3.45k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 3.44k]
  |  |  ------------------
  ------------------
 5762|  3.45k|        }
 5763|    369|        return SUCCESS;
  ------------------
  |  |   47|    369|#define SUCCESS 0
  ------------------
 5764|    377|    }
 5765|  1.34k|    default:
  ------------------
  |  Branch (5765:5): [True: 1.34k, False: 2.51k]
  ------------------
 5766|  1.34k|        return codegen_check_ann_expr(c, e);
 5767|  3.85k|    }
 5768|  3.85k|}
codegen.c:codegen_for:
 2147|    623|{
 2148|    623|    location loc = LOC(s);
  ------------------
  |  |   88|    623|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    623|    (_Py_SourceLocation){ \
  |  |  |  |   55|    623|               .lineno = (n)->lineno, \
  |  |  |  |   56|    623|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    623|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    623|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2149|    623|    NEW_JUMP_TARGET_LABEL(c, start);
  ------------------
  |  |   91|    623|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    623|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    623|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    623|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    623|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 623]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2150|    623|    NEW_JUMP_TARGET_LABEL(c, body);
  ------------------
  |  |   91|    623|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    623|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    623|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    623|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    623|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 623]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2151|    623|    NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   91|    623|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    623|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    623|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    623|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    623|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 623]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2152|    623|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|    623|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    623|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    623|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    623|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    623|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 623]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2153|       |
 2154|    623|    RETURN_IF_ERROR(_PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_FOR_LOOP, start, end, NULL));
  ------------------
  |  |   51|    623|    do {                    \
  |  |   52|    623|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 623]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    623|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 623]
  |  |  ------------------
  ------------------
 2155|       |
 2156|    623|    VISIT(c, expr, s->v.For.iter);
  ------------------
  |  |  453|    623|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    623|    do {                    \
  |  |  |  |   52|    623|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 3, False: 620]
  |  |  |  |  ------------------
  |  |  |  |   53|      3|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      3|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      3|        }                   \
  |  |  |  |   55|    623|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 620]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2157|       |
 2158|    620|    loc = LOC(s->v.For.iter);
  ------------------
  |  |   88|    620|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    620|    (_Py_SourceLocation){ \
  |  |  |  |   55|    620|               .lineno = (n)->lineno, \
  |  |  |  |   56|    620|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    620|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    620|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2159|    620|    ADDOP_I(c, loc, GET_ITER, 0);
  ------------------
  |  |  277|    620|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    620|    do {                    \
  |  |  |  |   52|    620|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 620]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    620|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 620]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2160|       |
 2161|    620|    USE_LABEL(c, start);
  ------------------
  |  |   97|    620|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    620|    do {                    \
  |  |  |  |   52|    620|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 620]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    620|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 620]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2162|    620|    ADDOP_JUMP(c, loc, FOR_ITER, cleanup);
  ------------------
  |  |  428|    620|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    620|    do {                    \
  |  |  |  |   52|    620|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 620]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    620|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 620]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2163|       |
 2164|       |    /* Add NOP to ensure correct line tracing of multiline for statements.
 2165|       |     * It will be removed later if redundant.
 2166|       |     */
 2167|    620|    ADDOP(c, LOC(s->v.For.target), NOP);
  ------------------
  |  |  291|    620|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    620|    do {                    \
  |  |  |  |   52|    620|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 620]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    620|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 620]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2168|       |
 2169|    620|    USE_LABEL(c, body);
  ------------------
  |  |   97|    620|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    620|    do {                    \
  |  |  |  |   52|    620|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 620]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    620|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 620]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2170|    620|    VISIT(c, expr, s->v.For.target);
  ------------------
  |  |  453|    620|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    620|    do {                    \
  |  |  |  |   52|    620|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 619]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    620|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 619]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2171|    619|    VISIT_SEQ(c, stmt, s->v.For.body);
  ------------------
  |  |  459|    619|    do {                                                                    \
  |  |  460|    619|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|  1.42k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  1.42k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.84k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.42k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 806, False: 618]
  |  |  ------------------
  |  |  462|    806|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    806|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    806|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    806|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    806|    do {                    \
  |  |  |  |   52|    806|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 805]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    806|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 805]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|    806|        }                                                                   \
  |  |  465|    619|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 618]
  |  |  ------------------
  ------------------
 2172|       |    /* Mark jump as artificial */
 2173|    618|    ADDOP_JUMP(c, NO_LOCATION, JUMP, start);
  ------------------
  |  |  428|    618|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    618|    do {                    \
  |  |  |  |   52|    618|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 618]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    618|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 618]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2174|       |
 2175|    618|    USE_LABEL(c, cleanup);
  ------------------
  |  |   97|    618|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    618|    do {                    \
  |  |  |  |   52|    618|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 618]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    618|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 618]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2176|       |    /* It is important for instrumentation that the `END_FOR` comes first.
 2177|       |    * Iteration over a generator will jump to the first of these instructions,
 2178|       |    * but a non-generator will jump to the second instruction.
 2179|       |    */
 2180|    618|    ADDOP(c, NO_LOCATION, END_FOR);
  ------------------
  |  |  291|    618|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    618|    do {                    \
  |  |  |  |   52|    618|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 618]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    618|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 618]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2181|    618|    ADDOP(c, NO_LOCATION, POP_ITER);
  ------------------
  |  |  291|    618|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    618|    do {                    \
  |  |  |  |   52|    618|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 618]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    618|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 618]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2182|       |
 2183|    618|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_FOR_LOOP, start);
 2184|       |
 2185|    618|    VISIT_SEQ(c, stmt, s->v.For.orelse);
  ------------------
  |  |  459|    618|    do {                                                                    \
  |  |  460|    618|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|    730|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    730|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.46k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 537, False: 193]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 116, False: 614]
  |  |  ------------------
  |  |  462|    116|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    116|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    116|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    116|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    116|    do {                    \
  |  |  |  |   52|    116|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 4, False: 112]
  |  |  |  |  ------------------
  |  |  |  |   53|      4|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      4|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      4|        }                   \
  |  |  |  |   55|    116|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 112]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|    116|        }                                                                   \
  |  |  465|    618|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 614]
  |  |  ------------------
  ------------------
 2186|       |
 2187|    614|    USE_LABEL(c, end);
  ------------------
  |  |   97|    614|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    614|    do {                    \
  |  |  |  |   52|    614|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 614]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    614|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 614]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2188|    614|    return SUCCESS;
  ------------------
  |  |   47|    614|#define SUCCESS 0
  ------------------
 2189|    614|}
codegen.c:codegen_while:
 2242|  2.13k|{
 2243|  2.13k|    NEW_JUMP_TARGET_LABEL(c, loop);
  ------------------
  |  |   91|  2.13k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  2.13k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  2.13k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  2.13k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  2.13k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 2.13k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2244|  2.13k|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|  2.13k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  2.13k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  2.13k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  2.13k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  2.13k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 2.13k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2245|  2.13k|    NEW_JUMP_TARGET_LABEL(c, anchor);
  ------------------
  |  |   91|  2.13k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  2.13k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  2.13k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  2.13k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  2.13k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 2.13k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2246|       |
 2247|  2.13k|    USE_LABEL(c, loop);
  ------------------
  |  |   97|  2.13k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  2.13k|    do {                    \
  |  |  |  |   52|  2.13k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.13k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.13k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.13k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2248|       |
 2249|  2.13k|    RETURN_IF_ERROR(_PyCompile_PushFBlock(c, LOC(s), COMPILE_FBLOCK_WHILE_LOOP, loop, end, NULL));
  ------------------
  |  |   51|  2.13k|    do {                    \
  |  |   52|  2.13k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.13k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.13k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.13k]
  |  |  ------------------
  ------------------
 2250|  2.13k|    RETURN_IF_ERROR(codegen_jump_if(c, LOC(s), s->v.While.test, anchor, 0));
  ------------------
  |  |   51|  2.13k|    do {                    \
  |  |   52|  2.13k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.13k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.13k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.13k]
  |  |  ------------------
  ------------------
 2251|       |
 2252|  2.13k|    VISIT_SEQ(c, stmt, s->v.While.body);
  ------------------
  |  |  459|  2.13k|    do {                                                                    \
  |  |  460|  2.13k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|  13.9k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  13.9k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  27.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 13.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 11.7k, False: 2.13k]
  |  |  ------------------
  |  |  462|  11.7k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  11.7k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  11.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|  11.7k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  11.7k|    do {                    \
  |  |  |  |   52|  11.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 2, False: 11.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      2|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      2|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      2|        }                   \
  |  |  |  |   55|  11.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|  11.7k|        }                                                                   \
  |  |  465|  2.13k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 2.13k]
  |  |  ------------------
  ------------------
 2253|  2.13k|    ADDOP_JUMP(c, NO_LOCATION, JUMP, loop);
  ------------------
  |  |  428|  2.13k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  2.13k|    do {                    \
  |  |  |  |   52|  2.13k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.13k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.13k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.13k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2254|       |
 2255|  2.13k|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_WHILE_LOOP, loop);
 2256|       |
 2257|  2.13k|    USE_LABEL(c, anchor);
  ------------------
  |  |   97|  2.13k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  2.13k|    do {                    \
  |  |  |  |   52|  2.13k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.13k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.13k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.13k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2258|  2.13k|    if (s->v.While.orelse) {
  ------------------
  |  Branch (2258:9): [True: 166, False: 1.96k]
  ------------------
 2259|    166|        VISIT_SEQ(c, stmt, s->v.While.orelse);
  ------------------
  |  |  459|    166|    do {                                                                    \
  |  |  460|    166|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|    530|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    530|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.06k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 530]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 366, False: 164]
  |  |  ------------------
  |  |  462|    366|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    366|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    366|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    366|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    366|    do {                    \
  |  |  |  |   52|    366|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 2, False: 364]
  |  |  |  |  ------------------
  |  |  |  |   53|      2|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      2|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      2|        }                   \
  |  |  |  |   55|    366|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 364]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|    366|        }                                                                   \
  |  |  465|    166|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 164]
  |  |  ------------------
  ------------------
 2260|    166|    }
 2261|       |
 2262|  2.13k|    USE_LABEL(c, end);
  ------------------
  |  |   97|  2.13k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  2.13k|    do {                    \
  |  |  |  |   52|  2.13k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.13k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.13k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.13k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2263|  2.13k|    return SUCCESS;
  ------------------
  |  |   47|  2.13k|#define SUCCESS 0
  ------------------
 2264|  2.13k|}
codegen.c:codegen_jump_if:
 1962|  9.71k|{
 1963|  9.71k|    switch (e->kind) {
 1964|    519|    case UnaryOp_kind:
  ------------------
  |  Branch (1964:5): [True: 519, False: 9.19k]
  ------------------
 1965|    519|        if (e->v.UnaryOp.op == Not) {
  ------------------
  |  Branch (1965:13): [True: 1, False: 518]
  ------------------
 1966|      1|            return codegen_jump_if(c, loc, e->v.UnaryOp.operand, next, !cond);
 1967|      1|        }
 1968|       |        /* fallback to general implementation */
 1969|    518|        break;
 1970|    518|    case BoolOp_kind: {
  ------------------
  |  Branch (1970:5): [True: 360, False: 9.35k]
  ------------------
 1971|    360|        asdl_expr_seq *s = e->v.BoolOp.values;
 1972|    360|        Py_ssize_t i, n = asdl_seq_LEN(s) - 1;
  ------------------
  |  |   83|    360|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    720|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 360]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1973|    360|        assert(n >= 0);
  ------------------
  |  Branch (1973:9): [True: 360, False: 0]
  ------------------
 1974|    360|        int cond2 = e->v.BoolOp.op == Or;
 1975|    360|        jump_target_label next2 = next;
 1976|    360|        if (!cond2 != !cond) {
  ------------------
  |  Branch (1976:13): [True: 221, False: 139]
  ------------------
 1977|    221|            NEW_JUMP_TARGET_LABEL(c, new_next2);
  ------------------
  |  |   91|    221|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    221|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    221|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    221|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    221|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 221]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 1978|    221|            next2 = new_next2;
 1979|    221|        }
 1980|  1.26k|        for (i = 0; i < n; ++i) {
  ------------------
  |  Branch (1980:21): [True: 900, False: 360]
  ------------------
 1981|    900|            RETURN_IF_ERROR(
  ------------------
  |  |   51|    900|    do {                    \
  |  |   52|    900|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 900]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    900|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 900]
  |  |  ------------------
  ------------------
 1982|    900|                codegen_jump_if(c, loc, (expr_ty)asdl_seq_GET(s, i), next2, cond2));
 1983|    900|        }
 1984|    360|        RETURN_IF_ERROR(
  ------------------
  |  |   51|    360|    do {                    \
  |  |   52|    360|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 360]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    360|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 360]
  |  |  ------------------
  ------------------
 1985|    360|            codegen_jump_if(c, loc, (expr_ty)asdl_seq_GET(s, n), next, cond));
 1986|    360|        if (!SAME_JUMP_TARGET_LABEL(next2, next)) {
  ------------------
  |  |   59|    360|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  ------------------
  |  Branch (1986:13): [True: 221, False: 139]
  ------------------
 1987|    221|            USE_LABEL(c, next2);
  ------------------
  |  |   97|    221|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    221|    do {                    \
  |  |  |  |   52|    221|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 221]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    221|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 221]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1988|    221|        }
 1989|    360|        return SUCCESS;
  ------------------
  |  |   47|    360|#define SUCCESS 0
  ------------------
 1990|    360|    }
 1991|    718|    case IfExp_kind: {
  ------------------
  |  Branch (1991:5): [True: 718, False: 8.99k]
  ------------------
 1992|    718|        NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|    718|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    718|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    718|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    718|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    718|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 718]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 1993|    718|        NEW_JUMP_TARGET_LABEL(c, next2);
  ------------------
  |  |   91|    718|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    718|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    718|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    718|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    718|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 718]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 1994|    718|        RETURN_IF_ERROR(
  ------------------
  |  |   51|    718|    do {                    \
  |  |   52|    718|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 718]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    718|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 718]
  |  |  ------------------
  ------------------
 1995|    718|            codegen_jump_if(c, loc, e->v.IfExp.test, next2, 0));
 1996|    718|        RETURN_IF_ERROR(
  ------------------
  |  |   51|    718|    do {                    \
  |  |   52|    718|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 717]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|    718|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 717]
  |  |  ------------------
  ------------------
 1997|    718|            codegen_jump_if(c, loc, e->v.IfExp.body, next, cond));
 1998|    717|        ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  428|    717|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    717|    do {                    \
  |  |  |  |   52|    717|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 717]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    717|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 717]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1999|       |
 2000|    717|        USE_LABEL(c, next2);
  ------------------
  |  |   97|    717|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    717|    do {                    \
  |  |  |  |   52|    717|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 717]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    717|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 717]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2001|    717|        RETURN_IF_ERROR(
  ------------------
  |  |   51|    717|    do {                    \
  |  |   52|    717|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 717]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    717|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 717]
  |  |  ------------------
  ------------------
 2002|    717|            codegen_jump_if(c, loc, e->v.IfExp.orelse, next, cond));
 2003|       |
 2004|    717|        USE_LABEL(c, end);
  ------------------
  |  |   97|    717|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    717|    do {                    \
  |  |  |  |   52|    717|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 717]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    717|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 717]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2005|    717|        return SUCCESS;
  ------------------
  |  |   47|    717|#define SUCCESS 0
  ------------------
 2006|    717|    }
 2007|  1.29k|    case Compare_kind: {
  ------------------
  |  Branch (2007:5): [True: 1.29k, False: 8.42k]
  ------------------
 2008|  1.29k|        Py_ssize_t n = asdl_seq_LEN(e->v.Compare.ops) - 1;
  ------------------
  |  |   83|  1.29k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  2.58k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.29k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2009|  1.29k|        if (n > 0) {
  ------------------
  |  Branch (2009:13): [True: 693, False: 601]
  ------------------
 2010|    693|            RETURN_IF_ERROR(codegen_check_compare(c, e));
  ------------------
  |  |   51|    693|    do {                    \
  |  |   52|    693|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 693]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    693|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 693]
  |  |  ------------------
  ------------------
 2011|    693|            NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   91|    693|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    693|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    693|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    693|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    693|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 693]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2012|    693|            VISIT(c, expr, e->v.Compare.left);
  ------------------
  |  |  453|    693|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    693|    do {                    \
  |  |  |  |   52|    693|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 692]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    693|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 692]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2013|  3.48k|            for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (2013:36): [True: 2.79k, False: 691]
  ------------------
 2014|  2.79k|                VISIT(c, expr,
  ------------------
  |  |  453|  2.79k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  2.79k|    do {                    \
  |  |  |  |   52|  2.79k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 2.79k]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|  2.79k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.79k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2015|  2.79k|                    (expr_ty)asdl_seq_GET(e->v.Compare.comparators, i));
 2016|  2.79k|                ADDOP_I(c, LOC(e), SWAP, 2);
  ------------------
  |  |  277|  2.79k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.79k|    do {                    \
  |  |  |  |   52|  2.79k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.79k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.79k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.79k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2017|  2.79k|                ADDOP_I(c, LOC(e), COPY, 2);
  ------------------
  |  |  277|  2.79k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.79k|    do {                    \
  |  |  |  |   52|  2.79k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.79k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.79k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.79k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2018|  2.79k|                ADDOP_COMPARE(c, LOC(e), asdl_seq_GET(e->v.Compare.ops, i));
  ------------------
  |  |  431|  2.79k|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|  2.79k|    do {                    \
  |  |  |  |   52|  2.79k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.79k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.79k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.79k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2019|  2.79k|                ADDOP(c, LOC(e), TO_BOOL);
  ------------------
  |  |  291|  2.79k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.79k|    do {                    \
  |  |  |  |   52|  2.79k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.79k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.79k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.79k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2020|  2.79k|                ADDOP_JUMP(c, LOC(e), POP_JUMP_IF_FALSE, cleanup);
  ------------------
  |  |  428|  2.79k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  2.79k|    do {                    \
  |  |  |  |   52|  2.79k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.79k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.79k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.79k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2021|  2.79k|            }
 2022|    691|            VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Compare.comparators, n));
  ------------------
  |  |  453|    691|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    691|    do {                    \
  |  |  |  |   52|    691|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 3, False: 688]
  |  |  |  |  ------------------
  |  |  |  |   53|      3|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      3|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      3|        }                   \
  |  |  |  |   55|    691|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 688]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2023|    688|            ADDOP_COMPARE(c, LOC(e), asdl_seq_GET(e->v.Compare.ops, n));
  ------------------
  |  |  431|    688|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|    688|    do {                    \
  |  |  |  |   52|    688|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 688]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    688|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 688]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2024|    688|            ADDOP(c, LOC(e), TO_BOOL);
  ------------------
  |  |  291|    688|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    688|    do {                    \
  |  |  |  |   52|    688|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 688]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    688|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 688]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2025|    688|            ADDOP_JUMP(c, LOC(e), cond ? POP_JUMP_IF_TRUE : POP_JUMP_IF_FALSE, next);
  ------------------
  |  |  428|    688|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    688|    do {                    \
  |  |  |  |   52|  1.37k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 688]
  |  |  |  |  |  Branch (52:14): [True: 251, False: 437]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    688|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 688]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2026|    688|            NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|    688|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    688|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    688|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    688|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    688|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 688]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2027|    688|            ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  428|    688|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    688|    do {                    \
  |  |  |  |   52|    688|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 688]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    688|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 688]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2028|       |
 2029|    688|            USE_LABEL(c, cleanup);
  ------------------
  |  |   97|    688|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    688|    do {                    \
  |  |  |  |   52|    688|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 688]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    688|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 688]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2030|    688|            ADDOP(c, LOC(e), POP_TOP);
  ------------------
  |  |  291|    688|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    688|    do {                    \
  |  |  |  |   52|    688|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 688]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    688|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 688]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2031|    688|            if (!cond) {
  ------------------
  |  Branch (2031:17): [True: 437, False: 251]
  ------------------
 2032|    437|                ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, next);
  ------------------
  |  |  428|    437|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    437|    do {                    \
  |  |  |  |   52|    437|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 437]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    437|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 437]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2033|    437|            }
 2034|       |
 2035|    688|            USE_LABEL(c, end);
  ------------------
  |  |   97|    688|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    688|    do {                    \
  |  |  |  |   52|    688|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 688]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    688|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 688]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2036|    688|            return SUCCESS;
  ------------------
  |  |   47|    688|#define SUCCESS 0
  ------------------
 2037|    688|        }
 2038|       |        /* fallback to general implementation */
 2039|    601|        break;
 2040|  1.29k|    }
 2041|  6.82k|    default:
  ------------------
  |  Branch (2041:5): [True: 6.82k, False: 2.89k]
  ------------------
 2042|       |        /* fallback to general implementation */
 2043|  6.82k|        break;
 2044|  9.71k|    }
 2045|       |
 2046|       |    /* general implementation */
 2047|  7.94k|    VISIT(c, expr, e);
  ------------------
  |  |  453|  7.94k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  7.94k|    do {                    \
  |  |  |  |   52|  7.94k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 4, False: 7.94k]
  |  |  |  |  ------------------
  |  |  |  |   53|      4|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      4|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      4|        }                   \
  |  |  |  |   55|  7.94k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 7.94k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2048|  7.94k|    ADDOP(c, LOC(e), TO_BOOL);
  ------------------
  |  |  291|  7.94k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  7.94k|    do {                    \
  |  |  |  |   52|  7.94k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 7.94k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  7.94k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 7.94k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2049|  7.94k|    ADDOP_JUMP(c, LOC(e), cond ? POP_JUMP_IF_TRUE : POP_JUMP_IF_FALSE, next);
  ------------------
  |  |  428|  7.94k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  7.94k|    do {                    \
  |  |  |  |   52|  15.8k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 7.94k]
  |  |  |  |  |  Branch (52:14): [True: 2.32k, False: 5.61k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  7.94k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 7.94k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2050|  7.94k|    return SUCCESS;
  ------------------
  |  |   47|  7.94k|#define SUCCESS 0
  ------------------
 2051|  7.94k|}
codegen.c:codegen_check_compare:
 1887|  22.0k|{
 1888|  22.0k|    Py_ssize_t i, n;
 1889|  22.0k|    bool left = check_is_arg(e->v.Compare.left);
 1890|  22.0k|    expr_ty left_expr = e->v.Compare.left;
 1891|  22.0k|    n = asdl_seq_LEN(e->v.Compare.ops);
  ------------------
  |  |   83|  22.0k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  44.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 22.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1892|   102k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1892:17): [True: 81.2k, False: 20.8k]
  ------------------
 1893|  81.2k|        cmpop_ty op = (cmpop_ty)asdl_seq_GET(e->v.Compare.ops, i);
  ------------------
  |  |   82|  81.2k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  81.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1894|  81.2k|        expr_ty right_expr = (expr_ty)asdl_seq_GET(e->v.Compare.comparators, i);
  ------------------
  |  |   82|  81.2k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  81.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1895|  81.2k|        bool right = check_is_arg(right_expr);
 1896|  81.2k|        if (op == Is || op == IsNot) {
  ------------------
  |  Branch (1896:13): [True: 4.21k, False: 77.0k]
  |  Branch (1896:25): [True: 6, False: 77.0k]
  ------------------
 1897|  4.22k|            if (!right || !left) {
  ------------------
  |  Branch (1897:17): [True: 1.00k, False: 3.21k]
  |  Branch (1897:27): [True: 143, False: 3.07k]
  ------------------
 1898|  1.14k|                const char *msg = (op == Is)
  ------------------
  |  Branch (1898:35): [True: 1.14k, False: 0]
  ------------------
 1899|  1.14k|                        ? "\"is\" with '%.200s' literal. Did you mean \"==\"?"
 1900|  1.14k|                        : "\"is not\" with '%.200s' literal. Did you mean \"!=\"?";
 1901|  1.14k|                expr_ty literal = !left ? left_expr : right_expr;
  ------------------
  |  Branch (1901:35): [True: 200, False: 948]
  ------------------
 1902|  1.14k|                return _PyCompile_Warn(
 1903|  1.14k|                    c, LOC(e), msg, infer_type(literal)->tp_name
  ------------------
  |  |   88|  1.14k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.14k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.14k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.14k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.14k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.14k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1904|  1.14k|                );
 1905|  1.14k|            }
 1906|  4.22k|        }
 1907|  80.0k|        left = right;
 1908|  80.0k|        left_expr = right_expr;
 1909|  80.0k|    }
 1910|  20.8k|    return SUCCESS;
  ------------------
  |  |   47|  20.8k|#define SUCCESS 0
  ------------------
 1911|  22.0k|}
codegen.c:check_is_arg:
 1866|   103k|{
 1867|   103k|    if (e->kind == Tuple_kind) {
  ------------------
  |  Branch (1867:9): [True: 295, False: 102k]
  ------------------
 1868|    295|        return !is_const_tuple(e->v.Tuple.elts);
 1869|    295|    }
 1870|   102k|    if (e->kind != Constant_kind) {
  ------------------
  |  Branch (1870:9): [True: 84.4k, False: 18.5k]
  ------------------
 1871|  84.4k|        return true;
 1872|  84.4k|    }
 1873|  18.5k|    PyObject *value = e->v.Constant.value;
 1874|  18.5k|    return (value == Py_None
  ------------------
  |  |  616|  37.1k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1874:13): [True: 448, False: 18.1k]
  ------------------
 1875|  18.5k|         || value == Py_False
  ------------------
  |  |   25|  18.5k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  18.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1875:13): [True: 224, False: 17.8k]
  ------------------
 1876|  18.5k|         || value == Py_True
  ------------------
  |  |   26|  18.5k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  17.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1876:13): [True: 4.31k, False: 13.5k]
  ------------------
 1877|  13.5k|         || value == Py_Ellipsis);
  ------------------
  |  |   14|  13.5k|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (1877:13): [True: 17, False: 13.5k]
  ------------------
 1878|   102k|}
codegen.c:is_const_tuple:
 1852|    295|{
 1853|    295|    for (Py_ssize_t i = 0; i < asdl_seq_LEN(elts); i++) {
  ------------------
  |  |   83|    295|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    590|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 287, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1853:28): [True: 8, False: 287]
  ------------------
 1854|      8|        expr_ty e = (expr_ty)asdl_seq_GET(elts, i);
  ------------------
  |  |   82|      8|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      8|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1855|      8|        if (e->kind != Constant_kind) {
  ------------------
  |  Branch (1855:13): [True: 8, False: 0]
  ------------------
 1856|      8|            return false;
 1857|      8|        }
 1858|      8|    }
 1859|    287|    return true;
 1860|    295|}
codegen.c:infer_type:
 3717|  16.0k|{
 3718|  16.0k|    switch (e->kind) {
 3719|  2.36k|    case Tuple_kind:
  ------------------
  |  Branch (3719:5): [True: 2.36k, False: 13.6k]
  ------------------
 3720|  2.36k|        return &PyTuple_Type;
 3721|    551|    case List_kind:
  ------------------
  |  Branch (3721:5): [True: 551, False: 15.4k]
  ------------------
 3722|    569|    case ListComp_kind:
  ------------------
  |  Branch (3722:5): [True: 18, False: 16.0k]
  ------------------
 3723|    569|        return &PyList_Type;
 3724|    107|    case Dict_kind:
  ------------------
  |  Branch (3724:5): [True: 107, False: 15.9k]
  ------------------
 3725|    757|    case DictComp_kind:
  ------------------
  |  Branch (3725:5): [True: 650, False: 15.3k]
  ------------------
 3726|    757|        return &PyDict_Type;
 3727|    522|    case Set_kind:
  ------------------
  |  Branch (3727:5): [True: 522, False: 15.5k]
  ------------------
 3728|  1.17k|    case SetComp_kind:
  ------------------
  |  Branch (3728:5): [True: 651, False: 15.3k]
  ------------------
 3729|  1.17k|        return &PySet_Type;
 3730|    126|    case GeneratorExp_kind:
  ------------------
  |  Branch (3730:5): [True: 126, False: 15.9k]
  ------------------
 3731|    126|        return &PyGen_Type;
 3732|    130|    case Lambda_kind:
  ------------------
  |  Branch (3732:5): [True: 130, False: 15.9k]
  ------------------
 3733|    130|        return &PyFunction_Type;
 3734|     64|    case TemplateStr_kind:
  ------------------
  |  Branch (3734:5): [True: 64, False: 15.9k]
  ------------------
 3735|     64|    case Interpolation_kind:
  ------------------
  |  Branch (3735:5): [True: 0, False: 16.0k]
  ------------------
 3736|     64|        return &_PyTemplate_Type;
 3737|     50|    case JoinedStr_kind:
  ------------------
  |  Branch (3737:5): [True: 50, False: 15.9k]
  ------------------
 3738|     50|    case FormattedValue_kind:
  ------------------
  |  Branch (3738:5): [True: 0, False: 16.0k]
  ------------------
 3739|     50|        return &PyUnicode_Type;
 3740|  4.03k|    case Constant_kind:
  ------------------
  |  Branch (3740:5): [True: 4.03k, False: 12.0k]
  ------------------
 3741|  4.03k|        return Py_TYPE(e->v.Constant.value);
  ------------------
  |  |  213|  4.03k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3742|  6.76k|    default:
  ------------------
  |  Branch (3742:5): [True: 6.76k, False: 9.27k]
  ------------------
 3743|       |        return NULL;
 3744|  16.0k|    }
 3745|  16.0k|}
codegen.c:codegen_addcompare:
 1915|  82.3k|{
 1916|  82.3k|    int cmp;
 1917|  82.3k|    switch (op) {
 1918|  3.81k|    case Eq:
  ------------------
  |  Branch (1918:5): [True: 3.81k, False: 78.4k]
  ------------------
 1919|  3.81k|        cmp = Py_EQ;
  ------------------
  |  |  654|  3.81k|#define Py_EQ 2
  ------------------
 1920|  3.81k|        break;
 1921|    122|    case NotEq:
  ------------------
  |  Branch (1921:5): [True: 122, False: 82.1k]
  ------------------
 1922|    122|        cmp = Py_NE;
  ------------------
  |  |  655|    122|#define Py_NE 3
  ------------------
 1923|    122|        break;
 1924|  27.8k|    case Lt:
  ------------------
  |  Branch (1924:5): [True: 27.8k, False: 54.4k]
  ------------------
 1925|  27.8k|        cmp = Py_LT;
  ------------------
  |  |  652|  27.8k|#define Py_LT 0
  ------------------
 1926|  27.8k|        break;
 1927|  1.57k|    case LtE:
  ------------------
  |  Branch (1927:5): [True: 1.57k, False: 80.7k]
  ------------------
 1928|  1.57k|        cmp = Py_LE;
  ------------------
  |  |  653|  1.57k|#define Py_LE 1
  ------------------
 1929|  1.57k|        break;
 1930|  36.7k|    case Gt:
  ------------------
  |  Branch (1930:5): [True: 36.7k, False: 45.5k]
  ------------------
 1931|  36.7k|        cmp = Py_GT;
  ------------------
  |  |  656|  36.7k|#define Py_GT 4
  ------------------
 1932|  36.7k|        break;
 1933|  5.94k|    case GtE:
  ------------------
  |  Branch (1933:5): [True: 5.94k, False: 76.3k]
  ------------------
 1934|  5.94k|        cmp = Py_GE;
  ------------------
  |  |  657|  5.94k|#define Py_GE 5
  ------------------
 1935|  5.94k|        break;
 1936|  4.35k|    case Is:
  ------------------
  |  Branch (1936:5): [True: 4.35k, False: 77.9k]
  ------------------
 1937|  4.35k|        ADDOP_I(c, loc, IS_OP, 0);
  ------------------
  |  |  277|  4.35k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  4.35k|    do {                    \
  |  |  |  |   52|  4.35k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.35k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.35k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.35k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1938|  4.35k|        return SUCCESS;
  ------------------
  |  |   47|  4.35k|#define SUCCESS 0
  ------------------
 1939|      6|    case IsNot:
  ------------------
  |  Branch (1939:5): [True: 6, False: 82.3k]
  ------------------
 1940|      6|        ADDOP_I(c, loc, IS_OP, 1);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1941|      6|        return SUCCESS;
  ------------------
  |  |   47|      6|#define SUCCESS 0
  ------------------
 1942|  1.79k|    case In:
  ------------------
  |  Branch (1942:5): [True: 1.79k, False: 80.5k]
  ------------------
 1943|  1.79k|        ADDOP_I(c, loc, CONTAINS_OP, 0);
  ------------------
  |  |  277|  1.79k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.79k|    do {                    \
  |  |  |  |   52|  1.79k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.79k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.79k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.79k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1944|  1.79k|        return SUCCESS;
  ------------------
  |  |   47|  1.79k|#define SUCCESS 0
  ------------------
 1945|     45|    case NotIn:
  ------------------
  |  Branch (1945:5): [True: 45, False: 82.2k]
  ------------------
 1946|     45|        ADDOP_I(c, loc, CONTAINS_OP, 1);
  ------------------
  |  |  277|     45|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     45|    do {                    \
  |  |  |  |   52|     45|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 45]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     45|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 45]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1947|     45|        return SUCCESS;
  ------------------
  |  |   47|     45|#define SUCCESS 0
  ------------------
 1948|      0|    default:
  ------------------
  |  Branch (1948:5): [True: 0, False: 82.3k]
  ------------------
 1949|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1950|  82.3k|    }
 1951|       |    // cmp goes in top three bits of the oparg, while the low four bits are used
 1952|       |    // by quickened versions of this opcode to store the comparison mask. The
 1953|       |    // fifth-lowest bit indicates whether the result should be converted to bool
 1954|       |    // and is set later):
 1955|  76.1k|    ADDOP_I(c, loc, COMPARE_OP, (cmp << 5) | compare_masks[cmp]);
  ------------------
  |  |  277|  76.1k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  76.1k|    do {                    \
  |  |  |  |   52|  76.1k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 76.1k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  76.1k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 76.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1956|  76.1k|    return SUCCESS;
  ------------------
  |  |   47|  76.1k|#define SUCCESS 0
  ------------------
 1957|  76.1k|}
codegen.c:codegen_if:
 2119|  1.69k|{
 2120|  1.69k|    jump_target_label next;
 2121|  1.69k|    assert(s->kind == If_kind);
  ------------------
  |  Branch (2121:5): [True: 1.69k, False: 0]
  ------------------
 2122|  1.69k|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|  1.69k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.69k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.69k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.69k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.69k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.69k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2123|  1.69k|    if (asdl_seq_LEN(s->v.If.orelse)) {
  ------------------
  |  |   83|  1.69k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.39k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 360, False: 1.33k]
  |  |  |  |  |  Branch (277:37): [True: 1.33k, False: 360]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2124|    360|        NEW_JUMP_TARGET_LABEL(c, orelse);
  ------------------
  |  |   91|    360|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    360|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    360|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    360|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    360|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 360]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2125|    360|        next = orelse;
 2126|    360|    }
 2127|  1.33k|    else {
 2128|  1.33k|        next = end;
 2129|  1.33k|    }
 2130|  1.69k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  1.69k|    do {                    \
  |  |   52|  1.69k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 4, False: 1.69k]
  |  |  ------------------
  |  |   53|      4|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      4|#define ERROR -1
  |  |  ------------------
  |  |   54|      4|        }                   \
  |  |   55|  1.69k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.69k]
  |  |  ------------------
  ------------------
 2131|  1.69k|        codegen_jump_if(c, LOC(s), s->v.If.test, next, 0));
 2132|       |
 2133|  1.69k|    VISIT_SEQ(c, stmt, s->v.If.body);
  ------------------
  |  |  459|  1.69k|    do {                                                                    \
  |  |  460|  1.69k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|  5.59k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  5.59k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  11.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 5.59k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 3.90k, False: 1.68k]
  |  |  ------------------
  |  |  462|  3.90k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  3.90k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.90k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|  3.90k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  3.90k|    do {                    \
  |  |  |  |   52|  3.90k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 4, False: 3.89k]
  |  |  |  |  ------------------
  |  |  |  |   53|      4|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      4|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      4|        }                   \
  |  |  |  |   55|  3.90k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.89k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|  3.90k|        }                                                                   \
  |  |  465|  1.69k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 1.68k]
  |  |  ------------------
  ------------------
 2134|  1.68k|    if (asdl_seq_LEN(s->v.If.orelse)) {
  ------------------
  |  |   83|  1.68k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.37k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 360, False: 1.32k]
  |  |  |  |  |  Branch (277:37): [True: 1.32k, False: 360]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2135|    360|        ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  428|    360|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    360|    do {                    \
  |  |  |  |   52|    360|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 360]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    360|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 360]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2136|       |
 2137|    360|        USE_LABEL(c, next);
  ------------------
  |  |   97|    360|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    360|    do {                    \
  |  |  |  |   52|    360|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 360]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    360|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 360]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2138|    360|        VISIT_SEQ(c, stmt, s->v.If.orelse);
  ------------------
  |  |  459|    360|    do {                                                                    \
  |  |  460|    360|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|  1.55k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  1.55k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.11k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.55k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 1.20k, False: 355]
  |  |  ------------------
  |  |  462|  1.20k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  1.20k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.20k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|  1.20k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  1.20k|    do {                    \
  |  |  |  |   52|  1.20k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 5, False: 1.19k]
  |  |  |  |  ------------------
  |  |  |  |   53|      5|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      5|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      5|        }                   \
  |  |  |  |   55|  1.20k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.19k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|  1.20k|        }                                                                   \
  |  |  465|    360|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 355]
  |  |  ------------------
  ------------------
 2139|    360|    }
 2140|       |
 2141|  1.68k|    USE_LABEL(c, end);
  ------------------
  |  |   97|  1.68k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.68k|    do {                    \
  |  |  |  |   52|  1.68k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.68k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.68k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.68k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2142|  1.68k|    return SUCCESS;
  ------------------
  |  |   47|  1.68k|#define SUCCESS 0
  ------------------
 2143|  1.68k|}
codegen.c:codegen_match:
 6753|    198|{
 6754|    198|    pattern_context pc;
 6755|       |    pc.fail_pop = NULL;
 6756|    198|    int result = codegen_match_inner(c, s, &pc);
 6757|    198|    PyMem_Free(pc.fail_pop);
 6758|    198|    return result;
 6759|    198|}
codegen.c:codegen_match_inner:
 6675|    198|{
 6676|    198|    VISIT(c, expr, s->v.Match.subject);
  ------------------
  |  |  453|    198|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    198|    do {                    \
  |  |  |  |   52|    198|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 198]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    198|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 198]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6677|    198|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|    198|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    198|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    198|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    198|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    198|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 198]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 6678|    198|    Py_ssize_t cases = asdl_seq_LEN(s->v.Match.cases);
  ------------------
  |  |   83|    198|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    396|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 198]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6679|    198|    assert(cases > 0);
  ------------------
  |  Branch (6679:5): [True: 198, False: 0]
  ------------------
 6680|    198|    match_case_ty m = asdl_seq_GET(s->v.Match.cases, cases - 1);
  ------------------
  |  |   82|    198|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    198|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6681|    198|    int has_default = WILDCARD_CHECK(m->pattern) && 1 < cases;
  ------------------
  |  | 5953|    396|    ((N)->kind == MatchAs_kind && !(N)->v.MatchAs.name)
  |  |  ------------------
  |  |  |  Branch (5953:6): [True: 22, False: 176]
  |  |  |  Branch (5953:35): [True: 19, False: 3]
  |  |  ------------------
  ------------------
  |  Branch (6681:53): [True: 4, False: 15]
  ------------------
 6682|    998|    for (Py_ssize_t i = 0; i < cases - has_default; i++) {
  ------------------
  |  Branch (6682:28): [True: 892, False: 106]
  ------------------
 6683|    892|        m = asdl_seq_GET(s->v.Match.cases, i);
  ------------------
  |  |   82|    892|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    892|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6684|       |        // Only copy the subject if we're *not* on the last case:
 6685|    892|        if (i != cases - has_default - 1) {
  ------------------
  |  Branch (6685:13): [True: 703, False: 189]
  ------------------
 6686|    703|            ADDOP_I(c, LOC(m->pattern), COPY, 1);
  ------------------
  |  |  277|    703|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    703|    do {                    \
  |  |  |  |   52|    703|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 703]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    703|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 703]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6687|    703|        }
 6688|    892|        pc->stores = PyList_New(0);
 6689|    892|        if (pc->stores == NULL) {
  ------------------
  |  Branch (6689:13): [True: 0, False: 892]
  ------------------
 6690|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 6691|      0|        }
 6692|       |        // Irrefutable cases must be either guarded, last, or both:
 6693|    892|        pc->allow_irrefutable = m->guard != NULL || i == cases - 1;
  ------------------
  |  Branch (6693:33): [True: 2, False: 890]
  |  Branch (6693:53): [True: 185, False: 705]
  ------------------
 6694|    892|        pc->fail_pop = NULL;
 6695|    892|        pc->fail_pop_size = 0;
 6696|    892|        pc->on_top = 0;
 6697|       |        // NOTE: Can't use returning macros here (they'll leak pc->stores)!
 6698|    892|        if (codegen_pattern(c, m->pattern, pc) < 0) {
  ------------------
  |  Branch (6698:13): [True: 88, False: 804]
  ------------------
 6699|     88|            Py_DECREF(pc->stores);
  ------------------
  |  |  430|     88|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6700|     88|            return ERROR;
  ------------------
  |  |   48|     88|#define ERROR -1
  ------------------
 6701|     88|        }
 6702|    892|        assert(!pc->on_top);
  ------------------
  |  Branch (6702:9): [True: 804, False: 0]
  ------------------
 6703|       |        // It's a match! Store all of the captured names (they're on the stack).
 6704|    804|        Py_ssize_t nstores = PyList_GET_SIZE(pc->stores);
  ------------------
  |  |   38|    804|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    804|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    804|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6705|  2.49k|        for (Py_ssize_t n = 0; n < nstores; n++) {
  ------------------
  |  Branch (6705:32): [True: 1.69k, False: 804]
  ------------------
 6706|  1.69k|            PyObject *name = PyList_GET_ITEM(pc->stores, n);
  ------------------
  |  |   40|  1.69k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  1.69k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6706:30): [True: 1.69k, False: 0]
  ------------------
 6707|  1.69k|            if (codegen_nameop(c, LOC(m->pattern), name, Store) < 0) {
  ------------------
  |  |   88|  1.69k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.69k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.69k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.69k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.69k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.69k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (6707:17): [True: 0, False: 1.69k]
  ------------------
 6708|      0|                Py_DECREF(pc->stores);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6709|      0|                return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 6710|      0|            }
 6711|  1.69k|        }
 6712|    804|        Py_DECREF(pc->stores);
  ------------------
  |  |  430|    804|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    804|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    804|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6713|       |        // NOTE: Returning macros are safe again.
 6714|    804|        if (m->guard) {
  ------------------
  |  Branch (6714:13): [True: 1, False: 803]
  ------------------
 6715|      1|            RETURN_IF_ERROR(ensure_fail_pop(c, pc, 0));
  ------------------
  |  |   51|      1|    do {                    \
  |  |   52|      1|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 6716|      1|            RETURN_IF_ERROR(codegen_jump_if(c, LOC(m->pattern), m->guard, pc->fail_pop[0], 0));
  ------------------
  |  |   51|      1|    do {                    \
  |  |   52|      1|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 6717|      1|        }
 6718|       |        // Success! Pop the subject off, we're done with it:
 6719|    804|        if (i != cases - has_default - 1) {
  ------------------
  |  Branch (6719:13): [True: 695, False: 109]
  ------------------
 6720|       |            /* Use the next location to give better locations for branch events */
 6721|    695|            ADDOP(c, NEXT_LOCATION, POP_TOP);
  ------------------
  |  |  291|    695|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    695|    do {                    \
  |  |  |  |   52|    695|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 695]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    695|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 695]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6722|    695|        }
 6723|    804|        VISIT_SEQ(c, stmt, m->body);
  ------------------
  |  |  459|    804|    do {                                                                    \
  |  |  460|    804|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|  1.74k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  1.74k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.48k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.74k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 941, False: 800]
  |  |  ------------------
  |  |  462|    941|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    941|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    941|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    941|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    941|    do {                    \
  |  |  |  |   52|    941|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 4, False: 937]
  |  |  |  |  ------------------
  |  |  |  |   53|      4|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      4|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      4|        }                   \
  |  |  |  |   55|    941|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 937]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|    941|        }                                                                   \
  |  |  465|    804|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 800]
  |  |  ------------------
  ------------------
 6724|    800|        ADDOP_JUMP(c, NO_LOCATION, JUMP, end);
  ------------------
  |  |  428|    800|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    800|    do {                    \
  |  |  |  |   52|    800|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 800]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    800|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 800]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6725|       |        // If the pattern fails to match, we want the line number of the
 6726|       |        // cleanup to be associated with the failed pattern, not the last line
 6727|       |        // of the body
 6728|    800|        RETURN_IF_ERROR(emit_and_reset_fail_pop(c, LOC(m->pattern), pc));
  ------------------
  |  |   51|    800|    do {                    \
  |  |   52|    800|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 800]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    800|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 800]
  |  |  ------------------
  ------------------
 6729|    800|    }
 6730|    106|    if (has_default) {
  ------------------
  |  Branch (6730:9): [True: 1, False: 105]
  ------------------
 6731|       |        // A trailing "case _" is common, and lets us save a bit of redundant
 6732|       |        // pushing and popping in the loop above:
 6733|      1|        m = asdl_seq_GET(s->v.Match.cases, cases - 1);
  ------------------
  |  |   82|      1|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6734|      1|        if (cases == 1) {
  ------------------
  |  Branch (6734:13): [True: 0, False: 1]
  ------------------
 6735|       |            // No matches. Done with the subject:
 6736|      0|            ADDOP(c, LOC(m->pattern), 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6737|      0|        }
 6738|      1|        else {
 6739|       |            // Show line coverage for default case (it doesn't create bytecode)
 6740|      1|            ADDOP(c, LOC(m->pattern), NOP);
  ------------------
  |  |  291|      1|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6741|      1|        }
 6742|      1|        if (m->guard) {
  ------------------
  |  Branch (6742:13): [True: 0, False: 1]
  ------------------
 6743|      0|            RETURN_IF_ERROR(codegen_jump_if(c, LOC(m->pattern), m->guard, end, 0));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6744|      0|        }
 6745|      1|        VISIT_SEQ(c, stmt, m->body);
  ------------------
  |  |  459|      1|    do {                                                                    \
  |  |  460|      1|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|      1|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|      1|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 1, False: 0]
  |  |  ------------------
  |  |  462|      1|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|      1|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|      1|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|      1|        }                                                                   \
  |  |  465|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6746|      1|    }
 6747|    105|    USE_LABEL(c, end);
  ------------------
  |  |   97|    105|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    105|    do {                    \
  |  |  |  |   52|    105|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 105]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    105|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 105]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6748|    105|    return SUCCESS;
  ------------------
  |  |   47|    105|#define SUCCESS 0
  ------------------
 6749|    105|}
codegen.c:codegen_pattern:
 6648|  3.89k|{
 6649|  3.89k|    switch (p->kind) {
  ------------------
  |  Branch (6649:13): [True: 3.89k, False: 0]
  ------------------
 6650|    249|        case MatchValue_kind:
  ------------------
  |  Branch (6650:9): [True: 249, False: 3.64k]
  ------------------
 6651|    249|            return codegen_pattern_value(c, p, pc);
 6652|     73|        case MatchSingleton_kind:
  ------------------
  |  Branch (6652:9): [True: 73, False: 3.82k]
  ------------------
 6653|     73|            return codegen_pattern_singleton(c, p, pc);
 6654|    877|        case MatchSequence_kind:
  ------------------
  |  Branch (6654:9): [True: 877, False: 3.02k]
  ------------------
 6655|    877|            return codegen_pattern_sequence(c, p, pc);
 6656|     15|        case MatchMapping_kind:
  ------------------
  |  Branch (6656:9): [True: 15, False: 3.88k]
  ------------------
 6657|     15|            return codegen_pattern_mapping(c, p, pc);
 6658|    102|        case MatchClass_kind:
  ------------------
  |  Branch (6658:9): [True: 102, False: 3.79k]
  ------------------
 6659|    102|            return codegen_pattern_class(c, p, pc);
 6660|     16|        case MatchStar_kind:
  ------------------
  |  Branch (6660:9): [True: 16, False: 3.88k]
  ------------------
 6661|     16|            return codegen_pattern_star(c, p, pc);
 6662|  2.48k|        case MatchAs_kind:
  ------------------
  |  Branch (6662:9): [True: 2.48k, False: 1.41k]
  ------------------
 6663|  2.48k|            return codegen_pattern_as(c, p, pc);
 6664|     83|        case MatchOr_kind:
  ------------------
  |  Branch (6664:9): [True: 83, False: 3.81k]
  ------------------
 6665|     83|            return codegen_pattern_or(c, p, pc);
 6666|  3.89k|    }
 6667|       |    // AST validator shouldn't let this happen, but if it does,
 6668|       |    // just fail, don't crash out of the interpreter
 6669|      0|    const char *e = "invalid match pattern node in AST (kind=%d)";
 6670|      0|    return _PyCompile_Error(c, LOC(p), e, p->kind);
  ------------------
  |  |   88|      0|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 6671|  3.89k|}
codegen.c:codegen_pattern_value:
 6622|    249|{
 6623|    249|    assert(p->kind == MatchValue_kind);
  ------------------
  |  Branch (6623:5): [True: 249, False: 0]
  ------------------
 6624|    249|    expr_ty value = p->v.MatchValue.value;
 6625|    249|    if (!MATCH_VALUE_EXPR(value)) {
  ------------------
  |  | 5960|    249|    ((N)->kind == Constant_kind || (N)->kind == Attribute_kind)
  |  |  ------------------
  |  |  |  Branch (5960:6): [True: 163, False: 86]
  |  |  |  Branch (5960:36): [True: 85, False: 1]
  |  |  ------------------
  ------------------
 6626|      1|        const char *e = "patterns may only match literals and attribute lookups";
 6627|      1|        return _PyCompile_Error(c, LOC(p), e);
  ------------------
  |  |   88|      1|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      1|    (_Py_SourceLocation){ \
  |  |  |  |   55|      1|               .lineno = (n)->lineno, \
  |  |  |  |   56|      1|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      1|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      1|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 6628|      1|    }
 6629|    248|    VISIT(c, expr, value);
  ------------------
  |  |  453|    248|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    248|    do {                    \
  |  |  |  |   52|    248|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 248]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    248|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 248]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6630|    248|    ADDOP_COMPARE(c, LOC(p), Eq);
  ------------------
  |  |  431|    248|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|    248|    do {                    \
  |  |  |  |   52|    248|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 248]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    248|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 248]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6631|    248|    ADDOP(c, LOC(p), TO_BOOL);
  ------------------
  |  |  291|    248|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    248|    do {                    \
  |  |  |  |   52|    248|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 248]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    248|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 248]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6632|    248|    RETURN_IF_ERROR(jump_to_fail_pop(c, LOC(p), pc, POP_JUMP_IF_FALSE));
  ------------------
  |  |   51|    248|    do {                    \
  |  |   52|    248|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 248]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    248|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 248]
  |  |  ------------------
  ------------------
 6633|    248|    return SUCCESS;
  ------------------
  |  |   47|    248|#define SUCCESS 0
  ------------------
 6634|    248|}
codegen.c:jump_to_fail_pop:
 5988|  2.22k|{
 5989|       |    // Pop any items on the top of the stack, plus any objects we were going to
 5990|       |    // capture on success:
 5991|  2.22k|    Py_ssize_t pops = pc->on_top + PyList_GET_SIZE(pc->stores);
  ------------------
  |  |   38|  2.22k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5992|  2.22k|    RETURN_IF_ERROR(ensure_fail_pop(c, pc, pops));
  ------------------
  |  |   51|  2.22k|    do {                    \
  |  |   52|  2.22k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.22k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.22k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.22k]
  |  |  ------------------
  ------------------
 5993|  2.22k|    ADDOP_JUMP(c, loc, op, pc->fail_pop[pops]);
  ------------------
  |  |  428|  2.22k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  2.22k|    do {                    \
  |  |  |  |   52|  2.22k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.22k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.22k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.22k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5994|  2.22k|    return SUCCESS;
  ------------------
  |  |   47|  2.22k|#define SUCCESS 0
  ------------------
 5995|  2.22k|}
codegen.c:codegen_pattern_singleton:
 6638|     73|{
 6639|     73|    assert(p->kind == MatchSingleton_kind);
  ------------------
  |  Branch (6639:5): [True: 73, False: 0]
  ------------------
 6640|     73|    ADDOP_LOAD_CONST(c, LOC(p), p->v.MatchSingleton.value);
  ------------------
  |  |  308|     73|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     73|    do {                    \
  |  |  |  |   52|     73|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 73]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     73|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 73]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6641|     73|    ADDOP_COMPARE(c, LOC(p), Is);
  ------------------
  |  |  431|     73|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|     73|    do {                    \
  |  |  |  |   52|     73|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 73]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     73|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 73]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6642|     73|    RETURN_IF_ERROR(jump_to_fail_pop(c, LOC(p), pc, POP_JUMP_IF_FALSE));
  ------------------
  |  |   51|     73|    do {                    \
  |  |   52|     73|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 73]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     73|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 73]
  |  |  ------------------
  ------------------
 6643|     73|    return SUCCESS;
  ------------------
  |  |   47|     73|#define SUCCESS 0
  ------------------
 6644|     73|}
codegen.c:codegen_pattern_sequence:
 6565|    877|{
 6566|    877|    assert(p->kind == MatchSequence_kind);
  ------------------
  |  Branch (6566:5): [True: 877, False: 0]
  ------------------
 6567|    877|    asdl_pattern_seq *patterns = p->v.MatchSequence.patterns;
 6568|    877|    Py_ssize_t size = asdl_seq_LEN(patterns);
  ------------------
  |  |   83|    877|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.75k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 13, False: 864]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6569|    877|    Py_ssize_t star = -1;
 6570|    877|    int only_wildcard = 1;
 6571|    877|    int star_wildcard = 0;
 6572|       |    // Find a starred name, if it exists. There may be at most one:
 6573|  6.49k|    for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (6573:28): [True: 5.62k, False: 873]
  ------------------
 6574|  5.62k|        pattern_ty pattern = asdl_seq_GET(patterns, i);
  ------------------
  |  |   82|  5.62k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  5.62k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6575|  5.62k|        if (pattern->kind == MatchStar_kind) {
  ------------------
  |  Branch (6575:13): [True: 250, False: 5.37k]
  ------------------
 6576|    250|            if (star >= 0) {
  ------------------
  |  Branch (6576:17): [True: 4, False: 246]
  ------------------
 6577|      4|                const char *e = "multiple starred names in sequence pattern";
 6578|      4|                return _PyCompile_Error(c, LOC(p), e);
  ------------------
  |  |   88|      4|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      4|    (_Py_SourceLocation){ \
  |  |  |  |   55|      4|               .lineno = (n)->lineno, \
  |  |  |  |   56|      4|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      4|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      4|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 6579|      4|            }
 6580|    246|            star_wildcard = WILDCARD_STAR_CHECK(pattern);
  ------------------
  |  | 5956|    246|    ((N)->kind == MatchStar_kind && !(N)->v.MatchStar.name)
  |  |  ------------------
  |  |  |  Branch (5956:6): [True: 246, False: 0]
  |  |  |  Branch (5956:37): [True: 216, False: 30]
  |  |  ------------------
  ------------------
 6581|    246|            only_wildcard &= star_wildcard;
 6582|    246|            star = i;
 6583|    246|            continue;
 6584|    250|        }
 6585|  5.37k|        only_wildcard &= WILDCARD_CHECK(pattern);
  ------------------
  |  | 5953|  5.37k|    ((N)->kind == MatchAs_kind && !(N)->v.MatchAs.name)
  |  |  ------------------
  |  |  |  Branch (5953:6): [True: 3.54k, False: 1.82k]
  |  |  |  Branch (5953:35): [True: 461, False: 3.08k]
  |  |  ------------------
  ------------------
 6586|  5.37k|    }
 6587|       |    // We need to keep the subject on top during the sequence and length checks:
 6588|    873|    pc->on_top++;
 6589|    873|    ADDOP(c, LOC(p), MATCH_SEQUENCE);
  ------------------
  |  |  291|    873|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    873|    do {                    \
  |  |  |  |   52|    873|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 873]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    873|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 873]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6590|    873|    RETURN_IF_ERROR(jump_to_fail_pop(c, LOC(p), pc, POP_JUMP_IF_FALSE));
  ------------------
  |  |   51|    873|    do {                    \
  |  |   52|    873|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 873]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    873|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 873]
  |  |  ------------------
  ------------------
 6591|    873|    if (star < 0) {
  ------------------
  |  Branch (6591:9): [True: 631, False: 242]
  ------------------
 6592|       |        // No star: len(subject) == size
 6593|    631|        ADDOP(c, LOC(p), GET_LEN);
  ------------------
  |  |  291|    631|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    631|    do {                    \
  |  |  |  |   52|    631|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 631]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    631|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 631]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6594|    631|        ADDOP_LOAD_CONST_NEW(c, LOC(p), PyLong_FromSsize_t(size));
  ------------------
  |  |  315|    631|    do {                                                                \
  |  |  316|    631|        PyObject *__new_const = (O);                                    \
  |  |  317|    631|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (317:13): [True: 0, False: 631]
  |  |  ------------------
  |  |  318|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  319|      0|        }                                                               \
  |  |  320|    631|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (320:13): [True: 0, False: 631]
  |  |  ------------------
  |  |  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|    631|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|    631|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    631|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    631|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  325|    631|    } while (0)
  |  |  ------------------
  |  |  |  Branch (325:14): [Folded, False: 631]
  |  |  ------------------
  ------------------
 6595|    631|        ADDOP_COMPARE(c, LOC(p), Eq);
  ------------------
  |  |  431|    631|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|    631|    do {                    \
  |  |  |  |   52|    631|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 631]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    631|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 631]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6596|    631|        RETURN_IF_ERROR(jump_to_fail_pop(c, LOC(p), pc, POP_JUMP_IF_FALSE));
  ------------------
  |  |   51|    631|    do {                    \
  |  |   52|    631|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 631]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    631|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 631]
  |  |  ------------------
  ------------------
 6597|    631|    }
 6598|    242|    else if (size > 1) {
  ------------------
  |  Branch (6598:14): [True: 241, False: 1]
  ------------------
 6599|       |        // Star: len(subject) >= size - 1
 6600|    241|        ADDOP(c, LOC(p), GET_LEN);
  ------------------
  |  |  291|    241|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    241|    do {                    \
  |  |  |  |   52|    241|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 241]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    241|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 241]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6601|    241|        ADDOP_LOAD_CONST_NEW(c, LOC(p), PyLong_FromSsize_t(size - 1));
  ------------------
  |  |  315|    241|    do {                                                                \
  |  |  316|    241|        PyObject *__new_const = (O);                                    \
  |  |  317|    241|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (317:13): [True: 0, False: 241]
  |  |  ------------------
  |  |  318|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  319|      0|        }                                                               \
  |  |  320|    241|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (320:13): [True: 0, False: 241]
  |  |  ------------------
  |  |  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|    241|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|    241|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    241|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    241|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  325|    241|    } while (0)
  |  |  ------------------
  |  |  |  Branch (325:14): [Folded, False: 241]
  |  |  ------------------
  ------------------
 6602|    241|        ADDOP_COMPARE(c, LOC(p), GtE);
  ------------------
  |  |  431|    241|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|    241|    do {                    \
  |  |  |  |   52|    241|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 241]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    241|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 241]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6603|    241|        RETURN_IF_ERROR(jump_to_fail_pop(c, LOC(p), pc, POP_JUMP_IF_FALSE));
  ------------------
  |  |   51|    241|    do {                    \
  |  |   52|    241|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 241]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    241|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 241]
  |  |  ------------------
  ------------------
 6604|    241|    }
 6605|       |    // Whatever comes next should consume the subject:
 6606|    873|    pc->on_top--;
 6607|    873|    if (only_wildcard) {
  ------------------
  |  Branch (6607:9): [True: 14, False: 859]
  ------------------
 6608|       |        // Patterns like: [] / [_] / [_, _] / [*_] / [_, *_] / [_, _, *_] / etc.
 6609|     14|        ADDOP(c, LOC(p), POP_TOP);
  ------------------
  |  |  291|     14|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     14|    do {                    \
  |  |  |  |   52|     14|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     14|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6610|     14|    }
 6611|    859|    else if (star_wildcard) {
  ------------------
  |  Branch (6611:14): [True: 216, False: 643]
  ------------------
 6612|    216|        RETURN_IF_ERROR(pattern_helper_sequence_subscr(c, LOC(p), patterns, star, pc));
  ------------------
  |  |   51|    216|    do {                    \
  |  |   52|    216|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 16, False: 200]
  |  |  ------------------
  |  |   53|     16|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     16|#define ERROR -1
  |  |  ------------------
  |  |   54|     16|        }                   \
  |  |   55|    216|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 200]
  |  |  ------------------
  ------------------
 6613|    216|    }
 6614|    643|    else {
 6615|    643|        RETURN_IF_ERROR(pattern_helper_sequence_unpack(c, LOC(p), patterns, star, pc));
  ------------------
  |  |   51|    643|    do {                    \
  |  |   52|    643|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 64, False: 579]
  |  |  ------------------
  |  |   53|     64|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     64|#define ERROR -1
  |  |  ------------------
  |  |   54|     64|        }                   \
  |  |   55|    643|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 579]
  |  |  ------------------
  ------------------
 6616|    643|    }
 6617|    793|    return SUCCESS;
  ------------------
  |  |   47|    793|#define SUCCESS 0
  ------------------
 6618|    873|}
codegen.c:pattern_helper_sequence_subscr:
 6115|    216|{
 6116|       |    // We need to keep the subject around for extracting elements:
 6117|    216|    pc->on_top++;
 6118|    216|    Py_ssize_t size = asdl_seq_LEN(patterns);
  ------------------
  |  |   83|    216|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    432|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 216]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6119|    929|    for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (6119:28): [True: 729, False: 200]
  ------------------
 6120|    729|        pattern_ty pattern = asdl_seq_GET(patterns, i);
  ------------------
  |  |   82|    729|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    729|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6121|    729|        if (WILDCARD_CHECK(pattern)) {
  ------------------
  |  | 5953|    729|    ((N)->kind == MatchAs_kind && !(N)->v.MatchAs.name)
  |  |  ------------------
  |  |  |  Branch (5953:6): [True: 455, False: 274]
  |  |  |  Branch (5953:35): [True: 0, False: 455]
  |  |  ------------------
  ------------------
 6122|      0|            continue;
 6123|      0|        }
 6124|    729|        if (i == star) {
  ------------------
  |  Branch (6124:13): [True: 214, False: 515]
  ------------------
 6125|    214|            assert(WILDCARD_STAR_CHECK(pattern));
  ------------------
  |  Branch (6125:13): [True: 214, False: 0]
  |  Branch (6125:13): [True: 214, False: 0]
  ------------------
 6126|    214|            continue;
 6127|    214|        }
 6128|    515|        ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  277|    515|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    515|    do {                    \
  |  |  |  |   52|    515|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 515]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    515|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 515]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6129|    515|        if (i < star) {
  ------------------
  |  Branch (6129:13): [True: 8, False: 507]
  ------------------
 6130|      8|            ADDOP_LOAD_CONST_NEW(c, loc, PyLong_FromSsize_t(i));
  ------------------
  |  |  315|      8|    do {                                                                \
  |  |  316|      8|        PyObject *__new_const = (O);                                    \
  |  |  317|      8|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (317:13): [True: 0, False: 8]
  |  |  ------------------
  |  |  318|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  319|      0|        }                                                               \
  |  |  320|      8|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (320:13): [True: 0, False: 8]
  |  |  ------------------
  |  |  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|      8|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  325|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (325:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 6131|      8|        }
 6132|    507|        else {
 6133|       |            // The subject may not support negative indexing! Compute a
 6134|       |            // nonnegative index:
 6135|    507|            ADDOP(c, loc, GET_LEN);
  ------------------
  |  |  291|    507|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    507|    do {                    \
  |  |  |  |   52|    507|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 507]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    507|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 507]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6136|    507|            ADDOP_LOAD_CONST_NEW(c, loc, PyLong_FromSsize_t(size - i));
  ------------------
  |  |  315|    507|    do {                                                                \
  |  |  316|    507|        PyObject *__new_const = (O);                                    \
  |  |  317|    507|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (317:13): [True: 0, False: 507]
  |  |  ------------------
  |  |  318|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  319|      0|        }                                                               \
  |  |  320|    507|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (320:13): [True: 0, False: 507]
  |  |  ------------------
  |  |  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|    507|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|    507|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    507|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    507|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  325|    507|    } while (0)
  |  |  ------------------
  |  |  |  Branch (325:14): [Folded, False: 507]
  |  |  ------------------
  ------------------
 6137|    507|            ADDOP_BINARY(c, loc, Sub);
  ------------------
  |  |  434|    507|    RETURN_IF_ERROR(addop_binary((C), (LOC), (BINOP), false))
  |  |  ------------------
  |  |  |  |   51|    507|    do {                    \
  |  |  |  |   52|    507|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 507]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    507|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 507]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6138|    507|        }
 6139|    515|        ADDOP_I(c, loc, BINARY_OP, NB_SUBSCR);
  ------------------
  |  |  277|    515|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    515|    do {                    \
  |  |  |  |   52|    515|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 515]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    515|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 515]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6140|    515|        RETURN_IF_ERROR(codegen_pattern_subpattern(c, pattern, pc));
  ------------------
  |  |   51|    515|    do {                    \
  |  |   52|    515|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 16, False: 499]
  |  |  ------------------
  |  |   53|     16|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     16|#define ERROR -1
  |  |  ------------------
  |  |   54|     16|        }                   \
  |  |   55|    515|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 499]
  |  |  ------------------
  ------------------
 6141|    515|    }
 6142|       |    // Pop the subject, we're done with it:
 6143|    200|    pc->on_top--;
 6144|    200|    ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  291|    200|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    200|    do {                    \
  |  |  |  |   52|    200|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 200]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    200|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 200]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6145|    200|    return SUCCESS;
  ------------------
  |  |   47|    200|#define SUCCESS 0
  ------------------
 6146|    200|}
codegen.c:codegen_pattern_subpattern:
 6152|  2.83k|{
 6153|  2.83k|    int allow_irrefutable = pc->allow_irrefutable;
 6154|  2.83k|    pc->allow_irrefutable = 1;
 6155|  2.83k|    RETURN_IF_ERROR(codegen_pattern(c, p, pc));
  ------------------
  |  |   51|  2.83k|    do {                    \
  |  |   52|  2.83k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 101, False: 2.73k]
  |  |  ------------------
  |  |   53|    101|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|    101|#define ERROR -1
  |  |  ------------------
  |  |   54|    101|        }                   \
  |  |   55|  2.83k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.73k]
  |  |  ------------------
  ------------------
 6156|  2.73k|    pc->allow_irrefutable = allow_irrefutable;
 6157|  2.73k|    return SUCCESS;
  ------------------
  |  |   47|  2.73k|#define SUCCESS 0
  ------------------
 6158|  2.83k|}
codegen.c:pattern_helper_sequence_unpack:
 6093|    643|{
 6094|    643|    RETURN_IF_ERROR(codegen_pattern_unpack_helper(c, loc, patterns));
  ------------------
  |  |   51|    643|    do {                    \
  |  |   52|    643|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 643]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    643|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 643]
  |  |  ------------------
  ------------------
 6095|    643|    Py_ssize_t size = asdl_seq_LEN(patterns);
  ------------------
  |  |   83|    643|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.28k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 643]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6096|       |    // We've now got a bunch of new subjects on the stack. They need to remain
 6097|       |    // there after each subpattern match:
 6098|    643|    pc->on_top += size;
 6099|  2.70k|    for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (6099:28): [True: 2.12k, False: 579]
  ------------------
 6100|       |        // One less item to keep track of each time we loop through:
 6101|  2.12k|        pc->on_top--;
 6102|  2.12k|        pattern_ty pattern = asdl_seq_GET(patterns, i);
  ------------------
  |  |   82|  2.12k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  2.12k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6103|  2.12k|        RETURN_IF_ERROR(codegen_pattern_subpattern(c, pattern, pc));
  ------------------
  |  |   51|  2.12k|    do {                    \
  |  |   52|  2.12k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 64, False: 2.05k]
  |  |  ------------------
  |  |   53|     64|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     64|#define ERROR -1
  |  |  ------------------
  |  |   54|     64|        }                   \
  |  |   55|  2.12k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.05k]
  |  |  ------------------
  ------------------
 6104|  2.12k|    }
 6105|    579|    return SUCCESS;
  ------------------
  |  |   47|    579|#define SUCCESS 0
  ------------------
 6106|    643|}
codegen.c:codegen_pattern_unpack_helper:
 6063|    643|{
 6064|    643|    Py_ssize_t n = asdl_seq_LEN(elts);
  ------------------
  |  |   83|    643|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.28k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 643]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6065|    643|    int seen_star = 0;
 6066|  3.52k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (6066:28): [True: 2.88k, False: 643]
  ------------------
 6067|  2.88k|        pattern_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|  2.88k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  2.88k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6068|  2.88k|        if (elt->kind == MatchStar_kind && !seen_star) {
  ------------------
  |  Branch (6068:13): [True: 26, False: 2.85k]
  |  Branch (6068:44): [True: 26, False: 0]
  ------------------
 6069|     26|            if ((i >= (1 << 8)) ||
  ------------------
  |  Branch (6069:17): [True: 0, False: 26]
  ------------------
 6070|     26|                (n-i-1 >= (INT_MAX >> 8))) {
  ------------------
  |  Branch (6070:17): [True: 0, False: 26]
  ------------------
 6071|      0|                return _PyCompile_Error(c, loc,
 6072|      0|                    "too many expressions in "
 6073|      0|                    "star-unpacking sequence pattern");
 6074|      0|            }
 6075|     26|            ADDOP_I(c, loc, UNPACK_EX, (i + ((n-i-1) << 8)));
  ------------------
  |  |  277|     26|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     26|    do {                    \
  |  |  |  |   52|     26|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 26]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     26|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6076|     26|            seen_star = 1;
 6077|     26|        }
 6078|  2.85k|        else if (elt->kind == MatchStar_kind) {
  ------------------
  |  Branch (6078:18): [True: 0, False: 2.85k]
  ------------------
 6079|      0|            return _PyCompile_Error(c, loc,
 6080|      0|                "multiple starred expressions in sequence pattern");
 6081|      0|        }
 6082|  2.88k|    }
 6083|    643|    if (!seen_star) {
  ------------------
  |  Branch (6083:9): [True: 617, False: 26]
  ------------------
 6084|    617|        ADDOP_I(c, loc, UNPACK_SEQUENCE, n);
  ------------------
  |  |  277|    617|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    617|    do {                    \
  |  |  |  |   52|    617|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 617]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    617|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 617]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6085|    617|    }
 6086|    643|    return SUCCESS;
  ------------------
  |  |   47|    643|#define SUCCESS 0
  ------------------
 6087|    643|}
codegen.c:codegen_pattern_mapping:
 6312|     15|{
 6313|     15|    assert(p->kind == MatchMapping_kind);
  ------------------
  |  Branch (6313:5): [True: 15, False: 0]
  ------------------
 6314|     15|    asdl_expr_seq *keys = p->v.MatchMapping.keys;
 6315|     15|    asdl_pattern_seq *patterns = p->v.MatchMapping.patterns;
 6316|     15|    Py_ssize_t size = asdl_seq_LEN(keys);
  ------------------
  |  |   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: 6, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6317|     15|    Py_ssize_t npatterns = asdl_seq_LEN(patterns);
  ------------------
  |  |   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: 6, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6318|     15|    if (size != npatterns) {
  ------------------
  |  Branch (6318:9): [True: 0, False: 15]
  ------------------
 6319|       |        // AST validator shouldn't let this happen, but if it does,
 6320|       |        // just fail, don't crash out of the interpreter
 6321|      0|        const char * e = "keys (%d) / patterns (%d) length mismatch in mapping pattern";
 6322|      0|        return _PyCompile_Error(c, LOC(p), e, size, npatterns);
  ------------------
  |  |   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 }
  |  |  ------------------
  ------------------
 6323|      0|    }
 6324|       |    // We have a double-star target if "rest" is set
 6325|     15|    PyObject *star_target = p->v.MatchMapping.rest;
 6326|       |    // We need to keep the subject on top during the mapping and length checks:
 6327|     15|    pc->on_top++;
 6328|     15|    ADDOP(c, LOC(p), MATCH_MAPPING);
  ------------------
  |  |  291|     15|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6329|     15|    RETURN_IF_ERROR(jump_to_fail_pop(c, LOC(p), pc, POP_JUMP_IF_FALSE));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 6330|     15|    if (!size && !star_target) {
  ------------------
  |  Branch (6330:9): [True: 6, False: 9]
  |  Branch (6330:18): [True: 6, False: 0]
  ------------------
 6331|       |        // If the pattern is just "{}", we're done! Pop the subject:
 6332|      6|        pc->on_top--;
 6333|      6|        ADDOP(c, LOC(p), POP_TOP);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6334|      6|        return SUCCESS;
  ------------------
  |  |   47|      6|#define SUCCESS 0
  ------------------
 6335|      6|    }
 6336|      9|    if (size) {
  ------------------
  |  Branch (6336:9): [True: 9, False: 0]
  ------------------
 6337|       |        // If the pattern has any keys in it, perform a length check:
 6338|      9|        ADDOP(c, LOC(p), GET_LEN);
  ------------------
  |  |  291|      9|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      9|    do {                    \
  |  |  |  |   52|      9|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      9|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6339|      9|        ADDOP_LOAD_CONST_NEW(c, LOC(p), PyLong_FromSsize_t(size));
  ------------------
  |  |  315|      9|    do {                                                                \
  |  |  316|      9|        PyObject *__new_const = (O);                                    \
  |  |  317|      9|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (317:13): [True: 0, False: 9]
  |  |  ------------------
  |  |  318|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  319|      0|        }                                                               \
  |  |  320|      9|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (320:13): [True: 0, False: 9]
  |  |  ------------------
  |  |  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|      9|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  325|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (325:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
 6340|      9|        ADDOP_COMPARE(c, LOC(p), GtE);
  ------------------
  |  |  431|      9|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|      9|    do {                    \
  |  |  |  |   52|      9|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      9|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6341|      9|        RETURN_IF_ERROR(jump_to_fail_pop(c, LOC(p), pc, POP_JUMP_IF_FALSE));
  ------------------
  |  |   51|      9|    do {                    \
  |  |   52|      9|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 9]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
 6342|      9|    }
 6343|      9|    if (INT_MAX < size - 1) {
  ------------------
  |  Branch (6343:9): [True: 0, False: 9]
  ------------------
 6344|      0|        return _PyCompile_Error(c, LOC(p), "too many sub-patterns in mapping pattern");
  ------------------
  |  |   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 }
  |  |  ------------------
  ------------------
 6345|      0|    }
 6346|       |    // Collect all of the keys into a tuple for MATCH_KEYS and
 6347|       |    // **rest. They can either be dotted names or literals:
 6348|       |
 6349|       |    // Maintaining a set of Constant_kind kind keys allows us to raise a
 6350|       |    // SyntaxError in the case of duplicates.
 6351|      9|    PyObject *seen = PySet_New(NULL);
 6352|      9|    if (seen == NULL) {
  ------------------
  |  Branch (6352:9): [True: 0, False: 9]
  ------------------
 6353|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 6354|      0|    }
 6355|     34|    for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (6355:28): [True: 27, False: 7]
  ------------------
 6356|     27|        if (codegen_pattern_mapping_key(c, seen, p, i) < 0) {
  ------------------
  |  Branch (6356:13): [True: 2, False: 25]
  ------------------
 6357|      2|            Py_DECREF(seen);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6358|      2|            return ERROR;
  ------------------
  |  |   48|      2|#define ERROR -1
  ------------------
 6359|      2|        }
 6360|     27|    }
 6361|      7|    Py_DECREF(seen);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6362|       |
 6363|       |    // all keys have been checked; there are no duplicates
 6364|       |
 6365|      7|    ADDOP_I(c, LOC(p), BUILD_TUPLE, size);
  ------------------
  |  |  277|      7|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      7|    do {                    \
  |  |  |  |   52|      7|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 7]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      7|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6366|      7|    ADDOP(c, LOC(p), MATCH_KEYS);
  ------------------
  |  |  291|      7|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      7|    do {                    \
  |  |  |  |   52|      7|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 7]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      7|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6367|       |    // There's now a tuple of keys and a tuple of values on top of the subject:
 6368|      7|    pc->on_top += 2;
 6369|      7|    ADDOP_I(c, LOC(p), COPY, 1);
  ------------------
  |  |  277|      7|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      7|    do {                    \
  |  |  |  |   52|      7|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 7]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      7|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6370|      7|    ADDOP_LOAD_CONST(c, LOC(p), Py_None);
  ------------------
  |  |  308|      7|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|      7|    do {                    \
  |  |  |  |   52|      7|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 7]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      7|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6371|      7|    ADDOP_I(c, LOC(p), IS_OP, 1);
  ------------------
  |  |  277|      7|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      7|    do {                    \
  |  |  |  |   52|      7|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 7]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      7|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6372|      7|    RETURN_IF_ERROR(jump_to_fail_pop(c, LOC(p), pc, POP_JUMP_IF_FALSE));
  ------------------
  |  |   51|      7|    do {                    \
  |  |   52|      7|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 7]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
 6373|       |    // So far so good. Use that tuple of values on the stack to match
 6374|       |    // sub-patterns against:
 6375|      7|    ADDOP_I(c, LOC(p), UNPACK_SEQUENCE, size);
  ------------------
  |  |  277|      7|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      7|    do {                    \
  |  |  |  |   52|      7|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 7]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      7|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6376|      7|    pc->on_top += size - 1;
 6377|     25|    for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (6377:28): [True: 18, False: 7]
  ------------------
 6378|     18|        pc->on_top--;
 6379|     18|        pattern_ty pattern = asdl_seq_GET(patterns, i);
  ------------------
  |  |   82|     18|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     18|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6380|     18|        RETURN_IF_ERROR(codegen_pattern_subpattern(c, pattern, pc));
  ------------------
  |  |   51|     18|    do {                    \
  |  |   52|     18|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 18]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 6381|     18|    }
 6382|       |    // If we get this far, it's a match! Whatever happens next should consume
 6383|       |    // the tuple of keys and the subject:
 6384|      7|    pc->on_top -= 2;
 6385|      7|    if (star_target) {
  ------------------
  |  Branch (6385:9): [True: 0, False: 7]
  ------------------
 6386|       |        // If we have a starred name, bind a dict of remaining items to it (this may
 6387|       |        // seem a bit inefficient, but keys is rarely big enough to actually impact
 6388|       |        // runtime):
 6389|       |        // rest = dict(TOS1)
 6390|       |        // for key in TOS:
 6391|       |        //     del rest[key]
 6392|      0|        ADDOP_I(c, LOC(p), BUILD_MAP, 0);           // [subject, keys, empty]
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6393|      0|        ADDOP_I(c, LOC(p), SWAP, 3);                // [empty, keys, subject]
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6394|      0|        ADDOP_I(c, LOC(p), DICT_UPDATE, 2);         // [copy, keys]
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6395|      0|        ADDOP_I(c, LOC(p), UNPACK_SEQUENCE, size);  // [copy, keys...]
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6396|      0|        while (size) {
  ------------------
  |  Branch (6396:16): [True: 0, False: 0]
  ------------------
 6397|      0|            ADDOP_I(c, LOC(p), COPY, 1 + size--);   // [copy, keys..., copy]
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6398|      0|            ADDOP_I(c, LOC(p), SWAP, 2);            // [copy, keys..., copy, key]
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6399|      0|            ADDOP(c, LOC(p), DELETE_SUBSCR);        // [copy, keys...]
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6400|      0|        }
 6401|      0|        RETURN_IF_ERROR(codegen_pattern_helper_store_name(c, LOC(p), star_target, pc));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6402|      0|    }
 6403|      7|    else {
 6404|      7|        ADDOP(c, LOC(p), POP_TOP);  // Tuple of keys.
  ------------------
  |  |  291|      7|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      7|    do {                    \
  |  |  |  |   52|      7|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 7]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      7|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6405|      7|        ADDOP(c, LOC(p), POP_TOP);  // Subject.
  ------------------
  |  |  291|      7|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      7|    do {                    \
  |  |  |  |   52|      7|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 7]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      7|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6406|      7|    }
 6407|      7|    return SUCCESS;
  ------------------
  |  |   47|      7|#define SUCCESS 0
  ------------------
 6408|      7|}
codegen.c:codegen_pattern_mapping_key:
 6281|     27|{
 6282|     27|    asdl_expr_seq *keys = p->v.MatchMapping.keys;
 6283|     27|    asdl_pattern_seq *patterns = p->v.MatchMapping.patterns;
 6284|     27|    expr_ty key = asdl_seq_GET(keys, i);
  ------------------
  |  |   82|     27|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     27|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6285|     27|    if (key == NULL) {
  ------------------
  |  Branch (6285:9): [True: 0, False: 27]
  ------------------
 6286|      0|        const char *e = "can't use NULL keys in MatchMapping "
 6287|      0|                        "(set 'rest' parameter instead)";
 6288|      0|        location loc = LOC((pattern_ty) asdl_seq_GET(patterns, i));
  ------------------
  |  |   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 }
  |  |  ------------------
  ------------------
 6289|      0|        return _PyCompile_Error(c, loc, e);
 6290|      0|    }
 6291|       |
 6292|     27|    if (key->kind == Constant_kind) {
  ------------------
  |  Branch (6292:9): [True: 27, False: 0]
  ------------------
 6293|     27|        int in_seen = PySet_Contains(seen, key->v.Constant.value);
 6294|     27|        RETURN_IF_ERROR(in_seen);
  ------------------
  |  |   51|     27|    do {                    \
  |  |   52|     27|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 27]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     27|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 27]
  |  |  ------------------
  ------------------
 6295|     27|        if (in_seen) {
  ------------------
  |  Branch (6295:13): [True: 2, False: 25]
  ------------------
 6296|      2|            const char *e = "mapping pattern checks duplicate key (%R)";
 6297|      2|            return _PyCompile_Error(c, LOC(p), e, key->v.Constant.value);
  ------------------
  |  |   88|      2|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      2|    (_Py_SourceLocation){ \
  |  |  |  |   55|      2|               .lineno = (n)->lineno, \
  |  |  |  |   56|      2|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      2|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      2|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 6298|      2|        }
 6299|     25|        RETURN_IF_ERROR(PySet_Add(seen, key->v.Constant.value));
  ------------------
  |  |   51|     25|    do {                    \
  |  |   52|     25|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 25]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     25|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 25]
  |  |  ------------------
  ------------------
 6300|     25|    }
 6301|      0|    else if (key->kind != Attribute_kind) {
  ------------------
  |  Branch (6301:14): [True: 0, False: 0]
  ------------------
 6302|      0|        const char *e = "mapping pattern keys may only match literals and attribute lookups";
 6303|      0|        return _PyCompile_Error(c, LOC(p), e);
  ------------------
  |  |   88|      0|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 6304|      0|    }
 6305|     25|    VISIT(c, expr, key);
  ------------------
  |  |  453|     25|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     25|    do {                    \
  |  |  |  |   52|     25|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     25|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 25]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6306|     25|    return SUCCESS;
  ------------------
  |  |   47|     25|#define SUCCESS 0
  ------------------
 6307|     25|}
codegen.c:codegen_pattern_helper_store_name:
 6041|  2.45k|{
 6042|  2.45k|    if (n == NULL) {
  ------------------
  |  Branch (6042:9): [True: 480, False: 1.97k]
  ------------------
 6043|    480|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  291|    480|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    480|    do {                    \
  |  |  |  |   52|    480|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 480]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    480|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 480]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6044|    480|        return SUCCESS;
  ------------------
  |  |   47|    480|#define SUCCESS 0
  ------------------
 6045|    480|    }
 6046|       |    // Can't assign to the same name twice:
 6047|  1.97k|    int duplicate = PySequence_Contains(pc->stores, n);
 6048|  1.97k|    RETURN_IF_ERROR(duplicate);
  ------------------
  |  |   51|  1.97k|    do {                    \
  |  |   52|  1.97k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.97k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.97k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.97k]
  |  |  ------------------
  ------------------
 6049|  1.97k|    if (duplicate) {
  ------------------
  |  Branch (6049:9): [True: 24, False: 1.95k]
  ------------------
 6050|     24|        return codegen_error_duplicate_store(c, loc, n);
 6051|     24|    }
 6052|       |    // Rotate this object underneath any items we need to preserve:
 6053|  1.95k|    Py_ssize_t rotations = pc->on_top + PyList_GET_SIZE(pc->stores) + 1;
  ------------------
  |  |   38|  1.95k|#define PyList_GET_SIZE(op) PyList_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6054|  1.95k|    RETURN_IF_ERROR(codegen_pattern_helper_rotate(c, loc, rotations));
  ------------------
  |  |   51|  1.95k|    do {                    \
  |  |   52|  1.95k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.95k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.95k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.95k]
  |  |  ------------------
  ------------------
 6055|  1.95k|    RETURN_IF_ERROR(PyList_Append(pc->stores, n));
  ------------------
  |  |   51|  1.95k|    do {                    \
  |  |   52|  1.95k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.95k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.95k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.95k]
  |  |  ------------------
  ------------------
 6056|  1.95k|    return SUCCESS;
  ------------------
  |  |   47|  1.95k|#define SUCCESS 0
  ------------------
 6057|  1.95k|}
codegen.c:codegen_error_duplicate_store:
 6023|     24|{
 6024|     24|    return _PyCompile_Error(c, loc,
 6025|     24|        "multiple assignments to name %R in pattern", n);
 6026|     24|}
codegen.c:codegen_pattern_helper_rotate:
 6031|  1.95k|{
 6032|  11.2k|    while (1 < count) {
  ------------------
  |  Branch (6032:12): [True: 9.25k, False: 1.95k]
  ------------------
 6033|  9.25k|        ADDOP_I(c, loc, SWAP, count--);
  ------------------
  |  |  277|  9.25k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  9.25k|    do {                    \
  |  |  |  |   52|  9.25k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.25k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.25k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.25k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6034|  9.25k|    }
 6035|  1.95k|    return SUCCESS;
  ------------------
  |  |   47|  1.95k|#define SUCCESS 0
  ------------------
 6036|  1.95k|}
codegen.c:codegen_pattern_class:
 6217|    102|{
 6218|    102|    assert(p->kind == MatchClass_kind);
  ------------------
  |  Branch (6218:5): [True: 102, False: 0]
  ------------------
 6219|    102|    asdl_pattern_seq *patterns = p->v.MatchClass.patterns;
 6220|    102|    asdl_identifier_seq *kwd_attrs = p->v.MatchClass.kwd_attrs;
 6221|    102|    asdl_pattern_seq *kwd_patterns = p->v.MatchClass.kwd_patterns;
 6222|    102|    Py_ssize_t nargs = asdl_seq_LEN(patterns);
  ------------------
  |  |   83|    102|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    204|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 9, False: 93]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6223|    102|    Py_ssize_t nattrs = asdl_seq_LEN(kwd_attrs);
  ------------------
  |  |   83|    102|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    204|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 79, False: 23]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6224|    102|    Py_ssize_t nkwd_patterns = asdl_seq_LEN(kwd_patterns);
  ------------------
  |  |   83|    102|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    204|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 79, False: 23]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6225|    102|    if (nattrs != nkwd_patterns) {
  ------------------
  |  Branch (6225:9): [True: 0, False: 102]
  ------------------
 6226|       |        // AST validator shouldn't let this happen, but if it does,
 6227|       |        // just fail, don't crash out of the interpreter
 6228|      0|        const char * e = "kwd_attrs (%d) / kwd_patterns (%d) length mismatch in class pattern";
 6229|      0|        return _PyCompile_Error(c, LOC(p), e, nattrs, nkwd_patterns);
  ------------------
  |  |   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 }
  |  |  ------------------
  ------------------
 6230|      0|    }
 6231|    102|    if (INT_MAX < nargs || INT_MAX < nargs + nattrs - 1) {
  ------------------
  |  Branch (6231:9): [True: 0, False: 102]
  |  Branch (6231:28): [True: 0, False: 102]
  ------------------
 6232|      0|        const char *e = "too many sub-patterns in class pattern %R";
 6233|      0|        return _PyCompile_Error(c, LOC(p), e, p->v.MatchClass.cls);
  ------------------
  |  |   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 }
  |  |  ------------------
  ------------------
 6234|      0|    }
 6235|    102|    if (nattrs) {
  ------------------
  |  Branch (6235:9): [True: 23, False: 79]
  ------------------
 6236|     23|        RETURN_IF_ERROR(validate_kwd_attrs(c, kwd_attrs, kwd_patterns));
  ------------------
  |  |   51|     23|    do {                    \
  |  |   52|     23|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 8, False: 15]
  |  |  ------------------
  |  |   53|      8|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      8|#define ERROR -1
  |  |  ------------------
  |  |   54|      8|        }                   \
  |  |   55|     23|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 15]
  |  |  ------------------
  ------------------
 6237|     23|    }
 6238|     94|    VISIT(c, expr, p->v.MatchClass.cls);
  ------------------
  |  |  453|     94|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     94|    do {                    \
  |  |  |  |   52|     94|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 94]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     94|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 94]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6239|     94|    PyObject *attr_names = PyTuple_New(nattrs);
 6240|     94|    if (attr_names == NULL) {
  ------------------
  |  Branch (6240:9): [True: 0, False: 94]
  ------------------
 6241|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 6242|      0|    }
 6243|     94|    Py_ssize_t i;
 6244|    123|    for (i = 0; i < nattrs; i++) {
  ------------------
  |  Branch (6244:17): [True: 29, False: 94]
  ------------------
 6245|     29|        PyObject *name = asdl_seq_GET(kwd_attrs, i);
  ------------------
  |  |   82|     29|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     29|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6246|     29|        PyTuple_SET_ITEM(attr_names, i, Py_NewRef(name));
  ------------------
  |  |   40|     29|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6247|     29|    }
 6248|     94|    ADDOP_LOAD_CONST_NEW(c, LOC(p), attr_names);
  ------------------
  |  |  315|     94|    do {                                                                \
  |  |  316|     94|        PyObject *__new_const = (O);                                    \
  |  |  317|     94|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (317:13): [True: 0, False: 94]
  |  |  ------------------
  |  |  318|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  319|      0|        }                                                               \
  |  |  320|     94|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (320:13): [True: 0, False: 94]
  |  |  ------------------
  |  |  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|     94|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  325|     94|    } while (0)
  |  |  ------------------
  |  |  |  Branch (325:14): [Folded, False: 94]
  |  |  ------------------
  ------------------
 6249|     94|    ADDOP_I(c, LOC(p), MATCH_CLASS, nargs);
  ------------------
  |  |  277|     94|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     94|    do {                    \
  |  |  |  |   52|     94|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 94]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     94|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 94]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6250|     94|    ADDOP_I(c, LOC(p), COPY, 1);
  ------------------
  |  |  277|     94|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     94|    do {                    \
  |  |  |  |   52|     94|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 94]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     94|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 94]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6251|     94|    ADDOP_LOAD_CONST(c, LOC(p), Py_None);
  ------------------
  |  |  308|     94|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     94|    do {                    \
  |  |  |  |   52|     94|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 94]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     94|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 94]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6252|     94|    ADDOP_I(c, LOC(p), IS_OP, 1);
  ------------------
  |  |  277|     94|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     94|    do {                    \
  |  |  |  |   52|     94|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 94]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     94|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 94]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6253|       |    // TOS is now a tuple of (nargs + nattrs) attributes (or None):
 6254|     94|    pc->on_top++;
 6255|     94|    RETURN_IF_ERROR(jump_to_fail_pop(c, LOC(p), pc, POP_JUMP_IF_FALSE));
  ------------------
  |  |   51|     94|    do {                    \
  |  |   52|     94|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 94]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     94|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 94]
  |  |  ------------------
  ------------------
 6256|     94|    ADDOP_I(c, LOC(p), UNPACK_SEQUENCE, nargs + nattrs);
  ------------------
  |  |  277|     94|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     94|    do {                    \
  |  |  |  |   52|     94|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 94]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     94|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 94]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6257|     94|    pc->on_top += nargs + nattrs - 1;
 6258|    256|    for (i = 0; i < nargs + nattrs; i++) {
  ------------------
  |  Branch (6258:17): [True: 183, False: 73]
  ------------------
 6259|    183|        pc->on_top--;
 6260|    183|        pattern_ty pattern;
 6261|    183|        if (i < nargs) {
  ------------------
  |  Branch (6261:13): [True: 162, False: 21]
  ------------------
 6262|       |            // Positional:
 6263|    162|            pattern = asdl_seq_GET(patterns, i);
  ------------------
  |  |   82|    162|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    162|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6264|    162|        }
 6265|     21|        else {
 6266|       |            // Keyword:
 6267|     21|            pattern = asdl_seq_GET(kwd_patterns, i - nargs);
  ------------------
  |  |   82|     21|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     21|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6268|     21|        }
 6269|    183|        if (WILDCARD_CHECK(pattern)) {
  ------------------
  |  | 5953|    183|    ((N)->kind == MatchAs_kind && !(N)->v.MatchAs.name)
  |  |  ------------------
  |  |  |  Branch (5953:6): [True: 110, False: 73]
  |  |  |  Branch (5953:35): [True: 3, False: 107]
  |  |  ------------------
  ------------------
 6270|      3|            ADDOP(c, LOC(p), POP_TOP);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6271|      3|            continue;
 6272|      3|        }
 6273|    180|        RETURN_IF_ERROR(codegen_pattern_subpattern(c, pattern, pc));
  ------------------
  |  |   51|    180|    do {                    \
  |  |   52|    180|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 21, False: 159]
  |  |  ------------------
  |  |   53|     21|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     21|#define ERROR -1
  |  |  ------------------
  |  |   54|     21|        }                   \
  |  |   55|    180|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 159]
  |  |  ------------------
  ------------------
 6274|    180|    }
 6275|       |    // Success! Pop the tuple of attributes:
 6276|     73|    return SUCCESS;
  ------------------
  |  |   47|     73|#define SUCCESS 0
  ------------------
 6277|     94|}
codegen.c:validate_kwd_attrs:
 6197|     23|{
 6198|       |    // Any errors will point to the pattern rather than the arg name as the
 6199|       |    // parser is only supplying identifiers rather than Name or keyword nodes
 6200|     23|    Py_ssize_t nattrs = asdl_seq_LEN(attrs);
  ------------------
  |  |   83|     23|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     46|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 23]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6201|     60|    for (Py_ssize_t i = 0; i < nattrs; i++) {
  ------------------
  |  Branch (6201:28): [True: 45, False: 15]
  ------------------
 6202|     45|        identifier attr = ((identifier)asdl_seq_GET(attrs, i));
  ------------------
  |  |   82|     45|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     45|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6203|    136|        for (Py_ssize_t j = i + 1; j < nattrs; j++) {
  ------------------
  |  Branch (6203:36): [True: 99, False: 37]
  ------------------
 6204|     99|            identifier other = ((identifier)asdl_seq_GET(attrs, j));
  ------------------
  |  |   82|     99|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     99|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6205|     99|            if (!PyUnicode_Compare(attr, other)) {
  ------------------
  |  Branch (6205:17): [True: 8, False: 91]
  ------------------
 6206|      8|                location loc = LOC((pattern_ty) asdl_seq_GET(patterns, j));
  ------------------
  |  |   88|      8|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      8|    (_Py_SourceLocation){ \
  |  |  |  |   55|      8|               .lineno = (n)->lineno, \
  |  |  |  |   56|      8|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      8|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      8|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 6207|      8|                return _PyCompile_Error(c, loc, "attribute name repeated "
 6208|      8|                                                "in class pattern: %U", attr);
 6209|      8|            }
 6210|     99|        }
 6211|     45|    }
 6212|     15|    return SUCCESS;
  ------------------
  |  |   47|     15|#define SUCCESS 0
  ------------------
 6213|     23|}
codegen.c:codegen_pattern_star:
 6188|     16|{
 6189|     16|    assert(p->kind == MatchStar_kind);
  ------------------
  |  Branch (6189:5): [True: 16, False: 0]
  ------------------
 6190|     16|    RETURN_IF_ERROR(
  ------------------
  |  |   51|     16|    do {                    \
  |  |   52|     16|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 15]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 15]
  |  |  ------------------
  ------------------
 6191|     16|        codegen_pattern_helper_store_name(c, LOC(p), p->v.MatchStar.name, pc));
 6192|     15|    return SUCCESS;
  ------------------
  |  |   47|     15|#define SUCCESS 0
  ------------------
 6193|     16|}
codegen.c:codegen_pattern_as:
 6162|  2.48k|{
 6163|  2.48k|    assert(p->kind == MatchAs_kind);
  ------------------
  |  Branch (6163:5): [True: 2.48k, False: 0]
  ------------------
 6164|  2.48k|    if (p->v.MatchAs.pattern == NULL) {
  ------------------
  |  Branch (6164:9): [True: 2.45k, False: 32]
  ------------------
 6165|       |        // An irrefutable match:
 6166|  2.45k|        if (!pc->allow_irrefutable) {
  ------------------
  |  Branch (6166:13): [True: 36, False: 2.41k]
  ------------------
 6167|     36|            if (p->v.MatchAs.name) {
  ------------------
  |  Branch (6167:17): [True: 33, False: 3]
  ------------------
 6168|     33|                const char *e = "name capture %R makes remaining patterns unreachable";
 6169|     33|                return _PyCompile_Error(c, LOC(p), e, p->v.MatchAs.name);
  ------------------
  |  |   88|     33|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     33|    (_Py_SourceLocation){ \
  |  |  |  |   55|     33|               .lineno = (n)->lineno, \
  |  |  |  |   56|     33|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     33|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     33|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 6170|     33|            }
 6171|      3|            const char *e = "wildcard makes remaining patterns unreachable";
 6172|      3|            return _PyCompile_Error(c, LOC(p), 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 }
  |  |  ------------------
  ------------------
 6173|     36|        }
 6174|  2.41k|        return codegen_pattern_helper_store_name(c, LOC(p), p->v.MatchAs.name, pc);
  ------------------
  |  |   88|  2.41k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  2.41k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  2.41k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  2.41k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  2.41k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  2.41k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 6175|  2.45k|    }
 6176|       |    // Need to make a copy for (possibly) storing later:
 6177|     32|    pc->on_top++;
 6178|     32|    ADDOP_I(c, LOC(p), COPY, 1);
  ------------------
  |  |  277|     32|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     32|    do {                    \
  |  |  |  |   52|     32|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 32]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     32|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6179|     32|    RETURN_IF_ERROR(codegen_pattern(c, p->v.MatchAs.pattern, pc));
  ------------------
  |  |   51|     32|    do {                    \
  |  |   52|     32|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 3, False: 29]
  |  |  ------------------
  |  |   53|      3|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      3|#define ERROR -1
  |  |  ------------------
  |  |   54|      3|        }                   \
  |  |   55|     32|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 29]
  |  |  ------------------
  ------------------
 6180|       |    // Success! Store it:
 6181|     29|    pc->on_top--;
 6182|     29|    RETURN_IF_ERROR(codegen_pattern_helper_store_name(c, LOC(p), p->v.MatchAs.name, pc));
  ------------------
  |  |   51|     29|    do {                    \
  |  |   52|     29|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 4, False: 25]
  |  |  ------------------
  |  |   53|      4|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      4|#define ERROR -1
  |  |  ------------------
  |  |   54|      4|        }                   \
  |  |   55|     29|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 25]
  |  |  ------------------
  ------------------
 6183|     25|    return SUCCESS;
  ------------------
  |  |   47|     25|#define SUCCESS 0
  ------------------
 6184|     29|}
codegen.c:codegen_pattern_or:
 6412|     83|{
 6413|     83|    assert(p->kind == MatchOr_kind);
  ------------------
  |  Branch (6413:5): [True: 83, False: 0]
  ------------------
 6414|     83|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|     83|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     83|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     83|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     83|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     83|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 83]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 6415|     83|    Py_ssize_t size = asdl_seq_LEN(p->v.MatchOr.patterns);
  ------------------
  |  |   83|     83|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    166|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 83]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6416|     83|    assert(size > 1);
  ------------------
  |  Branch (6416:5): [True: 83, False: 0]
  ------------------
 6417|       |    // We're going to be messing with pc. Keep the original info handy:
 6418|     83|    pattern_context old_pc = *pc;
 6419|     83|    Py_INCREF(pc->stores);
  ------------------
  |  |  310|     83|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     83|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     83|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6420|       |    // control is the list of names bound by the first alternative. It is used
 6421|       |    // for checking different name bindings in alternatives, and for correcting
 6422|       |    // the order in which extracted elements are placed on the stack.
 6423|     83|    PyObject *control = NULL;
 6424|       |    // NOTE: We can't use returning macros anymore! goto error on error.
 6425|    172|    for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (6425:28): [True: 139, False: 33]
  ------------------
 6426|    139|        pattern_ty alt = asdl_seq_GET(p->v.MatchOr.patterns, i);
  ------------------
  |  |   82|    139|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    139|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6427|    139|        PyObject *pc_stores = PyList_New(0);
 6428|    139|        if (pc_stores == NULL) {
  ------------------
  |  Branch (6428:13): [True: 0, False: 139]
  ------------------
 6429|      0|            goto error;
 6430|      0|        }
 6431|    139|        Py_SETREF(pc->stores, pc_stores);
  ------------------
  |  |  354|    139|    do { \
  |  |  355|    139|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    139|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|    139|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    139|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|    139|        *_tmp_dst_ptr = (src); \
  |  |  358|    139|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|    139|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    139|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    139|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|    139|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 139]
  |  |  ------------------
  ------------------
 6432|       |        // An irrefutable sub-pattern must be last, if it is allowed at all:
 6433|    139|        pc->allow_irrefutable = (i == size - 1) && old_pc.allow_irrefutable;
  ------------------
  |  Branch (6433:33): [True: 50, False: 89]
  |  Branch (6433:52): [True: 50, False: 0]
  ------------------
 6434|    139|        pc->fail_pop = NULL;
 6435|    139|        pc->fail_pop_size = 0;
 6436|    139|        pc->on_top = 0;
 6437|    139|        if (codegen_addop_i(INSTR_SEQUENCE(c), COPY, 1, LOC(alt)) < 0 ||
  ------------------
  |  |   68|    139|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  ------------------
                      if (codegen_addop_i(INSTR_SEQUENCE(c), COPY, 1, LOC(alt)) < 0 ||
  ------------------
  |  |   70|    139|#define COPY                                    57
  ------------------
                      if (codegen_addop_i(INSTR_SEQUENCE(c), COPY, 1, LOC(alt)) < 0 ||
  ------------------
  |  |   88|    139|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    139|    (_Py_SourceLocation){ \
  |  |  |  |   55|    139|               .lineno = (n)->lineno, \
  |  |  |  |   56|    139|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    139|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    139|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (6437:13): [True: 0, False: 139]
  ------------------
 6438|    139|            codegen_pattern(c, alt, pc) < 0) {
  ------------------
  |  Branch (6438:13): [True: 37, False: 102]
  ------------------
 6439|     37|            goto error;
 6440|     37|        }
 6441|       |        // Success!
 6442|    102|        Py_ssize_t nstores = PyList_GET_SIZE(pc->stores);
  ------------------
  |  |   38|    102|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6443|    102|        if (!i) {
  ------------------
  |  Branch (6443:13): [True: 51, False: 51]
  ------------------
 6444|       |            // This is the first alternative, so save its stores as a "control"
 6445|       |            // for the others (they can't bind a different set of names, and
 6446|       |            // might need to be reordered):
 6447|     51|            assert(control == NULL);
  ------------------
  |  Branch (6447:13): [True: 51, False: 0]
  ------------------
 6448|     51|            control = Py_NewRef(pc->stores);
  ------------------
  |  |  550|     51|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6449|     51|        }
 6450|     51|        else if (nstores != PyList_GET_SIZE(control)) {
  ------------------
  |  |   38|     51|#define PyList_GET_SIZE(op) PyList_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 (6450:18): [True: 8, False: 43]
  ------------------
 6451|      8|            goto diff;
 6452|      8|        }
 6453|     43|        else if (nstores) {
  ------------------
  |  Branch (6453:18): [True: 6, False: 37]
  ------------------
 6454|       |            // There were captures. Check to see if we differ from control:
 6455|      6|            Py_ssize_t icontrol = nstores;
 6456|      8|            while (icontrol--) {
  ------------------
  |  Branch (6456:20): [True: 7, False: 1]
  ------------------
 6457|      7|                PyObject *name = PyList_GET_ITEM(control, icontrol);
  ------------------
  |  |   40|      7|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      7|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6457:34): [True: 7, False: 0]
  ------------------
 6458|      0|                Py_ssize_t istores = PySequence_Index(pc->stores, name);
 6459|      7|                if (istores < 0) {
  ------------------
  |  Branch (6459:21): [True: 5, False: 2]
  ------------------
 6460|      5|                    PyErr_Clear();
 6461|      5|                    goto diff;
 6462|      5|                }
 6463|      2|                if (icontrol != istores) {
  ------------------
  |  Branch (6463:21): [True: 0, False: 2]
  ------------------
 6464|       |                    // Reorder the names on the stack to match the order of the
 6465|       |                    // names in control. There's probably a better way of doing
 6466|       |                    // this; the current solution is potentially very
 6467|       |                    // inefficient when each alternative subpattern binds lots
 6468|       |                    // of names in different orders. It's fine for reasonable
 6469|       |                    // cases, though, and the peephole optimizer will ensure
 6470|       |                    // that the final code is as efficient as possible.
 6471|      0|                    assert(istores < icontrol);
  ------------------
  |  Branch (6471:21): [True: 0, False: 0]
  ------------------
 6472|      0|                    Py_ssize_t rotations = istores + 1;
 6473|       |                    // Perform the same rotation on pc->stores:
 6474|      0|                    PyObject *rotated = PyList_GetSlice(pc->stores, 0,
 6475|      0|                                                        rotations);
 6476|      0|                    if (rotated == NULL ||
  ------------------
  |  Branch (6476:25): [True: 0, False: 0]
  ------------------
 6477|      0|                        PyList_SetSlice(pc->stores, 0, rotations, NULL) ||
  ------------------
  |  Branch (6477:25): [True: 0, False: 0]
  ------------------
 6478|      0|                        PyList_SetSlice(pc->stores, icontrol - istores,
  ------------------
  |  Branch (6478:25): [True: 0, False: 0]
  ------------------
 6479|      0|                                        icontrol - istores, rotated))
 6480|      0|                    {
 6481|      0|                        Py_XDECREF(rotated);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6482|      0|                        goto error;
 6483|      0|                    }
 6484|      0|                    Py_DECREF(rotated);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6485|       |                    // That just did:
 6486|       |                    // rotated = pc_stores[:rotations]
 6487|       |                    // del pc_stores[:rotations]
 6488|       |                    // pc_stores[icontrol-istores:icontrol-istores] = rotated
 6489|       |                    // Do the same thing to the stack, using several
 6490|       |                    // rotations:
 6491|      0|                    while (rotations--) {
  ------------------
  |  Branch (6491:28): [True: 0, False: 0]
  ------------------
 6492|      0|                        if (codegen_pattern_helper_rotate(c, LOC(alt), icontrol + 1) < 0) {
  ------------------
  |  |   88|      0|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (6492:29): [True: 0, False: 0]
  ------------------
 6493|      0|                            goto error;
 6494|      0|                        }
 6495|      0|                    }
 6496|      0|                }
 6497|      2|            }
 6498|      6|        }
 6499|    102|        assert(control);
  ------------------
  |  Branch (6499:9): [True: 89, False: 0]
  ------------------
 6500|     89|        if (codegen_addop_j(INSTR_SEQUENCE(c), LOC(alt), JUMP, end) < 0 ||
  ------------------
  |  |   68|     89|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  ------------------
                      if (codegen_addop_j(INSTR_SEQUENCE(c), LOC(alt), JUMP, end) < 0 ||
  ------------------
  |  |   88|     89|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     89|    (_Py_SourceLocation){ \
  |  |  |  |   55|     89|               .lineno = (n)->lineno, \
  |  |  |  |   56|     89|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     89|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     89|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
                      if (codegen_addop_j(INSTR_SEQUENCE(c), LOC(alt), JUMP, end) < 0 ||
  ------------------
  |  |  245|     89|#define JUMP                                   257
  ------------------
  |  Branch (6500:13): [True: 0, False: 89]
  ------------------
 6501|     89|            emit_and_reset_fail_pop(c, LOC(alt), pc) < 0)
  ------------------
  |  |   88|     89|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     89|    (_Py_SourceLocation){ \
  |  |  |  |   55|     89|               .lineno = (n)->lineno, \
  |  |  |  |   56|     89|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     89|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     89|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (6501:13): [True: 0, False: 89]
  ------------------
 6502|      0|        {
 6503|      0|            goto error;
 6504|      0|        }
 6505|     89|    }
 6506|     33|    Py_DECREF(pc->stores);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6507|     33|    *pc = old_pc;
 6508|     33|    Py_INCREF(pc->stores);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6509|       |    // Need to NULL this for the PyMem_Free call in the error block.
 6510|     33|    old_pc.fail_pop = NULL;
 6511|       |    // No match. Pop the remaining copy of the subject and fail:
 6512|     33|    if (codegen_addop_noarg(INSTR_SEQUENCE(c), POP_TOP, LOC(p)) < 0 ||
  ------------------
  |  |   68|     33|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  ------------------
                  if (codegen_addop_noarg(INSTR_SEQUENCE(c), POP_TOP, LOC(p)) < 0 ||
  ------------------
  |  |   42|     33|#define POP_TOP                                 29
  ------------------
                  if (codegen_addop_noarg(INSTR_SEQUENCE(c), POP_TOP, LOC(p)) < 0 ||
  ------------------
  |  |   88|     33|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     33|    (_Py_SourceLocation){ \
  |  |  |  |   55|     33|               .lineno = (n)->lineno, \
  |  |  |  |   56|     33|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     33|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     33|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (6512:9): [True: 0, False: 33]
  ------------------
 6513|     33|        jump_to_fail_pop(c, LOC(p), pc, JUMP) < 0) {
  ------------------
  |  |   88|     33|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     33|    (_Py_SourceLocation){ \
  |  |  |  |   55|     33|               .lineno = (n)->lineno, \
  |  |  |  |   56|     33|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     33|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     33|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
                      jump_to_fail_pop(c, LOC(p), pc, JUMP) < 0) {
  ------------------
  |  |  245|     33|#define JUMP                                   257
  ------------------
  |  Branch (6513:9): [True: 0, False: 33]
  ------------------
 6514|      0|        goto error;
 6515|      0|    }
 6516|       |
 6517|     33|    USE_LABEL(c, end);
  ------------------
  |  |   97|     33|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     33|    do {                    \
  |  |  |  |   52|     33|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 33]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     33|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 33]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6518|     33|    Py_ssize_t nstores = PyList_GET_SIZE(control);
  ------------------
  |  |   38|     33|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6519|       |    // There's a bunch of stuff on the stack between where the new stores
 6520|       |    // are and where they need to be:
 6521|       |    // - The other stores.
 6522|       |    // - A copy of the subject.
 6523|       |    // - Anything else that may be on top of the stack.
 6524|       |    // - Any previous stores we've already stashed away on the stack.
 6525|     33|    Py_ssize_t nrots = nstores + 1 + pc->on_top + PyList_GET_SIZE(pc->stores);
  ------------------
  |  |   38|     33|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6526|     35|    for (Py_ssize_t i = 0; i < nstores; i++) {
  ------------------
  |  Branch (6526:28): [True: 2, False: 33]
  ------------------
 6527|       |        // Rotate this capture to its proper place on the stack:
 6528|      2|        if (codegen_pattern_helper_rotate(c, LOC(p), nrots) < 0) {
  ------------------
  |  |   88|      2|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      2|    (_Py_SourceLocation){ \
  |  |  |  |   55|      2|               .lineno = (n)->lineno, \
  |  |  |  |   56|      2|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      2|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      2|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (6528:13): [True: 0, False: 2]
  ------------------
 6529|      0|            goto error;
 6530|      0|        }
 6531|       |        // Update the list of previous stores with this new name, checking for
 6532|       |        // duplicates:
 6533|      2|        PyObject *name = PyList_GET_ITEM(control, i);
  ------------------
  |  |   40|      2|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      2|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6533:26): [True: 2, False: 0]
  ------------------
 6534|      0|        int dupe = PySequence_Contains(pc->stores, name);
 6535|      2|        if (dupe < 0) {
  ------------------
  |  Branch (6535:13): [True: 0, False: 2]
  ------------------
 6536|      0|            goto error;
 6537|      0|        }
 6538|      2|        if (dupe) {
  ------------------
  |  Branch (6538:13): [True: 0, False: 2]
  ------------------
 6539|      0|            codegen_error_duplicate_store(c, LOC(p), name);
  ------------------
  |  |   88|      0|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 6540|      0|            goto error;
 6541|      0|        }
 6542|      2|        if (PyList_Append(pc->stores, name)) {
  ------------------
  |  Branch (6542:13): [True: 0, False: 2]
  ------------------
 6543|      0|            goto error;
 6544|      0|        }
 6545|      2|    }
 6546|     33|    Py_DECREF(old_pc.stores);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6547|     33|    Py_DECREF(control);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6548|       |    // NOTE: Returning macros are safe again.
 6549|       |    // Pop the copy of the subject:
 6550|     33|    ADDOP(c, LOC(p), POP_TOP);
  ------------------
  |  |  291|     33|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     33|    do {                    \
  |  |  |  |   52|     33|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 33]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     33|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 33]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6551|     33|    return SUCCESS;
  ------------------
  |  |   47|     33|#define SUCCESS 0
  ------------------
 6552|     13|diff:
 6553|     13|    _PyCompile_Error(c, LOC(p), "alternative patterns bind different names");
  ------------------
  |  |   88|     13|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     13|    (_Py_SourceLocation){ \
  |  |  |  |   55|     13|               .lineno = (n)->lineno, \
  |  |  |  |   56|     13|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     13|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     13|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 6554|     50|error:
 6555|     50|    PyMem_Free(old_pc.fail_pop);
 6556|     50|    Py_DECREF(old_pc.stores);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6557|     50|    Py_XDECREF(control);
  ------------------
  |  |  524|     50|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6558|     50|    return ERROR;
  ------------------
  |  |   48|     50|#define ERROR -1
  ------------------
 6559|     13|}
codegen.c:ensure_fail_pop:
 5965|  2.22k|{
 5966|  2.22k|    Py_ssize_t size = n + 1;
 5967|  2.22k|    if (size <= pc->fail_pop_size) {
  ------------------
  |  Branch (5967:9): [True: 1.04k, False: 1.17k]
  ------------------
 5968|  1.04k|        return SUCCESS;
  ------------------
  |  |   47|  1.04k|#define SUCCESS 0
  ------------------
 5969|  1.04k|    }
 5970|  1.17k|    Py_ssize_t needed = sizeof(jump_target_label) * size;
 5971|  1.17k|    jump_target_label *resized = PyMem_Realloc(pc->fail_pop, needed);
 5972|  1.17k|    if (resized == NULL) {
  ------------------
  |  Branch (5972:9): [True: 0, False: 1.17k]
  ------------------
 5973|      0|        PyErr_NoMemory();
 5974|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 5975|      0|    }
 5976|  1.17k|    pc->fail_pop = resized;
 5977|  4.27k|    while (pc->fail_pop_size < size) {
  ------------------
  |  Branch (5977:12): [True: 3.09k, False: 1.17k]
  ------------------
 5978|  3.09k|        NEW_JUMP_TARGET_LABEL(c, new_block);
  ------------------
  |  |   91|  3.09k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  3.09k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  3.09k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  3.09k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  3.09k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 3.09k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 5979|  3.09k|        pc->fail_pop[pc->fail_pop_size++] = new_block;
 5980|  3.09k|    }
 5981|  1.17k|    return SUCCESS;
  ------------------
  |  |   47|  1.17k|#define SUCCESS 0
  ------------------
 5982|  1.17k|}
codegen.c:emit_and_reset_fail_pop:
 6001|    889|{
 6002|    889|    if (!pc->fail_pop_size) {
  ------------------
  |  Branch (6002:9): [True: 17, False: 872]
  ------------------
 6003|     17|        assert(pc->fail_pop == NULL);
  ------------------
  |  Branch (6003:9): [True: 17, False: 0]
  ------------------
 6004|     17|        return SUCCESS;
  ------------------
  |  |   47|     17|#define SUCCESS 0
  ------------------
 6005|     17|    }
 6006|  1.93k|    while (--pc->fail_pop_size) {
  ------------------
  |  Branch (6006:12): [True: 1.05k, False: 872]
  ------------------
 6007|  1.05k|        USE_LABEL(c, pc->fail_pop[pc->fail_pop_size]);
  ------------------
  |  |   97|  1.05k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.05k|    do {                    \
  |  |  |  |   52|  1.05k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.05k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.05k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6008|  1.05k|        if (codegen_addop_noarg(INSTR_SEQUENCE(c), POP_TOP, loc) < 0) {
  ------------------
  |  |   68|  1.05k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  ------------------
                      if (codegen_addop_noarg(INSTR_SEQUENCE(c), POP_TOP, loc) < 0) {
  ------------------
  |  |   42|  1.05k|#define POP_TOP                                 29
  ------------------
  |  Branch (6008:13): [True: 0, False: 1.05k]
  ------------------
 6009|      0|            pc->fail_pop_size = 0;
 6010|      0|            PyMem_Free(pc->fail_pop);
 6011|      0|            pc->fail_pop = NULL;
 6012|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 6013|      0|        }
 6014|  1.05k|    }
 6015|    872|    USE_LABEL(c, pc->fail_pop[0]);
  ------------------
  |  |   97|    872|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    872|    do {                    \
  |  |  |  |   52|    872|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 872]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    872|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 872]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6016|    872|    PyMem_Free(pc->fail_pop);
 6017|    872|    pc->fail_pop = NULL;
 6018|    872|    return SUCCESS;
  ------------------
  |  |   47|    872|#define SUCCESS 0
  ------------------
 6019|    872|}
codegen.c:codegen_try:
 2850|  2.50k|codegen_try(compiler *c, stmt_ty s) {
 2851|  2.50k|    if (s->v.Try.finalbody && asdl_seq_LEN(s->v.Try.finalbody))
  ------------------
  |  |   83|  2.06k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  4.13k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 2.06k, False: 0]
  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.06k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2851:9): [True: 2.06k, False: 440]
  ------------------
 2852|  2.06k|        return codegen_try_finally(c, s);
 2853|    440|    else
 2854|    440|        return codegen_try_except(c, s);
 2855|  2.50k|}
codegen.c:codegen_try_finally:
 2370|  2.06k|{
 2371|  2.06k|    location loc = LOC(s);
  ------------------
  |  |   88|  2.06k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  2.06k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  2.06k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  2.06k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  2.06k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  2.06k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2372|       |
 2373|  2.06k|    NEW_JUMP_TARGET_LABEL(c, body);
  ------------------
  |  |   91|  2.06k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  2.06k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  2.06k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  2.06k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  2.06k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 2.06k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2374|  2.06k|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|  2.06k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  2.06k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  2.06k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  2.06k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  2.06k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 2.06k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2375|  2.06k|    NEW_JUMP_TARGET_LABEL(c, exit);
  ------------------
  |  |   91|  2.06k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  2.06k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  2.06k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  2.06k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  2.06k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 2.06k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2376|  2.06k|    NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   91|  2.06k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  2.06k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  2.06k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  2.06k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  2.06k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 2.06k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2377|       |
 2378|       |    /* `try` block */
 2379|  2.06k|    ADDOP_JUMP(c, loc, SETUP_FINALLY, end);
  ------------------
  |  |  428|  2.06k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  2.06k|    do {                    \
  |  |  |  |   52|  2.06k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.06k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.06k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.06k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2380|       |
 2381|  2.06k|    USE_LABEL(c, body);
  ------------------
  |  |   97|  2.06k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  2.06k|    do {                    \
  |  |  |  |   52|  2.06k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.06k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.06k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.06k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2382|  2.06k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  2.06k|    do {                    \
  |  |   52|  2.06k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.06k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.06k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.06k]
  |  |  ------------------
  ------------------
 2383|  2.06k|        _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_FINALLY_TRY, body, end,
 2384|  2.06k|                              s->v.Try.finalbody));
 2385|       |
 2386|  2.06k|    if (s->v.Try.handlers && asdl_seq_LEN(s->v.Try.handlers)) {
  ------------------
  |  |   83|    761|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.52k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 761, False: 0]
  |  |  |  |  |  Branch (277:37): [True: 0, False: 761]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2386:9): [True: 761, False: 1.30k]
  ------------------
 2387|    761|        RETURN_IF_ERROR(codegen_try_except(c, s));
  ------------------
  |  |   51|    761|    do {                    \
  |  |   52|    761|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 2, False: 759]
  |  |  ------------------
  |  |   53|      2|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      2|#define ERROR -1
  |  |  ------------------
  |  |   54|      2|        }                   \
  |  |   55|    761|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 759]
  |  |  ------------------
  ------------------
 2388|    761|    }
 2389|  1.30k|    else {
 2390|  1.30k|        VISIT_SEQ(c, stmt, s->v.Try.body);
  ------------------
  |  |  459|  1.30k|    do {                                                                    \
  |  |  460|  1.30k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|  2.64k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  2.64k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  5.28k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.64k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 1.34k, False: 1.30k]
  |  |  ------------------
  |  |  462|  1.34k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  1.34k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.34k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|  1.34k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  1.34k|    do {                    \
  |  |  |  |   52|  1.34k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 8, False: 1.33k]
  |  |  |  |  ------------------
  |  |  |  |   53|      8|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      8|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      8|        }                   \
  |  |  |  |   55|  1.34k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.33k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|  1.34k|        }                                                                   \
  |  |  465|  1.30k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 1.30k]
  |  |  ------------------
  ------------------
 2391|  1.30k|    }
 2392|  2.05k|    ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  291|  2.05k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.05k|    do {                    \
  |  |  |  |   52|  2.05k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.05k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.05k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2393|  2.05k|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_FINALLY_TRY, body);
 2394|  2.05k|    VISIT_SEQ(c, stmt, s->v.Try.finalbody);
  ------------------
  |  |  459|  2.05k|    do {                                                                    \
  |  |  460|  2.05k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|  7.02k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  7.02k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  14.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 7.02k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 4.99k, False: 2.03k]
  |  |  ------------------
  |  |  462|  4.99k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  4.99k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.99k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|  4.99k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  4.99k|    do {                    \
  |  |  |  |   52|  4.99k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 26, False: 4.97k]
  |  |  |  |  ------------------
  |  |  |  |   53|     26|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     26|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     26|        }                   \
  |  |  |  |   55|  4.99k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.97k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|  4.99k|        }                                                                   \
  |  |  465|  2.05k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 2.03k]
  |  |  ------------------
  ------------------
 2395|       |
 2396|  2.03k|    ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, exit);
  ------------------
  |  |  428|  2.03k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  2.03k|    do {                    \
  |  |  |  |   52|  2.03k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.03k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.03k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.03k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2397|       |    /* `finally` block */
 2398|       |
 2399|  2.03k|    USE_LABEL(c, end);
  ------------------
  |  |   97|  2.03k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  2.03k|    do {                    \
  |  |  |  |   52|  2.03k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.03k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.03k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.03k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2400|       |
 2401|  2.03k|    loc = NO_LOCATION;
 2402|  2.03k|    ADDOP_JUMP(c, loc, SETUP_CLEANUP, cleanup);
  ------------------
  |  |  428|  2.03k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  2.03k|    do {                    \
  |  |  |  |   52|  2.03k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.03k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.03k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.03k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2403|  2.03k|    ADDOP(c, loc, PUSH_EXC_INFO);
  ------------------
  |  |  291|  2.03k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.03k|    do {                    \
  |  |  |  |   52|  2.03k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.03k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.03k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.03k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2404|  2.03k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  2.03k|    do {                    \
  |  |   52|  2.03k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.03k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.03k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.03k]
  |  |  ------------------
  ------------------
 2405|  2.03k|        _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_FINALLY_END, end, NO_LABEL, NULL));
 2406|  2.03k|    VISIT_SEQ(c, stmt, s->v.Try.finalbody);
  ------------------
  |  |  459|  2.03k|    do {                                                                    \
  |  |  460|  2.03k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|  6.98k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  6.98k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  13.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 6.98k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 4.94k, False: 2.03k]
  |  |  ------------------
  |  |  462|  4.94k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  4.94k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.94k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|  4.94k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  4.94k|    do {                    \
  |  |  |  |   52|  4.94k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.94k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.94k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.94k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|  4.94k|        }                                                                   \
  |  |  465|  2.03k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 2.03k]
  |  |  ------------------
  ------------------
 2407|  2.03k|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_FINALLY_END, end);
 2408|       |
 2409|  2.03k|    loc = NO_LOCATION;
 2410|  2.03k|    ADDOP_I(c, loc, RERAISE, 0);
  ------------------
  |  |  277|  2.03k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.03k|    do {                    \
  |  |  |  |   52|  2.03k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.03k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.03k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.03k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2411|       |
 2412|  2.03k|    USE_LABEL(c, cleanup);
  ------------------
  |  |   97|  2.03k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  2.03k|    do {                    \
  |  |  |  |   52|  2.03k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.03k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.03k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.03k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2413|  2.03k|    POP_EXCEPT_AND_RERAISE(c, loc);
  ------------------
  |  |  443|  2.03k|    RETURN_IF_ERROR(codegen_pop_except_and_reraise((C), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.03k|    do {                    \
  |  |  |  |   52|  2.03k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.03k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.03k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.03k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2414|       |
 2415|  2.03k|    USE_LABEL(c, exit);
  ------------------
  |  |   97|  2.03k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  2.03k|    do {                    \
  |  |  |  |   52|  2.03k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.03k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.03k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.03k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2416|  2.03k|    return SUCCESS;
  ------------------
  |  |   47|  2.03k|#define SUCCESS 0
  ------------------
 2417|  2.03k|}
codegen.c:codegen_pop_except_and_reraise:
  519|  16.0k|{
  520|       |    /* Stack contents
  521|       |     * [exc_info, lasti, exc]            COPY        3
  522|       |     * [exc_info, lasti, exc, exc_info]  POP_EXCEPT
  523|       |     * [exc_info, lasti, exc]            RERAISE      1
  524|       |     * (exception_unwind clears the stack)
  525|       |     */
  526|       |
  527|  16.0k|    ADDOP_I(c, loc, COPY, 3);
  ------------------
  |  |  277|  16.0k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  16.0k|    do {                    \
  |  |  |  |   52|  16.0k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 16.0k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  16.0k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 16.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  528|  16.0k|    ADDOP(c, loc, POP_EXCEPT);
  ------------------
  |  |  291|  16.0k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  16.0k|    do {                    \
  |  |  |  |   52|  16.0k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 16.0k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  16.0k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 16.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  529|  16.0k|    ADDOP_I(c, loc, RERAISE, 1);
  ------------------
  |  |  277|  16.0k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  16.0k|    do {                    \
  |  |  |  |   52|  16.0k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 16.0k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  16.0k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 16.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  530|  16.0k|    return SUCCESS;
  ------------------
  |  |   47|  16.0k|#define SUCCESS 0
  ------------------
  531|  16.0k|}
codegen.c:codegen_try_except:
 2501|  1.20k|{
 2502|  1.20k|    location loc = LOC(s);
  ------------------
  |  |   88|  1.20k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.20k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.20k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.20k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.20k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.20k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2503|  1.20k|    Py_ssize_t i, n;
 2504|       |
 2505|  1.20k|    NEW_JUMP_TARGET_LABEL(c, body);
  ------------------
  |  |   91|  1.20k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.20k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.20k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.20k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.20k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.20k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2506|  1.20k|    NEW_JUMP_TARGET_LABEL(c, except);
  ------------------
  |  |   91|  1.20k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.20k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.20k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.20k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.20k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.20k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2507|  1.20k|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|  1.20k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.20k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.20k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.20k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.20k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.20k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2508|  1.20k|    NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   91|  1.20k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.20k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.20k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.20k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.20k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.20k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2509|       |
 2510|  1.20k|    ADDOP_JUMP(c, loc, SETUP_FINALLY, except);
  ------------------
  |  |  428|  1.20k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.20k|    do {                    \
  |  |  |  |   52|  1.20k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.20k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.20k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.20k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2511|       |
 2512|  1.20k|    USE_LABEL(c, body);
  ------------------
  |  |   97|  1.20k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.20k|    do {                    \
  |  |  |  |   52|  1.20k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.20k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.20k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.20k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2513|  1.20k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  1.20k|    do {                    \
  |  |   52|  1.20k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.20k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.20k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.20k]
  |  |  ------------------
  ------------------
 2514|  1.20k|        _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_TRY_EXCEPT, body, NO_LABEL, NULL));
 2515|  1.20k|    VISIT_SEQ(c, stmt, s->v.Try.body);
  ------------------
  |  |  459|  1.20k|    do {                                                                    \
  |  |  460|  1.20k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|  2.45k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  2.45k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.91k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.45k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 1.25k, False: 1.19k]
  |  |  ------------------
  |  |  462|  1.25k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  1.25k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.25k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|  1.25k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  1.25k|    do {                    \
  |  |  |  |   52|  1.25k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 2, False: 1.25k]
  |  |  |  |  ------------------
  |  |  |  |   53|      2|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      2|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      2|        }                   \
  |  |  |  |   55|  1.25k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.25k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|  1.25k|        }                                                                   \
  |  |  465|  1.20k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 1.19k]
  |  |  ------------------
  ------------------
 2516|  1.19k|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_TRY_EXCEPT, body);
 2517|  1.19k|    ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  291|  1.19k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.19k|    do {                    \
  |  |  |  |   52|  1.19k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.19k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.19k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.19k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2518|  1.19k|    if (s->v.Try.orelse && asdl_seq_LEN(s->v.Try.orelse)) {
  ------------------
  |  |   83|     81|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    162|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 81, False: 0]
  |  |  |  |  |  Branch (277:37): [True: 0, False: 81]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2518:9): [True: 81, False: 1.11k]
  ------------------
 2519|     81|        VISIT_SEQ(c, stmt, s->v.Try.orelse);
  ------------------
  |  |  459|     81|    do {                                                                    \
  |  |  460|     81|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|    334|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    334|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    668|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 334]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 254, False: 80]
  |  |  ------------------
  |  |  462|    254|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    254|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    254|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    254|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    254|    do {                    \
  |  |  |  |   52|    254|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 253]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    254|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 253]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|    254|        }                                                                   \
  |  |  465|     81|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 80]
  |  |  ------------------
  ------------------
 2520|     81|    }
 2521|  1.19k|    ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  428|  1.19k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.19k|    do {                    \
  |  |  |  |   52|  1.19k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.19k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.19k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.19k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2522|  1.19k|    n = asdl_seq_LEN(s->v.Try.handlers);
  ------------------
  |  |   83|  1.19k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  2.39k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.19k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2523|       |
 2524|  1.19k|    USE_LABEL(c, except);
  ------------------
  |  |   97|  1.19k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.19k|    do {                    \
  |  |  |  |   52|  1.19k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.19k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.19k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.19k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2525|       |
 2526|  1.19k|    ADDOP_JUMP(c, NO_LOCATION, SETUP_CLEANUP, cleanup);
  ------------------
  |  |  428|  1.19k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.19k|    do {                    \
  |  |  |  |   52|  1.19k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.19k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.19k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.19k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2527|  1.19k|    ADDOP(c, NO_LOCATION, PUSH_EXC_INFO);
  ------------------
  |  |  291|  1.19k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.19k|    do {                    \
  |  |  |  |   52|  1.19k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.19k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.19k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.19k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2528|       |
 2529|       |    /* Runtime will push a block here, so we need to account for that */
 2530|  1.19k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  1.19k|    do {                    \
  |  |   52|  1.19k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.19k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.19k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.19k]
  |  |  ------------------
  ------------------
 2531|  1.19k|        _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_EXCEPTION_HANDLER,
 2532|  1.19k|                              NO_LABEL, NO_LABEL, NULL));
 2533|       |
 2534|  2.59k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2534:17): [True: 1.40k, False: 1.18k]
  ------------------
 2535|  1.40k|        excepthandler_ty handler = (excepthandler_ty)asdl_seq_GET(
  ------------------
  |  |   82|  1.40k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.40k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2536|  1.40k|            s->v.Try.handlers, i);
 2537|  1.40k|        location loc = LOC(handler);
  ------------------
  |  |   88|  1.40k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.40k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.40k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.40k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.40k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.40k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2538|  1.40k|        if (!handler->v.ExceptHandler.type && i < n-1) {
  ------------------
  |  Branch (2538:13): [True: 1.11k, False: 298]
  |  Branch (2538:47): [True: 2, False: 1.10k]
  ------------------
 2539|      2|            return _PyCompile_Error(c, loc, "default 'except:' must be last");
 2540|      2|        }
 2541|  1.40k|        NEW_JUMP_TARGET_LABEL(c, next_except);
  ------------------
  |  |   91|  1.40k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.40k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.40k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.40k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.40k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.40k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2542|  1.40k|        except = next_except;
 2543|  1.40k|        if (handler->v.ExceptHandler.type) {
  ------------------
  |  Branch (2543:13): [True: 298, False: 1.10k]
  ------------------
 2544|    298|            VISIT(c, expr, handler->v.ExceptHandler.type);
  ------------------
  |  |  453|    298|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    298|    do {                    \
  |  |  |  |   52|    298|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 297]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    298|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 297]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2545|    297|            ADDOP(c, loc, CHECK_EXC_MATCH);
  ------------------
  |  |  291|    297|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    297|    do {                    \
  |  |  |  |   52|    297|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 297]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    297|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 297]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2546|    297|            ADDOP_JUMP(c, loc, POP_JUMP_IF_FALSE, except);
  ------------------
  |  |  428|    297|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    297|    do {                    \
  |  |  |  |   52|    297|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 297]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    297|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 297]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2547|    297|        }
 2548|  1.40k|        if (handler->v.ExceptHandler.name) {
  ------------------
  |  Branch (2548:13): [True: 34, False: 1.37k]
  ------------------
 2549|     34|            NEW_JUMP_TARGET_LABEL(c, cleanup_end);
  ------------------
  |  |   91|     34|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     34|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     34|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     34|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     34|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 34]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2550|     34|            NEW_JUMP_TARGET_LABEL(c, cleanup_body);
  ------------------
  |  |   91|     34|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     34|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     34|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     34|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     34|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 34]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2551|       |
 2552|     34|            RETURN_IF_ERROR(
  ------------------
  |  |   51|     34|    do {                    \
  |  |   52|     34|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 34]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
 2553|     34|                codegen_nameop(c, loc, handler->v.ExceptHandler.name, Store));
 2554|       |
 2555|       |            /*
 2556|       |              try:
 2557|       |                  # body
 2558|       |              except type as name:
 2559|       |                  try:
 2560|       |                      # body
 2561|       |                  finally:
 2562|       |                      name = None # in case body contains "del name"
 2563|       |                      del name
 2564|       |            */
 2565|       |
 2566|       |            /* second try: */
 2567|     34|            ADDOP_JUMP(c, loc, SETUP_CLEANUP, cleanup_end);
  ------------------
  |  |  428|     34|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     34|    do {                    \
  |  |  |  |   52|     34|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 34]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     34|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 34]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2568|       |
 2569|     34|            USE_LABEL(c, cleanup_body);
  ------------------
  |  |   97|     34|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     34|    do {                    \
  |  |  |  |   52|     34|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 34]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     34|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 34]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2570|     34|            RETURN_IF_ERROR(
  ------------------
  |  |   51|     34|    do {                    \
  |  |   52|     34|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 34]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
 2571|     34|                _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_HANDLER_CLEANUP, cleanup_body,
 2572|     34|                                      NO_LABEL, handler->v.ExceptHandler.name));
 2573|       |
 2574|       |            /* second # body */
 2575|     34|            VISIT_SEQ(c, stmt, handler->v.ExceptHandler.body);
  ------------------
  |  |  459|     34|    do {                                                                    \
  |  |  460|     34|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|     74|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|     74|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    148|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 74]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 42, False: 32]
  |  |  ------------------
  |  |  462|     42|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|     42|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     42|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|     42|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|     42|    do {                    \
  |  |  |  |   52|     42|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 2, False: 40]
  |  |  |  |  ------------------
  |  |  |  |   53|      2|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      2|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      2|        }                   \
  |  |  |  |   55|     42|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 40]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|     42|        }                                                                   \
  |  |  465|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 32]
  |  |  ------------------
  ------------------
 2576|     32|            _PyCompile_PopFBlock(c, COMPILE_FBLOCK_HANDLER_CLEANUP, cleanup_body);
 2577|       |            /* name = None; del name; # Mark as artificial */
 2578|     32|            ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  291|     32|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     32|    do {                    \
  |  |  |  |   52|     32|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 32]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     32|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2579|     32|            ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  291|     32|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     32|    do {                    \
  |  |  |  |   52|     32|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 32]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     32|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2580|     32|            ADDOP(c, NO_LOCATION, POP_EXCEPT);
  ------------------
  |  |  291|     32|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     32|    do {                    \
  |  |  |  |   52|     32|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 32]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     32|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2581|     32|            ADDOP_LOAD_CONST(c, NO_LOCATION, Py_None);
  ------------------
  |  |  308|     32|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     32|    do {                    \
  |  |  |  |   52|     32|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 32]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     32|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2582|     32|            RETURN_IF_ERROR(
  ------------------
  |  |   51|     32|    do {                    \
  |  |   52|     32|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 32]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     32|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 32]
  |  |  ------------------
  ------------------
 2583|     32|                codegen_nameop(c, NO_LOCATION, handler->v.ExceptHandler.name, Store));
 2584|     32|            RETURN_IF_ERROR(
  ------------------
  |  |   51|     32|    do {                    \
  |  |   52|     32|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 32]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     32|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 32]
  |  |  ------------------
  ------------------
 2585|     32|                codegen_nameop(c, NO_LOCATION, handler->v.ExceptHandler.name, Del));
 2586|     32|            ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  428|     32|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     32|    do {                    \
  |  |  |  |   52|     32|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 32]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     32|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2587|       |
 2588|       |            /* except: */
 2589|     32|            USE_LABEL(c, cleanup_end);
  ------------------
  |  |   97|     32|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     32|    do {                    \
  |  |  |  |   52|     32|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 32]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     32|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2590|       |
 2591|       |            /* name = None; del name; # artificial */
 2592|     32|            ADDOP_LOAD_CONST(c, NO_LOCATION, Py_None);
  ------------------
  |  |  308|     32|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     32|    do {                    \
  |  |  |  |   52|     32|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 32]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     32|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2593|     32|            RETURN_IF_ERROR(
  ------------------
  |  |   51|     32|    do {                    \
  |  |   52|     32|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 32]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     32|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 32]
  |  |  ------------------
  ------------------
 2594|     32|                codegen_nameop(c, NO_LOCATION, handler->v.ExceptHandler.name, Store));
 2595|     32|            RETURN_IF_ERROR(
  ------------------
  |  |   51|     32|    do {                    \
  |  |   52|     32|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 32]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     32|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 32]
  |  |  ------------------
  ------------------
 2596|     32|                codegen_nameop(c, NO_LOCATION, handler->v.ExceptHandler.name, Del));
 2597|       |
 2598|     32|            ADDOP_I(c, NO_LOCATION, RERAISE, 1);
  ------------------
  |  |  277|     32|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     32|    do {                    \
  |  |  |  |   52|     32|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 32]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     32|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2599|     32|        }
 2600|  1.37k|        else {
 2601|  1.37k|            NEW_JUMP_TARGET_LABEL(c, cleanup_body);
  ------------------
  |  |   91|  1.37k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.37k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.37k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.37k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.37k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.37k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2602|       |
 2603|  1.37k|            ADDOP(c, loc, POP_TOP); /* exc_value */
  ------------------
  |  |  291|  1.37k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.37k|    do {                    \
  |  |  |  |   52|  1.37k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.37k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.37k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.37k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2604|       |
 2605|  1.37k|            USE_LABEL(c, cleanup_body);
  ------------------
  |  |   97|  1.37k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.37k|    do {                    \
  |  |  |  |   52|  1.37k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.37k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.37k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.37k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2606|  1.37k|            RETURN_IF_ERROR(
  ------------------
  |  |   51|  1.37k|    do {                    \
  |  |   52|  1.37k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.37k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.37k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.37k]
  |  |  ------------------
  ------------------
 2607|  1.37k|                _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_HANDLER_CLEANUP, cleanup_body,
 2608|  1.37k|                                      NO_LABEL, NULL));
 2609|       |
 2610|  1.37k|            VISIT_SEQ(c, stmt, handler->v.ExceptHandler.body);
  ------------------
  |  |  459|  1.37k|    do {                                                                    \
  |  |  460|  1.37k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|  2.85k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  2.85k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  5.71k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.85k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 1.49k, False: 1.36k]
  |  |  ------------------
  |  |  462|  1.49k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  1.49k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.49k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|  1.49k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  1.49k|    do {                    \
  |  |  |  |   52|  1.49k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 7, False: 1.48k]
  |  |  |  |  ------------------
  |  |  |  |   53|      7|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      7|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      7|        }                   \
  |  |  |  |   55|  1.49k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|  1.49k|        }                                                                   \
  |  |  465|  1.37k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 1.36k]
  |  |  ------------------
  ------------------
 2611|  1.36k|            _PyCompile_PopFBlock(c, COMPILE_FBLOCK_HANDLER_CLEANUP, cleanup_body);
 2612|  1.36k|            ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  291|  1.36k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.36k|    do {                    \
  |  |  |  |   52|  1.36k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.36k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.36k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2613|  1.36k|            ADDOP(c, NO_LOCATION, POP_EXCEPT);
  ------------------
  |  |  291|  1.36k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.36k|    do {                    \
  |  |  |  |   52|  1.36k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.36k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.36k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2614|  1.36k|            ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  428|  1.36k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.36k|    do {                    \
  |  |  |  |   52|  1.36k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.36k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.36k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2615|  1.36k|        }
 2616|       |
 2617|  1.39k|        USE_LABEL(c, except);
  ------------------
  |  |   97|  1.39k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.39k|    do {                    \
  |  |  |  |   52|  1.39k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.39k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.39k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.39k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2618|  1.39k|    }
 2619|       |    /* artificial */
 2620|  1.18k|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_EXCEPTION_HANDLER, NO_LABEL);
  ------------------
  |  |   57|  1.18k|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
 2621|  1.18k|    ADDOP_I(c, NO_LOCATION, RERAISE, 0);
  ------------------
  |  |  277|  1.18k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.18k|    do {                    \
  |  |  |  |   52|  1.18k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.18k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.18k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.18k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2622|       |
 2623|  1.18k|    USE_LABEL(c, cleanup);
  ------------------
  |  |   97|  1.18k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.18k|    do {                    \
  |  |  |  |   52|  1.18k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.18k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.18k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.18k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2624|  1.18k|    POP_EXCEPT_AND_RERAISE(c, NO_LOCATION);
  ------------------
  |  |  443|  1.18k|    RETURN_IF_ERROR(codegen_pop_except_and_reraise((C), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.18k|    do {                    \
  |  |  |  |   52|  1.18k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.18k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.18k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.18k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2625|       |
 2626|  1.18k|    USE_LABEL(c, end);
  ------------------
  |  |   97|  1.18k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.18k|    do {                    \
  |  |  |  |   52|  1.18k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.18k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.18k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.18k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2627|  1.18k|    return SUCCESS;
  ------------------
  |  |   47|  1.18k|#define SUCCESS 0
  ------------------
 2628|  1.18k|}
codegen.c:codegen_try_star:
 2859|  1.18k|{
 2860|  1.18k|    if (s->v.TryStar.finalbody && asdl_seq_LEN(s->v.TryStar.finalbody)) {
  ------------------
  |  |   83|    112|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    224|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 112, False: 0]
  |  |  |  |  |  Branch (277:37): [True: 0, False: 112]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2860:9): [True: 112, False: 1.06k]
  ------------------
 2861|    112|        return codegen_try_star_finally(c, s);
 2862|    112|    }
 2863|  1.06k|    else {
 2864|  1.06k|        return codegen_try_star_except(c, s);
 2865|  1.06k|    }
 2866|  1.18k|}
codegen.c:codegen_try_star_finally:
 2421|    112|{
 2422|    112|    location loc = LOC(s);
  ------------------
  |  |   88|    112|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    112|    (_Py_SourceLocation){ \
  |  |  |  |   55|    112|               .lineno = (n)->lineno, \
  |  |  |  |   56|    112|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    112|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    112|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2423|       |
 2424|    112|    NEW_JUMP_TARGET_LABEL(c, body);
  ------------------
  |  |   91|    112|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    112|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    112|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    112|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    112|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 112]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2425|    112|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|    112|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    112|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    112|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    112|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    112|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 112]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2426|    112|    NEW_JUMP_TARGET_LABEL(c, exit);
  ------------------
  |  |   91|    112|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    112|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    112|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    112|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    112|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 112]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2427|    112|    NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   91|    112|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    112|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    112|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    112|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    112|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 112]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2428|       |    /* `try` block */
 2429|    112|    ADDOP_JUMP(c, loc, SETUP_FINALLY, end);
  ------------------
  |  |  428|    112|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    112|    do {                    \
  |  |  |  |   52|    112|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 112]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    112|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 112]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2430|       |
 2431|    112|    USE_LABEL(c, body);
  ------------------
  |  |   97|    112|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    112|    do {                    \
  |  |  |  |   52|    112|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 112]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    112|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 112]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2432|    112|    RETURN_IF_ERROR(
  ------------------
  |  |   51|    112|    do {                    \
  |  |   52|    112|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 112]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    112|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 112]
  |  |  ------------------
  ------------------
 2433|    112|        _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_FINALLY_TRY, body, end,
 2434|    112|                              s->v.TryStar.finalbody));
 2435|       |
 2436|    112|    if (s->v.TryStar.handlers && asdl_seq_LEN(s->v.TryStar.handlers)) {
  ------------------
  |  |   83|    112|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    224|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 112, False: 0]
  |  |  |  |  |  Branch (277:37): [True: 0, False: 112]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2436:9): [True: 112, False: 0]
  ------------------
 2437|    112|        RETURN_IF_ERROR(codegen_try_star_except(c, s));
  ------------------
  |  |   51|    112|    do {                    \
  |  |   52|    112|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 111]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|    112|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 111]
  |  |  ------------------
  ------------------
 2438|    112|    }
 2439|      0|    else {
 2440|      0|        VISIT_SEQ(c, stmt, s->v.TryStar.body);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2441|      0|    }
 2442|    111|    ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  291|    111|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    111|    do {                    \
  |  |  |  |   52|    111|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 111]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    111|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 111]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2443|    111|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_FINALLY_TRY, body);
 2444|    111|    VISIT_SEQ(c, stmt, s->v.TryStar.finalbody);
  ------------------
  |  |  459|    111|    do {                                                                    \
  |  |  460|    111|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|  1.38k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  1.38k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.76k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.38k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 1.27k, False: 107]
  |  |  ------------------
  |  |  462|  1.27k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  1.27k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.27k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|  1.27k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  1.27k|    do {                    \
  |  |  |  |   52|  1.27k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 4, False: 1.26k]
  |  |  |  |  ------------------
  |  |  |  |   53|      4|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      4|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      4|        }                   \
  |  |  |  |   55|  1.27k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.26k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|  1.27k|        }                                                                   \
  |  |  465|    111|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 107]
  |  |  ------------------
  ------------------
 2445|       |
 2446|    107|    ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, exit);
  ------------------
  |  |  428|    107|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    107|    do {                    \
  |  |  |  |   52|    107|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 107]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    107|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 107]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2447|       |
 2448|       |    /* `finally` block */
 2449|    107|    USE_LABEL(c, end);
  ------------------
  |  |   97|    107|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    107|    do {                    \
  |  |  |  |   52|    107|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 107]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    107|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 107]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2450|       |
 2451|    107|    loc = NO_LOCATION;
 2452|    107|    ADDOP_JUMP(c, loc, SETUP_CLEANUP, cleanup);
  ------------------
  |  |  428|    107|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    107|    do {                    \
  |  |  |  |   52|    107|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 107]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    107|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 107]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2453|    107|    ADDOP(c, loc, PUSH_EXC_INFO);
  ------------------
  |  |  291|    107|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    107|    do {                    \
  |  |  |  |   52|    107|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 107]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    107|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 107]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2454|    107|    RETURN_IF_ERROR(
  ------------------
  |  |   51|    107|    do {                    \
  |  |   52|    107|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 107]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    107|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 107]
  |  |  ------------------
  ------------------
 2455|    107|        _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_FINALLY_END, end, NO_LABEL, NULL));
 2456|       |
 2457|    107|    VISIT_SEQ(c, stmt, s->v.TryStar.finalbody);
  ------------------
  |  |  459|    107|    do {                                                                    \
  |  |  460|    107|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|  1.36k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  1.36k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.73k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.36k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 1.25k, False: 107]
  |  |  ------------------
  |  |  462|  1.25k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  1.25k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.25k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|  1.25k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  1.25k|    do {                    \
  |  |  |  |   52|  1.25k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.25k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.25k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.25k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|  1.25k|        }                                                                   \
  |  |  465|    107|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 107]
  |  |  ------------------
  ------------------
 2458|       |
 2459|    107|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_FINALLY_END, end);
 2460|    107|    loc = NO_LOCATION;
 2461|    107|    ADDOP_I(c, loc, RERAISE, 0);
  ------------------
  |  |  277|    107|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    107|    do {                    \
  |  |  |  |   52|    107|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 107]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    107|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 107]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2462|       |
 2463|    107|    USE_LABEL(c, cleanup);
  ------------------
  |  |   97|    107|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    107|    do {                    \
  |  |  |  |   52|    107|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 107]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    107|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 107]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2464|    107|    POP_EXCEPT_AND_RERAISE(c, loc);
  ------------------
  |  |  443|    107|    RETURN_IF_ERROR(codegen_pop_except_and_reraise((C), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    107|    do {                    \
  |  |  |  |   52|    107|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 107]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    107|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 107]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2465|       |
 2466|    107|    USE_LABEL(c, exit);
  ------------------
  |  |   97|    107|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    107|    do {                    \
  |  |  |  |   52|    107|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 107]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    107|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 107]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2467|    107|    return SUCCESS;
  ------------------
  |  |   47|    107|#define SUCCESS 0
  ------------------
 2468|    107|}
codegen.c:codegen_try_star_except:
 2684|  1.18k|{
 2685|  1.18k|    location loc = LOC(s);
  ------------------
  |  |   88|  1.18k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.18k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.18k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.18k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.18k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.18k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2686|       |
 2687|  1.18k|    NEW_JUMP_TARGET_LABEL(c, body);
  ------------------
  |  |   91|  1.18k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.18k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.18k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.18k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.18k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.18k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2688|  1.18k|    NEW_JUMP_TARGET_LABEL(c, except);
  ------------------
  |  |   91|  1.18k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.18k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.18k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.18k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.18k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.18k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2689|  1.18k|    NEW_JUMP_TARGET_LABEL(c, orelse);
  ------------------
  |  |   91|  1.18k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.18k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.18k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.18k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.18k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.18k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2690|  1.18k|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|  1.18k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.18k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.18k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.18k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.18k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.18k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2691|  1.18k|    NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   91|  1.18k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.18k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.18k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.18k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.18k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.18k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2692|  1.18k|    NEW_JUMP_TARGET_LABEL(c, reraise_star);
  ------------------
  |  |   91|  1.18k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.18k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.18k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.18k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.18k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.18k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2693|       |
 2694|  1.18k|    ADDOP_JUMP(c, loc, SETUP_FINALLY, except);
  ------------------
  |  |  428|  1.18k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.18k|    do {                    \
  |  |  |  |   52|  1.18k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.18k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.18k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.18k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2695|       |
 2696|  1.18k|    USE_LABEL(c, body);
  ------------------
  |  |   97|  1.18k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.18k|    do {                    \
  |  |  |  |   52|  1.18k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.18k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.18k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.18k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2697|  1.18k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  1.18k|    do {                    \
  |  |   52|  1.18k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.18k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.18k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.18k]
  |  |  ------------------
  ------------------
 2698|  1.18k|        _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_TRY_EXCEPT, body, NO_LABEL, NULL));
 2699|  1.18k|    VISIT_SEQ(c, stmt, s->v.TryStar.body);
  ------------------
  |  |  459|  1.18k|    do {                                                                    \
  |  |  460|  1.18k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|  2.36k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  2.36k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.73k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.36k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 1.18k, False: 1.17k]
  |  |  ------------------
  |  |  462|  1.18k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  1.18k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.18k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|  1.18k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  1.18k|    do {                    \
  |  |  |  |   52|  1.18k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 2, False: 1.18k]
  |  |  |  |  ------------------
  |  |  |  |   53|      2|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      2|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      2|        }                   \
  |  |  |  |   55|  1.18k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.18k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|  1.18k|        }                                                                   \
  |  |  465|  1.18k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 1.17k]
  |  |  ------------------
  ------------------
 2700|  1.17k|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_TRY_EXCEPT, body);
 2701|  1.17k|    ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  291|  1.17k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2702|  1.17k|    ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, orelse);
  ------------------
  |  |  428|  1.17k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2703|  1.17k|    Py_ssize_t n = asdl_seq_LEN(s->v.TryStar.handlers);
  ------------------
  |  |   83|  1.17k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  2.35k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2704|       |
 2705|  1.17k|    USE_LABEL(c, except);
  ------------------
  |  |   97|  1.17k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2706|       |
 2707|  1.17k|    ADDOP_JUMP(c, NO_LOCATION, SETUP_CLEANUP, cleanup);
  ------------------
  |  |  428|  1.17k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2708|  1.17k|    ADDOP(c, NO_LOCATION, PUSH_EXC_INFO);
  ------------------
  |  |  291|  1.17k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2709|       |
 2710|       |    /* Runtime will push a block here, so we need to account for that */
 2711|  1.17k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  1.17k|    do {                    \
  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.17k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  ------------------
  ------------------
 2712|  1.17k|        _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_EXCEPTION_GROUP_HANDLER,
 2713|  1.17k|                              NO_LABEL, NO_LABEL, "except handler"));
 2714|       |
 2715|  2.66k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (2715:28): [True: 1.48k, False: 1.17k]
  ------------------
 2716|  1.48k|        excepthandler_ty handler = (excepthandler_ty)asdl_seq_GET(
  ------------------
  |  |   82|  1.48k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.48k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2717|  1.48k|            s->v.TryStar.handlers, i);
 2718|  1.48k|        location loc = LOC(handler);
  ------------------
  |  |   88|  1.48k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.48k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.48k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.48k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.48k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.48k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2719|  1.48k|        NEW_JUMP_TARGET_LABEL(c, next_except);
  ------------------
  |  |   91|  1.48k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.48k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.48k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.48k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.48k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.48k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2720|  1.48k|        except = next_except;
 2721|  1.48k|        NEW_JUMP_TARGET_LABEL(c, except_with_error);
  ------------------
  |  |   91|  1.48k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.48k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.48k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.48k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.48k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.48k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2722|  1.48k|        NEW_JUMP_TARGET_LABEL(c, no_match);
  ------------------
  |  |   91|  1.48k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.48k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.48k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.48k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.48k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.48k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2723|  1.48k|        if (i == 0) {
  ------------------
  |  Branch (2723:13): [True: 1.17k, False: 309]
  ------------------
 2724|       |            /* create empty list for exceptions raised/reraise in the except* blocks */
 2725|       |            /*
 2726|       |               [orig]       BUILD_LIST
 2727|       |            */
 2728|       |            /* Create a copy of the original EG */
 2729|       |            /*
 2730|       |               [orig, []]   COPY 2
 2731|       |               [orig, [], exc]
 2732|       |            */
 2733|  1.17k|            ADDOP_I(c, loc, BUILD_LIST, 0);
  ------------------
  |  |  277|  1.17k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2734|  1.17k|            ADDOP_I(c, loc, COPY, 2);
  ------------------
  |  |  277|  1.17k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2735|  1.17k|        }
 2736|  1.48k|        if (handler->v.ExceptHandler.type) {
  ------------------
  |  Branch (2736:13): [True: 1.48k, False: 0]
  ------------------
 2737|  1.48k|            VISIT(c, expr, handler->v.ExceptHandler.type);
  ------------------
  |  |  453|  1.48k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.48k|    do {                    \
  |  |  |  |   52|  1.48k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 1.48k]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|  1.48k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2738|  1.48k|            ADDOP(c, loc, CHECK_EG_MATCH);
  ------------------
  |  |  291|  1.48k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.48k|    do {                    \
  |  |  |  |   52|  1.48k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.48k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.48k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2739|  1.48k|            ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  277|  1.48k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.48k|    do {                    \
  |  |  |  |   52|  1.48k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.48k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.48k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2740|  1.48k|            ADDOP_JUMP(c, loc, POP_JUMP_IF_NONE, no_match);
  ------------------
  |  |  428|  1.48k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.48k|    do {                    \
  |  |  |  |   52|  1.48k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.48k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.48k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2741|  1.48k|        }
 2742|       |
 2743|  1.48k|        NEW_JUMP_TARGET_LABEL(c, cleanup_end);
  ------------------
  |  |   91|  1.48k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.48k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.48k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.48k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.48k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.48k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2744|  1.48k|        NEW_JUMP_TARGET_LABEL(c, cleanup_body);
  ------------------
  |  |   91|  1.48k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.48k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.48k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.48k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.48k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.48k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2745|       |
 2746|  1.48k|        if (handler->v.ExceptHandler.name) {
  ------------------
  |  Branch (2746:13): [True: 38, False: 1.44k]
  ------------------
 2747|     38|            RETURN_IF_ERROR(
  ------------------
  |  |   51|     38|    do {                    \
  |  |   52|     38|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 38]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     38|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 38]
  |  |  ------------------
  ------------------
 2748|     38|                codegen_nameop(c, loc, handler->v.ExceptHandler.name, Store));
 2749|     38|        }
 2750|  1.44k|        else {
 2751|  1.44k|            ADDOP(c, loc, POP_TOP);  // match
  ------------------
  |  |  291|  1.44k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.44k|    do {                    \
  |  |  |  |   52|  1.44k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.44k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.44k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.44k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2752|  1.44k|        }
 2753|       |
 2754|       |        /*
 2755|       |          try:
 2756|       |              # body
 2757|       |          except type as name:
 2758|       |              try:
 2759|       |                  # body
 2760|       |              finally:
 2761|       |                  name = None # in case body contains "del name"
 2762|       |                  del name
 2763|       |        */
 2764|       |        /* second try: */
 2765|  1.48k|        ADDOP_JUMP(c, loc, SETUP_CLEANUP, cleanup_end);
  ------------------
  |  |  428|  1.48k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.48k|    do {                    \
  |  |  |  |   52|  1.48k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.48k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.48k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2766|       |
 2767|  1.48k|        USE_LABEL(c, cleanup_body);
  ------------------
  |  |   97|  1.48k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.48k|    do {                    \
  |  |  |  |   52|  1.48k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.48k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.48k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2768|  1.48k|        RETURN_IF_ERROR(
  ------------------
  |  |   51|  1.48k|    do {                    \
  |  |   52|  1.48k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.48k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.48k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.48k]
  |  |  ------------------
  ------------------
 2769|  1.48k|            _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_HANDLER_CLEANUP, cleanup_body,
 2770|  1.48k|                                  NO_LABEL, handler->v.ExceptHandler.name));
 2771|       |
 2772|       |        /* second # body */
 2773|  1.48k|        VISIT_SEQ(c, stmt, handler->v.ExceptHandler.body);
  ------------------
  |  |  459|  1.48k|    do {                                                                    \
  |  |  460|  1.48k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|  3.11k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  3.11k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  6.23k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 3.11k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 1.63k, False: 1.48k]
  |  |  ------------------
  |  |  462|  1.63k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  1.63k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.63k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|  1.63k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  1.63k|    do {                    \
  |  |  |  |   52|  1.63k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 5, False: 1.63k]
  |  |  |  |  ------------------
  |  |  |  |   53|      5|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      5|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      5|        }                   \
  |  |  |  |   55|  1.63k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.63k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|  1.63k|        }                                                                   \
  |  |  465|  1.48k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 1.48k]
  |  |  ------------------
  ------------------
 2774|  1.48k|        _PyCompile_PopFBlock(c, COMPILE_FBLOCK_HANDLER_CLEANUP, cleanup_body);
 2775|       |        /* name = None; del name; # artificial */
 2776|  1.48k|        ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  291|  1.48k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.48k|    do {                    \
  |  |  |  |   52|  1.48k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.48k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.48k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2777|  1.48k|        if (handler->v.ExceptHandler.name) {
  ------------------
  |  Branch (2777:13): [True: 38, False: 1.44k]
  ------------------
 2778|     38|            ADDOP_LOAD_CONST(c, NO_LOCATION, Py_None);
  ------------------
  |  |  308|     38|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     38|    do {                    \
  |  |  |  |   52|     38|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 38]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     38|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 38]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2779|     38|            RETURN_IF_ERROR(
  ------------------
  |  |   51|     38|    do {                    \
  |  |   52|     38|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 38]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     38|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 38]
  |  |  ------------------
  ------------------
 2780|     38|                codegen_nameop(c, NO_LOCATION, handler->v.ExceptHandler.name, Store));
 2781|     38|            RETURN_IF_ERROR(
  ------------------
  |  |   51|     38|    do {                    \
  |  |   52|     38|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 38]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     38|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 38]
  |  |  ------------------
  ------------------
 2782|     38|                codegen_nameop(c, NO_LOCATION, handler->v.ExceptHandler.name, Del));
 2783|     38|        }
 2784|  1.48k|        ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, except);
  ------------------
  |  |  428|  1.48k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.48k|    do {                    \
  |  |  |  |   52|  1.48k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.48k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.48k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2785|       |
 2786|       |        /* except: */
 2787|  1.48k|        USE_LABEL(c, cleanup_end);
  ------------------
  |  |   97|  1.48k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.48k|    do {                    \
  |  |  |  |   52|  1.48k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.48k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.48k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2788|       |
 2789|       |        /* name = None; del name; # artificial */
 2790|  1.48k|        if (handler->v.ExceptHandler.name) {
  ------------------
  |  Branch (2790:13): [True: 38, False: 1.44k]
  ------------------
 2791|     38|            ADDOP_LOAD_CONST(c, NO_LOCATION, Py_None);
  ------------------
  |  |  308|     38|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     38|    do {                    \
  |  |  |  |   52|     38|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 38]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     38|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 38]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2792|     38|            RETURN_IF_ERROR(
  ------------------
  |  |   51|     38|    do {                    \
  |  |   52|     38|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 38]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     38|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 38]
  |  |  ------------------
  ------------------
 2793|     38|                codegen_nameop(c, NO_LOCATION, handler->v.ExceptHandler.name, Store));
 2794|     38|            RETURN_IF_ERROR(
  ------------------
  |  |   51|     38|    do {                    \
  |  |   52|     38|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 38]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     38|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 38]
  |  |  ------------------
  ------------------
 2795|     38|                codegen_nameop(c, NO_LOCATION, handler->v.ExceptHandler.name, Del));
 2796|     38|        }
 2797|       |
 2798|       |        /* add exception raised to the res list */
 2799|  1.48k|        ADDOP_I(c, NO_LOCATION, LIST_APPEND, 3); // exc
  ------------------
  |  |  277|  1.48k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.48k|    do {                    \
  |  |  |  |   52|  1.48k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.48k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.48k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2800|  1.48k|        ADDOP(c, NO_LOCATION, POP_TOP); // lasti
  ------------------
  |  |  291|  1.48k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.48k|    do {                    \
  |  |  |  |   52|  1.48k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.48k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.48k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2801|  1.48k|        ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, except_with_error);
  ------------------
  |  |  428|  1.48k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.48k|    do {                    \
  |  |  |  |   52|  1.48k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.48k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.48k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2802|       |
 2803|  1.48k|        USE_LABEL(c, except);
  ------------------
  |  |   97|  1.48k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.48k|    do {                    \
  |  |  |  |   52|  1.48k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.48k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.48k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2804|  1.48k|        ADDOP(c, NO_LOCATION, NOP);  // to hold a propagated location info
  ------------------
  |  |  291|  1.48k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.48k|    do {                    \
  |  |  |  |   52|  1.48k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.48k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.48k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2805|  1.48k|        ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, except_with_error);
  ------------------
  |  |  428|  1.48k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.48k|    do {                    \
  |  |  |  |   52|  1.48k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.48k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.48k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2806|       |
 2807|  1.48k|        USE_LABEL(c, no_match);
  ------------------
  |  |   97|  1.48k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.48k|    do {                    \
  |  |  |  |   52|  1.48k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.48k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.48k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2808|  1.48k|        ADDOP(c, loc, POP_TOP);  // match (None)
  ------------------
  |  |  291|  1.48k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.48k|    do {                    \
  |  |  |  |   52|  1.48k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.48k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.48k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2809|       |
 2810|  1.48k|        USE_LABEL(c, except_with_error);
  ------------------
  |  |   97|  1.48k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.48k|    do {                    \
  |  |  |  |   52|  1.48k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.48k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.48k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2811|       |
 2812|  1.48k|        if (i == n - 1) {
  ------------------
  |  Branch (2812:13): [True: 1.17k, False: 309]
  ------------------
 2813|       |            /* Add exc to the list (if not None it's the unhandled part of the EG) */
 2814|  1.17k|            ADDOP_I(c, NO_LOCATION, LIST_APPEND, 1);
  ------------------
  |  |  277|  1.17k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2815|  1.17k|            ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, reraise_star);
  ------------------
  |  |  428|  1.17k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2816|  1.17k|        }
 2817|  1.48k|    }
 2818|       |    /* artificial */
 2819|  1.17k|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_EXCEPTION_GROUP_HANDLER, NO_LABEL);
  ------------------
  |  |   57|  1.17k|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
 2820|  1.17k|    NEW_JUMP_TARGET_LABEL(c, reraise);
  ------------------
  |  |   91|  1.17k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.17k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.17k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.17k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.17k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.17k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2821|       |
 2822|  1.17k|    USE_LABEL(c, reraise_star);
  ------------------
  |  |   97|  1.17k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2823|  1.17k|    ADDOP_I(c, NO_LOCATION, CALL_INTRINSIC_2, INTRINSIC_PREP_RERAISE_STAR);
  ------------------
  |  |  277|  1.17k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2824|  1.17k|    ADDOP_I(c, NO_LOCATION, COPY, 1);
  ------------------
  |  |  277|  1.17k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2825|  1.17k|    ADDOP_JUMP(c, NO_LOCATION, POP_JUMP_IF_NOT_NONE, reraise);
  ------------------
  |  |  428|  1.17k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2826|       |
 2827|       |    /* Nothing to reraise */
 2828|  1.17k|    ADDOP(c, NO_LOCATION, POP_TOP);
  ------------------
  |  |  291|  1.17k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2829|  1.17k|    ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  291|  1.17k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2830|  1.17k|    ADDOP(c, NO_LOCATION, POP_EXCEPT);
  ------------------
  |  |  291|  1.17k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2831|  1.17k|    ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  428|  1.17k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2832|       |
 2833|  1.17k|    USE_LABEL(c, reraise);
  ------------------
  |  |   97|  1.17k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2834|  1.17k|    ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  291|  1.17k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2835|  1.17k|    ADDOP_I(c, NO_LOCATION, SWAP, 2);
  ------------------
  |  |  277|  1.17k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2836|  1.17k|    ADDOP(c, NO_LOCATION, POP_EXCEPT);
  ------------------
  |  |  291|  1.17k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2837|  1.17k|    ADDOP_I(c, NO_LOCATION, RERAISE, 0);
  ------------------
  |  |  277|  1.17k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2838|       |
 2839|  1.17k|    USE_LABEL(c, cleanup);
  ------------------
  |  |   97|  1.17k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2840|  1.17k|    POP_EXCEPT_AND_RERAISE(c, NO_LOCATION);
  ------------------
  |  |  443|  1.17k|    RETURN_IF_ERROR(codegen_pop_except_and_reraise((C), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2841|       |
 2842|  1.17k|    USE_LABEL(c, orelse);
  ------------------
  |  |   97|  1.17k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2843|  1.17k|    VISIT_SEQ(c, stmt, s->v.TryStar.orelse);
  ------------------
  |  |  459|  1.17k|    do {                                                                    \
  |  |  460|  1.17k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|  1.28k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  1.28k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.56k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 1.15k, False: 128]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 112, False: 1.17k]
  |  |  ------------------
  |  |  462|    112|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    112|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    112|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    112|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    112|    do {                    \
  |  |  |  |   52|    112|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 111]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    112|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 111]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|    112|        }                                                                   \
  |  |  465|  1.17k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 1.17k]
  |  |  ------------------
  ------------------
 2844|       |
 2845|  1.17k|    USE_LABEL(c, end);
  ------------------
  |  |   97|  1.17k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.17k|    do {                    \
  |  |  |  |   52|  1.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2846|  1.17k|    return SUCCESS;
  ------------------
  |  |   47|  1.17k|#define SUCCESS 0
  ------------------
 2847|  1.17k|}
codegen.c:codegen_assert:
 3047|  2.17k|{
 3048|       |    /* Always emit a warning if the test is a non-zero length tuple */
 3049|  2.17k|    if ((s->v.Assert.test->kind == Tuple_kind &&
  ------------------
  |  Branch (3049:10): [True: 244, False: 1.93k]
  ------------------
 3050|    244|        asdl_seq_LEN(s->v.Assert.test->v.Tuple.elts) > 0) ||
  ------------------
  |  |   83|    244|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    488|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 87, False: 157]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3050:9): [True: 157, False: 87]
  ------------------
 3051|  2.01k|        (s->v.Assert.test->kind == Constant_kind &&
  ------------------
  |  Branch (3051:10): [True: 1.45k, False: 564]
  ------------------
 3052|  2.01k|         PyTuple_Check(s->v.Assert.test->v.Constant.value) &&
  ------------------
  |  |   27|  1.45k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.47k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 1.45k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3053|      0|         PyTuple_Size(s->v.Assert.test->v.Constant.value) > 0))
  ------------------
  |  Branch (3053:10): [True: 0, False: 0]
  ------------------
 3054|    157|    {
 3055|    157|        RETURN_IF_ERROR(
  ------------------
  |  |   51|    157|    do {                    \
  |  |   52|    157|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 157]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    157|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 157]
  |  |  ------------------
  ------------------
 3056|    157|            _PyCompile_Warn(c, LOC(s), "assertion is always true, "
 3057|    157|                                       "perhaps remove parentheses?"));
 3058|    157|    }
 3059|  2.17k|    if (OPTIMIZATION_LEVEL(c)) {
  ------------------
  |  |   72|  2.17k|#define OPTIMIZATION_LEVEL(C) _PyCompile_OptimizationLevel(C)
  |  |  ------------------
  |  |  |  Branch (72:31): [True: 462, False: 1.71k]
  |  |  ------------------
  ------------------
 3060|    462|        return SUCCESS;
  ------------------
  |  |   47|    462|#define SUCCESS 0
  ------------------
 3061|    462|    }
 3062|  1.71k|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|  1.71k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.71k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.71k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.71k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.71k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.71k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 3063|  1.71k|    RETURN_IF_ERROR(codegen_jump_if(c, LOC(s), s->v.Assert.test, end, 1));
  ------------------
  |  |   51|  1.71k|    do {                    \
  |  |   52|  1.71k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 1.71k]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|  1.71k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.71k]
  |  |  ------------------
  ------------------
 3064|  1.71k|    ADDOP_I(c, LOC(s), LOAD_COMMON_CONSTANT, CONSTANT_ASSERTIONERROR);
  ------------------
  |  |  277|  1.71k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.71k|    do {                    \
  |  |  |  |   52|  1.71k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.71k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.71k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.71k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3065|  1.71k|    if (s->v.Assert.msg) {
  ------------------
  |  Branch (3065:9): [True: 665, False: 1.04k]
  ------------------
 3066|    665|        VISIT(c, expr, s->v.Assert.msg);
  ------------------
  |  |  453|    665|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    665|    do {                    \
  |  |  |  |   52|    665|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 664]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    665|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 664]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3067|    664|        ADDOP_I(c, LOC(s), CALL, 0);
  ------------------
  |  |  277|    664|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    664|    do {                    \
  |  |  |  |   52|    664|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 664]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    664|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 664]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3068|    664|    }
 3069|  1.71k|    ADDOP_I(c, LOC(s->v.Assert.test), RAISE_VARARGS, 1);
  ------------------
  |  |  277|  1.71k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.71k|    do {                    \
  |  |  |  |   52|  1.71k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.71k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.71k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.71k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3070|       |
 3071|  1.71k|    USE_LABEL(c, end);
  ------------------
  |  |   97|  1.71k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.71k|    do {                    \
  |  |  |  |   52|  1.71k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.71k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.71k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.71k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3072|  1.71k|    return SUCCESS;
  ------------------
  |  |   47|  1.71k|#define SUCCESS 0
  ------------------
 3073|  1.71k|}
codegen.c:codegen_import:
 2923|  2.49k|{
 2924|  2.49k|    location loc = LOC(s);
  ------------------
  |  |   88|  2.49k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  2.49k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  2.49k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  2.49k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  2.49k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  2.49k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2925|       |    /* The Import node stores a module name like a.b.c as a single
 2926|       |       string.  This is convenient for all cases except
 2927|       |         import a.b.c as d
 2928|       |       where we need to parse that string to extract the individual
 2929|       |       module names.
 2930|       |       XXX Perhaps change the representation to make this case simpler?
 2931|       |     */
 2932|  2.49k|    Py_ssize_t i, n = asdl_seq_LEN(s->v.Import.names);
  ------------------
  |  |   83|  2.49k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  4.99k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.49k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2933|       |
 2934|  2.49k|    PyObject *zero = _PyLong_GetZero();  // borrowed reference
 2935|  10.8k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2935:17): [True: 8.36k, False: 2.49k]
  ------------------
 2936|  8.36k|        alias_ty alias = (alias_ty)asdl_seq_GET(s->v.Import.names, i);
  ------------------
  |  |   82|  8.36k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  8.36k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2937|  8.36k|        int r;
 2938|       |
 2939|  8.36k|        ADDOP_LOAD_CONST(c, loc, zero);
  ------------------
  |  |  308|  8.36k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  8.36k|    do {                    \
  |  |  |  |   52|  8.36k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8.36k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  8.36k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2940|  8.36k|        ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  308|  8.36k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  8.36k|    do {                    \
  |  |  |  |   52|  8.36k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8.36k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  8.36k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2941|  8.36k|        if (s->v.Import.is_lazy) {
  ------------------
  |  Branch (2941:13): [True: 11, False: 8.35k]
  ------------------
 2942|     11|            RETURN_IF_ERROR(codegen_validate_lazy_import(c, loc));
  ------------------
  |  |   51|     11|    do {                    \
  |  |   52|     11|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 11]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     11|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 11]
  |  |  ------------------
  ------------------
 2943|     11|            ADDOP_NAME_CUSTOM(c, loc, IMPORT_NAME, alias->name, names, 2, 1);
  ------------------
  |  |  415|     11|    RETURN_IF_ERROR(codegen_addop_name_custom((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O), SHIFT, LOW))
  |  |  ------------------
  |  |  |  |   51|     11|    do {                    \
  |  |  |  |   52|     11|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 11]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     11|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2944|  8.35k|        } else {
 2945|  8.35k|            if (_PyCompile_InExceptionHandler(c) ||
  ------------------
  |  Branch (2945:17): [True: 142, False: 8.21k]
  ------------------
 2946|  8.21k|                _PyCompile_ScopeType(c) != COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (2946:17): [True: 1.71k, False: 6.49k]
  ------------------
 2947|       |                // force eager import in try/except block
 2948|  1.85k|                ADDOP_NAME_CUSTOM(c, loc, IMPORT_NAME, alias->name, names, 2, 2);
  ------------------
  |  |  415|  1.85k|    RETURN_IF_ERROR(codegen_addop_name_custom((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O), SHIFT, LOW))
  |  |  ------------------
  |  |  |  |   51|  1.85k|    do {                    \
  |  |  |  |   52|  1.85k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.85k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.85k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.85k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2949|  6.49k|            } else {
 2950|  6.49k|                ADDOP_NAME_CUSTOM(c, loc, IMPORT_NAME, alias->name, names, 2, 0);
  ------------------
  |  |  415|  6.49k|    RETURN_IF_ERROR(codegen_addop_name_custom((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O), SHIFT, LOW))
  |  |  ------------------
  |  |  |  |   51|  6.49k|    do {                    \
  |  |  |  |   52|  6.49k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6.49k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  6.49k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.49k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2951|  6.49k|            }
 2952|  8.35k|        }
 2953|       |
 2954|  8.36k|        if (alias->asname) {
  ------------------
  |  Branch (2954:13): [True: 177, False: 8.18k]
  ------------------
 2955|    177|            r = codegen_import_as(c, loc, alias->name, alias->asname);
 2956|    177|            RETURN_IF_ERROR(r);
  ------------------
  |  |   51|    177|    do {                    \
  |  |   52|    177|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 177]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    177|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 177]
  |  |  ------------------
  ------------------
 2957|    177|        }
 2958|  8.18k|        else {
 2959|  8.18k|            identifier tmp = alias->name;
 2960|  8.18k|            Py_ssize_t dot = PyUnicode_FindChar(
 2961|  8.18k|                alias->name, '.', 0, PyUnicode_GET_LENGTH(alias->name), 1);
  ------------------
  |  |  299|  8.18k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2962|  8.18k|            if (dot != -1) {
  ------------------
  |  Branch (2962:17): [True: 3.19k, False: 4.98k]
  ------------------
 2963|  3.19k|                tmp = PyUnicode_Substring(alias->name, 0, dot);
 2964|  3.19k|                if (tmp == NULL) {
  ------------------
  |  Branch (2964:21): [True: 0, False: 3.19k]
  ------------------
 2965|      0|                    return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 2966|      0|                }
 2967|  3.19k|            }
 2968|  8.18k|            r = codegen_nameop(c, loc, tmp, Store);
 2969|  8.18k|            if (dot != -1) {
  ------------------
  |  Branch (2969:17): [True: 3.19k, False: 4.98k]
  ------------------
 2970|  3.19k|                Py_DECREF(tmp);
  ------------------
  |  |  430|  3.19k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2971|  3.19k|            }
 2972|  8.18k|            RETURN_IF_ERROR(r);
  ------------------
  |  |   51|  8.18k|    do {                    \
  |  |   52|  8.18k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 8.18k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  8.18k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 8.18k]
  |  |  ------------------
  ------------------
 2973|  8.18k|        }
 2974|  8.36k|    }
 2975|  2.49k|    return SUCCESS;
  ------------------
  |  |   47|  2.49k|#define SUCCESS 0
  ------------------
 2976|  2.49k|}
codegen.c:codegen_validate_lazy_import:
 2912|     12|{
 2913|     12|    if (_PyCompile_ScopeType(c) != COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (2913:9): [True: 0, False: 12]
  ------------------
 2914|      0|        return _PyCompile_Error(
 2915|      0|            c, loc, "lazy imports only allowed in module scope");
 2916|      0|    }
 2917|       |
 2918|     12|    return SUCCESS;
  ------------------
  |  |   47|     12|#define SUCCESS 0
  ------------------
 2919|     12|}
codegen.c:codegen_import_as:
 2871|    177|{
 2872|       |    /* The IMPORT_NAME opcode was already generated.  This function
 2873|       |       merely needs to bind the result to a name.
 2874|       |
 2875|       |       If there is a dot in name, we need to split it and emit a
 2876|       |       IMPORT_FROM for each name.
 2877|       |    */
 2878|    177|    Py_ssize_t len = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  299|    177|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    177|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    177|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2879|    177|    Py_ssize_t dot = PyUnicode_FindChar(name, '.', 0, len, 1);
 2880|    177|    if (dot == -2) {
  ------------------
  |  Branch (2880:9): [True: 0, False: 177]
  ------------------
 2881|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 2882|      0|    }
 2883|    177|    if (dot != -1) {
  ------------------
  |  Branch (2883:9): [True: 129, False: 48]
  ------------------
 2884|       |        /* Consume the base module name to get the first attribute */
 2885|  2.44k|        while (1) {
  ------------------
  |  Branch (2885:16): [True: 2.44k, Folded]
  ------------------
 2886|  2.44k|            Py_ssize_t pos = dot + 1;
 2887|  2.44k|            PyObject *attr;
 2888|  2.44k|            dot = PyUnicode_FindChar(name, '.', pos, len, 1);
 2889|  2.44k|            if (dot == -2) {
  ------------------
  |  Branch (2889:17): [True: 0, False: 2.44k]
  ------------------
 2890|      0|                return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 2891|      0|            }
 2892|  2.44k|            attr = PyUnicode_Substring(name, pos, (dot != -1) ? dot : len);
  ------------------
  |  Branch (2892:51): [True: 2.31k, False: 129]
  ------------------
 2893|  2.44k|            if (!attr) {
  ------------------
  |  Branch (2893:17): [True: 0, False: 2.44k]
  ------------------
 2894|      0|                return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 2895|      0|            }
 2896|  2.44k|            ADDOP_N(c, loc, IMPORT_FROM, attr, names);
  ------------------
  |  |  338|  2.44k|    do {                                                                \
  |  |  339|  2.44k|        assert(!OPCODE_HAS_CONST(OP)); /* use ADDOP_LOAD_CONST_NEW */   \
  |  |  340|  2.44k|        int ret = codegen_addop_o((C), (LOC), (OP),                     \
  |  |  341|  2.44k|                                  METADATA(C)->u_ ## TYPE, (O));        \
  |  |  ------------------
  |  |  |  |   76|  2.44k|#define METADATA(C) _PyCompile_Metadata(C)
  |  |  ------------------
  |  |  342|  2.44k|        Py_DECREF((O));                                                 \
  |  |  ------------------
  |  |  |  |  430|  2.44k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  343|  2.44k|        RETURN_IF_ERROR(ret);                                           \
  |  |  ------------------
  |  |  |  |   51|  2.44k|    do {                    \
  |  |  |  |   52|  2.44k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.44k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.44k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.44k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  344|  2.44k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (344:14): [Folded, False: 2.44k]
  |  |  ------------------
  ------------------
  |  Branch (2896:13): [True: 2.44k, Folded]
  ------------------
 2897|  2.44k|            if (dot == -1) {
  ------------------
  |  Branch (2897:17): [True: 129, False: 2.31k]
  ------------------
 2898|    129|                break;
 2899|    129|            }
 2900|  2.31k|            ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  277|  2.31k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.31k|    do {                    \
  |  |  |  |   52|  2.31k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.31k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.31k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.31k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2901|  2.31k|            ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  291|  2.31k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.31k|    do {                    \
  |  |  |  |   52|  2.31k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.31k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.31k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.31k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2902|  2.31k|        }
 2903|    129|        RETURN_IF_ERROR(codegen_nameop(c, loc, asname, Store));
  ------------------
  |  |   51|    129|    do {                    \
  |  |   52|    129|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 129]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    129|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 129]
  |  |  ------------------
  ------------------
 2904|    129|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  291|    129|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    129|    do {                    \
  |  |  |  |   52|    129|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 129]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    129|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 129]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2905|    129|        return SUCCESS;
  ------------------
  |  |   47|    129|#define SUCCESS 0
  ------------------
 2906|    129|    }
 2907|     48|    return codegen_nameop(c, loc, asname, Store);
 2908|    177|}
codegen.c:codegen_from_import:
 2980|  2.18k|{
 2981|  2.18k|    Py_ssize_t n = asdl_seq_LEN(s->v.ImportFrom.names);
  ------------------
  |  |   83|  2.18k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  4.37k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.18k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2982|       |
 2983|  2.18k|    ADDOP_LOAD_CONST_NEW(c, LOC(s), PyLong_FromLong(s->v.ImportFrom.level));
  ------------------
  |  |  315|  2.18k|    do {                                                                \
  |  |  316|  2.18k|        PyObject *__new_const = (O);                                    \
  |  |  317|  2.18k|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (317:13): [True: 0, False: 2.18k]
  |  |  ------------------
  |  |  318|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  319|      0|        }                                                               \
  |  |  320|  2.18k|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (320:13): [True: 0, False: 2.18k]
  |  |  ------------------
  |  |  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|  2.18k|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|  2.18k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  325|  2.18k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (325:14): [Folded, False: 2.18k]
  |  |  ------------------
  ------------------
 2984|       |
 2985|  2.18k|    PyObject *names = PyTuple_New(n);
 2986|  2.18k|    if (!names) {
  ------------------
  |  Branch (2986:9): [True: 0, False: 2.18k]
  ------------------
 2987|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 2988|      0|    }
 2989|       |
 2990|       |    /* build up the names */
 2991|  5.95k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (2991:28): [True: 3.76k, False: 2.18k]
  ------------------
 2992|  3.76k|        alias_ty alias = (alias_ty)asdl_seq_GET(s->v.ImportFrom.names, i);
  ------------------
  |  |   82|  3.76k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  3.76k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2993|  3.76k|        PyTuple_SET_ITEM(names, i, Py_NewRef(alias->name));
  ------------------
  |  |   40|  3.76k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  3.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  3.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2994|  3.76k|    }
 2995|       |
 2996|  2.18k|    ADDOP_LOAD_CONST_NEW(c, LOC(s), names);
  ------------------
  |  |  315|  2.18k|    do {                                                                \
  |  |  316|  2.18k|        PyObject *__new_const = (O);                                    \
  |  |  317|  2.18k|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (317:13): [True: 0, False: 2.18k]
  |  |  ------------------
  |  |  318|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  319|      0|        }                                                               \
  |  |  320|  2.18k|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (320:13): [True: 0, False: 2.18k]
  |  |  ------------------
  |  |  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|  2.18k|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|  2.18k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  325|  2.18k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (325:14): [Folded, False: 2.18k]
  |  |  ------------------
  ------------------
 2997|       |
 2998|  2.18k|    identifier from = &_Py_STR(empty);
  ------------------
  |  |  923|  2.18k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.18k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.18k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2999|  2.18k|    if (s->v.ImportFrom.module) {
  ------------------
  |  Branch (2999:9): [True: 1.93k, False: 254]
  ------------------
 3000|  1.93k|        from = s->v.ImportFrom.module;
 3001|  1.93k|    }
 3002|  2.18k|    if (s->v.ImportFrom.is_lazy) {
  ------------------
  |  Branch (3002:9): [True: 1, False: 2.18k]
  ------------------
 3003|      1|        alias_ty alias = (alias_ty)asdl_seq_GET(s->v.ImportFrom.names, 0);
  ------------------
  |  |   82|      1|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3004|      1|        if (PyUnicode_READ_CHAR(alias->name, 0) == '*') {
  ------------------
  |  |  381|      1|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3004:13): [True: 0, False: 1]
  ------------------
 3005|      0|            return _PyCompile_Error(c, LOC(s), "cannot lazy import *");
  ------------------
  |  |   88|      0|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3006|      0|        }
 3007|      1|        RETURN_IF_ERROR(codegen_validate_lazy_import(c, LOC(s)));
  ------------------
  |  |   51|      1|    do {                    \
  |  |   52|      1|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3008|      1|        ADDOP_NAME_CUSTOM(c, LOC(s), IMPORT_NAME, from, names, 2, 1);
  ------------------
  |  |  415|      1|    RETURN_IF_ERROR(codegen_addop_name_custom((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O), SHIFT, LOW))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3009|  2.18k|    } else {
 3010|  2.18k|        alias_ty alias = (alias_ty)asdl_seq_GET(s->v.ImportFrom.names, 0);
  ------------------
  |  |   82|  2.18k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  2.18k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3011|  2.18k|        if (_PyCompile_InExceptionHandler(c) ||
  ------------------
  |  Branch (3011:13): [True: 14, False: 2.17k]
  ------------------
 3012|  2.17k|            _PyCompile_ScopeType(c) != COMPILE_SCOPE_MODULE ||
  ------------------
  |  Branch (3012:13): [True: 139, False: 2.03k]
  ------------------
 3013|  2.03k|            PyUnicode_READ_CHAR(alias->name, 0) == '*') {
  ------------------
  |  |  381|  2.03k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  2.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3013:13): [True: 1, False: 2.03k]
  ------------------
 3014|       |            // forced non-lazy import due to try/except or import *
 3015|    154|            ADDOP_NAME_CUSTOM(c, LOC(s), IMPORT_NAME, from, names, 2, 2);
  ------------------
  |  |  415|    154|    RETURN_IF_ERROR(codegen_addop_name_custom((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O), SHIFT, LOW))
  |  |  ------------------
  |  |  |  |   51|    154|    do {                    \
  |  |  |  |   52|    154|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 154]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    154|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 154]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3016|  2.03k|        } else {
 3017|  2.03k|            ADDOP_NAME_CUSTOM(c, LOC(s), IMPORT_NAME, from, names, 2, 0);
  ------------------
  |  |  415|  2.03k|    RETURN_IF_ERROR(codegen_addop_name_custom((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O), SHIFT, LOW))
  |  |  ------------------
  |  |  |  |   51|  2.03k|    do {                    \
  |  |  |  |   52|  2.03k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.03k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.03k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.03k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3018|  2.03k|        }
 3019|  2.18k|    }
 3020|       |
 3021|  5.94k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3021:28): [True: 3.76k, False: 2.18k]
  ------------------
 3022|  3.76k|        alias_ty alias = (alias_ty)asdl_seq_GET(s->v.ImportFrom.names, i);
  ------------------
  |  |   82|  3.76k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  3.76k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3023|  3.76k|        identifier store_name;
 3024|       |
 3025|  3.76k|        if (i == 0 && PyUnicode_READ_CHAR(alias->name, 0) == '*') {
  ------------------
  |  |  381|  2.18k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  2.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3025:13): [True: 2.18k, False: 1.57k]
  |  Branch (3025:23): [True: 1, False: 2.18k]
  ------------------
 3026|      1|            assert(n == 1);
  ------------------
  |  Branch (3026:13): [True: 1, False: 0]
  ------------------
 3027|      1|            ADDOP_I(c, LOC(s), CALL_INTRINSIC_1, INTRINSIC_IMPORT_STAR);
  ------------------
  |  |  277|      1|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3028|      1|            ADDOP(c, NO_LOCATION, POP_TOP);
  ------------------
  |  |  291|      1|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3029|      1|            return SUCCESS;
  ------------------
  |  |   47|      1|#define SUCCESS 0
  ------------------
 3030|      1|        }
 3031|       |
 3032|  3.76k|        ADDOP_NAME(c, LOC(s), IMPORT_FROM, alias->name, names);
  ------------------
  |  |  412|  3.76k|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|  3.76k|    do {                    \
  |  |  |  |   52|  3.76k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.76k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.76k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.76k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3033|  3.76k|        store_name = alias->name;
 3034|  3.76k|        if (alias->asname) {
  ------------------
  |  Branch (3034:13): [True: 206, False: 3.55k]
  ------------------
 3035|    206|            store_name = alias->asname;
 3036|    206|        }
 3037|       |
 3038|  3.76k|        RETURN_IF_ERROR(codegen_nameop(c, LOC(s), store_name, Store));
  ------------------
  |  |   51|  3.76k|    do {                    \
  |  |   52|  3.76k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 3.76k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  3.76k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 3.76k]
  |  |  ------------------
  ------------------
 3039|  3.76k|    }
 3040|       |    /* remove imported module */
 3041|  2.18k|    ADDOP(c, LOC(s), POP_TOP);
  ------------------
  |  |  291|  2.18k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.18k|    do {                    \
  |  |  |  |   52|  2.18k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.18k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.18k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.18k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3042|  2.18k|    return SUCCESS;
  ------------------
  |  |   47|  2.18k|#define SUCCESS 0
  ------------------
 3043|  2.18k|}
codegen.c:codegen_stmt_expr:
 3077|  89.8k|{
 3078|  89.8k|    if (IS_INTERACTIVE_TOP_LEVEL(c)) {
  ------------------
  |  |   73|  89.8k|#define IS_INTERACTIVE_TOP_LEVEL(C) _PyCompile_IsInteractiveTopLevel(C)
  |  |  ------------------
  |  |  |  Branch (73:37): [True: 3.38k, False: 86.4k]
  |  |  ------------------
  ------------------
 3079|  3.38k|        VISIT(c, expr, value);
  ------------------
  |  |  453|  3.38k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  3.38k|    do {                    \
  |  |  |  |   52|  3.38k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 67, False: 3.31k]
  |  |  |  |  ------------------
  |  |  |  |   53|     67|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     67|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     67|        }                   \
  |  |  |  |   55|  3.38k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.31k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3080|  3.31k|        ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_PRINT);
  ------------------
  |  |  277|  3.31k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.31k|    do {                    \
  |  |  |  |   52|  3.31k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.31k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.31k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.31k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3081|  3.31k|        ADDOP(c, NO_LOCATION, POP_TOP);
  ------------------
  |  |  291|  3.31k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.31k|    do {                    \
  |  |  |  |   52|  3.31k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.31k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.31k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.31k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3082|  3.31k|        return SUCCESS;
  ------------------
  |  |   47|  3.31k|#define SUCCESS 0
  ------------------
 3083|  3.31k|    }
 3084|       |
 3085|  86.4k|    if (value->kind == Constant_kind) {
  ------------------
  |  Branch (3085:9): [True: 2.65k, False: 83.7k]
  ------------------
 3086|       |        /* ignore constant statement */
 3087|  2.65k|        ADDOP(c, loc, NOP);
  ------------------
  |  |  291|  2.65k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.65k|    do {                    \
  |  |  |  |   52|  2.65k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.65k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.65k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.65k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3088|  2.65k|        return SUCCESS;
  ------------------
  |  |   47|  2.65k|#define SUCCESS 0
  ------------------
 3089|  2.65k|    }
 3090|       |
 3091|  83.7k|    VISIT_UNUSED(c, expr, value);
  ------------------
  |  |  480|  83.7k|    RETURN_IF_ERROR(codegen_visit_unused_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  83.7k|    do {                    \
  |  |  |  |   52|  83.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 114, False: 83.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|    114|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    114|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|    114|        }                   \
  |  |  |  |   55|  83.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 83.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3092|  83.6k|    ADDOP(c, NO_LOCATION, POP_TOP); /* artificial */
  ------------------
  |  |  291|  83.6k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  83.6k|    do {                    \
  |  |  |  |   52|  83.6k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 83.6k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  83.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 83.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3093|  83.6k|    return SUCCESS;
  ------------------
  |  |   47|  83.6k|#define SUCCESS 0
  ------------------
 3094|  83.6k|}
codegen.c:codegen_visit_unused_expr:
 5633|  83.7k|{
 5634|       |    return codegen_visit_expr_impl(c, e, true);
 5635|  83.7k|}
codegen.c:codegen_visit_expr_impl:
 5470|  2.51M|{
 5471|  2.51M|    if (Py_EnterRecursiveCall(" during compilation")) {
  ------------------
  |  Branch (5471:9): [True: 0, False: 2.51M]
  ------------------
 5472|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 5473|      0|    }
 5474|  2.51M|    location loc = LOC(e);
  ------------------
  |  |   88|  2.51M|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  2.51M|    (_Py_SourceLocation){ \
  |  |  |  |   55|  2.51M|               .lineno = (n)->lineno, \
  |  |  |  |   56|  2.51M|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  2.51M|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  2.51M|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5475|  2.51M|    switch (e->kind) {
  ------------------
  |  Branch (5475:13): [True: 2.51M, False: 0]
  ------------------
 5476|    936|    case NamedExpr_kind:
  ------------------
  |  Branch (5476:5): [True: 936, False: 2.51M]
  ------------------
 5477|    936|        VISIT(c, expr, e->v.NamedExpr.value);
  ------------------
  |  |  453|    936|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    936|    do {                    \
  |  |  |  |   52|    936|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 3, False: 933]
  |  |  |  |  ------------------
  |  |  |  |   53|      3|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      3|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      3|        }                   \
  |  |  |  |   55|    936|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 933]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5478|    933|        ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  277|    933|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    933|    do {                    \
  |  |  |  |   52|    933|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 933]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    933|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 933]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5479|    933|        VISIT(c, expr, e->v.NamedExpr.target);
  ------------------
  |  |  453|    933|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    933|    do {                    \
  |  |  |  |   52|    933|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 933]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    933|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 933]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5480|    933|        break;
 5481|  2.69k|    case BoolOp_kind:
  ------------------
  |  Branch (5481:5): [True: 2.69k, False: 2.51M]
  ------------------
 5482|  2.69k|        return codegen_boolop(c, e);
 5483|   793k|    case BinOp_kind:
  ------------------
  |  Branch (5483:5): [True: 793k, False: 1.72M]
  ------------------
 5484|   793k|        VISIT(c, expr, e->v.BinOp.left);
  ------------------
  |  |  453|   793k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|   793k|    do {                    \
  |  |  |  |   52|   793k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 326, False: 792k]
  |  |  |  |  ------------------
  |  |  |  |   53|    326|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    326|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|    326|        }                   \
  |  |  |  |   55|   793k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 792k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5485|   792k|        VISIT(c, expr, e->v.BinOp.right);
  ------------------
  |  |  453|   792k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|   792k|    do {                    \
  |  |  |  |   52|   792k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 220, False: 792k]
  |  |  |  |  ------------------
  |  |  |  |   53|    220|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    220|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|    220|        }                   \
  |  |  |  |   55|   792k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 792k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5486|   792k|        ADDOP_BINARY(c, loc, e->v.BinOp.op);
  ------------------
  |  |  434|   792k|    RETURN_IF_ERROR(addop_binary((C), (LOC), (BINOP), false))
  |  |  ------------------
  |  |  |  |   51|   792k|    do {                    \
  |  |  |  |   52|   792k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 792k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|   792k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 792k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5487|   792k|        break;
 5488|   792k|    case UnaryOp_kind:
  ------------------
  |  Branch (5488:5): [True: 229k, False: 2.28M]
  ------------------
 5489|   229k|        VISIT(c, expr, e->v.UnaryOp.operand);
  ------------------
  |  |  453|   229k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|   229k|    do {                    \
  |  |  |  |   52|   229k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 442, False: 229k]
  |  |  |  |  ------------------
  |  |  |  |   53|    442|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    442|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|    442|        }                   \
  |  |  |  |   55|   229k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 229k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5490|   229k|        if (e->v.UnaryOp.op == UAdd) {
  ------------------
  |  Branch (5490:13): [True: 57.4k, False: 171k]
  ------------------
 5491|  57.4k|            ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_UNARY_POSITIVE);
  ------------------
  |  |  277|  57.4k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  57.4k|    do {                    \
  |  |  |  |   52|  57.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 57.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  57.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 57.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5492|  57.4k|        }
 5493|   171k|        else if (e->v.UnaryOp.op == Not) {
  ------------------
  |  Branch (5493:18): [True: 1.35k, False: 170k]
  ------------------
 5494|  1.35k|            ADDOP(c, loc, TO_BOOL);
  ------------------
  |  |  291|  1.35k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.35k|    do {                    \
  |  |  |  |   52|  1.35k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.35k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.35k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.35k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5495|  1.35k|            ADDOP(c, loc, UNARY_NOT);
  ------------------
  |  |  291|  1.35k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.35k|    do {                    \
  |  |  |  |   52|  1.35k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.35k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.35k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.35k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5496|  1.35k|        }
 5497|   170k|        else {
 5498|   170k|            ADDOP(c, loc, unaryop(e->v.UnaryOp.op));
  ------------------
  |  |  291|   170k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|   170k|    do {                    \
  |  |  |  |   52|   170k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 170k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|   170k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 170k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5499|   170k|        }
 5500|   229k|        break;
 5501|   229k|    case Lambda_kind:
  ------------------
  |  Branch (5501:5): [True: 4.35k, False: 2.51M]
  ------------------
 5502|  4.35k|        return codegen_lambda(c, e);
 5503|    587|    case IfExp_kind:
  ------------------
  |  Branch (5503:5): [True: 587, False: 2.51M]
  ------------------
 5504|    587|        return codegen_ifexp(c, e);
 5505|    535|    case Dict_kind:
  ------------------
  |  Branch (5505:5): [True: 535, False: 2.51M]
  ------------------
 5506|    535|        return codegen_dict(c, e);
 5507|  6.67k|    case Set_kind:
  ------------------
  |  Branch (5507:5): [True: 6.67k, False: 2.51M]
  ------------------
 5508|  6.67k|        return codegen_set(c, e);
 5509|    379|    case GeneratorExp_kind:
  ------------------
  |  Branch (5509:5): [True: 379, False: 2.51M]
  ------------------
 5510|    379|        return codegen_genexp(c, e);
 5511|     91|    case ListComp_kind:
  ------------------
  |  Branch (5511:5): [True: 91, False: 2.51M]
  ------------------
 5512|     91|        return codegen_listcomp(c, e, result_is_unused);
 5513|  1.56k|    case SetComp_kind:
  ------------------
  |  Branch (5513:5): [True: 1.56k, False: 2.51M]
  ------------------
 5514|  1.56k|        return codegen_setcomp(c, e);
 5515|    697|    case DictComp_kind:
  ------------------
  |  Branch (5515:5): [True: 697, False: 2.51M]
  ------------------
 5516|    697|        return codegen_dictcomp(c, e);
 5517|    274|    case Yield_kind:
  ------------------
  |  Branch (5517:5): [True: 274, False: 2.51M]
  ------------------
 5518|    274|        if (!_PyST_IsFunctionLike(SYMTABLE_ENTRY(c))) {
  ------------------
  |  |   71|    274|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (5518:13): [True: 109, False: 165]
  ------------------
 5519|    109|            return _PyCompile_Error(c, loc, "'yield' outside function");
 5520|    109|        }
 5521|    165|        if (e->v.Yield.value) {
  ------------------
  |  Branch (5521:13): [True: 59, False: 106]
  ------------------
 5522|     59|            VISIT(c, expr, e->v.Yield.value);
  ------------------
  |  |  453|     59|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     59|    do {                    \
  |  |  |  |   52|     59|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 59]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     59|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 59]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5523|     59|        }
 5524|    106|        else {
 5525|    106|            ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  308|    106|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    106|    do {                    \
  |  |  |  |   52|    106|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 106]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    106|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 106]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5526|    106|        }
 5527|    165|        ADDOP_YIELD(c, loc);
  ------------------
  |  |  446|    165|    RETURN_IF_ERROR(codegen_addop_yield((C), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    165|    do {                    \
  |  |  |  |   52|    165|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 165]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    165|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 165]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5528|    165|        break;
 5529|    165|    case YieldFrom_kind:
  ------------------
  |  Branch (5529:5): [True: 18, False: 2.51M]
  ------------------
 5530|     18|        if (!_PyST_IsFunctionLike(SYMTABLE_ENTRY(c))) {
  ------------------
  |  |   71|     18|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (5530:13): [True: 6, False: 12]
  ------------------
 5531|      6|            return _PyCompile_Error(c, loc, "'yield from' outside function");
 5532|      6|        }
 5533|     12|        if (SCOPE_TYPE(c) == COMPILE_SCOPE_ASYNC_FUNCTION) {
  ------------------
  |  |   74|     12|#define SCOPE_TYPE(C) _PyCompile_ScopeType(C)
  ------------------
  |  Branch (5533:13): [True: 6, False: 6]
  ------------------
 5534|      6|            return _PyCompile_Error(c, loc, "'yield from' inside async function");
 5535|      6|        }
 5536|      6|        VISIT(c, expr, e->v.YieldFrom.value);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5537|      6|        ADDOP_I(c, loc, GET_ITER, GET_ITER_YIELD_FROM);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5538|      6|        ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  308|      6|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|      6|    do {                    \
  |  |  |  |   52|      6|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      6|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5539|      6|        ADD_YIELD_FROM(c, loc, 0);
  ------------------
  |  |  440|      6|    RETURN_IF_ERROR(codegen_add_yield_from((C), (LOC), (await)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5540|      6|        break;
 5541|    308|    case Await_kind:
  ------------------
  |  Branch (5541:5): [True: 308, False: 2.51M]
  ------------------
 5542|    308|        VISIT(c, expr, e->v.Await.value);
  ------------------
  |  |  453|    308|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    308|    do {                    \
  |  |  |  |   52|    308|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 7, False: 301]
  |  |  |  |  ------------------
  |  |  |  |   53|      7|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      7|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      7|        }                   \
  |  |  |  |   55|    308|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 301]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5543|    301|        ADDOP_I(c, loc, GET_AWAITABLE, 0);
  ------------------
  |  |  277|    301|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    301|    do {                    \
  |  |  |  |   52|    301|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 301]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    301|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 301]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5544|    301|        ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  291|    301|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    301|    do {                    \
  |  |  |  |   52|    301|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 301]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    301|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 301]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5545|    301|        ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  308|    301|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    301|    do {                    \
  |  |  |  |   52|    301|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 301]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    301|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 301]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5546|    301|        ADD_YIELD_FROM(c, loc, 1);
  ------------------
  |  |  440|    301|    RETURN_IF_ERROR(codegen_add_yield_from((C), (LOC), (await)))
  |  |  ------------------
  |  |  |  |   51|    301|    do {                    \
  |  |  |  |   52|    301|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 301]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    301|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 301]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5547|    301|        break;
 5548|  21.3k|    case Compare_kind:
  ------------------
  |  Branch (5548:5): [True: 21.3k, False: 2.49M]
  ------------------
 5549|  21.3k|        return codegen_compare(c, e);
 5550|  9.83k|    case Call_kind:
  ------------------
  |  Branch (5550:5): [True: 9.83k, False: 2.50M]
  ------------------
 5551|  9.83k|        return codegen_call(c, e);
 5552|   942k|    case Constant_kind:
  ------------------
  |  Branch (5552:5): [True: 942k, False: 1.57M]
  ------------------
 5553|   942k|        ADDOP_LOAD_CONST(c, loc, e->v.Constant.value);
  ------------------
  |  |  308|   942k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|   942k|    do {                    \
  |  |  |  |   52|   942k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 942k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|   942k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 942k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5554|   942k|        break;
 5555|   942k|    case JoinedStr_kind:
  ------------------
  |  Branch (5555:5): [True: 3.51k, False: 2.51M]
  ------------------
 5556|  3.51k|        return codegen_joined_str(c, e);
 5557|  1.09k|    case TemplateStr_kind:
  ------------------
  |  Branch (5557:5): [True: 1.09k, False: 2.51M]
  ------------------
 5558|  1.09k|        return codegen_template_str(c, e);
 5559|  3.80k|    case FormattedValue_kind:
  ------------------
  |  Branch (5559:5): [True: 3.80k, False: 2.51M]
  ------------------
 5560|  3.80k|        return codegen_formatted_value(c, e);
 5561|  1.60k|    case Interpolation_kind:
  ------------------
  |  Branch (5561:5): [True: 1.60k, False: 2.51M]
  ------------------
 5562|  1.60k|        return codegen_interpolation(c, e);
 5563|       |    /* The following exprs can be assignment targets. */
 5564|  13.9k|    case Attribute_kind:
  ------------------
  |  Branch (5564:5): [True: 13.9k, False: 2.50M]
  ------------------
 5565|  13.9k|        if (e->v.Attribute.ctx == Load) {
  ------------------
  |  Branch (5565:13): [True: 12.4k, False: 1.44k]
  ------------------
 5566|  12.4k|            int ret = can_optimize_super_call(c, e);
 5567|  12.4k|            RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  12.4k|    do {                    \
  |  |   52|  12.4k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 12.4k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  12.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 12.4k]
  |  |  ------------------
  ------------------
 5568|  12.4k|            if (ret) {
  ------------------
  |  Branch (5568:17): [True: 499, False: 11.9k]
  ------------------
 5569|    499|                RETURN_IF_ERROR(load_args_for_super(c, e->v.Attribute.value));
  ------------------
  |  |   51|    499|    do {                    \
  |  |   52|    499|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 499]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    499|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 499]
  |  |  ------------------
  ------------------
 5570|    499|                int opcode = asdl_seq_LEN(e->v.Attribute.value->v.Call.args) ?
  ------------------
  |  |   83|    499|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    998|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 499, False: 0]
  |  |  |  |  |  Branch (277:37): [True: 0, False: 499]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5571|    499|                    LOAD_SUPER_ATTR : LOAD_ZERO_SUPER_ATTR;
  ------------------
  |  |  105|    499|#define LOAD_SUPER_ATTR                         92
  ------------------
                                  LOAD_SUPER_ATTR : LOAD_ZERO_SUPER_ATTR;
  ------------------
  |  |  357|      0|#define LOAD_ZERO_SUPER_ATTR -3
  ------------------
 5572|    499|                ADDOP_NAME(c, loc, opcode, e->v.Attribute.attr, names);
  ------------------
  |  |  412|    499|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|    499|    do {                    \
  |  |  |  |   52|    499|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 499]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    499|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 499]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5573|    499|                loc = update_start_location_to_match_attr(c, loc, e);
 5574|    499|                ADDOP(c, loc, NOP);
  ------------------
  |  |  291|    499|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    499|    do {                    \
  |  |  |  |   52|    499|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 499]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    499|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 499]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5575|    499|                return SUCCESS;
  ------------------
  |  |   47|    499|#define SUCCESS 0
  ------------------
 5576|    499|            }
 5577|  12.4k|        }
 5578|  13.4k|        RETURN_IF_ERROR(_PyCompile_MaybeAddStaticAttributeToClass(c, e));
  ------------------
  |  |   51|  13.4k|    do {                    \
  |  |   52|  13.4k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 13.4k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  13.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 13.4k]
  |  |  ------------------
  ------------------
 5579|  13.4k|        loc = LOC(e);
  ------------------
  |  |   88|  13.4k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  13.4k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  13.4k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  13.4k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  13.4k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  13.4k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5580|  13.4k|        loc = update_start_location_to_match_attr(c, loc, e);
 5581|  13.4k|        switch (e->v.Attribute.ctx) {
  ------------------
  |  Branch (5581:17): [True: 13.4k, False: 0]
  ------------------
 5582|  11.9k|        case Load:
  ------------------
  |  Branch (5582:9): [True: 11.9k, False: 1.44k]
  ------------------
 5583|  11.9k|            VISIT(c, expr, e->v.Attribute.value);
  ------------------
  |  |  453|  11.9k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  11.9k|    do {                    \
  |  |  |  |   52|  11.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 192, False: 11.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|    192|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    192|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|    192|        }                   \
  |  |  |  |   55|  11.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5584|  11.7k|            ADDOP_NAME(c, loc, LOAD_ATTR, e->v.Attribute.attr, names);
  ------------------
  |  |  412|  11.7k|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|  11.7k|    do {                    \
  |  |  |  |   52|  11.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 11.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  11.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5585|  11.7k|            break;
 5586|  11.7k|        case Store:
  ------------------
  |  Branch (5586:9): [True: 863, False: 12.5k]
  ------------------
 5587|    863|            VISIT(c, expr, e->v.Attribute.value);
  ------------------
  |  |  453|    863|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    863|    do {                    \
  |  |  |  |   52|    863|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 3, False: 860]
  |  |  |  |  ------------------
  |  |  |  |   53|      3|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      3|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      3|        }                   \
  |  |  |  |   55|    863|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 860]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5588|    860|            ADDOP_NAME(c, loc, STORE_ATTR, e->v.Attribute.attr, names);
  ------------------
  |  |  412|    860|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|    860|    do {                    \
  |  |  |  |   52|    860|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 860]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    860|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 860]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5589|    860|            break;
 5590|    860|        case Del:
  ------------------
  |  Branch (5590:9): [True: 585, False: 12.8k]
  ------------------
 5591|    585|            ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  291|    585|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    585|    do {                    \
  |  |  |  |   52|    585|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 585]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    585|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 585]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5592|    585|            VISIT(c, expr, e->v.Attribute.value);
  ------------------
  |  |  453|    585|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    585|    do {                    \
  |  |  |  |   52|    585|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 584]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    585|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 584]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5593|    584|            ADDOP_NAME(c, loc, STORE_ATTR, e->v.Attribute.attr, names);
  ------------------
  |  |  412|    584|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|    584|    do {                    \
  |  |  |  |   52|    584|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 584]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    584|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 584]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5594|    584|            break;
 5595|  13.4k|        }
 5596|  13.2k|        break;
 5597|  13.2k|    case Subscript_kind:
  ------------------
  |  Branch (5597:5): [True: 10.2k, False: 2.50M]
  ------------------
 5598|  10.2k|        return codegen_subscript(c, e);
 5599|    175|    case Starred_kind:
  ------------------
  |  Branch (5599:5): [True: 175, False: 2.51M]
  ------------------
 5600|    175|        switch (e->v.Starred.ctx) {
 5601|     43|        case Store:
  ------------------
  |  Branch (5601:9): [True: 43, False: 132]
  ------------------
 5602|       |            /* In all legitimate cases, the Starred node was already replaced
 5603|       |             * by codegen_list/codegen_tuple. XXX: is that okay? */
 5604|     43|            return _PyCompile_Error(c, loc,
 5605|     43|                "starred assignment target must be in a list or tuple");
 5606|    132|        default:
  ------------------
  |  Branch (5606:9): [True: 132, False: 43]
  ------------------
 5607|    132|            return _PyCompile_Error(c, loc,
 5608|    132|                "can't use starred expression here");
 5609|    175|        }
 5610|      0|        break;
 5611|  9.97k|    case Slice_kind:
  ------------------
  |  Branch (5611:5): [True: 9.97k, False: 2.50M]
  ------------------
 5612|  9.97k|        RETURN_IF_ERROR(codegen_slice(c, e));
  ------------------
  |  |   51|  9.97k|    do {                    \
  |  |   52|  9.97k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 8, False: 9.96k]
  |  |  ------------------
  |  |   53|      8|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      8|#define ERROR -1
  |  |  ------------------
  |  |   54|      8|        }                   \
  |  |   55|  9.97k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 9.96k]
  |  |  ------------------
  ------------------
 5613|  9.96k|        break;
 5614|   376k|    case Name_kind:
  ------------------
  |  Branch (5614:5): [True: 376k, False: 2.14M]
  ------------------
 5615|   376k|        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|  2.54k|    case List_kind:
  ------------------
  |  Branch (5617:5): [True: 2.54k, False: 2.51M]
  ------------------
 5618|  2.54k|        return codegen_list(c, e);
 5619|  78.0k|    case Tuple_kind:
  ------------------
  |  Branch (5619:5): [True: 78.0k, False: 2.43M]
  ------------------
 5620|  78.0k|        return codegen_tuple(c, e);
 5621|  2.51M|    }
 5622|  1.98M|    return SUCCESS;
  ------------------
  |  |   47|  1.98M|#define SUCCESS 0
  ------------------
 5623|  2.51M|}
codegen.c:codegen_boolop:
 3414|  2.69k|{
 3415|  2.69k|    int jumpi;
 3416|  2.69k|    Py_ssize_t i, n;
 3417|  2.69k|    asdl_expr_seq *s;
 3418|       |
 3419|  2.69k|    location loc = LOC(e);
  ------------------
  |  |   88|  2.69k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  2.69k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  2.69k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  2.69k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  2.69k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  2.69k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3420|  2.69k|    assert(e->kind == BoolOp_kind);
  ------------------
  |  Branch (3420:5): [True: 2.69k, False: 0]
  ------------------
 3421|  2.69k|    if (e->v.BoolOp.op == And)
  ------------------
  |  Branch (3421:9): [True: 1.25k, False: 1.43k]
  ------------------
 3422|  1.25k|        jumpi = JUMP_IF_FALSE;
  ------------------
  |  |  246|  1.25k|#define JUMP_IF_FALSE                          258
  ------------------
 3423|  1.43k|    else
 3424|  1.43k|        jumpi = JUMP_IF_TRUE;
  ------------------
  |  |  247|  1.43k|#define JUMP_IF_TRUE                           259
  ------------------
 3425|  2.69k|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|  2.69k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  2.69k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  2.69k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  2.69k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  2.69k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 2.69k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 3426|  2.69k|    s = e->v.BoolOp.values;
 3427|  2.69k|    n = asdl_seq_LEN(s) - 1;
  ------------------
  |  |   83|  2.69k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  5.38k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.69k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3428|  2.69k|    assert(n >= 0);
  ------------------
  |  Branch (3428:5): [True: 2.69k, False: 0]
  ------------------
 3429|  8.70k|    for (i = 0; i < n; ++i) {
  ------------------
  |  Branch (3429:17): [True: 6.03k, False: 2.67k]
  ------------------
 3430|  6.03k|        VISIT(c, expr, (expr_ty)asdl_seq_GET(s, i));
  ------------------
  |  |  453|  6.03k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  6.03k|    do {                    \
  |  |  |  |   52|  6.03k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 16, False: 6.01k]
  |  |  |  |  ------------------
  |  |  |  |   53|     16|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     16|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     16|        }                   \
  |  |  |  |   55|  6.03k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.01k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3431|  6.01k|        ADDOP_JUMP(c, loc, jumpi, end);
  ------------------
  |  |  428|  6.01k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  6.01k|    do {                    \
  |  |  |  |   52|  6.01k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6.01k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  6.01k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.01k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3432|  6.01k|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  291|  6.01k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  6.01k|    do {                    \
  |  |  |  |   52|  6.01k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6.01k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  6.01k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.01k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3433|  6.01k|    }
 3434|  2.67k|    VISIT(c, expr, (expr_ty)asdl_seq_GET(s, n));
  ------------------
  |  |  453|  2.67k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  2.67k|    do {                    \
  |  |  |  |   52|  2.67k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 8, False: 2.66k]
  |  |  |  |  ------------------
  |  |  |  |   53|      8|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      8|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      8|        }                   \
  |  |  |  |   55|  2.67k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.66k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3435|       |
 3436|  2.66k|    USE_LABEL(c, end);
  ------------------
  |  |   97|  2.66k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  2.66k|    do {                    \
  |  |  |  |   52|  2.66k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.66k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.66k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.66k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3437|  2.66k|    return SUCCESS;
  ------------------
  |  |   47|  2.66k|#define SUCCESS 0
  ------------------
 3438|  2.66k|}
codegen.c:unaryop:
 3213|   170k|{
 3214|   170k|    switch (op) {
 3215|  11.8k|    case Invert:
  ------------------
  |  Branch (3215:5): [True: 11.8k, False: 158k]
  ------------------
 3216|  11.8k|        return UNARY_INVERT;
  ------------------
  |  |   51|  11.8k|#define UNARY_INVERT                            38
  ------------------
 3217|   158k|    case USub:
  ------------------
  |  Branch (3217:5): [True: 158k, False: 11.8k]
  ------------------
 3218|   158k|        return UNARY_NEGATIVE;
  ------------------
  |  |   52|   158k|#define UNARY_NEGATIVE                          39
  ------------------
 3219|      0|    default:
  ------------------
  |  Branch (3219:5): [True: 0, False: 170k]
  ------------------
 3220|      0|        PyErr_Format(PyExc_SystemError,
 3221|      0|            "unary op %d should not be possible", op);
 3222|      0|        return 0;
 3223|   170k|    }
 3224|   170k|}
codegen.c:codegen_lambda:
 2075|  4.35k|{
 2076|  4.35k|    PyCodeObject *co;
 2077|  4.35k|    Py_ssize_t funcflags;
 2078|  4.35k|    arguments_ty args = e->v.Lambda.args;
 2079|  4.35k|    assert(e->kind == Lambda_kind);
  ------------------
  |  Branch (2079:5): [True: 4.35k, False: 0]
  ------------------
 2080|       |
 2081|  4.35k|    location loc = LOC(e);
  ------------------
  |  |   88|  4.35k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  4.35k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  4.35k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  4.35k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  4.35k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  4.35k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2082|  4.35k|    funcflags = codegen_default_arguments(c, loc, args);
 2083|  4.35k|    RETURN_IF_ERROR(funcflags);
  ------------------
  |  |   51|  4.35k|    do {                    \
  |  |   52|  4.35k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 4.35k]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|  4.35k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 4.35k]
  |  |  ------------------
  ------------------
 2084|       |
 2085|  4.35k|    _PyCompile_CodeUnitMetadata umd = {
 2086|  4.35k|        .u_argcount = asdl_seq_LEN(args->args),
  ------------------
  |  |   83|  4.35k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  8.70k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 4.35k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2087|  4.35k|        .u_posonlyargcount = asdl_seq_LEN(args->posonlyargs),
  ------------------
  |  |   83|  4.35k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  8.70k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 4.35k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2088|  4.35k|        .u_kwonlyargcount = asdl_seq_LEN(args->kwonlyargs),
  ------------------
  |  |   83|  4.35k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  8.70k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 4.35k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2089|  4.35k|    };
 2090|  4.35k|    _Py_DECLARE_STR(anon_lambda, "<lambda>");
 2091|  4.35k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  4.35k|    do {                    \
  |  |   52|  4.35k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 4.35k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  4.35k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 4.35k]
  |  |  ------------------
  ------------------
 2092|  4.35k|        codegen_enter_scope(c, &_Py_STR(anon_lambda), COMPILE_SCOPE_LAMBDA,
 2093|  4.35k|                            (void *)e, e->lineno, NULL, &umd));
 2094|       |
 2095|  4.35k|    assert(!SYMTABLE_ENTRY(c)->ste_has_docstring);
  ------------------
  |  Branch (2095:5): [True: 4.35k, False: 0]
  ------------------
 2096|       |
 2097|  4.35k|    VISIT_IN_SCOPE(c, expr, e->v.Lambda.body);
  ------------------
  |  |  456|  4.35k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   58|  4.35k|    do {                                    \
  |  |  |  |   59|  4.35k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 3, False: 4.34k]
  |  |  |  |  ------------------
  |  |  |  |   60|      3|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      3|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      3|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      3|        }                                   \
  |  |  |  |   63|  4.35k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 4.34k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2098|  4.34k|    if (SYMTABLE_ENTRY(c)->ste_generator) {
  ------------------
  |  |   71|  4.34k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (2098:9): [True: 0, False: 4.34k]
  ------------------
 2099|      0|        co = _PyCompile_OptimizeAndAssemble(c, 0);
 2100|      0|    }
 2101|  4.34k|    else {
 2102|  4.34k|        location loc = LOC(e->v.Lambda.body);
  ------------------
  |  |   88|  4.34k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  4.34k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  4.34k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  4.34k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  4.34k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  4.34k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2103|  4.34k|        ADDOP_IN_SCOPE(c, loc, RETURN_VALUE);
  ------------------
  |  |  294|  4.34k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   58|  4.34k|    do {                                    \
  |  |  |  |   59|  4.34k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 4.34k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  4.34k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 4.34k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2104|  4.34k|        co = _PyCompile_OptimizeAndAssemble(c, 1);
 2105|  4.34k|    }
 2106|  4.34k|    _PyCompile_ExitScope(c);
 2107|  4.34k|    if (co == NULL) {
  ------------------
  |  Branch (2107:9): [True: 0, False: 4.34k]
  ------------------
 2108|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 2109|      0|    }
 2110|       |
 2111|  4.34k|    int ret = codegen_make_closure(c, loc, co, funcflags);
 2112|  4.34k|    Py_DECREF(co);
  ------------------
  |  |  430|  4.34k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2113|  4.34k|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  4.34k|    do {                    \
  |  |   52|  4.34k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 4.34k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  4.34k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 4.34k]
  |  |  ------------------
  ------------------
 2114|  4.34k|    return SUCCESS;
  ------------------
  |  |   47|  4.34k|#define SUCCESS 0
  ------------------
 2115|  4.34k|}
codegen.c:codegen_ifexp:
 2055|    587|{
 2056|    587|    assert(e->kind == IfExp_kind);
  ------------------
  |  Branch (2056:5): [True: 587, False: 0]
  ------------------
 2057|    587|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|    587|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    587|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    587|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    587|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    587|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 587]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2058|    587|    NEW_JUMP_TARGET_LABEL(c, next);
  ------------------
  |  |   91|    587|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    587|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    587|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    587|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    587|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 587]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2059|       |
 2060|    587|    RETURN_IF_ERROR(
  ------------------
  |  |   51|    587|    do {                    \
  |  |   52|    587|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 587]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    587|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 587]
  |  |  ------------------
  ------------------
 2061|    587|        codegen_jump_if(c, LOC(e), e->v.IfExp.test, next, 0));
 2062|       |
 2063|    587|    VISIT(c, expr, e->v.IfExp.body);
  ------------------
  |  |  453|    587|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    587|    do {                    \
  |  |  |  |   52|    587|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 586]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    587|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 586]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2064|    586|    ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  428|    586|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    586|    do {                    \
  |  |  |  |   52|    586|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 586]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    586|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 586]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2065|       |
 2066|    586|    USE_LABEL(c, next);
  ------------------
  |  |   97|    586|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    586|    do {                    \
  |  |  |  |   52|    586|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 586]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    586|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 586]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2067|    586|    VISIT(c, expr, e->v.IfExp.orelse);
  ------------------
  |  |  453|    586|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    586|    do {                    \
  |  |  |  |   52|    586|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 16, False: 570]
  |  |  |  |  ------------------
  |  |  |  |   53|     16|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     16|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     16|        }                   \
  |  |  |  |   55|    586|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 570]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2068|       |
 2069|    570|    USE_LABEL(c, end);
  ------------------
  |  |   97|    570|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    570|    do {                    \
  |  |  |  |   52|    570|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 570]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    570|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 570]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2070|    570|    return SUCCESS;
  ------------------
  |  |   47|    570|#define SUCCESS 0
  ------------------
 2071|    570|}
codegen.c:codegen_dict:
 3621|    535|{
 3622|    535|    location loc = LOC(e);
  ------------------
  |  |   88|    535|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    535|    (_Py_SourceLocation){ \
  |  |  |  |   55|    535|               .lineno = (n)->lineno, \
  |  |  |  |   56|    535|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    535|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    535|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3623|    535|    Py_ssize_t i, n, elements;
 3624|    535|    int have_dict;
 3625|    535|    int is_unpacking = 0;
 3626|    535|    n = asdl_seq_LEN(e->v.Dict.values);
  ------------------
  |  |   83|    535|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.07k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 535]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3627|    535|    have_dict = 0;
 3628|    535|    elements = 0;
 3629|  1.14k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3629:17): [True: 613, False: 530]
  ------------------
 3630|    613|        is_unpacking = (expr_ty)asdl_seq_GET(e->v.Dict.keys, i) == NULL;
  ------------------
  |  |   82|    613|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    613|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3631|    613|        if (is_unpacking) {
  ------------------
  |  Branch (3631:13): [True: 143, False: 470]
  ------------------
 3632|    143|            if (elements) {
  ------------------
  |  Branch (3632:17): [True: 98, False: 45]
  ------------------
 3633|     98|                RETURN_IF_ERROR(codegen_subdict(c, e, i - elements, i));
  ------------------
  |  |   51|     98|    do {                    \
  |  |   52|     98|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 2, False: 96]
  |  |  ------------------
  |  |   53|      2|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      2|#define ERROR -1
  |  |  ------------------
  |  |   54|      2|        }                   \
  |  |   55|     98|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 96]
  |  |  ------------------
  ------------------
 3634|     96|                if (have_dict) {
  ------------------
  |  Branch (3634:21): [True: 0, False: 96]
  ------------------
 3635|      0|                    ADDOP_I(c, loc, DICT_UPDATE, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3636|      0|                }
 3637|     96|                have_dict = 1;
 3638|     96|                elements = 0;
 3639|     96|            }
 3640|    141|            if (have_dict == 0) {
  ------------------
  |  Branch (3640:17): [True: 45, False: 96]
  ------------------
 3641|     45|                ADDOP_I(c, loc, BUILD_MAP, 0);
  ------------------
  |  |  277|     45|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     45|    do {                    \
  |  |  |  |   52|     45|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 45]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     45|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 45]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3642|     45|                have_dict = 1;
 3643|     45|            }
 3644|    141|            VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Dict.values, i));
  ------------------
  |  |  453|    141|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    141|    do {                    \
  |  |  |  |   52|    141|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 3, False: 138]
  |  |  |  |  ------------------
  |  |  |  |   53|      3|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      3|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      3|        }                   \
  |  |  |  |   55|    141|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 138]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3645|    138|            ADDOP_I(c, loc, DICT_UPDATE, 1);
  ------------------
  |  |  277|    138|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    138|    do {                    \
  |  |  |  |   52|    138|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 138]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    138|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 138]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3646|    138|        }
 3647|    470|        else {
 3648|    470|            if (elements*2 > _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|    470|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (3648:17): [True: 16, False: 454]
  ------------------
 3649|     16|                RETURN_IF_ERROR(codegen_subdict(c, e, i - elements, i + 1));
  ------------------
  |  |   51|     16|    do {                    \
  |  |   52|     16|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 16]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 3650|     16|                if (have_dict) {
  ------------------
  |  Branch (3650:21): [True: 10, False: 6]
  ------------------
 3651|     10|                    ADDOP_I(c, loc, DICT_UPDATE, 1);
  ------------------
  |  |  277|     10|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     10|    do {                    \
  |  |  |  |   52|     10|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     10|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3652|     10|                }
 3653|     16|                have_dict = 1;
 3654|     16|                elements = 0;
 3655|     16|            }
 3656|    454|            else {
 3657|    454|                elements++;
 3658|    454|            }
 3659|    470|        }
 3660|    613|    }
 3661|    530|    if (elements) {
  ------------------
  |  Branch (3661:9): [True: 56, False: 474]
  ------------------
 3662|     56|        RETURN_IF_ERROR(codegen_subdict(c, e, n - elements, n));
  ------------------
  |  |   51|     56|    do {                    \
  |  |   52|     56|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 4, False: 52]
  |  |  ------------------
  |  |   53|      4|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      4|#define ERROR -1
  |  |  ------------------
  |  |   54|      4|        }                   \
  |  |   55|     56|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 52]
  |  |  ------------------
  ------------------
 3663|     52|        if (have_dict) {
  ------------------
  |  Branch (3663:13): [True: 5, False: 47]
  ------------------
 3664|      5|            ADDOP_I(c, loc, DICT_UPDATE, 1);
  ------------------
  |  |  277|      5|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3665|      5|        }
 3666|     52|        have_dict = 1;
 3667|     52|    }
 3668|    526|    if (!have_dict) {
  ------------------
  |  Branch (3668:9): [True: 335, False: 191]
  ------------------
 3669|    335|        ADDOP_I(c, loc, BUILD_MAP, 0);
  ------------------
  |  |  277|    335|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    335|    do {                    \
  |  |  |  |   52|    335|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 335]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    335|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 335]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3670|    335|    }
 3671|    526|    return SUCCESS;
  ------------------
  |  |   47|    526|#define SUCCESS 0
  ------------------
 3672|    526|}
codegen.c:codegen_subdict:
 3599|    170|{
 3600|    170|    Py_ssize_t i, n = end - begin;
 3601|    170|    int big = n*2 > _PY_STACK_USE_GUIDELINE;
  ------------------
  |  |   24|    170|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
 3602|    170|    location loc = LOC(e);
  ------------------
  |  |   88|    170|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    170|    (_Py_SourceLocation){ \
  |  |  |  |   55|    170|               .lineno = (n)->lineno, \
  |  |  |  |   56|    170|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    170|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    170|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3603|    170|    if (big) {
  ------------------
  |  Branch (3603:9): [True: 17, False: 153]
  ------------------
 3604|     17|        ADDOP_I(c, loc, BUILD_MAP, 0);
  ------------------
  |  |  277|     17|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     17|    do {                    \
  |  |  |  |   52|     17|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 17]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     17|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3605|     17|    }
 3606|    634|    for (i = begin; i < end; i++) {
  ------------------
  |  Branch (3606:21): [True: 470, False: 164]
  ------------------
 3607|    470|        VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Dict.keys, i));
  ------------------
  |  |  453|    470|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    470|    do {                    \
  |  |  |  |   52|    470|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 469]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    470|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 469]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3608|    469|        VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Dict.values, i));
  ------------------
  |  |  453|    469|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    469|    do {                    \
  |  |  |  |   52|    469|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 5, False: 464]
  |  |  |  |  ------------------
  |  |  |  |   53|      5|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      5|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      5|        }                   \
  |  |  |  |   55|    469|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 464]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3609|    464|        if (big) {
  ------------------
  |  Branch (3609:13): [True: 288, False: 176]
  ------------------
 3610|    288|            ADDOP_I(c, loc, MAP_ADD, 1);
  ------------------
  |  |  277|    288|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    288|    do {                    \
  |  |  |  |   52|    288|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 288]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    288|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 288]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3611|    288|        }
 3612|    464|    }
 3613|    164|    if (!big) {
  ------------------
  |  Branch (3613:9): [True: 147, False: 17]
  ------------------
 3614|    147|        ADDOP_I(c, loc, BUILD_MAP, n);
  ------------------
  |  |  277|    147|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    147|    do {                    \
  |  |  |  |   52|    147|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 147]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    147|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 147]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3615|    147|    }
 3616|    164|    return SUCCESS;
  ------------------
  |  |   47|    164|#define SUCCESS 0
  ------------------
 3617|    164|}
codegen.c:codegen_set:
 3591|  6.67k|{
 3592|  6.67k|    location loc = LOC(e);
  ------------------
  |  |   88|  6.67k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  6.67k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  6.67k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  6.67k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  6.67k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  6.67k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3593|  6.67k|    return starunpack_helper(c, loc, e->v.Set.elts, 0,
 3594|  6.67k|                             BUILD_SET, SET_ADD, SET_UPDATE, 0);
  ------------------
  |  |   59|  6.67k|#define BUILD_SET                               46
  ------------------
                                           BUILD_SET, SET_ADD, SET_UPDATE, 0);
  ------------------
  |  |  116|  6.67k|#define SET_ADD                                103
  ------------------
                                           BUILD_SET, SET_ADD, SET_UPDATE, 0);
  ------------------
  |  |  118|  6.67k|#define SET_UPDATE                             105
  ------------------
 3595|  6.67k|}
codegen.c:starunpack_helper:
 3508|  63.6k|{
 3509|       |    return starunpack_helper_impl(c, loc, elts, NULL, pushed,
 3510|  63.6k|                                  build, add, extend, tuple);
 3511|  63.6k|}
codegen.c:codegen_genexp:
 5185|    379|{
 5186|    379|    assert(e->kind == GeneratorExp_kind);
  ------------------
  |  Branch (5186:5): [True: 379, False: 0]
  ------------------
 5187|    379|    _Py_DECLARE_STR(anon_genexpr, "<genexpr>");
 5188|    379|    return codegen_comprehension(c, e, COMP_GENEXP, &_Py_STR(anon_genexpr),
  ------------------
  |  |   40|    379|#define COMP_GENEXP   0
  ------------------
                  return codegen_comprehension(c, e, COMP_GENEXP, &_Py_STR(anon_genexpr),
  ------------------
  |  |  923|    379|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    379|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    379|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5189|    379|                                 e->v.GeneratorExp.generators,
 5190|    379|                                 e->v.GeneratorExp.elt, NULL, false);
 5191|    379|}
codegen.c:codegen_comprehension:
 5042|  2.72k|{
 5043|  2.72k|    PyCodeObject *co = NULL;
 5044|  2.72k|    _PyCompile_InlinedComprehensionState inline_state = {NULL, NULL, NULL, NO_LABEL};
  ------------------
  |  |   57|  2.72k|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
 5045|  2.72k|    comprehension_ty outermost;
 5046|  2.72k|    PySTEntryObject *entry = _PySymtable_Lookup(SYMTABLE(c), (void *)e);
  ------------------
  |  |   70|  2.72k|#define SYMTABLE(C) _PyCompile_Symtable(C)
  ------------------
 5047|  2.72k|    if (entry == NULL) {
  ------------------
  |  Branch (5047:9): [True: 0, False: 2.72k]
  ------------------
 5048|      0|        goto error;
 5049|      0|    }
 5050|  2.72k|    int is_inlined = entry->ste_comp_inlined;
 5051|  2.72k|    int is_async_comprehension = entry->ste_coroutine;
 5052|       |
 5053|  2.72k|    location loc = LOC(e);
  ------------------
  |  |   88|  2.72k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  2.72k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  2.72k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  2.72k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  2.72k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  2.72k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5054|       |
 5055|  2.72k|    outermost = (comprehension_ty) asdl_seq_GET(generators, 0);
  ------------------
  |  |   82|  2.72k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  2.72k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 5056|  2.72k|    IterStackPosition iter_state;
 5057|  2.72k|    if (is_inlined) {
  ------------------
  |  Branch (5057:9): [True: 2.34k, False: 379]
  ------------------
 5058|  2.34k|        VISIT(c, expr, outermost->iter);
  ------------------
  |  |  453|  2.34k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  2.34k|    do {                    \
  |  |  |  |   52|  2.34k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 3, False: 2.34k]
  |  |  |  |  ------------------
  |  |  |  |   53|      3|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      3|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      3|        }                   \
  |  |  |  |   55|  2.34k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.34k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5059|  2.34k|        if (push_inlined_comprehension_state(c, loc, entry, &inline_state)) {
  ------------------
  |  Branch (5059:13): [True: 0, False: 2.34k]
  ------------------
 5060|      0|            goto error;
 5061|      0|        }
 5062|  2.34k|        iter_state = ITERABLE_ON_STACK;
 5063|  2.34k|    }
 5064|    379|    else {
 5065|       |        /* Receive outermost iter as an implicit argument */
 5066|    379|        _PyCompile_CodeUnitMetadata umd = {
 5067|    379|            .u_argcount = 1,
 5068|    379|        };
 5069|    379|        if (codegen_enter_scope(c, name, COMPILE_SCOPE_COMPREHENSION,
  ------------------
  |  Branch (5069:13): [True: 0, False: 379]
  ------------------
 5070|    379|                                (void *)e, e->lineno, NULL, &umd) < 0) {
 5071|      0|            goto error;
 5072|      0|        }
 5073|    379|        if (type == COMP_GENEXP) {
  ------------------
  |  |   40|    379|#define COMP_GENEXP   0
  ------------------
  |  Branch (5073:13): [True: 379, False: 0]
  ------------------
 5074|       |            /* Insert GET_ITER before RETURN_GENERATOR.
 5075|       |               https://docs.python.org/3/reference/expressions.html#generator-expressions */
 5076|    379|            RETURN_IF_ERROR(
  ------------------
  |  |   51|    379|    do {                    \
  |  |   52|    379|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 379]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    379|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 379]
  |  |  ------------------
  ------------------
 5077|    379|                _PyInstructionSequence_InsertInstruction(
 5078|    379|                    INSTR_SEQUENCE(c), 0,
 5079|    379|                    RESUME, RESUME_AT_GEN_EXPR_START, NO_LOCATION));
 5080|    379|            RETURN_IF_ERROR(
  ------------------
  |  |   51|    379|    do {                    \
  |  |   52|    379|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 379]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    379|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 379]
  |  |  ------------------
  ------------------
 5081|    379|                _PyInstructionSequence_InsertInstruction(
 5082|    379|                    INSTR_SEQUENCE(c), 1,
 5083|    379|                    LOAD_FAST, 0, LOC(outermost->iter)));
 5084|    379|            RETURN_IF_ERROR(
  ------------------
  |  |   51|    379|    do {                    \
  |  |   52|    758|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 379]
  |  |  |  Branch (52:14): [True: 11, False: 368]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    379|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 379]
  |  |  ------------------
  ------------------
 5085|    379|                _PyInstructionSequence_InsertInstruction(
 5086|    379|                    INSTR_SEQUENCE(c), 2,
 5087|    379|                    outermost->is_async ? GET_AITER : GET_ITER,
 5088|    379|                    0, LOC(outermost->iter)));
 5089|    379|            iter_state = ITERATOR_ON_STACK;
 5090|    379|        }
 5091|      0|        else {
 5092|      0|            iter_state = ITERABLE_IN_LOCAL;
 5093|      0|        }
 5094|    379|    }
 5095|  2.72k|    Py_CLEAR(entry);
  ------------------
  |  |  484|  2.72k|    do { \
  |  |  485|  2.72k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.72k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.72k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.72k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.72k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.72k, False: 0]
  |  |  ------------------
  |  |  488|  2.72k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.72k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.72k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.72k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.72k|        } \
  |  |  491|  2.72k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.72k]
  |  |  ------------------
  ------------------
 5096|       |
 5097|  2.72k|    if (type != COMP_GENEXP) {
  ------------------
  |  |   40|  2.72k|#define COMP_GENEXP   0
  ------------------
  |  Branch (5097:9): [True: 2.34k, False: 379]
  ------------------
 5098|  2.34k|        int op;
 5099|  2.34k|        switch (type) {
 5100|     89|        case COMP_LISTCOMP:
  ------------------
  |  |   41|     89|#define COMP_LISTCOMP 1
  ------------------
  |  Branch (5100:9): [True: 89, False: 2.25k]
  ------------------
 5101|     89|            op = BUILD_LIST;
  ------------------
  |  |   57|     89|#define BUILD_LIST                              44
  ------------------
 5102|     89|            break;
 5103|  1.56k|        case COMP_SETCOMP:
  ------------------
  |  |   42|  1.56k|#define COMP_SETCOMP  2
  ------------------
  |  Branch (5103:9): [True: 1.56k, False: 786]
  ------------------
 5104|  1.56k|            op = BUILD_SET;
  ------------------
  |  |   59|  1.56k|#define BUILD_SET                               46
  ------------------
 5105|  1.56k|            break;
 5106|    697|        case COMP_DICTCOMP:
  ------------------
  |  |   43|    697|#define COMP_DICTCOMP 3
  ------------------
  |  Branch (5106:9): [True: 697, False: 1.64k]
  ------------------
 5107|    697|            op = BUILD_MAP;
  ------------------
  |  |   58|    697|#define BUILD_MAP                               45
  ------------------
 5108|    697|            break;
 5109|      0|        default:
  ------------------
  |  Branch (5109:9): [True: 0, False: 2.34k]
  ------------------
 5110|      0|            PyErr_Format(PyExc_SystemError,
 5111|      0|                         "unknown comprehension type %d", type);
 5112|      0|            goto error_in_scope;
 5113|  2.34k|        }
 5114|       |
 5115|  2.34k|        if (!avoid_creation) {
  ------------------
  |  Branch (5115:13): [True: 2.34k, False: 2]
  ------------------
 5116|  2.34k|            ADDOP_I(c, loc, op, 0);
  ------------------
  |  |  277|  2.34k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.34k|    do {                    \
  |  |  |  |   52|  2.34k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.34k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.34k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.34k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5117|  2.34k|            if (is_inlined) {
  ------------------
  |  Branch (5117:17): [True: 2.34k, False: 0]
  ------------------
 5118|  2.34k|                ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  277|  2.34k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.34k|    do {                    \
  |  |  |  |   52|  2.34k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.34k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.34k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.34k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5119|  2.34k|            }
 5120|  2.34k|        } else {
 5121|      2|            ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  277|      2|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5122|      2|        }
 5123|  2.34k|    }
 5124|  2.72k|    if (codegen_comprehension_generator(c, loc, generators, 0, 0,
  ------------------
  |  Branch (5124:9): [True: 42, False: 2.68k]
  ------------------
 5125|  2.72k|                                        elt, val, type, iter_state, avoid_creation) < 0) {
 5126|     42|        goto error_in_scope;
 5127|     42|    }
 5128|       |
 5129|  2.68k|    if (is_inlined) {
  ------------------
  |  Branch (5129:9): [True: 2.33k, False: 352]
  ------------------
 5130|  2.33k|        if (pop_inlined_comprehension_state(c, loc, &inline_state)) {
  ------------------
  |  Branch (5130:13): [True: 0, False: 2.33k]
  ------------------
 5131|      0|            goto error;
 5132|      0|        }
 5133|  2.33k|        return SUCCESS;
  ------------------
  |  |   47|  2.33k|#define SUCCESS 0
  ------------------
 5134|  2.33k|    }
 5135|       |
 5136|    352|    if (type != COMP_GENEXP) {
  ------------------
  |  |   40|    352|#define COMP_GENEXP   0
  ------------------
  |  Branch (5136:9): [True: 0, False: 352]
  ------------------
 5137|      0|        ADDOP(c, LOC(e), RETURN_VALUE);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5138|      0|    }
 5139|    352|    if (type == COMP_GENEXP) {
  ------------------
  |  |   40|    352|#define COMP_GENEXP   0
  ------------------
  |  Branch (5139:9): [True: 352, False: 0]
  ------------------
 5140|    352|        if (codegen_wrap_in_stopiteration_handler(c) < 0) {
  ------------------
  |  Branch (5140:13): [True: 0, False: 352]
  ------------------
 5141|      0|            goto error_in_scope;
 5142|      0|        }
 5143|    352|    }
 5144|       |
 5145|    352|    co = _PyCompile_OptimizeAndAssemble(c, 1);
 5146|    352|    _PyCompile_ExitScope(c);
 5147|    352|    if (co == NULL) {
  ------------------
  |  Branch (5147:9): [True: 0, False: 352]
  ------------------
 5148|      0|        goto error;
 5149|      0|    }
 5150|       |
 5151|    352|    loc = LOC(e);
  ------------------
  |  |   88|    352|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    352|    (_Py_SourceLocation){ \
  |  |  |  |   55|    352|               .lineno = (n)->lineno, \
  |  |  |  |   56|    352|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    352|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    352|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5152|    352|    if (codegen_make_closure(c, loc, co, 0) < 0) {
  ------------------
  |  Branch (5152:9): [True: 0, False: 352]
  ------------------
 5153|      0|        goto error;
 5154|      0|    }
 5155|    352|    Py_CLEAR(co);
  ------------------
  |  |  484|    352|    do { \
  |  |  485|    352|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    352|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    352|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    352|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    352|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 352, False: 0]
  |  |  ------------------
  |  |  488|    352|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    352|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    352|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    352|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    352|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    352|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    352|        } \
  |  |  491|    352|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 352]
  |  |  ------------------
  ------------------
 5156|       |
 5157|    352|    VISIT(c, expr, outermost->iter);
  ------------------
  |  |  453|    352|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    352|    do {                    \
  |  |  |  |   52|    352|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 7, False: 345]
  |  |  |  |  ------------------
  |  |  |  |   53|      7|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      7|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      7|        }                   \
  |  |  |  |   55|    352|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 345]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5158|    345|    ADDOP_I(c, loc, CALL, 0);
  ------------------
  |  |  277|    345|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    345|    do {                    \
  |  |  |  |   52|    345|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 345]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    345|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 345]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5159|       |
 5160|    345|    if (is_async_comprehension && type != COMP_GENEXP) {
  ------------------
  |  |   40|      4|#define COMP_GENEXP   0
  ------------------
  |  Branch (5160:9): [True: 4, False: 341]
  |  Branch (5160:35): [True: 0, False: 4]
  ------------------
 5161|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5162|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5163|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5164|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5165|      0|    }
 5166|       |
 5167|    345|    assert(!avoid_creation);
  ------------------
  |  Branch (5167:5): [True: 345, False: 0]
  ------------------
 5168|       |
 5169|    345|    return SUCCESS;
  ------------------
  |  |   47|    345|#define SUCCESS 0
  ------------------
 5170|     42|error_in_scope:
 5171|     42|    if (!is_inlined) {
  ------------------
  |  Branch (5171:9): [True: 27, False: 15]
  ------------------
 5172|     27|        _PyCompile_ExitScope(c);
 5173|     27|    }
 5174|     42|error:
 5175|     42|    Py_XDECREF(co);
  ------------------
  |  |  524|     42|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5176|     42|    Py_XDECREF(entry);
  ------------------
  |  |  524|     42|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5177|     42|    Py_XDECREF(inline_state.pushed_locals);
  ------------------
  |  |  524|     42|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5178|     42|    Py_XDECREF(inline_state.temp_symbols);
  ------------------
  |  |  524|     42|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5179|     42|    Py_XDECREF(inline_state.fast_hidden);
  ------------------
  |  |  524|     42|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5180|     42|    return ERROR;
  ------------------
  |  |   48|     42|#define ERROR -1
  ------------------
 5181|     42|}
codegen.c:push_inlined_comprehension_state:
 4974|  2.34k|{
 4975|  2.34k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  2.34k|    do {                    \
  |  |   52|  2.34k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.34k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.34k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.34k]
  |  |  ------------------
  ------------------
 4976|  2.34k|        _PyCompile_TweakInlinedComprehensionScopes(c, loc, comp, state));
 4977|  2.34k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  2.34k|    do {                    \
  |  |   52|  2.34k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.34k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.34k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.34k]
  |  |  ------------------
  ------------------
 4978|  2.34k|        codegen_push_inlined_comprehension_locals(c, loc, comp, state));
 4979|  2.34k|    return SUCCESS;
  ------------------
  |  |   47|  2.34k|#define SUCCESS 0
  ------------------
 4980|  2.34k|}
codegen.c:codegen_push_inlined_comprehension_locals:
 4906|  2.34k|{
 4907|  2.34k|    int in_class_block = (SYMTABLE_ENTRY(c)->ste_type == ClassBlock) &&
  ------------------
  |  |   71|  2.34k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (4907:26): [True: 21, False: 2.32k]
  ------------------
 4908|     21|                          !_PyCompile_IsInInlinedComp(c);
  ------------------
  |  Branch (4908:27): [True: 0, False: 21]
  ------------------
 4909|  2.34k|    PySTEntryObject *outer = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|  2.34k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
 4910|       |    // iterate over names bound in the comprehension and ensure we isolate
 4911|       |    // them from the outer scope as needed
 4912|  2.34k|    PyObject *k, *v;
 4913|  2.34k|    Py_ssize_t pos = 0;
 4914|  14.8k|    while (PyDict_Next(comp->ste_symbols, &pos, &k, &v)) {
  ------------------
  |  Branch (4914:12): [True: 12.4k, False: 2.34k]
  ------------------
 4915|  12.4k|        long symbol = PyLong_AsLong(v);
 4916|  12.4k|        assert(symbol >= 0 || PyErr_Occurred());
  ------------------
  |  Branch (4916:9): [True: 12.4k, False: 0]
  |  Branch (4916:9): [True: 0, False: 0]
  ------------------
 4917|  12.4k|        RETURN_IF_ERROR(symbol);
  ------------------
  |  |   51|  12.4k|    do {                    \
  |  |   52|  12.4k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 12.4k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  12.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 12.4k]
  |  |  ------------------
  ------------------
 4918|  12.4k|        long scope = SYMBOL_TO_SCOPE(symbol);
  ------------------
  |  |  185|  12.4k|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  183|  12.4k|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  184|  12.4k|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|  12.4k|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  166|  12.4k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  167|  12.4k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  168|  12.4k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4919|       |
 4920|  12.4k|        long outsymbol = _PyST_GetSymbol(outer, k);
 4921|  12.4k|        RETURN_IF_ERROR(outsymbol);
  ------------------
  |  |   51|  12.4k|    do {                    \
  |  |   52|  12.4k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 12.4k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  12.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 12.4k]
  |  |  ------------------
  ------------------
 4922|  12.4k|        long outsc = SYMBOL_TO_SCOPE(outsymbol);
  ------------------
  |  |  185|  12.4k|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  183|  12.4k|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  184|  12.4k|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|  12.4k|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  166|  12.4k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  167|  12.4k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  168|  12.4k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4923|       |
 4924|  12.4k|        if ((symbol & DEF_LOCAL && !(symbol & DEF_NONLOCAL)) || in_class_block) {
  ------------------
  |  |  166|  24.9k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if ((symbol & DEF_LOCAL && !(symbol & DEF_NONLOCAL)) || in_class_block) {
  ------------------
  |  |  168|  6.90k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (4924:14): [True: 6.90k, False: 5.56k]
  |  Branch (4924:36): [True: 6.60k, False: 296]
  |  Branch (4924:65): [True: 0, False: 5.86k]
  ------------------
 4925|       |            // local names bound in comprehension must be isolated from
 4926|       |            // outer scope; push existing value (which may be NULL if
 4927|       |            // not defined) on stack
 4928|  6.60k|            if (state->pushed_locals == NULL) {
  ------------------
  |  Branch (4928:17): [True: 2.27k, False: 4.33k]
  ------------------
 4929|  2.27k|                state->pushed_locals = PyList_New(0);
 4930|  2.27k|                if (state->pushed_locals == NULL) {
  ------------------
  |  Branch (4930:21): [True: 0, False: 2.27k]
  ------------------
 4931|      0|                    return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4932|      0|                }
 4933|  2.27k|            }
 4934|       |            // in the case of a cell, this will actually push the cell
 4935|       |            // itself to the stack, then we'll create a new one for the
 4936|       |            // comprehension and restore the original one after
 4937|  6.60k|            ADDOP_NAME(c, loc, LOAD_FAST_AND_CLEAR, k, varnames);
  ------------------
  |  |  412|  6.60k|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|  6.60k|    do {                    \
  |  |  |  |   52|  6.60k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6.60k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  6.60k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.60k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4938|  6.60k|            if (scope == CELL) {
  ------------------
  |  |  191|  6.60k|#define CELL 5
  ------------------
  |  Branch (4938:17): [True: 0, False: 6.60k]
  ------------------
 4939|      0|                if (outsc == FREE) {
  ------------------
  |  |  190|      0|#define FREE 4
  ------------------
  |  Branch (4939:21): [True: 0, False: 0]
  ------------------
 4940|      0|                    ADDOP_NAME(c, loc, MAKE_CELL, k, freevars);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4941|      0|                } else {
 4942|      0|                    ADDOP_NAME(c, loc, MAKE_CELL, k, cellvars);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4943|      0|                }
 4944|      0|            }
 4945|  6.60k|            if (PyList_Append(state->pushed_locals, k) < 0) {
  ------------------
  |  Branch (4945:17): [True: 0, False: 6.60k]
  ------------------
 4946|      0|                return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4947|      0|            }
 4948|  6.60k|        }
 4949|  12.4k|    }
 4950|  2.34k|    if (state->pushed_locals) {
  ------------------
  |  Branch (4950:9): [True: 2.27k, False: 68]
  ------------------
 4951|       |        // Outermost iterable expression was already evaluated and is on the
 4952|       |        // stack, we need to swap it back to TOS. This also rotates the order of
 4953|       |        // `pushed_locals` on the stack, but this will be reversed when we swap
 4954|       |        // out the comprehension result in pop_inlined_comprehension_state
 4955|  2.27k|        ADDOP_I(c, loc, SWAP, PyList_GET_SIZE(state->pushed_locals) + 1);
  ------------------
  |  |  277|  2.27k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.27k|    do {                    \
  |  |  |  |   52|  2.27k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.27k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.27k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.27k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4956|       |
 4957|       |        // Add our own cleanup handler to restore comprehension locals in case
 4958|       |        // of exception, so they have the correct values inside an exception
 4959|       |        // handler or finally block.
 4960|  2.27k|        NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   91|  2.27k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  2.27k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  2.27k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  2.27k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  2.27k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 2.27k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4961|  2.27k|        state->cleanup = cleanup;
 4962|       |
 4963|       |        // no need to push an fblock for this "virtual" try/finally; there can't
 4964|       |        // be return/continue/break inside a comprehension
 4965|  2.27k|        ADDOP_JUMP(c, loc, SETUP_FINALLY, cleanup);
  ------------------
  |  |  428|  2.27k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  2.27k|    do {                    \
  |  |  |  |   52|  2.27k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.27k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.27k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.27k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4966|  2.27k|    }
 4967|  2.34k|    return SUCCESS;
  ------------------
  |  |   47|  2.34k|#define SUCCESS 0
  ------------------
 4968|  2.34k|}
codegen.c:codegen_comprehension_generator:
 4555|  3.03k|{
 4556|  3.03k|    comprehension_ty gen;
 4557|  3.03k|    gen = (comprehension_ty)asdl_seq_GET(generators, gen_index);
  ------------------
  |  |   82|  3.03k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  3.03k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4558|  3.03k|    if (gen->is_async) {
  ------------------
  |  Branch (4558:9): [True: 1.12k, False: 1.90k]
  ------------------
 4559|  1.12k|        return codegen_async_comprehension_generator(
 4560|  1.12k|            c, loc, generators, gen_index, depth, elt, val, type,
 4561|  1.12k|            iter_pos, avoid_creation);
 4562|  1.90k|    } else {
 4563|  1.90k|        return codegen_sync_comprehension_generator(
 4564|  1.90k|            c, loc, generators, gen_index, depth, elt, val, type,
 4565|  1.90k|            iter_pos, avoid_creation);
 4566|  1.90k|    }
 4567|  3.03k|}
codegen.c:codegen_async_comprehension_generator:
 4756|  1.12k|{
 4757|  1.12k|    NEW_JUMP_TARGET_LABEL(c, start);
  ------------------
  |  |   91|  1.12k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.12k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.12k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.12k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.12k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.12k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4758|  1.12k|    NEW_JUMP_TARGET_LABEL(c, send);
  ------------------
  |  |   91|  1.12k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.12k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.12k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.12k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.12k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.12k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4759|  1.12k|    NEW_JUMP_TARGET_LABEL(c, except);
  ------------------
  |  |   91|  1.12k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.12k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.12k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.12k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.12k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.12k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4760|  1.12k|    NEW_JUMP_TARGET_LABEL(c, if_cleanup);
  ------------------
  |  |   91|  1.12k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.12k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.12k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.12k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.12k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.12k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4761|       |
 4762|  1.12k|    comprehension_ty gen = (comprehension_ty)asdl_seq_GET(generators,
  ------------------
  |  |   82|  1.12k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.12k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4763|  1.12k|                                                          gen_index);
 4764|       |
 4765|  1.12k|    if (iter_pos == ITERABLE_IN_LOCAL) {
  ------------------
  |  Branch (4765:9): [True: 206, False: 922]
  ------------------
 4766|    206|        if (gen_index == 0) {
  ------------------
  |  Branch (4766:13): [True: 0, False: 206]
  ------------------
 4767|      0|            assert(METADATA(c)->u_argcount == 1);
  ------------------
  |  Branch (4767:13): [True: 0, False: 0]
  ------------------
 4768|      0|            ADDOP_I(c, loc, LOAD_FAST, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4769|      0|        }
 4770|    206|        else {
 4771|       |            /* Sub-iter - calculate on the fly */
 4772|    206|            VISIT(c, expr, gen->iter);
  ------------------
  |  |  453|    206|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    206|    do {                    \
  |  |  |  |   52|    206|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 206]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    206|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 206]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4773|    206|        }
 4774|    206|    }
 4775|  1.12k|    if (iter_pos != ITERATOR_ON_STACK) {
  ------------------
  |  Branch (4775:9): [True: 1.11k, False: 11]
  ------------------
 4776|  1.11k|        ADDOP(c, LOC(gen->iter), GET_AITER);
  ------------------
  |  |  291|  1.11k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.11k|    do {                    \
  |  |  |  |   52|  1.11k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.11k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.11k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.11k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4777|  1.11k|    }
 4778|       |
 4779|  1.12k|    USE_LABEL(c, start);
  ------------------
  |  |   97|  1.12k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.12k|    do {                    \
  |  |  |  |   52|  1.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4780|       |    /* Runtime will push a block here, so we need to account for that */
 4781|  1.12k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  1.12k|    do {                    \
  |  |   52|  1.12k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.12k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.12k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.12k]
  |  |  ------------------
  ------------------
 4782|  1.12k|        _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_ASYNC_COMPREHENSION_GENERATOR,
 4783|  1.12k|                              start, NO_LABEL, NULL));
 4784|       |
 4785|  1.12k|    ADDOP_JUMP(c, loc, SETUP_FINALLY, except);
  ------------------
  |  |  428|  1.12k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.12k|    do {                    \
  |  |  |  |   52|  1.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4786|  1.12k|    ADDOP(c, loc, GET_ANEXT);
  ------------------
  |  |  291|  1.12k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.12k|    do {                    \
  |  |  |  |   52|  1.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4787|  1.12k|    ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  291|  1.12k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.12k|    do {                    \
  |  |  |  |   52|  1.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4788|  1.12k|    ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  308|  1.12k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.12k|    do {                    \
  |  |  |  |   52|  1.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4789|  1.12k|    USE_LABEL(c, send);
  ------------------
  |  |   97|  1.12k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.12k|    do {                    \
  |  |  |  |   52|  1.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4790|  1.12k|    ADD_YIELD_FROM(c, loc, 1);
  ------------------
  |  |  440|  1.12k|    RETURN_IF_ERROR(codegen_add_yield_from((C), (LOC), (await)))
  |  |  ------------------
  |  |  |  |   51|  1.12k|    do {                    \
  |  |  |  |   52|  1.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4791|  1.12k|    ADDOP(c, loc, POP_BLOCK);
  ------------------
  |  |  291|  1.12k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.12k|    do {                    \
  |  |  |  |   52|  1.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4792|  1.12k|    VISIT(c, expr, gen->target);
  ------------------
  |  |  453|  1.12k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.12k|    do {                    \
  |  |  |  |   52|  1.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 7, False: 1.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      7|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      7|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      7|        }                   \
  |  |  |  |   55|  1.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4793|       |
 4794|  1.12k|    Py_ssize_t n = asdl_seq_LEN(gen->ifs);
  ------------------
  |  |   83|  1.12k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  2.24k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4795|  1.12k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (4795:28): [True: 1, False: 1.12k]
  ------------------
 4796|      1|        expr_ty e = (expr_ty)asdl_seq_GET(gen->ifs, i);
  ------------------
  |  |   82|      1|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4797|      1|        RETURN_IF_ERROR(codegen_jump_if(c, loc, e, if_cleanup, 0));
  ------------------
  |  |   51|      1|    do {                    \
  |  |   52|      1|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4798|      1|    }
 4799|       |
 4800|  1.12k|    depth++;
 4801|  1.12k|    if (++gen_index < asdl_seq_LEN(generators)) {
  ------------------
  |  |   83|  1.12k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  2.24k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4801:9): [True: 87, False: 1.03k]
  ------------------
 4802|     87|        RETURN_IF_ERROR(
  ------------------
  |  |   51|     87|    do {                    \
  |  |   52|     87|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 87]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     87|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 87]
  |  |  ------------------
  ------------------
 4803|     87|            codegen_comprehension_generator(c, loc,
 4804|     87|                                            generators, gen_index, depth,
 4805|     87|                                            elt, val, type, 0, avoid_creation));
 4806|     87|    }
 4807|       |
 4808|  1.12k|    location elt_loc = LOC(elt);
  ------------------
  |  |   88|  1.12k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.12k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.12k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.12k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.12k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.12k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4809|       |    /* only append after the last for generator */
 4810|  1.12k|    if (gen_index >= asdl_seq_LEN(generators)) {
  ------------------
  |  |   83|  1.12k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  2.24k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4810:9): [True: 1.03k, False: 87]
  ------------------
 4811|       |        /* comprehension specific code */
 4812|  1.03k|        switch (type) {
 4813|      3|        case COMP_GENEXP:
  ------------------
  |  |   40|      3|#define COMP_GENEXP   0
  ------------------
  |  Branch (4813:9): [True: 3, False: 1.03k]
  ------------------
 4814|      3|            assert(!avoid_creation);
  ------------------
  |  Branch (4814:13): [True: 3, False: 0]
  ------------------
 4815|      3|            if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4815:17): [True: 0, False: 3]
  ------------------
 4816|      0|                NEW_JUMP_TARGET_LABEL(c, unpack_start);
  ------------------
  |  |   91|      0|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      0|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      0|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      0|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4817|      0|                NEW_JUMP_TARGET_LABEL(c, unpack_end);
  ------------------
  |  |   91|      0|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      0|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      0|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      0|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4818|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4819|      0|                ADDOP_I(c, elt_loc, GET_ITER, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4820|      0|                USE_LABEL(c, unpack_start);
  ------------------
  |  |   97|      0|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4821|      0|                ADDOP_JUMP(c, elt_loc, FOR_ITER, unpack_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4822|      0|                ADDOP_YIELD(c, elt_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4823|      0|                ADDOP(c, elt_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4824|      0|                ADDOP_JUMP(c, NO_LOCATION, JUMP, unpack_start);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4825|      0|                USE_LABEL(c, unpack_end);
  ------------------
  |  |   97|      0|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      0|    do {                    \
  |  |  |  |   52|      0|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4826|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4827|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4828|      0|            }
 4829|      3|            else {
 4830|      3|                VISIT(c, expr, elt);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4831|      3|                ADDOP_YIELD(c, elt_loc);
  ------------------
  |  |  446|      3|    RETURN_IF_ERROR(codegen_addop_yield((C), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4832|      3|                ADDOP(c, elt_loc, POP_TOP);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4833|      3|            }
 4834|      3|            break;
 4835|      3|        case COMP_LISTCOMP:
  ------------------
  |  |   41|      1|#define COMP_LISTCOMP 1
  ------------------
  |  Branch (4835:9): [True: 1, False: 1.03k]
  ------------------
 4836|      1|            if (avoid_creation) {
  ------------------
  |  Branch (4836:17): [True: 0, False: 1]
  ------------------
 4837|      0|                if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4837:21): [True: 0, False: 0]
  ------------------
 4838|      0|                    RETURN_IF_ERROR(codegen_unpack_starred(c, elt_loc, elt->v.Starred.value, /*yield=*/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]
  |  |  ------------------
  ------------------
 4839|      0|                } else {
 4840|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4841|      0|                    ADDOP(c, elt_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4842|      0|                }
 4843|      0|                break;
 4844|      0|            }
 4845|       |
 4846|      1|            if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4846:17): [True: 0, False: 1]
  ------------------
 4847|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4848|      0|                ADDOP_I(c, elt_loc, LIST_EXTEND, depth + 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4849|      0|            }
 4850|      1|            else {
 4851|      1|                VISIT(c, expr, elt);
  ------------------
  |  |  453|      1|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4852|      1|                ADDOP_I(c, elt_loc, LIST_APPEND, depth + 1);
  ------------------
  |  |  277|      1|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4853|      1|            }
 4854|      1|            break;
 4855|    514|        case COMP_SETCOMP:
  ------------------
  |  |   42|    514|#define COMP_SETCOMP  2
  ------------------
  |  Branch (4855:9): [True: 514, False: 520]
  ------------------
 4856|    514|            assert(!avoid_creation);
  ------------------
  |  Branch (4856:13): [True: 514, False: 0]
  ------------------
 4857|    514|            if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4857:17): [True: 54, False: 460]
  ------------------
 4858|     54|                VISIT(c, expr, elt->v.Starred.value);
  ------------------
  |  |  453|     54|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     54|    do {                    \
  |  |  |  |   52|     54|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 54]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     54|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 54]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4859|     54|                ADDOP_I(c, elt_loc, SET_UPDATE, depth + 1);
  ------------------
  |  |  277|     54|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     54|    do {                    \
  |  |  |  |   52|     54|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 54]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     54|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 54]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4860|     54|            }
 4861|    460|            else {
 4862|    460|                VISIT(c, expr, elt);
  ------------------
  |  |  453|    460|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    460|    do {                    \
  |  |  |  |   52|    460|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 460]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    460|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 460]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4863|    460|                ADDOP_I(c, elt_loc, SET_ADD, depth + 1);
  ------------------
  |  |  277|    460|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    460|    do {                    \
  |  |  |  |   52|    460|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 460]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    460|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 460]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4864|    460|            }
 4865|    514|            break;
 4866|    516|        case COMP_DICTCOMP:
  ------------------
  |  |   43|    516|#define COMP_DICTCOMP 3
  ------------------
  |  Branch (4866:9): [True: 516, False: 518]
  ------------------
 4867|    516|            assert(!avoid_creation);
  ------------------
  |  Branch (4867:13): [True: 516, False: 0]
  ------------------
 4868|    516|            if (val == NULL) {
  ------------------
  |  Branch (4868:17): [True: 352, False: 164]
  ------------------
 4869|       |                /* unpacking (**) case */
 4870|    352|                VISIT(c, expr, elt);
  ------------------
  |  |  453|    352|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    352|    do {                    \
  |  |  |  |   52|    352|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 352]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    352|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 352]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4871|    352|                ADDOP_I(c, elt_loc, DICT_UPDATE, depth+1);
  ------------------
  |  |  277|    352|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    352|    do {                    \
  |  |  |  |   52|    352|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 352]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    352|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 352]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4872|    352|            }
 4873|    164|            else {
 4874|       |                /* With '{k: v}', k is evaluated before v, so we do
 4875|       |                the same. */
 4876|    164|                VISIT(c, expr, elt);
  ------------------
  |  |  453|    164|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    164|    do {                    \
  |  |  |  |   52|    164|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 164]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    164|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 164]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4877|    164|                VISIT(c, expr, val);
  ------------------
  |  |  453|    164|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    164|    do {                    \
  |  |  |  |   52|    164|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 164]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    164|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 164]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4878|    164|                elt_loc = LOCATION(elt->lineno,
  ------------------
  |  |   86|    164|    ((const _Py_SourceLocation){(LNO), (END_LNO), (COL), (END_COL)})
  ------------------
 4879|    164|                                   val->end_lineno,
 4880|    164|                                   elt->col_offset,
 4881|    164|                                   val->end_col_offset);
 4882|    164|                ADDOP_I(c, elt_loc, MAP_ADD, depth + 1);
  ------------------
  |  |  277|    164|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    164|    do {                    \
  |  |  |  |   52|    164|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 164]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    164|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 164]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4883|    164|            }
 4884|    516|            break;
 4885|    516|        default:
  ------------------
  |  Branch (4885:9): [True: 0, False: 1.03k]
  ------------------
 4886|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4887|  1.03k|        }
 4888|  1.03k|    }
 4889|       |
 4890|  1.12k|    USE_LABEL(c, if_cleanup);
  ------------------
  |  |   97|  1.12k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.12k|    do {                    \
  |  |  |  |   52|  1.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4891|  1.12k|    ADDOP_JUMP(c, elt_loc, JUMP, start);
  ------------------
  |  |  428|  1.12k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.12k|    do {                    \
  |  |  |  |   52|  1.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4892|       |
 4893|  1.12k|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_ASYNC_COMPREHENSION_GENERATOR, start);
 4894|       |
 4895|  1.12k|    USE_LABEL(c, except);
  ------------------
  |  |   97|  1.12k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.12k|    do {                    \
  |  |  |  |   52|  1.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4896|       |
 4897|  1.12k|    ADDOP_JUMP(c, loc, END_ASYNC_FOR, send);
  ------------------
  |  |  428|  1.12k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.12k|    do {                    \
  |  |  |  |   52|  1.12k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.12k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4898|       |
 4899|  1.12k|    return SUCCESS;
  ------------------
  |  |   47|  1.12k|#define SUCCESS 0
  ------------------
 4900|  1.12k|}
codegen.c:codegen_unpack_starred:
 4571|      2|{
 4572|      2|    NEW_JUMP_TARGET_LABEL(c, unpack_start);
  ------------------
  |  |   91|      2|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      2|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      2|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      2|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      2|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4573|      2|    NEW_JUMP_TARGET_LABEL(c, unpack_end);
  ------------------
  |  |   91|      2|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      2|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      2|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      2|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      2|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 2]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4574|      2|    VISIT(c, expr, value);
  ------------------
  |  |  453|      2|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4575|      2|    ADDOP_I(c, loc, GET_ITER, 0);
  ------------------
  |  |  277|      2|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4576|      2|    USE_LABEL(c, unpack_start);
  ------------------
  |  |   97|      2|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4577|      2|    ADDOP_JUMP(c, loc, FOR_ITER, unpack_end);
  ------------------
  |  |  428|      2|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4578|      2|    if (yield) {
  ------------------
  |  Branch (4578:9): [True: 0, False: 2]
  ------------------
 4579|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4580|      0|    }
 4581|      2|    ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  291|      2|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4582|      2|    ADDOP_JUMP(c, NO_LOCATION, JUMP, unpack_start);
  ------------------
  |  |  428|      2|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4583|      2|    USE_LABEL(c, unpack_end);
  ------------------
  |  |   97|      2|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4584|      2|    ADDOP(c, NO_LOCATION, END_FOR);
  ------------------
  |  |  291|      2|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4585|      2|    ADDOP(c, NO_LOCATION, POP_ITER);
  ------------------
  |  |  291|      2|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4586|      2|    return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
 4587|      2|}
codegen.c:codegen_sync_comprehension_generator:
 4595|  1.90k|{
 4596|       |    /* generate code for the iterator, then each of the ifs,
 4597|       |       and then write to the element */
 4598|       |
 4599|  1.90k|    NEW_JUMP_TARGET_LABEL(c, start);
  ------------------
  |  |   91|  1.90k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.90k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.90k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.90k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.90k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.90k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4600|  1.90k|    NEW_JUMP_TARGET_LABEL(c, if_cleanup);
  ------------------
  |  |   91|  1.90k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.90k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.90k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.90k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.90k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.90k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4601|  1.90k|    NEW_JUMP_TARGET_LABEL(c, anchor);
  ------------------
  |  |   91|  1.90k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.90k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.90k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.90k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.90k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.90k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4602|       |
 4603|  1.90k|    comprehension_ty gen = (comprehension_ty)asdl_seq_GET(generators,
  ------------------
  |  |   82|  1.90k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.90k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4604|  1.90k|                                                          gen_index);
 4605|       |
 4606|  1.90k|    if (iter_pos == ITERABLE_IN_LOCAL) {
  ------------------
  |  Branch (4606:9): [True: 104, False: 1.80k]
  ------------------
 4607|    104|        if (gen_index == 0) {
  ------------------
  |  Branch (4607:13): [True: 0, False: 104]
  ------------------
 4608|      0|            assert(METADATA(c)->u_argcount == 1);
  ------------------
  |  Branch (4608:13): [True: 0, False: 0]
  ------------------
 4609|      0|            ADDOP_I(c, loc, LOAD_FAST, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4610|      0|        }
 4611|    104|        else {
 4612|       |            /* Sub-iter - calculate on the fly */
 4613|       |            /* Fast path for the temporary variable assignment idiom:
 4614|       |                for y in [f(x)]
 4615|       |            */
 4616|    104|            asdl_expr_seq *elts;
 4617|    104|            switch (gen->iter->kind) {
 4618|      2|                case List_kind:
  ------------------
  |  Branch (4618:17): [True: 2, False: 102]
  ------------------
 4619|      2|                    elts = gen->iter->v.List.elts;
 4620|      2|                    break;
 4621|      0|                case Tuple_kind:
  ------------------
  |  Branch (4621:17): [True: 0, False: 104]
  ------------------
 4622|      0|                    elts = gen->iter->v.Tuple.elts;
 4623|      0|                    break;
 4624|    102|                default:
  ------------------
  |  Branch (4624:17): [True: 102, False: 2]
  ------------------
 4625|    102|                    elts = NULL;
 4626|    104|            }
 4627|    104|            if (asdl_seq_LEN(elts) == 1) {
  ------------------
  |  |   83|    104|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    208|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 102, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4627:17): [True: 2, False: 102]
  ------------------
 4628|      2|                expr_ty elt = asdl_seq_GET(elts, 0);
  ------------------
  |  |   82|      2|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4629|      2|                if (elt->kind != Starred_kind) {
  ------------------
  |  Branch (4629:21): [True: 2, False: 0]
  ------------------
 4630|      2|                    VISIT(c, expr, elt);
  ------------------
  |  |  453|      2|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      2|    do {                    \
  |  |  |  |   52|      2|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4631|      2|                    start = NO_LABEL;
  ------------------
  |  |   57|      2|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
 4632|      2|                }
 4633|      2|            }
 4634|    104|            if (IS_JUMP_TARGET_LABEL(start)) {
  ------------------
  |  |   60|    104|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   59|    104|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (60:33): [True: 102, False: 2]
  |  |  ------------------
  ------------------
 4635|    102|                VISIT(c, expr, gen->iter);
  ------------------
  |  |  453|    102|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    102|    do {                    \
  |  |  |  |   52|    102|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 101]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    102|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 101]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4636|    102|            }
 4637|    104|        }
 4638|    104|    }
 4639|       |
 4640|  1.90k|    if (IS_JUMP_TARGET_LABEL(start)) {
  ------------------
  |  |   60|  1.90k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   59|  1.90k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (60:33): [True: 1.90k, False: 2]
  |  |  ------------------
  ------------------
 4641|  1.90k|        if (iter_pos != ITERATOR_ON_STACK) {
  ------------------
  |  Branch (4641:13): [True: 1.53k, False: 368]
  ------------------
 4642|  1.53k|            ADDOP_I(c, LOC(gen->iter), GET_ITER, 0);
  ------------------
  |  |  277|  1.53k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.53k|    do {                    \
  |  |  |  |   52|  1.53k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.53k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.53k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.53k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4643|  1.53k|            depth += 1;
 4644|  1.53k|        }
 4645|  1.90k|        USE_LABEL(c, start);
  ------------------
  |  |   97|  1.90k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.90k|    do {                    \
  |  |  |  |   52|  1.90k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.90k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.90k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.90k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4646|  1.90k|        depth += 1;
 4647|  1.90k|        ADDOP_JUMP(c, LOC(gen->iter), FOR_ITER, anchor);
  ------------------
  |  |  428|  1.90k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.90k|    do {                    \
  |  |  |  |   52|  1.90k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.90k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.90k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.90k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4648|  1.90k|    }
 4649|  1.90k|    VISIT(c, expr, gen->target);
  ------------------
  |  |  453|  1.90k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.90k|    do {                    \
  |  |  |  |   52|  1.90k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 30, False: 1.87k]
  |  |  |  |  ------------------
  |  |  |  |   53|     30|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     30|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     30|        }                   \
  |  |  |  |   55|  1.90k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.87k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4650|       |
 4651|       |    /* XXX this needs to be cleaned up...a lot! */
 4652|  1.87k|    Py_ssize_t n = asdl_seq_LEN(gen->ifs);
  ------------------
  |  |   83|  1.87k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.75k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.87k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4653|  2.04k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (4653:28): [True: 171, False: 1.87k]
  ------------------
 4654|    171|        expr_ty e = (expr_ty)asdl_seq_GET(gen->ifs, i);
  ------------------
  |  |   82|    171|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    171|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4655|    171|        RETURN_IF_ERROR(codegen_jump_if(c, loc, e, if_cleanup, 0));
  ------------------
  |  |   51|    171|    do {                    \
  |  |   52|    171|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 4, False: 167]
  |  |  ------------------
  |  |   53|      4|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      4|#define ERROR -1
  |  |  ------------------
  |  |   54|      4|        }                   \
  |  |   55|    171|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 167]
  |  |  ------------------
  ------------------
 4656|    171|    }
 4657|       |
 4658|  1.87k|    if (++gen_index < asdl_seq_LEN(generators)) {
  ------------------
  |  |   83|  1.87k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.74k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.87k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4658:9): [True: 223, False: 1.64k]
  ------------------
 4659|    223|        RETURN_IF_ERROR(
  ------------------
  |  |   51|    223|    do {                    \
  |  |   52|    223|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 7, False: 216]
  |  |  ------------------
  |  |   53|      7|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      7|#define ERROR -1
  |  |  ------------------
  |  |   54|      7|        }                   \
  |  |   55|    223|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 216]
  |  |  ------------------
  ------------------
 4660|    223|            codegen_comprehension_generator(c, loc,
 4661|    223|                                            generators, gen_index, depth,
 4662|    223|                                            elt, val, type, ITERABLE_IN_LOCAL, avoid_creation));
 4663|    223|    }
 4664|       |
 4665|  1.86k|    location elt_loc = LOC(elt);
  ------------------
  |  |   88|  1.86k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.86k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.86k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.86k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.86k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.86k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4666|       |
 4667|       |    /* only append after the last for generator */
 4668|  1.86k|    if (gen_index >= asdl_seq_LEN(generators)) {
  ------------------
  |  |   83|  1.86k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.73k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.86k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4668:9): [True: 1.64k, False: 216]
  ------------------
 4669|       |        /* comprehension specific code */
 4670|  1.64k|        switch (type) {
 4671|    349|        case COMP_GENEXP:
  ------------------
  |  |   40|    349|#define COMP_GENEXP   0
  ------------------
  |  Branch (4671:9): [True: 349, False: 1.30k]
  ------------------
 4672|    349|            assert(!avoid_creation);
  ------------------
  |  Branch (4672:13): [True: 349, False: 0]
  ------------------
 4673|    349|            if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4673:17): [True: 0, False: 349]
  ------------------
 4674|      0|                RETURN_IF_ERROR(codegen_unpack_starred(c, elt_loc, elt->v.Starred.value, /*yield=*/true));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4675|      0|            }
 4676|    349|            else {
 4677|    349|                VISIT(c, expr, elt);
  ------------------
  |  |  453|    349|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    349|    do {                    \
  |  |  |  |   52|    349|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 349]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    349|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 349]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4678|    349|                ADDOP_YIELD(c, elt_loc);
  ------------------
  |  |  446|    349|    RETURN_IF_ERROR(codegen_addop_yield((C), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    349|    do {                    \
  |  |  |  |   52|    349|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 349]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    349|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 349]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4679|    349|                ADDOP(c, elt_loc, POP_TOP);
  ------------------
  |  |  291|    349|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    349|    do {                    \
  |  |  |  |   52|    349|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 349]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    349|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 349]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4680|    349|            }
 4681|    349|            break;
 4682|    349|        case COMP_LISTCOMP:
  ------------------
  |  |   41|     87|#define COMP_LISTCOMP 1
  ------------------
  |  Branch (4682:9): [True: 87, False: 1.56k]
  ------------------
 4683|     87|            if (avoid_creation) {
  ------------------
  |  Branch (4683:17): [True: 2, False: 85]
  ------------------
 4684|      2|                if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4684:21): [True: 2, False: 0]
  ------------------
 4685|      2|                    RETURN_IF_ERROR(codegen_unpack_starred(c, elt_loc, elt->v.Starred.value, /*yield=*/false));
  ------------------
  |  |   51|      2|    do {                    \
  |  |   52|      2|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4686|      2|                } else {
 4687|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4688|      0|                    ADDOP(c, elt_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4689|      0|                }
 4690|      2|                break;
 4691|      2|            }
 4692|     85|            if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4692:17): [True: 5, False: 80]
  ------------------
 4693|      5|                VISIT(c, expr, elt->v.Starred.value);
  ------------------
  |  |  453|      5|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4694|      5|                ADDOP_I(c, elt_loc, LIST_EXTEND, depth + 1);
  ------------------
  |  |  277|      5|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4695|      5|            }
 4696|     80|            else {
 4697|     80|                VISIT(c, expr, elt);
  ------------------
  |  |  453|     80|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     80|    do {                    \
  |  |  |  |   52|     80|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 80]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     80|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 80]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4698|     80|                ADDOP_I(c, elt_loc, LIST_APPEND, depth + 1);
  ------------------
  |  |  277|     80|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     80|    do {                    \
  |  |  |  |   52|     80|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 80]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     80|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 80]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4699|     80|            }
 4700|     85|            break;
 4701|  1.03k|        case COMP_SETCOMP:
  ------------------
  |  |   42|  1.03k|#define COMP_SETCOMP  2
  ------------------
  |  Branch (4701:9): [True: 1.03k, False: 615]
  ------------------
 4702|  1.03k|            if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4702:17): [True: 33, False: 1.00k]
  ------------------
 4703|     33|                VISIT(c, expr, elt->v.Starred.value);
  ------------------
  |  |  453|     33|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     33|    do {                    \
  |  |  |  |   52|     33|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 33]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     33|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 33]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4704|     33|                ADDOP_I(c, elt_loc, SET_UPDATE, depth + 1);
  ------------------
  |  |  277|     33|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     33|    do {                    \
  |  |  |  |   52|     33|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 33]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     33|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 33]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4705|     33|            }
 4706|  1.00k|            else {
 4707|  1.00k|                VISIT(c, expr, elt);
  ------------------
  |  |  453|  1.00k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.00k|    do {                    \
  |  |  |  |   52|  1.00k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.00k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.00k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.00k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4708|  1.00k|                ADDOP_I(c, elt_loc, SET_ADD, depth + 1);
  ------------------
  |  |  277|  1.00k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.00k|    do {                    \
  |  |  |  |   52|  1.00k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.00k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.00k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.00k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4709|  1.00k|            }
 4710|  1.03k|            break;
 4711|  1.03k|        case COMP_DICTCOMP:
  ------------------
  |  |   43|    179|#define COMP_DICTCOMP 3
  ------------------
  |  Branch (4711:9): [True: 179, False: 1.47k]
  ------------------
 4712|    179|            if (val == NULL) {
  ------------------
  |  Branch (4712:17): [True: 28, False: 151]
  ------------------
 4713|       |                /* unpacking (**) case */
 4714|     28|                VISIT(c, expr, elt);
  ------------------
  |  |  453|     28|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     28|    do {                    \
  |  |  |  |   52|     28|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 28]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     28|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 28]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4715|     28|                ADDOP_I(c, elt_loc, DICT_UPDATE, depth+1);
  ------------------
  |  |  277|     28|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     28|    do {                    \
  |  |  |  |   52|     28|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 28]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     28|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 28]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4716|     28|            }
 4717|    151|            else {
 4718|       |                /* With '{k: v}', k is evaluated before v, so we do
 4719|       |                the same. */
 4720|    151|                VISIT(c, expr, elt);
  ------------------
  |  |  453|    151|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    151|    do {                    \
  |  |  |  |   52|    151|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 151]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    151|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 151]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4721|    151|                VISIT(c, expr, val);
  ------------------
  |  |  453|    151|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    151|    do {                    \
  |  |  |  |   52|    151|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 151]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    151|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 151]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4722|    151|                elt_loc = LOCATION(elt->lineno,
  ------------------
  |  |   86|    151|    ((const _Py_SourceLocation){(LNO), (END_LNO), (COL), (END_COL)})
  ------------------
 4723|    151|                                   val->end_lineno,
 4724|    151|                                   elt->col_offset,
 4725|    151|                                   val->end_col_offset);
 4726|    151|                ADDOP_I(c, elt_loc, MAP_ADD, depth + 1);
  ------------------
  |  |  277|    151|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    151|    do {                    \
  |  |  |  |   52|    151|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 151]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    151|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 151]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4727|    151|            }
 4728|    179|            break;
 4729|    179|        default:
  ------------------
  |  Branch (4729:9): [True: 0, False: 1.64k]
  ------------------
 4730|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4731|  1.64k|        }
 4732|  1.64k|    }
 4733|       |
 4734|  1.86k|    USE_LABEL(c, if_cleanup);
  ------------------
  |  |   97|  1.86k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.86k|    do {                    \
  |  |  |  |   52|  1.86k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.86k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.86k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.86k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4735|  1.86k|    if (IS_JUMP_TARGET_LABEL(start)) {
  ------------------
  |  |   60|  1.86k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   59|  1.86k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (60:33): [True: 1.86k, False: 2]
  |  |  ------------------
  ------------------
 4736|  1.86k|        ADDOP_JUMP(c, elt_loc, JUMP, start);
  ------------------
  |  |  428|  1.86k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.86k|    do {                    \
  |  |  |  |   52|  1.86k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.86k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.86k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.86k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4737|       |
 4738|  1.86k|        USE_LABEL(c, anchor);
  ------------------
  |  |   97|  1.86k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.86k|    do {                    \
  |  |  |  |   52|  1.86k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.86k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.86k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.86k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4739|       |        /* It is important for instrumentation that the `END_FOR` comes first.
 4740|       |        * Iteration over a generator will jump to the first of these instructions,
 4741|       |        * but a non-generator will jump to a later instruction.
 4742|       |        */
 4743|  1.86k|        ADDOP(c, NO_LOCATION, END_FOR);
  ------------------
  |  |  291|  1.86k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.86k|    do {                    \
  |  |  |  |   52|  1.86k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.86k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.86k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.86k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4744|  1.86k|        ADDOP(c, NO_LOCATION, POP_ITER);
  ------------------
  |  |  291|  1.86k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.86k|    do {                    \
  |  |  |  |   52|  1.86k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.86k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.86k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.86k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4745|  1.86k|    }
 4746|       |
 4747|  1.86k|    return SUCCESS;
  ------------------
  |  |   47|  1.86k|#define SUCCESS 0
  ------------------
 4748|  1.86k|}
codegen.c:pop_inlined_comprehension_state:
 5032|  2.33k|{
 5033|  2.33k|    RETURN_IF_ERROR(codegen_pop_inlined_comprehension_locals(c, loc, state));
  ------------------
  |  |   51|  2.33k|    do {                    \
  |  |   52|  2.33k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.33k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.33k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.33k]
  |  |  ------------------
  ------------------
 5034|  2.33k|    RETURN_IF_ERROR(_PyCompile_RevertInlinedComprehensionScopes(c, loc, state));
  ------------------
  |  |   51|  2.33k|    do {                    \
  |  |   52|  2.33k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.33k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.33k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.33k]
  |  |  ------------------
  ------------------
 5035|  2.33k|    return SUCCESS;
  ------------------
  |  |   47|  2.33k|#define SUCCESS 0
  ------------------
 5036|  2.33k|}
codegen.c:codegen_pop_inlined_comprehension_locals:
 5007|  2.33k|{
 5008|  2.33k|    if (state->pushed_locals) {
  ------------------
  |  Branch (5008:9): [True: 2.26k, False: 68]
  ------------------
 5009|  2.26k|        ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  291|  2.26k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.26k|    do {                    \
  |  |  |  |   52|  2.26k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.26k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.26k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.26k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5010|       |
 5011|  2.26k|        NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|  2.26k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  2.26k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  2.26k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  2.26k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  2.26k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 2.26k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 5012|  2.26k|        ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  428|  2.26k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  2.26k|    do {                    \
  |  |  |  |   52|  2.26k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.26k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.26k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.26k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5013|       |
 5014|       |        // cleanup from an exception inside the comprehension
 5015|  2.26k|        USE_LABEL(c, state->cleanup);
  ------------------
  |  |   97|  2.26k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  2.26k|    do {                    \
  |  |  |  |   52|  2.26k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.26k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.26k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.26k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5016|       |        // discard incomplete comprehension result (beneath exc on stack)
 5017|  2.26k|        ADDOP_I(c, NO_LOCATION, SWAP, 2);
  ------------------
  |  |  277|  2.26k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.26k|    do {                    \
  |  |  |  |   52|  2.26k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.26k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.26k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.26k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5018|  2.26k|        ADDOP(c, NO_LOCATION, POP_TOP);
  ------------------
  |  |  291|  2.26k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.26k|    do {                    \
  |  |  |  |   52|  2.26k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.26k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.26k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.26k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5019|  2.26k|        RETURN_IF_ERROR(restore_inlined_comprehension_locals(c, loc, state));
  ------------------
  |  |   51|  2.26k|    do {                    \
  |  |   52|  2.26k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.26k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.26k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.26k]
  |  |  ------------------
  ------------------
 5020|  2.26k|        ADDOP_I(c, NO_LOCATION, RERAISE, 0);
  ------------------
  |  |  277|  2.26k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.26k|    do {                    \
  |  |  |  |   52|  2.26k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.26k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.26k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.26k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5021|       |
 5022|  2.26k|        USE_LABEL(c, end);
  ------------------
  |  |   97|  2.26k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  2.26k|    do {                    \
  |  |  |  |   52|  2.26k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.26k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.26k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.26k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5023|  2.26k|        RETURN_IF_ERROR(restore_inlined_comprehension_locals(c, loc, state));
  ------------------
  |  |   51|  2.26k|    do {                    \
  |  |   52|  2.26k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.26k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.26k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.26k]
  |  |  ------------------
  ------------------
 5024|  2.26k|        Py_CLEAR(state->pushed_locals);
  ------------------
  |  |  484|  2.26k|    do { \
  |  |  485|  2.26k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.26k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.26k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.26k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.26k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.26k, False: 0]
  |  |  ------------------
  |  |  488|  2.26k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.26k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.26k|            Py_DECREF(_tmp_old_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.26k|        } \
  |  |  491|  2.26k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.26k]
  |  |  ------------------
  ------------------
 5025|  2.26k|    }
 5026|  2.33k|    return SUCCESS;
  ------------------
  |  |   47|  2.33k|#define SUCCESS 0
  ------------------
 5027|  2.33k|}
codegen.c:restore_inlined_comprehension_locals:
 4985|  4.52k|{
 4986|  4.52k|    PyObject *k;
 4987|       |    // pop names we pushed to stack earlier
 4988|  4.52k|    Py_ssize_t npops = PyList_GET_SIZE(state->pushed_locals);
  ------------------
  |  |   38|  4.52k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4989|       |    // Preserve the comprehension result (or exception) as TOS. This
 4990|       |    // reverses the SWAP we did in push_inlined_comprehension_state
 4991|       |    // to get the outermost iterable to TOS, so we can still just iterate
 4992|       |    // pushed_locals in simple reverse order
 4993|  4.52k|    ADDOP_I(c, loc, SWAP, npops + 1);
  ------------------
  |  |  277|  4.52k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  4.52k|    do {                    \
  |  |  |  |   52|  4.52k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.52k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.52k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.52k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4994|  17.6k|    for (Py_ssize_t i = npops - 1; i >= 0; --i) {
  ------------------
  |  Branch (4994:36): [True: 13.1k, False: 4.52k]
  ------------------
 4995|  13.1k|        k = PyList_GetItem(state->pushed_locals, i);
 4996|  13.1k|        if (k == NULL) {
  ------------------
  |  Branch (4996:13): [True: 0, False: 13.1k]
  ------------------
 4997|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4998|      0|        }
 4999|  13.1k|        ADDOP_NAME(c, loc, STORE_FAST_MAYBE_NULL, k, varnames);
  ------------------
  |  |  412|  13.1k|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|  13.1k|    do {                    \
  |  |  |  |   52|  13.1k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 13.1k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  13.1k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 13.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5000|  13.1k|    }
 5001|  4.52k|    return SUCCESS;
  ------------------
  |  |   47|  4.52k|#define SUCCESS 0
  ------------------
 5002|  4.52k|}
codegen.c:codegen_listcomp:
 5195|     91|{
 5196|     91|    assert(e->kind == ListComp_kind);
  ------------------
  |  Branch (5196:5): [True: 91, False: 0]
  ------------------
 5197|     91|    _Py_DECLARE_STR(anon_listcomp, "<listcomp>");
 5198|     91|    return codegen_comprehension(c, e, COMP_LISTCOMP, &_Py_STR(anon_listcomp),
  ------------------
  |  |   41|     91|#define COMP_LISTCOMP 1
  ------------------
                  return codegen_comprehension(c, e, COMP_LISTCOMP, &_Py_STR(anon_listcomp),
  ------------------
  |  |  923|     91|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     91|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     91|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5199|     91|                                 e->v.ListComp.generators,
 5200|       |                                 e->v.ListComp.elt, NULL, avoid_creation);
 5201|     91|}
codegen.c:codegen_setcomp:
 5205|  1.56k|{
 5206|  1.56k|    assert(e->kind == SetComp_kind);
  ------------------
  |  Branch (5206:5): [True: 1.56k, False: 0]
  ------------------
 5207|  1.56k|    _Py_DECLARE_STR(anon_setcomp, "<setcomp>");
 5208|  1.56k|    return codegen_comprehension(c, e, COMP_SETCOMP, &_Py_STR(anon_setcomp),
  ------------------
  |  |   42|  1.56k|#define COMP_SETCOMP  2
  ------------------
                  return codegen_comprehension(c, e, COMP_SETCOMP, &_Py_STR(anon_setcomp),
  ------------------
  |  |  923|  1.56k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.56k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.56k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5209|  1.56k|                                 e->v.SetComp.generators,
 5210|  1.56k|                                 e->v.SetComp.elt, NULL, /*avoid_creation=*/false);
 5211|  1.56k|}
codegen.c:codegen_dictcomp:
 5216|    697|{
 5217|    697|    assert(e->kind == DictComp_kind);
  ------------------
  |  Branch (5217:5): [True: 697, False: 0]
  ------------------
 5218|    697|    _Py_DECLARE_STR(anon_dictcomp, "<dictcomp>");
 5219|    697|    return codegen_comprehension(c, e, COMP_DICTCOMP, &_Py_STR(anon_dictcomp),
  ------------------
  |  |   43|    697|#define COMP_DICTCOMP 3
  ------------------
                  return codegen_comprehension(c, e, COMP_DICTCOMP, &_Py_STR(anon_dictcomp),
  ------------------
  |  |  923|    697|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    697|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    697|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5220|    697|                                 e->v.DictComp.generators,
 5221|       |                                 e->v.DictComp.key, e->v.DictComp.value, /*avoid_creation=*/false);
 5222|    697|}
codegen.c:codegen_addop_yield:
 3282|    517|codegen_addop_yield(compiler *c, location loc) {
 3283|    517|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|    517|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
 3284|    517|    if (ste->ste_generator && ste->ste_coroutine) {
  ------------------
  |  Branch (3284:9): [True: 517, False: 0]
  |  Branch (3284:31): [True: 149, False: 368]
  ------------------
 3285|    149|        ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_ASYNC_GEN_WRAP);
  ------------------
  |  |  277|    149|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    149|    do {                    \
  |  |  |  |   52|    149|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 149]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    149|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 149]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3286|    149|    }
 3287|    517|    ADDOP_I(c, loc, YIELD_VALUE, 0);
  ------------------
  |  |  277|    517|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    517|    do {                    \
  |  |  |  |   52|    517|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 517]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    517|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 517]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3288|    517|    ADDOP_I(c, loc, RESUME, RESUME_AFTER_YIELD);
  ------------------
  |  |  277|    517|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    517|    do {                    \
  |  |  |  |   52|    517|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 517]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    517|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 517]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3289|    517|    return SUCCESS;
  ------------------
  |  |   47|    517|#define SUCCESS 0
  ------------------
 3290|    517|}
codegen.c:codegen_compare:
 3676|  21.3k|{
 3677|  21.3k|    location loc = LOC(e);
  ------------------
  |  |   88|  21.3k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  21.3k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  21.3k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  21.3k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  21.3k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  21.3k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3678|  21.3k|    Py_ssize_t i, n;
 3679|       |
 3680|  21.3k|    RETURN_IF_ERROR(codegen_check_compare(c, e));
  ------------------
  |  |   51|  21.3k|    do {                    \
  |  |   52|  21.3k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 21.3k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  21.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 21.3k]
  |  |  ------------------
  ------------------
 3681|  21.3k|    VISIT(c, expr, e->v.Compare.left);
  ------------------
  |  |  453|  21.3k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  21.3k|    do {                    \
  |  |  |  |   52|  21.3k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 44, False: 21.2k]
  |  |  |  |  ------------------
  |  |  |  |   53|     44|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     44|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     44|        }                   \
  |  |  |  |   55|  21.3k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 21.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3682|  21.3k|    assert(asdl_seq_LEN(e->v.Compare.ops) > 0);
  ------------------
  |  Branch (3682:5): [True: 0, False: 21.2k]
  |  Branch (3682:5): [True: 21.2k, False: 0]
  ------------------
 3683|  21.2k|    n = asdl_seq_LEN(e->v.Compare.ops) - 1;
  ------------------
  |  |   83|  21.2k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  42.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 21.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3684|  21.2k|    if (n == 0) {
  ------------------
  |  Branch (3684:9): [True: 11.5k, False: 9.71k]
  ------------------
 3685|  11.5k|        VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Compare.comparators, 0));
  ------------------
  |  |  453|  11.5k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  11.5k|    do {                    \
  |  |  |  |   52|  11.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 60, False: 11.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|     60|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     60|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     60|        }                   \
  |  |  |  |   55|  11.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3686|  11.5k|        ADDOP_COMPARE(c, loc, asdl_seq_GET(e->v.Compare.ops, 0));
  ------------------
  |  |  431|  11.5k|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|  11.5k|    do {                    \
  |  |  |  |   52|  11.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 11.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  11.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3687|  11.5k|    }
 3688|  9.71k|    else {
 3689|  9.71k|        NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   91|  9.71k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  9.71k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  9.71k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  9.71k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  9.71k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 9.71k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 3690|  66.1k|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3690:21): [True: 56.4k, False: 9.69k]
  ------------------
 3691|  56.4k|            VISIT(c, expr,
  ------------------
  |  |  453|  56.4k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  56.4k|    do {                    \
  |  |  |  |   52|  56.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 15, False: 56.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|     15|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     15|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     15|        }                   \
  |  |  |  |   55|  56.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 56.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3692|  56.4k|                (expr_ty)asdl_seq_GET(e->v.Compare.comparators, i));
 3693|  56.4k|            ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  277|  56.4k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  56.4k|    do {                    \
  |  |  |  |   52|  56.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 56.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  56.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 56.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3694|  56.4k|            ADDOP_I(c, loc, COPY, 2);
  ------------------
  |  |  277|  56.4k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  56.4k|    do {                    \
  |  |  |  |   52|  56.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 56.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  56.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 56.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3695|  56.4k|            ADDOP_COMPARE(c, loc, asdl_seq_GET(e->v.Compare.ops, i));
  ------------------
  |  |  431|  56.4k|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|  56.4k|    do {                    \
  |  |  |  |   52|  56.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 56.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  56.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 56.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3696|  56.4k|            ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  277|  56.4k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  56.4k|    do {                    \
  |  |  |  |   52|  56.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 56.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  56.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 56.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3697|  56.4k|            ADDOP(c, loc, TO_BOOL);
  ------------------
  |  |  291|  56.4k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  56.4k|    do {                    \
  |  |  |  |   52|  56.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 56.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  56.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 56.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3698|  56.4k|            ADDOP_JUMP(c, loc, POP_JUMP_IF_FALSE, cleanup);
  ------------------
  |  |  428|  56.4k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  56.4k|    do {                    \
  |  |  |  |   52|  56.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 56.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  56.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 56.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3699|  56.4k|            ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  291|  56.4k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  56.4k|    do {                    \
  |  |  |  |   52|  56.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 56.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  56.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 56.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3700|  56.4k|        }
 3701|  9.69k|        VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Compare.comparators, n));
  ------------------
  |  |  453|  9.69k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  9.69k|    do {                    \
  |  |  |  |   52|  9.69k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 15, False: 9.68k]
  |  |  |  |  ------------------
  |  |  |  |   53|     15|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     15|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     15|        }                   \
  |  |  |  |   55|  9.69k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.68k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3702|  9.68k|        ADDOP_COMPARE(c, loc, asdl_seq_GET(e->v.Compare.ops, n));
  ------------------
  |  |  431|  9.68k|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|  9.68k|    do {                    \
  |  |  |  |   52|  9.68k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.68k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.68k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.68k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3703|  9.68k|        NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|  9.68k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  9.68k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  9.68k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  9.68k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  9.68k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 9.68k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 3704|  9.68k|        ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  428|  9.68k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  9.68k|    do {                    \
  |  |  |  |   52|  9.68k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.68k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.68k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.68k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3705|       |
 3706|  9.68k|        USE_LABEL(c, cleanup);
  ------------------
  |  |   97|  9.68k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  9.68k|    do {                    \
  |  |  |  |   52|  9.68k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.68k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.68k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.68k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3707|  9.68k|        ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  277|  9.68k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  9.68k|    do {                    \
  |  |  |  |   52|  9.68k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.68k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.68k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.68k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3708|  9.68k|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  291|  9.68k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  9.68k|    do {                    \
  |  |  |  |   52|  9.68k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.68k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.68k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.68k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3709|       |
 3710|  9.68k|        USE_LABEL(c, end);
  ------------------
  |  |   97|  9.68k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  9.68k|    do {                    \
  |  |  |  |   52|  9.68k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.68k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.68k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.68k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3711|  9.68k|    }
 3712|  21.2k|    return SUCCESS;
  ------------------
  |  |   47|  21.2k|#define SUCCESS 0
  ------------------
 3713|  21.2k|}
codegen.c:codegen_call:
 4210|  9.83k|{
 4211|  9.83k|    RETURN_IF_ERROR(codegen_validate_keywords(c, e->v.Call.keywords));
  ------------------
  |  |   51|  9.83k|    do {                    \
  |  |   52|  9.83k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 22, False: 9.81k]
  |  |  ------------------
  |  |   53|     22|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     22|#define ERROR -1
  |  |  ------------------
  |  |   54|     22|        }                   \
  |  |   55|  9.83k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 9.81k]
  |  |  ------------------
  ------------------
 4212|  9.81k|    int ret = maybe_optimize_method_call(c, e);
 4213|  9.81k|    if (ret < 0) {
  ------------------
  |  Branch (4213:9): [True: 130, False: 9.68k]
  ------------------
 4214|    130|        return ERROR;
  ------------------
  |  |   48|    130|#define ERROR -1
  ------------------
 4215|    130|    }
 4216|  9.68k|    if (ret == 1) {
  ------------------
  |  Branch (4216:9): [True: 1.11k, False: 8.57k]
  ------------------
 4217|  1.11k|        return SUCCESS;
  ------------------
  |  |   47|  1.11k|#define SUCCESS 0
  ------------------
 4218|  1.11k|    }
 4219|  8.57k|    NEW_JUMP_TARGET_LABEL(c, skip_normal_call);
  ------------------
  |  |   91|  8.57k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  8.57k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  8.57k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  8.57k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  8.57k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 8.57k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4220|  8.57k|    RETURN_IF_ERROR(check_caller(c, e->v.Call.func));
  ------------------
  |  |   51|  8.57k|    do {                    \
  |  |   52|  8.57k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 8.57k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  8.57k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 8.57k]
  |  |  ------------------
  ------------------
 4221|  8.57k|    VISIT(c, expr, e->v.Call.func);
  ------------------
  |  |  453|  8.57k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  8.57k|    do {                    \
  |  |  |  |   52|  8.57k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 36, False: 8.53k]
  |  |  |  |  ------------------
  |  |  |  |   53|     36|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     36|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     36|        }                   \
  |  |  |  |   55|  8.57k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8.53k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4222|  8.53k|    RETURN_IF_ERROR(maybe_optimize_function_call(c, e, skip_normal_call));
  ------------------
  |  |   51|  8.53k|    do {                    \
  |  |   52|  8.53k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 8.53k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  8.53k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 8.53k]
  |  |  ------------------
  ------------------
 4223|  8.53k|    location loc = LOC(e->v.Call.func);
  ------------------
  |  |   88|  8.53k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  8.53k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  8.53k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  8.53k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  8.53k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  8.53k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4224|  8.53k|    ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  291|  8.53k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  8.53k|    do {                    \
  |  |  |  |   52|  8.53k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8.53k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  8.53k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8.53k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4225|  8.53k|    loc = LOC(e);
  ------------------
  |  |   88|  8.53k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  8.53k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  8.53k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  8.53k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  8.53k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  8.53k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4226|  8.53k|    ret = codegen_call_helper(c, loc, 0,
 4227|  8.53k|                              e->v.Call.args,
 4228|  8.53k|                              e->v.Call.keywords);
 4229|  8.53k|    USE_LABEL(c, skip_normal_call);
  ------------------
  |  |   97|  8.53k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  8.53k|    do {                    \
  |  |  |  |   52|  8.53k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 8.53k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  8.53k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 8.53k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4230|  8.53k|    return ret;
 4231|  8.53k|}
codegen.c:maybe_optimize_method_call:
 4116|  9.81k|{
 4117|  9.81k|    Py_ssize_t argsl, i, kwdsl;
 4118|  9.81k|    expr_ty meth = e->v.Call.func;
 4119|  9.81k|    asdl_expr_seq *args = e->v.Call.args;
 4120|  9.81k|    asdl_keyword_seq *kwds = e->v.Call.keywords;
 4121|       |
 4122|       |    /* Check that the call node is an attribute access */
 4123|  9.81k|    if (meth->kind != Attribute_kind || meth->v.Attribute.ctx != Load) {
  ------------------
  |  Branch (4123:9): [True: 8.27k, False: 1.54k]
  |  Branch (4123:41): [True: 0, False: 1.54k]
  ------------------
 4124|  8.27k|        return 0;
 4125|  8.27k|    }
 4126|       |
 4127|       |    /* Check that the base object is not something that is imported */
 4128|  1.54k|    int ret = is_import_originated(c, meth->v.Attribute.value);
 4129|  1.54k|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  1.54k|    do {                    \
  |  |   52|  1.54k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.54k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.54k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.54k]
  |  |  ------------------
  ------------------
 4130|  1.54k|    if (ret) {
  ------------------
  |  Branch (4130:9): [True: 0, False: 1.54k]
  ------------------
 4131|      0|        return 0;
 4132|      0|    }
 4133|       |
 4134|       |    /* Check that there aren't too many arguments */
 4135|  1.54k|    argsl = asdl_seq_LEN(args);
  ------------------
  |  |   83|  1.54k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.08k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 775, False: 767]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4136|  1.54k|    kwdsl = asdl_seq_LEN(kwds);
  ------------------
  |  |   83|  1.54k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.08k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1.17k, False: 367]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4137|  1.54k|    if (argsl + kwdsl + (kwdsl != 0) >= _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|  1.54k|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (4137:9): [True: 2, False: 1.54k]
  ------------------
 4138|      2|        return 0;
 4139|      2|    }
 4140|       |    /* Check that there are no *varargs types of arguments. */
 4141|  2.58k|    for (i = 0; i < argsl; i++) {
  ------------------
  |  Branch (4141:17): [True: 1.09k, False: 1.48k]
  ------------------
 4142|  1.09k|        expr_ty elt = asdl_seq_GET(args, i);
  ------------------
  |  |   82|  1.09k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.09k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4143|  1.09k|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4143:13): [True: 55, False: 1.04k]
  ------------------
 4144|     55|            return 0;
 4145|     55|        }
 4146|  1.09k|    }
 4147|       |
 4148|  1.72k|    for (i = 0; i < kwdsl; i++) {
  ------------------
  |  Branch (4148:17): [True: 479, False: 1.24k]
  ------------------
 4149|    479|        keyword_ty kw = asdl_seq_GET(kwds, i);
  ------------------
  |  |   82|    479|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    479|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4150|    479|        if (kw->arg == NULL) {
  ------------------
  |  Branch (4150:13): [True: 243, False: 236]
  ------------------
 4151|    243|            return 0;
 4152|    243|        }
 4153|    479|    }
 4154|       |
 4155|       |    /* Alright, we can optimize the code. */
 4156|  1.24k|    location loc = LOC(meth);
  ------------------
  |  |   88|  1.24k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.24k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.24k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.24k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.24k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.24k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4157|       |
 4158|  1.24k|    ret = can_optimize_super_call(c, meth);
 4159|  1.24k|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  1.24k|    do {                    \
  |  |   52|  1.24k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.24k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.24k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.24k]
  |  |  ------------------
  ------------------
 4160|  1.24k|    if (ret) {
  ------------------
  |  Branch (4160:9): [True: 24, False: 1.21k]
  ------------------
 4161|     24|        RETURN_IF_ERROR(load_args_for_super(c, meth->v.Attribute.value));
  ------------------
  |  |   51|     24|    do {                    \
  |  |   52|     24|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 24]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     24|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 24]
  |  |  ------------------
  ------------------
 4162|     24|        int opcode = asdl_seq_LEN(meth->v.Attribute.value->v.Call.args) ?
  ------------------
  |  |   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:26): [True: 24, False: 0]
  |  |  |  |  |  Branch (277:37): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4163|     24|            LOAD_SUPER_METHOD : LOAD_ZERO_SUPER_METHOD;
  ------------------
  |  |  356|     24|#define LOAD_SUPER_METHOD -2
  ------------------
                          LOAD_SUPER_METHOD : LOAD_ZERO_SUPER_METHOD;
  ------------------
  |  |  358|      0|#define LOAD_ZERO_SUPER_METHOD -4
  ------------------
 4164|     24|        ADDOP_NAME(c, loc, opcode, meth->v.Attribute.attr, names);
  ------------------
  |  |  412|     24|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|     24|    do {                    \
  |  |  |  |   52|     24|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     24|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 24]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4165|     24|        loc = update_start_location_to_match_attr(c, loc, meth);
 4166|     24|        ADDOP(c, loc, NOP);
  ------------------
  |  |  291|     24|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     24|    do {                    \
  |  |  |  |   52|     24|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     24|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 24]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4167|  1.21k|    } else {
 4168|  1.21k|        VISIT(c, expr, meth->v.Attribute.value);
  ------------------
  |  |  453|  1.21k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.21k|    do {                    \
  |  |  |  |   52|  1.21k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 109, False: 1.10k]
  |  |  |  |  ------------------
  |  |  |  |   53|    109|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    109|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|    109|        }                   \
  |  |  |  |   55|  1.21k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.10k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4169|  1.10k|        loc = update_start_location_to_match_attr(c, loc, meth);
 4170|  1.10k|        ADDOP_NAME(c, loc, LOAD_METHOD, meth->v.Attribute.attr, names);
  ------------------
  |  |  412|  1.10k|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|  1.10k|    do {                    \
  |  |  |  |   52|  1.10k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.10k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.10k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.10k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4171|  1.10k|    }
 4172|       |
 4173|  1.13k|    VISIT_SEQ(c, expr, e->v.Call.args);
  ------------------
  |  |  459|  1.13k|    do {                                                                    \
  |  |  460|  1.13k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|  1.80k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  1.80k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.60k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 771, False: 1.02k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 685, False: 1.11k]
  |  |  ------------------
  |  |  462|    685|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    685|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    685|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    685|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    685|    do {                    \
  |  |  |  |   52|    685|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 18, False: 667]
  |  |  |  |  ------------------
  |  |  |  |   53|     18|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     18|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     18|        }                   \
  |  |  |  |   55|    685|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 667]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|    685|        }                                                                   \
  |  |  465|  1.13k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 1.11k]
  |  |  ------------------
  ------------------
 4174|       |
 4175|  1.11k|    if (kwdsl) {
  ------------------
  |  Branch (4175:9): [True: 122, False: 993]
  ------------------
 4176|    122|        VISIT_SEQ(c, keyword, kwds);
  ------------------
  |  |  459|    122|    do {                                                                    \
  |  |  460|    122|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|    353|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    353|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    706|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 353]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 234, False: 119]
  |  |  ------------------
  |  |  462|    234|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    234|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    234|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    234|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    234|    do {                    \
  |  |  |  |   52|    234|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 3, False: 231]
  |  |  |  |  ------------------
  |  |  |  |   53|      3|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      3|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      3|        }                   \
  |  |  |  |   55|    234|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 231]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|    234|        }                                                                   \
  |  |  465|    122|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 119]
  |  |  ------------------
  ------------------
 4177|    119|        RETURN_IF_ERROR(
  ------------------
  |  |   51|    119|    do {                    \
  |  |   52|    119|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 119]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    119|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 119]
  |  |  ------------------
  ------------------
 4178|    119|            codegen_call_simple_kw_helper(c, loc, kwds, kwdsl));
 4179|    119|        loc = update_start_location_to_match_attr(c, LOC(e), meth);
  ------------------
  |  |   88|    119|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    119|    (_Py_SourceLocation){ \
  |  |  |  |   55|    119|               .lineno = (n)->lineno, \
  |  |  |  |   56|    119|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    119|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    119|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4180|    119|        ADDOP_I(c, loc, CALL_KW, argsl + kwdsl);
  ------------------
  |  |  277|    119|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    119|    do {                    \
  |  |  |  |   52|    119|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 119]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    119|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 119]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4181|    119|    }
 4182|    993|    else {
 4183|    993|        loc = update_start_location_to_match_attr(c, LOC(e), meth);
  ------------------
  |  |   88|    993|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    993|    (_Py_SourceLocation){ \
  |  |  |  |   55|    993|               .lineno = (n)->lineno, \
  |  |  |  |   56|    993|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    993|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    993|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4184|    993|        ADDOP_I(c, loc, CALL, argsl);
  ------------------
  |  |  277|    993|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    993|    do {                    \
  |  |  |  |   52|    993|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 993]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    993|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 993]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4185|    993|    }
 4186|  1.11k|    return 1;
 4187|  1.11k|}
codegen.c:is_import_originated:
 3843|  1.54k|{
 3844|       |    /* Check whether the global scope has an import named
 3845|       |     e, if it is a Name object. For not traversing all the
 3846|       |     scope stack every time this function is called, it will
 3847|       |     only check the global scope to determine whether something
 3848|       |     is imported or not. */
 3849|       |
 3850|  1.54k|    if (e->kind != Name_kind) {
  ------------------
  |  Branch (3850:9): [True: 1.35k, False: 185]
  ------------------
 3851|  1.35k|        return 0;
 3852|  1.35k|    }
 3853|       |
 3854|    185|    long flags = _PyST_GetSymbol(SYMTABLE(c)->st_top, e->v.Name.id);
  ------------------
  |  |   70|    185|#define SYMTABLE(C) _PyCompile_Symtable(C)
  ------------------
 3855|    185|    RETURN_IF_ERROR(flags);
  ------------------
  |  |   51|    185|    do {                    \
  |  |   52|    185|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 185]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    185|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 185]
  |  |  ------------------
  ------------------
 3856|    185|    return flags & DEF_IMPORT;
  ------------------
  |  |  171|    185|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  ------------------
 3857|    185|}
codegen.c:check_caller:
 3749|  8.57k|{
 3750|  8.57k|    switch (e->kind) {
 3751|  1.52k|    case Constant_kind:
  ------------------
  |  Branch (3751:5): [True: 1.52k, False: 7.04k]
  ------------------
 3752|  1.57k|    case Tuple_kind:
  ------------------
  |  Branch (3752:5): [True: 50, False: 8.52k]
  ------------------
 3753|  1.58k|    case List_kind:
  ------------------
  |  Branch (3753:5): [True: 9, False: 8.56k]
  ------------------
 3754|  1.59k|    case ListComp_kind:
  ------------------
  |  Branch (3754:5): [True: 12, False: 8.56k]
  ------------------
 3755|  1.64k|    case Dict_kind:
  ------------------
  |  Branch (3755:5): [True: 44, False: 8.52k]
  ------------------
 3756|  2.28k|    case DictComp_kind:
  ------------------
  |  Branch (3756:5): [True: 648, False: 7.92k]
  ------------------
 3757|  2.40k|    case Set_kind:
  ------------------
  |  Branch (3757:5): [True: 115, False: 8.45k]
  ------------------
 3758|  2.96k|    case SetComp_kind:
  ------------------
  |  Branch (3758:5): [True: 557, False: 8.01k]
  ------------------
 3759|  3.08k|    case GeneratorExp_kind:
  ------------------
  |  Branch (3759:5): [True: 126, False: 8.44k]
  ------------------
 3760|  3.12k|    case JoinedStr_kind:
  ------------------
  |  Branch (3760:5): [True: 38, False: 8.53k]
  ------------------
 3761|  3.12k|    case TemplateStr_kind:
  ------------------
  |  Branch (3761:5): [True: 4, False: 8.56k]
  ------------------
 3762|  3.12k|    case FormattedValue_kind:
  ------------------
  |  Branch (3762:5): [True: 0, False: 8.57k]
  ------------------
 3763|  3.12k|    case Interpolation_kind: {
  ------------------
  |  Branch (3763:5): [True: 0, False: 8.57k]
  ------------------
 3764|  3.12k|        location loc = LOC(e);
  ------------------
  |  |   88|  3.12k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  3.12k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  3.12k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  3.12k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  3.12k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  3.12k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3765|  3.12k|        return _PyCompile_Warn(c, loc, "'%.200s' object is not callable; "
 3766|  3.12k|                                       "perhaps you missed a comma?",
 3767|  3.12k|                                       infer_type(e)->tp_name);
 3768|  3.12k|    }
 3769|  5.44k|    default:
  ------------------
  |  Branch (3769:5): [True: 5.44k, False: 3.12k]
  ------------------
 3770|  5.44k|        return SUCCESS;
  ------------------
  |  |   47|  5.44k|#define SUCCESS 0
  ------------------
 3771|  8.57k|    }
 3772|  8.57k|}
codegen.c:maybe_optimize_function_call:
 3974|  8.53k|{
 3975|  8.53k|    asdl_expr_seq *args = e->v.Call.args;
 3976|  8.53k|    asdl_keyword_seq *kwds = e->v.Call.keywords;
 3977|  8.53k|    expr_ty func = e->v.Call.func;
 3978|       |
 3979|  8.53k|    if (! (func->kind == Name_kind &&
  ------------------
  |  Branch (3979:12): [True: 3.13k, False: 5.39k]
  ------------------
 3980|  3.13k|           asdl_seq_LEN(args) == 1 &&
  ------------------
  |  |   83|  3.13k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  6.27k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 513, False: 2.62k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3980:12): [True: 1.35k, False: 1.78k]
  ------------------
 3981|  1.35k|           asdl_seq_LEN(kwds) == 0))
  ------------------
  |  |   83|  1.35k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  2.71k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1.10k, False: 257]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3981:12): [True: 1.10k, False: 257]
  ------------------
 3982|  7.43k|    {
 3983|  7.43k|        return 0;
 3984|  7.43k|    }
 3985|       |
 3986|  1.10k|    location loc = LOC(func);
  ------------------
  |  |   88|  1.10k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.10k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.10k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.10k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.10k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.10k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3987|       |
 3988|  1.10k|    expr_ty arg_expr = asdl_seq_GET(args, 0);
  ------------------
  |  |   82|  1.10k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.10k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3989|       |
 3990|  1.10k|    if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "frozenset")
  ------------------
  |  Branch (3990:9): [True: 0, False: 1.10k]
  ------------------
 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|  1.10k|    if (arg_expr->kind != GeneratorExp_kind) {
  ------------------
  |  Branch (4009:9): [True: 1.08k, False: 17]
  ------------------
 4010|  1.08k|        return 0;
 4011|  1.08k|    }
 4012|       |
 4013|     17|    PySTEntryObject *generator_entry = _PySymtable_Lookup(SYMTABLE(c), (void *)arg_expr);
  ------------------
  |  |   70|     17|#define SYMTABLE(C) _PyCompile_Symtable(C)
  ------------------
 4014|     17|    if (generator_entry->ste_coroutine) {
  ------------------
  |  Branch (4014:9): [True: 4, False: 13]
  ------------------
 4015|      4|        Py_DECREF(generator_entry);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4016|      4|        return 0;
 4017|      4|    }
 4018|     13|    Py_DECREF(generator_entry);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4019|       |
 4020|     13|    int optimized = 0;
 4021|     13|    NEW_JUMP_TARGET_LABEL(c, skip_optimization);
  ------------------
  |  |   91|     13|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     13|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     13|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     13|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     13|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 13]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4022|       |
 4023|     13|    int const_oparg = -1;
 4024|     13|    PyObject *initial_res = NULL;
 4025|     13|    int continue_jump_opcode = -1;
 4026|     13|    if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "all")) {
  ------------------
  |  Branch (4026:9): [True: 0, False: 13]
  ------------------
 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|     13|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "any")) {
  ------------------
  |  Branch (4031:14): [True: 0, False: 13]
  ------------------
 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|     13|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "tuple")) {
  ------------------
  |  Branch (4036:14): [True: 0, False: 13]
  ------------------
 4037|      0|        const_oparg = CONSTANT_BUILTIN_TUPLE;
  ------------------
  |  |   73|      0|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
 4038|      0|    }
 4039|     13|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "list")) {
  ------------------
  |  Branch (4039:14): [True: 0, False: 13]
  ------------------
 4040|      0|        const_oparg = CONSTANT_BUILTIN_LIST;
  ------------------
  |  |   76|      0|#define CONSTANT_BUILTIN_LIST 5
  ------------------
 4041|      0|    }
 4042|     13|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "set")) {
  ------------------
  |  Branch (4042:14): [True: 0, False: 13]
  ------------------
 4043|      0|        const_oparg = CONSTANT_BUILTIN_SET;
  ------------------
  |  |   77|      0|#define CONSTANT_BUILTIN_SET 6
  ------------------
 4044|      0|    }
 4045|     13|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "frozenset")) {
  ------------------
  |  Branch (4045:14): [True: 0, False: 13]
  ------------------
 4046|      0|        const_oparg = CONSTANT_BUILTIN_FROZENSET;
  ------------------
  |  |   83|      0|#define CONSTANT_BUILTIN_FROZENSET 12
  ------------------
 4047|      0|    }
 4048|     13|    if (const_oparg != -1) {
  ------------------
  |  Branch (4048:9): [True: 0, False: 13]
  ------------------
 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|     13|    USE_LABEL(c, skip_optimization);
  ------------------
  |  |   97|     13|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     13|    do {                    \
  |  |  |  |   52|     13|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 13]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     13|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 13]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4110|     13|    return optimized;
 4111|     13|}
codegen.c:codegen_joined_str:
 4278|  3.51k|{
 4279|  3.51k|    location loc = LOC(e);
  ------------------
  |  |   88|  3.51k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  3.51k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  3.51k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  3.51k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  3.51k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  3.51k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4280|  3.51k|    Py_ssize_t value_count = asdl_seq_LEN(e->v.JoinedStr.values);
  ------------------
  |  |   83|  3.51k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  7.02k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 3.51k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4281|  3.51k|    if (value_count > _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|  3.51k|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (4281:9): [True: 44, False: 3.46k]
  ------------------
 4282|     44|        _Py_DECLARE_STR(empty, "");
 4283|     44|        ADDOP_LOAD_CONST_NEW(c, loc, Py_NewRef(&_Py_STR(empty)));
  ------------------
  |  |  315|     44|    do {                                                                \
  |  |  316|     44|        PyObject *__new_const = (O);                                    \
  |  |  317|     44|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (317:13): [True: 0, False: 44]
  |  |  ------------------
  |  |  318|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  319|      0|        }                                                               \
  |  |  320|     44|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (320:13): [True: 0, False: 44]
  |  |  ------------------
  |  |  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|     44|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  325|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (325:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 4284|     44|        ADDOP_NAME(c, loc, LOAD_METHOD, &_Py_ID(join), names);
  ------------------
  |  |  412|     44|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|     44|    do {                    \
  |  |  |  |   52|     44|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     44|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4285|     44|        ADDOP_I(c, loc, BUILD_LIST, 0);
  ------------------
  |  |  277|     44|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     44|    do {                    \
  |  |  |  |   52|     44|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     44|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4286|  3.13k|        for (Py_ssize_t i = 0; i < asdl_seq_LEN(e->v.JoinedStr.values); i++) {
  ------------------
  |  |   83|  3.13k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  6.27k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 3.13k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4286:32): [True: 3.09k, False: 37]
  ------------------
 4287|  3.09k|            VISIT(c, expr, asdl_seq_GET(e->v.JoinedStr.values, i));
  ------------------
  |  |  453|  3.09k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  3.09k|    do {                    \
  |  |  |  |   52|  3.09k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 7, False: 3.09k]
  |  |  |  |  ------------------
  |  |  |  |   53|      7|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      7|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      7|        }                   \
  |  |  |  |   55|  3.09k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4288|  3.09k|            ADDOP_I(c, loc, LIST_APPEND, 1);
  ------------------
  |  |  277|  3.09k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.09k|    do {                    \
  |  |  |  |   52|  3.09k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.09k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.09k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4289|  3.09k|        }
 4290|     37|        ADDOP_I(c, loc, CALL, 1);
  ------------------
  |  |  277|     37|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     37|    do {                    \
  |  |  |  |   52|     37|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 37]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     37|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 37]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4291|     37|    }
 4292|  3.46k|    else {
 4293|  3.46k|        VISIT_SEQ(c, expr, e->v.JoinedStr.values);
  ------------------
  |  |  459|  3.46k|    do {                                                                    \
  |  |  460|  3.46k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|  9.43k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  9.43k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  18.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 9.43k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 6.03k, False: 3.40k]
  |  |  ------------------
  |  |  462|  6.03k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  6.03k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  6.03k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|  6.03k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  6.03k|    do {                    \
  |  |  |  |   52|  6.03k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 66, False: 5.96k]
  |  |  |  |  ------------------
  |  |  |  |   53|     66|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     66|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     66|        }                   \
  |  |  |  |   55|  6.03k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5.96k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|  6.03k|        }                                                                   \
  |  |  465|  3.46k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 3.40k]
  |  |  ------------------
  ------------------
 4294|  3.40k|        if (value_count > 1) {
  ------------------
  |  Branch (4294:13): [True: 1.66k, False: 1.73k]
  ------------------
 4295|  1.66k|            ADDOP_I(c, loc, BUILD_STRING, value_count);
  ------------------
  |  |  277|  1.66k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.66k|    do {                    \
  |  |  |  |   52|  1.66k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.66k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.66k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.66k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4296|  1.66k|        }
 4297|  1.73k|        else if (value_count == 0) {
  ------------------
  |  Branch (4297:18): [True: 354, False: 1.38k]
  ------------------
 4298|    354|            _Py_DECLARE_STR(empty, "");
 4299|    354|            ADDOP_LOAD_CONST_NEW(c, loc, Py_NewRef(&_Py_STR(empty)));
  ------------------
  |  |  315|    354|    do {                                                                \
  |  |  316|    354|        PyObject *__new_const = (O);                                    \
  |  |  317|    354|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (317:13): [True: 0, False: 354]
  |  |  ------------------
  |  |  318|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  319|      0|        }                                                               \
  |  |  320|    354|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (320:13): [True: 0, False: 354]
  |  |  ------------------
  |  |  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|    354|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|    354|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    354|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    354|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  325|    354|    } while (0)
  |  |  ------------------
  |  |  |  Branch (325:14): [Folded, False: 354]
  |  |  ------------------
  ------------------
 4300|    354|        }
 4301|  3.40k|    }
 4302|  3.43k|    return SUCCESS;
  ------------------
  |  |   47|  3.43k|#define SUCCESS 0
  ------------------
 4303|  3.51k|}
codegen.c:codegen_template_str:
 4235|  1.09k|{
 4236|  1.09k|    location loc = LOC(e);
  ------------------
  |  |   88|  1.09k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.09k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.09k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.09k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.09k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.09k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4237|  1.09k|    expr_ty value;
 4238|       |
 4239|  1.09k|    Py_ssize_t value_count = asdl_seq_LEN(e->v.TemplateStr.values);
  ------------------
  |  |   83|  1.09k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  2.18k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4240|  1.09k|    int last_was_interpolation = 1;
 4241|  1.09k|    Py_ssize_t stringslen = 0;
 4242|  3.83k|    for (Py_ssize_t i = 0; i < value_count; i++) {
  ------------------
  |  Branch (4242:28): [True: 2.74k, False: 1.09k]
  ------------------
 4243|  2.74k|        value = asdl_seq_GET(e->v.TemplateStr.values, i);
  ------------------
  |  |   82|  2.74k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  2.74k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4244|  2.74k|        if (value->kind == Interpolation_kind) {
  ------------------
  |  Branch (4244:13): [True: 1.60k, False: 1.13k]
  ------------------
 4245|  1.60k|            if (last_was_interpolation) {
  ------------------
  |  Branch (4245:17): [True: 947, False: 660]
  ------------------
 4246|    947|                ADDOP_LOAD_CONST(c, loc, Py_NewRef(&_Py_STR(empty)));
  ------------------
  |  |  308|    947|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    947|    do {                    \
  |  |  |  |   52|    947|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 947]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    947|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 947]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4247|    947|                stringslen++;
 4248|    947|            }
 4249|  1.60k|            last_was_interpolation = 1;
 4250|  1.60k|        }
 4251|  1.13k|        else {
 4252|  1.13k|            VISIT(c, expr, value);
  ------------------
  |  |  453|  1.13k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.13k|    do {                    \
  |  |  |  |   52|  1.13k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.13k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.13k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.13k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4253|  1.13k|            stringslen++;
 4254|  1.13k|            last_was_interpolation = 0;
 4255|  1.13k|        }
 4256|  2.74k|    }
 4257|  1.09k|    if (last_was_interpolation) {
  ------------------
  |  Branch (4257:9): [True: 613, False: 477]
  ------------------
 4258|    613|        ADDOP_LOAD_CONST(c, loc, Py_NewRef(&_Py_STR(empty)));
  ------------------
  |  |  308|    613|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    613|    do {                    \
  |  |  |  |   52|    613|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 613]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    613|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 613]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4259|    613|        stringslen++;
 4260|    613|    }
 4261|  1.09k|    ADDOP_I(c, loc, BUILD_TUPLE, stringslen);
  ------------------
  |  |  277|  1.09k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.09k|    do {                    \
  |  |  |  |   52|  1.09k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.09k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.09k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4262|       |
 4263|  1.09k|    Py_ssize_t interpolationslen = 0;
 4264|  3.81k|    for (Py_ssize_t i = 0; i < value_count; i++) {
  ------------------
  |  Branch (4264:28): [True: 2.73k, False: 1.07k]
  ------------------
 4265|  2.73k|        value = asdl_seq_GET(e->v.TemplateStr.values, i);
  ------------------
  |  |   82|  2.73k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  2.73k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4266|  2.73k|        if (value->kind == Interpolation_kind) {
  ------------------
  |  Branch (4266:13): [True: 1.60k, False: 1.13k]
  ------------------
 4267|  1.60k|            VISIT(c, expr, value);
  ------------------
  |  |  453|  1.60k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.60k|    do {                    \
  |  |  |  |   52|  1.60k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 12, False: 1.59k]
  |  |  |  |  ------------------
  |  |  |  |   53|     12|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     12|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     12|        }                   \
  |  |  |  |   55|  1.60k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.59k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4268|  1.59k|            interpolationslen++;
 4269|  1.59k|        }
 4270|  2.73k|    }
 4271|  1.07k|    ADDOP_I(c, loc, BUILD_TUPLE, interpolationslen);
  ------------------
  |  |  277|  1.07k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.07k|    do {                    \
  |  |  |  |   52|  1.07k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.07k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.07k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.07k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4272|  1.07k|    ADDOP(c, loc, BUILD_TEMPLATE);
  ------------------
  |  |  291|  1.07k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.07k|    do {                    \
  |  |  |  |   52|  1.07k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.07k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.07k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.07k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4273|  1.07k|    return SUCCESS;
  ------------------
  |  |   47|  1.07k|#define SUCCESS 0
  ------------------
 4274|  1.07k|}
codegen.c:codegen_formatted_value:
 4339|  3.80k|{
 4340|  3.80k|    int conversion = e->v.FormattedValue.conversion;
 4341|  3.80k|    int oparg;
 4342|       |
 4343|       |    /* The expression to be formatted. */
 4344|  3.80k|    VISIT(c, expr, e->v.FormattedValue.value);
  ------------------
  |  |  453|  3.80k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  3.80k|    do {                    \
  |  |  |  |   52|  3.80k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 62, False: 3.74k]
  |  |  |  |  ------------------
  |  |  |  |   53|     62|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     62|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     62|        }                   \
  |  |  |  |   55|  3.80k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.74k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4345|       |
 4346|  3.74k|    location loc = LOC(e);
  ------------------
  |  |   88|  3.74k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  3.74k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  3.74k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  3.74k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  3.74k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  3.74k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4347|  3.74k|    if (conversion != -1) {
  ------------------
  |  Branch (4347:9): [True: 2.11k, False: 1.63k]
  ------------------
 4348|  2.11k|        switch (conversion) {
 4349|    410|        case 's': oparg = FVC_STR;   break;
  ------------------
  |  |  130|    410|#define FVC_STR       0x1
  ------------------
  |  Branch (4349:9): [True: 410, False: 1.70k]
  ------------------
 4350|    776|        case 'r': oparg = FVC_REPR;  break;
  ------------------
  |  |  131|    776|#define FVC_REPR      0x2
  ------------------
  |  Branch (4350:9): [True: 776, False: 1.34k]
  ------------------
 4351|    931|        case 'a': oparg = FVC_ASCII; break;
  ------------------
  |  |  132|    931|#define FVC_ASCII     0x3
  ------------------
  |  Branch (4351:9): [True: 931, False: 1.18k]
  ------------------
 4352|      0|        default:
  ------------------
  |  Branch (4352:9): [True: 0, False: 2.11k]
  ------------------
 4353|      0|            PyErr_Format(PyExc_SystemError,
 4354|      0|                     "Unrecognized conversion character %d", conversion);
 4355|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4356|  2.11k|        }
 4357|  2.11k|        ADDOP_I(c, loc, CONVERT_VALUE, oparg);
  ------------------
  |  |  277|  2.11k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.11k|    do {                    \
  |  |  |  |   52|  2.11k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.11k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.11k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.11k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4358|  2.11k|    }
 4359|  3.74k|    if (e->v.FormattedValue.format_spec) {
  ------------------
  |  Branch (4359:9): [True: 1.62k, False: 2.11k]
  ------------------
 4360|       |        /* Evaluate the format spec, and update our opcode arg. */
 4361|  1.62k|        VISIT(c, expr, e->v.FormattedValue.format_spec);
  ------------------
  |  |  453|  1.62k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.62k|    do {                    \
  |  |  |  |   52|  1.62k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 11, False: 1.61k]
  |  |  |  |  ------------------
  |  |  |  |   53|     11|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     11|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     11|        }                   \
  |  |  |  |   55|  1.62k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.61k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4362|  1.61k|        ADDOP(c, loc, FORMAT_WITH_SPEC);
  ------------------
  |  |  291|  1.61k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.61k|    do {                    \
  |  |  |  |   52|  1.61k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.61k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.61k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.61k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4363|  2.11k|    } else {
 4364|  2.11k|        ADDOP(c, loc, FORMAT_SIMPLE);
  ------------------
  |  |  291|  2.11k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.11k|    do {                    \
  |  |  |  |   52|  2.11k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.11k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.11k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.11k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4365|  2.11k|    }
 4366|  3.73k|    return SUCCESS;
  ------------------
  |  |   47|  3.73k|#define SUCCESS 0
  ------------------
 4367|  3.74k|}
codegen.c:codegen_interpolation:
 4307|  1.60k|{
 4308|  1.60k|    location loc = LOC(e);
  ------------------
  |  |   88|  1.60k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.60k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.60k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.60k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.60k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.60k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4309|       |
 4310|  1.60k|    VISIT(c, expr, e->v.Interpolation.value);
  ------------------
  |  |  453|  1.60k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.60k|    do {                    \
  |  |  |  |   52|  1.60k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 11, False: 1.59k]
  |  |  |  |  ------------------
  |  |  |  |   53|     11|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     11|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     11|        }                   \
  |  |  |  |   55|  1.60k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.59k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4311|  1.59k|    ADDOP_LOAD_CONST(c, loc, e->v.Interpolation.str);
  ------------------
  |  |  308|  1.59k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  1.59k|    do {                    \
  |  |  |  |   52|  1.59k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.59k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.59k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.59k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4312|       |
 4313|  1.59k|    int oparg = 2;
 4314|  1.59k|    if (e->v.Interpolation.format_spec) {
  ------------------
  |  Branch (4314:9): [True: 493, False: 1.10k]
  ------------------
 4315|    493|        oparg++;
 4316|    493|        VISIT(c, expr, e->v.Interpolation.format_spec);
  ------------------
  |  |  453|    493|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    493|    do {                    \
  |  |  |  |   52|    493|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 492]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    493|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 492]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4317|    493|    }
 4318|       |
 4319|  1.59k|    int conversion = e->v.Interpolation.conversion;
 4320|  1.59k|    if (conversion != -1) {
  ------------------
  |  Branch (4320:9): [True: 520, False: 1.07k]
  ------------------
 4321|    520|        switch (conversion) {
 4322|     69|        case 's': oparg |= FVC_STR << 2;   break;
  ------------------
  |  |  130|     69|#define FVC_STR       0x1
  ------------------
  |  Branch (4322:9): [True: 69, False: 451]
  ------------------
 4323|    139|        case 'r': oparg |= FVC_REPR << 2;  break;
  ------------------
  |  |  131|    139|#define FVC_REPR      0x2
  ------------------
  |  Branch (4323:9): [True: 139, False: 381]
  ------------------
 4324|    312|        case 'a': oparg |= FVC_ASCII << 2; break;
  ------------------
  |  |  132|    312|#define FVC_ASCII     0x3
  ------------------
  |  Branch (4324:9): [True: 312, False: 208]
  ------------------
 4325|      0|        default:
  ------------------
  |  Branch (4325:9): [True: 0, False: 520]
  ------------------
 4326|      0|            PyErr_Format(PyExc_SystemError,
 4327|      0|                     "Unrecognized conversion character %d", conversion);
 4328|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4329|    520|        }
 4330|    520|    }
 4331|       |
 4332|  1.59k|    ADDOP_I(c, loc, BUILD_INTERPOLATION, oparg);
  ------------------
  |  |  277|  1.59k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.59k|    do {                    \
  |  |  |  |   52|  1.59k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.59k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.59k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.59k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4333|  1.59k|    return SUCCESS;
  ------------------
  |  |   47|  1.59k|#define SUCCESS 0
  ------------------
 4334|  1.59k|}
codegen.c:can_optimize_super_call:
 3861|  13.7k|{
 3862|  13.7k|    expr_ty e = attr->v.Attribute.value;
 3863|  13.7k|    if (e->kind != Call_kind ||
  ------------------
  |  Branch (3863:9): [True: 8.44k, False: 5.28k]
  ------------------
 3864|  5.28k|        e->v.Call.func->kind != Name_kind ||
  ------------------
  |  Branch (3864:9): [True: 3.00k, False: 2.27k]
  ------------------
 3865|  2.27k|        !_PyUnicode_EqualToASCIIString(e->v.Call.func->v.Name.id, "super") ||
  ------------------
  |  Branch (3865:9): [True: 1.48k, False: 795]
  ------------------
 3866|    795|        _PyUnicode_EqualToASCIIString(attr->v.Attribute.attr, "__class__") ||
  ------------------
  |  Branch (3866:9): [True: 0, False: 795]
  ------------------
 3867|  12.9k|        asdl_seq_LEN(e->v.Call.keywords) != 0) {
  ------------------
  |  |   83|    795|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.59k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 783, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3867:9): [True: 12, False: 783]
  ------------------
 3868|  12.9k|        return 0;
 3869|  12.9k|    }
 3870|    783|    Py_ssize_t num_args = asdl_seq_LEN(e->v.Call.args);
  ------------------
  |  |   83|    783|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.56k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 171, False: 612]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3871|       |
 3872|    783|    PyObject *super_name = e->v.Call.func->v.Name.id;
 3873|       |    // detect statically-visible shadowing of 'super' name
 3874|    783|    int scope = _PyST_GetScope(SYMTABLE_ENTRY(c), super_name);
  ------------------
  |  |   71|    783|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
 3875|    783|    RETURN_IF_ERROR(scope);
  ------------------
  |  |   51|    783|    do {                    \
  |  |   52|    783|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 783]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    783|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 783]
  |  |  ------------------
  ------------------
 3876|    783|    if (scope != GLOBAL_IMPLICIT) {
  ------------------
  |  |  189|    783|#define GLOBAL_IMPLICIT 3
  ------------------
  |  Branch (3876:9): [True: 93, False: 690]
  ------------------
 3877|     93|        return 0;
 3878|     93|    }
 3879|    690|    scope = _PyST_GetScope(SYMTABLE(c)->st_top, super_name);
  ------------------
  |  |   70|    690|#define SYMTABLE(C) _PyCompile_Symtable(C)
  ------------------
 3880|    690|    RETURN_IF_ERROR(scope);
  ------------------
  |  |   51|    690|    do {                    \
  |  |   52|    690|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 690]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    690|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 690]
  |  |  ------------------
  ------------------
 3881|    690|    if (scope != 0) {
  ------------------
  |  Branch (3881:9): [True: 102, False: 588]
  ------------------
 3882|    102|        return 0;
 3883|    102|    }
 3884|       |
 3885|    588|    if (num_args == 2) {
  ------------------
  |  Branch (3885:9): [True: 549, False: 39]
  ------------------
 3886|  1.61k|        for (Py_ssize_t i = 0; i < num_args; i++) {
  ------------------
  |  Branch (3886:32): [True: 1.08k, False: 523]
  ------------------
 3887|  1.08k|            expr_ty elt = asdl_seq_GET(e->v.Call.args, i);
  ------------------
  |  |   82|  1.08k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.08k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3888|  1.08k|            if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (3888:17): [True: 26, False: 1.06k]
  ------------------
 3889|     26|                return 0;
 3890|     26|            }
 3891|  1.08k|        }
 3892|       |        // exactly two non-starred args; we can just load
 3893|       |        // the provided args
 3894|    523|        return 1;
 3895|    549|    }
 3896|       |
 3897|     39|    if (num_args != 0) {
  ------------------
  |  Branch (3897:9): [True: 27, False: 12]
  ------------------
 3898|     27|        return 0;
 3899|     27|    }
 3900|       |    // we need the following for zero-arg super():
 3901|       |
 3902|       |    // enclosing function should have at least one argument
 3903|     12|    if (METADATA(c)->u_argcount == 0 &&
  ------------------
  |  |   76|     12|#define METADATA(C) _PyCompile_Metadata(C)
  ------------------
  |  Branch (3903:9): [True: 2, False: 10]
  ------------------
 3904|      2|        METADATA(c)->u_posonlyargcount == 0) {
  ------------------
  |  |   76|      2|#define METADATA(C) _PyCompile_Metadata(C)
  ------------------
  |  Branch (3904:9): [True: 1, False: 1]
  ------------------
 3905|      1|        return 0;
 3906|      1|    }
 3907|       |    // __class__ cell should be available
 3908|     11|    if (_PyCompile_GetRefType(c, &_Py_ID(__class__)) == FREE) {
  ------------------
  |  |  921|     11|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     11|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     11|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (_PyCompile_GetRefType(c, &_Py_ID(__class__)) == FREE) {
  ------------------
  |  |  190|     11|#define FREE 4
  ------------------
  |  Branch (3908:9): [True: 0, False: 11]
  ------------------
 3909|      0|        return 1;
 3910|      0|    }
 3911|     11|    return 0;
 3912|     11|}
codegen.c:load_args_for_super:
 3915|    523|load_args_for_super(compiler *c, expr_ty e) {
 3916|    523|    location loc = LOC(e);
  ------------------
  |  |   88|    523|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    523|    (_Py_SourceLocation){ \
  |  |  |  |   55|    523|               .lineno = (n)->lineno, \
  |  |  |  |   56|    523|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    523|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    523|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3917|       |
 3918|       |    // load super() global
 3919|    523|    PyObject *super_name = e->v.Call.func->v.Name.id;
 3920|    523|    RETURN_IF_ERROR(codegen_nameop(c, LOC(e->v.Call.func), super_name, Load));
  ------------------
  |  |   51|    523|    do {                    \
  |  |   52|    523|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 523]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    523|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 523]
  |  |  ------------------
  ------------------
 3921|       |
 3922|    523|    if (asdl_seq_LEN(e->v.Call.args) == 2) {
  ------------------
  |  |   83|    523|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.04k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 523]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3922:9): [True: 523, False: 0]
  ------------------
 3923|    523|        VISIT(c, expr, asdl_seq_GET(e->v.Call.args, 0));
  ------------------
  |  |  453|    523|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    523|    do {                    \
  |  |  |  |   52|    523|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 523]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    523|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 523]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3924|    523|        VISIT(c, expr, asdl_seq_GET(e->v.Call.args, 1));
  ------------------
  |  |  453|    523|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    523|    do {                    \
  |  |  |  |   52|    523|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 523]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    523|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 523]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3925|    523|        return SUCCESS;
  ------------------
  |  |   47|    523|#define SUCCESS 0
  ------------------
 3926|    523|    }
 3927|       |
 3928|       |    // load __class__ cell
 3929|      0|    PyObject *name = &_Py_ID(__class__);
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3930|      0|    assert(_PyCompile_GetRefType(c, name) == FREE);
  ------------------
  |  Branch (3930:5): [True: 0, False: 0]
  ------------------
 3931|      0|    RETURN_IF_ERROR(codegen_nameop(c, loc, name, Load));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3932|       |
 3933|       |    // load self (first argument)
 3934|      0|    Py_ssize_t i = 0;
 3935|      0|    PyObject *key, *value;
 3936|      0|    if (!PyDict_Next(METADATA(c)->u_varnames, &i, &key, &value)) {
  ------------------
  |  |   76|      0|#define METADATA(C) _PyCompile_Metadata(C)
  ------------------
  |  Branch (3936:9): [True: 0, False: 0]
  ------------------
 3937|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 3938|      0|    }
 3939|      0|    RETURN_IF_ERROR(codegen_nameop(c, loc, key, Load));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3940|       |
 3941|      0|    return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 3942|      0|}
codegen.c:codegen_subscript:
 5842|  10.2k|{
 5843|  10.2k|    location loc = LOC(e);
  ------------------
  |  |   88|  10.2k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  10.2k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  10.2k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  10.2k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  10.2k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  10.2k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5844|  10.2k|    expr_context_ty ctx = e->v.Subscript.ctx;
 5845|       |
 5846|  10.2k|    if (ctx == Load) {
  ------------------
  |  Branch (5846:9): [True: 10.0k, False: 170]
  ------------------
 5847|  10.0k|        RETURN_IF_ERROR(check_subscripter(c, e->v.Subscript.value));
  ------------------
  |  |   51|  10.0k|    do {                    \
  |  |   52|  10.0k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 10.0k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  10.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 10.0k]
  |  |  ------------------
  ------------------
 5848|  10.0k|        RETURN_IF_ERROR(check_index(c, e->v.Subscript.value, e->v.Subscript.slice));
  ------------------
  |  |   51|  10.0k|    do {                    \
  |  |   52|  10.0k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 10.0k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  10.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 10.0k]
  |  |  ------------------
  ------------------
 5849|  10.0k|    }
 5850|       |
 5851|  10.2k|    VISIT(c, expr, e->v.Subscript.value);
  ------------------
  |  |  453|  10.2k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  10.2k|    do {                    \
  |  |  |  |   52|  10.2k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 25, False: 10.1k]
  |  |  |  |  ------------------
  |  |  |  |   53|     25|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     25|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     25|        }                   \
  |  |  |  |   55|  10.2k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5852|  10.1k|    if (should_apply_two_element_slice_optimization(e->v.Subscript.slice) &&
  ------------------
  |  Branch (5852:9): [True: 419, False: 9.76k]
  ------------------
 5853|    419|        ctx != Del
  ------------------
  |  Branch (5853:9): [True: 416, False: 3]
  ------------------
 5854|  10.1k|    ) {
 5855|    416|        RETURN_IF_ERROR(codegen_slice_two_parts(c, e->v.Subscript.slice));
  ------------------
  |  |   51|    416|    do {                    \
  |  |   52|    416|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 7, False: 409]
  |  |  ------------------
  |  |   53|      7|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      7|#define ERROR -1
  |  |  ------------------
  |  |   54|      7|        }                   \
  |  |   55|    416|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 409]
  |  |  ------------------
  ------------------
 5856|    409|        if (ctx == Load) {
  ------------------
  |  Branch (5856:13): [True: 362, False: 47]
  ------------------
 5857|    362|            ADDOP(c, loc, BINARY_SLICE);
  ------------------
  |  |  291|    362|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    362|    do {                    \
  |  |  |  |   52|    362|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 362]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    362|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 362]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5858|    362|        }
 5859|     47|        else {
 5860|     47|            assert(ctx == Store);
  ------------------
  |  Branch (5860:13): [True: 47, False: 0]
  ------------------
 5861|     47|            ADDOP(c, loc, STORE_SLICE);
  ------------------
  |  |  291|     47|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     47|    do {                    \
  |  |  |  |   52|     47|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     47|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5862|     47|        }
 5863|    409|    }
 5864|  9.77k|    else {
 5865|  9.77k|        VISIT(c, expr, e->v.Subscript.slice);
  ------------------
  |  |  453|  9.77k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  9.77k|    do {                    \
  |  |  |  |   52|  9.77k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 17, False: 9.75k]
  |  |  |  |  ------------------
  |  |  |  |   53|     17|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     17|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     17|        }                   \
  |  |  |  |   55|  9.77k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.75k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5866|  9.75k|        switch (ctx) {
  ------------------
  |  Branch (5866:17): [True: 9.75k, False: 0]
  ------------------
 5867|  9.63k|            case Load:
  ------------------
  |  Branch (5867:13): [True: 9.63k, False: 122]
  ------------------
 5868|  9.63k|                ADDOP_I(c, loc, BINARY_OP, NB_SUBSCR);
  ------------------
  |  |  277|  9.63k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  9.63k|    do {                    \
  |  |  |  |   52|  9.63k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.63k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.63k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.63k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5869|  9.63k|                break;
 5870|  9.63k|            case Store:
  ------------------
  |  Branch (5870:13): [True: 73, False: 9.68k]
  ------------------
 5871|     73|                ADDOP(c, loc, STORE_SUBSCR);
  ------------------
  |  |  291|     73|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     73|    do {                    \
  |  |  |  |   52|     73|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 73]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     73|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 73]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5872|     73|                break;
 5873|     73|            case Del:
  ------------------
  |  Branch (5873:13): [True: 49, False: 9.70k]
  ------------------
 5874|     49|                ADDOP(c, loc, DELETE_SUBSCR);
  ------------------
  |  |  291|     49|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     49|    do {                    \
  |  |  |  |   52|     49|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 49]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     49|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 49]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5875|     49|                break;
 5876|  9.75k|        }
 5877|  9.75k|    }
 5878|  10.1k|    return SUCCESS;
  ------------------
  |  |   47|  10.1k|#define SUCCESS 0
  ------------------
 5879|  10.1k|}
codegen.c:check_subscripter:
 3776|  10.0k|{
 3777|  10.0k|    PyObject *v;
 3778|       |
 3779|  10.0k|    switch (e->kind) {
 3780|  4.37k|    case Constant_kind:
  ------------------
  |  Branch (3780:5): [True: 4.37k, False: 5.66k]
  ------------------
 3781|  4.37k|        v = e->v.Constant.value;
 3782|  4.37k|        if (!(v == Py_None || v == Py_Ellipsis ||
  ------------------
  |  |  616|  8.75k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      if (!(v == Py_None || v == Py_Ellipsis ||
  ------------------
  |  |   14|  8.73k|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (3782:15): [True: 19, False: 4.35k]
  |  Branch (3782:31): [True: 0, False: 4.35k]
  ------------------
 3783|  4.37k|              PyLong_Check(v) || PyFloat_Check(v) || PyComplex_Check(v) ||
  ------------------
  |  |   13|  4.35k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.73k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 191, False: 4.16k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                            PyLong_Check(v) || PyFloat_Check(v) || PyComplex_Check(v) ||
  ------------------
  |  |   16|  4.16k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|  8.54k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 105, False: 4.06k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                            PyLong_Check(v) || PyFloat_Check(v) || PyComplex_Check(v) ||
  ------------------
  |  |   13|  4.06k|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  378|  8.43k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 44, False: 4.01k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3784|  4.01k|              PyAnySet_Check(v)))
  ------------------
  |  |   31|  4.01k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  8.03k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 4.01k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  8.03k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 4.01k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|  4.01k|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|  4.01k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 4.01k]
  |  |  ------------------
  |  |   33|  4.01k|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|  4.01k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 4.01k]
  |  |  ------------------
  ------------------
 3785|  4.01k|        {
 3786|  4.01k|            return SUCCESS;
  ------------------
  |  |   47|  4.01k|#define SUCCESS 0
  ------------------
 3787|  4.01k|        }
 3788|    359|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|    359|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 3789|    369|    case Set_kind:
  ------------------
  |  Branch (3789:5): [True: 10, False: 10.0k]
  ------------------
 3790|    369|    case SetComp_kind:
  ------------------
  |  Branch (3790:5): [True: 0, False: 10.0k]
  ------------------
 3791|    369|    case GeneratorExp_kind:
  ------------------
  |  Branch (3791:5): [True: 0, False: 10.0k]
  ------------------
 3792|    426|    case TemplateStr_kind:
  ------------------
  |  Branch (3792:5): [True: 57, False: 9.98k]
  ------------------
 3793|    426|    case Interpolation_kind:
  ------------------
  |  Branch (3793:5): [True: 0, False: 10.0k]
  ------------------
 3794|    426|    case Lambda_kind: {
  ------------------
  |  Branch (3794:5): [True: 0, False: 10.0k]
  ------------------
 3795|    426|        location loc = LOC(e);
  ------------------
  |  |   88|    426|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    426|    (_Py_SourceLocation){ \
  |  |  |  |   55|    426|               .lineno = (n)->lineno, \
  |  |  |  |   56|    426|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    426|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    426|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3796|    426|        return _PyCompile_Warn(c, loc, "'%.200s' object is not subscriptable; "
 3797|    426|                                       "perhaps you missed a comma?",
 3798|    426|                                       infer_type(e)->tp_name);
 3799|    426|    }
 3800|  5.60k|    default:
  ------------------
  |  Branch (3800:5): [True: 5.60k, False: 4.44k]
  ------------------
 3801|  5.60k|        return SUCCESS;
  ------------------
  |  |   47|  5.60k|#define SUCCESS 0
  ------------------
 3802|  10.0k|    }
 3803|  10.0k|}
codegen.c:check_index:
 3807|  10.0k|{
 3808|  10.0k|    PyObject *v;
 3809|       |
 3810|  10.0k|    PyTypeObject *index_type = infer_type(s);
 3811|  10.0k|    if (index_type == NULL
  ------------------
  |  Branch (3811:9): [True: 6.76k, False: 3.27k]
  ------------------
 3812|  3.27k|        || PyType_FastSubclass(index_type, Py_TPFLAGS_LONG_SUBCLASS)
  ------------------
  |  |  760|  13.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  |  |  |  Branch (760:41): [True: 696, False: 2.57k]
  |  |  ------------------
  ------------------
 3813|  7.46k|        || index_type == &PySlice_Type) {
  ------------------
  |  Branch (3813:12): [True: 0, False: 2.57k]
  ------------------
 3814|  7.46k|        return SUCCESS;
  ------------------
  |  |   47|  7.46k|#define SUCCESS 0
  ------------------
 3815|  7.46k|    }
 3816|       |
 3817|  2.57k|    switch (e->kind) {
 3818|    385|    case Constant_kind:
  ------------------
  |  Branch (3818:5): [True: 385, False: 2.19k]
  ------------------
 3819|    385|        v = e->v.Constant.value;
 3820|    385|        if (!(PyUnicode_Check(v) || PyBytes_Check(v) || PyTuple_Check(v))) {
  ------------------
  |  |  103|    385|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    770|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 218, False: 167]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!(PyUnicode_Check(v) || PyBytes_Check(v) || PyTuple_Check(v))) {
  ------------------
  |  |   28|    167|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    552|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 31, False: 136]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!(PyUnicode_Check(v) || PyBytes_Check(v) || PyTuple_Check(v))) {
  ------------------
  |  |   27|    136|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    136|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 136]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3821|    136|            return SUCCESS;
  ------------------
  |  |   47|    136|#define SUCCESS 0
  ------------------
 3822|    136|        }
 3823|    249|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|    249|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 3824|    744|    case Tuple_kind:
  ------------------
  |  Branch (3824:5): [True: 495, False: 2.08k]
  ------------------
 3825|  1.27k|    case List_kind:
  ------------------
  |  Branch (3825:5): [True: 535, False: 2.04k]
  ------------------
 3826|  1.28k|    case ListComp_kind:
  ------------------
  |  Branch (3826:5): [True: 6, False: 2.57k]
  ------------------
 3827|  1.29k|    case JoinedStr_kind:
  ------------------
  |  Branch (3827:5): [True: 12, False: 2.56k]
  ------------------
 3828|  1.29k|    case FormattedValue_kind: {
  ------------------
  |  Branch (3828:5): [True: 0, False: 2.57k]
  ------------------
 3829|  1.29k|        location loc = LOC(e);
  ------------------
  |  |   88|  1.29k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.29k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.29k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.29k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.29k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.29k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3830|  1.29k|        return _PyCompile_Warn(c, loc, "%.200s indices must be integers "
 3831|  1.29k|                                       "or slices, not %.200s; "
 3832|  1.29k|                                       "perhaps you missed a comma?",
 3833|  1.29k|                                       infer_type(e)->tp_name,
 3834|  1.29k|                                       index_type->tp_name);
 3835|  1.29k|    }
 3836|  1.14k|    default:
  ------------------
  |  Branch (3836:5): [True: 1.14k, False: 1.43k]
  ------------------
 3837|  1.14k|        return SUCCESS;
  ------------------
  |  |   47|  1.14k|#define SUCCESS 0
  ------------------
 3838|  2.57k|    }
 3839|  2.57k|}
codegen.c:codegen_slice:
 5903|  9.97k|{
 5904|  9.97k|    int n = 2;
 5905|  9.97k|    assert(s->kind == Slice_kind);
  ------------------
  |  Branch (5905:5): [True: 9.97k, False: 0]
  ------------------
 5906|       |
 5907|  9.97k|    if (is_constant_slice(s)) {
  ------------------
  |  Branch (5907:9): [True: 4.99k, False: 4.98k]
  ------------------
 5908|  4.99k|        PyObject *start = NULL;
 5909|  4.99k|        if (s->v.Slice.lower) {
  ------------------
  |  Branch (5909:13): [True: 2.82k, False: 2.16k]
  ------------------
 5910|  2.82k|            start = s->v.Slice.lower->v.Constant.value;
 5911|  2.82k|        }
 5912|  4.99k|        PyObject *stop = NULL;
 5913|  4.99k|        if (s->v.Slice.upper) {
  ------------------
  |  Branch (5913:13): [True: 1.50k, False: 3.48k]
  ------------------
 5914|  1.50k|            stop = s->v.Slice.upper->v.Constant.value;
 5915|  1.50k|        }
 5916|  4.99k|        PyObject *step = NULL;
 5917|  4.99k|        if (s->v.Slice.step) {
  ------------------
  |  Branch (5917:13): [True: 1.67k, False: 3.31k]
  ------------------
 5918|  1.67k|            step = s->v.Slice.step->v.Constant.value;
 5919|  1.67k|        }
 5920|  4.99k|        PyObject *slice = PySlice_New(start, stop, step);
 5921|  4.99k|        if (slice == NULL) {
  ------------------
  |  Branch (5921:13): [True: 0, False: 4.99k]
  ------------------
 5922|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 5923|      0|        }
 5924|  4.99k|        ADDOP_LOAD_CONST_NEW(c, LOC(s), slice);
  ------------------
  |  |  315|  4.99k|    do {                                                                \
  |  |  316|  4.99k|        PyObject *__new_const = (O);                                    \
  |  |  317|  4.99k|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (317:13): [True: 0, False: 4.99k]
  |  |  ------------------
  |  |  318|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  319|      0|        }                                                               \
  |  |  320|  4.99k|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (320:13): [True: 0, False: 4.99k]
  |  |  ------------------
  |  |  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|  4.99k|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|  4.99k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  325|  4.99k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (325:14): [Folded, False: 4.99k]
  |  |  ------------------
  ------------------
 5925|  4.99k|        return SUCCESS;
  ------------------
  |  |   47|  4.99k|#define SUCCESS 0
  ------------------
 5926|  4.99k|    }
 5927|       |
 5928|  4.98k|    RETURN_IF_ERROR(codegen_slice_two_parts(c, s));
  ------------------
  |  |   51|  4.98k|    do {                    \
  |  |   52|  4.98k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 7, False: 4.97k]
  |  |  ------------------
  |  |   53|      7|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      7|#define ERROR -1
  |  |  ------------------
  |  |   54|      7|        }                   \
  |  |   55|  4.98k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 4.97k]
  |  |  ------------------
  ------------------
 5929|       |
 5930|  4.97k|    if (s->v.Slice.step) {
  ------------------
  |  Branch (5930:9): [True: 1.70k, False: 3.26k]
  ------------------
 5931|  1.70k|        n++;
 5932|  1.70k|        VISIT(c, expr, s->v.Slice.step);
  ------------------
  |  |  453|  1.70k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.70k|    do {                    \
  |  |  |  |   52|  1.70k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 1.70k]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|  1.70k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.70k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5933|  1.70k|    }
 5934|       |
 5935|  4.97k|    ADDOP_I(c, LOC(s), BUILD_SLICE, n);
  ------------------
  |  |  277|  4.97k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  4.97k|    do {                    \
  |  |  |  |   52|  4.97k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.97k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.97k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.97k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5936|  4.97k|    return SUCCESS;
  ------------------
  |  |   47|  4.97k|#define SUCCESS 0
  ------------------
 5937|  4.97k|}
codegen.c:codegen_list:
 3555|  2.54k|{
 3556|  2.54k|    location loc = LOC(e);
  ------------------
  |  |   88|  2.54k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  2.54k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  2.54k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  2.54k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  2.54k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  2.54k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3557|  2.54k|    asdl_expr_seq *elts = e->v.List.elts;
 3558|  2.54k|    if (e->v.List.ctx == Store) {
  ------------------
  |  Branch (3558:9): [True: 222, False: 2.32k]
  ------------------
 3559|    222|        return assignment_helper(c, loc, elts);
 3560|    222|    }
 3561|  2.32k|    else if (e->v.List.ctx == Load) {
  ------------------
  |  Branch (3561:14): [True: 2.25k, False: 77]
  ------------------
 3562|  2.25k|        return starunpack_helper(c, loc, elts, 0,
 3563|  2.25k|                                 BUILD_LIST, LIST_APPEND, LIST_EXTEND, 0);
  ------------------
  |  |   57|  2.25k|#define BUILD_LIST                              44
  ------------------
                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 0);
  ------------------
  |  |   87|  2.25k|#define LIST_APPEND                             74
  ------------------
                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 0);
  ------------------
  |  |   88|  2.25k|#define LIST_EXTEND                             75
  ------------------
 3564|  2.25k|    }
 3565|     77|    else {
 3566|     77|        VISIT_SEQ(c, expr, elts);
  ------------------
  |  |  459|     77|    do {                                                                    \
  |  |  460|     77|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|    154|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    154|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    308|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 12, False: 142]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 77, False: 77]
  |  |  ------------------
  |  |  462|     77|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|     77|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     77|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|     77|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|     77|    do {                    \
  |  |  |  |   52|     77|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 77]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     77|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 77]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|     77|        }                                                                   \
  |  |  465|     77|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 77]
  |  |  ------------------
  ------------------
 3567|     77|    }
 3568|     77|    return SUCCESS;
  ------------------
  |  |   47|     77|#define SUCCESS 0
  ------------------
 3569|  2.54k|}
codegen.c:assignment_helper:
 3543|  23.3k|{
 3544|  23.3k|    Py_ssize_t n = asdl_seq_LEN(elts);
  ------------------
  |  |   83|  23.3k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  46.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 799, False: 22.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3545|  23.3k|    RETURN_IF_ERROR(unpack_helper(c, loc, elts));
  ------------------
  |  |   51|  23.3k|    do {                    \
  |  |   52|  23.3k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 5, False: 23.3k]
  |  |  ------------------
  |  |   53|      5|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      5|#define ERROR -1
  |  |  ------------------
  |  |   54|      5|        }                   \
  |  |   55|  23.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 23.3k]
  |  |  ------------------
  ------------------
 3546|   100k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3546:28): [True: 76.7k, False: 23.3k]
  ------------------
 3547|  76.7k|        expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|  76.7k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  76.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3548|  76.7k|        VISIT(c, expr, elt->kind != Starred_kind ? elt : elt->v.Starred.value);
  ------------------
  |  |  453|  76.7k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  76.7k|    do {                    \
  |  |  |  |   52|   153k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 76.7k]
  |  |  |  |  |  Branch (52:14): [True: 76.3k, False: 408]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|  76.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 76.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3549|  76.7k|    }
 3550|  23.3k|    return SUCCESS;
  ------------------
  |  |   47|  23.3k|#define SUCCESS 0
  ------------------
 3551|  23.3k|}
codegen.c:unpack_helper:
 3515|  23.3k|{
 3516|  23.3k|    Py_ssize_t n = asdl_seq_LEN(elts);
  ------------------
  |  |   83|  23.3k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  46.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 799, False: 22.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3517|  23.3k|    int seen_star = 0;
 3518|   100k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3518:28): [True: 76.7k, False: 23.3k]
  ------------------
 3519|  76.7k|        expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|  76.7k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  76.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3520|  76.7k|        if (elt->kind == Starred_kind && !seen_star) {
  ------------------
  |  Branch (3520:13): [True: 418, False: 76.3k]
  |  Branch (3520:42): [True: 413, False: 5]
  ------------------
 3521|    413|            if ((i >= (1 << 8)) ||
  ------------------
  |  Branch (3521:17): [True: 0, False: 413]
  ------------------
 3522|    413|                (n-i-1 >= (INT_MAX >> 8))) {
  ------------------
  |  Branch (3522:17): [True: 0, False: 413]
  ------------------
 3523|      0|                return _PyCompile_Error(c, loc,
 3524|      0|                    "too many expressions in "
 3525|      0|                    "star-unpacking assignment");
 3526|      0|            }
 3527|    413|            ADDOP_I(c, loc, UNPACK_EX, (i + ((n-i-1) << 8)));
  ------------------
  |  |  277|    413|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    413|    do {                    \
  |  |  |  |   52|    413|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 413]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    413|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 413]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3528|    413|            seen_star = 1;
 3529|    413|        }
 3530|  76.3k|        else if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (3530:18): [True: 5, False: 76.3k]
  ------------------
 3531|      5|            return _PyCompile_Error(c, loc,
 3532|      5|                "multiple starred expressions in assignment");
 3533|      5|        }
 3534|  76.7k|    }
 3535|  23.3k|    if (!seen_star) {
  ------------------
  |  Branch (3535:9): [True: 22.9k, False: 408]
  ------------------
 3536|  22.9k|        ADDOP_I(c, loc, UNPACK_SEQUENCE, n);
  ------------------
  |  |  277|  22.9k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  22.9k|    do {                    \
  |  |  |  |   52|  22.9k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 22.9k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  22.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 22.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3537|  22.9k|    }
 3538|  23.3k|    return SUCCESS;
  ------------------
  |  |   47|  23.3k|#define SUCCESS 0
  ------------------
 3539|  23.3k|}
codegen.c:codegen_tuple:
 3573|  78.0k|{
 3574|  78.0k|    location loc = LOC(e);
  ------------------
  |  |   88|  78.0k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  78.0k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  78.0k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  78.0k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  78.0k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  78.0k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3575|  78.0k|    asdl_expr_seq *elts = e->v.Tuple.elts;
 3576|  78.0k|    if (e->v.Tuple.ctx == Store) {
  ------------------
  |  Branch (3576:9): [True: 23.1k, False: 54.8k]
  ------------------
 3577|  23.1k|        return assignment_helper(c, loc, elts);
 3578|  23.1k|    }
 3579|  54.8k|    else if (e->v.Tuple.ctx == Load) {
  ------------------
  |  Branch (3579:14): [True: 54.7k, False: 131]
  ------------------
 3580|  54.7k|        return starunpack_helper(c, loc, elts, 0,
 3581|  54.7k|                                 BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1);
  ------------------
  |  |   57|  54.7k|#define BUILD_LIST                              44
  ------------------
                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1);
  ------------------
  |  |   87|  54.7k|#define LIST_APPEND                             74
  ------------------
                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1);
  ------------------
  |  |   88|  54.7k|#define LIST_EXTEND                             75
  ------------------
 3582|  54.7k|    }
 3583|    131|    else {
 3584|    131|        VISIT_SEQ(c, expr, elts);
  ------------------
  |  |  459|    131|    do {                                                                    \
  |  |  460|    131|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|    256|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    256|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    512|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 37, False: 219]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 125, False: 131]
  |  |  ------------------
  |  |  462|    125|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    125|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    125|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    125|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    125|    do {                    \
  |  |  |  |   52|    125|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 125]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    125|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 125]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|    125|        }                                                                   \
  |  |  465|    131|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 131]
  |  |  ------------------
  ------------------
 3585|    131|    }
 3586|    131|    return SUCCESS;
  ------------------
  |  |   47|    131|#define SUCCESS 0
  ------------------
 3587|  78.0k|}
codegen.c:codegen_break:
 2309|      9|{
 2310|      9|    fblockinfo *loop = NULL;
 2311|      9|    location origin_loc = loc;
 2312|       |    /* Emit instruction with line number */
 2313|      9|    ADDOP(c, loc, NOP);
  ------------------
  |  |  291|      9|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      9|    do {                    \
  |  |  |  |   52|      9|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      9|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2314|      9|    RETURN_IF_ERROR(codegen_unwind_fblock_stack(c, &loc, 0, &loop));
  ------------------
  |  |   51|      9|    do {                    \
  |  |   52|      9|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 9]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
 2315|      9|    if (loop == NULL) {
  ------------------
  |  Branch (2315:9): [True: 9, False: 0]
  ------------------
 2316|      9|        return _PyCompile_Error(c, origin_loc, "'break' outside loop");
 2317|      9|    }
 2318|      0|    RETURN_IF_ERROR(codegen_unwind_fblock(c, &loc, loop, 0));
  ------------------
  |  |   51|      0|    do {                    \
  |  |   52|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2319|      0|    ADDOP_JUMP(c, loc, JUMP, loop->fb_exit);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2320|      0|    return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 2321|      0|}
codegen.c:codegen_continue:
 2325|    133|{
 2326|    133|    fblockinfo *loop = NULL;
 2327|    133|    location origin_loc = loc;
 2328|       |    /* Emit instruction with line number */
 2329|    133|    ADDOP(c, loc, NOP);
  ------------------
  |  |  291|    133|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    133|    do {                    \
  |  |  |  |   52|    133|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 133]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    133|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 133]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2330|    133|    RETURN_IF_ERROR(codegen_unwind_fblock_stack(c, &loc, 0, &loop));
  ------------------
  |  |   51|    133|    do {                    \
  |  |   52|    133|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 3, False: 130]
  |  |  ------------------
  |  |   53|      3|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      3|#define ERROR -1
  |  |  ------------------
  |  |   54|      3|        }                   \
  |  |   55|    133|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 130]
  |  |  ------------------
  ------------------
 2331|    130|    if (loop == NULL) {
  ------------------
  |  Branch (2331:9): [True: 25, False: 105]
  ------------------
 2332|     25|        return _PyCompile_Error(c, origin_loc, "'continue' not properly in loop");
 2333|     25|    }
 2334|    105|    ADDOP_JUMP(c, loc, JUMP, loop->fb_block);
  ------------------
  |  |  428|    105|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    105|    do {                    \
  |  |  |  |   52|    105|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 105]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    105|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 105]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2335|    105|    return SUCCESS;
  ------------------
  |  |   47|    105|#define SUCCESS 0
  ------------------
 2336|    105|}
codegen.c:codegen_with:
 5464|    545|{
 5465|    545|    return codegen_with_inner(c, s, 0);
 5466|    545|}
codegen.c:codegen_with_inner:
 5395|    836|{
 5396|    836|    withitem_ty item = asdl_seq_GET(s->v.With.items, pos);
  ------------------
  |  |   82|    836|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    836|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 5397|       |
 5398|    836|    assert(s->kind == With_kind);
  ------------------
  |  Branch (5398:5): [True: 836, False: 0]
  ------------------
 5399|       |
 5400|    836|    NEW_JUMP_TARGET_LABEL(c, block);
  ------------------
  |  |   91|    836|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    836|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    836|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    836|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    836|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 836]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 5401|    836|    NEW_JUMP_TARGET_LABEL(c, final);
  ------------------
  |  |   91|    836|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    836|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    836|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    836|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    836|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 836]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 5402|    836|    NEW_JUMP_TARGET_LABEL(c, exit);
  ------------------
  |  |   91|    836|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    836|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    836|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    836|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    836|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 836]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 5403|    836|    NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   91|    836|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    836|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    836|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    836|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    836|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 836]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 5404|       |
 5405|       |    /* Evaluate EXPR */
 5406|    836|    VISIT(c, expr, item->context_expr);
  ------------------
  |  |  453|    836|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    836|    do {                    \
  |  |  |  |   52|    836|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 835]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    836|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 835]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5407|       |    /* Will push bound __exit__ */
 5408|    835|    location loc = LOC(item->context_expr);
  ------------------
  |  |   88|    835|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    835|    (_Py_SourceLocation){ \
  |  |  |  |   55|    835|               .lineno = (n)->lineno, \
  |  |  |  |   56|    835|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    835|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    835|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5409|    835|    ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  277|    835|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    835|    do {                    \
  |  |  |  |   52|    835|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 835]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    835|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 835]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5410|    835|    ADDOP_I(c, loc, LOAD_SPECIAL, SPECIAL___EXIT__);
  ------------------
  |  |  277|    835|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    835|    do {                    \
  |  |  |  |   52|    835|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 835]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    835|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 835]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5411|    835|    ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  277|    835|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    835|    do {                    \
  |  |  |  |   52|    835|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 835]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    835|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 835]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5412|    835|    ADDOP_I(c, loc, SWAP, 3);
  ------------------
  |  |  277|    835|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    835|    do {                    \
  |  |  |  |   52|    835|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 835]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    835|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 835]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5413|    835|    ADDOP_I(c, loc, LOAD_SPECIAL, SPECIAL___ENTER__);
  ------------------
  |  |  277|    835|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    835|    do {                    \
  |  |  |  |   52|    835|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 835]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    835|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 835]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5414|    835|    ADDOP_I(c, loc, CALL, 0);
  ------------------
  |  |  277|    835|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    835|    do {                    \
  |  |  |  |   52|    835|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 835]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    835|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 835]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5415|    835|    ADDOP_JUMP(c, loc, SETUP_WITH, final);
  ------------------
  |  |  428|    835|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    835|    do {                    \
  |  |  |  |   52|    835|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 835]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    835|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 835]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5416|       |
 5417|       |    /* SETUP_WITH pushes a finally block. */
 5418|    835|    USE_LABEL(c, block);
  ------------------
  |  |   97|    835|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    835|    do {                    \
  |  |  |  |   52|    835|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 835]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    835|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 835]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5419|    835|    RETURN_IF_ERROR(_PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_WITH, block, final, s));
  ------------------
  |  |   51|    835|    do {                    \
  |  |   52|    835|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 1, False: 834]
  |  |  ------------------
  |  |   53|      1|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      1|#define ERROR -1
  |  |  ------------------
  |  |   54|      1|        }                   \
  |  |   55|    835|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 834]
  |  |  ------------------
  ------------------
 5420|       |
 5421|    834|    if (item->optional_vars) {
  ------------------
  |  Branch (5421:9): [True: 50, False: 784]
  ------------------
 5422|     50|        VISIT(c, expr, item->optional_vars);
  ------------------
  |  |  453|     50|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     50|    do {                    \
  |  |  |  |   52|     50|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 50]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     50|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 50]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5423|     50|    }
 5424|    784|    else {
 5425|       |    /* Discard result from context.__enter__() */
 5426|    784|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  291|    784|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    784|    do {                    \
  |  |  |  |   52|    784|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 784]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    784|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 784]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5427|    784|    }
 5428|       |
 5429|    834|    pos++;
 5430|    834|    if (pos == asdl_seq_LEN(s->v.With.items)) {
  ------------------
  |  |   83|    834|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.66k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 834]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5430:9): [True: 543, False: 291]
  ------------------
 5431|       |        /* BLOCK code */
 5432|    543|        VISIT_SEQ(c, stmt, s->v.With.body);
  ------------------
  |  |  459|    543|    do {                                                                    \
  |  |  460|    543|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|  1.61k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  1.61k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.23k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.61k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 1.08k, False: 532]
  |  |  ------------------
  |  |  462|  1.08k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  1.08k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.08k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|  1.08k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  1.08k|    do {                    \
  |  |  |  |   52|  1.08k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 11, False: 1.07k]
  |  |  |  |  ------------------
  |  |  |  |   53|     11|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     11|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|     11|        }                   \
  |  |  |  |   55|  1.08k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.07k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|  1.08k|        }                                                                   \
  |  |  465|    543|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 532]
  |  |  ------------------
  ------------------
 5433|    543|    }
 5434|    291|    else {
 5435|    291|        RETURN_IF_ERROR(codegen_with_inner(c, s, pos));
  ------------------
  |  |   51|    291|    do {                    \
  |  |   52|    291|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 47, False: 244]
  |  |  ------------------
  |  |   53|     47|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|     47|#define ERROR -1
  |  |  ------------------
  |  |   54|     47|        }                   \
  |  |   55|    291|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 244]
  |  |  ------------------
  ------------------
 5436|    291|    }
 5437|       |
 5438|    776|    ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  291|    776|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    776|    do {                    \
  |  |  |  |   52|    776|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 776]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    776|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 776]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5439|    776|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_WITH, block);
 5440|       |
 5441|       |    /* End of body; start the cleanup. */
 5442|       |
 5443|       |    /* For successful outcome:
 5444|       |     * call __exit__(None, None, None)
 5445|       |     */
 5446|    776|    RETURN_IF_ERROR(codegen_call_exit_with_nones(c, loc));
  ------------------
  |  |   51|    776|    do {                    \
  |  |   52|    776|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 776]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    776|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 776]
  |  |  ------------------
  ------------------
 5447|    776|    ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  291|    776|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    776|    do {                    \
  |  |  |  |   52|    776|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 776]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    776|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 776]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5448|    776|    ADDOP_JUMP(c, loc, JUMP, exit);
  ------------------
  |  |  428|    776|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    776|    do {                    \
  |  |  |  |   52|    776|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 776]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    776|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 776]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5449|       |
 5450|       |    /* For exceptional outcome: */
 5451|    776|    USE_LABEL(c, final);
  ------------------
  |  |   97|    776|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    776|    do {                    \
  |  |  |  |   52|    776|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 776]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    776|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 776]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5452|       |
 5453|    776|    ADDOP_JUMP(c, loc, SETUP_CLEANUP, cleanup);
  ------------------
  |  |  428|    776|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    776|    do {                    \
  |  |  |  |   52|    776|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 776]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    776|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 776]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5454|    776|    ADDOP(c, loc, PUSH_EXC_INFO);
  ------------------
  |  |  291|    776|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    776|    do {                    \
  |  |  |  |   52|    776|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 776]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    776|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 776]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5455|    776|    ADDOP(c, loc, WITH_EXCEPT_START);
  ------------------
  |  |  291|    776|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    776|    do {                    \
  |  |  |  |   52|    776|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 776]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    776|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 776]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5456|    776|    RETURN_IF_ERROR(codegen_with_except_finish(c, cleanup));
  ------------------
  |  |   51|    776|    do {                    \
  |  |   52|    776|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 776]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    776|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 776]
  |  |  ------------------
  ------------------
 5457|       |
 5458|    776|    USE_LABEL(c, exit);
  ------------------
  |  |   97|    776|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    776|    do {                    \
  |  |  |  |   52|    776|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 776]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    776|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 776]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5459|    776|    return SUCCESS;
  ------------------
  |  |   47|    776|#define SUCCESS 0
  ------------------
 5460|    776|}
codegen.c:codegen_with_except_finish:
 5234|  11.5k|codegen_with_except_finish(compiler *c, jump_target_label cleanup) {
 5235|  11.5k|    NEW_JUMP_TARGET_LABEL(c, suppress);
  ------------------
  |  |   91|  11.5k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  11.5k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  11.5k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  11.5k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  11.5k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 11.5k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 5236|  11.5k|    ADDOP(c, NO_LOCATION, TO_BOOL);
  ------------------
  |  |  291|  11.5k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  11.5k|    do {                    \
  |  |  |  |   52|  11.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 11.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  11.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5237|  11.5k|    ADDOP_JUMP(c, NO_LOCATION, POP_JUMP_IF_TRUE, suppress);
  ------------------
  |  |  428|  11.5k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  11.5k|    do {                    \
  |  |  |  |   52|  11.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 11.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  11.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5238|  11.5k|    ADDOP_I(c, NO_LOCATION, RERAISE, 2);
  ------------------
  |  |  277|  11.5k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  11.5k|    do {                    \
  |  |  |  |   52|  11.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 11.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  11.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5239|       |
 5240|  11.5k|    USE_LABEL(c, suppress);
  ------------------
  |  |   97|  11.5k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  11.5k|    do {                    \
  |  |  |  |   52|  11.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 11.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  11.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5241|  11.5k|    ADDOP(c, NO_LOCATION, POP_TOP); /* exc_value */
  ------------------
  |  |  291|  11.5k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  11.5k|    do {                    \
  |  |  |  |   52|  11.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 11.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  11.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5242|  11.5k|    ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  291|  11.5k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  11.5k|    do {                    \
  |  |  |  |   52|  11.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 11.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  11.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5243|  11.5k|    ADDOP(c, NO_LOCATION, POP_EXCEPT);
  ------------------
  |  |  291|  11.5k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  11.5k|    do {                    \
  |  |  |  |   52|  11.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 11.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  11.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5244|  11.5k|    ADDOP(c, NO_LOCATION, POP_TOP);
  ------------------
  |  |  291|  11.5k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  11.5k|    do {                    \
  |  |  |  |   52|  11.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 11.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  11.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5245|  11.5k|    ADDOP(c, NO_LOCATION, POP_TOP);
  ------------------
  |  |  291|  11.5k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  11.5k|    do {                    \
  |  |  |  |   52|  11.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 11.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  11.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5246|  11.5k|    ADDOP(c, NO_LOCATION, POP_TOP);
  ------------------
  |  |  291|  11.5k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  11.5k|    do {                    \
  |  |  |  |   52|  11.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 11.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  11.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5247|  11.5k|    NEW_JUMP_TARGET_LABEL(c, exit);
  ------------------
  |  |   91|  11.5k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  11.5k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  11.5k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  11.5k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  11.5k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 11.5k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 5248|  11.5k|    ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, exit);
  ------------------
  |  |  428|  11.5k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  11.5k|    do {                    \
  |  |  |  |   52|  11.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 11.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  11.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5249|       |
 5250|  11.5k|    USE_LABEL(c, cleanup);
  ------------------
  |  |   97|  11.5k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  11.5k|    do {                    \
  |  |  |  |   52|  11.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 11.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  11.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5251|  11.5k|    POP_EXCEPT_AND_RERAISE(c, NO_LOCATION);
  ------------------
  |  |  443|  11.5k|    RETURN_IF_ERROR(codegen_pop_except_and_reraise((C), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  11.5k|    do {                    \
  |  |  |  |   52|  11.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 11.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  11.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5252|       |
 5253|  11.5k|    USE_LABEL(c, exit);
  ------------------
  |  |   97|  11.5k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  11.5k|    do {                    \
  |  |  |  |   52|  11.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 11.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  11.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5254|  11.5k|    return SUCCESS;
  ------------------
  |  |   47|  11.5k|#define SUCCESS 0
  ------------------
 5255|  11.5k|}
codegen.c:codegen_async_with:
 5367|  2.09k|{
 5368|  2.09k|    return codegen_async_with_inner(c, s, 0);
 5369|  2.09k|}
codegen.c:codegen_async_with_inner:
 5283|  10.8k|{
 5284|  10.8k|    location loc = LOC(s);
  ------------------
  |  |   88|  10.8k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  10.8k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  10.8k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  10.8k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  10.8k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  10.8k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5285|  10.8k|    withitem_ty item = asdl_seq_GET(s->v.AsyncWith.items, pos);
  ------------------
  |  |   82|  10.8k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  10.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 5286|       |
 5287|  10.8k|    assert(s->kind == AsyncWith_kind);
  ------------------
  |  Branch (5287:5): [True: 10.8k, False: 0]
  ------------------
 5288|       |
 5289|  10.8k|    NEW_JUMP_TARGET_LABEL(c, block);
  ------------------
  |  |   91|  10.8k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  10.8k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  10.8k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  10.8k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  10.8k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 10.8k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 5290|  10.8k|    NEW_JUMP_TARGET_LABEL(c, final);
  ------------------
  |  |   91|  10.8k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  10.8k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  10.8k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  10.8k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  10.8k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 10.8k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 5291|  10.8k|    NEW_JUMP_TARGET_LABEL(c, exit);
  ------------------
  |  |   91|  10.8k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  10.8k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  10.8k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  10.8k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  10.8k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 10.8k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 5292|  10.8k|    NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   91|  10.8k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  10.8k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  10.8k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  10.8k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  10.8k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 10.8k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 5293|       |
 5294|       |    /* Evaluate EXPR */
 5295|  10.8k|    VISIT(c, expr, item->context_expr);
  ------------------
  |  |  453|  10.8k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  10.8k|    do {                    \
  |  |  |  |   52|  10.8k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.8k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5296|  10.8k|    loc = LOC(item->context_expr);
  ------------------
  |  |   88|  10.8k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  10.8k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  10.8k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  10.8k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  10.8k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  10.8k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5297|  10.8k|    ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  277|  10.8k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.8k|    do {                    \
  |  |  |  |   52|  10.8k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.8k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5298|  10.8k|    ADDOP_I(c, loc, LOAD_SPECIAL, SPECIAL___AEXIT__);
  ------------------
  |  |  277|  10.8k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.8k|    do {                    \
  |  |  |  |   52|  10.8k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.8k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5299|  10.8k|    ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  277|  10.8k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.8k|    do {                    \
  |  |  |  |   52|  10.8k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.8k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5300|  10.8k|    ADDOP_I(c, loc, SWAP, 3);
  ------------------
  |  |  277|  10.8k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.8k|    do {                    \
  |  |  |  |   52|  10.8k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.8k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5301|  10.8k|    ADDOP_I(c, loc, LOAD_SPECIAL, SPECIAL___AENTER__);
  ------------------
  |  |  277|  10.8k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.8k|    do {                    \
  |  |  |  |   52|  10.8k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.8k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5302|  10.8k|    ADDOP_I(c, loc, CALL, 0);
  ------------------
  |  |  277|  10.8k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.8k|    do {                    \
  |  |  |  |   52|  10.8k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.8k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5303|  10.8k|    ADDOP_I(c, loc, GET_AWAITABLE, 1);
  ------------------
  |  |  277|  10.8k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.8k|    do {                    \
  |  |  |  |   52|  10.8k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.8k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5304|  10.8k|    ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  291|  10.8k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.8k|    do {                    \
  |  |  |  |   52|  10.8k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.8k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5305|  10.8k|    ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  308|  10.8k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  10.8k|    do {                    \
  |  |  |  |   52|  10.8k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.8k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5306|  10.8k|    ADD_YIELD_FROM(c, loc, 1);
  ------------------
  |  |  440|  10.8k|    RETURN_IF_ERROR(codegen_add_yield_from((C), (LOC), (await)))
  |  |  ------------------
  |  |  |  |   51|  10.8k|    do {                    \
  |  |  |  |   52|  10.8k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.8k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5307|       |
 5308|  10.8k|    ADDOP_JUMP(c, loc, SETUP_WITH, final);
  ------------------
  |  |  428|  10.8k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  10.8k|    do {                    \
  |  |  |  |   52|  10.8k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.8k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5309|       |
 5310|       |    /* SETUP_WITH pushes a finally block. */
 5311|  10.8k|    USE_LABEL(c, block);
  ------------------
  |  |   97|  10.8k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  10.8k|    do {                    \
  |  |  |  |   52|  10.8k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.8k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5312|  10.8k|    RETURN_IF_ERROR(_PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_ASYNC_WITH, block, final, s));
  ------------------
  |  |   51|  10.8k|    do {                    \
  |  |   52|  10.8k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 6, False: 10.8k]
  |  |  ------------------
  |  |   53|      6|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      6|#define ERROR -1
  |  |  ------------------
  |  |   54|      6|        }                   \
  |  |   55|  10.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 10.8k]
  |  |  ------------------
  ------------------
 5313|       |
 5314|  10.8k|    if (item->optional_vars) {
  ------------------
  |  Branch (5314:9): [True: 941, False: 9.95k]
  ------------------
 5315|    941|        VISIT(c, expr, item->optional_vars);
  ------------------
  |  |  453|    941|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    941|    do {                    \
  |  |  |  |   52|    941|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 2, False: 939]
  |  |  |  |  ------------------
  |  |  |  |   53|      2|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      2|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      2|        }                   \
  |  |  |  |   55|    941|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 939]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5316|    941|    }
 5317|  9.95k|    else {
 5318|       |        /* Discard result from context.__aenter__() */
 5319|  9.95k|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  291|  9.95k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  9.95k|    do {                    \
  |  |  |  |   52|  9.95k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.95k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.95k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.95k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5320|  9.95k|    }
 5321|       |
 5322|  10.8k|    pos++;
 5323|  10.8k|    if (pos == asdl_seq_LEN(s->v.AsyncWith.items)) {
  ------------------
  |  |   83|  10.8k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  21.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 10.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5323:9): [True: 2.08k, False: 8.80k]
  ------------------
 5324|       |        /* BLOCK code */
 5325|  2.08k|        VISIT_SEQ(c, stmt, s->v.AsyncWith.body);
  ------------------
  |  |  459|  2.08k|    do {                                                                    \
  |  |  460|  2.08k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|  5.94k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  5.94k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  11.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 5.94k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 3.86k, False: 2.08k]
  |  |  ------------------
  |  |  462|  3.86k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  3.86k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.86k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|  3.86k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  3.86k|    do {                    \
  |  |  |  |   52|  3.86k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 5, False: 3.85k]
  |  |  |  |  ------------------
  |  |  |  |   53|      5|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      5|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      5|        }                   \
  |  |  |  |   55|  3.86k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.85k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|  3.86k|        }                                                                   \
  |  |  465|  2.08k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 2.08k]
  |  |  ------------------
  ------------------
 5326|  2.08k|    }
 5327|  8.80k|    else {
 5328|  8.80k|        RETURN_IF_ERROR(codegen_async_with_inner(c, s, pos));
  ------------------
  |  |   51|  8.80k|    do {                    \
  |  |   52|  8.80k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 142, False: 8.66k]
  |  |  ------------------
  |  |   53|    142|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|    142|#define ERROR -1
  |  |  ------------------
  |  |   54|    142|        }                   \
  |  |   55|  8.80k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 8.66k]
  |  |  ------------------
  ------------------
 5329|  8.80k|    }
 5330|       |
 5331|  10.7k|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_ASYNC_WITH, block);
 5332|       |
 5333|  10.7k|    ADDOP(c, loc, POP_BLOCK);
  ------------------
  |  |  291|  10.7k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.7k|    do {                    \
  |  |  |  |   52|  10.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5334|       |    /* End of body; start the cleanup */
 5335|       |
 5336|       |    /* For successful outcome:
 5337|       |     * call __exit__(None, None, None)
 5338|       |     */
 5339|  10.7k|    RETURN_IF_ERROR(codegen_call_exit_with_nones(c, loc));
  ------------------
  |  |   51|  10.7k|    do {                    \
  |  |   52|  10.7k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 10.7k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  10.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 10.7k]
  |  |  ------------------
  ------------------
 5340|  10.7k|    ADDOP_I(c, loc, GET_AWAITABLE, 2);
  ------------------
  |  |  277|  10.7k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.7k|    do {                    \
  |  |  |  |   52|  10.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5341|  10.7k|    ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  291|  10.7k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.7k|    do {                    \
  |  |  |  |   52|  10.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5342|  10.7k|    ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  308|  10.7k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  10.7k|    do {                    \
  |  |  |  |   52|  10.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5343|  10.7k|    ADD_YIELD_FROM(c, loc, 1);
  ------------------
  |  |  440|  10.7k|    RETURN_IF_ERROR(codegen_add_yield_from((C), (LOC), (await)))
  |  |  ------------------
  |  |  |  |   51|  10.7k|    do {                    \
  |  |  |  |   52|  10.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5344|       |
 5345|  10.7k|    ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  291|  10.7k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.7k|    do {                    \
  |  |  |  |   52|  10.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5346|       |
 5347|  10.7k|    ADDOP_JUMP(c, loc, JUMP, exit);
  ------------------
  |  |  428|  10.7k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  10.7k|    do {                    \
  |  |  |  |   52|  10.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5348|       |
 5349|       |    /* For exceptional outcome: */
 5350|  10.7k|    USE_LABEL(c, final);
  ------------------
  |  |   97|  10.7k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  10.7k|    do {                    \
  |  |  |  |   52|  10.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5351|       |
 5352|  10.7k|    ADDOP_JUMP(c, loc, SETUP_CLEANUP, cleanup);
  ------------------
  |  |  428|  10.7k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  10.7k|    do {                    \
  |  |  |  |   52|  10.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5353|  10.7k|    ADDOP(c, loc, PUSH_EXC_INFO);
  ------------------
  |  |  291|  10.7k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.7k|    do {                    \
  |  |  |  |   52|  10.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5354|  10.7k|    ADDOP(c, loc, WITH_EXCEPT_START);
  ------------------
  |  |  291|  10.7k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.7k|    do {                    \
  |  |  |  |   52|  10.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5355|  10.7k|    ADDOP_I(c, loc, GET_AWAITABLE, 2);
  ------------------
  |  |  277|  10.7k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.7k|    do {                    \
  |  |  |  |   52|  10.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5356|  10.7k|    ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  291|  10.7k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.7k|    do {                    \
  |  |  |  |   52|  10.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5357|  10.7k|    ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  308|  10.7k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  10.7k|    do {                    \
  |  |  |  |   52|  10.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5358|  10.7k|    ADD_YIELD_FROM(c, loc, 1);
  ------------------
  |  |  440|  10.7k|    RETURN_IF_ERROR(codegen_add_yield_from((C), (LOC), (await)))
  |  |  ------------------
  |  |  |  |   51|  10.7k|    do {                    \
  |  |  |  |   52|  10.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5359|  10.7k|    RETURN_IF_ERROR(codegen_with_except_finish(c, cleanup));
  ------------------
  |  |   51|  10.7k|    do {                    \
  |  |   52|  10.7k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 10.7k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  10.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 10.7k]
  |  |  ------------------
  ------------------
 5360|       |
 5361|  10.7k|    USE_LABEL(c, exit);
  ------------------
  |  |   97|  10.7k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  10.7k|    do {                    \
  |  |  |  |   52|  10.7k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.7k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5362|  10.7k|    return SUCCESS;
  ------------------
  |  |   47|  10.7k|#define SUCCESS 0
  ------------------
 5363|  10.7k|}
codegen.c:codegen_async_for:
 2193|     91|{
 2194|     91|    location loc = LOC(s);
  ------------------
  |  |   88|     91|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     91|    (_Py_SourceLocation){ \
  |  |  |  |   55|     91|               .lineno = (n)->lineno, \
  |  |  |  |   56|     91|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     91|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     91|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2195|       |
 2196|     91|    NEW_JUMP_TARGET_LABEL(c, start);
  ------------------
  |  |   91|     91|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     91|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     91|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     91|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     91|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 91]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2197|     91|    NEW_JUMP_TARGET_LABEL(c, send);
  ------------------
  |  |   91|     91|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     91|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     91|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     91|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     91|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 91]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2198|     91|    NEW_JUMP_TARGET_LABEL(c, except);
  ------------------
  |  |   91|     91|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     91|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     91|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     91|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     91|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 91]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2199|     91|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|     91|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     91|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     91|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     91|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     91|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 91]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2200|       |
 2201|     91|    VISIT(c, expr, s->v.AsyncFor.iter);
  ------------------
  |  |  453|     91|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     91|    do {                    \
  |  |  |  |   52|     91|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 90]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|     91|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 90]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2202|     90|    ADDOP(c, LOC(s->v.AsyncFor.iter), GET_AITER);
  ------------------
  |  |  291|     90|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     90|    do {                    \
  |  |  |  |   52|     90|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 90]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     90|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 90]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2203|       |
 2204|     90|    USE_LABEL(c, start);
  ------------------
  |  |   97|     90|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     90|    do {                    \
  |  |  |  |   52|     90|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 90]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     90|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 90]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2205|     90|    RETURN_IF_ERROR(_PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_ASYNC_FOR_LOOP, start, end, NULL));
  ------------------
  |  |   51|     90|    do {                    \
  |  |   52|     90|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 90]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     90|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 90]
  |  |  ------------------
  ------------------
 2206|       |
 2207|       |    /* SETUP_FINALLY to guard the __anext__ call */
 2208|     90|    ADDOP_JUMP(c, loc, SETUP_FINALLY, except);
  ------------------
  |  |  428|     90|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     90|    do {                    \
  |  |  |  |   52|     90|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 90]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     90|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 90]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2209|     90|    ADDOP(c, loc, GET_ANEXT);
  ------------------
  |  |  291|     90|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     90|    do {                    \
  |  |  |  |   52|     90|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 90]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     90|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 90]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2210|     90|    ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  291|     90|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     90|    do {                    \
  |  |  |  |   52|     90|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 90]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     90|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 90]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2211|     90|    ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  308|     90|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     90|    do {                    \
  |  |  |  |   52|     90|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 90]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     90|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 90]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2212|     90|    USE_LABEL(c, send);
  ------------------
  |  |   97|     90|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     90|    do {                    \
  |  |  |  |   52|     90|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 90]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     90|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 90]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2213|     90|    ADD_YIELD_FROM(c, loc, 1);
  ------------------
  |  |  440|     90|    RETURN_IF_ERROR(codegen_add_yield_from((C), (LOC), (await)))
  |  |  ------------------
  |  |  |  |   51|     90|    do {                    \
  |  |  |  |   52|     90|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 90]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     90|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 90]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2214|     90|    ADDOP(c, loc, POP_BLOCK);  /* for SETUP_FINALLY */
  ------------------
  |  |  291|     90|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     90|    do {                    \
  |  |  |  |   52|     90|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 90]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     90|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 90]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2215|     90|    ADDOP(c, loc, NOT_TAKEN);
  ------------------
  |  |  291|     90|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     90|    do {                    \
  |  |  |  |   52|     90|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 90]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     90|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 90]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2216|       |
 2217|       |    /* Success block for __anext__ */
 2218|     90|    VISIT(c, expr, s->v.AsyncFor.target);
  ------------------
  |  |  453|     90|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     90|    do {                    \
  |  |  |  |   52|     90|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 89]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|     90|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 89]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2219|     89|    VISIT_SEQ(c, stmt, s->v.AsyncFor.body);
  ------------------
  |  |  459|     89|    do {                                                                    \
  |  |  460|     89|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|    191|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    191|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    382|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 191]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 103, False: 88]
  |  |  ------------------
  |  |  462|    103|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    103|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    103|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    103|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    103|    do {                    \
  |  |  |  |   52|    103|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 102]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    103|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 102]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|    103|        }                                                                   \
  |  |  465|     89|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 88]
  |  |  ------------------
  ------------------
 2220|       |    /* Mark jump as artificial */
 2221|     88|    ADDOP_JUMP(c, NO_LOCATION, JUMP, start);
  ------------------
  |  |  428|     88|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     88|    do {                    \
  |  |  |  |   52|     88|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 88]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     88|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 88]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2222|       |
 2223|     88|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_ASYNC_FOR_LOOP, start);
 2224|       |
 2225|       |    /* Except block for __anext__ */
 2226|     88|    USE_LABEL(c, except);
  ------------------
  |  |   97|     88|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     88|    do {                    \
  |  |  |  |   52|     88|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 88]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     88|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 88]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2227|       |
 2228|       |    /* Use same line number as the iterator,
 2229|       |     * as the END_ASYNC_FOR succeeds the `for`, not the body. */
 2230|     88|    loc = LOC(s->v.AsyncFor.iter);
  ------------------
  |  |   88|     88|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     88|    (_Py_SourceLocation){ \
  |  |  |  |   55|     88|               .lineno = (n)->lineno, \
  |  |  |  |   56|     88|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     88|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     88|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2231|     88|    ADDOP_JUMP(c, loc, END_ASYNC_FOR, send);
  ------------------
  |  |  428|     88|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     88|    do {                    \
  |  |  |  |   52|     88|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 88]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     88|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 88]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2232|       |
 2233|       |    /* `else` block */
 2234|     88|    VISIT_SEQ(c, stmt, s->v.AsyncFor.orelse);
  ------------------
  |  |  459|     88|    do {                                                                    \
  |  |  460|     88|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  461|    208|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    208|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    416|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 45, False: 163]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (461:26): [True: 121, False: 87]
  |  |  ------------------
  |  |  462|    121|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    121|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    121|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    121|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    121|    do {                    \
  |  |  |  |   52|    121|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 1, False: 120]
  |  |  |  |  ------------------
  |  |  |  |   53|      1|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      1|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      1|        }                   \
  |  |  |  |   55|    121|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 120]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  464|    121|        }                                                                   \
  |  |  465|     88|    } while (0)
  |  |  ------------------
  |  |  |  Branch (465:14): [Folded, False: 87]
  |  |  ------------------
  ------------------
 2235|       |
 2236|     87|    USE_LABEL(c, end);
  ------------------
  |  |   97|     87|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     87|    do {                    \
  |  |  |  |   52|     87|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 87]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     87|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 87]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2237|     87|    return SUCCESS;
  ------------------
  |  |   47|     87|#define SUCCESS 0
  ------------------
 2238|     87|}
codegen.c:codegen_process_deferred_annotations:
  849|  19.3k|{
  850|  19.3k|    PyObject *deferred_anno = NULL;
  851|  19.3k|    PyObject *conditional_annotation_indices = NULL;
  852|  19.3k|    _PyCompile_DeferredAnnotations(c, &deferred_anno, &conditional_annotation_indices);
  853|  19.3k|    if (deferred_anno == NULL) {
  ------------------
  |  Branch (853:9): [True: 12.8k, False: 6.50k]
  ------------------
  854|  12.8k|        assert(conditional_annotation_indices == NULL);
  ------------------
  |  Branch (854:9): [True: 12.8k, False: 0]
  ------------------
  855|  12.8k|        return SUCCESS;
  ------------------
  |  |   47|  12.8k|#define SUCCESS 0
  ------------------
  856|  12.8k|    }
  857|       |
  858|  6.50k|    int scope_type = SCOPE_TYPE(c);
  ------------------
  |  |   74|  6.50k|#define SCOPE_TYPE(C) _PyCompile_ScopeType(C)
  ------------------
  859|  6.50k|    bool need_separate_block = scope_type == COMPILE_SCOPE_MODULE;
  860|  6.50k|    if (need_separate_block) {
  ------------------
  |  Branch (860:9): [True: 608, False: 5.89k]
  ------------------
  861|    608|        if (_PyCompile_StartAnnotationSetup(c) == ERROR) {
  ------------------
  |  |   48|    608|#define ERROR -1
  ------------------
  |  Branch (861:13): [True: 0, False: 608]
  ------------------
  862|      0|            goto error;
  863|      0|        }
  864|    608|    }
  865|       |
  866|       |    // It's possible that ste_annotations_block is set but
  867|       |    // u_deferred_annotations is not, because the former is still
  868|       |    // set if there are only non-simple annotations (i.e., annotations
  869|       |    // for attributes, subscripts, or parenthesized names). However, the
  870|       |    // reverse should not be possible.
  871|  6.50k|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|  6.50k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  872|  6.50k|    assert(ste->ste_annotation_block != NULL);
  ------------------
  |  Branch (872:5): [True: 6.50k, False: 0]
  ------------------
  873|  6.50k|    void *key = (void *)((uintptr_t)ste->ste_id + 1);
  874|  6.50k|    if (codegen_setup_annotations_scope(c, loc, key,
  ------------------
  |  Branch (874:9): [True: 0, False: 6.50k]
  ------------------
  875|  6.50k|                                        ste->ste_annotation_block->ste_name) < 0) {
  876|      0|        goto error;
  877|      0|    }
  878|  6.50k|    if (codegen_deferred_annotations_body(c, loc, deferred_anno,
  ------------------
  |  Branch (878:9): [True: 9, False: 6.49k]
  ------------------
  879|  6.50k|                                          conditional_annotation_indices, scope_type) < 0) {
  880|      9|        _PyCompile_ExitScope(c);
  881|      9|        goto error;
  882|      9|    }
  883|       |
  884|  6.49k|    Py_DECREF(deferred_anno);
  ------------------
  |  |  430|  6.49k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  885|  6.49k|    Py_DECREF(conditional_annotation_indices);
  ------------------
  |  |  430|  6.49k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  886|       |
  887|  6.49k|    RETURN_IF_ERROR(codegen_leave_annotations_scope(c, loc));
  ------------------
  |  |   51|  6.49k|    do {                    \
  |  |   52|  6.49k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6.49k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  6.49k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6.49k]
  |  |  ------------------
  ------------------
  888|  6.49k|    RETURN_IF_ERROR(codegen_nameop(
  ------------------
  |  |   51|  6.49k|    do {                    \
  |  |   52|  12.9k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6.49k]
  |  |  |  Branch (52:14): [True: 5.89k, False: 599]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  6.49k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6.49k]
  |  |  ------------------
  ------------------
  889|  6.49k|        c, loc,
  890|  6.49k|        ste->ste_type == ClassBlock ? &_Py_ID(__annotate_func__) : &_Py_ID(__annotate__),
  891|  6.49k|        Store));
  892|       |
  893|  6.49k|    if (need_separate_block) {
  ------------------
  |  Branch (893:9): [True: 599, False: 5.89k]
  ------------------
  894|    599|        RETURN_IF_ERROR(_PyCompile_EndAnnotationSetup(c));
  ------------------
  |  |   51|    599|    do {                    \
  |  |   52|    599|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 599]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    599|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 599]
  |  |  ------------------
  ------------------
  895|    599|    }
  896|       |
  897|  6.49k|    return SUCCESS;
  ------------------
  |  |   47|  6.49k|#define SUCCESS 0
  ------------------
  898|      9|error:
  899|      9|    Py_XDECREF(deferred_anno);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  900|      9|    Py_XDECREF(conditional_annotation_indices);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  901|      9|    return ERROR;
  ------------------
  |  |   48|      9|#define ERROR -1
  ------------------
  902|  6.49k|}
codegen.c:codegen_deferred_annotations_body:
  794|  6.50k|{
  795|  6.50k|    Py_ssize_t annotations_len = PyList_GET_SIZE(deferred_anno);
  ------------------
  |  |   38|  6.50k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  796|       |
  797|  6.50k|    assert(PyList_CheckExact(conditional_annotation_indices));
  ------------------
  |  Branch (797:5): [True: 6.50k, False: 0]
  ------------------
  798|  6.50k|    assert(annotations_len == PyList_Size(conditional_annotation_indices));
  ------------------
  |  Branch (798:5): [True: 6.50k, False: 0]
  ------------------
  799|       |
  800|  6.50k|    ADDOP_I(c, loc, BUILD_MAP, 0); // stack now contains <annos>
  ------------------
  |  |  277|  6.50k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  6.50k|    do {                    \
  |  |  |  |   52|  6.50k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6.50k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  6.50k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.50k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  801|       |
  802|  22.9k|    for (Py_ssize_t i = 0; i < annotations_len; i++) {
  ------------------
  |  Branch (802:28): [True: 16.4k, False: 6.49k]
  ------------------
  803|  16.4k|        PyObject *ptr = PyList_GET_ITEM(deferred_anno, i);
  ------------------
  |  |   40|  16.4k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  16.4k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (803:25): [True: 16.4k, False: 0]
  ------------------
  804|      0|        stmt_ty st = (stmt_ty)PyLong_AsVoidPtr(ptr);
  805|  16.4k|        if (st == NULL) {
  ------------------
  |  Branch (805:13): [True: 0, False: 16.4k]
  ------------------
  806|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  807|      0|        }
  808|  16.4k|        PyObject *mangled = _PyCompile_Mangle(c, st->v.AnnAssign.target->v.Name.id);
  809|  16.4k|        if (!mangled) {
  ------------------
  |  Branch (809:13): [True: 0, False: 16.4k]
  ------------------
  810|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  811|      0|        }
  812|       |        // NOTE: ref of mangled can be leaked on ADDOP* and VISIT macros due to early returns
  813|       |        // fixing would require an overhaul of these macros
  814|       |
  815|  16.4k|        PyObject *cond_index = PyList_GET_ITEM(conditional_annotation_indices, i);
  ------------------
  |  |   40|  16.4k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  16.4k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (815:32): [True: 16.4k, False: 0]
  ------------------
  816|  16.4k|        assert(PyLong_CheckExact(cond_index));
  ------------------
  |  Branch (816:9): [True: 16.4k, False: 0]
  ------------------
  817|  16.4k|        long idx = PyLong_AS_LONG(cond_index);
  ------------------
  |  |  101|  16.4k|#define PyLong_AS_LONG(op) PyLong_AsLong(op)
  ------------------
  818|  16.4k|        NEW_JUMP_TARGET_LABEL(c, not_set);
  ------------------
  |  |   91|  16.4k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  16.4k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  16.4k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  16.4k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  16.4k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 16.4k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
  819|       |
  820|  16.4k|        if (idx != -1) {
  ------------------
  |  Branch (820:13): [True: 4.46k, False: 12.0k]
  ------------------
  821|  4.46k|            ADDOP_LOAD_CONST(c, LOC(st), cond_index);
  ------------------
  |  |  308|  4.46k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  4.46k|    do {                    \
  |  |  |  |   52|  4.46k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.46k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.46k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.46k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  822|  4.46k|            if (scope_type == COMPILE_SCOPE_CLASS) {
  ------------------
  |  Branch (822:17): [True: 819, False: 3.64k]
  ------------------
  823|    819|                ADDOP_NAME(
  ------------------
  |  |  412|    819|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|    819|    do {                    \
  |  |  |  |   52|    819|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 819]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    819|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 819]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  824|    819|                    c, LOC(st), LOAD_DEREF, &_Py_ID(__conditional_annotations__), freevars);
  825|    819|            }
  826|  3.64k|            else {
  827|  3.64k|                ADDOP_NAME(
  ------------------
  |  |  412|  3.64k|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|  3.64k|    do {                    \
  |  |  |  |   52|  3.64k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.64k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.64k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.64k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  828|  3.64k|                    c, LOC(st), LOAD_GLOBAL, &_Py_ID(__conditional_annotations__), names);
  829|  3.64k|            }
  830|       |
  831|  4.46k|            ADDOP_I(c, LOC(st), CONTAINS_OP, 0);
  ------------------
  |  |  277|  4.46k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  4.46k|    do {                    \
  |  |  |  |   52|  4.46k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.46k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.46k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.46k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  832|  4.46k|            ADDOP_JUMP(c, LOC(st), POP_JUMP_IF_FALSE, not_set);
  ------------------
  |  |  428|  4.46k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  4.46k|    do {                    \
  |  |  |  |   52|  4.46k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 4.46k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  4.46k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 4.46k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  833|  4.46k|        }
  834|       |
  835|  16.4k|        VISIT(c, expr, st->v.AnnAssign.annotation);
  ------------------
  |  |  453|  16.4k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  16.4k|    do {                    \
  |  |  |  |   52|  16.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 9, False: 16.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      9|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      9|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      9|        }                   \
  |  |  |  |   55|  16.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 16.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  836|  16.4k|        ADDOP_I(c, LOC(st), COPY, 2);
  ------------------
  |  |  277|  16.4k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  16.4k|    do {                    \
  |  |  |  |   52|  16.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 16.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  16.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 16.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  837|  16.4k|        ADDOP_LOAD_CONST_NEW(c, LOC(st), mangled);
  ------------------
  |  |  315|  16.4k|    do {                                                                \
  |  |  316|  16.4k|        PyObject *__new_const = (O);                                    \
  |  |  317|  16.4k|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (317:13): [True: 0, False: 16.4k]
  |  |  ------------------
  |  |  318|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  319|      0|        }                                                               \
  |  |  320|  16.4k|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (320:13): [True: 0, False: 16.4k]
  |  |  ------------------
  |  |  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|  16.4k|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|  16.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  16.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  16.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  325|  16.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (325:14): [Folded, False: 16.4k]
  |  |  ------------------
  ------------------
  838|       |        // stack now contains <annos> <name> <annos> <value>
  839|  16.4k|        ADDOP(c, loc, STORE_SUBSCR);
  ------------------
  |  |  291|  16.4k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  16.4k|    do {                    \
  |  |  |  |   52|  16.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 16.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  16.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 16.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  840|       |        // stack now contains <annos>
  841|       |
  842|  16.4k|        USE_LABEL(c, not_set);
  ------------------
  |  |   97|  16.4k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  16.4k|    do {                    \
  |  |  |  |   52|  16.4k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 16.4k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  16.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 16.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  843|  16.4k|    }
  844|  6.49k|    return SUCCESS;
  ------------------
  |  |   47|  6.49k|#define SUCCESS 0
  ------------------
  845|  6.50k|}
codegen.c:codegen_enter_scope:
  683|  53.3k|{
  684|  53.3k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  53.3k|    do {                    \
  |  |   52|  53.3k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 53.3k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  53.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 53.3k]
  |  |  ------------------
  ------------------
  685|  53.3k|        _PyCompile_EnterScope(c, name, scope_type, key, lineno, private, umd));
  686|  53.3k|    location loc = LOCATION(lineno, lineno, 0, 0);
  ------------------
  |  |   86|  53.3k|    ((const _Py_SourceLocation){(LNO), (END_LNO), (COL), (END_COL)})
  ------------------
  687|  53.3k|    if (scope_type == COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (687:9): [True: 10.5k, False: 42.8k]
  ------------------
  688|  10.5k|        loc.lineno = 0;
  689|  10.5k|    }
  690|       |    /* Add the generator prefix instructions. */
  691|       |
  692|  53.3k|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|  53.3k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  693|  53.3k|    if (ste->ste_coroutine || ste->ste_generator) {
  ------------------
  |  Branch (693:9): [True: 2.64k, False: 50.7k]
  |  Branch (693:31): [True: 501, False: 50.2k]
  ------------------
  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|  3.14k|        location loc = LOCATION(lineno, lineno, -1, -1);
  ------------------
  |  |   86|  3.14k|    ((const _Py_SourceLocation){(LNO), (END_LNO), (COL), (END_COL)})
  ------------------
  698|  3.14k|        ADDOP(c, loc, RETURN_GENERATOR);
  ------------------
  |  |  291|  3.14k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.14k|    do {                    \
  |  |  |  |   52|  3.14k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.14k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.14k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.14k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  699|  3.14k|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  291|  3.14k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  3.14k|    do {                    \
  |  |  |  |   52|  3.14k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.14k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.14k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.14k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  700|  3.14k|    }
  701|       |
  702|  53.3k|    ADDOP_I(c, loc, RESUME, RESUME_AT_FUNC_START);
  ------------------
  |  |  277|  53.3k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  53.3k|    do {                    \
  |  |  |  |   52|  53.3k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 53.3k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  53.3k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 53.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  703|  53.3k|    if (scope_type == COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (703:9): [True: 10.5k, False: 42.8k]
  ------------------
  704|  10.5k|        ADDOP(c, loc, ANNOTATIONS_PLACEHOLDER);
  ------------------
  |  |  291|  10.5k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.5k|    do {                    \
  |  |  |  |   52|  10.5k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.5k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  705|  10.5k|    }
  706|  53.3k|    return SUCCESS;
  ------------------
  |  |   47|  53.3k|#define SUCCESS 0
  ------------------
  707|  53.3k|}
codegen.c:codegen_visit_expr:
 5627|  2.43M|{
 5628|       |    return codegen_visit_expr_impl(c, e, false);
 5629|  2.43M|}
codegen.c:codegen_addop_load_const:
  298|  1.27M|{
  299|  1.27M|    Py_ssize_t arg = _PyCompile_AddConst(c, o);
  300|  1.27M|    if (arg < 0) {
  ------------------
  |  Branch (300:9): [True: 0, False: 1.27M]
  ------------------
  301|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  302|      0|    }
  303|  1.27M|    ADDOP_I(c, loc, LOAD_CONST, arg);
  ------------------
  |  |  277|  1.27M|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  1.27M|    do {                    \
  |  |  |  |   52|  1.27M|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.27M]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.27M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.27M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  304|  1.27M|    return SUCCESS;
  ------------------
  |  |   47|  1.27M|#define SUCCESS 0
  ------------------
  305|  1.27M|}
codegen.c:codegen_addop_noarg:
  284|   996k|{
  285|   996k|    assert(!OPCODE_HAS_ARG(opcode));
  ------------------
  |  Branch (285:5): [True: 996k, False: 0]
  ------------------
  286|   996k|    assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (286:5): [True: 0, False: 996k]
  |  Branch (286:5): [True: 0, False: 996k]
  |  Branch (286:5): [True: 0, False: 996k]
  ------------------
  287|   996k|    return _PyInstructionSequence_Addop(seq, opcode, 0, loc);
  288|   996k|}

_PyCompile_MaybeAddStaticAttributeToClass:
  212|  13.4k|{
  213|  13.4k|    assert(e->kind == Attribute_kind);
  ------------------
  |  Branch (213:5): [True: 13.4k, False: 0]
  ------------------
  214|  13.4k|    expr_ty attr_value = e->v.Attribute.value;
  215|  13.4k|    if (attr_value->kind != Name_kind ||
  ------------------
  |  Branch (215:9): [True: 5.25k, False: 8.17k]
  ------------------
  216|  8.17k|        e->v.Attribute.ctx != Store ||
  ------------------
  |  Branch (216:9): [True: 7.37k, False: 793]
  ------------------
  217|    793|        !_PyUnicode_EqualToASCIIString(attr_value->v.Name.id, "self"))
  ------------------
  |  Branch (217:9): [True: 629, False: 164]
  ------------------
  218|  13.2k|    {
  219|  13.2k|        return SUCCESS;
  ------------------
  |  |   36|  13.2k|#define SUCCESS 0
  ------------------
  220|  13.2k|    }
  221|    164|    Py_ssize_t stack_size = PyList_GET_SIZE(c->c_stack);
  ------------------
  |  |   38|    164|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    164|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    164|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  222|    321|    for (Py_ssize_t i = stack_size - 1; i >= 0; i--) {
  ------------------
  |  Branch (222:41): [True: 157, False: 164]
  ------------------
  223|    157|        PyObject *capsule = PyList_GET_ITEM(c->c_stack, i);
  ------------------
  |  |   40|    157|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|    157|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    157|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (223:29): [True: 157, False: 0]
  ------------------
  224|      0|        struct compiler_unit *u = (struct compiler_unit *)PyCapsule_GetPointer(
  225|    157|                                                              capsule, CAPSULE_NAME);
  ------------------
  |  |  208|    157|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  226|    157|        assert(u);
  ------------------
  |  Branch (226:9): [True: 157, False: 0]
  ------------------
  227|    157|        if (u->u_scope_type == COMPILE_SCOPE_CLASS) {
  ------------------
  |  Branch (227:13): [True: 0, False: 157]
  ------------------
  228|      0|            assert(u->u_static_attributes);
  ------------------
  |  Branch (228:13): [True: 0, False: 0]
  ------------------
  229|      0|            RETURN_IF_ERROR(PySet_Add(u->u_static_attributes, e->v.Attribute.attr));
  ------------------
  |  |   40|      0|    do {                    \
  |  |   41|      0|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  230|      0|            break;
  231|      0|        }
  232|    157|    }
  233|    164|    return SUCCESS;
  ------------------
  |  |   36|    164|#define SUCCESS 0
  ------------------
  234|    164|}
_PyCompile_DictAddObj:
  458|  1.90M|{
  459|  1.90M|    PyObject *v;
  460|  1.90M|    Py_ssize_t arg;
  461|       |
  462|  1.90M|    if (PyDict_GetItemRef(dict, o, &v) < 0) {
  ------------------
  |  Branch (462:9): [True: 0, False: 1.90M]
  ------------------
  463|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  464|      0|    }
  465|  1.90M|    if (!v) {
  ------------------
  |  Branch (465:9): [True: 552k, False: 1.35M]
  ------------------
  466|   552k|        arg = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|   552k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   552k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   552k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  467|   552k|        v = PyLong_FromSsize_t(arg);
  468|   552k|        if (!v) {
  ------------------
  |  Branch (468:13): [True: 0, False: 552k]
  ------------------
  469|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  470|      0|        }
  471|   552k|        if (PyDict_SetItem(dict, o, v) < 0) {
  ------------------
  |  Branch (471:13): [True: 0, False: 552k]
  ------------------
  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|   552k|    }
  476|  1.35M|    else
  477|  1.35M|        arg = PyLong_AsLong(v);
  478|  1.90M|    Py_DECREF(v);
  ------------------
  |  |  430|  1.90M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.90M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.90M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  479|  1.90M|    return arg;
  480|  1.90M|}
_PyCompile_AddConst:
  484|  1.27M|{
  485|  1.27M|    PyObject *key = merge_consts_recursive(c->c_const_cache, o);
  486|  1.27M|    if (key == NULL) {
  ------------------
  |  Branch (486:9): [True: 0, False: 1.27M]
  ------------------
  487|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  488|      0|    }
  489|       |
  490|  1.27M|    Py_ssize_t arg = _PyCompile_DictAddObj(c->u->u_metadata.u_consts, key);
  491|  1.27M|    Py_DECREF(key);
  ------------------
  |  |  430|  1.27M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.27M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.27M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  492|  1.27M|    return arg;
  493|  1.27M|}
_PyCompile_EnterScope:
  599|  53.3k|{
  600|  53.3k|    struct compiler_unit *u;
  601|  53.3k|    u = (struct compiler_unit *)PyMem_Calloc(1, sizeof(struct compiler_unit));
  602|  53.3k|    if (!u) {
  ------------------
  |  Branch (602:9): [True: 0, False: 53.3k]
  ------------------
  603|      0|        PyErr_NoMemory();
  604|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  605|      0|    }
  606|  53.3k|    u->u_scope_type = scope_type;
  607|  53.3k|    if (umd != NULL) {
  ------------------
  |  Branch (607:9): [True: 27.0k, False: 26.3k]
  ------------------
  608|  27.0k|        u->u_metadata = *umd;
  609|  27.0k|    }
  610|  26.3k|    else {
  611|  26.3k|        u->u_metadata.u_argcount = 0;
  612|  26.3k|        u->u_metadata.u_posonlyargcount = 0;
  613|  26.3k|        u->u_metadata.u_kwonlyargcount = 0;
  614|  26.3k|    }
  615|  53.3k|    u->u_ste = _PySymtable_Lookup(c->c_st, key);
  616|  53.3k|    if (!u->u_ste) {
  ------------------
  |  Branch (616:9): [True: 0, False: 53.3k]
  ------------------
  617|      0|        compiler_unit_free(u);
  618|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  619|      0|    }
  620|  53.3k|    u->u_metadata.u_name = Py_NewRef(name);
  ------------------
  |  |  550|  53.3k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  53.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  621|  53.3k|    u->u_metadata.u_varnames = list2dict(u->u_ste->ste_varnames);
  622|  53.3k|    if (!u->u_metadata.u_varnames) {
  ------------------
  |  Branch (622:9): [True: 0, False: 53.3k]
  ------------------
  623|      0|        compiler_unit_free(u);
  624|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  625|      0|    }
  626|  53.3k|    u->u_metadata.u_cellvars = dictbytype(u->u_ste->ste_symbols, CELL, DEF_COMP_CELL, 0);
  ------------------
  |  |  191|  53.3k|#define CELL 5
  ------------------
                  u->u_metadata.u_cellvars = dictbytype(u->u_ste->ste_symbols, CELL, DEF_COMP_CELL, 0);
  ------------------
  |  |  175|  53.3k|#define DEF_COMP_CELL (2<<10)    /* this name is a cell in an inlined comprehension */
  ------------------
  627|  53.3k|    if (!u->u_metadata.u_cellvars) {
  ------------------
  |  Branch (627:9): [True: 0, False: 53.3k]
  ------------------
  628|      0|        compiler_unit_free(u);
  629|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  630|      0|    }
  631|  53.3k|    if (u->u_ste->ste_needs_class_closure) {
  ------------------
  |  Branch (631:9): [True: 25, False: 53.3k]
  ------------------
  632|       |        /* Cook up an implicit __class__ cell. */
  633|     25|        Py_ssize_t res;
  634|     25|        assert(u->u_scope_type == COMPILE_SCOPE_CLASS);
  ------------------
  |  Branch (634:9): [True: 25, False: 0]
  ------------------
  635|     25|        res = _PyCompile_DictAddObj(u->u_metadata.u_cellvars, &_Py_ID(__class__));
  ------------------
  |  |  921|     25|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     25|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     25|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  636|     25|        if (res < 0) {
  ------------------
  |  Branch (636:13): [True: 0, False: 25]
  ------------------
  637|      0|            compiler_unit_free(u);
  638|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  639|      0|        }
  640|     25|    }
  641|  53.3k|    if (u->u_ste->ste_needs_classdict) {
  ------------------
  |  Branch (641:9): [True: 6.06k, False: 47.3k]
  ------------------
  642|       |        /* Cook up an implicit __classdict__ cell. */
  643|  6.06k|        Py_ssize_t res;
  644|  6.06k|        assert(u->u_scope_type == COMPILE_SCOPE_CLASS);
  ------------------
  |  Branch (644:9): [True: 6.06k, False: 0]
  ------------------
  645|  6.06k|        res = _PyCompile_DictAddObj(u->u_metadata.u_cellvars, &_Py_ID(__classdict__));
  ------------------
  |  |  921|  6.06k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  6.06k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  6.06k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  646|  6.06k|        if (res < 0) {
  ------------------
  |  Branch (646:13): [True: 0, False: 6.06k]
  ------------------
  647|      0|            compiler_unit_free(u);
  648|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  649|      0|        }
  650|  6.06k|    }
  651|  53.3k|    if (u->u_ste->ste_has_conditional_annotations) {
  ------------------
  |  Branch (651:9): [True: 2.90k, False: 50.4k]
  ------------------
  652|       |        /* Cook up an implicit __conditional_annotations__ cell */
  653|  2.90k|        Py_ssize_t res;
  654|  2.90k|        assert(u->u_scope_type == COMPILE_SCOPE_CLASS || u->u_scope_type == COMPILE_SCOPE_MODULE);
  ------------------
  |  Branch (654:9): [True: 873, False: 2.03k]
  |  Branch (654:9): [True: 2.03k, False: 0]
  ------------------
  655|  2.90k|        res = _PyCompile_DictAddObj(u->u_metadata.u_cellvars, &_Py_ID(__conditional_annotations__));
  ------------------
  |  |  921|  2.90k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.90k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.90k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  656|  2.90k|        if (res < 0) {
  ------------------
  |  Branch (656:13): [True: 0, False: 2.90k]
  ------------------
  657|      0|            compiler_unit_free(u);
  658|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  659|      0|        }
  660|  2.90k|    }
  661|       |
  662|  53.3k|    u->u_metadata.u_freevars = dictbytype(u->u_ste->ste_symbols, FREE, DEF_FREE_CLASS,
  ------------------
  |  |  190|  53.3k|#define FREE 4
  ------------------
                  u->u_metadata.u_freevars = dictbytype(u->u_ste->ste_symbols, FREE, DEF_FREE_CLASS,
  ------------------
  |  |  170|  53.3k|#define DEF_FREE_CLASS (2<<5)    /* free variable from class's method */
  ------------------
  663|  53.3k|                               PyDict_GET_SIZE(u->u_metadata.u_cellvars));
  ------------------
  |  |   63|  53.3k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  53.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  664|  53.3k|    if (!u->u_metadata.u_freevars) {
  ------------------
  |  Branch (664:9): [True: 0, False: 53.3k]
  ------------------
  665|      0|        compiler_unit_free(u);
  666|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  667|      0|    }
  668|       |
  669|  53.3k|    u->u_metadata.u_fasthidden = PyDict_New();
  670|  53.3k|    if (!u->u_metadata.u_fasthidden) {
  ------------------
  |  Branch (670:9): [True: 0, False: 53.3k]
  ------------------
  671|      0|        compiler_unit_free(u);
  672|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  673|      0|    }
  674|       |
  675|  53.3k|    u->u_nfblocks = 0;
  676|  53.3k|    u->u_in_inlined_comp = 0;
  677|  53.3k|    u->u_metadata.u_firstlineno = lineno;
  678|  53.3k|    u->u_metadata.u_consts = PyDict_New();
  679|  53.3k|    if (!u->u_metadata.u_consts) {
  ------------------
  |  Branch (679:9): [True: 0, False: 53.3k]
  ------------------
  680|      0|        compiler_unit_free(u);
  681|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  682|      0|    }
  683|  53.3k|    u->u_metadata.u_names = PyDict_New();
  684|  53.3k|    if (!u->u_metadata.u_names) {
  ------------------
  |  Branch (684:9): [True: 0, False: 53.3k]
  ------------------
  685|      0|        compiler_unit_free(u);
  686|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  687|      0|    }
  688|       |
  689|  53.3k|    u->u_deferred_annotations = NULL;
  690|  53.3k|    u->u_conditional_annotation_indices = NULL;
  691|  53.3k|    u->u_next_conditional_annotation_index = 0;
  692|  53.3k|    if (scope_type == COMPILE_SCOPE_CLASS) {
  ------------------
  |  Branch (692:9): [True: 13.0k, False: 40.3k]
  ------------------
  693|  13.0k|        u->u_static_attributes = PySet_New(0);
  694|  13.0k|        if (!u->u_static_attributes) {
  ------------------
  |  Branch (694:13): [True: 0, False: 13.0k]
  ------------------
  695|      0|            compiler_unit_free(u);
  696|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  697|      0|        }
  698|  13.0k|    }
  699|  40.3k|    else {
  700|  40.3k|        u->u_static_attributes = NULL;
  701|  40.3k|    }
  702|       |
  703|  53.3k|    u->u_instr_sequence = (instr_sequence*)_PyInstructionSequence_New();
  704|  53.3k|    if (!u->u_instr_sequence) {
  ------------------
  |  Branch (704:9): [True: 0, False: 53.3k]
  ------------------
  705|      0|        compiler_unit_free(u);
  706|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  707|      0|    }
  708|  53.3k|    u->u_stashed_instr_sequence = NULL;
  709|       |
  710|       |    /* Push the old compiler_unit on the stack. */
  711|  53.3k|    if (c->u) {
  ------------------
  |  Branch (711:9): [True: 42.8k, False: 10.5k]
  ------------------
  712|  42.8k|        PyObject *capsule = PyCapsule_New(c->u, CAPSULE_NAME, NULL);
  ------------------
  |  |  208|  42.8k|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  713|  42.8k|        if (!capsule || PyList_Append(c->c_stack, capsule) < 0) {
  ------------------
  |  Branch (713:13): [True: 0, False: 42.8k]
  |  Branch (713:25): [True: 0, False: 42.8k]
  ------------------
  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|  42.8k|        Py_DECREF(capsule);
  ------------------
  |  |  430|  42.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  42.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  719|  42.8k|        if (private == NULL) {
  ------------------
  |  Branch (719:13): [True: 27.0k, False: 15.7k]
  ------------------
  720|  27.0k|            private = c->u->u_private;
  721|  27.0k|        }
  722|  42.8k|    }
  723|       |
  724|  53.3k|    u->u_private = Py_XNewRef(private);
  ------------------
  |  |  551|  53.3k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  53.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  725|       |
  726|  53.3k|    c->u = u;
  727|  53.3k|    if (scope_type != COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (727:9): [True: 42.8k, False: 10.5k]
  ------------------
  728|  42.8k|        RETURN_IF_ERROR(compiler_set_qualname(c));
  ------------------
  |  |   40|  42.8k|    do {                    \
  |  |   41|  42.8k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 42.8k]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|  42.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 42.8k]
  |  |  ------------------
  ------------------
  729|  42.8k|    }
  730|  53.3k|    return SUCCESS;
  ------------------
  |  |   36|  53.3k|#define SUCCESS 0
  ------------------
  731|  53.3k|}
_PyCompile_ExitScope:
  735|  53.3k|{
  736|       |    // Don't call PySequence_DelItem() with an exception raised
  737|  53.3k|    PyObject *exc = PyErr_GetRaisedException();
  738|       |
  739|  53.3k|    instr_sequence *nested_seq = NULL;
  740|  53.3k|    if (c->c_save_nested_seqs) {
  ------------------
  |  Branch (740:9): [True: 0, False: 53.3k]
  ------------------
  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|  53.3k|    compiler_unit_free(c->u);
  745|       |    /* Restore c->u to the parent unit. */
  746|  53.3k|    Py_ssize_t n = PyList_GET_SIZE(c->c_stack) - 1;
  ------------------
  |  |   38|  53.3k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  53.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  747|  53.3k|    if (n >= 0) {
  ------------------
  |  Branch (747:9): [True: 42.8k, False: 10.5k]
  ------------------
  748|  42.8k|        PyObject *capsule = PyList_GET_ITEM(c->c_stack, n);
  ------------------
  |  |   40|  42.8k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  42.8k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (748:29): [True: 42.8k, False: 0]
  ------------------
  749|  42.8k|        c->u = (struct compiler_unit *)PyCapsule_GetPointer(capsule, CAPSULE_NAME);
  ------------------
  |  |  208|  42.8k|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  750|  42.8k|        assert(c->u);
  ------------------
  |  Branch (750:9): [True: 42.8k, False: 0]
  ------------------
  751|       |        /* we are deleting from a list so this really shouldn't fail */
  752|  42.8k|        if (PySequence_DelItem(c->c_stack, n) < 0) {
  ------------------
  |  Branch (752:13): [True: 0, False: 42.8k]
  ------------------
  753|      0|            PyErr_FormatUnraisable("Exception ignored while removing "
  754|      0|                                   "the last compiler stack item");
  755|      0|        }
  756|  42.8k|        if (nested_seq != NULL) {
  ------------------
  |  Branch (756:13): [True: 0, False: 42.8k]
  ------------------
  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|  42.8k|    }
  763|  10.5k|    else {
  764|  10.5k|        c->u = NULL;
  765|  10.5k|    }
  766|  53.3k|    Py_XDECREF(nested_seq);
  ------------------
  |  |  524|  53.3k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  53.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  767|       |
  768|  53.3k|    PyErr_SetRaisedException(exc);
  769|  53.3k|}
_PyCompile_PushFBlock:
  779|  32.4k|{
  780|  32.4k|    fblockinfo *f;
  781|  32.4k|    if (c->u->u_nfblocks >= CO_MAXBLOCKS) {
  ------------------
  |  |  164|  32.4k|#define CO_MAXBLOCKS 21 /* Max static block nesting within a function */
  ------------------
  |  Branch (781:9): [True: 7, False: 32.4k]
  ------------------
  782|      7|        return _PyCompile_Error(c, loc, "too many statically nested blocks");
  783|      7|    }
  784|  32.4k|    f = &c->u->u_fblock[c->u->u_nfblocks++];
  785|  32.4k|    f->fb_type = t;
  786|  32.4k|    f->fb_block = block_label;
  787|  32.4k|    f->fb_loc = loc;
  788|  32.4k|    f->fb_exit = exit;
  789|  32.4k|    f->fb_datum = datum;
  790|  32.4k|    if (t == COMPILE_FBLOCK_FINALLY_END) {
  ------------------
  |  Branch (790:9): [True: 2.14k, False: 30.2k]
  ------------------
  791|  2.14k|        c->c_disable_warning++;
  792|  2.14k|    }
  793|  32.4k|    return SUCCESS;
  ------------------
  |  |   36|  32.4k|#define SUCCESS 0
  ------------------
  794|  32.4k|}
_PyCompile_PopFBlock:
  798|  32.1k|{
  799|  32.1k|    struct compiler_unit *u = c->u;
  800|  32.1k|    assert(u->u_nfblocks > 0);
  ------------------
  |  Branch (800:5): [True: 32.1k, False: 0]
  ------------------
  801|  32.1k|    u->u_nfblocks--;
  802|  32.1k|    assert(u->u_fblock[u->u_nfblocks].fb_type == t);
  ------------------
  |  Branch (802:5): [True: 32.1k, False: 0]
  ------------------
  803|  32.1k|    assert(SAME_JUMP_TARGET_LABEL(u->u_fblock[u->u_nfblocks].fb_block, block_label));
  ------------------
  |  Branch (803:5): [True: 32.1k, False: 0]
  ------------------
  804|  32.1k|    if (t == COMPILE_FBLOCK_FINALLY_END) {
  ------------------
  |  Branch (804:9): [True: 2.14k, False: 29.9k]
  ------------------
  805|  2.14k|        c->c_disable_warning--;
  806|  2.14k|    }
  807|  32.1k|}
_PyCompile_TopFBlock:
  811|  2.57k|{
  812|  2.57k|    if (c->u->u_nfblocks == 0) {
  ------------------
  |  Branch (812:9): [True: 229, False: 2.34k]
  ------------------
  813|    229|        return NULL;
  814|    229|    }
  815|  2.34k|    return &c->u->u_fblock[c->u->u_nfblocks - 1];
  816|  2.57k|}
_PyCompile_InExceptionHandler:
  820|  10.5k|{
  821|  12.1k|    for (Py_ssize_t i = 0; i < c->u->u_nfblocks; i++) {
  ------------------
  |  Branch (821:28): [True: 1.75k, False: 10.3k]
  ------------------
  822|  1.75k|        fblockinfo *block = &c->u->u_fblock[i];
  823|  1.75k|        switch (block->fb_type) {
  824|      0|            case COMPILE_FBLOCK_TRY_EXCEPT:
  ------------------
  |  Branch (824:13): [True: 0, False: 1.75k]
  ------------------
  825|      1|            case COMPILE_FBLOCK_FINALLY_TRY:
  ------------------
  |  Branch (825:13): [True: 1, False: 1.75k]
  ------------------
  826|     20|            case COMPILE_FBLOCK_FINALLY_END:
  ------------------
  |  Branch (826:13): [True: 19, False: 1.73k]
  ------------------
  827|    100|            case COMPILE_FBLOCK_EXCEPTION_HANDLER:
  ------------------
  |  Branch (827:13): [True: 80, False: 1.67k]
  ------------------
  828|    156|            case COMPILE_FBLOCK_EXCEPTION_GROUP_HANDLER:
  ------------------
  |  Branch (828:13): [True: 56, False: 1.70k]
  ------------------
  829|    156|            case COMPILE_FBLOCK_HANDLER_CLEANUP:
  ------------------
  |  Branch (829:13): [True: 0, False: 1.75k]
  ------------------
  830|    156|                return true;
  831|  1.60k|            default:
  ------------------
  |  Branch (831:13): [True: 1.60k, False: 156]
  ------------------
  832|  1.60k|                break;
  833|  1.75k|        }
  834|  1.75k|    }
  835|  10.3k|    return false;
  836|  10.5k|}
_PyCompile_DeferredAnnotations:
  842|  19.3k|{
  843|  19.3k|    *deferred_annotations = Py_XNewRef(c->u->u_deferred_annotations);
  ------------------
  |  |  551|  19.3k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  19.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  844|  19.3k|    *conditional_annotation_indices = Py_XNewRef(c->u->u_conditional_annotation_indices);
  ------------------
  |  |  551|  19.3k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  19.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  845|  19.3k|}
_PyCompile_GetRefType:
  911|  12.3k|{
  912|  12.3k|    if (c->u->u_scope_type == COMPILE_SCOPE_CLASS &&
  ------------------
  |  Branch (912:9): [True: 6.95k, False: 5.42k]
  ------------------
  913|  6.95k|        (_PyUnicode_EqualToASCIIString(name, "__class__") ||
  ------------------
  |  Branch (913:10): [True: 25, False: 6.92k]
  ------------------
  914|  6.92k|         _PyUnicode_EqualToASCIIString(name, "__classdict__") ||
  ------------------
  |  Branch (914:10): [True: 6.06k, False: 866]
  ------------------
  915|  6.95k|         _PyUnicode_EqualToASCIIString(name, "__conditional_annotations__"))) {
  ------------------
  |  Branch (915:10): [True: 865, False: 1]
  ------------------
  916|  6.95k|        return CELL;
  ------------------
  |  |  191|  6.95k|#define CELL 5
  ------------------
  917|  6.95k|    }
  918|  5.42k|    PySTEntryObject *ste = c->u->u_ste;
  919|  5.42k|    int scope = _PyST_GetScope(ste, name);
  920|  5.42k|    if (scope == 0) {
  ------------------
  |  Branch (920:9): [True: 0, False: 5.42k]
  ------------------
  921|      0|        PyErr_Format(PyExc_SystemError,
  922|      0|                     "_PyST_GetScope(name=%R) failed: "
  923|      0|                     "unknown scope in unit %S (%R); "
  924|      0|                     "symbols: %R; locals: %R; "
  925|      0|                     "globals: %R",
  926|      0|                     name,
  927|      0|                     c->u->u_metadata.u_name, ste->ste_id,
  928|      0|                     ste->ste_symbols, c->u->u_metadata.u_varnames,
  929|      0|                     c->u->u_metadata.u_names);
  930|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  931|      0|    }
  932|  5.42k|    return scope;
  933|  5.42k|}
_PyCompile_LookupCellvar:
  947|  6.07k|{
  948|  6.07k|    assert(c->u->u_metadata.u_cellvars);
  ------------------
  |  Branch (948:5): [True: 6.07k, False: 0]
  ------------------
  949|  6.07k|    return dict_lookup_arg(c->u->u_metadata.u_cellvars, name);
  950|  6.07k|}
_PyCompile_LookupArg:
  954|  12.3k|{
  955|       |    /* Special case: If a class contains a method with a
  956|       |     * free variable that has the same name as a method,
  957|       |     * the name will be considered free *and* local in the
  958|       |     * class.  It should be handled by the closure, as
  959|       |     * well as by the normal name lookup logic.
  960|       |     */
  961|  12.3k|    int reftype = _PyCompile_GetRefType(c, name);
  962|  12.3k|    if (reftype == -1) {
  ------------------
  |  Branch (962:9): [True: 0, False: 12.3k]
  ------------------
  963|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  964|      0|    }
  965|  12.3k|    int arg;
  966|  12.3k|    if (reftype == CELL) {
  ------------------
  |  |  191|  12.3k|#define CELL 5
  ------------------
  |  Branch (966:9): [True: 9.73k, False: 2.63k]
  ------------------
  967|  9.73k|        arg = dict_lookup_arg(c->u->u_metadata.u_cellvars, name);
  968|  9.73k|    }
  969|  2.63k|    else {
  970|  2.63k|        arg = dict_lookup_arg(c->u->u_metadata.u_freevars, name);
  971|  2.63k|    }
  972|  12.3k|    if (arg == -1 && !PyErr_Occurred()) {
  ------------------
  |  Branch (972:9): [True: 0, False: 12.3k]
  |  Branch (972:22): [True: 0, False: 0]
  ------------------
  973|      0|        PyObject *freevars = _PyCode_GetFreevars(co);
  974|      0|        if (freevars == NULL) {
  ------------------
  |  Branch (974:13): [True: 0, False: 0]
  ------------------
  975|      0|            PyErr_Clear();
  976|      0|        }
  977|      0|        PyErr_Format(PyExc_SystemError,
  978|      0|            "compiler_lookup_arg(name=%R) with reftype=%d failed in %S; "
  979|      0|            "freevars of code %S: %R",
  980|      0|            name,
  981|      0|            reftype,
  982|      0|            c->u->u_metadata.u_name,
  983|      0|            co->co_name,
  984|      0|            freevars);
  985|      0|        Py_XDECREF(freevars);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  986|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  987|      0|    }
  988|  12.3k|    return arg;
  989|  12.3k|}
_PyCompile_StaticAttributesAsTuple:
  993|  13.0k|{
  994|  13.0k|    assert(c->u->u_static_attributes);
  ------------------
  |  Branch (994:5): [True: 13.0k, False: 0]
  ------------------
  995|  13.0k|    PyObject *static_attributes_unsorted = PySequence_List(c->u->u_static_attributes);
  996|  13.0k|    if (static_attributes_unsorted == NULL) {
  ------------------
  |  Branch (996:9): [True: 0, False: 13.0k]
  ------------------
  997|      0|        return NULL;
  998|      0|    }
  999|  13.0k|    if (PyList_Sort(static_attributes_unsorted) != 0) {
  ------------------
  |  Branch (999:9): [True: 0, False: 13.0k]
  ------------------
 1000|      0|        Py_DECREF(static_attributes_unsorted);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1001|      0|        return NULL;
 1002|      0|    }
 1003|  13.0k|    PyObject *static_attributes = PySequence_Tuple(static_attributes_unsorted);
 1004|  13.0k|    Py_DECREF(static_attributes_unsorted);
  ------------------
  |  |  430|  13.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1005|  13.0k|    return static_attributes;
 1006|  13.0k|}
_PyCompile_ResolveNameop:
 1011|   526k|{
 1012|   526k|    PyObject *dict = c->u->u_metadata.u_names;
 1013|   526k|    *optype = COMPILE_OP_NAME;
 1014|       |
 1015|   526k|    assert(scope >= 0);
  ------------------
  |  Branch (1015:5): [True: 526k, False: 0]
  ------------------
 1016|   526k|    switch (scope) {
 1017|  3.63k|    case FREE:
  ------------------
  |  |  190|  3.63k|#define FREE 4
  ------------------
  |  Branch (1017:5): [True: 3.63k, False: 522k]
  ------------------
 1018|  3.63k|        dict = c->u->u_metadata.u_freevars;
 1019|  3.63k|        *optype = COMPILE_OP_DEREF;
 1020|  3.63k|        break;
 1021|  5.67k|    case CELL:
  ------------------
  |  |  191|  5.67k|#define CELL 5
  ------------------
  |  Branch (1021:5): [True: 5.67k, False: 520k]
  ------------------
 1022|  5.67k|        dict = c->u->u_metadata.u_cellvars;
 1023|  5.67k|        *optype = COMPILE_OP_DEREF;
 1024|  5.67k|        break;
 1025|   195k|    case LOCAL:
  ------------------
  |  |  187|   195k|#define LOCAL 1
  ------------------
  |  Branch (1025:5): [True: 195k, False: 330k]
  ------------------
 1026|   195k|        if (_PyST_IsFunctionLike(c->u->u_ste)) {
  ------------------
  |  Branch (1026:13): [True: 115k, False: 79.8k]
  ------------------
 1027|   115k|            *optype = COMPILE_OP_FAST;
 1028|   115k|        }
 1029|  79.8k|        else {
 1030|  79.8k|            PyObject *item;
 1031|  79.8k|            RETURN_IF_ERROR(PyDict_GetItemRef(c->u->u_metadata.u_fasthidden, mangled,
  ------------------
  |  |   40|  79.8k|    do {                    \
  |  |   41|  79.8k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 79.8k]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|  79.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 79.8k]
  |  |  ------------------
  ------------------
 1032|  79.8k|                                              &item));
 1033|  79.8k|            if (item == Py_True) {
  ------------------
  |  |   26|  79.8k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  79.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1033:17): [True: 16.0k, False: 63.8k]
  ------------------
 1034|  16.0k|                *optype = COMPILE_OP_FAST;
 1035|  16.0k|            }
 1036|  79.8k|            Py_XDECREF(item);
  ------------------
  |  |  524|  79.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  79.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1037|  79.8k|        }
 1038|   195k|        break;
 1039|   241k|    case GLOBAL_IMPLICIT:
  ------------------
  |  |  189|   241k|#define GLOBAL_IMPLICIT 3
  ------------------
  |  Branch (1039:5): [True: 241k, False: 284k]
  ------------------
 1040|   241k|        if (_PyST_IsFunctionLike(c->u->u_ste)) {
  ------------------
  |  Branch (1040:13): [True: 92.6k, False: 148k]
  ------------------
 1041|  92.6k|            *optype = COMPILE_OP_GLOBAL;
 1042|  92.6k|        }
 1043|   241k|        break;
 1044|    903|    case GLOBAL_EXPLICIT:
  ------------------
  |  |  188|    903|#define GLOBAL_EXPLICIT 2
  ------------------
  |  Branch (1044:5): [True: 903, False: 525k]
  ------------------
 1045|    903|        *optype = COMPILE_OP_GLOBAL;
 1046|    903|        break;
 1047|  79.1k|    default:
  ------------------
  |  Branch (1047:5): [True: 79.1k, False: 446k]
  ------------------
 1048|       |        /* scope can be 0 */
 1049|  79.1k|        break;
 1050|   526k|    }
 1051|   526k|    if (*optype != COMPILE_OP_FAST) {
  ------------------
  |  Branch (1051:9): [True: 394k, False: 131k]
  ------------------
 1052|   394k|        *arg = _PyCompile_DictAddObj(dict, mangled);
 1053|   394k|        RETURN_IF_ERROR(*arg);
  ------------------
  |  |   40|   394k|    do {                    \
  |  |   41|   394k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 394k]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|   394k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 394k]
  |  |  ------------------
  ------------------
 1054|   394k|    }
 1055|   526k|    return SUCCESS;
  ------------------
  |  |   36|   526k|#define SUCCESS 0
  ------------------
 1056|   526k|}
_PyCompile_TweakInlinedComprehensionScopes:
 1062|  2.34k|{
 1063|  2.34k|    int in_class_block = (c->u->u_ste->ste_type == ClassBlock) && !c->u->u_in_inlined_comp;
  ------------------
  |  Branch (1063:26): [True: 21, False: 2.32k]
  |  Branch (1063:67): [True: 21, False: 0]
  ------------------
 1064|  2.34k|    c->u->u_in_inlined_comp++;
 1065|       |
 1066|  2.34k|    PyObject *k, *v;
 1067|  2.34k|    Py_ssize_t pos = 0;
 1068|  14.8k|    while (PyDict_Next(entry->ste_symbols, &pos, &k, &v)) {
  ------------------
  |  Branch (1068:12): [True: 12.4k, False: 2.34k]
  ------------------
 1069|  12.4k|        long symbol = PyLong_AsLong(v);
 1070|  12.4k|        assert(symbol >= 0 || PyErr_Occurred());
  ------------------
  |  Branch (1070:9): [True: 12.4k, False: 0]
  |  Branch (1070:9): [True: 0, False: 0]
  ------------------
 1071|  12.4k|        RETURN_IF_ERROR(symbol);
  ------------------
  |  |   40|  12.4k|    do {                    \
  |  |   41|  12.4k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 12.4k]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|  12.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 12.4k]
  |  |  ------------------
  ------------------
 1072|  12.4k|        long scope = SYMBOL_TO_SCOPE(symbol);
  ------------------
  |  |  185|  12.4k|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  183|  12.4k|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  184|  12.4k|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|  12.4k|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  166|  12.4k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  167|  12.4k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  168|  12.4k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1073|       |
 1074|  12.4k|        long outsymbol = _PyST_GetSymbol(c->u->u_ste, k);
 1075|  12.4k|        RETURN_IF_ERROR(outsymbol);
  ------------------
  |  |   40|  12.4k|    do {                    \
  |  |   41|  12.4k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 12.4k]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|  12.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 12.4k]
  |  |  ------------------
  ------------------
 1076|  12.4k|        long outsc = SYMBOL_TO_SCOPE(outsymbol);
  ------------------
  |  |  185|  12.4k|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  183|  12.4k|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  184|  12.4k|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|  12.4k|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  166|  12.4k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  167|  12.4k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  168|  12.4k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1077|       |
 1078|       |        // If a name has different scope inside than outside the comprehension,
 1079|       |        // we need to temporarily handle it with the right scope while
 1080|       |        // compiling the comprehension. If it's free in the comprehension
 1081|       |        // scope, no special handling; it should be handled the same as the
 1082|       |        // enclosing scope. (If it's free in outer scope and cell in inner
 1083|       |        // scope, we can't treat it as both cell and free in the same function,
 1084|       |        // but treating it as free throughout is fine; it's *_DEREF
 1085|       |        // either way.)
 1086|  12.4k|        if ((scope != outsc && scope != FREE && !(scope == CELL && outsc == FREE))
  ------------------
  |  |  190|  15.2k|#define FREE 4
  ------------------
                      if ((scope != outsc && scope != FREE && !(scope == CELL && outsc == FREE))
  ------------------
  |  |  191|  4.97k|#define CELL 5
  ------------------
                      if ((scope != outsc && scope != FREE && !(scope == CELL && outsc == FREE))
  ------------------
  |  |  190|      0|#define FREE 4
  ------------------
  |  Branch (1086:14): [True: 2.79k, False: 9.68k]
  |  Branch (1086:32): [True: 2.48k, False: 304]
  |  Branch (1086:51): [True: 0, False: 2.48k]
  |  Branch (1086:68): [True: 0, False: 0]
  ------------------
 1087|  9.98k|                || in_class_block) {
  ------------------
  |  Branch (1087:20): [True: 60, False: 9.92k]
  ------------------
 1088|  2.54k|            if (state->temp_symbols == NULL) {
  ------------------
  |  Branch (1088:17): [True: 2.29k, False: 251]
  ------------------
 1089|  2.29k|                state->temp_symbols = PyDict_New();
 1090|  2.29k|                if (state->temp_symbols == NULL) {
  ------------------
  |  Branch (1090:21): [True: 0, False: 2.29k]
  ------------------
 1091|      0|                    return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1092|      0|                }
 1093|  2.29k|            }
 1094|       |            // update the symbol to the in-comprehension version and save
 1095|       |            // the outer version; we'll restore it after running the
 1096|       |            // comprehension
 1097|  2.54k|            if (PyDict_SetItem(c->u->u_ste->ste_symbols, k, v) < 0) {
  ------------------
  |  Branch (1097:17): [True: 0, False: 2.54k]
  ------------------
 1098|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1099|      0|            }
 1100|  2.54k|            PyObject *outv = PyLong_FromLong(outsymbol);
 1101|  2.54k|            if (outv == NULL) {
  ------------------
  |  Branch (1101:17): [True: 0, False: 2.54k]
  ------------------
 1102|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1103|      0|            }
 1104|  2.54k|            int res = PyDict_SetItem(state->temp_symbols, k, outv);
 1105|  2.54k|            Py_DECREF(outv);
  ------------------
  |  |  430|  2.54k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1106|  2.54k|            RETURN_IF_ERROR(res);
  ------------------
  |  |   40|  2.54k|    do {                    \
  |  |   41|  2.54k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 2.54k]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|  2.54k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 2.54k]
  |  |  ------------------
  ------------------
 1107|  2.54k|        }
 1108|       |        // locals handling for names bound in comprehension (DEF_LOCAL |
 1109|       |        // DEF_NONLOCAL occurs in assignment expression to nonlocal)
 1110|  12.4k|        if ((symbol & DEF_LOCAL && !(symbol & DEF_NONLOCAL)) || in_class_block) {
  ------------------
  |  |  166|  24.9k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if ((symbol & DEF_LOCAL && !(symbol & DEF_NONLOCAL)) || in_class_block) {
  ------------------
  |  |  168|  6.90k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (1110:14): [True: 6.90k, False: 5.56k]
  |  Branch (1110:36): [True: 6.60k, False: 296]
  |  Branch (1110:65): [True: 37, False: 5.82k]
  ------------------
 1111|  6.64k|            if (!_PyST_IsFunctionLike(c->u->u_ste)) {
  ------------------
  |  Branch (1111:17): [True: 4.91k, False: 1.72k]
  ------------------
 1112|       |                // non-function scope: override this name to use fast locals
 1113|  4.91k|                PyObject *orig;
 1114|  4.91k|                if (PyDict_GetItemRef(c->u->u_metadata.u_fasthidden, k, &orig) < 0) {
  ------------------
  |  Branch (1114:21): [True: 0, False: 4.91k]
  ------------------
 1115|      0|                    return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1116|      0|                }
 1117|  4.91k|                assert(orig == NULL || orig == Py_True || orig == Py_False);
  ------------------
  |  Branch (1117:17): [True: 3.89k, False: 1.02k]
  |  Branch (1117:17): [True: 50, False: 976]
  |  Branch (1117:17): [True: 976, False: 0]
  ------------------
 1118|  4.91k|                if (orig != Py_True) {
  ------------------
  |  |   26|  4.91k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  4.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1118:21): [True: 4.86k, False: 50]
  ------------------
 1119|  4.86k|                    if (PyDict_SetItem(c->u->u_metadata.u_fasthidden, k, Py_True) < 0) {
  ------------------
  |  |   26|  4.86k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  4.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1119:25): [True: 0, False: 4.86k]
  ------------------
 1120|      0|                        Py_XDECREF(orig);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1121|      0|                        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1122|      0|                    }
 1123|  4.86k|                    if (state->fast_hidden == NULL) {
  ------------------
  |  Branch (1123:25): [True: 681, False: 4.18k]
  ------------------
 1124|    681|                        state->fast_hidden = PySet_New(NULL);
 1125|    681|                        if (state->fast_hidden == NULL) {
  ------------------
  |  Branch (1125:29): [True: 0, False: 681]
  ------------------
 1126|      0|                            Py_XDECREF(orig);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1127|      0|                            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1128|      0|                        }
 1129|    681|                    }
 1130|  4.86k|                    if (PySet_Add(state->fast_hidden, k) < 0) {
  ------------------
  |  Branch (1130:25): [True: 0, False: 4.86k]
  ------------------
 1131|      0|                        Py_XDECREF(orig);
  ------------------
  |  |  524|      0|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1132|      0|                        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1133|      0|                    }
 1134|  4.86k|                }
 1135|  4.91k|                Py_XDECREF(orig);
  ------------------
  |  |  524|  4.91k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1136|  4.91k|            }
 1137|  6.64k|        }
 1138|  12.4k|    }
 1139|  2.34k|    return SUCCESS;
  ------------------
  |  |   36|  2.34k|#define SUCCESS 0
  ------------------
 1140|  2.34k|}
_PyCompile_RevertInlinedComprehensionScopes:
 1145|  2.33k|{
 1146|  2.33k|    c->u->u_in_inlined_comp--;
 1147|  2.33k|    if (state->temp_symbols) {
  ------------------
  |  Branch (1147:9): [True: 2.28k, False: 45]
  ------------------
 1148|  2.28k|        PyObject *k, *v;
 1149|  2.28k|        Py_ssize_t pos = 0;
 1150|  4.82k|        while (PyDict_Next(state->temp_symbols, &pos, &k, &v)) {
  ------------------
  |  Branch (1150:16): [True: 2.53k, False: 2.28k]
  ------------------
 1151|  2.53k|            if (PyDict_SetItem(c->u->u_ste->ste_symbols, k, v)) {
  ------------------
  |  Branch (1151:17): [True: 0, False: 2.53k]
  ------------------
 1152|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1153|      0|            }
 1154|  2.53k|        }
 1155|  2.28k|        Py_CLEAR(state->temp_symbols);
  ------------------
  |  |  484|  2.28k|    do { \
  |  |  485|  2.28k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.28k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.28k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.28k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.28k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.28k, False: 0]
  |  |  ------------------
  |  |  488|  2.28k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.28k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.28k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.28k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.28k|        } \
  |  |  491|  2.28k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.28k]
  |  |  ------------------
  ------------------
 1156|  2.28k|    }
 1157|  2.33k|    if (state->fast_hidden) {
  ------------------
  |  Branch (1157:9): [True: 669, False: 1.66k]
  ------------------
 1158|  5.49k|        while (PySet_Size(state->fast_hidden) > 0) {
  ------------------
  |  Branch (1158:16): [True: 4.82k, False: 669]
  ------------------
 1159|  4.82k|            PyObject *k = PySet_Pop(state->fast_hidden);
 1160|  4.82k|            if (k == NULL) {
  ------------------
  |  Branch (1160:17): [True: 0, False: 4.82k]
  ------------------
 1161|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1162|      0|            }
 1163|       |            // we set to False instead of clearing, so we can track which names
 1164|       |            // were temporarily fast-locals and should use CO_FAST_HIDDEN
 1165|  4.82k|            if (PyDict_SetItem(c->u->u_metadata.u_fasthidden, k, Py_False)) {
  ------------------
  |  |   25|  4.82k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  4.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1165:17): [True: 0, False: 4.82k]
  ------------------
 1166|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1167|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1168|      0|            }
 1169|  4.82k|            Py_DECREF(k);
  ------------------
  |  |  430|  4.82k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1170|  4.82k|        }
 1171|    669|        Py_CLEAR(state->fast_hidden);
  ------------------
  |  |  484|    669|    do { \
  |  |  485|    669|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    669|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    669|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    669|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    669|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 669, False: 0]
  |  |  ------------------
  |  |  488|    669|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    669|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    669|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    669|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    669|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    669|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    669|        } \
  |  |  491|    669|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 669]
  |  |  ------------------
  ------------------
 1172|    669|    }
 1173|  2.33k|    return SUCCESS;
  ------------------
  |  |   36|  2.33k|#define SUCCESS 0
  ------------------
 1174|  2.33k|}
_PyCompile_EnterConditionalBlock:
 1178|  11.0k|{
 1179|  11.0k|    c->u->u_in_conditional_block++;
 1180|  11.0k|}
_PyCompile_LeaveConditionalBlock:
 1184|  11.0k|{
 1185|  11.0k|    assert(c->u->u_in_conditional_block > 0);
  ------------------
  |  Branch (1185:5): [True: 11.0k, False: 0]
  ------------------
 1186|  11.0k|    c->u->u_in_conditional_block--;
 1187|  11.0k|}
_PyCompile_AddDeferredAnnotation:
 1192|  16.5k|{
 1193|  16.5k|    if (c->u->u_deferred_annotations == NULL) {
  ------------------
  |  Branch (1193:9): [True: 6.52k, False: 9.98k]
  ------------------
 1194|  6.52k|        c->u->u_deferred_annotations = PyList_New(0);
 1195|  6.52k|        if (c->u->u_deferred_annotations == NULL) {
  ------------------
  |  Branch (1195:13): [True: 0, False: 6.52k]
  ------------------
 1196|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1197|      0|        }
 1198|  6.52k|    }
 1199|  16.5k|    if (c->u->u_conditional_annotation_indices == NULL) {
  ------------------
  |  Branch (1199:9): [True: 6.52k, False: 9.98k]
  ------------------
 1200|  6.52k|        c->u->u_conditional_annotation_indices = PyList_New(0);
 1201|  6.52k|        if (c->u->u_conditional_annotation_indices == NULL) {
  ------------------
  |  Branch (1201:13): [True: 0, False: 6.52k]
  ------------------
 1202|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1203|      0|        }
 1204|  6.52k|    }
 1205|  16.5k|    PyObject *ptr = PyLong_FromVoidPtr((void *)s);
 1206|  16.5k|    if (ptr == NULL) {
  ------------------
  |  Branch (1206:9): [True: 0, False: 16.5k]
  ------------------
 1207|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1208|      0|    }
 1209|  16.5k|    if (PyList_Append(c->u->u_deferred_annotations, ptr) < 0) {
  ------------------
  |  Branch (1209:9): [True: 0, False: 16.5k]
  ------------------
 1210|      0|        Py_DECREF(ptr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1211|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1212|      0|    }
 1213|  16.5k|    Py_DECREF(ptr);
  ------------------
  |  |  430|  16.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1214|  16.5k|    PyObject *index;
 1215|  16.5k|    if (c->u->u_scope_type == COMPILE_SCOPE_MODULE || c->u->u_in_conditional_block) {
  ------------------
  |  Branch (1215:9): [True: 3.67k, False: 12.8k]
  |  Branch (1215:55): [True: 820, False: 12.0k]
  ------------------
 1216|  4.49k|        index = PyLong_FromLong(c->u->u_next_conditional_annotation_index);
 1217|  4.49k|        if (index == NULL) {
  ------------------
  |  Branch (1217:13): [True: 0, False: 4.49k]
  ------------------
 1218|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1219|      0|        }
 1220|  4.49k|        *conditional_annotation_index = Py_NewRef(index);
  ------------------
  |  |  550|  4.49k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1221|  4.49k|        c->u->u_next_conditional_annotation_index++;
 1222|  4.49k|    }
 1223|  12.0k|    else {
 1224|  12.0k|        index = PyLong_FromLong(-1);
 1225|  12.0k|        if (index == NULL) {
  ------------------
  |  Branch (1225:13): [True: 0, False: 12.0k]
  ------------------
 1226|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1227|      0|        }
 1228|  12.0k|    }
 1229|  16.5k|    int rc = PyList_Append(c->u->u_conditional_annotation_indices, index);
 1230|  16.5k|    Py_DECREF(index);
  ------------------
  |  |  430|  16.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1231|  16.5k|    RETURN_IF_ERROR(rc);
  ------------------
  |  |   40|  16.5k|    do {                    \
  |  |   41|  16.5k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 16.5k]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|  16.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 16.5k]
  |  |  ------------------
  ------------------
 1232|  16.5k|    return SUCCESS;
  ------------------
  |  |   36|  16.5k|#define SUCCESS 0
  ------------------
 1233|  16.5k|}
_PyCompile_Error:
 1240|    502|{
 1241|    502|    va_list vargs;
 1242|    502|    va_start(vargs, format);
 1243|    502|    PyObject *msg = PyUnicode_FromFormatV(format, vargs);
 1244|    502|    va_end(vargs);
 1245|    502|    if (msg == NULL) {
  ------------------
  |  Branch (1245:9): [True: 0, False: 502]
  ------------------
 1246|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1247|      0|    }
 1248|    502|    _PyErr_RaiseSyntaxError(msg, c->c_filename, loc.lineno, loc.col_offset + 1,
 1249|    502|                            loc.end_lineno, loc.end_col_offset + 1);
 1250|    502|    Py_DECREF(msg);
  ------------------
  |  |  430|    502|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    502|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    502|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1251|    502|    return ERROR;
  ------------------
  |  |   37|    502|#define ERROR -1
  ------------------
 1252|    502|}
_PyCompile_Warn:
 1260|  6.15k|{
 1261|  6.15k|    if (c->c_disable_warning) {
  ------------------
  |  Branch (1261:9): [True: 415, False: 5.74k]
  ------------------
 1262|    415|        return 0;
 1263|    415|    }
 1264|  5.74k|    va_list vargs;
 1265|  5.74k|    va_start(vargs, format);
 1266|  5.74k|    PyObject *msg = PyUnicode_FromFormatV(format, vargs);
 1267|  5.74k|    va_end(vargs);
 1268|  5.74k|    if (msg == NULL) {
  ------------------
  |  Branch (1268:9): [True: 0, False: 5.74k]
  ------------------
 1269|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1270|      0|    }
 1271|  5.74k|    int ret = _PyErr_EmitSyntaxWarning(msg, c->c_filename, loc.lineno, loc.col_offset + 1,
 1272|  5.74k|                                       loc.end_lineno, loc.end_col_offset + 1,
 1273|  5.74k|                                       c->c_module);
 1274|  5.74k|    Py_DECREF(msg);
  ------------------
  |  |  430|  5.74k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1275|  5.74k|    return ret;
 1276|  5.74k|}
_PyCompile_Mangle:
 1280|  16.4k|{
 1281|  16.4k|    return _Py_Mangle(c->u->u_private, name);
 1282|  16.4k|}
_PyCompile_MaybeMangle:
 1286|   600k|{
 1287|   600k|    return _Py_MaybeMangle(c->u->u_private, c->u->u_ste, name);
 1288|   600k|}
_PyCompile_InstrSequence:
 1292|  5.72M|{
 1293|  5.72M|    return c->u->u_instr_sequence;
 1294|  5.72M|}
_PyCompile_StartAnnotationSetup:
 1298|    608|{
 1299|    608|    instr_sequence *new_seq = (instr_sequence *)_PyInstructionSequence_New();
 1300|    608|    if (new_seq == NULL) {
  ------------------
  |  Branch (1300:9): [True: 0, False: 608]
  ------------------
 1301|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1302|      0|    }
 1303|    608|    assert(c->u->u_stashed_instr_sequence == NULL);
  ------------------
  |  Branch (1303:5): [True: 608, False: 0]
  ------------------
 1304|    608|    c->u->u_stashed_instr_sequence = c->u->u_instr_sequence;
 1305|    608|    c->u->u_instr_sequence = new_seq;
 1306|    608|    return SUCCESS;
  ------------------
  |  |   36|    608|#define SUCCESS 0
  ------------------
 1307|    608|}
_PyCompile_EndAnnotationSetup:
 1311|    599|{
 1312|    599|    assert(c->u->u_stashed_instr_sequence != NULL);
  ------------------
  |  Branch (1312:5): [True: 599, False: 0]
  ------------------
 1313|    599|    instr_sequence *parent_seq = c->u->u_stashed_instr_sequence;
 1314|    599|    instr_sequence *anno_seq = c->u->u_instr_sequence;
 1315|    599|    c->u->u_stashed_instr_sequence = NULL;
 1316|    599|    c->u->u_instr_sequence = parent_seq;
 1317|    599|    if (_PyInstructionSequence_SetAnnotationsCode(parent_seq, anno_seq) == ERROR) {
  ------------------
  |  |   37|    599|#define ERROR -1
  ------------------
  |  Branch (1317:9): [True: 0, False: 599]
  ------------------
 1318|      0|        Py_DECREF(anno_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1319|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1320|      0|    }
 1321|    599|    return SUCCESS;
  ------------------
  |  |   36|    599|#define SUCCESS 0
  ------------------
 1322|    599|}
_PyCompile_FutureFeatures:
 1327|  72.4k|{
 1328|  72.4k|    return c->c_future.ff_features;
 1329|  72.4k|}
_PyCompile_Symtable:
 1333|  11.0k|{
 1334|  11.0k|    return c->c_st;
 1335|  11.0k|}
_PyCompile_SymtableEntry:
 1339|   979k|{
 1340|   979k|    return c->u->u_ste;
 1341|   979k|}
_PyCompile_OptimizationLevel:
 1345|  3.49k|{
 1346|  3.49k|    return c->c_optimize;
 1347|  3.49k|}
_PyCompile_IsInteractiveTopLevel:
 1351|  89.8k|{
 1352|  89.8k|    assert(c->c_stack != NULL);
  ------------------
  |  Branch (1352:5): [True: 89.8k, False: 0]
  ------------------
 1353|  89.8k|    assert(PyList_CheckExact(c->c_stack));
  ------------------
  |  Branch (1353:5): [True: 89.8k, False: 0]
  ------------------
 1354|  89.8k|    bool is_nested_scope = PyList_GET_SIZE(c->c_stack) > 0;
  ------------------
  |  |   38|  89.8k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  89.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  89.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1355|  89.8k|    return c->c_interactive && !is_nested_scope;
  ------------------
  |  Branch (1355:12): [True: 3.40k, False: 86.4k]
  |  Branch (1355:32): [True: 3.38k, False: 26]
  ------------------
 1356|  89.8k|}
_PyCompile_ScopeType:
 1360|  63.3k|{
 1361|  63.3k|    return c->u->u_scope_type;
 1362|  63.3k|}
_PyCompile_IsInInlinedComp:
 1366|  52.6k|{
 1367|  52.6k|    return c->u->u_in_inlined_comp;
 1368|  52.6k|}
_PyCompile_Qualname:
 1372|  13.0k|{
 1373|  13.0k|    assert(c->u->u_metadata.u_qualname);
  ------------------
  |  Branch (1373:5): [True: 13.0k, False: 0]
  ------------------
 1374|  13.0k|    return c->u->u_metadata.u_qualname;
 1375|  13.0k|}
_PyCompile_Metadata:
 1379|   234k|{
 1380|   234k|    return &c->u->u_metadata;
 1381|   234k|}
_PyCompile_ConstCacheMergeOne:
 1386|   973k|{
 1387|   973k|    PyObject *key = const_cache_insert(const_cache, *obj, false);
 1388|   973k|    if (key == NULL) {
  ------------------
  |  Branch (1388:9): [True: 0, False: 973k]
  ------------------
 1389|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1390|      0|    }
 1391|   973k|    if (PyTuple_CheckExact(key)) {
  ------------------
  |  |   28|   973k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|   973k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   973k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   973k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 728k, False: 245k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1392|   728k|        PyObject *item = PyTuple_GET_ITEM(key, 1);
  ------------------
  |  |   29|   728k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   728k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   728k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1392:26): [True: 728k, False: 0]
  ------------------
 1393|   728k|        Py_SETREF(*obj, Py_NewRef(item));
  ------------------
  |  |  354|   728k|    do { \
  |  |  355|   728k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|   728k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|   728k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|   728k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|   728k|        *_tmp_dst_ptr = (src); \
  |  |  358|   728k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|   728k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   728k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   728k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|   728k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 728k]
  |  |  ------------------
  ------------------
 1394|   728k|        Py_DECREF(key);
  ------------------
  |  |  430|   728k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   728k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   728k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1395|   728k|    }
 1396|   245k|    else {
 1397|   245k|        Py_SETREF(*obj, key);
  ------------------
  |  |  354|   245k|    do { \
  |  |  355|   245k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|   245k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|   245k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|   245k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|   245k|        *_tmp_dst_ptr = (src); \
  |  |  358|   245k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|   245k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   245k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   245k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|   245k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 245k]
  |  |  ------------------
  ------------------
 1398|   245k|    }
 1399|   973k|    return SUCCESS;
  ------------------
  |  |   36|   973k|#define SUCCESS 0
  ------------------
 1400|   973k|}
_PyCompile_OptimizeAndAssemble:
 1509|  52.7k|{
 1510|  52.7k|    struct compiler_unit *u = c->u;
 1511|  52.7k|    PyObject *const_cache = c->c_const_cache;
 1512|  52.7k|    PyObject *filename = c->c_filename;
 1513|       |
 1514|  52.7k|    int code_flags = compute_code_flags(c);
 1515|  52.7k|    if (code_flags < 0) {
  ------------------
  |  Branch (1515:9): [True: 0, False: 52.7k]
  ------------------
 1516|      0|        return NULL;
 1517|      0|    }
 1518|       |
 1519|  52.7k|    if (_PyCodegen_AddReturnAtEnd(c, addNone) < 0) {
  ------------------
  |  Branch (1519:9): [True: 0, False: 52.7k]
  ------------------
 1520|      0|        return NULL;
 1521|      0|    }
 1522|       |
 1523|  52.7k|    return optimize_and_assemble_code_unit(u, const_cache, code_flags, filename);
 1524|  52.7k|}
_PyAST_Compile:
 1529|  10.8k|{
 1530|  10.8k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (1530:5): [True: 10.8k, False: 0]
  ------------------
 1531|  10.8k|    compiler *c = new_compiler(mod, filename, pflags, optimize, arena, module);
 1532|  10.8k|    if (c == NULL) {
  ------------------
  |  Branch (1532:9): [True: 268, False: 10.5k]
  ------------------
 1533|    268|        return NULL;
 1534|    268|    }
 1535|       |
 1536|  10.5k|    PyCodeObject *co = compiler_mod(c, mod);
 1537|  10.5k|    compiler_free(c);
 1538|  10.5k|    assert(co || PyErr_Occurred());
  ------------------
  |  Branch (1538:5): [True: 10.0k, False: 502]
  |  Branch (1538:5): [True: 502, False: 0]
  ------------------
 1539|  10.5k|    return co;
 1540|  10.5k|}
_PyCompile_AstPreprocess:
 1546|  1.87k|{
 1547|  1.87k|    _PyFutureFeatures future;
 1548|  1.87k|    if (!_PyFuture_FromAST(mod, filename, &future)) {
  ------------------
  |  Branch (1548:9): [True: 1, False: 1.87k]
  ------------------
 1549|      1|        return -1;
 1550|      1|    }
 1551|  1.87k|    int flags = future.ff_features | cf->cf_flags;
 1552|  1.87k|    if (optimize == -1) {
  ------------------
  |  Branch (1552:9): [True: 539, False: 1.33k]
  ------------------
 1553|    539|        optimize = _Py_GetConfig()->optimization_level;
 1554|    539|    }
 1555|  1.87k|    if (!_PyAST_Preprocess(mod, arena, filename, optimize, flags,
  ------------------
  |  Branch (1555:9): [True: 0, False: 1.87k]
  ------------------
 1556|  1.87k|                           no_const_folding, 0, module))
 1557|      0|    {
 1558|      0|        return -1;
 1559|      0|    }
 1560|  1.87k|    return 0;
 1561|  1.87k|}
_PyCompile_CleanDoc:
 1569|  1.94k|{
 1570|  1.94k|    doc = PyObject_CallMethod(doc, "expandtabs", NULL);
 1571|  1.94k|    if (doc == NULL) {
  ------------------
  |  Branch (1571:9): [True: 0, False: 1.94k]
  ------------------
 1572|      0|        return NULL;
 1573|      0|    }
 1574|       |
 1575|  1.94k|    Py_ssize_t doc_size;
 1576|  1.94k|    const char *doc_utf8 = PyUnicode_AsUTF8AndSize(doc, &doc_size);
 1577|  1.94k|    if (doc_utf8 == NULL) {
  ------------------
  |  Branch (1577:9): [True: 0, False: 1.94k]
  ------------------
 1578|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1579|      0|        return NULL;
 1580|      0|    }
 1581|  1.94k|    const char *p = doc_utf8;
 1582|  1.94k|    const char *pend = p + doc_size;
 1583|       |
 1584|       |    // First pass: find minimum indentation of any non-blank lines
 1585|       |    // after first line.
 1586|  49.5k|    while (p < pend && *p++ != '\n') {
  ------------------
  |  Branch (1586:12): [True: 48.2k, False: 1.28k]
  |  Branch (1586:24): [True: 47.6k, False: 661]
  ------------------
 1587|  47.6k|    }
 1588|       |
 1589|  1.94k|    Py_ssize_t margin = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  1.94k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1590|  30.3k|    while (p < pend) {
  ------------------
  |  Branch (1590:12): [True: 28.3k, False: 1.94k]
  ------------------
 1591|  28.3k|        const char *s = p;
 1592|  41.5k|        while (*p == ' ') p++;
  ------------------
  |  Branch (1592:16): [True: 13.2k, False: 28.3k]
  ------------------
 1593|  28.3k|        if (p < pend && *p != '\n') {
  ------------------
  |  Branch (1593:13): [True: 28.3k, False: 22]
  |  Branch (1593:25): [True: 3.79k, False: 24.5k]
  ------------------
 1594|  3.79k|            margin = Py_MIN(margin, p - s);
  ------------------
  |  |  112|  3.79k|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 675, False: 3.12k]
  |  |  ------------------
  ------------------
 1595|  3.79k|        }
 1596|   173k|        while (p < pend && *p++ != '\n') {
  ------------------
  |  Branch (1596:16): [True: 173k, False: 410]
  |  Branch (1596:28): [True: 145k, False: 27.9k]
  ------------------
 1597|   145k|        }
 1598|  28.3k|    }
 1599|  1.94k|    if (margin == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  1.94k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1599:9): [True: 1.30k, False: 644]
  ------------------
 1600|  1.30k|        margin = 0;
 1601|  1.30k|    }
 1602|       |
 1603|       |    // Second pass: write cleandoc into buff.
 1604|       |
 1605|       |    // copy first line without leading spaces.
 1606|  1.94k|    p = doc_utf8;
 1607|  4.99k|    while (*p == ' ') {
  ------------------
  |  Branch (1607:12): [True: 3.04k, False: 1.94k]
  ------------------
 1608|  3.04k|        p++;
 1609|  3.04k|    }
 1610|  1.94k|    if (p == doc_utf8 && margin == 0 ) {
  ------------------
  |  Branch (1610:9): [True: 808, False: 1.13k]
  |  Branch (1610:26): [True: 763, False: 45]
  ------------------
 1611|       |        // doc is already clean.
 1612|    763|        return doc;
 1613|    763|    }
 1614|       |
 1615|  1.18k|    char *buff = PyMem_Malloc(doc_size);
 1616|  1.18k|    if (buff == NULL){
  ------------------
  |  Branch (1616:9): [True: 0, False: 1.18k]
  ------------------
 1617|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1618|      0|        PyErr_NoMemory();
 1619|      0|        return NULL;
 1620|      0|    }
 1621|       |
 1622|  1.18k|    char *w = buff;
 1623|       |
 1624|  17.3k|    while (p < pend) {
  ------------------
  |  Branch (1624:12): [True: 16.5k, False: 794]
  ------------------
 1625|  16.5k|        int ch = *w++ = *p++;
 1626|  16.5k|        if (ch == '\n') {
  ------------------
  |  Branch (1626:13): [True: 390, False: 16.1k]
  ------------------
 1627|    390|            break;
 1628|    390|        }
 1629|  16.5k|    }
 1630|       |
 1631|       |    // copy subsequent lines without margin.
 1632|  29.0k|    while (p < pend) {
  ------------------
  |  Branch (1632:12): [True: 27.8k, False: 1.18k]
  ------------------
 1633|  29.1k|        for (Py_ssize_t i = 0; i < margin; i++, p++) {
  ------------------
  |  Branch (1633:32): [True: 1.42k, False: 27.7k]
  ------------------
 1634|  1.42k|            if (*p != ' ') {
  ------------------
  |  Branch (1634:17): [True: 108, False: 1.31k]
  ------------------
 1635|    108|                assert(*p == '\n' || *p == '\0');
  ------------------
  |  Branch (1635:17): [True: 107, False: 1]
  |  Branch (1635:17): [True: 1, False: 0]
  ------------------
 1636|    108|                break;
 1637|    108|            }
 1638|  1.42k|        }
 1639|   155k|        while (p < pend) {
  ------------------
  |  Branch (1639:16): [True: 155k, False: 142]
  ------------------
 1640|   155k|            int ch = *w++ = *p++;
 1641|   155k|            if (ch == '\n') {
  ------------------
  |  Branch (1641:17): [True: 27.7k, False: 127k]
  ------------------
 1642|  27.7k|                break;
 1643|  27.7k|            }
 1644|   155k|        }
 1645|  27.8k|    }
 1646|       |
 1647|  1.18k|    Py_DECREF(doc);
  ------------------
  |  |  430|  1.18k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1648|  1.18k|    PyObject *res = PyUnicode_FromStringAndSize(buff, w - buff);
 1649|  1.18k|    PyMem_Free(buff);
 1650|  1.18k|    return res;
 1651|  1.18k|}
compile.c:merge_consts_recursive:
  452|  1.27M|{
  453|       |    return const_cache_insert(const_cache, o, true);
  454|  1.27M|}
compile.c:compiler_unit_free:
  189|  53.3k|{
  190|  53.3k|    Py_CLEAR(u->u_instr_sequence);
  ------------------
  |  |  484|  53.3k|    do { \
  |  |  485|  53.3k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  53.3k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  53.3k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 53.3k, False: 0]
  |  |  ------------------
  |  |  488|  53.3k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  53.3k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  53.3k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  53.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  53.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  53.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  53.3k|        } \
  |  |  491|  53.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 53.3k]
  |  |  ------------------
  ------------------
  191|  53.3k|    Py_CLEAR(u->u_stashed_instr_sequence);
  ------------------
  |  |  484|  53.3k|    do { \
  |  |  485|  53.3k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  53.3k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  53.3k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 9, False: 53.3k]
  |  |  ------------------
  |  |  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|  53.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 53.3k]
  |  |  ------------------
  ------------------
  192|  53.3k|    Py_CLEAR(u->u_ste);
  ------------------
  |  |  484|  53.3k|    do { \
  |  |  485|  53.3k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  53.3k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  53.3k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 53.3k, False: 0]
  |  |  ------------------
  |  |  488|  53.3k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  53.3k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  53.3k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  53.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  53.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  53.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  53.3k|        } \
  |  |  491|  53.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 53.3k]
  |  |  ------------------
  ------------------
  193|  53.3k|    Py_CLEAR(u->u_metadata.u_name);
  ------------------
  |  |  484|  53.3k|    do { \
  |  |  485|  53.3k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  53.3k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  53.3k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 53.3k, False: 0]
  |  |  ------------------
  |  |  488|  53.3k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  53.3k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  53.3k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  53.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  53.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  53.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  53.3k|        } \
  |  |  491|  53.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 53.3k]
  |  |  ------------------
  ------------------
  194|  53.3k|    Py_CLEAR(u->u_metadata.u_qualname);
  ------------------
  |  |  484|  53.3k|    do { \
  |  |  485|  53.3k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  53.3k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  53.3k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 42.8k, False: 10.5k]
  |  |  ------------------
  |  |  488|  42.8k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  42.8k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  42.8k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  42.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  42.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  42.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  42.8k|        } \
  |  |  491|  53.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 53.3k]
  |  |  ------------------
  ------------------
  195|  53.3k|    Py_CLEAR(u->u_metadata.u_consts);
  ------------------
  |  |  484|  53.3k|    do { \
  |  |  485|  53.3k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  53.3k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  53.3k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 53.3k, False: 0]
  |  |  ------------------
  |  |  488|  53.3k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  53.3k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  53.3k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  53.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  53.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  53.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  53.3k|        } \
  |  |  491|  53.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 53.3k]
  |  |  ------------------
  ------------------
  196|  53.3k|    Py_CLEAR(u->u_metadata.u_names);
  ------------------
  |  |  484|  53.3k|    do { \
  |  |  485|  53.3k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  53.3k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  53.3k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 53.3k, False: 0]
  |  |  ------------------
  |  |  488|  53.3k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  53.3k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  53.3k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  53.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  53.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  53.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  53.3k|        } \
  |  |  491|  53.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 53.3k]
  |  |  ------------------
  ------------------
  197|  53.3k|    Py_CLEAR(u->u_metadata.u_varnames);
  ------------------
  |  |  484|  53.3k|    do { \
  |  |  485|  53.3k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  53.3k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  53.3k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 53.3k, False: 0]
  |  |  ------------------
  |  |  488|  53.3k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  53.3k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  53.3k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  53.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  53.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  53.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  53.3k|        } \
  |  |  491|  53.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 53.3k]
  |  |  ------------------
  ------------------
  198|  53.3k|    Py_CLEAR(u->u_metadata.u_freevars);
  ------------------
  |  |  484|  53.3k|    do { \
  |  |  485|  53.3k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  53.3k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  53.3k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 53.3k, False: 0]
  |  |  ------------------
  |  |  488|  53.3k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  53.3k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  53.3k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  53.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  53.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  53.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  53.3k|        } \
  |  |  491|  53.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 53.3k]
  |  |  ------------------
  ------------------
  199|  53.3k|    Py_CLEAR(u->u_metadata.u_cellvars);
  ------------------
  |  |  484|  53.3k|    do { \
  |  |  485|  53.3k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  53.3k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  53.3k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 53.3k, False: 0]
  |  |  ------------------
  |  |  488|  53.3k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  53.3k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  53.3k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  53.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  53.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  53.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  53.3k|        } \
  |  |  491|  53.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 53.3k]
  |  |  ------------------
  ------------------
  200|  53.3k|    Py_CLEAR(u->u_metadata.u_fasthidden);
  ------------------
  |  |  484|  53.3k|    do { \
  |  |  485|  53.3k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  53.3k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  53.3k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 53.3k, False: 0]
  |  |  ------------------
  |  |  488|  53.3k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  53.3k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  53.3k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  53.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  53.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  53.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  53.3k|        } \
  |  |  491|  53.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 53.3k]
  |  |  ------------------
  ------------------
  201|  53.3k|    Py_CLEAR(u->u_private);
  ------------------
  |  |  484|  53.3k|    do { \
  |  |  485|  53.3k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  53.3k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  53.3k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 23.9k, False: 29.3k]
  |  |  ------------------
  |  |  488|  23.9k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  23.9k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  23.9k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  23.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  23.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  23.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  23.9k|        } \
  |  |  491|  53.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 53.3k]
  |  |  ------------------
  ------------------
  202|  53.3k|    Py_CLEAR(u->u_static_attributes);
  ------------------
  |  |  484|  53.3k|    do { \
  |  |  485|  53.3k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  53.3k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  53.3k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 13.0k, False: 40.3k]
  |  |  ------------------
  |  |  488|  13.0k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  13.0k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  13.0k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  13.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  13.0k|        } \
  |  |  491|  53.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 53.3k]
  |  |  ------------------
  ------------------
  203|  53.3k|    Py_CLEAR(u->u_deferred_annotations);
  ------------------
  |  |  484|  53.3k|    do { \
  |  |  485|  53.3k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  53.3k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  53.3k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 6.52k, False: 46.8k]
  |  |  ------------------
  |  |  488|  6.52k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  6.52k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  6.52k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  6.52k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  6.52k|        } \
  |  |  491|  53.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 53.3k]
  |  |  ------------------
  ------------------
  204|       |    Py_CLEAR(u->u_conditional_annotation_indices);
  ------------------
  |  |  484|  53.3k|    do { \
  |  |  485|  53.3k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  53.3k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  53.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  53.3k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 6.52k, False: 46.8k]
  |  |  ------------------
  |  |  488|  6.52k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  6.52k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  6.52k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  6.52k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  6.52k|        } \
  |  |  491|  53.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 53.3k]
  |  |  ------------------
  ------------------
  205|  53.3k|    PyMem_Free(u);
  206|  53.3k|}
compile.c:list2dict:
  497|  53.3k|{
  498|  53.3k|    Py_ssize_t i, n;
  499|  53.3k|    PyObject *v, *k;
  500|  53.3k|    PyObject *dict = PyDict_New();
  501|  53.3k|    if (!dict) return NULL;
  ------------------
  |  Branch (501:9): [True: 0, False: 53.3k]
  ------------------
  502|       |
  503|  53.3k|    n = PyList_Size(list);
  504|  78.1k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (504:17): [True: 24.7k, False: 53.3k]
  ------------------
  505|  24.7k|        v = PyLong_FromSsize_t(i);
  506|  24.7k|        if (!v) {
  ------------------
  |  Branch (506:13): [True: 0, False: 24.7k]
  ------------------
  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|  24.7k|        k = PyList_GET_ITEM(list, i);
  ------------------
  |  |   40|  24.7k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  24.7k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (510:13): [True: 24.7k, False: 0]
  ------------------
  511|  24.7k|        if (PyDict_SetItem(dict, k, v) < 0) {
  ------------------
  |  Branch (511:13): [True: 0, False: 24.7k]
  ------------------
  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|  24.7k|        Py_DECREF(v);
  ------------------
  |  |  430|  24.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  517|  24.7k|    }
  518|  53.3k|    return dict;
  519|  53.3k|}
compile.c:dictbytype:
  531|   106k|{
  532|   106k|    Py_ssize_t i = offset, num_keys, key_i;
  533|   106k|    PyObject *k, *v, *dest = PyDict_New();
  534|   106k|    PyObject *sorted_keys;
  535|       |
  536|   106k|    assert(offset >= 0);
  ------------------
  |  Branch (536:5): [True: 106k, False: 0]
  ------------------
  537|   106k|    if (dest == NULL)
  ------------------
  |  Branch (537:9): [True: 0, False: 106k]
  ------------------
  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|   106k|    sorted_keys = PyDict_Keys(src);
  546|   106k|    if (sorted_keys == NULL) {
  ------------------
  |  Branch (546:9): [True: 0, False: 106k]
  ------------------
  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|   106k|    if (PyList_Sort(sorted_keys) != 0) {
  ------------------
  |  Branch (550:9): [True: 0, False: 106k]
  ------------------
  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|   106k|    num_keys = PyList_GET_SIZE(sorted_keys);
  ------------------
  |  |   38|   106k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   106k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   106k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  556|       |
  557|   577k|    for (key_i = 0; key_i < num_keys; key_i++) {
  ------------------
  |  Branch (557:21): [True: 470k, False: 106k]
  ------------------
  558|   470k|        k = PyList_GET_ITEM(sorted_keys, key_i);
  ------------------
  |  |   40|   470k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|   470k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   470k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (558:13): [True: 470k, False: 0]
  ------------------
  559|      0|        v = PyDict_GetItemWithError(src, k);
  560|   470k|        if (!v) {
  ------------------
  |  Branch (560:13): [True: 0, False: 470k]
  ------------------
  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|   470k|        long vi = PyLong_AsLong(v);
  569|   470k|        if (vi == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (569:13): [True: 0, False: 470k]
  |  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|   470k|        if (SYMBOL_TO_SCOPE(vi) == scope_type || vi & flag) {
  ------------------
  |  |  185|   470k|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  183|   470k|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  184|   470k|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|   470k|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  166|   470k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  167|   470k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  168|   470k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (574:13): [True: 14.7k, False: 455k]
  |  Branch (574:50): [True: 0, False: 455k]
  ------------------
  575|  14.7k|            PyObject *item = PyLong_FromSsize_t(i);
  576|  14.7k|            if (item == NULL) {
  ------------------
  |  Branch (576:17): [True: 0, False: 14.7k]
  ------------------
  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|  14.7k|            i++;
  582|  14.7k|            if (PyDict_SetItem(dest, k, item) < 0) {
  ------------------
  |  Branch (582:17): [True: 0, False: 14.7k]
  ------------------
  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|  14.7k|            Py_DECREF(item);
  ------------------
  |  |  430|  14.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  589|  14.7k|        }
  590|   470k|    }
  591|   106k|    Py_DECREF(sorted_keys);
  ------------------
  |  |  430|   106k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   106k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   106k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  592|   106k|    return dest;
  593|   106k|}
compile.c:compiler_set_qualname:
  238|  42.8k|{
  239|  42.8k|    Py_ssize_t stack_size;
  240|  42.8k|    struct compiler_unit *u = c->u;
  241|  42.8k|    PyObject *name, *base;
  242|       |
  243|  42.8k|    base = NULL;
  244|  42.8k|    stack_size = PyList_GET_SIZE(c->c_stack);
  ------------------
  |  |   38|  42.8k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  42.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  245|  42.8k|    assert(stack_size >= 1);
  ------------------
  |  Branch (245:5): [True: 42.8k, False: 0]
  ------------------
  246|  42.8k|    if (stack_size > 1) {
  ------------------
  |  Branch (246:9): [True: 18.1k, False: 24.6k]
  ------------------
  247|  18.1k|        int scope, force_global = 0;
  248|  18.1k|        struct compiler_unit *parent;
  249|  18.1k|        PyObject *mangled, *capsule;
  250|       |
  251|  18.1k|        capsule = PyList_GET_ITEM(c->c_stack, stack_size - 1);
  ------------------
  |  |   40|  18.1k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  18.1k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (251:19): [True: 18.1k, False: 0]
  ------------------
  252|  18.1k|        parent = (struct compiler_unit *)PyCapsule_GetPointer(capsule, CAPSULE_NAME);
  ------------------
  |  |  208|  18.1k|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  253|  18.1k|        assert(parent);
  ------------------
  |  Branch (253:9): [True: 18.1k, False: 0]
  ------------------
  254|  18.1k|        if (parent->u_scope_type == COMPILE_SCOPE_ANNOTATIONS) {
  ------------------
  |  Branch (254:13): [True: 7.96k, False: 10.2k]
  ------------------
  255|       |            /* The parent is an annotation scope, so we need to
  256|       |               look at the grandparent. */
  257|  7.96k|            if (stack_size == 2) {
  ------------------
  |  Branch (257:17): [True: 6.65k, False: 1.31k]
  ------------------
  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|  6.65k|                u->u_metadata.u_qualname = Py_NewRef(u->u_metadata.u_name);
  ------------------
  |  |  550|  6.65k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.65k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.65k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  261|  6.65k|                return SUCCESS;
  ------------------
  |  |   36|  6.65k|#define SUCCESS 0
  ------------------
  262|  6.65k|            }
  263|  1.31k|            capsule = PyList_GET_ITEM(c->c_stack, stack_size - 2);
  ------------------
  |  |   40|  1.31k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  1.31k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (263:23): [True: 1.31k, False: 0]
  ------------------
  264|  1.31k|            parent = (struct compiler_unit *)PyCapsule_GetPointer(capsule, CAPSULE_NAME);
  ------------------
  |  |  208|  1.31k|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  265|  1.31k|            assert(parent);
  ------------------
  |  Branch (265:13): [True: 1.31k, False: 0]
  ------------------
  266|  1.31k|        }
  267|       |
  268|  11.5k|        if (u->u_scope_type == COMPILE_SCOPE_FUNCTION
  ------------------
  |  Branch (268:13): [True: 1, False: 11.5k]
  ------------------
  269|  11.5k|            || u->u_scope_type == COMPILE_SCOPE_ASYNC_FUNCTION
  ------------------
  |  Branch (269:16): [True: 0, False: 11.5k]
  ------------------
  270|  11.5k|            || u->u_scope_type == COMPILE_SCOPE_CLASS) {
  ------------------
  |  Branch (270:16): [True: 888, False: 10.6k]
  ------------------
  271|    889|            assert(u->u_metadata.u_name);
  ------------------
  |  Branch (271:13): [True: 889, False: 0]
  ------------------
  272|    889|            mangled = _Py_Mangle(parent->u_private, u->u_metadata.u_name);
  273|    889|            if (!mangled) {
  ------------------
  |  Branch (273:17): [True: 0, False: 889]
  ------------------
  274|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  275|      0|            }
  276|       |
  277|    889|            scope = _PyST_GetScope(parent->u_ste, mangled);
  278|    889|            Py_DECREF(mangled);
  ------------------
  |  |  430|    889|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    889|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    889|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  279|    889|            RETURN_IF_ERROR(scope);
  ------------------
  |  |   40|    889|    do {                    \
  |  |   41|    889|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 889]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|    889|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 889]
  |  |  ------------------
  ------------------
  280|    889|            assert(scope != GLOBAL_IMPLICIT);
  ------------------
  |  Branch (280:13): [True: 889, False: 0]
  ------------------
  281|    889|            if (scope == GLOBAL_EXPLICIT)
  ------------------
  |  |  188|    889|#define GLOBAL_EXPLICIT 2
  ------------------
  |  Branch (281:17): [True: 0, False: 889]
  ------------------
  282|      0|                force_global = 1;
  283|    889|        }
  284|       |
  285|  11.5k|        if (!force_global) {
  ------------------
  |  Branch (285:13): [True: 11.5k, False: 0]
  ------------------
  286|  11.5k|            if (parent->u_scope_type == COMPILE_SCOPE_FUNCTION
  ------------------
  |  Branch (286:17): [True: 27, False: 11.4k]
  ------------------
  287|  11.4k|                || parent->u_scope_type == COMPILE_SCOPE_ASYNC_FUNCTION
  ------------------
  |  Branch (287:20): [True: 1.71k, False: 9.78k]
  ------------------
  288|  9.78k|                || parent->u_scope_type == COMPILE_SCOPE_LAMBDA)
  ------------------
  |  Branch (288:20): [True: 3.28k, False: 6.49k]
  ------------------
  289|  5.03k|            {
  290|  5.03k|                _Py_DECLARE_STR(dot_locals, ".<locals>");
  291|  5.03k|                base = PyUnicode_Concat(parent->u_metadata.u_qualname,
  292|  5.03k|                                        &_Py_STR(dot_locals));
  ------------------
  |  |  923|  5.03k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  5.03k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  5.03k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  293|  5.03k|                if (base == NULL) {
  ------------------
  |  Branch (293:21): [True: 0, False: 5.03k]
  ------------------
  294|      0|                    return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  295|      0|                }
  296|  5.03k|            }
  297|  6.49k|            else {
  298|  6.49k|                base = Py_NewRef(parent->u_metadata.u_qualname);
  ------------------
  |  |  550|  6.49k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  299|  6.49k|            }
  300|  11.5k|        }
  301|  11.5k|        if (u->u_ste->ste_function_name != NULL) {
  ------------------
  |  Branch (301:13): [True: 1, False: 11.5k]
  ------------------
  302|      1|            PyObject *tmp = base;
  303|      1|            base = PyUnicode_FromFormat("%U.%U",
  304|      1|                base,
  305|      1|                u->u_ste->ste_function_name);
  306|      1|            Py_DECREF(tmp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  307|      1|            if (base == NULL) {
  ------------------
  |  Branch (307:17): [True: 0, False: 1]
  ------------------
  308|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  309|      0|            }
  310|      1|        }
  311|  11.5k|    }
  312|  24.6k|    else if (u->u_ste->ste_function_name != NULL) {
  ------------------
  |  Branch (312:14): [True: 3.45k, False: 21.1k]
  ------------------
  313|  3.45k|        base = Py_NewRef(u->u_ste->ste_function_name);
  ------------------
  |  |  550|  3.45k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  314|  3.45k|    }
  315|       |
  316|  36.1k|    if (base != NULL) {
  ------------------
  |  Branch (316:9): [True: 14.9k, False: 21.1k]
  ------------------
  317|  14.9k|        name = PyUnicode_Concat(base, _Py_LATIN1_CHR('.'));
  ------------------
  |  |  925|  14.9k|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (925:6): [True: 14.9k, Folded]
  |  |  ------------------
  |  |  926|  14.9k|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|  14.9k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  14.9k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  927|  14.9k|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  318|  14.9k|        Py_DECREF(base);
  ------------------
  |  |  430|  14.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  319|  14.9k|        if (name == NULL) {
  ------------------
  |  Branch (319:13): [True: 0, False: 14.9k]
  ------------------
  320|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  321|      0|        }
  322|  14.9k|        PyUnicode_Append(&name, u->u_metadata.u_name);
  323|  14.9k|        if (name == NULL) {
  ------------------
  |  Branch (323:13): [True: 0, False: 14.9k]
  ------------------
  324|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  325|      0|        }
  326|  14.9k|    }
  327|  21.1k|    else {
  328|  21.1k|        name = Py_NewRef(u->u_metadata.u_name);
  ------------------
  |  |  550|  21.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  21.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  329|  21.1k|    }
  330|  36.1k|    u->u_metadata.u_qualname = name;
  331|       |
  332|  36.1k|    return SUCCESS;
  ------------------
  |  |   36|  36.1k|#define SUCCESS 0
  ------------------
  333|  36.1k|}
compile.c:dict_lookup_arg:
  937|  18.4k|{
  938|  18.4k|    PyObject *v = PyDict_GetItemWithError(dict, name);
  939|  18.4k|    if (v == NULL) {
  ------------------
  |  Branch (939:9): [True: 0, False: 18.4k]
  ------------------
  940|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  941|      0|    }
  942|  18.4k|    return PyLong_AsLong(v);
  943|  18.4k|}
compile.c:const_cache_insert:
  340|  2.25M|{
  341|  2.25M|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (341:5): [True: 2.25M, False: 0]
  ------------------
  342|       |    // None and Ellipsis are immortal objects, and key is the singleton.
  343|       |    // No need to merge object and key.
  344|  2.25M|    if (o == Py_None || o == Py_Ellipsis) {
  ------------------
  |  |  616|  4.51M|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (o == Py_None || o == Py_Ellipsis) {
  ------------------
  |  |   14|  2.10M|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (344:9): [True: 153k, False: 2.10M]
  |  Branch (344:25): [True: 1.23k, False: 2.10M]
  ------------------
  345|   154k|        return o;
  346|   154k|    }
  347|       |
  348|  2.10M|    PyObject *key = _PyCode_ConstantKey(o);
  349|  2.10M|    if (key == NULL) {
  ------------------
  |  Branch (349:9): [True: 0, False: 2.10M]
  ------------------
  350|      0|        return NULL;
  351|      0|    }
  352|       |
  353|  2.10M|    PyObject *t;
  354|  2.10M|    int res = PyDict_SetDefaultRef(const_cache, key, key, &t);
  355|  2.10M|    if (res != 0) {
  ------------------
  |  Branch (355:9): [True: 1.67M, False: 426k]
  ------------------
  356|       |        // o was not inserted into const_cache. t is either the existing value
  357|       |        // or NULL (on error).
  358|  1.67M|        Py_DECREF(key);
  ------------------
  |  |  430|  1.67M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.67M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.67M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  359|  1.67M|        return t;
  360|  1.67M|    }
  361|   426k|    Py_DECREF(t);
  ------------------
  |  |  430|   426k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   426k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   426k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  362|       |
  363|   426k|    if (!recursive) {
  ------------------
  |  Branch (363:9): [True: 279k, False: 147k]
  ------------------
  364|   279k|        return key;
  365|   279k|    }
  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|   147k|    if (PyTuple_CheckExact(o)) {
  ------------------
  |  |   28|   147k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|   147k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   147k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   147k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.63k, False: 144k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|  2.63k|        Py_ssize_t len = PyTuple_GET_SIZE(o);
  ------------------
  |  |   27|  2.63k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|  5.28k|        for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (372:32): [True: 2.64k, False: 2.63k]
  ------------------
  373|  2.64k|            PyObject *item = PyTuple_GET_ITEM(o, i);
  ------------------
  |  |   29|  2.64k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.64k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (373:30): [True: 2.64k, False: 0]
  ------------------
  374|      0|            PyObject *u = const_cache_insert(const_cache, item, recursive);
  375|  2.64k|            if (u == NULL) {
  ------------------
  |  Branch (375:17): [True: 0, False: 2.64k]
  ------------------
  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|  2.64k|            PyObject *v;  // borrowed
  382|  2.64k|            if (PyTuple_CheckExact(u)) {
  ------------------
  |  |   28|  2.64k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  2.64k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 2.64k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|  2.64k|            else {
  386|  2.64k|                v = u;
  387|  2.64k|            }
  388|  2.64k|            if (v != item) {
  ------------------
  |  Branch (388:17): [True: 0, False: 2.64k]
  ------------------
  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|  2.64k|            Py_DECREF(u);
  ------------------
  |  |  430|  2.64k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  394|  2.64k|        }
  395|  2.63k|    }
  396|   144k|    else if (PyFrozenSet_CheckExact(o)) {
  ------------------
  |  |   23|   144k|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|   144k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   144k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   144k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 144k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|   147k|    return key;
  448|   147k|}
compile.c:compute_code_flags:
 1429|  52.7k|{
 1430|  52.7k|    PySTEntryObject *ste = c->u->u_ste;
 1431|  52.7k|    int flags = 0;
 1432|  52.7k|    if (_PyST_IsFunctionLike(ste)) {
  ------------------
  |  Branch (1432:9): [True: 29.6k, False: 23.0k]
  ------------------
 1433|  29.6k|        flags |= CO_NEWLOCALS | CO_OPTIMIZED;
  ------------------
  |  |  123|  29.6k|#define CO_NEWLOCALS    0x0002
  ------------------
                      flags |= CO_NEWLOCALS | CO_OPTIMIZED;
  ------------------
  |  |  122|  29.6k|#define CO_OPTIMIZED    0x0001
  ------------------
 1434|  29.6k|        if (ste->ste_nested)
  ------------------
  |  Branch (1434:13): [True: 10.9k, False: 18.7k]
  ------------------
 1435|  10.9k|            flags |= CO_NESTED;
  ------------------
  |  |  126|  10.9k|#define CO_NESTED       0x0010
  ------------------
 1436|  29.6k|        if (ste->ste_generator && !ste->ste_coroutine)
  ------------------
  |  Branch (1436:13): [True: 428, False: 29.2k]
  |  Branch (1436:35): [True: 369, False: 59]
  ------------------
 1437|    369|            flags |= CO_GENERATOR;
  ------------------
  |  |  127|    369|#define CO_GENERATOR    0x0020
  ------------------
 1438|  29.6k|        if (ste->ste_generator && ste->ste_coroutine)
  ------------------
  |  Branch (1438:13): [True: 428, False: 29.2k]
  |  Branch (1438:35): [True: 59, False: 369]
  ------------------
 1439|     59|            flags |= CO_ASYNC_GENERATOR;
  ------------------
  |  |  133|     59|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
 1440|  29.6k|        if (ste->ste_varargs)
  ------------------
  |  Branch (1440:13): [True: 2.65k, False: 27.0k]
  ------------------
 1441|  2.65k|            flags |= CO_VARARGS;
  ------------------
  |  |  124|  2.65k|#define CO_VARARGS      0x0004
  ------------------
 1442|  29.6k|        if (ste->ste_varkeywords)
  ------------------
  |  Branch (1442:13): [True: 815, False: 28.8k]
  ------------------
 1443|    815|            flags |= CO_VARKEYWORDS;
  ------------------
  |  |  125|    815|#define CO_VARKEYWORDS  0x0008
  ------------------
 1444|  29.6k|        if (ste->ste_has_docstring)
  ------------------
  |  Branch (1444:13): [True: 628, False: 29.0k]
  ------------------
 1445|    628|            flags |= CO_HAS_DOCSTRING;
  ------------------
  |  |  154|    628|#define CO_HAS_DOCSTRING 0x4000000
  ------------------
 1446|  29.6k|        if (ste->ste_method)
  ------------------
  |  Branch (1446:13): [True: 16, False: 29.6k]
  ------------------
 1447|     16|            flags |= CO_METHOD;
  ------------------
  |  |  157|     16|#define CO_METHOD  0x8000000
  ------------------
 1448|  29.6k|    }
 1449|       |
 1450|  52.7k|    if (ste->ste_coroutine && !ste->ste_generator) {
  ------------------
  |  Branch (1450:9): [True: 2.59k, False: 50.1k]
  |  Branch (1450:31): [True: 2.53k, False: 59]
  ------------------
 1451|  2.53k|        flags |= CO_COROUTINE;
  ------------------
  |  |  131|  2.53k|#define CO_COROUTINE            0x0080
  ------------------
 1452|  2.53k|    }
 1453|       |
 1454|       |    /* (Only) inherit compilerflags in PyCF_MASK */
 1455|  52.7k|    flags |= (c->c_flags.cf_flags & PyCF_MASK);
  ------------------
  |  |    6|  52.7k|#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  139|  52.7k|#define CO_FUTURE_DIVISION      0x20000
  |  |  ------------------
  |  |               #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  140|  52.7k|#define CO_FUTURE_ABSOLUTE_IMPORT 0x40000 /* do absolute imports by default */
  |  |  ------------------
  |  |    7|  52.7k|                   CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  141|  52.7k|#define CO_FUTURE_WITH_STATEMENT  0x80000
  |  |  ------------------
  |  |                                  CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  142|  52.7k|#define CO_FUTURE_PRINT_FUNCTION  0x100000
  |  |  ------------------
  |  |    8|  52.7k|                   CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  143|  52.7k|#define CO_FUTURE_UNICODE_LITERALS 0x200000
  |  |  ------------------
  |  |                                  CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  145|  52.7k|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  |  |  ------------------
  |  |    9|  52.7k|                   CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  146|  52.7k|#define CO_FUTURE_GENERATOR_STOP  0x800000
  |  |  ------------------
  |  |                                  CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  147|  52.7k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  |  |  ------------------
  ------------------
 1456|       |
 1457|  52.7k|    return flags;
 1458|  52.7k|}
compile.c:optimize_and_assemble_code_unit:
 1463|  52.7k|{
 1464|  52.7k|    cfg_builder *g = NULL;
 1465|  52.7k|    instr_sequence optimized_instrs;
 1466|  52.7k|    memset(&optimized_instrs, 0, sizeof(instr_sequence));
 1467|       |
 1468|  52.7k|    PyCodeObject *co = NULL;
 1469|  52.7k|    PyObject *consts = consts_dict_keys_inorder(u->u_metadata.u_consts);
 1470|  52.7k|    if (consts == NULL) {
  ------------------
  |  Branch (1470:9): [True: 0, False: 52.7k]
  ------------------
 1471|      0|        goto error;
 1472|      0|    }
 1473|  52.7k|    g = _PyCfg_FromInstructionSequence(u->u_instr_sequence);
 1474|  52.7k|    if (g == NULL) {
  ------------------
  |  Branch (1474:9): [True: 0, False: 52.7k]
  ------------------
 1475|      0|        goto error;
 1476|      0|    }
 1477|  52.7k|    int nlocals = (int)PyDict_GET_SIZE(u->u_metadata.u_varnames);
  ------------------
  |  |   63|  52.7k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1478|  52.7k|    int nparams = (int)PyList_GET_SIZE(u->u_ste->ste_varnames);
  ------------------
  |  |   38|  52.7k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1479|  52.7k|    assert(u->u_metadata.u_firstlineno);
  ------------------
  |  Branch (1479:5): [True: 52.7k, False: 0]
  ------------------
 1480|       |
 1481|  52.7k|    if (_PyCfg_OptimizeCodeUnit(g, consts, const_cache, nlocals,
  ------------------
  |  Branch (1481:9): [True: 0, False: 52.7k]
  ------------------
 1482|  52.7k|                                nparams, u->u_metadata.u_firstlineno) < 0) {
 1483|      0|        goto error;
 1484|      0|    }
 1485|       |
 1486|  52.7k|    int stackdepth;
 1487|  52.7k|    int nlocalsplus;
 1488|  52.7k|    if (_PyCfg_OptimizedCfgToInstructionSequence(g, &u->u_metadata,
  ------------------
  |  Branch (1488:9): [True: 0, False: 52.7k]
  ------------------
 1489|  52.7k|                                                 &stackdepth, &nlocalsplus,
 1490|  52.7k|                                                 &optimized_instrs) < 0) {
 1491|      0|        goto error;
 1492|      0|    }
 1493|       |
 1494|       |    /** Assembly **/
 1495|  52.7k|    co = _PyAssemble_MakeCodeObject(&u->u_metadata, const_cache, consts,
 1496|  52.7k|                                    stackdepth, &optimized_instrs, nlocalsplus,
 1497|  52.7k|                                    code_flags, filename);
 1498|       |
 1499|  52.7k|error:
 1500|  52.7k|    Py_XDECREF(consts);
  ------------------
  |  |  524|  52.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1501|  52.7k|    PyInstructionSequence_Fini(&optimized_instrs);
 1502|  52.7k|    _PyCfgBuilder_Free(g);
 1503|  52.7k|    return co;
 1504|  52.7k|}
compile.c:new_compiler:
  174|  10.8k|{
  175|  10.8k|    compiler *c = PyMem_Calloc(1, sizeof(compiler));
  176|  10.8k|    if (c == NULL) {
  ------------------
  |  Branch (176:9): [True: 0, False: 10.8k]
  ------------------
  177|      0|        PyErr_NoMemory();
  178|      0|        return NULL;
  179|      0|    }
  180|  10.8k|    if (compiler_setup(c, mod, filename, pflags, optimize, arena, module) < 0) {
  ------------------
  |  Branch (180:9): [True: 268, False: 10.5k]
  ------------------
  181|    268|        compiler_free(c);
  182|    268|        return NULL;
  183|    268|    }
  184|  10.5k|    return c;
  185|  10.8k|}
compile.c:compiler_setup:
  115|  10.8k|{
  116|  10.8k|    PyCompilerFlags local_flags = _PyCompilerFlags_INIT;
  ------------------
  |  |   33|  10.8k|    (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
  |  |  ------------------
  |  |  |  |   24|  10.8k|#define PY_MINOR_VERSION        16
  |  |  ------------------
  ------------------
  117|       |
  118|  10.8k|    c->c_const_cache = PyDict_New();
  119|  10.8k|    if (!c->c_const_cache) {
  ------------------
  |  Branch (119:9): [True: 0, False: 10.8k]
  ------------------
  120|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  121|      0|    }
  122|       |
  123|  10.8k|    c->c_stack = PyList_New(0);
  124|  10.8k|    if (!c->c_stack) {
  ------------------
  |  Branch (124:9): [True: 0, False: 10.8k]
  ------------------
  125|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  126|      0|    }
  127|       |
  128|  10.8k|    c->c_filename = Py_NewRef(filename);
  ------------------
  |  |  550|  10.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  129|  10.8k|    if (!_PyFuture_FromAST(mod, filename, &c->c_future)) {
  ------------------
  |  Branch (129:9): [True: 14, False: 10.8k]
  ------------------
  130|     14|        return ERROR;
  ------------------
  |  |   37|     14|#define ERROR -1
  ------------------
  131|     14|    }
  132|  10.8k|    c->c_module = Py_XNewRef(module);
  ------------------
  |  |  551|  10.8k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  133|  10.8k|    if (!flags) {
  ------------------
  |  Branch (133:9): [True: 0, False: 10.8k]
  ------------------
  134|      0|        flags = &local_flags;
  135|      0|    }
  136|  10.8k|    int merged = c->c_future.ff_features | flags->cf_flags;
  137|  10.8k|    c->c_future.ff_features = merged;
  138|  10.8k|    flags->cf_flags = merged;
  139|  10.8k|    c->c_flags = *flags;
  140|  10.8k|    c->c_optimize = (optimize == -1) ? _Py_GetConfig()->optimization_level : optimize;
  ------------------
  |  Branch (140:21): [True: 3.13k, False: 7.68k]
  ------------------
  141|  10.8k|    c->c_save_nested_seqs = false;
  142|       |
  143|  10.8k|    if (!_PyAST_Preprocess(mod, arena, filename, c->c_optimize, merged,
  ------------------
  |  Branch (143:9): [True: 0, False: 10.8k]
  ------------------
  144|  10.8k|                           0, 1, module))
  145|      0|    {
  146|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  147|      0|    }
  148|  10.8k|    c->c_st = _PySymtable_Build(mod, filename, &c->c_future);
  149|  10.8k|    if (c->c_st == NULL) {
  ------------------
  |  Branch (149:9): [True: 254, False: 10.5k]
  ------------------
  150|    254|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (150:13): [True: 0, False: 254]
  ------------------
  151|      0|            PyErr_SetString(PyExc_SystemError, "no symtable");
  152|      0|        }
  153|    254|        return ERROR;
  ------------------
  |  |   37|    254|#define ERROR -1
  ------------------
  154|    254|    }
  155|  10.5k|    return SUCCESS;
  ------------------
  |  |   36|  10.5k|#define SUCCESS 0
  ------------------
  156|  10.8k|}
compile.c:compiler_mod:
  894|  10.5k|{
  895|  10.5k|    PyCodeObject *co = NULL;
  896|  10.5k|    int addNone = mod->kind != Expression_kind;
  897|  10.5k|    assert(c->u == NULL);
  ------------------
  |  Branch (897:5): [True: 10.5k, False: 0]
  ------------------
  898|  10.5k|    if (compiler_codegen(c, mod) < 0) {
  ------------------
  |  Branch (898:9): [True: 502, False: 10.0k]
  ------------------
  899|    502|        goto finally;
  900|    502|    }
  901|  10.0k|    co = _PyCompile_OptimizeAndAssemble(c, addNone);
  902|  10.5k|finally:
  903|  10.5k|    if (c->u != NULL) {
  ------------------
  |  Branch (903:9): [True: 10.5k, False: 0]
  ------------------
  904|  10.5k|        _PyCompile_ExitScope(c);
  905|  10.5k|    }
  906|  10.5k|    return co;
  907|  10.0k|}
compile.c:compiler_free:
  160|  10.8k|{
  161|  10.8k|    if (c->c_st) {
  ------------------
  |  Branch (161:9): [True: 10.5k, False: 268]
  ------------------
  162|  10.5k|        _PySymtable_Free(c->c_st);
  163|  10.5k|    }
  164|  10.8k|    Py_XDECREF(c->c_filename);
  ------------------
  |  |  524|  10.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|  10.8k|    Py_XDECREF(c->c_module);
  ------------------
  |  |  524|  10.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  166|  10.8k|    Py_XDECREF(c->c_const_cache);
  ------------------
  |  |  524|  10.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  167|  10.8k|    Py_XDECREF(c->c_stack);
  ------------------
  |  |  524|  10.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  168|  10.8k|    PyMem_Free(c);
  169|  10.8k|}
compile.c:compiler_codegen:
  864|  10.5k|{
  865|  10.5k|    RETURN_IF_ERROR(_PyCodegen_EnterAnonymousScope(c, mod));
  ------------------
  |  |   40|  10.5k|    do {                    \
  |  |   41|  10.5k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 10.5k]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|  10.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 10.5k]
  |  |  ------------------
  ------------------
  866|  10.5k|    assert(c->u->u_scope_type == COMPILE_SCOPE_MODULE);
  ------------------
  |  Branch (866:5): [True: 10.5k, False: 0]
  ------------------
  867|  10.5k|    switch (mod->kind) {
  868|  7.25k|    case Module_kind: {
  ------------------
  |  Branch (868:5): [True: 7.25k, False: 3.31k]
  ------------------
  869|  7.25k|        asdl_stmt_seq *stmts = mod->v.Module.body;
  870|  7.25k|        RETURN_IF_ERROR(_PyCodegen_Module(c, start_location(stmts), stmts, false));
  ------------------
  |  |   40|  7.25k|    do {                    \
  |  |   41|  7.25k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 341, False: 6.91k]
  |  |  ------------------
  |  |   42|    341|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|    341|#define ERROR -1
  |  |  ------------------
  |  |   43|    341|        }                   \
  |  |   44|  7.25k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 6.91k]
  |  |  ------------------
  ------------------
  871|  6.91k|        break;
  872|  7.25k|    }
  873|  6.91k|    case Interactive_kind: {
  ------------------
  |  Branch (873:5): [True: 1.80k, False: 8.75k]
  ------------------
  874|  1.80k|        c->c_interactive = 1;
  875|  1.80k|        asdl_stmt_seq *stmts = mod->v.Interactive.body;
  876|  1.80k|        RETURN_IF_ERROR(_PyCodegen_Module(c, start_location(stmts), stmts, true));
  ------------------
  |  |   40|  1.80k|    do {                    \
  |  |   41|  1.80k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 121, False: 1.68k]
  |  |  ------------------
  |  |   42|    121|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|    121|#define ERROR -1
  |  |  ------------------
  |  |   43|    121|        }                   \
  |  |   44|  1.80k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 1.68k]
  |  |  ------------------
  ------------------
  877|  1.68k|        break;
  878|  1.80k|    }
  879|  1.68k|    case Expression_kind: {
  ------------------
  |  Branch (879:5): [True: 1.50k, False: 9.05k]
  ------------------
  880|  1.50k|        RETURN_IF_ERROR(_PyCodegen_Expression(c, mod->v.Expression.body));
  ------------------
  |  |   40|  1.50k|    do {                    \
  |  |   41|  1.50k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 40, False: 1.46k]
  |  |  ------------------
  |  |   42|     40|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|     40|#define ERROR -1
  |  |  ------------------
  |  |   43|     40|        }                   \
  |  |   44|  1.50k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 1.46k]
  |  |  ------------------
  ------------------
  881|  1.46k|        break;
  882|  1.50k|    }
  883|  1.46k|    default: {
  ------------------
  |  Branch (883:5): [True: 0, False: 10.5k]
  ------------------
  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|  1.50k|    }}
  889|  10.0k|    return SUCCESS;
  ------------------
  |  |   36|  10.0k|#define SUCCESS 0
  ------------------
  890|  10.5k|}
compile.c:start_location:
  849|  9.05k|{
  850|  9.05k|    if (asdl_seq_LEN(stmts) > 0) {
  ------------------
  |  |   83|  9.05k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  18.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 91, False: 8.96k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (850:9): [True: 8.96k, False: 91]
  ------------------
  851|       |        /* Set current line number to the line number of first statement.
  852|       |         * This way line number for SETUP_ANNOTATIONS will always
  853|       |         * coincide with the line number of first "real" statement in module.
  854|       |         * If body is empty, then lineno will be set later in the assembly stage.
  855|       |         */
  856|  8.96k|        stmt_ty st = (stmt_ty)asdl_seq_GET(stmts, 0);
  ------------------
  |  |   82|  8.96k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  8.96k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  857|  8.96k|        return SRC_LOCATION_FROM_AST(st);
  ------------------
  |  |   54|  8.96k|    (_Py_SourceLocation){ \
  |  |   55|  8.96k|               .lineno = (n)->lineno, \
  |  |   56|  8.96k|               .end_lineno = (n)->end_lineno, \
  |  |   57|  8.96k|               .col_offset = (n)->col_offset, \
  |  |   58|  8.96k|               .end_col_offset = (n)->end_col_offset }
  ------------------
  858|  8.96k|    }
  859|     91|    return (const _Py_SourceLocation){1, 1, 0, 0};
  860|  9.05k|}
compile.c:consts_dict_keys_inorder:
 1404|  52.7k|{
 1405|  52.7k|    PyObject *consts, *k, *v;
 1406|  52.7k|    Py_ssize_t i, pos = 0, size = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|  52.7k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1407|       |
 1408|  52.7k|    consts = PyList_New(size);   /* PyCode_Optimize() requires a list */
 1409|  52.7k|    if (consts == NULL)
  ------------------
  |  Branch (1409:9): [True: 0, False: 52.7k]
  ------------------
 1410|      0|        return NULL;
 1411|   330k|    while (PyDict_Next(dict, &pos, &k, &v)) {
  ------------------
  |  Branch (1411:12): [True: 277k, False: 52.7k]
  ------------------
 1412|   277k|        assert(PyLong_CheckExact(v));
  ------------------
  |  Branch (1412:9): [True: 277k, False: 0]
  ------------------
 1413|   277k|        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|   277k|        if (PyTuple_CheckExact(k)) {
  ------------------
  |  |   28|   277k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|   277k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   277k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   277k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 34.9k, False: 242k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1418|  34.9k|            k = PyTuple_GET_ITEM(k, 1);
  ------------------
  |  |   29|  34.9k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  34.9k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  34.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1418:17): [True: 34.9k, False: 0]
  ------------------
 1419|  34.9k|        }
 1420|   277k|        assert(i < size);
  ------------------
  |  Branch (1420:9): [True: 277k, False: 0]
  ------------------
 1421|   277k|        assert(i >= 0);
  ------------------
  |  Branch (1421:9): [True: 277k, False: 0]
  ------------------
 1422|   277k|        PyList_SET_ITEM(consts, i, Py_NewRef(k));
  ------------------
  |  |   50|   277k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   277k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   277k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   277k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   277k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1423|   277k|    }
 1424|  52.7k|    return consts;
 1425|  52.7k|}

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|  48.4k|{
  281|  48.4k|    ENSURE_ContextVar(ovar, -1)
  ------------------
  |  |   29|  48.4k|    if (!PyContextVar_CheckExact(o)) {                              \
  |  |  ------------------
  |  |  |  |   19|  48.4k|#define PyContextVar_CheckExact(o) Py_IS_TYPE((o), &PyContextVar_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  48.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (29:9): [True: 0, False: 48.4k]
  |  |  ------------------
  |  |   30|      0|        PyErr_SetString(PyExc_TypeError,                            \
  |  |   31|      0|                       "an instance of ContextVar was expected");   \
  |  |   32|      0|        return err_ret;                                             \
  |  |   33|      0|    }
  ------------------
  282|  48.4k|    PyContextVar *var = (PyContextVar *)ovar;
  283|       |
  284|  48.4k|    PyThreadState *ts = _PyThreadState_GET();
  285|  48.4k|    assert(ts != NULL);
  ------------------
  |  Branch (285:5): [True: 48.4k, False: 0]
  ------------------
  286|  48.4k|    if (ts->context == NULL) {
  ------------------
  |  Branch (286:9): [True: 28.0k, False: 20.4k]
  ------------------
  287|  28.0k|        goto not_found;
  288|  28.0k|    }
  289|       |
  290|  20.4k|#ifndef Py_GIL_DISABLED
  291|  20.4k|    if (var->var_cached != NULL &&
  ------------------
  |  Branch (291:9): [True: 0, False: 20.4k]
  ------------------
  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|  20.4k|#endif
  299|       |
  300|  20.4k|    assert(PyContext_CheckExact(ts->context));
  ------------------
  |  Branch (300:5): [True: 20.4k, False: 0]
  ------------------
  301|  20.4k|    PyHamtObject *vars = ((PyContext *)ts->context)->ctx_vars;
  302|       |
  303|  20.4k|    PyObject *found = NULL;
  304|  20.4k|    int res = _PyHamt_Find(vars, (PyObject*)var, &found);
  305|  20.4k|    if (res < 0) {
  ------------------
  |  Branch (305:9): [True: 0, False: 20.4k]
  ------------------
  306|      0|        goto error;
  307|      0|    }
  308|  20.4k|    if (res == 1) {
  ------------------
  |  Branch (308:9): [True: 0, False: 20.4k]
  ------------------
  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|  48.4k|not_found:
  321|  48.4k|    if (def == NULL) {
  ------------------
  |  Branch (321:9): [True: 48.4k, False: 0]
  ------------------
  322|  48.4k|        if (var->var_default != NULL) {
  ------------------
  |  Branch (322:13): [True: 0, False: 48.4k]
  ------------------
  323|      0|            *val = var->var_default;
  324|      0|            goto found;
  325|      0|        }
  326|       |
  327|  48.4k|        *val = NULL;
  328|  48.4k|        goto found;
  329|  48.4k|    }
  330|      0|    else {
  331|      0|        *val = def;
  332|      0|        goto found;
  333|      0|   }
  334|       |
  335|  48.4k|found:
  336|  48.4k|    Py_XINCREF(*val);
  ------------------
  |  |  514|  48.4k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  337|  48.4k|    return 0;
  338|       |
  339|      0|error:
  340|       |    *val = NULL;
  341|      0|    return -1;
  342|  48.4k|}
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);
  ------------------
  |  |  505|      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|     14|{
  532|     14|    PyContext *self = _PyContext_CAST(op);
  ------------------
  |  |  424|     14|#define _PyContext_CAST(op)     ((PyContext *)(op))
  ------------------
  533|     14|    Py_VISIT(self->ctx_prev);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  534|     14|    Py_VISIT(self->ctx_vars);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  535|     14|    return 0;
  536|     14|}
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);
  ------------------
  |  |  354|      1|    do { \
  |  |  355|      1|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      1|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      1|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359: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|  20.4k|{
  967|  20.4k|    PyContextVar *self = _PyContextVar_CAST(op);
  ------------------
  |  |  914|  20.4k|#define _PyContextVar_CAST(op)  ((PyContextVar *)(op))
  ------------------
  968|  20.4k|    return self->var_hash;
  969|  20.4k|}
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|}

_Py_dg_strtod:
 1385|   451k|{
 1386|   451k|    int bb2, bb5, bbe, bd2, bd5, bs2, c, dsign, e, e1, error;
 1387|   451k|    int esign, i, j, k, lz, nd, nd0, odd, sign;
 1388|   451k|    const char *s, *s0, *s1;
 1389|   451k|    double aadj, aadj1;
 1390|   451k|    U aadj2, adj, rv, rv0;
 1391|   451k|    ULong y, z, abs_exp;
 1392|   451k|    Long L;
 1393|   451k|    BCinfo bc;
 1394|   451k|    Bigint *bb = NULL, *bd = NULL, *bd0 = NULL, *bs = NULL, *delta = NULL;
 1395|   451k|    size_t ndigits, fraclen;
 1396|   451k|    double result;
 1397|       |
 1398|   451k|    dval(&rv) = 0.;
  ------------------
  |  |  184|   451k|#define dval(x) (x)->d
  ------------------
 1399|       |
 1400|       |    /* Start parsing. */
 1401|   451k|    c = *(s = s00);
 1402|       |
 1403|       |    /* Parse optional sign, if present. */
 1404|   451k|    sign = 0;
 1405|   451k|    switch (c) {
  ------------------
  |  Branch (1405:13): [True: 0, False: 451k]
  ------------------
 1406|      0|    case '-':
  ------------------
  |  Branch (1406:5): [True: 0, False: 451k]
  ------------------
 1407|      0|        sign = 1;
 1408|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1409|      0|    case '+':
  ------------------
  |  Branch (1409:5): [True: 0, False: 451k]
  ------------------
 1410|      0|        c = *++s;
 1411|   451k|    }
 1412|       |
 1413|       |    /* Skip leading zeros: lz is true iff there were leading zeros. */
 1414|   451k|    s1 = s;
 1415|   575k|    while (c == '0')
  ------------------
  |  Branch (1415:12): [True: 124k, False: 451k]
  ------------------
 1416|   124k|        c = *++s;
 1417|   451k|    lz = s != s1;
 1418|       |
 1419|       |    /* Point s0 at the first nonzero digit (if any).  fraclen will be the
 1420|       |       number of digits between the decimal point and the end of the
 1421|       |       digit string.  ndigits will be the total number of digits ignoring
 1422|       |       leading zeros. */
 1423|   451k|    s0 = s1 = s;
 1424|  1.97M|    while ('0' <= c && c <= '9')
  ------------------
  |  Branch (1424:12): [True: 1.81M, False: 159k]
  |  Branch (1424:24): [True: 1.52M, False: 291k]
  ------------------
 1425|  1.52M|        c = *++s;
 1426|   451k|    ndigits = s - s1;
 1427|   451k|    fraclen = 0;
 1428|       |
 1429|       |    /* Parse decimal point and following digits. */
 1430|   451k|    if (c == '.') {
  ------------------
  |  Branch (1430:9): [True: 159k, False: 291k]
  ------------------
 1431|   159k|        c = *++s;
 1432|   159k|        if (!ndigits) {
  ------------------
  |  Branch (1432:13): [True: 48.6k, False: 111k]
  ------------------
 1433|  48.6k|            s1 = s;
 1434|  52.0k|            while (c == '0')
  ------------------
  |  Branch (1434:20): [True: 3.35k, False: 48.6k]
  ------------------
 1435|  3.35k|                c = *++s;
 1436|  48.6k|            lz = lz || s != s1;
  ------------------
  |  Branch (1436:18): [True: 14.3k, False: 34.3k]
  |  Branch (1436:24): [True: 1.02k, False: 33.3k]
  ------------------
 1437|  48.6k|            fraclen += (s - s1);
 1438|  48.6k|            s0 = s;
 1439|  48.6k|        }
 1440|   159k|        s1 = s;
 1441|   570k|        while ('0' <= c && c <= '9')
  ------------------
  |  Branch (1441:16): [True: 429k, False: 140k]
  |  Branch (1441:28): [True: 410k, False: 19.1k]
  ------------------
 1442|   410k|            c = *++s;
 1443|   159k|        ndigits += s - s1;
 1444|   159k|        fraclen += s - s1;
 1445|   159k|    }
 1446|       |
 1447|       |    /* Now lz is true if and only if there were leading zero digits, and
 1448|       |       ndigits gives the total number of digits ignoring leading zeros.  A
 1449|       |       valid input must have at least one digit. */
 1450|   451k|    if (!ndigits && !lz) {
  ------------------
  |  Branch (1450:9): [True: 38.9k, False: 412k]
  |  Branch (1450:21): [True: 0, False: 38.9k]
  ------------------
 1451|      0|        if (se)
  ------------------
  |  Branch (1451:13): [True: 0, False: 0]
  ------------------
 1452|      0|            *se = (char *)s00;
 1453|      0|        goto parse_error;
 1454|      0|    }
 1455|       |
 1456|       |    /* Range check ndigits and fraclen to make sure that they, and values
 1457|       |       computed with them, can safely fit in an int. */
 1458|   451k|    if (ndigits > MAX_DIGITS || fraclen > MAX_DIGITS) {
  ------------------
  |  |  202|   902k|#define MAX_DIGITS 1000000000U
  ------------------
                  if (ndigits > MAX_DIGITS || fraclen > MAX_DIGITS) {
  ------------------
  |  |  202|   451k|#define MAX_DIGITS 1000000000U
  ------------------
  |  Branch (1458:9): [True: 0, False: 451k]
  |  Branch (1458:33): [True: 0, False: 451k]
  ------------------
 1459|      0|        if (se)
  ------------------
  |  Branch (1459:13): [True: 0, False: 0]
  ------------------
 1460|      0|            *se = (char *)s00;
 1461|      0|        goto parse_error;
 1462|      0|    }
 1463|   451k|    nd = (int)ndigits;
 1464|   451k|    nd0 = (int)ndigits - (int)fraclen;
 1465|       |
 1466|       |    /* Parse exponent. */
 1467|   451k|    e = 0;
 1468|   451k|    if (c == 'e' || c == 'E') {
  ------------------
  |  Branch (1468:9): [True: 113k, False: 337k]
  |  Branch (1468:21): [True: 13.8k, False: 324k]
  ------------------
 1469|   127k|        s00 = s;
 1470|   127k|        c = *++s;
 1471|       |
 1472|       |        /* Exponent sign. */
 1473|   127k|        esign = 0;
 1474|   127k|        switch (c) {
  ------------------
  |  Branch (1474:17): [True: 24.3k, False: 102k]
  ------------------
 1475|  21.8k|        case '-':
  ------------------
  |  Branch (1475:9): [True: 21.8k, False: 105k]
  ------------------
 1476|  21.8k|            esign = 1;
 1477|  21.8k|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|  21.8k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1478|  24.3k|        case '+':
  ------------------
  |  Branch (1478:9): [True: 2.52k, False: 124k]
  ------------------
 1479|  24.3k|            c = *++s;
 1480|   127k|        }
 1481|       |
 1482|       |        /* Skip zeros.  lz is true iff there are leading zeros. */
 1483|   127k|        s1 = s;
 1484|   141k|        while (c == '0')
  ------------------
  |  Branch (1484:16): [True: 14.0k, False: 127k]
  ------------------
 1485|  14.0k|            c = *++s;
 1486|   127k|        lz = s != s1;
 1487|       |
 1488|       |        /* Get absolute value of the exponent. */
 1489|   127k|        s1 = s;
 1490|   127k|        abs_exp = 0;
 1491|   510k|        while ('0' <= c && c <= '9') {
  ------------------
  |  Branch (1491:16): [True: 397k, False: 112k]
  |  Branch (1491:28): [True: 383k, False: 14.3k]
  ------------------
 1492|   383k|            abs_exp = 10*abs_exp + (c - '0');
 1493|   383k|            c = *++s;
 1494|   383k|        }
 1495|       |
 1496|       |        /* abs_exp will be correct modulo 2**32.  But 10**9 < 2**32, so if
 1497|       |           there are at most 9 significant exponent digits then overflow is
 1498|       |           impossible. */
 1499|   127k|        if (s - s1 > 9 || abs_exp > MAX_ABS_EXP)
  ------------------
  |  |  194|   125k|#define MAX_ABS_EXP 1100000000U
  ------------------
  |  Branch (1499:13): [True: 2.09k, False: 125k]
  |  Branch (1499:27): [True: 0, False: 125k]
  ------------------
 1500|  2.09k|            e = (int)MAX_ABS_EXP;
  ------------------
  |  |  194|  2.09k|#define MAX_ABS_EXP 1100000000U
  ------------------
 1501|   125k|        else
 1502|   125k|            e = (int)abs_exp;
 1503|   127k|        if (esign)
  ------------------
  |  Branch (1503:13): [True: 21.8k, False: 105k]
  ------------------
 1504|  21.8k|            e = -e;
 1505|       |
 1506|       |        /* A valid exponent must have at least one digit. */
 1507|   127k|        if (s == s1 && !lz)
  ------------------
  |  Branch (1507:13): [True: 917, False: 126k]
  |  Branch (1507:24): [True: 0, False: 917]
  ------------------
 1508|      0|            s = s00;
 1509|   127k|    }
 1510|       |
 1511|       |    /* Adjust exponent to take into account position of the point. */
 1512|   451k|    e -= nd - nd0;
 1513|   451k|    if (nd0 <= 0)
  ------------------
  |  Branch (1513:9): [True: 74.9k, False: 376k]
  ------------------
 1514|  74.9k|        nd0 = nd;
 1515|       |
 1516|       |    /* Finished parsing.  Set se to indicate how far we parsed */
 1517|   451k|    if (se)
  ------------------
  |  Branch (1517:9): [True: 451k, False: 0]
  ------------------
 1518|   451k|        *se = (char *)s;
 1519|       |
 1520|       |    /* If all digits were zero, exit with return value +-0.0.  Otherwise,
 1521|       |       strip trailing zeros: scan back until we hit a nonzero digit. */
 1522|   451k|    if (!nd)
  ------------------
  |  Branch (1522:9): [True: 38.9k, False: 412k]
  ------------------
 1523|  38.9k|        goto ret;
 1524|   472k|    for (i = nd; i > 0; ) {
  ------------------
  |  Branch (1524:18): [True: 472k, False: 0]
  ------------------
 1525|   472k|        --i;
 1526|   472k|        if (s0[i < nd0 ? i : i+1] != '0') {
  ------------------
  |  Branch (1526:13): [True: 412k, False: 60.2k]
  |  Branch (1526:16): [True: 397k, False: 75.4k]
  ------------------
 1527|   412k|            ++i;
 1528|   412k|            break;
 1529|   412k|        }
 1530|   472k|    }
 1531|   412k|    e += nd - i;
 1532|   412k|    nd = i;
 1533|   412k|    if (nd0 > nd)
  ------------------
  |  Branch (1533:9): [True: 28.0k, False: 384k]
  ------------------
 1534|  28.0k|        nd0 = nd;
 1535|       |
 1536|       |    /* Summary of parsing results.  After parsing, and dealing with zero
 1537|       |     * inputs, we have values s0, nd0, nd, e, sign, where:
 1538|       |     *
 1539|       |     *  - s0 points to the first significant digit of the input string
 1540|       |     *
 1541|       |     *  - nd is the total number of significant digits (here, and
 1542|       |     *    below, 'significant digits' means the set of digits of the
 1543|       |     *    significand of the input that remain after ignoring leading
 1544|       |     *    and trailing zeros).
 1545|       |     *
 1546|       |     *  - nd0 indicates the position of the decimal point, if present; it
 1547|       |     *    satisfies 1 <= nd0 <= nd.  The nd significant digits are in
 1548|       |     *    s0[0:nd0] and s0[nd0+1:nd+1] using the usual Python half-open slice
 1549|       |     *    notation.  (If nd0 < nd, then s0[nd0] contains a '.'  character; if
 1550|       |     *    nd0 == nd, then s0[nd0] could be any non-digit character.)
 1551|       |     *
 1552|       |     *  - e is the adjusted exponent: the absolute value of the number
 1553|       |     *    represented by the original input string is n * 10**e, where
 1554|       |     *    n is the integer represented by the concatenation of
 1555|       |     *    s0[0:nd0] and s0[nd0+1:nd+1]
 1556|       |     *
 1557|       |     *  - sign gives the sign of the input:  1 for negative, 0 for positive
 1558|       |     *
 1559|       |     *  - the first and last significant digits are nonzero
 1560|       |     */
 1561|       |
 1562|       |    /* put first DBL_DIG+1 digits into integer y and z.
 1563|       |     *
 1564|       |     *  - y contains the value represented by the first min(9, nd)
 1565|       |     *    significant digits
 1566|       |     *
 1567|       |     *  - if nd > 9, z contains the value represented by significant digits
 1568|       |     *    with indices in [9, min(16, nd)).  So y * 10**(min(16, nd) - 9) + z
 1569|       |     *    gives the value represented by the first min(16, nd) sig. digits.
 1570|       |     */
 1571|       |
 1572|   412k|    bc.e0 = e1 = e;
 1573|   412k|    y = z = 0;
 1574|  1.83M|    for (i = 0; i < nd; i++) {
  ------------------
  |  Branch (1574:17): [True: 1.45M, False: 385k]
  ------------------
 1575|  1.45M|        if (i < 9)
  ------------------
  |  Branch (1575:13): [True: 1.13M, False: 317k]
  ------------------
 1576|  1.13M|            y = 10*y + s0[i < nd0 ? i : i+1] - '0';
  ------------------
  |  Branch (1576:27): [True: 1.05M, False: 80.1k]
  ------------------
 1577|   317k|        else if (i < DBL_DIG+1)
  ------------------
  |  Branch (1577:18): [True: 290k, False: 27.0k]
  ------------------
 1578|   290k|            z = 10*z + s0[i < nd0 ? i : i+1] - '0';
  ------------------
  |  Branch (1578:27): [True: 241k, False: 48.7k]
  ------------------
 1579|  27.0k|        else
 1580|  27.0k|            break;
 1581|  1.45M|    }
 1582|       |
 1583|   412k|    k = nd < DBL_DIG + 1 ? nd : DBL_DIG + 1;
  ------------------
  |  Branch (1583:9): [True: 377k, False: 34.9k]
  ------------------
 1584|   412k|    dval(&rv) = y;
  ------------------
  |  |  184|   412k|#define dval(x) (x)->d
  ------------------
 1585|   412k|    if (k > 9) {
  ------------------
  |  Branch (1585:9): [True: 52.1k, False: 360k]
  ------------------
 1586|  52.1k|        dval(&rv) = tens[k - 9] * dval(&rv) + z;
  ------------------
  |  |  184|  52.1k|#define dval(x) (x)->d
  ------------------
                      dval(&rv) = tens[k - 9] * dval(&rv) + z;
  ------------------
  |  |  184|  52.1k|#define dval(x) (x)->d
  ------------------
 1587|  52.1k|    }
 1588|   412k|    if (nd <= DBL_DIG
  ------------------
  |  Branch (1588:9): [True: 377k, False: 34.9k]
  ------------------
 1589|   377k|        && Flt_Rounds == 1
  ------------------
  |  |  261|   377k|#define Flt_Rounds FLT_ROUNDS
  ------------------
  |  Branch (1589:12): [True: 377k, False: 0]
  ------------------
 1590|   412k|        ) {
 1591|   377k|        if (!e)
  ------------------
  |  Branch (1591:13): [True: 188k, False: 188k]
  ------------------
 1592|   188k|            goto ret;
 1593|   188k|        if (e > 0) {
  ------------------
  |  Branch (1593:13): [True: 107k, False: 81.1k]
  ------------------
 1594|   107k|            if (e <= Ten_pmax) {
  ------------------
  |  |  248|   107k|#define Ten_pmax 22
  ------------------
  |  Branch (1594:17): [True: 29.8k, False: 77.4k]
  ------------------
 1595|  29.8k|                dval(&rv) *= tens[e];
  ------------------
  |  |  184|  29.8k|#define dval(x) (x)->d
  ------------------
 1596|  29.8k|                goto ret;
 1597|  29.8k|            }
 1598|  77.4k|            i = DBL_DIG - nd;
 1599|  77.4k|            if (e <= Ten_pmax + i) {
  ------------------
  |  |  248|  77.4k|#define Ten_pmax 22
  ------------------
  |  Branch (1599:17): [True: 18.8k, False: 58.5k]
  ------------------
 1600|       |                /* A fancier test would sometimes let us do
 1601|       |                 * this for larger i values.
 1602|       |                 */
 1603|  18.8k|                e -= i;
 1604|  18.8k|                dval(&rv) *= tens[i];
  ------------------
  |  |  184|  18.8k|#define dval(x) (x)->d
  ------------------
 1605|  18.8k|                dval(&rv) *= tens[e];
  ------------------
  |  |  184|  18.8k|#define dval(x) (x)->d
  ------------------
 1606|  18.8k|                goto ret;
 1607|  18.8k|            }
 1608|  77.4k|        }
 1609|  81.1k|        else if (e >= -Ten_pmax) {
  ------------------
  |  |  248|  81.1k|#define Ten_pmax 22
  ------------------
  |  Branch (1609:18): [True: 67.9k, False: 13.2k]
  ------------------
 1610|  67.9k|            dval(&rv) /= tens[-e];
  ------------------
  |  |  184|  67.9k|#define dval(x) (x)->d
  ------------------
 1611|  67.9k|            goto ret;
 1612|  67.9k|        }
 1613|   188k|    }
 1614|   106k|    e1 += nd - k;
 1615|       |
 1616|   106k|    bc.scale = 0;
 1617|       |
 1618|       |    /* Get starting approximation = rv * 10**e1 */
 1619|       |
 1620|   106k|    if (e1 > 0) {
  ------------------
  |  Branch (1620:9): [True: 73.0k, False: 33.6k]
  ------------------
 1621|  73.0k|        if ((i = e1 & 15))
  ------------------
  |  Branch (1621:13): [True: 70.0k, False: 3.00k]
  ------------------
 1622|  70.0k|            dval(&rv) *= tens[i];
  ------------------
  |  |  184|  70.0k|#define dval(x) (x)->d
  ------------------
 1623|  73.0k|        if (e1 &= ~15) {
  ------------------
  |  Branch (1623:13): [True: 64.3k, False: 8.67k]
  ------------------
 1624|  64.3k|            if (e1 > DBL_MAX_10_EXP)
  ------------------
  |  Branch (1624:17): [True: 37.6k, False: 26.7k]
  ------------------
 1625|  37.6k|                goto ovfl;
 1626|  26.7k|            e1 >>= 4;
 1627|  80.9k|            for(j = 0; e1 > 1; j++, e1 >>= 1)
  ------------------
  |  Branch (1627:24): [True: 54.2k, False: 26.7k]
  ------------------
 1628|  54.2k|                if (e1 & 1)
  ------------------
  |  Branch (1628:21): [True: 26.7k, False: 27.5k]
  ------------------
 1629|  26.7k|                    dval(&rv) *= bigtens[j];
  ------------------
  |  |  184|  26.7k|#define dval(x) (x)->d
  ------------------
 1630|       |            /* The last multiplication could overflow. */
 1631|  26.7k|            word0(&rv) -= P*Exp_msk1;
  ------------------
  |  |  178|  26.7k|#define word0(x) (x)->L[1]
  ------------------
                          word0(&rv) -= P*Exp_msk1;
  ------------------
  |  |  237|  26.7k|#define P 53
  ------------------
                          word0(&rv) -= P*Exp_msk1;
  ------------------
  |  |  234|  26.7k|#define Exp_msk1    0x100000
  ------------------
 1632|  26.7k|            dval(&rv) *= bigtens[j];
  ------------------
  |  |  184|  26.7k|#define dval(x) (x)->d
  ------------------
 1633|  26.7k|            if ((z = word0(&rv) & Exp_mask)
  ------------------
  |  |  178|  26.7k|#define word0(x) (x)->L[1]
  ------------------
                          if ((z = word0(&rv) & Exp_mask)
  ------------------
  |  |  236|  26.7k|#define Exp_mask  0x7ff00000
  ------------------
  |  Branch (1633:17): [True: 258, False: 26.4k]
  ------------------
 1634|  26.7k|                > Exp_msk1*(DBL_MAX_EXP+Bias-P))
  ------------------
  |  |  234|  26.7k|#define Exp_msk1    0x100000
  ------------------
                              > Exp_msk1*(DBL_MAX_EXP+Bias-P))
  ------------------
  |  |  239|  26.7k|#define Bias 1023
  ------------------
                              > Exp_msk1*(DBL_MAX_EXP+Bias-P))
  ------------------
  |  |  237|  26.7k|#define P 53
  ------------------
 1635|    258|                goto ovfl;
 1636|  26.4k|            if (z > Exp_msk1*(DBL_MAX_EXP+Bias-1-P)) {
  ------------------
  |  |  234|  26.4k|#define Exp_msk1    0x100000
  ------------------
                          if (z > Exp_msk1*(DBL_MAX_EXP+Bias-1-P)) {
  ------------------
  |  |  239|  26.4k|#define Bias 1023
  ------------------
                          if (z > Exp_msk1*(DBL_MAX_EXP+Bias-1-P)) {
  ------------------
  |  |  237|  26.4k|#define P 53
  ------------------
  |  Branch (1636:17): [True: 26, False: 26.4k]
  ------------------
 1637|       |                /* set to largest number */
 1638|       |                /* (Can't trust DBL_MAX) */
 1639|     26|                word0(&rv) = Big0;
  ------------------
  |  |  178|     26|#define word0(x) (x)->L[1]
  ------------------
                              word0(&rv) = Big0;
  ------------------
  |  |  269|     26|#define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  247|     26|#define Frac_mask1 0xfffff
  |  |  ------------------
  |  |               #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  234|     26|#define Exp_msk1    0x100000
  |  |  ------------------
  |  |               #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  239|     26|#define Bias 1023
  |  |  ------------------
  ------------------
 1640|     26|                word1(&rv) = Big1;
  ------------------
  |  |  179|     26|#define word1(x) (x)->L[0]
  ------------------
                              word1(&rv) = Big1;
  ------------------
  |  |  270|     26|#define Big1 0xffffffff
  ------------------
 1641|     26|            }
 1642|  26.4k|            else
 1643|  26.4k|                word0(&rv) += P*Exp_msk1;
  ------------------
  |  |  178|  26.4k|#define word0(x) (x)->L[1]
  ------------------
                              word0(&rv) += P*Exp_msk1;
  ------------------
  |  |  237|  26.4k|#define P 53
  ------------------
                              word0(&rv) += P*Exp_msk1;
  ------------------
  |  |  234|  26.4k|#define Exp_msk1    0x100000
  ------------------
 1644|  26.4k|        }
 1645|  73.0k|    }
 1646|  33.6k|    else if (e1 < 0) {
  ------------------
  |  Branch (1646:14): [True: 28.8k, False: 4.80k]
  ------------------
 1647|       |        /* The input decimal value lies in [10**e1, 10**(e1+16)).
 1648|       |
 1649|       |           If e1 <= -512, underflow immediately.
 1650|       |           If e1 <= -256, set bc.scale to 2*P.
 1651|       |
 1652|       |           So for input value < 1e-256, bc.scale is always set;
 1653|       |           for input value >= 1e-240, bc.scale is never set.
 1654|       |           For input values in [1e-256, 1e-240), bc.scale may or may
 1655|       |           not be set. */
 1656|       |
 1657|  28.8k|        e1 = -e1;
 1658|  28.8k|        if ((i = e1 & 15))
  ------------------
  |  Branch (1658:13): [True: 23.7k, False: 5.07k]
  ------------------
 1659|  23.7k|            dval(&rv) /= tens[i];
  ------------------
  |  |  184|  23.7k|#define dval(x) (x)->d
  ------------------
 1660|  28.8k|        if (e1 >>= 4) {
  ------------------
  |  Branch (1660:13): [True: 17.3k, False: 11.4k]
  ------------------
 1661|  17.3k|            if (e1 >= 1 << n_bigtens)
  ------------------
  |  | 1117|  17.3k|#define n_bigtens 5
  ------------------
  |  Branch (1661:17): [True: 5.17k, False: 12.2k]
  ------------------
 1662|  5.17k|                goto undfl;
 1663|  12.2k|            if (e1 & Scale_Bit)
  ------------------
  |  | 1116|  12.2k|#define Scale_Bit 0x10
  ------------------
  |  Branch (1663:17): [True: 7.54k, False: 4.66k]
  ------------------
 1664|  7.54k|                bc.scale = 2*P;
  ------------------
  |  |  237|  7.54k|#define P 53
  ------------------
 1665|  57.8k|            for(j = 0; e1 > 0; j++, e1 >>= 1)
  ------------------
  |  Branch (1665:24): [True: 45.6k, False: 12.2k]
  ------------------
 1666|  45.6k|                if (e1 & 1)
  ------------------
  |  Branch (1666:21): [True: 24.3k, False: 21.3k]
  ------------------
 1667|  24.3k|                    dval(&rv) *= tinytens[j];
  ------------------
  |  |  184|  24.3k|#define dval(x) (x)->d
  ------------------
 1668|  12.2k|            if (bc.scale && (j = 2*P + 1 - ((word0(&rv) & Exp_mask)
  ------------------
  |  |  237|  7.54k|#define P 53
  ------------------
                          if (bc.scale && (j = 2*P + 1 - ((word0(&rv) & Exp_mask)
  ------------------
  |  |  178|  7.54k|#define word0(x) (x)->L[1]
  ------------------
                          if (bc.scale && (j = 2*P + 1 - ((word0(&rv) & Exp_mask)
  ------------------
  |  |  236|  7.54k|#define Exp_mask  0x7ff00000
  ------------------
  |  Branch (1668:17): [True: 7.54k, False: 4.66k]
  |  Branch (1668:29): [True: 6.08k, False: 1.45k]
  ------------------
 1669|  7.54k|                                            >> Exp_shift)) > 0) {
  ------------------
  |  |  232|  7.54k|#define Exp_shift  20
  ------------------
 1670|       |                /* scaled rv is denormal; clear j low bits */
 1671|  6.08k|                if (j >= 32) {
  ------------------
  |  Branch (1671:21): [True: 4.83k, False: 1.25k]
  ------------------
 1672|  4.83k|                    word1(&rv) = 0;
  ------------------
  |  |  179|  4.83k|#define word1(x) (x)->L[0]
  ------------------
 1673|  4.83k|                    if (j >= 53)
  ------------------
  |  Branch (1673:25): [True: 2.28k, False: 2.55k]
  ------------------
 1674|  2.28k|                        word0(&rv) = (P+2)*Exp_msk1;
  ------------------
  |  |  178|  2.28k|#define word0(x) (x)->L[1]
  ------------------
                                      word0(&rv) = (P+2)*Exp_msk1;
  ------------------
  |  |  237|  2.28k|#define P 53
  ------------------
                                      word0(&rv) = (P+2)*Exp_msk1;
  ------------------
  |  |  234|  2.28k|#define Exp_msk1    0x100000
  ------------------
 1675|  2.55k|                    else
 1676|  2.55k|                        word0(&rv) &= 0xffffffff << (j-32);
  ------------------
  |  |  178|  2.55k|#define word0(x) (x)->L[1]
  ------------------
 1677|  4.83k|                }
 1678|  1.25k|                else
 1679|  1.25k|                    word1(&rv) &= 0xffffffff << j;
  ------------------
  |  |  179|  1.25k|#define word1(x) (x)->L[0]
  ------------------
 1680|  6.08k|            }
 1681|  12.2k|            if (!dval(&rv))
  ------------------
  |  |  184|  12.2k|#define dval(x) (x)->d
  ------------------
  |  Branch (1681:17): [True: 0, False: 12.2k]
  ------------------
 1682|      0|                goto undfl;
 1683|  12.2k|        }
 1684|  28.8k|    }
 1685|       |
 1686|       |    /* Now the hard part -- adjusting rv to the correct value.*/
 1687|       |
 1688|       |    /* Put digits into bd: true value = bd * 10^e */
 1689|       |
 1690|  63.6k|    bc.nd = nd;
 1691|  63.6k|    bc.nd0 = nd0;       /* Only needed if nd > STRTOD_DIGLIM, but done here */
 1692|       |                        /* to silence an erroneous warning about bc.nd0 */
 1693|       |                        /* possibly not being initialized. */
 1694|  63.6k|    if (nd > STRTOD_DIGLIM) {
  ------------------
  |  |  187|  63.6k|#define STRTOD_DIGLIM 40
  ------------------
  |  Branch (1694:9): [True: 7.28k, False: 56.3k]
  ------------------
 1695|       |        /* ASSERT(STRTOD_DIGLIM >= 18); 18 == one more than the */
 1696|       |        /* minimum number of decimal digits to distinguish double values */
 1697|       |        /* in IEEE arithmetic. */
 1698|       |
 1699|       |        /* Truncate input to 18 significant digits, then discard any trailing
 1700|       |           zeros on the result by updating nd, nd0, e and y suitably. (There's
 1701|       |           no need to update z; it's not reused beyond this point.) */
 1702|  63.3k|        for (i = 18; i > 0; ) {
  ------------------
  |  Branch (1702:22): [True: 63.3k, False: 0]
  ------------------
 1703|       |            /* scan back until we hit a nonzero digit.  significant digit 'i'
 1704|       |            is s0[i] if i < nd0, s0[i+1] if i >= nd0. */
 1705|  63.3k|            --i;
 1706|  63.3k|            if (s0[i < nd0 ? i : i+1] != '0') {
  ------------------
  |  Branch (1706:17): [True: 7.28k, False: 56.0k]
  |  Branch (1706:20): [True: 45.9k, False: 17.4k]
  ------------------
 1707|  7.28k|                ++i;
 1708|  7.28k|                break;
 1709|  7.28k|            }
 1710|  63.3k|        }
 1711|  7.28k|        e += nd - i;
 1712|  7.28k|        nd = i;
 1713|  7.28k|        if (nd0 > nd)
  ------------------
  |  Branch (1713:13): [True: 5.65k, False: 1.62k]
  ------------------
 1714|  5.65k|            nd0 = nd;
 1715|  7.28k|        if (nd < 9) { /* must recompute y */
  ------------------
  |  Branch (1715:13): [True: 3.33k, False: 3.95k]
  ------------------
 1716|  3.33k|            y = 0;
 1717|  10.4k|            for(i = 0; i < nd0; ++i)
  ------------------
  |  Branch (1717:24): [True: 7.10k, False: 3.33k]
  ------------------
 1718|  7.10k|                y = 10*y + s0[i] - '0';
 1719|  5.78k|            for(; i < nd; ++i)
  ------------------
  |  Branch (1719:19): [True: 2.45k, False: 3.33k]
  ------------------
 1720|  2.45k|                y = 10*y + s0[i+1] - '0';
 1721|  3.33k|        }
 1722|  7.28k|    }
 1723|  63.6k|    bd0 = s2b(s0, nd0, nd, y);
 1724|  63.6k|    if (bd0 == NULL)
  ------------------
  |  Branch (1724:9): [True: 0, False: 63.6k]
  ------------------
 1725|      0|        goto failed_malloc;
 1726|       |
 1727|       |    /* Notation for the comments below.  Write:
 1728|       |
 1729|       |         - dv for the absolute value of the number represented by the original
 1730|       |           decimal input string.
 1731|       |
 1732|       |         - if we've truncated dv, write tdv for the truncated value.
 1733|       |           Otherwise, set tdv == dv.
 1734|       |
 1735|       |         - srv for the quantity rv/2^bc.scale; so srv is the current binary
 1736|       |           approximation to tdv (and dv).  It should be exactly representable
 1737|       |           in an IEEE 754 double.
 1738|       |    */
 1739|       |
 1740|  73.1k|    for(;;) {
 1741|       |
 1742|       |        /* This is the main correction loop for _Py_dg_strtod.
 1743|       |
 1744|       |           We've got a decimal value tdv, and a floating-point approximation
 1745|       |           srv=rv/2^bc.scale to tdv.  The aim is to determine whether srv is
 1746|       |           close enough (i.e., within 0.5 ulps) to tdv, and to compute a new
 1747|       |           approximation if not.
 1748|       |
 1749|       |           To determine whether srv is close enough to tdv, compute integers
 1750|       |           bd, bb and bs proportional to tdv, srv and 0.5 ulp(srv)
 1751|       |           respectively, and then use integer arithmetic to determine whether
 1752|       |           |tdv - srv| is less than, equal to, or greater than 0.5 ulp(srv).
 1753|       |        */
 1754|       |
 1755|  73.1k|        bd = Balloc(bd0->k);
 1756|  73.1k|        if (bd == NULL) {
  ------------------
  |  Branch (1756:13): [True: 0, False: 73.1k]
  ------------------
 1757|      0|            goto failed_malloc;
 1758|      0|        }
 1759|  73.1k|        Bcopy(bd, bd0);
  ------------------
  |  |  433|  73.1k|#define Bcopy(x,y) memcpy((char *)&x->sign, (char *)&y->sign,   \
  |  |  434|  73.1k|                          y->wds*sizeof(Long) + 2*sizeof(int))
  ------------------
 1760|  73.1k|        bb = sd2b(&rv, bc.scale, &bbe);   /* srv = bb * 2^bbe */
 1761|  73.1k|        if (bb == NULL) {
  ------------------
  |  Branch (1761:13): [True: 0, False: 73.1k]
  ------------------
 1762|      0|            goto failed_malloc;
 1763|      0|        }
 1764|       |        /* Record whether lsb of bb is odd, in case we need this
 1765|       |           for the round-to-even step later. */
 1766|  73.1k|        odd = bb->x[0] & 1;
 1767|       |
 1768|       |        /* tdv = bd * 10**e;  srv = bb * 2**bbe */
 1769|  73.1k|        bs = i2b(1);
 1770|  73.1k|        if (bs == NULL) {
  ------------------
  |  Branch (1770:13): [True: 0, False: 73.1k]
  ------------------
 1771|      0|            goto failed_malloc;
 1772|      0|        }
 1773|       |
 1774|  73.1k|        if (e >= 0) {
  ------------------
  |  Branch (1774:13): [True: 38.1k, False: 34.9k]
  ------------------
 1775|  38.1k|            bb2 = bb5 = 0;
 1776|  38.1k|            bd2 = bd5 = e;
 1777|  38.1k|        }
 1778|  34.9k|        else {
 1779|  34.9k|            bb2 = bb5 = -e;
 1780|  34.9k|            bd2 = bd5 = 0;
 1781|  34.9k|        }
 1782|  73.1k|        if (bbe >= 0)
  ------------------
  |  Branch (1782:13): [True: 42.5k, False: 30.5k]
  ------------------
 1783|  42.5k|            bb2 += bbe;
 1784|  30.5k|        else
 1785|  30.5k|            bd2 -= bbe;
 1786|  73.1k|        bs2 = bb2;
 1787|  73.1k|        bb2++;
 1788|  73.1k|        bd2++;
 1789|       |
 1790|       |        /* At this stage bd5 - bb5 == e == bd2 - bb2 + bbe, bb2 - bs2 == 1,
 1791|       |           and bs == 1, so:
 1792|       |
 1793|       |              tdv == bd * 10**e = bd * 2**(bbe - bb2 + bd2) * 5**(bd5 - bb5)
 1794|       |              srv == bb * 2**bbe = bb * 2**(bbe - bb2 + bb2)
 1795|       |              0.5 ulp(srv) == 2**(bbe-1) = bs * 2**(bbe - bb2 + bs2)
 1796|       |
 1797|       |           It follows that:
 1798|       |
 1799|       |              M * tdv = bd * 2**bd2 * 5**bd5
 1800|       |              M * srv = bb * 2**bb2 * 5**bb5
 1801|       |              M * 0.5 ulp(srv) = bs * 2**bs2 * 5**bb5
 1802|       |
 1803|       |           for some constant M.  (Actually, M == 2**(bb2 - bbe) * 5**bb5, but
 1804|       |           this fact is not needed below.)
 1805|       |        */
 1806|       |
 1807|       |        /* Remove factor of 2**i, where i = min(bb2, bd2, bs2). */
 1808|  73.1k|        i = bb2 < bd2 ? bb2 : bd2;
  ------------------
  |  Branch (1808:13): [True: 29.4k, False: 43.6k]
  ------------------
 1809|  73.1k|        if (i > bs2)
  ------------------
  |  Branch (1809:13): [True: 29.8k, False: 43.2k]
  ------------------
 1810|  29.8k|            i = bs2;
 1811|  73.1k|        if (i > 0) {
  ------------------
  |  Branch (1811:13): [True: 72.4k, False: 690]
  ------------------
 1812|  72.4k|            bb2 -= i;
 1813|  72.4k|            bd2 -= i;
 1814|  72.4k|            bs2 -= i;
 1815|  72.4k|        }
 1816|       |
 1817|       |        /* Scale bb, bd, bs by the appropriate powers of 2 and 5. */
 1818|  73.1k|        if (bb5 > 0) {
  ------------------
  |  Branch (1818:13): [True: 34.9k, False: 38.1k]
  ------------------
 1819|  34.9k|            bs = pow5mult(bs, bb5);
 1820|  34.9k|            if (bs == NULL) {
  ------------------
  |  Branch (1820:17): [True: 0, False: 34.9k]
  ------------------
 1821|      0|                goto failed_malloc;
 1822|      0|            }
 1823|  34.9k|            Bigint *bb1 = mult(bs, bb);
 1824|  34.9k|            Bfree(bb);
 1825|  34.9k|            bb = bb1;
 1826|  34.9k|            if (bb == NULL) {
  ------------------
  |  Branch (1826:17): [True: 0, False: 34.9k]
  ------------------
 1827|      0|                goto failed_malloc;
 1828|      0|            }
 1829|  34.9k|        }
 1830|  73.1k|        if (bb2 > 0) {
  ------------------
  |  Branch (1830:13): [True: 73.1k, False: 0]
  ------------------
 1831|  73.1k|            bb = lshift(bb, bb2);
 1832|  73.1k|            if (bb == NULL) {
  ------------------
  |  Branch (1832:17): [True: 0, False: 73.1k]
  ------------------
 1833|      0|                goto failed_malloc;
 1834|      0|            }
 1835|  73.1k|        }
 1836|  73.1k|        if (bd5 > 0) {
  ------------------
  |  Branch (1836:13): [True: 27.3k, False: 45.7k]
  ------------------
 1837|  27.3k|            bd = pow5mult(bd, bd5);
 1838|  27.3k|            if (bd == NULL) {
  ------------------
  |  Branch (1838:17): [True: 0, False: 27.3k]
  ------------------
 1839|      0|                goto failed_malloc;
 1840|      0|            }
 1841|  27.3k|        }
 1842|  73.1k|        if (bd2 > 0) {
  ------------------
  |  Branch (1842:13): [True: 29.8k, False: 43.2k]
  ------------------
 1843|  29.8k|            bd = lshift(bd, bd2);
 1844|  29.8k|            if (bd == NULL) {
  ------------------
  |  Branch (1844:17): [True: 0, False: 29.8k]
  ------------------
 1845|      0|                goto failed_malloc;
 1846|      0|            }
 1847|  29.8k|        }
 1848|  73.1k|        if (bs2 > 0) {
  ------------------
  |  Branch (1848:13): [True: 39.7k, False: 33.3k]
  ------------------
 1849|  39.7k|            bs = lshift(bs, bs2);
 1850|  39.7k|            if (bs == NULL) {
  ------------------
  |  Branch (1850:17): [True: 0, False: 39.7k]
  ------------------
 1851|      0|                goto failed_malloc;
 1852|      0|            }
 1853|  39.7k|        }
 1854|       |
 1855|       |        /* Now bd, bb and bs are scaled versions of tdv, srv and 0.5 ulp(srv),
 1856|       |           respectively.  Compute the difference |tdv - srv|, and compare
 1857|       |           with 0.5 ulp(srv). */
 1858|       |
 1859|  73.1k|        delta = diff(bb, bd);
 1860|  73.1k|        if (delta == NULL) {
  ------------------
  |  Branch (1860:13): [True: 0, False: 73.1k]
  ------------------
 1861|      0|            goto failed_malloc;
 1862|      0|        }
 1863|  73.1k|        dsign = delta->sign;
 1864|  73.1k|        delta->sign = 0;
 1865|  73.1k|        i = cmp(delta, bs);
 1866|  73.1k|        if (bc.nd > nd && i <= 0) {
  ------------------
  |  Branch (1866:13): [True: 9.80k, False: 63.2k]
  |  Branch (1866:27): [True: 7.28k, False: 2.52k]
  ------------------
 1867|  7.28k|            if (dsign)
  ------------------
  |  Branch (1867:17): [True: 5.03k, False: 2.24k]
  ------------------
 1868|  5.03k|                break;  /* Must use bigcomp(). */
 1869|       |
 1870|       |            /* Here rv overestimates the truncated decimal value by at most
 1871|       |               0.5 ulp(rv).  Hence rv either overestimates the true decimal
 1872|       |               value by <= 0.5 ulp(rv), or underestimates it by some small
 1873|       |               amount (< 0.1 ulp(rv)); either way, rv is within 0.5 ulps of
 1874|       |               the true decimal value, so it's possible to exit.
 1875|       |
 1876|       |               Exception: if scaled rv is a normal exact power of 2, but not
 1877|       |               DBL_MIN, then rv - 0.5 ulp(rv) takes us all the way down to the
 1878|       |               next double, so the correctly rounded result is either rv - 0.5
 1879|       |               ulp(rv) or rv; in this case, use bigcomp to distinguish. */
 1880|       |
 1881|  2.24k|            if (!word1(&rv) && !(word0(&rv) & Bndry_mask)) {
  ------------------
  |  |  179|  4.49k|#define word1(x) (x)->L[0]
  ------------------
                          if (!word1(&rv) && !(word0(&rv) & Bndry_mask)) {
  ------------------
  |  |  178|    503|#define word0(x) (x)->L[1]
  ------------------
                          if (!word1(&rv) && !(word0(&rv) & Bndry_mask)) {
  ------------------
  |  |  250|    503|#define Bndry_mask  0xfffff
  ------------------
  |  Branch (1881:17): [True: 503, False: 1.74k]
  |  Branch (1881:32): [True: 407, False: 96]
  ------------------
 1882|       |                /* rv can't be 0, since it's an overestimate for some
 1883|       |                   nonzero value.  So rv is a normal power of 2. */
 1884|    407|                j = (int)(word0(&rv) & Exp_mask) >> Exp_shift;
  ------------------
  |  |  178|    407|#define word0(x) (x)->L[1]
  ------------------
                              j = (int)(word0(&rv) & Exp_mask) >> Exp_shift;
  ------------------
  |  |  236|    407|#define Exp_mask  0x7ff00000
  ------------------
                              j = (int)(word0(&rv) & Exp_mask) >> Exp_shift;
  ------------------
  |  |  232|    407|#define Exp_shift  20
  ------------------
 1885|       |                /* rv / 2^bc.scale = 2^(j - 1023 - bc.scale); use bigcomp if
 1886|       |                   rv / 2^bc.scale >= 2^-1021. */
 1887|    407|                if (j - bc.scale >= 2) {
  ------------------
  |  Branch (1887:21): [True: 376, False: 31]
  ------------------
 1888|    376|                    dval(&rv) -= 0.5 * sulp(&rv, &bc);
  ------------------
  |  |  184|    376|#define dval(x) (x)->d
  ------------------
 1889|    376|                    break; /* Use bigcomp. */
 1890|    376|                }
 1891|    407|            }
 1892|       |
 1893|  1.87k|            {
 1894|  1.87k|                bc.nd = nd;
 1895|  1.87k|                i = -1; /* Discarded digits make delta smaller. */
 1896|  1.87k|            }
 1897|  1.87k|        }
 1898|       |
 1899|  67.6k|        if (i < 0) {
  ------------------
  |  Branch (1899:13): [True: 37.3k, False: 30.3k]
  ------------------
 1900|       |            /* Error is less than half an ulp -- check for
 1901|       |             * special case of mantissa a power of two.
 1902|       |             */
 1903|  37.3k|            if (dsign || word1(&rv) || word0(&rv) & Bndry_mask
  ------------------
  |  |  179|  63.3k|#define word1(x) (x)->L[0]
  |  |  ------------------
  |  |  |  Branch (179:18): [True: 22.6k, False: 3.37k]
  |  |  ------------------
  ------------------
                          if (dsign || word1(&rv) || word0(&rv) & Bndry_mask
  ------------------
  |  |  178|  3.37k|#define word0(x) (x)->L[1]
  ------------------
                          if (dsign || word1(&rv) || word0(&rv) & Bndry_mask
  ------------------
  |  |  250|  40.7k|#define Bndry_mask  0xfffff
  ------------------
  |  Branch (1903:17): [True: 11.2k, False: 26.0k]
  |  Branch (1903:40): [True: 1.44k, False: 1.92k]
  ------------------
 1904|  1.92k|                || (word0(&rv) & Exp_mask) <= (2*P+1)*Exp_msk1
  ------------------
  |  |  178|  1.92k|#define word0(x) (x)->L[1]
  ------------------
                              || (word0(&rv) & Exp_mask) <= (2*P+1)*Exp_msk1
  ------------------
  |  |  236|  1.92k|#define Exp_mask  0x7ff00000
  ------------------
                              || (word0(&rv) & Exp_mask) <= (2*P+1)*Exp_msk1
  ------------------
  |  |  237|  1.92k|#define P 53
  ------------------
                              || (word0(&rv) & Exp_mask) <= (2*P+1)*Exp_msk1
  ------------------
  |  |  234|  1.92k|#define Exp_msk1    0x100000
  ------------------
  |  Branch (1904:20): [True: 58, False: 1.86k]
  ------------------
 1905|  37.3k|                ) {
 1906|  35.4k|                break;
 1907|  35.4k|            }
 1908|  1.86k|            if (!delta->x[0] && delta->wds <= 1) {
  ------------------
  |  Branch (1908:17): [True: 1.24k, False: 625]
  |  Branch (1908:33): [True: 1.05k, False: 187]
  ------------------
 1909|       |                /* exact result */
 1910|  1.05k|                break;
 1911|  1.05k|            }
 1912|    812|            delta = lshift(delta,Log2P);
  ------------------
  |  |  253|    812|#define Log2P 1
  ------------------
 1913|    812|            if (delta == NULL) {
  ------------------
  |  Branch (1913:17): [True: 0, False: 812]
  ------------------
 1914|      0|                goto failed_malloc;
 1915|      0|            }
 1916|    812|            if (cmp(delta, bs) > 0)
  ------------------
  |  Branch (1916:17): [True: 124, False: 688]
  ------------------
 1917|    124|                goto drop_down;
 1918|    688|            break;
 1919|    812|        }
 1920|  30.3k|        if (i == 0) {
  ------------------
  |  Branch (1920:13): [True: 3.65k, False: 26.7k]
  ------------------
 1921|       |            /* exactly half-way between */
 1922|  3.65k|            if (dsign) {
  ------------------
  |  Branch (1922:17): [True: 3.42k, False: 237]
  ------------------
 1923|  3.42k|                if ((word0(&rv) & Bndry_mask1) == Bndry_mask1
  ------------------
  |  |  178|  3.42k|#define word0(x) (x)->L[1]
  ------------------
                              if ((word0(&rv) & Bndry_mask1) == Bndry_mask1
  ------------------
  |  |  251|  3.42k|#define Bndry_mask1 0xfffff
  ------------------
                              if ((word0(&rv) & Bndry_mask1) == Bndry_mask1
  ------------------
  |  |  251|  6.84k|#define Bndry_mask1 0xfffff
  ------------------
  |  Branch (1923:21): [True: 2.12k, False: 1.29k]
  ------------------
 1924|  2.12k|                    &&  word1(&rv) == (
  ------------------
  |  |  179|  2.12k|#define word1(x) (x)->L[0]
  ------------------
  |  Branch (1924:25): [True: 492, False: 1.63k]
  ------------------
 1925|  2.12k|                        (bc.scale &&
  ------------------
  |  Branch (1925:26): [True: 0, False: 2.12k]
  ------------------
 1926|      0|                         (y = word0(&rv) & Exp_mask) <= 2*P*Exp_msk1) ?
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                                       (y = word0(&rv) & Exp_mask) <= 2*P*Exp_msk1) ?
  ------------------
  |  |  236|      0|#define Exp_mask  0x7ff00000
  ------------------
                                       (y = word0(&rv) & Exp_mask) <= 2*P*Exp_msk1) ?
  ------------------
  |  |  237|      0|#define P 53
  ------------------
                                       (y = word0(&rv) & Exp_mask) <= 2*P*Exp_msk1) ?
  ------------------
  |  |  234|      0|#define Exp_msk1    0x100000
  ------------------
  |  Branch (1926:26): [True: 0, False: 0]
  ------------------
 1927|      0|                        (0xffffffff & (0xffffffff << (2*P+1-(y>>Exp_shift)))) :
  ------------------
  |  |  237|      0|#define P 53
  ------------------
                                      (0xffffffff & (0xffffffff << (2*P+1-(y>>Exp_shift)))) :
  ------------------
  |  |  232|      0|#define Exp_shift  20
  ------------------
 1928|  2.12k|                        0xffffffff)) {
 1929|       |                    /*boundary case -- increment exponent*/
 1930|    492|                    word0(&rv) = (word0(&rv) & Exp_mask)
  ------------------
  |  |  178|    492|#define word0(x) (x)->L[1]
  ------------------
                                  word0(&rv) = (word0(&rv) & Exp_mask)
  ------------------
  |  |  178|    492|#define word0(x) (x)->L[1]
  ------------------
                                  word0(&rv) = (word0(&rv) & Exp_mask)
  ------------------
  |  |  236|    492|#define Exp_mask  0x7ff00000
  ------------------
 1931|    492|                        + Exp_msk1
  ------------------
  |  |  234|    492|#define Exp_msk1    0x100000
  ------------------
 1932|    492|                        ;
 1933|    492|                    word1(&rv) = 0;
  ------------------
  |  |  179|    492|#define word1(x) (x)->L[0]
  ------------------
 1934|       |                    /* dsign = 0; */
 1935|    492|                    break;
 1936|    492|                }
 1937|  3.42k|            }
 1938|    237|            else if (!(word0(&rv) & Bndry_mask) && !word1(&rv)) {
  ------------------
  |  |  178|    237|#define word0(x) (x)->L[1]
  ------------------
                          else if (!(word0(&rv) & Bndry_mask) && !word1(&rv)) {
  ------------------
  |  |  250|    237|#define Bndry_mask  0xfffff
  ------------------
                          else if (!(word0(&rv) & Bndry_mask) && !word1(&rv)) {
  ------------------
  |  |  179|     90|#define word1(x) (x)->L[0]
  ------------------
  |  Branch (1938:22): [True: 90, False: 147]
  |  Branch (1938:52): [True: 0, False: 90]
  ------------------
 1939|    124|              drop_down:
 1940|       |                /* boundary case -- decrement exponent */
 1941|    124|                if (bc.scale) {
  ------------------
  |  Branch (1941:21): [True: 0, False: 124]
  ------------------
 1942|      0|                    L = word0(&rv) & Exp_mask;
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                                  L = word0(&rv) & Exp_mask;
  ------------------
  |  |  236|      0|#define Exp_mask  0x7ff00000
  ------------------
 1943|      0|                    if (L <= (2*P+1)*Exp_msk1) {
  ------------------
  |  |  237|      0|#define P 53
  ------------------
                                  if (L <= (2*P+1)*Exp_msk1) {
  ------------------
  |  |  234|      0|#define Exp_msk1    0x100000
  ------------------
  |  Branch (1943:25): [True: 0, False: 0]
  ------------------
 1944|      0|                        if (L > (P+2)*Exp_msk1)
  ------------------
  |  |  237|      0|#define P 53
  ------------------
                                      if (L > (P+2)*Exp_msk1)
  ------------------
  |  |  234|      0|#define Exp_msk1    0x100000
  ------------------
  |  Branch (1944:29): [True: 0, False: 0]
  ------------------
 1945|       |                            /* round even ==> */
 1946|       |                            /* accept rv */
 1947|      0|                            break;
 1948|       |                        /* rv = smallest denormal */
 1949|      0|                        if (bc.nd > nd)
  ------------------
  |  Branch (1949:29): [True: 0, False: 0]
  ------------------
 1950|      0|                            break;
 1951|      0|                        goto undfl;
 1952|      0|                    }
 1953|      0|                }
 1954|    124|                L = (word0(&rv) & Exp_mask) - Exp_msk1;
  ------------------
  |  |  178|    124|#define word0(x) (x)->L[1]
  ------------------
                              L = (word0(&rv) & Exp_mask) - Exp_msk1;
  ------------------
  |  |  236|    124|#define Exp_mask  0x7ff00000
  ------------------
                              L = (word0(&rv) & Exp_mask) - Exp_msk1;
  ------------------
  |  |  234|    124|#define Exp_msk1    0x100000
  ------------------
 1955|    124|                word0(&rv) = L | Bndry_mask1;
  ------------------
  |  |  178|    124|#define word0(x) (x)->L[1]
  ------------------
                              word0(&rv) = L | Bndry_mask1;
  ------------------
  |  |  251|    124|#define Bndry_mask1 0xfffff
  ------------------
 1956|    124|                word1(&rv) = 0xffffffff;
  ------------------
  |  |  179|    124|#define word1(x) (x)->L[0]
  ------------------
 1957|    124|                break;
 1958|    124|            }
 1959|  3.16k|            if (!odd)
  ------------------
  |  Branch (1959:17): [True: 680, False: 2.48k]
  ------------------
 1960|    680|                break;
 1961|  2.48k|            if (dsign)
  ------------------
  |  Branch (1961:17): [True: 2.47k, False: 10]
  ------------------
 1962|  2.47k|                dval(&rv) += sulp(&rv, &bc);
  ------------------
  |  |  184|  2.47k|#define dval(x) (x)->d
  ------------------
 1963|     10|            else {
 1964|     10|                dval(&rv) -= sulp(&rv, &bc);
  ------------------
  |  |  184|     10|#define dval(x) (x)->d
  ------------------
 1965|     10|                if (!dval(&rv)) {
  ------------------
  |  |  184|     10|#define dval(x) (x)->d
  ------------------
  |  Branch (1965:21): [True: 0, False: 10]
  ------------------
 1966|      0|                    if (bc.nd >nd)
  ------------------
  |  Branch (1966:25): [True: 0, False: 0]
  ------------------
 1967|      0|                        break;
 1968|      0|                    goto undfl;
 1969|      0|                }
 1970|     10|            }
 1971|       |            /* dsign = 1 - dsign; */
 1972|  2.48k|            break;
 1973|  2.48k|        }
 1974|  26.7k|        if ((aadj = ratio(delta, bs)) <= 2.) {
  ------------------
  |  Branch (1974:13): [True: 20.0k, False: 6.70k]
  ------------------
 1975|  20.0k|            if (dsign)
  ------------------
  |  Branch (1975:17): [True: 8.20k, False: 11.7k]
  ------------------
 1976|  8.20k|                aadj = aadj1 = 1.;
 1977|  11.7k|            else if (word1(&rv) || word0(&rv) & Bndry_mask) {
  ------------------
  |  |  179|  23.5k|#define word1(x) (x)->L[0]
  |  |  ------------------
  |  |  |  Branch (179:18): [True: 9.11k, False: 2.68k]
  |  |  ------------------
  ------------------
                          else if (word1(&rv) || word0(&rv) & Bndry_mask) {
  ------------------
  |  |  178|  2.68k|#define word0(x) (x)->L[1]
  ------------------
                          else if (word1(&rv) || word0(&rv) & Bndry_mask) {
  ------------------
  |  |  250|  2.68k|#define Bndry_mask  0xfffff
  ------------------
  |  Branch (1977:36): [True: 455, False: 2.23k]
  ------------------
 1978|  9.56k|                if (word1(&rv) == Tiny1 && !word0(&rv)) {
  ------------------
  |  |  179|  9.56k|#define word1(x) (x)->L[0]
  ------------------
                              if (word1(&rv) == Tiny1 && !word0(&rv)) {
  ------------------
  |  |  255|  19.1k|#define Tiny1 1
  ------------------
                              if (word1(&rv) == Tiny1 && !word0(&rv)) {
  ------------------
  |  |  178|     15|#define word0(x) (x)->L[1]
  ------------------
  |  Branch (1978:21): [True: 15, False: 9.55k]
  |  Branch (1978:44): [True: 0, False: 15]
  ------------------
 1979|      0|                    if (bc.nd >nd)
  ------------------
  |  Branch (1979:25): [True: 0, False: 0]
  ------------------
 1980|      0|                        break;
 1981|      0|                    goto undfl;
 1982|      0|                }
 1983|  9.56k|                aadj = 1.;
 1984|  9.56k|                aadj1 = -1.;
 1985|  9.56k|            }
 1986|  2.23k|            else {
 1987|       |                /* special case -- power of FLT_RADIX to be */
 1988|       |                /* rounded down... */
 1989|       |
 1990|  2.23k|                if (aadj < 2./FLT_RADIX)
  ------------------
  |  Branch (1990:21): [True: 0, False: 2.23k]
  ------------------
 1991|      0|                    aadj = 1./FLT_RADIX;
 1992|  2.23k|                else
 1993|  2.23k|                    aadj *= 0.5;
 1994|  2.23k|                aadj1 = -aadj;
 1995|  2.23k|            }
 1996|  20.0k|        }
 1997|  6.70k|        else {
 1998|  6.70k|            aadj *= 0.5;
 1999|  6.70k|            aadj1 = dsign ? aadj : -aadj;
  ------------------
  |  Branch (1999:21): [True: 6.28k, False: 413]
  ------------------
 2000|  6.70k|            if (Flt_Rounds == 0)
  ------------------
  |  |  261|  6.70k|#define Flt_Rounds FLT_ROUNDS
  ------------------
  |  Branch (2000:17): [True: 0, False: 6.70k]
  ------------------
 2001|      0|                aadj1 += 0.5;
 2002|  6.70k|        }
 2003|  26.7k|        y = word0(&rv) & Exp_mask;
  ------------------
  |  |  178|  26.7k|#define word0(x) (x)->L[1]
  ------------------
                      y = word0(&rv) & Exp_mask;
  ------------------
  |  |  236|  26.7k|#define Exp_mask  0x7ff00000
  ------------------
 2004|       |
 2005|       |        /* Check for overflow */
 2006|       |
 2007|  26.7k|        if (y == Exp_msk1*(DBL_MAX_EXP+Bias-1)) {
  ------------------
  |  |  234|  26.7k|#define Exp_msk1    0x100000
  ------------------
                      if (y == Exp_msk1*(DBL_MAX_EXP+Bias-1)) {
  ------------------
  |  |  239|  26.7k|#define Bias 1023
  ------------------
  |  Branch (2007:13): [True: 89, False: 26.6k]
  ------------------
 2008|     89|            dval(&rv0) = dval(&rv);
  ------------------
  |  |  184|     89|#define dval(x) (x)->d
  ------------------
                          dval(&rv0) = dval(&rv);
  ------------------
  |  |  184|     89|#define dval(x) (x)->d
  ------------------
 2009|     89|            word0(&rv) -= P*Exp_msk1;
  ------------------
  |  |  178|     89|#define word0(x) (x)->L[1]
  ------------------
                          word0(&rv) -= P*Exp_msk1;
  ------------------
  |  |  237|     89|#define P 53
  ------------------
                          word0(&rv) -= P*Exp_msk1;
  ------------------
  |  |  234|     89|#define Exp_msk1    0x100000
  ------------------
 2010|     89|            adj.d = aadj1 * ulp(&rv);
 2011|     89|            dval(&rv) += adj.d;
  ------------------
  |  |  184|     89|#define dval(x) (x)->d
  ------------------
 2012|     89|            if ((word0(&rv) & Exp_mask) >=
  ------------------
  |  |  178|     89|#define word0(x) (x)->L[1]
  ------------------
                          if ((word0(&rv) & Exp_mask) >=
  ------------------
  |  |  236|     89|#define Exp_mask  0x7ff00000
  ------------------
  |  Branch (2012:17): [True: 62, False: 27]
  ------------------
 2013|     89|                Exp_msk1*(DBL_MAX_EXP+Bias-P)) {
  ------------------
  |  |  234|     89|#define Exp_msk1    0x100000
  ------------------
                              Exp_msk1*(DBL_MAX_EXP+Bias-P)) {
  ------------------
  |  |  239|     89|#define Bias 1023
  ------------------
                              Exp_msk1*(DBL_MAX_EXP+Bias-P)) {
  ------------------
  |  |  237|     89|#define P 53
  ------------------
 2014|     62|                if (word0(&rv0) == Big0 && word1(&rv0) == Big1) {
  ------------------
  |  |  178|     62|#define word0(x) (x)->L[1]
  ------------------
                              if (word0(&rv0) == Big0 && word1(&rv0) == Big1) {
  ------------------
  |  |  269|    124|#define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  247|     62|#define Frac_mask1 0xfffff
  |  |  ------------------
  |  |               #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  234|     62|#define Exp_msk1    0x100000
  |  |  ------------------
  |  |               #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  239|     62|#define Bias 1023
  |  |  ------------------
  ------------------
                              if (word0(&rv0) == Big0 && word1(&rv0) == Big1) {
  ------------------
  |  |  179|     62|#define word1(x) (x)->L[0]
  ------------------
                              if (word0(&rv0) == Big0 && word1(&rv0) == Big1) {
  ------------------
  |  |  270|     62|#define Big1 0xffffffff
  ------------------
  |  Branch (2014:21): [True: 62, False: 0]
  |  Branch (2014:44): [True: 44, False: 18]
  ------------------
 2015|     44|                    goto ovfl;
 2016|     44|                }
 2017|     18|                word0(&rv) = Big0;
  ------------------
  |  |  178|     18|#define word0(x) (x)->L[1]
  ------------------
                              word0(&rv) = Big0;
  ------------------
  |  |  269|     18|#define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  247|     18|#define Frac_mask1 0xfffff
  |  |  ------------------
  |  |               #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  234|     18|#define Exp_msk1    0x100000
  |  |  ------------------
  |  |               #define Big0 (Frac_mask1 | Exp_msk1*(DBL_MAX_EXP+Bias-1))
  |  |  ------------------
  |  |  |  |  239|     18|#define Bias 1023
  |  |  ------------------
  ------------------
 2018|     18|                word1(&rv) = Big1;
  ------------------
  |  |  179|     18|#define word1(x) (x)->L[0]
  ------------------
                              word1(&rv) = Big1;
  ------------------
  |  |  270|     18|#define Big1 0xffffffff
  ------------------
 2019|     18|                goto cont;
 2020|     62|            }
 2021|     27|            else
 2022|     27|                word0(&rv) += P*Exp_msk1;
  ------------------
  |  |  178|     27|#define word0(x) (x)->L[1]
  ------------------
                              word0(&rv) += P*Exp_msk1;
  ------------------
  |  |  237|     27|#define P 53
  ------------------
                              word0(&rv) += P*Exp_msk1;
  ------------------
  |  |  234|     27|#define Exp_msk1    0x100000
  ------------------
 2023|     89|        }
 2024|  26.6k|        else {
 2025|  26.6k|            if (bc.scale && y <= 2*P*Exp_msk1) {
  ------------------
  |  |  237|  5.10k|#define P 53
  ------------------
                          if (bc.scale && y <= 2*P*Exp_msk1) {
  ------------------
  |  |  234|  5.10k|#define Exp_msk1    0x100000
  ------------------
  |  Branch (2025:17): [True: 5.10k, False: 21.5k]
  |  Branch (2025:29): [True: 4.49k, False: 604]
  ------------------
 2026|  4.49k|                if (aadj <= 0x7fffffff) {
  ------------------
  |  Branch (2026:21): [True: 4.49k, False: 0]
  ------------------
 2027|  4.49k|                    if ((z = (ULong)aadj) <= 0)
  ------------------
  |  Branch (2027:25): [True: 461, False: 4.03k]
  ------------------
 2028|    461|                        z = 1;
 2029|  4.49k|                    aadj = z;
 2030|  4.49k|                    aadj1 = dsign ? aadj : -aadj;
  ------------------
  |  Branch (2030:29): [True: 2.26k, False: 2.23k]
  ------------------
 2031|  4.49k|                }
 2032|  4.49k|                dval(&aadj2) = aadj1;
  ------------------
  |  |  184|  4.49k|#define dval(x) (x)->d
  ------------------
 2033|  4.49k|                word0(&aadj2) += (2*P+1)*Exp_msk1 - y;
  ------------------
  |  |  178|  4.49k|#define word0(x) (x)->L[1]
  ------------------
                              word0(&aadj2) += (2*P+1)*Exp_msk1 - y;
  ------------------
  |  |  237|  4.49k|#define P 53
  ------------------
                              word0(&aadj2) += (2*P+1)*Exp_msk1 - y;
  ------------------
  |  |  234|  4.49k|#define Exp_msk1    0x100000
  ------------------
 2034|  4.49k|                aadj1 = dval(&aadj2);
  ------------------
  |  |  184|  4.49k|#define dval(x) (x)->d
  ------------------
 2035|  4.49k|            }
 2036|  26.6k|            adj.d = aadj1 * ulp(&rv);
 2037|  26.6k|            dval(&rv) += adj.d;
  ------------------
  |  |  184|  26.6k|#define dval(x) (x)->d
  ------------------
 2038|  26.6k|        }
 2039|  26.6k|        z = word0(&rv) & Exp_mask;
  ------------------
  |  |  178|  26.6k|#define word0(x) (x)->L[1]
  ------------------
                      z = word0(&rv) & Exp_mask;
  ------------------
  |  |  236|  26.6k|#define Exp_mask  0x7ff00000
  ------------------
 2040|  26.6k|        if (bc.nd == nd) {
  ------------------
  |  Branch (2040:13): [True: 24.1k, False: 2.52k]
  ------------------
 2041|  24.1k|            if (!bc.scale)
  ------------------
  |  Branch (2041:17): [True: 19.2k, False: 4.83k]
  ------------------
 2042|  19.2k|                if (y == z) {
  ------------------
  |  Branch (2042:21): [True: 17.5k, False: 1.72k]
  ------------------
 2043|       |                    /* Can we stop now? */
 2044|  17.5k|                    L = (Long)aadj;
 2045|  17.5k|                    aadj -= L;
 2046|       |                    /* The tolerances below are conservative. */
 2047|  17.5k|                    if (dsign || word1(&rv) || word0(&rv) & Bndry_mask) {
  ------------------
  |  |  179|  26.8k|#define word1(x) (x)->L[0]
  |  |  ------------------
  |  |  |  Branch (179:18): [True: 9.27k, False: 15]
  |  |  ------------------
  ------------------
                                  if (dsign || word1(&rv) || word0(&rv) & Bndry_mask) {
  ------------------
  |  |  178|     15|#define word0(x) (x)->L[1]
  ------------------
                                  if (dsign || word1(&rv) || word0(&rv) & Bndry_mask) {
  ------------------
  |  |  250|     15|#define Bndry_mask  0xfffff
  ------------------
  |  Branch (2047:25): [True: 8.26k, False: 9.29k]
  |  Branch (2047:48): [True: 15, False: 0]
  ------------------
 2048|  17.5k|                        if (aadj < .4999999 || aadj > .5000001)
  ------------------
  |  Branch (2048:29): [True: 15.0k, False: 2.50k]
  |  Branch (2048:48): [True: 2.13k, False: 374]
  ------------------
 2049|  17.1k|                            break;
 2050|  17.5k|                    }
 2051|      0|                    else if (aadj < .4999999/FLT_RADIX)
  ------------------
  |  Branch (2051:30): [True: 0, False: 0]
  ------------------
 2052|      0|                        break;
 2053|  17.5k|                }
 2054|  24.1k|        }
 2055|  9.47k|      cont:
 2056|  9.47k|        Bfree(bb); bb = NULL;
 2057|  9.47k|        Bfree(bd); bd = NULL;
 2058|  9.47k|        Bfree(bs); bs = NULL;
 2059|  9.47k|        Bfree(delta); delta = NULL;
 2060|  9.47k|    }
 2061|  63.5k|    if (bc.nd > nd) {
  ------------------
  |  Branch (2061:9): [True: 5.41k, False: 58.1k]
  ------------------
 2062|  5.41k|        error = bigcomp(&rv, s0, &bc);
 2063|  5.41k|        if (error)
  ------------------
  |  Branch (2063:13): [True: 0, False: 5.41k]
  ------------------
 2064|      0|            goto failed_malloc;
 2065|  5.41k|    }
 2066|       |
 2067|  63.5k|    if (bc.scale) {
  ------------------
  |  Branch (2067:9): [True: 7.54k, False: 56.0k]
  ------------------
 2068|  7.54k|        word0(&rv0) = Exp_1 - 2*P*Exp_msk1;
  ------------------
  |  |  178|  7.54k|#define word0(x) (x)->L[1]
  ------------------
                      word0(&rv0) = Exp_1 - 2*P*Exp_msk1;
  ------------------
  |  |  243|  7.54k|#define Exp_1  0x3ff00000
  ------------------
                      word0(&rv0) = Exp_1 - 2*P*Exp_msk1;
  ------------------
  |  |  237|  7.54k|#define P 53
  ------------------
                      word0(&rv0) = Exp_1 - 2*P*Exp_msk1;
  ------------------
  |  |  234|  7.54k|#define Exp_msk1    0x100000
  ------------------
 2069|  7.54k|        word1(&rv0) = 0;
  ------------------
  |  |  179|  7.54k|#define word1(x) (x)->L[0]
  ------------------
 2070|  7.54k|        dval(&rv) *= dval(&rv0);
  ------------------
  |  |  184|  7.54k|#define dval(x) (x)->d
  ------------------
                      dval(&rv) *= dval(&rv0);
  ------------------
  |  |  184|  7.54k|#define dval(x) (x)->d
  ------------------
 2071|  7.54k|    }
 2072|       |
 2073|   408k|  ret:
 2074|   408k|    result = sign ? -dval(&rv) : dval(&rv);
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
                  result = sign ? -dval(&rv) : dval(&rv);
  ------------------
  |  |  184|   816k|#define dval(x) (x)->d
  ------------------
  |  Branch (2074:14): [True: 0, False: 408k]
  ------------------
 2075|   408k|    goto done;
 2076|       |
 2077|      0|  parse_error:
 2078|      0|    result = 0.0;
 2079|      0|    goto done;
 2080|       |
 2081|      0|  failed_malloc:
 2082|      0|    errno = ENOMEM;
 2083|      0|    result = -1.0;
 2084|      0|    goto done;
 2085|       |
 2086|  5.17k|  undfl:
 2087|  5.17k|    result = sign ? -0.0 : 0.0;
  ------------------
  |  Branch (2087:14): [True: 0, False: 5.17k]
  ------------------
 2088|  5.17k|    goto done;
 2089|       |
 2090|  37.9k|  ovfl:
 2091|  37.9k|    errno = ERANGE;
 2092|       |    /* Can't trust HUGE_VAL */
 2093|  37.9k|    word0(&rv) = Exp_mask;
  ------------------
  |  |  178|  37.9k|#define word0(x) (x)->L[1]
  ------------------
                  word0(&rv) = Exp_mask;
  ------------------
  |  |  236|  37.9k|#define Exp_mask  0x7ff00000
  ------------------
 2094|  37.9k|    word1(&rv) = 0;
  ------------------
  |  |  179|  37.9k|#define word1(x) (x)->L[0]
  ------------------
 2095|  37.9k|    result = sign ? -dval(&rv) : dval(&rv);
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
                  result = sign ? -dval(&rv) : dval(&rv);
  ------------------
  |  |  184|  75.8k|#define dval(x) (x)->d
  ------------------
  |  Branch (2095:14): [True: 0, False: 37.9k]
  ------------------
 2096|  37.9k|    goto done;
 2097|       |
 2098|   451k|  done:
 2099|   451k|    Bfree(bb);
 2100|   451k|    Bfree(bd);
 2101|   451k|    Bfree(bs);
 2102|   451k|    Bfree(bd0);
 2103|   451k|    Bfree(delta);
 2104|   451k|    return result;
 2105|       |
 2106|  63.5k|}
_Py_dg_freedtoa:
 2148|  42.8k|{
 2149|  42.8k|    Bigint *b = (Bigint *)((int *)s - 1);
 2150|  42.8k|    b->maxwds = 1 << (b->k = *(int*)b);
 2151|  42.8k|    Bfree(b);
 2152|  42.8k|}
_Py_dg_dtoa:
 2195|  42.8k|{
 2196|       |    /*  Arguments ndigits, decpt, sign are similar to those
 2197|       |        of ecvt and fcvt; trailing zeros are suppressed from
 2198|       |        the returned string.  If not null, *rve is set to point
 2199|       |        to the end of the return value.  If d is +-Infinity or NaN,
 2200|       |        then *decpt is set to 9999.
 2201|       |
 2202|       |        mode:
 2203|       |        0 ==> shortest string that yields d when read in
 2204|       |        and rounded to nearest.
 2205|       |        1 ==> like 0, but with Steele & White stopping rule;
 2206|       |        e.g. with IEEE P754 arithmetic , mode 0 gives
 2207|       |        1e23 whereas mode 1 gives 9.999999999999999e22.
 2208|       |        2 ==> max(1,ndigits) significant digits.  This gives a
 2209|       |        return value similar to that of ecvt, except
 2210|       |        that trailing zeros are suppressed.
 2211|       |        3 ==> through ndigits past the decimal point.  This
 2212|       |        gives a return value similar to that from fcvt,
 2213|       |        except that trailing zeros are suppressed, and
 2214|       |        ndigits can be negative.
 2215|       |        4,5 ==> similar to 2 and 3, respectively, but (in
 2216|       |        round-nearest mode) with the tests of mode 0 to
 2217|       |        possibly return a shorter string that rounds to d.
 2218|       |        With IEEE arithmetic and compilation with
 2219|       |        -DHonor_FLT_ROUNDS, modes 4 and 5 behave the same
 2220|       |        as modes 2 and 3 when FLT_ROUNDS != 1.
 2221|       |        6-9 ==> Debugging modes similar to mode - 4:  don't try
 2222|       |        fast floating-point estimate (if applicable).
 2223|       |
 2224|       |        Values of mode other than 0-9 are treated as mode 0.
 2225|       |
 2226|       |        Sufficient space is allocated to the return value
 2227|       |        to hold the suppressed trailing zeros.
 2228|       |    */
 2229|       |
 2230|  42.8k|    int bbits, b2, b5, be, dig, i, ieps, ilim, ilim0, ilim1,
 2231|  42.8k|        j, j1, k, k0, k_check, leftright, m2, m5, s2, s5,
 2232|  42.8k|        spec_case, try_quick;
 2233|  42.8k|    Long L;
 2234|  42.8k|    int denorm;
 2235|  42.8k|    ULong x;
 2236|  42.8k|    Bigint *b, *b1, *delta, *mlo, *mhi, *S;
 2237|  42.8k|    U d2, eps, u;
 2238|  42.8k|    double ds;
 2239|  42.8k|    char *s, *s0;
 2240|       |
 2241|       |    /* set pointers to NULL, to silence gcc compiler warnings and make
 2242|       |       cleanup easier on error */
 2243|  42.8k|    mlo = mhi = S = 0;
 2244|  42.8k|    s0 = 0;
 2245|       |
 2246|  42.8k|    u.d = dd;
 2247|  42.8k|    if (word0(&u) & Sign_bit) {
  ------------------
  |  |  178|  42.8k|#define word0(x) (x)->L[1]
  ------------------
                  if (word0(&u) & Sign_bit) {
  ------------------
  |  |  252|  42.8k|#define Sign_bit 0x80000000
  ------------------
  |  Branch (2247:9): [True: 0, False: 42.8k]
  ------------------
 2248|       |        /* set sign for everything, including 0's and NaNs */
 2249|      0|        *sign = 1;
 2250|      0|        word0(&u) &= ~Sign_bit; /* clear sign bit */
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                      word0(&u) &= ~Sign_bit; /* clear sign bit */
  ------------------
  |  |  252|      0|#define Sign_bit 0x80000000
  ------------------
 2251|      0|    }
 2252|  42.8k|    else
 2253|  42.8k|        *sign = 0;
 2254|       |
 2255|       |    /* quick return for Infinities, NaNs and zeros */
 2256|  42.8k|    if ((word0(&u) & Exp_mask) == Exp_mask)
  ------------------
  |  |  178|  42.8k|#define word0(x) (x)->L[1]
  ------------------
                  if ((word0(&u) & Exp_mask) == Exp_mask)
  ------------------
  |  |  236|  42.8k|#define Exp_mask  0x7ff00000
  ------------------
                  if ((word0(&u) & Exp_mask) == Exp_mask)
  ------------------
  |  |  236|  42.8k|#define Exp_mask  0x7ff00000
  ------------------
  |  Branch (2256:9): [True: 3.16k, False: 39.6k]
  ------------------
 2257|  3.16k|    {
 2258|       |        /* Infinity or NaN */
 2259|  3.16k|        *decpt = 9999;
 2260|  3.16k|        if (!word1(&u) && !(word0(&u) & 0xfffff))
  ------------------
  |  |  179|  6.32k|#define word1(x) (x)->L[0]
  ------------------
                      if (!word1(&u) && !(word0(&u) & 0xfffff))
  ------------------
  |  |  178|  3.16k|#define word0(x) (x)->L[1]
  ------------------
  |  Branch (2260:13): [True: 3.16k, False: 0]
  |  Branch (2260:27): [True: 3.16k, False: 0]
  ------------------
 2261|  3.16k|            return nrv_alloc("Infinity", rve, 8);
 2262|      0|        return nrv_alloc("NaN", rve, 3);
 2263|  3.16k|    }
 2264|  39.6k|    if (!dval(&u)) {
  ------------------
  |  |  184|  39.6k|#define dval(x) (x)->d
  ------------------
  |  Branch (2264:9): [True: 1.98k, False: 37.7k]
  ------------------
 2265|  1.98k|        *decpt = 1;
 2266|  1.98k|        return nrv_alloc("0", rve, 1);
 2267|  1.98k|    }
 2268|       |
 2269|       |    /* compute k = floor(log10(d)).  The computation may leave k
 2270|       |       one too large, but should never leave k too small. */
 2271|  37.7k|    b = d2b(&u, &be, &bbits);
 2272|  37.7k|    if (b == NULL)
  ------------------
  |  Branch (2272:9): [True: 0, False: 37.7k]
  ------------------
 2273|      0|        goto failed_malloc;
 2274|  37.7k|    if ((i = (int)(word0(&u) >> Exp_shift1 & (Exp_mask>>Exp_shift1)))) {
  ------------------
  |  |  178|  37.7k|#define word0(x) (x)->L[1]
  ------------------
                  if ((i = (int)(word0(&u) >> Exp_shift1 & (Exp_mask>>Exp_shift1)))) {
  ------------------
  |  |  233|  37.7k|#define Exp_shift1 20
  ------------------
                  if ((i = (int)(word0(&u) >> Exp_shift1 & (Exp_mask>>Exp_shift1)))) {
  ------------------
  |  |  236|  37.7k|#define Exp_mask  0x7ff00000
  ------------------
                  if ((i = (int)(word0(&u) >> Exp_shift1 & (Exp_mask>>Exp_shift1)))) {
  ------------------
  |  |  233|  37.7k|#define Exp_shift1 20
  ------------------
  |  Branch (2274:9): [True: 36.8k, False: 811]
  ------------------
 2275|  36.8k|        dval(&d2) = dval(&u);
  ------------------
  |  |  184|  36.8k|#define dval(x) (x)->d
  ------------------
                      dval(&d2) = dval(&u);
  ------------------
  |  |  184|  36.8k|#define dval(x) (x)->d
  ------------------
 2276|  36.8k|        word0(&d2) &= Frac_mask1;
  ------------------
  |  |  178|  36.8k|#define word0(x) (x)->L[1]
  ------------------
                      word0(&d2) &= Frac_mask1;
  ------------------
  |  |  247|  36.8k|#define Frac_mask1 0xfffff
  ------------------
 2277|  36.8k|        word0(&d2) |= Exp_11;
  ------------------
  |  |  178|  36.8k|#define word0(x) (x)->L[1]
  ------------------
                      word0(&d2) |= Exp_11;
  ------------------
  |  |  244|  36.8k|#define Exp_11 0x3ff00000
  ------------------
 2278|       |
 2279|       |        /* log(x)       ~=~ log(1.5) + (x-1.5)/1.5
 2280|       |         * log10(x)      =  log(x) / log(10)
 2281|       |         *              ~=~ log(1.5)/log(10) + (x-1.5)/(1.5*log(10))
 2282|       |         * log10(d) = (i-Bias)*log(2)/log(10) + log10(d2)
 2283|       |         *
 2284|       |         * This suggests computing an approximation k to log10(d) by
 2285|       |         *
 2286|       |         * k = (i - Bias)*0.301029995663981
 2287|       |         *      + ( (d2-1.5)*0.289529654602168 + 0.176091259055681 );
 2288|       |         *
 2289|       |         * We want k to be too large rather than too small.
 2290|       |         * The error in the first-order Taylor series approximation
 2291|       |         * is in our favor, so we just round up the constant enough
 2292|       |         * to compensate for any error in the multiplication of
 2293|       |         * (i - Bias) by 0.301029995663981; since |i - Bias| <= 1077,
 2294|       |         * and 1077 * 0.30103 * 2^-52 ~=~ 7.2e-14,
 2295|       |         * adding 1e-13 to the constant term more than suffices.
 2296|       |         * Hence we adjust the constant term to 0.1760912590558.
 2297|       |         * (We could get a more accurate k by invoking log10,
 2298|       |         *  but this is probably not worthwhile.)
 2299|       |         */
 2300|       |
 2301|  36.8k|        i -= Bias;
  ------------------
  |  |  239|  36.8k|#define Bias 1023
  ------------------
 2302|  36.8k|        denorm = 0;
 2303|  36.8k|    }
 2304|    811|    else {
 2305|       |        /* d is denormalized */
 2306|       |
 2307|    811|        i = bbits + be + (Bias + (P-1) - 1);
  ------------------
  |  |  239|    811|#define Bias 1023
  ------------------
                      i = bbits + be + (Bias + (P-1) - 1);
  ------------------
  |  |  237|    811|#define P 53
  ------------------
 2308|    811|        x = i > 32  ? word0(&u) << (64 - i) | word1(&u) >> (i - 32)
  ------------------
  |  |  178|    259|#define word0(x) (x)->L[1]
  ------------------
                      x = i > 32  ? word0(&u) << (64 - i) | word1(&u) >> (i - 32)
  ------------------
  |  |  179|    259|#define word1(x) (x)->L[0]
  ------------------
  |  Branch (2308:13): [True: 259, False: 552]
  ------------------
 2309|    811|            : word1(&u) << (32 - i);
  ------------------
  |  |  179|    552|#define word1(x) (x)->L[0]
  ------------------
 2310|    811|        dval(&d2) = x;
  ------------------
  |  |  184|    811|#define dval(x) (x)->d
  ------------------
 2311|    811|        word0(&d2) -= 31*Exp_msk1; /* adjust exponent */
  ------------------
  |  |  178|    811|#define word0(x) (x)->L[1]
  ------------------
                      word0(&d2) -= 31*Exp_msk1; /* adjust exponent */
  ------------------
  |  |  234|    811|#define Exp_msk1    0x100000
  ------------------
 2312|    811|        i -= (Bias + (P-1) - 1) + 1;
  ------------------
  |  |  239|    811|#define Bias 1023
  ------------------
                      i -= (Bias + (P-1) - 1) + 1;
  ------------------
  |  |  237|    811|#define P 53
  ------------------
 2313|    811|        denorm = 1;
 2314|    811|    }
 2315|  37.7k|    ds = (dval(&d2)-1.5)*0.289529654602168 + 0.1760912590558 +
  ------------------
  |  |  184|  37.7k|#define dval(x) (x)->d
  ------------------
 2316|  37.7k|        i*0.301029995663981;
 2317|  37.7k|    k = (int)ds;
 2318|  37.7k|    if (ds < 0. && ds != k)
  ------------------
  |  Branch (2318:9): [True: 3.61k, False: 34.0k]
  |  Branch (2318:20): [True: 3.61k, False: 0]
  ------------------
 2319|  3.61k|        k--;    /* want k = floor(ds) */
 2320|  37.7k|    k_check = 1;
 2321|  37.7k|    if (k >= 0 && k <= Ten_pmax) {
  ------------------
  |  |  248|  34.0k|#define Ten_pmax 22
  ------------------
  |  Branch (2321:9): [True: 34.0k, False: 3.61k]
  |  Branch (2321:19): [True: 23.2k, False: 10.8k]
  ------------------
 2322|  23.2k|        if (dval(&u) < tens[k])
  ------------------
  |  |  184|  23.2k|#define dval(x) (x)->d
  ------------------
  |  Branch (2322:13): [True: 640, False: 22.6k]
  ------------------
 2323|    640|            k--;
 2324|  23.2k|        k_check = 0;
 2325|  23.2k|    }
 2326|  37.7k|    j = bbits - i - 1;
 2327|  37.7k|    if (j >= 0) {
  ------------------
  |  Branch (2327:9): [True: 12.5k, False: 25.1k]
  ------------------
 2328|  12.5k|        b2 = 0;
 2329|  12.5k|        s2 = j;
 2330|  12.5k|    }
 2331|  25.1k|    else {
 2332|  25.1k|        b2 = -j;
 2333|  25.1k|        s2 = 0;
 2334|  25.1k|    }
 2335|  37.7k|    if (k >= 0) {
  ------------------
  |  Branch (2335:9): [True: 34.0k, False: 3.61k]
  ------------------
 2336|  34.0k|        b5 = 0;
 2337|  34.0k|        s5 = k;
 2338|  34.0k|        s2 += k;
 2339|  34.0k|    }
 2340|  3.61k|    else {
 2341|  3.61k|        b2 -= k;
 2342|  3.61k|        b5 = -k;
 2343|  3.61k|        s5 = 0;
 2344|  3.61k|    }
 2345|  37.7k|    if (mode < 0 || mode > 9)
  ------------------
  |  Branch (2345:9): [True: 0, False: 37.7k]
  |  Branch (2345:21): [True: 0, False: 37.7k]
  ------------------
 2346|      0|        mode = 0;
 2347|       |
 2348|  37.7k|    try_quick = 1;
 2349|       |
 2350|  37.7k|    if (mode > 5) {
  ------------------
  |  Branch (2350:9): [True: 0, False: 37.7k]
  ------------------
 2351|      0|        mode -= 4;
 2352|      0|        try_quick = 0;
 2353|      0|    }
 2354|  37.7k|    leftright = 1;
 2355|  37.7k|    ilim = ilim1 = -1;  /* Values for cases 0 and 1; done here to */
 2356|       |    /* silence erroneous "gcc -Wall" warning. */
 2357|  37.7k|    switch(mode) {
  ------------------
  |  Branch (2357:12): [True: 37.7k, False: 0]
  ------------------
 2358|  37.7k|    case 0:
  ------------------
  |  Branch (2358:5): [True: 37.7k, False: 0]
  ------------------
 2359|  37.7k|    case 1:
  ------------------
  |  Branch (2359:5): [True: 0, False: 37.7k]
  ------------------
 2360|  37.7k|        i = 18;
 2361|  37.7k|        ndigits = 0;
 2362|  37.7k|        break;
 2363|      0|    case 2:
  ------------------
  |  Branch (2363:5): [True: 0, False: 37.7k]
  ------------------
 2364|      0|        leftright = 0;
 2365|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 2366|      0|    case 4:
  ------------------
  |  Branch (2366:5): [True: 0, False: 37.7k]
  ------------------
 2367|      0|        if (ndigits <= 0)
  ------------------
  |  Branch (2367:13): [True: 0, False: 0]
  ------------------
 2368|      0|            ndigits = 1;
 2369|      0|        ilim = ilim1 = i = ndigits;
 2370|      0|        break;
 2371|      0|    case 3:
  ------------------
  |  Branch (2371:5): [True: 0, False: 37.7k]
  ------------------
 2372|      0|        leftright = 0;
 2373|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 2374|      0|    case 5:
  ------------------
  |  Branch (2374:5): [True: 0, False: 37.7k]
  ------------------
 2375|      0|        i = ndigits + k + 1;
 2376|      0|        ilim = i;
 2377|      0|        ilim1 = i - 1;
 2378|      0|        if (i <= 0)
  ------------------
  |  Branch (2378:13): [True: 0, False: 0]
  ------------------
 2379|      0|            i = 1;
 2380|  37.7k|    }
 2381|  37.7k|    s0 = rv_alloc(i);
 2382|  37.7k|    if (s0 == NULL)
  ------------------
  |  Branch (2382:9): [True: 0, False: 37.7k]
  ------------------
 2383|      0|        goto failed_malloc;
 2384|  37.7k|    s = s0;
 2385|       |
 2386|       |
 2387|  37.7k|    if (ilim >= 0 && ilim <= Quick_max && try_quick) {
  ------------------
  |  |  256|  37.7k|#define Quick_max 14
  ------------------
  |  Branch (2387:9): [True: 0, False: 37.7k]
  |  Branch (2387:22): [True: 0, False: 0]
  |  Branch (2387:43): [True: 0, False: 0]
  ------------------
 2388|       |
 2389|       |        /* Try to get by with floating-point arithmetic. */
 2390|       |
 2391|      0|        i = 0;
 2392|      0|        dval(&d2) = dval(&u);
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
                      dval(&d2) = dval(&u);
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 2393|      0|        k0 = k;
 2394|      0|        ilim0 = ilim;
 2395|      0|        ieps = 2; /* conservative */
 2396|      0|        if (k > 0) {
  ------------------
  |  Branch (2396:13): [True: 0, False: 0]
  ------------------
 2397|      0|            ds = tens[k&0xf];
 2398|      0|            j = k >> 4;
 2399|      0|            if (j & Bletch) {
  ------------------
  |  |  249|      0|#define Bletch 0x10
  ------------------
  |  Branch (2399:17): [True: 0, False: 0]
  ------------------
 2400|       |                /* prevent overflows */
 2401|      0|                j &= Bletch - 1;
  ------------------
  |  |  249|      0|#define Bletch 0x10
  ------------------
 2402|      0|                dval(&u) /= bigtens[n_bigtens-1];
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
                              dval(&u) /= bigtens[n_bigtens-1];
  ------------------
  |  | 1117|      0|#define n_bigtens 5
  ------------------
 2403|      0|                ieps++;
 2404|      0|            }
 2405|      0|            for(; j; j >>= 1, i++)
  ------------------
  |  Branch (2405:19): [True: 0, False: 0]
  ------------------
 2406|      0|                if (j & 1) {
  ------------------
  |  Branch (2406:21): [True: 0, False: 0]
  ------------------
 2407|      0|                    ieps++;
 2408|      0|                    ds *= bigtens[i];
 2409|      0|                }
 2410|      0|            dval(&u) /= ds;
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 2411|      0|        }
 2412|      0|        else if ((j1 = -k)) {
  ------------------
  |  Branch (2412:18): [True: 0, False: 0]
  ------------------
 2413|      0|            dval(&u) *= tens[j1 & 0xf];
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 2414|      0|            for(j = j1 >> 4; j; j >>= 1, i++)
  ------------------
  |  Branch (2414:30): [True: 0, False: 0]
  ------------------
 2415|      0|                if (j & 1) {
  ------------------
  |  Branch (2415:21): [True: 0, False: 0]
  ------------------
 2416|      0|                    ieps++;
 2417|      0|                    dval(&u) *= bigtens[i];
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 2418|      0|                }
 2419|      0|        }
 2420|      0|        if (k_check && dval(&u) < 1. && ilim > 0) {
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (2420:13): [True: 0, False: 0]
  |  Branch (2420:24): [True: 0, False: 0]
  |  Branch (2420:41): [True: 0, False: 0]
  ------------------
 2421|      0|            if (ilim1 <= 0)
  ------------------
  |  Branch (2421:17): [True: 0, False: 0]
  ------------------
 2422|      0|                goto fast_failed;
 2423|      0|            ilim = ilim1;
 2424|      0|            k--;
 2425|      0|            dval(&u) *= 10.;
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 2426|      0|            ieps++;
 2427|      0|        }
 2428|      0|        dval(&eps) = ieps*dval(&u) + 7.;
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
                      dval(&eps) = ieps*dval(&u) + 7.;
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 2429|      0|        word0(&eps) -= (P-1)*Exp_msk1;
  ------------------
  |  |  178|      0|#define word0(x) (x)->L[1]
  ------------------
                      word0(&eps) -= (P-1)*Exp_msk1;
  ------------------
  |  |  237|      0|#define P 53
  ------------------
                      word0(&eps) -= (P-1)*Exp_msk1;
  ------------------
  |  |  234|      0|#define Exp_msk1    0x100000
  ------------------
 2430|      0|        if (ilim == 0) {
  ------------------
  |  Branch (2430:13): [True: 0, False: 0]
  ------------------
 2431|      0|            S = mhi = 0;
 2432|      0|            dval(&u) -= 5.;
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 2433|      0|            if (dval(&u) > dval(&eps))
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
                          if (dval(&u) > dval(&eps))
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (2433:17): [True: 0, False: 0]
  ------------------
 2434|      0|                goto one_digit;
 2435|      0|            if (dval(&u) < -dval(&eps))
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
                          if (dval(&u) < -dval(&eps))
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (2435:17): [True: 0, False: 0]
  ------------------
 2436|      0|                goto no_digits;
 2437|      0|            goto fast_failed;
 2438|      0|        }
 2439|      0|        if (leftright) {
  ------------------
  |  Branch (2439:13): [True: 0, False: 0]
  ------------------
 2440|       |            /* Use Steele & White method of only
 2441|       |             * generating digits needed.
 2442|       |             */
 2443|      0|            dval(&eps) = 0.5/tens[ilim-1] - dval(&eps);
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
                          dval(&eps) = 0.5/tens[ilim-1] - dval(&eps);
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 2444|      0|            for(i = 0;;) {
 2445|      0|                L = (Long)dval(&u);
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 2446|      0|                dval(&u) -= L;
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 2447|      0|                *s++ = '0' + (int)L;
 2448|      0|                if (dval(&u) < dval(&eps))
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
                              if (dval(&u) < dval(&eps))
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (2448:21): [True: 0, False: 0]
  ------------------
 2449|      0|                    goto ret1;
 2450|      0|                if (1. - dval(&u) < dval(&eps))
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
                              if (1. - dval(&u) < dval(&eps))
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (2450:21): [True: 0, False: 0]
  ------------------
 2451|      0|                    goto bump_up;
 2452|      0|                if (++i >= ilim)
  ------------------
  |  Branch (2452:21): [True: 0, False: 0]
  ------------------
 2453|      0|                    break;
 2454|      0|                dval(&eps) *= 10.;
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 2455|      0|                dval(&u) *= 10.;
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 2456|      0|            }
 2457|      0|        }
 2458|      0|        else {
 2459|       |            /* Generate ilim digits, then fix them up. */
 2460|      0|            dval(&eps) *= tens[ilim-1];
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 2461|      0|            for(i = 1;; i++, dval(&u) *= 10.) {
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 2462|      0|                L = (Long)(dval(&u));
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 2463|      0|                if (!(dval(&u) -= L))
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (2463:21): [True: 0, False: 0]
  ------------------
 2464|      0|                    ilim = i;
 2465|      0|                *s++ = '0' + (int)L;
 2466|      0|                if (i == ilim) {
  ------------------
  |  Branch (2466:21): [True: 0, False: 0]
  ------------------
 2467|      0|                    if (dval(&u) > 0.5 + dval(&eps))
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
                                  if (dval(&u) > 0.5 + dval(&eps))
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (2467:25): [True: 0, False: 0]
  ------------------
 2468|      0|                        goto bump_up;
 2469|      0|                    else if (dval(&u) < 0.5 - dval(&eps)) {
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
                                  else if (dval(&u) < 0.5 - dval(&eps)) {
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (2469:30): [True: 0, False: 0]
  ------------------
 2470|      0|                        while(*--s == '0');
  ------------------
  |  Branch (2470:31): [True: 0, False: 0]
  ------------------
 2471|      0|                        s++;
 2472|      0|                        goto ret1;
 2473|      0|                    }
 2474|      0|                    break;
 2475|      0|                }
 2476|      0|            }
 2477|      0|        }
 2478|      0|      fast_failed:
 2479|      0|        s = s0;
 2480|      0|        dval(&u) = dval(&d2);
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
                      dval(&u) = dval(&d2);
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 2481|      0|        k = k0;
 2482|      0|        ilim = ilim0;
 2483|      0|    }
 2484|       |
 2485|       |    /* Do we have a "small" integer? */
 2486|       |
 2487|  37.7k|    if (be >= 0 && k <= Int_max) {
  ------------------
  |  |  257|  28.4k|#define Int_max 14
  ------------------
  |  Branch (2487:9): [True: 28.4k, False: 9.29k]
  |  Branch (2487:20): [True: 15.0k, False: 13.3k]
  ------------------
 2488|       |        /* Yes. */
 2489|  15.0k|        ds = tens[k];
 2490|  15.0k|        if (ndigits < 0 && ilim <= 0) {
  ------------------
  |  Branch (2490:13): [True: 0, False: 15.0k]
  |  Branch (2490:28): [True: 0, False: 0]
  ------------------
 2491|      0|            S = mhi = 0;
 2492|      0|            if (ilim < 0 || dval(&u) <= 5*ds)
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (2492:17): [True: 0, False: 0]
  |  Branch (2492:29): [True: 0, False: 0]
  ------------------
 2493|      0|                goto no_digits;
 2494|      0|            goto one_digit;
 2495|      0|        }
 2496|  65.1k|        for(i = 1;; i++, dval(&u) *= 10.) {
  ------------------
  |  |  184|  50.0k|#define dval(x) (x)->d
  ------------------
 2497|  65.1k|            L = (Long)(dval(&u) / ds);
  ------------------
  |  |  184|  65.1k|#define dval(x) (x)->d
  ------------------
 2498|  65.1k|            dval(&u) -= L*ds;
  ------------------
  |  |  184|  65.1k|#define dval(x) (x)->d
  ------------------
 2499|  65.1k|            *s++ = '0' + (int)L;
 2500|  65.1k|            if (!dval(&u)) {
  ------------------
  |  |  184|  65.1k|#define dval(x) (x)->d
  ------------------
  |  Branch (2500:17): [True: 15.0k, False: 50.0k]
  ------------------
 2501|  15.0k|                break;
 2502|  15.0k|            }
 2503|  50.0k|            if (i == ilim) {
  ------------------
  |  Branch (2503:17): [True: 0, False: 50.0k]
  ------------------
 2504|      0|                dval(&u) += dval(&u);
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
                              dval(&u) += dval(&u);
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
 2505|      0|                if (dval(&u) > ds || (dval(&u) == ds && L & 1)) {
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
                              if (dval(&u) > ds || (dval(&u) == ds && L & 1)) {
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
  |  Branch (2505:21): [True: 0, False: 0]
  |  Branch (2505:39): [True: 0, False: 0]
  |  Branch (2505:57): [True: 0, False: 0]
  ------------------
 2506|      0|                  bump_up:
 2507|      0|                    while(*--s == '9')
  ------------------
  |  Branch (2507:27): [True: 0, False: 0]
  ------------------
 2508|      0|                        if (s == s0) {
  ------------------
  |  Branch (2508:29): [True: 0, False: 0]
  ------------------
 2509|      0|                            k++;
 2510|      0|                            *s = '0';
 2511|      0|                            break;
 2512|      0|                        }
 2513|      0|                    ++*s++;
 2514|      0|                }
 2515|      0|                else {
 2516|       |                    /* Strip trailing zeros. This branch was missing from the
 2517|       |                       original dtoa.c, leading to surplus trailing zeros in
 2518|       |                       some cases. See bugs.python.org/issue40780. */
 2519|      0|                    while (s > s0 && s[-1] == '0') {
  ------------------
  |  Branch (2519:28): [True: 0, False: 0]
  |  Branch (2519:38): [True: 0, False: 0]
  ------------------
 2520|      0|                        --s;
 2521|      0|                    }
 2522|      0|                }
 2523|      0|                break;
 2524|      0|            }
 2525|  50.0k|        }
 2526|  15.0k|        goto ret1;
 2527|  15.0k|    }
 2528|       |
 2529|  22.6k|    m2 = b2;
 2530|  22.6k|    m5 = b5;
 2531|  22.6k|    if (leftright) {
  ------------------
  |  Branch (2531:9): [True: 22.6k, False: 0]
  ------------------
 2532|  22.6k|        i =
 2533|  22.6k|            denorm ? be + (Bias + (P-1) - 1 + 1) :
  ------------------
  |  |  239|    811|#define Bias 1023
  ------------------
                          denorm ? be + (Bias + (P-1) - 1 + 1) :
  ------------------
  |  |  237|    811|#define P 53
  ------------------
  |  Branch (2533:13): [True: 811, False: 21.7k]
  ------------------
 2534|  22.6k|            1 + P - bbits;
  ------------------
  |  |  237|  21.7k|#define P 53
  ------------------
 2535|  22.6k|        b2 += i;
 2536|  22.6k|        s2 += i;
 2537|  22.6k|        mhi = i2b(1);
 2538|  22.6k|        if (mhi == NULL)
  ------------------
  |  Branch (2538:13): [True: 0, False: 22.6k]
  ------------------
 2539|      0|            goto failed_malloc;
 2540|  22.6k|    }
 2541|  22.6k|    if (m2 > 0 && s2 > 0) {
  ------------------
  |  Branch (2541:9): [True: 16.9k, False: 5.68k]
  |  Branch (2541:19): [True: 16.9k, False: 0]
  ------------------
 2542|  16.9k|        i = m2 < s2 ? m2 : s2;
  ------------------
  |  Branch (2542:13): [True: 5.95k, False: 10.9k]
  ------------------
 2543|  16.9k|        b2 -= i;
 2544|  16.9k|        m2 -= i;
 2545|  16.9k|        s2 -= i;
 2546|  16.9k|    }
 2547|  22.6k|    if (b5 > 0) {
  ------------------
  |  Branch (2547:9): [True: 3.61k, False: 18.9k]
  ------------------
 2548|  3.61k|        if (leftright) {
  ------------------
  |  Branch (2548:13): [True: 3.61k, False: 0]
  ------------------
 2549|  3.61k|            if (m5 > 0) {
  ------------------
  |  Branch (2549:17): [True: 3.61k, False: 0]
  ------------------
 2550|  3.61k|                mhi = pow5mult(mhi, m5);
 2551|  3.61k|                if (mhi == NULL)
  ------------------
  |  Branch (2551:21): [True: 0, False: 3.61k]
  ------------------
 2552|      0|                    goto failed_malloc;
 2553|  3.61k|                b1 = mult(mhi, b);
 2554|  3.61k|                Bfree(b);
 2555|  3.61k|                b = b1;
 2556|  3.61k|                if (b == NULL)
  ------------------
  |  Branch (2556:21): [True: 0, False: 3.61k]
  ------------------
 2557|      0|                    goto failed_malloc;
 2558|  3.61k|            }
 2559|  3.61k|            if ((j = b5 - m5)) {
  ------------------
  |  Branch (2559:17): [True: 0, False: 3.61k]
  ------------------
 2560|      0|                b = pow5mult(b, j);
 2561|      0|                if (b == NULL)
  ------------------
  |  Branch (2561:21): [True: 0, False: 0]
  ------------------
 2562|      0|                    goto failed_malloc;
 2563|      0|            }
 2564|  3.61k|        }
 2565|      0|        else {
 2566|      0|            b = pow5mult(b, b5);
 2567|      0|            if (b == NULL)
  ------------------
  |  Branch (2567:17): [True: 0, False: 0]
  ------------------
 2568|      0|                goto failed_malloc;
 2569|      0|        }
 2570|  3.61k|    }
 2571|  22.6k|    S = i2b(1);
 2572|  22.6k|    if (S == NULL)
  ------------------
  |  Branch (2572:9): [True: 0, False: 22.6k]
  ------------------
 2573|      0|        goto failed_malloc;
 2574|  22.6k|    if (s5 > 0) {
  ------------------
  |  Branch (2574:9): [True: 17.0k, False: 5.54k]
  ------------------
 2575|  17.0k|        S = pow5mult(S, s5);
 2576|  17.0k|        if (S == NULL)
  ------------------
  |  Branch (2576:13): [True: 0, False: 17.0k]
  ------------------
 2577|      0|            goto failed_malloc;
 2578|  17.0k|    }
 2579|       |
 2580|       |    /* Check for special case that d is a normalized power of 2. */
 2581|       |
 2582|  22.6k|    spec_case = 0;
 2583|  22.6k|    if ((mode < 2 || leftright)
  ------------------
  |  Branch (2583:10): [True: 22.6k, False: 0]
  |  Branch (2583:22): [True: 0, False: 0]
  ------------------
 2584|  22.6k|        ) {
 2585|  22.6k|        if (!word1(&u) && !(word0(&u) & Bndry_mask)
  ------------------
  |  |  179|  45.2k|#define word1(x) (x)->L[0]
  ------------------
                      if (!word1(&u) && !(word0(&u) & Bndry_mask)
  ------------------
  |  |  178|    833|#define word0(x) (x)->L[1]
  ------------------
                      if (!word1(&u) && !(word0(&u) & Bndry_mask)
  ------------------
  |  |  250|    833|#define Bndry_mask  0xfffff
  ------------------
  |  Branch (2585:13): [True: 833, False: 21.7k]
  |  Branch (2585:27): [True: 539, False: 294]
  ------------------
 2586|    539|            && word0(&u) & (Exp_mask & ~Exp_msk1)
  ------------------
  |  |  178|    539|#define word0(x) (x)->L[1]
  ------------------
                          && word0(&u) & (Exp_mask & ~Exp_msk1)
  ------------------
  |  |  236|    539|#define Exp_mask  0x7ff00000
  ------------------
                          && word0(&u) & (Exp_mask & ~Exp_msk1)
  ------------------
  |  |  234|    539|#define Exp_msk1    0x100000
  ------------------
  |  Branch (2586:16): [True: 539, False: 0]
  ------------------
 2587|  22.6k|            ) {
 2588|       |            /* The special case */
 2589|    539|            b2 += Log2P;
  ------------------
  |  |  253|    539|#define Log2P 1
  ------------------
 2590|    539|            s2 += Log2P;
  ------------------
  |  |  253|    539|#define Log2P 1
  ------------------
 2591|    539|            spec_case = 1;
 2592|    539|        }
 2593|  22.6k|    }
 2594|       |
 2595|       |    /* Arrange for convenient computation of quotients:
 2596|       |     * shift left if necessary so divisor has 4 leading 0 bits.
 2597|       |     *
 2598|       |     * Perhaps we should just compute leading 28 bits of S once
 2599|       |     * and for all and pass them and a shift to quorem, so it
 2600|       |     * can do shifts and ors to compute the numerator for q.
 2601|       |     */
 2602|  22.6k|#define iInc 28
 2603|  22.6k|    i = dshift(S, s2);
 2604|  22.6k|    b2 += i;
 2605|  22.6k|    m2 += i;
 2606|  22.6k|    s2 += i;
 2607|  22.6k|    if (b2 > 0) {
  ------------------
  |  Branch (2607:9): [True: 22.6k, False: 0]
  ------------------
 2608|  22.6k|        b = lshift(b, b2);
 2609|  22.6k|        if (b == NULL)
  ------------------
  |  Branch (2609:13): [True: 0, False: 22.6k]
  ------------------
 2610|      0|            goto failed_malloc;
 2611|  22.6k|    }
 2612|  22.6k|    if (s2 > 0) {
  ------------------
  |  Branch (2612:9): [True: 22.5k, False: 25]
  ------------------
 2613|  22.5k|        S = lshift(S, s2);
 2614|  22.5k|        if (S == NULL)
  ------------------
  |  Branch (2614:13): [True: 0, False: 22.5k]
  ------------------
 2615|      0|            goto failed_malloc;
 2616|  22.5k|    }
 2617|  22.6k|    if (k_check) {
  ------------------
  |  Branch (2617:9): [True: 14.4k, False: 8.17k]
  ------------------
 2618|  14.4k|        if (cmp(b,S) < 0) {
  ------------------
  |  Branch (2618:13): [True: 3.96k, False: 10.4k]
  ------------------
 2619|  3.96k|            k--;
 2620|  3.96k|            b = multadd(b, 10, 0);      /* we botched the k estimate */
 2621|  3.96k|            if (b == NULL)
  ------------------
  |  Branch (2621:17): [True: 0, False: 3.96k]
  ------------------
 2622|      0|                goto failed_malloc;
 2623|  3.96k|            if (leftright) {
  ------------------
  |  Branch (2623:17): [True: 3.96k, False: 0]
  ------------------
 2624|  3.96k|                mhi = multadd(mhi, 10, 0);
 2625|  3.96k|                if (mhi == NULL)
  ------------------
  |  Branch (2625:21): [True: 0, False: 3.96k]
  ------------------
 2626|      0|                    goto failed_malloc;
 2627|  3.96k|            }
 2628|  3.96k|            ilim = ilim1;
 2629|  3.96k|        }
 2630|  14.4k|    }
 2631|  22.6k|    if (ilim <= 0 && (mode == 3 || mode == 5)) {
  ------------------
  |  Branch (2631:9): [True: 22.6k, False: 0]
  |  Branch (2631:23): [True: 0, False: 22.6k]
  |  Branch (2631:36): [True: 0, False: 22.6k]
  ------------------
 2632|      0|        if (ilim < 0) {
  ------------------
  |  Branch (2632:13): [True: 0, False: 0]
  ------------------
 2633|       |            /* no digits, fcvt style */
 2634|      0|          no_digits:
 2635|      0|            k = -1 - ndigits;
 2636|      0|            goto ret;
 2637|      0|        }
 2638|      0|        else {
 2639|      0|            S = multadd(S, 5, 0);
 2640|      0|            if (S == NULL)
  ------------------
  |  Branch (2640:17): [True: 0, False: 0]
  ------------------
 2641|      0|                goto failed_malloc;
 2642|      0|            if (cmp(b, S) <= 0)
  ------------------
  |  Branch (2642:17): [True: 0, False: 0]
  ------------------
 2643|      0|                goto no_digits;
 2644|      0|        }
 2645|      0|      one_digit:
 2646|      0|        *s++ = '1';
 2647|      0|        k++;
 2648|      0|        goto ret;
 2649|      0|    }
 2650|  22.6k|    if (leftright) {
  ------------------
  |  Branch (2650:9): [True: 22.6k, False: 0]
  ------------------
 2651|  22.6k|        if (m2 > 0) {
  ------------------
  |  Branch (2651:13): [True: 22.2k, False: 401]
  ------------------
 2652|  22.2k|            mhi = lshift(mhi, m2);
 2653|  22.2k|            if (mhi == NULL)
  ------------------
  |  Branch (2653:17): [True: 0, False: 22.2k]
  ------------------
 2654|      0|                goto failed_malloc;
 2655|  22.2k|        }
 2656|       |
 2657|       |        /* Compute mlo -- check for special case
 2658|       |         * that d is a normalized power of 2.
 2659|       |         */
 2660|       |
 2661|  22.6k|        mlo = mhi;
 2662|  22.6k|        if (spec_case) {
  ------------------
  |  Branch (2662:13): [True: 539, False: 22.0k]
  ------------------
 2663|    539|            mhi = Balloc(mhi->k);
 2664|    539|            if (mhi == NULL)
  ------------------
  |  Branch (2664:17): [True: 0, False: 539]
  ------------------
 2665|      0|                goto failed_malloc;
 2666|    539|            Bcopy(mhi, mlo);
  ------------------
  |  |  433|    539|#define Bcopy(x,y) memcpy((char *)&x->sign, (char *)&y->sign,   \
  |  |  434|    539|                          y->wds*sizeof(Long) + 2*sizeof(int))
  ------------------
 2667|    539|            mhi = lshift(mhi, Log2P);
  ------------------
  |  |  253|    539|#define Log2P 1
  ------------------
 2668|    539|            if (mhi == NULL)
  ------------------
  |  Branch (2668:17): [True: 0, False: 539]
  ------------------
 2669|      0|                goto failed_malloc;
 2670|    539|        }
 2671|       |
 2672|   111k|        for(i = 1;;i++) {
 2673|   111k|            dig = quorem(b,S) + '0';
 2674|       |            /* Do we yet have the shortest decimal string
 2675|       |             * that will round to d?
 2676|       |             */
 2677|   111k|            j = cmp(b, mlo);
 2678|   111k|            delta = diff(S, mhi);
 2679|   111k|            if (delta == NULL)
  ------------------
  |  Branch (2679:17): [True: 0, False: 111k]
  ------------------
 2680|      0|                goto failed_malloc;
 2681|   111k|            j1 = delta->sign ? 1 : cmp(b, delta);
  ------------------
  |  Branch (2681:18): [True: 1.03k, False: 110k]
  ------------------
 2682|   111k|            Bfree(delta);
 2683|   111k|            if (j1 == 0 && mode != 1 && !(word1(&u) & 1)
  ------------------
  |  |  179|  4.64k|#define word1(x) (x)->L[0]
  ------------------
  |  Branch (2683:17): [True: 4.64k, False: 107k]
  |  Branch (2683:28): [True: 4.64k, False: 0]
  |  Branch (2683:41): [True: 4.32k, False: 316]
  ------------------
 2684|   111k|                ) {
 2685|  4.32k|                if (dig == '9')
  ------------------
  |  Branch (2685:21): [True: 3.04k, False: 1.28k]
  ------------------
 2686|  3.04k|                    goto round_9_up;
 2687|  1.28k|                if (j > 0)
  ------------------
  |  Branch (2687:21): [True: 1.21k, False: 74]
  ------------------
 2688|  1.21k|                    dig++;
 2689|  1.28k|                *s++ = dig;
 2690|  1.28k|                goto ret;
 2691|  4.32k|            }
 2692|   107k|            if (j < 0 || (j == 0 && mode != 1
  ------------------
  |  Branch (2692:17): [True: 12.4k, False: 94.9k]
  |  Branch (2692:27): [True: 1.86k, False: 93.1k]
  |  Branch (2692:37): [True: 1.86k, False: 0]
  ------------------
 2693|  1.86k|                          && !(word1(&u) & 1)
  ------------------
  |  |  179|  1.86k|#define word1(x) (x)->L[0]
  ------------------
  |  Branch (2693:30): [True: 237, False: 1.62k]
  ------------------
 2694|  94.9k|                    )) {
 2695|  12.6k|                if (!b->x[0] && b->wds <= 1) {
  ------------------
  |  Branch (2695:21): [True: 2.76k, False: 9.88k]
  |  Branch (2695:33): [True: 2.50k, False: 259]
  ------------------
 2696|  2.50k|                    goto accept_dig;
 2697|  2.50k|                }
 2698|  10.1k|                if (j1 > 0) {
  ------------------
  |  Branch (2698:21): [True: 3.08k, False: 7.06k]
  ------------------
 2699|  3.08k|                    b = lshift(b, 1);
 2700|  3.08k|                    if (b == NULL)
  ------------------
  |  Branch (2700:25): [True: 0, False: 3.08k]
  ------------------
 2701|      0|                        goto failed_malloc;
 2702|  3.08k|                    j1 = cmp(b, S);
 2703|  3.08k|                    if ((j1 > 0 || (j1 == 0 && dig & 1))
  ------------------
  |  Branch (2703:26): [True: 410, False: 2.67k]
  |  Branch (2703:37): [True: 2.34k, False: 322]
  |  Branch (2703:48): [True: 177, False: 2.17k]
  ------------------
 2704|    587|                        && dig++ == '9')
  ------------------
  |  Branch (2704:28): [True: 3, False: 584]
  ------------------
 2705|      3|                        goto round_9_up;
 2706|  3.08k|                }
 2707|  12.6k|              accept_dig:
 2708|  12.6k|                *s++ = dig;
 2709|  12.6k|                goto ret;
 2710|  10.1k|            }
 2711|  94.7k|            if (j1 > 0) {
  ------------------
  |  Branch (2711:17): [True: 5.62k, False: 89.1k]
  ------------------
 2712|  5.62k|                if (dig == '9') { /* possible if i == 1 */
  ------------------
  |  Branch (2712:21): [True: 944, False: 4.68k]
  ------------------
 2713|  3.99k|                  round_9_up:
 2714|  3.99k|                    *s++ = '9';
 2715|  3.99k|                    goto roundoff;
 2716|    944|                }
 2717|  4.68k|                *s++ = dig + 1;
 2718|  4.68k|                goto ret;
 2719|  5.62k|            }
 2720|  89.1k|            *s++ = dig;
 2721|  89.1k|            if (i == ilim)
  ------------------
  |  Branch (2721:17): [True: 0, False: 89.1k]
  ------------------
 2722|      0|                break;
 2723|  89.1k|            b = multadd(b, 10, 0);
 2724|  89.1k|            if (b == NULL)
  ------------------
  |  Branch (2724:17): [True: 0, False: 89.1k]
  ------------------
 2725|      0|                goto failed_malloc;
 2726|  89.1k|            if (mlo == mhi) {
  ------------------
  |  Branch (2726:17): [True: 88.2k, False: 885]
  ------------------
 2727|  88.2k|                mlo = mhi = multadd(mhi, 10, 0);
 2728|  88.2k|                if (mlo == NULL)
  ------------------
  |  Branch (2728:21): [True: 0, False: 88.2k]
  ------------------
 2729|      0|                    goto failed_malloc;
 2730|  88.2k|            }
 2731|    885|            else {
 2732|    885|                mlo = multadd(mlo, 10, 0);
 2733|    885|                if (mlo == NULL)
  ------------------
  |  Branch (2733:21): [True: 0, False: 885]
  ------------------
 2734|      0|                    goto failed_malloc;
 2735|    885|                mhi = multadd(mhi, 10, 0);
 2736|    885|                if (mhi == NULL)
  ------------------
  |  Branch (2736:21): [True: 0, False: 885]
  ------------------
 2737|      0|                    goto failed_malloc;
 2738|    885|            }
 2739|  89.1k|        }
 2740|  22.6k|    }
 2741|      0|    else
 2742|      0|        for(i = 1;; i++) {
 2743|      0|            *s++ = dig = quorem(b,S) + '0';
 2744|      0|            if (!b->x[0] && b->wds <= 1) {
  ------------------
  |  Branch (2744:17): [True: 0, False: 0]
  |  Branch (2744:29): [True: 0, False: 0]
  ------------------
 2745|      0|                goto ret;
 2746|      0|            }
 2747|      0|            if (i >= ilim)
  ------------------
  |  Branch (2747:17): [True: 0, False: 0]
  ------------------
 2748|      0|                break;
 2749|      0|            b = multadd(b, 10, 0);
 2750|      0|            if (b == NULL)
  ------------------
  |  Branch (2750:17): [True: 0, False: 0]
  ------------------
 2751|      0|                goto failed_malloc;
 2752|      0|        }
 2753|       |
 2754|       |    /* Round off last digit */
 2755|       |
 2756|      0|    b = lshift(b, 1);
 2757|      0|    if (b == NULL)
  ------------------
  |  Branch (2757:9): [True: 0, False: 0]
  ------------------
 2758|      0|        goto failed_malloc;
 2759|      0|    j = cmp(b, S);
 2760|      0|    if (j > 0 || (j == 0 && dig & 1)) {
  ------------------
  |  Branch (2760:9): [True: 0, False: 0]
  |  Branch (2760:19): [True: 0, False: 0]
  |  Branch (2760:29): [True: 0, False: 0]
  ------------------
 2761|  3.99k|      roundoff:
 2762|  3.99k|        while(*--s == '9')
  ------------------
  |  Branch (2762:15): [True: 3.99k, False: 0]
  ------------------
 2763|  3.99k|            if (s == s0) {
  ------------------
  |  Branch (2763:17): [True: 3.99k, False: 0]
  ------------------
 2764|  3.99k|                k++;
 2765|  3.99k|                *s++ = '1';
 2766|  3.99k|                goto ret;
 2767|  3.99k|            }
 2768|      0|        ++*s++;
 2769|      0|    }
 2770|      0|    else {
 2771|      0|        while(*--s == '0');
  ------------------
  |  Branch (2771:15): [True: 0, False: 0]
  ------------------
 2772|      0|        s++;
 2773|      0|    }
 2774|  22.6k|  ret:
 2775|  22.6k|    Bfree(S);
 2776|  22.6k|    if (mhi) {
  ------------------
  |  Branch (2776:9): [True: 22.6k, False: 0]
  ------------------
 2777|  22.6k|        if (mlo && mlo != mhi)
  ------------------
  |  Branch (2777:13): [True: 22.6k, False: 0]
  |  Branch (2777:20): [True: 539, False: 22.0k]
  ------------------
 2778|    539|            Bfree(mlo);
 2779|  22.6k|        Bfree(mhi);
 2780|  22.6k|    }
 2781|  37.7k|  ret1:
 2782|  37.7k|    Bfree(b);
 2783|  37.7k|    *s = 0;
 2784|  37.7k|    *decpt = k + 1;
 2785|  37.7k|    if (rve)
  ------------------
  |  Branch (2785:9): [True: 37.7k, False: 0]
  ------------------
 2786|  37.7k|        *rve = s;
 2787|  37.7k|    return s0;
 2788|      0|  failed_malloc:
 2789|      0|    if (S)
  ------------------
  |  Branch (2789:9): [True: 0, False: 0]
  ------------------
 2790|      0|        Bfree(S);
 2791|      0|    if (mlo && mlo != mhi)
  ------------------
  |  Branch (2791:9): [True: 0, False: 0]
  |  Branch (2791:16): [True: 0, False: 0]
  ------------------
 2792|      0|        Bfree(mlo);
 2793|      0|    if (mhi)
  ------------------
  |  Branch (2793:9): [True: 0, False: 0]
  ------------------
 2794|      0|        Bfree(mhi);
 2795|      0|    if (b)
  ------------------
  |  Branch (2795:9): [True: 0, False: 0]
  ------------------
 2796|      0|        Bfree(b);
 2797|      0|    if (s0)
  ------------------
  |  Branch (2797:9): [True: 0, False: 0]
  ------------------
 2798|      0|        _Py_dg_freedtoa(s0);
 2799|       |    return NULL;
 2800|  22.6k|}
_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:s2b:
  483|  63.6k|{
  484|  63.6k|    Bigint *b;
  485|  63.6k|    int i, k;
  486|  63.6k|    Long x, y;
  487|       |
  488|  63.6k|    x = (nd + 8) / 9;
  489|   107k|    for(k = 0, y = 1; x > y; y <<= 1, k++) ;
  ------------------
  |  Branch (489:23): [True: 44.0k, False: 63.6k]
  ------------------
  490|  63.6k|    b = Balloc(k);
  491|  63.6k|    if (b == NULL)
  ------------------
  |  Branch (491:9): [True: 0, False: 63.6k]
  ------------------
  492|      0|        return NULL;
  493|  63.6k|    b->x[0] = y9;
  494|  63.6k|    b->wds = 1;
  495|       |
  496|  63.6k|    if (nd <= 9)
  ------------------
  |  Branch (496:9): [True: 32.7k, False: 30.8k]
  ------------------
  497|  32.7k|      return b;
  498|       |
  499|  30.8k|    s += 9;
  500|   304k|    for (i = 9; i < nd0; i++) {
  ------------------
  |  Branch (500:17): [True: 274k, False: 30.8k]
  ------------------
  501|   274k|        b = multadd(b, 10, *s++ - '0');
  502|   274k|        if (b == NULL)
  ------------------
  |  Branch (502:13): [True: 0, False: 274k]
  ------------------
  503|      0|            return NULL;
  504|   274k|    }
  505|  30.8k|    s++;
  506|  97.7k|    for(; i < nd; i++) {
  ------------------
  |  Branch (506:11): [True: 66.9k, False: 30.8k]
  ------------------
  507|  66.9k|        b = multadd(b, 10, *s++ - '0');
  508|  66.9k|        if (b == NULL)
  ------------------
  |  Branch (508:13): [True: 0, False: 66.9k]
  ------------------
  509|      0|            return NULL;
  510|  66.9k|    }
  511|  30.8k|    return b;
  512|  30.8k|}
dtoa.c:Balloc:
  341|  1.07M|{
  342|  1.07M|    int x;
  343|  1.07M|    Bigint *rv;
  344|  1.07M|    unsigned int len;
  345|  1.07M|    PyInterpreterState *interp = _PyInterpreterState_GET();
  346|       |
  347|  1.07M|    if (k <= Bigint_Kmax && (rv = freelist[k]))
  ------------------
  |  |  480|  2.14M|#define Bigint_Kmax 7
  ------------------
                  if (k <= Bigint_Kmax && (rv = freelist[k]))
  ------------------
  |  |  333|  1.07M|#define freelist interp->dtoa.freelist
  ------------------
  |  Branch (347:9): [True: 1.07M, False: 0]
  |  Branch (347:29): [True: 1.07M, False: 55]
  ------------------
  348|  1.07M|        freelist[k] = rv->next;
  ------------------
  |  |  333|  1.07M|#define freelist interp->dtoa.freelist
  ------------------
  349|     55|    else {
  350|     55|        x = 1 << k;
  351|     55|        len = (sizeof(Bigint) + (x-1)*sizeof(ULong) + sizeof(double) - 1)
  352|     55|            /sizeof(double);
  353|     55|        if (k <= Bigint_Kmax &&
  ------------------
  |  |  480|    110|#define Bigint_Kmax 7
  ------------------
  |  Branch (353:13): [True: 55, False: 0]
  ------------------
  354|     55|            pmem_next - private_mem + len <= (Py_ssize_t)Bigint_PREALLOC_SIZE
  ------------------
  |  |  335|     55|#define pmem_next interp->dtoa.preallocated_next
  ------------------
                          pmem_next - private_mem + len <= (Py_ssize_t)Bigint_PREALLOC_SIZE
  ------------------
  |  |  334|     55|#define private_mem interp->dtoa.preallocated
  ------------------
                          pmem_next - private_mem + len <= (Py_ssize_t)Bigint_PREALLOC_SIZE
  ------------------
  |  |  489|     55|    ((PRIVATE_MEM+sizeof(double)-1)/sizeof(double))
  |  |  ------------------
  |  |  |  |  486|     55|#define PRIVATE_MEM 2304
  |  |  ------------------
  ------------------
  |  Branch (354:13): [True: 35, False: 20]
  ------------------
  355|     55|        ) {
  356|     35|            rv = (Bigint*)pmem_next;
  ------------------
  |  |  335|     35|#define pmem_next interp->dtoa.preallocated_next
  ------------------
  357|     35|            pmem_next += len;
  ------------------
  |  |  335|     35|#define pmem_next interp->dtoa.preallocated_next
  ------------------
  358|     35|        }
  359|     20|        else {
  360|     20|            rv = (Bigint*)MALLOC(len*sizeof(double));
  ------------------
  |  |  133|     20|#define MALLOC PyMem_Malloc
  ------------------
  361|     20|            if (rv == NULL)
  ------------------
  |  Branch (361:17): [True: 0, False: 20]
  ------------------
  362|      0|                return NULL;
  363|     20|        }
  364|     55|        rv->k = k;
  365|     55|        rv->maxwds = x;
  366|     55|    }
  367|  1.07M|    rv->sign = rv->wds = 0;
  368|  1.07M|    return rv;
  369|  1.07M|}
dtoa.c:sd2b:
  979|  78.5k|{
  980|  78.5k|    Bigint *b;
  981|       |
  982|  78.5k|    b = Balloc(1);
  983|  78.5k|    if (b == NULL)
  ------------------
  |  Branch (983:9): [True: 0, False: 78.5k]
  ------------------
  984|      0|        return NULL;
  985|       |
  986|       |    /* First construct b and e assuming that scale == 0. */
  987|  78.5k|    b->wds = 2;
  988|  78.5k|    b->x[0] = word1(d);
  ------------------
  |  |  179|  78.5k|#define word1(x) (x)->L[0]
  ------------------
  989|  78.5k|    b->x[1] = word0(d) & Frac_mask;
  ------------------
  |  |  178|  78.5k|#define word0(x) (x)->L[1]
  ------------------
                  b->x[1] = word0(d) & Frac_mask;
  ------------------
  |  |  246|  78.5k|#define Frac_mask  0xfffff
  ------------------
  990|  78.5k|    *e = Etiny - 1 + (int)((word0(d) & Exp_mask) >> Exp_shift);
  ------------------
  |  |  242|  78.5k|#define Etiny (-1074)  /* smallest denormal is 2**Etiny */
  ------------------
                  *e = Etiny - 1 + (int)((word0(d) & Exp_mask) >> Exp_shift);
  ------------------
  |  |  178|  78.5k|#define word0(x) (x)->L[1]
  ------------------
                  *e = Etiny - 1 + (int)((word0(d) & Exp_mask) >> Exp_shift);
  ------------------
  |  |  236|  78.5k|#define Exp_mask  0x7ff00000
  ------------------
                  *e = Etiny - 1 + (int)((word0(d) & Exp_mask) >> Exp_shift);
  ------------------
  |  |  232|  78.5k|#define Exp_shift  20
  ------------------
  991|  78.5k|    if (*e < Etiny)
  ------------------
  |  |  242|  78.5k|#define Etiny (-1074)  /* smallest denormal is 2**Etiny */
  ------------------
  |  Branch (991:9): [True: 2.40k, False: 76.1k]
  ------------------
  992|  2.40k|        *e = Etiny;
  ------------------
  |  |  242|  2.40k|#define Etiny (-1074)  /* smallest denormal is 2**Etiny */
  ------------------
  993|  76.1k|    else
  994|  76.1k|        b->x[1] |= Exp_msk1;
  ------------------
  |  |  234|  76.1k|#define Exp_msk1    0x100000
  ------------------
  995|       |
  996|       |    /* Now adjust for scale, provided that b != 0. */
  997|  78.5k|    if (scale && (b->x[0] || b->x[1])) {
  ------------------
  |  Branch (997:9): [True: 12.9k, False: 65.5k]
  |  Branch (997:19): [True: 4.35k, False: 8.62k]
  |  Branch (997:30): [True: 6.21k, False: 2.40k]
  ------------------
  998|  10.5k|        *e -= scale;
  999|  10.5k|        if (*e < Etiny) {
  ------------------
  |  |  242|  10.5k|#define Etiny (-1074)  /* smallest denormal is 2**Etiny */
  ------------------
  |  Branch (999:13): [True: 8.42k, False: 2.14k]
  ------------------
 1000|  8.42k|            scale = Etiny - *e;
  ------------------
  |  |  242|  8.42k|#define Etiny (-1074)  /* smallest denormal is 2**Etiny */
  ------------------
 1001|  8.42k|            *e = Etiny;
  ------------------
  |  |  242|  8.42k|#define Etiny (-1074)  /* smallest denormal is 2**Etiny */
  ------------------
 1002|       |            /* We can't shift more than P-1 bits without shifting out a 1. */
 1003|  8.42k|            assert(0 < scale && scale <= P - 1);
  ------------------
  |  Branch (1003:13): [True: 8.42k, False: 0]
  |  Branch (1003:13): [True: 8.42k, False: 0]
  ------------------
 1004|  8.42k|            if (scale >= 32) {
  ------------------
  |  Branch (1004:17): [True: 6.17k, False: 2.25k]
  ------------------
 1005|       |                /* The bits shifted out should all be zero. */
 1006|  6.17k|                assert(b->x[0] == 0);
  ------------------
  |  Branch (1006:17): [True: 6.17k, False: 0]
  ------------------
 1007|  6.17k|                b->x[0] = b->x[1];
 1008|  6.17k|                b->x[1] = 0;
 1009|  6.17k|                scale -= 32;
 1010|  6.17k|            }
 1011|  8.42k|            if (scale) {
  ------------------
  |  Branch (1011:17): [True: 8.21k, False: 215]
  ------------------
 1012|       |                /* The bits shifted out should all be zero. */
 1013|  8.21k|                assert(b->x[0] << (32 - scale) == 0);
  ------------------
  |  Branch (1013:17): [True: 8.21k, False: 0]
  ------------------
 1014|  8.21k|                b->x[0] = (b->x[0] >> scale) | (b->x[1] << (32 - scale));
 1015|  8.21k|                b->x[1] >>= scale;
 1016|  8.21k|            }
 1017|  8.42k|        }
 1018|  10.5k|    }
 1019|       |    /* Ensure b is normalized. */
 1020|  78.5k|    if (!b->x[1])
  ------------------
  |  Branch (1020:9): [True: 8.74k, False: 69.7k]
  ------------------
 1021|  8.74k|        b->wds = 1;
 1022|       |
 1023|  78.5k|    return b;
 1024|  78.5k|}
dtoa.c:i2b:
  595|   123k|{
  596|   123k|    Bigint *b;
  597|       |
  598|   123k|    b = Balloc(1);
  599|   123k|    if (b == NULL)
  ------------------
  |  Branch (599:9): [True: 0, False: 123k]
  ------------------
  600|      0|        return NULL;
  601|   123k|    b->x[0] = i;
  602|   123k|    b->wds = 1;
  603|   123k|    return b;
  604|   123k|}
dtoa.c:pow5mult:
  675|  88.0k|{
  676|  88.0k|    Bigint *b1, *p5, **p5s;
  677|  88.0k|    int i;
  678|  88.0k|    static const int p05[3] = { 5, 25, 125 };
  679|       |
  680|       |    // For double-to-string conversion, the maximum value of k is limited by
  681|       |    // DBL_MAX_10_EXP (308), the maximum decimal base-10 exponent for binary64.
  682|       |    // For string-to-double conversion, the extreme case is constrained by our
  683|       |    // hardcoded exponent limit before we underflow of -512, adjusted by
  684|       |    // STRTOD_DIGLIM-DBL_DIG-1, giving a maximum of k=535.
  685|  88.0k|    assert(0 <= k && k < 1024);
  ------------------
  |  Branch (685:5): [True: 88.0k, False: 0]
  |  Branch (685:5): [True: 88.0k, False: 0]
  ------------------
  686|       |
  687|  88.0k|    if ((i = k & 3)) {
  ------------------
  |  Branch (687:9): [True: 72.4k, False: 15.5k]
  ------------------
  688|  72.4k|        b = multadd(b, p05[i-1], 0);
  689|  72.4k|        if (b == NULL)
  ------------------
  |  Branch (689:13): [True: 0, False: 72.4k]
  ------------------
  690|      0|            return NULL;
  691|  72.4k|    }
  692|       |
  693|  88.0k|    if (!(k >>= 2))
  ------------------
  |  Branch (693:9): [True: 14.1k, False: 73.9k]
  ------------------
  694|  14.1k|        return b;
  695|  73.9k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  696|  73.9k|    p5s = interp->dtoa.p5s;
  697|   333k|    for(;;) {
  698|   333k|        assert(p5s != interp->dtoa.p5s + Bigint_Pow5size);
  ------------------
  |  Branch (698:9): [True: 333k, False: 0]
  ------------------
  699|   333k|        p5 = *p5s;
  700|   333k|        p5s++;
  701|   333k|        if (k & 1) {
  ------------------
  |  Branch (701:13): [True: 201k, False: 131k]
  ------------------
  702|   201k|            b1 = mult(b, p5);
  703|   201k|            Bfree(b);
  704|   201k|            b = b1;
  705|   201k|            if (b == NULL)
  ------------------
  |  Branch (705:17): [True: 0, False: 201k]
  ------------------
  706|      0|                return NULL;
  707|   201k|        }
  708|   333k|        if (!(k >>= 1))
  ------------------
  |  Branch (708:13): [True: 73.9k, False: 259k]
  ------------------
  709|  73.9k|            break;
  710|   333k|    }
  711|  73.9k|    return b;
  712|  73.9k|}
dtoa.c:mult:
  611|   240k|{
  612|   240k|    Bigint *c;
  613|   240k|    int k, wa, wb, wc;
  614|   240k|    ULong *x, *xa, *xae, *xb, *xbe, *xc, *xc0;
  615|   240k|    ULong y;
  616|   240k|    ULLong carry, z;
  617|       |
  618|   240k|    if ((!a->x[0] && a->wds == 1) || (!b->x[0] && b->wds == 1)) {
  ------------------
  |  Branch (618:10): [True: 266, False: 240k]
  |  Branch (618:22): [True: 0, False: 266]
  |  Branch (618:39): [True: 3.24k, False: 237k]
  |  Branch (618:51): [True: 2.23k, False: 1.01k]
  ------------------
  619|  2.23k|        c = Balloc(0);
  620|  2.23k|        if (c == NULL)
  ------------------
  |  Branch (620:13): [True: 0, False: 2.23k]
  ------------------
  621|      0|            return NULL;
  622|  2.23k|        c->wds = 1;
  623|  2.23k|        c->x[0] = 0;
  624|  2.23k|        return c;
  625|  2.23k|    }
  626|       |
  627|   238k|    if (a->wds < b->wds) {
  ------------------
  |  Branch (627:9): [True: 119k, False: 118k]
  ------------------
  628|   119k|        c = a;
  629|   119k|        a = b;
  630|   119k|        b = c;
  631|   119k|    }
  632|   238k|    k = a->k;
  633|   238k|    wa = a->wds;
  634|   238k|    wb = b->wds;
  635|   238k|    wc = wa + wb;
  636|   238k|    if (wc > a->maxwds)
  ------------------
  |  Branch (636:9): [True: 108k, False: 129k]
  ------------------
  637|   108k|        k++;
  638|   238k|    c = Balloc(k);
  639|   238k|    if (c == NULL)
  ------------------
  |  Branch (639:9): [True: 0, False: 238k]
  ------------------
  640|      0|        return NULL;
  641|  1.88M|    for(x = c->x, xa = x + wc; x < xa; x++)
  ------------------
  |  Branch (641:32): [True: 1.64M, False: 238k]
  ------------------
  642|  1.64M|        *x = 0;
  643|   238k|    xa = a->x;
  644|   238k|    xae = xa + wa;
  645|   238k|    xb = b->x;
  646|   238k|    xbe = xb + wb;
  647|   238k|    xc0 = c->x;
  648|   730k|    for(; xb < xbe; xc0++) {
  ------------------
  |  Branch (648:11): [True: 492k, False: 238k]
  ------------------
  649|   492k|        if ((y = *xb++)) {
  ------------------
  |  Branch (649:13): [True: 491k, False: 776]
  ------------------
  650|   491k|            x = xa;
  651|   491k|            xc = xc0;
  652|   491k|            carry = 0;
  653|  3.98M|            do {
  654|  3.98M|                z = *x++ * (ULLong)y + *xc + carry;
  655|  3.98M|                carry = z >> 32;
  656|  3.98M|                *xc++ = (ULong)(z & FFFFFFFF);
  ------------------
  |  |  285|  3.98M|#define FFFFFFFF 0xffffffffUL
  ------------------
  657|  3.98M|            }
  658|  3.98M|            while(x < xae);
  ------------------
  |  Branch (658:19): [True: 3.48M, False: 491k]
  ------------------
  659|   491k|            *xc = (ULong)carry;
  660|   491k|        }
  661|   492k|    }
  662|   405k|    for(xc0 = c->x, xc = xc0 + wc; wc > 0 && !*--xc; --wc) ;
  ------------------
  |  Branch (662:36): [True: 405k, False: 0]
  |  Branch (662:46): [True: 167k, False: 238k]
  ------------------
  663|   238k|    c->wds = wc;
  664|   238k|    return c;
  665|   238k|}
dtoa.c:Bfree:
  375|  3.01M|{
  376|  3.01M|    if (v) {
  ------------------
  |  Branch (376:9): [True: 1.07M, False: 1.93M]
  ------------------
  377|  1.07M|        if (v->k > Bigint_Kmax)
  ------------------
  |  |  480|  1.07M|#define Bigint_Kmax 7
  ------------------
  |  Branch (377:13): [True: 0, False: 1.07M]
  ------------------
  378|      0|            FREE((void*)v);
  ------------------
  |  |  134|      0|#define FREE PyMem_Free
  ------------------
  379|  1.07M|        else {
  380|  1.07M|            PyInterpreterState *interp = _PyInterpreterState_GET();
  381|  1.07M|            v->next = freelist[v->k];
  ------------------
  |  |  333|  1.07M|#define freelist interp->dtoa.freelist
  ------------------
  382|  1.07M|            freelist[v->k] = v;
  ------------------
  |  |  333|  1.07M|#define freelist interp->dtoa.freelist
  ------------------
  383|  1.07M|        }
  384|  1.07M|    }
  385|  3.01M|}
dtoa.c:lshift:
  772|   229k|{
  773|   229k|    int i, k1, n, n1;
  774|   229k|    Bigint *b1;
  775|   229k|    ULong *x, *x1, *xe, z;
  776|       |
  777|   229k|    if (!k || (!b->x[0] && b->wds == 1))
  ------------------
  |  Branch (777:9): [True: 0, False: 229k]
  |  Branch (777:16): [True: 6.43k, False: 223k]
  |  Branch (777:28): [True: 2.40k, False: 4.02k]
  ------------------
  778|  2.40k|        return b;
  779|       |
  780|   227k|    n = k >> 5;
  781|   227k|    k1 = b->k;
  782|   227k|    n1 = n + b->wds + 1;
  783|   519k|    for(i = b->maxwds; n1 > i; i <<= 1)
  ------------------
  |  Branch (783:24): [True: 292k, False: 227k]
  ------------------
  784|   292k|        k1++;
  785|   227k|    b1 = Balloc(k1);
  786|   227k|    if (b1 == NULL) {
  ------------------
  |  Branch (786:9): [True: 0, False: 227k]
  ------------------
  787|      0|        Bfree(b);
  788|      0|        return NULL;
  789|      0|    }
  790|   227k|    x1 = b1->x;
  791|  1.07M|    for(i = 0; i < n; i++)
  ------------------
  |  Branch (791:16): [True: 852k, False: 227k]
  ------------------
  792|   852k|        *x1++ = 0;
  793|   227k|    x = b->x;
  794|   227k|    xe = x + b->wds;
  795|   227k|    if (k &= 0x1f) {
  ------------------
  |  Branch (795:9): [True: 225k, False: 1.71k]
  ------------------
  796|   225k|        k1 = 32 - k;
  797|   225k|        z = 0;
  798|   729k|        do {
  799|   729k|            *x1++ = *x << k | z;
  800|   729k|            z = *x++ >> k1;
  801|   729k|        }
  802|   729k|        while(x < xe);
  ------------------
  |  Branch (802:15): [True: 503k, False: 225k]
  ------------------
  803|   225k|        if ((*x1 = z))
  ------------------
  |  Branch (803:13): [True: 38.9k, False: 186k]
  ------------------
  804|  38.9k|            ++n1;
  805|   225k|    }
  806|  1.71k|    else do
  807|  2.60k|             *x1++ = *x++;
  808|  2.60k|        while(x < xe);
  ------------------
  |  Branch (808:15): [True: 898, False: 1.71k]
  ------------------
  809|   227k|    b1->wds = n1 - 1;
  810|   227k|    Bfree(b);
  811|   227k|    return b1;
  812|   227k|}
dtoa.c:diff:
  852|   184k|{
  853|   184k|    Bigint *c;
  854|   184k|    int i, wa, wb;
  855|   184k|    ULong *xa, *xae, *xb, *xbe, *xc;
  856|   184k|    ULLong borrow, y;
  857|       |
  858|   184k|    i = cmp(a,b);
  859|   184k|    if (!i) {
  ------------------
  |  Branch (859:9): [True: 3.04k, False: 181k]
  ------------------
  860|  3.04k|        c = Balloc(0);
  861|  3.04k|        if (c == NULL)
  ------------------
  |  Branch (861:13): [True: 0, False: 3.04k]
  ------------------
  862|      0|            return NULL;
  863|  3.04k|        c->wds = 1;
  864|  3.04k|        c->x[0] = 0;
  865|  3.04k|        return c;
  866|  3.04k|    }
  867|   181k|    if (i < 0) {
  ------------------
  |  Branch (867:9): [True: 35.2k, False: 146k]
  ------------------
  868|  35.2k|        c = a;
  869|  35.2k|        a = b;
  870|  35.2k|        b = c;
  871|  35.2k|        i = 1;
  872|  35.2k|    }
  873|   146k|    else
  874|   146k|        i = 0;
  875|   181k|    c = Balloc(a->k);
  876|   181k|    if (c == NULL)
  ------------------
  |  Branch (876:9): [True: 0, False: 181k]
  ------------------
  877|      0|        return NULL;
  878|   181k|    c->sign = i;
  879|   181k|    wa = a->wds;
  880|   181k|    xa = a->x;
  881|   181k|    xae = xa + wa;
  882|   181k|    wb = b->wds;
  883|   181k|    xb = b->x;
  884|   181k|    xbe = xb + wb;
  885|   181k|    xc = c->x;
  886|   181k|    borrow = 0;
  887|   918k|    do {
  888|   918k|        y = (ULLong)*xa++ - *xb++ - borrow;
  889|   918k|        borrow = y >> 32 & (ULong)1;
  890|   918k|        *xc++ = (ULong)(y & FFFFFFFF);
  ------------------
  |  |  285|   918k|#define FFFFFFFF 0xffffffffUL
  ------------------
  891|   918k|    }
  892|   918k|    while(xb < xbe);
  ------------------
  |  Branch (892:11): [True: 736k, False: 181k]
  ------------------
  893|   312k|    while(xa < xae) {
  ------------------
  |  Branch (893:11): [True: 131k, False: 181k]
  ------------------
  894|   131k|        y = *xa++ - borrow;
  895|   131k|        borrow = y >> 32 & (ULong)1;
  896|   131k|        *xc++ = (ULong)(y & FFFFFFFF);
  ------------------
  |  |  285|   131k|#define FFFFFFFF 0xffffffffUL
  ------------------
  897|   131k|    }
  898|   281k|    while(!*--xc)
  ------------------
  |  Branch (898:11): [True: 100k, False: 181k]
  ------------------
  899|   100k|        wa--;
  900|   181k|    c->wds = wa;
  901|   181k|    return c;
  902|   181k|}
dtoa.c:cmp:
  819|   688k|{
  820|   688k|    ULong *xa, *xa0, *xb, *xb0;
  821|   688k|    int i, j;
  822|       |
  823|   688k|    i = a->wds;
  824|   688k|    j = b->wds;
  825|       |#ifdef DEBUG
  826|       |    if (i > 1 && !a->x[i-1])
  827|       |        Bug("cmp called with a->x[a->wds-1] == 0");
  828|       |    if (j > 1 && !b->x[j-1])
  829|       |        Bug("cmp called with b->x[b->wds-1] == 0");
  830|       |#endif
  831|   688k|    if (i -= j)
  ------------------
  |  Branch (831:9): [True: 149k, False: 539k]
  ------------------
  832|   149k|        return i;
  833|   539k|    xa0 = a->x;
  834|   539k|    xa = xa0 + j;
  835|   539k|    xb0 = b->x;
  836|   539k|    xb = xb0 + j;
  837|   668k|    for(;;) {
  838|   668k|        if (*--xa != *--xb)
  ------------------
  |  Branch (838:13): [True: 520k, False: 147k]
  ------------------
  839|   520k|            return *xa < *xb ? -1 : 1;
  ------------------
  |  Branch (839:20): [True: 354k, False: 166k]
  ------------------
  840|   147k|        if (xa <= xa0)
  ------------------
  |  Branch (840:13): [True: 18.6k, False: 128k]
  ------------------
  841|  18.6k|            break;
  842|   147k|    }
  843|  18.6k|    return 0;
  844|   539k|}
dtoa.c:sulp:
 1211|  3.44k|{
 1212|  3.44k|    U u;
 1213|       |
 1214|  3.44k|    if (bc->scale && 2*P + 1 > (int)((word0(x) & Exp_mask) >> Exp_shift)) {
  ------------------
  |  |  237|     62|#define P 53
  ------------------
                  if (bc->scale && 2*P + 1 > (int)((word0(x) & Exp_mask) >> Exp_shift)) {
  ------------------
  |  |  178|     62|#define word0(x) (x)->L[1]
  ------------------
                  if (bc->scale && 2*P + 1 > (int)((word0(x) & Exp_mask) >> Exp_shift)) {
  ------------------
  |  |  236|     62|#define Exp_mask  0x7ff00000
  ------------------
                  if (bc->scale && 2*P + 1 > (int)((word0(x) & Exp_mask) >> Exp_shift)) {
  ------------------
  |  |  232|     62|#define Exp_shift  20
  ------------------
  |  Branch (1214:9): [True: 62, False: 3.38k]
  |  Branch (1214:22): [True: 35, False: 27]
  ------------------
 1215|       |        /* rv/2^bc->scale is subnormal */
 1216|     35|        word0(&u) = (P+2)*Exp_msk1;
  ------------------
  |  |  178|     35|#define word0(x) (x)->L[1]
  ------------------
                      word0(&u) = (P+2)*Exp_msk1;
  ------------------
  |  |  237|     35|#define P 53
  ------------------
                      word0(&u) = (P+2)*Exp_msk1;
  ------------------
  |  |  234|     35|#define Exp_msk1    0x100000
  ------------------
 1217|     35|        word1(&u) = 0;
  ------------------
  |  |  179|     35|#define word1(x) (x)->L[0]
  ------------------
 1218|     35|        return u.d;
 1219|     35|    }
 1220|  3.40k|    else {
 1221|  3.40k|        assert(word0(x) || word1(x)); /* x != 0.0 */
  ------------------
  |  Branch (1221:9): [True: 3.40k, False: 0]
  |  Branch (1221:9): [True: 0, False: 0]
  ------------------
 1222|  3.40k|        return ulp(x);
 1223|  3.40k|    }
 1224|  3.44k|}
dtoa.c:ratio:
 1085|  26.7k|{
 1086|  26.7k|    U da, db;
 1087|  26.7k|    int k, ka, kb;
 1088|       |
 1089|  26.7k|    dval(&da) = b2d(a, &ka);
  ------------------
  |  |  184|  26.7k|#define dval(x) (x)->d
  ------------------
 1090|  26.7k|    dval(&db) = b2d(b, &kb);
  ------------------
  |  |  184|  26.7k|#define dval(x) (x)->d
  ------------------
 1091|  26.7k|    k = ka - kb + 32*(a->wds - b->wds);
 1092|  26.7k|    if (k > 0)
  ------------------
  |  Branch (1092:9): [True: 12.9k, False: 13.7k]
  ------------------
 1093|  12.9k|        word0(&da) += k*Exp_msk1;
  ------------------
  |  |  178|  12.9k|#define word0(x) (x)->L[1]
  ------------------
                      word0(&da) += k*Exp_msk1;
  ------------------
  |  |  234|  12.9k|#define Exp_msk1    0x100000
  ------------------
 1094|  13.7k|    else {
 1095|  13.7k|        k = -k;
 1096|  13.7k|        word0(&db) += k*Exp_msk1;
  ------------------
  |  |  178|  13.7k|#define word0(x) (x)->L[1]
  ------------------
                      word0(&db) += k*Exp_msk1;
  ------------------
  |  |  234|  13.7k|#define Exp_msk1    0x100000
  ------------------
 1097|  13.7k|    }
 1098|  26.7k|    return dval(&da) / dval(&db);
  ------------------
  |  |  184|  26.7k|#define dval(x) (x)->d
  ------------------
                  return dval(&da) / dval(&db);
  ------------------
  |  |  184|  26.7k|#define dval(x) (x)->d
  ------------------
 1099|  26.7k|}
dtoa.c:b2d:
  923|  53.4k|{
  924|  53.4k|    ULong *xa, *xa0, w, y, z;
  925|  53.4k|    int k;
  926|  53.4k|    U d;
  927|       |
  928|  53.4k|    xa0 = a->x;
  929|  53.4k|    xa = xa0 + a->wds;
  930|  53.4k|    y = *--xa;
  931|       |#ifdef DEBUG
  932|       |    if (!y) Bug("zero y in b2d");
  933|       |#endif
  934|  53.4k|    k = hi0bits(y);
  935|  53.4k|    *e = 32 - k;
  936|  53.4k|    if (k < Ebits) {
  ------------------
  |  |  245|  53.4k|#define Ebits 11
  ------------------
  |  Branch (936:9): [True: 20.7k, False: 32.6k]
  ------------------
  937|  20.7k|        word0(&d) = Exp_1 | y >> (Ebits - k);
  ------------------
  |  |  178|  20.7k|#define word0(x) (x)->L[1]
  ------------------
                      word0(&d) = Exp_1 | y >> (Ebits - k);
  ------------------
  |  |  243|  20.7k|#define Exp_1  0x3ff00000
  ------------------
                      word0(&d) = Exp_1 | y >> (Ebits - k);
  ------------------
  |  |  245|  20.7k|#define Ebits 11
  ------------------
  938|  20.7k|        w = xa > xa0 ? *--xa : 0;
  ------------------
  |  Branch (938:13): [True: 16.6k, False: 4.09k]
  ------------------
  939|  20.7k|        word1(&d) = y << ((32-Ebits) + k) | w >> (Ebits - k);
  ------------------
  |  |  179|  20.7k|#define word1(x) (x)->L[0]
  ------------------
                      word1(&d) = y << ((32-Ebits) + k) | w >> (Ebits - k);
  ------------------
  |  |  245|  20.7k|#define Ebits 11
  ------------------
                      word1(&d) = y << ((32-Ebits) + k) | w >> (Ebits - k);
  ------------------
  |  |  245|  20.7k|#define Ebits 11
  ------------------
  940|  20.7k|        goto ret_d;
  941|  20.7k|    }
  942|  32.6k|    z = xa > xa0 ? *--xa : 0;
  ------------------
  |  Branch (942:9): [True: 22.5k, False: 10.1k]
  ------------------
  943|  32.6k|    if (k -= Ebits) {
  ------------------
  |  |  245|  32.6k|#define Ebits 11
  ------------------
  |  Branch (943:9): [True: 30.2k, False: 2.41k]
  ------------------
  944|  30.2k|        word0(&d) = Exp_1 | y << k | z >> (32 - k);
  ------------------
  |  |  178|  30.2k|#define word0(x) (x)->L[1]
  ------------------
                      word0(&d) = Exp_1 | y << k | z >> (32 - k);
  ------------------
  |  |  243|  30.2k|#define Exp_1  0x3ff00000
  ------------------
  945|  30.2k|        y = xa > xa0 ? *--xa : 0;
  ------------------
  |  Branch (945:13): [True: 15.8k, False: 14.4k]
  ------------------
  946|  30.2k|        word1(&d) = z << k | y >> (32 - k);
  ------------------
  |  |  179|  30.2k|#define word1(x) (x)->L[0]
  ------------------
  947|  30.2k|    }
  948|  2.41k|    else {
  949|  2.41k|        word0(&d) = Exp_1 | y;
  ------------------
  |  |  178|  2.41k|#define word0(x) (x)->L[1]
  ------------------
                      word0(&d) = Exp_1 | y;
  ------------------
  |  |  243|  2.41k|#define Exp_1  0x3ff00000
  ------------------
  950|  2.41k|        word1(&d) = z;
  ------------------
  |  |  179|  2.41k|#define word1(x) (x)->L[0]
  ------------------
  951|  2.41k|    }
  952|  53.4k|  ret_d:
  953|  53.4k|    return dval(&d);
  ------------------
  |  |  184|  53.4k|#define dval(x) (x)->d
  ------------------
  954|  32.6k|}
dtoa.c:hi0bits:
  518|  82.2k|{
  519|  82.2k|    int k = 0;
  520|       |
  521|  82.2k|    if (!(x & 0xffff0000)) {
  ------------------
  |  Branch (521:9): [True: 40.9k, False: 41.2k]
  ------------------
  522|  40.9k|        k = 16;
  523|  40.9k|        x <<= 16;
  524|  40.9k|    }
  525|  82.2k|    if (!(x & 0xff000000)) {
  ------------------
  |  Branch (525:9): [True: 50.6k, False: 31.5k]
  ------------------
  526|  50.6k|        k += 8;
  527|  50.6k|        x <<= 8;
  528|  50.6k|    }
  529|  82.2k|    if (!(x & 0xf0000000)) {
  ------------------
  |  Branch (529:9): [True: 44.0k, False: 38.1k]
  ------------------
  530|  44.0k|        k += 4;
  531|  44.0k|        x <<= 4;
  532|  44.0k|    }
  533|  82.2k|    if (!(x & 0xc0000000)) {
  ------------------
  |  Branch (533:9): [True: 42.6k, False: 39.5k]
  ------------------
  534|  42.6k|        k += 2;
  535|  42.6k|        x <<= 2;
  536|  42.6k|    }
  537|  82.2k|    if (!(x & 0x80000000)) {
  ------------------
  |  Branch (537:9): [True: 38.0k, False: 44.1k]
  ------------------
  538|  38.0k|        k++;
  539|  38.0k|        if (!(x & 0x40000000))
  ------------------
  |  Branch (539:13): [True: 0, False: 38.0k]
  ------------------
  540|      0|            return 32;
  541|  38.0k|    }
  542|  82.2k|    return k;
  543|  82.2k|}
dtoa.c:ulp:
  909|  30.1k|{
  910|  30.1k|    Long L;
  911|  30.1k|    U u;
  912|       |
  913|  30.1k|    L = (word0(x) & Exp_mask) - (P-1)*Exp_msk1;
  ------------------
  |  |  178|  30.1k|#define word0(x) (x)->L[1]
  ------------------
                  L = (word0(x) & Exp_mask) - (P-1)*Exp_msk1;
  ------------------
  |  |  236|  30.1k|#define Exp_mask  0x7ff00000
  ------------------
                  L = (word0(x) & Exp_mask) - (P-1)*Exp_msk1;
  ------------------
  |  |  237|  30.1k|#define P 53
  ------------------
                  L = (word0(x) & Exp_mask) - (P-1)*Exp_msk1;
  ------------------
  |  |  234|  30.1k|#define Exp_msk1    0x100000
  ------------------
  914|  30.1k|    word0(&u) = L;
  ------------------
  |  |  178|  30.1k|#define word0(x) (x)->L[1]
  ------------------
  915|  30.1k|    word1(&u) = 0;
  ------------------
  |  |  179|  30.1k|#define word1(x) (x)->L[0]
  ------------------
  916|  30.1k|    return dval(&u);
  ------------------
  |  |  184|  30.1k|#define dval(x) (x)->d
  ------------------
  917|  30.1k|}
dtoa.c:bigcomp:
 1274|  5.41k|{
 1275|  5.41k|    Bigint *b, *d;
 1276|  5.41k|    int b2, d2, dd, i, nd, nd0, odd, p2, p5;
 1277|       |
 1278|  5.41k|    nd = bc->nd;
 1279|  5.41k|    nd0 = bc->nd0;
 1280|  5.41k|    p5 = nd + bc->e0;
 1281|  5.41k|    b = sd2b(rv, bc->scale, &p2);
 1282|  5.41k|    if (b == NULL)
  ------------------
  |  Branch (1282:9): [True: 0, False: 5.41k]
  ------------------
 1283|      0|        return -1;
 1284|       |
 1285|       |    /* record whether the lsb of rv/2^(bc->scale) is odd:  in the exact halfway
 1286|       |       case, this is used for round to even. */
 1287|  5.41k|    odd = b->x[0] & 1;
 1288|       |
 1289|       |    /* left shift b by 1 bit and or a 1 into the least significant bit;
 1290|       |       this gives us b * 2**p2 = rv/2^(bc->scale) + 0.5 ulp. */
 1291|  5.41k|    b = lshift(b, 1);
 1292|  5.41k|    if (b == NULL)
  ------------------
  |  Branch (1292:9): [True: 0, False: 5.41k]
  ------------------
 1293|      0|        return -1;
 1294|  5.41k|    b->x[0] |= 1;
 1295|  5.41k|    p2--;
 1296|       |
 1297|  5.41k|    p2 -= p5;
 1298|  5.41k|    d = i2b(1);
 1299|  5.41k|    if (d == NULL) {
  ------------------
  |  Branch (1299:9): [True: 0, False: 5.41k]
  ------------------
 1300|      0|        Bfree(b);
 1301|      0|        return -1;
 1302|      0|    }
 1303|       |    /* Arrange for convenient computation of quotients:
 1304|       |     * shift left if necessary so divisor has 4 leading 0 bits.
 1305|       |     */
 1306|  5.41k|    if (p5 > 0) {
  ------------------
  |  Branch (1306:9): [True: 4.52k, False: 881]
  ------------------
 1307|  4.52k|        d = pow5mult(d, p5);
 1308|  4.52k|        if (d == NULL) {
  ------------------
  |  Branch (1308:13): [True: 0, False: 4.52k]
  ------------------
 1309|      0|            Bfree(b);
 1310|      0|            return -1;
 1311|      0|        }
 1312|  4.52k|    }
 1313|    881|    else if (p5 < 0) {
  ------------------
  |  Branch (1313:14): [True: 536, False: 345]
  ------------------
 1314|    536|        b = pow5mult(b, -p5);
 1315|    536|        if (b == NULL) {
  ------------------
  |  Branch (1315:13): [True: 0, False: 536]
  ------------------
 1316|      0|            Bfree(d);
 1317|      0|            return -1;
 1318|      0|        }
 1319|    536|    }
 1320|  5.41k|    if (p2 > 0) {
  ------------------
  |  Branch (1320:9): [True: 2.76k, False: 2.64k]
  ------------------
 1321|  2.76k|        b2 = p2;
 1322|  2.76k|        d2 = 0;
 1323|  2.76k|    }
 1324|  2.64k|    else {
 1325|  2.64k|        b2 = 0;
 1326|  2.64k|        d2 = -p2;
 1327|  2.64k|    }
 1328|  5.41k|    i = dshift(d, d2);
 1329|  5.41k|    if ((b2 += i) > 0) {
  ------------------
  |  Branch (1329:9): [True: 5.31k, False: 95]
  ------------------
 1330|  5.31k|        b = lshift(b, b2);
 1331|  5.31k|        if (b == NULL) {
  ------------------
  |  Branch (1331:13): [True: 0, False: 5.31k]
  ------------------
 1332|      0|            Bfree(d);
 1333|      0|            return -1;
 1334|      0|        }
 1335|  5.31k|    }
 1336|  5.41k|    if ((d2 += i) > 0) {
  ------------------
  |  Branch (1336:9): [True: 4.24k, False: 1.16k]
  ------------------
 1337|  4.24k|        d = lshift(d, d2);
 1338|  4.24k|        if (d == NULL) {
  ------------------
  |  Branch (1338:13): [True: 0, False: 4.24k]
  ------------------
 1339|      0|            Bfree(b);
 1340|      0|            return -1;
 1341|      0|        }
 1342|  4.24k|    }
 1343|       |
 1344|       |    /* Compare s0 with b/d: set dd to -1, 0, or 1 according as s0 < b/d, s0 ==
 1345|       |     * b/d, or s0 > b/d.  Here the digits of s0 are thought of as representing
 1346|       |     * a number in the range [0.1, 1). */
 1347|  5.41k|    if (cmp(b, d) >= 0)
  ------------------
  |  Branch (1347:9): [True: 466, False: 4.94k]
  ------------------
 1348|       |        /* b/d >= 1 */
 1349|    466|        dd = -1;
 1350|  4.94k|    else {
 1351|  4.94k|        i = 0;
 1352|  85.3k|        for(;;) {
 1353|  85.3k|            b = multadd(b, 10, 0);
 1354|  85.3k|            if (b == NULL) {
  ------------------
  |  Branch (1354:17): [True: 0, False: 85.3k]
  ------------------
 1355|      0|                Bfree(d);
 1356|      0|                return -1;
 1357|      0|            }
 1358|  85.3k|            dd = s0[i < nd0 ? i : i+1] - '0' - quorem(b, d);
  ------------------
  |  Branch (1358:21): [True: 69.8k, False: 15.4k]
  ------------------
 1359|  85.3k|            i++;
 1360|       |
 1361|  85.3k|            if (dd)
  ------------------
  |  Branch (1361:17): [True: 4.72k, False: 80.5k]
  ------------------
 1362|  4.72k|                break;
 1363|  80.5k|            if (!b->x[0] && b->wds == 1) {
  ------------------
  |  Branch (1363:17): [True: 9.34k, False: 71.2k]
  |  Branch (1363:29): [True: 201, False: 9.14k]
  ------------------
 1364|       |                /* b/d == 0 */
 1365|    201|                dd = i < nd;
 1366|    201|                break;
 1367|    201|            }
 1368|  80.3k|            if (!(i < nd)) {
  ------------------
  |  Branch (1368:17): [True: 16, False: 80.3k]
  ------------------
 1369|       |                /* b/d != 0, but digits of s0 exhausted */
 1370|     16|                dd = -1;
 1371|     16|                break;
 1372|     16|            }
 1373|  80.3k|        }
 1374|  4.94k|    }
 1375|  5.41k|    Bfree(b);
 1376|  5.41k|    Bfree(d);
 1377|  5.41k|    if (dd > 0 || (dd == 0 && odd))
  ------------------
  |  Branch (1377:9): [True: 580, False: 4.83k]
  |  Branch (1377:20): [True: 176, False: 4.65k]
  |  Branch (1377:31): [True: 0, False: 176]
  ------------------
 1378|    580|        dval(rv) += sulp(rv, bc);
  ------------------
  |  |  184|    580|#define dval(x) (x)->d
  ------------------
 1379|  5.41k|    return 0;
 1380|  5.41k|}
dtoa.c:nrv_alloc:
 2127|  5.14k|{
 2128|  5.14k|    char *rv, *t;
 2129|       |
 2130|  5.14k|    rv = rv_alloc(n);
 2131|  5.14k|    if (rv == NULL)
  ------------------
  |  Branch (2131:9): [True: 0, False: 5.14k]
  ------------------
 2132|      0|        return NULL;
 2133|  5.14k|    t = rv;
 2134|  32.4k|    while((*t = *s++)) t++;
  ------------------
  |  Branch (2134:11): [True: 27.2k, False: 5.14k]
  ------------------
 2135|  5.14k|    if (rve)
  ------------------
  |  Branch (2135:9): [True: 5.14k, False: 0]
  ------------------
 2136|  5.14k|        *rve = t;
 2137|  5.14k|    return rv;
 2138|  5.14k|}
dtoa.c:d2b:
 1037|  37.7k|{
 1038|  37.7k|    Bigint *b;
 1039|  37.7k|    int de, k;
 1040|  37.7k|    ULong *x, y, z;
 1041|  37.7k|    int i;
 1042|       |
 1043|  37.7k|    b = Balloc(1);
 1044|  37.7k|    if (b == NULL)
  ------------------
  |  Branch (1044:9): [True: 0, False: 37.7k]
  ------------------
 1045|      0|        return NULL;
 1046|  37.7k|    x = b->x;
 1047|       |
 1048|  37.7k|    z = word0(d) & Frac_mask;
  ------------------
  |  |  178|  37.7k|#define word0(x) (x)->L[1]
  ------------------
                  z = word0(d) & Frac_mask;
  ------------------
  |  |  246|  37.7k|#define Frac_mask  0xfffff
  ------------------
 1049|  37.7k|    word0(d) &= 0x7fffffff;   /* clear sign bit, which we ignore */
  ------------------
  |  |  178|  37.7k|#define word0(x) (x)->L[1]
  ------------------
 1050|  37.7k|    if ((de = (int)(word0(d) >> Exp_shift)))
  ------------------
  |  |  178|  37.7k|#define word0(x) (x)->L[1]
  ------------------
                  if ((de = (int)(word0(d) >> Exp_shift)))
  ------------------
  |  |  232|  37.7k|#define Exp_shift  20
  ------------------
  |  Branch (1050:9): [True: 36.8k, False: 811]
  ------------------
 1051|  36.8k|        z |= Exp_msk1;
  ------------------
  |  |  234|  36.8k|#define Exp_msk1    0x100000
  ------------------
 1052|  37.7k|    if ((y = word1(d))) {
  ------------------
  |  |  179|  37.7k|#define word1(x) (x)->L[0]
  ------------------
  |  Branch (1052:9): [True: 25.8k, False: 11.8k]
  ------------------
 1053|  25.8k|        if ((k = lo0bits(&y))) {
  ------------------
  |  Branch (1053:13): [True: 18.8k, False: 6.96k]
  ------------------
 1054|  18.8k|            x[0] = y | z << (32 - k);
 1055|  18.8k|            z >>= k;
 1056|  18.8k|        }
 1057|  6.96k|        else
 1058|  6.96k|            x[0] = y;
 1059|  25.8k|        i =
 1060|  25.8k|            b->wds = (x[1] = z) ? 2 : 1;
  ------------------
  |  Branch (1060:22): [True: 24.7k, False: 1.11k]
  ------------------
 1061|  25.8k|    }
 1062|  11.8k|    else {
 1063|  11.8k|        k = lo0bits(&z);
 1064|  11.8k|        x[0] = z;
 1065|  11.8k|        i =
 1066|  11.8k|            b->wds = 1;
 1067|  11.8k|        k += 32;
 1068|  11.8k|    }
 1069|  37.7k|    if (de) {
  ------------------
  |  Branch (1069:9): [True: 36.8k, False: 811]
  ------------------
 1070|  36.8k|        *e = de - Bias - (P-1) + k;
  ------------------
  |  |  239|  36.8k|#define Bias 1023
  ------------------
                      *e = de - Bias - (P-1) + k;
  ------------------
  |  |  237|  36.8k|#define P 53
  ------------------
 1071|  36.8k|        *bits = P - k;
  ------------------
  |  |  237|  36.8k|#define P 53
  ------------------
 1072|  36.8k|    }
 1073|    811|    else {
 1074|    811|        *e = de - Bias - (P-1) + 1 + k;
  ------------------
  |  |  239|    811|#define Bias 1023
  ------------------
                      *e = de - Bias - (P-1) + 1 + k;
  ------------------
  |  |  237|    811|#define P 53
  ------------------
 1075|    811|        *bits = 32*i - hi0bits(x[i-1]);
 1076|    811|    }
 1077|  37.7k|    return b;
 1078|  37.7k|}
dtoa.c:lo0bits:
  550|  37.7k|{
  551|  37.7k|    int k;
  552|  37.7k|    ULong x = *y;
  553|       |
  554|  37.7k|    if (x & 7) {
  ------------------
  |  Branch (554:9): [True: 20.9k, False: 16.7k]
  ------------------
  555|  20.9k|        if (x & 1)
  ------------------
  |  Branch (555:13): [True: 7.12k, False: 13.8k]
  ------------------
  556|  7.12k|            return 0;
  557|  13.8k|        if (x & 2) {
  ------------------
  |  Branch (557:13): [True: 11.4k, False: 2.39k]
  ------------------
  558|  11.4k|            *y = x >> 1;
  559|  11.4k|            return 1;
  560|  11.4k|        }
  561|  2.39k|        *y = x >> 2;
  562|  2.39k|        return 2;
  563|  13.8k|    }
  564|  16.7k|    k = 0;
  565|  16.7k|    if (!(x & 0xffff)) {
  ------------------
  |  Branch (565:9): [True: 11.4k, False: 5.27k]
  ------------------
  566|  11.4k|        k = 16;
  567|  11.4k|        x >>= 16;
  568|  11.4k|    }
  569|  16.7k|    if (!(x & 0xff)) {
  ------------------
  |  Branch (569:9): [True: 2.66k, False: 14.0k]
  ------------------
  570|  2.66k|        k += 8;
  571|  2.66k|        x >>= 8;
  572|  2.66k|    }
  573|  16.7k|    if (!(x & 0xf)) {
  ------------------
  |  Branch (573:9): [True: 9.74k, False: 6.98k]
  ------------------
  574|  9.74k|        k += 4;
  575|  9.74k|        x >>= 4;
  576|  9.74k|    }
  577|  16.7k|    if (!(x & 0x3)) {
  ------------------
  |  Branch (577:9): [True: 6.57k, False: 10.1k]
  ------------------
  578|  6.57k|        k += 2;
  579|  6.57k|        x >>= 2;
  580|  6.57k|    }
  581|  16.7k|    if (!(x & 1)) {
  ------------------
  |  Branch (581:9): [True: 6.98k, False: 9.75k]
  ------------------
  582|  6.98k|        k++;
  583|  6.98k|        x >>= 1;
  584|  6.98k|        if (!x)
  ------------------
  |  Branch (584:13): [True: 0, False: 6.98k]
  ------------------
  585|      0|            return 32;
  586|  6.98k|    }
  587|  16.7k|    *y = x;
  588|  16.7k|    return k;
  589|  16.7k|}
dtoa.c:rv_alloc:
 2110|  42.8k|{
 2111|  42.8k|    int j, k, *r;
 2112|       |
 2113|  42.8k|    j = sizeof(ULong);
 2114|  42.8k|    for(k = 0;
 2115|  42.8k|        sizeof(Bigint) - sizeof(ULong) - sizeof(int) + j <= (unsigned)i;
  ------------------
  |  Branch (2115:9): [True: 0, False: 42.8k]
  ------------------
 2116|  42.8k|        j <<= 1)
 2117|      0|        k++;
 2118|  42.8k|    r = (int*)Balloc(k);
 2119|  42.8k|    if (r == NULL)
  ------------------
  |  Branch (2119:9): [True: 0, False: 42.8k]
  ------------------
 2120|      0|        return NULL;
 2121|  42.8k|    *r = k;
 2122|  42.8k|    return (char *)(r+1);
 2123|  42.8k|}
dtoa.c:dshift:
 1126|  28.0k|{
 1127|  28.0k|    int rv = hi0bits(b->x[b->wds-1]) - 4;
 1128|  28.0k|    if (p2 > 0)
  ------------------
  |  Branch (1128:9): [True: 14.0k, False: 13.9k]
  ------------------
 1129|  14.0k|        rv -= p2;
 1130|  28.0k|    return rv & kmask;
  ------------------
  |  | 1121|  28.0k|#define kmask 31
  ------------------
 1131|  28.0k|}
dtoa.c:multadd:
  442|   685k|{
  443|   685k|    int i, wds;
  444|   685k|    ULong *x;
  445|   685k|    ULLong carry, y;
  446|   685k|    Bigint *b1;
  447|       |
  448|   685k|    wds = b->wds;
  449|   685k|    x = b->x;
  450|   685k|    i = 0;
  451|   685k|    carry = a;
  452|  1.61M|    do {
  453|  1.61M|        y = *x * (ULLong)m + carry;
  454|  1.61M|        carry = y >> 32;
  455|  1.61M|        *x++ = (ULong)(y & FFFFFFFF);
  ------------------
  |  |  285|  1.61M|#define FFFFFFFF 0xffffffffUL
  ------------------
  456|  1.61M|    }
  457|  1.61M|    while(++i < wds);
  ------------------
  |  Branch (457:11): [True: 933k, False: 685k]
  ------------------
  458|   685k|    if (carry) {
  ------------------
  |  Branch (458:9): [True: 55.1k, False: 630k]
  ------------------
  459|  55.1k|        if (wds >= b->maxwds) {
  ------------------
  |  Branch (459:13): [True: 1.10k, False: 53.9k]
  ------------------
  460|  1.10k|            b1 = Balloc(b->k+1);
  461|  1.10k|            if (b1 == NULL){
  ------------------
  |  Branch (461:17): [True: 0, False: 1.10k]
  ------------------
  462|      0|                Bfree(b);
  463|      0|                return NULL;
  464|      0|            }
  465|  1.10k|            Bcopy(b1, b);
  ------------------
  |  |  433|  1.10k|#define Bcopy(x,y) memcpy((char *)&x->sign, (char *)&y->sign,   \
  |  |  434|  1.10k|                          y->wds*sizeof(Long) + 2*sizeof(int))
  ------------------
  466|  1.10k|            Bfree(b);
  467|  1.10k|            b = b1;
  468|  1.10k|        }
  469|  55.1k|        b->x[wds++] = (ULong)carry;
  470|  55.1k|        b->wds = wds;
  471|  55.1k|    }
  472|   685k|    return b;
  473|   685k|}
dtoa.c:quorem:
 1139|   197k|{
 1140|   197k|    int n;
 1141|   197k|    ULong *bx, *bxe, q, *sx, *sxe;
 1142|   197k|    ULLong borrow, carry, y, ys;
 1143|       |
 1144|   197k|    n = S->wds;
 1145|       |#ifdef DEBUG
 1146|       |    /*debug*/ if (b->wds > n)
 1147|       |        /*debug*/       Bug("oversize b in quorem");
 1148|       |#endif
 1149|   197k|    if (b->wds < n)
  ------------------
  |  Branch (1149:9): [True: 12.2k, False: 184k]
  ------------------
 1150|  12.2k|        return 0;
 1151|   184k|    sx = S->x;
 1152|   184k|    sxe = sx + --n;
 1153|   184k|    bx = b->x;
 1154|   184k|    bxe = bx + n;
 1155|   184k|    q = *bxe / (*sxe + 1);      /* ensure q <= true quotient */
 1156|       |#ifdef DEBUG
 1157|       |    /*debug*/ if (q > 9)
 1158|       |        /*debug*/       Bug("oversized quotient in quorem");
 1159|       |#endif
 1160|   184k|    if (q) {
  ------------------
  |  Branch (1160:9): [True: 140k, False: 44.7k]
  ------------------
 1161|   140k|        borrow = 0;
 1162|   140k|        carry = 0;
 1163|   493k|        do {
 1164|   493k|            ys = *sx++ * (ULLong)q + carry;
 1165|   493k|            carry = ys >> 32;
 1166|   493k|            y = *bx - (ys & FFFFFFFF) - borrow;
  ------------------
  |  |  285|   493k|#define FFFFFFFF 0xffffffffUL
  ------------------
 1167|   493k|            borrow = y >> 32 & (ULong)1;
 1168|   493k|            *bx++ = (ULong)(y & FFFFFFFF);
  ------------------
  |  |  285|   493k|#define FFFFFFFF 0xffffffffUL
  ------------------
 1169|   493k|        }
 1170|   493k|        while(sx <= sxe);
  ------------------
  |  Branch (1170:15): [True: 353k, False: 140k]
  ------------------
 1171|   140k|        if (!*bxe) {
  ------------------
  |  Branch (1171:13): [True: 629, False: 139k]
  ------------------
 1172|    629|            bx = b->x;
 1173|    629|            while(--bxe > bx && !*bxe)
  ------------------
  |  Branch (1173:19): [True: 374, False: 255]
  |  Branch (1173:33): [True: 0, False: 374]
  ------------------
 1174|      0|                --n;
 1175|    629|            b->wds = n;
 1176|    629|        }
 1177|   140k|    }
 1178|   184k|    if (cmp(b, S) >= 0) {
  ------------------
  |  Branch (1178:9): [True: 11.1k, False: 173k]
  ------------------
 1179|  11.1k|        q++;
 1180|  11.1k|        borrow = 0;
 1181|  11.1k|        carry = 0;
 1182|  11.1k|        bx = b->x;
 1183|  11.1k|        sx = S->x;
 1184|  55.2k|        do {
 1185|  55.2k|            ys = *sx++ + carry;
 1186|  55.2k|            carry = ys >> 32;
 1187|  55.2k|            y = *bx - (ys & FFFFFFFF) - borrow;
  ------------------
  |  |  285|  55.2k|#define FFFFFFFF 0xffffffffUL
  ------------------
 1188|  55.2k|            borrow = y >> 32 & (ULong)1;
 1189|  55.2k|            *bx++ = (ULong)(y & FFFFFFFF);
  ------------------
  |  |  285|  55.2k|#define FFFFFFFF 0xffffffffUL
  ------------------
 1190|  55.2k|        }
 1191|  55.2k|        while(sx <= sxe);
  ------------------
  |  Branch (1191:15): [True: 44.1k, False: 11.1k]
  ------------------
 1192|  11.1k|        bx = b->x;
 1193|  11.1k|        bxe = bx + n;
 1194|  11.1k|        if (!*bxe) {
  ------------------
  |  Branch (1194:13): [True: 10.9k, False: 254]
  ------------------
 1195|  11.2k|            while(--bxe > bx && !*bxe)
  ------------------
  |  Branch (1195:19): [True: 4.58k, False: 6.69k]
  |  Branch (1195:33): [True: 356, False: 4.23k]
  ------------------
 1196|    356|                --n;
 1197|  10.9k|            b->wds = n;
 1198|  10.9k|        }
 1199|  11.1k|    }
 1200|   184k|    return q;
 1201|   197k|}

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

_PyErr_SetRaisedException:
   25|   436k|{
   26|   436k|    PyObject *old_exc = tstate->current_exception;
   27|   436k|    tstate->current_exception = exc;
   28|   436k|    Py_XDECREF(old_exc);
  ------------------
  |  |  524|   436k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   436k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   436k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   29|   436k|}
_PyErr_Restore:
   60|   296k|{
   61|   296k|    if (type == NULL) {
  ------------------
  |  Branch (61:9): [True: 176k, False: 120k]
  ------------------
   62|   176k|        assert(value == NULL);
  ------------------
  |  Branch (62:9): [True: 176k, False: 0]
  ------------------
   63|   176k|        assert(traceback == NULL);
  ------------------
  |  Branch (63:9): [True: 176k, False: 0]
  ------------------
   64|   176k|        _PyErr_SetRaisedException(tstate, NULL);
   65|   176k|        return;
   66|   176k|    }
   67|   296k|    assert(PyExceptionClass_Check(type));
  ------------------
  |  Branch (67:5): [True: 120k, False: 0]
  |  Branch (67:5): [True: 120k, False: 0]
  ------------------
   68|   120k|    if (value != NULL && type == (PyObject *)Py_TYPE(value)) {
  ------------------
  |  |  213|   120k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   120k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   120k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (68:9): [True: 120k, False: 0]
  |  Branch (68:26): [True: 120k, 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|   120k|    }
   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|   120k|    assert(PyExceptionInstance_Check(value));
  ------------------
  |  Branch (86:5): [True: 120k, False: 0]
  ------------------
   87|   120k|    if (traceback != NULL) {
  ------------------
  |  Branch (87:9): [True: 0, False: 120k]
  ------------------
   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|   120k|    _PyErr_SetRaisedException(tstate, value);
   97|   120k|    Py_DECREF(type);
  ------------------
  |  |  430|   120k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   120k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   120k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   98|   120k|}
PyErr_Restore:
  102|  4.48k|{
  103|  4.48k|    PyThreadState *tstate = _PyThreadState_GET();
  104|  4.48k|    _PyErr_Restore(tstate, type, value, traceback);
  105|  4.48k|}
PyErr_SetRaisedException:
  109|   135k|{
  110|   135k|    PyThreadState *tstate = _PyThreadState_GET();
  111|   135k|    _PyErr_SetRaisedException(tstate, exc);
  112|   135k|}
_PyErr_GetTopmostException:
  116|   115k|{
  117|   115k|    _PyErr_StackItem *exc_info = tstate->exc_info;
  118|   115k|    assert(exc_info);
  ------------------
  |  Branch (118:5): [True: 115k, False: 0]
  ------------------
  119|       |
  120|   115k|    while (exc_info->exc_value == NULL && exc_info->previous_item != NULL)
  ------------------
  |  Branch (120:12): [True: 114k, False: 1.64k]
  |  Branch (120:43): [True: 4, False: 114k]
  ------------------
  121|      4|    {
  122|      4|        exc_info = exc_info->previous_item;
  123|      4|    }
  124|   115k|    assert(!Py_IsNone(exc_info->exc_value));
  ------------------
  |  Branch (124:5): [True: 115k, False: 0]
  ------------------
  125|   115k|    return exc_info;
  126|   115k|}
_PyErr_SetObject:
  152|   115k|{
  153|   115k|    PyObject *exc_value;
  154|   115k|    PyObject *tb = NULL;
  155|       |
  156|   115k|    if (exception != NULL &&
  ------------------
  |  Branch (156:9): [True: 115k, False: 0]
  ------------------
  157|   115k|        !PyExceptionClass_Check(exception)) {
  ------------------
  |  |   61|   115k|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|   231k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   115k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   115k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 115k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|   115k|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|   115k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 115k, 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|   115k|    int is_subclass = 0;
  166|   115k|    if (value != NULL && PyExceptionInstance_Check(value)) {
  ------------------
  |  |   65|   115k|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   115k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 49.1k, False: 66.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (166:9): [True: 115k, False: 0]
  ------------------
  167|  49.1k|        is_subclass = PyObject_IsSubclass((PyObject *)Py_TYPE(value), exception);
  ------------------
  |  |  213|  49.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  49.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  49.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  168|  49.1k|        if (is_subclass < 0) {
  ------------------
  |  Branch (168:13): [True: 0, False: 49.1k]
  ------------------
  169|      0|            return;
  170|      0|        }
  171|  49.1k|    }
  172|   115k|    Py_XINCREF(value);
  ------------------
  |  |  514|   115k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   115k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   115k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  173|   115k|    if (!is_subclass) {
  ------------------
  |  Branch (173:9): [True: 66.5k, False: 49.1k]
  ------------------
  174|       |        /* We must normalize the value right now */
  175|       |
  176|       |        /* Issue #23571: functions must not be called with an
  177|       |            exception set */
  178|  66.5k|        _PyErr_Clear(tstate);
  179|       |
  180|  66.5k|        PyObject *fixed_value = _PyErr_CreateException(exception, value);
  181|  66.5k|        if (fixed_value == NULL) {
  ------------------
  |  Branch (181:13): [True: 0, False: 66.5k]
  ------------------
  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|  66.5k|        Py_XSETREF(value, fixed_value);
  ------------------
  |  |  376|  66.5k|    do { \
  |  |  377|  66.5k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  66.5k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|  66.5k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  66.5k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|  66.5k|        *_tmp_dst_ptr = (src); \
  |  |  380|  66.5k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  66.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  66.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  66.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|  66.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 66.5k]
  |  |  ------------------
  ------------------
  196|  66.5k|    }
  197|       |
  198|   115k|    exc_value = _PyErr_GetTopmostException(tstate)->exc_value;
  199|   115k|    if (exc_value != NULL && exc_value != Py_None) {
  ------------------
  |  |  616|  1.64k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (199:9): [True: 1.64k, False: 114k]
  |  Branch (199:30): [True: 1.64k, False: 0]
  ------------------
  200|       |        /* Implicit exception chaining */
  201|  1.64k|        Py_INCREF(exc_value);
  ------------------
  |  |  310|  1.64k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.64k|#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|  1.64k|        if (exc_value != value) {
  ------------------
  |  Branch (208:13): [True: 1.64k, False: 0]
  ------------------
  209|  1.64k|            PyObject *o = exc_value, *context;
  210|  1.64k|            PyObject *slow_o = o;  /* Floyd's cycle detection algo */
  211|  1.64k|            int slow_update_toggle = 0;
  212|  2.45k|            while ((context = PyException_GetContext(o))) {
  ------------------
  |  Branch (212:20): [True: 813, False: 1.64k]
  ------------------
  213|    813|                Py_DECREF(context);
  ------------------
  |  |  430|    813|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    813|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    813|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  214|    813|                if (context == value) {
  ------------------
  |  Branch (214:21): [True: 0, False: 813]
  ------------------
  215|      0|                    PyException_SetContext(o, NULL);
  216|      0|                    break;
  217|      0|                }
  218|    813|                o = context;
  219|    813|                if (o == slow_o) {
  ------------------
  |  Branch (219:21): [True: 0, False: 813]
  ------------------
  220|       |                    /* pre-existing cycle - all exceptions on the
  221|       |                       path were visited and checked.  */
  222|      0|                    break;
  223|      0|                }
  224|    813|                if (slow_update_toggle) {
  ------------------
  |  Branch (224:21): [True: 271, False: 542]
  ------------------
  225|    271|                    slow_o = PyException_GetContext(slow_o);
  226|    271|                    Py_DECREF(slow_o);
  ------------------
  |  |  430|    271|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    271|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    271|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  227|    271|                }
  228|    813|                slow_update_toggle = !slow_update_toggle;
  229|    813|            }
  230|  1.64k|            PyException_SetContext(value, exc_value);
  231|  1.64k|        }
  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|  1.64k|    }
  236|   115k|    assert(value != NULL);
  ------------------
  |  Branch (236:5): [True: 115k, False: 0]
  ------------------
  237|   115k|    if (PyExceptionInstance_Check(value))
  ------------------
  |  |   65|   115k|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   115k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 115k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  238|   115k|        tb = PyException_GetTraceback(value);
  239|   115k|    _PyErr_Restore(tstate, Py_NewRef(Py_TYPE(value)), value, tb);
  ------------------
  |  |  550|   115k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   115k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   115k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  240|   115k|}
PyErr_SetObject:
  244|  53.1k|{
  245|  53.1k|    PyThreadState *tstate = _PyThreadState_GET();
  246|  53.1k|    _PyErr_SetObject(tstate, exception, value);
  247|  53.1k|}
_PyErr_SetKeyError:
  258|    749|{
  259|    749|    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|    749|    _PyErr_Clear(tstate);
  265|       |
  266|    749|    PyObject *exc = PyObject_CallOneArg(PyExc_KeyError, arg);
  267|    749|    if (!exc) {
  ------------------
  |  Branch (267:9): [True: 0, False: 749]
  ------------------
  268|       |        /* caller will expect error to be set anyway */
  269|      0|        return;
  270|      0|    }
  271|       |
  272|    749|    _PyErr_SetObject(tstate, (PyObject*)Py_TYPE(exc), exc);
  ------------------
  |  |  213|    749|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    749|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    749|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  273|    749|    Py_DECREF(exc);
  ------------------
  |  |  430|    749|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    749|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    749|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  274|    749|}
_PyErr_SetString:
  294|  26.4k|{
  295|  26.4k|    PyObject *value = PyUnicode_FromString(string);
  296|  26.4k|    if (value != NULL) {
  ------------------
  |  Branch (296:9): [True: 26.4k, False: 0]
  ------------------
  297|  26.4k|        _PyErr_SetObject(tstate, exception, value);
  298|  26.4k|        Py_DECREF(value);
  ------------------
  |  |  430|  26.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  299|  26.4k|    }
  300|  26.4k|}
PyErr_SetString:
  304|  25.4k|{
  305|  25.4k|    PyThreadState *tstate = _PyThreadState_GET();
  306|  25.4k|    _PyErr_SetString(tstate, exception, string);
  307|  25.4k|}
PyErr_Occurred:
  321|  3.75M|{
  322|       |    /* The caller must hold a thread state. */
  323|  3.75M|    _Py_AssertHoldsTstate();
  ------------------
  |  |  306|  3.75M|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
  324|       |
  325|  3.75M|    PyThreadState *tstate = _PyThreadState_GET();
  326|  3.75M|    return _PyErr_Occurred(tstate);
  327|  3.75M|}
PyErr_GivenExceptionMatches:
  332|   137k|{
  333|   137k|    if (err == NULL || exc == NULL) {
  ------------------
  |  Branch (333:9): [True: 10.7k, False: 126k]
  |  Branch (333:24): [True: 0, False: 126k]
  ------------------
  334|       |        /* maybe caused by "import exceptions" that failed early on */
  335|  10.7k|        return 0;
  336|  10.7k|    }
  337|   126k|    if (PyTuple_Check(exc)) {
  ------------------
  |  |   27|   126k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   126k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.26k, False: 125k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  338|  1.26k|        Py_ssize_t i, n;
  339|  1.26k|        n = PyTuple_Size(exc);
  340|  1.88k|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (340:21): [True: 1.84k, False: 36]
  ------------------
  341|       |            /* Test recursively */
  342|  1.84k|             if (PyErr_GivenExceptionMatches(
  ------------------
  |  Branch (342:18): [True: 1.22k, False: 619]
  ------------------
  343|  1.84k|                 err, PyTuple_GET_ITEM(exc, i)))
  ------------------
  |  |   29|  1.84k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.84k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (343:23): [True: 1.84k, False: 0]
  ------------------
  344|  1.22k|             {
  345|  1.22k|                 return 1;
  346|  1.22k|             }
  347|  1.84k|        }
  348|     36|        return 0;
  349|  1.26k|    }
  350|       |    /* err might be an instance, so check its class. */
  351|   125k|    if (PyExceptionInstance_Check(err))
  ------------------
  |  |   65|   125k|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   125k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 42.0k, False: 83.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  352|  42.0k|        err = PyExceptionInstance_Class(err);
  ------------------
  |  |   69|  42.0k|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  ------------------
  |  |  |  |  171|  42.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  353|       |
  354|   125k|    if (PyExceptionClass_Check(err) && PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|   250k|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|   250k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   125k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   125k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 125k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|   250k|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|   125k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 125k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyExceptionClass_Check(err) && PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|   125k|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|   250k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   125k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   125k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 125k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|   125k|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|   125k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 125k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  355|   125k|        return PyType_IsSubtype((PyTypeObject *)err, (PyTypeObject *)exc);
  356|   125k|    }
  357|       |
  358|      0|    return err == exc;
  359|   125k|}
_PyErr_ExceptionMatches:
  364|  91.3k|{
  365|  91.3k|    return PyErr_GivenExceptionMatches(_PyErr_Occurred(tstate), exc);
  366|  91.3k|}
PyErr_ExceptionMatches:
  371|  91.2k|{
  372|  91.2k|    PyThreadState *tstate = _PyThreadState_GET();
  373|  91.2k|    return _PyErr_ExceptionMatches(tstate, exc);
  374|  91.2k|}
_PyErr_GetRaisedException:
  499|   187k|_PyErr_GetRaisedException(PyThreadState *tstate) {
  500|   187k|    PyObject *exc = tstate->current_exception;
  501|       |    tstate->current_exception = NULL;
  502|   187k|    return exc;
  503|   187k|}
PyErr_GetRaisedException:
  507|   135k|{
  508|   135k|    PyThreadState *tstate = _PyThreadState_GET();
  509|   135k|    return _PyErr_GetRaisedException(tstate);
  510|   135k|}
_PyErr_Fetch:
  515|  8.45k|{
  516|  8.45k|    PyObject *exc = _PyErr_GetRaisedException(tstate);
  517|  8.45k|    *p_value = exc;
  518|  8.45k|    if (exc == NULL) {
  ------------------
  |  Branch (518:9): [True: 0, False: 8.45k]
  ------------------
  519|      0|        *p_type = NULL;
  520|      0|        *p_traceback = NULL;
  521|      0|    }
  522|  8.45k|    else {
  523|  8.45k|        *p_type = Py_NewRef(Py_TYPE(exc));
  ------------------
  |  |  550|  8.45k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  524|  8.45k|        *p_traceback = PyException_GetTraceback(exc);
  525|  8.45k|    }
  526|  8.45k|}
PyErr_Fetch:
  531|  8.45k|{
  532|  8.45k|    PyThreadState *tstate = _PyThreadState_GET();
  533|  8.45k|    _PyErr_Fetch(tstate, p_type, p_value, p_traceback);
  534|  8.45k|}
_PyErr_Clear:
  539|   176k|{
  540|   176k|    _PyErr_Restore(tstate, NULL, NULL, NULL);
  541|   176k|}
PyErr_Clear:
  546|  80.1k|{
  547|  80.1k|    PyThreadState *tstate = _PyThreadState_GET();
  548|  80.1k|    _PyErr_Clear(tstate);
  549|  80.1k|}
_PyErr_ChainExceptions1Tstate:
  707|     85|{
  708|     85|    if (exc == NULL) {
  ------------------
  |  Branch (708:9): [True: 85, False: 0]
  ------------------
  709|     85|        return;
  710|     85|    }
  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|     85|{
  724|     85|    PyThreadState *tstate = _PyThreadState_GET();
  725|     85|    _PyErr_ChainExceptions1Tstate(tstate, exc);
  726|     85|}
PyErr_SetFromErrnoWithFilenameObject:
  810|  5.52k|{
  811|       |    return PyErr_SetFromErrnoWithFilenameObjects(exc, filenameObject, NULL);
  812|  5.52k|}
PyErr_SetFromErrnoWithFilenameObjects:
  816|  6.95k|{
  817|  6.95k|    PyThreadState *tstate = _PyThreadState_GET();
  818|  6.95k|    PyObject *message;
  819|  6.95k|    PyObject *v, *args;
  820|  6.95k|    int i = errno;
  821|       |#ifdef MS_WINDOWS
  822|       |    WCHAR *s_buf = NULL;
  823|       |#endif /* Unix/Windows */
  824|       |
  825|  6.95k|#ifdef EINTR
  826|  6.95k|    if (i == EINTR && PyErr_CheckSignals())
  ------------------
  |  Branch (826:9): [True: 0, False: 6.95k]
  |  Branch (826:23): [True: 0, False: 0]
  ------------------
  827|      0|        return NULL;
  828|  6.95k|#endif
  829|       |
  830|  6.95k|#ifndef MS_WINDOWS
  831|  6.95k|    if (i != 0) {
  ------------------
  |  Branch (831:9): [True: 6.95k, False: 0]
  ------------------
  832|  6.95k|        const char *s = strerror(i);
  833|  6.95k|        message = PyUnicode_DecodeLocale(s, "surrogateescape");
  834|  6.95k|    }
  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|  6.95k|    if (message == NULL)
  ------------------
  |  Branch (880:9): [True: 0, False: 6.95k]
  ------------------
  881|      0|    {
  882|       |#ifdef MS_WINDOWS
  883|       |        LocalFree(s_buf);
  884|       |#endif
  885|      0|        return NULL;
  886|      0|    }
  887|       |
  888|  6.95k|    if (filenameObject != NULL) {
  ------------------
  |  Branch (888:9): [True: 5.52k, False: 1.43k]
  ------------------
  889|  5.52k|        if (filenameObject2 != NULL)
  ------------------
  |  Branch (889:13): [True: 0, False: 5.52k]
  ------------------
  890|      0|            args = Py_BuildValue("(iOOiO)", i, message, filenameObject, 0, filenameObject2);
  891|  5.52k|        else
  892|  5.52k|            args = Py_BuildValue("(iOO)", i, message, filenameObject);
  893|  5.52k|    } else {
  894|  1.43k|        assert(filenameObject2 == NULL);
  ------------------
  |  Branch (894:9): [True: 1.43k, False: 0]
  ------------------
  895|  1.43k|        args = Py_BuildValue("(iO)", i, message);
  896|  1.43k|    }
  897|  6.95k|    Py_DECREF(message);
  ------------------
  |  |  430|  6.95k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  898|       |
  899|  6.95k|    if (args != NULL) {
  ------------------
  |  Branch (899:9): [True: 6.95k, False: 0]
  ------------------
  900|  6.95k|        v = PyObject_Call(exc, args, NULL);
  901|  6.95k|        Py_DECREF(args);
  ------------------
  |  |  430|  6.95k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  902|  6.95k|        if (v != NULL) {
  ------------------
  |  Branch (902:13): [True: 6.95k, False: 0]
  ------------------
  903|  6.95k|            _PyErr_SetObject(tstate, (PyObject *) Py_TYPE(v), v);
  ------------------
  |  |  213|  6.95k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  904|  6.95k|            Py_DECREF(v);
  ------------------
  |  |  430|  6.95k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  905|  6.95k|        }
  906|  6.95k|    }
  907|       |#ifdef MS_WINDOWS
  908|       |    LocalFree(s_buf);
  909|       |#endif
  910|       |    return NULL;
  911|  6.95k|}
PyErr_SetFromErrno:
  932|  1.43k|{
  933|  1.43k|    return PyErr_SetFromErrnoWithFilenameObjects(exc, NULL, NULL);
  934|  1.43k|}
_PyErr_SetImportErrorWithNameFrom:
 1152|      1|{
 1153|      1|    return _PyErr_SetImportErrorSubclassWithNameFrom(PyExc_ImportError, msg, name, path, from_name);
 1154|      1|}
_PyErr_FormatV:
 1211|  25.8k|{
 1212|  25.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|  25.8k|    _PyErr_Clear(tstate);
 1217|       |
 1218|  25.8k|    string = PyUnicode_FromFormatV(format, vargs);
 1219|  25.8k|    if (string != NULL) {
  ------------------
  |  Branch (1219:9): [True: 25.8k, False: 0]
  ------------------
 1220|  25.8k|        _PyErr_SetObject(tstate, exception, string);
 1221|  25.8k|        Py_DECREF(string);
  ------------------
  |  |  430|  25.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1222|  25.8k|    }
 1223|       |    return NULL;
 1224|  25.8k|}
_PyErr_Format:
 1238|  2.29k|{
 1239|  2.29k|    va_list vargs;
 1240|  2.29k|    va_start(vargs, format);
 1241|  2.29k|    _PyErr_FormatV(tstate, exception, format, vargs);
 1242|  2.29k|    va_end(vargs);
 1243|       |    return NULL;
 1244|  2.29k|}
PyErr_Format:
 1249|  23.5k|{
 1250|  23.5k|    PyThreadState *tstate = _PyThreadState_GET();
 1251|  23.5k|    va_list vargs;
 1252|  23.5k|    va_start(vargs, format);
 1253|  23.5k|    _PyErr_FormatV(tstate, exception, format, vargs);
 1254|  23.5k|    va_end(vargs);
 1255|       |    return NULL;
 1256|  23.5k|}
_PyErr_FormatNote:
 1262|  1.99k|{
 1263|  1.99k|    PyObject *exc = PyErr_GetRaisedException();
 1264|  1.99k|    if (exc == NULL) {
  ------------------
  |  Branch (1264:9): [True: 0, False: 1.99k]
  ------------------
 1265|      0|        return;
 1266|      0|    }
 1267|  1.99k|    va_list vargs;
 1268|  1.99k|    va_start(vargs, format);
 1269|  1.99k|    PyObject *note = PyUnicode_FromFormatV(format, vargs);
 1270|  1.99k|    va_end(vargs);
 1271|  1.99k|    if (note == NULL) {
  ------------------
  |  Branch (1271:9): [True: 0, False: 1.99k]
  ------------------
 1272|      0|        goto error;
 1273|      0|    }
 1274|  1.99k|    int res = _PyException_AddNote(exc, note);
 1275|  1.99k|    Py_DECREF(note);
  ------------------
  |  |  430|  1.99k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1276|  1.99k|    if (res < 0) {
  ------------------
  |  Branch (1276:9): [True: 0, False: 1.99k]
  ------------------
 1277|      0|        goto error;
 1278|      0|    }
 1279|  1.99k|    PyErr_SetRaisedException(exc);
 1280|  1.99k|    return;
 1281|      0|error:
 1282|      0|    _PyErr_ChainExceptions1(exc);
 1283|      0|}
PyErr_NewException:
 1288|      8|{
 1289|      8|    PyThreadState *tstate = _PyThreadState_GET();
 1290|      8|    PyObject *modulename = NULL;
 1291|      8|    PyObject *mydict = NULL;
 1292|      8|    PyObject *bases = NULL;
 1293|      8|    PyObject *result = NULL;
 1294|       |
 1295|      8|    const char *dot = strrchr(name, '.');
 1296|      8|    if (dot == NULL) {
  ------------------
  |  Branch (1296:9): [True: 0, False: 8]
  ------------------
 1297|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
 1298|      0|                         "PyErr_NewException: name must be module.class");
 1299|      0|        return NULL;
 1300|      0|    }
 1301|      8|    if (base == NULL) {
  ------------------
  |  Branch (1301:9): [True: 3, False: 5]
  ------------------
 1302|      3|        base = PyExc_Exception;
 1303|      3|    }
 1304|      8|    if (dict == NULL) {
  ------------------
  |  Branch (1304:9): [True: 8, False: 0]
  ------------------
 1305|      8|        dict = mydict = PyDict_New();
 1306|      8|        if (dict == NULL)
  ------------------
  |  Branch (1306:13): [True: 0, False: 8]
  ------------------
 1307|      0|            goto failure;
 1308|      8|    }
 1309|       |
 1310|      8|    int r = PyDict_Contains(dict, &_Py_ID(__module__));
  ------------------
  |  |  921|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1311|      8|    if (r < 0) {
  ------------------
  |  Branch (1311:9): [True: 0, False: 8]
  ------------------
 1312|      0|        goto failure;
 1313|      0|    }
 1314|      8|    if (r == 0) {
  ------------------
  |  Branch (1314:9): [True: 8, False: 0]
  ------------------
 1315|      8|        modulename = PyUnicode_FromStringAndSize(name,
 1316|      8|                                             (Py_ssize_t)(dot-name));
 1317|      8|        if (modulename == NULL)
  ------------------
  |  Branch (1317:13): [True: 0, False: 8]
  ------------------
 1318|      0|            goto failure;
 1319|      8|        if (PyDict_SetItem(dict, &_Py_ID(__module__), modulename) != 0)
  ------------------
  |  |  921|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1319:13): [True: 0, False: 8]
  ------------------
 1320|      0|            goto failure;
 1321|      8|    }
 1322|      8|    if (PyTuple_Check(base)) {
  ------------------
  |  |   27|      8|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      8|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|      6|    } else {
 1325|      6|        bases = PyTuple_Pack(1, base);
 1326|      6|        if (bases == NULL)
  ------------------
  |  Branch (1326:13): [True: 0, False: 6]
  ------------------
 1327|      0|            goto failure;
 1328|      6|    }
 1329|       |    /* Create a real class. */
 1330|      8|    result = PyObject_CallFunction((PyObject *)&PyType_Type, "sOO",
 1331|      8|                                   dot+1, bases, dict);
 1332|      8|  failure:
 1333|      8|    Py_XDECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1334|      8|    Py_XDECREF(mydict);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1335|      8|    Py_XDECREF(modulename);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1336|      8|    return result;
 1337|      8|}
_PyErr_InitTypes:
 1400|      2|{
 1401|      2|    if (_PyStructSequence_InitBuiltin(interp, &UnraisableHookArgsType,
  ------------------
  |  Branch (1401:9): [True: 0, False: 2]
  ------------------
 1402|      2|                                      &UnraisableHookArgs_desc) < 0)
 1403|      0|    {
 1404|      0|        return _PyStatus_ERR("failed to initialize UnraisableHookArgs type");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
 1405|      0|    }
 1406|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1407|      2|}
PyErr_RangedSyntaxLocationObject:
 1920|    269|                                 int end_lineno, int end_col_offset) {
 1921|    269|    PyErr_SyntaxLocationObjectEx(filename, lineno, col_offset, end_lineno, end_col_offset);
 1922|    269|}
_PyErr_RaiseSyntaxError:
 1948|    502|{
 1949|    502|    PyObject *text = PyErr_ProgramTextObject(filename, lineno);
 1950|    502|    if (text == NULL) {
  ------------------
  |  Branch (1950:9): [True: 502, False: 0]
  ------------------
 1951|    502|        text = Py_NewRef(Py_None);
  ------------------
  |  |  550|    502|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    502|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    502|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1952|    502|    }
 1953|    502|    PyObject *args = Py_BuildValue("O(OiiOii)", msg, filename,
 1954|    502|                                   lineno, col_offset, text,
 1955|    502|                                   end_lineno, end_col_offset);
 1956|    502|    if (args == NULL) {
  ------------------
  |  Branch (1956:9): [True: 0, False: 502]
  ------------------
 1957|      0|        goto exit;
 1958|      0|    }
 1959|    502|    PyErr_SetObject(PyExc_SyntaxError, args);
 1960|    502| exit:
 1961|    502|    Py_DECREF(text);
  ------------------
  |  |  430|    502|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    502|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    502|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1962|    502|    Py_XDECREF(args);
  ------------------
  |  |  524|    502|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    502|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    502|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1963|    502|}
_PyErr_EmitSyntaxWarning:
 1973|  5.97k|{
 1974|  5.97k|    if (PyErr_WarnExplicitObject(PyExc_SyntaxWarning, msg, filename, lineno,
  ------------------
  |  Branch (1974:9): [True: 0, False: 5.97k]
  ------------------
 1975|  5.97k|                                 module, NULL) < 0)
 1976|      0|    {
 1977|      0|        if (PyErr_ExceptionMatches(PyExc_SyntaxWarning)) {
  ------------------
  |  Branch (1977:13): [True: 0, False: 0]
  ------------------
 1978|       |            /* Replace the SyntaxWarning exception with a SyntaxError
 1979|       |               to get a more accurate error report */
 1980|      0|            PyErr_Clear();
 1981|      0|            _PyErr_RaiseSyntaxError(msg, filename, lineno, col_offset,
 1982|      0|                                    end_lineno, end_col_offset);
 1983|      0|        }
 1984|      0|        return -1;
 1985|      0|    }
 1986|  5.97k|    return 0;
 1987|  5.97k|}
_PyErr_ProgramDecodedTextObject:
 2058|  5.49k|{
 2059|  5.49k|    char *found_encoding = NULL;
 2060|  5.49k|    if (filename == NULL || lineno <= 0) {
  ------------------
  |  Branch (2060:9): [True: 0, False: 5.49k]
  |  Branch (2060:29): [True: 0, False: 5.49k]
  ------------------
 2061|      0|        return NULL;
 2062|      0|    }
 2063|       |
 2064|  5.49k|    FILE *fp = Py_fopen(filename, "r" PY_STDIOTEXTMODE);
  ------------------
  |  |    9|  5.49k|#define PY_STDIOTEXTMODE "b"
  ------------------
 2065|  5.49k|    if (fp == NULL) {
  ------------------
  |  Branch (2065:9): [True: 5.49k, False: 0]
  ------------------
 2066|  5.49k|        PyErr_Clear();
 2067|  5.49k|        return NULL;
 2068|  5.49k|    }
 2069|      0|    if (encoding == NULL) {
  ------------------
  |  Branch (2069:9): [True: 0, False: 0]
  ------------------
 2070|      0|        int fd = fileno(fp);
 2071|      0|        found_encoding = _PyTokenizer_FindEncodingFilename(fd, filename);
 2072|      0|        encoding = found_encoding;
 2073|      0|        if (encoding == NULL) {
  ------------------
  |  Branch (2073:13): [True: 0, False: 0]
  ------------------
 2074|      0|            PyErr_Clear();
 2075|      0|            encoding = "utf-8";
 2076|      0|        }
 2077|       |        /* Reset position */
 2078|      0|        if (lseek(fd, 0, SEEK_SET) == (off_t)-1) {
  ------------------
  |  Branch (2078:13): [True: 0, False: 0]
  ------------------
 2079|      0|            fclose(fp);
 2080|      0|            PyMem_Free(found_encoding);
 2081|      0|            return NULL;
 2082|      0|        }
 2083|      0|    }
 2084|      0|    PyObject *res = err_programtext(fp, lineno, encoding);
 2085|      0|    fclose(fp);
 2086|      0|    PyMem_Free(found_encoding);
 2087|      0|    return res;
 2088|      0|}
PyErr_ProgramTextObject:
 2092|    771|{
 2093|       |    return _PyErr_ProgramDecodedTextObject(filename, lineno, NULL);
 2094|    771|}
errors.c:_PyErr_CreateException:
   33|  66.5k|{
   34|  66.5k|    PyObject *exc;
   35|       |
   36|  66.5k|    if (value == NULL || value == Py_None) {
  ------------------
  |  |  616|  66.5k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (36:9): [True: 0, False: 66.5k]
  |  Branch (36:26): [True: 0, False: 66.5k]
  ------------------
   37|      0|        exc = _PyObject_CallNoArgs(exception_type);
   38|      0|    }
   39|  66.5k|    else if (PyTuple_Check(value)) {
  ------------------
  |  |   27|  66.5k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  66.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 14.1k, False: 52.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   40|  14.1k|        exc = PyObject_Call(exception_type, value, NULL);
   41|  14.1k|    }
   42|  52.3k|    else {
   43|  52.3k|        exc = PyObject_CallOneArg(exception_type, value);
   44|  52.3k|    }
   45|       |
   46|  66.5k|    if (exc != NULL && !PyExceptionInstance_Check(exc)) {
  ------------------
  |  |   65|  66.5k|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  66.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (46:9): [True: 66.5k, False: 0]
  |  Branch (46:24): [True: 0, False: 66.5k]
  ------------------
   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|  66.5k|    return exc;
   55|  66.5k|}
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|}
errors.c:PyErr_SyntaxLocationObjectEx:
 1812|    269|{
 1813|    269|    PyThreadState *tstate = _PyThreadState_GET();
 1814|       |
 1815|       |    /* add attributes for the line number and filename for the error */
 1816|    269|    PyObject *exc = _PyErr_GetRaisedException(tstate);
 1817|       |    /* XXX check that it is, indeed, a syntax error. It might not
 1818|       |     * be, though. */
 1819|    269|    PyObject *tmp = PyLong_FromLong(lineno);
 1820|    269|    if (tmp == NULL) {
  ------------------
  |  Branch (1820:9): [True: 0, False: 269]
  ------------------
 1821|      0|        _PyErr_Clear(tstate);
 1822|      0|    }
 1823|    269|    else {
 1824|    269|        if (PyObject_SetAttr(exc, &_Py_ID(lineno), tmp)) {
  ------------------
  |  |  921|    269|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    269|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    269|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1824:13): [True: 0, False: 269]
  ------------------
 1825|      0|            _PyErr_Clear(tstate);
 1826|      0|        }
 1827|    269|        Py_DECREF(tmp);
  ------------------
  |  |  430|    269|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    269|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    269|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1828|    269|    }
 1829|    269|    tmp = NULL;
 1830|    269|    if (col_offset >= 0) {
  ------------------
  |  Branch (1830:9): [True: 269, False: 0]
  ------------------
 1831|    269|        tmp = PyLong_FromLong(col_offset);
 1832|    269|        if (tmp == NULL) {
  ------------------
  |  Branch (1832:13): [True: 0, False: 269]
  ------------------
 1833|      0|            _PyErr_Clear(tstate);
 1834|      0|        }
 1835|    269|    }
 1836|    269|    if (PyObject_SetAttr(exc, &_Py_ID(offset), tmp ? tmp : Py_None)) {
  ------------------
  |  |  921|    269|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    269|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    269|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyObject_SetAttr(exc, &_Py_ID(offset), tmp ? tmp : Py_None)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1836:9): [True: 0, False: 269]
  |  Branch (1836:48): [True: 269, False: 0]
  ------------------
 1837|      0|        _PyErr_Clear(tstate);
 1838|      0|    }
 1839|    269|    Py_XDECREF(tmp);
  ------------------
  |  |  524|    269|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    269|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    269|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1840|       |
 1841|    269|    tmp = NULL;
 1842|    269|    if (end_lineno >= 0) {
  ------------------
  |  Branch (1842:9): [True: 269, False: 0]
  ------------------
 1843|    269|        tmp = PyLong_FromLong(end_lineno);
 1844|    269|        if (tmp == NULL) {
  ------------------
  |  Branch (1844:13): [True: 0, False: 269]
  ------------------
 1845|      0|            _PyErr_Clear(tstate);
 1846|      0|        }
 1847|    269|    }
 1848|    269|    if (PyObject_SetAttr(exc, &_Py_ID(end_lineno), tmp ? tmp : Py_None)) {
  ------------------
  |  |  921|    269|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    269|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    269|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyObject_SetAttr(exc, &_Py_ID(end_lineno), tmp ? tmp : Py_None)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1848:9): [True: 0, False: 269]
  |  Branch (1848:52): [True: 269, False: 0]
  ------------------
 1849|      0|        _PyErr_Clear(tstate);
 1850|      0|    }
 1851|    269|    Py_XDECREF(tmp);
  ------------------
  |  |  524|    269|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    269|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    269|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1852|       |
 1853|    269|    tmp = NULL;
 1854|    269|    if (end_col_offset >= 0) {
  ------------------
  |  Branch (1854:9): [True: 269, False: 0]
  ------------------
 1855|    269|        tmp = PyLong_FromLong(end_col_offset);
 1856|    269|        if (tmp == NULL) {
  ------------------
  |  Branch (1856:13): [True: 0, False: 269]
  ------------------
 1857|      0|            _PyErr_Clear(tstate);
 1858|      0|        }
 1859|    269|    }
 1860|    269|    if (PyObject_SetAttr(exc, &_Py_ID(end_offset), tmp ? tmp : Py_None)) {
  ------------------
  |  |  921|    269|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    269|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    269|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyObject_SetAttr(exc, &_Py_ID(end_offset), tmp ? tmp : Py_None)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1860:9): [True: 0, False: 269]
  |  Branch (1860:52): [True: 269, False: 0]
  ------------------
 1861|      0|        _PyErr_Clear(tstate);
 1862|      0|    }
 1863|    269|    Py_XDECREF(tmp);
  ------------------
  |  |  524|    269|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    269|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    269|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1864|       |
 1865|    269|    tmp = NULL;
 1866|    269|    if (filename != NULL) {
  ------------------
  |  Branch (1866:9): [True: 269, False: 0]
  ------------------
 1867|    269|        if (PyObject_SetAttr(exc, &_Py_ID(filename), filename)) {
  ------------------
  |  |  921|    269|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    269|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    269|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1867:13): [True: 0, False: 269]
  ------------------
 1868|      0|            _PyErr_Clear(tstate);
 1869|      0|        }
 1870|       |
 1871|    269|        tmp = PyErr_ProgramTextObject(filename, lineno);
 1872|    269|        if (tmp) {
  ------------------
  |  Branch (1872:13): [True: 0, False: 269]
  ------------------
 1873|      0|            if (PyObject_SetAttr(exc, &_Py_ID(text), tmp)) {
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1873:17): [True: 0, False: 0]
  ------------------
 1874|      0|                _PyErr_Clear(tstate);
 1875|      0|            }
 1876|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1877|      0|        }
 1878|    269|        else {
 1879|    269|            _PyErr_Clear(tstate);
 1880|    269|        }
 1881|    269|    }
 1882|    269|    if ((PyObject *)Py_TYPE(exc) != PyExc_SyntaxError) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1882:9): [True: 0, False: 269]
  ------------------
 1883|      0|        int rc = PyObject_HasAttrWithError(exc, &_Py_ID(msg));
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1884|      0|        if (rc < 0) {
  ------------------
  |  Branch (1884:13): [True: 0, False: 0]
  ------------------
 1885|      0|            _PyErr_Clear(tstate);
 1886|      0|        }
 1887|      0|        else if (!rc) {
  ------------------
  |  Branch (1887:18): [True: 0, False: 0]
  ------------------
 1888|      0|            tmp = PyObject_Str(exc);
 1889|      0|            if (tmp) {
  ------------------
  |  Branch (1889:17): [True: 0, False: 0]
  ------------------
 1890|      0|                if (PyObject_SetAttr(exc, &_Py_ID(msg), tmp)) {
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1890:21): [True: 0, False: 0]
  ------------------
 1891|      0|                    _PyErr_Clear(tstate);
 1892|      0|                }
 1893|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1894|      0|            }
 1895|      0|            else {
 1896|      0|                _PyErr_Clear(tstate);
 1897|      0|            }
 1898|      0|        }
 1899|       |
 1900|      0|        rc = PyObject_HasAttrWithError(exc, &_Py_ID(print_file_and_line));
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1901|      0|        if (rc < 0) {
  ------------------
  |  Branch (1901:13): [True: 0, False: 0]
  ------------------
 1902|      0|            _PyErr_Clear(tstate);
 1903|      0|        }
 1904|      0|        else if (!rc) {
  ------------------
  |  Branch (1904:18): [True: 0, False: 0]
  ------------------
 1905|      0|            if (PyObject_SetAttr(exc, &_Py_ID(print_file_and_line), Py_None)) {
  ------------------
  |  |  921|      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(exc, &_Py_ID(print_file_and_line), Py_None)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1905:17): [True: 0, False: 0]
  ------------------
 1906|      0|                _PyErr_Clear(tstate);
 1907|      0|            }
 1908|      0|        }
 1909|      0|    }
 1910|    269|    _PyErr_SetRaisedException(tstate, exc);
 1911|    269|}

_Py_ResetForceASCII:
  325|      8|{
  326|      8|    force_ascii = -1;
  ------------------
  |  |  210|      8|#define force_ascii (_PyRuntime.fileutils.force_ascii)
  ------------------
  327|      8|}
_Py_DecodeLocaleEx:
  600|  6.97k|{
  601|  6.97k|    if (current_locale) {
  ------------------
  |  Branch (601:9): [True: 6.95k, False: 14]
  ------------------
  602|       |#ifdef _Py_FORCE_UTF8_LOCALE
  603|       |        return _Py_DecodeUTF8Ex(arg, strlen(arg), wstr, wlen, reason,
  604|       |                                errors);
  605|       |#else
  606|  6.95k|        return decode_current_locale(arg, wstr, wlen, reason, errors);
  607|  6.95k|#endif
  608|  6.95k|    }
  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:
 1223|     93|{
 1224|       |#ifdef MS_WINDOWS
 1225|       |    FILE_STANDARD_INFO standardInfo = {0};
 1226|       |    FILE_BASIC_INFO basicInfo = {0};
 1227|       |    FILE_ID_INFO idInfo = {0};
 1228|       |    FILE_ID_INFO *pIdInfo = &idInfo;
 1229|       |    HANDLE h;
 1230|       |    int type;
 1231|       |
 1232|       |    h = _Py_get_osfhandle_noraise(fd);
 1233|       |
 1234|       |    if (h == INVALID_HANDLE_VALUE) {
 1235|       |        /* errno is already set by _get_osfhandle, but we also set
 1236|       |           the Win32 error for callers who expect that */
 1237|       |        SetLastError(ERROR_INVALID_HANDLE);
 1238|       |        return -1;
 1239|       |    }
 1240|       |    memset(status, 0, sizeof(*status));
 1241|       |
 1242|       |    type = GetFileType(h);
 1243|       |    if (type == FILE_TYPE_UNKNOWN) {
 1244|       |        DWORD error = GetLastError();
 1245|       |        if (error != 0) {
 1246|       |            errno = winerror_to_errno(error);
 1247|       |            return -1;
 1248|       |        }
 1249|       |        /* else: valid but unknown file */
 1250|       |    }
 1251|       |
 1252|       |    if (type != FILE_TYPE_DISK) {
 1253|       |        if (type == FILE_TYPE_CHAR)
 1254|       |            status->st_mode = _S_IFCHR;
 1255|       |        else if (type == FILE_TYPE_PIPE)
 1256|       |            status->st_mode = _S_IFIFO;
 1257|       |        return 0;
 1258|       |    }
 1259|       |
 1260|       |    if (!GetFileInformationByHandleEx(h,FileStandardInfo, &standardInfo, sizeof(standardInfo)) ||
 1261|       |        !GetFileInformationByHandleEx(h, FileBasicInfo, &basicInfo, sizeof(basicInfo))) {
 1262|       |        /* The Win32 error is already set, but we also set errno for
 1263|       |           callers who expect it */
 1264|       |        errno = winerror_to_errno(GetLastError());
 1265|       |        return -1;
 1266|       |    }
 1267|       |
 1268|       |    if (!GetFileInformationByHandleEx(h, FileIdInfo, &idInfo, sizeof(idInfo))) {
 1269|       |        /* Failed to get FileIdInfo, so do not pass it along */
 1270|       |        pIdInfo = NULL;
 1271|       |    }
 1272|       |
 1273|       |    _Py_attribute_data_to_stat(&standardInfo, 0, &basicInfo, pIdInfo, status);
 1274|       |    return 0;
 1275|       |#else
 1276|     93|    return fstat(fd, status);
 1277|     93|#endif
 1278|     93|}
_Py_wstat:
 1320|      8|{
 1321|      8|    int err;
 1322|       |#ifdef MS_WINDOWS
 1323|       |    struct _stat wstatbuf;
 1324|       |    err = _wstat(path, &wstatbuf);
 1325|       |    if (!err) {
 1326|       |        buf->st_mode = wstatbuf.st_mode;
 1327|       |    }
 1328|       |#else
 1329|      8|    char *fname;
 1330|      8|    fname = _Py_EncodeLocaleRaw(path, NULL);
 1331|      8|    if (fname == NULL) {
  ------------------
  |  Branch (1331:9): [True: 0, False: 8]
  ------------------
 1332|      0|        errno = EINVAL;
 1333|      0|        return -1;
 1334|      0|    }
 1335|      8|    err = stat(fname, buf);
 1336|      8|    PyMem_RawFree(fname);
 1337|      8|#endif
 1338|      8|    return err;
 1339|      8|}
_Py_stat:
 1350|     10|{
 1351|       |#ifdef MS_WINDOWS
 1352|       |    int err;
 1353|       |
 1354|       |    wchar_t *wpath = PyUnicode_AsWideCharString(path, NULL);
 1355|       |    if (wpath == NULL)
 1356|       |        return -2;
 1357|       |
 1358|       |    err = _Py_wstat(wpath, statbuf);
 1359|       |    PyMem_Free(wpath);
 1360|       |    return err;
 1361|       |#else
 1362|     10|    PyObject *bytes = PyUnicode_EncodeFSDefault(path);
 1363|     10|    if (bytes == NULL) {
  ------------------
  |  Branch (1363:9): [True: 0, False: 10]
  ------------------
 1364|      0|        return -2;
 1365|      0|    }
 1366|       |
 1367|       |    /* check for embedded null bytes */
 1368|     10|    char *cpath;
 1369|     10|    if (PyBytes_AsStringAndSize(bytes, &cpath, NULL) == -1) {
  ------------------
  |  Branch (1369:9): [True: 0, False: 10]
  ------------------
 1370|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1371|      0|        return -2;
 1372|      0|    }
 1373|       |
 1374|     10|    int ret = stat(cpath, statbuf);
 1375|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1376|     10|    assert(ret == 0 || ret == -1);
  ------------------
  |  Branch (1376:5): [True: 2, False: 8]
  |  Branch (1376:5): [True: 8, False: 0]
  ------------------
 1377|     10|    return ret;
 1378|     10|#endif
 1379|     10|}
_Py_set_inheritable:
 1591|     85|{
 1592|     85|    return set_inheritable(fd, inheritable, 1, atomic_flag_works);
 1593|     85|}
Py_fopen:
 1753|  5.50k|{
 1754|  5.50k|    _Py_AssertHoldsTstate();
  ------------------
  |  |  306|  5.50k|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 1755|       |
 1756|  5.50k|    if (PySys_Audit("open", "Osi", path, mode, 0) < 0) {
  ------------------
  |  Branch (1756:9): [True: 0, False: 5.50k]
  ------------------
 1757|      0|        return NULL;
 1758|      0|    }
 1759|       |
 1760|  5.50k|    FILE *f;
 1761|  5.50k|    int async_err = 0;
 1762|  5.50k|    int saved_errno;
 1763|       |#ifdef MS_WINDOWS
 1764|       |    PyObject *unicode;
 1765|       |    if (!PyUnicode_FSDecoder(path, &unicode)) {
 1766|       |        return NULL;
 1767|       |    }
 1768|       |
 1769|       |    wchar_t *wpath = PyUnicode_AsWideCharString(unicode, NULL);
 1770|       |    Py_DECREF(unicode);
 1771|       |    if (wpath == NULL) {
 1772|       |        return NULL;
 1773|       |    }
 1774|       |
 1775|       |    wchar_t wmode[10];
 1776|       |    int usize = MultiByteToWideChar(CP_ACP, 0, mode, -1,
 1777|       |                                    wmode, Py_ARRAY_LENGTH(wmode));
 1778|       |    if (usize == 0) {
 1779|       |        PyErr_SetFromWindowsErr(0);
 1780|       |        PyMem_Free(wpath);
 1781|       |        return NULL;
 1782|       |    }
 1783|       |
 1784|       |    do {
 1785|       |        Py_BEGIN_ALLOW_THREADS
 1786|       |        _Py_BEGIN_SUPPRESS_IPH
 1787|       |        f = _wfopen(wpath, wmode);
 1788|       |        _Py_END_SUPPRESS_IPH
 1789|       |        Py_END_ALLOW_THREADS
 1790|       |    } while (f == NULL
 1791|       |             && errno == EINTR && !(async_err = PyErr_CheckSignals()));
 1792|       |    saved_errno = errno;
 1793|       |    PyMem_Free(wpath);
 1794|       |#else
 1795|  5.50k|    PyObject *bytes;
 1796|  5.50k|    if (!PyUnicode_FSConverter(path, &bytes)) {
  ------------------
  |  Branch (1796:9): [True: 0, False: 5.50k]
  ------------------
 1797|      0|        return NULL;
 1798|      0|    }
 1799|  5.50k|    const char *path_bytes = PyBytes_AS_STRING(bytes);
  ------------------
  |  |   27|  5.50k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1800|       |
 1801|  5.50k|    do {
 1802|  5.50k|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|  5.50k|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|  5.50k|                        PyThreadState *_save; \
  |  |  121|  5.50k|                        _save = PyEval_SaveThread();
  ------------------
 1803|  5.50k|        f = fopen(path_bytes, mode);
 1804|  5.50k|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|  5.50k|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|  5.50k|                 }
  ------------------
 1805|  5.50k|    } while (f == NULL
  ------------------
  |  Branch (1805:14): [True: 5.50k, False: 0]
  ------------------
 1806|  5.50k|             && errno == EINTR && !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (1806:17): [True: 0, False: 5.50k]
  |  Branch (1806:35): [True: 0, False: 0]
  ------------------
 1807|  5.50k|    saved_errno = errno;
 1808|  5.50k|    Py_DECREF(bytes);
  ------------------
  |  |  430|  5.50k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1809|  5.50k|#endif
 1810|       |
 1811|  5.50k|    if (async_err) {
  ------------------
  |  Branch (1811:9): [True: 0, False: 5.50k]
  ------------------
 1812|      0|        return NULL;
 1813|      0|    }
 1814|       |
 1815|  5.50k|    if (f == NULL) {
  ------------------
  |  Branch (1815:9): [True: 5.50k, False: 0]
  ------------------
 1816|  5.50k|        errno = saved_errno;
 1817|  5.50k|        PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, path);
 1818|  5.50k|        return NULL;
 1819|  5.50k|    }
 1820|       |
 1821|      0|    if (set_inheritable(fileno(f), 0, 1, NULL) < 0) {
  ------------------
  |  Branch (1821:9): [True: 0, False: 0]
  ------------------
 1822|      0|        fclose(f);
 1823|      0|        return NULL;
 1824|      0|    }
 1825|      0|    return f;
 1826|      0|}
_Py_read:
 1856|    170|{
 1857|    170|    Py_ssize_t n;
 1858|    170|    int err;
 1859|    170|    int async_err = 0;
 1860|       |
 1861|    170|    _Py_AssertHoldsTstate();
  ------------------
  |  |  306|    170|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 1862|       |
 1863|       |    /* _Py_read() must not be called with an exception set, otherwise the
 1864|       |     * caller may think that read() was interrupted by a signal and the signal
 1865|       |     * handler raised an exception. */
 1866|    170|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (1866:5): [True: 170, False: 0]
  ------------------
 1867|       |
 1868|    170|    if (count > _PY_READ_MAX) {
  ------------------
  |  |   59|    170|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|    170|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (1868:9): [True: 0, False: 170]
  ------------------
 1869|      0|        count = _PY_READ_MAX;
  ------------------
  |  |   59|      0|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
 1870|      0|    }
 1871|       |
 1872|    170|    _Py_BEGIN_SUPPRESS_IPH
 1873|    170|    do {
 1874|    170|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|    170|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|    170|                        PyThreadState *_save; \
  |  |  121|    170|                        _save = PyEval_SaveThread();
  ------------------
 1875|    170|        errno = 0;
 1876|       |#ifdef MS_WINDOWS
 1877|       |        _doserrno = 0;
 1878|       |        n = read(fd, buf, (int)count);
 1879|       |        // read() on a non-blocking empty pipe fails with EINVAL, which is
 1880|       |        // mapped from the Windows error code ERROR_NO_DATA.
 1881|       |        if (n < 0 && errno == EINVAL) {
 1882|       |            if (_doserrno == ERROR_NO_DATA) {
 1883|       |                errno = EAGAIN;
 1884|       |            }
 1885|       |        }
 1886|       |#else
 1887|    170|        n = read(fd, buf, count);
 1888|    170|#endif
 1889|       |        /* save/restore errno because PyErr_CheckSignals()
 1890|       |         * and PyErr_SetFromErrno() can modify it */
 1891|    170|        err = errno;
 1892|    170|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|    170|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|    170|                 }
  ------------------
 1893|    170|    } while (n < 0 && err == EINTR &&
  ------------------
  |  Branch (1893:14): [True: 0, False: 170]
  |  Branch (1893:23): [True: 0, False: 0]
  ------------------
 1894|      0|            !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (1894:13): [True: 0, False: 0]
  ------------------
 1895|    170|    _Py_END_SUPPRESS_IPH
 1896|       |
 1897|    170|    if (async_err) {
  ------------------
  |  Branch (1897:9): [True: 0, False: 170]
  ------------------
 1898|       |        /* read() was interrupted by a signal (failed with EINTR)
 1899|       |         * and the Python signal handler raised an exception */
 1900|      0|        errno = err;
 1901|      0|        assert(errno == EINTR && PyErr_Occurred());
  ------------------
  |  Branch (1901:9): [True: 0, False: 0]
  |  Branch (1901:9): [True: 0, False: 0]
  ------------------
 1902|      0|        return -1;
 1903|      0|    }
 1904|    170|    if (n < 0) {
  ------------------
  |  Branch (1904:9): [True: 0, False: 170]
  ------------------
 1905|      0|        PyErr_SetFromErrno(PyExc_OSError);
 1906|      0|        errno = err;
 1907|      0|        return -1;
 1908|      0|    }
 1909|       |
 1910|    170|    return n;
 1911|    170|}
_Py_write:
 2026|  48.4k|{
 2027|  48.4k|    _Py_AssertHoldsTstate();
  ------------------
  |  |  306|  48.4k|#define _Py_AssertHoldsTstate() _Py_AssertHoldsTstateFunc(__func__)
  ------------------
 2028|       |
 2029|       |    /* _Py_write() must not be called with an exception set, otherwise the
 2030|       |     * caller may think that write() was interrupted by a signal and the signal
 2031|       |     * handler raised an exception. */
 2032|  48.4k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (2032:5): [True: 48.4k, False: 0]
  ------------------
 2033|       |
 2034|  48.4k|    return _Py_write_impl(fd, buf, count, 1);
 2035|  48.4k|}
_Py_wreadlink:
 2059|      2|{
 2060|      2|    char *cpath;
 2061|      2|    char cbuf[MAXPATHLEN];
 2062|      2|    size_t cbuf_len = Py_ARRAY_LENGTH(cbuf);
  ------------------
  |  |  196|      2|    (sizeof(array) / sizeof((array)[0]))
  ------------------
 2063|      2|    wchar_t *wbuf;
 2064|      2|    Py_ssize_t res;
 2065|      2|    size_t r1;
 2066|       |
 2067|      2|    cpath = _Py_EncodeLocaleRaw(path, NULL);
 2068|      2|    if (cpath == NULL) {
  ------------------
  |  Branch (2068:9): [True: 0, False: 2]
  ------------------
 2069|      0|        errno = EINVAL;
 2070|      0|        return -1;
 2071|      0|    }
 2072|      2|    res = readlink(cpath, cbuf, cbuf_len);
 2073|      2|    PyMem_RawFree(cpath);
 2074|      2|    if (res == -1) {
  ------------------
  |  Branch (2074:9): [True: 2, False: 0]
  ------------------
 2075|      2|        return -1;
 2076|      2|    }
 2077|      0|    if ((size_t)res == cbuf_len) {
  ------------------
  |  Branch (2077:9): [True: 0, False: 0]
  ------------------
 2078|      0|        errno = EINVAL;
 2079|      0|        return -1;
 2080|      0|    }
 2081|      0|    cbuf[res] = '\0'; /* buf will be null terminated */
 2082|      0|    wbuf = Py_DecodeLocale(cbuf, &r1);
 2083|      0|    if (wbuf == NULL) {
  ------------------
  |  Branch (2083:9): [True: 0, False: 0]
  ------------------
 2084|      0|        errno = EINVAL;
 2085|      0|        return -1;
 2086|      0|    }
 2087|       |    /* wbuf must have space to store the trailing NUL character */
 2088|      0|    if (buflen <= r1) {
  ------------------
  |  Branch (2088:9): [True: 0, False: 0]
  ------------------
 2089|      0|        PyMem_RawFree(wbuf);
 2090|      0|        errno = EINVAL;
 2091|      0|        return -1;
 2092|      0|    }
 2093|      0|    wcsncpy(buf, wbuf, buflen);
 2094|      0|    PyMem_RawFree(wbuf);
 2095|      0|    return (int)r1;
 2096|      0|}
_Py_isabs:
 2146|     74|{
 2147|       |#ifdef MS_WINDOWS
 2148|       |    const wchar_t *tail;
 2149|       |    HRESULT hr = PathCchSkipRoot(path, &tail);
 2150|       |    if (FAILED(hr) || path == tail) {
 2151|       |        return 0;
 2152|       |    }
 2153|       |    if (tail == &path[1] && (path[0] == SEP || path[0] == ALTSEP)) {
 2154|       |        // Exclude paths with leading SEP
 2155|       |        return 0;
 2156|       |    }
 2157|       |    if (tail == &path[2] && path[1] == L':') {
 2158|       |        // Exclude drive-relative paths (e.g. C:filename.ext)
 2159|       |        return 0;
 2160|       |    }
 2161|       |    return 1;
 2162|       |#else
 2163|     74|    return (path[0] == SEP);
  ------------------
  |  |   29|     74|#  define SEP L'/'
  ------------------
 2164|     74|#endif
 2165|     74|}
_Py_abspath:
 2175|      2|{
 2176|      2|    if (path[0] == '\0' || !wcscmp(path, L".")) {
  ------------------
  |  Branch (2176:9): [True: 0, False: 2]
  |  Branch (2176:28): [True: 0, False: 2]
  ------------------
 2177|      0|        wchar_t cwd[MAXPATHLEN + 1];
 2178|      0|        cwd[Py_ARRAY_LENGTH(cwd) - 1] = 0;
  ------------------
  |  |  196|      0|    (sizeof(array) / sizeof((array)[0]))
  ------------------
 2179|      0|        if (!_Py_wgetcwd(cwd, Py_ARRAY_LENGTH(cwd) - 1)) {
  ------------------
  |  |  196|      0|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (2179:13): [True: 0, False: 0]
  ------------------
 2180|       |            /* unable to get the current directory */
 2181|      0|            return -1;
 2182|      0|        }
 2183|      0|        *abspath_p = _PyMem_RawWcsdup(cwd);
 2184|      0|        return 0;
 2185|      0|    }
 2186|       |
 2187|      2|    if (_Py_isabs(path)) {
  ------------------
  |  Branch (2187:9): [True: 2, False: 0]
  ------------------
 2188|      2|        *abspath_p = _PyMem_RawWcsdup(path);
 2189|      2|        return 0;
 2190|      2|    }
 2191|       |
 2192|       |#ifdef MS_WINDOWS
 2193|       |    return _PyOS_getfullpathname(path, abspath_p);
 2194|       |#else
 2195|      0|    wchar_t cwd[MAXPATHLEN + 1];
 2196|      0|    cwd[Py_ARRAY_LENGTH(cwd) - 1] = 0;
  ------------------
  |  |  196|      0|    (sizeof(array) / sizeof((array)[0]))
  ------------------
 2197|      0|    if (!_Py_wgetcwd(cwd, Py_ARRAY_LENGTH(cwd) - 1)) {
  ------------------
  |  |  196|      0|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (2197:9): [True: 0, False: 0]
  ------------------
 2198|       |        /* unable to get the current directory */
 2199|      0|        return -1;
 2200|      0|    }
 2201|       |
 2202|      0|    size_t cwd_len = wcslen(cwd);
 2203|      0|    size_t path_len = wcslen(path);
 2204|      0|    size_t len = cwd_len + 1 + path_len + 1;
 2205|      0|    if (len <= (size_t)PY_SSIZE_T_MAX / sizeof(wchar_t)) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2205:9): [True: 0, False: 0]
  ------------------
 2206|      0|        *abspath_p = PyMem_RawMalloc(len * sizeof(wchar_t));
 2207|      0|    }
 2208|      0|    else {
 2209|      0|        *abspath_p = NULL;
 2210|      0|    }
 2211|      0|    if (*abspath_p == NULL) {
  ------------------
  |  Branch (2211:9): [True: 0, False: 0]
  ------------------
 2212|      0|        return 0;
 2213|      0|    }
 2214|       |
 2215|      0|    wchar_t *abspath = *abspath_p;
 2216|      0|    memcpy(abspath, cwd, cwd_len * sizeof(wchar_t));
 2217|      0|    abspath += cwd_len;
 2218|       |
 2219|      0|    *abspath = (wchar_t)SEP;
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
 2220|      0|    abspath++;
 2221|       |
 2222|      0|    memcpy(abspath, path, path_len * sizeof(wchar_t));
 2223|      0|    abspath += path_len;
 2224|       |
 2225|      0|    *abspath = 0;
 2226|      0|    return 0;
 2227|      0|#endif
 2228|      0|}
_Py_skiproot:
 2300|     36|{
 2301|     36|    assert(drvsize);
  ------------------
  |  Branch (2301:5): [True: 36, False: 0]
  ------------------
 2302|     36|    assert(rootsize);
  ------------------
  |  Branch (2302:5): [True: 36, False: 0]
  ------------------
 2303|     36|#ifndef MS_WINDOWS
 2304|     36|#define IS_SEP(x) (*(x) == SEP)
 2305|     36|    *drvsize = 0;
 2306|     36|    if (!IS_SEP(&path[0])) {
  ------------------
  |  | 2304|     36|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|     36|#  define SEP L'/'
  |  |  ------------------
  ------------------
  |  Branch (2306:9): [True: 0, False: 36]
  ------------------
 2307|       |        // Relative path, e.g.: 'foo'
 2308|      0|        *rootsize = 0;
 2309|      0|    }
 2310|     36|    else if (!IS_SEP(&path[1]) || IS_SEP(&path[2])) {
  ------------------
  |  | 2304|     72|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|     36|#  define SEP L'/'
  |  |  ------------------
  ------------------
                  else if (!IS_SEP(&path[1]) || IS_SEP(&path[2])) {
  ------------------
  |  | 2304|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  ------------------
  |  |  |  Branch (2304:19): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2310:14): [True: 36, False: 0]
  ------------------
 2311|       |        // Absolute path, e.g.: '/foo', '///foo', '////foo', etc.
 2312|     36|        *rootsize = 1;
 2313|     36|    }
 2314|      0|    else {
 2315|       |        // Precisely two leading slashes, e.g.: '//foo'. Implementation defined per POSIX, see
 2316|       |        // https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_13
 2317|      0|        *rootsize = 2;
 2318|      0|    }
 2319|     36|#undef IS_SEP
 2320|       |#else
 2321|       |    const wchar_t *pEnd = size >= 0 ? &path[size] : NULL;
 2322|       |#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
 2323|       |#define IS_SEP(x) (*(x) == SEP || *(x) == ALTSEP)
 2324|       |#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
 2325|       |    if (IS_SEP(&path[0])) {
 2326|       |        if (IS_SEP(&path[1])) {
 2327|       |            // Device drives, e.g. \\.\device or \\?\device
 2328|       |            // UNC drives, e.g. \\server\share or \\?\UNC\server\share
 2329|       |            Py_ssize_t idx;
 2330|       |            if (path[2] == L'?' && IS_SEP(&path[3]) &&
 2331|       |                (path[4] == L'U' || path[4] == L'u') &&
 2332|       |                (path[5] == L'N' || path[5] == L'n') &&
 2333|       |                (path[6] == L'C' || path[6] == L'c') &&
 2334|       |                IS_SEP(&path[7]))
 2335|       |            {
 2336|       |                idx = 8;
 2337|       |            }
 2338|       |            else {
 2339|       |                idx = 2;
 2340|       |            }
 2341|       |            while (!SEP_OR_END(&path[idx])) {
 2342|       |                idx++;
 2343|       |            }
 2344|       |            if (IS_END(&path[idx])) {
 2345|       |                *drvsize = idx;
 2346|       |                *rootsize = 0;
 2347|       |            }
 2348|       |            else {
 2349|       |                idx++;
 2350|       |                while (!SEP_OR_END(&path[idx])) {
 2351|       |                    idx++;
 2352|       |                }
 2353|       |                *drvsize = idx;
 2354|       |                if (IS_END(&path[idx])) {
 2355|       |                    *rootsize = 0;
 2356|       |                }
 2357|       |                else {
 2358|       |                    *rootsize = 1;
 2359|       |                }
 2360|       |            }
 2361|       |        }
 2362|       |        else {
 2363|       |            // Relative path with root, e.g. \Windows
 2364|       |            *drvsize = 0;
 2365|       |            *rootsize = 1;
 2366|       |        }
 2367|       |    }
 2368|       |    else if (!IS_END(&path[0]) && path[1] == L':') {
 2369|       |        *drvsize = 2;
 2370|       |        if (IS_SEP(&path[2])) {
 2371|       |            // Absolute drive-letter path, e.g. X:\Windows
 2372|       |            *rootsize = 1;
 2373|       |        }
 2374|       |        else {
 2375|       |            // Relative path with drive, e.g. X:Windows
 2376|       |            *rootsize = 0;
 2377|       |        }
 2378|       |    }
 2379|       |    else {
 2380|       |        // Relative path, e.g. Windows
 2381|       |        *drvsize = 0;
 2382|       |        *rootsize = 0;
 2383|       |    }
 2384|       |#undef SEP_OR_END
 2385|       |#undef IS_SEP
 2386|       |#undef IS_END
 2387|       |#endif
 2388|     36|}
_Py_add_relfile:
 2460|     24|{
 2461|     24|    assert(dirname != NULL && relfile != NULL);
  ------------------
  |  Branch (2461:5): [True: 24, False: 0]
  |  Branch (2461:5): [True: 24, False: 0]
  ------------------
 2462|     24|    assert(bufsize > 0);
  ------------------
  |  Branch (2462:5): [True: 24, False: 0]
  ------------------
 2463|     24|    return join_relfile(dirname, bufsize, dirname, relfile);
 2464|     24|}
_Py_normpath_and_size:
 2486|     36|{
 2487|     36|    assert(path != NULL);
  ------------------
  |  Branch (2487:5): [True: 36, False: 0]
  ------------------
 2488|     36|    if ((size < 0 && !path[0]) || size == 0) {
  ------------------
  |  Branch (2488:10): [True: 26, False: 10]
  |  Branch (2488:22): [True: 0, False: 26]
  |  Branch (2488:35): [True: 0, False: 36]
  ------------------
 2489|      0|        *normsize = 0;
 2490|      0|        return path;
 2491|      0|    }
 2492|     36|    wchar_t *pEnd = size >= 0 ? &path[size] : NULL;
  ------------------
  |  Branch (2492:21): [True: 10, False: 26]
  ------------------
 2493|     36|    wchar_t *p1 = path;     // sequentially scanned address in the path
 2494|     36|    wchar_t *p2 = path;     // destination of a scanned character to be ljusted
 2495|     36|    wchar_t *minP2 = path;  // the beginning of the destination range
 2496|     36|    wchar_t lastC = L'\0';  // the last ljusted character, p2[-1] in most cases
 2497|       |
 2498|     36|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
 2499|       |#ifdef ALTSEP
 2500|       |#define IS_SEP(x) (*(x) == SEP || *(x) == ALTSEP)
 2501|       |#else
 2502|     36|#define IS_SEP(x) (*(x) == SEP)
 2503|     36|#endif
 2504|     36|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
 2505|       |
 2506|     36|    Py_ssize_t drvsize, rootsize;
 2507|     36|    _Py_skiproot(path, size, &drvsize, &rootsize);
 2508|     36|    if (drvsize || rootsize) {
  ------------------
  |  Branch (2508:9): [True: 0, False: 36]
  |  Branch (2508:20): [True: 36, False: 0]
  ------------------
 2509|       |        // Skip past root and update minP2
 2510|     36|        p1 = &path[drvsize + rootsize];
 2511|     36|#ifndef ALTSEP
 2512|     36|        p2 = p1;
 2513|       |#else
 2514|       |        for (; p2 < p1; ++p2) {
 2515|       |            if (*p2 == ALTSEP) {
 2516|       |                *p2 = SEP;
 2517|       |            }
 2518|       |        }
 2519|       |#endif
 2520|     36|        minP2 = p2 - 1;
 2521|     36|        lastC = *minP2;
 2522|       |#ifdef MS_WINDOWS
 2523|       |        if (lastC != SEP) {
 2524|       |            minP2++;
 2525|       |        }
 2526|       |#endif
 2527|     36|    }
 2528|     36|    if (p1[0] == L'.' && SEP_OR_END(&p1[1])) {
  ------------------
  |  | 2504|      0|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2502|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2502:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2498|      0|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2498:19): [True: 0, False: 0]
  |  |  |  |  |  Branch (2498:20): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2528:9): [True: 0, False: 36]
  ------------------
 2529|       |        // Skip leading '.\'
 2530|      0|        lastC = *++p1;
 2531|       |#ifdef ALTSEP
 2532|       |        if (lastC == ALTSEP) {
 2533|       |            lastC = SEP;
 2534|       |        }
 2535|       |#endif
 2536|      0|        while (IS_SEP(p1)) {
  ------------------
  |  | 2502|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  ------------------
  |  |  |  Branch (2502:19): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2537|      0|            p1++;
 2538|      0|        }
 2539|      0|    }
 2540|       |
 2541|       |    /* if pEnd is specified, check that. Else, check for null terminator */
 2542|  1.96k|    for (; !IS_END(p1); ++p1) {
  ------------------
  |  | 2498|  1.96k|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  ------------------
  |  |  |  Branch (2498:20): [True: 608, False: 1.35k]
  |  |  ------------------
  ------------------
  |  Branch (2542:12): [True: 1.93k, False: 36]
  ------------------
 2543|  1.93k|        wchar_t c = *p1;
 2544|       |#ifdef ALTSEP
 2545|       |        if (c == ALTSEP) {
 2546|       |            c = SEP;
 2547|       |        }
 2548|       |#endif
 2549|  1.93k|        if (lastC == SEP) {
  ------------------
  |  |   29|  1.93k|#  define SEP L'/'
  ------------------
  |  Branch (2549:13): [True: 174, False: 1.75k]
  ------------------
 2550|    174|            if (c == L'.') {
  ------------------
  |  Branch (2550:17): [True: 0, False: 174]
  ------------------
 2551|      0|                int sep_at_1 = SEP_OR_END(&p1[1]);
  ------------------
  |  | 2504|      0|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2502|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2502:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2498|      0|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2498:19): [True: 0, False: 0]
  |  |  |  |  |  Branch (2498:20): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2552|      0|                int sep_at_2 = !sep_at_1 && SEP_OR_END(&p1[2]);
  ------------------
  |  | 2504|      0|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2502|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2502:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2498|      0|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2498:19): [True: 0, False: 0]
  |  |  |  |  |  Branch (2498:20): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2552:32): [True: 0, False: 0]
  ------------------
 2553|      0|                if (sep_at_2 && p1[1] == L'.') {
  ------------------
  |  Branch (2553:21): [True: 0, False: 0]
  |  Branch (2553:33): [True: 0, False: 0]
  ------------------
 2554|      0|                    wchar_t *p3 = p2;
 2555|      0|                    while (p3 != minP2 && *--p3 == SEP) { }
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
  |  Branch (2555:28): [True: 0, False: 0]
  |  Branch (2555:43): [True: 0, False: 0]
  ------------------
 2556|      0|                    while (p3 != minP2 && *(p3 - 1) != SEP) { --p3; }
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
  |  Branch (2556:28): [True: 0, False: 0]
  |  Branch (2556:43): [True: 0, False: 0]
  ------------------
 2557|      0|                    if (p2 == minP2
  ------------------
  |  Branch (2557:25): [True: 0, False: 0]
  ------------------
 2558|      0|                        || (p3[0] == L'.' && p3[1] == L'.' && IS_SEP(&p3[2])))
  ------------------
  |  | 2502|      0|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|      0|#  define SEP L'/'
  |  |  ------------------
  |  |  |  Branch (2502:19): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2558:29): [True: 0, False: 0]
  |  Branch (2558:46): [True: 0, False: 0]
  ------------------
 2559|      0|                    {
 2560|       |                        // Previous segment is also ../, so append instead.
 2561|       |                        // Relative path does not absorb ../ at minP2 as well.
 2562|      0|                        *p2++ = L'.';
 2563|      0|                        *p2++ = L'.';
 2564|      0|                        lastC = L'.';
 2565|      0|                    } else if (p3[0] == SEP) {
  ------------------
  |  |   29|      0|#  define SEP L'/'
  ------------------
  |  Branch (2565:32): [True: 0, False: 0]
  ------------------
 2566|       |                        // Absolute path, so absorb segment
 2567|      0|                        p2 = p3 + 1;
 2568|      0|                    } else {
 2569|      0|                        p2 = p3;
 2570|      0|                    }
 2571|      0|                    p1 += 1;
 2572|      0|                } else if (sep_at_1) {
  ------------------
  |  Branch (2572:28): [True: 0, False: 0]
  ------------------
 2573|      0|                } else {
 2574|      0|                    *p2++ = lastC = c;
 2575|      0|                }
 2576|    174|            } else if (c == SEP) {
  ------------------
  |  |   29|    174|#  define SEP L'/'
  ------------------
  |  Branch (2576:24): [True: 0, False: 174]
  ------------------
 2577|    174|            } else {
 2578|    174|                *p2++ = lastC = c;
 2579|    174|            }
 2580|  1.75k|        } else {
 2581|  1.75k|            *p2++ = lastC = c;
 2582|  1.75k|        }
 2583|  1.93k|    }
 2584|     36|    *p2 = L'\0';
 2585|     36|    if (p2 != minP2) {
  ------------------
  |  Branch (2585:9): [True: 36, False: 0]
  ------------------
 2586|     36|        while (--p2 != minP2 && *p2 == SEP) {
  ------------------
  |  |   29|     36|#  define SEP L'/'
  ------------------
  |  Branch (2586:16): [True: 36, False: 0]
  |  Branch (2586:33): [True: 0, False: 36]
  ------------------
 2587|      0|            *p2 = L'\0';
 2588|      0|        }
 2589|     36|    } else {
 2590|      0|        --p2;
 2591|      0|    }
 2592|     36|    *normsize = p2 - path + 1;
 2593|     36|#undef SEP_OR_END
 2594|     36|#undef IS_SEP
 2595|     36|#undef IS_END
 2596|     36|    return path;
 2597|     36|}
_Py_normpath:
 2606|     26|{
 2607|     26|    Py_ssize_t norm_length;
 2608|     26|    return _Py_normpath_and_size(path, size, &norm_length);
 2609|     26|}
_Py_GetTicksPerSecond:
 3073|      4|{
 3074|      4|#if defined(HAVE_SYSCONF) && defined(_SC_CLK_TCK)
 3075|      4|    long value = sysconf(_SC_CLK_TCK);
 3076|      4|    if (value < 1) {
  ------------------
  |  Branch (3076:9): [True: 0, False: 4]
  ------------------
 3077|      0|        return -1;
 3078|      0|    }
 3079|      4|    *ticks_per_second = value;
 3080|       |#elif defined(HZ)
 3081|       |    assert(HZ >= 1);
 3082|       |    *ticks_per_second = HZ;
 3083|       |#else
 3084|       |    // Magic fallback value; may be bogus
 3085|       |    *ticks_per_second = 60;
 3086|       |#endif
 3087|      4|    return 0;
 3088|      4|}
_Py_IsValidFD:
 3096|      6|{
 3097|       |/* dup() is faster than fstat(): fstat() can require input/output operations,
 3098|       |   whereas dup() doesn't. There is a low risk of EMFILE/ENFILE at Python
 3099|       |   startup. Problem: dup() doesn't check if the file descriptor is valid on
 3100|       |   some platforms.
 3101|       |
 3102|       |   fcntl(fd, F_GETFD) is even faster, because it only checks the process table.
 3103|       |   It is preferred over dup() when available, since it cannot fail with the
 3104|       |   "too many open files" error (EMFILE).
 3105|       |
 3106|       |   bpo-30225: On macOS Tiger, when stdout is redirected to a pipe and the other
 3107|       |   side of the pipe is closed, dup(1) succeed, whereas fstat(1, &st) fails with
 3108|       |   EBADF. FreeBSD has similar issue (bpo-32849).
 3109|       |
 3110|       |   Only use dup() on Linux where dup() is enough to detect invalid FD
 3111|       |   (bpo-32849).
 3112|       |*/
 3113|      6|    if (fd < 0) {
  ------------------
  |  Branch (3113:9): [True: 0, False: 6]
  ------------------
 3114|      0|        return 0;
 3115|      0|    }
 3116|      6|#if defined(F_GETFD) && ( \
 3117|      6|        defined(__linux__) || \
 3118|      6|        defined(__APPLE__) || \
 3119|      6|        (defined(__wasm__) && !defined(__wasi__)))
 3120|      6|    return fcntl(fd, F_GETFD) >= 0;
 3121|       |#elif defined(__linux__)
 3122|       |    int fd2 = dup(fd);
 3123|       |    if (fd2 >= 0) {
 3124|       |        close(fd2);
 3125|       |    }
 3126|       |    return (fd2 >= 0);
 3127|       |#elif defined(MS_WINDOWS)
 3128|       |    HANDLE hfile;
 3129|       |    _Py_BEGIN_SUPPRESS_IPH
 3130|       |    hfile = (HANDLE)_get_osfhandle(fd);
 3131|       |    _Py_END_SUPPRESS_IPH
 3132|       |    return (hfile != INVALID_HANDLE_VALUE
 3133|       |            && GetFileType(hfile) != FILE_TYPE_UNKNOWN);
 3134|       |#else
 3135|       |    struct stat st;
 3136|       |    return (fstat(fd, &st) == 0);
 3137|       |#endif
 3138|      6|}
fileutils.c:_Py_mbstowcs:
  147|  13.9k|{
  148|  13.9k|    size_t count = mbstowcs(dest, src, n);
  149|  13.9k|    if (dest != NULL && count != DECODE_ERROR) {
  ------------------
  |  Branch (149:9): [True: 6.95k, False: 6.95k]
  |  Branch (149:25): [True: 6.95k, False: 0]
  ------------------
  150|   186k|        for (size_t i=0; i < count; i++) {
  ------------------
  |  Branch (150:26): [True: 179k, False: 6.95k]
  ------------------
  151|   179k|            wchar_t ch = dest[i];
  152|   179k|            if (!is_valid_wide_char(ch)) {
  ------------------
  |  Branch (152:17): [True: 0, False: 179k]
  ------------------
  153|      0|                return DECODE_ERROR;
  154|      0|            }
  155|   179k|        }
  156|  6.95k|    }
  157|  13.9k|    return count;
  158|  13.9k|}
fileutils.c:is_valid_wide_char:
  121|   179k|{
  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|   179k|    if (Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (128:9): [True: 0, False: 179k]
  ------------------
  129|       |        // Reject lone surrogate characters
  130|      0|        return 0;
  131|      0|    }
  132|   179k|#if SIZEOF_WCHAR_T > 2
  133|   179k|    if (ch > _Py_MAX_UNICODE) {
  ------------------
  |  |   16|   179k|#define _Py_MAX_UNICODE 0x10ffff
  ------------------
  |  Branch (133:9): [True: 0, False: 179k]
  ------------------
  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|   179k|#endif
  141|   179k|    return 1;
  142|   179k|}
fileutils.c:decode_current_locale:
  460|  6.95k|{
  461|  6.95k|    wchar_t *res;
  462|  6.95k|    size_t argsize;
  463|  6.95k|    size_t count;
  464|  6.95k|#ifdef HAVE_MBRTOWC
  465|  6.95k|    unsigned char *in;
  466|  6.95k|    wchar_t *out;
  467|  6.95k|    mbstate_t mbs;
  468|  6.95k|#endif
  469|       |
  470|  6.95k|    int surrogateescape;
  471|  6.95k|    if (get_surrogateescape(errors, &surrogateescape) < 0) {
  ------------------
  |  Branch (471:9): [True: 0, False: 6.95k]
  ------------------
  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|  6.95k|    argsize = _Py_mbstowcs(NULL, arg, 0);
  483|  6.95k|#endif
  484|  6.95k|    if (argsize != DECODE_ERROR) {
  ------------------
  |  Branch (484:9): [True: 6.95k, False: 0]
  ------------------
  485|  6.95k|        if (argsize > PY_SSIZE_T_MAX / sizeof(wchar_t) - 1) {
  ------------------
  |  |  137|  6.95k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (485:13): [True: 0, False: 6.95k]
  ------------------
  486|      0|            return -1;
  487|      0|        }
  488|  6.95k|        res = (wchar_t *)PyMem_RawMalloc((argsize + 1) * sizeof(wchar_t));
  489|  6.95k|        if (!res) {
  ------------------
  |  Branch (489:13): [True: 0, False: 6.95k]
  ------------------
  490|      0|            return -1;
  491|      0|        }
  492|       |
  493|  6.95k|        count = _Py_mbstowcs(res, arg, argsize + 1);
  494|  6.95k|        if (count != DECODE_ERROR) {
  ------------------
  |  Branch (494:13): [True: 6.95k, False: 0]
  ------------------
  495|  6.95k|            *wstr = res;
  496|  6.95k|            if (wlen != NULL) {
  ------------------
  |  Branch (496:17): [True: 6.95k, False: 0]
  ------------------
  497|  6.95k|                *wlen = count;
  498|  6.95k|            }
  499|  6.95k|            return 0;
  500|  6.95k|        }
  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|  6.95k|{
   64|  6.95k|    switch (errors)
   65|  6.95k|    {
   66|      0|    case _Py_ERROR_STRICT:
  ------------------
  |  Branch (66:5): [True: 0, False: 6.95k]
  ------------------
   67|      0|        *surrogateescape = 0;
   68|      0|        return 0;
   69|  6.95k|    case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (69:5): [True: 6.95k, False: 0]
  ------------------
   70|  6.95k|        *surrogateescape = 1;
   71|  6.95k|        return 0;
   72|      0|    default:
  ------------------
  |  Branch (72:5): [True: 0, False: 6.95k]
  ------------------
   73|      0|        return -1;
   74|  6.95k|    }
   75|  6.95k|}
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:
 1392|      1|{
 1393|       |#ifdef MS_WINDOWS
 1394|       |    HANDLE handle;
 1395|       |    DWORD flags;
 1396|       |
 1397|       |    handle = _Py_get_osfhandle_noraise(fd);
 1398|       |    if (handle == INVALID_HANDLE_VALUE) {
 1399|       |        if (raise)
 1400|       |            PyErr_SetFromErrno(PyExc_OSError);
 1401|       |        return -1;
 1402|       |    }
 1403|       |
 1404|       |    if (!GetHandleInformation(handle, &flags)) {
 1405|       |        if (raise)
 1406|       |            PyErr_SetFromWindowsErr(0);
 1407|       |        return -1;
 1408|       |    }
 1409|       |
 1410|       |    return (flags & HANDLE_FLAG_INHERIT);
 1411|       |#else
 1412|      1|    int flags;
 1413|       |
 1414|      1|    flags = fcntl(fd, F_GETFD, 0);
 1415|      1|    if (flags == -1) {
  ------------------
  |  Branch (1415:9): [True: 0, False: 1]
  ------------------
 1416|      0|        if (raise)
  ------------------
  |  Branch (1416:13): [True: 0, False: 0]
  ------------------
 1417|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1418|      0|        return -1;
 1419|      0|    }
 1420|      1|    return !(flags & FD_CLOEXEC);
 1421|      1|#endif
 1422|      1|}
fileutils.c:set_inheritable:
 1437|     85|{
 1438|       |#ifdef MS_WINDOWS
 1439|       |    HANDLE handle;
 1440|       |    DWORD flags;
 1441|       |#else
 1442|     85|#if defined(HAVE_SYS_IOCTL_H) && defined(FIOCLEX) && defined(FIONCLEX)
 1443|     85|    static int ioctl_works = -1;
 1444|     85|    int request;
 1445|     85|    int err;
 1446|     85|#endif
 1447|     85|    int flags, new_flags;
 1448|     85|    int res;
 1449|     85|#endif
 1450|       |
 1451|       |    /* atomic_flag_works can only be used to make the file descriptor
 1452|       |       non-inheritable */
 1453|     85|    assert(!(atomic_flag_works != NULL && inheritable));
  ------------------
  |  Branch (1453:5): [True: 85, False: 0]
  |  Branch (1453:5): [True: 0, False: 85]
  ------------------
 1454|       |
 1455|     85|    if (atomic_flag_works != NULL && !inheritable) {
  ------------------
  |  Branch (1455:9): [True: 85, False: 0]
  |  Branch (1455:38): [True: 85, False: 0]
  ------------------
 1456|     85|        if (_Py_atomic_load_int_relaxed(atomic_flag_works) == -1) {
  ------------------
  |  Branch (1456:13): [True: 1, False: 84]
  ------------------
 1457|      1|            int isInheritable = get_inheritable(fd, raise);
 1458|      1|            if (isInheritable == -1)
  ------------------
  |  Branch (1458:17): [True: 0, False: 1]
  ------------------
 1459|      0|                return -1;
 1460|      1|            _Py_atomic_store_int_relaxed(atomic_flag_works, !isInheritable);
 1461|      1|        }
 1462|       |
 1463|     85|        if (_Py_atomic_load_int_relaxed(atomic_flag_works))
  ------------------
  |  Branch (1463:13): [True: 85, False: 0]
  ------------------
 1464|     85|            return 0;
 1465|     85|    }
 1466|       |
 1467|       |#ifdef MS_WINDOWS
 1468|       |    handle = _Py_get_osfhandle_noraise(fd);
 1469|       |    if (handle == INVALID_HANDLE_VALUE) {
 1470|       |        if (raise)
 1471|       |            PyErr_SetFromErrno(PyExc_OSError);
 1472|       |        return -1;
 1473|       |    }
 1474|       |
 1475|       |    if (inheritable)
 1476|       |        flags = HANDLE_FLAG_INHERIT;
 1477|       |    else
 1478|       |        flags = 0;
 1479|       |
 1480|       |    if (!SetHandleInformation(handle, HANDLE_FLAG_INHERIT, flags)) {
 1481|       |        if (raise)
 1482|       |            PyErr_SetFromWindowsErr(0);
 1483|       |        return -1;
 1484|       |    }
 1485|       |    return 0;
 1486|       |
 1487|       |#else
 1488|       |
 1489|      0|#if defined(HAVE_SYS_IOCTL_H) && defined(FIOCLEX) && defined(FIONCLEX)
 1490|      0|    if (raise != 0 && _Py_atomic_load_int_relaxed(&ioctl_works) != 0) {
  ------------------
  |  Branch (1490:9): [True: 0, False: 0]
  |  Branch (1490:23): [True: 0, False: 0]
  ------------------
 1491|       |        /* fast-path: ioctl() only requires one syscall */
 1492|       |        /* caveat: raise=0 is an indicator that we must be async-signal-safe
 1493|       |         * thus avoid using ioctl() so we skip the fast-path. */
 1494|      0|        if (inheritable)
  ------------------
  |  Branch (1494:13): [True: 0, False: 0]
  ------------------
 1495|      0|            request = FIONCLEX;
 1496|      0|        else
 1497|      0|            request = FIOCLEX;
 1498|      0|        err = ioctl(fd, request, NULL);
 1499|      0|        if (!err) {
  ------------------
  |  Branch (1499:13): [True: 0, False: 0]
  ------------------
 1500|      0|            if (_Py_atomic_load_int_relaxed(&ioctl_works) == -1) {
  ------------------
  |  Branch (1500:17): [True: 0, False: 0]
  ------------------
 1501|      0|                _Py_atomic_store_int_relaxed(&ioctl_works, 1);
 1502|      0|            }
 1503|      0|            return 0;
 1504|      0|        }
 1505|       |
 1506|      0|#ifdef O_PATH
 1507|      0|        if (errno == EBADF) {
  ------------------
  |  Branch (1507:13): [True: 0, False: 0]
  ------------------
 1508|       |            // bpo-44849: On Linux and FreeBSD, ioctl(FIOCLEX) fails with EBADF
 1509|       |            // on O_PATH file descriptors. Fall through to the fcntl()
 1510|       |            // implementation.
 1511|      0|        }
 1512|      0|        else
 1513|      0|#endif
 1514|      0|        if (errno != ENOTTY && errno != EACCES) {
  ------------------
  |  Branch (1514:13): [True: 0, False: 0]
  |  Branch (1514:32): [True: 0, False: 0]
  ------------------
 1515|      0|            if (raise)
  ------------------
  |  Branch (1515:17): [True: 0, False: 0]
  ------------------
 1516|      0|                PyErr_SetFromErrno(PyExc_OSError);
 1517|      0|            return -1;
 1518|      0|        }
 1519|      0|        else {
 1520|       |            /* Issue #22258: Here, ENOTTY means "Inappropriate ioctl for
 1521|       |               device". The ioctl is declared but not supported by the kernel.
 1522|       |               Remember that ioctl() doesn't work. It is the case on
 1523|       |               Illumos-based OS for example.
 1524|       |
 1525|       |               Issue #27057: When SELinux policy disallows ioctl it will fail
 1526|       |               with EACCES. While FIOCLEX is safe operation it may be
 1527|       |               unavailable because ioctl was denied altogether.
 1528|       |               This can be the case on Android. */
 1529|      0|            _Py_atomic_store_int_relaxed(&ioctl_works, 0);
 1530|      0|        }
 1531|       |        /* fallback to fcntl() if ioctl() does not work */
 1532|      0|    }
 1533|      0|#endif
 1534|       |
 1535|       |    /* slow-path: fcntl() requires two syscalls */
 1536|      0|    flags = fcntl(fd, F_GETFD);
 1537|      0|    if (flags < 0) {
  ------------------
  |  Branch (1537:9): [True: 0, False: 0]
  ------------------
 1538|      0|        if (raise)
  ------------------
  |  Branch (1538:13): [True: 0, False: 0]
  ------------------
 1539|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1540|      0|        return -1;
 1541|      0|    }
 1542|       |
 1543|      0|    if (inheritable) {
  ------------------
  |  Branch (1543:9): [True: 0, False: 0]
  ------------------
 1544|      0|        new_flags = flags & ~FD_CLOEXEC;
 1545|      0|    }
 1546|      0|    else {
 1547|      0|        new_flags = flags | FD_CLOEXEC;
 1548|      0|    }
 1549|       |
 1550|      0|    if (new_flags == flags) {
  ------------------
  |  Branch (1550:9): [True: 0, False: 0]
  ------------------
 1551|       |        /* FD_CLOEXEC flag already set/cleared: nothing to do */
 1552|      0|        return 0;
 1553|      0|    }
 1554|       |
 1555|      0|    res = fcntl(fd, F_SETFD, new_flags);
 1556|      0|    if (res < 0) {
  ------------------
  |  Branch (1556:9): [True: 0, False: 0]
  ------------------
 1557|      0|        if (raise)
  ------------------
  |  Branch (1557:13): [True: 0, False: 0]
  ------------------
 1558|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1559|      0|        return -1;
 1560|      0|    }
 1561|      0|    return 0;
 1562|      0|#endif
 1563|      0|}
fileutils.c:_Py_write_impl:
 1915|  48.4k|{
 1916|  48.4k|    Py_ssize_t n;
 1917|  48.4k|    int err;
 1918|  48.4k|    int async_err = 0;
 1919|       |
 1920|  48.4k|    _Py_BEGIN_SUPPRESS_IPH
 1921|       |#ifdef MS_WINDOWS
 1922|       |    if (count > 32767) {
 1923|       |        /* Issue #11395: the Windows console returns an error (12: not
 1924|       |           enough space error) on writing into stdout if stdout mode is
 1925|       |           binary and the length is greater than 66,000 bytes (or less,
 1926|       |           depending on heap usage). */
 1927|       |        if (gil_held) {
 1928|       |            Py_BEGIN_ALLOW_THREADS
 1929|       |            if (isatty(fd)) {
 1930|       |                count = 32767;
 1931|       |            }
 1932|       |            Py_END_ALLOW_THREADS
 1933|       |        } else {
 1934|       |            if (isatty(fd)) {
 1935|       |                count = 32767;
 1936|       |            }
 1937|       |        }
 1938|       |    }
 1939|       |
 1940|       |#endif
 1941|  48.4k|    if (count > _PY_WRITE_MAX) {
  ------------------
  |  |   60|  48.4k|#   define _PY_WRITE_MAX PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|  48.4k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (1941:9): [True: 0, False: 48.4k]
  ------------------
 1942|      0|        count = _PY_WRITE_MAX;
  ------------------
  |  |   60|      0|#   define _PY_WRITE_MAX PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
 1943|      0|    }
 1944|       |
 1945|  48.4k|    if (gil_held) {
  ------------------
  |  Branch (1945:9): [True: 48.4k, False: 0]
  ------------------
 1946|  48.4k|        do {
 1947|  48.4k|            Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|  48.4k|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|  48.4k|                        PyThreadState *_save; \
  |  |  121|  48.4k|                        _save = PyEval_SaveThread();
  ------------------
 1948|  48.4k|            errno = 0;
 1949|       |#ifdef MS_WINDOWS
 1950|       |            // write() on a non-blocking pipe fails with ENOSPC on Windows if
 1951|       |            // the pipe lacks available space for the entire buffer.
 1952|       |            int c = (int)count;
 1953|       |            do {
 1954|       |                _doserrno = 0;
 1955|       |                n = write(fd, buf, c);
 1956|       |                if (n >= 0 || errno != ENOSPC || _doserrno != 0) {
 1957|       |                    break;
 1958|       |                }
 1959|       |                errno = EAGAIN;
 1960|       |                c /= 2;
 1961|       |            } while (c > 0);
 1962|       |#else
 1963|  48.4k|            n = write(fd, buf, count);
 1964|  48.4k|#endif
 1965|       |            /* save/restore errno because PyErr_CheckSignals()
 1966|       |             * and PyErr_SetFromErrno() can modify it */
 1967|  48.4k|            err = errno;
 1968|  48.4k|            Py_END_ALLOW_THREADS
  ------------------
  |  |  124|  48.4k|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|  48.4k|                 }
  ------------------
 1969|  48.4k|        } while (n < 0 && err == EINTR &&
  ------------------
  |  Branch (1969:18): [True: 0, False: 48.4k]
  |  Branch (1969:27): [True: 0, False: 0]
  ------------------
 1970|      0|                !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (1970:17): [True: 0, False: 0]
  ------------------
 1971|  48.4k|    }
 1972|      0|    else {
 1973|      0|        do {
 1974|      0|            errno = 0;
 1975|       |#ifdef MS_WINDOWS
 1976|       |            // write() on a non-blocking pipe fails with ENOSPC on Windows if
 1977|       |            // the pipe lacks available space for the entire buffer.
 1978|       |            int c = (int)count;
 1979|       |            do {
 1980|       |                _doserrno = 0;
 1981|       |                n = write(fd, buf, c);
 1982|       |                if (n >= 0 || errno != ENOSPC || _doserrno != 0) {
 1983|       |                    break;
 1984|       |                }
 1985|       |                errno = EAGAIN;
 1986|       |                c /= 2;
 1987|       |            } while (c > 0);
 1988|       |#else
 1989|      0|            n = write(fd, buf, count);
 1990|      0|#endif
 1991|      0|            err = errno;
 1992|      0|        } while (n < 0 && err == EINTR);
  ------------------
  |  Branch (1992:18): [True: 0, False: 0]
  |  Branch (1992:27): [True: 0, False: 0]
  ------------------
 1993|      0|    }
 1994|  48.4k|    _Py_END_SUPPRESS_IPH
 1995|       |
 1996|  48.4k|    if (async_err) {
  ------------------
  |  Branch (1996:9): [True: 0, False: 48.4k]
  ------------------
 1997|       |        /* write() was interrupted by a signal (failed with EINTR)
 1998|       |           and the Python signal handler raised an exception (if gil_held is
 1999|       |           nonzero). */
 2000|      0|        errno = err;
 2001|      0|        assert(errno == EINTR && (!gil_held || PyErr_Occurred()));
  ------------------
  |  Branch (2001:9): [True: 0, False: 0]
  |  Branch (2001:9): [True: 0, False: 0]
  |  Branch (2001:9): [True: 0, False: 0]
  ------------------
 2002|      0|        return -1;
 2003|      0|    }
 2004|  48.4k|    if (n < 0) {
  ------------------
  |  Branch (2004:9): [True: 0, False: 48.4k]
  ------------------
 2005|      0|        if (gil_held)
  ------------------
  |  Branch (2005:13): [True: 0, False: 0]
  ------------------
 2006|      0|            PyErr_SetFromErrno(PyExc_OSError);
 2007|      0|        errno = err;
 2008|      0|        return -1;
 2009|      0|    }
 2010|       |
 2011|  48.4k|    return n;
 2012|  48.4k|}
fileutils.c:join_relfile:
 2394|     24|{
 2395|       |#ifdef MS_WINDOWS
 2396|       |    if (FAILED(PathCchCombineEx(buffer, bufsize, dirname, relfile,
 2397|       |        PATHCCH_ALLOW_LONG_PATHS))) {
 2398|       |        return -1;
 2399|       |    }
 2400|       |#else
 2401|     24|    assert(!_Py_isabs(relfile));
  ------------------
  |  Branch (2401:5): [True: 24, False: 0]
  ------------------
 2402|     24|    size_t dirlen = wcslen(dirname);
 2403|     24|    size_t rellen = wcslen(relfile);
 2404|     24|    size_t maxlen = bufsize - 1;
 2405|     24|    if (maxlen > MAXPATHLEN || dirlen >= maxlen || rellen >= maxlen - dirlen) {
  ------------------
  |  |   43|     48|#    define MAXPATHLEN PATH_MAX
  ------------------
  |  Branch (2405:9): [True: 0, False: 24]
  |  Branch (2405:32): [True: 0, False: 24]
  |  Branch (2405:52): [True: 0, False: 24]
  ------------------
 2406|      0|        return -1;
 2407|      0|    }
 2408|     24|    if (dirlen == 0) {
  ------------------
  |  Branch (2408:9): [True: 0, False: 24]
  ------------------
 2409|       |        // We do not add a leading separator.
 2410|      0|        wcscpy(buffer, relfile);
 2411|      0|    }
 2412|     24|    else {
 2413|     24|        if (dirname != buffer) {
  ------------------
  |  Branch (2413:13): [True: 0, False: 24]
  ------------------
 2414|      0|            wcscpy(buffer, dirname);
 2415|      0|        }
 2416|     24|        size_t relstart = dirlen;
 2417|     24|        if (dirlen > 1 && dirname[dirlen - 1] != SEP) {
  ------------------
  |  |   29|     24|#  define SEP L'/'
  ------------------
  |  Branch (2417:13): [True: 24, False: 0]
  |  Branch (2417:27): [True: 24, False: 0]
  ------------------
 2418|     24|            buffer[dirlen] = SEP;
  ------------------
  |  |   29|     24|#  define SEP L'/'
  ------------------
 2419|     24|            relstart += 1;
 2420|     24|        }
 2421|     24|        wcscpy(&buffer[relstart], relfile);
 2422|     24|    }
 2423|     24|#endif
 2424|     24|    return 0;
 2425|     24|}

_PyCfgBuilder_New:
  438|  52.7k|{
  439|  52.7k|    cfg_builder *g = PyMem_Malloc(sizeof(cfg_builder));
  440|  52.7k|    if (g == NULL) {
  ------------------
  |  Branch (440:9): [True: 0, False: 52.7k]
  ------------------
  441|      0|        PyErr_NoMemory();
  442|      0|        return NULL;
  443|      0|    }
  444|  52.7k|    memset(g, 0, sizeof(cfg_builder));
  445|  52.7k|    if (init_cfg_builder(g) < 0) {
  ------------------
  |  Branch (445:9): [True: 0, False: 52.7k]
  ------------------
  446|      0|        PyMem_Free(g);
  447|      0|        return NULL;
  448|      0|    }
  449|  52.7k|    return g;
  450|  52.7k|}
_PyCfgBuilder_Free:
  454|  52.7k|{
  455|  52.7k|    if (g == NULL) {
  ------------------
  |  Branch (455:9): [True: 0, False: 52.7k]
  ------------------
  456|      0|        return;
  457|      0|    }
  458|  52.7k|    assert(cfg_builder_check(g));
  ------------------
  |  Branch (458:5): [True: 52.7k, False: 0]
  ------------------
  459|  52.7k|    basicblock *b = g->g_block_list;
  460|   547k|    while (b != NULL) {
  ------------------
  |  Branch (460:12): [True: 494k, False: 52.7k]
  ------------------
  461|   494k|        if (b->b_instr) {
  ------------------
  |  Branch (461:13): [True: 494k, False: 0]
  ------------------
  462|   494k|            PyMem_Free((void *)b->b_instr);
  463|   494k|        }
  464|   494k|        basicblock *next = b->b_list;
  465|   494k|        PyMem_Free((void *)b);
  466|   494k|        b = next;
  467|   494k|    }
  468|  52.7k|    PyMem_Free(g);
  469|  52.7k|}
_PyCfgBuilder_CheckSize:
  473|  52.7k|{
  474|  52.7k|    int nblocks = 0;
  475|   525k|    for (basicblock *b = g->g_block_list; b != NULL; b = b->b_list) {
  ------------------
  |  Branch (475:43): [True: 472k, False: 52.7k]
  ------------------
  476|   472k|        nblocks++;
  477|   472k|    }
  478|  52.7k|    if ((size_t)nblocks > SIZE_MAX / sizeof(basicblock *)) {
  ------------------
  |  Branch (478:9): [True: 0, False: 52.7k]
  ------------------
  479|      0|        PyErr_NoMemory();
  480|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  481|      0|    }
  482|  52.7k|    return SUCCESS;
  ------------------
  |  |   21|  52.7k|#define SUCCESS 0
  ------------------
  483|  52.7k|}
_PyCfgBuilder_UseLabel:
  487|   239k|{
  488|   239k|    g->g_current_label = lbl;
  489|   239k|    return cfg_builder_maybe_start_new_block(g);
  490|   239k|}
_PyCfgBuilder_Addop:
  494|  5.04M|{
  495|  5.04M|    RETURN_IF_ERROR(cfg_builder_maybe_start_new_block(g));
  ------------------
  |  |   25|  5.04M|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 5.04M]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  496|  5.04M|    return basicblock_addop(g->g_curblock, opcode, oparg, loc);
  497|  5.04M|}
_PyCfg_OptimizeCodeUnit:
 3762|  52.7k|{
 3763|  52.7k|    assert(cfg_builder_check(g));
  ------------------
  |  Branch (3763:5): [True: 52.7k, False: 0]
  ------------------
 3764|  52.7k|    assert(g->g_entryblock->b_iused > 0);
  ------------------
  |  Branch (3764:5): [True: 52.7k, False: 0]
  ------------------
 3765|       |    /** Preprocessing **/
 3766|       |    /* Map labels to targets and mark exception handlers */
 3767|  52.7k|    RETURN_IF_ERROR(translate_jump_labels_to_targets(g->g_entryblock));
  ------------------
  |  |   25|  52.7k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3768|  52.7k|    RETURN_IF_ERROR(mark_except_handlers(g->g_entryblock));
  ------------------
  |  |   25|  52.7k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3769|  52.7k|    RETURN_IF_ERROR(label_exception_targets(g->g_entryblock));
  ------------------
  |  |   25|  52.7k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3770|       |
 3771|       |    /** Optimization **/
 3772|       |
 3773|  52.7k|    _Py_hashtable_t *consts_index = _Py_hashtable_new(
 3774|  52.7k|        _Py_hashtable_hash_ptr, _Py_hashtable_compare_direct);
 3775|  52.7k|    if (consts_index == NULL) {
  ------------------
  |  Branch (3775:9): [True: 0, False: 52.7k]
  ------------------
 3776|      0|        PyErr_NoMemory();
 3777|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3778|      0|    }
 3779|       |
 3780|   330k|    for (Py_ssize_t i = 0; i < PyList_GET_SIZE(consts); i++) {
  ------------------
  |  |   38|   330k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   330k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   330k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3780:28): [True: 277k, False: 52.7k]
  ------------------
 3781|   277k|        PyObject *item = PyList_GET_ITEM(consts, i);
  ------------------
  |  |   40|   277k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|   277k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   277k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3781:26): [True: 277k, False: 0]
  ------------------
 3782|   277k|        if (_Py_hashtable_get_entry(consts_index, (void *)item) != NULL) {
  ------------------
  |  Branch (3782:13): [True: 0, False: 277k]
  ------------------
 3783|      0|            continue;
 3784|      0|        }
 3785|   277k|        if (_Py_hashtable_set(consts_index, (void *)item,
  ------------------
  |  Branch (3785:13): [True: 0, False: 277k]
  ------------------
 3786|   277k|                              (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|   277k|    }
 3792|       |
 3793|  52.7k|    int ret = optimize_cfg(g, consts, const_cache, consts_index, firstlineno);
 3794|       |
 3795|  52.7k|    _Py_hashtable_destroy(consts_index);
 3796|       |
 3797|  52.7k|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   25|  52.7k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3798|       |
 3799|  52.7k|    RETURN_IF_ERROR(remove_unused_consts(g->g_entryblock, consts));
  ------------------
  |  |   25|  52.7k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3800|  52.7k|    RETURN_IF_ERROR(
  ------------------
  |  |   25|  52.7k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3801|  52.7k|        add_checks_for_loads_of_uninitialized_variables(
 3802|  52.7k|            g->g_entryblock, nlocals, nparams));
 3803|  52.7k|    RETURN_IF_ERROR(insert_superinstructions(g));
  ------------------
  |  |   25|  52.7k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3804|       |
 3805|  52.7k|    RETURN_IF_ERROR(push_cold_blocks_to_end(g));
  ------------------
  |  |   25|  52.7k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3806|  52.7k|    RETURN_IF_ERROR(resolve_line_numbers(g, firstlineno));
  ------------------
  |  |   25|  52.7k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   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|  52.7k|    return SUCCESS;
  ------------------
  |  |   21|  52.7k|#define SUCCESS 0
  ------------------
 3810|  52.7k|}
_PyCfg_FromInstructionSequence:
 4000|  52.7k|{
 4001|  52.7k|    if (_PyInstructionSequence_ApplyLabelMap(seq) < 0) {
  ------------------
  |  Branch (4001:9): [True: 0, False: 52.7k]
  ------------------
 4002|      0|        return NULL;
 4003|      0|    }
 4004|  52.7k|    cfg_builder *g = _PyCfgBuilder_New();
 4005|  52.7k|    if (g == NULL) {
  ------------------
  |  Branch (4005:9): [True: 0, False: 52.7k]
  ------------------
 4006|      0|        return NULL;
 4007|      0|    }
 4008|  5.10M|    for (int i = 0; i < seq->s_used; i++) {
  ------------------
  |  Branch (4008:21): [True: 5.05M, False: 52.7k]
  ------------------
 4009|  5.05M|        seq->s_instrs[i].i_target = 0;
 4010|  5.05M|    }
 4011|  5.10M|    for (int i = 0; i < seq->s_used; i++) {
  ------------------
  |  Branch (4011:21): [True: 5.05M, False: 52.7k]
  ------------------
 4012|  5.05M|        _PyInstruction *instr = &seq->s_instrs[i];
 4013|  5.05M|        if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|  5.05M|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|  10.1M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|  5.05M|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 238k, False: 4.81M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  4.81M|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  9.62M|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 43.3k, False: 4.76M]
  |  |  |  |  ------------------
  |  |  |  |   19|  4.81M|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  9.58M|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 11.4k, False: 4.75M]
  |  |  |  |  ------------------
  |  |  |  |   20|  4.81M|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.75M|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 20.2k, False: 4.73M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4014|   313k|            assert(instr->i_oparg >= 0 && instr->i_oparg < seq->s_used);
  ------------------
  |  Branch (4014:13): [True: 313k, False: 0]
  |  Branch (4014:13): [True: 313k, False: 0]
  ------------------
 4015|   313k|            seq->s_instrs[instr->i_oparg].i_target = 1;
 4016|   313k|        }
 4017|  5.05M|    }
 4018|  52.7k|    int offset = 0;
 4019|  5.10M|    for (int i = 0; i < seq->s_used; i++) {
  ------------------
  |  Branch (4019:21): [True: 5.05M, False: 52.7k]
  ------------------
 4020|  5.05M|        _PyInstruction *instr = &seq->s_instrs[i];
 4021|  5.05M|        if (instr->i_opcode == ANNOTATIONS_PLACEHOLDER) {
  ------------------
  |  |  244|  5.05M|#define ANNOTATIONS_PLACEHOLDER                256
  ------------------
  |  Branch (4021:13): [True: 10.0k, False: 5.04M]
  ------------------
 4022|  10.0k|            if (seq->s_annotations_code != NULL) {
  ------------------
  |  Branch (4022:17): [True: 599, False: 9.46k]
  ------------------
 4023|    599|                assert(seq->s_annotations_code->s_labelmap_size == 0
  ------------------
  |  Branch (4023:17): [True: 599, False: 0]
  |  Branch (4023:17): [True: 599, False: 0]
  ------------------
 4024|    599|                    && seq->s_annotations_code->s_nested == NULL);
 4025|  2.39k|                for (int j = 0; j < seq->s_annotations_code->s_used; j++) {
  ------------------
  |  Branch (4025:33): [True: 1.79k, False: 599]
  ------------------
 4026|  1.79k|                    _PyInstruction *ann_instr = &seq->s_annotations_code->s_instrs[j];
 4027|  1.79k|                    assert(!HAS_TARGET(ann_instr->i_opcode));
  ------------------
  |  Branch (4027:21): [True: 0, False: 1.79k]
  |  Branch (4027:21): [True: 0, False: 1.79k]
  |  Branch (4027:21): [True: 0, False: 1.79k]
  |  Branch (4027:21): [True: 0, False: 1.79k]
  ------------------
 4028|  1.79k|                    if (_PyCfgBuilder_Addop(g, ann_instr->i_opcode, ann_instr->i_oparg, ann_instr->i_loc) < 0) {
  ------------------
  |  Branch (4028:25): [True: 0, False: 1.79k]
  ------------------
 4029|      0|                        goto error;
 4030|      0|                    }
 4031|  1.79k|                }
 4032|    599|                offset += seq->s_annotations_code->s_used - 1;
 4033|    599|            }
 4034|  9.46k|            else {
 4035|  9.46k|                offset -= 1;
 4036|  9.46k|            }
 4037|  10.0k|            continue;
 4038|  10.0k|        }
 4039|  5.04M|        if (instr->i_target) {
  ------------------
  |  Branch (4039:13): [True: 239k, False: 4.80M]
  ------------------
 4040|   239k|            jump_target_label lbl_ = {i + offset};
 4041|   239k|            if (_PyCfgBuilder_UseLabel(g, lbl_) < 0) {
  ------------------
  |  Branch (4041:17): [True: 0, False: 239k]
  ------------------
 4042|      0|                goto error;
 4043|      0|            }
 4044|   239k|        }
 4045|  5.04M|        int opcode = instr->i_opcode;
 4046|  5.04M|        int oparg = instr->i_oparg;
 4047|  5.04M|        if (HAS_TARGET(opcode)) {
  ------------------
  |  |   23|  5.04M|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|  10.0M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|  5.04M|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 238k, False: 4.80M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  4.80M|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  9.60M|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 43.3k, False: 4.75M]
  |  |  |  |  ------------------
  |  |  |  |   19|  4.80M|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  9.56M|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 11.4k, False: 4.74M]
  |  |  |  |  ------------------
  |  |  |  |   20|  4.80M|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.74M|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 20.2k, False: 4.72M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4048|   313k|            oparg += offset;
 4049|   313k|        }
 4050|  5.04M|        if (_PyCfgBuilder_Addop(g, opcode, oparg, instr->i_loc) < 0) {
  ------------------
  |  Branch (4050:13): [True: 0, False: 5.04M]
  ------------------
 4051|      0|            goto error;
 4052|      0|        }
 4053|  5.04M|    }
 4054|  52.7k|    if (_PyCfgBuilder_CheckSize(g) < 0) {
  ------------------
  |  Branch (4054:9): [True: 0, False: 52.7k]
  ------------------
 4055|      0|        goto error;
 4056|      0|    }
 4057|  52.7k|    return g;
 4058|      0|error:
 4059|      0|    _PyCfgBuilder_Free(g);
 4060|       |    return NULL;
 4061|  52.7k|}
_PyCfg_ToInstructionSequence:
 4065|  52.7k|{
 4066|  52.7k|    int lbl = 0;
 4067|   547k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (4067:43): [True: 494k, False: 52.7k]
  ------------------
 4068|   494k|        b->b_label = (jump_target_label){lbl};
 4069|   494k|        lbl += 1;
 4070|   494k|    }
 4071|   547k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (4071:43): [True: 494k, False: 52.7k]
  ------------------
 4072|   494k|        RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(seq, b->b_label.id));
  ------------------
  |  |   25|   494k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 494k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4073|  3.87M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (4073:25): [True: 3.38M, False: 494k]
  ------------------
 4074|  3.38M|            cfg_instr *instr = &b->b_instr[i];
 4075|  3.38M|            if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|  3.38M|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|  6.76M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|  3.38M|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 214k, False: 3.16M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  3.16M|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  6.33M|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 3.16M]
  |  |  |  |  ------------------
  |  |  |  |   19|  3.16M|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  6.33M|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 3.16M]
  |  |  |  |  ------------------
  |  |  |  |   20|  3.16M|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.16M|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 3.16M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4076|       |                /* Set oparg to the label id (it will later be mapped to an offset) */
 4077|   214k|                instr->i_oparg = instr->i_target->b_label.id;
 4078|   214k|            }
 4079|  3.38M|            RETURN_IF_ERROR(
  ------------------
  |  |   25|  3.38M|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 3.38M]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4080|  3.38M|                _PyInstructionSequence_Addop(
 4081|  3.38M|                    seq, instr->i_opcode, instr->i_oparg, instr->i_loc));
 4082|       |
 4083|  3.38M|            _PyExceptHandlerInfo *hi = &seq->s_instrs[seq->s_used-1].i_except_handler_info;
 4084|  3.38M|            if (instr->i_except != NULL) {
  ------------------
  |  Branch (4084:17): [True: 1.03M, False: 2.34M]
  ------------------
 4085|  1.03M|                hi->h_label = instr->i_except->b_label.id;
 4086|  1.03M|                hi->h_startdepth = instr->i_except->b_startdepth;
 4087|  1.03M|                hi->h_preserve_lasti = instr->i_except->b_preserve_lasti;
 4088|  1.03M|            }
 4089|  2.34M|            else {
 4090|  2.34M|                hi->h_label = -1;
 4091|  2.34M|            }
 4092|  3.38M|        }
 4093|   494k|    }
 4094|  52.7k|    if (_PyInstructionSequence_ApplyLabelMap(seq) < 0) {
  ------------------
  |  Branch (4094:9): [True: 0, False: 52.7k]
  ------------------
 4095|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4096|      0|    }
 4097|  52.7k|    return SUCCESS;
  ------------------
  |  |   21|  52.7k|#define SUCCESS 0
  ------------------
 4098|  52.7k|}
_PyCfg_OptimizedCfgToInstructionSequence:
 4106|  52.7k|{
 4107|  52.7k|    RETURN_IF_ERROR(convert_pseudo_conditional_jumps(g));
  ------------------
  |  |   25|  52.7k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4108|       |
 4109|  52.7k|    *stackdepth = calculate_stackdepth(g);
 4110|  52.7k|    if (*stackdepth < 0) {
  ------------------
  |  Branch (4110:9): [True: 0, False: 52.7k]
  ------------------
 4111|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4112|      0|    }
 4113|       |
 4114|  52.7k|    *nlocalsplus = prepare_localsplus(umd, g);
 4115|  52.7k|    if (*nlocalsplus < 0) {
  ------------------
  |  Branch (4115:9): [True: 0, False: 52.7k]
  ------------------
 4116|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4117|      0|    }
 4118|       |
 4119|  52.7k|    RETURN_IF_ERROR(convert_pseudo_ops(g));
  ------------------
  |  |   25|  52.7k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   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|  52.7k|    RETURN_IF_ERROR(normalize_jumps(g));
  ------------------
  |  |   25|  52.7k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4124|  52.7k|    assert(no_redundant_jumps(g));
  ------------------
  |  Branch (4124:5): [True: 52.7k, False: 0]
  ------------------
 4125|       |
 4126|       |    /* Can't modify the bytecode after inserting instructions that produce
 4127|       |     * borrowed references.
 4128|       |     */
 4129|  52.7k|    RETURN_IF_ERROR(optimize_load_fast(g));
  ------------------
  |  |   25|  52.7k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 4130|       |
 4131|       |    /* Can't modify the bytecode after computing jump offsets. */
 4132|  52.7k|    if (_PyCfg_ToInstructionSequence(g, seq) < 0) {
  ------------------
  |  Branch (4132:9): [True: 0, False: 52.7k]
  ------------------
 4133|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 4134|      0|    }
 4135|       |
 4136|  52.7k|    return SUCCESS;
  ------------------
  |  |   21|  52.7k|#define SUCCESS 0
  ------------------
 4137|  52.7k|}
PyCompile_OpcodeStackEffect:
 4164|  4.63k|{
 4165|  4.63k|    stack_effects effs;
 4166|  4.63k|    if (get_stack_effects(opcode, oparg, -1, &effs) < 0) {
  ------------------
  |  Branch (4166:9): [True: 0, False: 4.63k]
  ------------------
 4167|      0|        return PY_INVALID_STACK_EFFECT;
  ------------------
  |  |   48|      0|#define PY_INVALID_STACK_EFFECT INT_MAX
  ------------------
 4168|      0|    }
 4169|  4.63k|    return effs.net;
 4170|  4.63k|}
flowgraph.c:init_cfg_builder:
  425|  52.7k|{
  426|  52.7k|    g->g_block_list = NULL;
  427|  52.7k|    basicblock *block = cfg_builder_new_block(g);
  428|  52.7k|    if (block == NULL) {
  ------------------
  |  Branch (428:9): [True: 0, False: 52.7k]
  ------------------
  429|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  430|      0|    }
  431|  52.7k|    g->g_curblock = g->g_entryblock = block;
  432|  52.7k|    g->g_current_label = NO_LABEL;
  ------------------
  |  |   57|  52.7k|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  433|  52.7k|    return SUCCESS;
  ------------------
  |  |   21|  52.7k|#define SUCCESS 0
  ------------------
  434|  52.7k|}
flowgraph.c:cfg_builder_new_block:
  177|   494k|{
  178|   494k|    basicblock *b = (basicblock *)PyMem_Calloc(1, sizeof(basicblock));
  179|   494k|    if (b == NULL) {
  ------------------
  |  Branch (179:9): [True: 0, False: 494k]
  ------------------
  180|      0|        PyErr_NoMemory();
  181|      0|        return NULL;
  182|      0|    }
  183|       |    /* Extend the singly linked list of blocks with new block. */
  184|   494k|    b->b_list = g->g_block_list;
  185|   494k|    g->g_block_list = b;
  186|   494k|    b->b_label = NO_LABEL;
  ------------------
  |  |   57|   494k|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  187|   494k|    return b;
  188|   494k|}
flowgraph.c:cfg_builder_check:
  406|   105k|{
  407|  1.07M|    for (basicblock *block = g->g_block_list; block != NULL; block = block->b_list) {
  ------------------
  |  Branch (407:47): [True: 967k, False: 105k]
  ------------------
  408|   967k|        assert(!_PyMem_IsPtrFreed(block));
  ------------------
  |  Branch (408:9): [True: 967k, False: 0]
  ------------------
  409|   967k|        if (block->b_instr != NULL) {
  ------------------
  |  Branch (409:13): [True: 967k, False: 0]
  ------------------
  410|   967k|            assert(block->b_ialloc > 0);
  ------------------
  |  Branch (410:13): [True: 967k, False: 0]
  ------------------
  411|   967k|            assert(block->b_iused >= 0);
  ------------------
  |  Branch (411:13): [True: 967k, False: 0]
  ------------------
  412|   967k|            assert(block->b_ialloc >= block->b_iused);
  ------------------
  |  Branch (412:13): [True: 967k, False: 0]
  ------------------
  413|   967k|        }
  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|   967k|    }
  419|   105k|    return true;
  420|   105k|}
flowgraph.c:cfg_builder_maybe_start_new_block:
  390|  5.28M|{
  391|  5.28M|    if (cfg_builder_current_block_is_terminated(g)) {
  ------------------
  |  Branch (391:9): [True: 419k, False: 4.86M]
  ------------------
  392|   419k|        basicblock *b = cfg_builder_new_block(g);
  393|   419k|        if (b == NULL) {
  ------------------
  |  Branch (393:13): [True: 0, False: 419k]
  ------------------
  394|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  395|      0|        }
  396|   419k|        b->b_label = g->g_current_label;
  397|   419k|        g->g_current_label = NO_LABEL;
  ------------------
  |  |   57|   419k|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  398|   419k|        cfg_builder_use_next_block(g, b);
  399|   419k|    }
  400|  5.28M|    return SUCCESS;
  ------------------
  |  |   21|  5.28M|#define SUCCESS 0
  ------------------
  401|  5.28M|}
flowgraph.c:cfg_builder_current_block_is_terminated:
  370|  5.28M|{
  371|  5.28M|    cfg_instr *last = basicblock_last_instr(g->g_curblock);
  372|  5.28M|    if (last && IS_TERMINATOR_OPCODE(last->i_opcode)) {
  ------------------
  |  |   27|  4.98M|        (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|  9.97M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|  4.98M|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 238k, False: 4.75M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   53|  4.75M|        ((opcode) == RETURN_VALUE || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|  9.50M|#define RETURN_VALUE                            33
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (53:10): [True: 33.0k, False: 4.71M]
  |  |  |  |  ------------------
  |  |  |  |   54|  4.75M|         (opcode) == RAISE_VARARGS || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  113|  9.46M|#define RAISE_VARARGS                          100
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (54:10): [True: 14.7k, False: 4.70M]
  |  |  |  |  ------------------
  |  |  |  |   55|  4.75M|         (opcode) == RERAISE)
  |  |  |  |  ------------------
  |  |  |  |  |  |  114|  4.70M|#define RERAISE                                101
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:10): [True: 36.9k, False: 4.66M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (372:9): [True: 4.98M, False: 291k]
  ------------------
  373|   323k|        return true;
  374|   323k|    }
  375|  4.95M|    if (IS_LABEL(g->g_current_label)) {
  ------------------
  |  |   96|  4.95M|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   95|  4.95M|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (96:21): [True: 96.6k, False: 4.86M]
  |  |  ------------------
  ------------------
  376|  96.6k|        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: 96.6k, False: 0]
  ------------------
  377|  96.6k|            return true;
  378|  96.6k|        }
  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|  96.6k|    }
  385|  4.86M|    return false;
  386|  4.95M|}
flowgraph.c:basicblock_last_instr:
  162|  18.2M|basicblock_last_instr(const basicblock *b) {
  163|  18.2M|    assert(b->b_iused >= 0);
  ------------------
  |  Branch (163:5): [True: 18.2M, False: 0]
  ------------------
  164|  18.2M|    if (b->b_iused > 0) {
  ------------------
  |  Branch (164:9): [True: 17.0M, False: 1.18M]
  ------------------
  165|  17.0M|        assert(b->b_instr != NULL);
  ------------------
  |  Branch (165:9): [True: 17.0M, False: 0]
  ------------------
  166|  17.0M|        return &b->b_instr[b->b_iused - 1];
  167|  17.0M|    }
  168|  1.18M|    return NULL;
  169|  18.2M|}
flowgraph.c:cfg_builder_use_next_block:
  345|   419k|{
  346|   419k|    assert(block != NULL);
  ------------------
  |  Branch (346:5): [True: 419k, False: 0]
  ------------------
  347|   419k|    g->g_curblock->b_next = block;
  348|   419k|    g->g_curblock = block;
  349|   419k|    return block;
  350|   419k|}
flowgraph.c:basicblock_addop:
  192|  5.15M|{
  193|  5.15M|    assert(IS_WITHIN_OPCODE_RANGE(opcode));
  ------------------
  |  Branch (193:5): [True: 5.15M, False: 0]
  |  Branch (193:5): [True: 4.85M, False: 300k]
  |  Branch (193:5): [True: 18.4k, False: 281k]
  |  Branch (193:5): [True: 13.1k, False: 268k]
  |  Branch (193:5): [True: 0, False: 268k]
  |  Branch (193:5): [True: 18.5k, False: 249k]
  |  Branch (193:5): [True: 94.2k, False: 155k]
  |  Branch (193:5): [True: 4.01k, False: 151k]
  |  Branch (193:5): [True: 3.11k, False: 148k]
  |  Branch (193:5): [True: 43.3k, False: 105k]
  |  Branch (193:5): [True: 20.2k, False: 84.9k]
  |  Branch (193:5): [True: 11.4k, False: 73.5k]
  |  Branch (193:5): [True: 73.5k, False: 0]
  |  Branch (193:5): [Folded, False: 0]
  ------------------
  194|  5.15M|    assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (194:5): [True: 0, False: 5.15M]
  |  Branch (194:5): [True: 0, False: 5.15M]
  |  Branch (194:5): [True: 0, False: 5.15M]
  ------------------
  195|  5.15M|    assert(OPCODE_HAS_ARG(opcode) || HAS_TARGET(opcode) || oparg == 0);
  ------------------
  |  Branch (195:5): [True: 0, False: 1.06M]
  |  Branch (195:5): [True: 0, False: 1.06M]
  |  Branch (195:5): [True: 0, False: 1.06M]
  |  Branch (195:5): [True: 0, False: 1.06M]
  |  Branch (195:5): [True: 4.08M, False: 1.06M]
  |  Branch (195:5): [True: 1.06M, False: 0]
  ------------------
  196|  5.15M|    assert(0 <= oparg && oparg < (1 << 30));
  ------------------
  |  Branch (196:5): [True: 5.15M, False: 0]
  |  Branch (196:5): [True: 5.15M, False: 0]
  ------------------
  197|       |
  198|  5.15M|    int off = basicblock_next_instr(b);
  199|  5.15M|    if (off < 0) {
  ------------------
  |  Branch (199:9): [True: 0, False: 5.15M]
  ------------------
  200|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  201|      0|    }
  202|  5.15M|    cfg_instr *i = &b->b_instr[off];
  203|  5.15M|    i->i_opcode = opcode;
  204|  5.15M|    i->i_oparg = oparg;
  205|  5.15M|    i->i_loc = loc;
  206|       |    // memory is already zero initialized
  207|  5.15M|    assert(i->i_target == NULL);
  ------------------
  |  Branch (207:5): [True: 5.15M, False: 0]
  ------------------
  208|  5.15M|    assert(i->i_except == NULL);
  ------------------
  |  Branch (208:5): [True: 5.15M, False: 0]
  ------------------
  209|       |
  210|  5.15M|    return SUCCESS;
  ------------------
  |  |   21|  5.15M|#define SUCCESS 0
  ------------------
  211|  5.15M|}
flowgraph.c:basicblock_next_instr:
  146|  5.21M|{
  147|  5.21M|    assert(b != NULL);
  ------------------
  |  Branch (147:5): [True: 5.21M, False: 0]
  ------------------
  148|  5.21M|    _Py_c_array_t array = {
  149|  5.21M|        .array = (void*)b->b_instr,
  150|  5.21M|        .allocated_entries = b->b_ialloc,
  151|  5.21M|        .item_size = sizeof(cfg_instr),
  152|  5.21M|        .initial_num_entries = DEFAULT_BLOCK_SIZE,
  ------------------
  |  |   29|  5.21M|#define DEFAULT_BLOCK_SIZE 16
  ------------------
  153|  5.21M|    };
  154|       |
  155|  5.21M|    RETURN_IF_ERROR(_Py_CArray_EnsureCapacity(&array, b->b_iused + 1));
  ------------------
  |  |   25|  5.21M|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 5.21M]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  156|  5.21M|    b->b_instr = array.array;
  157|  5.21M|    b->b_ialloc = array.allocated_entries;
  158|  5.21M|    return b->b_iused++;
  159|  5.21M|}
flowgraph.c:translate_jump_labels_to_targets:
  647|  52.7k|{
  648|  52.7k|    int max_label = get_max_label(entryblock);
  649|  52.7k|    size_t mapsize = sizeof(basicblock *) * (max_label + 1);
  650|  52.7k|    basicblock **label2block = (basicblock **)PyMem_Malloc(mapsize);
  651|  52.7k|    if (!label2block) {
  ------------------
  |  Branch (651:9): [True: 0, False: 52.7k]
  ------------------
  652|      0|        PyErr_NoMemory();
  653|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  654|      0|    }
  655|  52.7k|    memset(label2block, 0, mapsize);
  656|   525k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (656:38): [True: 472k, False: 52.7k]
  ------------------
  657|   472k|        if (b->b_label.id >= 0) {
  ------------------
  |  Branch (657:13): [True: 239k, False: 233k]
  ------------------
  658|   239k|            label2block[b->b_label.id] = b;
  659|   239k|        }
  660|   472k|    }
  661|   525k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (661:38): [True: 472k, False: 52.7k]
  ------------------
  662|  5.51M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (662:25): [True: 5.04M, False: 472k]
  ------------------
  663|  5.04M|            cfg_instr *instr = &b->b_instr[i];
  664|  5.04M|            assert(instr->i_target == NULL);
  ------------------
  |  Branch (664:13): [True: 5.04M, False: 0]
  ------------------
  665|  5.04M|            if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|  5.04M|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|  10.0M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|  5.04M|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 238k, False: 4.80M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  4.80M|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  9.60M|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 43.3k, False: 4.76M]
  |  |  |  |  ------------------
  |  |  |  |   19|  4.80M|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  9.56M|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 11.4k, False: 4.74M]
  |  |  |  |  ------------------
  |  |  |  |   20|  4.80M|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.74M|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 20.2k, False: 4.72M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  666|   313k|                int lbl = instr->i_oparg;
  667|   313k|                assert(lbl >= 0 && lbl <= max_label);
  ------------------
  |  Branch (667:17): [True: 313k, False: 0]
  |  Branch (667:17): [True: 313k, False: 0]
  ------------------
  668|   313k|                instr->i_target = label2block[lbl];
  669|   313k|                assert(instr->i_target != NULL);
  ------------------
  |  Branch (669:17): [True: 313k, False: 0]
  ------------------
  670|   313k|                assert(instr->i_target->b_label.id == lbl);
  ------------------
  |  Branch (670:17): [True: 313k, False: 0]
  ------------------
  671|   313k|            }
  672|  5.04M|        }
  673|   472k|    }
  674|  52.7k|    PyMem_Free(label2block);
  675|  52.7k|    return SUCCESS;
  ------------------
  |  |   21|  52.7k|#define SUCCESS 0
  ------------------
  676|  52.7k|}
flowgraph.c:get_max_label:
  634|   194k|{
  635|   194k|    int lbl = -1;
  636|  2.09M|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (636:38): [True: 1.89M, False: 194k]
  ------------------
  637|  1.89M|        if (b->b_label.id > lbl) {
  ------------------
  |  Branch (637:13): [True: 822k, False: 1.07M]
  ------------------
  638|   822k|            lbl = b->b_label.id;
  639|   822k|        }
  640|  1.89M|    }
  641|   194k|    return lbl;
  642|   194k|}
flowgraph.c:mark_except_handlers:
  679|  52.7k|mark_except_handlers(basicblock *entryblock) {
  680|  52.7k|#ifndef NDEBUG
  681|   525k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (681:38): [True: 472k, False: 52.7k]
  ------------------
  682|   472k|        assert(!b->b_except_handler);
  ------------------
  |  Branch (682:9): [True: 472k, False: 0]
  ------------------
  683|   472k|    }
  684|  52.7k|#endif
  685|   525k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (685:38): [True: 472k, False: 52.7k]
  ------------------
  686|  5.51M|        for (int i=0; i < b->b_iused; i++) {
  ------------------
  |  Branch (686:23): [True: 5.04M, False: 472k]
  ------------------
  687|  5.04M|            cfg_instr *instr = &b->b_instr[i];
  688|  5.04M|            if (is_block_push(instr)) {
  ------------------
  |  Branch (688:17): [True: 75.1k, False: 4.96M]
  ------------------
  689|  75.1k|                instr->i_target->b_except_handler = 1;
  690|  75.1k|            }
  691|  5.04M|        }
  692|   472k|    }
  693|  52.7k|    return SUCCESS;
  ------------------
  |  |   21|  52.7k|#define SUCCESS 0
  ------------------
  694|  52.7k|}
flowgraph.c:is_block_push:
  103|  21.3M|{
  104|  21.3M|    assert(OPCODE_HAS_ARG(i->i_opcode) || !IS_BLOCK_PUSH_OPCODE(i->i_opcode));
  ------------------
  |  Branch (104:5): [True: 0, False: 4.21M]
  |  Branch (104:5): [True: 0, False: 4.21M]
  |  Branch (104:5): [True: 0, False: 4.21M]
  |  Branch (104:5): [True: 17.1M, False: 4.21M]
  ------------------
  105|  21.3M|    return IS_BLOCK_PUSH_OPCODE(i->i_opcode);
  ------------------
  |  |   18|  21.3M|        ((opcode) == SETUP_FINALLY || \
  |  |  ------------------
  |  |  |  |  252|  42.6M|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 259k, False: 21.0M]
  |  |  ------------------
  |  |   19|  21.3M|         (opcode) == SETUP_WITH || \
  |  |  ------------------
  |  |  |  |  253|  42.4M|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (19:10): [True: 68.5k, False: 21.0M]
  |  |  ------------------
  |  |   20|  21.3M|         (opcode) == SETUP_CLEANUP)
  |  |  ------------------
  |  |  |  |  251|  21.0M|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (20:10): [True: 121k, False: 20.8M]
  |  |  ------------------
  ------------------
  106|  21.3M|}
flowgraph.c:label_exception_targets:
  897|  52.7k|label_exception_targets(basicblock *entryblock) {
  898|  52.7k|    basicblock **todo_stack = make_cfg_traversal_stack(entryblock);
  899|  52.7k|    if (todo_stack == NULL) {
  ------------------
  |  Branch (899:9): [True: 0, False: 52.7k]
  ------------------
  900|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  901|      0|    }
  902|  52.7k|    struct _PyCfgExceptStack *except_stack = make_except_stack();
  903|  52.7k|    if (except_stack == NULL) {
  ------------------
  |  Branch (903:9): [True: 0, False: 52.7k]
  ------------------
  904|      0|        PyMem_Free(todo_stack);
  905|      0|        PyErr_NoMemory();
  906|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  907|      0|    }
  908|  52.7k|    except_stack->depth = 0;
  909|  52.7k|    todo_stack[0] = entryblock;
  910|  52.7k|    entryblock->b_visited = 1;
  911|  52.7k|    entryblock->b_exceptstack = except_stack;
  912|  52.7k|    basicblock **todo = &todo_stack[1];
  913|  52.7k|    basicblock *handler = NULL;
  914|   489k|    while (todo > todo_stack) {
  ------------------
  |  Branch (914:12): [True: 437k, False: 52.7k]
  ------------------
  915|   437k|        todo--;
  916|   437k|        basicblock *b = todo[0];
  917|   437k|        assert(b->b_visited == 1);
  ------------------
  |  Branch (917:9): [True: 437k, False: 0]
  ------------------
  918|   437k|        except_stack = b->b_exceptstack;
  919|   437k|        assert(except_stack != NULL);
  ------------------
  |  Branch (919:9): [True: 437k, False: 0]
  ------------------
  920|   437k|        b->b_exceptstack = NULL;
  921|   437k|        handler = except_stack_top(except_stack);
  922|   437k|        int last_yield_except_depth = -1;
  923|  5.40M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (923:25): [True: 4.96M, False: 437k]
  ------------------
  924|  4.96M|            cfg_instr *instr = &b->b_instr[i];
  925|  4.96M|            if (is_block_push(instr)) {
  ------------------
  |  Branch (925:17): [True: 74.9k, False: 4.89M]
  ------------------
  926|  74.9k|                if (!instr->i_target->b_visited) {
  ------------------
  |  Branch (926:21): [True: 74.9k, False: 0]
  ------------------
  927|  74.9k|                    struct _PyCfgExceptStack *copy = copy_except_stack(except_stack);
  928|  74.9k|                    if (copy == NULL) {
  ------------------
  |  Branch (928:25): [True: 0, False: 74.9k]
  ------------------
  929|      0|                        goto error;
  930|      0|                    }
  931|  74.9k|                    instr->i_target->b_exceptstack = copy;
  932|  74.9k|                    todo[0] = instr->i_target;
  933|  74.9k|                    instr->i_target->b_visited = 1;
  934|  74.9k|                    todo++;
  935|  74.9k|                }
  936|  74.9k|                handler = push_except_block(except_stack, instr);
  937|  74.9k|            }
  938|  4.89M|            else if (instr->i_opcode == POP_BLOCK) {
  ------------------
  |  |  250|  4.89M|#define POP_BLOCK                              262
  ------------------
  |  Branch (938:22): [True: 73.1k, False: 4.81M]
  ------------------
  939|  73.1k|                handler = pop_except_block(except_stack);
  940|  73.1k|                INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  125|  73.1k|    do { \
  |  |  126|  73.1k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  73.1k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  73.1k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  73.1k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  73.1k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 73.1k]
  |  |  ------------------
  ------------------
  |  Branch (940:17): [True: 73.1k, False: 0]
  ------------------
  941|  73.1k|            }
  942|  4.81M|            else if (is_jump(instr)) {
  ------------------
  |  Branch (942:22): [True: 237k, False: 4.58M]
  ------------------
  943|   237k|                instr->i_except = handler;
  944|   237k|                assert(i == b->b_iused -1);
  ------------------
  |  Branch (944:17): [True: 237k, False: 0]
  ------------------
  945|   237k|                if (!instr->i_target->b_visited) {
  ------------------
  |  Branch (945:21): [True: 122k, False: 115k]
  ------------------
  946|   122k|                    if (BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  251|   122k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 90.0k, False: 32.6k]
  |  |  ------------------
  ------------------
  947|  90.0k|                        struct _PyCfgExceptStack *copy = copy_except_stack(except_stack);
  948|  90.0k|                        if (copy == NULL) {
  ------------------
  |  Branch (948:29): [True: 0, False: 90.0k]
  ------------------
  949|      0|                            goto error;
  950|      0|                        }
  951|  90.0k|                        instr->i_target->b_exceptstack = copy;
  952|  90.0k|                    }
  953|  32.6k|                    else {
  954|  32.6k|                        instr->i_target->b_exceptstack = except_stack;
  955|  32.6k|                        except_stack = NULL;
  956|  32.6k|                    }
  957|   122k|                    todo[0] = instr->i_target;
  958|   122k|                    instr->i_target->b_visited = 1;
  959|   122k|                    todo++;
  960|   122k|                }
  961|   237k|            }
  962|  4.58M|            else if (instr->i_opcode == YIELD_VALUE) {
  ------------------
  |  |  129|  4.58M|#define YIELD_VALUE                            116
  ------------------
  |  Branch (962:22): [True: 35.7k, False: 4.54M]
  ------------------
  963|  35.7k|                instr->i_except = handler;
  964|  35.7k|                last_yield_except_depth = except_stack->depth;
  965|  35.7k|            }
  966|  4.54M|            else if (instr->i_opcode == RESUME) {
  ------------------
  |  |  130|  4.54M|#define RESUME                                 128
  ------------------
  |  Branch (966:22): [True: 88.9k, False: 4.45M]
  ------------------
  967|  88.9k|                instr->i_except = handler;
  968|  88.9k|                if (instr->i_oparg != RESUME_AT_FUNC_START && instr->i_oparg != RESUME_AT_GEN_EXPR_START) {
  ------------------
  |  |   88|   177k|#define RESUME_AT_FUNC_START 0
  ------------------
                              if (instr->i_oparg != RESUME_AT_FUNC_START && instr->i_oparg != RESUME_AT_GEN_EXPR_START) {
  ------------------
  |  |   92|  36.1k|#define RESUME_AT_GEN_EXPR_START 4
  ------------------
  |  Branch (968:21): [True: 36.1k, False: 52.7k]
  |  Branch (968:63): [True: 35.7k, False: 352]
  ------------------
  969|  35.7k|                    assert(last_yield_except_depth >= 0);
  ------------------
  |  Branch (969:21): [True: 35.7k, False: 0]
  ------------------
  970|  35.7k|                    if (last_yield_except_depth == 1) {
  ------------------
  |  Branch (970:25): [True: 810, False: 34.9k]
  ------------------
  971|    810|                        instr->i_oparg |= RESUME_OPARG_DEPTH1_MASK;
  ------------------
  |  |   95|    810|#define RESUME_OPARG_DEPTH1_MASK 0x8
  ------------------
  972|    810|                    }
  973|  35.7k|                    last_yield_except_depth = -1;
  974|  35.7k|                }
  975|  88.9k|            }
  976|  4.45M|            else if (instr->i_opcode == RETURN_GENERATOR) {
  ------------------
  |  |   45|  4.45M|#define RETURN_GENERATOR                        32
  ------------------
  |  Branch (976:22): [True: 2.96k, False: 4.45M]
  ------------------
  977|  2.96k|                instr->i_except = NULL;
  978|  2.96k|            }
  979|  4.45M|            else {
  980|  4.45M|                instr->i_except = handler;
  981|  4.45M|            }
  982|  4.96M|        }
  983|   437k|        if (BB_HAS_FALLTHROUGH(b) && !b->b_next->b_visited) {
  ------------------
  |  |  251|   874k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 242k, False: 195k]
  |  |  ------------------
  ------------------
  |  Branch (983:38): [True: 186k, False: 55.3k]
  ------------------
  984|   186k|            assert(except_stack != NULL);
  ------------------
  |  Branch (984:13): [True: 186k, False: 0]
  ------------------
  985|   186k|            b->b_next->b_exceptstack = except_stack;
  986|   186k|            todo[0] = b->b_next;
  987|   186k|            b->b_next->b_visited = 1;
  988|   186k|            todo++;
  989|   186k|        }
  990|   250k|        else if (except_stack != NULL) {
  ------------------
  |  Branch (990:18): [True: 217k, False: 32.6k]
  ------------------
  991|   217k|           PyMem_Free(except_stack);
  992|   217k|        }
  993|   437k|    }
  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|  52.7k|    PyMem_Free(todo_stack);
 1000|  52.7k|    return SUCCESS;
  ------------------
  |  |   21|  52.7k|#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|  52.7k|}
flowgraph.c:make_cfg_traversal_stack:
  751|   361k|make_cfg_traversal_stack(basicblock *entryblock) {
  752|   361k|    int nblocks = 0;
  753|  3.98M|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (753:38): [True: 3.61M, False: 361k]
  ------------------
  754|  3.61M|        b->b_visited = 0;
  755|  3.61M|        nblocks++;
  756|  3.61M|    }
  757|   361k|    basicblock **stack = (basicblock **)PyMem_Malloc(sizeof(basicblock *) * nblocks);
  758|   361k|    if (!stack) {
  ------------------
  |  Branch (758:9): [True: 0, False: 361k]
  ------------------
  759|      0|        PyErr_NoMemory();
  760|      0|    }
  761|   361k|    return stack;
  762|   361k|}
flowgraph.c:make_except_stack:
  728|  52.7k|make_except_stack(void) {
  729|  52.7k|    struct _PyCfgExceptStack *new = PyMem_Malloc(sizeof(struct _PyCfgExceptStack));
  730|  52.7k|    if (new == NULL) {
  ------------------
  |  Branch (730:9): [True: 0, False: 52.7k]
  ------------------
  731|      0|        PyErr_NoMemory();
  732|      0|        return NULL;
  733|      0|    }
  734|  52.7k|    new->depth = 0;
  735|       |    new->handlers[0] = NULL;
  736|  52.7k|    return new;
  737|  52.7k|}
flowgraph.c:except_stack_top:
  723|   437k|except_stack_top(struct _PyCfgExceptStack *stack) {
  724|   437k|    return stack->handlers[stack->depth];
  725|   437k|}
flowgraph.c:copy_except_stack:
  740|   164k|copy_except_stack(struct _PyCfgExceptStack *stack) {
  741|   164k|    struct _PyCfgExceptStack *copy = PyMem_Malloc(sizeof(struct _PyCfgExceptStack));
  742|   164k|    if (copy == NULL) {
  ------------------
  |  Branch (742:9): [True: 0, False: 164k]
  ------------------
  743|      0|        PyErr_NoMemory();
  744|      0|        return NULL;
  745|      0|    }
  746|   164k|    memcpy(copy, stack, sizeof(struct _PyCfgExceptStack));
  747|   164k|    return copy;
  748|   164k|}
flowgraph.c:push_except_block:
  704|  74.9k|push_except_block(struct _PyCfgExceptStack *stack, cfg_instr *setup) {
  705|  74.9k|    assert(is_block_push(setup));
  ------------------
  |  Branch (705:5): [True: 74.9k, False: 0]
  ------------------
  706|  74.9k|    int opcode = setup->i_opcode;
  707|  74.9k|    basicblock * target = setup->i_target;
  708|  74.9k|    if (opcode == SETUP_WITH || opcode == SETUP_CLEANUP) {
  ------------------
  |  |  253|   149k|#define SETUP_WITH                             265
  ------------------
                  if (opcode == SETUP_WITH || opcode == SETUP_CLEANUP) {
  ------------------
  |  |  251|  63.4k|#define SETUP_CLEANUP                          263
  ------------------
  |  Branch (708:9): [True: 11.4k, False: 63.4k]
  |  Branch (708:33): [True: 20.2k, False: 43.2k]
  ------------------
  709|  31.6k|        target->b_preserve_lasti = 1;
  710|  31.6k|    }
  711|  74.9k|    assert(stack->depth <= CO_MAXBLOCKS);
  ------------------
  |  Branch (711:5): [True: 74.9k, False: 0]
  ------------------
  712|  74.9k|    stack->handlers[++stack->depth] = target;
  713|  74.9k|    return target;
  714|  74.9k|}
flowgraph.c:pop_except_block:
  717|  73.1k|pop_except_block(struct _PyCfgExceptStack *stack) {
  718|  73.1k|    assert(stack->depth > 0);
  ------------------
  |  Branch (718:5): [True: 73.1k, False: 0]
  ------------------
  719|  73.1k|    return stack->handlers[--stack->depth];
  720|  73.1k|}
flowgraph.c:is_jump:
  110|  18.4M|{
  111|  18.4M|    return OPCODE_HAS_JUMP(i->i_opcode);
  ------------------
  |  | 1065|  18.4M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  ------------------
  |  |  |  | 1046|  18.4M|#define HAS_JUMP_FLAG (8)
  |  |  ------------------
  ------------------
  112|  18.4M|}
flowgraph.c:basicblock_nofallthrough:
  243|  4.98M|basicblock_nofallthrough(const basicblock *b) {
  244|  4.98M|    cfg_instr *last = basicblock_last_instr(b);
  245|  4.98M|    return (last &&
  ------------------
  |  Branch (245:13): [True: 4.78M, False: 202k]
  ------------------
  246|  4.78M|            (IS_SCOPE_EXIT_OPCODE(last->i_opcode) ||
  ------------------
  |  |   53|  9.56M|        ((opcode) == RETURN_VALUE || \
  |  |  ------------------
  |  |  |  |   46|  9.56M|#define RETURN_VALUE                            33
  |  |  ------------------
  |  |  |  Branch (53:10): [True: 537k, False: 4.24M]
  |  |  ------------------
  |  |   54|  4.78M|         (opcode) == RAISE_VARARGS || \
  |  |  ------------------
  |  |  |  |  113|  9.02M|#define RAISE_VARARGS                          100
  |  |  ------------------
  |  |  |  Branch (54:10): [True: 162k, False: 4.08M]
  |  |  ------------------
  |  |   55|  9.56M|         (opcode) == RERAISE)
  |  |  ------------------
  |  |  |  |  114|  4.08M|#define RERAISE                                101
  |  |  ------------------
  |  |  |  Branch (55:10): [True: 417k, False: 3.66M]
  |  |  ------------------
  ------------------
  247|  3.66M|             IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)));
  ------------------
  |  |   40|  3.66M|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|  7.32M|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 159k, False: 3.50M]
  |  |  ------------------
  |  |   41|  3.66M|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|  7.16M|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 726k, False: 2.77M]
  |  |  ------------------
  |  |   42|  3.66M|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|  6.44M|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 2.77M]
  |  |  ------------------
  |  |   43|  3.66M|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|  6.44M|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 2.77M]
  |  |  ------------------
  |  |   44|  3.66M|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|  2.77M|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 2.77M]
  |  |  ------------------
  ------------------
  248|  4.98M|}
flowgraph.c:optimize_cfg:
 2641|  52.7k|{
 2642|  52.7k|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (2642:5): [True: 52.7k, False: 0]
  ------------------
 2643|  52.7k|    RETURN_IF_ERROR(check_cfg(g));
  ------------------
  |  |   25|  52.7k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2644|  52.7k|    RETURN_IF_ERROR(inline_small_or_no_lineno_blocks(g->g_entryblock));
  ------------------
  |  |   25|  52.7k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2645|  52.7k|    RETURN_IF_ERROR(remove_unreachable(g->g_entryblock));
  ------------------
  |  |   25|  52.7k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2646|  52.7k|    RETURN_IF_ERROR(resolve_line_numbers(g, firstlineno));
  ------------------
  |  |   25|  52.7k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2647|  52.7k|    RETURN_IF_ERROR(optimize_load_const(const_cache, g, consts, consts_index));
  ------------------
  |  |   25|  52.7k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2648|   527k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2648:43): [True: 474k, False: 52.7k]
  ------------------
 2649|   474k|        RETURN_IF_ERROR(optimize_basic_block(const_cache, b, consts, consts_index));
  ------------------
  |  |   25|   474k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 474k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2650|   474k|    }
 2651|  52.7k|    RETURN_IF_ERROR(remove_redundant_nops_and_pairs(g->g_entryblock));
  ------------------
  |  |   25|  52.7k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2652|  52.7k|    RETURN_IF_ERROR(remove_unreachable(g->g_entryblock));
  ------------------
  |  |   25|  52.7k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2653|  52.7k|    RETURN_IF_ERROR(remove_redundant_nops_and_jumps(g));
  ------------------
  |  |   25|  52.7k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2654|  52.7k|    assert(no_redundant_jumps(g));
  ------------------
  |  Branch (2654:5): [True: 52.7k, False: 0]
  ------------------
 2655|  52.7k|    return SUCCESS;
  ------------------
  |  |   21|  52.7k|#define SUCCESS 0
  ------------------
 2656|  52.7k|}
flowgraph.c:check_cfg:
  615|  52.7k|check_cfg(cfg_builder *g) {
  616|   525k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (616:43): [True: 472k, False: 52.7k]
  ------------------
  617|       |        /* Raise SystemError if jump or exit is not last instruction in the block. */
  618|  5.51M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (618:25): [True: 5.04M, False: 472k]
  ------------------
  619|  5.04M|            int opcode = b->b_instr[i].i_opcode;
  620|  5.04M|            assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (620:13): [True: 0, False: 5.04M]
  |  Branch (620:13): [True: 0, False: 5.04M]
  |  Branch (620:13): [True: 0, False: 5.04M]
  ------------------
  621|  5.04M|            if (IS_TERMINATOR_OPCODE(opcode)) {
  ------------------
  |  |   27|  5.04M|        (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|  10.0M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|  5.04M|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 238k, False: 4.80M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   53|  4.80M|        ((opcode) == RETURN_VALUE || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|  9.60M|#define RETURN_VALUE                            33
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (53:10): [True: 85.7k, False: 4.71M]
  |  |  |  |  ------------------
  |  |  |  |   54|  4.80M|         (opcode) == RAISE_VARARGS || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  113|  9.52M|#define RAISE_VARARGS                          100
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (54:10): [True: 14.7k, False: 4.70M]
  |  |  |  |  ------------------
  |  |  |  |   55|  4.80M|         (opcode) == RERAISE)
  |  |  |  |  ------------------
  |  |  |  |  |  |  114|  4.70M|#define RERAISE                                101
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:10): [True: 36.9k, False: 4.66M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  622|   375k|                if (i != b->b_iused - 1) {
  ------------------
  |  Branch (622:21): [True: 0, False: 375k]
  ------------------
  623|      0|                    PyErr_SetString(PyExc_SystemError, "malformed control flow graph.");
  624|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  625|      0|                }
  626|   375k|            }
  627|  5.04M|        }
  628|   472k|    }
  629|  52.7k|    return SUCCESS;
  ------------------
  |  |   21|  52.7k|#define SUCCESS 0
  ------------------
  630|  52.7k|}
flowgraph.c:inline_small_or_no_lineno_blocks:
 1262|  52.7k|inline_small_or_no_lineno_blocks(basicblock *entryblock) {
 1263|  52.7k|    bool changes;
 1264|  55.5k|    do {
 1265|  55.5k|        changes = false;
 1266|   872k|        for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1266:42): [True: 816k, False: 55.5k]
  ------------------
 1267|   816k|            int res = basicblock_inline_small_or_no_lineno_blocks(b);
 1268|   816k|            RETURN_IF_ERROR(res);
  ------------------
  |  |   25|   816k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 816k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1269|   816k|            if (res) {
  ------------------
  |  Branch (1269:17): [True: 12.9k, False: 803k]
  ------------------
 1270|  12.9k|                changes = true;
 1271|  12.9k|            }
 1272|   816k|        }
 1273|  55.5k|    } while(changes); /* every change removes a jump, ensuring convergence */
  ------------------
  |  Branch (1273:13): [True: 2.81k, False: 52.7k]
  ------------------
 1274|  52.7k|    return changes;
 1275|  52.7k|}
flowgraph.c:basicblock_inline_small_or_no_lineno_blocks:
 1228|   816k|basicblock_inline_small_or_no_lineno_blocks(basicblock *bb) {
 1229|   816k|    cfg_instr *last = basicblock_last_instr(bb);
 1230|   816k|    if (last == NULL) {
  ------------------
  |  Branch (1230:9): [True: 0, False: 816k]
  ------------------
 1231|      0|        return 0;
 1232|      0|    }
 1233|   816k|    if (!IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   40|   816k|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|  1.63M|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 29.5k, False: 787k]
  |  |  ------------------
  |  |   41|   816k|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|  1.60M|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 147k, False: 639k]
  |  |  ------------------
  |  |   42|   816k|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|  1.45M|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 639k]
  |  |  ------------------
  |  |   43|   816k|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|  1.45M|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 639k]
  |  |  ------------------
  |  |   44|   816k|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|   639k|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 639k]
  |  |  ------------------
  ------------------
 1234|   639k|        return 0;
 1235|   639k|    }
 1236|   177k|    basicblock *target = last->i_target;
 1237|   177k|    bool small_exit_block = (basicblock_exits_scope(target) &&
  ------------------
  |  Branch (1237:30): [True: 8.53k, False: 168k]
  ------------------
 1238|  8.53k|                             target->b_iused <= MAX_COPY_SIZE);
  ------------------
  |  | 1220|  8.53k|#define MAX_COPY_SIZE 4
  ------------------
  |  Branch (1238:30): [True: 6.60k, False: 1.93k]
  ------------------
 1239|   177k|    bool no_lineno_no_fallthrough = (basicblock_has_no_lineno(target) &&
  ------------------
  |  Branch (1239:38): [True: 21.6k, False: 155k]
  ------------------
 1240|  21.6k|                                     !BB_HAS_FALLTHROUGH(target));
  ------------------
  |  |  251|  21.6k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  ------------------
  |  Branch (1240:38): [True: 10.8k, False: 10.8k]
  ------------------
 1241|   177k|    if (small_exit_block || no_lineno_no_fallthrough) {
  ------------------
  |  Branch (1241:9): [True: 6.60k, False: 170k]
  |  Branch (1241:29): [True: 6.32k, False: 164k]
  ------------------
 1242|  12.9k|        assert(is_jump(last));
  ------------------
  |  Branch (1242:9): [True: 12.9k, False: 0]
  ------------------
 1243|  12.9k|        int removed_jump_opcode = last->i_opcode;
 1244|  12.9k|        INSTR_SET_OP0(last, NOP);
  ------------------
  |  |  125|  12.9k|    do { \
  |  |  126|  12.9k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  12.9k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  12.9k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  12.9k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  12.9k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 12.9k]
  |  |  ------------------
  ------------------
  |  Branch (1244:9): [True: 12.9k, False: 0]
  ------------------
 1245|  12.9k|        RETURN_IF_ERROR(basicblock_append_instructions(bb, target));
  ------------------
  |  |   25|  12.9k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 12.9k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1246|  12.9k|        if (no_lineno_no_fallthrough) {
  ------------------
  |  Branch (1246:13): [True: 10.8k, False: 2.07k]
  ------------------
 1247|  10.8k|            last = basicblock_last_instr(bb);
 1248|  10.8k|            if (IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode) &&
  ------------------
  |  |   40|  21.6k|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|  21.6k|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 3, False: 10.8k]
  |  |  ------------------
  |  |   41|  10.8k|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|  21.6k|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 6.28k, False: 4.56k]
  |  |  ------------------
  |  |   42|  10.8k|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|  15.4k|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 4.56k]
  |  |  ------------------
  |  |   43|  10.8k|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|  15.4k|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 4.56k]
  |  |  ------------------
  |  |   44|  21.6k|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|  4.56k|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 4.56k]
  |  |  ------------------
  ------------------
 1249|  6.28k|                removed_jump_opcode == JUMP)
  ------------------
  |  |  245|  6.28k|#define JUMP                                   257
  ------------------
  |  Branch (1249:17): [True: 79, False: 6.20k]
  ------------------
 1250|     79|            {
 1251|       |                /* Make sure we don't lose eval breaker checks */
 1252|     79|                last->i_opcode = JUMP;
  ------------------
  |  |  245|     79|#define JUMP                                   257
  ------------------
 1253|     79|            }
 1254|  10.8k|        }
 1255|  12.9k|        target->b_predecessors--;
 1256|  12.9k|        return 1;
 1257|  12.9k|    }
 1258|   164k|    return 0;
 1259|   177k|}
flowgraph.c:basicblock_exits_scope:
  353|  1.10M|basicblock_exits_scope(const basicblock *b) {
  354|  1.10M|    cfg_instr *last = basicblock_last_instr(b);
  355|  1.10M|    return last && IS_SCOPE_EXIT_OPCODE(last->i_opcode);
  ------------------
  |  |   53|  1.09M|        ((opcode) == RETURN_VALUE || \
  |  |  ------------------
  |  |  |  |   46|  2.19M|#define RETURN_VALUE                            33
  |  |  ------------------
  |  |  |  Branch (53:10): [True: 57.8k, False: 1.03M]
  |  |  ------------------
  |  |   54|  1.09M|         (opcode) == RAISE_VARARGS || \
  |  |  ------------------
  |  |  |  |  113|  2.13M|#define RAISE_VARARGS                          100
  |  |  ------------------
  |  |  |  Branch (54:10): [True: 34.3k, False: 1.00M]
  |  |  ------------------
  |  |   55|  1.09M|         (opcode) == RERAISE)
  |  |  ------------------
  |  |  |  |  114|  1.00M|#define RERAISE                                101
  |  |  ------------------
  |  |  |  Branch (55:10): [True: 31.6k, False: 973k]
  |  |  ------------------
  ------------------
  |  Branch (355:12): [True: 1.09M, False: 4.14k]
  ------------------
  356|  1.10M|}
flowgraph.c:basicblock_has_no_lineno:
 1210|   499k|basicblock_has_no_lineno(basicblock *b) {
 1211|   606k|    for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (1211:21): [True: 564k, False: 42.0k]
  ------------------
 1212|   564k|        if (b->b_instr[i].i_loc.lineno >= 0) {
  ------------------
  |  Branch (1212:13): [True: 457k, False: 106k]
  ------------------
 1213|   457k|            return false;
 1214|   457k|        }
 1215|   564k|    }
 1216|  42.0k|    return true;
 1217|   499k|}
flowgraph.c:basicblock_append_instructions:
  231|  15.0k|{
  232|  47.3k|    for (int i = 0; i < from->b_iused; i++) {
  ------------------
  |  Branch (232:21): [True: 32.3k, False: 15.0k]
  ------------------
  233|  32.3k|        int n = basicblock_next_instr(to);
  234|  32.3k|        if (n < 0) {
  ------------------
  |  Branch (234:13): [True: 0, False: 32.3k]
  ------------------
  235|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  236|      0|        }
  237|  32.3k|        to->b_instr[n] = from->b_instr[i];
  238|  32.3k|    }
  239|  15.0k|    return SUCCESS;
  ------------------
  |  |   21|  15.0k|#define SUCCESS 0
  ------------------
  240|  15.0k|}
flowgraph.c:remove_unreachable:
 1010|   105k|remove_unreachable(basicblock *entryblock) {
 1011|  1.05M|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1011:38): [True: 947k, False: 105k]
  ------------------
 1012|   947k|        b->b_predecessors = 0;
 1013|   947k|    }
 1014|   105k|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 1015|   105k|    if (stack == NULL) {
  ------------------
  |  Branch (1015:9): [True: 0, False: 105k]
  ------------------
 1016|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1017|      0|    }
 1018|   105k|    basicblock **sp = stack;
 1019|   105k|    entryblock->b_predecessors = 1;
 1020|   105k|    *sp++ = entryblock;
 1021|   105k|    entryblock->b_visited = 1;
 1022|   953k|    while (sp > stack) {
  ------------------
  |  Branch (1022:12): [True: 848k, False: 105k]
  ------------------
 1023|   848k|        basicblock *b = *(--sp);
 1024|   848k|        if (b->b_next && BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  251|   810k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 464k, False: 345k]
  |  |  ------------------
  ------------------
  |  Branch (1024:13): [True: 810k, False: 38.1k]
  ------------------
 1025|   464k|            if (!b->b_next->b_visited) {
  ------------------
  |  Branch (1025:17): [True: 379k, False: 85.0k]
  ------------------
 1026|   379k|                assert(b->b_next->b_predecessors == 0);
  ------------------
  |  Branch (1026:17): [True: 379k, False: 0]
  ------------------
 1027|   379k|                *sp++ = b->b_next;
 1028|   379k|                b->b_next->b_visited = 1;
 1029|   379k|            }
 1030|   464k|            b->b_next->b_predecessors++;
 1031|   464k|        }
 1032|  9.18M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (1032:25): [True: 8.33M, False: 848k]
  ------------------
 1033|  8.33M|            basicblock *target;
 1034|  8.33M|            cfg_instr *instr = &b->b_instr[i];
 1035|  8.33M|            if (is_jump(instr) || is_block_push(instr)) {
  ------------------
  |  Branch (1035:17): [True: 439k, False: 7.89M]
  |  Branch (1035:35): [True: 149k, False: 7.74M]
  ------------------
 1036|   589k|                target = instr->i_target;
 1037|   589k|                if (!target->b_visited) {
  ------------------
  |  Branch (1037:21): [True: 363k, False: 226k]
  ------------------
 1038|   363k|                    *sp++ = target;
 1039|   363k|                    target->b_visited = 1;
 1040|   363k|                }
 1041|   589k|                target->b_predecessors++;
 1042|   589k|            }
 1043|  8.33M|        }
 1044|   848k|    }
 1045|   105k|    PyMem_Free(stack);
 1046|       |
 1047|       |    /* Delete unreachable instructions */
 1048|  1.05M|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1048:38): [True: 947k, False: 105k]
  ------------------
 1049|   947k|       if (b->b_predecessors == 0) {
  ------------------
  |  Branch (1049:12): [True: 99.0k, False: 848k]
  ------------------
 1050|  99.0k|            b->b_iused = 0;
 1051|  99.0k|            b->b_except_handler = 0;
 1052|  99.0k|       }
 1053|   947k|    }
 1054|   105k|    return SUCCESS;
  ------------------
  |  |   21|   105k|#define SUCCESS 0
  ------------------
 1055|   105k|}
flowgraph.c:optimize_load_const:
 2390|  52.7k|                    _Py_hashtable_t *consts_index) {
 2391|   527k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2391:43): [True: 474k, False: 52.7k]
  ------------------
 2392|   474k|        RETURN_IF_ERROR(basicblock_optimize_load_const(const_cache, b, consts, consts_index));
  ------------------
  |  |   25|   474k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 474k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2393|   474k|    }
 2394|  52.7k|    return SUCCESS;
  ------------------
  |  |   21|  52.7k|#define SUCCESS 0
  ------------------
 2395|  52.7k|}
flowgraph.c:basicblock_optimize_load_const:
 2247|   474k|{
 2248|   474k|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (2248:5): [True: 474k, False: 0]
  ------------------
 2249|   474k|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (2249:5): [True: 474k, False: 0]
  ------------------
 2250|   474k|    int opcode = 0;
 2251|   474k|    int oparg = 0;
 2252|  5.46M|    for (int i = 0; i < bb->b_iused; i++) {
  ------------------
  |  Branch (2252:21): [True: 4.99M, False: 474k]
  ------------------
 2253|  4.99M|        cfg_instr *inst = &bb->b_instr[i];
 2254|  4.99M|        if (inst->i_opcode == LOAD_CONST) {
  ------------------
  |  |   91|  4.99M|#define LOAD_CONST                              78
  ------------------
  |  Branch (2254:13): [True: 1.24M, False: 3.74M]
  ------------------
 2255|  1.24M|            PyObject *constant = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 2256|  1.24M|            if (constant == NULL) {
  ------------------
  |  Branch (2256:17): [True: 0, False: 1.24M]
  ------------------
 2257|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2258|      0|            }
 2259|  1.24M|            int res = maybe_instr_make_load_smallint(inst, constant, consts, const_cache);
 2260|  1.24M|            Py_DECREF(constant);
  ------------------
  |  |  430|  1.24M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.24M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2261|  1.24M|            if (res < 0) {
  ------------------
  |  Branch (2261:17): [True: 0, False: 1.24M]
  ------------------
 2262|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2263|      0|            }
 2264|  1.24M|        }
 2265|  4.99M|        bool is_copy_of_load_const = (opcode == LOAD_CONST &&
  ------------------
  |  |   91|  9.98M|#define LOAD_CONST                              78
  ------------------
  |  Branch (2265:39): [True: 697k, False: 4.29M]
  ------------------
 2266|   697k|                                      inst->i_opcode == COPY &&
  ------------------
  |  |   70|  5.68M|#define COPY                                    57
  ------------------
  |  Branch (2266:39): [True: 584, False: 697k]
  ------------------
 2267|    584|                                      inst->i_oparg == 1);
  ------------------
  |  Branch (2267:39): [True: 71, False: 513]
  ------------------
 2268|  4.99M|        if (! is_copy_of_load_const) {
  ------------------
  |  Branch (2268:13): [True: 4.99M, False: 71]
  ------------------
 2269|  4.99M|            opcode = inst->i_opcode;
 2270|  4.99M|            oparg = inst->i_oparg;
 2271|  4.99M|        }
 2272|  4.99M|        assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (2272:9): [True: 0, False: 4.99M]
  |  Branch (2272:9): [True: 0, False: 4.99M]
  |  Branch (2272:9): [True: 0, False: 4.99M]
  ------------------
 2273|  4.99M|        if (!loads_const(opcode)) {
  ------------------
  |  Branch (2273:13): [True: 3.72M, False: 1.26M]
  ------------------
 2274|  3.72M|            continue;
 2275|  3.72M|        }
 2276|  1.26M|        int nextop = i+1 < bb->b_iused ? bb->b_instr[i+1].i_opcode : 0;
  ------------------
  |  Branch (2276:22): [True: 1.22M, False: 36.7k]
  ------------------
 2277|  1.26M|        switch(nextop) {
  ------------------
  |  Branch (2277:16): [True: 8.42k, False: 1.25M]
  ------------------
 2278|  1.32k|            case POP_JUMP_IF_FALSE:
  ------------------
  |  |  109|  1.32k|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (2278:13): [True: 1.32k, False: 1.25M]
  ------------------
 2279|  2.69k|            case POP_JUMP_IF_TRUE:
  ------------------
  |  |  112|  2.69k|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (2279:13): [True: 1.36k, False: 1.25M]
  ------------------
 2280|  3.73k|            case JUMP_IF_FALSE:
  ------------------
  |  |  246|  3.73k|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2280:13): [True: 1.04k, False: 1.26M]
  ------------------
 2281|  4.63k|            case JUMP_IF_TRUE:
  ------------------
  |  |  247|  4.63k|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2281:13): [True: 898, False: 1.26M]
  ------------------
 2282|  4.63k|            {
 2283|       |                /* Remove LOAD_CONST const; conditional jump */
 2284|  4.63k|                PyObject* cnt = get_const_value(opcode, oparg, consts);
 2285|  4.63k|                if (cnt == NULL) {
  ------------------
  |  Branch (2285:21): [True: 0, False: 4.63k]
  ------------------
 2286|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2287|      0|                }
 2288|  4.63k|                int is_true = PyObject_IsTrue(cnt);
 2289|  4.63k|                Py_DECREF(cnt);
  ------------------
  |  |  430|  4.63k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2290|  4.63k|                if (is_true == -1) {
  ------------------
  |  Branch (2290:21): [True: 0, False: 4.63k]
  ------------------
 2291|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2292|      0|                }
 2293|  4.63k|                if (PyCompile_OpcodeStackEffect(nextop, 0) == -1) {
  ------------------
  |  Branch (2293:21): [True: 2.69k, False: 1.94k]
  ------------------
 2294|       |                    /* POP_JUMP_IF_FALSE or POP_JUMP_IF_TRUE */
 2295|  2.69k|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|  2.69k|    do { \
  |  |  126|  2.69k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  2.69k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  2.69k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  2.69k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  2.69k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 2.69k]
  |  |  ------------------
  ------------------
  |  Branch (2295:21): [True: 2.69k, False: 0]
  ------------------
 2296|  2.69k|                }
 2297|  4.63k|                int jump_if_true = (nextop == POP_JUMP_IF_TRUE || nextop == JUMP_IF_TRUE);
  ------------------
  |  |  112|  9.27k|#define POP_JUMP_IF_TRUE                        99
  ------------------
                              int jump_if_true = (nextop == POP_JUMP_IF_TRUE || nextop == JUMP_IF_TRUE);
  ------------------
  |  |  247|  3.26k|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2297:37): [True: 1.36k, False: 3.26k]
  |  Branch (2297:67): [True: 898, False: 2.36k]
  ------------------
 2298|  4.63k|                if (is_true == jump_if_true) {
  ------------------
  |  Branch (2298:21): [True: 2.37k, False: 2.26k]
  ------------------
 2299|  2.37k|                    bb->b_instr[i+1].i_opcode = JUMP;
  ------------------
  |  |  245|  2.37k|#define JUMP                                   257
  ------------------
 2300|  2.37k|                }
 2301|  2.26k|                else {
 2302|  2.26k|                    INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  125|  2.26k|    do { \
  |  |  126|  2.26k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  2.26k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  2.26k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  2.26k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  2.26k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 2.26k]
  |  |  ------------------
  ------------------
  |  Branch (2302:21): [True: 2.26k, False: 0]
  ------------------
 2303|  2.26k|                }
 2304|  4.63k|                break;
 2305|  4.63k|            }
 2306|  4.63k|            case IS_OP:
  ------------------
  |  |   83|  1.03k|#define IS_OP                                   70
  ------------------
  |  Branch (2306:13): [True: 1.03k, False: 1.26M]
  ------------------
 2307|  1.03k|            {
 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|  1.03k|                PyObject *cnt = get_const_value(opcode, oparg, consts);
 2319|  1.03k|                if (cnt == NULL) {
  ------------------
  |  Branch (2319:21): [True: 0, False: 1.03k]
  ------------------
 2320|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2321|      0|                }
 2322|  1.03k|                if (!Py_IsNone(cnt)) {
  ------------------
  |  |  621|  1.03k|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|  1.03k|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  ------------------
  |  Branch (2322:21): [True: 1.00k, False: 33]
  ------------------
 2323|  1.00k|                    Py_DECREF(cnt);
  ------------------
  |  |  430|  1.00k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2324|  1.00k|                    break;
 2325|  1.00k|                }
 2326|     33|                if (bb->b_iused <= i + 2) {
  ------------------
  |  Branch (2326:21): [True: 0, False: 33]
  ------------------
 2327|      0|                    break;
 2328|      0|                }
 2329|     33|                cfg_instr *is_instr = &bb->b_instr[i + 1];
 2330|     33|                cfg_instr *jump_instr = &bb->b_instr[i + 2];
 2331|       |                // Get rid of TO_BOOL regardless:
 2332|     33|                if (jump_instr->i_opcode == TO_BOOL) {
  ------------------
  |  |   50|     33|#define TO_BOOL                                 37
  ------------------
  |  Branch (2332:21): [True: 0, False: 33]
  ------------------
 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|     33|                bool invert = is_instr->i_oparg;
 2340|     33|                if (jump_instr->i_opcode == POP_JUMP_IF_FALSE) {
  ------------------
  |  |  109|     33|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (2340:21): [True: 32, False: 1]
  ------------------
 2341|     32|                    invert = !invert;
 2342|     32|                }
 2343|      1|                else if (jump_instr->i_opcode != POP_JUMP_IF_TRUE) {
  ------------------
  |  |  112|      1|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (2343:26): [True: 1, False: 0]
  ------------------
 2344|      1|                    break;
 2345|      1|                }
 2346|     32|                INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|     32|    do { \
  |  |  126|     32|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|     32|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|     32|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|     32|        _instr__ptr_->i_oparg = 0; \
  |  |  130|     32|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 32]
  |  |  ------------------
  ------------------
  |  Branch (2346:17): [True: 32, False: 0]
  ------------------
 2347|     32|                INSTR_SET_OP0(is_instr, NOP);
  ------------------
  |  |  125|     32|    do { \
  |  |  126|     32|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|     32|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|     32|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|     32|        _instr__ptr_->i_oparg = 0; \
  |  |  130|     32|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 32]
  |  |  ------------------
  ------------------
  |  Branch (2347:17): [True: 32, False: 0]
  ------------------
 2348|     32|                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: 32]
  ------------------
 2349|     32|                                              : POP_JUMP_IF_NONE;
  ------------------
  |  |  110|     64|#define POP_JUMP_IF_NONE                        97
  ------------------
 2350|     32|                break;
 2351|     32|            }
 2352|  2.75k|            case TO_BOOL:
  ------------------
  |  |   50|  2.75k|#define TO_BOOL                                 37
  ------------------
  |  Branch (2352:13): [True: 2.75k, False: 1.25M]
  ------------------
 2353|  2.75k|            {
 2354|  2.75k|                PyObject *cnt = get_const_value(opcode, oparg, consts);
 2355|  2.75k|                if (cnt == NULL) {
  ------------------
  |  Branch (2355:21): [True: 0, False: 2.75k]
  ------------------
 2356|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2357|      0|                }
 2358|  2.75k|                int is_true = PyObject_IsTrue(cnt);
 2359|  2.75k|                Py_DECREF(cnt);
  ------------------
  |  |  430|  2.75k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2360|  2.75k|                if (is_true == -1) {
  ------------------
  |  Branch (2360:21): [True: 0, False: 2.75k]
  ------------------
 2361|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2362|      0|                }
 2363|  2.75k|                cnt = PyBool_FromLong(is_true);
 2364|  2.75k|                int index = add_const(cnt, consts, const_cache, consts_index);
 2365|  2.75k|                if (index < 0) {
  ------------------
  |  Branch (2365:21): [True: 0, False: 2.75k]
  ------------------
 2366|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2367|      0|                }
 2368|  2.75k|                INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|  2.75k|    do { \
  |  |  126|  2.75k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  2.75k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  2.75k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  2.75k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  2.75k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 2.75k]
  |  |  ------------------
  ------------------
  |  Branch (2368:17): [True: 2.75k, False: 0]
  ------------------
 2369|  2.75k|                INSTR_SET_OP1(&bb->b_instr[i + 1], LOAD_CONST, index);
  ------------------
  |  |  116|  2.75k|    do { \
  |  |  117|  2.75k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|  2.75k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|  2.75k|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|  2.75k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|  2.75k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 2.75k]
  |  |  ------------------
  ------------------
  |  Branch (2369:17): [True: 2.75k, False: 0]
  ------------------
 2370|  2.75k|                break;
 2371|  2.75k|            }
 2372|  1.26M|        }
 2373|  1.26M|        if (inst->i_opcode == LOAD_CONST) {
  ------------------
  |  |   91|  1.26M|#define LOAD_CONST                              78
  ------------------
  |  Branch (2373:13): [True: 730k, False: 530k]
  ------------------
 2374|   730k|            PyObject *constant = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 2375|   730k|            if (constant == NULL) {
  ------------------
  |  Branch (2375:17): [True: 0, False: 730k]
  ------------------
 2376|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2377|      0|            }
 2378|   730k|            int res = maybe_instr_make_load_common_const(inst, constant);
 2379|   730k|            Py_DECREF(constant);
  ------------------
  |  |  430|   730k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   730k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   730k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2380|   730k|            if (res < 0) {
  ------------------
  |  Branch (2380:17): [True: 0, False: 730k]
  ------------------
 2381|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2382|      0|            }
 2383|   730k|        }
 2384|  1.26M|    }
 2385|   474k|    return SUCCESS;
  ------------------
  |  |   21|   474k|#define SUCCESS 0
  ------------------
 2386|   474k|}
flowgraph.c:get_const_value:
 1314|  3.46M|{
 1315|  3.46M|    PyObject *constant = NULL;
 1316|  3.46M|    assert(loads_const(opcode));
  ------------------
  |  Branch (1316:5): [True: 3.46M, False: 0]
  ------------------
 1317|  3.46M|    if (opcode == LOAD_CONST) {
  ------------------
  |  |   91|  3.46M|#define LOAD_CONST                              78
  ------------------
  |  Branch (1317:9): [True: 2.94M, False: 519k]
  ------------------
 1318|  2.94M|        assert(PyList_Check(co_consts));
  ------------------
  |  Branch (1318:9): [True: 2.94M, False: 0]
  ------------------
 1319|  2.94M|        Py_ssize_t n = PyList_GET_SIZE(co_consts);
  ------------------
  |  |   38|  2.94M|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.94M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.94M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1320|  2.94M|        if (oparg < 0 || oparg >= n) {
  ------------------
  |  Branch (1320:13): [True: 0, False: 2.94M]
  |  Branch (1320:26): [True: 0, False: 2.94M]
  ------------------
 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|  2.94M|        constant = PyList_GET_ITEM(co_consts, oparg);
  ------------------
  |  |   40|  2.94M|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  2.94M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.94M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1326:20): [True: 2.94M, False: 0]
  ------------------
 1327|  2.94M|    }
 1328|  3.46M|    if (opcode == LOAD_SMALL_INT) {
  ------------------
  |  |  103|  3.46M|#define LOAD_SMALL_INT                          90
  ------------------
  |  Branch (1328:9): [True: 472k, False: 2.99M]
  ------------------
 1329|   472k|        return PyLong_FromLong(oparg);
 1330|   472k|    }
 1331|  2.99M|    if (opcode == LOAD_COMMON_CONSTANT) {
  ------------------
  |  |   90|  2.99M|#define LOAD_COMMON_CONSTANT                    77
  ------------------
  |  Branch (1331:9): [True: 46.3k, False: 2.94M]
  ------------------
 1332|  46.3k|        assert(oparg < NUM_COMMON_CONSTANTS);
  ------------------
  |  Branch (1332:9): [True: 46.3k, False: 0]
  ------------------
 1333|  46.3k|        return PyStackRef_AsPyObjectBorrow(
 1334|  46.3k|            _PyInterpreterState_GET()->common_consts[oparg]);
 1335|  46.3k|    }
 1336|       |
 1337|  2.94M|    if (constant == NULL) {
  ------------------
  |  Branch (1337:9): [True: 0, False: 2.94M]
  ------------------
 1338|      0|        PyErr_SetString(PyExc_SystemError,
 1339|      0|                        "Internal error: failed to get value of a constant");
 1340|      0|        return NULL;
 1341|      0|    }
 1342|  2.94M|    return Py_NewRef(constant);
  ------------------
  |  |  550|  2.94M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.94M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.94M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1343|  2.94M|}
flowgraph.c:maybe_instr_make_load_smallint:
 1434|  2.02M|{
 1435|  2.02M|    if (PyLong_CheckExact(newconst)) {
  ------------------
  |  |   14|  2.02M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  2.02M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.02M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.10M, False: 911k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1436|  1.10M|        int overflow;
 1437|  1.10M|        long val = PyLong_AsLongAndOverflow(newconst, &overflow);
 1438|  1.10M|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1438:13): [True: 133k, False: 976k]
  |  Branch (1438:26): [True: 0, False: 133k]
  ------------------
 1439|      0|            return -1;
 1440|      0|        }
 1441|  1.10M|        if (!overflow && _PY_IS_SMALL_INT(val) && 0 <= val && val <= 255) {
  ------------------
  |  |   68|  2.12M|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  ------------------
  |  |  |  |   98|  1.01M|#define _PY_NSMALLNEGINTS           5
  |  |  ------------------
  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  ------------------
  |  |  |  |   97|   914k|#define _PY_NSMALLPOSINTS           1025
  |  |  ------------------
  |  |  |  Branch (68:6): [True: 914k, False: 96.1k]
  |  |  |  Branch (68:37): [True: 676k, False: 237k]
  |  |  ------------------
  ------------------
  |  Branch (1441:13): [True: 1.01M, False: 99.5k]
  |  Branch (1441:51): [True: 630k, False: 45.6k]
  |  Branch (1441:63): [True: 594k, False: 36.4k]
  ------------------
 1442|   594k|            assert(_Py_IsImmortal(newconst));
  ------------------
  |  Branch (1442:13): [True: 594k, False: 0]
  ------------------
 1443|   594k|            INSTR_SET_OP1(instr, LOAD_SMALL_INT, (int)val);
  ------------------
  |  |  116|   594k|    do { \
  |  |  117|   594k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|   594k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|   594k|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|   594k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|   594k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 594k]
  |  |  ------------------
  ------------------
  |  Branch (1443:13): [True: 594k, False: 0]
  ------------------
 1444|   594k|            return 1;
 1445|   594k|        }
 1446|  1.10M|    }
 1447|  1.42M|    return 0;
 1448|  2.02M|}
flowgraph.c:loads_const:
 1305|  12.1M|{
 1306|  12.1M|    return OPCODE_HAS_CONST(opcode)
  ------------------
  |  | 1063|  24.2M|#define OPCODE_HAS_CONST(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_CONST_FLAG))
  |  |  ------------------
  |  |  |  | 1044|  12.1M|#define HAS_CONST_FLAG (2)
  |  |  ------------------
  |  |  |  Branch (1063:30): [True: 5.68M, False: 6.43M]
  |  |  ------------------
  ------------------
 1307|  6.43M|        || opcode == LOAD_SMALL_INT
  ------------------
  |  |  103|  18.5M|#define LOAD_SMALL_INT                          90
  ------------------
  |  Branch (1307:12): [True: 1.96M, False: 4.46M]
  ------------------
 1308|  4.46M|        || opcode == LOAD_COMMON_CONSTANT;
  ------------------
  |  |   90|  4.46M|#define LOAD_COMMON_CONSTANT                    77
  ------------------
  |  Branch (1308:12): [True: 158k, False: 4.30M]
  ------------------
 1309|  12.1M|}
flowgraph.c:add_const:
 1349|   657k|{
 1350|   657k|    if (_PyCompile_ConstCacheMergeOne(const_cache, &newconst) < 0) {
  ------------------
  |  Branch (1350:9): [True: 0, False: 657k]
  ------------------
 1351|      0|        Py_DECREF(newconst);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1352|      0|        return -1;
 1353|      0|    }
 1354|       |
 1355|   657k|    _Py_hashtable_entry_t *entry = _Py_hashtable_get_entry(consts_index, (void *)newconst);
 1356|   657k|    if (entry != NULL) {
  ------------------
  |  Branch (1356:9): [True: 492k, False: 164k]
  ------------------
 1357|   492k|        Py_DECREF(newconst);
  ------------------
  |  |  430|   492k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   492k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   492k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1358|   492k|        return (int)(uintptr_t)entry->value;
 1359|   492k|    }
 1360|       |
 1361|   164k|    Py_ssize_t index = PyList_GET_SIZE(consts);
  ------------------
  |  |   38|   164k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   164k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   164k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1362|   164k|    if ((size_t)index >= (size_t)INT_MAX - 1) {
  ------------------
  |  Branch (1362:9): [True: 0, False: 164k]
  ------------------
 1363|      0|        PyErr_SetString(PyExc_OverflowError, "too many constants");
 1364|      0|        Py_DECREF(newconst);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1365|      0|        return -1;
 1366|      0|    }
 1367|   164k|    if (PyList_Append(consts, newconst)) {
  ------------------
  |  Branch (1367:9): [True: 0, False: 164k]
  ------------------
 1368|      0|        Py_DECREF(newconst);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1369|      0|        return -1;
 1370|      0|    }
 1371|       |
 1372|   164k|    if (_Py_hashtable_set(consts_index, (void *)newconst, (void *)(uintptr_t)index) < 0) {
  ------------------
  |  Branch (1372:9): [True: 0, False: 164k]
  ------------------
 1373|      0|        PyList_SetSlice(consts, index, index + 1, NULL);
 1374|      0|        Py_DECREF(newconst);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1375|      0|        PyErr_NoMemory();
 1376|      0|        return -1;
 1377|      0|    }
 1378|       |
 1379|   164k|    Py_DECREF(newconst);
  ------------------
  |  |  430|   164k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   164k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   164k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1380|   164k|    return (int)index;
 1381|   164k|}
flowgraph.c:maybe_instr_make_load_common_const:
 1457|  1.42M|{
 1458|  1.42M|    int oparg;
 1459|  1.42M|    if (newconst == Py_None) {
  ------------------
  |  |  616|  1.42M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1459:9): [True: 123k, False: 1.30M]
  ------------------
 1460|   123k|        oparg = CONSTANT_NONE;
  ------------------
  |  |   78|   123k|#define CONSTANT_NONE 7
  ------------------
 1461|   123k|    }
 1462|  1.30M|    else if (newconst == Py_True) {
  ------------------
  |  |   26|  1.30M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  1.30M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.30M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1462:14): [True: 10.5k, False: 1.28M]
  ------------------
 1463|  10.5k|        oparg = CONSTANT_TRUE;
  ------------------
  |  |   80|  10.5k|#define CONSTANT_TRUE 9
  ------------------
 1464|  10.5k|    }
 1465|  1.28M|    else if (newconst == Py_False) {
  ------------------
  |  |   25|  1.28M|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  1.28M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1465:14): [True: 761, False: 1.28M]
  ------------------
 1466|    761|        oparg = CONSTANT_FALSE;
  ------------------
  |  |   81|    761|#define CONSTANT_FALSE 10
  ------------------
 1467|    761|    }
 1468|  1.28M|    else if (PyUnicode_CheckExact(newconst)
  ------------------
  |  |  104|  1.28M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  2.57M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.28M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 112k, False: 1.17M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1469|   112k|             && PyUnicode_GET_LENGTH(newconst) == 0) {
  ------------------
  |  |  299|   112k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   112k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   112k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1469:17): [True: 7.05k, False: 105k]
  ------------------
 1470|  7.05k|        oparg = CONSTANT_EMPTY_STR;
  ------------------
  |  |   79|  7.05k|#define CONSTANT_EMPTY_STR 8
  ------------------
 1471|  7.05k|    }
 1472|  1.28M|    else if (PyTuple_CheckExact(newconst)
  ------------------
  |  |   28|  1.28M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  2.56M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.28M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 104k, False: 1.17M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1473|   104k|             && PyTuple_GET_SIZE(newconst) == 0) {
  ------------------
  |  |   27|   104k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   104k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   104k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1473:17): [True: 20.3k, False: 83.9k]
  ------------------
 1474|  20.3k|        oparg = CONSTANT_EMPTY_TUPLE;
  ------------------
  |  |   84|  20.3k|#define CONSTANT_EMPTY_TUPLE 13
  ------------------
 1475|  20.3k|    }
 1476|  1.26M|    else if (PyLong_CheckExact(newconst)) {
  ------------------
  |  |   14|  1.26M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  1.26M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 515k, False: 746k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1477|   515k|        int overflow;
 1478|   515k|        long val = PyLong_AsLongAndOverflow(newconst, &overflow);
 1479|   515k|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1479:13): [True: 133k, False: 382k]
  |  Branch (1479:26): [True: 0, False: 133k]
  ------------------
 1480|      0|            return -1;
 1481|      0|        }
 1482|   515k|        if (overflow || val != -1) {
  ------------------
  |  Branch (1482:13): [True: 99.5k, False: 415k]
  |  Branch (1482:25): [True: 382k, False: 33.6k]
  ------------------
 1483|   481k|            return 0;
 1484|   481k|        }
 1485|  33.6k|        oparg = CONSTANT_MINUS_ONE;
  ------------------
  |  |   82|  33.6k|#define CONSTANT_MINUS_ONE 11
  ------------------
 1486|  33.6k|    }
 1487|   746k|    else {
 1488|   746k|        return 0;
 1489|   746k|    }
 1490|  1.42M|    assert(_Py_IsImmortal(newconst));
  ------------------
  |  Branch (1490:5): [True: 195k, False: 0]
  ------------------
 1491|   195k|    INSTR_SET_OP1(instr, LOAD_COMMON_CONSTANT, oparg);
  ------------------
  |  |  116|   195k|    do { \
  |  |  117|   195k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|   195k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|   195k|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|   195k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|   195k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 195k]
  |  |  ------------------
  ------------------
  |  Branch (1491:5): [True: 195k, False: 0]
  ------------------
 1492|   195k|    return 1;
 1493|   195k|}
flowgraph.c:optimize_basic_block:
 2400|   474k|{
 2401|   474k|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (2401:5): [True: 474k, False: 0]
  ------------------
 2402|   474k|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (2402:5): [True: 474k, False: 0]
  ------------------
 2403|   474k|    cfg_instr nop;
 2404|   474k|    INSTR_SET_OP0(&nop, NOP);
  ------------------
  |  |  125|   474k|    do { \
  |  |  126|   474k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|   474k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|   474k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|   474k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|   474k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 474k]
  |  |  ------------------
  ------------------
  |  Branch (2404:5): [True: 474k, False: 0]
  ------------------
 2405|  5.46M|    for (int i = 0; i < bb->b_iused; i++) {
  ------------------
  |  Branch (2405:21): [True: 4.99M, False: 474k]
  ------------------
 2406|  4.99M|        cfg_instr *inst = &bb->b_instr[i];
 2407|  4.99M|        cfg_instr *target;
 2408|  4.99M|        int opcode = inst->i_opcode;
 2409|  4.99M|        int oparg = inst->i_oparg;
 2410|  4.99M|        if (HAS_TARGET(opcode)) {
  ------------------
  |  |   23|  4.99M|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|  9.98M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|  4.99M|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 229k, False: 4.76M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  4.76M|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  9.52M|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 43.2k, False: 4.72M]
  |  |  |  |  ------------------
  |  |  |  |   19|  4.76M|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  9.48M|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 11.4k, False: 4.71M]
  |  |  |  |  ------------------
  |  |  |  |   20|  4.76M|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  4.71M|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 20.2k, False: 4.69M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2411|   303k|            assert(inst->i_target->b_iused > 0);
  ------------------
  |  Branch (2411:13): [True: 303k, False: 0]
  ------------------
 2412|   303k|            target = &inst->i_target->b_instr[0];
 2413|   303k|            assert(!IS_ASSEMBLER_OPCODE(target->i_opcode));
  ------------------
  |  Branch (2413:13): [True: 0, False: 303k]
  |  Branch (2413:13): [True: 0, False: 303k]
  |  Branch (2413:13): [True: 0, False: 303k]
  ------------------
 2414|   303k|        }
 2415|  4.69M|        else {
 2416|  4.69M|            target = &nop;
 2417|  4.69M|        }
 2418|  4.99M|        int nextop = i+1 < bb->b_iused ? bb->b_instr[i+1].i_opcode : 0;
  ------------------
  |  Branch (2418:22): [True: 4.55M, False: 438k]
  ------------------
 2419|  4.99M|        assert(!IS_ASSEMBLER_OPCODE(opcode));
  ------------------
  |  Branch (2419:9): [True: 0, False: 4.99M]
  |  Branch (2419:9): [True: 0, False: 4.99M]
  |  Branch (2419:9): [True: 0, False: 4.99M]
  ------------------
 2420|  4.99M|        switch (opcode) {
  ------------------
  |  Branch (2420:17): [True: 1.82M, False: 3.17M]
  ------------------
 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|  72.4k|            case BUILD_TUPLE:
  ------------------
  |  |   62|  72.4k|#define BUILD_TUPLE                             49
  ------------------
  |  Branch (2425:13): [True: 72.4k, False: 4.92M]
  ------------------
 2426|  72.4k|                if (nextop == UNPACK_SEQUENCE && oparg == bb->b_instr[i+1].i_oparg) {
  ------------------
  |  |  128|   144k|#define UNPACK_SEQUENCE                        115
  ------------------
  |  Branch (2426:21): [True: 327, False: 72.1k]
  |  Branch (2426:50): [True: 136, False: 191]
  ------------------
 2427|    136|                    switch(oparg) {
  ------------------
  |  Branch (2427:28): [True: 114, False: 22]
  ------------------
 2428|     43|                        case 1:
  ------------------
  |  Branch (2428:25): [True: 43, False: 93]
  ------------------
 2429|     43|                            INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|     43|    do { \
  |  |  126|     43|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|     43|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|     43|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|     43|        _instr__ptr_->i_oparg = 0; \
  |  |  130|     43|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 43]
  |  |  ------------------
  ------------------
  |  Branch (2429:29): [True: 43, False: 0]
  ------------------
 2430|     43|                            INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  125|     43|    do { \
  |  |  126|     43|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|     43|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|     43|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|     43|        _instr__ptr_->i_oparg = 0; \
  |  |  130|     43|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 43]
  |  |  ------------------
  ------------------
  |  Branch (2430:29): [True: 43, False: 0]
  ------------------
 2431|     43|                            continue;
 2432|     17|                        case 2:
  ------------------
  |  Branch (2432:25): [True: 17, False: 119]
  ------------------
 2433|     71|                        case 3:
  ------------------
  |  Branch (2433:25): [True: 54, False: 82]
  ------------------
 2434|     71|                            INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|     71|    do { \
  |  |  126|     71|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|     71|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|     71|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|     71|        _instr__ptr_->i_oparg = 0; \
  |  |  130|     71|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 71]
  |  |  ------------------
  ------------------
  |  Branch (2434:29): [True: 71, False: 0]
  ------------------
 2435|     71|                            bb->b_instr[i+1].i_opcode = SWAP;
  ------------------
  |  |  126|     71|#define SWAP                                   113
  ------------------
 2436|     71|                            continue;
 2437|    136|                    }
 2438|    136|                }
 2439|  72.3k|                RETURN_IF_ERROR(fold_tuple_of_constants(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|  72.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 72.3k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2440|  72.3k|                break;
 2441|  6.35k|            case BUILD_LIST:
  ------------------
  |  |   57|  6.35k|#define BUILD_LIST                              44
  ------------------
  |  Branch (2441:13): [True: 6.35k, False: 4.98M]
  ------------------
 2442|  17.4k|            case BUILD_SET:
  ------------------
  |  |   59|  17.4k|#define BUILD_SET                               46
  ------------------
  |  Branch (2442:13): [True: 11.0k, False: 4.98M]
  ------------------
 2443|  17.4k|                RETURN_IF_ERROR(optimize_lists_and_sets(bb, i, nextop, consts, const_cache, consts_index));
  ------------------
  |  |   25|  17.4k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 17.4k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2444|  17.4k|                break;
 2445|  1.16k|            case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  111|  1.16k|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  |  Branch (2445:13): [True: 1.16k, False: 4.99M]
  ------------------
 2446|  2.67k|            case POP_JUMP_IF_NONE:
  ------------------
  |  |  110|  2.67k|#define POP_JUMP_IF_NONE                        97
  ------------------
  |  Branch (2446:13): [True: 1.50k, False: 4.99M]
  ------------------
 2447|  2.67k|                switch (target->i_opcode) {
  ------------------
  |  Branch (2447:25): [True: 0, False: 2.67k]
  ------------------
 2448|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2448:21): [True: 0, False: 2.67k]
  ------------------
 2449|      0|                        i -= jump_thread(bb, inst, target, inst->i_opcode);
 2450|  2.67k|                }
 2451|  2.67k|                break;
 2452|  82.9k|            case POP_JUMP_IF_FALSE:
  ------------------
  |  |  109|  82.9k|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (2452:13): [True: 82.9k, False: 4.91M]
  ------------------
 2453|  82.9k|                switch (target->i_opcode) {
  ------------------
  |  Branch (2453:25): [True: 56, False: 82.8k]
  ------------------
 2454|     56|                    case JUMP:
  ------------------
  |  |  245|     56|#define JUMP                                   257
  ------------------
  |  Branch (2454:21): [True: 56, False: 82.8k]
  ------------------
 2455|     56|                        i -= jump_thread(bb, inst, target, POP_JUMP_IF_FALSE);
  ------------------
  |  |  109|     56|#define POP_JUMP_IF_FALSE                       96
  ------------------
 2456|  82.9k|                }
 2457|  82.9k|                break;
 2458|  82.9k|            case POP_JUMP_IF_TRUE:
  ------------------
  |  |  112|  12.6k|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (2458:13): [True: 12.6k, False: 4.98M]
  ------------------
 2459|  12.6k|                switch (target->i_opcode) {
  ------------------
  |  Branch (2459:25): [True: 1, False: 12.6k]
  ------------------
 2460|      1|                    case JUMP:
  ------------------
  |  |  245|      1|#define JUMP                                   257
  ------------------
  |  Branch (2460:21): [True: 1, False: 12.6k]
  ------------------
 2461|      1|                        i -= jump_thread(bb, inst, target, POP_JUMP_IF_TRUE);
  ------------------
  |  |  112|      1|#define POP_JUMP_IF_TRUE                        99
  ------------------
 2462|  12.6k|                }
 2463|  12.6k|                break;
 2464|  12.6k|            case JUMP_IF_FALSE:
  ------------------
  |  |  246|  3.20k|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2464:13): [True: 3.20k, False: 4.99M]
  ------------------
 2465|  3.20k|                switch (target->i_opcode) {
  ------------------
  |  Branch (2465:25): [True: 235, False: 2.96k]
  ------------------
 2466|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2466:21): [True: 0, False: 3.20k]
  ------------------
 2467|      0|                    case JUMP_IF_FALSE:
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2467:21): [True: 0, False: 3.20k]
  ------------------
 2468|      0|                        i -= jump_thread(bb, inst, target, JUMP_IF_FALSE);
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
 2469|      0|                        continue;
 2470|    235|                    case JUMP_IF_TRUE:
  ------------------
  |  |  247|    235|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2470:21): [True: 235, False: 2.96k]
  ------------------
 2471|       |                        // No need to check for loops here, a block's b_next
 2472|       |                        // cannot point to itself.
 2473|    235|                        assert(inst->i_target != inst->i_target->b_next);
  ------------------
  |  Branch (2473:25): [True: 235, False: 0]
  ------------------
 2474|    235|                        inst->i_target = inst->i_target->b_next;
 2475|    235|                        i--;
 2476|    235|                        continue;
 2477|  3.20k|                }
 2478|  2.96k|                break;
 2479|  2.96k|            case JUMP_IF_TRUE:
  ------------------
  |  |  247|  2.21k|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2479:13): [True: 2.21k, False: 4.99M]
  ------------------
 2480|  2.21k|                switch (target->i_opcode) {
  ------------------
  |  Branch (2480:25): [True: 1.12k, False: 1.09k]
  ------------------
 2481|      0|                    case JUMP:
  ------------------
  |  |  245|      0|#define JUMP                                   257
  ------------------
  |  Branch (2481:21): [True: 0, False: 2.21k]
  ------------------
 2482|  1.12k|                    case JUMP_IF_TRUE:
  ------------------
  |  |  247|  1.12k|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2482:21): [True: 1.12k, False: 1.09k]
  ------------------
 2483|  1.12k|                        i -= jump_thread(bb, inst, target, JUMP_IF_TRUE);
  ------------------
  |  |  247|  1.12k|#define JUMP_IF_TRUE                           259
  ------------------
 2484|  1.12k|                        continue;
 2485|      0|                    case JUMP_IF_FALSE:
  ------------------
  |  |  246|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2485:21): [True: 0, False: 2.21k]
  ------------------
 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|  2.21k|                }
 2493|  1.09k|                break;
 2494|  19.5k|            case JUMP:
  ------------------
  |  |  245|  19.5k|#define JUMP                                   257
  ------------------
  |  Branch (2494:13): [True: 19.5k, False: 4.97M]
  ------------------
 2495|  86.4k|            case JUMP_NO_INTERRUPT:
  ------------------
  |  |  248|  86.4k|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (2495:13): [True: 66.9k, False: 4.92M]
  ------------------
 2496|  86.4k|                switch (target->i_opcode) {
  ------------------
  |  Branch (2496:25): [True: 335, False: 86.1k]
  ------------------
 2497|     53|                    case JUMP:
  ------------------
  |  |  245|     53|#define JUMP                                   257
  ------------------
  |  Branch (2497:21): [True: 53, False: 86.4k]
  ------------------
 2498|     53|                        i -= jump_thread(bb, inst, target, JUMP);
  ------------------
  |  |  245|     53|#define JUMP                                   257
  ------------------
 2499|     53|                        continue;
 2500|    282|                    case JUMP_NO_INTERRUPT:
  ------------------
  |  |  248|    282|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (2500:21): [True: 282, False: 86.1k]
  ------------------
 2501|    282|                        i -= jump_thread(bb, inst, target, opcode);
 2502|    282|                        continue;
 2503|  86.4k|                }
 2504|  86.1k|                break;
 2505|  86.1k|            case FOR_ITER:
  ------------------
  |  |   78|  2.46k|#define FOR_ITER                                65
  ------------------
  |  Branch (2505:13): [True: 2.46k, False: 4.99M]
  ------------------
 2506|  2.46k|                if (target->i_opcode == JUMP) {
  ------------------
  |  |  245|  2.46k|#define JUMP                                   257
  ------------------
  |  Branch (2506:21): [True: 0, False: 2.46k]
  ------------------
 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|  2.46k|                break;
 2517|   109k|            case STORE_FAST:
  ------------------
  |  |  121|   109k|#define STORE_FAST                             108
  ------------------
  |  Branch (2517:13): [True: 109k, False: 4.88M]
  ------------------
 2518|   109k|                if (opcode == nextop &&
  ------------------
  |  Branch (2518:21): [True: 52.6k, False: 56.7k]
  ------------------
 2519|  52.6k|                    oparg == bb->b_instr[i+1].i_oparg &&
  ------------------
  |  Branch (2519:21): [True: 352, False: 52.3k]
  ------------------
 2520|    352|                    bb->b_instr[i].i_loc.lineno == bb->b_instr[i+1].i_loc.lineno) {
  ------------------
  |  Branch (2520:21): [True: 349, False: 3]
  ------------------
 2521|    349|                    bb->b_instr[i].i_opcode = POP_TOP;
  ------------------
  |  |   42|    349|#define POP_TOP                                 29
  ------------------
 2522|    349|                    bb->b_instr[i].i_oparg = 0;
 2523|    349|                }
 2524|   109k|                break;
 2525|   114k|            case SWAP:
  ------------------
  |  |  126|   114k|#define SWAP                                   113
  ------------------
  |  Branch (2525:13): [True: 114k, False: 4.87M]
  ------------------
 2526|   114k|                if (oparg == 1) {
  ------------------
  |  Branch (2526:21): [True: 0, False: 114k]
  ------------------
 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|   114k|                break;
 2530|   114k|            case LOAD_GLOBAL:
  ------------------
  |  |  101|  82.5k|#define LOAD_GLOBAL                             88
  ------------------
  |  Branch (2530:13): [True: 82.5k, False: 4.91M]
  ------------------
 2531|  82.5k|                if (nextop == PUSH_NULL && (oparg & 1) == 0) {
  ------------------
  |  |   44|   165k|#define PUSH_NULL                               31
  ------------------
  |  Branch (2531:21): [True: 1.72k, False: 80.8k]
  |  Branch (2531:44): [True: 1.72k, False: 0]
  ------------------
 2532|  1.72k|                    INSTR_SET_OP1(inst, LOAD_GLOBAL, oparg | 1);
  ------------------
  |  |  116|  1.72k|    do { \
  |  |  117|  1.72k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|  1.72k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|  1.72k|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|  1.72k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|  1.72k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 1.72k]
  |  |  ------------------
  ------------------
  |  Branch (2532:21): [True: 1.72k, False: 0]
  ------------------
 2533|  1.72k|                    INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  125|  1.72k|    do { \
  |  |  126|  1.72k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  1.72k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  1.72k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  1.72k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  1.72k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 1.72k]
  |  |  ------------------
  ------------------
  |  Branch (2533:21): [True: 1.72k, False: 0]
  ------------------
 2534|  1.72k|                }
 2535|  82.5k|                break;
 2536|  92.1k|            case COMPARE_OP:
  ------------------
  |  |   67|  92.1k|#define COMPARE_OP                              54
  ------------------
  |  Branch (2536:13): [True: 92.1k, False: 4.90M]
  ------------------
 2537|  92.1k|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|  92.1k|#define TO_BOOL                                 37
  ------------------
  |  Branch (2537:21): [True: 3.77k, False: 88.3k]
  ------------------
 2538|  3.77k|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|  3.77k|    do { \
  |  |  126|  3.77k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  3.77k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  3.77k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  3.77k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  3.77k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 3.77k]
  |  |  ------------------
  ------------------
  |  Branch (2538:21): [True: 3.77k, False: 0]
  ------------------
 2539|  3.77k|                    INSTR_SET_OP1(&bb->b_instr[i + 1], COMPARE_OP, oparg | 16);
  ------------------
  |  |  116|  3.77k|    do { \
  |  |  117|  3.77k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|  3.77k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|  3.77k|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|  3.77k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|  3.77k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 3.77k]
  |  |  ------------------
  ------------------
  |  Branch (2539:21): [True: 3.77k, False: 0]
  ------------------
 2540|  3.77k|                    continue;
 2541|  3.77k|                }
 2542|  88.3k|                break;
 2543|  88.3k|            case CONTAINS_OP:
  ------------------
  |  |   68|  6.37k|#define CONTAINS_OP                             55
  ------------------
  |  Branch (2543:13): [True: 6.37k, False: 4.98M]
  ------------------
 2544|  13.0k|            case IS_OP:
  ------------------
  |  |   83|  13.0k|#define IS_OP                                   70
  ------------------
  |  Branch (2544:13): [True: 6.71k, False: 4.98M]
  ------------------
 2545|  13.0k|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|  13.0k|#define TO_BOOL                                 37
  ------------------
  |  Branch (2545:21): [True: 1.47k, False: 11.6k]
  ------------------
 2546|  1.47k|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|  1.47k|    do { \
  |  |  126|  1.47k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  1.47k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  1.47k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  1.47k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  1.47k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 1.47k]
  |  |  ------------------
  ------------------
  |  Branch (2546:21): [True: 1.47k, False: 0]
  ------------------
 2547|  1.47k|                    INSTR_SET_OP1(&bb->b_instr[i + 1], opcode, oparg);
  ------------------
  |  |  116|  1.47k|    do { \
  |  |  117|  1.47k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|  1.47k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|  1.47k|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|  1.47k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|  1.47k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 1.47k]
  |  |  ------------------
  ------------------
  |  Branch (2547:21): [True: 1.47k, False: 0]
  ------------------
 2548|  1.47k|                    continue;
 2549|  1.47k|                }
 2550|  11.6k|                if (nextop == UNARY_NOT) {
  ------------------
  |  |   53|  11.6k|#define UNARY_NOT                               40
  ------------------
  |  Branch (2550:21): [True: 1.02k, False: 10.6k]
  ------------------
 2551|  1.02k|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|  1.02k|    do { \
  |  |  126|  1.02k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  1.02k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  1.02k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  1.02k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  1.02k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 1.02k]
  |  |  ------------------
  ------------------
  |  Branch (2551:21): [True: 1.02k, False: 0]
  ------------------
 2552|  1.02k|                    int inverted = oparg ^ 1;
 2553|  1.02k|                    assert(inverted == 0 || inverted == 1);
  ------------------
  |  Branch (2553:21): [True: 463, False: 560]
  |  Branch (2553:21): [True: 560, False: 0]
  ------------------
 2554|  1.02k|                    INSTR_SET_OP1(&bb->b_instr[i + 1], opcode, inverted);
  ------------------
  |  |  116|  1.02k|    do { \
  |  |  117|  1.02k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|  1.02k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|  1.02k|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|  1.02k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|  1.02k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 1.02k]
  |  |  ------------------
  ------------------
  |  Branch (2554:21): [True: 1.02k, False: 0]
  ------------------
 2555|  1.02k|                    continue;
 2556|  1.02k|                }
 2557|  10.6k|                break;
 2558|  72.5k|            case TO_BOOL:
  ------------------
  |  |   50|  72.5k|#define TO_BOOL                                 37
  ------------------
  |  Branch (2558:13): [True: 72.5k, False: 4.92M]
  ------------------
 2559|  72.5k|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|  72.5k|#define TO_BOOL                                 37
  ------------------
  |  Branch (2559:21): [True: 0, False: 72.5k]
  ------------------
 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|  72.5k|                break;
 2564|  72.5k|            case UNARY_NOT:
  ------------------
  |  |   53|    332|#define UNARY_NOT                               40
  ------------------
  |  Branch (2564:13): [True: 332, False: 4.99M]
  ------------------
 2565|    332|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|    332|#define TO_BOOL                                 37
  ------------------
  |  Branch (2565:21): [True: 93, False: 239]
  ------------------
 2566|     93|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|     93|    do { \
  |  |  126|     93|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|     93|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|     93|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|     93|        _instr__ptr_->i_oparg = 0; \
  |  |  130|     93|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 93]
  |  |  ------------------
  ------------------
  |  Branch (2566:21): [True: 93, False: 0]
  ------------------
 2567|     93|                    INSTR_SET_OP0(&bb->b_instr[i + 1], UNARY_NOT);
  ------------------
  |  |  125|     93|    do { \
  |  |  126|     93|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|     93|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|     93|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|     93|        _instr__ptr_->i_oparg = 0; \
  |  |  130|     93|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 93]
  |  |  ------------------
  ------------------
  |  Branch (2567:21): [True: 93, False: 0]
  ------------------
 2568|     93|                    continue;
 2569|     93|                }
 2570|    239|                if (nextop == UNARY_NOT) {
  ------------------
  |  |   53|    239|#define UNARY_NOT                               40
  ------------------
  |  Branch (2570:21): [True: 93, False: 146]
  ------------------
 2571|     93|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|     93|    do { \
  |  |  126|     93|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|     93|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|     93|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|     93|        _instr__ptr_->i_oparg = 0; \
  |  |  130|     93|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 93]
  |  |  ------------------
  ------------------
  |  Branch (2571:21): [True: 93, False: 0]
  ------------------
 2572|     93|                    INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  125|     93|    do { \
  |  |  126|     93|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|     93|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|     93|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|     93|        _instr__ptr_->i_oparg = 0; \
  |  |  130|     93|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 93]
  |  |  ------------------
  ------------------
  |  Branch (2572:21): [True: 93, False: 0]
  ------------------
 2573|     93|                    continue;
 2574|     93|                }
 2575|    146|                _Py_FALLTHROUGH;
  ------------------
  |  |  644|    146|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 2576|  11.9k|            case UNARY_INVERT:
  ------------------
  |  |   51|  11.9k|#define UNARY_INVERT                            38
  ------------------
  |  Branch (2576:13): [True: 11.8k, False: 4.98M]
  ------------------
 2577|   170k|            case UNARY_NEGATIVE:
  ------------------
  |  |   52|   170k|#define UNARY_NEGATIVE                          39
  ------------------
  |  Branch (2577:13): [True: 158k, False: 4.83M]
  ------------------
 2578|   170k|                RETURN_IF_ERROR(fold_const_unaryop(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|   170k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 170k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2579|   170k|                break;
 2580|  76.5k|            case CALL_INTRINSIC_1:
  ------------------
  |  |   64|  76.5k|#define CALL_INTRINSIC_1                        51
  ------------------
  |  Branch (2580:13): [True: 76.5k, False: 4.91M]
  ------------------
 2581|  76.5k|                if (oparg == INTRINSIC_LIST_TO_TUPLE) {
  ------------------
  |  |   15|  76.5k|#define INTRINSIC_LIST_TO_TUPLE                  6
  ------------------
  |  Branch (2581:21): [True: 2.87k, False: 73.6k]
  ------------------
 2582|  2.87k|                    if (nextop == GET_ITER) {
  ------------------
  |  |   80|  2.87k|#define GET_ITER                                67
  ------------------
  |  Branch (2582:25): [True: 18, False: 2.85k]
  ------------------
 2583|     18|                        INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|     18|    do { \
  |  |  126|     18|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|     18|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|     18|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|     18|        _instr__ptr_->i_oparg = 0; \
  |  |  130|     18|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
  |  Branch (2583:25): [True: 18, False: 0]
  ------------------
 2584|     18|                    }
 2585|  2.85k|                    else {
 2586|  2.85k|                        RETURN_IF_ERROR(fold_constant_intrinsic_list_to_tuple(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|  2.85k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 2.85k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2587|  2.85k|                    }
 2588|  2.87k|                }
 2589|  73.6k|                else if (oparg == INTRINSIC_UNARY_POSITIVE) {
  ------------------
  |  |   14|  73.6k|#define INTRINSIC_UNARY_POSITIVE                 5
  ------------------
  |  Branch (2589:26): [True: 57.3k, False: 16.3k]
  ------------------
 2590|  57.3k|                    RETURN_IF_ERROR(fold_const_unaryop(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|  57.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 57.3k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2591|  57.3k|                }
 2592|  76.5k|                break;
 2593|   807k|            case BINARY_OP:
  ------------------
  |  |   55|   807k|#define BINARY_OP                               42
  ------------------
  |  Branch (2593:13): [True: 807k, False: 4.18M]
  ------------------
 2594|   807k|                RETURN_IF_ERROR(fold_const_binop(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   25|   807k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 807k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2595|   807k|                break;
 2596|  4.99M|        }
 2597|  4.99M|    }
 2598|       |
 2599|  5.45M|    for (int i = 0; i < bb->b_iused; i++) {
  ------------------
  |  Branch (2599:21): [True: 4.97M, False: 474k]
  ------------------
 2600|  4.97M|        cfg_instr *inst = &bb->b_instr[i];
 2601|  4.97M|        if (inst->i_opcode == SWAP) {
  ------------------
  |  |  126|  4.97M|#define SWAP                                   113
  ------------------
  |  Branch (2601:13): [True: 100k, False: 4.87M]
  ------------------
 2602|   100k|            if (swaptimize(bb, &i) < 0) {
  ------------------
  |  Branch (2602:17): [True: 0, False: 100k]
  ------------------
 2603|      0|                goto error;
 2604|      0|            }
 2605|   100k|            apply_static_swaps(bb, i);
 2606|   100k|        }
 2607|  4.97M|    }
 2608|   474k|    return SUCCESS;
  ------------------
  |  |   21|   474k|#define SUCCESS 0
  ------------------
 2609|      0|error:
 2610|      0|    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2611|   474k|}
flowgraph.c:fold_tuple_of_constants:
 1532|  72.3k|{
 1533|       |    /* Pre-conditions */
 1534|  72.3k|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (1534:5): [True: 72.3k, False: 0]
  ------------------
 1535|  72.3k|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (1535:5): [True: 72.3k, False: 0]
  ------------------
 1536|       |
 1537|  72.3k|    cfg_instr *instr = &bb->b_instr[i];
 1538|  72.3k|    assert(instr->i_opcode == BUILD_TUPLE);
  ------------------
  |  Branch (1538:5): [True: 72.3k, False: 0]
  ------------------
 1539|       |
 1540|  72.3k|    int seq_size = instr->i_oparg;
 1541|  72.3k|    if (seq_size > _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|  72.3k|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (1541:9): [True: 13, False: 72.3k]
  ------------------
 1542|     13|        return SUCCESS;
  ------------------
  |  |   21|     13|#define SUCCESS 0
  ------------------
 1543|     13|    }
 1544|       |
 1545|  72.3k|    cfg_instr *const_instrs[_PY_STACK_USE_GUIDELINE];
 1546|  72.3k|    if (!get_const_loading_instrs(bb, i-1, const_instrs, seq_size)) {
  ------------------
  |  Branch (1546:9): [True: 34.1k, False: 38.1k]
  ------------------
 1547|       |        /* not a const sequence */
 1548|  34.1k|        return SUCCESS;
  ------------------
  |  |   21|  34.1k|#define SUCCESS 0
  ------------------
 1549|  34.1k|    }
 1550|       |
 1551|  38.1k|    PyObject *const_tuple = PyTuple_New((Py_ssize_t)seq_size);
 1552|  38.1k|    if (const_tuple == NULL) {
  ------------------
  |  Branch (1552:9): [True: 0, False: 38.1k]
  ------------------
 1553|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1554|      0|    }
 1555|       |
 1556|  99.5k|    for (int i = 0; i < seq_size; i++) {
  ------------------
  |  Branch (1556:21): [True: 61.3k, False: 38.1k]
  ------------------
 1557|  61.3k|        cfg_instr *inst = const_instrs[i];
 1558|  61.3k|        assert(loads_const(inst->i_opcode));
  ------------------
  |  Branch (1558:9): [True: 61.3k, False: 0]
  ------------------
 1559|  61.3k|        PyObject *element = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 1560|  61.3k|        if (element == NULL) {
  ------------------
  |  Branch (1560:13): [True: 0, False: 61.3k]
  ------------------
 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|  61.3k|        PyTuple_SET_ITEM(const_tuple, i, element);
  ------------------
  |  |   40|  61.3k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  61.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  61.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  61.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  61.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1565|  61.3k|    }
 1566|       |
 1567|  38.1k|    nop_out(const_instrs, seq_size);
 1568|  38.1k|    return instr_make_load_const(instr, const_tuple, consts, const_cache, consts_index);
 1569|  38.1k|}
flowgraph.c:get_const_loading_instrs:
 1392|  1.11M|{
 1393|  1.11M|    assert(start < bb->b_iused);
  ------------------
  |  Branch (1393:5): [True: 1.11M, False: 0]
  ------------------
 1394|  1.11M|    assert(size >= 0);
  ------------------
  |  Branch (1394:5): [True: 1.11M, False: 0]
  ------------------
 1395|  1.11M|    assert(size <= _PY_STACK_USE_GUIDELINE);
  ------------------
  |  Branch (1395:5): [True: 1.11M, False: 0]
  ------------------
 1396|       |
 1397|  3.82M|    for (; start >= 0 && size > 0; start--) {
  ------------------
  |  Branch (1397:12): [True: 3.82M, False: 5.61k]
  |  Branch (1397:26): [True: 2.99M, False: 828k]
  ------------------
 1398|  2.99M|        cfg_instr *instr = &bb->b_instr[start];
 1399|  2.99M|        if (instr->i_opcode == NOP) {
  ------------------
  |  |   38|  2.99M|#define NOP                                     25
  ------------------
  |  Branch (1399:13): [True: 1.13M, False: 1.86M]
  ------------------
 1400|  1.13M|            continue;
 1401|  1.13M|        }
 1402|  1.86M|        if (!loads_const(instr->i_opcode)) {
  ------------------
  |  Branch (1402:13): [True: 278k, False: 1.58M]
  ------------------
 1403|   278k|            return false;
 1404|   278k|        }
 1405|  1.58M|        instrs[--size] = instr;
 1406|  1.58M|    }
 1407|       |
 1408|   833k|    return size == 0;
 1409|  1.11M|}
flowgraph.c:nop_out:
 1417|   798k|{
 1418|  2.18M|    for (int i = 0; i < size; i++) {
  ------------------
  |  Branch (1418:21): [True: 1.38M, False: 798k]
  ------------------
 1419|  1.38M|        cfg_instr *instr = instrs[i];
 1420|  1.38M|        assert(instr->i_opcode != NOP);
  ------------------
  |  Branch (1420:9): [True: 1.38M, False: 0]
  ------------------
 1421|  1.38M|        INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  125|  1.38M|    do { \
  |  |  126|  1.38M|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  1.38M|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  1.38M|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  1.38M|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  1.38M|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 1.38M]
  |  |  ------------------
  ------------------
  |  Branch (1421:9): [True: 1.38M, False: 0]
  ------------------
 1422|  1.38M|        INSTR_SET_LOC(instr, NO_LOCATION);
  ------------------
  |  |  133|  1.38M|    do { \
  |  |  134|  1.38M|        cfg_instr *_instr__ptr_ = (I); \
  |  |  135|  1.38M|        _instr__ptr_->i_loc = (LOC); \
  |  |  136|  1.38M|    } while (0);
  |  |  ------------------
  |  |  |  Branch (136:14): [Folded, False: 1.38M]
  |  |  ------------------
  ------------------
 1423|  1.38M|    }
 1424|   798k|}
flowgraph.c:instr_make_load_const:
 1500|   775k|{
 1501|   775k|    int res = maybe_instr_make_load_smallint(instr, newconst, consts, const_cache);
 1502|   775k|    if (res < 0) {
  ------------------
  |  Branch (1502:9): [True: 0, False: 775k]
  ------------------
 1503|      0|        Py_DECREF(newconst);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1504|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1505|      0|    }
 1506|   775k|    if (res > 0) {
  ------------------
  |  Branch (1506:9): [True: 82.9k, False: 692k]
  ------------------
 1507|  82.9k|        return SUCCESS;
  ------------------
  |  |   21|  82.9k|#define SUCCESS 0
  ------------------
 1508|  82.9k|    }
 1509|   692k|    res = maybe_instr_make_load_common_const(instr, newconst);
 1510|   692k|    if (res < 0) {
  ------------------
  |  Branch (1510:9): [True: 0, False: 692k]
  ------------------
 1511|      0|        Py_DECREF(newconst);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1512|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1513|      0|    }
 1514|   692k|    if (res > 0) {
  ------------------
  |  Branch (1514:9): [True: 42.6k, False: 650k]
  ------------------
 1515|  42.6k|        return SUCCESS;
  ------------------
  |  |   21|  42.6k|#define SUCCESS 0
  ------------------
 1516|  42.6k|    }
 1517|   650k|    int oparg = add_const(newconst, consts, const_cache, consts_index);
 1518|   650k|    RETURN_IF_ERROR(oparg);
  ------------------
  |  |   25|   650k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 650k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1519|   650k|    INSTR_SET_OP1(instr, LOAD_CONST, oparg);
  ------------------
  |  |  116|   650k|    do { \
  |  |  117|   650k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|   650k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|   650k|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|   650k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|   650k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 650k]
  |  |  ------------------
  ------------------
  |  Branch (1519:5): [True: 650k, False: 0]
  ------------------
 1520|   650k|    return SUCCESS;
  ------------------
  |  |   21|   650k|#define SUCCESS 0
  ------------------
 1521|   650k|}
flowgraph.c:optimize_lists_and_sets:
 1677|  17.4k|{
 1678|  17.4k|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (1678:5): [True: 17.4k, False: 0]
  ------------------
 1679|  17.4k|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (1679:5): [True: 17.4k, False: 0]
  ------------------
 1680|       |
 1681|  17.4k|    cfg_instr *instr = &bb->b_instr[i];
 1682|  17.4k|    assert(instr->i_opcode == BUILD_LIST || instr->i_opcode == BUILD_SET);
  ------------------
  |  Branch (1682:5): [True: 6.35k, False: 11.0k]
  |  Branch (1682:5): [True: 11.0k, False: 0]
  ------------------
 1683|       |
 1684|  17.4k|    bool contains_or_iter = nextop == GET_ITER || nextop == CONTAINS_OP;
  ------------------
  |  |   80|  34.8k|#define GET_ITER                                67
  ------------------
                  bool contains_or_iter = nextop == GET_ITER || nextop == CONTAINS_OP;
  ------------------
  |  |   68|  34.8k|#define CONTAINS_OP                             55
  ------------------
  |  Branch (1684:29): [True: 0, False: 17.4k]
  |  Branch (1684:51): [True: 317, False: 17.0k]
  ------------------
 1685|  17.4k|    int seq_size = instr->i_oparg;
 1686|  17.4k|    if (seq_size > _PY_STACK_USE_GUIDELINE ||
  ------------------
  |  |   24|  34.8k|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (1686:9): [True: 0, False: 17.4k]
  ------------------
 1687|  17.4k|        (seq_size < MIN_CONST_SEQUENCE_SIZE && !contains_or_iter))
  ------------------
  |  | 1661|  34.8k|#define MIN_CONST_SEQUENCE_SIZE 3
  ------------------
  |  Branch (1687:10): [True: 12.6k, False: 4.79k]
  |  Branch (1687:48): [True: 12.2k, False: 317]
  ------------------
 1688|  12.2k|    {
 1689|  12.2k|        return SUCCESS;
  ------------------
  |  |   21|  12.2k|#define SUCCESS 0
  ------------------
 1690|  12.2k|    }
 1691|       |
 1692|  5.11k|    cfg_instr *const_instrs[_PY_STACK_USE_GUIDELINE];
 1693|  5.11k|    if (!get_const_loading_instrs(bb, i-1, const_instrs, seq_size)) {  /* not a const sequence */
  ------------------
  |  Branch (1693:9): [True: 677, False: 4.43k]
  ------------------
 1694|    677|        if (contains_or_iter && instr->i_opcode == BUILD_LIST) {
  ------------------
  |  |   57|    141|#define BUILD_LIST                              44
  ------------------
  |  Branch (1694:13): [True: 141, False: 536]
  |  Branch (1694:33): [True: 3, False: 138]
  ------------------
 1695|       |            /* iterate over a tuple instead of list */
 1696|      3|            INSTR_SET_OP1(instr, BUILD_TUPLE, instr->i_oparg);
  ------------------
  |  |  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 (1696:13): [True: 3, False: 0]
  ------------------
 1697|      3|        }
 1698|    677|        return SUCCESS;
  ------------------
  |  |   21|    677|#define SUCCESS 0
  ------------------
 1699|    677|    }
 1700|       |
 1701|  4.43k|    PyObject *const_result = PyTuple_New((Py_ssize_t)seq_size);
 1702|  4.43k|    if (const_result == NULL) {
  ------------------
  |  Branch (1702:9): [True: 0, False: 4.43k]
  ------------------
 1703|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1704|      0|    }
 1705|       |
 1706|  24.7k|    for (int i = 0; i < seq_size; i++) {
  ------------------
  |  Branch (1706:21): [True: 20.3k, False: 4.43k]
  ------------------
 1707|  20.3k|        cfg_instr *inst = const_instrs[i];
 1708|  20.3k|        assert(loads_const(inst->i_opcode));
  ------------------
  |  Branch (1708:9): [True: 20.3k, False: 0]
  ------------------
 1709|  20.3k|        PyObject *element = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 1710|  20.3k|        if (element == NULL) {
  ------------------
  |  Branch (1710:13): [True: 0, False: 20.3k]
  ------------------
 1711|      0|            Py_DECREF(const_result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1712|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1713|      0|        }
 1714|  20.3k|        PyTuple_SET_ITEM(const_result, i, element);
  ------------------
  |  |   40|  20.3k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  20.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  20.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1715|  20.3k|    }
 1716|       |
 1717|  4.43k|    if (instr->i_opcode == BUILD_SET) {
  ------------------
  |  |   59|  4.43k|#define BUILD_SET                               46
  ------------------
  |  Branch (1717:9): [True: 4.29k, False: 139]
  ------------------
 1718|  4.29k|        PyObject *frozenset = PyFrozenSet_New(const_result);
 1719|  4.29k|        if (frozenset == NULL) {
  ------------------
  |  Branch (1719:13): [True: 0, False: 4.29k]
  ------------------
 1720|      0|            Py_DECREF(const_result);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1721|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1722|      0|        }
 1723|  4.29k|        Py_SETREF(const_result, frozenset);
  ------------------
  |  |  354|  4.29k|    do { \
  |  |  355|  4.29k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  4.29k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|  4.29k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.29k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|  4.29k|        *_tmp_dst_ptr = (src); \
  |  |  358|  4.29k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  4.29k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|  4.29k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 4.29k]
  |  |  ------------------
  ------------------
 1724|  4.29k|    }
 1725|       |
 1726|  4.43k|    int index = add_const(const_result, consts, const_cache, consts_index);
 1727|  4.43k|    RETURN_IF_ERROR(index);
  ------------------
  |  |   25|  4.43k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 4.43k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1728|  4.43k|    nop_out(const_instrs, seq_size);
 1729|       |
 1730|  4.43k|    if (contains_or_iter) {
  ------------------
  |  Branch (1730:9): [True: 176, False: 4.25k]
  ------------------
 1731|    176|        INSTR_SET_OP1(instr, LOAD_CONST, index);
  ------------------
  |  |  116|    176|    do { \
  |  |  117|    176|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|    176|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|    176|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|    176|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|    176|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 176]
  |  |  ------------------
  ------------------
  |  Branch (1731:9): [True: 176, False: 0]
  ------------------
 1732|    176|    }
 1733|  4.25k|    else {
 1734|  4.25k|        assert(i >= 2);
  ------------------
  |  Branch (1734:9): [True: 4.25k, False: 0]
  ------------------
 1735|  4.25k|        assert(instr->i_opcode == BUILD_LIST || instr->i_opcode == BUILD_SET);
  ------------------
  |  Branch (1735:9): [True: 129, False: 4.13k]
  |  Branch (1735:9): [True: 4.13k, False: 0]
  ------------------
 1736|       |
 1737|  4.25k|        INSTR_SET_LOC(&bb->b_instr[i-2], instr->i_loc);
  ------------------
  |  |  133|  4.25k|    do { \
  |  |  134|  4.25k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  135|  4.25k|        _instr__ptr_->i_loc = (LOC); \
  |  |  136|  4.25k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (136:14): [Folded, False: 4.25k]
  |  |  ------------------
  ------------------
 1738|       |
 1739|  4.25k|        INSTR_SET_OP1(&bb->b_instr[i-2], instr->i_opcode, 0);
  ------------------
  |  |  116|  4.25k|    do { \
  |  |  117|  4.25k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|  4.25k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|  4.25k|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|  4.25k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|  4.25k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 4.25k]
  |  |  ------------------
  ------------------
  |  Branch (1739:9): [True: 4.25k, False: 0]
  ------------------
 1740|  4.25k|        INSTR_SET_OP1(&bb->b_instr[i-1], LOAD_CONST, index);
  ------------------
  |  |  116|  4.25k|    do { \
  |  |  117|  4.25k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|  4.25k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|  4.25k|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|  4.25k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|  4.25k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 4.25k]
  |  |  ------------------
  ------------------
  |  Branch (1740:9): [True: 4.25k, False: 0]
  ------------------
 1741|  4.25k|        INSTR_SET_OP1(&bb->b_instr[i], instr->i_opcode == BUILD_LIST ? LIST_EXTEND : SET_UPDATE, 1);
  ------------------
  |  |  116|  4.25k|    do { \
  |  |  117|  4.25k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|  4.25k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|  8.51k|        _instr__ptr_->i_opcode = (OP); \
  |  |  ------------------
  |  |  |  Branch (119:35): [True: 129, False: 4.13k]
  |  |  ------------------
  |  |  120|  4.25k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|  4.25k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 4.25k]
  |  |  ------------------
  ------------------
  |  Branch (1741:9): [True: 129, False: 4.13k]
  |  Branch (1741:9): [True: 4.25k, False: 0]
  ------------------
 1742|  4.25k|    }
 1743|  4.43k|    return SUCCESS;
  ------------------
  |  |   21|  4.43k|#define SUCCESS 0
  ------------------
 1744|  4.43k|}
flowgraph.c:jump_thread:
 1282|  1.51k|{
 1283|  1.51k|    assert(is_jump(inst));
  ------------------
  |  Branch (1283:5): [True: 1.51k, False: 0]
  ------------------
 1284|  1.51k|    assert(is_jump(target));
  ------------------
  |  Branch (1284:5): [True: 1.51k, False: 0]
  ------------------
 1285|  1.51k|    assert(inst == basicblock_last_instr(bb));
  ------------------
  |  Branch (1285:5): [True: 1.51k, False: 0]
  ------------------
 1286|       |    // bpo-45773: If inst->i_target == target->i_target, then nothing actually
 1287|       |    // changes (and we fall into an infinite loop):
 1288|  1.51k|    if (inst->i_target != target->i_target) {
  ------------------
  |  Branch (1288:9): [True: 1.51k, False: 0]
  ------------------
 1289|       |        /* Change inst to NOP and append a jump to target->i_target. The
 1290|       |         * NOP will be removed later if it's not needed for the lineno.
 1291|       |         */
 1292|  1.51k|        INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  125|  1.51k|    do { \
  |  |  126|  1.51k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  1.51k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  1.51k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  1.51k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  1.51k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 1.51k]
  |  |  ------------------
  ------------------
  |  Branch (1292:9): [True: 1.51k, False: 0]
  ------------------
 1293|       |
 1294|  1.51k|        RETURN_IF_ERROR(
  ------------------
  |  |   25|  1.51k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 1.51k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1295|  1.51k|            basicblock_add_jump(
 1296|  1.51k|                bb, opcode, target->i_target, target->i_loc));
 1297|       |
 1298|  1.51k|        return true;
 1299|  1.51k|    }
 1300|      0|    return false;
 1301|  1.51k|}
flowgraph.c:basicblock_add_jump:
  215|  1.54k|{
  216|  1.54k|    cfg_instr *last = basicblock_last_instr(b);
  217|  1.54k|    if (last && is_jump(last)) {
  ------------------
  |  Branch (217:9): [True: 1.54k, False: 0]
  |  Branch (217:17): [True: 0, False: 1.54k]
  ------------------
  218|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  219|      0|    }
  220|       |
  221|  1.54k|    RETURN_IF_ERROR(
  ------------------
  |  |   25|  1.54k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 1.54k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  222|  1.54k|        basicblock_addop(b, opcode, target->b_label.id, loc));
  223|  1.54k|    last = basicblock_last_instr(b);
  224|  1.54k|    assert(last && last->i_opcode == opcode);
  ------------------
  |  Branch (224:5): [True: 1.54k, False: 0]
  |  Branch (224:5): [True: 1.54k, False: 0]
  ------------------
  225|  1.54k|    last->i_target = target;
  226|  1.54k|    return SUCCESS;
  ------------------
  |  |   21|  1.54k|#define SUCCESS 0
  ------------------
  227|  1.54k|}
flowgraph.c:fold_const_unaryop:
 2014|   227k|{
 2015|   227k|    #define UNARYOP_OPERAND_COUNT 1
 2016|   227k|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (2016:5): [True: 227k, False: 0]
  ------------------
 2017|   227k|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (2017:5): [True: 227k, False: 0]
  ------------------
 2018|   227k|    cfg_instr *unaryop = &bb->b_instr[i];
 2019|       |
 2020|   227k|    cfg_instr *operand_instr;
 2021|   227k|    if (!get_const_loading_instrs(bb, i-1, &operand_instr, UNARYOP_OPERAND_COUNT)) {
  ------------------
  |  | 2015|   227k|    #define UNARYOP_OPERAND_COUNT 1
  ------------------
  |  Branch (2021:9): [True: 34.9k, False: 192k]
  ------------------
 2022|       |        /* not a const */
 2023|  34.9k|        return SUCCESS;
  ------------------
  |  |   21|  34.9k|#define SUCCESS 0
  ------------------
 2024|  34.9k|    }
 2025|       |
 2026|   227k|    assert(loads_const(operand_instr->i_opcode));
  ------------------
  |  Branch (2026:5): [True: 192k, False: 0]
  ------------------
 2027|   192k|    PyObject *operand = get_const_value(
 2028|   192k|        operand_instr->i_opcode,
 2029|   192k|        operand_instr->i_oparg,
 2030|   192k|        consts
 2031|   192k|    );
 2032|   192k|    if (operand == NULL) {
  ------------------
  |  Branch (2032:9): [True: 0, False: 192k]
  ------------------
 2033|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2034|      0|    }
 2035|       |
 2036|   192k|    PyObject *newconst = eval_const_unaryop(operand, unaryop->i_opcode, unaryop->i_oparg);
 2037|   192k|    Py_DECREF(operand);
  ------------------
  |  |  430|   192k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   192k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   192k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2038|   192k|    if (newconst == NULL) {
  ------------------
  |  Branch (2038:9): [True: 1.50k, False: 190k]
  ------------------
 2039|  1.50k|        if (PyErr_ExceptionMatches(PyExc_KeyboardInterrupt)) {
  ------------------
  |  Branch (2039:13): [True: 0, False: 1.50k]
  ------------------
 2040|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2041|      0|        }
 2042|  1.50k|        PyErr_Clear();
 2043|  1.50k|        return SUCCESS;
  ------------------
  |  |   21|  1.50k|#define SUCCESS 0
  ------------------
 2044|  1.50k|    }
 2045|       |
 2046|   190k|    if (unaryop->i_opcode == UNARY_NOT) {
  ------------------
  |  |   53|   190k|#define UNARY_NOT                               40
  ------------------
  |  Branch (2046:9): [True: 61, False: 190k]
  ------------------
 2047|     61|        assert(PyBool_Check(newconst));
  ------------------
  |  Branch (2047:9): [True: 61, False: 0]
  ------------------
 2048|     61|    }
 2049|   190k|    nop_out(&operand_instr, UNARYOP_OPERAND_COUNT);
  ------------------
  |  | 2015|   190k|    #define UNARYOP_OPERAND_COUNT 1
  ------------------
 2050|   190k|    return instr_make_load_const(unaryop, newconst, consts, const_cache, consts_index);
 2051|   190k|}
flowgraph.c:eval_const_unaryop:
 1971|   192k|{
 1972|   192k|    assert(operand != NULL);
  ------------------
  |  Branch (1972:5): [True: 192k, False: 0]
  ------------------
 1973|   192k|    assert(
  ------------------
  |  Branch (1973:5): [True: 145k, False: 47.3k]
  |  Branch (1973:5): [True: 11.4k, False: 35.8k]
  |  Branch (1973:5): [True: 61, False: 35.8k]
  |  Branch (1973:5): [True: 35.8k, False: 0]
  |  Branch (1973:5): [True: 35.8k, False: 0]
  ------------------
 1974|   192k|        opcode == UNARY_NEGATIVE ||
 1975|   192k|        opcode == UNARY_INVERT ||
 1976|   192k|        opcode == UNARY_NOT ||
 1977|   192k|        (opcode == CALL_INTRINSIC_1 && oparg == INTRINSIC_UNARY_POSITIVE)
 1978|   192k|    );
 1979|   192k|    PyObject *result;
 1980|   192k|    switch (opcode) {
 1981|   145k|        case UNARY_NEGATIVE:
  ------------------
  |  |   52|   145k|#define UNARY_NEGATIVE                          39
  ------------------
  |  Branch (1981:9): [True: 145k, False: 47.3k]
  ------------------
 1982|   145k|            result = PyNumber_Negative(operand);
 1983|   145k|            break;
 1984|  11.4k|        case UNARY_INVERT:
  ------------------
  |  |   51|  11.4k|#define UNARY_INVERT                            38
  ------------------
  |  Branch (1984:9): [True: 11.4k, False: 180k]
  ------------------
 1985|       |            // XXX: This should be removed once the ~bool depreciation expires.
 1986|  11.4k|            if (PyBool_Check(operand)) {
  ------------------
  |  |   12|  11.4k|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|  11.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 70, False: 11.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1987|     70|                return NULL;
 1988|     70|            }
 1989|  11.4k|            result = PyNumber_Invert(operand);
 1990|  11.4k|            break;
 1991|     61|        case UNARY_NOT: {
  ------------------
  |  |   53|     61|#define UNARY_NOT                               40
  ------------------
  |  Branch (1991:9): [True: 61, False: 192k]
  ------------------
 1992|     61|            int r = PyObject_IsTrue(operand);
 1993|     61|            if (r < 0) {
  ------------------
  |  Branch (1993:17): [True: 0, False: 61]
  ------------------
 1994|      0|                return NULL;
 1995|      0|            }
 1996|     61|            result = PyBool_FromLong(!r);
 1997|     61|            break;
 1998|     61|        }
 1999|  35.8k|        case CALL_INTRINSIC_1:
  ------------------
  |  |   64|  35.8k|#define CALL_INTRINSIC_1                        51
  ------------------
  |  Branch (1999:9): [True: 35.8k, False: 156k]
  ------------------
 2000|  35.8k|            if (oparg != INTRINSIC_UNARY_POSITIVE) {
  ------------------
  |  |   14|  35.8k|#define INTRINSIC_UNARY_POSITIVE                 5
  ------------------
  |  Branch (2000:17): [True: 0, False: 35.8k]
  ------------------
 2001|      0|                Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2002|      0|            }
 2003|  35.8k|            result = PyNumber_Positive(operand);
 2004|  35.8k|            break;
 2005|      0|        default:
  ------------------
  |  Branch (2005:9): [True: 0, False: 192k]
  ------------------
 2006|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2007|   192k|    }
 2008|   192k|    return result;
 2009|   192k|}
flowgraph.c:fold_constant_intrinsic_list_to_tuple:
 1588|  2.85k|{
 1589|  2.85k|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (1589:5): [True: 2.85k, False: 0]
  ------------------
 1590|  2.85k|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (1590:5): [True: 2.85k, False: 0]
  ------------------
 1591|  2.85k|    assert(i >= 0);
  ------------------
  |  Branch (1591:5): [True: 2.85k, False: 0]
  ------------------
 1592|  2.85k|    assert(i < bb->b_iused);
  ------------------
  |  Branch (1592:5): [True: 2.85k, False: 0]
  ------------------
 1593|       |
 1594|  2.85k|    cfg_instr *intrinsic = &bb->b_instr[i];
 1595|  2.85k|    assert(intrinsic->i_opcode == CALL_INTRINSIC_1);
  ------------------
  |  Branch (1595:5): [True: 2.85k, False: 0]
  ------------------
 1596|  2.85k|    assert(intrinsic->i_oparg == INTRINSIC_LIST_TO_TUPLE);
  ------------------
  |  Branch (1596:5): [True: 2.85k, False: 0]
  ------------------
 1597|       |
 1598|  2.85k|    int consts_found = 0;
 1599|  2.85k|    bool expect_append = true;
 1600|       |
 1601|  66.5k|    for (int pos = i - 1; pos >= 0; pos--) {
  ------------------
  |  Branch (1601:27): [True: 66.4k, False: 80]
  ------------------
 1602|  66.4k|        cfg_instr *instr = &bb->b_instr[pos];
 1603|  66.4k|        int opcode = instr->i_opcode;
 1604|  66.4k|        int oparg = instr->i_oparg;
 1605|       |
 1606|  66.4k|        if (opcode == NOP) {
  ------------------
  |  |   38|  66.4k|#define NOP                                     25
  ------------------
  |  Branch (1606:13): [True: 36.5k, False: 29.9k]
  ------------------
 1607|  36.5k|            continue;
 1608|  36.5k|        }
 1609|       |
 1610|  29.9k|        if (opcode == BUILD_LIST && oparg == 0) {
  ------------------
  |  |   57|  59.9k|#define BUILD_LIST                              44
  ------------------
  |  Branch (1610:13): [True: 220, False: 29.7k]
  |  Branch (1610:37): [True: 103, False: 117]
  ------------------
 1611|    103|            if (!expect_append) {
  ------------------
  |  Branch (1611:17): [True: 1, False: 102]
  ------------------
 1612|       |                /* Not a sequence start. */
 1613|      1|                return SUCCESS;
  ------------------
  |  |   21|      1|#define SUCCESS 0
  ------------------
 1614|      1|            }
 1615|       |
 1616|       |            /* Sequence start, we are done. */
 1617|    102|            PyObject *newconst = PyTuple_New((Py_ssize_t)consts_found);
 1618|    102|            if (newconst == NULL) {
  ------------------
  |  Branch (1618:17): [True: 0, False: 102]
  ------------------
 1619|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1620|      0|            }
 1621|       |
 1622|  43.0k|            for (int newpos = i - 1; newpos >= pos; newpos--) {
  ------------------
  |  Branch (1622:38): [True: 42.9k, False: 102]
  ------------------
 1623|  42.9k|                instr = &bb->b_instr[newpos];
 1624|  42.9k|                if (instr->i_opcode == NOP) {
  ------------------
  |  |   38|  42.9k|#define NOP                                     25
  ------------------
  |  Branch (1624:21): [True: 24.7k, False: 18.2k]
  ------------------
 1625|  24.7k|                    continue;
 1626|  24.7k|                }
 1627|  18.2k|                if (loads_const(instr->i_opcode)) {
  ------------------
  |  Branch (1627:21): [True: 9.06k, False: 9.16k]
  ------------------
 1628|  9.06k|                    PyObject *constant = get_const_value(instr->i_opcode, instr->i_oparg, consts);
 1629|  9.06k|                    if (constant == NULL) {
  ------------------
  |  Branch (1629:25): [True: 0, False: 9.06k]
  ------------------
 1630|      0|                        Py_DECREF(newconst);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1631|      0|                        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1632|      0|                    }
 1633|  9.06k|                    assert(consts_found > 0);
  ------------------
  |  Branch (1633:21): [True: 9.06k, False: 0]
  ------------------
 1634|  9.06k|                    PyTuple_SET_ITEM(newconst, --consts_found, constant);
  ------------------
  |  |   40|  9.06k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  9.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  9.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1635|  9.06k|                }
 1636|  18.2k|                nop_out(&instr, 1);
 1637|  18.2k|            }
 1638|    102|            assert(consts_found == 0);
  ------------------
  |  Branch (1638:13): [True: 102, False: 0]
  ------------------
 1639|    102|            return instr_make_load_const(intrinsic, newconst, consts, const_cache, consts_index);
 1640|    102|        }
 1641|       |
 1642|  29.8k|        if (expect_append) {
  ------------------
  |  Branch (1642:13): [True: 15.5k, False: 14.3k]
  ------------------
 1643|  15.5k|            if (opcode != LIST_APPEND || oparg != 1) {
  ------------------
  |  |   87|  31.0k|#define LIST_APPEND                             74
  ------------------
  |  Branch (1643:17): [True: 1.07k, False: 14.4k]
  |  Branch (1643:42): [True: 0, False: 14.4k]
  ------------------
 1644|  1.07k|                return SUCCESS;
  ------------------
  |  |   21|  1.07k|#define SUCCESS 0
  ------------------
 1645|  1.07k|            }
 1646|  15.5k|        }
 1647|  14.3k|        else {
 1648|  14.3k|            if (!loads_const(opcode)) {
  ------------------
  |  Branch (1648:17): [True: 1.59k, False: 12.7k]
  ------------------
 1649|  1.59k|                return SUCCESS;
  ------------------
  |  |   21|  1.59k|#define SUCCESS 0
  ------------------
 1650|  1.59k|            }
 1651|  12.7k|            consts_found++;
 1652|  12.7k|        }
 1653|       |
 1654|  27.1k|        expect_append = !expect_append;
 1655|  27.1k|    }
 1656|       |
 1657|       |    /* Did not find sequence start. */
 1658|     80|    return SUCCESS;
  ------------------
  |  |   21|     80|#define SUCCESS 0
  ------------------
 1659|  2.85k|}
flowgraph.c:fold_const_binop:
 1925|   807k|{
 1926|   807k|    #define BINOP_OPERAND_COUNT 2
 1927|   807k|    assert(PyDict_CheckExact(const_cache));
  ------------------
  |  Branch (1927:5): [True: 807k, False: 0]
  ------------------
 1928|   807k|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (1928:5): [True: 807k, False: 0]
  ------------------
 1929|       |
 1930|   807k|    cfg_instr *binop = &bb->b_instr[i];
 1931|   807k|    assert(binop->i_opcode == BINARY_OP);
  ------------------
  |  Branch (1931:5): [True: 807k, False: 0]
  ------------------
 1932|       |
 1933|   807k|    cfg_instr *operands_instrs[BINOP_OPERAND_COUNT];
 1934|   807k|    if (!get_const_loading_instrs(bb, i-1, operands_instrs, BINOP_OPERAND_COUNT)) {
  ------------------
  |  | 1926|   807k|    #define BINOP_OPERAND_COUNT 2
  ------------------
  |  Branch (1934:9): [True: 208k, False: 598k]
  ------------------
 1935|       |        /* not a const sequence */
 1936|   208k|        return SUCCESS;
  ------------------
  |  |   21|   208k|#define SUCCESS 0
  ------------------
 1937|   208k|    }
 1938|       |
 1939|   598k|    cfg_instr *lhs_instr = operands_instrs[0];
 1940|   598k|    assert(loads_const(lhs_instr->i_opcode));
  ------------------
  |  Branch (1940:5): [True: 598k, False: 0]
  ------------------
 1941|   598k|    PyObject *lhs = get_const_value(lhs_instr->i_opcode, lhs_instr->i_oparg, consts);
 1942|   598k|    if (lhs == NULL) {
  ------------------
  |  Branch (1942:9): [True: 0, False: 598k]
  ------------------
 1943|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1944|      0|    }
 1945|       |
 1946|   598k|    cfg_instr *rhs_instr = operands_instrs[1];
 1947|   598k|    assert(loads_const(rhs_instr->i_opcode));
  ------------------
  |  Branch (1947:5): [True: 598k, False: 0]
  ------------------
 1948|   598k|    PyObject *rhs = get_const_value(rhs_instr->i_opcode, rhs_instr->i_oparg, consts);
 1949|   598k|    if (rhs == NULL) {
  ------------------
  |  Branch (1949:9): [True: 0, False: 598k]
  ------------------
 1950|      0|        Py_DECREF(lhs);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1951|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1952|      0|    }
 1953|       |
 1954|   598k|    PyObject *newconst = eval_const_binop(lhs, binop->i_oparg, rhs);
 1955|   598k|    Py_DECREF(lhs);
  ------------------
  |  |  430|   598k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   598k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   598k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1956|   598k|    Py_DECREF(rhs);
  ------------------
  |  |  430|   598k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   598k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   598k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1957|   598k|    if (newconst == NULL) {
  ------------------
  |  Branch (1957:9): [True: 51.8k, False: 546k]
  ------------------
 1958|  51.8k|        if (PyErr_ExceptionMatches(PyExc_KeyboardInterrupt)) {
  ------------------
  |  Branch (1958:13): [True: 0, False: 51.8k]
  ------------------
 1959|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1960|      0|        }
 1961|  51.8k|        PyErr_Clear();
 1962|  51.8k|        return SUCCESS;
  ------------------
  |  |   21|  51.8k|#define SUCCESS 0
  ------------------
 1963|  51.8k|    }
 1964|       |
 1965|   546k|    nop_out(operands_instrs, BINOP_OPERAND_COUNT);
  ------------------
  |  | 1926|   546k|    #define BINOP_OPERAND_COUNT 2
  ------------------
 1966|   546k|    return instr_make_load_const(binop, newconst, consts, const_cache, consts_index);
 1967|   598k|}
flowgraph.c:eval_const_binop:
 1868|   598k|{
 1869|   598k|    assert(left != NULL && right != NULL);
  ------------------
  |  Branch (1869:5): [True: 598k, False: 0]
  |  Branch (1869:5): [True: 598k, False: 0]
  ------------------
 1870|   598k|    assert(op >= 0 && op <= NB_OPARG_LAST);
  ------------------
  |  Branch (1870:5): [True: 598k, False: 0]
  |  Branch (1870:5): [True: 598k, False: 0]
  ------------------
 1871|       |
 1872|   598k|    PyObject *result = NULL;
 1873|   598k|    switch (op) {
 1874|  80.9k|        case NB_ADD:
  ------------------
  |  |   10|  80.9k|#define NB_ADD                                   0
  ------------------
  |  Branch (1874:9): [True: 80.9k, False: 517k]
  ------------------
 1875|  80.9k|            result = PyNumber_Add(left, right);
 1876|  80.9k|            break;
 1877|  81.3k|        case NB_SUBTRACT:
  ------------------
  |  |   20|  81.3k|#define NB_SUBTRACT                             10
  ------------------
  |  Branch (1877:9): [True: 81.3k, False: 516k]
  ------------------
 1878|  81.3k|            result = PyNumber_Subtract(left, right);
 1879|  81.3k|            break;
 1880|   135k|        case NB_MULTIPLY:
  ------------------
  |  |   15|   135k|#define NB_MULTIPLY                              5
  ------------------
  |  Branch (1880:9): [True: 135k, False: 462k]
  ------------------
 1881|   135k|            result = const_folding_safe_multiply(left, right);
 1882|   135k|            break;
 1883|  74.2k|        case NB_TRUE_DIVIDE:
  ------------------
  |  |   21|  74.2k|#define NB_TRUE_DIVIDE                          11
  ------------------
  |  Branch (1883:9): [True: 74.2k, False: 524k]
  ------------------
 1884|  74.2k|            result = PyNumber_TrueDivide(left, right);
 1885|  74.2k|            break;
 1886|  24.6k|        case NB_FLOOR_DIVIDE:
  ------------------
  |  |   12|  24.6k|#define NB_FLOOR_DIVIDE                          2
  ------------------
  |  Branch (1886:9): [True: 24.6k, False: 573k]
  ------------------
 1887|  24.6k|            result = PyNumber_FloorDivide(left, right);
 1888|  24.6k|            break;
 1889|  34.8k|        case NB_REMAINDER:
  ------------------
  |  |   16|  34.8k|#define NB_REMAINDER                             6
  ------------------
  |  Branch (1889:9): [True: 34.8k, False: 563k]
  ------------------
 1890|  34.8k|            result = const_folding_safe_mod(left, right);
 1891|  34.8k|            break;
 1892|   116k|        case NB_POWER:
  ------------------
  |  |   18|   116k|#define NB_POWER                                 8
  ------------------
  |  Branch (1892:9): [True: 116k, False: 481k]
  ------------------
 1893|   116k|            result = const_folding_safe_power(left, right);
 1894|   116k|            break;
 1895|  10.5k|        case NB_LSHIFT:
  ------------------
  |  |   13|  10.5k|#define NB_LSHIFT                                3
  ------------------
  |  Branch (1895:9): [True: 10.5k, False: 587k]
  ------------------
 1896|  10.5k|            result = const_folding_safe_lshift(left, right);
 1897|  10.5k|            break;
 1898|  13.6k|        case NB_RSHIFT:
  ------------------
  |  |   19|  13.6k|#define NB_RSHIFT                                9
  ------------------
  |  Branch (1898:9): [True: 13.6k, False: 584k]
  ------------------
 1899|  13.6k|            result = PyNumber_Rshift(left, right);
 1900|  13.6k|            break;
 1901|  6.67k|        case NB_OR:
  ------------------
  |  |   17|  6.67k|#define NB_OR                                    7
  ------------------
  |  Branch (1901:9): [True: 6.67k, False: 591k]
  ------------------
 1902|  6.67k|            result = PyNumber_Or(left, right);
 1903|  6.67k|            break;
 1904|  5.95k|        case NB_XOR:
  ------------------
  |  |   22|  5.95k|#define NB_XOR                                  12
  ------------------
  |  Branch (1904:9): [True: 5.95k, False: 592k]
  ------------------
 1905|  5.95k|            result = PyNumber_Xor(left, right);
 1906|  5.95k|            break;
 1907|  6.60k|        case NB_AND:
  ------------------
  |  |   11|  6.60k|#define NB_AND                                   1
  ------------------
  |  Branch (1907:9): [True: 6.60k, False: 591k]
  ------------------
 1908|  6.60k|            result = PyNumber_And(left, right);
 1909|  6.60k|            break;
 1910|  6.40k|        case NB_SUBSCR:
  ------------------
  |  |   36|  6.40k|#define NB_SUBSCR                               26
  ------------------
  |  Branch (1910:9): [True: 6.40k, False: 591k]
  ------------------
 1911|  6.40k|            result = PyObject_GetItem(left, right);
 1912|  6.40k|            break;
 1913|    441|        case NB_MATRIX_MULTIPLY:
  ------------------
  |  |   14|    441|#define NB_MATRIX_MULTIPLY                       4
  ------------------
  |  Branch (1913:9): [True: 441, False: 597k]
  ------------------
 1914|       |            // No builtin constants implement matrix multiplication
 1915|    441|            break;
 1916|      0|        default:
  ------------------
  |  Branch (1916:9): [True: 0, False: 598k]
  ------------------
 1917|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1918|   598k|    }
 1919|   598k|    return result;
 1920|   598k|}
flowgraph.c:const_folding_safe_multiply:
 1773|   187k|{
 1774|   187k|    if (PyLong_Check(v) && PyLong_Check(w) &&
  ------------------
  |  |   13|   187k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   375k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 95.5k, False: 92.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyLong_Check(v) && PyLong_Check(w) &&
  ------------------
  |  |   13|  95.5k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   283k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 34.8k, False: 60.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1775|  34.8k|        !_PyLong_IsZero((PyLongObject *)v) && !_PyLong_IsZero((PyLongObject *)w)
  ------------------
  |  Branch (1775:9): [True: 31.7k, False: 3.12k]
  |  Branch (1775:47): [True: 30.3k, False: 1.31k]
  ------------------
 1776|   187k|    ) {
 1777|  30.3k|        int64_t vbits = _PyLong_NumBits(v);
 1778|  30.3k|        int64_t wbits = _PyLong_NumBits(w);
 1779|  30.3k|        assert(vbits >= 0);
  ------------------
  |  Branch (1779:9): [True: 30.3k, False: 0]
  ------------------
 1780|  30.3k|        assert(wbits >= 0);
  ------------------
  |  Branch (1780:9): [True: 30.3k, False: 0]
  ------------------
 1781|  30.3k|        if (vbits + wbits > MAX_INT_SIZE) {
  ------------------
  |  | 1766|  30.3k|#define MAX_INT_SIZE           128  /* bits */
  ------------------
  |  Branch (1781:13): [True: 448, False: 29.9k]
  ------------------
 1782|    448|            return NULL;
 1783|    448|        }
 1784|  30.3k|    }
 1785|   157k|    else if (PyLong_Check(v) && PyTuple_Check(w)) {
  ------------------
  |  |   13|   157k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   314k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 65.1k, False: 92.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  else if (PyLong_Check(v) && PyTuple_Check(w)) {
  ------------------
  |  |   27|  65.1k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  65.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 33.0k, False: 32.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1786|  33.0k|        Py_ssize_t size = PyTuple_GET_SIZE(w);
  ------------------
  |  |   27|  33.0k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  33.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1787|  33.0k|        if (size) {
  ------------------
  |  Branch (1787:13): [True: 32.9k, False: 111]
  ------------------
 1788|  32.9k|            long n = PyLong_AsLong(v);
 1789|  32.9k|            if (n < 0 || n > MAX_COLLECTION_SIZE / size) {
  ------------------
  |  | 1767|  32.5k|#define MAX_COLLECTION_SIZE    256  /* items */
  ------------------
  |  Branch (1789:17): [True: 404, False: 32.5k]
  |  Branch (1789:26): [True: 1.96k, False: 30.5k]
  ------------------
 1790|  2.36k|                return NULL;
 1791|  2.36k|            }
 1792|  30.5k|            if (n && const_folding_check_complexity(w, MAX_TOTAL_ITEMS / n) < 0) {
  ------------------
  |  | 1769|  29.8k|#define MAX_TOTAL_ITEMS       1024  /* including nested collections */
  ------------------
  |  Branch (1792:17): [True: 29.8k, False: 690]
  |  Branch (1792:22): [True: 85, False: 29.8k]
  ------------------
 1793|     85|                return NULL;
 1794|     85|            }
 1795|  30.5k|        }
 1796|  33.0k|    }
 1797|   124k|    else if (PyLong_Check(v) && (PyUnicode_Check(w) || PyBytes_Check(w))) {
  ------------------
  |  |   13|   124k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   248k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 32.0k, False: 92.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  else if (PyLong_Check(v) && (PyUnicode_Check(w) || PyBytes_Check(w))) {
  ------------------
  |  |  103|  32.0k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  64.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 13.3k, False: 18.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  else if (PyLong_Check(v) && (PyUnicode_Check(w) || PyBytes_Check(w))) {
  ------------------
  |  |   28|  18.7k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  18.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 7.14k, False: 11.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1798|  20.4k|        Py_ssize_t size = PyUnicode_Check(w) ? PyUnicode_GET_LENGTH(w) :
  ------------------
  |  |  103|  20.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  20.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 13.3k, False: 7.14k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      Py_ssize_t size = PyUnicode_Check(w) ? PyUnicode_GET_LENGTH(w) :
  ------------------
  |  |  299|  13.3k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1799|  20.4k|                                               PyBytes_GET_SIZE(w);
  ------------------
  |  |   33|  7.14k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  7.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1800|  20.4k|        if (size) {
  ------------------
  |  Branch (1800:13): [True: 14.3k, False: 6.13k]
  ------------------
 1801|  14.3k|            long n = PyLong_AsLong(v);
 1802|  14.3k|            if (n < 0 || n > MAX_STR_SIZE / size) {
  ------------------
  |  | 1768|  14.0k|#define MAX_STR_SIZE          4096  /* characters */
  ------------------
  |  Branch (1802:17): [True: 268, False: 14.0k]
  |  Branch (1802:26): [True: 652, False: 13.3k]
  ------------------
 1803|    920|                return NULL;
 1804|    920|            }
 1805|  14.3k|        }
 1806|  20.4k|    }
 1807|   103k|    else if (PyLong_Check(w) &&
  ------------------
  |  |   13|   103k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   207k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 70.8k, False: 32.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1808|  70.8k|             (PyTuple_Check(v) || PyUnicode_Check(v) || PyBytes_Check(v)))
  ------------------
  |  |   27|  70.8k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   141k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 32.1k, False: 38.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                           (PyTuple_Check(v) || PyUnicode_Check(v) || PyBytes_Check(v)))
  ------------------
  |  |  103|  38.6k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   109k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 13.2k, False: 25.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                           (PyTuple_Check(v) || PyUnicode_Check(v) || PyBytes_Check(v)))
  ------------------
  |  |   28|  25.4k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  25.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 6.86k, False: 18.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1809|  52.2k|    {
 1810|  52.2k|        return const_folding_safe_multiply(w, v);
 1811|  52.2k|    }
 1812|       |
 1813|   131k|    return PyNumber_Multiply(v, w);
 1814|   187k|}
flowgraph.c:const_folding_check_complexity:
 1752|   189k|{
 1753|   189k|    if (PyTuple_Check(obj)) {
  ------------------
  |  |   27|   189k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   189k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 122k, False: 67.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1754|   122k|        Py_ssize_t i;
 1755|   122k|        limit -= PyTuple_GET_SIZE(obj);
  ------------------
  |  |   27|   122k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   122k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   122k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1756|   281k|        for (i = 0; limit >= 0 && i < PyTuple_GET_SIZE(obj); i++) {
  ------------------
  |  |   27|   281k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   281k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   281k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1756:21): [True: 281k, False: 85]
  |  Branch (1756:35): [True: 159k, False: 121k]
  ------------------
 1757|   159k|            limit = const_folding_check_complexity(PyTuple_GET_ITEM(obj, i), limit);
  ------------------
  |  |   29|   159k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   159k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   159k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1757:52): [True: 159k, False: 0]
  ------------------
 1758|   159k|            if (limit < 0) {
  ------------------
  |  Branch (1758:17): [True: 413, False: 159k]
  ------------------
 1759|    413|                return limit;
 1760|    413|            }
 1761|   159k|        }
 1762|   122k|    }
 1763|   189k|    return limit;
 1764|   189k|}
flowgraph.c:const_folding_safe_mod:
 1858|  34.8k|{
 1859|  34.8k|    if (PyUnicode_Check(v) || PyBytes_Check(v)) {
  ------------------
  |  |  103|  34.8k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  69.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 95, False: 34.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyUnicode_Check(v) || PyBytes_Check(v)) {
  ------------------
  |  |   28|  34.8k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  34.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 43, False: 34.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1860|    138|        return NULL;
 1861|    138|    }
 1862|       |
 1863|  34.7k|    return PyNumber_Remainder(v, w);
 1864|  34.8k|}
flowgraph.c:const_folding_safe_power:
 1818|   116k|{
 1819|   116k|    if (PyLong_Check(v) && PyLong_Check(w) &&
  ------------------
  |  |   13|   116k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   233k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 66.0k, False: 50.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyLong_Check(v) && PyLong_Check(w) &&
  ------------------
  |  |   13|  66.0k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   182k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 52.5k, False: 13.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1820|  52.5k|        !_PyLong_IsZero((PyLongObject *)v) && _PyLong_IsPositive((PyLongObject *)w)
  ------------------
  |  Branch (1820:9): [True: 46.3k, False: 6.13k]
  |  Branch (1820:47): [True: 43.7k, False: 2.65k]
  ------------------
 1821|   116k|    ) {
 1822|  43.7k|        int64_t vbits = _PyLong_NumBits(v);
 1823|  43.7k|        size_t wbits = PyLong_AsSize_t(w);
 1824|  43.7k|        assert(vbits >= 0);
  ------------------
  |  Branch (1824:9): [True: 43.7k, False: 0]
  ------------------
 1825|  43.7k|        if (wbits == (size_t)-1) {
  ------------------
  |  Branch (1825:13): [True: 364, False: 43.3k]
  ------------------
 1826|    364|            return NULL;
 1827|    364|        }
 1828|  43.3k|        if ((uint64_t)vbits > MAX_INT_SIZE / wbits) {
  ------------------
  |  | 1766|  43.3k|#define MAX_INT_SIZE           128  /* bits */
  ------------------
  |  Branch (1828:13): [True: 4.72k, False: 38.6k]
  ------------------
 1829|  4.72k|            return NULL;
 1830|  4.72k|        }
 1831|  43.3k|    }
 1832|       |
 1833|   111k|    return PyNumber_Power(v, w, Py_None);
  ------------------
  |  |  616|   111k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1834|   116k|}
flowgraph.c:const_folding_safe_lshift:
 1838|  10.5k|{
 1839|  10.5k|    if (PyLong_Check(v) && PyLong_Check(w) &&
  ------------------
  |  |   13|  10.5k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  21.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 10.3k, False: 216]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyLong_Check(v) && PyLong_Check(w) &&
  ------------------
  |  |   13|  10.3k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  20.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 10.1k, False: 126]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1840|  10.1k|        !_PyLong_IsZero((PyLongObject *)v) && !_PyLong_IsZero((PyLongObject *)w)
  ------------------
  |  Branch (1840:9): [True: 8.88k, False: 1.31k]
  |  Branch (1840:47): [True: 8.73k, False: 146]
  ------------------
 1841|  10.5k|    ) {
 1842|  8.73k|        int64_t vbits = _PyLong_NumBits(v);
 1843|  8.73k|        size_t wbits = PyLong_AsSize_t(w);
 1844|  8.73k|        assert(vbits >= 0);
  ------------------
  |  Branch (1844:9): [True: 8.73k, False: 0]
  ------------------
 1845|  8.73k|        if (wbits == (size_t)-1) {
  ------------------
  |  Branch (1845:13): [True: 759, False: 7.97k]
  ------------------
 1846|    759|            return NULL;
 1847|    759|        }
 1848|  7.97k|        if (wbits > MAX_INT_SIZE || (uint64_t)vbits > MAX_INT_SIZE - wbits) {
  ------------------
  |  | 1766|  15.9k|#define MAX_INT_SIZE           128  /* bits */
  ------------------
                      if (wbits > MAX_INT_SIZE || (uint64_t)vbits > MAX_INT_SIZE - wbits) {
  ------------------
  |  | 1766|  6.37k|#define MAX_INT_SIZE           128  /* bits */
  ------------------
  |  Branch (1848:13): [True: 1.60k, False: 6.37k]
  |  Branch (1848:37): [True: 56, False: 6.31k]
  ------------------
 1849|  1.66k|            return NULL;
 1850|  1.66k|        }
 1851|  7.97k|    }
 1852|       |
 1853|  8.11k|    return PyNumber_Lshift(v, w);
 1854|  10.5k|}
flowgraph.c:swaptimize:
 2059|   100k|{
 2060|       |    // NOTE: "./python -m test test_patma" serves as a good, quick stress test
 2061|       |    // for this function. Make sure to blow away cached *.pyc files first!
 2062|   100k|    assert(*ix < block->b_iused);
  ------------------
  |  Branch (2062:5): [True: 100k, False: 0]
  ------------------
 2063|   100k|    cfg_instr *instructions = &block->b_instr[*ix];
 2064|       |    // Find the length of the current sequence of SWAPs and NOPs, and record the
 2065|       |    // maximum depth of the stack manipulations:
 2066|   100k|    assert(instructions[0].i_opcode == SWAP);
  ------------------
  |  Branch (2066:5): [True: 100k, False: 0]
  ------------------
 2067|   100k|    int depth = instructions[0].i_oparg;
 2068|   100k|    int len = 0;
 2069|   100k|    int more = false;
 2070|   100k|    int limit = block->b_iused - *ix;
 2071|   114k|    while (++len < limit) {
  ------------------
  |  Branch (2071:12): [True: 114k, False: 0]
  ------------------
 2072|   114k|        int opcode = instructions[len].i_opcode;
 2073|   114k|        if (opcode == SWAP) {
  ------------------
  |  |  126|   114k|#define SWAP                                   113
  ------------------
  |  Branch (2073:13): [True: 14.0k, False: 100k]
  ------------------
 2074|  14.0k|            depth = Py_MAX(depth, instructions[len].i_oparg);
  ------------------
  |  |  115|  14.0k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 1.97k, False: 12.0k]
  |  |  ------------------
  ------------------
 2075|  14.0k|            more = true;
 2076|  14.0k|        }
 2077|   100k|        else if (opcode != NOP) {
  ------------------
  |  |   38|   100k|#define NOP                                     25
  ------------------
  |  Branch (2077:18): [True: 100k, False: 0]
  ------------------
 2078|   100k|            break;
 2079|   100k|        }
 2080|   114k|    }
 2081|       |    // It's already optimal if there's only one SWAP:
 2082|   100k|    if (!more) {
  ------------------
  |  Branch (2082:9): [True: 87.6k, False: 12.6k]
  ------------------
 2083|  87.6k|        return SUCCESS;
  ------------------
  |  |   21|  87.6k|#define SUCCESS 0
  ------------------
 2084|  87.6k|    }
 2085|       |    // Create an array with elements {0, 1, 2, ..., depth - 1}:
 2086|  12.6k|    int *stack = PyMem_Malloc(depth * sizeof(int));
 2087|  12.6k|    if (stack == NULL) {
  ------------------
  |  Branch (2087:9): [True: 0, False: 12.6k]
  ------------------
 2088|      0|        PyErr_NoMemory();
 2089|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2090|      0|    }
 2091|  50.5k|    for (int i = 0; i < depth; i++) {
  ------------------
  |  Branch (2091:21): [True: 37.8k, False: 12.6k]
  ------------------
 2092|  37.8k|        stack[i] = i;
 2093|  37.8k|    }
 2094|       |    // Simulate the combined effect of these instructions by "running" them on
 2095|       |    // our "stack":
 2096|  39.3k|    for (int i = 0; i < len; i++) {
  ------------------
  |  Branch (2096:21): [True: 26.7k, False: 12.6k]
  ------------------
 2097|  26.7k|        if (instructions[i].i_opcode == SWAP) {
  ------------------
  |  |  126|  26.7k|#define SWAP                                   113
  ------------------
  |  Branch (2097:13): [True: 26.7k, False: 0]
  ------------------
 2098|  26.7k|            int oparg = instructions[i].i_oparg;
 2099|  26.7k|            int top = stack[0];
 2100|       |            // SWAPs are 1-indexed:
 2101|  26.7k|            stack[0] = stack[oparg - 1];
 2102|  26.7k|            stack[oparg - 1] = top;
 2103|  26.7k|        }
 2104|  26.7k|    }
 2105|       |    // Now we can begin! Our approach here is based on a solution to a closely
 2106|       |    // related problem (https://cs.stackexchange.com/a/13938). It's easiest to
 2107|       |    // think of this algorithm as determining the steps needed to efficiently
 2108|       |    // "un-shuffle" our stack. By performing the moves in *reverse* order,
 2109|       |    // though, we can efficiently *shuffle* it! For this reason, we will be
 2110|       |    // replacing instructions starting from the *end* of the run. Since the
 2111|       |    // solution is optimal, we don't need to worry about running out of space:
 2112|  12.6k|    int current = len - 1;
 2113|  50.5k|    for (int i = 0; i < depth; i++) {
  ------------------
  |  Branch (2113:21): [True: 37.8k, False: 12.6k]
  ------------------
 2114|       |        // Skip items that have already been visited, or just happen to be in
 2115|       |        // the correct location:
 2116|  37.8k|        if (stack[i] == VISITED || stack[i] == i) {
  ------------------
  |  | 2053|  75.7k|#define VISITED (-1)
  ------------------
  |  Branch (2116:13): [True: 24.6k, False: 13.2k]
  |  Branch (2116:36): [True: 1.13k, False: 12.1k]
  ------------------
 2117|  25.7k|            continue;
 2118|  25.7k|        }
 2119|       |        // Okay, we've found an item that hasn't been visited. It forms a cycle
 2120|       |        // with other items; traversing the cycle and swapping each item with
 2121|       |        // the next will put them all in the correct place. The weird
 2122|       |        // loop-and-a-half is necessary to insert 0 into every cycle, since we
 2123|       |        // can only swap from that position:
 2124|  12.1k|        int j = i;
 2125|  48.8k|        while (true) {
  ------------------
  |  Branch (2125:16): [True: 48.8k, Folded]
  ------------------
 2126|       |            // Skip the actual swap if our item is zero, since swapping the top
 2127|       |            // item with itself is pointless:
 2128|  48.8k|            if (j) {
  ------------------
  |  Branch (2128:17): [True: 24.6k, False: 24.2k]
  ------------------
 2129|  24.6k|                assert(0 <= current);
  ------------------
  |  Branch (2129:17): [True: 24.6k, False: 0]
  ------------------
 2130|       |                // SWAPs are 1-indexed:
 2131|  24.6k|                instructions[current].i_opcode = SWAP;
  ------------------
  |  |  126|  24.6k|#define SWAP                                   113
  ------------------
 2132|  24.6k|                instructions[current--].i_oparg = j + 1;
 2133|  24.6k|            }
 2134|  48.8k|            if (stack[j] == VISITED) {
  ------------------
  |  | 2053|  48.8k|#define VISITED (-1)
  ------------------
  |  Branch (2134:17): [True: 12.1k, False: 36.7k]
  ------------------
 2135|       |                // Completed the cycle:
 2136|  12.1k|                assert(j == i);
  ------------------
  |  Branch (2136:17): [True: 12.1k, False: 0]
  ------------------
 2137|  12.1k|                break;
 2138|  12.1k|            }
 2139|  36.7k|            int next_j = stack[j];
 2140|  36.7k|            stack[j] = VISITED;
  ------------------
  |  | 2053|  36.7k|#define VISITED (-1)
  ------------------
 2141|  36.7k|            j = next_j;
 2142|  36.7k|        }
 2143|  12.1k|    }
 2144|       |    // NOP out any unused instructions:
 2145|  14.7k|    while (0 <= current) {
  ------------------
  |  Branch (2145:12): [True: 2.06k, False: 12.6k]
  ------------------
 2146|  2.06k|        INSTR_SET_OP0(&instructions[current--], NOP);
  ------------------
  |  |  125|  2.06k|    do { \
  |  |  126|  2.06k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  2.06k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  2.06k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  2.06k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  2.06k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 2.06k]
  |  |  ------------------
  ------------------
  |  Branch (2146:9): [True: 2.06k, False: 0]
  ------------------
 2147|  2.06k|    }
 2148|  12.6k|    PyMem_Free(stack);
 2149|  12.6k|    *ix += len - 1;
 2150|  12.6k|    return SUCCESS;
  ------------------
  |  |   21|  12.6k|#define SUCCESS 0
  ------------------
 2151|  12.6k|}
flowgraph.c:apply_static_swaps:
 2194|   100k|{
 2195|       |    // SWAPs are to our left, and potential swaperands are to our right:
 2196|   102k|    for (; 0 <= i; i--) {
  ------------------
  |  Branch (2196:12): [True: 102k, False: 575]
  ------------------
 2197|   102k|        assert(i < block->b_iused);
  ------------------
  |  Branch (2197:9): [True: 102k, False: 0]
  ------------------
 2198|   102k|        cfg_instr *swap = &block->b_instr[i];
 2199|   102k|        if (swap->i_opcode != SWAP) {
  ------------------
  |  |  126|   102k|#define SWAP                                   113
  ------------------
  |  Branch (2199:13): [True: 2.58k, False: 99.7k]
  ------------------
 2200|  2.58k|            if (swap->i_opcode == NOP || SWAPPABLE(swap->i_opcode)) {
  ------------------
  |  |   38|  5.16k|#define NOP                                     25
  ------------------
                          if (swap->i_opcode == NOP || SWAPPABLE(swap->i_opcode)) {
  ------------------
  |  | 2159|    974|    ((opcode) == STORE_FAST || \
  |  |  ------------------
  |  |  |  |  121|  1.94k|#define STORE_FAST                             108
  |  |  ------------------
  |  |  |  Branch (2159:6): [True: 0, False: 974]
  |  |  ------------------
  |  | 2160|    974|     (opcode) == STORE_FAST_MAYBE_NULL || \
  |  |  ------------------
  |  |  |  |  254|  1.94k|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (2160:6): [True: 0, False: 974]
  |  |  ------------------
  |  | 2161|    974|     (opcode) == POP_TOP)
  |  |  ------------------
  |  |  |  |   42|    974|#define POP_TOP                                 29
  |  |  ------------------
  |  |  |  Branch (2161:6): [True: 451, False: 523]
  |  |  ------------------
  ------------------
  |  Branch (2200:17): [True: 1.60k, False: 974]
  ------------------
 2201|       |                // Nope, but we know how to handle these. Keep looking:
 2202|  2.06k|                continue;
 2203|  2.06k|            }
 2204|       |            // We can't reason about what this instruction does. Bail:
 2205|    523|            return;
 2206|  2.58k|        }
 2207|  99.7k|        int j = next_swappable_instruction(block, i, -1);
 2208|  99.7k|        if (j < 0) {
  ------------------
  |  Branch (2208:13): [True: 80.7k, False: 18.9k]
  ------------------
 2209|  80.7k|            return;
 2210|  80.7k|        }
 2211|  18.9k|        int k = j;
 2212|  18.9k|        int lineno = block->b_instr[j].i_loc.lineno;
 2213|  28.2k|        for (int count = swap->i_oparg - 1; 0 < count; count--) {
  ------------------
  |  Branch (2213:45): [True: 27.6k, False: 569]
  ------------------
 2214|  27.6k|            k = next_swappable_instruction(block, k, lineno);
 2215|  27.6k|            if (k < 0) {
  ------------------
  |  Branch (2215:17): [True: 18.4k, False: 9.22k]
  ------------------
 2216|  18.4k|                return;
 2217|  18.4k|            }
 2218|  27.6k|        }
 2219|       |        // The reordering is not safe if the two instructions to be swapped
 2220|       |        // store to the same location, or if any intervening instruction stores
 2221|       |        // to the same location as either of them.
 2222|    569|        int store_j = STORES_TO(block->b_instr[j]);
  ------------------
  |  | 2164|    569|    (((instr).i_opcode == STORE_FAST || \
  |  |  ------------------
  |  |  |  |  121|  1.13k|#define STORE_FAST                             108
  |  |  ------------------
  |  |  |  Branch (2164:7): [True: 43, False: 526]
  |  |  ------------------
  |  | 2165|    569|      (instr).i_opcode == STORE_FAST_MAYBE_NULL) \
  |  |  ------------------
  |  |  |  |  254|    526|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (2165:7): [True: 521, False: 5]
  |  |  ------------------
  |  | 2166|    569|     ? (instr).i_oparg : -1)
  ------------------
 2223|    569|        int store_k = STORES_TO(block->b_instr[k]);
  ------------------
  |  | 2164|    569|    (((instr).i_opcode == STORE_FAST || \
  |  |  ------------------
  |  |  |  |  121|  1.13k|#define STORE_FAST                             108
  |  |  ------------------
  |  |  |  Branch (2164:7): [True: 75, False: 494]
  |  |  ------------------
  |  | 2165|    569|      (instr).i_opcode == STORE_FAST_MAYBE_NULL) \
  |  |  ------------------
  |  |  |  |  254|    494|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (2165:7): [True: 0, False: 494]
  |  |  ------------------
  |  | 2166|    569|     ? (instr).i_oparg : -1)
  ------------------
 2224|    569|        if (store_j >= 0 || store_k >= 0) {
  ------------------
  |  Branch (2224:13): [True: 564, False: 5]
  |  Branch (2224:29): [True: 0, False: 5]
  ------------------
 2225|    564|            if (store_j == store_k) {
  ------------------
  |  Branch (2225:17): [True: 0, False: 564]
  ------------------
 2226|      0|                return;
 2227|      0|            }
 2228|  1.06k|            for (int idx = j + 1; idx < k; idx++) {
  ------------------
  |  Branch (2228:35): [True: 501, False: 564]
  ------------------
 2229|    501|                int store_idx = STORES_TO(block->b_instr[idx]);
  ------------------
  |  | 2164|    501|    (((instr).i_opcode == STORE_FAST || \
  |  |  ------------------
  |  |  |  |  121|  1.00k|#define STORE_FAST                             108
  |  |  ------------------
  |  |  |  Branch (2164:7): [True: 42, False: 459]
  |  |  ------------------
  |  | 2165|    501|      (instr).i_opcode == STORE_FAST_MAYBE_NULL) \
  |  |  ------------------
  |  |  |  |  254|    459|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (2165:7): [True: 459, False: 0]
  |  |  ------------------
  |  | 2166|    501|     ? (instr).i_oparg : -1)
  ------------------
 2230|    501|                if (store_idx >= 0 && (store_idx == store_j || store_idx == store_k)) {
  ------------------
  |  Branch (2230:21): [True: 501, False: 0]
  |  Branch (2230:40): [True: 0, False: 501]
  |  Branch (2230:64): [True: 0, False: 501]
  ------------------
 2231|      0|                    return;
 2232|      0|                }
 2233|    501|            }
 2234|    564|        }
 2235|       |
 2236|       |        // Success!
 2237|    569|        INSTR_SET_OP0(swap, NOP);
  ------------------
  |  |  125|    569|    do { \
  |  |  126|    569|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|    569|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|    569|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|    569|        _instr__ptr_->i_oparg = 0; \
  |  |  130|    569|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 569]
  |  |  ------------------
  ------------------
  |  Branch (2237:9): [True: 569, False: 0]
  ------------------
 2238|    569|        cfg_instr temp = block->b_instr[j];
 2239|    569|        block->b_instr[j] = block->b_instr[k];
 2240|    569|        block->b_instr[k] = temp;
 2241|    569|    }
 2242|   100k|}
flowgraph.c:next_swappable_instruction:
 2170|   127k|{
 2171|   127k|    while (++i < block->b_iused) {
  ------------------
  |  Branch (2171:12): [True: 117k, False: 9.67k]
  ------------------
 2172|   117k|        cfg_instr *instruction = &block->b_instr[i];
 2173|   117k|        if (0 <= lineno && instruction->i_loc.lineno != lineno) {
  ------------------
  |  Branch (2173:13): [True: 15.7k, False: 102k]
  |  Branch (2173:28): [True: 2, False: 15.7k]
  ------------------
 2174|       |            // Optimizing across this instruction could cause user-visible
 2175|       |            // changes in the names bound between line tracing events!
 2176|      2|            return -1;
 2177|      2|        }
 2178|   117k|        if (instruction->i_opcode == NOP) {
  ------------------
  |  |   38|   117k|#define NOP                                     25
  ------------------
  |  Branch (2178:13): [True: 7, False: 117k]
  ------------------
 2179|      7|            continue;
 2180|      7|        }
 2181|   117k|        if (SWAPPABLE(instruction->i_opcode)) {
  ------------------
  |  | 2159|   117k|    ((opcode) == STORE_FAST || \
  |  |  ------------------
  |  |  |  |  121|   235k|#define STORE_FAST                             108
  |  |  ------------------
  |  |  |  Branch (2159:6): [True: 160, False: 117k]
  |  |  ------------------
  |  | 2160|   117k|     (opcode) == STORE_FAST_MAYBE_NULL || \
  |  |  ------------------
  |  |  |  |  254|   235k|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (2160:6): [True: 13.1k, False: 104k]
  |  |  ------------------
  |  | 2161|   117k|     (opcode) == POP_TOP)
  |  |  ------------------
  |  |  |  |   42|   104k|#define POP_TOP                                 29
  |  |  ------------------
  |  |  |  Branch (2161:6): [True: 14.9k, False: 89.5k]
  |  |  ------------------
  ------------------
 2182|  28.2k|            return i;
 2183|  28.2k|        }
 2184|  89.5k|        return -1;
 2185|   117k|    }
 2186|  9.67k|    return -1;
 2187|   127k|}
flowgraph.c:remove_redundant_nops_and_pairs:
 1133|  52.7k|{
 1134|  52.7k|    bool done = false;
 1135|       |
 1136|   106k|    while (! done) {
  ------------------
  |  Branch (1136:12): [True: 53.7k, False: 52.7k]
  ------------------
 1137|  53.7k|        done = true;
 1138|  53.7k|        cfg_instr *prev_instr = NULL;
 1139|  53.7k|        cfg_instr *instr = NULL;
 1140|   595k|        for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1140:42): [True: 541k, False: 53.7k]
  ------------------
 1141|   541k|            RETURN_IF_ERROR(basicblock_remove_redundant_nops(b));
  ------------------
  |  |   25|   541k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 541k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1142|   541k|            if (IS_LABEL(b->b_label)) {
  ------------------
  |  |   96|   541k|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   95|   541k|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (96:21): [True: 286k, False: 255k]
  |  |  ------------------
  ------------------
 1143|       |                /* this block is a jump target, forget instr */
 1144|   286k|                instr = NULL;
 1145|   286k|            }
 1146|  4.38M|            for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (1146:29): [True: 3.84M, False: 541k]
  ------------------
 1147|  3.84M|                prev_instr = instr;
 1148|  3.84M|                instr = &b->b_instr[i];
 1149|  3.84M|                int prev_opcode = prev_instr ? prev_instr->i_opcode : 0;
  ------------------
  |  Branch (1149:35): [True: 3.34M, False: 498k]
  ------------------
 1150|  3.84M|                int prev_oparg = prev_instr ? prev_instr->i_oparg : 0;
  ------------------
  |  Branch (1150:34): [True: 3.34M, False: 498k]
  ------------------
 1151|  3.84M|                int opcode = instr->i_opcode;
 1152|  3.84M|                bool is_redundant_pair = false;
 1153|  3.84M|                if (opcode == POP_TOP) {
  ------------------
  |  |   42|  3.84M|#define POP_TOP                                 29
  ------------------
  |  Branch (1153:21): [True: 293k, False: 3.55M]
  ------------------
 1154|   293k|                   if (loads_const(prev_opcode)) {
  ------------------
  |  Branch (1154:24): [True: 5.89k, False: 288k]
  ------------------
 1155|  5.89k|                       is_redundant_pair = true;
 1156|  5.89k|                   }
 1157|   288k|                   else if (prev_opcode == COPY && prev_oparg == 1) {
  ------------------
  |  |   70|   576k|#define COPY                                    57
  ------------------
  |  Branch (1157:29): [True: 130, False: 287k]
  |  Branch (1157:52): [True: 130, False: 0]
  ------------------
 1158|    130|                       is_redundant_pair = true;
 1159|    130|                   }
 1160|   293k|                }
 1161|  3.84M|                if (is_redundant_pair) {
  ------------------
  |  Branch (1161:21): [True: 6.02k, False: 3.83M]
  ------------------
 1162|  6.02k|                    INSTR_SET_OP0(prev_instr, NOP);
  ------------------
  |  |  125|  6.02k|    do { \
  |  |  126|  6.02k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  6.02k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  6.02k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  6.02k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  6.02k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 6.02k]
  |  |  ------------------
  ------------------
  |  Branch (1162:21): [True: 6.02k, False: 0]
  ------------------
 1163|  6.02k|                    INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  125|  6.02k|    do { \
  |  |  126|  6.02k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  6.02k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  6.02k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  6.02k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  6.02k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 6.02k]
  |  |  ------------------
  ------------------
  |  Branch (1163:21): [True: 6.02k, False: 0]
  ------------------
 1164|  6.02k|                    done = false;
 1165|  6.02k|                }
 1166|  3.84M|            }
 1167|   541k|            if ((instr && is_jump(instr)) || !BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  251|   279k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  ------------------
  |  Branch (1167:18): [True: 502k, False: 39.0k]
  |  Branch (1167:27): [True: 262k, False: 240k]
  |  Branch (1167:46): [True: 120k, False: 159k]
  ------------------
 1168|   382k|                instr = NULL;
 1169|   382k|            }
 1170|   541k|        }
 1171|  53.7k|    }
 1172|  52.7k|    return SUCCESS;
  ------------------
  |  |   21|  52.7k|#define SUCCESS 0
  ------------------
 1173|  52.7k|}
flowgraph.c:basicblock_remove_redundant_nops:
 1058|  3.72M|basicblock_remove_redundant_nops(basicblock *bb) {
 1059|       |    /* Remove NOPs when legal to do so. */
 1060|  3.72M|    int dest = 0;
 1061|  3.72M|    int prev_lineno = -1;
 1062|  27.7M|    for (int src = 0; src < bb->b_iused; src++) {
  ------------------
  |  Branch (1062:23): [True: 24.0M, False: 3.72M]
  ------------------
 1063|  24.0M|        int lineno = bb->b_instr[src].i_loc.lineno;
 1064|  24.0M|        if (bb->b_instr[src].i_opcode == NOP) {
  ------------------
  |  |   38|  24.0M|#define NOP                                     25
  ------------------
  |  Branch (1064:13): [True: 1.63M, False: 22.3M]
  ------------------
 1065|       |            /* Eliminate no-op if it doesn't have a line number */
 1066|  1.63M|            if (lineno < 0) {
  ------------------
  |  Branch (1066:17): [True: 1.38M, False: 246k]
  ------------------
 1067|  1.38M|                continue;
 1068|  1.38M|            }
 1069|       |            /* or, if the previous instruction had the same line number. */
 1070|   246k|            if (prev_lineno == lineno) {
  ------------------
  |  Branch (1070:17): [True: 146k, False: 100k]
  ------------------
 1071|   146k|                continue;
 1072|   146k|            }
 1073|       |            /* or, if the next instruction has same line number or no line number */
 1074|   100k|            if (src < bb->b_iused - 1) {
  ------------------
  |  Branch (1074:17): [True: 91.6k, False: 8.71k]
  ------------------
 1075|  91.6k|                int next_lineno = bb->b_instr[src+1].i_loc.lineno;
 1076|  91.6k|                if (next_lineno == lineno) {
  ------------------
  |  Branch (1076:21): [True: 74.1k, False: 17.5k]
  ------------------
 1077|  74.1k|                    continue;
 1078|  74.1k|                }
 1079|  17.5k|                if (next_lineno < 0) {
  ------------------
  |  Branch (1079:21): [True: 1.17k, False: 16.3k]
  ------------------
 1080|  1.17k|                    bb->b_instr[src+1].i_loc = bb->b_instr[src].i_loc;
 1081|  1.17k|                    continue;
 1082|  1.17k|                }
 1083|  17.5k|            }
 1084|  8.71k|            else {
 1085|  8.71k|                basicblock *next = next_nonempty_block(bb->b_next);
 1086|       |                /* or if last instruction in BB and next BB has same line number */
 1087|  8.71k|                if (next) {
  ------------------
  |  Branch (1087:21): [True: 8.71k, False: 0]
  ------------------
 1088|  8.71k|                    location next_loc = NO_LOCATION;
 1089|  9.17k|                    for (int next_i=0; next_i < next->b_iused; next_i++) {
  ------------------
  |  Branch (1089:40): [True: 9.16k, False: 10]
  ------------------
 1090|  9.16k|                        cfg_instr *instr = &next->b_instr[next_i];
 1091|  9.16k|                        if (instr->i_opcode == NOP && instr->i_loc.lineno < 0) {
  ------------------
  |  |   38|  18.3k|#define NOP                                     25
  ------------------
  |  Branch (1091:29): [True: 5.01k, False: 4.14k]
  |  Branch (1091:55): [True: 462, False: 4.55k]
  ------------------
 1092|       |                            /* Skip over NOPs without a location, they will be removed */
 1093|    462|                            continue;
 1094|    462|                        }
 1095|  8.70k|                        next_loc = instr->i_loc;
 1096|  8.70k|                        break;
 1097|  9.16k|                    }
 1098|  8.71k|                    if (lineno == next_loc.lineno) {
  ------------------
  |  Branch (1098:25): [True: 1.85k, False: 6.85k]
  ------------------
 1099|  1.85k|                        continue;
 1100|  1.85k|                    }
 1101|  8.71k|                }
 1102|  8.71k|            }
 1103|       |
 1104|   100k|        }
 1105|  22.4M|        if (dest != src) {
  ------------------
  |  Branch (1105:13): [True: 1.98M, False: 20.4M]
  ------------------
 1106|  1.98M|            bb->b_instr[dest] = bb->b_instr[src];
 1107|  1.98M|        }
 1108|  22.4M|        dest++;
 1109|  22.4M|        prev_lineno = lineno;
 1110|  22.4M|    }
 1111|  3.72M|    assert(dest <= bb->b_iused);
  ------------------
  |  Branch (1111:5): [True: 3.72M, False: 0]
  ------------------
 1112|  3.72M|    int num_removed = bb->b_iused - dest;
 1113|  3.72M|    bb->b_iused = dest;
 1114|  3.72M|    memset(&bb->b_instr[dest], 0, sizeof(cfg_instr) * num_removed);
 1115|  3.72M|    return num_removed;
 1116|  3.72M|}
flowgraph.c:next_nonempty_block:
  502|  1.75M|{
  503|  1.91M|    while (b && b->b_iused == 0) {
  ------------------
  |  Branch (503:12): [True: 1.91M, False: 378]
  |  Branch (503:17): [True: 155k, False: 1.75M]
  ------------------
  504|   155k|        b = b->b_next;
  505|   155k|    }
  506|  1.75M|    return b;
  507|  1.75M|}
flowgraph.c:remove_redundant_nops_and_jumps:
 2617|   109k|{
 2618|   109k|    int removed_nops, removed_jumps;
 2619|   116k|    do {
 2620|       |        /* Convergence is guaranteed because the number of
 2621|       |         * redundant jumps and nops only decreases.
 2622|       |         */
 2623|   116k|        removed_nops = remove_redundant_nops(g);
 2624|   116k|        RETURN_IF_ERROR(removed_nops);
  ------------------
  |  |   25|   116k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 116k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2625|   116k|        removed_jumps = remove_redundant_jumps(g);
 2626|   116k|        RETURN_IF_ERROR(removed_jumps);
  ------------------
  |  |   25|   116k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 116k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 2627|   116k|    } while(removed_nops + removed_jumps > 0);
  ------------------
  |  Branch (2627:13): [True: 6.68k, False: 109k]
  ------------------
 2628|   109k|    return SUCCESS;
  ------------------
  |  |   21|   109k|#define SUCCESS 0
  ------------------
 2629|   109k|}
flowgraph.c:remove_redundant_nops:
 1119|   221k|remove_redundant_nops(cfg_builder *g) {
 1120|   221k|    int changes = 0;
 1121|  3.40M|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1121:43): [True: 3.18M, False: 221k]
  ------------------
 1122|  3.18M|        int change = basicblock_remove_redundant_nops(b);
 1123|  3.18M|        RETURN_IF_ERROR(change);
  ------------------
  |  |   25|  3.18M|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 3.18M]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 1124|  3.18M|        changes += change;
 1125|  3.18M|    }
 1126|   221k|    return changes;
 1127|   221k|}
flowgraph.c:remove_redundant_jumps:
 1176|   116k|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|   116k|    int changes = 0;
 1186|  2.35M|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1186:43): [True: 2.23M, False: 116k]
  ------------------
 1187|  2.23M|        cfg_instr *last = basicblock_last_instr(b);
 1188|  2.23M|        if (last == NULL) {
  ------------------
  |  Branch (1188:13): [True: 282k, False: 1.95M]
  ------------------
 1189|   282k|            continue;
 1190|   282k|        }
 1191|  2.23M|        assert(!IS_ASSEMBLER_OPCODE(last->i_opcode));
  ------------------
  |  Branch (1191:9): [True: 0, False: 1.95M]
  |  Branch (1191:9): [True: 0, False: 1.95M]
  |  Branch (1191:9): [True: 0, False: 1.95M]
  ------------------
 1192|  1.95M|        if (IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   40|  1.95M|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|  3.90M|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 50.8k, False: 1.90M]
  |  |  ------------------
  |  |   41|  1.95M|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|  3.85M|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 435k, False: 1.46M]
  |  |  ------------------
  |  |   42|  1.95M|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|  3.42M|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 1.46M]
  |  |  ------------------
  |  |   43|  1.95M|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|  3.42M|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 1.46M]
  |  |  ------------------
  |  |   44|  1.95M|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|  1.46M|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 1.46M]
  |  |  ------------------
  ------------------
 1193|   486k|            basicblock* jump_target = next_nonempty_block(last->i_target);
 1194|   486k|            if (jump_target == NULL) {
  ------------------
  |  Branch (1194:17): [True: 0, False: 486k]
  ------------------
 1195|      0|                PyErr_SetString(PyExc_SystemError, "jump with NULL target");
 1196|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 1197|      0|            }
 1198|   486k|            basicblock *next = next_nonempty_block(b->b_next);
 1199|   486k|            if (jump_target == next) {
  ------------------
  |  Branch (1199:17): [True: 16.2k, False: 470k]
  ------------------
 1200|  16.2k|                changes++;
 1201|  16.2k|                INSTR_SET_OP0(last, NOP);
  ------------------
  |  |  125|  16.2k|    do { \
  |  |  126|  16.2k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  16.2k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  16.2k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  16.2k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  16.2k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 16.2k]
  |  |  ------------------
  ------------------
  |  Branch (1201:17): [True: 16.2k, False: 0]
  ------------------
 1202|  16.2k|            }
 1203|   486k|        }
 1204|  1.95M|    }
 1205|       |
 1206|   116k|    return changes;
 1207|   116k|}
flowgraph.c:remove_unused_consts:
 3268|  52.7k|{
 3269|  52.7k|    assert(PyList_CheckExact(consts));
  ------------------
  |  Branch (3269:5): [True: 52.7k, False: 0]
  ------------------
 3270|  52.7k|    Py_ssize_t nconsts = PyList_GET_SIZE(consts);
  ------------------
  |  |   38|  52.7k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3271|  52.7k|    if (nconsts == 0) {
  ------------------
  |  Branch (3271:9): [True: 50, False: 52.7k]
  ------------------
 3272|     50|        return SUCCESS;  /* nothing to do */
  ------------------
  |  |   21|     50|#define SUCCESS 0
  ------------------
 3273|     50|    }
 3274|       |
 3275|  52.7k|    Py_ssize_t *index_map = NULL;
 3276|  52.7k|    Py_ssize_t *reverse_index_map = NULL;
 3277|  52.7k|    int err = ERROR;
  ------------------
  |  |   22|  52.7k|#define ERROR -1
  ------------------
 3278|       |
 3279|  52.7k|    index_map = PyMem_Malloc(nconsts * sizeof(Py_ssize_t));
 3280|  52.7k|    if (index_map == NULL) {
  ------------------
  |  Branch (3280:9): [True: 0, False: 52.7k]
  ------------------
 3281|      0|        PyErr_NoMemory();
 3282|      0|        goto end;
 3283|      0|    }
 3284|   442k|    for (Py_ssize_t i = 1; i < nconsts; i++) {
  ------------------
  |  Branch (3284:28): [True: 389k, False: 52.7k]
  ------------------
 3285|   389k|        index_map[i] = -1;
 3286|   389k|    }
 3287|       |    // The first constant may be docstring; keep it always.
 3288|  52.7k|    index_map[0] = 0;
 3289|       |
 3290|       |    /* mark used consts */
 3291|   527k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3291:38): [True: 474k, False: 52.7k]
  ------------------
 3292|  3.82M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3292:25): [True: 3.34M, False: 474k]
  ------------------
 3293|  3.34M|            int opcode = b->b_instr[i].i_opcode;
 3294|  3.34M|            if (OPCODE_HAS_CONST(opcode)) {
  ------------------
  |  | 1063|  3.34M|#define OPCODE_HAS_CONST(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_CONST_FLAG))
  |  |  ------------------
  |  |  |  | 1044|  3.34M|#define HAS_CONST_FLAG (2)
  |  |  ------------------
  |  |  |  Branch (1063:30): [True: 333k, False: 3.01M]
  |  |  ------------------
  ------------------
 3295|   333k|                int index = b->b_instr[i].i_oparg;
 3296|   333k|                index_map[index] = index;
 3297|   333k|            }
 3298|  3.34M|        }
 3299|   474k|    }
 3300|       |    /* now index_map[i] == i if consts[i] is used, -1 otherwise */
 3301|       |    /* condense consts */
 3302|  52.7k|    Py_ssize_t n_used_consts = 0;
 3303|   494k|    for (Py_ssize_t i = 0; i < nconsts; i++) {
  ------------------
  |  Branch (3303:28): [True: 442k, False: 52.7k]
  ------------------
 3304|   442k|        if (index_map[i] != -1) {
  ------------------
  |  Branch (3304:13): [True: 171k, False: 270k]
  ------------------
 3305|   171k|            assert(index_map[i] == i);
  ------------------
  |  Branch (3305:13): [True: 171k, False: 0]
  ------------------
 3306|   171k|            index_map[n_used_consts++] = index_map[i];
 3307|   171k|        }
 3308|   442k|    }
 3309|  52.7k|    if (n_used_consts == nconsts) {
  ------------------
  |  Branch (3309:9): [True: 12.7k, False: 39.9k]
  ------------------
 3310|       |        /* nothing to do */
 3311|  12.7k|        err = SUCCESS;
  ------------------
  |  |   21|  12.7k|#define SUCCESS 0
  ------------------
 3312|  12.7k|        goto end;
 3313|  12.7k|    }
 3314|       |
 3315|       |    /* move all used consts to the beginning of the consts list */
 3316|  52.7k|    assert(n_used_consts < nconsts);
  ------------------
  |  Branch (3316:5): [True: 39.9k, False: 0]
  ------------------
 3317|   182k|    for (Py_ssize_t i = 0; i < n_used_consts; i++) {
  ------------------
  |  Branch (3317:28): [True: 142k, False: 39.9k]
  ------------------
 3318|   142k|        Py_ssize_t old_index = index_map[i];
 3319|   142k|        assert(i <= old_index && old_index < nconsts);
  ------------------
  |  Branch (3319:9): [True: 142k, False: 0]
  |  Branch (3319:9): [True: 142k, False: 0]
  ------------------
 3320|   142k|        if (i != old_index) {
  ------------------
  |  Branch (3320:13): [True: 61.6k, False: 80.6k]
  ------------------
 3321|  61.6k|            PyObject *value = PyList_GET_ITEM(consts, index_map[i]);
  ------------------
  |  |   40|  61.6k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  61.6k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  61.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3321:31): [True: 61.6k, False: 0]
  ------------------
 3322|  61.6k|            assert(value != NULL);
  ------------------
  |  Branch (3322:13): [True: 61.6k, False: 0]
  ------------------
 3323|  61.6k|            PyList_SetItem(consts, i, Py_NewRef(value));
  ------------------
  |  |  550|  61.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  61.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  61.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3324|  61.6k|        }
 3325|   142k|    }
 3326|       |
 3327|       |    /* truncate the consts list at its new size */
 3328|  39.9k|    if (PyList_SetSlice(consts, n_used_consts, nconsts, NULL) < 0) {
  ------------------
  |  Branch (3328:9): [True: 0, False: 39.9k]
  ------------------
 3329|      0|        goto end;
 3330|      0|    }
 3331|       |    /* adjust const indices in the bytecode */
 3332|  39.9k|    reverse_index_map = PyMem_Malloc(nconsts * sizeof(Py_ssize_t));
 3333|  39.9k|    if (reverse_index_map == NULL) {
  ------------------
  |  Branch (3333:9): [True: 0, False: 39.9k]
  ------------------
 3334|      0|        PyErr_NoMemory();
 3335|      0|        goto end;
 3336|      0|    }
 3337|   452k|    for (Py_ssize_t i = 0; i < nconsts; i++) {
  ------------------
  |  Branch (3337:28): [True: 412k, False: 39.9k]
  ------------------
 3338|   412k|        reverse_index_map[i] = -1;
 3339|   412k|    }
 3340|   182k|    for (Py_ssize_t i = 0; i < n_used_consts; i++) {
  ------------------
  |  Branch (3340:28): [True: 142k, False: 39.9k]
  ------------------
 3341|   142k|        assert(index_map[i] != -1);
  ------------------
  |  Branch (3341:9): [True: 142k, False: 0]
  ------------------
 3342|   142k|        assert(reverse_index_map[index_map[i]] == -1);
  ------------------
  |  Branch (3342:9): [True: 142k, False: 0]
  ------------------
 3343|   142k|        reverse_index_map[index_map[i]] = i;
 3344|   142k|    }
 3345|       |
 3346|   376k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3346:38): [True: 336k, False: 39.9k]
  ------------------
 3347|  2.91M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3347:25): [True: 2.58M, False: 336k]
  ------------------
 3348|  2.58M|            int opcode = b->b_instr[i].i_opcode;
 3349|  2.58M|            if (OPCODE_HAS_CONST(opcode)) {
  ------------------
  |  | 1063|  2.58M|#define OPCODE_HAS_CONST(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_CONST_FLAG))
  |  |  ------------------
  |  |  |  | 1044|  2.58M|#define HAS_CONST_FLAG (2)
  |  |  ------------------
  |  |  |  Branch (1063:30): [True: 311k, False: 2.27M]
  |  |  ------------------
  ------------------
 3350|   311k|                int index = b->b_instr[i].i_oparg;
 3351|   311k|                assert(reverse_index_map[index] >= 0);
  ------------------
  |  Branch (3351:17): [True: 311k, False: 0]
  ------------------
 3352|   311k|                assert(reverse_index_map[index] < n_used_consts);
  ------------------
  |  Branch (3352:17): [True: 311k, False: 0]
  ------------------
 3353|   311k|                b->b_instr[i].i_oparg = (int)reverse_index_map[index];
 3354|   311k|            }
 3355|  2.58M|        }
 3356|   336k|    }
 3357|       |
 3358|  39.9k|    err = SUCCESS;
  ------------------
  |  |   21|  39.9k|#define SUCCESS 0
  ------------------
 3359|  52.7k|end:
 3360|  52.7k|    PyMem_Free(index_map);
 3361|  52.7k|    PyMem_Free(reverse_index_map);
 3362|  52.7k|    return err;
 3363|  39.9k|}
flowgraph.c:add_checks_for_loads_of_uninitialized_variables:
 3371|  52.7k|{
 3372|  52.7k|    if (nlocals == 0) {
  ------------------
  |  Branch (3372:9): [True: 27.0k, False: 25.7k]
  ------------------
 3373|  27.0k|        return SUCCESS;
  ------------------
  |  |   21|  27.0k|#define SUCCESS 0
  ------------------
 3374|  27.0k|    }
 3375|  25.7k|    if (nlocals > 64) {
  ------------------
  |  Branch (3375:9): [True: 143, False: 25.6k]
  ------------------
 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|    143|        if (fast_scan_many_locals(entryblock, nlocals) < 0) {
  ------------------
  |  Branch (3379:13): [True: 0, False: 143]
  ------------------
 3380|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3381|      0|        }
 3382|    143|        nlocals = 64;
 3383|    143|    }
 3384|  25.7k|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 3385|  25.7k|    if (stack == NULL) {
  ------------------
  |  Branch (3385:9): [True: 0, False: 25.7k]
  ------------------
 3386|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3387|      0|    }
 3388|  25.7k|    basicblock **sp = stack;
 3389|       |
 3390|       |    // First origin of being uninitialized:
 3391|       |    // The non-parameter locals in the entry block.
 3392|  25.7k|    uint64_t start_mask = 0;
 3393|  86.8k|    for (int i = nparams; i < nlocals; i++) {
  ------------------
  |  Branch (3393:27): [True: 61.1k, False: 25.7k]
  ------------------
 3394|  61.1k|        start_mask |= (uint64_t)1 << i;
 3395|  61.1k|    }
 3396|  25.7k|    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|   318k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3401:38): [True: 292k, False: 25.7k]
  ------------------
 3402|   292k|        scan_block_for_locals(b, &sp);
 3403|   292k|    }
 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|   110k|    while (sp > stack) {
  ------------------
  |  Branch (3406:12): [True: 84.8k, False: 25.7k]
  ------------------
 3407|  84.8k|        basicblock *b = *--sp;
 3408|       |        // mark as no longer on stack
 3409|  84.8k|        b->b_visited = 0;
 3410|  84.8k|        scan_block_for_locals(b, &sp);
 3411|  84.8k|    }
 3412|  25.7k|    PyMem_Free(stack);
 3413|  25.7k|    return SUCCESS;
  ------------------
  |  |   21|  25.7k|#define SUCCESS 0
  ------------------
 3414|  25.7k|}
flowgraph.c:fast_scan_many_locals:
 3221|    143|{
 3222|    143|    assert(nlocals > 64);
  ------------------
  |  Branch (3222:5): [True: 143, False: 0]
  ------------------
 3223|    143|    Py_ssize_t *states = PyMem_Calloc(nlocals - 64, sizeof(Py_ssize_t));
 3224|    143|    if (states == NULL) {
  ------------------
  |  Branch (3224:9): [True: 0, False: 143]
  ------------------
 3225|      0|        PyErr_NoMemory();
 3226|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3227|      0|    }
 3228|    143|    Py_ssize_t blocknum = 0;
 3229|       |    // state[i - 64] == blocknum if local i is guaranteed to
 3230|       |    // be initialized, i.e., if it has had a previous LOAD_FAST or
 3231|       |    // STORE_FAST within that basicblock (not followed by
 3232|       |    // DELETE_FAST/LOAD_FAST_AND_CLEAR/STORE_FAST_MAYBE_NULL).
 3233|  1.26k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3233:38): [True: 1.12k, False: 143]
  ------------------
 3234|  1.12k|        blocknum++;
 3235|  66.3k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3235:25): [True: 65.2k, False: 1.12k]
  ------------------
 3236|  65.2k|            cfg_instr *instr = &b->b_instr[i];
 3237|  65.2k|            assert(instr->i_opcode != EXTENDED_ARG);
  ------------------
  |  Branch (3237:13): [True: 65.2k, False: 0]
  ------------------
 3238|  65.2k|            int arg = instr->i_oparg;
 3239|  65.2k|            if (arg < 64) {
  ------------------
  |  Branch (3239:17): [True: 62.7k, False: 2.53k]
  ------------------
 3240|  62.7k|                continue;
 3241|  62.7k|            }
 3242|  65.2k|            assert(arg >= 0);
  ------------------
  |  Branch (3242:13): [True: 2.53k, False: 0]
  ------------------
 3243|  2.53k|            switch (instr->i_opcode) {
  ------------------
  |  Branch (3243:21): [True: 1.53k, False: 1.00k]
  ------------------
 3244|    241|                case DELETE_FAST:
  ------------------
  |  |   73|    241|#define DELETE_FAST                             60
  ------------------
  |  Branch (3244:17): [True: 241, False: 2.29k]
  ------------------
 3245|    367|                case LOAD_FAST_AND_CLEAR:
  ------------------
  |  |   94|    367|#define LOAD_FAST_AND_CLEAR                     81
  ------------------
  |  Branch (3245:17): [True: 126, False: 2.41k]
  ------------------
 3246|    619|                case STORE_FAST_MAYBE_NULL:
  ------------------
  |  |  254|    619|#define STORE_FAST_MAYBE_NULL                  266
  ------------------
  |  Branch (3246:17): [True: 252, False: 2.28k]
  ------------------
 3247|    619|                    states[arg - 64] = blocknum - 1;
 3248|    619|                    break;
 3249|    780|                case STORE_FAST:
  ------------------
  |  |  121|    780|#define STORE_FAST                             108
  ------------------
  |  Branch (3249:17): [True: 780, False: 1.75k]
  ------------------
 3250|    780|                    states[arg - 64] = blocknum;
 3251|    780|                    break;
 3252|    138|                case LOAD_FAST:
  ------------------
  |  |   93|    138|#define LOAD_FAST                               80
  ------------------
  |  Branch (3252:17): [True: 138, False: 2.40k]
  ------------------
 3253|    138|                    if (states[arg - 64] != blocknum) {
  ------------------
  |  Branch (3253:25): [True: 70, False: 68]
  ------------------
 3254|     70|                        instr->i_opcode = LOAD_FAST_CHECK;
  ------------------
  |  |   97|     70|#define LOAD_FAST_CHECK                         84
  ------------------
 3255|     70|                    }
 3256|    138|                    states[arg - 64] = blocknum;
 3257|    138|                    break;
 3258|  2.53k|                    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 3259|  2.53k|            }
 3260|  2.53k|        }
 3261|  1.12k|    }
 3262|    143|    PyMem_Free(states);
 3263|    143|    return SUCCESS;
  ------------------
  |  |   21|    143|#define SUCCESS 0
  ------------------
 3264|    143|}
flowgraph.c:maybe_push:
 3156|  1.47M|{
 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|  1.47M|    uint64_t both = b->b_unsafe_locals_mask | unsafe_mask;
 3161|  1.47M|    if (b->b_unsafe_locals_mask != both) {
  ------------------
  |  Branch (3161:9): [True: 85.4k, False: 1.38M]
  ------------------
 3162|  85.4k|        b->b_unsafe_locals_mask = both;
 3163|       |        // More work left to do.
 3164|  85.4k|        if (!b->b_visited) {
  ------------------
  |  Branch (3164:13): [True: 84.8k, False: 546]
  ------------------
 3165|       |            // not on the stack, so push it.
 3166|  84.8k|            *(*sp)++ = b;
 3167|  84.8k|            b->b_visited = 1;
 3168|  84.8k|        }
 3169|  85.4k|    }
 3170|  1.47M|}
flowgraph.c:scan_block_for_locals:
 3174|   377k|{
 3175|       |    // bit i is set if local i is potentially uninitialized
 3176|   377k|    uint64_t unsafe_mask = b->b_unsafe_locals_mask;
 3177|  2.52M|    for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3177:21): [True: 2.14M, False: 377k]
  ------------------
 3178|  2.14M|        cfg_instr *instr = &b->b_instr[i];
 3179|  2.14M|        assert(instr->i_opcode != EXTENDED_ARG);
  ------------------
  |  Branch (3179:9): [True: 2.14M, False: 0]
  ------------------
 3180|  2.14M|        if (instr->i_except != NULL) {
  ------------------
  |  Branch (3180:13): [True: 1.08M, False: 1.05M]
  ------------------
 3181|  1.08M|            maybe_push(instr->i_except, unsafe_mask, sp);
 3182|  1.08M|        }
 3183|  2.14M|        if (instr->i_oparg >= 64) {
  ------------------
  |  Branch (3183:13): [True: 244k, False: 1.90M]
  ------------------
 3184|   244k|            continue;
 3185|   244k|        }
 3186|  2.14M|        assert(instr->i_oparg >= 0);
  ------------------
  |  Branch (3186:9): [True: 1.90M, False: 0]
  ------------------
 3187|  1.90M|        uint64_t bit = (uint64_t)1 << instr->i_oparg;
 3188|  1.90M|        switch (instr->i_opcode) {
  ------------------
  |  Branch (3188:17): [True: 311k, False: 1.59M]
  ------------------
 3189|  5.77k|            case DELETE_FAST:
  ------------------
  |  |   73|  5.77k|#define DELETE_FAST                             60
  ------------------
  |  Branch (3189:13): [True: 5.77k, False: 1.89M]
  ------------------
 3190|  18.5k|            case LOAD_FAST_AND_CLEAR:
  ------------------
  |  |   94|  18.5k|#define LOAD_FAST_AND_CLEAR                     81
  ------------------
  |  Branch (3190:13): [True: 12.7k, False: 1.88M]
  ------------------
 3191|  44.2k|            case STORE_FAST_MAYBE_NULL:
  ------------------
  |  |  254|  44.2k|#define STORE_FAST_MAYBE_NULL                  266
  ------------------
  |  Branch (3191:13): [True: 25.6k, False: 1.87M]
  ------------------
 3192|  44.2k|                unsafe_mask |= bit;
 3193|  44.2k|                break;
 3194|   216k|            case STORE_FAST:
  ------------------
  |  |  121|   216k|#define STORE_FAST                             108
  ------------------
  |  Branch (3194:13): [True: 216k, False: 1.68M]
  ------------------
 3195|   216k|                unsafe_mask &= ~bit;
 3196|   216k|                break;
 3197|  4.04k|            case LOAD_FAST_CHECK:
  ------------------
  |  |   97|  4.04k|#define LOAD_FAST_CHECK                         84
  ------------------
  |  Branch (3197:13): [True: 4.04k, False: 1.89M]
  ------------------
 3198|       |                // If this doesn't raise, then the local is defined.
 3199|  4.04k|                unsafe_mask &= ~bit;
 3200|  4.04k|                break;
 3201|  46.6k|            case LOAD_FAST:
  ------------------
  |  |   93|  46.6k|#define LOAD_FAST                               80
  ------------------
  |  Branch (3201:13): [True: 46.6k, False: 1.85M]
  ------------------
 3202|  46.6k|                if (unsafe_mask & bit) {
  ------------------
  |  Branch (3202:21): [True: 4.04k, False: 42.6k]
  ------------------
 3203|  4.04k|                    instr->i_opcode = LOAD_FAST_CHECK;
  ------------------
  |  |   97|  4.04k|#define LOAD_FAST_CHECK                         84
  ------------------
 3204|  4.04k|                }
 3205|  46.6k|                unsafe_mask &= ~bit;
 3206|  46.6k|                break;
 3207|  1.90M|        }
 3208|  1.90M|    }
 3209|   377k|    if (b->b_next && BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  251|   345k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 191k, False: 154k]
  |  |  ------------------
  ------------------
  |  Branch (3209:9): [True: 345k, False: 32.0k]
  ------------------
 3210|   191k|        maybe_push(b->b_next, unsafe_mask, sp);
 3211|   191k|    }
 3212|   377k|    cfg_instr *last = basicblock_last_instr(b);
 3213|   377k|    if (last && is_jump(last)) {
  ------------------
  |  Branch (3213:9): [True: 357k, False: 20.1k]
  |  Branch (3213:17): [True: 170k, False: 187k]
  ------------------
 3214|   170k|        assert(last->i_target != NULL);
  ------------------
  |  Branch (3214:9): [True: 170k, False: 0]
  ------------------
 3215|   170k|        maybe_push(last->i_target, unsafe_mask, sp);
 3216|   170k|    }
 3217|   377k|}
flowgraph.c:insert_superinstructions:
 2676|  52.7k|{
 2677|   527k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2677:43): [True: 474k, False: 52.7k]
  ------------------
 2678|       |
 2679|  3.82M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (2679:25): [True: 3.35M, False: 474k]
  ------------------
 2680|  3.35M|            cfg_instr *inst = &b->b_instr[i];
 2681|  3.35M|            int nextop = i+1 < b->b_iused ? b->b_instr[i+1].i_opcode : 0;
  ------------------
  |  Branch (2681:26): [True: 2.93M, False: 412k]
  ------------------
 2682|  3.35M|            switch(inst->i_opcode) {
  ------------------
  |  Branch (2682:20): [True: 115k, False: 3.23M]
  ------------------
 2683|  21.8k|                case LOAD_FAST:
  ------------------
  |  |   93|  21.8k|#define LOAD_FAST                               80
  ------------------
  |  Branch (2683:17): [True: 21.8k, False: 3.32M]
  ------------------
 2684|  21.8k|                    if (nextop == LOAD_FAST) {
  ------------------
  |  |   93|  21.8k|#define LOAD_FAST                               80
  ------------------
  |  Branch (2684:25): [True: 3.44k, False: 18.3k]
  ------------------
 2685|  3.44k|                        make_super_instruction(inst, &b->b_instr[i + 1], LOAD_FAST_LOAD_FAST);
  ------------------
  |  |   98|  3.44k|#define LOAD_FAST_LOAD_FAST                     85
  ------------------
 2686|  3.44k|                    }
 2687|  21.8k|                    break;
 2688|  94.1k|                case STORE_FAST:
  ------------------
  |  |  121|  94.1k|#define STORE_FAST                             108
  ------------------
  |  Branch (2688:17): [True: 94.1k, False: 3.25M]
  ------------------
 2689|  94.1k|                    switch (nextop) {
  ------------------
  |  Branch (2689:29): [True: 44.8k, False: 49.3k]
  ------------------
 2690|  4.13k|                        case LOAD_FAST:
  ------------------
  |  |   93|  4.13k|#define LOAD_FAST                               80
  ------------------
  |  Branch (2690:25): [True: 4.13k, False: 90.0k]
  ------------------
 2691|  4.13k|                            make_super_instruction(inst, &b->b_instr[i + 1], STORE_FAST_LOAD_FAST);
  ------------------
  |  |  122|  4.13k|#define STORE_FAST_LOAD_FAST                   109
  ------------------
 2692|  4.13k|                            break;
 2693|  40.6k|                        case STORE_FAST:
  ------------------
  |  |  121|  40.6k|#define STORE_FAST                             108
  ------------------
  |  Branch (2693:25): [True: 40.6k, False: 53.4k]
  ------------------
 2694|  40.6k|                            make_super_instruction(inst, &b->b_instr[i + 1], STORE_FAST_STORE_FAST);
  ------------------
  |  |  123|  40.6k|#define STORE_FAST_STORE_FAST                  110
  ------------------
 2695|  40.6k|                            break;
 2696|  94.1k|                    }
 2697|  94.1k|                    break;
 2698|  3.35M|            }
 2699|  3.35M|        }
 2700|   474k|    }
 2701|  52.7k|    int res = remove_redundant_nops(g);
 2702|  52.7k|    assert(no_redundant_nops(g));
  ------------------
  |  Branch (2702:5): [True: 52.7k, False: 0]
  ------------------
 2703|  52.7k|    return res;
 2704|  52.7k|}
flowgraph.c:make_super_instruction:
 2660|  48.2k|{
 2661|  48.2k|    int32_t line1 = inst1->i_loc.lineno;
 2662|  48.2k|    int32_t line2 = inst2->i_loc.lineno;
 2663|       |    /* Skip if instructions are on different lines */
 2664|  48.2k|    if (line1 >= 0 && line2 >= 0 && line1 != line2) {
  ------------------
  |  Branch (2664:9): [True: 48.2k, False: 0]
  |  Branch (2664:23): [True: 48.2k, False: 0]
  |  Branch (2664:37): [True: 171, False: 48.1k]
  ------------------
 2665|    171|        return;
 2666|    171|    }
 2667|  48.1k|    if (inst1->i_oparg >= 16 || inst2->i_oparg >= 16) {
  ------------------
  |  Branch (2667:9): [True: 23.3k, False: 24.7k]
  |  Branch (2667:33): [True: 3.77k, False: 20.9k]
  ------------------
 2668|  27.1k|        return;
 2669|  27.1k|    }
 2670|  20.9k|    INSTR_SET_OP1(inst1, super_op, (inst1->i_oparg << 4) | inst2->i_oparg);
  ------------------
  |  |  116|  20.9k|    do { \
  |  |  117|  20.9k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  118|  20.9k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  119|  20.9k|        _instr__ptr_->i_opcode = (OP); \
  |  |  120|  20.9k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  121|  20.9k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (121:14): [Folded, False: 20.9k]
  |  |  ------------------
  ------------------
  |  Branch (2670:5): [True: 20.9k, False: 0]
  ------------------
 2671|  20.9k|    INSTR_SET_OP0(inst2, NOP);
  ------------------
  |  |  125|  20.9k|    do { \
  |  |  126|  20.9k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  20.9k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  20.9k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  20.9k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  20.9k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 20.9k]
  |  |  ------------------
  ------------------
  |  Branch (2671:5): [True: 20.9k, False: 0]
  ------------------
 2672|  20.9k|}
flowgraph.c:no_redundant_nops:
  515|  52.7k|no_redundant_nops(cfg_builder *g) {
  516|  52.7k|    if (remove_redundant_nops(g) != 0) {
  ------------------
  |  Branch (516:9): [True: 0, False: 52.7k]
  ------------------
  517|      0|        return false;
  518|      0|    }
  519|  52.7k|    return true;
  520|  52.7k|}
flowgraph.c:push_cold_blocks_to_end:
 3499|  52.7k|push_cold_blocks_to_end(cfg_builder *g) {
 3500|  52.7k|    basicblock *entryblock = g->g_entryblock;
 3501|  52.7k|    if (entryblock->b_next == NULL) {
  ------------------
  |  Branch (3501:9): [True: 16.5k, False: 36.1k]
  ------------------
 3502|       |        /* single basicblock, no need to reorder */
 3503|  16.5k|        return SUCCESS;
  ------------------
  |  |   21|  16.5k|#define SUCCESS 0
  ------------------
 3504|  16.5k|    }
 3505|  36.1k|    RETURN_IF_ERROR(mark_cold(entryblock));
  ------------------
  |  |   25|  36.1k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 36.1k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3506|       |
 3507|  36.1k|    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|   514k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3511:38): [True: 478k, False: 36.1k]
  ------------------
 3512|   478k|        if (b->b_cold && BB_HAS_FALLTHROUGH(b) && b->b_next && b->b_next->b_warm) {
  ------------------
  |  |  251|   679k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 105k, False: 95.6k]
  |  |  ------------------
  ------------------
  |  Branch (3512:13): [True: 201k, False: 276k]
  |  Branch (3512:51): [True: 105k, False: 0]
  |  Branch (3512:64): [True: 19.9k, False: 85.9k]
  ------------------
 3513|  19.9k|            basicblock *explicit_jump = cfg_builder_new_block(g);
 3514|  19.9k|            if (explicit_jump == NULL) {
  ------------------
  |  Branch (3514:17): [True: 0, False: 19.9k]
  ------------------
 3515|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3516|      0|            }
 3517|  19.9k|            if (!IS_LABEL(b->b_next->b_label)) {
  ------------------
  |  |   96|  19.9k|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   95|  19.9k|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  ------------------
  |  Branch (3517:17): [True: 0, False: 19.9k]
  ------------------
 3518|      0|                b->b_next->b_label.id = next_lbl++;
 3519|      0|            }
 3520|  19.9k|            basicblock_addop(explicit_jump, JUMP_NO_INTERRUPT, b->b_next->b_label.id,
  ------------------
  |  |  248|  19.9k|#define JUMP_NO_INTERRUPT                      260
  ------------------
 3521|  19.9k|                             NO_LOCATION);
 3522|  19.9k|            explicit_jump->b_cold = 1;
 3523|  19.9k|            explicit_jump->b_next = b->b_next;
 3524|  19.9k|            explicit_jump->b_predecessors = 1;
 3525|  19.9k|            b->b_next = explicit_jump;
 3526|       |
 3527|       |            /* set target */
 3528|  19.9k|            cfg_instr *last = basicblock_last_instr(explicit_jump);
 3529|  19.9k|            last->i_target = explicit_jump->b_next;
 3530|  19.9k|        }
 3531|   478k|    }
 3532|       |
 3533|  36.1k|    assert(!entryblock->b_cold);  /* First block can't be cold */
  ------------------
  |  Branch (3533:5): [True: 36.1k, False: 0]
  ------------------
 3534|  36.1k|    basicblock *cold_blocks = NULL;
 3535|  36.1k|    basicblock *cold_blocks_tail = NULL;
 3536|       |
 3537|  36.1k|    basicblock *b = entryblock;
 3538|  76.6k|    while(b->b_next) {
  ------------------
  |  Branch (3538:11): [True: 76.6k, False: 31]
  ------------------
 3539|  76.6k|        assert(!b->b_cold);
  ------------------
  |  Branch (3539:9): [True: 76.6k, False: 0]
  ------------------
 3540|   316k|        while (b->b_next && !b->b_next->b_cold) {
  ------------------
  |  Branch (3540:16): [True: 280k, False: 36.1k]
  |  Branch (3540:29): [True: 240k, False: 40.4k]
  ------------------
 3541|   240k|            b = b->b_next;
 3542|   240k|        }
 3543|  76.6k|        if (b->b_next == NULL) {
  ------------------
  |  Branch (3543:13): [True: 36.1k, False: 40.4k]
  ------------------
 3544|       |            /* no more cold blocks */
 3545|  36.1k|            break;
 3546|  36.1k|        }
 3547|       |
 3548|       |        /* b->b_next is the beginning of a cold streak */
 3549|  76.6k|        assert(!b->b_cold && b->b_next->b_cold);
  ------------------
  |  Branch (3549:9): [True: 40.4k, False: 0]
  |  Branch (3549:9): [True: 40.4k, False: 0]
  ------------------
 3550|       |
 3551|  40.4k|        basicblock *b_end = b->b_next;
 3552|   201k|        while (b_end->b_next && b_end->b_next->b_cold) {
  ------------------
  |  Branch (3552:16): [True: 201k, False: 31]
  |  Branch (3552:33): [True: 161k, False: 40.4k]
  ------------------
 3553|   161k|            b_end = b_end->b_next;
 3554|   161k|        }
 3555|       |
 3556|       |        /* b_end is the end of the cold streak */
 3557|  40.4k|        assert(b_end && b_end->b_cold);
  ------------------
  |  Branch (3557:9): [True: 40.4k, False: 0]
  |  Branch (3557:9): [True: 40.4k, False: 0]
  ------------------
 3558|  40.4k|        assert(b_end->b_next == NULL || !b_end->b_next->b_cold);
  ------------------
  |  Branch (3558:9): [True: 31, False: 40.4k]
  |  Branch (3558:9): [True: 40.4k, False: 0]
  ------------------
 3559|       |
 3560|  40.4k|        if (cold_blocks == NULL) {
  ------------------
  |  Branch (3560:13): [True: 3.99k, False: 36.4k]
  ------------------
 3561|  3.99k|            cold_blocks = b->b_next;
 3562|  3.99k|        }
 3563|  36.4k|        else {
 3564|  36.4k|            cold_blocks_tail->b_next = b->b_next;
 3565|  36.4k|        }
 3566|  40.4k|        cold_blocks_tail = b_end;
 3567|  40.4k|        b->b_next = b_end->b_next;
 3568|  40.4k|        b_end->b_next = NULL;
 3569|  40.4k|    }
 3570|  36.1k|    assert(b != NULL && b->b_next == NULL);
  ------------------
  |  Branch (3570:5): [True: 36.1k, False: 0]
  |  Branch (3570:5): [True: 36.1k, False: 0]
  ------------------
 3571|  36.1k|    b->b_next = cold_blocks;
 3572|       |
 3573|  36.1k|    if (cold_blocks != NULL) {
  ------------------
  |  Branch (3573:9): [True: 3.99k, False: 32.1k]
  ------------------
 3574|  3.99k|        RETURN_IF_ERROR(remove_redundant_nops_and_jumps(g));
  ------------------
  |  |   25|  3.99k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 3.99k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3575|  3.99k|    }
 3576|  36.1k|    return SUCCESS;
  ------------------
  |  |   21|  36.1k|#define SUCCESS 0
  ------------------
 3577|  36.1k|}
flowgraph.c:mark_cold:
 3449|  36.1k|mark_cold(basicblock *entryblock) {
 3450|   494k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3450:38): [True: 458k, False: 36.1k]
  ------------------
 3451|   458k|        assert(!b->b_cold && !b->b_warm);
  ------------------
  |  Branch (3451:9): [True: 458k, False: 0]
  |  Branch (3451:9): [True: 458k, False: 0]
  ------------------
 3452|   458k|    }
 3453|  36.1k|    if (mark_warm(entryblock) < 0) {
  ------------------
  |  Branch (3453:9): [True: 0, False: 36.1k]
  ------------------
 3454|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3455|      0|    }
 3456|       |
 3457|  36.1k|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 3458|  36.1k|    if (stack == NULL) {
  ------------------
  |  Branch (3458:9): [True: 0, False: 36.1k]
  ------------------
 3459|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3460|      0|    }
 3461|       |
 3462|  36.1k|    basicblock **sp = stack;
 3463|   494k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3463:38): [True: 458k, False: 36.1k]
  ------------------
 3464|   458k|        if (b->b_except_handler) {
  ------------------
  |  Branch (3464:13): [True: 74.8k, False: 383k]
  ------------------
 3465|  74.8k|            assert(!b->b_warm);
  ------------------
  |  Branch (3465:13): [True: 74.8k, False: 0]
  ------------------
 3466|  74.8k|            *sp++ = b;
 3467|  74.8k|            b->b_visited = 1;
 3468|  74.8k|        }
 3469|   458k|    }
 3470|       |
 3471|   217k|    while (sp > stack) {
  ------------------
  |  Branch (3471:12): [True: 181k, False: 36.1k]
  ------------------
 3472|   181k|        basicblock *b = *(--sp);
 3473|   181k|        b->b_cold = 1;
 3474|   181k|        basicblock *next = b->b_next;
 3475|   181k|        if (next && BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  251|   181k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 105k, False: 75.6k]
  |  |  ------------------
  ------------------
  |  Branch (3475:13): [True: 181k, False: 31]
  ------------------
 3476|   105k|            if (!next->b_warm && !next->b_visited) {
  ------------------
  |  Branch (3476:17): [True: 85.9k, False: 19.9k]
  |  Branch (3476:34): [True: 82.1k, False: 3.77k]
  ------------------
 3477|  82.1k|                *sp++ = next;
 3478|  82.1k|                next->b_visited = 1;
 3479|  82.1k|            }
 3480|   105k|        }
 3481|   864k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3481:25): [True: 683k, False: 181k]
  ------------------
 3482|   683k|            cfg_instr *instr = &b->b_instr[i];
 3483|   683k|            if (is_jump(instr)) {
  ------------------
  |  Branch (3483:17): [True: 76.1k, False: 607k]
  ------------------
 3484|  76.1k|                assert(i == b->b_iused - 1);
  ------------------
  |  Branch (3484:17): [True: 76.1k, False: 0]
  ------------------
 3485|  76.1k|                basicblock *target = b->b_instr[i].i_target;
 3486|  76.1k|                if (!target->b_warm && !target->b_visited) {
  ------------------
  |  Branch (3486:21): [True: 64.4k, False: 11.7k]
  |  Branch (3486:40): [True: 24.5k, False: 39.8k]
  ------------------
 3487|  24.5k|                    *sp++ = target;
 3488|  24.5k|                    target->b_visited = 1;
 3489|  24.5k|                }
 3490|  76.1k|            }
 3491|   683k|        }
 3492|   181k|    }
 3493|  36.1k|    PyMem_Free(stack);
 3494|  36.1k|    return SUCCESS;
  ------------------
  |  |   21|  36.1k|#define SUCCESS 0
  ------------------
 3495|  36.1k|}
flowgraph.c:mark_warm:
 3418|  36.1k|mark_warm(basicblock *entryblock) {
 3419|  36.1k|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 3420|  36.1k|    if (stack == NULL) {
  ------------------
  |  Branch (3420:9): [True: 0, False: 36.1k]
  ------------------
 3421|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3422|      0|    }
 3423|  36.1k|    basicblock **sp = stack;
 3424|       |
 3425|  36.1k|    *sp++ = entryblock;
 3426|  36.1k|    entryblock->b_visited = 1;
 3427|   264k|    while (sp > stack) {
  ------------------
  |  Branch (3427:12): [True: 227k, False: 36.1k]
  ------------------
 3428|   227k|        basicblock *b = *(--sp);
 3429|   227k|        assert(!b->b_except_handler);
  ------------------
  |  Branch (3429:9): [True: 227k, False: 0]
  ------------------
 3430|   227k|        b->b_warm = 1;
 3431|   227k|        basicblock *next = b->b_next;
 3432|   227k|        if (next && BB_HAS_FALLTHROUGH(b) && !next->b_visited) {
  ------------------
  |  |  251|   453k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 131k, False: 93.9k]
  |  |  ------------------
  ------------------
  |  Branch (3432:13): [True: 225k, False: 2.42k]
  |  Branch (3432:46): [True: 125k, False: 5.76k]
  ------------------
 3433|   125k|            *sp++ = next;
 3434|   125k|            next->b_visited = 1;
 3435|   125k|        }
 3436|  2.19M|        for (int i=0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3436:23): [True: 1.96M, False: 227k]
  ------------------
 3437|  1.96M|            cfg_instr *instr = &b->b_instr[i];
 3438|  1.96M|            if (is_jump(instr) && !instr->i_target->b_visited) {
  ------------------
  |  Branch (3438:17): [True: 131k, False: 1.83M]
  |  Branch (3438:35): [True: 65.9k, False: 65.7k]
  ------------------
 3439|  65.9k|                *sp++ = instr->i_target;
 3440|  65.9k|                instr->i_target->b_visited = 1;
 3441|  65.9k|            }
 3442|  1.96M|        }
 3443|   227k|    }
 3444|  36.1k|    PyMem_Free(stack);
 3445|  36.1k|    return SUCCESS;
  ------------------
  |  |   21|  36.1k|#define SUCCESS 0
  ------------------
 3446|  36.1k|}
flowgraph.c:resolve_line_numbers:
 3753|   105k|{
 3754|   105k|    RETURN_IF_ERROR(duplicate_exits_without_lineno(g));
  ------------------
  |  |   25|   105k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 105k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3755|   105k|    propagate_line_numbers(g->g_entryblock);
 3756|   105k|    return SUCCESS;
  ------------------
  |  |   21|   105k|#define SUCCESS 0
  ------------------
 3757|   105k|}
flowgraph.c:duplicate_exits_without_lineno:
 3659|   105k|{
 3660|   105k|    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|   105k|    basicblock *entryblock = g->g_entryblock;
 3665|  1.07M|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3665:38): [True: 969k, False: 105k]
  ------------------
 3666|   969k|        cfg_instr *last = basicblock_last_instr(b);
 3667|   969k|        if (last == NULL) {
  ------------------
  |  Branch (3667:13): [True: 99.9k, False: 869k]
  ------------------
 3668|  99.9k|            continue;
 3669|  99.9k|        }
 3670|   869k|        if (is_jump(last)) {
  ------------------
  |  Branch (3670:13): [True: 443k, False: 425k]
  ------------------
 3671|   443k|            basicblock *target = next_nonempty_block(last->i_target);
 3672|   443k|            if (is_exit_or_eval_check_without_lineno(target) && target->b_predecessors > 1) {
  ------------------
  |  Branch (3672:17): [True: 6.45k, False: 437k]
  |  Branch (3672:65): [True: 2.09k, False: 4.35k]
  ------------------
 3673|  2.09k|                basicblock *new_target = copy_basicblock(g, target);
 3674|  2.09k|                if (new_target == NULL) {
  ------------------
  |  Branch (3674:21): [True: 0, False: 2.09k]
  ------------------
 3675|      0|                    return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3676|      0|                }
 3677|  2.09k|                new_target->b_instr[0].i_loc = last->i_loc;
 3678|  2.09k|                last->i_target = new_target;
 3679|  2.09k|                target->b_predecessors--;
 3680|  2.09k|                new_target->b_predecessors = 1;
 3681|  2.09k|                new_target->b_next = target->b_next;
 3682|  2.09k|                new_target->b_label.id = next_lbl++;
 3683|  2.09k|                target->b_next = new_target;
 3684|  2.09k|            }
 3685|   443k|        }
 3686|   869k|    }
 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|  1.07M|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3690:38): [True: 969k, False: 105k]
  ------------------
 3691|   969k|        if (BB_HAS_FALLTHROUGH(b) && b->b_next && b->b_iused > 0) {
  ------------------
  |  |  251|  1.93M|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 580k, False: 389k]
  |  |  ------------------
  ------------------
  |  Branch (3691:38): [True: 516k, False: 63.7k]
  |  Branch (3691:51): [True: 480k, False: 36.1k]
  ------------------
 3692|   480k|            if (is_exit_or_eval_check_without_lineno(b->b_next)) {
  ------------------
  |  Branch (3692:17): [True: 13.9k, False: 466k]
  ------------------
 3693|  13.9k|                cfg_instr *last = basicblock_last_instr(b);
 3694|  13.9k|                assert(last != NULL);
  ------------------
  |  Branch (3694:17): [True: 13.9k, False: 0]
  ------------------
 3695|  13.9k|                b->b_next->b_instr[0].i_loc = last->i_loc;
 3696|  13.9k|            }
 3697|   480k|        }
 3698|   969k|    }
 3699|   105k|    return SUCCESS;
  ------------------
  |  |   21|   105k|#define SUCCESS 0
  ------------------
 3700|   105k|}
flowgraph.c:is_exit_or_eval_check_without_lineno:
 3638|   923k|is_exit_or_eval_check_without_lineno(basicblock *b) {
 3639|   923k|    if (basicblock_exits_scope(b) || basicblock_has_eval_break(b)) {
  ------------------
  |  Branch (3639:9): [True: 115k, False: 808k]
  |  Branch (3639:38): [True: 207k, False: 601k]
  ------------------
 3640|   322k|        return basicblock_has_no_lineno(b);
 3641|   322k|    }
 3642|   601k|    else {
 3643|       |        return false;
 3644|   601k|    }
 3645|   923k|}
flowgraph.c:basicblock_has_eval_break:
  359|   808k|basicblock_has_eval_break(const basicblock *b) {
  360|  5.27M|    for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (360:21): [True: 4.67M, False: 601k]
  ------------------
  361|  4.67M|        if (OPCODE_HAS_EVAL_BREAK(b->b_instr[i].i_opcode)) {
  ------------------
  |  | 1068|  4.67M|#define OPCODE_HAS_EVAL_BREAK(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_EVAL_BREAK_FLAG))
  |  |  ------------------
  |  |  |  | 1049|  4.67M|#define HAS_EVAL_BREAK_FLAG (64)
  |  |  ------------------
  |  |  |  Branch (1068:35): [True: 207k, False: 4.46M]
  |  |  ------------------
  ------------------
  362|   207k|            return true;
  363|   207k|        }
  364|  4.67M|    }
  365|   601k|    return false;
  366|   808k|}
flowgraph.c:copy_basicblock:
  255|  2.09k|{
  256|       |    /* Cannot copy a block if it has a fallthrough, since
  257|       |     * a block can only have one fallthrough predecessor.
  258|       |     */
  259|  2.09k|    assert(BB_NO_FALLTHROUGH(block));
  ------------------
  |  Branch (259:5): [True: 2.09k, False: 0]
  ------------------
  260|  2.09k|    basicblock *result = cfg_builder_new_block(g);
  261|  2.09k|    if (result == NULL) {
  ------------------
  |  Branch (261:9): [True: 0, False: 2.09k]
  ------------------
  262|      0|        return NULL;
  263|      0|    }
  264|  2.09k|    if (basicblock_append_instructions(result, block) < 0) {
  ------------------
  |  Branch (264:9): [True: 0, False: 2.09k]
  ------------------
  265|      0|        return NULL;
  266|      0|    }
  267|  2.09k|    return result;
  268|  2.09k|}
flowgraph.c:propagate_line_numbers:
 3722|   105k|{
 3723|  1.07M|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3723:38): [True: 969k, False: 105k]
  ------------------
 3724|   969k|        cfg_instr *last = basicblock_last_instr(b);
 3725|   969k|        if (last == NULL) {
  ------------------
  |  Branch (3725:13): [True: 99.9k, False: 869k]
  ------------------
 3726|  99.9k|            continue;
 3727|  99.9k|        }
 3728|       |
 3729|   869k|        location prev_location = NO_LOCATION;
 3730|  9.19M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3730:25): [True: 8.32M, False: 869k]
  ------------------
 3731|  8.32M|            maybe_propagate_location(b, i, prev_location);
 3732|  8.32M|            prev_location = b->b_instr[i].i_loc;
 3733|  8.32M|        }
 3734|   869k|        if (BB_HAS_FALLTHROUGH(b) && b->b_next->b_predecessors == 1) {
  ------------------
  |  |  251|  1.73M|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 480k, False: 389k]
  |  |  ------------------
  ------------------
  |  Branch (3734:38): [True: 307k, False: 173k]
  ------------------
 3735|   307k|            if (b->b_next->b_iused > 0) {
  ------------------
  |  Branch (3735:17): [True: 306k, False: 477]
  ------------------
 3736|   306k|                maybe_propagate_location(b->b_next, 0, prev_location);
 3737|   306k|            }
 3738|   307k|        }
 3739|   869k|        if (is_jump(last)) {
  ------------------
  |  Branch (3739:13): [True: 443k, False: 425k]
  ------------------
 3740|   443k|            basicblock *target = last->i_target;
 3741|   443k|            while (target->b_iused == 0 && target->b_predecessors == 1) {
  ------------------
  |  Branch (3741:20): [True: 329, False: 443k]
  |  Branch (3741:44): [True: 20, False: 309]
  ------------------
 3742|     20|                target = target->b_next;
 3743|     20|            }
 3744|   443k|            if (target->b_predecessors == 1) {
  ------------------
  |  Branch (3744:17): [True: 84.6k, False: 359k]
  ------------------
 3745|  84.6k|                maybe_propagate_location(target, 0, prev_location);
 3746|  84.6k|            }
 3747|   443k|        }
 3748|   869k|    }
 3749|   105k|}
flowgraph.c:maybe_propagate_location:
 3713|  8.71M|{
 3714|  8.71M|    assert(b->b_iused > i);
  ------------------
  |  Branch (3714:5): [True: 8.71M, False: 0]
  ------------------
 3715|  8.71M|    if (b->b_instr[i].i_loc.lineno == NO_LOCATION.lineno) {
  ------------------
  |  Branch (3715:9): [True: 613k, False: 8.10M]
  ------------------
 3716|   613k|         b->b_instr[i].i_loc = loc;
 3717|   613k|    }
 3718|  8.71M|}
flowgraph.c:convert_pseudo_conditional_jumps:
 3581|  52.7k|{
 3582|  52.7k|    basicblock *entryblock = g->g_entryblock;
 3583|   547k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3583:38): [True: 494k, False: 52.7k]
  ------------------
 3584|  3.83M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3584:25): [True: 3.33M, False: 494k]
  ------------------
 3585|  3.33M|            cfg_instr *instr = &b->b_instr[i];
 3586|  3.33M|            if (instr->i_opcode == JUMP_IF_FALSE || instr->i_opcode == JUMP_IF_TRUE) {
  ------------------
  |  |  246|  6.67M|#define JUMP_IF_FALSE                          258
  ------------------
                          if (instr->i_opcode == JUMP_IF_FALSE || instr->i_opcode == JUMP_IF_TRUE) {
  ------------------
  |  |  247|  3.33M|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (3586:17): [True: 2.94k, False: 3.33M]
  |  Branch (3586:53): [True: 1.04k, False: 3.33M]
  ------------------
 3587|  3.98k|                assert(i == b->b_iused - 1);
  ------------------
  |  Branch (3587:17): [True: 3.98k, False: 0]
  ------------------
 3588|  3.98k|                instr->i_opcode = instr->i_opcode == JUMP_IF_FALSE ?
  ------------------
  |  |  246|  3.98k|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (3588:35): [True: 2.94k, False: 1.04k]
  ------------------
 3589|  2.94k|                                          POP_JUMP_IF_FALSE : POP_JUMP_IF_TRUE;
  ------------------
  |  |  109|  2.94k|#define POP_JUMP_IF_FALSE                       96
  ------------------
                                                        POP_JUMP_IF_FALSE : POP_JUMP_IF_TRUE;
  ------------------
  |  |  112|  5.02k|#define POP_JUMP_IF_TRUE                        99
  ------------------
 3590|  3.98k|                location loc = instr->i_loc;
 3591|  3.98k|                basicblock *except = instr->i_except;
 3592|  3.98k|                cfg_instr copy = {
 3593|  3.98k|                            .i_opcode = COPY,
  ------------------
  |  |   70|  3.98k|#define COPY                                    57
  ------------------
 3594|  3.98k|                            .i_oparg = 1,
 3595|  3.98k|                            .i_loc = loc,
 3596|  3.98k|                            .i_target = NULL,
 3597|  3.98k|                            .i_except = except,
 3598|  3.98k|                };
 3599|  3.98k|                RETURN_IF_ERROR(basicblock_insert_instruction(b, i++, &copy));
  ------------------
  |  |   25|  3.98k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 3.98k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3600|  3.98k|                cfg_instr to_bool = {
 3601|  3.98k|                            .i_opcode = TO_BOOL,
  ------------------
  |  |   50|  3.98k|#define TO_BOOL                                 37
  ------------------
 3602|  3.98k|                            .i_oparg = 0,
 3603|  3.98k|                            .i_loc = loc,
 3604|  3.98k|                            .i_target = NULL,
 3605|  3.98k|                            .i_except = except,
 3606|  3.98k|                };
 3607|  3.98k|                RETURN_IF_ERROR(basicblock_insert_instruction(b, i++, &to_bool));
  ------------------
  |  |   25|  3.98k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 3.98k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3608|  3.98k|            }
 3609|  3.33M|        }
 3610|   494k|    }
 3611|  52.7k|    return SUCCESS;
  ------------------
  |  |   21|  52.7k|#define SUCCESS 0
  ------------------
 3612|  52.7k|}
flowgraph.c:basicblock_insert_instruction:
  271|  30.8k|basicblock_insert_instruction(basicblock *block, int pos, cfg_instr *instr) {
  272|  30.8k|    RETURN_IF_ERROR(basicblock_next_instr(block));
  ------------------
  |  |   25|  30.8k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 30.8k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  273|   522k|    for (int i = block->b_iused - 1; i > pos; i--) {
  ------------------
  |  Branch (273:38): [True: 491k, False: 30.8k]
  ------------------
  274|   491k|        block->b_instr[i] = block->b_instr[i-1];
  275|   491k|    }
  276|  30.8k|    block->b_instr[pos] = *instr;
  277|  30.8k|    return SUCCESS;
  ------------------
  |  |   21|  30.8k|#define SUCCESS 0
  ------------------
  278|  30.8k|}
flowgraph.c:calculate_stackdepth:
  821|  52.7k|{
  822|  52.7k|    basicblock *entryblock = g->g_entryblock;
  823|   547k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (823:38): [True: 494k, False: 52.7k]
  ------------------
  824|   494k|        b->b_startdepth = INT_MIN;
  825|   494k|    }
  826|  52.7k|    basicblock **stack = make_cfg_traversal_stack(entryblock);
  827|  52.7k|    if (!stack) {
  ------------------
  |  Branch (827:9): [True: 0, False: 52.7k]
  ------------------
  828|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  829|      0|    }
  830|       |
  831|       |
  832|  52.7k|    int stackdepth = -1;
  833|  52.7k|    int maxdepth = 0;
  834|  52.7k|    basicblock **sp = stack;
  835|  52.7k|    if (stackdepth_push(&sp, entryblock, 0) < 0) {
  ------------------
  |  Branch (835:9): [True: 0, False: 52.7k]
  ------------------
  836|      0|        goto error;
  837|      0|    }
  838|   509k|    while (sp != stack) {
  ------------------
  |  Branch (838:12): [True: 457k, False: 52.7k]
  ------------------
  839|   457k|        basicblock *b = *--sp;
  840|   457k|        int depth = b->b_startdepth;
  841|   457k|        assert(depth >= 0);
  ------------------
  |  Branch (841:9): [True: 457k, False: 0]
  ------------------
  842|   457k|        basicblock *next = b->b_next;
  843|  3.60M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (843:25): [True: 3.34M, False: 262k]
  ------------------
  844|  3.34M|            cfg_instr *instr = &b->b_instr[i];
  845|  3.34M|            stack_effects effects;
  846|  3.34M|            if (get_stack_effects(instr->i_opcode, instr->i_oparg, 0, &effects) < 0) {
  ------------------
  |  Branch (846:17): [True: 0, False: 3.34M]
  ------------------
  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|  3.34M|            int new_depth = depth + effects.net;
  853|  3.34M|            if (new_depth < 0) {
  ------------------
  |  Branch (853:17): [True: 0, False: 3.34M]
  ------------------
  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|  3.34M|            maxdepth = Py_MAX(maxdepth, depth);
  ------------------
  |  |  115|  3.34M|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 2.64M, False: 699k]
  |  |  ------------------
  ------------------
  859|  3.34M|            if (HAS_TARGET(instr->i_opcode) && instr->i_opcode != END_ASYNC_FOR) {
  ------------------
  |  |   23|  6.68M|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|  6.68M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|  3.34M|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 214k, False: 3.12M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  3.12M|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  6.25M|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 43.1k, False: 3.08M]
  |  |  |  |  ------------------
  |  |  |  |   19|  3.12M|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  6.21M|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 11.4k, False: 3.07M]
  |  |  |  |  ------------------
  |  |  |  |   20|  3.12M|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  3.07M|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 20.2k, False: 3.05M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (HAS_TARGET(instr->i_opcode) && instr->i_opcode != END_ASYNC_FOR) {
  ------------------
  |  |   76|   288k|#define END_ASYNC_FOR                           63
  ------------------
  |  Branch (859:48): [True: 287k, False: 1.20k]
  ------------------
  860|   287k|                if (get_stack_effects(instr->i_opcode, instr->i_oparg, 1, &effects) < 0) {
  ------------------
  |  Branch (860:21): [True: 0, False: 287k]
  ------------------
  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|   287k|                int target_depth = depth + effects.net;
  867|   287k|                assert(target_depth >= 0); /* invalid code or bug in stackdepth() */
  ------------------
  |  Branch (867:17): [True: 287k, False: 0]
  ------------------
  868|   287k|                maxdepth = Py_MAX(maxdepth, depth);
  ------------------
  |  |  115|   287k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 245k, False: 41.8k]
  |  |  ------------------
  ------------------
  869|   287k|                if (stackdepth_push(&sp, instr->i_target, target_depth) < 0) {
  ------------------
  |  Branch (869:21): [True: 0, False: 287k]
  ------------------
  870|      0|                    goto error;
  871|      0|                }
  872|   287k|            }
  873|  3.34M|            depth = new_depth;
  874|  3.34M|            assert(!IS_ASSEMBLER_OPCODE(instr->i_opcode));
  ------------------
  |  Branch (874:13): [True: 0, False: 3.34M]
  |  Branch (874:13): [True: 0, False: 3.34M]
  |  Branch (874:13): [True: 0, False: 3.34M]
  ------------------
  875|  3.34M|            if (IS_UNCONDITIONAL_JUMP_OPCODE(instr->i_opcode) ||
  ------------------
  |  |   40|  6.68M|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|  6.68M|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 7.94k, False: 3.33M]
  |  |  ------------------
  |  |   41|  3.34M|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|  6.67M|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 78.1k, False: 3.25M]
  |  |  ------------------
  |  |   42|  3.34M|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|  6.60M|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 3.25M]
  |  |  ------------------
  |  |   43|  3.34M|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|  6.60M|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 3.25M]
  |  |  ------------------
  |  |   44|  6.68M|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|  3.25M|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 3.25M]
  |  |  ------------------
  ------------------
  876|  3.25M|                IS_SCOPE_EXIT_OPCODE(instr->i_opcode))
  ------------------
  |  |   53|  3.25M|        ((opcode) == RETURN_VALUE || \
  |  |  ------------------
  |  |  |  |   46|  6.51M|#define RETURN_VALUE                            33
  |  |  ------------------
  |  |  |  Branch (53:10): [True: 57.0k, False: 3.20M]
  |  |  ------------------
  |  |   54|  3.25M|         (opcode) == RAISE_VARARGS || \
  |  |  ------------------
  |  |  |  |  113|  6.45M|#define RAISE_VARARGS                          100
  |  |  ------------------
  |  |  |  Branch (54:10): [True: 14.3k, False: 3.18M]
  |  |  ------------------
  |  |   55|  3.25M|         (opcode) == RERAISE)
  |  |  ------------------
  |  |  |  |  114|  3.18M|#define RERAISE                                101
  |  |  ------------------
  |  |  |  Branch (55:10): [True: 37.3k, False: 3.14M]
  |  |  ------------------
  ------------------
  877|   194k|            {
  878|       |                /* remaining code is dead */
  879|   194k|                next = NULL;
  880|   194k|                break;
  881|   194k|            }
  882|  3.34M|        }
  883|   457k|        if (next != NULL) {
  ------------------
  |  Branch (883:13): [True: 262k, False: 194k]
  ------------------
  884|   262k|            assert(BB_HAS_FALLTHROUGH(b));
  ------------------
  |  Branch (884:13): [True: 262k, False: 0]
  ------------------
  885|   262k|            if (stackdepth_push(&sp, next, depth) < 0) {
  ------------------
  |  Branch (885:17): [True: 0, False: 262k]
  ------------------
  886|      0|                goto error;
  887|      0|            }
  888|   262k|        }
  889|   457k|    }
  890|  52.7k|    stackdepth = maxdepth;
  891|  52.7k|error:
  892|  52.7k|    PyMem_Free(stack);
  893|  52.7k|    return stackdepth;
  894|  52.7k|}
flowgraph.c:stackdepth_push:
  803|   602k|{
  804|   602k|    if (!(b->b_startdepth < 0 || b->b_startdepth == depth)) {
  ------------------
  |  Branch (804:11): [True: 457k, False: 145k]
  |  Branch (804:34): [True: 145k, False: 0]
  ------------------
  805|      0|        PyErr_Format(PyExc_ValueError, "Invalid CFG, inconsistent stackdepth");
  806|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  807|      0|    }
  808|   602k|    if (b->b_startdepth < depth && b->b_startdepth < 100) {
  ------------------
  |  Branch (808:9): [True: 457k, False: 145k]
  |  Branch (808:36): [True: 457k, False: 0]
  ------------------
  809|   457k|        assert(b->b_startdepth < 0);
  ------------------
  |  Branch (809:9): [True: 457k, False: 0]
  ------------------
  810|   457k|        b->b_startdepth = depth;
  811|   457k|        *(*sp)++ = b;
  812|   457k|    }
  813|   602k|    return SUCCESS;
  ------------------
  |  |   21|   602k|#define SUCCESS 0
  ------------------
  814|   602k|}
flowgraph.c:prepare_localsplus:
 3966|  52.7k|{
 3967|  52.7k|    assert(PyDict_GET_SIZE(umd->u_varnames) < INT_MAX);
  ------------------
  |  Branch (3967:5): [True: 52.7k, False: 0]
  ------------------
 3968|  52.7k|    assert(PyDict_GET_SIZE(umd->u_cellvars) < INT_MAX);
  ------------------
  |  Branch (3968:5): [True: 52.7k, False: 0]
  ------------------
 3969|  52.7k|    assert(PyDict_GET_SIZE(umd->u_freevars) < INT_MAX);
  ------------------
  |  Branch (3969:5): [True: 52.7k, False: 0]
  ------------------
 3970|  52.7k|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|  52.7k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3971|  52.7k|    int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   63|  52.7k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3972|  52.7k|    int nfreevars = (int)PyDict_GET_SIZE(umd->u_freevars);
  ------------------
  |  |   63|  52.7k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3973|  52.7k|    assert(INT_MAX - nlocals - ncellvars > 0);
  ------------------
  |  Branch (3973:5): [True: 52.7k, False: 0]
  ------------------
 3974|  52.7k|    assert(INT_MAX - nlocals - ncellvars - nfreevars > 0);
  ------------------
  |  Branch (3974:5): [True: 52.7k, False: 0]
  ------------------
 3975|  52.7k|    int nlocalsplus = nlocals + ncellvars + nfreevars;
 3976|  52.7k|    int* cellfixedoffsets = build_cellfixedoffsets(umd);
 3977|  52.7k|    if (cellfixedoffsets == NULL) {
  ------------------
  |  Branch (3977:9): [True: 0, False: 52.7k]
  ------------------
 3978|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3979|      0|    }
 3980|       |
 3981|       |    // This must be called before fix_cell_offsets().
 3982|  52.7k|    if (insert_prefix_instructions(umd, g->g_entryblock, cellfixedoffsets, nfreevars)) {
  ------------------
  |  Branch (3982:9): [True: 0, False: 52.7k]
  ------------------
 3983|      0|        PyMem_Free(cellfixedoffsets);
 3984|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3985|      0|    }
 3986|       |
 3987|  52.7k|    int numdropped = fix_cell_offsets(umd, g->g_entryblock, cellfixedoffsets);
 3988|  52.7k|    PyMem_Free(cellfixedoffsets);  // At this point we're done with it.
 3989|  52.7k|    cellfixedoffsets = NULL;
 3990|  52.7k|    if (numdropped < 0) {
  ------------------
  |  Branch (3990:9): [True: 0, False: 52.7k]
  ------------------
 3991|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3992|      0|    }
 3993|       |
 3994|  52.7k|    nlocalsplus -= numdropped;
 3995|  52.7k|    return nlocalsplus;
 3996|  52.7k|}
flowgraph.c:build_cellfixedoffsets:
 3814|  52.7k|{
 3815|  52.7k|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|  52.7k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3816|  52.7k|    int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   63|  52.7k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3817|  52.7k|    int nfreevars = (int)PyDict_GET_SIZE(umd->u_freevars);
  ------------------
  |  |   63|  52.7k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3818|       |
 3819|  52.7k|    int noffsets = ncellvars + nfreevars;
 3820|  52.7k|    int *fixed = PyMem_New(int, noffsets);
  ------------------
  |  |   64|  52.7k|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|  52.7k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 52.7k]
  |  |  ------------------
  |  |   65|  52.7k|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3821|  52.7k|    if (fixed == NULL) {
  ------------------
  |  Branch (3821:9): [True: 0, False: 52.7k]
  ------------------
 3822|      0|        PyErr_NoMemory();
 3823|      0|        return NULL;
 3824|      0|    }
 3825|  77.1k|    for (int i = 0; i < noffsets; i++) {
  ------------------
  |  Branch (3825:21): [True: 24.3k, False: 52.7k]
  ------------------
 3826|  24.3k|        fixed[i] = nlocals + i;
 3827|  24.3k|    }
 3828|       |
 3829|  52.7k|    PyObject *varname, *cellindex;
 3830|  52.7k|    Py_ssize_t pos = 0;
 3831|  64.7k|    while (PyDict_Next(umd->u_cellvars, &pos, &varname, &cellindex)) {
  ------------------
  |  Branch (3831:12): [True: 11.9k, False: 52.7k]
  ------------------
 3832|  11.9k|        PyObject *varindex;
 3833|  11.9k|        if (PyDict_GetItemRef(umd->u_varnames, varname, &varindex) < 0) {
  ------------------
  |  Branch (3833:13): [True: 0, False: 11.9k]
  ------------------
 3834|      0|            goto error;
 3835|      0|        }
 3836|  11.9k|        if (varindex == NULL) {
  ------------------
  |  Branch (3836:13): [True: 11.8k, False: 104]
  ------------------
 3837|  11.8k|            continue;
 3838|  11.8k|        }
 3839|       |
 3840|    104|        int argoffset = PyLong_AsInt(varindex);
 3841|    104|        Py_DECREF(varindex);
  ------------------
  |  |  430|    104|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3842|    104|        if (argoffset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3842:13): [True: 0, False: 104]
  |  Branch (3842:32): [True: 0, False: 0]
  ------------------
 3843|      0|            goto error;
 3844|      0|        }
 3845|       |
 3846|    104|        int oldindex = PyLong_AsInt(cellindex);
 3847|    104|        if (oldindex == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3847:13): [True: 0, False: 104]
  |  Branch (3847:31): [True: 0, False: 0]
  ------------------
 3848|      0|            goto error;
 3849|      0|        }
 3850|    104|        fixed[oldindex] = argoffset;
 3851|    104|    }
 3852|  52.7k|    return fixed;
 3853|       |
 3854|      0|error:
 3855|      0|    PyMem_Free(fixed);
 3856|       |    return NULL;
 3857|  52.7k|}
flowgraph.c:insert_prefix_instructions:
 3865|  52.7k|{
 3866|  52.7k|    assert(umd->u_firstlineno > 0);
  ------------------
  |  Branch (3866:5): [True: 52.7k, False: 0]
  ------------------
 3867|       |
 3868|       |    /* Set up cells for any variable that escapes, to be put in a closure. */
 3869|  52.7k|    const int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   63|  52.7k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3870|  52.7k|    if (ncellvars) {
  ------------------
  |  Branch (3870:9): [True: 11.1k, False: 41.6k]
  ------------------
 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|  11.1k|        const int nvars = ncellvars + (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|  11.1k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3875|  11.1k|        int *sorted = PyMem_RawCalloc(nvars, sizeof(int));
 3876|  11.1k|        if (sorted == NULL) {
  ------------------
  |  Branch (3876:13): [True: 0, False: 11.1k]
  ------------------
 3877|      0|            PyErr_NoMemory();
 3878|      0|            return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3879|      0|        }
 3880|  23.1k|        for (int i = 0; i < ncellvars; i++) {
  ------------------
  |  Branch (3880:25): [True: 11.9k, False: 11.1k]
  ------------------
 3881|  11.9k|            sorted[fixed[i]] = i + 1;
 3882|  11.9k|        }
 3883|  30.8k|        for (int i = 0, ncellsused = 0; ncellsused < ncellvars; i++) {
  ------------------
  |  Branch (3883:41): [True: 19.6k, False: 11.1k]
  ------------------
 3884|  19.6k|            int oldindex = sorted[i] - 1;
 3885|  19.6k|            if (oldindex == -1) {
  ------------------
  |  Branch (3885:17): [True: 7.71k, False: 11.9k]
  ------------------
 3886|  7.71k|                continue;
 3887|  7.71k|            }
 3888|  11.9k|            cfg_instr make_cell = {
 3889|  11.9k|                .i_opcode = MAKE_CELL,
  ------------------
  |  |  106|  11.9k|#define MAKE_CELL                               93
  ------------------
 3890|       |                // This will get fixed in offset_derefs().
 3891|  11.9k|                .i_oparg = oldindex,
 3892|  11.9k|                .i_loc = NO_LOCATION,
 3893|  11.9k|                .i_target = NULL,
 3894|  11.9k|                .i_except = NULL,
 3895|  11.9k|            };
 3896|  11.9k|            if (basicblock_insert_instruction(entryblock, ncellsused, &make_cell) < 0) {
  ------------------
  |  Branch (3896:17): [True: 0, False: 11.9k]
  ------------------
 3897|      0|                PyMem_RawFree(sorted);
 3898|      0|                return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 3899|      0|            }
 3900|  11.9k|            ncellsused += 1;
 3901|  11.9k|        }
 3902|  11.1k|        PyMem_RawFree(sorted);
 3903|  11.1k|    }
 3904|       |
 3905|  52.7k|    if (nfreevars) {
  ------------------
  |  Branch (3905:9): [True: 10.9k, False: 41.8k]
  ------------------
 3906|  10.9k|        cfg_instr copy_frees = {
 3907|  10.9k|            .i_opcode = COPY_FREE_VARS,
  ------------------
  |  |   71|  10.9k|#define COPY_FREE_VARS                          58
  ------------------
 3908|  10.9k|            .i_oparg = nfreevars,
 3909|  10.9k|            .i_loc = NO_LOCATION,
 3910|  10.9k|            .i_target = NULL,
 3911|  10.9k|            .i_except = NULL,
 3912|  10.9k|        };
 3913|  10.9k|        RETURN_IF_ERROR(basicblock_insert_instruction(entryblock, 0, &copy_frees));
  ------------------
  |  |   25|  10.9k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 10.9k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
 3914|  10.9k|    }
 3915|       |
 3916|  52.7k|    return SUCCESS;
  ------------------
  |  |   21|  52.7k|#define SUCCESS 0
  ------------------
 3917|  52.7k|}
flowgraph.c:fix_cell_offsets:
 3921|  52.7k|{
 3922|  52.7k|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|  52.7k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3923|  52.7k|    int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   63|  52.7k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3924|  52.7k|    int nfreevars = (int)PyDict_GET_SIZE(umd->u_freevars);
  ------------------
  |  |   63|  52.7k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3925|  52.7k|    int noffsets = ncellvars + nfreevars;
 3926|       |
 3927|       |    // First deal with duplicates (arg cells).
 3928|  52.7k|    int numdropped = 0;
 3929|  77.1k|    for (int i = 0; i < noffsets ; i++) {
  ------------------
  |  Branch (3929:21): [True: 24.3k, False: 52.7k]
  ------------------
 3930|  24.3k|        if (fixedmap[i] == i + nlocals) {
  ------------------
  |  Branch (3930:13): [True: 24.2k, False: 104]
  ------------------
 3931|  24.2k|            fixedmap[i] -= numdropped;
 3932|  24.2k|        }
 3933|    104|        else {
 3934|       |            // It was a duplicate (cell/arg).
 3935|    104|            numdropped += 1;
 3936|    104|        }
 3937|  24.3k|    }
 3938|       |
 3939|       |    // Then update offsets, either relative to locals or by cell2arg.
 3940|   547k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3940:38): [True: 494k, False: 52.7k]
  ------------------
 3941|  3.86M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3941:25): [True: 3.36M, False: 494k]
  ------------------
 3942|  3.36M|            cfg_instr *inst = &b->b_instr[i];
 3943|       |            // This is called before extended args are generated.
 3944|  3.36M|            assert(inst->i_opcode != EXTENDED_ARG);
  ------------------
  |  Branch (3944:13): [True: 3.36M, False: 0]
  ------------------
 3945|  3.36M|            int oldoffset = inst->i_oparg;
 3946|  3.36M|            switch(inst->i_opcode) {
  ------------------
  |  Branch (3946:20): [True: 62.0k, False: 3.30M]
  ------------------
 3947|  11.9k|                case MAKE_CELL:
  ------------------
  |  |  106|  11.9k|#define MAKE_CELL                               93
  ------------------
  |  Branch (3947:17): [True: 11.9k, False: 3.35M]
  ------------------
 3948|  30.4k|                case LOAD_CLOSURE:
  ------------------
  |  |  249|  30.4k|#define LOAD_CLOSURE                           261
  ------------------
  |  Branch (3948:17): [True: 18.4k, False: 3.34M]
  ------------------
 3949|  49.2k|                case LOAD_DEREF:
  ------------------
  |  |   92|  49.2k|#define LOAD_DEREF                              79
  ------------------
  |  Branch (3949:17): [True: 18.8k, False: 3.34M]
  ------------------
 3950|  59.2k|                case STORE_DEREF:
  ------------------
  |  |  120|  59.2k|#define STORE_DEREF                            107
  ------------------
  |  Branch (3950:17): [True: 9.90k, False: 3.35M]
  ------------------
 3951|  59.2k|                case DELETE_DEREF:
  ------------------
  |  |   72|  59.2k|#define DELETE_DEREF                            59
  ------------------
  |  Branch (3951:17): [True: 0, False: 3.36M]
  ------------------
 3952|  62.0k|                case LOAD_FROM_DICT_OR_DEREF:
  ------------------
  |  |   99|  62.0k|#define LOAD_FROM_DICT_OR_DEREF                 86
  ------------------
  |  Branch (3952:17): [True: 2.84k, False: 3.36M]
  ------------------
 3953|  62.0k|                    assert(oldoffset >= 0);
  ------------------
  |  Branch (3953:21): [True: 62.0k, False: 0]
  ------------------
 3954|  62.0k|                    assert(oldoffset < noffsets);
  ------------------
  |  Branch (3954:21): [True: 62.0k, False: 0]
  ------------------
 3955|  62.0k|                    assert(fixedmap[oldoffset] >= 0);
  ------------------
  |  Branch (3955:21): [True: 62.0k, False: 0]
  ------------------
 3956|  62.0k|                    inst->i_oparg = fixedmap[oldoffset];
 3957|  3.36M|            }
 3958|  3.36M|        }
 3959|   494k|    }
 3960|       |
 3961|  52.7k|    return numdropped;
 3962|  52.7k|}
flowgraph.c:convert_pseudo_ops:
 3616|  52.7k|{
 3617|  52.7k|    basicblock *entryblock = g->g_entryblock;
 3618|   547k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3618:38): [True: 494k, False: 52.7k]
  ------------------
 3619|  3.86M|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3619:25): [True: 3.36M, False: 494k]
  ------------------
 3620|  3.36M|            cfg_instr *instr = &b->b_instr[i];
 3621|  3.36M|            if (is_block_push(instr)) {
  ------------------
  |  Branch (3621:17): [True: 74.8k, False: 3.29M]
  ------------------
 3622|  74.8k|                INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  125|  74.8k|    do { \
  |  |  126|  74.8k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  127|  74.8k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  128|  74.8k|        _instr__ptr_->i_opcode = (OP); \
  |  |  129|  74.8k|        _instr__ptr_->i_oparg = 0; \
  |  |  130|  74.8k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (130:14): [Folded, False: 74.8k]
  |  |  ------------------
  ------------------
  |  Branch (3622:17): [True: 74.8k, False: 0]
  ------------------
 3623|  74.8k|            }
 3624|  3.29M|            else if (instr->i_opcode == LOAD_CLOSURE) {
  ------------------
  |  |  249|  3.29M|#define LOAD_CLOSURE                           261
  ------------------
  |  Branch (3624:22): [True: 18.4k, False: 3.27M]
  ------------------
 3625|  18.4k|                assert(is_pseudo_target(LOAD_CLOSURE, LOAD_FAST));
  ------------------
  |  Branch (3625:17): [True: 18.4k, False: 0]
  ------------------
 3626|  18.4k|                instr->i_opcode = LOAD_FAST;
  ------------------
  |  |   93|  18.4k|#define LOAD_FAST                               80
  ------------------
 3627|  18.4k|            }
 3628|  3.27M|            else if (instr->i_opcode == STORE_FAST_MAYBE_NULL) {
  ------------------
  |  |  254|  3.27M|#define STORE_FAST_MAYBE_NULL                  266
  ------------------
  |  Branch (3628:22): [True: 13.1k, False: 3.26M]
  ------------------
 3629|  13.1k|                assert(is_pseudo_target(STORE_FAST_MAYBE_NULL, STORE_FAST));
  ------------------
  |  Branch (3629:17): [True: 13.1k, False: 0]
  ------------------
 3630|  13.1k|                instr->i_opcode = STORE_FAST;
  ------------------
  |  |  121|  13.1k|#define STORE_FAST                             108
  ------------------
 3631|  13.1k|            }
 3632|  3.36M|        }
 3633|   494k|    }
 3634|  52.7k|    return remove_redundant_nops_and_jumps(g);
 3635|  52.7k|}
flowgraph.c:normalize_jumps:
  602|  52.7k|{
  603|  52.7k|    basicblock *entryblock = g->g_entryblock;
  604|   547k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (604:38): [True: 494k, False: 52.7k]
  ------------------
  605|   494k|        b->b_visited = 0;
  606|   494k|    }
  607|   547k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (607:38): [True: 494k, False: 52.7k]
  ------------------
  608|   494k|        b->b_visited = 1;
  609|   494k|        RETURN_IF_ERROR(normalize_jumps_in_block(g, b));
  ------------------
  |  |   25|   494k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 494k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  610|   494k|    }
  611|  52.7k|    return SUCCESS;
  ------------------
  |  |   21|  52.7k|#define SUCCESS 0
  ------------------
  612|  52.7k|}
flowgraph.c:normalize_jumps_in_block:
  547|   494k|normalize_jumps_in_block(cfg_builder *g, basicblock *b) {
  548|   494k|    cfg_instr *last = basicblock_last_instr(b);
  549|   494k|    if (last == NULL || !IS_CONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   47|   432k|        ((opcode) == POP_JUMP_IF_FALSE || \
  |  |  ------------------
  |  |  |  |  109|   865k|#define POP_JUMP_IF_FALSE                       96
  |  |  ------------------
  |  |  |  Branch (47:10): [True: 72.7k, False: 360k]
  |  |  ------------------
  |  |   48|   432k|         (opcode) == POP_JUMP_IF_TRUE || \
  |  |  ------------------
  |  |  |  |  112|   792k|#define POP_JUMP_IF_TRUE                        99
  |  |  ------------------
  |  |  |  Branch (48:10): [True: 13.6k, False: 346k]
  |  |  ------------------
  |  |   49|   432k|         (opcode) == POP_JUMP_IF_NONE || \
  |  |  ------------------
  |  |  |  |  110|   779k|#define POP_JUMP_IF_NONE                        97
  |  |  ------------------
  |  |  |  Branch (49:10): [True: 1.49k, False: 344k]
  |  |  ------------------
  |  |   50|   432k|         (opcode) == POP_JUMP_IF_NOT_NONE)
  |  |  ------------------
  |  |  |  |  111|   344k|#define POP_JUMP_IF_NOT_NONE                    98
  |  |  ------------------
  |  |  |  Branch (50:10): [True: 1.15k, False: 343k]
  |  |  ------------------
  ------------------
  |  Branch (549:9): [True: 61.8k, False: 432k]
  ------------------
  550|   405k|        return SUCCESS;
  ------------------
  |  |   21|   405k|#define SUCCESS 0
  ------------------
  551|   405k|    }
  552|   494k|    assert(!IS_ASSEMBLER_OPCODE(last->i_opcode));
  ------------------
  |  Branch (552:5): [True: 0, False: 89.0k]
  |  Branch (552:5): [True: 0, False: 89.0k]
  |  Branch (552:5): [True: 0, False: 89.0k]
  ------------------
  553|       |
  554|  89.0k|    bool is_forward = last->i_target->b_visited == 0;
  555|  89.0k|    if (is_forward) {
  ------------------
  |  Branch (555:9): [True: 89.0k, False: 25]
  ------------------
  556|  89.0k|        RETURN_IF_ERROR(
  ------------------
  |  |   25|  89.0k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 89.0k]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  557|  89.0k|            basicblock_addop(b, NOT_TAKEN, 0, last->i_loc));
  558|  89.0k|        return SUCCESS;
  ------------------
  |  |   21|  89.0k|#define SUCCESS 0
  ------------------
  559|  89.0k|    }
  560|       |
  561|     25|    int reversed_opcode = 0;
  562|     25|    switch(last->i_opcode) {
  ------------------
  |  Branch (562:12): [True: 25, 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: 25]
  ------------------
  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: 25]
  ------------------
  567|      0|            reversed_opcode = POP_JUMP_IF_NOT_NONE;
  ------------------
  |  |  111|      0|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  568|      0|            break;
  569|     24|        case POP_JUMP_IF_FALSE:
  ------------------
  |  |  109|     24|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (569:9): [True: 24, False: 1]
  ------------------
  570|     24|            reversed_opcode = POP_JUMP_IF_TRUE;
  ------------------
  |  |  112|     24|#define POP_JUMP_IF_TRUE                        99
  ------------------
  571|     24|            break;
  572|      1|        case POP_JUMP_IF_TRUE:
  ------------------
  |  |  112|      1|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (572:9): [True: 1, False: 24]
  ------------------
  573|      1|            reversed_opcode = POP_JUMP_IF_FALSE;
  ------------------
  |  |  109|      1|#define POP_JUMP_IF_FALSE                       96
  ------------------
  574|      1|            break;
  575|     25|    }
  576|       |    /* transform 'conditional jump T' to
  577|       |     * 'reversed_jump b_next' followed by 'jump_backwards T'
  578|       |     */
  579|       |
  580|     25|    basicblock *target = last->i_target;
  581|     25|    basicblock *backwards_jump = cfg_builder_new_block(g);
  582|     25|    if (backwards_jump == NULL) {
  ------------------
  |  Branch (582:9): [True: 0, False: 25]
  ------------------
  583|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
  584|      0|    }
  585|     25|    RETURN_IF_ERROR(
  ------------------
  |  |   25|     25|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 25]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  586|     25|        basicblock_addop(backwards_jump, NOT_TAKEN, 0, last->i_loc));
  587|     25|    RETURN_IF_ERROR(
  ------------------
  |  |   25|     25|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (25:9): [True: 0, False: 25]
  |  |  ------------------
  |  |   26|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  |   27|      0|    }
  ------------------
  588|     25|        basicblock_add_jump(backwards_jump, JUMP, target, last->i_loc));
  589|     25|    backwards_jump->b_startdepth = target->b_startdepth;
  590|     25|    last->i_opcode = reversed_opcode;
  591|     25|    last->i_target = b->b_next;
  592|       |
  593|     25|    backwards_jump->b_cold = b->b_cold;
  594|     25|    backwards_jump->b_next = b->b_next;
  595|     25|    b->b_next = backwards_jump;
  596|     25|    return SUCCESS;
  ------------------
  |  |   21|     25|#define SUCCESS 0
  ------------------
  597|     25|}
flowgraph.c:no_redundant_jumps:
  523|   105k|no_redundant_jumps(cfg_builder *g) {
  524|  1.07M|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (524:43): [True: 969k, False: 105k]
  ------------------
  525|   969k|        cfg_instr *last = basicblock_last_instr(b);
  526|   969k|        if (last != NULL) {
  ------------------
  |  Branch (526:13): [True: 845k, False: 123k]
  ------------------
  527|   845k|            if (IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   40|   845k|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  245|  1.69M|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 25.1k, False: 820k]
  |  |  ------------------
  |  |   41|   845k|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  248|  1.66M|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 140k, False: 679k]
  |  |  ------------------
  |  |   42|   845k|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   86|  1.52M|#define JUMP_FORWARD                            73
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 679k]
  |  |  ------------------
  |  |   43|   845k|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   84|  1.52M|#define JUMP_BACKWARD                           71
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 679k]
  |  |  ------------------
  |  |   44|   845k|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   85|   679k|#define JUMP_BACKWARD_NO_INTERRUPT              72
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 679k]
  |  |  ------------------
  ------------------
  528|   165k|                basicblock *next = next_nonempty_block(b->b_next);
  529|   165k|                basicblock *jump_target = next_nonempty_block(last->i_target);
  530|   165k|                if (jump_target == next) {
  ------------------
  |  Branch (530:21): [True: 0, False: 165k]
  ------------------
  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|   165k|            }
  538|   845k|        }
  539|   969k|    }
  540|   105k|    return true;
  541|   105k|}
flowgraph.c:optimize_load_fast:
 2864|  52.7k|{
 2865|  52.7k|    int status;
 2866|  52.7k|    ref_stack refs = {0};
 2867|  52.7k|    int max_instrs = 0;
 2868|  52.7k|    basicblock *entryblock = g->g_entryblock;
 2869|   547k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2869:38): [True: 494k, False: 52.7k]
  ------------------
 2870|   494k|        max_instrs = Py_MAX(max_instrs, b->b_iused);
  ------------------
  |  |  115|   494k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 425k, False: 69.4k]
  |  |  ------------------
  ------------------
 2871|   494k|    }
 2872|  52.7k|    size_t instr_flags_size = max_instrs * sizeof(uint8_t);
 2873|  52.7k|    uint8_t *instr_flags = PyMem_Malloc(instr_flags_size);
 2874|  52.7k|    if (instr_flags == NULL) {
  ------------------
  |  Branch (2874:9): [True: 0, False: 52.7k]
  ------------------
 2875|      0|        PyErr_NoMemory();
 2876|      0|        return ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2877|      0|    }
 2878|  52.7k|    basicblock **blocks = make_cfg_traversal_stack(entryblock);
 2879|  52.7k|    if (blocks == NULL) {
  ------------------
  |  Branch (2879:9): [True: 0, False: 52.7k]
  ------------------
 2880|      0|        status = ERROR;
  ------------------
  |  |   22|      0|#define ERROR -1
  ------------------
 2881|      0|        goto done;
 2882|      0|    }
 2883|  52.7k|    basicblock **sp = blocks;
 2884|  52.7k|    *sp = entryblock;
 2885|  52.7k|    sp++;
 2886|  52.7k|    entryblock->b_startdepth = 0;
 2887|  52.7k|    entryblock->b_visited = 1;
 2888|       |
 2889|  52.7k|    #define PUSH_REF(instr, local)                \
 2890|  52.7k|        do {                                      \
 2891|  52.7k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
 2892|  52.7k|                status = ERROR;                   \
 2893|  52.7k|                goto done;                        \
 2894|  52.7k|            }                                     \
 2895|  52.7k|        } while(0)
 2896|       |
 2897|   308k|    while (sp != blocks) {
  ------------------
  |  Branch (2897:12): [True: 255k, False: 52.7k]
  ------------------
 2898|   255k|        basicblock *block = *--sp;
 2899|   255k|        assert(block->b_startdepth > -1);
  ------------------
  |  Branch (2899:9): [True: 255k, False: 0]
  ------------------
 2900|       |
 2901|       |        // Reset per-block state.
 2902|   255k|        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|   255k|        ref_stack_clear(&refs);
 2908|  1.11M|        for (int i = 0; i < block->b_startdepth; i++) {
  ------------------
  |  Branch (2908:25): [True: 858k, False: 255k]
  ------------------
 2909|   858k|            PUSH_REF(DUMMY_INSTR, NOT_LOCAL);
  ------------------
  |  | 2890|   858k|        do {                                      \
  |  | 2891|   858k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 858k]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|   858k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 858k]
  |  |  ------------------
  ------------------
 2910|   858k|        }
 2911|       |
 2912|  2.94M|        for (int i = 0; i < block->b_iused; i++) {
  ------------------
  |  Branch (2912:25): [True: 2.68M, False: 255k]
  ------------------
 2913|  2.68M|            cfg_instr *instr = &block->b_instr[i];
 2914|  2.68M|            int opcode = instr->i_opcode;
 2915|  2.68M|            int oparg = instr->i_oparg;
 2916|  2.68M|            assert(opcode != EXTENDED_ARG);
  ------------------
  |  Branch (2916:13): [True: 2.68M, False: 0]
  ------------------
 2917|  2.68M|            switch (opcode) {
 2918|       |                // Opcodes that load and store locals
 2919|  3.12k|                case DELETE_FAST: {
  ------------------
  |  |   73|  3.12k|#define DELETE_FAST                             60
  ------------------
  |  Branch (2919:17): [True: 3.12k, False: 2.68M]
  ------------------
 2920|  3.12k|                    kill_local(instr_flags, &refs, oparg);
 2921|  3.12k|                    break;
 2922|      0|                }
 2923|       |
 2924|  37.1k|                case LOAD_FAST: {
  ------------------
  |  |   93|  37.1k|#define LOAD_FAST                               80
  ------------------
  |  Branch (2924:17): [True: 37.1k, False: 2.65M]
  ------------------
 2925|  37.1k|                    PUSH_REF(i, oparg);
  ------------------
  |  | 2890|  37.1k|        do {                                      \
  |  | 2891|  37.1k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 37.1k]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|  37.1k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 37.1k]
  |  |  ------------------
  ------------------
 2926|  37.1k|                    break;
 2927|  37.1k|                }
 2928|       |
 2929|  37.1k|                case LOAD_FAST_AND_CLEAR: {
  ------------------
  |  |   94|  5.82k|#define LOAD_FAST_AND_CLEAR                     81
  ------------------
  |  Branch (2929:17): [True: 5.82k, False: 2.68M]
  ------------------
 2930|  5.82k|                    kill_local(instr_flags, &refs, oparg);
 2931|  5.82k|                    PUSH_REF(i, oparg);
  ------------------
  |  | 2890|  5.82k|        do {                                      \
  |  | 2891|  5.82k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 5.82k]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|  5.82k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 5.82k]
  |  |  ------------------
  ------------------
 2932|  5.82k|                    break;
 2933|  5.82k|                }
 2934|       |
 2935|  5.82k|                case LOAD_FAST_LOAD_FAST: {
  ------------------
  |  |   98|  2.83k|#define LOAD_FAST_LOAD_FAST                     85
  ------------------
  |  Branch (2935:17): [True: 2.83k, False: 2.68M]
  ------------------
 2936|  2.83k|                    PUSH_REF(i, oparg >> 4);
  ------------------
  |  | 2890|  2.83k|        do {                                      \
  |  | 2891|  2.83k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 2.83k]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|  2.83k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 2.83k]
  |  |  ------------------
  ------------------
 2937|  2.83k|                    PUSH_REF(i, oparg & 15);
  ------------------
  |  | 2890|  2.83k|        do {                                      \
  |  | 2891|  2.83k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 2.83k]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|  2.83k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 2.83k]
  |  |  ------------------
  ------------------
 2938|  2.83k|                    break;
 2939|  2.83k|                }
 2940|       |
 2941|  80.2k|                case STORE_FAST: {
  ------------------
  |  |  121|  80.2k|#define STORE_FAST                             108
  ------------------
  |  Branch (2941:17): [True: 80.2k, False: 2.60M]
  ------------------
 2942|  80.2k|                    ref r = ref_stack_pop(&refs);
 2943|  80.2k|                    store_local(instr_flags, &refs, oparg, r);
 2944|  80.2k|                    break;
 2945|  2.83k|                }
 2946|       |
 2947|  3.20k|                case STORE_FAST_LOAD_FAST: {
  ------------------
  |  |  122|  3.20k|#define STORE_FAST_LOAD_FAST                   109
  ------------------
  |  Branch (2947:17): [True: 3.20k, False: 2.68M]
  ------------------
 2948|       |                    // STORE_FAST
 2949|  3.20k|                    ref r = ref_stack_pop(&refs);
 2950|  3.20k|                    store_local(instr_flags, &refs, oparg >> 4, r);
 2951|       |                    // LOAD_FAST
 2952|  3.20k|                    PUSH_REF(i, oparg & 15);
  ------------------
  |  | 2890|  3.20k|        do {                                      \
  |  | 2891|  3.20k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 3.20k]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|  3.20k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 3.20k]
  |  |  ------------------
  ------------------
 2953|  3.20k|                    break;
 2954|  3.20k|                }
 2955|       |
 2956|  14.9k|                case STORE_FAST_STORE_FAST: {
  ------------------
  |  |  123|  14.9k|#define STORE_FAST_STORE_FAST                  110
  ------------------
  |  Branch (2956:17): [True: 14.9k, False: 2.67M]
  ------------------
 2957|       |                    // STORE_FAST
 2958|  14.9k|                    ref r = ref_stack_pop(&refs);
 2959|  14.9k|                    store_local(instr_flags, &refs, oparg >> 4, r);
 2960|       |                    // STORE_FAST
 2961|  14.9k|                    r = ref_stack_pop(&refs);
 2962|  14.9k|                    store_local(instr_flags, &refs, oparg & 15, r);
 2963|  14.9k|                    break;
 2964|  3.20k|                }
 2965|       |
 2966|       |                // Opcodes that shuffle values on the stack
 2967|   160k|                case COPY: {
  ------------------
  |  |   70|   160k|#define COPY                                    57
  ------------------
  |  Branch (2967:17): [True: 160k, False: 2.52M]
  ------------------
 2968|   160k|                    assert(oparg > 0);
  ------------------
  |  Branch (2968:21): [True: 160k, False: 0]
  ------------------
 2969|   160k|                    Py_ssize_t idx = refs.size - oparg;
 2970|   160k|                    ref r = ref_stack_at(&refs, idx);
 2971|   160k|                    PUSH_REF(r.instr, r.local);
  ------------------
  |  | 2890|   160k|        do {                                      \
  |  | 2891|   160k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 160k]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|   160k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 160k]
  |  |  ------------------
  ------------------
 2972|   160k|                    break;
 2973|   160k|                }
 2974|       |
 2975|   160k|                case SWAP: {
  ------------------
  |  |  126|  76.7k|#define SWAP                                   113
  ------------------
  |  Branch (2975:17): [True: 76.7k, False: 2.61M]
  ------------------
 2976|  76.7k|                    assert(oparg >= 2);
  ------------------
  |  Branch (2976:21): [True: 76.7k, False: 0]
  ------------------
 2977|  76.7k|                    ref_stack_swap_top(&refs, oparg);
 2978|  76.7k|                    break;
 2979|  76.7k|                }
 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|  2.04k|                case FORMAT_SIMPLE:
  ------------------
  |  |   25|  2.04k|#define FORMAT_SIMPLE                           12
  ------------------
  |  Branch (2986:17): [True: 2.04k, False: 2.68M]
  ------------------
 2987|  2.53k|                case GET_ANEXT:
  ------------------
  |  |   28|  2.53k|#define GET_ANEXT                               15
  ------------------
  |  Branch (2987:17): [True: 490, False: 2.68M]
  ------------------
 2988|  4.74k|                case GET_ITER:
  ------------------
  |  |   80|  4.74k|#define GET_ITER                                67
  ------------------
  |  Branch (2988:17): [True: 2.21k, False: 2.68M]
  ------------------
 2989|  5.94k|                case GET_LEN:
  ------------------
  |  |   29|  5.94k|#define GET_LEN                                 16
  ------------------
  |  Branch (2989:17): [True: 1.20k, False: 2.68M]
  ------------------
 2990|  12.1k|                case IMPORT_FROM:
  ------------------
  |  |   81|  12.1k|#define IMPORT_FROM                             68
  ------------------
  |  Branch (2990:17): [True: 6.15k, False: 2.68M]
  ------------------
 2991|  12.1k|                case MATCH_KEYS:
  ------------------
  |  |   35|  12.1k|#define MATCH_KEYS                              22
  ------------------
  |  Branch (2991:17): [True: 5, False: 2.68M]
  ------------------
 2992|  12.1k|                case MATCH_MAPPING:
  ------------------
  |  |   36|  12.1k|#define MATCH_MAPPING                           23
  ------------------
  |  Branch (2992:17): [True: 8, False: 2.68M]
  ------------------
 2993|  12.8k|                case MATCH_SEQUENCE:
  ------------------
  |  |   37|  12.8k|#define MATCH_SEQUENCE                          24
  ------------------
  |  Branch (2993:17): [True: 778, False: 2.68M]
  ------------------
 2994|  12.8k|                case WITH_EXCEPT_START: {
  ------------------
  |  |   54|  12.8k|#define WITH_EXCEPT_START                       41
  ------------------
  |  Branch (2994:17): [True: 0, False: 2.68M]
  ------------------
 2995|  12.8k|                    int num_popped = _PyOpcode_num_popped(opcode, oparg);
 2996|  12.8k|                    int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
 2997|  12.8k|                    int net_pushed = num_pushed - num_popped;
 2998|  12.8k|                    assert(net_pushed >= 0);
  ------------------
  |  Branch (2998:21): [True: 12.8k, False: 0]
  ------------------
 2999|  23.7k|                    for (int j = 0; j < net_pushed; j++) {
  ------------------
  |  Branch (2999:37): [True: 10.8k, False: 12.8k]
  ------------------
 3000|  10.8k|                        PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2890|  10.8k|        do {                                      \
  |  | 2891|  10.8k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 10.8k]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|  10.8k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 10.8k]
  |  |  ------------------
  ------------------
 3001|  10.8k|                    }
 3002|  12.8k|                    break;
 3003|  12.8k|                }
 3004|       |
 3005|       |                // Opcodes that consume some inputs and push no new values
 3006|  12.8k|                case DICT_MERGE:
  ------------------
  |  |   74|    746|#define DICT_MERGE                              61
  ------------------
  |  Branch (3006:17): [True: 746, False: 2.68M]
  ------------------
 3007|    890|                case DICT_UPDATE:
  ------------------
  |  |   75|    890|#define DICT_UPDATE                             62
  ------------------
  |  Branch (3007:17): [True: 144, False: 2.68M]
  ------------------
 3008|  28.1k|                case LIST_APPEND:
  ------------------
  |  |   87|  28.1k|#define LIST_APPEND                             74
  ------------------
  |  Branch (3008:17): [True: 27.2k, False: 2.66M]
  ------------------
 3009|  30.1k|                case LIST_EXTEND:
  ------------------
  |  |   88|  30.1k|#define LIST_EXTEND                             75
  ------------------
  |  Branch (3009:17): [True: 2.01k, False: 2.68M]
  ------------------
 3010|  30.5k|                case MAP_ADD:
  ------------------
  |  |  107|  30.5k|#define MAP_ADD                                 94
  ------------------
  |  Branch (3010:17): [True: 423, False: 2.68M]
  ------------------
 3011|  30.5k|                case RERAISE:
  ------------------
  |  |  114|  30.5k|#define RERAISE                                101
  ------------------
  |  Branch (3011:17): [True: 0, False: 2.68M]
  ------------------
 3012|  34.3k|                case SET_ADD:
  ------------------
  |  |  116|  34.3k|#define SET_ADD                                103
  ------------------
  |  Branch (3012:17): [True: 3.78k, False: 2.68M]
  ------------------
 3013|  43.4k|                case SET_UPDATE: {
  ------------------
  |  |  118|  43.4k|#define SET_UPDATE                             105
  ------------------
  |  Branch (3013:17): [True: 9.13k, False: 2.68M]
  ------------------
 3014|  43.4k|                    int num_popped = _PyOpcode_num_popped(opcode, oparg);
 3015|  43.4k|                    int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
 3016|  43.4k|                    int net_popped = num_popped - num_pushed;
 3017|  43.4k|                    assert(net_popped > 0);
  ------------------
  |  Branch (3017:21): [True: 43.4k, False: 0]
  ------------------
 3018|  87.4k|                    for (int i = 0; i < net_popped; i++) {
  ------------------
  |  Branch (3018:37): [True: 43.9k, False: 43.4k]
  ------------------
 3019|  43.9k|                        ref_stack_pop(&refs);
 3020|  43.9k|                    }
 3021|  43.4k|                    break;
 3022|  43.4k|                }
 3023|       |
 3024|  19.9k|                case END_SEND: {
  ------------------
  |  |   23|  19.9k|#define END_SEND                                10
  ------------------
  |  Branch (3024:17): [True: 19.9k, False: 2.66M]
  ------------------
 3025|  19.9k|                    assert(_PyOpcode_num_popped(opcode, oparg) == 3);
  ------------------
  |  Branch (3025:21): [True: 19.9k, False: 0]
  ------------------
 3026|  19.9k|                    assert(_PyOpcode_num_pushed(opcode, oparg) == 1);
  ------------------
  |  Branch (3026:21): [True: 19.9k, False: 0]
  ------------------
 3027|  19.9k|                    ref tos = ref_stack_pop(&refs);
 3028|  19.9k|                    ref_stack_pop(&refs);
 3029|  19.9k|                    ref_stack_pop(&refs);
 3030|  19.9k|                    PUSH_REF(tos.instr, tos.local);
  ------------------
  |  | 2890|  19.9k|        do {                                      \
  |  | 2891|  19.9k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 19.9k]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|  19.9k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 19.9k]
  |  |  ------------------
  ------------------
 3031|  19.9k|                    break;
 3032|  19.9k|                }
 3033|       |
 3034|  19.9k|                case SET_FUNCTION_ATTRIBUTE: {
  ------------------
  |  |  117|  18.7k|#define SET_FUNCTION_ATTRIBUTE                 104
  ------------------
  |  Branch (3034:17): [True: 18.7k, False: 2.67M]
  ------------------
 3035|  18.7k|                    assert(_PyOpcode_num_popped(opcode, oparg) == 2);
  ------------------
  |  Branch (3035:21): [True: 18.7k, False: 0]
  ------------------
 3036|  18.7k|                    assert(_PyOpcode_num_pushed(opcode, oparg) == 1);
  ------------------
  |  Branch (3036:21): [True: 18.7k, False: 0]
  ------------------
 3037|  18.7k|                    ref tos = ref_stack_pop(&refs);
 3038|  18.7k|                    ref_stack_pop(&refs);
 3039|  18.7k|                    PUSH_REF(tos.instr, tos.local);
  ------------------
  |  | 2890|  18.7k|        do {                                      \
  |  | 2891|  18.7k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 18.7k]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|  18.7k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 18.7k]
  |  |  ------------------
  ------------------
 3040|  18.7k|                    break;
 3041|  18.7k|                }
 3042|       |
 3043|       |                // Opcodes that consume some inputs and push new values
 3044|  18.7k|                case CHECK_EXC_MATCH: {
  ------------------
  |  |   19|      0|#define CHECK_EXC_MATCH                          6
  ------------------
  |  Branch (3044:17): [True: 0, False: 2.68M]
  ------------------
 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|  2.20k|                case FOR_ITER: {
  ------------------
  |  |   78|  2.20k|#define FOR_ITER                                65
  ------------------
  |  Branch (3050:17): [True: 2.20k, False: 2.68M]
  ------------------
 3051|  2.20k|                    load_fast_push_block(&sp, instr->i_target, refs.size + 1);
 3052|  2.20k|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2890|  2.20k|        do {                                      \
  |  | 2891|  2.20k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 2.20k]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|  2.20k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 2.20k]
  |  |  ------------------
  ------------------
 3053|  2.20k|                    break;
 3054|  2.20k|                }
 3055|       |
 3056|  11.8k|                case LOAD_ATTR:
  ------------------
  |  |   89|  11.8k|#define LOAD_ATTR                               76
  ------------------
  |  Branch (3056:17): [True: 11.8k, False: 2.67M]
  ------------------
 3057|  12.3k|                case LOAD_SUPER_ATTR: {
  ------------------
  |  |  105|  12.3k|#define LOAD_SUPER_ATTR                         92
  ------------------
  |  Branch (3057:17): [True: 521, False: 2.68M]
  ------------------
 3058|  12.3k|                    ref self = ref_stack_pop(&refs);
 3059|  12.3k|                    if (opcode == LOAD_SUPER_ATTR) {
  ------------------
  |  |  105|  12.3k|#define LOAD_SUPER_ATTR                         92
  ------------------
  |  Branch (3059:25): [True: 521, False: 11.8k]
  ------------------
 3060|    521|                        ref_stack_pop(&refs);
 3061|    521|                        ref_stack_pop(&refs);
 3062|    521|                    }
 3063|  12.3k|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2890|  12.3k|        do {                                      \
  |  | 2891|  12.3k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 12.3k]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|  12.3k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 12.3k]
  |  |  ------------------
  ------------------
 3064|  12.3k|                    if (oparg & 1) {
  ------------------
  |  Branch (3064:25): [True: 1.13k, False: 11.2k]
  ------------------
 3065|       |                        // A method call; conservatively assume that self is pushed
 3066|       |                        // back onto the stack
 3067|  1.13k|                        PUSH_REF(self.instr, self.local);
  ------------------
  |  | 2890|  1.13k|        do {                                      \
  |  | 2891|  1.13k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 1.13k]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|  1.13k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 1.13k]
  |  |  ------------------
  ------------------
 3068|  1.13k|                    }
 3069|  12.3k|                    break;
 3070|  12.3k|                }
 3071|       |
 3072|  20.6k|                case LOAD_SPECIAL:
  ------------------
  |  |  104|  20.6k|#define LOAD_SPECIAL                            91
  ------------------
  |  Branch (3072:17): [True: 20.6k, False: 2.66M]
  ------------------
 3073|  20.6k|                case PUSH_EXC_INFO: {
  ------------------
  |  |   43|  20.6k|#define PUSH_EXC_INFO                           30
  ------------------
  |  Branch (3073:17): [True: 0, False: 2.68M]
  ------------------
 3074|  20.6k|                    ref tos = ref_stack_pop(&refs);
 3075|  20.6k|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2890|  20.6k|        do {                                      \
  |  | 2891|  20.6k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 20.6k]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|  20.6k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 20.6k]
  |  |  ------------------
  ------------------
 3076|  20.6k|                    PUSH_REF(tos.instr, tos.local);
  ------------------
  |  | 2890|  20.6k|        do {                                      \
  |  | 2891|  20.6k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 20.6k]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|  20.6k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 20.6k]
  |  |  ------------------
  ------------------
 3077|  20.6k|                    break;
 3078|  20.6k|                }
 3079|       |
 3080|  20.6k|                case SEND: {
  ------------------
  |  |  115|  19.9k|#define SEND                                   102
  ------------------
  |  Branch (3080:17): [True: 19.9k, False: 2.66M]
  ------------------
 3081|  19.9k|                    load_fast_push_block(&sp, instr->i_target, refs.size);
 3082|  19.9k|                    ref_stack_pop(&refs);
 3083|  19.9k|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2890|  19.9k|        do {                                      \
  |  | 2891|  19.9k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 19.9k]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|  19.9k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 19.9k]
  |  |  ------------------
  ------------------
 3084|  19.9k|                    break;
 3085|  19.9k|                }
 3086|       |
 3087|       |                // Opcodes that consume all of their inputs
 3088|  2.15M|                default: {
  ------------------
  |  Branch (3088:17): [True: 2.15M, False: 535k]
  ------------------
 3089|  2.15M|                    int num_popped = _PyOpcode_num_popped(opcode, oparg);
 3090|  2.15M|                    int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
 3091|  2.15M|                    if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|  2.15M|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|  4.30M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|  2.15M|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 95.7k, False: 2.05M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  2.05M|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  4.11M|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 2.05M]
  |  |  |  |  ------------------
  |  |  |  |   19|  2.05M|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  4.11M|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 2.05M]
  |  |  |  |  ------------------
  |  |  |  |   20|  2.05M|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  2.05M|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 2.05M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3092|  95.7k|                        load_fast_push_block(&sp, instr->i_target, refs.size - num_popped + num_pushed);
 3093|  95.7k|                    }
 3094|  2.15M|                    if (!IS_BLOCK_PUSH_OPCODE(instr->i_opcode)) {
  ------------------
  |  |   18|  2.15M|        ((opcode) == SETUP_FINALLY || \
  |  |  ------------------
  |  |  |  |  252|  4.30M|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 0, False: 2.15M]
  |  |  ------------------
  |  |   19|  2.15M|         (opcode) == SETUP_WITH || \
  |  |  ------------------
  |  |  |  |  253|  4.30M|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (19:10): [True: 0, False: 2.15M]
  |  |  ------------------
  |  |   20|  2.15M|         (opcode) == SETUP_CLEANUP)
  |  |  ------------------
  |  |  |  |  251|  2.15M|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (20:10): [True: 0, False: 2.15M]
  |  |  ------------------
  ------------------
 3095|       |                        // Block push opcodes only affect the stack when jumping
 3096|       |                        // to the target.
 3097|  3.75M|                        for (int j = 0; j < num_popped; j++) {
  ------------------
  |  Branch (3097:41): [True: 1.60M, False: 2.15M]
  ------------------
 3098|  1.60M|                            ref_stack_pop(&refs);
 3099|  1.60M|                        }
 3100|  3.77M|                        for (int j = 0; j < num_pushed; j++) {
  ------------------
  |  Branch (3100:41): [True: 1.61M, False: 2.15M]
  ------------------
 3101|  1.61M|                            PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2890|  1.61M|        do {                                      \
  |  | 2891|  1.61M|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2891:17): [True: 0, False: 1.61M]
  |  |  ------------------
  |  | 2892|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   22|      0|#define ERROR -1
  |  |  ------------------
  |  | 2893|      0|                goto done;                        \
  |  | 2894|      0|            }                                     \
  |  | 2895|  1.61M|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2895:17): [Folded, False: 1.61M]
  |  |  ------------------
  ------------------
 3102|  1.61M|                        }
 3103|  2.15M|                    }
 3104|  2.15M|                    break;
 3105|  2.15M|                }
 3106|  2.68M|            }
 3107|  2.68M|        }
 3108|       |
 3109|       |        // Push fallthrough block
 3110|   255k|        if (BB_HAS_FALLTHROUGH(block)) {
  ------------------
  |  |  251|   255k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (251:31): [True: 156k, False: 99.1k]
  |  |  ------------------
  ------------------
 3111|   156k|            assert(block->b_next != NULL);
  ------------------
  |  Branch (3111:13): [True: 156k, False: 0]
  ------------------
 3112|   156k|            load_fast_push_block(&sp, block->b_next, refs.size);
 3113|   156k|        }
 3114|       |
 3115|       |        // Mark instructions that produce values that are on the stack at the
 3116|       |        // end of the basic block
 3117|  1.15M|        for (Py_ssize_t i = 0; i < refs.size; i++) {
  ------------------
  |  Branch (3117:32): [True: 901k, False: 255k]
  ------------------
 3118|   901k|            ref r = ref_stack_at(&refs, i);
 3119|   901k|            if (r.instr != -1) {
  ------------------
  |  Branch (3119:17): [True: 277k, False: 624k]
  ------------------
 3120|   277k|                instr_flags[r.instr] |= REF_UNCONSUMED;
 3121|   277k|            }
 3122|   901k|        }
 3123|       |
 3124|       |        // Optimize instructions
 3125|  2.94M|        for (int i = 0; i < block->b_iused; i++) {
  ------------------
  |  Branch (3125:25): [True: 2.68M, False: 255k]
  ------------------
 3126|  2.68M|            if (!instr_flags[i]) {
  ------------------
  |  Branch (3126:17): [True: 2.37M, False: 314k]
  ------------------
 3127|  2.37M|                cfg_instr *instr = &block->b_instr[i];
 3128|  2.37M|                switch (instr->i_opcode) {
 3129|  36.1k|                    case LOAD_FAST:
  ------------------
  |  |   93|  36.1k|#define LOAD_FAST                               80
  ------------------
  |  Branch (3129:21): [True: 36.1k, False: 2.33M]
  ------------------
 3130|  36.1k|                        instr->i_opcode = LOAD_FAST_BORROW;
  ------------------
  |  |   95|  36.1k|#define LOAD_FAST_BORROW                        82
  ------------------
 3131|  36.1k|                        break;
 3132|  2.83k|                    case LOAD_FAST_LOAD_FAST:
  ------------------
  |  |   98|  2.83k|#define LOAD_FAST_LOAD_FAST                     85
  ------------------
  |  Branch (3132:21): [True: 2.83k, False: 2.37M]
  ------------------
 3133|  2.83k|                        instr->i_opcode = LOAD_FAST_BORROW_LOAD_FAST_BORROW;
  ------------------
  |  |   96|  2.83k|#define LOAD_FAST_BORROW_LOAD_FAST_BORROW       83
  ------------------
 3134|  2.83k|                        break;
 3135|  2.33M|                    default:
  ------------------
  |  Branch (3135:21): [True: 2.33M, False: 38.9k]
  ------------------
 3136|  2.33M|                        break;
 3137|  2.37M|                }
 3138|  2.37M|            }
 3139|  2.68M|        }
 3140|   255k|    }
 3141|       |
 3142|  52.7k|    #undef PUSH_REF
 3143|       |
 3144|  52.7k|    status = SUCCESS;
  ------------------
  |  |   21|  52.7k|#define SUCCESS 0
  ------------------
 3145|       |
 3146|  52.7k|done:
 3147|  52.7k|    ref_stack_fini(&refs);
 3148|  52.7k|    PyMem_Free(instr_flags);
 3149|  52.7k|    PyMem_Free(blocks);
 3150|  52.7k|    return status;
 3151|  52.7k|}
flowgraph.c:ref_stack_clear:
 2769|   255k|{
 2770|   255k|    stack->size = 0;
 2771|   255k|}
flowgraph.c:ref_stack_push:
 2725|  2.81M|{
 2726|  2.81M|    if (stack->size == stack->capacity) {
  ------------------
  |  Branch (2726:9): [True: 53.0k, False: 2.76M]
  ------------------
 2727|  53.0k|        Py_ssize_t new_cap = Py_MAX(32, stack->capacity * 2);
  ------------------
  |  |  115|  53.0k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 52.7k, False: 331]
  |  |  ------------------
  ------------------
 2728|  53.0k|        ref *refs = PyMem_Realloc(stack->refs, sizeof(*stack->refs) * new_cap);
 2729|  53.0k|        if (refs == NULL) {
  ------------------
  |  Branch (2729:13): [True: 0, False: 53.0k]
  ------------------
 2730|      0|            PyErr_NoMemory();
 2731|      0|            return -1;
 2732|      0|        }
 2733|  53.0k|        stack->refs = refs;
 2734|  53.0k|        stack->capacity = new_cap;
 2735|  53.0k|    }
 2736|  2.81M|    stack->refs[stack->size] = r;
 2737|  2.81M|    stack->size++;
 2738|  2.81M|    return 0;
 2739|  2.81M|}
flowgraph.c:kill_local:
 2795|   122k|{
 2796|  6.60M|    for (Py_ssize_t i = 0; i < refs->size; i++) {
  ------------------
  |  Branch (2796:28): [True: 6.47M, False: 122k]
  ------------------
 2797|  6.47M|        ref r = ref_stack_at(refs, i);
 2798|  6.47M|        if (r.local == local) {
  ------------------
  |  Branch (2798:13): [True: 271, False: 6.47M]
  ------------------
 2799|    271|            assert(r.instr >= 0);
  ------------------
  |  Branch (2799:13): [True: 271, False: 0]
  ------------------
 2800|    271|            instr_flags[r.instr] |= SUPPORT_KILLED;
 2801|    271|        }
 2802|  6.47M|    }
 2803|   122k|}
flowgraph.c:ref_stack_pop:
 2743|  1.91M|{
 2744|  1.91M|    assert(stack->size > 0);
  ------------------
  |  Branch (2744:5): [True: 1.91M, False: 0]
  ------------------
 2745|  1.91M|    stack->size--;
 2746|  1.91M|    ref r = stack->refs[stack->size];
 2747|  1.91M|    return r;
 2748|  1.91M|}
flowgraph.c:store_local:
 2807|   113k|{
 2808|   113k|    kill_local(instr_flags, refs, local);
 2809|   113k|    if (r.instr != DUMMY_INSTR) {
  ------------------
  |  | 2707|   113k|#define DUMMY_INSTR -1
  ------------------
  |  Branch (2809:9): [True: 105k, False: 8.18k]
  ------------------
 2810|   105k|        instr_flags[r.instr] |= STORED_AS_LOCAL;
 2811|   105k|    }
 2812|   113k|}
flowgraph.c:ref_stack_at:
 2762|  7.54M|{
 2763|  7.54M|    assert(idx >= 0 && idx < stack->size);
  ------------------
  |  Branch (2763:5): [True: 7.54M, False: 0]
  |  Branch (2763:5): [True: 7.54M, False: 0]
  ------------------
 2764|  7.54M|    return stack->refs[idx];
 2765|  7.54M|}
flowgraph.c:ref_stack_swap_top:
 2752|  76.7k|{
 2753|  76.7k|    Py_ssize_t idx = stack->size - off;
 2754|  76.7k|    assert(idx >= 0 && idx < stack->size);
  ------------------
  |  Branch (2754:5): [True: 76.7k, False: 0]
  |  Branch (2754:5): [True: 76.7k, False: 0]
  ------------------
 2755|  76.7k|    ref tmp = stack->refs[idx];
 2756|  76.7k|    stack->refs[idx] = stack->refs[stack->size - 1];
 2757|  76.7k|    stack->refs[stack->size - 1] = tmp;
 2758|  76.7k|}
flowgraph.c:load_fast_push_block:
 2817|   274k|{
 2818|   274k|    assert(target->b_startdepth >= 0 && target->b_startdepth == start_depth);
  ------------------
  |  Branch (2818:5): [True: 274k, False: 0]
  |  Branch (2818:5): [True: 274k, False: 0]
  ------------------
 2819|   274k|    if (!target->b_visited) {
  ------------------
  |  Branch (2819:9): [True: 202k, False: 71.5k]
  ------------------
 2820|   202k|        target->b_visited = 1;
 2821|   202k|        *(*sp)++ = target;
 2822|   202k|    }
 2823|   274k|}
flowgraph.c:ref_stack_fini:
 2775|  52.7k|{
 2776|  52.7k|    if (stack->refs != NULL) {
  ------------------
  |  Branch (2776:9): [True: 52.7k, False: 3]
  ------------------
 2777|  52.7k|        PyMem_Free(stack->refs);
 2778|  52.7k|    }
 2779|       |    stack->refs = NULL;
 2780|  52.7k|    stack->capacity = 0;
 2781|  52.7k|    stack->size = 0;
 2782|  52.7k|}
flowgraph.c:get_stack_effects:
  780|  3.63M|{
  781|  3.63M|    if (opcode < 0) {
  ------------------
  |  Branch (781:9): [True: 0, False: 3.63M]
  ------------------
  782|      0|        return -1;
  783|      0|    }
  784|  3.63M|    if ((opcode <= MAX_REAL_OPCODE) && (_PyOpcode_Deopt[opcode] != opcode)) {
  ------------------
  |  |   11|  3.63M|#define MAX_REAL_OPCODE 254
  ------------------
  |  Branch (784:9): [True: 3.28M, False: 355k]
  |  Branch (784:40): [True: 0, False: 3.28M]
  ------------------
  785|       |        // Specialized instructions are not supported.
  786|      0|        return -1;
  787|      0|    }
  788|  3.63M|    int popped = _PyOpcode_num_popped(opcode, oparg);
  789|  3.63M|    int pushed = _PyOpcode_num_pushed(opcode, oparg);
  790|  3.63M|    if (popped < 0 || pushed < 0) {
  ------------------
  |  Branch (790:9): [True: 0, False: 3.63M]
  |  Branch (790:23): [True: 0, False: 3.63M]
  ------------------
  791|      0|        return -1;
  792|      0|    }
  793|  3.63M|    if (IS_BLOCK_PUSH_OPCODE(opcode) && !jump) {
  ------------------
  |  |   18|  7.27M|        ((opcode) == SETUP_FINALLY || \
  |  |  ------------------
  |  |  |  |  252|  7.27M|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 86.3k, False: 3.54M]
  |  |  ------------------
  |  |   19|  3.63M|         (opcode) == SETUP_WITH || \
  |  |  ------------------
  |  |  |  |  253|  7.18M|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (19:10): [True: 22.8k, False: 3.52M]
  |  |  ------------------
  |  |   20|  7.27M|         (opcode) == SETUP_CLEANUP)
  |  |  ------------------
  |  |  |  |  251|  3.52M|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (20:10): [True: 40.4k, False: 3.48M]
  |  |  ------------------
  ------------------
  |  Branch (793:41): [True: 74.8k, False: 74.8k]
  ------------------
  794|  74.8k|        effects->net = 0;
  795|  74.8k|        return 0;
  796|  74.8k|    }
  797|  3.56M|    effects->net = pushed - popped;
  798|  3.56M|    return 0;
  799|  3.63M|}

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

_PyFuture_FromAST:
  111|  12.7k|{
  112|  12.7k|    ff->ff_features = 0;
  113|  12.7k|    ff->ff_location = (_Py_SourceLocation){-1, -1, -1, -1};
  114|       |
  115|  12.7k|    if (!future_parse(ff, mod, filename)) {
  ------------------
  |  Branch (115:9): [True: 15, False: 12.6k]
  ------------------
  116|     15|        return 0;
  117|     15|    }
  118|  12.6k|    return 1;
  119|  12.7k|}
future.c:future_parse:
   66|  12.7k|{
   67|  12.7k|    if (!(mod->kind == Module_kind || mod->kind == Interactive_kind)) {
  ------------------
  |  Branch (67:11): [True: 8.74k, False: 3.95k]
  |  Branch (67:39): [True: 2.23k, False: 1.72k]
  ------------------
   68|  1.72k|        return 1;
   69|  1.72k|    }
   70|       |
   71|  10.9k|    Py_ssize_t n = asdl_seq_LEN(mod->v.Module.body);
  ------------------
  |  |   83|  10.9k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  21.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 325, False: 10.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   72|  10.9k|    if (n == 0) {
  ------------------
  |  Branch (72:9): [True: 325, False: 10.6k]
  ------------------
   73|    325|        return 1;
   74|    325|    }
   75|       |
   76|  10.6k|    Py_ssize_t i = 0;
   77|  10.6k|    if (_PyAST_GetDocString(mod->v.Module.body) != NULL) {
  ------------------
  |  Branch (77:9): [True: 204, False: 10.4k]
  ------------------
   78|    204|        i++;
   79|    204|    }
   80|       |
   81|  12.1k|    for (; i < n; i++) {
  ------------------
  |  Branch (81:12): [True: 11.9k, False: 192]
  ------------------
   82|  11.9k|        stmt_ty s = (stmt_ty)asdl_seq_GET(mod->v.Module.body, i);
  ------------------
  |  |   82|  11.9k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  11.9k|#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|  11.9k|        if (s->kind == ImportFrom_kind && s->v.ImportFrom.level == 0) {
  ------------------
  |  Branch (88:13): [True: 1.60k, False: 10.3k]
  |  Branch (88:43): [True: 1.57k, False: 28]
  ------------------
   89|  1.57k|            identifier modname = s->v.ImportFrom.module;
   90|  1.57k|            if (modname &&
  ------------------
  |  Branch (90:17): [True: 1.57k, False: 0]
  ------------------
   91|  1.57k|                _PyUnicode_EqualToASCIIString(modname, "__future__")) {
  ------------------
  |  Branch (91:17): [True: 1.49k, False: 83]
  ------------------
   92|  1.49k|                if (!future_check_features(ff, s, filename)) {
  ------------------
  |  Branch (92:21): [True: 15, False: 1.48k]
  ------------------
   93|     15|                    return 0;
   94|     15|                }
   95|  1.48k|                ff->ff_location = SRC_LOCATION_FROM_AST(s);
  ------------------
  |  |   54|  1.48k|    (_Py_SourceLocation){ \
  |  |   55|  1.48k|               .lineno = (n)->lineno, \
  |  |   56|  1.48k|               .end_lineno = (n)->end_lineno, \
  |  |   57|  1.48k|               .col_offset = (n)->col_offset, \
  |  |   58|  1.48k|               .end_col_offset = (n)->end_col_offset }
  ------------------
   96|  1.48k|            }
   97|     83|            else {
   98|     83|                return 1;
   99|     83|            }
  100|  1.57k|        }
  101|  10.3k|        else {
  102|  10.3k|            return 1;
  103|  10.3k|        }
  104|  11.9k|    }
  105|    192|    return 1;
  106|  10.6k|}
future.c:future_check_features:
   10|  1.49k|{
   11|  1.49k|    Py_ssize_t i;
   12|       |
   13|  1.49k|    assert(s->kind == ImportFrom_kind);
  ------------------
  |  Branch (13:5): [True: 1.49k, False: 0]
  ------------------
   14|       |
   15|  1.49k|    asdl_alias_seq *names = s->v.ImportFrom.names;
   16|  2.97k|    for (i = 0; i < asdl_seq_LEN(names); i++) {
  ------------------
  |  |   83|  2.97k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  5.95k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.97k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (16:17): [True: 1.49k, False: 1.48k]
  ------------------
   17|  1.49k|        alias_ty name = (alias_ty)asdl_seq_GET(names, i);
  ------------------
  |  |   82|  1.49k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.49k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   18|  1.49k|        const char *feature = PyUnicode_AsUTF8(name->name);
   19|  1.49k|        if (!feature)
  ------------------
  |  Branch (19:13): [True: 0, False: 1.49k]
  ------------------
   20|      0|            return 0;
   21|  1.49k|        if (strcmp(feature, FUTURE_NESTED_SCOPES) == 0) {
  ------------------
  |  |   37|  1.49k|#define FUTURE_NESTED_SCOPES "nested_scopes"
  ------------------
  |  Branch (21:13): [True: 0, False: 1.49k]
  ------------------
   22|      0|            continue;
   23|  1.49k|        } else if (strcmp(feature, FUTURE_GENERATORS) == 0) {
  ------------------
  |  |   38|  1.49k|#define FUTURE_GENERATORS "generators"
  ------------------
  |  Branch (23:20): [True: 0, False: 1.49k]
  ------------------
   24|      0|            continue;
   25|  1.49k|        } else if (strcmp(feature, FUTURE_DIVISION) == 0) {
  ------------------
  |  |   39|  1.49k|#define FUTURE_DIVISION "division"
  ------------------
  |  Branch (25:20): [True: 0, False: 1.49k]
  ------------------
   26|      0|            continue;
   27|  1.49k|        } else if (strcmp(feature, FUTURE_ABSOLUTE_IMPORT) == 0) {
  ------------------
  |  |   40|  1.49k|#define FUTURE_ABSOLUTE_IMPORT "absolute_import"
  ------------------
  |  Branch (27:20): [True: 0, False: 1.49k]
  ------------------
   28|      0|            continue;
   29|  1.49k|        } else if (strcmp(feature, FUTURE_WITH_STATEMENT) == 0) {
  ------------------
  |  |   41|  1.49k|#define FUTURE_WITH_STATEMENT "with_statement"
  ------------------
  |  Branch (29:20): [True: 0, False: 1.49k]
  ------------------
   30|      0|            continue;
   31|  1.49k|        } else if (strcmp(feature, FUTURE_PRINT_FUNCTION) == 0) {
  ------------------
  |  |   42|  1.49k|#define FUTURE_PRINT_FUNCTION "print_function"
  ------------------
  |  Branch (31:20): [True: 1, False: 1.49k]
  ------------------
   32|      1|            continue;
   33|  1.49k|        } else if (strcmp(feature, FUTURE_UNICODE_LITERALS) == 0) {
  ------------------
  |  |   43|  1.49k|#define FUTURE_UNICODE_LITERALS "unicode_literals"
  ------------------
  |  Branch (33:20): [True: 0, False: 1.49k]
  ------------------
   34|      0|            continue;
   35|  1.49k|        } else if (strcmp(feature, FUTURE_BARRY_AS_BDFL) == 0) {
  ------------------
  |  |   44|  1.49k|#define FUTURE_BARRY_AS_BDFL "barry_as_FLUFL"
  ------------------
  |  Branch (35:20): [True: 0, False: 1.49k]
  ------------------
   36|      0|            ff->ff_features |= CO_FUTURE_BARRY_AS_BDFL;
  ------------------
  |  |  145|      0|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  ------------------
   37|  1.49k|        } else if (strcmp(feature, FUTURE_GENERATOR_STOP) == 0) {
  ------------------
  |  |   45|  1.49k|#define FUTURE_GENERATOR_STOP "generator_stop"
  ------------------
  |  Branch (37:20): [True: 0, False: 1.49k]
  ------------------
   38|      0|            continue;
   39|  1.49k|        } else if (strcmp(feature, FUTURE_ANNOTATIONS) == 0) {
  ------------------
  |  |   46|  1.49k|#define FUTURE_ANNOTATIONS "annotations"
  ------------------
  |  Branch (39:20): [True: 1.47k, False: 15]
  ------------------
   40|  1.47k|            ff->ff_features |= CO_FUTURE_ANNOTATIONS;
  ------------------
  |  |  147|  1.47k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
   41|  1.47k|        } else if (strcmp(feature, "braces") == 0) {
  ------------------
  |  Branch (41:20): [True: 0, False: 15]
  ------------------
   42|      0|            PyErr_SetString(PyExc_SyntaxError,
   43|      0|                            "not a chance");
   44|      0|            PyErr_RangedSyntaxLocationObject(filename,
   45|      0|                                             name->lineno,
   46|      0|                                             name->col_offset + 1,
   47|      0|                                             name->end_lineno,
   48|      0|                                             name->end_col_offset + 1);
   49|      0|            return 0;
   50|     15|        } else {
   51|     15|            PyErr_Format(PyExc_SyntaxError,
   52|     15|                         UNDEFINED_FUTURE_FEATURE, feature);
  ------------------
  |  |    6|     15|#define UNDEFINED_FUTURE_FEATURE "future feature %.100s is not defined"
  ------------------
   53|     15|            PyErr_RangedSyntaxLocationObject(filename,
   54|     15|                                             name->lineno,
   55|     15|                                             name->col_offset + 1,
   56|     15|                                             name->end_lineno,
   57|     15|                                             name->end_col_offset + 1);
   58|     15|            return 0;
   59|     15|        }
   60|  1.49k|    }
   61|  1.48k|    return 1;
   62|  1.49k|}

_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|     70|{
  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|     70|    assert(!PyStackRef_IsTaggedInt(*ref));
  ------------------
  |  Branch (464:5): [True: 70, False: 0]
  ------------------
  465|     70|    if (!PyStackRef_RefcountOnObject(*ref) && (visit == visit_decref)) {
  ------------------
  |  Branch (465:9): [True: 12, False: 58]
  |  Branch (465:47): [True: 6, False: 6]
  ------------------
  466|      6|        return 0;
  467|      6|    }
  468|     64|    Py_VISIT(PyStackRef_AsPyObjectBorrow(*ref));
  ------------------
  |  |  194|     64|    do {                                                                \
  |  |  195|     64|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 64, False: 0]
  |  |  ------------------
  |  |  196|     64|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     64|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 64]
  |  |  ------------------
  |  |  198|     64|                return vret;                                            \
  |  |  199|     64|        }                                                               \
  |  |  200|     64|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 64]
  |  |  ------------------
  ------------------
  469|     64|    return 0;
  470|     64|}
_PyGC_VisitFrameStack:
  474|     12|{
  475|     12|    _PyStackRef *ref = _PyFrame_GetLocalsArray(frame);
  476|       |    /* locals and stack */
  477|     74|    for (; ref < frame->stackpointer; ref++) {
  ------------------
  |  Branch (477:12): [True: 62, False: 12]
  ------------------
  478|     62|        if (!PyStackRef_IsTaggedInt(*ref)) {
  ------------------
  |  Branch (478:13): [True: 56, False: 6]
  ------------------
  479|     56|            _Py_VISIT_STACKREF(*ref);
  ------------------
  |  |  863|     56|    do {                                                                \
  |  |  864|     56|        if (!PyStackRef_IsNullOrInt(ref)) {                             \
  |  |  ------------------
  |  |  |  |  498|     56|#define PyStackRef_IsNullOrInt(stackref) (PyStackRef_IsNull(stackref) || PyStackRef_IsTaggedInt(stackref))
  |  |  |  |  ------------------
  |  |  |  |  |  |  482|    112|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  479|     56|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|     56|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (482:32): [True: 10, False: 46]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (498:74): [True: 0, False: 46]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  865|     46|            int vret = _PyGC_VisitStackRef(&(ref), visit, arg);         \
  |  |  866|     46|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (866:17): [True: 0, False: 46]
  |  |  ------------------
  |  |  867|     46|                return vret;                                            \
  |  |  868|     46|        }                                                               \
  |  |  869|     56|    } while (0)
  |  |  ------------------
  |  |  |  Branch (869:14): [Folded, False: 56]
  |  |  ------------------
  ------------------
  480|     56|        }
  481|     62|    }
  482|     12|    return 0;
  483|     12|}
PyObject_GC_Track:
 1930|  97.5k|{
 1931|  97.5k|    PyObject *op = _PyObject_CAST(op_raw);
  ------------------
  |  |  171|  97.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  97.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1932|  97.5k|    if (_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|  97.5k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  97.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 0, False: 97.5k]
  |  |  ------------------
  ------------------
 1933|      0|        _PyObject_ASSERT_FAILED_MSG(op,
  ------------------
  |  |  428|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  ------------------
 1934|      0|                                    "object already tracked "
 1935|      0|                                    "by the garbage collector");
 1936|      0|    }
 1937|  97.5k|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  505|  97.5k|        _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  97.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  97.5k|#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|  97.5k|}
PyObject_GC_UnTrack:
 1949|  60.4M|{
 1950|  60.4M|    PyObject *op = _PyObject_CAST(op_raw);
  ------------------
  |  |  171|  60.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  60.4M|#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|  60.4M|    if (_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|  60.4M|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  60.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 13.2M, False: 47.2M]
  |  |  ------------------
  ------------------
 1954|  13.2M|        _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  507|  13.2M|        _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1955|  13.2M|    }
 1956|  60.4M|}
PyObject_IS_GC:
 1960|   277M|{
 1961|   277M|    return _PyObject_IS_GC(obj);
 1962|   277M|}
_Py_ScheduleGC:
 1966|  33.0M|{
 1967|  33.0M|    if (!_Py_eval_breaker_bit_is_set(tstate, _PY_GC_SCHEDULED_BIT))
  ------------------
  |  |  349|  33.0M|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
  |  Branch (1967:9): [True: 8.38k, False: 33.0M]
  ------------------
 1968|  8.38k|    {
 1969|  8.38k|        _Py_set_eval_breaker_bit(tstate, _PY_GC_SCHEDULED_BIT);
  ------------------
  |  |  349|  8.38k|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
 1970|  8.38k|    }
 1971|  33.0M|}
_PyObject_GC_Link:
 1975|  50.7M|{
 1976|  50.7M|    PyGC_Head *gc = AS_GC(op);
  ------------------
  |  |   52|  50.7M|#define AS_GC(op) _Py_AS_GC(op)
  ------------------
 1977|       |    // gc must be correctly aligned
 1978|  50.7M|    _PyObject_ASSERT(op, ((uintptr_t)gc & (sizeof(uintptr_t)-1)) == 0);
  ------------------
  |  |  425|  50.7M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|  50.7M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|  50.7M|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 50.7M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|  50.7M|      ? (void)(0) \
  |  |  |  |  |  |  418|  50.7M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1979|       |
 1980|  50.7M|    PyThreadState *tstate = _PyThreadState_GET();
 1981|  50.7M|    GCState *gcstate = &tstate->interp->gc;
 1982|  50.7M|    gc->_gc_next = 0;
 1983|  50.7M|    gc->_gc_prev = 0;
 1984|  50.7M|    gcstate->generations[0].count++; /* number of allocated GC objects */
 1985|  50.7M|    if (gcstate->generations[0].count > gcstate->generations[0].threshold &&
  ------------------
  |  Branch (1985:9): [True: 33.0M, False: 17.7M]
  ------------------
 1986|  33.0M|        gcstate->enabled &&
  ------------------
  |  Branch (1986:9): [True: 33.0M, False: 0]
  ------------------
 1987|  33.0M|        gcstate->generations[0].threshold &&
  ------------------
  |  Branch (1987:9): [True: 33.0M, False: 0]
  ------------------
 1988|  33.0M|        !_Py_atomic_load_int_relaxed(&gcstate->collecting) &&
  ------------------
  |  Branch (1988:9): [True: 33.0M, False: 0]
  ------------------
 1989|  33.0M|        !_PyErr_Occurred(tstate))
  ------------------
  |  Branch (1989:9): [True: 33.0M, False: 0]
  ------------------
 1990|  33.0M|    {
 1991|  33.0M|        _Py_ScheduleGC(tstate);
 1992|  33.0M|    }
 1993|  50.7M|}
_Py_RunGC:
 1997|  8.38k|{
 1998|  8.38k|    GCState *gcstate = get_gc_state();
 1999|  8.38k|    if (!gcstate->enabled) {
  ------------------
  |  Branch (1999:9): [True: 0, False: 8.38k]
  ------------------
 2000|      0|        return;
 2001|      0|    }
 2002|  8.38k|    gc_collect_main(tstate, GENERATION_AUTO, _Py_GC_REASON_HEAP);
  ------------------
  |  |   56|  8.38k|#define GENERATION_AUTO (-1)
  ------------------
 2003|  8.38k|}
_PyObject_GC_New:
 2027|   798k|{
 2028|   798k|    size_t presize = _PyType_PreHeaderSize(tp);
 2029|   798k|    size_t size = _PyObject_SIZE(tp);
 2030|   798k|    if (_PyType_HasFeature(tp, Py_TPFLAGS_INLINE_VALUES)) {
  ------------------
  |  |  472|   798k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2030:9): [True: 0, False: 798k]
  ------------------
 2031|      0|        size += _PyInlineValuesSize(tp);
 2032|      0|    }
 2033|   798k|    PyObject *op = gc_alloc(tp, size, presize);
 2034|   798k|    if (op == NULL) {
  ------------------
  |  Branch (2034:9): [True: 0, False: 798k]
  ------------------
 2035|      0|        return NULL;
 2036|      0|    }
 2037|   798k|    _PyObject_Init(op, tp);
 2038|   798k|    if (tp->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|   798k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2038:9): [True: 0, False: 798k]
  ------------------
 2039|      0|        _PyObject_InitInlineValues(op, tp);
 2040|      0|    }
 2041|   798k|    return op;
 2042|   798k|}
_PyObject_GC_NewVar:
 2046|  48.7M|{
 2047|  48.7M|    PyVarObject *op;
 2048|       |
 2049|  48.7M|    if (nitems < 0) {
  ------------------
  |  Branch (2049:9): [True: 0, False: 48.7M]
  ------------------
 2050|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2051|      0|        return NULL;
 2052|      0|    }
 2053|  48.7M|    size_t presize = _PyType_PreHeaderSize(tp);
 2054|  48.7M|    size_t size = _PyObject_VAR_SIZE(tp, nitems);
 2055|  48.7M|    op = (PyVarObject *)gc_alloc(tp, size, presize);
 2056|  48.7M|    if (op == NULL) {
  ------------------
  |  Branch (2056:9): [True: 0, False: 48.7M]
  ------------------
 2057|      0|        return NULL;
 2058|      0|    }
 2059|  48.7M|    _PyObject_InitVar(op, tp, nitems);
 2060|  48.7M|    return op;
 2061|  48.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));
  ------------------
  |  |  425|      2|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|      2|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|      2|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      2|      ? (void)(0) \
  |  |  |  |  |  |  418|      2|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      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|  50.7M|{
 2099|  50.7M|    size_t presize = _PyType_PreHeaderSize(Py_TYPE(op));
  ------------------
  |  |  213|  50.7M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  50.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  50.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2100|  50.7M|    PyGC_Head *g = AS_GC(op);
  ------------------
  |  |   52|  50.7M|#define AS_GC(op) _Py_AS_GC(op)
  ------------------
 2101|  50.7M|    if (_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|  50.7M|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  50.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 0, False: 50.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|  50.7M|    GCState *gcstate = get_gc_state();
 2119|  50.7M|    if (gcstate->generations[0].count > 0) {
  ------------------
  |  Branch (2119:9): [True: 4.54M, False: 46.1M]
  ------------------
 2120|  4.54M|        gcstate->generations[0].count--;
 2121|  4.54M|    }
 2122|  50.7M|    PyObject_Free(((char *)op)-presize);
 2123|  50.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|   380M|{
  442|   380M|    OBJECT_STAT_INC(object_visits);
  ------------------
  |  |   77|   380M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  443|   380M|    _PyObject_ASSERT(_PyObject_CAST(parent), !_PyObject_IsFreed(op));
  ------------------
  |  |  425|   380M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|   380M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|   380M|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 380M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|   380M|      ? (void)(0) \
  |  |  |  |  |  |  418|   380M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  444|       |
  445|   380M|    if (_PyObject_IS_GC(op)) {
  ------------------
  |  Branch (445:9): [True: 85.2M, False: 294M]
  ------------------
  446|  85.2M|        PyGC_Head *gc = AS_GC(op);
  ------------------
  |  |   52|  85.2M|#define AS_GC(op) _Py_AS_GC(op)
  ------------------
  447|       |        /* We're only interested in gc_refs for objects in the
  448|       |         * generation being collected, which can be recognized
  449|       |         * because only they have positive gc_refs.
  450|       |         */
  451|  85.2M|        if (gc_is_collecting(gc)) {
  ------------------
  |  Branch (451:13): [True: 46.9M, False: 38.2M]
  ------------------
  452|  46.9M|            gc_decref(gc);
  453|  46.9M|        }
  454|  85.2M|    }
  455|   380M|    return 0;
  456|   380M|}
gc.c:gc_is_collecting:
   60|   170M|{
   61|   170M|    return (g->_gc_prev & PREV_MASK_COLLECTING) != 0;
  ------------------
  |  |   39|   170M|#define PREV_MASK_COLLECTING   _PyGC_PREV_MASK_COLLECTING
  |  |  ------------------
  |  |  |  |  119|   170M|#define _PyGC_PREV_MASK_COLLECTING ((uintptr_t)2)
  |  |  ------------------
  ------------------
   62|   170M|}
gc.c:gc_decref:
   93|  46.9M|{
   94|  46.9M|    _PyObject_ASSERT_WITH_MSG(FROM_GC(g),
  ------------------
  |  |  423|  46.9M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  416|  46.9M|    ((expr) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (416:6): [True: 46.9M, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  417|  46.9M|      ? (void)(0) \
  |  |  |  |  418|  46.9M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  ------------------
  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  ------------------
  ------------------
   95|  46.9M|                              gc_get_refs(g) > 0,
   96|  46.9M|                              "refcount is too small");
   97|  46.9M|    g->_gc_prev -= 1 << _PyGC_PREV_SHIFT;
  ------------------
  |  |  121|  46.9M|#define _PyGC_PREV_SHIFT           2
  ------------------
   98|  46.9M|}
gc.c:gc_get_refs:
   72|   319M|{
   73|   319M|    return (Py_ssize_t)(g->_gc_prev >> _PyGC_PREV_SHIFT);
  ------------------
  |  |  121|   319M|#define _PyGC_PREV_SHIFT           2
  ------------------
   74|   319M|}
gc.c:gc_list_merge:
  277|  31.7k|{
  278|  31.7k|    assert(from != to);
  ------------------
  |  Branch (278:5): [True: 31.7k, False: 0]
  ------------------
  279|  31.7k|    if (!gc_list_is_empty(from)) {
  ------------------
  |  Branch (279:9): [True: 8.45k, False: 23.2k]
  ------------------
  280|  8.45k|        PyGC_Head *to_tail = GC_PREV(to);
  ------------------
  |  |   29|  8.45k|#define GC_PREV _PyGCHead_PREV
  ------------------
  281|  8.45k|        PyGC_Head *from_head = GC_NEXT(from);
  ------------------
  |  |   28|  8.45k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  282|  8.45k|        PyGC_Head *from_tail = GC_PREV(from);
  ------------------
  |  |   29|  8.45k|#define GC_PREV _PyGCHead_PREV
  ------------------
  283|  8.45k|        assert(from_head != from);
  ------------------
  |  Branch (283:9): [True: 8.45k, False: 0]
  ------------------
  284|  8.45k|        assert(from_tail != from);
  ------------------
  |  Branch (284:9): [True: 8.45k, False: 0]
  ------------------
  285|       |
  286|  8.45k|        _PyGCHead_SET_NEXT(to_tail, from_head);
  287|  8.45k|        _PyGCHead_SET_PREV(from_head, to_tail);
  288|       |
  289|  8.45k|        _PyGCHead_SET_NEXT(from_tail, to);
  290|  8.45k|        _PyGCHead_SET_PREV(to, from_tail);
  291|  8.45k|    }
  292|  31.7k|    gc_list_init(from);
  293|  31.7k|}
gc.c:gc_list_is_empty:
  220|  59.7k|{
  221|  59.7k|    return (list->_gc_next == (uintptr_t)list);
  222|  59.7k|}
gc.c:gc_list_init:
  211|  70.5k|{
  212|       |    // List header must not have flags.
  213|       |    // We can assign pointer by simple cast.
  214|  70.5k|    list->_gc_prev = (uintptr_t)list;
  215|  70.5k|    list->_gc_next = (uintptr_t)list;
  216|  70.5k|}
gc.c:gc_list_size:
  297|  8.42k|{
  298|  8.42k|    PyGC_Head *gc;
  299|  8.42k|    Py_ssize_t n = 0;
  300|   143k|    for (gc = GC_NEXT(list); gc != list; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|  8.42k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
                  for (gc = GC_NEXT(list); gc != list; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|   135k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (300:30): [True: 135k, False: 8.42k]
  ------------------
  301|   135k|        n++;
  302|   135k|    }
  303|  8.42k|    return n;
  304|  8.42k|}
gc.c:get_gc_state:
  106|  50.7M|{
  107|  50.7M|    PyInterpreterState *interp = _PyInterpreterState_GET();
  108|  50.7M|    return &interp->gc;
  109|  50.7M|}
gc.c:gc_collect_main:
 1424|  8.38k|{
 1425|  8.38k|    int i;
 1426|  8.38k|    PyGC_Head *young; /* the generation we are examining */
 1427|  8.38k|    PyGC_Head *old; /* next older generation */
 1428|  8.38k|    PyGC_Head unreachable; /* non-problematic unreachable trash */
 1429|  8.38k|    PyGC_Head finalizers;  /* objects with, & reachable from, __del__ */
 1430|  8.38k|    PyGC_Head *gc;
 1431|  8.38k|    GCState *gcstate = &tstate->interp->gc;
 1432|       |
 1433|       |    // gc_collect_main() must not be called before _PyGC_Init
 1434|       |    // or after _PyGC_Fini()
 1435|  8.38k|    assert(gcstate->garbage != NULL);
  ------------------
  |  Branch (1435:5): [True: 8.38k, False: 0]
  ------------------
 1436|  8.38k|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1436:5): [True: 8.38k, False: 0]
  ------------------
 1437|       |
 1438|  8.38k|    int expected = 0;
 1439|  8.38k|    if (!_Py_atomic_compare_exchange_int(&gcstate->collecting, &expected, 1)) {
  ------------------
  |  Branch (1439:9): [True: 0, False: 8.38k]
  ------------------
 1440|       |        // Don't start a garbage collection if one is already in progress.
 1441|      0|        return 0;
 1442|      0|    }
 1443|  8.38k|    gcstate->frame = tstate->current_frame;
 1444|       |
 1445|  8.38k|    if (generation == GENERATION_AUTO) {
  ------------------
  |  |   56|  8.38k|#define GENERATION_AUTO (-1)
  ------------------
  |  Branch (1445:9): [True: 8.38k, 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|  8.38k|        generation = gc_select_generation(gcstate);
 1449|  8.38k|        if (generation < 0) {
  ------------------
  |  Branch (1449:13): [True: 611, False: 7.76k]
  ------------------
 1450|       |            // No generation needs to be collected.
 1451|    611|            _Py_atomic_store_int(&gcstate->collecting, 0);
 1452|    611|            return 0;
 1453|    611|        }
 1454|  8.38k|    }
 1455|       |
 1456|  8.38k|    assert(generation >= 0 && generation < NUM_GENERATIONS);
  ------------------
  |  Branch (1456:5): [True: 7.76k, False: 0]
  |  Branch (1456:5): [True: 7.76k, 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|  7.76k|    GC_STAT_ADD(generation, collections, 1);
  ------------------
  |  |   81|  7.76k|#define GC_STAT_ADD(gen, name, n) ((void)0)
  ------------------
 1468|       |
 1469|  7.76k|    struct gc_generation_stats stats = { 0 };
 1470|  7.76k|    if (reason != _Py_GC_REASON_SHUTDOWN) {
  ------------------
  |  Branch (1470:9): [True: 7.76k, False: 0]
  ------------------
 1471|  7.76k|        invoke_gc_callback(tstate, "start", generation, &stats);
 1472|  7.76k|    }
 1473|       |
 1474|  7.76k|    stats.heap_size = gcstate->heap_size;
 1475|       |    // ignore error: don't interrupt the GC if reading the clock fails
 1476|  7.76k|    (void)PyTime_PerfCounterRaw(&stats.ts_start);
 1477|  7.76k|    if (gcstate->debug & _PyGC_DEBUG_STATS) {
  ------------------
  |  |  125|  7.76k|#define _PyGC_DEBUG_STATS             (1<<0) /* print collection statistics */
  ------------------
  |  Branch (1477:9): [True: 0, False: 7.76k]
  ------------------
 1478|      0|        PySys_WriteStderr("gc: collecting generation %d...\n", generation);
 1479|      0|        show_stats_each_generations(gcstate);
 1480|      0|    }
 1481|       |
 1482|  7.76k|    if (PyDTrace_GC_START_ENABLED()) {
  ------------------
  |  Branch (1482:9): [True: 0, False: 7.76k]
  ------------------
 1483|      0|        PyDTrace_GC_START(generation);
 1484|      0|    }
 1485|       |
 1486|       |    /* update collection and allocation counters */
 1487|  7.76k|    if (generation+1 < NUM_GENERATIONS) {
  ------------------
  |  |  217|  7.76k|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1487:9): [True: 7.76k, False: 7]
  ------------------
 1488|  7.76k|        gcstate->generations[generation+1].count += 1;
 1489|  7.76k|    }
 1490|  16.1k|    for (i = 0; i <= generation; i++) {
  ------------------
  |  Branch (1490:17): [True: 8.42k, False: 7.76k]
  ------------------
 1491|  8.42k|        gcstate->generations[i].count = 0;
 1492|  8.42k|    }
 1493|       |
 1494|       |    /* merge younger generations with one we are currently collecting */
 1495|  8.42k|    for (i = 0; i < generation; i++) {
  ------------------
  |  Branch (1495:17): [True: 660, False: 7.76k]
  ------------------
 1496|    660|        gc_list_merge(GEN_HEAD(gcstate, i), GEN_HEAD(gcstate, generation));
  ------------------
  |  |  101|    660|#define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
  ------------------
                      gc_list_merge(GEN_HEAD(gcstate, i), GEN_HEAD(gcstate, generation));
  ------------------
  |  |  101|    660|#define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
  ------------------
 1497|    660|    }
 1498|       |
 1499|       |    /* handy references */
 1500|  7.76k|    young = GEN_HEAD(gcstate, generation);
  ------------------
  |  |  101|  7.76k|#define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
  ------------------
 1501|  7.76k|    if (generation < NUM_GENERATIONS-1) {
  ------------------
  |  |  217|  7.76k|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1501:9): [True: 7.76k, False: 7]
  ------------------
 1502|  7.76k|        old = GEN_HEAD(gcstate, generation+1);
  ------------------
  |  |  101|  7.76k|#define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
  ------------------
 1503|  7.76k|    }
 1504|      7|    else {
 1505|      7|        old = young;
 1506|      7|    }
 1507|  7.76k|    validate_list(old, collecting_clear_unreachable_clear);
  ------------------
  |  |  387|  7.76k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 7.76k]
  |  |  ------------------
  ------------------
 1508|       |
 1509|  7.76k|    stats.candidates = deduce_unreachable(young, &unreachable);
 1510|       |
 1511|  7.76k|    untrack_tuples(young);
 1512|       |    /* Move reachable objects to next generation. */
 1513|  7.76k|    if (young != old) {
  ------------------
  |  Branch (1513:9): [True: 7.76k, False: 7]
  ------------------
 1514|  7.76k|        if (generation == NUM_GENERATIONS - 2) {
  ------------------
  |  |  217|  7.76k|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1514:13): [True: 646, False: 7.11k]
  ------------------
 1515|    646|            gcstate->long_lived_pending += gc_list_size(young);
 1516|    646|        }
 1517|  7.76k|        gc_list_merge(young, old);
 1518|  7.76k|    }
 1519|      7|    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|      7|        gcstate->long_lived_pending = 0;
 1528|      7|        gcstate->long_lived_total = gc_list_size(young);
 1529|      7|    }
 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|  7.76k|    gc_list_init(&finalizers);
 1535|       |    // NEXT_MASK_UNREACHABLE is cleared here.
 1536|       |    // After move_legacy_finalizers(), unreachable is normal list.
 1537|  7.76k|    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|  7.76k|    move_legacy_finalizer_reachable(&finalizers);
 1543|       |
 1544|  7.76k|    validate_list(&finalizers, collecting_clear_unreachable_clear);
  ------------------
  |  |  387|  7.76k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 7.76k]
  |  |  ------------------
  ------------------
 1545|  7.76k|    validate_list(&unreachable, collecting_set_unreachable_clear);
  ------------------
  |  |  387|  7.76k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 7.76k]
  |  |  ------------------
  ------------------
 1546|       |
 1547|       |    /* Print debugging information. */
 1548|  7.76k|    if (gcstate->debug & _PyGC_DEBUG_COLLECTABLE) {
  ------------------
  |  |  126|  7.76k|#define _PyGC_DEBUG_COLLECTABLE       (1<<1) /* print collectable objects */
  ------------------
  |  Branch (1548:9): [True: 0, False: 7.76k]
  ------------------
 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|  7.76k|    stats.collected += handle_weakref_callbacks(&unreachable, old);
 1556|  7.76k|    validate_list(old, collecting_clear_unreachable_clear);
  ------------------
  |  |  387|  7.76k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 7.76k]
  |  |  ------------------
  ------------------
 1557|  7.76k|    validate_list(&unreachable, collecting_set_unreachable_clear);
  ------------------
  |  |  387|  7.76k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 7.76k]
  |  |  ------------------
  ------------------
 1558|       |
 1559|       |    /* Call tp_finalize on objects which have one. */
 1560|  7.76k|    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|  7.76k|    PyGC_Head final_unreachable;
 1566|  7.76k|    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|  7.76k|    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|  7.76k|    stats.collected += gc_list_size(&final_unreachable);
 1581|  7.76k|    delete_garbage(tstate, gcstate, &final_unreachable, old);
 1582|       |
 1583|       |    /* Collect statistics on uncollectable objects found and print
 1584|       |     * debugging information. */
 1585|  7.76k|    Py_ssize_t n = 0;
 1586|  7.76k|    for (gc = GC_NEXT(&finalizers); gc != &finalizers; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|  7.76k|#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: 7.76k]
  ------------------
 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|  7.76k|    stats.uncollectable = n;
 1592|  7.76k|    (void)PyTime_PerfCounterRaw(&stats.ts_stop);
 1593|  7.76k|    stats.duration = PyTime_AsSecondsDouble(stats.ts_stop - stats.ts_start);
 1594|  7.76k|    if (gcstate->debug & _PyGC_DEBUG_STATS) {
  ------------------
  |  |  125|  7.76k|#define _PyGC_DEBUG_STATS             (1<<0) /* print collection statistics */
  ------------------
  |  Branch (1594:9): [True: 0, False: 7.76k]
  ------------------
 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|  7.76k|    handle_legacy_finalizers(tstate, gcstate, &finalizers, old);
 1606|  7.76k|    validate_list(old, collecting_clear_unreachable_clear);
  ------------------
  |  |  387|  7.76k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 7.76k]
  |  |  ------------------
  ------------------
 1607|       |
 1608|       |    /* Clear free list only during the collection of the highest
 1609|       |     * generation */
 1610|  7.76k|    if (generation == NUM_GENERATIONS-1) {
  ------------------
  |  |  217|  7.76k|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1610:9): [True: 7, False: 7.76k]
  ------------------
 1611|      7|        _PyGC_ClearAllFreeLists(tstate->interp);
 1612|      7|    }
 1613|       |
 1614|  7.76k|    if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1614:9): [True: 0, False: 7.76k]
  ------------------
 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|  7.76k|    add_stats(gcstate, generation, &stats);
 1625|  7.76k|    GC_STAT_ADD(generation, objects_collected, stats.collected);
  ------------------
  |  |   81|  7.76k|#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|  7.76k|    if (PyDTrace_GC_DONE_ENABLED()) {
  ------------------
  |  Branch (1638:9): [True: 0, False: 7.76k]
  ------------------
 1639|      0|        PyDTrace_GC_DONE(stats.uncollectable + stats.collected);
 1640|      0|    }
 1641|       |
 1642|  7.76k|    if (reason != _Py_GC_REASON_SHUTDOWN) {
  ------------------
  |  Branch (1642:9): [True: 7.76k, False: 0]
  ------------------
 1643|  7.76k|        invoke_gc_callback(tstate, "stop", generation, &stats);
 1644|  7.76k|    }
 1645|       |
 1646|  7.76k|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1646:5): [True: 7.76k, False: 0]
  ------------------
 1647|  7.76k|    gcstate->frame = NULL;
 1648|  7.76k|    _Py_atomic_store_int(&gcstate->collecting, 0);
 1649|  7.76k|    return stats.uncollectable + stats.collected;
 1650|  7.76k|}
gc.c:gc_select_generation:
 1317|  8.38k|{
 1318|  25.0k|    for (int i = NUM_GENERATIONS-1; i >= 0; i--) {
  ------------------
  |  |  217|  8.38k|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1318:37): [True: 24.4k, False: 611]
  ------------------
 1319|  24.4k|        if (gcstate->generations[i].count > gcstate->generations[i].threshold) {
  ------------------
  |  Branch (1319:13): [True: 14.9k, False: 9.54k]
  ------------------
 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|  14.9k|            if (i == NUM_GENERATIONS - 1
  ------------------
  |  |  217|  14.9k|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1356:17): [True: 7.17k, False: 7.76k]
  ------------------
 1357|  7.17k|                && gcstate->long_lived_pending < gcstate->long_lived_total / 4)
  ------------------
  |  Branch (1357:20): [True: 7.16k, False: 7]
  ------------------
 1358|  7.16k|            {
 1359|  7.16k|                continue;
 1360|  7.16k|            }
 1361|  7.76k|            return i;
 1362|  14.9k|        }
 1363|  24.4k|    }
 1364|    611|    return -1;
 1365|  8.38k|}
gc.c:invoke_gc_callback:
 1260|  15.5k|{
 1261|  15.5k|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1261:5): [True: 15.5k, False: 0]
  ------------------
 1262|       |
 1263|       |    /* we may get called very early */
 1264|  15.5k|    GCState *gcstate = &tstate->interp->gc;
 1265|  15.5k|    if (gcstate->callbacks == NULL) {
  ------------------
  |  Branch (1265:9): [True: 0, False: 15.5k]
  ------------------
 1266|      0|        return;
 1267|      0|    }
 1268|       |
 1269|       |    /* The local variable cannot be rebound, check it for sanity */
 1270|  15.5k|    assert(PyList_CheckExact(gcstate->callbacks));
  ------------------
  |  Branch (1270:5): [True: 15.5k, False: 0]
  ------------------
 1271|  15.5k|    PyObject *info = NULL;
 1272|  15.5k|    if (PyList_GET_SIZE(gcstate->callbacks) != 0) {
  ------------------
  |  |   38|  15.5k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1272:9): [True: 0, False: 15.5k]
  ------------------
 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|  15.5k|    PyObject *phase_obj = PyUnicode_FromString(phase);
 1286|  15.5k|    if (phase_obj == NULL) {
  ------------------
  |  Branch (1286:9): [True: 0, False: 15.5k]
  ------------------
 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|  15.5k|    PyObject *stack[] = {phase_obj, info};
 1293|  15.5k|    for (Py_ssize_t i=0; i<PyList_GET_SIZE(gcstate->callbacks); i++) {
  ------------------
  |  |   38|  15.5k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1293:26): [True: 0, False: 15.5k]
  ------------------
 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|  15.5k|    Py_DECREF(phase_obj);
  ------------------
  |  |  430|  15.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1307|  15.5k|    Py_XDECREF(info);
  ------------------
  |  |  524|  15.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1308|       |    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1308:5): [True: 15.5k, False: 0]
  ------------------
 1309|  15.5k|}
gc.c:deduce_unreachable:
 1169|  15.5k|deduce_unreachable(PyGC_Head *base, PyGC_Head *unreachable) {
 1170|  15.5k|    validate_list(base, collecting_clear_unreachable_clear);
  ------------------
  |  |  387|  15.5k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 15.5k]
  |  |  ------------------
  ------------------
 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|  15.5k|    Py_ssize_t candidates = update_refs(base);  // gc_prev is used for gc_refs
 1177|  15.5k|    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|  15.5k|    gc_list_init(unreachable);
 1215|  15.5k|    move_unreachable(base, unreachable);  // gc_prev is pointer again
 1216|  15.5k|    validate_list(base, collecting_clear_unreachable_clear);
  ------------------
  |  |  387|  15.5k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 15.5k]
  |  |  ------------------
  ------------------
 1217|  15.5k|    validate_list(unreachable, collecting_set_unreachable_set);
  ------------------
  |  |  387|  15.5k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 15.5k]
  |  |  ------------------
  ------------------
 1218|  15.5k|    return candidates;
 1219|  15.5k|}
gc.c:update_refs:
  398|  15.5k|{
  399|  15.5k|    PyGC_Head *next;
  400|  15.5k|    PyGC_Head *gc = GC_NEXT(containers);
  ------------------
  |  |   28|  15.5k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  401|  15.5k|    Py_ssize_t candidates = 0;
  402|       |
  403|  46.8M|    while (gc != containers) {
  ------------------
  |  Branch (403:12): [True: 46.8M, False: 15.5k]
  ------------------
  404|  46.8M|        next = GC_NEXT(gc);
  ------------------
  |  |   28|  46.8M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  405|  46.8M|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  46.8M|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  406|  46.8M|        if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  46.8M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  46.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 46.8M]
  |  |  ------------------
  ------------------
  407|      0|            assert(!_Py_IsStaticImmortal(op));
  ------------------
  |  Branch (407:13): [True: 0, False: 0]
  ------------------
  408|      0|            _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  507|      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|  46.8M|        gc_reset_refs(gc, Py_REFCNT(op));
  ------------------
  |  |  119|  46.8M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  46.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.8M|#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|  46.8M|        _PyObject_ASSERT(op, gc_get_refs(gc) != 0);
  ------------------
  |  |  425|  46.8M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|  46.8M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|  46.8M|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 46.8M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|  46.8M|      ? (void)(0) \
  |  |  |  |  |  |  418|  46.8M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  432|  46.8M|        gc = next;
  433|  46.8M|        candidates++;
  434|  46.8M|    }
  435|  15.5k|    return candidates;
  436|  15.5k|}
gc.c:gc_reset_refs:
   85|  46.8M|{
   86|  46.8M|    g->_gc_prev = (g->_gc_prev & _PyGC_PREV_MASK_FINALIZED)
  ------------------
  |  |  117|  46.8M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
   87|  46.8M|        | PREV_MASK_COLLECTING
  ------------------
  |  |   39|  46.8M|#define PREV_MASK_COLLECTING   _PyGC_PREV_MASK_COLLECTING
  |  |  ------------------
  |  |  |  |  119|  46.8M|#define _PyGC_PREV_MASK_COLLECTING ((uintptr_t)2)
  |  |  ------------------
  ------------------
   88|  46.8M|        | ((uintptr_t)(refs) << _PyGC_PREV_SHIFT);
  ------------------
  |  |  121|  46.8M|#define _PyGC_PREV_SHIFT           2
  ------------------
   89|  46.8M|}
gc.c:subtract_refs:
  491|  15.5k|{
  492|  15.5k|    traverseproc traverse;
  493|  15.5k|    PyGC_Head *gc = GC_NEXT(containers);
  ------------------
  |  |   28|  15.5k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  494|  46.8M|    for (; gc != containers; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|  46.8M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (494:12): [True: 46.8M, False: 15.5k]
  ------------------
  495|  46.8M|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  46.8M|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  496|  46.8M|        traverse = Py_TYPE(op)->tp_traverse;
  ------------------
  |  |  213|  46.8M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  46.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  497|  46.8M|        (void) traverse(op,
  498|  46.8M|                        visit_decref,
  499|  46.8M|                        op);
  500|  46.8M|    }
  501|  15.5k|}
gc.c:move_unreachable:
  580|  15.5k|{
  581|       |    // previous elem in the young list, used for restore gc_prev.
  582|  15.5k|    PyGC_Head *prev = young;
  583|  15.5k|    PyGC_Head *gc = GC_NEXT(young);
  ------------------
  |  |   28|  15.5k|#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|  93.4M|    while (gc != young) {
  ------------------
  |  Branch (594:12): [True: 93.4M, False: 15.5k]
  ------------------
  595|  93.4M|        if (gc_get_refs(gc)) {
  ------------------
  |  Branch (595:13): [True: 46.8M, False: 46.6M]
  ------------------
  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|  46.8M|            PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  46.8M|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  605|  46.8M|            traverseproc traverse = Py_TYPE(op)->tp_traverse;
  ------------------
  |  |  213|  46.8M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  46.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  606|  46.8M|            _PyObject_ASSERT_WITH_MSG(op, gc_get_refs(gc) > 0,
  ------------------
  |  |  423|  46.8M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  416|  46.8M|    ((expr) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (416:6): [True: 46.8M, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  417|  46.8M|      ? (void)(0) \
  |  |  |  |  418|  46.8M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  ------------------
  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  ------------------
  ------------------
  607|  46.8M|                                      "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|  46.8M|            (void) traverse(op,
  611|  46.8M|                    visit_reachable,
  612|  46.8M|                    (void *)young);
  613|       |            // relink gc_prev to prev element.
  614|  46.8M|            _PyGCHead_SET_PREV(gc, prev);
  615|       |            // gc is not COLLECTING state after here.
  616|  46.8M|            gc_clear_collecting(gc);
  617|  46.8M|            prev = gc;
  618|  46.8M|        }
  619|  46.6M|        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|  46.6M|            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|  46.6M|            PyGC_Head *last = GC_PREV(unreachable);
  ------------------
  |  |   29|  46.6M|#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|  46.6M|            last->_gc_next = (NEXT_MASK_UNREACHABLE | (uintptr_t)gc);
  ------------------
  |  |   50|  46.6M|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  640|  46.6M|            _PyGCHead_SET_PREV(gc, last);
  641|  46.6M|            gc->_gc_next = (NEXT_MASK_UNREACHABLE | (uintptr_t)unreachable);
  ------------------
  |  |   50|  46.6M|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  642|  46.6M|            unreachable->_gc_prev = (uintptr_t)gc;
  643|  46.6M|        }
  644|  93.4M|        gc = (PyGC_Head*)prev->_gc_next;
  645|  93.4M|    }
  646|       |    // young->_gc_prev must be last element remained in the list.
  647|  15.5k|    young->_gc_prev = (uintptr_t)prev;
  648|       |    // don't let the pollution of the list head's next pointer leak
  649|  15.5k|    unreachable->_gc_next &= ~NEXT_MASK_UNREACHABLE;
  ------------------
  |  |   50|  15.5k|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  650|  15.5k|}
gc.c:visit_reachable:
  506|   380M|{
  507|   380M|    PyGC_Head *reachable = arg;
  508|   380M|    OBJECT_STAT_INC(object_visits);
  ------------------
  |  |   77|   380M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  509|   380M|    if (!_PyObject_IS_GC(op)) {
  ------------------
  |  Branch (509:9): [True: 294M, False: 85.1M]
  ------------------
  510|   294M|        return 0;
  511|   294M|    }
  512|       |
  513|  85.1M|    PyGC_Head *gc = AS_GC(op);
  ------------------
  |  |   52|  85.1M|#define AS_GC(op) _Py_AS_GC(op)
  ------------------
  514|  85.1M|    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|  85.1M|    if (! gc_is_collecting(gc)) {
  ------------------
  |  Branch (520:9): [True: 38.3M, False: 46.7M]
  ------------------
  521|  38.3M|        return 0;
  522|  38.3M|    }
  523|       |    // It would be a logic error elsewhere if the collecting flag were set on
  524|       |    // an untracked object.
  525|  46.7M|    _PyObject_ASSERT(op, gc->_gc_next != 0);
  ------------------
  |  |  425|  46.7M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|  46.7M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|  46.7M|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 46.7M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|  46.7M|      ? (void)(0) \
  |  |  |  |  |  |  418|  46.7M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  526|       |
  527|  46.7M|    if (gc->_gc_next & NEXT_MASK_UNREACHABLE) {
  ------------------
  |  |   50|  46.7M|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  |  Branch (527:9): [True: 46.6M, False: 192k]
  ------------------
  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|  46.6M|        PyGC_Head *prev = GC_PREV(gc);
  ------------------
  |  |   29|  46.6M|#define GC_PREV _PyGCHead_PREV
  ------------------
  537|  46.6M|        PyGC_Head *next = (PyGC_Head*)(gc->_gc_next & ~NEXT_MASK_UNREACHABLE);
  ------------------
  |  |   50|  46.6M|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  538|  46.6M|        _PyObject_ASSERT(FROM_GC(prev),
  ------------------
  |  |  425|  46.6M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|  46.6M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|  46.6M|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 46.6M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|  46.6M|      ? (void)(0) \
  |  |  |  |  |  |  418|  46.6M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  539|  46.6M|                         prev->_gc_next & NEXT_MASK_UNREACHABLE);
  540|  46.6M|        _PyObject_ASSERT(FROM_GC(next),
  ------------------
  |  |  425|  46.6M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|  46.6M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|  46.6M|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 46.6M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|  46.6M|      ? (void)(0) \
  |  |  |  |  |  |  418|  46.6M|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  541|  46.6M|                         next->_gc_next & NEXT_MASK_UNREACHABLE);
  542|  46.6M|        prev->_gc_next = gc->_gc_next;  // copy NEXT_MASK_UNREACHABLE
  543|  46.6M|        _PyGCHead_SET_PREV(next, prev);
  544|       |
  545|  46.6M|        gc_list_append(gc, reachable);
  546|  46.6M|        gc_set_refs(gc, 1);
  547|  46.6M|    }
  548|   192k|    else if (gc_refs == 0) {
  ------------------
  |  Branch (548:14): [True: 151k, False: 41.0k]
  ------------------
  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|   151k|        gc_set_refs(gc, 1);
  555|   151k|    }
  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|  41.0k|    else {
  561|  41.0k|        _PyObject_ASSERT_WITH_MSG(op, gc_refs > 0, "refcount is too small");
  ------------------
  |  |  423|  41.0k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  416|  41.0k|    ((expr) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (416:6): [True: 41.0k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  417|  41.0k|      ? (void)(0) \
  |  |  |  |  418|  41.0k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  ------------------
  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  ------------------
  ------------------
  562|  41.0k|    }
  563|  46.7M|    return 0;
  564|  46.7M|}
gc.c:gc_list_append:
  227|  46.6M|{
  228|  46.6M|    PyGC_Head *last = (PyGC_Head *)list->_gc_prev;
  229|       |
  230|       |    // last <-> node
  231|  46.6M|    _PyGCHead_SET_PREV(node, last);
  232|  46.6M|    _PyGCHead_SET_NEXT(last, node);
  233|       |
  234|       |    // node <-> list
  235|  46.6M|    _PyGCHead_SET_NEXT(node, list);
  236|  46.6M|    list->_gc_prev = (uintptr_t)node;
  237|  46.6M|}
gc.c:gc_set_refs:
   78|  46.7M|{
   79|  46.7M|    g->_gc_prev = (g->_gc_prev & ~_PyGC_PREV_MASK)
  ------------------
  |  |  122|  46.7M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  46.7M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
   80|  46.7M|        | ((uintptr_t)(refs) << _PyGC_PREV_SHIFT);
  ------------------
  |  |  121|  46.7M|#define _PyGC_PREV_SHIFT           2
  ------------------
   81|  46.7M|}
gc.c:gc_clear_collecting:
   66|  46.8M|{
   67|  46.8M|    g->_gc_prev &= ~PREV_MASK_COLLECTING;
  ------------------
  |  |   39|  46.8M|#define PREV_MASK_COLLECTING   _PyGC_PREV_MASK_COLLECTING
  |  |  ------------------
  |  |  |  |  119|  46.8M|#define _PyGC_PREV_MASK_COLLECTING ((uintptr_t)2)
  |  |  ------------------
  ------------------
   68|  46.8M|}
gc.c:untrack_tuples:
  666|  7.76k|{
  667|  7.76k|    PyGC_Head *gc = GC_NEXT(head);
  ------------------
  |  |   28|  7.76k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  668|  46.8M|    while (gc != head) {
  ------------------
  |  Branch (668:12): [True: 46.8M, False: 7.76k]
  ------------------
  669|  46.8M|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  46.8M|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  670|  46.8M|        PyGC_Head *next = GC_NEXT(gc);
  ------------------
  |  |   28|  46.8M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  671|  46.8M|        if (PyTuple_CheckExact(op)) {
  ------------------
  |  |   28|  46.8M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  46.8M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  46.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  46.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 46.7M, False: 114k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  672|  46.7M|            _PyTuple_MaybeUntrack(op);
  673|  46.7M|        }
  674|  46.8M|        gc = next;
  675|  46.8M|    }
  676|  7.76k|}
gc.c:move_legacy_finalizers:
  692|  7.76k|{
  693|  7.76k|    PyGC_Head *gc, *next;
  694|  7.76k|    _PyObject_ASSERT(
  ------------------
  |  |  425|  7.76k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|  7.76k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|  7.76k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 7.76k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|  7.76k|      ? (void)(0) \
  |  |  |  |  |  |  418|  7.76k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  695|  7.76k|        FROM_GC(unreachable),
  696|  7.76k|        (unreachable->_gc_next & NEXT_MASK_UNREACHABLE) == 0);
  697|       |
  698|       |    /* March over unreachable.  Move objects with finalizers into
  699|       |     * `finalizers`.
  700|       |     */
  701|  11.0k|    for (gc = GC_NEXT(unreachable); gc != unreachable; gc = next) {
  ------------------
  |  |   28|  7.76k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (701:37): [True: 3.26k, False: 7.76k]
  ------------------
  702|  3.26k|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  3.26k|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  703|       |
  704|  3.26k|        _PyObject_ASSERT(op, gc->_gc_next & NEXT_MASK_UNREACHABLE);
  ------------------
  |  |  425|  3.26k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|  3.26k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|  3.26k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 3.26k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|  3.26k|      ? (void)(0) \
  |  |  |  |  |  |  418|  3.26k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  705|  3.26k|        gc->_gc_next &= ~NEXT_MASK_UNREACHABLE;
  ------------------
  |  |   50|  3.26k|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  706|  3.26k|        next = (PyGC_Head*)gc->_gc_next;
  707|       |
  708|  3.26k|        if (has_legacy_finalizer(op)) {
  ------------------
  |  Branch (708:13): [True: 0, False: 3.26k]
  ------------------
  709|      0|            gc_clear_collecting(gc);
  710|      0|            gc_list_move(gc, finalizers);
  711|      0|        }
  712|  3.26k|    }
  713|  7.76k|}
gc.c:has_legacy_finalizer:
  681|  3.26k|{
  682|  3.26k|    return Py_TYPE(op)->tp_del != NULL;
  ------------------
  |  |  213|  3.26k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  683|  3.26k|}
gc.c:gc_list_move:
  258|  4.26k|{
  259|       |    /* Unlink from current list. */
  260|  4.26k|    PyGC_Head *from_prev = GC_PREV(node);
  ------------------
  |  |   29|  4.26k|#define GC_PREV _PyGCHead_PREV
  ------------------
  261|  4.26k|    PyGC_Head *from_next = GC_NEXT(node);
  ------------------
  |  |   28|  4.26k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  262|  4.26k|    _PyGCHead_SET_NEXT(from_prev, from_next);
  263|  4.26k|    _PyGCHead_SET_PREV(from_next, from_prev);
  264|       |
  265|       |    /* Relink at end of new list. */
  266|       |    // list must not have flags.  So we can skip macros.
  267|  4.26k|    PyGC_Head *to_prev = (PyGC_Head*)list->_gc_prev;
  268|  4.26k|    _PyGCHead_SET_PREV(node, to_prev);
  269|  4.26k|    _PyGCHead_SET_NEXT(to_prev, node);
  270|  4.26k|    list->_gc_prev = (uintptr_t)node;
  271|  4.26k|    _PyGCHead_SET_NEXT(node, list);
  272|  4.26k|}
gc.c:move_legacy_finalizer_reachable:
  756|  7.76k|{
  757|  7.76k|    traverseproc traverse;
  758|  7.76k|    PyGC_Head *gc = GC_NEXT(finalizers);
  ------------------
  |  |   28|  7.76k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  759|  7.76k|    for (; gc != finalizers; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|      0|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (759:12): [True: 0, False: 7.76k]
  ------------------
  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|  7.76k|}
gc.c:handle_weakref_callbacks:
  809|  7.76k|{
  810|  7.76k|    PyGC_Head *gc;
  811|  7.76k|    PyGC_Head wrcb_to_call;     /* weakrefs with callbacks to call */
  812|  7.76k|    PyGC_Head *next;
  813|  7.76k|    int num_freed = 0;
  814|       |
  815|  7.76k|    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|  11.0k|    for (gc = GC_NEXT(unreachable); gc != unreachable; gc = next) {
  ------------------
  |  |   28|  7.76k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (821:37): [True: 3.26k, False: 7.76k]
  ------------------
  822|  3.26k|        PyWeakReference **wrlist;
  823|       |
  824|  3.26k|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  3.26k|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  825|  3.26k|        next = GC_NEXT(gc);
  ------------------
  |  |   28|  3.26k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  826|       |
  827|  3.26k|        if (! _PyType_SUPPORTS_WEAKREFS(Py_TYPE(op))) {
  ------------------
  |  |  213|  3.26k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (827:13): [True: 2.73k, False: 530]
  ------------------
  828|  2.73k|            continue;
  829|  2.73k|        }
  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|    530|        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|    530|        PyWeakReference *next_wr;
  842|    538|        for (PyWeakReference *wr = *wrlist; wr != NULL; wr = next_wr) {
  ------------------
  |  Branch (842:45): [True: 8, False: 530]
  ------------------
  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);
  ------------------
  |  |  425|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|      ? (void)(0) \
  |  |  |  |  |  |  418|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  858|      0|            _PyWeakref_ClearRef(wr);
  859|      0|            _PyObject_ASSERT((PyObject *)wr, wr->wr_object == Py_None);
  ------------------
  |  |  425|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|      ? (void)(0) \
  |  |  |  |  |  |  418|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      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);
  ------------------
  |  |  425|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|      ? (void)(0) \
  |  |  |  |  |  |  418|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  902|      0|            gc_list_move(wrasgc, &wrcb_to_call);
  903|      0|        }
  904|    530|    }
  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|  7.76k|    while (! gc_list_is_empty(&wrcb_to_call)) {
  ------------------
  |  Branch (909:12): [True: 0, False: 7.76k]
  ------------------
  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));
  ------------------
  |  |  425|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (416:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (416:7): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|      ? (void)(0) \
  |  |  |  |  |  |  418|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  916|      0|        PyWeakReference *wr = (PyWeakReference *)op;
  917|      0|        callback = wr->wr_callback;
  918|      0|        _PyObject_ASSERT(op, callback != NULL);
  ------------------
  |  |  425|      0|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|      0|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|      0|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      0|      ? (void)(0) \
  |  |  |  |  |  |  418|      0|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      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|  7.76k|    return num_freed;
  952|  7.76k|}
gc.c:finalize_garbage:
 1047|  7.76k|{
 1048|  7.76k|    destructor finalize;
 1049|  7.76k|    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|  7.76k|    gc_list_init(&seen);
 1060|       |
 1061|  11.0k|    while (!gc_list_is_empty(collectable)) {
  ------------------
  |  Branch (1061:12): [True: 3.26k, False: 7.76k]
  ------------------
 1062|  3.26k|        PyGC_Head *gc = GC_NEXT(collectable);
  ------------------
  |  |   28|  3.26k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
 1063|  3.26k|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  3.26k|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
 1064|  3.26k|        gc_list_move(gc, &seen);
 1065|  3.26k|        if (!_PyGC_FINALIZED(op) &&
  ------------------
  |  Branch (1065:13): [True: 3.26k, False: 0]
  ------------------
 1066|  3.26k|            (finalize = Py_TYPE(op)->tp_finalize) != NULL)
  ------------------
  |  |  213|  3.26k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1066:13): [True: 0, False: 3.26k]
  ------------------
 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|  3.26k|    }
 1075|  7.76k|    gc_list_merge(&seen, collectable);
 1076|  7.76k|}
gc.c:handle_resurrected_objects:
 1237|  7.76k|{
 1238|       |    // Remove the PREV_MASK_COLLECTING from unreachable
 1239|       |    // to prepare it for a new call to 'deduce_unreachable'
 1240|  7.76k|    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|  7.76k|    PyGC_Head* resurrected = unreachable;
 1246|  7.76k|    deduce_unreachable(resurrected, still_unreachable);
 1247|  7.76k|    clear_unreachable_mask(still_unreachable);
 1248|       |
 1249|       |    // Move the resurrected objects to the old generation for future collection.
 1250|  7.76k|    gc_list_merge(resurrected, old_generation);
 1251|  7.76k|}
gc.c:gc_list_clear_collecting:
  309|  7.76k|{
  310|  7.76k|    PyGC_Head *gc;
  311|  11.0k|    for (gc = GC_NEXT(collectable); gc != collectable; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|  7.76k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
                  for (gc = GC_NEXT(collectable); gc != collectable; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|  3.26k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (311:37): [True: 3.26k, False: 7.76k]
  ------------------
  312|  3.26k|        gc_clear_collecting(gc);
  313|  3.26k|    }
  314|  7.76k|}
gc.c:clear_unreachable_mask:
  717|  7.76k|{
  718|       |    /* Check that the list head does not have the unreachable bit set */
  719|  7.76k|    _PyObject_ASSERT(
  ------------------
  |  |  425|  7.76k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|  7.76k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|  7.76k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 7.76k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|  7.76k|      ? (void)(0) \
  |  |  |  |  |  |  418|  7.76k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  720|  7.76k|        FROM_GC(unreachable),
  721|  7.76k|        ((uintptr_t)unreachable & NEXT_MASK_UNREACHABLE) == 0);
  722|  7.76k|    _PyObject_ASSERT(
  ------------------
  |  |  425|  7.76k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|  7.76k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|  7.76k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 7.76k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|  7.76k|      ? (void)(0) \
  |  |  |  |  |  |  418|  7.76k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  723|  7.76k|        FROM_GC(unreachable),
  724|  7.76k|        (unreachable->_gc_next & NEXT_MASK_UNREACHABLE) == 0);
  725|       |
  726|  7.76k|    PyGC_Head *gc, *next;
  727|  11.0k|    for (gc = GC_NEXT(unreachable); gc != unreachable; gc = next) {
  ------------------
  |  |   28|  7.76k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (727:37): [True: 3.26k, False: 7.76k]
  ------------------
  728|  3.26k|        _PyObject_ASSERT((PyObject*)FROM_GC(gc), gc->_gc_next & NEXT_MASK_UNREACHABLE);
  ------------------
  |  |  425|  3.26k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|  3.26k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|  3.26k|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 3.26k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|  3.26k|      ? (void)(0) \
  |  |  |  |  |  |  418|  3.26k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  729|  3.26k|        gc->_gc_next &= ~NEXT_MASK_UNREACHABLE;
  ------------------
  |  |   50|  3.26k|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  730|  3.26k|        next = (PyGC_Head*)gc->_gc_next;
  731|  3.26k|    }
  732|  7.76k|    validate_list(unreachable, collecting_set_unreachable_clear);
  ------------------
  |  |  387|  7.76k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 7.76k]
  |  |  ------------------
  ------------------
  733|  7.76k|}
gc.c:clear_weakrefs:
  960|  7.76k|{
  961|  7.76k|    PyGC_Head *gc;
  962|  7.76k|    PyGC_Head *next;
  963|       |
  964|  11.0k|    for (gc = GC_NEXT(unreachable); gc != unreachable; gc = next) {
  ------------------
  |  |   28|  7.76k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (964:37): [True: 3.26k, False: 7.76k]
  ------------------
  965|  3.26k|        PyWeakReference **wrlist;
  966|       |
  967|  3.26k|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  3.26k|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  968|  3.26k|        next = GC_NEXT(gc);
  ------------------
  |  |   28|  3.26k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  969|       |
  970|  3.26k|        if (PyWeakref_Check(op)) {
  ------------------
  |  |   23|  3.26k|        (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   15|  3.26k|#define PyWeakref_CheckRef(op) PyObject_TypeCheck((op), &_PyWeakref_RefType)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  6.53k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 3.26k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   19|  3.26k|        (Py_IS_TYPE((op), &_PyWeakref_ProxyType) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  6.53k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 3.26k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   20|  3.26k|         || Py_IS_TYPE((op), &_PyWeakref_CallableProxyType))
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  3.26k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 3.26k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|  3.26k|        if (! _PyType_SUPPORTS_WEAKREFS(Py_TYPE(op))) {
  ------------------
  |  |  213|  3.26k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (978:13): [True: 2.73k, False: 530]
  ------------------
  979|  2.73k|            continue;
  980|  2.73k|        }
  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|    530|        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|    538|        for (PyWeakReference *wr = *wrlist; wr != NULL; wr = *wrlist) {
  ------------------
  |  Branch (992:45): [True: 8, False: 530]
  ------------------
  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);
  ------------------
  |  |  425|      8|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|      8|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|      8|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 8, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      8|      ? (void)(0) \
  |  |  |  |  |  |  418|      8|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  998|      8|            _PyWeakref_ClearRef(wr);
  999|      8|            _PyObject_ASSERT((PyObject *)wr, wr->wr_object == Py_None);
  ------------------
  |  |  425|      8|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  423|      8|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  416|      8|    ((expr) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (416:6): [True: 8, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  417|      8|      ? (void)(0) \
  |  |  |  |  |  |  418|      8|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1000|      8|        }
 1001|    530|    }
 1002|  7.76k|}
gc.c:delete_garbage:
 1085|  7.76k|{
 1086|  7.76k|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1086:5): [True: 7.76k, False: 0]
  ------------------
 1087|       |
 1088|  9.22k|    while (!gc_list_is_empty(collectable)) {
  ------------------
  |  Branch (1088:12): [True: 1.46k, False: 7.76k]
  ------------------
 1089|  1.46k|        PyGC_Head *gc = GC_NEXT(collectable);
  ------------------
  |  |   28|  1.46k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
 1090|  1.46k|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  1.46k|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
 1091|       |
 1092|  1.46k|        _PyObject_ASSERT_WITH_MSG(op, Py_REFCNT(op) > 0,
  ------------------
  |  |  423|  1.46k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  416|  1.46k|    ((expr) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (416:6): [True: 1.46k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  417|  1.46k|      ? (void)(0) \
  |  |  |  |  418|  1.46k|      : _PyObject_AssertFailed((obj), Py_STRINGIFY(expr), \
  |  |  |  |  ------------------
  |  |  |  |  |  |  132|      0|#define Py_STRINGIFY(x) _Py_XSTRINGIFY(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  126|      0|#define _Py_XSTRINGIFY(x) #x
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  419|      0|                               (msg), (filename), (lineno), (func)))
  |  |  ------------------
  ------------------
 1093|  1.46k|                                  "refcount is too small");
 1094|       |
 1095|  1.46k|        if (gcstate->debug & _PyGC_DEBUG_SAVEALL) {
  ------------------
  |  |  128|  1.46k|#define _PyGC_DEBUG_SAVEALL           (1<<5) /* save all garbage in gc.garbage */
  ------------------
  |  Branch (1095:13): [True: 0, False: 1.46k]
  ------------------
 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|  1.46k|        else {
 1102|  1.46k|            inquiry clear;
 1103|  1.46k|            if ((clear = Py_TYPE(op)->tp_clear) != NULL) {
  ------------------
  |  |  213|  1.46k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1103:17): [True: 1.44k, False: 18]
  ------------------
 1104|  1.44k|                Py_INCREF(op);
  ------------------
  |  |  310|  1.44k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1105|  1.44k|                (void) clear(op);
 1106|  1.44k|                if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1106:21): [True: 0, False: 1.44k]
  ------------------
 1107|      0|                    PyErr_FormatUnraisable("Exception ignored in tp_clear of %s",
 1108|      0|                                           Py_TYPE(op)->tp_name);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1109|      0|                }
 1110|  1.44k|                Py_DECREF(op);
  ------------------
  |  |  430|  1.44k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1111|  1.44k|            }
 1112|  1.46k|        }
 1113|  1.46k|        if (GC_NEXT(collectable) == gc) {
  ------------------
  |  |   28|  1.46k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (1113:13): [True: 1.00k, False: 459]
  ------------------
 1114|       |            /* object is still alive, move it, it may die later */
 1115|  1.00k|            gc_clear_collecting(gc);
 1116|  1.00k|            gc_list_move(gc, old);
 1117|  1.00k|        }
 1118|  1.46k|    }
 1119|  7.76k|}
gc.c:handle_legacy_finalizers:
 1022|  7.76k|{
 1023|  7.76k|    assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (1023:5): [True: 7.76k, False: 0]
  ------------------
 1024|  7.76k|    assert(gcstate->garbage != NULL);
  ------------------
  |  Branch (1024:5): [True: 7.76k, False: 0]
  ------------------
 1025|       |
 1026|  7.76k|    PyGC_Head *gc = GC_NEXT(finalizers);
  ------------------
  |  |   28|  7.76k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
 1027|  7.76k|    for (; gc != finalizers; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|      0|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (1027:12): [True: 0, False: 7.76k]
  ------------------
 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|  7.76k|    gc_list_merge(finalizers, old);
 1039|  7.76k|}
gc.c:add_stats:
 1401|  7.76k|{
 1402|  7.76k|    struct gc_generation_stats *prev_stats = gc_get_prev_stats(gcstate, gen);
 1403|  7.76k|    struct gc_generation_stats *cur_stats = gc_get_stats(gcstate, gen);
 1404|       |
 1405|  7.76k|    memcpy(cur_stats, prev_stats, sizeof(struct gc_generation_stats));
 1406|       |
 1407|  7.76k|    cur_stats->ts_start = stats->ts_start;
 1408|  7.76k|    cur_stats->collections += 1;
 1409|  7.76k|    cur_stats->collected += stats->collected;
 1410|  7.76k|    cur_stats->uncollectable += stats->uncollectable;
 1411|  7.76k|    cur_stats->candidates += stats->candidates;
 1412|       |
 1413|  7.76k|    cur_stats->duration += stats->duration;
 1414|  7.76k|    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|  7.76k|    cur_stats->ts_stop = stats->ts_stop;
 1418|  7.76k|}
gc.c:gc_get_prev_stats:
 1386|  7.76k|{
 1387|  7.76k|    if (gen == 0) {
  ------------------
  |  Branch (1387:9): [True: 7.11k, False: 653]
  ------------------
 1388|  7.11k|        struct gc_young_stats_buffer *buffer = &gcstate->generation_stats->young;
 1389|  7.11k|        struct gc_generation_stats *stats = &buffer->items[buffer->index];
 1390|  7.11k|        return stats;
 1391|  7.11k|    }
 1392|    653|    else {
 1393|    653|        struct gc_old_stats_buffer *buffer = &gcstate->generation_stats->old[gen - 1];
 1394|    653|        struct gc_generation_stats *stats = &buffer->items[buffer->index];
 1395|    653|        return stats;
 1396|    653|    }
 1397|  7.76k|}
gc.c:gc_get_stats:
 1369|  7.76k|{
 1370|  7.76k|    if (gen == 0) {
  ------------------
  |  Branch (1370:9): [True: 7.11k, False: 653]
  ------------------
 1371|  7.11k|        struct gc_young_stats_buffer *buffer = &gcstate->generation_stats->young;
 1372|  7.11k|        buffer->index = (buffer->index + 1) % GC_YOUNG_STATS_SIZE;
  ------------------
  |  |  202|  7.11k|#define GC_YOUNG_STATS_SIZE 11
  ------------------
 1373|  7.11k|        struct gc_generation_stats *stats = &buffer->items[buffer->index];
 1374|  7.11k|        return stats;
 1375|  7.11k|    }
 1376|    653|    else {
 1377|    653|        struct gc_old_stats_buffer *buffer = &gcstate->generation_stats->old[gen - 1];
 1378|    653|        buffer->index = (buffer->index + 1) % GC_OLD_STATS_SIZE;
  ------------------
  |  |  203|    653|#define GC_OLD_STATS_SIZE 3
  ------------------
 1379|    653|        struct gc_generation_stats *stats = &buffer->items[buffer->index];
 1380|    653|        return stats;
 1381|    653|    }
 1382|  7.76k|}
gc.c:gc_alloc:
 2007|  49.5M|{
 2008|  49.5M|    PyThreadState *tstate = _PyThreadState_GET();
 2009|  49.5M|    if (basicsize > PY_SSIZE_T_MAX - presize) {
  ------------------
  |  |  137|  49.5M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2009:9): [True: 0, False: 49.5M]
  ------------------
 2010|      0|        return _PyErr_NoMemory(tstate);
 2011|      0|    }
 2012|  49.5M|    size_t size = presize + basicsize;
 2013|  49.5M|    char *mem = _PyObject_MallocWithType(tp, size);
 2014|  49.5M|    if (mem == NULL) {
  ------------------
  |  Branch (2014:9): [True: 0, False: 49.5M]
  ------------------
 2015|      0|        return _PyErr_NoMemory(tstate);
 2016|      0|    }
 2017|  49.5M|    ((PyObject **)mem)[0] = NULL;
 2018|       |    ((PyObject **)mem)[1] = NULL;
 2019|  49.5M|    PyObject *op = (PyObject *)(mem + presize);
 2020|  49.5M|    _PyObject_GC_Link(op);
 2021|  49.5M|    return op;
 2022|  49.5M|}

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

PyArg_ParseTuple:
  104|  56.2k|{
  105|  56.2k|    int retval;
  106|  56.2k|    va_list va;
  107|       |
  108|  56.2k|    va_start(va, format);
  109|  56.2k|    retval = vgetargs1(args, format, &va, 0);
  110|       |    va_end(va);
  111|  56.2k|    return retval;
  112|  56.2k|}
PyArg_ParseTupleAndKeywords:
 1426|    773|{
 1427|    773|    int retval;
 1428|    773|    va_list va;
 1429|       |
 1430|    773|    if ((args == NULL || !PyTuple_Check(args)) ||
  ------------------
  |  |   27|    773|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    773|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1430:10): [True: 0, False: 773]
  |  Branch (1430:26): [True: 0, False: 773]
  ------------------
 1431|    773|        (keywords != NULL && !PyDict_Check(keywords)) ||
  ------------------
  |  |   18|    197|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    197|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1431:10): [True: 197, False: 576]
  |  Branch (1431:30): [True: 0, False: 197]
  ------------------
 1432|    773|        format == NULL ||
  ------------------
  |  Branch (1432:9): [True: 0, False: 773]
  ------------------
 1433|    773|        kwlist == NULL)
  ------------------
  |  Branch (1433:9): [True: 0, False: 773]
  ------------------
 1434|      0|    {
 1435|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1436|      0|        return 0;
 1437|      0|    }
 1438|       |
 1439|    773|    va_start(va, kwlist);
 1440|    773|    retval = vgetargskeywords(args, keywords, format, kwlist, &va, 0);
 1441|       |    va_end(va);
 1442|    773|    return retval;
 1443|    773|}
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|  2.26k|{
 2525|  2.26k|    PyObject *kwtuple;
 2526|  2.26k|    PyObject *keyword;
 2527|  2.26k|    int i, posonly, minposonly, maxargs;
 2528|  2.26k|    int reqlimit = minkw ? maxpos + minkw : minpos;
  ------------------
  |  Branch (2528:20): [True: 0, False: 2.26k]
  ------------------
 2529|  2.26k|    Py_ssize_t nkwargs;
 2530|  2.26k|    PyObject * const *kwstack = NULL;
 2531|       |
 2532|  2.26k|    assert(kwargs == NULL || PyDict_Check(kwargs));
  ------------------
  |  Branch (2532:5): [True: 2.26k, False: 0]
  |  Branch (2532:5): [True: 0, False: 0]
  ------------------
 2533|  2.26k|    assert(kwargs == NULL || kwnames == NULL);
  ------------------
  |  Branch (2533:5): [True: 2.26k, False: 0]
  |  Branch (2533:5): [True: 0, False: 0]
  ------------------
 2534|       |
 2535|  2.26k|    if (parser == NULL) {
  ------------------
  |  Branch (2535:9): [True: 0, False: 2.26k]
  ------------------
 2536|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2537|      0|        return NULL;
 2538|      0|    }
 2539|       |
 2540|  2.26k|    if (kwnames != NULL && !PyTuple_Check(kwnames)) {
  ------------------
  |  |   27|    314|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    314|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2540:9): [True: 314, False: 1.94k]
  |  Branch (2540:28): [True: 0, False: 314]
  ------------------
 2541|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2542|      0|        return NULL;
 2543|      0|    }
 2544|       |
 2545|  2.26k|    if (args == NULL && nargs == 0) {
  ------------------
  |  Branch (2545:9): [True: 1.94k, False: 314]
  |  Branch (2545:25): [True: 1.94k, False: 0]
  ------------------
 2546|  1.94k|        args = buf;
 2547|  1.94k|    }
 2548|       |
 2549|  2.26k|    if (parser_init(parser) < 0) {
  ------------------
  |  Branch (2549:9): [True: 0, False: 2.26k]
  ------------------
 2550|      0|        return NULL;
 2551|      0|    }
 2552|       |
 2553|  2.26k|    kwtuple = parser->kwtuple;
 2554|  2.26k|    posonly = parser->pos;
 2555|  2.26k|    minposonly = Py_MIN(posonly, minpos);
  ------------------
  |  |  112|  2.26k|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 2.26k]
  |  |  ------------------
  ------------------
 2556|  2.26k|    maxargs = posonly + (int)PyTuple_GET_SIZE(kwtuple);
  ------------------
  |  |   27|  2.26k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2557|       |
 2558|  2.26k|    if (kwargs != NULL) {
  ------------------
  |  Branch (2558:9): [True: 0, False: 2.26k]
  ------------------
 2559|      0|        nkwargs = PyDict_GET_SIZE(kwargs);
  ------------------
  |  |   63|      0|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2560|      0|    }
 2561|  2.26k|    else if (kwnames != NULL) {
  ------------------
  |  Branch (2561:14): [True: 314, False: 1.94k]
  ------------------
 2562|    314|        nkwargs = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2563|    314|        kwstack = args + nargs;
 2564|    314|    }
 2565|  1.94k|    else {
 2566|  1.94k|        nkwargs = 0;
 2567|  1.94k|    }
 2568|  2.26k|    if (nkwargs == 0 && minkw == 0 && minpos <= nargs && (varpos || nargs <= maxpos)) {
  ------------------
  |  Branch (2568:9): [True: 1.94k, False: 314]
  |  Branch (2568:25): [True: 1.94k, False: 0]
  |  Branch (2568:39): [True: 1.94k, False: 0]
  |  Branch (2568:59): [True: 0, False: 1.94k]
  |  Branch (2568:69): [True: 1.94k, False: 0]
  ------------------
 2569|       |        /* Fast path. */
 2570|  1.94k|        return args;
 2571|  1.94k|    }
 2572|    314|    if (!varpos && nargs + nkwargs > maxargs) {
  ------------------
  |  Branch (2572:9): [True: 314, False: 0]
  |  Branch (2572:20): [True: 0, False: 314]
  ------------------
 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|    314|    if (!varpos && nargs > maxpos) {
  ------------------
  |  Branch (2585:9): [True: 314, False: 0]
  |  Branch (2585:20): [True: 0, False: 314]
  ------------------
 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|    314|    if (nargs < minposonly) {
  ------------------
  |  Branch (2604:9): [True: 0, False: 314]
  ------------------
 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|    314|    if (varpos) {
  ------------------
  |  Branch (2617:9): [True: 0, False: 314]
  ------------------
 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|    625|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2621:17): [True: 311, False: 314]
  ------------------
 2622|    311|        buf[i] = args[i];
 2623|    311|    }
 2624|       |
 2625|       |    /* copy keyword args using kwtuple to drive process */
 2626|  1.56k|    for (i = Py_MAX((int)nargs, posonly); i < maxargs; i++) {
  ------------------
  |  |  115|    314|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 311, False: 3]
  |  |  ------------------
  ------------------
  |  Branch (2626:43): [True: 1.25k, False: 312]
  ------------------
 2627|  1.25k|        PyObject *current_arg;
 2628|  1.25k|        if (nkwargs) {
  ------------------
  |  Branch (2628:13): [True: 1.24k, False: 2]
  ------------------
 2629|  1.24k|            keyword = PyTuple_GET_ITEM(kwtuple, i - posonly);
  ------------------
  |  |   29|  1.24k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.24k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2629:23): [True: 1.24k, False: 0]
  ------------------
 2630|  1.24k|            if (kwargs != NULL) {
  ------------------
  |  Branch (2630:17): [True: 0, False: 1.24k]
  ------------------
 2631|      0|                if (PyDict_GetItemRef(kwargs, keyword, &current_arg) < 0) {
  ------------------
  |  Branch (2631:21): [True: 0, False: 0]
  ------------------
 2632|      0|                    return NULL;
 2633|      0|                }
 2634|      0|            }
 2635|  1.24k|            else {
 2636|  1.24k|                current_arg = find_keyword(kwnames, kwstack, keyword);
 2637|  1.24k|            }
 2638|  1.24k|        }
 2639|      2|        else if (i >= reqlimit) {
  ------------------
  |  Branch (2639:18): [True: 2, False: 0]
  ------------------
 2640|      2|            break;
 2641|      2|        }
 2642|      0|        else {
 2643|      0|            current_arg = NULL;
 2644|      0|        }
 2645|       |
 2646|  1.24k|        buf[i] = current_arg;
 2647|       |
 2648|  1.24k|        if (current_arg) {
  ------------------
  |  Branch (2648:13): [True: 625, False: 623]
  ------------------
 2649|    625|            Py_DECREF(current_arg);
  ------------------
  |  |  430|    625|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    625|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    625|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2650|    625|            --nkwargs;
 2651|    625|        }
 2652|    623|        else if (i < minpos || (maxpos <= i && i < reqlimit)) {
  ------------------
  |  Branch (2652:18): [True: 0, False: 623]
  |  Branch (2652:33): [True: 1, False: 622]
  |  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.24k|    }
 2663|       |
 2664|    314|    if (nkwargs > 0) {
  ------------------
  |  Branch (2664:9): [True: 0, False: 314]
  ------------------
 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|    314|    return buf;
 2695|    314|}
_PyArg_CheckPositional:
 2838|  25.7k|{
 2839|  25.7k|    assert(min >= 0);
  ------------------
  |  Branch (2839:5): [True: 25.7k, False: 0]
  ------------------
 2840|  25.7k|    assert(min <= max);
  ------------------
  |  Branch (2840:5): [True: 25.7k, False: 0]
  ------------------
 2841|       |
 2842|  25.7k|    if (nargs < min) {
  ------------------
  |  Branch (2842:9): [True: 0, False: 25.7k]
  ------------------
 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|  25.7k|    if (nargs == 0) {
  ------------------
  |  Branch (2857:9): [True: 43, False: 25.6k]
  ------------------
 2858|     43|        return 1;
 2859|     43|    }
 2860|       |
 2861|  25.6k|    if (nargs > max) {
  ------------------
  |  Branch (2861:9): [True: 0, False: 25.6k]
  ------------------
 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|  25.6k|    return 1;
 2877|  25.6k|}
PyArg_UnpackTuple:
 2899|  7.49k|{
 2900|  7.49k|    PyObject **stack;
 2901|  7.49k|    Py_ssize_t nargs;
 2902|  7.49k|    int retval;
 2903|  7.49k|    va_list vargs;
 2904|       |
 2905|  7.49k|    if (!PyTuple_Check(args)) {
  ------------------
  |  |   27|  7.49k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.49k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2905:9): [True: 0, False: 7.49k]
  ------------------
 2906|      0|        PyErr_SetString(PyExc_SystemError,
 2907|      0|            "PyArg_UnpackTuple() argument list is not a tuple");
 2908|      0|        return 0;
 2909|      0|    }
 2910|  7.49k|    stack = _PyTuple_ITEMS(args);
  ------------------
  |  |   26|  7.49k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|  14.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 7.49k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2911|  7.49k|    nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  7.49k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2912|       |
 2913|  7.49k|    va_start(vargs, max);
 2914|  7.49k|    retval = unpack_stack(stack, nargs, name, min, max, vargs);
 2915|       |    va_end(vargs);
 2916|  7.49k|    return retval;
 2917|  7.49k|}
_PyArg_UnpackStack:
 2922|  18.2k|{
 2923|  18.2k|    int retval;
 2924|  18.2k|    va_list vargs;
 2925|       |
 2926|  18.2k|    va_start(vargs, max);
 2927|  18.2k|    retval = unpack_stack(args, nargs, name, min, max, vargs);
 2928|       |    va_end(vargs);
 2929|  18.2k|    return retval;
 2930|  18.2k|}
_PyArg_NoPositional:
 2963|    337|{
 2964|    337|    if (args == NULL)
  ------------------
  |  Branch (2964:9): [True: 0, False: 337]
  ------------------
 2965|      0|        return 1;
 2966|    337|    if (!PyTuple_CheckExact(args)) {
  ------------------
  |  |   28|    337|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|    337|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    337|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    337|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2966:9): [True: 0, False: 337]
  ------------------
 2967|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2968|      0|        return 0;
 2969|      0|    }
 2970|    337|    if (PyTuple_GET_SIZE(args) == 0)
  ------------------
  |  |   27|    337|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    337|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    337|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2970:9): [True: 337, False: 0]
  ------------------
 2971|    337|        return 1;
 2972|       |
 2973|      0|    PyErr_Format(PyExc_TypeError, "%.200s() takes no positional arguments",
 2974|      0|                    funcname);
 2975|      0|    return 0;
 2976|    337|}
getargs.c:vgetargs1_impl:
  258|  56.2k|{
  259|  56.2k|    char msgbuf[256];
  260|  56.2k|    int levels[32];
  261|  56.2k|    const char *fname = NULL;
  262|  56.2k|    const char *message = NULL;
  263|  56.2k|    int min = -1;
  264|  56.2k|    int max = 0;
  265|  56.2k|    int level = 0;
  266|  56.2k|    int endfmt = 0;
  267|  56.2k|    const char *formatsave = format;
  268|  56.2k|    Py_ssize_t i;
  269|  56.2k|    const char *msg;
  270|  56.2k|    int compat = flags & FLAG_COMPAT;
  ------------------
  |  |   24|  56.2k|#define FLAG_COMPAT 1
  ------------------
  271|  56.2k|    freelistentry_t static_entries[STATIC_FREELIST_ENTRIES];
  272|  56.2k|    freelist_t freelist;
  273|       |
  274|  56.2k|    assert(nargs == 0 || stack != NULL);
  ------------------
  |  Branch (274:5): [True: 0, False: 56.2k]
  |  Branch (274:5): [True: 56.2k, False: 0]
  ------------------
  275|       |
  276|  56.2k|    freelist.entries = static_entries;
  277|  56.2k|    freelist.first_available = 0;
  278|  56.2k|    freelist.entries_malloced = 0;
  279|       |
  280|  56.2k|    flags = flags & ~FLAG_COMPAT;
  ------------------
  |  |   24|  56.2k|#define FLAG_COMPAT 1
  ------------------
  281|       |
  282|   435k|    while (endfmt == 0) {
  ------------------
  |  Branch (282:12): [True: 379k, False: 56.2k]
  ------------------
  283|   379k|        int c = *format++;
  284|   379k|        switch (c) {
  285|      0|        case '(':
  ------------------
  |  Branch (285:9): [True: 0, False: 379k]
  ------------------
  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: 379k]
  ------------------
  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|  55.5k|        case '\0':
  ------------------
  |  Branch (299:9): [True: 55.5k, False: 323k]
  ------------------
  300|  55.5k|            endfmt = 1;
  301|  55.5k|            break;
  302|    773|        case ':':
  ------------------
  |  Branch (302:9): [True: 773, False: 378k]
  ------------------
  303|    773|            fname = format;
  304|    773|            endfmt = 1;
  305|    773|            break;
  306|      0|        case ';':
  ------------------
  |  Branch (306:9): [True: 0, False: 379k]
  ------------------
  307|      0|            message = format;
  308|      0|            endfmt = 1;
  309|      0|            break;
  310|  14.1k|        case '|':
  ------------------
  |  Branch (310:9): [True: 14.1k, False: 365k]
  ------------------
  311|  14.1k|            if (level == 0)
  ------------------
  |  Branch (311:17): [True: 14.1k, False: 0]
  ------------------
  312|  14.1k|                min = max;
  313|  14.1k|            break;
  314|   308k|        default:
  ------------------
  |  Branch (314:9): [True: 308k, False: 70.4k]
  ------------------
  315|   308k|            if (level == 0) {
  ------------------
  |  Branch (315:17): [True: 308k, False: 0]
  ------------------
  316|   308k|                if (Py_ISALPHA(c))
  ------------------
  |  |   23|   308k|#define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |  138|   308k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |   10|   308k|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|   308k|#define PY_CTF_LOWER  0x01
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    9|   308k|#define PY_CTF_UPPER  0x02
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (23:24): [True: 308k, False: 773]
  |  |  ------------------
  ------------------
  317|   308k|                    if (c != 'e') /* skip encoded */
  ------------------
  |  Branch (317:25): [True: 308k, False: 0]
  ------------------
  318|   308k|                        max++;
  319|   308k|            }
  320|   308k|            break;
  321|   379k|        }
  322|   379k|    }
  323|       |
  324|  56.2k|    if (level != 0)
  ------------------
  |  Branch (324:9): [True: 0, False: 56.2k]
  ------------------
  325|      0|        Py_FatalError(/* '(' */ "missing ')' in getargs format");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  326|       |
  327|  56.2k|    if (min < 0)
  ------------------
  |  Branch (327:9): [True: 42.0k, False: 14.1k]
  ------------------
  328|  42.0k|        min = max;
  329|       |
  330|  56.2k|    format = formatsave;
  331|       |
  332|  56.2k|    if (max > STATIC_FREELIST_ENTRIES) {
  ------------------
  |  |   44|  56.2k|#define STATIC_FREELIST_ENTRIES 8
  ------------------
  |  Branch (332:9): [True: 0, False: 56.2k]
  ------------------
  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|  56.2k|    if (compat) {
  ------------------
  |  Branch (341:9): [True: 0, False: 56.2k]
  ------------------
  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|  56.2k|    if (nargs < min || max < nargs) {
  ------------------
  |  Branch (373:9): [True: 0, False: 56.2k]
  |  Branch (373:24): [True: 0, False: 56.2k]
  ------------------
  374|      0|        if (message == NULL)
  ------------------
  |  Branch (374:13): [True: 0, False: 0]
  ------------------
  375|      0|            PyErr_Format(PyExc_TypeError,
  376|      0|                         "%.150s%s takes %s %d argument%s (%zd given)",
  377|      0|                         fname==NULL ? "function" : fname,
  ------------------
  |  Branch (377:26): [True: 0, False: 0]
  ------------------
  378|      0|                         fname==NULL ? "" : "()",
  ------------------
  |  Branch (378:26): [True: 0, False: 0]
  ------------------
  379|      0|                         min==max ? "exactly"
  ------------------
  |  Branch (379:26): [True: 0, False: 0]
  ------------------
  380|      0|                         : nargs < min ? "at least" : "at most",
  ------------------
  |  Branch (380:28): [True: 0, False: 0]
  ------------------
  381|      0|                         nargs < min ? min : max,
  ------------------
  |  Branch (381:26): [True: 0, False: 0]
  ------------------
  382|      0|                         (nargs < min ? min : max) == 1 ? "" : "s",
  ------------------
  |  Branch (382:26): [True: 0, False: 0]
  |  Branch (382:27): [True: 0, False: 0]
  ------------------
  383|      0|                         nargs);
  384|      0|        else
  385|      0|            PyErr_SetString(PyExc_TypeError, message);
  386|      0|        return cleanreturn(0, &freelist);
  387|      0|    }
  388|       |
  389|   346k|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (389:17): [True: 290k, False: 56.2k]
  ------------------
  390|   290k|        if (*format == '|')
  ------------------
  |  Branch (390:13): [True: 12.5k, False: 277k]
  ------------------
  391|  12.5k|            format++;
  392|   290k|        msg = convertitem(stack[i], &format, p_va,
  393|   290k|                          flags, levels, msgbuf,
  394|   290k|                          sizeof(msgbuf), &freelist);
  395|   290k|        if (msg) {
  ------------------
  |  Branch (395:13): [True: 44, False: 290k]
  ------------------
  396|     44|            seterror(i+1, msg, levels, fname, message);
  397|     44|            return cleanreturn(0, &freelist);
  398|     44|        }
  399|   290k|    }
  400|       |
  401|  56.2k|    if (*format != '\0' && !Py_ISALPHA(*format) &&
  ------------------
  |  |   23|  71.2k|#define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |  138|  14.9k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |   10|  14.9k|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|  14.9k|#define PY_CTF_LOWER  0x01
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    9|  14.9k|#define PY_CTF_UPPER  0x02
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (401:9): [True: 14.9k, False: 41.2k]
  |  Branch (401:28): [True: 2.40k, False: 12.5k]
  ------------------
  402|  2.40k|        *format != '(' &&
  ------------------
  |  Branch (402:9): [True: 2.40k, False: 0]
  ------------------
  403|  2.40k|        *format != '|' && *format != ':' && *format != ';') {
  ------------------
  |  Branch (403:9): [True: 773, False: 1.63k]
  |  Branch (403:27): [True: 0, False: 773]
  |  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|  56.2k|    return cleanreturn(1, &freelist);
  410|  56.2k|}
getargs.c:cleanreturn:
  237|  57.0k|{
  238|  57.0k|    int index;
  239|       |
  240|  57.0k|    if (retval == 0) {
  ------------------
  |  Branch (240:9): [True: 44, False: 57.0k]
  ------------------
  241|       |      /* A failure occurred, therefore execute all of the cleanup
  242|       |         functions.
  243|       |      */
  244|     44|      for (index = 0; index < freelist->first_available; ++index) {
  ------------------
  |  Branch (244:23): [True: 0, False: 44]
  ------------------
  245|      0|          freelist->entries[index].destructor(NULL,
  246|      0|                                              freelist->entries[index].item);
  247|      0|      }
  248|     44|    }
  249|  57.0k|    if (freelist->entries_malloced)
  ------------------
  |  Branch (249:9): [True: 0, False: 57.0k]
  ------------------
  250|      0|        PyMem_Free(freelist->entries);
  251|  57.0k|    return retval;
  252|  57.0k|}
getargs.c:convertitem:
  634|   290k|{
  635|   290k|    const char *msg;
  636|   290k|    const char *format = *p_format;
  637|       |
  638|   290k|    if (*format == '(' /* ')' */) {
  ------------------
  |  Branch (638:9): [True: 0, False: 290k]
  ------------------
  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|   290k|    else {
  646|   290k|        msg = convertsimple(arg, &format, p_va, flags,
  647|   290k|                            msgbuf, bufsize, freelist);
  648|   290k|        if (msg != NULL)
  ------------------
  |  Branch (648:13): [True: 44, False: 290k]
  ------------------
  649|     44|            levels[0] = 0;
  650|   290k|    }
  651|   290k|    if (msg == NULL)
  ------------------
  |  Branch (651:9): [True: 290k, False: 44]
  ------------------
  652|   290k|        *p_format = format;
  653|   290k|    return msg;
  654|   290k|}
getargs.c:convertsimple:
  714|   290k|{
  715|   290k|#define RETURN_ERR_OCCURRED return msgbuf
  716|       |
  717|   290k|    const char *format = *p_format;
  718|   290k|    char c = *format++;
  719|   290k|    const char *sarg;
  720|       |
  721|   290k|    switch (c) {
  722|       |
  723|      0|    case 'b': { /* unsigned byte -- very short int */
  ------------------
  |  Branch (723:5): [True: 0, False: 290k]
  ------------------
  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: 290k]
  ------------------
  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: 290k]
  ------------------
  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: 290k]
  ------------------
  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: 290k]
  ------------------
  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: 290k]
  ------------------
  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|  82.4k|    case 'n': /* Py_ssize_t */
  ------------------
  |  Branch (843:5): [True: 82.4k, False: 208k]
  ------------------
  844|  82.4k|    {
  845|  82.4k|        PyObject *iobj;
  846|  82.4k|        Py_ssize_t *p = va_arg(*p_va, Py_ssize_t *);
  847|  82.4k|        Py_ssize_t ival = -1;
  848|  82.4k|        iobj = _PyNumber_Index(arg);
  849|  82.4k|        if (iobj != NULL) {
  ------------------
  |  Branch (849:13): [True: 82.4k, False: 0]
  ------------------
  850|  82.4k|            ival = PyLong_AsSsize_t(iobj);
  851|  82.4k|            Py_DECREF(iobj);
  ------------------
  |  |  430|  82.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  82.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  82.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  852|  82.4k|        }
  853|  82.4k|        if (ival == -1 && PyErr_Occurred())
  ------------------
  |  Branch (853:13): [True: 44, False: 82.4k]
  |  Branch (853:27): [True: 44, False: 0]
  ------------------
  854|     44|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|     44|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  855|  82.4k|        *p = ival;
  856|  82.4k|        break;
  857|  82.4k|    }
  858|      0|    case 'l': {/* long int */
  ------------------
  |  Branch (858:5): [True: 0, False: 290k]
  ------------------
  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: 290k]
  ------------------
  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: 290k]
  ------------------
  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: 290k]
  ------------------
  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: 290k]
  ------------------
  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: 290k]
  ------------------
  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: 290k]
  ------------------
  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: 290k]
  ------------------
  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: 290k]
  ------------------
  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: 290k]
  ------------------
  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: 290k]
  ------------------
 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: 290k]
  ------------------
 1043|      0|    case 'z': /* text string, bytes-like object or None */
  ------------------
  |  Branch (1043:5): [True: 0, False: 290k]
  ------------------
 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: 290k]
  ------------------
 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: 290k]
  ------------------
 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: 290k]
  ------------------
 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|   119k|    case 'U': { /* PyUnicode object */
  ------------------
  |  Branch (1301:5): [True: 119k, False: 171k]
  ------------------
 1302|   119k|        PyObject **p = va_arg(*p_va, PyObject **);
 1303|   119k|        if (PyUnicode_Check(arg)) {
  ------------------
  |  |  103|   119k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   119k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 119k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1304|   119k|            *p = arg;
 1305|   119k|        }
 1306|      0|        else
 1307|      0|            return converterr("str", arg, msgbuf, bufsize);
 1308|   119k|        break;
 1309|   119k|    }
 1310|       |
 1311|   119k|    case 'O': { /* object */
  ------------------
  |  Branch (1311:5): [True: 88.9k, False: 201k]
  ------------------
 1312|  88.9k|        PyTypeObject *type;
 1313|  88.9k|        PyObject **p;
 1314|  88.9k|        if (*format == '!') {
  ------------------
  |  Branch (1314:13): [True: 773, False: 88.1k]
  ------------------
 1315|    773|            type = va_arg(*p_va, PyTypeObject*);
 1316|    773|            p = va_arg(*p_va, PyObject **);
 1317|    773|            format++;
 1318|    773|            if (PyType_IsSubtype(Py_TYPE(arg), type))
  ------------------
  |  |  213|    773|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    773|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    773|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1318:17): [True: 773, False: 0]
  ------------------
 1319|    773|                *p = arg;
 1320|      0|            else
 1321|      0|                return converterr(type->tp_name, arg, msgbuf, bufsize);
 1322|       |
 1323|    773|        }
 1324|  88.1k|        else if (*format == '&') {
  ------------------
  |  Branch (1324:18): [True: 0, False: 88.1k]
  ------------------
 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|  88.1k|        else {
 1339|  88.1k|            p = va_arg(*p_va, PyObject **);
 1340|  88.1k|            *p = arg;
 1341|  88.1k|        }
 1342|  88.9k|        break;
 1343|  88.9k|    }
 1344|       |
 1345|       |
 1346|  88.9k|    case 'w': { /* "w*": memory buffer, read-write access */
  ------------------
  |  Branch (1346:5): [True: 0, False: 290k]
  ------------------
 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: 290k]
  ------------------
 1373|      0|        return converterr("(impossible<bad format char>)", arg, msgbuf, bufsize);
 1374|       |
 1375|   290k|    }
 1376|       |
 1377|   290k|    *p_format = format;
 1378|   290k|    return NULL;
 1379|       |
 1380|   290k|#undef RETURN_ERR_OCCURRED
 1381|   290k|}
getargs.c:seterror:
  442|     44|{
  443|     44|    char buf[512];
  444|     44|    int i;
  445|     44|    char *p = buf;
  446|       |
  447|     44|    if (PyErr_Occurred())
  ------------------
  |  Branch (447:9): [True: 44, False: 0]
  ------------------
  448|     44|        return;
  449|      0|    else if (message == NULL) {
  ------------------
  |  Branch (449:14): [True: 0, False: 0]
  ------------------
  450|      0|        if (fname != NULL) {
  ------------------
  |  Branch (450:13): [True: 0, False: 0]
  ------------------
  451|      0|            PyOS_snprintf(p, sizeof(buf), "%.200s() ", fname);
  452|      0|            p += strlen(p);
  453|      0|        }
  454|      0|        if (iarg != 0) {
  ------------------
  |  Branch (454:13): [True: 0, False: 0]
  ------------------
  455|      0|            PyOS_snprintf(p, sizeof(buf) - (p - buf),
  456|      0|                          "argument %zd", iarg);
  457|      0|            i = 0;
  458|      0|            p += strlen(p);
  459|      0|            while (i < 32 && levels[i] > 0 && (int)(p-buf) < 220) {
  ------------------
  |  Branch (459:20): [True: 0, False: 0]
  |  Branch (459:30): [True: 0, False: 0]
  |  Branch (459:47): [True: 0, False: 0]
  ------------------
  460|      0|                PyOS_snprintf(p, sizeof(buf) - (p - buf),
  461|      0|                              ", item %d", levels[i]-1);
  462|      0|                p += strlen(p);
  463|      0|                i++;
  464|      0|            }
  465|      0|        }
  466|      0|        else {
  467|      0|            PyOS_snprintf(p, sizeof(buf) - (p - buf), "argument");
  468|      0|            p += strlen(p);
  469|      0|        }
  470|      0|        PyOS_snprintf(p, sizeof(buf) - (p - buf), " %.256s", msg);
  471|      0|        message = buf;
  472|      0|    }
  473|      0|    if (msg[0] == '(') {
  ------------------
  |  Branch (473:9): [True: 0, False: 0]
  ------------------
  474|      0|        PyErr_SetString(PyExc_SystemError, message);
  475|      0|    }
  476|      0|    else {
  477|      0|        PyErr_SetString(PyExc_TypeError, message);
  478|      0|    }
  479|      0|}
getargs.c:vgetargs1:
  414|  56.2k|{
  415|  56.2k|    PyObject **stack;
  416|  56.2k|    Py_ssize_t nargs;
  417|       |
  418|  56.2k|    if (!(flags & FLAG_COMPAT)) {
  ------------------
  |  |   24|  56.2k|#define FLAG_COMPAT 1
  ------------------
  |  Branch (418:9): [True: 56.2k, False: 0]
  ------------------
  419|  56.2k|        assert(args != NULL);
  ------------------
  |  Branch (419:9): [True: 56.2k, False: 0]
  ------------------
  420|       |
  421|  56.2k|        if (!PyTuple_Check(args)) {
  ------------------
  |  |   27|  56.2k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  56.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (421:13): [True: 0, False: 56.2k]
  ------------------
  422|      0|            PyErr_SetString(PyExc_SystemError,
  423|      0|                "new style getargs format but argument is not a tuple");
  424|      0|            return 0;
  425|      0|        }
  426|       |
  427|  56.2k|        stack = _PyTuple_ITEMS(args);
  ------------------
  |  |   26|  56.2k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|   112k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 56.2k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  428|  56.2k|        nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  56.2k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  56.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  429|  56.2k|    }
  430|      0|    else {
  431|      0|        stack = NULL;
  432|      0|        nargs = 0;
  433|      0|    }
  434|       |
  435|  56.2k|    return vgetargs1_impl(args, stack, nargs, format, p_va, flags);
  436|  56.2k|}
getargs.c:vgetargskeywords_impl:
 1677|    773|{
 1678|    773|    char msgbuf[512];
 1679|    773|    int levels[32];
 1680|    773|    const char *fname, *msg, *custom_msg;
 1681|    773|    int min = INT_MAX;
 1682|    773|    int max = INT_MAX;
 1683|    773|    int i, pos, len;
 1684|    773|    int skip = 0;
 1685|    773|    Py_ssize_t nkwargs;
 1686|    773|    freelistentry_t static_entries[STATIC_FREELIST_ENTRIES];
 1687|    773|    freelist_t freelist;
 1688|    773|    PyObject * const *kwstack = NULL;
 1689|       |
 1690|    773|    freelist.entries = static_entries;
 1691|    773|    freelist.first_available = 0;
 1692|    773|    freelist.entries_malloced = 0;
 1693|       |
 1694|    773|    assert(args != NULL || nargs == 0);
  ------------------
  |  Branch (1694:5): [True: 773, False: 0]
  |  Branch (1694:5): [True: 0, False: 0]
  ------------------
 1695|    773|    assert(kwargs == NULL || PyDict_Check(kwargs));
  ------------------
  |  Branch (1695:5): [True: 576, False: 197]
  |  Branch (1695:5): [True: 197, False: 0]
  ------------------
 1696|    773|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  ------------------
  |  Branch (1696:5): [True: 773, False: 0]
  |  Branch (1696:5): [True: 0, False: 0]
  ------------------
 1697|    773|    assert(format != NULL);
  ------------------
  |  Branch (1697:5): [True: 773, False: 0]
  ------------------
 1698|    773|    assert(kwlist != NULL);
  ------------------
  |  Branch (1698:5): [True: 773, False: 0]
  ------------------
 1699|    773|    assert(p_va != NULL);
  ------------------
  |  Branch (1699:5): [True: 773, False: 0]
  ------------------
 1700|       |
 1701|       |    /* grab the function name or custom error msg first (mutually exclusive) */
 1702|    773|    fname = strchr(format, ':');
 1703|    773|    if (fname) {
  ------------------
  |  Branch (1703:9): [True: 773, False: 0]
  ------------------
 1704|    773|        fname++;
 1705|    773|        custom_msg = NULL;
 1706|    773|    }
 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|    775|    for (pos = 0; kwlist[pos] && !*kwlist[pos]; pos++) {
  ------------------
  |  Branch (1714:19): [True: 775, False: 0]
  |  Branch (1714:34): [True: 2, False: 773]
  ------------------
 1715|      2|    }
 1716|       |    /* scan kwlist and get greatest possible nbr of args */
 1717|  2.51k|    for (len = pos; kwlist[len]; len++) {
  ------------------
  |  Branch (1717:21): [True: 1.74k, False: 773]
  ------------------
 1718|  1.74k|        if (!*kwlist[len]) {
  ------------------
  |  Branch (1718:13): [True: 0, False: 1.74k]
  ------------------
 1719|      0|            PyErr_SetString(PyExc_SystemError,
 1720|      0|                            "Empty keyword parameter name");
 1721|      0|            return cleanreturn(0, &freelist);
 1722|      0|        }
 1723|  1.74k|    }
 1724|       |
 1725|    773|    if (len > STATIC_FREELIST_ENTRIES) {
  ------------------
  |  |   44|    773|#define STATIC_FREELIST_ENTRIES 8
  ------------------
  |  Branch (1725:9): [True: 0, False: 773]
  ------------------
 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|    773|    if (kwargs != NULL) {
  ------------------
  |  Branch (1734:9): [True: 197, False: 576]
  ------------------
 1735|    197|        nkwargs = PyDict_GET_SIZE(kwargs);
  ------------------
  |  |   63|    197|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    197|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    197|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1736|    197|    }
 1737|    576|    else if (kwnames != NULL) {
  ------------------
  |  Branch (1737:14): [True: 0, False: 576]
  ------------------
 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|    576|    else {
 1742|    576|        nkwargs = 0;
 1743|    576|    }
 1744|    773|    if (nargs + nkwargs > len) {
  ------------------
  |  Branch (1744:9): [True: 0, False: 773]
  ------------------
 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|    994|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (1759:17): [True: 991, False: 3]
  ------------------
 1760|    991|        if (*format == '|') {
  ------------------
  |  Branch (1760:13): [True: 771, False: 220]
  ------------------
 1761|    771|            if (min != INT_MAX) {
  ------------------
  |  Branch (1761:17): [True: 0, False: 771]
  ------------------
 1762|      0|                PyErr_SetString(PyExc_SystemError,
 1763|      0|                                "Invalid format string (| specified twice)");
 1764|      0|                return cleanreturn(0, &freelist);
 1765|      0|            }
 1766|       |
 1767|    771|            min = i;
 1768|    771|            format++;
 1769|       |
 1770|    771|            if (max != INT_MAX) {
  ------------------
  |  Branch (1770:17): [True: 0, False: 771]
  ------------------
 1771|      0|                PyErr_SetString(PyExc_SystemError,
 1772|      0|                                "Invalid format string ($ before |)");
 1773|      0|                return cleanreturn(0, &freelist);
 1774|      0|            }
 1775|    771|        }
 1776|    991|        if (*format == '$') {
  ------------------
  |  Branch (1776:13): [True: 771, False: 220]
  ------------------
 1777|    771|            if (max != INT_MAX) {
  ------------------
  |  Branch (1777:17): [True: 0, False: 771]
  ------------------
 1778|      0|                PyErr_SetString(PyExc_SystemError,
 1779|      0|                                "Invalid format string ($ specified twice)");
 1780|      0|                return cleanreturn(0, &freelist);
 1781|      0|            }
 1782|       |
 1783|    771|            max = i;
 1784|    771|            format++;
 1785|       |
 1786|    771|            if (max < pos) {
  ------------------
  |  Branch (1786:17): [True: 0, False: 771]
  ------------------
 1787|      0|                PyErr_SetString(PyExc_SystemError,
 1788|      0|                                "Empty parameter name after $");
 1789|      0|                return cleanreturn(0, &freelist);
 1790|      0|            }
 1791|    771|            if (skip) {
  ------------------
  |  Branch (1791:17): [True: 0, False: 771]
  ------------------
 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|    771|            if (max < nargs) {
  ------------------
  |  Branch (1797:17): [True: 0, False: 771]
  ------------------
 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|    771|        }
 1818|    991|        if (IS_END_OF_FORMAT(*format)) {
  ------------------
  |  | 1670|    991|#define IS_END_OF_FORMAT(c) (c == '\0' || c == ';' || c == ':')
  |  |  ------------------
  |  |  |  Branch (1670:30): [True: 0, False: 991]
  |  |  |  Branch (1670:43): [True: 0, False: 991]
  |  |  |  Branch (1670:55): [True: 0, False: 991]
  |  |  ------------------
  ------------------
 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|    991|        if (!skip) {
  ------------------
  |  Branch (1824:13): [True: 991, False: 0]
  ------------------
 1825|    991|            PyObject *current_arg;
 1826|    991|            if (i < nargs) {
  ------------------
  |  Branch (1826:17): [True: 10, False: 981]
  ------------------
 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|    981|            else if (nkwargs && i >= pos) {
  ------------------
  |  Branch (1829:22): [True: 211, False: 770]
  |  Branch (1829:33): [True: 211, False: 0]
  ------------------
 1830|    211|                if (kwargs != NULL) {
  ------------------
  |  Branch (1830:21): [True: 211, False: 0]
  ------------------
 1831|    211|                    if (PyDict_GetItemStringRef(kwargs, kwlist[i], &current_arg) < 0) {
  ------------------
  |  Branch (1831:25): [True: 0, False: 211]
  ------------------
 1832|      0|                        return cleanreturn(0, &freelist);
 1833|      0|                    }
 1834|    211|                }
 1835|      0|                else {
 1836|      0|                    current_arg = find_keyword_str(kwnames, kwstack, kwlist[i]);
 1837|      0|                }
 1838|    211|                if (current_arg) {
  ------------------
  |  Branch (1838:21): [True: 199, False: 12]
  ------------------
 1839|    199|                    --nkwargs;
 1840|    199|                }
 1841|    211|            }
 1842|    770|            else {
 1843|    770|                current_arg = NULL;
 1844|    770|            }
 1845|       |
 1846|    991|            if (current_arg) {
  ------------------
  |  Branch (1846:17): [True: 209, False: 782]
  ------------------
 1847|    209|                msg = convertitem(current_arg, &format, p_va, flags,
 1848|    209|                    levels, msgbuf, sizeof(msgbuf), &freelist);
 1849|    209|                Py_DECREF(current_arg);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1850|    209|                if (msg) {
  ------------------
  |  Branch (1850:21): [True: 0, False: 209]
  ------------------
 1851|      0|                    seterror(i+1, msg, levels, fname, custom_msg);
 1852|      0|                    return cleanreturn(0, &freelist);
 1853|      0|                }
 1854|    209|                continue;
 1855|    209|            }
 1856|       |
 1857|    782|            if (i < min) {
  ------------------
  |  Branch (1857:17): [True: 0, False: 782]
  ------------------
 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|    782|            if (!nkwargs && !skip) {
  ------------------
  |  Branch (1880:17): [True: 770, False: 12]
  |  Branch (1880:29): [True: 770, False: 0]
  ------------------
 1881|    770|                return cleanreturn(1, &freelist);
 1882|    770|            }
 1883|    782|        }
 1884|       |
 1885|       |        /* We are into optional args, skip through to any remaining
 1886|       |         * keyword args */
 1887|     12|        msg = skipitem(&format, p_va, flags);
 1888|     12|        if (msg) {
  ------------------
  |  Branch (1888:13): [True: 0, False: 12]
  ------------------
 1889|      0|            PyErr_Format(PyExc_SystemError, "%s: '%s'", msg,
 1890|      0|                         format);
 1891|      0|            return cleanreturn(0, &freelist);
 1892|      0|        }
 1893|     12|    }
 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|     12|{
 2700|     12|    const char *format = *p_format;
 2701|     12|    char c = *format++;
 2702|       |
 2703|     12|    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: 12]
  ------------------
 2711|      0|    case 'B': /* byte as bitfield */
  ------------------
  |  Branch (2711:5): [True: 0, False: 12]
  ------------------
 2712|      0|    case 'h': /* short int */
  ------------------
  |  Branch (2712:5): [True: 0, False: 12]
  ------------------
 2713|      0|    case 'H': /* short int as bitfield */
  ------------------
  |  Branch (2713:5): [True: 0, False: 12]
  ------------------
 2714|      0|    case 'i': /* int */
  ------------------
  |  Branch (2714:5): [True: 0, False: 12]
  ------------------
 2715|      0|    case 'I': /* int sized bitfield */
  ------------------
  |  Branch (2715:5): [True: 0, False: 12]
  ------------------
 2716|      0|    case 'l': /* long int */
  ------------------
  |  Branch (2716:5): [True: 0, False: 12]
  ------------------
 2717|      0|    case 'k': /* long int sized bitfield */
  ------------------
  |  Branch (2717:5): [True: 0, False: 12]
  ------------------
 2718|      0|    case 'L': /* long long */
  ------------------
  |  Branch (2718:5): [True: 0, False: 12]
  ------------------
 2719|      0|    case 'K': /* long long sized bitfield */
  ------------------
  |  Branch (2719:5): [True: 0, False: 12]
  ------------------
 2720|      0|    case 'n': /* Py_ssize_t */
  ------------------
  |  Branch (2720:5): [True: 0, False: 12]
  ------------------
 2721|      0|    case 'f': /* float */
  ------------------
  |  Branch (2721:5): [True: 0, False: 12]
  ------------------
 2722|      0|    case 'd': /* double */
  ------------------
  |  Branch (2722:5): [True: 0, False: 12]
  ------------------
 2723|      0|    case 'D': /* complex double */
  ------------------
  |  Branch (2723:5): [True: 0, False: 12]
  ------------------
 2724|      0|    case 'c': /* char */
  ------------------
  |  Branch (2724:5): [True: 0, False: 12]
  ------------------
 2725|      0|    case 'C': /* unicode char */
  ------------------
  |  Branch (2725:5): [True: 0, False: 12]
  ------------------
 2726|      0|    case 'p': /* boolean predicate */
  ------------------
  |  Branch (2726:5): [True: 0, False: 12]
  ------------------
 2727|      0|    case 'S': /* string object */
  ------------------
  |  Branch (2727:5): [True: 0, False: 12]
  ------------------
 2728|      0|    case 'Y': /* string object */
  ------------------
  |  Branch (2728:5): [True: 0, False: 12]
  ------------------
 2729|      0|    case 'U': /* unicode string object */
  ------------------
  |  Branch (2729:5): [True: 0, False: 12]
  ------------------
 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: 12]
  ------------------
 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: 12]
  ------------------
 2752|      0|    case 'z': /* string or None */
  ------------------
  |  Branch (2752:5): [True: 0, False: 12]
  ------------------
 2753|      0|    case 'y': /* bytes */
  ------------------
  |  Branch (2753:5): [True: 0, False: 12]
  ------------------
 2754|      0|    case 'w': /* buffer, read-write */
  ------------------
  |  Branch (2754:5): [True: 0, False: 12]
  ------------------
 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|     12|    case 'O': /* object */
  ------------------
  |  Branch (2777:5): [True: 12, False: 0]
  ------------------
 2778|     12|        {
 2779|     12|            if (*format == '!') {
  ------------------
  |  Branch (2779:17): [True: 0, False: 12]
  ------------------
 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|     12|            else if (*format == '&') {
  ------------------
  |  Branch (2786:22): [True: 0, False: 12]
  ------------------
 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|     12|            else {
 2795|     12|                if (p_va != NULL) {
  ------------------
  |  Branch (2795:21): [True: 12, False: 0]
  ------------------
 2796|     12|                    (void) va_arg(*p_va, PyObject **);
 2797|     12|                }
 2798|     12|            }
 2799|     12|            break;
 2800|      0|        }
 2801|       |
 2802|      0|    case '(':           /* bypass tuple, not handled at all previously */
  ------------------
  |  Branch (2802:5): [True: 0, False: 12]
  ------------------
 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: 12]
  ------------------
 2820|      0|        return "Unmatched right paren in format string";
 2821|       |
 2822|      0|    default:
  ------------------
  |  Branch (2822:5): [True: 0, False: 12]
  ------------------
 2823|      0|err:
 2824|      0|        return "impossible<bad format char>";
 2825|       |
 2826|     12|    }
 2827|       |
 2828|     12|    *p_format = format;
 2829|       |    return NULL;
 2830|     12|}
getargs.c:vgetargskeywords:
 2018|    773|{
 2019|    773|    PyObject *const *args = _PyTuple_ITEMS(argstuple);
  ------------------
  |  |   26|    773|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|  1.54k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 773, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2020|    773|    Py_ssize_t nargs = PyTuple_GET_SIZE(argstuple);
  ------------------
  |  |   27|    773|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    773|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    773|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2021|       |    return vgetargskeywords_impl(args, nargs, kwargs, NULL,
 2022|    773|                                 format, kwlist, p_va, flags);
 2023|    773|}
getargs.c:parser_init:
 2228|  2.26k|{
 2229|  2.26k|    return _PyOnceFlag_CallOnce(&parser->once, &_parser_init, parser);
 2230|  2.26k|}
getargs.c:_parser_init:
 2151|      4|{
 2152|      4|    struct _PyArg_Parser *parser = (struct _PyArg_Parser *)arg;
 2153|      4|    const char * const *keywords = parser->keywords;
 2154|      4|    assert(keywords != NULL);
  ------------------
  |  Branch (2154:5): [True: 4, False: 0]
  ------------------
 2155|      4|    assert(parser->pos == 0 &&
  ------------------
  |  Branch (2155:5): [True: 4, False: 0]
  |  Branch (2155:5): [True: 0, False: 0]
  |  Branch (2155:5): [True: 4, False: 0]
  |  Branch (2155:5): [True: 4, False: 0]
  |  Branch (2155:5): [True: 4, False: 0]
  |  Branch (2155:5): [True: 4, False: 0]
  ------------------
 2156|      4|           (parser->format == NULL || parser->fname == NULL) &&
 2157|      4|           parser->custom_msg == NULL &&
 2158|      4|           parser->min == 0 &&
 2159|      4|           parser->max == 0);
 2160|       |
 2161|      4|    int len, pos;
 2162|      4|    if (scan_keywords(keywords, &len, &pos) < 0) {
  ------------------
  |  Branch (2162:9): [True: 0, False: 4]
  ------------------
 2163|      0|        return -1;
 2164|      0|    }
 2165|       |
 2166|      4|    const char *fname, *custommsg = NULL;
 2167|      4|    int min = 0, max = 0;
 2168|      4|    if (parser->format) {
  ------------------
  |  Branch (2168:9): [True: 0, False: 4]
  ------------------
 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|      4|    else {
 2176|      4|        assert(parser->fname != NULL);
  ------------------
  |  Branch (2176:9): [True: 4, False: 0]
  ------------------
 2177|      4|        fname = parser->fname;
 2178|      4|    }
 2179|       |
 2180|      4|    int owned;
 2181|      4|    PyObject *kwtuple = parser->kwtuple;
 2182|      4|    if (kwtuple == NULL) {
  ------------------
  |  Branch (2182:9): [True: 0, False: 4]
  ------------------
 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|      4|    else {
 2206|      4|        owned = 0;
 2207|      4|    }
 2208|       |
 2209|      4|    parser->pos = pos;
 2210|      4|    parser->fname = fname;
 2211|      4|    parser->custom_msg = custommsg;
 2212|      4|    parser->min = min;
 2213|      4|    parser->max = max;
 2214|      4|    parser->kwtuple = kwtuple;
 2215|      4|    parser->is_kwtuple_owned = owned;
 2216|       |
 2217|      4|    assert(parser->next == NULL);
  ------------------
  |  Branch (2217:5): [True: 4, False: 0]
  ------------------
 2218|      4|    parser->next = _Py_atomic_load_ptr(&_PyRuntime.getargs.static_parsers);
 2219|      4|    do {
 2220|       |        // compare-exchange updates parser->next on failure
 2221|      4|    } while (!_Py_atomic_compare_exchange_ptr(&_PyRuntime.getargs.static_parsers,
  ------------------
  |  Branch (2221:14): [True: 0, False: 4]
  ------------------
 2222|      4|                                              &parser->next, parser));
 2223|      4|    return 0;
 2224|      4|}
getargs.c:scan_keywords:
 2027|      4|{
 2028|       |    /* scan keywords and count the number of positional-only parameters */
 2029|      4|    int i;
 2030|      4|    for (i = 0; keywords[i] && !*keywords[i]; i++) {
  ------------------
  |  Branch (2030:17): [True: 4, False: 0]
  |  Branch (2030:32): [True: 0, False: 4]
  ------------------
 2031|      0|    }
 2032|      4|    *pposonly = i;
 2033|       |
 2034|       |    /* scan keywords and get greatest possible nbr of args */
 2035|     17|    for (; keywords[i]; i++) {
  ------------------
  |  Branch (2035:12): [True: 13, False: 4]
  ------------------
 2036|     13|        if (!*keywords[i]) {
  ------------------
  |  Branch (2036:13): [True: 0, False: 13]
  ------------------
 2037|      0|            PyErr_SetString(PyExc_SystemError,
 2038|      0|                            "Empty keyword parameter name");
 2039|      0|            return -1;
 2040|      0|        }
 2041|     13|    }
 2042|      4|    *ptotal = i;
 2043|      4|    return 0;
 2044|      4|}
getargs.c:find_keyword:
 2255|  1.24k|{
 2256|  1.24k|    Py_ssize_t i, nkwargs;
 2257|       |
 2258|  1.24k|    nkwargs = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|  1.24k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2259|  2.80k|    for (i = 0; i < nkwargs; i++) {
  ------------------
  |  Branch (2259:17): [True: 2.18k, False: 623]
  ------------------
 2260|  2.18k|        PyObject *kwname = PyTuple_GET_ITEM(kwnames, i);
  ------------------
  |  |   29|  2.18k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.18k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2260:28): [True: 2.18k, 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|  2.18k|        if (kwname == key) {
  ------------------
  |  Branch (2264:13): [True: 625, False: 1.55k]
  ------------------
 2265|    625|            return Py_NewRef(kwstack[i]);
  ------------------
  |  |  550|    625|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    625|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    625|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2266|    625|        }
 2267|  2.18k|    }
 2268|       |
 2269|  1.86k|    for (i = 0; i < nkwargs; i++) {
  ------------------
  |  Branch (2269:17): [True: 1.24k, False: 623]
  ------------------
 2270|  1.24k|        PyObject *kwname = PyTuple_GET_ITEM(kwnames, i);
  ------------------
  |  |   29|  1.24k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.24k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2270:28): [True: 1.24k, False: 0]
  ------------------
 2271|  1.24k|        assert(PyUnicode_Check(kwname));
  ------------------
  |  Branch (2271:9): [True: 1.24k, False: 0]
  ------------------
 2272|  1.24k|        if (_PyUnicode_Equal(kwname, key)) {
  ------------------
  |  Branch (2272:13): [True: 0, False: 1.24k]
  ------------------
 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|  1.24k|    }
 2276|    623|    return NULL;
 2277|    623|}
getargs.c:unpack_stack:
 2882|  25.7k|{
 2883|  25.7k|    Py_ssize_t i;
 2884|  25.7k|    PyObject **o;
 2885|       |
 2886|  25.7k|    if (!_PyArg_CheckPositional(name, nargs, min, max)) {
  ------------------
  |  Branch (2886:9): [True: 0, False: 25.7k]
  ------------------
 2887|      0|        return 0;
 2888|      0|    }
 2889|       |
 2890|  64.0k|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2890:17): [True: 38.3k, False: 25.7k]
  ------------------
 2891|       |        o = va_arg(vargs, PyObject **);
 2892|  38.3k|        *o = args[i];
 2893|  38.3k|    }
 2894|  25.7k|    return 1;
 2895|  25.7k|}

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|  20.4k|{
 2309|  20.4k|    hamt_find_t res = hamt_find(o, key, val);
 2310|  20.4k|    switch (res) {
 2311|      0|        case F_ERROR:
  ------------------
  |  Branch (2311:9): [True: 0, False: 20.4k]
  ------------------
 2312|      0|            return -1;
 2313|  20.4k|        case F_NOT_FOUND:
  ------------------
  |  Branch (2313:9): [True: 20.4k, False: 0]
  ------------------
 2314|  20.4k|            return 0;
 2315|      0|        case F_FOUND:
  ------------------
  |  Branch (2315:9): [True: 0, False: 20.4k]
  ------------------
 2316|      0|            return 1;
 2317|      0|        default:
  ------------------
  |  Branch (2317:9): [True: 0, False: 20.4k]
  ------------------
 2318|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2319|  20.4k|    }
 2320|  20.4k|}
_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|  20.4k|{
  397|  20.4k|    Py_hash_t hash = PyObject_Hash(o);
  398|       |
  399|       |#if SIZEOF_PY_HASH_T <= 4
  400|       |    return hash;
  401|       |#else
  402|  20.4k|    if (hash == -1) {
  ------------------
  |  Branch (402:9): [True: 0, False: 20.4k]
  ------------------
  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|  20.4k|    int32_t xored = (int32_t)(hash & 0xffffffffl) ^ (int32_t)(hash >> 32);
  425|  20.4k|    return xored == -1 ? -2 : xored;
  ------------------
  |  Branch (425:12): [True: 0, False: 20.4k]
  ------------------
  426|  20.4k|#endif
  427|  20.4k|}
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);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359: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));
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359: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);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  760|      0|        Py_SETREF(ret->b_array[val_idx], (PyObject *)sub_node);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359: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|  20.4k|{
  438|  20.4k|    return (uint32_t)1 << hamt_mask(hash, shift);
  439|  20.4k|}
hamt.c:hamt_bitindex:
  443|      1|{
  444|      1|    return (uint32_t)_Py_popcount32(bitmap & (bit - 1));
  445|      1|}
hamt.c:hamt_mask:
  431|  20.4k|{
  432|  20.4k|    return (((uint32_t)hash >> shift) & 0x01f);
  433|  20.4k|}
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);
  ------------------
  |  |  505|      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|  20.4k|{
 2293|  20.4k|    if (o->h_count == 0) {
  ------------------
  |  Branch (2293:9): [True: 1, False: 20.4k]
  ------------------
 2294|      1|        return F_NOT_FOUND;
 2295|      1|    }
 2296|       |
 2297|  20.4k|    int32_t key_hash = hamt_hash(key);
 2298|  20.4k|    if (key_hash == -1) {
  ------------------
  |  Branch (2298:9): [True: 0, False: 20.4k]
  ------------------
 2299|      0|        return F_ERROR;
 2300|      0|    }
 2301|       |
 2302|  20.4k|    return hamt_node_find(o->h_root, 0, key_hash, key, val);
 2303|  20.4k|}
hamt.c:hamt_node_find:
 2001|  20.4k|{
 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|  20.4k|    if (IS_BITMAP_NODE(node)) {
  ------------------
  |  |  281|  20.4k|#define IS_BITMAP_NODE(node)    Py_IS_TYPE(node, &_PyHamt_BitmapNode_Type)
  |  |  ------------------
  |  |  |  |  215|  20.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  20.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  20.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 20.4k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2016|  20.4k|        return hamt_node_bitmap_find(
 2017|  20.4k|            (PyHamtNode_Bitmap *)node,
 2018|  20.4k|            shift, hash, key, val);
 2019|       |
 2020|  20.4k|    }
 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|  20.4k|}
hamt.c:hamt_node_bitmap_find:
 1047|  20.4k|{
 1048|       |    /* Lookup a key in a Bitmap node. */
 1049|       |
 1050|  20.4k|    uint32_t bit = hamt_bitpos(hash, shift);
 1051|  20.4k|    uint32_t idx;
 1052|  20.4k|    uint32_t key_idx;
 1053|  20.4k|    uint32_t val_idx;
 1054|  20.4k|    PyObject *key_or_null;
 1055|  20.4k|    PyObject *val_or_node;
 1056|  20.4k|    int comp_err;
 1057|       |
 1058|  20.4k|    if ((self->b_bitmap & bit) == 0) {
  ------------------
  |  Branch (1058:9): [True: 20.4k, False: 0]
  ------------------
 1059|  20.4k|        return F_NOT_FOUND;
 1060|  20.4k|    }
 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|     14|{
 2634|     14|    PyHamtObject *self = _PyHamtObject_CAST(op);
  ------------------
  |  | 2613|     14|#define _PyHamtObject_CAST(op)      ((PyHamtObject *)(op))
  ------------------
 2635|     14|    Py_VISIT(self->h_root);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 2636|     14|    return 0;
 2637|     14|}
hamt.c:hamt_node_bitmap_traverse:
 1096|     14|{
 1097|       |    /* Bitmap's tp_traverse */
 1098|     14|    PyHamtNode_Bitmap *self = _PyHamtNode_Bitmap_CAST(op);
  ------------------
  |  |  487|     14|#define _PyHamtNode_Bitmap_CAST(op)     ((PyHamtNode_Bitmap *)(op))
  ------------------
 1099|     42|    for (Py_ssize_t i = Py_SIZE(self); --i >= 0;) {
  ------------------
  |  |  214|     14|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1099:40): [True: 28, False: 14]
  ------------------
 1100|     28|        Py_VISIT(self->b_array[i]);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1101|     28|    }
 1102|     14|    return 0;
 1103|     14|}

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

_PyImport_AcquireLock:
  154|  1.62k|{
  155|  1.62k|    _PyRecursiveMutex_Lock(&IMPORT_LOCK(interp));
  ------------------
  |  |  114|  1.62k|    (interp)->imports.lock
  ------------------
  156|  1.62k|}
_PyImport_ReleaseLock:
  160|  1.62k|{
  161|  1.62k|    _PyRecursiveMutex_Unlock(&IMPORT_LOCK(interp));
  ------------------
  |  |  114|  1.62k|    (interp)->imports.lock
  ------------------
  162|  1.62k|}
_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|   145k|{
  190|   145k|    return MODULES(interp);
  ------------------
  |  |   90|   145k|    (interp)->imports.modules
  ------------------
  191|   145k|}
_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|   145k|{
  339|   145k|    PyThreadState *tstate = _PyThreadState_GET();
  340|   145k|    PyObject *mod;
  341|       |
  342|   145k|    mod = import_get_module(tstate, name);
  343|   145k|    if (mod != NULL && mod != Py_None) {
  ------------------
  |  |  616|   145k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (343:9): [True: 145k, False: 5]
  |  Branch (343:24): [True: 145k, False: 0]
  ------------------
  344|   145k|        if (import_ensure_initialized(tstate->interp, mod, name) < 0) {
  ------------------
  |  Branch (344:13): [True: 0, False: 145k]
  ------------------
  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|   145k|        PyObject *mod_check = import_get_module(tstate, name);
  351|   145k|        if (mod_check != mod) {
  ------------------
  |  Branch (351:13): [True: 0, False: 145k]
  ------------------
  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|   145k|        Py_DECREF(mod_check);
  ------------------
  |  |  430|   145k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   145k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   145k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  364|   145k|    }
  365|   145k|    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|   145k|}
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|     51|{
  510|     51|    return _Py_atomic_add_ssize(&LAST_MODULE_INDEX, 1) + 1;
  ------------------
  |  |   81|     51|#define LAST_MODULE_INDEX _PyRuntime.imports.last_module_index
  ------------------
  511|     51|}
_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|     86|{
  902|     86|    const char *oldcontext = PKGCONTEXT;
  ------------------
  |  |  884|     86|# define PKGCONTEXT pkgcontext
  ------------------
  903|     86|    PKGCONTEXT = newcontext;
  ------------------
  |  |  884|     86|# define PKGCONTEXT pkgcontext
  ------------------
  904|     86|    return oldcontext;
  905|     86|}
_PyImport_GetDLOpenFlags:
  910|     20|{
  911|     20|    return FT_ATOMIC_LOAD_INT_RELAXED(DLOPENFLAGS(interp));
  ------------------
  |  |  186|     20|#define FT_ATOMIC_LOAD_INT_RELAXED(value) value
  ------------------
  912|     20|}
_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|   194k|{
 3606|   194k|    return func == IMPORT_FUNC(interp);
  ------------------
  |  |  108|   194k|    (interp)->imports.import_func
  ------------------
 3607|   194k|}
_PyImport_IsDefaultLazyImportFunc:
 3611|     11|{
 3612|     11|    return func == LAZY_IMPORT_FUNC(interp);
  ------------------
  |  |  111|     11|    (interp)->imports.lazy_import_func
  ------------------
 3613|     11|}
PyImport_ImportModule:
 3620|    440|{
 3621|    440|    PyObject *pname;
 3622|    440|    PyObject *result;
 3623|       |
 3624|    440|    pname = PyUnicode_FromString(name);
 3625|    440|    if (pname == NULL)
  ------------------
  |  Branch (3625:9): [True: 0, False: 440]
  ------------------
 3626|      0|        return NULL;
 3627|    440|    result = PyImport_Import(pname);
 3628|    440|    Py_DECREF(pname);
  ------------------
  |  |  430|    440|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    440|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    440|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3629|    440|    return result;
 3630|    440|}
PyImport_ImportModuleLevelObject:
 4196|   298k|{
 4197|   298k|    PyThreadState *tstate = _PyThreadState_GET();
 4198|   298k|    PyObject *abs_name = NULL;
 4199|   298k|    PyObject *final_mod = NULL;
 4200|   298k|    PyObject *mod = NULL;
 4201|   298k|    PyInterpreterState *interp = tstate->interp;
 4202|   298k|    int has_from;
 4203|       |
 4204|   298k|    if (name == NULL) {
  ------------------
  |  Branch (4204:9): [True: 0, False: 298k]
  ------------------
 4205|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "Empty module name");
 4206|      0|        goto error;
 4207|      0|    }
 4208|       |
 4209|       |    /* The below code is importlib.__import__() & _gcd_import(), ported to C
 4210|       |       for added performance. */
 4211|       |
 4212|   298k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|   298k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   298k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4212:9): [True: 0, False: 298k]
  ------------------
 4213|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 4214|      0|                         "module name must be a string");
 4215|      0|        goto error;
 4216|      0|    }
 4217|   298k|    if (level < 0) {
  ------------------
  |  Branch (4217:9): [True: 0, False: 298k]
  ------------------
 4218|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "level must be >= 0");
 4219|      0|        goto error;
 4220|      0|    }
 4221|       |
 4222|   298k|    abs_name = get_abs_name(tstate, name, globals, level);
 4223|   298k|    if (abs_name == NULL) {
  ------------------
  |  Branch (4223:9): [True: 0, False: 298k]
  ------------------
 4224|      0|        goto error;
 4225|      0|    }
 4226|       |
 4227|   298k|    mod = import_get_module(tstate, abs_name);
 4228|   298k|    if (mod == NULL && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4228:9): [True: 336, False: 298k]
  |  Branch (4228:24): [True: 0, False: 336]
  ------------------
 4229|      0|        goto error;
 4230|      0|    }
 4231|       |
 4232|   298k|    if (mod != NULL && mod != Py_None) {
  ------------------
  |  |  616|   298k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4232:9): [True: 298k, False: 336]
  |  Branch (4232:24): [True: 298k, False: 0]
  ------------------
 4233|   298k|        if (import_ensure_initialized(tstate->interp, mod, abs_name) < 0) {
  ------------------
  |  Branch (4233:13): [True: 0, False: 298k]
  ------------------
 4234|      0|            goto error;
 4235|      0|        }
 4236|       |        /* Verify the module is still in sys.modules. Another thread may have
 4237|       |           removed it (due to import failure) between our import_get_module()
 4238|       |           call and the _initializing check in import_ensure_initialized().
 4239|       |           If removed, we retry the import to preserve normal semantics: the
 4240|       |           caller gets the exception from the actual import failure rather
 4241|       |           than a synthetic error. */
 4242|   298k|        PyObject *mod_check = import_get_module(tstate, abs_name);
 4243|   298k|        if (mod_check != mod) {
  ------------------
  |  Branch (4243:13): [True: 0, False: 298k]
  ------------------
 4244|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4245|      0|            if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4245:17): [True: 0, False: 0]
  ------------------
 4246|      0|                goto error;
 4247|      0|            }
 4248|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4249|      0|            mod = import_find_and_load(tstate, abs_name);
 4250|      0|            if (mod == NULL) {
  ------------------
  |  Branch (4250:17): [True: 0, False: 0]
  ------------------
 4251|      0|                goto error;
 4252|      0|            }
 4253|      0|        }
 4254|   298k|        else {
 4255|   298k|            Py_DECREF(mod_check);
  ------------------
  |  |  430|   298k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   298k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   298k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4256|   298k|        }
 4257|   298k|    }
 4258|    336|    else {
 4259|    336|        Py_XDECREF(mod);
  ------------------
  |  |  524|    336|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    336|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    336|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4260|    336|        mod = import_find_and_load(tstate, abs_name);
 4261|    336|        if (mod == NULL) {
  ------------------
  |  Branch (4261:13): [True: 184, False: 152]
  ------------------
 4262|    184|            goto error;
 4263|    184|        }
 4264|    336|    }
 4265|       |
 4266|   298k|    has_from = 0;
 4267|   298k|    if (fromlist != NULL && fromlist != Py_None) {
  ------------------
  |  |  616|   246k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4267:9): [True: 246k, False: 51.9k]
  |  Branch (4267:29): [True: 52.2k, False: 194k]
  ------------------
 4268|  52.2k|        has_from = PyObject_IsTrue(fromlist);
 4269|  52.2k|        if (has_from < 0)
  ------------------
  |  Branch (4269:13): [True: 0, False: 52.2k]
  ------------------
 4270|      0|            goto error;
 4271|  52.2k|    }
 4272|   298k|    if (!has_from) {
  ------------------
  |  Branch (4272:9): [True: 298k, False: 253]
  ------------------
 4273|   298k|        Py_ssize_t len = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  299|   298k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   298k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   298k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4274|   298k|        if (level == 0 || len > 0) {
  ------------------
  |  Branch (4274:13): [True: 298k, False: 0]
  |  Branch (4274:27): [True: 0, False: 0]
  ------------------
 4275|   298k|            Py_ssize_t dot;
 4276|       |
 4277|   298k|            dot = PyUnicode_FindChar(name, '.', 0, len, 1);
 4278|   298k|            if (dot == -2) {
  ------------------
  |  Branch (4278:17): [True: 0, False: 298k]
  ------------------
 4279|      0|                goto error;
 4280|      0|            }
 4281|       |
 4282|   298k|            if (dot == -1) {
  ------------------
  |  Branch (4282:17): [True: 298k, False: 5]
  ------------------
 4283|       |                /* No dot in module name, simple exit */
 4284|   298k|                final_mod = Py_NewRef(mod);
  ------------------
  |  |  550|   298k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   298k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   298k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4285|   298k|                goto error;
 4286|   298k|            }
 4287|       |
 4288|      5|            if (level == 0) {
  ------------------
  |  Branch (4288:17): [True: 5, False: 0]
  ------------------
 4289|      5|                PyObject *front = PyUnicode_Substring(name, 0, dot);
 4290|      5|                if (front == NULL) {
  ------------------
  |  Branch (4290:21): [True: 0, False: 5]
  ------------------
 4291|      0|                    goto error;
 4292|      0|                }
 4293|       |
 4294|      5|                final_mod = PyImport_ImportModuleLevelObject(front, NULL, NULL, NULL, 0);
 4295|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4296|      5|            }
 4297|      0|            else {
 4298|      0|                Py_ssize_t cut_off = len - dot;
 4299|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4300|      0|                PyObject *to_return = PyUnicode_Substring(abs_name, 0,
 4301|      0|                                                        abs_name_len - cut_off);
 4302|      0|                if (to_return == NULL) {
  ------------------
  |  Branch (4302:21): [True: 0, False: 0]
  ------------------
 4303|      0|                    goto error;
 4304|      0|                }
 4305|       |
 4306|      0|                final_mod = import_get_module(tstate, to_return);
 4307|      0|                if (final_mod == NULL) {
  ------------------
  |  Branch (4307:21): [True: 0, False: 0]
  ------------------
 4308|      0|                    if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4308:25): [True: 0, False: 0]
  ------------------
 4309|      0|                        _PyErr_Format(tstate, PyExc_KeyError,
 4310|      0|                                      "%R not in sys.modules as expected",
 4311|      0|                                      to_return);
 4312|      0|                    }
 4313|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4314|      0|                    goto error;
 4315|      0|                }
 4316|       |
 4317|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4318|      0|            }
 4319|      5|        }
 4320|      0|        else {
 4321|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4322|      0|        }
 4323|   298k|    }
 4324|    253|    else {
 4325|    253|        int has_path = PyObject_HasAttrWithError(mod, &_Py_ID(__path__));
  ------------------
  |  |  921|    253|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    253|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    253|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4326|    253|        if (has_path < 0) {
  ------------------
  |  Branch (4326:13): [True: 0, False: 253]
  ------------------
 4327|      0|            goto error;
 4328|      0|        }
 4329|    253|        if (has_path) {
  ------------------
  |  Branch (4329:13): [True: 8, False: 245]
  ------------------
 4330|      8|            final_mod = PyObject_CallMethodObjArgs(
 4331|      8|                        IMPORTLIB(interp), &_Py_ID(_handle_fromlist),
  ------------------
  |  |   98|      8|    (interp)->imports.importlib
  ------------------
                                      IMPORTLIB(interp), &_Py_ID(_handle_fromlist),
  ------------------
  |  |  921|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4332|      8|                        mod, fromlist, IMPORT_FUNC(interp), NULL);
  ------------------
  |  |  108|      8|    (interp)->imports.import_func
  ------------------
 4333|      8|        }
 4334|    245|        else {
 4335|    245|            final_mod = Py_NewRef(mod);
  ------------------
  |  |  550|    245|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    245|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    245|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4336|    245|        }
 4337|    253|    }
 4338|       |
 4339|   298k|  error:
 4340|   298k|    Py_XDECREF(abs_name);
  ------------------
  |  |  524|   298k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   298k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   298k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4341|   298k|    Py_XDECREF(mod);
  ------------------
  |  |  524|   298k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   298k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   298k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4342|   298k|    if (final_mod == NULL) {
  ------------------
  |  Branch (4342:9): [True: 184, False: 298k]
  ------------------
 4343|    184|        remove_importlib_frames(tstate);
 4344|    184|    }
 4345|   298k|    return final_mod;
 4346|   298k|}
_PyImport_TryLoadLazySubmodule:
 4456|    680|{
 4457|    680|    assert(result != NULL);
  ------------------
  |  Branch (4457:5): [True: 680, False: 0]
  ------------------
 4458|    680|    *result = NULL;
 4459|       |
 4460|    680|    PyThreadState *tstate = _PyThreadState_GET();
 4461|    680|    PyInterpreterState *interp = tstate->interp;
 4462|    680|    PyObject *lazy_pending = LAZY_PENDING_SUBMODULES(interp);
  ------------------
  |  |   96|    680|    (interp)->imports.lazy_pending_submodules
  ------------------
 4463|    680|    if (lazy_pending == NULL) {
  ------------------
  |  Branch (4463:9): [True: 0, False: 680]
  ------------------
 4464|      0|        return _Py_LAZY_SUBMODULE_NOT_FOUND;
 4465|      0|    }
 4466|       |
 4467|    680|    PyObject *pending_set;
 4468|    680|    int rc = PyDict_GetItemRef(lazy_pending, mod_name, &pending_set);
 4469|    680|    if (rc < 0) {
  ------------------
  |  Branch (4469:9): [True: 0, False: 680]
  ------------------
 4470|      0|        return _Py_LAZY_SUBMODULE_ERROR;
 4471|      0|    }
 4472|    680|    if (rc == 0) {
  ------------------
  |  Branch (4472:9): [True: 676, False: 4]
  ------------------
 4473|    676|        return _Py_LAZY_SUBMODULE_NOT_FOUND;
 4474|    676|    }
 4475|       |
 4476|      4|    int contains = PySet_Contains(pending_set, attr_name);
 4477|      4|    if (contains < 0) {
  ------------------
  |  Branch (4477:9): [True: 0, False: 4]
  ------------------
 4478|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4479|      0|        return _Py_LAZY_SUBMODULE_ERROR;
 4480|      0|    }
 4481|      4|    if (contains == 0) {
  ------------------
  |  Branch (4481:9): [True: 4, False: 0]
  ------------------
 4482|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4483|      4|        return _Py_LAZY_SUBMODULE_NOT_FOUND;
 4484|      4|    }
 4485|       |
 4486|      0|    PyObject *full_name = PyUnicode_FromFormat("%U.%U", mod_name, attr_name);
 4487|      0|    if (full_name == NULL) {
  ------------------
  |  Branch (4487:9): [True: 0, False: 0]
  ------------------
 4488|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4489|      0|        return _Py_LAZY_SUBMODULE_ERROR;
 4490|      0|    }
 4491|       |
 4492|      0|    PyObject *mod = import_find_and_load_with_name(
 4493|      0|        tstate, full_name, &_Py_ID(_find_and_load_lazy_submodule), Py_None);
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      tstate, full_name, &_Py_ID(_find_and_load_lazy_submodule), Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4494|      0|    if (mod == NULL) {
  ------------------
  |  Branch (4494:9): [True: 0, False: 0]
  ------------------
 4495|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4496|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4497|      0|        remove_importlib_frames(tstate);
 4498|      0|        return _Py_LAZY_SUBMODULE_ERROR;
 4499|      0|    }
 4500|      0|    if (mod == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4500:9): [True: 0, False: 0]
  ------------------
 4501|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4502|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4503|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4504|      0|        return _Py_LAZY_SUBMODULE_NOT_FOUND;
 4505|      0|    }
 4506|       |
 4507|      0|    if (PySet_Discard(pending_set, attr_name) < 0) {
  ------------------
  |  Branch (4507:9): [True: 0, False: 0]
  ------------------
 4508|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4509|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4510|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4511|      0|        return _Py_LAZY_SUBMODULE_ERROR;
 4512|      0|    }
 4513|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4514|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4515|      0|    *result = mod;
 4516|      0|    return _Py_LAZY_SUBMODULE_LOADED;
 4517|      0|}
_PyImport_LazyImportModuleLevelObject:
 4524|     11|{
 4525|     11|    assert(name != NULL);
  ------------------
  |  Branch (4525:5): [True: 11, False: 0]
  ------------------
 4526|     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 (4526:9): [True: 0, False: 11]
  ------------------
 4527|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 4528|      0|                      "module name must be a string, got %T", name);
 4529|      0|        return NULL;
 4530|      0|    }
 4531|     11|    if (level < 0) {
  ------------------
  |  Branch (4531:9): [True: 0, False: 11]
  ------------------
 4532|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "level must be >= 0");
 4533|      0|        return NULL;
 4534|      0|    }
 4535|       |
 4536|     11|    PyObject *abs_name = get_abs_name(tstate, name, globals, level);
 4537|     11|    if (abs_name == NULL) {
  ------------------
  |  Branch (4537:9): [True: 0, False: 11]
  ------------------
 4538|      0|        return NULL;
 4539|      0|    }
 4540|       |
 4541|     11|    PyInterpreterState *interp = tstate->interp;
 4542|     11|    _PyInterpreterFrame *frame = _PyEval_GetFrame();
 4543|     11|    if (frame == NULL || frame->f_globals != frame->f_locals) {
  ------------------
  |  Branch (4543:9): [True: 0, False: 11]
  |  Branch (4543:26): [True: 0, False: 11]
  ------------------
 4544|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4545|      0|        PyErr_SetString(PyExc_SyntaxError,
 4546|      0|                        "'lazy import' is only allowed at module level");
 4547|      0|        return NULL;
 4548|      0|    }
 4549|       |
 4550|       |    // Check if the filter disables the lazy import.
 4551|       |    // We must hold a reference to the filter while calling it to prevent
 4552|       |    // use-after-free if another thread replaces it via
 4553|       |    // PyImport_SetLazyImportsFilter.
 4554|     11|    LAZY_IMPORTS_LOCK(interp);
 4555|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4556|     11|    LAZY_IMPORTS_UNLOCK(interp);
 4557|       |
 4558|     11|    if (filter != NULL) {
  ------------------
  |  Branch (4558:9): [True: 0, False: 11]
  ------------------
 4559|      0|        PyObject *modname;
 4560|      0|        if (PyDict_GetItemRef(globals, &_Py_ID(__name__), &modname) < 0) {
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4560:13): [True: 0, False: 0]
  ------------------
 4561|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4562|      0|            Py_DECREF(abs_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4563|      0|            return NULL;
 4564|      0|        }
 4565|      0|        if (modname == NULL) {
  ------------------
  |  Branch (4565:13): [True: 0, False: 0]
  ------------------
 4566|      0|            assert(!PyErr_Occurred());
  ------------------
  |  Branch (4566:13): [True: 0, False: 0]
  ------------------
 4567|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4568|      0|        }
 4569|      0|        if (fromlist == NULL) {
  ------------------
  |  Branch (4569:13): [True: 0, False: 0]
  ------------------
 4570|      0|            assert(!PyErr_Occurred());
  ------------------
  |  Branch (4570:13): [True: 0, False: 0]
  ------------------
 4571|      0|            fromlist = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 4572|      0|        }
 4573|      0|        PyObject *args[] = {modname, abs_name, fromlist};
 4574|      0|        PyObject *res = PyObject_Vectorcall(filter, args, 3, NULL);
 4575|       |
 4576|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4577|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4578|       |
 4579|      0|        if (res == NULL) {
  ------------------
  |  Branch (4579:13): [True: 0, False: 0]
  ------------------
 4580|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4581|      0|            return NULL;
 4582|      0|        }
 4583|       |
 4584|      0|        int is_true = PyObject_IsTrue(res);
 4585|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4586|       |
 4587|      0|        if (is_true < 0) {
  ------------------
  |  Branch (4587:13): [True: 0, False: 0]
  ------------------
 4588|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4589|      0|            return NULL;
 4590|      0|        }
 4591|      0|        if (!is_true) {
  ------------------
  |  Branch (4591:13): [True: 0, False: 0]
  ------------------
 4592|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4593|      0|            return PyImport_ImportModuleLevelObject(
 4594|      0|                name, globals, locals, fromlist, level
 4595|      0|            );
 4596|      0|        }
 4597|      0|    }
 4598|       |
 4599|       |    // here, 'filter' is either NULL or is equivalent to a borrowed reference
 4600|     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 (4600:9): [True: 11, False: 0]
  ------------------
 4601|      0|        fromlist = PyTuple_Pack(1, fromlist);
 4602|      0|        if (fromlist == NULL) {
  ------------------
  |  Branch (4602:13): [True: 0, False: 0]
  ------------------
 4603|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4604|      0|            return NULL;
 4605|      0|        }
 4606|      0|    }
 4607|     11|    else {
 4608|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4609|     11|    }
 4610|     11|    PyObject *res = _PyLazyImport_New(frame, builtins, abs_name, fromlist);
 4611|     11|    if (res == NULL) {
  ------------------
  |  Branch (4611:9): [True: 0, False: 11]
  ------------------
 4612|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4613|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4614|      0|        return NULL;
 4615|      0|    }
 4616|       |
 4617|       |    // Add the module name to sys.lazy_modules set (PEP 810).
 4618|     11|    PyObject *lazy_modules = LAZY_MODULES(tstate->interp);
  ------------------
  |  |   94|     11|    (interp)->imports.lazy_modules
  ------------------
 4619|     11|    if (PySet_Add(lazy_modules, abs_name) < 0) {
  ------------------
  |  Branch (4619:9): [True: 0, False: 11]
  ------------------
 4620|      0|        goto error;
 4621|      0|    }
 4622|       |
 4623|     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 (4623:9): [True: 11, False: 0]
  ------------------
 4624|      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 (4624:32): [True: 2, False: 2]
  ------------------
 4625|      2|            if (register_from_lazy_on_parent(tstate, abs_name,
  ------------------
  |  Branch (4625:17): [True: 0, False: 2]
  ------------------
 4626|      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 (4626:46): [True: 2, False: 0]
  ------------------
 4627|      0|            {
 4628|      0|                goto error;
 4629|      0|            }
 4630|      2|        }
 4631|      2|    }
 4632|      9|    else if (register_lazy_on_parent(tstate, abs_name) < 0) {
  ------------------
  |  Branch (4632:14): [True: 0, False: 9]
  ------------------
 4633|      0|        goto error;
 4634|      0|    }
 4635|       |
 4636|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4637|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4638|     11|    return res;
 4639|      0|error:
 4640|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4641|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4642|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4643|       |    return NULL;
 4644|     11|}
PyImport_ImportModuleLevel:
 4649|  51.9k|{
 4650|  51.9k|    PyObject *nameobj, *mod;
 4651|  51.9k|    nameobj = PyUnicode_FromString(name);
 4652|  51.9k|    if (nameobj == NULL)
  ------------------
  |  Branch (4652:9): [True: 0, False: 51.9k]
  ------------------
 4653|      0|        return NULL;
 4654|  51.9k|    mod = PyImport_ImportModuleLevelObject(nameobj, globals, locals,
 4655|  51.9k|                                           fromlist, level);
 4656|  51.9k|    Py_DECREF(nameobj);
  ------------------
  |  |  430|  51.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  51.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  51.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4657|  51.9k|    return mod;
 4658|  51.9k|}
PyImport_Import:
 4697|  52.0k|{
 4698|  52.0k|    PyThreadState *tstate = _PyThreadState_GET();
 4699|  52.0k|    PyObject *globals = NULL;
 4700|  52.0k|    PyObject *import = NULL;
 4701|  52.0k|    PyObject *builtins = NULL;
 4702|  52.0k|    PyObject *r = NULL;
 4703|       |
 4704|  52.0k|    PyObject *from_list = PyList_New(0);
 4705|  52.0k|    if (from_list == NULL) {
  ------------------
  |  Branch (4705:9): [True: 0, False: 52.0k]
  ------------------
 4706|      0|        goto err;
 4707|      0|    }
 4708|       |
 4709|       |    /* Get the builtins from current globals */
 4710|  52.0k|    globals = PyEval_GetGlobals();  // borrowed
 4711|  52.0k|    if (globals != NULL) {
  ------------------
  |  Branch (4711:9): [True: 98, False: 51.9k]
  ------------------
 4712|     98|        Py_INCREF(globals);
  ------------------
  |  |  310|     98|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     98|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     98|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4713|       |        // XXX Use _PyEval_EnsureBuiltins()?
 4714|     98|        builtins = PyObject_GetItem(globals, &_Py_ID(__builtins__));
  ------------------
  |  |  921|     98|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     98|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     98|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4715|     98|        if (builtins == NULL) {
  ------------------
  |  Branch (4715:13): [True: 0, False: 98]
  ------------------
 4716|       |            // XXX Fall back to interp->builtins or sys.modules['builtins']?
 4717|      0|            goto err;
 4718|      0|        }
 4719|     98|    }
 4720|  51.9k|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4720:14): [True: 0, False: 51.9k]
  ------------------
 4721|      0|        goto err;
 4722|      0|    }
 4723|  51.9k|    else {
 4724|       |        /* No globals -- use standard builtins, and fake globals */
 4725|  51.9k|        globals = PyDict_New();
 4726|  51.9k|        if (globals == NULL) {
  ------------------
  |  Branch (4726:13): [True: 0, False: 51.9k]
  ------------------
 4727|      0|            goto err;
 4728|      0|        }
 4729|  51.9k|        if (_PyEval_EnsureBuiltinsWithModule(tstate, globals, &builtins) < 0) {
  ------------------
  |  Branch (4729:13): [True: 0, False: 51.9k]
  ------------------
 4730|      0|            goto err;
 4731|      0|        }
 4732|  51.9k|    }
 4733|       |
 4734|       |    /* Get the __import__ function from the builtins */
 4735|  52.0k|    if (PyDict_Check(builtins)) {
  ------------------
  |  |   18|  52.0k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  52.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 98, False: 51.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4736|     98|        import = PyObject_GetItem(builtins, &_Py_ID(__import__));
  ------------------
  |  |  921|     98|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     98|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     98|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4737|     98|        if (import == NULL) {
  ------------------
  |  Branch (4737:13): [True: 0, False: 98]
  ------------------
 4738|      0|            _PyErr_SetObject(tstate, PyExc_KeyError, &_Py_ID(__import__));
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4739|      0|        }
 4740|     98|    }
 4741|  51.9k|    else
 4742|  51.9k|        import = PyObject_GetAttr(builtins, &_Py_ID(__import__));
  ------------------
  |  |  921|  51.9k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  51.9k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  51.9k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4743|  52.0k|    if (import == NULL)
  ------------------
  |  Branch (4743:9): [True: 0, False: 52.0k]
  ------------------
 4744|      0|        goto err;
 4745|       |
 4746|       |    /* Call the __import__ function with the proper argument list
 4747|       |       Always use absolute import here.
 4748|       |       Calling for side-effect of import. */
 4749|  52.0k|    r = PyObject_CallFunction(import, "OOOOi", module_name, globals,
 4750|  52.0k|                              globals, from_list, 0, NULL);
 4751|  52.0k|    if (r == NULL)
  ------------------
  |  Branch (4751:9): [True: 0, False: 52.0k]
  ------------------
 4752|      0|        goto err;
 4753|  52.0k|    Py_DECREF(r);
  ------------------
  |  |  430|  52.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4754|       |
 4755|  52.0k|    r = import_get_module(tstate, module_name);
 4756|  52.0k|    if (r == NULL && !_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4756:9): [True: 0, False: 52.0k]
  |  Branch (4756:22): [True: 0, False: 0]
  ------------------
 4757|      0|        _PyErr_SetObject(tstate, PyExc_KeyError, module_name);
 4758|      0|    }
 4759|       |
 4760|  52.0k|  err:
 4761|  52.0k|    Py_XDECREF(globals);
  ------------------
  |  |  524|  52.0k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4762|  52.0k|    Py_XDECREF(builtins);
  ------------------
  |  |  524|  52.0k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4763|  52.0k|    Py_XDECREF(import);
  ------------------
  |  |  524|  52.0k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4764|  52.0k|    Py_XDECREF(from_list);
  ------------------
  |  |  524|  52.0k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4765|       |
 4766|  52.0k|    return r;
 4767|  52.0k|}
_PyImport_Init:
 4776|      2|{
 4777|      2|    if (INITTAB != NULL) {
  ------------------
  |  |   80|      2|#define INITTAB _PyRuntime.imports.inittab
  ------------------
  |  Branch (4777:9): [True: 0, False: 2]
  ------------------
 4778|      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)}
  ------------------
 4779|      0|    }
 4780|      2|    if (init_builtin_modules_table() != 0) {
  ------------------
  |  Branch (4780:9): [True: 0, False: 2]
  ------------------
 4781|      0|        return PyStatus_NoMemory();
 4782|      0|    }
 4783|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4784|      2|}
_PyImport_InitCore:
 4816|      2|{
 4817|       |    // XXX Initialize here: interp->modules and interp->import_func.
 4818|       |    // XXX Initialize here: sys.modules and sys.meta_path.
 4819|       |
 4820|      2|    if (importlib) {
  ------------------
  |  Branch (4820:9): [True: 2, False: 0]
  ------------------
 4821|       |        /* This call sets up builtin and frozen import support */
 4822|      2|        if (init_importlib(tstate, sysmod) < 0) {
  ------------------
  |  Branch (4822:13): [True: 0, False: 2]
  ------------------
 4823|      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)}
  ------------------
 4824|      0|        }
 4825|      2|    }
 4826|       |
 4827|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4828|      2|}
_PyImport_InitExternal:
 4922|      2|{
 4923|      2|    int verbose = _PyInterpreterState_GetConfig(tstate->interp)->verbose;
 4924|       |
 4925|       |    // XXX Initialize here: sys.path_hooks and sys.path_importer_cache.
 4926|       |
 4927|      2|    if (init_importlib_external(tstate->interp) != 0) {
  ------------------
  |  Branch (4927:9): [True: 0, False: 2]
  ------------------
 4928|      0|        _PyErr_Print(tstate);
 4929|      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)}
  ------------------
 4930|      0|    }
 4931|       |
 4932|      2|    if (init_zipimport(tstate, verbose) != 0) {
  ------------------
  |  Branch (4932:9): [True: 0, False: 2]
  ------------------
 4933|      0|        PyErr_Print();
 4934|      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)}
  ------------------
 4935|      0|    }
 4936|       |
 4937|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4938|      2|}
PyImport_ImportModuleAttr:
 4964|  3.10k|{
 4965|  3.10k|    PyObject *mod = PyImport_Import(modname);
 4966|  3.10k|    if (mod == NULL) {
  ------------------
  |  Branch (4966:9): [True: 0, False: 3.10k]
  ------------------
 4967|      0|        return NULL;
 4968|      0|    }
 4969|  3.10k|    PyObject *result = PyObject_GetAttr(mod, attrname);
 4970|  3.10k|    Py_DECREF(mod);
  ------------------
  |  |  430|  3.10k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4971|  3.10k|    return result;
 4972|  3.10k|}
PyImport_ImportModuleAttrString:
 4976|  3.10k|{
 4977|  3.10k|    PyObject *pmodname = PyUnicode_FromString(modname);
 4978|  3.10k|    if (pmodname == NULL) {
  ------------------
  |  Branch (4978:9): [True: 0, False: 3.10k]
  ------------------
 4979|      0|        return NULL;
 4980|      0|    }
 4981|  3.10k|    PyObject *pattrname = PyUnicode_FromString(attrname);
 4982|  3.10k|    if (pattrname == NULL) {
  ------------------
  |  Branch (4982:9): [True: 0, False: 3.10k]
  ------------------
 4983|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4984|      0|        return NULL;
 4985|      0|    }
 4986|  3.10k|    PyObject *result = PyImport_ImportModuleAttr(pmodname, pattrname);
 4987|  3.10k|    Py_DECREF(pattrname);
  ------------------
  |  |  430|  3.10k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4988|  3.10k|    Py_DECREF(pmodname);
  ------------------
  |  |  430|  3.10k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4989|  3.10k|    return result;
 4990|  3.10k|}
PyImport_GetLazyImportsMode:
 5040|    272|{
 5041|    272|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5042|    272|    return FT_ATOMIC_LOAD_INT_RELAXED(LAZY_IMPORTS_MODE(interp));
  ------------------
  |  |  186|    272|#define FT_ATOMIC_LOAD_INT_RELAXED(value) value
  ------------------
 5043|    272|}
PyInit__imp:
 5731|      2|{
 5732|      2|    return PyModuleDef_Init(&imp_module);
 5733|      2|}
import.c:get_modules_dict:
  215|   939k|{
  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|   939k|    PyObject *modules = MODULES(tstate->interp);
  ------------------
  |  |   90|   939k|    (interp)->imports.modules
  ------------------
  222|   939k|    if (modules == NULL) {
  ------------------
  |  Branch (222:9): [True: 0, False: 939k]
  ------------------
  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|   939k|    return modules;
  231|   939k|}
import.c:import_get_module:
  258|   939k|{
  259|   939k|    PyObject *modules = get_modules_dict(tstate, false);
  260|   939k|    if (modules == NULL) {
  ------------------
  |  Branch (260:9): [True: 0, False: 939k]
  ------------------
  261|      0|        return NULL;
  262|      0|    }
  263|       |
  264|   939k|    PyObject *m;
  265|   939k|    Py_INCREF(modules);
  ------------------
  |  |  310|   939k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   939k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   939k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  266|   939k|    (void)PyMapping_GetOptionalItem(modules, name, &m);
  267|   939k|    Py_DECREF(modules);
  ------------------
  |  |  430|   939k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   939k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   939k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  268|   939k|    return m;
  269|   939k|}
import.c:import_ensure_initialized:
  291|   443k|{
  292|   443k|    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|   443k|    int rc = PyObject_GetOptionalAttr(mod, &_Py_ID(__spec__), &spec);
  ------------------
  |  |  921|   443k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   443k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   443k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  300|   443k|    if (rc > 0) {
  ------------------
  |  Branch (300:9): [True: 443k, False: 0]
  ------------------
  301|   443k|        rc = _PyModuleSpec_IsInitializing(spec);
  302|   443k|        Py_DECREF(spec);
  ------------------
  |  |  430|   443k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   443k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   443k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  303|   443k|    }
  304|   443k|    if (rc == 0) {
  ------------------
  |  Branch (304:9): [True: 443k, False: 22]
  ------------------
  305|   443k|        goto done;
  306|   443k|    }
  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);
  ------------------
  |  |  921|     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|   443k|done:
  320|       |    /* When -X importtime=2, print an import time entry even if an
  321|       |       imported module has already been loaded.
  322|       |     */
  323|   443k|    if (_PyInterpreterState_GetConfig(interp)->import_time == 2) {
  ------------------
  |  Branch (323:9): [True: 0, False: 443k]
  ------------------
  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|   443k|    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|     43|{
 1668|     43|    if (_Py_IsMainInterpreter(tstate->interp)) {
  ------------------
  |  Branch (1668:9): [True: 43, False: 0]
  ------------------
 1669|     43|        return tstate;
 1670|     43|    }
 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|     55|{
 1037|     55|    PyMutex_Lock(&_PyRuntime.imports.extensions.mutex);
  ------------------
  |  |   59|     55|#define PyMutex_Lock _PyMutex_Lock
  ------------------
 1038|     55|}
import.c:_extensions_cache_find_unlocked:
 1385|     55|{
 1386|     55|    if (EXTENSIONS.hashtable == NULL) {
  ------------------
  |  |   82|     55|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1386:9): [True: 4, False: 51]
  ------------------
 1387|      4|        return NULL;
 1388|      4|    }
 1389|     51|    void *key = hashtable_key_from_2_strings(path, name, HTSEP);
  ------------------
  |  | 1362|     51|#define HTSEP ':'
  ------------------
 1390|     51|    if (key == NULL) {
  ------------------
  |  Branch (1390:9): [True: 0, False: 51]
  ------------------
 1391|      0|        return NULL;
 1392|      0|    }
 1393|     51|    _Py_hashtable_entry_t *entry =
 1394|     51|            _Py_hashtable_get_entry(EXTENSIONS.hashtable, key);
  ------------------
  |  |   82|     51|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
 1395|     51|    if (p_key != NULL) {
  ------------------
  |  Branch (1395:9): [True: 4, False: 47]
  ------------------
 1396|      4|        *p_key = key;
 1397|      4|    }
 1398|     47|    else {
 1399|     47|        hashtable_destroy_str(key);
 1400|     47|    }
 1401|     51|    return entry;
 1402|     51|}
import.c:hashtable_key_from_2_strings:
 1281|     51|{
 1282|     51|    const char *str1_data = _PyUnicode_AsUTF8NoNUL(str1);
 1283|     51|    const char *str2_data = _PyUnicode_AsUTF8NoNUL(str2);
 1284|     51|    if (str1_data == NULL || str2_data == NULL) {
  ------------------
  |  Branch (1284:9): [True: 0, False: 51]
  |  Branch (1284:30): [True: 0, False: 51]
  ------------------
 1285|      0|        return NULL;
 1286|      0|    }
 1287|     51|    Py_ssize_t str1_len = strlen(str1_data);
 1288|     51|    Py_ssize_t str2_len = strlen(str2_data);
 1289|       |
 1290|       |    /* Make sure sep and the NULL byte won't cause an overflow. */
 1291|     51|    assert(SIZE_MAX - str1_len - str2_len > 2);
  ------------------
  |  Branch (1291:5): [True: 51, False: 0]
  ------------------
 1292|     51|    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|     51|    char *key = PyMem_RawMalloc(size);
 1296|     51|    if (key == NULL) {
  ------------------
  |  Branch (1296:9): [True: 0, False: 51]
  ------------------
 1297|      0|        PyErr_NoMemory();
 1298|      0|        return NULL;
 1299|      0|    }
 1300|       |
 1301|     51|    memcpy(key, str1_data, str1_len);
 1302|     51|    key[str1_len] = sep;
 1303|     51|    memcpy(key + str1_len + 1, str2_data, str2_len);
 1304|     51|    key[size - 1] = '\0';
 1305|     51|    assert(strlen(key) == size - 1);
  ------------------
  |  Branch (1305:5): [True: 51, False: 0]
  ------------------
 1306|     51|    return key;
 1307|     51|}
import.c:hashtable_destroy_str:
 1323|     47|{
 1324|     47|    PyMem_RawFree(ptr);
 1325|     47|}
import.c:extensions_lock_release:
 1042|     55|{
 1043|     55|    PyMutex_Unlock(&_PyRuntime.imports.extensions.mutex);
  ------------------
  |  |   70|     55|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
 1044|     55|}
import.c:is_core_module:
 1736|     51|{
 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|     51|    if (path == name) {
  ------------------
  |  Branch (1739:9): [True: 41, False: 10]
  ------------------
 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|     43|    return 0;
 1748|     51|}
import.c:_get_extension_kind:
 1753|     47|{
 1754|     47|    _Py_ext_module_kind kind;
 1755|     47|    if (def == NULL) {
  ------------------
  |  Branch (1755:9): [True: 0, False: 47]
  ------------------
 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|     47|    else if (def->m_slots != NULL) {
  ------------------
  |  Branch (1760:14): [True: 43, False: 4]
  ------------------
 1761|     43|        kind = _Py_ext_module_kind_MULTIPHASE;
 1762|     43|    }
 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|     47|    return kind;
 1775|     47|}
import.c:_extensions_cache_get:
 1407|     51|{
 1408|     51|    struct extensions_cache_value *value = NULL;
 1409|     51|    extensions_lock_acquire();
 1410|       |
 1411|     51|    _Py_hashtable_entry_t *entry =
 1412|     51|            _extensions_cache_find_unlocked(path, name, NULL);
 1413|     51|    if (entry == NULL) {
  ------------------
  |  Branch (1413:9): [True: 51, False: 0]
  ------------------
 1414|       |        /* It was never added. */
 1415|     51|        goto finally;
 1416|     51|    }
 1417|      0|    value = (struct extensions_cache_value *)entry->value;
 1418|       |
 1419|     51|finally:
 1420|     51|    extensions_lock_release();
 1421|     51|    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|     59|{
 1312|     59|    return Py_HashBuffer(key, strlen((const char *)key));
 1313|     59|}
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|     43|{
 2024|       |    /* Only single-phase init modules will be in the cache. */
 2025|     43|    struct extensions_cache_value *cached
 2026|     43|            = _extensions_cache_get(info->path, info->name);
 2027|     43|    if (cached == NULL) {
  ------------------
  |  Branch (2027:9): [True: 43, False: 0]
  ------------------
 2028|     43|        return NULL;
 2029|     43|    }
 2030|     43|    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|     43|{
 2099|       |    /* Core modules go through _PyImport_FixupBuiltin(). */
 2100|     43|    assert(!is_core_module(tstate->interp, info->name, info->path));
  ------------------
  |  Branch (2100:5): [True: 43, False: 0]
  ------------------
 2101|       |
 2102|     43|    PyObject *mod = NULL;
 2103|     43|    PyModuleDef *def = NULL;
 2104|     43|    struct extensions_cache_value *cached = NULL;
 2105|     43|    const char *name_buf = PyBytes_AS_STRING(info->name_encoded);
  ------------------
  |  |   27|     43|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     43|#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|     43|    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|     43|    PyThreadState *main_tstate = switch_to_main_interpreter(tstate);
 2156|     43|    if (main_tstate == NULL) {
  ------------------
  |  Branch (2156:9): [True: 0, False: 43]
  ------------------
 2157|      0|        return NULL;
 2158|      0|    }
 2159|     43|    else if (main_tstate != tstate) {
  ------------------
  |  Branch (2159:14): [True: 0, False: 43]
  ------------------
 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|     43|    struct _Py_ext_module_loader_result res;
 2167|     43|    int rc = _PyImport_RunModInitFunc(p0, info, &res);
 2168|     43|    bool main_error = false;
 2169|     43|    if (rc < 0) {
  ------------------
  |  Branch (2169:9): [True: 0, False: 43]
  ------------------
 2170|       |        /* We discard res.def. */
 2171|      0|        assert(res.module == NULL);
  ------------------
  |  Branch (2171:9): [True: 0, False: 0]
  ------------------
 2172|      0|    }
 2173|     43|    else {
 2174|     43|        assert(!PyErr_Occurred());
  ------------------
  |  Branch (2174:9): [True: 43, False: 0]
  ------------------
 2175|     43|        assert(res.err == NULL);
  ------------------
  |  Branch (2175:9): [True: 43, False: 0]
  ------------------
 2176|       |
 2177|     43|        mod = res.module;
 2178|     43|        res.module = NULL;
 2179|     43|        def = res.def;
 2180|     43|        assert(def != NULL);
  ------------------
  |  Branch (2180:9): [True: 43, False: 0]
  ------------------
 2181|       |
 2182|       |        /* Do anything else that should be done
 2183|       |         * while still using the main interpreter. */
 2184|     43|        if (res.kind == _Py_ext_module_kind_SINGLEPHASE) {
  ------------------
  |  Branch (2184:13): [True: 0, False: 43]
  ------------------
 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|     43|    }
 2245|       |
 2246|     43|main_finally:
 2247|     43|    if (rc < 0) {
  ------------------
  |  Branch (2247:9): [True: 0, False: 43]
  ------------------
 2248|      0|        _Py_ext_module_loader_result_apply_error(&res, name_buf);
 2249|      0|    }
 2250|       |
 2251|       |    /* Switch back to the subinterpreter. */
 2252|     43|    if (switched) {
  ------------------
  |  Branch (2252:9): [True: 0, False: 43]
  ------------------
 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|     43|    if (rc < 0) {
  ------------------
  |  Branch (2277:9): [True: 0, False: 43]
  ------------------
 2278|      0|        goto error;
 2279|      0|    }
 2280|     43|    if (main_error) {
  ------------------
  |  Branch (2280:9): [True: 0, False: 43]
  ------------------
 2281|      0|        goto error;
 2282|      0|    }
 2283|       |
 2284|     43|    if (res.kind == _Py_ext_module_kind_MULTIPHASE) {
  ------------------
  |  Branch (2284:9): [True: 43, False: 0]
  ------------------
 2285|     43|        assert_multiphase_def(def);
  ------------------
  |  | 1781|     43|    do {                                                            \
  |  | 1782|     43|        _Py_ext_module_kind kind = _get_extension_kind(def, false); \
  |  | 1783|     43|        assert(kind == _Py_ext_module_kind_MULTIPHASE               \
  |  | 1784|     43|                /* m_slots can be NULL. */                          \
  |  | 1785|     43|                || kind == _Py_ext_module_kind_UNKNOWN);            \
  |  | 1786|     43|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1786:14): [Folded, False: 43]
  |  |  ------------------
  ------------------
  |  Branch (2285:9): [True: 43, False: 0]
  |  Branch (2285:9): [True: 0, False: 0]
  ------------------
 2286|     43|        assert(mod == NULL);
  ------------------
  |  Branch (2286:9): [True: 43, False: 0]
  ------------------
 2287|       |        /* Note that we cheat a little by not repeating the calls
 2288|       |         * to _PyImport_GetModuleExportHooks() and _PyImport_RunModInitFunc(). */
 2289|     43|        mod = PyModule_FromDefAndSpec(def, spec);
  ------------------
  |  |   80|     43|    PyModule_FromDefAndSpec2((module), (spec), PYTHON_API_VERSION)
  |  |  ------------------
  |  |  |  |   59|     43|#define PYTHON_API_VERSION 1013
  |  |  ------------------
  ------------------
 2290|     43|        if (mod == NULL) {
  ------------------
  |  Branch (2290:13): [True: 0, False: 43]
  ------------------
 2291|      0|            goto error;
 2292|      0|        }
 2293|     43|    }
 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|     43|    _Py_ext_module_loader_result_clear(&res);
 2330|     43|    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|     43|}
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__));
  ------------------
  |  |  921|      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());
  ------------------
  |  |  921|      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|    349|{
 3167|    349|    if (info != NULL) {
  ------------------
  |  Branch (3167:9): [True: 349, False: 0]
  ------------------
 3168|    349|        memset(info, 0, sizeof(*info));
 3169|    349|    }
 3170|       |
 3171|    349|    if (nameobj == NULL || nameobj == Py_None) {
  ------------------
  |  |  616|    349|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3171:9): [True: 0, False: 349]
  |  Branch (3171:28): [True: 0, False: 349]
  ------------------
 3172|      0|        return FROZEN_BAD_NAME;
 3173|      0|    }
 3174|    349|    const char *name = _PyUnicode_AsUTF8NoNUL(nameobj);
 3175|    349|    if (name == NULL) {
  ------------------
  |  Branch (3175:9): [True: 0, False: 349]
  ------------------
 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|    349|    const struct _frozen *p = look_up_frozen(name);
 3185|    349|    if (p == NULL) {
  ------------------
  |  Branch (3185:9): [True: 279, False: 70]
  ------------------
 3186|    279|        return FROZEN_NOT_FOUND;
 3187|    279|    }
 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|    349|{
 3110|    349|    const struct _frozen *p;
 3111|       |    // We always use the bootstrap modules.
 3112|  1.36k|    for (p = _PyImport_FrozenBootstrap; ; p++) {
 3113|  1.36k|        if (p->name == NULL) {
  ------------------
  |  Branch (3113:13): [True: 335, False: 1.03k]
  ------------------
 3114|       |            // We hit the end-of-list sentinel value.
 3115|    335|            break;
 3116|    335|        }
 3117|  1.03k|        if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3117:13): [True: 14, False: 1.01k]
  ------------------
 3118|     14|            return p;
 3119|     14|        }
 3120|  1.03k|    }
 3121|       |    // Prefer custom modules, if any.  Frozen stdlib modules can be
 3122|       |    // disabled here by setting "code" to NULL in the array entry.
 3123|    335|    if (PyImport_FrozenModules != NULL) {
  ------------------
  |  Branch (3123:9): [True: 0, False: 335]
  ------------------
 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|    335|    if (use_frozen()) {
  ------------------
  |  Branch (3134:9): [True: 335, False: 0]
  ------------------
 3135|  6.34k|        for (p = _PyImport_FrozenStdlib; ; p++) {
 3136|  6.34k|            if (p->name == NULL) {
  ------------------
  |  Branch (3136:17): [True: 279, False: 6.07k]
  ------------------
 3137|    279|                break;
 3138|    279|            }
 3139|  6.07k|            if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3139:17): [True: 56, False: 6.01k]
  ------------------
 3140|     56|                return p;
 3141|     56|            }
 3142|  6.07k|        }
 3143|  3.34k|        for (p = _PyImport_FrozenTest; ; p++) {
 3144|  3.34k|            if (p->name == NULL) {
  ------------------
  |  Branch (3144:17): [True: 279, False: 3.06k]
  ------------------
 3145|    279|                break;
 3146|    279|            }
 3147|  3.06k|            if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3147:17): [True: 0, False: 3.06k]
  ------------------
 3148|      0|                return p;
 3149|      0|            }
 3150|  3.06k|        }
 3151|    279|    }
 3152|    279|    return NULL;
 3153|    335|}
import.c:use_frozen:
 2968|    335|{
 2969|    335|    PyInterpreterState *interp = _PyInterpreterState_GET();
 2970|    335|    int override = OVERRIDE_FROZEN_MODULES(interp);
  ------------------
  |  |  102|    335|    (interp)->imports.override_frozen_modules
  ------------------
 2971|    335|    if (override > 0) {
  ------------------
  |  Branch (2971:9): [True: 0, False: 335]
  ------------------
 2972|      0|        return true;
 2973|      0|    }
 2974|    335|    else if (override < 0) {
  ------------------
  |  Branch (2974:14): [True: 0, False: 335]
  ------------------
 2975|      0|        return false;
 2976|      0|    }
 2977|    335|    else {
 2978|    335|        return interp->config.use_frozen_modules;
 2979|    335|    }
 2980|    335|}
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|    184|{
 3662|    184|    const char *importlib_filename = "<frozen importlib._bootstrap>";
 3663|    184|    const char *external_filename = "<frozen importlib._bootstrap_external>";
 3664|    184|    const char *remove_frames = "_call_with_frames_removed";
 3665|    184|    int always_trim = 0;
 3666|    184|    int in_importlib = 0;
 3667|    184|    PyObject **prev_link, **outer_link = NULL;
 3668|    184|    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|    184|    PyObject *exc = _PyErr_GetRaisedException(tstate);
 3675|    184|    if (exc == NULL || _PyInterpreterState_GetConfig(tstate->interp)->verbose) {
  ------------------
  |  Branch (3675:9): [True: 0, False: 184]
  |  Branch (3675:24): [True: 0, False: 184]
  ------------------
 3676|      0|        goto done;
 3677|      0|    }
 3678|       |
 3679|    184|    if (PyType_IsSubtype(Py_TYPE(exc), (PyTypeObject *) PyExc_ImportError)) {
  ------------------
  |  |  213|    184|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    184|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    184|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3679:9): [True: 184, False: 0]
  ------------------
 3680|    184|        always_trim = 1;
 3681|    184|    }
 3682|       |
 3683|    184|    assert(PyExceptionInstance_Check(exc));
  ------------------
  |  Branch (3683:5): [True: 184, False: 0]
  ------------------
 3684|    184|    base_tb = PyException_GetTraceback(exc);
 3685|    184|    prev_link = &base_tb;
 3686|    184|    PyObject *tb = base_tb;
 3687|    552|    while (tb != NULL) {
  ------------------
  |  Branch (3687:12): [True: 368, False: 184]
  ------------------
 3688|    368|        assert(PyTraceBack_Check(tb));
  ------------------
  |  Branch (3688:9): [True: 368, False: 0]
  ------------------
 3689|    368|        PyTracebackObject *traceback = (PyTracebackObject *)tb;
 3690|    368|        PyObject *next = (PyObject *) traceback->tb_next;
 3691|    368|        PyFrameObject *frame = traceback->tb_frame;
 3692|    368|        PyCodeObject *code = PyFrame_GetCode(frame);
 3693|    368|        int now_in_importlib;
 3694|       |
 3695|    368|        now_in_importlib = _PyUnicode_EqualToASCIIString(code->co_filename, importlib_filename) ||
  ------------------
  |  Branch (3695:28): [True: 368, False: 0]
  ------------------
 3696|      0|                           _PyUnicode_EqualToASCIIString(code->co_filename, external_filename);
  ------------------
  |  Branch (3696:28): [True: 0, False: 0]
  ------------------
 3697|    368|        if (now_in_importlib && !in_importlib) {
  ------------------
  |  Branch (3697:13): [True: 368, False: 0]
  |  Branch (3697:33): [True: 184, False: 184]
  ------------------
 3698|       |            /* This is the link to this chunk of importlib tracebacks */
 3699|    184|            outer_link = prev_link;
 3700|    184|        }
 3701|    368|        in_importlib = now_in_importlib;
 3702|       |
 3703|    368|        if (in_importlib &&
  ------------------
  |  Branch (3703:13): [True: 368, False: 0]
  ------------------
 3704|    368|            (always_trim ||
  ------------------
  |  Branch (3704:14): [True: 368, False: 0]
  ------------------
 3705|    368|             _PyUnicode_EqualToASCIIString(code->co_name, remove_frames))) {
  ------------------
  |  Branch (3705:14): [True: 0, False: 0]
  ------------------
 3706|    368|            Py_XSETREF(*outer_link, Py_XNewRef(next));
  ------------------
  |  |  376|    368|    do { \
  |  |  377|    368|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    368|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|    368|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    368|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|    368|        *_tmp_dst_ptr = (src); \
  |  |  380|    368|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    368|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    368|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    368|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|    368|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 368]
  |  |  ------------------
  ------------------
 3707|    368|            prev_link = outer_link;
 3708|    368|        }
 3709|      0|        else {
 3710|      0|            prev_link = (PyObject **) &traceback->tb_next;
 3711|      0|        }
 3712|    368|        Py_DECREF(code);
  ------------------
  |  |  430|    368|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    368|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    368|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3713|    368|        tb = next;
 3714|    368|    }
 3715|    184|    if (base_tb == NULL) {
  ------------------
  |  Branch (3715:9): [True: 184, False: 0]
  ------------------
 3716|    184|        base_tb = Py_None;
  ------------------
  |  |  616|    184|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3717|    184|        Py_INCREF(Py_None);
  ------------------
  |  |  310|    184|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    184|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    184|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3718|    184|    }
 3719|    184|    PyException_SetTraceback(exc, base_tb);
 3720|    184|done:
 3721|    184|    Py_XDECREF(base_tb);
  ------------------
  |  |  524|    184|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    184|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    184|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3722|    184|    _PyErr_SetRaisedException(tstate, exc);
 3723|    184|}
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) {
  ------------------
  |  |  921|     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) {
  ------------------
  |  |  921|     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));
  ------------------
  |  |  921|     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));
  ------------------
  |  |  921|      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) {
  ------------------
  |  |  921|      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__));
  ------------------
  |  |  921|      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);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359: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:
 4173|   298k|{
 4174|   298k|    if (level > 0) {
  ------------------
  |  Branch (4174:9): [True: 12, False: 298k]
  ------------------
 4175|     12|        return resolve_name(tstate, name, globals, level);
 4176|     12|    }
 4177|   298k|    if (PyUnicode_GET_LENGTH(name) == 0) {
  ------------------
  |  |  299|   298k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   298k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   298k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4177:9): [True: 0, False: 298k]
  ------------------
 4178|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "Empty module name");
 4179|      0|        return NULL;
 4180|      0|    }
 4181|   298k|    return Py_NewRef(name);
  ------------------
  |  |  550|   298k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   298k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   298k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4182|   298k|}
import.c:import_find_and_load:
 4165|    336|{
 4166|    336|    return import_find_and_load_with_name(
 4167|    336|        tstate, abs_name, &_Py_ID(_find_and_load), NULL);
  ------------------
  |  |  921|    336|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    336|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    336|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4168|    336|}
import.c:import_find_and_load_with_name:
 4109|    336|{
 4110|    336|    PyObject *mod = NULL;
 4111|    336|    PyInterpreterState *interp = tstate->interp;
 4112|    336|    int import_time = _PyInterpreterState_GetConfig(interp)->import_time;
 4113|    336|#define import_level FIND_AND_LOAD(interp).import_level
 4114|    336|#define accumulated FIND_AND_LOAD(interp).accumulated
 4115|       |
 4116|    336|    PyTime_t t1 = 0, accumulated_copy = accumulated;
  ------------------
  |  | 4114|    336|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  117|    336|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4117|       |
 4118|       |    /* XOptions is initialized after first some imports.
 4119|       |     * So we can't have negative cache before completed initialization.
 4120|       |     * Anyway, importlib._find_and_load is much slower than
 4121|       |     * _PyDict_GetItemIdWithError().
 4122|       |     */
 4123|    336|    if (import_time) {
  ------------------
  |  Branch (4123:9): [True: 0, False: 336]
  ------------------
 4124|      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]
  |  |  ------------------
  ------------------
 4125|       |
 4126|      0|        import_level++;
  ------------------
  |  | 4113|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4127|       |        // ignore error: don't block import if reading the clock fails
 4128|      0|        (void)PyTime_PerfCounterRaw(&t1);
 4129|      0|        accumulated = 0;
  ------------------
  |  | 4114|      0|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4130|      0|    }
 4131|       |
 4132|    336|    if (PyDTrace_IMPORT_FIND_LOAD_START_ENABLED())
  ------------------
  |  Branch (4132:9): [True: 0, False: 336]
  ------------------
 4133|      0|        PyDTrace_IMPORT_FIND_LOAD_START(PyUnicode_AsUTF8(abs_name));
 4134|       |
 4135|    336|    mod = PyObject_CallMethodObjArgs(IMPORTLIB(interp), find_and_load,
  ------------------
  |  |   98|    336|    (interp)->imports.importlib
  ------------------
 4136|    336|                                     abs_name, IMPORT_FUNC(interp), NULL);
  ------------------
  |  |  108|    336|    (interp)->imports.import_func
  ------------------
 4137|       |
 4138|    336|    if (PyDTrace_IMPORT_FIND_LOAD_DONE_ENABLED()) {
  ------------------
  |  Branch (4138:9): [True: 0, False: 336]
  ------------------
 4139|      0|        int found = mod != NULL && mod != not_found;
  ------------------
  |  Branch (4139:21): [True: 0, False: 0]
  |  Branch (4139:36): [True: 0, False: 0]
  ------------------
 4140|      0|        PyDTrace_IMPORT_FIND_LOAD_DONE(PyUnicode_AsUTF8(abs_name),
 4141|      0|                                       found);
 4142|      0|    }
 4143|       |
 4144|    336|    if (import_time) {
  ------------------
  |  Branch (4144:9): [True: 0, False: 336]
  ------------------
 4145|      0|        PyTime_t t2;
 4146|      0|        (void)PyTime_PerfCounterRaw(&t2);
 4147|      0|        PyTime_t cum = t2 - t1;
 4148|       |
 4149|      0|        import_level--;
  ------------------
  |  | 4113|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4150|      0|        fprintf(stderr, "import time: %9ld | %10ld | %*s%s\n",
 4151|      0|                (long)_PyTime_AsMicroseconds(cum - accumulated, _PyTime_ROUND_CEILING),
  ------------------
  |  | 4114|      0|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4152|      0|                (long)_PyTime_AsMicroseconds(cum, _PyTime_ROUND_CEILING),
 4153|      0|                import_level*2, "", PyUnicode_AsUTF8(abs_name));
  ------------------
  |  | 4113|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4154|       |
 4155|      0|        accumulated = accumulated_copy + cum;
  ------------------
  |  | 4114|      0|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4156|      0|    }
 4157|       |
 4158|    336|    return mod;
 4159|    336|#undef import_level
 4160|    336|#undef accumulated
 4161|    336|}
import.c:register_from_lazy_on_parent:
 4435|      2|{
 4436|      2|    PyObject *fromname = PyUnicode_FromFormat("%U.%U", abs_name, from);
 4437|      2|    if (fromname == NULL) {
  ------------------
  |  Branch (4437:9): [True: 0, False: 2]
  ------------------
 4438|      0|        return -1;
 4439|      0|    }
 4440|       |
 4441|       |    // Add the module name to sys.lazy_modules set (PEP 810).
 4442|      2|    PyObject *lazy_modules = LAZY_MODULES(tstate->interp);
  ------------------
  |  |   94|      2|    (interp)->imports.lazy_modules
  ------------------
 4443|      2|    if (PySet_Add(lazy_modules, fromname) < 0) {
  ------------------
  |  Branch (4443:9): [True: 0, False: 2]
  ------------------
 4444|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4445|      0|        return -1;
 4446|      0|    }
 4447|       |
 4448|      2|    int res = register_lazy_on_parent(tstate, fromname);
 4449|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4450|      2|    return res;
 4451|      2|}
import.c:register_lazy_on_parent:
 4376|     11|{
 4377|     11|    int ret = -1;
 4378|     11|    PyObject *parent = NULL;
 4379|     11|    PyObject *child = NULL;
 4380|       |
 4381|     11|    PyInterpreterState *interp = tstate->interp;
 4382|     11|    PyObject *lazy_pending_submodules = LAZY_PENDING_SUBMODULES(interp);
  ------------------
  |  |   96|     11|    (interp)->imports.lazy_pending_submodules
  ------------------
 4383|     11|    assert(lazy_pending_submodules != NULL);
  ------------------
  |  Branch (4383:5): [True: 11, False: 0]
  ------------------
 4384|       |
 4385|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4386|     13|    while (true) {
  ------------------
  |  Branch (4386:12): [True: 13, Folded]
  ------------------
 4387|     13|        Py_ssize_t dot = PyUnicode_FindChar(name, '.', 0,
 4388|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4389|     13|        if (dot < 0) {
  ------------------
  |  Branch (4389:13): [True: 11, False: 2]
  ------------------
 4390|     11|            PyObject *lazy_submodules = ensure_lazy_pending_submodules(
 4391|     11|                (PyDictObject *)lazy_pending_submodules, name);
 4392|     11|            if (lazy_submodules == NULL) {
  ------------------
  |  Branch (4392:17): [True: 0, False: 11]
  ------------------
 4393|      0|                goto done;
 4394|      0|            }
 4395|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4396|     11|            ret = 0;
 4397|     11|            goto done;
 4398|     11|        }
 4399|      2|        parent = PyUnicode_Substring(name, 0, dot);
 4400|      2|        if (parent == NULL) {
  ------------------
  |  Branch (4400:13): [True: 0, False: 2]
  ------------------
 4401|      0|            goto done;
 4402|      0|        }
 4403|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4404|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4405|      2|        if (child == NULL) {
  ------------------
  |  Branch (4405:13): [True: 0, False: 2]
  ------------------
 4406|      0|            goto done;
 4407|      0|        }
 4408|       |
 4409|      2|        PyObject *lazy_submodules = ensure_lazy_pending_submodules(
 4410|      2|            (PyDictObject *)lazy_pending_submodules, parent);
 4411|      2|        if (lazy_submodules == NULL) {
  ------------------
  |  Branch (4411:13): [True: 0, False: 2]
  ------------------
 4412|      0|            goto done;
 4413|      0|        }
 4414|       |
 4415|      2|        if (PySet_Add(lazy_submodules, child) < 0) {
  ------------------
  |  Branch (4415:13): [True: 0, False: 2]
  ------------------
 4416|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4417|      0|            goto done;
 4418|      0|        }
 4419|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4420|       |
 4421|      2|        Py_SETREF(name, parent);
  ------------------
  |  |  354|      2|    do { \
  |  |  355|      2|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      2|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      2|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      2|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4422|      2|        parent = NULL;
 4423|      2|    }
 4424|       |
 4425|     11|done:
 4426|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4427|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4428|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4429|     11|    return ret;
 4430|     11|}
import.c:ensure_lazy_pending_submodules:
 4352|     13|{
 4353|     13|    PyObject *lazy_submodules;
 4354|     13|    Py_BEGIN_CRITICAL_SECTION(lazy_modules);
  ------------------
  |  |   51|     13|    {
  ------------------
 4355|     13|    int err = _PyDict_GetItemRef_Unicode_LockHeld(lazy_modules, parent,
 4356|     13|                                                  &lazy_submodules);
 4357|     13|    if (err == 0) {
  ------------------
  |  Branch (4357:9): [True: 11, False: 2]
  ------------------
 4358|       |        // value isn't present
 4359|     11|        lazy_submodules = PySet_New(NULL);
 4360|     11|        if (lazy_submodules != NULL &&
  ------------------
  |  Branch (4360:13): [True: 11, False: 0]
  ------------------
 4361|     11|            _PyDict_SetItem_LockHeld(lazy_modules, parent,
  ------------------
  |  Branch (4361:13): [True: 0, False: 11]
  ------------------
 4362|     11|                                     lazy_submodules) < 0) {
 4363|      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]
  |  |  ------------------
  ------------------
 4364|      0|        }
 4365|     11|    }
 4366|     13|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     13|    }
  ------------------
 4367|     13|    return lazy_submodules;
 4368|     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|     43|exec_builtin_or_dynamic(PyObject *mod) {
  925|     43|    void *state;
  926|       |
  927|     43|    if (!PyModule_Check(mod)) {
  ------------------
  |  |   12|     43|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|     43|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (927:9): [True: 0, False: 43]
  ------------------
  928|      0|        return 0;
  929|      0|    }
  930|       |
  931|     43|    state = PyModule_GetState(mod);
  932|     43|    if (state) {
  ------------------
  |  Branch (932:9): [True: 0, False: 43]
  ------------------
  933|       |        /* Already initialized; skip reload */
  934|      0|        return 0;
  935|      0|    }
  936|       |
  937|     43|    return PyModule_Exec(mod);
  938|     43|}
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:
 4886|      2|{
 4887|      2|    PyObject *path_hooks = PySys_GetAttrString("path_hooks");
 4888|      2|    if (path_hooks == NULL) {
  ------------------
  |  Branch (4888:9): [True: 0, False: 2]
  ------------------
 4889|      0|        return -1;
 4890|      0|    }
 4891|       |
 4892|      2|    if (verbose) {
  ------------------
  |  Branch (4892:9): [True: 0, False: 2]
  ------------------
 4893|      0|        PySys_WriteStderr("# installing zipimport hook\n");
 4894|      0|    }
 4895|       |
 4896|      2|    PyObject *zipimporter = PyImport_ImportModuleAttrString("zipimport", "zipimporter");
 4897|      2|    if (zipimporter == NULL) {
  ------------------
  |  Branch (4897:9): [True: 0, False: 2]
  ------------------
 4898|      0|        _PyErr_Clear(tstate); /* No zipimporter object -- okay */
 4899|      0|        if (verbose) {
  ------------------
  |  Branch (4899:13): [True: 0, False: 0]
  ------------------
 4900|      0|            PySys_WriteStderr("# can't import zipimport.zipimporter\n");
 4901|      0|        }
 4902|      0|    }
 4903|      2|    else {
 4904|       |        /* sys.path_hooks.insert(0, zipimporter) */
 4905|      2|        int err = PyList_Insert(path_hooks, 0, zipimporter);
 4906|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4907|      2|        if (err < 0) {
  ------------------
  |  Branch (4907:13): [True: 0, False: 2]
  ------------------
 4908|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4909|      0|            return -1;
 4910|      0|        }
 4911|      2|        if (verbose) {
  ------------------
  |  Branch (4911:13): [True: 0, False: 2]
  ------------------
 4912|      0|            PySys_WriteStderr("# installed zipimport hook\n");
 4913|      0|        }
 4914|      2|    }
 4915|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4916|       |
 4917|      2|    return 0;
 4918|      2|}
import.c:_imp_extension_suffixes_impl:
 5181|      4|{
 5182|      4|    PyObject *list;
 5183|       |
 5184|      4|    list = PyList_New(0);
 5185|      4|    if (list == NULL)
  ------------------
  |  Branch (5185:9): [True: 0, False: 4]
  ------------------
 5186|      0|        return NULL;
 5187|      4|#ifdef HAVE_DYNAMIC_LOADING
 5188|      4|    const char *suffix;
 5189|      4|    unsigned int index = 0;
 5190|       |
 5191|     28|    while ((suffix = _PyImport_DynLoadFiletab[index])) {
  ------------------
  |  Branch (5191:12): [True: 24, False: 4]
  ------------------
 5192|     24|        PyObject *item = PyUnicode_FromString(suffix);
 5193|     24|        if (item == NULL) {
  ------------------
  |  Branch (5193:13): [True: 0, False: 24]
  ------------------
 5194|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5195|      0|            return NULL;
 5196|      0|        }
 5197|     24|        if (PyList_Append(list, item) < 0) {
  ------------------
  |  Branch (5197:13): [True: 0, False: 24]
  ------------------
 5198|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5199|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5200|      0|            return NULL;
 5201|      0|        }
 5202|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5203|     24|        index += 1;
 5204|     24|    }
 5205|      4|#endif
 5206|      4|    return list;
 5207|      4|}
import.c:_imp_acquire_lock_impl:
 5078|  1.62k|{
 5079|  1.62k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5080|  1.62k|    _PyImport_AcquireLock(interp);
 5081|  1.62k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  1.62k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  1.62k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5082|  1.62k|}
import.c:_imp_release_lock_impl:
 5095|  1.62k|{
 5096|  1.62k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5097|  1.62k|    if (!_PyRecursiveMutex_IsLockedByCurrentThread(&IMPORT_LOCK(interp))) {
  ------------------
  |  |  114|  1.62k|    (interp)->imports.lock
  ------------------
  |  Branch (5097:9): [True: 0, False: 1.62k]
  ------------------
 5098|      0|        PyErr_SetString(PyExc_RuntimeError,
 5099|      0|                        "not holding the import lock");
 5100|      0|        return NULL;
 5101|      0|    }
 5102|  1.62k|    _PyImport_ReleaseLock(interp);
 5103|  1.62k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  1.62k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  1.62k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5104|  1.62k|}
import.c:_imp_find_frozen_impl:
 5257|    311|{
 5258|    311|    struct frozen_info info;
 5259|    311|    frozen_status status = find_frozen(name, &info);
 5260|    311|    if (status == FROZEN_NOT_FOUND || status == FROZEN_DISABLED) {
  ------------------
  |  Branch (5260:9): [True: 279, False: 32]
  |  Branch (5260:39): [True: 0, False: 32]
  ------------------
 5261|    279|        Py_RETURN_NONE;
  ------------------
  |  |  628|    279|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    279|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5262|    279|    }
 5263|     32|    else if (status == FROZEN_BAD_NAME) {
  ------------------
  |  Branch (5263:14): [True: 0, False: 32]
  ------------------
 5264|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5265|      0|    }
 5266|     32|    else if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (5266:14): [True: 0, False: 32]
  ------------------
 5267|      0|        set_frozen_error(status, name);
 5268|      0|        return NULL;
 5269|      0|    }
 5270|       |
 5271|     32|    PyObject *data = NULL;
 5272|     32|    if (withdata) {
  ------------------
  |  Branch (5272:9): [True: 0, False: 32]
  ------------------
 5273|      0|        data = PyMemoryView_FromMemory((char *)info.data, info.size, PyBUF_READ);
  ------------------
  |  |  137|      0|#define PyBUF_READ  0x100
  ------------------
 5274|      0|        if (data == NULL) {
  ------------------
  |  Branch (5274:13): [True: 0, False: 0]
  ------------------
 5275|      0|            return NULL;
 5276|      0|        }
 5277|      0|    }
 5278|       |
 5279|     32|    PyObject *origname = NULL;
 5280|     32|    if (info.origname != NULL && info.origname[0] != '\0') {
  ------------------
  |  Branch (5280:9): [True: 32, False: 0]
  |  Branch (5280:34): [True: 32, False: 0]
  ------------------
 5281|     32|        origname = PyUnicode_FromString(info.origname);
 5282|     32|        if (origname == NULL) {
  ------------------
  |  Branch (5282:13): [True: 0, False: 32]
  ------------------
 5283|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5284|      0|            return NULL;
 5285|      0|        }
 5286|     32|    }
 5287|       |
 5288|     32|    PyObject *result = PyTuple_Pack(3, data ? data : Py_None,
  ------------------
  |  |  616|     32|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5288:40): [True: 0, False: 32]
  ------------------
 5289|     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 (5289:37): [True: 2, False: 30]
  ------------------
 5290|     32|                                    origname ? origname : Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5290:37): [True: 32, False: 0]
  ------------------
 5291|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5292|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5293|     32|    return result;
 5294|     32|}
import.c:_imp_get_frozen_object_impl:
 5310|     32|{
 5311|     32|    struct frozen_info info = {0};
 5312|     32|    Py_buffer buf = {0};
 5313|     32|    if (PyObject_CheckBuffer(dataobj)) {
  ------------------
  |  Branch (5313:9): [True: 0, False: 32]
  ------------------
 5314|      0|        if (PyObject_GetBuffer(dataobj, &buf, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (5314:13): [True: 0, False: 0]
  ------------------
 5315|      0|            return NULL;
 5316|      0|        }
 5317|      0|        info.data = (const char *)buf.buf;
 5318|      0|        info.size = buf.len;
 5319|      0|    }
 5320|     32|    else if (dataobj != Py_None) {
  ------------------
  |  |  616|     32|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5320:14): [True: 0, False: 32]
  ------------------
 5321|      0|        _PyArg_BadArgument("get_frozen_object", "argument 2", "bytes", dataobj);
 5322|      0|        return NULL;
 5323|      0|    }
 5324|     32|    else {
 5325|     32|        frozen_status status = find_frozen(name, &info);
 5326|     32|        if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (5326:13): [True: 0, False: 32]
  ------------------
 5327|      0|            set_frozen_error(status, name);
 5328|      0|            return NULL;
 5329|      0|        }
 5330|     32|    }
 5331|       |
 5332|     32|    if (info.nameobj == NULL) {
  ------------------
  |  Branch (5332:9): [True: 0, False: 32]
  ------------------
 5333|      0|        info.nameobj = name;
 5334|      0|    }
 5335|     32|    if (info.size == 0) {
  ------------------
  |  Branch (5335:9): [True: 0, False: 32]
  ------------------
 5336|       |        /* Does not contain executable code. */
 5337|      0|        set_frozen_error(FROZEN_INVALID, name);
 5338|      0|        return NULL;
 5339|      0|    }
 5340|       |
 5341|     32|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5342|     32|    PyObject *codeobj = unmarshal_frozen_code(interp, &info);
 5343|     32|    if (dataobj != Py_None) {
  ------------------
  |  |  616|     32|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5343:9): [True: 0, False: 32]
  ------------------
 5344|      0|        PyBuffer_Release(&buf);
 5345|      0|    }
 5346|     32|    return codeobj;
 5347|     32|}
import.c:_imp_is_frozen_package_impl:
 5361|      2|{
 5362|      2|    struct frozen_info info;
 5363|      2|    frozen_status status = find_frozen(name, &info);
 5364|      2|    if (status != FROZEN_OKAY && status != FROZEN_EXCLUDED) {
  ------------------
  |  Branch (5364:9): [True: 0, False: 2]
  |  Branch (5364:34): [True: 0, False: 0]
  ------------------
 5365|      0|        set_frozen_error(status, name);
 5366|      0|        return NULL;
 5367|      0|    }
 5368|      2|    return PyBool_FromLong(info.is_package);
 5369|      2|}
import.c:_imp_create_builtin:
 5144|     31|{
 5145|     31|    PyThreadState *tstate = _PyThreadState_GET();
 5146|       |
 5147|     31|    PyObject *name = PyObject_GetAttrString(spec, "name");
 5148|     31|    if (name == NULL) {
  ------------------
  |  Branch (5148:9): [True: 0, False: 31]
  ------------------
 5149|      0|        return NULL;
 5150|      0|    }
 5151|       |
 5152|     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 (5152:9): [True: 0, False: 31]
  ------------------
 5153|      0|        PyErr_Format(PyExc_TypeError,
 5154|      0|                     "name must be string, not %.200s",
 5155|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5156|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5157|      0|        return NULL;
 5158|      0|    }
 5159|       |
 5160|     31|    if (PyUnicode_GetLength(name) == 0) {
  ------------------
  |  Branch (5160:9): [True: 0, False: 31]
  ------------------
 5161|      0|        PyErr_Format(PyExc_ValueError, "name must not be empty");
 5162|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5163|      0|        return NULL;
 5164|      0|    }
 5165|       |
 5166|     31|    PyObject *mod = create_builtin(tstate, name, spec, NULL);
 5167|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5168|     31|    return mod;
 5169|     31|}
import.c:_imp_is_builtin_impl:
 5383|    342|{
 5384|    342|    return PyLong_FromLong(is_builtin(name));
 5385|    342|}
import.c:is_builtin:
 2458|    342|{
 2459|    342|    int i;
 2460|    342|    struct _inittab *inittab = INITTAB;
  ------------------
  |  |   80|    342|#define INITTAB _PyRuntime.imports.inittab
  ------------------
 2461|  12.7k|    for (i = 0; inittab[i].name != NULL; i++) {
  ------------------
  |  Branch (2461:17): [True: 12.4k, False: 311]
  ------------------
 2462|  12.4k|        if (_PyUnicode_EqualToASCIIString(name, inittab[i].name)) {
  ------------------
  |  Branch (2462:13): [True: 31, False: 12.3k]
  ------------------
 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|  12.4k|    }
 2469|    311|    return 0;
 2470|    342|}
import.c:_imp_is_frozen_impl:
 5399|      2|{
 5400|      2|    struct frozen_info info;
 5401|      2|    frozen_status status = find_frozen(name, &info);
 5402|      2|    if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (5402:9): [True: 0, False: 2]
  ------------------
 5403|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5404|      0|    }
 5405|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5406|      2|}
import.c:_imp_create_dynamic_impl:
 5493|     10|{
 5494|     10|    FILE *fp = NULL;
 5495|     10|    PyObject *mod = NULL;
 5496|     10|    PyThreadState *tstate = _PyThreadState_GET();
 5497|       |
 5498|     10|    struct _Py_ext_module_loader_info info;
 5499|     10|    if (_Py_ext_module_loader_info_init_from_spec(&info, spec) < 0) {
  ------------------
  |  Branch (5499:9): [True: 0, False: 10]
  ------------------
 5500|      0|        return NULL;
 5501|      0|    }
 5502|       |
 5503|     10|    struct extensions_cache_value *cached = NULL;
 5504|     10|    mod = import_find_extension(tstate, &info, &cached);
 5505|     10|    if (mod != NULL) {
  ------------------
  |  Branch (5505:9): [True: 0, False: 10]
  ------------------
 5506|      0|        assert(!_PyErr_Occurred(tstate));
  ------------------
  |  Branch (5506:9): [True: 0, False: 0]
  ------------------
 5507|      0|        assert(cached != NULL);
  ------------------
  |  Branch (5507:9): [True: 0, False: 0]
  ------------------
 5508|       |        /* The module might not have md_def set in certain reload cases. */
 5509|      0|        assert(_PyModule_GetDefOrNull(mod) == NULL
  ------------------
  |  Branch (5509:9): [True: 0, False: 0]
  |  Branch (5509:9): [True: 0, False: 0]
  ------------------
 5510|      0|                || cached->def == _PyModule_GetDefOrNull(mod));
 5511|      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 (5511:9): [True: 0, False: 0]
  ------------------
 5512|      0|        goto finally;
 5513|      0|    }
 5514|     10|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (5514:14): [True: 0, False: 10]
  ------------------
 5515|      0|        goto finally;
 5516|      0|    }
 5517|       |    /* Otherwise it must be multi-phase init or the first time it's loaded. */
 5518|       |
 5519|       |    /* If the module was added to the global cache
 5520|       |     * but def->m_base.m_copy was cleared (e.g. subinterp fini)
 5521|       |     * then we have to do a little dance here. */
 5522|     10|    if (cached != NULL) {
  ------------------
  |  Branch (5522:9): [True: 0, False: 10]
  ------------------
 5523|      0|        assert(cached->def->m_base.m_copy == NULL);
  ------------------
  |  Branch (5523:9): [True: 0, False: 0]
  ------------------
 5524|       |        /* For now we clear the cache and move on. */
 5525|      0|        _extensions_cache_delete(info.path, info.name);
 5526|      0|    }
 5527|       |
 5528|     10|    if (PySys_Audit("import", "OOOOO", info.name, info.filename,
  ------------------
  |  Branch (5528:9): [True: 0, False: 10]
  ------------------
 5529|     10|                    Py_None, Py_None, Py_None) < 0)
  ------------------
  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  ------------------
                                  Py_None, Py_None, Py_None) < 0)
  ------------------
  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  ------------------
                                  Py_None, Py_None, Py_None) < 0)
  ------------------
  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  ------------------
 5530|      0|    {
 5531|      0|        goto finally;
 5532|      0|    }
 5533|       |
 5534|       |    /* We would move this (and the fclose() below) into
 5535|       |     * _PyImport_GetModuleExportHooks(), but it isn't clear if the intervening
 5536|       |     * code relies on fp still being open. */
 5537|     10|    if (file != NULL) {
  ------------------
  |  Branch (5537:9): [True: 0, False: 10]
  ------------------
 5538|      0|        fp = Py_fopen(info.filename, "r");
 5539|      0|        if (fp == NULL) {
  ------------------
  |  Branch (5539:13): [True: 0, False: 0]
  ------------------
 5540|      0|            goto finally;
 5541|      0|        }
 5542|      0|    }
 5543|       |
 5544|     10|    PyModInitFunction p0 = NULL;
 5545|     10|    PyModExportFunction ex0 = NULL;
 5546|     10|    _PyImport_GetModuleExportHooks(&info, fp, &p0, &ex0);
 5547|     10|    if (ex0) {
  ------------------
  |  Branch (5547:9): [True: 0, False: 10]
  ------------------
 5548|      0|        mod = import_run_modexport(tstate, ex0, &info, spec);
 5549|       |        // Modules created from slots handle GIL enablement (Py_mod_gil slot)
 5550|       |        // when they're created.
 5551|      0|        goto finally;
 5552|      0|    }
 5553|     10|    if (p0 == NULL) {
  ------------------
  |  Branch (5553:9): [True: 0, False: 10]
  ------------------
 5554|      0|        goto finally;
 5555|      0|    }
 5556|       |
 5557|       |#ifdef Py_GIL_DISABLED
 5558|       |    // This call (and the corresponding call to _PyImport_CheckGILForModule())
 5559|       |    // would ideally be inside import_run_extension(). They are kept in the
 5560|       |    // callers for now because that would complicate the control flow inside
 5561|       |    // import_run_extension(). It should be possible to restructure
 5562|       |    // import_run_extension() to address this.
 5563|       |    _PyEval_EnableGILTransient(tstate);
 5564|       |#endif
 5565|     10|    mod = import_run_extension(
 5566|     10|                    tstate, p0, &info, spec, get_modules_dict(tstate, true));
 5567|       |#ifdef Py_GIL_DISABLED
 5568|       |    if (_PyImport_CheckGILForModule(mod, info.name) < 0) {
 5569|       |        Py_CLEAR(mod);
 5570|       |        goto finally;
 5571|       |    }
 5572|       |#endif
 5573|       |
 5574|     10|finally:
 5575|     10|    if (fp != NULL) {
  ------------------
  |  Branch (5575:9): [True: 0, False: 10]
  ------------------
 5576|      0|        fclose(fp);
 5577|      0|    }
 5578|     10|    _Py_ext_module_loader_info_clear(&info);
 5579|     10|    return mod;
 5580|     10|}
import.c:_imp_exec_dynamic_impl:
 5594|     10|{
 5595|     10|    return exec_builtin_or_dynamic(mod);
 5596|     10|}
import.c:_imp_exec_builtin_impl:
 5613|     31|{
 5614|     31|    return exec_builtin_or_dynamic(mod);
 5615|     31|}
import.c:_imp__fix_co_filename_impl:
 5125|     85|{
 5126|     85|    update_compiled_module(code, path);
 5127|       |
 5128|     85|    Py_RETURN_NONE;
  ------------------
  |  |  628|     85|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     85|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5129|     85|}
import.c:update_compiled_module:
 2927|     85|{
 2928|     85|    PyObject *oldname;
 2929|       |
 2930|     85|    if (PyUnicode_Compare(co->co_filename, newname) == 0)
  ------------------
  |  Branch (2930:9): [True: 85, False: 0]
  ------------------
 2931|     85|        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:
 5657|    152|{
 5658|    152|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5659|    152|    if (PySet_Discard(LAZY_MODULES(interp), name) < 0) {
  ------------------
  |  |   94|    152|    (interp)->imports.lazy_modules
  ------------------
  |  Branch (5659:9): [True: 0, False: 152]
  ------------------
 5660|      0|        return NULL;
 5661|      0|    }
 5662|    152|    Py_RETURN_NONE;
  ------------------
  |  |  628|    152|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    152|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5663|    152|}
import.c:imp_module_exec:
 5695|      2|{
 5696|      2|    const wchar_t *mode = _Py_GetConfig()->check_hash_pycs_mode;
 5697|      2|    PyObject *pyc_mode = PyUnicode_FromWideChar(mode, -1);
 5698|      2|    if (PyModule_Add(module, "check_hash_based_pycs", pyc_mode) < 0) {
  ------------------
  |  Branch (5698:9): [True: 0, False: 2]
  ------------------
 5699|      0|        return -1;
 5700|      0|    }
 5701|       |
 5702|      2|    if (PyModule_AddIntConstant(
  ------------------
  |  Branch (5702:9): [True: 0, False: 2]
  ------------------
 5703|      2|            module, "pyc_magic_number_token", PYC_MAGIC_NUMBER_TOKEN) < 0)
  ------------------
  |  |  319|      2|    ((uint32_t)PYC_MAGIC_NUMBER | ((uint32_t)'\r' << 16) | ((uint32_t)'\n' << 24))
  |  |  ------------------
  |  |  |  |  315|      2|#define PYC_MAGIC_NUMBER 3705
  |  |  ------------------
  ------------------
 5704|      0|    {
 5705|      0|        return -1;
 5706|      0|    }
 5707|       |
 5708|      2|    return 0;
 5709|      2|}

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

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|   315k|{
   60|   315k|    _PyJumpTargetLabel lbl = {++seq->s_next_free_label};
   61|   315k|    return lbl;
   62|   315k|}
_PyInstructionSequence_UseLabel:
   66|   807k|{
   67|   807k|    int old_size = seq->s_labelmap_size;
   68|   807k|    _Py_c_array_t array = {
   69|   807k|        .array = (void*)seq->s_labelmap,
   70|   807k|        .allocated_entries = seq->s_labelmap_size,
   71|   807k|        .item_size = sizeof(int),
   72|   807k|        .initial_num_entries = INITIAL_INSTR_SEQUENCE_LABELS_MAP_SIZE,
  ------------------
  |  |   20|   807k|#define INITIAL_INSTR_SEQUENCE_LABELS_MAP_SIZE 10
  ------------------
   73|   807k|    };
   74|       |
   75|   807k|    RETURN_IF_ERROR(_Py_CArray_EnsureCapacity(&array, lbl));
  ------------------
  |  |   32|   807k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 807k]
  |  |  ------------------
  |  |   33|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   29|      0|#define ERROR -1
  |  |  ------------------
  |  |   34|      0|    }
  ------------------
   76|   807k|    seq->s_labelmap = array.array;
   77|   807k|    seq->s_labelmap_size = array.allocated_entries;
   78|       |
   79|  2.41M|    for(int i = old_size; i < seq->s_labelmap_size; i++) {
  ------------------
  |  Branch (79:27): [True: 1.61M, False: 807k]
  ------------------
   80|  1.61M|        seq->s_labelmap[i] = -111;  /* something weird, for debugging */
   81|  1.61M|    }
   82|   807k|    seq->s_labelmap[lbl] = seq->s_used; /* label refers to the next instruction */
   83|   807k|    return SUCCESS;
  ------------------
  |  |   28|   807k|#define SUCCESS 0
  ------------------
   84|   807k|}
_PyInstructionSequence_ApplyLabelMap:
   88|   158k|{
   89|   158k|    if (instrs->s_labelmap == NULL) {
  ------------------
  |  Branch (89:9): [True: 81.8k, False: 76.4k]
  ------------------
   90|       |        /* Already applied - nothing to do */
   91|  81.8k|        return SUCCESS;
  ------------------
  |  |   28|  81.8k|#define SUCCESS 0
  ------------------
   92|  81.8k|    }
   93|       |    /* Replace labels by offsets in the code */
   94|  6.94M|    for (int i=0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (94:19): [True: 6.86M, False: 76.4k]
  ------------------
   95|  6.86M|        instruction *instr = &instrs->s_instrs[i];
   96|  6.86M|        if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|  6.86M|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1065|  13.7M|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1046|  6.86M|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1065:29): [True: 452k, False: 6.41M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  6.41M|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  12.8M|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 43.3k, False: 6.37M]
  |  |  |  |  ------------------
  |  |  |  |   19|  6.41M|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  253|  12.7M|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 11.4k, False: 6.36M]
  |  |  |  |  ------------------
  |  |  |  |   20|  6.41M|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  251|  6.36M|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 20.2k, False: 6.34M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   97|   527k|            assert(instr->i_oparg < instrs->s_labelmap_size);
  ------------------
  |  Branch (97:13): [True: 527k, False: 0]
  ------------------
   98|   527k|            instr->i_oparg = instrs->s_labelmap[instr->i_oparg];
   99|   527k|        }
  100|  6.86M|        _PyExceptHandlerInfo *hi = &instr->i_except_handler_info;
  101|  6.86M|        if (hi->h_label >= 0) {
  ------------------
  |  Branch (101:13): [True: 4.52M, False: 2.34M]
  ------------------
  102|  4.52M|            assert(hi->h_label < instrs->s_labelmap_size);
  ------------------
  |  Branch (102:13): [True: 4.52M, False: 0]
  ------------------
  103|  4.52M|            hi->h_label = instrs->s_labelmap[hi->h_label];
  104|  4.52M|        }
  105|  6.86M|    }
  106|       |    /* Clear label map so it's never used again */
  107|  76.4k|    PyMem_Free(instrs->s_labelmap);
  108|  76.4k|    instrs->s_labelmap = NULL;
  109|  76.4k|    instrs->s_labelmap_size = 0;
  110|  76.4k|    return SUCCESS;
  ------------------
  |  |   28|  76.4k|#define SUCCESS 0
  ------------------
  111|  76.4k|}
_PyInstructionSequence_Addop:
  118|  8.47M|{
  119|  8.47M|    assert(0 <= opcode && opcode <= MAX_OPCODE);
  ------------------
  |  Branch (119:5): [True: 8.47M, False: 0]
  |  Branch (119:5): [True: 8.47M, False: 0]
  ------------------
  120|  8.47M|    assert(IS_WITHIN_OPCODE_RANGE(opcode));
  ------------------
  |  Branch (120:5): [True: 8.47M, False: 0]
  |  Branch (120:5): [True: 8.09M, False: 375k]
  |  Branch (120:5): [True: 18.4k, False: 356k]
  |  Branch (120:5): [True: 13.1k, False: 343k]
  |  Branch (120:5): [True: 10.5k, False: 332k]
  |  Branch (120:5): [True: 26.3k, False: 306k]
  |  Branch (120:5): [True: 152k, False: 153k]
  |  Branch (120:5): [True: 4.01k, False: 149k]
  |  Branch (120:5): [True: 1.99k, False: 147k]
  |  Branch (120:5): [True: 43.9k, False: 103k]
  |  Branch (120:5): [True: 17.5k, False: 86.0k]
  |  Branch (120:5): [True: 11.7k, False: 74.2k]
  |  Branch (120:5): [True: 74.2k, False: 0]
  |  Branch (120:5): [Folded, False: 0]
  ------------------
  121|  8.47M|    assert(OPCODE_HAS_ARG(opcode) || HAS_TARGET(opcode) || oparg == 0);
  ------------------
  |  Branch (121:5): [True: 0, False: 1.75M]
  |  Branch (121:5): [True: 0, False: 1.75M]
  |  Branch (121:5): [True: 0, False: 1.75M]
  |  Branch (121:5): [True: 0, False: 1.75M]
  |  Branch (121:5): [True: 6.71M, False: 1.75M]
  |  Branch (121:5): [True: 1.75M, False: 0]
  ------------------
  122|  8.47M|    assert(0 <= oparg && oparg < (1 << 30));
  ------------------
  |  Branch (122:5): [True: 8.47M, False: 0]
  |  Branch (122:5): [True: 8.47M, False: 0]
  ------------------
  123|       |
  124|  8.47M|    int idx = instr_sequence_next_inst(seq);
  125|  8.47M|    RETURN_IF_ERROR(idx);
  ------------------
  |  |   32|  8.47M|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 8.47M]
  |  |  ------------------
  |  |   33|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   29|      0|#define ERROR -1
  |  |  ------------------
  |  |   34|      0|    }
  ------------------
  126|  8.47M|    instruction *ci = &seq->s_instrs[idx];
  127|  8.47M|    ci->i_opcode = opcode;
  128|  8.47M|    ci->i_oparg = oparg;
  129|  8.47M|    ci->i_loc = loc;
  130|  8.47M|    return SUCCESS;
  ------------------
  |  |   28|  8.47M|#define SUCCESS 0
  ------------------
  131|  8.47M|}
_PyInstructionSequence_InsertInstruction:
  136|  3.98k|{
  137|  3.98k|    assert(pos >= 0 && pos <= seq->s_used);
  ------------------
  |  Branch (137:5): [True: 3.98k, False: 0]
  |  Branch (137:5): [True: 3.98k, False: 0]
  ------------------
  138|  3.98k|    int last_idx = instr_sequence_next_inst(seq);
  139|  3.98k|    RETURN_IF_ERROR(last_idx);
  ------------------
  |  |   32|  3.98k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 3.98k]
  |  |  ------------------
  |  |   33|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   29|      0|#define ERROR -1
  |  |  ------------------
  |  |   34|      0|    }
  ------------------
  140|   881k|    for (int i=last_idx-1; i >= pos; i--) {
  ------------------
  |  Branch (140:28): [True: 877k, False: 3.98k]
  ------------------
  141|   877k|        seq->s_instrs[i+1] = seq->s_instrs[i];
  142|   877k|    }
  143|  3.98k|    instruction *ci = &seq->s_instrs[pos];
  144|  3.98k|    ci->i_opcode = opcode;
  145|  3.98k|    ci->i_oparg = oparg;
  146|  3.98k|    ci->i_loc = loc;
  147|       |
  148|       |    /* fix the labels map */
  149|   280k|    for(int lbl=0; lbl < seq->s_labelmap_size; lbl++) {
  ------------------
  |  Branch (149:20): [True: 276k, False: 3.98k]
  ------------------
  150|   276k|        if (seq->s_labelmap[lbl] >= pos) {
  ------------------
  |  Branch (150:13): [True: 184k, False: 91.7k]
  ------------------
  151|   184k|            seq->s_labelmap[lbl]++;
  152|   184k|        }
  153|   276k|    }
  154|  3.98k|    return SUCCESS;
  ------------------
  |  |   28|  3.98k|#define SUCCESS 0
  ------------------
  155|  3.98k|}
_PyInstructionSequence_GetInstruction:
  159|  6.74k|{
  160|  6.74k|    assert(pos >= 0 && pos < seq->s_used);
  ------------------
  |  Branch (160:5): [True: 6.74k, False: 0]
  |  Branch (160:5): [True: 6.74k, False: 0]
  ------------------
  161|  6.74k|    return seq->s_instrs[pos];
  162|  6.74k|}
_PyInstructionSequence_SetAnnotationsCode:
  167|    599|{
  168|    599|    assert(seq->s_annotations_code == NULL);
  ------------------
  |  Branch (168:5): [True: 599, False: 0]
  ------------------
  169|    599|    seq->s_annotations_code = annotations;
  170|    599|    return SUCCESS;
  ------------------
  |  |   28|    599|#define SUCCESS 0
  ------------------
  171|    599|}
PyInstructionSequence_Fini:
  189|   107k|PyInstructionSequence_Fini(instr_sequence *seq) {
  190|   107k|    Py_XDECREF(seq->s_nested);
  ------------------
  |  |  524|   107k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   107k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   107k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|       |
  192|   107k|    PyMem_Free(seq->s_labelmap);
  193|   107k|    seq->s_labelmap = NULL;
  194|       |
  195|   107k|    PyMem_Free(seq->s_instrs);
  196|   107k|    seq->s_instrs = NULL;
  197|       |
  198|   107k|    if (seq->s_annotations_code != NULL) {
  ------------------
  |  Branch (198:9): [True: 599, False: 106k]
  ------------------
  199|    599|        PyInstructionSequence_Fini(seq->s_annotations_code);
  200|    599|        Py_CLEAR(seq->s_annotations_code);
  ------------------
  |  |  484|    599|    do { \
  |  |  485|    599|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    599|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    599|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    599|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    599|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 599, False: 0]
  |  |  ------------------
  |  |  488|    599|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    599|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    599|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    599|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    599|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    599|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    599|        } \
  |  |  491|    599|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 599]
  |  |  ------------------
  ------------------
  201|    599|    }
  202|       |
  203|   107k|}
_PyInstructionSequence_New:
  233|  53.9k|{
  234|  53.9k|    _PyInstructionSequence *seq = inst_seq_create();
  235|  53.9k|    if (seq == NULL) {
  ------------------
  |  Branch (235:9): [True: 0, False: 53.9k]
  ------------------
  236|      0|        return NULL;
  237|      0|    }
  238|  53.9k|    return (PyObject*)seq;
  239|  53.9k|}
instruction_sequence.c:instr_sequence_next_inst:
   37|  8.47M|instr_sequence_next_inst(instr_sequence *seq) {
   38|  8.47M|    assert(seq->s_instrs != NULL || seq->s_used == 0);
  ------------------
  |  Branch (38:5): [True: 8.37M, False: 106k]
  |  Branch (38:5): [True: 106k, False: 0]
  ------------------
   39|       |
   40|       |
   41|  8.47M|    _Py_c_array_t array = {
   42|  8.47M|        .array = (void*)seq->s_instrs,
   43|  8.47M|        .allocated_entries = seq->s_allocated,
   44|  8.47M|        .item_size = sizeof(instruction),
   45|  8.47M|        .initial_num_entries = INITIAL_INSTR_SEQUENCE_SIZE,
  ------------------
  |  |   19|  8.47M|#define INITIAL_INSTR_SEQUENCE_SIZE 100
  ------------------
   46|  8.47M|    };
   47|       |
   48|  8.47M|    RETURN_IF_ERROR(_Py_CArray_EnsureCapacity(&array, seq->s_used + 1));
  ------------------
  |  |   32|  8.47M|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 8.47M]
  |  |  ------------------
  |  |   33|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   29|      0|#define ERROR -1
  |  |  ------------------
  |  |   34|      0|    }
  ------------------
   49|  8.47M|    seq->s_instrs = array.array;
   50|  8.47M|    seq->s_allocated = array.allocated_entries;
   51|       |
   52|  8.47M|    assert(seq->s_allocated >= 0);
  ------------------
  |  Branch (52:5): [True: 8.47M, False: 0]
  ------------------
   53|  8.47M|    assert(seq->s_used < seq->s_allocated);
  ------------------
  |  Branch (53:5): [True: 8.47M, False: 0]
  ------------------
   54|  8.47M|    return seq->s_used++;
   55|  8.47M|}
instruction_sequence.c:inst_seq_create:
  212|  53.9k|{
  213|  53.9k|    _PyInstructionSequence *seq;
  214|  53.9k|    seq = PyObject_GC_New(_PyInstructionSequence, &_PyInstructionSequence_Type);
  ------------------
  |  |  181|  53.9k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  53.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  215|  53.9k|    if (seq == NULL) {
  ------------------
  |  Branch (215:9): [True: 0, False: 53.9k]
  ------------------
  216|      0|        return NULL;
  217|      0|    }
  218|  53.9k|    seq->s_instrs = NULL;
  219|  53.9k|    seq->s_allocated = 0;
  220|  53.9k|    seq->s_used = 0;
  221|  53.9k|    seq->s_next_free_label = 0;
  222|  53.9k|    seq->s_labelmap = NULL;
  223|  53.9k|    seq->s_labelmap_size = 0;
  224|  53.9k|    seq->s_nested = NULL;
  225|  53.9k|    seq->s_annotations_code = NULL;
  226|       |
  227|  53.9k|    PyObject_GC_Track(seq);
  228|  53.9k|    return seq;
  229|  53.9k|}
instruction_sequence.c:inst_seq_dealloc:
  426|  53.9k|{
  427|  53.9k|    _PyInstructionSequence *seq = (_PyInstructionSequence *)op;
  428|  53.9k|    PyObject_GC_UnTrack(seq);
  429|  53.9k|    PyInstructionSequence_Fini(seq);
  430|  53.9k|    PyObject_GC_Del(seq);
  431|  53.9k|}
instruction_sequence.c:inst_seq_traverse:
  435|    764|{
  436|    764|    _PyInstructionSequence *seq = (_PyInstructionSequence *)op;
  437|    764|    Py_VISIT(seq->s_nested);
  ------------------
  |  |  194|    764|    do {                                                                \
  |  |  195|    764|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 764]
  |  |  ------------------
  |  |  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|    764|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 764]
  |  |  ------------------
  ------------------
  438|    764|    Py_VISIT((PyObject *)seq->s_annotations_code);
  ------------------
  |  |  194|    764|    do {                                                                \
  |  |  195|    764|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 764]
  |  |  ------------------
  |  |  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|    764|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 764]
  |  |  ------------------
  ------------------
  439|    764|    return 0;
  440|    764|}

_Py_GetBaseCodeUnit:
  639|  8.94M|{
  640|  8.94M|    _Py_CODEUNIT *src_instr = _PyCode_CODE(code) + i;
  ------------------
  |  |   16|  8.94M|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  8.94M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  641|  8.94M|    _Py_CODEUNIT inst = {
  642|  8.94M|        .cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t *)src_instr)};
  ------------------
  |  |  158|  8.94M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  ------------------
  643|  8.94M|    int opcode = inst.op.code;
  644|  8.94M|    if (opcode < MIN_INSTRUMENTED_OPCODE) {
  ------------------
  |  |  258|  8.94M|#define MIN_INSTRUMENTED_OPCODE                233
  ------------------
  |  Branch (644:9): [True: 8.94M, False: 0]
  ------------------
  645|  8.94M|        inst.op.code = _PyOpcode_Deopt[opcode];
  646|  8.94M|        assert(inst.op.code < MIN_SPECIALIZED_OPCODE);
  ------------------
  |  Branch (646:9): [True: 8.94M, False: 0]
  ------------------
  647|  8.94M|        return inst;
  648|  8.94M|    }
  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_CreateMonitoringObject:
 2569|      2|{
 2570|      2|    PyObject *mod = _PyModule_CreateInitialized(&monitoring_module, PYTHON_API_VERSION);
  ------------------
  |  |   59|      2|#define PYTHON_API_VERSION 1013
  ------------------
 2571|      2|    if (mod == NULL) {
  ------------------
  |  Branch (2571:9): [True: 0, False: 2]
  ------------------
 2572|      0|        return NULL;
 2573|      0|    }
 2574|      2|    if (PyObject_SetAttrString(mod, "DISABLE", &_PyInstrumentation_DISABLE)) {
  ------------------
  |  Branch (2574:9): [True: 0, False: 2]
  ------------------
 2575|      0|        goto error;
 2576|      0|    }
 2577|      2|    if (PyObject_SetAttrString(mod, "MISSING", &_PyInstrumentation_MISSING)) {
  ------------------
  |  Branch (2577:9): [True: 0, False: 2]
  ------------------
 2578|      0|        goto error;
 2579|      0|    }
 2580|      2|    PyObject *events = _PyNamespace_New(NULL);
 2581|      2|    if (events == NULL) {
  ------------------
  |  Branch (2581:9): [True: 0, False: 2]
  ------------------
 2582|      0|        goto error;
 2583|      0|    }
 2584|      2|    int err = PyObject_SetAttrString(mod, "events", events);
 2585|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2586|      2|    if (err) {
  ------------------
  |  Branch (2586:9): [True: 0, False: 2]
  ------------------
 2587|      0|        goto error;
 2588|      0|    }
 2589|     40|    for (int i = 0; i < _PY_MONITORING_EVENTS; i++) {
  ------------------
  |  |   77|     40|#define _PY_MONITORING_EVENTS 19
  ------------------
  |  Branch (2589:21): [True: 38, False: 2]
  ------------------
 2590|     38|        if (add_power2_constant(events, event_names[i], i)) {
  ------------------
  |  Branch (2590:13): [True: 0, False: 38]
  ------------------
 2591|      0|            goto error;
 2592|      0|        }
 2593|     38|    }
 2594|      2|    err = PyObject_SetAttrString(events, "NO_EVENTS", _PyLong_GetZero());
 2595|      2|    if (err) goto error;
  ------------------
  |  Branch (2595:9): [True: 0, False: 2]
  ------------------
 2596|      2|    PyObject *val = PyLong_FromLong(PY_MONITORING_DEBUGGER_ID);
  ------------------
  |  |   20|      2|#define PY_MONITORING_DEBUGGER_ID 0
  ------------------
 2597|      2|    assert(val != NULL); /* Can't return NULL because the int is small. */
  ------------------
  |  Branch (2597:5): [True: 2, False: 0]
  ------------------
 2598|      2|    err = PyObject_SetAttrString(mod, "DEBUGGER_ID", val);
 2599|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2600|      2|    if (err) goto error;
  ------------------
  |  Branch (2600:9): [True: 0, False: 2]
  ------------------
 2601|      2|    val = PyLong_FromLong(PY_MONITORING_COVERAGE_ID);
  ------------------
  |  |   21|      2|#define PY_MONITORING_COVERAGE_ID 1
  ------------------
 2602|      2|    assert(val != NULL);
  ------------------
  |  Branch (2602:5): [True: 2, False: 0]
  ------------------
 2603|      2|    err = PyObject_SetAttrString(mod, "COVERAGE_ID", val);
 2604|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2605|      2|    if (err) goto error;
  ------------------
  |  Branch (2605:9): [True: 0, False: 2]
  ------------------
 2606|      2|    val = PyLong_FromLong(PY_MONITORING_PROFILER_ID);
  ------------------
  |  |   22|      2|#define PY_MONITORING_PROFILER_ID 2
  ------------------
 2607|      2|    assert(val != NULL);
  ------------------
  |  Branch (2607:5): [True: 2, False: 0]
  ------------------
 2608|      2|    err = PyObject_SetAttrString(mod, "PROFILER_ID", val);
 2609|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2610|      2|    if (err) goto error;
  ------------------
  |  Branch (2610:9): [True: 0, False: 2]
  ------------------
 2611|      2|    val = PyLong_FromLong(PY_MONITORING_OPTIMIZER_ID);
  ------------------
  |  |   23|      2|#define PY_MONITORING_OPTIMIZER_ID 5
  ------------------
 2612|      2|    assert(val != NULL);
  ------------------
  |  Branch (2612:5): [True: 2, False: 0]
  ------------------
 2613|      2|    err = PyObject_SetAttrString(mod, "OPTIMIZER_ID", val);
 2614|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2615|      2|    if (err) goto error;
  ------------------
  |  Branch (2615:9): [True: 0, False: 2]
  ------------------
 2616|      2|    return mod;
 2617|      0|error:
 2618|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2619|       |    return NULL;
 2620|      2|}
instrumentation.c:add_power2_constant:
 2506|     38|{
 2507|     38|    PyObject *val = PyLong_FromLong(1<<i);
 2508|     38|    if (val == NULL) {
  ------------------
  |  Branch (2508:9): [True: 0, False: 38]
  ------------------
 2509|      0|        return -1;
 2510|      0|    }
 2511|     38|    int err = PyObject_SetAttrString(obj, name, val);
 2512|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2513|     38|    return err;
 2514|     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) {
  ------------------
  |  |  921|     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) {
  ------------------
  |  |  921|     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__));
  ------------------
  |  |  921|      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:list_to_tuple:
  195|    153|{
  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|    153|    assert(PyList_CheckExact(v));
  ------------------
  |  Branch (199:5): [True: 153, False: 0]
  ------------------
  200|    153|    assert(_PyObject_IsUniquelyReferenced(v));
  ------------------
  |  Branch (200:5): [True: 153, False: 0]
  ------------------
  201|    153|    return _PyList_AsTupleAndClear((PyListObject *)v);
  202|    153|}
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|  97.9k|{
   58|  97.9k|    uint8_t v = _Py_atomic_load_uint8_relaxed(&m->_bits);
   59|  97.9k|    if ((v & _Py_LOCKED) == 0) {
  ------------------
  |  |   10|  97.9k|#define _Py_LOCKED      1
  ------------------
  |  Branch (59:9): [True: 97.9k, False: 0]
  ------------------
   60|  97.9k|        if (_Py_atomic_compare_exchange_uint8(&m->_bits, &v, v|_Py_LOCKED)) {
  ------------------
  |  |   10|  97.9k|#define _Py_LOCKED      1
  ------------------
  |  Branch (60:13): [True: 97.9k, False: 0]
  ------------------
   61|  97.9k|            return PY_LOCK_ACQUIRED;
   62|  97.9k|        }
   63|  97.9k|    }
   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|  1.62k|{
  413|  1.62k|    return recursive_mutex_is_owned_by(m, PyThread_get_thread_ident_ex());
  414|  1.62k|}
_PyRecursiveMutex_Lock:
  418|  50.0k|{
  419|  50.0k|    PyThread_ident_t thread = PyThread_get_thread_ident_ex();
  420|  50.0k|    if (recursive_mutex_is_owned_by(m, thread)) {
  ------------------
  |  Branch (420:9): [True: 0, False: 50.0k]
  ------------------
  421|      0|        m->level++;
  422|      0|        return;
  423|      0|    }
  424|  50.0k|    PyMutex_Lock(&m->mutex);
  ------------------
  |  |   59|  50.0k|#define PyMutex_Lock _PyMutex_Lock
  ------------------
  425|  50.0k|    _Py_atomic_store_ullong_relaxed(&m->thread, thread);
  426|       |    assert(m->level == 0);
  ------------------
  |  Branch (426:5): [True: 50.0k, False: 0]
  ------------------
  427|  50.0k|}
_PyRecursiveMutex_LockTimed:
  431|    734|{
  432|    734|    PyThread_ident_t thread = PyThread_get_thread_ident_ex();
  433|    734|    if (recursive_mutex_is_owned_by(m, thread)) {
  ------------------
  |  Branch (433:9): [True: 0, False: 734]
  ------------------
  434|      0|        m->level++;
  435|      0|        return PY_LOCK_ACQUIRED;
  436|      0|    }
  437|    734|    PyLockStatus s = _PyMutex_LockTimed(&m->mutex, timeout, flags);
  438|    734|    if (s == PY_LOCK_ACQUIRED) {
  ------------------
  |  Branch (438:9): [True: 734, False: 0]
  ------------------
  439|    734|        _Py_atomic_store_ullong_relaxed(&m->thread, thread);
  440|    734|        assert(m->level == 0);
  ------------------
  |  Branch (440:9): [True: 734, False: 0]
  ------------------
  441|    734|    }
  442|    734|    return s;
  443|    734|}
_PyRecursiveMutex_Unlock:
  447|  1.62k|{
  448|  1.62k|    if (_PyRecursiveMutex_TryUnlock(m) < 0) {
  ------------------
  |  Branch (448:9): [True: 0, False: 1.62k]
  ------------------
  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|  1.62k|}
_PyRecursiveMutex_TryUnlock:
  456|  50.8k|{
  457|  50.8k|    PyThread_ident_t thread = PyThread_get_thread_ident_ex();
  458|  50.8k|    if (!recursive_mutex_is_owned_by(m, thread)) {
  ------------------
  |  Branch (458:9): [True: 0, False: 50.8k]
  ------------------
  459|      0|        return -1;
  460|      0|    }
  461|  50.8k|    if (m->level > 0) {
  ------------------
  |  Branch (461:9): [True: 0, False: 50.8k]
  ------------------
  462|      0|        m->level--;
  463|      0|        return 0;
  464|      0|    }
  465|  50.8k|    assert(m->level == 0);
  ------------------
  |  Branch (465:5): [True: 50.8k, False: 0]
  ------------------
  466|  50.8k|    _Py_atomic_store_ullong_relaxed(&m->thread, 0);
  467|  50.8k|    PyMutex_Unlock(&m->mutex);
  ------------------
  |  |   70|  50.8k|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
  468|  50.8k|    return 0;
  469|  50.8k|}
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|   103k|{
  407|   103k|    return _Py_atomic_load_ullong_relaxed(&m->thread) == tid;
  408|   103k|}

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|   100k|{
  840|   100k|    Py_ssize_t read = -1;
  841|       |
  842|   100k|    if (p->ptr != NULL) {
  ------------------
  |  Branch (842:9): [True: 100k, False: 0]
  ------------------
  843|       |        /* Fast path for loads() */
  844|   100k|        const char *res = p->ptr;
  845|   100k|        Py_ssize_t left = p->end - p->ptr;
  846|   100k|        if (left < n) {
  ------------------
  |  Branch (846:13): [True: 0, False: 100k]
  ------------------
  847|      0|            PyErr_SetString(PyExc_EOFError,
  848|      0|                            "marshal data too short");
  849|      0|            return NULL;
  850|      0|        }
  851|   100k|        p->ptr += n;
  852|   100k|        return res;
  853|   100k|    }
  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);
  ------------------
  |  |  921|      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|  69.9k|{
  954|  69.9k|    long x = -1;
  955|  69.9k|    const unsigned char *buffer;
  956|       |
  957|  69.9k|    buffer = (const unsigned char *) r_string(4, p);
  958|  69.9k|    if (buffer != NULL) {
  ------------------
  |  Branch (958:9): [True: 69.9k, False: 0]
  ------------------
  959|  69.9k|        x = buffer[0];
  960|  69.9k|        x |= (long)buffer[1] << 8;
  961|  69.9k|        x |= (long)buffer[2] << 16;
  962|  69.9k|        x |= (long)buffer[3] << 24;
  963|  69.9k|#if SIZEOF_LONG > 4
  964|       |        /* Sign extension for 64-bit machines */
  965|  69.9k|        x |= -(x & 0x80000000L);
  966|  69.9k|#endif
  967|  69.9k|    }
  968|  69.9k|    return x;
  969|  69.9k|}
marshal.c:read_object:
 1761|    121|{
 1762|    121|    PyObject *v;
 1763|    121|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1763:9): [True: 0, False: 121]
  ------------------
 1764|      0|        fprintf(stderr, "XXX readobject called with exception set\n");
 1765|      0|        return NULL;
 1766|      0|    }
 1767|    121|    if (p->ptr && p->end) {
  ------------------
  |  Branch (1767:9): [True: 121, False: 0]
  |  Branch (1767:19): [True: 121, False: 0]
  ------------------
 1768|    121|        if (PySys_Audit("marshal.loads", "y#", p->ptr, (Py_ssize_t)(p->end - p->ptr)) < 0) {
  ------------------
  |  Branch (1768:13): [True: 0, False: 121]
  ------------------
 1769|      0|            return NULL;
 1770|      0|        }
 1771|    121|    } 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|    121|    v = r_object(p);
 1777|    121|    if (v == NULL && !PyErr_Occurred())
  ------------------
  |  Branch (1777:9): [True: 0, False: 121]
  |  Branch (1777:22): [True: 0, False: 0]
  ------------------
 1778|      0|        PyErr_SetString(PyExc_TypeError, "NULL object in marshal data for object");
 1779|    121|    return v;
 1780|    121|}
marshal.c:r_object:
 1174|  81.5k|{
 1175|       |    /* NULL is a valid return value, it does not necessarily means that
 1176|       |       an exception is set. */
 1177|  81.5k|    PyObject *v, *v2;
 1178|  81.5k|    Py_ssize_t idx = 0;
 1179|  81.5k|    long i, n;
 1180|  81.5k|    int type, code = r_byte(p);
 1181|  81.5k|    int flag, is_interned = 0;
 1182|  81.5k|    PyObject *retval = NULL;
 1183|       |
 1184|  81.5k|    if (code == EOF) {
  ------------------
  |  Branch (1184:9): [True: 0, False: 81.5k]
  ------------------
 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|  81.5k|    p->depth++;
 1193|       |
 1194|  81.5k|    if (p->depth > MAX_MARSHAL_STACK_DEPTH) {
  ------------------
  |  |   54|  81.5k|#  define MAX_MARSHAL_STACK_DEPTH 2000
  ------------------
  |  Branch (1194:9): [True: 0, False: 81.5k]
  ------------------
 1195|      0|        p->depth--;
 1196|      0|        PyErr_SetString(PyExc_ValueError, "recursion limit exceeded");
 1197|      0|        return NULL;
 1198|      0|    }
 1199|       |
 1200|  81.5k|    flag = code & FLAG_REF;
  ------------------
  |  |  100|  81.5k|#define FLAG_REF                '\x80' /* with a type, add obj to index */
  ------------------
 1201|  81.5k|    type = code & ~FLAG_REF;
  ------------------
  |  |  100|  81.5k|#define FLAG_REF                '\x80' /* with a type, add obj to index */
  ------------------
 1202|       |
 1203|  81.5k|#define R_REF(O) do{\
 1204|  81.5k|    if (flag) \
 1205|  81.5k|        O = r_ref(O, flag, p);\
 1206|  81.5k|} while (0)
 1207|       |
 1208|  81.5k|    switch (type) {
 1209|       |
 1210|      0|    case TYPE_NULL:
  ------------------
  |  |   58|      0|#define TYPE_NULL               '0'
  ------------------
  |  Branch (1210:5): [True: 0, False: 81.5k]
  ------------------
 1211|      0|        break;
 1212|       |
 1213|    477|    case TYPE_NONE:
  ------------------
  |  |   59|    477|#define TYPE_NONE               'N'
  ------------------
  |  Branch (1213:5): [True: 477, False: 81.0k]
  ------------------
 1214|    477|        retval = Py_None;
  ------------------
  |  |  616|    477|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1215|    477|        break;
 1216|       |
 1217|      0|    case TYPE_STOPITER:
  ------------------
  |  |   62|      0|#define TYPE_STOPITER           'S'
  ------------------
  |  Branch (1217:5): [True: 0, False: 81.5k]
  ------------------
 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: 81.5k]
  ------------------
 1222|      3|        retval = Py_Ellipsis;
  ------------------
  |  |   14|      3|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
 1223|      3|        break;
 1224|       |
 1225|     90|    case TYPE_FALSE:
  ------------------
  |  |   60|     90|#define TYPE_FALSE              'F'
  ------------------
  |  Branch (1225:5): [True: 90, False: 81.4k]
  ------------------
 1226|     90|        retval = Py_False;
  ------------------
  |  |   25|     90|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|     90|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1227|     90|        break;
 1228|       |
 1229|     47|    case TYPE_TRUE:
  ------------------
  |  |   61|     47|#define TYPE_TRUE               'T'
  ------------------
  |  Branch (1229:5): [True: 47, False: 81.5k]
  ------------------
 1230|     47|        retval = Py_True;
  ------------------
  |  |   26|     47|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     47|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     47|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1231|     47|        break;
 1232|       |
 1233|  2.75k|    case TYPE_INT:
  ------------------
  |  |   90|  2.75k|#define TYPE_INT                'i'  // All versions. 32-bit encoding.
  ------------------
  |  Branch (1233:5): [True: 2.75k, False: 78.8k]
  ------------------
 1234|  2.75k|        n = r_long(p);
 1235|  2.75k|        if (n == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1235:13): [True: 8, False: 2.74k]
  |  Branch (1235:24): [True: 0, False: 8]
  ------------------
 1236|      0|            break;
 1237|      0|        }
 1238|  2.75k|        retval = PyLong_FromLong(n);
 1239|  2.75k|        R_REF(retval);
  ------------------
  |  | 1203|  2.75k|#define R_REF(O) do{\
  |  | 1204|  2.75k|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 698, False: 2.05k]
  |  |  ------------------
  |  | 1205|  2.75k|        O = r_ref(O, flag, p);\
  |  | 1206|  2.75k|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 2.75k]
  |  |  ------------------
  ------------------
 1240|  2.75k|        break;
 1241|       |
 1242|      0|    case TYPE_INT64:
  ------------------
  |  |   96|      0|#define TYPE_INT64              'I'  // Not generated any more.
  ------------------
  |  Branch (1242:5): [True: 0, False: 81.5k]
  ------------------
 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: 81.5k]
  ------------------
 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: 81.5k]
  ------------------
 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: 81.5k]
  ------------------
 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: 81.5k]
  ------------------
 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: 81.5k]
  ------------------
 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|  9.98k|    case TYPE_STRING:
  ------------------
  |  |   67|  9.98k|#define TYPE_STRING             's'  // Bytes. (Name comes from Python 2.)
  ------------------
  |  Branch (1300:5): [True: 9.98k, False: 71.5k]
  ------------------
 1301|  9.98k|        {
 1302|  9.98k|            const char *ptr;
 1303|  9.98k|            n = r_long(p);
 1304|  9.98k|            if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  212|  9.98k|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1304:17): [True: 0, False: 9.98k]
  |  Branch (1304:26): [True: 0, False: 9.98k]
  ------------------
 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|  9.98k|            v = PyBytes_FromStringAndSize((char *)NULL, n);
 1312|  9.98k|            if (v == NULL)
  ------------------
  |  Branch (1312:17): [True: 0, False: 9.98k]
  ------------------
 1313|      0|                break;
 1314|  9.98k|            ptr = r_string(n, p);
 1315|  9.98k|            if (ptr == NULL) {
  ------------------
  |  Branch (1315:17): [True: 0, False: 9.98k]
  ------------------
 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|  9.98k|            memcpy(PyBytes_AS_STRING(v), ptr, n);
  ------------------
  |  |   27|  9.98k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1320|  9.98k|            retval = v;
 1321|  9.98k|            R_REF(retval);
  ------------------
  |  | 1203|  9.98k|#define R_REF(O) do{\
  |  | 1204|  9.98k|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 3.88k, False: 6.09k]
  |  |  ------------------
  |  | 1205|  9.98k|        O = r_ref(O, flag, p);\
  |  | 1206|  9.98k|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 9.98k]
  |  |  ------------------
  ------------------
 1322|  9.98k|            break;
 1323|  9.98k|        }
 1324|       |
 1325|      0|    case TYPE_ASCII_INTERNED:
  ------------------
  |  |   85|      0|#define TYPE_ASCII_INTERNED     'A'
  ------------------
  |  Branch (1325:5): [True: 0, False: 81.5k]
  ------------------
 1326|      0|        is_interned = 1;
 1327|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1328|    305|    case TYPE_ASCII:
  ------------------
  |  |   84|    305|#define TYPE_ASCII              'a'
  ------------------
  |  Branch (1328:5): [True: 305, False: 81.2k]
  ------------------
 1329|    305|        n = r_long(p);
 1330|    305|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  212|    305|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1330:13): [True: 0, False: 305]
  |  Branch (1330:22): [True: 0, False: 305]
  ------------------
 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|    305|        goto _read_ascii;
 1338|       |
 1339|  16.9k|    case TYPE_SHORT_ASCII_INTERNED:
  ------------------
  |  |   87|  16.9k|#define TYPE_SHORT_ASCII_INTERNED 'Z'
  ------------------
  |  Branch (1339:5): [True: 16.9k, False: 64.5k]
  ------------------
 1340|  16.9k|        is_interned = 1;
 1341|  16.9k|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|  16.9k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1342|  19.9k|    case TYPE_SHORT_ASCII:
  ------------------
  |  |   86|  19.9k|#define TYPE_SHORT_ASCII        'z'
  ------------------
  |  Branch (1342:5): [True: 2.94k, False: 78.6k]
  ------------------
 1343|  19.9k|        n = r_byte(p);
 1344|  19.9k|        if (n == EOF) {
  ------------------
  |  Branch (1344:13): [True: 0, False: 19.9k]
  ------------------
 1345|      0|            break;
 1346|      0|        }
 1347|  20.2k|    _read_ascii:
 1348|  20.2k|        {
 1349|  20.2k|            const char *ptr;
 1350|  20.2k|            ptr = r_string(n, p);
 1351|  20.2k|            if (ptr == NULL)
  ------------------
  |  Branch (1351:17): [True: 0, False: 20.2k]
  ------------------
 1352|      0|                break;
 1353|  20.2k|            v = PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, ptr, n);
 1354|  20.2k|            if (v == NULL)
  ------------------
  |  Branch (1354:17): [True: 0, False: 20.2k]
  ------------------
 1355|      0|                break;
 1356|  20.2k|            if (is_interned) {
  ------------------
  |  Branch (1356:17): [True: 16.9k, False: 3.24k]
  ------------------
 1357|       |                // marshal is meant to serialize .pyc files with code
 1358|       |                // objects, and code-related strings are currently immortal.
 1359|  16.9k|                PyInterpreterState *interp = _PyInterpreterState_GET();
 1360|  16.9k|                _PyUnicode_InternImmortal(interp, &v);
 1361|  16.9k|            }
 1362|  20.2k|            retval = v;
 1363|  20.2k|            R_REF(retval);
  ------------------
  |  | 1203|  20.2k|#define R_REF(O) do{\
  |  | 1204|  20.2k|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 17.1k, False: 3.11k]
  |  |  ------------------
  |  | 1205|  20.2k|        O = r_ref(O, flag, p);\
  |  | 1206|  20.2k|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 20.2k]
  |  |  ------------------
  ------------------
 1364|  20.2k|            break;
 1365|  20.2k|        }
 1366|       |
 1367|      0|    case TYPE_INTERNED:
  ------------------
  |  |   83|      0|#define TYPE_INTERNED           't' // Version 1+
  ------------------
  |  Branch (1367:5): [True: 0, False: 81.5k]
  ------------------
 1368|      0|        is_interned = 1;
 1369|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1370|    143|    case TYPE_UNICODE:
  ------------------
  |  |   73|    143|#define TYPE_UNICODE            'u'
  ------------------
  |  Branch (1370:5): [True: 143, False: 81.4k]
  ------------------
 1371|    143|        {
 1372|    143|        const char *buffer;
 1373|       |
 1374|    143|        n = r_long(p);
 1375|    143|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  212|    143|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1375:13): [True: 0, False: 143]
  |  Branch (1375:22): [True: 0, False: 143]
  ------------------
 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|    143|        if (n != 0) {
  ------------------
  |  Branch (1382:13): [True: 143, False: 0]
  ------------------
 1383|    143|            buffer = r_string(n, p);
 1384|    143|            if (buffer == NULL)
  ------------------
  |  Branch (1384:17): [True: 0, False: 143]
  ------------------
 1385|      0|                break;
 1386|    143|            v = PyUnicode_DecodeUTF8(buffer, n, "surrogatepass");
 1387|    143|        }
 1388|      0|        else {
 1389|      0|            v = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
 1390|      0|        }
 1391|    143|        if (v == NULL)
  ------------------
  |  Branch (1391:13): [True: 0, False: 143]
  ------------------
 1392|      0|            break;
 1393|    143|        if (is_interned) {
  ------------------
  |  Branch (1393:13): [True: 0, False: 143]
  ------------------
 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|    143|        retval = v;
 1400|    143|        R_REF(retval);
  ------------------
  |  | 1203|    143|#define R_REF(O) do{\
  |  | 1204|    143|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 0, False: 143]
  |  |  ------------------
  |  | 1205|    143|        O = r_ref(O, flag, p);\
  |  | 1206|    143|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 143]
  |  |  ------------------
  ------------------
 1401|    143|        break;
 1402|    143|        }
 1403|       |
 1404|  7.97k|    case TYPE_SMALL_TUPLE:
  ------------------
  |  |   91|  7.97k|#define TYPE_SMALL_TUPLE        ')'  // Version 4+
  ------------------
  |  Branch (1404:5): [True: 7.97k, False: 73.5k]
  ------------------
 1405|  7.97k|        n = r_byte(p);
 1406|  7.97k|        if (n == EOF) {
  ------------------
  |  Branch (1406:13): [True: 0, False: 7.97k]
  ------------------
 1407|      0|            break;
 1408|      0|        }
 1409|  7.97k|        goto _read_tuple;
 1410|  7.97k|    case TYPE_TUPLE:
  ------------------
  |  |   68|      4|#define TYPE_TUPLE              '('  // See also TYPE_SMALL_TUPLE.
  ------------------
  |  Branch (1410:5): [True: 4, False: 81.5k]
  ------------------
 1411|      4|        n = r_long(p);
 1412|      4|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  212|      4|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1412:13): [True: 0, False: 4]
  |  Branch (1412:22): [True: 0, False: 4]
  ------------------
 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|  7.97k|    _read_tuple:
 1420|  7.97k|        v = PyTuple_New(n);
 1421|  7.97k|        R_REF(v);
  ------------------
  |  | 1203|  7.97k|#define R_REF(O) do{\
  |  | 1204|  7.97k|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 1.06k, False: 6.91k]
  |  |  ------------------
  |  | 1205|  7.97k|        O = r_ref(O, flag, p);\
  |  | 1206|  7.97k|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 7.97k]
  |  |  ------------------
  ------------------
 1422|  7.97k|        if (v == NULL)
  ------------------
  |  Branch (1422:13): [True: 0, False: 7.97k]
  ------------------
 1423|      0|            break;
 1424|       |
 1425|  54.9k|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1425:21): [True: 47.0k, False: 7.97k]
  ------------------
 1426|  47.0k|            v2 = r_object(p);
 1427|  47.0k|            if ( v2 == NULL ) {
  ------------------
  |  Branch (1427:18): [True: 0, False: 47.0k]
  ------------------
 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);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1432|      0|                break;
 1433|      0|            }
 1434|  47.0k|            PyTuple_SET_ITEM(v, i, v2);
  ------------------
  |  |   40|  47.0k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  47.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  47.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1435|  47.0k|        }
 1436|  7.97k|        retval = v;
 1437|  7.97k|        break;
 1438|       |
 1439|      0|    case TYPE_LIST:
  ------------------
  |  |   69|      0|#define TYPE_LIST               '['
  ------------------
  |  Branch (1439:5): [True: 0, False: 81.5k]
  ------------------
 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);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359: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: 81.5k]
  ------------------
 1467|      0|    case TYPE_FROZENDICT:
  ------------------
  |  |   71|      0|#define TYPE_FROZENDICT         '}'
  ------------------
  |  Branch (1467:5): [True: 0, False: 81.5k]
  ------------------
 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));
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359: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: 81.5k]
  ------------------
 1510|     13|    case TYPE_FROZENSET:
  ------------------
  |  |   77|     13|#define TYPE_FROZENSET          '>'
  ------------------
  |  Branch (1510:5): [True: 13, False: 81.5k]
  ------------------
 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);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359: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|  3.40k|    case TYPE_CODE:
  ------------------
  |  |   72|  3.40k|#define TYPE_CODE               'c'
  ------------------
  |  Branch (1566:5): [True: 3.40k, False: 78.1k]
  ------------------
 1567|  3.40k|        {
 1568|  3.40k|            int argcount;
 1569|  3.40k|            int posonlyargcount;
 1570|  3.40k|            int kwonlyargcount;
 1571|  3.40k|            int stacksize;
 1572|  3.40k|            int flags;
 1573|  3.40k|            PyObject *code = NULL;
 1574|  3.40k|            PyObject *consts = NULL;
 1575|  3.40k|            PyObject *names = NULL;
 1576|  3.40k|            PyObject *localsplusnames = NULL;
 1577|  3.40k|            PyObject *localspluskinds = NULL;
 1578|  3.40k|            PyObject *filename = NULL;
 1579|  3.40k|            PyObject *name = NULL;
 1580|  3.40k|            PyObject *qualname = NULL;
 1581|  3.40k|            int firstlineno;
 1582|  3.40k|            PyObject* linetable = NULL;
 1583|  3.40k|            PyObject *exceptiontable = NULL;
 1584|       |
 1585|  3.40k|            if (!p->allow_code) {
  ------------------
  |  Branch (1585:17): [True: 0, False: 3.40k]
  ------------------
 1586|      0|                PyErr_SetString(PyExc_ValueError,
 1587|      0|                                "unmarshalling code objects is disallowed");
 1588|      0|                break;
 1589|      0|            }
 1590|  3.40k|            idx = r_ref_reserve(flag, p);
 1591|  3.40k|            if (idx < 0)
  ------------------
  |  Branch (1591:17): [True: 0, False: 3.40k]
  ------------------
 1592|      0|                break;
 1593|       |
 1594|  3.40k|            v = NULL;
 1595|       |
 1596|       |            /* XXX ignore long->int overflows for now */
 1597|  3.40k|            argcount = (int)r_long(p);
 1598|  3.40k|            if (argcount == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1598:17): [True: 0, False: 3.40k]
  |  Branch (1598:35): [True: 0, False: 0]
  ------------------
 1599|      0|                goto code_error;
 1600|  3.40k|            posonlyargcount = (int)r_long(p);
 1601|  3.40k|            if (posonlyargcount == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1601:17): [True: 0, False: 3.40k]
  |  Branch (1601:42): [True: 0, False: 0]
  ------------------
 1602|      0|                goto code_error;
 1603|      0|            }
 1604|  3.40k|            kwonlyargcount = (int)r_long(p);
 1605|  3.40k|            if (kwonlyargcount == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1605:17): [True: 0, False: 3.40k]
  |  Branch (1605:41): [True: 0, False: 0]
  ------------------
 1606|      0|                goto code_error;
 1607|  3.40k|            stacksize = (int)r_long(p);
 1608|  3.40k|            if (stacksize == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1608:17): [True: 0, False: 3.40k]
  |  Branch (1608:36): [True: 0, False: 0]
  ------------------
 1609|      0|                goto code_error;
 1610|  3.40k|            flags = (int)r_long(p);
 1611|  3.40k|            if (flags == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1611:17): [True: 0, False: 3.40k]
  |  Branch (1611:32): [True: 0, False: 0]
  ------------------
 1612|      0|                goto code_error;
 1613|  3.40k|            code = r_object(p);
 1614|  3.40k|            if (code == NULL)
  ------------------
  |  Branch (1614:17): [True: 0, False: 3.40k]
  ------------------
 1615|      0|                goto code_error;
 1616|  3.40k|            consts = r_object(p);
 1617|  3.40k|            if (consts == NULL)
  ------------------
  |  Branch (1617:17): [True: 0, False: 3.40k]
  ------------------
 1618|      0|                goto code_error;
 1619|  3.40k|            names = r_object(p);
 1620|  3.40k|            if (names == NULL)
  ------------------
  |  Branch (1620:17): [True: 0, False: 3.40k]
  ------------------
 1621|      0|                goto code_error;
 1622|  3.40k|            localsplusnames = r_object(p);
 1623|  3.40k|            if (localsplusnames == NULL)
  ------------------
  |  Branch (1623:17): [True: 0, False: 3.40k]
  ------------------
 1624|      0|                goto code_error;
 1625|  3.40k|            localspluskinds = r_object(p);
 1626|  3.40k|            if (localspluskinds == NULL)
  ------------------
  |  Branch (1626:17): [True: 0, False: 3.40k]
  ------------------
 1627|      0|                goto code_error;
 1628|  3.40k|            filename = r_object(p);
 1629|  3.40k|            if (filename == NULL)
  ------------------
  |  Branch (1629:17): [True: 0, False: 3.40k]
  ------------------
 1630|      0|                goto code_error;
 1631|  3.40k|            name = r_object(p);
 1632|  3.40k|            if (name == NULL)
  ------------------
  |  Branch (1632:17): [True: 0, False: 3.40k]
  ------------------
 1633|      0|                goto code_error;
 1634|  3.40k|            qualname = r_object(p);
 1635|  3.40k|            if (qualname == NULL)
  ------------------
  |  Branch (1635:17): [True: 0, False: 3.40k]
  ------------------
 1636|      0|                goto code_error;
 1637|  3.40k|            firstlineno = (int)r_long(p);
 1638|  3.40k|            if (firstlineno == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1638:17): [True: 0, False: 3.40k]
  |  Branch (1638:38): [True: 0, False: 0]
  ------------------
 1639|      0|                goto code_error;
 1640|  3.40k|            linetable = r_object(p);
 1641|  3.40k|            if (linetable == NULL)
  ------------------
  |  Branch (1641:17): [True: 0, False: 3.40k]
  ------------------
 1642|      0|                goto code_error;
 1643|  3.40k|            exceptiontable = r_object(p);
 1644|  3.40k|            if (exceptiontable == NULL)
  ------------------
  |  Branch (1644:17): [True: 0, False: 3.40k]
  ------------------
 1645|      0|                goto code_error;
 1646|       |
 1647|  3.40k|            struct _PyCodeConstructor con = {
 1648|  3.40k|                .filename = filename,
 1649|  3.40k|                .name = name,
 1650|  3.40k|                .qualname = qualname,
 1651|  3.40k|                .flags = flags,
 1652|       |
 1653|  3.40k|                .code = code,
 1654|  3.40k|                .firstlineno = firstlineno,
 1655|  3.40k|                .linetable = linetable,
 1656|       |
 1657|  3.40k|                .consts = consts,
 1658|  3.40k|                .names = names,
 1659|       |
 1660|  3.40k|                .localsplusnames = localsplusnames,
 1661|  3.40k|                .localspluskinds = localspluskinds,
 1662|       |
 1663|  3.40k|                .argcount = argcount,
 1664|  3.40k|                .posonlyargcount = posonlyargcount,
 1665|  3.40k|                .kwonlyargcount = kwonlyargcount,
 1666|       |
 1667|  3.40k|                .stacksize = stacksize,
 1668|       |
 1669|  3.40k|                .exceptiontable = exceptiontable,
 1670|  3.40k|            };
 1671|       |
 1672|  3.40k|            if (_PyCode_Validate(&con) < 0) {
  ------------------
  |  Branch (1672:17): [True: 0, False: 3.40k]
  ------------------
 1673|      0|                goto code_error;
 1674|      0|            }
 1675|       |
 1676|  3.40k|            v = (PyObject *)_PyCode_New(&con);
 1677|  3.40k|            if (v == NULL) {
  ------------------
  |  Branch (1677:17): [True: 0, False: 3.40k]
  ------------------
 1678|      0|                goto code_error;
 1679|      0|            }
 1680|       |
 1681|  3.40k|            v = r_ref_insert(v, idx, flag, p);
 1682|       |
 1683|  3.40k|          code_error:
 1684|  3.40k|            if (v == NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (1684:17): [True: 0, False: 3.40k]
  |  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|  3.40k|            Py_XDECREF(code);
  ------------------
  |  |  524|  3.40k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1689|  3.40k|            Py_XDECREF(consts);
  ------------------
  |  |  524|  3.40k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1690|  3.40k|            Py_XDECREF(names);
  ------------------
  |  |  524|  3.40k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1691|  3.40k|            Py_XDECREF(localsplusnames);
  ------------------
  |  |  524|  3.40k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1692|  3.40k|            Py_XDECREF(localspluskinds);
  ------------------
  |  |  524|  3.40k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1693|  3.40k|            Py_XDECREF(filename);
  ------------------
  |  |  524|  3.40k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1694|  3.40k|            Py_XDECREF(name);
  ------------------
  |  |  524|  3.40k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1695|  3.40k|            Py_XDECREF(qualname);
  ------------------
  |  |  524|  3.40k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1696|  3.40k|            Py_XDECREF(linetable);
  ------------------
  |  |  524|  3.40k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1697|  3.40k|            Py_XDECREF(exceptiontable);
  ------------------
  |  |  524|  3.40k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1698|  3.40k|        }
 1699|      0|        retval = v;
 1700|  3.40k|        break;
 1701|       |
 1702|  36.3k|    case TYPE_REF:
  ------------------
  |  |   99|  36.3k|#define TYPE_REF                'r'
  ------------------
  |  Branch (1702:5): [True: 36.3k, False: 45.2k]
  ------------------
 1703|  36.3k|        n = r_long(p);
 1704|  36.3k|        if (n < 0 || n >= PyList_GET_SIZE(p->refs)) {
  ------------------
  |  |   38|  36.3k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  36.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1704:13): [True: 0, False: 36.3k]
  |  Branch (1704:22): [True: 0, False: 36.3k]
  ------------------
 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|  36.3k|        v = PyList_GET_ITEM(p->refs, n);
  ------------------
  |  |   40|  36.3k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  36.3k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1711:13): [True: 36.3k, False: 0]
  ------------------
 1712|  36.3k|        if (v == Py_None) {
  ------------------
  |  |  616|  36.3k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1712:13): [True: 0, False: 36.3k]
  ------------------
 1713|      0|            PyErr_SetString(PyExc_ValueError, "bad marshal data (invalid reference)");
 1714|      0|            break;
 1715|      0|        }
 1716|  36.3k|        retval = Py_NewRef(v);
  ------------------
  |  |  550|  36.3k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  36.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1717|  36.3k|        break;
 1718|       |
 1719|    126|    case TYPE_SLICE:
  ------------------
  |  |   79|    126|#define TYPE_SLICE              ':'
  ------------------
  |  Branch (1719:5): [True: 126, False: 81.4k]
  ------------------
 1720|    126|    {
 1721|    126|        Py_ssize_t idx = r_ref_reserve(flag, p);
 1722|    126|        if (idx < 0) {
  ------------------
  |  Branch (1722:13): [True: 0, False: 126]
  ------------------
 1723|      0|            break;
 1724|      0|        }
 1725|    126|        PyObject *stop = NULL;
 1726|    126|        PyObject *step = NULL;
 1727|    126|        PyObject *start = r_object(p);
 1728|    126|        if (start == NULL) {
  ------------------
  |  Branch (1728:13): [True: 0, False: 126]
  ------------------
 1729|      0|            goto cleanup;
 1730|      0|        }
 1731|    126|        stop = r_object(p);
 1732|    126|        if (stop == NULL) {
  ------------------
  |  Branch (1732:13): [True: 0, False: 126]
  ------------------
 1733|      0|            goto cleanup;
 1734|      0|        }
 1735|    126|        step = r_object(p);
 1736|    126|        if (step == NULL) {
  ------------------
  |  Branch (1736:13): [True: 0, False: 126]
  ------------------
 1737|      0|            goto cleanup;
 1738|      0|        }
 1739|    126|        retval = PySlice_New(start, stop, step);
 1740|    126|        r_ref_insert(retval, idx, flag, p);
 1741|    126|    cleanup:
 1742|    126|        Py_XDECREF(start);
  ------------------
  |  |  524|    126|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    126|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    126|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1743|    126|        Py_XDECREF(stop);
  ------------------
  |  |  524|    126|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    126|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    126|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1744|    126|        Py_XDECREF(step);
  ------------------
  |  |  524|    126|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    126|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    126|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1745|    126|        break;
 1746|    126|    }
 1747|       |
 1748|      0|    default:
  ------------------
  |  Branch (1748:5): [True: 0, False: 81.5k]
  ------------------
 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|  81.5k|    }
 1755|  81.5k|    p->depth--;
 1756|  81.5k|    return retval;
 1757|  81.5k|}
marshal.c:r_byte:
  910|   109k|{
  911|   109k|    if (p->ptr != NULL) {
  ------------------
  |  Branch (911:9): [True: 109k, False: 0]
  ------------------
  912|   109k|        if (p->ptr < p->end) {
  ------------------
  |  Branch (912:13): [True: 109k, False: 0]
  ------------------
  913|   109k|            return (unsigned char) *p->ptr++;
  914|   109k|        }
  915|   109k|    }
  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|   109k|}
marshal.c:r_ref:
 1161|  22.7k|{
 1162|  22.7k|    assert(flag & FLAG_REF);
  ------------------
  |  Branch (1162:5): [True: 22.7k, False: 0]
  ------------------
 1163|  22.7k|    if (o == NULL)
  ------------------
  |  Branch (1163:9): [True: 0, False: 22.7k]
  ------------------
 1164|      0|        return NULL;
 1165|  22.7k|    if (PyList_Append(p->refs, o) < 0) {
  ------------------
  |  Branch (1165:9): [True: 0, False: 22.7k]
  ------------------
 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|  22.7k|    return o;
 1170|  22.7k|}
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|  3.53k|{
 1123|  3.53k|    if (flag) { /* currently only FLAG_REF is defined */
  ------------------
  |  Branch (1123:9): [True: 27, False: 3.51k]
  ------------------
 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|  3.51k|        return 0;
 1134|  3.53k|}
marshal.c:r_ref_insert:
 1146|  3.53k|{
 1147|  3.53k|    if (o != NULL && flag) { /* currently only FLAG_REF is defined */
  ------------------
  |  Branch (1147:9): [True: 3.53k, False: 0]
  |  Branch (1147:22): [True: 27, False: 3.51k]
  ------------------
 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|  3.53k|    return o;
 1153|  3.53k|}
marshal.c:marshal_loads_impl:
 2107|     85|{
 2108|     85|    RFILE rf;
 2109|     85|    char *s = bytes->buf;
 2110|     85|    Py_ssize_t n = bytes->len;
 2111|     85|    PyObject* result;
 2112|     85|    rf.allow_code = allow_code;
 2113|     85|    rf.fp = NULL;
 2114|     85|    rf.readable = NULL;
 2115|     85|    rf.ptr = s;
 2116|     85|    rf.end = s + n;
 2117|     85|    rf.depth = 0;
 2118|     85|    if ((rf.refs = PyList_New(0)) == NULL)
  ------------------
  |  Branch (2118:9): [True: 0, False: 85]
  ------------------
 2119|      0|        return NULL;
 2120|     85|    result = read_object(&rf);
 2121|     85|    Py_DECREF(rf.refs);
  ------------------
  |  |  430|     85|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     85|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     85|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2122|     85|    return result;
 2123|     85|}
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|  35.4k|{
  498|  35.4k|    va_list va;
  499|  35.4k|    PyObject* retval;
  500|  35.4k|    va_start(va, format);
  501|  35.4k|    retval = va_build_value(format, va);
  502|       |    va_end(va);
  503|  35.4k|    return retval;
  504|  35.4k|}
_Py_VaBuildStack:
  555|  91.7k|{
  556|  91.7k|    const char *f;
  557|  91.7k|    Py_ssize_t n;
  558|  91.7k|    va_list lva;
  559|  91.7k|    PyObject **stack;
  560|  91.7k|    int res;
  561|       |
  562|  91.7k|    n = countformat(format, '\0');
  563|  91.7k|    if (n < 0) {
  ------------------
  |  Branch (563:9): [True: 0, False: 91.7k]
  ------------------
  564|      0|        *p_nargs = 0;
  565|      0|        return NULL;
  566|      0|    }
  567|       |
  568|  91.7k|    if (n == 0) {
  ------------------
  |  Branch (568:9): [True: 0, False: 91.7k]
  ------------------
  569|      0|        *p_nargs = 0;
  570|      0|        return small_stack;
  571|      0|    }
  572|       |
  573|  91.7k|    if (n <= small_stack_len) {
  ------------------
  |  Branch (573:9): [True: 91.7k, False: 12]
  ------------------
  574|  91.7k|        stack = small_stack;
  575|  91.7k|    }
  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|  91.7k|    va_copy(lva, va);
  585|  91.7k|    f = format;
  586|  91.7k|    res = do_mkstack(stack, &f, &lva, '\0', n);
  587|  91.7k|    va_end(lva);
  588|       |
  589|  91.7k|    if (res < 0) {
  ------------------
  |  Branch (589:9): [True: 0, False: 91.7k]
  ------------------
  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|  91.7k|    *p_nargs = n;
  597|  91.7k|    return stack;
  598|  91.7k|}
PyModule_AddObjectRef:
  603|    800|{
  604|    800|    if (!PyModule_Check(mod)) {
  ------------------
  |  |   12|    800|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|    800|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    800|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    800|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (604:9): [True: 0, False: 800]
  ------------------
  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|    800|    if (!value) {
  ------------------
  |  Branch (610:9): [True: 0, False: 800]
  ------------------
  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|    800|    PyObject *dict = PyModule_GetDict(mod);
  620|    800|    if (dict == NULL) {
  ------------------
  |  Branch (620:9): [True: 0, False: 800]
  ------------------
  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|    800|    return PyDict_SetItemString(dict, name, value);
  627|    800|}
PyModule_Add:
  631|    644|{
  632|    644|    int res = PyModule_AddObjectRef(mod, name, value);
  633|    644|    Py_XDECREF(value);
  ------------------
  |  |  524|    644|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    644|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    644|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|    644|    return res;
  635|    644|}
PyModule_AddIntConstant:
  649|    576|{
  650|    576|    return PyModule_Add(m, name, PyLong_FromLong(value));
  651|    576|}
PyModule_AddStringConstant:
  655|      2|{
  656|      2|    return PyModule_Add(m, name, PyUnicode_FromString(value));
  657|      2|}
PyModule_AddType:
  661|     81|{
  662|     81|    if (!_PyType_IsReady(type) && PyType_Ready(type) < 0) {
  ------------------
  |  Branch (662:9): [True: 0, False: 81]
  |  Branch (662:35): [True: 0, False: 0]
  ------------------
  663|      0|        return -1;
  664|      0|    }
  665|       |
  666|     81|    const char *name = _PyType_Name(type);
  667|     81|    assert(name != NULL);
  ------------------
  |  Branch (667:5): [True: 81, False: 0]
  ------------------
  668|       |
  669|     81|    return PyModule_AddObjectRef(module, name, (PyObject *)type);
  670|     81|}
PyABIInfo_Check:
  707|     39|{
  708|     39|    if (!info) {
  ------------------
  |  Branch (708:9): [True: 0, False: 39]
  ------------------
  709|      0|        return _abiinfo_raise(module_name, "NULL PyABIInfo");
  710|      0|    }
  711|       |
  712|       |    /* abiinfo_major_version */
  713|     39|    if (info->abiinfo_major_version == 0) {
  ------------------
  |  Branch (713:9): [True: 0, False: 39]
  ------------------
  714|      0|        return 0;
  715|      0|    }
  716|     39|    if (info->abiinfo_major_version > 1) {
  ------------------
  |  Branch (716:9): [True: 0, False: 39]
  ------------------
  717|      0|        return _abiinfo_raise(module_name, "PyABIInfo version too high");
  718|      0|    }
  719|       |
  720|       |    /* Internal ABI */
  721|     39|    if (info->flags & PyABIInfo_INTERNAL) {
  ------------------
  |  |   97|     39|#define PyABIInfo_INTERNAL      0x0008
  ------------------
  |  Branch (721:9): [True: 39, False: 0]
  ------------------
  722|     39|        if (info->abi_version && (info->abi_version != PY_VERSION_HEX)) {
  ------------------
  |  |   43|     39|#define PY_VERSION_HEX _Py_PACK_FULL_VERSION( \
  |  |  ------------------
  |  |  |  |   34|     39|#define _Py_PACK_FULL_VERSION(X, Y, Z, LEVEL, SERIAL) ( \
  |  |  |  |   35|     39|    (((X) & 0xff) << 24) |                              \
  |  |  |  |   36|     39|    (((Y) & 0xff) << 16) |                              \
  |  |  |  |   37|     39|    (((Z) & 0xff) << 8) |                               \
  |  |  |  |   38|     39|    (((LEVEL) & 0xf) << 4) |                            \
  |  |  |  |   39|     39|    (((SERIAL) & 0xf) << 0))
  |  |  ------------------
  |  |   44|     39|    PY_MAJOR_VERSION,                         \
  |  |   45|     39|    PY_MINOR_VERSION,                         \
  |  |   46|     39|    PY_MICRO_VERSION,                         \
  |  |   47|     39|    PY_RELEASE_LEVEL,                         \
  |  |   48|     39|    PY_RELEASE_SERIAL)
  ------------------
  |  Branch (722:13): [True: 39, False: 0]
  |  Branch (722:34): [True: 0, False: 39]
  ------------------
  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|     39|    }
  729|       |
  730|     39|#define XY_MASK 0xffff0000
  731|     39|    if (info->flags & PyABIInfo_STABLE) {
  ------------------
  |  |   94|     39|#define PyABIInfo_STABLE        0x0001
  ------------------
  |  Branch (731:9): [True: 0, False: 39]
  ------------------
  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|     39|    else {
  755|       |        /* Exact major.minor version check */
  756|     39|        if (info->abi_version) {
  ------------------
  |  Branch (756:13): [True: 39, False: 0]
  ------------------
  757|     39|            if ((info->abi_version & XY_MASK) != (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |  730|     39|#define XY_MASK 0xffff0000
  ------------------
                          if ((info->abi_version & XY_MASK) != (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |   43|     39|#define PY_VERSION_HEX _Py_PACK_FULL_VERSION( \
  |  |  ------------------
  |  |  |  |   34|     39|#define _Py_PACK_FULL_VERSION(X, Y, Z, LEVEL, SERIAL) ( \
  |  |  |  |   35|     39|    (((X) & 0xff) << 24) |                              \
  |  |  |  |   36|     39|    (((Y) & 0xff) << 16) |                              \
  |  |  |  |   37|     39|    (((Z) & 0xff) << 8) |                               \
  |  |  |  |   38|     39|    (((LEVEL) & 0xf) << 4) |                            \
  |  |  |  |   39|     39|    (((SERIAL) & 0xf) << 0))
  |  |  ------------------
  |  |   44|     39|    PY_MAJOR_VERSION,                         \
  |  |   45|     39|    PY_MINOR_VERSION,                         \
  |  |   46|     39|    PY_MICRO_VERSION,                         \
  |  |   47|     39|    PY_RELEASE_LEVEL,                         \
  |  |   48|     39|    PY_RELEASE_SERIAL)
  ------------------
                          if ((info->abi_version & XY_MASK) != (PY_VERSION_HEX & XY_MASK)) {
  ------------------
  |  |  730|     39|#define XY_MASK 0xffff0000
  ------------------
  |  Branch (757:17): [True: 0, False: 39]
  ------------------
  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|     39|        }
  765|     39|    }
  766|     39|#undef XY_MASK
  767|       |
  768|       |    /* Free-threading/GIL */
  769|     39|    uint16_t gilflags = info->flags & (PyABIInfo_GIL | PyABIInfo_FREETHREADED);
  ------------------
  |  |   95|     39|#define PyABIInfo_GIL           0x0002
  ------------------
                  uint16_t gilflags = info->flags & (PyABIInfo_GIL | PyABIInfo_FREETHREADED);
  ------------------
  |  |   96|     39|#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|     39|    if (gilflags == PyABIInfo_FREETHREADED) {
  ------------------
  |  |   96|     39|#define PyABIInfo_FREETHREADED  0x0004
  ------------------
  |  Branch (776:9): [True: 0, False: 39]
  ------------------
  777|      0|        return _abiinfo_raise(module_name,
  778|      0|                              "only compatible with free-threaded CPython");
  779|      0|    }
  780|     39|#endif
  781|       |
  782|     39|    return 0;
  783|     39|}
modsupport.c:va_build_value:
  531|  35.4k|{
  532|  35.4k|    const char *f = format;
  533|  35.4k|    Py_ssize_t n = countformat(f, '\0');
  534|  35.4k|    va_list lva;
  535|  35.4k|    PyObject *retval;
  536|       |
  537|  35.4k|    if (n < 0)
  ------------------
  |  Branch (537:9): [True: 0, False: 35.4k]
  ------------------
  538|      0|        return NULL;
  539|  35.4k|    if (n == 0) {
  ------------------
  |  Branch (539:9): [True: 0, False: 35.4k]
  ------------------
  540|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  541|      0|    }
  542|  35.4k|    va_copy(lva, va);
  543|  35.4k|    if (n == 1) {
  ------------------
  |  Branch (543:9): [True: 32.1k, False: 3.31k]
  ------------------
  544|  32.1k|        retval = do_mkvalue(&f, &lva);
  545|  32.1k|    } else {
  546|  3.31k|        retval = do_mktuple(&f, &lva, '\0', n);
  547|  3.31k|    }
  548|       |    va_end(lva);
  549|  35.4k|    return retval;
  550|  35.4k|}
modsupport.c:do_mkvalue:
  287|   644k|{
  288|   644k|    for (;;) {
  289|   644k|        switch (*(*p_format)++) {
  290|  36.0k|        case '(':
  ------------------
  |  Branch (290:9): [True: 36.0k, False: 607k]
  ------------------
  291|  36.0k|            return do_mktuple(p_format, p_va, ')',
  292|  36.0k|                              countformat(*p_format, ')'));
  293|       |
  294|      0|        case '[':
  ------------------
  |  Branch (294:9): [True: 0, False: 644k]
  ------------------
  295|      0|            return do_mklist(p_format, p_va, ']',
  296|      0|                             countformat(*p_format, ']'));
  297|       |
  298|    129|        case '{':
  ------------------
  |  Branch (298:9): [True: 129, False: 643k]
  ------------------
  299|    129|            return do_mkdict(p_format, p_va, '}',
  300|    129|                             countformat(*p_format, '}'));
  301|       |
  302|      0|        case 'b':
  ------------------
  |  Branch (302:9): [True: 0, False: 644k]
  ------------------
  303|      0|        case 'B':
  ------------------
  |  Branch (303:9): [True: 0, False: 644k]
  ------------------
  304|      0|        case 'h':
  ------------------
  |  Branch (304:9): [True: 0, False: 644k]
  ------------------
  305|   106k|        case 'i':
  ------------------
  |  Branch (305:9): [True: 106k, False: 538k]
  ------------------
  306|   106k|            return PyLong_FromLong((long)va_arg(*p_va, int));
  307|       |
  308|      0|        case 'H':
  ------------------
  |  Branch (308:9): [True: 0, False: 644k]
  ------------------
  309|      0|            return PyLong_FromLong((long)va_arg(*p_va, unsigned int));
  310|       |
  311|      0|        case 'I':
  ------------------
  |  Branch (311:9): [True: 0, False: 644k]
  ------------------
  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|   115k|        case 'n':
  ------------------
  |  Branch (318:9): [True: 115k, False: 528k]
  ------------------
  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|   115k|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|   115k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  324|   115k|        case 'l':
  ------------------
  |  Branch (324:9): [True: 0, False: 644k]
  ------------------
  325|   115k|            return PyLong_FromLong(va_arg(*p_va, long));
  326|       |
  327|      0|        case 'k':
  ------------------
  |  Branch (327:9): [True: 0, False: 644k]
  ------------------
  328|      0|        {
  329|      0|            unsigned long n;
  330|      0|            n = va_arg(*p_va, unsigned long);
  331|      0|            return PyLong_FromUnsignedLong(n);
  332|   115k|        }
  333|       |
  334|      0|        case 'L':
  ------------------
  |  Branch (334:9): [True: 0, False: 644k]
  ------------------
  335|      0|            return PyLong_FromLongLong((long long)va_arg(*p_va, long long));
  336|       |
  337|      0|        case 'K':
  ------------------
  |  Branch (337:9): [True: 0, False: 644k]
  ------------------
  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: 644k]
  ------------------
  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|   115k|        }
  362|      0|        case 'f':
  ------------------
  |  Branch (362:9): [True: 0, False: 644k]
  ------------------
  363|      0|        case 'd':
  ------------------
  |  Branch (363:9): [True: 0, False: 644k]
  ------------------
  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: 644k]
  ------------------
  368|      0|            return PyComplex_FromCComplex(
  369|      0|                *((Py_complex *)va_arg(*p_va, Py_complex *)));
  370|       |
  371|     20|        case 'c':
  ------------------
  |  Branch (371:9): [True: 20, False: 644k]
  ------------------
  372|     20|        {
  373|     20|            char p[1];
  374|     20|            p[0] = (char)va_arg(*p_va, int);
  375|     20|            return PyBytes_FromStringAndSize(p, 1);
  376|      0|        }
  377|      0|        case 'C':
  ------------------
  |  Branch (377:9): [True: 0, False: 644k]
  ------------------
  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: 644k]
  ------------------
  383|      0|        {
  384|      0|            int i = va_arg(*p_va, int);
  385|      0|            return PyBool_FromLong(i);
  386|      0|        }
  387|       |
  388|  78.2k|        case 's':
  ------------------
  |  Branch (388:9): [True: 78.2k, False: 565k]
  ------------------
  389|  78.2k|        case 'z':
  ------------------
  |  Branch (389:9): [True: 8, False: 644k]
  ------------------
  390|  78.2k|        case 'U':   /* XXX deprecated alias */
  ------------------
  |  Branch (390:9): [True: 0, False: 644k]
  ------------------
  391|  78.2k|        {
  392|  78.2k|            PyObject *v;
  393|  78.2k|            const char *str = va_arg(*p_va, const char *);
  394|  78.2k|            Py_ssize_t n;
  395|  78.2k|            if (**p_format == '#') {
  ------------------
  |  Branch (395:17): [True: 0, False: 78.2k]
  ------------------
  396|      0|                ++*p_format;
  397|      0|                n = va_arg(*p_va, Py_ssize_t);
  398|      0|            }
  399|  78.2k|            else
  400|  78.2k|                n = -1;
  401|  78.2k|            if (str == NULL) {
  ------------------
  |  Branch (401:17): [True: 0, False: 78.2k]
  ------------------
  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|  78.2k|            else {
  405|  78.2k|                if (n < 0) {
  ------------------
  |  Branch (405:21): [True: 78.2k, False: 0]
  ------------------
  406|  78.2k|                    size_t m = strlen(str);
  407|  78.2k|                    if (m > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  78.2k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (407:25): [True: 0, False: 78.2k]
  ------------------
  408|      0|                        PyErr_SetString(PyExc_OverflowError,
  409|      0|                            "string too long for Python string");
  410|      0|                        return NULL;
  411|      0|                    }
  412|  78.2k|                    n = (Py_ssize_t)m;
  413|  78.2k|                }
  414|  78.2k|                v = PyUnicode_FromStringAndSize(str, n);
  415|  78.2k|            }
  416|  78.2k|            return v;
  417|  78.2k|        }
  418|       |
  419|  3.33k|        case 'y':
  ------------------
  |  Branch (419:9): [True: 3.33k, False: 640k]
  ------------------
  420|  3.33k|        {
  421|  3.33k|            PyObject *v;
  422|  3.33k|            const char *str = va_arg(*p_va, const char *);
  423|  3.33k|            Py_ssize_t n;
  424|  3.33k|            if (**p_format == '#') {
  ------------------
  |  Branch (424:17): [True: 3.33k, False: 0]
  ------------------
  425|  3.33k|                ++*p_format;
  426|  3.33k|                n = va_arg(*p_va, Py_ssize_t);
  427|  3.33k|            }
  428|      0|            else
  429|      0|                n = -1;
  430|  3.33k|            if (str == NULL) {
  ------------------
  |  Branch (430:17): [True: 0, False: 3.33k]
  ------------------
  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|  3.33k|            else {
  434|  3.33k|                if (n < 0) {
  ------------------
  |  Branch (434:21): [True: 0, False: 3.33k]
  ------------------
  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|  3.33k|                v = PyBytes_FromStringAndSize(str, n);
  444|  3.33k|            }
  445|  3.33k|            return v;
  446|  3.33k|        }
  447|       |
  448|  26.3k|        case 'N':
  ------------------
  |  Branch (448:9): [True: 26.3k, False: 617k]
  ------------------
  449|  26.3k|        case 'S':
  ------------------
  |  Branch (449:9): [True: 0, False: 644k]
  ------------------
  450|   304k|        case 'O':
  ------------------
  |  Branch (450:9): [True: 278k, False: 365k]
  ------------------
  451|   304k|        if (**p_format == '&') {
  ------------------
  |  Branch (451:13): [True: 0, False: 304k]
  ------------------
  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|   304k|        else {
  459|   304k|            PyObject *v;
  460|   304k|            v = va_arg(*p_va, PyObject *);
  461|   304k|            if (v != NULL) {
  ------------------
  |  Branch (461:17): [True: 304k, False: 0]
  ------------------
  462|   304k|                if (*(*p_format - 1) != 'N')
  ------------------
  |  Branch (462:21): [True: 278k, False: 26.3k]
  ------------------
  463|   278k|                    Py_INCREF(v);
  ------------------
  |  |  310|   278k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   278k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   278k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  464|   304k|            }
  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|   304k|            return v;
  477|   304k|        }
  478|       |
  479|      0|        case ':':
  ------------------
  |  Branch (479:9): [True: 0, False: 644k]
  ------------------
  480|      0|        case ',':
  ------------------
  |  Branch (480:9): [True: 0, False: 644k]
  ------------------
  481|      0|        case ' ':
  ------------------
  |  Branch (481:9): [True: 0, False: 644k]
  ------------------
  482|      0|        case '\t':
  ------------------
  |  Branch (482:9): [True: 0, False: 644k]
  ------------------
  483|      0|            break;
  484|       |
  485|      0|        default:
  ------------------
  |  Branch (485:9): [True: 0, False: 644k]
  ------------------
  486|      0|            PyErr_SetString(PyExc_SystemError,
  487|      0|                "bad format char passed to Py_BuildValue");
  488|      0|            return NULL;
  489|       |
  490|   644k|        }
  491|   644k|    }
  492|   644k|}
modsupport.c:check_end:
  107|   131k|{
  108|   131k|    const char *f = *p_format;
  109|   131k|    while (*f != endchar) {
  ------------------
  |  Branch (109:12): [True: 0, False: 131k]
  ------------------
  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|   131k|    if (endchar) {
  ------------------
  |  Branch (117:9): [True: 36.2k, False: 95.0k]
  ------------------
  118|  36.2k|        f++;
  119|  36.2k|    }
  120|   131k|    *p_format = f;
  121|   131k|    return 1;
  122|   131k|}
modsupport.c:do_mkdict:
  150|    129|{
  151|    129|    PyObject *d;
  152|    129|    Py_ssize_t i;
  153|    129|    if (n < 0)
  ------------------
  |  Branch (153:9): [True: 0, False: 129]
  ------------------
  154|      0|        return NULL;
  155|    129|    if (n % 2) {
  ------------------
  |  Branch (155:9): [True: 0, False: 129]
  ------------------
  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|    129|    if ((d = PyDict_New()) == NULL) {
  ------------------
  |  Branch (163:9): [True: 0, False: 129]
  ------------------
  164|      0|        do_ignore(p_format, p_va, endchar, n);
  165|      0|        return NULL;
  166|      0|    }
  167|    631|    for (i = 0; i < n; i+= 2) {
  ------------------
  |  Branch (167:17): [True: 502, False: 129]
  ------------------
  168|    502|        PyObject *k, *v;
  169|       |
  170|    502|        k = do_mkvalue(p_format, p_va);
  171|    502|        if (k == NULL) {
  ------------------
  |  Branch (171:13): [True: 0, False: 502]
  ------------------
  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|    502|        v = do_mkvalue(p_format, p_va);
  177|    502|        if (v == NULL || PyDict_SetItem(d, k, v) < 0) {
  ------------------
  |  Branch (177:13): [True: 0, False: 502]
  |  Branch (177:26): [True: 0, False: 502]
  ------------------
  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|    502|        Py_DECREF(k);
  ------------------
  |  |  430|    502|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    502|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    502|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|    502|        Py_DECREF(v);
  ------------------
  |  |  430|    502|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    502|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    502|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  186|    502|    }
  187|    129|    if (!check_end(p_format, endchar)) {
  ------------------
  |  Branch (187:9): [True: 0, False: 129]
  ------------------
  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|    129|    return d;
  192|    129|}
modsupport.c:do_mktuple:
  258|  39.4k|{
  259|  39.4k|    PyObject *v;
  260|  39.4k|    Py_ssize_t i;
  261|  39.4k|    if (n < 0)
  ------------------
  |  Branch (261:9): [True: 0, False: 39.4k]
  ------------------
  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|  39.4k|    if ((v = PyTuple_New(n)) == NULL) {
  ------------------
  |  Branch (265:9): [True: 0, False: 39.4k]
  ------------------
  266|      0|        do_ignore(p_format, p_va, endchar, n);
  267|      0|        return NULL;
  268|      0|    }
  269|   194k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (269:17): [True: 154k, False: 39.4k]
  ------------------
  270|   154k|        PyObject *w = do_mkvalue(p_format, p_va);
  271|   154k|        if (w == NULL) {
  ------------------
  |  Branch (271:13): [True: 0, False: 154k]
  ------------------
  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|   154k|        PyTuple_SET_ITEM(v, i, w);
  ------------------
  |  |   40|   154k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   154k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   154k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   154k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   154k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  277|   154k|    }
  278|  39.4k|    if (!check_end(p_format, endchar)) {
  ------------------
  |  Branch (278:9): [True: 0, False: 39.4k]
  ------------------
  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|  39.4k|    return v;
  283|  39.4k|}
modsupport.c:countformat:
   55|   163k|{
   56|   163k|    Py_ssize_t count = 0;
   57|   163k|    int level = 0;
   58|  1.01M|    while (level > 0 || *format != endchar) {
  ------------------
  |  Branch (58:12): [True: 208k, False: 810k]
  |  Branch (58:25): [True: 647k, False: 163k]
  ------------------
   59|   855k|        switch (*format) {
   60|      0|        case '\0':
  ------------------
  |  Branch (60:9): [True: 0, False: 855k]
  ------------------
   61|       |            /* Premature end */
   62|      0|            PyErr_SetString(PyExc_SystemError,
   63|      0|                            "unmatched paren in format");
   64|      0|            return -1;
   65|  39.3k|        case '(':
  ------------------
  |  Branch (65:9): [True: 39.3k, False: 816k]
  ------------------
   66|  39.3k|        case '[':
  ------------------
  |  Branch (66:9): [True: 0, False: 855k]
  ------------------
   67|  39.4k|        case '{':
  ------------------
  |  Branch (67:9): [True: 129, False: 855k]
  ------------------
   68|  39.4k|            if (level == 0) {
  ------------------
  |  Branch (68:17): [True: 36.2k, False: 3.27k]
  ------------------
   69|  36.2k|                count++;
   70|  36.2k|            }
   71|  39.4k|            level++;
   72|  39.4k|            break;
   73|  39.3k|        case ')':
  ------------------
  |  Branch (73:9): [True: 39.3k, False: 816k]
  ------------------
   74|  39.3k|        case ']':
  ------------------
  |  Branch (74:9): [True: 0, False: 855k]
  ------------------
   75|  39.4k|        case '}':
  ------------------
  |  Branch (75:9): [True: 129, False: 855k]
  ------------------
   76|  39.4k|            level--;
   77|  39.4k|            break;
   78|  3.33k|        case '#':
  ------------------
  |  Branch (78:9): [True: 3.33k, False: 852k]
  ------------------
   79|  3.33k|        case '&':
  ------------------
  |  Branch (79:9): [True: 0, False: 855k]
  ------------------
   80|  3.33k|        case ',':
  ------------------
  |  Branch (80:9): [True: 0, False: 855k]
  ------------------
   81|  3.33k|        case ':':
  ------------------
  |  Branch (81:9): [True: 0, False: 855k]
  ------------------
   82|  3.33k|        case ' ':
  ------------------
  |  Branch (82:9): [True: 0, False: 855k]
  ------------------
   83|  3.33k|        case '\t':
  ------------------
  |  Branch (83:9): [True: 0, False: 855k]
  ------------------
   84|  3.33k|            break;
   85|   773k|        default:
  ------------------
  |  Branch (85:9): [True: 773k, False: 82.3k]
  ------------------
   86|   773k|            if (level == 0) {
  ------------------
  |  Branch (86:17): [True: 607k, False: 165k]
  ------------------
   87|   607k|                count++;
   88|   607k|            }
   89|   855k|        }
   90|   855k|        format++;
   91|   855k|    }
   92|   163k|    return count;
   93|   163k|}
modsupport.c:do_mkstack:
  227|  91.7k|{
  228|  91.7k|    Py_ssize_t i;
  229|       |
  230|  91.7k|    if (n < 0) {
  ------------------
  |  Branch (230:9): [True: 0, False: 91.7k]
  ------------------
  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|   547k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (235:17): [True: 456k, False: 91.7k]
  ------------------
  236|   456k|        PyObject *w = do_mkvalue(p_format, p_va);
  237|   456k|        if (w == NULL) {
  ------------------
  |  Branch (237:13): [True: 0, False: 456k]
  ------------------
  238|      0|            do_ignore(p_format, p_va, endchar, n - i - 1);
  239|      0|            goto error;
  240|      0|        }
  241|   456k|        stack[i] = w;
  242|   456k|    }
  243|  91.7k|    if (!check_end(p_format, endchar)) {
  ------------------
  |  Branch (243:9): [True: 0, False: 91.7k]
  ------------------
  244|      0|        goto error;
  245|      0|    }
  246|  91.7k|    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|  91.7k|}

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

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

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

_Py_HashDouble:
   88|   103M|{
   89|   103M|    int e, sign;
   90|   103M|    double m;
   91|   103M|    Py_uhash_t x, y;
   92|       |
   93|   103M|    if (!isfinite(v)) {
  ------------------
  |  Branch (93:9): [True: 138k, False: 102M]
  ------------------
   94|   138k|        if (isinf(v))
  ------------------
  |  Branch (94:13): [True: 64.7k, False: 73.4k]
  ------------------
   95|  64.7k|            return v > 0 ? PyHASH_INF : -PyHASH_INF;
  ------------------
  |  |   19|  42.6k|#define PyHASH_INF 314159
  ------------------
                          return v > 0 ? PyHASH_INF : -PyHASH_INF;
  ------------------
  |  |   19|  86.8k|#define PyHASH_INF 314159
  ------------------
  |  Branch (95:20): [True: 42.6k, False: 22.1k]
  ------------------
   96|  73.4k|        else
   97|  73.4k|            return PyObject_GenericHash(inst);
   98|   138k|    }
   99|       |
  100|   102M|    m = frexp(v, &e);
  101|       |
  102|   102M|    sign = 1;
  103|   102M|    if (m < 0) {
  ------------------
  |  Branch (103:9): [True: 9.19M, False: 93.6M]
  ------------------
  104|  9.19M|        sign = -1;
  105|  9.19M|        m = -m;
  106|  9.19M|    }
  107|       |
  108|       |    /* process 28 bits at a time;  this should work well both for binary
  109|       |       and hexadecimal floating point. */
  110|   102M|    x = 0;
  111|   307M|    while (m) {
  ------------------
  |  Branch (111:12): [True: 204M, False: 102M]
  ------------------
  112|   204M|        x = ((x << 28) & PyHASH_MODULUS) | x >> (PyHASH_BITS - 28);
  ------------------
  |  |   18|   204M|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|   204M|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
                      x = ((x << 28) & PyHASH_MODULUS) | x >> (PyHASH_BITS - 28);
  ------------------
  |  |   13|   204M|#  define PyHASH_BITS 61
  ------------------
  113|   204M|        m *= 268435456.0;  /* 2**28 */
  114|   204M|        e -= 28;
  115|   204M|        y = (Py_uhash_t)m;  /* pull out integer part */
  116|   204M|        m -= y;
  117|   204M|        x += y;
  118|   204M|        if (x >= PyHASH_MODULUS)
  ------------------
  |  |   18|   204M|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|   204M|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
  |  Branch (118:13): [True: 0, False: 204M]
  ------------------
  119|      0|            x -= PyHASH_MODULUS;
  ------------------
  |  |   18|      0|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|      0|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
  120|   204M|    }
  121|       |
  122|       |    /* adjust for the exponent;  first reduce it modulo PyHASH_BITS */
  123|   102M|    e = e >= 0 ? e % PyHASH_BITS : PyHASH_BITS-1-((-1-e) % PyHASH_BITS);
  ------------------
  |  |   13|  3.32M|#  define PyHASH_BITS 61
  ------------------
                  e = e >= 0 ? e % PyHASH_BITS : PyHASH_BITS-1-((-1-e) % PyHASH_BITS);
  ------------------
  |  |   13|  99.5M|#  define PyHASH_BITS 61
  ------------------
                  e = e >= 0 ? e % PyHASH_BITS : PyHASH_BITS-1-((-1-e) % PyHASH_BITS);
  ------------------
  |  |   13|  99.5M|#  define PyHASH_BITS 61
  ------------------
  |  Branch (123:9): [True: 3.32M, False: 99.5M]
  ------------------
  124|   102M|    x = ((x << e) & PyHASH_MODULUS) | x >> (PyHASH_BITS - e);
  ------------------
  |  |   18|   102M|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|   102M|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
                  x = ((x << e) & PyHASH_MODULUS) | x >> (PyHASH_BITS - e);
  ------------------
  |  |   13|   102M|#  define PyHASH_BITS 61
  ------------------
  125|       |
  126|   102M|    x = x * sign;
  127|   102M|    if (x == (Py_uhash_t)-1)
  ------------------
  |  Branch (127:9): [True: 15.5k, False: 102M]
  ------------------
  128|  15.5k|        x = (Py_uhash_t)-2;
  129|   102M|    return (Py_hash_t)x;
  130|   103M|}
Py_HashPointer:
  134|  53.0M|{
  135|  53.0M|    Py_hash_t hash = _Py_HashPointerRaw(ptr);
  136|  53.0M|    if (hash == -1) {
  ------------------
  |  Branch (136:9): [True: 0, False: 53.0M]
  ------------------
  137|      0|        hash = -2;
  138|      0|    }
  139|  53.0M|    return hash;
  140|  53.0M|}
PyObject_GenericHash:
  144|  53.0M|{
  145|  53.0M|    return Py_HashPointer(obj);
  146|  53.0M|}
Py_HashBuffer:
  150|  1.24M|{
  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|  1.24M|    if (len == 0) {
  ------------------
  |  Branch (155:9): [True: 191, False: 1.24M]
  ------------------
  156|    191|        return 0;
  157|    191|    }
  158|       |
  159|       |#ifdef Py_HASH_STATS
  160|       |    hashstats[(len <= Py_HASH_STATS_MAX) ? len : 0]++;
  161|       |#endif
  162|       |
  163|  1.24M|    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|  1.24M|    {
  190|  1.24M|        x = PyHash_Func.hash(ptr, len);
  191|  1.24M|    }
  192|       |
  193|  1.24M|    if (x == -1) {
  ------------------
  |  Branch (193:9): [True: 0, False: 1.24M]
  ------------------
  194|      0|        return -2;
  195|      0|    }
  196|  1.24M|    return x;
  197|  1.24M|}
PyHash_GetFuncDef:
  216|      2|{
  217|      2|    return &PyHash_Func;
  218|      2|}
pyhash.c:siphash13:
  371|  1.24M|siphash13(uint64_t k0, uint64_t k1, const void *src, Py_ssize_t src_sz) {
  372|  1.24M|    uint64_t b = (uint64_t)src_sz << 56;
  373|  1.24M|    const uint8_t *in = (const uint8_t*)src;
  374|       |
  375|  1.24M|    uint64_t v0 = k0 ^ 0x736f6d6570736575ULL;
  376|  1.24M|    uint64_t v1 = k1 ^ 0x646f72616e646f6dULL;
  377|  1.24M|    uint64_t v2 = k0 ^ 0x6c7967656e657261ULL;
  378|  1.24M|    uint64_t v3 = k1 ^ 0x7465646279746573ULL;
  379|       |
  380|  1.24M|    uint64_t t;
  381|  1.24M|    uint8_t *pt;
  382|       |
  383|  8.71M|    while (src_sz >= 8) {
  ------------------
  |  Branch (383:12): [True: 7.47M, False: 1.24M]
  ------------------
  384|  7.47M|        uint64_t mi;
  385|  7.47M|        memcpy(&mi, in, sizeof(mi));
  386|  7.47M|        mi = _le64toh(mi);
  ------------------
  |  |  332|  7.47M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
  387|  7.47M|        in += sizeof(mi);
  388|  7.47M|        src_sz -= sizeof(mi);
  389|  7.47M|        v3 ^= mi;
  390|  7.47M|        SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  7.47M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  7.47M|    a += b; c += d;                 \
  |  |  |  |  357|  7.47M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  7.47M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  7.47M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  7.47M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  7.47M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  7.47M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  7.47M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  7.47M|    a += b; c += d;                 \
  |  |  |  |  357|  7.47M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  7.47M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  7.47M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  7.47M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  7.47M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  7.47M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  391|  7.47M|        v0 ^= mi;
  392|  7.47M|    }
  393|       |
  394|  1.24M|    t = 0;
  395|  1.24M|    pt = (uint8_t *)&t;
  396|  1.24M|    switch (src_sz) {
  ------------------
  |  Branch (396:13): [True: 1.06M, False: 175k]
  ------------------
  397|  57.8k|        case 7: pt[6] = in[6]; _Py_FALLTHROUGH;
  ------------------
  |  |  644|  57.8k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (397:9): [True: 57.8k, False: 1.18M]
  ------------------
  398|   161k|        case 6: pt[5] = in[5]; _Py_FALLTHROUGH;
  ------------------
  |  |  644|   161k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (398:9): [True: 103k, False: 1.13M]
  ------------------
  399|   242k|        case 5: pt[4] = in[4]; _Py_FALLTHROUGH;
  ------------------
  |  |  644|   242k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (399:9): [True: 81.0k, False: 1.16M]
  ------------------
  400|   436k|        case 4: memcpy(pt, in, sizeof(uint32_t)); break;
  ------------------
  |  Branch (400:9): [True: 194k, False: 1.04M]
  ------------------
  401|   181k|        case 3: pt[2] = in[2]; _Py_FALLTHROUGH;
  ------------------
  |  |  644|   181k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (401:9): [True: 181k, False: 1.05M]
  ------------------
  402|   585k|        case 2: pt[1] = in[1]; _Py_FALLTHROUGH;
  ------------------
  |  |  644|   585k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (402:9): [True: 403k, False: 837k]
  ------------------
  403|   628k|        case 1: pt[0] = in[0]; break;
  ------------------
  |  Branch (403:9): [True: 43.3k, False: 1.19M]
  ------------------
  404|  1.24M|    }
  405|  1.24M|    b |= _le64toh(t);
  ------------------
  |  |  332|  1.24M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
  406|       |
  407|  1.24M|    v3 ^= b;
  408|  1.24M|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  1.24M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  1.24M|    a += b; c += d;                 \
  |  |  |  |  357|  1.24M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.24M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  1.24M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.24M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  1.24M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.24M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  1.24M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  1.24M|    a += b; c += d;                 \
  |  |  |  |  357|  1.24M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.24M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  1.24M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.24M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  1.24M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.24M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  409|  1.24M|    v0 ^= b;
  410|  1.24M|    v2 ^= 0xff;
  411|  1.24M|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  1.24M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  1.24M|    a += b; c += d;                 \
  |  |  |  |  357|  1.24M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.24M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  1.24M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.24M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  1.24M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.24M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  1.24M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  1.24M|    a += b; c += d;                 \
  |  |  |  |  357|  1.24M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.24M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  1.24M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.24M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  1.24M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.24M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  412|  1.24M|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  1.24M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  1.24M|    a += b; c += d;                 \
  |  |  |  |  357|  1.24M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.24M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  1.24M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.24M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  1.24M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.24M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  1.24M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  1.24M|    a += b; c += d;                 \
  |  |  |  |  357|  1.24M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.24M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  1.24M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.24M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  1.24M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.24M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  413|  1.24M|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  1.24M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  1.24M|    a += b; c += d;                 \
  |  |  |  |  357|  1.24M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.24M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  1.24M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.24M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  1.24M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.24M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  1.24M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  1.24M|    a += b; c += d;                 \
  |  |  |  |  357|  1.24M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.24M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  1.24M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.24M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  1.24M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  1.24M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  414|       |
  415|       |    /* modified */
  416|  1.24M|    t = (v0 ^ v1) ^ (v2 ^ v3);
  417|  1.24M|    return t;
  418|  1.24M|}
pyhash.c:pysiphash:
  480|  1.24M|pysiphash(const void *src, Py_ssize_t src_sz) {
  481|  1.24M|    return (Py_hash_t)siphash13(
  482|  1.24M|        _le64toh(_Py_HashSecret.siphash.k0), _le64toh(_Py_HashSecret.siphash.k1),
  ------------------
  |  |  332|  1.24M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
                      _le64toh(_Py_HashSecret.siphash.k0), _le64toh(_Py_HashSecret.siphash.k1),
  ------------------
  |  |  332|  1.24M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
  483|  1.24M|        src, src_sz);
  484|  1.24M|}

_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|  48.4k|{
 2840|       |    /* We check the runtime first since, in a daemon thread,
 2841|       |       interp might be dangling pointer. */
 2842|  48.4k|    PyThreadState *finalizing = _PyRuntimeState_GetFinalizing(&_PyRuntime);
 2843|  48.4k|    if (finalizing == NULL) {
  ------------------
  |  Branch (2843:9): [True: 48.4k, False: 0]
  ------------------
 2844|  48.4k|        finalizing = _PyInterpreterState_GetFinalizing(interp);
 2845|  48.4k|    }
 2846|       |    return finalizing != NULL;
 2847|  48.4k|}
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));
  ------------------
  |  |  921|      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));
  ------------------
  |  |  921|      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));
  ------------------
  |  |  921|      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));
  ------------------
  |  |  921|      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));
  ------------------
  |  |  921|      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__));
  ------------------
  |  |  921|      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));
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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) {
  ------------------
  |  |  921|      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",
  ------------------
  |  |  921|      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));
  ------------------
  |  |  921|      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)
  ------------------
  |  |  921|      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));
  ------------------
  |  |  921|      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",
  ------------------
  |  |  921|      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)
  ------------------
  |  |  921|      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__));
  ------------------
  |  |  921|      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|}

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

_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:
  442|      2|{
  443|      2|    struct pyinterpreters *interpreters = &runtime->interpreters;
  444|      2|    interpreters->next_id = 0;
  445|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  446|      2|}
_PyInterpreterState_New:
  683|      2|{
  684|      2|    *pinterp = NULL;
  685|       |
  686|       |    // Don't get runtime from tstate since tstate can be NULL
  687|      2|    _PyRuntimeState *runtime = &_PyRuntime;
  688|       |
  689|       |    // tstate is NULL when pycore_create_interpreter() calls
  690|       |    // _PyInterpreterState_New() to create the main interpreter.
  691|      2|    if (tstate != NULL) {
  ------------------
  |  Branch (691:9): [True: 0, False: 2]
  ------------------
  692|      0|        if (_PySys_Audit(tstate, "cpython.PyInterpreterState_New", NULL) < 0) {
  ------------------
  |  Branch (692:13): [True: 0, False: 0]
  ------------------
  693|      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)}
  ------------------
  694|      0|        }
  695|      0|    }
  696|       |
  697|       |    /* We completely serialize creation of multiple interpreters, since
  698|       |       it simplifies things here and blocking concurrent calls isn't a problem.
  699|       |       Regardless, we must fully block subinterpreter creation until
  700|       |       after the main interpreter is created. */
  701|      2|    HEAD_LOCK(runtime);
  ------------------
  |  |  266|      2|    PyMutex_LockFlags(&(runtime)->interpreters.mutex, _Py_LOCK_DONT_DETACH)
  ------------------
  702|       |
  703|      2|    struct pyinterpreters *interpreters = &runtime->interpreters;
  704|      2|    int64_t id = interpreters->next_id;
  705|      2|    interpreters->next_id += 1;
  706|       |
  707|       |    // Allocate the interpreter and add it to the runtime state.
  708|      2|    PyInterpreterState *interp;
  709|      2|    PyStatus status;
  710|      2|    PyInterpreterState *old_head = interpreters->head;
  711|      2|    if (old_head == NULL) {
  ------------------
  |  Branch (711:9): [True: 2, False: 0]
  ------------------
  712|       |        // We are creating the main interpreter.
  713|      2|        assert(interpreters->main == NULL);
  ------------------
  |  Branch (713:9): [True: 2, False: 0]
  ------------------
  714|      2|        assert(id == 0);
  ------------------
  |  Branch (714:9): [True: 2, False: 0]
  ------------------
  715|       |
  716|      2|        interp = &runtime->_main_interpreter;
  717|      2|        assert(interp->id == 0);
  ------------------
  |  Branch (717:9): [True: 2, False: 0]
  ------------------
  718|      2|        assert(interp->next == NULL);
  ------------------
  |  Branch (718:9): [True: 2, False: 0]
  ------------------
  719|       |
  720|      2|        interpreters->main = interp;
  721|      2|    }
  722|      0|    else {
  723|      0|        assert(interpreters->main != NULL);
  ------------------
  |  Branch (723:9): [True: 0, False: 0]
  ------------------
  724|      0|        assert(id != 0);
  ------------------
  |  Branch (724:9): [True: 0, False: 0]
  ------------------
  725|       |
  726|      0|        interp = alloc_interpreter();
  727|      0|        if (interp == NULL) {
  ------------------
  |  Branch (727:13): [True: 0, False: 0]
  ------------------
  728|      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)}
  |  |  ------------------
  ------------------
  729|      0|            goto error;
  730|      0|        }
  731|       |        // Set to _PyInterpreterState_INIT.
  732|      0|        memcpy(interp, &initial._main_interpreter, sizeof(*interp));
  733|       |
  734|      0|        if (id < 0) {
  ------------------
  |  Branch (734:13): [True: 0, False: 0]
  ------------------
  735|       |            /* overflow or Py_Initialize() not called yet! */
  736|      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)}
  ------------------
  737|      0|            goto error;
  738|      0|        }
  739|      0|    }
  740|      2|    interpreters->head = interp;
  741|       |
  742|      2|    long whence = _PyInterpreterState_WHENCE_UNKNOWN;
  ------------------
  |  |   17|      2|#define _PyInterpreterState_WHENCE_UNKNOWN 0
  ------------------
  743|      2|    status = init_interpreter(interp, runtime,
  744|      2|                              id, old_head, whence);
  745|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  746|      0|        goto error;
  747|      0|    }
  748|       |
  749|      2|    HEAD_UNLOCK(runtime);
  ------------------
  |  |  268|      2|    PyMutex_Unlock(&(runtime)->interpreters.mutex)
  |  |  ------------------
  |  |  |  |   70|      2|#define PyMutex_Unlock _PyMutex_Unlock
  |  |  ------------------
  ------------------
  750|       |
  751|      2|    assert(interp != NULL);
  ------------------
  |  Branch (751:5): [True: 2, False: 0]
  ------------------
  752|      2|    *pinterp = interp;
  753|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  754|       |
  755|      0|error:
  756|      0|    HEAD_UNLOCK(runtime);
  ------------------
  |  |  268|      0|    PyMutex_Unlock(&(runtime)->interpreters.mutex)
  |  |  ------------------
  |  |  |  |   70|      0|#define PyMutex_Unlock _PyMutex_Unlock
  |  |  ------------------
  ------------------
  757|       |
  758|      0|    if (interp != NULL) {
  ------------------
  |  Branch (758:9): [True: 0, False: 0]
  ------------------
  759|      0|        free_interpreter(interp);
  760|      0|    }
  761|      0|    return status;
  762|      2|}
_PyInterpreterState_SetWhence:
 1225|      2|{
 1226|      2|    assert(interp->_whence != _PyInterpreterState_WHENCE_NOTSET);
  ------------------
  |  Branch (1226:5): [True: 2, False: 0]
  ------------------
 1227|      2|    assert(check_interpreter_whence(whence) == 0);
  ------------------
  |  Branch (1227:5): [True: 2, False: 0]
  ------------------
 1228|      2|    interp->_whence = whence;
 1229|      2|}
_PyThreadState_New:
 1739|      2|{
 1740|      2|    return new_threadstate(interp, whence);
 1741|      2|}
_PyThreadState_Attach:
 2258|  55.7k|{
 2259|       |#if defined(Py_DEBUG)
 2260|       |    // This is called from PyEval_RestoreThread(). Similar
 2261|       |    // to it, we need to ensure errno doesn't change.
 2262|       |    int err = errno;
 2263|       |#endif
 2264|       |
 2265|  55.7k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|  55.7k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 2266|  55.7k|    if (current_fast_get() != NULL) {
  ------------------
  |  Branch (2266:9): [True: 0, False: 55.7k]
  ------------------
 2267|      0|        Py_FatalError("non-NULL old thread state");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
 2268|      0|    }
 2269|  55.7k|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
 2270|  55.7k|    if (_tstate->c_stack_hard_limit == 0) {
  ------------------
  |  Branch (2270:9): [True: 2, False: 55.7k]
  ------------------
 2271|      2|        _Py_InitializeRecursionLimits(tstate);
 2272|      2|    }
 2273|       |
 2274|  55.7k|    while (1) {
  ------------------
  |  Branch (2274:12): [True: 55.7k, Folded]
  ------------------
 2275|  55.7k|        _PyEval_AcquireLock(tstate);
 2276|       |
 2277|       |        // XXX assert(tstate_is_alive(tstate));
 2278|  55.7k|        current_fast_set(&_PyRuntime, tstate);
 2279|  55.7k|        if (!tstate_try_attach(tstate)) {
  ------------------
  |  Branch (2279:13): [True: 0, False: 55.7k]
  ------------------
 2280|      0|            tstate_wait_attach(tstate);
 2281|      0|        }
 2282|  55.7k|        tstate_activate(tstate);
 2283|       |
 2284|       |#ifdef Py_GIL_DISABLED
 2285|       |        if (_PyEval_IsGILEnabled(tstate) && !tstate->holds_gil) {
 2286|       |            // The GIL was enabled between our call to _PyEval_AcquireLock()
 2287|       |            // and when we attached (the GIL can't go from enabled to disabled
 2288|       |            // here because only a thread holding the GIL can disable
 2289|       |            // it). Detach and try again.
 2290|       |            tstate_set_detached(tstate, _Py_THREAD_DETACHED);
 2291|       |            tstate_deactivate(tstate);
 2292|       |            current_fast_clear(&_PyRuntime);
 2293|       |            continue;
 2294|       |        }
 2295|       |        _Py_qsbr_attach(((_PyThreadStateImpl *)tstate)->qsbr);
 2296|       |#endif
 2297|  55.7k|        break;
 2298|  55.7k|    }
 2299|       |
 2300|       |    // Resume previous critical section. This acquires the lock(s) from the
 2301|       |    // top-most critical section.
 2302|  55.7k|    if (tstate->critical_section != 0) {
  ------------------
  |  Branch (2302:9): [True: 0, False: 55.7k]
  ------------------
 2303|      0|        _PyCriticalSection_Resume(tstate);
 2304|      0|    }
 2305|       |
 2306|       |#ifdef Py_STATS
 2307|       |    _PyStats_Attach((_PyThreadStateImpl *)tstate);
 2308|       |#endif
 2309|       |
 2310|       |#if defined(Py_DEBUG)
 2311|       |    errno = err;
 2312|       |#endif
 2313|  55.7k|}
_PyThreadState_Detach:
 2335|  55.7k|{
 2336|  55.7k|    detach_thread(tstate, _Py_THREAD_DETACHED);
  ------------------
  |  |   46|  55.7k|#define _Py_THREAD_DETACHED         0
  ------------------
 2337|  55.7k|}
_PyEval_StopTheWorld:
 2547|    120|{
 2548|       |#ifdef Py_GIL_DISABLED
 2549|       |    stop_the_world(&interp->stoptheworld);
 2550|       |#endif
 2551|    120|}
_PyEval_StartTheWorld:
 2555|    120|{
 2556|       |#ifdef Py_GIL_DISABLED
 2557|       |    start_the_world(&interp->stoptheworld);
 2558|       |#endif
 2559|    120|}
PyThreadState_Get:
 2626|   175M|{
 2627|   175M|    PyThreadState *tstate = current_fast_get();
 2628|   175M|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|   175M|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 2629|   175M|    return tstate;
 2630|   175M|}
_PyThreadState_Bind:
 2654|      2|{
 2655|       |    // gh-104690: If Python is being finalized and PyInterpreterState_Delete()
 2656|       |    // was called, tstate becomes a dangling pointer.
 2657|      2|    assert(_PyThreadState_CheckConsistency(tstate));
  ------------------
  |  Branch (2657:5): [True: 2, False: 0]
  ------------------
 2658|       |
 2659|      2|    bind_tstate(tstate);
 2660|       |    // This makes sure there's a gilstate tstate bound
 2661|       |    // as soon as possible.
 2662|      2|    if (gilstate_get() == NULL) {
  ------------------
  |  Branch (2662:9): [True: 2, False: 0]
  ------------------
 2663|      2|        bind_gilstate_tstate(tstate);
 2664|      2|    }
 2665|      2|}
_PyGILState_Init:
 2853|      2|{
 2854|      2|    if (!_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (2854:9): [True: 0, False: 2]
  ------------------
 2855|       |        /* Currently, PyGILState is shared by all interpreters. The main
 2856|       |         * interpreter is responsible to initialize it. */
 2857|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2858|      0|    }
 2859|      2|    _PyRuntimeState *runtime = interp->runtime;
 2860|      2|    assert(gilstate_get() == NULL);
  ------------------
  |  Branch (2860:5): [True: 2, False: 0]
  ------------------
 2861|      2|    assert(runtime->gilstate.autoInterpreterState == NULL);
  ------------------
  |  Branch (2861:5): [True: 2, False: 0]
  ------------------
 2862|      2|    runtime->gilstate.autoInterpreterState = interp;
 2863|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2864|      2|}
_PyGILState_SetTstate:
 2881|      2|{
 2882|       |    /* must init with valid states */
 2883|      2|    assert(tstate != NULL);
  ------------------
  |  Branch (2883:5): [True: 2, False: 0]
  ------------------
 2884|      2|    assert(tstate->interp != NULL);
  ------------------
  |  Branch (2884:5): [True: 2, False: 0]
  ------------------
 2885|       |
 2886|      2|    if (!_Py_IsMainInterpreter(tstate->interp)) {
  ------------------
  |  Branch (2886:9): [True: 0, False: 2]
  ------------------
 2887|       |        /* Currently, PyGILState is shared by all interpreters. The main
 2888|       |         * interpreter is responsible to initialize it. */
 2889|      0|        return;
 2890|      0|    }
 2891|       |
 2892|      2|#ifndef NDEBUG
 2893|      2|    _PyRuntimeState *runtime = tstate->interp->runtime;
 2894|       |
 2895|      2|    assert(runtime->gilstate.autoInterpreterState == tstate->interp);
  ------------------
  |  Branch (2895:5): [True: 2, False: 0]
  ------------------
 2896|      2|    assert(gilstate_get() == tstate);
  ------------------
  |  Branch (2896:5): [True: 2, False: 0]
  ------------------
 2897|      2|    assert(tstate->gilstate_counter == 1);
  ------------------
  |  Branch (2897:5): [True: 2, False: 0]
  ------------------
 2898|      2|#endif
 2899|      2|}
_PyInterpreterState_IsSpecializationEnabled:
 3097|    420|{
 3098|    420|    return interp->eval_frame == NULL
  ------------------
  |  Branch (3098:12): [True: 420, False: 0]
  ------------------
 3099|      0|        || interp->eval_frame_allow_specialization;
  ------------------
  |  Branch (3099:12): [True: 0, False: 0]
  ------------------
 3100|    420|}
_PyInterpreterState_GetConfig:
 3105|  2.01M|{
 3106|  2.01M|    return &interp->config;
 3107|  2.01M|}
_Py_GetConfig:
 3112|  59.9k|{
 3113|  59.9k|    PyThreadState *tstate = current_fast_get();
 3114|  59.9k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|  59.9k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 3115|  59.9k|    return _PyInterpreterState_GetConfig(tstate->interp);
 3116|  59.9k|}
_PyThreadState_PushFrame:
 3166|   201k|{
 3167|   201k|    assert(size < INT_MAX/sizeof(PyObject *));
  ------------------
  |  Branch (3167:5): [True: 201k, False: 0]
  ------------------
 3168|   201k|    if (_PyThreadState_HasStackSpace(tstate, (int)size)) {
  ------------------
  |  Branch (3168:9): [True: 201k, False: 2]
  ------------------
 3169|   201k|        _PyInterpreterFrame *res = (_PyInterpreterFrame *)tstate->datastack_top;
 3170|   201k|        tstate->datastack_top += size;
 3171|   201k|        return res;
 3172|   201k|    }
 3173|      2|    return (_PyInterpreterFrame *)push_chunk(tstate, (int)size);
 3174|   201k|}
_PyThreadState_PopFrame:
 3178|  6.64M|{
 3179|  6.64M|    assert(tstate->datastack_chunk);
  ------------------
  |  Branch (3179:5): [True: 6.64M, False: 0]
  ------------------
 3180|  6.64M|    PyObject **base = (PyObject **)frame;
 3181|  6.64M|    if (base == &tstate->datastack_chunk->data[0]) {
  ------------------
  |  Branch (3181:9): [True: 0, False: 6.64M]
  ------------------
 3182|      0|        _PyStackChunk *chunk = tstate->datastack_chunk;
 3183|      0|        _PyStackChunk *previous = chunk->previous;
 3184|      0|        _PyStackChunk *cached = tstate->datastack_cached_chunk;
 3185|       |        // push_chunk ensures that the root chunk is never popped:
 3186|      0|        assert(previous);
  ------------------
  |  Branch (3186:9): [True: 0, False: 0]
  ------------------
 3187|      0|        tstate->datastack_top = &previous->data[previous->top];
 3188|      0|        tstate->datastack_chunk = previous;
 3189|      0|        tstate->datastack_limit = (PyObject **)(((char *)previous) + previous->size);
 3190|      0|        chunk->previous = NULL;
 3191|      0|        if (cached != NULL) {
  ------------------
  |  Branch (3191:13): [True: 0, False: 0]
  ------------------
 3192|      0|            _PyObject_VirtualFree(cached, cached->size);
 3193|      0|        }
 3194|      0|        tstate->datastack_cached_chunk = chunk;
 3195|      0|    }
 3196|  6.64M|    else {
 3197|  6.64M|        assert(tstate->datastack_top);
  ------------------
  |  Branch (3197:9): [True: 6.64M, False: 0]
  ------------------
 3198|  6.64M|        assert(tstate->datastack_top >= base);
  ------------------
  |  Branch (3198:9): [True: 6.64M, False: 0]
  ------------------
 3199|  6.64M|        tstate->datastack_top = base;
 3200|  6.64M|    }
 3201|  6.64M|}
_PyThreadState_CheckConsistency:
 3214|   111k|{
 3215|   111k|    assert(!_PyMem_IsPtrFreed(tstate));
  ------------------
  |  Branch (3215:5): [True: 111k, False: 0]
  ------------------
 3216|   111k|    assert(!_PyMem_IsPtrFreed(tstate->interp));
  ------------------
  |  Branch (3216:5): [True: 111k, False: 0]
  ------------------
 3217|   111k|    return 1;
 3218|   111k|}
_PyThreadState_MustExit:
 3232|   111k|{
 3233|   111k|    int state = _Py_atomic_load_int_relaxed(&tstate->state);
 3234|   111k|    return state == _Py_THREAD_SHUTTING_DOWN;
  ------------------
  |  |   49|   111k|#define _Py_THREAD_SHUTTING_DOWN    3
  ------------------
 3235|   111k|}
_Py_IsMainThread:
 3325|  1.33M|{
 3326|  1.33M|    unsigned long thread = PyThread_get_thread_ident();
 3327|  1.33M|    return (thread == _PyRuntime.main_thread);
 3328|  1.33M|}
_PyInterpreterState_Main:
 3333|  1.27M|{
 3334|  1.27M|    return _PyRuntime.interpreters.main;
 3335|  1.27M|}
pystate.c:current_fast_get:
   86|   176M|{
   87|   176M|    return _Py_tss_tstate;
   88|   176M|}
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:
  545|      2|{
  546|      2|    if (interp->_initialized) {
  ------------------
  |  Branch (546:9): [True: 0, False: 2]
  ------------------
  547|      0|        return _PyStatus_ERR("interpreter already initialized");
  ------------------
  |  |   27|      0|    (PyStatus){ \
  |  |   28|      0|        ._type = _PyStatus_TYPE_ERROR, \
  |  |   29|      0|        .func = _PyStatus_GET_FUNC(), \
  |  |  ------------------
  |  |  |  |   20|      0|#  define _PyStatus_GET_FUNC() __func__
  |  |  ------------------
  |  |   30|      0|        .err_msg = (ERR_MSG)}
  ------------------
  548|      0|    }
  549|       |
  550|      2|    assert(interp->_whence == _PyInterpreterState_WHENCE_NOTSET);
  ------------------
  |  Branch (550:5): [True: 2, False: 0]
  ------------------
  551|      2|    assert(check_interpreter_whence(whence) == 0);
  ------------------
  |  Branch (551:5): [True: 2, False: 0]
  ------------------
  552|      2|    interp->_whence = whence;
  553|       |
  554|      2|    assert(runtime != NULL);
  ------------------
  |  Branch (554:5): [True: 2, False: 0]
  ------------------
  555|      2|    interp->runtime = runtime;
  556|       |
  557|      2|    assert(id > 0 || (id == 0 && interp == runtime->interpreters.main));
  ------------------
  |  Branch (557:5): [True: 2, False: 0]
  |  Branch (557:5): [True: 2, False: 0]
  |  Branch (557:5): [True: 0, False: 2]
  ------------------
  558|      2|    interp->id = id;
  559|       |
  560|      2|    interp->id_refcount = 0;
  561|       |
  562|      2|    assert(runtime->interpreters.head == interp);
  ------------------
  |  Branch (562:5): [True: 2, False: 0]
  ------------------
  563|      2|    assert(next != NULL || (interp == runtime->interpreters.main));
  ------------------
  |  Branch (563:5): [True: 0, False: 2]
  |  Branch (563:5): [True: 2, False: 0]
  ------------------
  564|      2|    interp->next = next;
  565|       |
  566|      2|    interp->threads.preallocated = &interp->_initial_thread;
  567|       |
  568|       |    // We would call _PyObject_InitState() at this point
  569|       |    // if interp->feature_flags were alredy set.
  570|       |
  571|      2|    _PyEval_InitState(interp);
  572|      2|    _PyGC_InitState(&interp->gc);
  573|      2|    PyConfig_InitPythonConfig(&interp->config);
  574|       |#ifdef Py_GIL_DISABLED
  575|       |    _Py_brc_init_state(interp);
  576|       |#endif
  577|       |
  578|      2|    llist_init(&interp->mem_free_queue.head);
  579|      2|    llist_init(&interp->asyncio_tasks_head);
  580|      2|    interp->asyncio_tasks_lock = (PyMutex){0};
  581|     34|    for (int i = 0; i < _PY_MONITORING_UNGROUPED_EVENTS; i++) {
  ------------------
  |  |   75|     34|#define _PY_MONITORING_UNGROUPED_EVENTS 16
  ------------------
  |  Branch (581:21): [True: 32, False: 2]
  ------------------
  582|     32|        interp->monitors.tools[i] = 0;
  583|     32|    }
  584|     18|    for (int t = 0; t < PY_MONITORING_TOOL_IDS; t++) {
  ------------------
  |  |   72|     18|#define  PY_MONITORING_TOOL_IDS 8
  ------------------
  |  Branch (584:21): [True: 16, False: 2]
  ------------------
  585|    320|        for (int e = 0; e < _PY_MONITORING_EVENTS; e++) {
  ------------------
  |  |   77|    320|#define _PY_MONITORING_EVENTS 19
  ------------------
  |  Branch (585:25): [True: 304, False: 16]
  ------------------
  586|    304|            interp->monitoring_callables[t][e] = NULL;
  587|       |
  588|    304|        }
  589|     16|        interp->monitoring_tool_versions[t] = 0;
  590|     16|    }
  591|      2|    interp->_code_object_generation = 0;
  592|      2|    interp->jit = false;
  593|      2|    interp->compiling = false;
  594|      2|    interp->executor_blooms = NULL;
  595|      2|    interp->executor_ptrs = NULL;
  596|      2|    interp->executor_count = 0;
  597|      2|    interp->executor_capacity = 0;
  598|      2|    interp->executor_deletion_list_head = NULL;
  599|      2|    interp->executor_creation_counter = JIT_CLEANUP_THRESHOLD;
  ------------------
  |  |  308|      2|#define JIT_CLEANUP_THRESHOLD 1000
  ------------------
  600|       |
  601|       |    // Initialize optimization configuration from environment variables
  602|       |    // PYTHON_JIT_STRESS sets aggressive defaults for testing, but can be overridden
  603|      2|    uint16_t jump_default = JUMP_BACKWARD_INITIAL_VALUE;
  ------------------
  |  |  134|      2|#define JUMP_BACKWARD_INITIAL_VALUE 4000
  ------------------
  604|      2|    uint16_t resume_default = RESUME_INITIAL_VALUE;
  ------------------
  |  |  148|      2|#define RESUME_INITIAL_VALUE 8190
  ------------------
  605|      2|    uint16_t side_exit_default = SIDE_EXIT_INITIAL_VALUE;
  ------------------
  |  |  162|      2|#define SIDE_EXIT_INITIAL_VALUE 4000
  ------------------
  606|       |
  607|      2|    if (is_env_enabled("PYTHON_JIT_STRESS")) {
  ------------------
  |  Branch (607:9): [True: 0, False: 2]
  ------------------
  608|      0|        jump_default = 63;
  609|      0|        side_exit_default = 63;
  610|      0|        resume_default = 127;
  611|      0|    }
  612|       |
  613|      2|    init_policy(&interp->opt_config.jump_backward_initial_value,
  614|      2|                "PYTHON_JIT_JUMP_BACKWARD_INITIAL_VALUE",
  615|      2|                jump_default, 1, MAX_VALUE);
  ------------------
  |  |   41|      2|#define MAX_VALUE 0x1FFF
  ------------------
  616|      2|    init_policy(&interp->opt_config.jump_backward_initial_backoff,
  617|      2|                "PYTHON_JIT_JUMP_BACKWARD_INITIAL_BACKOFF",
  618|      2|                JUMP_BACKWARD_INITIAL_BACKOFF, 0, MAX_BACKOFF);
  ------------------
  |  |  135|      2|#define JUMP_BACKWARD_INITIAL_BACKOFF 6
  ------------------
                              JUMP_BACKWARD_INITIAL_BACKOFF, 0, MAX_BACKOFF);
  ------------------
  |  |   39|      2|#define MAX_BACKOFF 6
  ------------------
  619|      2|    init_policy(&interp->opt_config.resume_initial_value,
  620|      2|                "PYTHON_JIT_RESUME_INITIAL_VALUE",
  621|      2|                resume_default, 1, MAX_VALUE);
  ------------------
  |  |   41|      2|#define MAX_VALUE 0x1FFF
  ------------------
  622|      2|    init_policy(&interp->opt_config.resume_initial_backoff,
  623|      2|                "PYTHON_JIT_RESUME_INITIAL_BACKOFF",
  624|      2|                RESUME_INITIAL_BACKOFF, 0, MAX_BACKOFF);
  ------------------
  |  |  149|      2|#define RESUME_INITIAL_BACKOFF 6
  ------------------
                              RESUME_INITIAL_BACKOFF, 0, MAX_BACKOFF);
  ------------------
  |  |   39|      2|#define MAX_BACKOFF 6
  ------------------
  625|      2|    init_policy(&interp->opt_config.side_exit_initial_value,
  626|      2|                "PYTHON_JIT_SIDE_EXIT_INITIAL_VALUE",
  627|      2|                side_exit_default, 1, MAX_VALUE);
  ------------------
  |  |   41|      2|#define MAX_VALUE 0x1FFF
  ------------------
  628|      2|    init_policy(&interp->opt_config.side_exit_initial_backoff,
  629|      2|                "PYTHON_JIT_SIDE_EXIT_INITIAL_BACKOFF",
  630|      2|                SIDE_EXIT_INITIAL_BACKOFF, 0, MAX_BACKOFF);
  ------------------
  |  |  163|      2|#define SIDE_EXIT_INITIAL_BACKOFF 6
  ------------------
                              SIDE_EXIT_INITIAL_BACKOFF, 0, MAX_BACKOFF);
  ------------------
  |  |   39|      2|#define MAX_BACKOFF 6
  ------------------
  631|       |
  632|       |    // Trace fitness configuration
  633|      2|    init_policy(&interp->opt_config.fitness_initial,
  634|      2|                "PYTHON_JIT_FITNESS_INITIAL",
  635|      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
  ------------------
  636|       |
  637|      2|    interp->opt_config.specialization_enabled = !is_env_enabled("PYTHON_SPECIALIZATION_OFF");
  638|      2|    interp->opt_config.uops_optimize_enabled = !is_env_disabled("PYTHON_UOPS_OPTIMIZE");
  639|      2|    if (interp != &runtime->_main_interpreter) {
  ------------------
  |  Branch (639:9): [True: 0, False: 2]
  ------------------
  640|       |        /* Fix the self-referential, statically initialized fields. */
  641|      0|        interp->dtoa = (struct _dtoa_state)_dtoa_state_INIT(interp);
  ------------------
  |  |   22|      0|    { \
  |  |   23|      0|        .preallocated_next = (INTERP)->dtoa.preallocated, \
  |  |   24|      0|    }
  ------------------
  642|      0|    }
  643|       |#if !defined(Py_GIL_DISABLED) && defined(Py_STACKREF_DEBUG)
  644|       |    interp->next_stackref = INITIAL_STACKREF_INDEX;
  645|       |    _Py_hashtable_allocator_t alloc = {
  646|       |        .malloc = malloc,
  647|       |        .free = free,
  648|       |    };
  649|       |    interp->open_stackrefs_table = _Py_hashtable_new_full(
  650|       |        _Py_hashtable_hash_ptr,
  651|       |        _Py_hashtable_compare_direct,
  652|       |        NULL,
  653|       |        NULL,
  654|       |        &alloc
  655|       |    );
  656|       |    if (interp->open_stackrefs_table == NULL) {
  657|       |        return _PyStatus_NO_MEMORY();
  658|       |    }
  659|       |#  ifdef Py_STACKREF_CLOSE_DEBUG
  660|       |    interp->closed_stackrefs_table = _Py_hashtable_new_full(
  661|       |        _Py_hashtable_hash_ptr,
  662|       |        _Py_hashtable_compare_direct,
  663|       |        NULL,
  664|       |        NULL,
  665|       |        &alloc
  666|       |    );
  667|       |    if (interp->closed_stackrefs_table == NULL) {
  668|       |        return _PyStatus_NO_MEMORY();
  669|       |    }
  670|       |#  endif
  671|       |    _Py_stackref_associate(interp, Py_None, PyStackRef_None);
  672|       |    _Py_stackref_associate(interp, Py_False, PyStackRef_False);
  673|       |    _Py_stackref_associate(interp, Py_True, PyStackRef_True);
  674|       |#endif
  675|       |
  676|      2|    interp->_initialized = 1;
  677|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  678|      2|}
pystate.c:is_env_enabled:
  514|      4|{
  515|      4|    char *env = Py_GETENV(env_name);
  516|      4|    return env && *env != '\0' && *env != '0';
  ------------------
  |  Branch (516:12): [True: 0, False: 4]
  |  Branch (516:19): [True: 0, False: 0]
  |  Branch (516:35): [True: 0, False: 0]
  ------------------
  517|      4|}
pystate.c:init_policy:
  529|     14|{
  530|     14|    *target = default_value;
  531|     14|    char *env = Py_GETENV(env_name);
  532|     14|    if (env && *env != '\0') {
  ------------------
  |  Branch (532:9): [True: 0, False: 14]
  |  Branch (532:16): [True: 0, False: 0]
  ------------------
  533|      0|        long value = atol(env);
  534|      0|        if (value >= min_value && value <= max_value) {
  ------------------
  |  Branch (534:13): [True: 0, False: 0]
  |  Branch (534:35): [True: 0, False: 0]
  ------------------
  535|      0|            *target = (uint16_t)value;
  536|      0|        }
  537|      0|    }
  538|     14|}
pystate.c:is_env_disabled:
  521|      2|{
  522|      2|    char *env = Py_GETENV(env_name);
  523|      2|    return env != NULL && *env == '0';
  ------------------
  |  Branch (523:12): [True: 0, False: 2]
  |  Branch (523:27): [True: 0, False: 0]
  ------------------
  524|      2|}
pystate.c:check_interpreter_whence:
 1205|      4|{
 1206|      4|    if(whence < 0) {
  ------------------
  |  Branch (1206:8): [True: 0, False: 4]
  ------------------
 1207|      0|        return -1;
 1208|      0|    }
 1209|      4|    if (whence > _PyInterpreterState_WHENCE_MAX) {
  ------------------
  |  |   23|      4|#define _PyInterpreterState_WHENCE_MAX 5
  ------------------
  |  Branch (1209:9): [True: 0, False: 4]
  ------------------
 1210|      0|        return -1;
 1211|      0|    }
 1212|      4|    return 0;
 1213|      4|}
pystate.c:new_threadstate:
 1663|      2|{
 1664|       |    // Allocate the thread state.
 1665|      2|    _PyThreadStateImpl *tstate = alloc_threadstate(interp);
 1666|      2|    if (tstate == NULL) {
  ------------------
  |  Branch (1666:9): [True: 0, False: 2]
  ------------------
 1667|      0|        return NULL;
 1668|      0|    }
 1669|       |
 1670|       |#ifdef Py_STATS
 1671|       |    // The PyStats structure is quite large and is allocated separated from
 1672|       |    // tstate.
 1673|       |    if (!_PyStats_ThreadInit(interp, tstate)) {
 1674|       |        free_threadstate(tstate);
 1675|       |        return NULL;
 1676|       |    }
 1677|       |#endif
 1678|       |#ifdef Py_GIL_DISABLED
 1679|       |    int32_t tlbc_idx = _Py_ReserveTLBCIndex(interp);
 1680|       |    if (tlbc_idx < 0) {
 1681|       |        free_threadstate(tstate);
 1682|       |        return NULL;
 1683|       |    }
 1684|       |    Py_ssize_t qsbr_idx = _Py_qsbr_reserve(interp);
 1685|       |    if (qsbr_idx < 0) {
 1686|       |        _Py_UnreserveTLBCIndex(interp, tlbc_idx);
 1687|       |        free_threadstate(tstate);
 1688|       |        return NULL;
 1689|       |    }
 1690|       |#endif
 1691|       |
 1692|       |    /* We serialize concurrent creation to protect global state. */
 1693|      2|    HEAD_LOCK(interp->runtime);
  ------------------
  |  |  266|      2|    PyMutex_LockFlags(&(runtime)->interpreters.mutex, _Py_LOCK_DONT_DETACH)
  ------------------
 1694|       |
 1695|       |    // Initialize the new thread state.
 1696|      2|    interp->threads.next_unique_id += 1;
 1697|      2|    uint64_t id = interp->threads.next_unique_id;
 1698|      2|    init_threadstate(tstate, interp, id, whence);
 1699|       |
 1700|       |    // Add the new thread state to the interpreter.
 1701|      2|    PyThreadState *old_head = interp->threads.head;
 1702|      2|    add_threadstate(interp, (PyThreadState *)tstate, old_head);
 1703|       |
 1704|      2|    HEAD_UNLOCK(interp->runtime);
  ------------------
  |  |  268|      2|    PyMutex_Unlock(&(runtime)->interpreters.mutex)
  |  |  ------------------
  |  |  |  |   70|      2|#define PyMutex_Unlock _PyMutex_Unlock
  |  |  ------------------
  ------------------
 1705|       |
 1706|       |#ifdef Py_GIL_DISABLED
 1707|       |    // Must be called with lock unlocked to avoid lock ordering deadlocks.
 1708|       |    _Py_qsbr_register(tstate, interp, qsbr_idx);
 1709|       |    tstate->tlbc_index = tlbc_idx;
 1710|       |#endif
 1711|       |
 1712|      2|    return (PyThreadState *)tstate;
 1713|      2|}
pystate.c:alloc_threadstate:
 1497|      2|{
 1498|      2|    _PyThreadStateImpl *tstate;
 1499|       |
 1500|       |    // Try the preallocated tstate first.
 1501|      2|    tstate = _Py_atomic_exchange_ptr(&interp->threads.preallocated, NULL);
 1502|       |
 1503|       |    // Fall back to the allocator.
 1504|      2|    if (tstate == NULL) {
  ------------------
  |  Branch (1504:9): [True: 0, False: 2]
  ------------------
 1505|      0|        tstate = PyMem_RawCalloc(1, sizeof(_PyThreadStateImpl));
 1506|      0|        if (tstate == NULL) {
  ------------------
  |  Branch (1506:13): [True: 0, False: 0]
  ------------------
 1507|      0|            return NULL;
 1508|      0|        }
 1509|      0|        reset_threadstate(tstate);
 1510|      0|    }
 1511|      2|    return tstate;
 1512|      2|}
pystate.c:init_threadstate:
 1554|      2|{
 1555|      2|    PyThreadState *tstate = (PyThreadState *)_tstate;
 1556|      2|    if (tstate->_status.initialized) {
  ------------------
  |  Branch (1556:9): [True: 0, False: 2]
  ------------------
 1557|      0|        Py_FatalError("thread state already initialized");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
 1558|      0|    }
 1559|       |
 1560|      2|    assert(interp != NULL);
  ------------------
  |  Branch (1560:5): [True: 2, False: 0]
  ------------------
 1561|      2|    tstate->interp = interp;
 1562|      2|    tstate->eval_breaker =
 1563|      2|        _Py_atomic_load_uintptr_relaxed(&interp->ceval.instrumentation_version);
 1564|       |
 1565|       |    // next/prev are set in add_threadstate().
 1566|      2|    assert(tstate->next == NULL);
  ------------------
  |  Branch (1566:5): [True: 2, False: 0]
  ------------------
 1567|      2|    assert(tstate->prev == NULL);
  ------------------
  |  Branch (1567:5): [True: 2, False: 0]
  ------------------
 1568|       |
 1569|      2|    assert(tstate->_whence == _PyThreadState_WHENCE_NOTSET);
  ------------------
  |  Branch (1569:5): [True: 2, False: 0]
  ------------------
 1570|      2|    assert(whence >= 0 && whence <= _PyThreadState_WHENCE_THREADING_DAEMON);
  ------------------
  |  Branch (1570:5): [True: 2, False: 0]
  |  Branch (1570:5): [True: 2, False: 0]
  ------------------
 1571|      2|    tstate->_whence = whence;
 1572|       |
 1573|      2|    assert(id > 0);
  ------------------
  |  Branch (1573:5): [True: 2, False: 0]
  ------------------
 1574|      2|    tstate->id = id;
 1575|       |
 1576|       |    // thread_id and native_thread_id are set in bind_tstate().
 1577|       |
 1578|      2|    tstate->py_recursion_limit = interp->ceval.recursion_limit;
 1579|      2|    tstate->py_recursion_remaining = interp->ceval.recursion_limit;
 1580|      2|    tstate->exc_info = &tstate->exc_state;
 1581|       |
 1582|       |    // PyGILState_Release must not try to delete this thread state.
 1583|       |    // This is cleared when PyGILState_Ensure() creates the thread state.
 1584|      2|    tstate->gilstate_counter = 1;
 1585|       |
 1586|       |    // Initialize the embedded base frame - sentinel at the bottom of the frame stack
 1587|      2|    _tstate->base_frame.previous = NULL;
 1588|      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
  |  |  ------------------
  ------------------
 1589|      2|    _tstate->base_frame.f_funcobj = PyStackRef_NULL;
 1590|      2|    _tstate->base_frame.f_globals = NULL;
 1591|      2|    _tstate->base_frame.f_builtins = NULL;
 1592|      2|    _tstate->base_frame.f_locals = NULL;
 1593|      2|    _tstate->base_frame.frame_obj = NULL;
 1594|      2|    _tstate->base_frame.instr_ptr = NULL;
 1595|      2|    _tstate->base_frame.stackpointer = _tstate->base_frame.localsplus;
 1596|      2|    _tstate->base_frame.return_offset = 0;
 1597|      2|    _tstate->base_frame.owner = FRAME_OWNED_BY_INTERPRETER;
 1598|      2|    _tstate->base_frame.visited = 0;
 1599|       |#ifdef Py_DEBUG
 1600|       |    _tstate->base_frame.lltrace = 0;
 1601|       |#endif
 1602|       |#ifdef Py_GIL_DISABLED
 1603|       |    _tstate->base_frame.tlbc_index = 0;
 1604|       |#endif
 1605|      2|    _tstate->base_frame.localsplus[0] = PyStackRef_NULL;
 1606|       |
 1607|       |    // current_frame starts pointing to the base frame
 1608|      2|    tstate->current_frame = &_tstate->base_frame;
 1609|       |    // base_frame pointer for profilers to validate stack unwinding
 1610|      2|    tstate->base_frame = &_tstate->base_frame;
 1611|      2|    tstate->last_profiled_frame = NULL;
 1612|      2|    tstate->last_profiled_frame_seq = 0;
 1613|      2|    tstate->datastack_chunk = NULL;
 1614|      2|    tstate->datastack_top = NULL;
 1615|      2|    tstate->datastack_limit = NULL;
 1616|      2|    tstate->datastack_cached_chunk = NULL;
 1617|      2|    tstate->what_event = -1;
 1618|      2|    tstate->current_executor = NULL;
 1619|      2|    tstate->jit_exit = NULL;
 1620|      2|    tstate->dict_global_version = 0;
 1621|       |
 1622|      2|    _tstate->c_stack_soft_limit = UINTPTR_MAX;
 1623|      2|    _tstate->c_stack_top = 0;
 1624|      2|    _tstate->c_stack_hard_limit = 0;
 1625|       |
 1626|      2|    _tstate->c_stack_init_base = 0;
 1627|      2|    _tstate->c_stack_init_top = 0;
 1628|       |
 1629|      2|    _tstate->asyncio_running_loop = NULL;
 1630|      2|    _tstate->asyncio_running_task = NULL;
 1631|       |
 1632|       |#ifdef _Py_TIER2
 1633|       |    _tstate->jit_tracer_state = NULL;
 1634|       |#endif
 1635|      2|    tstate->delete_later = NULL;
 1636|       |
 1637|      2|    llist_init(&_tstate->mem_free_queue);
 1638|      2|    llist_init(&_tstate->asyncio_tasks_head);
 1639|      2|    if (interp->stoptheworld.requested || _PyRuntime.stoptheworld.requested) {
  ------------------
  |  Branch (1639:9): [True: 0, False: 2]
  |  Branch (1639:43): [True: 0, False: 2]
  ------------------
 1640|       |        // Start in the suspended state if there is an ongoing stop-the-world.
 1641|      0|        tstate->state = _Py_THREAD_SUSPENDED;
  ------------------
  |  |   48|      0|#define _Py_THREAD_SUSPENDED        2
  ------------------
 1642|      0|    }
 1643|       |
 1644|      2|    tstate->_status.initialized = 1;
 1645|      2|}
pystate.c:add_threadstate:
 1650|      2|{
 1651|      2|    assert(interp->threads.head != tstate);
  ------------------
  |  Branch (1651:5): [True: 2, False: 0]
  ------------------
 1652|      2|    if (next != NULL) {
  ------------------
  |  Branch (1652:9): [True: 0, False: 2]
  ------------------
 1653|      0|        assert(next->prev == NULL || next->prev == tstate);
  ------------------
  |  Branch (1653:9): [True: 0, False: 0]
  |  Branch (1653:9): [True: 0, False: 0]
  ------------------
 1654|      0|        next->prev = tstate;
 1655|      0|    }
 1656|      2|    tstate->next = next;
 1657|      2|    assert(tstate->prev == NULL);
  ------------------
  |  Branch (1657:5): [True: 2, False: 0]
  ------------------
 1658|      2|    interp->threads.head = tstate;
 1659|      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:
 1459|      4|{
 1460|      4|    return (tstate->_status.initialized &&
  ------------------
  |  Branch (1460:13): [True: 4, False: 0]
  ------------------
 1461|      4|            !tstate->_status.finalized &&
  ------------------
  |  Branch (1461:13): [True: 4, False: 0]
  ------------------
 1462|      4|            !tstate->_status.cleared &&
  ------------------
  |  Branch (1462:13): [True: 4, False: 0]
  ------------------
 1463|      4|            !tstate->_status.finalizing);
  ------------------
  |  Branch (1463:13): [True: 4, False: 0]
  ------------------
 1464|      4|}
pystate.c:tstate_mimalloc_bind:
 3251|      2|{
 3252|       |#ifdef Py_GIL_DISABLED
 3253|       |    struct _mimalloc_thread_state *mts = &((_PyThreadStateImpl*)tstate)->mimalloc;
 3254|       |
 3255|       |    // Initialize the mimalloc thread state. This must be called from the
 3256|       |    // same thread that will use the thread state. The "mem" heap doubles as
 3257|       |    // the "backing" heap.
 3258|       |    mi_tld_t *tld = &mts->tld;
 3259|       |    _mi_tld_init(tld, &mts->heaps[_Py_MIMALLOC_HEAP_MEM]);
 3260|       |    llist_init(&mts->page_list);
 3261|       |
 3262|       |    // Exiting threads push any remaining in-use segments to the abandoned
 3263|       |    // pool to be re-claimed later by other threads. We use per-interpreter
 3264|       |    // pools to keep Python objects from different interpreters separate.
 3265|       |    tld->segments.abandoned = &tstate->interp->mimalloc.abandoned_pool;
 3266|       |
 3267|       |    // Don't fill in the first N bytes up to ob_type in debug builds. We may
 3268|       |    // access ob_tid and the refcount fields in the dict and list lock-less
 3269|       |    // accesses, so they must remain valid for a while after deallocation.
 3270|       |    size_t base_offset = offsetof(PyObject, ob_type);
 3271|       |    if (_PyMem_DebugEnabled()) {
 3272|       |        // The debug allocator adds two words at the beginning of each block.
 3273|       |        base_offset += 2 * sizeof(size_t);
 3274|       |    }
 3275|       |    size_t debug_offsets[_Py_MIMALLOC_HEAP_COUNT] = {
 3276|       |        [_Py_MIMALLOC_HEAP_OBJECT] = base_offset,
 3277|       |        [_Py_MIMALLOC_HEAP_GC] = base_offset,
 3278|       |        [_Py_MIMALLOC_HEAP_GC_PRE] = base_offset + 2 * sizeof(PyObject *),
 3279|       |    };
 3280|       |
 3281|       |    // Initialize each heap
 3282|       |    for (uint8_t i = 0; i < _Py_MIMALLOC_HEAP_COUNT; i++) {
 3283|       |        _mi_heap_init_ex(&mts->heaps[i], tld, _mi_arena_id_none(), false, i);
 3284|       |        mts->heaps[i].debug_offset = (uint8_t)debug_offsets[i];
 3285|       |    }
 3286|       |
 3287|       |    // Heaps that store Python objects should use QSBR to delay freeing
 3288|       |    // mimalloc pages while there may be concurrent lock-free readers.
 3289|       |    mts->heaps[_Py_MIMALLOC_HEAP_OBJECT].page_use_qsbr = true;
 3290|       |    mts->heaps[_Py_MIMALLOC_HEAP_GC].page_use_qsbr = true;
 3291|       |    mts->heaps[_Py_MIMALLOC_HEAP_GC_PRE].page_use_qsbr = true;
 3292|       |
 3293|       |    // By default, object allocations use _Py_MIMALLOC_HEAP_OBJECT.
 3294|       |    // _PyObject_GC_New() and similar functions temporarily override this to
 3295|       |    // use one of the GC heaps.
 3296|       |    mts->current_object_heap = &mts->heaps[_Py_MIMALLOC_HEAP_OBJECT];
 3297|       |
 3298|       |    _Py_atomic_store_int(&mts->initialized, 1);
 3299|       |#endif
 3300|      2|}
pystate.c:gilstate_get:
  130|  55.7k|{
  131|  55.7k|    return _Py_tss_gilstate;
  132|  55.7k|}
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|   111k|{
  154|   111k|    return tstate->_status.bound && !tstate->_status.unbound;
  ------------------
  |  Branch (154:12): [True: 111k, False: 0]
  |  Branch (154:37): [True: 111k, False: 0]
  ------------------
  155|   111k|}
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|  55.7k|{
  102|  55.7k|    _Py_tss_tstate = NULL;
  103|       |    _Py_tss_interp = NULL;
  104|  55.7k|}
pystate.c:current_fast_set:
   92|  55.7k|{
   93|  55.7k|    assert(tstate != NULL);
  ------------------
  |  Branch (93:5): [True: 55.7k, False: 0]
  ------------------
   94|  55.7k|    _Py_tss_tstate = tstate;
   95|  55.7k|    assert(tstate->interp != NULL);
  ------------------
  |  Branch (95:5): [True: 55.7k, False: 0]
  ------------------
   96|  55.7k|    _Py_tss_interp = tstate->interp;
   97|  55.7k|}
pystate.c:tstate_try_attach:
 2211|  55.7k|{
 2212|       |#ifdef Py_GIL_DISABLED
 2213|       |    int expected = _Py_THREAD_DETACHED;
 2214|       |    return _Py_atomic_compare_exchange_int(&tstate->state,
 2215|       |                                           &expected,
 2216|       |                                           _Py_THREAD_ATTACHED);
 2217|       |#else
 2218|  55.7k|    assert(tstate->state == _Py_THREAD_DETACHED);
  ------------------
  |  Branch (2218:5): [True: 55.7k, False: 0]
  ------------------
 2219|  55.7k|    tstate->state = _Py_THREAD_ATTACHED;
  ------------------
  |  |   47|  55.7k|#define _Py_THREAD_ATTACHED         1
  ------------------
 2220|  55.7k|    return 1;
 2221|  55.7k|#endif
 2222|  55.7k|}
pystate.c:tstate_activate:
 2176|  55.7k|{
 2177|  55.7k|    assert(tstate != NULL);
  ------------------
  |  Branch (2177:5): [True: 55.7k, False: 0]
  ------------------
 2178|       |    // XXX assert(tstate_is_alive(tstate));
 2179|  55.7k|    assert(tstate_is_bound(tstate));
  ------------------
  |  Branch (2179:5): [True: 55.7k, False: 0]
  ------------------
 2180|  55.7k|    assert(!tstate->_status.active);
  ------------------
  |  Branch (2180:5): [True: 55.7k, False: 0]
  ------------------
 2181|       |
 2182|  55.7k|    assert(!tstate->_status.bound_gilstate ||
  ------------------
  |  Branch (2182:5): [True: 0, False: 55.7k]
  |  Branch (2182:5): [True: 55.7k, False: 0]
  ------------------
 2183|  55.7k|           tstate == gilstate_get());
 2184|  55.7k|    if (!tstate->_status.bound_gilstate) {
  ------------------
  |  Branch (2184:9): [True: 0, False: 55.7k]
  ------------------
 2185|      0|        bind_gilstate_tstate(tstate);
 2186|      0|    }
 2187|       |
 2188|  55.7k|    tstate->_status.active = 1;
 2189|  55.7k|}
pystate.c:detach_thread:
 2317|  55.7k|{
 2318|       |    // XXX assert(tstate_is_alive(tstate) && tstate_is_bound(tstate));
 2319|  55.7k|    assert(_Py_atomic_load_int_relaxed(&tstate->state) == _Py_THREAD_ATTACHED);
  ------------------
  |  Branch (2319:5): [True: 55.7k, False: 0]
  ------------------
 2320|  55.7k|    assert(tstate == current_fast_get());
  ------------------
  |  Branch (2320:5): [True: 55.7k, False: 0]
  ------------------
 2321|  55.7k|    if (tstate->critical_section != 0) {
  ------------------
  |  Branch (2321:9): [True: 0, False: 55.7k]
  ------------------
 2322|      0|        _PyCriticalSection_SuspendAll(tstate);
 2323|      0|    }
 2324|       |#ifdef Py_GIL_DISABLED
 2325|       |    _Py_qsbr_detach(((_PyThreadStateImpl *)tstate)->qsbr);
 2326|       |#endif
 2327|  55.7k|    tstate_deactivate(tstate);
 2328|  55.7k|    tstate_set_detached(tstate, detached_state);
 2329|  55.7k|    current_fast_clear(&_PyRuntime);
 2330|  55.7k|    _PyEval_ReleaseLock(tstate->interp, tstate, 0);
 2331|  55.7k|}
pystate.c:tstate_deactivate:
 2193|  55.7k|{
 2194|  55.7k|    assert(tstate != NULL);
  ------------------
  |  Branch (2194:5): [True: 55.7k, False: 0]
  ------------------
 2195|       |    // XXX assert(tstate_is_alive(tstate));
 2196|  55.7k|    assert(tstate_is_bound(tstate));
  ------------------
  |  Branch (2196:5): [True: 55.7k, False: 0]
  ------------------
 2197|  55.7k|    assert(tstate->_status.active);
  ------------------
  |  Branch (2197:5): [True: 55.7k, False: 0]
  ------------------
 2198|       |
 2199|       |#if Py_STATS
 2200|       |    _PyStats_Detach((_PyThreadStateImpl *)tstate);
 2201|       |#endif
 2202|       |
 2203|  55.7k|    tstate->_status.active = 0;
 2204|       |
 2205|       |    // We do not unbind the gilstate tstate here.
 2206|       |    // It will still be used in PyGILState_Ensure().
 2207|  55.7k|}
pystate.c:tstate_set_detached:
 2226|  55.7k|{
 2227|  55.7k|    assert(_Py_atomic_load_int_relaxed(&tstate->state) == _Py_THREAD_ATTACHED);
  ------------------
  |  Branch (2227:5): [True: 55.7k, False: 0]
  ------------------
 2228|       |#ifdef Py_GIL_DISABLED
 2229|       |    _Py_atomic_store_int(&tstate->state, detached_state);
 2230|       |#else
 2231|  55.7k|    tstate->state = detached_state;
 2232|  55.7k|#endif
 2233|  55.7k|}
pystate.c:push_chunk:
 3130|      2|{
 3131|      2|    int allocate_size = _PY_DATA_STACK_CHUNK_SIZE;
  ------------------
  |  |   65|      2|#define _PY_DATA_STACK_CHUNK_SIZE (16*1024)
  ------------------
 3132|      2|    while (allocate_size < (int)sizeof(PyObject*)*(size + MINIMUM_OVERHEAD)) {
  ------------------
  |  | 3126|      2|#define MINIMUM_OVERHEAD 1000
  ------------------
  |  Branch (3132:12): [True: 0, False: 2]
  ------------------
 3133|      0|        allocate_size *= 2;
 3134|      0|    }
 3135|      2|    _PyStackChunk *new;
 3136|      2|    if (tstate->datastack_cached_chunk != NULL
  ------------------
  |  Branch (3136:9): [True: 0, False: 2]
  ------------------
 3137|      0|        && (size_t)allocate_size <= tstate->datastack_cached_chunk->size)
  ------------------
  |  Branch (3137:12): [True: 0, False: 0]
  ------------------
 3138|      0|    {
 3139|      0|        new = tstate->datastack_cached_chunk;
 3140|      0|        tstate->datastack_cached_chunk = NULL;
 3141|      0|        new->previous = tstate->datastack_chunk;
 3142|      0|        new->top = 0;
 3143|      0|    }
 3144|      2|    else {
 3145|      2|        new = allocate_chunk(allocate_size, tstate->datastack_chunk);
 3146|      2|        if (new == NULL) {
  ------------------
  |  Branch (3146:13): [True: 0, False: 2]
  ------------------
 3147|      0|            return NULL;
 3148|      0|        }
 3149|      2|    }
 3150|      2|    if (tstate->datastack_chunk) {
  ------------------
  |  Branch (3150:9): [True: 0, False: 2]
  ------------------
 3151|      0|        tstate->datastack_chunk->top = tstate->datastack_top -
 3152|      0|                                       &tstate->datastack_chunk->data[0];
 3153|      0|    }
 3154|      2|    tstate->datastack_chunk = new;
 3155|      2|    tstate->datastack_limit = (PyObject **)(((char *)new) + allocate_size);
 3156|       |    // When new is the "root" chunk (i.e. new->previous == NULL), we can keep
 3157|       |    // _PyThreadState_PopFrame from freeing it later by "skipping" over the
 3158|       |    // first element:
 3159|       |    PyObject **res = &new->data[new->previous == NULL];
 3160|      2|    tstate->datastack_top = res + size;
 3161|      2|    return res;
 3162|      2|}
pystate.c:allocate_chunk:
 1474|      2|{
 1475|      2|    assert(size_in_bytes % sizeof(PyObject **) == 0);
  ------------------
  |  Branch (1475:5): [True: 2, False: 0]
  ------------------
 1476|      2|    _PyStackChunk *res = _PyObject_VirtualAlloc(size_in_bytes);
 1477|      2|    if (res == NULL) {
  ------------------
  |  Branch (1477:9): [True: 0, False: 2]
  ------------------
 1478|      0|        return NULL;
 1479|      0|    }
 1480|      2|    res->previous = previous;
 1481|      2|    res->size = size_in_bytes;
 1482|      2|    res->top = 0;
 1483|      2|    return res;
 1484|      2|}

PyOS_mystrnicmp:
    8|  63.6k|{
    9|  63.6k|    const unsigned char *p1, *p2;
   10|  63.6k|    if (size == 0)
  ------------------
  |  Branch (10:9): [True: 599, False: 63.0k]
  ------------------
   11|    599|        return 0;
   12|  63.0k|    p1 = (const unsigned char *)s1;
   13|  63.0k|    p2 = (const unsigned char *)s2;
   14|  81.3k|    for (; (--size > 0) && *p1 && *p2 && (Py_TOLOWER(*p1) == Py_TOLOWER(*p2));
  ------------------
  |  |   32|  69.3k|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|  69.3k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
                  for (; (--size > 0) && *p1 && *p2 && (Py_TOLOWER(*p1) == Py_TOLOWER(*p2));
  ------------------
  |  |   32|  69.3k|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|  69.3k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (14:12): [True: 69.3k, False: 12.0k]
  |  Branch (14:28): [True: 69.3k, False: 0]
  |  Branch (14:35): [True: 69.3k, False: 0]
  |  Branch (14:42): [True: 18.3k, False: 51.0k]
  ------------------
   15|  63.0k|         p1++, p2++) {
   16|  18.3k|        ;
   17|  18.3k|    }
   18|  63.0k|    return Py_TOLOWER(*p1) - Py_TOLOWER(*p2);
  ------------------
  |  |   32|  63.0k|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|  63.0k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
                  return Py_TOLOWER(*p1) - Py_TOLOWER(*p2);
  ------------------
  |  |   32|  63.0k|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|  63.0k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
   19|  63.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|}
PyOS_string_to_double:
  302|   451k|{
  303|   451k|    double x, result=-1.0;
  304|   451k|    char *fail_pos;
  305|       |
  306|   451k|    errno = 0;
  307|   451k|    x = _PyOS_ascii_strtod(s, &fail_pos);
  308|       |
  309|   451k|    if (errno == ENOMEM) {
  ------------------
  |  Branch (309:9): [True: 0, False: 451k]
  ------------------
  310|      0|        PyErr_NoMemory();
  311|      0|        fail_pos = (char *)s;
  312|      0|    }
  313|   451k|    else if (!endptr && (fail_pos == s || *fail_pos != '\0'))
  ------------------
  |  Branch (313:14): [True: 253k, False: 197k]
  |  Branch (313:26): [True: 0, False: 253k]
  |  Branch (313:43): [True: 0, False: 253k]
  ------------------
  314|      0|        PyErr_Format(PyExc_ValueError,
  315|      0|                      "could not convert string to float: "
  316|      0|                      "'%.200s'", s);
  317|   451k|    else if (fail_pos == s)
  ------------------
  |  Branch (317:14): [True: 0, False: 451k]
  ------------------
  318|      0|        PyErr_Format(PyExc_ValueError,
  319|      0|                      "could not convert string to float: "
  320|      0|                      "'%.200s'", s);
  321|   451k|    else if (errno == ERANGE && fabs(x) >= 1.0 && overflow_exception)
  ------------------
  |  Branch (321:14): [True: 37.9k, False: 413k]
  |  Branch (321:33): [True: 37.9k, False: 0]
  |  Branch (321:51): [True: 0, False: 37.9k]
  ------------------
  322|      0|        PyErr_Format(overflow_exception,
  323|      0|                      "value too large to convert to float: "
  324|      0|                      "'%.200s'", s);
  325|   451k|    else
  326|   451k|        result = x;
  327|       |
  328|   451k|    if (endptr != NULL)
  ------------------
  |  Branch (328:9): [True: 197k, False: 253k]
  ------------------
  329|   197k|        *endptr = fail_pos;
  330|   451k|    return result;
  331|   451k|}
PyOS_double_to_string:
 1226|  42.8k|{
 1227|  42.8k|    const char * const *float_strings = lc_float_strings;
 1228|  42.8k|    int mode;
 1229|       |
 1230|       |    /* Validate format_code, and map upper and lower case. Compute the
 1231|       |       mode and make any adjustments as needed. */
 1232|  42.8k|    switch (format_code) {
 1233|       |    /* exponent */
 1234|      0|    case 'E':
  ------------------
  |  Branch (1234:5): [True: 0, False: 42.8k]
  ------------------
 1235|      0|        float_strings = uc_float_strings;
 1236|      0|        format_code = 'e';
 1237|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1238|      0|    case 'e':
  ------------------
  |  Branch (1238:5): [True: 0, False: 42.8k]
  ------------------
 1239|      0|        mode = 2;
 1240|      0|        precision++;
 1241|      0|        break;
 1242|       |
 1243|       |    /* fixed */
 1244|      0|    case 'F':
  ------------------
  |  Branch (1244:5): [True: 0, False: 42.8k]
  ------------------
 1245|      0|        float_strings = uc_float_strings;
 1246|      0|        format_code = 'f';
 1247|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1248|      0|    case 'f':
  ------------------
  |  Branch (1248:5): [True: 0, False: 42.8k]
  ------------------
 1249|      0|        mode = 3;
 1250|      0|        break;
 1251|       |
 1252|       |    /* general */
 1253|      0|    case 'G':
  ------------------
  |  Branch (1253:5): [True: 0, False: 42.8k]
  ------------------
 1254|      0|        float_strings = uc_float_strings;
 1255|      0|        format_code = 'g';
 1256|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1257|      0|    case 'g':
  ------------------
  |  Branch (1257:5): [True: 0, False: 42.8k]
  ------------------
 1258|      0|        mode = 2;
 1259|       |        /* precision 0 makes no sense for 'g' format; interpret as 1 */
 1260|      0|        if (precision == 0)
  ------------------
  |  Branch (1260:13): [True: 0, False: 0]
  ------------------
 1261|      0|            precision = 1;
 1262|      0|        break;
 1263|       |
 1264|       |    /* repr format */
 1265|  42.8k|    case 'r':
  ------------------
  |  Branch (1265:5): [True: 42.8k, False: 0]
  ------------------
 1266|  42.8k|        mode = 0;
 1267|       |        /* Supplied precision is unused, must be 0. */
 1268|  42.8k|        if (precision != 0) {
  ------------------
  |  Branch (1268:13): [True: 0, False: 42.8k]
  ------------------
 1269|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1270|      0|            return NULL;
 1271|      0|        }
 1272|  42.8k|        break;
 1273|       |
 1274|  42.8k|    default:
  ------------------
  |  Branch (1274:5): [True: 0, False: 42.8k]
  ------------------
 1275|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1276|      0|        return NULL;
 1277|  42.8k|    }
 1278|       |
 1279|  42.8k|    return format_float_short(val, format_code, mode, precision,
 1280|  42.8k|                              flags & Py_DTSF_SIGN,
  ------------------
  |  |   22|  42.8k|#define Py_DTSF_SIGN      0x01 /* always add the sign */
  ------------------
 1281|  42.8k|                              flags & Py_DTSF_ADD_DOT_0,
  ------------------
  |  |   23|  42.8k|#define Py_DTSF_ADD_DOT_0 0x02 /* if the result is an integer add ".0" */
  ------------------
 1282|  42.8k|                              flags & Py_DTSF_ALT,
  ------------------
  |  |   24|  42.8k|#define Py_DTSF_ALT       0x04 /* "alternate" formatting. it's format_code
  ------------------
 1283|  42.8k|                              flags & Py_DTSF_NO_NEG_0,
  ------------------
  |  |   26|  42.8k|#define Py_DTSF_NO_NEG_0  0x08 /* negative zero result is coerced to 0 */
  ------------------
 1284|  42.8k|                              float_strings, type);
 1285|  42.8k|}
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|}
pystrtod.c:_PyOS_ascii_strtod:
   94|   451k|{
   95|   451k|    double result;
   96|   451k|    _Py_SET_53BIT_PRECISION_HEADER;
  ------------------
  |  |   94|   451k|    unsigned short old_387controlword, new_387controlword
  ------------------
   97|       |
   98|   451k|    assert(nptr != NULL);
  ------------------
  |  Branch (98:5): [True: 451k, False: 0]
  ------------------
   99|       |    /* Set errno to zero, so that we can distinguish zero results
  100|       |       and underflows */
  101|   451k|    errno = 0;
  102|       |
  103|   451k|    _Py_SET_53BIT_PRECISION_START;
  ------------------
  |  |   96|   451k|    do {                                                                \
  |  |   97|   451k|        old_387controlword = _Py_get_387controlword();                  \
  |  |   98|   451k|        new_387controlword = (old_387controlword & ~0x0f00) | 0x0200;   \
  |  |   99|   451k|        if (new_387controlword != old_387controlword) {                 \
  |  |  ------------------
  |  |  |  Branch (99:13): [True: 451k, False: 0]
  |  |  ------------------
  |  |  100|   451k|            _Py_set_387controlword(new_387controlword);                 \
  |  |  101|   451k|        }                                                               \
  |  |  102|   451k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (102:14): [Folded, False: 451k]
  |  |  ------------------
  ------------------
  104|   451k|    result = _Py_dg_strtod(nptr, endptr);
  105|   451k|    _Py_SET_53BIT_PRECISION_END;
  ------------------
  |  |  104|   451k|    do {                                                                \
  |  |  105|   451k|        if (new_387controlword != old_387controlword) {                 \
  |  |  ------------------
  |  |  |  Branch (105:13): [True: 451k, False: 0]
  |  |  ------------------
  |  |  106|   451k|            _Py_set_387controlword(old_387controlword);                 \
  |  |  107|   451k|        }                                                               \
  |  |  108|   451k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (108:14): [Folded, False: 451k]
  |  |  ------------------
  ------------------
  106|       |
  107|   451k|    if (*endptr == nptr)
  ------------------
  |  Branch (107:9): [True: 0, False: 451k]
  ------------------
  108|       |        /* string might represent an inf or nan */
  109|      0|        result = _Py_parse_inf_or_nan(nptr, endptr);
  110|       |
  111|   451k|    return result;
  112|       |
  113|   451k|}
pystrtod.c:format_float_short:
  974|  42.8k|{
  975|  42.8k|    char *buf = NULL;
  976|  42.8k|    char *p = NULL;
  977|  42.8k|    Py_ssize_t bufsize = 0;
  978|  42.8k|    char *digits, *digits_end;
  979|  42.8k|    int decpt_as_int, sign, exp_len, exp = 0, use_exp = 0;
  980|  42.8k|    Py_ssize_t decpt, digits_len, vdigits_start, vdigits_end;
  981|  42.8k|    _Py_SET_53BIT_PRECISION_HEADER;
  ------------------
  |  |   94|  42.8k|    unsigned short old_387controlword, new_387controlword
  ------------------
  982|       |
  983|       |    /* _Py_dg_dtoa returns a digit string (no decimal point or exponent).
  984|       |       Must be matched by a call to _Py_dg_freedtoa. */
  985|  42.8k|    _Py_SET_53BIT_PRECISION_START;
  ------------------
  |  |   96|  42.8k|    do {                                                                \
  |  |   97|  42.8k|        old_387controlword = _Py_get_387controlword();                  \
  |  |   98|  42.8k|        new_387controlword = (old_387controlword & ~0x0f00) | 0x0200;   \
  |  |   99|  42.8k|        if (new_387controlword != old_387controlword) {                 \
  |  |  ------------------
  |  |  |  Branch (99:13): [True: 42.8k, False: 0]
  |  |  ------------------
  |  |  100|  42.8k|            _Py_set_387controlword(new_387controlword);                 \
  |  |  101|  42.8k|        }                                                               \
  |  |  102|  42.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (102:14): [Folded, False: 42.8k]
  |  |  ------------------
  ------------------
  986|  42.8k|    digits = _Py_dg_dtoa(d, mode, precision, &decpt_as_int, &sign,
  987|  42.8k|                         &digits_end);
  988|  42.8k|    _Py_SET_53BIT_PRECISION_END;
  ------------------
  |  |  104|  42.8k|    do {                                                                \
  |  |  105|  42.8k|        if (new_387controlword != old_387controlword) {                 \
  |  |  ------------------
  |  |  |  Branch (105:13): [True: 42.8k, False: 0]
  |  |  ------------------
  |  |  106|  42.8k|            _Py_set_387controlword(old_387controlword);                 \
  |  |  107|  42.8k|        }                                                               \
  |  |  108|  42.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (108:14): [Folded, False: 42.8k]
  |  |  ------------------
  ------------------
  989|       |
  990|  42.8k|    decpt = (Py_ssize_t)decpt_as_int;
  991|  42.8k|    if (digits == NULL) {
  ------------------
  |  Branch (991:9): [True: 0, False: 42.8k]
  ------------------
  992|       |        /* The only failure mode is no memory. */
  993|      0|        PyErr_NoMemory();
  994|      0|        goto exit;
  995|      0|    }
  996|  42.8k|    assert(digits_end != NULL && digits_end >= digits);
  ------------------
  |  Branch (996:5): [True: 42.8k, False: 0]
  |  Branch (996:5): [True: 42.8k, False: 0]
  ------------------
  997|  42.8k|    digits_len = digits_end - digits;
  998|       |
  999|  42.8k|    if (no_negative_zero && sign == 1 &&
  ------------------
  |  Branch (999:9): [True: 0, False: 42.8k]
  |  Branch (999:29): [True: 0, False: 0]
  ------------------
 1000|      0|            (digits_len == 0 || (digits_len == 1 && digits[0] == '0'))) {
  ------------------
  |  Branch (1000:14): [True: 0, False: 0]
  |  Branch (1000:34): [True: 0, False: 0]
  |  Branch (1000:53): [True: 0, False: 0]
  ------------------
 1001|      0|        sign = 0;
 1002|      0|    }
 1003|       |
 1004|  42.8k|    if (digits_len && !Py_ISDIGIT(digits[0])) {
  ------------------
  |  |   24|  42.8k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|  42.8k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  42.8k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  ------------------
  |  Branch (1004:9): [True: 42.8k, False: 0]
  |  Branch (1004:23): [True: 3.16k, False: 39.6k]
  ------------------
 1005|       |        /* Infinities and nans here; adapt Gay's output,
 1006|       |           so convert Infinity to inf and NaN to nan, and
 1007|       |           ignore sign of nan. Then return. */
 1008|       |
 1009|       |        /* ignore the actual sign of a nan */
 1010|  3.16k|        if (digits[0] == 'n' || digits[0] == 'N')
  ------------------
  |  Branch (1010:13): [True: 0, False: 3.16k]
  |  Branch (1010:33): [True: 0, False: 3.16k]
  ------------------
 1011|      0|            sign = 0;
 1012|       |
 1013|       |        /* We only need 5 bytes to hold the result "+inf\0" . */
 1014|  3.16k|        bufsize = 5; /* Used later in an assert. */
 1015|  3.16k|        buf = (char *)PyMem_Malloc(bufsize);
 1016|  3.16k|        if (buf == NULL) {
  ------------------
  |  Branch (1016:13): [True: 0, False: 3.16k]
  ------------------
 1017|      0|            PyErr_NoMemory();
 1018|      0|            goto exit;
 1019|      0|        }
 1020|  3.16k|        p = buf;
 1021|       |
 1022|  3.16k|        if (sign == 1) {
  ------------------
  |  Branch (1022:13): [True: 0, False: 3.16k]
  ------------------
 1023|      0|            *p++ = '-';
 1024|      0|        }
 1025|  3.16k|        else if (always_add_sign) {
  ------------------
  |  Branch (1025:18): [True: 0, False: 3.16k]
  ------------------
 1026|      0|            *p++ = '+';
 1027|      0|        }
 1028|  3.16k|        if (digits[0] == 'i' || digits[0] == 'I') {
  ------------------
  |  Branch (1028:13): [True: 0, False: 3.16k]
  |  Branch (1028:33): [True: 3.16k, False: 0]
  ------------------
 1029|  3.16k|            strncpy(p, float_strings[OFS_INF], 3);
  ------------------
  |  |  923|  3.16k|#define OFS_INF 0
  ------------------
 1030|  3.16k|            p += 3;
 1031|       |
 1032|  3.16k|            if (type)
  ------------------
  |  Branch (1032:17): [True: 0, False: 3.16k]
  ------------------
 1033|      0|                *type = Py_DTST_INFINITE;
  ------------------
  |  |   30|      0|#define Py_DTST_INFINITE 1
  ------------------
 1034|  3.16k|        }
 1035|      0|        else if (digits[0] == 'n' || digits[0] == 'N') {
  ------------------
  |  Branch (1035:18): [True: 0, False: 0]
  |  Branch (1035:38): [True: 0, False: 0]
  ------------------
 1036|      0|            strncpy(p, float_strings[OFS_NAN], 3);
  ------------------
  |  |  924|      0|#define OFS_NAN 1
  ------------------
 1037|      0|            p += 3;
 1038|       |
 1039|      0|            if (type)
  ------------------
  |  Branch (1039:17): [True: 0, False: 0]
  ------------------
 1040|      0|                *type = Py_DTST_NAN;
  ------------------
  |  |   31|      0|#define Py_DTST_NAN 2
  ------------------
 1041|      0|        }
 1042|      0|        else {
 1043|       |            /* shouldn't get here: Gay's code should always return
 1044|       |               something starting with a digit, an 'I',  or 'N' */
 1045|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1046|      0|        }
 1047|  3.16k|        goto exit;
 1048|  3.16k|    }
 1049|       |
 1050|       |    /* The result must be finite (not inf or nan). */
 1051|  39.6k|    if (type)
  ------------------
  |  Branch (1051:9): [True: 0, False: 39.6k]
  ------------------
 1052|      0|        *type = Py_DTST_FINITE;
  ------------------
  |  |   29|      0|#define Py_DTST_FINITE 0
  ------------------
 1053|       |
 1054|       |
 1055|       |    /* We got digits back, format them.  We may need to pad 'digits'
 1056|       |       either on the left or right (or both) with extra zeros, so in
 1057|       |       general the resulting string has the form
 1058|       |
 1059|       |         [<sign>]<zeros><digits><zeros>[<exponent>]
 1060|       |
 1061|       |       where either of the <zeros> pieces could be empty, and there's a
 1062|       |       decimal point that could appear either in <digits> or in the
 1063|       |       leading or trailing <zeros>.
 1064|       |
 1065|       |       Imagine an infinite 'virtual' string vdigits, consisting of the
 1066|       |       string 'digits' (starting at index 0) padded on both the left and
 1067|       |       right with infinite strings of zeros.  We want to output a slice
 1068|       |
 1069|       |         vdigits[vdigits_start : vdigits_end]
 1070|       |
 1071|       |       of this virtual string.  Thus if vdigits_start < 0 then we'll end
 1072|       |       up producing some leading zeros; if vdigits_end > digits_len there
 1073|       |       will be trailing zeros in the output.  The next section of code
 1074|       |       determines whether to use an exponent or not, figures out the
 1075|       |       position 'decpt' of the decimal point, and computes 'vdigits_start'
 1076|       |       and 'vdigits_end'. */
 1077|  39.6k|    vdigits_end = digits_len;
 1078|  39.6k|    switch (format_code) {
 1079|      0|    case 'e':
  ------------------
  |  Branch (1079:5): [True: 0, False: 39.6k]
  ------------------
 1080|      0|        use_exp = 1;
 1081|      0|        vdigits_end = precision;
 1082|      0|        break;
 1083|      0|    case 'f':
  ------------------
  |  Branch (1083:5): [True: 0, False: 39.6k]
  ------------------
 1084|      0|        vdigits_end = decpt + precision;
 1085|      0|        break;
 1086|      0|    case 'g':
  ------------------
  |  Branch (1086:5): [True: 0, False: 39.6k]
  ------------------
 1087|      0|        if (decpt <= -4 || decpt >
  ------------------
  |  Branch (1087:13): [True: 0, False: 0]
  |  Branch (1087:28): [True: 0, False: 0]
  ------------------
 1088|      0|            (add_dot_0_if_integer ? precision-1 : precision))
  ------------------
  |  Branch (1088:14): [True: 0, False: 0]
  ------------------
 1089|      0|            use_exp = 1;
 1090|      0|        if (use_alt_formatting)
  ------------------
  |  Branch (1090:13): [True: 0, False: 0]
  ------------------
 1091|      0|            vdigits_end = precision;
 1092|      0|        break;
 1093|  39.6k|    case 'r':
  ------------------
  |  Branch (1093:5): [True: 39.6k, False: 0]
  ------------------
 1094|       |        /* convert to exponential format at 1e16.  We used to convert
 1095|       |           at 1e17, but that gives odd-looking results for some values
 1096|       |           when a 16-digit 'shortest' repr is padded with bogus zeros.
 1097|       |           For example, repr(2e16+8) would give 20000000000000010.0;
 1098|       |           the true value is 20000000000000008.0. */
 1099|  39.6k|        if (decpt <= -4 || decpt > 16)
  ------------------
  |  Branch (1099:13): [True: 2.16k, False: 37.5k]
  |  Branch (1099:28): [True: 12.8k, False: 24.6k]
  ------------------
 1100|  15.0k|            use_exp = 1;
 1101|  39.6k|        break;
 1102|      0|    default:
  ------------------
  |  Branch (1102:5): [True: 0, False: 39.6k]
  ------------------
 1103|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1104|      0|        goto exit;
 1105|  39.6k|    }
 1106|       |
 1107|       |    /* if using an exponent, reset decimal point position to 1 and adjust
 1108|       |       exponent accordingly.*/
 1109|  39.6k|    if (use_exp) {
  ------------------
  |  Branch (1109:9): [True: 15.0k, False: 24.6k]
  ------------------
 1110|  15.0k|        exp = (int)decpt - 1;
 1111|  15.0k|        decpt = 1;
 1112|  15.0k|    }
 1113|       |    /* ensure vdigits_start < decpt <= vdigits_end, or vdigits_start <
 1114|       |       decpt < vdigits_end if add_dot_0_if_integer and no exponent */
 1115|  39.6k|    vdigits_start = decpt <= 0 ? decpt-1 : 0;
  ------------------
  |  Branch (1115:21): [True: 1.44k, False: 38.2k]
  ------------------
 1116|  39.6k|    if (!use_exp && add_dot_0_if_integer)
  ------------------
  |  Branch (1116:9): [True: 24.6k, False: 15.0k]
  |  Branch (1116:21): [True: 8.50k, False: 16.1k]
  ------------------
 1117|  8.50k|        vdigits_end = vdigits_end > decpt ? vdigits_end : decpt + 1;
  ------------------
  |  Branch (1117:23): [True: 2.70k, False: 5.80k]
  ------------------
 1118|  31.1k|    else
 1119|  31.1k|        vdigits_end = vdigits_end > decpt ? vdigits_end : decpt;
  ------------------
  |  Branch (1119:23): [True: 10.3k, False: 20.7k]
  ------------------
 1120|       |
 1121|       |    /* double check inequalities */
 1122|  39.6k|    assert(vdigits_start <= 0 &&
  ------------------
  |  Branch (1122:5): [True: 39.6k, False: 0]
  |  Branch (1122:5): [True: 39.6k, False: 0]
  |  Branch (1122:5): [True: 39.6k, False: 0]
  ------------------
 1123|  39.6k|           0 <= digits_len &&
 1124|  39.6k|           digits_len <= vdigits_end);
 1125|       |    /* decimal point should be in (vdigits_start, vdigits_end] */
 1126|  39.6k|    assert(vdigits_start < decpt && decpt <= vdigits_end);
  ------------------
  |  Branch (1126:5): [True: 39.6k, False: 0]
  |  Branch (1126:5): [True: 39.6k, False: 0]
  ------------------
 1127|       |
 1128|       |    /* Compute an upper bound how much memory we need. This might be a few
 1129|       |       chars too long, but no big deal. */
 1130|  39.6k|    bufsize =
 1131|       |        /* sign, decimal point and trailing 0 byte */
 1132|  39.6k|        3 +
 1133|       |
 1134|       |        /* total digit count (including zero padding on both sides) */
 1135|  39.6k|        (vdigits_end - vdigits_start) +
 1136|       |
 1137|       |        /* exponent "e+100", max 3 numerical digits */
 1138|  39.6k|        (use_exp ? 5 : 0);
  ------------------
  |  Branch (1138:10): [True: 15.0k, False: 24.6k]
  ------------------
 1139|       |
 1140|       |    /* Now allocate the memory and initialize p to point to the start of
 1141|       |       it. */
 1142|  39.6k|    buf = (char *)PyMem_Malloc(bufsize);
 1143|  39.6k|    if (buf == NULL) {
  ------------------
  |  Branch (1143:9): [True: 0, False: 39.6k]
  ------------------
 1144|      0|        PyErr_NoMemory();
 1145|      0|        goto exit;
 1146|      0|    }
 1147|  39.6k|    p = buf;
 1148|       |
 1149|       |    /* Add a negative sign if negative, and a plus sign if non-negative
 1150|       |       and always_add_sign is true. */
 1151|  39.6k|    if (sign == 1)
  ------------------
  |  Branch (1151:9): [True: 0, False: 39.6k]
  ------------------
 1152|      0|        *p++ = '-';
 1153|  39.6k|    else if (always_add_sign)
  ------------------
  |  Branch (1153:14): [True: 0, False: 39.6k]
  ------------------
 1154|      0|        *p++ = '+';
 1155|       |
 1156|       |    /* note that exactly one of the three 'if' conditions is true,
 1157|       |       so we include exactly one decimal point */
 1158|       |    /* Zero padding on left of digit string */
 1159|  39.6k|    if (decpt <= 0) {
  ------------------
  |  Branch (1159:9): [True: 1.44k, False: 38.2k]
  ------------------
 1160|  1.44k|        memset(p, '0', decpt-vdigits_start);
 1161|  1.44k|        p += decpt - vdigits_start;
 1162|  1.44k|        *p++ = '.';
 1163|  1.44k|        memset(p, '0', 0-decpt);
 1164|  1.44k|        p += 0-decpt;
 1165|  1.44k|    }
 1166|  38.2k|    else {
 1167|  38.2k|        memset(p, '0', 0-vdigits_start);
 1168|  38.2k|        p += 0 - vdigits_start;
 1169|  38.2k|    }
 1170|       |
 1171|       |    /* Digits, with included decimal point */
 1172|  39.6k|    if (0 < decpt && decpt <= digits_len) {
  ------------------
  |  Branch (1172:9): [True: 38.2k, False: 1.44k]
  |  Branch (1172:22): [True: 36.0k, False: 2.16k]
  ------------------
 1173|  36.0k|        strncpy(p, digits, decpt-0);
 1174|  36.0k|        p += decpt-0;
 1175|  36.0k|        *p++ = '.';
 1176|  36.0k|        strncpy(p, digits+decpt, digits_len-decpt);
 1177|  36.0k|        p += digits_len-decpt;
 1178|  36.0k|    }
 1179|  3.61k|    else {
 1180|  3.61k|        strncpy(p, digits, digits_len);
 1181|  3.61k|        p += digits_len;
 1182|  3.61k|    }
 1183|       |
 1184|       |    /* And zeros on the right */
 1185|  39.6k|    if (digits_len < decpt) {
  ------------------
  |  Branch (1185:9): [True: 2.16k, False: 37.5k]
  ------------------
 1186|  2.16k|        memset(p, '0', decpt-digits_len);
 1187|  2.16k|        p += decpt-digits_len;
 1188|  2.16k|        *p++ = '.';
 1189|  2.16k|        memset(p, '0', vdigits_end-decpt);
 1190|  2.16k|        p += vdigits_end-decpt;
 1191|  2.16k|    }
 1192|  37.5k|    else {
 1193|  37.5k|        memset(p, '0', vdigits_end-digits_len);
 1194|  37.5k|        p += vdigits_end-digits_len;
 1195|  37.5k|    }
 1196|       |
 1197|       |    /* Delete a trailing decimal pt unless using alternative formatting. */
 1198|  39.6k|    if (p[-1] == '.' && !use_alt_formatting)
  ------------------
  |  Branch (1198:9): [True: 20.7k, False: 18.8k]
  |  Branch (1198:25): [True: 20.7k, False: 0]
  ------------------
 1199|  20.7k|        p--;
 1200|       |
 1201|       |    /* Now that we've done zero padding, add an exponent if needed. */
 1202|  39.6k|    if (use_exp) {
  ------------------
  |  Branch (1202:9): [True: 15.0k, False: 24.6k]
  ------------------
 1203|  15.0k|        *p++ = float_strings[OFS_E][0];
  ------------------
  |  |  925|  15.0k|#define OFS_E 2
  ------------------
 1204|  15.0k|        exp_len = sprintf(p, "%+.02d", exp);
 1205|  15.0k|        p += exp_len;
 1206|  15.0k|    }
 1207|  42.8k|  exit:
 1208|  42.8k|    if (buf) {
  ------------------
  |  Branch (1208:9): [True: 42.8k, False: 0]
  ------------------
 1209|  42.8k|        *p = '\0';
 1210|       |        /* It's too late if this fails, as we've already stepped on
 1211|       |           memory that isn't ours. But it's an okay debugging test. */
 1212|  42.8k|        assert(p-buf < bufsize);
  ------------------
  |  Branch (1212:9): [True: 42.8k, False: 0]
  ------------------
 1213|  42.8k|    }
 1214|  42.8k|    if (digits)
  ------------------
  |  Branch (1214:9): [True: 42.8k, False: 0]
  ------------------
 1215|  42.8k|        _Py_dg_freedtoa(digits);
 1216|       |
 1217|  42.8k|    return buf;
 1218|  42.8k|}

PyRun_StringFlags:
 1304|      3|                     PyObject *locals, PyCompilerFlags *flags) {
 1305|       |
 1306|       |    return _PyRun_String(str, NULL, start, globals, locals, flags, 0);
 1307|      3|}
Py_CompileStringObject:
 1560|  24.5k|{
 1561|       |    return _Py_CompileString(str, filename, start, flags, optimize, NULL);
 1562|  24.5k|}
_Py_CompileString:
 1567|  24.5k|{
 1568|  24.5k|    if (check_start(start) < 0) {
  ------------------
  |  Branch (1568:9): [True: 0, False: 24.5k]
  ------------------
 1569|      0|        return NULL;
 1570|      0|    }
 1571|       |
 1572|  24.5k|    PyCodeObject *co;
 1573|  24.5k|    mod_ty mod;
 1574|  24.5k|    PyArena *arena = _PyArena_New();
 1575|  24.5k|    if (arena == NULL)
  ------------------
  |  Branch (1575:9): [True: 0, False: 24.5k]
  ------------------
 1576|      0|        return NULL;
 1577|       |
 1578|  24.5k|    mod = _PyParser_ASTFromString(str, filename, start, flags, arena, module);
 1579|  24.5k|    if (mod == NULL) {
  ------------------
  |  Branch (1579:9): [True: 11.8k, False: 12.7k]
  ------------------
 1580|  11.8k|        _PyArena_Free(arena);
 1581|  11.8k|        return NULL;
 1582|  11.8k|    }
 1583|  12.7k|    if (flags && (flags->cf_flags & PyCF_ONLY_AST)) {
  ------------------
  |  |   17|  12.7k|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (1583:9): [True: 12.7k, False: 0]
  |  Branch (1583:18): [True: 1.87k, False: 10.8k]
  ------------------
 1584|  1.87k|        int syntax_check_only = ((flags->cf_flags & PyCF_OPTIMIZED_AST) == PyCF_ONLY_AST); /* unoptiomized AST */
  ------------------
  |  |   22|  1.87k|#define PyCF_OPTIMIZED_AST (0x8000 | PyCF_ONLY_AST)
  |  |  ------------------
  |  |  |  |   17|  1.87k|#define PyCF_ONLY_AST 0x0400
  |  |  ------------------
  ------------------
                      int syntax_check_only = ((flags->cf_flags & PyCF_OPTIMIZED_AST) == PyCF_ONLY_AST); /* unoptiomized AST */
  ------------------
  |  |   17|  1.87k|#define PyCF_ONLY_AST 0x0400
  ------------------
 1585|  1.87k|        if (_PyCompile_AstPreprocess(mod, filename, flags, optimize, arena,
  ------------------
  |  Branch (1585:13): [True: 1, False: 1.87k]
  ------------------
 1586|  1.87k|                                     syntax_check_only, module) < 0)
 1587|      1|        {
 1588|      1|            _PyArena_Free(arena);
 1589|      1|            return NULL;
 1590|      1|        }
 1591|  1.87k|        PyObject *result = PyAST_mod2obj(mod);
 1592|  1.87k|        _PyArena_Free(arena);
 1593|  1.87k|        return result;
 1594|  1.87k|    }
 1595|  10.8k|    co = _PyAST_Compile(mod, filename, flags, optimize, arena, module);
 1596|  10.8k|    _PyArena_Free(arena);
 1597|  10.8k|    return (PyObject *)co;
 1598|  12.7k|}
Py_CompileStringExFlags:
 1603|  24.5k|{
 1604|  24.5k|    PyObject *filename, *co;
 1605|  24.5k|    filename = PyUnicode_DecodeFSDefault(filename_str);
 1606|  24.5k|    if (filename == NULL)
  ------------------
  |  Branch (1606:9): [True: 0, False: 24.5k]
  ------------------
 1607|      0|        return NULL;
 1608|  24.5k|    co = Py_CompileStringObject(str, filename, start, flags, optimize);
 1609|  24.5k|    Py_DECREF(filename);
  ------------------
  |  |  430|  24.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1610|  24.5k|    return co;
 1611|  24.5k|}
_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);
  ------------------
  |  |  923|      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|  24.5k|{
 1246|  24.5k|    if (start == Py_single_input || start == Py_file_input
  ------------------
  |  |    8|  49.0k|#define Py_single_input 256
  ------------------
                  if (start == Py_single_input || start == Py_file_input
  ------------------
  |  |    9|  43.6k|#define Py_file_input 257
  ------------------
  |  Branch (1246:9): [True: 5.46k, False: 19.0k]
  |  Branch (1246:37): [True: 15.7k, False: 3.34k]
  ------------------
 1247|  3.34k|        || start == Py_eval_input || start == Py_func_type_input)
  ------------------
  |  |   10|  27.8k|#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.34k, False: 0]
  |  Branch (1247:38): [True: 0, False: 0]
  ------------------
 1248|  24.5k|    {
 1249|  24.5k|        return 0;
 1250|  24.5k|    }
 1251|      0|    PyErr_SetString(PyExc_ValueError, "invalid start argument");
 1252|      0|    return -1;
 1253|  24.5k|}

_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|  1.50k|{
  227|  1.50k|#if SIZEOF_TIME_T == SIZEOF_LONG_LONG
  228|  1.50k|    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|  1.50k|}
_PyTime_FromSeconds:
  539|    734|{
  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|    734|    static_assert(INT_MAX <= PyTime_MAX / SEC_TO_NS, "PyTime_t overflow");
  544|    734|    static_assert(INT_MIN >= PyTime_MIN / SEC_TO_NS, "PyTime_t underflow");
  545|       |
  546|    734|    PyTime_t t = (PyTime_t)seconds;
  547|    734|    assert((t >= 0 && t <= PyTime_MAX / SEC_TO_NS)
  ------------------
  |  Branch (547:5): [True: 0, False: 734]
  |  Branch (547:5): [True: 0, False: 0]
  |  Branch (547:5): [True: 734, False: 0]
  |  Branch (547:5): [True: 734, False: 0]
  ------------------
  548|    734|           || (t < 0 && t >= PyTime_MIN / SEC_TO_NS));
  549|    734|    t *= SEC_TO_NS;
  ------------------
  |  |   35|    734|#define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   26|    734|#define SEC_TO_MS 1000
  |  |  ------------------
  |  |               #define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   34|    734|#define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    734|#define MS_TO_US 1000
  |  |  |  |  ------------------
  |  |  |  |               #define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|    734|#define US_TO_NS 1000
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  550|    734|    return t;
  551|    734|}
_PyTime_FromMicrosecondsClamp:
  556|  97.1k|{
  557|  97.1k|    PyTime_t ns = _PyTime_Mul(us, US_TO_NS);
  ------------------
  |  |   33|  97.1k|#define US_TO_NS 1000
  ------------------
  558|  97.1k|    return ns;
  559|  97.1k|}
PyTime_AsSecondsDouble:
  705|  7.77k|{
  706|       |    /* volatile avoids optimization changing how numbers are rounded */
  707|  7.77k|    volatile double d;
  708|       |
  709|  7.77k|    if (ns % SEC_TO_NS == 0) {
  ------------------
  |  |   35|  7.77k|#define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   26|  7.77k|#define SEC_TO_MS 1000
  |  |  ------------------
  |  |               #define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   34|  7.77k|#define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  7.77k|#define MS_TO_US 1000
  |  |  |  |  ------------------
  |  |  |  |               #define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|  7.77k|#define US_TO_NS 1000
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (709:9): [True: 0, False: 7.77k]
  ------------------
  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|  7.77k|    else {
  716|  7.77k|        d = (double)ns;
  717|  7.77k|        d /= 1e9;
  718|  7.77k|    }
  719|  7.77k|    return d;
  720|  7.77k|}
_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|  15.5k|{
 1290|  15.5k|    if (py_get_monotonic_clock(result, NULL, 0) < 0) {
  ------------------
  |  Branch (1290:9): [True: 0, False: 15.5k]
  ------------------
 1291|      0|        *result = 0;
 1292|      0|        return -1;
 1293|      0|    }
 1294|  15.5k|    return 0;
 1295|  15.5k|}
PyTime_PerfCounterRaw:
 1321|  15.5k|{
 1322|  15.5k|    return PyTime_MonotonicRaw(result);
 1323|  15.5k|}
_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|  15.5k|{
  118|  15.5k|    if (t2 > 0 && *t1 > PyTime_MAX - t2) {
  ------------------
  |  |   12|  15.5k|#define PyTime_MAX INT64_MAX
  ------------------
  |  Branch (118:9): [True: 15.5k, False: 0]
  |  Branch (118:19): [True: 0, False: 15.5k]
  ------------------
  119|      0|        *t1 = PyTime_MAX;
  ------------------
  |  |   12|      0|#define PyTime_MAX INT64_MAX
  ------------------
  120|      0|        return -1;
  121|      0|    }
  122|  15.5k|    else if (t2 < 0 && *t1 < PyTime_MIN - t2) {
  ------------------
  |  |   11|      0|#define PyTime_MIN INT64_MIN
  ------------------
  |  Branch (122:14): [True: 0, False: 15.5k]
  |  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|  15.5k|    else {
  127|  15.5k|        *t1 += t2;
  128|  15.5k|        return 0;
  129|  15.5k|    }
  130|  15.5k|}
pytime.c:_PyTime_Mul:
  173|  97.1k|{
  174|  97.1k|    (void)pytime_mul(&t, k);
  175|  97.1k|    return t;
  176|  97.1k|}
pytime.c:pytime_mul:
  157|   112k|{
  158|   112k|    assert(k >= 0);
  ------------------
  |  Branch (158:5): [True: 112k, False: 0]
  ------------------
  159|   112k|    if (pytime_mul_check_overflow(*t, k)) {
  ------------------
  |  Branch (159:9): [True: 0, False: 112k]
  ------------------
  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|   112k|    else {
  164|   112k|        *t *= k;
  165|   112k|        return 0;
  166|   112k|    }
  167|   112k|}
pytime.c:pytime_mul_check_overflow:
  143|   112k|{
  144|   112k|    if (b != 0) {
  ------------------
  |  Branch (144:9): [True: 112k, False: 0]
  ------------------
  145|   112k|        assert(b > 0);
  ------------------
  |  Branch (145:9): [True: 112k, False: 0]
  ------------------
  146|   112k|        return ((a < PyTime_MIN / b) || (PyTime_MAX / b < a));
  ------------------
  |  |   11|   112k|#define PyTime_MIN INT64_MIN
  ------------------
                      return ((a < PyTime_MIN / b) || (PyTime_MAX / b < a));
  ------------------
  |  |   12|   112k|#define PyTime_MAX INT64_MAX
  ------------------
  |  Branch (146:17): [True: 0, False: 112k]
  |  Branch (146:41): [True: 0, False: 112k]
  ------------------
  147|   112k|    }
  148|      0|    else {
  149|      0|        return 0;
  150|      0|    }
  151|   112k|}
pytime.c:pytime_fromtimespec:
  565|  15.5k|{
  566|  15.5k|    PyTime_t t, tv_nsec;
  567|       |
  568|  15.5k|    static_assert(sizeof(ts->tv_sec) <= sizeof(PyTime_t),
  569|  15.5k|                  "timespec.tv_sec is larger than PyTime_t");
  570|  15.5k|    t = (PyTime_t)ts->tv_sec;
  571|       |
  572|  15.5k|    int res1 = pytime_mul(&t, SEC_TO_NS);
  ------------------
  |  |   35|  15.5k|#define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   26|  15.5k|#define SEC_TO_MS 1000
  |  |  ------------------
  |  |               #define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   34|  15.5k|#define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  15.5k|#define MS_TO_US 1000
  |  |  |  |  ------------------
  |  |  |  |               #define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|  15.5k|#define US_TO_NS 1000
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  573|       |
  574|  15.5k|    tv_nsec = ts->tv_nsec;
  575|  15.5k|    int res2 = pytime_add(&t, tv_nsec);
  576|       |
  577|  15.5k|    *tp = t;
  578|       |
  579|  15.5k|    if (raise_exc && (res1 < 0 || res2 < 0)) {
  ------------------
  |  Branch (579:9): [True: 0, False: 15.5k]
  |  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|  15.5k|    return 0;
  584|  15.5k|}
pytime.c:py_get_monotonic_clock:
 1192|  15.5k|{
 1193|  15.5k|    assert(info == NULL || raise_exc);
  ------------------
  |  Branch (1193:5): [True: 15.5k, False: 0]
  |  Branch (1193:5): [True: 0, False: 0]
  ------------------
 1194|  15.5k|    if (raise_exc) {
  ------------------
  |  Branch (1194:9): [True: 0, False: 15.5k]
  ------------------
 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|  15.5k|    const clockid_t clk_id = CLOCK_MONOTONIC;
 1244|  15.5k|    const char *implementation = "clock_gettime(CLOCK_MONOTONIC)";
 1245|  15.5k|#endif
 1246|       |
 1247|  15.5k|    struct timespec ts;
 1248|  15.5k|    if (clock_gettime(clk_id, &ts) != 0) {
  ------------------
  |  Branch (1248:9): [True: 0, False: 15.5k]
  ------------------
 1249|      0|        if (raise_exc) {
  ------------------
  |  Branch (1249:13): [True: 0, False: 0]
  ------------------
 1250|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1251|      0|            return -1;
 1252|      0|        }
 1253|      0|        return -1;
 1254|      0|    }
 1255|       |
 1256|  15.5k|    if (pytime_fromtimespec(tp, &ts, raise_exc) < 0) {
  ------------------
  |  Branch (1256:9): [True: 0, False: 15.5k]
  ------------------
 1257|      0|        return -1;
 1258|      0|    }
 1259|       |
 1260|  15.5k|    if (info) {
  ------------------
  |  Branch (1260:9): [True: 0, False: 15.5k]
  ------------------
 1261|      0|        info->monotonic = 1;
 1262|      0|        info->implementation = implementation;
 1263|      0|        info->adjustable = 0;
 1264|      0|        struct timespec res;
 1265|      0|        if (clock_getres(clk_id, &res) != 0) {
  ------------------
  |  Branch (1265:13): [True: 0, False: 0]
  ------------------
 1266|      0|            PyErr_SetFromErrno(PyExc_OSError);
 1267|      0|            return -1;
 1268|      0|        }
 1269|      0|        info->resolution = res.tv_sec + res.tv_nsec * 1e-9;
 1270|      0|    }
 1271|  15.5k|#endif
 1272|  15.5k|    return 0;
 1273|  15.5k|}

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

_PyCode_Quicken:
   64|  56.1k|{
   65|  56.1k|    #if ENABLE_SPECIALIZATION
   66|  56.1k|    _Py_BackoffCounter jump_counter, adaptive_counter, resume_counter;
   67|  56.1k|    if (enable_counters) {
  ------------------
  |  Branch (67:9): [True: 56.1k, False: 0]
  ------------------
   68|  56.1k|        PyThreadState *tstate = _PyThreadState_GET();
   69|  56.1k|        PyInterpreterState *interp = tstate->interp;
   70|  56.1k|        jump_counter = initial_jump_backoff_counter(&interp->opt_config);
   71|  56.1k|        adaptive_counter = adaptive_counter_warmup();
   72|  56.1k|        resume_counter = initial_resume_backoff_counter(&interp->opt_config);
   73|  56.1k|    }
   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|  56.1k|    int opcode = 0;
   80|  56.1k|    int oparg = 0;
   81|       |    /* The last code unit cannot have a cache, so we don't need to check it */
   82|  3.61M|    for (Py_ssize_t i = 0; i < size-1; i++) {
  ------------------
  |  Branch (82:28): [True: 3.55M, False: 56.1k]
  ------------------
   83|  3.55M|        opcode = instructions[i].op.code;
   84|  3.55M|        int caches = _PyOpcode_Caches[opcode];
   85|  3.55M|        oparg = (oparg << 8) | instructions[i].op.arg;
   86|  3.55M|        if (opcode == GET_ITER) {
  ------------------
  |  |   80|  3.55M|#define GET_ITER                                67
  ------------------
  |  Branch (86:13): [True: 3.06k, False: 3.55M]
  ------------------
   87|  3.06k|            fixup_getiter(&instructions[i], flags);
   88|  3.06k|        }
   89|  3.55M|        if (caches) {
  ------------------
  |  Branch (89:13): [True: 868k, False: 2.68M]
  ------------------
   90|       |            // The initial value depends on the opcode
   91|   868k|            switch (opcode) {
   92|  7.07k|                case JUMP_BACKWARD:
  ------------------
  |  |   84|  7.07k|#define JUMP_BACKWARD                           71
  ------------------
  |  Branch (92:17): [True: 7.07k, False: 861k]
  ------------------
   93|  7.07k|                    instructions[i + 1].counter = jump_counter;
   94|  7.07k|                    break;
   95|  92.5k|                case RESUME:
  ------------------
  |  |  130|  92.5k|#define RESUME                                 128
  ------------------
  |  Branch (95:17): [True: 92.5k, False: 776k]
  ------------------
   96|  92.5k|                    instructions[i + 1].counter = resume_counter;
   97|  92.5k|                    break;
   98|  76.4k|                case POP_JUMP_IF_FALSE:
  ------------------
  |  |  109|  76.4k|#define POP_JUMP_IF_FALSE                       96
  ------------------
  |  Branch (98:17): [True: 76.4k, False: 792k]
  ------------------
   99|  91.4k|                case POP_JUMP_IF_TRUE:
  ------------------
  |  |  112|  91.4k|#define POP_JUMP_IF_TRUE                        99
  ------------------
  |  Branch (99:17): [True: 14.9k, False: 853k]
  ------------------
  100|  93.1k|                case POP_JUMP_IF_NONE:
  ------------------
  |  |  110|  93.1k|#define POP_JUMP_IF_NONE                        97
  ------------------
  |  Branch (100:17): [True: 1.76k, False: 867k]
  ------------------
  101|  94.7k|                case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  111|  94.7k|#define POP_JUMP_IF_NOT_NONE                    98
  ------------------
  |  Branch (101:17): [True: 1.56k, False: 867k]
  ------------------
  102|  94.7k|                    instructions[i + 1].cache = 0x5555;  // Alternating 0, 1 bits
  103|  94.7k|                    break;
  104|   674k|                default:
  ------------------
  |  Branch (104:17): [True: 674k, False: 194k]
  ------------------
  105|   674k|                    instructions[i + 1].counter = adaptive_counter;
  106|   674k|                    break;
  107|   868k|            }
  108|   868k|            i += caches;
  109|   868k|        }
  110|  3.55M|        if (opcode != EXTENDED_ARG) {
  ------------------
  |  |   77|  3.55M|#define EXTENDED_ARG                            64
  ------------------
  |  Branch (110:13): [True: 3.49M, False: 57.4k]
  ------------------
  111|  3.49M|            oparg = 0;
  112|  3.49M|        }
  113|  3.55M|    }
  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|  56.1k|}
_Py_Specialize_LoadSuperAttr:
  469|     13|_Py_Specialize_LoadSuperAttr(_PyStackRef global_super_st, _PyStackRef cls_st, _Py_CODEUNIT *instr, int load_method) {
  470|     13|    PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  471|     13|    PyObject *cls = PyStackRef_AsPyObjectBorrow(cls_st);
  472|       |
  473|     13|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (473:5): [True: 13, Folded]
  ------------------
  474|     13|    assert(_PyOpcode_Caches[LOAD_SUPER_ATTR] == INLINE_CACHE_ENTRIES_LOAD_SUPER_ATTR);
  ------------------
  |  Branch (474:5): [True: 13, False: 0]
  ------------------
  475|     13|    if (global_super != (PyObject *)&PySuper_Type) {
  ------------------
  |  Branch (475:9): [True: 0, False: 13]
  ------------------
  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|     13|    if (!PyType_Check(cls)) {
  ------------------
  |  |  766|     13|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (479:9): [True: 0, False: 13]
  ------------------
  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|     13|    uint8_t load_code = load_method ? LOAD_SUPER_ATTR_METHOD : LOAD_SUPER_ATTR_ATTR;
  ------------------
  |  |  201|      9|#define LOAD_SUPER_ATTR_METHOD                 199
  ------------------
                  uint8_t load_code = load_method ? LOAD_SUPER_ATTR_METHOD : LOAD_SUPER_ATTR_ATTR;
  ------------------
  |  |  200|     17|#define LOAD_SUPER_ATTR_ATTR                   198
  ------------------
  |  Branch (483:25): [True: 9, False: 4]
  ------------------
  484|     13|    specialize(instr, load_code);
  485|     13|    return;
  486|      0|fail:
  487|      0|    unspecialize(instr);
  488|      0|}
_Py_Specialize_LoadAttr:
  999|  1.49k|{
 1000|  1.49k|    PyObject *owner = PyStackRef_AsPyObjectBorrow(owner_st);
 1001|       |
 1002|  1.49k|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (1002:5): [True: 1.49k, Folded]
  ------------------
 1003|  1.49k|    assert(_PyOpcode_Caches[LOAD_ATTR] == INLINE_CACHE_ENTRIES_LOAD_ATTR);
  ------------------
  |  Branch (1003:5): [True: 1.49k, False: 0]
  ------------------
 1004|  1.49k|    PyTypeObject *type = Py_TYPE(owner);
  ------------------
  |  |  213|  1.49k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1005|  1.49k|    bool fail;
 1006|  1.49k|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (1006:9): [True: 0, False: 1.49k]
  ------------------
 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|  1.49k|    else if (Py_TYPE(owner)->tp_getattro == PyModule_Type.tp_getattro) {
  ------------------
  |  |  213|  1.49k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1013:14): [True: 317, False: 1.18k]
  ------------------
 1014|    317|        fail = specialize_module_load_attr(owner, instr, name);
 1015|    317|    }
 1016|  1.18k|    else if (PyType_Check(owner)) {
  ------------------
  |  |  766|  1.18k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 196, False: 984]
  |  |  ------------------
  ------------------
 1017|    196|        fail = specialize_class_load_attr(owner, instr, name);
 1018|    196|    }
 1019|    984|    else {
 1020|    984|        fail = specialize_instance_load_attr(owner, instr, name);
 1021|    984|    }
 1022|       |
 1023|  1.49k|    if (fail) {
  ------------------
  |  Branch (1023:9): [True: 542, False: 955]
  ------------------
 1024|    542|        unspecialize(instr);
 1025|    542|    }
 1026|  1.49k|}
_Py_Specialize_StoreAttr:
 1030|    278|{
 1031|    278|    PyObject *owner = PyStackRef_AsPyObjectBorrow(owner_st);
 1032|       |
 1033|    278|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (1033:5): [True: 278, Folded]
  ------------------
 1034|    278|    assert(_PyOpcode_Caches[STORE_ATTR] == INLINE_CACHE_ENTRIES_STORE_ATTR);
  ------------------
  |  Branch (1034:5): [True: 278, False: 0]
  ------------------
 1035|    278|    PyObject *descr = NULL;
 1036|    278|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
 1037|    278|    PyTypeObject *type = Py_TYPE(owner);
  ------------------
  |  |  213|    278|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    278|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    278|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1038|    278|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (1038:9): [True: 0, False: 278]
  ------------------
 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|    278|    if (PyModule_CheckExact(owner)) {
  ------------------
  |  |   13|    278|#define PyModule_CheckExact(op) Py_IS_TYPE((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  215|    278|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    278|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    278|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 23, False: 255]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1046|     23|        SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_OVERRIDDEN);
  ------------------
  |  |   43|     23|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1047|     23|        goto fail;
 1048|     23|    }
 1049|    255|    unsigned int tp_version = 0;
 1050|    255|    DescriptorClassification kind = analyze_descriptor_store(type, name, &descr, &tp_version);
 1051|    255|    if (tp_version == 0) {
  ------------------
  |  Branch (1051:9): [True: 14, False: 241]
  ------------------
 1052|     14|        goto fail;
 1053|     14|    }
 1054|    255|    assert(descr != NULL || kind == ABSENT || kind == GETSET_OVERRIDDEN);
  ------------------
  |  Branch (1054:5): [True: 26, False: 215]
  |  Branch (1054:5): [True: 215, False: 0]
  |  Branch (1054:5): [True: 0, False: 0]
  ------------------
 1055|    241|    switch(kind) {
  ------------------
  |  Branch (1055:12): [True: 241, False: 0]
  ------------------
 1056|     12|        case OVERRIDING:
  ------------------
  |  Branch (1056:9): [True: 12, False: 229]
  ------------------
 1057|     12|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_OVERRIDING_DESCRIPTOR);
  ------------------
  |  |   43|     12|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1058|     12|            goto fail;
 1059|      0|        case METHOD:
  ------------------
  |  Branch (1059:9): [True: 0, False: 241]
  ------------------
 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: 239]
  ------------------
 1063|      2|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_PROPERTY);
  ------------------
  |  |   43|      2|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1064|      2|            goto fail;
 1065|     10|        case OBJECT_SLOT:
  ------------------
  |  Branch (1065:9): [True: 10, False: 231]
  ------------------
 1066|     10|        {
 1067|     10|            PyMemberDescrObject *member = (PyMemberDescrObject *)descr;
 1068|     10|            struct PyMemberDef *dmem = member->d_member;
 1069|     10|            Py_ssize_t offset = dmem->offset;
 1070|     10|            if (!PyObject_TypeCheck(owner, member->d_common.d_type)) {
  ------------------
  |  |  378|     10|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1070:17): [True: 0, False: 10]
  ------------------
 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|     10|            if (dmem->flags & _Py_AFTER_ITEMS) {
  ------------------
  |  |   89|     10|#  define _Py_AFTER_ITEMS      (1 << 4) // For internal use.
  ------------------
  |  Branch (1074:17): [True: 0, False: 10]
  ------------------
 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|     10|            if (dmem->flags & Py_READONLY) {
  ------------------
  |  |   83|     10|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (1078:17): [True: 0, False: 10]
  ------------------
 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|     10|            if (offset != (uint16_t)offset) {
  ------------------
  |  Branch (1082:17): [True: 0, False: 10]
  ------------------
 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|     10|            assert(dmem->type == Py_T_OBJECT_EX || dmem->type == _Py_T_OBJECT);
  ------------------
  |  Branch (1086:13): [True: 10, False: 0]
  |  Branch (1086:13): [True: 0, False: 0]
  ------------------
 1087|     10|            assert(offset > 0);
  ------------------
  |  Branch (1087:13): [True: 10, False: 0]
  ------------------
 1088|     10|            cache->index = (uint16_t)offset;
 1089|     10|            write_u32(cache->version, tp_version);
 1090|     10|            specialize(instr, STORE_ATTR_SLOT);
  ------------------
  |  |  208|     10|#define STORE_ATTR_SLOT                        206
  ------------------
 1091|     10|            goto success;
 1092|     10|        }
 1093|      0|        case DUNDER_CLASS:
  ------------------
  |  Branch (1093:9): [True: 0, False: 241]
  ------------------
 1094|      0|        case OTHER_SLOT:
  ------------------
  |  Branch (1094:9): [True: 0, False: 241]
  ------------------
 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: 241]
  ------------------
 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: 241]
  ------------------
 1101|      0|        case GETSET_OVERRIDDEN:
  ------------------
  |  Branch (1101:9): [True: 0, False: 241]
  ------------------
 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: 241]
  ------------------
 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: 241]
  ------------------
 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: 241]
  ------------------
 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|      2|        case NON_DESCRIPTOR:
  ------------------
  |  Branch (1113:9): [True: 2, False: 239]
  ------------------
 1114|      2|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_CLASS_ATTR_SIMPLE);
  ------------------
  |  |   43|      2|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1115|      2|            goto fail;
 1116|    215|        case ABSENT:
  ------------------
  |  Branch (1116:9): [True: 215, False: 26]
  ------------------
 1117|    215|            if (specialize_dict_access(owner, instr, type, kind, name, tp_version,
  ------------------
  |  Branch (1117:17): [True: 171, False: 44]
  ------------------
 1118|    215|                                       STORE_ATTR, STORE_ATTR_INSTANCE_VALUE,
  ------------------
  |  |  119|    215|#define STORE_ATTR                             106
  ------------------
                                                     STORE_ATTR, STORE_ATTR_INSTANCE_VALUE,
  ------------------
  |  |  207|    215|#define STORE_ATTR_INSTANCE_VALUE              205
  ------------------
 1119|    215|                                       STORE_ATTR_WITH_HINT)) {
  ------------------
  |  |  209|    215|#define STORE_ATTR_WITH_HINT                   207
  ------------------
 1120|    171|                goto success;
 1121|    171|            }
 1122|    241|    }
 1123|     97|fail:
 1124|     97|    Py_XDECREF(descr);
  ------------------
  |  |  524|     97|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     97|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1125|     97|    unspecialize(instr);
 1126|     97|    return;
 1127|    181|success:
 1128|    181|    Py_XDECREF(descr);
  ------------------
  |  |  524|    181|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    181|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    181|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1129|    181|    return;
 1130|    241|}
_Py_Specialize_LoadGlobal:
 1459|  1.64k|{
 1460|       |#ifdef Py_GIL_DISABLED
 1461|       |    if (PyMutex_IsLocked(&globals->ob_mutex) || PyMutex_IsLocked(&builtins->ob_mutex)) {
 1462|       |        // Skip specialization if either dictionary is locked to avoid lock
 1463|       |        // contention.
 1464|       |        unspecialize(instr);
 1465|       |        return;
 1466|       |    }
 1467|       |#endif
 1468|  1.64k|    Py_BEGIN_CRITICAL_SECTION2(globals, builtins);
  ------------------
  |  |   57|  1.64k|    {
  ------------------
 1469|  1.64k|    specialize_load_global_lock_held(globals, builtins, instr, name);
 1470|  1.64k|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|  1.64k|    }
  ------------------
 1471|  1.64k|}
_Py_Specialize_StoreSubscr:
 1585|     95|{
 1586|     95|    PyObject *container = PyStackRef_AsPyObjectBorrow(container_st);
 1587|     95|    PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
 1588|       |
 1589|     95|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (1589:5): [True: 95, Folded]
  ------------------
 1590|     95|    PyTypeObject *container_type = Py_TYPE(container);
  ------------------
  |  |  213|     95|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     95|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     95|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1591|     95|    if (container_type == &PyList_Type) {
  ------------------
  |  Branch (1591:9): [True: 17, False: 78]
  ------------------
 1592|     17|        if (PyLong_CheckExact(sub)) {
  ------------------
  |  |   14|     17|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_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: 13, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1593|     13|            if (_PyLong_IsNonNegativeCompact((PyLongObject *)sub)
  ------------------
  |  Branch (1593:17): [True: 11, False: 2]
  ------------------
 1594|     11|                && ((PyLongObject *)sub)->long_value.ob_digit[0] < (size_t)PyList_GET_SIZE(container))
  ------------------
  |  |   38|     11|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1594:20): [True: 11, False: 0]
  ------------------
 1595|     11|            {
 1596|     11|                specialize(instr, STORE_SUBSCR_LIST_INT);
  ------------------
  |  |  211|     11|#define STORE_SUBSCR_LIST_INT                  209
  ------------------
 1597|     11|                return;
 1598|     11|            }
 1599|      2|            else {
 1600|      2|                SPECIALIZATION_FAIL(STORE_SUBSCR, SPEC_FAIL_OUT_OF_RANGE);
  ------------------
  |  |   43|      2|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1601|      2|                unspecialize(instr);
 1602|      2|                return;
 1603|      2|            }
 1604|     13|        }
 1605|      4|        else if (PySlice_Check(sub)) {
  ------------------
  |  |   22|      4|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1606|      4|            SPECIALIZATION_FAIL(STORE_SUBSCR, SPEC_FAIL_SUBSCR_LIST_SLICE);
  ------------------
  |  |   43|      4|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1607|      4|            unspecialize(instr);
 1608|      4|            return;
 1609|      4|        }
 1610|      0|        else {
 1611|      0|            SPECIALIZATION_FAIL(STORE_SUBSCR, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1612|      0|            unspecialize(instr);
 1613|      0|            return;
 1614|      0|        }
 1615|     17|    }
 1616|     78|    if (container_type->tp_as_mapping != NULL &&
  ------------------
  |  Branch (1616:9): [True: 78, False: 0]
  ------------------
 1617|     78|        container_type->tp_as_mapping->mp_ass_subscript == _PyDict_StoreSubscript)
  ------------------
  |  Branch (1617:9): [True: 65, False: 13]
  ------------------
 1618|     65|    {
 1619|     65|        specialize(instr, STORE_SUBSCR_DICT);
  ------------------
  |  |  210|     65|#define STORE_SUBSCR_DICT                      208
  ------------------
 1620|     65|        return;
 1621|     65|    }
 1622|     13|    SPECIALIZATION_FAIL(STORE_SUBSCR, store_subscr_fail_kind(container, sub));
  ------------------
  |  |   43|     13|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1623|     13|    unspecialize(instr);
 1624|     13|}
_Py_Specialize_Call:
 1876|  1.31k|{
 1877|  1.31k|    PyObject *callable = PyStackRef_AsPyObjectBorrow(callable_st);
 1878|       |
 1879|  1.31k|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (1879:5): [True: 1.31k, Folded]
  ------------------
 1880|  1.31k|    assert(_PyOpcode_Caches[CALL] == INLINE_CACHE_ENTRIES_CALL);
  ------------------
  |  Branch (1880:5): [True: 1.31k, False: 0]
  ------------------
 1881|  1.31k|    assert(_Py_OPCODE(*instr) != INSTRUMENTED_CALL);
  ------------------
  |  Branch (1881:5): [True: 1.31k, False: 0]
  ------------------
 1882|  1.31k|    int fail;
 1883|  1.31k|    if (PyCFunction_CheckExact(callable)) {
  ------------------
  |  |   16|  1.31k|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  ------------------
  |  |  |  |  215|  1.31k|#  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: 475, False: 835]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1884|    475|        fail = specialize_c_call(callable, instr, nargs);
 1885|    475|    }
 1886|    835|    else if (PyFunction_Check(callable)) {
  ------------------
  |  |   68|    835|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|    835|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    835|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    835|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 326, False: 509]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1887|    326|        fail = specialize_py_call((PyFunctionObject *)callable, instr, nargs, false);
 1888|    326|    }
 1889|    509|    else if (PyType_Check(callable)) {
  ------------------
  |  |  766|    509|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    509|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    509|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 182, False: 327]
  |  |  ------------------
  ------------------
 1890|    182|        fail = specialize_class_call(callable, instr, nargs);
 1891|    182|    }
 1892|    327|    else if (Py_IS_TYPE(callable, &PyMethodDescr_Type)) {
  ------------------
  |  |  215|    327|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    327|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    327|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 260, False: 67]
  |  |  ------------------
  ------------------
 1893|    260|        PyObject *self_or_null = PyStackRef_AsPyObjectBorrow(self_or_null_st);
 1894|    260|        fail = specialize_method_descriptor((PyMethodDescrObject *)callable,
 1895|    260|                                            self_or_null, instr, nargs);
 1896|    260|    }
 1897|     67|    else if (PyMethod_Check(callable)) {
  ------------------
  |  |   22|     67|#define PyMethod_Check(op) Py_IS_TYPE((op), &PyMethod_Type)
  |  |  ------------------
  |  |  |  |  215|     67|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     67|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     67|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 50, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1898|     50|        PyObject *func = ((PyMethodObject *)callable)->im_func;
 1899|     50|        if (PyFunction_Check(func)) {
  ------------------
  |  |   68|     50|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|     50|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 50, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1900|     50|            fail = specialize_py_call((PyFunctionObject *)func, instr, nargs, true);
 1901|     50|        }
 1902|      0|        else {
 1903|      0|            SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_BOUND_METHOD);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1904|      0|            fail = -1;
 1905|      0|        }
 1906|     50|    }
 1907|     17|    else {
 1908|     17|        specialize(instr, CALL_NON_PY_GENERAL);
  ------------------
  |  |  165|     17|#define CALL_NON_PY_GENERAL                    163
  ------------------
 1909|     17|        fail = 0;
 1910|     17|    }
 1911|  1.31k|    if (fail) {
  ------------------
  |  Branch (1911:9): [True: 0, False: 1.31k]
  ------------------
 1912|      0|        unspecialize(instr);
 1913|      0|    }
 1914|  1.31k|}
_Py_Specialize_CallKw:
 1918|     53|{
 1919|     53|    PyObject *callable = PyStackRef_AsPyObjectBorrow(callable_st);
 1920|       |
 1921|     53|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (1921:5): [True: 53, Folded]
  ------------------
 1922|     53|    assert(_PyOpcode_Caches[CALL_KW] == INLINE_CACHE_ENTRIES_CALL_KW);
  ------------------
  |  Branch (1922:5): [True: 53, False: 0]
  ------------------
 1923|     53|    assert(_Py_OPCODE(*instr) != INSTRUMENTED_CALL_KW);
  ------------------
  |  Branch (1923:5): [True: 53, False: 0]
  ------------------
 1924|     53|    int fail;
 1925|     53|    if (PyFunction_Check(callable)) {
  ------------------
  |  |   68|     53|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|     53|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     53|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     53|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 10, False: 43]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1926|     10|        fail = specialize_py_call_kw((PyFunctionObject *)callable, instr, nargs, false);
 1927|     10|    }
 1928|     43|    else if (PyMethod_Check(callable)) {
  ------------------
  |  |   22|     43|#define PyMethod_Check(op) Py_IS_TYPE((op), &PyMethod_Type)
  |  |  ------------------
  |  |  |  |  215|     43|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 43]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1929|      0|        PyObject *func = ((PyMethodObject *)callable)->im_func;
 1930|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1931|      0|            fail = specialize_py_call_kw((PyFunctionObject *)func, instr, nargs, true);
 1932|      0|        }
 1933|      0|        else {
 1934|      0|            SPECIALIZATION_FAIL(CALL_KW, SPEC_FAIL_CALL_BOUND_METHOD);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1935|      0|            fail = -1;
 1936|      0|        }
 1937|      0|    }
 1938|     43|    else {
 1939|     43|        specialize(instr, CALL_KW_NON_PY);
  ------------------
  |  |  157|     43|#define CALL_KW_NON_PY                         155
  ------------------
 1940|     43|        fail = 0;
 1941|     43|    }
 1942|     53|    if (fail) {
  ------------------
  |  Branch (1942:9): [True: 0, False: 53]
  ------------------
 1943|      0|        unspecialize(instr);
 1944|      0|    }
 1945|     53|}
_Py_Specialize_BinaryOp:
 2344|   176k|{
 2345|   176k|    PyObject *lhs = PyStackRef_AsPyObjectBorrow(lhs_st);
 2346|   176k|    PyObject *rhs = PyStackRef_AsPyObjectBorrow(rhs_st);
 2347|   176k|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2347:5): [True: 176k, Folded]
  ------------------
 2348|   176k|    assert(_PyOpcode_Caches[BINARY_OP] == INLINE_CACHE_ENTRIES_BINARY_OP);
  ------------------
  |  Branch (2348:5): [True: 176k, False: 0]
  ------------------
 2349|       |
 2350|   176k|    _PyBinaryOpCache *cache = (_PyBinaryOpCache *)(instr + 1);
 2351|   176k|    if (instr->op.code == BINARY_OP_EXTEND) {
  ------------------
  |  |  134|   176k|#define BINARY_OP_EXTEND                       132
  ------------------
  |  Branch (2351:9): [True: 0, False: 176k]
  ------------------
 2352|      0|        write_ptr(cache->external_cache, NULL);
 2353|      0|    }
 2354|       |
 2355|   176k|    switch (oparg) {
  ------------------
  |  Branch (2355:13): [True: 176k, False: 449]
  ------------------
 2356|    119|        case NB_ADD:
  ------------------
  |  |   10|    119|#define NB_ADD                                   0
  ------------------
  |  Branch (2356:9): [True: 119, False: 176k]
  ------------------
 2357|    328|        case NB_INPLACE_ADD:
  ------------------
  |  |   23|    328|#define NB_INPLACE_ADD                          13
  ------------------
  |  Branch (2357:9): [True: 209, False: 176k]
  ------------------
 2358|    328|            if (!Py_IS_TYPE(lhs, Py_TYPE(rhs))) {
  ------------------
  |  |  215|    328|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    328|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    328|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2358:17): [True: 3, False: 325]
  ------------------
 2359|      3|                break;
 2360|      3|            }
 2361|    325|            if (PyUnicode_CheckExact(lhs)) {
  ------------------
  |  |  104|    325|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    325|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    325|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    325|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 32, False: 293]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2362|     32|                _Py_CODEUNIT next = instr[INLINE_CACHE_ENTRIES_BINARY_OP + 1];
  ------------------
  |  |   81|     32|#define INLINE_CACHE_ENTRIES_BINARY_OP CACHE_ENTRIES(_PyBinaryOpCache)
  |  |  ------------------
  |  |  |  |   65|     32|#define CACHE_ENTRIES(cache) (sizeof(cache)/sizeof(_Py_CODEUNIT))
  |  |  ------------------
  ------------------
 2363|     32|                bool to_store = (next.op.code == STORE_FAST);
  ------------------
  |  |  121|     32|#define STORE_FAST                             108
  ------------------
 2364|     32|                if (to_store && PyStackRef_AsPyObjectBorrow(locals[next.op.arg]) == lhs) {
  ------------------
  |  Branch (2364:21): [True: 7, False: 25]
  |  Branch (2364:33): [True: 4, False: 3]
  ------------------
 2365|      4|                    specialize(instr, BINARY_OP_INPLACE_ADD_UNICODE);
  ------------------
  |  |   16|      4|#define BINARY_OP_INPLACE_ADD_UNICODE            3
  ------------------
 2366|      4|                    return;
 2367|      4|                }
 2368|     28|                specialize(instr, BINARY_OP_ADD_UNICODE);
  ------------------
  |  |  133|     28|#define BINARY_OP_ADD_UNICODE                  131
  ------------------
 2369|     28|                return;
 2370|     32|            }
 2371|    293|            if (_PyLong_CheckExactAndCompact(lhs) && _PyLong_CheckExactAndCompact(rhs)) {
  ------------------
  |  Branch (2371:17): [True: 133, False: 160]
  |  Branch (2371:54): [True: 112, False: 21]
  ------------------
 2372|    112|                specialize(instr, BINARY_OP_ADD_INT);
  ------------------
  |  |  132|    112|#define BINARY_OP_ADD_INT                      130
  ------------------
 2373|    112|                return;
 2374|    112|            }
 2375|    181|            if (PyFloat_CheckExact(lhs)) {
  ------------------
  |  |   17|    181|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|    181|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    181|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    181|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 181]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2376|      0|                specialize(instr, BINARY_OP_ADD_FLOAT);
  ------------------
  |  |  131|      0|#define BINARY_OP_ADD_FLOAT                    129
  ------------------
 2377|      0|                return;
 2378|      0|            }
 2379|    181|            break;
 2380|    342|        case NB_MULTIPLY:
  ------------------
  |  |   15|    342|#define NB_MULTIPLY                              5
  ------------------
  |  Branch (2380:9): [True: 342, False: 176k]
  ------------------
 2381|    346|        case NB_INPLACE_MULTIPLY:
  ------------------
  |  |   28|    346|#define NB_INPLACE_MULTIPLY                     18
  ------------------
  |  Branch (2381:9): [True: 4, False: 176k]
  ------------------
 2382|    346|            if (!Py_IS_TYPE(lhs, Py_TYPE(rhs))) {
  ------------------
  |  |  215|    346|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    346|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    346|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2382:17): [True: 7, False: 339]
  ------------------
 2383|      7|                break;
 2384|      7|            }
 2385|    339|            if (_PyLong_CheckExactAndCompact(lhs) && _PyLong_CheckExactAndCompact(rhs)) {
  ------------------
  |  Branch (2385:17): [True: 215, False: 124]
  |  Branch (2385:54): [True: 80, False: 135]
  ------------------
 2386|     80|                specialize(instr, BINARY_OP_MULTIPLY_INT);
  ------------------
  |  |  136|     80|#define BINARY_OP_MULTIPLY_INT                 134
  ------------------
 2387|     80|                return;
 2388|     80|            }
 2389|    259|            if (PyFloat_CheckExact(lhs)) {
  ------------------
  |  |   17|    259|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|    259|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    259|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    259|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 259]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2390|      0|                specialize(instr, BINARY_OP_MULTIPLY_FLOAT);
  ------------------
  |  |  135|      0|#define BINARY_OP_MULTIPLY_FLOAT               133
  ------------------
 2391|      0|                return;
 2392|      0|            }
 2393|    259|            break;
 2394|    259|        case NB_SUBTRACT:
  ------------------
  |  |   20|     59|#define NB_SUBTRACT                             10
  ------------------
  |  Branch (2394:9): [True: 59, False: 176k]
  ------------------
 2395|     61|        case NB_INPLACE_SUBTRACT:
  ------------------
  |  |   33|     61|#define NB_INPLACE_SUBTRACT                     23
  ------------------
  |  Branch (2395:9): [True: 2, False: 176k]
  ------------------
 2396|     61|            if (!Py_IS_TYPE(lhs, Py_TYPE(rhs))) {
  ------------------
  |  |  215|     61|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     61|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     61|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2396:17): [True: 4, False: 57]
  ------------------
 2397|      4|                break;
 2398|      4|            }
 2399|     57|            if (_PyLong_CheckExactAndCompact(lhs) && _PyLong_CheckExactAndCompact(rhs)) {
  ------------------
  |  Branch (2399:17): [True: 46, False: 11]
  |  Branch (2399:54): [True: 46, False: 0]
  ------------------
 2400|     46|                specialize(instr, BINARY_OP_SUBTRACT_INT);
  ------------------
  |  |  145|     46|#define BINARY_OP_SUBTRACT_INT                 143
  ------------------
 2401|     46|                return;
 2402|     46|            }
 2403|     11|            if (PyFloat_CheckExact(lhs)) {
  ------------------
  |  |   17|     11|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_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: 0, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2404|      0|                specialize(instr, BINARY_OP_SUBTRACT_FLOAT);
  ------------------
  |  |  144|      0|#define BINARY_OP_SUBTRACT_FLOAT               142
  ------------------
 2405|      0|                return;
 2406|      0|            }
 2407|     11|            break;
 2408|   175k|        case NB_SUBSCR:
  ------------------
  |  |   36|   175k|#define NB_SUBSCR                               26
  ------------------
  |  Branch (2408:9): [True: 175k, False: 1.18k]
  ------------------
 2409|   175k|            if (PyLong_CheckExact(rhs) && _PyLong_IsNonNegativeCompact((PyLongObject *)rhs)) {
  ------------------
  |  |   14|   175k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|   351k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   175k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   175k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 175k, False: 59]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2409:43): [True: 175k, False: 23]
  ------------------
 2410|   175k|                if (PyList_CheckExact(lhs)) {
  ------------------
  |  |   26|   175k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|   175k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   175k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   175k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 10, False: 175k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2411|     10|                    specialize(instr, BINARY_OP_SUBSCR_LIST_INT);
  ------------------
  |  |  139|     10|#define BINARY_OP_SUBSCR_LIST_INT              137
  ------------------
 2412|     10|                    return;
 2413|     10|                }
 2414|   175k|                if (PyTuple_CheckExact(lhs)) {
  ------------------
  |  |   28|   175k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|   175k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   175k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   175k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 43, False: 175k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2415|     43|                    specialize(instr, BINARY_OP_SUBSCR_TUPLE_INT);
  ------------------
  |  |  142|     43|#define BINARY_OP_SUBSCR_TUPLE_INT             140
  ------------------
 2416|     43|                    return;
 2417|     43|                }
 2418|   175k|                if (PyUnicode_CheckExact(lhs) && _PyLong_IsNonNegativeCompact((PyLongObject*)rhs)) {
  ------------------
  |  |  104|   175k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   351k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   175k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   175k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 175k, False: 110]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2418:50): [True: 175k, False: 0]
  ------------------
 2419|   175k|                    if (PyUnicode_IS_COMPACT_ASCII(lhs)) {
  ------------------
  |  |  241|   175k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   175k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   175k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (241:40): [True: 10, False: 175k]
  |  |  ------------------
  ------------------
 2420|     10|                        specialize(instr, BINARY_OP_SUBSCR_STR_INT);
  ------------------
  |  |  141|     10|#define BINARY_OP_SUBSCR_STR_INT               139
  ------------------
 2421|     10|                        return;
 2422|   175k|                    } else {
 2423|   175k|                        specialize(instr, BINARY_OP_SUBSCR_USTR_INT);
  ------------------
  |  |  143|   175k|#define BINARY_OP_SUBSCR_USTR_INT              141
  ------------------
 2424|   175k|                        return;
 2425|   175k|                    }
 2426|   175k|                }
 2427|   175k|            }
 2428|    192|            if (Py_TYPE(lhs)->tp_as_mapping != NULL &&
  ------------------
  |  |  213|    192|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    192|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    192|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2428:17): [True: 192, False: 0]
  ------------------
 2429|    192|                Py_TYPE(lhs)->tp_as_mapping->mp_subscript == _PyDict_Subscript)
  ------------------
  |  |  213|    192|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    192|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    192|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2429:17): [True: 33, False: 159]
  ------------------
 2430|     33|            {
 2431|     33|                specialize(instr, BINARY_OP_SUBSCR_DICT);
  ------------------
  |  |  137|     33|#define BINARY_OP_SUBSCR_DICT                  135
  ------------------
 2432|     33|                return;
 2433|     33|            }
 2434|    159|            if (PyList_CheckExact(lhs) && PySlice_Check(rhs)) {
  ------------------
  |  |   26|    159|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|    318|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    159|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    159|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 11, False: 148]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          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: 2, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2435|      2|                specialize(instr, BINARY_OP_SUBSCR_LIST_SLICE);
  ------------------
  |  |  140|      2|#define BINARY_OP_SUBSCR_LIST_SLICE            138
  ------------------
 2436|      2|                return;
 2437|      2|            }
 2438|    157|            unsigned int tp_version;
 2439|    157|            PyTypeObject *container_type = Py_TYPE(lhs);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2440|    157|            PyObject *descriptor = _PyType_LookupRefAndVersion(container_type, &_Py_ID(__getitem__), &tp_version);
  ------------------
  |  |  921|    157|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    157|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    157|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2441|    157|            if (descriptor && Py_TYPE(descriptor) == &PyFunction_Type &&
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2441:17): [True: 157, False: 0]
  |  Branch (2441:31): [True: 9, False: 148]
  ------------------
 2442|      9|                container_type->tp_flags & Py_TPFLAGS_HEAPTYPE)
  ------------------
  |  |  503|      9|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2442:17): [True: 9, False: 0]
  ------------------
 2443|      9|            {
 2444|      9|                PyFunctionObject *func = (PyFunctionObject *)descriptor;
 2445|      9|                PyCodeObject *fcode = (PyCodeObject *)func->func_code;
 2446|      9|                int kind = function_kind(fcode);
 2447|      9|                PyHeapTypeObject *ht = (PyHeapTypeObject *)container_type;
 2448|      9|                if (kind == SIMPLE_FUNCTION &&
  ------------------
  |  |  125|     18|#define SIMPLE_FUNCTION 0
  ------------------
  |  Branch (2448:21): [True: 9, False: 0]
  ------------------
 2449|      9|                    fcode->co_argcount == 2 &&
  ------------------
  |  Branch (2449:21): [True: 9, False: 0]
  ------------------
 2450|      9|                    _PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET()) && /* Don't specialize if PEP 523 is active */
  ------------------
  |  Branch (2450:21): [True: 9, False: 0]
  ------------------
 2451|      9|                    _PyType_CacheGetItemForSpecialization(ht, descriptor, (uint32_t)tp_version))
  ------------------
  |  Branch (2451:21): [True: 9, False: 0]
  ------------------
 2452|      9|                {
 2453|      9|                    specialize(instr, BINARY_OP_SUBSCR_GETITEM);
  ------------------
  |  |  138|      9|#define BINARY_OP_SUBSCR_GETITEM               136
  ------------------
 2454|      9|                    Py_DECREF(descriptor);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2455|      9|                    return;
 2456|      9|                }
 2457|      9|            }
 2458|    148|            Py_XDECREF(descriptor);
  ------------------
  |  |  524|    148|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    148|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    148|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2459|    148|            break;
 2460|   176k|    }
 2461|       |
 2462|  1.06k|    _PyBinaryOpSpecializationDescr *descr;
 2463|  1.06k|    if (binary_op_extended_specialization(lhs, rhs, oparg, &descr)) {
  ------------------
  |  Branch (2463:9): [True: 65, False: 997]
  ------------------
 2464|     65|        specialize(instr, BINARY_OP_EXTEND);
  ------------------
  |  |  134|     65|#define BINARY_OP_EXTEND                       132
  ------------------
 2465|     65|        write_ptr(cache->external_cache, (void*)descr);
 2466|     65|        return;
 2467|     65|    }
 2468|       |
 2469|    997|    SPECIALIZATION_FAIL(BINARY_OP, binary_op_fail_kind(oparg, lhs, rhs));
  ------------------
  |  |   43|    997|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2470|    997|    unspecialize(instr);
 2471|    997|    return;
 2472|  1.06k|}
_Py_Specialize_CompareOp:
 2513|  1.70k|{
 2514|  1.70k|    PyObject *lhs = PyStackRef_AsPyObjectBorrow(lhs_st);
 2515|  1.70k|    PyObject *rhs = PyStackRef_AsPyObjectBorrow(rhs_st);
 2516|  1.70k|    uint8_t specialized_op;
 2517|       |
 2518|  1.70k|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2518:5): [True: 1.70k, Folded]
  ------------------
 2519|  1.70k|    assert(_PyOpcode_Caches[COMPARE_OP] == INLINE_CACHE_ENTRIES_COMPARE_OP);
  ------------------
  |  Branch (2519:5): [True: 1.70k, False: 0]
  ------------------
 2520|       |    // All of these specializations compute boolean values, so they're all valid
 2521|       |    // regardless of the fifth-lowest oparg bit.
 2522|  1.70k|    if (Py_TYPE(lhs) != Py_TYPE(rhs)) {
  ------------------
  |  |  213|  1.70k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_TYPE(lhs) != Py_TYPE(rhs)) {
  ------------------
  |  |  213|  1.70k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2522:9): [True: 11, False: 1.69k]
  ------------------
 2523|     11|        SPECIALIZATION_FAIL(COMPARE_OP, compare_op_fail_kind(lhs, rhs));
  ------------------
  |  |   43|     11|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2524|     11|        goto failure;
 2525|     11|    }
 2526|  1.69k|    if (PyFloat_CheckExact(lhs)) {
  ------------------
  |  |   17|  1.69k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|  1.69k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1, False: 1.69k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2527|      1|        specialized_op = COMPARE_OP_FLOAT;
  ------------------
  |  |  171|      1|#define COMPARE_OP_FLOAT                       169
  ------------------
 2528|      1|        goto success;
 2529|      1|    }
 2530|  1.69k|    if (PyLong_CheckExact(lhs)) {
  ------------------
  |  |   14|  1.69k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  1.69k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 132, False: 1.55k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2531|    132|        if (_PyLong_IsCompact((PyLongObject *)lhs) && _PyLong_IsCompact((PyLongObject *)rhs)) {
  ------------------
  |  Branch (2531:13): [True: 105, False: 27]
  |  Branch (2531:55): [True: 103, False: 2]
  ------------------
 2532|    103|            specialized_op = COMPARE_OP_INT;
  ------------------
  |  |  172|    103|#define COMPARE_OP_INT                         170
  ------------------
 2533|    103|            goto success;
 2534|    103|        }
 2535|     29|        else {
 2536|     29|            SPECIALIZATION_FAIL(COMPARE_OP, SPEC_FAIL_COMPARE_OP_BIG_INT);
  ------------------
  |  |   43|     29|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2537|     29|            goto failure;
 2538|     29|        }
 2539|    132|    }
 2540|  1.55k|    if (PyUnicode_CheckExact(lhs)) {
  ------------------
  |  |  104|  1.55k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  1.55k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.54k, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2541|  1.54k|        int cmp = oparg >> 5;
 2542|  1.54k|        if (cmp != Py_EQ && cmp != Py_NE) {
  ------------------
  |  |  654|  3.08k|#define Py_EQ 2
  ------------------
                      if (cmp != Py_EQ && cmp != Py_NE) {
  ------------------
  |  |  655|  1.48k|#define Py_NE 3
  ------------------
  |  Branch (2542:13): [True: 1.48k, False: 64]
  |  Branch (2542:29): [True: 1.46k, False: 17]
  ------------------
 2543|  1.46k|            SPECIALIZATION_FAIL(COMPARE_OP, SPEC_FAIL_COMPARE_OP_STRING);
  ------------------
  |  |   43|  1.46k|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2544|  1.46k|            goto failure;
 2545|  1.46k|        }
 2546|     81|        else {
 2547|     81|            specialized_op = COMPARE_OP_STR;
  ------------------
  |  |  173|     81|#define COMPARE_OP_STR                         171
  ------------------
 2548|     81|            goto success;
 2549|     81|        }
 2550|  1.54k|    }
 2551|     14|    SPECIALIZATION_FAIL(COMPARE_OP, compare_op_fail_kind(lhs, rhs));
  ------------------
  |  |   43|     14|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2552|  1.51k|failure:
 2553|  1.51k|    unspecialize(instr);
 2554|  1.51k|    return;
 2555|    185|success:
 2556|    185|    specialize(instr, specialized_op);
 2557|    185|}
_Py_Specialize_UnpackSequence:
 2575|     67|{
 2576|     67|    PyObject *seq = PyStackRef_AsPyObjectBorrow(seq_st);
 2577|       |
 2578|     67|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2578:5): [True: 67, Folded]
  ------------------
 2579|     67|    assert(_PyOpcode_Caches[UNPACK_SEQUENCE] ==
  ------------------
  |  Branch (2579:5): [True: 67, False: 0]
  ------------------
 2580|     67|           INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE);
 2581|     67|    if (PyTuple_CheckExact(seq)) {
  ------------------
  |  |   28|     67|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|     67|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     67|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     67|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 67, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2582|     67|        if (PyTuple_GET_SIZE(seq) != oparg) {
  ------------------
  |  |   27|     67|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     67|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     67|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2582:13): [True: 0, False: 67]
  ------------------
 2583|      0|            SPECIALIZATION_FAIL(UNPACK_SEQUENCE, SPEC_FAIL_EXPECTED_ERROR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2584|      0|            unspecialize(instr);
 2585|      0|            return;
 2586|      0|        }
 2587|     67|        if (PyTuple_GET_SIZE(seq) == 2) {
  ------------------
  |  |   27|     67|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     67|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     67|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2587:13): [True: 58, False: 9]
  ------------------
 2588|     58|            specialize(instr, UNPACK_SEQUENCE_TWO_TUPLE);
  ------------------
  |  |  220|     58|#define UNPACK_SEQUENCE_TWO_TUPLE              218
  ------------------
 2589|     58|            return;
 2590|     58|        }
 2591|      9|        specialize(instr, UNPACK_SEQUENCE_TUPLE);
  ------------------
  |  |  219|      9|#define UNPACK_SEQUENCE_TUPLE                  217
  ------------------
 2592|      9|        return;
 2593|     67|    }
 2594|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2595|      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 (2595:13): [True: 0, False: 0]
  ------------------
 2596|      0|            SPECIALIZATION_FAIL(UNPACK_SEQUENCE, SPEC_FAIL_EXPECTED_ERROR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2597|      0|            unspecialize(instr);
 2598|      0|            return;
 2599|      0|        }
 2600|      0|        specialize(instr, UNPACK_SEQUENCE_LIST);
  ------------------
  |  |  218|      0|#define UNPACK_SEQUENCE_LIST                   216
  ------------------
 2601|      0|        return;
 2602|      0|    }
 2603|      0|    SPECIALIZATION_FAIL(UNPACK_SEQUENCE, unpack_sequence_fail_kind(seq));
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2604|      0|    unspecialize(instr);
 2605|      0|}
_Py_Specialize_ForIter:
 2682|    298|{
 2683|    298|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2683:5): [True: 298, Folded]
  ------------------
 2684|    298|    assert(_PyOpcode_Caches[FOR_ITER] == INLINE_CACHE_ENTRIES_FOR_ITER);
  ------------------
  |  Branch (2684:5): [True: 298, False: 0]
  ------------------
 2685|    298|    PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
 2686|    298|    PyTypeObject *tp = Py_TYPE(iter_o);
  ------------------
  |  |  213|    298|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    298|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    298|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2687|       |
 2688|    298|    if (PyStackRef_IsNull(null_or_index)) {
  ------------------
  |  |  482|    298|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  479|    298|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    298|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (482:32): [True: 174, False: 124]
  |  |  ------------------
  ------------------
 2689|    174|        if (tp == &PyRangeIter_Type) {
  ------------------
  |  Branch (2689:13): [True: 6, False: 168]
  ------------------
 2690|       |#ifdef Py_GIL_DISABLED
 2691|       |            // Only specialize for uniquely referenced iterators, so that we know
 2692|       |            // they're only referenced by this one thread. This is more limiting
 2693|       |            // than we need (even `it = iter(mylist); for item in it:` won't get
 2694|       |            // specialized) but we don't have a way to check whether we're the only
 2695|       |            // _thread_ who has access to the object.
 2696|       |            if (!_PyObject_IsUniquelyReferenced(iter_o)) {
 2697|       |                goto failure;
 2698|       |            }
 2699|       |#endif
 2700|      6|            specialize(instr, FOR_ITER_RANGE);
  ------------------
  |  |  178|      6|#define FOR_ITER_RANGE                         176
  ------------------
 2701|      6|            return;
 2702|      6|        }
 2703|    168|        else if (tp == &PyGen_Type && oparg <= SHRT_MAX) {
  ------------------
  |  Branch (2703:18): [True: 10, False: 158]
  |  Branch (2703:39): [True: 10, False: 0]
  ------------------
 2704|     10|            assert(instr[oparg + INLINE_CACHE_ENTRIES_FOR_ITER + 1].op.code == END_FOR  ||
  ------------------
  |  Branch (2704:13): [True: 10, False: 0]
  |  Branch (2704:13): [True: 0, False: 0]
  ------------------
 2705|     10|                instr[oparg + INLINE_CACHE_ENTRIES_FOR_ITER + 1].op.code == INSTRUMENTED_END_FOR
 2706|     10|            );
 2707|       |            /* Don't specialize if PEP 523 is active */
 2708|     10|            if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (2708:17): [True: 0, False: 10]
  ------------------
 2709|      0|                goto failure;
 2710|      0|            }
 2711|     10|            specialize(instr, FOR_ITER_GEN);
  ------------------
  |  |  176|     10|#define FOR_ITER_GEN                           174
  ------------------
 2712|     10|            return;
 2713|     10|        }
 2714|    174|    }
 2715|    124|    else {
 2716|    124|        if (tp->_tp_iteritem != NULL) {
  ------------------
  |  Branch (2716:13): [True: 124, False: 0]
  ------------------
 2717|    124|            if (tp == &PyList_Type) {
  ------------------
  |  Branch (2717:17): [True: 63, False: 61]
  ------------------
 2718|       |    #ifdef Py_GIL_DISABLED
 2719|       |                // Only specialize for lists owned by this thread or shared
 2720|       |                if (!_Py_IsOwnedByCurrentThread(iter_o) && !_PyObject_GC_IS_SHARED(iter_o)) {
 2721|       |                    goto failure;
 2722|       |                }
 2723|       |    #endif
 2724|     63|                specialize(instr, FOR_ITER_LIST);
  ------------------
  |  |  177|     63|#define FOR_ITER_LIST                          175
  ------------------
 2725|     63|                return;
 2726|     63|            }
 2727|     61|            else if (tp == &PyTuple_Type) {
  ------------------
  |  Branch (2727:22): [True: 51, False: 10]
  ------------------
 2728|     51|                specialize(instr, FOR_ITER_TUPLE);
  ------------------
  |  |  179|     51|#define FOR_ITER_TUPLE                         177
  ------------------
 2729|     51|                return;
 2730|     51|            }
 2731|    124|        }
 2732|     10|        specialize(instr, FOR_ITER_VIRTUAL);
  ------------------
  |  |  180|     10|#define FOR_ITER_VIRTUAL                       178
  ------------------
 2733|     10|        return;
 2734|    124|    }
 2735|    158|failure:
 2736|    158|    SPECIALIZATION_FAIL(FOR_ITER,
  ------------------
  |  |   43|    158|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2737|    158|                        _PySpecialization_ClassifyIterator(iter_o));
 2738|    158|    unspecialize(instr);
 2739|    158|}
_Py_Specialize_Send:
 2743|      2|{
 2744|      2|    PyObject *receiver = PyStackRef_AsPyObjectBorrow(receiver_st);
 2745|       |
 2746|      2|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2746:5): [True: 2, Folded]
  ------------------
 2747|      2|    assert(_PyOpcode_Caches[SEND] == INLINE_CACHE_ENTRIES_SEND);
  ------------------
  |  Branch (2747:5): [True: 2, False: 0]
  ------------------
 2748|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2749|      2|    if (tp == &PyGen_Type || tp == &PyCoro_Type) {
  ------------------
  |  Branch (2749:9): [True: 0, False: 2]
  |  Branch (2749:30): [True: 0, False: 2]
  ------------------
 2750|       |        /* Don't specialize if PEP 523 is active */
 2751|      0|        if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (2751:13): [True: 0, False: 0]
  ------------------
 2752|      0|            SPECIALIZATION_FAIL(SEND, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2753|      0|            goto failure;
 2754|      0|        }
 2755|      0|        specialize(instr, SEND_GEN);
  ------------------
  |  |  205|      0|#define SEND_GEN                               203
  ------------------
 2756|      0|        return;
 2757|      0|    }
 2758|      2|    if (tp->_tp_iteritem != NULL) {
  ------------------
  |  Branch (2758:9): [True: 2, False: 0]
  ------------------
 2759|      2|        specialize(instr, SEND_VIRTUAL);
  ------------------
  |  |  206|      2|#define SEND_VIRTUAL                           204
  ------------------
 2760|      2|        return;
 2761|      2|    }
 2762|      0|    if (tp == &_PyAsyncGenASend_Type) {
  ------------------
  |  Branch (2762:9): [True: 0, False: 0]
  ------------------
 2763|      0|        specialize(instr, SEND_ASYNC_GEN);
  ------------------
  |  |  204|      0|#define SEND_ASYNC_GEN                         202
  ------------------
 2764|      0|        return;
 2765|      0|    }
 2766|      0|    SPECIALIZATION_FAIL(SEND,
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2767|      0|                        _PySpecialization_ClassifyIterator(receiver));
 2768|      0|failure:
 2769|      0|    unspecialize(instr);
 2770|      0|}
_Py_Specialize_CallFunctionEx:
 2774|     18|{
 2775|     18|    PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
 2776|       |
 2777|     18|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2777:5): [True: 18, Folded]
  ------------------
 2778|     18|    assert(_PyOpcode_Caches[CALL_FUNCTION_EX] == INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX);
  ------------------
  |  Branch (2778:5): [True: 18, False: 0]
  ------------------
 2779|       |
 2780|     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 (2780:9): [True: 5, False: 13]
  ------------------
 2781|      5|        ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  ------------------
  |  Branch (2781:9): [True: 5, False: 0]
  ------------------
 2782|      5|        if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (2782:13): [True: 0, False: 5]
  ------------------
 2783|      0|            goto failure;
 2784|      0|        }
 2785|      5|        specialize(instr, CALL_EX_PY);
  ------------------
  |  |  154|      5|#define CALL_EX_PY                             152
  ------------------
 2786|      5|        return;
 2787|      5|    }
 2788|     13|    specialize(instr, CALL_EX_NON_PY_GENERAL);
  ------------------
  |  |  153|     13|#define CALL_EX_NON_PY_GENERAL                 151
  ------------------
 2789|     13|    return;
 2790|      0|failure:
 2791|      0|    unspecialize(instr);
 2792|      0|}
_Py_Specialize_ToBool:
 2843|    442|{
 2844|    442|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2844:5): [True: 442, Folded]
  ------------------
 2845|    442|    assert(_PyOpcode_Caches[TO_BOOL] == INLINE_CACHE_ENTRIES_TO_BOOL);
  ------------------
  |  Branch (2845:5): [True: 442, False: 0]
  ------------------
 2846|    442|    _PyToBoolCache *cache = (_PyToBoolCache *)(instr + 1);
 2847|    442|    PyObject *value = PyStackRef_AsPyObjectBorrow(value_o);
 2848|    442|    uint8_t specialized_op;
 2849|    442|    if (PyBool_Check(value)) {
  ------------------
  |  |   12|    442|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|    442|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    442|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    442|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 226, False: 216]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2850|    226|        specialized_op = TO_BOOL_BOOL;
  ------------------
  |  |  213|    226|#define TO_BOOL_BOOL                           211
  ------------------
 2851|    226|        goto success;
 2852|    226|    }
 2853|    216|    if (PyLong_CheckExact(value)) {
  ------------------
  |  |   14|    216|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    216|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    216|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    216|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 54, False: 162]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2854|     54|        specialized_op = TO_BOOL_INT;
  ------------------
  |  |  214|     54|#define TO_BOOL_INT                            212
  ------------------
 2855|     54|        goto success;
 2856|     54|    }
 2857|    162|    if (PyList_CheckExact(value)) {
  ------------------
  |  |   26|    162|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|    162|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    162|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 25, False: 137]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2858|     25|        specialized_op = TO_BOOL_LIST;
  ------------------
  |  |  215|     25|#define TO_BOOL_LIST                           213
  ------------------
 2859|     25|        goto success;
 2860|     25|    }
 2861|    137|    if (Py_IsNone(value)) {
  ------------------
  |  |  621|    137|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|    137|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 20, False: 117]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2862|     20|        specialized_op = TO_BOOL_NONE;
  ------------------
  |  |  216|     20|#define TO_BOOL_NONE                           214
  ------------------
 2863|     20|        goto success;
 2864|     20|    }
 2865|    117|    if (PyUnicode_CheckExact(value)) {
  ------------------
  |  |  104|    117|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    117|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    117|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    117|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 48, False: 69]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2866|     48|        specialized_op = TO_BOOL_STR;
  ------------------
  |  |  217|     48|#define TO_BOOL_STR                            215
  ------------------
 2867|     48|        goto success;
 2868|     48|    }
 2869|     69|    if (PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  213|     69|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     69|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     69|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|     69|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2869:9): [True: 8, False: 61]
  ------------------
 2870|      8|        unsigned int version = 0;
 2871|      8|        int err = _PyType_Validate(Py_TYPE(value), check_type_always_true, &version);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2872|      8|        if (err < 0) {
  ------------------
  |  Branch (2872:13): [True: 0, False: 8]
  ------------------
 2873|      0|            SPECIALIZATION_FAIL(TO_BOOL, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2874|      0|            goto failure;
 2875|      0|        }
 2876|      8|        else if (err > 0) {
  ------------------
  |  Branch (2876:18): [True: 6, False: 2]
  ------------------
 2877|      6|            SPECIALIZATION_FAIL(TO_BOOL, err);
  ------------------
  |  |   43|      6|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2878|      6|            goto failure;
 2879|      6|        }
 2880|       |
 2881|      8|        assert(err == 0);
  ------------------
  |  Branch (2881:9): [True: 2, False: 0]
  ------------------
 2882|      2|        assert(version);
  ------------------
  |  Branch (2882:9): [True: 2, False: 0]
  ------------------
 2883|      2|        write_u32(cache->version, version);
 2884|      2|        specialized_op = TO_BOOL_ALWAYS_TRUE;
  ------------------
  |  |  212|      2|#define TO_BOOL_ALWAYS_TRUE                    210
  ------------------
 2885|      2|        goto success;
 2886|      2|    }
 2887|       |
 2888|     61|    SPECIALIZATION_FAIL(TO_BOOL, to_bool_fail_kind(value));
  ------------------
  |  |   43|     61|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2889|     67|failure:
 2890|     67|    unspecialize(instr);
 2891|     67|    return;
 2892|    375|success:
 2893|    375|    specialize(instr, specialized_op);
 2894|    375|}
_Py_Specialize_ContainsOp:
 2917|    196|{
 2918|    196|    PyObject *value = PyStackRef_AsPyObjectBorrow(value_st);
 2919|       |
 2920|    196|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2920:5): [True: 196, Folded]
  ------------------
 2921|    196|    assert(_PyOpcode_Caches[CONTAINS_OP] == INLINE_CACHE_ENTRIES_COMPARE_OP);
  ------------------
  |  Branch (2921:5): [True: 196, False: 0]
  ------------------
 2922|    196|    if (PyAnyDict_CheckExact(value)) {
  ------------------
  |  |   41|    196|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|    196|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|    392|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    196|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    196|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 29, False: 167]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|    167|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|    167|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    167|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    167|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 167]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2923|     29|        specialize(instr, CONTAINS_OP_DICT);
  ------------------
  |  |  174|     29|#define CONTAINS_OP_DICT                       172
  ------------------
 2924|     29|        return;
 2925|     29|    }
 2926|    167|    if (PySet_CheckExact(value) || PyFrozenSet_CheckExact(value)) {
  ------------------
  |  |   35|    167|#define PySet_CheckExact(op) Py_IS_TYPE(op, &PySet_Type)
  |  |  ------------------
  |  |  |  |  215|    334|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    167|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    167|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 21, False: 146]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PySet_CheckExact(value) || PyFrozenSet_CheckExact(value)) {
  ------------------
  |  |   23|    146|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|    146|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    146|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    146|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 8, False: 138]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2927|     29|        specialize(instr, CONTAINS_OP_SET);
  ------------------
  |  |  175|     29|#define CONTAINS_OP_SET                        173
  ------------------
 2928|     29|        return;
 2929|     29|    }
 2930|       |
 2931|    138|    SPECIALIZATION_FAIL(CONTAINS_OP, containsop_fail_kind(value));
  ------------------
  |  |   43|    138|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2932|    138|    unspecialize(instr);
 2933|    138|    return;
 2934|    167|}
_Py_Specialize_GetIter:
 2938|    131|{
 2939|    131|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (2939:5): [True: 131, Folded]
  ------------------
 2940|    131|    PyTypeObject *tp = PyStackRef_TYPE(iterable);
 2941|    131|    if (tp->_tp_iteritem != NULL) {
  ------------------
  |  Branch (2941:9): [True: 92, False: 39]
  ------------------
 2942|     92|        specialize(instr, GET_ITER_VIRTUAL);
  ------------------
  |  |  182|     92|#define GET_ITER_VIRTUAL                       180
  ------------------
 2943|     92|        return;
 2944|     92|    }
 2945|     39|    if (tp->tp_iter == PyObject_SelfIter) {
  ------------------
  |  Branch (2945:9): [True: 16, False: 23]
  ------------------
 2946|     16|        specialize(instr, GET_ITER_SELF);
  ------------------
  |  |  181|     16|#define GET_ITER_SELF                          179
  ------------------
 2947|     16|        return;
 2948|     16|    }
 2949|     23|    SPECIALIZATION_FAIL(GET_ITER,
  ------------------
  |  |   43|     23|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2950|     23|        tp == &PyCoro_Type ? SPEC_FAIL_ITER_COROUTINE : SPEC_FAIL_OTHER);
 2951|     23|    unspecialize(instr);
 2952|     23|}
_Py_Specialize_Resume:
 2956|  1.72k|{
 2957|  1.72k|    if (tstate->tracing == 0 && instr->op.code == RESUME) {
  ------------------
  |  |  130|  1.72k|#define RESUME                                 128
  ------------------
  |  Branch (2957:9): [True: 1.72k, False: 0]
  |  Branch (2957:33): [True: 1.54k, False: 188]
  ------------------
 2958|  1.54k|        if (tstate->interp->jit) {
  ------------------
  |  Branch (2958:13): [True: 0, False: 1.54k]
  ------------------
 2959|      0|            PyCodeObject *co = (PyCodeObject *)PyStackRef_AsPyObjectBorrow(frame->f_executable);
 2960|      0|            if (co != NULL &&
  ------------------
  |  Branch (2960:17): [True: 0, False: 0]
  ------------------
 2961|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2962|      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 (2962:17): [True: 0, False: 0]
  ------------------
 2963|      0|                specialize(instr, RESUME_CHECK_JIT);
  ------------------
  |  |  203|      0|#define RESUME_CHECK_JIT                       201
  ------------------
 2964|      0|                set_counter((_Py_BackoffCounter *)instr + 1, initial_resume_backoff_counter(&tstate->interp->opt_config));
 2965|      0|                return;
 2966|      0|            }
 2967|      0|        }
 2968|  1.54k|        specialize(instr, RESUME_CHECK);
  ------------------
  |  |  202|  1.54k|#define RESUME_CHECK                           200
  ------------------
 2969|  1.54k|        return;
 2970|  1.54k|    }
 2971|    188|    unspecialize(instr);
 2972|    188|    return;
 2973|  1.72k|}
specialize.c:fixup_getiter:
   48|  3.06k|{
   49|       |    // Compiler can't know if types.coroutine() will be called,
   50|       |    // so fix up here
   51|  3.06k|    if (instruction->op.arg) {
  ------------------
  |  Branch (51:9): [True: 19, False: 3.04k]
  ------------------
   52|     19|        if (flags & (CO_COROUTINE | CO_ITERABLE_COROUTINE)) {
  ------------------
  |  |  131|     19|#define CO_COROUTINE            0x0080
  ------------------
                      if (flags & (CO_COROUTINE | CO_ITERABLE_COROUTINE)) {
  ------------------
  |  |  132|     19|#define CO_ITERABLE_COROUTINE   0x0100
  ------------------
  |  Branch (52:13): [True: 0, False: 19]
  ------------------
   53|      0|            instruction->op.arg = GET_ITER_YIELD_FROM_NO_CHECK;
  ------------------
  |  |   98|      0|#define GET_ITER_YIELD_FROM_NO_CHECK 2
  ------------------
   54|      0|        }
   55|     19|        else {
   56|     19|            instruction->op.arg = GET_ITER_YIELD_FROM_CORO_CHECK;
  ------------------
  |  |   99|     19|#define GET_ITER_YIELD_FROM_CORO_CHECK 3
  ------------------
   57|     19|        }
   58|     19|    }
   59|  3.06k|}
specialize.c:specialize:
  364|   182k|{
  365|   182k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (365:5): [True: 182k, False: 0]
  ------------------
  366|   182k|    if (!set_opcode(instr, specialized_opcode)) {
  ------------------
  |  Branch (366:9): [True: 0, False: 182k]
  ------------------
  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|   182k|    STAT_INC(_PyOpcode_Deopt[specialized_opcode], success);
  ------------------
  |  |   73|   182k|#define STAT_INC(opname, name) ((void)0)
  ------------------
  373|   182k|    set_counter((_Py_BackoffCounter *)instr + 1, adaptive_counter_cooldown());
  374|   182k|}
specialize.c:set_opcode:
  327|   186k|{
  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|   186k|    instr->op.code = opcode;
  342|   186k|    return 1;
  343|   186k|#endif
  344|   186k|}
specialize.c:unspecialize:
  378|  3.74k|{
  379|  3.74k|    assert(!PyErr_Occurred());
  ------------------
  |  Branch (379:5): [True: 3.74k, False: 0]
  ------------------
  380|  3.74k|    uint8_t opcode = FT_ATOMIC_LOAD_UINT8_RELAXED(instr->op.code);
  ------------------
  |  |  157|  3.74k|#define FT_ATOMIC_LOAD_UINT8_RELAXED(value) value
  ------------------
  381|  3.74k|    uint8_t generic_opcode = _PyOpcode_Deopt[opcode];
  382|  3.74k|    STAT_INC(generic_opcode, failure);
  ------------------
  |  |   73|  3.74k|#define STAT_INC(opname, name) ((void)0)
  ------------------
  383|  3.74k|    if (!set_opcode(instr, generic_opcode)) {
  ------------------
  |  Branch (383:9): [True: 0, False: 3.74k]
  ------------------
  384|      0|        SPECIALIZATION_FAIL(generic_opcode, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  385|      0|        return;
  386|      0|    }
  387|  3.74k|    _Py_BackoffCounter *counter = (_Py_BackoffCounter *)instr + 1;
  388|  3.74k|    _Py_BackoffCounter cur = load_counter(counter);
  389|  3.74k|    set_counter(counter, adaptive_counter_backoff(cur));
  390|  3.74k|}
specialize.c:load_counter:
  355|  3.74k|{
  356|  3.74k|    _Py_BackoffCounter result = {
  357|  3.74k|        .value_and_backoff =
  358|  3.74k|            FT_ATOMIC_LOAD_UINT16_RELAXED(counter->value_and_backoff)};
  ------------------
  |  |  158|  3.74k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  ------------------
  359|  3.74k|    return result;
  360|  3.74k|}
specialize.c:specialize_module_load_attr:
  451|    317|{
  452|    317|    PyModuleObject *m = (PyModuleObject *)owner;
  453|    317|    assert((Py_TYPE(owner)->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
  ------------------
  |  Branch (453:5): [True: 317, False: 0]
  ------------------
  454|    317|    PyDictObject *dict = (PyDictObject *)m->md_dict;
  455|    317|    if (dict == NULL) {
  ------------------
  |  Branch (455:9): [True: 0, False: 317]
  ------------------
  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|    317|    int result;
  460|    317|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|    317|    {
  ------------------
  461|    317|    result = specialize_module_load_attr_lock_held(dict, instr, name);
  462|    317|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    317|    }
  ------------------
  463|    317|    return result;
  464|    317|}
specialize.c:specialize_module_load_attr_lock_held:
  413|    317|{
  414|    317|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
  415|    317|    if (dict->ma_keys->dk_kind != DICT_KEYS_UNICODE) {
  ------------------
  |  Branch (415:9): [True: 0, False: 317]
  ------------------
  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|    317|    PyObject *value;
  420|    317|    Py_ssize_t index = _PyDict_LookupIndexAndValue(dict, name, &value);
  421|    317|    if (value != NULL && PyLazyImport_CheckExact(value)) {
  ------------------
  |  |   15|    303|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|    303|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    303|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    303|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 303]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (421:9): [True: 303, False: 14]
  ------------------
  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|    317|    assert(index != DKIX_ERROR);
  ------------------
  |  Branch (425:5): [True: 317, False: 0]
  ------------------
  426|    317|    if (index != (uint16_t)index) {
  ------------------
  |  Branch (426:9): [True: 14, False: 303]
  ------------------
  427|     14|        SPECIALIZATION_FAIL(LOAD_ATTR,
  ------------------
  |  |   43|     14|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  428|     14|                            index == DKIX_EMPTY ?
  429|     14|                            SPEC_FAIL_ATTR_MODULE_ATTR_NOT_FOUND :
  430|     14|                            SPEC_FAIL_OUT_OF_RANGE);
  431|     14|        return -1;
  432|     14|    }
  433|    303|    uint32_t keys_version = _PyDict_GetKeysVersionForCurrentState(
  434|    303|            _PyInterpreterState_GET(), dict);
  435|    303|    if (keys_version == 0) {
  ------------------
  |  Branch (435:9): [True: 0, False: 303]
  ------------------
  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|    303|    write_u32(cache->version, keys_version);
  443|    303|    cache->index = (uint16_t)index;
  444|    303|    specialize(instr, LOAD_ATTR_MODULE);
  ------------------
  |  |  192|    303|#define LOAD_ATTR_MODULE                       190
  ------------------
  445|    303|    return 0;
  446|    303|}
specialize.c:specialize_instance_load_attr:
  981|    984|{
  982|       |    // 0 is not a valid version
  983|    984|    PyObject *descr = NULL;
  984|    984|    unsigned int tp_version = 0;
  985|    984|    PyTypeObject *type = Py_TYPE(owner);
  ------------------
  |  |  213|    984|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    984|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    984|#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|    984|    DescriptorClassification kind = analyze_descriptor_load(type, name, &descr, &tp_version);
  990|    984|    uint32_t shared_keys_version = 0;
  991|    984|    bool shadow = instance_has_key(owner, name, &shared_keys_version);
  992|    984|    int result = do_specialize_instance_load_attr(owner, instr, name, shadow, shared_keys_version, kind, descr, tp_version);
  993|    984|    Py_XDECREF(descr);
  ------------------
  |  |  524|    984|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    984|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    984|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  994|    984|    return result;
  995|    984|}
specialize.c:analyze_descriptor_load:
  558|  1.11k|analyze_descriptor_load(PyTypeObject *type, PyObject *name, PyObject **descr, unsigned int *tp_version) {
  559|  1.11k|    bool has_getattr = false;
  560|  1.11k|    bool have_ga_version = false;
  561|  1.11k|    unsigned int ga_version;
  562|  1.11k|    getattrofunc getattro_slot = type->tp_getattro;
  563|  1.11k|    if (getattro_slot == PyObject_GenericGetAttr) {
  ------------------
  |  Branch (563:9): [True: 1.11k, False: 7]
  ------------------
  564|       |        /* Normal attribute lookup; */
  565|  1.11k|        has_getattr = false;
  566|  1.11k|    }
  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);
  ------------------
  |  |  921|      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__));
  ------------------
  |  |  921|      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|  1.11k|    unsigned int descr_version;
  608|  1.11k|    PyObject *descriptor = _PyType_LookupRefAndVersion(type, name, &descr_version);
  609|  1.11k|    *descr = descriptor;
  610|  1.11k|    *tp_version = have_ga_version ? ga_version : descr_version;
  ------------------
  |  Branch (610:19): [True: 0, False: 1.11k]
  ------------------
  611|  1.11k|    if (descriptor_is_class(descriptor, name)) {
  ------------------
  |  Branch (611:9): [True: 4, False: 1.10k]
  ------------------
  612|      4|        return DUNDER_CLASS;
  613|      4|    }
  614|  1.10k|    return classify_descriptor(descriptor, has_getattr);
  615|  1.11k|}
specialize.c:descriptor_is_class:
  552|  1.35k|{
  553|  1.35k|    return ((PyUnicode_CompareWithASCIIString(name, "__class__") == 0) &&
  ------------------
  |  Branch (553:13): [True: 4, False: 1.34k]
  ------------------
  554|      4|            (descriptor == _PyType_Lookup(&PyBaseObject_Type, name)));
  ------------------
  |  Branch (554:13): [True: 4, False: 0]
  ------------------
  555|  1.35k|}
specialize.c:classify_descriptor:
  510|  1.54k|{
  511|  1.54k|    if (descriptor == NULL) {
  ------------------
  |  Branch (511:9): [True: 566, False: 979]
  ------------------
  512|    566|        return ABSENT;
  513|    566|    }
  514|    979|    PyTypeObject *desc_cls = Py_TYPE(descriptor);
  ------------------
  |  |  213|    979|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    979|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    979|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  515|    979|    if (!(desc_cls->tp_flags & Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|    979|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (515:9): [True: 1, False: 978]
  ------------------
  516|      1|        return MUTABLE;
  517|      1|    }
  518|    978|    if (desc_cls->tp_descr_set) {
  ------------------
  |  Branch (518:9): [True: 166, False: 812]
  ------------------
  519|    166|        if (desc_cls == &PyMemberDescr_Type) {
  ------------------
  |  Branch (519:13): [True: 68, False: 98]
  ------------------
  520|     68|            PyMemberDescrObject *member = (PyMemberDescrObject *)descriptor;
  521|     68|            struct PyMemberDef *dmem = member->d_member;
  522|     68|            if (dmem->type == Py_T_OBJECT_EX || dmem->type == _Py_T_OBJECT) {
  ------------------
  |  |   75|    136|#define Py_T_OBJECT_EX 16
  ------------------
                          if (dmem->type == Py_T_OBJECT_EX || dmem->type == _Py_T_OBJECT) {
  ------------------
  |  |   59|     56|#define _Py_T_OBJECT   6  // Deprecated, use Py_T_OBJECT_EX instead
  ------------------
  |  Branch (522:17): [True: 12, False: 56]
  |  Branch (522:49): [True: 26, False: 30]
  ------------------
  523|     38|                return OBJECT_SLOT;
  524|     38|            }
  525|     30|            return OTHER_SLOT;
  526|     68|        }
  527|     98|        if (desc_cls == &PyProperty_Type) {
  ------------------
  |  Branch (527:13): [True: 12, False: 86]
  ------------------
  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|     12|            return has_getattr ? GETSET_OVERRIDDEN : PROPERTY;
  ------------------
  |  Branch (531:20): [True: 0, False: 12]
  ------------------
  532|     12|        }
  533|     86|        return OVERRIDING;
  534|     98|    }
  535|    812|    if (desc_cls->tp_descr_get) {
  ------------------
  |  Branch (535:9): [True: 732, False: 80]
  ------------------
  536|    732|        if (desc_cls->tp_flags & Py_TPFLAGS_METHOD_DESCRIPTOR) {
  ------------------
  |  |  534|    732|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (536:13): [True: 660, False: 72]
  ------------------
  537|    660|            return METHOD;
  538|    660|        }
  539|     72|        if (Py_IS_TYPE(descriptor, &PyClassMethodDescr_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: 6, False: 66]
  |  |  ------------------
  ------------------
  540|      6|            return BUILTIN_CLASSMETHOD;
  541|      6|        }
  542|     66|        if (Py_IS_TYPE(descriptor, &PyClassMethod_Type)) {
  ------------------
  |  |  215|     66|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     66|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     66|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 31, False: 35]
  |  |  ------------------
  ------------------
  543|     31|            return PYTHON_CLASSMETHOD;
  544|     31|        }
  545|     35|        return NON_OVERRIDING;
  546|     66|    }
  547|     80|    return NON_DESCRIPTOR;
  548|    812|}
specialize.c:instance_has_key:
  760|    984|{
  761|    984|    PyTypeObject *cls = Py_TYPE(obj);
  ------------------
  |  |  213|    984|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    984|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    984|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  762|    984|    if ((cls->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0) {
  ------------------
  |  |  482|    984|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (762:9): [True: 613, False: 371]
  ------------------
  763|    613|        return false;
  764|    613|    }
  765|    371|    if (cls->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|    371|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (765:9): [True: 347, False: 24]
  ------------------
  766|    347|        PyDictKeysObject *keys = ((PyHeapTypeObject *)cls)->ht_cached_keys;
  767|    347|        Py_ssize_t index =
  768|    347|            _PyDictKeys_StringLookupAndVersion(keys, name, shared_keys_version);
  769|    347|        return index >= 0;
  770|    347|    }
  771|     24|    PyDictObject *dict = _PyObject_GetManagedDict(obj);
  772|     24|    if (dict == NULL || !PyDict_CheckExact(dict)) {
  ------------------
  |  |   19|     24|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_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 (772:9): [True: 0, False: 24]
  |  Branch (772:25): [True: 0, False: 24]
  ------------------
  773|      0|        return false;
  774|      0|    }
  775|     24|    bool result;
  776|     24|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|     24|    {
  ------------------
  777|     24|    if (dict->ma_values) {
  ------------------
  |  Branch (777:9): [True: 24, False: 0]
  ------------------
  778|     24|        result = false;
  779|     24|    }
  780|      0|    else {
  781|      0|        result = (_PyDict_LookupIndex(dict, name) >= 0);
  782|      0|    }
  783|     24|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     24|    }
  ------------------
  784|     24|    return result;
  785|     24|}
specialize.c:do_specialize_instance_load_attr:
  791|    984|{
  792|    984|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
  793|    984|    PyTypeObject *type = Py_TYPE(owner);
  ------------------
  |  |  213|    984|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    984|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    984|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  794|    984|    if (tp_version == 0) {
  ------------------
  |  Branch (794:9): [True: 0, False: 984]
  ------------------
  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|    984|    uint8_t oparg = FT_ATOMIC_LOAD_UINT8_RELAXED(instr->op.arg);
  ------------------
  |  |  157|    984|#define FT_ATOMIC_LOAD_UINT8_RELAXED(value) value
  ------------------
  799|    984|    switch(kind) {
  ------------------
  |  Branch (799:12): [True: 984, False: 0]
  ------------------
  800|     13|        case OVERRIDING:
  ------------------
  |  Branch (800:9): [True: 13, False: 971]
  ------------------
  801|     13|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_OVERRIDING_DESCRIPTOR);
  ------------------
  |  |   43|     13|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  802|     13|            return -1;
  803|    632|        case METHOD:
  ------------------
  |  Branch (803:9): [True: 632, False: 352]
  ------------------
  804|    632|        {
  805|    632|            if (shadow) {
  ------------------
  |  Branch (805:17): [True: 0, False: 632]
  ------------------
  806|      0|                goto try_instance;
  807|      0|            }
  808|    632|            if (oparg & 1) {
  ------------------
  |  Branch (808:17): [True: 304, False: 328]
  ------------------
  809|    304|                if (specialize_attr_loadclassattr(owner, instr, name, descr,
  ------------------
  |  Branch (809:21): [True: 288, False: 16]
  ------------------
  810|    304|                                                  tp_version, kind, true,
  811|    304|                                                  shared_keys_version)) {
  812|    288|                    return 0;
  813|    288|                }
  814|     16|                else {
  815|     16|                    return -1;
  816|     16|                }
  817|    304|            }
  818|    328|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_METHOD);
  ------------------
  |  |   43|    328|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  819|    328|            return -1;
  820|    632|        }
  821|     10|        case PROPERTY:
  ------------------
  |  Branch (821:9): [True: 10, False: 974]
  ------------------
  822|     10|        {
  823|     10|            _PyLoadMethodCache *lm_cache = (_PyLoadMethodCache *)(instr + 1);
  824|     10|            assert(Py_TYPE(descr) == &PyProperty_Type);
  ------------------
  |  Branch (824:13): [True: 10, False: 0]
  ------------------
  825|     10|            PyObject *fget = ((_PyPropertyObject *)descr)->prop_get;
  826|     10|            if (fget == NULL) {
  ------------------
  |  Branch (826:17): [True: 0, False: 10]
  ------------------
  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|     10|            if (!Py_IS_TYPE(fget, &PyFunction_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 (830:17): [True: 0, False: 10]
  ------------------
  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|     10|            if (!function_check_args(fget, 1, LOAD_ATTR)) {
  ------------------
  |  |   89|     10|#define LOAD_ATTR                               76
  ------------------
  |  Branch (834:17): [True: 0, False: 10]
  ------------------
  835|      0|                return -1;
  836|      0|            }
  837|     10|            if (oparg & 1) {
  ------------------
  |  Branch (837:17): [True: 0, False: 10]
  ------------------
  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|     10|            if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (842:17): [True: 0, False: 10]
  ------------------
  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|     10|            uint32_t func_version = function_get_version(fget, LOAD_ATTR);
  ------------------
  |  |   89|     10|#define LOAD_ATTR                               76
  ------------------
  853|     10|            if (func_version == 0) {
  ------------------
  |  Branch (853:17): [True: 0, False: 10]
  ------------------
  854|      0|                return -1;
  855|      0|            }
  856|     10|            assert(tp_version != 0);
  ------------------
  |  Branch (856:13): [True: 10, False: 0]
  ------------------
  857|     10|            write_u32(lm_cache->type_version, tp_version);
  858|     10|            write_u32(lm_cache->keys_version, func_version);
  859|       |            /* borrowed */
  860|     10|            write_ptr(lm_cache->descr, fget);
  861|     10|            specialize(instr, LOAD_ATTR_PROPERTY);
  ------------------
  |  |  195|     10|#define LOAD_ATTR_PROPERTY                     193
  ------------------
  862|     10|            return 0;
  863|     10|        }
  864|     28|        case OBJECT_SLOT:
  ------------------
  |  Branch (864:9): [True: 28, False: 956]
  ------------------
  865|     28|        {
  866|     28|            PyMemberDescrObject *member = (PyMemberDescrObject *)descr;
  867|     28|            struct PyMemberDef *dmem = member->d_member;
  868|     28|            Py_ssize_t offset = dmem->offset;
  869|     28|            if (!PyObject_TypeCheck(owner, member->d_common.d_type)) {
  ------------------
  |  |  378|     28|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (869:17): [True: 0, False: 28]
  ------------------
  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|     28|            if (dmem->flags & _Py_AFTER_ITEMS) {
  ------------------
  |  |   89|     28|#  define _Py_AFTER_ITEMS      (1 << 4) // For internal use.
  ------------------
  |  Branch (873:17): [True: 0, False: 28]
  ------------------
  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|     28|            if (dmem->flags & Py_AUDIT_READ) {
  ------------------
  |  |   84|     28|#define Py_AUDIT_READ          (1 << 1) // Added in 3.10, harmless no-op before that
  ------------------
  |  Branch (877:17): [True: 0, False: 28]
  ------------------
  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|     28|            if (offset != (uint16_t)offset) {
  ------------------
  |  Branch (881:17): [True: 0, False: 28]
  ------------------
  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|     28|            assert(dmem->type == Py_T_OBJECT_EX || dmem->type == _Py_T_OBJECT);
  ------------------
  |  Branch (885:13): [True: 2, False: 26]
  |  Branch (885:13): [True: 26, False: 0]
  ------------------
  886|     28|            assert(offset > 0);
  ------------------
  |  Branch (886:13): [True: 28, False: 0]
  ------------------
  887|     28|            cache->index = (uint16_t)offset;
  888|     28|            write_u32(cache->version, tp_version);
  889|     28|            specialize(instr, LOAD_ATTR_SLOT);
  ------------------
  |  |  196|     28|#define LOAD_ATTR_SLOT                         194
  ------------------
  890|     28|            return 0;
  891|     28|        }
  892|      4|        case DUNDER_CLASS:
  ------------------
  |  Branch (892:9): [True: 4, False: 980]
  ------------------
  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|     30|        case OTHER_SLOT:
  ------------------
  |  Branch (901:9): [True: 30, False: 954]
  ------------------
  902|     30|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_NON_OBJECT_SLOT);
  ------------------
  |  |   43|     30|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  903|     30|            return -1;
  904|      1|        case MUTABLE:
  ------------------
  |  Branch (904:9): [True: 1, False: 983]
  ------------------
  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: 984]
  ------------------
  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: 984]
  ------------------
  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: 984]
  ------------------
  944|      0|        case PYTHON_CLASSMETHOD:
  ------------------
  |  Branch (944:9): [True: 0, False: 984]
  ------------------
  945|      6|        case NON_OVERRIDING:
  ------------------
  |  Branch (945:9): [True: 6, False: 978]
  ------------------
  946|      6|            if (shadow) {
  ------------------
  |  Branch (946:17): [True: 0, False: 6]
  ------------------
  947|      0|                goto try_instance;
  948|      0|            }
  949|      6|            return -1;
  950|     19|        case NON_DESCRIPTOR:
  ------------------
  |  Branch (950:9): [True: 19, False: 965]
  ------------------
  951|     19|            if (shadow) {
  ------------------
  |  Branch (951:17): [True: 0, False: 19]
  ------------------
  952|      0|                goto try_instance;
  953|      0|            }
  954|     19|            if ((oparg & 1) == 0) {
  ------------------
  |  Branch (954:17): [True: 19, False: 0]
  ------------------
  955|     19|                if (specialize_attr_loadclassattr(owner, instr, name, descr,
  ------------------
  |  Branch (955:21): [True: 17, False: 2]
  ------------------
  956|     19|                                                  tp_version, kind, false,
  957|     19|                                                  shared_keys_version)) {
  958|     17|                    return 0;
  959|     17|                }
  960|     19|            }
  961|      2|            return -1;
  962|    241|        case ABSENT:
  ------------------
  |  Branch (962:9): [True: 241, False: 743]
  ------------------
  963|    241|            if (shadow) {
  ------------------
  |  Branch (963:17): [True: 222, False: 19]
  ------------------
  964|    222|                goto try_instance;
  965|    222|            }
  966|     19|            set_counter((_Py_BackoffCounter*)instr + 1, adaptive_counter_cooldown());
  967|     19|            return 0;
  968|    984|    }
  969|    984|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  970|    222|try_instance:
  971|    222|    if (specialize_dict_access(owner, instr, type, kind, name, tp_version,
  ------------------
  |  Branch (971:9): [True: 222, False: 0]
  ------------------
  972|    222|                               LOAD_ATTR, LOAD_ATTR_INSTANCE_VALUE, LOAD_ATTR_WITH_HINT))
  ------------------
  |  |   89|    222|#define LOAD_ATTR                               76
  ------------------
                                             LOAD_ATTR, LOAD_ATTR_INSTANCE_VALUE, LOAD_ATTR_WITH_HINT))
  ------------------
  |  |  188|    222|#define LOAD_ATTR_INSTANCE_VALUE               186
  ------------------
                                             LOAD_ATTR, LOAD_ATTR_INSTANCE_VALUE, LOAD_ATTR_WITH_HINT))
  ------------------
  |  |  197|    222|#define LOAD_ATTR_WITH_HINT                    195
  ------------------
  973|    222|    {
  974|    222|        return 0;
  975|    222|    }
  976|      0|    return -1;
  977|    222|}
specialize.c:specialize_attr_loadclassattr:
 1268|    323|{
 1269|    323|    _PyLoadMethodCache *cache = (_PyLoadMethodCache *)(instr + 1);
 1270|    323|    PyTypeObject *owner_cls = Py_TYPE(owner);
  ------------------
  |  |  213|    323|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    323|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    323|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1271|       |
 1272|    323|    assert(descr != NULL);
  ------------------
  |  Branch (1272:5): [True: 323, False: 0]
  ------------------
 1273|    323|    assert((is_method && kind == METHOD) || (!is_method && kind == NON_DESCRIPTOR));
  ------------------
  |  Branch (1273:5): [True: 304, False: 19]
  |  Branch (1273:5): [True: 304, False: 0]
  |  Branch (1273:5): [True: 19, False: 0]
  |  Branch (1273:5): [True: 19, 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|    323|    unsigned long tp_flags = PyType_GetFlags(owner_cls);
 1283|    323|    if (tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|    323|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (1283:9): [True: 73, False: 250]
  ------------------
 1284|     73|        #ifndef Py_GIL_DISABLED
 1285|     73|        assert(_PyDictKeys_StringLookup(
  ------------------
  |  Branch (1285:9): [True: 73, False: 0]
  ------------------
 1286|     73|                   ((PyHeapTypeObject *)owner_cls)->ht_cached_keys, name) < 0);
 1287|     73|        #endif
 1288|     73|        if (shared_keys_version == 0) {
  ------------------
  |  Branch (1288:13): [True: 0, False: 73]
  ------------------
 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|     73|        specialize(instr, is_method ? LOAD_ATTR_METHOD_WITH_VALUES : LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES);
  ------------------
  |  |  191|     57|#define LOAD_ATTR_METHOD_WITH_VALUES           189
  ------------------
                      specialize(instr, is_method ? LOAD_ATTR_METHOD_WITH_VALUES : LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES);
  ------------------
  |  |  194|     89|#define LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES    192
  ------------------
  |  Branch (1292:27): [True: 57, False: 16]
  ------------------
 1293|     73|    }
 1294|    250|    else {
 1295|    250|        Py_ssize_t dictoffset;
 1296|    250|        if (tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|    250|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (1296:13): [True: 7, False: 243]
  ------------------
 1297|      7|            dictoffset = MANAGED_DICT_OFFSET;
  ------------------
  |  |  923|      7|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
 1298|      7|        }
 1299|    243|        else {
 1300|    243|            dictoffset = owner_cls->tp_dictoffset;
 1301|    243|            if (dictoffset < 0 || dictoffset > INT16_MAX + MANAGED_DICT_OFFSET) {
  ------------------
  |  |  923|    243|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  |  Branch (1301:17): [True: 0, False: 243]
  |  Branch (1301:35): [True: 0, False: 243]
  ------------------
 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|    243|        }
 1306|    250|        if (dictoffset == 0) {
  ------------------
  |  Branch (1306:13): [True: 231, False: 19]
  ------------------
 1307|    231|            specialize(instr, is_method ? LOAD_ATTR_METHOD_NO_DICT : LOAD_ATTR_NONDESCRIPTOR_NO_DICT);
  ------------------
  |  |  190|    230|#define LOAD_ATTR_METHOD_NO_DICT               188
  ------------------
                          specialize(instr, is_method ? LOAD_ATTR_METHOD_NO_DICT : LOAD_ATTR_NONDESCRIPTOR_NO_DICT);
  ------------------
  |  |  193|    232|#define LOAD_ATTR_NONDESCRIPTOR_NO_DICT        191
  ------------------
  |  Branch (1307:31): [True: 230, False: 1]
  ------------------
 1308|    231|        }
 1309|     19|        else if (is_method) {
  ------------------
  |  Branch (1309:18): [True: 17, False: 2]
  ------------------
 1310|     17|            PyObject **addr = (PyObject **)((char *)owner + dictoffset);
 1311|     17|            PyObject *dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*addr);
  ------------------
  |  |  150|     17|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1312|     17|            if (dict) {
  ------------------
  |  Branch (1312:17): [True: 16, False: 1]
  ------------------
 1313|     16|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_NOT_MANAGED_DICT);
  ------------------
  |  |   43|     16|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1314|     16|                return 0;
 1315|     16|            }
 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|      1|            dictoffset -= MANAGED_DICT_OFFSET;
  ------------------
  |  |  923|      1|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
 1320|      1|            assert(((uint16_t)dictoffset) == dictoffset);
  ------------------
  |  Branch (1320:13): [True: 1, False: 0]
  ------------------
 1321|      1|            cache->dict_offset = (uint16_t)dictoffset;
 1322|      1|            specialize(instr, LOAD_ATTR_METHOD_LAZY_DICT);
  ------------------
  |  |  189|      1|#define LOAD_ATTR_METHOD_LAZY_DICT             187
  ------------------
 1323|      1|        }
 1324|      2|        else {
 1325|      2|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_CLASS_ATTR_SIMPLE);
  ------------------
  |  |   43|      2|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1326|      2|            return 0;
 1327|      2|        }
 1328|    250|    }
 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|    305|    write_u32(cache->type_version, tp_version);
 1344|    305|    write_ptr(cache->descr, descr);
 1345|    305|    return 1;
 1346|    323|}
specialize.c:function_check_args:
 1488|     10|{
 1489|     10|    assert(Py_IS_TYPE(o, &PyFunction_Type));
  ------------------
  |  Branch (1489:5): [True: 10, False: 0]
  ------------------
 1490|     10|    PyFunctionObject *func = (PyFunctionObject *)o;
 1491|     10|    PyCodeObject *fcode = (PyCodeObject *)func->func_code;
 1492|     10|    int kind = function_kind(fcode);
 1493|     10|    if (kind != SIMPLE_FUNCTION) {
  ------------------
  |  |  125|     10|#define SIMPLE_FUNCTION 0
  ------------------
  |  Branch (1493:9): [True: 0, False: 10]
  ------------------
 1494|      0|        SPECIALIZATION_FAIL(opcode, kind);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1495|      0|        return false;
 1496|      0|    }
 1497|     10|    if (fcode->co_argcount != expected_argcount) {
  ------------------
  |  Branch (1497:9): [True: 0, False: 10]
  ------------------
 1498|      0|        SPECIALIZATION_FAIL(opcode, SPEC_FAIL_WRONG_NUMBER_ARGUMENTS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1499|      0|        return false;
 1500|      0|    }
 1501|     10|    return true;
 1502|     10|}
specialize.c:function_get_version:
 1507|     10|{
 1508|     10|    assert(Py_IS_TYPE(o, &PyFunction_Type));
  ------------------
  |  Branch (1508:5): [True: 10, False: 0]
  ------------------
 1509|     10|    PyFunctionObject *func = (PyFunctionObject *)o;
 1510|     10|    uint32_t version = _PyFunction_GetVersionForCurrentState(func);
 1511|     10|    if (!_PyFunction_IsVersionValid(version)) {
  ------------------
  |  Branch (1511:9): [True: 0, False: 10]
  ------------------
 1512|      0|        SPECIALIZATION_FAIL(opcode, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1513|      0|        return 0;
 1514|      0|    }
 1515|     10|    return version;
 1516|     10|}
specialize.c:analyze_descriptor_store:
  619|    255|{
  620|    255|    if (type->tp_setattro != PyObject_GenericSetAttr) {
  ------------------
  |  Branch (620:9): [True: 14, False: 241]
  ------------------
  621|     14|        *descr = NULL;
  622|     14|        return GETSET_OVERRIDDEN;
  623|     14|    }
  624|    241|    PyObject *descriptor = _PyType_LookupRefAndVersion(type, name, tp_version);
  625|    241|    *descr = descriptor;
  626|    241|    if (descriptor_is_class(descriptor, name)) {
  ------------------
  |  Branch (626:9): [True: 0, False: 241]
  ------------------
  627|      0|        return DUNDER_CLASS;
  628|      0|    }
  629|    241|    return classify_descriptor(descriptor, false);
  630|    241|}
specialize.c:specialize_dict_access:
  700|    437|{
  701|    437|    assert(kind == NON_OVERRIDING || kind == NON_DESCRIPTOR || kind == ABSENT ||
  ------------------
  |  Branch (701:5): [True: 0, False: 437]
  |  Branch (701:5): [True: 0, False: 437]
  |  Branch (701:5): [True: 437, False: 0]
  |  Branch (701:5): [True: 0, False: 0]
  |  Branch (701:5): [True: 0, False: 0]
  |  Branch (701:5): [True: 0, False: 0]
  ------------------
  702|    437|        kind == BUILTIN_CLASSMETHOD || kind == PYTHON_CLASSMETHOD ||
  703|    437|        kind == METHOD);
  704|       |    // No descriptor, or non overriding.
  705|    437|    if ((type->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0) {
  ------------------
  |  |  482|    437|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (705:9): [True: 7, False: 430]
  ------------------
  706|      7|        SPECIALIZATION_FAIL(base_op, SPEC_FAIL_ATTR_NOT_MANAGED_DICT);
  ------------------
  |  |   43|      7|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  707|      7|        return 0;
  708|      7|    }
  709|    430|    if (type->tp_flags & Py_TPFLAGS_INLINE_VALUES &&
  ------------------
  |  |  472|    860|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (709:9): [True: 393, False: 37]
  ------------------
  710|    393|        FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner)->valid) &&
  ------------------
  |  |  154|    823|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (154:37): [True: 393, False: 0]
  |  |  ------------------
  ------------------
  711|    393|        !(base_op == STORE_ATTR && _PyObject_GetManagedDict(owner) != NULL))
  ------------------
  |  |  119|    786|#define STORE_ATTR                             106
  ------------------
  |  Branch (711:11): [True: 171, False: 222]
  |  Branch (711:36): [True: 0, False: 171]
  ------------------
  712|    393|    {
  713|    393|        int res;
  714|    393|        Py_BEGIN_CRITICAL_SECTION(owner);
  ------------------
  |  |   51|    393|    {
  ------------------
  715|    393|        PyDictObject *dict = _PyObject_GetManagedDict(owner);
  716|    393|        if (dict == NULL) {
  ------------------
  |  Branch (716:13): [True: 393, False: 0]
  ------------------
  717|       |            // managed dict, not materialized, inline values valid
  718|    393|            res = specialize_dict_access_inline(owner, instr, type, name,
  719|    393|                                                tp_version, base_op, values_op);
  720|    393|        }
  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|    393|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    393|    }
  ------------------
  727|    393|        return res;
  728|    393|    }
  729|     37|    else {
  730|     37|        PyDictObject *dict = _PyObject_GetManagedDict(owner);
  731|     37|        if (dict == NULL || !PyDict_CheckExact(dict)) {
  ------------------
  |  |   19|     28|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|     28|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     28|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     28|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (731:13): [True: 9, False: 28]
  |  Branch (731:29): [True: 0, False: 28]
  ------------------
  732|      9|            SPECIALIZATION_FAIL(base_op, SPEC_FAIL_NO_DICT);
  ------------------
  |  |   43|      9|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  733|      9|            return 0;
  734|      9|        }
  735|     28|        int res;
  736|     28|        Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|     28|    {
  ------------------
  737|       |        // materialized managed dict
  738|     28|        res = specialize_dict_access_hint(dict, instr, type, name,
  739|     28|                                          tp_version, base_op, hint_op);
  740|     28|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     28|    }
  ------------------
  741|     28|        return res;
  742|     37|    }
  743|    430|}
specialize.c:specialize_dict_access_inline:
  637|    393|{
  638|    393|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
  639|    393|    PyDictKeysObject *keys = ((PyHeapTypeObject *)type)->ht_cached_keys;
  640|    393|    assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (640:5): [True: 393, False: 0]
  ------------------
  641|    393|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(owner);
  642|    393|    Py_ssize_t index = _PyDictKeys_StringLookupSplit(keys, name);
  643|    393|    assert (index != DKIX_ERROR);
  ------------------
  |  Branch (643:5): [True: 393, False: 0]
  ------------------
  644|    393|    if (index == DKIX_EMPTY) {
  ------------------
  |  |  185|    393|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (644:9): [True: 0, False: 393]
  ------------------
  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|    393|    assert(index >= 0);
  ------------------
  |  Branch (648:5): [True: 393, False: 0]
  ------------------
  649|    393|    assert(_PyObject_InlineValues(owner)->valid);
  ------------------
  |  Branch (649:5): [True: 393, False: 0]
  ------------------
  650|    393|    char *value_addr = (char *)&_PyObject_InlineValues(owner)->values[index];
  651|    393|    Py_ssize_t offset = value_addr - (char *)owner;
  652|    393|    if (offset != (uint16_t)offset) {
  ------------------
  |  Branch (652:9): [True: 0, False: 393]
  ------------------
  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|    393|    cache->index = (uint16_t)offset;
  657|    393|    write_u32(cache->version, tp_version);
  658|    393|    specialize(instr, values_op);
  659|    393|    return 1;
  660|    393|}
specialize.c:specialize_dict_access_hint:
  667|     28|{
  668|     28|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
  669|       |
  670|     28|    _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|     28|    if (_PyDict_HasSplitTable(dict)) {
  ------------------
  |  |   56|     28|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 28, False: 0]
  |  |  ------------------
  ------------------
  677|     28|        SPECIALIZATION_FAIL(base_op, SPEC_FAIL_ATTR_SPLIT_DICT);
  ------------------
  |  |   43|     28|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  678|     28|        return 0;
  679|     28|    }
  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|    196|{
 1173|    196|    assert(PyType_Check(owner));
  ------------------
  |  Branch (1173:5): [True: 196, False: 0]
  ------------------
 1174|    196|    PyTypeObject *cls = (PyTypeObject *)owner;
 1175|    196|    _PyLoadMethodCache *cache = (_PyLoadMethodCache *)(instr + 1);
 1176|    196|    if (Py_TYPE(cls)->tp_getattro != _Py_type_getattro) {
  ------------------
  |  |  213|    196|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    196|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    196|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1176:9): [True: 0, False: 196]
  ------------------
 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|    196|    unsigned int meta_version = 0;
 1181|    196|    PyObject *metadescriptor = _PyType_LookupRefAndVersion(Py_TYPE(cls), name, &meta_version);
  ------------------
  |  |  213|    196|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    196|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    196|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1182|    196|    DescriptorClassification metakind = classify_descriptor(metadescriptor, false);
 1183|    196|    Py_XDECREF(metadescriptor);
  ------------------
  |  |  524|    196|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    196|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    196|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1184|    196|    switch (metakind) {
 1185|     14|        case METHOD:
  ------------------
  |  Branch (1185:9): [True: 14, False: 182]
  ------------------
 1186|     23|        case NON_DESCRIPTOR:
  ------------------
  |  Branch (1186:9): [True: 9, False: 187]
  ------------------
 1187|     29|        case NON_OVERRIDING:
  ------------------
  |  Branch (1187:9): [True: 6, False: 190]
  ------------------
 1188|     29|        case BUILTIN_CLASSMETHOD:
  ------------------
  |  Branch (1188:9): [True: 0, False: 196]
  ------------------
 1189|     29|        case PYTHON_CLASSMETHOD:
  ------------------
  |  Branch (1189:9): [True: 0, False: 196]
  ------------------
 1190|    135|        case ABSENT:
  ------------------
  |  Branch (1190:9): [True: 106, False: 90]
  ------------------
 1191|    135|            break;
 1192|     61|        default:
  ------------------
  |  Branch (1192:9): [True: 61, False: 135]
  ------------------
 1193|     61|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_METACLASS_ATTRIBUTE);
  ------------------
  |  |   43|     61|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1194|     61|            return -1;
 1195|    196|    }
 1196|    135|    PyObject *descr = NULL;
 1197|    135|    DescriptorClassification kind = 0;
 1198|    135|    unsigned int tp_version = 0;
 1199|    135|    kind = analyze_descriptor_load(cls, name, &descr, &tp_version);
 1200|    135|    if (tp_version == 0) {
  ------------------
  |  Branch (1200:9): [True: 0, False: 135]
  ------------------
 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|    135|    bool metaclass_check = false;
 1206|    135|    if ((Py_TYPE(cls)->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) == 0) {
  ------------------
  |  |  213|    135|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    135|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    135|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if ((Py_TYPE(cls)->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) == 0) {
  ------------------
  |  |  500|    135|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1206:9): [True: 50, False: 85]
  ------------------
 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|    135|    switch (kind) {
 1215|      0|        case MUTABLE:
  ------------------
  |  Branch (1215:9): [True: 0, False: 135]
  ------------------
 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|     14|        case METHOD:
  ------------------
  |  Branch (1229:9): [True: 14, False: 121]
  ------------------
 1230|     64|        case NON_DESCRIPTOR:
  ------------------
  |  Branch (1230:9): [True: 50, False: 85]
  ------------------
 1231|       |#ifdef Py_GIL_DISABLED
 1232|       |            maybe_enable_deferred_ref_count(descr);
 1233|       |#endif
 1234|     64|            write_ptr(cache->descr, descr);
 1235|     64|            if (metaclass_check) {
  ------------------
  |  Branch (1235:17): [True: 37, False: 27]
  ------------------
 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|     27|            else {
 1241|     27|                write_u32(cache->type_version, tp_version);
 1242|     27|                specialize(instr, LOAD_ATTR_CLASS);
  ------------------
  |  |  185|     27|#define LOAD_ATTR_CLASS                        183
  ------------------
 1243|     27|            }
 1244|     64|            Py_XDECREF(descr);
  ------------------
  |  |  524|     64|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1245|     64|            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|     71|        default:
  ------------------
  |  Branch (1252:9): [True: 71, False: 64]
  ------------------
 1253|     71|            SPECIALIZATION_FAIL(LOAD_ATTR, load_attr_fail_kind(kind));
  ------------------
  |  |   43|     71|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1254|     71|            Py_XDECREF(descr);
  ------------------
  |  |  524|     71|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     71|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     71|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1255|     71|            return -1;
 1256|    135|    }
 1257|    135|}
specialize.c:specialize_load_global_lock_held:
 1352|  1.64k|{
 1353|  1.64k|    assert(ENABLE_SPECIALIZATION);
  ------------------
  |  Branch (1353:5): [True: 1.64k, Folded]
  ------------------
 1354|  1.64k|    assert(_PyOpcode_Caches[LOAD_GLOBAL] == INLINE_CACHE_ENTRIES_LOAD_GLOBAL);
  ------------------
  |  Branch (1354:5): [True: 1.64k, False: 0]
  ------------------
 1355|       |    /* Use inline cache */
 1356|  1.64k|    _PyLoadGlobalCache *cache = (_PyLoadGlobalCache *)(instr + 1);
 1357|  1.64k|    assert(PyUnicode_CheckExact(name));
  ------------------
  |  Branch (1357:5): [True: 1.64k, False: 0]
  ------------------
 1358|  1.64k|    if (!PyDict_CheckExact(globals)) {
  ------------------
  |  |   19|  1.64k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|  1.64k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1358:9): [True: 0, False: 1.64k]
  ------------------
 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.64k|    PyDictKeysObject * globals_keys = ((PyDictObject *)globals)->ma_keys;
 1363|  1.64k|    if (globals_keys->dk_kind != DICT_KEYS_UNICODE) {
  ------------------
  |  Branch (1363:9): [True: 0, False: 1.64k]
  ------------------
 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.64k|    PyObject *value;
 1368|  1.64k|    Py_ssize_t index = _PyDict_LookupIndexAndValue((PyDictObject *)globals, name, &value);
 1369|  1.64k|    if (index == DKIX_ERROR) {
  ------------------
  |  |  187|  1.64k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (1369:9): [True: 0, False: 1.64k]
  ------------------
 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.64k|    if (value != NULL && PyLazyImport_CheckExact(value)) {
  ------------------
  |  |   15|  1.04k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|  1.04k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 1.04k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1373:9): [True: 1.04k, False: 594]
  ------------------
 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.64k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1378|  1.64k|    if (index != DKIX_EMPTY) {
  ------------------
  |  |  185|  1.64k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1378:9): [True: 1.04k, False: 594]
  ------------------
 1379|  1.04k|        if (index != (uint16_t)index) {
  ------------------
  |  Branch (1379:13): [True: 0, False: 1.04k]
  ------------------
 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.04k|        uint32_t keys_version = _PyDict_GetKeysVersionForCurrentState(
 1384|  1.04k|                interp, (PyDictObject*) globals);
 1385|  1.04k|        if (keys_version == 0) {
  ------------------
  |  Branch (1385:13): [True: 0, False: 1.04k]
  ------------------
 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.04k|        if (keys_version != (uint16_t)keys_version) {
  ------------------
  |  Branch (1389:13): [True: 0, False: 1.04k]
  ------------------
 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.04k|        PyDict_Watch(MODULE_WATCHER_ID, globals);
  ------------------
  |  |  306|  1.04k|#define MODULE_WATCHER_ID       2
  ------------------
 1394|       |#ifdef Py_GIL_DISABLED
 1395|       |        maybe_enable_deferred_ref_count(value);
 1396|       |#endif
 1397|  1.04k|        cache->index = (uint16_t)index;
 1398|  1.04k|        cache->module_keys_version = (uint16_t)keys_version;
 1399|  1.04k|        specialize(instr, LOAD_GLOBAL_MODULE);
  ------------------
  |  |  199|  1.04k|#define LOAD_GLOBAL_MODULE                     197
  ------------------
 1400|  1.04k|        return;
 1401|  1.04k|    }
 1402|    594|    if (!PyDict_CheckExact(builtins)) {
  ------------------
  |  |   19|    594|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|    594|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    594|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    594|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1402:9): [True: 0, False: 594]
  ------------------
 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|    594|    PyDictKeysObject * builtin_keys = ((PyDictObject *)builtins)->ma_keys;
 1407|    594|    if (builtin_keys->dk_kind != DICT_KEYS_UNICODE) {
  ------------------
  |  Branch (1407:9): [True: 0, False: 594]
  ------------------
 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|    594|    index = _PyDict_LookupIndexAndValue((PyDictObject *)builtins, name, &value);
 1412|    594|    if (index == DKIX_ERROR) {
  ------------------
  |  |  187|    594|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (1412:9): [True: 0, False: 594]
  ------------------
 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|    594|    if (value != NULL && PyLazyImport_CheckExact(value)) {
  ------------------
  |  |   15|    594|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|    594|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    594|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    594|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 594]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1416:9): [True: 594, 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|    594|    if (index != (uint16_t)index) {
  ------------------
  |  Branch (1420:9): [True: 0, False: 594]
  ------------------
 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|    594|    uint32_t globals_version = _PyDict_GetKeysVersionForCurrentState(
 1425|    594|            interp, (PyDictObject*) globals);
 1426|    594|    if (globals_version == 0) {
  ------------------
  |  Branch (1426:9): [True: 0, False: 594]
  ------------------
 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|    594|    if (globals_version != (uint16_t)globals_version) {
  ------------------
  |  Branch (1430:9): [True: 0, False: 594]
  ------------------
 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|    594|    PyDict_Watch(MODULE_WATCHER_ID, globals);
  ------------------
  |  |  306|    594|#define MODULE_WATCHER_ID       2
  ------------------
 1435|    594|    uint32_t builtins_version = _PyDict_GetKeysVersionForCurrentState(
 1436|    594|            interp, (PyDictObject*) builtins);
 1437|    594|    if (builtins_version == 0) {
  ------------------
  |  Branch (1437:9): [True: 0, False: 594]
  ------------------
 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|    594|    if (builtins_version > UINT16_MAX) {
  ------------------
  |  Branch (1441:9): [True: 0, False: 594]
  ------------------
 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|    594|    PyDict_Watch(MODULE_WATCHER_ID, builtins);
  ------------------
  |  |  306|    594|#define MODULE_WATCHER_ID       2
  ------------------
 1446|    594|    cache->index = (uint16_t)index;
 1447|    594|    cache->module_keys_version = (uint16_t)globals_version;
 1448|    594|    cache->builtin_keys_version = (uint16_t)builtins_version;
 1449|    594|    specialize(instr, LOAD_GLOBAL_BUILTIN);
  ------------------
  |  |  198|    594|#define LOAD_GLOBAL_BUILTIN                    196
  ------------------
 1450|    594|    return;
 1451|      0|fail:
 1452|      0|    unspecialize(instr);
 1453|      0|}
specialize.c:specialize_c_call:
 1830|    475|{
 1831|    475|    if (PyCFunction_GET_FUNCTION(callable) == NULL) {
  ------------------
  |  |   43|    475|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|    475|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    475|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1831:9): [True: 0, False: 475]
  ------------------
 1832|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1833|      0|        return 1;
 1834|      0|    }
 1835|    475|    switch (PyCFunction_GET_FLAGS(callable) &
  ------------------
  |  |   57|    475|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|    475|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    475|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1836|    475|        (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |   95|    475|#define METH_VARARGS  0x0001
  ------------------
                      (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |  115|    475|#  define METH_FASTCALL  0x0080
  ------------------
                      (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |   98|    475|#define METH_NOARGS   0x0004
  ------------------
                      (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |   99|    475|#define METH_O        0x0008
  ------------------
 1837|    475|        METH_KEYWORDS | METH_METHOD)) {
  ------------------
  |  |   96|    475|#define METH_KEYWORDS 0x0002
  ------------------
                      METH_KEYWORDS | METH_METHOD)) {
  ------------------
  |  |  133|    475|#define METH_METHOD 0x0200
  ------------------
 1838|    189|        case METH_O: {
  ------------------
  |  |   99|    189|#define METH_O        0x0008
  ------------------
  |  Branch (1838:9): [True: 189, False: 286]
  ------------------
 1839|    189|            if (nargs != 1) {
  ------------------
  |  Branch (1839:17): [True: 0, False: 189]
  ------------------
 1840|      0|                SPECIALIZATION_FAIL(CALL, SPEC_FAIL_WRONG_NUMBER_ARGUMENTS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1841|      0|                return 1;
 1842|      0|            }
 1843|       |            /* len(o) */
 1844|    189|            PyInterpreterState *interp = _PyInterpreterState_GET();
 1845|    189|            if (callable == interp->callable_cache.len && instr->op.arg == 1) {
  ------------------
  |  Branch (1845:17): [True: 97, False: 92]
  |  Branch (1845:59): [True: 97, False: 0]
  ------------------
 1846|     97|                specialize(instr, CALL_LEN);
  ------------------
  |  |  159|     97|#define CALL_LEN                               157
  ------------------
 1847|     97|                return 0;
 1848|     97|            }
 1849|     92|            specialize(instr, CALL_BUILTIN_O);
  ------------------
  |  |  152|     92|#define CALL_BUILTIN_O                         150
  ------------------
 1850|     92|            return 0;
 1851|    189|        }
 1852|    202|        case METH_FASTCALL: {
  ------------------
  |  |  115|    202|#  define METH_FASTCALL  0x0080
  ------------------
  |  Branch (1852:9): [True: 202, False: 273]
  ------------------
 1853|    202|            if (nargs == 2) {
  ------------------
  |  Branch (1853:17): [True: 118, False: 84]
  ------------------
 1854|       |                /* isinstance(o1, o2) */
 1855|    118|                PyInterpreterState *interp = _PyInterpreterState_GET();
 1856|    118|                if (callable == interp->callable_cache.isinstance && instr->op.arg == 2) {
  ------------------
  |  Branch (1856:21): [True: 62, False: 56]
  |  Branch (1856:70): [True: 62, False: 0]
  ------------------
 1857|     62|                    specialize(instr, CALL_ISINSTANCE);
  ------------------
  |  |  155|     62|#define CALL_ISINSTANCE                        153
  ------------------
 1858|     62|                    return 0;
 1859|     62|                }
 1860|    118|            }
 1861|    140|            specialize(instr, CALL_BUILTIN_FAST);
  ------------------
  |  |  150|    140|#define CALL_BUILTIN_FAST                      148
  ------------------
 1862|    140|            return 0;
 1863|    202|        }
 1864|     55|        case METH_FASTCALL | METH_KEYWORDS: {
  ------------------
  |  |  115|     55|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_FASTCALL | METH_KEYWORDS: {
  ------------------
  |  |   96|     55|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (1864:9): [True: 55, False: 420]
  ------------------
 1865|     55|            specialize(instr, CALL_BUILTIN_FAST_WITH_KEYWORDS);
  ------------------
  |  |  151|     55|#define CALL_BUILTIN_FAST_WITH_KEYWORDS        149
  ------------------
 1866|     55|            return 0;
 1867|    202|        }
 1868|     29|        default:
  ------------------
  |  Branch (1868:9): [True: 29, False: 446]
  ------------------
 1869|     29|            specialize(instr, CALL_NON_PY_GENERAL);
  ------------------
  |  |  165|     29|#define CALL_NON_PY_GENERAL                    163
  ------------------
 1870|     29|            return 0;
 1871|    475|    }
 1872|    475|}
specialize.c:specialize_py_call:
 1758|    376|{
 1759|    376|    _PyCallCache *cache = (_PyCallCache *)(instr + 1);
 1760|    376|    PyCodeObject *code = (PyCodeObject *)func->func_code;
 1761|    376|    int kind = function_kind(code);
 1762|       |    /* Don't specialize if PEP 523 is active */
 1763|    376|    if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (1763:9): [True: 0, False: 376]
  ------------------
 1764|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_PEP_523);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1765|      0|        return -1;
 1766|      0|    }
 1767|    376|    if (func->vectorcall != _PyFunction_Vectorcall) {
  ------------------
  |  Branch (1767:9): [True: 0, False: 376]
  ------------------
 1768|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_VECTORCALL);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1769|      0|        return -1;
 1770|      0|    }
 1771|    376|    int argcount = -1;
 1772|    376|    if (kind == SPEC_FAIL_CODE_NOT_OPTIMIZED) {
  ------------------
  |  |  137|    376|#define SPEC_FAIL_CODE_NOT_OPTIMIZED 8
  ------------------
  |  Branch (1772:9): [True: 0, False: 376]
  ------------------
 1773|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CODE_NOT_OPTIMIZED);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1774|      0|        return -1;
 1775|      0|    }
 1776|    376|    if (kind == SIMPLE_FUNCTION) {
  ------------------
  |  |  125|    376|#define SIMPLE_FUNCTION 0
  ------------------
  |  Branch (1776:9): [True: 333, False: 43]
  ------------------
 1777|    333|        argcount = code->co_argcount;
 1778|    333|    }
 1779|    376|    int version = _PyFunction_GetVersionForCurrentState(func);
 1780|    376|    if (!_PyFunction_IsVersionValid(version)) {
  ------------------
  |  Branch (1780:9): [True: 0, False: 376]
  ------------------
 1781|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1782|      0|        return -1;
 1783|      0|    }
 1784|    376|    write_u32(cache->func_version, version);
 1785|    376|    uint8_t opcode;
 1786|    376|    if (argcount == nargs + bound_method) {
  ------------------
  |  Branch (1786:9): [True: 321, False: 55]
  ------------------
 1787|    321|        opcode =
 1788|    321|            bound_method ? CALL_BOUND_METHOD_EXACT_ARGS : CALL_PY_EXACT_ARGS;
  ------------------
  |  |  147|     48|#define CALL_BOUND_METHOD_EXACT_ARGS           145
  ------------------
                          bound_method ? CALL_BOUND_METHOD_EXACT_ARGS : CALL_PY_EXACT_ARGS;
  ------------------
  |  |  166|    594|#define CALL_PY_EXACT_ARGS                     164
  ------------------
  |  Branch (1788:13): [True: 48, False: 273]
  ------------------
 1789|    321|    }
 1790|     55|    else {
 1791|     55|        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|    108|#define CALL_PY_GENERAL                        165
  ------------------
  |  Branch (1791:18): [True: 2, False: 53]
  ------------------
 1792|     55|    }
 1793|    376|    specialize(instr, opcode);
 1794|    376|    return 0;
 1795|    376|}
specialize.c:specialize_class_call:
 1658|    182|{
 1659|    182|    assert(PyType_Check(callable));
  ------------------
  |  Branch (1659:5): [True: 182, False: 0]
  ------------------
 1660|    182|    PyTypeObject *tp = _PyType_CAST(callable);
  ------------------
  |  |  770|    182|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    182|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1660:24): [True: 182, False: 0]
  ------------------
 1661|    182|    if (tp->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|    182|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1661:9): [True: 114, False: 68]
  ------------------
 1662|    114|        int oparg = instr->op.arg;
 1663|    114|        if (nargs == 1 && oparg == 1) {
  ------------------
  |  Branch (1663:13): [True: 67, False: 47]
  |  Branch (1663:27): [True: 66, False: 1]
  ------------------
 1664|     66|            if (tp == &PyUnicode_Type) {
  ------------------
  |  Branch (1664:17): [True: 4, False: 62]
  ------------------
 1665|      4|                specialize(instr, CALL_STR_1);
  ------------------
  |  |  168|      4|#define CALL_STR_1                             166
  ------------------
 1666|      4|                return 0;
 1667|      4|            }
 1668|     62|            else if (tp == &PyType_Type) {
  ------------------
  |  Branch (1668:22): [True: 10, False: 52]
  ------------------
 1669|     10|                specialize(instr, CALL_TYPE_1);
  ------------------
  |  |  170|     10|#define CALL_TYPE_1                            168
  ------------------
 1670|     10|                return 0;
 1671|     10|            }
 1672|     52|            else if (tp == &PyTuple_Type) {
  ------------------
  |  Branch (1672:22): [True: 2, False: 50]
  ------------------
 1673|      2|                specialize(instr, CALL_TUPLE_1);
  ------------------
  |  |  169|      2|#define CALL_TUPLE_1                           167
  ------------------
 1674|      2|                return 0;
 1675|      2|            }
 1676|     66|        }
 1677|     98|        if (tp->tp_vectorcall != NULL) {
  ------------------
  |  Branch (1677:13): [True: 61, False: 37]
  ------------------
 1678|     61|            specialize(instr, CALL_BUILTIN_CLASS);
  ------------------
  |  |  149|     61|#define CALL_BUILTIN_CLASS                     147
  ------------------
 1679|     61|            return 0;
 1680|     61|        }
 1681|     37|        goto generic;
 1682|     98|    }
 1683|     68|    if (Py_TYPE(tp) != &PyType_Type) {
  ------------------
  |  |  213|     68|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1683:9): [True: 2, False: 66]
  ------------------
 1684|      2|        goto generic;
 1685|      2|    }
 1686|     66|    if (tp->tp_new == PyBaseObject_Type.tp_new) {
  ------------------
  |  Branch (1686:9): [True: 60, False: 6]
  ------------------
 1687|     60|        unsigned int tp_version = 0;
 1688|     60|        PyObject *init = get_init_for_simple_managed_python_class(tp, &tp_version);
 1689|     60|        if (!tp_version) {
  ------------------
  |  Branch (1689:13): [True: 0, False: 60]
  ------------------
 1690|      0|            SPECIALIZATION_FAIL(CALL, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1691|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1692|      0|            return -1;
 1693|      0|        }
 1694|     60|        if (init != NULL && _PyType_CacheInitForSpecialization(
  ------------------
  |  Branch (1694:13): [True: 16, False: 44]
  |  Branch (1694:29): [True: 16, False: 0]
  ------------------
 1695|     16|                                (PyHeapTypeObject *)tp, init, tp_version)) {
 1696|     16|            _PyCallCache *cache = (_PyCallCache *)(instr + 1);
 1697|     16|            write_u32(cache->func_version, tp_version);
 1698|     16|            specialize(instr, CALL_ALLOC_AND_ENTER_INIT);
  ------------------
  |  |  146|     16|#define CALL_ALLOC_AND_ENTER_INIT              144
  ------------------
 1699|     16|            Py_DECREF(init);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1700|     16|            return 0;
 1701|     16|        }
 1702|     44|        Py_XDECREF(init);
  ------------------
  |  |  524|     44|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1703|     44|    }
 1704|     89|generic:
 1705|     89|    specialize(instr, CALL_NON_PY_GENERAL);
  ------------------
  |  |  165|     89|#define CALL_NON_PY_GENERAL                    163
  ------------------
 1706|     89|    return 0;
 1707|     66|}
specialize.c:get_init_for_simple_managed_python_class:
 1629|     60|{
 1630|     60|    assert(tp->tp_new == PyBaseObject_Type.tp_new);
  ------------------
  |  Branch (1630:5): [True: 60, False: 0]
  ------------------
 1631|     60|    if (tp->tp_alloc != PyType_GenericAlloc) {
  ------------------
  |  Branch (1631:9): [True: 0, False: 60]
  ------------------
 1632|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_OVERRIDDEN);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1633|      0|        return NULL;
 1634|      0|    }
 1635|     60|    unsigned long tp_flags = PyType_GetFlags(tp);
 1636|     60|    if (!(tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|     60|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1636:9): [True: 0, False: 60]
  ------------------
 1637|       |        /* Is this possible? */
 1638|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_EXPECTED_ERROR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1639|      0|        return NULL;
 1640|      0|    }
 1641|     60|    PyObject *init = _PyType_LookupRefAndVersion(tp, &_Py_ID(__init__), tp_version);
  ------------------
  |  |  921|     60|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     60|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     60|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1642|     60|    if (init == NULL || !PyFunction_Check(init)) {
  ------------------
  |  |   68|     60|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|     60|#  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 (1642:9): [True: 0, False: 60]
  |  Branch (1642:25): [True: 42, False: 18]
  ------------------
 1643|     42|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_INIT_NOT_PYTHON);
  ------------------
  |  |   43|     42|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1644|     42|        Py_XDECREF(init);
  ------------------
  |  |  524|     42|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     42|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     42|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1645|     42|        return NULL;
 1646|     42|    }
 1647|     18|    int kind = function_kind((PyCodeObject *)PyFunction_GET_CODE(init));
  ------------------
  |  |   93|     18|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1648|     18|    if (kind != SIMPLE_FUNCTION) {
  ------------------
  |  |  125|     18|#define SIMPLE_FUNCTION 0
  ------------------
  |  Branch (1648:9): [True: 2, False: 16]
  ------------------
 1649|      2|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_INIT_NOT_SIMPLE);
  ------------------
  |  |   43|      2|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1650|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1651|      2|        return NULL;
 1652|      2|    }
 1653|     16|    return init;
 1654|     18|}
specialize.c:specialize_method_descriptor:
 1712|    260|{
 1713|    260|    switch (descr->d_method->ml_flags &
  ------------------
  |  Branch (1713:13): [True: 249, False: 11]
  ------------------
 1714|    260|        (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |   95|    260|#define METH_VARARGS  0x0001
  ------------------
                      (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |  115|    260|#  define METH_FASTCALL  0x0080
  ------------------
                      (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |   98|    260|#define METH_NOARGS   0x0004
  ------------------
                      (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |   99|    260|#define METH_O        0x0008
  ------------------
 1715|    260|        METH_KEYWORDS | METH_METHOD)) {
  ------------------
  |  |   96|    260|#define METH_KEYWORDS 0x0002
  ------------------
                      METH_KEYWORDS | METH_METHOD)) {
  ------------------
  |  |  133|    260|#define METH_METHOD 0x0200
  ------------------
 1716|     33|        case METH_NOARGS: {
  ------------------
  |  |   98|     33|#define METH_NOARGS   0x0004
  ------------------
  |  Branch (1716:9): [True: 33, False: 227]
  ------------------
 1717|     33|            if (nargs != 1) {
  ------------------
  |  Branch (1717:17): [True: 0, False: 33]
  ------------------
 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|     33|            specialize(instr, CALL_METHOD_DESCRIPTOR_NOARGS);
  ------------------
  |  |  163|     33|#define CALL_METHOD_DESCRIPTOR_NOARGS          161
  ------------------
 1722|     33|            return 0;
 1723|     33|        }
 1724|    100|        case METH_O: {
  ------------------
  |  |   99|    100|#define METH_O        0x0008
  ------------------
  |  Branch (1724:9): [True: 100, False: 160]
  ------------------
 1725|    100|            if (nargs != 2) {
  ------------------
  |  Branch (1725:17): [True: 0, False: 100]
  ------------------
 1726|      0|                SPECIALIZATION_FAIL(CALL, SPEC_FAIL_WRONG_NUMBER_ARGUMENTS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1727|      0|                return -1;
 1728|      0|            }
 1729|    100|            PyInterpreterState *interp = _PyInterpreterState_GET();
 1730|    100|            PyObject *list_append = interp->callable_cache.list_append;
 1731|    100|            int oparg = instr->op.arg;
 1732|    100|            if ((PyObject *)descr == list_append && oparg == 1) {
  ------------------
  |  Branch (1732:17): [True: 42, False: 58]
  |  Branch (1732:53): [True: 42, False: 0]
  ------------------
 1733|     42|                assert(self_or_null != NULL);
  ------------------
  |  Branch (1733:17): [True: 42, False: 0]
  ------------------
 1734|     42|                if (PyList_CheckExact(self_or_null)) {
  ------------------
  |  |   26|     42|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_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: 34, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1735|     34|                    specialize(instr, CALL_LIST_APPEND);
  ------------------
  |  |  160|     34|#define CALL_LIST_APPEND                       158
  ------------------
 1736|     34|                    return 0;
 1737|     34|                }
 1738|     42|            }
 1739|     66|            specialize(instr, CALL_METHOD_DESCRIPTOR_O);
  ------------------
  |  |  164|     66|#define CALL_METHOD_DESCRIPTOR_O               162
  ------------------
 1740|     66|            return 0;
 1741|    100|        }
 1742|     94|        case METH_FASTCALL: {
  ------------------
  |  |  115|     94|#  define METH_FASTCALL  0x0080
  ------------------
  |  Branch (1742:9): [True: 94, False: 166]
  ------------------
 1743|     94|            specialize(instr, CALL_METHOD_DESCRIPTOR_FAST);
  ------------------
  |  |  161|     94|#define CALL_METHOD_DESCRIPTOR_FAST            159
  ------------------
 1744|     94|            return 0;
 1745|    100|        }
 1746|     22|        case METH_FASTCALL | METH_KEYWORDS: {
  ------------------
  |  |  115|     22|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_FASTCALL | METH_KEYWORDS: {
  ------------------
  |  |   96|     22|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (1746:9): [True: 22, False: 238]
  ------------------
 1747|     22|            specialize(instr, CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS);
  ------------------
  |  |  162|     22|#define CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS 160
  ------------------
 1748|     22|            return 0;
 1749|    100|        }
 1750|    260|    }
 1751|     11|    specialize(instr, CALL_NON_PY_GENERAL);
  ------------------
  |  |  165|     11|#define CALL_NON_PY_GENERAL                    163
  ------------------
 1752|     11|    return 0;
 1753|    260|}
specialize.c:specialize_py_call_kw:
 1801|     10|{
 1802|     10|    _PyCallCache *cache = (_PyCallCache *)(instr + 1);
 1803|     10|    PyCodeObject *code = (PyCodeObject *)func->func_code;
 1804|     10|    int kind = function_kind(code);
 1805|       |    /* Don't specialize if PEP 523 is active */
 1806|     10|    if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (1806:9): [True: 0, False: 10]
  ------------------
 1807|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_PEP_523);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1808|      0|        return -1;
 1809|      0|    }
 1810|     10|    if (func->vectorcall != _PyFunction_Vectorcall) {
  ------------------
  |  Branch (1810:9): [True: 0, False: 10]
  ------------------
 1811|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_VECTORCALL);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1812|      0|        return -1;
 1813|      0|    }
 1814|     10|    if (kind == SPEC_FAIL_CODE_NOT_OPTIMIZED) {
  ------------------
  |  |  137|     10|#define SPEC_FAIL_CODE_NOT_OPTIMIZED 8
  ------------------
  |  Branch (1814:9): [True: 0, False: 10]
  ------------------
 1815|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CODE_NOT_OPTIMIZED);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1816|      0|        return -1;
 1817|      0|    }
 1818|     10|    int version = _PyFunction_GetVersionForCurrentState(func);
 1819|     10|    if (!_PyFunction_IsVersionValid(version)) {
  ------------------
  |  Branch (1819:9): [True: 0, False: 10]
  ------------------
 1820|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1821|      0|        return -1;
 1822|      0|    }
 1823|     10|    write_u32(cache->func_version, version);
 1824|     10|    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|     20|#define CALL_KW_PY                             156
  ------------------
  |  Branch (1824:23): [True: 0, False: 10]
  ------------------
 1825|     10|    return 0;
 1826|     10|}
specialize.c:function_kind:
 1474|    423|function_kind(PyCodeObject *code) {
 1475|    423|    int flags = code->co_flags;
 1476|    423|    if ((flags & (CO_VARKEYWORDS | CO_VARARGS)) || code->co_kwonlyargcount) {
  ------------------
  |  |  125|    423|#define CO_VARKEYWORDS  0x0008
  ------------------
                  if ((flags & (CO_VARKEYWORDS | CO_VARARGS)) || code->co_kwonlyargcount) {
  ------------------
  |  |  124|    423|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1476:9): [True: 39, False: 384]
  |  Branch (1476:52): [True: 15, False: 369]
  ------------------
 1477|     54|        return SPEC_FAIL_CODE_COMPLEX_PARAMETERS;
  ------------------
  |  |  136|     54|#define SPEC_FAIL_CODE_COMPLEX_PARAMETERS 7
  ------------------
 1478|     54|    }
 1479|    369|    if ((flags & CO_OPTIMIZED) == 0) {
  ------------------
  |  |  122|    369|#define CO_OPTIMIZED    0x0001
  ------------------
  |  Branch (1479:9): [True: 0, False: 369]
  ------------------
 1480|      0|        return SPEC_FAIL_CODE_NOT_OPTIMIZED;
  ------------------
  |  |  137|      0|#define SPEC_FAIL_CODE_NOT_OPTIMIZED 8
  ------------------
 1481|      0|    }
 1482|    369|    return SIMPLE_FUNCTION;
  ------------------
  |  |  125|    369|#define SIMPLE_FUNCTION 0
  ------------------
 1483|    369|}
specialize.c:binary_op_extended_specialization:
 2323|  1.06k|{
 2324|  1.06k|    size_t n = sizeof(binaryop_extend_descrs)/sizeof(_PyBinaryOpSpecializationDescr);
 2325|  41.2k|    for (size_t i = 0; i < n; i++) {
  ------------------
  |  Branch (2325:24): [True: 40.2k, False: 997]
  ------------------
 2326|  40.2k|        _PyBinaryOpSpecializationDescr *d = &binaryop_extend_descrs[i];
 2327|  40.2k|        if (d->oparg != oparg) {
  ------------------
  |  Branch (2327:13): [True: 37.4k, False: 2.85k]
  ------------------
 2328|  37.4k|            continue;
 2329|  37.4k|        }
 2330|  2.85k|        int match = (d->guard != NULL)
  ------------------
  |  Branch (2330:21): [True: 1.01k, False: 1.83k]
  ------------------
 2331|  2.85k|            ? d->guard(lhs, rhs)
 2332|  2.85k|            : (Py_TYPE(lhs) == d->lhs_type && Py_TYPE(rhs) == d->rhs_type);
  ------------------
  |  |  213|  1.83k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          : (Py_TYPE(lhs) == d->lhs_type && Py_TYPE(rhs) == d->rhs_type);
  ------------------
  |  |  213|    788|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    788|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    788|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2332:16): [True: 788, False: 1.05k]
  |  Branch (2332:47): [True: 11, False: 777]
  ------------------
 2333|  2.85k|        if (match) {
  ------------------
  |  Branch (2333:13): [True: 65, False: 2.78k]
  ------------------
 2334|     65|            *descr = d;
 2335|     65|            return 1;
 2336|     65|        }
 2337|  2.85k|    }
 2338|    997|    return 0;
 2339|  1.06k|}
specialize.c:compactlongs_guard:
 2165|  21.3k|{
 2166|  21.3k|    return (is_compactlong(lhs) && is_compactlong(rhs));
  ------------------
  |  Branch (2166:13): [True: 21.3k, False: 22]
  |  Branch (2166:36): [True: 21.3k, False: 7]
  ------------------
 2167|  21.3k|}
specialize.c:is_compactlong:
 2140|  42.6k|{
 2141|  42.6k|    return PyLong_CheckExact(v) &&
  ------------------
  |  |   14|  42.6k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_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: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2142|  42.6k|           _PyLong_IsCompact((PyLongObject *)v);
  ------------------
  |  Branch (2142:12): [True: 42.6k, False: 23]
  ------------------
 2143|  42.6k|}
specialize.c:compactlongs_or:
 2172|     54|    { \
 2173|     54|        Py_ssize_t rhs_val = _PyLong_CompactValue((PyLongObject *)rhs); \
 2174|     54|        Py_ssize_t lhs_val = _PyLong_CompactValue((PyLongObject *)lhs); \
 2175|     54|        return PyLong_FromSsize_t(lhs_val OP rhs_val); \
 2176|     54|    }
specialize.c:compactlongs_and:
 2172|  21.1k|    { \
 2173|  21.1k|        Py_ssize_t rhs_val = _PyLong_CompactValue((PyLongObject *)rhs); \
 2174|  21.1k|        Py_ssize_t lhs_val = _PyLong_CompactValue((PyLongObject *)lhs); \
 2175|  21.1k|        return PyLong_FromSsize_t(lhs_val OP rhs_val); \
 2176|  21.1k|    }
specialize.c:compactlongs_xor:
 2172|      5|    { \
 2173|      5|        Py_ssize_t rhs_val = _PyLong_CompactValue((PyLongObject *)rhs); \
 2174|      5|        Py_ssize_t lhs_val = _PyLong_CompactValue((PyLongObject *)lhs); \
 2175|      5|        return PyLong_FromSsize_t(lhs_val OP rhs_val); \
 2176|      5|    }
specialize.c:float_compactlong_guard:
 2186|    465|{
 2187|    465|    return (
 2188|    465|        PyFloat_CheckExact(lhs) &&
  ------------------
  |  |   17|    465|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|    930|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    465|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    465|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 465]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2189|      0|        !isnan(PyFloat_AS_DOUBLE(lhs)) &&
  ------------------
  |  Branch (2189:9): [True: 0, False: 0]
  ------------------
 2190|    465|        PyLong_CheckExact(rhs) &&
  ------------------
  |  |   14|      0|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    465|#  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2191|      0|        _PyLong_IsCompact((PyLongObject *)rhs)
  ------------------
  |  Branch (2191:9): [True: 0, False: 0]
  ------------------
 2192|    465|    );
 2193|    465|}
specialize.c:compactlong_float_guard:
 2221|    465|{
 2222|    465|    return (
 2223|    465|        PyLong_CheckExact(lhs) &&
  ------------------
  |  |   14|    465|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    930|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    465|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    465|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 438, False: 27]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2224|    438|        _PyLong_IsCompact((PyLongObject *)lhs) &&
  ------------------
  |  Branch (2224:9): [True: 156, False: 282]
  ------------------
 2225|    465|        PyFloat_CheckExact(rhs) &&
  ------------------
  |  |   17|    156|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|    621|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    156|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    156|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 156]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2226|      0|        !isnan(PyFloat_AS_DOUBLE(rhs))
  ------------------
  |  Branch (2226:9): [True: 0, False: 0]
  ------------------
 2227|    465|    );
 2228|    465|}
specialize.c:check_type_always_true:
 2825|      8|{
 2826|      8|    PyNumberMethods *nb = ty->tp_as_number;
 2827|      8|    if (nb && nb->nb_bool) {
  ------------------
  |  Branch (2827:9): [True: 8, False: 0]
  |  Branch (2827:15): [True: 1, False: 7]
  ------------------
 2828|      1|        return SPEC_FAIL_TO_BOOL_NUMBER;
  ------------------
  |  |  314|      1|#define SPEC_FAIL_TO_BOOL_NUMBER      15
  ------------------
 2829|      1|    }
 2830|      7|    PyMappingMethods *mp = ty->tp_as_mapping;
 2831|      7|    if (mp && mp->mp_length) {
  ------------------
  |  Branch (2831:9): [True: 7, False: 0]
  |  Branch (2831:15): [True: 5, False: 2]
  ------------------
 2832|      5|        return SPEC_FAIL_TO_BOOL_MAPPING;
  ------------------
  |  |  312|      5|#define SPEC_FAIL_TO_BOOL_MAPPING     13
  ------------------
 2833|      5|    }
 2834|      2|    PySequenceMethods *sq = ty->tp_as_sequence;
 2835|      2|    if (sq && sq->sq_length) {
  ------------------
  |  Branch (2835:9): [True: 2, False: 0]
  |  Branch (2835:15): [True: 0, False: 2]
  ------------------
 2836|      0|      return SPEC_FAIL_TO_BOOL_SEQUENCE;
  ------------------
  |  |  315|      0|#define SPEC_FAIL_TO_BOOL_SEQUENCE    16
  ------------------
 2837|      0|    }
 2838|      2|    return 0;
 2839|      2|}
specialize.c:set_counter:
  348|   186k|{
  349|   186k|    FT_ATOMIC_STORE_UINT16_RELAXED(counter->value_and_backoff,
  ------------------
  |  |  171|   186k|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  ------------------
  350|   186k|                                   value.value_and_backoff);
  351|   186k|}

_PyMember_GetOffset:
   26|  6.99k|{
   27|  6.99k|    unsigned char *addr = (unsigned char *)obj + mp->offset;
   28|  6.99k|    if (mp->flags & _Py_AFTER_ITEMS) {
  ------------------
  |  |   89|  6.99k|#  define _Py_AFTER_ITEMS      (1 << 4) // For internal use.
  ------------------
  |  Branch (28:9): [True: 0, False: 6.99k]
  ------------------
   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.99k|    return addr;
   33|  6.99k|}
PyMember_GetOne:
   37|  3.56k|{
   38|  3.56k|    PyObject *v;
   39|  3.56k|    if (l->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|  3.56k|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (39:9): [True: 0, False: 3.56k]
  ------------------
   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|  3.56k|    const void *addr = _PyMember_GetOffset((PyObject *)obj_addr, l);
   47|  3.56k|    switch (l->type) {
   48|      0|    case Py_T_BOOL:
  ------------------
  |  |   73|      0|#define Py_T_BOOL      14
  ------------------
  |  Branch (48:5): [True: 0, False: 3.56k]
  ------------------
   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: 3.56k]
  ------------------
   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: 3.56k]
  ------------------
   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: 3.56k]
  ------------------
   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: 3.56k]
  ------------------
   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: 3.56k]
  ------------------
   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: 3.56k]
  ------------------
   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: 3.56k]
  ------------------
   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: 3.56k]
  ------------------
   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|  3.03k|    case Py_T_PYSSIZET:
  ------------------
  |  |   79|  3.03k|#define Py_T_PYSSIZET  19      /* Py_ssize_t */
  ------------------
  |  Branch (75:5): [True: 3.03k, False: 537]
  ------------------
   76|  3.03k|        v = PyLong_FromSsize_t(FT_ATOMIC_LOAD_SSIZE_RELAXED(*(Py_ssize_t*)addr));
  ------------------
  |  |  149|  3.03k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
   77|  3.03k|        break;
   78|      0|    case Py_T_FLOAT:
  ------------------
  |  |   56|      0|#define Py_T_FLOAT     3
  ------------------
  |  Branch (78:5): [True: 0, False: 3.56k]
  ------------------
   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: 3.56k]
  ------------------
   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|      1|    case Py_T_STRING:
  ------------------
  |  |   58|      1|#define Py_T_STRING    5
  ------------------
  |  Branch (84:5): [True: 1, False: 3.56k]
  ------------------
   85|      1|        if (*(char**)addr == NULL) {
  ------------------
  |  Branch (85:13): [True: 0, False: 1]
  ------------------
   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|      1|        else
   89|      1|            v = PyUnicode_FromString(*(char**)addr);
   90|      1|        break;
   91|      0|    case Py_T_STRING_INPLACE:
  ------------------
  |  |   70|      0|#define Py_T_STRING_INPLACE    13
  ------------------
  |  Branch (91:5): [True: 0, False: 3.56k]
  ------------------
   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: 3.56k]
  ------------------
   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|    518|    case _Py_T_OBJECT:
  ------------------
  |  |   59|    518|#define _Py_T_OBJECT   6  // Deprecated, use Py_T_OBJECT_EX instead
  ------------------
  |  Branch (99:5): [True: 518, False: 3.05k]
  ------------------
  100|    518|        v = FT_ATOMIC_LOAD_PTR(*(PyObject **) addr);
  ------------------
  |  |  145|    518|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
  101|    518|        if (v != NULL) {
  ------------------
  |  Branch (101:13): [True: 518, 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|    518|            Py_INCREF(v);
  ------------------
  |  |  310|    518|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    518|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    518|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  111|    518|#endif
  112|    518|        }
  113|    518|        if (v == NULL) {
  ------------------
  |  Branch (113:13): [True: 0, False: 518]
  ------------------
  114|      0|            v = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  115|      0|        }
  116|    518|        break;
  117|     18|    case Py_T_OBJECT_EX:
  ------------------
  |  |   75|     18|#define Py_T_OBJECT_EX 16
  ------------------
  |  Branch (117:5): [True: 18, False: 3.55k]
  ------------------
  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: 3.56k]
  ------------------
  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: 3.56k]
  ------------------
  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: 3.56k]
  ------------------
  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: 3.56k]
  ------------------
  143|      0|        PyErr_SetString(PyExc_SystemError, "bad memberdescr type");
  144|      0|        v = NULL;
  145|  3.56k|    }
  146|  3.56k|    return v;
  147|  3.56k|}
PyMember_SetOne:
  157|  2.69k|{
  158|  2.69k|    PyObject *oldv;
  159|  2.69k|    if (l->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|  2.69k|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (159:9): [True: 0, False: 2.69k]
  ------------------
  160|      0|        PyErr_SetString(
  161|      0|            PyExc_SystemError,
  162|      0|            "PyMember_SetOne used with Py_RELATIVE_OFFSET");
  163|      0|        return -1;
  164|      0|    }
  165|       |
  166|  2.69k|    PyObject *obj = (PyObject *)addr;
  167|  2.69k|    addr = _PyMember_GetOffset(obj, l);
  168|       |
  169|  2.69k|    if ((l->flags & Py_READONLY))
  ------------------
  |  |   83|  2.69k|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (169:9): [True: 0, False: 2.69k]
  ------------------
  170|      0|    {
  171|      0|        PyErr_SetString(PyExc_AttributeError, "readonly attribute");
  172|      0|        return -1;
  173|      0|    }
  174|  2.69k|    if (v == NULL && l->type != Py_T_OBJECT_EX && l->type != _Py_T_OBJECT) {
  ------------------
  |  |   75|  2.69k|#define Py_T_OBJECT_EX 16
  ------------------
                  if (v == NULL && l->type != Py_T_OBJECT_EX && l->type != _Py_T_OBJECT) {
  ------------------
  |  |   59|      0|#define _Py_T_OBJECT   6  // Deprecated, use Py_T_OBJECT_EX instead
  ------------------
  |  Branch (174:9): [True: 0, False: 2.69k]
  |  Branch (174:22): [True: 0, False: 0]
  |  Branch (174:51): [True: 0, False: 0]
  ------------------
  175|      0|        PyErr_SetString(PyExc_TypeError,
  176|      0|                        "can't delete numeric/char attribute");
  177|      0|        return -1;
  178|      0|    }
  179|  2.69k|    switch (l->type) {
  180|      0|    case Py_T_BOOL:{
  ------------------
  |  |   73|      0|#define Py_T_BOOL      14
  ------------------
  |  Branch (180:5): [True: 0, False: 2.69k]
  ------------------
  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: 2.69k]
  ------------------
  193|      0|        long long_val = PyLong_AsLong(v);
  194|      0|        if ((long_val == -1) && PyErr_Occurred())
  ------------------
  |  Branch (194:13): [True: 0, False: 0]
  |  Branch (194:33): [True: 0, False: 0]
  ------------------
  195|      0|            return -1;
  196|      0|        FT_ATOMIC_STORE_CHAR_RELAXED(*(char*)addr, (char)long_val);
  ------------------
  |  |  177|      0|#define FT_ATOMIC_STORE_CHAR_RELAXED(value, new_value) value = new_value
  ------------------
  197|       |        /* XXX: For compatibility, only warn about truncations
  198|       |           for now. */
  199|      0|        if ((long_val > CHAR_MAX) || (long_val < CHAR_MIN))
  ------------------
  |  Branch (199:13): [True: 0, False: 0]
  |  Branch (199:38): [True: 0, False: 0]
  ------------------
  200|      0|            WARN("Truncation of value to char");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  201|      0|        break;
  202|      0|        }
  203|      0|    case Py_T_UBYTE:{
  ------------------
  |  |   64|      0|#define Py_T_UBYTE     9
  ------------------
  |  Branch (203:5): [True: 0, False: 2.69k]
  ------------------
  204|      0|        long long_val = PyLong_AsLong(v);
  205|      0|        if ((long_val == -1) && PyErr_Occurred())
  ------------------
  |  Branch (205:13): [True: 0, False: 0]
  |  Branch (205:33): [True: 0, False: 0]
  ------------------
  206|      0|            return -1;
  207|      0|        FT_ATOMIC_STORE_UCHAR_RELAXED(*(unsigned char*)addr, (unsigned char)long_val);
  ------------------
  |  |  179|      0|#define FT_ATOMIC_STORE_UCHAR_RELAXED(value, new_value) value = new_value
  ------------------
  208|      0|        if ((long_val > UCHAR_MAX) || (long_val < 0))
  ------------------
  |  Branch (208:13): [True: 0, False: 0]
  |  Branch (208:39): [True: 0, False: 0]
  ------------------
  209|      0|            WARN("Truncation of value to unsigned char");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  210|      0|        break;
  211|      0|        }
  212|      0|    case Py_T_SHORT:{
  ------------------
  |  |   53|      0|#define Py_T_SHORT     0
  ------------------
  |  Branch (212:5): [True: 0, False: 2.69k]
  ------------------
  213|      0|        long long_val = PyLong_AsLong(v);
  214|      0|        if ((long_val == -1) && PyErr_Occurred())
  ------------------
  |  Branch (214:13): [True: 0, False: 0]
  |  Branch (214:33): [True: 0, False: 0]
  ------------------
  215|      0|            return -1;
  216|      0|        FT_ATOMIC_STORE_SHORT_RELAXED(*(short*)addr, (short)long_val);
  ------------------
  |  |  181|      0|#define FT_ATOMIC_STORE_SHORT_RELAXED(value, new_value) value = new_value
  ------------------
  217|      0|        if ((long_val > SHRT_MAX) || (long_val < SHRT_MIN))
  ------------------
  |  Branch (217:13): [True: 0, False: 0]
  |  Branch (217:38): [True: 0, False: 0]
  ------------------
  218|      0|            WARN("Truncation of value to short");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  219|      0|        break;
  220|      0|        }
  221|      0|    case Py_T_USHORT:{
  ------------------
  |  |   65|      0|#define Py_T_USHORT    10
  ------------------
  |  Branch (221:5): [True: 0, False: 2.69k]
  ------------------
  222|      0|        long long_val = PyLong_AsLong(v);
  223|      0|        if ((long_val == -1) && PyErr_Occurred())
  ------------------
  |  Branch (223:13): [True: 0, False: 0]
  |  Branch (223:33): [True: 0, False: 0]
  ------------------
  224|      0|            return -1;
  225|      0|        FT_ATOMIC_STORE_USHORT_RELAXED(*(unsigned short*)addr, (unsigned short)long_val);
  ------------------
  |  |  183|      0|#define FT_ATOMIC_STORE_USHORT_RELAXED(value, new_value) value = new_value
  ------------------
  226|      0|        if ((long_val > USHRT_MAX) || (long_val < 0))
  ------------------
  |  Branch (226:13): [True: 0, False: 0]
  |  Branch (226:39): [True: 0, False: 0]
  ------------------
  227|      0|            WARN("Truncation of value to unsigned short");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  228|      0|        break;
  229|      0|        }
  230|      0|    case Py_T_INT:{
  ------------------
  |  |   54|      0|#define Py_T_INT       1
  ------------------
  |  Branch (230:5): [True: 0, False: 2.69k]
  ------------------
  231|      0|        long long_val = PyLong_AsLong(v);
  232|      0|        if ((long_val == -1) && PyErr_Occurred())
  ------------------
  |  Branch (232:13): [True: 0, False: 0]
  |  Branch (232:33): [True: 0, False: 0]
  ------------------
  233|      0|            return -1;
  234|      0|        FT_ATOMIC_STORE_INT_RELAXED(*(int *)addr, (int)long_val);
  ------------------
  |  |  187|      0|#define FT_ATOMIC_STORE_INT_RELAXED(value, new_value) value = new_value
  ------------------
  235|      0|        if ((long_val > INT_MAX) || (long_val < INT_MIN))
  ------------------
  |  Branch (235:13): [True: 0, False: 0]
  |  Branch (235:37): [True: 0, False: 0]
  ------------------
  236|      0|            WARN("Truncation of value to int");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  237|      0|        break;
  238|      0|        }
  239|      0|    case Py_T_UINT: {
  ------------------
  |  |   66|      0|#define Py_T_UINT      11
  ------------------
  |  Branch (239:5): [True: 0, False: 2.69k]
  ------------------
  240|       |        /* XXX: For compatibility, accept negative int values
  241|       |           as well. */
  242|      0|        v = _PyNumber_Index(v);
  243|      0|        if (v == NULL) {
  ------------------
  |  Branch (243:13): [True: 0, False: 0]
  ------------------
  244|      0|            return -1;
  245|      0|        }
  246|      0|        if (_PyLong_IsNegative((PyLongObject *)v)) {
  ------------------
  |  Branch (246:13): [True: 0, False: 0]
  ------------------
  247|      0|            long long_val = PyLong_AsLong(v);
  248|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  249|      0|            if (long_val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (249:17): [True: 0, False: 0]
  |  Branch (249:35): [True: 0, False: 0]
  ------------------
  250|      0|                return -1;
  251|      0|            }
  252|      0|            FT_ATOMIC_STORE_UINT_RELAXED(*(unsigned int *)addr, (unsigned int)(unsigned long)long_val);
  ------------------
  |  |  190|      0|#define FT_ATOMIC_STORE_UINT_RELAXED(value, new_value) value = new_value
  ------------------
  253|      0|            WARN("Writing negative value into unsigned field");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  254|      0|        }
  255|      0|        else {
  256|      0|            unsigned long ulong_val = PyLong_AsUnsignedLong(v);
  257|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  258|      0|            if (ulong_val == (unsigned long)-1 && PyErr_Occurred()) {
  ------------------
  |  Branch (258:17): [True: 0, False: 0]
  |  Branch (258:51): [True: 0, False: 0]
  ------------------
  259|      0|                return -1;
  260|      0|            }
  261|      0|            FT_ATOMIC_STORE_UINT_RELAXED(*(unsigned int *)addr, (unsigned int)ulong_val);
  ------------------
  |  |  190|      0|#define FT_ATOMIC_STORE_UINT_RELAXED(value, new_value) value = new_value
  ------------------
  262|      0|            if (ulong_val > UINT_MAX) {
  ------------------
  |  Branch (262:17): [True: 0, False: 0]
  ------------------
  263|      0|                WARN("Truncation of value to unsigned int");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  264|      0|            }
  265|      0|        }
  266|      0|        break;
  267|      0|    }
  268|      0|    case Py_T_LONG: {
  ------------------
  |  |   55|      0|#define Py_T_LONG      2
  ------------------
  |  Branch (268:5): [True: 0, False: 2.69k]
  ------------------
  269|      0|        const long long_val = PyLong_AsLong(v);
  270|      0|        if ((long_val == -1) && PyErr_Occurred())
  ------------------
  |  Branch (270:13): [True: 0, False: 0]
  |  Branch (270:33): [True: 0, False: 0]
  ------------------
  271|      0|            return -1;
  272|      0|        FT_ATOMIC_STORE_LONG_RELAXED(*(long*)addr, long_val);
  ------------------
  |  |  192|      0|#define FT_ATOMIC_STORE_LONG_RELAXED(value, new_value) value = new_value
  ------------------
  273|      0|        break;
  274|      0|    }
  275|      0|    case Py_T_ULONG: {
  ------------------
  |  |   67|      0|#define Py_T_ULONG     12
  ------------------
  |  Branch (275:5): [True: 0, False: 2.69k]
  ------------------
  276|       |        /* XXX: For compatibility, accept negative int values
  277|       |           as well. */
  278|      0|        v = _PyNumber_Index(v);
  279|      0|        if (v == NULL) {
  ------------------
  |  Branch (279:13): [True: 0, False: 0]
  ------------------
  280|      0|            return -1;
  281|      0|        }
  282|      0|        if (_PyLong_IsNegative((PyLongObject *)v)) {
  ------------------
  |  Branch (282:13): [True: 0, False: 0]
  ------------------
  283|      0|            long long_val = PyLong_AsLong(v);
  284|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  285|      0|            if (long_val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (285:17): [True: 0, False: 0]
  |  Branch (285:35): [True: 0, False: 0]
  ------------------
  286|      0|                return -1;
  287|      0|            }
  288|      0|            FT_ATOMIC_STORE_ULONG_RELAXED(*(unsigned long *)addr, (unsigned long)long_val);
  ------------------
  |  |  193|      0|#define FT_ATOMIC_STORE_ULONG_RELAXED(value, new_value) value = new_value
  ------------------
  289|      0|            WARN("Writing negative value into unsigned field");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  290|      0|        }
  291|      0|        else {
  292|      0|            unsigned long ulong_val = PyLong_AsUnsignedLong(v);
  293|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  294|      0|            if (ulong_val == (unsigned long)-1 && PyErr_Occurred()) {
  ------------------
  |  Branch (294:17): [True: 0, False: 0]
  |  Branch (294:51): [True: 0, False: 0]
  ------------------
  295|      0|                return -1;
  296|      0|            }
  297|      0|            FT_ATOMIC_STORE_ULONG_RELAXED(*(unsigned long *)addr, ulong_val);
  ------------------
  |  |  193|      0|#define FT_ATOMIC_STORE_ULONG_RELAXED(value, new_value) value = new_value
  ------------------
  298|      0|        }
  299|      0|        break;
  300|      0|    }
  301|      0|    case Py_T_PYSSIZET: {
  ------------------
  |  |   79|      0|#define Py_T_PYSSIZET  19      /* Py_ssize_t */
  ------------------
  |  Branch (301:5): [True: 0, False: 2.69k]
  ------------------
  302|      0|        const Py_ssize_t ssize_val = PyLong_AsSsize_t(v);
  303|      0|        if ((ssize_val == (Py_ssize_t)-1) && PyErr_Occurred())
  ------------------
  |  Branch (303:13): [True: 0, False: 0]
  |  Branch (303:46): [True: 0, False: 0]
  ------------------
  304|      0|            return -1;
  305|      0|        FT_ATOMIC_STORE_SSIZE_RELAXED(*(Py_ssize_t*)addr, ssize_val);
  ------------------
  |  |  194|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  306|      0|        break;
  307|      0|    }
  308|      0|    case Py_T_FLOAT:{
  ------------------
  |  |   56|      0|#define Py_T_FLOAT     3
  ------------------
  |  Branch (308:5): [True: 0, False: 2.69k]
  ------------------
  309|      0|        double double_val = PyFloat_AsDouble(v);
  310|      0|        if ((double_val == -1) && PyErr_Occurred())
  ------------------
  |  Branch (310:13): [True: 0, False: 0]
  |  Branch (310:35): [True: 0, False: 0]
  ------------------
  311|      0|            return -1;
  312|      0|        FT_ATOMIC_STORE_FLOAT_RELAXED(*(float*)addr, (float)double_val);
  ------------------
  |  |  196|      0|#define FT_ATOMIC_STORE_FLOAT_RELAXED(value, new_value) value = new_value
  ------------------
  313|      0|        break;
  314|      0|        }
  315|      0|    case Py_T_DOUBLE: {
  ------------------
  |  |   57|      0|#define Py_T_DOUBLE    4
  ------------------
  |  Branch (315:5): [True: 0, False: 2.69k]
  ------------------
  316|      0|        const double double_val = PyFloat_AsDouble(v);
  317|      0|        if ((double_val == -1) && PyErr_Occurred())
  ------------------
  |  Branch (317:13): [True: 0, False: 0]
  |  Branch (317:35): [True: 0, False: 0]
  ------------------
  318|      0|            return -1;
  319|      0|        FT_ATOMIC_STORE_DOUBLE_RELAXED(*(double *) addr, double_val);
  ------------------
  |  |  198|      0|#define FT_ATOMIC_STORE_DOUBLE_RELAXED(value, new_value) value = new_value
  ------------------
  320|      0|        break;
  321|      0|    }
  322|  2.67k|    case _Py_T_OBJECT:
  ------------------
  |  |   59|  2.67k|#define _Py_T_OBJECT   6  // Deprecated, use Py_T_OBJECT_EX instead
  ------------------
  |  Branch (322:5): [True: 2.67k, False: 24]
  ------------------
  323|  2.69k|    case Py_T_OBJECT_EX:
  ------------------
  |  |   75|  2.69k|#define Py_T_OBJECT_EX 16
  ------------------
  |  Branch (323:5): [True: 24, False: 2.67k]
  ------------------
  324|  2.69k|        Py_BEGIN_CRITICAL_SECTION(obj);
  ------------------
  |  |   51|  2.69k|    {
  ------------------
  325|  2.69k|        oldv = *(PyObject **)addr;
  326|  2.69k|        FT_ATOMIC_STORE_PTR_RELEASE(*(PyObject **)addr, Py_XNewRef(v));
  ------------------
  |  |  164|  2.69k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  327|  2.69k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.69k|    }
  ------------------
  328|  2.69k|        if (v == NULL && oldv == NULL && l->type == Py_T_OBJECT_EX) {
  ------------------
  |  |   75|      0|#define Py_T_OBJECT_EX 16
  ------------------
  |  Branch (328:13): [True: 0, False: 2.69k]
  |  Branch (328:26): [True: 0, False: 0]
  |  Branch (328:42): [True: 0, False: 0]
  ------------------
  329|       |            // Raise an exception when attempting to delete an already deleted
  330|       |            // attribute.
  331|       |            // Differently from Py_T_OBJECT_EX, _Py_T_OBJECT does not raise an
  332|       |            // exception here (PyMember_GetOne will return Py_None instead of
  333|       |            // NULL).
  334|      0|            PyErr_SetString(PyExc_AttributeError, l->name);
  335|      0|            return -1;
  336|      0|        }
  337|  2.69k|        Py_XDECREF(oldv);
  ------------------
  |  |  524|  2.69k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  338|  2.69k|        break;
  339|      0|    case Py_T_CHAR: {
  ------------------
  |  |   61|      0|#define Py_T_CHAR      7   /* 1-character string */
  ------------------
  |  Branch (339:5): [True: 0, False: 2.69k]
  ------------------
  340|      0|        const char *string;
  341|      0|        Py_ssize_t len;
  342|       |
  343|      0|        string = PyUnicode_AsUTF8AndSize(v, &len);
  344|      0|        if (string == NULL || len != 1) {
  ------------------
  |  Branch (344:13): [True: 0, False: 0]
  |  Branch (344:31): [True: 0, False: 0]
  ------------------
  345|      0|            PyErr_BadArgument();
  346|      0|            return -1;
  347|      0|        }
  348|      0|        FT_ATOMIC_STORE_CHAR_RELAXED(*(char*)addr, string[0]);
  ------------------
  |  |  177|      0|#define FT_ATOMIC_STORE_CHAR_RELAXED(value, new_value) value = new_value
  ------------------
  349|      0|        break;
  350|      0|        }
  351|      0|    case Py_T_STRING:
  ------------------
  |  |   58|      0|#define Py_T_STRING    5
  ------------------
  |  Branch (351:5): [True: 0, False: 2.69k]
  ------------------
  352|      0|    case Py_T_STRING_INPLACE:
  ------------------
  |  |   70|      0|#define Py_T_STRING_INPLACE    13
  ------------------
  |  Branch (352:5): [True: 0, False: 2.69k]
  ------------------
  353|      0|        PyErr_SetString(PyExc_TypeError, "readonly attribute");
  354|      0|        return -1;
  355|      0|    case Py_T_LONGLONG:{
  ------------------
  |  |   76|      0|#define Py_T_LONGLONG  17
  ------------------
  |  Branch (355:5): [True: 0, False: 2.69k]
  ------------------
  356|      0|        long long value = PyLong_AsLongLong(v);
  357|      0|        if ((value == -1) && PyErr_Occurred())
  ------------------
  |  Branch (357:13): [True: 0, False: 0]
  |  Branch (357:30): [True: 0, False: 0]
  ------------------
  358|      0|            return -1;
  359|      0|        FT_ATOMIC_STORE_LLONG_RELAXED(*(long long*)addr, value);
  ------------------
  |  |  200|      0|#define FT_ATOMIC_STORE_LLONG_RELAXED(value, new_value) value = new_value
  ------------------
  360|      0|        break;
  361|      0|        }
  362|      0|    case Py_T_ULONGLONG: {
  ------------------
  |  |   77|      0|#define Py_T_ULONGLONG 18
  ------------------
  |  Branch (362:5): [True: 0, False: 2.69k]
  ------------------
  363|      0|        v = _PyNumber_Index(v);
  364|      0|        if (v == NULL) {
  ------------------
  |  Branch (364:13): [True: 0, False: 0]
  ------------------
  365|      0|            return -1;
  366|      0|        }
  367|      0|        if (_PyLong_IsNegative((PyLongObject *)v)) {
  ------------------
  |  Branch (367:13): [True: 0, False: 0]
  ------------------
  368|      0|            long long_val = PyLong_AsLong(v);
  369|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  370|      0|            if (long_val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (370:17): [True: 0, False: 0]
  |  Branch (370:35): [True: 0, False: 0]
  ------------------
  371|      0|                return -1;
  372|      0|            }
  373|      0|            FT_ATOMIC_STORE_ULLONG_RELAXED(*(unsigned long long *)addr, (unsigned long long)(long long)long_val);
  ------------------
  |  |  202|      0|#define FT_ATOMIC_STORE_ULLONG_RELAXED(value, new_value) value = new_value
  ------------------
  374|      0|            WARN("Writing negative value into unsigned field");
  ------------------
  |  |  150|      0|    do {                                                        \
  |  |  151|      0|    if (PyErr_WarnEx(PyExc_RuntimeWarning, msg, 1) < 0)         \
  |  |  ------------------
  |  |  |  Branch (151:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  152|      0|        return -1;                                              \
  |  |  153|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (153:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  375|      0|        }
  376|      0|        else {
  377|      0|            unsigned long long ulonglong_val = PyLong_AsUnsignedLongLong(v);
  378|      0|            Py_DECREF(v);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  379|      0|            if (ulonglong_val == (unsigned long long)-1 && PyErr_Occurred()) {
  ------------------
  |  Branch (379:17): [True: 0, False: 0]
  |  Branch (379:60): [True: 0, False: 0]
  ------------------
  380|      0|                return -1;
  381|      0|            }
  382|      0|            FT_ATOMIC_STORE_ULLONG_RELAXED(*(unsigned long long *)addr, ulonglong_val);
  ------------------
  |  |  202|      0|#define FT_ATOMIC_STORE_ULLONG_RELAXED(value, new_value) value = new_value
  ------------------
  383|      0|        }
  384|      0|        break;
  385|      0|    }
  386|      0|    default:
  ------------------
  |  Branch (386:5): [True: 0, False: 2.69k]
  ------------------
  387|      0|        PyErr_Format(PyExc_SystemError,
  388|      0|                     "bad memberdescr type for %s", l->name);
  389|      0|        return -1;
  390|  2.69k|    }
  391|  2.69k|    return 0;
  392|  2.69k|}
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|  10.8k|{
  418|  10.8k|    struct symtable *st = symtable_new();
  419|  10.8k|    asdl_stmt_seq *seq;
  420|  10.8k|    Py_ssize_t i;
  421|  10.8k|    PyThreadState *tstate;
  422|       |
  423|  10.8k|    if (st == NULL)
  ------------------
  |  Branch (423:9): [True: 0, False: 10.8k]
  ------------------
  424|      0|        return NULL;
  425|  10.8k|    if (filename == NULL) {
  ------------------
  |  Branch (425:9): [True: 0, False: 10.8k]
  ------------------
  426|      0|        _PySymtable_Free(st);
  427|      0|        return NULL;
  428|      0|    }
  429|  10.8k|    st->st_filename = Py_NewRef(filename);
  ------------------
  |  |  550|  10.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  430|  10.8k|    st->st_future = future;
  431|       |
  432|       |    /* Setup recursion depth check counters */
  433|  10.8k|    tstate = _PyThreadState_GET();
  434|  10.8k|    if (!tstate) {
  ------------------
  |  Branch (434:9): [True: 0, False: 10.8k]
  ------------------
  435|      0|        _PySymtable_Free(st);
  436|      0|        return NULL;
  437|      0|    }
  438|       |
  439|       |    /* Make the initial symbol information gathering pass */
  440|       |
  441|  10.8k|    _Py_SourceLocation loc0 = {0, 0, 0, 0};
  442|  10.8k|    if (!symtable_enter_block(st, &_Py_ID(top), ModuleBlock, (void *)mod, loc0)) {
  ------------------
  |  |  921|  10.8k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  10.8k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  10.8k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (442:9): [True: 0, False: 10.8k]
  ------------------
  443|      0|        _PySymtable_Free(st);
  444|      0|        return NULL;
  445|      0|    }
  446|       |
  447|  10.8k|    st->st_top = st->st_cur;
  448|  10.8k|    switch (mod->kind) {
  ------------------
  |  Branch (448:13): [True: 10.8k, False: 0]
  ------------------
  449|  7.43k|    case Module_kind:
  ------------------
  |  Branch (449:5): [True: 7.43k, False: 3.37k]
  ------------------
  450|  7.43k|        seq = mod->v.Module.body;
  451|  7.43k|        if (_PyAST_GetDocString(seq)) {
  ------------------
  |  Branch (451:13): [True: 164, False: 7.27k]
  ------------------
  452|    164|            st->st_cur->ste_has_docstring = 1;
  453|    164|        }
  454|  77.2k|        for (i = 0; i < asdl_seq_LEN(seq); i++)
  ------------------
  |  |   83|  77.2k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|   154k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 91, False: 77.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (454:21): [True: 69.9k, False: 7.27k]
  ------------------
  455|  69.9k|            if (!symtable_visit_stmt(st,
  ------------------
  |  Branch (455:17): [True: 165, False: 69.7k]
  ------------------
  456|  69.9k|                        (stmt_ty)asdl_seq_GET(seq, i)))
  ------------------
  |  |   82|  69.9k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  69.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  457|    165|                goto error;
  458|  7.27k|        break;
  459|  7.27k|    case Expression_kind:
  ------------------
  |  Branch (459:5): [True: 1.52k, False: 9.29k]
  ------------------
  460|  1.52k|        if (!symtable_visit_expr(st, mod->v.Expression.body))
  ------------------
  |  Branch (460:13): [True: 20, False: 1.50k]
  ------------------
  461|     20|            goto error;
  462|  1.50k|        break;
  463|  1.85k|    case Interactive_kind:
  ------------------
  |  Branch (463:5): [True: 1.85k, False: 8.96k]
  ------------------
  464|  1.85k|        seq = mod->v.Interactive.body;
  465|  6.23k|        for (i = 0; i < asdl_seq_LEN(seq); i++)
  ------------------
  |  |   83|  6.23k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  12.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 6.23k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (465:21): [True: 4.42k, False: 1.81k]
  ------------------
  466|  4.42k|            if (!symtable_visit_stmt(st,
  ------------------
  |  Branch (466:17): [True: 41, False: 4.38k]
  ------------------
  467|  4.42k|                        (stmt_ty)asdl_seq_GET(seq, i)))
  ------------------
  |  |   82|  4.42k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  4.42k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  468|     41|                goto error;
  469|  1.81k|        break;
  470|  1.81k|    case FunctionType_kind:
  ------------------
  |  Branch (470:5): [True: 0, False: 10.8k]
  ------------------
  471|      0|        PyErr_SetString(PyExc_RuntimeError,
  472|      0|                        "this compiler does not handle FunctionTypes");
  473|      0|        goto error;
  474|  10.8k|    }
  475|  10.5k|    if (!symtable_exit_block(st)) {
  ------------------
  |  Branch (475:9): [True: 0, False: 10.5k]
  ------------------
  476|      0|        _PySymtable_Free(st);
  477|      0|        return NULL;
  478|      0|    }
  479|       |    /* Make the second symbol analysis pass */
  480|  10.5k|    if (symtable_analyze(st)) {
  ------------------
  |  Branch (480:9): [True: 10.5k, False: 28]
  ------------------
  481|       |#if _PY_DUMP_SYMTABLE
  482|       |        dump_symtable(st->st_top);
  483|       |#endif
  484|  10.5k|        return st;
  485|  10.5k|    }
  486|     28|    _PySymtable_Free(st);
  487|     28|    return NULL;
  488|    226| error:
  489|    226|    (void) symtable_exit_block(st);
  490|    226|    _PySymtable_Free(st);
  491|       |    return NULL;
  492|  10.5k|}
_PySymtable_Free:
  497|  10.8k|{
  498|  10.8k|    Py_XDECREF(st->st_filename);
  ------------------
  |  |  524|  10.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  499|  10.8k|    Py_XDECREF(st->st_blocks);
  ------------------
  |  |  524|  10.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  500|  10.8k|    Py_XDECREF(st->st_stack);
  ------------------
  |  |  524|  10.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|  10.8k|    PyMem_Free((void *)st);
  502|  10.8k|}
_PySymtable_Lookup:
  506|  56.1k|{
  507|  56.1k|    PyObject *k, *v;
  508|       |
  509|  56.1k|    k = PyLong_FromVoidPtr(key);
  510|  56.1k|    if (k == NULL)
  ------------------
  |  Branch (510:9): [True: 0, False: 56.1k]
  ------------------
  511|      0|        return NULL;
  512|  56.1k|    if (PyDict_GetItemRef(st->st_blocks, k, &v) == 0) {
  ------------------
  |  Branch (512:9): [True: 0, False: 56.1k]
  ------------------
  513|      0|        PyErr_SetString(PyExc_KeyError,
  514|      0|                        "unknown symbol table entry");
  515|      0|    }
  516|  56.1k|    Py_DECREF(k);
  ------------------
  |  |  430|  56.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  56.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  517|       |
  518|  56.1k|    assert(v == NULL || PySTEntry_Check(v));
  ------------------
  |  Branch (518:5): [True: 0, False: 56.1k]
  |  Branch (518:5): [True: 56.1k, False: 0]
  ------------------
  519|  56.1k|    return (PySTEntryObject *)v;
  520|  56.1k|}
_PySymtable_LookupOptional:
  525|  7.42k|{
  526|  7.42k|    PyObject *k = PyLong_FromVoidPtr(key);
  527|  7.42k|    if (k == NULL) {
  ------------------
  |  Branch (527:9): [True: 0, False: 7.42k]
  ------------------
  528|      0|        *out = NULL;
  529|      0|        return -1;
  530|      0|    }
  531|  7.42k|    int result = PyDict_GetItemRef(st->st_blocks, k, (PyObject **)out);
  532|  7.42k|    Py_DECREF(k);
  ------------------
  |  |  430|  7.42k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  533|  7.42k|    assert(*out == NULL || PySTEntry_Check(*out));
  ------------------
  |  Branch (533:5): [True: 0, False: 7.42k]
  |  Branch (533:5): [True: 7.42k, False: 0]
  ------------------
  534|  7.42k|    return result;
  535|  7.42k|}
_PyST_GetSymbol:
  539|   600k|{
  540|   600k|    PyObject *v;
  541|   600k|    if (PyDict_GetItemRef(ste->ste_symbols, name, &v) < 0) {
  ------------------
  |  Branch (541:9): [True: 0, False: 600k]
  ------------------
  542|      0|        return -1;
  543|      0|    }
  544|   600k|    if (!v) {
  ------------------
  |  Branch (544:9): [True: 112k, False: 488k]
  ------------------
  545|   112k|        return 0;
  546|   112k|    }
  547|   488k|    long symbol = PyLong_AsLong(v);
  548|   488k|    Py_DECREF(v);
  ------------------
  |  |  430|   488k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   488k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   488k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  549|   488k|    if (symbol < 0) {
  ------------------
  |  Branch (549:9): [True: 0, False: 488k]
  ------------------
  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|   488k|    return symbol;
  556|   488k|}
_PyST_GetScope:
  560|   533k|{
  561|   533k|    long symbol = _PyST_GetSymbol(ste, name);
  562|   533k|    if (symbol < 0) {
  ------------------
  |  Branch (562:9): [True: 0, False: 533k]
  ------------------
  563|      0|        return -1;
  564|      0|    }
  565|   533k|    return SYMBOL_TO_SCOPE(symbol);
  ------------------
  |  |  185|   533k|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  183|   533k|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  184|   533k|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|   533k|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  166|   533k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  167|   533k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  168|   533k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  566|   533k|}
_PyST_IsFunctionLike:
  570|   911k|{
  571|   911k|    return ste->ste_type == FunctionBlock
  ------------------
  |  Branch (571:12): [True: 306k, False: 605k]
  ------------------
  572|   605k|        || ste->ste_type == AnnotationBlock
  ------------------
  |  Branch (572:12): [True: 89.8k, False: 515k]
  ------------------
  573|   515k|        || ste->ste_type == TypeVariableBlock
  ------------------
  |  Branch (573:12): [True: 9.30k, False: 506k]
  ------------------
  574|   506k|        || ste->ste_type == TypeAliasBlock
  ------------------
  |  Branch (574:12): [True: 1.92k, False: 504k]
  ------------------
  575|   504k|        || ste->ste_type == TypeParametersBlock;
  ------------------
  |  Branch (575:12): [True: 34.7k, False: 469k]
  ------------------
  576|   911k|}
_Py_MaybeMangle:
 3268|  1.17M|{
 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|  1.17M|    if (ste->ste_mangled_names != NULL) {
  ------------------
  |  Branch (3274:9): [True: 25.7k, False: 1.14M]
  ------------------
 3275|  25.7k|        int result = PySet_Contains(ste->ste_mangled_names, name);
 3276|  25.7k|        if (result < 0) {
  ------------------
  |  Branch (3276:13): [True: 0, False: 25.7k]
  ------------------
 3277|      0|            return NULL;
 3278|      0|        }
 3279|  25.7k|        if (result == 0) {
  ------------------
  |  Branch (3279:13): [True: 17.7k, False: 8.02k]
  ------------------
 3280|  17.7k|            return Py_NewRef(name);
  ------------------
  |  |  550|  17.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  17.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3281|  17.7k|        }
 3282|  25.7k|    }
 3283|  1.15M|    return _Py_Mangle(privateobj, name);
 3284|  1.17M|}
_Py_Mangle:
 3309|  1.17M|{
 3310|       |    /* Name mangling: __private becomes _classname__private.
 3311|       |       This is independent from how the name is used. */
 3312|  1.17M|    if (privateobj == NULL || !PyUnicode_Check(privateobj) ||
  ------------------
  |  |  103|   278k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.45M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3312:9): [True: 894k, False: 278k]
  |  Branch (3312:31): [True: 0, False: 278k]
  ------------------
 3313|   278k|        PyUnicode_READ_CHAR(ident, 0) != '_' ||
  ------------------
  |  |  381|   278k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|   278k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   278k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3313:9): [True: 119k, False: 159k]
  ------------------
 3314|  1.02M|        PyUnicode_READ_CHAR(ident, 1) != '_') {
  ------------------
  |  |  381|   159k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|   159k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   159k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3314:9): [True: 10.9k, False: 148k]
  ------------------
 3315|  1.02M|        return Py_NewRef(ident);
  ------------------
  |  |  550|  1.02M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.02M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3316|  1.02M|    }
 3317|   148k|    size_t nlen = PyUnicode_GET_LENGTH(ident);
  ------------------
  |  |  299|   148k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   148k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   148k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3318|   148k|    size_t plen = PyUnicode_GET_LENGTH(privateobj);
  ------------------
  |  |  299|   148k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   148k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   148k|#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|   148k|    if ((PyUnicode_READ_CHAR(ident, nlen-1) == '_' &&
  ------------------
  |  |  381|   148k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|   148k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   148k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3328:10): [True: 96.2k, False: 52.3k]
  ------------------
 3329|  96.2k|         PyUnicode_READ_CHAR(ident, nlen-2) == '_') ||
  ------------------
  |  |  381|  96.2k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  96.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  96.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3329:10): [True: 95.7k, False: 533]
  ------------------
 3330|  95.7k|        PyUnicode_FindChar(ident, '.', 0, nlen, 1) != -1) {
  ------------------
  |  Branch (3330:9): [True: 6, False: 52.8k]
  ------------------
 3331|  95.7k|        return Py_NewRef(ident); /* Don't mangle __whatever__ */
  ------------------
  |  |  550|  95.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  95.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  95.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3332|  95.7k|    }
 3333|       |    /* Strip leading underscores from class name */
 3334|  52.8k|    size_t ipriv = 0;
 3335|   115k|    while (PyUnicode_READ_CHAR(privateobj, ipriv) == '_') {
  ------------------
  |  |  381|   115k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|   115k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   115k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3335:12): [True: 62.8k, False: 52.8k]
  ------------------
 3336|  62.8k|        ipriv++;
 3337|  62.8k|    }
 3338|  52.8k|    if (ipriv == plen) {
  ------------------
  |  Branch (3338:9): [True: 472, False: 52.3k]
  ------------------
 3339|    472|        return Py_NewRef(ident); /* Don't mangle if class is just underscores */
  ------------------
  |  |  550|    472|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    472|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    472|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3340|    472|    }
 3341|       |
 3342|  52.3k|    if (nlen + (plen - ipriv) >= PY_SSIZE_T_MAX - 1) {
  ------------------
  |  |  137|  52.3k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (3342:9): [True: 0, False: 52.3k]
  ------------------
 3343|      0|        PyErr_SetString(PyExc_OverflowError,
 3344|      0|                        "private identifier too large to be mangled");
 3345|      0|        return NULL;
 3346|      0|    }
 3347|       |
 3348|  52.3k|    PyUnicodeWriter *writer = PyUnicodeWriter_Create(1 + nlen + (plen - ipriv));
 3349|  52.3k|    if (!writer) {
  ------------------
  |  Branch (3349:9): [True: 0, False: 52.3k]
  ------------------
 3350|      0|        return NULL;
 3351|      0|    }
 3352|       |    // ident = "_" + priv[ipriv:] + ident
 3353|  52.3k|    if (PyUnicodeWriter_WriteChar(writer, '_') < 0) {
  ------------------
  |  Branch (3353:9): [True: 0, False: 52.3k]
  ------------------
 3354|      0|        goto error;
 3355|      0|    }
 3356|  52.3k|    if (PyUnicodeWriter_WriteSubstring(writer, privateobj, ipriv, plen) < 0) {
  ------------------
  |  Branch (3356:9): [True: 0, False: 52.3k]
  ------------------
 3357|      0|        goto error;
 3358|      0|    }
 3359|  52.3k|    if (PyUnicodeWriter_WriteStr(writer, ident) < 0) {
  ------------------
  |  Branch (3359:9): [True: 0, False: 52.3k]
  ------------------
 3360|      0|        goto error;
 3361|      0|    }
 3362|  52.3k|    return PyUnicodeWriter_Finish(writer);
 3363|       |
 3364|      0|error:
 3365|      0|    PyUnicodeWriter_Discard(writer);
 3366|       |    return NULL;
 3367|  52.3k|}
symtable.c:ste_dealloc:
  185|  63.2k|{
  186|  63.2k|    PySTEntryObject *ste = (PySTEntryObject *)op;
  187|  63.2k|    ste->ste_table = NULL;
  188|  63.2k|    Py_XDECREF(ste->ste_id);
  ------------------
  |  |  524|  63.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|  63.2k|    Py_XDECREF(ste->ste_name);
  ------------------
  |  |  524|  63.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  190|  63.2k|    Py_XDECREF(ste->ste_function_name);
  ------------------
  |  |  524|  63.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|  63.2k|    Py_XDECREF(ste->ste_symbols);
  ------------------
  |  |  524|  63.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  192|  63.2k|    Py_XDECREF(ste->ste_varnames);
  ------------------
  |  |  524|  63.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  193|  63.2k|    Py_XDECREF(ste->ste_children);
  ------------------
  |  |  524|  63.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  194|  63.2k|    Py_XDECREF(ste->ste_directives);
  ------------------
  |  |  524|  63.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  195|  63.2k|    Py_XDECREF(ste->ste_annotation_block);
  ------------------
  |  |  524|  63.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  196|  63.2k|    Py_XDECREF(ste->ste_mangled_names);
  ------------------
  |  |  524|  63.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|  63.2k|    PyObject_Free(ste);
  198|  63.2k|}
symtable.c:symtable_new:
  391|  10.8k|{
  392|  10.8k|    struct symtable *st;
  393|       |
  394|  10.8k|    st = (struct symtable *)PyMem_Malloc(sizeof(struct symtable));
  395|  10.8k|    if (st == NULL) {
  ------------------
  |  Branch (395:9): [True: 0, False: 10.8k]
  ------------------
  396|      0|        PyErr_NoMemory();
  397|      0|        return NULL;
  398|      0|    }
  399|       |
  400|  10.8k|    st->st_filename = NULL;
  401|  10.8k|    st->st_blocks = NULL;
  402|       |
  403|  10.8k|    if ((st->st_stack = PyList_New(0)) == NULL)
  ------------------
  |  Branch (403:9): [True: 0, False: 10.8k]
  ------------------
  404|      0|        goto fail;
  405|  10.8k|    if ((st->st_blocks = PyDict_New()) == NULL)
  ------------------
  |  Branch (405:9): [True: 0, False: 10.8k]
  ------------------
  406|      0|        goto fail;
  407|  10.8k|    st->st_cur = NULL;
  408|  10.8k|    st->st_private = NULL;
  409|  10.8k|    return st;
  410|      0| fail:
  411|      0|    _PySymtable_Free(st);
  412|       |    return NULL;
  413|  10.8k|}
symtable.c:symtable_analyze:
 1378|  10.5k|{
 1379|  10.5k|    PyObject *free, *global, *type_params;
 1380|  10.5k|    int r;
 1381|       |
 1382|  10.5k|    free = PySet_New(NULL);
 1383|  10.5k|    if (!free)
  ------------------
  |  Branch (1383:9): [True: 0, False: 10.5k]
  ------------------
 1384|      0|        return 0;
 1385|  10.5k|    global = PySet_New(NULL);
 1386|  10.5k|    if (!global) {
  ------------------
  |  Branch (1386:9): [True: 0, False: 10.5k]
  ------------------
 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|  10.5k|    type_params = PySet_New(NULL);
 1391|  10.5k|    if (!type_params) {
  ------------------
  |  Branch (1391:9): [True: 0, False: 10.5k]
  ------------------
 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|  10.5k|    r = analyze_block(st->st_top, NULL, free, global, type_params, NULL);
 1397|  10.5k|    Py_DECREF(free);
  ------------------
  |  |  430|  10.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1398|  10.5k|    Py_DECREF(global);
  ------------------
  |  |  430|  10.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1399|  10.5k|    Py_DECREF(type_params);
  ------------------
  |  |  430|  10.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1400|  10.5k|    return r;
 1401|  10.5k|}
symtable.c:analyze_block:
 1142|  54.7k|{
 1143|  54.7k|    PyObject *name, *v, *local = NULL, *scopes = NULL, *newbound = NULL;
 1144|  54.7k|    PyObject *newglobal = NULL, *newfree = NULL, *inlined_cells = NULL;
 1145|  54.7k|    PyObject *temp;
 1146|  54.7k|    int success = 0;
 1147|  54.7k|    Py_ssize_t i, pos = 0;
 1148|       |
 1149|  54.7k|    local = PySet_New(NULL);  /* collect new names bound in block */
 1150|  54.7k|    if (!local)
  ------------------
  |  Branch (1150:9): [True: 0, False: 54.7k]
  ------------------
 1151|      0|        goto error;
 1152|  54.7k|    scopes = PyDict_New();  /* collect scopes defined for each name */
 1153|  54.7k|    if (!scopes)
  ------------------
  |  Branch (1153:9): [True: 0, False: 54.7k]
  ------------------
 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|  54.7k|    newglobal = PySet_New(NULL);
 1168|  54.7k|    if (!newglobal)
  ------------------
  |  Branch (1168:9): [True: 0, False: 54.7k]
  ------------------
 1169|      0|        goto error;
 1170|  54.7k|    newfree = PySet_New(NULL);
 1171|  54.7k|    if (!newfree)
  ------------------
  |  Branch (1171:9): [True: 0, False: 54.7k]
  ------------------
 1172|      0|        goto error;
 1173|  54.7k|    newbound = PySet_New(NULL);
 1174|  54.7k|    if (!newbound)
  ------------------
  |  Branch (1174:9): [True: 0, False: 54.7k]
  ------------------
 1175|      0|        goto error;
 1176|  54.7k|    inlined_cells = PySet_New(NULL);
 1177|  54.7k|    if (!inlined_cells)
  ------------------
  |  Branch (1177:9): [True: 0, False: 54.7k]
  ------------------
 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|  54.7k|    if (ste->ste_type == ClassBlock) {
  ------------------
  |  Branch (1185:9): [True: 12.1k, False: 42.6k]
  ------------------
 1186|       |        /* Pass down known globals */
 1187|  12.1k|        temp = PyNumber_InPlaceOr(newglobal, global);
 1188|  12.1k|        if (!temp)
  ------------------
  |  Branch (1188:13): [True: 0, False: 12.1k]
  ------------------
 1189|      0|            goto error;
 1190|  12.1k|        Py_DECREF(temp);
  ------------------
  |  |  430|  12.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1191|       |        /* Pass down previously bound symbols */
 1192|  12.1k|        if (bound) {
  ------------------
  |  Branch (1192:13): [True: 12.1k, False: 0]
  ------------------
 1193|  12.1k|            temp = PyNumber_InPlaceOr(newbound, bound);
 1194|  12.1k|            if (!temp)
  ------------------
  |  Branch (1194:17): [True: 0, False: 12.1k]
  ------------------
 1195|      0|                goto error;
 1196|  12.1k|            Py_DECREF(temp);
  ------------------
  |  |  430|  12.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1197|  12.1k|        }
 1198|  12.1k|    }
 1199|       |
 1200|   290k|    while (PyDict_Next(ste->ste_symbols, &pos, &name, &v)) {
  ------------------
  |  Branch (1200:12): [True: 235k, False: 54.7k]
  ------------------
 1201|   235k|        long flags = PyLong_AsLong(v);
 1202|   235k|        if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1202:13): [True: 0, False: 235k]
  |  Branch (1202:28): [True: 0, False: 0]
  ------------------
 1203|      0|            goto error;
 1204|      0|        }
 1205|   235k|        if (!analyze_name(ste, scopes, name, flags,
  ------------------
  |  Branch (1205:13): [True: 28, False: 235k]
  ------------------
 1206|   235k|                          bound, local, free, global, type_params, class_entry))
 1207|     28|            goto error;
 1208|   235k|    }
 1209|       |
 1210|       |    /* Populate global and bound sets to be passed to children. */
 1211|  54.7k|    if (ste->ste_type != ClassBlock) {
  ------------------
  |  Branch (1211:9): [True: 42.5k, False: 12.1k]
  ------------------
 1212|       |        /* Add function locals to bound set */
 1213|  42.5k|        if (_PyST_IsFunctionLike(ste)) {
  ------------------
  |  Branch (1213:13): [True: 32.0k, False: 10.5k]
  ------------------
 1214|  32.0k|            temp = PyNumber_InPlaceOr(newbound, local);
 1215|  32.0k|            if (!temp)
  ------------------
  |  Branch (1215:17): [True: 0, False: 32.0k]
  ------------------
 1216|      0|                goto error;
 1217|  32.0k|            Py_DECREF(temp);
  ------------------
  |  |  430|  32.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  32.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1218|  32.0k|        }
 1219|       |        /* Pass down previously bound symbols */
 1220|  42.5k|        if (bound) {
  ------------------
  |  Branch (1220:13): [True: 32.0k, False: 10.5k]
  ------------------
 1221|  32.0k|            temp = PyNumber_InPlaceOr(newbound, bound);
 1222|  32.0k|            if (!temp)
  ------------------
  |  Branch (1222:17): [True: 0, False: 32.0k]
  ------------------
 1223|      0|                goto error;
 1224|  32.0k|            Py_DECREF(temp);
  ------------------
  |  |  430|  32.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  32.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1225|  32.0k|        }
 1226|       |        /* Pass down known globals */
 1227|  42.5k|        temp = PyNumber_InPlaceOr(newglobal, global);
 1228|  42.5k|        if (!temp)
  ------------------
  |  Branch (1228:13): [True: 0, False: 42.5k]
  ------------------
 1229|      0|            goto error;
 1230|  42.5k|        Py_DECREF(temp);
  ------------------
  |  |  430|  42.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  42.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  42.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1231|  42.5k|    }
 1232|  12.1k|    else {
 1233|       |        /* Special-case __class__ and __classdict__ */
 1234|  12.1k|        if (PySet_Add(newbound, &_Py_ID(__class__)) < 0)
  ------------------
  |  |  921|  12.1k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  12.1k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  12.1k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1234:13): [True: 0, False: 12.1k]
  ------------------
 1235|      0|            goto error;
 1236|  12.1k|        if (PySet_Add(newbound, &_Py_ID(__classdict__)) < 0)
  ------------------
  |  |  921|  12.1k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  12.1k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  12.1k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1236:13): [True: 0, False: 12.1k]
  ------------------
 1237|      0|            goto error;
 1238|  12.1k|        if (PySet_Add(newbound, &_Py_ID(__conditional_annotations__)) < 0)
  ------------------
  |  |  921|  12.1k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  12.1k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  12.1k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1238:13): [True: 0, False: 12.1k]
  ------------------
 1239|      0|            goto error;
 1240|  12.1k|    }
 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|  98.9k|    for (i = 0; i < PyList_GET_SIZE(ste->ste_children); ++i) {
  ------------------
  |  |   38|  98.9k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  98.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  98.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1248:17): [True: 44.1k, False: 54.7k]
  ------------------
 1249|  44.1k|        PyObject *child_free = NULL;
 1250|  44.1k|        PyObject *c = PyList_GET_ITEM(ste->ste_children, i);
  ------------------
  |  |   40|  44.1k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  44.1k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1250:23): [True: 44.1k, False: 0]
  ------------------
 1251|      0|        PySTEntryObject* entry;
 1252|  44.1k|        assert(c && PySTEntry_Check(c));
  ------------------
  |  Branch (1252:9): [True: 44.1k, False: 0]
  |  Branch (1252:9): [True: 44.1k, False: 0]
  ------------------
 1253|  44.1k|        entry = (PySTEntryObject*)c;
 1254|       |
 1255|  44.1k|        PySTEntryObject *new_class_entry = NULL;
 1256|  44.1k|        if (entry->ste_can_see_class_scope) {
  ------------------
  |  Branch (1256:13): [True: 5.33k, False: 38.8k]
  ------------------
 1257|  5.33k|            if (ste->ste_type == ClassBlock) {
  ------------------
  |  Branch (1257:17): [True: 5.28k, False: 49]
  ------------------
 1258|  5.28k|                new_class_entry = ste;
 1259|  5.28k|            }
 1260|     49|            else if (class_entry) {
  ------------------
  |  Branch (1260:22): [True: 49, False: 0]
  ------------------
 1261|     49|                new_class_entry = class_entry;
 1262|     49|            }
 1263|  5.33k|        }
 1264|       |
 1265|       |        // we inline all non-generator-expression comprehensions,
 1266|       |        // except those in annotation scopes that are nested in classes
 1267|  44.1k|        int inline_comp =
 1268|  44.1k|            entry->ste_comprehension &&
  ------------------
  |  Branch (1268:13): [True: 3.67k, False: 40.5k]
  ------------------
 1269|  3.67k|            !entry->ste_generator &&
  ------------------
  |  Branch (1269:13): [True: 3.29k, False: 383]
  ------------------
 1270|  3.29k|            !ste->ste_can_see_class_scope;
  ------------------
  |  Branch (1270:13): [True: 3.29k, False: 0]
  ------------------
 1271|       |
 1272|  44.1k|        if (!analyze_child_block(entry, newbound, newfree, newglobal,
  ------------------
  |  Branch (1272:13): [True: 5, False: 44.1k]
  ------------------
 1273|  44.1k|                                 type_params, new_class_entry, &child_free))
 1274|      5|        {
 1275|      5|            goto error;
 1276|      5|        }
 1277|  44.1k|        if (inline_comp) {
  ------------------
  |  Branch (1277:13): [True: 3.29k, False: 40.8k]
  ------------------
 1278|  3.29k|            if (!inline_comprehension(ste, entry, scopes, child_free, inlined_cells)) {
  ------------------
  |  Branch (1278:17): [True: 0, False: 3.29k]
  ------------------
 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|  3.29k|            entry->ste_comp_inlined = 1;
 1283|  3.29k|        }
 1284|  44.1k|        temp = PyNumber_InPlaceOr(newfree, child_free);
 1285|  44.1k|        Py_DECREF(child_free);
  ------------------
  |  |  430|  44.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  44.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1286|  44.1k|        if (!temp)
  ------------------
  |  Branch (1286:13): [True: 0, False: 44.1k]
  ------------------
 1287|      0|            goto error;
 1288|  44.1k|        Py_DECREF(temp);
  ------------------
  |  |  430|  44.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  44.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1289|  44.1k|    }
 1290|       |
 1291|       |    /* Splice children of inlined comprehensions into our children list */
 1292|  98.9k|    for (i = PyList_GET_SIZE(ste->ste_children) - 1; i >= 0; --i) {
  ------------------
  |  |   38|  54.7k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1292:54): [True: 44.1k, False: 54.7k]
  ------------------
 1293|  44.1k|        PyObject* c = PyList_GET_ITEM(ste->ste_children, i);
  ------------------
  |  |   40|  44.1k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  44.1k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1293:23): [True: 44.1k, False: 0]
  ------------------
 1294|      0|        PySTEntryObject* entry;
 1295|  44.1k|        assert(c && PySTEntry_Check(c));
  ------------------
  |  Branch (1295:9): [True: 44.1k, False: 0]
  |  Branch (1295:9): [True: 44.1k, False: 0]
  ------------------
 1296|  44.1k|        entry = (PySTEntryObject*)c;
 1297|  44.1k|        if (entry->ste_comp_inlined &&
  ------------------
  |  Branch (1297:13): [True: 3.29k, False: 40.8k]
  ------------------
 1298|  3.29k|            PyList_SetSlice(ste->ste_children, i, i + 1,
  ------------------
  |  Branch (1298:13): [True: 0, False: 3.29k]
  ------------------
 1299|  3.29k|                            entry->ste_children) < 0)
 1300|      0|        {
 1301|      0|            goto error;
 1302|      0|        }
 1303|  44.1k|    }
 1304|       |
 1305|       |    /* Check if any local variables must be converted to cell variables */
 1306|  54.7k|    if (_PyST_IsFunctionLike(ste) && !analyze_cells(scopes, newfree, inlined_cells))
  ------------------
  |  Branch (1306:9): [True: 32.0k, False: 22.7k]
  |  Branch (1306:38): [True: 0, False: 32.0k]
  ------------------
 1307|      0|        goto error;
 1308|  54.7k|    else if (ste->ste_type == ClassBlock && !drop_class_free(ste, newfree))
  ------------------
  |  Branch (1308:14): [True: 12.1k, False: 42.5k]
  |  Branch (1308:45): [True: 0, False: 12.1k]
  ------------------
 1309|      0|        goto error;
 1310|       |    /* Records the results of the analysis in the symbol table entry */
 1311|  54.7k|    if (!update_symbols(ste->ste_symbols, scopes, bound, newfree, inlined_cells,
  ------------------
  |  Branch (1311:9): [True: 0, False: 54.7k]
  ------------------
 1312|  54.7k|                        (ste->ste_type == ClassBlock) || ste->ste_can_see_class_scope))
  ------------------
  |  Branch (1312:25): [True: 12.1k, False: 42.5k]
  |  Branch (1312:58): [True: 5.33k, False: 37.2k]
  ------------------
 1313|      0|        goto error;
 1314|       |
 1315|  54.7k|    temp = PyNumber_InPlaceOr(free, newfree);
 1316|  54.7k|    if (!temp)
  ------------------
  |  Branch (1316:9): [True: 0, False: 54.7k]
  ------------------
 1317|      0|        goto error;
 1318|  54.7k|    Py_DECREF(temp);
  ------------------
  |  |  430|  54.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1319|  54.7k|    success = 1;
 1320|  54.7k| error:
 1321|  54.7k|    Py_XDECREF(scopes);
  ------------------
  |  |  524|  54.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1322|  54.7k|    Py_XDECREF(local);
  ------------------
  |  |  524|  54.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1323|  54.7k|    Py_XDECREF(newbound);
  ------------------
  |  |  524|  54.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1324|  54.7k|    Py_XDECREF(newglobal);
  ------------------
  |  |  524|  54.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1325|  54.7k|    Py_XDECREF(newfree);
  ------------------
  |  |  524|  54.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1326|  54.7k|    Py_XDECREF(inlined_cells);
  ------------------
  |  |  524|  54.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1327|  54.7k|    if (!success)
  ------------------
  |  Branch (1327:9): [True: 33, False: 54.7k]
  ------------------
 1328|  54.7k|        assert(PyErr_Occurred());
  ------------------
  |  Branch (1328:9): [True: 33, False: 0]
  ------------------
 1329|  54.7k|    return success;
 1330|  54.7k|}
symtable.c:analyze_name:
  672|   235k|{
  673|   235k|    int contains;
  674|   235k|    if (flags & DEF_GLOBAL) {
  ------------------
  |  |  165|   235k|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
  |  Branch (674:9): [True: 874, False: 234k]
  ------------------
  675|    874|        if (flags & DEF_NONLOCAL) {
  ------------------
  |  |  168|    874|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (675:13): [True: 3, False: 871]
  ------------------
  676|      3|            PyErr_Format(PyExc_SyntaxError,
  677|      3|                         "name '%U' is nonlocal and global",
  678|      3|                         name);
  679|      3|            return error_at_directive(ste, name);
  680|      3|        }
  681|    871|        SET_SCOPE(scopes, name, GLOBAL_EXPLICIT);
  ------------------
  |  |  650|    871|    do { \
  |  |  651|    871|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|    871|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 871]
  |  |  ------------------
  |  |  653|    871|            return 0; \
  |  |  654|    871|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 871]
  |  |  ------------------
  |  |  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|    871|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|    871|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 871]
  |  |  ------------------
  ------------------
  682|    871|        if (PySet_Add(global, name) < 0)
  ------------------
  |  Branch (682:13): [True: 0, False: 871]
  ------------------
  683|      0|            return 0;
  684|    871|        if (bound && (PySet_Discard(bound, name) < 0))
  ------------------
  |  Branch (684:13): [True: 631, False: 240]
  |  Branch (684:22): [True: 0, False: 631]
  ------------------
  685|      0|            return 0;
  686|    871|        return 1;
  687|    871|    }
  688|   234k|    if (flags & DEF_NONLOCAL) {
  ------------------
  |  |  168|   234k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (688:9): [True: 1.24k, False: 233k]
  ------------------
  689|  1.24k|        if (!bound) {
  ------------------
  |  Branch (689:13): [True: 21, False: 1.22k]
  ------------------
  690|     21|            PyErr_Format(PyExc_SyntaxError,
  691|     21|                         "nonlocal declaration not allowed at module level");
  692|     21|            return error_at_directive(ste, name);
  693|     21|        }
  694|  1.22k|        contains = PySet_Contains(bound, name);
  695|  1.22k|        if (contains < 0) {
  ------------------
  |  Branch (695:13): [True: 0, False: 1.22k]
  ------------------
  696|      0|            return 0;
  697|      0|        }
  698|  1.22k|        if (!contains) {
  ------------------
  |  Branch (698:13): [True: 4, False: 1.22k]
  ------------------
  699|      4|            PyErr_Format(PyExc_SyntaxError,
  700|      4|                         "no binding for nonlocal '%U' found",
  701|      4|                         name);
  702|       |
  703|      4|            return error_at_directive(ste, name);
  704|      4|        }
  705|  1.22k|        contains = PySet_Contains(type_params, name);
  706|  1.22k|        if (contains < 0) {
  ------------------
  |  Branch (706:13): [True: 0, False: 1.22k]
  ------------------
  707|      0|            return 0;
  708|      0|        }
  709|  1.22k|        if (contains) {
  ------------------
  |  Branch (709:13): [True: 0, False: 1.22k]
  ------------------
  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|  1.22k|        SET_SCOPE(scopes, name, FREE);
  ------------------
  |  |  650|  1.22k|    do { \
  |  |  651|  1.22k|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|  1.22k|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 1.22k]
  |  |  ------------------
  |  |  653|  1.22k|            return 0; \
  |  |  654|  1.22k|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 1.22k]
  |  |  ------------------
  |  |  655|      0|            Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  656|      0|            return 0; \
  |  |  657|      0|        } \
  |  |  658|  1.22k|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|  1.22k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|  1.22k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 1.22k]
  |  |  ------------------
  ------------------
  716|  1.22k|        return PySet_Add(free, name) >= 0;
  717|  1.22k|    }
  718|   233k|    if (flags & DEF_BOUND) {
  ------------------
  |  |  177|   233k|#define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  166|   233k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  167|   233k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  171|   233k|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  |  |  ------------------
  ------------------
  |  Branch (718:9): [True: 128k, False: 104k]
  ------------------
  719|   128k|        SET_SCOPE(scopes, name, LOCAL);
  ------------------
  |  |  650|   128k|    do { \
  |  |  651|   128k|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|   128k|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 128k]
  |  |  ------------------
  |  |  653|   128k|            return 0; \
  |  |  654|   128k|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 128k]
  |  |  ------------------
  |  |  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|   128k|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|   128k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   128k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   128k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|   128k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 128k]
  |  |  ------------------
  ------------------
  720|   128k|        if (PySet_Add(local, name) < 0)
  ------------------
  |  Branch (720:13): [True: 0, False: 128k]
  ------------------
  721|      0|            return 0;
  722|   128k|        if (PySet_Discard(global, name) < 0)
  ------------------
  |  Branch (722:13): [True: 0, False: 128k]
  ------------------
  723|      0|            return 0;
  724|   128k|        if (flags & DEF_TYPE_PARAM) {
  ------------------
  |  |  174|   128k|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
  |  Branch (724:13): [True: 7.99k, False: 120k]
  ------------------
  725|  7.99k|            if (PySet_Add(type_params, name) < 0)
  ------------------
  |  Branch (725:17): [True: 0, False: 7.99k]
  ------------------
  726|      0|                return 0;
  727|  7.99k|        }
  728|   120k|        else {
  729|   120k|            if (PySet_Discard(type_params, name) < 0)
  ------------------
  |  Branch (729:17): [True: 0, False: 120k]
  ------------------
  730|      0|                return 0;
  731|   120k|        }
  732|   128k|        return 1;
  733|   128k|    }
  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|   104k|    if (class_entry != NULL) {
  ------------------
  |  Branch (741:9): [True: 13.9k, False: 91.0k]
  ------------------
  742|  13.9k|        long class_flags = _PyST_GetSymbol(class_entry, name);
  743|  13.9k|        if (class_flags < 0) {
  ------------------
  |  Branch (743:13): [True: 0, False: 13.9k]
  ------------------
  744|      0|            return 0;
  745|      0|        }
  746|  13.9k|        if (class_flags & DEF_GLOBAL) {
  ------------------
  |  |  165|  13.9k|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
  |  Branch (746:13): [True: 105, False: 13.8k]
  ------------------
  747|    105|            SET_SCOPE(scopes, name, GLOBAL_EXPLICIT);
  ------------------
  |  |  650|    105|    do { \
  |  |  651|    105|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|    105|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 105]
  |  |  ------------------
  |  |  653|    105|            return 0; \
  |  |  654|    105|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 105]
  |  |  ------------------
  |  |  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|    105|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|    105|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    105|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|    105|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 105]
  |  |  ------------------
  ------------------
  748|    105|            return 1;
  749|    105|        }
  750|  13.8k|        else if ((class_flags & DEF_BOUND) && !(class_flags & DEF_NONLOCAL)) {
  ------------------
  |  |  177|  13.8k|#define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  166|  13.8k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  167|  13.8k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  171|  13.8k|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  |  |  ------------------
  ------------------
                      else if ((class_flags & DEF_BOUND) && !(class_flags & DEF_NONLOCAL)) {
  ------------------
  |  |  168|    526|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (750:18): [True: 526, False: 13.3k]
  |  Branch (750:47): [True: 526, False: 0]
  ------------------
  751|    526|            SET_SCOPE(scopes, name, GLOBAL_IMPLICIT);
  ------------------
  |  |  650|    526|    do { \
  |  |  651|    526|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|    526|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 526]
  |  |  ------------------
  |  |  653|    526|            return 0; \
  |  |  654|    526|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 526]
  |  |  ------------------
  |  |  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|    526|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|    526|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    526|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    526|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|    526|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 526]
  |  |  ------------------
  ------------------
  752|    526|            return 1;
  753|    526|        }
  754|  13.9k|    }
  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|   104k|    if (bound) {
  ------------------
  |  Branch (760:9): [True: 80.9k, False: 23.3k]
  ------------------
  761|  80.9k|        contains = PySet_Contains(bound, name);
  762|  80.9k|        if (contains < 0) {
  ------------------
  |  Branch (762:13): [True: 0, False: 80.9k]
  ------------------
  763|      0|            return 0;
  764|      0|        }
  765|  80.9k|        if (contains) {
  ------------------
  |  Branch (765:13): [True: 8.24k, False: 72.7k]
  ------------------
  766|  8.24k|            SET_SCOPE(scopes, name, FREE);
  ------------------
  |  |  650|  8.24k|    do { \
  |  |  651|  8.24k|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|  8.24k|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 8.24k]
  |  |  ------------------
  |  |  653|  8.24k|            return 0; \
  |  |  654|  8.24k|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 8.24k]
  |  |  ------------------
  |  |  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|  8.24k|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|  8.24k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|  8.24k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 8.24k]
  |  |  ------------------
  ------------------
  767|  8.24k|            return PySet_Add(free, name) >= 0;
  768|  8.24k|        }
  769|  80.9k|    }
  770|       |    /* If a parent has a global statement, then call it global
  771|       |       explicit?  It could also be global implicit.
  772|       |     */
  773|  96.0k|    if (global) {
  ------------------
  |  Branch (773:9): [True: 96.0k, False: 0]
  ------------------
  774|  96.0k|        contains = PySet_Contains(global, name);
  775|  96.0k|        if (contains < 0) {
  ------------------
  |  Branch (775:13): [True: 0, False: 96.0k]
  ------------------
  776|      0|            return 0;
  777|      0|        }
  778|  96.0k|        if (contains) {
  ------------------
  |  Branch (778:13): [True: 1.24k, False: 94.8k]
  ------------------
  779|  1.24k|            SET_SCOPE(scopes, name, GLOBAL_IMPLICIT);
  ------------------
  |  |  650|  1.24k|    do { \
  |  |  651|  1.24k|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|  1.24k|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 1.24k]
  |  |  ------------------
  |  |  653|  1.24k|            return 0; \
  |  |  654|  1.24k|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 1.24k]
  |  |  ------------------
  |  |  655|      0|            Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  656|      0|            return 0; \
  |  |  657|      0|        } \
  |  |  658|  1.24k|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|  1.24k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|  1.24k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 1.24k]
  |  |  ------------------
  ------------------
  780|  1.24k|            return 1;
  781|  1.24k|        }
  782|  96.0k|    }
  783|  94.8k|    SET_SCOPE(scopes, name, GLOBAL_IMPLICIT);
  ------------------
  |  |  650|  94.8k|    do { \
  |  |  651|  94.8k|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|  94.8k|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 94.8k]
  |  |  ------------------
  |  |  653|  94.8k|            return 0; \
  |  |  654|  94.8k|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 94.8k]
  |  |  ------------------
  |  |  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|  94.8k|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|  94.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  94.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  94.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|  94.8k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 94.8k]
  |  |  ------------------
  ------------------
  784|  94.8k|    return 1;
  785|  94.8k|}
symtable.c:error_at_directive:
  580|     28|{
  581|     28|    Py_ssize_t i;
  582|     28|    PyObject *data;
  583|     28|    assert(ste->ste_directives);
  ------------------
  |  Branch (583:5): [True: 28, False: 0]
  ------------------
  584|    151|    for (i = 0; i < PyList_GET_SIZE(ste->ste_directives); i++) {
  ------------------
  |  |   38|    151|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    151|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    151|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (584:17): [True: 151, False: 0]
  ------------------
  585|    151|        data = PyList_GET_ITEM(ste->ste_directives, i);
  ------------------
  |  |   40|    151|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|    151|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    151|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (585:16): [True: 151, False: 0]
  ------------------
  586|    151|        assert(PyTuple_CheckExact(data));
  ------------------
  |  Branch (586:9): [True: 151, False: 0]
  ------------------
  587|    151|        assert(PyUnicode_CheckExact(PyTuple_GET_ITEM(data, 0)));
  ------------------
  |  Branch (587:9): [True: 151, False: 0]
  |  Branch (587:9): [True: 151, False: 0]
  ------------------
  588|    151|        if (PyUnicode_Compare(PyTuple_GET_ITEM(data, 0), name) == 0) {
  ------------------
  |  |   29|    151|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    151|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    151|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (588:13): [True: 28, False: 123]
  |  Branch (588:31): [True: 151, False: 0]
  ------------------
  589|     28|            PyErr_RangedSyntaxLocationObject(ste->ste_table->st_filename,
  590|     28|                                             PyLong_AsLong(PyTuple_GET_ITEM(data, 1)),
  ------------------
  |  |   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 (590:60): [True: 28, False: 0]
  ------------------
  591|     28|                                             PyLong_AsLong(PyTuple_GET_ITEM(data, 2)) + 1,
  ------------------
  |  |   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 (591:60): [True: 28, False: 0]
  ------------------
  592|     28|                                             PyLong_AsLong(PyTuple_GET_ITEM(data, 3)),
  ------------------
  |  |   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 (592:60): [True: 28, False: 0]
  ------------------
  593|     28|                                             PyLong_AsLong(PyTuple_GET_ITEM(data, 4)) + 1);
  ------------------
  |  |   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 (593:60): [True: 28, False: 0]
  ------------------
  594|       |
  595|      0|            return 0;
  596|     28|        }
  597|    151|    }
  598|      0|    PyErr_SetString(PyExc_RuntimeError,
  599|      0|                    "BUG: internal directive bookkeeping broken");
  600|      0|    return 0;
  601|     28|}
symtable.c:analyze_child_block:
 1336|  44.1k|{
 1337|  44.1k|    PyObject *temp_bound = NULL, *temp_global = NULL, *temp_free = NULL;
 1338|  44.1k|    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|  44.1k|    temp_bound = PySet_New(bound);
 1348|  44.1k|    if (!temp_bound)
  ------------------
  |  Branch (1348:9): [True: 0, False: 44.1k]
  ------------------
 1349|      0|        goto error;
 1350|  44.1k|    temp_free = PySet_New(free);
 1351|  44.1k|    if (!temp_free)
  ------------------
  |  Branch (1351:9): [True: 0, False: 44.1k]
  ------------------
 1352|      0|        goto error;
 1353|  44.1k|    temp_global = PySet_New(global);
 1354|  44.1k|    if (!temp_global)
  ------------------
  |  Branch (1354:9): [True: 0, False: 44.1k]
  ------------------
 1355|      0|        goto error;
 1356|  44.1k|    temp_type_params = PySet_New(type_params);
 1357|  44.1k|    if (!temp_type_params)
  ------------------
  |  Branch (1357:9): [True: 0, False: 44.1k]
  ------------------
 1358|      0|        goto error;
 1359|       |
 1360|  44.1k|    if (!analyze_block(entry, temp_bound, temp_free, temp_global,
  ------------------
  |  Branch (1360:9): [True: 5, False: 44.1k]
  ------------------
 1361|  44.1k|                       temp_type_params, class_entry))
 1362|      5|        goto error;
 1363|  44.1k|    *child_free = temp_free;
 1364|  44.1k|    Py_DECREF(temp_bound);
  ------------------
  |  |  430|  44.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  44.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1365|  44.1k|    Py_DECREF(temp_global);
  ------------------
  |  |  430|  44.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  44.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1366|  44.1k|    Py_DECREF(temp_type_params);
  ------------------
  |  |  430|  44.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  44.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1367|  44.1k|    return 1;
 1368|      5| error:
 1369|      5|    Py_XDECREF(temp_bound);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1370|      5|    Py_XDECREF(temp_free);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1371|      5|    Py_XDECREF(temp_global);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1372|      5|    Py_XDECREF(temp_type_params);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1373|      5|    return 0;
 1374|  44.1k|}
symtable.c:inline_comprehension:
  808|  3.29k|{
  809|  3.29k|    PyObject *k, *v;
  810|  3.29k|    Py_ssize_t pos = 0;
  811|  3.29k|    int remove_dunder_class = 0;
  812|  3.29k|    int remove_dunder_classdict = 0;
  813|  3.29k|    int remove_dunder_cond_annotations = 0;
  814|       |
  815|  19.5k|    while (PyDict_Next(comp->ste_symbols, &pos, &k, &v)) {
  ------------------
  |  Branch (815:12): [True: 16.3k, False: 3.29k]
  ------------------
  816|       |        // skip comprehension parameter
  817|  16.3k|        long comp_flags = PyLong_AsLong(v);
  818|  16.3k|        if (comp_flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (818:13): [True: 0, False: 16.3k]
  |  Branch (818:33): [True: 0, False: 0]
  ------------------
  819|      0|            return 0;
  820|      0|        }
  821|  16.3k|        if (comp_flags & DEF_PARAM) {
  ------------------
  |  |  167|  16.3k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (821:13): [True: 3.29k, False: 13.0k]
  ------------------
  822|  3.29k|            assert(_PyUnicode_EqualToASCIIString(k, ".0"));
  ------------------
  |  Branch (822:13): [True: 3.29k, False: 0]
  ------------------
  823|  3.29k|            continue;
  824|  3.29k|        }
  825|  13.0k|        int scope = SYMBOL_TO_SCOPE(comp_flags);
  ------------------
  |  |  185|  13.0k|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  183|  13.0k|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  184|  13.0k|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|  13.0k|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  166|  13.0k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  167|  13.0k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  168|  13.0k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  826|  13.0k|        int only_flags = comp_flags & ((1 << SCOPE_OFFSET) - 1);
  ------------------
  |  |  183|  13.0k|#define SCOPE_OFFSET 12
  ------------------
  827|  13.0k|        if (scope == CELL || only_flags & DEF_COMP_CELL) {
  ------------------
  |  |  191|  26.0k|#define CELL 5
  ------------------
                      if (scope == CELL || only_flags & DEF_COMP_CELL) {
  ------------------
  |  |  175|  13.0k|#define DEF_COMP_CELL (2<<10)    /* this name is a cell in an inlined comprehension */
  ------------------
  |  Branch (827:13): [True: 0, False: 13.0k]
  |  Branch (827:30): [True: 0, False: 13.0k]
  ------------------
  828|      0|            if (PySet_Add(inlined_cells, k) < 0) {
  ------------------
  |  Branch (828:17): [True: 0, False: 0]
  ------------------
  829|      0|                return 0;
  830|      0|            }
  831|      0|        }
  832|  13.0k|        PyObject *existing = PyDict_GetItemWithError(ste->ste_symbols, k);
  833|  13.0k|        if (existing == NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (833:13): [True: 6.62k, False: 6.39k]
  |  Branch (833:33): [True: 0, False: 6.62k]
  ------------------
  834|      0|            return 0;
  835|      0|        }
  836|       |        // __class__, __classdict__ and __conditional_annotations__ are
  837|       |        // not allowed to be free through a class scope (see
  838|       |        // drop_class_free) unless children scopes need it
  839|  13.0k|        if (scope == FREE && ste->ste_type == ClassBlock &&
  ------------------
  |  |  190|  26.0k|#define FREE 4
  ------------------
  |  Branch (839:13): [True: 1.23k, False: 11.7k]
  |  Branch (839:30): [True: 0, False: 1.23k]
  ------------------
  840|      0|                (_PyUnicode_EqualToASCIIString(k, "__class__") ||
  ------------------
  |  Branch (840:18): [True: 0, False: 0]
  ------------------
  841|      0|                 _PyUnicode_EqualToASCIIString(k, "__classdict__") ||
  ------------------
  |  Branch (841:18): [True: 0, False: 0]
  ------------------
  842|      0|                 _PyUnicode_EqualToASCIIString(k, "__conditional_annotations__"))) {
  ------------------
  |  Branch (842:18): [True: 0, False: 0]
  ------------------
  843|      0|            scope = GLOBAL_IMPLICIT;
  ------------------
  |  |  189|      0|#define GLOBAL_IMPLICIT 3
  ------------------
  844|      0|            int child_needs_free = is_free_in_any_child(comp, k);
  845|      0|            if (child_needs_free < 0) {
  ------------------
  |  Branch (845:17): [True: 0, False: 0]
  ------------------
  846|      0|                return 0;
  847|      0|            }
  848|      0|            if (!child_needs_free) {
  ------------------
  |  Branch (848:17): [True: 0, False: 0]
  ------------------
  849|      0|                if (PySet_Discard(comp_free, k) < 0) {
  ------------------
  |  Branch (849:21): [True: 0, False: 0]
  ------------------
  850|      0|                    return 0;
  851|      0|                }
  852|      0|            }
  853|      0|            if (_PyUnicode_EqualToASCIIString(k, "__class__")) {
  ------------------
  |  Branch (853:17): [True: 0, False: 0]
  ------------------
  854|      0|                remove_dunder_class = 1;
  855|      0|            }
  856|      0|            else if (_PyUnicode_EqualToASCIIString(k, "__conditional_annotations__")) {
  ------------------
  |  Branch (856:22): [True: 0, False: 0]
  ------------------
  857|      0|                remove_dunder_cond_annotations = 1;
  858|      0|            }
  859|      0|            else {
  860|      0|                remove_dunder_classdict = 1;
  861|      0|            }
  862|      0|        }
  863|  13.0k|        if (!existing) {
  ------------------
  |  Branch (863:13): [True: 6.62k, False: 6.39k]
  ------------------
  864|       |            // name does not exist in scope, copy from comprehension
  865|  6.62k|            assert(scope != FREE || PySet_Contains(comp_free, k) == 1);
  ------------------
  |  Branch (865:13): [True: 6.33k, False: 285]
  |  Branch (865:13): [True: 285, False: 0]
  ------------------
  866|  6.62k|            PyObject *v_flags = PyLong_FromLong(only_flags);
  867|  6.62k|            if (v_flags == NULL) {
  ------------------
  |  Branch (867:17): [True: 0, False: 6.62k]
  ------------------
  868|      0|                return 0;
  869|      0|            }
  870|  6.62k|            int ok = PyDict_SetItem(ste->ste_symbols, k, v_flags);
  871|  6.62k|            Py_DECREF(v_flags);
  ------------------
  |  |  430|  6.62k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  872|  6.62k|            if (ok < 0) {
  ------------------
  |  Branch (872:17): [True: 0, False: 6.62k]
  ------------------
  873|      0|                return 0;
  874|      0|            }
  875|  6.62k|            SET_SCOPE(scopes, k, scope);
  ------------------
  |  |  650|  6.62k|    do { \
  |  |  651|  6.62k|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|  6.62k|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 6.62k]
  |  |  ------------------
  |  |  653|  6.62k|            return 0; \
  |  |  654|  6.62k|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 6.62k]
  |  |  ------------------
  |  |  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|  6.62k|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|  6.62k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|  6.62k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 6.62k]
  |  |  ------------------
  ------------------
  876|  6.62k|        }
  877|  6.39k|        else {
  878|  6.39k|            long flags = PyLong_AsLong(existing);
  879|  6.39k|            if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (879:17): [True: 0, False: 6.39k]
  |  Branch (879:32): [True: 0, False: 0]
  ------------------
  880|      0|                return 0;
  881|      0|            }
  882|  6.39k|            if ((flags & DEF_BOUND) && ste->ste_type != ClassBlock) {
  ------------------
  |  |  177|  6.39k|#define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  166|  6.39k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  167|  6.39k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  171|  6.39k|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  |  |  ------------------
  ------------------
  |  Branch (882:17): [True: 3.26k, False: 3.12k]
  |  Branch (882:40): [True: 3.26k, False: 0]
  ------------------
  883|       |                // free vars in comprehension that are locals in outer scope can
  884|       |                // now simply be locals, unless they are free in comp children,
  885|       |                // or if the outer scope is a class block
  886|  3.26k|                int ok = is_free_in_any_child(comp, k);
  887|  3.26k|                if (ok < 0) {
  ------------------
  |  Branch (887:21): [True: 0, False: 3.26k]
  ------------------
  888|      0|                    return 0;
  889|      0|                }
  890|  3.26k|                if (!ok) {
  ------------------
  |  Branch (890:21): [True: 3.26k, False: 0]
  ------------------
  891|  3.26k|                    if (PySet_Discard(comp_free, k) < 0) {
  ------------------
  |  Branch (891:25): [True: 0, False: 3.26k]
  ------------------
  892|      0|                        return 0;
  893|      0|                    }
  894|  3.26k|                }
  895|  3.26k|            }
  896|  6.39k|        }
  897|  13.0k|    }
  898|  3.29k|    if (remove_dunder_class && PyDict_DelItemString(comp->ste_symbols, "__class__") < 0) {
  ------------------
  |  Branch (898:9): [True: 0, False: 3.29k]
  |  Branch (898:32): [True: 0, False: 0]
  ------------------
  899|      0|        return 0;
  900|      0|    }
  901|  3.29k|    if (remove_dunder_classdict && PyDict_DelItemString(comp->ste_symbols, "__classdict__") < 0) {
  ------------------
  |  Branch (901:9): [True: 0, False: 3.29k]
  |  Branch (901:36): [True: 0, False: 0]
  ------------------
  902|      0|        return 0;
  903|      0|    }
  904|  3.29k|    if (remove_dunder_cond_annotations && PyDict_DelItemString(comp->ste_symbols, "__conditional_annotations__") < 0) {
  ------------------
  |  Branch (904:9): [True: 0, False: 3.29k]
  |  Branch (904:43): [True: 0, False: 0]
  ------------------
  905|      0|        return 0;
  906|      0|    }
  907|  3.29k|    return 1;
  908|  3.29k|}
symtable.c:is_free_in_any_child:
  789|  3.26k|{
  790|  3.34k|    for (Py_ssize_t i = 0; i < PyList_GET_SIZE(entry->ste_children); i++) {
  ------------------
  |  |   38|  3.34k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (790:28): [True: 82, False: 3.26k]
  ------------------
  791|     82|        PySTEntryObject *child_ste = (PySTEntryObject *)PyList_GET_ITEM(
  ------------------
  |  |   40|     82|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|     82|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (791:57): [True: 82, False: 0]
  ------------------
  792|     82|            entry->ste_children, i);
  793|      0|        long scope = _PyST_GetScope(child_ste, key);
  794|     82|        if (scope < 0) {
  ------------------
  |  Branch (794:13): [True: 0, False: 82]
  ------------------
  795|      0|            return -1;
  796|      0|        }
  797|     82|        if (scope == FREE) {
  ------------------
  |  |  190|     82|#define FREE 4
  ------------------
  |  Branch (797:13): [True: 0, False: 82]
  ------------------
  798|      0|            return 1;
  799|      0|        }
  800|     82|    }
  801|  3.26k|    return 0;
  802|  3.26k|}
symtable.c:analyze_cells:
  922|  32.0k|{
  923|  32.0k|    PyObject *name, *v, *v_cell;
  924|  32.0k|    int success = 0;
  925|  32.0k|    Py_ssize_t pos = 0;
  926|       |
  927|  32.0k|    v_cell = PyLong_FromLong(CELL);
  ------------------
  |  |  191|  32.0k|#define CELL 5
  ------------------
  928|  32.0k|    if (!v_cell)
  ------------------
  |  Branch (928:9): [True: 0, False: 32.0k]
  ------------------
  929|      0|        return 0;
  930|   186k|    while (PyDict_Next(scopes, &pos, &name, &v)) {
  ------------------
  |  Branch (930:12): [True: 154k, False: 32.0k]
  ------------------
  931|   154k|        long scope = PyLong_AsLong(v);
  932|   154k|        if (scope == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (932:13): [True: 0, False: 154k]
  |  Branch (932:28): [True: 0, False: 0]
  ------------------
  933|      0|            goto error;
  934|      0|        }
  935|   154k|        if (scope != LOCAL)
  ------------------
  |  |  187|   154k|#define LOCAL 1
  ------------------
  |  Branch (935:13): [True: 58.1k, False: 96.0k]
  ------------------
  936|  58.1k|            continue;
  937|  96.0k|        int contains = PySet_Contains(free, name);
  938|  96.0k|        if (contains < 0) {
  ------------------
  |  Branch (938:13): [True: 0, False: 96.0k]
  ------------------
  939|      0|            goto error;
  940|      0|        }
  941|  96.0k|        if (!contains) {
  ------------------
  |  Branch (941:13): [True: 93.9k, False: 2.16k]
  ------------------
  942|  93.9k|            contains = PySet_Contains(inlined_cells, name);
  943|  93.9k|            if (contains < 0) {
  ------------------
  |  Branch (943:17): [True: 0, False: 93.9k]
  ------------------
  944|      0|                goto error;
  945|      0|            }
  946|  93.9k|            if (!contains) {
  ------------------
  |  Branch (946:17): [True: 93.9k, False: 0]
  ------------------
  947|  93.9k|                continue;
  948|  93.9k|            }
  949|  93.9k|        }
  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|  2.16k|        if (PyDict_SetItem(scopes, name, v_cell) < 0)
  ------------------
  |  Branch (954:13): [True: 0, False: 2.16k]
  ------------------
  955|      0|            goto error;
  956|  2.16k|        if (PySet_Discard(free, name) < 0)
  ------------------
  |  Branch (956:13): [True: 0, False: 2.16k]
  ------------------
  957|      0|            goto error;
  958|  2.16k|    }
  959|  32.0k|    success = 1;
  960|  32.0k| error:
  961|  32.0k|    Py_DECREF(v_cell);
  ------------------
  |  |  430|  32.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  32.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  962|  32.0k|    return success;
  963|  32.0k|}
symtable.c:drop_class_free:
  967|  12.1k|{
  968|  12.1k|    int res;
  969|  12.1k|    res = PySet_Discard(free, &_Py_ID(__class__));
  ------------------
  |  |  921|  12.1k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  12.1k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  12.1k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  970|  12.1k|    if (res < 0)
  ------------------
  |  Branch (970:9): [True: 0, False: 12.1k]
  ------------------
  971|      0|        return 0;
  972|  12.1k|    if (res)
  ------------------
  |  Branch (972:9): [True: 25, False: 12.1k]
  ------------------
  973|     25|        ste->ste_needs_class_closure = 1;
  974|  12.1k|    res = PySet_Discard(free, &_Py_ID(__classdict__));
  ------------------
  |  |  921|  12.1k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  12.1k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  12.1k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  975|  12.1k|    if (res < 0)
  ------------------
  |  Branch (975:9): [True: 0, False: 12.1k]
  ------------------
  976|      0|        return 0;
  977|  12.1k|    if (res)
  ------------------
  |  Branch (977:9): [True: 5.27k, False: 6.88k]
  ------------------
  978|  5.27k|        ste->ste_needs_classdict = 1;
  979|  12.1k|    res = PySet_Discard(free, &_Py_ID(__conditional_annotations__));
  ------------------
  |  |  921|  12.1k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  12.1k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  12.1k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  980|  12.1k|    if (res < 0)
  ------------------
  |  Branch (980:9): [True: 0, False: 12.1k]
  ------------------
  981|      0|        return 0;
  982|  12.1k|    if (res) {
  ------------------
  |  Branch (982:9): [True: 146, False: 12.0k]
  ------------------
  983|    146|        ste->ste_has_conditional_annotations = 1;
  984|    146|    }
  985|  12.1k|    return 1;
  986|  12.1k|}
symtable.c:update_symbols:
  996|  54.7k|{
  997|  54.7k|    PyObject *name = NULL, *itr = NULL;
  998|  54.7k|    PyObject *v = NULL, *v_scope = NULL, *v_new = NULL, *v_free = NULL;
  999|  54.7k|    Py_ssize_t pos = 0;
 1000|       |
 1001|       |    /* Update scope information for all symbols in this scope */
 1002|   296k|    while (PyDict_Next(symbols, &pos, &name, &v)) {
  ------------------
  |  Branch (1002:12): [True: 241k, False: 54.7k]
  ------------------
 1003|   241k|        long flags = PyLong_AsLong(v);
 1004|   241k|        if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1004:13): [True: 0, False: 241k]
  |  Branch (1004:28): [True: 0, False: 0]
  ------------------
 1005|      0|            return 0;
 1006|      0|        }
 1007|   241k|        int contains = PySet_Contains(inlined_cells, name);
 1008|   241k|        if (contains < 0) {
  ------------------
  |  Branch (1008:13): [True: 0, False: 241k]
  ------------------
 1009|      0|            return 0;
 1010|      0|        }
 1011|   241k|        if (contains) {
  ------------------
  |  Branch (1011:13): [True: 0, False: 241k]
  ------------------
 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|   241k|        if (PyDict_GetItemRef(scopes, name, &v_scope) < 0) {
  ------------------
  |  Branch (1014:13): [True: 0, False: 241k]
  ------------------
 1015|      0|            return 0;
 1016|      0|        }
 1017|   241k|        if (!v_scope) {
  ------------------
  |  Branch (1017:13): [True: 0, False: 241k]
  ------------------
 1018|      0|            PyErr_SetObject(PyExc_KeyError, name);
 1019|      0|            return 0;
 1020|      0|        }
 1021|   241k|        long scope = PyLong_AsLong(v_scope);
 1022|   241k|        Py_DECREF(v_scope);
  ------------------
  |  |  430|   241k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   241k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   241k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1023|   241k|        if (scope == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1023:13): [True: 0, False: 241k]
  |  Branch (1023:28): [True: 0, False: 0]
  ------------------
 1024|      0|            return 0;
 1025|      0|        }
 1026|   241k|        flags |= (scope << SCOPE_OFFSET);
  ------------------
  |  |  183|   241k|#define SCOPE_OFFSET 12
  ------------------
 1027|   241k|        v_new = PyLong_FromLong(flags);
 1028|   241k|        if (!v_new)
  ------------------
  |  Branch (1028:13): [True: 0, False: 241k]
  ------------------
 1029|      0|            return 0;
 1030|   241k|        if (PyDict_SetItem(symbols, name, v_new) < 0) {
  ------------------
  |  Branch (1030:13): [True: 0, False: 241k]
  ------------------
 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|   241k|        Py_DECREF(v_new);
  ------------------
  |  |  430|   241k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   241k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   241k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1035|   241k|    }
 1036|       |
 1037|       |    /* Record not yet resolved free variables from children (if any) */
 1038|  54.7k|    v_free = PyLong_FromLong(FREE << SCOPE_OFFSET);
  ------------------
  |  |  190|  54.7k|#define FREE 4
  ------------------
                  v_free = PyLong_FromLong(FREE << SCOPE_OFFSET);
  ------------------
  |  |  183|  54.7k|#define SCOPE_OFFSET 12
  ------------------
 1039|  54.7k|    if (!v_free)
  ------------------
  |  Branch (1039:9): [True: 0, False: 54.7k]
  ------------------
 1040|      0|        return 0;
 1041|       |
 1042|  54.7k|    itr = PyObject_GetIter(free);
 1043|  54.7k|    if (itr == NULL) {
  ------------------
  |  Branch (1043:9): [True: 0, False: 54.7k]
  ------------------
 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|  57.6k|    while ((name = PyIter_Next(itr))) {
  ------------------
  |  Branch (1048:12): [True: 2.91k, False: 54.7k]
  ------------------
 1049|  2.91k|        v = PyDict_GetItemWithError(symbols, name);
 1050|       |
 1051|       |        /* Handle symbol that already exists in this scope */
 1052|  2.91k|        if (v) {
  ------------------
  |  Branch (1052:13): [True: 1.17k, False: 1.73k]
  ------------------
 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|  1.17k|            if  (classflag) {
  ------------------
  |  Branch (1057:18): [True: 49, False: 1.13k]
  ------------------
 1058|     49|                long flags = PyLong_AsLong(v);
 1059|     49|                if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1059:21): [True: 0, False: 49]
  |  Branch (1059:36): [True: 0, False: 0]
  ------------------
 1060|      0|                    goto error;
 1061|      0|                }
 1062|     49|                flags |= DEF_FREE_CLASS;
  ------------------
  |  |  170|     49|#define DEF_FREE_CLASS (2<<5)    /* free variable from class's method */
  ------------------
 1063|     49|                v_new = PyLong_FromLong(flags);
 1064|     49|                if (!v_new) {
  ------------------
  |  Branch (1064:21): [True: 0, False: 49]
  ------------------
 1065|      0|                    goto error;
 1066|      0|                }
 1067|     49|                if (PyDict_SetItem(symbols, name, v_new) < 0) {
  ------------------
  |  Branch (1067:21): [True: 0, False: 49]
  ------------------
 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|     49|                Py_DECREF(v_new);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1072|     49|            }
 1073|       |            /* It's a cell, or already free in this scope */
 1074|  1.17k|            Py_DECREF(name);
  ------------------
  |  |  430|  1.17k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1075|  1.17k|            continue;
 1076|  1.17k|        }
 1077|  1.73k|        else if (PyErr_Occurred()) {
  ------------------
  |  Branch (1077:18): [True: 0, False: 1.73k]
  ------------------
 1078|      0|            goto error;
 1079|      0|        }
 1080|       |        /* Handle global symbol */
 1081|  1.73k|        if (bound) {
  ------------------
  |  Branch (1081:13): [True: 1.73k, False: 0]
  ------------------
 1082|  1.73k|            int contains = PySet_Contains(bound, name);
 1083|  1.73k|            if (contains < 0) {
  ------------------
  |  Branch (1083:17): [True: 0, False: 1.73k]
  ------------------
 1084|      0|                goto error;
 1085|      0|            }
 1086|  1.73k|            if (!contains) {
  ------------------
  |  Branch (1086:17): [True: 0, False: 1.73k]
  ------------------
 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|  1.73k|        }
 1091|       |        /* Propagate new free symbol up the lexical stack */
 1092|  1.73k|        if (PyDict_SetItem(symbols, name, v_free) < 0) {
  ------------------
  |  Branch (1092:13): [True: 0, False: 1.73k]
  ------------------
 1093|      0|            goto error;
 1094|      0|        }
 1095|  1.73k|        Py_DECREF(name);
  ------------------
  |  |  430|  1.73k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1096|  1.73k|    }
 1097|       |
 1098|       |    /* Check if loop ended because of exception in PyIter_Next */
 1099|  54.7k|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1099:9): [True: 0, False: 54.7k]
  ------------------
 1100|      0|        goto error;
 1101|      0|    }
 1102|       |
 1103|  54.7k|    Py_DECREF(itr);
  ------------------
  |  |  430|  54.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1104|  54.7k|    Py_DECREF(v_free);
  ------------------
  |  |  430|  54.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1105|  54.7k|    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|  54.7k|}
symtable.c:symtable_exit_block:
 1410|  76.9k|{
 1411|  76.9k|    Py_ssize_t size;
 1412|       |
 1413|  76.9k|    st->st_cur = NULL;
 1414|  76.9k|    size = PyList_GET_SIZE(st->st_stack);
  ------------------
  |  |   38|  76.9k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  76.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  76.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1415|  76.9k|    if (size) {
  ------------------
  |  Branch (1415:9): [True: 76.9k, False: 0]
  ------------------
 1416|  76.9k|        if (PyList_SetSlice(st->st_stack, size - 1, size, NULL) < 0)
  ------------------
  |  Branch (1416:13): [True: 0, False: 76.9k]
  ------------------
 1417|      0|            return 0;
 1418|  76.9k|        if (--size)
  ------------------
  |  Branch (1418:13): [True: 66.2k, False: 10.7k]
  ------------------
 1419|  66.2k|            st->st_cur = (PySTEntryObject *)PyList_GET_ITEM(st->st_stack, size - 1);
  ------------------
  |  |   40|  66.2k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  66.2k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  66.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1419:45): [True: 66.2k, False: 0]
  ------------------
 1420|  76.9k|    }
 1421|  76.9k|    return 1;
 1422|  76.9k|}
symtable.c:symtable_enter_block:
 1467|  55.4k|{
 1468|  55.4k|    PySTEntryObject *ste = ste_new(st, name, block, ast, loc);
 1469|  55.4k|    if (ste == NULL)
  ------------------
  |  Branch (1469:9): [True: 0, False: 55.4k]
  ------------------
 1470|      0|        return 0;
 1471|  55.4k|    int result = symtable_enter_existing_block(st, ste, /* add_to_children */true);
 1472|  55.4k|    Py_DECREF(ste);
  ------------------
  |  |  430|  55.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  55.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  55.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1473|  55.4k|    if (block == AnnotationBlock || block == TypeVariableBlock || block == TypeAliasBlock) {
  ------------------
  |  Branch (1473:9): [True: 18.2k, False: 37.2k]
  |  Branch (1473:37): [True: 1.52k, False: 35.7k]
  |  Branch (1473:67): [True: 385, False: 35.3k]
  ------------------
 1474|  20.1k|        _Py_DECLARE_STR(format, ".format");
 1475|       |        // We need to insert code that reads this "parameter" to the function.
 1476|  20.1k|        if (!symtable_add_def(st, &_Py_STR(format), DEF_PARAM, loc)) {
  ------------------
  |  |  923|  20.1k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  20.1k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  20.1k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_STR(format), DEF_PARAM, loc)) {
  ------------------
  |  |  167|  20.1k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (1476:13): [True: 0, False: 20.1k]
  ------------------
 1477|      0|            return 0;
 1478|      0|        }
 1479|  20.1k|        if (!symtable_add_def(st, &_Py_STR(format), USE, loc)) {
  ------------------
  |  |  923|  20.1k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  20.1k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  20.1k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_STR(format), USE, loc)) {
  ------------------
  |  |  169|  20.1k|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (1479:13): [True: 0, False: 20.1k]
  ------------------
 1480|      0|            return 0;
 1481|      0|        }
 1482|  20.1k|    }
 1483|  55.4k|    return result;
 1484|  55.4k|}
symtable.c:ste_new:
   95|  63.2k|{
   96|  63.2k|    PySTEntryObject *ste = NULL;
   97|  63.2k|    PyObject *k = NULL;
   98|       |
   99|  63.2k|    k = PyLong_FromVoidPtr(key);
  100|  63.2k|    if (k == NULL)
  ------------------
  |  Branch (100:9): [True: 0, False: 63.2k]
  ------------------
  101|      0|        goto fail;
  102|  63.2k|    ste = PyObject_New(PySTEntryObject, &PySTEntry_Type);
  ------------------
  |  |  130|  63.2k|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
  103|  63.2k|    if (ste == NULL) {
  ------------------
  |  Branch (103:9): [True: 0, False: 63.2k]
  ------------------
  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|  63.2k|    ste->ste_table = st;
  108|  63.2k|    ste->ste_id = k; /* ste owns reference to k */
  109|       |
  110|  63.2k|    ste->ste_name = Py_NewRef(name);
  ------------------
  |  |  550|  63.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  63.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  111|  63.2k|    ste->ste_function_name = NULL;
  112|       |
  113|  63.2k|    ste->ste_symbols = NULL;
  114|  63.2k|    ste->ste_varnames = NULL;
  115|  63.2k|    ste->ste_children = NULL;
  116|       |
  117|  63.2k|    ste->ste_directives = NULL;
  118|  63.2k|    ste->ste_mangled_names = NULL;
  119|       |
  120|  63.2k|    ste->ste_type = block;
  121|  63.2k|    ste->ste_scope_info = NULL;
  122|       |
  123|  63.2k|    ste->ste_nested = 0;
  124|  63.2k|    ste->ste_varargs = 0;
  125|  63.2k|    ste->ste_varkeywords = 0;
  126|  63.2k|    ste->ste_annotations_used = 0;
  127|  63.2k|    ste->ste_loc = loc;
  128|       |
  129|  63.2k|    if (st->st_cur != NULL &&
  ------------------
  |  Branch (129:9): [True: 52.3k, False: 10.8k]
  ------------------
  130|  52.3k|        (st->st_cur->ste_nested ||
  ------------------
  |  Branch (130:10): [True: 8.57k, False: 43.8k]
  ------------------
  131|  43.8k|         _PyST_IsFunctionLike(st->st_cur)))
  ------------------
  |  Branch (131:10): [True: 10.3k, False: 33.4k]
  ------------------
  132|  18.9k|        ste->ste_nested = 1;
  133|  63.2k|    ste->ste_generator = 0;
  134|  63.2k|    ste->ste_coroutine = 0;
  135|  63.2k|    ste->ste_comprehension = NoComprehension;
  136|  63.2k|    ste->ste_returns_value = 0;
  137|  63.2k|    ste->ste_needs_class_closure = 0;
  138|  63.2k|    ste->ste_comp_inlined = 0;
  139|  63.2k|    ste->ste_comp_iter_target = 0;
  140|  63.2k|    ste->ste_can_see_class_scope = 0;
  141|  63.2k|    ste->ste_comp_iter_expr = 0;
  142|  63.2k|    ste->ste_needs_classdict = 0;
  143|  63.2k|    ste->ste_has_conditional_annotations = 0;
  144|  63.2k|    ste->ste_in_conditional_block = 0;
  145|  63.2k|    ste->ste_in_try_block = 0;
  146|  63.2k|    ste->ste_in_unevaluated_annotation = 0;
  147|  63.2k|    ste->ste_annotation_block = NULL;
  148|       |
  149|  63.2k|    ste->ste_has_docstring = 0;
  150|       |
  151|  63.2k|    ste->ste_method = 0;
  152|  63.2k|    if (st->st_cur != NULL &&
  ------------------
  |  Branch (152:9): [True: 52.3k, False: 10.8k]
  ------------------
  153|  52.3k|        st->st_cur->ste_type == ClassBlock &&
  ------------------
  |  Branch (153:9): [True: 6.26k, False: 46.1k]
  ------------------
  154|  6.26k|        block == FunctionBlock) {
  ------------------
  |  Branch (154:9): [True: 37, False: 6.22k]
  ------------------
  155|     37|        ste->ste_method = 1;
  156|     37|    }
  157|       |
  158|  63.2k|    ste->ste_symbols = PyDict_New();
  159|  63.2k|    ste->ste_varnames = PyList_New(0);
  160|  63.2k|    ste->ste_children = PyList_New(0);
  161|  63.2k|    if (ste->ste_symbols == NULL
  ------------------
  |  Branch (161:9): [True: 0, False: 63.2k]
  ------------------
  162|  63.2k|        || ste->ste_varnames == NULL
  ------------------
  |  Branch (162:12): [True: 0, False: 63.2k]
  ------------------
  163|  63.2k|        || ste->ste_children == NULL)
  ------------------
  |  Branch (163:12): [True: 0, False: 63.2k]
  ------------------
  164|      0|        goto fail;
  165|       |
  166|  63.2k|    if (PyDict_SetItem(st->st_blocks, ste->ste_id, (PyObject *)ste) < 0)
  ------------------
  |  Branch (166:9): [True: 0, False: 63.2k]
  ------------------
  167|      0|        goto fail;
  168|       |
  169|  63.2k|    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|  63.2k|}
symtable.c:symtable_enter_existing_block:
 1426|  77.1k|{
 1427|  77.1k|    if (PyList_Append(st->st_stack, (PyObject *)ste) < 0) {
  ------------------
  |  Branch (1427:9): [True: 0, False: 77.1k]
  ------------------
 1428|      0|        return 0;
 1429|      0|    }
 1430|  77.1k|    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|  77.1k|    if (prev) {
  ------------------
  |  Branch (1435:9): [True: 66.3k, False: 10.8k]
  ------------------
 1436|  66.3k|        ste->ste_comp_iter_expr = prev->ste_comp_iter_expr;
 1437|  66.3k|    }
 1438|       |    /* No need to inherit ste_mangled_names in classes, where all names
 1439|       |     * are mangled. */
 1440|  77.1k|    if (prev && prev->ste_mangled_names != NULL && ste->ste_type != ClassBlock) {
  ------------------
  |  Branch (1440:9): [True: 66.3k, False: 10.8k]
  |  Branch (1440:17): [True: 3.28k, False: 63.0k]
  |  Branch (1440:52): [True: 1.52k, False: 1.75k]
  ------------------
 1441|  1.52k|        ste->ste_mangled_names = Py_NewRef(prev->ste_mangled_names);
  ------------------
  |  |  550|  1.52k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1442|  1.52k|    }
 1443|       |    /* The entry is owned by the stack. Borrow it for st_cur. */
 1444|  77.1k|    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|  77.1k|    if (st->st_future->ff_features & CO_FUTURE_ANNOTATIONS && ste->ste_type == AnnotationBlock) {
  ------------------
  |  |  147|   154k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (1449:9): [True: 17.8k, False: 59.2k]
  |  Branch (1449:63): [True: 9.55k, False: 8.31k]
  ------------------
 1450|  9.55k|        return 1;
 1451|  9.55k|    }
 1452|       |
 1453|  67.5k|    if (ste->ste_type == ModuleBlock)
  ------------------
  |  Branch (1453:9): [True: 10.8k, False: 56.7k]
  ------------------
 1454|  10.8k|        st->st_global = st->st_cur->ste_symbols;
 1455|       |
 1456|  67.5k|    if (add_to_children && prev) {
  ------------------
  |  Branch (1456:9): [True: 55.9k, False: 11.6k]
  |  Branch (1456:28): [True: 45.0k, False: 10.8k]
  ------------------
 1457|  45.0k|        if (PyList_Append(prev->ste_children, (PyObject *)ste) < 0) {
  ------------------
  |  Branch (1457:13): [True: 0, False: 45.0k]
  ------------------
 1458|      0|            return 0;
 1459|      0|        }
 1460|  45.0k|    }
 1461|  67.5k|    return 1;
 1462|  67.5k|}
symtable.c:symtable_add_def:
 1662|   148k|{
 1663|   148k|    return symtable_add_def_ctx(st, name, flag, loc,
 1664|   148k|                                flag == USE ? Load : Store);
  ------------------
  |  |  169|   148k|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (1664:33): [True: 34.3k, False: 114k]
  ------------------
 1665|   148k|}
symtable.c:symtable_add_def_ctx:
 1646|   541k|{
 1647|   541k|    int write_mask = DEF_PARAM | DEF_LOCAL | DEF_IMPORT;
  ------------------
  |  |  167|   541k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                  int write_mask = DEF_PARAM | DEF_LOCAL | DEF_IMPORT;
  ------------------
  |  |  166|   541k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                  int write_mask = DEF_PARAM | DEF_LOCAL | DEF_IMPORT;
  ------------------
  |  |  171|   541k|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  ------------------
 1648|   541k|    if ((flag & write_mask) && !check_name(st, name, loc, ctx)) {
  ------------------
  |  Branch (1648:9): [True: 231k, False: 310k]
  |  Branch (1648:32): [True: 4, False: 231k]
  ------------------
 1649|      4|        return 0;
 1650|      4|    }
 1651|   541k|    if ((flag & DEF_TYPE_PARAM) && st->st_cur->ste_mangled_names != NULL) {
  ------------------
  |  |  174|   541k|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
  |  Branch (1651:9): [True: 8.31k, False: 533k]
  |  Branch (1651:36): [True: 3.39k, False: 4.92k]
  ------------------
 1652|  3.39k|        if(PySet_Add(st->st_cur->ste_mangled_names, name) < 0) {
  ------------------
  |  Branch (1652:12): [True: 0, False: 3.39k]
  ------------------
 1653|      0|            return 0;
 1654|      0|        }
 1655|  3.39k|    }
 1656|   541k|    return symtable_add_def_helper(st, name, flag, st->st_cur, loc);
 1657|   541k|}
symtable.c:check_name:
 1602|   251k|{
 1603|   251k|    if (ctx == Store && _PyUnicode_EqualToASCIIString(name, "__debug__")) {
  ------------------
  |  Branch (1603:9): [True: 231k, False: 20.4k]
  |  Branch (1603:25): [True: 6, False: 231k]
  ------------------
 1604|      6|        PyErr_SetString(PyExc_SyntaxError, "cannot assign to __debug__");
 1605|      6|        SET_ERROR_LOCATION(st->st_filename, loc);
  ------------------
  |  |   87|      6|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      6|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1606|      6|        return 0;
 1607|      6|    }
 1608|   251k|    if (ctx == Del && _PyUnicode_EqualToASCIIString(name, "__debug__")) {
  ------------------
  |  Branch (1608:9): [True: 4.55k, False: 246k]
  |  Branch (1608:23): [True: 0, False: 4.55k]
  ------------------
 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|   251k|    return 1;
 1614|   251k|}
symtable.c:symtable_add_def_helper:
 1509|   543k|{
 1510|   543k|    PyObject *o;
 1511|   543k|    PyObject *dict;
 1512|   543k|    long val;
 1513|   543k|    PyObject *mangled = _Py_MaybeMangle(st->st_private, st->st_cur, name);
 1514|       |
 1515|   543k|    if (!mangled)
  ------------------
  |  Branch (1515:9): [True: 0, False: 543k]
  ------------------
 1516|      0|        return 0;
 1517|   543k|    dict = ste->ste_symbols;
 1518|   543k|    if ((o = PyDict_GetItemWithError(dict, mangled))) {
  ------------------
  |  Branch (1518:9): [True: 294k, False: 249k]
  ------------------
 1519|   294k|        val = PyLong_AsLong(o);
 1520|   294k|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1520:13): [True: 0, False: 294k]
  |  Branch (1520:26): [True: 0, False: 0]
  ------------------
 1521|      0|            goto error;
 1522|      0|        }
 1523|   294k|        if ((flag & DEF_PARAM) && (val & DEF_PARAM)) {
  ------------------
  |  |  167|   294k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                      if ((flag & DEF_PARAM) && (val & DEF_PARAM)) {
  ------------------
  |  |  167|     39|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (1523:13): [True: 39, False: 293k]
  |  Branch (1523:35): [True: 39, False: 0]
  ------------------
 1524|       |            /* Is it better to use 'mangled' or 'name' here? */
 1525|     39|            PyErr_Format(PyExc_SyntaxError, DUPLICATE_PARAMETER, name);
  ------------------
  |  |  386|     39|#define DUPLICATE_PARAMETER \
  |  |  387|     39|"duplicate parameter '%U' in function definition"
  ------------------
 1526|     39|            SET_ERROR_LOCATION(st->st_filename, loc);
  ------------------
  |  |   87|     39|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|     39|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1527|     39|            goto error;
 1528|     39|        }
 1529|   293k|        if ((flag & DEF_TYPE_PARAM) && (val & DEF_TYPE_PARAM)) {
  ------------------
  |  |  174|   293k|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
                      if ((flag & DEF_TYPE_PARAM) && (val & DEF_TYPE_PARAM)) {
  ------------------
  |  |  174|     12|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
  |  Branch (1529:13): [True: 12, False: 293k]
  |  Branch (1529:40): [True: 12, False: 0]
  ------------------
 1530|     12|            PyErr_Format(PyExc_SyntaxError, DUPLICATE_TYPE_PARAM, name);
  ------------------
  |  |   75|     12|#define DUPLICATE_TYPE_PARAM \
  |  |   76|     12|"duplicate type parameter '%U'"
  ------------------
 1531|     12|            SET_ERROR_LOCATION(st->st_filename, loc);
  ------------------
  |  |   87|     12|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|     12|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1532|     12|            goto error;
 1533|     12|        }
 1534|   293k|        val |= flag;
 1535|   293k|    }
 1536|   249k|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (1536:14): [True: 0, False: 249k]
  ------------------
 1537|      0|        goto error;
 1538|      0|    }
 1539|   249k|    else {
 1540|   249k|        val = flag;
 1541|   249k|    }
 1542|   543k|    if (ste->ste_comp_iter_target) {
  ------------------
  |  Branch (1542:9): [True: 19.6k, False: 523k]
  ------------------
 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|  19.6k|        if (val & (DEF_GLOBAL | DEF_NONLOCAL)) {
  ------------------
  |  |  165|  19.6k|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                      if (val & (DEF_GLOBAL | DEF_NONLOCAL)) {
  ------------------
  |  |  168|  19.6k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (1548:13): [True: 1, False: 19.6k]
  ------------------
 1549|      1|            PyErr_Format(PyExc_SyntaxError,
 1550|      1|                NAMED_EXPR_COMP_INNER_LOOP_CONFLICT, name);
  ------------------
  |  |   57|      1|#define NAMED_EXPR_COMP_INNER_LOOP_CONFLICT \
  |  |   58|      1|"comprehension inner loop cannot rebind assignment expression target '%U'"
  ------------------
 1551|      1|            SET_ERROR_LOCATION(st->st_filename, loc);
  ------------------
  |  |   87|      1|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      1|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1552|      1|            goto error;
 1553|      1|        }
 1554|  19.6k|        val |= DEF_COMP_ITER;
  ------------------
  |  |  173|  19.6k|#define DEF_COMP_ITER (2<<8)     /* this name is a comprehension iteration variable */
  ------------------
 1555|  19.6k|    }
 1556|   543k|    o = PyLong_FromLong(val);
 1557|   543k|    if (o == NULL)
  ------------------
  |  Branch (1557:9): [True: 0, False: 543k]
  ------------------
 1558|      0|        goto error;
 1559|   543k|    if (PyDict_SetItem(dict, mangled, o) < 0) {
  ------------------
  |  Branch (1559:9): [True: 0, False: 543k]
  ------------------
 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|   543k|    Py_DECREF(o);
  ------------------
  |  |  430|   543k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   543k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   543k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1564|       |
 1565|   543k|    if (flag & DEF_PARAM) {
  ------------------
  |  |  167|   543k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (1565:9): [True: 36.1k, False: 507k]
  ------------------
 1566|  36.1k|        if (PyList_Append(ste->ste_varnames, mangled) < 0)
  ------------------
  |  Branch (1566:13): [True: 0, False: 36.1k]
  ------------------
 1567|      0|            goto error;
 1568|   507k|    } else if (flag & DEF_GLOBAL) {
  ------------------
  |  |  165|   507k|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
  |  Branch (1568:16): [True: 1.83k, False: 505k]
  ------------------
 1569|       |        /* XXX need to update DEF_GLOBAL for other flags too;
 1570|       |           perhaps only DEF_FREE_GLOBAL */
 1571|  1.83k|        val = 0;
 1572|  1.83k|        if ((o = PyDict_GetItemWithError(st->st_global, mangled))) {
  ------------------
  |  Branch (1572:13): [True: 1.74k, False: 85]
  ------------------
 1573|  1.74k|            val = PyLong_AsLong(o);
 1574|  1.74k|            if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1574:17): [True: 0, False: 1.74k]
  |  Branch (1574:30): [True: 0, False: 0]
  ------------------
 1575|      0|                goto error;
 1576|      0|            }
 1577|  1.74k|        }
 1578|     85|        else if (PyErr_Occurred()) {
  ------------------
  |  Branch (1578:18): [True: 0, False: 85]
  ------------------
 1579|      0|            goto error;
 1580|      0|        }
 1581|  1.83k|        val |= flag;
 1582|  1.83k|        o = PyLong_FromLong(val);
 1583|  1.83k|        if (o == NULL)
  ------------------
  |  Branch (1583:13): [True: 0, False: 1.83k]
  ------------------
 1584|      0|            goto error;
 1585|  1.83k|        if (PyDict_SetItem(st->st_global, mangled, o) < 0) {
  ------------------
  |  Branch (1585:13): [True: 0, False: 1.83k]
  ------------------
 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|  1.83k|        Py_DECREF(o);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1590|  1.83k|    }
 1591|   543k|    Py_DECREF(mangled);
  ------------------
  |  |  430|   543k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   543k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   543k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1592|   543k|    return 1;
 1593|       |
 1594|     52|error:
 1595|     52|    Py_DECREF(mangled);
  ------------------
  |  |  430|     52|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1596|     52|    return 0;
 1597|   543k|}
symtable.c:symtable_visit_stmt:
 1896|   173k|{
 1897|   173k|    ENTER_RECURSIVE();
  ------------------
  |  | 1785|   173k|#define ENTER_RECURSIVE() \
  |  | 1786|   173k|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (1786:5): [True: 0, False: 173k]
  |  |  ------------------
  |  | 1787|      0|    return 0; \
  |  | 1788|      0|}
  ------------------
 1898|   173k|    switch (s->kind) {
  ------------------
  |  Branch (1898:13): [True: 173k, False: 0]
  ------------------
 1899|  5.19k|    case FunctionDef_kind: {
  ------------------
  |  Branch (1899:5): [True: 5.19k, False: 168k]
  ------------------
 1900|  5.19k|        if (!symtable_add_def(st, s->v.FunctionDef.name, DEF_LOCAL, LOCATION(s)))
  ------------------
  |  |  166|  5.19k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if (!symtable_add_def(st, s->v.FunctionDef.name, DEF_LOCAL, LOCATION(s)))
  ------------------
  |  |   84|  5.19k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  5.19k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  5.19k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  5.19k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  5.19k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  5.19k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (1900:13): [True: 0, False: 5.19k]
  ------------------
 1901|      0|            return 0;
 1902|  5.19k|        if (s->v.FunctionDef.args->defaults)
  ------------------
  |  Branch (1902:13): [True: 5.19k, False: 0]
  ------------------
 1903|  5.19k|            VISIT_SEQ(st, expr, s->v.FunctionDef.args->defaults);
  ------------------
  |  | 1738|  5.19k|    do { \
  |  | 1739|  5.19k|        Py_ssize_t i; \
  |  | 1740|  5.19k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  5.50k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  5.50k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  11.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 5.50k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 313, False: 5.19k]
  |  |  ------------------
  |  | 1742|    313|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    313|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    313|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|    313|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 313]
  |  |  ------------------
  |  | 1744|    313|                return 0;                 \
  |  | 1745|    313|        } \
  |  | 1746|  5.19k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 5.19k]
  |  |  ------------------
  ------------------
 1904|  5.19k|        if (s->v.FunctionDef.args->kw_defaults)
  ------------------
  |  Branch (1904:13): [True: 5.19k, False: 0]
  ------------------
 1905|  5.19k|            VISIT_SEQ_WITH_NULL(st, expr, s->v.FunctionDef.args->kw_defaults);
  ------------------
  |  | 1760|  5.19k|    do { \
  |  | 1761|  5.19k|        int i = 0; \
  |  | 1762|  5.19k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1763|  5.44k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  5.44k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  10.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 5.44k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1763:21): [True: 259, False: 5.19k]
  |  |  ------------------
  |  | 1764|    259|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    259|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    259|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1765|    259|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1765:17): [True: 205, False: 54]
  |  |  ------------------
  |  | 1766|    259|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1766:17): [True: 0, False: 54]
  |  |  ------------------
  |  | 1767|     54|                return 0;             \
  |  | 1768|     54|        } \
  |  | 1769|  5.19k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1769:13): [Folded, False: 5.19k]
  |  |  ------------------
  ------------------
 1906|  5.19k|        if (s->v.FunctionDef.decorator_list)
  ------------------
  |  Branch (1906:13): [True: 197, False: 4.99k]
  ------------------
 1907|    197|            VISIT_SEQ(st, expr, s->v.FunctionDef.decorator_list);
  ------------------
  |  | 1738|    197|    do { \
  |  | 1739|    197|        Py_ssize_t i; \
  |  | 1740|    197|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  1.04k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.04k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.09k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.04k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 852, False: 197]
  |  |  ------------------
  |  | 1742|    852|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    852|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    852|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|    852|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 852]
  |  |  ------------------
  |  | 1744|    852|                return 0;                 \
  |  | 1745|    852|        } \
  |  | 1746|    197|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 197]
  |  |  ------------------
  ------------------
 1908|  5.19k|        if (asdl_seq_LEN(s->v.FunctionDef.type_params) > 0) {
  ------------------
  |  |   83|  5.19k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  10.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 2.72k, False: 2.46k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1908:13): [True: 2.46k, False: 2.72k]
  ------------------
 1909|  2.46k|            if (!symtable_enter_type_param_block(
  ------------------
  |  Branch (1909:17): [True: 0, False: 2.46k]
  ------------------
 1910|  2.46k|                    st, s->v.FunctionDef.name,
 1911|  2.46k|                    (void *)s->v.FunctionDef.type_params,
 1912|  2.46k|                    s->v.FunctionDef.args->defaults != NULL,
 1913|  2.46k|                    has_kwonlydefaults(s->v.FunctionDef.args->kwonlyargs,
 1914|  2.46k|                                       s->v.FunctionDef.args->kw_defaults),
 1915|  2.46k|                    s->kind,
 1916|  2.46k|                    LOCATION(s))) {
  ------------------
  |  |   84|  2.46k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  2.46k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  2.46k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  2.46k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  2.46k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  2.46k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1917|      0|                return 0;
 1918|      0|            }
 1919|  2.46k|            VISIT_SEQ(st, type_param, s->v.FunctionDef.type_params);
  ------------------
  |  | 1738|  2.46k|    do { \
  |  | 1739|  2.46k|        Py_ssize_t i; \
  |  | 1740|  2.46k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  7.36k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  7.36k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  14.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 7.36k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 4.90k, False: 2.46k]
  |  |  ------------------
  |  | 1742|  4.90k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  4.90k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.90k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  4.90k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 3, False: 4.89k]
  |  |  ------------------
  |  | 1744|  4.90k|                return 0;                 \
  |  | 1745|  4.90k|        } \
  |  | 1746|  2.46k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 2.46k]
  |  |  ------------------
  ------------------
 1920|  2.46k|        }
 1921|  5.18k|        PySTEntryObject *new_ste = ste_new(st, s->v.FunctionDef.name, FunctionBlock, (void *)s,
 1922|  5.18k|                                           LOCATION(s));
  ------------------
  |  |   84|  5.18k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  5.18k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  5.18k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  5.18k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  5.18k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  5.18k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1923|  5.18k|        if (!new_ste) {
  ------------------
  |  Branch (1923:13): [True: 0, False: 5.18k]
  ------------------
 1924|      0|            return 0;
 1925|      0|        }
 1926|       |
 1927|  5.18k|        if (_PyAST_GetDocString(s->v.FunctionDef.body)) {
  ------------------
  |  Branch (1927:13): [True: 628, False: 4.55k]
  ------------------
 1928|    628|            new_ste->ste_has_docstring = 1;
 1929|    628|        }
 1930|       |
 1931|  5.18k|        if (!symtable_visit_annotations(st, s, s->v.FunctionDef.args,
  ------------------
  |  Branch (1931:13): [True: 2, False: 5.18k]
  ------------------
 1932|  5.18k|                                        s->v.FunctionDef.returns, new_ste)) {
 1933|      2|            Py_DECREF(new_ste);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1934|      2|            return 0;
 1935|      2|        }
 1936|  5.18k|        if (!symtable_enter_existing_block(st, new_ste, /* add_to_children */true)) {
  ------------------
  |  Branch (1936:13): [True: 0, False: 5.18k]
  ------------------
 1937|      0|            Py_DECREF(new_ste);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1938|      0|            return 0;
 1939|      0|        }
 1940|  5.18k|        Py_DECREF(new_ste);
  ------------------
  |  |  430|  5.18k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1941|  5.18k|        VISIT(st, arguments, s->v.FunctionDef.args);
  ------------------
  |  | 1731|  5.18k|    do { \
  |  | 1732|  5.18k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 7, False: 5.17k]
  |  |  ------------------
  |  | 1733|      7|            return 0; \
  |  | 1734|      7|        } \
  |  | 1735|  5.18k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 5.17k]
  |  |  ------------------
  ------------------
 1942|  5.17k|        VISIT_SEQ(st, stmt, s->v.FunctionDef.body);
  ------------------
  |  | 1738|  5.17k|    do { \
  |  | 1739|  5.17k|        Py_ssize_t i; \
  |  | 1740|  5.17k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  11.6k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  11.6k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  23.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 11.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 6.44k, False: 5.17k]
  |  |  ------------------
  |  | 1742|  6.44k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  6.44k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  6.44k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  6.44k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 3, False: 6.43k]
  |  |  ------------------
  |  | 1744|  6.44k|                return 0;                 \
  |  | 1745|  6.44k|        } \
  |  | 1746|  5.17k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 5.17k]
  |  |  ------------------
  ------------------
 1943|  5.17k|        if (!symtable_exit_block(st))
  ------------------
  |  Branch (1943:13): [True: 0, False: 5.17k]
  ------------------
 1944|      0|            return 0;
 1945|  5.17k|        if (asdl_seq_LEN(s->v.FunctionDef.type_params) > 0) {
  ------------------
  |  |   83|  5.17k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  10.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 2.71k, False: 2.46k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1945:13): [True: 2.46k, False: 2.71k]
  ------------------
 1946|  2.46k|            if (!symtable_exit_block(st))
  ------------------
  |  Branch (1946:17): [True: 0, False: 2.46k]
  ------------------
 1947|      0|                return 0;
 1948|  2.46k|        }
 1949|  5.17k|        break;
 1950|  5.17k|    }
 1951|  12.2k|    case ClassDef_kind: {
  ------------------
  |  Branch (1951:5): [True: 12.2k, False: 161k]
  ------------------
 1952|  12.2k|        PyObject *tmp;
 1953|  12.2k|        if (!symtable_add_def(st, s->v.ClassDef.name, DEF_LOCAL, LOCATION(s)))
  ------------------
  |  |  166|  12.2k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if (!symtable_add_def(st, s->v.ClassDef.name, DEF_LOCAL, LOCATION(s)))
  ------------------
  |  |   84|  12.2k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  12.2k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  12.2k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  12.2k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  12.2k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  12.2k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (1953:13): [True: 0, False: 12.2k]
  ------------------
 1954|      0|            return 0;
 1955|  12.2k|        if (s->v.ClassDef.decorator_list)
  ------------------
  |  Branch (1955:13): [True: 314, False: 11.9k]
  ------------------
 1956|    314|            VISIT_SEQ(st, expr, s->v.ClassDef.decorator_list);
  ------------------
  |  | 1738|    314|    do { \
  |  | 1739|    314|        Py_ssize_t i; \
  |  | 1740|    314|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  1.03k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.03k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.07k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.03k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 724, False: 314]
  |  |  ------------------
  |  | 1742|    724|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    724|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    724|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|    724|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 724]
  |  |  ------------------
  |  | 1744|    724|                return 0;                 \
  |  | 1745|    724|        } \
  |  | 1746|    314|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 314]
  |  |  ------------------
  ------------------
 1957|  12.2k|        tmp = st->st_private;
 1958|  12.2k|        if (asdl_seq_LEN(s->v.ClassDef.type_params) > 0) {
  ------------------
  |  |   83|  12.2k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  24.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 10.4k, False: 1.76k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1958:13): [True: 1.76k, False: 10.4k]
  ------------------
 1959|  1.76k|            if (!symtable_enter_type_param_block(st, s->v.ClassDef.name,
  ------------------
  |  Branch (1959:17): [True: 0, False: 1.76k]
  ------------------
 1960|  1.76k|                                                (void *)s->v.ClassDef.type_params,
 1961|  1.76k|                                                false, false, s->kind,
 1962|  1.76k|                                                LOCATION(s))) {
  ------------------
  |  |   84|  1.76k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.76k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.76k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.76k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.76k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.76k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1963|      0|                return 0;
 1964|      0|            }
 1965|  1.76k|            st->st_private = s->v.ClassDef.name;
 1966|  1.76k|            st->st_cur->ste_mangled_names = PySet_New(NULL);
 1967|  1.76k|            if (!st->st_cur->ste_mangled_names) {
  ------------------
  |  Branch (1967:17): [True: 0, False: 1.76k]
  ------------------
 1968|      0|                return 0;
 1969|      0|            }
 1970|  1.76k|            VISIT_SEQ(st, type_param, s->v.ClassDef.type_params);
  ------------------
  |  | 1738|  1.76k|    do { \
  |  | 1739|  1.76k|        Py_ssize_t i; \
  |  | 1740|  1.76k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  5.14k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  5.14k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  10.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 5.14k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 3.39k, False: 1.75k]
  |  |  ------------------
  |  | 1742|  3.39k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  3.39k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.39k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  3.39k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 9, False: 3.38k]
  |  |  ------------------
  |  | 1744|  3.39k|                return 0;                 \
  |  | 1745|  3.39k|        } \
  |  | 1746|  1.76k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 1.75k]
  |  |  ------------------
  ------------------
 1971|  1.76k|        }
 1972|  12.2k|        VISIT_SEQ(st, expr, s->v.ClassDef.bases);
  ------------------
  |  | 1738|  12.2k|    do { \
  |  | 1739|  12.2k|        Py_ssize_t i; \
  |  | 1740|  12.2k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  12.3k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  12.3k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  24.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 12.0k, False: 351]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 181, False: 12.2k]
  |  |  ------------------
  |  | 1742|    181|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    181|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    181|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|    181|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 1, False: 180]
  |  |  ------------------
  |  | 1744|    181|                return 0;                 \
  |  | 1745|    181|        } \
  |  | 1746|  12.2k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 12.2k]
  |  |  ------------------
  ------------------
 1973|  12.2k|        if (!check_keywords(st, s->v.ClassDef.keywords)) {
  ------------------
  |  Branch (1973:13): [True: 0, False: 12.2k]
  ------------------
 1974|      0|            return 0;
 1975|      0|        }
 1976|  12.2k|        VISIT_SEQ(st, keyword, s->v.ClassDef.keywords);
  ------------------
  |  | 1738|  12.2k|    do { \
  |  | 1739|  12.2k|        Py_ssize_t i; \
  |  | 1740|  12.2k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  12.2k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  12.2k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  24.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 12.1k, False: 114]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 58, False: 12.2k]
  |  |  ------------------
  |  | 1742|     58|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     58|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     58|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|     58|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 1, False: 57]
  |  |  ------------------
  |  | 1744|     58|                return 0;                 \
  |  | 1745|     58|        } \
  |  | 1746|  12.2k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 12.2k]
  |  |  ------------------
  ------------------
 1977|  12.2k|        if (!symtable_enter_block(st, s->v.ClassDef.name, ClassBlock,
  ------------------
  |  Branch (1977:13): [True: 0, False: 12.2k]
  ------------------
 1978|  12.2k|                                  (void *)s, LOCATION(s))) {
  ------------------
  |  |   84|  12.2k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  12.2k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  12.2k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  12.2k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  12.2k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  12.2k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1979|      0|            return 0;
 1980|      0|        }
 1981|  12.2k|        st->st_private = s->v.ClassDef.name;
 1982|  12.2k|        if (asdl_seq_LEN(s->v.ClassDef.type_params) > 0) {
  ------------------
  |  |   83|  12.2k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  24.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 10.4k, False: 1.75k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1982:13): [True: 1.75k, False: 10.4k]
  ------------------
 1983|  1.75k|            if (!symtable_add_def(st, &_Py_ID(__type_params__),
  ------------------
  |  |  921|  1.75k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.75k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.75k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1983:17): [True: 0, False: 1.75k]
  ------------------
 1984|  1.75k|                                  DEF_LOCAL, LOCATION(s))) {
  ------------------
  |  |  166|  1.75k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                                                DEF_LOCAL, LOCATION(s))) {
  ------------------
  |  |   84|  1.75k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.75k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.75k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.75k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.75k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.75k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1985|      0|                return 0;
 1986|      0|            }
 1987|  1.75k|            _Py_DECLARE_STR(type_params, ".type_params");
 1988|  1.75k|            if (!symtable_add_def(st, &_Py_STR(type_params),
  ------------------
  |  |  923|  1.75k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.75k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.75k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1988:17): [True: 0, False: 1.75k]
  ------------------
 1989|  1.75k|                                  USE, LOCATION(s))) {
  ------------------
  |  |  169|  1.75k|#define USE (2<<3)               /* name is used */
  ------------------
                                                USE, LOCATION(s))) {
  ------------------
  |  |   84|  1.75k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.75k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.75k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.75k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.75k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.75k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1990|      0|                return 0;
 1991|      0|            }
 1992|  1.75k|        }
 1993|       |
 1994|  12.2k|        if (_PyAST_GetDocString(s->v.ClassDef.body)) {
  ------------------
  |  Branch (1994:13): [True: 1.15k, False: 11.0k]
  ------------------
 1995|  1.15k|            st->st_cur->ste_has_docstring = 1;
 1996|  1.15k|        }
 1997|       |
 1998|  12.2k|        VISIT_SEQ(st, stmt, s->v.ClassDef.body);
  ------------------
  |  | 1738|  12.2k|    do { \
  |  | 1739|  12.2k|        Py_ssize_t i; \
  |  | 1740|  12.2k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  56.6k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  56.6k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|   113k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 56.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 44.4k, False: 12.2k]
  |  |  ------------------
  |  | 1742|  44.4k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  44.4k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  44.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  44.4k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 8, False: 44.4k]
  |  |  ------------------
  |  | 1744|  44.4k|                return 0;                 \
  |  | 1745|  44.4k|        } \
  |  | 1746|  12.2k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 12.2k]
  |  |  ------------------
  ------------------
 1999|  12.2k|        if (!symtable_exit_block(st))
  ------------------
  |  Branch (1999:13): [True: 0, False: 12.2k]
  ------------------
 2000|      0|            return 0;
 2001|  12.2k|        if (asdl_seq_LEN(s->v.ClassDef.type_params) > 0) {
  ------------------
  |  |   83|  12.2k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  24.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 10.4k, False: 1.75k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2001:13): [True: 1.75k, False: 10.4k]
  ------------------
 2002|  1.75k|            if (!symtable_exit_block(st))
  ------------------
  |  Branch (2002:17): [True: 0, False: 1.75k]
  ------------------
 2003|      0|                return 0;
 2004|  1.75k|        }
 2005|  12.2k|        st->st_private = tmp;
 2006|  12.2k|        break;
 2007|  12.2k|    }
 2008|    385|    case TypeAlias_kind: {
  ------------------
  |  Branch (2008:5): [True: 385, False: 172k]
  ------------------
 2009|    385|        VISIT(st, expr, s->v.TypeAlias.name);
  ------------------
  |  | 1731|    385|    do { \
  |  | 1732|    385|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 385]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|    385|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 385]
  |  |  ------------------
  ------------------
 2010|    385|        assert(s->v.TypeAlias.name->kind == Name_kind);
  ------------------
  |  Branch (2010:9): [True: 385, False: 0]
  ------------------
 2011|    385|        PyObject *name = s->v.TypeAlias.name->v.Name.id;
 2012|    385|        int is_in_class = st->st_cur->ste_type == ClassBlock;
 2013|    385|        int is_generic = asdl_seq_LEN(s->v.TypeAlias.type_params) > 0;
  ------------------
  |  |   83|    385|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    770|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 384, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2014|    385|        if (is_generic) {
  ------------------
  |  Branch (2014:13): [True: 1, False: 384]
  ------------------
 2015|      1|            if (!symtable_enter_type_param_block(
  ------------------
  |  Branch (2015:17): [True: 0, False: 1]
  ------------------
 2016|      1|                    st, name,
 2017|      1|                    (void *)s->v.TypeAlias.type_params,
 2018|      1|                    false, false, s->kind,
 2019|      1|                    LOCATION(s))) {
  ------------------
  |  |   84|      1|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      1|    (_Py_SourceLocation){ \
  |  |  |  |   55|      1|               .lineno = (n)->lineno, \
  |  |  |  |   56|      1|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      1|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      1|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2020|      0|                return 0;
 2021|      0|            }
 2022|      1|            VISIT_SEQ(st, type_param, s->v.TypeAlias.type_params);
  ------------------
  |  | 1738|      1|    do { \
  |  | 1739|      1|        Py_ssize_t i; \
  |  | 1740|      1|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|      2|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 1, False: 1]
  |  |  ------------------
  |  | 1742|      1|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      1|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|      1|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 1]
  |  |  ------------------
  |  | 1744|      1|                return 0;                 \
  |  | 1745|      1|        } \
  |  | 1746|      1|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2023|      1|        }
 2024|    385|        if (!symtable_enter_block(st, name, TypeAliasBlock,
  ------------------
  |  Branch (2024:13): [True: 0, False: 385]
  ------------------
 2025|    385|                                  (void *)s, LOCATION(s))) {
  ------------------
  |  |   84|    385|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    385|    (_Py_SourceLocation){ \
  |  |  |  |   55|    385|               .lineno = (n)->lineno, \
  |  |  |  |   56|    385|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    385|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    385|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2026|      0|            return 0;
 2027|      0|        }
 2028|    385|        st->st_cur->ste_can_see_class_scope = is_in_class;
 2029|    385|        if (is_in_class && !symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(s->v.TypeAlias.value))) {
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (is_in_class && !symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(s->v.TypeAlias.value))) {
  ------------------
  |  |  169|      0|#define USE (2<<3)               /* name is used */
  ------------------
                      if (is_in_class && !symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(s->v.TypeAlias.value))) {
  ------------------
  |  |   84|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2029:13): [True: 0, False: 385]
  |  Branch (2029:28): [True: 0, False: 0]
  ------------------
 2030|      0|            return 0;
 2031|      0|        }
 2032|    385|        VISIT(st, expr, s->v.TypeAlias.value);
  ------------------
  |  | 1731|    385|    do { \
  |  | 1732|    385|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 2, False: 383]
  |  |  ------------------
  |  | 1733|      2|            return 0; \
  |  | 1734|      2|        } \
  |  | 1735|    385|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 383]
  |  |  ------------------
  ------------------
 2033|    383|        if (!symtable_exit_block(st))
  ------------------
  |  Branch (2033:13): [True: 0, False: 383]
  ------------------
 2034|      0|            return 0;
 2035|    383|        if (is_generic) {
  ------------------
  |  Branch (2035:13): [True: 1, False: 382]
  ------------------
 2036|      1|            if (!symtable_exit_block(st))
  ------------------
  |  Branch (2036:17): [True: 0, False: 1]
  ------------------
 2037|      0|                return 0;
 2038|      1|        }
 2039|    383|        break;
 2040|    383|    }
 2041|    383|    case Return_kind:
  ------------------
  |  Branch (2041:5): [True: 363, False: 172k]
  ------------------
 2042|    363|        if (s->v.Return.value) {
  ------------------
  |  Branch (2042:13): [True: 59, False: 304]
  ------------------
 2043|     59|            VISIT(st, expr, s->v.Return.value);
  ------------------
  |  | 1731|     59|    do { \
  |  | 1732|     59|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 1, False: 58]
  |  |  ------------------
  |  | 1733|      1|            return 0; \
  |  | 1734|      1|        } \
  |  | 1735|     59|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 58]
  |  |  ------------------
  ------------------
 2044|     58|            st->st_cur->ste_returns_value = 1;
 2045|     58|        }
 2046|    362|        break;
 2047|  1.25k|    case Delete_kind:
  ------------------
  |  Branch (2047:5): [True: 1.25k, False: 172k]
  ------------------
 2048|  1.25k|        VISIT_SEQ(st, expr, s->v.Delete.targets);
  ------------------
  |  | 1738|  1.25k|    do { \
  |  | 1739|  1.25k|        Py_ssize_t i; \
  |  | 1740|  1.25k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  5.85k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  5.85k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  11.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 5.85k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 4.60k, False: 1.25k]
  |  |  ------------------
  |  | 1742|  4.60k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  4.60k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.60k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  4.60k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 4.60k]
  |  |  ------------------
  |  | 1744|  4.60k|                return 0;                 \
  |  | 1745|  4.60k|        } \
  |  | 1746|  1.25k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 1.25k]
  |  |  ------------------
  ------------------
 2049|  1.25k|        break;
 2050|  8.33k|    case Assign_kind:
  ------------------
  |  Branch (2050:5): [True: 8.33k, False: 164k]
  ------------------
 2051|  8.33k|        VISIT_SEQ(st, expr, s->v.Assign.targets);
  ------------------
  |  | 1738|  8.33k|    do { \
  |  | 1739|  8.33k|        Py_ssize_t i; \
  |  | 1740|  8.33k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  58.7k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  58.7k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|   117k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 58.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 50.4k, False: 8.32k]
  |  |  ------------------
  |  | 1742|  50.4k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  50.4k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  50.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  50.4k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 2, False: 50.4k]
  |  |  ------------------
  |  | 1744|  50.4k|                return 0;                 \
  |  | 1745|  50.4k|        } \
  |  | 1746|  8.33k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 8.32k]
  |  |  ------------------
  ------------------
 2052|  8.32k|        VISIT(st, expr, s->v.Assign.value);
  ------------------
  |  | 1731|  8.32k|    do { \
  |  | 1732|  8.32k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 7, False: 8.32k]
  |  |  ------------------
  |  | 1733|      7|            return 0; \
  |  | 1734|      7|        } \
  |  | 1735|  8.32k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 8.32k]
  |  |  ------------------
  ------------------
 2053|  8.32k|        break;
 2054|  24.4k|    case AnnAssign_kind:
  ------------------
  |  Branch (2054:5): [True: 24.4k, False: 148k]
  ------------------
 2055|  24.4k|        st->st_cur->ste_annotations_used = 1;
 2056|  24.4k|        if (s->v.AnnAssign.target->kind == Name_kind) {
  ------------------
  |  Branch (2056:13): [True: 23.4k, False: 989]
  ------------------
 2057|  23.4k|            expr_ty e_name = s->v.AnnAssign.target;
 2058|  23.4k|            long cur = symtable_lookup(st, e_name->v.Name.id);
 2059|  23.4k|            if (cur < 0) {
  ------------------
  |  Branch (2059:17): [True: 0, False: 23.4k]
  ------------------
 2060|      0|                return 0;
 2061|      0|            }
 2062|  23.4k|            if ((cur & (DEF_GLOBAL | DEF_NONLOCAL))
  ------------------
  |  |  165|  23.4k|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                          if ((cur & (DEF_GLOBAL | DEF_NONLOCAL))
  ------------------
  |  |  168|  23.4k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (2062:17): [True: 133, False: 23.3k]
  ------------------
 2063|    133|                && (st->st_cur->ste_symbols != st->st_global)
  ------------------
  |  Branch (2063:20): [True: 1, False: 132]
  ------------------
 2064|      1|                && s->v.AnnAssign.simple) {
  ------------------
  |  Branch (2064:20): [True: 1, False: 0]
  ------------------
 2065|      1|                PyErr_Format(PyExc_SyntaxError,
 2066|      1|                             cur & DEF_GLOBAL ? GLOBAL_ANNOT : NONLOCAL_ANNOT,
  ------------------
  |  |  165|      1|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                                           cur & DEF_GLOBAL ? GLOBAL_ANNOT : NONLOCAL_ANNOT,
  ------------------
  |  |   34|      1|#define GLOBAL_ANNOT \
  |  |   35|      1|"annotated name '%U' can't be global"
  ------------------
                                           cur & DEF_GLOBAL ? GLOBAL_ANNOT : NONLOCAL_ANNOT,
  ------------------
  |  |   37|      1|#define NONLOCAL_ANNOT \
  |  |   38|      1|"annotated name '%U' can't be nonlocal"
  ------------------
  |  Branch (2066:30): [True: 1, False: 0]
  ------------------
 2067|      1|                             e_name->v.Name.id);
 2068|      1|                SET_ERROR_LOCATION(st->st_filename, LOCATION(s));
  ------------------
  |  |   87|      1|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      1|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2069|      1|                return 0;
 2070|      1|            }
 2071|  23.4k|            if (s->v.AnnAssign.simple &&
  ------------------
  |  Branch (2071:17): [True: 23.3k, False: 96]
  ------------------
 2072|  23.3k|                !symtable_add_def(st, e_name->v.Name.id,
  ------------------
  |  Branch (2072:17): [True: 0, False: 23.3k]
  ------------------
 2073|  23.3k|                                  DEF_ANNOT | DEF_LOCAL, LOCATION(e_name))) {
  ------------------
  |  |  172|  23.3k|#define DEF_ANNOT (2<<7)         /* this name is annotated */
  ------------------
                                                DEF_ANNOT | DEF_LOCAL, LOCATION(e_name))) {
  ------------------
  |  |  166|  23.3k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                                                DEF_ANNOT | DEF_LOCAL, LOCATION(e_name))) {
  ------------------
  |  |   84|  23.3k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  23.3k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  23.3k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  23.3k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  23.3k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  23.3k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2074|      0|                return 0;
 2075|      0|            }
 2076|  23.4k|            else {
 2077|  23.4k|                if (s->v.AnnAssign.value
  ------------------
  |  Branch (2077:21): [True: 337, False: 23.1k]
  ------------------
 2078|    337|                    && !symtable_add_def(st, e_name->v.Name.id, DEF_LOCAL, LOCATION(e_name))) {
  ------------------
  |  |  166|    337|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                                  && !symtable_add_def(st, e_name->v.Name.id, DEF_LOCAL, LOCATION(e_name))) {
  ------------------
  |  |   84|    337|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    337|    (_Py_SourceLocation){ \
  |  |  |  |   55|    337|               .lineno = (n)->lineno, \
  |  |  |  |   56|    337|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    337|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    337|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2078:24): [True: 0, False: 337]
  ------------------
 2079|      0|                    return 0;
 2080|      0|                }
 2081|  23.4k|            }
 2082|  23.4k|        }
 2083|    989|        else {
 2084|    989|            VISIT(st, expr, s->v.AnnAssign.target);
  ------------------
  |  | 1731|    989|    do { \
  |  | 1732|    989|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 1, False: 988]
  |  |  ------------------
  |  | 1733|      1|            return 0; \
  |  | 1734|      1|        } \
  |  | 1735|    989|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 988]
  |  |  ------------------
  ------------------
 2085|    989|        }
 2086|  24.4k|        if (!symtable_visit_annotation(st, s->v.AnnAssign.annotation,
  ------------------
  |  Branch (2086:13): [True: 35, False: 24.4k]
  ------------------
 2087|  24.4k|                                       (void *)((uintptr_t)st->st_cur->ste_id + 1))) {
 2088|     35|            return 0;
 2089|     35|        }
 2090|       |
 2091|  24.4k|        if (s->v.AnnAssign.value) {
  ------------------
  |  Branch (2091:13): [True: 430, False: 23.9k]
  ------------------
 2092|    430|            VISIT(st, expr, s->v.AnnAssign.value);
  ------------------
  |  | 1731|    430|    do { \
  |  | 1732|    430|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 3, False: 427]
  |  |  ------------------
  |  | 1733|      3|            return 0; \
  |  | 1734|      3|        } \
  |  | 1735|    430|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 427]
  |  |  ------------------
  ------------------
 2093|    430|        }
 2094|  24.4k|        break;
 2095|  24.4k|    case AugAssign_kind: {
  ------------------
  |  Branch (2095:5): [True: 6.56k, False: 166k]
  ------------------
 2096|  6.56k|        VISIT(st, expr, s->v.AugAssign.target);
  ------------------
  |  | 1731|  6.56k|    do { \
  |  | 1732|  6.56k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 1, False: 6.56k]
  |  |  ------------------
  |  | 1733|      1|            return 0; \
  |  | 1734|      1|        } \
  |  | 1735|  6.56k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 6.56k]
  |  |  ------------------
  ------------------
 2097|  6.56k|        VISIT(st, expr, s->v.AugAssign.value);
  ------------------
  |  | 1731|  6.56k|    do { \
  |  | 1732|  6.56k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 4, False: 6.56k]
  |  |  ------------------
  |  | 1733|      4|            return 0; \
  |  | 1734|      4|        } \
  |  | 1735|  6.56k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 6.56k]
  |  |  ------------------
  ------------------
 2098|  6.56k|        break;
 2099|  6.56k|    }
 2100|  6.56k|    case For_kind: {
  ------------------
  |  Branch (2100:5): [True: 732, False: 172k]
  ------------------
 2101|    732|        VISIT(st, expr, s->v.For.target);
  ------------------
  |  | 1731|    732|    do { \
  |  | 1732|    732|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 732]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|    732|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 732]
  |  |  ------------------
  ------------------
 2102|    732|        VISIT(st, expr, s->v.For.iter);
  ------------------
  |  | 1731|    732|    do { \
  |  | 1732|    732|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 1, False: 731]
  |  |  ------------------
  |  | 1733|      1|            return 0; \
  |  | 1734|      1|        } \
  |  | 1735|    732|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 731]
  |  |  ------------------
  ------------------
 2103|    731|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1772|    731|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1773|    731|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2104|    731|        VISIT_SEQ(st, stmt, s->v.For.body);
  ------------------
  |  | 1738|    731|    do { \
  |  | 1739|    731|        Py_ssize_t i; \
  |  | 1740|    731|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  1.65k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.65k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.30k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.65k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 920, False: 730]
  |  |  ------------------
  |  | 1742|    920|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    920|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    920|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|    920|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 1, False: 919]
  |  |  ------------------
  |  | 1744|    920|                return 0;                 \
  |  | 1745|    920|        } \
  |  | 1746|    731|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 730]
  |  |  ------------------
  ------------------
 2105|    730|        if (s->v.For.orelse)
  ------------------
  |  Branch (2105:13): [True: 123, False: 607]
  ------------------
 2106|    123|            VISIT_SEQ(st, stmt, s->v.For.orelse);
  ------------------
  |  | 1738|    123|    do { \
  |  | 1739|    123|        Py_ssize_t i; \
  |  | 1740|    123|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|    329|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    329|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    658|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 329]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 207, False: 122]
  |  |  ------------------
  |  | 1742|    207|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    207|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    207|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|    207|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 1, False: 206]
  |  |  ------------------
  |  | 1744|    207|                return 0;                 \
  |  | 1745|    207|        } \
  |  | 1746|    123|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 122]
  |  |  ------------------
  ------------------
 2107|    729|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1776|    729|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2108|    729|        break;
 2109|    730|    }
 2110|  2.14k|    case While_kind: {
  ------------------
  |  Branch (2110:5): [True: 2.14k, False: 171k]
  ------------------
 2111|  2.14k|        VISIT(st, expr, s->v.While.test);
  ------------------
  |  | 1731|  2.14k|    do { \
  |  | 1732|  2.14k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 2.14k]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|  2.14k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 2.14k]
  |  |  ------------------
  ------------------
 2112|  2.14k|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1772|  2.14k|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1773|  2.14k|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2113|  2.14k|        VISIT_SEQ(st, stmt, s->v.While.body);
  ------------------
  |  | 1738|  2.14k|    do { \
  |  | 1739|  2.14k|        Py_ssize_t i; \
  |  | 1740|  2.14k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  13.9k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  13.9k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  27.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 13.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 11.8k, False: 2.13k]
  |  |  ------------------
  |  | 1742|  11.8k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  11.8k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  11.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  11.8k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 5, False: 11.8k]
  |  |  ------------------
  |  | 1744|  11.8k|                return 0;                 \
  |  | 1745|  11.8k|        } \
  |  | 1746|  2.14k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 2.13k]
  |  |  ------------------
  ------------------
 2114|  2.13k|        if (s->v.While.orelse)
  ------------------
  |  Branch (2114:13): [True: 167, False: 1.97k]
  ------------------
 2115|    167|            VISIT_SEQ(st, stmt, s->v.While.orelse);
  ------------------
  |  | 1738|    167|    do { \
  |  | 1739|    167|        Py_ssize_t i; \
  |  | 1740|    167|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|    534|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    534|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.06k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 534]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 368, False: 166]
  |  |  ------------------
  |  | 1742|    368|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    368|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    368|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|    368|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 1, False: 367]
  |  |  ------------------
  |  | 1744|    368|                return 0;                 \
  |  | 1745|    368|        } \
  |  | 1746|    167|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 166]
  |  |  ------------------
  ------------------
 2116|  2.13k|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1776|  2.13k|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2117|  2.13k|        break;
 2118|  2.13k|    }
 2119|  1.30k|    case If_kind: {
  ------------------
  |  Branch (2119:5): [True: 1.30k, False: 171k]
  ------------------
 2120|       |        /* XXX if 0: and lookup_yield() hacks */
 2121|  1.30k|        VISIT(st, expr, s->v.If.test);
  ------------------
  |  | 1731|  1.30k|    do { \
  |  | 1732|  1.30k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 1, False: 1.29k]
  |  |  ------------------
  |  | 1733|      1|            return 0; \
  |  | 1734|      1|        } \
  |  | 1735|  1.30k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 1.29k]
  |  |  ------------------
  ------------------
 2122|  1.29k|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1772|  1.29k|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1773|  1.29k|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2123|  1.29k|        VISIT_SEQ(st, stmt, s->v.If.body);
  ------------------
  |  | 1738|  1.29k|    do { \
  |  | 1739|  1.29k|        Py_ssize_t i; \
  |  | 1740|  1.29k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  3.72k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.72k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  7.44k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 3.72k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 2.42k, False: 1.29k]
  |  |  ------------------
  |  | 1742|  2.42k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  2.42k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.42k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  2.42k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 1, False: 2.42k]
  |  |  ------------------
  |  | 1744|  2.42k|                return 0;                 \
  |  | 1745|  2.42k|        } \
  |  | 1746|  1.29k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 1.29k]
  |  |  ------------------
  ------------------
 2124|  1.29k|        if (s->v.If.orelse)
  ------------------
  |  Branch (2124:13): [True: 362, False: 936]
  ------------------
 2125|    362|            VISIT_SEQ(st, stmt, s->v.If.orelse);
  ------------------
  |  | 1738|    362|    do { \
  |  | 1739|    362|        Py_ssize_t i; \
  |  | 1740|    362|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  1.59k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.59k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.18k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.59k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 1.23k, False: 361]
  |  |  ------------------
  |  | 1742|  1.23k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.23k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.23k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  1.23k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 1, False: 1.23k]
  |  |  ------------------
  |  | 1744|  1.23k|                return 0;                 \
  |  | 1745|  1.23k|        } \
  |  | 1746|    362|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 361]
  |  |  ------------------
  ------------------
 2126|  1.29k|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1776|  1.29k|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2127|  1.29k|        break;
 2128|  1.29k|    }
 2129|    201|    case Match_kind: {
  ------------------
  |  Branch (2129:5): [True: 201, False: 173k]
  ------------------
 2130|    201|        VISIT(st, expr, s->v.Match.subject);
  ------------------
  |  | 1731|    201|    do { \
  |  | 1732|    201|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 1, False: 200]
  |  |  ------------------
  |  | 1733|      1|            return 0; \
  |  | 1734|      1|        } \
  |  | 1735|    201|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 200]
  |  |  ------------------
  ------------------
 2131|    200|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1772|    200|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1773|    200|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2132|    200|        VISIT_SEQ(st, match_case, s->v.Match.cases);
  ------------------
  |  | 1738|    200|    do { \
  |  | 1739|    200|        Py_ssize_t i; \
  |  | 1740|    200|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  1.14k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.14k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.28k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.14k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 943, False: 198]
  |  |  ------------------
  |  | 1742|    943|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    943|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    943|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|    943|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 2, False: 941]
  |  |  ------------------
  |  | 1744|    943|                return 0;                 \
  |  | 1745|    943|        } \
  |  | 1746|    200|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 198]
  |  |  ------------------
  ------------------
 2133|    198|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1776|    198|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2134|    198|        break;
 2135|    200|    }
 2136|    497|    case Raise_kind:
  ------------------
  |  Branch (2136:5): [True: 497, False: 172k]
  ------------------
 2137|    497|        if (s->v.Raise.exc) {
  ------------------
  |  Branch (2137:13): [True: 227, False: 270]
  ------------------
 2138|    227|            VISIT(st, expr, s->v.Raise.exc);
  ------------------
  |  | 1731|    227|    do { \
  |  | 1732|    227|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 2, False: 225]
  |  |  ------------------
  |  | 1733|      2|            return 0; \
  |  | 1734|      2|        } \
  |  | 1735|    227|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 225]
  |  |  ------------------
  ------------------
 2139|    225|            if (s->v.Raise.cause) {
  ------------------
  |  Branch (2139:17): [True: 145, False: 80]
  ------------------
 2140|    145|                VISIT(st, expr, s->v.Raise.cause);
  ------------------
  |  | 1731|    145|    do { \
  |  | 1732|    145|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 2, False: 143]
  |  |  ------------------
  |  | 1733|      2|            return 0; \
  |  | 1734|      2|        } \
  |  | 1735|    145|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 143]
  |  |  ------------------
  ------------------
 2141|    145|            }
 2142|    225|        }
 2143|    493|        break;
 2144|  2.59k|    case Try_kind: {
  ------------------
  |  Branch (2144:5): [True: 2.59k, False: 170k]
  ------------------
 2145|  2.59k|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1772|  2.59k|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1773|  2.59k|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2146|  2.59k|        ENTER_TRY_BLOCK(st);
  ------------------
  |  | 1779|  2.59k|    int in_try_block = (ST)->st_cur->ste_in_try_block; \
  |  | 1780|  2.59k|    (ST)->st_cur->ste_in_try_block = 1;
  ------------------
 2147|  2.59k|        VISIT_SEQ(st, stmt, s->v.Try.body);
  ------------------
  |  | 1738|  2.59k|    do { \
  |  | 1739|  2.59k|        Py_ssize_t i; \
  |  | 1740|  2.59k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  5.30k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  5.30k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  10.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 5.30k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 2.70k, False: 2.59k]
  |  |  ------------------
  |  | 1742|  2.70k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  2.70k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.70k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  2.70k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 1, False: 2.70k]
  |  |  ------------------
  |  | 1744|  2.70k|                return 0;                 \
  |  | 1745|  2.70k|        } \
  |  | 1746|  2.59k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 2.59k]
  |  |  ------------------
  ------------------
 2148|  2.59k|        VISIT_SEQ(st, excepthandler, s->v.Try.handlers);
  ------------------
  |  | 1738|  2.59k|    do { \
  |  | 1739|  2.59k|        Py_ssize_t i; \
  |  | 1740|  2.59k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  4.14k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  4.14k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  8.29k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 1.32k, False: 2.82k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 1.55k, False: 2.59k]
  |  |  ------------------
  |  | 1742|  1.55k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.55k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.55k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  1.55k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 1, False: 1.54k]
  |  |  ------------------
  |  | 1744|  1.55k|                return 0;                 \
  |  | 1745|  1.55k|        } \
  |  | 1746|  2.59k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 2.59k]
  |  |  ------------------
  ------------------
 2149|  2.59k|        VISIT_SEQ(st, stmt, s->v.Try.orelse);
  ------------------
  |  | 1738|  2.59k|    do { \
  |  | 1739|  2.59k|        Py_ssize_t i; \
  |  | 1740|  2.59k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  2.85k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.85k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  5.70k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 2.51k, False: 339]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 258, False: 2.59k]
  |  |  ------------------
  |  | 1742|    258|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    258|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    258|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|    258|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 1, False: 257]
  |  |  ------------------
  |  | 1744|    258|                return 0;                 \
  |  | 1745|    258|        } \
  |  | 1746|  2.59k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 2.59k]
  |  |  ------------------
  ------------------
 2150|  2.59k|        VISIT_SEQ(st, stmt, s->v.Try.finalbody);
  ------------------
  |  | 1738|  2.59k|    do { \
  |  | 1739|  2.59k|        Py_ssize_t i; \
  |  | 1740|  2.59k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  8.76k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  8.76k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  17.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 507, False: 8.25k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 6.17k, False: 2.58k]
  |  |  ------------------
  |  | 1742|  6.17k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  6.17k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  6.17k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  6.17k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 9, False: 6.17k]
  |  |  ------------------
  |  | 1744|  6.17k|                return 0;                 \
  |  | 1745|  6.17k|        } \
  |  | 1746|  2.59k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 2.58k]
  |  |  ------------------
  ------------------
 2151|  2.58k|        LEAVE_TRY_BLOCK(st);
  ------------------
  |  | 1783|  2.58k|    (ST)->st_cur->ste_in_try_block = in_try_block;
  ------------------
 2152|  2.58k|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1776|  2.58k|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2153|  2.58k|        break;
 2154|  2.59k|    }
 2155|  1.18k|    case TryStar_kind: {
  ------------------
  |  Branch (2155:5): [True: 1.18k, False: 172k]
  ------------------
 2156|  1.18k|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1772|  1.18k|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1773|  1.18k|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2157|  1.18k|        ENTER_TRY_BLOCK(st);
  ------------------
  |  | 1779|  1.18k|    int in_try_block = (ST)->st_cur->ste_in_try_block; \
  |  | 1780|  1.18k|    (ST)->st_cur->ste_in_try_block = 1;
  ------------------
 2158|  1.18k|        VISIT_SEQ(st, stmt, s->v.TryStar.body);
  ------------------
  |  | 1738|  1.18k|    do { \
  |  | 1739|  1.18k|        Py_ssize_t i; \
  |  | 1740|  1.18k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  2.37k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.37k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.75k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.37k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 1.19k, False: 1.18k]
  |  |  ------------------
  |  | 1742|  1.19k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.19k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.19k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  1.19k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 1, False: 1.19k]
  |  |  ------------------
  |  | 1744|  1.19k|                return 0;                 \
  |  | 1745|  1.19k|        } \
  |  | 1746|  1.18k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 1.18k]
  |  |  ------------------
  ------------------
 2159|  1.18k|        VISIT_SEQ(st, excepthandler, s->v.TryStar.handlers);
  ------------------
  |  | 1738|  1.18k|    do { \
  |  | 1739|  1.18k|        Py_ssize_t i; \
  |  | 1740|  1.18k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  2.67k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.67k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  5.35k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.67k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 1.49k, False: 1.18k]
  |  |  ------------------
  |  | 1742|  1.49k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.49k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.49k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  1.49k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 2, False: 1.49k]
  |  |  ------------------
  |  | 1744|  1.49k|                return 0;                 \
  |  | 1745|  1.49k|        } \
  |  | 1746|  1.18k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 1.18k]
  |  |  ------------------
  ------------------
 2160|  1.18k|        VISIT_SEQ(st, stmt, s->v.TryStar.orelse);
  ------------------
  |  | 1738|  1.18k|    do { \
  |  | 1739|  1.18k|        Py_ssize_t i; \
  |  | 1740|  1.18k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  1.29k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.29k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.59k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 1.16k, False: 134]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 117, False: 1.18k]
  |  |  ------------------
  |  | 1742|    117|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    117|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    117|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|    117|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 1, False: 116]
  |  |  ------------------
  |  | 1744|    117|                return 0;                 \
  |  | 1745|    117|        } \
  |  | 1746|  1.18k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 1.18k]
  |  |  ------------------
  ------------------
 2161|  1.18k|        VISIT_SEQ(st, stmt, s->v.TryStar.finalbody);
  ------------------
  |  | 1738|  1.18k|    do { \
  |  | 1739|  1.18k|        Py_ssize_t i; \
  |  | 1740|  1.18k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  2.48k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.48k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.96k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 1.06k, False: 1.41k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 1.29k, False: 1.18k]
  |  |  ------------------
  |  | 1742|  1.29k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.29k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.29k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  1.29k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 1, False: 1.29k]
  |  |  ------------------
  |  | 1744|  1.29k|                return 0;                 \
  |  | 1745|  1.29k|        } \
  |  | 1746|  1.18k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 1.18k]
  |  |  ------------------
  ------------------
 2162|  1.18k|        LEAVE_TRY_BLOCK(st);
  ------------------
  |  | 1783|  1.18k|    (ST)->st_cur->ste_in_try_block = in_try_block;
  ------------------
 2163|  1.18k|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1776|  1.18k|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2164|  1.18k|        break;
 2165|  1.18k|    }
 2166|  1.85k|    case Assert_kind:
  ------------------
  |  Branch (2166:5): [True: 1.85k, False: 171k]
  ------------------
 2167|  1.85k|        VISIT(st, expr, s->v.Assert.test);
  ------------------
  |  | 1731|  1.85k|    do { \
  |  | 1732|  1.85k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 2, False: 1.84k]
  |  |  ------------------
  |  | 1733|      2|            return 0; \
  |  | 1734|      2|        } \
  |  | 1735|  1.85k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 1.84k]
  |  |  ------------------
  ------------------
 2168|  1.84k|        if (s->v.Assert.msg)
  ------------------
  |  Branch (2168:13): [True: 382, False: 1.46k]
  ------------------
 2169|    382|            VISIT(st, expr, s->v.Assert.msg);
  ------------------
  |  | 1731|    382|    do { \
  |  | 1732|    382|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 1, False: 381]
  |  |  ------------------
  |  | 1733|      1|            return 0; \
  |  | 1734|      1|        } \
  |  | 1735|    382|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 381]
  |  |  ------------------
  ------------------
 2170|  1.84k|        break;
 2171|  2.50k|    case Import_kind:
  ------------------
  |  Branch (2171:5): [True: 2.50k, False: 170k]
  ------------------
 2172|  2.50k|        if (s->v.Import.is_lazy) {
  ------------------
  |  Branch (2172:13): [True: 6, False: 2.49k]
  ------------------
 2173|      6|            if (!check_lazy_import_context(st, s, "import")) {
  ------------------
  |  Branch (2173:17): [True: 0, False: 6]
  ------------------
 2174|      0|                return 0;
 2175|      0|            }
 2176|      6|        }
 2177|  2.50k|        VISIT_SEQ(st, alias, s->v.Import.names);
  ------------------
  |  | 1738|  2.50k|    do { \
  |  | 1739|  2.50k|        Py_ssize_t i; \
  |  | 1740|  2.50k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  10.8k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  10.8k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  21.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 10.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 8.35k, False: 2.50k]
  |  |  ------------------
  |  | 1742|  8.35k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  8.35k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  8.35k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  8.35k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 8.35k]
  |  |  ------------------
  |  | 1744|  8.35k|                return 0;                 \
  |  | 1745|  8.35k|        } \
  |  | 1746|  2.50k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 2.50k]
  |  |  ------------------
  ------------------
 2178|  2.50k|        break;
 2179|  2.50k|    case ImportFrom_kind:
  ------------------
  |  Branch (2179:5): [True: 2.20k, False: 171k]
  ------------------
 2180|  2.20k|        if (s->v.ImportFrom.is_lazy) {
  ------------------
  |  Branch (2180:13): [True: 1, False: 2.20k]
  ------------------
 2181|      1|            if (!check_lazy_import_context(st, s, "from ... import")) {
  ------------------
  |  Branch (2181:17): [True: 0, False: 1]
  ------------------
 2182|      0|                return 0;
 2183|      0|            }
 2184|       |
 2185|       |            // Check for import *
 2186|      2|            for (Py_ssize_t i = 0; i < asdl_seq_LEN(s->v.ImportFrom.names);
  ------------------
  |  |   83|      2|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2186:36): [True: 1, False: 1]
  ------------------
 2187|      1|                 i++) {
 2188|      1|                alias_ty alias = (alias_ty)asdl_seq_GET(
  ------------------
  |  |   82|      1|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2189|      1|                    s->v.ImportFrom.names, i);
 2190|      1|                if (alias->name &&
  ------------------
  |  Branch (2190:21): [True: 1, False: 0]
  ------------------
 2191|      1|                        _PyUnicode_EqualToASCIIString(alias->name, "*")) {
  ------------------
  |  Branch (2191:25): [True: 0, False: 1]
  ------------------
 2192|      0|                    PyErr_SetString(PyExc_SyntaxError,
 2193|      0|                                    "lazy from ... import * is not allowed");
 2194|      0|                    SET_ERROR_LOCATION(st->st_filename, LOCATION(s));
  ------------------
  |  |   87|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2195|      0|                    return 0;
 2196|      0|                }
 2197|      1|            }
 2198|      1|        }
 2199|  2.20k|        VISIT_SEQ(st, alias, s->v.ImportFrom.names);
  ------------------
  |  | 1738|  2.20k|    do { \
  |  | 1739|  2.20k|        Py_ssize_t i; \
  |  | 1740|  2.20k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  5.97k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  5.97k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  11.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 5.97k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 3.77k, False: 2.20k]
  |  |  ------------------
  |  | 1742|  3.77k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  3.77k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.77k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  3.77k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 3.77k]
  |  |  ------------------
  |  | 1744|  3.77k|                return 0;                 \
  |  | 1745|  3.77k|        } \
  |  | 1746|  2.20k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 2.20k]
  |  |  ------------------
  ------------------
 2200|  2.20k|        if (!check_import_from(st, s)) {
  ------------------
  |  Branch (2200:13): [True: 3, False: 2.19k]
  ------------------
 2201|      3|            return 0;
 2202|      3|        }
 2203|  2.19k|        break;
 2204|  2.19k|    case Global_kind: {
  ------------------
  |  Branch (2204:5): [True: 733, False: 172k]
  ------------------
 2205|    733|        Py_ssize_t i;
 2206|    733|        asdl_identifier_seq *seq = s->v.Global.names;
 2207|  1.58k|        for (i = 0; i < asdl_seq_LEN(seq); i++) {
  ------------------
  |  |   83|  1.58k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.17k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.58k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2207:21): [True: 861, False: 728]
  ------------------
 2208|    861|            identifier name = (identifier)asdl_seq_GET(seq, i);
  ------------------
  |  |   82|    861|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    861|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2209|    861|            long cur = symtable_lookup(st, name);
 2210|    861|            if (cur < 0)
  ------------------
  |  Branch (2210:17): [True: 0, False: 861]
  ------------------
 2211|      0|                return 0;
 2212|    861|            if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  167|    861|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                          if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  166|    861|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                          if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  169|    861|#define USE (2<<3)               /* name is used */
  ------------------
                          if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  172|    861|#define DEF_ANNOT (2<<7)         /* this name is annotated */
  ------------------
  |  Branch (2212:17): [True: 5, False: 856]
  ------------------
 2213|      5|                const char* msg;
 2214|      5|                if (cur & DEF_PARAM) {
  ------------------
  |  |  167|      5|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (2214:21): [True: 0, False: 5]
  ------------------
 2215|      0|                    msg = GLOBAL_PARAM;
  ------------------
  |  |   16|      0|#define GLOBAL_PARAM \
  |  |   17|      0|"name '%U' is parameter and global"
  ------------------
 2216|      5|                } else if (cur & USE) {
  ------------------
  |  |  169|      5|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (2216:28): [True: 4, False: 1]
  ------------------
 2217|      4|                    msg = GLOBAL_AFTER_USE;
  ------------------
  |  |   28|      4|#define GLOBAL_AFTER_USE \
  |  |   29|      4|"name '%U' is used prior to global declaration"
  ------------------
 2218|      4|                } else if (cur & DEF_ANNOT) {
  ------------------
  |  |  172|      1|#define DEF_ANNOT (2<<7)         /* this name is annotated */
  ------------------
  |  Branch (2218:28): [True: 0, False: 1]
  ------------------
 2219|      0|                    msg = GLOBAL_ANNOT;
  ------------------
  |  |   34|      0|#define GLOBAL_ANNOT \
  |  |   35|      0|"annotated name '%U' can't be global"
  ------------------
 2220|      1|                } else {  /* DEF_LOCAL */
 2221|      1|                    msg = GLOBAL_AFTER_ASSIGN;
  ------------------
  |  |   22|      1|#define GLOBAL_AFTER_ASSIGN \
  |  |   23|      1|"name '%U' is assigned to before global declaration"
  ------------------
 2222|      1|                }
 2223|      5|                PyErr_Format(PyExc_SyntaxError,
 2224|      5|                             msg, name);
 2225|      5|                SET_ERROR_LOCATION(st->st_filename, LOCATION(s));
  ------------------
  |  |   87|      5|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      5|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2226|      5|                return 0;
 2227|      5|            }
 2228|    856|            if (!symtable_add_def(st, name, DEF_GLOBAL, LOCATION(s))) {
  ------------------
  |  |  165|    856|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                          if (!symtable_add_def(st, name, DEF_GLOBAL, LOCATION(s))) {
  ------------------
  |  |   84|    856|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    856|    (_Py_SourceLocation){ \
  |  |  |  |   55|    856|               .lineno = (n)->lineno, \
  |  |  |  |   56|    856|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    856|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    856|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2228:17): [True: 0, False: 856]
  ------------------
 2229|      0|                return 0;
 2230|      0|            }
 2231|    856|            if (!symtable_record_directive(st, name, LOCATION(s))) {
  ------------------
  |  |   84|    856|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    856|    (_Py_SourceLocation){ \
  |  |  |  |   55|    856|               .lineno = (n)->lineno, \
  |  |  |  |   56|    856|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    856|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    856|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2231:17): [True: 0, False: 856]
  ------------------
 2232|      0|                return 0;
 2233|      0|            }
 2234|    856|        }
 2235|    728|        break;
 2236|    733|    }
 2237|    728|    case Nonlocal_kind: {
  ------------------
  |  Branch (2237:5): [True: 98, False: 173k]
  ------------------
 2238|     98|        Py_ssize_t i;
 2239|     98|        asdl_identifier_seq *seq = s->v.Nonlocal.names;
 2240|    290|        for (i = 0; i < asdl_seq_LEN(seq); i++) {
  ------------------
  |  |   83|    290|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    580|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 290]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2240:21): [True: 196, False: 94]
  ------------------
 2241|    196|            identifier name = (identifier)asdl_seq_GET(seq, i);
  ------------------
  |  |   82|    196|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    196|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2242|    196|            long cur = symtable_lookup(st, name);
 2243|    196|            if (cur < 0)
  ------------------
  |  Branch (2243:17): [True: 0, False: 196]
  ------------------
 2244|      0|                return 0;
 2245|    196|            if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  167|    196|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                          if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  166|    196|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                          if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  169|    196|#define USE (2<<3)               /* name is used */
  ------------------
                          if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  172|    196|#define DEF_ANNOT (2<<7)         /* this name is annotated */
  ------------------
  |  Branch (2245:17): [True: 4, False: 192]
  ------------------
 2246|      4|                const char* msg;
 2247|      4|                if (cur & DEF_PARAM) {
  ------------------
  |  |  167|      4|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (2247:21): [True: 0, False: 4]
  ------------------
 2248|      0|                    msg = NONLOCAL_PARAM;
  ------------------
  |  |   19|      0|#define NONLOCAL_PARAM \
  |  |   20|      0|"name '%U' is parameter and nonlocal"
  ------------------
 2249|      4|                } else if (cur & USE) {
  ------------------
  |  |  169|      4|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (2249:28): [True: 2, False: 2]
  ------------------
 2250|      2|                    msg = NONLOCAL_AFTER_USE;
  ------------------
  |  |   31|      2|#define NONLOCAL_AFTER_USE \
  |  |   32|      2|"name '%U' is used prior to nonlocal declaration"
  ------------------
 2251|      2|                } else if (cur & DEF_ANNOT) {
  ------------------
  |  |  172|      2|#define DEF_ANNOT (2<<7)         /* this name is annotated */
  ------------------
  |  Branch (2251:28): [True: 1, False: 1]
  ------------------
 2252|      1|                    msg = NONLOCAL_ANNOT;
  ------------------
  |  |   37|      1|#define NONLOCAL_ANNOT \
  |  |   38|      1|"annotated name '%U' can't be nonlocal"
  ------------------
 2253|      1|                } else {  /* DEF_LOCAL */
 2254|      1|                    msg = NONLOCAL_AFTER_ASSIGN;
  ------------------
  |  |   25|      1|#define NONLOCAL_AFTER_ASSIGN \
  |  |   26|      1|"name '%U' is assigned to before nonlocal declaration"
  ------------------
 2255|      1|                }
 2256|      4|                PyErr_Format(PyExc_SyntaxError, msg, name);
 2257|      4|                SET_ERROR_LOCATION(st->st_filename, LOCATION(s));
  ------------------
  |  |   87|      4|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      4|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2258|      4|                return 0;
 2259|      4|            }
 2260|    192|            if (!symtable_add_def(st, name, DEF_NONLOCAL, LOCATION(s)))
  ------------------
  |  |  168|    192|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
                          if (!symtable_add_def(st, name, DEF_NONLOCAL, LOCATION(s)))
  ------------------
  |  |   84|    192|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    192|    (_Py_SourceLocation){ \
  |  |  |  |   55|    192|               .lineno = (n)->lineno, \
  |  |  |  |   56|    192|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    192|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    192|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2260:17): [True: 0, False: 192]
  ------------------
 2261|      0|                return 0;
 2262|    192|            if (!symtable_record_directive(st, name, LOCATION(s))) {
  ------------------
  |  |   84|    192|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    192|    (_Py_SourceLocation){ \
  |  |  |  |   55|    192|               .lineno = (n)->lineno, \
  |  |  |  |   56|    192|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    192|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    192|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2262:17): [True: 0, False: 192]
  ------------------
 2263|      0|                return 0;
 2264|      0|            }
 2265|    192|        }
 2266|     94|        break;
 2267|     98|    }
 2268|  91.2k|    case Expr_kind:
  ------------------
  |  Branch (2268:5): [True: 91.2k, False: 82.0k]
  ------------------
 2269|  91.2k|        VISIT(st, expr, s->v.Expr.value);
  ------------------
  |  | 1731|  91.2k|    do { \
  |  | 1732|  91.2k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 84, False: 91.1k]
  |  |  ------------------
  |  | 1733|     84|            return 0; \
  |  | 1734|     84|        } \
  |  | 1735|  91.2k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 91.1k]
  |  |  ------------------
  ------------------
 2270|  91.1k|        break;
 2271|  91.1k|    case Pass_kind:
  ------------------
  |  Branch (2271:5): [True: 1.41k, False: 171k]
  ------------------
 2272|  1.49k|    case Break_kind:
  ------------------
  |  Branch (2272:5): [True: 80, False: 173k]
  ------------------
 2273|  1.98k|    case Continue_kind:
  ------------------
  |  Branch (2273:5): [True: 491, False: 172k]
  ------------------
 2274|       |        /* nothing to do here */
 2275|  1.98k|        break;
 2276|    550|    case With_kind: {
  ------------------
  |  Branch (2276:5): [True: 550, False: 172k]
  ------------------
 2277|    550|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1772|    550|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1773|    550|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2278|    550|        VISIT_SEQ(st, withitem, s->v.With.items);
  ------------------
  |  | 1738|    550|    do { \
  |  | 1739|    550|        Py_ssize_t i; \
  |  | 1740|    550|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  1.39k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.39k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.78k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.39k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 844, False: 549]
  |  |  ------------------
  |  | 1742|    844|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    844|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    844|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|    844|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 1, False: 843]
  |  |  ------------------
  |  | 1744|    844|                return 0;                 \
  |  | 1745|    844|        } \
  |  | 1746|    550|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 549]
  |  |  ------------------
  ------------------
 2279|    549|        VISIT_SEQ(st, stmt, s->v.With.body);
  ------------------
  |  | 1738|    549|    do { \
  |  | 1739|    549|        Py_ssize_t i; \
  |  | 1740|    549|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  1.64k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.64k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.29k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.64k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 1.10k, False: 547]
  |  |  ------------------
  |  | 1742|  1.10k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.10k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.10k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  1.10k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 2, False: 1.10k]
  |  |  ------------------
  |  | 1744|  1.10k|                return 0;                 \
  |  | 1745|  1.10k|        } \
  |  | 1746|    549|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 547]
  |  |  ------------------
  ------------------
 2280|    547|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1776|    547|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2281|    547|        break;
 2282|    549|    }
 2283|  2.53k|    case AsyncFunctionDef_kind: {
  ------------------
  |  Branch (2283:5): [True: 2.53k, False: 170k]
  ------------------
 2284|  2.53k|        if (!symtable_add_def(st, s->v.AsyncFunctionDef.name, DEF_LOCAL, LOCATION(s)))
  ------------------
  |  |  166|  2.53k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if (!symtable_add_def(st, s->v.AsyncFunctionDef.name, DEF_LOCAL, LOCATION(s)))
  ------------------
  |  |   84|  2.53k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  2.53k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  2.53k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  2.53k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  2.53k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  2.53k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2284:13): [True: 0, False: 2.53k]
  ------------------
 2285|      0|            return 0;
 2286|  2.53k|        if (s->v.AsyncFunctionDef.args->defaults)
  ------------------
  |  Branch (2286:13): [True: 2.53k, False: 0]
  ------------------
 2287|  2.53k|            VISIT_SEQ(st, expr, s->v.AsyncFunctionDef.args->defaults);
  ------------------
  |  | 1738|  2.53k|    do { \
  |  | 1739|  2.53k|        Py_ssize_t i; \
  |  | 1740|  2.53k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  2.54k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.54k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  5.09k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.54k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 9, False: 2.53k]
  |  |  ------------------
  |  | 1742|      9|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      9|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      9|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|      9|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 9]
  |  |  ------------------
  |  | 1744|      9|                return 0;                 \
  |  | 1745|      9|        } \
  |  | 1746|  2.53k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 2.53k]
  |  |  ------------------
  ------------------
 2288|  2.53k|        if (s->v.AsyncFunctionDef.args->kw_defaults)
  ------------------
  |  Branch (2288:13): [True: 2.53k, False: 0]
  ------------------
 2289|  2.53k|            VISIT_SEQ_WITH_NULL(st, expr,
  ------------------
  |  | 1760|  2.53k|    do { \
  |  | 1761|  2.53k|        int i = 0; \
  |  | 1762|  2.53k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1763|  2.81k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.81k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  5.63k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.81k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1763:21): [True: 278, False: 2.53k]
  |  |  ------------------
  |  | 1764|    278|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    278|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    278|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1765|    278|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1765:17): [True: 197, False: 81]
  |  |  ------------------
  |  | 1766|    278|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1766:17): [True: 0, False: 81]
  |  |  ------------------
  |  | 1767|     81|                return 0;             \
  |  | 1768|     81|        } \
  |  | 1769|  2.53k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1769:13): [Folded, False: 2.53k]
  |  |  ------------------
  ------------------
 2290|  2.53k|                                s->v.AsyncFunctionDef.args->kw_defaults);
 2291|  2.53k|        if (s->v.AsyncFunctionDef.decorator_list)
  ------------------
  |  Branch (2291:13): [True: 113, False: 2.42k]
  ------------------
 2292|    113|            VISIT_SEQ(st, expr, s->v.AsyncFunctionDef.decorator_list);
  ------------------
  |  | 1738|    113|    do { \
  |  | 1739|    113|        Py_ssize_t i; \
  |  | 1740|    113|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|    430|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    430|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    860|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 430]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 317, False: 113]
  |  |  ------------------
  |  | 1742|    317|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    317|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    317|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|    317|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 317]
  |  |  ------------------
  |  | 1744|    317|                return 0;                 \
  |  | 1745|    317|        } \
  |  | 1746|    113|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 113]
  |  |  ------------------
  ------------------
 2293|  2.53k|        if (asdl_seq_LEN(s->v.AsyncFunctionDef.type_params) > 0) {
  ------------------
  |  |   83|  2.53k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  5.07k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 2.53k, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2293:13): [True: 6, False: 2.53k]
  ------------------
 2294|      6|            if (!symtable_enter_type_param_block(
  ------------------
  |  Branch (2294:17): [True: 0, False: 6]
  ------------------
 2295|      6|                    st, s->v.AsyncFunctionDef.name,
 2296|      6|                    (void *)s->v.AsyncFunctionDef.type_params,
 2297|      6|                    s->v.AsyncFunctionDef.args->defaults != NULL,
 2298|      6|                    has_kwonlydefaults(s->v.AsyncFunctionDef.args->kwonlyargs,
 2299|      6|                                       s->v.AsyncFunctionDef.args->kw_defaults),
 2300|      6|                    s->kind,
 2301|      6|                    LOCATION(s))) {
  ------------------
  |  |   84|      6|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      6|    (_Py_SourceLocation){ \
  |  |  |  |   55|      6|               .lineno = (n)->lineno, \
  |  |  |  |   56|      6|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      6|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      6|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2302|      0|                return 0;
 2303|      0|            }
 2304|      6|            VISIT_SEQ(st, type_param, s->v.AsyncFunctionDef.type_params);
  ------------------
  |  | 1738|      6|    do { \
  |  | 1739|      6|        Py_ssize_t i; \
  |  | 1740|      6|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|     25|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     25|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     50|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 25]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 20, False: 5]
  |  |  ------------------
  |  | 1742|     20|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     20|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     20|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|     20|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 1, False: 19]
  |  |  ------------------
  |  | 1744|     20|                return 0;                 \
  |  | 1745|     20|        } \
  |  | 1746|      6|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 5]
  |  |  ------------------
  ------------------
 2305|      6|        }
 2306|  2.53k|        PySTEntryObject *new_ste = ste_new(st, s->v.FunctionDef.name, FunctionBlock, (void *)s,
 2307|  2.53k|                                           LOCATION(s));
  ------------------
  |  |   84|  2.53k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  2.53k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  2.53k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  2.53k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  2.53k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  2.53k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2308|  2.53k|        if (!new_ste) {
  ------------------
  |  Branch (2308:13): [True: 0, False: 2.53k]
  ------------------
 2309|      0|            return 0;
 2310|      0|        }
 2311|       |
 2312|  2.53k|        if (_PyAST_GetDocString(s->v.AsyncFunctionDef.body)) {
  ------------------
  |  Branch (2312:13): [True: 0, False: 2.53k]
  ------------------
 2313|      0|            new_ste->ste_has_docstring = 1;
 2314|      0|        }
 2315|       |
 2316|  2.53k|        if (!symtable_visit_annotations(st, s, s->v.AsyncFunctionDef.args,
  ------------------
  |  Branch (2316:13): [True: 0, False: 2.53k]
  ------------------
 2317|  2.53k|                                        s->v.AsyncFunctionDef.returns, new_ste)) {
 2318|      0|            Py_DECREF(new_ste);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2319|      0|            return 0;
 2320|      0|        }
 2321|  2.53k|        if (!symtable_enter_existing_block(st, new_ste, /* add_to_children */true)) {
  ------------------
  |  Branch (2321:13): [True: 0, False: 2.53k]
  ------------------
 2322|      0|            Py_DECREF(new_ste);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2323|      0|            return 0;
 2324|      0|        }
 2325|  2.53k|        Py_DECREF(new_ste);
  ------------------
  |  |  430|  2.53k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.53k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2326|       |
 2327|  2.53k|        st->st_cur->ste_coroutine = 1;
 2328|  2.53k|        VISIT(st, arguments, s->v.AsyncFunctionDef.args);
  ------------------
  |  | 1731|  2.53k|    do { \
  |  | 1732|  2.53k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 10, False: 2.52k]
  |  |  ------------------
  |  | 1733|     10|            return 0; \
  |  | 1734|     10|        } \
  |  | 1735|  2.53k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 2.52k]
  |  |  ------------------
  ------------------
 2329|  2.52k|        VISIT_SEQ(st, stmt, s->v.AsyncFunctionDef.body);
  ------------------
  |  | 1738|  2.52k|    do { \
  |  | 1739|  2.52k|        Py_ssize_t i; \
  |  | 1740|  2.52k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  12.2k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  12.2k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  24.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 12.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 9.70k, False: 2.52k]
  |  |  ------------------
  |  | 1742|  9.70k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  9.70k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  9.70k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  9.70k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 2, False: 9.70k]
  |  |  ------------------
  |  | 1744|  9.70k|                return 0;                 \
  |  | 1745|  9.70k|        } \
  |  | 1746|  2.52k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 2.52k]
  |  |  ------------------
  ------------------
 2330|  2.52k|        if (!symtable_exit_block(st))
  ------------------
  |  Branch (2330:13): [True: 0, False: 2.52k]
  ------------------
 2331|      0|            return 0;
 2332|  2.52k|        if (asdl_seq_LEN(s->v.AsyncFunctionDef.type_params) > 0) {
  ------------------
  |  |   83|  2.52k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  5.04k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 2.51k, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2332:13): [True: 5, False: 2.51k]
  ------------------
 2333|      5|            if (!symtable_exit_block(st))
  ------------------
  |  Branch (2333:17): [True: 0, False: 5]
  ------------------
 2334|      0|                return 0;
 2335|      5|        }
 2336|  2.52k|        break;
 2337|  2.52k|    }
 2338|  2.52k|    case AsyncWith_kind: {
  ------------------
  |  Branch (2338:5): [True: 2.09k, False: 171k]
  ------------------
 2339|  2.09k|        maybe_set_ste_coroutine_for_module(st, s);
 2340|  2.09k|        if (!symtable_raise_if_not_coroutine(st, ASYNC_WITH_OUTSIDE_ASYNC_FUNC, LOCATION(s))) {
  ------------------
  |  |   78|  2.09k|#define ASYNC_WITH_OUTSIDE_ASYNC_FUNC \
  |  |   79|  2.09k|"'async with' outside async function"
  ------------------
                      if (!symtable_raise_if_not_coroutine(st, ASYNC_WITH_OUTSIDE_ASYNC_FUNC, LOCATION(s))) {
  ------------------
  |  |   84|  2.09k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  2.09k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  2.09k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  2.09k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  2.09k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  2.09k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2340:13): [True: 5, False: 2.08k]
  ------------------
 2341|      5|            return 0;
 2342|      5|        }
 2343|  2.08k|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1772|  2.08k|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1773|  2.08k|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2344|  2.08k|        VISIT_SEQ(st, withitem, s->v.AsyncWith.items);
  ------------------
  |  | 1738|  2.08k|    do { \
  |  | 1739|  2.08k|        Py_ssize_t i; \
  |  | 1740|  2.08k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  13.0k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  13.0k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  26.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 13.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 10.9k, False: 2.08k]
  |  |  ------------------
  |  | 1742|  10.9k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  10.9k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  10.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  10.9k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 10.9k]
  |  |  ------------------
  |  | 1744|  10.9k|                return 0;                 \
  |  | 1745|  10.9k|        } \
  |  | 1746|  2.08k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 2.08k]
  |  |  ------------------
  ------------------
 2345|  2.08k|        VISIT_SEQ(st, stmt, s->v.AsyncWith.body);
  ------------------
  |  | 1738|  2.08k|    do { \
  |  | 1739|  2.08k|        Py_ssize_t i; \
  |  | 1740|  2.08k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  5.93k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  5.93k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  11.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 5.93k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 3.84k, False: 2.08k]
  |  |  ------------------
  |  | 1742|  3.84k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  3.84k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.84k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  3.84k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 3.84k]
  |  |  ------------------
  |  | 1744|  3.84k|                return 0;                 \
  |  | 1745|  3.84k|        } \
  |  | 1746|  2.08k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 2.08k]
  |  |  ------------------
  ------------------
 2346|  2.08k|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1776|  2.08k|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2347|  2.08k|        break;
 2348|  2.08k|    }
 2349|     94|    case AsyncFor_kind: {
  ------------------
  |  Branch (2349:5): [True: 94, False: 173k]
  ------------------
 2350|     94|        maybe_set_ste_coroutine_for_module(st, s);
 2351|     94|        if (!symtable_raise_if_not_coroutine(st, ASYNC_FOR_OUTSIDE_ASYNC_FUNC, LOCATION(s))) {
  ------------------
  |  |   81|     94|#define ASYNC_FOR_OUTSIDE_ASYNC_FUNC \
  |  |   82|     94|"'async for' outside async function"
  ------------------
                      if (!symtable_raise_if_not_coroutine(st, ASYNC_FOR_OUTSIDE_ASYNC_FUNC, LOCATION(s))) {
  ------------------
  |  |   84|     94|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     94|    (_Py_SourceLocation){ \
  |  |  |  |   55|     94|               .lineno = (n)->lineno, \
  |  |  |  |   56|     94|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     94|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     94|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2351:13): [True: 1, False: 93]
  ------------------
 2352|      1|            return 0;
 2353|      1|        }
 2354|     93|        VISIT(st, expr, s->v.AsyncFor.target);
  ------------------
  |  | 1731|     93|    do { \
  |  | 1732|     93|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 93]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|     93|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 93]
  |  |  ------------------
  ------------------
 2355|     93|        VISIT(st, expr, s->v.AsyncFor.iter);
  ------------------
  |  | 1731|     93|    do { \
  |  | 1732|     93|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 93]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|     93|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 93]
  |  |  ------------------
  ------------------
 2356|     93|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1772|     93|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1773|     93|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2357|     93|        VISIT_SEQ(st, stmt, s->v.AsyncFor.body);
  ------------------
  |  | 1738|     93|    do { \
  |  | 1739|     93|        Py_ssize_t i; \
  |  | 1740|     93|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|    200|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    200|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    400|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 200]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 107, False: 93]
  |  |  ------------------
  |  | 1742|    107|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    107|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    107|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|    107|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 107]
  |  |  ------------------
  |  | 1744|    107|                return 0;                 \
  |  | 1745|    107|        } \
  |  | 1746|     93|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 93]
  |  |  ------------------
  ------------------
 2358|     93|        if (s->v.AsyncFor.orelse)
  ------------------
  |  Branch (2358:13): [True: 44, False: 49]
  ------------------
 2359|     44|            VISIT_SEQ(st, stmt, s->v.AsyncFor.orelse);
  ------------------
  |  | 1738|     44|    do { \
  |  | 1739|     44|        Py_ssize_t i; \
  |  | 1740|     44|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|    166|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    166|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    332|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 166]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 122, False: 44]
  |  |  ------------------
  |  | 1742|    122|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    122|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    122|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|    122|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 122]
  |  |  ------------------
  |  | 1744|    122|                return 0;                 \
  |  | 1745|    122|        } \
  |  | 1746|     44|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 44]
  |  |  ------------------
  ------------------
 2360|     93|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1776|     93|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2361|     93|        break;
 2362|     93|    }
 2363|   173k|    }
 2364|   173k|    LEAVE_RECURSIVE();
  ------------------
  |  | 1790|   173k|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
 2365|   173k|    return 1;
 2366|   173k|}
symtable.c:symtable_enter_type_param_block:
 1671|  4.24k|{
 1672|  4.24k|    _Py_block_ty current_type = st->st_cur->ste_type;
 1673|  4.24k|    if(!symtable_enter_block(st, name, TypeParametersBlock, ast, loc)) {
  ------------------
  |  Branch (1673:8): [True: 0, False: 4.24k]
  ------------------
 1674|      0|        return 0;
 1675|      0|    }
 1676|  4.24k|    if (current_type == ClassBlock) {
  ------------------
  |  Branch (1676:9): [True: 170, False: 4.07k]
  ------------------
 1677|    170|        st->st_cur->ste_can_see_class_scope = 1;
 1678|    170|        if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, loc)) {
  ------------------
  |  |  921|    170|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    170|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    170|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, loc)) {
  ------------------
  |  |  169|    170|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (1678:13): [True: 0, False: 170]
  ------------------
 1679|      0|            return 0;
 1680|      0|        }
 1681|    170|    }
 1682|  4.24k|    if (kind == ClassDef_kind) {
  ------------------
  |  Branch (1682:9): [True: 1.76k, False: 2.47k]
  ------------------
 1683|  1.76k|        _Py_DECLARE_STR(type_params, ".type_params");
 1684|       |        // It gets "set" when we create the type params tuple and
 1685|       |        // "used" when we build up the bases.
 1686|  1.76k|        if (!symtable_add_def(st, &_Py_STR(type_params), DEF_LOCAL, loc)) {
  ------------------
  |  |  923|  1.76k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.76k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.76k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_STR(type_params), DEF_LOCAL, loc)) {
  ------------------
  |  |  166|  1.76k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
  |  Branch (1686:13): [True: 0, False: 1.76k]
  ------------------
 1687|      0|            return 0;
 1688|      0|        }
 1689|  1.76k|        if (!symtable_add_def(st, &_Py_STR(type_params), USE, loc)) {
  ------------------
  |  |  923|  1.76k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.76k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.76k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_STR(type_params), USE, loc)) {
  ------------------
  |  |  169|  1.76k|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (1689:13): [True: 0, False: 1.76k]
  ------------------
 1690|      0|            return 0;
 1691|      0|        }
 1692|       |        // This is used for setting the generic base
 1693|  1.76k|        _Py_DECLARE_STR(generic_base, ".generic_base");
 1694|  1.76k|        if (!symtable_add_def(st, &_Py_STR(generic_base), DEF_LOCAL, loc)) {
  ------------------
  |  |  923|  1.76k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.76k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.76k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_STR(generic_base), DEF_LOCAL, loc)) {
  ------------------
  |  |  166|  1.76k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
  |  Branch (1694:13): [True: 0, False: 1.76k]
  ------------------
 1695|      0|            return 0;
 1696|      0|        }
 1697|  1.76k|        if (!symtable_add_def(st, &_Py_STR(generic_base), USE, loc)) {
  ------------------
  |  |  923|  1.76k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.76k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.76k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_STR(generic_base), USE, loc)) {
  ------------------
  |  |  169|  1.76k|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (1697:13): [True: 0, False: 1.76k]
  ------------------
 1698|      0|            return 0;
 1699|      0|        }
 1700|  1.76k|    }
 1701|  4.24k|    if (has_defaults) {
  ------------------
  |  Branch (1701:9): [True: 2.47k, False: 1.76k]
  ------------------
 1702|  2.47k|        _Py_DECLARE_STR(defaults, ".defaults");
 1703|  2.47k|        if (!symtable_add_def(st, &_Py_STR(defaults), DEF_PARAM, loc)) {
  ------------------
  |  |  923|  2.47k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.47k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.47k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_STR(defaults), DEF_PARAM, loc)) {
  ------------------
  |  |  167|  2.47k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (1703:13): [True: 0, False: 2.47k]
  ------------------
 1704|      0|            return 0;
 1705|      0|        }
 1706|  2.47k|    }
 1707|  4.24k|    if (has_kwdefaults) {
  ------------------
  |  Branch (1707:9): [True: 0, False: 4.24k]
  ------------------
 1708|      0|        _Py_DECLARE_STR(kwdefaults, ".kwdefaults");
 1709|      0|        if (!symtable_add_def(st, &_Py_STR(kwdefaults), DEF_PARAM, loc)) {
  ------------------
  |  |  923|      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(kwdefaults), DEF_PARAM, loc)) {
  ------------------
  |  |  167|      0|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (1709:13): [True: 0, False: 0]
  ------------------
 1710|      0|            return 0;
 1711|      0|        }
 1712|      0|    }
 1713|  4.24k|    return 1;
 1714|  4.24k|}
symtable.c:has_kwonlydefaults:
 1817|  2.47k|{
 1818|  2.47k|    for (int i = 0; i < asdl_seq_LEN(kwonlyargs); i++) {
  ------------------
  |  |   83|  2.47k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  4.94k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.47k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1818:21): [True: 0, False: 2.47k]
  ------------------
 1819|      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))
  |  |  ------------------
  ------------------
 1820|      0|        if (default_) {
  ------------------
  |  Branch (1820:13): [True: 0, False: 0]
  ------------------
 1821|      0|            return 1;
 1822|      0|        }
 1823|      0|    }
 1824|  2.47k|    return 0;
 1825|  2.47k|}
symtable.c:symtable_visit_type_param:
 2714|  8.31k|{
 2715|  8.31k|    ENTER_RECURSIVE();
  ------------------
  |  | 1785|  8.31k|#define ENTER_RECURSIVE() \
  |  | 1786|  8.31k|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (1786:5): [True: 0, False: 8.31k]
  |  |  ------------------
  |  | 1787|      0|    return 0; \
  |  | 1788|      0|}
  ------------------
 2716|  8.31k|    switch(tp->kind) {
  ------------------
  |  Branch (2716:12): [True: 8.31k, False: 0]
  ------------------
 2717|  7.92k|    case TypeVar_kind:
  ------------------
  |  Branch (2717:5): [True: 7.92k, False: 385]
  ------------------
 2718|  7.92k|        if (!symtable_add_def(st, tp->v.TypeVar.name, DEF_TYPE_PARAM | DEF_LOCAL, LOCATION(tp)))
  ------------------
  |  |  174|  7.92k|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
                      if (!symtable_add_def(st, tp->v.TypeVar.name, DEF_TYPE_PARAM | DEF_LOCAL, LOCATION(tp)))
  ------------------
  |  |  166|  7.92k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if (!symtable_add_def(st, tp->v.TypeVar.name, DEF_TYPE_PARAM | DEF_LOCAL, LOCATION(tp)))
  ------------------
  |  |   84|  7.92k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  7.92k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  7.92k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  7.92k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  7.92k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  7.92k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2718:13): [True: 10, False: 7.91k]
  ------------------
 2719|     10|            return 0;
 2720|       |
 2721|  7.91k|        const char *ste_scope_info = NULL;
 2722|  7.91k|        const expr_ty bound = tp->v.TypeVar.bound;
 2723|  7.91k|        if (bound != NULL) {
  ------------------
  |  Branch (2723:13): [True: 1.45k, False: 6.46k]
  ------------------
 2724|  1.45k|            ste_scope_info = bound->kind == Tuple_kind ? "a TypeVar constraint" : "a TypeVar bound";
  ------------------
  |  Branch (2724:30): [True: 0, False: 1.45k]
  ------------------
 2725|  1.45k|        }
 2726|       |
 2727|       |        // We must use a different key for the bound and default. The obvious choice would be to
 2728|       |        // use the .bound and .default_value pointers, but that fails when the expression immediately
 2729|       |        // inside the bound or default is a comprehension: we would reuse the same key for
 2730|       |        // the comprehension scope. Therefore, use the address + 1 as the second key.
 2731|       |        // The only requirement for the key is that it is unique and it matches the logic in
 2732|       |        // compile.c where the scope is retrieved.
 2733|  7.91k|        if (!symtable_visit_type_param_bound_or_default(st, tp->v.TypeVar.bound, tp->v.TypeVar.name,
  ------------------
  |  Branch (2733:13): [True: 1, False: 7.91k]
  ------------------
 2734|  7.91k|                                                        tp, ste_scope_info)) {
 2735|      1|            return 0;
 2736|      1|        }
 2737|       |
 2738|  7.91k|        if (!symtable_visit_type_param_bound_or_default(st, tp->v.TypeVar.default_value, tp->v.TypeVar.name,
  ------------------
  |  Branch (2738:13): [True: 0, False: 7.91k]
  ------------------
 2739|  7.91k|                                                        (type_param_ty)((uintptr_t)tp + 1), "a TypeVar default")) {
 2740|      0|            return 0;
 2741|      0|        }
 2742|  7.91k|        break;
 2743|  7.91k|    case TypeVarTuple_kind:
  ------------------
  |  Branch (2743:5): [True: 337, False: 7.97k]
  ------------------
 2744|    337|        if (!symtable_add_def(st, tp->v.TypeVarTuple.name, DEF_TYPE_PARAM | DEF_LOCAL, LOCATION(tp))) {
  ------------------
  |  |  174|    337|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
                      if (!symtable_add_def(st, tp->v.TypeVarTuple.name, DEF_TYPE_PARAM | DEF_LOCAL, LOCATION(tp))) {
  ------------------
  |  |  166|    337|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if (!symtable_add_def(st, tp->v.TypeVarTuple.name, DEF_TYPE_PARAM | DEF_LOCAL, LOCATION(tp))) {
  ------------------
  |  |   84|    337|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    337|    (_Py_SourceLocation){ \
  |  |  |  |   55|    337|               .lineno = (n)->lineno, \
  |  |  |  |   56|    337|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    337|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    337|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2744:13): [True: 2, False: 335]
  ------------------
 2745|      2|            return 0;
 2746|      2|        }
 2747|       |
 2748|    335|        if (!symtable_visit_type_param_bound_or_default(st, tp->v.TypeVarTuple.default_value, tp->v.TypeVarTuple.name,
  ------------------
  |  Branch (2748:13): [True: 0, False: 335]
  ------------------
 2749|    335|                                                        tp, "a TypeVarTuple default")) {
 2750|      0|            return 0;
 2751|      0|        }
 2752|    335|        break;
 2753|    335|    case ParamSpec_kind:
  ------------------
  |  Branch (2753:5): [True: 48, False: 8.26k]
  ------------------
 2754|     48|        if (!symtable_add_def(st, tp->v.ParamSpec.name, DEF_TYPE_PARAM | DEF_LOCAL, LOCATION(tp))) {
  ------------------
  |  |  174|     48|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
                      if (!symtable_add_def(st, tp->v.ParamSpec.name, DEF_TYPE_PARAM | DEF_LOCAL, LOCATION(tp))) {
  ------------------
  |  |  166|     48|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if (!symtable_add_def(st, tp->v.ParamSpec.name, DEF_TYPE_PARAM | DEF_LOCAL, LOCATION(tp))) {
  ------------------
  |  |   84|     48|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     48|    (_Py_SourceLocation){ \
  |  |  |  |   55|     48|               .lineno = (n)->lineno, \
  |  |  |  |   56|     48|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     48|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     48|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2754:13): [True: 0, False: 48]
  ------------------
 2755|      0|            return 0;
 2756|      0|        }
 2757|       |
 2758|     48|        if (!symtable_visit_type_param_bound_or_default(st, tp->v.ParamSpec.default_value, tp->v.ParamSpec.name,
  ------------------
  |  Branch (2758:13): [True: 0, False: 48]
  ------------------
 2759|     48|                                                        tp, "a ParamSpec default")) {
 2760|      0|            return 0;
 2761|      0|        }
 2762|     48|        break;
 2763|  8.31k|    }
 2764|  8.30k|    LEAVE_RECURSIVE();
  ------------------
  |  | 1790|  8.30k|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
 2765|  8.30k|    return 1;
 2766|  8.31k|}
symtable.c:symtable_visit_type_param_bound_or_default:
 2676|  16.2k|{
 2677|  16.2k|    if (_PyUnicode_Equal(name, &_Py_ID(__classdict__))) {
  ------------------
  |  |  921|  16.2k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  16.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  16.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2677:9): [True: 0, False: 16.2k]
  ------------------
 2678|       |
 2679|      0|        PyObject *error_msg = PyUnicode_FromFormat("reserved name '%U' cannot be "
 2680|      0|                                                   "used for type parameter", name);
 2681|      0|        if (error_msg == NULL) {
  ------------------
  |  Branch (2681:13): [True: 0, False: 0]
  ------------------
 2682|      0|            return 0;
 2683|      0|        }
 2684|      0|        PyErr_SetObject(PyExc_SyntaxError, error_msg);
 2685|      0|        Py_DECREF(error_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2686|      0|        SET_ERROR_LOCATION(st->st_filename, LOCATION(tp));
  ------------------
  |  |   87|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2687|      0|        return 0;
 2688|      0|    }
 2689|       |
 2690|  16.2k|    if (e) {
  ------------------
  |  Branch (2690:9): [True: 1.52k, False: 14.6k]
  ------------------
 2691|  1.52k|        int is_in_class = st->st_cur->ste_can_see_class_scope;
 2692|  1.52k|        if (!symtable_enter_block(st, name, TypeVariableBlock, (void *)tp, LOCATION(e))) {
  ------------------
  |  |   84|  1.52k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.52k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.52k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.52k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.52k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.52k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2692:13): [True: 0, False: 1.52k]
  ------------------
 2693|      0|            return 0;
 2694|      0|        }
 2695|       |
 2696|  1.52k|        st->st_cur->ste_can_see_class_scope = is_in_class;
 2697|  1.52k|        if (is_in_class && !symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(e))) {
  ------------------
  |  |  921|     49|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     49|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     49|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (is_in_class && !symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(e))) {
  ------------------
  |  |  169|     49|#define USE (2<<3)               /* name is used */
  ------------------
                      if (is_in_class && !symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(e))) {
  ------------------
  |  |   84|     49|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     49|    (_Py_SourceLocation){ \
  |  |  |  |   55|     49|               .lineno = (n)->lineno, \
  |  |  |  |   56|     49|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     49|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     49|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2697:13): [True: 49, False: 1.47k]
  |  Branch (2697:28): [True: 0, False: 49]
  ------------------
 2698|      0|            return 0;
 2699|      0|        }
 2700|       |
 2701|  1.52k|        assert(ste_scope_info != NULL);
  ------------------
  |  Branch (2701:9): [True: 1.52k, False: 0]
  ------------------
 2702|  1.52k|        st->st_cur->ste_scope_info = ste_scope_info;
 2703|  1.52k|        VISIT(st, expr, e);
  ------------------
  |  | 1731|  1.52k|    do { \
  |  | 1732|  1.52k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 1, False: 1.52k]
  |  |  ------------------
  |  | 1733|      1|            return 0; \
  |  | 1734|      1|        } \
  |  | 1735|  1.52k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 1.52k]
  |  |  ------------------
  ------------------
 2704|       |
 2705|  1.52k|        if (!symtable_exit_block(st)) {
  ------------------
  |  Branch (2705:13): [True: 0, False: 1.52k]
  ------------------
 2706|      0|            return 0;
 2707|      0|        }
 2708|  1.52k|    }
 2709|  16.2k|    return 1;
 2710|  16.2k|}
symtable.c:symtable_visit_annotations:
 2925|  7.72k|{
 2926|  7.72k|    int is_in_class = st->st_cur->ste_can_see_class_scope;
 2927|  7.72k|    _Py_block_ty current_type = st->st_cur->ste_type;
 2928|  7.72k|    if (!symtable_enter_block(st, &_Py_ID(__annotate__), AnnotationBlock,
  ------------------
  |  |  921|  7.72k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  7.72k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  7.72k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2928:9): [True: 0, False: 7.72k]
  ------------------
 2929|  7.72k|                              (void *)a, LOCATION(o))) {
  ------------------
  |  |   84|  7.72k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  7.72k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  7.72k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  7.72k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  7.72k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  7.72k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2930|      0|        return 0;
 2931|      0|    }
 2932|  7.72k|    Py_XSETREF(st->st_cur->ste_function_name, Py_NewRef(function_ste->ste_name));
  ------------------
  |  |  376|  7.72k|    do { \
  |  |  377|  7.72k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  7.72k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  378|  7.72k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  7.72k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  379|  7.72k|        *_tmp_dst_ptr = (src); \
  |  |  380|  7.72k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  7.72k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  381|  7.72k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (381:14): [Folded, False: 7.72k]
  |  |  ------------------
  ------------------
 2933|  7.72k|    if (is_in_class || current_type == ClassBlock) {
  ------------------
  |  Branch (2933:9): [True: 0, False: 7.72k]
  |  Branch (2933:24): [True: 0, False: 7.72k]
  ------------------
 2934|      0|        st->st_cur->ste_can_see_class_scope = 1;
 2935|      0|        if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(o))) {
  ------------------
  |  |  921|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(o))) {
  ------------------
  |  |  169|      0|#define USE (2<<3)               /* name is used */
  ------------------
                      if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(o))) {
  ------------------
  |  |   84|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2935:13): [True: 0, False: 0]
  ------------------
 2936|      0|            return 0;
 2937|      0|        }
 2938|      0|    }
 2939|  7.72k|    if (a->posonlyargs && !symtable_visit_argannotations(st, a->posonlyargs))
  ------------------
  |  Branch (2939:9): [True: 7.72k, False: 0]
  |  Branch (2939:27): [True: 1, False: 7.72k]
  ------------------
 2940|      1|        return 0;
 2941|  7.72k|    if (a->args && !symtable_visit_argannotations(st, a->args))
  ------------------
  |  Branch (2941:9): [True: 7.72k, False: 0]
  |  Branch (2941:20): [True: 1, False: 7.72k]
  ------------------
 2942|      1|        return 0;
 2943|  7.72k|    if (a->vararg && a->vararg->annotation) {
  ------------------
  |  Branch (2943:9): [True: 409, False: 7.31k]
  |  Branch (2943:22): [True: 256, False: 153]
  ------------------
 2944|    256|        st->st_cur->ste_annotations_used = 1;
 2945|    256|        VISIT(st, expr, a->vararg->annotation);
  ------------------
  |  | 1731|    256|    do { \
  |  | 1732|    256|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 256]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|    256|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 256]
  |  |  ------------------
  ------------------
 2946|    256|    }
 2947|  7.72k|    if (a->kwarg && a->kwarg->annotation) {
  ------------------
  |  Branch (2947:9): [True: 757, False: 6.96k]
  |  Branch (2947:21): [True: 657, False: 100]
  ------------------
 2948|    657|        st->st_cur->ste_annotations_used = 1;
 2949|    657|        VISIT(st, expr, a->kwarg->annotation);
  ------------------
  |  | 1731|    657|    do { \
  |  | 1732|    657|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 657]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|    657|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 657]
  |  |  ------------------
  ------------------
 2950|    657|    }
 2951|  7.72k|    if (a->kwonlyargs && !symtable_visit_argannotations(st, a->kwonlyargs))
  ------------------
  |  Branch (2951:9): [True: 7.72k, False: 0]
  |  Branch (2951:26): [True: 0, False: 7.72k]
  ------------------
 2952|      0|        return 0;
 2953|  7.72k|    if (returns) {
  ------------------
  |  Branch (2953:9): [True: 2.41k, False: 5.30k]
  ------------------
 2954|  2.41k|        st->st_cur->ste_annotations_used = 1;
 2955|  2.41k|        VISIT(st, expr, returns);
  ------------------
  |  | 1731|  2.41k|    do { \
  |  | 1732|  2.41k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 2.41k]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|  2.41k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 2.41k]
  |  |  ------------------
  ------------------
 2956|  2.41k|    }
 2957|  7.72k|    if (!symtable_exit_block(st)) {
  ------------------
  |  Branch (2957:9): [True: 0, False: 7.72k]
  ------------------
 2958|      0|        return 0;
 2959|      0|    }
 2960|  7.72k|    return 1;
 2961|  7.72k|}
symtable.c:symtable_visit_argannotations:
 2908|  23.1k|{
 2909|  23.1k|    Py_ssize_t i;
 2910|       |
 2911|  26.1k|    for (i = 0; i < asdl_seq_LEN(args); i++) {
  ------------------
  |  |   83|  26.1k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  52.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 26.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2911:17): [True: 3.02k, False: 23.1k]
  ------------------
 2912|  3.02k|        arg_ty arg = (arg_ty)asdl_seq_GET(args, i);
  ------------------
  |  |   82|  3.02k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  3.02k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2913|  3.02k|        if (arg->annotation) {
  ------------------
  |  Branch (2913:13): [True: 524, False: 2.50k]
  ------------------
 2914|    524|            st->st_cur->ste_annotations_used = 1;
 2915|    524|            VISIT(st, expr, arg->annotation);
  ------------------
  |  | 1731|    524|    do { \
  |  | 1732|    524|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 2, False: 522]
  |  |  ------------------
  |  | 1733|      2|            return 0; \
  |  | 1734|      2|        } \
  |  | 1735|    524|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 522]
  |  |  ------------------
  ------------------
 2916|    524|        }
 2917|  3.02k|    }
 2918|       |
 2919|  23.1k|    return 1;
 2920|  23.1k|}
symtable.c:symtable_visit_arguments:
 2965|  12.0k|{
 2966|       |    /* skip default arguments inside function block
 2967|       |       XXX should ast be different?
 2968|       |    */
 2969|  12.0k|    if (a->posonlyargs && !symtable_visit_params(st, a->posonlyargs))
  ------------------
  |  Branch (2969:9): [True: 12.0k, False: 0]
  |  Branch (2969:27): [True: 7, False: 12.0k]
  ------------------
 2970|      7|        return 0;
 2971|  12.0k|    if (a->args && !symtable_visit_params(st, a->args))
  ------------------
  |  Branch (2971:9): [True: 12.0k, False: 0]
  |  Branch (2971:20): [True: 8, False: 12.0k]
  ------------------
 2972|      8|        return 0;
 2973|  12.0k|    if (a->kwonlyargs && !symtable_visit_params(st, a->kwonlyargs))
  ------------------
  |  Branch (2973:9): [True: 12.0k, False: 0]
  |  Branch (2973:26): [True: 23, False: 12.0k]
  ------------------
 2974|     23|        return 0;
 2975|  12.0k|    if (a->vararg) {
  ------------------
  |  Branch (2975:9): [True: 2.73k, False: 9.26k]
  ------------------
 2976|  2.73k|        if (!symtable_add_def(st, a->vararg->arg, DEF_PARAM, LOCATION(a->vararg)))
  ------------------
  |  |  167|  2.73k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                      if (!symtable_add_def(st, a->vararg->arg, DEF_PARAM, LOCATION(a->vararg)))
  ------------------
  |  |   84|  2.73k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  2.73k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  2.73k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  2.73k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  2.73k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  2.73k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2976:13): [True: 1, False: 2.73k]
  ------------------
 2977|      1|            return 0;
 2978|  2.73k|        st->st_cur->ste_varargs = 1;
 2979|  2.73k|    }
 2980|  12.0k|    if (a->kwarg) {
  ------------------
  |  Branch (2980:9): [True: 814, False: 11.1k]
  ------------------
 2981|    814|        if (!symtable_add_def(st, a->kwarg->arg, DEF_PARAM, LOCATION(a->kwarg)))
  ------------------
  |  |  167|    814|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                      if (!symtable_add_def(st, a->kwarg->arg, DEF_PARAM, LOCATION(a->kwarg)))
  ------------------
  |  |   84|    814|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    814|    (_Py_SourceLocation){ \
  |  |  |  |   55|    814|               .lineno = (n)->lineno, \
  |  |  |  |   56|    814|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    814|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    814|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2981:13): [True: 0, False: 814]
  ------------------
 2982|      0|            return 0;
 2983|    814|        st->st_cur->ste_varkeywords = 1;
 2984|    814|    }
 2985|  12.0k|    return 1;
 2986|  12.0k|}
symtable.c:symtable_visit_params:
 2840|  36.1k|{
 2841|  36.1k|    Py_ssize_t i;
 2842|       |
 2843|  42.3k|    for (i = 0; i < asdl_seq_LEN(args); i++) {
  ------------------
  |  |   83|  42.3k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  84.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 42.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2843:17): [True: 6.27k, False: 36.0k]
  ------------------
 2844|  6.27k|        arg_ty arg = (arg_ty)asdl_seq_GET(args, i);
  ------------------
  |  |   82|  6.27k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  6.27k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2845|  6.27k|        if (!symtable_add_def(st, arg->arg, DEF_PARAM, LOCATION(arg)))
  ------------------
  |  |  167|  6.27k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                      if (!symtable_add_def(st, arg->arg, DEF_PARAM, LOCATION(arg)))
  ------------------
  |  |   84|  6.27k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  6.27k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  6.27k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  6.27k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  6.27k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  6.27k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2845:13): [True: 38, False: 6.23k]
  ------------------
 2846|     38|            return 0;
 2847|  6.27k|    }
 2848|       |
 2849|  36.0k|    return 1;
 2850|  36.1k|}
symtable.c:check_keywords:
 1618|  22.8k|{
 1619|  24.5k|    for (Py_ssize_t i = 0; i < asdl_seq_LEN(keywords); i++) {
  ------------------
  |  |   83|  24.5k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  49.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 21.6k, False: 2.89k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1619:28): [True: 1.74k, False: 22.8k]
  ------------------
 1620|  1.74k|        keyword_ty key = ((keyword_ty)asdl_seq_GET(keywords, i));
  ------------------
  |  |   82|  1.74k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.74k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1621|  1.74k|        if (key->arg  && !check_name(st, key->arg, LOCATION(key), Store)) {
  ------------------
  |  |   84|    844|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    844|    (_Py_SourceLocation){ \
  |  |  |  |   55|    844|               .lineno = (n)->lineno, \
  |  |  |  |   56|    844|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    844|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    844|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (1621:13): [True: 844, False: 899]
  |  Branch (1621:26): [True: 1, False: 843]
  ------------------
 1622|      1|            return 0;
 1623|      1|        }
 1624|  1.74k|    }
 1625|  22.8k|    return 1;
 1626|  22.8k|}
symtable.c:symtable_visit_keyword:
 3078|  1.74k|{
 3079|  1.74k|    VISIT(st, expr, k->value);
  ------------------
  |  | 1731|  1.74k|    do { \
  |  | 1732|  1.74k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 6, False: 1.73k]
  |  |  ------------------
  |  | 1733|      6|            return 0; \
  |  | 1734|      6|        } \
  |  | 1735|  1.74k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 1.73k]
  |  |  ------------------
  ------------------
 3080|  1.73k|    return 1;
 3081|  1.74k|}
symtable.c:symtable_lookup:
 1502|  24.5k|{
 1503|  24.5k|    return symtable_lookup_entry(st, st->st_cur, name);
 1504|  24.5k|}
symtable.c:symtable_lookup_entry:
 1488|  27.4k|{
 1489|  27.4k|    PyObject *mangled = _Py_MaybeMangle(st->st_private, ste, name);
 1490|  27.4k|    if (!mangled)
  ------------------
  |  Branch (1490:9): [True: 0, False: 27.4k]
  ------------------
 1491|      0|        return -1;
 1492|  27.4k|    long ret = _PyST_GetSymbol(ste, mangled);
 1493|  27.4k|    Py_DECREF(mangled);
  ------------------
  |  |  430|  27.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1494|  27.4k|    if (ret < 0) {
  ------------------
  |  Branch (1494:9): [True: 0, False: 27.4k]
  ------------------
 1495|      0|        return -1;
 1496|      0|    }
 1497|  27.4k|    return ret;
 1498|  27.4k|}
symtable.c:symtable_visit_annotation:
 2854|  24.4k|{
 2855|       |    // Annotations in local scopes are not executed and should not affect the symtable
 2856|  24.4k|    bool is_unevaluated = st->st_cur->ste_type == FunctionBlock;
 2857|       |
 2858|       |    // Module-level annotations are always considered conditional because the module
 2859|       |    // may be partially executed.
 2860|  24.4k|    if ((((st->st_cur->ste_type == ClassBlock && st->st_cur->ste_in_conditional_block)
  ------------------
  |  Branch (2860:12): [True: 14.8k, False: 9.64k]
  |  Branch (2860:50): [True: 833, False: 13.9k]
  ------------------
 2861|  23.6k|            || st->st_cur->ste_type == ModuleBlock))
  ------------------
  |  Branch (2861:16): [True: 6.12k, False: 17.4k]
  ------------------
 2862|  6.95k|            && !st->st_cur->ste_has_conditional_annotations)
  ------------------
  |  Branch (2862:16): [True: 2.81k, False: 4.13k]
  ------------------
 2863|  2.81k|    {
 2864|  2.81k|        st->st_cur->ste_has_conditional_annotations = 1;
 2865|  2.81k|        if (!symtable_add_def(st, &_Py_ID(__conditional_annotations__), USE, LOCATION(annotation))) {
  ------------------
  |  |  921|  2.81k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.81k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.81k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_ID(__conditional_annotations__), USE, LOCATION(annotation))) {
  ------------------
  |  |  169|  2.81k|#define USE (2<<3)               /* name is used */
  ------------------
                      if (!symtable_add_def(st, &_Py_ID(__conditional_annotations__), USE, LOCATION(annotation))) {
  ------------------
  |  |   84|  2.81k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  2.81k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  2.81k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  2.81k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  2.81k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  2.81k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2865:13): [True: 0, False: 2.81k]
  ------------------
 2866|      0|            return 0;
 2867|      0|        }
 2868|  2.81k|    }
 2869|  24.4k|    struct _symtable_entry *parent_ste = st->st_cur;
 2870|  24.4k|    if (parent_ste->ste_annotation_block == NULL) {
  ------------------
  |  Branch (2870:9): [True: 10.5k, False: 13.9k]
  ------------------
 2871|  10.5k|        _Py_block_ty current_type = parent_ste->ste_type;
 2872|  10.5k|        if (!symtable_enter_block(st, &_Py_ID(__annotate__), AnnotationBlock,
  ------------------
  |  |  921|  10.5k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  10.5k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  10.5k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2872:13): [True: 0, False: 10.5k]
  ------------------
 2873|  10.5k|                                    key, LOCATION(annotation))) {
  ------------------
  |  |   84|  10.5k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  10.5k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  10.5k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  10.5k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  10.5k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  10.5k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2874|      0|            return 0;
 2875|      0|        }
 2876|  10.5k|        parent_ste->ste_annotation_block =
 2877|  10.5k|            (struct _symtable_entry *)Py_NewRef(st->st_cur);
  ------------------
  |  |  550|  10.5k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2878|  10.5k|        int future_annotations = st->st_future->ff_features & CO_FUTURE_ANNOTATIONS;
  ------------------
  |  |  147|  10.5k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
 2879|  10.5k|        if (current_type == ClassBlock && !future_annotations) {
  ------------------
  |  Branch (2879:13): [True: 5.87k, False: 4.65k]
  |  Branch (2879:43): [True: 5.15k, False: 726]
  ------------------
 2880|  5.15k|            st->st_cur->ste_can_see_class_scope = 1;
 2881|  5.15k|            parent_ste->ste_needs_classdict = 1;
 2882|  5.15k|            if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(annotation))) {
  ------------------
  |  |  921|  5.15k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  5.15k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  5.15k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(annotation))) {
  ------------------
  |  |  169|  5.15k|#define USE (2<<3)               /* name is used */
  ------------------
                          if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(annotation))) {
  ------------------
  |  |   84|  5.15k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  5.15k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  5.15k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  5.15k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  5.15k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  5.15k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2882:17): [True: 0, False: 5.15k]
  ------------------
 2883|      0|                return 0;
 2884|      0|            }
 2885|  5.15k|        }
 2886|  10.5k|    }
 2887|  13.9k|    else {
 2888|  13.9k|        if (!symtable_enter_existing_block(st, parent_ste->ste_annotation_block,
  ------------------
  |  Branch (2888:13): [True: 0, False: 13.9k]
  ------------------
 2889|  13.9k|                                           /* add_to_children */false)) {
 2890|      0|            return 0;
 2891|      0|        }
 2892|  13.9k|    }
 2893|  24.4k|    if (is_unevaluated) {
  ------------------
  |  Branch (2893:9): [True: 3.52k, False: 20.9k]
  ------------------
 2894|  3.52k|        st->st_cur->ste_in_unevaluated_annotation = 1;
 2895|  3.52k|    }
 2896|  24.4k|    int rc = symtable_visit_expr(st, annotation);
 2897|  24.4k|    if (is_unevaluated) {
  ------------------
  |  Branch (2897:9): [True: 3.52k, False: 20.9k]
  ------------------
 2898|  3.52k|        st->st_cur->ste_in_unevaluated_annotation = 0;
 2899|  3.52k|    }
 2900|  24.4k|    if (!symtable_exit_block(st)) {
  ------------------
  |  Branch (2900:9): [True: 0, False: 24.4k]
  ------------------
 2901|      0|        return 0;
 2902|      0|    }
 2903|  24.4k|    return rc;
 2904|  24.4k|}
symtable.c:symtable_visit_match_case:
 3013|    943|{
 3014|    943|    VISIT(st, pattern, m->pattern);
  ------------------
  |  | 1731|    943|    do { \
  |  | 1732|    943|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 1, False: 942]
  |  |  ------------------
  |  | 1733|      1|            return 0; \
  |  | 1734|      1|        } \
  |  | 1735|    943|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 942]
  |  |  ------------------
  ------------------
 3015|    942|    if (m->guard) {
  ------------------
  |  Branch (3015:9): [True: 2, False: 940]
  ------------------
 3016|      2|        VISIT(st, expr, m->guard);
  ------------------
  |  | 1731|      2|    do { \
  |  | 1732|      2|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3017|      2|    }
 3018|    942|    VISIT_SEQ(st, stmt, m->body);
  ------------------
  |  | 1738|    942|    do { \
  |  | 1739|    942|        Py_ssize_t i; \
  |  | 1740|    942|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  2.02k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.02k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.04k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.02k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 1.08k, False: 941]
  |  |  ------------------
  |  | 1742|  1.08k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.08k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.08k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  1.08k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 1, False: 1.08k]
  |  |  ------------------
  |  | 1744|  1.08k|                return 0;                 \
  |  | 1745|  1.08k|        } \
  |  | 1746|    942|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 941]
  |  |  ------------------
  ------------------
 3019|    941|    return 1;
 3020|    942|}
symtable.c:symtable_visit_pattern:
 2770|  10.2k|{
 2771|  10.2k|    ENTER_RECURSIVE();
  ------------------
  |  | 1785|  10.2k|#define ENTER_RECURSIVE() \
  |  | 1786|  10.2k|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (1786:5): [True: 0, False: 10.2k]
  |  |  ------------------
  |  | 1787|      0|    return 0; \
  |  | 1788|      0|}
  ------------------
 2772|  10.2k|    switch (p->kind) {
  ------------------
  |  Branch (2772:13): [True: 10.2k, False: 0]
  ------------------
 2773|  1.17k|    case MatchValue_kind:
  ------------------
  |  Branch (2773:5): [True: 1.17k, False: 9.04k]
  ------------------
 2774|  1.17k|        VISIT(st, expr, p->v.MatchValue.value);
  ------------------
  |  | 1731|  1.17k|    do { \
  |  | 1732|  1.17k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 1.17k]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|  1.17k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 1.17k]
  |  |  ------------------
  ------------------
 2775|  1.17k|        break;
 2776|  1.17k|    case MatchSingleton_kind:
  ------------------
  |  Branch (2776:5): [True: 457, False: 9.75k]
  ------------------
 2777|       |        /* Nothing to do here. */
 2778|    457|        break;
 2779|    937|    case MatchSequence_kind:
  ------------------
  |  Branch (2779:5): [True: 937, False: 9.27k]
  ------------------
 2780|    937|        VISIT_SEQ(st, pattern, p->v.MatchSequence.patterns);
  ------------------
  |  | 1738|    937|    do { \
  |  | 1739|    937|        Py_ssize_t i; \
  |  | 1740|    937|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  7.82k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  7.82k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  15.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 18, False: 7.80k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 6.88k, False: 936]
  |  |  ------------------
  |  | 1742|  6.88k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  6.88k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  6.88k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  6.88k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 1, False: 6.88k]
  |  |  ------------------
  |  | 1744|  6.88k|                return 0;                 \
  |  | 1745|  6.88k|        } \
  |  | 1746|    937|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 936]
  |  |  ------------------
  ------------------
 2781|    936|        break;
 2782|    936|    case MatchStar_kind:
  ------------------
  |  Branch (2782:5): [True: 503, False: 9.70k]
  ------------------
 2783|    503|        if (p->v.MatchStar.name) {
  ------------------
  |  Branch (2783:13): [True: 287, False: 216]
  ------------------
 2784|    287|            if (!symtable_add_def(st, p->v.MatchStar.name, DEF_LOCAL, LOCATION(p))) {
  ------------------
  |  |  166|    287|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                          if (!symtable_add_def(st, p->v.MatchStar.name, DEF_LOCAL, LOCATION(p))) {
  ------------------
  |  |   84|    287|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    287|    (_Py_SourceLocation){ \
  |  |  |  |   55|    287|               .lineno = (n)->lineno, \
  |  |  |  |   56|    287|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    287|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    287|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2784:17): [True: 0, False: 287]
  ------------------
 2785|      0|                return 0;
 2786|      0|            }
 2787|    287|        }
 2788|    503|        break;
 2789|    503|    case MatchMapping_kind:
  ------------------
  |  Branch (2789:5): [True: 29, False: 10.1k]
  ------------------
 2790|     29|        VISIT_SEQ(st, expr, p->v.MatchMapping.keys);
  ------------------
  |  | 1738|     29|    do { \
  |  | 1739|     29|        Py_ssize_t i; \
  |  | 1740|     29|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|    113|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    113|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    226|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 15, False: 98]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 84, False: 29]
  |  |  ------------------
  |  | 1742|     84|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     84|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     84|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|     84|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 84]
  |  |  ------------------
  |  | 1744|     84|                return 0;                 \
  |  | 1745|     84|        } \
  |  | 1746|     29|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 29]
  |  |  ------------------
  ------------------
 2791|     29|        VISIT_SEQ(st, pattern, p->v.MatchMapping.patterns);
  ------------------
  |  | 1738|     29|    do { \
  |  | 1739|     29|        Py_ssize_t i; \
  |  | 1740|     29|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|    113|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    113|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    226|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 15, False: 98]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 84, False: 29]
  |  |  ------------------
  |  | 1742|     84|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     84|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     84|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|     84|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 84]
  |  |  ------------------
  |  | 1744|     84|                return 0;                 \
  |  | 1745|     84|        } \
  |  | 1746|     29|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 29]
  |  |  ------------------
  ------------------
 2792|     29|        if (p->v.MatchMapping.rest) {
  ------------------
  |  Branch (2792:13): [True: 0, False: 29]
  ------------------
 2793|      0|            if (!symtable_add_def(st, p->v.MatchMapping.rest, DEF_LOCAL, LOCATION(p))) {
  ------------------
  |  |  166|      0|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                          if (!symtable_add_def(st, p->v.MatchMapping.rest, DEF_LOCAL, LOCATION(p))) {
  ------------------
  |  |   84|      0|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      0|    (_Py_SourceLocation){ \
  |  |  |  |   55|      0|               .lineno = (n)->lineno, \
  |  |  |  |   56|      0|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      0|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      0|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2793:17): [True: 0, False: 0]
  ------------------
 2794|      0|                return 0;
 2795|      0|            }
 2796|      0|        }
 2797|     29|        break;
 2798|    210|    case MatchClass_kind:
  ------------------
  |  Branch (2798:5): [True: 210, False: 10.0k]
  ------------------
 2799|    210|        VISIT(st, expr, p->v.MatchClass.cls);
  ------------------
  |  | 1731|    210|    do { \
  |  | 1732|    210|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 210]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|    210|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 210]
  |  |  ------------------
  ------------------
 2800|    210|        VISIT_SEQ(st, pattern, p->v.MatchClass.patterns);
  ------------------
  |  | 1738|    210|    do { \
  |  | 1739|    210|        Py_ssize_t i; \
  |  | 1740|    210|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|    682|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    682|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.36k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 21, False: 661]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 472, False: 210]
  |  |  ------------------
  |  | 1742|    472|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    472|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    472|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|    472|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 472]
  |  |  ------------------
  |  | 1744|    472|                return 0;                 \
  |  | 1745|    472|        } \
  |  | 1746|    210|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 210]
  |  |  ------------------
  ------------------
 2801|    210|        if (!check_kwd_patterns(st, p)) {
  ------------------
  |  Branch (2801:13): [True: 0, False: 210]
  ------------------
 2802|      0|            return 0;
 2803|      0|        }
 2804|    210|        VISIT_SEQ(st, pattern, p->v.MatchClass.kwd_patterns);
  ------------------
  |  | 1738|    210|    do { \
  |  | 1739|    210|        Py_ssize_t i; \
  |  | 1740|    210|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|    327|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    327|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    654|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 183, False: 144]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 117, False: 210]
  |  |  ------------------
  |  | 1742|    117|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    117|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    117|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|    117|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 117]
  |  |  ------------------
  |  | 1744|    117|                return 0;                 \
  |  | 1745|    117|        } \
  |  | 1746|    210|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 210]
  |  |  ------------------
  ------------------
 2805|    210|        break;
 2806|  6.13k|    case MatchAs_kind:
  ------------------
  |  Branch (2806:5): [True: 6.13k, False: 4.07k]
  ------------------
 2807|  6.13k|        if (p->v.MatchAs.pattern) {
  ------------------
  |  Branch (2807:13): [True: 164, False: 5.97k]
  ------------------
 2808|    164|            VISIT(st, pattern, p->v.MatchAs.pattern);
  ------------------
  |  | 1731|    164|    do { \
  |  | 1732|    164|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 164]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|    164|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 164]
  |  |  ------------------
  ------------------
 2809|    164|        }
 2810|  6.13k|        if (p->v.MatchAs.name) {
  ------------------
  |  Branch (2810:13): [True: 5.63k, False: 500]
  ------------------
 2811|  5.63k|            if (!symtable_add_def(st, p->v.MatchAs.name, DEF_LOCAL, LOCATION(p))) {
  ------------------
  |  |  166|  5.63k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                          if (!symtable_add_def(st, p->v.MatchAs.name, DEF_LOCAL, LOCATION(p))) {
  ------------------
  |  |   84|  5.63k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  5.63k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  5.63k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  5.63k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  5.63k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  5.63k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2811:17): [True: 1, False: 5.63k]
  ------------------
 2812|      1|                return 0;
 2813|      1|            }
 2814|  5.63k|        }
 2815|  6.13k|        break;
 2816|  6.13k|    case MatchOr_kind:
  ------------------
  |  Branch (2816:5): [True: 769, False: 9.44k]
  ------------------
 2817|    769|        VISIT_SEQ(st, pattern, p->v.MatchOr.patterns);
  ------------------
  |  | 1738|    769|    do { \
  |  | 1739|    769|        Py_ssize_t i; \
  |  | 1740|    769|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  2.31k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.31k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.62k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.31k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 1.54k, False: 769]
  |  |  ------------------
  |  | 1742|  1.54k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.54k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.54k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  1.54k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 1.54k]
  |  |  ------------------
  |  | 1744|  1.54k|                return 0;                 \
  |  | 1745|  1.54k|        } \
  |  | 1746|    769|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 769]
  |  |  ------------------
  ------------------
 2818|    769|        break;
 2819|  10.2k|    }
 2820|  10.2k|    LEAVE_RECURSIVE();
  ------------------
  |  | 1790|  10.2k|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
 2821|  10.2k|    return 1;
 2822|  10.2k|}
symtable.c:check_kwd_patterns:
 1630|    210|{
 1631|    210|    assert(p->kind == MatchClass_kind);
  ------------------
  |  Branch (1631:5): [True: 210, False: 0]
  ------------------
 1632|    210|    asdl_identifier_seq *kwd_attrs = p->v.MatchClass.kwd_attrs;
 1633|    210|    asdl_pattern_seq *kwd_patterns = p->v.MatchClass.kwd_patterns;
 1634|    327|    for (Py_ssize_t i = 0; i < asdl_seq_LEN(kwd_attrs); i++) {
  ------------------
  |  |   83|    327|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    654|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 183, False: 144]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1634:28): [True: 117, False: 210]
  ------------------
 1635|    117|        _Py_SourceLocation loc = LOCATION(asdl_seq_GET(kwd_patterns, i));
  ------------------
  |  |   84|    117|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    117|    (_Py_SourceLocation){ \
  |  |  |  |   55|    117|               .lineno = (n)->lineno, \
  |  |  |  |   56|    117|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    117|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    117|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1636|    117|        if (!check_name(st, asdl_seq_GET(kwd_attrs, i), loc, Store)) {
  ------------------
  |  |   82|    117|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    117|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (1636:13): [True: 0, False: 117]
  ------------------
 1637|      0|            return 0;
 1638|      0|        }
 1639|    117|    }
 1640|    210|    return 1;
 1641|    210|}
symtable.c:symtable_visit_excepthandler:
 2991|  3.04k|{
 2992|  3.04k|    if (eh->v.ExceptHandler.type)
  ------------------
  |  Branch (2992:9): [True: 1.79k, False: 1.24k]
  ------------------
 2993|  1.79k|        VISIT(st, expr, eh->v.ExceptHandler.type);
  ------------------
  |  | 1731|  1.79k|    do { \
  |  | 1732|  1.79k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 1, False: 1.79k]
  |  |  ------------------
  |  | 1733|      1|            return 0; \
  |  | 1734|      1|        } \
  |  | 1735|  1.79k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 1.79k]
  |  |  ------------------
  ------------------
 2994|  3.04k|    if (eh->v.ExceptHandler.name)
  ------------------
  |  Branch (2994:9): [True: 72, False: 2.97k]
  ------------------
 2995|     72|        if (!symtable_add_def(st, eh->v.ExceptHandler.name, DEF_LOCAL, LOCATION(eh)))
  ------------------
  |  |  166|     72|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if (!symtable_add_def(st, eh->v.ExceptHandler.name, DEF_LOCAL, LOCATION(eh)))
  ------------------
  |  |   84|     72|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     72|    (_Py_SourceLocation){ \
  |  |  |  |   55|     72|               .lineno = (n)->lineno, \
  |  |  |  |   56|     72|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     72|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     72|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2995:13): [True: 0, False: 72]
  ------------------
 2996|      0|            return 0;
 2997|  3.04k|    VISIT_SEQ(st, stmt, eh->v.ExceptHandler.body);
  ------------------
  |  | 1738|  3.04k|    do { \
  |  | 1739|  3.04k|        Py_ssize_t i; \
  |  | 1740|  3.04k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  6.38k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  6.38k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  12.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 6.38k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 3.33k, False: 3.04k]
  |  |  ------------------
  |  | 1742|  3.33k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  3.33k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.33k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  3.33k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 2, False: 3.33k]
  |  |  ------------------
  |  | 1744|  3.33k|                return 0;                 \
  |  | 1745|  3.33k|        } \
  |  | 1746|  3.04k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 3.04k]
  |  |  ------------------
  ------------------
 2998|  3.04k|    return 1;
 2999|  3.04k|}
symtable.c:check_lazy_import_context:
 1849|      7|{
 1850|       |    // Check if inside try/except block.
 1851|      7|    if (st->st_cur->ste_in_try_block) {
  ------------------
  |  Branch (1851:9): [True: 0, False: 7]
  ------------------
 1852|      0|        PyErr_Format(PyExc_SyntaxError,
 1853|      0|                     "lazy %s not allowed inside try/except blocks",
 1854|      0|                     import_type);
 1855|      0|        SET_ERROR_LOCATION(st->st_filename, LOCATION(s));
  ------------------
  |  |   87|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1856|      0|        return 0;
 1857|      0|    }
 1858|       |
 1859|       |    // Check if inside function scope.
 1860|      7|    if (st->st_cur->ste_type == FunctionBlock) {
  ------------------
  |  Branch (1860:9): [True: 0, False: 7]
  ------------------
 1861|      0|        PyErr_Format(PyExc_SyntaxError,
 1862|      0|                     "lazy %s not allowed inside functions", import_type);
 1863|      0|        SET_ERROR_LOCATION(st->st_filename, LOCATION(s));
  ------------------
  |  |   87|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1864|      0|        return 0;
 1865|      0|    }
 1866|       |
 1867|       |    // Check if inside class scope.
 1868|      7|    if (st->st_cur->ste_type == ClassBlock) {
  ------------------
  |  Branch (1868:9): [True: 0, False: 7]
  ------------------
 1869|      0|        PyErr_Format(PyExc_SyntaxError,
 1870|      0|                     "lazy %s not allowed inside classes", import_type);
 1871|      0|        SET_ERROR_LOCATION(st->st_filename, LOCATION(s));
  ------------------
  |  |   87|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1872|      0|        return 0;
 1873|      0|    }
 1874|       |
 1875|      7|    return 1;
 1876|      7|}
symtable.c:symtable_visit_alias:
 3024|  12.1k|{
 3025|       |    /* Compute store_name, the name actually bound by the import
 3026|       |       operation.  It is different than a->name when a->name is a
 3027|       |       dotted package name (e.g. spam.eggs)
 3028|       |    */
 3029|  12.1k|    PyObject *store_name;
 3030|  12.1k|    PyObject *name = (a->asname == NULL) ? a->name : a->asname;
  ------------------
  |  Branch (3030:22): [True: 11.7k, False: 383]
  ------------------
 3031|  12.1k|    Py_ssize_t dot = PyUnicode_FindChar(name, '.', 0,
 3032|  12.1k|                                        PyUnicode_GET_LENGTH(name), 1);
  ------------------
  |  |  299|  12.1k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3033|  12.1k|    if (dot != -1) {
  ------------------
  |  Branch (3033:9): [True: 3.20k, False: 8.93k]
  ------------------
 3034|  3.20k|        store_name = PyUnicode_Substring(name, 0, dot);
 3035|  3.20k|        if (!store_name)
  ------------------
  |  Branch (3035:13): [True: 0, False: 3.20k]
  ------------------
 3036|      0|            return 0;
 3037|  3.20k|    }
 3038|  8.93k|    else {
 3039|  8.93k|        store_name = Py_NewRef(name);
  ------------------
  |  |  550|  8.93k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3040|  8.93k|    }
 3041|  12.1k|    if (!_PyUnicode_EqualToASCIIString(name, "*")) {
  ------------------
  |  Branch (3041:9): [True: 12.1k, False: 1]
  ------------------
 3042|  12.1k|        int r = symtable_add_def(st, store_name, DEF_IMPORT, LOCATION(a));
  ------------------
  |  |  171|  12.1k|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  ------------------
                      int r = symtable_add_def(st, store_name, DEF_IMPORT, LOCATION(a));
  ------------------
  |  |   84|  12.1k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  12.1k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  12.1k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  12.1k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  12.1k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  12.1k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3043|  12.1k|        Py_DECREF(store_name);
  ------------------
  |  |  430|  12.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3044|  12.1k|        return r;
 3045|  12.1k|    }
 3046|      1|    else {
 3047|      1|        if (st->st_cur->ste_type != ModuleBlock) {
  ------------------
  |  Branch (3047:13): [True: 0, False: 1]
  ------------------
 3048|      0|            PyErr_SetString(PyExc_SyntaxError, IMPORT_STAR_WARNING);
  ------------------
  |  |   40|      0|#define IMPORT_STAR_WARNING "import * only allowed at module level"
  ------------------
 3049|      0|            SET_ERROR_LOCATION(st->st_filename, LOCATION(a));
  ------------------
  |  |   87|      0|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      0|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 3050|      0|            Py_DECREF(store_name);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3051|      0|            return 0;
 3052|      0|        }
 3053|      1|        Py_DECREF(store_name);
  ------------------
  |  |  430|      1|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3054|      1|        return 1;
 3055|      1|    }
 3056|  12.1k|}
symtable.c:check_import_from:
 1829|  2.20k|{
 1830|  2.20k|    assert(s->kind == ImportFrom_kind);
  ------------------
  |  Branch (1830:5): [True: 2.20k, False: 0]
  ------------------
 1831|  2.20k|    _Py_SourceLocation fut = st->st_future->ff_location;
 1832|  2.20k|    if (s->v.ImportFrom.module && s->v.ImportFrom.level == 0 &&
  ------------------
  |  Branch (1832:9): [True: 1.94k, False: 254]
  |  Branch (1832:35): [True: 1.90k, False: 40]
  ------------------
 1833|  1.90k|        _PyUnicode_EqualToASCIIString(s->v.ImportFrom.module, "__future__") &&
  ------------------
  |  Branch (1833:9): [True: 1.45k, False: 453]
  ------------------
 1834|  1.45k|        ((s->lineno > fut.lineno) ||
  ------------------
  |  Branch (1834:10): [True: 3, False: 1.45k]
  ------------------
 1835|  1.45k|         ((s->lineno == fut.end_lineno) && (s->col_offset > fut.end_col_offset))))
  ------------------
  |  Branch (1835:11): [True: 1.37k, False: 73]
  |  Branch (1835:44): [True: 0, False: 1.37k]
  ------------------
 1836|      3|    {
 1837|      3|        PyErr_SetString(PyExc_SyntaxError,
 1838|      3|                        "from __future__ imports must occur "
 1839|      3|                        "at the beginning of the file");
 1840|      3|        SET_ERROR_LOCATION(st->st_filename, LOCATION(s));
  ------------------
  |  |   87|      3|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      3|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 1841|      3|        return 0;
 1842|      3|    }
 1843|  2.19k|    return 1;
 1844|  2.20k|}
symtable.c:symtable_record_directive:
 1795|  2.76k|{
 1796|  2.76k|    PyObject *data, *mangled;
 1797|  2.76k|    int res;
 1798|  2.76k|    if (!st->st_cur->ste_directives) {
  ------------------
  |  Branch (1798:9): [True: 1.89k, False: 866]
  ------------------
 1799|  1.89k|        st->st_cur->ste_directives = PyList_New(0);
 1800|  1.89k|        if (!st->st_cur->ste_directives)
  ------------------
  |  Branch (1800:13): [True: 0, False: 1.89k]
  ------------------
 1801|      0|            return 0;
 1802|  1.89k|    }
 1803|  2.76k|    mangled = _Py_MaybeMangle(st->st_private, st->st_cur, name);
 1804|  2.76k|    if (!mangled)
  ------------------
  |  Branch (1804:9): [True: 0, False: 2.76k]
  ------------------
 1805|      0|        return 0;
 1806|  2.76k|    data = Py_BuildValue("(Niiii)", mangled, loc.lineno, loc.col_offset,
 1807|  2.76k|                                    loc.end_lineno, loc.end_col_offset);
 1808|  2.76k|    if (!data)
  ------------------
  |  Branch (1808:9): [True: 0, False: 2.76k]
  ------------------
 1809|      0|        return 0;
 1810|  2.76k|    res = PyList_Append(st->st_cur->ste_directives, data);
 1811|  2.76k|    Py_DECREF(data);
  ------------------
  |  |  430|  2.76k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1812|  2.76k|    return res == 0;
 1813|  2.76k|}
symtable.c:symtable_visit_withitem:
 3003|  11.7k|{
 3004|  11.7k|    VISIT(st, expr, item->context_expr);
  ------------------
  |  | 1731|  11.7k|    do { \
  |  | 1732|  11.7k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 1, False: 11.7k]
  |  |  ------------------
  |  | 1733|      1|            return 0; \
  |  | 1734|      1|        } \
  |  | 1735|  11.7k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 11.7k]
  |  |  ------------------
  ------------------
 3005|  11.7k|    if (item->optional_vars) {
  ------------------
  |  Branch (3005:9): [True: 992, False: 10.7k]
  ------------------
 3006|    992|        VISIT(st, expr, item->optional_vars);
  ------------------
  |  | 1731|    992|    do { \
  |  | 1732|    992|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 992]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|    992|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 992]
  |  |  ------------------
  ------------------
 3007|    992|    }
 3008|  11.7k|    return 1;
 3009|  11.7k|}
symtable.c:maybe_set_ste_coroutine_for_module:
 1888|  2.18k|{
 1889|  2.18k|    if (allows_top_level_await(st)) {
  ------------------
  |  Branch (1889:9): [True: 142, False: 2.04k]
  ------------------
 1890|    142|        st->st_cur->ste_coroutine = 1;
 1891|    142|    }
 1892|  2.18k|}
symtable.c:allows_top_level_await:
 1880|  2.61k|{
 1881|  2.61k|    return (st->st_future->ff_features & PyCF_ALLOW_TOP_LEVEL_AWAIT) &&
  ------------------
  |  |   20|  2.61k|#define PyCF_ALLOW_TOP_LEVEL_AWAIT 0x2000
  ------------------
  |  Branch (1881:12): [True: 1.87k, False: 740]
  ------------------
 1882|  1.87k|            st->st_cur->ste_type == ModuleBlock;
  ------------------
  |  Branch (1882:13): [True: 426, False: 1.44k]
  ------------------
 1883|  2.61k|}
symtable.c:symtable_raise_if_not_coroutine:
 3229|  2.18k|symtable_raise_if_not_coroutine(struct symtable *st, const char *msg, _Py_SourceLocation loc) {
 3230|  2.18k|    if (!st->st_cur->ste_coroutine) {
  ------------------
  |  Branch (3230:9): [True: 6, False: 2.18k]
  ------------------
 3231|      6|        PyErr_SetString(PyExc_SyntaxError, msg);
 3232|      6|        SET_ERROR_LOCATION(st->st_filename, loc);
  ------------------
  |  |   87|      6|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      6|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 3233|      6|        return 0;
 3234|      6|    }
 3235|  2.18k|    return 1;
 3236|  2.18k|}
symtable.c:symtable_visit_expr:
 2486|  2.50M|{
 2487|  2.50M|    ENTER_RECURSIVE();
  ------------------
  |  | 1785|  2.50M|#define ENTER_RECURSIVE() \
  |  | 1786|  2.50M|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (1786:5): [True: 0, False: 2.50M]
  |  |  ------------------
  |  | 1787|      0|    return 0; \
  |  | 1788|      0|}
  ------------------
 2488|  2.50M|    switch (e->kind) {
  ------------------
  |  Branch (2488:13): [True: 2.50M, False: 0]
  ------------------
 2489|  1.88k|    case NamedExpr_kind:
  ------------------
  |  Branch (2489:5): [True: 1.88k, False: 2.50M]
  ------------------
 2490|  1.88k|        if (!symtable_raise_if_annotation_block(st, "named expression", e)) {
  ------------------
  |  Branch (2490:13): [True: 6, False: 1.88k]
  ------------------
 2491|      6|            return 0;
 2492|      6|        }
 2493|  1.88k|        if(!symtable_handle_namedexpr(st, e))
  ------------------
  |  Branch (2493:12): [True: 14, False: 1.86k]
  ------------------
 2494|     14|            return 0;
 2495|  1.86k|        break;
 2496|  3.29k|    case BoolOp_kind:
  ------------------
  |  Branch (2496:5): [True: 3.29k, False: 2.49M]
  ------------------
 2497|  3.29k|        VISIT_SEQ(st, expr, e->v.BoolOp.values);
  ------------------
  |  | 1738|  3.29k|    do { \
  |  | 1739|  3.29k|        Py_ssize_t i; \
  |  | 1740|  3.29k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  13.0k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  13.0k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  26.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 13.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 9.77k, False: 3.28k]
  |  |  ------------------
  |  | 1742|  9.77k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  9.77k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  9.77k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  9.77k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 12, False: 9.75k]
  |  |  ------------------
  |  | 1744|  9.77k|                return 0;                 \
  |  | 1745|  9.77k|        } \
  |  | 1746|  3.29k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 3.28k]
  |  |  ------------------
  ------------------
 2498|  3.28k|        break;
 2499|   758k|    case BinOp_kind:
  ------------------
  |  Branch (2499:5): [True: 758k, False: 1.74M]
  ------------------
 2500|   758k|        VISIT(st, expr, e->v.BinOp.left);
  ------------------
  |  | 1731|   758k|    do { \
  |  | 1732|   758k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 538, False: 757k]
  |  |  ------------------
  |  | 1733|    538|            return 0; \
  |  | 1734|    538|        } \
  |  | 1735|   758k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 757k]
  |  |  ------------------
  ------------------
 2501|   757k|        VISIT(st, expr, e->v.BinOp.right);
  ------------------
  |  | 1731|   757k|    do { \
  |  | 1732|   757k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 118, False: 757k]
  |  |  ------------------
  |  | 1733|    118|            return 0; \
  |  | 1734|    118|        } \
  |  | 1735|   757k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 757k]
  |  |  ------------------
  ------------------
 2502|   757k|        break;
 2503|   757k|    case UnaryOp_kind:
  ------------------
  |  Branch (2503:5): [True: 221k, False: 2.28M]
  ------------------
 2504|   221k|        VISIT(st, expr, e->v.UnaryOp.operand);
  ------------------
  |  | 1731|   221k|    do { \
  |  | 1732|   221k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 304, False: 221k]
  |  |  ------------------
  |  | 1733|    304|            return 0; \
  |  | 1734|    304|        } \
  |  | 1735|   221k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 221k]
  |  |  ------------------
  ------------------
 2505|   221k|        break;
 2506|   221k|    case Lambda_kind: {
  ------------------
  |  Branch (2506:5): [True: 4.32k, False: 2.49M]
  ------------------
 2507|  4.32k|        if (e->v.Lambda.args->defaults)
  ------------------
  |  Branch (2507:13): [True: 4.32k, False: 0]
  ------------------
 2508|  4.32k|            VISIT_SEQ(st, expr, e->v.Lambda.args->defaults);
  ------------------
  |  | 1738|  4.32k|    do { \
  |  | 1739|  4.32k|        Py_ssize_t i; \
  |  | 1740|  4.32k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  4.60k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  4.60k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  9.21k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 4.60k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 286, False: 4.32k]
  |  |  ------------------
  |  | 1742|    286|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    286|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    286|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|    286|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 0, False: 286]
  |  |  ------------------
  |  | 1744|    286|                return 0;                 \
  |  | 1745|    286|        } \
  |  | 1746|  4.32k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 4.32k]
  |  |  ------------------
  ------------------
 2509|  4.32k|        if (e->v.Lambda.args->kw_defaults)
  ------------------
  |  Branch (2509:13): [True: 4.32k, False: 0]
  ------------------
 2510|  4.32k|            VISIT_SEQ_WITH_NULL(st, expr, e->v.Lambda.args->kw_defaults);
  ------------------
  |  | 1760|  4.32k|    do { \
  |  | 1761|  4.32k|        int i = 0; \
  |  | 1762|  4.32k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1763|  6.89k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  6.89k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  13.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 6.89k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1763:21): [True: 2.57k, False: 4.32k]
  |  |  ------------------
  |  | 1764|  2.57k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  2.57k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.57k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1765|  2.57k|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1765:17): [True: 890, False: 1.68k]
  |  |  ------------------
  |  | 1766|  2.57k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1766:17): [True: 0, False: 1.68k]
  |  |  ------------------
  |  | 1767|  1.68k|                return 0;             \
  |  | 1768|  1.68k|        } \
  |  | 1769|  4.32k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1769:13): [Folded, False: 4.32k]
  |  |  ------------------
  ------------------
 2511|  4.32k|        if (!symtable_enter_block(st, &_Py_STR(anon_lambda),
  ------------------
  |  |  923|  4.32k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.32k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.32k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2511:13): [True: 0, False: 4.32k]
  ------------------
 2512|  4.32k|                                  FunctionBlock, (void *)e, LOCATION(e))) {
  ------------------
  |  |   84|  4.32k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  4.32k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  4.32k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  4.32k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  4.32k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  4.32k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2513|      0|            return 0;
 2514|      0|        }
 2515|  4.32k|        VISIT(st, arguments, e->v.Lambda.args);
  ------------------
  |  | 1731|  4.32k|    do { \
  |  | 1732|  4.32k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 22, False: 4.29k]
  |  |  ------------------
  |  | 1733|     22|            return 0; \
  |  | 1734|     22|        } \
  |  | 1735|  4.32k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 4.29k]
  |  |  ------------------
  ------------------
 2516|  4.29k|        VISIT(st, expr, e->v.Lambda.body);
  ------------------
  |  | 1731|  4.29k|    do { \
  |  | 1732|  4.29k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 92, False: 4.20k]
  |  |  ------------------
  |  | 1733|     92|            return 0; \
  |  | 1734|     92|        } \
  |  | 1735|  4.29k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 4.20k]
  |  |  ------------------
  ------------------
 2517|  4.20k|        if (!symtable_exit_block(st))
  ------------------
  |  Branch (2517:13): [True: 0, False: 4.20k]
  ------------------
 2518|      0|            return 0;
 2519|  4.20k|        break;
 2520|  4.20k|    }
 2521|  4.20k|    case IfExp_kind:
  ------------------
  |  Branch (2521:5): [True: 1.87k, False: 2.50M]
  ------------------
 2522|  1.87k|        VISIT(st, expr, e->v.IfExp.test);
  ------------------
  |  | 1731|  1.87k|    do { \
  |  | 1732|  1.87k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 5, False: 1.87k]
  |  |  ------------------
  |  | 1733|      5|            return 0; \
  |  | 1734|      5|        } \
  |  | 1735|  1.87k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 1.87k]
  |  |  ------------------
  ------------------
 2523|  1.87k|        VISIT(st, expr, e->v.IfExp.body);
  ------------------
  |  | 1731|  1.87k|    do { \
  |  | 1732|  1.87k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 2, False: 1.87k]
  |  |  ------------------
  |  | 1733|      2|            return 0; \
  |  | 1734|      2|        } \
  |  | 1735|  1.87k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 1.87k]
  |  |  ------------------
  ------------------
 2524|  1.87k|        VISIT(st, expr, e->v.IfExp.orelse);
  ------------------
  |  | 1731|  1.87k|    do { \
  |  | 1732|  1.87k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 24, False: 1.84k]
  |  |  ------------------
  |  | 1733|     24|            return 0; \
  |  | 1734|     24|        } \
  |  | 1735|  1.87k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 1.84k]
  |  |  ------------------
  ------------------
 2525|  1.84k|        break;
 2526|  1.84k|    case Dict_kind:
  ------------------
  |  Branch (2526:5): [True: 555, False: 2.50M]
  ------------------
 2527|    555|        VISIT_SEQ_WITH_NULL(st, expr, e->v.Dict.keys);
  ------------------
  |  | 1760|    555|    do { \
  |  | 1761|    555|        int i = 0; \
  |  | 1762|    555|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1763|  1.21k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.21k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.43k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.21k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1763:21): [True: 661, False: 554]
  |  |  ------------------
  |  | 1764|    661|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    661|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    661|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1765|    661|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1765:17): [True: 157, False: 504]
  |  |  ------------------
  |  | 1766|    661|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1766:17): [True: 1, False: 503]
  |  |  ------------------
  |  | 1767|    504|                return 0;             \
  |  | 1768|    504|        } \
  |  | 1769|    555|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1769:13): [Folded, False: 554]
  |  |  ------------------
  ------------------
 2528|    554|        VISIT_SEQ(st, expr, e->v.Dict.values);
  ------------------
  |  | 1738|    554|    do { \
  |  | 1739|    554|        Py_ssize_t i; \
  |  | 1740|    554|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  1.20k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.20k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.41k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.20k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 660, False: 549]
  |  |  ------------------
  |  | 1742|    660|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    660|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    660|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|    660|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 5, False: 655]
  |  |  ------------------
  |  | 1744|    660|                return 0;                 \
  |  | 1745|    660|        } \
  |  | 1746|    554|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 549]
  |  |  ------------------
  ------------------
 2529|    549|        break;
 2530|  7.00k|    case Set_kind:
  ------------------
  |  Branch (2530:5): [True: 7.00k, False: 2.49M]
  ------------------
 2531|  7.00k|        VISIT_SEQ(st, expr, e->v.Set.elts);
  ------------------
  |  | 1738|  7.00k|    do { \
  |  | 1739|  7.00k|        Py_ssize_t i; \
  |  | 1740|  7.00k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  38.8k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  38.8k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  77.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 38.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 31.8k, False: 6.99k]
  |  |  ------------------
  |  | 1742|  31.8k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  31.8k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  31.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  31.8k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 11, False: 31.8k]
  |  |  ------------------
  |  | 1744|  31.8k|                return 0;                 \
  |  | 1745|  31.8k|        } \
  |  | 1746|  7.00k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 6.99k]
  |  |  ------------------
  ------------------
 2532|  6.99k|        break;
 2533|  6.99k|    case GeneratorExp_kind:
  ------------------
  |  Branch (2533:5): [True: 390, False: 2.50M]
  ------------------
 2534|    390|        if (!symtable_visit_genexp(st, e))
  ------------------
  |  Branch (2534:13): [True: 7, False: 383]
  ------------------
 2535|      7|            return 0;
 2536|    383|        break;
 2537|    383|    case ListComp_kind:
  ------------------
  |  Branch (2537:5): [True: 97, False: 2.50M]
  ------------------
 2538|     97|        if (!symtable_visit_listcomp(st, e))
  ------------------
  |  Branch (2538:13): [True: 6, False: 91]
  ------------------
 2539|      6|            return 0;
 2540|     91|        break;
 2541|  2.54k|    case SetComp_kind:
  ------------------
  |  Branch (2541:5): [True: 2.54k, False: 2.49M]
  ------------------
 2542|  2.54k|        if (!symtable_visit_setcomp(st, e))
  ------------------
  |  Branch (2542:13): [True: 14, False: 2.53k]
  ------------------
 2543|     14|            return 0;
 2544|  2.53k|        break;
 2545|  2.53k|    case DictComp_kind:
  ------------------
  |  Branch (2545:5): [True: 703, False: 2.50M]
  ------------------
 2546|    703|        if (!symtable_visit_dictcomp(st, e))
  ------------------
  |  Branch (2546:13): [True: 5, False: 698]
  ------------------
 2547|      5|            return 0;
 2548|    698|        break;
 2549|    884|    case Yield_kind:
  ------------------
  |  Branch (2549:5): [True: 884, False: 2.50M]
  ------------------
 2550|    884|        if (!symtable_raise_if_annotation_block(st, "yield expression", e)) {
  ------------------
  |  Branch (2550:13): [True: 12, False: 872]
  ------------------
 2551|     12|            return 0;
 2552|     12|        }
 2553|    872|        if (e->v.Yield.value)
  ------------------
  |  Branch (2553:13): [True: 397, False: 475]
  ------------------
 2554|    397|            VISIT(st, expr, e->v.Yield.value);
  ------------------
  |  | 1731|    397|    do { \
  |  | 1732|    397|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 2, False: 395]
  |  |  ------------------
  |  | 1733|      2|            return 0; \
  |  | 1734|      2|        } \
  |  | 1735|    397|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 395]
  |  |  ------------------
  ------------------
 2555|    870|        st->st_cur->ste_generator = 1;
 2556|    870|        if (st->st_cur->ste_comprehension) {
  ------------------
  |  Branch (2556:13): [True: 6, False: 864]
  ------------------
 2557|      6|            return symtable_raise_if_comprehension_block(st, e);
 2558|      6|        }
 2559|    864|        break;
 2560|    864|    case YieldFrom_kind:
  ------------------
  |  Branch (2560:5): [True: 206, False: 2.50M]
  ------------------
 2561|    206|        if (!symtable_raise_if_annotation_block(st, "yield expression", e)) {
  ------------------
  |  Branch (2561:13): [True: 0, False: 206]
  ------------------
 2562|      0|            return 0;
 2563|      0|        }
 2564|    206|        VISIT(st, expr, e->v.YieldFrom.value);
  ------------------
  |  | 1731|    206|    do { \
  |  | 1732|    206|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 3, False: 203]
  |  |  ------------------
  |  | 1733|      3|            return 0; \
  |  | 1734|      3|        } \
  |  | 1735|    206|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 203]
  |  |  ------------------
  ------------------
 2565|    203|        st->st_cur->ste_generator = 1;
 2566|    203|        if (st->st_cur->ste_comprehension) {
  ------------------
  |  Branch (2566:13): [True: 0, False: 203]
  ------------------
 2567|      0|            return symtable_raise_if_comprehension_block(st, e);
 2568|      0|        }
 2569|    203|        break;
 2570|    429|    case Await_kind:
  ------------------
  |  Branch (2570:5): [True: 429, False: 2.50M]
  ------------------
 2571|    429|        if (!symtable_raise_if_annotation_block(st, "await expression", e)) {
  ------------------
  |  Branch (2571:13): [True: 12, False: 417]
  ------------------
 2572|     12|            return 0;
 2573|     12|        }
 2574|    417|        if (!allows_top_level_await(st)) {
  ------------------
  |  Branch (2574:13): [True: 137, False: 280]
  ------------------
 2575|    137|            if (!_PyST_IsFunctionLike(st->st_cur)) {
  ------------------
  |  Branch (2575:17): [True: 96, False: 41]
  ------------------
 2576|     96|                PyErr_SetString(PyExc_SyntaxError,
 2577|     96|                                "'await' outside function");
 2578|     96|                SET_ERROR_LOCATION(st->st_filename, LOCATION(e));
  ------------------
  |  |   87|     96|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|     96|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2579|     96|                return 0;
 2580|     96|            }
 2581|     41|            if (!IS_ASYNC_DEF(st) && st->st_cur->ste_comprehension == NoComprehension) {
  ------------------
  |  |   90|     82|#define IS_ASYNC_DEF(st) ((st)->st_cur->ste_type == FunctionBlock && (st)->st_cur->ste_coroutine)
  |  |  ------------------
  |  |  |  Branch (90:27): [True: 41, False: 0]
  |  |  |  Branch (90:70): [True: 26, False: 15]
  |  |  ------------------
  ------------------
  |  Branch (2581:38): [True: 8, False: 7]
  ------------------
 2582|      8|                PyErr_SetString(PyExc_SyntaxError,
 2583|      8|                                "'await' outside async function");
 2584|      8|                SET_ERROR_LOCATION(st->st_filename, LOCATION(e));
  ------------------
  |  |   87|      8|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      8|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2585|      8|                return 0;
 2586|      8|            }
 2587|     41|        }
 2588|    313|        VISIT(st, expr, e->v.Await.value);
  ------------------
  |  | 1731|    313|    do { \
  |  | 1732|    313|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 313]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|    313|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 313]
  |  |  ------------------
  ------------------
 2589|    313|        st->st_cur->ste_coroutine = 1;
 2590|    313|        break;
 2591|  19.9k|    case Compare_kind:
  ------------------
  |  Branch (2591:5): [True: 19.9k, False: 2.48M]
  ------------------
 2592|  19.9k|        VISIT(st, expr, e->v.Compare.left);
  ------------------
  |  | 1731|  19.9k|    do { \
  |  | 1732|  19.9k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 13, False: 19.9k]
  |  |  ------------------
  |  | 1733|     13|            return 0; \
  |  | 1734|     13|        } \
  |  | 1735|  19.9k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 19.9k]
  |  |  ------------------
  ------------------
 2593|  19.9k|        VISIT_SEQ(st, expr, e->v.Compare.comparators);
  ------------------
  |  | 1738|  19.9k|    do { \
  |  | 1739|  19.9k|        Py_ssize_t i; \
  |  | 1740|  19.9k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  89.8k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  89.8k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|   179k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 89.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 70.0k, False: 19.8k]
  |  |  ------------------
  |  | 1742|  70.0k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  70.0k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  70.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  70.0k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 63, False: 69.9k]
  |  |  ------------------
  |  | 1744|  70.0k|                return 0;                 \
  |  | 1745|  70.0k|        } \
  |  | 1746|  19.9k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 19.8k]
  |  |  ------------------
  ------------------
 2594|  19.8k|        break;
 2595|  19.8k|    case Call_kind:
  ------------------
  |  Branch (2595:5): [True: 10.9k, False: 2.49M]
  ------------------
 2596|  10.9k|        VISIT(st, expr, e->v.Call.func);
  ------------------
  |  | 1731|  10.9k|    do { \
  |  | 1732|  10.9k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 270, False: 10.6k]
  |  |  ------------------
  |  | 1733|    270|            return 0; \
  |  | 1734|    270|        } \
  |  | 1735|  10.9k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 10.6k]
  |  |  ------------------
  ------------------
 2597|  10.6k|        VISIT_SEQ(st, expr, e->v.Call.args);
  ------------------
  |  | 1738|  10.6k|    do { \
  |  | 1739|  10.6k|        Py_ssize_t i; \
  |  | 1740|  10.6k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  24.2k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  24.2k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  48.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 2.41k, False: 21.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 13.6k, False: 10.6k]
  |  |  ------------------
  |  | 1742|  13.6k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  13.6k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  13.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  13.6k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 22, False: 13.6k]
  |  |  ------------------
  |  | 1744|  13.6k|                return 0;                 \
  |  | 1745|  13.6k|        } \
  |  | 1746|  10.6k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 10.6k]
  |  |  ------------------
  ------------------
 2598|  10.6k|        if (!check_keywords(st, e->v.Call.keywords)) {
  ------------------
  |  Branch (2598:13): [True: 1, False: 10.6k]
  ------------------
 2599|      1|            return 0;
 2600|      1|        }
 2601|  10.6k|        VISIT_SEQ_WITH_NULL(st, keyword, e->v.Call.keywords);
  ------------------
  |  | 1760|  10.6k|    do { \
  |  | 1761|  10.6k|        int i = 0; \
  |  | 1762|  10.6k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1763|  12.2k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  12.2k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  24.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 9.51k, False: 2.76k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1763:21): [True: 1.68k, False: 10.6k]
  |  |  ------------------
  |  | 1764|  1.68k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.68k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.68k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1765|  1.68k|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1765:17): [True: 0, False: 1.68k]
  |  |  ------------------
  |  | 1766|  1.68k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1766:17): [True: 5, False: 1.67k]
  |  |  ------------------
  |  | 1767|  1.68k|                return 0;             \
  |  | 1768|  1.68k|        } \
  |  | 1769|  10.6k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1769:13): [Folded, False: 10.6k]
  |  |  ------------------
  ------------------
 2602|  10.6k|        break;
 2603|  10.6k|    case FormattedValue_kind:
  ------------------
  |  Branch (2603:5): [True: 8.53k, False: 2.49M]
  ------------------
 2604|  8.53k|        VISIT(st, expr, e->v.FormattedValue.value);
  ------------------
  |  | 1731|  8.53k|    do { \
  |  | 1732|  8.53k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 8, False: 8.53k]
  |  |  ------------------
  |  | 1733|      8|            return 0; \
  |  | 1734|      8|        } \
  |  | 1735|  8.53k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 8.53k]
  |  |  ------------------
  ------------------
 2605|  8.53k|        if (e->v.FormattedValue.format_spec)
  ------------------
  |  Branch (2605:13): [True: 4.68k, False: 3.84k]
  ------------------
 2606|  4.68k|            VISIT(st, expr, e->v.FormattedValue.format_spec);
  ------------------
  |  | 1731|  4.68k|    do { \
  |  | 1732|  4.68k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 4.68k]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|  4.68k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 4.68k]
  |  |  ------------------
  ------------------
 2607|  8.53k|        break;
 2608|  8.53k|    case Interpolation_kind:
  ------------------
  |  Branch (2608:5): [True: 2.98k, False: 2.49M]
  ------------------
 2609|  2.98k|        VISIT(st, expr, e->v.Interpolation.value);
  ------------------
  |  | 1731|  2.98k|    do { \
  |  | 1732|  2.98k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 1, False: 2.98k]
  |  |  ------------------
  |  | 1733|      1|            return 0; \
  |  | 1734|      1|        } \
  |  | 1735|  2.98k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 2.98k]
  |  |  ------------------
  ------------------
 2610|  2.98k|        if (e->v.Interpolation.format_spec)
  ------------------
  |  Branch (2610:13): [True: 965, False: 2.01k]
  ------------------
 2611|    965|            VISIT(st, expr, e->v.Interpolation.format_spec);
  ------------------
  |  | 1731|    965|    do { \
  |  | 1732|    965|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 1, False: 964]
  |  |  ------------------
  |  | 1733|      1|            return 0; \
  |  | 1734|      1|        } \
  |  | 1735|    965|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 964]
  |  |  ------------------
  ------------------
 2612|  2.97k|        break;
 2613|  10.9k|    case JoinedStr_kind:
  ------------------
  |  Branch (2613:5): [True: 10.9k, False: 2.49M]
  ------------------
 2614|  10.9k|        VISIT_SEQ(st, expr, e->v.JoinedStr.values);
  ------------------
  |  | 1738|  10.9k|    do { \
  |  | 1739|  10.9k|        Py_ssize_t i; \
  |  | 1740|  10.9k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  34.0k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  34.0k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  68.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 34.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 23.1k, False: 10.9k]
  |  |  ------------------
  |  | 1742|  23.1k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  23.1k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  23.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  23.1k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 8, False: 23.1k]
  |  |  ------------------
  |  | 1744|  23.1k|                return 0;                 \
  |  | 1745|  23.1k|        } \
  |  | 1746|  10.9k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 10.9k]
  |  |  ------------------
  ------------------
 2615|  10.9k|        break;
 2616|  10.9k|    case TemplateStr_kind:
  ------------------
  |  Branch (2616:5): [True: 1.25k, False: 2.50M]
  ------------------
 2617|  1.25k|        VISIT_SEQ(st, expr, e->v.TemplateStr.values);
  ------------------
  |  | 1738|  1.25k|    do { \
  |  | 1739|  1.25k|        Py_ssize_t i; \
  |  | 1740|  1.25k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  7.09k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  7.09k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  14.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 7.09k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 5.83k, False: 1.25k]
  |  |  ------------------
  |  | 1742|  5.83k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  5.83k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  5.83k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  5.83k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 2, False: 5.83k]
  |  |  ------------------
  |  | 1744|  5.83k|                return 0;                 \
  |  | 1745|  5.83k|        } \
  |  | 1746|  1.25k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 1.25k]
  |  |  ------------------
  ------------------
 2618|  1.25k|        break;
 2619|   913k|    case Constant_kind:
  ------------------
  |  Branch (2619:5): [True: 913k, False: 1.58M]
  ------------------
 2620|       |        /* Nothing to do here. */
 2621|   913k|        break;
 2622|       |    /* The following exprs can be assignment targets. */
 2623|  19.4k|    case Attribute_kind:
  ------------------
  |  Branch (2623:5): [True: 19.4k, False: 2.48M]
  ------------------
 2624|  19.4k|        if (!check_name(st, e->v.Attribute.attr, LOCATION(e), e->v.Attribute.ctx)) {
  ------------------
  |  |   84|  19.4k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  19.4k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  19.4k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  19.4k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  19.4k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  19.4k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2624:13): [True: 1, False: 19.4k]
  ------------------
 2625|      1|            return 0;
 2626|      1|        }
 2627|  19.4k|        VISIT(st, expr, e->v.Attribute.value);
  ------------------
  |  | 1731|  19.4k|    do { \
  |  | 1732|  19.4k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 275, False: 19.2k]
  |  |  ------------------
  |  | 1733|    275|            return 0; \
  |  | 1734|    275|        } \
  |  | 1735|  19.4k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 19.2k]
  |  |  ------------------
  ------------------
 2628|  19.2k|        break;
 2629|  19.2k|    case Subscript_kind:
  ------------------
  |  Branch (2629:5): [True: 10.8k, False: 2.49M]
  ------------------
 2630|  10.8k|        VISIT(st, expr, e->v.Subscript.value);
  ------------------
  |  | 1731|  10.8k|    do { \
  |  | 1732|  10.8k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 77, False: 10.7k]
  |  |  ------------------
  |  | 1733|     77|            return 0; \
  |  | 1734|     77|        } \
  |  | 1735|  10.8k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 10.7k]
  |  |  ------------------
  ------------------
 2631|  10.7k|        VISIT(st, expr, e->v.Subscript.slice);
  ------------------
  |  | 1731|  10.7k|    do { \
  |  | 1732|  10.7k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 55, False: 10.7k]
  |  |  ------------------
  |  | 1733|     55|            return 0; \
  |  | 1734|     55|        } \
  |  | 1735|  10.7k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 10.7k]
  |  |  ------------------
  ------------------
 2632|  10.7k|        break;
 2633|  10.7k|    case Starred_kind:
  ------------------
  |  Branch (2633:5): [True: 10.1k, False: 2.49M]
  ------------------
 2634|  10.1k|        VISIT(st, expr, e->v.Starred.value);
  ------------------
  |  | 1731|  10.1k|    do { \
  |  | 1732|  10.1k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 9, False: 10.1k]
  |  |  ------------------
  |  | 1733|      9|            return 0; \
  |  | 1734|      9|        } \
  |  | 1735|  10.1k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 10.1k]
  |  |  ------------------
  ------------------
 2635|  10.1k|        break;
 2636|  12.9k|    case Slice_kind:
  ------------------
  |  Branch (2636:5): [True: 12.9k, False: 2.48M]
  ------------------
 2637|  12.9k|        if (e->v.Slice.lower)
  ------------------
  |  Branch (2637:13): [True: 8.49k, False: 4.50k]
  ------------------
 2638|  8.49k|            VISIT(st, expr, e->v.Slice.lower);
  ------------------
  |  | 1731|  8.49k|    do { \
  |  | 1732|  8.49k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 9, False: 8.48k]
  |  |  ------------------
  |  | 1733|      9|            return 0; \
  |  | 1734|      9|        } \
  |  | 1735|  8.49k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 8.48k]
  |  |  ------------------
  ------------------
 2639|  12.9k|        if (e->v.Slice.upper)
  ------------------
  |  Branch (2639:13): [True: 5.31k, False: 7.67k]
  ------------------
 2640|  5.31k|            VISIT(st, expr, e->v.Slice.upper);
  ------------------
  |  | 1731|  5.31k|    do { \
  |  | 1732|  5.31k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 16, False: 5.29k]
  |  |  ------------------
  |  | 1733|     16|            return 0; \
  |  | 1734|     16|        } \
  |  | 1735|  5.31k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 5.29k]
  |  |  ------------------
  ------------------
 2641|  12.9k|        if (e->v.Slice.step)
  ------------------
  |  Branch (2641:13): [True: 3.84k, False: 9.12k]
  ------------------
 2642|  3.84k|            VISIT(st, expr, e->v.Slice.step);
  ------------------
  |  | 1731|  3.84k|    do { \
  |  | 1732|  3.84k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 5, False: 3.84k]
  |  |  ------------------
  |  | 1733|      5|            return 0; \
  |  | 1734|      5|        } \
  |  | 1735|  3.84k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 3.84k]
  |  |  ------------------
  ------------------
 2643|  12.9k|        break;
 2644|   398k|    case Name_kind:
  ------------------
  |  Branch (2644:5): [True: 398k, False: 2.10M]
  ------------------
 2645|   398k|        if (!st->st_cur->ste_in_unevaluated_annotation) {
  ------------------
  |  Branch (2645:13): [True: 393k, False: 5.33k]
  ------------------
 2646|   393k|            if (!symtable_add_def_ctx(st, e->v.Name.id,
  ------------------
  |  Branch (2646:17): [True: 3, False: 393k]
  ------------------
 2647|   393k|                                    e->v.Name.ctx == Load ? USE : DEF_LOCAL,
  ------------------
  |  |  169|   273k|#define USE (2<<3)               /* name is used */
  ------------------
                                                  e->v.Name.ctx == Load ? USE : DEF_LOCAL,
  ------------------
  |  |  166|   119k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
  |  Branch (2647:37): [True: 273k, False: 119k]
  ------------------
 2648|   393k|                                    LOCATION(e), e->v.Name.ctx)) {
  ------------------
  |  |   84|   393k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|   393k|    (_Py_SourceLocation){ \
  |  |  |  |   55|   393k|               .lineno = (n)->lineno, \
  |  |  |  |   56|   393k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|   393k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|   393k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2649|      3|                return 0;
 2650|      3|            }
 2651|       |            /* Special-case super: it counts as a use of __class__ */
 2652|   393k|            if (e->v.Name.ctx == Load &&
  ------------------
  |  Branch (2652:17): [True: 273k, False: 119k]
  ------------------
 2653|   273k|                _PyST_IsFunctionLike(st->st_cur) &&
  ------------------
  |  Branch (2653:17): [True: 127k, False: 146k]
  ------------------
 2654|   127k|                _PyUnicode_EqualToASCIIString(e->v.Name.id, "super")) {
  ------------------
  |  Branch (2654:17): [True: 656, False: 126k]
  ------------------
 2655|    656|                if (!symtable_add_def(st, &_Py_ID(__class__), USE, LOCATION(e)))
  ------------------
  |  |  921|    656|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    656|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    656|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              if (!symtable_add_def(st, &_Py_ID(__class__), USE, LOCATION(e)))
  ------------------
  |  |  169|    656|#define USE (2<<3)               /* name is used */
  ------------------
                              if (!symtable_add_def(st, &_Py_ID(__class__), USE, LOCATION(e)))
  ------------------
  |  |   84|    656|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    656|    (_Py_SourceLocation){ \
  |  |  |  |   55|    656|               .lineno = (n)->lineno, \
  |  |  |  |   56|    656|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    656|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    656|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2655:21): [True: 0, False: 656]
  ------------------
 2656|      0|                    return 0;
 2657|    656|            }
 2658|   393k|        }
 2659|   398k|        break;
 2660|       |    /* child nodes of List and Tuple will have expr_context set */
 2661|   398k|    case List_kind:
  ------------------
  |  Branch (2661:5): [True: 2.23k, False: 2.49M]
  ------------------
 2662|  2.23k|        VISIT_SEQ(st, expr, e->v.List.elts);
  ------------------
  |  | 1738|  2.23k|    do { \
  |  | 1739|  2.23k|        Py_ssize_t i; \
  |  | 1740|  2.23k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  4.37k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  4.37k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  8.74k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 240, False: 4.13k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 2.15k, False: 2.21k]
  |  |  ------------------
  |  | 1742|  2.15k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  2.15k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.15k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|  2.15k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 23, False: 2.13k]
  |  |  ------------------
  |  | 1744|  2.15k|                return 0;                 \
  |  | 1745|  2.15k|        } \
  |  | 1746|  2.23k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 2.21k]
  |  |  ------------------
  ------------------
 2663|  2.21k|        break;
 2664|  75.6k|    case Tuple_kind:
  ------------------
  |  Branch (2664:5): [True: 75.6k, False: 2.42M]
  ------------------
 2665|  75.6k|        VISIT_SEQ(st, expr, e->v.Tuple.elts);
  ------------------
  |  | 1738|  75.6k|    do { \
  |  | 1739|  75.6k|        Py_ssize_t i; \
  |  | 1740|  75.6k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|   307k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|   307k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|   614k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 6.11k, False: 300k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 231k, False: 75.6k]
  |  |  ------------------
  |  | 1742|   231k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|   231k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|   231k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|   231k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 44, False: 231k]
  |  |  ------------------
  |  | 1744|   231k|                return 0;                 \
  |  | 1745|   231k|        } \
  |  | 1746|  75.6k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 75.6k]
  |  |  ------------------
  ------------------
 2666|  75.6k|        break;
 2667|  2.50M|    }
 2668|  2.49M|    LEAVE_RECURSIVE();
  ------------------
  |  | 1790|  2.49M|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
 2669|  2.49M|    return 1;
 2670|  2.50M|}
symtable.c:symtable_raise_if_annotation_block:
 3190|  3.40k|{
 3191|  3.40k|    _Py_block_ty type = st->st_cur->ste_type;
 3192|  3.40k|    if (type == AnnotationBlock)
  ------------------
  |  Branch (3192:9): [True: 28, False: 3.37k]
  ------------------
 3193|     28|        PyErr_Format(PyExc_SyntaxError, ANNOTATION_NOT_ALLOWED, name);
  ------------------
  |  |   63|     28|#define ANNOTATION_NOT_ALLOWED \
  |  |   64|     28|"%s cannot be used within an annotation"
  ------------------
 3194|  3.37k|    else if (type == TypeVariableBlock) {
  ------------------
  |  Branch (3194:14): [True: 0, False: 3.37k]
  ------------------
 3195|      0|        const char *info = st->st_cur->ste_scope_info;
 3196|      0|        assert(info != NULL); // e.g., info == "a ParamSpec default"
  ------------------
  |  Branch (3196:9): [True: 0, False: 0]
  ------------------
 3197|      0|        PyErr_Format(PyExc_SyntaxError, EXPR_NOT_ALLOWED_IN_TYPE_VARIABLE, name, info);
  ------------------
  |  |   66|      0|#define EXPR_NOT_ALLOWED_IN_TYPE_VARIABLE \
  |  |   67|      0|"%s cannot be used within %s"
  ------------------
 3198|      0|    }
 3199|  3.37k|    else if (type == TypeAliasBlock) {
  ------------------
  |  Branch (3199:14): [True: 2, False: 3.37k]
  ------------------
 3200|       |        // for now, we do not have any extra information
 3201|      2|        assert(st->st_cur->ste_scope_info == NULL);
  ------------------
  |  Branch (3201:9): [True: 2, False: 0]
  ------------------
 3202|      2|        PyErr_Format(PyExc_SyntaxError, EXPR_NOT_ALLOWED_IN_TYPE_ALIAS, name);
  ------------------
  |  |   69|      2|#define EXPR_NOT_ALLOWED_IN_TYPE_ALIAS \
  |  |   70|      2|"%s cannot be used within a type alias"
  ------------------
 3203|      2|    }
 3204|  3.37k|    else if (type == TypeParametersBlock) {
  ------------------
  |  Branch (3204:14): [True: 0, False: 3.37k]
  ------------------
 3205|       |        // for now, we do not have any extra information
 3206|      0|        assert(st->st_cur->ste_scope_info == NULL);
  ------------------
  |  Branch (3206:9): [True: 0, False: 0]
  ------------------
 3207|      0|        PyErr_Format(PyExc_SyntaxError, EXPR_NOT_ALLOWED_IN_TYPE_PARAMETERS, name);
  ------------------
  |  |   72|      0|#define EXPR_NOT_ALLOWED_IN_TYPE_PARAMETERS \
  |  |   73|      0|"%s cannot be used within the definition of a generic"
  ------------------
 3208|      0|    }
 3209|  3.37k|    else
 3210|  3.37k|        return 1;
 3211|       |
 3212|     30|    SET_ERROR_LOCATION(st->st_filename, LOCATION(e));
  ------------------
  |  |   87|     30|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|     30|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 3213|     30|    return 0;
 3214|  3.40k|}
symtable.c:symtable_handle_namedexpr:
 2467|  1.88k|{
 2468|  1.88k|    if (st->st_cur->ste_comp_iter_expr > 0) {
  ------------------
  |  Branch (2468:9): [True: 2, False: 1.87k]
  ------------------
 2469|       |        /* Assignment isn't allowed in a comprehension iterable expression */
 2470|      2|        PyErr_Format(PyExc_SyntaxError, NAMED_EXPR_COMP_ITER_EXPR);
  ------------------
  |  |   60|      2|#define NAMED_EXPR_COMP_ITER_EXPR \
  |  |   61|      2|"assignment expression cannot be used in a comprehension iterable expression"
  ------------------
 2471|      2|        SET_ERROR_LOCATION(st->st_filename, LOCATION(e));
  ------------------
  |  |   87|      2|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      2|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2472|      2|        return 0;
 2473|      2|    }
 2474|  1.87k|    if (st->st_cur->ste_comprehension) {
  ------------------
  |  Branch (2474:9): [True: 1.71k, False: 164]
  ------------------
 2475|       |        /* Inside a comprehension body, so find the right target scope */
 2476|  1.71k|        if (!symtable_extend_namedexpr_scope(st, e->v.NamedExpr.target))
  ------------------
  |  Branch (2476:13): [True: 3, False: 1.71k]
  ------------------
 2477|      3|            return 0;
 2478|  1.71k|    }
 2479|  1.87k|    VISIT(st, expr, e->v.NamedExpr.value);
  ------------------
  |  | 1731|  1.87k|    do { \
  |  | 1732|  1.87k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 8, False: 1.86k]
  |  |  ------------------
  |  | 1733|      8|            return 0; \
  |  | 1734|      8|        } \
  |  | 1735|  1.87k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 1.86k]
  |  |  ------------------
  ------------------
 2480|  1.86k|    VISIT(st, expr, e->v.NamedExpr.target);
  ------------------
  |  | 1731|  1.86k|    do { \
  |  | 1732|  1.86k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 1, False: 1.86k]
  |  |  ------------------
  |  | 1733|      1|            return 0; \
  |  | 1734|      1|        } \
  |  | 1735|  1.86k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 1.86k]
  |  |  ------------------
  ------------------
 2481|  1.86k|    return 1;
 2482|  1.86k|}
symtable.c:symtable_extend_namedexpr_scope:
 2370|  1.71k|{
 2371|  1.71k|    assert(st->st_stack);
  ------------------
  |  Branch (2371:5): [True: 1.71k, False: 0]
  ------------------
 2372|  1.71k|    assert(e->kind == Name_kind);
  ------------------
  |  Branch (2372:5): [True: 1.71k, False: 0]
  ------------------
 2373|       |
 2374|  1.71k|    PyObject *target_name = e->v.Name.id;
 2375|  1.71k|    Py_ssize_t i, size;
 2376|  1.71k|    struct _symtable_entry *ste;
 2377|  1.71k|    size = PyList_GET_SIZE(st->st_stack);
  ------------------
  |  |   38|  1.71k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2378|  1.71k|    assert(size);
  ------------------
  |  Branch (2378:5): [True: 1.71k, False: 0]
  ------------------
 2379|       |
 2380|       |    /* Iterate over the stack in reverse and add to the nearest adequate scope */
 2381|  4.38k|    for (i = size - 1; i >= 0; i--) {
  ------------------
  |  Branch (2381:24): [True: 4.38k, False: 0]
  ------------------
 2382|  4.38k|        ste = (struct _symtable_entry *) PyList_GET_ITEM(st->st_stack, i);
  ------------------
  |  |   40|  4.38k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  4.38k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2382:42): [True: 4.38k, False: 0]
  ------------------
 2383|       |
 2384|       |        /* If we find a comprehension scope, check for a target
 2385|       |         * binding conflict with iteration variables, otherwise skip it
 2386|       |         */
 2387|  4.38k|        if (ste->ste_comprehension) {
  ------------------
  |  Branch (2387:13): [True: 1.73k, False: 2.64k]
  ------------------
 2388|  1.73k|            long target_in_scope = symtable_lookup_entry(st, ste, target_name);
 2389|  1.73k|            if (target_in_scope < 0) {
  ------------------
  |  Branch (2389:17): [True: 0, False: 1.73k]
  ------------------
 2390|      0|                return 0;
 2391|      0|            }
 2392|  1.73k|            if ((target_in_scope & DEF_COMP_ITER) &&
  ------------------
  |  |  173|  1.73k|#define DEF_COMP_ITER (2<<8)     /* this name is a comprehension iteration variable */
  ------------------
  |  Branch (2392:17): [True: 4, False: 1.72k]
  ------------------
 2393|      4|                (target_in_scope & DEF_LOCAL)) {
  ------------------
  |  |  166|      4|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
  |  Branch (2393:17): [True: 2, False: 2]
  ------------------
 2394|      2|                PyErr_Format(PyExc_SyntaxError, NAMED_EXPR_COMP_CONFLICT, target_name);
  ------------------
  |  |   54|      2|#define NAMED_EXPR_COMP_CONFLICT \
  |  |   55|      2|"assignment expression cannot rebind comprehension iteration variable '%U'"
  ------------------
 2395|      2|                SET_ERROR_LOCATION(st->st_filename, LOCATION(e));
  ------------------
  |  |   87|      2|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      2|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 2396|      2|                return 0;
 2397|      2|            }
 2398|  1.73k|            continue;
 2399|  1.73k|        }
 2400|       |
 2401|       |        /* If we find a FunctionBlock entry, add as GLOBAL/LOCAL or NONLOCAL/LOCAL */
 2402|  2.64k|        if (ste->ste_type == FunctionBlock) {
  ------------------
  |  Branch (2402:13): [True: 1.22k, False: 1.42k]
  ------------------
 2403|  1.22k|            long target_in_scope = symtable_lookup_entry(st, ste, target_name);
 2404|  1.22k|            if (target_in_scope < 0) {
  ------------------
  |  Branch (2404:17): [True: 0, False: 1.22k]
  ------------------
 2405|      0|                return 0;
 2406|      0|            }
 2407|  1.22k|            if (target_in_scope & DEF_GLOBAL) {
  ------------------
  |  |  165|  1.22k|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
  |  Branch (2407:17): [True: 0, False: 1.22k]
  ------------------
 2408|      0|                if (!symtable_add_def(st, target_name, DEF_GLOBAL, LOCATION(e)))
  ------------------
  |  |  165|      0|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                              if (!symtable_add_def(st, target_name, DEF_GLOBAL, 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 (2408:21): [True: 0, False: 0]
  ------------------
 2409|      0|                    return 0;
 2410|  1.22k|            } else {
 2411|  1.22k|                if (!symtable_add_def(st, target_name, DEF_NONLOCAL, LOCATION(e))) {
  ------------------
  |  |  168|  1.22k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
                              if (!symtable_add_def(st, target_name, DEF_NONLOCAL, LOCATION(e))) {
  ------------------
  |  |   84|  1.22k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.22k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.22k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.22k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.22k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.22k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2411:21): [True: 0, False: 1.22k]
  ------------------
 2412|      0|                    return 0;
 2413|      0|                }
 2414|  1.22k|            }
 2415|  1.22k|            if (!symtable_record_directive(st, target_name, LOCATION(e))) {
  ------------------
  |  |   84|  1.22k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.22k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.22k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.22k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.22k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.22k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2415:17): [True: 0, False: 1.22k]
  ------------------
 2416|      0|                return 0;
 2417|      0|            }
 2418|       |
 2419|  1.22k|            return symtable_add_def_helper(st, target_name, DEF_LOCAL, ste, LOCATION(e));
  ------------------
  |  |  166|  1.22k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                          return symtable_add_def_helper(st, target_name, DEF_LOCAL, ste, LOCATION(e));
  ------------------
  |  |   84|  1.22k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.22k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.22k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.22k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.22k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.22k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2420|  1.22k|        }
 2421|       |        /* If we find a ModuleBlock entry, add as GLOBAL */
 2422|  1.42k|        if (ste->ste_type == ModuleBlock) {
  ------------------
  |  Branch (2422:13): [True: 488, False: 935]
  ------------------
 2423|    488|            if (!symtable_add_def(st, target_name, DEF_GLOBAL, LOCATION(e))) {
  ------------------
  |  |  165|    488|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                          if (!symtable_add_def(st, target_name, DEF_GLOBAL, LOCATION(e))) {
  ------------------
  |  |   84|    488|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    488|    (_Py_SourceLocation){ \
  |  |  |  |   55|    488|               .lineno = (n)->lineno, \
  |  |  |  |   56|    488|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    488|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    488|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2423:17): [True: 1, False: 487]
  ------------------
 2424|      1|                return 0;
 2425|      1|            }
 2426|    487|            if (!symtable_record_directive(st, target_name, LOCATION(e))) {
  ------------------
  |  |   84|    487|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    487|    (_Py_SourceLocation){ \
  |  |  |  |   55|    487|               .lineno = (n)->lineno, \
  |  |  |  |   56|    487|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    487|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    487|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2426:17): [True: 0, False: 487]
  ------------------
 2427|      0|                return 0;
 2428|      0|            }
 2429|       |
 2430|    487|            return symtable_add_def_helper(st, target_name, DEF_GLOBAL, ste, LOCATION(e));
  ------------------
  |  |  165|    487|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                          return symtable_add_def_helper(st, target_name, DEF_GLOBAL, ste, LOCATION(e));
  ------------------
  |  |   84|    487|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    487|    (_Py_SourceLocation){ \
  |  |  |  |   55|    487|               .lineno = (n)->lineno, \
  |  |  |  |   56|    487|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    487|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    487|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2431|    487|        }
 2432|       |        /* Disallow usage in ClassBlock and type scopes */
 2433|    935|        if (ste->ste_type == ClassBlock ||
  ------------------
  |  Branch (2433:13): [True: 0, False: 935]
  ------------------
 2434|    935|            ste->ste_type == TypeParametersBlock ||
  ------------------
  |  Branch (2434:13): [True: 0, False: 935]
  ------------------
 2435|    935|            ste->ste_type == TypeAliasBlock ||
  ------------------
  |  Branch (2435:13): [True: 0, False: 935]
  ------------------
 2436|    935|            ste->ste_type == TypeVariableBlock) {
  ------------------
  |  Branch (2436:13): [True: 0, False: 935]
  ------------------
 2437|      0|            switch (ste->ste_type) {
 2438|      0|                case ClassBlock:
  ------------------
  |  Branch (2438:17): [True: 0, False: 0]
  ------------------
 2439|      0|                    PyErr_Format(PyExc_SyntaxError, NAMED_EXPR_COMP_IN_CLASS);
  ------------------
  |  |   42|      0|#define NAMED_EXPR_COMP_IN_CLASS \
  |  |   43|      0|"assignment expression within a comprehension cannot be used in a class body"
  ------------------
 2440|      0|                    break;
 2441|      0|                case TypeParametersBlock:
  ------------------
  |  Branch (2441:17): [True: 0, False: 0]
  ------------------
 2442|      0|                    PyErr_Format(PyExc_SyntaxError, NAMED_EXPR_COMP_IN_TYPEPARAM);
  ------------------
  |  |   51|      0|#define NAMED_EXPR_COMP_IN_TYPEPARAM \
  |  |   52|      0|"assignment expression within a comprehension cannot be used within the definition of a generic"
  ------------------
 2443|      0|                    break;
 2444|      0|                case TypeAliasBlock:
  ------------------
  |  Branch (2444:17): [True: 0, False: 0]
  ------------------
 2445|      0|                    PyErr_Format(PyExc_SyntaxError, NAMED_EXPR_COMP_IN_TYPEALIAS);
  ------------------
  |  |   48|      0|#define NAMED_EXPR_COMP_IN_TYPEALIAS \
  |  |   49|      0|"assignment expression within a comprehension cannot be used in a type alias"
  ------------------
 2446|      0|                    break;
 2447|      0|                case TypeVariableBlock:
  ------------------
  |  Branch (2447:17): [True: 0, False: 0]
  ------------------
 2448|      0|                    PyErr_Format(PyExc_SyntaxError, NAMED_EXPR_COMP_IN_TYPEVAR_BOUND);
  ------------------
  |  |   45|      0|#define NAMED_EXPR_COMP_IN_TYPEVAR_BOUND \
  |  |   46|      0|"assignment expression within a comprehension cannot be used in a TypeVar bound"
  ------------------
 2449|      0|                    break;
 2450|      0|                default:
  ------------------
  |  Branch (2450:17): [True: 0, False: 0]
  ------------------
 2451|      0|                    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2452|      0|            }
 2453|      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)
  ------------------
 2454|      0|            return 0;
 2455|      0|        }
 2456|    935|    }
 2457|       |
 2458|       |    /* We should always find either a function-like block, ModuleBlock or ClassBlock
 2459|       |       and should never fall to this case
 2460|       |    */
 2461|  1.71k|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2462|      0|    return 0;
 2463|  1.71k|}
symtable.c:symtable_visit_genexp:
 3157|    390|{
 3158|    390|    return symtable_handle_comprehension(st, e, &_Py_STR(anon_genexpr),
  ------------------
  |  |  923|    390|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    390|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    390|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3159|    390|                                         e->v.GeneratorExp.generators,
 3160|       |                                         e->v.GeneratorExp.elt, NULL);
 3161|    390|}
symtable.c:symtable_handle_comprehension:
 3088|  3.73k|{
 3089|  3.73k|    int is_generator = (e->kind == GeneratorExp_kind);
 3090|  3.73k|    comprehension_ty outermost = ((comprehension_ty)
 3091|  3.73k|                                    asdl_seq_GET(generators, 0));
  ------------------
  |  |   82|  3.73k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  3.73k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3092|       |    /* Outermost iterator is evaluated in current scope */
 3093|  3.73k|    st->st_cur->ste_comp_iter_expr++;
 3094|  3.73k|    VISIT(st, expr, outermost->iter);
  ------------------
  |  | 1731|  3.73k|    do { \
  |  | 1732|  3.73k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 11, False: 3.72k]
  |  |  ------------------
  |  | 1733|     11|            return 0; \
  |  | 1734|     11|        } \
  |  | 1735|  3.73k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 3.72k]
  |  |  ------------------
  ------------------
 3095|  3.72k|    st->st_cur->ste_comp_iter_expr--;
 3096|       |    /* Create comprehension scope for the rest */
 3097|  3.72k|    if (!scope_name ||
  ------------------
  |  Branch (3097:9): [True: 0, False: 3.72k]
  ------------------
 3098|  3.72k|        !symtable_enter_block(st, scope_name, FunctionBlock, (void *)e, LOCATION(e))) {
  ------------------
  |  |   84|  3.72k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  3.72k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  3.72k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  3.72k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  3.72k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  3.72k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (3098:9): [True: 0, False: 3.72k]
  ------------------
 3099|      0|        return 0;
 3100|      0|    }
 3101|  3.72k|    switch(e->kind) {
 3102|     97|        case ListComp_kind:
  ------------------
  |  Branch (3102:9): [True: 97, False: 3.62k]
  ------------------
 3103|     97|            st->st_cur->ste_comprehension = ListComprehension;
 3104|     97|            break;
 3105|  2.54k|        case SetComp_kind:
  ------------------
  |  Branch (3105:9): [True: 2.54k, False: 1.18k]
  ------------------
 3106|  2.54k|            st->st_cur->ste_comprehension = SetComprehension;
 3107|  2.54k|            break;
 3108|    699|        case DictComp_kind:
  ------------------
  |  Branch (3108:9): [True: 699, False: 3.02k]
  ------------------
 3109|    699|            st->st_cur->ste_comprehension = DictComprehension;
 3110|    699|            break;
 3111|    386|        default:
  ------------------
  |  Branch (3111:9): [True: 386, False: 3.34k]
  ------------------
 3112|    386|            st->st_cur->ste_comprehension = GeneratorExpression;
 3113|    386|            break;
 3114|  3.72k|    }
 3115|  3.72k|    if (outermost->is_async) {
  ------------------
  |  Branch (3115:9): [True: 942, False: 2.78k]
  ------------------
 3116|    942|        st->st_cur->ste_coroutine = 1;
 3117|    942|    }
 3118|       |
 3119|       |    /* Outermost iter is received as an argument */
 3120|  3.72k|    if (!symtable_implicit_arg(st, 0)) {
  ------------------
  |  Branch (3120:9): [True: 0, False: 3.72k]
  ------------------
 3121|      0|        symtable_exit_block(st);
 3122|      0|        return 0;
 3123|      0|    }
 3124|       |    /* Visit iteration variable target, and mark them as such */
 3125|  3.72k|    st->st_cur->ste_comp_iter_target = 1;
 3126|  3.72k|    VISIT(st, expr, outermost->target);
  ------------------
  |  | 1731|  3.72k|    do { \
  |  | 1732|  3.72k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 5, False: 3.72k]
  |  |  ------------------
  |  | 1733|      5|            return 0; \
  |  | 1734|      5|        } \
  |  | 1735|  3.72k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 3.72k]
  |  |  ------------------
  ------------------
 3127|  3.72k|    st->st_cur->ste_comp_iter_target = 0;
 3128|       |    /* Visit the rest of the comprehension body */
 3129|  3.72k|    VISIT_SEQ(st, expr, outermost->ifs);
  ------------------
  |  | 1738|  3.72k|    do { \
  |  | 1739|  3.72k|        Py_ssize_t i; \
  |  | 1740|  3.72k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|  3.93k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.93k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  7.87k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 3.93k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 218, False: 3.72k]
  |  |  ------------------
  |  | 1742|    218|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    218|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    218|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|    218|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 1, False: 217]
  |  |  ------------------
  |  | 1744|    218|                return 0;                 \
  |  | 1745|    218|        } \
  |  | 1746|  3.72k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 3.72k]
  |  |  ------------------
  ------------------
 3130|  3.72k|    VISIT_SEQ_TAIL(st, comprehension, generators, 1);
  ------------------
  |  | 1749|  3.72k|    do { \
  |  | 1750|  3.72k|        Py_ssize_t i; \
  |  | 1751|  3.72k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1752|  4.07k|        for (i = (START); i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  4.07k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  8.14k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 4.07k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1752:27): [True: 360, False: 3.71k]
  |  |  ------------------
  |  | 1753|    360|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    360|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    360|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1754|    360|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1754:17): [True: 7, False: 353]
  |  |  ------------------
  |  | 1755|    360|                return 0;                 \
  |  | 1756|    360|        } \
  |  | 1757|  3.72k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1757:13): [Folded, False: 3.71k]
  |  |  ------------------
  ------------------
 3131|  3.71k|    if (value)
  ------------------
  |  Branch (3131:9): [True: 319, False: 3.39k]
  ------------------
 3132|    319|        VISIT(st, expr, value);
  ------------------
  |  | 1731|    319|    do { \
  |  | 1732|    319|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 0, False: 319]
  |  |  ------------------
  |  | 1733|      0|            return 0; \
  |  | 1734|      0|        } \
  |  | 1735|    319|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 319]
  |  |  ------------------
  ------------------
 3133|  3.71k|    VISIT(st, expr, elt);
  ------------------
  |  | 1731|  3.71k|    do { \
  |  | 1732|  3.71k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 3, False: 3.71k]
  |  |  ------------------
  |  | 1733|      3|            return 0; \
  |  | 1734|      3|        } \
  |  | 1735|  3.71k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 3.71k]
  |  |  ------------------
  ------------------
 3134|  3.71k|    st->st_cur->ste_generator = is_generator;
 3135|  3.71k|    int is_async = st->st_cur->ste_coroutine && !is_generator;
  ------------------
  |  Branch (3135:20): [True: 1.16k, False: 2.54k]
  |  Branch (3135:49): [True: 1.15k, False: 15]
  ------------------
 3136|  3.71k|    if (!symtable_exit_block(st)) {
  ------------------
  |  Branch (3136:9): [True: 0, False: 3.71k]
  ------------------
 3137|      0|        return 0;
 3138|      0|    }
 3139|  3.71k|    if (is_async &&
  ------------------
  |  Branch (3139:9): [True: 1.15k, False: 2.55k]
  ------------------
 3140|  1.15k|        !IS_ASYNC_DEF(st) &&
  ------------------
  |  |   90|  4.86k|#define IS_ASYNC_DEF(st) ((st)->st_cur->ste_type == FunctionBlock && (st)->st_cur->ste_coroutine)
  |  |  ------------------
  |  |  |  Branch (90:27): [True: 1.14k, False: 9]
  |  |  |  Branch (90:70): [True: 1.09k, False: 45]
  |  |  ------------------
  ------------------
 3141|     54|        st->st_cur->ste_comprehension == NoComprehension &&
  ------------------
  |  Branch (3141:9): [True: 9, False: 45]
  ------------------
 3142|      9|        !allows_top_level_await(st))
  ------------------
  |  Branch (3142:9): [True: 5, False: 4]
  ------------------
 3143|      5|    {
 3144|      5|        PyErr_SetString(PyExc_SyntaxError, "asynchronous comprehension outside of "
 3145|      5|                                           "an asynchronous function");
 3146|      5|        SET_ERROR_LOCATION(st->st_filename, LOCATION(e));
  ------------------
  |  |   87|      5|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      5|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 3147|      5|        return 0;
 3148|      5|    }
 3149|  3.70k|    if (is_async) {
  ------------------
  |  Branch (3149:9): [True: 1.14k, False: 2.55k]
  ------------------
 3150|  1.14k|        st->st_cur->ste_coroutine = 1;
 3151|  1.14k|    }
 3152|  3.70k|    return 1;
 3153|  3.71k|}
symtable.c:symtable_implicit_arg:
 2826|  3.72k|{
 2827|  3.72k|    PyObject *id = PyUnicode_FromFormat(".%d", pos);
 2828|  3.72k|    if (id == NULL)
  ------------------
  |  Branch (2828:9): [True: 0, False: 3.72k]
  ------------------
 2829|      0|        return 0;
 2830|  3.72k|    if (!symtable_add_def(st, id, DEF_PARAM, st->st_cur->ste_loc)) {
  ------------------
  |  |  167|  3.72k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (2830:9): [True: 0, False: 3.72k]
  ------------------
 2831|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2832|      0|        return 0;
 2833|      0|    }
 2834|  3.72k|    Py_DECREF(id);
  ------------------
  |  |  430|  3.72k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2835|  3.72k|    return 1;
 2836|  3.72k|}
symtable.c:symtable_visit_comprehension:
 3061|    360|{
 3062|    360|    st->st_cur->ste_comp_iter_target = 1;
 3063|    360|    VISIT(st, expr, lc->target);
  ------------------
  |  | 1731|    360|    do { \
  |  | 1732|    360|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 1, False: 359]
  |  |  ------------------
  |  | 1733|      1|            return 0; \
  |  | 1734|      1|        } \
  |  | 1735|    360|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 359]
  |  |  ------------------
  ------------------
 3064|    359|    st->st_cur->ste_comp_iter_target = 0;
 3065|    359|    st->st_cur->ste_comp_iter_expr++;
 3066|    359|    VISIT(st, expr, lc->iter);
  ------------------
  |  | 1731|    359|    do { \
  |  | 1732|    359|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1732:13): [True: 4, False: 355]
  |  |  ------------------
  |  | 1733|      4|            return 0; \
  |  | 1734|      4|        } \
  |  | 1735|    359|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1735:13): [Folded, False: 355]
  |  |  ------------------
  ------------------
 3067|    355|    st->st_cur->ste_comp_iter_expr--;
 3068|    355|    VISIT_SEQ(st, expr, lc->ifs);
  ------------------
  |  | 1738|    355|    do { \
  |  | 1739|    355|        Py_ssize_t i; \
  |  | 1740|    355|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1741|    449|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    449|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    898|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 449]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1741:21): [True: 96, False: 353]
  |  |  ------------------
  |  | 1742|     96|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     96|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     96|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1743|     96|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1743:17): [True: 2, False: 94]
  |  |  ------------------
  |  | 1744|     96|                return 0;                 \
  |  | 1745|     96|        } \
  |  | 1746|    355|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1746:13): [Folded, False: 353]
  |  |  ------------------
  ------------------
 3069|    353|    if (lc->is_async) {
  ------------------
  |  Branch (3069:9): [True: 206, False: 147]
  ------------------
 3070|    206|        st->st_cur->ste_coroutine = 1;
 3071|    206|    }
 3072|    353|    return 1;
 3073|    355|}
symtable.c:symtable_visit_listcomp:
 3165|     97|{
 3166|     97|    return symtable_handle_comprehension(st, e, &_Py_STR(anon_listcomp),
  ------------------
  |  |  923|     97|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     97|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     97|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3167|     97|                                         e->v.ListComp.generators,
 3168|       |                                         e->v.ListComp.elt, NULL);
 3169|     97|}
symtable.c:symtable_visit_setcomp:
 3173|  2.54k|{
 3174|  2.54k|    return symtable_handle_comprehension(st, e, &_Py_STR(anon_setcomp),
  ------------------
  |  |  923|  2.54k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.54k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.54k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3175|  2.54k|                                         e->v.SetComp.generators,
 3176|       |                                         e->v.SetComp.elt, NULL);
 3177|  2.54k|}
symtable.c:symtable_visit_dictcomp:
 3181|    703|{
 3182|    703|    return symtable_handle_comprehension(st, e, &_Py_STR(anon_dictcomp),
  ------------------
  |  |  923|    703|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    703|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    703|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3183|    703|                                         e->v.DictComp.generators,
 3184|    703|                                         e->v.DictComp.key,
 3185|    703|                                         e->v.DictComp.value);
 3186|    703|}
symtable.c:symtable_raise_if_comprehension_block:
 3217|      6|symtable_raise_if_comprehension_block(struct symtable *st, expr_ty e) {
 3218|      6|    _Py_comprehension_ty type = st->st_cur->ste_comprehension;
 3219|      6|    PyErr_SetString(PyExc_SyntaxError,
 3220|      6|            (type == ListComprehension) ? "'yield' inside list comprehension" :
  ------------------
  |  Branch (3220:13): [True: 4, False: 2]
  ------------------
 3221|      6|            (type == SetComprehension) ? "'yield' inside set comprehension" :
  ------------------
  |  Branch (3221:13): [True: 0, False: 2]
  ------------------
 3222|      2|            (type == DictComprehension) ? "'yield' inside dict comprehension" :
  ------------------
  |  Branch (3222:13): [True: 0, False: 2]
  ------------------
 3223|      2|            "'yield' inside generator expression");
 3224|      6|    SET_ERROR_LOCATION(st->st_filename, LOCATION(e));
  ------------------
  |  |   87|      6|    PyErr_RangedSyntaxLocationObject((FNAME), \
  |  |   88|      6|        (L).lineno, (L).col_offset + 1, (L).end_lineno, (L).end_col_offset + 1)
  ------------------
 3225|      6|    return 0;
 3226|      6|}

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|  30.4k|{
  385|  30.4k|    PyThreadState *tstate = _PyThreadState_GET();
  386|  30.4k|    va_list vargs;
  387|  30.4k|    va_start(vargs, argFormat);
  388|  30.4k|    int res = sys_audit_tstate(tstate, event, argFormat, vargs);
  389|       |    va_end(vargs);
  390|  30.4k|    return res;
  391|  30.4k|}
_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);
  ------------------
  |  |  921|      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|  30.4k|{
  248|  30.4k|    assert(event != NULL);
  ------------------
  |  Branch (248:5): [True: 30.4k, False: 0]
  ------------------
  249|  30.4k|    assert(!argFormat || !strchr(argFormat, 'N'));
  ------------------
  |  Branch (249:5): [True: 0, False: 30.4k]
  |  Branch (249:5): [True: 30.4k, False: 0]
  ------------------
  250|       |
  251|  30.4k|    if (!ts) {
  ------------------
  |  Branch (251:9): [True: 0, False: 30.4k]
  ------------------
  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|  30.4k|    assert(ts == _PyThreadState_GET());
  ------------------
  |  Branch (258:5): [True: 30.4k, False: 0]
  ------------------
  259|       |
  260|       |    /* Early exit when no hooks are registered */
  261|  30.4k|    PyInterpreterState *is = ts->interp;
  262|  30.4k|    if (!should_audit(is)) {
  ------------------
  |  Branch (262:9): [True: 30.4k, False: 0]
  ------------------
  263|  30.4k|        return 0;
  264|  30.4k|    }
  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);
  ------------------
  |  |  354|      0|    do { \
  |  |  355|      0|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  356|      0|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      0|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  357|      0|        *_tmp_dst_ptr = (src); \
  |  |  358|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  359|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (359: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);
  ------------------
  |  |  921|      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|  30.7k|{
  233|       |    /* interp must not be NULL, but test it just in case for extra safety */
  234|  30.7k|    assert(interp != NULL);
  ------------------
  |  Branch (234:5): [True: 30.7k, False: 0]
  ------------------
  235|  30.7k|    if (!interp) {
  ------------------
  |  Branch (235:9): [True: 0, False: 30.7k]
  ------------------
  236|      0|        return 0;
  237|      0|    }
  238|  30.7k|    return (interp->runtime->audit_hooks.head
  ------------------
  |  Branch (238:13): [True: 0, False: 30.7k]
  ------------------
  239|  30.7k|            || interp->audit_hooks
  ------------------
  |  Branch (239:16): [True: 0, False: 30.7k]
  ------------------
  240|  30.7k|            || PyDTrace_AUDIT_ENABLED());
  ------------------
  |  Branch (240:16): [True: 0, False: 30.7k]
  ------------------
  241|  30.7k|}
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|    336|{
  569|    336|    PyThreadState *tstate = _PyThreadState_GET();
  570|    336|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|    336|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
  571|       |
  572|    336|    if (!should_audit(tstate->interp)) {
  ------------------
  |  Branch (572:9): [True: 336, False: 0]
  ------------------
  573|    336|        Py_RETURN_NONE;
  ------------------
  |  |  628|    336|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    336|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  574|    336|    }
  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);
  ------------------
  |  |  923|      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) {
  ------------------
  |  |  921|      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) {
  ------------------
  |  |  921|      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) {
  ------------------
  |  |  921|      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) {
  ------------------
  |  |  921|      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);
  ------------------
  |  |  921|      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) {
  ------------------
  |  |  921|      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|     91|{
   82|     91|    if (!initialized) {
  ------------------
  |  |   45|     91|#define initialized _PyRuntime.threads.initialized
  ------------------
  |  Branch (82:9): [True: 0, False: 91]
  ------------------
   83|      0|        PyThread_init_thread();
   84|      0|    }
   85|       |
   86|     91|    PyMutex *lock = (PyMutex *)PyMem_RawMalloc(sizeof(PyMutex));
   87|     91|    if (lock) {
  ------------------
  |  Branch (87:9): [True: 91, False: 0]
  ------------------
   88|     91|        *lock = (PyMutex){0};
   89|     91|    }
   90|       |
   91|     91|    return (PyThread_type_lock)lock;
   92|     91|}
PyThread_free_lock:
   96|     85|{
   97|     85|    PyMem_RawFree(lock);
   98|     85|}
PyThread_acquire_lock_timed:
  103|  97.1k|{
  104|  97.1k|    PyTime_t timeout;  // relative timeout
  105|  97.1k|    if (microseconds >= 0) {
  ------------------
  |  Branch (105:9): [True: 97.1k, 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|  97.1k|        timeout = _PyTime_FromMicrosecondsClamp(microseconds);
  115|  97.1k|    }
  116|      0|    else {
  117|      0|        timeout = -1;
  118|      0|    }
  119|       |
  120|  97.1k|    _PyLockFlags flags = _Py_LOCK_DONT_DETACH;
  121|  97.1k|    if (intr_flag) {
  ------------------
  |  Branch (121:9): [True: 0, False: 97.1k]
  ------------------
  122|      0|        flags |= _PY_FAIL_IF_INTERRUPTED;
  123|      0|    }
  124|       |
  125|  97.1k|    return _PyMutex_LockTimed((PyMutex *)lock, timeout, flags);
  126|  97.1k|}
PyThread_release_lock:
  130|  97.1k|{
  131|  97.1k|    PyMutex_Unlock((PyMutex *)lock);
  ------------------
  |  |   70|  97.1k|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
  132|  97.1k|}
PyThread_acquire_lock:
  143|  97.1k|{
  144|  97.1k|    return PyThread_acquire_lock_timed(lock, waitflag ? -1 : 0, /*intr_flag=*/0);
  ------------------
  |  Branch (144:46): [True: 0, False: 97.1k]
  ------------------
  145|  97.1k|}
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|  1.53M|PyThread_get_thread_ident_ex(void) {
  361|  1.53M|    volatile pthread_t threadid;
  362|  1.53M|    if (!initialized)
  ------------------
  |  |   45|  1.53M|#define initialized _PyRuntime.threads.initialized
  ------------------
  |  Branch (362:9): [True: 2, False: 1.53M]
  ------------------
  363|      2|        PyThread_init_thread();
  364|  1.53M|    threadid = pthread_self();
  365|  1.53M|    return _pthread_t_to_ident(threadid);
  366|  1.53M|}
PyThread_get_thread_ident:
  370|  1.43M|{
  371|  1.43M|    return (unsigned long) PyThread_get_thread_ident_ex();
  372|  1.43M|}
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|       |    // lwp_gettid() is only unique within a process, so combine it with the pid.
  403|       |    unsigned long native_id = (unsigned long)getpid() << 32 | 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|  1.53M|_pthread_t_to_ident(pthread_t value) {
  305|       |// Cast through an integer type of the same size to avoid sign-extension.
  306|  1.53M|#if SIZEOF_PTHREAD_T == SIZEOF_VOID_P
  307|  1.53M|    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|  1.53M|}

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

_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);
  ------------------
  |  |  923|      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|}

_PyTypeCache_InitType:
  107|  1.31k|{
  108|  1.31k|    *cache_slot(type) = &empty_cache;
  109|  1.31k|}
_PyTypeCache_Insert:
  176|  4.72k|{
  177|  4.72k|    struct type_cache *cache = cache_get(type);
  178|       |    // If the cache is full, resize it before inserting the new entry.
  179|       |    // this also handles the case of empty cache where available is 0 but there are no entries.
  180|  4.72k|    if (cache->available == 0) {
  ------------------
  |  Branch (180:9): [True: 651, False: 4.07k]
  ------------------
  181|    651|        if (cache_resize(type, cache) == -1) {
  ------------------
  |  Branch (181:13): [True: 0, False: 651]
  ------------------
  182|       |            // out of memory, don't cache the value
  183|      0|            return;
  184|      0|        }
  185|    651|        cache = cache_get(type);
  186|    651|        assert(cache->available > 0);
  ------------------
  |  Branch (186:9): [True: 651, False: 0]
  ------------------
  187|    651|    }
  188|  4.72k|    assert(cache->version_tag == type->tp_version_tag);
  ------------------
  |  Branch (188:5): [True: 4.72k, False: 0]
  ------------------
  189|  4.72k|    cache_insert(cache, name, value);
  190|  4.72k|}
_PyTypeCache_Lookup:
  198|  6.09M|{
  199|  6.09M|    assert(PyUnicode_CheckExact(name) && PyUnicode_CHECK_INTERNED(name));
  ------------------
  |  Branch (199:5): [True: 6.09M, False: 0]
  |  Branch (199:5): [True: 6.09M, False: 0]
  ------------------
  200|  6.09M|    struct _PyTypeCacheLookupResult miss = {PyStackRef_NULL, 0, 0};
  201|  6.09M|    struct type_cache *cache = cache_get(type);
  202|  6.09M|    if (cache == NULL) {
  ------------------
  |  Branch (202:9): [True: 0, False: 6.09M]
  ------------------
  203|      0|        return miss;
  204|      0|    }
  205|  6.09M|    Py_hash_t hash = PyUnstable_Unicode_GET_CACHED_HASH(name);
  206|  6.09M|    assert(hash != -1);
  ------------------
  |  Branch (206:5): [True: 6.09M, False: 0]
  ------------------
  207|  6.09M|    uint32_t index = hash & cache->mask;
  208|  6.09M|    _PyStackRef out_ref;
  209|  9.19M|    for (;;) {
  210|  9.19M|        PyObject *entry_name = FT_ATOMIC_LOAD_PTR_ACQUIRE(cache->hashtable[index].name);
  ------------------
  |  |  150|  9.19M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  211|  9.19M|        if (entry_name == name) {
  ------------------
  |  Branch (211:13): [True: 6.08M, False: 3.10M]
  ------------------
  212|       |#ifdef Py_GIL_DISABLED
  213|       |            if (!_Py_TryXGetStackRef(&cache->hashtable[index].value, &out_ref)) {
  214|       |                return miss;
  215|       |            }
  216|       |#else
  217|  6.08M|            PyObject *v = cache->hashtable[index].value;
  218|  6.08M|            out_ref = v ? PyStackRef_FromPyObjectNew(v) : PyStackRef_NULL;
  ------------------
  |  |  611|  3.29M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.29M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.29M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (218:23): [True: 3.29M, False: 2.79M]
  ------------------
  219|  6.08M|#endif
  220|  6.08M|            break;
  221|  6.08M|        }
  222|  3.10M|        else if (entry_name == NULL) {
  ------------------
  |  Branch (222:18): [True: 4.72k, False: 3.10M]
  ------------------
  223|  4.72k|            return miss;
  224|  4.72k|        }
  225|  3.10M|        index = (index + 1) & cache->mask;
  226|  3.10M|    }
  227|       |    // Check the cache version against the type version tag to maintain
  228|       |    // consistency with find_name_in_mro and prevent stale cache reads
  229|  6.08M|    if (cache->version_tag != FT_ATOMIC_LOAD_UINT_RELAXED(type->tp_version_tag)) {
  ------------------
  |  |  189|  6.08M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  ------------------
  |  Branch (229:9): [True: 0, False: 6.08M]
  ------------------
  230|      0|        PyStackRef_XCLOSE(out_ref);
  231|      0|        return miss;
  232|      0|    }
  233|  6.08M|    return (struct _PyTypeCacheLookupResult){out_ref, 1, cache->version_tag};
  234|  6.08M|}
_PyTypeCache_Invalidate:
  241|    173|{
  242|    173|    OBJECT_STAT_INC(type_cache_invalidations);
  ------------------
  |  |   77|    173|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  243|    173|    struct type_cache *cache = cache_get(type);
  244|    173|    cache_set(type, &empty_cache);
  245|    173|    cache_free_delayed(cache);
  246|    173|}
typecache.c:cache_slot:
   83|  6.10M|{
   84|  6.10M|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  6.10M|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (84:9): [True: 933k, False: 5.16M]
  ------------------
   85|   933k|        PyInterpreterState *interp = _PyInterpreterState_GET();
   86|   933k|        managed_static_type_state *state = _PyStaticType_GetState(interp, type);
   87|   933k|        assert(state != NULL);
  ------------------
  |  Branch (87:9): [True: 933k, False: 0]
  ------------------
   88|   933k|        return &state->_tp_cache;
   89|   933k|    }
   90|  5.16M|    return &type->_tp_cache;
   91|  6.10M|}
typecache.c:cache_get:
   95|  6.09M|{
   96|  6.09M|    return (struct type_cache *)FT_ATOMIC_LOAD_PTR_ACQUIRE(*cache_slot(type));
  ------------------
  |  |  150|  6.09M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
   97|  6.09M|}
typecache.c:cache_resize:
  140|    651|{
  141|    651|    uint32_t old_size = cache_size(cache);
  142|    651|    uint32_t new_size;
  143|    651|    if (cache->used == 0) {
  ------------------
  |  Branch (143:9): [True: 503, False: 148]
  ------------------
  144|       |        // the cache is the empty cache, we need to allocate a new cache with the minimum size
  145|    503|        new_size = _Py_TYPECACHE_MINSIZE;
  ------------------
  |  |   14|    503|#define _Py_TYPECACHE_MINSIZE (1 << 3)
  ------------------
  146|    503|    }
  147|    148|    else {
  148|       |        // double the cache size when resizing
  149|    148|        new_size = old_size * 2;
  150|    148|    }
  151|    651|    if (new_size > _Py_TYPECACHE_MAXSIZE) {
  ------------------
  |  |   15|    651|#define _Py_TYPECACHE_MAXSIZE (1 << 16)
  ------------------
  |  Branch (151:9): [True: 0, False: 651]
  ------------------
  152|       |        // The new size is too big, don't resize and just return.
  153|      0|        OBJECT_STAT_INC(type_cache_too_big);
  ------------------
  |  |   77|      0|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  154|      0|        return -1;
  155|      0|    }
  156|    651|    struct type_cache *new_cache = cache_allocate(new_size);
  157|    651|    if (new_cache == NULL) {
  ------------------
  |  Branch (157:9): [True: 0, False: 651]
  ------------------
  158|      0|        return -1;
  159|      0|    }
  160|    651|    OBJECT_STAT_INC(type_cache_resizes);
  ------------------
  |  |   77|    651|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  161|  10.3k|    for (uint32_t i = 0; i < old_size; i++) {
  ------------------
  |  Branch (161:26): [True: 9.65k, False: 651]
  ------------------
  162|  9.65k|        if (cache->hashtable[i].name != NULL) {
  ------------------
  |  Branch (162:13): [True: 4.22k, False: 5.43k]
  ------------------
  163|  4.22k|            cache_insert(new_cache, cache->hashtable[i].name, cache->hashtable[i].value);
  164|  4.22k|        }
  165|  9.65k|    }
  166|    651|    new_cache->version_tag = type->tp_version_tag;
  167|    651|    cache_set(type, new_cache);
  168|    651|    cache_free_delayed(cache);
  169|    651|    return 0;
  170|    651|}
typecache.c:cache_size:
   32|  8.38k|{
   33|  8.38k|    return cache->mask + 1;
   34|  8.38k|}
typecache.c:cache_allocate:
   45|    651|{
   46|       |    // size must be a power of two
   47|    651|    assert((size & (size - 1)) == 0);
  ------------------
  |  Branch (47:5): [True: 651, False: 0]
  ------------------
   48|    651|    size_t nbytes = offsetof(struct type_cache, hashtable)
   49|    651|                    + (size_t)size * sizeof(struct type_cache_entry);
   50|    651|    struct type_cache *cache = PyMem_Calloc(1, nbytes);
   51|    651|    if (cache == NULL) {
  ------------------
  |  Branch (51:9): [True: 0, False: 651]
  ------------------
   52|      0|        return NULL;
   53|      0|    }
   54|    651|    cache->mask = size - 1;
   55|       |    // load factor of 0.75
   56|    651|    cache->available = size - (size >> 2);
   57|    651|    cache->used = 0;
   58|    651|    return cache;
   59|    651|}
typecache.c:cache_insert:
  114|  8.95k|{
  115|  8.95k|    Py_hash_t hash = PyUnstable_Unicode_GET_CACHED_HASH(name);
  116|  8.95k|    assert(hash != -1);
  ------------------
  |  Branch (116:5): [True: 8.95k, False: 0]
  ------------------
  117|  8.95k|    uint32_t index = hash & cache->mask;
  118|  17.3k|    for (;;) {
  119|  17.3k|        if (cache->hashtable[index].name == NULL) {
  ------------------
  |  Branch (119:13): [True: 8.95k, False: 8.43k]
  ------------------
  120|  8.95k|#ifndef Py_GIL_DISABLED
  121|       |            // On free-threading, all interned strings are immortal.
  122|  8.95k|            Py_INCREF(name);
  ------------------
  |  |  310|  8.95k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  123|  8.95k|#endif
  124|  8.95k|            cache->hashtable[index].value = value;
  125|  8.95k|            FT_ATOMIC_STORE_PTR_RELEASE(cache->hashtable[index].name, name);
  ------------------
  |  |  164|  8.95k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  126|  8.95k|            cache->used++;
  127|  8.95k|            cache->available--;
  128|  8.95k|            return;
  129|  8.95k|        }
  130|  8.43k|        else if (cache->hashtable[index].name == name) {
  ------------------
  |  Branch (130:18): [True: 0, False: 8.43k]
  ------------------
  131|       |            /* someone else added the entry before us. */
  132|      0|            return;
  133|      0|        }
  134|  8.43k|        index = (index + 1) & cache->mask;
  135|  8.43k|    }
  136|  8.95k|}
typecache.c:cache_set:
  101|    824|{
  102|    824|    FT_ATOMIC_STORE_PTR_RELEASE(*cache_slot(type), cache);
  ------------------
  |  |  164|    824|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  103|    824|}
typecache.c:cache_free_delayed:
   63|    824|{
   64|    824|    if (cache == NULL || cache == &empty_cache) {
  ------------------
  |  Branch (64:9): [True: 0, False: 824]
  |  Branch (64:26): [True: 511, False: 313]
  ------------------
   65|    511|        return;
   66|    511|    }
   67|    313|#ifndef Py_GIL_DISABLED
   68|       |    // On gil-enabled builds, the cache owns strong references to the interned strings,
   69|       |    // so we need to decref them before freeing the cache memory.
   70|  7.42k|    for (uint32_t i = 0; i < cache_size(cache); i++) {
  ------------------
  |  Branch (70:26): [True: 7.11k, False: 313]
  ------------------
   71|  7.11k|        if (cache->hashtable[i].name != NULL) {
  ------------------
  |  Branch (71:13): [True: 4.71k, False: 2.39k]
  ------------------
   72|  4.71k|            Py_DECREF(cache->hashtable[i].name);
  ------------------
  |  |  430|  4.71k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   73|  4.71k|        }
   74|  7.11k|    }
   75|    313|#endif
   76|       |    // Delay the freeing of old cache for concurrent lock-free readers
   77|    313|    _PyMem_FreeDelayed(cache, cache_nbytes(cache));
   78|    313|}
typecache.c:cache_nbytes:
   38|    313|{
   39|       |    return offsetof(struct type_cache, hashtable)
   40|    313|        + (size_t)cache_size(cache) * sizeof(struct type_cache_entry);
   41|    313|}

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

